@wangeditor-kai/editor 5.6.55-kai.12 → 5.6.55-kai.13

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/dist/index.mjs CHANGED
@@ -17,5 +17,5 @@ var e,t,r,n,o,i,a,s,l,u,c,d,h,p,f,g,m,v,y="undefined"!=typeof globalThis?globalT
17
17
  * @author Lea Verou <https://lea.verou.me>
18
18
  * @namespace
19
19
  * @public
20
- */e.exports&&(e.exports=t),void 0!==y&&(y.Prism=t),t.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(e,r){var n={};n["language-"+r]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[r]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};o["language-"+r]={pattern:/[\s\S]+/,inside:t.languages[r]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:o},t.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(e,r){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[r,"language-"+r],inside:t.languages[r]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var r=e.languages.markup;r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))}(t),t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},t.languages.javascript=t.languages.extend("clike",{"class-name":[t.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,t.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:t.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),t.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),t.languages.js=t.languages.javascript,function(){if(void 0!==t&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},r="data-src-status",n="loading",o="loaded",i="pre[data-src]:not(["+r+'="'+o+'"]):not(['+r+'="'+n+'"])';t.hooks.add("before-highlightall",function(e){e.selector+=", "+i}),t.hooks.add("before-sanity-check",function(a){var s=a.element;if(s.matches(i)){a.code="",s.setAttribute(r,n);var l=s.appendChild(document.createElement("CODE"));l.textContent="Loading…";var u=s.getAttribute("data-src"),c=a.language;if("none"===c){var d=(/\.(\w+)$/.exec(u)||[,"none"])[1];c=e[d]||d}t.util.setLanguage(l,c),t.util.setLanguage(s,c);var h=t.plugins.autoloader;h&&h.loadLanguages(c),function(e,t,r){var n=new XMLHttpRequest;n.open("GET",e,!0),n.onreadystatechange=function(){4==n.readyState&&(n.status<400&&n.responseText?t(n.responseText):n.status>=400?r("✖ Error "+n.status+" while fetching file: "+n.statusText):r("✖ Error: File does not exist or is empty"))},n.send(null)}(u,function(e){s.setAttribute(r,o);var n=function(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||"");if(t){var r=Number(t[1]),n=t[2],o=t[3];return n?o?[r,Number(o)]:[r,void 0]:[r,r]}}(s.getAttribute("data-range"));if(n){var i=e.split(/\r\n?|\n/g),a=n[0],u=null==n[1]?i.length:n[1];a<0&&(a+=i.length),a=Math.max(0,Math.min(a-1,i.length)),u<0&&(u+=i.length),u=Math.max(0,Math.min(u,i.length)),e=i.slice(a,u).join("\n"),s.hasAttribute("data-start")||s.setAttribute("data-start",String(a+1))}l.textContent=e,t.highlightElement(l)},function(e){s.setAttribute(r,"failed"),l.textContent=e})}}),t.plugins.fileHighlight={highlight:function(e){for(var r,n=(e||document).querySelectorAll(i),o=0;r=n[o++];)t.highlightElement(r)}};var a=!1;t.fileHighlight=function(){a||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),a=!0),t.plugins.fileHighlight.highlight.apply(this,arguments)}}}()}(vN)),vN.exports),bN=b(yN);!function(e){var t=e.util.clone(e.languages.javascript),r=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,n=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function i(e,t){return e=e.replace(/<S>/g,function(){return r}).replace(/<BRACES>/g,function(){return n}).replace(/<SPREAD>/g,function(){return o}),RegExp(e,t)}o=i(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var a=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(a).join(""):""},s=function(t){for(var r=[],n=0;n<t.length;n++){var o=t[n],i=!1;if("string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?r.length>0&&r[r.length-1].tagName===a(o.content[0].content[1])&&r.pop():"/>"===o.content[o.content.length-1].content||r.push({tagName:a(o.content[0].content[1]),openedBraces:0}):r.length>0&&"punctuation"===o.type&&"{"===o.content?r[r.length-1].openedBraces++:r.length>0&&r[r.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?r[r.length-1].openedBraces--:i=!0),(i||"string"==typeof o)&&r.length>0&&0===r[r.length-1].openedBraces){var l=a(o);n<t.length-1&&("string"==typeof t[n+1]||"plain-text"===t[n+1].type)&&(l+=a(t[n+1]),t.splice(n+1,1)),n>0&&("string"==typeof t[n-1]||"plain-text"===t[n-1].type)&&(l=a(t[n-1])+l,t.splice(n-1,1),n--),t[n]=new e.Token("plain-text",l,null,l)}o.content&&"string"!=typeof o.content&&s(o.content)}};e.hooks.add("after-tokenize",function(e){"jsx"!==e.language&&"tsx"!==e.language||s(e.tokens)})}(Prism);var wN;wN||(wN=1,function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(Prism)),Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var r={};r["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var n={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};n["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:n},Prism.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml,Prism.languages.go=Prism.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),Prism.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete Prism.languages.go["class-name"];var EN;EN||(EN=1,function(e){var t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,r=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],n=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,o=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,i=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:r,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:n,operator:o,punctuation:i};var a={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},s=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:a}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:a}}];e.languages.insertBefore("php","variable",{string:s,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:s,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:r,number:n,operator:o,punctuation:i}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",function(t){/<\?/.test(t.code)&&e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")})}(Prism)),Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),Prism.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],char:Prism.languages.c.char,comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}}}),Prism.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete Prism.languages.c.boolean;var xN;xN||(xN=1,Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python);var CN;CN||(CN=1,function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,r=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,n={pattern:RegExp(/(^|[^\w.])/.source+r+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[n,{pattern:RegExp(/(^|[^\w.])/.source+r+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:n.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+r+/[A-Z]\w*\b/.source),lookbehind:!0,inside:n.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":n,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+r+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:n.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+r+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:n.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})}(Prism));var SN;SN||(SN=1,function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,r=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return t.source});e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return r})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(Prism));var DN;DN||(DN=1,function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,r){return"(?:"+t[+r]+")"})}function r(e,r,n){return RegExp(t(e,r),"")}function n(e,t){for(var r=0;r<t;r++)e=e.replace(/<<self>>/g,function(){return"(?:"+e+")"});return e.replace(/<<self>>/g,"[^\\s\\S]")}var o="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",i="class enum interface record struct",a="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",s="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function l(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var u=l(i),c=RegExp(l(o+" "+i+" "+a+" "+s)),d=l(i+" "+a+" "+s),h=l(o+" "+i+" "+s),p=n(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),f=n(/\((?:[^()]|<<self>>)*\)/.source,2),g=/@?\b[A-Za-z_]\w*\b/.source,m=t(/<<0>>(?:\s*<<1>>)?/.source,[g,p]),v=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,m]),y=/\[\s*(?:,\s*)*\]/.source,b=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[v,y]),w=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[p,f,y]),E=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[w]),x=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[E,v,y]),C={keyword:c,punctuation:/[<>()?,.:[\]]/},S=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,D=/"(?:\\.|[^\\"\r\n])*"/.source,A=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:r(/(^|[^$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0},{pattern:r(/(^|[^@$\\])<<0>>/.source,[D]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:r(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[v]),lookbehind:!0,inside:C},{pattern:r(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[g,x]),lookbehind:!0,inside:C},{pattern:r(/(\busing\s+)<<0>>(?=\s*=)/.source,[g]),lookbehind:!0},{pattern:r(/(\b<<0>>\s+)<<1>>/.source,[u,m]),lookbehind:!0,inside:C},{pattern:r(/(\bcatch\s*\(\s*)<<0>>/.source,[v]),lookbehind:!0,inside:C},{pattern:r(/(\bwhere\s+)<<0>>/.source,[g]),lookbehind:!0},{pattern:r(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[b]),lookbehind:!0,inside:C},{pattern:r(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[x,h,g]),inside:C}],keyword:c,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:r(/([(,]\s*)<<0>>(?=\s*:)/.source,[g]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:r(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[g]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:r(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[f]),lookbehind:!0,alias:"class-name",inside:C},"return-type":{pattern:r(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[x,v]),inside:C,alias:"class-name"},"constructor-invocation":{pattern:r(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[x]),lookbehind:!0,inside:C,alias:"class-name"},"generic-method":{pattern:r(/<<0>>\s*<<1>>(?=\s*\()/.source,[g,p]),inside:{function:r(/^<<0>>/.source,[g]),generic:{pattern:RegExp(p),alias:"class-name",inside:C}}},"type-list":{pattern:r(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[u,m,g,x,c.source,f,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:r(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[m,f]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:c,"class-name":{pattern:RegExp(x),greedy:!0,inside:C},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var k=D+"|"+S,T=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[k]),N=n(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[T]),2),O=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,B=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[v,N]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:r(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[O,B]),lookbehind:!0,greedy:!0,inside:{target:{pattern:r(/^<<0>>(?=\s*:)/.source,[O]),alias:"keyword"},"attribute-arguments":{pattern:r(/\(<<0>>*\)/.source,[N]),inside:e.languages.csharp},"class-name":{pattern:RegExp(v),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var F=/:[^}\r\n]+/.source,M=n(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[T]),2),I=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[M,F]),P=n(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[k]),2),R=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[P,F]);function L(t,n){return{interpolation:{pattern:r(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:r(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[n,F]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:r(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[I]),lookbehind:!0,greedy:!0,inside:L(I,M)},{pattern:r(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[R]),lookbehind:!0,greedy:!0,inside:L(R,P)}],char:{pattern:RegExp(S),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(Prism)),Prism.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},Prism.languages.vb=Prism.languages["visual-basic"],Prism.languages.vba=Prism.languages["visual-basic"],Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/};var AN;AN||(AN=1,function(e){e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete e.languages.ruby.function;var r="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",n=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+r+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+n),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+n+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+r),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+r),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby}(Prism)),Prism.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},Prism.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=Prism.languages.swift}),function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",r={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},n={bash:r,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:n},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:r}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:n},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:n.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:n.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},r.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=n.variable[1].inside,a=0;a<o.length;a++)i[o[a]]=e.languages.bash[o[a]];e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash}(Prism),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function r(e){return e=e.replace(/<inner>/g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var n=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return n}),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+i+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+i+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(n),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(n),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:r(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:r(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:r(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:r(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(r){t!==r&&(e.languages.markdown[t].inside.content.inside[r]=e.languages.markdown[r])})}),e.hooks.add("after-tokenize",function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var r=0,n=t.length;r<n;r++){var o=t[r];if("code"===o.type){var i=o.content[1],a=o.content[3];if(i&&a&&"code-language"===i.type&&"code-block"===a.type&&"string"==typeof i.content){var s=i.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),l="language-"+(s=(/[a-z][\w-]*/i.exec(s)||[""])[0].toLowerCase());a.alias?"string"==typeof a.alias?a.alias=[a.alias,l]:a.alias.push(l):a.alias=[l]}}else e(o.content)}}(e.tokens)}),e.hooks.add("wrap",function(t){if("code-block"===t.type){for(var r="",n=0,o=t.classes.length;n<o;n++){var i=t.classes[n],u=/language-(.+)/.exec(i);if(u){r=u[1];break}}var c=e.languages[r];if(c)t.content=e.highlight(function(e){var t=e.replace(a,"");return t=t.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(e,t){var r;if("#"===(t=t.toLowerCase())[0])return r="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),l(r);var n=s[t];return n||e}),t}(t.content),c,r);else if(r&&"none"!==r&&e.plugins.autoloader){var d="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random());t.attributes.id=d,e.plugins.autoloader.loadLanguages(r,function(){var t=document.getElementById(d);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[r],r))})}}});var a=RegExp(e.languages.markup.tag.pattern.source,"gi"),s={amp:"&",lt:"<",gt:">",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(Prism),Prism.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/},function(e){var t={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};e.languages.groovy=e.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}}}),e.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),t.inside.expression.inside=e.languages.groovy}(Prism),Prism.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:\*-INPUT|\?TO|ABAP-SOURCE|ABBREVIATED|ABS|ABSTRACT|ACCEPT|ACCEPTING|ACCESSPOLICY|ACCORDING|ACOS|ACTIVATION|ACTUAL|ADD|ADD-CORRESPONDING|ADJACENT|AFTER|ALIAS|ALIASES|ALIGN|ALL|ALLOCATE|ALPHA|ANALYSIS|ANALYZER|AND|ANY|APPEND|APPENDAGE|APPENDING|APPLICATION|ARCHIVE|AREA|ARITHMETIC|AS|ASCENDING|ASIN|ASPECT|ASSERT|ASSIGN|ASSIGNED|ASSIGNING|ASSOCIATION|ASYNCHRONOUS|AT|ATAN|ATTRIBUTES|AUTHORITY|AUTHORITY-CHECK|AVG|BACK|BACKGROUND|BACKUP|BACKWARD|BADI|BASE|BEFORE|BEGIN|BETWEEN|BIG|BINARY|BINDING|BIT|BIT-AND|BIT-NOT|BIT-OR|BIT-XOR|BLACK|BLANK|BLANKS|BLOB|BLOCK|BLOCKS|BLUE|BOUND|BOUNDARIES|BOUNDS|BOXED|BREAK-POINT|BT|BUFFER|BY|BYPASSING|BYTE|BYTE-CA|BYTE-CN|BYTE-CO|BYTE-CS|BYTE-NA|BYTE-NS|BYTE-ORDER|C|CA|CALL|CALLING|CASE|CAST|CASTING|CATCH|CEIL|CENTER|CENTERED|CHAIN|CHAIN-INPUT|CHAIN-REQUEST|CHANGE|CHANGING|CHANNELS|CHAR-TO-HEX|CHARACTER|CHARLEN|CHECK|CHECKBOX|CIRCULAR|CI_|CLASS|CLASS-CODING|CLASS-DATA|CLASS-EVENTS|CLASS-METHODS|CLASS-POOL|CLEANUP|CLEAR|CLIENT|CLOB|CLOCK|CLOSE|CN|CNT|CO|COALESCE|CODE|CODING|COLLECT|COLOR|COLUMN|COLUMNS|COL_BACKGROUND|COL_GROUP|COL_HEADING|COL_KEY|COL_NEGATIVE|COL_NORMAL|COL_POSITIVE|COL_TOTAL|COMMENT|COMMENTS|COMMIT|COMMON|COMMUNICATION|COMPARING|COMPONENT|COMPONENTS|COMPRESSION|COMPUTE|CONCAT|CONCATENATE|COND|CONDENSE|CONDITION|CONNECT|CONNECTION|CONSTANTS|CONTEXT|CONTEXTS|CONTINUE|CONTROL|CONTROLS|CONV|CONVERSION|CONVERT|COPIES|COPY|CORRESPONDING|COS|COSH|COUNT|COUNTRY|COVER|CP|CPI|CREATE|CREATING|CRITICAL|CS|CURRENCY|CURRENCY_CONVERSION|CURRENT|CURSOR|CURSOR-SELECTION|CUSTOMER|CUSTOMER-FUNCTION|DANGEROUS|DATA|DATABASE|DATAINFO|DATASET|DATE|DAYLIGHT|DBMAXLEN|DD\/MM\/YY|DD\/MM\/YYYY|DDMMYY|DEALLOCATE|DECIMALS|DECIMAL_SHIFT|DECLARATIONS|DEEP|DEFAULT|DEFERRED|DEFINE|DEFINING|DEFINITION|DELETE|DELETING|DEMAND|DEPARTMENT|DESCENDING|DESCRIBE|DESTINATION|DETAIL|DIALOG|DIRECTORY|DISCONNECT|DISPLAY|DISPLAY-MODE|DISTANCE|DISTINCT|DIV|DIVIDE|DIVIDE-CORRESPONDING|DIVISION|DO|DUMMY|DUPLICATE|DUPLICATES|DURATION|DURING|DYNAMIC|DYNPRO|E|EACH|EDIT|EDITOR-CALL|ELSE|ELSEIF|EMPTY|ENABLED|ENABLING|ENCODING|END|END-ENHANCEMENT-SECTION|END-LINES|END-OF-DEFINITION|END-OF-FILE|END-OF-PAGE|END-OF-SELECTION|ENDAT|ENDCASE|ENDCATCH|ENDCHAIN|ENDCLASS|ENDDO|ENDENHANCEMENT|ENDEXEC|ENDFOR|ENDFORM|ENDFUNCTION|ENDIAN|ENDIF|ENDING|ENDINTERFACE|ENDLOOP|ENDMETHOD|ENDMODULE|ENDON|ENDPROVIDE|ENDSELECT|ENDTRY|ENDWHILE|ENGINEERING|ENHANCEMENT|ENHANCEMENT-POINT|ENHANCEMENT-SECTION|ENHANCEMENTS|ENTRIES|ENTRY|ENVIRONMENT|EQ|EQUAL|EQUIV|ERRORMESSAGE|ERRORS|ESCAPE|ESCAPING|EVENT|EVENTS|EXACT|EXCEPT|EXCEPTION|EXCEPTION-TABLE|EXCEPTIONS|EXCLUDE|EXCLUDING|EXEC|EXECUTE|EXISTS|EXIT|EXIT-COMMAND|EXP|EXPAND|EXPANDING|EXPIRATION|EXPLICIT|EXPONENT|EXPORT|EXPORTING|EXTEND|EXTENDED|EXTENSION|EXTRACT|FAIL|FETCH|FIELD|FIELD-GROUPS|FIELD-SYMBOL|FIELD-SYMBOLS|FIELDS|FILE|FILTER|FILTER-TABLE|FILTERS|FINAL|FIND|FIRST|FIRST-LINE|FIXED-POINT|FKEQ|FKGE|FLOOR|FLUSH|FONT|FOR|FORM|FORMAT|FORWARD|FOUND|FRAC|FRAME|FRAMES|FREE|FRIENDS|FROM|FUNCTION|FUNCTION-POOL|FUNCTIONALITY|FURTHER|GAPS|GE|GENERATE|GET|GIVING|GKEQ|GKGE|GLOBAL|GRANT|GREATER|GREEN|GROUP|GROUPS|GT|HANDLE|HANDLER|HARMLESS|HASHED|HAVING|HDB|HEAD-LINES|HEADER|HEADERS|HEADING|HELP-ID|HELP-REQUEST|HIDE|HIGH|HINT|HOLD|HOTSPOT|I|ICON|ID|IDENTIFICATION|IDENTIFIER|IDS|IF|IGNORE|IGNORING|IMMEDIATELY|IMPLEMENTATION|IMPLEMENTATIONS|IMPLEMENTED|IMPLICIT|IMPORT|IMPORTING|IN|INACTIVE|INCL|INCLUDE|INCLUDES|INCLUDING|INCREMENT|INDEX|INDEX-LINE|INFOTYPES|INHERITING|INIT|INITIAL|INITIALIZATION|INNER|INOUT|INPUT|INSERT|INSTANCES|INTENSIFIED|INTERFACE|INTERFACE-POOL|INTERFACES|INTERNAL|INTERVALS|INTO|INVERSE|INVERTED-DATE|IS|ISO|ITERATOR|ITNO|JOB|JOIN|KEEP|KEEPING|KERNEL|KEY|KEYS|KEYWORDS|KIND|LANGUAGE|LAST|LATE|LAYOUT|LE|LEADING|LEAVE|LEFT|LEFT-JUSTIFIED|LEFTPLUS|LEFTSPACE|LEGACY|LENGTH|LESS|LET|LEVEL|LEVELS|LIKE|LINE|LINE-COUNT|LINE-SELECTION|LINE-SIZE|LINEFEED|LINES|LIST|LIST-PROCESSING|LISTBOX|LITTLE|LLANG|LOAD|LOAD-OF-PROGRAM|LOB|LOCAL|LOCALE|LOCATOR|LOG|LOG-POINT|LOG10|LOGFILE|LOGICAL|LONG|LOOP|LOW|LOWER|LPAD|LPI|LT|M|MAIL|MAIN|MAJOR-ID|MAPPING|MARGIN|MARK|MASK|MATCH|MATCHCODE|MAX|MAXIMUM|MEDIUM|MEMBERS|MEMORY|MESH|MESSAGE|MESSAGE-ID|MESSAGES|MESSAGING|METHOD|METHODS|MIN|MINIMUM|MINOR-ID|MM\/DD\/YY|MM\/DD\/YYYY|MMDDYY|MOD|MODE|MODIF|MODIFIER|MODIFY|MODULE|MOVE|MOVE-CORRESPONDING|MULTIPLY|MULTIPLY-CORRESPONDING|NA|NAME|NAMETAB|NATIVE|NB|NE|NESTED|NESTING|NEW|NEW-LINE|NEW-PAGE|NEW-SECTION|NEXT|NO|NO-DISPLAY|NO-EXTENSION|NO-GAP|NO-GAPS|NO-GROUPING|NO-HEADING|NO-SCROLLING|NO-SIGN|NO-TITLE|NO-TOPOFPAGE|NO-ZERO|NODE|NODES|NON-UNICODE|NON-UNIQUE|NOT|NP|NS|NULL|NUMBER|NUMOFCHAR|O|OBJECT|OBJECTS|OBLIGATORY|OCCURRENCE|OCCURRENCES|OCCURS|OF|OFF|OFFSET|OLE|ON|ONLY|OPEN|OPTION|OPTIONAL|OPTIONS|OR|ORDER|OTHER|OTHERS|OUT|OUTER|OUTPUT|OUTPUT-LENGTH|OVERFLOW|OVERLAY|PACK|PACKAGE|PAD|PADDING|PAGE|PAGES|PARAMETER|PARAMETER-TABLE|PARAMETERS|PART|PARTIALLY|PATTERN|PERCENTAGE|PERFORM|PERFORMING|PERSON|PF|PF-STATUS|PINK|PLACES|POOL|POSITION|POS_HIGH|POS_LOW|PRAGMAS|PRECOMPILED|PREFERRED|PRESERVING|PRIMARY|PRINT|PRINT-CONTROL|PRIORITY|PRIVATE|PROCEDURE|PROCESS|PROGRAM|PROPERTY|PROTECTED|PROVIDE|PUBLIC|PUSHBUTTON|PUT|QUEUE-ONLY|QUICKINFO|RADIOBUTTON|RAISE|RAISING|RANGE|RANGES|RAW|READ|READ-ONLY|READER|RECEIVE|RECEIVED|RECEIVER|RECEIVING|RED|REDEFINITION|REDUCE|REDUCED|REF|REFERENCE|REFRESH|REGEX|REJECT|REMOTE|RENAMING|REPLACE|REPLACEMENT|REPLACING|REPORT|REQUEST|REQUESTED|RESERVE|RESET|RESOLUTION|RESPECTING|RESPONSIBLE|RESULT|RESULTS|RESUMABLE|RESUME|RETRY|RETURN|RETURNCODE|RETURNING|RIGHT|RIGHT-JUSTIFIED|RIGHTPLUS|RIGHTSPACE|RISK|RMC_COMMUNICATION_FAILURE|RMC_INVALID_STATUS|RMC_SYSTEM_FAILURE|ROLE|ROLLBACK|ROUND|ROWS|RTTI|RUN|SAP|SAP-SPOOL|SAVING|SCALE_PRESERVING|SCALE_PRESERVING_SCIENTIFIC|SCAN|SCIENTIFIC|SCIENTIFIC_WITH_LEADING_ZERO|SCREEN|SCROLL|SCROLL-BOUNDARY|SCROLLING|SEARCH|SECONDARY|SECONDS|SECTION|SELECT|SELECT-OPTIONS|SELECTION|SELECTION-SCREEN|SELECTION-SET|SELECTION-SETS|SELECTION-TABLE|SELECTIONS|SELECTOR|SEND|SEPARATE|SEPARATED|SET|SHARED|SHIFT|SHORT|SHORTDUMP-ID|SIGN|SIGN_AS_POSTFIX|SIMPLE|SIN|SINGLE|SINH|SIZE|SKIP|SKIPPING|SMART|SOME|SORT|SORTABLE|SORTED|SOURCE|SPACE|SPECIFIED|SPLIT|SPOOL|SPOTS|SQL|SQLSCRIPT|SQRT|STABLE|STAMP|STANDARD|START-OF-SELECTION|STARTING|STATE|STATEMENT|STATEMENTS|STATIC|STATICS|STATUSINFO|STEP-LOOP|STOP|STRLEN|STRUCTURE|STRUCTURES|STYLE|SUBKEY|SUBMATCHES|SUBMIT|SUBROUTINE|SUBSCREEN|SUBSTRING|SUBTRACT|SUBTRACT-CORRESPONDING|SUFFIX|SUM|SUMMARY|SUMMING|SUPPLIED|SUPPLY|SUPPRESS|SWITCH|SWITCHSTATES|SYMBOL|SYNCPOINTS|SYNTAX|SYNTAX-CHECK|SYNTAX-TRACE|SYSTEM-CALL|SYSTEM-EXCEPTIONS|SYSTEM-EXIT|TAB|TABBED|TABLE|TABLES|TABLEVIEW|TABSTRIP|TAN|TANH|TARGET|TASK|TASKS|TEST|TESTING|TEXT|TEXTPOOL|THEN|THROW|TIME|TIMES|TIMESTAMP|TIMEZONE|TITLE|TITLE-LINES|TITLEBAR|TO|TOKENIZATION|TOKENS|TOP-LINES|TOP-OF-PAGE|TRACE-FILE|TRACE-TABLE|TRAILING|TRANSACTION|TRANSFER|TRANSFORMATION|TRANSLATE|TRANSPORTING|TRMAC|TRUNC|TRUNCATE|TRUNCATION|TRY|TYPE|TYPE-POOL|TYPE-POOLS|TYPES|ULINE|UNASSIGN|UNDER|UNICODE|UNION|UNIQUE|UNIT|UNIT_CONVERSION|UNIX|UNPACK|UNTIL|UNWIND|UP|UPDATE|UPPER|USER|USER-COMMAND|USING|UTF-8|VALID|VALUE|VALUE-REQUEST|VALUES|VARY|VARYING|VERIFICATION-MESSAGE|VERSION|VIA|VIEW|VISIBLE|WAIT|WARNING|WHEN|WHENEVER|WHERE|WHILE|WIDTH|WINDOW|WINDOWS|WITH|WITH-HEADING|WITH-TITLE|WITHOUT|WORD|WORK|WRITE|WRITER|X|XML|XOR|XSD|XSTRLEN|YELLOW|YES|YYMMDD|Z|ZERO|ZONE)(?![\w-])/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/};var kN=["comment","prolog","doctype","cdata","punctuation","namespace","property","tag","boolean","number","constant","symbol","deleted","selector","attr-name","string","builtin","inserted","operator","entity","url","string","atrule","attr-value","keyword","function","class-name","regex","important","variable","bold","italic","entity","char"];function TN(e){return"string"==typeof e?e.length:"string"==typeof e.content?e.content.length:e.content.reduce(function(e,t){return e+TN(t)},0)}var NN=function(e){var t,r,n,o=Ig(e,2),i=o[0],a=o[1],s=[],l=function(e){if(!Df.isText(e))return null;var t=Oy.getParentNode(null,e);if(t&&"code"===Oy.getNodeType(t)){var r=Oy.getParentNode(null,t);if(r&&"pre"===Oy.getNodeType(r))return t}return null}(i);if(null==l)return s;var u=l.language,c=void 0===u?"":u;if(!c)return s;var d=function(e,t){if(!t)return[];var r=bN.languages[t];return r?bN.tokenize(e.text,r):[]}(i,c),h=0;try{for(var p=Mg(d),f=p.next();!f.done;f=p.next()){var g=f.value,m=h+TN(g);"string"!=typeof g&&s.push(((n={})[g.type]=!0,n.anchor={path:a,offset:h},n.focus={path:a,offset:m},n)),h=m}}catch(e){t={error:e}}finally{try{f&&!f.done&&(r=p.return)&&r.call(p)}finally{if(t)throw t.error}}return s};var ON={type:"code",elemToHtml:function(e,t){var r=e.language,n=void 0===r?"":r,o=n?'class="language-'.concat(n,'"'):"";return"<code ".concat(o,">").concat(t,"</code>")}};var BN=function(){function e(){this.title=Xw("highLightModule.selectLang"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M64 64v896h896V64H64z m487.6 698.8c0 87.2-51.2 127-125.8 127-67.4 0-106.4-34.8-126.4-77l68.6-41.4c13.2 23.4 25.2 43.2 54.2 43.2 27.6 0 45.2-10.8 45.2-53V475.4h84.2v287.4z m199.2 127c-78.2 0-128.8-37.2-153.4-86l68.6-39.6c18 29.4 41.6 51.2 83 51.2 34.8 0 57.2-17.4 57.2-41.6 0-28.8-22.8-39-61.4-56l-21-9c-60.8-25.8-101-58.4-101-127 0-63.2 48.2-111.2 123.2-111.2 53.6 0 92 18.6 119.6 67.4L800 580c-14.4-25.8-30-36-54.2-36-24.6 0-40.2 15.6-40.2 36 0 25.2 15.6 35.4 51.8 51.2l21 9c71.6 30.6 111.8 62 111.8 132.4 0 75.6-59.6 117.2-139.4 117.2z"></path></svg>',this.tag="select",this.width=95,this.selectPanelWidth=115,this.defaultCodeLang=""}return e.prototype.getOptions=function(e){var t=this,r=[],n=e.getMenuConfig("codeSelectLang").codeLangs,o=void 0===n?[]:n;r.push({text:"plain text",value:""}),o.forEach(function(e){var n=e.text,o=e.value;e.selected&&(t.defaultCodeLang=o),r.push({text:n,value:o})});var i=this.getValue(e);return r.forEach(function(e){e.value===i?e.selected=!0:e.selected=void 0}),r},e.prototype.isActive=function(e){return!1},e.prototype.getValue=function(e){var t=this.getSelectCodeElem(e);if(null==t)return this.defaultCodeLang;if(!kp.isElement(t))return this.defaultCodeLang;var r=t.language.toString(),n=e.getMenuConfig("codeSelectLang").codeLangs;return(void 0===n?[]:n).some(function(e){return e.value===r})?r:this.defaultCodeLang},e.prototype.isDisabled=function(e){return null==e.selection||!this.getSelectCodeElem(e)},e.prototype.exec=function(e,t){if(null!=this.getSelectCodeElem(e)){var r={language:t.toString()};Vf.setNodes(e,r,{match:function(e){return Oy.checkNodeType(e,"code")}})}},e.prototype.getSelectCodeElem=function(e){var t=Oy.getSelectedNodeByType(e,"code");if(null==t)return null;var r=Oy.getParentNode(e,t);return kp.isElement(r)?"pre"!==r.type?null:t:null},e}(),FN={key:"codeSelectLang",factory:function(){return new BN},config:{codeLangs:[{text:"CSS",value:"css"},{text:"HTML",value:"html"},{text:"XML",value:"xml"},{text:"Javascript",value:"javascript"},{text:"Typescript",value:"typescript"},{text:"JSX",value:"jsx"},{text:"Go",value:"go"},{text:"PHP",value:"php"},{text:"C",value:"c"},{text:"Python",value:"python"},{text:"Java",value:"java"},{text:"C++",value:"cpp"},{text:"C#",value:"csharp"},{text:"Visual Basic",value:"visual-basic"},{text:"SQL",value:"sql"},{text:"Ruby",value:"ruby"},{text:"Swift",value:"swift"},{text:"Bash",value:"bash"},{text:"Lua",value:"lua"},{text:"Groovy",value:"groovy"},{text:"Markdown",value:"markdown"},{text:"ABAP",value:"abap"}]}};Jm&&(Ym.fn.attr=Jm);var MN={renderStyle:function(e,t){var r=e,n=t,o="";return kN.forEach(function(e){r[e]&&(o=e)}),o&&function(e,t){null==e.data&&(e.data={});var r=e.data;null==r.props&&(r.props={}),Object.assign(r.props,{className:t})}(n,o="token ".concat(o)),n},parseStyleHtml:function(e,t,r){var n=Ym(e);if(!kp.isElement(t))return t;if("code"!==Oy.getNodeType(t))return t;var o=t,i=n.attr("class")||"";return 0===i.indexOf("language-")?o.language=i.split("-")[1]||"":o.language=i.toLowerCase(),o},menus:[FN],elemsToHtml:[ON]};Gw("en",{listModule:{unOrderedList:"Unordered list",orderedList:"Ordered list"}}),Gw("zh-CN",{listModule:{unOrderedList:"无序列表",orderedList:"有序列表"}});var IN=new WeakMap;function PN(e){var t,r=e.children||[],n=r.length;if(0===n)return"";for(var o=0;o<n&&!t;o+=1){var i=r[o];Df.isText(i)&&(t=i)}return null==t?"":t.color||""}function RN(e,t,r){for(var n=t.type,o=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(t,["type"]),i=void 0!==r?r:o.level||0,a=Oy.findPath(e,t);;){if(0===a.length||0===a[a.length-1])return null;a=yp.previous(a);var s=ff.node(e,a);if(!s)return null;var l=Ig(s,1)[0],u=l.level,c=void 0===u?0:u;if(Oy.getNodeType(l)!==n)return null;if(c===i)return l}}function LN(e,t,r){var n=RN(e,t,r);return!!n&&n.ordered===t.ordered}var _N=[];var zN={type:"list-item",elemToHtml:function(e,t){var r="",n="",o=e.ordered,i=void 0!==o&&o?"ol":"ul",a=function(e){var t=IN.get(e);if(null==t)return 0;var r=e,n=r.type,o=r.ordered,i=void 0!==o&&o,a=r.level,s=void 0===a?0:a,l=Oy.findPath(t,e);if(0===l[0])return s+1;var u=yp.previous(l),c=ff.node(t,u);if(!c)return 0;var d=Ig(c,1)[0];if(Oy.getNodeType(d)!==n)return s+1;var h=d,p=h.ordered,f=void 0!==p&&p,g=h.level,m=void 0===g?0:g;return m<s?s-m:m>s?LN(t,e)?0:1:m===s?f===i?0:1:0}(e);if(a>0)for(var s=0;s<a;s+=1)r+="<".concat(i,">"),_N.push(i);var l=function(e){var t=IN.get(e);if(null==t)return 0;var r=e,n=r.type,o=r.ordered,i=void 0!==o&&o,a=r.level,s=void 0===a?0:a,l=Oy.findPath(t,e);if(l[0]===t.children.length-1)return s+1;var u=yp.next(l),c=ff.node(t,u);if(!c)return 0;var d=Ig(c,1)[0];if(Oy.getNodeType(d)!==n)return s+1;var h=d,p=h.ordered,f=void 0!==p&&p,g=h.level,m=void 0===g?0:g;return m<s?LN(t,d)?s-m:s-m+1:m>s?0:m===s?f===i?0:1:0}(e);if(l>0)for(s=0;s<l;s+=1){var u=_N.pop();n+="</".concat(u,">")}var c=PN(e),d=c?' style="color:'.concat(c,'"'):"";return{html:"<li".concat(d,">").concat(t,"</li>"),prefix:r,suffix:n}}},HN=function(){function e(){this.type="list-item",this.tag="button"}return e.prototype.getListNode=function(e){var t=this.type;return Oy.getSelectedNodeByType(e,t)},e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){var t=this.getListNode(e);if(null==t)return!1;var r=t.ordered;return(void 0!==r&&r)===this.ordered},e.prototype.isDisabled=function(e){return null==e.selection||!!Oy.getSelectedElems(e).some(function(t){if(ff.isVoid(e,t)&&ff.isBlock(e,t))return!0;var r=t.type;return!!["pre","code","table"].includes(r)})},e.prototype.exec=function(e,t){this.isActive(e)?Vf.setNodes(e,{type:"paragraph",ordered:void 0,level:void 0}):Vf.setNodes(e,{type:"list-item",ordered:this.ordered,indent:void 0})},e}(),jN=function(e){function t(){var t=e.apply(this,Pg([],Ig(arguments),!1))||this;return t.ordered=!1,t.title=Xw("listModule.unOrderedList"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M384 64h640v128H384V64z m0 384h640v128H384v-128z m0 384h640v128H384v-128zM0 128a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z"></path></svg>',t}return Ng(t,e),t}(HN),VN=function(e){function t(){var t=e.apply(this,Pg([],Ig(arguments),!1))||this;return t.ordered=!0,t.title=Xw("listModule.orderedList"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M384 832h640v128H384z m0-384h640v128H384z m0-384h640v128H384zM192 0v256H128V64H64V0zM128 526.016v50.016h128v64H64v-146.016l128-60V384H64v-64h192v146.016zM256 704v320H64v-64h128v-64H64v-64h128v-64H64v-64z"></path></svg>',t}return Ng(t,e),t}(HN),$N={key:"bulletedList",factory:function(){return new jN}},UN={key:"numberedList",factory:function(){return new VN}};function qN(e){return e.length?e[0].tagName.toLowerCase():""}mv&&(Ym.fn.append=mv),Jm&&(Ym.fn.attr=Jm),yv&&(Ym.fn.parent=yv);var GN={selector:"li:not([data-w-e-type])",parseElemHtml:function(e,t,r){var n=Ym(e);0===(t=t.filter(function(e){return!!Df.isText(e)||!!r.isInline(e)})).length&&(t=[{text:n.text().replace(/\s+/gm," ")}]);var o=function(e){return"ol"===qN(e.parent())}(n),i=function(e){for(var t=0,r=e.parent(),n=qN(r);"ul"===n||"ol"===n;)n=qN(r=r.parent()),t+=1;return t-1}(n);return{type:"list-item",ordered:o,level:i,children:t}}};var WN={selector:"ul:not([data-w-e-type]),ol:not([data-w-e-type])",parseElemHtml:function(e,t,r){return t.flat(1/0)}};function YN(e){return ff.nodes(e,{at:e.selection||void 0,match:function(t){return 1===Oy.findPath(e,t).length}})}var KN={type:"list-item",renderElem:function(e,t,r){IN.set(e,r);var n=e,o=n.level,i=void 0===o?0:o,a=n.ordered,s=void 0!==a&&a,l={margin:"5px 0 5px ".concat(20*i,"px"),display:"flex",alignItems:"flex-start"},u="";if(s){var c=function(e,t){var r=t,n=r.type,o=r.level,i=void 0===o?0:o,a=r.ordered,s=void 0!==a&&a,l=1,u=t,c=Oy.findPath(e,u);if(0===c[0])return 1;for(;c[0]>0;){var d=yp.previous(c),h=ff.node(e,d);if(null==h)break;var p=h[0],f=p.level,g=void 0===f?0:f,m=p.type,v=p.ordered;if(m!==n)break;if(g<i)break;if(g===i){if(v!==s)break;l+=1}u=p,c=d}return l}(r,e);u="".concat(c,".")}else u=function(e){void 0===e&&(e=0);var t="";switch(e){case 0:t="•";break;case 1:t="◦";break;default:t="▪"}return t}(i);return Ax("div",{style:l},Ax("span",{contentEditable:!1,style:{marginRight:"0.5em",color:PN(e)},"data-w-e-reserve":!0},u),Ax("span",{style:{flex:"1",wordBreak:"break-word"}},t))}},XN={renderElems:[KN],editorPlugin:function(e){var t=e.deleteBackward,r=e.handleTab,n=e.normalizeNode,o=e.insertBreak,i=e;return i.insertBreak=function(){var t=Ig(ff.nodes(e,{match:function(e){return Oy.checkNodeType(e,"list-item")},universal:!0}),1),r=t[0];return r?""!==r[0].children[0].text?o():void Vf.setNodes(i,{type:"paragraph",ordered:void 0,level:void 0}):o()},i.deleteBackward=function(r){var n=i.selection;if(null!=n)if(Dp.isExpanded(n))t(r);else{var o=Oy.getSelectedNodeByType(i,"list-item");if(null!=o)if(0!==n.focus.offset)t(r);else{var a=o,s=a.level,l=void 0===s?0:s,u=a.ordered,c=void 0!==u&&u;if(l>0){var d=RN(e,o,l-1);d&&d.ordered!==c?Vf.setNodes(i,{level:l-1,ordered:!c}):Vf.setNodes(i,{level:l-1})}else Vf.setNodes(i,{type:"paragraph",ordered:void 0,level:void 0})}else t(r)}else t(r)},i.handleTab=function(){var e,t,n,o,a=i.selection;if(null!=a){if(Dp.isCollapsed(a)){var s=Oy.getSelectedNodeByType(i,"list-item");if(null==s)return void r();if(0===a.focus.offset){var l=s.level,u=void 0===l?0:l;return void Vf.setNodes(i,{level:u+1})}}if(Dp.isExpanded(a)){var c=0,d=!1;try{for(var h=Mg(YN(i)),p=h.next();!p.done;p=h.next()){var f=Ig(p.value,1)[0];"list-item"===Oy.getNodeType(f)?c+=1:d=!0}}catch(t){e={error:t}}finally{try{p&&!p.done&&(t=h.return)&&t.call(h)}finally{if(e)throw e.error}}if(d||c<=1)return void r();try{for(var g=Mg(YN(i)),m=g.next();!m.done;m=g.next()){var v=Ig(m.value,2),y=(f=v[0],v[1]),b=f.level;u=void 0===b?0:b;Vf.setNodes(i,{level:u+1},{at:y})}}catch(e){n={error:e}}finally{try{m&&!m.done&&(o=g.return)&&o.call(g)}finally{if(n)throw n.error}}}else r()}else r()},i.normalizeNode=function(e){var t=Ig(e,2),r=t[0],o=t[1],a=Oy.getNodeType(r);return"bulleted-list"!==a&&"numbered-list"!==a||Vf.unwrapNodes(i,{at:o}),n([r,o])},i},menus:[$N,UN],elemsToHtml:[zN],parseElemsHtml:[WN,GN]};!function(){if(void 0!==window.Reflect&&void 0!==window.customElements&&!window.customElements.polyfillWrapFlushCallback){var e=HTMLElement,t=function(){return Reflect.construct(e,[],this.constructor)};window.HTMLElement=t,HTMLElement.prototype=e.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,e)}}();class ZN{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 ZN(e.loc.lexer,e.loc.start,t.loc.end):null:e&&e.loc}}class JN{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 JN(t,ZN.range(this,e))}}class QN{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var r,n,o="KaTeX parse error: "+e,i=t&&t.loc;if(i&&i.start<=i.end){var a=i.lexer.input;r=i.start,n=i.end,r===a.length?o+=" at end of input: ":o+=" at position "+(r+1)+": ";var s=a.slice(r,n).replace(/[^]/g,"$&̲");o+=(r>15?"…"+a.slice(r-15,r):a.slice(0,r))+s+(n+15<a.length?a.slice(n,n+15)+"…":a.slice(n))}var l=new Error(o);return l.name="ParseError",l.__proto__=QN.prototype,l.position=r,null!=r&&null!=n&&(l.length=n-r),l.rawMessage=e,l}}QN.prototype.__proto__=Error.prototype;var eO=/([A-Z])/g,tO={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},rO=/[&><"']/g;var nO=function e(t){return"ordgroup"===t.type||"color"===t.type?1===t.body.length?e(t.body[0]):t:"font"===t.type?e(t.body):t},oO={deflt:function(e,t){return void 0===e?t:e},escape:function(e){return String(e).replace(rO,e=>tO[e])},hyphenate:function(e){return e.replace(eO,"-$1").toLowerCase()},getBaseElem:nO,isCharacterBox:function(e){var t=nO(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},protocolFromUrl:function(e){var t=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*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"}},iO={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 aO(e){if(e.default)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if("string"!=typeof r)return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class sO{constructor(e){for(var t in this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{},iO)if(iO.hasOwnProperty(t)){var r=iO[t];this[t]=void 0!==e[t]?r.processor?r.processor(e[t]):e[t]:aO(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 QN("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(e){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(e.url&&!e.protocol){var t=oO.protocolFromUrl(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 lO{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 uO[cO[this.id]]}sub(){return uO[dO[this.id]]}fracNum(){return uO[hO[this.id]]}fracDen(){return uO[pO[this.id]]}cramp(){return uO[fO[this.id]]}text(){return uO[gO[this.id]]}isTight(){return this.size>=2}}var uO=[new lO(0,0,!1),new lO(1,0,!0),new lO(2,1,!1),new lO(3,1,!0),new lO(4,2,!1),new lO(5,2,!0),new lO(6,3,!1),new lO(7,3,!0)],cO=[4,5,4,5,6,7,6,7],dO=[5,5,5,5,7,7,7,7],hO=[2,3,4,5,6,7,6,7],pO=[3,3,5,5,7,7,7,7],fO=[1,1,3,3,5,5,7,7],gO=[0,1,2,3,2,3,2,3],mO={DISPLAY:uO[0],TEXT:uO[2],SCRIPT:uO[4],SCRIPTSCRIPT:uO[6]},vO=[{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 yO=[];function bO(e){for(var t=0;t<yO.length;t+=2)if(e>=yO[t]&&e<=yO[t+1])return!0;return!1}vO.forEach(e=>e.blocks.forEach(e=>yO.push(...e)));var wO=80,EO={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"};class xO{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=>e.toText()).join("")}}var CO={"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]}},SO={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]},DO={"Å":"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 AO(e,t,r){if(!CO[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),o=CO[t][n];if(!o&&e[0]in DO&&(n=DO[e[0]].charCodeAt(0),o=CO[t][n]),o||"text"!==r||bO(n)&&(o=CO[t][77]),o)return{depth:o[0],height:o[1],italic:o[2],skew:o[3],width:o[4]}}var kO={};var TO=[[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]],NO=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],OO=function(e,t){return t.size<2?e:TO[e-1][t.size-1]};class BO{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||BO.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=NO[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var t={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return new BO(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:OO(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:NO[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=OO(BO.BASESIZE,e);return this.size===t&&this.textSize===BO.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!==BO.BASESIZE?["sizing","reset-size"+this.size,"size"+BO.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=function(e){var t;if(!kO[t=e>=5?0:e>=3?1:2]){var r=kO[t]={cssEmPerMu:SO.quad[t]/18};for(var n in SO)SO.hasOwnProperty(n)&&(r[n]=SO[n][t])}return kO[t]}(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}BO.BASESIZE=6;var FO={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},MO={ex:!0,em:!0,mu:!0},IO=function(e){return"string"!=typeof e&&(e=e.unit),e in FO||e in MO||"ex"===e},PO=function(e,t){var r;if(e.unit in FO)r=FO[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 QN("Invalid unit: '"+e.unit+"'");r=n.fontMetrics().quad}n!==t&&(r*=n.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*r,t.maxSize)},RO=function(e){return+e.toFixed(4)+"em"},LO=function(e){return e.filter(e=>e).join(" ")},_O=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)}},zO=function(e){var t=document.createElement(e);for(var r in t.className=LO(this.classes),this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);for(var n in this.attributes)this.attributes.hasOwnProperty(n)&&t.setAttribute(n,this.attributes[n]);for(var o=0;o<this.children.length;o++)t.appendChild(this.children[o].toNode());return t},HO=/[\s"'>/=\x00-\x1f]/,jO=function(e){var t="<"+e;this.classes.length&&(t+=' class="'+oO.escape(LO(this.classes))+'"');var r="";for(var n in this.style)this.style.hasOwnProperty(n)&&(r+=oO.hyphenate(n)+":"+this.style[n]+";");for(var o in r&&(t+=' style="'+oO.escape(r)+'"'),this.attributes)if(this.attributes.hasOwnProperty(o)){if(HO.test(o))throw new QN("Invalid attribute name '"+o+"'");t+=" "+o+'="'+oO.escape(this.attributes[o])+'"'}t+=">";for(var i=0;i<this.children.length;i++)t+=this.children[i].toMarkup();return t+="</"+e+">"};class VO{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,_O.call(this,e,r,n),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return zO.call(this,"span")}toMarkup(){return jO.call(this,"span")}}class $O{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,_O.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 zO.call(this,"a")}toMarkup(){return jO.call(this,"a")}}class UO{constructor(e,t,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=r}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createElement("img");for(var t in e.src=this.src,e.alt=this.alt,e.className="mord",this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){var e='<img src="'+oO.escape(this.src)+'" alt="'+oO.escape(this.alt)+'"',t="";for(var r in this.style)this.style.hasOwnProperty(r)&&(t+=oO.hyphenate(r)+":"+this.style[r]+";");return t&&(e+=' style="'+oO.escape(t)+'"'),e+="'/>"}}var qO={"î":"ı̂","ï":"ı̈","í":"ı́","ì":"ı̀"};class GO{constructor(e,t,r,n,o,i,a,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=o||0,this.width=i||0,this.classes=a||[],this.style=s||{},this.maxFontSize=0;var l=function(e){for(var t=0;t<vO.length;t++)for(var r=vO[t],n=0;n<r.blocks.length;n++){var o=r.blocks[n];if(e>=o[0]&&e<=o[1])return r.name}return null}(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=qO[this.text])}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createTextNode(this.text),t=null;for(var r in this.italic>0&&((t=document.createElement("span")).style.marginRight=RO(this.italic)),this.classes.length>0&&((t=t||document.createElement("span")).className=LO(this.classes)),this.style)this.style.hasOwnProperty(r)&&((t=t||document.createElement("span")).style[r]=this.style[r]);return t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=oO.escape(LO(this.classes)),t+='"');var r="";for(var n in this.italic>0&&(r+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(n)&&(r+=oO.hyphenate(n)+":"+this.style[n]+";");r&&(e=!0,t+=' style="'+oO.escape(r)+'"');var o=oO.escape(this.text);return e?(t+=">",t+=o,t+="</span>"):o}}class WO{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e}toMarkup(){var e='<svg xmlns="http://www.w3.org/2000/svg"';for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+oO.escape(this.attributes[t])+'"');e+=">";for(var r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e+="</svg>"}}class YO{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",EO[this.pathName]),e}toMarkup(){return this.alternate?'<path d="'+oO.escape(this.alternate)+'"/>':'<path d="'+oO.escape(EO[this.pathName])+'"/>'}}class KO{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e}toMarkup(){var e="<line";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+oO.escape(this.attributes[t])+'"');return e+="/>"}}function XO(e){if(e instanceof GO)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}var ZO={bin:1,close:1,inner:1,open:1,punct:1,rel:1},JO={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},QO={math:{},text:{}};function eB(e,t,r,n,o,i){QO[e][o]={font:t,group:r,replace:n},i&&n&&(QO[e][n]=QO[e][o])}var tB="math",rB="text",nB="main",oB="ams",iB="accent-token",aB="bin",sB="close",lB="inner",uB="mathord",cB="op-token",dB="open",hB="punct",pB="rel",fB="spacing",gB="textord";eB(tB,nB,pB,"≡","\\equiv",!0),eB(tB,nB,pB,"≺","\\prec",!0),eB(tB,nB,pB,"≻","\\succ",!0),eB(tB,nB,pB,"∼","\\sim",!0),eB(tB,nB,pB,"⊥","\\perp"),eB(tB,nB,pB,"⪯","\\preceq",!0),eB(tB,nB,pB,"⪰","\\succeq",!0),eB(tB,nB,pB,"≃","\\simeq",!0),eB(tB,nB,pB,"∣","\\mid",!0),eB(tB,nB,pB,"≪","\\ll",!0),eB(tB,nB,pB,"≫","\\gg",!0),eB(tB,nB,pB,"≍","\\asymp",!0),eB(tB,nB,pB,"∥","\\parallel"),eB(tB,nB,pB,"⋈","\\bowtie",!0),eB(tB,nB,pB,"⌣","\\smile",!0),eB(tB,nB,pB,"⊑","\\sqsubseteq",!0),eB(tB,nB,pB,"⊒","\\sqsupseteq",!0),eB(tB,nB,pB,"≐","\\doteq",!0),eB(tB,nB,pB,"⌢","\\frown",!0),eB(tB,nB,pB,"∋","\\ni",!0),eB(tB,nB,pB,"∝","\\propto",!0),eB(tB,nB,pB,"⊢","\\vdash",!0),eB(tB,nB,pB,"⊣","\\dashv",!0),eB(tB,nB,pB,"∋","\\owns"),eB(tB,nB,hB,".","\\ldotp"),eB(tB,nB,hB,"⋅","\\cdotp"),eB(tB,nB,gB,"#","\\#"),eB(rB,nB,gB,"#","\\#"),eB(tB,nB,gB,"&","\\&"),eB(rB,nB,gB,"&","\\&"),eB(tB,nB,gB,"ℵ","\\aleph",!0),eB(tB,nB,gB,"∀","\\forall",!0),eB(tB,nB,gB,"ℏ","\\hbar",!0),eB(tB,nB,gB,"∃","\\exists",!0),eB(tB,nB,gB,"∇","\\nabla",!0),eB(tB,nB,gB,"♭","\\flat",!0),eB(tB,nB,gB,"ℓ","\\ell",!0),eB(tB,nB,gB,"♮","\\natural",!0),eB(tB,nB,gB,"♣","\\clubsuit",!0),eB(tB,nB,gB,"℘","\\wp",!0),eB(tB,nB,gB,"♯","\\sharp",!0),eB(tB,nB,gB,"♢","\\diamondsuit",!0),eB(tB,nB,gB,"ℜ","\\Re",!0),eB(tB,nB,gB,"♡","\\heartsuit",!0),eB(tB,nB,gB,"ℑ","\\Im",!0),eB(tB,nB,gB,"♠","\\spadesuit",!0),eB(tB,nB,gB,"§","\\S",!0),eB(rB,nB,gB,"§","\\S"),eB(tB,nB,gB,"¶","\\P",!0),eB(rB,nB,gB,"¶","\\P"),eB(tB,nB,gB,"†","\\dag"),eB(rB,nB,gB,"†","\\dag"),eB(rB,nB,gB,"†","\\textdagger"),eB(tB,nB,gB,"‡","\\ddag"),eB(rB,nB,gB,"‡","\\ddag"),eB(rB,nB,gB,"‡","\\textdaggerdbl"),eB(tB,nB,sB,"⎱","\\rmoustache",!0),eB(tB,nB,dB,"⎰","\\lmoustache",!0),eB(tB,nB,sB,"⟯","\\rgroup",!0),eB(tB,nB,dB,"⟮","\\lgroup",!0),eB(tB,nB,aB,"∓","\\mp",!0),eB(tB,nB,aB,"⊖","\\ominus",!0),eB(tB,nB,aB,"⊎","\\uplus",!0),eB(tB,nB,aB,"⊓","\\sqcap",!0),eB(tB,nB,aB,"∗","\\ast"),eB(tB,nB,aB,"⊔","\\sqcup",!0),eB(tB,nB,aB,"◯","\\bigcirc",!0),eB(tB,nB,aB,"∙","\\bullet",!0),eB(tB,nB,aB,"‡","\\ddagger"),eB(tB,nB,aB,"≀","\\wr",!0),eB(tB,nB,aB,"⨿","\\amalg"),eB(tB,nB,aB,"&","\\And"),eB(tB,nB,pB,"⟵","\\longleftarrow",!0),eB(tB,nB,pB,"⇐","\\Leftarrow",!0),eB(tB,nB,pB,"⟸","\\Longleftarrow",!0),eB(tB,nB,pB,"⟶","\\longrightarrow",!0),eB(tB,nB,pB,"⇒","\\Rightarrow",!0),eB(tB,nB,pB,"⟹","\\Longrightarrow",!0),eB(tB,nB,pB,"↔","\\leftrightarrow",!0),eB(tB,nB,pB,"⟷","\\longleftrightarrow",!0),eB(tB,nB,pB,"⇔","\\Leftrightarrow",!0),eB(tB,nB,pB,"⟺","\\Longleftrightarrow",!0),eB(tB,nB,pB,"↦","\\mapsto",!0),eB(tB,nB,pB,"⟼","\\longmapsto",!0),eB(tB,nB,pB,"↗","\\nearrow",!0),eB(tB,nB,pB,"↩","\\hookleftarrow",!0),eB(tB,nB,pB,"↪","\\hookrightarrow",!0),eB(tB,nB,pB,"↘","\\searrow",!0),eB(tB,nB,pB,"↼","\\leftharpoonup",!0),eB(tB,nB,pB,"⇀","\\rightharpoonup",!0),eB(tB,nB,pB,"↙","\\swarrow",!0),eB(tB,nB,pB,"↽","\\leftharpoondown",!0),eB(tB,nB,pB,"⇁","\\rightharpoondown",!0),eB(tB,nB,pB,"↖","\\nwarrow",!0),eB(tB,nB,pB,"⇌","\\rightleftharpoons",!0),eB(tB,oB,pB,"≮","\\nless",!0),eB(tB,oB,pB,"","\\@nleqslant"),eB(tB,oB,pB,"","\\@nleqq"),eB(tB,oB,pB,"⪇","\\lneq",!0),eB(tB,oB,pB,"≨","\\lneqq",!0),eB(tB,oB,pB,"","\\@lvertneqq"),eB(tB,oB,pB,"⋦","\\lnsim",!0),eB(tB,oB,pB,"⪉","\\lnapprox",!0),eB(tB,oB,pB,"⊀","\\nprec",!0),eB(tB,oB,pB,"⋠","\\npreceq",!0),eB(tB,oB,pB,"⋨","\\precnsim",!0),eB(tB,oB,pB,"⪹","\\precnapprox",!0),eB(tB,oB,pB,"≁","\\nsim",!0),eB(tB,oB,pB,"","\\@nshortmid"),eB(tB,oB,pB,"∤","\\nmid",!0),eB(tB,oB,pB,"⊬","\\nvdash",!0),eB(tB,oB,pB,"⊭","\\nvDash",!0),eB(tB,oB,pB,"⋪","\\ntriangleleft"),eB(tB,oB,pB,"⋬","\\ntrianglelefteq",!0),eB(tB,oB,pB,"⊊","\\subsetneq",!0),eB(tB,oB,pB,"","\\@varsubsetneq"),eB(tB,oB,pB,"⫋","\\subsetneqq",!0),eB(tB,oB,pB,"","\\@varsubsetneqq"),eB(tB,oB,pB,"≯","\\ngtr",!0),eB(tB,oB,pB,"","\\@ngeqslant"),eB(tB,oB,pB,"","\\@ngeqq"),eB(tB,oB,pB,"⪈","\\gneq",!0),eB(tB,oB,pB,"≩","\\gneqq",!0),eB(tB,oB,pB,"","\\@gvertneqq"),eB(tB,oB,pB,"⋧","\\gnsim",!0),eB(tB,oB,pB,"⪊","\\gnapprox",!0),eB(tB,oB,pB,"⊁","\\nsucc",!0),eB(tB,oB,pB,"⋡","\\nsucceq",!0),eB(tB,oB,pB,"⋩","\\succnsim",!0),eB(tB,oB,pB,"⪺","\\succnapprox",!0),eB(tB,oB,pB,"≆","\\ncong",!0),eB(tB,oB,pB,"","\\@nshortparallel"),eB(tB,oB,pB,"∦","\\nparallel",!0),eB(tB,oB,pB,"⊯","\\nVDash",!0),eB(tB,oB,pB,"⋫","\\ntriangleright"),eB(tB,oB,pB,"⋭","\\ntrianglerighteq",!0),eB(tB,oB,pB,"","\\@nsupseteqq"),eB(tB,oB,pB,"⊋","\\supsetneq",!0),eB(tB,oB,pB,"","\\@varsupsetneq"),eB(tB,oB,pB,"⫌","\\supsetneqq",!0),eB(tB,oB,pB,"","\\@varsupsetneqq"),eB(tB,oB,pB,"⊮","\\nVdash",!0),eB(tB,oB,pB,"⪵","\\precneqq",!0),eB(tB,oB,pB,"⪶","\\succneqq",!0),eB(tB,oB,pB,"","\\@nsubseteqq"),eB(tB,oB,aB,"⊴","\\unlhd"),eB(tB,oB,aB,"⊵","\\unrhd"),eB(tB,oB,pB,"↚","\\nleftarrow",!0),eB(tB,oB,pB,"↛","\\nrightarrow",!0),eB(tB,oB,pB,"⇍","\\nLeftarrow",!0),eB(tB,oB,pB,"⇏","\\nRightarrow",!0),eB(tB,oB,pB,"↮","\\nleftrightarrow",!0),eB(tB,oB,pB,"⇎","\\nLeftrightarrow",!0),eB(tB,oB,pB,"△","\\vartriangle"),eB(tB,oB,gB,"ℏ","\\hslash"),eB(tB,oB,gB,"▽","\\triangledown"),eB(tB,oB,gB,"◊","\\lozenge"),eB(tB,oB,gB,"Ⓢ","\\circledS"),eB(tB,oB,gB,"®","\\circledR"),eB(rB,oB,gB,"®","\\circledR"),eB(tB,oB,gB,"∡","\\measuredangle",!0),eB(tB,oB,gB,"∄","\\nexists"),eB(tB,oB,gB,"℧","\\mho"),eB(tB,oB,gB,"Ⅎ","\\Finv",!0),eB(tB,oB,gB,"⅁","\\Game",!0),eB(tB,oB,gB,"‵","\\backprime"),eB(tB,oB,gB,"▲","\\blacktriangle"),eB(tB,oB,gB,"▼","\\blacktriangledown"),eB(tB,oB,gB,"■","\\blacksquare"),eB(tB,oB,gB,"⧫","\\blacklozenge"),eB(tB,oB,gB,"★","\\bigstar"),eB(tB,oB,gB,"∢","\\sphericalangle",!0),eB(tB,oB,gB,"∁","\\complement",!0),eB(tB,oB,gB,"ð","\\eth",!0),eB(rB,nB,gB,"ð","ð"),eB(tB,oB,gB,"╱","\\diagup"),eB(tB,oB,gB,"╲","\\diagdown"),eB(tB,oB,gB,"□","\\square"),eB(tB,oB,gB,"□","\\Box"),eB(tB,oB,gB,"◊","\\Diamond"),eB(tB,oB,gB,"¥","\\yen",!0),eB(rB,oB,gB,"¥","\\yen",!0),eB(tB,oB,gB,"✓","\\checkmark",!0),eB(rB,oB,gB,"✓","\\checkmark"),eB(tB,oB,gB,"ℶ","\\beth",!0),eB(tB,oB,gB,"ℸ","\\daleth",!0),eB(tB,oB,gB,"ℷ","\\gimel",!0),eB(tB,oB,gB,"ϝ","\\digamma",!0),eB(tB,oB,gB,"ϰ","\\varkappa"),eB(tB,oB,dB,"┌","\\@ulcorner",!0),eB(tB,oB,sB,"┐","\\@urcorner",!0),eB(tB,oB,dB,"└","\\@llcorner",!0),eB(tB,oB,sB,"┘","\\@lrcorner",!0),eB(tB,oB,pB,"≦","\\leqq",!0),eB(tB,oB,pB,"⩽","\\leqslant",!0),eB(tB,oB,pB,"⪕","\\eqslantless",!0),eB(tB,oB,pB,"≲","\\lesssim",!0),eB(tB,oB,pB,"⪅","\\lessapprox",!0),eB(tB,oB,pB,"≊","\\approxeq",!0),eB(tB,oB,aB,"⋖","\\lessdot"),eB(tB,oB,pB,"⋘","\\lll",!0),eB(tB,oB,pB,"≶","\\lessgtr",!0),eB(tB,oB,pB,"⋚","\\lesseqgtr",!0),eB(tB,oB,pB,"⪋","\\lesseqqgtr",!0),eB(tB,oB,pB,"≑","\\doteqdot"),eB(tB,oB,pB,"≓","\\risingdotseq",!0),eB(tB,oB,pB,"≒","\\fallingdotseq",!0),eB(tB,oB,pB,"∽","\\backsim",!0),eB(tB,oB,pB,"⋍","\\backsimeq",!0),eB(tB,oB,pB,"⫅","\\subseteqq",!0),eB(tB,oB,pB,"⋐","\\Subset",!0),eB(tB,oB,pB,"⊏","\\sqsubset",!0),eB(tB,oB,pB,"≼","\\preccurlyeq",!0),eB(tB,oB,pB,"⋞","\\curlyeqprec",!0),eB(tB,oB,pB,"≾","\\precsim",!0),eB(tB,oB,pB,"⪷","\\precapprox",!0),eB(tB,oB,pB,"⊲","\\vartriangleleft"),eB(tB,oB,pB,"⊴","\\trianglelefteq"),eB(tB,oB,pB,"⊨","\\vDash",!0),eB(tB,oB,pB,"⊪","\\Vvdash",!0),eB(tB,oB,pB,"⌣","\\smallsmile"),eB(tB,oB,pB,"⌢","\\smallfrown"),eB(tB,oB,pB,"≏","\\bumpeq",!0),eB(tB,oB,pB,"≎","\\Bumpeq",!0),eB(tB,oB,pB,"≧","\\geqq",!0),eB(tB,oB,pB,"⩾","\\geqslant",!0),eB(tB,oB,pB,"⪖","\\eqslantgtr",!0),eB(tB,oB,pB,"≳","\\gtrsim",!0),eB(tB,oB,pB,"⪆","\\gtrapprox",!0),eB(tB,oB,aB,"⋗","\\gtrdot"),eB(tB,oB,pB,"⋙","\\ggg",!0),eB(tB,oB,pB,"≷","\\gtrless",!0),eB(tB,oB,pB,"⋛","\\gtreqless",!0),eB(tB,oB,pB,"⪌","\\gtreqqless",!0),eB(tB,oB,pB,"≖","\\eqcirc",!0),eB(tB,oB,pB,"≗","\\circeq",!0),eB(tB,oB,pB,"≜","\\triangleq",!0),eB(tB,oB,pB,"∼","\\thicksim"),eB(tB,oB,pB,"≈","\\thickapprox"),eB(tB,oB,pB,"⫆","\\supseteqq",!0),eB(tB,oB,pB,"⋑","\\Supset",!0),eB(tB,oB,pB,"⊐","\\sqsupset",!0),eB(tB,oB,pB,"≽","\\succcurlyeq",!0),eB(tB,oB,pB,"⋟","\\curlyeqsucc",!0),eB(tB,oB,pB,"≿","\\succsim",!0),eB(tB,oB,pB,"⪸","\\succapprox",!0),eB(tB,oB,pB,"⊳","\\vartriangleright"),eB(tB,oB,pB,"⊵","\\trianglerighteq"),eB(tB,oB,pB,"⊩","\\Vdash",!0),eB(tB,oB,pB,"∣","\\shortmid"),eB(tB,oB,pB,"∥","\\shortparallel"),eB(tB,oB,pB,"≬","\\between",!0),eB(tB,oB,pB,"⋔","\\pitchfork",!0),eB(tB,oB,pB,"∝","\\varpropto"),eB(tB,oB,pB,"◀","\\blacktriangleleft"),eB(tB,oB,pB,"∴","\\therefore",!0),eB(tB,oB,pB,"∍","\\backepsilon"),eB(tB,oB,pB,"▶","\\blacktriangleright"),eB(tB,oB,pB,"∵","\\because",!0),eB(tB,oB,pB,"⋘","\\llless"),eB(tB,oB,pB,"⋙","\\gggtr"),eB(tB,oB,aB,"⊲","\\lhd"),eB(tB,oB,aB,"⊳","\\rhd"),eB(tB,oB,pB,"≂","\\eqsim",!0),eB(tB,nB,pB,"⋈","\\Join"),eB(tB,oB,pB,"≑","\\Doteq",!0),eB(tB,oB,aB,"∔","\\dotplus",!0),eB(tB,oB,aB,"∖","\\smallsetminus"),eB(tB,oB,aB,"⋒","\\Cap",!0),eB(tB,oB,aB,"⋓","\\Cup",!0),eB(tB,oB,aB,"⩞","\\doublebarwedge",!0),eB(tB,oB,aB,"⊟","\\boxminus",!0),eB(tB,oB,aB,"⊞","\\boxplus",!0),eB(tB,oB,aB,"⋇","\\divideontimes",!0),eB(tB,oB,aB,"⋉","\\ltimes",!0),eB(tB,oB,aB,"⋊","\\rtimes",!0),eB(tB,oB,aB,"⋋","\\leftthreetimes",!0),eB(tB,oB,aB,"⋌","\\rightthreetimes",!0),eB(tB,oB,aB,"⋏","\\curlywedge",!0),eB(tB,oB,aB,"⋎","\\curlyvee",!0),eB(tB,oB,aB,"⊝","\\circleddash",!0),eB(tB,oB,aB,"⊛","\\circledast",!0),eB(tB,oB,aB,"⋅","\\centerdot"),eB(tB,oB,aB,"⊺","\\intercal",!0),eB(tB,oB,aB,"⋒","\\doublecap"),eB(tB,oB,aB,"⋓","\\doublecup"),eB(tB,oB,aB,"⊠","\\boxtimes",!0),eB(tB,oB,pB,"⇢","\\dashrightarrow",!0),eB(tB,oB,pB,"⇠","\\dashleftarrow",!0),eB(tB,oB,pB,"⇇","\\leftleftarrows",!0),eB(tB,oB,pB,"⇆","\\leftrightarrows",!0),eB(tB,oB,pB,"⇚","\\Lleftarrow",!0),eB(tB,oB,pB,"↞","\\twoheadleftarrow",!0),eB(tB,oB,pB,"↢","\\leftarrowtail",!0),eB(tB,oB,pB,"↫","\\looparrowleft",!0),eB(tB,oB,pB,"⇋","\\leftrightharpoons",!0),eB(tB,oB,pB,"↶","\\curvearrowleft",!0),eB(tB,oB,pB,"↺","\\circlearrowleft",!0),eB(tB,oB,pB,"↰","\\Lsh",!0),eB(tB,oB,pB,"⇈","\\upuparrows",!0),eB(tB,oB,pB,"↿","\\upharpoonleft",!0),eB(tB,oB,pB,"⇃","\\downharpoonleft",!0),eB(tB,nB,pB,"⊶","\\origof",!0),eB(tB,nB,pB,"⊷","\\imageof",!0),eB(tB,oB,pB,"⊸","\\multimap",!0),eB(tB,oB,pB,"↭","\\leftrightsquigarrow",!0),eB(tB,oB,pB,"⇉","\\rightrightarrows",!0),eB(tB,oB,pB,"⇄","\\rightleftarrows",!0),eB(tB,oB,pB,"↠","\\twoheadrightarrow",!0),eB(tB,oB,pB,"↣","\\rightarrowtail",!0),eB(tB,oB,pB,"↬","\\looparrowright",!0),eB(tB,oB,pB,"↷","\\curvearrowright",!0),eB(tB,oB,pB,"↻","\\circlearrowright",!0),eB(tB,oB,pB,"↱","\\Rsh",!0),eB(tB,oB,pB,"⇊","\\downdownarrows",!0),eB(tB,oB,pB,"↾","\\upharpoonright",!0),eB(tB,oB,pB,"⇂","\\downharpoonright",!0),eB(tB,oB,pB,"⇝","\\rightsquigarrow",!0),eB(tB,oB,pB,"⇝","\\leadsto"),eB(tB,oB,pB,"⇛","\\Rrightarrow",!0),eB(tB,oB,pB,"↾","\\restriction"),eB(tB,nB,gB,"‘","`"),eB(tB,nB,gB,"$","\\$"),eB(rB,nB,gB,"$","\\$"),eB(rB,nB,gB,"$","\\textdollar"),eB(tB,nB,gB,"%","\\%"),eB(rB,nB,gB,"%","\\%"),eB(tB,nB,gB,"_","\\_"),eB(rB,nB,gB,"_","\\_"),eB(rB,nB,gB,"_","\\textunderscore"),eB(tB,nB,gB,"∠","\\angle",!0),eB(tB,nB,gB,"∞","\\infty",!0),eB(tB,nB,gB,"′","\\prime"),eB(tB,nB,gB,"△","\\triangle"),eB(tB,nB,gB,"Γ","\\Gamma",!0),eB(tB,nB,gB,"Δ","\\Delta",!0),eB(tB,nB,gB,"Θ","\\Theta",!0),eB(tB,nB,gB,"Λ","\\Lambda",!0),eB(tB,nB,gB,"Ξ","\\Xi",!0),eB(tB,nB,gB,"Π","\\Pi",!0),eB(tB,nB,gB,"Σ","\\Sigma",!0),eB(tB,nB,gB,"Υ","\\Upsilon",!0),eB(tB,nB,gB,"Φ","\\Phi",!0),eB(tB,nB,gB,"Ψ","\\Psi",!0),eB(tB,nB,gB,"Ω","\\Omega",!0),eB(tB,nB,gB,"A","Α"),eB(tB,nB,gB,"B","Β"),eB(tB,nB,gB,"E","Ε"),eB(tB,nB,gB,"Z","Ζ"),eB(tB,nB,gB,"H","Η"),eB(tB,nB,gB,"I","Ι"),eB(tB,nB,gB,"K","Κ"),eB(tB,nB,gB,"M","Μ"),eB(tB,nB,gB,"N","Ν"),eB(tB,nB,gB,"O","Ο"),eB(tB,nB,gB,"P","Ρ"),eB(tB,nB,gB,"T","Τ"),eB(tB,nB,gB,"X","Χ"),eB(tB,nB,gB,"¬","\\neg",!0),eB(tB,nB,gB,"¬","\\lnot"),eB(tB,nB,gB,"⊤","\\top"),eB(tB,nB,gB,"⊥","\\bot"),eB(tB,nB,gB,"∅","\\emptyset"),eB(tB,oB,gB,"∅","\\varnothing"),eB(tB,nB,uB,"α","\\alpha",!0),eB(tB,nB,uB,"β","\\beta",!0),eB(tB,nB,uB,"γ","\\gamma",!0),eB(tB,nB,uB,"δ","\\delta",!0),eB(tB,nB,uB,"ϵ","\\epsilon",!0),eB(tB,nB,uB,"ζ","\\zeta",!0),eB(tB,nB,uB,"η","\\eta",!0),eB(tB,nB,uB,"θ","\\theta",!0),eB(tB,nB,uB,"ι","\\iota",!0),eB(tB,nB,uB,"κ","\\kappa",!0),eB(tB,nB,uB,"λ","\\lambda",!0),eB(tB,nB,uB,"μ","\\mu",!0),eB(tB,nB,uB,"ν","\\nu",!0),eB(tB,nB,uB,"ξ","\\xi",!0),eB(tB,nB,uB,"ο","\\omicron",!0),eB(tB,nB,uB,"π","\\pi",!0),eB(tB,nB,uB,"ρ","\\rho",!0),eB(tB,nB,uB,"σ","\\sigma",!0),eB(tB,nB,uB,"τ","\\tau",!0),eB(tB,nB,uB,"υ","\\upsilon",!0),eB(tB,nB,uB,"ϕ","\\phi",!0),eB(tB,nB,uB,"χ","\\chi",!0),eB(tB,nB,uB,"ψ","\\psi",!0),eB(tB,nB,uB,"ω","\\omega",!0),eB(tB,nB,uB,"ε","\\varepsilon",!0),eB(tB,nB,uB,"ϑ","\\vartheta",!0),eB(tB,nB,uB,"ϖ","\\varpi",!0),eB(tB,nB,uB,"ϱ","\\varrho",!0),eB(tB,nB,uB,"ς","\\varsigma",!0),eB(tB,nB,uB,"φ","\\varphi",!0),eB(tB,nB,aB,"∗","*",!0),eB(tB,nB,aB,"+","+"),eB(tB,nB,aB,"−","-",!0),eB(tB,nB,aB,"⋅","\\cdot",!0),eB(tB,nB,aB,"∘","\\circ",!0),eB(tB,nB,aB,"÷","\\div",!0),eB(tB,nB,aB,"±","\\pm",!0),eB(tB,nB,aB,"×","\\times",!0),eB(tB,nB,aB,"∩","\\cap",!0),eB(tB,nB,aB,"∪","\\cup",!0),eB(tB,nB,aB,"∖","\\setminus",!0),eB(tB,nB,aB,"∧","\\land"),eB(tB,nB,aB,"∨","\\lor"),eB(tB,nB,aB,"∧","\\wedge",!0),eB(tB,nB,aB,"∨","\\vee",!0),eB(tB,nB,gB,"√","\\surd"),eB(tB,nB,dB,"⟨","\\langle",!0),eB(tB,nB,dB,"∣","\\lvert"),eB(tB,nB,dB,"∥","\\lVert"),eB(tB,nB,sB,"?","?"),eB(tB,nB,sB,"!","!"),eB(tB,nB,sB,"⟩","\\rangle",!0),eB(tB,nB,sB,"∣","\\rvert"),eB(tB,nB,sB,"∥","\\rVert"),eB(tB,nB,pB,"=","="),eB(tB,nB,pB,":",":"),eB(tB,nB,pB,"≈","\\approx",!0),eB(tB,nB,pB,"≅","\\cong",!0),eB(tB,nB,pB,"≥","\\ge"),eB(tB,nB,pB,"≥","\\geq",!0),eB(tB,nB,pB,"←","\\gets"),eB(tB,nB,pB,">","\\gt",!0),eB(tB,nB,pB,"∈","\\in",!0),eB(tB,nB,pB,"","\\@not"),eB(tB,nB,pB,"⊂","\\subset",!0),eB(tB,nB,pB,"⊃","\\supset",!0),eB(tB,nB,pB,"⊆","\\subseteq",!0),eB(tB,nB,pB,"⊇","\\supseteq",!0),eB(tB,oB,pB,"⊈","\\nsubseteq",!0),eB(tB,oB,pB,"⊉","\\nsupseteq",!0),eB(tB,nB,pB,"⊨","\\models"),eB(tB,nB,pB,"←","\\leftarrow",!0),eB(tB,nB,pB,"≤","\\le"),eB(tB,nB,pB,"≤","\\leq",!0),eB(tB,nB,pB,"<","\\lt",!0),eB(tB,nB,pB,"→","\\rightarrow",!0),eB(tB,nB,pB,"→","\\to"),eB(tB,oB,pB,"≱","\\ngeq",!0),eB(tB,oB,pB,"≰","\\nleq",!0),eB(tB,nB,fB," ","\\ "),eB(tB,nB,fB," ","\\space"),eB(tB,nB,fB," ","\\nobreakspace"),eB(rB,nB,fB," ","\\ "),eB(rB,nB,fB," "," "),eB(rB,nB,fB," ","\\space"),eB(rB,nB,fB," ","\\nobreakspace"),eB(tB,nB,fB,null,"\\nobreak"),eB(tB,nB,fB,null,"\\allowbreak"),eB(tB,nB,hB,",",","),eB(tB,nB,hB,";",";"),eB(tB,oB,aB,"⊼","\\barwedge",!0),eB(tB,oB,aB,"⊻","\\veebar",!0),eB(tB,nB,aB,"⊙","\\odot",!0),eB(tB,nB,aB,"⊕","\\oplus",!0),eB(tB,nB,aB,"⊗","\\otimes",!0),eB(tB,nB,gB,"∂","\\partial",!0),eB(tB,nB,aB,"⊘","\\oslash",!0),eB(tB,oB,aB,"⊚","\\circledcirc",!0),eB(tB,oB,aB,"⊡","\\boxdot",!0),eB(tB,nB,aB,"△","\\bigtriangleup"),eB(tB,nB,aB,"▽","\\bigtriangledown"),eB(tB,nB,aB,"†","\\dagger"),eB(tB,nB,aB,"⋄","\\diamond"),eB(tB,nB,aB,"⋆","\\star"),eB(tB,nB,aB,"◃","\\triangleleft"),eB(tB,nB,aB,"▹","\\triangleright"),eB(tB,nB,dB,"{","\\{"),eB(rB,nB,gB,"{","\\{"),eB(rB,nB,gB,"{","\\textbraceleft"),eB(tB,nB,sB,"}","\\}"),eB(rB,nB,gB,"}","\\}"),eB(rB,nB,gB,"}","\\textbraceright"),eB(tB,nB,dB,"{","\\lbrace"),eB(tB,nB,sB,"}","\\rbrace"),eB(tB,nB,dB,"[","\\lbrack",!0),eB(rB,nB,gB,"[","\\lbrack",!0),eB(tB,nB,sB,"]","\\rbrack",!0),eB(rB,nB,gB,"]","\\rbrack",!0),eB(tB,nB,dB,"(","\\lparen",!0),eB(tB,nB,sB,")","\\rparen",!0),eB(rB,nB,gB,"<","\\textless",!0),eB(rB,nB,gB,">","\\textgreater",!0),eB(tB,nB,dB,"⌊","\\lfloor",!0),eB(tB,nB,sB,"⌋","\\rfloor",!0),eB(tB,nB,dB,"⌈","\\lceil",!0),eB(tB,nB,sB,"⌉","\\rceil",!0),eB(tB,nB,gB,"\\","\\backslash"),eB(tB,nB,gB,"∣","|"),eB(tB,nB,gB,"∣","\\vert"),eB(rB,nB,gB,"|","\\textbar",!0),eB(tB,nB,gB,"∥","\\|"),eB(tB,nB,gB,"∥","\\Vert"),eB(rB,nB,gB,"∥","\\textbardbl"),eB(rB,nB,gB,"~","\\textasciitilde"),eB(rB,nB,gB,"\\","\\textbackslash"),eB(rB,nB,gB,"^","\\textasciicircum"),eB(tB,nB,pB,"↑","\\uparrow",!0),eB(tB,nB,pB,"⇑","\\Uparrow",!0),eB(tB,nB,pB,"↓","\\downarrow",!0),eB(tB,nB,pB,"⇓","\\Downarrow",!0),eB(tB,nB,pB,"↕","\\updownarrow",!0),eB(tB,nB,pB,"⇕","\\Updownarrow",!0),eB(tB,nB,cB,"∐","\\coprod"),eB(tB,nB,cB,"⋁","\\bigvee"),eB(tB,nB,cB,"⋀","\\bigwedge"),eB(tB,nB,cB,"⨄","\\biguplus"),eB(tB,nB,cB,"⋂","\\bigcap"),eB(tB,nB,cB,"⋃","\\bigcup"),eB(tB,nB,cB,"∫","\\int"),eB(tB,nB,cB,"∫","\\intop"),eB(tB,nB,cB,"∬","\\iint"),eB(tB,nB,cB,"∭","\\iiint"),eB(tB,nB,cB,"∏","\\prod"),eB(tB,nB,cB,"∑","\\sum"),eB(tB,nB,cB,"⨂","\\bigotimes"),eB(tB,nB,cB,"⨁","\\bigoplus"),eB(tB,nB,cB,"⨀","\\bigodot"),eB(tB,nB,cB,"∮","\\oint"),eB(tB,nB,cB,"∯","\\oiint"),eB(tB,nB,cB,"∰","\\oiiint"),eB(tB,nB,cB,"⨆","\\bigsqcup"),eB(tB,nB,cB,"∫","\\smallint"),eB(rB,nB,lB,"…","\\textellipsis"),eB(tB,nB,lB,"…","\\mathellipsis"),eB(rB,nB,lB,"…","\\ldots",!0),eB(tB,nB,lB,"…","\\ldots",!0),eB(tB,nB,lB,"⋯","\\@cdots",!0),eB(tB,nB,lB,"⋱","\\ddots",!0),eB(tB,nB,gB,"⋮","\\varvdots"),eB(rB,nB,gB,"⋮","\\varvdots"),eB(tB,nB,iB,"ˊ","\\acute"),eB(tB,nB,iB,"ˋ","\\grave"),eB(tB,nB,iB,"¨","\\ddot"),eB(tB,nB,iB,"~","\\tilde"),eB(tB,nB,iB,"ˉ","\\bar"),eB(tB,nB,iB,"˘","\\breve"),eB(tB,nB,iB,"ˇ","\\check"),eB(tB,nB,iB,"^","\\hat"),eB(tB,nB,iB,"⃗","\\vec"),eB(tB,nB,iB,"˙","\\dot"),eB(tB,nB,iB,"˚","\\mathring"),eB(tB,nB,uB,"","\\@imath"),eB(tB,nB,uB,"","\\@jmath"),eB(tB,nB,gB,"ı","ı"),eB(tB,nB,gB,"ȷ","ȷ"),eB(rB,nB,gB,"ı","\\i",!0),eB(rB,nB,gB,"ȷ","\\j",!0),eB(rB,nB,gB,"ß","\\ss",!0),eB(rB,nB,gB,"æ","\\ae",!0),eB(rB,nB,gB,"œ","\\oe",!0),eB(rB,nB,gB,"ø","\\o",!0),eB(rB,nB,gB,"Æ","\\AE",!0),eB(rB,nB,gB,"Œ","\\OE",!0),eB(rB,nB,gB,"Ø","\\O",!0),eB(rB,nB,iB,"ˊ","\\'"),eB(rB,nB,iB,"ˋ","\\`"),eB(rB,nB,iB,"ˆ","\\^"),eB(rB,nB,iB,"˜","\\~"),eB(rB,nB,iB,"ˉ","\\="),eB(rB,nB,iB,"˘","\\u"),eB(rB,nB,iB,"˙","\\."),eB(rB,nB,iB,"¸","\\c"),eB(rB,nB,iB,"˚","\\r"),eB(rB,nB,iB,"ˇ","\\v"),eB(rB,nB,iB,"¨",'\\"'),eB(rB,nB,iB,"˝","\\H"),eB(rB,nB,iB,"◯","\\textcircled");var mB={"--":!0,"---":!0,"``":!0,"''":!0};eB(rB,nB,gB,"–","--",!0),eB(rB,nB,gB,"–","\\textendash"),eB(rB,nB,gB,"—","---",!0),eB(rB,nB,gB,"—","\\textemdash"),eB(rB,nB,gB,"‘","`",!0),eB(rB,nB,gB,"‘","\\textquoteleft"),eB(rB,nB,gB,"’","'",!0),eB(rB,nB,gB,"’","\\textquoteright"),eB(rB,nB,gB,"“","``",!0),eB(rB,nB,gB,"“","\\textquotedblleft"),eB(rB,nB,gB,"”","''",!0),eB(rB,nB,gB,"”","\\textquotedblright"),eB(tB,nB,gB,"°","\\degree",!0),eB(rB,nB,gB,"°","\\degree"),eB(rB,nB,gB,"°","\\textdegree",!0),eB(tB,nB,gB,"£","\\pounds"),eB(tB,nB,gB,"£","\\mathsterling",!0),eB(rB,nB,gB,"£","\\pounds"),eB(rB,nB,gB,"£","\\textsterling",!0),eB(tB,oB,gB,"✠","\\maltese"),eB(rB,oB,gB,"✠","\\maltese");for(var vB='0123456789/@."',yB=0;yB<14;yB++){var bB=vB.charAt(yB);eB(tB,nB,gB,bB,bB)}for(var wB='0123456789!@*()-=+";:?/.,',EB=0;EB<25;EB++){var xB=wB.charAt(EB);eB(rB,nB,gB,xB,xB)}for(var CB="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",SB=0;SB<52;SB++){var DB=CB.charAt(SB);eB(tB,nB,uB,DB,DB),eB(rB,nB,gB,DB,DB)}eB(tB,oB,gB,"C","ℂ"),eB(rB,oB,gB,"C","ℂ"),eB(tB,oB,gB,"H","ℍ"),eB(rB,oB,gB,"H","ℍ"),eB(tB,oB,gB,"N","ℕ"),eB(rB,oB,gB,"N","ℕ"),eB(tB,oB,gB,"P","ℙ"),eB(rB,oB,gB,"P","ℙ"),eB(tB,oB,gB,"Q","ℚ"),eB(rB,oB,gB,"Q","ℚ"),eB(tB,oB,gB,"R","ℝ"),eB(rB,oB,gB,"R","ℝ"),eB(tB,oB,gB,"Z","ℤ"),eB(rB,oB,gB,"Z","ℤ"),eB(tB,nB,uB,"h","ℎ"),eB(rB,nB,uB,"h","ℎ");for(var AB="",kB=0;kB<52;kB++){var TB=CB.charAt(kB);eB(tB,nB,uB,TB,AB=String.fromCharCode(55349,56320+kB)),eB(rB,nB,gB,TB,AB),eB(tB,nB,uB,TB,AB=String.fromCharCode(55349,56372+kB)),eB(rB,nB,gB,TB,AB),eB(tB,nB,uB,TB,AB=String.fromCharCode(55349,56424+kB)),eB(rB,nB,gB,TB,AB),eB(tB,nB,uB,TB,AB=String.fromCharCode(55349,56580+kB)),eB(rB,nB,gB,TB,AB),eB(tB,nB,uB,TB,AB=String.fromCharCode(55349,56684+kB)),eB(rB,nB,gB,TB,AB),eB(tB,nB,uB,TB,AB=String.fromCharCode(55349,56736+kB)),eB(rB,nB,gB,TB,AB),eB(tB,nB,uB,TB,AB=String.fromCharCode(55349,56788+kB)),eB(rB,nB,gB,TB,AB),eB(tB,nB,uB,TB,AB=String.fromCharCode(55349,56840+kB)),eB(rB,nB,gB,TB,AB),eB(tB,nB,uB,TB,AB=String.fromCharCode(55349,56944+kB)),eB(rB,nB,gB,TB,AB),kB<26&&(eB(tB,nB,uB,TB,AB=String.fromCharCode(55349,56632+kB)),eB(rB,nB,gB,TB,AB),eB(tB,nB,uB,TB,AB=String.fromCharCode(55349,56476+kB)),eB(rB,nB,gB,TB,AB))}eB(tB,nB,uB,"k",AB=String.fromCharCode(55349,56668)),eB(rB,nB,gB,"k",AB);for(var NB=0;NB<10;NB++){var OB=NB.toString();eB(tB,nB,uB,OB,AB=String.fromCharCode(55349,57294+NB)),eB(rB,nB,gB,OB,AB),eB(tB,nB,uB,OB,AB=String.fromCharCode(55349,57314+NB)),eB(rB,nB,gB,OB,AB),eB(tB,nB,uB,OB,AB=String.fromCharCode(55349,57324+NB)),eB(rB,nB,gB,OB,AB),eB(tB,nB,uB,OB,AB=String.fromCharCode(55349,57334+NB)),eB(rB,nB,gB,OB,AB)}for(var BB="ÐÞþ",FB=0;FB<3;FB++){var MB=BB.charAt(FB);eB(tB,nB,uB,MB,MB),eB(rB,nB,gB,MB,MB)}var IB=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],PB=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],RB=function(e,t,r){return QO[r][e]&&QO[r][e].replace&&(e=QO[r][e].replace),{value:e,metrics:AO(e,t,r)}},LB=function(e,t,r,n,o){var i,a=RB(e,t,r),s=a.metrics;if(e=a.value,s){var l=s.italic;("text"===r||n&&"mathit"===n.font)&&(l=0),i=new GO(e,s.height,s.depth,l,s.skew,s.width,o)}else"undefined"!=typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"' and mode '"+r+"'"),i=new GO(e,0,0,0,0,0,o);if(n){i.maxFontSize=n.sizeMultiplier,n.style.isTight()&&i.classes.push("mtight");var u=n.getColor();u&&(i.style.color=u)}return i},_B=(e,t)=>{if(LO(e.classes)!==LO(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(1===e.classes.length){var r=e.classes[0];if("mbin"===r||"mord"===r)return!1}for(var n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(var o in t.style)if(t.style.hasOwnProperty(o)&&e.style[o]!==t.style[o])return!1;return!0},zB=function(e){for(var t=0,r=0,n=0,o=0;o<e.children.length;o++){var i=e.children[o];i.height>t&&(t=i.height),i.depth>r&&(r=i.depth),i.maxFontSize>n&&(n=i.maxFontSize)}e.height=t,e.depth=r,e.maxFontSize=n},HB=function(e,t,r,n){var o=new VO(e,t,r,n);return zB(o),o},jB=(e,t,r,n)=>new VO(e,t,r,n),VB=function(e){var t=new xO(e);return zB(t),t},$B=function(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"===t?"Italic":"Regular")},UB={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"}},qB={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},GB={fontMap:UB,makeSymbol:LB,mathsym:function(e,t,r,n){return void 0===n&&(n=[]),"boldsymbol"===r.font&&RB(e,"Main-Bold",t).metrics?LB(e,"Main-Bold",t,r,n.concat(["mathbf"])):"\\"===e||"main"===QO[t][e].font?LB(e,"Main-Regular",t,r,n):LB(e,"AMS-Regular",t,r,n.concat(["amsrm"]))},makeSpan:HB,makeSvgSpan:jB,makeLineSpan:function(e,t,r){var n=HB([e],[],t);return n.height=Math.max(r||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),n.style.borderBottomWidth=RO(n.height),n.maxFontSize=1,n},makeAnchor:function(e,t,r,n){var o=new $O(e,t,r,n);return zB(o),o},makeFragment:VB,wrapFragment:function(e,t){return e instanceof xO?HB([],[e],t):e},makeVList: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,o=n,i=1;i<t.length;i++){var a=-t[i].shift-o-t[i].elem.depth,s=a-(t[i-1].elem.height+t[i-1].elem.depth);o+=a,r.push({type:"kern",size:s}),r.push(t[i])}return{children:r,depth:n}}var l;if("top"===e.positionType){for(var u=e.positionData,c=0;c<e.children.length;c++){var d=e.children[c];u-="kern"===d.type?d.size:d.elem.height+d.elem.depth}l=u}else if("bottom"===e.positionType)l=-e.positionData;else{var h=e.children[0];if("elem"!==h.type)throw new Error('First child must have type "elem".');if("shift"===e.positionType)l=-h.elem.depth-e.positionData;else{if("firstBaseline"!==e.positionType)throw new Error("Invalid positionType "+e.positionType+".");l=-h.elem.depth}}return{children:e.children,depth:l}}(e),o=0,i=0;i<r.length;i++){var a=r[i];if("elem"===a.type){var s=a.elem;o=Math.max(o,s.maxFontSize,s.height)}}o+=2;var l=HB(["pstrut"],[]);l.style.height=RO(o);for(var u=[],c=n,d=n,h=n,p=0;p<r.length;p++){var f=r[p];if("kern"===f.type)h+=f.size;else{var g=f.elem,m=f.wrapperClasses||[],v=f.wrapperStyle||{},y=HB(m,[l,g],void 0,v);y.style.top=RO(-o-h-g.depth),f.marginLeft&&(y.style.marginLeft=f.marginLeft),f.marginRight&&(y.style.marginRight=f.marginRight),u.push(y),h+=g.height+g.depth}c=Math.min(c,h),d=Math.max(d,h)}var b,w=HB(["vlist"],u);if(w.style.height=RO(d),c<0){var E=HB([],[]),x=HB(["vlist"],[E]);x.style.height=RO(-c);var C=HB(["vlist-s"],[new GO("​")]);b=[HB(["vlist-r"],[w,C]),HB(["vlist-r"],[x])]}else b=[HB(["vlist-r"],[w])];var S=HB(["vlist-t"],b);return 2===b.length&&S.classes.push("vlist-t2"),S.height=d,S.depth=-c,S},makeOrd:function(e,t,r){var n=e.mode,o=e.text,i=["mord"],a="math"===n||"text"===n&&t.font,s=a?t.font:t.fontFamily,l="",u="";if(55349===o.charCodeAt(0)&&([l,u]=function(e,t){var r=1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536,n="math"===t?0:1;if(119808<=r&&r<120484){var o=Math.floor((r-119808)/26);return[IB[o][2],IB[o][n]]}if(120782<=r&&r<=120831){var i=Math.floor((r-120782)/10);return[PB[i][2],PB[i][n]]}if(120485===r||120486===r)return[IB[0][2],IB[0][n]];if(120486<r&&r<120782)return["",""];throw new QN("Unsupported character: "+e)}(o,n)),l.length>0)return LB(o,l,n,t,i.concat(u));if(s){var c,d;if("boldsymbol"===s){var h=function(e,t,r,n,o){return"textord"!==o&&RB(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}}(o,n,0,0,r);c=h.fontName,d=[h.fontClass]}else a?(c=UB[s].fontName,d=[s]):(c=$B(s,t.fontWeight,t.fontShape),d=[s,t.fontWeight,t.fontShape]);if(RB(o,c,n).metrics)return LB(o,c,n,t,i.concat(d));if(mB.hasOwnProperty(o)&&"Typewriter"===c.slice(0,10)){for(var p=[],f=0;f<o.length;f++)p.push(LB(o[f],c,n,t,i.concat(d)));return VB(p)}}if("mathord"===r)return LB(o,"Math-Italic",n,t,i.concat(["mathnormal"]));if("textord"===r){var g=QO[n][o]&&QO[n][o].font;if("ams"===g){var m=$B("amsrm",t.fontWeight,t.fontShape);return LB(o,m,n,t,i.concat("amsrm",t.fontWeight,t.fontShape))}if("main"!==g&&g){var v=$B(g,t.fontWeight,t.fontShape);return LB(o,v,n,t,i.concat(v,t.fontWeight,t.fontShape))}var y=$B("textrm",t.fontWeight,t.fontShape);return LB(o,y,n,t,i.concat(t.fontWeight,t.fontShape))}throw new Error("unexpected type: "+r+" in makeOrd")},makeGlue:(e,t)=>{var r=HB(["mspace"],[],t),n=PO(e,t);return r.style.marginRight=RO(n),r},staticSvg:function(e,t){var[r,n,o]=qB[e],i=new YO(r),a=new WO([i],{width:RO(n),height:RO(o),style:"width:"+RO(n),viewBox:"0 0 "+1e3*n+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),s=jB(["overlay"],[a],t);return s.height=o,s.style.height=RO(o),s.style.width=RO(n),s},svgData:qB,tryCombineChars:e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof GO&&n instanceof GO&&_B(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}},WB={number:3,unit:"mu"},YB={number:4,unit:"mu"},KB={number:5,unit:"mu"},XB={mord:{mop:WB,mbin:YB,mrel:KB,minner:WB},mop:{mord:WB,mop:WB,mrel:KB,minner:WB},mbin:{mord:YB,mop:YB,mopen:YB,minner:YB},mrel:{mord:KB,mop:KB,mopen:KB,minner:KB},mopen:{},mclose:{mop:WB,mbin:YB,mrel:KB,minner:WB},mpunct:{mord:WB,mop:WB,mrel:KB,mopen:WB,mclose:WB,mpunct:WB,minner:WB},minner:{mord:WB,mop:WB,mbin:YB,mrel:KB,mopen:WB,mpunct:WB,minner:WB}},ZB={mord:{mop:WB},mop:{mord:WB,mop:WB},mbin:{},mrel:{},mopen:{},mclose:{mop:WB},mpunct:{},minner:{mop:WB}},JB={},QB={},eF={};function tF(e){for(var{type:t,names:r,props:n,handler:o,htmlBuilder:i,mathmlBuilder:a}=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:o},l=0;l<r.length;++l)JB[r[l]]=s;t&&(i&&(QB[t]=i),a&&(eF[t]=a))}function rF(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;tF({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var nF=function(e){return"ordgroup"===e.type&&1===e.body.length?e.body[0]:e},oF=function(e){return"ordgroup"===e.type?e.body:[e]},iF=GB.makeSpan,aF=["leftmost","mbin","mopen","mrel","mop","mpunct"],sF=["rightmost","mrel","mclose","mpunct"],lF={display:mO.DISPLAY,text:mO.TEXT,script:mO.SCRIPT,scriptscript:mO.SCRIPTSCRIPT},uF={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},cF=function(e,t,r,n){void 0===n&&(n=[null,null]);for(var o=[],i=0;i<e.length;i++){var a=mF(e[i],t);if(a instanceof xO){var s=a.children;o.push(...s)}else o.push(a)}if(GB.tryCombineChars(o),!r)return o;var l=t;if(1===e.length){var u=e[0];"sizing"===u.type?l=t.havingSize(u.size):"styling"===u.type&&(l=t.havingStyle(lF[u.style]))}var c=iF([n[0]||"leftmost"],[],t),d=iF([n[1]||"rightmost"],[],t),h="root"===r;return dF(o,(e,t)=>{var r=t.classes[0],n=e.classes[0];"mbin"===r&&sF.includes(n)?t.classes[0]="mord":"mbin"===n&&aF.includes(r)&&(e.classes[0]="mord")},{node:c},d,h),dF(o,(e,t)=>{var r=fF(t),n=fF(e),o=r&&n?e.hasClass("mtight")?ZB[r][n]:XB[r][n]:null;if(o)return GB.makeGlue(o,l)},{node:c},d,h),o},dF=function e(t,r,n,o,i){o&&t.push(o);for(var a=0;a<t.length;a++){var s=t[a],l=hF(s);if(l)e(l.children,r,n,null,i);else{var u=!s.hasClass("mspace");if(u){var c=r(s,n.node);c&&(n.insertAfter?n.insertAfter(c):(t.unshift(c),a++))}u?n.node=s:i&&s.hasClass("newline")&&(n.node=iF(["leftmost"])),n.insertAfter=(e=>r=>{t.splice(e+1,0,r),a++})(a)}}o&&t.pop()},hF=function(e){return e instanceof xO||e instanceof $O||e instanceof VO&&e.hasClass("enclosing")?e:null},pF=function e(t,r){var n=hF(t);if(n){var o=n.children;if(o.length){if("right"===r)return e(o[o.length-1],"right");if("left"===r)return e(o[0],"left")}}return t},fF=function(e,t){return e?(t&&(e=pF(e,t)),uF[e.classes[0]]||null):null},gF=function(e,t){var r=["nulldelimiter"].concat(e.baseSizingClasses());return iF(t.concat(r))},mF=function(e,t,r){if(!e)return iF();if(QB[e.type]){var n=QB[e.type](e,t);if(r&&t.size!==r.size){n=iF(t.sizingClasses(r),[n],t);var o=t.sizeMultiplier/r.sizeMultiplier;n.height*=o,n.depth*=o}return n}throw new QN("Got group of unknown type: '"+e.type+"'")};function vF(e,t){var r=iF(["base"],e,t),n=iF(["strut"]);return n.style.height=RO(r.height+r.depth),r.depth&&(n.style.verticalAlign=RO(-r.depth)),r.children.unshift(n),r}function yF(e,t){var r=null;1===e.length&&"tag"===e[0].type&&(r=e[0].tag,e=e[0].body);var n,o=cF(e,t,"root");2===o.length&&o[1].hasClass("tag")&&(n=o.pop());for(var i,a=[],s=[],l=0;l<o.length;l++)if(s.push(o[l]),o[l].hasClass("mbin")||o[l].hasClass("mrel")||o[l].hasClass("allowbreak")){for(var u=!1;l<o.length-1&&o[l+1].hasClass("mspace")&&!o[l+1].hasClass("newline");)l++,s.push(o[l]),o[l].hasClass("nobreak")&&(u=!0);u||(a.push(vF(s,t)),s=[])}else o[l].hasClass("newline")&&(s.pop(),s.length>0&&(a.push(vF(s,t)),s=[]),a.push(o[l]));s.length>0&&a.push(vF(s,t)),r?((i=vF(cF(r,t,!0))).classes=["tag"],a.push(i)):n&&a.push(n);var c=iF(["katex-html"],a);if(c.setAttribute("aria-hidden","true"),i){var d=i.children[0];d.style.height=RO(c.height+c.depth),c.depth&&(d.style.verticalAlign=RO(-c.depth))}return c}function bF(e){return new xO(e)}class wF{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=LO(this.classes));for(var r=0;r<this.children.length;r++)if(this.children[r]instanceof EF&&this.children[r+1]instanceof EF){for(var n=this.children[r].toText()+this.children[++r].toText();this.children[r+1]instanceof EF;)n+=this.children[++r].toText();e.appendChild(new EF(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+=oO.escape(this.attributes[t]),e+='"');this.classes.length>0&&(e+=' class ="'+oO.escape(LO(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 EF{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return oO.escape(this.toText())}toText(){return this.text}}var xF={MathNode:wF,TextNode:EF,SpaceNode:class{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",RO(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+RO(this.width)+'"/>'}toText(){return this.character?this.character:" "}},newDocumentFragment:bF},CF=function(e,t,r){return!QO[t][e]||!QO[t][e].replace||55349===e.charCodeAt(0)||mB.hasOwnProperty(e)&&r&&(r.fontFamily&&"tt"===r.fontFamily.slice(4,6)||r.font&&"tt"===r.font.slice(4,6))||(e=QO[t][e].replace),new xF.TextNode(e)},SF=function(e){return 1===e.length?e[0]:new xF.MathNode("mrow",e)},DF=function(e,t){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;if("mathit"===r)return"italic";if("boldsymbol"===r)return"textord"===e.type?"bold":"bold-italic";if("mathbf"===r)return"bold";if("mathbb"===r)return"double-struck";if("mathsfit"===r)return"sans-serif-italic";if("mathfrak"===r)return"fraktur";if("mathscr"===r||"mathcal"===r)return"script";if("mathsf"===r)return"sans-serif";if("mathtt"===r)return"monospace";var o=e.text;return["\\imath","\\jmath"].includes(o)?null:(QO[n][o]&&QO[n][o].replace&&(o=QO[n][o].replace),AO(o,GB.fontMap[r].fontName,n)?GB.fontMap[r].variant:null)};function AF(e){if(!e)return!1;if("mi"===e.type&&1===e.children.length){var t=e.children[0];return t instanceof EF&&"."===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 EF&&","===r.text}return!1}var kF=function(e,t,r){if(1===e.length){var n=NF(e[0],t);return r&&n instanceof wF&&"mo"===n.type&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var o,i=[],a=0;a<e.length;a++){var s=NF(e[a],t);if(s instanceof wF&&o instanceof wF){if("mtext"===s.type&&"mtext"===o.type&&s.getAttribute("mathvariant")===o.getAttribute("mathvariant")){o.children.push(...s.children);continue}if("mn"===s.type&&"mn"===o.type){o.children.push(...s.children);continue}if(AF(s)&&"mn"===o.type){o.children.push(...s.children);continue}if("mn"===s.type&&AF(o))s.children=[...o.children,...s.children],i.pop();else if(("msup"===s.type||"msub"===s.type)&&s.children.length>=1&&("mn"===o.type||AF(o))){var l=s.children[0];l instanceof wF&&"mn"===l.type&&(l.children=[...o.children,...l.children],i.pop())}else if("mi"===o.type&&1===o.children.length){var u=o.children[0];if(u instanceof EF&&"̸"===u.text&&("mo"===s.type||"mi"===s.type||"mn"===s.type)){var c=s.children[0];c instanceof EF&&c.text.length>0&&(c.text=c.text.slice(0,1)+"̸"+c.text.slice(1),i.pop())}}}i.push(s),o=s}return i},TF=function(e,t,r){return SF(kF(e,t,r))},NF=function(e,t){if(!e)return new xF.MathNode("mrow");if(eF[e.type])return eF[e.type](e,t);throw new QN("Got group of unknown type: '"+e.type+"'")};function OF(e,t,r,n,o){var i,a=kF(e,r);i=1===a.length&&a[0]instanceof wF&&["mrow","mtable"].includes(a[0].type)?a[0]:new xF.MathNode("mrow",a);var s=new xF.MathNode("annotation",[new xF.TextNode(t)]);s.setAttribute("encoding","application/x-tex");var l=new xF.MathNode("semantics",[i,s]),u=new xF.MathNode("math",[l]);u.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&u.setAttribute("display","block");var c=o?"katex":"katex-mathml";return GB.makeSpan([c],[u])}var BF=function(e){return new BO({style:e.displayMode?mO.DISPLAY:mO.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},FF=function(e,t){if(t.displayMode){var r=["katex-display"];t.leqno&&r.push("leqno"),t.fleqn&&r.push("fleqn"),e=GB.makeSpan(r,[e])}return e},MF={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},IF={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},PF=function(e,t,r,n,o){var i,a=e.height+e.depth+r+n;if(/fbox|color|angl/.test(t)){if(i=GB.makeSpan(["stretchy",t],[],o),"fbox"===t){var s=o.color&&o.getColor();s&&(i.style.borderColor=s)}}else{var l=[];/^[bx]cancel$/.test(t)&&l.push(new KO({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&l.push(new KO({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var u=new WO(l,{width:"100%",height:RO(a)});i=GB.makeSvgSpan([],[u],o)}return i.height=a,i.style.height=RO(a),i},RF=function(e){var t=new xF.MathNode("mo",[new xF.TextNode(MF[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},LF=function(e,t){var{span:r,minWidth:n,height:o}=function(){var r=4e5,n=e.label.slice(1);if(["widehat","widecheck","widetilde","utilde"].includes(n)){var o,i,a,s="ordgroup"===(p=e.base).type?p.body.length:1;if(s>5)"widehat"===n||"widecheck"===n?(o=420,r=2364,a=.42,i=n+"4"):(o=312,r=2340,a=.34,i="tilde4");else{var l=[1,1,2,2,3,3][s];"widehat"===n||"widecheck"===n?(r=[0,1062,2364,2364,2364][l],o=[0,239,300,360,420][l],a=[0,.24,.3,.3,.36,.42][l],i=n+l):(r=[0,600,1033,2339,2340][l],o=[0,260,286,306,312][l],a=[0,.26,.286,.3,.306,.34][l],i="tilde"+l)}var u=new YO(i),c=new WO([u],{width:"100%",height:RO(a),viewBox:"0 0 "+r+" "+o,preserveAspectRatio:"none"});return{span:GB.makeSvgSpan([],[c],t),minWidth:0,height:a}}var d,h,p,f=[],g=IF[n],[m,v,y]=g,b=y/1e3,w=m.length;if(1===w)d=["hide-tail"],h=[g[3]];else if(2===w)d=["halfarrow-left","halfarrow-right"],h=["xMinYMin","xMaxYMin"];else{if(3!==w)throw new Error("Correct katexImagesData or update code here to support\n "+w+" children.");d=["brace-left","brace-center","brace-right"],h=["xMinYMin","xMidYMin","xMaxYMin"]}for(var E=0;E<w;E++){var x=new YO(m[E]),C=new WO([x],{width:"400em",height:RO(b),viewBox:"0 0 "+r+" "+y,preserveAspectRatio:h[E]+" slice"}),S=GB.makeSvgSpan([d[E]],[C],t);if(1===w)return{span:S,minWidth:v,height:b};S.style.height=RO(b),f.push(S)}return{span:GB.makeSpan(["stretchy"],f,t),minWidth:v,height:b}}();return r.height=o,r.style.height=RO(o),n>0&&(r.style.minWidth=RO(n)),r};function _F(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 zF(e){var t=HF(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 HF(e){return e&&("atom"===e.type||JO.hasOwnProperty(e.type))?e:null}var jF=(e,t)=>{var r,n,o;e&&"supsub"===e.type?(r=(n=_F(e.base,"accent")).base,e.base=r,o=function(e){if(e instanceof VO)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}(mF(e,t)),e.base=n):r=(n=_F(e,"accent")).base;var i=mF(r,t.havingCrampedStyle()),a=0;if(n.isShifty&&oO.isCharacterBox(r)){var s=oO.getBaseElem(r);a=XO(mF(s,t.havingCrampedStyle())).skew}var l,u="\\c"===n.label,c=u?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight);if(n.isStretchy)l=LF(n,t),l=GB.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:l,wrapperClasses:["svg-align"],wrapperStyle:a>0?{width:"calc(100% - "+RO(2*a)+")",marginLeft:RO(2*a)}:void 0}]},t);else{var d,h;"\\vec"===n.label?(d=GB.staticSvg("vec",t),h=GB.svgData.vec[1]):((d=XO(d=GB.makeOrd({mode:n.mode,text:n.label},t,"textord"))).italic=0,h=d.width,u&&(c+=d.depth)),l=GB.makeSpan(["accent-body"],[d]);var p="\\textcircled"===n.label;p&&(l.classes.push("accent-full"),c=i.height);var f=a;p||(f-=h/2),l.style.left=RO(f),"\\textcircled"===n.label&&(l.style.top=".2em"),l=GB.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-c},{type:"elem",elem:l}]},t)}var g=GB.makeSpan(["mord","accent"],[l],t);return o?(o.children[0]=g,o.height=Math.max(g.height,o.height),o.classes[0]="mord",o):g},VF=(e,t)=>{var r=e.isStretchy?RF(e.label):new xF.MathNode("mo",[CF(e.label,e.mode)]),n=new xF.MathNode("mover",[NF(e.base,t),r]);return n.setAttribute("accent","true"),n},$F=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));tF({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=nF(t[0]),n=!$F.test(e.funcName),o=!n||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:o,base:r}},htmlBuilder:jF,mathmlBuilder:VF}),tF({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:jF,mathmlBuilder:VF}),tF({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,o=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:o}},htmlBuilder:(e,t)=>{var r=mF(e.base,t),n=LF(e,t),o="\\utilde"===e.label?.12:0,i=GB.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:o},{type:"elem",elem:r}]},t);return GB.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var r=RF(e.label),n=new xF.MathNode("munder",[NF(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var UF=e=>{var t=new xF.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};tF({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:o}=e;return{type:"xArrow",mode:n.mode,label:o,body:t[0],below:r[0]}},htmlBuilder(e,t){var r,n=t.style,o=t.havingStyle(n.sup()),i=GB.wrapFragment(mF(e.body,o,t),t),a="\\x"===e.label.slice(0,2)?"x":"cd";i.classes.push(a+"-arrow-pad"),e.below&&(o=t.havingStyle(n.sub()),(r=GB.wrapFragment(mF(e.below,o,t),t)).classes.push(a+"-arrow-pad"));var s,l=LF(e,t),u=-t.fontMetrics().axisHeight+.5*l.height,c=-t.fontMetrics().axisHeight-.5*l.height-.111;if((i.depth>.25||"\\xleftequilibrium"===e.label)&&(c-=i.depth),r){var d=-t.fontMetrics().axisHeight+r.height+.5*l.height+.111;s=GB.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{type:"elem",elem:l,shift:u},{type:"elem",elem:r,shift:d}]},t)}else s=GB.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{type:"elem",elem:l,shift:u}]},t);return s.children[0].children[0].children[1].classes.push("svg-align"),GB.makeSpan(["mrel","x-arrow"],[s],t)},mathmlBuilder(e,t){var r,n=RF(e.label);if(n.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){var o=UF(NF(e.body,t));if(e.below){var i=UF(NF(e.below,t));r=new xF.MathNode("munderover",[n,i,o])}else r=new xF.MathNode("mover",[n,o])}else if(e.below){var a=UF(NF(e.below,t));r=new xF.MathNode("munder",[n,a])}else r=UF(),r=new xF.MathNode("mover",[n,r]);return r}});var qF=GB.makeSpan;function GF(e,t){var r=cF(e.body,t,!0);return qF([e.mclass],r,t)}function WF(e,t){var r,n=kF(e.body,t);return"minner"===e.mclass?r=new xF.MathNode("mpadded",n):"mord"===e.mclass?e.isCharacterBox?(r=n[0]).type="mi":r=new xF.MathNode("mi",n):(e.isCharacterBox?(r=n[0]).type="mo":r=new xF.MathNode("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}tF({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:n}=e,o=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:oF(o),isCharacterBox:oO.isCharacterBox(o)}},htmlBuilder:GF,mathmlBuilder:WF});var YF=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};tF({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:YF(t[0]),body:oF(t[1]),isCharacterBox:oO.isCharacterBox(t[1])}}}),tF({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var r,{parser:n,funcName:o}=e,i=t[1],a=t[0];r="\\stackrel"!==o?YF(i):"mrel";var s={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==o,body:oF(i)},l={type:"supsub",mode:a.mode,base:s,sup:"\\underset"===o?null:a,sub:"\\underset"===o?a:null};return{type:"mclass",mode:n.mode,mclass:r,body:[l],isCharacterBox:oO.isCharacterBox(l)}},htmlBuilder:GF,mathmlBuilder:WF}),tF({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:YF(t[0]),body:oF(t[0])}},htmlBuilder(e,t){var r=cF(e.body,t,!0),n=GB.makeSpan([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=kF(e.body,t),n=new xF.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var KF={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},XF=()=>({type:"styling",body:[],mode:"math",style:"display"}),ZF=e=>"textord"===e.type&&"@"===e.text,JF=(e,t)=>("mathord"===e.type||"atom"===e.type)&&e.text===t;function QF(e,t,r){var n=KF[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":var o={type:"atom",text:n,mode:"math",family:"rel"},i={type:"ordgroup",mode:"math",body:[r.callFunction("\\\\cdleft",[t[0]],[]),r.callFunction("\\Big",[o],[]),r.callFunction("\\\\cdright",[t[1]],[])]};return r.callFunction("\\\\cdparent",[i],[]);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"}}}tF({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=GB.wrapFragment(mF(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=RO(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new xF.MathNode("mrow",[NF(e.label,t)]);return(r=new xF.MathNode("mpadded",[r])).setAttribute("width","0"),"left"===e.side&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),(r=new xF.MathNode("mstyle",[r])).setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),tF({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=GB.wrapFragment(mF(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder:(e,t)=>new xF.MathNode("mrow",[NF(e.fragment,t)])}),tF({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=_F(t[0],"ordgroup").body,o="",i=0;i<n.length;i++){o+=_F(n[i],"textord").text}var a,s=parseInt(o);if(isNaN(s))throw new QN("\\@char has non-numeric argument "+o);if(s<0||s>=1114111)throw new QN("\\@char with invalid code point "+o);return s<=65535?a=String.fromCharCode(s):(s-=65536,a=String.fromCharCode(55296+(s>>10),56320+(1023&s))),{type:"textord",mode:r.mode,text:a}}});var eM=(e,t)=>{var r=cF(e.body,t.withColor(e.color),!1);return GB.makeFragment(r)},tM=(e,t)=>{var r=kF(e.body,t.withColor(e.color)),n=new xF.MathNode("mstyle",r);return n.setAttribute("mathcolor",e.color),n};tF({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=_F(t[0],"color-token").color,o=t[1];return{type:"color",mode:r.mode,color:n,body:oF(o)}},htmlBuilder:eM,mathmlBuilder:tM}),tF({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,o=_F(t[0],"color-token").color;r.gullet.macros.set("\\current@color",o);var i=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:o,body:i}},htmlBuilder:eM,mathmlBuilder:tM}),tF({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:n}=e,o="["===n.gullet.future().text?n.parseSizeGroup(!0):null,i=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:i,size:o&&_F(o,"size").value}},htmlBuilder(e,t){var r=GB.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=RO(PO(e.size,t)))),r},mathmlBuilder(e,t){var r=new xF.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",RO(PO(e.size,t)))),r}});var rM={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},nM=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new QN("Expected a control sequence",e);return t},oM=(e,t,r,n)=>{var o=e.gullet.macros.get(r.text);null==o&&(r.noexpand=!0,o={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,o,n)};tF({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(rM[n.text])return"\\global"!==r&&"\\\\globallong"!==r||(n.text=rM[n.text]),_F(t.parseFunction(),"internal");throw new QN("Invalid token after macro prefix",n)}}),tF({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(),o=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(o))throw new QN("Expected a control sequence",n);for(var i,a=0,s=[[]];"{"!==t.gullet.future().text;)if("#"===(n=t.gullet.popToken()).text){if("{"===t.gullet.future().text){i=t.gullet.future(),s[a].push("{");break}if(n=t.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new QN('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==a+1)throw new QN('Argument number "'+n.text+'" out of order');a++,s.push([])}else{if("EOF"===n.text)throw new QN("Expected a macro definition");s[a].push(n.text)}var{tokens:l}=t.gullet.consumeArg();return i&&l.unshift(i),"\\edef"!==r&&"\\xdef"!==r||(l=t.gullet.expandTokens(l)).reverse(),t.gullet.macros.set(o,{tokens:l,numArgs:a,delimiters:s},r===rM[r]),{type:"internal",mode:t.mode}}}),tF({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=nM(t.gullet.popToken());t.gullet.consumeSpaces();var o=(e=>{var t=e.gullet.popToken();return"="===t.text&&" "===(t=e.gullet.popToken()).text&&(t=e.gullet.popToken()),t})(t);return oM(t,n,o,"\\\\globallet"===r),{type:"internal",mode:t.mode}}}),tF({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=nM(t.gullet.popToken()),o=t.gullet.popToken(),i=t.gullet.popToken();return oM(t,n,i,"\\\\globalfuture"===r),t.gullet.pushToken(i),t.gullet.pushToken(o),{type:"internal",mode:t.mode}}});var iM=function(e,t,r){var n=AO(QO.math[e]&&QO.math[e].replace||e,t,r);if(!n)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return n},aM=function(e,t,r,n){var o=r.havingBaseStyle(t),i=GB.makeSpan(n.concat(o.sizingClasses(r)),[e],r),a=o.sizeMultiplier/r.sizeMultiplier;return i.height*=a,i.depth*=a,i.maxFontSize=o.sizeMultiplier,i},sM=function(e,t,r){var n=t.havingBaseStyle(r),o=(1-t.sizeMultiplier/n.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=RO(o),e.height-=o,e.depth+=o},lM=function(e,t,r,n,o,i){var a=function(e,t,r,n){return GB.makeSymbol(e,"Size"+t+"-Regular",r,n)}(e,t,o,n),s=aM(GB.makeSpan(["delimsizing","size"+t],[a],n),mO.TEXT,n,i);return r&&sM(s,n,mO.TEXT),s},uM=function(e,t,r){var n;return n="Size1-Regular"===t?"delim-size1":"delim-size4",{type:"elem",elem:GB.makeSpan(["delimsizinginner",n],[GB.makeSpan([],[GB.makeSymbol(e,t,r)])])}},cM=function(e,t,r){var n=CO["Size4-Regular"][e.charCodeAt(0)]?CO["Size4-Regular"][e.charCodeAt(0)][4]:CO["Size1-Regular"][e.charCodeAt(0)][4],o=new YO("inner",function(e,t){switch(e){case"⎜":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"∣":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"∥":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145zM367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z";case"⎟":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"⎢":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"⎥":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"⎪":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"⏐":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"‖":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257zM478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z";default:return""}}(e,Math.round(1e3*t))),i=new WO([o],{width:RO(n),height:RO(t),style:"width:"+RO(n),viewBox:"0 0 "+1e3*n+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),a=GB.makeSvgSpan([],[i],r);return a.height=t,a.style.height=RO(t),a.style.width=RO(n),{type:"elem",elem:a}},dM={type:"kern",size:-.008},hM=["|","\\lvert","\\rvert","\\vert"],pM=["\\|","\\lVert","\\rVert","\\Vert"],fM=function(e,t,r,n,o,i){var a,s,l,u,c="",d=0;a=l=u=e,s=null;var h="Size1-Regular";"\\uparrow"===e?l=u="⏐":"\\Uparrow"===e?l=u="‖":"\\downarrow"===e?a=l="⏐":"\\Downarrow"===e?a=l="‖":"\\updownarrow"===e?(a="\\uparrow",l="⏐",u="\\downarrow"):"\\Updownarrow"===e?(a="\\Uparrow",l="‖",u="\\Downarrow"):hM.includes(e)?(l="∣",c="vert",d=333):pM.includes(e)?(l="∥",c="doublevert",d=556):"["===e||"\\lbrack"===e?(a="⎡",l="⎢",u="⎣",h="Size4-Regular",c="lbrack",d=667):"]"===e||"\\rbrack"===e?(a="⎤",l="⎥",u="⎦",h="Size4-Regular",c="rbrack",d=667):"\\lfloor"===e||"⌊"===e?(l=a="⎢",u="⎣",h="Size4-Regular",c="lfloor",d=667):"\\lceil"===e||"⌈"===e?(a="⎡",l=u="⎢",h="Size4-Regular",c="lceil",d=667):"\\rfloor"===e||"⌋"===e?(l=a="⎥",u="⎦",h="Size4-Regular",c="rfloor",d=667):"\\rceil"===e||"⌉"===e?(a="⎤",l=u="⎥",h="Size4-Regular",c="rceil",d=667):"("===e||"\\lparen"===e?(a="⎛",l="⎜",u="⎝",h="Size4-Regular",c="lparen",d=875):")"===e||"\\rparen"===e?(a="⎞",l="⎟",u="⎠",h="Size4-Regular",c="rparen",d=875):"\\{"===e||"\\lbrace"===e?(a="⎧",s="⎨",u="⎩",l="⎪",h="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(a="⎫",s="⎬",u="⎭",l="⎪",h="Size4-Regular"):"\\lgroup"===e||"⟮"===e?(a="⎧",u="⎩",l="⎪",h="Size4-Regular"):"\\rgroup"===e||"⟯"===e?(a="⎫",u="⎭",l="⎪",h="Size4-Regular"):"\\lmoustache"===e||"⎰"===e?(a="⎧",u="⎭",l="⎪",h="Size4-Regular"):"\\rmoustache"!==e&&"⎱"!==e||(a="⎫",u="⎩",l="⎪",h="Size4-Regular");var p=iM(a,h,o),f=p.height+p.depth,g=iM(l,h,o),m=g.height+g.depth,v=iM(u,h,o),y=v.height+v.depth,b=0,w=1;if(null!==s){var E=iM(s,h,o);b=E.height+E.depth,w=2}var x=f+y+b,C=x+Math.max(0,Math.ceil((t-x)/(w*m)))*w*m,S=n.fontMetrics().axisHeight;r&&(S*=n.sizeMultiplier);var D=C/2-S,A=[];if(c.length>0){var k=C-f-y,T=Math.round(1e3*C),N=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v1759 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z\nM367 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v602 h84z\nM403 1759 V0 H319 V1759 v"+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+t+" v602 h84z";case"lparen":return"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\n-36,557 l0,"+(t+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+(t+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z";case"rparen":return"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+(t+9)+"\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+(t+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z";default:throw new Error("Unknown stretchy delimiter.")}}(c,Math.round(1e3*k)),O=new YO(c,N),B=(d/1e3).toFixed(3)+"em",F=(T/1e3).toFixed(3)+"em",M=new WO([O],{width:B,height:F,viewBox:"0 0 "+d+" "+T}),I=GB.makeSvgSpan([],[M],n);I.height=T/1e3,I.style.width=B,I.style.height=F,A.push({type:"elem",elem:I})}else{if(A.push(uM(u,h,o)),A.push(dM),null===s){var P=C-f-y+.016;A.push(cM(l,P,n))}else{var R=(C-f-y-b)/2+.016;A.push(cM(l,R,n)),A.push(dM),A.push(uM(s,h,o)),A.push(dM),A.push(cM(l,R,n))}A.push(dM),A.push(uM(a,h,o))}var L=n.havingBaseStyle(mO.TEXT),_=GB.makeVList({positionType:"bottom",positionData:D,children:A},L);return aM(GB.makeSpan(["delimsizing","mult"],[_],L),mO.TEXT,n,i)},gM=.08,mM=function(e,t,r,n,o){var i=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,wO);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,wO);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,wO);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,wO);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,wO);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,wO,r)}return n}(e,n,r),a=new YO(e,i),s=new WO([a],{width:"400em",height:RO(t),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return GB.makeSvgSpan(["hide-tail"],[s],o)},vM=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],yM=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],bM=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],wM=[0,1.2,1.8,2.4,3],EM=[{type:"small",style:mO.SCRIPTSCRIPT},{type:"small",style:mO.SCRIPT},{type:"small",style:mO.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],xM=[{type:"small",style:mO.SCRIPTSCRIPT},{type:"small",style:mO.SCRIPT},{type:"small",style:mO.TEXT},{type:"stack"}],CM=[{type:"small",style:mO.SCRIPTSCRIPT},{type:"small",style:mO.SCRIPT},{type:"small",style:mO.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],SM=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";throw new Error("Add support for delim type '"+e.type+"' here.")},DM=function(e,t,r,n){for(var o=Math.min(2,3-n.style.size);o<r.length&&"stack"!==r[o].type;o++){var i=iM(e,SM(r[o]),"math"),a=i.height+i.depth;if("small"===r[o].type&&(a*=n.havingBaseStyle(r[o].style).sizeMultiplier),a>t)return r[o]}return r[r.length-1]},AM=function(e,t,r,n,o,i){var a;"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),a=bM.includes(e)?EM:vM.includes(e)?CM:xM;var s=DM(e,t,a,n);return"small"===s.type?function(e,t,r,n,o,i){var a=GB.makeSymbol(e,"Main-Regular",o,n),s=aM(a,t,n,i);return r&&sM(s,n,t),s}(e,s.style,r,n,o,i):"large"===s.type?lM(e,s.size,r,n,o,i):fM(e,t,r,n,o,i)},kM={sqrtImage:function(e,t){var r,n,o=t.havingBaseSizing(),i=DM("\\surd",e*o.sizeMultiplier,CM,o),a=o.sizeMultiplier,s=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),l=0,u=0,c=0;return"small"===i.type?(e<1?a=1:e<1.4&&(a=.7),u=(1+s)/a,(r=mM("sqrtMain",l=(1+s+gM)/a,c=1e3+1e3*s+80,s,t)).style.minWidth="0.853em",n=.833/a):"large"===i.type?(c=1080*wM[i.size],u=(wM[i.size]+s)/a,l=(wM[i.size]+s+gM)/a,(r=mM("sqrtSize"+i.size,l,c,s,t)).style.minWidth="1.02em",n=1/a):(l=e+s+gM,u=e+s,c=Math.floor(1e3*e+s)+80,(r=mM("sqrtTall",l,c,s,t)).style.minWidth="0.742em",n=1.056),r.height=u,r.style.height=RO(l),{span:r,advanceWidth:n,ruleWidth:(t.fontMetrics().sqrtRuleThickness+s)*a}},sizedDelim:function(e,t,r,n,o){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),vM.includes(e)||bM.includes(e))return lM(e,t,!1,r,n,o);if(yM.includes(e))return fM(e,wM[t],!1,r,n,o);throw new QN("Illegal delimiter: '"+e+"'")},sizeToMaxHeight:wM,customSizedDelim:AM,leftRightDelim:function(e,t,r,n,o,i){var a=n.fontMetrics().axisHeight*n.sizeMultiplier,s=5/n.fontMetrics().ptPerEm,l=Math.max(t-a,r+a),u=Math.max(l/500*901,2*l-s);return AM(e,u,!0,n,o,i)}},TM={"\\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}},NM=["(","\\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 OM(e,t){var r=HF(e);if(r&&NM.includes(r.text))return r;throw new QN(r?"Invalid delimiter '"+r.text+"' after '"+t.funcName+"'":"Invalid delimiter type '"+e.type+"'",e)}function BM(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}tF({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=OM(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:TM[e.funcName].size,mclass:TM[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>"."===e.delim?GB.makeSpan([e.mclass]):kM.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];"."!==e.delim&&t.push(CF(e.delim,e.mode));var r=new xF.MathNode("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=RO(kM.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}}),tF({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 QN("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:OM(t[0],e).text,color:r}}}),tF({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=OM(t[0],e),n=e.parser;++n.leftrightDepth;var o=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var i=_F(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:o,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{BM(e);for(var r,n,o=cF(e.body,t,!0,["mopen","mclose"]),i=0,a=0,s=!1,l=0;l<o.length;l++)o[l].isMiddle?s=!0:(i=Math.max(o[l].height,i),a=Math.max(o[l].depth,a));if(i*=t.sizeMultiplier,a*=t.sizeMultiplier,r="."===e.left?gF(t,["mopen"]):kM.leftRightDelim(e.left,i,a,t,e.mode,["mopen"]),o.unshift(r),s)for(var u=1;u<o.length;u++){var c=o[u].isMiddle;c&&(o[u]=kM.leftRightDelim(c.delim,i,a,c.options,e.mode,[]))}if("."===e.right)n=gF(t,["mclose"]);else{var d=e.rightColor?t.withColor(e.rightColor):t;n=kM.leftRightDelim(e.right,i,a,d,e.mode,["mclose"])}return o.push(n),GB.makeSpan(["minner"],o,t)},mathmlBuilder:(e,t)=>{BM(e);var r=kF(e.body,t);if("."!==e.left){var n=new xF.MathNode("mo",[CF(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if("."!==e.right){var o=new xF.MathNode("mo",[CF(e.right,e.mode)]);o.setAttribute("fence","true"),e.rightColor&&o.setAttribute("mathcolor",e.rightColor),r.push(o)}return SF(r)}}),tF({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=OM(t[0],e);if(!e.parser.leftrightDepth)throw new QN("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if("."===e.delim)r=gF(t,[]);else{r=kM.sizedDelim(e.delim,1,t,e.mode,[]);var n={delim:e.delim,options:t};r.isMiddle=n}return r},mathmlBuilder:(e,t)=>{var r="\\vert"===e.delim||"|"===e.delim?CF("|","text"):CF(e.delim,e.mode),n=new xF.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var FM=(e,t)=>{var r,n,o=GB.wrapFragment(mF(e.body,t),t),i=e.label.slice(1),a=t.sizeMultiplier,s=0,l=oO.isCharacterBox(e.body);if("sout"===i)(r=GB.makeSpan(["stretchy","sout"])).height=t.fontMetrics().defaultRuleThickness/a,s=-.5*t.fontMetrics().xHeight;else if("phase"===i){var u=PO({number:.6,unit:"pt"},t),c=PO({number:.35,unit:"ex"},t);a/=t.havingBaseSizing().sizeMultiplier;var d=o.height+o.depth+u+c;o.style.paddingLeft=RO(d/2+u);var h=Math.floor(1e3*d*a),p=function(e){return"M400000 "+e+" H0 L"+e/2+" 0 l65 45 L145 "+(e-80)+" H400000z"}(h),f=new WO([new YO("phase",p)],{width:"400em",height:RO(h/1e3),viewBox:"0 0 400000 "+h,preserveAspectRatio:"xMinYMin slice"});(r=GB.makeSvgSpan(["hide-tail"],[f],t)).style.height=RO(d),s=o.depth+u+c}else{/cancel/.test(i)?l||o.classes.push("cancel-pad"):"angl"===i?o.classes.push("anglpad"):o.classes.push("boxpad");var g=0,m=0,v=0;/box/.test(i)?(v=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),m=g=t.fontMetrics().fboxsep+("colorbox"===i?0:v)):"angl"===i?(g=4*(v=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness)),m=Math.max(0,.25-o.depth)):m=g=l?.2:0,r=PF(o,i,g,m,t),/fbox|boxed|fcolorbox/.test(i)?(r.style.borderStyle="solid",r.style.borderWidth=RO(v)):"angl"===i&&.049!==v&&(r.style.borderTopWidth=RO(v),r.style.borderRightWidth=RO(v)),s=o.depth+m,e.backgroundColor&&(r.style.backgroundColor=e.backgroundColor,e.borderColor&&(r.style.borderColor=e.borderColor))}if(e.backgroundColor)n=GB.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:s},{type:"elem",elem:o,shift:0}]},t);else{var y=/cancel|phase/.test(i)?["svg-align"]:[];n=GB.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:0},{type:"elem",elem:r,shift:s,wrapperClasses:y}]},t)}return/cancel/.test(i)&&(n.height=o.height,n.depth=o.depth),/cancel/.test(i)&&!l?GB.makeSpan(["mord","cancel-lap"],[n],t):GB.makeSpan(["mord"],[n],t)},MM=(e,t)=>{var r=0,n=new xF.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[NF(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 o=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+o+"em solid "+String(e.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};tF({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:n,funcName:o}=e,i=_F(t[0],"color-token").color,a=t[1];return{type:"enclose",mode:n.mode,label:o,backgroundColor:i,body:a}},htmlBuilder:FM,mathmlBuilder:MM}),tF({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:n,funcName:o}=e,i=_F(t[0],"color-token").color,a=_F(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:n.mode,label:o,backgroundColor:a,borderColor:i,body:s}},htmlBuilder:FM,mathmlBuilder:MM}),tF({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]}}}),tF({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e,o=t[0];return{type:"enclose",mode:r.mode,label:n,body:o}},htmlBuilder:FM,mathmlBuilder:MM}),tF({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 IM={};function PM(e){for(var{type:t,names:r,props:n,handler:o,htmlBuilder:i,mathmlBuilder:a}=e,s={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:o},l=0;l<r.length;++l)IM[r[l]]=s;i&&(QB[t]=i),a&&(eF[t]=a)}var RM={};function LM(e,t){RM[e]=t}function _M(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 zM=e=>{if(!e.parser.settings.displayMode)throw new QN("{"+e.envName+"} can be used only in display mode.")};function HM(e){if(-1===e.indexOf("ed"))return-1===e.indexOf("*")}function jM(e,t,r){var{hskipBeforeAndAfter:n,addJot:o,cols:i,arraystretch:a,colSeparationType:s,autoTag:l,singleRow:u,emptySingleRow:c,maxNumCols:d,leqno:h}=t;if(e.gullet.beginGroup(),u||e.gullet.macros.set("\\cr","\\\\\\relax"),!a){var p=e.gullet.expandMacroAsText("\\arraystretch");if(null==p)a=1;else if(!(a=parseFloat(p))||a<0)throw new QN("Invalid \\arraystretch: "+p)}e.gullet.beginGroup();var f=[],g=[f],m=[],v=[],y=null!=l?[]:void 0;function b(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function w(){y&&(e.gullet.macros.get("\\df@tag")?(y.push(e.subparse([new JN("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):y.push(Boolean(l)&&"1"===e.gullet.macros.get("\\@eqnsw")))}for(b(),v.push(_M(e));;){var E=e.parseExpression(!1,u?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),E={type:"ordgroup",mode:e.mode,body:E},r&&(E={type:"styling",mode:e.mode,style:r,body:[E]}),f.push(E);var x=e.fetch().text;if("&"===x){if(d&&f.length===d){if(u||s)throw new QN("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else{if("\\end"===x){w(),1===f.length&&"styling"===E.type&&0===E.body[0].body.length&&(g.length>1||!c)&&g.pop(),v.length<g.length+1&&v.push([]);break}if("\\\\"!==x)throw new QN("Expected & or \\\\ or \\cr or \\end",e.nextToken);e.consume();var C=void 0;" "!==e.gullet.future().text&&(C=e.parseSizeGroup(!0)),m.push(C?C.value:null),w(),v.push(_M(e)),f=[],g.push(f),b()}}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:o,arraystretch:a,body:g,cols:i,rowGaps:m,hskipBeforeAndAfter:n,hLinesBeforeRow:v,colSeparationType:s,tags:y,leqno:h}}function VM(e){return"d"===e.slice(0,1)?"display":"text"}var $M=function(e,t){var r,n,o=e.body.length,i=e.hLinesBeforeRow,a=0,s=new Array(o),l=[],u=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),c=1/t.fontMetrics().ptPerEm,d=5*c;e.colSeparationType&&"small"===e.colSeparationType&&(d=t.havingStyle(mO.SCRIPT).sizeMultiplier/t.sizeMultiplier*.2778);var h="CD"===e.colSeparationType?PO({number:3,unit:"ex"},t):12*c,p=3*c,f=e.arraystretch*h,g=.7*f,m=.3*f,v=0;function y(e){for(var t=0;t<e.length;++t)t>0&&(v+=.25),l.push({pos:v,isDashed:e[t]})}for(y(i[0]),r=0;r<e.body.length;++r){var b=e.body[r],w=g,E=m;a<b.length&&(a=b.length);var x=new Array(b.length);for(n=0;n<b.length;++n){var C=mF(b[n],t);E<C.depth&&(E=C.depth),w<C.height&&(w=C.height),x[n]=C}var S=e.rowGaps[r],D=0;S&&(D=PO(S,t))>0&&(E<(D+=m)&&(E=D),D=0),e.addJot&&(E+=p),x.height=w,x.depth=E,v+=w,x.pos=v,v+=E+D,s[r]=x,y(i[r+1])}var A,k,T=v/2+t.fontMetrics().axisHeight,N=e.cols||[],O=[],B=[];if(e.tags&&e.tags.some(e=>e))for(r=0;r<o;++r){var F=s[r],M=F.pos-T,I=e.tags[r],P=void 0;(P=!0===I?GB.makeSpan(["eqn-num"],[],t):!1===I?GB.makeSpan([],[],t):GB.makeSpan([],cF(I,t,!0),t)).depth=F.depth,P.height=F.height,B.push({type:"elem",elem:P,shift:M})}for(n=0,k=0;n<a||k<N.length;++n,++k){for(var R=N[k]||{},L=!0;"separator"===R.type;){if(L||((A=GB.makeSpan(["arraycolsep"],[])).style.width=RO(t.fontMetrics().doubleRuleSep),O.push(A)),"|"!==R.separator&&":"!==R.separator)throw new QN("Invalid separator type: "+R.separator);var _="|"===R.separator?"solid":"dashed",z=GB.makeSpan(["vertical-separator"],[],t);z.style.height=RO(v),z.style.borderRightWidth=RO(u),z.style.borderRightStyle=_,z.style.margin="0 "+RO(-u/2);var H=v-T;H&&(z.style.verticalAlign=RO(-H)),O.push(z),R=N[++k]||{},L=!1}if(!(n>=a)){var j=void 0;(n>0||e.hskipBeforeAndAfter)&&0!==(j=oO.deflt(R.pregap,d))&&((A=GB.makeSpan(["arraycolsep"],[])).style.width=RO(j),O.push(A));var V=[];for(r=0;r<o;++r){var $=s[r],U=$[n];if(U){var q=$.pos-T;U.depth=$.depth,U.height=$.height,V.push({type:"elem",elem:U,shift:q})}}V=GB.makeVList({positionType:"individualShift",children:V},t),V=GB.makeSpan(["col-align-"+(R.align||"c")],[V]),O.push(V),(n<a-1||e.hskipBeforeAndAfter)&&0!==(j=oO.deflt(R.postgap,d))&&((A=GB.makeSpan(["arraycolsep"],[])).style.width=RO(j),O.push(A))}}if(s=GB.makeSpan(["mtable"],O),l.length>0){for(var G=GB.makeLineSpan("hline",t,u),W=GB.makeLineSpan("hdashline",t,u),Y=[{type:"elem",elem:s,shift:0}];l.length>0;){var K=l.pop(),X=K.pos-T;K.isDashed?Y.push({type:"elem",elem:W,shift:X}):Y.push({type:"elem",elem:G,shift:X})}s=GB.makeVList({positionType:"individualShift",children:Y},t)}if(0===B.length)return GB.makeSpan(["mord"],[s],t);var Z=GB.makeVList({positionType:"individualShift",children:B},t);return Z=GB.makeSpan(["tag"],[Z],t),GB.makeFragment([s,Z])},UM={c:"center ",l:"left ",r:"right "},qM=function(e,t){for(var r=[],n=new xF.MathNode("mtd",[],["mtr-glue"]),o=new xF.MathNode("mtd",[],["mml-eqn-num"]),i=0;i<e.body.length;i++){for(var a=e.body[i],s=[],l=0;l<a.length;l++)s.push(new xF.MathNode("mtd",[NF(a[l],t)]));e.tags&&e.tags[i]&&(s.unshift(n),s.push(n),e.leqno?s.unshift(o):s.push(o)),r.push(new xF.MathNode("mtr",s))}var u=new xF.MathNode("mtable",r),c=.5===e.arraystretch?.1:.16+e.arraystretch-1+(e.addJot?.09:0);u.setAttribute("rowspacing",RO(c));var d="",h="";if(e.cols&&e.cols.length>0){var p=e.cols,f="",g=!1,m=0,v=p.length;"separator"===p[0].type&&(d+="top ",m=1),"separator"===p[p.length-1].type&&(d+="bottom ",v-=1);for(var y=m;y<v;y++)"align"===p[y].type?(h+=UM[p[y].align],g&&(f+="none "),g=!0):"separator"===p[y].type&&g&&(f+="|"===p[y].separator?"solid ":"dashed ",g=!1);u.setAttribute("columnalign",h.trim()),/[sd]/.test(f)&&u.setAttribute("columnlines",f.trim())}if("align"===e.colSeparationType){for(var b=e.cols||[],w="",E=1;E<b.length;E++)w+=E%2?"0em ":"1em ";u.setAttribute("columnspacing",w.trim())}else"alignat"===e.colSeparationType||"gather"===e.colSeparationType?u.setAttribute("columnspacing","0em"):"small"===e.colSeparationType?u.setAttribute("columnspacing","0.2778em"):"CD"===e.colSeparationType?u.setAttribute("columnspacing","0.5em"):u.setAttribute("columnspacing","1em");var x="",C=e.hLinesBeforeRow;d+=C[0].length>0?"left ":"",d+=C[C.length-1].length>0?"right ":"";for(var S=1;S<C.length-1;S++)x+=0===C[S].length?"none ":C[S][0]?"dashed ":"solid ";return/[sd]/.test(x)&&u.setAttribute("rowlines",x.trim()),""!==d&&(u=new xF.MathNode("menclose",[u])).setAttribute("notation",d.trim()),e.arraystretch&&e.arraystretch<1&&(u=new xF.MathNode("mstyle",[u])).setAttribute("scriptlevel","1"),u},GM=function(e,t){-1===e.envName.indexOf("ed")&&zM(e);var r,n=[],o=e.envName.indexOf("at")>-1?"alignat":"align",i="split"===e.envName,a=jM(e.parser,{cols:n,addJot:!0,autoTag:i?void 0:HM(e.envName),emptySingleRow:!0,colSeparationType:o,maxNumCols:i?2:void 0,leqno:e.parser.settings.leqno},"display"),s=0,l={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){for(var u="",c=0;c<t[0].body.length;c++){u+=_F(t[0].body[c],"textord").text}r=Number(u),s=2*r}var d=!s;a.body.forEach(function(e){for(var t=1;t<e.length;t+=2){var n=_F(e[t],"styling");_F(n.body[0],"ordgroup").body.unshift(l)}if(d)s<e.length&&(s=e.length);else{var o=e.length/2;if(r<o)throw new QN("Too many math in a row: expected "+r+", but got "+o,e[0])}});for(var h=0;h<s;++h){var p="r",f=0;h%2==1?p="l":h>0&&d&&(f=1),n[h]={type:"align",align:p,pregap:f,postgap:0}}return a.colSeparationType=d?"align":"alignat",a};PM({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=(HF(t[0])?[t[0]]:_F(t[0],"ordgroup").body).map(function(e){var t=zF(e).text;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new QN("Unknown column alignment: "+t,e)}),n={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return jM(e.parser,n,VM(e.envName))},htmlBuilder:$M,mathmlBuilder:qM}),PM({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 o=e.parser;if(o.consumeSpaces(),"["===o.fetch().text){if(o.consume(),o.consumeSpaces(),r=o.fetch().text,-1==="lcr".indexOf(r))throw new QN("Expected l or c or r",o.nextToken);o.consume(),o.consumeSpaces(),o.expect("]"),o.consume(),n.cols=[{type:"align",align:r}]}}var i=jM(e.parser,n,VM(e.envName)),a=Math.max(0,...i.body.map(e=>e.length));return i.cols=new Array(a).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[i],left:t[0],right:t[1],rightColor:void 0}:i},htmlBuilder:$M,mathmlBuilder:qM}),PM({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t=jM(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:$M,mathmlBuilder:qM}),PM({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=(HF(t[0])?[t[0]]:_F(t[0],"ordgroup").body).map(function(e){var t=zF(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new QN("Unknown column alignment: "+t,e)});if(r.length>1)throw new QN("{subarray} can contain only one column");var n={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5};if((n=jM(e.parser,n,"script")).body.length>0&&n.body[0].length>1)throw new QN("{subarray} can contain only one column");return n},htmlBuilder:$M,mathmlBuilder:qM}),PM({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t=jM(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},VM(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:$M,mathmlBuilder:qM}),PM({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:GM,htmlBuilder:$M,mathmlBuilder:qM}),PM({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){["gather","gather*"].includes(e.envName)&&zM(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:HM(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return jM(e.parser,t,"display")},htmlBuilder:$M,mathmlBuilder:qM}),PM({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:GM,htmlBuilder:$M,mathmlBuilder:qM}),PM({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){zM(e);var t={autoTag:HM(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return jM(e.parser,t,"display")},htmlBuilder:$M,mathmlBuilder:qM}),PM({type:"array",names:["CD"],props:{numArgs:0},handler:e=>(zM(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 QN("Expected \\\\ or \\cr or \\end",e.nextToken)}e.consume()}for(var n=[],o=[n],i=0;i<t.length;i++){for(var a=t[i],s=XF(),l=0;l<a.length;l++)if(ZF(a[l])){n.push(s);var u=zF(a[l+=1]).text,c=new Array(2);if(c[0]={type:"ordgroup",mode:"math",body:[]},c[1]={type:"ordgroup",mode:"math",body:[]},"=|.".indexOf(u)>-1);else{if(!("<>AV".indexOf(u)>-1))throw new QN('Expected one of "<>AV=|." after @',a[l]);for(var d=0;d<2;d++){for(var h=!0,p=l+1;p<a.length;p++){if(JF(a[p],u)){h=!1,l=p;break}if(ZF(a[p]))throw new QN("Missing a "+u+" character to complete a CD arrow.",a[p]);c[d].body.push(a[p])}if(h)throw new QN("Missing a "+u+" character to complete a CD arrow.",a[l])}}var f={type:"styling",body:[QF(u,c,e)],mode:"math",style:"display"};n.push(f),s=XF()}else s.body.push(a[l]);i%2==0?n.push(s):n.shift(),n=[],o.push(n)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:"math",body:o,arraystretch:1,addJot:!0,rowGaps:[null],cols:new Array(o[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25}),colSeparationType:"CD",hLinesBeforeRow:new Array(o.length+1).fill([])}}(e.parser)),htmlBuilder:$M,mathmlBuilder:qM}),LM("\\nonumber","\\gdef\\@eqnsw{0}"),LM("\\notag","\\nonumber"),tF({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new QN(e.funcName+" valid only within array environment")}});var WM=IM;tF({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:n}=e,o=t[0];if("ordgroup"!==o.type)throw new QN("Invalid environment name",o);for(var i="",a=0;a<o.body.length;++a)i+=_F(o.body[a],"textord").text;if("\\begin"===n){if(!WM.hasOwnProperty(i))throw new QN("No such environment: "+i,o);var s=WM[i],{args:l,optArgs:u}=r.parseArguments("\\begin{"+i+"}",s),c={mode:r.mode,envName:i,parser:r},d=s.handler(c,l,u);r.expect("\\end",!1);var h=r.nextToken,p=_F(r.parseFunction(),"environment");if(p.name!==i)throw new QN("Mismatch: \\begin{"+i+"} matched by \\end{"+p.name+"}",h);return d}return{type:"environment",mode:r.mode,name:i,nameGroup:o}}});var YM=(e,t)=>{var r=e.font,n=t.withFont(r);return mF(e.body,n)},KM=(e,t)=>{var r=e.font,n=t.withFont(r);return NF(e.body,n)},XM={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};tF({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,o=nF(t[0]),i=n;return i in XM&&(i=XM[i]),{type:"font",mode:r.mode,font:i.slice(1),body:o}},htmlBuilder:YM,mathmlBuilder:KM}),tF({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0],o=oO.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:YF(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:o}}}),tF({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,breakOnTokenText:o}=e,{mode:i}=r,a=r.parseExpression(!0,o);return{type:"font",mode:i,font:"math"+n.slice(1),body:{type:"ordgroup",mode:r.mode,body:a}}},htmlBuilder:YM,mathmlBuilder:KM});var ZM=(e,t)=>{var r=t;return"display"===e?r=r.id>=mO.SCRIPT.id?r.text():mO.DISPLAY:"text"===e&&r.size===mO.DISPLAY.size?r=mO.TEXT:"script"===e?r=mO.SCRIPT:"scriptscript"===e&&(r=mO.SCRIPTSCRIPT),r},JM=(e,t)=>{var r,n=ZM(e.size,t.style),o=n.fracNum(),i=n.fracDen();r=t.havingStyle(o);var a=mF(e.numer,r,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;a.height=a.height<s?s:a.height,a.depth=a.depth<l?l:a.depth}r=t.havingStyle(i);var u,c,d,h,p,f,g,m,v,y,b=mF(e.denom,r,t);if(e.hasBarLine?(e.barSize?(c=PO(e.barSize,t),u=GB.makeLineSpan("frac-line",t,c)):u=GB.makeLineSpan("frac-line",t),c=u.height,d=u.height):(u=null,c=0,d=t.fontMetrics().defaultRuleThickness),n.size===mO.DISPLAY.size||"display"===e.size?(h=t.fontMetrics().num1,p=c>0?3*d:7*d,f=t.fontMetrics().denom1):(c>0?(h=t.fontMetrics().num2,p=d):(h=t.fontMetrics().num3,p=3*d),f=t.fontMetrics().denom2),u){var w=t.fontMetrics().axisHeight;h-a.depth-(w+.5*c)<p&&(h+=p-(h-a.depth-(w+.5*c))),w-.5*c-(b.height-f)<p&&(f+=p-(w-.5*c-(b.height-f)));var E=-(w-.5*c);g=GB.makeVList({positionType:"individualShift",children:[{type:"elem",elem:b,shift:f},{type:"elem",elem:u,shift:E},{type:"elem",elem:a,shift:-h}]},t)}else{var x=h-a.depth-(b.height-f);x<p&&(h+=.5*(p-x),f+=.5*(p-x)),g=GB.makeVList({positionType:"individualShift",children:[{type:"elem",elem:b,shift:f},{type:"elem",elem:a,shift:-h}]},t)}return r=t.havingStyle(n),g.height*=r.sizeMultiplier/t.sizeMultiplier,g.depth*=r.sizeMultiplier/t.sizeMultiplier,m=n.size===mO.DISPLAY.size?t.fontMetrics().delim1:n.size===mO.SCRIPTSCRIPT.size?t.havingStyle(mO.SCRIPT).fontMetrics().delim2:t.fontMetrics().delim2,v=null==e.leftDelim?gF(t,["mopen"]):kM.customSizedDelim(e.leftDelim,m,!0,t.havingStyle(n),e.mode,["mopen"]),y=e.continued?GB.makeSpan([]):null==e.rightDelim?gF(t,["mclose"]):kM.customSizedDelim(e.rightDelim,m,!0,t.havingStyle(n),e.mode,["mclose"]),GB.makeSpan(["mord"].concat(r.sizingClasses(t)),[v,GB.makeSpan(["mfrac"],[g]),y],t)},QM=(e,t)=>{var r=new xF.MathNode("mfrac",[NF(e.numer,t),NF(e.denom,t)]);if(e.hasBarLine){if(e.barSize){var n=PO(e.barSize,t);r.setAttribute("linethickness",RO(n))}}else r.setAttribute("linethickness","0px");var o=ZM(e.size,t.style);if(o.size!==t.style.size){r=new xF.MathNode("mstyle",[r]);var i=o.size===mO.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",i),r.setAttribute("scriptlevel","0")}if(null!=e.leftDelim||null!=e.rightDelim){var a=[];if(null!=e.leftDelim){var s=new xF.MathNode("mo",[new xF.TextNode(e.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}if(a.push(r),null!=e.rightDelim){var l=new xF.MathNode("mo",[new xF.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),a.push(l)}return SF(a)}return r};tF({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var r,{parser:n,funcName:o}=e,i=t[0],a=t[1],s=null,l=null,u="auto";switch(o){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")}switch(o){case"\\dfrac":case"\\dbinom":u="display";break;case"\\tfrac":case"\\tbinom":u="text"}return{type:"genfrac",mode:n.mode,continued:!1,numer:i,denom:a,hasBarLine:r,leftDelim:s,rightDelim:l,size:u,barSize:null}},htmlBuilder:JM,mathmlBuilder:QM}),tF({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:n}=e,o=t[0],i=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:o,denom:i,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),tF({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var t,{parser:r,funcName:n,token:o}=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:o}}});var eI=["display","text","script","scriptscript"],tI=function(e){var t=null;return e.length>0&&(t="."===(t=e)?null:t),t};tF({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var r,{parser:n}=e,o=t[4],i=t[5],a=nF(t[0]),s="atom"===a.type&&"open"===a.family?tI(a.text):null,l=nF(t[1]),u="atom"===l.type&&"close"===l.family?tI(l.text):null,c=_F(t[2],"size"),d=null;r=!!c.isBlank||(d=c.value).number>0;var h="auto",p=t[3];if("ordgroup"===p.type){if(p.body.length>0){var f=_F(p.body[0],"textord");h=eI[Number(f.text)]}}else p=_F(p,"textord"),h=eI[Number(p.text)];return{type:"genfrac",mode:n.mode,numer:o,denom:i,continued:!1,hasBarLine:r,barSize:d,leftDelim:s,rightDelim:u,size:h}},htmlBuilder:JM,mathmlBuilder:QM}),tF({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:n,token:o}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:_F(t[0],"size").value,token:o}}}),tF({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,o=t[0],i=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e}(_F(t[1],"infix").size),a=t[2],s=i.number>0;return{type:"genfrac",mode:r.mode,numer:o,denom:a,continued:!1,hasBarLine:s,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:JM,mathmlBuilder:QM});var rI=(e,t)=>{var r,n,o=t.style;"supsub"===e.type?(r=e.sup?mF(e.sup,t.havingStyle(o.sup()),t):mF(e.sub,t.havingStyle(o.sub()),t),n=_F(e.base,"horizBrace")):n=_F(e,"horizBrace");var i,a=mF(n.base,t.havingBaseStyle(mO.DISPLAY)),s=LF(n,t);if(n.isOver?(i=GB.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:s}]},t)).children[0].children[0].children[1].classes.push("svg-align"):(i=GB.makeVList({positionType:"bottom",positionData:a.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:a}]},t)).children[0].children[0].children[0].classes.push("svg-align"),r){var l=GB.makeSpan(["mord",n.isOver?"mover":"munder"],[i],t);i=n.isOver?GB.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]},t):GB.makeVList({positionType:"bottom",positionData:l.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return GB.makeSpan(["mord",n.isOver?"mover":"munder"],[i],t)};tF({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:t[0]}},htmlBuilder:rI,mathmlBuilder:(e,t)=>{var r=RF(e.label);return new xF.MathNode(e.isOver?"mover":"munder",[NF(e.base,t),r])}}),tF({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],o=_F(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:o})?{type:"href",mode:r.mode,href:o,body:oF(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=cF(e.body,t,!1);return GB.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=TF(e.body,t);return r instanceof wF||(r=new wF("mrow",[r])),r.setAttribute("href",e.href),r}}),tF({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=_F(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var o=[],i=0;i<n.length;i++){var a=n[i];"~"===a&&(a="\\textasciitilde"),o.push({type:"textord",mode:"text",text:a})}var s={type:"text",mode:r.mode,font:"\\texttt",body:o};return{type:"href",mode:r.mode,href:n,body:oF(s)}}}),tF({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:oF(t[0])}},htmlBuilder(e,t){var r=cF(e.body,t,!1);return GB.makeFragment(r)},mathmlBuilder:(e,t)=>new xF.MathNode("mrow",kF(e.body,t))}),tF({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var r,{parser:n,funcName:o,token:i}=e,a=_F(t[0],"raw").string,s=t[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var l={};switch(o){case"\\htmlClass":l.class=a,r={command:"\\htmlClass",class:a};break;case"\\htmlId":l.id=a,r={command:"\\htmlId",id:a};break;case"\\htmlStyle":l.style=a,r={command:"\\htmlStyle",style:a};break;case"\\htmlData":for(var u=a.split(","),c=0;c<u.length;c++){var d=u[c].split("=");if(2!==d.length)throw new QN("Error parsing key-value for \\htmlData");l["data-"+d[0].trim()]=d[1].trim()}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:oF(s)}:n.formatUnsupportedCmd(o)},htmlBuilder:(e,t)=>{var r=cF(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var o=GB.makeSpan(n,r,t);for(var i in e.attributes)"class"!==i&&e.attributes.hasOwnProperty(i)&&o.setAttribute(i,e.attributes[i]);return o},mathmlBuilder:(e,t)=>TF(e.body,t)}),tF({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:oF(t[0]),mathml:oF(t[1])}},htmlBuilder:(e,t)=>{var r=cF(e.html,t,!1);return GB.makeFragment(r)},mathmlBuilder:(e,t)=>TF(e.mathml,t)});var nI=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 QN("Invalid size: '"+e+"' in \\includegraphics");var r={number:+(t[1]+t[2]),unit:t[3]};if(!IO(r))throw new QN("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};tF({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:n}=e,o={number:0,unit:"em"},i={number:.9,unit:"em"},a={number:0,unit:"em"},s="";if(r[0])for(var l=_F(r[0],"raw").string.split(","),u=0;u<l.length;u++){var c=l[u].split("=");if(2===c.length){var d=c[1].trim();switch(c[0].trim()){case"alt":s=d;break;case"width":o=nI(d);break;case"height":i=nI(d);break;case"totalheight":a=nI(d);break;default:throw new QN("Invalid key: '"+c[0]+"' in \\includegraphics.")}}}var h=_F(t[0],"url").url;return""===s&&(s=(s=(s=h).replace(/^.*[\\/]/,"")).substring(0,s.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:h})?{type:"includegraphics",mode:n.mode,alt:s,width:o,height:i,totalheight:a,src:h}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=PO(e.height,t),n=0;e.totalheight.number>0&&(n=PO(e.totalheight,t)-r);var o=0;e.width.number>0&&(o=PO(e.width,t));var i={height:RO(r+n)};o>0&&(i.width=RO(o)),n>0&&(i.verticalAlign=RO(-n));var a=new UO(e.src,e.alt,i);return a.height=r,a.depth=n,a},mathmlBuilder:(e,t)=>{var r=new xF.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var n=PO(e.height,t),o=0;if(e.totalheight.number>0&&(o=PO(e.totalheight,t)-n,r.setAttribute("valign",RO(-o))),r.setAttribute("height",RO(n+o)),e.width.number>0){var i=PO(e.width,t);r.setAttribute("width",RO(i))}return r.setAttribute("src",e.src),r}}),tF({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,o=_F(t[0],"size");if(r.settings.strict){var i="m"===n[1],a="mu"===o.value.unit;i?(a||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, not "+o.value.unit+" units"),"math"!==r.mode&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):a&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:o.value}},htmlBuilder:(e,t)=>GB.makeGlue(e.dimension,t),mathmlBuilder(e,t){var r=PO(e.dimension,t);return new xF.SpaceNode(r)}}),tF({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,o=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:o}},htmlBuilder:(e,t)=>{var r;"clap"===e.alignment?(r=GB.makeSpan([],[mF(e.body,t)]),r=GB.makeSpan(["inner"],[r],t)):r=GB.makeSpan(["inner"],[mF(e.body,t)]);var n=GB.makeSpan(["fix"],[]),o=GB.makeSpan([e.alignment],[r,n],t),i=GB.makeSpan(["strut"]);return i.style.height=RO(o.height+o.depth),o.depth&&(i.style.verticalAlign=RO(-o.depth)),o.children.unshift(i),o=GB.makeSpan(["thinbox"],[o],t),GB.makeSpan(["mord","vbox"],[o],t)},mathmlBuilder:(e,t)=>{var r=new xF.MathNode("mpadded",[NF(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}}),tF({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:n}=e,o=n.mode;n.switchMode("math");var i="\\("===r?"\\)":"$",a=n.parseExpression(!1,i);return n.expect(i),n.switchMode(o),{type:"styling",mode:n.mode,style:"text",body:a}}}),tF({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new QN("Mismatched "+e.funcName)}});var oI=(e,t)=>{switch(t.style.size){case mO.DISPLAY.size:return e.display;case mO.TEXT.size:return e.text;case mO.SCRIPT.size:return e.script;case mO.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};tF({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:oF(t[0]),text:oF(t[1]),script:oF(t[2]),scriptscript:oF(t[3])}},htmlBuilder:(e,t)=>{var r=oI(e,t),n=cF(r,t,!1);return GB.makeFragment(n)},mathmlBuilder:(e,t)=>{var r=oI(e,t);return TF(r,t)}});var iI=(e,t,r,n,o,i,a)=>{e=GB.makeSpan([],[e]);var s,l,u,c=r&&oO.isCharacterBox(r);if(t){var d=mF(t,n.havingStyle(o.sup()),n);l={elem:d,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-d.depth)}}if(r){var h=mF(r,n.havingStyle(o.sub()),n);s={elem:h,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-h.height)}}if(l&&s){var p=n.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+a;u=GB.makeVList({positionType:"bottom",positionData:p,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:RO(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:RO(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(s){var f=e.height-a;u=GB.makeVList({positionType:"top",positionData:f,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:RO(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e}]},n)}else{if(!l)return e;var g=e.depth+a;u=GB.makeVList({positionType:"bottom",positionData:g,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:RO(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}var m=[u];if(s&&0!==i&&!c){var v=GB.makeSpan(["mspace"],[],n);v.style.marginRight=RO(i),m.unshift(v)}return GB.makeSpan(["mop","op-limits"],m,n)},aI=["\\smallint"],sI=(e,t)=>{var r,n,o,i=!1;"supsub"===e.type?(r=e.sup,n=e.sub,o=_F(e.base,"op"),i=!0):o=_F(e,"op");var a,s=t.style,l=!1;if(s.size===mO.DISPLAY.size&&o.symbol&&!aI.includes(o.name)&&(l=!0),o.symbol){var u=l?"Size2-Regular":"Size1-Regular",c="";if("\\oiint"!==o.name&&"\\oiiint"!==o.name||(c=o.name.slice(1),o.name="oiint"===c?"\\iint":"\\iiint"),a=GB.makeSymbol(o.name,u,"math",t,["mop","op-symbol",l?"large-op":"small-op"]),c.length>0){var d=a.italic,h=GB.staticSvg(c+"Size"+(l?"2":"1"),t);a=GB.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:0},{type:"elem",elem:h,shift:l?.08:0}]},t),o.name="\\"+c,a.classes.unshift("mop"),a.italic=d}}else if(o.body){var p=cF(o.body,t,!0);1===p.length&&p[0]instanceof GO?(a=p[0]).classes[0]="mop":a=GB.makeSpan(["mop"],p,t)}else{for(var f=[],g=1;g<o.name.length;g++)f.push(GB.mathsym(o.name[g],o.mode,t));a=GB.makeSpan(["mop"],f,t)}var m=0,v=0;return(a instanceof GO||"\\oiint"===o.name||"\\oiiint"===o.name)&&!o.suppressBaseShift&&(m=(a.height-a.depth)/2-t.fontMetrics().axisHeight,v=a.italic),i?iI(a,r,n,t,s,v,m):(m&&(a.style.position="relative",a.style.top=RO(m)),a)},lI=(e,t)=>{var r;if(e.symbol)r=new wF("mo",[CF(e.name,e.mode)]),aI.includes(e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new wF("mo",kF(e.body,t));else{r=new wF("mi",[new EF(e.name.slice(1))]);var n=new wF("mo",[CF("⁡","text")]);r=e.parentIsSupSub?new wF("mrow",[r,n]):bF([r,n])}return r},uI={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};tF({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,o=n;return 1===o.length&&(o=uI[o]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:o}},htmlBuilder:sI,mathmlBuilder:lI}),tF({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:oF(n)}},htmlBuilder:sI,mathmlBuilder:lI});var cI={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};tF({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:sI,mathmlBuilder:lI}),tF({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:sI,mathmlBuilder:lI}),tF({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e,n=r;return 1===n.length&&(n=cI[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:sI,mathmlBuilder:lI});var dI=(e,t)=>{var r,n,o,i,a=!1;if("supsub"===e.type?(r=e.sup,n=e.sub,o=_F(e.base,"operatorname"),a=!0):o=_F(e,"operatorname"),o.body.length>0){for(var s=o.body.map(e=>{var t=e.text;return"string"==typeof t?{type:"textord",mode:e.mode,text:t}:e}),l=cF(s,t.withFont("mathrm"),!0),u=0;u<l.length;u++){var c=l[u];c instanceof GO&&(c.text=c.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}i=GB.makeSpan(["mop"],l,t)}else i=GB.makeSpan(["mop"],[],t);return a?iI(i,r,n,t,t.style,0,0):i};function hI(e,t,r){for(var n=cF(e,t,!1),o=t.sizeMultiplier/r.sizeMultiplier,i=0;i<n.length;i++){var a=n[i].classes.indexOf("sizing");a<0?Array.prototype.push.apply(n[i].classes,t.sizingClasses(r)):n[i].classes[a+1]==="reset-size"+t.size&&(n[i].classes[a+1]="reset-size"+r.size),n[i].height*=o,n[i].depth*=o}return GB.makeFragment(n)}tF({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,o=t[0];return{type:"operatorname",mode:r.mode,body:oF(o),alwaysHandleSupSub:"\\operatornamewithlimits"===n,limits:!1,parentIsSupSub:!1}},htmlBuilder:dI,mathmlBuilder:(e,t)=>{for(var r=kF(e.body,t.withFont("mathrm")),n=!0,o=0;o<r.length;o++){var i=r[o];if(i instanceof xF.SpaceNode);else if(i instanceof xF.MathNode)switch(i.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":var a=i.children[0];1===i.children.length&&a instanceof xF.TextNode?a.text=a.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 xF.TextNode(s)]}var l=new xF.MathNode("mi",r);l.setAttribute("mathvariant","normal");var u=new xF.MathNode("mo",[CF("⁡","text")]);return e.parentIsSupSub?new xF.MathNode("mrow",[l,u]):xF.newDocumentFragment([l,u])}}),LM("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),rF({type:"ordgroup",htmlBuilder:(e,t)=>e.semisimple?GB.makeFragment(cF(e.body,t,!1)):GB.makeSpan(["mord"],cF(e.body,t,!0),t),mathmlBuilder:(e,t)=>TF(e.body,t,!0)}),tF({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=mF(e.body,t.havingCrampedStyle()),n=GB.makeLineSpan("overline-line",t),o=t.fontMetrics().defaultRuleThickness,i=GB.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*o},{type:"elem",elem:n},{type:"kern",size:o}]},t);return GB.makeSpan(["mord","overline"],[i],t)},mathmlBuilder(e,t){var r=new xF.MathNode("mo",[new xF.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new xF.MathNode("mover",[NF(e.body,t),r]);return n.setAttribute("accent","true"),n}}),tF({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:oF(n)}},htmlBuilder:(e,t)=>{var r=cF(e.body,t.withPhantom(),!1);return GB.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=kF(e.body,t);return new xF.MathNode("mphantom",r)}}),tF({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"hphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=GB.makeSpan([],[mF(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var n=0;n<r.children.length;n++)r.children[n].height=0,r.children[n].depth=0;return r=GB.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t),GB.makeSpan(["mord"],[r],t)},mathmlBuilder:(e,t)=>{var r=kF(oF(e.body),t),n=new xF.MathNode("mphantom",r),o=new xF.MathNode("mpadded",[n]);return o.setAttribute("height","0px"),o.setAttribute("depth","0px"),o}}),tF({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=GB.makeSpan(["inner"],[mF(e.body,t.withPhantom())]),n=GB.makeSpan(["fix"],[]);return GB.makeSpan(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=kF(oF(e.body),t),n=new xF.MathNode("mphantom",r),o=new xF.MathNode("mpadded",[n]);return o.setAttribute("width","0px"),o}}),tF({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=_F(t[0],"size").value,o=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:o}},htmlBuilder(e,t){var r=mF(e.body,t),n=PO(e.dy,t);return GB.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new xF.MathNode("mpadded",[NF(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}}),tF({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),tF({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,o=r[0],i=_F(t[0],"size"),a=_F(t[1],"size");return{type:"rule",mode:n.mode,shift:o&&_F(o,"size").value,width:i.value,height:a.value}},htmlBuilder(e,t){var r=GB.makeSpan(["mord","rule"],[],t),n=PO(e.width,t),o=PO(e.height,t),i=e.shift?PO(e.shift,t):0;return r.style.borderRightWidth=RO(n),r.style.borderTopWidth=RO(o),r.style.bottom=RO(i),r.width=n,r.height=o+i,r.depth=-i,r.maxFontSize=1.125*o*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=PO(e.width,t),n=PO(e.height,t),o=e.shift?PO(e.shift,t):0,i=t.color&&t.getColor()||"black",a=new xF.MathNode("mspace");a.setAttribute("mathbackground",i),a.setAttribute("width",RO(r)),a.setAttribute("height",RO(n));var s=new xF.MathNode("mpadded",[a]);return o>=0?s.setAttribute("height",RO(o)):(s.setAttribute("height",RO(o)),s.setAttribute("depth",RO(-o))),s.setAttribute("voffset",RO(o)),s}});var pI=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];tF({type:"sizing",names:pI,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:n,parser:o}=e,i=o.parseExpression(!1,r);return{type:"sizing",mode:o.mode,size:pI.indexOf(n)+1,body:i}},htmlBuilder:(e,t)=>{var r=t.havingSize(e.size);return hI(e.body,r,t)},mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=kF(e.body,r),o=new xF.MathNode("mstyle",n);return o.setAttribute("mathsize",RO(r.sizeMultiplier)),o}}),tF({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:n}=e,o=!1,i=!1,a=r[0]&&_F(r[0],"ordgroup");if(a)for(var s="",l=0;l<a.body.length;++l){if("t"===(s=a.body[l].text))o=!0;else{if("b"!==s){o=!1,i=!1;break}i=!0}}else o=!0,i=!0;var u=t[0];return{type:"smash",mode:n.mode,body:u,smashHeight:o,smashDepth:i}},htmlBuilder:(e,t)=>{var r=GB.makeSpan([],[mF(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var n=0;n<r.children.length;n++)r.children[n].height=0;if(e.smashDepth&&(r.depth=0,r.children))for(var o=0;o<r.children.length;o++)r.children[o].depth=0;var i=GB.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t);return GB.makeSpan(["mord"],[i],t)},mathmlBuilder:(e,t)=>{var r=new xF.MathNode("mpadded",[NF(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}}),tF({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n}=e,o=r[0],i=t[0];return{type:"sqrt",mode:n.mode,body:i,index:o}},htmlBuilder(e,t){var r=mF(e.body,t.havingCrampedStyle());0===r.height&&(r.height=t.fontMetrics().xHeight),r=GB.wrapFragment(r,t);var n=t.fontMetrics().defaultRuleThickness,o=n;t.style.id<mO.TEXT.id&&(o=t.fontMetrics().xHeight);var i=n+o/4,a=r.height+r.depth+i+n,{span:s,ruleWidth:l,advanceWidth:u}=kM.sqrtImage(a,t),c=s.height-l;c>r.height+r.depth+i&&(i=(i+c-r.height-r.depth)/2);var d=s.height-r.height-i-l;r.style.paddingLeft=RO(u);var h=GB.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+d)},{type:"elem",elem:s},{type:"kern",size:l}]},t);if(e.index){var p=t.havingStyle(mO.SCRIPTSCRIPT),f=mF(e.index,p,t),g=.6*(h.height-h.depth),m=GB.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:f}]},t),v=GB.makeSpan(["root"],[m]);return GB.makeSpan(["mord","sqrt"],[v,h],t)}return GB.makeSpan(["mord","sqrt"],[h],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new xF.MathNode("mroot",[NF(r,t),NF(n,t)]):new xF.MathNode("msqrt",[NF(r,t)])}});var fI={display:mO.DISPLAY,text:mO.TEXT,script:mO.SCRIPT,scriptscript:mO.SCRIPTSCRIPT};tF({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:n,parser:o}=e,i=o.parseExpression(!0,r),a=n.slice(1,n.length-5);return{type:"styling",mode:o.mode,style:a,body:i}},htmlBuilder(e,t){var r=fI[e.style],n=t.havingStyle(r).withFont("");return hI(e.body,n,t)},mathmlBuilder(e,t){var r=fI[e.style],n=t.havingStyle(r),o=kF(e.body,n),i=new xF.MathNode("mstyle",o),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return i.setAttribute("scriptlevel",a[0]),i.setAttribute("displaystyle",a[1]),i}});rF({type:"supsub",htmlBuilder(e,t){var r=function(e,t){var r=e.base;return r?"op"===r.type?r.limits&&(t.style.size===mO.DISPLAY.size||r.alwaysHandleSupSub)?sI:null:"operatorname"===r.type?r.alwaysHandleSupSub&&(t.style.size===mO.DISPLAY.size||r.limits)?dI:null:"accent"===r.type?oO.isCharacterBox(r.base)?jF:null:"horizBrace"===r.type&&!e.sub===r.isOver?rI:null:null}(e,t);if(r)return r(e,t);var n,o,i,{base:a,sup:s,sub:l}=e,u=mF(a,t),c=t.fontMetrics(),d=0,h=0,p=a&&oO.isCharacterBox(a);if(s){var f=t.havingStyle(t.style.sup());n=mF(s,f,t),p||(d=u.height-f.fontMetrics().supDrop*f.sizeMultiplier/t.sizeMultiplier)}if(l){var g=t.havingStyle(t.style.sub());o=mF(l,g,t),p||(h=u.depth+g.fontMetrics().subDrop*g.sizeMultiplier/t.sizeMultiplier)}i=t.style===mO.DISPLAY?c.sup1:t.style.cramped?c.sup3:c.sup2;var m,v=t.sizeMultiplier,y=RO(.5/c.ptPerEm/v),b=null;if(o){var w=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(u instanceof GO||w)&&(b=RO(-u.italic))}if(n&&o){d=Math.max(d,i,n.depth+.25*c.xHeight),h=Math.max(h,c.sub2);var E=4*c.defaultRuleThickness;if(d-n.depth-(o.height-h)<E){h=E-(d-n.depth)+o.height;var x=.8*c.xHeight-(d-n.depth);x>0&&(d+=x,h-=x)}var C=[{type:"elem",elem:o,shift:h,marginRight:y,marginLeft:b},{type:"elem",elem:n,shift:-d,marginRight:y}];m=GB.makeVList({positionType:"individualShift",children:C},t)}else if(o){h=Math.max(h,c.sub1,o.height-.8*c.xHeight);var S=[{type:"elem",elem:o,marginLeft:b,marginRight:y}];m=GB.makeVList({positionType:"shift",positionData:h,children:S},t)}else{if(!n)throw new Error("supsub must have either sup or sub.");d=Math.max(d,i,n.depth+.25*c.xHeight),m=GB.makeVList({positionType:"shift",positionData:-d,children:[{type:"elem",elem:n,marginRight:y}]},t)}var D=fF(u,"right")||"mord";return GB.makeSpan([D],[u,GB.makeSpan(["msupsub"],[m])],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 o,i=[NF(e.base,t)];if(e.sub&&i.push(NF(e.sub,t)),e.sup&&i.push(NF(e.sup,t)),n)o=r?"mover":"munder";else if(e.sub)if(e.sup){var a=e.base;o=a&&"op"===a.type&&a.limits&&t.style===mO.DISPLAY||a&&"operatorname"===a.type&&a.alwaysHandleSupSub&&(t.style===mO.DISPLAY||a.limits)?"munderover":"msubsup"}else{var s=e.base;o=s&&"op"===s.type&&s.limits&&(t.style===mO.DISPLAY||s.alwaysHandleSupSub)||s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(s.limits||t.style===mO.DISPLAY)?"munder":"msub"}else{var l=e.base;o=l&&"op"===l.type&&l.limits&&(t.style===mO.DISPLAY||l.alwaysHandleSupSub)||l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||t.style===mO.DISPLAY)?"mover":"msup"}return new xF.MathNode(o,i)}}),rF({type:"atom",htmlBuilder:(e,t)=>GB.mathsym(e.text,e.mode,t,["m"+e.family]),mathmlBuilder(e,t){var r=new xF.MathNode("mo",[CF(e.text,e.mode)]);if("bin"===e.family){var n=DF(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 gI={mi:"italic",mn:"normal",mtext:"normal"};rF({type:"mathord",htmlBuilder:(e,t)=>GB.makeOrd(e,t,"mathord"),mathmlBuilder(e,t){var r=new xF.MathNode("mi",[CF(e.text,e.mode,t)]),n=DF(e,t)||"italic";return n!==gI[r.type]&&r.setAttribute("mathvariant",n),r}}),rF({type:"textord",htmlBuilder:(e,t)=>GB.makeOrd(e,t,"textord"),mathmlBuilder(e,t){var r,n=CF(e.text,e.mode,t),o=DF(e,t)||"normal";return r="text"===e.mode?new xF.MathNode("mtext",[n]):/[0-9]/.test(e.text)?new xF.MathNode("mn",[n]):"\\prime"===e.text?new xF.MathNode("mo",[n]):new xF.MathNode("mi",[n]),o!==gI[r.type]&&r.setAttribute("mathvariant",o),r}});var mI={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},vI={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};rF({type:"spacing",htmlBuilder(e,t){if(vI.hasOwnProperty(e.text)){var r=vI[e.text].className||"";if("text"===e.mode){var n=GB.makeOrd(e,t,"textord");return n.classes.push(r),n}return GB.makeSpan(["mspace",r],[GB.mathsym(e.text,e.mode,t)],t)}if(mI.hasOwnProperty(e.text))return GB.makeSpan(["mspace",mI[e.text]],[],t);throw new QN('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){if(!vI.hasOwnProperty(e.text)){if(mI.hasOwnProperty(e.text))return new xF.MathNode("mspace");throw new QN('Unknown type of space "'+e.text+'"')}return new xF.MathNode("mtext",[new xF.TextNode(" ")])}});var yI=()=>{var e=new xF.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};rF({type:"tag",mathmlBuilder(e,t){var r=new xF.MathNode("mtable",[new xF.MathNode("mtr",[yI(),new xF.MathNode("mtd",[TF(e.body,t)]),yI(),new xF.MathNode("mtd",[TF(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var bI={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},wI={"\\textbf":"textbf","\\textmd":"textmd"},EI={"\\textit":"textit","\\textup":"textup"},xI=(e,t)=>{var r=e.font;return r?bI[r]?t.withTextFontFamily(bI[r]):wI[r]?t.withTextFontWeight(wI[r]):"\\emph"===r?"textit"===t.fontShape?t.withTextFontShape("textup"):t.withTextFontShape("textit"):t.withTextFontShape(EI[r]):t};tF({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,o=t[0];return{type:"text",mode:r.mode,body:oF(o),font:n}},htmlBuilder(e,t){var r=xI(e,t),n=cF(e.body,r,!0);return GB.makeSpan(["mord","text"],n,r)},mathmlBuilder(e,t){var r=xI(e,t);return TF(e.body,r)}}),tF({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=mF(e.body,t),n=GB.makeLineSpan("underline-line",t),o=t.fontMetrics().defaultRuleThickness,i=GB.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:o},{type:"elem",elem:n},{type:"kern",size:3*o},{type:"elem",elem:r}]},t);return GB.makeSpan(["mord","underline"],[i],t)},mathmlBuilder(e,t){var r=new xF.MathNode("mo",[new xF.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new xF.MathNode("munder",[NF(e.body,t),r]);return n.setAttribute("accentunder","true"),n}}),tF({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=mF(e.body,t),n=t.fontMetrics().axisHeight,o=.5*(r.height-n-(r.depth+n));return GB.makeVList({positionType:"shift",positionData:o,children:[{type:"elem",elem:r}]},t)},mathmlBuilder:(e,t)=>new xF.MathNode("mpadded",[NF(e.body,t)],["vcenter"])}),tF({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new QN("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=CI(e),n=[],o=t.havingStyle(t.style.text()),i=0;i<r.length;i++){var a=r[i];"~"===a&&(a="\\textasciitilde"),n.push(GB.makeSymbol(a,"Typewriter-Regular",e.mode,o,["mord","texttt"]))}return GB.makeSpan(["mord","text"].concat(o.sizingClasses(t)),GB.tryCombineChars(n),o)},mathmlBuilder(e,t){var r=new xF.TextNode(CI(e)),n=new xF.MathNode("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var CI=e=>e.body.replace(/ /g,e.star?"␣":" "),SI=JB,DI="[ \r\n\t]",AI="(\\\\[a-zA-Z@]+)"+DI+"*",kI="[̀-ͯ]",TI=new RegExp(kI+"+$"),NI="("+DI+"+)|\\\\(\n|[ \r\t]+\n?)[ \r\t]*|([!-\\[\\]-‧‪-퟿豈-￿]"+kI+"*|[\ud800-\udbff][\udc00-\udfff]"+kI+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5|"+AI+"|\\\\[^\ud800-\udfff])";class OI{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(NI,"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 JN("EOF",new ZN(this,t,t));var r=this.tokenRegex.exec(e);if(null===r||r.index!==t)throw new QN("Unexpected character: '"+e[t]+"'",new JN(e[t],new ZN(this,t,t+1)));var n=r[6]||r[3]||(r[2]?"\\ ":" ");if(14===this.catcodes[n]){var o=e.indexOf("\n",this.tokenRegex.lastIndex);return-1===o?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=o+1,this.lex()}return new JN(n,new ZN(this,t,this.tokenRegex.lastIndex))}}class BI{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 QN("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 o=this.undefStack[this.undefStack.length-1];o&&!o.hasOwnProperty(e)&&(o[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t}}var FI=RM;LM("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}}),LM("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}}),LM("\\@firstoftwo",function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}}),LM("\\@secondoftwo",function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}}),LM("\\@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}}),LM("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),LM("\\TextOrMath",function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var MI={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};LM("\\char",function(e){var t,r=e.popToken(),n="";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 QN("\\char` missing argument");n=r.text.charCodeAt(0)}else t=10;if(t){if(null==(n=MI[r.text])||n>=t)throw new QN("Invalid base-"+t+" digit "+r.text);for(var o;null!=(o=MI[e.future().text])&&o<t;)n*=t,n+=o,e.popToken()}return"\\@char{"+n+"}"});var II=(e,t,r,n)=>{var o=e.consumeArg().tokens;if(1!==o.length)throw new QN("\\newcommand's first argument must be a macro name");var i=o[0].text,a=e.isDefined(i);if(a&&!t)throw new QN("\\newcommand{"+i+"} attempting to redefine "+i+"; use \\renewcommand");if(!a&&!r)throw new QN("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var s=0;if(1===(o=e.consumeArg().tokens).length&&"["===o[0].text){for(var l="",u=e.expandNextToken();"]"!==u.text&&"EOF"!==u.text;)l+=u.text,u=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new QN("Invalid number of arguments: "+l);s=parseInt(l),o=e.consumeArg().tokens}return a&&n||e.macros.set(i,{tokens:o,numArgs:s}),""};LM("\\newcommand",e=>II(e,!1,!0,!1)),LM("\\renewcommand",e=>II(e,!0,!1,!1)),LM("\\providecommand",e=>II(e,!0,!0,!0)),LM("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(e=>e.text).join("")),""}),LM("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(e=>e.text).join("")),""}),LM("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),SI[r],QO.math[r],QO.text[r]),""}),LM("\\bgroup","{"),LM("\\egroup","}"),LM("~","\\nobreakspace"),LM("\\lq","`"),LM("\\rq","'"),LM("\\aa","\\r a"),LM("\\AA","\\r A"),LM("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),LM("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),LM("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),LM("ℬ","\\mathscr{B}"),LM("ℰ","\\mathscr{E}"),LM("ℱ","\\mathscr{F}"),LM("ℋ","\\mathscr{H}"),LM("ℐ","\\mathscr{I}"),LM("ℒ","\\mathscr{L}"),LM("ℳ","\\mathscr{M}"),LM("ℛ","\\mathscr{R}"),LM("ℭ","\\mathfrak{C}"),LM("ℌ","\\mathfrak{H}"),LM("ℨ","\\mathfrak{Z}"),LM("\\Bbbk","\\Bbb{k}"),LM("·","\\cdotp"),LM("\\llap","\\mathllap{\\textrm{#1}}"),LM("\\rlap","\\mathrlap{\\textrm{#1}}"),LM("\\clap","\\mathclap{\\textrm{#1}}"),LM("\\mathstrut","\\vphantom{(}"),LM("\\underbar","\\underline{\\text{#1}}"),LM("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),LM("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),LM("\\ne","\\neq"),LM("≠","\\neq"),LM("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),LM("∉","\\notin"),LM("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),LM("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),LM("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),LM("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),LM("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),LM("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),LM("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),LM("⟂","\\perp"),LM("‼","\\mathclose{!\\mkern-0.8mu!}"),LM("∌","\\notni"),LM("⌜","\\ulcorner"),LM("⌝","\\urcorner"),LM("⌞","\\llcorner"),LM("⌟","\\lrcorner"),LM("©","\\copyright"),LM("®","\\textregistered"),LM("️","\\textregistered"),LM("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),LM("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),LM("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),LM("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),LM("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),LM("⋮","\\vdots"),LM("\\varGamma","\\mathit{\\Gamma}"),LM("\\varDelta","\\mathit{\\Delta}"),LM("\\varTheta","\\mathit{\\Theta}"),LM("\\varLambda","\\mathit{\\Lambda}"),LM("\\varXi","\\mathit{\\Xi}"),LM("\\varPi","\\mathit{\\Pi}"),LM("\\varSigma","\\mathit{\\Sigma}"),LM("\\varUpsilon","\\mathit{\\Upsilon}"),LM("\\varPhi","\\mathit{\\Phi}"),LM("\\varPsi","\\mathit{\\Psi}"),LM("\\varOmega","\\mathit{\\Omega}"),LM("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),LM("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),LM("\\boxed","\\fbox{$\\displaystyle{#1}$}"),LM("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),LM("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),LM("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),LM("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),LM("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var PI={",":"\\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"};LM("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in PI?t=PI[r]:("\\not"===r.slice(0,4)||r in QO.math&&["bin","rel"].includes(QO.math[r].group))&&(t="\\dotsb"),t});var RI={")":!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};LM("\\dotso",function(e){return e.future().text in RI?"\\ldots\\,":"\\ldots"}),LM("\\dotsc",function(e){var t=e.future().text;return t in RI&&","!==t?"\\ldots\\,":"\\ldots"}),LM("\\cdots",function(e){return e.future().text in RI?"\\@cdots\\,":"\\@cdots"}),LM("\\dotsb","\\cdots"),LM("\\dotsm","\\cdots"),LM("\\dotsi","\\!\\cdots"),LM("\\dotsx","\\ldots\\,"),LM("\\DOTSI","\\relax"),LM("\\DOTSB","\\relax"),LM("\\DOTSX","\\relax"),LM("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),LM("\\,","\\tmspace+{3mu}{.1667em}"),LM("\\thinspace","\\,"),LM("\\>","\\mskip{4mu}"),LM("\\:","\\tmspace+{4mu}{.2222em}"),LM("\\medspace","\\:"),LM("\\;","\\tmspace+{5mu}{.2777em}"),LM("\\thickspace","\\;"),LM("\\!","\\tmspace-{3mu}{.1667em}"),LM("\\negthinspace","\\!"),LM("\\negmedspace","\\tmspace-{4mu}{.2222em}"),LM("\\negthickspace","\\tmspace-{5mu}{.277em}"),LM("\\enspace","\\kern.5em "),LM("\\enskip","\\hskip.5em\\relax"),LM("\\quad","\\hskip1em\\relax"),LM("\\qquad","\\hskip2em\\relax"),LM("\\tag","\\@ifstar\\tag@literal\\tag@paren"),LM("\\tag@paren","\\tag@literal{({#1})}"),LM("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new QN("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),LM("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),LM("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),LM("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),LM("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),LM("\\newline","\\\\\\relax"),LM("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var LI=RO(CO["Main-Regular"]["T".charCodeAt(0)][1]-.7*CO["Main-Regular"]["A".charCodeAt(0)][1]);LM("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+LI+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),LM("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+LI+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),LM("\\hspace","\\@ifstar\\@hspacer\\@hspace"),LM("\\@hspace","\\hskip #1\\relax"),LM("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),LM("\\ordinarycolon",":"),LM("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),LM("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),LM("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),LM("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),LM("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),LM("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),LM("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),LM("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),LM("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),LM("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),LM("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),LM("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),LM("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),LM("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),LM("∷","\\dblcolon"),LM("∹","\\eqcolon"),LM("≔","\\coloneqq"),LM("≕","\\eqqcolon"),LM("⩴","\\Coloneqq"),LM("\\ratio","\\vcentcolon"),LM("\\coloncolon","\\dblcolon"),LM("\\colonequals","\\coloneqq"),LM("\\coloncolonequals","\\Coloneqq"),LM("\\equalscolon","\\eqqcolon"),LM("\\equalscoloncolon","\\Eqqcolon"),LM("\\colonminus","\\coloneq"),LM("\\coloncolonminus","\\Coloneq"),LM("\\minuscolon","\\eqcolon"),LM("\\minuscoloncolon","\\Eqcolon"),LM("\\coloncolonapprox","\\Colonapprox"),LM("\\coloncolonsim","\\Colonsim"),LM("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),LM("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),LM("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),LM("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),LM("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),LM("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),LM("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),LM("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),LM("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),LM("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),LM("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),LM("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),LM("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),LM("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),LM("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),LM("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),LM("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),LM("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),LM("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),LM("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),LM("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),LM("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),LM("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),LM("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),LM("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),LM("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),LM("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),LM("\\imath","\\html@mathml{\\@imath}{ı}"),LM("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),LM("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),LM("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),LM("⟦","\\llbracket"),LM("⟧","\\rrbracket"),LM("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),LM("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),LM("⦃","\\lBrace"),LM("⦄","\\rBrace"),LM("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),LM("⦵","\\minuso"),LM("\\darr","\\downarrow"),LM("\\dArr","\\Downarrow"),LM("\\Darr","\\Downarrow"),LM("\\lang","\\langle"),LM("\\rang","\\rangle"),LM("\\uarr","\\uparrow"),LM("\\uArr","\\Uparrow"),LM("\\Uarr","\\Uparrow"),LM("\\N","\\mathbb{N}"),LM("\\R","\\mathbb{R}"),LM("\\Z","\\mathbb{Z}"),LM("\\alef","\\aleph"),LM("\\alefsym","\\aleph"),LM("\\Alpha","\\mathrm{A}"),LM("\\Beta","\\mathrm{B}"),LM("\\bull","\\bullet"),LM("\\Chi","\\mathrm{X}"),LM("\\clubs","\\clubsuit"),LM("\\cnums","\\mathbb{C}"),LM("\\Complex","\\mathbb{C}"),LM("\\Dagger","\\ddagger"),LM("\\diamonds","\\diamondsuit"),LM("\\empty","\\emptyset"),LM("\\Epsilon","\\mathrm{E}"),LM("\\Eta","\\mathrm{H}"),LM("\\exist","\\exists"),LM("\\harr","\\leftrightarrow"),LM("\\hArr","\\Leftrightarrow"),LM("\\Harr","\\Leftrightarrow"),LM("\\hearts","\\heartsuit"),LM("\\image","\\Im"),LM("\\infin","\\infty"),LM("\\Iota","\\mathrm{I}"),LM("\\isin","\\in"),LM("\\Kappa","\\mathrm{K}"),LM("\\larr","\\leftarrow"),LM("\\lArr","\\Leftarrow"),LM("\\Larr","\\Leftarrow"),LM("\\lrarr","\\leftrightarrow"),LM("\\lrArr","\\Leftrightarrow"),LM("\\Lrarr","\\Leftrightarrow"),LM("\\Mu","\\mathrm{M}"),LM("\\natnums","\\mathbb{N}"),LM("\\Nu","\\mathrm{N}"),LM("\\Omicron","\\mathrm{O}"),LM("\\plusmn","\\pm"),LM("\\rarr","\\rightarrow"),LM("\\rArr","\\Rightarrow"),LM("\\Rarr","\\Rightarrow"),LM("\\real","\\Re"),LM("\\reals","\\mathbb{R}"),LM("\\Reals","\\mathbb{R}"),LM("\\Rho","\\mathrm{P}"),LM("\\sdot","\\cdot"),LM("\\sect","\\S"),LM("\\spades","\\spadesuit"),LM("\\sub","\\subset"),LM("\\sube","\\subseteq"),LM("\\supe","\\supseteq"),LM("\\Tau","\\mathrm{T}"),LM("\\thetasym","\\vartheta"),LM("\\weierp","\\wp"),LM("\\Zeta","\\mathrm{Z}"),LM("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),LM("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),LM("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),LM("\\bra","\\mathinner{\\langle{#1}|}"),LM("\\ket","\\mathinner{|{#1}\\rangle}"),LM("\\braket","\\mathinner{\\langle{#1}\\rangle}"),LM("\\Bra","\\left\\langle#1\\right|"),LM("\\Ket","\\left|#1\\right\\rangle");var _I=e=>t=>{var r=t.consumeArg().tokens,n=t.consumeArg().tokens,o=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();var l=t=>r=>{e&&(r.macros.set("|",a),o.length&&r.macros.set("\\|",s));var i=t;!t&&o.length&&("|"===r.future().text&&(r.popToken(),i=!0));return{tokens:i?o:n,numArgs:0}};t.macros.set("|",l(!1)),o.length&&t.macros.set("\\|",l(!0));var u=t.consumeArg().tokens,c=t.expandTokens([...i,...u,...r]);return t.macros.endGroup(),{tokens:c.reverse(),numArgs:0}};LM("\\bra@ket",_I(!1)),LM("\\bra@set",_I(!0)),LM("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),LM("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),LM("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),LM("\\angln","{\\angl n}"),LM("\\blue","\\textcolor{##6495ed}{#1}"),LM("\\orange","\\textcolor{##ffa500}{#1}"),LM("\\pink","\\textcolor{##ff00af}{#1}"),LM("\\red","\\textcolor{##df0030}{#1}"),LM("\\green","\\textcolor{##28ae7b}{#1}"),LM("\\gray","\\textcolor{gray}{#1}"),LM("\\purple","\\textcolor{##9d38bd}{#1}"),LM("\\blueA","\\textcolor{##ccfaff}{#1}"),LM("\\blueB","\\textcolor{##80f6ff}{#1}"),LM("\\blueC","\\textcolor{##63d9ea}{#1}"),LM("\\blueD","\\textcolor{##11accd}{#1}"),LM("\\blueE","\\textcolor{##0c7f99}{#1}"),LM("\\tealA","\\textcolor{##94fff5}{#1}"),LM("\\tealB","\\textcolor{##26edd5}{#1}"),LM("\\tealC","\\textcolor{##01d1c1}{#1}"),LM("\\tealD","\\textcolor{##01a995}{#1}"),LM("\\tealE","\\textcolor{##208170}{#1}"),LM("\\greenA","\\textcolor{##b6ffb0}{#1}"),LM("\\greenB","\\textcolor{##8af281}{#1}"),LM("\\greenC","\\textcolor{##74cf70}{#1}"),LM("\\greenD","\\textcolor{##1fab54}{#1}"),LM("\\greenE","\\textcolor{##0d923f}{#1}"),LM("\\goldA","\\textcolor{##ffd0a9}{#1}"),LM("\\goldB","\\textcolor{##ffbb71}{#1}"),LM("\\goldC","\\textcolor{##ff9c39}{#1}"),LM("\\goldD","\\textcolor{##e07d10}{#1}"),LM("\\goldE","\\textcolor{##a75a05}{#1}"),LM("\\redA","\\textcolor{##fca9a9}{#1}"),LM("\\redB","\\textcolor{##ff8482}{#1}"),LM("\\redC","\\textcolor{##f9685d}{#1}"),LM("\\redD","\\textcolor{##e84d39}{#1}"),LM("\\redE","\\textcolor{##bc2612}{#1}"),LM("\\maroonA","\\textcolor{##ffbde0}{#1}"),LM("\\maroonB","\\textcolor{##ff92c6}{#1}"),LM("\\maroonC","\\textcolor{##ed5fa6}{#1}"),LM("\\maroonD","\\textcolor{##ca337c}{#1}"),LM("\\maroonE","\\textcolor{##9e034e}{#1}"),LM("\\purpleA","\\textcolor{##ddd7ff}{#1}"),LM("\\purpleB","\\textcolor{##c6b9fc}{#1}"),LM("\\purpleC","\\textcolor{##aa87ff}{#1}"),LM("\\purpleD","\\textcolor{##7854ab}{#1}"),LM("\\purpleE","\\textcolor{##543b78}{#1}"),LM("\\mintA","\\textcolor{##f5f9e8}{#1}"),LM("\\mintB","\\textcolor{##edf2df}{#1}"),LM("\\mintC","\\textcolor{##e0e5cc}{#1}"),LM("\\grayA","\\textcolor{##f6f7f7}{#1}"),LM("\\grayB","\\textcolor{##f0f1f2}{#1}"),LM("\\grayC","\\textcolor{##e3e5e6}{#1}"),LM("\\grayD","\\textcolor{##d6d8da}{#1}"),LM("\\grayE","\\textcolor{##babec2}{#1}"),LM("\\grayF","\\textcolor{##888d93}{#1}"),LM("\\grayG","\\textcolor{##626569}{#1}"),LM("\\grayH","\\textcolor{##3b3e40}{#1}"),LM("\\grayI","\\textcolor{##21242c}{#1}"),LM("\\kaBlue","\\textcolor{##314453}{#1}"),LM("\\kaGreen","\\textcolor{##71B307}{#1}");var zI={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class HI{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 BI(FI,t.macros),this.mode=r,this.stack=[]}feed(e){this.lexer=new OI(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 JN("EOF",r.loc)),this.pushTokens(n),new JN("",ZN.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,o=this.future(),i=0,a=0;do{if(n=this.popToken(),t.push(n),"{"===n.text)++i;else if("}"===n.text){if(-1===--i)throw new QN("Extra }",n)}else if("EOF"===n.text)throw new QN("Unexpected end of input in a macro argument, expected '"+(e&&r?e[a]:"}")+"'",n);if(e&&r)if((0===i||1===i&&"{"===e[a])&&n.text===e[a]){if(++a===e.length){t.splice(-a,a);break}}else a=0}while(0!==i||r);return"{"===o.text&&"}"===t[t.length-1].text&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:o,end:n}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new QN("The length of delimiters doesn't match the number of args!");for(var r=t[0],n=0;n<r.length;n++){var o=this.popToken();if(r[n]!==o.text)throw new QN("Use of the macro doesn't match its definition",o)}}for(var i=[],a=0;a<e;a++)i.push(this.consumeArg(t&&t[a+1]).tokens);return i}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new QN("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 QN("Undefined control sequence: "+r);return this.pushToken(t),!1}this.countExpansion(1);var o=n.tokens,i=this.consumeArgs(n.numArgs,n.delimiters);if(n.numArgs)for(var a=(o=o.slice()).length-1;a>=0;--a){var s=o[a];if("#"===s.text){if(0===a)throw new QN("Incomplete placeholder at end of macro body",s);if("#"===(s=o[--a]).text)o.splice(a+1,1);else{if(!/^[1-9]$/.test(s.text))throw new QN("Not a valid argument number",s);o.splice(a,2,...i[+s.text-1])}}}return this.pushTokens(o),o.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(!1===this.expandOnce()){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new JN(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 o=0;if(-1!==n.indexOf("#"))for(var i=n.replace(/##/g,"");-1!==i.indexOf("#"+(o+1));)++o;for(var a=new OI(n,this.settings),s=[],l=a.lex();"EOF"!==l.text;)s.push(l),l=a.lex();return s.reverse(),{tokens:s,numArgs:o}}return n}isDefined(e){return this.macros.has(e)||SI.hasOwnProperty(e)||QO.math.hasOwnProperty(e)||QO.text.hasOwnProperty(e)||zI.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return null!=t?"string"==typeof t||"function"==typeof t||!t.unexpandable:SI.hasOwnProperty(e)&&!SI[e].primitive}}var jI=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,VI=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),$I={"́":{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"}},UI={"á":"á","à":"à","ä":"ä","ǟ":"ǟ","ã":"ã","ā":"ā","ă":"ă","ắ":"ắ","ằ":"ằ","ẵ":"ẵ","ǎ":"ǎ","â":"â","ấ":"ấ","ầ":"ầ","ẫ":"ẫ","ȧ":"ȧ","ǡ":"ǡ","å":"å","ǻ":"ǻ","ḃ":"ḃ","ć":"ć","ḉ":"ḉ","č":"č","ĉ":"ĉ","ċ":"ċ","ç":"ç","ď":"ď","ḋ":"ḋ","ḑ":"ḑ","é":"é","è":"è","ë":"ë","ẽ":"ẽ","ē":"ē","ḗ":"ḗ","ḕ":"ḕ","ĕ":"ĕ","ḝ":"ḝ","ě":"ě","ê":"ê","ế":"ế","ề":"ề","ễ":"ễ","ė":"ė","ȩ":"ȩ","ḟ":"ḟ","ǵ":"ǵ","ḡ":"ḡ","ğ":"ğ","ǧ":"ǧ","ĝ":"ĝ","ġ":"ġ","ģ":"ģ","ḧ":"ḧ","ȟ":"ȟ","ĥ":"ĥ","ḣ":"ḣ","ḩ":"ḩ","í":"í","ì":"ì","ï":"ï","ḯ":"ḯ","ĩ":"ĩ","ī":"ī","ĭ":"ĭ","ǐ":"ǐ","î":"î","ǰ":"ǰ","ĵ":"ĵ","ḱ":"ḱ","ǩ":"ǩ","ķ":"ķ","ĺ":"ĺ","ľ":"ľ","ļ":"ļ","ḿ":"ḿ","ṁ":"ṁ","ń":"ń","ǹ":"ǹ","ñ":"ñ","ň":"ň","ṅ":"ṅ","ņ":"ņ","ó":"ó","ò":"ò","ö":"ö","ȫ":"ȫ","õ":"õ","ṍ":"ṍ","ṏ":"ṏ","ȭ":"ȭ","ō":"ō","ṓ":"ṓ","ṑ":"ṑ","ŏ":"ŏ","ǒ":"ǒ","ô":"ô","ố":"ố","ồ":"ồ","ỗ":"ỗ","ȯ":"ȯ","ȱ":"ȱ","ő":"ő","ṕ":"ṕ","ṗ":"ṗ","ŕ":"ŕ","ř":"ř","ṙ":"ṙ","ŗ":"ŗ","ś":"ś","ṥ":"ṥ","š":"š","ṧ":"ṧ","ŝ":"ŝ","ṡ":"ṡ","ş":"ş","ẗ":"ẗ","ť":"ť","ṫ":"ṫ","ţ":"ţ","ú":"ú","ù":"ù","ü":"ü","ǘ":"ǘ","ǜ":"ǜ","ǖ":"ǖ","ǚ":"ǚ","ũ":"ũ","ṹ":"ṹ","ū":"ū","ṻ":"ṻ","ŭ":"ŭ","ǔ":"ǔ","û":"û","ů":"ů","ű":"ű","ṽ":"ṽ","ẃ":"ẃ","ẁ":"ẁ","ẅ":"ẅ","ŵ":"ŵ","ẇ":"ẇ","ẘ":"ẘ","ẍ":"ẍ","ẋ":"ẋ","ý":"ý","ỳ":"ỳ","ÿ":"ÿ","ỹ":"ỹ","ȳ":"ȳ","ŷ":"ŷ","ẏ":"ẏ","ẙ":"ẙ","ź":"ź","ž":"ž","ẑ":"ẑ","ż":"ż","Á":"Á","À":"À","Ä":"Ä","Ǟ":"Ǟ","Ã":"Ã","Ā":"Ā","Ă":"Ă","Ắ":"Ắ","Ằ":"Ằ","Ẵ":"Ẵ","Ǎ":"Ǎ","Â":"Â","Ấ":"Ấ","Ầ":"Ầ","Ẫ":"Ẫ","Ȧ":"Ȧ","Ǡ":"Ǡ","Å":"Å","Ǻ":"Ǻ","Ḃ":"Ḃ","Ć":"Ć","Ḉ":"Ḉ","Č":"Č","Ĉ":"Ĉ","Ċ":"Ċ","Ç":"Ç","Ď":"Ď","Ḋ":"Ḋ","Ḑ":"Ḑ","É":"É","È":"È","Ë":"Ë","Ẽ":"Ẽ","Ē":"Ē","Ḗ":"Ḗ","Ḕ":"Ḕ","Ĕ":"Ĕ","Ḝ":"Ḝ","Ě":"Ě","Ê":"Ê","Ế":"Ế","Ề":"Ề","Ễ":"Ễ","Ė":"Ė","Ȩ":"Ȩ","Ḟ":"Ḟ","Ǵ":"Ǵ","Ḡ":"Ḡ","Ğ":"Ğ","Ǧ":"Ǧ","Ĝ":"Ĝ","Ġ":"Ġ","Ģ":"Ģ","Ḧ":"Ḧ","Ȟ":"Ȟ","Ĥ":"Ĥ","Ḣ":"Ḣ","Ḩ":"Ḩ","Í":"Í","Ì":"Ì","Ï":"Ï","Ḯ":"Ḯ","Ĩ":"Ĩ","Ī":"Ī","Ĭ":"Ĭ","Ǐ":"Ǐ","Î":"Î","İ":"İ","Ĵ":"Ĵ","Ḱ":"Ḱ","Ǩ":"Ǩ","Ķ":"Ķ","Ĺ":"Ĺ","Ľ":"Ľ","Ļ":"Ļ","Ḿ":"Ḿ","Ṁ":"Ṁ","Ń":"Ń","Ǹ":"Ǹ","Ñ":"Ñ","Ň":"Ň","Ṅ":"Ṅ","Ņ":"Ņ","Ó":"Ó","Ò":"Ò","Ö":"Ö","Ȫ":"Ȫ","Õ":"Õ","Ṍ":"Ṍ","Ṏ":"Ṏ","Ȭ":"Ȭ","Ō":"Ō","Ṓ":"Ṓ","Ṑ":"Ṑ","Ŏ":"Ŏ","Ǒ":"Ǒ","Ô":"Ô","Ố":"Ố","Ồ":"Ồ","Ỗ":"Ỗ","Ȯ":"Ȯ","Ȱ":"Ȱ","Ő":"Ő","Ṕ":"Ṕ","Ṗ":"Ṗ","Ŕ":"Ŕ","Ř":"Ř","Ṙ":"Ṙ","Ŗ":"Ŗ","Ś":"Ś","Ṥ":"Ṥ","Š":"Š","Ṧ":"Ṧ","Ŝ":"Ŝ","Ṡ":"Ṡ","Ş":"Ş","Ť":"Ť","Ṫ":"Ṫ","Ţ":"Ţ","Ú":"Ú","Ù":"Ù","Ü":"Ü","Ǘ":"Ǘ","Ǜ":"Ǜ","Ǖ":"Ǖ","Ǚ":"Ǚ","Ũ":"Ũ","Ṹ":"Ṹ","Ū":"Ū","Ṻ":"Ṻ","Ŭ":"Ŭ","Ǔ":"Ǔ","Û":"Û","Ů":"Ů","Ű":"Ű","Ṽ":"Ṽ","Ẃ":"Ẃ","Ẁ":"Ẁ","Ẅ":"Ẅ","Ŵ":"Ŵ","Ẇ":"Ẇ","Ẍ":"Ẍ","Ẋ":"Ẋ","Ý":"Ý","Ỳ":"Ỳ","Ÿ":"Ÿ","Ỹ":"Ỹ","Ȳ":"Ȳ","Ŷ":"Ŷ","Ẏ":"Ẏ","Ź":"Ź","Ž":"Ž","Ẑ":"Ẑ","Ż":"Ż","ά":"ά","ὰ":"ὰ","ᾱ":"ᾱ","ᾰ":"ᾰ","έ":"έ","ὲ":"ὲ","ή":"ή","ὴ":"ὴ","ί":"ί","ὶ":"ὶ","ϊ":"ϊ","ΐ":"ΐ","ῒ":"ῒ","ῑ":"ῑ","ῐ":"ῐ","ό":"ό","ὸ":"ὸ","ύ":"ύ","ὺ":"ὺ","ϋ":"ϋ","ΰ":"ΰ","ῢ":"ῢ","ῡ":"ῡ","ῠ":"ῠ","ώ":"ώ","ὼ":"ὼ","Ύ":"Ύ","Ὺ":"Ὺ","Ϋ":"Ϋ","Ῡ":"Ῡ","Ῠ":"Ῠ","Ώ":"Ώ","Ὼ":"Ὼ"};class qI{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 HI(e,t,this.mode),this.settings=t,this.leftrightDepth=0}expect(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new QN("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 JN("}")),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(-1!==qI.endOfExpression.indexOf(n.text))break;if(t&&n.text===t)break;if(e&&SI[n.text]&&SI[n.text].infix)break;var o=this.parseAtom(t);if(!o)break;"internal"!==o.type&&r.push(o)}return"text"===this.mode&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(e){for(var t,r=-1,n=0;n<e.length;n++)if("infix"===e[n].type){if(-1!==r)throw new QN("only one infix operator per group",e[n].token);r=n,t=e[n].replaceWith}if(-1!==r&&t){var o,i,a=e.slice(0,r),s=e.slice(r+1);return o=1===a.length&&"ordgroup"===a[0].type?a[0]:{type:"ordgroup",mode:this.mode,body:a},i=1===s.length&&"ordgroup"===s[0].type?s[0]:{type:"ordgroup",mode:this.mode,body:s},["\\\\abovefrac"===t?this.callFunction(t,[o,e[r],i],[]):this.callFunction(t,[o,i],[])]}return e}handleSupSubscript(e){var t,r=this.fetch(),n=r.text;this.consume(),this.consumeSpaces();do{var o;t=this.parseGroup(e)}while("internal"===(null==(o=t)?void 0:o.type));if(!t)throw new QN("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 o=this.fetch();if("\\limits"===o.text||"\\nolimits"===o.text){if(n&&"op"===n.type){var i="\\limits"===o.text;n.limits=i,n.alwaysHandleSupSub=!0}else{if(!n||"operatorname"!==n.type)throw new QN("Limit controls must follow a math operator",o);n.alwaysHandleSupSub&&(n.limits="\\limits"===o.text)}this.consume()}else if("^"===o.text){if(t)throw new QN("Double superscript",o);t=this.handleSupSubscript("superscript")}else if("_"===o.text){if(r)throw new QN("Double subscript",o);r=this.handleSupSubscript("subscript")}else if("'"===o.text){if(t)throw new QN("Double superscript",o);var a={type:"textord",mode:this.mode,text:"\\prime"},s=[a];for(this.consume();"'"===this.fetch().text;)s.push(a),this.consume();"^"===this.fetch().text&&s.push(this.handleSupSubscript("superscript")),t={type:"ordgroup",mode:this.mode,body:s}}else{if(!VI[o.text])break;var l=jI.test(o.text),u=[];for(u.push(new JN(VI[o.text])),this.consume();;){var c=this.fetch().text;if(!VI[c])break;if(jI.test(c)!==l)break;u.unshift(new JN(VI[c])),this.consume()}var d=this.subparse(u);l?r={type:"ordgroup",mode:"math",body:d}:t={type:"ordgroup",mode:"math",body:d}}}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,o=SI[n];if(!o)return null;if(this.consume(),t&&"atom"!==t&&!o.allowedInArgument)throw new QN("Got function '"+n+"' with no arguments"+(t?" as "+t:""),r);if("text"===this.mode&&!o.allowedInText)throw new QN("Can't use function '"+n+"' in text mode",r);if("math"===this.mode&&!1===o.allowedInMath)throw new QN("Can't use function '"+n+"' in math mode",r);var{args:i,optArgs:a}=this.parseArguments(n,o);return this.callFunction(n,i,a,r,e)}callFunction(e,t,r,n,o){var i={funcName:e,parser:this,token:n,breakOnTokenText:o},a=SI[e];if(a&&a.handler)return a.handler(i,t,r);throw new QN("No function handler for "+e)}parseArguments(e,t){var r=t.numArgs+t.numOptionalArgs;if(0===r)return{args:[],optArgs:[]};for(var n=[],o=[],i=0;i<r;i++){var a=t.argTypes&&t.argTypes[i],s=i<t.numOptionalArgs;(t.primitive&&null==a||"sqrt"===t.type&&1===i&&null==o[0])&&(a="primitive");var l=this.parseGroupOfType("argument to '"+e+"'",a,s);if(s)o.push(l);else{if(null==l)throw new QN("Null argument, please report this as a bug");n.push(l)}}return{args:n,optArgs:o}}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"}:null;case"raw":var o=this.parseStringGroup("raw",r);return null!=o?{type:"raw",mode:"text",string:o.text}:null;case"primitive":if(r)throw new QN("A primitive argument cannot be optional");var i=this.parseGroup(e);if(null==i)throw new QN("Expected group as "+e,this.fetch());return i;case"original":case null:case void 0:return this.parseArgumentGroup(r);default:throw new QN("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,o="";"EOF"!==(n=this.fetch()).text;)o+=n.text,this.consume();return this.consume(),r.text=o,r}parseRegexGroup(e,t){for(var r,n=this.fetch(),o=n,i="";"EOF"!==(r=this.fetch()).text&&e.test(i+r.text);)i+=(o=r).text,this.consume();if(""===i)throw new QN("Invalid "+t+": '"+n.text+"'",n);return n.range(o,i)}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 QN("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 QN("Invalid size: '"+t.text+"'",t);var o={number:+(n[1]+n[2]),unit:n[3]};if(!IO(o))throw new QN("Invalid unit: '"+o.unit+"'",t);return{type:"size",mode:this.mode,value:o,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 o=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var i={type:"ordgroup",mode:this.mode,loc:r.loc,body:o};return t&&this.switchMode(n),i}parseGroup(e,t){var r,n=this.fetch(),o=n.text;if("{"===o||"\\begingroup"===o){this.consume();var i="{"===o?"}":"\\endgroup";this.gullet.beginGroup();var a=this.parseExpression(!1,i),s=this.fetch();this.expect(i),this.gullet.endGroup(),r={type:"ordgroup",mode:this.mode,loc:ZN.range(n,s),body:a,semisimple:"\\begingroup"===o||void 0}}else if(null==(r=this.parseFunction(t,e)||this.parseSymbol())&&"\\"===o[0]&&!zI.hasOwnProperty(o)){if(this.settings.throwOnError)throw new QN("Undefined control sequence: "+o,n);r=this.formatUnsupportedCmd(o),this.consume()}return r}formLigatures(e){for(var t=e.length-1,r=0;r<t;++r){var n=e[r],o=n.text;"-"===o&&"-"===e[r+1].text&&(r+1<t&&"-"===e[r+2].text?(e.splice(r,3,{type:"textord",mode:"text",loc:ZN.range(n,e[r+2]),text:"---"}),t-=2):(e.splice(r,2,{type:"textord",mode:"text",loc:ZN.range(n,e[r+1]),text:"--"}),t-=1)),"'"!==o&&"`"!==o||e[r+1].text!==o||(e.splice(r,2,{type:"textord",mode:"text",loc:ZN.range(n,e[r+1]),text:o+o}),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 QN("\\verb assertion failed --\n please report what input caused this bug");return{type:"verb",mode:"text",body:r=r.slice(1,-1),star:n}}UI.hasOwnProperty(t[0])&&!QO[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=UI[t[0]]+t.slice(1));var o,i=TI.exec(t);if(i&&("i"===(t=t.substring(0,i.index))?t="ı":"j"===t&&(t="ȷ")),QO[this.mode][t]){this.settings.strict&&"math"===this.mode&&BB.indexOf(t)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var a,s=QO[this.mode][t].group,l=ZN.range(e);if(ZO.hasOwnProperty(s)){var u=s;a={type:"atom",mode:this.mode,family:u,loc:l,text:t}}else a={type:s,mode:this.mode,loc:l,text:t};o=a}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(bO(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),o={type:"textord",mode:"text",loc:ZN.range(e),text:t}}if(this.consume(),i)for(var c=0;c<i[0].length;c++){var d=i[0][c];if(!$I[d])throw new QN("Unknown accent ' "+d+"'",e);var h=$I[d][this.mode]||$I[d].text;if(!h)throw new QN("Accent "+d+" unsupported in "+this.mode+" mode",e);o={type:"accent",mode:this.mode,loc:ZN.range(e),label:h,isStretchy:!1,isShifty:!0,base:o}}return o}}qI.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var GI=function(e,t){if(!("string"==typeof e||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var r=new qI(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 QN("\\tag works only in display equations");n=[{type:"tag",mode:"text",body:n,tag:r.subparse([new JN("\\df@tag")])}]}return n},WI=function(e,t,r){t.textContent="";var n=KI(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."),WI=function(){throw new QN("KaTeX doesn't work in quirks mode.")});var YI=function(e,t,r){if(r.throwOnError||!(e instanceof QN))throw e;var n=GB.makeSpan(["katex-error"],[new GO(t)]);return n.setAttribute("title",e.toString()),n.setAttribute("style","color:"+r.errorColor),n},KI=function(e,t){var r=new sO(t);try{return function(e,t,r){var n,o=BF(r);if("mathml"===r.output)return OF(e,t,o,r.displayMode,!0);if("html"===r.output){var i=yF(e,o);n=GB.makeSpan(["katex"],[i])}else{var a=OF(e,t,o,r.displayMode,!1),s=yF(e,o);n=GB.makeSpan(["katex"],[a,s])}return FF(n,r)}(GI(e,r),e,r)}catch(t){return YI(t,e,r)}},XI={version:"0.16.25",render:WI,renderToString:function(e,t){return KI(e,t).toMarkup()},ParseError:QN,SETTINGS_SCHEMA:iO,__parse:function(e,t){var r=new sO(t);return GI(e,r)},__renderToDomTree:KI,__renderToHTMLTree:function(e,t){var r=new sO(t);try{return function(e,t,r){var n=yF(e,BF(r)),o=GB.makeSpan(["katex"],[n]);return FF(o,r)}(GI(e,r),0,r)}catch(t){return YI(t,e,r)}},__setFontMetrics:function(e,t){CO[e]=t},__defineSymbol:eB,__defineFunction:tF,__defineMacro:LM,__domTree:{Span:VO,Anchor:$O,SymbolNode:GO,SvgNode:WO,PathNode:YO,LineNode:KO}},ZI=function(e){function t(){var t=e.call(this)||this,r=t.attachShadow({mode:"open"}),n=r.ownerDocument.createElement("span");return n.style.display="inline-block",r.appendChild(n),t.span=n,t}return Ng(t,e),Object.defineProperty(t,"observedAttributes",{get:function(){return["data-value"]},enumerable:!1,configurable:!0}),t.prototype.attributeChangedCallback=function(e,t,r){if("data-value"===e){if(t===r)return;this.render(r||"")}},t.prototype.render=function(e){XI.render(e,this.span,{throwOnError:!1,output:"mathml"})},t}(HTMLElement);window.customElements.get("w-e-formula-card")||window.customElements.define("w-e-formula-card",ZI),Gw("en",{formula:{formula:"Formula",placeholder:"Use LateX syntax",insert:"Insert formula",edit:"Edit formula",textToFormula:"Convert to formula",ok:"OK"}}),Gw("zh-CN",{formula:{formula:"公式",placeholder:"使用 LateX 语法",insert:"插入公式",edit:"编辑公式",textToFormula:"转换为公式",ok:"确定"}});var JI={type:"formula",elemToHtml:function(e,t){var r=e.value;return'<span data-w-e-type="formula" data-w-e-is-void data-w-e-is-inline data-value="'.concat(void 0===r?"":r,'"></span>')}},QI='<svg viewBox="0 0 1024 1024"><path d="M941.6 734.72L985.984 640H1024l-64 384H0v-74.24l331.552-391.2L0 227.008V0h980L1024 256h-34.368l-18.72-38.88C935.584 143.744 909.024 128 832 128H169.984l353.056 353.056L225.632 832H768c116 0 146.656-41.568 173.6-97.28z"></path></svg>';function eP(e){return void 0===e&&(e="r"),"".concat(e,"-").concat(Nv())}function tP(){return eP("w-e-insert-formula")}mv&&(Ym.fn.append=mv),pv&&(Ym.fn.html=pv),rv&&(Ym.fn.val=rv),nv&&(Ym.fn.on=nv),kv&&(Ym.fn.focus=kv),gv&&(Ym.fn.is=gv),bv&&(Ym.fn.parents=bv),wv&&(Ym.fn.find=wv);var rP=function(){function e(){this.title=Xw("formula.edit"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M864 0a160 160 0 0 1 128 256l-64 64-224-224 64-64c26.752-20.096 59.968-32 96-32zM64 736l-64 288 288-64 592-592-224-224L64 736z m651.584-372.416l-448 448-55.168-55.168 448-448 55.168 55.168z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.textareaId=tP(),this.buttonId=tP()}return e.prototype.getSelectedElem=function(e){var t=Oy.getSelectedNodeByType(e,"formula");return null==t?null:t},e.prototype.getValue=function(e){var t=this.getSelectedElem(e);return t&&t.value||""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||(!!Dp.isExpanded(t)||null==this.getSelectedElem(e))},e.prototype.getModalPositionNode=function(e){return this.getSelectedElem(e)},e.prototype.getModalContentElem=function(e){var t=this,r=this.textareaId,n=this.buttonId,o=Ig(lE(Xw("formula.formula"),r,Xw("formula.placeholder")),2),i=o[0],a=Ym(o[1]),s=Ig(uE(n,Xw("formula.ok")),1)[0];if(null==this.$content){var l=Ym("<div></div>");l.on("click","#".concat(n),function(n){n.preventDefault();var o=l.find("#".concat(r)).val().trim();t.updateFormula(e,o),e.hidePanelOrModal()}),this.$content=l}var u=this.$content;u.html(""),u.append(i),u.append(s);var c=this.getValue(e);return a.val(c),setTimeout(function(){a.focus()}),u[0]},e.prototype.updateFormula=function(e,t){if(t&&(e.restoreSelection(),!this.isDisabled(e))){var r=this.getSelectedElem(e);if(null!=r){var n=Oy.findPath(e,r),o={value:t};Vf.setNodes(e,o,{at:n})}}},e}();function nP(){return eP("w-e-insert-formula")}var oP=function(){function e(){this.title=Xw("formula.insert"),this.iconSvg=QI,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.textareaId=nP(),this.buttonId=nP()}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){if(null==e.selection)return!0;var t=Oy.getSelectedElems(e);return!!t.some(function(t){return e.isVoid(t)})||!!t.some(function(e){return"pre"===Oy.getNodeType(e)})},e.prototype.getModalPositionNode=function(e){return null},e.prototype.getModalContentElem=function(e){var t=this,r=this.textareaId,n=this.buttonId,o=Ig(lE(Xw("formula.formula"),r,Xw("formula.placeholder")),2),i=o[0],a=Ym(o[1]),s=Ig(uE(n,Xw("formula.ok")),1)[0];if(null==this.$content){var l=Ym("<div></div>");l.on("click","#".concat(n),function(n){n.preventDefault();var o=l.find("#".concat(r)).val().trim();t.insertFormula(e,o),e.hidePanelOrModal()}),this.$content=l}var u=this.$content;u.html(""),u.append(i),u.append(s);var c=e.selection,d="";return c&&Dp.isExpanded(c)&&(d=ff.string(e,c)),a.val(d),setTimeout(function(){a.focus()},50),u[0]},e.prototype.insertFormula=function(e,t){if(t&&(e.restoreSelection(),!this.isDisabled(e))){var r=e.selection,n={type:"formula",value:t,children:[{text:""}]};r&&Dp.isExpanded(r)&&Vf.delete(e),e.insertNode(n)}},e}();function iP(){return eP("w-e-text-to-formula")}var aP=function(){function e(){this.title=Xw("formula.textToFormula"),this.iconSvg=QI,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.textareaId=iP(),this.buttonId=iP()}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){if(null==im.insertFormula)return!0;if(null==e.selection)return!1;var t=Oy.getSelectedElems(e);return!!t.some(function(t){return e.isVoid(t)})||!!t.some(function(e){return"pre"===Oy.getNodeType(e)})},e.prototype.getModalPositionNode=function(e){return null},e.prototype.getModalContentElem=function(e){var t=this,r=this.textareaId,n=this.buttonId,o=Ig(lE(Xw("formula.formula"),r,Xw("formula.placeholder")),2),i=o[0],a=Ym(o[1]),s=Ig(uE(n,Xw("formula.ok")),1)[0];if(null==this.$content){var l=Ym("<div></div>");l.on("click","#".concat(n),function(n){n.preventDefault();var o,i=l.find("#".concat(r)).val().trim();o=i,console.warn("composeFnDeal 被调用了"),console.log("原始 latex:",o),o=function(e){return e?(e=e.trim(),/^\$\$([\s\S]*)\$\$$/.test(e)?e=e.replace(/^\$\$([\s\S]*)\$\$$/,"$1"):/^\$([\s\S]*)\$/.test(e)?e=e.replace(/^\$([\s\S]*)\$$/,"$1"):/^\\\(([\s\S]*)\\\)$/.test(e)?e=e.replace(/^\\\(([\s\S]*)\\\)$/,"$1"):/^\\\[([\s\S]*)\\\]$/.test(e)&&(e=e.replace(/^\\\[([\s\S]*)\\\]$/,"$1")),e.trim()):e}(o=function(e){return e.replace(/\\text\{([^}]*)\}/g,function(e,t){var r=t.trim().split(/\s+/).join(" \\quad ");return"\\text{".concat(r,"}")})}(o)),console.log("去掉公式包裹符号后:",o),o=function(e){return e?e=(e=(e=(e=(e=e.replace(/\\begin\{align\}/g,"\\begin{aligned}")).replace(/\\end\{align\}/g,"\\end{aligned}")).replace(/\\frac\{(\d+)\}\{(\d+)\}/g,"\\tfrac{$1}{$2}")).replace(/\\left\\\{/g,"\\left\\{")).replace(/\\right\./g,"\\right."):e}(o),console.log("fixKatexFormula 处理后:",o),o=function(e){return e.replace(/\\left\[\s*\\begin\{matrix\}([\s\S]*?)\\end\{matrix\}\s*\\right\]/g,"\\begin{bmatrix}$1\\end{bmatrix}")}(o),console.log("fixMatrixForKaTeX 处理后:",o),i=o,t.insertFormula(e,i),e.hidePanelOrModal()}),this.$content=l}var u=this.$content;u.html(""),u.append(i),u.append(s);var c=e.selection,d="";return c&&Dp.isExpanded(c)&&(d=ff.string(e,c)),a.val(d),setTimeout(function(){if(a.focus(),d){var e=a[0];e&&e.select()}},50),u[0]},e.prototype.insertFormula=function(e,t){if(t&&(e.restoreSelection(),!this.isDisabled(e))){var r=e.selection,n={type:"formula",value:t,children:[{text:""}]};r&&Dp.isExpanded(r)&&Vf.delete(e),e.insertNode(n)}},e}();var sP={type:"formula",renderElem:function(e,t,r){var n=Oy.isNodeSelected(r,e),o=e.value,i=ax("w-e-formula-card",{dataset:{value:void 0===o?"":o}},null);return ax("div",{className:"w-e-textarea-formula-container",props:{contentEditable:!1},style:{display:"inline-block",marginLeft:"3px",marginRight:"3px",border:n?"2px solid var(--w-e-textarea-selected-border-color)":"2px solid transparent",borderRadius:"3px",padding:"3px 3px"}},[i])}},lP={editorPlugin:function(e){var t=e.isInline,r=e.isVoid,n=e;return n.isInline=function(e){return"formula"===Oy.getNodeType(e)||t(e)},n.isVoid=function(e){return"formula"===Oy.getNodeType(e)||r(e)},n},renderElems:[sP],elemsToHtml:[JI],parseElemsHtml:[{selector:'span[data-w-e-type="formula"]',parseElemHtml:function(e,t,r){return{type:"formula",value:e.getAttribute("data-value")||"",children:[{text:""}]}}}],menus:[{key:"insertFormula",factory:function(){return new oP}},{key:"editFormula",factory:function(){return new rP}},{key:"textToFormula",factory:function(){return new aP}}]};Gw("en",{tableModule:{modal:{border:"Border",borderWidth:"Width",bgColor:"Back color",align:"Text Align",ok:"OK"},color:{default:"Default color",clear:"Clear back color"},borderStyle:{none:"None",solid:"Solid",dotted:"Dotted",dashed:"Dashed",double:"Double",groove:"Groove",ridge:"Ridge",inset:"Inset",outset:"Outset"},deleteCol:"Delete column",deleteRow:"Delete row",deleteTable:"Delete table",widthAuto:"Fit width",insertCol:"Insert column",insertRow:"Insert row",insertTable:"Insert table",header:"Header",column:"Title Column",mergeCell:"merge cell",splitCell:"split cell",tableProperty:"Table property",cellProperty:"Cell property"}}),Gw("zh-CN",{tableModule:{modal:{border:"边框",borderWidth:"宽度",bgColor:"背景色",align:"对齐方式",ok:"确定"},color:{default:"默认颜色",clear:"清除背景色"},borderStyle:{none:"无样式",solid:"实线",dotted:"点状虚线",dashed:"虚线",double:"双线",groove:"凹槽边框",ridge:"菱形边框",inset:"凹边框",outset:"凸边框"},deleteCol:"删除列",deleteRow:"删除行",deleteTable:"删除表格",widthAuto:"适应宽度",insertCol:"插入列",insertRow:"插入行",insertTable:"插入表格",header:"表头",column:"标题列",mergeCell:"合并单元格",splitCell:"拆分单元格",tableProperty:"表格属性",cellProperty:"单元格属性"}});var uP={type:"table",elemToHtml:function(e,t){var r=e,n=r.width,o=void 0===n?"auto":n,i=r.columnWidths,a=r.height,s=void 0===a?"auto":a,l=null==i?void 0:i.map(function(e){return"<col width=".concat(e,"></col>")}).join(""),u=l?'<colgroup contentEditable="false">'.concat(l,"</colgroup>"):"";return'<table style="width: '.concat(o,";table-layout: fixed;height:").concat(s,'">').concat(u,"<tbody>").concat(t,"</tbody></table>")}},cP={type:"table-row",elemToHtml:function(e,t){var r=e.height,n=r?' style="height: '.concat(r,'px"'):"";return"<tr".concat(n,">").concat(t,"</tr>")}},dP={type:"table-cell",elemToHtml:function(e,t){var r=e,n=r.colSpan,o=void 0===n?1:n,i=r.rowSpan,a=void 0===i?1:i,s=r.isHeader,l=void 0!==s&&s,u=r.width,c=void 0===u?"auto":u,d=r.hidden;if(void 0!==d&&d)return"";var h=l?"th":"td";return"<".concat(h,' colSpan="').concat(o,'" rowSpan="').concat(a,'" width="').concat(c,'">').concat(t,"</").concat(h,">")}},hP='<svg viewBox="0 0 1024 1024"><path d="M236.8 128L896 787.2V128H236.8z m614.4 704L192 172.8V832h659.2zM192 64h704c38.4 0 64 25.6 64 64v704c0 38.4-25.6 64-64 64H192c-38.4 0-64-25.6-64-64V128c0-38.4 25.6-64 64-64z"></path></svg>',pP={blocks:{td:"table-cell",th:"table-cell",content:"paragraph",tr:"table-row",table:"table",tbody:"table-body"}};function fP(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=pP,o=t.map(function(e){var t;return null===(t=null==n?void 0:n.blocks)||void 0===t?void 0:t[e]});return function(e){return function(e){return!ff.isEditor(e)&&kp.isElement(e)&&"type"in e}(e)&&o.includes(e.type)}}function gP(e,t){for(var r=Ig(t,2),n=r[0],o=r[1],i=[],a=2;a<arguments.length;a++)i[a-2]=arguments[a];var s=Ig(Fp.common(e,n,o),2),l=s[0],u=s[1];return!!fP.apply(void 0,Pg([e],Ig(i),!1))(l,u)||!!ff.above(e,{match:fP.apply(void 0,Pg([e],Ig(i),!1)),at:u})}function mP(e,t){var r,n;void 0===t&&(t={});var o=[];try{for(var i=Mg(function(e,t){var r,n,o,i,a,s,l,u,c,d,h,p,f,g,m,v,y,b;return void 0===t&&(t={}),Fg(this,function(w){switch(w.label){case 0:if(r=Ig(ff.nodes(e,{match:fP(e,"table"),at:t.at}),1),!(n=r[0]))return[2,[]];o=Ig(n,2),i=o[1],w.label=1;case 1:w.trys.push([1,6,7,8]),a=Mg(ff.nodes(e,{match:fP(e,"table"),at:i})),s=a.next(),w.label=2;case 2:if(s.done)return[3,5];l=Ig(s.value,2),u=l[1],c=[];try{for(y=void 0,d=Mg(ff.nodes(e,{match:fP(e,"tr"),at:u})),h=d.next();!h.done;h=d.next())p=Ig(h.value,2),f=p[1],c.push(Pg([],Ig(ff.nodes(e,{match:fP(e,"th","td"),at:f})),!1))}catch(e){y={error:e}}finally{try{h&&!h.done&&(b=d.return)&&b.call(d)}finally{if(y)throw y.error}}return[4,c];case 3:w.sent(),w.label=4;case 4:return s=a.next(),[3,2];case 5:return[3,8];case 6:return g=w.sent(),m={error:g},[3,8];case 7:try{s&&!s.done&&(v=a.return)&&v.call(a)}finally{if(m)throw m.error}return[7];case 8:return[2]}})}(e,{at:t.at})),a=i.next();!a.done;a=i.next()){for(var s=a.value,l=[],u=0,c=0;c<s.length;c+=1)s[c]&&(u=Math.max(u,s[c].length));for(c=0;c<s.length;c+=1)if(l[c]||(l[c]=[]),s[c])for(var d=0;d<s[c].length;d+=1)if(s[c][d]&&s[c][d][0]){for(var h=Ig(s[c][d],1)[0],p=h.rowSpan,f=void 0===p?1:p,g=h.colSpan,m=void 0===g?1:g,v=d;l[c]&&l[c][v];)v+=1;for(var y=0;y<m;y+=1)for(var b=0;b<f;b+=1){var w=c+b,E=v+y;l[w]||(l[w]=[]),l[w][E]||(l[w][E]=[s[c][d],{rtl:y+1,ltr:m-y,ttb:b+1,btt:f-b}])}}o.push.apply(o,Pg([],Ig(l),!1))}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return o}var vP=function(){function e(e,t){this.x=e,this.y=t}return e.valueOf=function(e,t){return new this(e,t)},e.equals=function(e,t){return e.x===t.x&&e.y===t.y},e}(),yP=new WeakMap,bP=new WeakMap,wP={isInTable:function(e,t){return void 0===t&&(t={}),!!Ig(ff.nodes(e,{match:fP(e,"table"),at:t.at}),1)[0]},selection:function(e){var t,r,n,o,i,a,s,l;return Fg(this,function(u){switch(u.label){case 0:t=yP.get(e),r=0,u.label=1;case 1:if(!(t&&r<t.length))return[3,4];for(n=[],o=0;o<t[r].length;o+=1)i=Ig(t[r][o],2),a=i[0],s=i[1],l=s.ltr,1===s.ttb&&n.push(a),o+=l-1;return[4,n];case 2:u.sent(),u.label=3;case 3:return r+=1,[3,1];case 4:return[2]}})},unselect:function(e){bP.delete(e),yP.delete(e)},isSelected:function(e,t){var r=bP.get(e);return!!r&&r.has(t)},hasSelected:function(e){return yP.has(e)}};function EP(e){return e.length?e[0].tagName.toLowerCase():""}function xP(e,t){for(var r="",n=(e.attr("style")||"").split(";"),o=n.length,i=0;i<o;i+=1){var a=n[i];if(a){var s=a.split(":");s[0].trim()===t&&(r=s[1].trim())}}return r}mv&&Ym.fn&&(Ym.fn.append=mv),nv&&Ym.fn&&(Ym.fn.on=nv),kv&&Ym.fn&&(Ym.fn.focus=kv),Jm&&Ym.fn&&(Ym.fn.attr=Jm),rv&&Ym.fn&&(Ym.fn.val=rv),pv&&Ym.fn&&(Ym.fn.html=pv),tv&&Ym.fn&&(Ym.fn.dataset=tv),Km&&Ym.fn&&(Ym.fn.addClass=Km),Xm&&Ym.fn&&(Ym.fn.removeClass=Xm),Ev&&Ym.fn&&(Ym.fn.children=Ev),dv&&Ym.fn&&(Ym.fn.each=dv),wv&&Ym.fn&&(Ym.fn.find=wv),ev&&Ym.fn&&(Ym.fn.data=ev),lv&&Ym.fn&&(Ym.fn.hide=lv),uv&&Ym.fn&&(Ym.fn.show=uv);var CP=["#f2f4f5","#febfbb","#ffdbb6","#fff798","#c5f1c0","#cddeff","#dacbfb","#e5e7eb","#bbbec4","#f86a65","#fda53c","#feea26","#63d256","#a2bcfe","#c3a5fb"];var SP=function(){function e(){this.title=Xw("tableModule.tableProperty"),this.iconSvg='<svg viewBox="0 0 20 20"><path d="M8 2v5h4V2h1v5h5v1h-5v4h.021l-.172.351-1.916.28-.151.027c-.287.063-.54.182-.755.341L8 13v5H7v-5H2v-1h5V8H2V7h5V2h1zm4 6H8v4h4V8z" opacity=".6"/><path d="m15.5 11.5 1.323 2.68 2.957.43-2.14 2.085.505 2.946L15.5 18.25l-2.645 1.39.505-2.945-2.14-2.086 2.957-.43L15.5 11.5zM17 1a2 2 0 0 1 2 2v9.475l-.85-.124-.857-1.736a2.048 2.048 0 0 0-.292-.44L17 3H3v14h7.808l.402.392L10.935 19H3a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h14z"/></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.menu="table",this.borderStyle=[{value:"none",label:Xw("tableModule.borderStyle.none")},{value:"solid",label:Xw("tableModule.borderStyle.solid")},{value:"dotted",label:Xw("tableModule.borderStyle.dotted")},{value:"dashed",label:Xw("tableModule.borderStyle.dashed")},{value:"double",label:Xw("tableModule.borderStyle.double")},{value:"groove",label:Xw("tableModule.borderStyle.groove")},{value:"ridge",label:Xw("tableModule.borderStyle.ridge")},{value:"inset",label:Xw("tableModule.borderStyle.inset")},{value:"outset",label:Xw("tableModule.borderStyle.outset")}],this.textAlignOptions=[{value:"left",label:Xw("justify.left"),svg:'<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>'},{value:"center",label:Xw("justify.center"),svg:'<svg viewBox="0 0 1024 1024"><path d="M870.4 793.6v102.4H153.6v-102.4h716.8z m102.4-230.4v102.4H51.2v-102.4h921.6z m-102.4-230.4v102.4H153.6v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>'},{value:"right",label:Xw("justify.right"),svg:'<svg viewBox="0 0 1024 1024"><path d="M972.8 793.6v102.4H256v-102.4h716.8z m0-230.4v102.4H51.2v-102.4h921.6z m0-230.4v102.4H256v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>'},{value:"justify",label:Xw("justify.justify"),svg:'<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z"></path></svg>'}]}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==Oy.getSelectedNodeByType(e,"table")},e.prototype.exec=function(e,t){},e.prototype.getModalContentNode=function(e){return Ig(ff.nodes(e,{match:fP(e,"table")}),1)[0]},e.prototype.getModalPositionNode=function(e){return null},e.prototype.getModalContentElem=function(e){var t=this,r=this.getModalContentNode(e);if(!r)return null;var n=Ig(r,2),o=n[0],i=n[1],a=Ym('<div>\n <label class="babel-container">\n <span>'.concat(Xw("tableModule.modal.border"),'</span>\n <span class="babel-container-border">\n <select name="borderStyle">\n ').concat(this.borderStyle.map(function(e){return'<option value="'.concat(e.value,'">').concat(e.label,"</option>")}).join(""),'\n </select>\n <span class="color-group" data-mark="color">\n <span class="color-group-block"></span>\n <input name="borderColor" type="hidden">\n </span>\n <input name="borderWidth" type="number" placeholder="').concat(Xw("tableModule.modal.borderWidth"),'">\n </span>\n </label>\n <div class="babel-container">\n <span>').concat(Xw("tableModule.modal.bgColor"),'</span>\n <span class="babel-container-background">\n <span class="color-group" data-mark="bgColor">\n <span class="color-group-block"></span>\n <input name="backgroundColor" type="hidden">\n </span>\n </span>\n </div>\n <label class="babel-container">\n <span>').concat(Xw("tableModule.modal.align"),'</span>\n <span class="babel-container-align">\n <select name="textAlign">\n ').concat(this.textAlignOptions.map(function(e){return'<option value="'.concat(e.value,'">').concat(e.label,"</option>")}).join(""),'\n </select>\n </span>\n </label>\n <div class="button-container">\n <button type="button">').concat(Xw("tableModule.modal.ok"),"</button>\n </div>\n </div>"));a.find("[name]").each(function(e){Ym(e).val(o[Ym(e).attr("name")])});var s=function(e,t){t?Ym(".color-group-block",e).css("background-color",t).empty():Ym(".color-group-block",e).css("background-color","").html(hP)};return a.find(".color-group").each(function(r){var n=Ym('[type="hidden"]',r).val()||"";s(r,n);var o=Ym(r);o.on("click",function(){a.find(".color-group .w-e-drop-panel").hide();var i=o.data("panel");i?i.show():(i=t.getPanelContentElem(e,{mark:o.data("mark"),selectedColor:n,callback:function(e){Ym('[type="hidden"]',r).val(e||""),s(r,e),i.hide()}}),o.append(i),o.data("panel",i))})}),a.find("button").on("click",function(){var r=Array.from(a.find("[name]")).reduce(function(e,t){return e[Ym(t).attr("name")]=Ym(t).val(),e},{}),n="cell"===t.menu?yP.get(e):null;if("cell"===t.menu&&(null==n?void 0:n.length)){n.forEach(function(t){t.forEach(function(t){Vf.setNodes(e,r,{at:t[0][1]})})});var o=n[0][0][0][1];Vf.select(e,{anchor:ff.start(e,o),focus:ff.start(e,o)})}else Vf.setNodes(e,r,{at:i});wP.unselect(e),setTimeout(function(){e.focus()})}),a[0]},e.prototype.getPanelContentElem=function(e,t){var r=t.mark,n=t.selectedColor,o=t.callback,i=e.getMenuConfig(r),a="bgColor"===r?CP:i.colors||[];if("bgColor"===r){var s=Ym('<ul class="w-e-panel-content-color w-e-panel-content-color-table-bg"></ul>');s.on("click","li",function(e){var t=e.target;if(t){e.preventDefault(),e.stopPropagation();var r="LI"===t.tagName?t:t.parentElement,n=r?r.getAttribute("data-value"):"";o(n)}});var l=Ym('\n <li data-value="" class="clear-block" title="'.concat(Xw("tableModule.color.clear"),'">\n ').concat(hP,"\n </li>\n "));s.append(l),a.forEach(function(e){var t=Ym('<li data-value="'.concat(e,'"></li>')),r=Ym('<div class="color-block" data-value="'.concat(e,'"></div>'));r.css("background-color",e),n===e&&t.addClass("active"),t.append(r),s.append(t)});var u=Ym('<div class="w-e-drop-panel"></div>');return u.append(s),u}var c=Ym('<ul class="w-e-panel-content-color"></ul>');c.on("click","li",function(e){var t=e.target;if(t){e.preventDefault(),e.stopPropagation();var r=Ym(t).attr("data-value");o(r)}}),a.forEach(function(e){var t=Ym('<div class="color-block" data-value="'.concat(e,'"></div>'));t.css("background-color",e);var r=Ym('<li data-value="'.concat(e,'"></li>'));n===e&&r.addClass("active"),r.append(t),c.append(r)});var d=Ym('\n <li data-value="" class="clear">\n '.concat(hP,"\n ").concat(Xw("tableModule.color.default"),"\n </li>\n "));c.prepend(d);var h=Ym('<div class="w-e-drop-panel"></div>');return h.append(c),h},e}(),DP=function(e){function t(){var t=e.apply(this,Pg([],Ig(arguments),!1))||this;return t.title=Xw("tableModule.cellProperty"),t.iconSvg='<svg viewBox="0 0 20 20"><path d="m11.105 18-.17 1H2.5A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1h15A1.5 1.5 0 0 1 19 2.5v9.975l-.85-.124-.15-.302V8h-5v4h.021l-.172.351-1.916.28-.151.027c-.287.063-.54.182-.755.341L8 13v5h3.105zM2 12h5V8H2v4zm10-4H8v4h4V8zM2 2v5h5V2H2zm0 16h5v-5H2v5zM13 7h5V2h-5v5zM8 2v5h4V2H8z" opacity=".6"/><path d="m15.5 11.5 1.323 2.68 2.957.43-2.14 2.085.505 2.946L15.5 18.25l-2.645 1.39.505-2.945-2.14-2.086 2.957-.43L15.5 11.5zM13 6a1 1 0 0 1 1 1v3.172a2.047 2.047 0 0 0-.293.443l-.858 1.736-1.916.28-.151.027A1.976 1.976 0 0 0 9.315 14H7a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h6zm-1 2H8v4h4V8z"/></svg>',t.tag="button",t.showModal=!0,t.modalWidth=300,t.menu="cell",t}return Ng(t,e),t.prototype.getModalContentNode=function(e){return Ig(ff.nodes(e,{match:fP(e,"td")}),1)[0]},t}(SP),AP=function(){function e(){this.title=Xw("tableModule.deleteCol"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M327.68 510.976L393.216 445.44v-13.1072L327.68 366.7968V510.976z m327.68-78.4384l65.536-65.536V507.904L655.36 442.368v-9.8304z m393.216 484.9664V0H0v917.504h1048.576z m-65.536-131.072h-262.144v-52.4288l-13.1072 13.1072-52.4288-52.4288v91.7504H393.216v-91.7504l-52.4288 52.4288-13.1072-13.1072v52.4288H65.536V65.536H327.68v121.2416l36.0448-36.0448 29.4912 29.4912V62.2592h262.144V180.224l49.152-49.152 16.384 16.384V62.2592h262.144V786.432z m-294.912-108.1344l-160.5632-160.5632-167.1168 167.1168-78.6432-78.6432 167.1168-167.1168L288.3584 278.528l78.6432-78.6432 160.5632 160.5632 163.84-163.84 78.6432 78.6432-163.84 163.84 160.5632 160.5632-78.6432 78.6432z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||(!Dp.isCollapsed(t)||null==Oy.getSelectedNodeByType(e,"table-cell"))},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var r=Ig(ff.nodes(e,{match:function(e){return Oy.checkNodeType(e,"table-cell")},universal:!0}),1),n=Ig(r[0],2),o=n[0],i=n[1],a=Oy.getParentNode(e,o),s=(null==a?void 0:a.children.length)||0;if(!a||s<=1)Vf.removeNodes(e,{mode:"highest"});else if(null!=Oy.getParentNode(e,a)){var l=mP(e),u=0;e:for(var c=0;c<l.length;c+=1)for(var d=0;d<l[c].length;d+=1){var h=Ig(l[c][d],1),p=Ig(h[0],2)[1];if(yp.equals(i,p)){u=d;break e}}ff.withoutNormalizing(e,function(){for(var t,r,n=new Set,o=new Set,i=0;i<l.length;i+=1)if(l[i]&&l[i][u]){var a=Ig(l[i][u],2),s=Ig(a[0],2)[1],c=a[1],d=c.rtl,h=c.ltr,p=c.ttb,f=c.btt,g=s.join(",");if(d>1||h>1||p>1||f>1){var m=i-(p-1),v=u-(d-1);if(m<0||m>=l.length||!l[m]||!l[m][v])continue;var y=Ig(l[m][v],1),b=Ig(y[0],2),w=b[0],E=b[1],x=E.join(",");if(!o.has(x)){o.add(x);var C=w.rowSpan,S=void 0===C?1:C,D=w.colSpan,A=void 0===D?1:D,k=Math.max(A-1,1);Vf.setNodes(e,{rowSpan:S,colSpan:k},{at:E})}}else n.add(g)}var T=Array.from(n);T.sort(function(e,t){var r=e.split(",").map(Number),n=t.split(",").map(Number);return r[r.length-2]!==n[n.length-2]?n[n.length-2]-r[r.length-2]:n[n.length-1]-r[r.length-1]});try{for(var N=Mg(T),O=N.next();!O.done;O=N.next()){var B=O.value.split(",").map(Number);try{ff.hasPath(e,B)&&Vf.removeNodes(e,{at:B})}catch(e){console.warn("删除单元格失败:",B,e)}}}catch(e){t={error:e}}finally{try{O&&!O.done&&(r=N.return)&&r.call(N)}finally{if(t)throw t.error}}var F=Ig(ff.nodes(e,{match:function(e){return Oy.checkNodeType(e,"table")},universal:!0}),1),M=F[0];if(M){var I=Ig(M,2),P=I[0],R=I[1],L=P.columnWidths,_=Pg([],Ig(void 0===L?[]:L),!1);_.splice(u,1),Vf.setNodes(e,{columnWidths:_},{at:R})}})}}},e}(),kP=function(){function e(){this.title=Xw("tableModule.deleteRow"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M907.6736 586.5472L747.1104 425.984l163.84-163.84-78.6432-78.6432-163.84 163.84L507.904 186.7776 429.2608 262.144l163.84 163.84-167.1168 167.1168 78.6432 78.6432 167.1168-167.1168 160.5632 160.5632 75.3664-78.6432zM0 917.504V0h1048.576v917.504H0z m983.04-327.68h-22.9376l-65.536-65.536H983.04V327.68h-91.7504l65.536-65.536h26.2144V65.536H65.536v196.608h317.8496l65.536 65.536H65.536v196.608h380.1088l-65.536 65.536H65.536v196.608H983.04v-196.608z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||(!Dp.isCollapsed(t)||null==Oy.getSelectedNodeByType(e,"table-row"))},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var r=Ig(ff.nodes(e,{match:function(e){return Oy.checkNodeType(e,"table-row")},universal:!0}),1),n=Ig(r[0],2),o=n[0],i=n[1],a=Oy.getParentNode(e,o);if(((null==a?void 0:a.children.length)||0)<=1)Vf.removeNodes(e,{mode:"highest"});else{var s=Ig(ff.nodes(e,{match:function(e){return Oy.checkNodeType(e,"table-cell")},universal:!0}),1),l=Ig(s[0],2)[1],u=mP(e),c=0;e:for(var d=0;d<u.length;d+=1)for(var h=0;h<u[d].length;h+=1){var p=Ig(u[d][h],1),f=Ig(p[0],2)[1];if(yp.equals(l,f)){c=d;break e}}ff.withoutNormalizing(e,function(){for(var t,r,n=[],o=0;o<u[c].length;o+=1){var a=Ig(u[c][o],2),s=Ig(a[0],1)[0].hidden,l=a[1],d=l.ttb,h=l.btt,p=l.rtl;if(d>1||h>1){var f=c-(d-1);if(f<0||f>=u.length||!u[f]||!u[f][o])continue;var g=Ig(u[f][o],1),m=Ig(g[0],2),v=m[0],y=m[1],b=v,w=b.rowSpan,E=void 0===w?1:w,x=b.colSpan,C=void 0===x?1:x;if(s)Vf.setNodes(e,{rowSpan:Math.max(E-1,1),colSpan:C},{at:y});else if(1===d&&1===p){if(c+1<u.length&&E>1){var S={type:"table-cell",rowSpan:E-1,colSpan:C,hidden:!1,children:b.children.map(function(e){return Og({},e)})};b.isHeader&&(S.isHeader=b.isHeader),b.width&&(S.width=b.width),b.backgroundColor&&(S.backgroundColor=b.backgroundColor),b.borderWidth&&(S.borderWidth=b.borderWidth),b.borderStyle&&(S.borderStyle=b.borderStyle),b.borderColor&&(S.borderColor=b.borderColor),b.textAlign&&(S.textAlign=b.textAlign),n.push({cell:S,columnIndex:o})}else Vf.setNodes(e,{rowSpan:Math.max(E-1,1),colSpan:C},{at:y})}else Vf.setNodes(e,{rowSpan:Math.max(E-1,1),colSpan:C},{at:y})}}if(Vf.removeNodes(e,{at:i}),n.length>0){var D=i;try{n.sort(function(e,t){return e.columnIndex-t.columnIndex});try{for(var A=Mg(n),k=A.next();!k.done;k=A.next()){var T=k.value,N=T.cell,O=T.columnIndex;try{var B=Pg(Pg([],Ig(D),!1),[O],!1);Vf.insertNodes(e,N,{at:B})}catch(t){try{var F=Ig(ff.node(e,D),1)[0].children.length,M=Pg(Pg([],Ig(D),!1),[F],!1);Vf.insertNodes(e,N,{at:M})}catch(e){console.warn("插入新单元格失败:",e)}}}}catch(e){t={error:e}}finally{try{k&&!k.done&&(r=A.return)&&r.call(A)}finally{if(t)throw t.error}}}catch(e){console.warn("插入新单元格失败:",e)}}})}}},e}(),TP=function(){function e(){this.title=Xw("tableModule.deleteTable"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M826.8032 356.5312c-19.328 0-36.3776 15.6928-36.3776 35.0464v524.2624c0 19.328-16 34.56-35.328 34.56H264.9344c-19.328 0-35.5072-15.3088-35.5072-34.56V390.0416c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.6928-33.5104 35.0464V915.712c0 57.9328 44.6208 108.288 102.528 108.288H755.2c57.9328 0 108.0832-50.4576 108.0832-108.288V391.4752c-0.1024-19.2512-17.1264-34.944-36.48-34.944z" p-id="9577"></path><path d="M437.1712 775.7568V390.6048c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.616-33.5104 35.0464v385.152c0 19.328 14.1568 35.0464 33.5104 35.0464s33.5104-15.7184 33.5104-35.0464zM649.7024 775.7568V390.6048c0-19.328-17.0496-35.0464-36.3776-35.0464s-36.3776 15.616-36.3776 35.0464v385.152c0 19.328 17.0496 35.0464 36.3776 35.0464s36.3776-15.7184 36.3776-35.0464zM965.0432 217.0368h-174.6176V145.5104c0-57.9328-47.2064-101.76-104.6528-101.76h-350.976c-57.8304 0-105.3952 43.8528-105.3952 101.76v71.5264H54.784c-19.4304 0-35.0464 14.1568-35.0464 33.5104 0 19.328 15.616 33.5104 35.0464 33.5104h910.3616c19.328 0 35.0464-14.1568 35.0464-33.5104 0-19.3536-15.6928-33.5104-35.1488-33.5104z m-247.3728 0H297.3952V145.5104c0-19.328 18.2016-34.7648 37.4272-34.7648h350.976c19.1488 0 31.872 15.1296 31.872 34.7648v71.5264z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection||null==Oy.getSelectedNodeByType(e,"table")},e.prototype.exec=function(e,t){this.isDisabled(e)||Vf.removeNodes(e,{mode:"highest"})},e}(),NP=function(){function e(){this.title=Xw("tableModule.widthAuto"),this.iconSvg='<svg viewBox="0 0 1228 1024"><path d="M862.514337 563.200461H404.581995v121.753478a13.311987 13.311987 0 0 1-6.655993 11.468789 10.23999 10.23999 0 0 1-12.083188-1.433599l-204.799795-179.199821a13.721586 13.721586 0 0 1 0-20.479979l204.799795-179.302221a10.23999 10.23999 0 0 1 12.185588-1.535998 13.209587 13.209587 0 0 1 6.553593 11.673588v115.097485h457.932342V319.693504a11.571188 11.571188 0 0 1 18.841582-10.239989l204.799795 179.19982a13.721586 13.721586 0 0 1 0 20.47998l-204.799795 179.199821a10.23999 10.23999 0 0 1-12.185588 1.535998 13.311987 13.311987 0 0 1-6.655994-11.571188V563.200461zM136.499064 14.951409v993.893406a15.257585 15.257585 0 0 1-15.155185 15.052785H15.155185A15.155185 15.155185 0 0 1 0 1008.844815V14.951409a15.257585 15.257585 0 0 1 15.155185-15.052785h106.086294a15.155185 15.155185 0 0 1 15.257585 15.155185zM1228.798771 14.951409v993.893406a15.257585 15.257585 0 0 1-15.155185 15.052785h-106.188693a15.155185 15.155185 0 0 1-15.155185-15.052785V14.951409a15.257585 15.257585 0 0 1 15.155185-15.052785h106.086293A15.155185 15.155185 0 0 1 1228.798771 15.053809z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return!1},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||(!Dp.isCollapsed(t)||null==Oy.getSelectedNodeByType(e,"table"))},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var r=Oy.getSelectedNodeByType(e,"table");if(r){var n=r.columnWidths,o=void 0===n?[]:n,i=Oy.toDOMNode(e,r).querySelector(".table-container");if(i&&0!==o.length){var a=i.clientWidth,s=o.reduce(function(e,t){return e+t},0),l=o.map(function(e){var t=e/s;return Math.floor(t*a)}),u=e.getMenuConfig("insertTable").minWidth,c=parseInt(String(void 0===u?60:u),10)||60,d=l.map(function(e){return Math.max(c,e)}),h=d.reduce(function(e,t){return e+t},0);if(h>a){var p=a/h,f=d.map(function(e){return Math.max(c,Math.floor(e*p))});m={width:"auto",columnWidths:f};Vf.setNodes(e,m,{mode:"highest"})}else{f=Pg([],Ig(d),!1);var g=a-h-1;g>0&&f.length>0&&(f[f.length-1]+=g);m={width:"auto",columnWidths:f};Vf.setNodes(e,m,{mode:"highest"})}}else{var m={width:"auto"};Vf.setNodes(e,m,{mode:"highest"})}}}},e}();function OP(e){var t=e.children||[];return 0===t.length?[]:(t[0]||{}).children||[]}function BP(e){return OP(e).every(function(e){return!!e.isHeader})}function FP(e,t){var r=Oy.getParentNode(e,t);if(null==r)return!1;var n=Oy.getParentNode(e,r);return null!=n&&OP(n).some(function(e){return e===t})}function MP(e){var t=e.children||[],r=[];return t.forEach(function(e){var t=e.children||[];t.length>0&&r.push(t[0])}),r}function IP(e){return MP(e).every(function(e){return!!e.isHeader})}function PP(e,t){var r=Oy.getParentNode(e,t);if(null==r)return!1;var n=r.children||[];return 0!==n.length&&n[0]===t}var RP=function(){function e(){this.title=Xw("tableModule.insertCol"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M327.68 193.3312v186.7776H140.9024v91.7504H327.68v186.7776h88.4736V471.8592h190.0544V380.1088H416.1536V193.3312zM0 917.504V0h1048.576v917.504H0zM655.36 65.536H65.536v720.896H655.36V65.536z m327.68 0h-262.144v196.608h262.144V65.536z m0 262.144h-262.144v196.608h262.144V327.68z m0 262.144h-262.144v196.608h262.144v-196.608z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;if(null==t)return!0;if(!Dp.isCollapsed(t))return!0;var r=Oy.getSelectedNodeByType(e,"table");if(null==r)return!0;try{var n=Ig(ff.nodes(e,{match:function(e){return Oy.checkNodeType(e,"table-cell")},universal:!0}),1),o=n[0];if(!o)return!0;for(var i=Ig(o,2)[1],a=mP(e),s=-1,l=0;l<a.length;l+=1){for(var u=0;u<a[l].length;u+=1){var c=Ig(a[l][u],1),d=Ig(c[0],2)[1];if(yp.equals(i,d)){s=u;break}}if(-1!==s)break}if(-1===s)return!0;var h=r.columnWidths,p=(void 0===h?[]:h)[s];if(p&&p<20)return!0}catch(e){return!0}return!1},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var r=Ig(ff.nodes(e,{match:function(e){return Oy.checkNodeType(e,"table-cell")},universal:!0}),1),n=Ig(r[0],2),o=n[0],i=n[1],a=Oy.getParentNode(e,o);if(null!=a){var s=Oy.getParentNode(e,a);if(null!=s){for(var l=mP(e),u=0,c=0;c<l.length;c+=1)for(var d=0;d<l[c].length;d+=1){var h=Ig(l[c][d],1),p=Ig(h[0],2)[1];if(yp.equals(i,p)){u=d;break}}ff.withoutNormalizing(e,function(){for(var t=new Set,r=new Set,n=0;n<l.length;n+=1)if(l[n]&&l[n][u]){var o=Ig(l[n][u],2);Ig(o[0],1);var i=o[1],a=i.rtl,c=i.ltr,d=i.ttb,h=i.btt;if(a>1||c>1||d>1||h>1){var p=n-(d-1),f=u-(a-1);if(p<0||p>=l.length||!l[p]||!l[p][f])continue;var g=Ig(l[p][f],1),m=Ig(g[0],2),v=m[0],y=m[1],b=y.join(",");if(t.has(b))r.add(n);else{t.add(b);var w=v.rowSpan,E=void 0===w?1:w,x=v.colSpan,C=(void 0===x?1:x)+1;v.hidden||Vf.setNodes(e,{colSpan:C},{at:y});for(var S=0;S<E;S+=1)r.add(p+S)}}}for(n=0;n<l.length;n+=1)if(!r.has(n)&&l[n]&&l[n][u]){var D={type:"table-cell",children:[{text:""}]};0===n&&BP(s)&&(D.isHeader=!0);var A=Ig(l[n][u],1),k=Ig(A[0],2)[1];Vf.insertNodes(e,D,{at:k})}var T=Ig(ff.nodes(e,{match:function(e){return Oy.checkNodeType(e,"table")},universal:!0}),1),N=T[0];if(N){var O=Ig(N,2),B=O[0],F=O[1],M=B.columnWidths,I=void 0===M?[]:M,P=Pg([],Ig(I),!1),R=e.getMenuConfig("insertTable").minWidth,L=void 0===R?60:R,_=I[u]||parseInt(L,10)||60,z=Math.floor(_/2),H=_-z;P.splice(u,0,z),P[u+1]=H,Vf.setNodes(e,{columnWidths:P},{at:F})}})}}}},e}(),LP=function(){function e(){this.title=Xw("tableModule.insertRow"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M707.7888 521.0112h-147.456v-147.456H488.2432v147.456h-147.456v68.8128h147.456v147.456h72.0896v-147.456h147.456zM0 917.504V0h1048.576v917.504H0zM327.68 65.536H65.536v196.608H327.68V65.536z m327.68 0H393.216v196.608h262.144V65.536z m327.68 0h-262.144v196.608h262.144V65.536z m0 258.8672H65.536v462.0288H983.04V324.4032z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||(!Dp.isCollapsed(t)||null==Oy.getSelectedNodeByType(e,"table"))},e.prototype.exec=function(e,t){var r;if(!this.isDisabled(e)){var n=Ig(ff.nodes(e,{match:function(e){return Oy.checkNodeType(e,"table-cell")},universal:!0}),1),o=Ig(n[0],2)[1],i=mP(e),a=0;e:for(var s=0;s<i.length;s+=1)for(var l=0;l<i[s].length;l+=1){var u=Ig(i[s][l],1),c=Ig(u[0],2)[1];if(yp.equals(o,c)){a=s;break e}}var d=(null===(r=i[a])||void 0===r?void 0:r.length)||0;0!==d&&ff.withoutNormalizing(e,function(){for(var t=a+1,r=t>=0&&t<i.length,n=[],s=0;r&&s<i[a].length;s+=1){var l=Ig(i[a][s],2)[1],u=l.ttb,c=l.btt;if(u>1||c>1){var h=a-(u-1);if(h<0||h>=i.length||!i[h]||!i[h][s])continue;var p=Ig(i[h][s],1),f=Ig(p[0],2),g=f[0],m=f[1],v=g.rowSpan||1;n.push(s),g.hidden||Vf.setNodes(e,{rowSpan:v+1},{at:m})}}for(var y=(e.getMenuConfig("insertTable")||{}).minRowHeight,b={type:"table-row",children:[],height:parseInt((void 0===y?30:y).toString(),10)||30},w=0;w<d;w+=1)if(!n.includes(w)){b.children.push({type:"table-cell",children:[{text:""}]})}var E=yp.parent(o),x=yp.next(E);Vf.insertNodes(e,b,{at:x})})}},e}();var _P=function(){function e(){this.title=Xw("tableModule.insertTable"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64v896h1024V64H0z m384 576v-192h256v192h-256z m256 64v192h-256v-192h256z m0-512v192h-256V192h256zM320 192v192H64V192h256z m-256 256h256v192H64v-192z m640 0h256v192h-256v-192z m0-64V192h256v192h-256zM64 704h256v192H64v-192z m640 192v-192h256v192h-256z"></path></svg>',this.tag="button",this.showDropPanel=!0,this.$content=null}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||(!Dp.isCollapsed(t)||!!Oy.getSelectedElems(e).some(function(t){var r=Oy.getNodeType(t);return"pre"===r||("table"===r||("list-item"===r||!!e.isVoid(t)))}))},e.prototype.getPanelContentElem=function(e){var t=this;if(this.$content)return this.$content[0];for(var r=Ym('<div class="w-e-panel-content-table"></div>'),n=Ym("<span>0 &times; 0</span>"),o=Ym("<table></table>"),i=0;i<10;i+=1){for(var a=Ym("<tr></tr>"),s=0;s<10;s+=1){var l=Ym("<td></td>");l.attr("data-x",s.toString()),l.attr("data-y",i.toString()),a.append(l),l.on("mouseenter",function(e){var t=e.target;if(null!=t){var r=Ym(t).dataset(),i=r.x,a=r.y;n[0].innerHTML="".concat(i+1," &times; ").concat(a+1),o.children().each(function(e){Ym(e).children().each(function(e){var t=Ym(e),r=t.dataset(),n=r.x,o=r.y;n<=i&&o<=a?t.addClass("active"):t.removeClass("active")})})}}),l.on("click",function(r){r.preventDefault();var n=r.target;if(null!=n){var o=Ym(n).dataset(),i=o.x,a=o.y;t.insertTable(e,a+1,i+1)}})}o.append(a)}return r.append(o),r.append(n),this.$content=r,r[0]},e.prototype.insertTable=function(e,t,r){var n=parseInt(t,10),o=parseInt(r,10);if(n&&o&&!(n<=0||o<=0)){if(Oy.isSelectedEmptyParagraph(e)&&Vf.removeNodes(e,{mode:"highest"}),0===e.children.length){Vf.insertNodes(e,{type:"paragraph",children:[{text:""}]},{mode:"highest"})}var i=function(e,t,r){for(var n,o=[],i=e.getMenuConfig("insertTable"),a=i.minWidth,s=void 0===a?60:a,l=i.minRowHeight,u=void 0===l?30:l,c=i.tableFullWidth,d=i.tableHeader,h=Array(r).fill(parseInt(s,10)||60),p=0;p<t;p+=1){for(var f=[],g=0;g<r;g+=1){var m={type:"table-cell",children:[{text:""}]};0===p&&(m.isHeader=null===(n=null==d?void 0:d.selected)||void 0===n||n),f.push(m)}o.push({type:"table-row",children:f,height:parseInt(u,10)||30})}return{type:"table",width:(null==c?void 0:c.selected)?"100%":"auto",children:o,columnWidths:h}}(e,n,o);Vf.insertNodes(e,i,{mode:"highest"})}},e}(),zP=function(){function e(){this.title=Xw("tableModule.mergeCell"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M482.2 508.4 331.3 389c-3-2.4-7.3-.2-7.3 3.6V478H184V184h204v128c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V144c0-15.5-12.5-28-28-28H144c-15.5 0-28 12.5-28 28v736c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v128H184V546h140v85.4c0 3.8 4.4 6 7.3 3.6l150.9-119.4c2.4-1.8 2.4-5.4 0-7.2zM880 116H596c-15.5 0-28 12.5-28 28v168c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V184h204v294H700v-85.4c0-3.8-4.3-6-7.3-3.6l-151 119.4c-2.3 1.8-2.3 5.3 0 7.1l151 119.5c2.9 2.3 7.3.2 7.3-3.6V546h140v294H636V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v168c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V144c0-15.5-12.5-28-28-28z"/></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return!this.canMerge(e)},e.prototype.exec=function(e,t){this.isDisabled(e)||(this.merge(e),wP.unselect(e))},e.prototype.canMerge=function(e){var t=yP.get(e);if(!t||!t.length)return!1;var r=Ig(t[t.length-1][t[t.length-1].length-1],1),n=Ig(r[0],2)[1],o=Ig(t[0][0],1);return!!gP(e,[Ig(o[0],2)[1],n],"table")},e.prototype.merge=function(e){if(this.canMerge(e)){var t=yP.get(e);if(t&&t.length){var r=Ig(t[0][0],1),n=Ig(r[0],2)[1],o=Ig(Fp.children(e,n,{reverse:!0}),1),i=Ig(o[0],2)[1];ff.withoutNormalizing(e,function(){for(var r,o,a,s,l,u,c=new Map,d=[],h=1/0,p=-1/0,f=1/0,g=-1/0,m=0;m<t.length;m+=1)for(var v=0;v<t[m].length;v+=1){var y=Ig(t[m][v],2),b=Ig(y[0],2),w=b[0],E=b[1],x=y[1].ttb,C=E.join(",");if(1===x&&!c.has(C)){c.set(C,{path:E,x:m,y:v,element:w});var S=w.rowSpan,D=void 0===S?1:S,A=w.colSpan,k=m,T=m+D-1,N=v,O=v+(void 0===A?1:A)-1;h=Math.min(h,k),p=Math.max(p,T),f=Math.min(f,N),g=Math.max(g,O)}}var B=p-h+1,F=g-f+1;try{for(var M=Mg(c),I=M.next();!I.done;I=M.next()){E=Ig(I.value,2)[1].path;yp.equals(n,E)||d.push(E)}}catch(e){r={error:e}}finally{try{I&&!I.done&&(o=M.return)&&o.call(M)}finally{if(r)throw r.error}}d.sort(function(e,t){for(var r=0;r<Math.min(e.length,t.length);r+=1)if(e[r]!==t[r])return t[r]-e[r];return t.length-e.length});try{for(var P=Mg(d),R=P.next();!R.done;R=P.next()){E=R.value;try{if(!ff.hasPath(e,E))continue;try{for(var L=(l=void 0,Mg(Fp.children(e,E,{reverse:!0}))),_=L.next();!_.done;_=L.next()){var z=Ig(_.value,2)[1];Vf.moveNodes(e,{to:yp.next(i),at:z})}}catch(e){l={error:e}}finally{try{_&&!_.done&&(u=L.return)&&u.call(L)}finally{if(l)throw l.error}}Vf.removeNodes(e,{at:E})}catch(e){}}}catch(e){a={error:e}}finally{try{R&&!R.done&&(s=P.return)&&s.call(P)}finally{if(a)throw a.error}}Vf.setNodes(e,{rowSpan:B,colSpan:F},{at:n})})}}},e}(),HP=function(){function e(){this.title=Xw("tableModule.splitCell"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M362.667 494.933v53.334l25.6-25.6zm0-241.066L460.8 352V78.933H57.6v98.134h305.067zm0 535.466v57.6H57.6v98.134h403.2V691.2zM661.333 494.933v53.334l-25.6-25.6zm0-241.066L563.2 352V78.933h403.2v98.134H661.333zm0 535.466v57.6H966.4v98.134H563.2V691.2z"/><path d="M753.067 341.333 693.333 281.6 512 460.8 330.667 281.6l-59.734 59.733 181.334 181.334L270.933 704l59.734 59.733L512 582.4l181.333 181.333L753.067 704 571.733 522.667z"/></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=Ig(ff.nodes(e,{match:function(e){return Oy.checkNodeType(e,"table-cell")}}),1),r=t[0];if(!r)return!0;var n=Ig(r,1)[0],o=n.rowSpan,i=void 0===o?1:o,a=n.colSpan;return!(i>1||(void 0===a?1:a)>1)},e.prototype.exec=function(e,t){this.isDisabled(e)||this.split(e)},e.prototype.split=function(e,t){void 0===t&&(t={});var r=Ig(ff.nodes(e,{match:fP(e,"table","th","td"),at:t.at}),2),n=r[0],o=r[1];if(n&&o){var i=BP(Ig(n,1)[0]),a=Ig(o,2),s=a[0],l=a[1],u=s.rowSpan,c=void 0===u?1:u,d=s.colSpan,h=void 0===d?1:d;1===c&&1===h||ff.withoutNormalizing(e,function(){Vf.setNodes(e,{rowSpan:1,colSpan:1},{at:l});for(var t=1;t<h;t+=1){var r={type:"table-cell",children:[{text:""}]};0===l[l.length-2]&&i&&(r.isHeader=!0);var n=l.slice(0,-1),o=l[l.length-1]+t,a=Pg(Pg([],Ig(n),!1),[o],!1);try{Vf.insertNodes(e,r,{at:a})}catch(t){try{var s=Ig(ff.node(e,n),1)[0].children.length,u=Pg(Pg([],Ig(n),!1),[s],!1);Vf.insertNodes(e,r,{at:u})}catch(e){console.warn("插入同行单元格失败: ".concat(e instanceof Error?e.message:String(e)))}}}for(var d=1;d<c;d+=1){var p=l[l.length-2]+d,f=Pg(Pg([],Ig(l.slice(0,-2)),!1),[p],!1);try{var g=Ig(ff.node(e,f),1)[0];if(!g){console.warn("目标行 ".concat(p," 不存在"));continue}for(t=0;t<h;t+=1){r={type:"table-cell",children:[{text:""}]},o=l[l.length-1]+t,a=Pg(Pg([],Ig(f),!1),[o],!1);try{var m=g.children.length;if(o>=m){var v=Pg(Pg([],Ig(f),!1),[m],!1);Vf.insertNodes(e,r,{at:v})}else Vf.insertNodes(e,r,{at:a})}catch(t){try{var y=g.children.length;u=Pg(Pg([],Ig(f),!1),[y],!1);Vf.insertNodes(e,r,{at:u})}catch(e){console.warn("插入单元格到第".concat(d,"行失败: ").concat(e instanceof Error?e.message:String(e)))}}}}catch(e){console.warn("处理第".concat(d,"行时出错: ").concat(e instanceof Error?e.message:String(e)))}}})}},e}(),jP=function(){function e(){this.title=Xw("tableModule.header"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M704 128l-64 0L384 128 320 128 0 128l0 256 0 64 0 192 0 64 0 256 320 0 64 0 256 0 64 0 320 0 0-256 0-64L1024 448 1024 384 1024 128 704 128zM640 640 384 640 384 448l256 0L640 640zM64 448l256 0 0 192L64 640 64 448zM320 896 64 896l0-192 256 0L320 896zM640 896 384 896l0-192 256 0L640 896zM960 896l-256 0 0-192 256 0L960 896zM960 640l-256 0L704 448l256 0L960 640z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){var t=Oy.getSelectedNodeByType(e,"table");return null!=t&&BP(t)},e.prototype.isActive=function(e){return!!this.getValue(e)},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||(!Dp.isCollapsed(t)||null==Oy.getSelectedNodeByType(e,"table"))},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var r=!t,n=Oy.getSelectedNodeByType(e,"table");if(null!=n){var o=OP(n),i=IP(n);o.forEach(function(t){var n=PP(e,t),o=!r&&n&&i;Vf.setNodes(e,{isHeader:!!o||r},{at:Oy.findPath(e,t)})})}}},e}(),VP=function(){function e(){this.title=Xw("tableModule.column"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M128 0h256v320H128V0z m0 384h256v256H128V384z m0 320h256v320H128V704z m320-576h64v320h-64V128z m0 384h64v256h-64V512z m0 320h64v192h-64V832z m128-704h64v320h-64V128z m0 384h64v256h-64V512z m0 320h64v192h-64V832z m128-704h320v320H704V128z m0 384h320v256H704V512z m0 320h320v192H704V832z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){var t=Oy.getSelectedNodeByType(e,"table");return null!=t&&IP(t)},e.prototype.isActive=function(e){return!!this.getValue(e)},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||(!Dp.isCollapsed(t)||null==Oy.getSelectedNodeByType(e,"table"))},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var r=!t,n=Oy.getSelectedNodeByType(e,"table");if(null!=n){var o=MP(n),i=BP(n);o.forEach(function(t){var n=FP(e,t),o=!r&&n&&i;Vf.setNodes(e,{isHeader:!!o||r},{at:Oy.findPath(e,t)})})}}},e}(),$P={key:"insertTable",factory:function(){return new _P}},UP={key:"deleteTable",factory:function(){return new TP}},qP={key:"insertTableRow",factory:function(){return new LP}},GP={key:"deleteTableRow",factory:function(){return new kP}},WP={key:"insertTableCol",factory:function(){return new RP}},YP={key:"deleteTableCol",factory:function(){return new AP}},KP={key:"tableHeader",factory:function(){return new jP}},XP={key:"tableColumn",factory:function(){return new VP}},ZP={key:"tableFullWidth",factory:function(){return new NP}},JP={key:"mergeTableCell",factory:function(){return new zP}},QP={key:"splitTableCell",factory:function(){return new HP}},eR={key:"setTableProperty",factory:function(){return new SP}},tR={key:"setTableCellProperty",factory:function(){return new DP}};var rR={selector:"td:not([data-w-e-type]),th:not([data-w-e-type])",parseElemHtml:function(e,t,r){var n=Ym(e),o=n.text().replace(/\s+/gm," ").trim();0===(t=t.filter(function(e){return"paragraph"===Oy.getNodeType(e)||(!!Df.isText(e)||!!r.isInline(e))})).length&&(t=[{text:n.text().replace(/\s+/gm," ")}]);var i=parseInt(n.attr("colSpan")||"1",10),a=parseInt(n.attr("rowSpan")||"1",10),s="none"===xP(n,"display")&&0===o.length,l=n.attr("width")||"auto";return{type:"table-cell",isHeader:"th"===EP(n),colSpan:i,rowSpan:a,width:l,children:t,hidden:s}}};var nR={selector:"tr:not([data-w-e-type])",parseElemHtml:function(e,t,r){for(var n=Ym(e),o=[],i=0;i<t.length;i+=1){var a=t[i];if("table-cell"===Oy.getNodeType(a)){var s=a;if(s.hidden)continue;o.push(s)}}return{type:"table-row",height:parseInt(xP(n,"height")||"0",10)||void 0,children:o}}};var oR,iR={selector:"table:not([data-w-e-type])",parseElemHtml:function(e,t,r){var n,o,i=Ym(e),a="auto";"100%"===xP(i,"width")&&(a="100%"),"100%"===i.attr("width")&&(a="100%");var s={type:"table",width:a,height:parseInt(xP(i,"height")||"0",10),children:t.filter(function(e){return"table-row"===Oy.getNodeType(e)})},l=(null===(n=i.find("tr")[0])||void 0===n?void 0:n.children)||[],u=function(e){if(!e||0===e.length)return[];var t=[];return Array.from(e).forEach(function(e){var r=parseInt(e.getAttribute("span")||"1",10),n=parseInt(e.getAttribute("width")||xP(Ym(e),"width")||"90",10);if(!Number.isNaN(n))for(var o=0;o<r;o+=1)t.push(n)}),t}((null===(o=i.find("colgroup")[0])||void 0===o?void 0:o.children)||null);if(u.length>0)s.columnWidths=u;else if(l.length>0){var c=[];Array.from(l).forEach(function(e){var t=parseInt(Ym(e).attr("colSpan")||"1",10),r=parseInt(xP(Ym(e),"width")||"90",10);c.push(r);for(var n=1;n<t;n+=1)c.push(90)}),s.columnWidths=c}return s}},aR=null===(oR=null===window||void 0===window?void 0:window.getComputedStyle(document.documentElement))||void 0===oR?void 0:oR.getPropertyValue("--w-e-textarea-border-color");function sR(e){var t=e.selection;if(null==t)return!1;var r=Ig(ff.nodes(e,{match:function(e){return Oy.checkNodeType(e,"table-cell")}}),1),n=r[0];if(n){var o=Ig(n,2)[1],i=ff.start(e,o);if(yf.equals(t.anchor,i))return!0}return!1}function lR(e,t){var r=t.offset;if(0===r)return!1;var n=ff.node(e,t);if(!Df.isText(n[0]))return!1;var o=Fp.string(n[0]);return!(r>=o.length)&&("\n"===o[r-1]&&"\r"===o[r])}function uR(e,t,r){var n=e.selection;if(null==n||"line"===t)return!1;var o=Ig(ff.nodes(e,{match:function(e){return Oy.checkNodeType(e,"table-cell")}}),1),i=o[0],a=n.anchor;if("backward"===r&&0===n.anchor.offset&&(a=ff.before(e,n)),"forward"===r&&ff.isEnd(e,n.anchor,n.anchor.path)&&(a=ff.after(e,n)),null==a)return!1;var s=ff.above(e,{at:a,match:function(e){return Oy.checkNodeType(e,"table-cell")}});if(null==s||null==i||!yp.equals(s[1],i[1]))return!1;var l=ff.node(e,a);if(!Df.isText(l[0])||l[0].text.length<2)return!1;var u="backward"===r?[a.offset-2,a.offset]:[a.offset,a.offset+2],c=Fp.string(l[0]);return"\n\r"===c.slice.apply(c,Pg([],Ig(u),!1))?(Vf.insertText(e,c.slice(0,u[0])+c.slice(u[1]),{at:{anchor:ff.start(e,a.path),focus:ff.end(e,a.path)}}),!0):!!lR(e,a)&&(Vf.insertText(e,c.slice(0,n.anchor.offset-1)+c.slice(n.anchor.offset+1),{at:{anchor:ff.start(e,a.path),focus:ff.end(e,a.path)}}),!0)}function cR(e,t){var r=ff.nodes(e,{at:t,match:function(e){return"table"===Oy.getNodeType(e)}});return!!Pg([],Ig(r),!1).find(function(){return!0})}function dR(e){var t,r;try{for(var n=Mg(["paragraph","header1","header2","header3","header4","header5","header6","blockquote","list-item","todo","divider"]),o=n.next();!o.done;o=n.next()){var i=o.value;if(Oy.getSelectedNodeByType(e,i))return!0}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return!1}function hR(e){var t=document.createElement("div");t.innerHTML=e;var r=[],n=!1;return Array.from(t.childNodes).forEach(function(e){if(e.nodeType!==Node.TEXT_NODE){if(!(e instanceof HTMLElement)||"p"!==e.tagName.toLowerCase())return r.push(e.cloneNode(!0)),void(n=!0);var t=e.innerHTML,o=t.trim();if(o&&"&nbsp;"!==o){n&&r.push(document.createElement("br"));var i=document.createElement("div");i.innerHTML=t,Array.from(i.childNodes).forEach(function(e){r.push(e.cloneNode(!0))}),n=!0}}else(e.textContent||"").trim()&&(r.push(e.cloneNode(!0)),n=!0)}),t.replaceChildren.apply(t,Pg([],Ig(r),!1)),t.innerHTML}var pR={selector:"table",preParseHtml:function(e){var t=Ym(e);if("table"!==EP(t))return e;var r=t.find("tbody");if(0===r.length)return e;var n=t.find("tr");t.append(n),r.remove();for(var o=t.find("td, th"),i=0;i<o.length;i+=1){var a=Ym(o[i]);a.attr("width","auto");var s=a.html()||"";s=hR(s=(s=s.replace(/<o:p[^>]*>[\s\S]*?<\/o:p>/gi,"")).replace(/<\/o:p>/gi,"")),a.html(s)}return t[0]}};function fR(e){var t,r,n=[],o=0;try{for(var i=Mg(e),a=i.next();!a.done;a=i.next()){o+=a.value,n.push(o)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function gR(e){var t,r,n=[],o=e.reduce(function(e,t){return e+t},0);try{for(var i=Mg(e),a=i.next();!a.done;a=i.next()){var s=a.value;n.push(s/o)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}var mR=null;var vR=!1,yR=!1,bR=0,wR=null,ER=Ym(window);ER.on("mousedown",function(e){var t=e.target;if(t.closest('[data-block-type="table-cell"]'))vR=!0;else if("DIV"===t.tagName&&t.closest(".column-resizer-item")){if(null===wR)return;yR=!0;var r=e.clientX;bR=r,document.body.style.cursor="col-resize",e.preventDefault()}ER.on("mousemove",xR),ER.on("mouseup",CR)});var xR=xE(function(e){if(yR&&null!==wR){e.preventDefault();var t,r=e.clientX,n=r-bR,o=Ig(ff.nodes(wR,{match:fP(wR,"table")}),1),i=Ig(o[0],1)[0],a=i.columnWidths,s=void 0===a?[]:a,l=i.resizingIndex,u=void 0===l?-1:l,c=Oy.getSelectedNodeByType(wR,"table"),d=Oy.toDOMNode(wR,c).querySelector(".table");if(d)t=function(e,t,r,n,o){var i=Pg([],Ig(e),!1);if(t<0||t>=e.length)return i;var a=o.getMenuConfig("insertTable").minWidth,s=parseInt((void 0===a?60:a).toString(),10)||60,l=r-(0===t?0:n[t-1]),u=Math.max(s,l);return i[t]=Math.floor(100*u)/100,i}(s,u,r-d.getBoundingClientRect().left,fR(s),wR);else t=function(e,t,r,n){var o=Pg([],Ig(e),!1),i=n.getMenuConfig("insertTable").minWidth,a=parseInt((void 0===i?60:i).toString(),10)||60,s=o[t],l=Math.max(a,s+r);return o[t]=Math.floor(100*l)/100,o}(s,u,n,wR);Vf.setNodes(wR,{columnWidths:t},{mode:"highest"})}},100);function CR(e){vR=!1,yR=!1,wR=null,document.body.style.cursor="",ER.off("mousemove",xR),ER.off("mouseup",CR)}function SR(e,t){"mouseenter"===t.type?Vf.setNodes(e,{isResizing:!0},{mode:"highest"}):Vf.setNodes(e,{isResizing:!1},{mode:"highest"})}function DR(e){var t,r,n=[],o=0;try{for(var i=Mg(e),a=i.next();!a.done;a=i.next()){o+=a.value,n.push(o)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}var AR=!1,kR=0,TR=null,NR=Ym(window);var OR=xE(function(e){if(AR&&null!==TR){e.preventDefault();var t,r=e.clientY,n=r-kR,o=Ig(ff.nodes(TR,{match:fP(TR,"table")}),1),i=Ig(o[0],1)[0],a=i.children,s=i.resizingRowIndex,l=void 0===s?-1:s,u=a.map(function(e){return e.height||30}),c=Oy.getSelectedNodeByType(TR,"table"),d=Oy.toDOMNode(TR,c).querySelector(".table");if(d)t=function(e,t,r,n,o){var i=Pg([],Ig(e),!1);if(t<0||t>=e.length)return i;var a=(o.getMenuConfig("insertTable")||{}).minRowHeight,s=parseInt((void 0===a?30:a).toString(),10)||30,l=r-(0===t?0:n[t-1]),u=Math.max(s,l);return i[t]=Math.floor(100*u)/100,i}(u,l,r-d.getBoundingClientRect().top,DR(u),TR);else t=function(e,t,r,n){var o=Pg([],Ig(e),!1),i=(n.getMenuConfig("insertTable")||{}).minRowHeight,a=parseInt((void 0===i?30:i).toString(),10)||30,s=o[t],l=Math.max(a,s+r);return o[t]=Math.floor(100*l)/100,o}(u,l,n,TR);var h=Oy.getSelectedNodeByType(TR,"table");if(h&&l>=0&&l<t.length){var p=Pg(Pg([],Ig(Oy.findPath(TR,h)),!1),[l],!1);try{Vf.setNodes(TR,{height:t[l]},{at:p})}catch(e){console.warn("更新行高度失败:",e)}}}},100);function BR(e){AR=!1,TR=null,document.body.style.cursor="",NR.off("mousemove",OR),NR.off("mouseup",BR)}function FR(e,t){"mouseenter"===t.type?Vf.setNodes(e,{isResizingRow:!0},{mode:"highest"}):Vf.setNodes(e,{isResizingRow:!1},{mode:"highest"})}NR.on("mousedown",function(e){var t=e.target;if("DIV"===t.tagName&&t.closest(".row-resizer-item")){if(null===TR)return;AR=!0;var r=e.clientY;kR=r,document.body.style.cursor="row-resize",e.preventDefault()}NR.on("mousemove",OR),NR.on("mouseup",BR)});var MR={type:"table",renderElem:function(e,t,r){var n=function(e,t){if(e.isDisabled())return!1;var r=e.selection;if(null==r)return!0;if(Dp.isCollapsed(r))return!0;var n=r.anchor,o=r.focus,i=Oy.findPath(e,t),a=ff.start(e,i),s=ff.end(e,i),l=yf.compare(n,s)<=0&&yf.compare(n,a)>=0,u=yf.compare(o,s)<=0&&yf.compare(o,a)>=0;return!!(l&&u&&yp.equals(n.path.slice(0,3),o.path.slice(0,3)))}(r,e),o=e,i=o.width,a=void 0===i?"auto":i,s=o.height,l=o.columnWidths,u=void 0===l?[]:l,c=o.scrollWidth,d=void 0===c?0:c,h=o.isHoverCellBorder,p=o.resizingIndex,f=o.isResizing,g=o.isHoverRowBorder,m=o.resizingRowIndex,v=o.isResizingRow,y=Oy.isNodeSelected(r,e),b=Ig(wP.selection(r),1)[0],w=gR(u),E=Ax("div",{className:"table-container","data-selected":y,on:{mousedown:function(t){if("DIV"===t.target.tagName&&t.preventDefault(),!r.isDisabled()){var n=t.target.closest('[data-block-type="table-cell"]');if(n){wP.unselect(r);var o=r.selection;if(o&&Dp.isRange(o)&&!Dp.isCollapsed(o)){var i=ff.above(r,{at:o.anchor,match:function(e){return Oy.checkNodeType(e,"table-cell")}}),a=ff.above(r,{at:o.focus,match:function(e){return Oy.checkNodeType(e,"table-cell")}});if(i&&a&&!yp.equals(i[1],a[1]))try{var s=Oy.toSlateNode(r,n);if(kp.isElement(s)&&Oy.checkNodeType(s,"table-cell")){var l=Oy.findPath(r,s),u=ff.start(r,l);Vf.select(r,{anchor:u,focus:u})}}catch(e){}}}var c=Oy.findPath(r,e),d=ff.start(r,c),h=r.selection;if(null!=h)h.anchor.path[0]!==c[0]&&"DIV"===t.target.tagName&&r.select(d);else r.select(d)}}}},Ax("table",{width:a,contentEditable:n,className:"table ".concat(b?"table-selection-none":""),style:{width:"100%"===a?a:"".concat(u.reduce(function(e,t){return e+t},0),"px")},on:{mousemove:ew(function(t){wP.hasSelected(r)||(function(e,t,r,n){if(!e.isDisabled()&&!vR&&!yR){var o=t,i=o.width,a=void 0===i?"auto":i,s=o.columnWidths,l=void 0===s?[]:s,u=o.isHoverCellBorder,c=o.resizingIndex,d=r.clientX,h=r.target;if(Pv(h)&&d>(g=h.getBoundingClientRect()).x+5&&d<g.x+g.width-5)return void(u&&Vf.setNodes(e,{isHoverCellBorder:!1,resizingIndex:-1},{mode:"highest"}));if(Pv(h)){var p=h.closest(".table");if(p)for(var f=r.clientX,g=p.getBoundingClientRect(),m="100%"===a?gR(l).map(function(e){return e*n}):l,v=fR(m),y=0;y<v.length;y+=1)if(f-g.x>=v[y]-5&&f-g.x<v[y]+5){if(c===y)return;return void Vf.setNodes(e,{isHoverCellBorder:!0,resizingIndex:y},{mode:"highest"})}}!0===u&&Vf.setNodes(e,{isHoverCellBorder:!1,resizingIndex:-1},{mode:"highest"})}}(r,e,t,d),function(e,t,r){if(!e.isDisabled()&&!AR){var n=t,o=n.children,i=n.isHoverRowBorder,a=n.resizingRowIndex,s=r.target;if(Pv(s)){var l=s.closest(".table");if(l)for(var u=r.clientY,c=l.getBoundingClientRect(),d=DR(o.map(function(e){return e.height||30})),h=0;h<d.length;h+=1)if(u-c.y>=d[h]-5&&u-c.y<d[h]+5){if(a===h)return;return void Vf.setNodes(e,{isHoverRowBorder:!0,resizingRowIndex:h},{mode:"highest"})}}!0===i&&Vf.setNodes(e,{isHoverRowBorder:!1,resizingRowIndex:-1},{mode:"highest"})}}(r,e,t))},25)}},Ax("colgroup",{contentEditable:!1},u.map(function(e){return Ax("col",{width:e})})),Ax("tbody",null,t)),Ax("div",{className:"column-resizer",contentEditable:!1},u.map(function(t,n){var o=t;"100%"===a&&(o=w[n]*d);var i=e.children.reduce(function(e,t){return e+(t.height||30)},0),l=s&&s>0?s:i>0?i:200;return Ax("div",{className:"column-resizer-item",style:{minWidth:"".concat(o,"px"),height:"".concat(l,"px")}},Ax("div",{className:"resizer-line-hotzone ".concat(h&&n===p?"visible ":"").concat(f&&n===p?"highlight":""),style:{height:"100%"},on:{mouseenter:function(e){return SR(r,e)},mouseleave:function(e){return SR(r,e)},mousedown:function(e){return function(e){yR||(wR=e)}(r)}}},Ax("div",{className:"resizer-line"})))})),Ax("div",{className:"row-resizer",contentEditable:!1},e.children.map(function(e,t){var n=u.reduce(function(e,t){return e+t},0),o=e.height||30;return Ax("div",{className:"row-resizer-item",style:{minHeight:"".concat(o,"px")}},Ax("div",{className:"resizer-line-hotzone-horizontal ".concat(g&&t===m?"visible ":"").concat(v&&t===m?"highlight":""),style:{width:"".concat(n,"px")},on:{mouseenter:function(e){return FR(r,e)},mouseleave:function(e){return FR(r,e)},mousedown:function(e){return function(e){AR||(TR=e)}(r)}}},Ax("div",{className:"resizer-line-horizontal"})))}))),x=ax("div",{hook:{insert:function(e){var t=e.elm;return function(e,t){if(Pv(t)){var r=t.querySelector("table");r&&(mR=new ResizeObserver(function(t){var r=Ig(t,1)[0].contentRect;Vf.setNodes(e,{scrollWidth:r.width,height:r.height},{mode:"highest"})}),mR.observe(r))}}(r,t)},destroy:function(){mR&&(null==mR||mR.disconnect(),mR=null)}}},E);return x}},IR={type:"table-row",renderElem:function(e,t,r){var n=e.height;return Ax("tr",{style:n?{height:"".concat(n,"px")}:{}},t)}},PR={type:"table-cell",renderElem:function(e,t,r){var n=FP(r,e),o=PP(r,e),i=e,a=i.colSpan,s=void 0===a?1:a,l=i.rowSpan,u=void 0===l?1:l,c=i.isHeader,d=void 0!==c&&c,h=i.hidden,p=void 0!==h&&h,f=wP.isSelected(r,e);return Ax((n||o)&&d?"th":"td",{colSpan:s,rowSpan:u,"data-block-type":"table-cell",className:f?"w-e-selected":"",style:{display:p?"none":""}},t)}};function RR(e,t){null==e.data&&(e.data={});var r=e.data;null==r.style&&(r.style={}),Object.assign(r.style,t)}var LR={renderStyle:function(e,t){var r,n;if(!kp.isElement(e))return t;var o=e,i=o.backgroundColor,a=o.borderWidth,s=o.borderStyle,l=o.borderColor,u=o.textAlign,c={};if(i&&(c.backgroundColor=i),a){/^\d+(\.\d+)?$/.test(a)?c.borderWidth="".concat(a,"px"):c.borderWidth=a}s&&(c.borderStyle="none"===s?"":s),l&&(c.borderColor=l),u&&(c.textAlign=u);var d=t;return"table"===e.type?RR(null===(n=(null===(r=d.children)||void 0===r?void 0:r[0]).children)||void 0===n?void 0:n[0],c):RR(d,c),d},styleToHtml:function(e,t){if("table"!==e.type&&"table-cell"!==e.type)return t;var r=e.backgroundColor,n=e.borderWidth,o=e.borderStyle,i=e.borderColor,a=e.textAlign;if(!(r||n||o||i||a))return t;var s=Ym(t);return r&&s.css("background-color",r),n?s.css("border-width","".concat(n,"px")):(o||i)&&s.css("border-width","1px"),o&&s.css("border-style","none"===o?"":o),i&&s.css("border-color",i),a&&s.css("text-align",a),function(e){return 0===e.length?"":e[0].outerHTML}(s)},parseStyleHtml:function(e,t,r){if(!["TABLE","TD","TH"].includes(e.tagName))return t;var n=Ym(e),o=t,i=xP(n,"background-color");i||(i=xP(n,"background")),i&&(o.backgroundColor=i);var a=xP(n,"border");a||"TD"!==e.tagName||(a="1px solid ".concat(aR));var s,l=Ig((null==a?void 0:a.split(" "))||[],3),u=l[0],c=l[1],d=l[2];(u=xP(n,"border-width")||u)&&(o.borderWidth=(s=u.trim())&&"string"==typeof s&&s.includes("pt")?s.replace(/(\d+(\.\d+)?)\s*pt/g,function(e,t){var r=(4*parseFloat(t)/3).toFixed(2);return"".concat(r,"px")}):s),(c=xP(n,"border-style")||c)&&(o.borderStyle="none"===c?"":c),(d=xP(n,"border-color")||d)&&(o.borderColor=d);var h=xP(n,"text-align");return(h=xP(n,"text-align")||h)&&(o.textAlign=h),t},renderElems:[MR,IR,PR],elemsToHtml:[uP,cP,dP],preParseHtml:[pR],parseElemsHtml:[rR,nR,iR],menus:[$P,UP,qP,GP,WP,YP,KP,XP,ZP,JP,QP,eR,tR],editorPlugin:function(e){var t=e.insertBreak,r=e.deleteBackward,n=e.deleteForward,o=e.deleteFragment,i=e.normalizeNode,a=e.insertData,s=e.handleTab,l=e.selectAll,u=e;u.insertBreak=function(){null==Oy.getSelectedNodeByType(u,"table")?t():u.insertText("\n\r")},u.deleteBackward=function(e){if(!sR(u)&&!uR(u,e,"backward")){var t=u.selection;if(t){var n=ff.before(u,t),o=ff.above(u,{at:t,match:function(e){return Oy.checkNodeType(e,"table-cell")}});if(n){var i=cR(u,n);if(!o&&i&&dR(u))return}}r(e)}},u.handleTab=function(){var t;if(Oy.getSelectedNodeByType(u,"table")){var r=ff.above(e);Oy.checkNodeType(r[0],"table-cell")&&Vf.select(e,r[1]);var n=ff.next(e);if(n)n[0]&&n[0].text&&(n=null!==(t=ff.above(e,{at:n[1]}))&&void 0!==t?t:n),Vf.select(e,n[1]);else{var o=u.children||[],i=o.length;if(Oy.checkNodeType(o[i-1],"table")){var a=Oy.genEmptyParagraph();Vf.insertNodes(u,a,{at:[i]}),u.handleTab()}}}else s()},u.deleteForward=function(e){if(!sR(u)&&!uR(u,e,"forward")){var t=u.selection;if(t){var r=ff.after(u,t),o=ff.above(u,{at:t,match:function(e){return Oy.checkNodeType(e,"table-cell")}});if(r){var i=cR(u,r);if(!o&&i&&dR(u))return}}n(e)}},u.deleteFragment=function(e){var t=u.selection;if(t){var r,n=!1,i={anchor:t.anchor,focus:t.focus},a=yf.isBefore(i.anchor,i.focus);if(lR(u,t.anchor))(r=ff[a?"before":"after"](u,t.anchor))&&(i.anchor=r),n=!0;if(lR(u,t.focus))(r=ff[a?"after":"before"](u,t.focus))&&(i.focus=r),n=!0;n&&Vf.setSelection(u,i),o(e)}},u.normalizeNode=function(e){var t=Ig(e,2),r=t[0],n=t[1];if("table"!==Oy.getNodeType(r))return i([r,n]);if(Oy.isLastNode(u,r)){var o=Oy.genEmptyParagraph();Vf.insertNodes(u,o,{at:[n[0]+1]})}},u.insertData=function(e){if(null!=Oy.getSelectedNodeByType(u,"table")){var t=e.getData("text/plain");if("\n"===t||/<img[^>]+>/.test(e.getData("text/html")))a(e);else{if(t.includes("\t")){var r=t.split("\n").filter(function(e){return""!==e.trim()}).map(function(e){return e.split("\t")});if(r.length>1||1===r.length&&r[0].length>1){var n=function(e,t){var r;if(!e.selection)return!1;var n=Ig(ff.nodes(e,{match:function(e){return Oy.checkNodeType(e,"table-cell")},universal:!0}),1),o=n[0];if(!o)return!1;for(var i=Ig(o,2)[1],a=mP(e),s=-1,l=-1,u=0;u<a.length;u+=1){for(var c=0;c<a[u].length;c+=1){var d=Ig(a[u][c],1),h=Ig(d[0],2)[1];if(yp.equals(i,h)){s=u,l=c;break}}if(-1!==s)break}if(-1===s||-1===l)return!1;var p=t.length,f=Math.max.apply(Math,Pg([],Ig(t.map(function(e){return e.length})),!1)),g=a.length,m=(null===(r=a[0])||void 0===r?void 0:r.length)||0,v=s+p-1,y=l+f-1,b=Math.max(0,v-g+1),w=Math.max(0,y-m+1);return ff.withoutNormalizing(e,function(){if(w>0){var r=Ig(ff.nodes(e,{match:function(e){return Oy.checkNodeType(e,"table")},universal:!0}),1);if(C=r[0]){for(var n=Ig(C,2),o=n[0],i=n[1],u=o.columnWidths,c=void 0===u?[]:u,d=(e.getMenuConfig("insertTable")||{}).minWidth,h=parseInt((void 0===d?60:d).toString(),10)||60,p=0;p<a.length;p+=1)for(var f=Pg(Pg([],Ig(i),!1),[p],!1),v=0;v<w;v+=1){var y=a[p].length+v,E=Pg(Pg([],Ig(f),!1),[y],!1);Vf.insertNodes(e,{type:"table-cell",children:[{text:""}]},{at:E})}var x=Pg([],Ig(c),!1);for(v=0;v<w;v+=1)x.push(h);Vf.setNodes(e,{columnWidths:x},{at:i})}}if(b>0){var C,S=Ig(ff.nodes(e,{match:function(e){return Oy.checkNodeType(e,"table")},universal:!0}),1);if(C=S[0]){i=Ig(C,2)[1];var D=(e.getMenuConfig("insertTable")||{}).minRowHeight,A=parseInt((void 0===D?30:D).toString(),10)||30,k=m+w;for(v=0;v<b;v+=1){for(var T={type:"table-row",children:[],height:A},N=0;N<k;N+=1)T.children.push({type:"table-cell",children:[{text:""}]});var O=Pg(Pg([],Ig(i),!1),[g+v],!1);Vf.insertNodes(e,T,{at:O})}}}var B=mP(e);for(v=0;v<t.length;v+=1)for(N=0;N<t[v].length;N+=1){var F=s+v,M=l+N;if(!(F>=B.length||M>=B[F].length)){var I=Ig(B[F][M],1),P=Ig(I[0],2),R=P[0],L=P[1],_=R,z=t[v][N]||"",H={};_.backgroundColor&&(H.backgroundColor=_.backgroundColor),_.borderWidth&&(H.borderWidth=_.borderWidth),_.borderStyle&&(H.borderStyle=_.borderStyle),_.borderColor&&(H.borderColor=_.borderColor),_.textAlign&&(H.textAlign=_.textAlign),_.isHeader&&(H.isHeader=_.isHeader),_.colSpan&&(H.colSpan=_.colSpan),_.rowSpan&&(H.rowSpan=_.rowSpan),_.width&&(H.width=_.width),Vf.delete(e,{at:L}),Vf.insertNodes(e,Og({type:"table-cell",children:[{text:z}]},H),{at:L})}}}),!0}(u,r);if(n)return}}ff.insertText(u,t)}}else a(e)},u.selectAll=function(){var e=u.selection;if(null!=e){var t=Oy.getSelectedNodeByType(u,"table-cell");if(null!=t){var r=e.anchor,n=e.focus;if(yp.equals(r.path.slice(0,3),n.path.slice(0,3)))if(0!==Fp.string(t).length){var o=Oy.findPath(u,t),i={anchor:ff.start(u,o),focus:ff.end(u,o)};u.select(i)}else l();else l()}else l()}else l()},function(e){var t=e.apply;e.apply=function(r){if(!Rp.isSelectionOperation(r)||!r.newProperties)return t(r);var n=Og(Og({},e.selection),r.newProperties);if(!Dp.isRange(n))return wP.unselect(e),t(r);var o=function(e){return kp.isElement(e)&&("table-cell"===e.type||"th"===e.type||"td"===e.type)},i=Ig(ff.nodes(e,{match:o,at:Dp.start(n),mode:"lowest"}),1)[0],a=Ig(ff.nodes(e,{match:o,at:Dp.end(n),mode:"lowest"}),1)[0];if(!i||!a)return wP.unselect(e),t(r);var s=Ig(i,2)[1],l=Ig(a,2)[1];if(yp.equals(s,l)||!gP(e,[s,l],"table"))return wP.unselect(e),t(r);try{var u=mP(e,{at:s});if(!u||0===u.length)return wP.unselect(e),t(r);for(var c=vP.valueOf(0,0),d=vP.valueOf(0,0),h=!1,p=!1,f=0;f<u.length;f+=1)if(u[f])for(var g=0;g<u[f].length;g+=1)if(u[f][g]){var m=Ig(u[f][g],1),v=Ig(m[0],2)[1];yp.equals(s,v)&&(c.x=f,c.y=g,h=!0),yp.equals(l,v)&&(d.x=f,d.y=g,p=!0)}if(!h||!p)return wP.unselect(e),t(r);for(var y=vP.valueOf(Math.min(c.x,d.x),Math.min(c.y,d.y)),b=vP.valueOf(Math.max(c.x,d.x),Math.max(c.y,d.y));;){var w=vP.valueOf(y.x,y.y),E=vP.valueOf(b.x,b.y);for(f=w.x;f<=E.x&&f<u.length;f+=1)if(u[f])for(g=w.y;g<=E.y&&g<u[f].length;g+=1)if(u[f][g]){var x=Ig(u[f][g],2)[1];if(x){var C=x.rtl,S=x.ltr,D=x.btt,A=x.ttb;w.x=Math.min(w.x,f-(A-1)),w.y=Math.min(w.y,g-(C-1)),E.x=Math.max(E.x,f+(D-1)),E.y=Math.max(E.y,g+(S-1))}}if(vP.equals(y,w)&&vP.equals(b,E))break;y=w,b=E}var k=[],T=new WeakSet;for(f=y.x;f<=b.x&&f<u.length;f+=1)if(u[f]){var N=[];for(g=y.y;g<=b.y&&g<u[f].length;g+=1)if(u[f][g]){var O=Ig(u[f][g],1),B=Ig(O[0],1)[0];B&&(T.add(B),N.push(u[f][g]))}N.length>0&&k.push(N)}yP.set(e,k),bP.set(e,T)}catch(n){return wP.unselect(e),t(r)}t(r)}}(u),u.getTableSelection=function(){return yP.get(u)||null};var c=u.addMark,d=u.removeMark,h=Og({},Vf);return u.addMark=function(e,t){var r=yP.get(u);if(r&&r.length>0){var n=u.selection;r.forEach(function(r){r.forEach(function(r){var n=Ig(r[0],2)[1],o=ff.start(u,n),i=ff.end(u,n);Vf.select(u,{anchor:o,focus:i}),c(e,t)})}),n&&Vf.select(u,n)}else c(e,t)},u.removeMark=function(e){var t=yP.get(u);if(t&&t.length>0){var r=u.selection;t.forEach(function(t){t.forEach(function(t){var r=Ig(t[0],2)[1],n=ff.start(u,r),o=ff.end(u,r);Vf.select(u,{anchor:n,focus:o}),d(e)})}),r&&Vf.select(u,r)}else d(e)},Vf.setNodes=function(e,t,r){if(void 0===r&&(r={}),e===u){var n=yP.get(u);if(n&&n.length>0)return"hidden"in t||"rowSpan"in t||"colSpan"in t?void h.setNodes(e,t,r):void n.forEach(function(n){n.forEach(function(n){var o=Ig(n[0],2)[1];h.setNodes(e,t,Og(Og({},r),{at:o}))})})}h.setNodes(e,t,r)},u}};Gw("en",{uploadImgModule:{uploadImage:"Upload Image",uploadError:"{{fileName}} upload error"}}),Gw("zh-CN",{uploadImgModule:{uploadImage:"上传图片",uploadError:"{{fileName}} 上传出错"}});mv&&(Ym.fn.append=mv),nv&&(Ym.fn.on=nv),xv&&(Ym.fn.remove=xv),rv&&(Ym.fn.val=rv),Av&&(Ym.fn.click=Av),lv&&(Ym.fn.hide=lv);var _R=new WeakMap;function zR(e){return e.getMenuConfig("uploadImage")}function HR(e,t){return Bg(this,void 0,void 0,function(){return Fg(this,function(r){return[2,new Promise(function(r){var n=new FileReader;n.readAsDataURL(t),n.onload=function(){var o=n.result;if(o){var i=o.toString(),a=0===i.indexOf("data:image")?"":i;Uk(e,i,t.name,a),r("ok")}}})]})})}function jR(e,t){return Bg(this,void 0,void 0,function(){var r,n;return Fg(this,function(o){switch(o.label){case 0:return r=function(e){var t=_R.get(e);if(null!=t)return t;var r=zR(e),n=r.onSuccess,o=r.onProgress,i=r.onFailed,a=r.customInsert,s=r.onError;return t=UD(Og(Og({},r),{onProgress:function(t){e.showProgressBar(t),o&&o(t)},onSuccess:function(t,r){if(a)return a(r,function(t,r,n){return Uk(e,t,r,n)}),void n(t,r);var o=r.errno,s=void 0===o?1:o,l=r.data,u=void 0===l?{}:l;if(0===s){if(Array.isArray(u))u.forEach(function(t){var r=t.url,n=void 0===r?"":r,o=t.alt,i=void 0===o?"":o,a=t.href;Uk(e,n,i,void 0===a?"":a)});else{var c=u.url,d=void 0===c?"":c,h=u.alt,p=void 0===h?"":h,f=u.href;Uk(e,d,p,void 0===f?"":f)}n(t,r)}else i(t,r)},onError:function(e,t,r){s(e,t,r)}})),_R.set(e,t),t}(e),n=t.map(function(e){return{name:e.name,type:e.type,size:e.size,data:e}}),r.addFiles(n),[4,r.upload()];case 1:return o.sent(),[2]}})})}function VR(e,t){return Bg(this,void 0,void 0,function(){var r,n,o,i,a,s,l,u,c,d,h,p,f,g,m;return Fg(this,function(v){switch(v.label){case 0:if(null==t)return[2];r=Array.prototype.slice.call(t),n=zR(e),o=n.customUpload,i=n.base64LimitSize,a=[],v.label=1;case 1:v.trys.push([1,10,11,16]),s=!0,l=Rg(r),v.label=2;case 2:return[4,l.next()];case 3:return u=v.sent(),(p=u.done)?[3,9]:(m=u.value,s=!1,d=(c=m).size,i&&d<=i?[4,HR(e,c)]:[3,5]);case 4:return v.sent(),[3,8];case 5:return o?[4,o(c,function(t,r,n){return Uk(e,t,r,n)},e)]:[3,7];case 6:return v.sent(),[3,8];case 7:a.push(c),v.label=8;case 8:return s=!0,[3,2];case 9:return[3,16];case 10:return h=v.sent(),f={error:h},[3,16];case 11:return v.trys.push([11,,14,15]),s||p||!(g=l.return)?[3,13]:[4,g.call(l)];case 12:v.sent(),v.label=13;case 13:return[3,15];case 14:if(f)throw f.error;return[7];case 15:return[7];case 16:return a.length>0?[4,jR(e,a)]:[3,18];case 17:v.sent(),v.label=18;case 18:return[2]}})})}var $R=function(){function e(){this.title=Xw("uploadImgModule.uploadImage"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M828.708571 585.045333a48.761905 48.761905 0 0 0-48.737523 48.761905v18.529524l-72.143238-72.167619a135.972571 135.972571 0 0 0-191.585524 0l-34.133334 34.133333-120.880762-120.953905a138.898286 138.898286 0 0 0-191.585523 0l-72.167619 72.167619V292.400762a48.786286 48.786286 0 0 1 48.761904-48.761905h341.23581a48.737524 48.737524 0 0 0 34.474667-83.285333 48.737524 48.737524 0 0 0-34.474667-14.287238H146.236952A146.212571 146.212571 0 0 0 0 292.400762v585.289143A146.358857 146.358857 0 0 0 146.236952 1024h584.996572a146.212571 146.212571 0 0 0 146.236952-146.310095V633.807238a48.786286 48.786286 0 0 0-48.761905-48.761905zM146.261333 926.45181a48.737524 48.737524 0 0 1-48.761904-48.761905v-174.128762l141.409523-141.458286a38.497524 38.497524 0 0 1 53.126096 0l154.526476 154.624 209.627428 209.724953H146.236952z m633.734096-48.761905c-0.073143 9.337905-3.145143 18.383238-8.777143 25.843809l-219.843048-220.94019 34.133333-34.133334a37.546667 37.546667 0 0 1 53.613715 0l140.873143 141.897143V877.714286zM1009.615238 160.231619L863.329524 13.897143a48.737524 48.737524 0 0 0-16.091429-10.24c-11.849143-4.87619-25.161143-4.87619-37.059047 0a48.761905 48.761905 0 0 0-16.067048 10.24l-146.236952 146.334476a49.005714 49.005714 0 0 0 69.217523 69.241905l62.902858-63.390476v272.627809a48.761905 48.761905 0 1 0 97.475047 0V166.083048l62.902857 63.390476a48.737524 48.737524 0 0 0 69.217524 0 48.761905 48.761905 0 0 0 0-69.241905z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return jk(e)},e.prototype.getMenuConfig=function(e){return e.getMenuConfig("uploadImage")},e.prototype.exec=function(e,t){var r=this.getMenuConfig(e),n=r.allowedFileTypes,o=void 0===n?[]:n,i=r.customBrowseAndUpload;if(i)i(function(t,r,n){return Uk(e,t,r,n)});else{var a="";o.length>0&&(a='accept="'.concat(o.join(", "),'"'));var s=Ym("body"),l=Ym('<input type="file" '.concat(a," multiple/>"));l.hide(),s.append(l),l.click(),l.on("change",function(){var t=l[0].files;VR(e,t)})}},e}();var UR={menus:[{key:"uploadImage",factory:function(){return new $R},config:{server:"",fieldName:"wangeditor-uploaded-image",maxFileSize:2097152,maxNumberOfFiles:100,allowedFileTypes:["image/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:1e4,onBeforeUpload:function(e){return e},onProgress:function(e){},onSuccess:function(e,t){},onFailed:function(e,t){console.error("'".concat(e.name,"' upload failed"),t)},onError:function(e,t,r){console.error("'".concat(e.name,"' upload error"),r)},base64LimitSize:0}}],editorPlugin:function(e){var t=e.insertData,r=e;return r.insertData=function(n){if(jk(r))t(n);else if(n.getData("text/plain"))t(n);else{var o=n.files;if(o.length<=0)t(n);else Array.prototype.slice.call(o).some(function(e){return"image"===Ig(e.type.split("/"),1)[0]})?VR(e,o):t(n)}},r}};function qR(e){return e.length?e[0].tagName.toLowerCase():""}function GR(e,t,r,n){void 0===t&&(t="auto"),void 0===r&&(r="auto"),void 0===n&&(n={});var o=Ym(e),i=n.width,a=void 0===i?"":i,s=n.height,l=void 0===s?"":s,u="";return a&&(u+="width: ".concat(a,";")),l&&(u+="height: ".concat(l,";")),o.attr("width",t),o.attr("height",r),o.attr("style",u),o[0].outerHTML}Gw("en",{videoModule:{delete:"Delete",uploadVideo:"Upload video",insertVideo:"Insert video",videoSrc:"Video source",videoSrcPlaceHolder:"Video file url, or third-party <iframe>",videoPoster:"Video poster",videoPosterPlaceHolder:"Poster image url",ok:"Ok",editSize:"Edit size",edit:"Edit video",width:"Width",height:"Height"}}),Gw("zh-CN",{videoModule:{delete:"删除视频",uploadVideo:"上传视频",insertVideo:"插入视频",videoSrc:"视频地址",videoSrcPlaceHolder:"视频文件 url 或第三方 <iframe>",videoPoster:"视频封面",videoPosterPlaceHolder:"封面图片 url",ok:"确定",editSize:"修改尺寸",edit:"编辑视频",width:"宽度",height:"高度"}}),mv&&(Ym.fn.append=mv),nv&&(Ym.fn.on=nv),kv&&(Ym.fn.focus=kv),Jm&&(Ym.fn.attr=Jm),rv&&(Ym.fn.val=rv),pv&&(Ym.fn.html=pv),yv&&(Ym.fn.parent=yv),Zm&&(Ym.fn.hasClass=Zm),Cv&&(Ym.fn.empty=Cv);var WR={type:"video",elemToHtml:function(e,t){var r=e,n=r.src,o=void 0===n?"":n,i=r.poster,a=void 0===i?"":i,s=r.width,l=void 0===s?"auto":s,u=r.height,c=void 0===u?"auto":u,d=r.style,h=void 0===d?{}:d,p=r.textAlign,f='<div data-w-e-type="video" data-w-e-is-void style="text-align: '.concat(void 0===p?"center":p,';">\n');if(0===o.trim().indexOf("<iframe ")){f+=GR(o,l,c,h)}else{var g=h.width,m=void 0===g?"":g,v=h.height,y=void 0===v?"":v,b="";m&&(b+="width: ".concat(m,";")),y&&(b+="height: ".concat(y,";")),f+='<video poster="'.concat(a,'" controls="true" width="').concat(l,'" height="').concat(c,'" style="').concat(b,'"><source src="').concat(o,'" type="video/mp4"/></video>')}return f+="\n</div>"}};function YR(e){return void 0===e&&(e="r"),"".concat(e,"-").concat(Nv())}function KR(e){var t={};return e.trim().split(";").forEach(function(e){if(e){var r=Ig(e.split(":"),2),n=r[0],o=r[1];n&&o&&(t[n.trim()]=o.trim())}}),t}function XR(){return YR("w-e-insert-video")}var ZR=function(){function e(){this.title=Xw("videoModule.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=XR(),this.heightInputId=XR(),this.buttonId=XR()}return e.prototype.getSelectedVideoNode=function(e){return Oy.getSelectedNodeByType(e,"video")},e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getSelectedVideoNode(e)},e.prototype.getModalPositionNode=function(e){return this.getSelectedVideoNode(e)},e.prototype.getModalContentElem=function(e){var t=this,r=t.widthInputId,n=t.heightInputId,o=t.buttonId,i=Ig(sE(Xw("videoModule.width"),r,"auto"),2),a=i[0],s=Ym(i[1]),l=Ig(sE(Xw("videoModule.height"),n,"auto"),2),u=l[0],c=Ym(l[1]),d=Ig(uE(o,Xw("videoModule.ok")),1)[0],h=this.getSelectedVideoNode(e);if(null==this.$content){var p=Ym("<div></div>");p.on("click","#".concat(o),function(t){t.preventDefault();var o=p.find("#".concat(r)).val().trim(),i=p.find("#".concat(n)).val().trim(),a=function(e){return/^\d+(\.\d+)?%$/.test(e)},s=function(e){return/^\d+(\.\d+)?$/.test(e)},l="auto",u="auto";a(o)?l=o:s(o)&&(l="".concat(parseInt(o,10),"px")),a(i)?u=i:s(i)&&(u="".concat(parseInt(i,10),"px"));var c=h.style,d=void 0===c?{}:c;e.restoreSelection();var f={style:Og(Og({},d),{width:l,height:u})};Vf.setNodes(e,f,{match:function(e){return Oy.checkNodeType(e,"video")}}),e.hidePanelOrModal()}),this.$content=p}var f=this.$content;if(f.empty(),f.append(a),f.append(u),f.append(d),null==h)return f[0];var g=h.style,m=void 0===g?{}:g,v=m.width,y=void 0===v?"":v,b=m.height,w=void 0===b?"":b;return s.val(y),c.val(w),setTimeout(function(){s.focus()}),f[0]},e}();function JR(){return YR("w-e-edit-video")}var QR=function(){function e(){this.title=Xw("videoModule.edit"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M864 0a160 160 0 0 1 128 256l-64 64-224-224 64-64c26.752-20.096 59.968-32 96-32zM64 736l-64 288 288-64 592-592-224-224L64 736z m651.584-372.416l-448 448-55.168-55.168 448-448 55.168 55.168z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=JR(),this.posterInputId=JR(),this.buttonId=JR()}return e.prototype.getSelectedVideoNode=function(e){return Oy.getSelectedNodeByType(e,"video")},e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getSelectedVideoNode(e)},e.prototype.getModalPositionNode=function(e){return this.getSelectedVideoNode(e)},e.prototype.getModalContentElem=function(e){var t=this,r=this,n=r.srcInputId,o=r.posterInputId,i=r.buttonId,a=Ig(sE(Xw("videoModule.videoSrc"),n,Xw("videoModule.videoSrcPlaceHolder")),2),s=a[0],l=a[1],u=Ig(sE(Xw("videoModule.videoPoster"),o,Xw("videoModule.videoPosterPlaceHolder")),2),c=u[0],d=u[1],h=Ym(l),p=Ym(d),f=Ig(uE(i,Xw("videoModule.ok")),1)[0];if(null==this.$content){var g=Ym("<div></div>");g.on("click","#".concat(i),function(r){return Bg(t,void 0,void 0,function(){var t,i,a,s;return Fg(this,function(l){return r.preventDefault(),t=g.find("#".concat(n)).val().trim(),i=g.find("#".concat(o)).val().trim(),a=YR("video-"),s={src:t,poster:i,key:a},e.restoreSelection(),Vf.setNodes(e,s,{match:function(e){return Oy.checkNodeType(e,"video")}}),e.hidePanelOrModal(),[2]})})}),this.$content=g}var m=this.$content;m.empty(),m.append(s),m.append(c),m.append(f);var v=this.getSelectedVideoNode(e);if(null==v)return m[0];var y=v.src,b=void 0===y?"":y,w=v.poster,E=void 0===w?"":w;return h.val(b),p.val(E),setTimeout(function(){h.focus()}),m[0]},e}();function eL(e,t){return Bg(this,arguments,void 0,function(e,t,r,n,o){var i,a,s,l,u,c,d;return void 0===r&&(r=""),void 0===n&&(n=""),void 0===o&&(o=""),Fg(this,function(h){switch(h.label){case 0:return t?(e.restoreSelection(),i=e.getMenuConfig("insertVideo"),a=i.onInsertedVideo,s=i.checkVideo,l=i.parseVideoSrc,[4,s(t,r)]):[2];case 1:return"string"==typeof(u=h.sent())?(e.alert(u,"error"),[2]):null==u?[2]:[4,l(t)];case 2:return 0!==(c=h.sent()).trim().indexOf("<iframe ")&&(c=function(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}(c)),d={type:"video",src:c,poster:r,children:[{text:""}],style:{width:n,height:o}},Promise.resolve().then(function(){Oy.isSelectedEmptyParagraph(e)&&Vf.removeNodes(e,{mode:"highest"}),Vf.insertNodes(e,d,{mode:"highest"})}),a(d),[2]}})})}function tL(){return YR("w-e-insert-video")}var rL=function(){function e(){this.title=Xw("videoModule.insertVideo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.srcInputId=tL(),this.posterInputId=tL(),this.buttonId=tL()}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||(!Dp.isCollapsed(t)||!!Oy.getSelectedElems(e).some(function(t){var r=Oy.getNodeType(t);return"pre"===r||("list-item"===r||!!e.isVoid(t))}))},e.prototype.getModalPositionNode=function(e){return null},e.prototype.getModalContentElem=function(e){var t=this,r=this,n=r.srcInputId,o=r.posterInputId,i=r.buttonId,a=Ig(sE(Xw("videoModule.videoSrc"),n,Xw("videoModule.videoSrcPlaceHolder")),2),s=a[0],l=a[1],u=Ig(sE(Xw("videoModule.videoPoster"),o,Xw("videoModule.videoPosterPlaceHolder")),2),c=u[0],d=u[1],h=Ym(l),p=Ym(d),f=Ig(uE(i,Xw("videoModule.ok")),1)[0];if(null==this.$content){var g=Ym("<div></div>");g.on("click","#".concat(i),function(r){return Bg(t,void 0,void 0,function(){var t,i;return Fg(this,function(a){switch(a.label){case 0:return r.preventDefault(),t=g.find("#".concat(n)).val().trim(),i=g.find("#".concat(o)).val().trim(),[4,eL(e,t,i)];case 1:return a.sent(),e.hidePanelOrModal(),[2]}})})}),this.$content=g}var m=this.$content;return m.empty(),m.append(s),m.append(c),m.append(f),h.val(""),p.val(""),setTimeout(function(){h.focus()}),m[0]},e}();function nL(e){return e.getMenuConfig("uploadVideo")}var oL=new WeakMap;function iL(e,t){return Bg(this,void 0,void 0,function(){var r,n;return Fg(this,function(o){switch(o.label){case 0:return r=function(e){var t=oL.get(e);if(null!=t)return t;var r=nL(e),n=r.onSuccess,o=r.onProgress,i=r.onFailed,a=r.customInsert,s=r.onError;return t=UD(Og(Og({},r),{onProgress:function(t){e.showProgressBar(t),o&&o(t)},onSuccess:function(t,r){if(a)return a(r,function(t,r){return eL(e,t,r)}),void n(t,r);var o=r.errno,s=void 0===o?1:o,l=r.data,u=void 0===l?{}:l;if(0===s){var c=u.url,d=void 0===c?"":c,h=u.poster;eL(e,d,void 0===h?"":h),n(t,r)}else i(t,r)},onError:function(e,t,r){s(e,t,r)}})),oL.set(e,t),t}(e),n=t.map(function(e){return{name:e.name,type:e.type,size:e.size,data:e}}),r.addFiles(n),[4,r.upload()];case 1:return o.sent(),[2]}})})}var aL=function(){function e(){this.title=Xw("videoModule.uploadVideo"),this.iconSvg='<svg viewBox="0 0 1056 1024"><path d="M805.902261 521.819882a251.441452 251.441452 0 0 0-251.011972 246.600033 251.051015 251.051015 0 1 0 502.023944 8.823877 253.237463 253.237463 0 0 0-251.011972-255.42391z m59.463561 240.001647v129.898403h-116.701631v-129.898403h-44.041298l101.279368-103.504859 101.279368 103.504859z" p-id="6802"></path><path d="M788.254507 0.000781H99.094092A98.663439 98.663439 0 0 0 0.001171 99.093701v590.067495a98.663439 98.663439 0 0 0 99.092921 99.092921h411.7549a266.434235 266.434235 0 0 1-2.186448-41.815807 275.843767 275.843767 0 0 1 275.180024-270.729042 270.650955 270.650955 0 0 1 103.504859 19.834201V99.093701A101.51363 101.51363 0 0 0 788.254507 0.000781zM295.054441 640.747004V147.507894l394.146189 246.600033z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){var r=this.getMenuConfig(e),n=r.allowedFileTypes,o=void 0===n?[]:n,i=r.customBrowseAndUpload;if(i)i(function(t,r){return eL(e,t,r)});else{var a="";o.length>0&&(a='accept="'.concat(o.join(", "),'"'));var s=Ym("body"),l=Ym('<input type="file" '.concat(a," multiple/>"));l.hide(),s.append(l),l.click(),l.on("change",function(){var t=l[0].files;!function(e,t){Bg(this,void 0,void 0,function(){var r,n,o,i,a,s,l,u,c,d,h,p;return Fg(this,function(f){switch(f.label){case 0:if(null==t)return[2];r=Array.prototype.slice.call(t),n=[],o=nL(e).customUpload,f.label=1;case 1:f.trys.push([1,8,9,14]),i=!0,a=Rg(r),f.label=2;case 2:return[4,a.next()];case 3:return s=f.sent(),(c=s.done)?[3,7]:(p=s.value,i=!1,l=p,o?[4,o(l,function(t,r){return eL(e,t,r)},e)]:[3,5]);case 4:return f.sent(),[3,6];case 5:n.push(l),f.label=6;case 6:return i=!0,[3,2];case 7:return[3,14];case 8:return u=f.sent(),d={error:u},[3,14];case 9:return f.trys.push([9,,12,13]),i||c||!(h=a.return)?[3,11]:[4,h.call(a)];case 10:f.sent(),f.label=11;case 11:return[3,13];case 12:if(d)throw d.error;return[7];case 13:return[7];case 14:return n.length>0?[4,iL(e,n)]:[3,16];case 15:f.sent(),f.label=16;case 16:return[2]}})})}(e,t)})}},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||(!Dp.isCollapsed(t)||!!Oy.getSelectedElems(e).some(function(t){var r=Oy.getNodeType(t);return"pre"===r||("list-item"===r||!!e.isVoid(t))}))},e.prototype.getMenuConfig=function(e){return e.getMenuConfig("uploadVideo")},e}();function sL(e,t,r,n,o,i){return void 0===t&&(t=""),void 0===r&&(r="auto"),void 0===n&&(n="auto"),void 0===o&&(o={}),void 0===i&&(i="center"),{type:"video",src:e,poster:t,width:r,height:n,style:o,children:[{text:""}],textAlign:i}}var lL={selector:'div[data-w-e-type="video"]',parseElemHtml:function(e,t,r){var n=Ym(e),o="",i="",a="auto",s="auto",l={},u=n.find("iframe");if(u.length>0)return a=u.attr("width")||"auto",s=u.attr("height")||"auto",l=KR(l=u.attr("style")||""),sL(o=u[0].outerHTML,i,a,s,l,KR(n.attr("style")||"")["text-align"]||"center");var c=n.find("video");return(o=c.attr("src")||"")||c.length>0&&(o=c.find("source").attr("src")||""),a=c.attr("width")||"auto",s=c.attr("height")||"auto",sL(o,i=c.attr("poster")||"",a,s,l=KR(l=c.attr("style")||""),KR(n.attr("style")||"")["text-align"]||"center")}};var uL={selector:"iframe,video,p",preParseHtml:function(e){var t=Ym(e),r=t;if("p"===qR(t)){var n=t.children();if(1===n.length){var o=n[0],i=o.tagName.toLowerCase();["iframe","video"].includes(i)&&(r=Ym(o))}}var a=qR(r);if("iframe"!==a&&"video"!==a)return r[0];if("video"===r.parent().attr("data-w-e-type"))return r[0];var s=Ym('<div data-w-e-type="video" data-w-e-is-void style="text-align: center;"></div>');return s.append(r),s[0]}};var cL={type:"video",renderElem:function(e,t,r){var n,o=e,i=o.src,a=void 0===i?"":i,s=o.poster,l=void 0===s?"":s,u=o.key,c=void 0===u?"":u,d=o.width,h=void 0===d?"auto":d,p=o.height,f=void 0===p?"auto":p,g=o.style,m=void 0===g?{}:g,v=o.textAlign,y=void 0===v?"center":v,b=Oy.isNodeSelected(r,e);if(0===a.trim().indexOf("<iframe ")){n=Ax("div",{className:"w-e-textarea-video-container","data-selected":b?"true":"",style:{textAlign:y},innerHTML:GR(a,h,f,m)})}else{var w=Ax("video",{key:c,poster:l,controls:!0,style:m},Ax("source",{src:a,type:"video/mp4"}),"Sorry, your browser doesn't support embedded videos.\n 抱歉,浏览器不支持 video 视频");"auto"!==h&&(w.data.width=h),"auto"!==f&&(w.data.height=f),n=Ax("div",{className:"w-e-textarea-video-container","data-selected":b?"true":"",style:{textAlign:y}},w)}var E=ax("div",{props:{contentEditable:!1},on:{mousedown:function(e){return e.preventDefault()}}},n);return E}},dL={renderElems:[cL],elemsToHtml:[WR],preParseHtml:[uL],parseElemsHtml:[lL],menus:[{key:"insertVideo",factory:function(){return new rL},config:{onInsertedVideo:function(e){},checkVideo:function(e,t){return!0},parseVideoSrc:function(e){return e}}},{key:"uploadVideo",factory:function(){return new aL},config:{server:"",fieldName:"wangeditor-uploaded-video",maxFileSize:10485760,maxNumberOfFiles:5,allowedFileTypes:["video/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:3e4,onBeforeUpload:function(e){return e},onProgress:function(e){},onSuccess:function(e,t){},onFailed:function(e,t){console.error("'".concat(e.name,"' upload failed"),t)},onError:function(e,t,r){console.error("'".concat(e.name," upload error"),t,r)}}},{key:"editVideoSize",factory:function(){return new ZR}},{key:"editVideoSrc",factory:function(){return new QR}}],editorPlugin:function(e){var t=e.isVoid,r=e.normalizeNode,n=e;return n.isVoid=function(e){return"video"===e.type||t(e)},n.normalizeNode=function(e){var t=Ig(e,2),o=t[0],i=t[1];"video"===Oy.getNodeType(o)&&(Oy.isLastNode(n,o)&&Vf.insertNodes(n,Oy.genEmptyParagraph(),{at:[i[0]+1]}));return r([o,i])},n}},hL=function(){function e(){throw new Error("不能实例化\nCan not construct a instance")}return e.setEditorConfig=function(e){void 0===e&&(e={}),this.editorConfig=Og(Og({},this.editorConfig),e)},e.setSimpleEditorConfig=function(e){void 0===e&&(e={}),this.simpleEditorConfig=Og(Og({},this.simpleEditorConfig),e)},e.setToolbarConfig=function(e){void 0===e&&(e={}),this.toolbarConfig=Og(Og({},this.toolbarConfig),e)},e.setSimpleToolbarConfig=function(e){void 0===e&&(e={}),this.simpleToolbarConfig=Og(Og({},this.simpleToolbarConfig),e)},e.registerPlugin=function(e){this.plugins.push(e)},e.registerMenu=function(e,t){am(e,t)},e.registerRenderElem=function(e){!function(e){var t=e.type,r=e.renderElem;Ox[t||""]=r}(e)},e.registerRenderStyle=function(e){!function(e){kx.push(e)}(e)},e.registerElemToHtml=function(e){!function(e){var t=e.type,r=e.elemToHtml;fy[t||""]=r}(e)},e.registerStyleToHtml=function(e){!function(e){dy.push(e)}(e)},e.registerPreParseHtml=function(e){!function(e){Xv.push(e)}(e)},e.registerParseElemHtml=function(e){!function(e){var t=e.selector,r=e.parseElemHtml;Jv[t]=r}(e)},e.registerParseStyleHtml=function(e){!function(e){Zv.push(e)}(e)},e.registerModule=function(e){pL(e)},e.editorConfig={},e.simpleEditorConfig={},e.toolbarConfig={},e.simpleToolbarConfig={},e.plugins=[],e}();function pL(e){var t=e.menus,r=e.renderElems,n=e.renderStyle,o=e.elemsToHtml,i=e.styleToHtml,a=e.preParseHtml,s=e.parseElemsHtml,l=e.parseStyleHtml,u=e.editorPlugin;t&&t.forEach(function(e){return hL.registerMenu(e)}),r&&r.forEach(function(e){return hL.registerRenderElem(e)}),n&&hL.registerRenderStyle(n),o&&o.forEach(function(e){return hL.registerElemToHtml(e)}),i&&hL.registerStyleToHtml(i),a&&a.forEach(function(e){return hL.registerPreParseHtml(e)}),s&&s.forEach(function(e){return hL.registerParseElemHtml(e)}),l&&hL.registerParseStyleHtml(l),u&&hL.registerPlugin(u)}gN.forEach(function(e){return pL(e)}),pL(XN),pL(LR),pL(dL),pL(UR),pL(MN),pL(lP);var fL='<svg viewBox="0 0 1024 1024"><path d="M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z"></path></svg>';var gL={link:{menuKeys:["editLink","unLink","viewLink"]},image:{menuKeys:["imageWidth30","imageWidth50","imageWidth100","editorImageSizeMenu","editImage","viewImageLink","deleteImage"]},pre:{menuKeys:["enter","codeBlock","codeSelectLang"]},table:{menuKeys:["enter","tableHeader","tableColumn","tableFullWidth","insertTableRow","deleteTableRow","insertTableCol","deleteTableCol","deleteTable","mergeTableCell","splitTableCell","setTableProperty","setTableCellProperty"]},divider:{menuKeys:["enter"]},video:{menuKeys:["enter","editVideoSize","editVideoSrc"]}};var mL,vL={hoverbarKeys:(mL=["formatPainter","headerSelect","insertLink","bulletedList","|","bold","through","color","bgColor","clearStyle"],null!=im.textToFormula&&mL.push("|","textToFormula"),Og(Og({},gL),{text:{menuKeys:mL}}))};hL.setEditorConfig(Og(Og({},vL),{decorate:NN}));var yL={hoverbarKeys:gL};hL.setSimpleEditorConfig(Og(Og({},yL),{decorate:NN}));var bL={toolbarKeys:["headerSelect","blockquote","|","bold","underline","italic",{key:"group-more-style",title:Xw("editor.more"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M204.8 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M505.6 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M806.4 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path></svg>',menuKeys:["through","code","sup","sub","clearStyle"]},"color","bgColor","|","fontSize","fontFamily","lineHeight","|","bulletedList","numberedList","todo",{key:"group-justify",title:Xw("editor.justify"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',menuKeys:["justifyLeft","justifyRight","justifyCenter","justifyJustify"]},{key:"group-indent",title:Xw("editor.indent"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',menuKeys:["indent","delIndent"]},"|","emotion","insertLink",{key:"group-image",title:Xw("editor.image"),iconSvg:fL,menuKeys:["insertImage","uploadImage"]},{key:"group-video",title:Xw("editor.video"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z"></path></svg>',menuKeys:["insertVideo","uploadVideo"]},"insertTable","codeBlock","divider","|","undo","redo","|","formatPainter","fullScreen"]};hL.setToolbarConfig(bL);var wL={toolbarKeys:["blockquote","header1","header2","header3","|","bold","underline","italic","through","color","bgColor","clearStyle","|","bulletedList","numberedList","todo","justifyLeft","justifyRight","justifyCenter","|","insertLink",{key:"group-image",title:Xw("editor.image"),iconSvg:fL,menuKeys:["insertImage","uploadImage"]},"insertVideo","insertTable","codeBlock","|","undo","redo","|","fullScreen"]};function EL(e){void 0===e&&(e={});var t=e.selector,r=void 0===t?"":t,n=e.content,o=void 0===n?[]:n,i=e.html,a=e.config,s=void 0===a?{}:a,l=e.mode,u="simple"===(void 0===l?"default":l)?hL.simpleEditorConfig:hL.editorConfig,c=Og(Og({},u.hoverbarKeys||{}),s.hoverbarKeys||{});return qx({selector:r,config:Og(Og(Og({},u),s),{hoverbarKeys:c}),content:o,html:i,plugins:hL.plugins})}function xL(e){var t=e.selector,r=e.editor,n=e.config,o=void 0===n?{}:n,i=e.mode,a=void 0===i?"default":i;if(!t)throw new Error("Cannot find 'selector' when create toolbar");var s="simple"===a?hL.simpleToolbarConfig:hL.toolbarConfig;return Wx(r,{selector:t,config:Og(Og({},s),o)})}hL.setSimpleToolbarConfig(wL);var CL={};export{hL as Boot,Oy as DomEditor,ff as SlateEditor,kp as SlateElement,Fp as SlateNode,yp as SlatePath,yf as SlatePoint,Dp as SlateRange,Df as SlateText,Vf as SlateTransforms,Gx as Toolbar,EL as createEditor,xL as createToolbar,UD as createUploader,CL as default,uE as genModalButtonElems,sE as genModalInputElems,lE as genModalTextareaElems,Gw as i18nAddResources,Ww as i18nChangeLanguage,Yw as i18nGetResources,Xw as t};
20
+ */e.exports&&(e.exports=t),void 0!==y&&(y.Prism=t),t.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},t.languages.markup.tag.inside["attr-value"].inside.entity=t.languages.markup.entity,t.languages.markup.doctype.inside["internal-subset"].inside=t.languages.markup,t.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(t.languages.markup.tag,"addInlined",{value:function(e,r){var n={};n["language-"+r]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:t.languages[r]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var o={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};o["language-"+r]={pattern:/[\s\S]+/,inside:t.languages[r]};var i={};i[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:o},t.languages.insertBefore("markup","cdata",i)}}),Object.defineProperty(t.languages.markup.tag,"addAttribute",{value:function(e,r){t.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[r,"language-"+r],inside:t.languages[r]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),t.languages.html=t.languages.markup,t.languages.mathml=t.languages.markup,t.languages.svg=t.languages.markup,t.languages.xml=t.languages.extend("markup",{}),t.languages.ssml=t.languages.xml,t.languages.atom=t.languages.xml,t.languages.rss=t.languages.xml,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var r=e.languages.markup;r&&(r.tag.addInlined("style","css"),r.tag.addAttribute("style","css"))}(t),t.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},t.languages.javascript=t.languages.extend("clike",{"class-name":[t.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),t.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,t.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:t.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:t.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:t.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:t.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:t.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),t.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:t.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),t.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),t.languages.markup&&(t.languages.markup.tag.addInlined("script","javascript"),t.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),t.languages.js=t.languages.javascript,function(){if(void 0!==t&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},r="data-src-status",n="loading",o="loaded",i="pre[data-src]:not(["+r+'="'+o+'"]):not(['+r+'="'+n+'"])';t.hooks.add("before-highlightall",function(e){e.selector+=", "+i}),t.hooks.add("before-sanity-check",function(a){var s=a.element;if(s.matches(i)){a.code="",s.setAttribute(r,n);var l=s.appendChild(document.createElement("CODE"));l.textContent="Loading…";var u=s.getAttribute("data-src"),c=a.language;if("none"===c){var d=(/\.(\w+)$/.exec(u)||[,"none"])[1];c=e[d]||d}t.util.setLanguage(l,c),t.util.setLanguage(s,c);var h=t.plugins.autoloader;h&&h.loadLanguages(c),function(e,t,r){var n=new XMLHttpRequest;n.open("GET",e,!0),n.onreadystatechange=function(){4==n.readyState&&(n.status<400&&n.responseText?t(n.responseText):n.status>=400?r("✖ Error "+n.status+" while fetching file: "+n.statusText):r("✖ Error: File does not exist or is empty"))},n.send(null)}(u,function(e){s.setAttribute(r,o);var n=function(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||"");if(t){var r=Number(t[1]),n=t[2],o=t[3];return n?o?[r,Number(o)]:[r,void 0]:[r,r]}}(s.getAttribute("data-range"));if(n){var i=e.split(/\r\n?|\n/g),a=n[0],u=null==n[1]?i.length:n[1];a<0&&(a+=i.length),a=Math.max(0,Math.min(a-1,i.length)),u<0&&(u+=i.length),u=Math.max(0,Math.min(u,i.length)),e=i.slice(a,u).join("\n"),s.hasAttribute("data-start")||s.setAttribute("data-start",String(a+1))}l.textContent=e,t.highlightElement(l)},function(e){s.setAttribute(r,"failed"),l.textContent=e})}}),t.plugins.fileHighlight={highlight:function(e){for(var r,n=(e||document).querySelectorAll(i),o=0;r=n[o++];)t.highlightElement(r)}};var a=!1;t.fileHighlight=function(){a||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),a=!0),t.plugins.fileHighlight.highlight.apply(this,arguments)}}}()}(vN)),vN.exports),bN=b(yN);!function(e){var t=e.util.clone(e.languages.javascript),r=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,n=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,o=/(?:\{<S>*\.{3}(?:[^{}]|<BRACES>)*\})/.source;function i(e,t){return e=e.replace(/<S>/g,function(){return r}).replace(/<BRACES>/g,function(){return n}).replace(/<SPREAD>/g,function(){return o}),RegExp(e,t)}o=i(o).source,e.languages.jsx=e.languages.extend("markup",t),e.languages.jsx.tag.pattern=i(/<\/?(?:[\w.:-]+(?:<S>+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|<BRACES>))?|<SPREAD>))*<S>*\/?)?>/.source),e.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/,e.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/,e.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,e.languages.jsx.tag.inside.comment=t.comment,e.languages.insertBefore("inside","attr-name",{spread:{pattern:i(/<SPREAD>/.source),inside:e.languages.jsx}},e.languages.jsx.tag),e.languages.insertBefore("inside","special-attr",{script:{pattern:i(/=<BRACES>/.source),alias:"language-javascript",inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:e.languages.jsx}}},e.languages.jsx.tag);var a=function(e){return e?"string"==typeof e?e:"string"==typeof e.content?e.content:e.content.map(a).join(""):""},s=function(t){for(var r=[],n=0;n<t.length;n++){var o=t[n],i=!1;if("string"!=typeof o&&("tag"===o.type&&o.content[0]&&"tag"===o.content[0].type?"</"===o.content[0].content[0].content?r.length>0&&r[r.length-1].tagName===a(o.content[0].content[1])&&r.pop():"/>"===o.content[o.content.length-1].content||r.push({tagName:a(o.content[0].content[1]),openedBraces:0}):r.length>0&&"punctuation"===o.type&&"{"===o.content?r[r.length-1].openedBraces++:r.length>0&&r[r.length-1].openedBraces>0&&"punctuation"===o.type&&"}"===o.content?r[r.length-1].openedBraces--:i=!0),(i||"string"==typeof o)&&r.length>0&&0===r[r.length-1].openedBraces){var l=a(o);n<t.length-1&&("string"==typeof t[n+1]||"plain-text"===t[n+1].type)&&(l+=a(t[n+1]),t.splice(n+1,1)),n>0&&("string"==typeof t[n-1]||"plain-text"===t[n-1].type)&&(l=a(t[n-1])+l,t.splice(n-1,1),n--),t[n]=new e.Token("plain-text",l,null,l)}o.content&&"string"!=typeof o.content&&s(o.content)}};e.hooks.add("after-tokenize",function(e){"jsx"!==e.language&&"tsx"!==e.language||s(e.tokens)})}(Prism);var wN;wN||(wN=1,function(e){e.languages.typescript=e.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:Array|Function|Promise|any|boolean|console|never|number|string|symbol|unknown)\b/}),e.languages.typescript.keyword.push(/\b(?:abstract|declare|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)\b(?=\s*(?:[{_$a-zA-Z\xA0-\uFFFF]|$))/,/\btype\b(?=\s*(?:[\{*]|$))/),delete e.languages.typescript.parameter,delete e.languages.typescript["literal-property"];var t=e.languages.extend("typescript",{});delete t["class-name"],e.languages.typescript["class-name"].inside=t,e.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:t}}}}),e.languages.ts=e.languages.typescript}(Prism)),Prism.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&amp;/,"&"))}),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function(e,t){var r={};r["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:Prism.languages[t]},r.cdata=/^<!\[CDATA\[|\]\]>$/i;var n={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:r}};n["language-"+t]={pattern:/[\s\S]+/,inside:Prism.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:n},Prism.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(e,t){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:Prism.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml,Prism.languages.go=Prism.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"|`[^`]*`/,lookbehind:!0,greedy:!0},keyword:/\b(?:break|case|chan|const|continue|default|defer|else|fallthrough|for|func|go(?:to)?|if|import|interface|map|package|range|return|select|struct|switch|type|var)\b/,boolean:/\b(?:_|false|iota|nil|true)\b/,number:[/\b0(?:b[01_]+|o[0-7_]+)i?\b/i,/\b0x(?:[a-f\d_]+(?:\.[a-f\d_]*)?|\.[a-f\d_]+)(?:p[+-]?\d+(?:_\d+)*)?i?(?!\w)/i,/(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?[\d_]+)?i?(?!\w)/i],operator:/[*\/%^!=]=?|\+[=+]?|-[=-]?|\|[=|]?|&(?:=|&|\^=?)?|>(?:>=?|=)?|<(?:<=?|=|-)?|:=|\.\.\./,builtin:/\b(?:append|bool|byte|cap|close|complex|complex(?:64|128)|copy|delete|error|float(?:32|64)|u?int(?:8|16|32|64)?|imag|len|make|new|panic|print(?:ln)?|real|recover|rune|string|uintptr)\b/}),Prism.languages.insertBefore("go","string",{char:{pattern:/'(?:\\.|[^'\\\r\n]){0,10}'/,greedy:!0}}),delete Prism.languages.go["class-name"];var EN;EN||(EN=1,function(e){var t=/\/\*[\s\S]*?\*\/|\/\/.*|#(?!\[).*/,r=[{pattern:/\b(?:false|true)\b/i,alias:"boolean"},{pattern:/(::\s*)\b[a-z_]\w*\b(?!\s*\()/i,greedy:!0,lookbehind:!0},{pattern:/(\b(?:case|const)\s+)\b[a-z_]\w*(?=\s*[;=])/i,greedy:!0,lookbehind:!0},/\b(?:null)\b/i,/\b[A-Z_][A-Z0-9_]*\b(?!\s*\()/],n=/\b0b[01]+(?:_[01]+)*\b|\b0o[0-7]+(?:_[0-7]+)*\b|\b0x[\da-f]+(?:_[\da-f]+)*\b|(?:\b\d+(?:_\d+)*\.?(?:\d+(?:_\d+)*)?|\B\.\d+)(?:e[+-]?\d+)?/i,o=/<?=>|\?\?=?|\.{3}|\??->|[!=]=?=?|::|\*\*=?|--|\+\+|&&|\|\||<<|>>|[?~]|[/^|%*&<>.+-]=?/,i=/[{}\[\](),:;]/;e.languages.php={delimiter:{pattern:/\?>$|^<\?(?:php(?=\s)|=)?/i,alias:"important"},comment:t,variable:/\$+(?:\w+\b|(?=\{))/,package:{pattern:/(namespace\s+|use\s+(?:function\s+)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,lookbehind:!0,inside:{punctuation:/\\/}},"class-name-definition":{pattern:/(\b(?:class|enum|interface|trait)\s+)\b[a-z_]\w*(?!\\)\b/i,lookbehind:!0,alias:"class-name"},"function-definition":{pattern:/(\bfunction\s+)[a-z_]\w*(?=\s*\()/i,lookbehind:!0,alias:"function"},keyword:[{pattern:/(\(\s*)\b(?:array|bool|boolean|float|int|integer|object|string)\b(?=\s*\))/i,alias:"type-casting",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|object|self|static|string)\b(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b(?:array(?!\s*\()|bool|callable|(?:false|null)(?=\s*\|)|float|int|iterable|mixed|never|object|self|static|string|void)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/\b(?:array(?!\s*\()|bool|float|int|iterable|mixed|object|string|void)\b/i,alias:"type-declaration",greedy:!0},{pattern:/(\|\s*)(?:false|null)\b|\b(?:false|null)(?=\s*\|)/i,alias:"type-declaration",greedy:!0,lookbehind:!0},{pattern:/\b(?:parent|self|static)(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(\byield\s+)from\b/i,lookbehind:!0},/\bclass\b/i,{pattern:/((?:^|[^\s>:]|(?:^|[^-])>|(?:^|[^:]):)\s*)\b(?:abstract|and|array|as|break|callable|case|catch|clone|const|continue|declare|default|die|do|echo|else|elseif|empty|enddeclare|endfor|endforeach|endif|endswitch|endwhile|enum|eval|exit|extends|final|finally|fn|for|foreach|function|global|goto|if|implements|include|include_once|instanceof|insteadof|interface|isset|list|match|namespace|never|new|or|parent|print|private|protected|public|readonly|require|require_once|return|self|static|switch|throw|trait|try|unset|use|var|while|xor|yield|__halt_compiler)\b/i,lookbehind:!0}],"argument-name":{pattern:/([(,]\s*)\b[a-z_]\w*(?=\s*:(?!:))/i,lookbehind:!0},"class-name":[{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self|\s+static))\s+|\bcatch\s*\()\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/(\|\s*)\b[a-z_]\w*(?!\\)\b/i,greedy:!0,lookbehind:!0},{pattern:/\b[a-z_]\w*(?!\\)\b(?=\s*\|)/i,greedy:!0},{pattern:/(\|\s*)(?:\\?\b[a-z_]\w*)+\b/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(?:\\?\b[a-z_]\w*)+\b(?=\s*\|)/i,alias:"class-name-fully-qualified",greedy:!0,inside:{punctuation:/\\/}},{pattern:/(\b(?:extends|implements|instanceof|new(?!\s+self\b|\s+static\b))\s+|\bcatch\s*\()(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:"class-name-fully-qualified",greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*\$)/i,alias:"type-declaration",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-declaration"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/\b[a-z_]\w*(?=\s*::)/i,alias:"static-context",greedy:!0},{pattern:/(?:\\?\b[a-z_]\w*)+(?=\s*::)/i,alias:["class-name-fully-qualified","static-context"],greedy:!0,inside:{punctuation:/\\/}},{pattern:/([(,?]\s*)[a-z_]\w*(?=\s*\$)/i,alias:"type-hint",greedy:!0,lookbehind:!0},{pattern:/([(,?]\s*)(?:\\?\b[a-z_]\w*)+(?=\s*\$)/i,alias:["class-name-fully-qualified","type-hint"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}},{pattern:/(\)\s*:\s*(?:\?\s*)?)\b[a-z_]\w*(?!\\)\b/i,alias:"return-type",greedy:!0,lookbehind:!0},{pattern:/(\)\s*:\s*(?:\?\s*)?)(?:\\?\b[a-z_]\w*)+\b(?!\\)/i,alias:["class-name-fully-qualified","return-type"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:r,function:{pattern:/(^|[^\\\w])\\?[a-z_](?:[\w\\]*\w)?(?=\s*\()/i,lookbehind:!0,inside:{punctuation:/\\/}},property:{pattern:/(->\s*)\w+/,lookbehind:!0},number:n,operator:o,punctuation:i};var a={pattern:/\{\$(?:\{(?:\{[^{}]+\}|[^{}]+)\}|[^{}])+\}|(^|[^\\{])\$+(?:\w+(?:\[[^\r\n\[\]]+\]|->\w+)?)/,lookbehind:!0,inside:e.languages.php},s=[{pattern:/<<<'([^']+)'[\r\n](?:.*[\r\n])*?\1;/,alias:"nowdoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<'[^']+'|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<'?|[';]$/}}}},{pattern:/<<<(?:"([^"]+)"[\r\n](?:.*[\r\n])*?\1;|([a-z_]\w*)[\r\n](?:.*[\r\n])*?\2;)/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<<(?:"[^"]+"|[a-z_]\w*)|[a-z_]\w*;$/i,alias:"symbol",inside:{punctuation:/^<<<"?|[";]$/}},interpolation:a}},{pattern:/`(?:\\[\s\S]|[^\\`])*`/,alias:"backtick-quoted-string",greedy:!0},{pattern:/'(?:\\[\s\S]|[^\\'])*'/,alias:"single-quoted-string",greedy:!0},{pattern:/"(?:\\[\s\S]|[^\\"])*"/,alias:"double-quoted-string",greedy:!0,inside:{interpolation:a}}];e.languages.insertBefore("php","variable",{string:s,attribute:{pattern:/#\[(?:[^"'\/#]|\/(?![*/])|\/\/.*$|#(?!\[).*$|\/\*(?:[^*]|\*(?!\/))*\*\/|"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*')+\](?=\s*[a-z$#])/im,greedy:!0,inside:{"attribute-content":{pattern:/^(#\[)[\s\S]+(?=\]$)/,lookbehind:!0,inside:{comment:t,string:s,"attribute-class-name":[{pattern:/([^:]|^)\b[a-z_]\w*(?!\\)\b/i,alias:"class-name",greedy:!0,lookbehind:!0},{pattern:/([^:]|^)(?:\\?\b[a-z_]\w*)+/i,alias:["class-name","class-name-fully-qualified"],greedy:!0,lookbehind:!0,inside:{punctuation:/\\/}}],constant:r,number:n,operator:o,punctuation:i}},delimiter:{pattern:/^#\[|\]$/,alias:"punctuation"}}}}),e.hooks.add("before-tokenize",function(t){/<\?/.test(t.code)&&e.languages["markup-templating"].buildPlaceholders(t,"php",/<\?(?:[^"'/#]|\/(?![*/])|("|')(?:\\[\s\S]|(?!\1)[^\\])*\1|(?:\/\/|#(?!\[))(?:[^?\n\r]|\?(?!>))*(?=$|\?>|[\r\n])|#\[|\/\*(?:[^*]|\*(?!\/))*(?:\*\/|$))*?(?:\?>|$)/g)}),e.hooks.add("after-tokenize",function(t){e.languages["markup-templating"].tokenizePlaceholders(t,"php")})}(Prism)),Prism.languages.c=Prism.languages.extend("clike",{comment:{pattern:/\/\/(?:[^\r\n\\]|\\(?:\r\n?|\n|(?![\r\n])))*|\/\*[\s\S]*?(?:\*\/|$)/,greedy:!0},string:{pattern:/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"/,greedy:!0},"class-name":{pattern:/(\b(?:enum|struct)\s+(?:__attribute__\s*\(\([\s\S]*?\)\)\s*)?)\w+|\b[a-z]\w*_t\b/,lookbehind:!0},keyword:/\b(?:_Alignas|_Alignof|_Atomic|_Bool|_Complex|_Generic|_Imaginary|_Noreturn|_Static_assert|_Thread_local|__attribute__|asm|auto|break|case|char|const|continue|default|do|double|else|enum|extern|float|for|goto|if|inline|int|long|register|return|short|signed|sizeof|static|struct|switch|typedef|typeof|union|unsigned|void|volatile|while)\b/,function:/\b[a-z_]\w*(?=\s*\()/i,number:/(?:\b0x(?:[\da-f]+(?:\.[\da-f]*)?|\.[\da-f]+)(?:p[+-]?\d+)?|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?)[ful]{0,4}/i,operator:/>>=?|<<=?|->|([-+&|:])\1|[?:~]|[-+*/%&|^!=<>]=?/}),Prism.languages.insertBefore("c","string",{char:{pattern:/'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n]){0,32}'/,greedy:!0}}),Prism.languages.insertBefore("c","string",{macro:{pattern:/(^[\t ]*)#\s*[a-z](?:[^\r\n\\/]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|\\(?:\r\n|[\s\S]))*/im,lookbehind:!0,greedy:!0,alias:"property",inside:{string:[{pattern:/^(#\s*include\s*)<[^>]+>/,lookbehind:!0},Prism.languages.c.string],char:Prism.languages.c.char,comment:Prism.languages.c.comment,"macro-name":[{pattern:/(^#\s*define\s+)\w+\b(?!\()/i,lookbehind:!0},{pattern:/(^#\s*define\s+)\w+\b(?=\()/i,lookbehind:!0,alias:"function"}],directive:{pattern:/^(#\s*)[a-z]+/,lookbehind:!0,alias:"keyword"},"directive-hash":/^#/,punctuation:/##|\\(?=[\r\n])/,expression:{pattern:/\S[\s\S]*/,inside:Prism.languages.c}}}}),Prism.languages.insertBefore("c","function",{constant:/\b(?:EOF|NULL|SEEK_CUR|SEEK_END|SEEK_SET|__DATE__|__FILE__|__LINE__|__TIMESTAMP__|__TIME__|__func__|stderr|stdin|stdout)\b/}),delete Prism.languages.c.boolean;var xN;xN||(xN=1,Prism.languages.python={comment:{pattern:/(^|[^\\])#.*/,lookbehind:!0,greedy:!0},"string-interpolation":{pattern:/(?:f|fr|rf)(?:("""|''')[\s\S]*?\1|("|')(?:\\.|(?!\2)[^\\\r\n])*\2)/i,greedy:!0,inside:{interpolation:{pattern:/((?:^|[^{])(?:\{\{)*)\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}]|\{(?!\{)(?:[^{}])+\})+\})+\}/,lookbehind:!0,inside:{"format-spec":{pattern:/(:)[^:(){}]+(?=\}$)/,lookbehind:!0},"conversion-option":{pattern:/![sra](?=[:}]$)/,alias:"punctuation"},rest:null}},string:/[\s\S]+/}},"triple-quoted-string":{pattern:/(?:[rub]|br|rb)?("""|''')[\s\S]*?\1/i,greedy:!0,alias:"string"},string:{pattern:/(?:[rub]|br|rb)?("|')(?:\\.|(?!\1)[^\\\r\n])*\1/i,greedy:!0},function:{pattern:/((?:^|\s)def[ \t]+)[a-zA-Z_]\w*(?=\s*\()/g,lookbehind:!0},"class-name":{pattern:/(\bclass\s+)\w+/i,lookbehind:!0},decorator:{pattern:/(^[\t ]*)@\w+(?:\.\w+)*/m,lookbehind:!0,alias:["annotation","punctuation"],inside:{punctuation:/\./}},keyword:/\b(?:_(?=\s*:)|and|as|assert|async|await|break|case|class|continue|def|del|elif|else|except|exec|finally|for|from|global|if|import|in|is|lambda|match|nonlocal|not|or|pass|print|raise|return|try|while|with|yield)\b/,builtin:/\b(?:__import__|abs|all|any|apply|ascii|basestring|bin|bool|buffer|bytearray|bytes|callable|chr|classmethod|cmp|coerce|compile|complex|delattr|dict|dir|divmod|enumerate|eval|execfile|file|filter|float|format|frozenset|getattr|globals|hasattr|hash|help|hex|id|input|int|intern|isinstance|issubclass|iter|len|list|locals|long|map|max|memoryview|min|next|object|oct|open|ord|pow|property|range|raw_input|reduce|reload|repr|reversed|round|set|setattr|slice|sorted|staticmethod|str|sum|super|tuple|type|unichr|unicode|vars|xrange|zip)\b/,boolean:/\b(?:False|None|True)\b/,number:/\b0(?:b(?:_?[01])+|o(?:_?[0-7])+|x(?:_?[a-f0-9])+)\b|(?:\b\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\B\.\d+(?:_\d+)*)(?:e[+-]?\d+(?:_\d+)*)?j?(?!\w)/i,operator:/[-+%=]=?|!=|:=|\*\*?=?|\/\/?=?|<[<=>]?|>[=>]?|[&|^~]/,punctuation:/[{}[\];(),.:]/},Prism.languages.python["string-interpolation"].inside.interpolation.inside.rest=Prism.languages.python,Prism.languages.py=Prism.languages.python);var CN;CN||(CN=1,function(e){var t=/\b(?:abstract|assert|boolean|break|byte|case|catch|char|class|const|continue|default|do|double|else|enum|exports|extends|final|finally|float|for|goto|if|implements|import|instanceof|int|interface|long|module|native|new|non-sealed|null|open|opens|package|permits|private|protected|provides|public|record(?!\s*[(){}[\]<>=%~.:,;?+\-*/&|^])|requires|return|sealed|short|static|strictfp|super|switch|synchronized|this|throw|throws|to|transient|transitive|try|uses|var|void|volatile|while|with|yield)\b/,r=/(?:[a-z]\w*\s*\.\s*)*(?:[A-Z]\w*\s*\.\s*)*/.source,n={pattern:RegExp(/(^|[^\w.])/.source+r+/[A-Z](?:[\d_A-Z]*[a-z]\w*)?\b/.source),lookbehind:!0,inside:{namespace:{pattern:/^[a-z]\w*(?:\s*\.\s*[a-z]\w*)*(?:\s*\.)?/,inside:{punctuation:/\./}},punctuation:/\./}};e.languages.java=e.languages.extend("clike",{string:{pattern:/(^|[^\\])"(?:\\.|[^"\\\r\n])*"/,lookbehind:!0,greedy:!0},"class-name":[n,{pattern:RegExp(/(^|[^\w.])/.source+r+/[A-Z]\w*(?=\s+\w+\s*[;,=()]|\s*(?:\[[\s,]*\]\s*)?::\s*new\b)/.source),lookbehind:!0,inside:n.inside},{pattern:RegExp(/(\b(?:class|enum|extends|implements|instanceof|interface|new|record|throws)\s+)/.source+r+/[A-Z]\w*\b/.source),lookbehind:!0,inside:n.inside}],keyword:t,function:[e.languages.clike.function,{pattern:/(::\s*)[a-z_]\w*/,lookbehind:!0}],number:/\b0b[01][01_]*L?\b|\b0x(?:\.[\da-f_p+-]+|[\da-f_]+(?:\.[\da-f_p+-]+)?)\b|(?:\b\d[\d_]*(?:\.[\d_]*)?|\B\.\d[\d_]*)(?:e[+-]?\d[\d_]*)?[dfl]?/i,operator:{pattern:/(^|[^.])(?:<<=?|>>>?=?|->|--|\+\+|&&|\|\||::|[?:~]|[-+*/%&|^!=<>]=?)/m,lookbehind:!0},constant:/\b[A-Z][A-Z_\d]+\b/}),e.languages.insertBefore("java","string",{"triple-quoted-string":{pattern:/"""[ \t]*[\r\n](?:(?:"|"")?(?:\\.|[^"\\]))*"""/,greedy:!0,alias:"string"},char:{pattern:/'(?:\\.|[^'\\\r\n]){1,6}'/,greedy:!0}}),e.languages.insertBefore("java","class-name",{annotation:{pattern:/(^|[^.])@\w+(?:\s*\.\s*\w+)*/,lookbehind:!0,alias:"punctuation"},generics:{pattern:/<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&)|<(?:[\w\s,.?]|&(?!&))*>)*>)*>)*>/,inside:{"class-name":n,keyword:t,punctuation:/[<>(),.:]/,operator:/[?&|]/}},import:[{pattern:RegExp(/(\bimport\s+)/.source+r+/(?:[A-Z]\w*|\*)(?=\s*;)/.source),lookbehind:!0,inside:{namespace:n.inside.namespace,punctuation:/\./,operator:/\*/,"class-name":/\w+/}},{pattern:RegExp(/(\bimport\s+static\s+)/.source+r+/(?:\w+|\*)(?=\s*;)/.source),lookbehind:!0,alias:"static",inside:{namespace:n.inside.namespace,static:/\b\w+$/,punctuation:/\./,operator:/\*/,"class-name":/\w+/}}],namespace:{pattern:RegExp(/(\b(?:exports|import(?:\s+static)?|module|open|opens|package|provides|requires|to|transitive|uses|with)\s+)(?!<keyword>)[a-z]\w*(?:\.[a-z]\w*)*\.?/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0,inside:{punctuation:/\./}}})}(Prism));var SN;SN||(SN=1,function(e){var t=/\b(?:alignas|alignof|asm|auto|bool|break|case|catch|char|char16_t|char32_t|char8_t|class|co_await|co_return|co_yield|compl|concept|const|const_cast|consteval|constexpr|constinit|continue|decltype|default|delete|do|double|dynamic_cast|else|enum|explicit|export|extern|final|float|for|friend|goto|if|import|inline|int|int16_t|int32_t|int64_t|int8_t|long|module|mutable|namespace|new|noexcept|nullptr|operator|override|private|protected|public|register|reinterpret_cast|requires|return|short|signed|sizeof|static|static_assert|static_cast|struct|switch|template|this|thread_local|throw|try|typedef|typeid|typename|uint16_t|uint32_t|uint64_t|uint8_t|union|unsigned|using|virtual|void|volatile|wchar_t|while)\b/,r=/\b(?!<keyword>)\w+(?:\s*\.\s*\w+)*\b/.source.replace(/<keyword>/g,function(){return t.source});e.languages.cpp=e.languages.extend("c",{"class-name":[{pattern:RegExp(/(\b(?:class|concept|enum|struct|typename)\s+)(?!<keyword>)\w+/.source.replace(/<keyword>/g,function(){return t.source})),lookbehind:!0},/\b[A-Z]\w*(?=\s*::\s*\w+\s*\()/,/\b[A-Z_]\w*(?=\s*::\s*~\w+\s*\()/i,/\b\w+(?=\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>\s*::\s*\w+\s*\()/],keyword:t,number:{pattern:/(?:\b0b[01']+|\b0x(?:[\da-f']+(?:\.[\da-f']*)?|\.[\da-f']+)(?:p[+-]?[\d']+)?|(?:\b[\d']+(?:\.[\d']*)?|\B\.[\d']+)(?:e[+-]?[\d']+)?)[ful]{0,4}/i,greedy:!0},operator:/>>=?|<<=?|->|--|\+\+|&&|\|\||[?:~]|<=>|[-+*/%&|^!=<>]=?|\b(?:and|and_eq|bitand|bitor|not|not_eq|or|or_eq|xor|xor_eq)\b/,boolean:/\b(?:false|true)\b/}),e.languages.insertBefore("cpp","string",{module:{pattern:RegExp(/(\b(?:import|module)\s+)/.source+"(?:"+/"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|<[^<>\r\n]*>/.source+"|"+/<mod-name>(?:\s*:\s*<mod-name>)?|:\s*<mod-name>/.source.replace(/<mod-name>/g,function(){return r})+")"),lookbehind:!0,greedy:!0,inside:{string:/^[<"][\s\S]+/,operator:/:/,punctuation:/\./}},"raw-string":{pattern:/R"([^()\\ ]{0,16})\([\s\S]*?\)\1"/,alias:"string",greedy:!0}}),e.languages.insertBefore("cpp","keyword",{"generic-function":{pattern:/\b(?!operator\b)[a-z_]\w*\s*<(?:[^<>]|<[^<>]*>)*>(?=\s*\()/i,inside:{function:/^\w+/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:e.languages.cpp}}}}),e.languages.insertBefore("cpp","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}}),e.languages.insertBefore("cpp","class-name",{"base-clause":{pattern:/(\b(?:class|struct)\s+\w+\s*:\s*)[^;{}"'\s]+(?:\s+[^;{}"'\s]+)*(?=\s*[;{])/,lookbehind:!0,greedy:!0,inside:e.languages.extend("cpp",{})}}),e.languages.insertBefore("inside","double-colon",{"class-name":/\b[a-z_]\w*\b(?!\s*::)/i},e.languages.cpp["base-clause"])}(Prism));var DN;DN||(DN=1,function(e){function t(e,t){return e.replace(/<<(\d+)>>/g,function(e,r){return"(?:"+t[+r]+")"})}function r(e,r,n){return RegExp(t(e,r),"")}function n(e,t){for(var r=0;r<t;r++)e=e.replace(/<<self>>/g,function(){return"(?:"+e+")"});return e.replace(/<<self>>/g,"[^\\s\\S]")}var o="bool byte char decimal double dynamic float int long object sbyte short string uint ulong ushort var void",i="class enum interface record struct",a="add alias and ascending async await by descending from(?=\\s*(?:\\w|$)) get global group into init(?=\\s*;) join let nameof not notnull on or orderby partial remove select set unmanaged value when where with(?=\\s*{)",s="abstract as base break case catch checked const continue default delegate do else event explicit extern finally fixed for foreach goto if implicit in internal is lock namespace new null operator out override params private protected public readonly ref return sealed sizeof stackalloc static switch this throw try typeof unchecked unsafe using virtual volatile while yield";function l(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var u=l(i),c=RegExp(l(o+" "+i+" "+a+" "+s)),d=l(i+" "+a+" "+s),h=l(o+" "+i+" "+s),p=n(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),f=n(/\((?:[^()]|<<self>>)*\)/.source,2),g=/@?\b[A-Za-z_]\w*\b/.source,m=t(/<<0>>(?:\s*<<1>>)?/.source,[g,p]),v=t(/(?!<<0>>)<<1>>(?:\s*\.\s*<<1>>)*/.source,[d,m]),y=/\[\s*(?:,\s*)*\]/.source,b=t(/<<0>>(?:\s*(?:\?\s*)?<<1>>)*(?:\s*\?)?/.source,[v,y]),w=t(/[^,()<>[\];=+\-*/%&|^]|<<0>>|<<1>>|<<2>>/.source,[p,f,y]),E=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[w]),x=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[E,v,y]),C={keyword:c,punctuation:/[<>()?,.:[\]]/},S=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,D=/"(?:\\.|[^\\"\r\n])*"/.source,A=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:r(/(^|[^$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0},{pattern:r(/(^|[^@$\\])<<0>>/.source,[D]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:r(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[v]),lookbehind:!0,inside:C},{pattern:r(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[g,x]),lookbehind:!0,inside:C},{pattern:r(/(\busing\s+)<<0>>(?=\s*=)/.source,[g]),lookbehind:!0},{pattern:r(/(\b<<0>>\s+)<<1>>/.source,[u,m]),lookbehind:!0,inside:C},{pattern:r(/(\bcatch\s*\(\s*)<<0>>/.source,[v]),lookbehind:!0,inside:C},{pattern:r(/(\bwhere\s+)<<0>>/.source,[g]),lookbehind:!0},{pattern:r(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[b]),lookbehind:!0,inside:C},{pattern:r(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[x,h,g]),inside:C}],keyword:c,number:/(?:\b0(?:x[\da-f_]*[\da-f]|b[01_]*[01])|(?:\B\.\d+(?:_+\d+)*|\b\d+(?:_+\d+)*(?:\.\d+(?:_+\d+)*)?)(?:e[-+]?\d+(?:_+\d+)*)?)(?:[dflmu]|lu|ul)?\b/i,operator:/>>=?|<<=?|[-=]>|([-+&|])\1|~|\?\?=?|[-+*/%&|^!=<>]=?/,punctuation:/\?\.?|::|[{}[\];(),.:]/}),e.languages.insertBefore("csharp","number",{range:{pattern:/\.\./,alias:"operator"}}),e.languages.insertBefore("csharp","punctuation",{"named-parameter":{pattern:r(/([(,]\s*)<<0>>(?=\s*:)/.source,[g]),lookbehind:!0,alias:"punctuation"}}),e.languages.insertBefore("csharp","class-name",{namespace:{pattern:r(/(\b(?:namespace|using)\s+)<<0>>(?:\s*\.\s*<<0>>)*(?=\s*[;{])/.source,[g]),lookbehind:!0,inside:{punctuation:/\./}},"type-expression":{pattern:r(/(\b(?:default|sizeof|typeof)\s*\(\s*(?!\s))(?:[^()\s]|\s(?!\s)|<<0>>)*(?=\s*\))/.source,[f]),lookbehind:!0,alias:"class-name",inside:C},"return-type":{pattern:r(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[x,v]),inside:C,alias:"class-name"},"constructor-invocation":{pattern:r(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[x]),lookbehind:!0,inside:C,alias:"class-name"},"generic-method":{pattern:r(/<<0>>\s*<<1>>(?=\s*\()/.source,[g,p]),inside:{function:r(/^<<0>>/.source,[g]),generic:{pattern:RegExp(p),alias:"class-name",inside:C}}},"type-list":{pattern:r(/\b((?:<<0>>\s+<<1>>|record\s+<<1>>\s*<<5>>|where\s+<<2>>)\s*:\s*)(?:<<3>>|<<4>>|<<1>>\s*<<5>>|<<6>>)(?:\s*,\s*(?:<<3>>|<<4>>|<<6>>))*(?=\s*(?:where|[{;]|=>|$))/.source,[u,m,g,x,c.source,f,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:r(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[m,f]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:c,"class-name":{pattern:RegExp(x),greedy:!0,inside:C},punctuation:/[,()]/}},preprocessor:{pattern:/(^[\t ]*)#.*/m,lookbehind:!0,alias:"property",inside:{directive:{pattern:/(#)\b(?:define|elif|else|endif|endregion|error|if|line|nullable|pragma|region|undef|warning)\b/,lookbehind:!0,alias:"keyword"}}}});var k=D+"|"+S,T=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[k]),N=n(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[T]),2),O=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,B=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[v,N]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:r(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[O,B]),lookbehind:!0,greedy:!0,inside:{target:{pattern:r(/^<<0>>(?=\s*:)/.source,[O]),alias:"keyword"},"attribute-arguments":{pattern:r(/\(<<0>>*\)/.source,[N]),inside:e.languages.csharp},"class-name":{pattern:RegExp(v),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var F=/:[^}\r\n]+/.source,M=n(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[T]),2),I=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[M,F]),P=n(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[k]),2),R=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[P,F]);function L(t,n){return{interpolation:{pattern:r(/((?:^|[^{])(?:\{\{)*)<<0>>/.source,[t]),lookbehind:!0,inside:{"format-string":{pattern:r(/(^\{(?:(?![}:])<<0>>)*)<<1>>(?=\}$)/.source,[n,F]),lookbehind:!0,inside:{punctuation:/^:/}},punctuation:/^\{|\}$/,expression:{pattern:/[\s\S]+/,alias:"language-csharp",inside:e.languages.csharp}}},string:/[\s\S]+/}}e.languages.insertBefore("csharp","string",{"interpolation-string":[{pattern:r(/(^|[^\\])(?:\$@|@\$)"(?:""|\\[\s\S]|\{\{|<<0>>|[^\\{"])*"/.source,[I]),lookbehind:!0,greedy:!0,inside:L(I,M)},{pattern:r(/(^|[^@\\])\$"(?:\\.|\{\{|<<0>>|[^\\"{])*"/.source,[R]),lookbehind:!0,greedy:!0,inside:L(R,P)}],char:{pattern:RegExp(S),greedy:!0}}),e.languages.dotnet=e.languages.cs=e.languages.csharp}(Prism)),Prism.languages["visual-basic"]={comment:{pattern:/(?:['‘’]|REM\b)(?:[^\r\n_]|_(?:\r\n?|\n)?)*/i,inside:{keyword:/^REM/i}},directive:{pattern:/#(?:Const|Else|ElseIf|End|ExternalChecksum|ExternalSource|If|Region)(?:\b_[ \t]*(?:\r\n?|\n)|.)+/i,alias:"property",greedy:!0},string:{pattern:/\$?["“”](?:["“”]{2}|[^"“”])*["“”]C?/i,greedy:!0},date:{pattern:/#[ \t]*(?:\d+([/-])\d+\1\d+(?:[ \t]+(?:\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?))?|\d+[ \t]*(?:AM|PM)|\d+:\d+(?::\d+)?(?:[ \t]*(?:AM|PM))?)[ \t]*#/i,alias:"number"},number:/(?:(?:\b\d+(?:\.\d+)?|\.\d+)(?:E[+-]?\d+)?|&[HO][\dA-F]+)(?:[FRD]|U?[ILS])?/i,boolean:/\b(?:False|Nothing|True)\b/i,keyword:/\b(?:AddHandler|AddressOf|Alias|And(?:Also)?|As|Boolean|ByRef|Byte|ByVal|Call|Case|Catch|C(?:Bool|Byte|Char|Date|Dbl|Dec|Int|Lng|Obj|SByte|Short|Sng|Str|Type|UInt|ULng|UShort)|Char|Class|Const|Continue|Currency|Date|Decimal|Declare|Default|Delegate|Dim|DirectCast|Do|Double|Each|Else(?:If)?|End(?:If)?|Enum|Erase|Error|Event|Exit|Finally|For|Friend|Function|Get(?:Type|XMLNamespace)?|Global|GoSub|GoTo|Handles|If|Implements|Imports|In|Inherits|Integer|Interface|Is|IsNot|Let|Lib|Like|Long|Loop|Me|Mod|Module|Must(?:Inherit|Override)|My(?:Base|Class)|Namespace|Narrowing|New|Next|Not(?:Inheritable|Overridable)?|Object|Of|On|Operator|Option(?:al)?|Or(?:Else)?|Out|Overloads|Overridable|Overrides|ParamArray|Partial|Private|Property|Protected|Public|RaiseEvent|ReadOnly|ReDim|RemoveHandler|Resume|Return|SByte|Select|Set|Shadows|Shared|short|Single|Static|Step|Stop|String|Structure|Sub|SyncLock|Then|Throw|To|Try|TryCast|Type|TypeOf|U(?:Integer|Long|Short)|Until|Using|Variant|Wend|When|While|Widening|With(?:Events)?|WriteOnly|Xor)\b/i,operator:/[+\-*/\\^<=>&#@$%!]|\b_(?=[ \t]*[\r\n])/,punctuation:/[{}().,:?]/},Prism.languages.vb=Prism.languages["visual-basic"],Prism.languages.vba=Prism.languages["visual-basic"],Prism.languages.sql={comment:{pattern:/(^|[^\\])(?:\/\*[\s\S]*?\*\/|(?:--|\/\/|#).*)/,lookbehind:!0},variable:[{pattern:/@(["'`])(?:\\[\s\S]|(?!\1)[^\\])+\1/,greedy:!0},/@[\w.$]+/],string:{pattern:/(^|[^@\\])("|')(?:\\[\s\S]|(?!\2)[^\\]|\2\2)*\2/,greedy:!0,lookbehind:!0},identifier:{pattern:/(^|[^@\\])`(?:\\[\s\S]|[^`\\]|``)*`/,greedy:!0,lookbehind:!0,inside:{punctuation:/^`|`$/}},function:/\b(?:AVG|COUNT|FIRST|FORMAT|LAST|LCASE|LEN|MAX|MID|MIN|MOD|NOW|ROUND|SUM|UCASE)(?=\s*\()/i,keyword:/\b(?:ACTION|ADD|AFTER|ALGORITHM|ALL|ALTER|ANALYZE|ANY|APPLY|AS|ASC|AUTHORIZATION|AUTO_INCREMENT|BACKUP|BDB|BEGIN|BERKELEYDB|BIGINT|BINARY|BIT|BLOB|BOOL|BOOLEAN|BREAK|BROWSE|BTREE|BULK|BY|CALL|CASCADED?|CASE|CHAIN|CHAR(?:ACTER|SET)?|CHECK(?:POINT)?|CLOSE|CLUSTERED|COALESCE|COLLATE|COLUMNS?|COMMENT|COMMIT(?:TED)?|COMPUTE|CONNECT|CONSISTENT|CONSTRAINT|CONTAINS(?:TABLE)?|CONTINUE|CONVERT|CREATE|CROSS|CURRENT(?:_DATE|_TIME|_TIMESTAMP|_USER)?|CURSOR|CYCLE|DATA(?:BASES?)?|DATE(?:TIME)?|DAY|DBCC|DEALLOCATE|DEC|DECIMAL|DECLARE|DEFAULT|DEFINER|DELAYED|DELETE|DELIMITERS?|DENY|DESC|DESCRIBE|DETERMINISTIC|DISABLE|DISCARD|DISK|DISTINCT|DISTINCTROW|DISTRIBUTED|DO|DOUBLE|DROP|DUMMY|DUMP(?:FILE)?|DUPLICATE|ELSE(?:IF)?|ENABLE|ENCLOSED|END|ENGINE|ENUM|ERRLVL|ERRORS|ESCAPED?|EXCEPT|EXEC(?:UTE)?|EXISTS|EXIT|EXPLAIN|EXTENDED|FETCH|FIELDS|FILE|FILLFACTOR|FIRST|FIXED|FLOAT|FOLLOWING|FOR(?: EACH ROW)?|FORCE|FOREIGN|FREETEXT(?:TABLE)?|FROM|FULL|FUNCTION|GEOMETRY(?:COLLECTION)?|GLOBAL|GOTO|GRANT|GROUP|HANDLER|HASH|HAVING|HOLDLOCK|HOUR|IDENTITY(?:COL|_INSERT)?|IF|IGNORE|IMPORT|INDEX|INFILE|INNER|INNODB|INOUT|INSERT|INT|INTEGER|INTERSECT|INTERVAL|INTO|INVOKER|ISOLATION|ITERATE|JOIN|KEYS?|KILL|LANGUAGE|LAST|LEAVE|LEFT|LEVEL|LIMIT|LINENO|LINES|LINESTRING|LOAD|LOCAL|LOCK|LONG(?:BLOB|TEXT)|LOOP|MATCH(?:ED)?|MEDIUM(?:BLOB|INT|TEXT)|MERGE|MIDDLEINT|MINUTE|MODE|MODIFIES|MODIFY|MONTH|MULTI(?:LINESTRING|POINT|POLYGON)|NATIONAL|NATURAL|NCHAR|NEXT|NO|NONCLUSTERED|NULLIF|NUMERIC|OFF?|OFFSETS?|ON|OPEN(?:DATASOURCE|QUERY|ROWSET)?|OPTIMIZE|OPTION(?:ALLY)?|ORDER|OUT(?:ER|FILE)?|OVER|PARTIAL|PARTITION|PERCENT|PIVOT|PLAN|POINT|POLYGON|PRECEDING|PRECISION|PREPARE|PREV|PRIMARY|PRINT|PRIVILEGES|PROC(?:EDURE)?|PUBLIC|PURGE|QUICK|RAISERROR|READS?|REAL|RECONFIGURE|REFERENCES|RELEASE|RENAME|REPEAT(?:ABLE)?|REPLACE|REPLICATION|REQUIRE|RESIGNAL|RESTORE|RESTRICT|RETURN(?:ING|S)?|REVOKE|RIGHT|ROLLBACK|ROUTINE|ROW(?:COUNT|GUIDCOL|S)?|RTREE|RULE|SAVE(?:POINT)?|SCHEMA|SECOND|SELECT|SERIAL(?:IZABLE)?|SESSION(?:_USER)?|SET(?:USER)?|SHARE|SHOW|SHUTDOWN|SIMPLE|SMALLINT|SNAPSHOT|SOME|SONAME|SQL|START(?:ING)?|STATISTICS|STATUS|STRIPED|SYSTEM_USER|TABLES?|TABLESPACE|TEMP(?:ORARY|TABLE)?|TERMINATED|TEXT(?:SIZE)?|THEN|TIME(?:STAMP)?|TINY(?:BLOB|INT|TEXT)|TOP?|TRAN(?:SACTIONS?)?|TRIGGER|TRUNCATE|TSEQUAL|TYPES?|UNBOUNDED|UNCOMMITTED|UNDEFINED|UNION|UNIQUE|UNLOCK|UNPIVOT|UNSIGNED|UPDATE(?:TEXT)?|USAGE|USE|USER|USING|VALUES?|VAR(?:BINARY|CHAR|CHARACTER|YING)|VIEW|WAITFOR|WARNINGS|WHEN|WHERE|WHILE|WITH(?: ROLLUP|IN)?|WORK|WRITE(?:TEXT)?|YEAR)\b/i,boolean:/\b(?:FALSE|NULL|TRUE)\b/i,number:/\b0x[\da-f]+\b|\b\d+(?:\.\d*)?|\B\.\d+\b/i,operator:/[-+*\/=%^~]|&&?|\|\|?|!=?|<(?:=>?|<|>)?|>[>=]?|\b(?:AND|BETWEEN|DIV|ILIKE|IN|IS|LIKE|NOT|OR|REGEXP|RLIKE|SOUNDS LIKE|XOR)\b/i,punctuation:/[;[\]()`,.]/};var AN;AN||(AN=1,function(e){e.languages.ruby=e.languages.extend("clike",{comment:{pattern:/#.*|^=begin\s[\s\S]*?^=end/m,greedy:!0},"class-name":{pattern:/(\b(?:class|module)\s+|\bcatch\s+\()[\w.\\]+|\b[A-Z_]\w*(?=\s*\.\s*new\b)/,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:BEGIN|END|alias|and|begin|break|case|class|def|define_method|defined|do|each|else|elsif|end|ensure|extend|for|if|in|include|module|new|next|nil|not|or|prepend|private|protected|public|raise|redo|require|rescue|retry|return|self|super|then|throw|undef|unless|until|when|while|yield)\b/,operator:/\.{2,3}|&\.|===|<?=>|[!=]?~|(?:&&|\|\||<<|>>|\*\*|[+\-*/%<>!^&|=])=?|[?:]/,punctuation:/[(){}[\].,;]/}),e.languages.insertBefore("ruby","operator",{"double-colon":{pattern:/::/,alias:"punctuation"}});var t={pattern:/((?:^|[^\\])(?:\\{2})*)#\{(?:[^{}]|\{[^{}]*\})*\}/,lookbehind:!0,inside:{content:{pattern:/^(#\{)[\s\S]+(?=\}$)/,lookbehind:!0,inside:e.languages.ruby},delimiter:{pattern:/^#\{|\}$/,alias:"punctuation"}}};delete e.languages.ruby.function;var r="(?:"+[/([^a-zA-Z0-9\s{(\[<=])(?:(?!\1)[^\\]|\\[\s\S])*\1/.source,/\((?:[^()\\]|\\[\s\S]|\((?:[^()\\]|\\[\s\S])*\))*\)/.source,/\{(?:[^{}\\]|\\[\s\S]|\{(?:[^{}\\]|\\[\s\S])*\})*\}/.source,/\[(?:[^\[\]\\]|\\[\s\S]|\[(?:[^\[\]\\]|\\[\s\S])*\])*\]/.source,/<(?:[^<>\\]|\\[\s\S]|<(?:[^<>\\]|\\[\s\S])*>)*>/.source].join("|")+")",n=/(?:"(?:\\.|[^"\\\r\n])*"|(?:\b[a-zA-Z_]\w*|[^\s\0-\x7F]+)[?!]?|\$.)/.source;e.languages.insertBefore("ruby","keyword",{"regex-literal":[{pattern:RegExp(/%r/.source+r+/[egimnosux]{0,6}/.source),greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}},{pattern:/(^|[^/])\/(?!\/)(?:\[[^\r\n\]]+\]|\\.|[^[/\\\r\n])+\/[egimnosux]{0,6}(?=\s*(?:$|[\r\n,.;})#]))/,lookbehind:!0,greedy:!0,inside:{interpolation:t,regex:/[\s\S]+/}}],variable:/[@$]+[a-zA-Z_]\w*(?:[?!]|\b)/,symbol:[{pattern:RegExp(/(^|[^:]):/.source+n),lookbehind:!0,greedy:!0},{pattern:RegExp(/([\r\n{(,][ \t]*)/.source+n+/(?=:(?!:))/.source),lookbehind:!0,greedy:!0}],"method-definition":{pattern:/(\bdef\s+)\w+(?:\s*\.\s*\w+)?/,lookbehind:!0,inside:{function:/\b\w+$/,keyword:/^self\b/,"class-name":/^\w+/,punctuation:/\./}}}),e.languages.insertBefore("ruby","string",{"string-literal":[{pattern:RegExp(/%[qQiIwWs]?/.source+r),greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/("|')(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|(?!\1)[^\\#\r\n])*\1/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?([a-z_]\w*)[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?[a-z_]\w*|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?/}},interpolation:t,string:/[\s\S]+/}},{pattern:/<<[-~]?'([a-z_]\w*)'[\r\n](?:.*[\r\n])*?[\t ]*\1/i,alias:"heredoc-string",greedy:!0,inside:{delimiter:{pattern:/^<<[-~]?'[a-z_]\w*'|\b[a-z_]\w*$/i,inside:{symbol:/\b\w+/,punctuation:/^<<[-~]?'|'$/}},string:/[\s\S]+/}}],"command-literal":[{pattern:RegExp(/%x/.source+r),greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}},{pattern:/`(?:#\{[^}]+\}|#(?!\{)|\\(?:\r\n|[\s\S])|[^\\`#\r\n])*`/,greedy:!0,inside:{interpolation:t,command:{pattern:/[\s\S]+/,alias:"string"}}}]}),delete e.languages.ruby.string,e.languages.insertBefore("ruby","number",{builtin:/\b(?:Array|Bignum|Binding|Class|Continuation|Dir|Exception|FalseClass|File|Fixnum|Float|Hash|IO|Integer|MatchData|Method|Module|NilClass|Numeric|Object|Proc|Range|Regexp|Stat|String|Struct|Symbol|TMS|Thread|ThreadGroup|Time|TrueClass)\b/,constant:/\b[A-Z][A-Z0-9_]*(?:[?!]|\b)/}),e.languages.rb=e.languages.ruby}(Prism)),Prism.languages.swift={comment:{pattern:/(^|[^\\:])(?:\/\/.*|\/\*(?:[^/*]|\/(?!\*)|\*(?!\/)|\/\*(?:[^*]|\*(?!\/))*\*\/)*\*\/)/,lookbehind:!0,greedy:!0},"string-literal":[{pattern:RegExp(/(^|[^"#])/.source+"(?:"+/"(?:\\(?:\((?:[^()]|\([^()]*\))*\)|\r\n|[^(])|[^\\\r\n"])*"/.source+"|"+/"""(?:\\(?:\((?:[^()]|\([^()]*\))*\)|[^(])|[^\\"]|"(?!""))*"""/.source+")"+/(?!["#])/.source),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\\($/,alias:"punctuation"},punctuation:/\\(?=[\r\n])/,string:/[\s\S]+/}},{pattern:RegExp(/(^|[^"#])(#+)/.source+"(?:"+/"(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|\r\n|[^#])|[^\\\r\n])*?"/.source+"|"+/"""(?:\\(?:#+\((?:[^()]|\([^()]*\))*\)|[^#])|[^\\])*?"""/.source+")\\2"),lookbehind:!0,greedy:!0,inside:{interpolation:{pattern:/(\\#+\()(?:[^()]|\([^()]*\))*(?=\))/,lookbehind:!0,inside:null},"interpolation-punctuation":{pattern:/^\)|\\#+\($/,alias:"punctuation"},string:/[\s\S]+/}}],directive:{pattern:RegExp(/#/.source+"(?:"+/(?:elseif|if)\b/.source+"(?:[ \t]*"+/(?:![ \t]*)?(?:\b\w+\b(?:[ \t]*\((?:[^()]|\([^()]*\))*\))?|\((?:[^()]|\([^()]*\))*\))(?:[ \t]*(?:&&|\|\|))?/.source+")+|"+/(?:else|endif)\b/.source+")"),alias:"property",inside:{"directive-name":/^#\w+/,boolean:/\b(?:false|true)\b/,number:/\b\d+(?:\.\d+)*\b/,operator:/!|&&|\|\||[<>]=?/,punctuation:/[(),]/}},literal:{pattern:/#(?:colorLiteral|column|dsohandle|file(?:ID|Literal|Path)?|function|imageLiteral|line)\b/,alias:"constant"},"other-directive":{pattern:/#\w+\b/,alias:"property"},attribute:{pattern:/@\w+/,alias:"atrule"},"function-definition":{pattern:/(\bfunc\s+)\w+/,lookbehind:!0,alias:"function"},label:{pattern:/\b(break|continue)\s+\w+|\b[a-zA-Z_]\w*(?=\s*:\s*(?:for|repeat|while)\b)/,lookbehind:!0,alias:"important"},keyword:/\b(?:Any|Protocol|Self|Type|actor|as|assignment|associatedtype|associativity|async|await|break|case|catch|class|continue|convenience|default|defer|deinit|didSet|do|dynamic|else|enum|extension|fallthrough|fileprivate|final|for|func|get|guard|higherThan|if|import|in|indirect|infix|init|inout|internal|is|isolated|lazy|left|let|lowerThan|mutating|none|nonisolated|nonmutating|open|operator|optional|override|postfix|precedencegroup|prefix|private|protocol|public|repeat|required|rethrows|return|right|safe|self|set|some|static|struct|subscript|super|switch|throw|throws|try|typealias|unowned|unsafe|var|weak|where|while|willSet)\b/,boolean:/\b(?:false|true)\b/,nil:{pattern:/\bnil\b/,alias:"constant"},"short-argument":/\$\d+\b/,omit:{pattern:/\b_\b/,alias:"keyword"},number:/\b(?:[\d_]+(?:\.[\de_]+)?|0x[a-f0-9_]+(?:\.[a-f0-9p_]+)?|0b[01_]+|0o[0-7_]+)\b/i,"class-name":/\b[A-Z](?:[A-Z_\d]*[a-z]\w*)?\b/,function:/\b[a-z_]\w*(?=\s*\()/i,constant:/\b(?:[A-Z_]{2,}|k[A-Z][A-Za-z_]+)\b/,operator:/[-+*/%=!<>&|^~?]+|\.[.\-+*/%=!<>&|^~?]+/,punctuation:/[{}[\]();,.:\\]/},Prism.languages.swift["string-literal"].forEach(function(e){e.inside.interpolation.inside=Prism.languages.swift}),function(e){var t="\\b(?:BASH|BASHOPTS|BASH_ALIASES|BASH_ARGC|BASH_ARGV|BASH_CMDS|BASH_COMPLETION_COMPAT_DIR|BASH_LINENO|BASH_REMATCH|BASH_SOURCE|BASH_VERSINFO|BASH_VERSION|COLORTERM|COLUMNS|COMP_WORDBREAKS|DBUS_SESSION_BUS_ADDRESS|DEFAULTS_PATH|DESKTOP_SESSION|DIRSTACK|DISPLAY|EUID|GDMSESSION|GDM_LANG|GNOME_KEYRING_CONTROL|GNOME_KEYRING_PID|GPG_AGENT_INFO|GROUPS|HISTCONTROL|HISTFILE|HISTFILESIZE|HISTSIZE|HOME|HOSTNAME|HOSTTYPE|IFS|INSTANCE|JOB|LANG|LANGUAGE|LC_ADDRESS|LC_ALL|LC_IDENTIFICATION|LC_MEASUREMENT|LC_MONETARY|LC_NAME|LC_NUMERIC|LC_PAPER|LC_TELEPHONE|LC_TIME|LESSCLOSE|LESSOPEN|LINES|LOGNAME|LS_COLORS|MACHTYPE|MAILCHECK|MANDATORY_PATH|NO_AT_BRIDGE|OLDPWD|OPTERR|OPTIND|ORBIT_SOCKETDIR|OSTYPE|PAPERSIZE|PATH|PIPESTATUS|PPID|PS1|PS2|PS3|PS4|PWD|RANDOM|REPLY|SECONDS|SELINUX_INIT|SESSION|SESSIONTYPE|SESSION_MANAGER|SHELL|SHELLOPTS|SHLVL|SSH_AUTH_SOCK|TERM|UID|UPSTART_EVENTS|UPSTART_INSTANCE|UPSTART_JOB|UPSTART_SESSION|USER|WINDOWID|XAUTHORITY|XDG_CONFIG_DIRS|XDG_CURRENT_DESKTOP|XDG_DATA_DIRS|XDG_GREETER_DATA_DIR|XDG_MENU_PREFIX|XDG_RUNTIME_DIR|XDG_SEAT|XDG_SEAT_PATH|XDG_SESSION_DESKTOP|XDG_SESSION_ID|XDG_SESSION_PATH|XDG_SESSION_TYPE|XDG_VTNR|XMODIFIERS)\\b",r={pattern:/(^(["']?)\w+\2)[ \t]+\S.*/,lookbehind:!0,alias:"punctuation",inside:null},n={bash:r,environment:{pattern:RegExp("\\$"+t),alias:"constant"},variable:[{pattern:/\$?\(\([\s\S]+?\)\)/,greedy:!0,inside:{variable:[{pattern:/(^\$\(\([\s\S]+)\)\)/,lookbehind:!0},/^\$\(\(/],number:/\b0x[\dA-Fa-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:[Ee]-?\d+)?/,operator:/--|\+\+|\*\*=?|<<=?|>>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+t),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|U[0-9a-fA-F]{8}|u[0-9a-fA-F]{4}|x[0-9a-fA-F]{1,2})/};e.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?:\.\w+)*(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+t),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},parameter:{pattern:/(^|\s)-{1,2}(?:\w+:[+-]?)?\w+(?:\.\w+)*(?=[=\s]|$)/,alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:n},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:r}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:n},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:n.entity}}],environment:{pattern:RegExp("\\$?"+t),alias:"constant"},variable:n.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|apt-cache|apt-get|aptitude|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cargo|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|docker|docker-compose|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|java|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|node|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|podman|podman-compose|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|sysctl|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vcpkg|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:case|do|done|elif|else|esac|fi|for|function|if|in|select|then|until|while)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|alias|bind|break|builtin|caller|cd|command|continue|declare|echo|enable|eval|exec|exit|export|getopts|hash|help|let|local|logout|mapfile|printf|pwd|read|readarray|readonly|return|set|shift|shopt|source|test|times|trap|type|typeset|ulimit|umask|unalias|unset)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:false|true)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},r.inside=e.languages.bash;for(var o=["comment","function-name","for-or-select","assign-left","parameter","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],i=n.variable[1].inside,a=0;a<o.length;a++)i[o[a]]=e.languages.bash[o[a]];e.languages.sh=e.languages.bash,e.languages.shell=e.languages.bash}(Prism),function(e){var t=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function r(e){return e=e.replace(/<inner>/g,function(){return t}),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+e+")")}var n=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,o=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,function(){return n}),i=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;e.languages.markdown=e.languages.extend("markup",{}),e.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"front-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:e.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+o+i+"(?:"+o+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+o+i+")(?:"+o+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(n),inside:e.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+o+")"+i+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+o+"$"),inside:{"table-header":{pattern:RegExp(n),alias:"important",inside:e.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:r(/\b__(?:(?!_)<inner>|_(?:(?!_)<inner>)+_)+__\b|\*\*(?:(?!\*)<inner>|\*(?:(?!\*)<inner>)+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:r(/\b_(?:(?!_)<inner>|__(?:(?!_)<inner>)+__)+_\b|\*(?:(?!\*)<inner>|\*\*(?:(?!\*)<inner>)+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:r(/(~~?)(?:(?!~)<inner>)+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:r(/!?\[(?:(?!\])<inner>)+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\])<inner>)+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach(function(t){["url","bold","italic","strike","code-snippet"].forEach(function(r){t!==r&&(e.languages.markdown[t].inside.content.inside[r]=e.languages.markdown[r])})}),e.hooks.add("after-tokenize",function(e){"markdown"!==e.language&&"md"!==e.language||function e(t){if(t&&"string"!=typeof t)for(var r=0,n=t.length;r<n;r++){var o=t[r];if("code"===o.type){var i=o.content[1],a=o.content[3];if(i&&a&&"code-language"===i.type&&"code-block"===a.type&&"string"==typeof i.content){var s=i.content.replace(/\b#/g,"sharp").replace(/\b\+\+/g,"pp"),l="language-"+(s=(/[a-z][\w-]*/i.exec(s)||[""])[0].toLowerCase());a.alias?"string"==typeof a.alias?a.alias=[a.alias,l]:a.alias.push(l):a.alias=[l]}}else e(o.content)}}(e.tokens)}),e.hooks.add("wrap",function(t){if("code-block"===t.type){for(var r="",n=0,o=t.classes.length;n<o;n++){var i=t.classes[n],u=/language-(.+)/.exec(i);if(u){r=u[1];break}}var c=e.languages[r];if(c)t.content=e.highlight(function(e){var t=e.replace(a,"");return t=t.replace(/&(\w{1,8}|#x?[\da-f]{1,8});/gi,function(e,t){var r;if("#"===(t=t.toLowerCase())[0])return r="x"===t[1]?parseInt(t.slice(2),16):Number(t.slice(1)),l(r);var n=s[t];return n||e}),t}(t.content),c,r);else if(r&&"none"!==r&&e.plugins.autoloader){var d="md-"+(new Date).valueOf()+"-"+Math.floor(1e16*Math.random());t.attributes.id=d,e.plugins.autoloader.loadLanguages(r,function(){var t=document.getElementById(d);t&&(t.innerHTML=e.highlight(t.textContent,e.languages[r],r))})}}});var a=RegExp(e.languages.markup.tag.pattern.source,"gi"),s={amp:"&",lt:"<",gt:">",quot:'"'},l=String.fromCodePoint||String.fromCharCode;e.languages.md=e.languages.markdown}(Prism),Prism.languages.lua={comment:/^#!.+|--(?:\[(=*)\[[\s\S]*?\]\1\]|.*)/m,string:{pattern:/(["'])(?:(?!\1)[^\\\r\n]|\\z(?:\r\n|\s)|\\(?:\r\n|[^z]))*\1|\[(=*)\[[\s\S]*?\]\2\]/,greedy:!0},number:/\b0x[a-f\d]+(?:\.[a-f\d]*)?(?:p[+-]?\d+)?\b|\b\d+(?:\.\B|(?:\.\d*)?(?:e[+-]?\d+)?\b)|\B\.\d+(?:e[+-]?\d+)?\b/i,keyword:/\b(?:and|break|do|else|elseif|end|false|for|function|goto|if|in|local|nil|not|or|repeat|return|then|true|until|while)\b/,function:/(?!\d)\w+(?=\s*(?:[({]))/,operator:[/[-+*%^&|#]|\/\/?|<[<=]?|>[>=]?|[=~]=?/,{pattern:/(^|[^.])\.\.(?!\.)/,lookbehind:!0}],punctuation:/[\[\](){},;]|\.+|:+/},function(e){var t={pattern:/((?:^|[^\\$])(?:\\{2})*)\$(?:\w+|\{[^{}]*\})/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{?|\}$/,alias:"punctuation"},expression:{pattern:/[\s\S]+/,inside:null}}};e.languages.groovy=e.languages.extend("clike",{string:{pattern:/'''(?:[^\\]|\\[\s\S])*?'''|'(?:\\.|[^\\'\r\n])*'/,greedy:!0},keyword:/\b(?:abstract|as|assert|boolean|break|byte|case|catch|char|class|const|continue|def|default|do|double|else|enum|extends|final|finally|float|for|goto|if|implements|import|in|instanceof|int|interface|long|native|new|package|private|protected|public|return|short|static|strictfp|super|switch|synchronized|this|throw|throws|trait|transient|try|void|volatile|while)\b/,number:/\b(?:0b[01_]+|0x[\da-f_]+(?:\.[\da-f_p\-]+)?|[\d_]+(?:\.[\d_]+)?(?:e[+-]?\d+)?)[glidf]?\b/i,operator:{pattern:/(^|[^.])(?:~|==?~?|\?[.:]?|\*(?:[.=]|\*=?)?|\.[@&]|\.\.<|\.\.(?!\.)|-[-=>]?|\+[+=]?|!=?|<(?:<=?|=>?)?|>(?:>>?=?|=)?|&[&=]?|\|[|=]?|\/=?|\^=?|%=?)/,lookbehind:!0},punctuation:/\.+|[{}[\];(),:$]/}),e.languages.insertBefore("groovy","string",{shebang:{pattern:/#!.+/,alias:"comment",greedy:!0},"interpolation-string":{pattern:/"""(?:[^\\]|\\[\s\S])*?"""|(["/])(?:\\.|(?!\1)[^\\\r\n])*\1|\$\/(?:[^/$]|\$(?:[/$]|(?![/$]))|\/(?!\$))*\/\$/,greedy:!0,inside:{interpolation:t,string:/[\s\S]+/}}}),e.languages.insertBefore("groovy","punctuation",{"spock-block":/\b(?:and|cleanup|expect|given|setup|then|when|where):/}),e.languages.insertBefore("groovy","function",{annotation:{pattern:/(^|[^.])@\w+/,lookbehind:!0,alias:"punctuation"}}),t.inside.expression.inside=e.languages.groovy}(Prism),Prism.languages.abap={comment:/^\*.*/m,string:/(`|')(?:\\.|(?!\1)[^\\\r\n])*\1/,"string-template":{pattern:/([|}])(?:\\.|[^\\|{\r\n])*(?=[|{])/,lookbehind:!0,alias:"string"},"eol-comment":{pattern:/(^|\s)".*/m,lookbehind:!0,alias:"comment"},keyword:{pattern:/(\s|\.|^)(?:\*-INPUT|\?TO|ABAP-SOURCE|ABBREVIATED|ABS|ABSTRACT|ACCEPT|ACCEPTING|ACCESSPOLICY|ACCORDING|ACOS|ACTIVATION|ACTUAL|ADD|ADD-CORRESPONDING|ADJACENT|AFTER|ALIAS|ALIASES|ALIGN|ALL|ALLOCATE|ALPHA|ANALYSIS|ANALYZER|AND|ANY|APPEND|APPENDAGE|APPENDING|APPLICATION|ARCHIVE|AREA|ARITHMETIC|AS|ASCENDING|ASIN|ASPECT|ASSERT|ASSIGN|ASSIGNED|ASSIGNING|ASSOCIATION|ASYNCHRONOUS|AT|ATAN|ATTRIBUTES|AUTHORITY|AUTHORITY-CHECK|AVG|BACK|BACKGROUND|BACKUP|BACKWARD|BADI|BASE|BEFORE|BEGIN|BETWEEN|BIG|BINARY|BINDING|BIT|BIT-AND|BIT-NOT|BIT-OR|BIT-XOR|BLACK|BLANK|BLANKS|BLOB|BLOCK|BLOCKS|BLUE|BOUND|BOUNDARIES|BOUNDS|BOXED|BREAK-POINT|BT|BUFFER|BY|BYPASSING|BYTE|BYTE-CA|BYTE-CN|BYTE-CO|BYTE-CS|BYTE-NA|BYTE-NS|BYTE-ORDER|C|CA|CALL|CALLING|CASE|CAST|CASTING|CATCH|CEIL|CENTER|CENTERED|CHAIN|CHAIN-INPUT|CHAIN-REQUEST|CHANGE|CHANGING|CHANNELS|CHAR-TO-HEX|CHARACTER|CHARLEN|CHECK|CHECKBOX|CIRCULAR|CI_|CLASS|CLASS-CODING|CLASS-DATA|CLASS-EVENTS|CLASS-METHODS|CLASS-POOL|CLEANUP|CLEAR|CLIENT|CLOB|CLOCK|CLOSE|CN|CNT|CO|COALESCE|CODE|CODING|COLLECT|COLOR|COLUMN|COLUMNS|COL_BACKGROUND|COL_GROUP|COL_HEADING|COL_KEY|COL_NEGATIVE|COL_NORMAL|COL_POSITIVE|COL_TOTAL|COMMENT|COMMENTS|COMMIT|COMMON|COMMUNICATION|COMPARING|COMPONENT|COMPONENTS|COMPRESSION|COMPUTE|CONCAT|CONCATENATE|COND|CONDENSE|CONDITION|CONNECT|CONNECTION|CONSTANTS|CONTEXT|CONTEXTS|CONTINUE|CONTROL|CONTROLS|CONV|CONVERSION|CONVERT|COPIES|COPY|CORRESPONDING|COS|COSH|COUNT|COUNTRY|COVER|CP|CPI|CREATE|CREATING|CRITICAL|CS|CURRENCY|CURRENCY_CONVERSION|CURRENT|CURSOR|CURSOR-SELECTION|CUSTOMER|CUSTOMER-FUNCTION|DANGEROUS|DATA|DATABASE|DATAINFO|DATASET|DATE|DAYLIGHT|DBMAXLEN|DD\/MM\/YY|DD\/MM\/YYYY|DDMMYY|DEALLOCATE|DECIMALS|DECIMAL_SHIFT|DECLARATIONS|DEEP|DEFAULT|DEFERRED|DEFINE|DEFINING|DEFINITION|DELETE|DELETING|DEMAND|DEPARTMENT|DESCENDING|DESCRIBE|DESTINATION|DETAIL|DIALOG|DIRECTORY|DISCONNECT|DISPLAY|DISPLAY-MODE|DISTANCE|DISTINCT|DIV|DIVIDE|DIVIDE-CORRESPONDING|DIVISION|DO|DUMMY|DUPLICATE|DUPLICATES|DURATION|DURING|DYNAMIC|DYNPRO|E|EACH|EDIT|EDITOR-CALL|ELSE|ELSEIF|EMPTY|ENABLED|ENABLING|ENCODING|END|END-ENHANCEMENT-SECTION|END-LINES|END-OF-DEFINITION|END-OF-FILE|END-OF-PAGE|END-OF-SELECTION|ENDAT|ENDCASE|ENDCATCH|ENDCHAIN|ENDCLASS|ENDDO|ENDENHANCEMENT|ENDEXEC|ENDFOR|ENDFORM|ENDFUNCTION|ENDIAN|ENDIF|ENDING|ENDINTERFACE|ENDLOOP|ENDMETHOD|ENDMODULE|ENDON|ENDPROVIDE|ENDSELECT|ENDTRY|ENDWHILE|ENGINEERING|ENHANCEMENT|ENHANCEMENT-POINT|ENHANCEMENT-SECTION|ENHANCEMENTS|ENTRIES|ENTRY|ENVIRONMENT|EQ|EQUAL|EQUIV|ERRORMESSAGE|ERRORS|ESCAPE|ESCAPING|EVENT|EVENTS|EXACT|EXCEPT|EXCEPTION|EXCEPTION-TABLE|EXCEPTIONS|EXCLUDE|EXCLUDING|EXEC|EXECUTE|EXISTS|EXIT|EXIT-COMMAND|EXP|EXPAND|EXPANDING|EXPIRATION|EXPLICIT|EXPONENT|EXPORT|EXPORTING|EXTEND|EXTENDED|EXTENSION|EXTRACT|FAIL|FETCH|FIELD|FIELD-GROUPS|FIELD-SYMBOL|FIELD-SYMBOLS|FIELDS|FILE|FILTER|FILTER-TABLE|FILTERS|FINAL|FIND|FIRST|FIRST-LINE|FIXED-POINT|FKEQ|FKGE|FLOOR|FLUSH|FONT|FOR|FORM|FORMAT|FORWARD|FOUND|FRAC|FRAME|FRAMES|FREE|FRIENDS|FROM|FUNCTION|FUNCTION-POOL|FUNCTIONALITY|FURTHER|GAPS|GE|GENERATE|GET|GIVING|GKEQ|GKGE|GLOBAL|GRANT|GREATER|GREEN|GROUP|GROUPS|GT|HANDLE|HANDLER|HARMLESS|HASHED|HAVING|HDB|HEAD-LINES|HEADER|HEADERS|HEADING|HELP-ID|HELP-REQUEST|HIDE|HIGH|HINT|HOLD|HOTSPOT|I|ICON|ID|IDENTIFICATION|IDENTIFIER|IDS|IF|IGNORE|IGNORING|IMMEDIATELY|IMPLEMENTATION|IMPLEMENTATIONS|IMPLEMENTED|IMPLICIT|IMPORT|IMPORTING|IN|INACTIVE|INCL|INCLUDE|INCLUDES|INCLUDING|INCREMENT|INDEX|INDEX-LINE|INFOTYPES|INHERITING|INIT|INITIAL|INITIALIZATION|INNER|INOUT|INPUT|INSERT|INSTANCES|INTENSIFIED|INTERFACE|INTERFACE-POOL|INTERFACES|INTERNAL|INTERVALS|INTO|INVERSE|INVERTED-DATE|IS|ISO|ITERATOR|ITNO|JOB|JOIN|KEEP|KEEPING|KERNEL|KEY|KEYS|KEYWORDS|KIND|LANGUAGE|LAST|LATE|LAYOUT|LE|LEADING|LEAVE|LEFT|LEFT-JUSTIFIED|LEFTPLUS|LEFTSPACE|LEGACY|LENGTH|LESS|LET|LEVEL|LEVELS|LIKE|LINE|LINE-COUNT|LINE-SELECTION|LINE-SIZE|LINEFEED|LINES|LIST|LIST-PROCESSING|LISTBOX|LITTLE|LLANG|LOAD|LOAD-OF-PROGRAM|LOB|LOCAL|LOCALE|LOCATOR|LOG|LOG-POINT|LOG10|LOGFILE|LOGICAL|LONG|LOOP|LOW|LOWER|LPAD|LPI|LT|M|MAIL|MAIN|MAJOR-ID|MAPPING|MARGIN|MARK|MASK|MATCH|MATCHCODE|MAX|MAXIMUM|MEDIUM|MEMBERS|MEMORY|MESH|MESSAGE|MESSAGE-ID|MESSAGES|MESSAGING|METHOD|METHODS|MIN|MINIMUM|MINOR-ID|MM\/DD\/YY|MM\/DD\/YYYY|MMDDYY|MOD|MODE|MODIF|MODIFIER|MODIFY|MODULE|MOVE|MOVE-CORRESPONDING|MULTIPLY|MULTIPLY-CORRESPONDING|NA|NAME|NAMETAB|NATIVE|NB|NE|NESTED|NESTING|NEW|NEW-LINE|NEW-PAGE|NEW-SECTION|NEXT|NO|NO-DISPLAY|NO-EXTENSION|NO-GAP|NO-GAPS|NO-GROUPING|NO-HEADING|NO-SCROLLING|NO-SIGN|NO-TITLE|NO-TOPOFPAGE|NO-ZERO|NODE|NODES|NON-UNICODE|NON-UNIQUE|NOT|NP|NS|NULL|NUMBER|NUMOFCHAR|O|OBJECT|OBJECTS|OBLIGATORY|OCCURRENCE|OCCURRENCES|OCCURS|OF|OFF|OFFSET|OLE|ON|ONLY|OPEN|OPTION|OPTIONAL|OPTIONS|OR|ORDER|OTHER|OTHERS|OUT|OUTER|OUTPUT|OUTPUT-LENGTH|OVERFLOW|OVERLAY|PACK|PACKAGE|PAD|PADDING|PAGE|PAGES|PARAMETER|PARAMETER-TABLE|PARAMETERS|PART|PARTIALLY|PATTERN|PERCENTAGE|PERFORM|PERFORMING|PERSON|PF|PF-STATUS|PINK|PLACES|POOL|POSITION|POS_HIGH|POS_LOW|PRAGMAS|PRECOMPILED|PREFERRED|PRESERVING|PRIMARY|PRINT|PRINT-CONTROL|PRIORITY|PRIVATE|PROCEDURE|PROCESS|PROGRAM|PROPERTY|PROTECTED|PROVIDE|PUBLIC|PUSHBUTTON|PUT|QUEUE-ONLY|QUICKINFO|RADIOBUTTON|RAISE|RAISING|RANGE|RANGES|RAW|READ|READ-ONLY|READER|RECEIVE|RECEIVED|RECEIVER|RECEIVING|RED|REDEFINITION|REDUCE|REDUCED|REF|REFERENCE|REFRESH|REGEX|REJECT|REMOTE|RENAMING|REPLACE|REPLACEMENT|REPLACING|REPORT|REQUEST|REQUESTED|RESERVE|RESET|RESOLUTION|RESPECTING|RESPONSIBLE|RESULT|RESULTS|RESUMABLE|RESUME|RETRY|RETURN|RETURNCODE|RETURNING|RIGHT|RIGHT-JUSTIFIED|RIGHTPLUS|RIGHTSPACE|RISK|RMC_COMMUNICATION_FAILURE|RMC_INVALID_STATUS|RMC_SYSTEM_FAILURE|ROLE|ROLLBACK|ROUND|ROWS|RTTI|RUN|SAP|SAP-SPOOL|SAVING|SCALE_PRESERVING|SCALE_PRESERVING_SCIENTIFIC|SCAN|SCIENTIFIC|SCIENTIFIC_WITH_LEADING_ZERO|SCREEN|SCROLL|SCROLL-BOUNDARY|SCROLLING|SEARCH|SECONDARY|SECONDS|SECTION|SELECT|SELECT-OPTIONS|SELECTION|SELECTION-SCREEN|SELECTION-SET|SELECTION-SETS|SELECTION-TABLE|SELECTIONS|SELECTOR|SEND|SEPARATE|SEPARATED|SET|SHARED|SHIFT|SHORT|SHORTDUMP-ID|SIGN|SIGN_AS_POSTFIX|SIMPLE|SIN|SINGLE|SINH|SIZE|SKIP|SKIPPING|SMART|SOME|SORT|SORTABLE|SORTED|SOURCE|SPACE|SPECIFIED|SPLIT|SPOOL|SPOTS|SQL|SQLSCRIPT|SQRT|STABLE|STAMP|STANDARD|START-OF-SELECTION|STARTING|STATE|STATEMENT|STATEMENTS|STATIC|STATICS|STATUSINFO|STEP-LOOP|STOP|STRLEN|STRUCTURE|STRUCTURES|STYLE|SUBKEY|SUBMATCHES|SUBMIT|SUBROUTINE|SUBSCREEN|SUBSTRING|SUBTRACT|SUBTRACT-CORRESPONDING|SUFFIX|SUM|SUMMARY|SUMMING|SUPPLIED|SUPPLY|SUPPRESS|SWITCH|SWITCHSTATES|SYMBOL|SYNCPOINTS|SYNTAX|SYNTAX-CHECK|SYNTAX-TRACE|SYSTEM-CALL|SYSTEM-EXCEPTIONS|SYSTEM-EXIT|TAB|TABBED|TABLE|TABLES|TABLEVIEW|TABSTRIP|TAN|TANH|TARGET|TASK|TASKS|TEST|TESTING|TEXT|TEXTPOOL|THEN|THROW|TIME|TIMES|TIMESTAMP|TIMEZONE|TITLE|TITLE-LINES|TITLEBAR|TO|TOKENIZATION|TOKENS|TOP-LINES|TOP-OF-PAGE|TRACE-FILE|TRACE-TABLE|TRAILING|TRANSACTION|TRANSFER|TRANSFORMATION|TRANSLATE|TRANSPORTING|TRMAC|TRUNC|TRUNCATE|TRUNCATION|TRY|TYPE|TYPE-POOL|TYPE-POOLS|TYPES|ULINE|UNASSIGN|UNDER|UNICODE|UNION|UNIQUE|UNIT|UNIT_CONVERSION|UNIX|UNPACK|UNTIL|UNWIND|UP|UPDATE|UPPER|USER|USER-COMMAND|USING|UTF-8|VALID|VALUE|VALUE-REQUEST|VALUES|VARY|VARYING|VERIFICATION-MESSAGE|VERSION|VIA|VIEW|VISIBLE|WAIT|WARNING|WHEN|WHENEVER|WHERE|WHILE|WIDTH|WINDOW|WINDOWS|WITH|WITH-HEADING|WITH-TITLE|WITHOUT|WORD|WORK|WRITE|WRITER|X|XML|XOR|XSD|XSTRLEN|YELLOW|YES|YYMMDD|Z|ZERO|ZONE)(?![\w-])/i,lookbehind:!0},number:/\b\d+\b/,operator:{pattern:/(\s)(?:\*\*?|<[=>]?|>=?|\?=|[-+\/=])(?=\s)/,lookbehind:!0},"string-operator":{pattern:/(\s)&&?(?=\s)/,lookbehind:!0,alias:"keyword"},"token-operator":[{pattern:/(\w)(?:->?|=>|[~|{}])(?=\w)/,lookbehind:!0,alias:"punctuation"},{pattern:/[|{}]/,alias:"punctuation"}],punctuation:/[,.:()]/};var kN=["comment","prolog","doctype","cdata","punctuation","namespace","property","tag","boolean","number","constant","symbol","deleted","selector","attr-name","string","builtin","inserted","operator","entity","url","string","atrule","attr-value","keyword","function","class-name","regex","important","variable","bold","italic","entity","char"];function TN(e){return"string"==typeof e?e.length:"string"==typeof e.content?e.content.length:e.content.reduce(function(e,t){return e+TN(t)},0)}var NN=function(e){var t,r,n,o=Ig(e,2),i=o[0],a=o[1],s=[],l=function(e){if(!Df.isText(e))return null;var t=Oy.getParentNode(null,e);if(t&&"code"===Oy.getNodeType(t)){var r=Oy.getParentNode(null,t);if(r&&"pre"===Oy.getNodeType(r))return t}return null}(i);if(null==l)return s;var u=l.language,c=void 0===u?"":u;if(!c)return s;var d=function(e,t){if(!t)return[];var r=bN.languages[t];return r?bN.tokenize(e.text,r):[]}(i,c),h=0;try{for(var p=Mg(d),f=p.next();!f.done;f=p.next()){var g=f.value,m=h+TN(g);"string"!=typeof g&&s.push(((n={})[g.type]=!0,n.anchor={path:a,offset:h},n.focus={path:a,offset:m},n)),h=m}}catch(e){t={error:e}}finally{try{f&&!f.done&&(r=p.return)&&r.call(p)}finally{if(t)throw t.error}}return s};var ON={type:"code",elemToHtml:function(e,t){var r=e.language,n=void 0===r?"":r,o=n?'class="language-'.concat(n,'"'):"";return"<code ".concat(o,">").concat(t,"</code>")}};var BN=function(){function e(){this.title=Xw("highLightModule.selectLang"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M64 64v896h896V64H64z m487.6 698.8c0 87.2-51.2 127-125.8 127-67.4 0-106.4-34.8-126.4-77l68.6-41.4c13.2 23.4 25.2 43.2 54.2 43.2 27.6 0 45.2-10.8 45.2-53V475.4h84.2v287.4z m199.2 127c-78.2 0-128.8-37.2-153.4-86l68.6-39.6c18 29.4 41.6 51.2 83 51.2 34.8 0 57.2-17.4 57.2-41.6 0-28.8-22.8-39-61.4-56l-21-9c-60.8-25.8-101-58.4-101-127 0-63.2 48.2-111.2 123.2-111.2 53.6 0 92 18.6 119.6 67.4L800 580c-14.4-25.8-30-36-54.2-36-24.6 0-40.2 15.6-40.2 36 0 25.2 15.6 35.4 51.8 51.2l21 9c71.6 30.6 111.8 62 111.8 132.4 0 75.6-59.6 117.2-139.4 117.2z"></path></svg>',this.tag="select",this.width=95,this.selectPanelWidth=115,this.defaultCodeLang=""}return e.prototype.getOptions=function(e){var t=this,r=[],n=e.getMenuConfig("codeSelectLang").codeLangs,o=void 0===n?[]:n;r.push({text:"plain text",value:""}),o.forEach(function(e){var n=e.text,o=e.value;e.selected&&(t.defaultCodeLang=o),r.push({text:n,value:o})});var i=this.getValue(e);return r.forEach(function(e){e.value===i?e.selected=!0:e.selected=void 0}),r},e.prototype.isActive=function(e){return!1},e.prototype.getValue=function(e){var t=this.getSelectCodeElem(e);if(null==t)return this.defaultCodeLang;if(!kp.isElement(t))return this.defaultCodeLang;var r=t.language.toString(),n=e.getMenuConfig("codeSelectLang").codeLangs;return(void 0===n?[]:n).some(function(e){return e.value===r})?r:this.defaultCodeLang},e.prototype.isDisabled=function(e){return null==e.selection||!this.getSelectCodeElem(e)},e.prototype.exec=function(e,t){if(null!=this.getSelectCodeElem(e)){var r={language:t.toString()};Vf.setNodes(e,r,{match:function(e){return Oy.checkNodeType(e,"code")}})}},e.prototype.getSelectCodeElem=function(e){var t=Oy.getSelectedNodeByType(e,"code");if(null==t)return null;var r=Oy.getParentNode(e,t);return kp.isElement(r)?"pre"!==r.type?null:t:null},e}(),FN={key:"codeSelectLang",factory:function(){return new BN},config:{codeLangs:[{text:"CSS",value:"css"},{text:"HTML",value:"html"},{text:"XML",value:"xml"},{text:"Javascript",value:"javascript"},{text:"Typescript",value:"typescript"},{text:"JSX",value:"jsx"},{text:"Go",value:"go"},{text:"PHP",value:"php"},{text:"C",value:"c"},{text:"Python",value:"python"},{text:"Java",value:"java"},{text:"C++",value:"cpp"},{text:"C#",value:"csharp"},{text:"Visual Basic",value:"visual-basic"},{text:"SQL",value:"sql"},{text:"Ruby",value:"ruby"},{text:"Swift",value:"swift"},{text:"Bash",value:"bash"},{text:"Lua",value:"lua"},{text:"Groovy",value:"groovy"},{text:"Markdown",value:"markdown"},{text:"ABAP",value:"abap"}]}};Jm&&(Ym.fn.attr=Jm);var MN={renderStyle:function(e,t){var r=e,n=t,o="";return kN.forEach(function(e){r[e]&&(o=e)}),o&&function(e,t){null==e.data&&(e.data={});var r=e.data;null==r.props&&(r.props={}),Object.assign(r.props,{className:t})}(n,o="token ".concat(o)),n},parseStyleHtml:function(e,t,r){var n=Ym(e);if(!kp.isElement(t))return t;if("code"!==Oy.getNodeType(t))return t;var o=t,i=n.attr("class")||"";return 0===i.indexOf("language-")?o.language=i.split("-")[1]||"":o.language=i.toLowerCase(),o},menus:[FN],elemsToHtml:[ON]};Gw("en",{listModule:{unOrderedList:"Unordered list",orderedList:"Ordered list"}}),Gw("zh-CN",{listModule:{unOrderedList:"无序列表",orderedList:"有序列表"}});var IN=new WeakMap;function PN(e){var t,r=e.children||[],n=r.length;if(0===n)return"";for(var o=0;o<n&&!t;o+=1){var i=r[o];Df.isText(i)&&(t=i)}return null==t?"":t.color||""}function RN(e,t,r){for(var n=t.type,o=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var o=0;for(n=Object.getOwnPropertySymbols(e);o<n.length;o++)t.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(e,n[o])&&(r[n[o]]=e[n[o]])}return r}(t,["type"]),i=void 0!==r?r:o.level||0,a=Oy.findPath(e,t);;){if(0===a.length||0===a[a.length-1])return null;a=yp.previous(a);var s=ff.node(e,a);if(!s)return null;var l=Ig(s,1)[0],u=l.level,c=void 0===u?0:u;if(Oy.getNodeType(l)!==n)return null;if(c===i)return l}}function LN(e,t,r){var n=RN(e,t,r);return!!n&&n.ordered===t.ordered}var _N=[];var zN={type:"list-item",elemToHtml:function(e,t){var r="",n="",o=e.ordered,i=void 0!==o&&o?"ol":"ul",a=function(e){var t=IN.get(e);if(null==t)return 0;var r=e,n=r.type,o=r.ordered,i=void 0!==o&&o,a=r.level,s=void 0===a?0:a,l=Oy.findPath(t,e);if(0===l[0])return s+1;var u=yp.previous(l),c=ff.node(t,u);if(!c)return 0;var d=Ig(c,1)[0];if(Oy.getNodeType(d)!==n)return s+1;var h=d,p=h.ordered,f=void 0!==p&&p,g=h.level,m=void 0===g?0:g;return m<s?s-m:m>s?LN(t,e)?0:1:m===s?f===i?0:1:0}(e);if(a>0)for(var s=0;s<a;s+=1)r+="<".concat(i,">"),_N.push(i);var l=function(e){var t=IN.get(e);if(null==t)return 0;var r=e,n=r.type,o=r.ordered,i=void 0!==o&&o,a=r.level,s=void 0===a?0:a,l=Oy.findPath(t,e);if(l[0]===t.children.length-1)return s+1;var u=yp.next(l),c=ff.node(t,u);if(!c)return 0;var d=Ig(c,1)[0];if(Oy.getNodeType(d)!==n)return s+1;var h=d,p=h.ordered,f=void 0!==p&&p,g=h.level,m=void 0===g?0:g;return m<s?LN(t,d)?s-m:s-m+1:m>s?0:m===s?f===i?0:1:0}(e);if(l>0)for(s=0;s<l;s+=1){var u=_N.pop();n+="</".concat(u,">")}var c=PN(e),d=c?' style="color:'.concat(c,'"'):"";return{html:"<li".concat(d,">").concat(t,"</li>"),prefix:r,suffix:n}}},HN=function(){function e(){this.type="list-item",this.tag="button"}return e.prototype.getListNode=function(e){var t=this.type;return Oy.getSelectedNodeByType(e,t)},e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){var t=this.getListNode(e);if(null==t)return!1;var r=t.ordered;return(void 0!==r&&r)===this.ordered},e.prototype.isDisabled=function(e){return null==e.selection||!!Oy.getSelectedElems(e).some(function(t){if(ff.isVoid(e,t)&&ff.isBlock(e,t))return!0;var r=t.type;return!!["pre","code","table"].includes(r)})},e.prototype.exec=function(e,t){this.isActive(e)?Vf.setNodes(e,{type:"paragraph",ordered:void 0,level:void 0}):Vf.setNodes(e,{type:"list-item",ordered:this.ordered,indent:void 0})},e}(),jN=function(e){function t(){var t=e.apply(this,Pg([],Ig(arguments),!1))||this;return t.ordered=!1,t.title=Xw("listModule.unOrderedList"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M384 64h640v128H384V64z m0 384h640v128H384v-128z m0 384h640v128H384v-128zM0 128a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z m0 384a128 128 0 1 1 256 0 128 128 0 0 1-256 0z"></path></svg>',t}return Ng(t,e),t}(HN),VN=function(e){function t(){var t=e.apply(this,Pg([],Ig(arguments),!1))||this;return t.ordered=!0,t.title=Xw("listModule.orderedList"),t.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M384 832h640v128H384z m0-384h640v128H384z m0-384h640v128H384zM192 0v256H128V64H64V0zM128 526.016v50.016h128v64H64v-146.016l128-60V384H64v-64h192v146.016zM256 704v320H64v-64h128v-64H64v-64h128v-64H64v-64z"></path></svg>',t}return Ng(t,e),t}(HN),$N={key:"bulletedList",factory:function(){return new jN}},UN={key:"numberedList",factory:function(){return new VN}};function qN(e){return e.length?e[0].tagName.toLowerCase():""}mv&&(Ym.fn.append=mv),Jm&&(Ym.fn.attr=Jm),yv&&(Ym.fn.parent=yv);var GN={selector:"li:not([data-w-e-type])",parseElemHtml:function(e,t,r){var n=Ym(e);0===(t=t.filter(function(e){return!!Df.isText(e)||!!r.isInline(e)})).length&&(t=[{text:n.text().replace(/\s+/gm," ")}]);var o=function(e){return"ol"===qN(e.parent())}(n),i=function(e){for(var t=0,r=e.parent(),n=qN(r);"ul"===n||"ol"===n;)n=qN(r=r.parent()),t+=1;return t-1}(n);return{type:"list-item",ordered:o,level:i,children:t}}};var WN={selector:"ul:not([data-w-e-type]),ol:not([data-w-e-type])",parseElemHtml:function(e,t,r){return t.flat(1/0)}};function YN(e){return ff.nodes(e,{at:e.selection||void 0,match:function(t){return 1===Oy.findPath(e,t).length}})}var KN={type:"list-item",renderElem:function(e,t,r){IN.set(e,r);var n=e,o=n.level,i=void 0===o?0:o,a=n.ordered,s=void 0!==a&&a,l={margin:"5px 0 5px ".concat(20*i,"px"),display:"flex",alignItems:"flex-start"},u="";if(s){var c=function(e,t){var r=t,n=r.type,o=r.level,i=void 0===o?0:o,a=r.ordered,s=void 0!==a&&a,l=1,u=t,c=Oy.findPath(e,u);if(0===c[0])return 1;for(;c[0]>0;){var d=yp.previous(c),h=ff.node(e,d);if(null==h)break;var p=h[0],f=p.level,g=void 0===f?0:f,m=p.type,v=p.ordered;if(m!==n)break;if(g<i)break;if(g===i){if(v!==s)break;l+=1}u=p,c=d}return l}(r,e);u="".concat(c,".")}else u=function(e){void 0===e&&(e=0);var t="";switch(e){case 0:t="•";break;case 1:t="◦";break;default:t="▪"}return t}(i);return Ax("div",{style:l},Ax("span",{contentEditable:!1,style:{marginRight:"0.5em",color:PN(e)},"data-w-e-reserve":!0},u),Ax("span",{style:{flex:"1",wordBreak:"break-word"}},t))}},XN={renderElems:[KN],editorPlugin:function(e){var t=e.deleteBackward,r=e.handleTab,n=e.normalizeNode,o=e.insertBreak,i=e;return i.insertBreak=function(){var t=Ig(ff.nodes(e,{match:function(e){return Oy.checkNodeType(e,"list-item")},universal:!0}),1),r=t[0];return r?""!==r[0].children[0].text?o():void Vf.setNodes(i,{type:"paragraph",ordered:void 0,level:void 0}):o()},i.deleteBackward=function(r){var n=i.selection;if(null!=n)if(Dp.isExpanded(n))t(r);else{var o=Oy.getSelectedNodeByType(i,"list-item");if(null!=o)if(0!==n.focus.offset)t(r);else{var a=o,s=a.level,l=void 0===s?0:s,u=a.ordered,c=void 0!==u&&u;if(l>0){var d=RN(e,o,l-1);d&&d.ordered!==c?Vf.setNodes(i,{level:l-1,ordered:!c}):Vf.setNodes(i,{level:l-1})}else Vf.setNodes(i,{type:"paragraph",ordered:void 0,level:void 0})}else t(r)}else t(r)},i.handleTab=function(){var e,t,n,o,a=i.selection;if(null!=a){if(Dp.isCollapsed(a)){var s=Oy.getSelectedNodeByType(i,"list-item");if(null==s)return void r();if(0===a.focus.offset){var l=s.level,u=void 0===l?0:l;return void Vf.setNodes(i,{level:u+1})}}if(Dp.isExpanded(a)){var c=0,d=!1;try{for(var h=Mg(YN(i)),p=h.next();!p.done;p=h.next()){var f=Ig(p.value,1)[0];"list-item"===Oy.getNodeType(f)?c+=1:d=!0}}catch(t){e={error:t}}finally{try{p&&!p.done&&(t=h.return)&&t.call(h)}finally{if(e)throw e.error}}if(d||c<=1)return void r();try{for(var g=Mg(YN(i)),m=g.next();!m.done;m=g.next()){var v=Ig(m.value,2),y=(f=v[0],v[1]),b=f.level;u=void 0===b?0:b;Vf.setNodes(i,{level:u+1},{at:y})}}catch(e){n={error:e}}finally{try{m&&!m.done&&(o=g.return)&&o.call(g)}finally{if(n)throw n.error}}}else r()}else r()},i.normalizeNode=function(e){var t=Ig(e,2),r=t[0],o=t[1],a=Oy.getNodeType(r);return"bulleted-list"!==a&&"numbered-list"!==a||Vf.unwrapNodes(i,{at:o}),n([r,o])},i},menus:[$N,UN],elemsToHtml:[zN],parseElemsHtml:[WN,GN]};!function(){if(void 0!==window.Reflect&&void 0!==window.customElements&&!window.customElements.polyfillWrapFlushCallback){var e=HTMLElement,t=function(){return Reflect.construct(e,[],this.constructor)};window.HTMLElement=t,HTMLElement.prototype=e.prototype,HTMLElement.prototype.constructor=HTMLElement,Object.setPrototypeOf(HTMLElement,e)}}();class ZN{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 ZN(e.loc.lexer,e.loc.start,t.loc.end):null:e&&e.loc}}class JN{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 JN(t,ZN.range(this,e))}}class QN{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var r,n,o="KaTeX parse error: "+e,i=t&&t.loc;if(i&&i.start<=i.end){var a=i.lexer.input;r=i.start,n=i.end,r===a.length?o+=" at end of input: ":o+=" at position "+(r+1)+": ";var s=a.slice(r,n).replace(/[^]/g,"$&̲");o+=(r>15?"…"+a.slice(r-15,r):a.slice(0,r))+s+(n+15<a.length?a.slice(n,n+15)+"…":a.slice(n))}var l=new Error(o);return l.name="ParseError",l.__proto__=QN.prototype,l.position=r,null!=r&&null!=n&&(l.length=n-r),l.rawMessage=e,l}}QN.prototype.__proto__=Error.prototype;var eO=/([A-Z])/g,tO={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},rO=/[&><"']/g;var nO=function e(t){return"ordgroup"===t.type||"color"===t.type?1===t.body.length?e(t.body[0]):t:"font"===t.type?e(t.body):t},oO={deflt:function(e,t){return void 0===e?t:e},escape:function(e){return String(e).replace(rO,e=>tO[e])},hyphenate:function(e){return e.replace(eO,"-$1").toLowerCase()},getBaseElem:nO,isCharacterBox:function(e){var t=nO(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},protocolFromUrl:function(e){var t=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*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"}},iO={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 aO(e){if(e.default)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if("string"!=typeof r)return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class sO{constructor(e){for(var t in this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{},iO)if(iO.hasOwnProperty(t)){var r=iO[t];this[t]=void 0!==e[t]?r.processor?r.processor(e[t]):e[t]:aO(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 QN("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(e){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(e.url&&!e.protocol){var t=oO.protocolFromUrl(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 lO{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 uO[cO[this.id]]}sub(){return uO[dO[this.id]]}fracNum(){return uO[hO[this.id]]}fracDen(){return uO[pO[this.id]]}cramp(){return uO[fO[this.id]]}text(){return uO[gO[this.id]]}isTight(){return this.size>=2}}var uO=[new lO(0,0,!1),new lO(1,0,!0),new lO(2,1,!1),new lO(3,1,!0),new lO(4,2,!1),new lO(5,2,!0),new lO(6,3,!1),new lO(7,3,!0)],cO=[4,5,4,5,6,7,6,7],dO=[5,5,5,5,7,7,7,7],hO=[2,3,4,5,6,7,6,7],pO=[3,3,5,5,7,7,7,7],fO=[1,1,3,3,5,5,7,7],gO=[0,1,2,3,2,3,2,3],mO={DISPLAY:uO[0],TEXT:uO[2],SCRIPT:uO[4],SCRIPTSCRIPT:uO[6]},vO=[{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 yO=[];function bO(e){for(var t=0;t<yO.length;t+=2)if(e>=yO[t]&&e<=yO[t+1])return!0;return!1}vO.forEach(e=>e.blocks.forEach(e=>yO.push(...e)));var wO=80,EO={doubleleftarrow:"M262 157\nl10-10c34-36 62.7-77 86-123 3.3-8 5-13.3 5-16 0-5.3-6.7-8-20-8-7.3\n 0-12.2.5-14.5 1.5-2.3 1-4.8 4.5-7.5 10.5-49.3 97.3-121.7 169.3-217 216-28\n 14-57.3 25-88 33-6.7 2-11 3.8-13 5.5-2 1.7-3 4.2-3 7.5s1 5.8 3 7.5\nc2 1.7 6.3 3.5 13 5.5 68 17.3 128.2 47.8 180.5 91.5 52.3 43.7 93.8 96.2 124.5\n 157.5 9.3 8 15.3 12.3 18 13h6c12-.7 18-4 18-10 0-2-1.7-7-5-15-23.3-46-52-87\n-86-123l-10-10h399738v-40H218c328 0 0 0 0 0l-10-8c-26.7-20-65.7-43-117-69 2.7\n-2 6-3.7 10-5 36.7-16 72.3-37.3 107-64l10-8h399782v-40z\nm8 0v40h399730v-40zm0 194v40h399730v-40z",doublerightarrow:"M399738 392l\n-10 10c-34 36-62.7 77-86 123-3.3 8-5 13.3-5 16 0 5.3 6.7 8 20 8 7.3 0 12.2-.5\n 14.5-1.5 2.3-1 4.8-4.5 7.5-10.5 49.3-97.3 121.7-169.3 217-216 28-14 57.3-25 88\n-33 6.7-2 11-3.8 13-5.5 2-1.7 3-4.2 3-7.5s-1-5.8-3-7.5c-2-1.7-6.3-3.5-13-5.5-68\n-17.3-128.2-47.8-180.5-91.5-52.3-43.7-93.8-96.2-124.5-157.5-9.3-8-15.3-12.3-18\n-13h-6c-12 .7-18 4-18 10 0 2 1.7 7 5 15 23.3 46 52 87 86 123l10 10H0v40h399782\nc-328 0 0 0 0 0l10 8c26.7 20 65.7 43 117 69-2.7 2-6 3.7-10 5-36.7 16-72.3 37.3\n-107 64l-10 8H0v40zM0 157v40h399730v-40zm0 194v40h399730v-40z",leftarrow:"M400000 241H110l3-3c68.7-52.7 113.7-120\n 135-202 4-14.7 6-23 6-25 0-7.3-7-11-21-11-8 0-13.2.8-15.5 2.5-2.3 1.7-4.2 5.8\n-5.5 12.5-1.3 4.7-2.7 10.3-4 17-12 48.7-34.8 92-68.5 130S65.3 228.3 18 247\nc-10 4-16 7.7-18 11 0 8.7 6 14.3 18 17 47.3 18.7 87.8 47 121.5 85S196 441.3 208\n 490c.7 2 1.3 5 2 9s1.2 6.7 1.5 8c.3 1.3 1 3.3 2 6s2.2 4.5 3.5 5.5c1.3 1 3.3\n 1.8 6 2.5s6 1 10 1c14 0 21-3.7 21-11 0-2-2-10.3-6-25-20-79.3-65-146.7-135-202\n l-3-3h399890zM100 241v40h399900v-40z",leftbrace:"M6 548l-6-6v-35l6-11c56-104 135.3-181.3 238-232 57.3-28.7 117\n-45 179-50h399577v120H403c-43.3 7-81 15-113 26-100.7 33-179.7 91-237 174-2.7\n 5-6 9-10 13-.7 1-7.3 1-20 1H6z",leftbraceunder:"M0 6l6-6h17c12.688 0 19.313.3 20 1 4 4 7.313 8.3 10 13\n 35.313 51.3 80.813 93.8 136.5 127.5 55.688 33.7 117.188 55.8 184.5 66.5.688\n 0 2 .3 4 1 18.688 2.7 76 4.3 172 5h399450v120H429l-6-1c-124.688-8-235-61.7\n-331-161C60.687 138.7 32.312 99.3 7 54L0 41V6z",leftgroup:"M400000 80\nH435C64 80 168.3 229.4 21 260c-5.9 1.2-18 0-18 0-2 0-3-1-3-3v-38C76 61 257 0\n 435 0h399565z",leftgroupunder:"M400000 262\nH435C64 262 168.3 112.6 21 82c-5.9-1.2-18 0-18 0-2 0-3 1-3 3v38c76 158 257 219\n 435 219h399565z",leftharpoon:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3\n-3.3 10.2-9.5 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5\n-18.3 3-21-1.3-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7\n-196 228-6.7 4.7-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40z",leftharpoonplus:"M0 267c.7 5.3 3 10 7 14h399993v-40H93c3.3-3.3 10.2-9.5\n 20.5-18.5s17.8-15.8 22.5-20.5c50.7-52 88-110.3 112-175 4-11.3 5-18.3 3-21-1.3\n-4-7.3-6-18-6-8 0-13 .7-15 2s-4.7 6.7-8 16c-42 98.7-107.3 174.7-196 228-6.7 4.7\n-10.7 8-12 10-1.3 2-2 5.7-2 11zm100-26v40h399900v-40zM0 435v40h400000v-40z\nm0 0v40h400000v-40z",leftharpoondown:"M7 241c-4 4-6.333 8.667-7 14 0 5.333.667 9 2 11s5.333\n 5.333 12 10c90.667 54 156 130 196 228 3.333 10.667 6.333 16.333 9 17 2 .667 5\n 1 9 1h5c10.667 0 16.667-2 18-6 2-2.667 1-9.667-3-21-32-87.333-82.667-157.667\n-152-211l-3-3h399907v-40zM93 281 H400000 v-40L7 241z",leftharpoondownplus:"M7 435c-4 4-6.3 8.7-7 14 0 5.3.7 9 2 11s5.3 5.3 12\n 10c90.7 54 156 130 196 228 3.3 10.7 6.3 16.3 9 17 2 .7 5 1 9 1h5c10.7 0 16.7\n-2 18-6 2-2.7 1-9.7-3-21-32-87.3-82.7-157.7-152-211l-3-3h399907v-40H7zm93 0\nv40h399900v-40zM0 241v40h399900v-40zm0 0v40h399900v-40z",lefthook:"M400000 281 H103s-33-11.2-61-33.5S0 197.3 0 164s14.2-61.2 42.5\n-83.5C70.8 58.2 104 47 142 47 c16.7 0 25 6.7 25 20 0 12-8.7 18.7-26 20-40 3.3\n-68.7 15.7-86 37-10 12-15 25.3-15 40 0 22.7 9.8 40.7 29.5 54 19.7 13.3 43.5 21\n 71.5 23h399859zM103 281v-40h399897v40z",leftlinesegment:"M40 281 V428 H0 V94 H40 V241 H400000 v40z\nM40 281 V428 H0 V94 H40 V241 H400000 v40z",leftmapsto:"M40 281 V448H0V74H40V241H400000v40z\nM40 281 V448H0V74H40V241H400000v40z",leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:"M0 50 h400000 v40H0z m0 194h40000v40H0z\nM0 50 h400000 v40H0z m0 194h40000v40H0z",midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:"M399960 241 V94 h40 V428 h-40 V281 H0 v-40z\nM399960 241 V94 h40 V428 h-40 V281 H0 v-40z",rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"};class xO{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=>e.toText()).join("")}}var CO={"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]}},SO={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]},DO={"Å":"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 AO(e,t,r){if(!CO[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),o=CO[t][n];if(!o&&e[0]in DO&&(n=DO[e[0]].charCodeAt(0),o=CO[t][n]),o||"text"!==r||bO(n)&&(o=CO[t][77]),o)return{depth:o[0],height:o[1],italic:o[2],skew:o[3],width:o[4]}}var kO={};var TO=[[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]],NO=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],OO=function(e,t){return t.size<2?e:TO[e-1][t.size-1]};class BO{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||BO.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=NO[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){var t={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var r in e)e.hasOwnProperty(r)&&(t[r]=e[r]);return new BO(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:OO(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:NO[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=OO(BO.BASESIZE,e);return this.size===t&&this.textSize===BO.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!==BO.BASESIZE?["sizing","reset-size"+this.size,"size"+BO.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=function(e){var t;if(!kO[t=e>=5?0:e>=3?1:2]){var r=kO[t]={cssEmPerMu:SO.quad[t]/18};for(var n in SO)SO.hasOwnProperty(n)&&(r[n]=SO[n][t])}return kO[t]}(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}BO.BASESIZE=6;var FO={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},MO={ex:!0,em:!0,mu:!0},IO=function(e){return"string"!=typeof e&&(e=e.unit),e in FO||e in MO||"ex"===e},PO=function(e,t){var r;if(e.unit in FO)r=FO[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 QN("Invalid unit: '"+e.unit+"'");r=n.fontMetrics().quad}n!==t&&(r*=n.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*r,t.maxSize)},RO=function(e){return+e.toFixed(4)+"em"},LO=function(e){return e.filter(e=>e).join(" ")},_O=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)}},zO=function(e){var t=document.createElement(e);for(var r in t.className=LO(this.classes),this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);for(var n in this.attributes)this.attributes.hasOwnProperty(n)&&t.setAttribute(n,this.attributes[n]);for(var o=0;o<this.children.length;o++)t.appendChild(this.children[o].toNode());return t},HO=/[\s"'>/=\x00-\x1f]/,jO=function(e){var t="<"+e;this.classes.length&&(t+=' class="'+oO.escape(LO(this.classes))+'"');var r="";for(var n in this.style)this.style.hasOwnProperty(n)&&(r+=oO.hyphenate(n)+":"+this.style[n]+";");for(var o in r&&(t+=' style="'+oO.escape(r)+'"'),this.attributes)if(this.attributes.hasOwnProperty(o)){if(HO.test(o))throw new QN("Invalid attribute name '"+o+"'");t+=" "+o+'="'+oO.escape(this.attributes[o])+'"'}t+=">";for(var i=0;i<this.children.length;i++)t+=this.children[i].toMarkup();return t+="</"+e+">"};class VO{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,_O.call(this,e,r,n),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return zO.call(this,"span")}toMarkup(){return jO.call(this,"span")}}class $O{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,_O.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 zO.call(this,"a")}toMarkup(){return jO.call(this,"a")}}class UO{constructor(e,t,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.style=r}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createElement("img");for(var t in e.src=this.src,e.alt=this.alt,e.className="mord",this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){var e='<img src="'+oO.escape(this.src)+'" alt="'+oO.escape(this.alt)+'"',t="";for(var r in this.style)this.style.hasOwnProperty(r)&&(t+=oO.hyphenate(r)+":"+this.style[r]+";");return t&&(e+=' style="'+oO.escape(t)+'"'),e+="'/>"}}var qO={"î":"ı̂","ï":"ı̈","í":"ı́","ì":"ı̀"};class GO{constructor(e,t,r,n,o,i,a,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=o||0,this.width=i||0,this.classes=a||[],this.style=s||{},this.maxFontSize=0;var l=function(e){for(var t=0;t<vO.length;t++)for(var r=vO[t],n=0;n<r.blocks.length;n++){var o=r.blocks[n];if(e>=o[0]&&e<=o[1])return r.name}return null}(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=qO[this.text])}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createTextNode(this.text),t=null;for(var r in this.italic>0&&((t=document.createElement("span")).style.marginRight=RO(this.italic)),this.classes.length>0&&((t=t||document.createElement("span")).className=LO(this.classes)),this.style)this.style.hasOwnProperty(r)&&((t=t||document.createElement("span")).style[r]=this.style[r]);return t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=oO.escape(LO(this.classes)),t+='"');var r="";for(var n in this.italic>0&&(r+="margin-right:"+this.italic+"em;"),this.style)this.style.hasOwnProperty(n)&&(r+=oO.hyphenate(n)+":"+this.style[n]+";");r&&(e=!0,t+=' style="'+oO.escape(r)+'"');var o=oO.escape(this.text);return e?(t+=">",t+=o,t+="</span>"):o}}class WO{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(var r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e}toMarkup(){var e='<svg xmlns="http://www.w3.org/2000/svg"';for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+oO.escape(this.attributes[t])+'"');e+=">";for(var r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e+="</svg>"}}class YO{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",EO[this.pathName]),e}toMarkup(){return this.alternate?'<path d="'+oO.escape(this.alternate)+'"/>':'<path d="'+oO.escape(EO[this.pathName])+'"/>'}}class KO{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e}toMarkup(){var e="<line";for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+oO.escape(this.attributes[t])+'"');return e+="/>"}}function XO(e){if(e instanceof GO)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}var ZO={bin:1,close:1,inner:1,open:1,punct:1,rel:1},JO={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},QO={math:{},text:{}};function eB(e,t,r,n,o,i){QO[e][o]={font:t,group:r,replace:n},i&&n&&(QO[e][n]=QO[e][o])}var tB="math",rB="text",nB="main",oB="ams",iB="accent-token",aB="bin",sB="close",lB="inner",uB="mathord",cB="op-token",dB="open",hB="punct",pB="rel",fB="spacing",gB="textord";eB(tB,nB,pB,"≡","\\equiv",!0),eB(tB,nB,pB,"≺","\\prec",!0),eB(tB,nB,pB,"≻","\\succ",!0),eB(tB,nB,pB,"∼","\\sim",!0),eB(tB,nB,pB,"⊥","\\perp"),eB(tB,nB,pB,"⪯","\\preceq",!0),eB(tB,nB,pB,"⪰","\\succeq",!0),eB(tB,nB,pB,"≃","\\simeq",!0),eB(tB,nB,pB,"∣","\\mid",!0),eB(tB,nB,pB,"≪","\\ll",!0),eB(tB,nB,pB,"≫","\\gg",!0),eB(tB,nB,pB,"≍","\\asymp",!0),eB(tB,nB,pB,"∥","\\parallel"),eB(tB,nB,pB,"⋈","\\bowtie",!0),eB(tB,nB,pB,"⌣","\\smile",!0),eB(tB,nB,pB,"⊑","\\sqsubseteq",!0),eB(tB,nB,pB,"⊒","\\sqsupseteq",!0),eB(tB,nB,pB,"≐","\\doteq",!0),eB(tB,nB,pB,"⌢","\\frown",!0),eB(tB,nB,pB,"∋","\\ni",!0),eB(tB,nB,pB,"∝","\\propto",!0),eB(tB,nB,pB,"⊢","\\vdash",!0),eB(tB,nB,pB,"⊣","\\dashv",!0),eB(tB,nB,pB,"∋","\\owns"),eB(tB,nB,hB,".","\\ldotp"),eB(tB,nB,hB,"⋅","\\cdotp"),eB(tB,nB,gB,"#","\\#"),eB(rB,nB,gB,"#","\\#"),eB(tB,nB,gB,"&","\\&"),eB(rB,nB,gB,"&","\\&"),eB(tB,nB,gB,"ℵ","\\aleph",!0),eB(tB,nB,gB,"∀","\\forall",!0),eB(tB,nB,gB,"ℏ","\\hbar",!0),eB(tB,nB,gB,"∃","\\exists",!0),eB(tB,nB,gB,"∇","\\nabla",!0),eB(tB,nB,gB,"♭","\\flat",!0),eB(tB,nB,gB,"ℓ","\\ell",!0),eB(tB,nB,gB,"♮","\\natural",!0),eB(tB,nB,gB,"♣","\\clubsuit",!0),eB(tB,nB,gB,"℘","\\wp",!0),eB(tB,nB,gB,"♯","\\sharp",!0),eB(tB,nB,gB,"♢","\\diamondsuit",!0),eB(tB,nB,gB,"ℜ","\\Re",!0),eB(tB,nB,gB,"♡","\\heartsuit",!0),eB(tB,nB,gB,"ℑ","\\Im",!0),eB(tB,nB,gB,"♠","\\spadesuit",!0),eB(tB,nB,gB,"§","\\S",!0),eB(rB,nB,gB,"§","\\S"),eB(tB,nB,gB,"¶","\\P",!0),eB(rB,nB,gB,"¶","\\P"),eB(tB,nB,gB,"†","\\dag"),eB(rB,nB,gB,"†","\\dag"),eB(rB,nB,gB,"†","\\textdagger"),eB(tB,nB,gB,"‡","\\ddag"),eB(rB,nB,gB,"‡","\\ddag"),eB(rB,nB,gB,"‡","\\textdaggerdbl"),eB(tB,nB,sB,"⎱","\\rmoustache",!0),eB(tB,nB,dB,"⎰","\\lmoustache",!0),eB(tB,nB,sB,"⟯","\\rgroup",!0),eB(tB,nB,dB,"⟮","\\lgroup",!0),eB(tB,nB,aB,"∓","\\mp",!0),eB(tB,nB,aB,"⊖","\\ominus",!0),eB(tB,nB,aB,"⊎","\\uplus",!0),eB(tB,nB,aB,"⊓","\\sqcap",!0),eB(tB,nB,aB,"∗","\\ast"),eB(tB,nB,aB,"⊔","\\sqcup",!0),eB(tB,nB,aB,"◯","\\bigcirc",!0),eB(tB,nB,aB,"∙","\\bullet",!0),eB(tB,nB,aB,"‡","\\ddagger"),eB(tB,nB,aB,"≀","\\wr",!0),eB(tB,nB,aB,"⨿","\\amalg"),eB(tB,nB,aB,"&","\\And"),eB(tB,nB,pB,"⟵","\\longleftarrow",!0),eB(tB,nB,pB,"⇐","\\Leftarrow",!0),eB(tB,nB,pB,"⟸","\\Longleftarrow",!0),eB(tB,nB,pB,"⟶","\\longrightarrow",!0),eB(tB,nB,pB,"⇒","\\Rightarrow",!0),eB(tB,nB,pB,"⟹","\\Longrightarrow",!0),eB(tB,nB,pB,"↔","\\leftrightarrow",!0),eB(tB,nB,pB,"⟷","\\longleftrightarrow",!0),eB(tB,nB,pB,"⇔","\\Leftrightarrow",!0),eB(tB,nB,pB,"⟺","\\Longleftrightarrow",!0),eB(tB,nB,pB,"↦","\\mapsto",!0),eB(tB,nB,pB,"⟼","\\longmapsto",!0),eB(tB,nB,pB,"↗","\\nearrow",!0),eB(tB,nB,pB,"↩","\\hookleftarrow",!0),eB(tB,nB,pB,"↪","\\hookrightarrow",!0),eB(tB,nB,pB,"↘","\\searrow",!0),eB(tB,nB,pB,"↼","\\leftharpoonup",!0),eB(tB,nB,pB,"⇀","\\rightharpoonup",!0),eB(tB,nB,pB,"↙","\\swarrow",!0),eB(tB,nB,pB,"↽","\\leftharpoondown",!0),eB(tB,nB,pB,"⇁","\\rightharpoondown",!0),eB(tB,nB,pB,"↖","\\nwarrow",!0),eB(tB,nB,pB,"⇌","\\rightleftharpoons",!0),eB(tB,oB,pB,"≮","\\nless",!0),eB(tB,oB,pB,"","\\@nleqslant"),eB(tB,oB,pB,"","\\@nleqq"),eB(tB,oB,pB,"⪇","\\lneq",!0),eB(tB,oB,pB,"≨","\\lneqq",!0),eB(tB,oB,pB,"","\\@lvertneqq"),eB(tB,oB,pB,"⋦","\\lnsim",!0),eB(tB,oB,pB,"⪉","\\lnapprox",!0),eB(tB,oB,pB,"⊀","\\nprec",!0),eB(tB,oB,pB,"⋠","\\npreceq",!0),eB(tB,oB,pB,"⋨","\\precnsim",!0),eB(tB,oB,pB,"⪹","\\precnapprox",!0),eB(tB,oB,pB,"≁","\\nsim",!0),eB(tB,oB,pB,"","\\@nshortmid"),eB(tB,oB,pB,"∤","\\nmid",!0),eB(tB,oB,pB,"⊬","\\nvdash",!0),eB(tB,oB,pB,"⊭","\\nvDash",!0),eB(tB,oB,pB,"⋪","\\ntriangleleft"),eB(tB,oB,pB,"⋬","\\ntrianglelefteq",!0),eB(tB,oB,pB,"⊊","\\subsetneq",!0),eB(tB,oB,pB,"","\\@varsubsetneq"),eB(tB,oB,pB,"⫋","\\subsetneqq",!0),eB(tB,oB,pB,"","\\@varsubsetneqq"),eB(tB,oB,pB,"≯","\\ngtr",!0),eB(tB,oB,pB,"","\\@ngeqslant"),eB(tB,oB,pB,"","\\@ngeqq"),eB(tB,oB,pB,"⪈","\\gneq",!0),eB(tB,oB,pB,"≩","\\gneqq",!0),eB(tB,oB,pB,"","\\@gvertneqq"),eB(tB,oB,pB,"⋧","\\gnsim",!0),eB(tB,oB,pB,"⪊","\\gnapprox",!0),eB(tB,oB,pB,"⊁","\\nsucc",!0),eB(tB,oB,pB,"⋡","\\nsucceq",!0),eB(tB,oB,pB,"⋩","\\succnsim",!0),eB(tB,oB,pB,"⪺","\\succnapprox",!0),eB(tB,oB,pB,"≆","\\ncong",!0),eB(tB,oB,pB,"","\\@nshortparallel"),eB(tB,oB,pB,"∦","\\nparallel",!0),eB(tB,oB,pB,"⊯","\\nVDash",!0),eB(tB,oB,pB,"⋫","\\ntriangleright"),eB(tB,oB,pB,"⋭","\\ntrianglerighteq",!0),eB(tB,oB,pB,"","\\@nsupseteqq"),eB(tB,oB,pB,"⊋","\\supsetneq",!0),eB(tB,oB,pB,"","\\@varsupsetneq"),eB(tB,oB,pB,"⫌","\\supsetneqq",!0),eB(tB,oB,pB,"","\\@varsupsetneqq"),eB(tB,oB,pB,"⊮","\\nVdash",!0),eB(tB,oB,pB,"⪵","\\precneqq",!0),eB(tB,oB,pB,"⪶","\\succneqq",!0),eB(tB,oB,pB,"","\\@nsubseteqq"),eB(tB,oB,aB,"⊴","\\unlhd"),eB(tB,oB,aB,"⊵","\\unrhd"),eB(tB,oB,pB,"↚","\\nleftarrow",!0),eB(tB,oB,pB,"↛","\\nrightarrow",!0),eB(tB,oB,pB,"⇍","\\nLeftarrow",!0),eB(tB,oB,pB,"⇏","\\nRightarrow",!0),eB(tB,oB,pB,"↮","\\nleftrightarrow",!0),eB(tB,oB,pB,"⇎","\\nLeftrightarrow",!0),eB(tB,oB,pB,"△","\\vartriangle"),eB(tB,oB,gB,"ℏ","\\hslash"),eB(tB,oB,gB,"▽","\\triangledown"),eB(tB,oB,gB,"◊","\\lozenge"),eB(tB,oB,gB,"Ⓢ","\\circledS"),eB(tB,oB,gB,"®","\\circledR"),eB(rB,oB,gB,"®","\\circledR"),eB(tB,oB,gB,"∡","\\measuredangle",!0),eB(tB,oB,gB,"∄","\\nexists"),eB(tB,oB,gB,"℧","\\mho"),eB(tB,oB,gB,"Ⅎ","\\Finv",!0),eB(tB,oB,gB,"⅁","\\Game",!0),eB(tB,oB,gB,"‵","\\backprime"),eB(tB,oB,gB,"▲","\\blacktriangle"),eB(tB,oB,gB,"▼","\\blacktriangledown"),eB(tB,oB,gB,"■","\\blacksquare"),eB(tB,oB,gB,"⧫","\\blacklozenge"),eB(tB,oB,gB,"★","\\bigstar"),eB(tB,oB,gB,"∢","\\sphericalangle",!0),eB(tB,oB,gB,"∁","\\complement",!0),eB(tB,oB,gB,"ð","\\eth",!0),eB(rB,nB,gB,"ð","ð"),eB(tB,oB,gB,"╱","\\diagup"),eB(tB,oB,gB,"╲","\\diagdown"),eB(tB,oB,gB,"□","\\square"),eB(tB,oB,gB,"□","\\Box"),eB(tB,oB,gB,"◊","\\Diamond"),eB(tB,oB,gB,"¥","\\yen",!0),eB(rB,oB,gB,"¥","\\yen",!0),eB(tB,oB,gB,"✓","\\checkmark",!0),eB(rB,oB,gB,"✓","\\checkmark"),eB(tB,oB,gB,"ℶ","\\beth",!0),eB(tB,oB,gB,"ℸ","\\daleth",!0),eB(tB,oB,gB,"ℷ","\\gimel",!0),eB(tB,oB,gB,"ϝ","\\digamma",!0),eB(tB,oB,gB,"ϰ","\\varkappa"),eB(tB,oB,dB,"┌","\\@ulcorner",!0),eB(tB,oB,sB,"┐","\\@urcorner",!0),eB(tB,oB,dB,"└","\\@llcorner",!0),eB(tB,oB,sB,"┘","\\@lrcorner",!0),eB(tB,oB,pB,"≦","\\leqq",!0),eB(tB,oB,pB,"⩽","\\leqslant",!0),eB(tB,oB,pB,"⪕","\\eqslantless",!0),eB(tB,oB,pB,"≲","\\lesssim",!0),eB(tB,oB,pB,"⪅","\\lessapprox",!0),eB(tB,oB,pB,"≊","\\approxeq",!0),eB(tB,oB,aB,"⋖","\\lessdot"),eB(tB,oB,pB,"⋘","\\lll",!0),eB(tB,oB,pB,"≶","\\lessgtr",!0),eB(tB,oB,pB,"⋚","\\lesseqgtr",!0),eB(tB,oB,pB,"⪋","\\lesseqqgtr",!0),eB(tB,oB,pB,"≑","\\doteqdot"),eB(tB,oB,pB,"≓","\\risingdotseq",!0),eB(tB,oB,pB,"≒","\\fallingdotseq",!0),eB(tB,oB,pB,"∽","\\backsim",!0),eB(tB,oB,pB,"⋍","\\backsimeq",!0),eB(tB,oB,pB,"⫅","\\subseteqq",!0),eB(tB,oB,pB,"⋐","\\Subset",!0),eB(tB,oB,pB,"⊏","\\sqsubset",!0),eB(tB,oB,pB,"≼","\\preccurlyeq",!0),eB(tB,oB,pB,"⋞","\\curlyeqprec",!0),eB(tB,oB,pB,"≾","\\precsim",!0),eB(tB,oB,pB,"⪷","\\precapprox",!0),eB(tB,oB,pB,"⊲","\\vartriangleleft"),eB(tB,oB,pB,"⊴","\\trianglelefteq"),eB(tB,oB,pB,"⊨","\\vDash",!0),eB(tB,oB,pB,"⊪","\\Vvdash",!0),eB(tB,oB,pB,"⌣","\\smallsmile"),eB(tB,oB,pB,"⌢","\\smallfrown"),eB(tB,oB,pB,"≏","\\bumpeq",!0),eB(tB,oB,pB,"≎","\\Bumpeq",!0),eB(tB,oB,pB,"≧","\\geqq",!0),eB(tB,oB,pB,"⩾","\\geqslant",!0),eB(tB,oB,pB,"⪖","\\eqslantgtr",!0),eB(tB,oB,pB,"≳","\\gtrsim",!0),eB(tB,oB,pB,"⪆","\\gtrapprox",!0),eB(tB,oB,aB,"⋗","\\gtrdot"),eB(tB,oB,pB,"⋙","\\ggg",!0),eB(tB,oB,pB,"≷","\\gtrless",!0),eB(tB,oB,pB,"⋛","\\gtreqless",!0),eB(tB,oB,pB,"⪌","\\gtreqqless",!0),eB(tB,oB,pB,"≖","\\eqcirc",!0),eB(tB,oB,pB,"≗","\\circeq",!0),eB(tB,oB,pB,"≜","\\triangleq",!0),eB(tB,oB,pB,"∼","\\thicksim"),eB(tB,oB,pB,"≈","\\thickapprox"),eB(tB,oB,pB,"⫆","\\supseteqq",!0),eB(tB,oB,pB,"⋑","\\Supset",!0),eB(tB,oB,pB,"⊐","\\sqsupset",!0),eB(tB,oB,pB,"≽","\\succcurlyeq",!0),eB(tB,oB,pB,"⋟","\\curlyeqsucc",!0),eB(tB,oB,pB,"≿","\\succsim",!0),eB(tB,oB,pB,"⪸","\\succapprox",!0),eB(tB,oB,pB,"⊳","\\vartriangleright"),eB(tB,oB,pB,"⊵","\\trianglerighteq"),eB(tB,oB,pB,"⊩","\\Vdash",!0),eB(tB,oB,pB,"∣","\\shortmid"),eB(tB,oB,pB,"∥","\\shortparallel"),eB(tB,oB,pB,"≬","\\between",!0),eB(tB,oB,pB,"⋔","\\pitchfork",!0),eB(tB,oB,pB,"∝","\\varpropto"),eB(tB,oB,pB,"◀","\\blacktriangleleft"),eB(tB,oB,pB,"∴","\\therefore",!0),eB(tB,oB,pB,"∍","\\backepsilon"),eB(tB,oB,pB,"▶","\\blacktriangleright"),eB(tB,oB,pB,"∵","\\because",!0),eB(tB,oB,pB,"⋘","\\llless"),eB(tB,oB,pB,"⋙","\\gggtr"),eB(tB,oB,aB,"⊲","\\lhd"),eB(tB,oB,aB,"⊳","\\rhd"),eB(tB,oB,pB,"≂","\\eqsim",!0),eB(tB,nB,pB,"⋈","\\Join"),eB(tB,oB,pB,"≑","\\Doteq",!0),eB(tB,oB,aB,"∔","\\dotplus",!0),eB(tB,oB,aB,"∖","\\smallsetminus"),eB(tB,oB,aB,"⋒","\\Cap",!0),eB(tB,oB,aB,"⋓","\\Cup",!0),eB(tB,oB,aB,"⩞","\\doublebarwedge",!0),eB(tB,oB,aB,"⊟","\\boxminus",!0),eB(tB,oB,aB,"⊞","\\boxplus",!0),eB(tB,oB,aB,"⋇","\\divideontimes",!0),eB(tB,oB,aB,"⋉","\\ltimes",!0),eB(tB,oB,aB,"⋊","\\rtimes",!0),eB(tB,oB,aB,"⋋","\\leftthreetimes",!0),eB(tB,oB,aB,"⋌","\\rightthreetimes",!0),eB(tB,oB,aB,"⋏","\\curlywedge",!0),eB(tB,oB,aB,"⋎","\\curlyvee",!0),eB(tB,oB,aB,"⊝","\\circleddash",!0),eB(tB,oB,aB,"⊛","\\circledast",!0),eB(tB,oB,aB,"⋅","\\centerdot"),eB(tB,oB,aB,"⊺","\\intercal",!0),eB(tB,oB,aB,"⋒","\\doublecap"),eB(tB,oB,aB,"⋓","\\doublecup"),eB(tB,oB,aB,"⊠","\\boxtimes",!0),eB(tB,oB,pB,"⇢","\\dashrightarrow",!0),eB(tB,oB,pB,"⇠","\\dashleftarrow",!0),eB(tB,oB,pB,"⇇","\\leftleftarrows",!0),eB(tB,oB,pB,"⇆","\\leftrightarrows",!0),eB(tB,oB,pB,"⇚","\\Lleftarrow",!0),eB(tB,oB,pB,"↞","\\twoheadleftarrow",!0),eB(tB,oB,pB,"↢","\\leftarrowtail",!0),eB(tB,oB,pB,"↫","\\looparrowleft",!0),eB(tB,oB,pB,"⇋","\\leftrightharpoons",!0),eB(tB,oB,pB,"↶","\\curvearrowleft",!0),eB(tB,oB,pB,"↺","\\circlearrowleft",!0),eB(tB,oB,pB,"↰","\\Lsh",!0),eB(tB,oB,pB,"⇈","\\upuparrows",!0),eB(tB,oB,pB,"↿","\\upharpoonleft",!0),eB(tB,oB,pB,"⇃","\\downharpoonleft",!0),eB(tB,nB,pB,"⊶","\\origof",!0),eB(tB,nB,pB,"⊷","\\imageof",!0),eB(tB,oB,pB,"⊸","\\multimap",!0),eB(tB,oB,pB,"↭","\\leftrightsquigarrow",!0),eB(tB,oB,pB,"⇉","\\rightrightarrows",!0),eB(tB,oB,pB,"⇄","\\rightleftarrows",!0),eB(tB,oB,pB,"↠","\\twoheadrightarrow",!0),eB(tB,oB,pB,"↣","\\rightarrowtail",!0),eB(tB,oB,pB,"↬","\\looparrowright",!0),eB(tB,oB,pB,"↷","\\curvearrowright",!0),eB(tB,oB,pB,"↻","\\circlearrowright",!0),eB(tB,oB,pB,"↱","\\Rsh",!0),eB(tB,oB,pB,"⇊","\\downdownarrows",!0),eB(tB,oB,pB,"↾","\\upharpoonright",!0),eB(tB,oB,pB,"⇂","\\downharpoonright",!0),eB(tB,oB,pB,"⇝","\\rightsquigarrow",!0),eB(tB,oB,pB,"⇝","\\leadsto"),eB(tB,oB,pB,"⇛","\\Rrightarrow",!0),eB(tB,oB,pB,"↾","\\restriction"),eB(tB,nB,gB,"‘","`"),eB(tB,nB,gB,"$","\\$"),eB(rB,nB,gB,"$","\\$"),eB(rB,nB,gB,"$","\\textdollar"),eB(tB,nB,gB,"%","\\%"),eB(rB,nB,gB,"%","\\%"),eB(tB,nB,gB,"_","\\_"),eB(rB,nB,gB,"_","\\_"),eB(rB,nB,gB,"_","\\textunderscore"),eB(tB,nB,gB,"∠","\\angle",!0),eB(tB,nB,gB,"∞","\\infty",!0),eB(tB,nB,gB,"′","\\prime"),eB(tB,nB,gB,"△","\\triangle"),eB(tB,nB,gB,"Γ","\\Gamma",!0),eB(tB,nB,gB,"Δ","\\Delta",!0),eB(tB,nB,gB,"Θ","\\Theta",!0),eB(tB,nB,gB,"Λ","\\Lambda",!0),eB(tB,nB,gB,"Ξ","\\Xi",!0),eB(tB,nB,gB,"Π","\\Pi",!0),eB(tB,nB,gB,"Σ","\\Sigma",!0),eB(tB,nB,gB,"Υ","\\Upsilon",!0),eB(tB,nB,gB,"Φ","\\Phi",!0),eB(tB,nB,gB,"Ψ","\\Psi",!0),eB(tB,nB,gB,"Ω","\\Omega",!0),eB(tB,nB,gB,"A","Α"),eB(tB,nB,gB,"B","Β"),eB(tB,nB,gB,"E","Ε"),eB(tB,nB,gB,"Z","Ζ"),eB(tB,nB,gB,"H","Η"),eB(tB,nB,gB,"I","Ι"),eB(tB,nB,gB,"K","Κ"),eB(tB,nB,gB,"M","Μ"),eB(tB,nB,gB,"N","Ν"),eB(tB,nB,gB,"O","Ο"),eB(tB,nB,gB,"P","Ρ"),eB(tB,nB,gB,"T","Τ"),eB(tB,nB,gB,"X","Χ"),eB(tB,nB,gB,"¬","\\neg",!0),eB(tB,nB,gB,"¬","\\lnot"),eB(tB,nB,gB,"⊤","\\top"),eB(tB,nB,gB,"⊥","\\bot"),eB(tB,nB,gB,"∅","\\emptyset"),eB(tB,oB,gB,"∅","\\varnothing"),eB(tB,nB,uB,"α","\\alpha",!0),eB(tB,nB,uB,"β","\\beta",!0),eB(tB,nB,uB,"γ","\\gamma",!0),eB(tB,nB,uB,"δ","\\delta",!0),eB(tB,nB,uB,"ϵ","\\epsilon",!0),eB(tB,nB,uB,"ζ","\\zeta",!0),eB(tB,nB,uB,"η","\\eta",!0),eB(tB,nB,uB,"θ","\\theta",!0),eB(tB,nB,uB,"ι","\\iota",!0),eB(tB,nB,uB,"κ","\\kappa",!0),eB(tB,nB,uB,"λ","\\lambda",!0),eB(tB,nB,uB,"μ","\\mu",!0),eB(tB,nB,uB,"ν","\\nu",!0),eB(tB,nB,uB,"ξ","\\xi",!0),eB(tB,nB,uB,"ο","\\omicron",!0),eB(tB,nB,uB,"π","\\pi",!0),eB(tB,nB,uB,"ρ","\\rho",!0),eB(tB,nB,uB,"σ","\\sigma",!0),eB(tB,nB,uB,"τ","\\tau",!0),eB(tB,nB,uB,"υ","\\upsilon",!0),eB(tB,nB,uB,"ϕ","\\phi",!0),eB(tB,nB,uB,"χ","\\chi",!0),eB(tB,nB,uB,"ψ","\\psi",!0),eB(tB,nB,uB,"ω","\\omega",!0),eB(tB,nB,uB,"ε","\\varepsilon",!0),eB(tB,nB,uB,"ϑ","\\vartheta",!0),eB(tB,nB,uB,"ϖ","\\varpi",!0),eB(tB,nB,uB,"ϱ","\\varrho",!0),eB(tB,nB,uB,"ς","\\varsigma",!0),eB(tB,nB,uB,"φ","\\varphi",!0),eB(tB,nB,aB,"∗","*",!0),eB(tB,nB,aB,"+","+"),eB(tB,nB,aB,"−","-",!0),eB(tB,nB,aB,"⋅","\\cdot",!0),eB(tB,nB,aB,"∘","\\circ",!0),eB(tB,nB,aB,"÷","\\div",!0),eB(tB,nB,aB,"±","\\pm",!0),eB(tB,nB,aB,"×","\\times",!0),eB(tB,nB,aB,"∩","\\cap",!0),eB(tB,nB,aB,"∪","\\cup",!0),eB(tB,nB,aB,"∖","\\setminus",!0),eB(tB,nB,aB,"∧","\\land"),eB(tB,nB,aB,"∨","\\lor"),eB(tB,nB,aB,"∧","\\wedge",!0),eB(tB,nB,aB,"∨","\\vee",!0),eB(tB,nB,gB,"√","\\surd"),eB(tB,nB,dB,"⟨","\\langle",!0),eB(tB,nB,dB,"∣","\\lvert"),eB(tB,nB,dB,"∥","\\lVert"),eB(tB,nB,sB,"?","?"),eB(tB,nB,sB,"!","!"),eB(tB,nB,sB,"⟩","\\rangle",!0),eB(tB,nB,sB,"∣","\\rvert"),eB(tB,nB,sB,"∥","\\rVert"),eB(tB,nB,pB,"=","="),eB(tB,nB,pB,":",":"),eB(tB,nB,pB,"≈","\\approx",!0),eB(tB,nB,pB,"≅","\\cong",!0),eB(tB,nB,pB,"≥","\\ge"),eB(tB,nB,pB,"≥","\\geq",!0),eB(tB,nB,pB,"←","\\gets"),eB(tB,nB,pB,">","\\gt",!0),eB(tB,nB,pB,"∈","\\in",!0),eB(tB,nB,pB,"","\\@not"),eB(tB,nB,pB,"⊂","\\subset",!0),eB(tB,nB,pB,"⊃","\\supset",!0),eB(tB,nB,pB,"⊆","\\subseteq",!0),eB(tB,nB,pB,"⊇","\\supseteq",!0),eB(tB,oB,pB,"⊈","\\nsubseteq",!0),eB(tB,oB,pB,"⊉","\\nsupseteq",!0),eB(tB,nB,pB,"⊨","\\models"),eB(tB,nB,pB,"←","\\leftarrow",!0),eB(tB,nB,pB,"≤","\\le"),eB(tB,nB,pB,"≤","\\leq",!0),eB(tB,nB,pB,"<","\\lt",!0),eB(tB,nB,pB,"→","\\rightarrow",!0),eB(tB,nB,pB,"→","\\to"),eB(tB,oB,pB,"≱","\\ngeq",!0),eB(tB,oB,pB,"≰","\\nleq",!0),eB(tB,nB,fB," ","\\ "),eB(tB,nB,fB," ","\\space"),eB(tB,nB,fB," ","\\nobreakspace"),eB(rB,nB,fB," ","\\ "),eB(rB,nB,fB," "," "),eB(rB,nB,fB," ","\\space"),eB(rB,nB,fB," ","\\nobreakspace"),eB(tB,nB,fB,null,"\\nobreak"),eB(tB,nB,fB,null,"\\allowbreak"),eB(tB,nB,hB,",",","),eB(tB,nB,hB,";",";"),eB(tB,oB,aB,"⊼","\\barwedge",!0),eB(tB,oB,aB,"⊻","\\veebar",!0),eB(tB,nB,aB,"⊙","\\odot",!0),eB(tB,nB,aB,"⊕","\\oplus",!0),eB(tB,nB,aB,"⊗","\\otimes",!0),eB(tB,nB,gB,"∂","\\partial",!0),eB(tB,nB,aB,"⊘","\\oslash",!0),eB(tB,oB,aB,"⊚","\\circledcirc",!0),eB(tB,oB,aB,"⊡","\\boxdot",!0),eB(tB,nB,aB,"△","\\bigtriangleup"),eB(tB,nB,aB,"▽","\\bigtriangledown"),eB(tB,nB,aB,"†","\\dagger"),eB(tB,nB,aB,"⋄","\\diamond"),eB(tB,nB,aB,"⋆","\\star"),eB(tB,nB,aB,"◃","\\triangleleft"),eB(tB,nB,aB,"▹","\\triangleright"),eB(tB,nB,dB,"{","\\{"),eB(rB,nB,gB,"{","\\{"),eB(rB,nB,gB,"{","\\textbraceleft"),eB(tB,nB,sB,"}","\\}"),eB(rB,nB,gB,"}","\\}"),eB(rB,nB,gB,"}","\\textbraceright"),eB(tB,nB,dB,"{","\\lbrace"),eB(tB,nB,sB,"}","\\rbrace"),eB(tB,nB,dB,"[","\\lbrack",!0),eB(rB,nB,gB,"[","\\lbrack",!0),eB(tB,nB,sB,"]","\\rbrack",!0),eB(rB,nB,gB,"]","\\rbrack",!0),eB(tB,nB,dB,"(","\\lparen",!0),eB(tB,nB,sB,")","\\rparen",!0),eB(rB,nB,gB,"<","\\textless",!0),eB(rB,nB,gB,">","\\textgreater",!0),eB(tB,nB,dB,"⌊","\\lfloor",!0),eB(tB,nB,sB,"⌋","\\rfloor",!0),eB(tB,nB,dB,"⌈","\\lceil",!0),eB(tB,nB,sB,"⌉","\\rceil",!0),eB(tB,nB,gB,"\\","\\backslash"),eB(tB,nB,gB,"∣","|"),eB(tB,nB,gB,"∣","\\vert"),eB(rB,nB,gB,"|","\\textbar",!0),eB(tB,nB,gB,"∥","\\|"),eB(tB,nB,gB,"∥","\\Vert"),eB(rB,nB,gB,"∥","\\textbardbl"),eB(rB,nB,gB,"~","\\textasciitilde"),eB(rB,nB,gB,"\\","\\textbackslash"),eB(rB,nB,gB,"^","\\textasciicircum"),eB(tB,nB,pB,"↑","\\uparrow",!0),eB(tB,nB,pB,"⇑","\\Uparrow",!0),eB(tB,nB,pB,"↓","\\downarrow",!0),eB(tB,nB,pB,"⇓","\\Downarrow",!0),eB(tB,nB,pB,"↕","\\updownarrow",!0),eB(tB,nB,pB,"⇕","\\Updownarrow",!0),eB(tB,nB,cB,"∐","\\coprod"),eB(tB,nB,cB,"⋁","\\bigvee"),eB(tB,nB,cB,"⋀","\\bigwedge"),eB(tB,nB,cB,"⨄","\\biguplus"),eB(tB,nB,cB,"⋂","\\bigcap"),eB(tB,nB,cB,"⋃","\\bigcup"),eB(tB,nB,cB,"∫","\\int"),eB(tB,nB,cB,"∫","\\intop"),eB(tB,nB,cB,"∬","\\iint"),eB(tB,nB,cB,"∭","\\iiint"),eB(tB,nB,cB,"∏","\\prod"),eB(tB,nB,cB,"∑","\\sum"),eB(tB,nB,cB,"⨂","\\bigotimes"),eB(tB,nB,cB,"⨁","\\bigoplus"),eB(tB,nB,cB,"⨀","\\bigodot"),eB(tB,nB,cB,"∮","\\oint"),eB(tB,nB,cB,"∯","\\oiint"),eB(tB,nB,cB,"∰","\\oiiint"),eB(tB,nB,cB,"⨆","\\bigsqcup"),eB(tB,nB,cB,"∫","\\smallint"),eB(rB,nB,lB,"…","\\textellipsis"),eB(tB,nB,lB,"…","\\mathellipsis"),eB(rB,nB,lB,"…","\\ldots",!0),eB(tB,nB,lB,"…","\\ldots",!0),eB(tB,nB,lB,"⋯","\\@cdots",!0),eB(tB,nB,lB,"⋱","\\ddots",!0),eB(tB,nB,gB,"⋮","\\varvdots"),eB(rB,nB,gB,"⋮","\\varvdots"),eB(tB,nB,iB,"ˊ","\\acute"),eB(tB,nB,iB,"ˋ","\\grave"),eB(tB,nB,iB,"¨","\\ddot"),eB(tB,nB,iB,"~","\\tilde"),eB(tB,nB,iB,"ˉ","\\bar"),eB(tB,nB,iB,"˘","\\breve"),eB(tB,nB,iB,"ˇ","\\check"),eB(tB,nB,iB,"^","\\hat"),eB(tB,nB,iB,"⃗","\\vec"),eB(tB,nB,iB,"˙","\\dot"),eB(tB,nB,iB,"˚","\\mathring"),eB(tB,nB,uB,"","\\@imath"),eB(tB,nB,uB,"","\\@jmath"),eB(tB,nB,gB,"ı","ı"),eB(tB,nB,gB,"ȷ","ȷ"),eB(rB,nB,gB,"ı","\\i",!0),eB(rB,nB,gB,"ȷ","\\j",!0),eB(rB,nB,gB,"ß","\\ss",!0),eB(rB,nB,gB,"æ","\\ae",!0),eB(rB,nB,gB,"œ","\\oe",!0),eB(rB,nB,gB,"ø","\\o",!0),eB(rB,nB,gB,"Æ","\\AE",!0),eB(rB,nB,gB,"Œ","\\OE",!0),eB(rB,nB,gB,"Ø","\\O",!0),eB(rB,nB,iB,"ˊ","\\'"),eB(rB,nB,iB,"ˋ","\\`"),eB(rB,nB,iB,"ˆ","\\^"),eB(rB,nB,iB,"˜","\\~"),eB(rB,nB,iB,"ˉ","\\="),eB(rB,nB,iB,"˘","\\u"),eB(rB,nB,iB,"˙","\\."),eB(rB,nB,iB,"¸","\\c"),eB(rB,nB,iB,"˚","\\r"),eB(rB,nB,iB,"ˇ","\\v"),eB(rB,nB,iB,"¨",'\\"'),eB(rB,nB,iB,"˝","\\H"),eB(rB,nB,iB,"◯","\\textcircled");var mB={"--":!0,"---":!0,"``":!0,"''":!0};eB(rB,nB,gB,"–","--",!0),eB(rB,nB,gB,"–","\\textendash"),eB(rB,nB,gB,"—","---",!0),eB(rB,nB,gB,"—","\\textemdash"),eB(rB,nB,gB,"‘","`",!0),eB(rB,nB,gB,"‘","\\textquoteleft"),eB(rB,nB,gB,"’","'",!0),eB(rB,nB,gB,"’","\\textquoteright"),eB(rB,nB,gB,"“","``",!0),eB(rB,nB,gB,"“","\\textquotedblleft"),eB(rB,nB,gB,"”","''",!0),eB(rB,nB,gB,"”","\\textquotedblright"),eB(tB,nB,gB,"°","\\degree",!0),eB(rB,nB,gB,"°","\\degree"),eB(rB,nB,gB,"°","\\textdegree",!0),eB(tB,nB,gB,"£","\\pounds"),eB(tB,nB,gB,"£","\\mathsterling",!0),eB(rB,nB,gB,"£","\\pounds"),eB(rB,nB,gB,"£","\\textsterling",!0),eB(tB,oB,gB,"✠","\\maltese"),eB(rB,oB,gB,"✠","\\maltese");for(var vB='0123456789/@."',yB=0;yB<14;yB++){var bB=vB.charAt(yB);eB(tB,nB,gB,bB,bB)}for(var wB='0123456789!@*()-=+";:?/.,',EB=0;EB<25;EB++){var xB=wB.charAt(EB);eB(rB,nB,gB,xB,xB)}for(var CB="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",SB=0;SB<52;SB++){var DB=CB.charAt(SB);eB(tB,nB,uB,DB,DB),eB(rB,nB,gB,DB,DB)}eB(tB,oB,gB,"C","ℂ"),eB(rB,oB,gB,"C","ℂ"),eB(tB,oB,gB,"H","ℍ"),eB(rB,oB,gB,"H","ℍ"),eB(tB,oB,gB,"N","ℕ"),eB(rB,oB,gB,"N","ℕ"),eB(tB,oB,gB,"P","ℙ"),eB(rB,oB,gB,"P","ℙ"),eB(tB,oB,gB,"Q","ℚ"),eB(rB,oB,gB,"Q","ℚ"),eB(tB,oB,gB,"R","ℝ"),eB(rB,oB,gB,"R","ℝ"),eB(tB,oB,gB,"Z","ℤ"),eB(rB,oB,gB,"Z","ℤ"),eB(tB,nB,uB,"h","ℎ"),eB(rB,nB,uB,"h","ℎ");for(var AB="",kB=0;kB<52;kB++){var TB=CB.charAt(kB);eB(tB,nB,uB,TB,AB=String.fromCharCode(55349,56320+kB)),eB(rB,nB,gB,TB,AB),eB(tB,nB,uB,TB,AB=String.fromCharCode(55349,56372+kB)),eB(rB,nB,gB,TB,AB),eB(tB,nB,uB,TB,AB=String.fromCharCode(55349,56424+kB)),eB(rB,nB,gB,TB,AB),eB(tB,nB,uB,TB,AB=String.fromCharCode(55349,56580+kB)),eB(rB,nB,gB,TB,AB),eB(tB,nB,uB,TB,AB=String.fromCharCode(55349,56684+kB)),eB(rB,nB,gB,TB,AB),eB(tB,nB,uB,TB,AB=String.fromCharCode(55349,56736+kB)),eB(rB,nB,gB,TB,AB),eB(tB,nB,uB,TB,AB=String.fromCharCode(55349,56788+kB)),eB(rB,nB,gB,TB,AB),eB(tB,nB,uB,TB,AB=String.fromCharCode(55349,56840+kB)),eB(rB,nB,gB,TB,AB),eB(tB,nB,uB,TB,AB=String.fromCharCode(55349,56944+kB)),eB(rB,nB,gB,TB,AB),kB<26&&(eB(tB,nB,uB,TB,AB=String.fromCharCode(55349,56632+kB)),eB(rB,nB,gB,TB,AB),eB(tB,nB,uB,TB,AB=String.fromCharCode(55349,56476+kB)),eB(rB,nB,gB,TB,AB))}eB(tB,nB,uB,"k",AB=String.fromCharCode(55349,56668)),eB(rB,nB,gB,"k",AB);for(var NB=0;NB<10;NB++){var OB=NB.toString();eB(tB,nB,uB,OB,AB=String.fromCharCode(55349,57294+NB)),eB(rB,nB,gB,OB,AB),eB(tB,nB,uB,OB,AB=String.fromCharCode(55349,57314+NB)),eB(rB,nB,gB,OB,AB),eB(tB,nB,uB,OB,AB=String.fromCharCode(55349,57324+NB)),eB(rB,nB,gB,OB,AB),eB(tB,nB,uB,OB,AB=String.fromCharCode(55349,57334+NB)),eB(rB,nB,gB,OB,AB)}for(var BB="ÐÞþ",FB=0;FB<3;FB++){var MB=BB.charAt(FB);eB(tB,nB,uB,MB,MB),eB(rB,nB,gB,MB,MB)}var IB=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],PB=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],RB=function(e,t,r){return QO[r][e]&&QO[r][e].replace&&(e=QO[r][e].replace),{value:e,metrics:AO(e,t,r)}},LB=function(e,t,r,n,o){var i,a=RB(e,t,r),s=a.metrics;if(e=a.value,s){var l=s.italic;("text"===r||n&&"mathit"===n.font)&&(l=0),i=new GO(e,s.height,s.depth,l,s.skew,s.width,o)}else"undefined"!=typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"' and mode '"+r+"'"),i=new GO(e,0,0,0,0,0,o);if(n){i.maxFontSize=n.sizeMultiplier,n.style.isTight()&&i.classes.push("mtight");var u=n.getColor();u&&(i.style.color=u)}return i},_B=(e,t)=>{if(LO(e.classes)!==LO(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(1===e.classes.length){var r=e.classes[0];if("mbin"===r||"mord"===r)return!1}for(var n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(var o in t.style)if(t.style.hasOwnProperty(o)&&e.style[o]!==t.style[o])return!1;return!0},zB=function(e){for(var t=0,r=0,n=0,o=0;o<e.children.length;o++){var i=e.children[o];i.height>t&&(t=i.height),i.depth>r&&(r=i.depth),i.maxFontSize>n&&(n=i.maxFontSize)}e.height=t,e.depth=r,e.maxFontSize=n},HB=function(e,t,r,n){var o=new VO(e,t,r,n);return zB(o),o},jB=(e,t,r,n)=>new VO(e,t,r,n),VB=function(e){var t=new xO(e);return zB(t),t},$B=function(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"===t?"Italic":"Regular")},UB={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"}},qB={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},GB={fontMap:UB,makeSymbol:LB,mathsym:function(e,t,r,n){return void 0===n&&(n=[]),"boldsymbol"===r.font&&RB(e,"Main-Bold",t).metrics?LB(e,"Main-Bold",t,r,n.concat(["mathbf"])):"\\"===e||"main"===QO[t][e].font?LB(e,"Main-Regular",t,r,n):LB(e,"AMS-Regular",t,r,n.concat(["amsrm"]))},makeSpan:HB,makeSvgSpan:jB,makeLineSpan:function(e,t,r){var n=HB([e],[],t);return n.height=Math.max(r||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),n.style.borderBottomWidth=RO(n.height),n.maxFontSize=1,n},makeAnchor:function(e,t,r,n){var o=new $O(e,t,r,n);return zB(o),o},makeFragment:VB,wrapFragment:function(e,t){return e instanceof xO?HB([],[e],t):e},makeVList: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,o=n,i=1;i<t.length;i++){var a=-t[i].shift-o-t[i].elem.depth,s=a-(t[i-1].elem.height+t[i-1].elem.depth);o+=a,r.push({type:"kern",size:s}),r.push(t[i])}return{children:r,depth:n}}var l;if("top"===e.positionType){for(var u=e.positionData,c=0;c<e.children.length;c++){var d=e.children[c];u-="kern"===d.type?d.size:d.elem.height+d.elem.depth}l=u}else if("bottom"===e.positionType)l=-e.positionData;else{var h=e.children[0];if("elem"!==h.type)throw new Error('First child must have type "elem".');if("shift"===e.positionType)l=-h.elem.depth-e.positionData;else{if("firstBaseline"!==e.positionType)throw new Error("Invalid positionType "+e.positionType+".");l=-h.elem.depth}}return{children:e.children,depth:l}}(e),o=0,i=0;i<r.length;i++){var a=r[i];if("elem"===a.type){var s=a.elem;o=Math.max(o,s.maxFontSize,s.height)}}o+=2;var l=HB(["pstrut"],[]);l.style.height=RO(o);for(var u=[],c=n,d=n,h=n,p=0;p<r.length;p++){var f=r[p];if("kern"===f.type)h+=f.size;else{var g=f.elem,m=f.wrapperClasses||[],v=f.wrapperStyle||{},y=HB(m,[l,g],void 0,v);y.style.top=RO(-o-h-g.depth),f.marginLeft&&(y.style.marginLeft=f.marginLeft),f.marginRight&&(y.style.marginRight=f.marginRight),u.push(y),h+=g.height+g.depth}c=Math.min(c,h),d=Math.max(d,h)}var b,w=HB(["vlist"],u);if(w.style.height=RO(d),c<0){var E=HB([],[]),x=HB(["vlist"],[E]);x.style.height=RO(-c);var C=HB(["vlist-s"],[new GO("​")]);b=[HB(["vlist-r"],[w,C]),HB(["vlist-r"],[x])]}else b=[HB(["vlist-r"],[w])];var S=HB(["vlist-t"],b);return 2===b.length&&S.classes.push("vlist-t2"),S.height=d,S.depth=-c,S},makeOrd:function(e,t,r){var n=e.mode,o=e.text,i=["mord"],a="math"===n||"text"===n&&t.font,s=a?t.font:t.fontFamily,l="",u="";if(55349===o.charCodeAt(0)&&([l,u]=function(e,t){var r=1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536,n="math"===t?0:1;if(119808<=r&&r<120484){var o=Math.floor((r-119808)/26);return[IB[o][2],IB[o][n]]}if(120782<=r&&r<=120831){var i=Math.floor((r-120782)/10);return[PB[i][2],PB[i][n]]}if(120485===r||120486===r)return[IB[0][2],IB[0][n]];if(120486<r&&r<120782)return["",""];throw new QN("Unsupported character: "+e)}(o,n)),l.length>0)return LB(o,l,n,t,i.concat(u));if(s){var c,d;if("boldsymbol"===s){var h=function(e,t,r,n,o){return"textord"!==o&&RB(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}}(o,n,0,0,r);c=h.fontName,d=[h.fontClass]}else a?(c=UB[s].fontName,d=[s]):(c=$B(s,t.fontWeight,t.fontShape),d=[s,t.fontWeight,t.fontShape]);if(RB(o,c,n).metrics)return LB(o,c,n,t,i.concat(d));if(mB.hasOwnProperty(o)&&"Typewriter"===c.slice(0,10)){for(var p=[],f=0;f<o.length;f++)p.push(LB(o[f],c,n,t,i.concat(d)));return VB(p)}}if("mathord"===r)return LB(o,"Math-Italic",n,t,i.concat(["mathnormal"]));if("textord"===r){var g=QO[n][o]&&QO[n][o].font;if("ams"===g){var m=$B("amsrm",t.fontWeight,t.fontShape);return LB(o,m,n,t,i.concat("amsrm",t.fontWeight,t.fontShape))}if("main"!==g&&g){var v=$B(g,t.fontWeight,t.fontShape);return LB(o,v,n,t,i.concat(v,t.fontWeight,t.fontShape))}var y=$B("textrm",t.fontWeight,t.fontShape);return LB(o,y,n,t,i.concat(t.fontWeight,t.fontShape))}throw new Error("unexpected type: "+r+" in makeOrd")},makeGlue:(e,t)=>{var r=HB(["mspace"],[],t),n=PO(e,t);return r.style.marginRight=RO(n),r},staticSvg:function(e,t){var[r,n,o]=qB[e],i=new YO(r),a=new WO([i],{width:RO(n),height:RO(o),style:"width:"+RO(n),viewBox:"0 0 "+1e3*n+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),s=jB(["overlay"],[a],t);return s.height=o,s.style.height=RO(o),s.style.width=RO(n),s},svgData:qB,tryCombineChars:e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof GO&&n instanceof GO&&_B(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}},WB={number:3,unit:"mu"},YB={number:4,unit:"mu"},KB={number:5,unit:"mu"},XB={mord:{mop:WB,mbin:YB,mrel:KB,minner:WB},mop:{mord:WB,mop:WB,mrel:KB,minner:WB},mbin:{mord:YB,mop:YB,mopen:YB,minner:YB},mrel:{mord:KB,mop:KB,mopen:KB,minner:KB},mopen:{},mclose:{mop:WB,mbin:YB,mrel:KB,minner:WB},mpunct:{mord:WB,mop:WB,mrel:KB,mopen:WB,mclose:WB,mpunct:WB,minner:WB},minner:{mord:WB,mop:WB,mbin:YB,mrel:KB,mopen:WB,mpunct:WB,minner:WB}},ZB={mord:{mop:WB},mop:{mord:WB,mop:WB},mbin:{},mrel:{},mopen:{},mclose:{mop:WB},mpunct:{},minner:{mop:WB}},JB={},QB={},eF={};function tF(e){for(var{type:t,names:r,props:n,handler:o,htmlBuilder:i,mathmlBuilder:a}=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:o},l=0;l<r.length;++l)JB[r[l]]=s;t&&(i&&(QB[t]=i),a&&(eF[t]=a))}function rF(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;tF({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var nF=function(e){return"ordgroup"===e.type&&1===e.body.length?e.body[0]:e},oF=function(e){return"ordgroup"===e.type?e.body:[e]},iF=GB.makeSpan,aF=["leftmost","mbin","mopen","mrel","mop","mpunct"],sF=["rightmost","mrel","mclose","mpunct"],lF={display:mO.DISPLAY,text:mO.TEXT,script:mO.SCRIPT,scriptscript:mO.SCRIPTSCRIPT},uF={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},cF=function(e,t,r,n){void 0===n&&(n=[null,null]);for(var o=[],i=0;i<e.length;i++){var a=mF(e[i],t);if(a instanceof xO){var s=a.children;o.push(...s)}else o.push(a)}if(GB.tryCombineChars(o),!r)return o;var l=t;if(1===e.length){var u=e[0];"sizing"===u.type?l=t.havingSize(u.size):"styling"===u.type&&(l=t.havingStyle(lF[u.style]))}var c=iF([n[0]||"leftmost"],[],t),d=iF([n[1]||"rightmost"],[],t),h="root"===r;return dF(o,(e,t)=>{var r=t.classes[0],n=e.classes[0];"mbin"===r&&sF.includes(n)?t.classes[0]="mord":"mbin"===n&&aF.includes(r)&&(e.classes[0]="mord")},{node:c},d,h),dF(o,(e,t)=>{var r=fF(t),n=fF(e),o=r&&n?e.hasClass("mtight")?ZB[r][n]:XB[r][n]:null;if(o)return GB.makeGlue(o,l)},{node:c},d,h),o},dF=function e(t,r,n,o,i){o&&t.push(o);for(var a=0;a<t.length;a++){var s=t[a],l=hF(s);if(l)e(l.children,r,n,null,i);else{var u=!s.hasClass("mspace");if(u){var c=r(s,n.node);c&&(n.insertAfter?n.insertAfter(c):(t.unshift(c),a++))}u?n.node=s:i&&s.hasClass("newline")&&(n.node=iF(["leftmost"])),n.insertAfter=(e=>r=>{t.splice(e+1,0,r),a++})(a)}}o&&t.pop()},hF=function(e){return e instanceof xO||e instanceof $O||e instanceof VO&&e.hasClass("enclosing")?e:null},pF=function e(t,r){var n=hF(t);if(n){var o=n.children;if(o.length){if("right"===r)return e(o[o.length-1],"right");if("left"===r)return e(o[0],"left")}}return t},fF=function(e,t){return e?(t&&(e=pF(e,t)),uF[e.classes[0]]||null):null},gF=function(e,t){var r=["nulldelimiter"].concat(e.baseSizingClasses());return iF(t.concat(r))},mF=function(e,t,r){if(!e)return iF();if(QB[e.type]){var n=QB[e.type](e,t);if(r&&t.size!==r.size){n=iF(t.sizingClasses(r),[n],t);var o=t.sizeMultiplier/r.sizeMultiplier;n.height*=o,n.depth*=o}return n}throw new QN("Got group of unknown type: '"+e.type+"'")};function vF(e,t){var r=iF(["base"],e,t),n=iF(["strut"]);return n.style.height=RO(r.height+r.depth),r.depth&&(n.style.verticalAlign=RO(-r.depth)),r.children.unshift(n),r}function yF(e,t){var r=null;1===e.length&&"tag"===e[0].type&&(r=e[0].tag,e=e[0].body);var n,o=cF(e,t,"root");2===o.length&&o[1].hasClass("tag")&&(n=o.pop());for(var i,a=[],s=[],l=0;l<o.length;l++)if(s.push(o[l]),o[l].hasClass("mbin")||o[l].hasClass("mrel")||o[l].hasClass("allowbreak")){for(var u=!1;l<o.length-1&&o[l+1].hasClass("mspace")&&!o[l+1].hasClass("newline");)l++,s.push(o[l]),o[l].hasClass("nobreak")&&(u=!0);u||(a.push(vF(s,t)),s=[])}else o[l].hasClass("newline")&&(s.pop(),s.length>0&&(a.push(vF(s,t)),s=[]),a.push(o[l]));s.length>0&&a.push(vF(s,t)),r?((i=vF(cF(r,t,!0))).classes=["tag"],a.push(i)):n&&a.push(n);var c=iF(["katex-html"],a);if(c.setAttribute("aria-hidden","true"),i){var d=i.children[0];d.style.height=RO(c.height+c.depth),c.depth&&(d.style.verticalAlign=RO(-c.depth))}return c}function bF(e){return new xO(e)}class wF{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=LO(this.classes));for(var r=0;r<this.children.length;r++)if(this.children[r]instanceof EF&&this.children[r+1]instanceof EF){for(var n=this.children[r].toText()+this.children[++r].toText();this.children[r+1]instanceof EF;)n+=this.children[++r].toText();e.appendChild(new EF(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+=oO.escape(this.attributes[t]),e+='"');this.classes.length>0&&(e+=' class ="'+oO.escape(LO(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 EF{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return oO.escape(this.toText())}toText(){return this.text}}var xF={MathNode:wF,TextNode:EF,SpaceNode:class{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",RO(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+RO(this.width)+'"/>'}toText(){return this.character?this.character:" "}},newDocumentFragment:bF},CF=function(e,t,r){return!QO[t][e]||!QO[t][e].replace||55349===e.charCodeAt(0)||mB.hasOwnProperty(e)&&r&&(r.fontFamily&&"tt"===r.fontFamily.slice(4,6)||r.font&&"tt"===r.font.slice(4,6))||(e=QO[t][e].replace),new xF.TextNode(e)},SF=function(e){return 1===e.length?e[0]:new xF.MathNode("mrow",e)},DF=function(e,t){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;if("mathit"===r)return"italic";if("boldsymbol"===r)return"textord"===e.type?"bold":"bold-italic";if("mathbf"===r)return"bold";if("mathbb"===r)return"double-struck";if("mathsfit"===r)return"sans-serif-italic";if("mathfrak"===r)return"fraktur";if("mathscr"===r||"mathcal"===r)return"script";if("mathsf"===r)return"sans-serif";if("mathtt"===r)return"monospace";var o=e.text;return["\\imath","\\jmath"].includes(o)?null:(QO[n][o]&&QO[n][o].replace&&(o=QO[n][o].replace),AO(o,GB.fontMap[r].fontName,n)?GB.fontMap[r].variant:null)};function AF(e){if(!e)return!1;if("mi"===e.type&&1===e.children.length){var t=e.children[0];return t instanceof EF&&"."===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 EF&&","===r.text}return!1}var kF=function(e,t,r){if(1===e.length){var n=NF(e[0],t);return r&&n instanceof wF&&"mo"===n.type&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var o,i=[],a=0;a<e.length;a++){var s=NF(e[a],t);if(s instanceof wF&&o instanceof wF){if("mtext"===s.type&&"mtext"===o.type&&s.getAttribute("mathvariant")===o.getAttribute("mathvariant")){o.children.push(...s.children);continue}if("mn"===s.type&&"mn"===o.type){o.children.push(...s.children);continue}if(AF(s)&&"mn"===o.type){o.children.push(...s.children);continue}if("mn"===s.type&&AF(o))s.children=[...o.children,...s.children],i.pop();else if(("msup"===s.type||"msub"===s.type)&&s.children.length>=1&&("mn"===o.type||AF(o))){var l=s.children[0];l instanceof wF&&"mn"===l.type&&(l.children=[...o.children,...l.children],i.pop())}else if("mi"===o.type&&1===o.children.length){var u=o.children[0];if(u instanceof EF&&"̸"===u.text&&("mo"===s.type||"mi"===s.type||"mn"===s.type)){var c=s.children[0];c instanceof EF&&c.text.length>0&&(c.text=c.text.slice(0,1)+"̸"+c.text.slice(1),i.pop())}}}i.push(s),o=s}return i},TF=function(e,t,r){return SF(kF(e,t,r))},NF=function(e,t){if(!e)return new xF.MathNode("mrow");if(eF[e.type])return eF[e.type](e,t);throw new QN("Got group of unknown type: '"+e.type+"'")};function OF(e,t,r,n,o){var i,a=kF(e,r);i=1===a.length&&a[0]instanceof wF&&["mrow","mtable"].includes(a[0].type)?a[0]:new xF.MathNode("mrow",a);var s=new xF.MathNode("annotation",[new xF.TextNode(t)]);s.setAttribute("encoding","application/x-tex");var l=new xF.MathNode("semantics",[i,s]),u=new xF.MathNode("math",[l]);u.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&u.setAttribute("display","block");var c=o?"katex":"katex-mathml";return GB.makeSpan([c],[u])}var BF=function(e){return new BO({style:e.displayMode?mO.DISPLAY:mO.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},FF=function(e,t){if(t.displayMode){var r=["katex-display"];t.leqno&&r.push("leqno"),t.fleqn&&r.push("fleqn"),e=GB.makeSpan(r,[e])}return e},MF={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},IF={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},PF=function(e,t,r,n,o){var i,a=e.height+e.depth+r+n;if(/fbox|color|angl/.test(t)){if(i=GB.makeSpan(["stretchy",t],[],o),"fbox"===t){var s=o.color&&o.getColor();s&&(i.style.borderColor=s)}}else{var l=[];/^[bx]cancel$/.test(t)&&l.push(new KO({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&l.push(new KO({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var u=new WO(l,{width:"100%",height:RO(a)});i=GB.makeSvgSpan([],[u],o)}return i.height=a,i.style.height=RO(a),i},RF=function(e){var t=new xF.MathNode("mo",[new xF.TextNode(MF[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},LF=function(e,t){var{span:r,minWidth:n,height:o}=function(){var r=4e5,n=e.label.slice(1);if(["widehat","widecheck","widetilde","utilde"].includes(n)){var o,i,a,s="ordgroup"===(p=e.base).type?p.body.length:1;if(s>5)"widehat"===n||"widecheck"===n?(o=420,r=2364,a=.42,i=n+"4"):(o=312,r=2340,a=.34,i="tilde4");else{var l=[1,1,2,2,3,3][s];"widehat"===n||"widecheck"===n?(r=[0,1062,2364,2364,2364][l],o=[0,239,300,360,420][l],a=[0,.24,.3,.3,.36,.42][l],i=n+l):(r=[0,600,1033,2339,2340][l],o=[0,260,286,306,312][l],a=[0,.26,.286,.3,.306,.34][l],i="tilde"+l)}var u=new YO(i),c=new WO([u],{width:"100%",height:RO(a),viewBox:"0 0 "+r+" "+o,preserveAspectRatio:"none"});return{span:GB.makeSvgSpan([],[c],t),minWidth:0,height:a}}var d,h,p,f=[],g=IF[n],[m,v,y]=g,b=y/1e3,w=m.length;if(1===w)d=["hide-tail"],h=[g[3]];else if(2===w)d=["halfarrow-left","halfarrow-right"],h=["xMinYMin","xMaxYMin"];else{if(3!==w)throw new Error("Correct katexImagesData or update code here to support\n "+w+" children.");d=["brace-left","brace-center","brace-right"],h=["xMinYMin","xMidYMin","xMaxYMin"]}for(var E=0;E<w;E++){var x=new YO(m[E]),C=new WO([x],{width:"400em",height:RO(b),viewBox:"0 0 "+r+" "+y,preserveAspectRatio:h[E]+" slice"}),S=GB.makeSvgSpan([d[E]],[C],t);if(1===w)return{span:S,minWidth:v,height:b};S.style.height=RO(b),f.push(S)}return{span:GB.makeSpan(["stretchy"],f,t),minWidth:v,height:b}}();return r.height=o,r.style.height=RO(o),n>0&&(r.style.minWidth=RO(n)),r};function _F(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 zF(e){var t=HF(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 HF(e){return e&&("atom"===e.type||JO.hasOwnProperty(e.type))?e:null}var jF=(e,t)=>{var r,n,o;e&&"supsub"===e.type?(r=(n=_F(e.base,"accent")).base,e.base=r,o=function(e){if(e instanceof VO)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}(mF(e,t)),e.base=n):r=(n=_F(e,"accent")).base;var i=mF(r,t.havingCrampedStyle()),a=0;if(n.isShifty&&oO.isCharacterBox(r)){var s=oO.getBaseElem(r);a=XO(mF(s,t.havingCrampedStyle())).skew}var l,u="\\c"===n.label,c=u?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight);if(n.isStretchy)l=LF(n,t),l=GB.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:l,wrapperClasses:["svg-align"],wrapperStyle:a>0?{width:"calc(100% - "+RO(2*a)+")",marginLeft:RO(2*a)}:void 0}]},t);else{var d,h;"\\vec"===n.label?(d=GB.staticSvg("vec",t),h=GB.svgData.vec[1]):((d=XO(d=GB.makeOrd({mode:n.mode,text:n.label},t,"textord"))).italic=0,h=d.width,u&&(c+=d.depth)),l=GB.makeSpan(["accent-body"],[d]);var p="\\textcircled"===n.label;p&&(l.classes.push("accent-full"),c=i.height);var f=a;p||(f-=h/2),l.style.left=RO(f),"\\textcircled"===n.label&&(l.style.top=".2em"),l=GB.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-c},{type:"elem",elem:l}]},t)}var g=GB.makeSpan(["mord","accent"],[l],t);return o?(o.children[0]=g,o.height=Math.max(g.height,o.height),o.classes[0]="mord",o):g},VF=(e,t)=>{var r=e.isStretchy?RF(e.label):new xF.MathNode("mo",[CF(e.label,e.mode)]),n=new xF.MathNode("mover",[NF(e.base,t),r]);return n.setAttribute("accent","true"),n},$F=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));tF({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=nF(t[0]),n=!$F.test(e.funcName),o=!n||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:o,base:r}},htmlBuilder:jF,mathmlBuilder:VF}),tF({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:jF,mathmlBuilder:VF}),tF({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,o=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:o}},htmlBuilder:(e,t)=>{var r=mF(e.base,t),n=LF(e,t),o="\\utilde"===e.label?.12:0,i=GB.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:o},{type:"elem",elem:r}]},t);return GB.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var r=RF(e.label),n=new xF.MathNode("munder",[NF(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var UF=e=>{var t=new xF.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};tF({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:o}=e;return{type:"xArrow",mode:n.mode,label:o,body:t[0],below:r[0]}},htmlBuilder(e,t){var r,n=t.style,o=t.havingStyle(n.sup()),i=GB.wrapFragment(mF(e.body,o,t),t),a="\\x"===e.label.slice(0,2)?"x":"cd";i.classes.push(a+"-arrow-pad"),e.below&&(o=t.havingStyle(n.sub()),(r=GB.wrapFragment(mF(e.below,o,t),t)).classes.push(a+"-arrow-pad"));var s,l=LF(e,t),u=-t.fontMetrics().axisHeight+.5*l.height,c=-t.fontMetrics().axisHeight-.5*l.height-.111;if((i.depth>.25||"\\xleftequilibrium"===e.label)&&(c-=i.depth),r){var d=-t.fontMetrics().axisHeight+r.height+.5*l.height+.111;s=GB.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{type:"elem",elem:l,shift:u},{type:"elem",elem:r,shift:d}]},t)}else s=GB.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{type:"elem",elem:l,shift:u}]},t);return s.children[0].children[0].children[1].classes.push("svg-align"),GB.makeSpan(["mrel","x-arrow"],[s],t)},mathmlBuilder(e,t){var r,n=RF(e.label);if(n.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){var o=UF(NF(e.body,t));if(e.below){var i=UF(NF(e.below,t));r=new xF.MathNode("munderover",[n,i,o])}else r=new xF.MathNode("mover",[n,o])}else if(e.below){var a=UF(NF(e.below,t));r=new xF.MathNode("munder",[n,a])}else r=UF(),r=new xF.MathNode("mover",[n,r]);return r}});var qF=GB.makeSpan;function GF(e,t){var r=cF(e.body,t,!0);return qF([e.mclass],r,t)}function WF(e,t){var r,n=kF(e.body,t);return"minner"===e.mclass?r=new xF.MathNode("mpadded",n):"mord"===e.mclass?e.isCharacterBox?(r=n[0]).type="mi":r=new xF.MathNode("mi",n):(e.isCharacterBox?(r=n[0]).type="mo":r=new xF.MathNode("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}tF({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:n}=e,o=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:oF(o),isCharacterBox:oO.isCharacterBox(o)}},htmlBuilder:GF,mathmlBuilder:WF});var YF=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};tF({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:YF(t[0]),body:oF(t[1]),isCharacterBox:oO.isCharacterBox(t[1])}}}),tF({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var r,{parser:n,funcName:o}=e,i=t[1],a=t[0];r="\\stackrel"!==o?YF(i):"mrel";var s={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==o,body:oF(i)},l={type:"supsub",mode:a.mode,base:s,sup:"\\underset"===o?null:a,sub:"\\underset"===o?a:null};return{type:"mclass",mode:n.mode,mclass:r,body:[l],isCharacterBox:oO.isCharacterBox(l)}},htmlBuilder:GF,mathmlBuilder:WF}),tF({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:YF(t[0]),body:oF(t[0])}},htmlBuilder(e,t){var r=cF(e.body,t,!0),n=GB.makeSpan([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=kF(e.body,t),n=new xF.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var KF={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},XF=()=>({type:"styling",body:[],mode:"math",style:"display"}),ZF=e=>"textord"===e.type&&"@"===e.text,JF=(e,t)=>("mathord"===e.type||"atom"===e.type)&&e.text===t;function QF(e,t,r){var n=KF[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":var o={type:"atom",text:n,mode:"math",family:"rel"},i={type:"ordgroup",mode:"math",body:[r.callFunction("\\\\cdleft",[t[0]],[]),r.callFunction("\\Big",[o],[]),r.callFunction("\\\\cdright",[t[1]],[])]};return r.callFunction("\\\\cdparent",[i],[]);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"}}}tF({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=GB.wrapFragment(mF(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=RO(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new xF.MathNode("mrow",[NF(e.label,t)]);return(r=new xF.MathNode("mpadded",[r])).setAttribute("width","0"),"left"===e.side&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),(r=new xF.MathNode("mstyle",[r])).setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),tF({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=GB.wrapFragment(mF(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder:(e,t)=>new xF.MathNode("mrow",[NF(e.fragment,t)])}),tF({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=_F(t[0],"ordgroup").body,o="",i=0;i<n.length;i++){o+=_F(n[i],"textord").text}var a,s=parseInt(o);if(isNaN(s))throw new QN("\\@char has non-numeric argument "+o);if(s<0||s>=1114111)throw new QN("\\@char with invalid code point "+o);return s<=65535?a=String.fromCharCode(s):(s-=65536,a=String.fromCharCode(55296+(s>>10),56320+(1023&s))),{type:"textord",mode:r.mode,text:a}}});var eM=(e,t)=>{var r=cF(e.body,t.withColor(e.color),!1);return GB.makeFragment(r)},tM=(e,t)=>{var r=kF(e.body,t.withColor(e.color)),n=new xF.MathNode("mstyle",r);return n.setAttribute("mathcolor",e.color),n};tF({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=_F(t[0],"color-token").color,o=t[1];return{type:"color",mode:r.mode,color:n,body:oF(o)}},htmlBuilder:eM,mathmlBuilder:tM}),tF({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,o=_F(t[0],"color-token").color;r.gullet.macros.set("\\current@color",o);var i=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:o,body:i}},htmlBuilder:eM,mathmlBuilder:tM}),tF({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:n}=e,o="["===n.gullet.future().text?n.parseSizeGroup(!0):null,i=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:i,size:o&&_F(o,"size").value}},htmlBuilder(e,t){var r=GB.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=RO(PO(e.size,t)))),r},mathmlBuilder(e,t){var r=new xF.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",RO(PO(e.size,t)))),r}});var rM={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},nM=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new QN("Expected a control sequence",e);return t},oM=(e,t,r,n)=>{var o=e.gullet.macros.get(r.text);null==o&&(r.noexpand=!0,o={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,o,n)};tF({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(rM[n.text])return"\\global"!==r&&"\\\\globallong"!==r||(n.text=rM[n.text]),_F(t.parseFunction(),"internal");throw new QN("Invalid token after macro prefix",n)}}),tF({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(),o=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(o))throw new QN("Expected a control sequence",n);for(var i,a=0,s=[[]];"{"!==t.gullet.future().text;)if("#"===(n=t.gullet.popToken()).text){if("{"===t.gullet.future().text){i=t.gullet.future(),s[a].push("{");break}if(n=t.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new QN('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==a+1)throw new QN('Argument number "'+n.text+'" out of order');a++,s.push([])}else{if("EOF"===n.text)throw new QN("Expected a macro definition");s[a].push(n.text)}var{tokens:l}=t.gullet.consumeArg();return i&&l.unshift(i),"\\edef"!==r&&"\\xdef"!==r||(l=t.gullet.expandTokens(l)).reverse(),t.gullet.macros.set(o,{tokens:l,numArgs:a,delimiters:s},r===rM[r]),{type:"internal",mode:t.mode}}}),tF({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=nM(t.gullet.popToken());t.gullet.consumeSpaces();var o=(e=>{var t=e.gullet.popToken();return"="===t.text&&" "===(t=e.gullet.popToken()).text&&(t=e.gullet.popToken()),t})(t);return oM(t,n,o,"\\\\globallet"===r),{type:"internal",mode:t.mode}}}),tF({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=nM(t.gullet.popToken()),o=t.gullet.popToken(),i=t.gullet.popToken();return oM(t,n,i,"\\\\globalfuture"===r),t.gullet.pushToken(i),t.gullet.pushToken(o),{type:"internal",mode:t.mode}}});var iM=function(e,t,r){var n=AO(QO.math[e]&&QO.math[e].replace||e,t,r);if(!n)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return n},aM=function(e,t,r,n){var o=r.havingBaseStyle(t),i=GB.makeSpan(n.concat(o.sizingClasses(r)),[e],r),a=o.sizeMultiplier/r.sizeMultiplier;return i.height*=a,i.depth*=a,i.maxFontSize=o.sizeMultiplier,i},sM=function(e,t,r){var n=t.havingBaseStyle(r),o=(1-t.sizeMultiplier/n.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=RO(o),e.height-=o,e.depth+=o},lM=function(e,t,r,n,o,i){var a=function(e,t,r,n){return GB.makeSymbol(e,"Size"+t+"-Regular",r,n)}(e,t,o,n),s=aM(GB.makeSpan(["delimsizing","size"+t],[a],n),mO.TEXT,n,i);return r&&sM(s,n,mO.TEXT),s},uM=function(e,t,r){var n;return n="Size1-Regular"===t?"delim-size1":"delim-size4",{type:"elem",elem:GB.makeSpan(["delimsizinginner",n],[GB.makeSpan([],[GB.makeSymbol(e,t,r)])])}},cM=function(e,t,r){var n=CO["Size4-Regular"][e.charCodeAt(0)]?CO["Size4-Regular"][e.charCodeAt(0)][4]:CO["Size1-Regular"][e.charCodeAt(0)][4],o=new YO("inner",function(e,t){switch(e){case"⎜":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"∣":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"∥":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145zM367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z";case"⎟":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"⎢":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"⎥":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"⎪":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"⏐":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"‖":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257zM478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z";default:return""}}(e,Math.round(1e3*t))),i=new WO([o],{width:RO(n),height:RO(t),style:"width:"+RO(n),viewBox:"0 0 "+1e3*n+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),a=GB.makeSvgSpan([],[i],r);return a.height=t,a.style.height=RO(t),a.style.width=RO(n),{type:"elem",elem:a}},dM={type:"kern",size:-.008},hM=["|","\\lvert","\\rvert","\\vert"],pM=["\\|","\\lVert","\\rVert","\\Vert"],fM=function(e,t,r,n,o,i){var a,s,l,u,c="",d=0;a=l=u=e,s=null;var h="Size1-Regular";"\\uparrow"===e?l=u="⏐":"\\Uparrow"===e?l=u="‖":"\\downarrow"===e?a=l="⏐":"\\Downarrow"===e?a=l="‖":"\\updownarrow"===e?(a="\\uparrow",l="⏐",u="\\downarrow"):"\\Updownarrow"===e?(a="\\Uparrow",l="‖",u="\\Downarrow"):hM.includes(e)?(l="∣",c="vert",d=333):pM.includes(e)?(l="∥",c="doublevert",d=556):"["===e||"\\lbrack"===e?(a="⎡",l="⎢",u="⎣",h="Size4-Regular",c="lbrack",d=667):"]"===e||"\\rbrack"===e?(a="⎤",l="⎥",u="⎦",h="Size4-Regular",c="rbrack",d=667):"\\lfloor"===e||"⌊"===e?(l=a="⎢",u="⎣",h="Size4-Regular",c="lfloor",d=667):"\\lceil"===e||"⌈"===e?(a="⎡",l=u="⎢",h="Size4-Regular",c="lceil",d=667):"\\rfloor"===e||"⌋"===e?(l=a="⎥",u="⎦",h="Size4-Regular",c="rfloor",d=667):"\\rceil"===e||"⌉"===e?(a="⎤",l=u="⎥",h="Size4-Regular",c="rceil",d=667):"("===e||"\\lparen"===e?(a="⎛",l="⎜",u="⎝",h="Size4-Regular",c="lparen",d=875):")"===e||"\\rparen"===e?(a="⎞",l="⎟",u="⎠",h="Size4-Regular",c="rparen",d=875):"\\{"===e||"\\lbrace"===e?(a="⎧",s="⎨",u="⎩",l="⎪",h="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(a="⎫",s="⎬",u="⎭",l="⎪",h="Size4-Regular"):"\\lgroup"===e||"⟮"===e?(a="⎧",u="⎩",l="⎪",h="Size4-Regular"):"\\rgroup"===e||"⟯"===e?(a="⎫",u="⎭",l="⎪",h="Size4-Regular"):"\\lmoustache"===e||"⎰"===e?(a="⎧",u="⎭",l="⎪",h="Size4-Regular"):"\\rmoustache"!==e&&"⎱"!==e||(a="⎫",u="⎩",l="⎪",h="Size4-Regular");var p=iM(a,h,o),f=p.height+p.depth,g=iM(l,h,o),m=g.height+g.depth,v=iM(u,h,o),y=v.height+v.depth,b=0,w=1;if(null!==s){var E=iM(s,h,o);b=E.height+E.depth,w=2}var x=f+y+b,C=x+Math.max(0,Math.ceil((t-x)/(w*m)))*w*m,S=n.fontMetrics().axisHeight;r&&(S*=n.sizeMultiplier);var D=C/2-S,A=[];if(c.length>0){var k=C-f-y,T=Math.round(1e3*C),N=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v1759 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z\nM367 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v602 h84z\nM403 1759 V0 H319 V1759 v"+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+t+" v602 h84z";case"lparen":return"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\n-36,557 l0,"+(t+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+(t+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z";case"rparen":return"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+(t+9)+"\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+(t+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z";default:throw new Error("Unknown stretchy delimiter.")}}(c,Math.round(1e3*k)),O=new YO(c,N),B=(d/1e3).toFixed(3)+"em",F=(T/1e3).toFixed(3)+"em",M=new WO([O],{width:B,height:F,viewBox:"0 0 "+d+" "+T}),I=GB.makeSvgSpan([],[M],n);I.height=T/1e3,I.style.width=B,I.style.height=F,A.push({type:"elem",elem:I})}else{if(A.push(uM(u,h,o)),A.push(dM),null===s){var P=C-f-y+.016;A.push(cM(l,P,n))}else{var R=(C-f-y-b)/2+.016;A.push(cM(l,R,n)),A.push(dM),A.push(uM(s,h,o)),A.push(dM),A.push(cM(l,R,n))}A.push(dM),A.push(uM(a,h,o))}var L=n.havingBaseStyle(mO.TEXT),_=GB.makeVList({positionType:"bottom",positionData:D,children:A},L);return aM(GB.makeSpan(["delimsizing","mult"],[_],L),mO.TEXT,n,i)},gM=.08,mM=function(e,t,r,n,o){var i=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,wO);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,wO);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,wO);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,wO);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,wO);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,wO,r)}return n}(e,n,r),a=new YO(e,i),s=new WO([a],{width:"400em",height:RO(t),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return GB.makeSvgSpan(["hide-tail"],[s],o)},vM=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],yM=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],bM=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],wM=[0,1.2,1.8,2.4,3],EM=[{type:"small",style:mO.SCRIPTSCRIPT},{type:"small",style:mO.SCRIPT},{type:"small",style:mO.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],xM=[{type:"small",style:mO.SCRIPTSCRIPT},{type:"small",style:mO.SCRIPT},{type:"small",style:mO.TEXT},{type:"stack"}],CM=[{type:"small",style:mO.SCRIPTSCRIPT},{type:"small",style:mO.SCRIPT},{type:"small",style:mO.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],SM=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";throw new Error("Add support for delim type '"+e.type+"' here.")},DM=function(e,t,r,n){for(var o=Math.min(2,3-n.style.size);o<r.length&&"stack"!==r[o].type;o++){var i=iM(e,SM(r[o]),"math"),a=i.height+i.depth;if("small"===r[o].type&&(a*=n.havingBaseStyle(r[o].style).sizeMultiplier),a>t)return r[o]}return r[r.length-1]},AM=function(e,t,r,n,o,i){var a;"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),a=bM.includes(e)?EM:vM.includes(e)?CM:xM;var s=DM(e,t,a,n);return"small"===s.type?function(e,t,r,n,o,i){var a=GB.makeSymbol(e,"Main-Regular",o,n),s=aM(a,t,n,i);return r&&sM(s,n,t),s}(e,s.style,r,n,o,i):"large"===s.type?lM(e,s.size,r,n,o,i):fM(e,t,r,n,o,i)},kM={sqrtImage:function(e,t){var r,n,o=t.havingBaseSizing(),i=DM("\\surd",e*o.sizeMultiplier,CM,o),a=o.sizeMultiplier,s=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),l=0,u=0,c=0;return"small"===i.type?(e<1?a=1:e<1.4&&(a=.7),u=(1+s)/a,(r=mM("sqrtMain",l=(1+s+gM)/a,c=1e3+1e3*s+80,s,t)).style.minWidth="0.853em",n=.833/a):"large"===i.type?(c=1080*wM[i.size],u=(wM[i.size]+s)/a,l=(wM[i.size]+s+gM)/a,(r=mM("sqrtSize"+i.size,l,c,s,t)).style.minWidth="1.02em",n=1/a):(l=e+s+gM,u=e+s,c=Math.floor(1e3*e+s)+80,(r=mM("sqrtTall",l,c,s,t)).style.minWidth="0.742em",n=1.056),r.height=u,r.style.height=RO(l),{span:r,advanceWidth:n,ruleWidth:(t.fontMetrics().sqrtRuleThickness+s)*a}},sizedDelim:function(e,t,r,n,o){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),vM.includes(e)||bM.includes(e))return lM(e,t,!1,r,n,o);if(yM.includes(e))return fM(e,wM[t],!1,r,n,o);throw new QN("Illegal delimiter: '"+e+"'")},sizeToMaxHeight:wM,customSizedDelim:AM,leftRightDelim:function(e,t,r,n,o,i){var a=n.fontMetrics().axisHeight*n.sizeMultiplier,s=5/n.fontMetrics().ptPerEm,l=Math.max(t-a,r+a),u=Math.max(l/500*901,2*l-s);return AM(e,u,!0,n,o,i)}},TM={"\\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}},NM=["(","\\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 OM(e,t){var r=HF(e);if(r&&NM.includes(r.text))return r;throw new QN(r?"Invalid delimiter '"+r.text+"' after '"+t.funcName+"'":"Invalid delimiter type '"+e.type+"'",e)}function BM(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}tF({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=OM(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:TM[e.funcName].size,mclass:TM[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>"."===e.delim?GB.makeSpan([e.mclass]):kM.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];"."!==e.delim&&t.push(CF(e.delim,e.mode));var r=new xF.MathNode("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=RO(kM.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}}),tF({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 QN("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:OM(t[0],e).text,color:r}}}),tF({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=OM(t[0],e),n=e.parser;++n.leftrightDepth;var o=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var i=_F(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:o,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{BM(e);for(var r,n,o=cF(e.body,t,!0,["mopen","mclose"]),i=0,a=0,s=!1,l=0;l<o.length;l++)o[l].isMiddle?s=!0:(i=Math.max(o[l].height,i),a=Math.max(o[l].depth,a));if(i*=t.sizeMultiplier,a*=t.sizeMultiplier,r="."===e.left?gF(t,["mopen"]):kM.leftRightDelim(e.left,i,a,t,e.mode,["mopen"]),o.unshift(r),s)for(var u=1;u<o.length;u++){var c=o[u].isMiddle;c&&(o[u]=kM.leftRightDelim(c.delim,i,a,c.options,e.mode,[]))}if("."===e.right)n=gF(t,["mclose"]);else{var d=e.rightColor?t.withColor(e.rightColor):t;n=kM.leftRightDelim(e.right,i,a,d,e.mode,["mclose"])}return o.push(n),GB.makeSpan(["minner"],o,t)},mathmlBuilder:(e,t)=>{BM(e);var r=kF(e.body,t);if("."!==e.left){var n=new xF.MathNode("mo",[CF(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if("."!==e.right){var o=new xF.MathNode("mo",[CF(e.right,e.mode)]);o.setAttribute("fence","true"),e.rightColor&&o.setAttribute("mathcolor",e.rightColor),r.push(o)}return SF(r)}}),tF({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=OM(t[0],e);if(!e.parser.leftrightDepth)throw new QN("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if("."===e.delim)r=gF(t,[]);else{r=kM.sizedDelim(e.delim,1,t,e.mode,[]);var n={delim:e.delim,options:t};r.isMiddle=n}return r},mathmlBuilder:(e,t)=>{var r="\\vert"===e.delim||"|"===e.delim?CF("|","text"):CF(e.delim,e.mode),n=new xF.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var FM=(e,t)=>{var r,n,o=GB.wrapFragment(mF(e.body,t),t),i=e.label.slice(1),a=t.sizeMultiplier,s=0,l=oO.isCharacterBox(e.body);if("sout"===i)(r=GB.makeSpan(["stretchy","sout"])).height=t.fontMetrics().defaultRuleThickness/a,s=-.5*t.fontMetrics().xHeight;else if("phase"===i){var u=PO({number:.6,unit:"pt"},t),c=PO({number:.35,unit:"ex"},t);a/=t.havingBaseSizing().sizeMultiplier;var d=o.height+o.depth+u+c;o.style.paddingLeft=RO(d/2+u);var h=Math.floor(1e3*d*a),p=function(e){return"M400000 "+e+" H0 L"+e/2+" 0 l65 45 L145 "+(e-80)+" H400000z"}(h),f=new WO([new YO("phase",p)],{width:"400em",height:RO(h/1e3),viewBox:"0 0 400000 "+h,preserveAspectRatio:"xMinYMin slice"});(r=GB.makeSvgSpan(["hide-tail"],[f],t)).style.height=RO(d),s=o.depth+u+c}else{/cancel/.test(i)?l||o.classes.push("cancel-pad"):"angl"===i?o.classes.push("anglpad"):o.classes.push("boxpad");var g=0,m=0,v=0;/box/.test(i)?(v=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),m=g=t.fontMetrics().fboxsep+("colorbox"===i?0:v)):"angl"===i?(g=4*(v=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness)),m=Math.max(0,.25-o.depth)):m=g=l?.2:0,r=PF(o,i,g,m,t),/fbox|boxed|fcolorbox/.test(i)?(r.style.borderStyle="solid",r.style.borderWidth=RO(v)):"angl"===i&&.049!==v&&(r.style.borderTopWidth=RO(v),r.style.borderRightWidth=RO(v)),s=o.depth+m,e.backgroundColor&&(r.style.backgroundColor=e.backgroundColor,e.borderColor&&(r.style.borderColor=e.borderColor))}if(e.backgroundColor)n=GB.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:s},{type:"elem",elem:o,shift:0}]},t);else{var y=/cancel|phase/.test(i)?["svg-align"]:[];n=GB.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:0},{type:"elem",elem:r,shift:s,wrapperClasses:y}]},t)}return/cancel/.test(i)&&(n.height=o.height,n.depth=o.depth),/cancel/.test(i)&&!l?GB.makeSpan(["mord","cancel-lap"],[n],t):GB.makeSpan(["mord"],[n],t)},MM=(e,t)=>{var r=0,n=new xF.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[NF(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 o=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+o+"em solid "+String(e.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};tF({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:n,funcName:o}=e,i=_F(t[0],"color-token").color,a=t[1];return{type:"enclose",mode:n.mode,label:o,backgroundColor:i,body:a}},htmlBuilder:FM,mathmlBuilder:MM}),tF({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:n,funcName:o}=e,i=_F(t[0],"color-token").color,a=_F(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:n.mode,label:o,backgroundColor:a,borderColor:i,body:s}},htmlBuilder:FM,mathmlBuilder:MM}),tF({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]}}}),tF({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e,o=t[0];return{type:"enclose",mode:r.mode,label:n,body:o}},htmlBuilder:FM,mathmlBuilder:MM}),tF({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 IM={};function PM(e){for(var{type:t,names:r,props:n,handler:o,htmlBuilder:i,mathmlBuilder:a}=e,s={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:o},l=0;l<r.length;++l)IM[r[l]]=s;i&&(QB[t]=i),a&&(eF[t]=a)}var RM={};function LM(e,t){RM[e]=t}function _M(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 zM=e=>{if(!e.parser.settings.displayMode)throw new QN("{"+e.envName+"} can be used only in display mode.")};function HM(e){if(-1===e.indexOf("ed"))return-1===e.indexOf("*")}function jM(e,t,r){var{hskipBeforeAndAfter:n,addJot:o,cols:i,arraystretch:a,colSeparationType:s,autoTag:l,singleRow:u,emptySingleRow:c,maxNumCols:d,leqno:h}=t;if(e.gullet.beginGroup(),u||e.gullet.macros.set("\\cr","\\\\\\relax"),!a){var p=e.gullet.expandMacroAsText("\\arraystretch");if(null==p)a=1;else if(!(a=parseFloat(p))||a<0)throw new QN("Invalid \\arraystretch: "+p)}e.gullet.beginGroup();var f=[],g=[f],m=[],v=[],y=null!=l?[]:void 0;function b(){l&&e.gullet.macros.set("\\@eqnsw","1",!0)}function w(){y&&(e.gullet.macros.get("\\df@tag")?(y.push(e.subparse([new JN("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):y.push(Boolean(l)&&"1"===e.gullet.macros.get("\\@eqnsw")))}for(b(),v.push(_M(e));;){var E=e.parseExpression(!1,u?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),E={type:"ordgroup",mode:e.mode,body:E},r&&(E={type:"styling",mode:e.mode,style:r,body:[E]}),f.push(E);var x=e.fetch().text;if("&"===x){if(d&&f.length===d){if(u||s)throw new QN("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else{if("\\end"===x){w(),1===f.length&&"styling"===E.type&&0===E.body[0].body.length&&(g.length>1||!c)&&g.pop(),v.length<g.length+1&&v.push([]);break}if("\\\\"!==x)throw new QN("Expected & or \\\\ or \\cr or \\end",e.nextToken);e.consume();var C=void 0;" "!==e.gullet.future().text&&(C=e.parseSizeGroup(!0)),m.push(C?C.value:null),w(),v.push(_M(e)),f=[],g.push(f),b()}}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:o,arraystretch:a,body:g,cols:i,rowGaps:m,hskipBeforeAndAfter:n,hLinesBeforeRow:v,colSeparationType:s,tags:y,leqno:h}}function VM(e){return"d"===e.slice(0,1)?"display":"text"}var $M=function(e,t){var r,n,o=e.body.length,i=e.hLinesBeforeRow,a=0,s=new Array(o),l=[],u=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),c=1/t.fontMetrics().ptPerEm,d=5*c;e.colSeparationType&&"small"===e.colSeparationType&&(d=t.havingStyle(mO.SCRIPT).sizeMultiplier/t.sizeMultiplier*.2778);var h="CD"===e.colSeparationType?PO({number:3,unit:"ex"},t):12*c,p=3*c,f=e.arraystretch*h,g=.7*f,m=.3*f,v=0;function y(e){for(var t=0;t<e.length;++t)t>0&&(v+=.25),l.push({pos:v,isDashed:e[t]})}for(y(i[0]),r=0;r<e.body.length;++r){var b=e.body[r],w=g,E=m;a<b.length&&(a=b.length);var x=new Array(b.length);for(n=0;n<b.length;++n){var C=mF(b[n],t);E<C.depth&&(E=C.depth),w<C.height&&(w=C.height),x[n]=C}var S=e.rowGaps[r],D=0;S&&(D=PO(S,t))>0&&(E<(D+=m)&&(E=D),D=0),e.addJot&&(E+=p),x.height=w,x.depth=E,v+=w,x.pos=v,v+=E+D,s[r]=x,y(i[r+1])}var A,k,T=v/2+t.fontMetrics().axisHeight,N=e.cols||[],O=[],B=[];if(e.tags&&e.tags.some(e=>e))for(r=0;r<o;++r){var F=s[r],M=F.pos-T,I=e.tags[r],P=void 0;(P=!0===I?GB.makeSpan(["eqn-num"],[],t):!1===I?GB.makeSpan([],[],t):GB.makeSpan([],cF(I,t,!0),t)).depth=F.depth,P.height=F.height,B.push({type:"elem",elem:P,shift:M})}for(n=0,k=0;n<a||k<N.length;++n,++k){for(var R=N[k]||{},L=!0;"separator"===R.type;){if(L||((A=GB.makeSpan(["arraycolsep"],[])).style.width=RO(t.fontMetrics().doubleRuleSep),O.push(A)),"|"!==R.separator&&":"!==R.separator)throw new QN("Invalid separator type: "+R.separator);var _="|"===R.separator?"solid":"dashed",z=GB.makeSpan(["vertical-separator"],[],t);z.style.height=RO(v),z.style.borderRightWidth=RO(u),z.style.borderRightStyle=_,z.style.margin="0 "+RO(-u/2);var H=v-T;H&&(z.style.verticalAlign=RO(-H)),O.push(z),R=N[++k]||{},L=!1}if(!(n>=a)){var j=void 0;(n>0||e.hskipBeforeAndAfter)&&0!==(j=oO.deflt(R.pregap,d))&&((A=GB.makeSpan(["arraycolsep"],[])).style.width=RO(j),O.push(A));var V=[];for(r=0;r<o;++r){var $=s[r],U=$[n];if(U){var q=$.pos-T;U.depth=$.depth,U.height=$.height,V.push({type:"elem",elem:U,shift:q})}}V=GB.makeVList({positionType:"individualShift",children:V},t),V=GB.makeSpan(["col-align-"+(R.align||"c")],[V]),O.push(V),(n<a-1||e.hskipBeforeAndAfter)&&0!==(j=oO.deflt(R.postgap,d))&&((A=GB.makeSpan(["arraycolsep"],[])).style.width=RO(j),O.push(A))}}if(s=GB.makeSpan(["mtable"],O),l.length>0){for(var G=GB.makeLineSpan("hline",t,u),W=GB.makeLineSpan("hdashline",t,u),Y=[{type:"elem",elem:s,shift:0}];l.length>0;){var K=l.pop(),X=K.pos-T;K.isDashed?Y.push({type:"elem",elem:W,shift:X}):Y.push({type:"elem",elem:G,shift:X})}s=GB.makeVList({positionType:"individualShift",children:Y},t)}if(0===B.length)return GB.makeSpan(["mord"],[s],t);var Z=GB.makeVList({positionType:"individualShift",children:B},t);return Z=GB.makeSpan(["tag"],[Z],t),GB.makeFragment([s,Z])},UM={c:"center ",l:"left ",r:"right "},qM=function(e,t){for(var r=[],n=new xF.MathNode("mtd",[],["mtr-glue"]),o=new xF.MathNode("mtd",[],["mml-eqn-num"]),i=0;i<e.body.length;i++){for(var a=e.body[i],s=[],l=0;l<a.length;l++)s.push(new xF.MathNode("mtd",[NF(a[l],t)]));e.tags&&e.tags[i]&&(s.unshift(n),s.push(n),e.leqno?s.unshift(o):s.push(o)),r.push(new xF.MathNode("mtr",s))}var u=new xF.MathNode("mtable",r),c=.5===e.arraystretch?.1:.16+e.arraystretch-1+(e.addJot?.09:0);u.setAttribute("rowspacing",RO(c));var d="",h="";if(e.cols&&e.cols.length>0){var p=e.cols,f="",g=!1,m=0,v=p.length;"separator"===p[0].type&&(d+="top ",m=1),"separator"===p[p.length-1].type&&(d+="bottom ",v-=1);for(var y=m;y<v;y++)"align"===p[y].type?(h+=UM[p[y].align],g&&(f+="none "),g=!0):"separator"===p[y].type&&g&&(f+="|"===p[y].separator?"solid ":"dashed ",g=!1);u.setAttribute("columnalign",h.trim()),/[sd]/.test(f)&&u.setAttribute("columnlines",f.trim())}if("align"===e.colSeparationType){for(var b=e.cols||[],w="",E=1;E<b.length;E++)w+=E%2?"0em ":"1em ";u.setAttribute("columnspacing",w.trim())}else"alignat"===e.colSeparationType||"gather"===e.colSeparationType?u.setAttribute("columnspacing","0em"):"small"===e.colSeparationType?u.setAttribute("columnspacing","0.2778em"):"CD"===e.colSeparationType?u.setAttribute("columnspacing","0.5em"):u.setAttribute("columnspacing","1em");var x="",C=e.hLinesBeforeRow;d+=C[0].length>0?"left ":"",d+=C[C.length-1].length>0?"right ":"";for(var S=1;S<C.length-1;S++)x+=0===C[S].length?"none ":C[S][0]?"dashed ":"solid ";return/[sd]/.test(x)&&u.setAttribute("rowlines",x.trim()),""!==d&&(u=new xF.MathNode("menclose",[u])).setAttribute("notation",d.trim()),e.arraystretch&&e.arraystretch<1&&(u=new xF.MathNode("mstyle",[u])).setAttribute("scriptlevel","1"),u},GM=function(e,t){-1===e.envName.indexOf("ed")&&zM(e);var r,n=[],o=e.envName.indexOf("at")>-1?"alignat":"align",i="split"===e.envName,a=jM(e.parser,{cols:n,addJot:!0,autoTag:i?void 0:HM(e.envName),emptySingleRow:!0,colSeparationType:o,maxNumCols:i?2:void 0,leqno:e.parser.settings.leqno},"display"),s=0,l={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){for(var u="",c=0;c<t[0].body.length;c++){u+=_F(t[0].body[c],"textord").text}r=Number(u),s=2*r}var d=!s;a.body.forEach(function(e){for(var t=1;t<e.length;t+=2){var n=_F(e[t],"styling");_F(n.body[0],"ordgroup").body.unshift(l)}if(d)s<e.length&&(s=e.length);else{var o=e.length/2;if(r<o)throw new QN("Too many math in a row: expected "+r+", but got "+o,e[0])}});for(var h=0;h<s;++h){var p="r",f=0;h%2==1?p="l":h>0&&d&&(f=1),n[h]={type:"align",align:p,pregap:f,postgap:0}}return a.colSeparationType=d?"align":"alignat",a};PM({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=(HF(t[0])?[t[0]]:_F(t[0],"ordgroup").body).map(function(e){var t=zF(e).text;if(-1!=="lcr".indexOf(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new QN("Unknown column alignment: "+t,e)}),n={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return jM(e.parser,n,VM(e.envName))},htmlBuilder:$M,mathmlBuilder:qM}),PM({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 o=e.parser;if(o.consumeSpaces(),"["===o.fetch().text){if(o.consume(),o.consumeSpaces(),r=o.fetch().text,-1==="lcr".indexOf(r))throw new QN("Expected l or c or r",o.nextToken);o.consume(),o.consumeSpaces(),o.expect("]"),o.consume(),n.cols=[{type:"align",align:r}]}}var i=jM(e.parser,n,VM(e.envName)),a=Math.max(0,...i.body.map(e=>e.length));return i.cols=new Array(a).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[i],left:t[0],right:t[1],rightColor:void 0}:i},htmlBuilder:$M,mathmlBuilder:qM}),PM({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t=jM(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:$M,mathmlBuilder:qM}),PM({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=(HF(t[0])?[t[0]]:_F(t[0],"ordgroup").body).map(function(e){var t=zF(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new QN("Unknown column alignment: "+t,e)});if(r.length>1)throw new QN("{subarray} can contain only one column");var n={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5};if((n=jM(e.parser,n,"script")).body.length>0&&n.body[0].length>1)throw new QN("{subarray} can contain only one column");return n},htmlBuilder:$M,mathmlBuilder:qM}),PM({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t=jM(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},VM(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:$M,mathmlBuilder:qM}),PM({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:GM,htmlBuilder:$M,mathmlBuilder:qM}),PM({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){["gather","gather*"].includes(e.envName)&&zM(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:HM(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return jM(e.parser,t,"display")},htmlBuilder:$M,mathmlBuilder:qM}),PM({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:GM,htmlBuilder:$M,mathmlBuilder:qM}),PM({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){zM(e);var t={autoTag:HM(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return jM(e.parser,t,"display")},htmlBuilder:$M,mathmlBuilder:qM}),PM({type:"array",names:["CD"],props:{numArgs:0},handler:e=>(zM(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 QN("Expected \\\\ or \\cr or \\end",e.nextToken)}e.consume()}for(var n=[],o=[n],i=0;i<t.length;i++){for(var a=t[i],s=XF(),l=0;l<a.length;l++)if(ZF(a[l])){n.push(s);var u=zF(a[l+=1]).text,c=new Array(2);if(c[0]={type:"ordgroup",mode:"math",body:[]},c[1]={type:"ordgroup",mode:"math",body:[]},"=|.".indexOf(u)>-1);else{if(!("<>AV".indexOf(u)>-1))throw new QN('Expected one of "<>AV=|." after @',a[l]);for(var d=0;d<2;d++){for(var h=!0,p=l+1;p<a.length;p++){if(JF(a[p],u)){h=!1,l=p;break}if(ZF(a[p]))throw new QN("Missing a "+u+" character to complete a CD arrow.",a[p]);c[d].body.push(a[p])}if(h)throw new QN("Missing a "+u+" character to complete a CD arrow.",a[l])}}var f={type:"styling",body:[QF(u,c,e)],mode:"math",style:"display"};n.push(f),s=XF()}else s.body.push(a[l]);i%2==0?n.push(s):n.shift(),n=[],o.push(n)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:"math",body:o,arraystretch:1,addJot:!0,rowGaps:[null],cols:new Array(o[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25}),colSeparationType:"CD",hLinesBeforeRow:new Array(o.length+1).fill([])}}(e.parser)),htmlBuilder:$M,mathmlBuilder:qM}),LM("\\nonumber","\\gdef\\@eqnsw{0}"),LM("\\notag","\\nonumber"),tF({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new QN(e.funcName+" valid only within array environment")}});var WM=IM;tF({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:n}=e,o=t[0];if("ordgroup"!==o.type)throw new QN("Invalid environment name",o);for(var i="",a=0;a<o.body.length;++a)i+=_F(o.body[a],"textord").text;if("\\begin"===n){if(!WM.hasOwnProperty(i))throw new QN("No such environment: "+i,o);var s=WM[i],{args:l,optArgs:u}=r.parseArguments("\\begin{"+i+"}",s),c={mode:r.mode,envName:i,parser:r},d=s.handler(c,l,u);r.expect("\\end",!1);var h=r.nextToken,p=_F(r.parseFunction(),"environment");if(p.name!==i)throw new QN("Mismatch: \\begin{"+i+"} matched by \\end{"+p.name+"}",h);return d}return{type:"environment",mode:r.mode,name:i,nameGroup:o}}});var YM=(e,t)=>{var r=e.font,n=t.withFont(r);return mF(e.body,n)},KM=(e,t)=>{var r=e.font,n=t.withFont(r);return NF(e.body,n)},XM={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};tF({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,o=nF(t[0]),i=n;return i in XM&&(i=XM[i]),{type:"font",mode:r.mode,font:i.slice(1),body:o}},htmlBuilder:YM,mathmlBuilder:KM}),tF({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0],o=oO.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:YF(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:o}}}),tF({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,breakOnTokenText:o}=e,{mode:i}=r,a=r.parseExpression(!0,o);return{type:"font",mode:i,font:"math"+n.slice(1),body:{type:"ordgroup",mode:r.mode,body:a}}},htmlBuilder:YM,mathmlBuilder:KM});var ZM=(e,t)=>{var r=t;return"display"===e?r=r.id>=mO.SCRIPT.id?r.text():mO.DISPLAY:"text"===e&&r.size===mO.DISPLAY.size?r=mO.TEXT:"script"===e?r=mO.SCRIPT:"scriptscript"===e&&(r=mO.SCRIPTSCRIPT),r},JM=(e,t)=>{var r,n=ZM(e.size,t.style),o=n.fracNum(),i=n.fracDen();r=t.havingStyle(o);var a=mF(e.numer,r,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,l=3.5/t.fontMetrics().ptPerEm;a.height=a.height<s?s:a.height,a.depth=a.depth<l?l:a.depth}r=t.havingStyle(i);var u,c,d,h,p,f,g,m,v,y,b=mF(e.denom,r,t);if(e.hasBarLine?(e.barSize?(c=PO(e.barSize,t),u=GB.makeLineSpan("frac-line",t,c)):u=GB.makeLineSpan("frac-line",t),c=u.height,d=u.height):(u=null,c=0,d=t.fontMetrics().defaultRuleThickness),n.size===mO.DISPLAY.size||"display"===e.size?(h=t.fontMetrics().num1,p=c>0?3*d:7*d,f=t.fontMetrics().denom1):(c>0?(h=t.fontMetrics().num2,p=d):(h=t.fontMetrics().num3,p=3*d),f=t.fontMetrics().denom2),u){var w=t.fontMetrics().axisHeight;h-a.depth-(w+.5*c)<p&&(h+=p-(h-a.depth-(w+.5*c))),w-.5*c-(b.height-f)<p&&(f+=p-(w-.5*c-(b.height-f)));var E=-(w-.5*c);g=GB.makeVList({positionType:"individualShift",children:[{type:"elem",elem:b,shift:f},{type:"elem",elem:u,shift:E},{type:"elem",elem:a,shift:-h}]},t)}else{var x=h-a.depth-(b.height-f);x<p&&(h+=.5*(p-x),f+=.5*(p-x)),g=GB.makeVList({positionType:"individualShift",children:[{type:"elem",elem:b,shift:f},{type:"elem",elem:a,shift:-h}]},t)}return r=t.havingStyle(n),g.height*=r.sizeMultiplier/t.sizeMultiplier,g.depth*=r.sizeMultiplier/t.sizeMultiplier,m=n.size===mO.DISPLAY.size?t.fontMetrics().delim1:n.size===mO.SCRIPTSCRIPT.size?t.havingStyle(mO.SCRIPT).fontMetrics().delim2:t.fontMetrics().delim2,v=null==e.leftDelim?gF(t,["mopen"]):kM.customSizedDelim(e.leftDelim,m,!0,t.havingStyle(n),e.mode,["mopen"]),y=e.continued?GB.makeSpan([]):null==e.rightDelim?gF(t,["mclose"]):kM.customSizedDelim(e.rightDelim,m,!0,t.havingStyle(n),e.mode,["mclose"]),GB.makeSpan(["mord"].concat(r.sizingClasses(t)),[v,GB.makeSpan(["mfrac"],[g]),y],t)},QM=(e,t)=>{var r=new xF.MathNode("mfrac",[NF(e.numer,t),NF(e.denom,t)]);if(e.hasBarLine){if(e.barSize){var n=PO(e.barSize,t);r.setAttribute("linethickness",RO(n))}}else r.setAttribute("linethickness","0px");var o=ZM(e.size,t.style);if(o.size!==t.style.size){r=new xF.MathNode("mstyle",[r]);var i=o.size===mO.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",i),r.setAttribute("scriptlevel","0")}if(null!=e.leftDelim||null!=e.rightDelim){var a=[];if(null!=e.leftDelim){var s=new xF.MathNode("mo",[new xF.TextNode(e.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}if(a.push(r),null!=e.rightDelim){var l=new xF.MathNode("mo",[new xF.TextNode(e.rightDelim.replace("\\",""))]);l.setAttribute("fence","true"),a.push(l)}return SF(a)}return r};tF({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var r,{parser:n,funcName:o}=e,i=t[0],a=t[1],s=null,l=null,u="auto";switch(o){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")}switch(o){case"\\dfrac":case"\\dbinom":u="display";break;case"\\tfrac":case"\\tbinom":u="text"}return{type:"genfrac",mode:n.mode,continued:!1,numer:i,denom:a,hasBarLine:r,leftDelim:s,rightDelim:l,size:u,barSize:null}},htmlBuilder:JM,mathmlBuilder:QM}),tF({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:n}=e,o=t[0],i=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:o,denom:i,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),tF({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var t,{parser:r,funcName:n,token:o}=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:o}}});var eI=["display","text","script","scriptscript"],tI=function(e){var t=null;return e.length>0&&(t="."===(t=e)?null:t),t};tF({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var r,{parser:n}=e,o=t[4],i=t[5],a=nF(t[0]),s="atom"===a.type&&"open"===a.family?tI(a.text):null,l=nF(t[1]),u="atom"===l.type&&"close"===l.family?tI(l.text):null,c=_F(t[2],"size"),d=null;r=!!c.isBlank||(d=c.value).number>0;var h="auto",p=t[3];if("ordgroup"===p.type){if(p.body.length>0){var f=_F(p.body[0],"textord");h=eI[Number(f.text)]}}else p=_F(p,"textord"),h=eI[Number(p.text)];return{type:"genfrac",mode:n.mode,numer:o,denom:i,continued:!1,hasBarLine:r,barSize:d,leftDelim:s,rightDelim:u,size:h}},htmlBuilder:JM,mathmlBuilder:QM}),tF({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:n,token:o}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:_F(t[0],"size").value,token:o}}}),tF({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,o=t[0],i=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e}(_F(t[1],"infix").size),a=t[2],s=i.number>0;return{type:"genfrac",mode:r.mode,numer:o,denom:a,continued:!1,hasBarLine:s,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:JM,mathmlBuilder:QM});var rI=(e,t)=>{var r,n,o=t.style;"supsub"===e.type?(r=e.sup?mF(e.sup,t.havingStyle(o.sup()),t):mF(e.sub,t.havingStyle(o.sub()),t),n=_F(e.base,"horizBrace")):n=_F(e,"horizBrace");var i,a=mF(n.base,t.havingBaseStyle(mO.DISPLAY)),s=LF(n,t);if(n.isOver?(i=GB.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:a},{type:"kern",size:.1},{type:"elem",elem:s}]},t)).children[0].children[0].children[1].classes.push("svg-align"):(i=GB.makeVList({positionType:"bottom",positionData:a.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:a}]},t)).children[0].children[0].children[0].classes.push("svg-align"),r){var l=GB.makeSpan(["mord",n.isOver?"mover":"munder"],[i],t);i=n.isOver?GB.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.2},{type:"elem",elem:r}]},t):GB.makeVList({positionType:"bottom",positionData:l.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:l}]},t)}return GB.makeSpan(["mord",n.isOver?"mover":"munder"],[i],t)};tF({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:t[0]}},htmlBuilder:rI,mathmlBuilder:(e,t)=>{var r=RF(e.label);return new xF.MathNode(e.isOver?"mover":"munder",[NF(e.base,t),r])}}),tF({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],o=_F(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:o})?{type:"href",mode:r.mode,href:o,body:oF(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=cF(e.body,t,!1);return GB.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=TF(e.body,t);return r instanceof wF||(r=new wF("mrow",[r])),r.setAttribute("href",e.href),r}}),tF({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=_F(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var o=[],i=0;i<n.length;i++){var a=n[i];"~"===a&&(a="\\textasciitilde"),o.push({type:"textord",mode:"text",text:a})}var s={type:"text",mode:r.mode,font:"\\texttt",body:o};return{type:"href",mode:r.mode,href:n,body:oF(s)}}}),tF({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:oF(t[0])}},htmlBuilder(e,t){var r=cF(e.body,t,!1);return GB.makeFragment(r)},mathmlBuilder:(e,t)=>new xF.MathNode("mrow",kF(e.body,t))}),tF({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var r,{parser:n,funcName:o,token:i}=e,a=_F(t[0],"raw").string,s=t[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var l={};switch(o){case"\\htmlClass":l.class=a,r={command:"\\htmlClass",class:a};break;case"\\htmlId":l.id=a,r={command:"\\htmlId",id:a};break;case"\\htmlStyle":l.style=a,r={command:"\\htmlStyle",style:a};break;case"\\htmlData":for(var u=a.split(","),c=0;c<u.length;c++){var d=u[c].split("=");if(2!==d.length)throw new QN("Error parsing key-value for \\htmlData");l["data-"+d[0].trim()]=d[1].trim()}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:oF(s)}:n.formatUnsupportedCmd(o)},htmlBuilder:(e,t)=>{var r=cF(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var o=GB.makeSpan(n,r,t);for(var i in e.attributes)"class"!==i&&e.attributes.hasOwnProperty(i)&&o.setAttribute(i,e.attributes[i]);return o},mathmlBuilder:(e,t)=>TF(e.body,t)}),tF({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:oF(t[0]),mathml:oF(t[1])}},htmlBuilder:(e,t)=>{var r=cF(e.html,t,!1);return GB.makeFragment(r)},mathmlBuilder:(e,t)=>TF(e.mathml,t)});var nI=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 QN("Invalid size: '"+e+"' in \\includegraphics");var r={number:+(t[1]+t[2]),unit:t[3]};if(!IO(r))throw new QN("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};tF({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:n}=e,o={number:0,unit:"em"},i={number:.9,unit:"em"},a={number:0,unit:"em"},s="";if(r[0])for(var l=_F(r[0],"raw").string.split(","),u=0;u<l.length;u++){var c=l[u].split("=");if(2===c.length){var d=c[1].trim();switch(c[0].trim()){case"alt":s=d;break;case"width":o=nI(d);break;case"height":i=nI(d);break;case"totalheight":a=nI(d);break;default:throw new QN("Invalid key: '"+c[0]+"' in \\includegraphics.")}}}var h=_F(t[0],"url").url;return""===s&&(s=(s=(s=h).replace(/^.*[\\/]/,"")).substring(0,s.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:h})?{type:"includegraphics",mode:n.mode,alt:s,width:o,height:i,totalheight:a,src:h}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=PO(e.height,t),n=0;e.totalheight.number>0&&(n=PO(e.totalheight,t)-r);var o=0;e.width.number>0&&(o=PO(e.width,t));var i={height:RO(r+n)};o>0&&(i.width=RO(o)),n>0&&(i.verticalAlign=RO(-n));var a=new UO(e.src,e.alt,i);return a.height=r,a.depth=n,a},mathmlBuilder:(e,t)=>{var r=new xF.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var n=PO(e.height,t),o=0;if(e.totalheight.number>0&&(o=PO(e.totalheight,t)-n,r.setAttribute("valign",RO(-o))),r.setAttribute("height",RO(n+o)),e.width.number>0){var i=PO(e.width,t);r.setAttribute("width",RO(i))}return r.setAttribute("src",e.src),r}}),tF({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,o=_F(t[0],"size");if(r.settings.strict){var i="m"===n[1],a="mu"===o.value.unit;i?(a||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, not "+o.value.unit+" units"),"math"!==r.mode&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):a&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:o.value}},htmlBuilder:(e,t)=>GB.makeGlue(e.dimension,t),mathmlBuilder(e,t){var r=PO(e.dimension,t);return new xF.SpaceNode(r)}}),tF({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,o=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:o}},htmlBuilder:(e,t)=>{var r;"clap"===e.alignment?(r=GB.makeSpan([],[mF(e.body,t)]),r=GB.makeSpan(["inner"],[r],t)):r=GB.makeSpan(["inner"],[mF(e.body,t)]);var n=GB.makeSpan(["fix"],[]),o=GB.makeSpan([e.alignment],[r,n],t),i=GB.makeSpan(["strut"]);return i.style.height=RO(o.height+o.depth),o.depth&&(i.style.verticalAlign=RO(-o.depth)),o.children.unshift(i),o=GB.makeSpan(["thinbox"],[o],t),GB.makeSpan(["mord","vbox"],[o],t)},mathmlBuilder:(e,t)=>{var r=new xF.MathNode("mpadded",[NF(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}}),tF({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:n}=e,o=n.mode;n.switchMode("math");var i="\\("===r?"\\)":"$",a=n.parseExpression(!1,i);return n.expect(i),n.switchMode(o),{type:"styling",mode:n.mode,style:"text",body:a}}}),tF({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new QN("Mismatched "+e.funcName)}});var oI=(e,t)=>{switch(t.style.size){case mO.DISPLAY.size:return e.display;case mO.TEXT.size:return e.text;case mO.SCRIPT.size:return e.script;case mO.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};tF({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:oF(t[0]),text:oF(t[1]),script:oF(t[2]),scriptscript:oF(t[3])}},htmlBuilder:(e,t)=>{var r=oI(e,t),n=cF(r,t,!1);return GB.makeFragment(n)},mathmlBuilder:(e,t)=>{var r=oI(e,t);return TF(r,t)}});var iI=(e,t,r,n,o,i,a)=>{e=GB.makeSpan([],[e]);var s,l,u,c=r&&oO.isCharacterBox(r);if(t){var d=mF(t,n.havingStyle(o.sup()),n);l={elem:d,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-d.depth)}}if(r){var h=mF(r,n.havingStyle(o.sub()),n);s={elem:h,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-h.height)}}if(l&&s){var p=n.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+a;u=GB.makeVList({positionType:"bottom",positionData:p,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:RO(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:RO(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(s){var f=e.height-a;u=GB.makeVList({positionType:"top",positionData:f,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:RO(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e}]},n)}else{if(!l)return e;var g=e.depth+a;u=GB.makeVList({positionType:"bottom",positionData:g,children:[{type:"elem",elem:e},{type:"kern",size:l.kern},{type:"elem",elem:l.elem,marginLeft:RO(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}var m=[u];if(s&&0!==i&&!c){var v=GB.makeSpan(["mspace"],[],n);v.style.marginRight=RO(i),m.unshift(v)}return GB.makeSpan(["mop","op-limits"],m,n)},aI=["\\smallint"],sI=(e,t)=>{var r,n,o,i=!1;"supsub"===e.type?(r=e.sup,n=e.sub,o=_F(e.base,"op"),i=!0):o=_F(e,"op");var a,s=t.style,l=!1;if(s.size===mO.DISPLAY.size&&o.symbol&&!aI.includes(o.name)&&(l=!0),o.symbol){var u=l?"Size2-Regular":"Size1-Regular",c="";if("\\oiint"!==o.name&&"\\oiiint"!==o.name||(c=o.name.slice(1),o.name="oiint"===c?"\\iint":"\\iiint"),a=GB.makeSymbol(o.name,u,"math",t,["mop","op-symbol",l?"large-op":"small-op"]),c.length>0){var d=a.italic,h=GB.staticSvg(c+"Size"+(l?"2":"1"),t);a=GB.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:0},{type:"elem",elem:h,shift:l?.08:0}]},t),o.name="\\"+c,a.classes.unshift("mop"),a.italic=d}}else if(o.body){var p=cF(o.body,t,!0);1===p.length&&p[0]instanceof GO?(a=p[0]).classes[0]="mop":a=GB.makeSpan(["mop"],p,t)}else{for(var f=[],g=1;g<o.name.length;g++)f.push(GB.mathsym(o.name[g],o.mode,t));a=GB.makeSpan(["mop"],f,t)}var m=0,v=0;return(a instanceof GO||"\\oiint"===o.name||"\\oiiint"===o.name)&&!o.suppressBaseShift&&(m=(a.height-a.depth)/2-t.fontMetrics().axisHeight,v=a.italic),i?iI(a,r,n,t,s,v,m):(m&&(a.style.position="relative",a.style.top=RO(m)),a)},lI=(e,t)=>{var r;if(e.symbol)r=new wF("mo",[CF(e.name,e.mode)]),aI.includes(e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new wF("mo",kF(e.body,t));else{r=new wF("mi",[new EF(e.name.slice(1))]);var n=new wF("mo",[CF("⁡","text")]);r=e.parentIsSupSub?new wF("mrow",[r,n]):bF([r,n])}return r},uI={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};tF({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,o=n;return 1===o.length&&(o=uI[o]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:o}},htmlBuilder:sI,mathmlBuilder:lI}),tF({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:oF(n)}},htmlBuilder:sI,mathmlBuilder:lI});var cI={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};tF({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:sI,mathmlBuilder:lI}),tF({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:sI,mathmlBuilder:lI}),tF({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e,n=r;return 1===n.length&&(n=cI[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:sI,mathmlBuilder:lI});var dI=(e,t)=>{var r,n,o,i,a=!1;if("supsub"===e.type?(r=e.sup,n=e.sub,o=_F(e.base,"operatorname"),a=!0):o=_F(e,"operatorname"),o.body.length>0){for(var s=o.body.map(e=>{var t=e.text;return"string"==typeof t?{type:"textord",mode:e.mode,text:t}:e}),l=cF(s,t.withFont("mathrm"),!0),u=0;u<l.length;u++){var c=l[u];c instanceof GO&&(c.text=c.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}i=GB.makeSpan(["mop"],l,t)}else i=GB.makeSpan(["mop"],[],t);return a?iI(i,r,n,t,t.style,0,0):i};function hI(e,t,r){for(var n=cF(e,t,!1),o=t.sizeMultiplier/r.sizeMultiplier,i=0;i<n.length;i++){var a=n[i].classes.indexOf("sizing");a<0?Array.prototype.push.apply(n[i].classes,t.sizingClasses(r)):n[i].classes[a+1]==="reset-size"+t.size&&(n[i].classes[a+1]="reset-size"+r.size),n[i].height*=o,n[i].depth*=o}return GB.makeFragment(n)}tF({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,o=t[0];return{type:"operatorname",mode:r.mode,body:oF(o),alwaysHandleSupSub:"\\operatornamewithlimits"===n,limits:!1,parentIsSupSub:!1}},htmlBuilder:dI,mathmlBuilder:(e,t)=>{for(var r=kF(e.body,t.withFont("mathrm")),n=!0,o=0;o<r.length;o++){var i=r[o];if(i instanceof xF.SpaceNode);else if(i instanceof xF.MathNode)switch(i.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":var a=i.children[0];1===i.children.length&&a instanceof xF.TextNode?a.text=a.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 xF.TextNode(s)]}var l=new xF.MathNode("mi",r);l.setAttribute("mathvariant","normal");var u=new xF.MathNode("mo",[CF("⁡","text")]);return e.parentIsSupSub?new xF.MathNode("mrow",[l,u]):xF.newDocumentFragment([l,u])}}),LM("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),rF({type:"ordgroup",htmlBuilder:(e,t)=>e.semisimple?GB.makeFragment(cF(e.body,t,!1)):GB.makeSpan(["mord"],cF(e.body,t,!0),t),mathmlBuilder:(e,t)=>TF(e.body,t,!0)}),tF({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=mF(e.body,t.havingCrampedStyle()),n=GB.makeLineSpan("overline-line",t),o=t.fontMetrics().defaultRuleThickness,i=GB.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*o},{type:"elem",elem:n},{type:"kern",size:o}]},t);return GB.makeSpan(["mord","overline"],[i],t)},mathmlBuilder(e,t){var r=new xF.MathNode("mo",[new xF.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new xF.MathNode("mover",[NF(e.body,t),r]);return n.setAttribute("accent","true"),n}}),tF({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:oF(n)}},htmlBuilder:(e,t)=>{var r=cF(e.body,t.withPhantom(),!1);return GB.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=kF(e.body,t);return new xF.MathNode("mphantom",r)}}),tF({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"hphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=GB.makeSpan([],[mF(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var n=0;n<r.children.length;n++)r.children[n].height=0,r.children[n].depth=0;return r=GB.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t),GB.makeSpan(["mord"],[r],t)},mathmlBuilder:(e,t)=>{var r=kF(oF(e.body),t),n=new xF.MathNode("mphantom",r),o=new xF.MathNode("mpadded",[n]);return o.setAttribute("height","0px"),o.setAttribute("depth","0px"),o}}),tF({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=GB.makeSpan(["inner"],[mF(e.body,t.withPhantom())]),n=GB.makeSpan(["fix"],[]);return GB.makeSpan(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=kF(oF(e.body),t),n=new xF.MathNode("mphantom",r),o=new xF.MathNode("mpadded",[n]);return o.setAttribute("width","0px"),o}}),tF({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=_F(t[0],"size").value,o=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:o}},htmlBuilder(e,t){var r=mF(e.body,t),n=PO(e.dy,t);return GB.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new xF.MathNode("mpadded",[NF(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}}),tF({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),tF({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,o=r[0],i=_F(t[0],"size"),a=_F(t[1],"size");return{type:"rule",mode:n.mode,shift:o&&_F(o,"size").value,width:i.value,height:a.value}},htmlBuilder(e,t){var r=GB.makeSpan(["mord","rule"],[],t),n=PO(e.width,t),o=PO(e.height,t),i=e.shift?PO(e.shift,t):0;return r.style.borderRightWidth=RO(n),r.style.borderTopWidth=RO(o),r.style.bottom=RO(i),r.width=n,r.height=o+i,r.depth=-i,r.maxFontSize=1.125*o*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=PO(e.width,t),n=PO(e.height,t),o=e.shift?PO(e.shift,t):0,i=t.color&&t.getColor()||"black",a=new xF.MathNode("mspace");a.setAttribute("mathbackground",i),a.setAttribute("width",RO(r)),a.setAttribute("height",RO(n));var s=new xF.MathNode("mpadded",[a]);return o>=0?s.setAttribute("height",RO(o)):(s.setAttribute("height",RO(o)),s.setAttribute("depth",RO(-o))),s.setAttribute("voffset",RO(o)),s}});var pI=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];tF({type:"sizing",names:pI,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:n,parser:o}=e,i=o.parseExpression(!1,r);return{type:"sizing",mode:o.mode,size:pI.indexOf(n)+1,body:i}},htmlBuilder:(e,t)=>{var r=t.havingSize(e.size);return hI(e.body,r,t)},mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=kF(e.body,r),o=new xF.MathNode("mstyle",n);return o.setAttribute("mathsize",RO(r.sizeMultiplier)),o}}),tF({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:n}=e,o=!1,i=!1,a=r[0]&&_F(r[0],"ordgroup");if(a)for(var s="",l=0;l<a.body.length;++l){if("t"===(s=a.body[l].text))o=!0;else{if("b"!==s){o=!1,i=!1;break}i=!0}}else o=!0,i=!0;var u=t[0];return{type:"smash",mode:n.mode,body:u,smashHeight:o,smashDepth:i}},htmlBuilder:(e,t)=>{var r=GB.makeSpan([],[mF(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var n=0;n<r.children.length;n++)r.children[n].height=0;if(e.smashDepth&&(r.depth=0,r.children))for(var o=0;o<r.children.length;o++)r.children[o].depth=0;var i=GB.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t);return GB.makeSpan(["mord"],[i],t)},mathmlBuilder:(e,t)=>{var r=new xF.MathNode("mpadded",[NF(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}}),tF({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n}=e,o=r[0],i=t[0];return{type:"sqrt",mode:n.mode,body:i,index:o}},htmlBuilder(e,t){var r=mF(e.body,t.havingCrampedStyle());0===r.height&&(r.height=t.fontMetrics().xHeight),r=GB.wrapFragment(r,t);var n=t.fontMetrics().defaultRuleThickness,o=n;t.style.id<mO.TEXT.id&&(o=t.fontMetrics().xHeight);var i=n+o/4,a=r.height+r.depth+i+n,{span:s,ruleWidth:l,advanceWidth:u}=kM.sqrtImage(a,t),c=s.height-l;c>r.height+r.depth+i&&(i=(i+c-r.height-r.depth)/2);var d=s.height-r.height-i-l;r.style.paddingLeft=RO(u);var h=GB.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+d)},{type:"elem",elem:s},{type:"kern",size:l}]},t);if(e.index){var p=t.havingStyle(mO.SCRIPTSCRIPT),f=mF(e.index,p,t),g=.6*(h.height-h.depth),m=GB.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:f}]},t),v=GB.makeSpan(["root"],[m]);return GB.makeSpan(["mord","sqrt"],[v,h],t)}return GB.makeSpan(["mord","sqrt"],[h],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new xF.MathNode("mroot",[NF(r,t),NF(n,t)]):new xF.MathNode("msqrt",[NF(r,t)])}});var fI={display:mO.DISPLAY,text:mO.TEXT,script:mO.SCRIPT,scriptscript:mO.SCRIPTSCRIPT};tF({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:n,parser:o}=e,i=o.parseExpression(!0,r),a=n.slice(1,n.length-5);return{type:"styling",mode:o.mode,style:a,body:i}},htmlBuilder(e,t){var r=fI[e.style],n=t.havingStyle(r).withFont("");return hI(e.body,n,t)},mathmlBuilder(e,t){var r=fI[e.style],n=t.havingStyle(r),o=kF(e.body,n),i=new xF.MathNode("mstyle",o),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return i.setAttribute("scriptlevel",a[0]),i.setAttribute("displaystyle",a[1]),i}});rF({type:"supsub",htmlBuilder(e,t){var r=function(e,t){var r=e.base;return r?"op"===r.type?r.limits&&(t.style.size===mO.DISPLAY.size||r.alwaysHandleSupSub)?sI:null:"operatorname"===r.type?r.alwaysHandleSupSub&&(t.style.size===mO.DISPLAY.size||r.limits)?dI:null:"accent"===r.type?oO.isCharacterBox(r.base)?jF:null:"horizBrace"===r.type&&!e.sub===r.isOver?rI:null:null}(e,t);if(r)return r(e,t);var n,o,i,{base:a,sup:s,sub:l}=e,u=mF(a,t),c=t.fontMetrics(),d=0,h=0,p=a&&oO.isCharacterBox(a);if(s){var f=t.havingStyle(t.style.sup());n=mF(s,f,t),p||(d=u.height-f.fontMetrics().supDrop*f.sizeMultiplier/t.sizeMultiplier)}if(l){var g=t.havingStyle(t.style.sub());o=mF(l,g,t),p||(h=u.depth+g.fontMetrics().subDrop*g.sizeMultiplier/t.sizeMultiplier)}i=t.style===mO.DISPLAY?c.sup1:t.style.cramped?c.sup3:c.sup2;var m,v=t.sizeMultiplier,y=RO(.5/c.ptPerEm/v),b=null;if(o){var w=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(u instanceof GO||w)&&(b=RO(-u.italic))}if(n&&o){d=Math.max(d,i,n.depth+.25*c.xHeight),h=Math.max(h,c.sub2);var E=4*c.defaultRuleThickness;if(d-n.depth-(o.height-h)<E){h=E-(d-n.depth)+o.height;var x=.8*c.xHeight-(d-n.depth);x>0&&(d+=x,h-=x)}var C=[{type:"elem",elem:o,shift:h,marginRight:y,marginLeft:b},{type:"elem",elem:n,shift:-d,marginRight:y}];m=GB.makeVList({positionType:"individualShift",children:C},t)}else if(o){h=Math.max(h,c.sub1,o.height-.8*c.xHeight);var S=[{type:"elem",elem:o,marginLeft:b,marginRight:y}];m=GB.makeVList({positionType:"shift",positionData:h,children:S},t)}else{if(!n)throw new Error("supsub must have either sup or sub.");d=Math.max(d,i,n.depth+.25*c.xHeight),m=GB.makeVList({positionType:"shift",positionData:-d,children:[{type:"elem",elem:n,marginRight:y}]},t)}var D=fF(u,"right")||"mord";return GB.makeSpan([D],[u,GB.makeSpan(["msupsub"],[m])],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 o,i=[NF(e.base,t)];if(e.sub&&i.push(NF(e.sub,t)),e.sup&&i.push(NF(e.sup,t)),n)o=r?"mover":"munder";else if(e.sub)if(e.sup){var a=e.base;o=a&&"op"===a.type&&a.limits&&t.style===mO.DISPLAY||a&&"operatorname"===a.type&&a.alwaysHandleSupSub&&(t.style===mO.DISPLAY||a.limits)?"munderover":"msubsup"}else{var s=e.base;o=s&&"op"===s.type&&s.limits&&(t.style===mO.DISPLAY||s.alwaysHandleSupSub)||s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(s.limits||t.style===mO.DISPLAY)?"munder":"msub"}else{var l=e.base;o=l&&"op"===l.type&&l.limits&&(t.style===mO.DISPLAY||l.alwaysHandleSupSub)||l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||t.style===mO.DISPLAY)?"mover":"msup"}return new xF.MathNode(o,i)}}),rF({type:"atom",htmlBuilder:(e,t)=>GB.mathsym(e.text,e.mode,t,["m"+e.family]),mathmlBuilder(e,t){var r=new xF.MathNode("mo",[CF(e.text,e.mode)]);if("bin"===e.family){var n=DF(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 gI={mi:"italic",mn:"normal",mtext:"normal"};rF({type:"mathord",htmlBuilder:(e,t)=>GB.makeOrd(e,t,"mathord"),mathmlBuilder(e,t){var r=new xF.MathNode("mi",[CF(e.text,e.mode,t)]),n=DF(e,t)||"italic";return n!==gI[r.type]&&r.setAttribute("mathvariant",n),r}}),rF({type:"textord",htmlBuilder:(e,t)=>GB.makeOrd(e,t,"textord"),mathmlBuilder(e,t){var r,n=CF(e.text,e.mode,t),o=DF(e,t)||"normal";return r="text"===e.mode?new xF.MathNode("mtext",[n]):/[0-9]/.test(e.text)?new xF.MathNode("mn",[n]):"\\prime"===e.text?new xF.MathNode("mo",[n]):new xF.MathNode("mi",[n]),o!==gI[r.type]&&r.setAttribute("mathvariant",o),r}});var mI={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},vI={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};rF({type:"spacing",htmlBuilder(e,t){if(vI.hasOwnProperty(e.text)){var r=vI[e.text].className||"";if("text"===e.mode){var n=GB.makeOrd(e,t,"textord");return n.classes.push(r),n}return GB.makeSpan(["mspace",r],[GB.mathsym(e.text,e.mode,t)],t)}if(mI.hasOwnProperty(e.text))return GB.makeSpan(["mspace",mI[e.text]],[],t);throw new QN('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){if(!vI.hasOwnProperty(e.text)){if(mI.hasOwnProperty(e.text))return new xF.MathNode("mspace");throw new QN('Unknown type of space "'+e.text+'"')}return new xF.MathNode("mtext",[new xF.TextNode(" ")])}});var yI=()=>{var e=new xF.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};rF({type:"tag",mathmlBuilder(e,t){var r=new xF.MathNode("mtable",[new xF.MathNode("mtr",[yI(),new xF.MathNode("mtd",[TF(e.body,t)]),yI(),new xF.MathNode("mtd",[TF(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var bI={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},wI={"\\textbf":"textbf","\\textmd":"textmd"},EI={"\\textit":"textit","\\textup":"textup"},xI=(e,t)=>{var r=e.font;return r?bI[r]?t.withTextFontFamily(bI[r]):wI[r]?t.withTextFontWeight(wI[r]):"\\emph"===r?"textit"===t.fontShape?t.withTextFontShape("textup"):t.withTextFontShape("textit"):t.withTextFontShape(EI[r]):t};tF({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,o=t[0];return{type:"text",mode:r.mode,body:oF(o),font:n}},htmlBuilder(e,t){var r=xI(e,t),n=cF(e.body,r,!0);return GB.makeSpan(["mord","text"],n,r)},mathmlBuilder(e,t){var r=xI(e,t);return TF(e.body,r)}}),tF({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=mF(e.body,t),n=GB.makeLineSpan("underline-line",t),o=t.fontMetrics().defaultRuleThickness,i=GB.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:o},{type:"elem",elem:n},{type:"kern",size:3*o},{type:"elem",elem:r}]},t);return GB.makeSpan(["mord","underline"],[i],t)},mathmlBuilder(e,t){var r=new xF.MathNode("mo",[new xF.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new xF.MathNode("munder",[NF(e.body,t),r]);return n.setAttribute("accentunder","true"),n}}),tF({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=mF(e.body,t),n=t.fontMetrics().axisHeight,o=.5*(r.height-n-(r.depth+n));return GB.makeVList({positionType:"shift",positionData:o,children:[{type:"elem",elem:r}]},t)},mathmlBuilder:(e,t)=>new xF.MathNode("mpadded",[NF(e.body,t)],["vcenter"])}),tF({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new QN("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=CI(e),n=[],o=t.havingStyle(t.style.text()),i=0;i<r.length;i++){var a=r[i];"~"===a&&(a="\\textasciitilde"),n.push(GB.makeSymbol(a,"Typewriter-Regular",e.mode,o,["mord","texttt"]))}return GB.makeSpan(["mord","text"].concat(o.sizingClasses(t)),GB.tryCombineChars(n),o)},mathmlBuilder(e,t){var r=new xF.TextNode(CI(e)),n=new xF.MathNode("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var CI=e=>e.body.replace(/ /g,e.star?"␣":" "),SI=JB,DI="[ \r\n\t]",AI="(\\\\[a-zA-Z@]+)"+DI+"*",kI="[̀-ͯ]",TI=new RegExp(kI+"+$"),NI="("+DI+"+)|\\\\(\n|[ \r\t]+\n?)[ \r\t]*|([!-\\[\\]-‧‪-퟿豈-￿]"+kI+"*|[\ud800-\udbff][\udc00-\udfff]"+kI+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5|"+AI+"|\\\\[^\ud800-\udfff])";class OI{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(NI,"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 JN("EOF",new ZN(this,t,t));var r=this.tokenRegex.exec(e);if(null===r||r.index!==t)throw new QN("Unexpected character: '"+e[t]+"'",new JN(e[t],new ZN(this,t,t+1)));var n=r[6]||r[3]||(r[2]?"\\ ":" ");if(14===this.catcodes[n]){var o=e.indexOf("\n",this.tokenRegex.lastIndex);return-1===o?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=o+1,this.lex()}return new JN(n,new ZN(this,t,this.tokenRegex.lastIndex))}}class BI{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 QN("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 o=this.undefStack[this.undefStack.length-1];o&&!o.hasOwnProperty(e)&&(o[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t}}var FI=RM;LM("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}}),LM("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}}),LM("\\@firstoftwo",function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}}),LM("\\@secondoftwo",function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}}),LM("\\@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}}),LM("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),LM("\\TextOrMath",function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var MI={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};LM("\\char",function(e){var t,r=e.popToken(),n="";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 QN("\\char` missing argument");n=r.text.charCodeAt(0)}else t=10;if(t){if(null==(n=MI[r.text])||n>=t)throw new QN("Invalid base-"+t+" digit "+r.text);for(var o;null!=(o=MI[e.future().text])&&o<t;)n*=t,n+=o,e.popToken()}return"\\@char{"+n+"}"});var II=(e,t,r,n)=>{var o=e.consumeArg().tokens;if(1!==o.length)throw new QN("\\newcommand's first argument must be a macro name");var i=o[0].text,a=e.isDefined(i);if(a&&!t)throw new QN("\\newcommand{"+i+"} attempting to redefine "+i+"; use \\renewcommand");if(!a&&!r)throw new QN("\\renewcommand{"+i+"} when command "+i+" does not yet exist; use \\newcommand");var s=0;if(1===(o=e.consumeArg().tokens).length&&"["===o[0].text){for(var l="",u=e.expandNextToken();"]"!==u.text&&"EOF"!==u.text;)l+=u.text,u=e.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new QN("Invalid number of arguments: "+l);s=parseInt(l),o=e.consumeArg().tokens}return a&&n||e.macros.set(i,{tokens:o,numArgs:s}),""};LM("\\newcommand",e=>II(e,!1,!0,!1)),LM("\\renewcommand",e=>II(e,!0,!1,!1)),LM("\\providecommand",e=>II(e,!0,!0,!0)),LM("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(e=>e.text).join("")),""}),LM("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(e=>e.text).join("")),""}),LM("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),SI[r],QO.math[r],QO.text[r]),""}),LM("\\bgroup","{"),LM("\\egroup","}"),LM("~","\\nobreakspace"),LM("\\lq","`"),LM("\\rq","'"),LM("\\aa","\\r a"),LM("\\AA","\\r A"),LM("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),LM("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),LM("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),LM("ℬ","\\mathscr{B}"),LM("ℰ","\\mathscr{E}"),LM("ℱ","\\mathscr{F}"),LM("ℋ","\\mathscr{H}"),LM("ℐ","\\mathscr{I}"),LM("ℒ","\\mathscr{L}"),LM("ℳ","\\mathscr{M}"),LM("ℛ","\\mathscr{R}"),LM("ℭ","\\mathfrak{C}"),LM("ℌ","\\mathfrak{H}"),LM("ℨ","\\mathfrak{Z}"),LM("\\Bbbk","\\Bbb{k}"),LM("·","\\cdotp"),LM("\\llap","\\mathllap{\\textrm{#1}}"),LM("\\rlap","\\mathrlap{\\textrm{#1}}"),LM("\\clap","\\mathclap{\\textrm{#1}}"),LM("\\mathstrut","\\vphantom{(}"),LM("\\underbar","\\underline{\\text{#1}}"),LM("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),LM("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),LM("\\ne","\\neq"),LM("≠","\\neq"),LM("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),LM("∉","\\notin"),LM("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),LM("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),LM("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),LM("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),LM("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),LM("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),LM("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),LM("⟂","\\perp"),LM("‼","\\mathclose{!\\mkern-0.8mu!}"),LM("∌","\\notni"),LM("⌜","\\ulcorner"),LM("⌝","\\urcorner"),LM("⌞","\\llcorner"),LM("⌟","\\lrcorner"),LM("©","\\copyright"),LM("®","\\textregistered"),LM("️","\\textregistered"),LM("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),LM("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),LM("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),LM("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),LM("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),LM("⋮","\\vdots"),LM("\\varGamma","\\mathit{\\Gamma}"),LM("\\varDelta","\\mathit{\\Delta}"),LM("\\varTheta","\\mathit{\\Theta}"),LM("\\varLambda","\\mathit{\\Lambda}"),LM("\\varXi","\\mathit{\\Xi}"),LM("\\varPi","\\mathit{\\Pi}"),LM("\\varSigma","\\mathit{\\Sigma}"),LM("\\varUpsilon","\\mathit{\\Upsilon}"),LM("\\varPhi","\\mathit{\\Phi}"),LM("\\varPsi","\\mathit{\\Psi}"),LM("\\varOmega","\\mathit{\\Omega}"),LM("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),LM("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),LM("\\boxed","\\fbox{$\\displaystyle{#1}$}"),LM("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),LM("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),LM("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),LM("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),LM("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var PI={",":"\\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"};LM("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in PI?t=PI[r]:("\\not"===r.slice(0,4)||r in QO.math&&["bin","rel"].includes(QO.math[r].group))&&(t="\\dotsb"),t});var RI={")":!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};LM("\\dotso",function(e){return e.future().text in RI?"\\ldots\\,":"\\ldots"}),LM("\\dotsc",function(e){var t=e.future().text;return t in RI&&","!==t?"\\ldots\\,":"\\ldots"}),LM("\\cdots",function(e){return e.future().text in RI?"\\@cdots\\,":"\\@cdots"}),LM("\\dotsb","\\cdots"),LM("\\dotsm","\\cdots"),LM("\\dotsi","\\!\\cdots"),LM("\\dotsx","\\ldots\\,"),LM("\\DOTSI","\\relax"),LM("\\DOTSB","\\relax"),LM("\\DOTSX","\\relax"),LM("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),LM("\\,","\\tmspace+{3mu}{.1667em}"),LM("\\thinspace","\\,"),LM("\\>","\\mskip{4mu}"),LM("\\:","\\tmspace+{4mu}{.2222em}"),LM("\\medspace","\\:"),LM("\\;","\\tmspace+{5mu}{.2777em}"),LM("\\thickspace","\\;"),LM("\\!","\\tmspace-{3mu}{.1667em}"),LM("\\negthinspace","\\!"),LM("\\negmedspace","\\tmspace-{4mu}{.2222em}"),LM("\\negthickspace","\\tmspace-{5mu}{.277em}"),LM("\\enspace","\\kern.5em "),LM("\\enskip","\\hskip.5em\\relax"),LM("\\quad","\\hskip1em\\relax"),LM("\\qquad","\\hskip2em\\relax"),LM("\\tag","\\@ifstar\\tag@literal\\tag@paren"),LM("\\tag@paren","\\tag@literal{({#1})}"),LM("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new QN("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),LM("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),LM("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),LM("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),LM("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),LM("\\newline","\\\\\\relax"),LM("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var LI=RO(CO["Main-Regular"]["T".charCodeAt(0)][1]-.7*CO["Main-Regular"]["A".charCodeAt(0)][1]);LM("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+LI+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),LM("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+LI+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),LM("\\hspace","\\@ifstar\\@hspacer\\@hspace"),LM("\\@hspace","\\hskip #1\\relax"),LM("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),LM("\\ordinarycolon",":"),LM("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),LM("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),LM("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),LM("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),LM("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),LM("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),LM("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),LM("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),LM("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),LM("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),LM("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),LM("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),LM("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),LM("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),LM("∷","\\dblcolon"),LM("∹","\\eqcolon"),LM("≔","\\coloneqq"),LM("≕","\\eqqcolon"),LM("⩴","\\Coloneqq"),LM("\\ratio","\\vcentcolon"),LM("\\coloncolon","\\dblcolon"),LM("\\colonequals","\\coloneqq"),LM("\\coloncolonequals","\\Coloneqq"),LM("\\equalscolon","\\eqqcolon"),LM("\\equalscoloncolon","\\Eqqcolon"),LM("\\colonminus","\\coloneq"),LM("\\coloncolonminus","\\Coloneq"),LM("\\minuscolon","\\eqcolon"),LM("\\minuscoloncolon","\\Eqcolon"),LM("\\coloncolonapprox","\\Colonapprox"),LM("\\coloncolonsim","\\Colonsim"),LM("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),LM("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),LM("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),LM("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),LM("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),LM("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),LM("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),LM("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),LM("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),LM("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),LM("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),LM("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),LM("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),LM("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),LM("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),LM("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),LM("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),LM("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),LM("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),LM("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),LM("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),LM("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),LM("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),LM("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),LM("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),LM("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),LM("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),LM("\\imath","\\html@mathml{\\@imath}{ı}"),LM("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),LM("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),LM("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),LM("⟦","\\llbracket"),LM("⟧","\\rrbracket"),LM("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),LM("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),LM("⦃","\\lBrace"),LM("⦄","\\rBrace"),LM("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),LM("⦵","\\minuso"),LM("\\darr","\\downarrow"),LM("\\dArr","\\Downarrow"),LM("\\Darr","\\Downarrow"),LM("\\lang","\\langle"),LM("\\rang","\\rangle"),LM("\\uarr","\\uparrow"),LM("\\uArr","\\Uparrow"),LM("\\Uarr","\\Uparrow"),LM("\\N","\\mathbb{N}"),LM("\\R","\\mathbb{R}"),LM("\\Z","\\mathbb{Z}"),LM("\\alef","\\aleph"),LM("\\alefsym","\\aleph"),LM("\\Alpha","\\mathrm{A}"),LM("\\Beta","\\mathrm{B}"),LM("\\bull","\\bullet"),LM("\\Chi","\\mathrm{X}"),LM("\\clubs","\\clubsuit"),LM("\\cnums","\\mathbb{C}"),LM("\\Complex","\\mathbb{C}"),LM("\\Dagger","\\ddagger"),LM("\\diamonds","\\diamondsuit"),LM("\\empty","\\emptyset"),LM("\\Epsilon","\\mathrm{E}"),LM("\\Eta","\\mathrm{H}"),LM("\\exist","\\exists"),LM("\\harr","\\leftrightarrow"),LM("\\hArr","\\Leftrightarrow"),LM("\\Harr","\\Leftrightarrow"),LM("\\hearts","\\heartsuit"),LM("\\image","\\Im"),LM("\\infin","\\infty"),LM("\\Iota","\\mathrm{I}"),LM("\\isin","\\in"),LM("\\Kappa","\\mathrm{K}"),LM("\\larr","\\leftarrow"),LM("\\lArr","\\Leftarrow"),LM("\\Larr","\\Leftarrow"),LM("\\lrarr","\\leftrightarrow"),LM("\\lrArr","\\Leftrightarrow"),LM("\\Lrarr","\\Leftrightarrow"),LM("\\Mu","\\mathrm{M}"),LM("\\natnums","\\mathbb{N}"),LM("\\Nu","\\mathrm{N}"),LM("\\Omicron","\\mathrm{O}"),LM("\\plusmn","\\pm"),LM("\\rarr","\\rightarrow"),LM("\\rArr","\\Rightarrow"),LM("\\Rarr","\\Rightarrow"),LM("\\real","\\Re"),LM("\\reals","\\mathbb{R}"),LM("\\Reals","\\mathbb{R}"),LM("\\Rho","\\mathrm{P}"),LM("\\sdot","\\cdot"),LM("\\sect","\\S"),LM("\\spades","\\spadesuit"),LM("\\sub","\\subset"),LM("\\sube","\\subseteq"),LM("\\supe","\\supseteq"),LM("\\Tau","\\mathrm{T}"),LM("\\thetasym","\\vartheta"),LM("\\weierp","\\wp"),LM("\\Zeta","\\mathrm{Z}"),LM("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),LM("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),LM("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),LM("\\bra","\\mathinner{\\langle{#1}|}"),LM("\\ket","\\mathinner{|{#1}\\rangle}"),LM("\\braket","\\mathinner{\\langle{#1}\\rangle}"),LM("\\Bra","\\left\\langle#1\\right|"),LM("\\Ket","\\left|#1\\right\\rangle");var _I=e=>t=>{var r=t.consumeArg().tokens,n=t.consumeArg().tokens,o=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.macros.get("|"),s=t.macros.get("\\|");t.macros.beginGroup();var l=t=>r=>{e&&(r.macros.set("|",a),o.length&&r.macros.set("\\|",s));var i=t;!t&&o.length&&("|"===r.future().text&&(r.popToken(),i=!0));return{tokens:i?o:n,numArgs:0}};t.macros.set("|",l(!1)),o.length&&t.macros.set("\\|",l(!0));var u=t.consumeArg().tokens,c=t.expandTokens([...i,...u,...r]);return t.macros.endGroup(),{tokens:c.reverse(),numArgs:0}};LM("\\bra@ket",_I(!1)),LM("\\bra@set",_I(!0)),LM("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),LM("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),LM("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),LM("\\angln","{\\angl n}"),LM("\\blue","\\textcolor{##6495ed}{#1}"),LM("\\orange","\\textcolor{##ffa500}{#1}"),LM("\\pink","\\textcolor{##ff00af}{#1}"),LM("\\red","\\textcolor{##df0030}{#1}"),LM("\\green","\\textcolor{##28ae7b}{#1}"),LM("\\gray","\\textcolor{gray}{#1}"),LM("\\purple","\\textcolor{##9d38bd}{#1}"),LM("\\blueA","\\textcolor{##ccfaff}{#1}"),LM("\\blueB","\\textcolor{##80f6ff}{#1}"),LM("\\blueC","\\textcolor{##63d9ea}{#1}"),LM("\\blueD","\\textcolor{##11accd}{#1}"),LM("\\blueE","\\textcolor{##0c7f99}{#1}"),LM("\\tealA","\\textcolor{##94fff5}{#1}"),LM("\\tealB","\\textcolor{##26edd5}{#1}"),LM("\\tealC","\\textcolor{##01d1c1}{#1}"),LM("\\tealD","\\textcolor{##01a995}{#1}"),LM("\\tealE","\\textcolor{##208170}{#1}"),LM("\\greenA","\\textcolor{##b6ffb0}{#1}"),LM("\\greenB","\\textcolor{##8af281}{#1}"),LM("\\greenC","\\textcolor{##74cf70}{#1}"),LM("\\greenD","\\textcolor{##1fab54}{#1}"),LM("\\greenE","\\textcolor{##0d923f}{#1}"),LM("\\goldA","\\textcolor{##ffd0a9}{#1}"),LM("\\goldB","\\textcolor{##ffbb71}{#1}"),LM("\\goldC","\\textcolor{##ff9c39}{#1}"),LM("\\goldD","\\textcolor{##e07d10}{#1}"),LM("\\goldE","\\textcolor{##a75a05}{#1}"),LM("\\redA","\\textcolor{##fca9a9}{#1}"),LM("\\redB","\\textcolor{##ff8482}{#1}"),LM("\\redC","\\textcolor{##f9685d}{#1}"),LM("\\redD","\\textcolor{##e84d39}{#1}"),LM("\\redE","\\textcolor{##bc2612}{#1}"),LM("\\maroonA","\\textcolor{##ffbde0}{#1}"),LM("\\maroonB","\\textcolor{##ff92c6}{#1}"),LM("\\maroonC","\\textcolor{##ed5fa6}{#1}"),LM("\\maroonD","\\textcolor{##ca337c}{#1}"),LM("\\maroonE","\\textcolor{##9e034e}{#1}"),LM("\\purpleA","\\textcolor{##ddd7ff}{#1}"),LM("\\purpleB","\\textcolor{##c6b9fc}{#1}"),LM("\\purpleC","\\textcolor{##aa87ff}{#1}"),LM("\\purpleD","\\textcolor{##7854ab}{#1}"),LM("\\purpleE","\\textcolor{##543b78}{#1}"),LM("\\mintA","\\textcolor{##f5f9e8}{#1}"),LM("\\mintB","\\textcolor{##edf2df}{#1}"),LM("\\mintC","\\textcolor{##e0e5cc}{#1}"),LM("\\grayA","\\textcolor{##f6f7f7}{#1}"),LM("\\grayB","\\textcolor{##f0f1f2}{#1}"),LM("\\grayC","\\textcolor{##e3e5e6}{#1}"),LM("\\grayD","\\textcolor{##d6d8da}{#1}"),LM("\\grayE","\\textcolor{##babec2}{#1}"),LM("\\grayF","\\textcolor{##888d93}{#1}"),LM("\\grayG","\\textcolor{##626569}{#1}"),LM("\\grayH","\\textcolor{##3b3e40}{#1}"),LM("\\grayI","\\textcolor{##21242c}{#1}"),LM("\\kaBlue","\\textcolor{##314453}{#1}"),LM("\\kaGreen","\\textcolor{##71B307}{#1}");var zI={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class HI{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 BI(FI,t.macros),this.mode=r,this.stack=[]}feed(e){this.lexer=new OI(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 JN("EOF",r.loc)),this.pushTokens(n),new JN("",ZN.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,o=this.future(),i=0,a=0;do{if(n=this.popToken(),t.push(n),"{"===n.text)++i;else if("}"===n.text){if(-1===--i)throw new QN("Extra }",n)}else if("EOF"===n.text)throw new QN("Unexpected end of input in a macro argument, expected '"+(e&&r?e[a]:"}")+"'",n);if(e&&r)if((0===i||1===i&&"{"===e[a])&&n.text===e[a]){if(++a===e.length){t.splice(-a,a);break}}else a=0}while(0!==i||r);return"{"===o.text&&"}"===t[t.length-1].text&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:o,end:n}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new QN("The length of delimiters doesn't match the number of args!");for(var r=t[0],n=0;n<r.length;n++){var o=this.popToken();if(r[n]!==o.text)throw new QN("Use of the macro doesn't match its definition",o)}}for(var i=[],a=0;a<e;a++)i.push(this.consumeArg(t&&t[a+1]).tokens);return i}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new QN("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 QN("Undefined control sequence: "+r);return this.pushToken(t),!1}this.countExpansion(1);var o=n.tokens,i=this.consumeArgs(n.numArgs,n.delimiters);if(n.numArgs)for(var a=(o=o.slice()).length-1;a>=0;--a){var s=o[a];if("#"===s.text){if(0===a)throw new QN("Incomplete placeholder at end of macro body",s);if("#"===(s=o[--a]).text)o.splice(a+1,1);else{if(!/^[1-9]$/.test(s.text))throw new QN("Not a valid argument number",s);o.splice(a,2,...i[+s.text-1])}}}return this.pushTokens(o),o.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(!1===this.expandOnce()){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new JN(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 o=0;if(-1!==n.indexOf("#"))for(var i=n.replace(/##/g,"");-1!==i.indexOf("#"+(o+1));)++o;for(var a=new OI(n,this.settings),s=[],l=a.lex();"EOF"!==l.text;)s.push(l),l=a.lex();return s.reverse(),{tokens:s,numArgs:o}}return n}isDefined(e){return this.macros.has(e)||SI.hasOwnProperty(e)||QO.math.hasOwnProperty(e)||QO.text.hasOwnProperty(e)||zI.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return null!=t?"string"==typeof t||"function"==typeof t||!t.unexpandable:SI.hasOwnProperty(e)&&!SI[e].primitive}}var jI=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,VI=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),$I={"́":{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"}},UI={"á":"á","à":"à","ä":"ä","ǟ":"ǟ","ã":"ã","ā":"ā","ă":"ă","ắ":"ắ","ằ":"ằ","ẵ":"ẵ","ǎ":"ǎ","â":"â","ấ":"ấ","ầ":"ầ","ẫ":"ẫ","ȧ":"ȧ","ǡ":"ǡ","å":"å","ǻ":"ǻ","ḃ":"ḃ","ć":"ć","ḉ":"ḉ","č":"č","ĉ":"ĉ","ċ":"ċ","ç":"ç","ď":"ď","ḋ":"ḋ","ḑ":"ḑ","é":"é","è":"è","ë":"ë","ẽ":"ẽ","ē":"ē","ḗ":"ḗ","ḕ":"ḕ","ĕ":"ĕ","ḝ":"ḝ","ě":"ě","ê":"ê","ế":"ế","ề":"ề","ễ":"ễ","ė":"ė","ȩ":"ȩ","ḟ":"ḟ","ǵ":"ǵ","ḡ":"ḡ","ğ":"ğ","ǧ":"ǧ","ĝ":"ĝ","ġ":"ġ","ģ":"ģ","ḧ":"ḧ","ȟ":"ȟ","ĥ":"ĥ","ḣ":"ḣ","ḩ":"ḩ","í":"í","ì":"ì","ï":"ï","ḯ":"ḯ","ĩ":"ĩ","ī":"ī","ĭ":"ĭ","ǐ":"ǐ","î":"î","ǰ":"ǰ","ĵ":"ĵ","ḱ":"ḱ","ǩ":"ǩ","ķ":"ķ","ĺ":"ĺ","ľ":"ľ","ļ":"ļ","ḿ":"ḿ","ṁ":"ṁ","ń":"ń","ǹ":"ǹ","ñ":"ñ","ň":"ň","ṅ":"ṅ","ņ":"ņ","ó":"ó","ò":"ò","ö":"ö","ȫ":"ȫ","õ":"õ","ṍ":"ṍ","ṏ":"ṏ","ȭ":"ȭ","ō":"ō","ṓ":"ṓ","ṑ":"ṑ","ŏ":"ŏ","ǒ":"ǒ","ô":"ô","ố":"ố","ồ":"ồ","ỗ":"ỗ","ȯ":"ȯ","ȱ":"ȱ","ő":"ő","ṕ":"ṕ","ṗ":"ṗ","ŕ":"ŕ","ř":"ř","ṙ":"ṙ","ŗ":"ŗ","ś":"ś","ṥ":"ṥ","š":"š","ṧ":"ṧ","ŝ":"ŝ","ṡ":"ṡ","ş":"ş","ẗ":"ẗ","ť":"ť","ṫ":"ṫ","ţ":"ţ","ú":"ú","ù":"ù","ü":"ü","ǘ":"ǘ","ǜ":"ǜ","ǖ":"ǖ","ǚ":"ǚ","ũ":"ũ","ṹ":"ṹ","ū":"ū","ṻ":"ṻ","ŭ":"ŭ","ǔ":"ǔ","û":"û","ů":"ů","ű":"ű","ṽ":"ṽ","ẃ":"ẃ","ẁ":"ẁ","ẅ":"ẅ","ŵ":"ŵ","ẇ":"ẇ","ẘ":"ẘ","ẍ":"ẍ","ẋ":"ẋ","ý":"ý","ỳ":"ỳ","ÿ":"ÿ","ỹ":"ỹ","ȳ":"ȳ","ŷ":"ŷ","ẏ":"ẏ","ẙ":"ẙ","ź":"ź","ž":"ž","ẑ":"ẑ","ż":"ż","Á":"Á","À":"À","Ä":"Ä","Ǟ":"Ǟ","Ã":"Ã","Ā":"Ā","Ă":"Ă","Ắ":"Ắ","Ằ":"Ằ","Ẵ":"Ẵ","Ǎ":"Ǎ","Â":"Â","Ấ":"Ấ","Ầ":"Ầ","Ẫ":"Ẫ","Ȧ":"Ȧ","Ǡ":"Ǡ","Å":"Å","Ǻ":"Ǻ","Ḃ":"Ḃ","Ć":"Ć","Ḉ":"Ḉ","Č":"Č","Ĉ":"Ĉ","Ċ":"Ċ","Ç":"Ç","Ď":"Ď","Ḋ":"Ḋ","Ḑ":"Ḑ","É":"É","È":"È","Ë":"Ë","Ẽ":"Ẽ","Ē":"Ē","Ḗ":"Ḗ","Ḕ":"Ḕ","Ĕ":"Ĕ","Ḝ":"Ḝ","Ě":"Ě","Ê":"Ê","Ế":"Ế","Ề":"Ề","Ễ":"Ễ","Ė":"Ė","Ȩ":"Ȩ","Ḟ":"Ḟ","Ǵ":"Ǵ","Ḡ":"Ḡ","Ğ":"Ğ","Ǧ":"Ǧ","Ĝ":"Ĝ","Ġ":"Ġ","Ģ":"Ģ","Ḧ":"Ḧ","Ȟ":"Ȟ","Ĥ":"Ĥ","Ḣ":"Ḣ","Ḩ":"Ḩ","Í":"Í","Ì":"Ì","Ï":"Ï","Ḯ":"Ḯ","Ĩ":"Ĩ","Ī":"Ī","Ĭ":"Ĭ","Ǐ":"Ǐ","Î":"Î","İ":"İ","Ĵ":"Ĵ","Ḱ":"Ḱ","Ǩ":"Ǩ","Ķ":"Ķ","Ĺ":"Ĺ","Ľ":"Ľ","Ļ":"Ļ","Ḿ":"Ḿ","Ṁ":"Ṁ","Ń":"Ń","Ǹ":"Ǹ","Ñ":"Ñ","Ň":"Ň","Ṅ":"Ṅ","Ņ":"Ņ","Ó":"Ó","Ò":"Ò","Ö":"Ö","Ȫ":"Ȫ","Õ":"Õ","Ṍ":"Ṍ","Ṏ":"Ṏ","Ȭ":"Ȭ","Ō":"Ō","Ṓ":"Ṓ","Ṑ":"Ṑ","Ŏ":"Ŏ","Ǒ":"Ǒ","Ô":"Ô","Ố":"Ố","Ồ":"Ồ","Ỗ":"Ỗ","Ȯ":"Ȯ","Ȱ":"Ȱ","Ő":"Ő","Ṕ":"Ṕ","Ṗ":"Ṗ","Ŕ":"Ŕ","Ř":"Ř","Ṙ":"Ṙ","Ŗ":"Ŗ","Ś":"Ś","Ṥ":"Ṥ","Š":"Š","Ṧ":"Ṧ","Ŝ":"Ŝ","Ṡ":"Ṡ","Ş":"Ş","Ť":"Ť","Ṫ":"Ṫ","Ţ":"Ţ","Ú":"Ú","Ù":"Ù","Ü":"Ü","Ǘ":"Ǘ","Ǜ":"Ǜ","Ǖ":"Ǖ","Ǚ":"Ǚ","Ũ":"Ũ","Ṹ":"Ṹ","Ū":"Ū","Ṻ":"Ṻ","Ŭ":"Ŭ","Ǔ":"Ǔ","Û":"Û","Ů":"Ů","Ű":"Ű","Ṽ":"Ṽ","Ẃ":"Ẃ","Ẁ":"Ẁ","Ẅ":"Ẅ","Ŵ":"Ŵ","Ẇ":"Ẇ","Ẍ":"Ẍ","Ẋ":"Ẋ","Ý":"Ý","Ỳ":"Ỳ","Ÿ":"Ÿ","Ỹ":"Ỹ","Ȳ":"Ȳ","Ŷ":"Ŷ","Ẏ":"Ẏ","Ź":"Ź","Ž":"Ž","Ẑ":"Ẑ","Ż":"Ż","ά":"ά","ὰ":"ὰ","ᾱ":"ᾱ","ᾰ":"ᾰ","έ":"έ","ὲ":"ὲ","ή":"ή","ὴ":"ὴ","ί":"ί","ὶ":"ὶ","ϊ":"ϊ","ΐ":"ΐ","ῒ":"ῒ","ῑ":"ῑ","ῐ":"ῐ","ό":"ό","ὸ":"ὸ","ύ":"ύ","ὺ":"ὺ","ϋ":"ϋ","ΰ":"ΰ","ῢ":"ῢ","ῡ":"ῡ","ῠ":"ῠ","ώ":"ώ","ὼ":"ὼ","Ύ":"Ύ","Ὺ":"Ὺ","Ϋ":"Ϋ","Ῡ":"Ῡ","Ῠ":"Ῠ","Ώ":"Ώ","Ὼ":"Ὼ"};class qI{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 HI(e,t,this.mode),this.settings=t,this.leftrightDepth=0}expect(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new QN("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 JN("}")),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(-1!==qI.endOfExpression.indexOf(n.text))break;if(t&&n.text===t)break;if(e&&SI[n.text]&&SI[n.text].infix)break;var o=this.parseAtom(t);if(!o)break;"internal"!==o.type&&r.push(o)}return"text"===this.mode&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(e){for(var t,r=-1,n=0;n<e.length;n++)if("infix"===e[n].type){if(-1!==r)throw new QN("only one infix operator per group",e[n].token);r=n,t=e[n].replaceWith}if(-1!==r&&t){var o,i,a=e.slice(0,r),s=e.slice(r+1);return o=1===a.length&&"ordgroup"===a[0].type?a[0]:{type:"ordgroup",mode:this.mode,body:a},i=1===s.length&&"ordgroup"===s[0].type?s[0]:{type:"ordgroup",mode:this.mode,body:s},["\\\\abovefrac"===t?this.callFunction(t,[o,e[r],i],[]):this.callFunction(t,[o,i],[])]}return e}handleSupSubscript(e){var t,r=this.fetch(),n=r.text;this.consume(),this.consumeSpaces();do{var o;t=this.parseGroup(e)}while("internal"===(null==(o=t)?void 0:o.type));if(!t)throw new QN("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 o=this.fetch();if("\\limits"===o.text||"\\nolimits"===o.text){if(n&&"op"===n.type){var i="\\limits"===o.text;n.limits=i,n.alwaysHandleSupSub=!0}else{if(!n||"operatorname"!==n.type)throw new QN("Limit controls must follow a math operator",o);n.alwaysHandleSupSub&&(n.limits="\\limits"===o.text)}this.consume()}else if("^"===o.text){if(t)throw new QN("Double superscript",o);t=this.handleSupSubscript("superscript")}else if("_"===o.text){if(r)throw new QN("Double subscript",o);r=this.handleSupSubscript("subscript")}else if("'"===o.text){if(t)throw new QN("Double superscript",o);var a={type:"textord",mode:this.mode,text:"\\prime"},s=[a];for(this.consume();"'"===this.fetch().text;)s.push(a),this.consume();"^"===this.fetch().text&&s.push(this.handleSupSubscript("superscript")),t={type:"ordgroup",mode:this.mode,body:s}}else{if(!VI[o.text])break;var l=jI.test(o.text),u=[];for(u.push(new JN(VI[o.text])),this.consume();;){var c=this.fetch().text;if(!VI[c])break;if(jI.test(c)!==l)break;u.unshift(new JN(VI[c])),this.consume()}var d=this.subparse(u);l?r={type:"ordgroup",mode:"math",body:d}:t={type:"ordgroup",mode:"math",body:d}}}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,o=SI[n];if(!o)return null;if(this.consume(),t&&"atom"!==t&&!o.allowedInArgument)throw new QN("Got function '"+n+"' with no arguments"+(t?" as "+t:""),r);if("text"===this.mode&&!o.allowedInText)throw new QN("Can't use function '"+n+"' in text mode",r);if("math"===this.mode&&!1===o.allowedInMath)throw new QN("Can't use function '"+n+"' in math mode",r);var{args:i,optArgs:a}=this.parseArguments(n,o);return this.callFunction(n,i,a,r,e)}callFunction(e,t,r,n,o){var i={funcName:e,parser:this,token:n,breakOnTokenText:o},a=SI[e];if(a&&a.handler)return a.handler(i,t,r);throw new QN("No function handler for "+e)}parseArguments(e,t){var r=t.numArgs+t.numOptionalArgs;if(0===r)return{args:[],optArgs:[]};for(var n=[],o=[],i=0;i<r;i++){var a=t.argTypes&&t.argTypes[i],s=i<t.numOptionalArgs;(t.primitive&&null==a||"sqrt"===t.type&&1===i&&null==o[0])&&(a="primitive");var l=this.parseGroupOfType("argument to '"+e+"'",a,s);if(s)o.push(l);else{if(null==l)throw new QN("Null argument, please report this as a bug");n.push(l)}}return{args:n,optArgs:o}}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"}:null;case"raw":var o=this.parseStringGroup("raw",r);return null!=o?{type:"raw",mode:"text",string:o.text}:null;case"primitive":if(r)throw new QN("A primitive argument cannot be optional");var i=this.parseGroup(e);if(null==i)throw new QN("Expected group as "+e,this.fetch());return i;case"original":case null:case void 0:return this.parseArgumentGroup(r);default:throw new QN("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,o="";"EOF"!==(n=this.fetch()).text;)o+=n.text,this.consume();return this.consume(),r.text=o,r}parseRegexGroup(e,t){for(var r,n=this.fetch(),o=n,i="";"EOF"!==(r=this.fetch()).text&&e.test(i+r.text);)i+=(o=r).text,this.consume();if(""===i)throw new QN("Invalid "+t+": '"+n.text+"'",n);return n.range(o,i)}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 QN("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 QN("Invalid size: '"+t.text+"'",t);var o={number:+(n[1]+n[2]),unit:n[3]};if(!IO(o))throw new QN("Invalid unit: '"+o.unit+"'",t);return{type:"size",mode:this.mode,value:o,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 o=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var i={type:"ordgroup",mode:this.mode,loc:r.loc,body:o};return t&&this.switchMode(n),i}parseGroup(e,t){var r,n=this.fetch(),o=n.text;if("{"===o||"\\begingroup"===o){this.consume();var i="{"===o?"}":"\\endgroup";this.gullet.beginGroup();var a=this.parseExpression(!1,i),s=this.fetch();this.expect(i),this.gullet.endGroup(),r={type:"ordgroup",mode:this.mode,loc:ZN.range(n,s),body:a,semisimple:"\\begingroup"===o||void 0}}else if(null==(r=this.parseFunction(t,e)||this.parseSymbol())&&"\\"===o[0]&&!zI.hasOwnProperty(o)){if(this.settings.throwOnError)throw new QN("Undefined control sequence: "+o,n);r=this.formatUnsupportedCmd(o),this.consume()}return r}formLigatures(e){for(var t=e.length-1,r=0;r<t;++r){var n=e[r],o=n.text;"-"===o&&"-"===e[r+1].text&&(r+1<t&&"-"===e[r+2].text?(e.splice(r,3,{type:"textord",mode:"text",loc:ZN.range(n,e[r+2]),text:"---"}),t-=2):(e.splice(r,2,{type:"textord",mode:"text",loc:ZN.range(n,e[r+1]),text:"--"}),t-=1)),"'"!==o&&"`"!==o||e[r+1].text!==o||(e.splice(r,2,{type:"textord",mode:"text",loc:ZN.range(n,e[r+1]),text:o+o}),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 QN("\\verb assertion failed --\n please report what input caused this bug");return{type:"verb",mode:"text",body:r=r.slice(1,-1),star:n}}UI.hasOwnProperty(t[0])&&!QO[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=UI[t[0]]+t.slice(1));var o,i=TI.exec(t);if(i&&("i"===(t=t.substring(0,i.index))?t="ı":"j"===t&&(t="ȷ")),QO[this.mode][t]){this.settings.strict&&"math"===this.mode&&BB.indexOf(t)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var a,s=QO[this.mode][t].group,l=ZN.range(e);if(ZO.hasOwnProperty(s)){var u=s;a={type:"atom",mode:this.mode,family:u,loc:l,text:t}}else a={type:s,mode:this.mode,loc:l,text:t};o=a}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(bO(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),o={type:"textord",mode:"text",loc:ZN.range(e),text:t}}if(this.consume(),i)for(var c=0;c<i[0].length;c++){var d=i[0][c];if(!$I[d])throw new QN("Unknown accent ' "+d+"'",e);var h=$I[d][this.mode]||$I[d].text;if(!h)throw new QN("Accent "+d+" unsupported in "+this.mode+" mode",e);o={type:"accent",mode:this.mode,loc:ZN.range(e),label:h,isStretchy:!1,isShifty:!0,base:o}}return o}}qI.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var GI=function(e,t){if(!("string"==typeof e||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var r=new qI(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 QN("\\tag works only in display equations");n=[{type:"tag",mode:"text",body:n,tag:r.subparse([new JN("\\df@tag")])}]}return n},WI=function(e,t,r){t.textContent="";var n=KI(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."),WI=function(){throw new QN("KaTeX doesn't work in quirks mode.")});var YI=function(e,t,r){if(r.throwOnError||!(e instanceof QN))throw e;var n=GB.makeSpan(["katex-error"],[new GO(t)]);return n.setAttribute("title",e.toString()),n.setAttribute("style","color:"+r.errorColor),n},KI=function(e,t){var r=new sO(t);try{return function(e,t,r){var n,o=BF(r);if("mathml"===r.output)return OF(e,t,o,r.displayMode,!0);if("html"===r.output){var i=yF(e,o);n=GB.makeSpan(["katex"],[i])}else{var a=OF(e,t,o,r.displayMode,!1),s=yF(e,o);n=GB.makeSpan(["katex"],[a,s])}return FF(n,r)}(GI(e,r),e,r)}catch(t){return YI(t,e,r)}},XI={version:"0.16.25",render:WI,renderToString:function(e,t){return KI(e,t).toMarkup()},ParseError:QN,SETTINGS_SCHEMA:iO,__parse:function(e,t){var r=new sO(t);return GI(e,r)},__renderToDomTree:KI,__renderToHTMLTree:function(e,t){var r=new sO(t);try{return function(e,t,r){var n=yF(e,BF(r)),o=GB.makeSpan(["katex"],[n]);return FF(o,r)}(GI(e,r),0,r)}catch(t){return YI(t,e,r)}},__setFontMetrics:function(e,t){CO[e]=t},__defineSymbol:eB,__defineFunction:tF,__defineMacro:LM,__domTree:{Span:VO,Anchor:$O,SymbolNode:GO,SvgNode:WO,PathNode:YO,LineNode:KO}},ZI=function(e){function t(){var t=e.call(this)||this,r=t.attachShadow({mode:"open"}),n=r.ownerDocument.createElement("span");return n.style.display="inline-block",r.appendChild(n),t.span=n,t}return Ng(t,e),Object.defineProperty(t,"observedAttributes",{get:function(){return["data-value"]},enumerable:!1,configurable:!0}),t.prototype.attributeChangedCallback=function(e,t,r){if("data-value"===e){if(t===r)return;this.render(r||"")}},t.prototype.render=function(e){XI.render(e,this.span,{throwOnError:!1,output:"mathml"})},t}(HTMLElement);window.customElements.get("w-e-formula-card")||window.customElements.define("w-e-formula-card",ZI),Gw("en",{formula:{formula:"Formula",placeholder:"Use LateX syntax",insert:"Insert formula",edit:"Edit formula",textToFormula:"Convert to formula",ok:"OK"}}),Gw("zh-CN",{formula:{formula:"公式",placeholder:"使用 LateX 语法",insert:"插入公式",edit:"编辑公式",textToFormula:"转换为公式",ok:"确定"}});var JI={type:"formula",elemToHtml:function(e,t){var r=e.value;return'<span data-w-e-type="formula" data-w-e-is-void data-w-e-is-inline data-value="'.concat(void 0===r?"":r,'"></span>')}},QI='<svg viewBox="0 0 1024 1024"><path d="M941.6 734.72L985.984 640H1024l-64 384H0v-74.24l331.552-391.2L0 227.008V0h980L1024 256h-34.368l-18.72-38.88C935.584 143.744 909.024 128 832 128H169.984l353.056 353.056L225.632 832H768c116 0 146.656-41.568 173.6-97.28z"></path></svg>';function eP(e){return void 0===e&&(e="r"),"".concat(e,"-").concat(Nv())}function tP(){return eP("w-e-insert-formula")}mv&&(Ym.fn.append=mv),pv&&(Ym.fn.html=pv),rv&&(Ym.fn.val=rv),nv&&(Ym.fn.on=nv),kv&&(Ym.fn.focus=kv),gv&&(Ym.fn.is=gv),bv&&(Ym.fn.parents=bv),wv&&(Ym.fn.find=wv);var rP=function(){function e(){this.title=Xw("formula.edit"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M864 0a160 160 0 0 1 128 256l-64 64-224-224 64-64c26.752-20.096 59.968-32 96-32zM64 736l-64 288 288-64 592-592-224-224L64 736z m651.584-372.416l-448 448-55.168-55.168 448-448 55.168 55.168z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.textareaId=tP(),this.buttonId=tP()}return e.prototype.getSelectedElem=function(e){var t=Oy.getSelectedNodeByType(e,"formula");return null==t?null:t},e.prototype.getValue=function(e){var t=this.getSelectedElem(e);return t&&t.value||""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||(!!Dp.isExpanded(t)||null==this.getSelectedElem(e))},e.prototype.getModalPositionNode=function(e){return this.getSelectedElem(e)},e.prototype.getModalContentElem=function(e){var t=this,r=this.textareaId,n=this.buttonId,o=Ig(lE(Xw("formula.formula"),r,Xw("formula.placeholder")),2),i=o[0],a=Ym(o[1]),s=Ig(uE(n,Xw("formula.ok")),1)[0];if(null==this.$content){var l=Ym("<div></div>");l.on("click","#".concat(n),function(n){n.preventDefault();var o=l.find("#".concat(r)).val().trim();t.updateFormula(e,o),e.hidePanelOrModal()}),this.$content=l}var u=this.$content;u.html(""),u.append(i),u.append(s);var c=this.getValue(e);return a.val(c),setTimeout(function(){a.focus()}),u[0]},e.prototype.updateFormula=function(e,t){if(t&&(e.restoreSelection(),!this.isDisabled(e))){var r=this.getSelectedElem(e);if(null!=r){var n=Oy.findPath(e,r),o={value:t};Vf.setNodes(e,o,{at:n})}}},e}();function nP(){return eP("w-e-insert-formula")}var oP=function(){function e(){this.title=Xw("formula.insert"),this.iconSvg=QI,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.textareaId=nP(),this.buttonId=nP()}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){if(null==e.selection)return!0;var t=Oy.getSelectedElems(e);return!!t.some(function(t){return e.isVoid(t)})||!!t.some(function(e){return"pre"===Oy.getNodeType(e)})},e.prototype.getModalPositionNode=function(e){return null},e.prototype.getModalContentElem=function(e){var t=this,r=this.textareaId,n=this.buttonId,o=Ig(lE(Xw("formula.formula"),r,Xw("formula.placeholder")),2),i=o[0],a=Ym(o[1]),s=Ig(uE(n,Xw("formula.ok")),1)[0];if(null==this.$content){var l=Ym("<div></div>");l.on("click","#".concat(n),function(n){n.preventDefault();var o=l.find("#".concat(r)).val().trim();t.insertFormula(e,o),e.hidePanelOrModal()}),this.$content=l}var u=this.$content;u.html(""),u.append(i),u.append(s);var c=e.selection,d="";return c&&Dp.isExpanded(c)&&(d=ff.string(e,c)),a.val(d),setTimeout(function(){a.focus()},50),u[0]},e.prototype.insertFormula=function(e,t){if(t&&(e.restoreSelection(),!this.isDisabled(e))){var r=e.selection,n={type:"formula",value:t,children:[{text:""}]};r&&Dp.isExpanded(r)&&Vf.delete(e),e.insertNode(n)}},e}();function iP(){return eP("w-e-text-to-formula")}var aP=function(){function e(){this.title=Xw("formula.textToFormula"),this.iconSvg=QI,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.textareaId=iP(),this.buttonId=iP()}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){if(null==im.insertFormula)return!0;if(null==e.selection)return!1;var t=Oy.getSelectedElems(e);return!!t.some(function(t){return e.isVoid(t)})||!!t.some(function(e){return"pre"===Oy.getNodeType(e)})},e.prototype.getModalPositionNode=function(e){return null},e.prototype.getModalContentElem=function(e){var t=this,r=this.textareaId,n=this.buttonId,o=Ig(lE(Xw("formula.formula"),r,Xw("formula.placeholder")),2),i=o[0],a=Ym(o[1]),s=Ig(uE(n,Xw("formula.ok")),1)[0];if(null==this.$content){var l=Ym("<div></div>");l.on("click","#".concat(n),function(n){n.preventDefault();var o,i=l.find("#".concat(r)).val().trim();o=i,console.warn("composeFnDeal 被调用了"),console.log("原始 latex:",o),o=function(e){return e?(e=e.trim(),/^\$\$([\s\S]*)\$\$$/.test(e)?e=e.replace(/^\$\$([\s\S]*)\$\$$/,"$1"):/^\$([\s\S]*)\$/.test(e)?e=e.replace(/^\$([\s\S]*)\$$/,"$1"):/^\\\(([\s\S]*)\\\)$/.test(e)?e=e.replace(/^\\\(([\s\S]*)\\\)$/,"$1"):/^\\\[([\s\S]*)\\\]$/.test(e)&&(e=e.replace(/^\\\[([\s\S]*)\\\]$/,"$1")),e.trim()):e}(o=function(e){return e.replace(/\\text\{([^}]*)\}/g,function(e,t){var r=t.trim().split(/\s+/).join(" \\quad ");return"\\text{".concat(r,"}")})}(o)),console.log("去掉公式包裹符号后:",o),o=function(e){return e?e=(e=(e=(e=(e=e.replace(/\\begin\{align\}/g,"\\begin{aligned}")).replace(/\\end\{align\}/g,"\\end{aligned}")).replace(/\\frac\{(\d+)\}\{(\d+)\}/g,"\\tfrac{$1}{$2}")).replace(/\\left\\\{/g,"\\left\\{")).replace(/\\right\./g,"\\right."):e}(o),console.log("fixKatexFormula 处理后:",o),o=function(e){return e.replace(/\\left\[\s*\\begin\{matrix\}([\s\S]*?)\\end\{matrix\}\s*\\right\]/g,"\\begin{bmatrix}$1\\end{bmatrix}")}(o),console.log("fixMatrixForKaTeX 处理后:",o),i=o,t.insertFormula(e,i),e.hidePanelOrModal()}),this.$content=l}var u=this.$content;u.html(""),u.append(i),u.append(s);var c=e.selection,d="";return c&&Dp.isExpanded(c)&&(d=ff.string(e,c)),a.val(d),setTimeout(function(){if(a.focus(),d){var e=a[0];e&&e.select()}},50),u[0]},e.prototype.insertFormula=function(e,t){if(t&&(e.restoreSelection(),!this.isDisabled(e))){var r=e.selection,n={type:"formula",value:t,children:[{text:""}]};r&&Dp.isExpanded(r)&&Vf.delete(e),e.insertNode(n)}},e}();var sP={type:"formula",renderElem:function(e,t,r){var n=Oy.isNodeSelected(r,e),o=e.value,i=ax("w-e-formula-card",{dataset:{value:void 0===o?"":o}},null);return ax("div",{className:"w-e-textarea-formula-container",props:{contentEditable:!1},style:{display:"inline-block",marginLeft:"3px",marginRight:"3px",border:n?"2px solid var(--w-e-textarea-selected-border-color)":"2px solid transparent",borderRadius:"3px",padding:"3px 3px"}},[i])}},lP={editorPlugin:function(e){var t=e.isInline,r=e.isVoid,n=e;return n.isInline=function(e){return"formula"===Oy.getNodeType(e)||t(e)},n.isVoid=function(e){return"formula"===Oy.getNodeType(e)||r(e)},n},renderElems:[sP],elemsToHtml:[JI],parseElemsHtml:[{selector:'span[data-w-e-type="formula"]',parseElemHtml:function(e,t,r){return{type:"formula",value:e.getAttribute("data-value")||"",children:[{text:""}]}}}],menus:[{key:"insertFormula",factory:function(){return new oP}},{key:"editFormula",factory:function(){return new rP}},{key:"textToFormula",factory:function(){return new aP}}]};Gw("en",{tableModule:{modal:{border:"Border",borderWidth:"Width",bgColor:"Back color",align:"Text Align",ok:"OK"},color:{default:"Default color",clear:"Clear back color"},borderStyle:{none:"None",solid:"Solid",dotted:"Dotted",dashed:"Dashed",double:"Double",groove:"Groove",ridge:"Ridge",inset:"Inset",outset:"Outset"},deleteCol:"Delete column",deleteRow:"Delete row",deleteTable:"Delete table",widthAuto:"Fit width",insertCol:"Insert column",insertRow:"Insert row",insertTable:"Insert table",header:"Header",column:"Title Column",mergeCell:"merge cell",splitCell:"split cell",tableProperty:"Table property",cellProperty:"Cell property"}}),Gw("zh-CN",{tableModule:{modal:{border:"边框",borderWidth:"宽度",bgColor:"背景色",align:"对齐方式",ok:"确定"},color:{default:"默认颜色",clear:"清除背景色"},borderStyle:{none:"无样式",solid:"实线",dotted:"点状虚线",dashed:"虚线",double:"双线",groove:"凹槽边框",ridge:"菱形边框",inset:"凹边框",outset:"凸边框"},deleteCol:"删除列",deleteRow:"删除行",deleteTable:"删除表格",widthAuto:"适应宽度",insertCol:"插入列",insertRow:"插入行",insertTable:"插入表格",header:"表头",column:"标题列",mergeCell:"合并单元格",splitCell:"拆分单元格",tableProperty:"表格属性",cellProperty:"单元格属性"}});var uP={type:"table",elemToHtml:function(e,t){var r=e,n=r.width,o=void 0===n?"auto":n,i=r.columnWidths,a=r.height,s=void 0===a?"auto":a,l=null==i?void 0:i.map(function(e){return"<col width=".concat(e,"></col>")}).join(""),u=l?'<colgroup contentEditable="false">'.concat(l,"</colgroup>"):"";return'<table style="width: '.concat(o,";table-layout: fixed;height:").concat(s,'">').concat(u,"<tbody>").concat(t,"</tbody></table>")}},cP={type:"table-row",elemToHtml:function(e,t){var r=e.height,n=r?' style="height: '.concat(r,'px"'):"";return"<tr".concat(n,">").concat(t,"</tr>")}},dP={type:"table-cell",elemToHtml:function(e,t){var r=e,n=r.colSpan,o=void 0===n?1:n,i=r.rowSpan,a=void 0===i?1:i,s=r.isHeader,l=void 0!==s&&s,u=r.width,c=void 0===u?"auto":u,d=r.hidden;if(void 0!==d&&d)return"";var h=l?"th":"td";return"<".concat(h,' colSpan="').concat(o,'" rowSpan="').concat(a,'" width="').concat(c,'">').concat(t,"</").concat(h,">")}},hP='<svg viewBox="0 0 1024 1024"><path d="M236.8 128L896 787.2V128H236.8z m614.4 704L192 172.8V832h659.2zM192 64h704c38.4 0 64 25.6 64 64v704c0 38.4-25.6 64-64 64H192c-38.4 0-64-25.6-64-64V128c0-38.4 25.6-64 64-64z"></path></svg>',pP={blocks:{td:"table-cell",th:"table-cell",content:"paragraph",tr:"table-row",table:"table",tbody:"table-body"}};function fP(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=pP,o=t.map(function(e){var t;return null===(t=null==n?void 0:n.blocks)||void 0===t?void 0:t[e]});return function(e){return function(e){return!ff.isEditor(e)&&kp.isElement(e)&&"type"in e}(e)&&o.includes(e.type)}}function gP(e,t){for(var r=Ig(t,2),n=r[0],o=r[1],i=[],a=2;a<arguments.length;a++)i[a-2]=arguments[a];var s=Ig(Fp.common(e,n,o),2),l=s[0],u=s[1];return!!fP.apply(void 0,Pg([e],Ig(i),!1))(l,u)||!!ff.above(e,{match:fP.apply(void 0,Pg([e],Ig(i),!1)),at:u})}function mP(e,t){var r,n;void 0===t&&(t={});var o=[];try{for(var i=Mg(function(e,t){var r,n,o,i,a,s,l,u,c,d,h,p,f,g,m,v,y,b;return void 0===t&&(t={}),Fg(this,function(w){switch(w.label){case 0:if(r=Ig(ff.nodes(e,{match:fP(e,"table"),at:t.at}),1),!(n=r[0]))return[2,[]];o=Ig(n,2),i=o[1],w.label=1;case 1:w.trys.push([1,6,7,8]),a=Mg(ff.nodes(e,{match:fP(e,"table"),at:i})),s=a.next(),w.label=2;case 2:if(s.done)return[3,5];l=Ig(s.value,2),u=l[1],c=[];try{for(y=void 0,d=Mg(ff.nodes(e,{match:fP(e,"tr"),at:u})),h=d.next();!h.done;h=d.next())p=Ig(h.value,2),f=p[1],c.push(Pg([],Ig(ff.nodes(e,{match:fP(e,"th","td"),at:f})),!1))}catch(e){y={error:e}}finally{try{h&&!h.done&&(b=d.return)&&b.call(d)}finally{if(y)throw y.error}}return[4,c];case 3:w.sent(),w.label=4;case 4:return s=a.next(),[3,2];case 5:return[3,8];case 6:return g=w.sent(),m={error:g},[3,8];case 7:try{s&&!s.done&&(v=a.return)&&v.call(a)}finally{if(m)throw m.error}return[7];case 8:return[2]}})}(e,{at:t.at})),a=i.next();!a.done;a=i.next()){for(var s=a.value,l=[],u=0,c=0;c<s.length;c+=1)s[c]&&(u=Math.max(u,s[c].length));for(c=0;c<s.length;c+=1)if(l[c]||(l[c]=[]),s[c])for(var d=0;d<s[c].length;d+=1)if(s[c][d]&&s[c][d][0]){for(var h=Ig(s[c][d],1)[0],p=h.rowSpan,f=void 0===p?1:p,g=h.colSpan,m=void 0===g?1:g,v=d;l[c]&&l[c][v];)v+=1;for(var y=0;y<m;y+=1)for(var b=0;b<f;b+=1){var w=c+b,E=v+y;l[w]||(l[w]=[]),l[w][E]||(l[w][E]=[s[c][d],{rtl:y+1,ltr:m-y,ttb:b+1,btt:f-b}])}}o.push.apply(o,Pg([],Ig(l),!1))}}catch(e){r={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return o}var vP=function(){function e(e,t){this.x=e,this.y=t}return e.valueOf=function(e,t){return new this(e,t)},e.equals=function(e,t){return e.x===t.x&&e.y===t.y},e}(),yP=new WeakMap,bP=new WeakMap,wP={isInTable:function(e,t){return void 0===t&&(t={}),!!Ig(ff.nodes(e,{match:fP(e,"table"),at:t.at}),1)[0]},selection:function(e){var t,r,n,o,i,a,s,l;return Fg(this,function(u){switch(u.label){case 0:t=yP.get(e),r=0,u.label=1;case 1:if(!(t&&r<t.length))return[3,4];for(n=[],o=0;o<t[r].length;o+=1)i=Ig(t[r][o],2),a=i[0],s=i[1],l=s.ltr,1===s.ttb&&n.push(a),o+=l-1;return[4,n];case 2:u.sent(),u.label=3;case 3:return r+=1,[3,1];case 4:return[2]}})},unselect:function(e){bP.delete(e),yP.delete(e)},isSelected:function(e,t){var r=bP.get(e);return!!r&&r.has(t)},hasSelected:function(e){return yP.has(e)}};function EP(e){return e.length?e[0].tagName.toLowerCase():""}function xP(e,t){for(var r="",n=(e.attr("style")||"").split(";"),o=n.length,i=0;i<o;i+=1){var a=n[i];if(a){var s=a.split(":");s[0].trim()===t&&(r=s[1].trim())}}return r}mv&&Ym.fn&&(Ym.fn.append=mv),nv&&Ym.fn&&(Ym.fn.on=nv),kv&&Ym.fn&&(Ym.fn.focus=kv),Jm&&Ym.fn&&(Ym.fn.attr=Jm),rv&&Ym.fn&&(Ym.fn.val=rv),pv&&Ym.fn&&(Ym.fn.html=pv),tv&&Ym.fn&&(Ym.fn.dataset=tv),Km&&Ym.fn&&(Ym.fn.addClass=Km),Xm&&Ym.fn&&(Ym.fn.removeClass=Xm),Ev&&Ym.fn&&(Ym.fn.children=Ev),dv&&Ym.fn&&(Ym.fn.each=dv),wv&&Ym.fn&&(Ym.fn.find=wv),ev&&Ym.fn&&(Ym.fn.data=ev),lv&&Ym.fn&&(Ym.fn.hide=lv),uv&&Ym.fn&&(Ym.fn.show=uv);var CP=["#f2f4f5","#febfbb","#ffdbb6","#fff798","#c5f1c0","#cddeff","#dacbfb","#e5e7eb","#bbbec4","#f86a65","#fda53c","#feea26","#63d256","#a2bcfe","#c3a5fb"];var SP=function(){function e(){this.title=Xw("tableModule.tableProperty"),this.iconSvg='<svg viewBox="0 0 20 20"><path d="M8 2v5h4V2h1v5h5v1h-5v4h.021l-.172.351-1.916.28-.151.027c-.287.063-.54.182-.755.341L8 13v5H7v-5H2v-1h5V8H2V7h5V2h1zm4 6H8v4h4V8z" opacity=".6"/><path d="m15.5 11.5 1.323 2.68 2.957.43-2.14 2.085.505 2.946L15.5 18.25l-2.645 1.39.505-2.945-2.14-2.086 2.957-.43L15.5 11.5zM17 1a2 2 0 0 1 2 2v9.475l-.85-.124-.857-1.736a2.048 2.048 0 0 0-.292-.44L17 3H3v14h7.808l.402.392L10.935 19H3a2 2 0 0 1-2-2V3a2 2 0 0 1 2-2h14z"/></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.menu="table",this.borderStyle=[{value:"none",label:Xw("tableModule.borderStyle.none")},{value:"solid",label:Xw("tableModule.borderStyle.solid")},{value:"dotted",label:Xw("tableModule.borderStyle.dotted")},{value:"dashed",label:Xw("tableModule.borderStyle.dashed")},{value:"double",label:Xw("tableModule.borderStyle.double")},{value:"groove",label:Xw("tableModule.borderStyle.groove")},{value:"ridge",label:Xw("tableModule.borderStyle.ridge")},{value:"inset",label:Xw("tableModule.borderStyle.inset")},{value:"outset",label:Xw("tableModule.borderStyle.outset")}],this.textAlignOptions=[{value:"left",label:Xw("justify.left"),svg:'<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>'},{value:"center",label:Xw("justify.center"),svg:'<svg viewBox="0 0 1024 1024"><path d="M870.4 793.6v102.4H153.6v-102.4h716.8z m102.4-230.4v102.4H51.2v-102.4h921.6z m-102.4-230.4v102.4H153.6v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>'},{value:"right",label:Xw("justify.right"),svg:'<svg viewBox="0 0 1024 1024"><path d="M972.8 793.6v102.4H256v-102.4h716.8z m0-230.4v102.4H51.2v-102.4h921.6z m0-230.4v102.4H256v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>'},{value:"justify",label:Xw("justify.justify"),svg:'<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z m0 192h1024v128H0z"></path></svg>'}]}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==Oy.getSelectedNodeByType(e,"table")},e.prototype.exec=function(e,t){},e.prototype.getModalContentNode=function(e){return Ig(ff.nodes(e,{match:fP(e,"table")}),1)[0]},e.prototype.getModalPositionNode=function(e){return null},e.prototype.getModalContentElem=function(e){var t=this,r=this.getModalContentNode(e);if(!r)return null;var n=Ig(r,2),o=n[0],i=n[1],a=Ym('<div>\n <label class="babel-container">\n <span>'.concat(Xw("tableModule.modal.border"),'</span>\n <span class="babel-container-border">\n <select name="borderStyle">\n ').concat(this.borderStyle.map(function(e){return'<option value="'.concat(e.value,'">').concat(e.label,"</option>")}).join(""),'\n </select>\n <span class="color-group" data-mark="color">\n <span class="color-group-block"></span>\n <input name="borderColor" type="hidden">\n </span>\n <input name="borderWidth" type="number" placeholder="').concat(Xw("tableModule.modal.borderWidth"),'">\n </span>\n </label>\n <div class="babel-container">\n <span>').concat(Xw("tableModule.modal.bgColor"),'</span>\n <span class="babel-container-background">\n <span class="color-group" data-mark="bgColor">\n <span class="color-group-block"></span>\n <input name="backgroundColor" type="hidden">\n </span>\n </span>\n </div>\n <label class="babel-container">\n <span>').concat(Xw("tableModule.modal.align"),'</span>\n <span class="babel-container-align">\n <select name="textAlign">\n ').concat(this.textAlignOptions.map(function(e){return'<option value="'.concat(e.value,'">').concat(e.label,"</option>")}).join(""),'\n </select>\n </span>\n </label>\n <div class="button-container">\n <button type="button">').concat(Xw("tableModule.modal.ok"),"</button>\n </div>\n </div>"));a.find("[name]").each(function(e){Ym(e).val(o[Ym(e).attr("name")])});var s=function(e,t){t?Ym(".color-group-block",e).css("background-color",t).empty():Ym(".color-group-block",e).css("background-color","").html(hP)};return a.find(".color-group").each(function(r){var n=Ym('[type="hidden"]',r).val()||"";s(r,n);var o=Ym(r);o.on("click",function(){a.find(".color-group .w-e-drop-panel").hide();var i=o.data("panel");i?i.show():(i=t.getPanelContentElem(e,{mark:o.data("mark"),selectedColor:n,callback:function(e){Ym('[type="hidden"]',r).val(e||""),s(r,e),i.hide()}}),o.append(i),o.data("panel",i))})}),a.find("button").on("click",function(){var r=Array.from(a.find("[name]")).reduce(function(e,t){return e[Ym(t).attr("name")]=Ym(t).val(),e},{}),n="cell"===t.menu?yP.get(e):null;if("cell"===t.menu&&(null==n?void 0:n.length)){n.forEach(function(t){t.forEach(function(t){Vf.setNodes(e,r,{at:t[0][1]})})});var o=n[0][0][0][1];Vf.select(e,{anchor:ff.start(e,o),focus:ff.start(e,o)})}else Vf.setNodes(e,r,{at:i});wP.unselect(e),setTimeout(function(){e.focus()})}),a[0]},e.prototype.getPanelContentElem=function(e,t){var r=t.mark,n=t.selectedColor,o=t.callback,i=e.getMenuConfig(r),a="bgColor"===r?CP:i.colors||[];if("bgColor"===r){var s=Ym('<ul class="w-e-panel-content-color w-e-panel-content-color-table-bg"></ul>');s.on("click","li",function(e){var t=e.target;if(t){e.preventDefault(),e.stopPropagation();var r="LI"===t.tagName?t:t.parentElement,n=r?r.getAttribute("data-value"):"";o(n)}});var l=Ym('\n <li data-value="" class="clear-block" title="'.concat(Xw("tableModule.color.clear"),'">\n ').concat(hP,"\n </li>\n "));s.append(l),a.forEach(function(e){var t=Ym('<li data-value="'.concat(e,'"></li>')),r=Ym('<div class="color-block" data-value="'.concat(e,'"></div>'));r.css("background-color",e),n===e&&t.addClass("active"),t.append(r),s.append(t)});var u=Ym('<div class="w-e-drop-panel"></div>');return u.append(s),u}var c=Ym('<ul class="w-e-panel-content-color"></ul>');c.on("click","li",function(e){var t=e.target;if(t){e.preventDefault(),e.stopPropagation();var r=Ym(t).attr("data-value");o(r)}}),a.forEach(function(e){var t=Ym('<div class="color-block" data-value="'.concat(e,'"></div>'));t.css("background-color",e);var r=Ym('<li data-value="'.concat(e,'"></li>'));n===e&&r.addClass("active"),r.append(t),c.append(r)});var d=Ym('\n <li data-value="" class="clear">\n '.concat(hP,"\n ").concat(Xw("tableModule.color.default"),"\n </li>\n "));c.prepend(d);var h=Ym('<div class="w-e-drop-panel"></div>');return h.append(c),h},e}(),DP=function(e){function t(){var t=e.apply(this,Pg([],Ig(arguments),!1))||this;return t.title=Xw("tableModule.cellProperty"),t.iconSvg='<svg viewBox="0 0 20 20"><path d="m11.105 18-.17 1H2.5A1.5 1.5 0 0 1 1 17.5v-15A1.5 1.5 0 0 1 2.5 1h15A1.5 1.5 0 0 1 19 2.5v9.975l-.85-.124-.15-.302V8h-5v4h.021l-.172.351-1.916.28-.151.027c-.287.063-.54.182-.755.341L8 13v5h3.105zM2 12h5V8H2v4zm10-4H8v4h4V8zM2 2v5h5V2H2zm0 16h5v-5H2v5zM13 7h5V2h-5v5zM8 2v5h4V2H8z" opacity=".6"/><path d="m15.5 11.5 1.323 2.68 2.957.43-2.14 2.085.505 2.946L15.5 18.25l-2.645 1.39.505-2.945-2.14-2.086 2.957-.43L15.5 11.5zM13 6a1 1 0 0 1 1 1v3.172a2.047 2.047 0 0 0-.293.443l-.858 1.736-1.916.28-.151.027A1.976 1.976 0 0 0 9.315 14H7a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1h6zm-1 2H8v4h4V8z"/></svg>',t.tag="button",t.showModal=!0,t.modalWidth=300,t.menu="cell",t}return Ng(t,e),t.prototype.getModalContentNode=function(e){return Ig(ff.nodes(e,{match:fP(e,"td")}),1)[0]},t}(SP),AP=function(){function e(){this.title=Xw("tableModule.deleteCol"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M327.68 510.976L393.216 445.44v-13.1072L327.68 366.7968V510.976z m327.68-78.4384l65.536-65.536V507.904L655.36 442.368v-9.8304z m393.216 484.9664V0H0v917.504h1048.576z m-65.536-131.072h-262.144v-52.4288l-13.1072 13.1072-52.4288-52.4288v91.7504H393.216v-91.7504l-52.4288 52.4288-13.1072-13.1072v52.4288H65.536V65.536H327.68v121.2416l36.0448-36.0448 29.4912 29.4912V62.2592h262.144V180.224l49.152-49.152 16.384 16.384V62.2592h262.144V786.432z m-294.912-108.1344l-160.5632-160.5632-167.1168 167.1168-78.6432-78.6432 167.1168-167.1168L288.3584 278.528l78.6432-78.6432 160.5632 160.5632 163.84-163.84 78.6432 78.6432-163.84 163.84 160.5632 160.5632-78.6432 78.6432z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||(!Dp.isCollapsed(t)||null==Oy.getSelectedNodeByType(e,"table-cell"))},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var r=Ig(ff.nodes(e,{match:function(e){return Oy.checkNodeType(e,"table-cell")},universal:!0}),1),n=Ig(r[0],2),o=n[0],i=n[1],a=Oy.getParentNode(e,o),s=(null==a?void 0:a.children.length)||0;if(!a||s<=1)Vf.removeNodes(e,{mode:"highest"});else if(null!=Oy.getParentNode(e,a)){var l=mP(e),u=0;e:for(var c=0;c<l.length;c+=1)for(var d=0;d<l[c].length;d+=1){var h=Ig(l[c][d],1),p=Ig(h[0],2)[1];if(yp.equals(i,p)){u=d;break e}}ff.withoutNormalizing(e,function(){for(var t,r,n=new Set,o=new Set,i=0;i<l.length;i+=1)if(l[i]&&l[i][u]){var a=Ig(l[i][u],2),s=Ig(a[0],2)[1],c=a[1],d=c.rtl,h=c.ltr,p=c.ttb,f=c.btt,g=s.join(",");if(d>1||h>1||p>1||f>1){var m=i-(p-1),v=u-(d-1);if(m<0||m>=l.length||!l[m]||!l[m][v])continue;var y=Ig(l[m][v],1),b=Ig(y[0],2),w=b[0],E=b[1],x=E.join(",");if(!o.has(x)){o.add(x);var C=w.rowSpan,S=void 0===C?1:C,D=w.colSpan,A=void 0===D?1:D,k=Math.max(A-1,1);Vf.setNodes(e,{rowSpan:S,colSpan:k},{at:E})}}else n.add(g)}var T=Array.from(n);T.sort(function(e,t){var r=e.split(",").map(Number),n=t.split(",").map(Number);return r[r.length-2]!==n[n.length-2]?n[n.length-2]-r[r.length-2]:n[n.length-1]-r[r.length-1]});try{for(var N=Mg(T),O=N.next();!O.done;O=N.next()){var B=O.value.split(",").map(Number);try{ff.hasPath(e,B)&&Vf.removeNodes(e,{at:B})}catch(e){console.warn("删除单元格失败:",B,e)}}}catch(e){t={error:e}}finally{try{O&&!O.done&&(r=N.return)&&r.call(N)}finally{if(t)throw t.error}}var F=Ig(ff.nodes(e,{match:function(e){return Oy.checkNodeType(e,"table")},universal:!0}),1),M=F[0];if(M){var I=Ig(M,2),P=I[0],R=I[1],L=P.columnWidths,_=Pg([],Ig(void 0===L?[]:L),!1);_.splice(u,1),Vf.setNodes(e,{columnWidths:_},{at:R})}})}}},e}(),kP=function(){function e(){this.title=Xw("tableModule.deleteRow"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M907.6736 586.5472L747.1104 425.984l163.84-163.84-78.6432-78.6432-163.84 163.84L507.904 186.7776 429.2608 262.144l163.84 163.84-167.1168 167.1168 78.6432 78.6432 167.1168-167.1168 160.5632 160.5632 75.3664-78.6432zM0 917.504V0h1048.576v917.504H0z m983.04-327.68h-22.9376l-65.536-65.536H983.04V327.68h-91.7504l65.536-65.536h26.2144V65.536H65.536v196.608h317.8496l65.536 65.536H65.536v196.608h380.1088l-65.536 65.536H65.536v196.608H983.04v-196.608z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||(!Dp.isCollapsed(t)||null==Oy.getSelectedNodeByType(e,"table-row"))},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var r=Ig(ff.nodes(e,{match:function(e){return Oy.checkNodeType(e,"table-row")},universal:!0}),1),n=Ig(r[0],2),o=n[0],i=n[1],a=Oy.getParentNode(e,o);if(((null==a?void 0:a.children.length)||0)<=1)Vf.removeNodes(e,{mode:"highest"});else{var s=Ig(ff.nodes(e,{match:function(e){return Oy.checkNodeType(e,"table-cell")},universal:!0}),1),l=Ig(s[0],2)[1],u=mP(e),c=0;e:for(var d=0;d<u.length;d+=1)for(var h=0;h<u[d].length;h+=1){var p=Ig(u[d][h],1),f=Ig(p[0],2)[1];if(yp.equals(l,f)){c=d;break e}}ff.withoutNormalizing(e,function(){for(var t,r,n=[],o=0;o<u[c].length;o+=1){var a=Ig(u[c][o],2),s=Ig(a[0],1)[0].hidden,l=a[1],d=l.ttb,h=l.btt,p=l.rtl;if(d>1||h>1){var f=c-(d-1);if(f<0||f>=u.length||!u[f]||!u[f][o])continue;var g=Ig(u[f][o],1),m=Ig(g[0],2),v=m[0],y=m[1],b=v,w=b.rowSpan,E=void 0===w?1:w,x=b.colSpan,C=void 0===x?1:x;if(s)Vf.setNodes(e,{rowSpan:Math.max(E-1,1),colSpan:C},{at:y});else if(1===d&&1===p){if(c+1<u.length&&E>1){var S={type:"table-cell",rowSpan:E-1,colSpan:C,hidden:!1,children:b.children.map(function(e){return Og({},e)})};b.isHeader&&(S.isHeader=b.isHeader),b.width&&(S.width=b.width),b.backgroundColor&&(S.backgroundColor=b.backgroundColor),b.borderWidth&&(S.borderWidth=b.borderWidth),b.borderStyle&&(S.borderStyle=b.borderStyle),b.borderColor&&(S.borderColor=b.borderColor),b.textAlign&&(S.textAlign=b.textAlign),n.push({cell:S,columnIndex:o})}else Vf.setNodes(e,{rowSpan:Math.max(E-1,1),colSpan:C},{at:y})}else Vf.setNodes(e,{rowSpan:Math.max(E-1,1),colSpan:C},{at:y})}}if(Vf.removeNodes(e,{at:i}),n.length>0){var D=i;try{n.sort(function(e,t){return e.columnIndex-t.columnIndex});try{for(var A=Mg(n),k=A.next();!k.done;k=A.next()){var T=k.value,N=T.cell,O=T.columnIndex;try{var B=Pg(Pg([],Ig(D),!1),[O],!1);Vf.insertNodes(e,N,{at:B})}catch(t){try{var F=Ig(ff.node(e,D),1)[0].children.length,M=Pg(Pg([],Ig(D),!1),[F],!1);Vf.insertNodes(e,N,{at:M})}catch(e){console.warn("插入新单元格失败:",e)}}}}catch(e){t={error:e}}finally{try{k&&!k.done&&(r=A.return)&&r.call(A)}finally{if(t)throw t.error}}}catch(e){console.warn("插入新单元格失败:",e)}}})}}},e}(),TP=function(){function e(){this.title=Xw("tableModule.deleteTable"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M826.8032 356.5312c-19.328 0-36.3776 15.6928-36.3776 35.0464v524.2624c0 19.328-16 34.56-35.328 34.56H264.9344c-19.328 0-35.5072-15.3088-35.5072-34.56V390.0416c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.6928-33.5104 35.0464V915.712c0 57.9328 44.6208 108.288 102.528 108.288H755.2c57.9328 0 108.0832-50.4576 108.0832-108.288V391.4752c-0.1024-19.2512-17.1264-34.944-36.48-34.944z" p-id="9577"></path><path d="M437.1712 775.7568V390.6048c0-19.328-14.1568-35.0464-33.5104-35.0464s-33.5104 15.616-33.5104 35.0464v385.152c0 19.328 14.1568 35.0464 33.5104 35.0464s33.5104-15.7184 33.5104-35.0464zM649.7024 775.7568V390.6048c0-19.328-17.0496-35.0464-36.3776-35.0464s-36.3776 15.616-36.3776 35.0464v385.152c0 19.328 17.0496 35.0464 36.3776 35.0464s36.3776-15.7184 36.3776-35.0464zM965.0432 217.0368h-174.6176V145.5104c0-57.9328-47.2064-101.76-104.6528-101.76h-350.976c-57.8304 0-105.3952 43.8528-105.3952 101.76v71.5264H54.784c-19.4304 0-35.0464 14.1568-35.0464 33.5104 0 19.328 15.616 33.5104 35.0464 33.5104h910.3616c19.328 0 35.0464-14.1568 35.0464-33.5104 0-19.3536-15.6928-33.5104-35.1488-33.5104z m-247.3728 0H297.3952V145.5104c0-19.328 18.2016-34.7648 37.4272-34.7648h350.976c19.1488 0 31.872 15.1296 31.872 34.7648v71.5264z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return null==e.selection||null==Oy.getSelectedNodeByType(e,"table")},e.prototype.exec=function(e,t){this.isDisabled(e)||Vf.removeNodes(e,{mode:"highest"})},e}(),NP=function(){function e(){this.title=Xw("tableModule.widthAuto"),this.iconSvg='<svg viewBox="0 0 1228 1024"><path d="M862.514337 563.200461H404.581995v121.753478a13.311987 13.311987 0 0 1-6.655993 11.468789 10.23999 10.23999 0 0 1-12.083188-1.433599l-204.799795-179.199821a13.721586 13.721586 0 0 1 0-20.479979l204.799795-179.302221a10.23999 10.23999 0 0 1 12.185588-1.535998 13.209587 13.209587 0 0 1 6.553593 11.673588v115.097485h457.932342V319.693504a11.571188 11.571188 0 0 1 18.841582-10.239989l204.799795 179.19982a13.721586 13.721586 0 0 1 0 20.47998l-204.799795 179.199821a10.23999 10.23999 0 0 1-12.185588 1.535998 13.311987 13.311987 0 0 1-6.655994-11.571188V563.200461zM136.499064 14.951409v993.893406a15.257585 15.257585 0 0 1-15.155185 15.052785H15.155185A15.155185 15.155185 0 0 1 0 1008.844815V14.951409a15.257585 15.257585 0 0 1 15.155185-15.052785h106.086294a15.155185 15.155185 0 0 1 15.257585 15.155185zM1228.798771 14.951409v993.893406a15.257585 15.257585 0 0 1-15.155185 15.052785h-106.188693a15.155185 15.155185 0 0 1-15.155185-15.052785V14.951409a15.257585 15.257585 0 0 1 15.155185-15.052785h106.086293A15.155185 15.155185 0 0 1 1228.798771 15.053809z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return!1},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||(!Dp.isCollapsed(t)||null==Oy.getSelectedNodeByType(e,"table"))},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var r=Oy.getSelectedNodeByType(e,"table");if(r){var n=r.columnWidths,o=void 0===n?[]:n,i=Oy.toDOMNode(e,r).querySelector(".table-container");if(i&&0!==o.length){var a=i.clientWidth,s=o.reduce(function(e,t){return e+t},0),l=o.map(function(e){var t=e/s;return Math.floor(t*a)}),u=e.getMenuConfig("insertTable").minWidth,c=parseInt(String(void 0===u?60:u),10)||60,d=l.map(function(e){return Math.max(c,e)}),h=d.reduce(function(e,t){return e+t},0);if(h>a){var p=a/h,f=d.map(function(e){return Math.max(c,Math.floor(e*p))});m={width:"auto",columnWidths:f};Vf.setNodes(e,m,{mode:"highest"})}else{f=Pg([],Ig(d),!1);var g=a-h-1;g>0&&f.length>0&&(f[f.length-1]+=g);m={width:"auto",columnWidths:f};Vf.setNodes(e,m,{mode:"highest"})}}else{var m={width:"auto"};Vf.setNodes(e,m,{mode:"highest"})}}}},e}();function OP(e){var t=e.children||[];return 0===t.length?[]:(t[0]||{}).children||[]}function BP(e){return OP(e).every(function(e){return!!e.isHeader})}function FP(e,t){var r=Oy.getParentNode(e,t);if(null==r)return!1;var n=Oy.getParentNode(e,r);return null!=n&&OP(n).some(function(e){return e===t})}function MP(e){var t=e.children||[],r=[];return t.forEach(function(e){var t=e.children||[];t.length>0&&r.push(t[0])}),r}function IP(e){return MP(e).every(function(e){return!!e.isHeader})}function PP(e,t){var r=Oy.getParentNode(e,t);if(null==r)return!1;var n=r.children||[];return 0!==n.length&&n[0]===t}var RP=function(){function e(){this.title=Xw("tableModule.insertCol"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M327.68 193.3312v186.7776H140.9024v91.7504H327.68v186.7776h88.4736V471.8592h190.0544V380.1088H416.1536V193.3312zM0 917.504V0h1048.576v917.504H0zM655.36 65.536H65.536v720.896H655.36V65.536z m327.68 0h-262.144v196.608h262.144V65.536z m0 262.144h-262.144v196.608h262.144V327.68z m0 262.144h-262.144v196.608h262.144v-196.608z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;if(null==t)return!0;if(!Dp.isCollapsed(t))return!0;var r=Oy.getSelectedNodeByType(e,"table");if(null==r)return!0;try{var n=Ig(ff.nodes(e,{match:function(e){return Oy.checkNodeType(e,"table-cell")},universal:!0}),1),o=n[0];if(!o)return!0;for(var i=Ig(o,2)[1],a=mP(e),s=-1,l=0;l<a.length;l+=1){for(var u=0;u<a[l].length;u+=1){var c=Ig(a[l][u],1),d=Ig(c[0],2)[1];if(yp.equals(i,d)){s=u;break}}if(-1!==s)break}if(-1===s)return!0;var h=r.columnWidths,p=(void 0===h?[]:h)[s];if(p&&p<20)return!0}catch(e){return!0}return!1},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var r=Ig(ff.nodes(e,{match:function(e){return Oy.checkNodeType(e,"table-cell")},universal:!0}),1),n=Ig(r[0],2),o=n[0],i=n[1],a=Oy.getParentNode(e,o);if(null!=a){var s=Oy.getParentNode(e,a);if(null!=s){for(var l=mP(e),u=0,c=0;c<l.length;c+=1)for(var d=0;d<l[c].length;d+=1){var h=Ig(l[c][d],1),p=Ig(h[0],2)[1];if(yp.equals(i,p)){u=d;break}}ff.withoutNormalizing(e,function(){for(var t=new Set,r=new Set,n=0;n<l.length;n+=1)if(l[n]&&l[n][u]){var o=Ig(l[n][u],2);Ig(o[0],1);var i=o[1],a=i.rtl,c=i.ltr,d=i.ttb,h=i.btt;if(a>1||c>1||d>1||h>1){var p=n-(d-1),f=u-(a-1);if(p<0||p>=l.length||!l[p]||!l[p][f])continue;var g=Ig(l[p][f],1),m=Ig(g[0],2),v=m[0],y=m[1],b=y.join(",");if(t.has(b))r.add(n);else{t.add(b);var w=v.rowSpan,E=void 0===w?1:w,x=v.colSpan,C=(void 0===x?1:x)+1;v.hidden||Vf.setNodes(e,{colSpan:C},{at:y});for(var S=0;S<E;S+=1)r.add(p+S)}}}for(n=0;n<l.length;n+=1)if(!r.has(n)&&l[n]&&l[n][u]){var D={type:"table-cell",children:[{text:""}]};0===n&&BP(s)&&(D.isHeader=!0);var A=Ig(l[n][u],1),k=Ig(A[0],2)[1];Vf.insertNodes(e,D,{at:k})}var T=Ig(ff.nodes(e,{match:function(e){return Oy.checkNodeType(e,"table")},universal:!0}),1),N=T[0];if(N){var O=Ig(N,2),B=O[0],F=O[1],M=B.columnWidths,I=void 0===M?[]:M,P=Pg([],Ig(I),!1),R=e.getMenuConfig("insertTable").minWidth,L=void 0===R?60:R,_=I[u]||parseInt(L,10)||60,z=Math.floor(_/2),H=_-z;P.splice(u,0,z),P[u+1]=H,Vf.setNodes(e,{columnWidths:P},{at:F})}})}}}},e}(),LP=function(){function e(){this.title=Xw("tableModule.insertRow"),this.iconSvg='<svg viewBox="0 0 1048 1024"><path d="M707.7888 521.0112h-147.456v-147.456H488.2432v147.456h-147.456v68.8128h147.456v147.456h72.0896v-147.456h147.456zM0 917.504V0h1048.576v917.504H0zM327.68 65.536H65.536v196.608H327.68V65.536z m327.68 0H393.216v196.608h262.144V65.536z m327.68 0h-262.144v196.608h262.144V65.536z m0 258.8672H65.536v462.0288H983.04V324.4032z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||(!Dp.isCollapsed(t)||null==Oy.getSelectedNodeByType(e,"table"))},e.prototype.exec=function(e,t){var r;if(!this.isDisabled(e)){var n=Ig(ff.nodes(e,{match:function(e){return Oy.checkNodeType(e,"table-cell")},universal:!0}),1),o=Ig(n[0],2)[1],i=mP(e),a=0;e:for(var s=0;s<i.length;s+=1)for(var l=0;l<i[s].length;l+=1){var u=Ig(i[s][l],1),c=Ig(u[0],2)[1];if(yp.equals(o,c)){a=s;break e}}var d=(null===(r=i[a])||void 0===r?void 0:r.length)||0;0!==d&&ff.withoutNormalizing(e,function(){for(var t=a+1,r=t>=0&&t<i.length,n=[],s=0;r&&s<i[a].length;s+=1){var l=Ig(i[a][s],2)[1],u=l.ttb,c=l.btt;if(u>1||c>1){var h=a-(u-1);if(h<0||h>=i.length||!i[h]||!i[h][s])continue;var p=Ig(i[h][s],1),f=Ig(p[0],2),g=f[0],m=f[1],v=g.rowSpan||1;n.push(s),g.hidden||Vf.setNodes(e,{rowSpan:v+1},{at:m})}}for(var y=(e.getMenuConfig("insertTable")||{}).minRowHeight,b={type:"table-row",children:[],height:parseInt((void 0===y?30:y).toString(),10)||30},w=0;w<d;w+=1)if(!n.includes(w)){b.children.push({type:"table-cell",children:[{text:""}]})}var E=yp.parent(o),x=yp.next(E);Vf.insertNodes(e,b,{at:x})})}},e}();var _P=function(){function e(){this.title=Xw("tableModule.insertTable"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M0 64v896h1024V64H0z m384 576v-192h256v192h-256z m256 64v192h-256v-192h256z m0-512v192h-256V192h256zM320 192v192H64V192h256z m-256 256h256v192H64v-192z m640 0h256v192h-256v-192z m0-64V192h256v192h-256zM64 704h256v192H64v-192z m640 192v-192h256v192h-256z"></path></svg>',this.tag="button",this.showDropPanel=!0,this.$content=null}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||(!Dp.isCollapsed(t)||!!Oy.getSelectedElems(e).some(function(t){var r=Oy.getNodeType(t);return"pre"===r||("table"===r||("list-item"===r||!!e.isVoid(t)))}))},e.prototype.getPanelContentElem=function(e){var t=this;if(this.$content)return this.$content[0];for(var r=Ym('<div class="w-e-panel-content-table"></div>'),n=Ym("<span>0 &times; 0</span>"),o=Ym("<table></table>"),i=0;i<10;i+=1){for(var a=Ym("<tr></tr>"),s=0;s<10;s+=1){var l=Ym("<td></td>");l.attr("data-x",s.toString()),l.attr("data-y",i.toString()),a.append(l),l.on("mouseenter",function(e){var t=e.target;if(null!=t){var r=Ym(t).dataset(),i=r.x,a=r.y;n[0].innerHTML="".concat(i+1," &times; ").concat(a+1),o.children().each(function(e){Ym(e).children().each(function(e){var t=Ym(e),r=t.dataset(),n=r.x,o=r.y;n<=i&&o<=a?t.addClass("active"):t.removeClass("active")})})}}),l.on("click",function(r){r.preventDefault();var n=r.target;if(null!=n){var o=Ym(n).dataset(),i=o.x,a=o.y;t.insertTable(e,a+1,i+1)}})}o.append(a)}return r.append(o),r.append(n),this.$content=r,r[0]},e.prototype.insertTable=function(e,t,r){var n=parseInt(t,10),o=parseInt(r,10);if(n&&o&&!(n<=0||o<=0)){if(Oy.isSelectedEmptyParagraph(e)&&Vf.removeNodes(e,{mode:"highest"}),0===e.children.length){Vf.insertNodes(e,{type:"paragraph",children:[{text:""}]},{mode:"highest"})}var i=function(e,t,r){for(var n,o=[],i=e.getMenuConfig("insertTable"),a=i.minWidth,s=void 0===a?60:a,l=i.minRowHeight,u=void 0===l?30:l,c=i.tableFullWidth,d=i.tableHeader,h=Array(r).fill(parseInt(s,10)||60),p=0;p<t;p+=1){for(var f=[],g=0;g<r;g+=1){var m={type:"table-cell",children:[{text:""}]};0===p&&(m.isHeader=null===(n=null==d?void 0:d.selected)||void 0===n||n),f.push(m)}o.push({type:"table-row",children:f,height:parseInt(u,10)||30})}return{type:"table",width:(null==c?void 0:c.selected)?"100%":"auto",children:o,columnWidths:h}}(e,n,o);Vf.insertNodes(e,i,{mode:"highest"})}},e}(),zP=function(){function e(){this.title=Xw("tableModule.mergeCell"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M482.2 508.4 331.3 389c-3-2.4-7.3-.2-7.3 3.6V478H184V184h204v128c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V144c0-15.5-12.5-28-28-28H144c-15.5 0-28 12.5-28 28v736c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v128H184V546h140v85.4c0 3.8 4.4 6 7.3 3.6l150.9-119.4c2.4-1.8 2.4-5.4 0-7.2zM880 116H596c-15.5 0-28 12.5-28 28v168c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V184h204v294H700v-85.4c0-3.8-4.3-6-7.3-3.6l-151 119.4c-2.3 1.8-2.3 5.3 0 7.1l151 119.5c2.9 2.3 7.3.2 7.3-3.6V546h140v294H636V712c0-2.2-1.8-4-4-4h-60c-2.2 0-4 1.8-4 4v168c0 15.5 12.5 28 28 28h284c15.5 0 28-12.5 28-28V144c0-15.5-12.5-28-28-28z"/></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return!this.canMerge(e)},e.prototype.exec=function(e,t){this.isDisabled(e)||(this.merge(e),wP.unselect(e))},e.prototype.canMerge=function(e){var t=yP.get(e);if(!t||!t.length)return!1;var r=Ig(t[t.length-1][t[t.length-1].length-1],1),n=Ig(r[0],2)[1],o=Ig(t[0][0],1);return!!gP(e,[Ig(o[0],2)[1],n],"table")},e.prototype.merge=function(e){if(this.canMerge(e)){var t=yP.get(e);if(t&&t.length){var r=Ig(t[0][0],1),n=Ig(r[0],2)[1],o=Ig(Fp.children(e,n,{reverse:!0}),1),i=Ig(o[0],2)[1];ff.withoutNormalizing(e,function(){for(var r,o,a,s,l,u,c=new Map,d=[],h=1/0,p=-1/0,f=1/0,g=-1/0,m=0;m<t.length;m+=1)for(var v=0;v<t[m].length;v+=1){var y=Ig(t[m][v],2),b=Ig(y[0],2),w=b[0],E=b[1],x=y[1].ttb,C=E.join(",");if(1===x&&!c.has(C)){c.set(C,{path:E,x:m,y:v,element:w});var S=w.rowSpan,D=void 0===S?1:S,A=w.colSpan,k=m,T=m+D-1,N=v,O=v+(void 0===A?1:A)-1;h=Math.min(h,k),p=Math.max(p,T),f=Math.min(f,N),g=Math.max(g,O)}}var B=p-h+1,F=g-f+1;try{for(var M=Mg(c),I=M.next();!I.done;I=M.next()){E=Ig(I.value,2)[1].path;yp.equals(n,E)||d.push(E)}}catch(e){r={error:e}}finally{try{I&&!I.done&&(o=M.return)&&o.call(M)}finally{if(r)throw r.error}}d.sort(function(e,t){for(var r=0;r<Math.min(e.length,t.length);r+=1)if(e[r]!==t[r])return t[r]-e[r];return t.length-e.length});try{for(var P=Mg(d),R=P.next();!R.done;R=P.next()){E=R.value;try{if(!ff.hasPath(e,E))continue;try{for(var L=(l=void 0,Mg(Fp.children(e,E,{reverse:!0}))),_=L.next();!_.done;_=L.next()){var z=Ig(_.value,2)[1];Vf.moveNodes(e,{to:yp.next(i),at:z})}}catch(e){l={error:e}}finally{try{_&&!_.done&&(u=L.return)&&u.call(L)}finally{if(l)throw l.error}}Vf.removeNodes(e,{at:E})}catch(e){}}}catch(e){a={error:e}}finally{try{R&&!R.done&&(s=P.return)&&s.call(P)}finally{if(a)throw a.error}}Vf.setNodes(e,{rowSpan:B,colSpan:F},{at:n})})}}},e}(),HP=function(){function e(){this.title=Xw("tableModule.splitCell"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M362.667 494.933v53.334l25.6-25.6zm0-241.066L460.8 352V78.933H57.6v98.134h305.067zm0 535.466v57.6H57.6v98.134h403.2V691.2zM661.333 494.933v53.334l-25.6-25.6zm0-241.066L563.2 352V78.933h403.2v98.134H661.333zm0 535.466v57.6H966.4v98.134H563.2V691.2z"/><path d="M753.067 341.333 693.333 281.6 512 460.8 330.667 281.6l-59.734 59.733 181.334 181.334L270.933 704l59.734 59.733L512 582.4l181.333 181.333L753.067 704 571.733 522.667z"/></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){var t=Ig(ff.nodes(e,{match:function(e){return Oy.checkNodeType(e,"table-cell")}}),1),r=t[0];if(!r)return!0;var n=Ig(r,1)[0],o=n.rowSpan,i=void 0===o?1:o,a=n.colSpan;return!(i>1||(void 0===a?1:a)>1)},e.prototype.exec=function(e,t){this.isDisabled(e)||this.split(e)},e.prototype.split=function(e,t){void 0===t&&(t={});var r=Ig(ff.nodes(e,{match:fP(e,"table","th","td"),at:t.at}),2),n=r[0],o=r[1];if(n&&o){var i=BP(Ig(n,1)[0]),a=Ig(o,2),s=a[0],l=a[1],u=s.rowSpan,c=void 0===u?1:u,d=s.colSpan,h=void 0===d?1:d;1===c&&1===h||ff.withoutNormalizing(e,function(){Vf.setNodes(e,{rowSpan:1,colSpan:1},{at:l});for(var t=1;t<h;t+=1){var r={type:"table-cell",children:[{text:""}]};0===l[l.length-2]&&i&&(r.isHeader=!0);var n=l.slice(0,-1),o=l[l.length-1]+t,a=Pg(Pg([],Ig(n),!1),[o],!1);try{Vf.insertNodes(e,r,{at:a})}catch(t){try{var s=Ig(ff.node(e,n),1)[0].children.length,u=Pg(Pg([],Ig(n),!1),[s],!1);Vf.insertNodes(e,r,{at:u})}catch(e){console.warn("插入同行单元格失败: ".concat(e instanceof Error?e.message:String(e)))}}}for(var d=1;d<c;d+=1){var p=l[l.length-2]+d,f=Pg(Pg([],Ig(l.slice(0,-2)),!1),[p],!1);try{var g=Ig(ff.node(e,f),1)[0];if(!g){console.warn("目标行 ".concat(p," 不存在"));continue}for(t=0;t<h;t+=1){r={type:"table-cell",children:[{text:""}]},o=l[l.length-1]+t,a=Pg(Pg([],Ig(f),!1),[o],!1);try{var m=g.children.length;if(o>=m){var v=Pg(Pg([],Ig(f),!1),[m],!1);Vf.insertNodes(e,r,{at:v})}else Vf.insertNodes(e,r,{at:a})}catch(t){try{var y=g.children.length;u=Pg(Pg([],Ig(f),!1),[y],!1);Vf.insertNodes(e,r,{at:u})}catch(e){console.warn("插入单元格到第".concat(d,"行失败: ").concat(e instanceof Error?e.message:String(e)))}}}}catch(e){console.warn("处理第".concat(d,"行时出错: ").concat(e instanceof Error?e.message:String(e)))}}})}},e}(),jP=function(){function e(){this.title=Xw("tableModule.header"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M704 128l-64 0L384 128 320 128 0 128l0 256 0 64 0 192 0 64 0 256 320 0 64 0 256 0 64 0 320 0 0-256 0-64L1024 448 1024 384 1024 128 704 128zM640 640 384 640 384 448l256 0L640 640zM64 448l256 0 0 192L64 640 64 448zM320 896 64 896l0-192 256 0L320 896zM640 896 384 896l0-192 256 0L640 896zM960 896l-256 0 0-192 256 0L960 896zM960 640l-256 0L704 448l256 0L960 640z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){var t=Oy.getSelectedNodeByType(e,"table");return null!=t&&BP(t)},e.prototype.isActive=function(e){return!!this.getValue(e)},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||(!Dp.isCollapsed(t)||null==Oy.getSelectedNodeByType(e,"table"))},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var r=!t,n=Oy.getSelectedNodeByType(e,"table");if(null!=n){var o=OP(n),i=IP(n);o.forEach(function(t){var n=PP(e,t),o=!r&&n&&i;Vf.setNodes(e,{isHeader:!!o||r},{at:Oy.findPath(e,t)})})}}},e}(),VP=function(){function e(){this.title=Xw("tableModule.column"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M128 0h256v320H128V0z m0 384h256v256H128V384z m0 320h256v320H128V704z m320-576h64v320h-64V128z m0 384h64v256h-64V512z m0 320h64v192h-64V832z m128-704h64v320h-64V128z m0 384h64v256h-64V512z m0 320h64v192h-64V832z m128-704h320v320H704V128z m0 384h320v256H704V512z m0 320h320v192H704V832z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){var t=Oy.getSelectedNodeByType(e,"table");return null!=t&&IP(t)},e.prototype.isActive=function(e){return!!this.getValue(e)},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||(!Dp.isCollapsed(t)||null==Oy.getSelectedNodeByType(e,"table"))},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var r=!t,n=Oy.getSelectedNodeByType(e,"table");if(null!=n){var o=MP(n),i=BP(n);o.forEach(function(t){var n=FP(e,t),o=!r&&n&&i;Vf.setNodes(e,{isHeader:!!o||r},{at:Oy.findPath(e,t)})})}}},e}(),$P={key:"insertTable",factory:function(){return new _P}},UP={key:"deleteTable",factory:function(){return new TP}},qP={key:"insertTableRow",factory:function(){return new LP}},GP={key:"deleteTableRow",factory:function(){return new kP}},WP={key:"insertTableCol",factory:function(){return new RP}},YP={key:"deleteTableCol",factory:function(){return new AP}},KP={key:"tableHeader",factory:function(){return new jP}},XP={key:"tableColumn",factory:function(){return new VP}},ZP={key:"tableFullWidth",factory:function(){return new NP}},JP={key:"mergeTableCell",factory:function(){return new zP}},QP={key:"splitTableCell",factory:function(){return new HP}},eR={key:"setTableProperty",factory:function(){return new SP}},tR={key:"setTableCellProperty",factory:function(){return new DP}};var rR={selector:"td:not([data-w-e-type]),th:not([data-w-e-type])",parseElemHtml:function(e,t,r){var n=Ym(e),o=n.text().replace(/\s+/gm," ").trim();0===(t=t.filter(function(e){return"paragraph"===Oy.getNodeType(e)||(!!Df.isText(e)||!!r.isInline(e))})).length&&(t=[{text:n.text().replace(/\s+/gm," ")}]);var i=parseInt(n.attr("colSpan")||"1",10),a=parseInt(n.attr("rowSpan")||"1",10),s="none"===xP(n,"display")&&0===o.length,l=n.attr("width")||"auto";return{type:"table-cell",isHeader:"th"===EP(n),colSpan:i,rowSpan:a,width:l,children:t,hidden:s}}};var nR={selector:"tr:not([data-w-e-type])",parseElemHtml:function(e,t,r){for(var n=Ym(e),o=[],i=0;i<t.length;i+=1){var a=t[i];if("table-cell"===Oy.getNodeType(a)){var s=a;if(s.hidden)continue;o.push(s)}}return{type:"table-row",height:parseInt(xP(n,"height")||"0",10)||void 0,children:o}}};var oR,iR={selector:"table:not([data-w-e-type])",parseElemHtml:function(e,t,r){var n,o,i=Ym(e),a="auto";"100%"===xP(i,"width")&&(a="100%"),"100%"===i.attr("width")&&(a="100%");var s={type:"table",width:a,height:parseInt(xP(i,"height")||"0",10),children:t.filter(function(e){return"table-row"===Oy.getNodeType(e)})},l=(null===(n=i.find("tr")[0])||void 0===n?void 0:n.children)||[],u=function(e){if(!e||0===e.length)return[];var t=[];return Array.from(e).forEach(function(e){var r=parseInt(e.getAttribute("span")||"1",10),n=parseInt(e.getAttribute("width")||xP(Ym(e),"width")||"90",10);if(!Number.isNaN(n))for(var o=0;o<r;o+=1)t.push(n)}),t}((null===(o=i.find("colgroup")[0])||void 0===o?void 0:o.children)||null);if(u.length>0)s.columnWidths=u;else if(l.length>0){var c=[];Array.from(l).forEach(function(e){var t=parseInt(Ym(e).attr("colSpan")||"1",10),r=parseInt(xP(Ym(e),"width")||"90",10);c.push(r);for(var n=1;n<t;n+=1)c.push(90)}),s.columnWidths=c}return s}},aR=null===(oR=null===window||void 0===window?void 0:window.getComputedStyle(document.documentElement))||void 0===oR?void 0:oR.getPropertyValue("--w-e-textarea-border-color");function sR(e){var t=e.selection;if(null==t)return!1;var r=Ig(ff.nodes(e,{match:function(e){return Oy.checkNodeType(e,"table-cell")}}),1),n=r[0];if(n){var o=Ig(n,2)[1],i=ff.start(e,o);if(yf.equals(t.anchor,i))return!0}return!1}function lR(e,t){var r=t.offset;if(0===r)return!1;var n=ff.node(e,t);if(!Df.isText(n[0]))return!1;var o=Fp.string(n[0]);return!(r>=o.length)&&("\n"===o[r-1]&&"\r"===o[r])}function uR(e,t,r){var n=e.selection;if(null==n||"line"===t)return!1;var o=Ig(ff.nodes(e,{match:function(e){return Oy.checkNodeType(e,"table-cell")}}),1),i=o[0],a=n.anchor;if("backward"===r&&0===n.anchor.offset&&(a=ff.before(e,n)),"forward"===r&&ff.isEnd(e,n.anchor,n.anchor.path)&&(a=ff.after(e,n)),null==a)return!1;var s=ff.above(e,{at:a,match:function(e){return Oy.checkNodeType(e,"table-cell")}});if(null==s||null==i||!yp.equals(s[1],i[1]))return!1;var l=ff.node(e,a);if(!Df.isText(l[0])||l[0].text.length<2)return!1;var u="backward"===r?[a.offset-2,a.offset]:[a.offset,a.offset+2],c=Fp.string(l[0]);return"\n\r"===c.slice.apply(c,Pg([],Ig(u),!1))?(Vf.insertText(e,c.slice(0,u[0])+c.slice(u[1]),{at:{anchor:ff.start(e,a.path),focus:ff.end(e,a.path)}}),!0):!!lR(e,a)&&(Vf.insertText(e,c.slice(0,n.anchor.offset-1)+c.slice(n.anchor.offset+1),{at:{anchor:ff.start(e,a.path),focus:ff.end(e,a.path)}}),!0)}function cR(e,t){var r=ff.nodes(e,{at:t,match:function(e){return"table"===Oy.getNodeType(e)}});return!!Pg([],Ig(r),!1).find(function(){return!0})}function dR(e){var t,r;try{for(var n=Mg(["paragraph","header1","header2","header3","header4","header5","header6","blockquote","list-item","todo","divider"]),o=n.next();!o.done;o=n.next()){var i=o.value;if(Oy.getSelectedNodeByType(e,i))return!0}}catch(e){t={error:e}}finally{try{o&&!o.done&&(r=n.return)&&r.call(n)}finally{if(t)throw t.error}}return!1}function hR(e){var t=document.createElement("div");t.innerHTML=e;var r=[],n=!1;return Array.from(t.childNodes).forEach(function(e){if(e.nodeType!==Node.TEXT_NODE){if(!(e instanceof HTMLElement)||"p"!==e.tagName.toLowerCase())return r.push(e.cloneNode(!0)),void(n=!0);var t=e.innerHTML,o=t.trim();if(o&&"&nbsp;"!==o){n&&r.push(document.createElement("br"));var i=document.createElement("div");i.innerHTML=t,Array.from(i.childNodes).forEach(function(e){r.push(e.cloneNode(!0))}),n=!0}}else(e.textContent||"").trim()&&(r.push(e.cloneNode(!0)),n=!0)}),t.replaceChildren.apply(t,Pg([],Ig(r),!1)),t.innerHTML}var pR={selector:"table",preParseHtml:function(e){var t=Ym(e);if("table"!==EP(t))return e;var r=t.find("tbody");if(0===r.length)return e;var n=t.find("tr");t.append(n),r.remove();for(var o=t.find("td, th"),i=0;i<o.length;i+=1){var a=Ym(o[i]);a.attr("width","auto");var s=a.html()||"";s=hR(s=(s=s.replace(/<o:p[^>]*>[\s\S]*?<\/o:p>/gi,"")).replace(/<\/o:p>/gi,"")),a.html(s)}return t[0]}};function fR(e){var t,r,n=[],o=0;try{for(var i=Mg(e),a=i.next();!a.done;a=i.next()){o+=a.value,n.push(o)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}function gR(e){var t,r,n=[],o=e.reduce(function(e,t){return e+t},0);try{for(var i=Mg(e),a=i.next();!a.done;a=i.next()){var s=a.value;n.push(s/o)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}var mR=null;var vR=!1,yR=!1,bR=0,wR=null,ER=Ym(window);ER.on("mousedown",function(e){var t=e.target;if(t.closest('[data-block-type="table-cell"]'))vR=!0;else if("DIV"===t.tagName&&t.closest(".column-resizer-item")){if(null===wR)return;yR=!0;var r=e.clientX;bR=r,document.body.style.cursor="col-resize",e.preventDefault()}ER.on("mousemove",xR),ER.on("mouseup",CR)});var xR=xE(function(e){if(yR&&null!==wR){e.preventDefault();var t,r=e.clientX,n=r-bR,o=Ig(ff.nodes(wR,{match:fP(wR,"table")}),1),i=Ig(o[0],1)[0],a=i.columnWidths,s=void 0===a?[]:a,l=i.resizingIndex,u=void 0===l?-1:l,c=Oy.getSelectedNodeByType(wR,"table"),d=Oy.toDOMNode(wR,c).querySelector(".table");if(d)t=function(e,t,r,n,o){var i=Pg([],Ig(e),!1);if(t<0||t>=e.length)return i;var a=o.getMenuConfig("insertTable").minWidth,s=parseInt((void 0===a?60:a).toString(),10)||60,l=r-(0===t?0:n[t-1]),u=Math.max(s,l);return i[t]=Math.floor(100*u)/100,i}(s,u,r-d.getBoundingClientRect().left,fR(s),wR);else t=function(e,t,r,n){var o=Pg([],Ig(e),!1),i=n.getMenuConfig("insertTable").minWidth,a=parseInt((void 0===i?60:i).toString(),10)||60,s=o[t],l=Math.max(a,s+r);return o[t]=Math.floor(100*l)/100,o}(s,u,n,wR);Vf.setNodes(wR,{columnWidths:t},{mode:"highest"})}},100);function CR(e){vR=!1,yR=!1,wR=null,document.body.style.cursor="",ER.off("mousemove",xR),ER.off("mouseup",CR)}function SR(e,t){"mouseenter"===t.type?Vf.setNodes(e,{isResizing:!0},{mode:"highest"}):Vf.setNodes(e,{isResizing:!1},{mode:"highest"})}function DR(e){var t,r,n=[],o=0;try{for(var i=Mg(e),a=i.next();!a.done;a=i.next()){o+=a.value,n.push(o)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return n}var AR=!1,kR=0,TR=null,NR=Ym(window);var OR=xE(function(e){if(AR&&null!==TR){e.preventDefault();var t,r=e.clientY,n=r-kR,o=Ig(ff.nodes(TR,{match:fP(TR,"table")}),1),i=Ig(o[0],1)[0],a=i.children,s=i.resizingRowIndex,l=void 0===s?-1:s,u=a.map(function(e){return e.height||30}),c=Oy.getSelectedNodeByType(TR,"table"),d=Oy.toDOMNode(TR,c).querySelector(".table");if(d)t=function(e,t,r,n,o){var i=Pg([],Ig(e),!1);if(t<0||t>=e.length)return i;var a=(o.getMenuConfig("insertTable")||{}).minRowHeight,s=parseInt((void 0===a?30:a).toString(),10)||30,l=r-(0===t?0:n[t-1]),u=Math.max(s,l);return i[t]=Math.floor(100*u)/100,i}(u,l,r-d.getBoundingClientRect().top,DR(u),TR);else t=function(e,t,r,n){var o=Pg([],Ig(e),!1),i=(n.getMenuConfig("insertTable")||{}).minRowHeight,a=parseInt((void 0===i?30:i).toString(),10)||30,s=o[t],l=Math.max(a,s+r);return o[t]=Math.floor(100*l)/100,o}(u,l,n,TR);var h=Oy.getSelectedNodeByType(TR,"table");if(h&&l>=0&&l<t.length){var p=Pg(Pg([],Ig(Oy.findPath(TR,h)),!1),[l],!1);try{Vf.setNodes(TR,{height:t[l]},{at:p})}catch(e){console.warn("更新行高度失败:",e)}}}},100);function BR(e){AR=!1,TR=null,document.body.style.cursor="",NR.off("mousemove",OR),NR.off("mouseup",BR)}function FR(e,t){"mouseenter"===t.type?Vf.setNodes(e,{isResizingRow:!0},{mode:"highest"}):Vf.setNodes(e,{isResizingRow:!1},{mode:"highest"})}NR.on("mousedown",function(e){var t=e.target;if("DIV"===t.tagName&&t.closest(".row-resizer-item")){if(null===TR)return;AR=!0;var r=e.clientY;kR=r,document.body.style.cursor="row-resize",e.preventDefault()}NR.on("mousemove",OR),NR.on("mouseup",BR)});var MR={type:"table",renderElem:function(e,t,r){var n=function(e,t){if(e.isDisabled())return!1;var r=e.selection;if(null==r)return!0;if(Dp.isCollapsed(r))return!0;var n=r.anchor,o=r.focus,i=Oy.findPath(e,t),a=ff.start(e,i),s=ff.end(e,i),l=yf.compare(n,s)<=0&&yf.compare(n,a)>=0,u=yf.compare(o,s)<=0&&yf.compare(o,a)>=0;return!!(l&&u&&yp.equals(n.path.slice(0,3),o.path.slice(0,3)))}(r,e),o=e,i=o.width,a=void 0===i?"auto":i,s=o.height,l=o.columnWidths,u=void 0===l?[]:l,c=o.scrollWidth,d=void 0===c?0:c,h=o.isHoverCellBorder,p=o.resizingIndex,f=o.isResizing,g=o.isHoverRowBorder,m=o.resizingRowIndex,v=o.isResizingRow,y=Oy.isNodeSelected(r,e),b=Ig(wP.selection(r),1)[0],w=gR(u),E=Ax("div",{className:"table-container","data-selected":y,on:{mousedown:function(t){if("DIV"===t.target.tagName&&t.preventDefault(),!r.isDisabled()){var n=t.target.closest('[data-block-type="table-cell"]');if(n){wP.unselect(r);var o=r.selection;if(o&&Dp.isRange(o)&&!Dp.isCollapsed(o)){var i=ff.above(r,{at:o.anchor,match:function(e){return Oy.checkNodeType(e,"table-cell")}}),a=ff.above(r,{at:o.focus,match:function(e){return Oy.checkNodeType(e,"table-cell")}});if(i&&a&&!yp.equals(i[1],a[1]))try{var s=Oy.toSlateNode(r,n);if(kp.isElement(s)&&Oy.checkNodeType(s,"table-cell")){var l=Oy.findPath(r,s),u=ff.start(r,l);Vf.select(r,{anchor:u,focus:u})}}catch(e){}}}var c=Oy.findPath(r,e),d=ff.start(r,c),h=r.selection;if(null!=h)h.anchor.path[0]!==c[0]&&"DIV"===t.target.tagName&&r.select(d);else r.select(d)}}}},Ax("table",{width:a,contentEditable:n,className:"table ".concat(b?"table-selection-none":""),style:{width:"100%"===a?a:"".concat(u.reduce(function(e,t){return e+t},0),"px")},on:{mousemove:ew(function(t){wP.hasSelected(r)||(function(e,t,r,n){if(!e.isDisabled()&&!vR&&!yR){var o=t,i=o.width,a=void 0===i?"auto":i,s=o.columnWidths,l=void 0===s?[]:s,u=o.isHoverCellBorder,c=o.resizingIndex,d=r.clientX,h=r.target;if(Pv(h)&&d>(g=h.getBoundingClientRect()).x+5&&d<g.x+g.width-5)return void(u&&Vf.setNodes(e,{isHoverCellBorder:!1,resizingIndex:-1},{mode:"highest"}));if(Pv(h)){var p=h.closest(".table");if(p)for(var f=r.clientX,g=p.getBoundingClientRect(),m="100%"===a?gR(l).map(function(e){return e*n}):l,v=fR(m),y=0;y<v.length;y+=1)if(f-g.x>=v[y]-5&&f-g.x<v[y]+5){if(c===y)return;return void Vf.setNodes(e,{isHoverCellBorder:!0,resizingIndex:y},{mode:"highest"})}}!0===u&&Vf.setNodes(e,{isHoverCellBorder:!1,resizingIndex:-1},{mode:"highest"})}}(r,e,t,d),function(e,t,r){if(!e.isDisabled()&&!AR){var n=t,o=n.children,i=n.isHoverRowBorder,a=n.resizingRowIndex,s=r.target;if(Pv(s)){var l=s.closest(".table");if(l)for(var u=r.clientY,c=l.getBoundingClientRect(),d=DR(o.map(function(e){return e.height||30})),h=0;h<d.length;h+=1)if(u-c.y>=d[h]-5&&u-c.y<d[h]+5){if(a===h)return;return void Vf.setNodes(e,{isHoverRowBorder:!0,resizingRowIndex:h},{mode:"highest"})}}!0===i&&Vf.setNodes(e,{isHoverRowBorder:!1,resizingRowIndex:-1},{mode:"highest"})}}(r,e,t))},25)}},Ax("colgroup",{contentEditable:!1},u.map(function(e){return Ax("col",{width:e})})),Ax("tbody",null,t)),Ax("div",{className:"column-resizer",contentEditable:!1},u.map(function(t,n){var o=t;"100%"===a&&(o=w[n]*d);var i=e.children.reduce(function(e,t){return e+(t.height||30)},0),l=s&&s>0?s:i>0?i:200;return Ax("div",{className:"column-resizer-item",style:{minWidth:"".concat(o,"px")}},Ax("div",{className:"resizer-line-hotzone ".concat(h&&n===p?"visible ":"").concat(f&&n===p?"highlight":""),style:{height:"".concat(l,"px"),pointerEvents:h&&n===p?"auto":"none"},on:{mouseenter:function(e){return SR(r,e)},mouseleave:function(e){return SR(r,e)},mousedown:function(e){return function(e){yR||(wR=e)}(r)}}},Ax("div",{className:"resizer-line"})))})),Ax("div",{className:"row-resizer",contentEditable:!1},e.children.map(function(e,t){var n=u.reduce(function(e,t){return e+t},0),o=e.height||30;return Ax("div",{className:"row-resizer-item",style:{minHeight:"".concat(o,"px")}},Ax("div",{className:"resizer-line-hotzone-horizontal ".concat(g&&t===m?"visible ":"").concat(v&&t===m?"highlight":""),style:{width:"".concat(n,"px")},on:{mouseenter:function(e){return FR(r,e)},mouseleave:function(e){return FR(r,e)},mousedown:function(e){return function(e){AR||(TR=e)}(r)}}},Ax("div",{className:"resizer-line-horizontal"})))}))),x=ax("div",{hook:{insert:function(e){var t=e.elm;return function(e,t){if(Pv(t)){var r=t.querySelector("table");r&&(mR=new ResizeObserver(function(t){var r=Ig(t,1)[0].contentRect;Vf.setNodes(e,{scrollWidth:r.width,height:r.height},{mode:"highest"})}),mR.observe(r))}}(r,t)},destroy:function(){mR&&(null==mR||mR.disconnect(),mR=null)}}},E);return x}},IR={type:"table-row",renderElem:function(e,t,r){var n=e.height;return Ax("tr",{style:n?{height:"".concat(n,"px")}:{}},t)}},PR={type:"table-cell",renderElem:function(e,t,r){var n=FP(r,e),o=PP(r,e),i=e,a=i.colSpan,s=void 0===a?1:a,l=i.rowSpan,u=void 0===l?1:l,c=i.isHeader,d=void 0!==c&&c,h=i.hidden,p=void 0!==h&&h,f=wP.isSelected(r,e);return Ax((n||o)&&d?"th":"td",{colSpan:s,rowSpan:u,"data-block-type":"table-cell",className:f?"w-e-selected":"",style:{display:p?"none":""}},t)}};function RR(e,t){null==e.data&&(e.data={});var r=e.data;null==r.style&&(r.style={}),Object.assign(r.style,t)}var LR={renderStyle:function(e,t){var r,n;if(!kp.isElement(e))return t;var o=e,i=o.backgroundColor,a=o.borderWidth,s=o.borderStyle,l=o.borderColor,u=o.textAlign,c={};if(i&&(c.backgroundColor=i),a){/^\d+(\.\d+)?$/.test(a)?c.borderWidth="".concat(a,"px"):c.borderWidth=a}s&&(c.borderStyle="none"===s?"":s),l&&(c.borderColor=l),u&&(c.textAlign=u);var d=t;return"table"===e.type?RR(null===(n=(null===(r=d.children)||void 0===r?void 0:r[0]).children)||void 0===n?void 0:n[0],c):RR(d,c),d},styleToHtml:function(e,t){if("table"!==e.type&&"table-cell"!==e.type)return t;var r=e.backgroundColor,n=e.borderWidth,o=e.borderStyle,i=e.borderColor,a=e.textAlign;if(!(r||n||o||i||a))return t;var s=Ym(t);return r&&s.css("background-color",r),n?s.css("border-width","".concat(n,"px")):(o||i)&&s.css("border-width","1px"),o&&s.css("border-style","none"===o?"":o),i&&s.css("border-color",i),a&&s.css("text-align",a),function(e){return 0===e.length?"":e[0].outerHTML}(s)},parseStyleHtml:function(e,t,r){if(!["TABLE","TD","TH"].includes(e.tagName))return t;var n=Ym(e),o=t,i=xP(n,"background-color");i||(i=xP(n,"background")),i&&(o.backgroundColor=i);var a=xP(n,"border");a||"TD"!==e.tagName||(a="1px solid ".concat(aR));var s,l=Ig((null==a?void 0:a.split(" "))||[],3),u=l[0],c=l[1],d=l[2];(u=xP(n,"border-width")||u)&&(o.borderWidth=(s=u.trim())&&"string"==typeof s&&s.includes("pt")?s.replace(/(\d+(\.\d+)?)\s*pt/g,function(e,t){var r=(4*parseFloat(t)/3).toFixed(2);return"".concat(r,"px")}):s),(c=xP(n,"border-style")||c)&&(o.borderStyle="none"===c?"":c),(d=xP(n,"border-color")||d)&&(o.borderColor=d);var h=xP(n,"text-align");return(h=xP(n,"text-align")||h)&&(o.textAlign=h),t},renderElems:[MR,IR,PR],elemsToHtml:[uP,cP,dP],preParseHtml:[pR],parseElemsHtml:[rR,nR,iR],menus:[$P,UP,qP,GP,WP,YP,KP,XP,ZP,JP,QP,eR,tR],editorPlugin:function(e){var t=e.insertBreak,r=e.deleteBackward,n=e.deleteForward,o=e.deleteFragment,i=e.normalizeNode,a=e.insertData,s=e.handleTab,l=e.selectAll,u=e;u.insertBreak=function(){null==Oy.getSelectedNodeByType(u,"table")?t():u.insertText("\n\r")},u.deleteBackward=function(e){if(!sR(u)&&!uR(u,e,"backward")){var t=u.selection;if(t){var n=ff.before(u,t),o=ff.above(u,{at:t,match:function(e){return Oy.checkNodeType(e,"table-cell")}});if(n){var i=cR(u,n);if(!o&&i&&dR(u))return}}r(e)}},u.handleTab=function(){var t;if(Oy.getSelectedNodeByType(u,"table")){var r=ff.above(e);Oy.checkNodeType(r[0],"table-cell")&&Vf.select(e,r[1]);var n=ff.next(e);if(n)n[0]&&n[0].text&&(n=null!==(t=ff.above(e,{at:n[1]}))&&void 0!==t?t:n),Vf.select(e,n[1]);else{var o=u.children||[],i=o.length;if(Oy.checkNodeType(o[i-1],"table")){var a=Oy.genEmptyParagraph();Vf.insertNodes(u,a,{at:[i]}),u.handleTab()}}}else s()},u.deleteForward=function(e){if(!sR(u)&&!uR(u,e,"forward")){var t=u.selection;if(t){var r=ff.after(u,t),o=ff.above(u,{at:t,match:function(e){return Oy.checkNodeType(e,"table-cell")}});if(r){var i=cR(u,r);if(!o&&i&&dR(u))return}}n(e)}},u.deleteFragment=function(e){var t=u.selection;if(t){var r,n=!1,i={anchor:t.anchor,focus:t.focus},a=yf.isBefore(i.anchor,i.focus);if(lR(u,t.anchor))(r=ff[a?"before":"after"](u,t.anchor))&&(i.anchor=r),n=!0;if(lR(u,t.focus))(r=ff[a?"after":"before"](u,t.focus))&&(i.focus=r),n=!0;n&&Vf.setSelection(u,i),o(e)}},u.normalizeNode=function(e){var t=Ig(e,2),r=t[0],n=t[1];if("table"!==Oy.getNodeType(r))return i([r,n]);if(Oy.isLastNode(u,r)){var o=Oy.genEmptyParagraph();Vf.insertNodes(u,o,{at:[n[0]+1]})}},u.insertData=function(e){if(null!=Oy.getSelectedNodeByType(u,"table")){var t=e.getData("text/plain");if("\n"===t||/<img[^>]+>/.test(e.getData("text/html")))a(e);else{if(t.includes("\t")){var r=t.split("\n").filter(function(e){return""!==e.trim()}).map(function(e){return e.split("\t")});if(r.length>1||1===r.length&&r[0].length>1){var n=function(e,t){var r;if(!e.selection)return!1;var n=Ig(ff.nodes(e,{match:function(e){return Oy.checkNodeType(e,"table-cell")},universal:!0}),1),o=n[0];if(!o)return!1;for(var i=Ig(o,2)[1],a=mP(e),s=-1,l=-1,u=0;u<a.length;u+=1){for(var c=0;c<a[u].length;c+=1){var d=Ig(a[u][c],1),h=Ig(d[0],2)[1];if(yp.equals(i,h)){s=u,l=c;break}}if(-1!==s)break}if(-1===s||-1===l)return!1;var p=t.length,f=Math.max.apply(Math,Pg([],Ig(t.map(function(e){return e.length})),!1)),g=a.length,m=(null===(r=a[0])||void 0===r?void 0:r.length)||0,v=s+p-1,y=l+f-1,b=Math.max(0,v-g+1),w=Math.max(0,y-m+1);return ff.withoutNormalizing(e,function(){if(w>0){var r=Ig(ff.nodes(e,{match:function(e){return Oy.checkNodeType(e,"table")},universal:!0}),1);if(C=r[0]){for(var n=Ig(C,2),o=n[0],i=n[1],u=o.columnWidths,c=void 0===u?[]:u,d=(e.getMenuConfig("insertTable")||{}).minWidth,h=parseInt((void 0===d?60:d).toString(),10)||60,p=0;p<a.length;p+=1)for(var f=Pg(Pg([],Ig(i),!1),[p],!1),v=0;v<w;v+=1){var y=a[p].length+v,E=Pg(Pg([],Ig(f),!1),[y],!1);Vf.insertNodes(e,{type:"table-cell",children:[{text:""}]},{at:E})}var x=Pg([],Ig(c),!1);for(v=0;v<w;v+=1)x.push(h);Vf.setNodes(e,{columnWidths:x},{at:i})}}if(b>0){var C,S=Ig(ff.nodes(e,{match:function(e){return Oy.checkNodeType(e,"table")},universal:!0}),1);if(C=S[0]){i=Ig(C,2)[1];var D=(e.getMenuConfig("insertTable")||{}).minRowHeight,A=parseInt((void 0===D?30:D).toString(),10)||30,k=m+w;for(v=0;v<b;v+=1){for(var T={type:"table-row",children:[],height:A},N=0;N<k;N+=1)T.children.push({type:"table-cell",children:[{text:""}]});var O=Pg(Pg([],Ig(i),!1),[g+v],!1);Vf.insertNodes(e,T,{at:O})}}}var B=mP(e);for(v=0;v<t.length;v+=1)for(N=0;N<t[v].length;N+=1){var F=s+v,M=l+N;if(!(F>=B.length||M>=B[F].length)){var I=Ig(B[F][M],1),P=Ig(I[0],2),R=P[0],L=P[1],_=R,z=t[v][N]||"",H={};_.backgroundColor&&(H.backgroundColor=_.backgroundColor),_.borderWidth&&(H.borderWidth=_.borderWidth),_.borderStyle&&(H.borderStyle=_.borderStyle),_.borderColor&&(H.borderColor=_.borderColor),_.textAlign&&(H.textAlign=_.textAlign),_.isHeader&&(H.isHeader=_.isHeader),_.colSpan&&(H.colSpan=_.colSpan),_.rowSpan&&(H.rowSpan=_.rowSpan),_.width&&(H.width=_.width),Vf.delete(e,{at:L}),Vf.insertNodes(e,Og({type:"table-cell",children:[{text:z}]},H),{at:L})}}}),!0}(u,r);if(n)return}}ff.insertText(u,t)}}else a(e)},u.selectAll=function(){var e=u.selection;if(null!=e){var t=Oy.getSelectedNodeByType(u,"table-cell");if(null!=t){var r=e.anchor,n=e.focus;if(yp.equals(r.path.slice(0,3),n.path.slice(0,3)))if(0!==Fp.string(t).length){var o=Oy.findPath(u,t),i={anchor:ff.start(u,o),focus:ff.end(u,o)};u.select(i)}else l();else l()}else l()}else l()},function(e){var t=e.apply;e.apply=function(r){if(!Rp.isSelectionOperation(r)||!r.newProperties)return t(r);var n=Og(Og({},e.selection),r.newProperties);if(!Dp.isRange(n))return wP.unselect(e),t(r);var o=function(e){return kp.isElement(e)&&("table-cell"===e.type||"th"===e.type||"td"===e.type)},i=Ig(ff.nodes(e,{match:o,at:Dp.start(n),mode:"lowest"}),1)[0],a=Ig(ff.nodes(e,{match:o,at:Dp.end(n),mode:"lowest"}),1)[0];if(!i||!a)return wP.unselect(e),t(r);var s=Ig(i,2)[1],l=Ig(a,2)[1];if(yp.equals(s,l)||!gP(e,[s,l],"table"))return wP.unselect(e),t(r);try{var u=mP(e,{at:s});if(!u||0===u.length)return wP.unselect(e),t(r);for(var c=vP.valueOf(0,0),d=vP.valueOf(0,0),h=!1,p=!1,f=0;f<u.length;f+=1)if(u[f])for(var g=0;g<u[f].length;g+=1)if(u[f][g]){var m=Ig(u[f][g],1),v=Ig(m[0],2)[1];yp.equals(s,v)&&(c.x=f,c.y=g,h=!0),yp.equals(l,v)&&(d.x=f,d.y=g,p=!0)}if(!h||!p)return wP.unselect(e),t(r);for(var y=vP.valueOf(Math.min(c.x,d.x),Math.min(c.y,d.y)),b=vP.valueOf(Math.max(c.x,d.x),Math.max(c.y,d.y));;){var w=vP.valueOf(y.x,y.y),E=vP.valueOf(b.x,b.y);for(f=w.x;f<=E.x&&f<u.length;f+=1)if(u[f])for(g=w.y;g<=E.y&&g<u[f].length;g+=1)if(u[f][g]){var x=Ig(u[f][g],2)[1];if(x){var C=x.rtl,S=x.ltr,D=x.btt,A=x.ttb;w.x=Math.min(w.x,f-(A-1)),w.y=Math.min(w.y,g-(C-1)),E.x=Math.max(E.x,f+(D-1)),E.y=Math.max(E.y,g+(S-1))}}if(vP.equals(y,w)&&vP.equals(b,E))break;y=w,b=E}var k=[],T=new WeakSet;for(f=y.x;f<=b.x&&f<u.length;f+=1)if(u[f]){var N=[];for(g=y.y;g<=b.y&&g<u[f].length;g+=1)if(u[f][g]){var O=Ig(u[f][g],1),B=Ig(O[0],1)[0];B&&(T.add(B),N.push(u[f][g]))}N.length>0&&k.push(N)}yP.set(e,k),bP.set(e,T)}catch(n){return wP.unselect(e),t(r)}t(r)}}(u),u.getTableSelection=function(){return yP.get(u)||null};var c=u.addMark,d=u.removeMark,h=Og({},Vf);return u.addMark=function(e,t){var r=yP.get(u);if(r&&r.length>0){var n=u.selection;r.forEach(function(r){r.forEach(function(r){var n=Ig(r[0],2)[1],o=ff.start(u,n),i=ff.end(u,n);Vf.select(u,{anchor:o,focus:i}),c(e,t)})}),n&&Vf.select(u,n)}else c(e,t)},u.removeMark=function(e){var t=yP.get(u);if(t&&t.length>0){var r=u.selection;t.forEach(function(t){t.forEach(function(t){var r=Ig(t[0],2)[1],n=ff.start(u,r),o=ff.end(u,r);Vf.select(u,{anchor:n,focus:o}),d(e)})}),r&&Vf.select(u,r)}else d(e)},Vf.setNodes=function(e,t,r){if(void 0===r&&(r={}),e===u){var n=yP.get(u);if(n&&n.length>0)return"hidden"in t||"rowSpan"in t||"colSpan"in t?void h.setNodes(e,t,r):void n.forEach(function(n){n.forEach(function(n){var o=Ig(n[0],2)[1];h.setNodes(e,t,Og(Og({},r),{at:o}))})})}h.setNodes(e,t,r)},u}};Gw("en",{uploadImgModule:{uploadImage:"Upload Image",uploadError:"{{fileName}} upload error"}}),Gw("zh-CN",{uploadImgModule:{uploadImage:"上传图片",uploadError:"{{fileName}} 上传出错"}});mv&&(Ym.fn.append=mv),nv&&(Ym.fn.on=nv),xv&&(Ym.fn.remove=xv),rv&&(Ym.fn.val=rv),Av&&(Ym.fn.click=Av),lv&&(Ym.fn.hide=lv);var _R=new WeakMap;function zR(e){return e.getMenuConfig("uploadImage")}function HR(e,t){return Bg(this,void 0,void 0,function(){return Fg(this,function(r){return[2,new Promise(function(r){var n=new FileReader;n.readAsDataURL(t),n.onload=function(){var o=n.result;if(o){var i=o.toString(),a=0===i.indexOf("data:image")?"":i;Uk(e,i,t.name,a),r("ok")}}})]})})}function jR(e,t){return Bg(this,void 0,void 0,function(){var r,n;return Fg(this,function(o){switch(o.label){case 0:return r=function(e){var t=_R.get(e);if(null!=t)return t;var r=zR(e),n=r.onSuccess,o=r.onProgress,i=r.onFailed,a=r.customInsert,s=r.onError;return t=UD(Og(Og({},r),{onProgress:function(t){e.showProgressBar(t),o&&o(t)},onSuccess:function(t,r){if(a)return a(r,function(t,r,n){return Uk(e,t,r,n)}),void n(t,r);var o=r.errno,s=void 0===o?1:o,l=r.data,u=void 0===l?{}:l;if(0===s){if(Array.isArray(u))u.forEach(function(t){var r=t.url,n=void 0===r?"":r,o=t.alt,i=void 0===o?"":o,a=t.href;Uk(e,n,i,void 0===a?"":a)});else{var c=u.url,d=void 0===c?"":c,h=u.alt,p=void 0===h?"":h,f=u.href;Uk(e,d,p,void 0===f?"":f)}n(t,r)}else i(t,r)},onError:function(e,t,r){s(e,t,r)}})),_R.set(e,t),t}(e),n=t.map(function(e){return{name:e.name,type:e.type,size:e.size,data:e}}),r.addFiles(n),[4,r.upload()];case 1:return o.sent(),[2]}})})}function VR(e,t){return Bg(this,void 0,void 0,function(){var r,n,o,i,a,s,l,u,c,d,h,p,f,g,m;return Fg(this,function(v){switch(v.label){case 0:if(null==t)return[2];r=Array.prototype.slice.call(t),n=zR(e),o=n.customUpload,i=n.base64LimitSize,a=[],v.label=1;case 1:v.trys.push([1,10,11,16]),s=!0,l=Rg(r),v.label=2;case 2:return[4,l.next()];case 3:return u=v.sent(),(p=u.done)?[3,9]:(m=u.value,s=!1,d=(c=m).size,i&&d<=i?[4,HR(e,c)]:[3,5]);case 4:return v.sent(),[3,8];case 5:return o?[4,o(c,function(t,r,n){return Uk(e,t,r,n)},e)]:[3,7];case 6:return v.sent(),[3,8];case 7:a.push(c),v.label=8;case 8:return s=!0,[3,2];case 9:return[3,16];case 10:return h=v.sent(),f={error:h},[3,16];case 11:return v.trys.push([11,,14,15]),s||p||!(g=l.return)?[3,13]:[4,g.call(l)];case 12:v.sent(),v.label=13;case 13:return[3,15];case 14:if(f)throw f.error;return[7];case 15:return[7];case 16:return a.length>0?[4,jR(e,a)]:[3,18];case 17:v.sent(),v.label=18;case 18:return[2]}})})}var $R=function(){function e(){this.title=Xw("uploadImgModule.uploadImage"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M828.708571 585.045333a48.761905 48.761905 0 0 0-48.737523 48.761905v18.529524l-72.143238-72.167619a135.972571 135.972571 0 0 0-191.585524 0l-34.133334 34.133333-120.880762-120.953905a138.898286 138.898286 0 0 0-191.585523 0l-72.167619 72.167619V292.400762a48.786286 48.786286 0 0 1 48.761904-48.761905h341.23581a48.737524 48.737524 0 0 0 34.474667-83.285333 48.737524 48.737524 0 0 0-34.474667-14.287238H146.236952A146.212571 146.212571 0 0 0 0 292.400762v585.289143A146.358857 146.358857 0 0 0 146.236952 1024h584.996572a146.212571 146.212571 0 0 0 146.236952-146.310095V633.807238a48.786286 48.786286 0 0 0-48.761905-48.761905zM146.261333 926.45181a48.737524 48.737524 0 0 1-48.761904-48.761905v-174.128762l141.409523-141.458286a38.497524 38.497524 0 0 1 53.126096 0l154.526476 154.624 209.627428 209.724953H146.236952z m633.734096-48.761905c-0.073143 9.337905-3.145143 18.383238-8.777143 25.843809l-219.843048-220.94019 34.133333-34.133334a37.546667 37.546667 0 0 1 53.613715 0l140.873143 141.897143V877.714286zM1009.615238 160.231619L863.329524 13.897143a48.737524 48.737524 0 0 0-16.091429-10.24c-11.849143-4.87619-25.161143-4.87619-37.059047 0a48.761905 48.761905 0 0 0-16.067048 10.24l-146.236952 146.334476a49.005714 49.005714 0 0 0 69.217523 69.241905l62.902858-63.390476v272.627809a48.761905 48.761905 0 1 0 97.475047 0V166.083048l62.902857 63.390476a48.737524 48.737524 0 0 0 69.217524 0 48.761905 48.761905 0 0 0 0-69.241905z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.isDisabled=function(e){return jk(e)},e.prototype.getMenuConfig=function(e){return e.getMenuConfig("uploadImage")},e.prototype.exec=function(e,t){var r=this.getMenuConfig(e),n=r.allowedFileTypes,o=void 0===n?[]:n,i=r.customBrowseAndUpload;if(i)i(function(t,r,n){return Uk(e,t,r,n)});else{var a="";o.length>0&&(a='accept="'.concat(o.join(", "),'"'));var s=Ym("body"),l=Ym('<input type="file" '.concat(a," multiple/>"));l.hide(),s.append(l),l.click(),l.on("change",function(){var t=l[0].files;VR(e,t)})}},e}();var UR={menus:[{key:"uploadImage",factory:function(){return new $R},config:{server:"",fieldName:"wangeditor-uploaded-image",maxFileSize:2097152,maxNumberOfFiles:100,allowedFileTypes:["image/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:1e4,onBeforeUpload:function(e){return e},onProgress:function(e){},onSuccess:function(e,t){},onFailed:function(e,t){console.error("'".concat(e.name,"' upload failed"),t)},onError:function(e,t,r){console.error("'".concat(e.name,"' upload error"),r)},base64LimitSize:0}}],editorPlugin:function(e){var t=e.insertData,r=e;return r.insertData=function(n){if(jk(r))t(n);else if(n.getData("text/plain"))t(n);else{var o=n.files;if(o.length<=0)t(n);else Array.prototype.slice.call(o).some(function(e){return"image"===Ig(e.type.split("/"),1)[0]})?VR(e,o):t(n)}},r}};function qR(e){return e.length?e[0].tagName.toLowerCase():""}function GR(e,t,r,n){void 0===t&&(t="auto"),void 0===r&&(r="auto"),void 0===n&&(n={});var o=Ym(e),i=n.width,a=void 0===i?"":i,s=n.height,l=void 0===s?"":s,u="";return a&&(u+="width: ".concat(a,";")),l&&(u+="height: ".concat(l,";")),o.attr("width",t),o.attr("height",r),o.attr("style",u),o[0].outerHTML}Gw("en",{videoModule:{delete:"Delete",uploadVideo:"Upload video",insertVideo:"Insert video",videoSrc:"Video source",videoSrcPlaceHolder:"Video file url, or third-party <iframe>",videoPoster:"Video poster",videoPosterPlaceHolder:"Poster image url",ok:"Ok",editSize:"Edit size",edit:"Edit video",width:"Width",height:"Height"}}),Gw("zh-CN",{videoModule:{delete:"删除视频",uploadVideo:"上传视频",insertVideo:"插入视频",videoSrc:"视频地址",videoSrcPlaceHolder:"视频文件 url 或第三方 <iframe>",videoPoster:"视频封面",videoPosterPlaceHolder:"封面图片 url",ok:"确定",editSize:"修改尺寸",edit:"编辑视频",width:"宽度",height:"高度"}}),mv&&(Ym.fn.append=mv),nv&&(Ym.fn.on=nv),kv&&(Ym.fn.focus=kv),Jm&&(Ym.fn.attr=Jm),rv&&(Ym.fn.val=rv),pv&&(Ym.fn.html=pv),yv&&(Ym.fn.parent=yv),Zm&&(Ym.fn.hasClass=Zm),Cv&&(Ym.fn.empty=Cv);var WR={type:"video",elemToHtml:function(e,t){var r=e,n=r.src,o=void 0===n?"":n,i=r.poster,a=void 0===i?"":i,s=r.width,l=void 0===s?"auto":s,u=r.height,c=void 0===u?"auto":u,d=r.style,h=void 0===d?{}:d,p=r.textAlign,f='<div data-w-e-type="video" data-w-e-is-void style="text-align: '.concat(void 0===p?"center":p,';">\n');if(0===o.trim().indexOf("<iframe ")){f+=GR(o,l,c,h)}else{var g=h.width,m=void 0===g?"":g,v=h.height,y=void 0===v?"":v,b="";m&&(b+="width: ".concat(m,";")),y&&(b+="height: ".concat(y,";")),f+='<video poster="'.concat(a,'" controls="true" width="').concat(l,'" height="').concat(c,'" style="').concat(b,'"><source src="').concat(o,'" type="video/mp4"/></video>')}return f+="\n</div>"}};function YR(e){return void 0===e&&(e="r"),"".concat(e,"-").concat(Nv())}function KR(e){var t={};return e.trim().split(";").forEach(function(e){if(e){var r=Ig(e.split(":"),2),n=r[0],o=r[1];n&&o&&(t[n.trim()]=o.trim())}}),t}function XR(){return YR("w-e-insert-video")}var ZR=function(){function e(){this.title=Xw("videoModule.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=XR(),this.heightInputId=XR(),this.buttonId=XR()}return e.prototype.getSelectedVideoNode=function(e){return Oy.getSelectedNodeByType(e,"video")},e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getSelectedVideoNode(e)},e.prototype.getModalPositionNode=function(e){return this.getSelectedVideoNode(e)},e.prototype.getModalContentElem=function(e){var t=this,r=t.widthInputId,n=t.heightInputId,o=t.buttonId,i=Ig(sE(Xw("videoModule.width"),r,"auto"),2),a=i[0],s=Ym(i[1]),l=Ig(sE(Xw("videoModule.height"),n,"auto"),2),u=l[0],c=Ym(l[1]),d=Ig(uE(o,Xw("videoModule.ok")),1)[0],h=this.getSelectedVideoNode(e);if(null==this.$content){var p=Ym("<div></div>");p.on("click","#".concat(o),function(t){t.preventDefault();var o=p.find("#".concat(r)).val().trim(),i=p.find("#".concat(n)).val().trim(),a=function(e){return/^\d+(\.\d+)?%$/.test(e)},s=function(e){return/^\d+(\.\d+)?$/.test(e)},l="auto",u="auto";a(o)?l=o:s(o)&&(l="".concat(parseInt(o,10),"px")),a(i)?u=i:s(i)&&(u="".concat(parseInt(i,10),"px"));var c=h.style,d=void 0===c?{}:c;e.restoreSelection();var f={style:Og(Og({},d),{width:l,height:u})};Vf.setNodes(e,f,{match:function(e){return Oy.checkNodeType(e,"video")}}),e.hidePanelOrModal()}),this.$content=p}var f=this.$content;if(f.empty(),f.append(a),f.append(u),f.append(d),null==h)return f[0];var g=h.style,m=void 0===g?{}:g,v=m.width,y=void 0===v?"":v,b=m.height,w=void 0===b?"":b;return s.val(y),c.val(w),setTimeout(function(){s.focus()}),f[0]},e}();function JR(){return YR("w-e-edit-video")}var QR=function(){function e(){this.title=Xw("videoModule.edit"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M864 0a160 160 0 0 1 128 256l-64 64-224-224 64-64c26.752-20.096 59.968-32 96-32zM64 736l-64 288 288-64 592-592-224-224L64 736z m651.584-372.416l-448 448-55.168-55.168 448-448 55.168 55.168z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.srcInputId=JR(),this.posterInputId=JR(),this.buttonId=JR()}return e.prototype.getSelectedVideoNode=function(e){return Oy.getSelectedNodeByType(e,"video")},e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){return null==e.selection||null==this.getSelectedVideoNode(e)},e.prototype.getModalPositionNode=function(e){return this.getSelectedVideoNode(e)},e.prototype.getModalContentElem=function(e){var t=this,r=this,n=r.srcInputId,o=r.posterInputId,i=r.buttonId,a=Ig(sE(Xw("videoModule.videoSrc"),n,Xw("videoModule.videoSrcPlaceHolder")),2),s=a[0],l=a[1],u=Ig(sE(Xw("videoModule.videoPoster"),o,Xw("videoModule.videoPosterPlaceHolder")),2),c=u[0],d=u[1],h=Ym(l),p=Ym(d),f=Ig(uE(i,Xw("videoModule.ok")),1)[0];if(null==this.$content){var g=Ym("<div></div>");g.on("click","#".concat(i),function(r){return Bg(t,void 0,void 0,function(){var t,i,a,s;return Fg(this,function(l){return r.preventDefault(),t=g.find("#".concat(n)).val().trim(),i=g.find("#".concat(o)).val().trim(),a=YR("video-"),s={src:t,poster:i,key:a},e.restoreSelection(),Vf.setNodes(e,s,{match:function(e){return Oy.checkNodeType(e,"video")}}),e.hidePanelOrModal(),[2]})})}),this.$content=g}var m=this.$content;m.empty(),m.append(s),m.append(c),m.append(f);var v=this.getSelectedVideoNode(e);if(null==v)return m[0];var y=v.src,b=void 0===y?"":y,w=v.poster,E=void 0===w?"":w;return h.val(b),p.val(E),setTimeout(function(){h.focus()}),m[0]},e}();function eL(e,t){return Bg(this,arguments,void 0,function(e,t,r,n,o){var i,a,s,l,u,c,d;return void 0===r&&(r=""),void 0===n&&(n=""),void 0===o&&(o=""),Fg(this,function(h){switch(h.label){case 0:return t?(e.restoreSelection(),i=e.getMenuConfig("insertVideo"),a=i.onInsertedVideo,s=i.checkVideo,l=i.parseVideoSrc,[4,s(t,r)]):[2];case 1:return"string"==typeof(u=h.sent())?(e.alert(u,"error"),[2]):null==u?[2]:[4,l(t)];case 2:return 0!==(c=h.sent()).trim().indexOf("<iframe ")&&(c=function(e){return e.replace(/</g,"&lt;").replace(/>/g,"&gt;")}(c)),d={type:"video",src:c,poster:r,children:[{text:""}],style:{width:n,height:o}},Promise.resolve().then(function(){Oy.isSelectedEmptyParagraph(e)&&Vf.removeNodes(e,{mode:"highest"}),Vf.insertNodes(e,d,{mode:"highest"})}),a(d),[2]}})})}function tL(){return YR("w-e-insert-video")}var rL=function(){function e(){this.title=Xw("videoModule.insertVideo"),this.iconSvg='<svg viewBox="0 0 1024 1024"><path d="M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z"></path></svg>',this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.srcInputId=tL(),this.posterInputId=tL(),this.buttonId=tL()}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||(!Dp.isCollapsed(t)||!!Oy.getSelectedElems(e).some(function(t){var r=Oy.getNodeType(t);return"pre"===r||("list-item"===r||!!e.isVoid(t))}))},e.prototype.getModalPositionNode=function(e){return null},e.prototype.getModalContentElem=function(e){var t=this,r=this,n=r.srcInputId,o=r.posterInputId,i=r.buttonId,a=Ig(sE(Xw("videoModule.videoSrc"),n,Xw("videoModule.videoSrcPlaceHolder")),2),s=a[0],l=a[1],u=Ig(sE(Xw("videoModule.videoPoster"),o,Xw("videoModule.videoPosterPlaceHolder")),2),c=u[0],d=u[1],h=Ym(l),p=Ym(d),f=Ig(uE(i,Xw("videoModule.ok")),1)[0];if(null==this.$content){var g=Ym("<div></div>");g.on("click","#".concat(i),function(r){return Bg(t,void 0,void 0,function(){var t,i;return Fg(this,function(a){switch(a.label){case 0:return r.preventDefault(),t=g.find("#".concat(n)).val().trim(),i=g.find("#".concat(o)).val().trim(),[4,eL(e,t,i)];case 1:return a.sent(),e.hidePanelOrModal(),[2]}})})}),this.$content=g}var m=this.$content;return m.empty(),m.append(s),m.append(c),m.append(f),h.val(""),p.val(""),setTimeout(function(){h.focus()}),m[0]},e}();function nL(e){return e.getMenuConfig("uploadVideo")}var oL=new WeakMap;function iL(e,t){return Bg(this,void 0,void 0,function(){var r,n;return Fg(this,function(o){switch(o.label){case 0:return r=function(e){var t=oL.get(e);if(null!=t)return t;var r=nL(e),n=r.onSuccess,o=r.onProgress,i=r.onFailed,a=r.customInsert,s=r.onError;return t=UD(Og(Og({},r),{onProgress:function(t){e.showProgressBar(t),o&&o(t)},onSuccess:function(t,r){if(a)return a(r,function(t,r){return eL(e,t,r)}),void n(t,r);var o=r.errno,s=void 0===o?1:o,l=r.data,u=void 0===l?{}:l;if(0===s){var c=u.url,d=void 0===c?"":c,h=u.poster;eL(e,d,void 0===h?"":h),n(t,r)}else i(t,r)},onError:function(e,t,r){s(e,t,r)}})),oL.set(e,t),t}(e),n=t.map(function(e){return{name:e.name,type:e.type,size:e.size,data:e}}),r.addFiles(n),[4,r.upload()];case 1:return o.sent(),[2]}})})}var aL=function(){function e(){this.title=Xw("videoModule.uploadVideo"),this.iconSvg='<svg viewBox="0 0 1056 1024"><path d="M805.902261 521.819882a251.441452 251.441452 0 0 0-251.011972 246.600033 251.051015 251.051015 0 1 0 502.023944 8.823877 253.237463 253.237463 0 0 0-251.011972-255.42391z m59.463561 240.001647v129.898403h-116.701631v-129.898403h-44.041298l101.279368-103.504859 101.279368 103.504859z" p-id="6802"></path><path d="M788.254507 0.000781H99.094092A98.663439 98.663439 0 0 0 0.001171 99.093701v590.067495a98.663439 98.663439 0 0 0 99.092921 99.092921h411.7549a266.434235 266.434235 0 0 1-2.186448-41.815807 275.843767 275.843767 0 0 1 275.180024-270.729042 270.650955 270.650955 0 0 1 103.504859 19.834201V99.093701A101.51363 101.51363 0 0 0 788.254507 0.000781zM295.054441 640.747004V147.507894l394.146189 246.600033z"></path></svg>',this.tag="button"}return e.prototype.getValue=function(e){return""},e.prototype.isActive=function(e){return!1},e.prototype.exec=function(e,t){var r=this.getMenuConfig(e),n=r.allowedFileTypes,o=void 0===n?[]:n,i=r.customBrowseAndUpload;if(i)i(function(t,r){return eL(e,t,r)});else{var a="";o.length>0&&(a='accept="'.concat(o.join(", "),'"'));var s=Ym("body"),l=Ym('<input type="file" '.concat(a," multiple/>"));l.hide(),s.append(l),l.click(),l.on("change",function(){var t=l[0].files;!function(e,t){Bg(this,void 0,void 0,function(){var r,n,o,i,a,s,l,u,c,d,h,p;return Fg(this,function(f){switch(f.label){case 0:if(null==t)return[2];r=Array.prototype.slice.call(t),n=[],o=nL(e).customUpload,f.label=1;case 1:f.trys.push([1,8,9,14]),i=!0,a=Rg(r),f.label=2;case 2:return[4,a.next()];case 3:return s=f.sent(),(c=s.done)?[3,7]:(p=s.value,i=!1,l=p,o?[4,o(l,function(t,r){return eL(e,t,r)},e)]:[3,5]);case 4:return f.sent(),[3,6];case 5:n.push(l),f.label=6;case 6:return i=!0,[3,2];case 7:return[3,14];case 8:return u=f.sent(),d={error:u},[3,14];case 9:return f.trys.push([9,,12,13]),i||c||!(h=a.return)?[3,11]:[4,h.call(a)];case 10:f.sent(),f.label=11;case 11:return[3,13];case 12:if(d)throw d.error;return[7];case 13:return[7];case 14:return n.length>0?[4,iL(e,n)]:[3,16];case 15:f.sent(),f.label=16;case 16:return[2]}})})}(e,t)})}},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||(!Dp.isCollapsed(t)||!!Oy.getSelectedElems(e).some(function(t){var r=Oy.getNodeType(t);return"pre"===r||("list-item"===r||!!e.isVoid(t))}))},e.prototype.getMenuConfig=function(e){return e.getMenuConfig("uploadVideo")},e}();function sL(e,t,r,n,o,i){return void 0===t&&(t=""),void 0===r&&(r="auto"),void 0===n&&(n="auto"),void 0===o&&(o={}),void 0===i&&(i="center"),{type:"video",src:e,poster:t,width:r,height:n,style:o,children:[{text:""}],textAlign:i}}var lL={selector:'div[data-w-e-type="video"]',parseElemHtml:function(e,t,r){var n=Ym(e),o="",i="",a="auto",s="auto",l={},u=n.find("iframe");if(u.length>0)return a=u.attr("width")||"auto",s=u.attr("height")||"auto",l=KR(l=u.attr("style")||""),sL(o=u[0].outerHTML,i,a,s,l,KR(n.attr("style")||"")["text-align"]||"center");var c=n.find("video");return(o=c.attr("src")||"")||c.length>0&&(o=c.find("source").attr("src")||""),a=c.attr("width")||"auto",s=c.attr("height")||"auto",sL(o,i=c.attr("poster")||"",a,s,l=KR(l=c.attr("style")||""),KR(n.attr("style")||"")["text-align"]||"center")}};var uL={selector:"iframe,video,p",preParseHtml:function(e){var t=Ym(e),r=t;if("p"===qR(t)){var n=t.children();if(1===n.length){var o=n[0],i=o.tagName.toLowerCase();["iframe","video"].includes(i)&&(r=Ym(o))}}var a=qR(r);if("iframe"!==a&&"video"!==a)return r[0];if("video"===r.parent().attr("data-w-e-type"))return r[0];var s=Ym('<div data-w-e-type="video" data-w-e-is-void style="text-align: center;"></div>');return s.append(r),s[0]}};var cL={type:"video",renderElem:function(e,t,r){var n,o=e,i=o.src,a=void 0===i?"":i,s=o.poster,l=void 0===s?"":s,u=o.key,c=void 0===u?"":u,d=o.width,h=void 0===d?"auto":d,p=o.height,f=void 0===p?"auto":p,g=o.style,m=void 0===g?{}:g,v=o.textAlign,y=void 0===v?"center":v,b=Oy.isNodeSelected(r,e);if(0===a.trim().indexOf("<iframe ")){n=Ax("div",{className:"w-e-textarea-video-container","data-selected":b?"true":"",style:{textAlign:y},innerHTML:GR(a,h,f,m)})}else{var w=Ax("video",{key:c,poster:l,controls:!0,style:m},Ax("source",{src:a,type:"video/mp4"}),"Sorry, your browser doesn't support embedded videos.\n 抱歉,浏览器不支持 video 视频");"auto"!==h&&(w.data.width=h),"auto"!==f&&(w.data.height=f),n=Ax("div",{className:"w-e-textarea-video-container","data-selected":b?"true":"",style:{textAlign:y}},w)}var E=ax("div",{props:{contentEditable:!1},on:{mousedown:function(e){return e.preventDefault()}}},n);return E}},dL={renderElems:[cL],elemsToHtml:[WR],preParseHtml:[uL],parseElemsHtml:[lL],menus:[{key:"insertVideo",factory:function(){return new rL},config:{onInsertedVideo:function(e){},checkVideo:function(e,t){return!0},parseVideoSrc:function(e){return e}}},{key:"uploadVideo",factory:function(){return new aL},config:{server:"",fieldName:"wangeditor-uploaded-video",maxFileSize:10485760,maxNumberOfFiles:5,allowedFileTypes:["video/*"],meta:{},metaWithUrl:!1,withCredentials:!1,timeout:3e4,onBeforeUpload:function(e){return e},onProgress:function(e){},onSuccess:function(e,t){},onFailed:function(e,t){console.error("'".concat(e.name,"' upload failed"),t)},onError:function(e,t,r){console.error("'".concat(e.name," upload error"),t,r)}}},{key:"editVideoSize",factory:function(){return new ZR}},{key:"editVideoSrc",factory:function(){return new QR}}],editorPlugin:function(e){var t=e.isVoid,r=e.normalizeNode,n=e;return n.isVoid=function(e){return"video"===e.type||t(e)},n.normalizeNode=function(e){var t=Ig(e,2),o=t[0],i=t[1];"video"===Oy.getNodeType(o)&&(Oy.isLastNode(n,o)&&Vf.insertNodes(n,Oy.genEmptyParagraph(),{at:[i[0]+1]}));return r([o,i])},n}},hL=function(){function e(){throw new Error("不能实例化\nCan not construct a instance")}return e.setEditorConfig=function(e){void 0===e&&(e={}),this.editorConfig=Og(Og({},this.editorConfig),e)},e.setSimpleEditorConfig=function(e){void 0===e&&(e={}),this.simpleEditorConfig=Og(Og({},this.simpleEditorConfig),e)},e.setToolbarConfig=function(e){void 0===e&&(e={}),this.toolbarConfig=Og(Og({},this.toolbarConfig),e)},e.setSimpleToolbarConfig=function(e){void 0===e&&(e={}),this.simpleToolbarConfig=Og(Og({},this.simpleToolbarConfig),e)},e.registerPlugin=function(e){this.plugins.push(e)},e.registerMenu=function(e,t){am(e,t)},e.registerRenderElem=function(e){!function(e){var t=e.type,r=e.renderElem;Ox[t||""]=r}(e)},e.registerRenderStyle=function(e){!function(e){kx.push(e)}(e)},e.registerElemToHtml=function(e){!function(e){var t=e.type,r=e.elemToHtml;fy[t||""]=r}(e)},e.registerStyleToHtml=function(e){!function(e){dy.push(e)}(e)},e.registerPreParseHtml=function(e){!function(e){Xv.push(e)}(e)},e.registerParseElemHtml=function(e){!function(e){var t=e.selector,r=e.parseElemHtml;Jv[t]=r}(e)},e.registerParseStyleHtml=function(e){!function(e){Zv.push(e)}(e)},e.registerModule=function(e){pL(e)},e.editorConfig={},e.simpleEditorConfig={},e.toolbarConfig={},e.simpleToolbarConfig={},e.plugins=[],e}();function pL(e){var t=e.menus,r=e.renderElems,n=e.renderStyle,o=e.elemsToHtml,i=e.styleToHtml,a=e.preParseHtml,s=e.parseElemsHtml,l=e.parseStyleHtml,u=e.editorPlugin;t&&t.forEach(function(e){return hL.registerMenu(e)}),r&&r.forEach(function(e){return hL.registerRenderElem(e)}),n&&hL.registerRenderStyle(n),o&&o.forEach(function(e){return hL.registerElemToHtml(e)}),i&&hL.registerStyleToHtml(i),a&&a.forEach(function(e){return hL.registerPreParseHtml(e)}),s&&s.forEach(function(e){return hL.registerParseElemHtml(e)}),l&&hL.registerParseStyleHtml(l),u&&hL.registerPlugin(u)}gN.forEach(function(e){return pL(e)}),pL(XN),pL(LR),pL(dL),pL(UR),pL(MN),pL(lP);var fL='<svg viewBox="0 0 1024 1024"><path d="M959.877 128l0.123 0.123v767.775l-0.123 0.122H64.102l-0.122-0.122V128.123l0.122-0.123h895.775zM960 64H64C28.795 64 0 92.795 0 128v768c0 35.205 28.795 64 64 64h896c35.205 0 64-28.795 64-64V128c0-35.205-28.795-64-64-64zM832 288.01c0 53.023-42.988 96.01-96.01 96.01s-96.01-42.987-96.01-96.01S682.967 192 735.99 192 832 234.988 832 288.01zM896 832H128V704l224.01-384 256 320h64l224.01-192z"></path></svg>';var gL={link:{menuKeys:["editLink","unLink","viewLink"]},image:{menuKeys:["imageWidth30","imageWidth50","imageWidth100","editorImageSizeMenu","editImage","viewImageLink","deleteImage"]},pre:{menuKeys:["enter","codeBlock","codeSelectLang"]},table:{menuKeys:["enter","tableHeader","tableColumn","tableFullWidth","insertTableRow","deleteTableRow","insertTableCol","deleteTableCol","deleteTable","mergeTableCell","splitTableCell","setTableProperty","setTableCellProperty"]},divider:{menuKeys:["enter"]},video:{menuKeys:["enter","editVideoSize","editVideoSrc"]}};var mL,vL={hoverbarKeys:(mL=["formatPainter","headerSelect","insertLink","bulletedList","|","bold","through","color","bgColor","clearStyle"],null!=im.textToFormula&&mL.push("|","textToFormula"),Og(Og({},gL),{text:{menuKeys:mL}}))};hL.setEditorConfig(Og(Og({},vL),{decorate:NN}));var yL={hoverbarKeys:gL};hL.setSimpleEditorConfig(Og(Og({},yL),{decorate:NN}));var bL={toolbarKeys:["headerSelect","blockquote","|","bold","underline","italic",{key:"group-more-style",title:Xw("editor.more"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M204.8 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M505.6 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path><path d="M806.4 505.6m-76.8 0a76.8 76.8 0 1 0 153.6 0 76.8 76.8 0 1 0-153.6 0Z"></path></svg>',menuKeys:["through","code","sup","sub","clearStyle"]},"color","bgColor","|","fontSize","fontFamily","lineHeight","|","bulletedList","numberedList","todo",{key:"group-justify",title:Xw("editor.justify"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M768 793.6v102.4H51.2v-102.4h716.8z m204.8-230.4v102.4H51.2v-102.4h921.6z m-204.8-230.4v102.4H51.2v-102.4h716.8zM972.8 102.4v102.4H51.2V102.4h921.6z"></path></svg>',menuKeys:["justifyLeft","justifyRight","justifyCenter","justifyJustify"]},{key:"group-indent",title:Xw("editor.indent"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M0 64h1024v128H0z m384 192h640v128H384z m0 192h640v128H384z m0 192h640v128H384zM0 832h1024v128H0z m0-128V320l256 192z"></path></svg>',menuKeys:["indent","delIndent"]},"|","emotion","insertLink",{key:"group-image",title:Xw("editor.image"),iconSvg:fL,menuKeys:["insertImage","uploadImage"]},{key:"group-video",title:Xw("editor.video"),iconSvg:'<svg viewBox="0 0 1024 1024"><path d="M981.184 160.096C837.568 139.456 678.848 128 512 128S186.432 139.456 42.816 160.096C15.296 267.808 0 386.848 0 512s15.264 244.16 42.816 351.904C186.464 884.544 345.152 896 512 896s325.568-11.456 469.184-32.096C1008.704 756.192 1024 637.152 1024 512s-15.264-244.16-42.816-351.904zM384 704V320l320 192-320 192z"></path></svg>',menuKeys:["insertVideo","uploadVideo"]},"insertTable","codeBlock","divider","|","undo","redo","|","formatPainter","fullScreen"]};hL.setToolbarConfig(bL);var wL={toolbarKeys:["blockquote","header1","header2","header3","|","bold","underline","italic","through","color","bgColor","clearStyle","|","bulletedList","numberedList","todo","justifyLeft","justifyRight","justifyCenter","|","insertLink",{key:"group-image",title:Xw("editor.image"),iconSvg:fL,menuKeys:["insertImage","uploadImage"]},"insertVideo","insertTable","codeBlock","|","undo","redo","|","fullScreen"]};function EL(e){void 0===e&&(e={});var t=e.selector,r=void 0===t?"":t,n=e.content,o=void 0===n?[]:n,i=e.html,a=e.config,s=void 0===a?{}:a,l=e.mode,u="simple"===(void 0===l?"default":l)?hL.simpleEditorConfig:hL.editorConfig,c=Og(Og({},u.hoverbarKeys||{}),s.hoverbarKeys||{});return qx({selector:r,config:Og(Og(Og({},u),s),{hoverbarKeys:c}),content:o,html:i,plugins:hL.plugins})}function xL(e){var t=e.selector,r=e.editor,n=e.config,o=void 0===n?{}:n,i=e.mode,a=void 0===i?"default":i;if(!t)throw new Error("Cannot find 'selector' when create toolbar");var s="simple"===a?hL.simpleToolbarConfig:hL.toolbarConfig;return Wx(r,{selector:t,config:Og(Og({},s),o)})}hL.setSimpleToolbarConfig(wL);var CL={};export{hL as Boot,Oy as DomEditor,ff as SlateEditor,kp as SlateElement,Fp as SlateNode,yp as SlatePath,yf as SlatePoint,Dp as SlateRange,Df as SlateText,Vf as SlateTransforms,Gx as Toolbar,EL as createEditor,xL as createToolbar,UD as createUploader,CL as default,uE as genModalButtonElems,sE as genModalInputElems,lE as genModalTextareaElems,Gw as i18nAddResources,Ww as i18nChangeLanguage,Yw as i18nGetResources,Xw as t};
21
21
  //# sourceMappingURL=index.mjs.map