@wangeditor-kai/editor 5.6.55-kai.5 → 5.6.55-kai.6

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.js CHANGED
@@ -17,5 +17,5 @@
17
17
  * @author Lea Verou <https://lea.verou.me>
18
18
  * @namespace
19
19
  * @public
20
- */e.exports&&(e.exports=t),void 0!==b&&(b.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 u=s.appendChild(document.createElement("CODE"));u.textContent="Loading…";var l=s.getAttribute("data-src"),c=a.language;if("none"===c){var d=(/\.(\w+)$/.exec(l)||[,"none"])[1];c=e[d]||d}t.util.setLanguage(u,c),t.util.setLanguage(s,c);var f=t.plugins.autoloader;f&&f.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)}(l,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],l=null==n[1]?i.length:n[1];a<0&&(a+=i.length),a=Math.max(0,Math.min(a-1,i.length)),l<0&&(l+=i.length),l=Math.max(0,Math.min(l,i.length)),e=i.slice(a,l).join("\n"),s.hasAttribute("data-start")||s.setAttribute("data-start",String(a+1))}u.textContent=e,t.highlightElement(u)},function(e){s.setAttribute(r,"failed"),u.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)}}}()}(oT)),oT.exports),aT=w(iT);!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 u=a(o);n<t.length-1&&("string"==typeof t[n+1]||"plain-text"===t[n+1].type)&&(u+=a(t[n+1]),t.splice(n+1,1)),n>0&&("string"==typeof t[n-1]||"plain-text"===t[n-1].type)&&(u=a(t[n-1])+u,t.splice(n-1,1),n--),t[n]=new e.Token("plain-text",u,null,u)}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 sT;sT||(sT=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 uT;uT||(uT=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 lT;lT||(lT=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 cT;cT||(cT=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 dT;dT||(dT=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 fT;fT||(fT=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 u(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var l=u(i),c=RegExp(u(o+" "+i+" "+a+" "+s)),d=u(i+" "+a+" "+s),f=u(o+" "+i+" "+s),h=n(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),p=n(/\((?:[^()]|<<self>>)*\)/.source,2),g=/@?\b[A-Za-z_]\w*\b/.source,m=t(/<<0>>(?:\s*<<1>>)?/.source,[g,h]),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,[h,p,y]),E=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[w]),x=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[E,v,y]),S={keyword:c,punctuation:/[<>()?,.:[\]]/},C=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,A=/"(?:\\.|[^\\"\r\n])*"/.source,D=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:r(/(^|[^$\\])<<0>>/.source,[D]),lookbehind:!0,greedy:!0},{pattern:r(/(^|[^@$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:r(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[v]),lookbehind:!0,inside:S},{pattern:r(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[g,x]),lookbehind:!0,inside:S},{pattern:r(/(\busing\s+)<<0>>(?=\s*=)/.source,[g]),lookbehind:!0},{pattern:r(/(\b<<0>>\s+)<<1>>/.source,[l,m]),lookbehind:!0,inside:S},{pattern:r(/(\bcatch\s*\(\s*)<<0>>/.source,[v]),lookbehind:!0,inside:S},{pattern:r(/(\bwhere\s+)<<0>>/.source,[g]),lookbehind:!0},{pattern:r(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[b]),lookbehind:!0,inside:S},{pattern:r(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[x,f,g]),inside:S}],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,[p]),lookbehind:!0,alias:"class-name",inside:S},"return-type":{pattern:r(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[x,v]),inside:S,alias:"class-name"},"constructor-invocation":{pattern:r(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[x]),lookbehind:!0,inside:S,alias:"class-name"},"generic-method":{pattern:r(/<<0>>\s*<<1>>(?=\s*\()/.source,[g,h]),inside:{function:r(/^<<0>>/.source,[g]),generic:{pattern:RegExp(h),alias:"class-name",inside:S}}},"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,[l,m,g,x,c.source,p,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:r(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[m,p]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:c,"class-name":{pattern:RegExp(x),greedy:!0,inside:S},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 T=A+"|"+C,k=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[T]),O=n(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[k]),2),N=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,B=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[v,O]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:r(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[N,B]),lookbehind:!0,greedy:!0,inside:{target:{pattern:r(/^<<0>>(?=\s*:)/.source,[N]),alias:"keyword"},"attribute-arguments":{pattern:r(/\(<<0>>*\)/.source,[O]),inside:e.languages.csharp},"class-name":{pattern:RegExp(v),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var F=/:[^}\r\n]+/.source,M=n(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[k]),2),I=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[M,F]),P=n(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[T]),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(C),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 hT;hT||(hT=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"),u="language-"+(s=(/[a-z][\w-]*/i.exec(s)||[""])[0].toLowerCase());a.alias?"string"==typeof a.alias?a.alias=[a.alias,u]:a.alias.push(u):a.alias=[u]}}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],l=/language-(.+)/.exec(i);if(l){r=l[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)),u(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:'"'},u=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 pT=["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 gT(e){return"string"==typeof e?e.length:"string"==typeof e.content?e.content.length:e.content.reduce(function(e,t){return e+gT(t)},0)}var mT=function(e){var t,r,n,o=Ch(e,2),i=o[0],a=o[1],s=[],u=function(e){if(!ph.Text.isText(e))return null;var t=wm.getParentNode(null,e);if(t&&"code"===wm.getNodeType(t)){var r=wm.getParentNode(null,t);if(r&&"pre"===wm.getNodeType(r))return t}return null}(i);if(null==u)return s;var l=u.language,c=void 0===l?"":l;if(!c)return s;var d=function(e,t){if(!t)return[];var r=aT.languages[t];return r?aT.tokenize(e.text,r):[]}(i,c),f=0;try{for(var h=Sh(d),p=h.next();!p.done;p=h.next()){var g=p.value,m=f+gT(g);"string"!=typeof g&&s.push(((n={})[g.type]=!0,n.anchor={path:a,offset:f},n.focus={path:a,offset:m},n)),f=m}}catch(e){t={error:e}}finally{try{p&&!p.done&&(r=h.return)&&r.call(h)}finally{if(t)throw t.error}}return s};var vT={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 yT=function(){function e(){this.title=_y("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(!ph.Element.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()};ph.Transforms.setNodes(e,r,{match:function(e){return wm.checkNodeType(e,"code")}})}},e.prototype.getSelectCodeElem=function(e){var t=wm.getSelectedNodeByType(e,"code");if(null==t)return null;var r=wm.getParentNode(e,t);return ph.Element.isElement(r)?"pre"!==r.type?null:t:null},e}(),bT={key:"codeSelectLang",factory:function(){return new yT},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"}]}};$p&&(_p.fn.attr=$p);var wT={renderStyle:function(e,t){var r=e,n=t,o="";return pT.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=_p(e);if(!ph.Element.isElement(t))return t;if("code"!==wm.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:[bT],elemsToHtml:[vT]};Ry("en",{listModule:{unOrderedList:"Unordered list",orderedList:"Ordered list"}}),Ry("zh-CN",{listModule:{unOrderedList:"无序列表",orderedList:"有序列表"}});var ET=new WeakMap;function xT(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];ph.Text.isText(i)&&(t=i)}return null==t?"":t.color||""}function ST(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=wm.findPath(e,t);;){if(0===a.length||0===a[a.length-1])return null;a=ph.Path.previous(a);var s=ph.Editor.node(e,a);if(!s)return null;var u=Ch(s,1)[0],l=u.level,c=void 0===l?0:l;if(wm.getNodeType(u)!==n)return null;if(c===i)return u}}function CT(e,t,r){var n=ST(e,t,r);return!!n&&n.ordered===t.ordered}var AT=[];var DT={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=ET.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,u=wm.findPath(t,e);if(0===u[0])return s+1;var l=ph.Path.previous(u),c=ph.Editor.node(t,l);if(!c)return 0;var d=Ch(c,1)[0];if(wm.getNodeType(d)!==n)return s+1;var f=d,h=f.ordered,p=void 0!==h&&h,g=f.level,m=void 0===g?0:g;return m<s?s-m:m>s?CT(t,e)?0:1:m===s?p===i?0:1:0}(e);if(a>0)for(var s=0;s<a;s+=1)r+="<".concat(i,">"),AT.push(i);var u=function(e){var t=ET.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,u=wm.findPath(t,e);if(u[0]===t.children.length-1)return s+1;var l=ph.Path.next(u),c=ph.Editor.node(t,l);if(!c)return 0;var d=Ch(c,1)[0];if(wm.getNodeType(d)!==n)return s+1;var f=d,h=f.ordered,p=void 0!==h&&h,g=f.level,m=void 0===g?0:g;return m<s?CT(t,d)?s-m:s-m+1:m>s?0:m===s?p===i?0:1:0}(e);if(u>0)for(s=0;s<u;s+=1){var l=AT.pop();n+="</".concat(l,">")}var c=xT(e),d=c?' style="color:'.concat(c,'"'):"";return{html:"<li".concat(d,">").concat(t,"</li>"),prefix:r,suffix:n}}},TT=function(){function e(){this.type="list-item",this.tag="button"}return e.prototype.getListNode=function(e){var t=this.type;return wm.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||!!wm.getSelectedElems(e).some(function(t){if(ph.Editor.isVoid(e,t)&&ph.Editor.isBlock(e,t))return!0;var r=t.type;return!!["pre","code","table"].includes(r)})},e.prototype.exec=function(e,t){this.isActive(e)?ph.Transforms.setNodes(e,{type:"paragraph",ordered:void 0,level:void 0}):ph.Transforms.setNodes(e,{type:"list-item",ordered:this.ordered,indent:void 0})},e}(),kT=function(e){function t(){var t=e.apply(this,Ah([],Ch(arguments),!1))||this;return t.ordered=!1,t.title=_y("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 bh(t,e),t}(TT),OT=function(e){function t(){var t=e.apply(this,Ah([],Ch(arguments),!1))||this;return t.ordered=!0,t.title=_y("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 bh(t,e),t}(TT),NT={key:"bulletedList",factory:function(){return new kT}},BT={key:"numberedList",factory:function(){return new OT}};function FT(e){return e.length?e[0].tagName.toLowerCase():""}ag&&(_p.fn.append=ag),$p&&(_p.fn.attr=$p),ug&&(_p.fn.parent=ug);var MT={selector:"li:not([data-w-e-type])",parseElemHtml:function(e,t,r){var n=_p(e);0===(t=t.filter(function(e){return!!ph.Text.isText(e)||!!r.isInline(e)})).length&&(t=[{text:n.text().replace(/\s+/gm," ")}]);var o=function(e){return"ol"===FT(e.parent())}(n),i=function(e){for(var t=0,r=e.parent(),n=FT(r);"ul"===n||"ol"===n;)n=FT(r=r.parent()),t+=1;return t-1}(n);return{type:"list-item",ordered:o,level:i,children:t}}};var IT={selector:"ul:not([data-w-e-type]),ol:not([data-w-e-type])",parseElemHtml:function(e,t,r){return t.flat(1/0)}};function PT(e){return ph.Editor.nodes(e,{at:e.selection||void 0,match:function(t){return 1===wm.findPath(e,t).length}})}var RT={type:"list-item",renderElem:function(e,t,r){ET.set(e,r);var n=e,o=n.level,i=void 0===o?0:o,a=n.ordered,s=void 0!==a&&a,u={margin:"5px 0 5px ".concat(20*i,"px"),display:"flex",alignItems:"flex-start"},l="";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,u=1,l=t,c=wm.findPath(e,l);if(0===c[0])return 1;for(;c[0]>0;){var d=ph.Path.previous(c),f=ph.Editor.node(e,d);if(null==f)break;var h=f[0],p=h.level,g=void 0===p?0:p,m=h.type,v=h.ordered;if(m!==n)break;if(g<i)break;if(g===i){if(v!==s)break;u+=1}l=h,c=d}return u}(r,e);l="".concat(c,".")}else l=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 pw("div",{style:u},pw("span",{contentEditable:!1,style:{marginRight:"0.5em",color:xT(e)},"data-w-e-reserve":!0},l),pw("span",{style:{flex:"1",wordBreak:"break-word"}},t))}},LT={renderElems:[RT],editorPlugin:function(e){var t=e.deleteBackward,r=e.handleTab,n=e.normalizeNode,o=e.insertBreak,i=e;return i.insertBreak=function(){var t=Ch(ph.Editor.nodes(e,{match:function(e){return wm.checkNodeType(e,"list-item")},universal:!0}),1),r=t[0];return r?""!==r[0].children[0].text?o():void ph.Transforms.setNodes(i,{type:"paragraph",ordered:void 0,level:void 0}):o()},i.deleteBackward=function(r){var n=i.selection;if(null!=n)if(ph.Range.isExpanded(n))t(r);else{var o=wm.getSelectedNodeByType(i,"list-item");if(null!=o)if(0!==n.focus.offset)t(r);else{var a=o,s=a.level,u=void 0===s?0:s,l=a.ordered,c=void 0!==l&&l;if(u>0){var d=ST(e,o,u-1);d&&d.ordered!==c?ph.Transforms.setNodes(i,{level:u-1,ordered:!c}):ph.Transforms.setNodes(i,{level:u-1})}else ph.Transforms.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(ph.Range.isCollapsed(a)){var s=wm.getSelectedNodeByType(i,"list-item");if(null==s)return void r();if(0===a.focus.offset){var u=s.level,l=void 0===u?0:u;return void ph.Transforms.setNodes(i,{level:l+1})}}if(ph.Range.isExpanded(a)){var c=0,d=!1;try{for(var f=Sh(PT(i)),h=f.next();!h.done;h=f.next()){var p=Ch(h.value,1)[0];"list-item"===wm.getNodeType(p)?c+=1:d=!0}}catch(t){e={error:t}}finally{try{h&&!h.done&&(t=f.return)&&t.call(f)}finally{if(e)throw e.error}}if(d||c<=1)return void r();try{for(var g=Sh(PT(i)),m=g.next();!m.done;m=g.next()){var v=Ch(m.value,2),y=(p=v[0],v[1]),b=p.level;l=void 0===b?0:b;ph.Transforms.setNodes(i,{level:l+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=Ch(e,2),r=t[0],o=t[1],a=wm.getNodeType(r);return"bulleted-list"!==a&&"numbered-list"!==a||ph.Transforms.unwrapNodes(i,{at:o}),n([r,o])},i},menus:[NT,BT],elemsToHtml:[DT],parseElemsHtml:[IT,MT]};!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 _T{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 _T(e.loc.lexer,e.loc.start,t.loc.end):null:e&&e.loc}}class zT{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 zT(t,_T.range(this,e))}}class jT{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 u=new Error(o);return u.name="ParseError",u.__proto__=jT.prototype,u.position=r,null!=r&&null!=n&&(u.length=n-r),u.rawMessage=e,u}}jT.prototype.__proto__=Error.prototype;var HT=/([A-Z])/g,$T={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},UT=/[&><"']/g;var VT=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},qT={deflt:function(e,t){return void 0===e?t:e},escape:function(e){return String(e).replace(UT,e=>$T[e])},hyphenate:function(e){return e.replace(HT,"-$1").toLowerCase()},getBaseElem:VT,isCharacterBox:function(e){var t=VT(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"}},GT={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 WT(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 YT{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||{},GT)if(GT.hasOwnProperty(t)){var r=GT[t];this[t]=void 0!==e[t]?r.processor?r.processor(e[t]):e[t]:WT(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 jT("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=qT.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 KT{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 XT[ZT[this.id]]}sub(){return XT[JT[this.id]]}fracNum(){return XT[QT[this.id]]}fracDen(){return XT[ek[this.id]]}cramp(){return XT[tk[this.id]]}text(){return XT[rk[this.id]]}isTight(){return this.size>=2}}var XT=[new KT(0,0,!1),new KT(1,0,!0),new KT(2,1,!1),new KT(3,1,!0),new KT(4,2,!1),new KT(5,2,!0),new KT(6,3,!1),new KT(7,3,!0)],ZT=[4,5,4,5,6,7,6,7],JT=[5,5,5,5,7,7,7,7],QT=[2,3,4,5,6,7,6,7],ek=[3,3,5,5,7,7,7,7],tk=[1,1,3,3,5,5,7,7],rk=[0,1,2,3,2,3,2,3],nk={DISPLAY:XT[0],TEXT:XT[2],SCRIPT:XT[4],SCRIPTSCRIPT:XT[6]},ok=[{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 ik=[];function ak(e){for(var t=0;t<ik.length;t+=2)if(e>=ik[t]&&e<=ik[t+1])return!0;return!1}ok.forEach(e=>e.blocks.forEach(e=>ik.push(...e)));var sk=80,uk={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 lk{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 ck={"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]}},dk={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]},fk={"Å":"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 hk(e,t,r){if(!ck[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),o=ck[t][n];if(!o&&e[0]in fk&&(n=fk[e[0]].charCodeAt(0),o=ck[t][n]),o||"text"!==r||ak(n)&&(o=ck[t][77]),o)return{depth:o[0],height:o[1],italic:o[2],skew:o[3],width:o[4]}}var pk={};var gk=[[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]],mk=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],vk=function(e,t){return t.size<2?e:gk[e-1][t.size-1]};class yk{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||yk.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=mk[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 yk(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:vk(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:mk[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=vk(yk.BASESIZE,e);return this.size===t&&this.textSize===yk.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!==yk.BASESIZE?["sizing","reset-size"+this.size,"size"+yk.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=function(e){var t;if(!pk[t=e>=5?0:e>=3?1:2]){var r=pk[t]={cssEmPerMu:dk.quad[t]/18};for(var n in dk)dk.hasOwnProperty(n)&&(r[n]=dk[n][t])}return pk[t]}(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}yk.BASESIZE=6;var bk={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},wk={ex:!0,em:!0,mu:!0},Ek=function(e){return"string"!=typeof e&&(e=e.unit),e in bk||e in wk||"ex"===e},xk=function(e,t){var r;if(e.unit in bk)r=bk[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 jT("Invalid unit: '"+e.unit+"'");r=n.fontMetrics().quad}n!==t&&(r*=n.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*r,t.maxSize)},Sk=function(e){return+e.toFixed(4)+"em"},Ck=function(e){return e.filter(e=>e).join(" ")},Ak=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)}},Dk=function(e){var t=document.createElement(e);for(var r in t.className=Ck(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},Tk=/[\s"'>/=\x00-\x1f]/,kk=function(e){var t="<"+e;this.classes.length&&(t+=' class="'+qT.escape(Ck(this.classes))+'"');var r="";for(var n in this.style)this.style.hasOwnProperty(n)&&(r+=qT.hyphenate(n)+":"+this.style[n]+";");for(var o in r&&(t+=' style="'+qT.escape(r)+'"'),this.attributes)if(this.attributes.hasOwnProperty(o)){if(Tk.test(o))throw new jT("Invalid attribute name '"+o+"'");t+=" "+o+'="'+qT.escape(this.attributes[o])+'"'}t+=">";for(var i=0;i<this.children.length;i++)t+=this.children[i].toMarkup();return t+="</"+e+">"};class Ok{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,Ak.call(this,e,r,n),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return Dk.call(this,"span")}toMarkup(){return kk.call(this,"span")}}class Nk{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,Ak.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 Dk.call(this,"a")}toMarkup(){return kk.call(this,"a")}}class Bk{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="'+qT.escape(this.src)+'" alt="'+qT.escape(this.alt)+'"',t="";for(var r in this.style)this.style.hasOwnProperty(r)&&(t+=qT.hyphenate(r)+":"+this.style[r]+";");return t&&(e+=' style="'+qT.escape(t)+'"'),e+="'/>"}}var Fk={"î":"ı̂","ï":"ı̈","í":"ı́","ì":"ı̀"};class Mk{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 u=function(e){for(var t=0;t<ok.length;t++)for(var r=ok[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));u&&this.classes.push(u+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Fk[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=Sk(this.italic)),this.classes.length>0&&((t=t||document.createElement("span")).className=Ck(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+=qT.escape(Ck(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+=qT.hyphenate(n)+":"+this.style[n]+";");r&&(e=!0,t+=' style="'+qT.escape(r)+'"');var o=qT.escape(this.text);return e?(t+=">",t+=o,t+="</span>"):o}}class Ik{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+'="'+qT.escape(this.attributes[t])+'"');e+=">";for(var r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e+="</svg>"}}class Pk{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",uk[this.pathName]),e}toMarkup(){return this.alternate?'<path d="'+qT.escape(this.alternate)+'"/>':'<path d="'+qT.escape(uk[this.pathName])+'"/>'}}class Rk{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+'="'+qT.escape(this.attributes[t])+'"');return e+="/>"}}function Lk(e){if(e instanceof Mk)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}var _k={bin:1,close:1,inner:1,open:1,punct:1,rel:1},zk={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},jk={math:{},text:{}};function Hk(e,t,r,n,o,i){jk[e][o]={font:t,group:r,replace:n},i&&n&&(jk[e][n]=jk[e][o])}var $k="math",Uk="text",Vk="main",qk="ams",Gk="accent-token",Wk="bin",Yk="close",Kk="inner",Xk="mathord",Zk="op-token",Jk="open",Qk="punct",eO="rel",tO="spacing",rO="textord";Hk($k,Vk,eO,"≡","\\equiv",!0),Hk($k,Vk,eO,"≺","\\prec",!0),Hk($k,Vk,eO,"≻","\\succ",!0),Hk($k,Vk,eO,"∼","\\sim",!0),Hk($k,Vk,eO,"⊥","\\perp"),Hk($k,Vk,eO,"⪯","\\preceq",!0),Hk($k,Vk,eO,"⪰","\\succeq",!0),Hk($k,Vk,eO,"≃","\\simeq",!0),Hk($k,Vk,eO,"∣","\\mid",!0),Hk($k,Vk,eO,"≪","\\ll",!0),Hk($k,Vk,eO,"≫","\\gg",!0),Hk($k,Vk,eO,"≍","\\asymp",!0),Hk($k,Vk,eO,"∥","\\parallel"),Hk($k,Vk,eO,"⋈","\\bowtie",!0),Hk($k,Vk,eO,"⌣","\\smile",!0),Hk($k,Vk,eO,"⊑","\\sqsubseteq",!0),Hk($k,Vk,eO,"⊒","\\sqsupseteq",!0),Hk($k,Vk,eO,"≐","\\doteq",!0),Hk($k,Vk,eO,"⌢","\\frown",!0),Hk($k,Vk,eO,"∋","\\ni",!0),Hk($k,Vk,eO,"∝","\\propto",!0),Hk($k,Vk,eO,"⊢","\\vdash",!0),Hk($k,Vk,eO,"⊣","\\dashv",!0),Hk($k,Vk,eO,"∋","\\owns"),Hk($k,Vk,Qk,".","\\ldotp"),Hk($k,Vk,Qk,"⋅","\\cdotp"),Hk($k,Vk,rO,"#","\\#"),Hk(Uk,Vk,rO,"#","\\#"),Hk($k,Vk,rO,"&","\\&"),Hk(Uk,Vk,rO,"&","\\&"),Hk($k,Vk,rO,"ℵ","\\aleph",!0),Hk($k,Vk,rO,"∀","\\forall",!0),Hk($k,Vk,rO,"ℏ","\\hbar",!0),Hk($k,Vk,rO,"∃","\\exists",!0),Hk($k,Vk,rO,"∇","\\nabla",!0),Hk($k,Vk,rO,"♭","\\flat",!0),Hk($k,Vk,rO,"ℓ","\\ell",!0),Hk($k,Vk,rO,"♮","\\natural",!0),Hk($k,Vk,rO,"♣","\\clubsuit",!0),Hk($k,Vk,rO,"℘","\\wp",!0),Hk($k,Vk,rO,"♯","\\sharp",!0),Hk($k,Vk,rO,"♢","\\diamondsuit",!0),Hk($k,Vk,rO,"ℜ","\\Re",!0),Hk($k,Vk,rO,"♡","\\heartsuit",!0),Hk($k,Vk,rO,"ℑ","\\Im",!0),Hk($k,Vk,rO,"♠","\\spadesuit",!0),Hk($k,Vk,rO,"§","\\S",!0),Hk(Uk,Vk,rO,"§","\\S"),Hk($k,Vk,rO,"¶","\\P",!0),Hk(Uk,Vk,rO,"¶","\\P"),Hk($k,Vk,rO,"†","\\dag"),Hk(Uk,Vk,rO,"†","\\dag"),Hk(Uk,Vk,rO,"†","\\textdagger"),Hk($k,Vk,rO,"‡","\\ddag"),Hk(Uk,Vk,rO,"‡","\\ddag"),Hk(Uk,Vk,rO,"‡","\\textdaggerdbl"),Hk($k,Vk,Yk,"⎱","\\rmoustache",!0),Hk($k,Vk,Jk,"⎰","\\lmoustache",!0),Hk($k,Vk,Yk,"⟯","\\rgroup",!0),Hk($k,Vk,Jk,"⟮","\\lgroup",!0),Hk($k,Vk,Wk,"∓","\\mp",!0),Hk($k,Vk,Wk,"⊖","\\ominus",!0),Hk($k,Vk,Wk,"⊎","\\uplus",!0),Hk($k,Vk,Wk,"⊓","\\sqcap",!0),Hk($k,Vk,Wk,"∗","\\ast"),Hk($k,Vk,Wk,"⊔","\\sqcup",!0),Hk($k,Vk,Wk,"◯","\\bigcirc",!0),Hk($k,Vk,Wk,"∙","\\bullet",!0),Hk($k,Vk,Wk,"‡","\\ddagger"),Hk($k,Vk,Wk,"≀","\\wr",!0),Hk($k,Vk,Wk,"⨿","\\amalg"),Hk($k,Vk,Wk,"&","\\And"),Hk($k,Vk,eO,"⟵","\\longleftarrow",!0),Hk($k,Vk,eO,"⇐","\\Leftarrow",!0),Hk($k,Vk,eO,"⟸","\\Longleftarrow",!0),Hk($k,Vk,eO,"⟶","\\longrightarrow",!0),Hk($k,Vk,eO,"⇒","\\Rightarrow",!0),Hk($k,Vk,eO,"⟹","\\Longrightarrow",!0),Hk($k,Vk,eO,"↔","\\leftrightarrow",!0),Hk($k,Vk,eO,"⟷","\\longleftrightarrow",!0),Hk($k,Vk,eO,"⇔","\\Leftrightarrow",!0),Hk($k,Vk,eO,"⟺","\\Longleftrightarrow",!0),Hk($k,Vk,eO,"↦","\\mapsto",!0),Hk($k,Vk,eO,"⟼","\\longmapsto",!0),Hk($k,Vk,eO,"↗","\\nearrow",!0),Hk($k,Vk,eO,"↩","\\hookleftarrow",!0),Hk($k,Vk,eO,"↪","\\hookrightarrow",!0),Hk($k,Vk,eO,"↘","\\searrow",!0),Hk($k,Vk,eO,"↼","\\leftharpoonup",!0),Hk($k,Vk,eO,"⇀","\\rightharpoonup",!0),Hk($k,Vk,eO,"↙","\\swarrow",!0),Hk($k,Vk,eO,"↽","\\leftharpoondown",!0),Hk($k,Vk,eO,"⇁","\\rightharpoondown",!0),Hk($k,Vk,eO,"↖","\\nwarrow",!0),Hk($k,Vk,eO,"⇌","\\rightleftharpoons",!0),Hk($k,qk,eO,"≮","\\nless",!0),Hk($k,qk,eO,"","\\@nleqslant"),Hk($k,qk,eO,"","\\@nleqq"),Hk($k,qk,eO,"⪇","\\lneq",!0),Hk($k,qk,eO,"≨","\\lneqq",!0),Hk($k,qk,eO,"","\\@lvertneqq"),Hk($k,qk,eO,"⋦","\\lnsim",!0),Hk($k,qk,eO,"⪉","\\lnapprox",!0),Hk($k,qk,eO,"⊀","\\nprec",!0),Hk($k,qk,eO,"⋠","\\npreceq",!0),Hk($k,qk,eO,"⋨","\\precnsim",!0),Hk($k,qk,eO,"⪹","\\precnapprox",!0),Hk($k,qk,eO,"≁","\\nsim",!0),Hk($k,qk,eO,"","\\@nshortmid"),Hk($k,qk,eO,"∤","\\nmid",!0),Hk($k,qk,eO,"⊬","\\nvdash",!0),Hk($k,qk,eO,"⊭","\\nvDash",!0),Hk($k,qk,eO,"⋪","\\ntriangleleft"),Hk($k,qk,eO,"⋬","\\ntrianglelefteq",!0),Hk($k,qk,eO,"⊊","\\subsetneq",!0),Hk($k,qk,eO,"","\\@varsubsetneq"),Hk($k,qk,eO,"⫋","\\subsetneqq",!0),Hk($k,qk,eO,"","\\@varsubsetneqq"),Hk($k,qk,eO,"≯","\\ngtr",!0),Hk($k,qk,eO,"","\\@ngeqslant"),Hk($k,qk,eO,"","\\@ngeqq"),Hk($k,qk,eO,"⪈","\\gneq",!0),Hk($k,qk,eO,"≩","\\gneqq",!0),Hk($k,qk,eO,"","\\@gvertneqq"),Hk($k,qk,eO,"⋧","\\gnsim",!0),Hk($k,qk,eO,"⪊","\\gnapprox",!0),Hk($k,qk,eO,"⊁","\\nsucc",!0),Hk($k,qk,eO,"⋡","\\nsucceq",!0),Hk($k,qk,eO,"⋩","\\succnsim",!0),Hk($k,qk,eO,"⪺","\\succnapprox",!0),Hk($k,qk,eO,"≆","\\ncong",!0),Hk($k,qk,eO,"","\\@nshortparallel"),Hk($k,qk,eO,"∦","\\nparallel",!0),Hk($k,qk,eO,"⊯","\\nVDash",!0),Hk($k,qk,eO,"⋫","\\ntriangleright"),Hk($k,qk,eO,"⋭","\\ntrianglerighteq",!0),Hk($k,qk,eO,"","\\@nsupseteqq"),Hk($k,qk,eO,"⊋","\\supsetneq",!0),Hk($k,qk,eO,"","\\@varsupsetneq"),Hk($k,qk,eO,"⫌","\\supsetneqq",!0),Hk($k,qk,eO,"","\\@varsupsetneqq"),Hk($k,qk,eO,"⊮","\\nVdash",!0),Hk($k,qk,eO,"⪵","\\precneqq",!0),Hk($k,qk,eO,"⪶","\\succneqq",!0),Hk($k,qk,eO,"","\\@nsubseteqq"),Hk($k,qk,Wk,"⊴","\\unlhd"),Hk($k,qk,Wk,"⊵","\\unrhd"),Hk($k,qk,eO,"↚","\\nleftarrow",!0),Hk($k,qk,eO,"↛","\\nrightarrow",!0),Hk($k,qk,eO,"⇍","\\nLeftarrow",!0),Hk($k,qk,eO,"⇏","\\nRightarrow",!0),Hk($k,qk,eO,"↮","\\nleftrightarrow",!0),Hk($k,qk,eO,"⇎","\\nLeftrightarrow",!0),Hk($k,qk,eO,"△","\\vartriangle"),Hk($k,qk,rO,"ℏ","\\hslash"),Hk($k,qk,rO,"▽","\\triangledown"),Hk($k,qk,rO,"◊","\\lozenge"),Hk($k,qk,rO,"Ⓢ","\\circledS"),Hk($k,qk,rO,"®","\\circledR"),Hk(Uk,qk,rO,"®","\\circledR"),Hk($k,qk,rO,"∡","\\measuredangle",!0),Hk($k,qk,rO,"∄","\\nexists"),Hk($k,qk,rO,"℧","\\mho"),Hk($k,qk,rO,"Ⅎ","\\Finv",!0),Hk($k,qk,rO,"⅁","\\Game",!0),Hk($k,qk,rO,"‵","\\backprime"),Hk($k,qk,rO,"▲","\\blacktriangle"),Hk($k,qk,rO,"▼","\\blacktriangledown"),Hk($k,qk,rO,"■","\\blacksquare"),Hk($k,qk,rO,"⧫","\\blacklozenge"),Hk($k,qk,rO,"★","\\bigstar"),Hk($k,qk,rO,"∢","\\sphericalangle",!0),Hk($k,qk,rO,"∁","\\complement",!0),Hk($k,qk,rO,"ð","\\eth",!0),Hk(Uk,Vk,rO,"ð","ð"),Hk($k,qk,rO,"╱","\\diagup"),Hk($k,qk,rO,"╲","\\diagdown"),Hk($k,qk,rO,"□","\\square"),Hk($k,qk,rO,"□","\\Box"),Hk($k,qk,rO,"◊","\\Diamond"),Hk($k,qk,rO,"¥","\\yen",!0),Hk(Uk,qk,rO,"¥","\\yen",!0),Hk($k,qk,rO,"✓","\\checkmark",!0),Hk(Uk,qk,rO,"✓","\\checkmark"),Hk($k,qk,rO,"ℶ","\\beth",!0),Hk($k,qk,rO,"ℸ","\\daleth",!0),Hk($k,qk,rO,"ℷ","\\gimel",!0),Hk($k,qk,rO,"ϝ","\\digamma",!0),Hk($k,qk,rO,"ϰ","\\varkappa"),Hk($k,qk,Jk,"┌","\\@ulcorner",!0),Hk($k,qk,Yk,"┐","\\@urcorner",!0),Hk($k,qk,Jk,"└","\\@llcorner",!0),Hk($k,qk,Yk,"┘","\\@lrcorner",!0),Hk($k,qk,eO,"≦","\\leqq",!0),Hk($k,qk,eO,"⩽","\\leqslant",!0),Hk($k,qk,eO,"⪕","\\eqslantless",!0),Hk($k,qk,eO,"≲","\\lesssim",!0),Hk($k,qk,eO,"⪅","\\lessapprox",!0),Hk($k,qk,eO,"≊","\\approxeq",!0),Hk($k,qk,Wk,"⋖","\\lessdot"),Hk($k,qk,eO,"⋘","\\lll",!0),Hk($k,qk,eO,"≶","\\lessgtr",!0),Hk($k,qk,eO,"⋚","\\lesseqgtr",!0),Hk($k,qk,eO,"⪋","\\lesseqqgtr",!0),Hk($k,qk,eO,"≑","\\doteqdot"),Hk($k,qk,eO,"≓","\\risingdotseq",!0),Hk($k,qk,eO,"≒","\\fallingdotseq",!0),Hk($k,qk,eO,"∽","\\backsim",!0),Hk($k,qk,eO,"⋍","\\backsimeq",!0),Hk($k,qk,eO,"⫅","\\subseteqq",!0),Hk($k,qk,eO,"⋐","\\Subset",!0),Hk($k,qk,eO,"⊏","\\sqsubset",!0),Hk($k,qk,eO,"≼","\\preccurlyeq",!0),Hk($k,qk,eO,"⋞","\\curlyeqprec",!0),Hk($k,qk,eO,"≾","\\precsim",!0),Hk($k,qk,eO,"⪷","\\precapprox",!0),Hk($k,qk,eO,"⊲","\\vartriangleleft"),Hk($k,qk,eO,"⊴","\\trianglelefteq"),Hk($k,qk,eO,"⊨","\\vDash",!0),Hk($k,qk,eO,"⊪","\\Vvdash",!0),Hk($k,qk,eO,"⌣","\\smallsmile"),Hk($k,qk,eO,"⌢","\\smallfrown"),Hk($k,qk,eO,"≏","\\bumpeq",!0),Hk($k,qk,eO,"≎","\\Bumpeq",!0),Hk($k,qk,eO,"≧","\\geqq",!0),Hk($k,qk,eO,"⩾","\\geqslant",!0),Hk($k,qk,eO,"⪖","\\eqslantgtr",!0),Hk($k,qk,eO,"≳","\\gtrsim",!0),Hk($k,qk,eO,"⪆","\\gtrapprox",!0),Hk($k,qk,Wk,"⋗","\\gtrdot"),Hk($k,qk,eO,"⋙","\\ggg",!0),Hk($k,qk,eO,"≷","\\gtrless",!0),Hk($k,qk,eO,"⋛","\\gtreqless",!0),Hk($k,qk,eO,"⪌","\\gtreqqless",!0),Hk($k,qk,eO,"≖","\\eqcirc",!0),Hk($k,qk,eO,"≗","\\circeq",!0),Hk($k,qk,eO,"≜","\\triangleq",!0),Hk($k,qk,eO,"∼","\\thicksim"),Hk($k,qk,eO,"≈","\\thickapprox"),Hk($k,qk,eO,"⫆","\\supseteqq",!0),Hk($k,qk,eO,"⋑","\\Supset",!0),Hk($k,qk,eO,"⊐","\\sqsupset",!0),Hk($k,qk,eO,"≽","\\succcurlyeq",!0),Hk($k,qk,eO,"⋟","\\curlyeqsucc",!0),Hk($k,qk,eO,"≿","\\succsim",!0),Hk($k,qk,eO,"⪸","\\succapprox",!0),Hk($k,qk,eO,"⊳","\\vartriangleright"),Hk($k,qk,eO,"⊵","\\trianglerighteq"),Hk($k,qk,eO,"⊩","\\Vdash",!0),Hk($k,qk,eO,"∣","\\shortmid"),Hk($k,qk,eO,"∥","\\shortparallel"),Hk($k,qk,eO,"≬","\\between",!0),Hk($k,qk,eO,"⋔","\\pitchfork",!0),Hk($k,qk,eO,"∝","\\varpropto"),Hk($k,qk,eO,"◀","\\blacktriangleleft"),Hk($k,qk,eO,"∴","\\therefore",!0),Hk($k,qk,eO,"∍","\\backepsilon"),Hk($k,qk,eO,"▶","\\blacktriangleright"),Hk($k,qk,eO,"∵","\\because",!0),Hk($k,qk,eO,"⋘","\\llless"),Hk($k,qk,eO,"⋙","\\gggtr"),Hk($k,qk,Wk,"⊲","\\lhd"),Hk($k,qk,Wk,"⊳","\\rhd"),Hk($k,qk,eO,"≂","\\eqsim",!0),Hk($k,Vk,eO,"⋈","\\Join"),Hk($k,qk,eO,"≑","\\Doteq",!0),Hk($k,qk,Wk,"∔","\\dotplus",!0),Hk($k,qk,Wk,"∖","\\smallsetminus"),Hk($k,qk,Wk,"⋒","\\Cap",!0),Hk($k,qk,Wk,"⋓","\\Cup",!0),Hk($k,qk,Wk,"⩞","\\doublebarwedge",!0),Hk($k,qk,Wk,"⊟","\\boxminus",!0),Hk($k,qk,Wk,"⊞","\\boxplus",!0),Hk($k,qk,Wk,"⋇","\\divideontimes",!0),Hk($k,qk,Wk,"⋉","\\ltimes",!0),Hk($k,qk,Wk,"⋊","\\rtimes",!0),Hk($k,qk,Wk,"⋋","\\leftthreetimes",!0),Hk($k,qk,Wk,"⋌","\\rightthreetimes",!0),Hk($k,qk,Wk,"⋏","\\curlywedge",!0),Hk($k,qk,Wk,"⋎","\\curlyvee",!0),Hk($k,qk,Wk,"⊝","\\circleddash",!0),Hk($k,qk,Wk,"⊛","\\circledast",!0),Hk($k,qk,Wk,"⋅","\\centerdot"),Hk($k,qk,Wk,"⊺","\\intercal",!0),Hk($k,qk,Wk,"⋒","\\doublecap"),Hk($k,qk,Wk,"⋓","\\doublecup"),Hk($k,qk,Wk,"⊠","\\boxtimes",!0),Hk($k,qk,eO,"⇢","\\dashrightarrow",!0),Hk($k,qk,eO,"⇠","\\dashleftarrow",!0),Hk($k,qk,eO,"⇇","\\leftleftarrows",!0),Hk($k,qk,eO,"⇆","\\leftrightarrows",!0),Hk($k,qk,eO,"⇚","\\Lleftarrow",!0),Hk($k,qk,eO,"↞","\\twoheadleftarrow",!0),Hk($k,qk,eO,"↢","\\leftarrowtail",!0),Hk($k,qk,eO,"↫","\\looparrowleft",!0),Hk($k,qk,eO,"⇋","\\leftrightharpoons",!0),Hk($k,qk,eO,"↶","\\curvearrowleft",!0),Hk($k,qk,eO,"↺","\\circlearrowleft",!0),Hk($k,qk,eO,"↰","\\Lsh",!0),Hk($k,qk,eO,"⇈","\\upuparrows",!0),Hk($k,qk,eO,"↿","\\upharpoonleft",!0),Hk($k,qk,eO,"⇃","\\downharpoonleft",!0),Hk($k,Vk,eO,"⊶","\\origof",!0),Hk($k,Vk,eO,"⊷","\\imageof",!0),Hk($k,qk,eO,"⊸","\\multimap",!0),Hk($k,qk,eO,"↭","\\leftrightsquigarrow",!0),Hk($k,qk,eO,"⇉","\\rightrightarrows",!0),Hk($k,qk,eO,"⇄","\\rightleftarrows",!0),Hk($k,qk,eO,"↠","\\twoheadrightarrow",!0),Hk($k,qk,eO,"↣","\\rightarrowtail",!0),Hk($k,qk,eO,"↬","\\looparrowright",!0),Hk($k,qk,eO,"↷","\\curvearrowright",!0),Hk($k,qk,eO,"↻","\\circlearrowright",!0),Hk($k,qk,eO,"↱","\\Rsh",!0),Hk($k,qk,eO,"⇊","\\downdownarrows",!0),Hk($k,qk,eO,"↾","\\upharpoonright",!0),Hk($k,qk,eO,"⇂","\\downharpoonright",!0),Hk($k,qk,eO,"⇝","\\rightsquigarrow",!0),Hk($k,qk,eO,"⇝","\\leadsto"),Hk($k,qk,eO,"⇛","\\Rrightarrow",!0),Hk($k,qk,eO,"↾","\\restriction"),Hk($k,Vk,rO,"‘","`"),Hk($k,Vk,rO,"$","\\$"),Hk(Uk,Vk,rO,"$","\\$"),Hk(Uk,Vk,rO,"$","\\textdollar"),Hk($k,Vk,rO,"%","\\%"),Hk(Uk,Vk,rO,"%","\\%"),Hk($k,Vk,rO,"_","\\_"),Hk(Uk,Vk,rO,"_","\\_"),Hk(Uk,Vk,rO,"_","\\textunderscore"),Hk($k,Vk,rO,"∠","\\angle",!0),Hk($k,Vk,rO,"∞","\\infty",!0),Hk($k,Vk,rO,"′","\\prime"),Hk($k,Vk,rO,"△","\\triangle"),Hk($k,Vk,rO,"Γ","\\Gamma",!0),Hk($k,Vk,rO,"Δ","\\Delta",!0),Hk($k,Vk,rO,"Θ","\\Theta",!0),Hk($k,Vk,rO,"Λ","\\Lambda",!0),Hk($k,Vk,rO,"Ξ","\\Xi",!0),Hk($k,Vk,rO,"Π","\\Pi",!0),Hk($k,Vk,rO,"Σ","\\Sigma",!0),Hk($k,Vk,rO,"Υ","\\Upsilon",!0),Hk($k,Vk,rO,"Φ","\\Phi",!0),Hk($k,Vk,rO,"Ψ","\\Psi",!0),Hk($k,Vk,rO,"Ω","\\Omega",!0),Hk($k,Vk,rO,"A","Α"),Hk($k,Vk,rO,"B","Β"),Hk($k,Vk,rO,"E","Ε"),Hk($k,Vk,rO,"Z","Ζ"),Hk($k,Vk,rO,"H","Η"),Hk($k,Vk,rO,"I","Ι"),Hk($k,Vk,rO,"K","Κ"),Hk($k,Vk,rO,"M","Μ"),Hk($k,Vk,rO,"N","Ν"),Hk($k,Vk,rO,"O","Ο"),Hk($k,Vk,rO,"P","Ρ"),Hk($k,Vk,rO,"T","Τ"),Hk($k,Vk,rO,"X","Χ"),Hk($k,Vk,rO,"¬","\\neg",!0),Hk($k,Vk,rO,"¬","\\lnot"),Hk($k,Vk,rO,"⊤","\\top"),Hk($k,Vk,rO,"⊥","\\bot"),Hk($k,Vk,rO,"∅","\\emptyset"),Hk($k,qk,rO,"∅","\\varnothing"),Hk($k,Vk,Xk,"α","\\alpha",!0),Hk($k,Vk,Xk,"β","\\beta",!0),Hk($k,Vk,Xk,"γ","\\gamma",!0),Hk($k,Vk,Xk,"δ","\\delta",!0),Hk($k,Vk,Xk,"ϵ","\\epsilon",!0),Hk($k,Vk,Xk,"ζ","\\zeta",!0),Hk($k,Vk,Xk,"η","\\eta",!0),Hk($k,Vk,Xk,"θ","\\theta",!0),Hk($k,Vk,Xk,"ι","\\iota",!0),Hk($k,Vk,Xk,"κ","\\kappa",!0),Hk($k,Vk,Xk,"λ","\\lambda",!0),Hk($k,Vk,Xk,"μ","\\mu",!0),Hk($k,Vk,Xk,"ν","\\nu",!0),Hk($k,Vk,Xk,"ξ","\\xi",!0),Hk($k,Vk,Xk,"ο","\\omicron",!0),Hk($k,Vk,Xk,"π","\\pi",!0),Hk($k,Vk,Xk,"ρ","\\rho",!0),Hk($k,Vk,Xk,"σ","\\sigma",!0),Hk($k,Vk,Xk,"τ","\\tau",!0),Hk($k,Vk,Xk,"υ","\\upsilon",!0),Hk($k,Vk,Xk,"ϕ","\\phi",!0),Hk($k,Vk,Xk,"χ","\\chi",!0),Hk($k,Vk,Xk,"ψ","\\psi",!0),Hk($k,Vk,Xk,"ω","\\omega",!0),Hk($k,Vk,Xk,"ε","\\varepsilon",!0),Hk($k,Vk,Xk,"ϑ","\\vartheta",!0),Hk($k,Vk,Xk,"ϖ","\\varpi",!0),Hk($k,Vk,Xk,"ϱ","\\varrho",!0),Hk($k,Vk,Xk,"ς","\\varsigma",!0),Hk($k,Vk,Xk,"φ","\\varphi",!0),Hk($k,Vk,Wk,"∗","*",!0),Hk($k,Vk,Wk,"+","+"),Hk($k,Vk,Wk,"−","-",!0),Hk($k,Vk,Wk,"⋅","\\cdot",!0),Hk($k,Vk,Wk,"∘","\\circ",!0),Hk($k,Vk,Wk,"÷","\\div",!0),Hk($k,Vk,Wk,"±","\\pm",!0),Hk($k,Vk,Wk,"×","\\times",!0),Hk($k,Vk,Wk,"∩","\\cap",!0),Hk($k,Vk,Wk,"∪","\\cup",!0),Hk($k,Vk,Wk,"∖","\\setminus",!0),Hk($k,Vk,Wk,"∧","\\land"),Hk($k,Vk,Wk,"∨","\\lor"),Hk($k,Vk,Wk,"∧","\\wedge",!0),Hk($k,Vk,Wk,"∨","\\vee",!0),Hk($k,Vk,rO,"√","\\surd"),Hk($k,Vk,Jk,"⟨","\\langle",!0),Hk($k,Vk,Jk,"∣","\\lvert"),Hk($k,Vk,Jk,"∥","\\lVert"),Hk($k,Vk,Yk,"?","?"),Hk($k,Vk,Yk,"!","!"),Hk($k,Vk,Yk,"⟩","\\rangle",!0),Hk($k,Vk,Yk,"∣","\\rvert"),Hk($k,Vk,Yk,"∥","\\rVert"),Hk($k,Vk,eO,"=","="),Hk($k,Vk,eO,":",":"),Hk($k,Vk,eO,"≈","\\approx",!0),Hk($k,Vk,eO,"≅","\\cong",!0),Hk($k,Vk,eO,"≥","\\ge"),Hk($k,Vk,eO,"≥","\\geq",!0),Hk($k,Vk,eO,"←","\\gets"),Hk($k,Vk,eO,">","\\gt",!0),Hk($k,Vk,eO,"∈","\\in",!0),Hk($k,Vk,eO,"","\\@not"),Hk($k,Vk,eO,"⊂","\\subset",!0),Hk($k,Vk,eO,"⊃","\\supset",!0),Hk($k,Vk,eO,"⊆","\\subseteq",!0),Hk($k,Vk,eO,"⊇","\\supseteq",!0),Hk($k,qk,eO,"⊈","\\nsubseteq",!0),Hk($k,qk,eO,"⊉","\\nsupseteq",!0),Hk($k,Vk,eO,"⊨","\\models"),Hk($k,Vk,eO,"←","\\leftarrow",!0),Hk($k,Vk,eO,"≤","\\le"),Hk($k,Vk,eO,"≤","\\leq",!0),Hk($k,Vk,eO,"<","\\lt",!0),Hk($k,Vk,eO,"→","\\rightarrow",!0),Hk($k,Vk,eO,"→","\\to"),Hk($k,qk,eO,"≱","\\ngeq",!0),Hk($k,qk,eO,"≰","\\nleq",!0),Hk($k,Vk,tO," ","\\ "),Hk($k,Vk,tO," ","\\space"),Hk($k,Vk,tO," ","\\nobreakspace"),Hk(Uk,Vk,tO," ","\\ "),Hk(Uk,Vk,tO," "," "),Hk(Uk,Vk,tO," ","\\space"),Hk(Uk,Vk,tO," ","\\nobreakspace"),Hk($k,Vk,tO,null,"\\nobreak"),Hk($k,Vk,tO,null,"\\allowbreak"),Hk($k,Vk,Qk,",",","),Hk($k,Vk,Qk,";",";"),Hk($k,qk,Wk,"⊼","\\barwedge",!0),Hk($k,qk,Wk,"⊻","\\veebar",!0),Hk($k,Vk,Wk,"⊙","\\odot",!0),Hk($k,Vk,Wk,"⊕","\\oplus",!0),Hk($k,Vk,Wk,"⊗","\\otimes",!0),Hk($k,Vk,rO,"∂","\\partial",!0),Hk($k,Vk,Wk,"⊘","\\oslash",!0),Hk($k,qk,Wk,"⊚","\\circledcirc",!0),Hk($k,qk,Wk,"⊡","\\boxdot",!0),Hk($k,Vk,Wk,"△","\\bigtriangleup"),Hk($k,Vk,Wk,"▽","\\bigtriangledown"),Hk($k,Vk,Wk,"†","\\dagger"),Hk($k,Vk,Wk,"⋄","\\diamond"),Hk($k,Vk,Wk,"⋆","\\star"),Hk($k,Vk,Wk,"◃","\\triangleleft"),Hk($k,Vk,Wk,"▹","\\triangleright"),Hk($k,Vk,Jk,"{","\\{"),Hk(Uk,Vk,rO,"{","\\{"),Hk(Uk,Vk,rO,"{","\\textbraceleft"),Hk($k,Vk,Yk,"}","\\}"),Hk(Uk,Vk,rO,"}","\\}"),Hk(Uk,Vk,rO,"}","\\textbraceright"),Hk($k,Vk,Jk,"{","\\lbrace"),Hk($k,Vk,Yk,"}","\\rbrace"),Hk($k,Vk,Jk,"[","\\lbrack",!0),Hk(Uk,Vk,rO,"[","\\lbrack",!0),Hk($k,Vk,Yk,"]","\\rbrack",!0),Hk(Uk,Vk,rO,"]","\\rbrack",!0),Hk($k,Vk,Jk,"(","\\lparen",!0),Hk($k,Vk,Yk,")","\\rparen",!0),Hk(Uk,Vk,rO,"<","\\textless",!0),Hk(Uk,Vk,rO,">","\\textgreater",!0),Hk($k,Vk,Jk,"⌊","\\lfloor",!0),Hk($k,Vk,Yk,"⌋","\\rfloor",!0),Hk($k,Vk,Jk,"⌈","\\lceil",!0),Hk($k,Vk,Yk,"⌉","\\rceil",!0),Hk($k,Vk,rO,"\\","\\backslash"),Hk($k,Vk,rO,"∣","|"),Hk($k,Vk,rO,"∣","\\vert"),Hk(Uk,Vk,rO,"|","\\textbar",!0),Hk($k,Vk,rO,"∥","\\|"),Hk($k,Vk,rO,"∥","\\Vert"),Hk(Uk,Vk,rO,"∥","\\textbardbl"),Hk(Uk,Vk,rO,"~","\\textasciitilde"),Hk(Uk,Vk,rO,"\\","\\textbackslash"),Hk(Uk,Vk,rO,"^","\\textasciicircum"),Hk($k,Vk,eO,"↑","\\uparrow",!0),Hk($k,Vk,eO,"⇑","\\Uparrow",!0),Hk($k,Vk,eO,"↓","\\downarrow",!0),Hk($k,Vk,eO,"⇓","\\Downarrow",!0),Hk($k,Vk,eO,"↕","\\updownarrow",!0),Hk($k,Vk,eO,"⇕","\\Updownarrow",!0),Hk($k,Vk,Zk,"∐","\\coprod"),Hk($k,Vk,Zk,"⋁","\\bigvee"),Hk($k,Vk,Zk,"⋀","\\bigwedge"),Hk($k,Vk,Zk,"⨄","\\biguplus"),Hk($k,Vk,Zk,"⋂","\\bigcap"),Hk($k,Vk,Zk,"⋃","\\bigcup"),Hk($k,Vk,Zk,"∫","\\int"),Hk($k,Vk,Zk,"∫","\\intop"),Hk($k,Vk,Zk,"∬","\\iint"),Hk($k,Vk,Zk,"∭","\\iiint"),Hk($k,Vk,Zk,"∏","\\prod"),Hk($k,Vk,Zk,"∑","\\sum"),Hk($k,Vk,Zk,"⨂","\\bigotimes"),Hk($k,Vk,Zk,"⨁","\\bigoplus"),Hk($k,Vk,Zk,"⨀","\\bigodot"),Hk($k,Vk,Zk,"∮","\\oint"),Hk($k,Vk,Zk,"∯","\\oiint"),Hk($k,Vk,Zk,"∰","\\oiiint"),Hk($k,Vk,Zk,"⨆","\\bigsqcup"),Hk($k,Vk,Zk,"∫","\\smallint"),Hk(Uk,Vk,Kk,"…","\\textellipsis"),Hk($k,Vk,Kk,"…","\\mathellipsis"),Hk(Uk,Vk,Kk,"…","\\ldots",!0),Hk($k,Vk,Kk,"…","\\ldots",!0),Hk($k,Vk,Kk,"⋯","\\@cdots",!0),Hk($k,Vk,Kk,"⋱","\\ddots",!0),Hk($k,Vk,rO,"⋮","\\varvdots"),Hk(Uk,Vk,rO,"⋮","\\varvdots"),Hk($k,Vk,Gk,"ˊ","\\acute"),Hk($k,Vk,Gk,"ˋ","\\grave"),Hk($k,Vk,Gk,"¨","\\ddot"),Hk($k,Vk,Gk,"~","\\tilde"),Hk($k,Vk,Gk,"ˉ","\\bar"),Hk($k,Vk,Gk,"˘","\\breve"),Hk($k,Vk,Gk,"ˇ","\\check"),Hk($k,Vk,Gk,"^","\\hat"),Hk($k,Vk,Gk,"⃗","\\vec"),Hk($k,Vk,Gk,"˙","\\dot"),Hk($k,Vk,Gk,"˚","\\mathring"),Hk($k,Vk,Xk,"","\\@imath"),Hk($k,Vk,Xk,"","\\@jmath"),Hk($k,Vk,rO,"ı","ı"),Hk($k,Vk,rO,"ȷ","ȷ"),Hk(Uk,Vk,rO,"ı","\\i",!0),Hk(Uk,Vk,rO,"ȷ","\\j",!0),Hk(Uk,Vk,rO,"ß","\\ss",!0),Hk(Uk,Vk,rO,"æ","\\ae",!0),Hk(Uk,Vk,rO,"œ","\\oe",!0),Hk(Uk,Vk,rO,"ø","\\o",!0),Hk(Uk,Vk,rO,"Æ","\\AE",!0),Hk(Uk,Vk,rO,"Œ","\\OE",!0),Hk(Uk,Vk,rO,"Ø","\\O",!0),Hk(Uk,Vk,Gk,"ˊ","\\'"),Hk(Uk,Vk,Gk,"ˋ","\\`"),Hk(Uk,Vk,Gk,"ˆ","\\^"),Hk(Uk,Vk,Gk,"˜","\\~"),Hk(Uk,Vk,Gk,"ˉ","\\="),Hk(Uk,Vk,Gk,"˘","\\u"),Hk(Uk,Vk,Gk,"˙","\\."),Hk(Uk,Vk,Gk,"¸","\\c"),Hk(Uk,Vk,Gk,"˚","\\r"),Hk(Uk,Vk,Gk,"ˇ","\\v"),Hk(Uk,Vk,Gk,"¨",'\\"'),Hk(Uk,Vk,Gk,"˝","\\H"),Hk(Uk,Vk,Gk,"◯","\\textcircled");var nO={"--":!0,"---":!0,"``":!0,"''":!0};Hk(Uk,Vk,rO,"–","--",!0),Hk(Uk,Vk,rO,"–","\\textendash"),Hk(Uk,Vk,rO,"—","---",!0),Hk(Uk,Vk,rO,"—","\\textemdash"),Hk(Uk,Vk,rO,"‘","`",!0),Hk(Uk,Vk,rO,"‘","\\textquoteleft"),Hk(Uk,Vk,rO,"’","'",!0),Hk(Uk,Vk,rO,"’","\\textquoteright"),Hk(Uk,Vk,rO,"“","``",!0),Hk(Uk,Vk,rO,"“","\\textquotedblleft"),Hk(Uk,Vk,rO,"”","''",!0),Hk(Uk,Vk,rO,"”","\\textquotedblright"),Hk($k,Vk,rO,"°","\\degree",!0),Hk(Uk,Vk,rO,"°","\\degree"),Hk(Uk,Vk,rO,"°","\\textdegree",!0),Hk($k,Vk,rO,"£","\\pounds"),Hk($k,Vk,rO,"£","\\mathsterling",!0),Hk(Uk,Vk,rO,"£","\\pounds"),Hk(Uk,Vk,rO,"£","\\textsterling",!0),Hk($k,qk,rO,"✠","\\maltese"),Hk(Uk,qk,rO,"✠","\\maltese");for(var oO='0123456789/@."',iO=0;iO<14;iO++){var aO=oO.charAt(iO);Hk($k,Vk,rO,aO,aO)}for(var sO='0123456789!@*()-=+";:?/.,',uO=0;uO<25;uO++){var lO=sO.charAt(uO);Hk(Uk,Vk,rO,lO,lO)}for(var cO="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",dO=0;dO<52;dO++){var fO=cO.charAt(dO);Hk($k,Vk,Xk,fO,fO),Hk(Uk,Vk,rO,fO,fO)}Hk($k,qk,rO,"C","ℂ"),Hk(Uk,qk,rO,"C","ℂ"),Hk($k,qk,rO,"H","ℍ"),Hk(Uk,qk,rO,"H","ℍ"),Hk($k,qk,rO,"N","ℕ"),Hk(Uk,qk,rO,"N","ℕ"),Hk($k,qk,rO,"P","ℙ"),Hk(Uk,qk,rO,"P","ℙ"),Hk($k,qk,rO,"Q","ℚ"),Hk(Uk,qk,rO,"Q","ℚ"),Hk($k,qk,rO,"R","ℝ"),Hk(Uk,qk,rO,"R","ℝ"),Hk($k,qk,rO,"Z","ℤ"),Hk(Uk,qk,rO,"Z","ℤ"),Hk($k,Vk,Xk,"h","ℎ"),Hk(Uk,Vk,Xk,"h","ℎ");for(var hO="",pO=0;pO<52;pO++){var gO=cO.charAt(pO);Hk($k,Vk,Xk,gO,hO=String.fromCharCode(55349,56320+pO)),Hk(Uk,Vk,rO,gO,hO),Hk($k,Vk,Xk,gO,hO=String.fromCharCode(55349,56372+pO)),Hk(Uk,Vk,rO,gO,hO),Hk($k,Vk,Xk,gO,hO=String.fromCharCode(55349,56424+pO)),Hk(Uk,Vk,rO,gO,hO),Hk($k,Vk,Xk,gO,hO=String.fromCharCode(55349,56580+pO)),Hk(Uk,Vk,rO,gO,hO),Hk($k,Vk,Xk,gO,hO=String.fromCharCode(55349,56684+pO)),Hk(Uk,Vk,rO,gO,hO),Hk($k,Vk,Xk,gO,hO=String.fromCharCode(55349,56736+pO)),Hk(Uk,Vk,rO,gO,hO),Hk($k,Vk,Xk,gO,hO=String.fromCharCode(55349,56788+pO)),Hk(Uk,Vk,rO,gO,hO),Hk($k,Vk,Xk,gO,hO=String.fromCharCode(55349,56840+pO)),Hk(Uk,Vk,rO,gO,hO),Hk($k,Vk,Xk,gO,hO=String.fromCharCode(55349,56944+pO)),Hk(Uk,Vk,rO,gO,hO),pO<26&&(Hk($k,Vk,Xk,gO,hO=String.fromCharCode(55349,56632+pO)),Hk(Uk,Vk,rO,gO,hO),Hk($k,Vk,Xk,gO,hO=String.fromCharCode(55349,56476+pO)),Hk(Uk,Vk,rO,gO,hO))}Hk($k,Vk,Xk,"k",hO=String.fromCharCode(55349,56668)),Hk(Uk,Vk,rO,"k",hO);for(var mO=0;mO<10;mO++){var vO=mO.toString();Hk($k,Vk,Xk,vO,hO=String.fromCharCode(55349,57294+mO)),Hk(Uk,Vk,rO,vO,hO),Hk($k,Vk,Xk,vO,hO=String.fromCharCode(55349,57314+mO)),Hk(Uk,Vk,rO,vO,hO),Hk($k,Vk,Xk,vO,hO=String.fromCharCode(55349,57324+mO)),Hk(Uk,Vk,rO,vO,hO),Hk($k,Vk,Xk,vO,hO=String.fromCharCode(55349,57334+mO)),Hk(Uk,Vk,rO,vO,hO)}for(var yO="ÐÞþ",bO=0;bO<3;bO++){var wO=yO.charAt(bO);Hk($k,Vk,Xk,wO,wO),Hk(Uk,Vk,rO,wO,wO)}var EO=[["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"]],xO=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],SO=function(e,t,r){return jk[r][e]&&jk[r][e].replace&&(e=jk[r][e].replace),{value:e,metrics:hk(e,t,r)}},CO=function(e,t,r,n,o){var i,a=SO(e,t,r),s=a.metrics;if(e=a.value,s){var u=s.italic;("text"===r||n&&"mathit"===n.font)&&(u=0),i=new Mk(e,s.height,s.depth,u,s.skew,s.width,o)}else"undefined"!=typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"' and mode '"+r+"'"),i=new Mk(e,0,0,0,0,0,o);if(n){i.maxFontSize=n.sizeMultiplier,n.style.isTight()&&i.classes.push("mtight");var l=n.getColor();l&&(i.style.color=l)}return i},AO=(e,t)=>{if(Ck(e.classes)!==Ck(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},DO=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},TO=function(e,t,r,n){var o=new Ok(e,t,r,n);return DO(o),o},kO=(e,t,r,n)=>new Ok(e,t,r,n),OO=function(e){var t=new lk(e);return DO(t),t},NO=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")},BO={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"}},FO={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},MO={fontMap:BO,makeSymbol:CO,mathsym:function(e,t,r,n){return void 0===n&&(n=[]),"boldsymbol"===r.font&&SO(e,"Main-Bold",t).metrics?CO(e,"Main-Bold",t,r,n.concat(["mathbf"])):"\\"===e||"main"===jk[t][e].font?CO(e,"Main-Regular",t,r,n):CO(e,"AMS-Regular",t,r,n.concat(["amsrm"]))},makeSpan:TO,makeSvgSpan:kO,makeLineSpan:function(e,t,r){var n=TO([e],[],t);return n.height=Math.max(r||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),n.style.borderBottomWidth=Sk(n.height),n.maxFontSize=1,n},makeAnchor:function(e,t,r,n){var o=new Nk(e,t,r,n);return DO(o),o},makeFragment:OO,wrapFragment:function(e,t){return e instanceof lk?TO([],[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 u;if("top"===e.positionType){for(var l=e.positionData,c=0;c<e.children.length;c++){var d=e.children[c];l-="kern"===d.type?d.size:d.elem.height+d.elem.depth}u=l}else if("bottom"===e.positionType)u=-e.positionData;else{var f=e.children[0];if("elem"!==f.type)throw new Error('First child must have type "elem".');if("shift"===e.positionType)u=-f.elem.depth-e.positionData;else{if("firstBaseline"!==e.positionType)throw new Error("Invalid positionType "+e.positionType+".");u=-f.elem.depth}}return{children:e.children,depth:u}}(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 u=TO(["pstrut"],[]);u.style.height=Sk(o);for(var l=[],c=n,d=n,f=n,h=0;h<r.length;h++){var p=r[h];if("kern"===p.type)f+=p.size;else{var g=p.elem,m=p.wrapperClasses||[],v=p.wrapperStyle||{},y=TO(m,[u,g],void 0,v);y.style.top=Sk(-o-f-g.depth),p.marginLeft&&(y.style.marginLeft=p.marginLeft),p.marginRight&&(y.style.marginRight=p.marginRight),l.push(y),f+=g.height+g.depth}c=Math.min(c,f),d=Math.max(d,f)}var b,w=TO(["vlist"],l);if(w.style.height=Sk(d),c<0){var E=TO([],[]),x=TO(["vlist"],[E]);x.style.height=Sk(-c);var S=TO(["vlist-s"],[new Mk("​")]);b=[TO(["vlist-r"],[w,S]),TO(["vlist-r"],[x])]}else b=[TO(["vlist-r"],[w])];var C=TO(["vlist-t"],b);return 2===b.length&&C.classes.push("vlist-t2"),C.height=d,C.depth=-c,C},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,u="",l="";if(55349===o.charCodeAt(0)&&([u,l]=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[EO[o][2],EO[o][n]]}if(120782<=r&&r<=120831){var i=Math.floor((r-120782)/10);return[xO[i][2],xO[i][n]]}if(120485===r||120486===r)return[EO[0][2],EO[0][n]];if(120486<r&&r<120782)return["",""];throw new jT("Unsupported character: "+e)}(o,n)),u.length>0)return CO(o,u,n,t,i.concat(l));if(s){var c,d;if("boldsymbol"===s){var f=function(e,t,r,n,o){return"textord"!==o&&SO(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}}(o,n,0,0,r);c=f.fontName,d=[f.fontClass]}else a?(c=BO[s].fontName,d=[s]):(c=NO(s,t.fontWeight,t.fontShape),d=[s,t.fontWeight,t.fontShape]);if(SO(o,c,n).metrics)return CO(o,c,n,t,i.concat(d));if(nO.hasOwnProperty(o)&&"Typewriter"===c.slice(0,10)){for(var h=[],p=0;p<o.length;p++)h.push(CO(o[p],c,n,t,i.concat(d)));return OO(h)}}if("mathord"===r)return CO(o,"Math-Italic",n,t,i.concat(["mathnormal"]));if("textord"===r){var g=jk[n][o]&&jk[n][o].font;if("ams"===g){var m=NO("amsrm",t.fontWeight,t.fontShape);return CO(o,m,n,t,i.concat("amsrm",t.fontWeight,t.fontShape))}if("main"!==g&&g){var v=NO(g,t.fontWeight,t.fontShape);return CO(o,v,n,t,i.concat(v,t.fontWeight,t.fontShape))}var y=NO("textrm",t.fontWeight,t.fontShape);return CO(o,y,n,t,i.concat(t.fontWeight,t.fontShape))}throw new Error("unexpected type: "+r+" in makeOrd")},makeGlue:(e,t)=>{var r=TO(["mspace"],[],t),n=xk(e,t);return r.style.marginRight=Sk(n),r},staticSvg:function(e,t){var[r,n,o]=FO[e],i=new Pk(r),a=new Ik([i],{width:Sk(n),height:Sk(o),style:"width:"+Sk(n),viewBox:"0 0 "+1e3*n+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),s=kO(["overlay"],[a],t);return s.height=o,s.style.height=Sk(o),s.style.width=Sk(n),s},svgData:FO,tryCombineChars:e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof Mk&&n instanceof Mk&&AO(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}},IO={number:3,unit:"mu"},PO={number:4,unit:"mu"},RO={number:5,unit:"mu"},LO={mord:{mop:IO,mbin:PO,mrel:RO,minner:IO},mop:{mord:IO,mop:IO,mrel:RO,minner:IO},mbin:{mord:PO,mop:PO,mopen:PO,minner:PO},mrel:{mord:RO,mop:RO,mopen:RO,minner:RO},mopen:{},mclose:{mop:IO,mbin:PO,mrel:RO,minner:IO},mpunct:{mord:IO,mop:IO,mrel:RO,mopen:IO,mclose:IO,mpunct:IO,minner:IO},minner:{mord:IO,mop:IO,mbin:PO,mrel:RO,mopen:IO,mpunct:IO,minner:IO}},_O={mord:{mop:IO},mop:{mord:IO,mop:IO},mbin:{},mrel:{},mopen:{},mclose:{mop:IO},mpunct:{},minner:{mop:IO}},zO={},jO={},HO={};function $O(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},u=0;u<r.length;++u)zO[r[u]]=s;t&&(i&&(jO[t]=i),a&&(HO[t]=a))}function UO(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;$O({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var VO=function(e){return"ordgroup"===e.type&&1===e.body.length?e.body[0]:e},qO=function(e){return"ordgroup"===e.type?e.body:[e]},GO=MO.makeSpan,WO=["leftmost","mbin","mopen","mrel","mop","mpunct"],YO=["rightmost","mrel","mclose","mpunct"],KO={display:nk.DISPLAY,text:nk.TEXT,script:nk.SCRIPT,scriptscript:nk.SCRIPTSCRIPT},XO={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},ZO=function(e,t,r,n){void 0===n&&(n=[null,null]);for(var o=[],i=0;i<e.length;i++){var a=nN(e[i],t);if(a instanceof lk){var s=a.children;o.push(...s)}else o.push(a)}if(MO.tryCombineChars(o),!r)return o;var u=t;if(1===e.length){var l=e[0];"sizing"===l.type?u=t.havingSize(l.size):"styling"===l.type&&(u=t.havingStyle(KO[l.style]))}var c=GO([n[0]||"leftmost"],[],t),d=GO([n[1]||"rightmost"],[],t),f="root"===r;return JO(o,(e,t)=>{var r=t.classes[0],n=e.classes[0];"mbin"===r&&YO.includes(n)?t.classes[0]="mord":"mbin"===n&&WO.includes(r)&&(e.classes[0]="mord")},{node:c},d,f),JO(o,(e,t)=>{var r=tN(t),n=tN(e),o=r&&n?e.hasClass("mtight")?_O[r][n]:LO[r][n]:null;if(o)return MO.makeGlue(o,u)},{node:c},d,f),o},JO=function e(t,r,n,o,i){o&&t.push(o);for(var a=0;a<t.length;a++){var s=t[a],u=QO(s);if(u)e(u.children,r,n,null,i);else{var l=!s.hasClass("mspace");if(l){var c=r(s,n.node);c&&(n.insertAfter?n.insertAfter(c):(t.unshift(c),a++))}l?n.node=s:i&&s.hasClass("newline")&&(n.node=GO(["leftmost"])),n.insertAfter=(e=>r=>{t.splice(e+1,0,r),a++})(a)}}o&&t.pop()},QO=function(e){return e instanceof lk||e instanceof Nk||e instanceof Ok&&e.hasClass("enclosing")?e:null},eN=function e(t,r){var n=QO(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},tN=function(e,t){return e?(t&&(e=eN(e,t)),XO[e.classes[0]]||null):null},rN=function(e,t){var r=["nulldelimiter"].concat(e.baseSizingClasses());return GO(t.concat(r))},nN=function(e,t,r){if(!e)return GO();if(jO[e.type]){var n=jO[e.type](e,t);if(r&&t.size!==r.size){n=GO(t.sizingClasses(r),[n],t);var o=t.sizeMultiplier/r.sizeMultiplier;n.height*=o,n.depth*=o}return n}throw new jT("Got group of unknown type: '"+e.type+"'")};function oN(e,t){var r=GO(["base"],e,t),n=GO(["strut"]);return n.style.height=Sk(r.height+r.depth),r.depth&&(n.style.verticalAlign=Sk(-r.depth)),r.children.unshift(n),r}function iN(e,t){var r=null;1===e.length&&"tag"===e[0].type&&(r=e[0].tag,e=e[0].body);var n,o=ZO(e,t,"root");2===o.length&&o[1].hasClass("tag")&&(n=o.pop());for(var i,a=[],s=[],u=0;u<o.length;u++)if(s.push(o[u]),o[u].hasClass("mbin")||o[u].hasClass("mrel")||o[u].hasClass("allowbreak")){for(var l=!1;u<o.length-1&&o[u+1].hasClass("mspace")&&!o[u+1].hasClass("newline");)u++,s.push(o[u]),o[u].hasClass("nobreak")&&(l=!0);l||(a.push(oN(s,t)),s=[])}else o[u].hasClass("newline")&&(s.pop(),s.length>0&&(a.push(oN(s,t)),s=[]),a.push(o[u]));s.length>0&&a.push(oN(s,t)),r?((i=oN(ZO(r,t,!0))).classes=["tag"],a.push(i)):n&&a.push(n);var c=GO(["katex-html"],a);if(c.setAttribute("aria-hidden","true"),i){var d=i.children[0];d.style.height=Sk(c.height+c.depth),c.depth&&(d.style.verticalAlign=Sk(-c.depth))}return c}function aN(e){return new lk(e)}class sN{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=Ck(this.classes));for(var r=0;r<this.children.length;r++)if(this.children[r]instanceof uN&&this.children[r+1]instanceof uN){for(var n=this.children[r].toText()+this.children[++r].toText();this.children[r+1]instanceof uN;)n+=this.children[++r].toText();e.appendChild(new uN(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+=qT.escape(this.attributes[t]),e+='"');this.classes.length>0&&(e+=' class ="'+qT.escape(Ck(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 uN{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return qT.escape(this.toText())}toText(){return this.text}}var lN={MathNode:sN,TextNode:uN,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",Sk(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+Sk(this.width)+'"/>'}toText(){return this.character?this.character:" "}},newDocumentFragment:aN},cN=function(e,t,r){return!jk[t][e]||!jk[t][e].replace||55349===e.charCodeAt(0)||nO.hasOwnProperty(e)&&r&&(r.fontFamily&&"tt"===r.fontFamily.slice(4,6)||r.font&&"tt"===r.font.slice(4,6))||(e=jk[t][e].replace),new lN.TextNode(e)},dN=function(e){return 1===e.length?e[0]:new lN.MathNode("mrow",e)},fN=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:(jk[n][o]&&jk[n][o].replace&&(o=jk[n][o].replace),hk(o,MO.fontMap[r].fontName,n)?MO.fontMap[r].variant:null)};function hN(e){if(!e)return!1;if("mi"===e.type&&1===e.children.length){var t=e.children[0];return t instanceof uN&&"."===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 uN&&","===r.text}return!1}var pN=function(e,t,r){if(1===e.length){var n=mN(e[0],t);return r&&n instanceof sN&&"mo"===n.type&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var o,i=[],a=0;a<e.length;a++){var s=mN(e[a],t);if(s instanceof sN&&o instanceof sN){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(hN(s)&&"mn"===o.type){o.children.push(...s.children);continue}if("mn"===s.type&&hN(o))s.children=[...o.children,...s.children],i.pop();else if(("msup"===s.type||"msub"===s.type)&&s.children.length>=1&&("mn"===o.type||hN(o))){var u=s.children[0];u instanceof sN&&"mn"===u.type&&(u.children=[...o.children,...u.children],i.pop())}else if("mi"===o.type&&1===o.children.length){var l=o.children[0];if(l instanceof uN&&"̸"===l.text&&("mo"===s.type||"mi"===s.type||"mn"===s.type)){var c=s.children[0];c instanceof uN&&c.text.length>0&&(c.text=c.text.slice(0,1)+"̸"+c.text.slice(1),i.pop())}}}i.push(s),o=s}return i},gN=function(e,t,r){return dN(pN(e,t,r))},mN=function(e,t){if(!e)return new lN.MathNode("mrow");if(HO[e.type])return HO[e.type](e,t);throw new jT("Got group of unknown type: '"+e.type+"'")};function vN(e,t,r,n,o){var i,a=pN(e,r);i=1===a.length&&a[0]instanceof sN&&["mrow","mtable"].includes(a[0].type)?a[0]:new lN.MathNode("mrow",a);var s=new lN.MathNode("annotation",[new lN.TextNode(t)]);s.setAttribute("encoding","application/x-tex");var u=new lN.MathNode("semantics",[i,s]),l=new lN.MathNode("math",[u]);l.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&l.setAttribute("display","block");var c=o?"katex":"katex-mathml";return MO.makeSpan([c],[l])}var yN=function(e){return new yk({style:e.displayMode?nk.DISPLAY:nk.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},bN=function(e,t){if(t.displayMode){var r=["katex-display"];t.leqno&&r.push("leqno"),t.fleqn&&r.push("fleqn"),e=MO.makeSpan(r,[e])}return e},wN={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":"="},EN={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]},xN=function(e,t,r,n,o){var i,a=e.height+e.depth+r+n;if(/fbox|color|angl/.test(t)){if(i=MO.makeSpan(["stretchy",t],[],o),"fbox"===t){var s=o.color&&o.getColor();s&&(i.style.borderColor=s)}}else{var u=[];/^[bx]cancel$/.test(t)&&u.push(new Rk({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&u.push(new Rk({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var l=new Ik(u,{width:"100%",height:Sk(a)});i=MO.makeSvgSpan([],[l],o)}return i.height=a,i.style.height=Sk(a),i},SN=function(e){var t=new lN.MathNode("mo",[new lN.TextNode(wN[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},CN=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"===(h=e.base).type?h.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 u=[1,1,2,2,3,3][s];"widehat"===n||"widecheck"===n?(r=[0,1062,2364,2364,2364][u],o=[0,239,300,360,420][u],a=[0,.24,.3,.3,.36,.42][u],i=n+u):(r=[0,600,1033,2339,2340][u],o=[0,260,286,306,312][u],a=[0,.26,.286,.3,.306,.34][u],i="tilde"+u)}var l=new Pk(i),c=new Ik([l],{width:"100%",height:Sk(a),viewBox:"0 0 "+r+" "+o,preserveAspectRatio:"none"});return{span:MO.makeSvgSpan([],[c],t),minWidth:0,height:a}}var d,f,h,p=[],g=EN[n],[m,v,y]=g,b=y/1e3,w=m.length;if(1===w)d=["hide-tail"],f=[g[3]];else if(2===w)d=["halfarrow-left","halfarrow-right"],f=["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"],f=["xMinYMin","xMidYMin","xMaxYMin"]}for(var E=0;E<w;E++){var x=new Pk(m[E]),S=new Ik([x],{width:"400em",height:Sk(b),viewBox:"0 0 "+r+" "+y,preserveAspectRatio:f[E]+" slice"}),C=MO.makeSvgSpan([d[E]],[S],t);if(1===w)return{span:C,minWidth:v,height:b};C.style.height=Sk(b),p.push(C)}return{span:MO.makeSpan(["stretchy"],p,t),minWidth:v,height:b}}();return r.height=o,r.style.height=Sk(o),n>0&&(r.style.minWidth=Sk(n)),r};function AN(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 DN(e){var t=TN(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 TN(e){return e&&("atom"===e.type||zk.hasOwnProperty(e.type))?e:null}var kN=(e,t)=>{var r,n,o;e&&"supsub"===e.type?(r=(n=AN(e.base,"accent")).base,e.base=r,o=function(e){if(e instanceof Ok)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}(nN(e,t)),e.base=n):r=(n=AN(e,"accent")).base;var i=nN(r,t.havingCrampedStyle()),a=0;if(n.isShifty&&qT.isCharacterBox(r)){var s=qT.getBaseElem(r);a=Lk(nN(s,t.havingCrampedStyle())).skew}var u,l="\\c"===n.label,c=l?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight);if(n.isStretchy)u=CN(n,t),u=MO.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:u,wrapperClasses:["svg-align"],wrapperStyle:a>0?{width:"calc(100% - "+Sk(2*a)+")",marginLeft:Sk(2*a)}:void 0}]},t);else{var d,f;"\\vec"===n.label?(d=MO.staticSvg("vec",t),f=MO.svgData.vec[1]):((d=Lk(d=MO.makeOrd({mode:n.mode,text:n.label},t,"textord"))).italic=0,f=d.width,l&&(c+=d.depth)),u=MO.makeSpan(["accent-body"],[d]);var h="\\textcircled"===n.label;h&&(u.classes.push("accent-full"),c=i.height);var p=a;h||(p-=f/2),u.style.left=Sk(p),"\\textcircled"===n.label&&(u.style.top=".2em"),u=MO.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-c},{type:"elem",elem:u}]},t)}var g=MO.makeSpan(["mord","accent"],[u],t);return o?(o.children[0]=g,o.height=Math.max(g.height,o.height),o.classes[0]="mord",o):g},ON=(e,t)=>{var r=e.isStretchy?SN(e.label):new lN.MathNode("mo",[cN(e.label,e.mode)]),n=new lN.MathNode("mover",[mN(e.base,t),r]);return n.setAttribute("accent","true"),n},NN=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));$O({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=VO(t[0]),n=!NN.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:kN,mathmlBuilder:ON}),$O({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:kN,mathmlBuilder:ON}),$O({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=nN(e.base,t),n=CN(e,t),o="\\utilde"===e.label?.12:0,i=MO.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:o},{type:"elem",elem:r}]},t);return MO.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var r=SN(e.label),n=new lN.MathNode("munder",[mN(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var BN=e=>{var t=new lN.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};$O({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=MO.wrapFragment(nN(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=MO.wrapFragment(nN(e.below,o,t),t)).classes.push(a+"-arrow-pad"));var s,u=CN(e,t),l=-t.fontMetrics().axisHeight+.5*u.height,c=-t.fontMetrics().axisHeight-.5*u.height-.111;if((i.depth>.25||"\\xleftequilibrium"===e.label)&&(c-=i.depth),r){var d=-t.fontMetrics().axisHeight+r.height+.5*u.height+.111;s=MO.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{type:"elem",elem:u,shift:l},{type:"elem",elem:r,shift:d}]},t)}else s=MO.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{type:"elem",elem:u,shift:l}]},t);return s.children[0].children[0].children[1].classes.push("svg-align"),MO.makeSpan(["mrel","x-arrow"],[s],t)},mathmlBuilder(e,t){var r,n=SN(e.label);if(n.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){var o=BN(mN(e.body,t));if(e.below){var i=BN(mN(e.below,t));r=new lN.MathNode("munderover",[n,i,o])}else r=new lN.MathNode("mover",[n,o])}else if(e.below){var a=BN(mN(e.below,t));r=new lN.MathNode("munder",[n,a])}else r=BN(),r=new lN.MathNode("mover",[n,r]);return r}});var FN=MO.makeSpan;function MN(e,t){var r=ZO(e.body,t,!0);return FN([e.mclass],r,t)}function IN(e,t){var r,n=pN(e.body,t);return"minner"===e.mclass?r=new lN.MathNode("mpadded",n):"mord"===e.mclass?e.isCharacterBox?(r=n[0]).type="mi":r=new lN.MathNode("mi",n):(e.isCharacterBox?(r=n[0]).type="mo":r=new lN.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}$O({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:qO(o),isCharacterBox:qT.isCharacterBox(o)}},htmlBuilder:MN,mathmlBuilder:IN});var PN=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};$O({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:PN(t[0]),body:qO(t[1]),isCharacterBox:qT.isCharacterBox(t[1])}}}),$O({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?PN(i):"mrel";var s={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==o,body:qO(i)},u={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:[u],isCharacterBox:qT.isCharacterBox(u)}},htmlBuilder:MN,mathmlBuilder:IN}),$O({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:PN(t[0]),body:qO(t[0])}},htmlBuilder(e,t){var r=ZO(e.body,t,!0),n=MO.makeSpan([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=pN(e.body,t),n=new lN.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var RN={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},LN=()=>({type:"styling",body:[],mode:"math",style:"display"}),_N=e=>"textord"===e.type&&"@"===e.text,zN=(e,t)=>("mathord"===e.type||"atom"===e.type)&&e.text===t;function jN(e,t,r){var n=RN[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"}}}$O({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=MO.wrapFragment(nN(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=Sk(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new lN.MathNode("mrow",[mN(e.label,t)]);return(r=new lN.MathNode("mpadded",[r])).setAttribute("width","0"),"left"===e.side&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),(r=new lN.MathNode("mstyle",[r])).setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),$O({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=MO.wrapFragment(nN(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder:(e,t)=>new lN.MathNode("mrow",[mN(e.fragment,t)])}),$O({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=AN(t[0],"ordgroup").body,o="",i=0;i<n.length;i++){o+=AN(n[i],"textord").text}var a,s=parseInt(o);if(isNaN(s))throw new jT("\\@char has non-numeric argument "+o);if(s<0||s>=1114111)throw new jT("\\@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 HN=(e,t)=>{var r=ZO(e.body,t.withColor(e.color),!1);return MO.makeFragment(r)},$N=(e,t)=>{var r=pN(e.body,t.withColor(e.color)),n=new lN.MathNode("mstyle",r);return n.setAttribute("mathcolor",e.color),n};$O({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=AN(t[0],"color-token").color,o=t[1];return{type:"color",mode:r.mode,color:n,body:qO(o)}},htmlBuilder:HN,mathmlBuilder:$N}),$O({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,o=AN(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:HN,mathmlBuilder:$N}),$O({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&&AN(o,"size").value}},htmlBuilder(e,t){var r=MO.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=Sk(xk(e.size,t)))),r},mathmlBuilder(e,t){var r=new lN.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",Sk(xk(e.size,t)))),r}});var UN={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},VN=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new jT("Expected a control sequence",e);return t},qN=(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)};$O({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(UN[n.text])return"\\global"!==r&&"\\\\globallong"!==r||(n.text=UN[n.text]),AN(t.parseFunction(),"internal");throw new jT("Invalid token after macro prefix",n)}}),$O({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 jT("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 jT('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==a+1)throw new jT('Argument number "'+n.text+'" out of order');a++,s.push([])}else{if("EOF"===n.text)throw new jT("Expected a macro definition");s[a].push(n.text)}var{tokens:u}=t.gullet.consumeArg();return i&&u.unshift(i),"\\edef"!==r&&"\\xdef"!==r||(u=t.gullet.expandTokens(u)).reverse(),t.gullet.macros.set(o,{tokens:u,numArgs:a,delimiters:s},r===UN[r]),{type:"internal",mode:t.mode}}}),$O({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=VN(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 qN(t,n,o,"\\\\globallet"===r),{type:"internal",mode:t.mode}}}),$O({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=VN(t.gullet.popToken()),o=t.gullet.popToken(),i=t.gullet.popToken();return qN(t,n,i,"\\\\globalfuture"===r),t.gullet.pushToken(i),t.gullet.pushToken(o),{type:"internal",mode:t.mode}}});var GN=function(e,t,r){var n=hk(jk.math[e]&&jk.math[e].replace||e,t,r);if(!n)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return n},WN=function(e,t,r,n){var o=r.havingBaseStyle(t),i=MO.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},YN=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=Sk(o),e.height-=o,e.depth+=o},KN=function(e,t,r,n,o,i){var a=function(e,t,r,n){return MO.makeSymbol(e,"Size"+t+"-Regular",r,n)}(e,t,o,n),s=WN(MO.makeSpan(["delimsizing","size"+t],[a],n),nk.TEXT,n,i);return r&&YN(s,n,nk.TEXT),s},XN=function(e,t,r){var n;return n="Size1-Regular"===t?"delim-size1":"delim-size4",{type:"elem",elem:MO.makeSpan(["delimsizinginner",n],[MO.makeSpan([],[MO.makeSymbol(e,t,r)])])}},ZN=function(e,t,r){var n=ck["Size4-Regular"][e.charCodeAt(0)]?ck["Size4-Regular"][e.charCodeAt(0)][4]:ck["Size1-Regular"][e.charCodeAt(0)][4],o=new Pk("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 Ik([o],{width:Sk(n),height:Sk(t),style:"width:"+Sk(n),viewBox:"0 0 "+1e3*n+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),a=MO.makeSvgSpan([],[i],r);return a.height=t,a.style.height=Sk(t),a.style.width=Sk(n),{type:"elem",elem:a}},JN={type:"kern",size:-.008},QN=["|","\\lvert","\\rvert","\\vert"],eB=["\\|","\\lVert","\\rVert","\\Vert"],tB=function(e,t,r,n,o,i){var a,s,u,l,c="",d=0;a=u=l=e,s=null;var f="Size1-Regular";"\\uparrow"===e?u=l="⏐":"\\Uparrow"===e?u=l="‖":"\\downarrow"===e?a=u="⏐":"\\Downarrow"===e?a=u="‖":"\\updownarrow"===e?(a="\\uparrow",u="⏐",l="\\downarrow"):"\\Updownarrow"===e?(a="\\Uparrow",u="‖",l="\\Downarrow"):QN.includes(e)?(u="∣",c="vert",d=333):eB.includes(e)?(u="∥",c="doublevert",d=556):"["===e||"\\lbrack"===e?(a="⎡",u="⎢",l="⎣",f="Size4-Regular",c="lbrack",d=667):"]"===e||"\\rbrack"===e?(a="⎤",u="⎥",l="⎦",f="Size4-Regular",c="rbrack",d=667):"\\lfloor"===e||"⌊"===e?(u=a="⎢",l="⎣",f="Size4-Regular",c="lfloor",d=667):"\\lceil"===e||"⌈"===e?(a="⎡",u=l="⎢",f="Size4-Regular",c="lceil",d=667):"\\rfloor"===e||"⌋"===e?(u=a="⎥",l="⎦",f="Size4-Regular",c="rfloor",d=667):"\\rceil"===e||"⌉"===e?(a="⎤",u=l="⎥",f="Size4-Regular",c="rceil",d=667):"("===e||"\\lparen"===e?(a="⎛",u="⎜",l="⎝",f="Size4-Regular",c="lparen",d=875):")"===e||"\\rparen"===e?(a="⎞",u="⎟",l="⎠",f="Size4-Regular",c="rparen",d=875):"\\{"===e||"\\lbrace"===e?(a="⎧",s="⎨",l="⎩",u="⎪",f="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(a="⎫",s="⎬",l="⎭",u="⎪",f="Size4-Regular"):"\\lgroup"===e||"⟮"===e?(a="⎧",l="⎩",u="⎪",f="Size4-Regular"):"\\rgroup"===e||"⟯"===e?(a="⎫",l="⎭",u="⎪",f="Size4-Regular"):"\\lmoustache"===e||"⎰"===e?(a="⎧",l="⎭",u="⎪",f="Size4-Regular"):"\\rmoustache"!==e&&"⎱"!==e||(a="⎫",l="⎩",u="⎪",f="Size4-Regular");var h=GN(a,f,o),p=h.height+h.depth,g=GN(u,f,o),m=g.height+g.depth,v=GN(l,f,o),y=v.height+v.depth,b=0,w=1;if(null!==s){var E=GN(s,f,o);b=E.height+E.depth,w=2}var x=p+y+b,S=x+Math.max(0,Math.ceil((t-x)/(w*m)))*w*m,C=n.fontMetrics().axisHeight;r&&(C*=n.sizeMultiplier);var A=S/2-C,D=[];if(c.length>0){var T=S-p-y,k=Math.round(1e3*S),O=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*T)),N=new Pk(c,O),B=(d/1e3).toFixed(3)+"em",F=(k/1e3).toFixed(3)+"em",M=new Ik([N],{width:B,height:F,viewBox:"0 0 "+d+" "+k}),I=MO.makeSvgSpan([],[M],n);I.height=k/1e3,I.style.width=B,I.style.height=F,D.push({type:"elem",elem:I})}else{if(D.push(XN(l,f,o)),D.push(JN),null===s){var P=S-p-y+.016;D.push(ZN(u,P,n))}else{var R=(S-p-y-b)/2+.016;D.push(ZN(u,R,n)),D.push(JN),D.push(XN(s,f,o)),D.push(JN),D.push(ZN(u,R,n))}D.push(JN),D.push(XN(a,f,o))}var L=n.havingBaseStyle(nk.TEXT),_=MO.makeVList({positionType:"bottom",positionData:A,children:D},L);return WN(MO.makeSpan(["delimsizing","mult"],[_],L),nk.TEXT,n,i)},rB=.08,nB=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,sk);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,sk);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,sk);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,sk);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,sk);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,sk,r)}return n}(e,n,r),a=new Pk(e,i),s=new Ik([a],{width:"400em",height:Sk(t),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return MO.makeSvgSpan(["hide-tail"],[s],o)},oB=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],iB=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],aB=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],sB=[0,1.2,1.8,2.4,3],uB=[{type:"small",style:nk.SCRIPTSCRIPT},{type:"small",style:nk.SCRIPT},{type:"small",style:nk.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],lB=[{type:"small",style:nk.SCRIPTSCRIPT},{type:"small",style:nk.SCRIPT},{type:"small",style:nk.TEXT},{type:"stack"}],cB=[{type:"small",style:nk.SCRIPTSCRIPT},{type:"small",style:nk.SCRIPT},{type:"small",style:nk.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],dB=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.")},fB=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=GN(e,dB(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]},hB=function(e,t,r,n,o,i){var a;"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),a=aB.includes(e)?uB:oB.includes(e)?cB:lB;var s=fB(e,t,a,n);return"small"===s.type?function(e,t,r,n,o,i){var a=MO.makeSymbol(e,"Main-Regular",o,n),s=WN(a,t,n,i);return r&&YN(s,n,t),s}(e,s.style,r,n,o,i):"large"===s.type?KN(e,s.size,r,n,o,i):tB(e,t,r,n,o,i)},pB={sqrtImage:function(e,t){var r,n,o=t.havingBaseSizing(),i=fB("\\surd",e*o.sizeMultiplier,cB,o),a=o.sizeMultiplier,s=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),u=0,l=0,c=0;return"small"===i.type?(e<1?a=1:e<1.4&&(a=.7),l=(1+s)/a,(r=nB("sqrtMain",u=(1+s+rB)/a,c=1e3+1e3*s+80,s,t)).style.minWidth="0.853em",n=.833/a):"large"===i.type?(c=1080*sB[i.size],l=(sB[i.size]+s)/a,u=(sB[i.size]+s+rB)/a,(r=nB("sqrtSize"+i.size,u,c,s,t)).style.minWidth="1.02em",n=1/a):(u=e+s+rB,l=e+s,c=Math.floor(1e3*e+s)+80,(r=nB("sqrtTall",u,c,s,t)).style.minWidth="0.742em",n=1.056),r.height=l,r.style.height=Sk(u),{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"),oB.includes(e)||aB.includes(e))return KN(e,t,!1,r,n,o);if(iB.includes(e))return tB(e,sB[t],!1,r,n,o);throw new jT("Illegal delimiter: '"+e+"'")},sizeToMaxHeight:sB,customSizedDelim:hB,leftRightDelim:function(e,t,r,n,o,i){var a=n.fontMetrics().axisHeight*n.sizeMultiplier,s=5/n.fontMetrics().ptPerEm,u=Math.max(t-a,r+a),l=Math.max(u/500*901,2*u-s);return hB(e,l,!0,n,o,i)}},gB={"\\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}},mB=["(","\\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 vB(e,t){var r=TN(e);if(r&&mB.includes(r.text))return r;throw new jT(r?"Invalid delimiter '"+r.text+"' after '"+t.funcName+"'":"Invalid delimiter type '"+e.type+"'",e)}function yB(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}$O({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=vB(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:gB[e.funcName].size,mclass:gB[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>"."===e.delim?MO.makeSpan([e.mclass]):pB.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];"."!==e.delim&&t.push(cN(e.delim,e.mode));var r=new lN.MathNode("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=Sk(pB.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}}),$O({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 jT("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:vB(t[0],e).text,color:r}}}),$O({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=vB(t[0],e),n=e.parser;++n.leftrightDepth;var o=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var i=AN(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:o,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{yB(e);for(var r,n,o=ZO(e.body,t,!0,["mopen","mclose"]),i=0,a=0,s=!1,u=0;u<o.length;u++)o[u].isMiddle?s=!0:(i=Math.max(o[u].height,i),a=Math.max(o[u].depth,a));if(i*=t.sizeMultiplier,a*=t.sizeMultiplier,r="."===e.left?rN(t,["mopen"]):pB.leftRightDelim(e.left,i,a,t,e.mode,["mopen"]),o.unshift(r),s)for(var l=1;l<o.length;l++){var c=o[l].isMiddle;c&&(o[l]=pB.leftRightDelim(c.delim,i,a,c.options,e.mode,[]))}if("."===e.right)n=rN(t,["mclose"]);else{var d=e.rightColor?t.withColor(e.rightColor):t;n=pB.leftRightDelim(e.right,i,a,d,e.mode,["mclose"])}return o.push(n),MO.makeSpan(["minner"],o,t)},mathmlBuilder:(e,t)=>{yB(e);var r=pN(e.body,t);if("."!==e.left){var n=new lN.MathNode("mo",[cN(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if("."!==e.right){var o=new lN.MathNode("mo",[cN(e.right,e.mode)]);o.setAttribute("fence","true"),e.rightColor&&o.setAttribute("mathcolor",e.rightColor),r.push(o)}return dN(r)}}),$O({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=vB(t[0],e);if(!e.parser.leftrightDepth)throw new jT("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if("."===e.delim)r=rN(t,[]);else{r=pB.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?cN("|","text"):cN(e.delim,e.mode),n=new lN.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var bB=(e,t)=>{var r,n,o=MO.wrapFragment(nN(e.body,t),t),i=e.label.slice(1),a=t.sizeMultiplier,s=0,u=qT.isCharacterBox(e.body);if("sout"===i)(r=MO.makeSpan(["stretchy","sout"])).height=t.fontMetrics().defaultRuleThickness/a,s=-.5*t.fontMetrics().xHeight;else if("phase"===i){var l=xk({number:.6,unit:"pt"},t),c=xk({number:.35,unit:"ex"},t);a/=t.havingBaseSizing().sizeMultiplier;var d=o.height+o.depth+l+c;o.style.paddingLeft=Sk(d/2+l);var f=Math.floor(1e3*d*a),h=function(e){return"M400000 "+e+" H0 L"+e/2+" 0 l65 45 L145 "+(e-80)+" H400000z"}(f),p=new Ik([new Pk("phase",h)],{width:"400em",height:Sk(f/1e3),viewBox:"0 0 400000 "+f,preserveAspectRatio:"xMinYMin slice"});(r=MO.makeSvgSpan(["hide-tail"],[p],t)).style.height=Sk(d),s=o.depth+l+c}else{/cancel/.test(i)?u||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=u?.2:0,r=xN(o,i,g,m,t),/fbox|boxed|fcolorbox/.test(i)?(r.style.borderStyle="solid",r.style.borderWidth=Sk(v)):"angl"===i&&.049!==v&&(r.style.borderTopWidth=Sk(v),r.style.borderRightWidth=Sk(v)),s=o.depth+m,e.backgroundColor&&(r.style.backgroundColor=e.backgroundColor,e.borderColor&&(r.style.borderColor=e.borderColor))}if(e.backgroundColor)n=MO.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=MO.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)&&!u?MO.makeSpan(["mord","cancel-lap"],[n],t):MO.makeSpan(["mord"],[n],t)},wB=(e,t)=>{var r=0,n=new lN.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[mN(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};$O({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:n,funcName:o}=e,i=AN(t[0],"color-token").color,a=t[1];return{type:"enclose",mode:n.mode,label:o,backgroundColor:i,body:a}},htmlBuilder:bB,mathmlBuilder:wB}),$O({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:n,funcName:o}=e,i=AN(t[0],"color-token").color,a=AN(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:n.mode,label:o,backgroundColor:a,borderColor:i,body:s}},htmlBuilder:bB,mathmlBuilder:wB}),$O({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]}}}),$O({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:bB,mathmlBuilder:wB}),$O({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 EB={};function xB(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},u=0;u<r.length;++u)EB[r[u]]=s;i&&(jO[t]=i),a&&(HO[t]=a)}var SB={};function CB(e,t){SB[e]=t}function AB(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 DB=e=>{if(!e.parser.settings.displayMode)throw new jT("{"+e.envName+"} can be used only in display mode.")};function TB(e){if(-1===e.indexOf("ed"))return-1===e.indexOf("*")}function kB(e,t,r){var{hskipBeforeAndAfter:n,addJot:o,cols:i,arraystretch:a,colSeparationType:s,autoTag:u,singleRow:l,emptySingleRow:c,maxNumCols:d,leqno:f}=t;if(e.gullet.beginGroup(),l||e.gullet.macros.set("\\cr","\\\\\\relax"),!a){var h=e.gullet.expandMacroAsText("\\arraystretch");if(null==h)a=1;else if(!(a=parseFloat(h))||a<0)throw new jT("Invalid \\arraystretch: "+h)}e.gullet.beginGroup();var p=[],g=[p],m=[],v=[],y=null!=u?[]:void 0;function b(){u&&e.gullet.macros.set("\\@eqnsw","1",!0)}function w(){y&&(e.gullet.macros.get("\\df@tag")?(y.push(e.subparse([new zT("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):y.push(Boolean(u)&&"1"===e.gullet.macros.get("\\@eqnsw")))}for(b(),v.push(AB(e));;){var E=e.parseExpression(!1,l?"\\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]}),p.push(E);var x=e.fetch().text;if("&"===x){if(d&&p.length===d){if(l||s)throw new jT("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===p.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 jT("Expected & or \\\\ or \\cr or \\end",e.nextToken);e.consume();var S=void 0;" "!==e.gullet.future().text&&(S=e.parseSizeGroup(!0)),m.push(S?S.value:null),w(),v.push(AB(e)),p=[],g.push(p),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:f}}function OB(e){return"d"===e.slice(0,1)?"display":"text"}var NB=function(e,t){var r,n,o=e.body.length,i=e.hLinesBeforeRow,a=0,s=new Array(o),u=[],l=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),c=1/t.fontMetrics().ptPerEm,d=5*c;e.colSeparationType&&"small"===e.colSeparationType&&(d=t.havingStyle(nk.SCRIPT).sizeMultiplier/t.sizeMultiplier*.2778);var f="CD"===e.colSeparationType?xk({number:3,unit:"ex"},t):12*c,h=3*c,p=e.arraystretch*f,g=.7*p,m=.3*p,v=0;function y(e){for(var t=0;t<e.length;++t)t>0&&(v+=.25),u.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 S=nN(b[n],t);E<S.depth&&(E=S.depth),w<S.height&&(w=S.height),x[n]=S}var C=e.rowGaps[r],A=0;C&&(A=xk(C,t))>0&&(E<(A+=m)&&(E=A),A=0),e.addJot&&(E+=h),x.height=w,x.depth=E,v+=w,x.pos=v,v+=E+A,s[r]=x,y(i[r+1])}var D,T,k=v/2+t.fontMetrics().axisHeight,O=e.cols||[],N=[],B=[];if(e.tags&&e.tags.some(e=>e))for(r=0;r<o;++r){var F=s[r],M=F.pos-k,I=e.tags[r],P=void 0;(P=!0===I?MO.makeSpan(["eqn-num"],[],t):!1===I?MO.makeSpan([],[],t):MO.makeSpan([],ZO(I,t,!0),t)).depth=F.depth,P.height=F.height,B.push({type:"elem",elem:P,shift:M})}for(n=0,T=0;n<a||T<O.length;++n,++T){for(var R=O[T]||{},L=!0;"separator"===R.type;){if(L||((D=MO.makeSpan(["arraycolsep"],[])).style.width=Sk(t.fontMetrics().doubleRuleSep),N.push(D)),"|"!==R.separator&&":"!==R.separator)throw new jT("Invalid separator type: "+R.separator);var _="|"===R.separator?"solid":"dashed",z=MO.makeSpan(["vertical-separator"],[],t);z.style.height=Sk(v),z.style.borderRightWidth=Sk(l),z.style.borderRightStyle=_,z.style.margin="0 "+Sk(-l/2);var j=v-k;j&&(z.style.verticalAlign=Sk(-j)),N.push(z),R=O[++T]||{},L=!1}if(!(n>=a)){var H=void 0;(n>0||e.hskipBeforeAndAfter)&&0!==(H=qT.deflt(R.pregap,d))&&((D=MO.makeSpan(["arraycolsep"],[])).style.width=Sk(H),N.push(D));var $=[];for(r=0;r<o;++r){var U=s[r],V=U[n];if(V){var q=U.pos-k;V.depth=U.depth,V.height=U.height,$.push({type:"elem",elem:V,shift:q})}}$=MO.makeVList({positionType:"individualShift",children:$},t),$=MO.makeSpan(["col-align-"+(R.align||"c")],[$]),N.push($),(n<a-1||e.hskipBeforeAndAfter)&&0!==(H=qT.deflt(R.postgap,d))&&((D=MO.makeSpan(["arraycolsep"],[])).style.width=Sk(H),N.push(D))}}if(s=MO.makeSpan(["mtable"],N),u.length>0){for(var G=MO.makeLineSpan("hline",t,l),W=MO.makeLineSpan("hdashline",t,l),Y=[{type:"elem",elem:s,shift:0}];u.length>0;){var K=u.pop(),X=K.pos-k;K.isDashed?Y.push({type:"elem",elem:W,shift:X}):Y.push({type:"elem",elem:G,shift:X})}s=MO.makeVList({positionType:"individualShift",children:Y},t)}if(0===B.length)return MO.makeSpan(["mord"],[s],t);var Z=MO.makeVList({positionType:"individualShift",children:B},t);return Z=MO.makeSpan(["tag"],[Z],t),MO.makeFragment([s,Z])},BB={c:"center ",l:"left ",r:"right "},FB=function(e,t){for(var r=[],n=new lN.MathNode("mtd",[],["mtr-glue"]),o=new lN.MathNode("mtd",[],["mml-eqn-num"]),i=0;i<e.body.length;i++){for(var a=e.body[i],s=[],u=0;u<a.length;u++)s.push(new lN.MathNode("mtd",[mN(a[u],t)]));e.tags&&e.tags[i]&&(s.unshift(n),s.push(n),e.leqno?s.unshift(o):s.push(o)),r.push(new lN.MathNode("mtr",s))}var l=new lN.MathNode("mtable",r),c=.5===e.arraystretch?.1:.16+e.arraystretch-1+(e.addJot?.09:0);l.setAttribute("rowspacing",Sk(c));var d="",f="";if(e.cols&&e.cols.length>0){var h=e.cols,p="",g=!1,m=0,v=h.length;"separator"===h[0].type&&(d+="top ",m=1),"separator"===h[h.length-1].type&&(d+="bottom ",v-=1);for(var y=m;y<v;y++)"align"===h[y].type?(f+=BB[h[y].align],g&&(p+="none "),g=!0):"separator"===h[y].type&&g&&(p+="|"===h[y].separator?"solid ":"dashed ",g=!1);l.setAttribute("columnalign",f.trim()),/[sd]/.test(p)&&l.setAttribute("columnlines",p.trim())}if("align"===e.colSeparationType){for(var b=e.cols||[],w="",E=1;E<b.length;E++)w+=E%2?"0em ":"1em ";l.setAttribute("columnspacing",w.trim())}else"alignat"===e.colSeparationType||"gather"===e.colSeparationType?l.setAttribute("columnspacing","0em"):"small"===e.colSeparationType?l.setAttribute("columnspacing","0.2778em"):"CD"===e.colSeparationType?l.setAttribute("columnspacing","0.5em"):l.setAttribute("columnspacing","1em");var x="",S=e.hLinesBeforeRow;d+=S[0].length>0?"left ":"",d+=S[S.length-1].length>0?"right ":"";for(var C=1;C<S.length-1;C++)x+=0===S[C].length?"none ":S[C][0]?"dashed ":"solid ";return/[sd]/.test(x)&&l.setAttribute("rowlines",x.trim()),""!==d&&(l=new lN.MathNode("menclose",[l])).setAttribute("notation",d.trim()),e.arraystretch&&e.arraystretch<1&&(l=new lN.MathNode("mstyle",[l])).setAttribute("scriptlevel","1"),l},MB=function(e,t){-1===e.envName.indexOf("ed")&&DB(e);var r,n=[],o=e.envName.indexOf("at")>-1?"alignat":"align",i="split"===e.envName,a=kB(e.parser,{cols:n,addJot:!0,autoTag:i?void 0:TB(e.envName),emptySingleRow:!0,colSeparationType:o,maxNumCols:i?2:void 0,leqno:e.parser.settings.leqno},"display"),s=0,u={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){for(var l="",c=0;c<t[0].body.length;c++){l+=AN(t[0].body[c],"textord").text}r=Number(l),s=2*r}var d=!s;a.body.forEach(function(e){for(var t=1;t<e.length;t+=2){var n=AN(e[t],"styling");AN(n.body[0],"ordgroup").body.unshift(u)}if(d)s<e.length&&(s=e.length);else{var o=e.length/2;if(r<o)throw new jT("Too many math in a row: expected "+r+", but got "+o,e[0])}});for(var f=0;f<s;++f){var h="r",p=0;f%2==1?h="l":f>0&&d&&(p=1),n[f]={type:"align",align:h,pregap:p,postgap:0}}return a.colSeparationType=d?"align":"alignat",a};xB({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=(TN(t[0])?[t[0]]:AN(t[0],"ordgroup").body).map(function(e){var t=DN(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 jT("Unknown column alignment: "+t,e)}),n={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return kB(e.parser,n,OB(e.envName))},htmlBuilder:NB,mathmlBuilder:FB}),xB({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 jT("Expected l or c or r",o.nextToken);o.consume(),o.consumeSpaces(),o.expect("]"),o.consume(),n.cols=[{type:"align",align:r}]}}var i=kB(e.parser,n,OB(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:NB,mathmlBuilder:FB}),xB({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t=kB(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:NB,mathmlBuilder:FB}),xB({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=(TN(t[0])?[t[0]]:AN(t[0],"ordgroup").body).map(function(e){var t=DN(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new jT("Unknown column alignment: "+t,e)});if(r.length>1)throw new jT("{subarray} can contain only one column");var n={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5};if((n=kB(e.parser,n,"script")).body.length>0&&n.body[0].length>1)throw new jT("{subarray} can contain only one column");return n},htmlBuilder:NB,mathmlBuilder:FB}),xB({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t=kB(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},OB(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:NB,mathmlBuilder:FB}),xB({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:MB,htmlBuilder:NB,mathmlBuilder:FB}),xB({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){["gather","gather*"].includes(e.envName)&&DB(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:TB(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return kB(e.parser,t,"display")},htmlBuilder:NB,mathmlBuilder:FB}),xB({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:MB,htmlBuilder:NB,mathmlBuilder:FB}),xB({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){DB(e);var t={autoTag:TB(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return kB(e.parser,t,"display")},htmlBuilder:NB,mathmlBuilder:FB}),xB({type:"array",names:["CD"],props:{numArgs:0},handler:e=>(DB(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 jT("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=LN(),u=0;u<a.length;u++)if(_N(a[u])){n.push(s);var l=DN(a[u+=1]).text,c=new Array(2);if(c[0]={type:"ordgroup",mode:"math",body:[]},c[1]={type:"ordgroup",mode:"math",body:[]},"=|.".indexOf(l)>-1);else{if(!("<>AV".indexOf(l)>-1))throw new jT('Expected one of "<>AV=|." after @',a[u]);for(var d=0;d<2;d++){for(var f=!0,h=u+1;h<a.length;h++){if(zN(a[h],l)){f=!1,u=h;break}if(_N(a[h]))throw new jT("Missing a "+l+" character to complete a CD arrow.",a[h]);c[d].body.push(a[h])}if(f)throw new jT("Missing a "+l+" character to complete a CD arrow.",a[u])}}var p={type:"styling",body:[jN(l,c,e)],mode:"math",style:"display"};n.push(p),s=LN()}else s.body.push(a[u]);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:NB,mathmlBuilder:FB}),CB("\\nonumber","\\gdef\\@eqnsw{0}"),CB("\\notag","\\nonumber"),$O({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new jT(e.funcName+" valid only within array environment")}});var IB=EB;$O({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 jT("Invalid environment name",o);for(var i="",a=0;a<o.body.length;++a)i+=AN(o.body[a],"textord").text;if("\\begin"===n){if(!IB.hasOwnProperty(i))throw new jT("No such environment: "+i,o);var s=IB[i],{args:u,optArgs:l}=r.parseArguments("\\begin{"+i+"}",s),c={mode:r.mode,envName:i,parser:r},d=s.handler(c,u,l);r.expect("\\end",!1);var f=r.nextToken,h=AN(r.parseFunction(),"environment");if(h.name!==i)throw new jT("Mismatch: \\begin{"+i+"} matched by \\end{"+h.name+"}",f);return d}return{type:"environment",mode:r.mode,name:i,nameGroup:o}}});var PB=(e,t)=>{var r=e.font,n=t.withFont(r);return nN(e.body,n)},RB=(e,t)=>{var r=e.font,n=t.withFont(r);return mN(e.body,n)},LB={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};$O({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=VO(t[0]),i=n;return i in LB&&(i=LB[i]),{type:"font",mode:r.mode,font:i.slice(1),body:o}},htmlBuilder:PB,mathmlBuilder:RB}),$O({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0],o=qT.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:PN(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:o}}}),$O({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:PB,mathmlBuilder:RB});var _B=(e,t)=>{var r=t;return"display"===e?r=r.id>=nk.SCRIPT.id?r.text():nk.DISPLAY:"text"===e&&r.size===nk.DISPLAY.size?r=nk.TEXT:"script"===e?r=nk.SCRIPT:"scriptscript"===e&&(r=nk.SCRIPTSCRIPT),r},zB=(e,t)=>{var r,n=_B(e.size,t.style),o=n.fracNum(),i=n.fracDen();r=t.havingStyle(o);var a=nN(e.numer,r,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,u=3.5/t.fontMetrics().ptPerEm;a.height=a.height<s?s:a.height,a.depth=a.depth<u?u:a.depth}r=t.havingStyle(i);var l,c,d,f,h,p,g,m,v,y,b=nN(e.denom,r,t);if(e.hasBarLine?(e.barSize?(c=xk(e.barSize,t),l=MO.makeLineSpan("frac-line",t,c)):l=MO.makeLineSpan("frac-line",t),c=l.height,d=l.height):(l=null,c=0,d=t.fontMetrics().defaultRuleThickness),n.size===nk.DISPLAY.size||"display"===e.size?(f=t.fontMetrics().num1,h=c>0?3*d:7*d,p=t.fontMetrics().denom1):(c>0?(f=t.fontMetrics().num2,h=d):(f=t.fontMetrics().num3,h=3*d),p=t.fontMetrics().denom2),l){var w=t.fontMetrics().axisHeight;f-a.depth-(w+.5*c)<h&&(f+=h-(f-a.depth-(w+.5*c))),w-.5*c-(b.height-p)<h&&(p+=h-(w-.5*c-(b.height-p)));var E=-(w-.5*c);g=MO.makeVList({positionType:"individualShift",children:[{type:"elem",elem:b,shift:p},{type:"elem",elem:l,shift:E},{type:"elem",elem:a,shift:-f}]},t)}else{var x=f-a.depth-(b.height-p);x<h&&(f+=.5*(h-x),p+=.5*(h-x)),g=MO.makeVList({positionType:"individualShift",children:[{type:"elem",elem:b,shift:p},{type:"elem",elem:a,shift:-f}]},t)}return r=t.havingStyle(n),g.height*=r.sizeMultiplier/t.sizeMultiplier,g.depth*=r.sizeMultiplier/t.sizeMultiplier,m=n.size===nk.DISPLAY.size?t.fontMetrics().delim1:n.size===nk.SCRIPTSCRIPT.size?t.havingStyle(nk.SCRIPT).fontMetrics().delim2:t.fontMetrics().delim2,v=null==e.leftDelim?rN(t,["mopen"]):pB.customSizedDelim(e.leftDelim,m,!0,t.havingStyle(n),e.mode,["mopen"]),y=e.continued?MO.makeSpan([]):null==e.rightDelim?rN(t,["mclose"]):pB.customSizedDelim(e.rightDelim,m,!0,t.havingStyle(n),e.mode,["mclose"]),MO.makeSpan(["mord"].concat(r.sizingClasses(t)),[v,MO.makeSpan(["mfrac"],[g]),y],t)},jB=(e,t)=>{var r=new lN.MathNode("mfrac",[mN(e.numer,t),mN(e.denom,t)]);if(e.hasBarLine){if(e.barSize){var n=xk(e.barSize,t);r.setAttribute("linethickness",Sk(n))}}else r.setAttribute("linethickness","0px");var o=_B(e.size,t.style);if(o.size!==t.style.size){r=new lN.MathNode("mstyle",[r]);var i=o.size===nk.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 lN.MathNode("mo",[new lN.TextNode(e.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}if(a.push(r),null!=e.rightDelim){var u=new lN.MathNode("mo",[new lN.TextNode(e.rightDelim.replace("\\",""))]);u.setAttribute("fence","true"),a.push(u)}return dN(a)}return r};$O({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,u=null,l="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="(",u=")";break;case"\\\\bracefrac":r=!1,s="\\{",u="\\}";break;case"\\\\brackfrac":r=!1,s="[",u="]";break;default:throw new Error("Unrecognized genfrac command")}switch(o){case"\\dfrac":case"\\dbinom":l="display";break;case"\\tfrac":case"\\tbinom":l="text"}return{type:"genfrac",mode:n.mode,continued:!1,numer:i,denom:a,hasBarLine:r,leftDelim:s,rightDelim:u,size:l,barSize:null}},htmlBuilder:zB,mathmlBuilder:jB}),$O({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}}}),$O({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 HB=["display","text","script","scriptscript"],$B=function(e){var t=null;return e.length>0&&(t="."===(t=e)?null:t),t};$O({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=VO(t[0]),s="atom"===a.type&&"open"===a.family?$B(a.text):null,u=VO(t[1]),l="atom"===u.type&&"close"===u.family?$B(u.text):null,c=AN(t[2],"size"),d=null;r=!!c.isBlank||(d=c.value).number>0;var f="auto",h=t[3];if("ordgroup"===h.type){if(h.body.length>0){var p=AN(h.body[0],"textord");f=HB[Number(p.text)]}}else h=AN(h,"textord"),f=HB[Number(h.text)];return{type:"genfrac",mode:n.mode,numer:o,denom:i,continued:!1,hasBarLine:r,barSize:d,leftDelim:s,rightDelim:l,size:f}},htmlBuilder:zB,mathmlBuilder:jB}),$O({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:AN(t[0],"size").value,token:o}}}),$O({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}(AN(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:zB,mathmlBuilder:jB});var UB=(e,t)=>{var r,n,o=t.style;"supsub"===e.type?(r=e.sup?nN(e.sup,t.havingStyle(o.sup()),t):nN(e.sub,t.havingStyle(o.sub()),t),n=AN(e.base,"horizBrace")):n=AN(e,"horizBrace");var i,a=nN(n.base,t.havingBaseStyle(nk.DISPLAY)),s=CN(n,t);if(n.isOver?(i=MO.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=MO.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 u=MO.makeSpan(["mord",n.isOver?"mover":"munder"],[i],t);i=n.isOver?MO.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:u},{type:"kern",size:.2},{type:"elem",elem:r}]},t):MO.makeVList({positionType:"bottom",positionData:u.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:u}]},t)}return MO.makeSpan(["mord",n.isOver?"mover":"munder"],[i],t)};$O({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:UB,mathmlBuilder:(e,t)=>{var r=SN(e.label);return new lN.MathNode(e.isOver?"mover":"munder",[mN(e.base,t),r])}}),$O({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],o=AN(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:o})?{type:"href",mode:r.mode,href:o,body:qO(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=ZO(e.body,t,!1);return MO.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=gN(e.body,t);return r instanceof sN||(r=new sN("mrow",[r])),r.setAttribute("href",e.href),r}}),$O({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=AN(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:qO(s)}}}),$O({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:qO(t[0])}},htmlBuilder(e,t){var r=ZO(e.body,t,!1);return MO.makeFragment(r)},mathmlBuilder:(e,t)=>new lN.MathNode("mrow",pN(e.body,t))}),$O({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=AN(t[0],"raw").string,s=t[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var u={};switch(o){case"\\htmlClass":u.class=a,r={command:"\\htmlClass",class:a};break;case"\\htmlId":u.id=a,r={command:"\\htmlId",id:a};break;case"\\htmlStyle":u.style=a,r={command:"\\htmlStyle",style:a};break;case"\\htmlData":for(var l=a.split(","),c=0;c<l.length;c++){var d=l[c].split("=");if(2!==d.length)throw new jT("Error parsing key-value for \\htmlData");u["data-"+d[0].trim()]=d[1].trim()}r={command:"\\htmlData",attributes:u};break;default:throw new Error("Unrecognized html command")}return n.settings.isTrusted(r)?{type:"html",mode:n.mode,attributes:u,body:qO(s)}:n.formatUnsupportedCmd(o)},htmlBuilder:(e,t)=>{var r=ZO(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var o=MO.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)=>gN(e.body,t)}),$O({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:qO(t[0]),mathml:qO(t[1])}},htmlBuilder:(e,t)=>{var r=ZO(e.html,t,!1);return MO.makeFragment(r)},mathmlBuilder:(e,t)=>gN(e.mathml,t)});var VB=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 jT("Invalid size: '"+e+"' in \\includegraphics");var r={number:+(t[1]+t[2]),unit:t[3]};if(!Ek(r))throw new jT("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};$O({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 u=AN(r[0],"raw").string.split(","),l=0;l<u.length;l++){var c=u[l].split("=");if(2===c.length){var d=c[1].trim();switch(c[0].trim()){case"alt":s=d;break;case"width":o=VB(d);break;case"height":i=VB(d);break;case"totalheight":a=VB(d);break;default:throw new jT("Invalid key: '"+c[0]+"' in \\includegraphics.")}}}var f=AN(t[0],"url").url;return""===s&&(s=(s=(s=f).replace(/^.*[\\/]/,"")).substring(0,s.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:f})?{type:"includegraphics",mode:n.mode,alt:s,width:o,height:i,totalheight:a,src:f}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=xk(e.height,t),n=0;e.totalheight.number>0&&(n=xk(e.totalheight,t)-r);var o=0;e.width.number>0&&(o=xk(e.width,t));var i={height:Sk(r+n)};o>0&&(i.width=Sk(o)),n>0&&(i.verticalAlign=Sk(-n));var a=new Bk(e.src,e.alt,i);return a.height=r,a.depth=n,a},mathmlBuilder:(e,t)=>{var r=new lN.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var n=xk(e.height,t),o=0;if(e.totalheight.number>0&&(o=xk(e.totalheight,t)-n,r.setAttribute("valign",Sk(-o))),r.setAttribute("height",Sk(n+o)),e.width.number>0){var i=xk(e.width,t);r.setAttribute("width",Sk(i))}return r.setAttribute("src",e.src),r}}),$O({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=AN(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)=>MO.makeGlue(e.dimension,t),mathmlBuilder(e,t){var r=xk(e.dimension,t);return new lN.SpaceNode(r)}}),$O({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=MO.makeSpan([],[nN(e.body,t)]),r=MO.makeSpan(["inner"],[r],t)):r=MO.makeSpan(["inner"],[nN(e.body,t)]);var n=MO.makeSpan(["fix"],[]),o=MO.makeSpan([e.alignment],[r,n],t),i=MO.makeSpan(["strut"]);return i.style.height=Sk(o.height+o.depth),o.depth&&(i.style.verticalAlign=Sk(-o.depth)),o.children.unshift(i),o=MO.makeSpan(["thinbox"],[o],t),MO.makeSpan(["mord","vbox"],[o],t)},mathmlBuilder:(e,t)=>{var r=new lN.MathNode("mpadded",[mN(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}}),$O({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}}}),$O({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new jT("Mismatched "+e.funcName)}});var qB=(e,t)=>{switch(t.style.size){case nk.DISPLAY.size:return e.display;case nk.TEXT.size:return e.text;case nk.SCRIPT.size:return e.script;case nk.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};$O({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:qO(t[0]),text:qO(t[1]),script:qO(t[2]),scriptscript:qO(t[3])}},htmlBuilder:(e,t)=>{var r=qB(e,t),n=ZO(r,t,!1);return MO.makeFragment(n)},mathmlBuilder:(e,t)=>{var r=qB(e,t);return gN(r,t)}});var GB=(e,t,r,n,o,i,a)=>{e=MO.makeSpan([],[e]);var s,u,l,c=r&&qT.isCharacterBox(r);if(t){var d=nN(t,n.havingStyle(o.sup()),n);u={elem:d,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-d.depth)}}if(r){var f=nN(r,n.havingStyle(o.sub()),n);s={elem:f,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-f.height)}}if(u&&s){var h=n.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+a;l=MO.makeVList({positionType:"bottom",positionData:h,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:Sk(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:Sk(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(s){var p=e.height-a;l=MO.makeVList({positionType:"top",positionData:p,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:Sk(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e}]},n)}else{if(!u)return e;var g=e.depth+a;l=MO.makeVList({positionType:"bottom",positionData:g,children:[{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:Sk(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}var m=[l];if(s&&0!==i&&!c){var v=MO.makeSpan(["mspace"],[],n);v.style.marginRight=Sk(i),m.unshift(v)}return MO.makeSpan(["mop","op-limits"],m,n)},WB=["\\smallint"],YB=(e,t)=>{var r,n,o,i=!1;"supsub"===e.type?(r=e.sup,n=e.sub,o=AN(e.base,"op"),i=!0):o=AN(e,"op");var a,s=t.style,u=!1;if(s.size===nk.DISPLAY.size&&o.symbol&&!WB.includes(o.name)&&(u=!0),o.symbol){var l=u?"Size2-Regular":"Size1-Regular",c="";if("\\oiint"!==o.name&&"\\oiiint"!==o.name||(c=o.name.slice(1),o.name="oiint"===c?"\\iint":"\\iiint"),a=MO.makeSymbol(o.name,l,"math",t,["mop","op-symbol",u?"large-op":"small-op"]),c.length>0){var d=a.italic,f=MO.staticSvg(c+"Size"+(u?"2":"1"),t);a=MO.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:0},{type:"elem",elem:f,shift:u?.08:0}]},t),o.name="\\"+c,a.classes.unshift("mop"),a.italic=d}}else if(o.body){var h=ZO(o.body,t,!0);1===h.length&&h[0]instanceof Mk?(a=h[0]).classes[0]="mop":a=MO.makeSpan(["mop"],h,t)}else{for(var p=[],g=1;g<o.name.length;g++)p.push(MO.mathsym(o.name[g],o.mode,t));a=MO.makeSpan(["mop"],p,t)}var m=0,v=0;return(a instanceof Mk||"\\oiint"===o.name||"\\oiiint"===o.name)&&!o.suppressBaseShift&&(m=(a.height-a.depth)/2-t.fontMetrics().axisHeight,v=a.italic),i?GB(a,r,n,t,s,v,m):(m&&(a.style.position="relative",a.style.top=Sk(m)),a)},KB=(e,t)=>{var r;if(e.symbol)r=new sN("mo",[cN(e.name,e.mode)]),WB.includes(e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new sN("mo",pN(e.body,t));else{r=new sN("mi",[new uN(e.name.slice(1))]);var n=new sN("mo",[cN("⁡","text")]);r=e.parentIsSupSub?new sN("mrow",[r,n]):aN([r,n])}return r},XB={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};$O({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=XB[o]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:o}},htmlBuilder:YB,mathmlBuilder:KB}),$O({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:qO(n)}},htmlBuilder:YB,mathmlBuilder:KB});var ZB={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};$O({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:YB,mathmlBuilder:KB}),$O({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:YB,mathmlBuilder:KB}),$O({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=ZB[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:YB,mathmlBuilder:KB});var JB=(e,t)=>{var r,n,o,i,a=!1;if("supsub"===e.type?(r=e.sup,n=e.sub,o=AN(e.base,"operatorname"),a=!0):o=AN(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}),u=ZO(s,t.withFont("mathrm"),!0),l=0;l<u.length;l++){var c=u[l];c instanceof Mk&&(c.text=c.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}i=MO.makeSpan(["mop"],u,t)}else i=MO.makeSpan(["mop"],[],t);return a?GB(i,r,n,t,t.style,0,0):i};function QB(e,t,r){for(var n=ZO(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 MO.makeFragment(n)}$O({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:qO(o),alwaysHandleSupSub:"\\operatornamewithlimits"===n,limits:!1,parentIsSupSub:!1}},htmlBuilder:JB,mathmlBuilder:(e,t)=>{for(var r=pN(e.body,t.withFont("mathrm")),n=!0,o=0;o<r.length;o++){var i=r[o];if(i instanceof lN.SpaceNode);else if(i instanceof lN.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 lN.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 lN.TextNode(s)]}var u=new lN.MathNode("mi",r);u.setAttribute("mathvariant","normal");var l=new lN.MathNode("mo",[cN("⁡","text")]);return e.parentIsSupSub?new lN.MathNode("mrow",[u,l]):lN.newDocumentFragment([u,l])}}),CB("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),UO({type:"ordgroup",htmlBuilder:(e,t)=>e.semisimple?MO.makeFragment(ZO(e.body,t,!1)):MO.makeSpan(["mord"],ZO(e.body,t,!0),t),mathmlBuilder:(e,t)=>gN(e.body,t,!0)}),$O({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=nN(e.body,t.havingCrampedStyle()),n=MO.makeLineSpan("overline-line",t),o=t.fontMetrics().defaultRuleThickness,i=MO.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*o},{type:"elem",elem:n},{type:"kern",size:o}]},t);return MO.makeSpan(["mord","overline"],[i],t)},mathmlBuilder(e,t){var r=new lN.MathNode("mo",[new lN.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new lN.MathNode("mover",[mN(e.body,t),r]);return n.setAttribute("accent","true"),n}}),$O({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:qO(n)}},htmlBuilder:(e,t)=>{var r=ZO(e.body,t.withPhantom(),!1);return MO.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=pN(e.body,t);return new lN.MathNode("mphantom",r)}}),$O({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=MO.makeSpan([],[nN(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=MO.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t),MO.makeSpan(["mord"],[r],t)},mathmlBuilder:(e,t)=>{var r=pN(qO(e.body),t),n=new lN.MathNode("mphantom",r),o=new lN.MathNode("mpadded",[n]);return o.setAttribute("height","0px"),o.setAttribute("depth","0px"),o}}),$O({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=MO.makeSpan(["inner"],[nN(e.body,t.withPhantom())]),n=MO.makeSpan(["fix"],[]);return MO.makeSpan(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=pN(qO(e.body),t),n=new lN.MathNode("mphantom",r),o=new lN.MathNode("mpadded",[n]);return o.setAttribute("width","0px"),o}}),$O({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=AN(t[0],"size").value,o=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:o}},htmlBuilder(e,t){var r=nN(e.body,t),n=xk(e.dy,t);return MO.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new lN.MathNode("mpadded",[mN(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}}),$O({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),$O({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=AN(t[0],"size"),a=AN(t[1],"size");return{type:"rule",mode:n.mode,shift:o&&AN(o,"size").value,width:i.value,height:a.value}},htmlBuilder(e,t){var r=MO.makeSpan(["mord","rule"],[],t),n=xk(e.width,t),o=xk(e.height,t),i=e.shift?xk(e.shift,t):0;return r.style.borderRightWidth=Sk(n),r.style.borderTopWidth=Sk(o),r.style.bottom=Sk(i),r.width=n,r.height=o+i,r.depth=-i,r.maxFontSize=1.125*o*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=xk(e.width,t),n=xk(e.height,t),o=e.shift?xk(e.shift,t):0,i=t.color&&t.getColor()||"black",a=new lN.MathNode("mspace");a.setAttribute("mathbackground",i),a.setAttribute("width",Sk(r)),a.setAttribute("height",Sk(n));var s=new lN.MathNode("mpadded",[a]);return o>=0?s.setAttribute("height",Sk(o)):(s.setAttribute("height",Sk(o)),s.setAttribute("depth",Sk(-o))),s.setAttribute("voffset",Sk(o)),s}});var eF=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];$O({type:"sizing",names:eF,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:eF.indexOf(n)+1,body:i}},htmlBuilder:(e,t)=>{var r=t.havingSize(e.size);return QB(e.body,r,t)},mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=pN(e.body,r),o=new lN.MathNode("mstyle",n);return o.setAttribute("mathsize",Sk(r.sizeMultiplier)),o}}),$O({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]&&AN(r[0],"ordgroup");if(a)for(var s="",u=0;u<a.body.length;++u){if("t"===(s=a.body[u].text))o=!0;else{if("b"!==s){o=!1,i=!1;break}i=!0}}else o=!0,i=!0;var l=t[0];return{type:"smash",mode:n.mode,body:l,smashHeight:o,smashDepth:i}},htmlBuilder:(e,t)=>{var r=MO.makeSpan([],[nN(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=MO.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t);return MO.makeSpan(["mord"],[i],t)},mathmlBuilder:(e,t)=>{var r=new lN.MathNode("mpadded",[mN(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}}),$O({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=nN(e.body,t.havingCrampedStyle());0===r.height&&(r.height=t.fontMetrics().xHeight),r=MO.wrapFragment(r,t);var n=t.fontMetrics().defaultRuleThickness,o=n;t.style.id<nk.TEXT.id&&(o=t.fontMetrics().xHeight);var i=n+o/4,a=r.height+r.depth+i+n,{span:s,ruleWidth:u,advanceWidth:l}=pB.sqrtImage(a,t),c=s.height-u;c>r.height+r.depth+i&&(i=(i+c-r.height-r.depth)/2);var d=s.height-r.height-i-u;r.style.paddingLeft=Sk(l);var f=MO.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+d)},{type:"elem",elem:s},{type:"kern",size:u}]},t);if(e.index){var h=t.havingStyle(nk.SCRIPTSCRIPT),p=nN(e.index,h,t),g=.6*(f.height-f.depth),m=MO.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:p}]},t),v=MO.makeSpan(["root"],[m]);return MO.makeSpan(["mord","sqrt"],[v,f],t)}return MO.makeSpan(["mord","sqrt"],[f],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new lN.MathNode("mroot",[mN(r,t),mN(n,t)]):new lN.MathNode("msqrt",[mN(r,t)])}});var tF={display:nk.DISPLAY,text:nk.TEXT,script:nk.SCRIPT,scriptscript:nk.SCRIPTSCRIPT};$O({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=tF[e.style],n=t.havingStyle(r).withFont("");return QB(e.body,n,t)},mathmlBuilder(e,t){var r=tF[e.style],n=t.havingStyle(r),o=pN(e.body,n),i=new lN.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}});UO({type:"supsub",htmlBuilder(e,t){var r=function(e,t){var r=e.base;return r?"op"===r.type?r.limits&&(t.style.size===nk.DISPLAY.size||r.alwaysHandleSupSub)?YB:null:"operatorname"===r.type?r.alwaysHandleSupSub&&(t.style.size===nk.DISPLAY.size||r.limits)?JB:null:"accent"===r.type?qT.isCharacterBox(r.base)?kN:null:"horizBrace"===r.type&&!e.sub===r.isOver?UB:null:null}(e,t);if(r)return r(e,t);var n,o,i,{base:a,sup:s,sub:u}=e,l=nN(a,t),c=t.fontMetrics(),d=0,f=0,h=a&&qT.isCharacterBox(a);if(s){var p=t.havingStyle(t.style.sup());n=nN(s,p,t),h||(d=l.height-p.fontMetrics().supDrop*p.sizeMultiplier/t.sizeMultiplier)}if(u){var g=t.havingStyle(t.style.sub());o=nN(u,g,t),h||(f=l.depth+g.fontMetrics().subDrop*g.sizeMultiplier/t.sizeMultiplier)}i=t.style===nk.DISPLAY?c.sup1:t.style.cramped?c.sup3:c.sup2;var m,v=t.sizeMultiplier,y=Sk(.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);(l instanceof Mk||w)&&(b=Sk(-l.italic))}if(n&&o){d=Math.max(d,i,n.depth+.25*c.xHeight),f=Math.max(f,c.sub2);var E=4*c.defaultRuleThickness;if(d-n.depth-(o.height-f)<E){f=E-(d-n.depth)+o.height;var x=.8*c.xHeight-(d-n.depth);x>0&&(d+=x,f-=x)}var S=[{type:"elem",elem:o,shift:f,marginRight:y,marginLeft:b},{type:"elem",elem:n,shift:-d,marginRight:y}];m=MO.makeVList({positionType:"individualShift",children:S},t)}else if(o){f=Math.max(f,c.sub1,o.height-.8*c.xHeight);var C=[{type:"elem",elem:o,marginLeft:b,marginRight:y}];m=MO.makeVList({positionType:"shift",positionData:f,children:C},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=MO.makeVList({positionType:"shift",positionData:-d,children:[{type:"elem",elem:n,marginRight:y}]},t)}var A=tN(l,"right")||"mord";return MO.makeSpan([A],[l,MO.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=[mN(e.base,t)];if(e.sub&&i.push(mN(e.sub,t)),e.sup&&i.push(mN(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===nk.DISPLAY||a&&"operatorname"===a.type&&a.alwaysHandleSupSub&&(t.style===nk.DISPLAY||a.limits)?"munderover":"msubsup"}else{var s=e.base;o=s&&"op"===s.type&&s.limits&&(t.style===nk.DISPLAY||s.alwaysHandleSupSub)||s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(s.limits||t.style===nk.DISPLAY)?"munder":"msub"}else{var u=e.base;o=u&&"op"===u.type&&u.limits&&(t.style===nk.DISPLAY||u.alwaysHandleSupSub)||u&&"operatorname"===u.type&&u.alwaysHandleSupSub&&(u.limits||t.style===nk.DISPLAY)?"mover":"msup"}return new lN.MathNode(o,i)}}),UO({type:"atom",htmlBuilder:(e,t)=>MO.mathsym(e.text,e.mode,t,["m"+e.family]),mathmlBuilder(e,t){var r=new lN.MathNode("mo",[cN(e.text,e.mode)]);if("bin"===e.family){var n=fN(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 rF={mi:"italic",mn:"normal",mtext:"normal"};UO({type:"mathord",htmlBuilder:(e,t)=>MO.makeOrd(e,t,"mathord"),mathmlBuilder(e,t){var r=new lN.MathNode("mi",[cN(e.text,e.mode,t)]),n=fN(e,t)||"italic";return n!==rF[r.type]&&r.setAttribute("mathvariant",n),r}}),UO({type:"textord",htmlBuilder:(e,t)=>MO.makeOrd(e,t,"textord"),mathmlBuilder(e,t){var r,n=cN(e.text,e.mode,t),o=fN(e,t)||"normal";return r="text"===e.mode?new lN.MathNode("mtext",[n]):/[0-9]/.test(e.text)?new lN.MathNode("mn",[n]):"\\prime"===e.text?new lN.MathNode("mo",[n]):new lN.MathNode("mi",[n]),o!==rF[r.type]&&r.setAttribute("mathvariant",o),r}});var nF={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},oF={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};UO({type:"spacing",htmlBuilder(e,t){if(oF.hasOwnProperty(e.text)){var r=oF[e.text].className||"";if("text"===e.mode){var n=MO.makeOrd(e,t,"textord");return n.classes.push(r),n}return MO.makeSpan(["mspace",r],[MO.mathsym(e.text,e.mode,t)],t)}if(nF.hasOwnProperty(e.text))return MO.makeSpan(["mspace",nF[e.text]],[],t);throw new jT('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){if(!oF.hasOwnProperty(e.text)){if(nF.hasOwnProperty(e.text))return new lN.MathNode("mspace");throw new jT('Unknown type of space "'+e.text+'"')}return new lN.MathNode("mtext",[new lN.TextNode(" ")])}});var iF=()=>{var e=new lN.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};UO({type:"tag",mathmlBuilder(e,t){var r=new lN.MathNode("mtable",[new lN.MathNode("mtr",[iF(),new lN.MathNode("mtd",[gN(e.body,t)]),iF(),new lN.MathNode("mtd",[gN(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var aF={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},sF={"\\textbf":"textbf","\\textmd":"textmd"},uF={"\\textit":"textit","\\textup":"textup"},lF=(e,t)=>{var r=e.font;return r?aF[r]?t.withTextFontFamily(aF[r]):sF[r]?t.withTextFontWeight(sF[r]):"\\emph"===r?"textit"===t.fontShape?t.withTextFontShape("textup"):t.withTextFontShape("textit"):t.withTextFontShape(uF[r]):t};$O({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:qO(o),font:n}},htmlBuilder(e,t){var r=lF(e,t),n=ZO(e.body,r,!0);return MO.makeSpan(["mord","text"],n,r)},mathmlBuilder(e,t){var r=lF(e,t);return gN(e.body,r)}}),$O({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=nN(e.body,t),n=MO.makeLineSpan("underline-line",t),o=t.fontMetrics().defaultRuleThickness,i=MO.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 MO.makeSpan(["mord","underline"],[i],t)},mathmlBuilder(e,t){var r=new lN.MathNode("mo",[new lN.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new lN.MathNode("munder",[mN(e.body,t),r]);return n.setAttribute("accentunder","true"),n}}),$O({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=nN(e.body,t),n=t.fontMetrics().axisHeight,o=.5*(r.height-n-(r.depth+n));return MO.makeVList({positionType:"shift",positionData:o,children:[{type:"elem",elem:r}]},t)},mathmlBuilder:(e,t)=>new lN.MathNode("mpadded",[mN(e.body,t)],["vcenter"])}),$O({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new jT("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=cF(e),n=[],o=t.havingStyle(t.style.text()),i=0;i<r.length;i++){var a=r[i];"~"===a&&(a="\\textasciitilde"),n.push(MO.makeSymbol(a,"Typewriter-Regular",e.mode,o,["mord","texttt"]))}return MO.makeSpan(["mord","text"].concat(o.sizingClasses(t)),MO.tryCombineChars(n),o)},mathmlBuilder(e,t){var r=new lN.TextNode(cF(e)),n=new lN.MathNode("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var cF=e=>e.body.replace(/ /g,e.star?"␣":" "),dF=zO,fF="[ \r\n\t]",hF="(\\\\[a-zA-Z@]+)"+fF+"*",pF="[̀-ͯ]",gF=new RegExp(pF+"+$"),mF="("+fF+"+)|\\\\(\n|[ \r\t]+\n?)[ \r\t]*|([!-\\[\\]-‧‪-퟿豈-￿]"+pF+"*|[\ud800-\udbff][\udc00-\udfff]"+pF+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5|"+hF+"|\\\\[^\ud800-\udfff])";class vF{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(mF,"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 zT("EOF",new _T(this,t,t));var r=this.tokenRegex.exec(e);if(null===r||r.index!==t)throw new jT("Unexpected character: '"+e[t]+"'",new zT(e[t],new _T(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 zT(n,new _T(this,t,this.tokenRegex.lastIndex))}}class yF{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 jT("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 bF=SB;CB("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}}),CB("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}}),CB("\\@firstoftwo",function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}}),CB("\\@secondoftwo",function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}}),CB("\\@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}}),CB("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),CB("\\TextOrMath",function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var wF={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};CB("\\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 jT("\\char` missing argument");n=r.text.charCodeAt(0)}else t=10;if(t){if(null==(n=wF[r.text])||n>=t)throw new jT("Invalid base-"+t+" digit "+r.text);for(var o;null!=(o=wF[e.future().text])&&o<t;)n*=t,n+=o,e.popToken()}return"\\@char{"+n+"}"});var EF=(e,t,r,n)=>{var o=e.consumeArg().tokens;if(1!==o.length)throw new jT("\\newcommand's first argument must be a macro name");var i=o[0].text,a=e.isDefined(i);if(a&&!t)throw new jT("\\newcommand{"+i+"} attempting to redefine "+i+"; use \\renewcommand");if(!a&&!r)throw new jT("\\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 u="",l=e.expandNextToken();"]"!==l.text&&"EOF"!==l.text;)u+=l.text,l=e.expandNextToken();if(!u.match(/^\s*[0-9]+\s*$/))throw new jT("Invalid number of arguments: "+u);s=parseInt(u),o=e.consumeArg().tokens}return a&&n||e.macros.set(i,{tokens:o,numArgs:s}),""};CB("\\newcommand",e=>EF(e,!1,!0,!1)),CB("\\renewcommand",e=>EF(e,!0,!1,!1)),CB("\\providecommand",e=>EF(e,!0,!0,!0)),CB("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(e=>e.text).join("")),""}),CB("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(e=>e.text).join("")),""}),CB("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),dF[r],jk.math[r],jk.text[r]),""}),CB("\\bgroup","{"),CB("\\egroup","}"),CB("~","\\nobreakspace"),CB("\\lq","`"),CB("\\rq","'"),CB("\\aa","\\r a"),CB("\\AA","\\r A"),CB("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),CB("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),CB("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),CB("ℬ","\\mathscr{B}"),CB("ℰ","\\mathscr{E}"),CB("ℱ","\\mathscr{F}"),CB("ℋ","\\mathscr{H}"),CB("ℐ","\\mathscr{I}"),CB("ℒ","\\mathscr{L}"),CB("ℳ","\\mathscr{M}"),CB("ℛ","\\mathscr{R}"),CB("ℭ","\\mathfrak{C}"),CB("ℌ","\\mathfrak{H}"),CB("ℨ","\\mathfrak{Z}"),CB("\\Bbbk","\\Bbb{k}"),CB("·","\\cdotp"),CB("\\llap","\\mathllap{\\textrm{#1}}"),CB("\\rlap","\\mathrlap{\\textrm{#1}}"),CB("\\clap","\\mathclap{\\textrm{#1}}"),CB("\\mathstrut","\\vphantom{(}"),CB("\\underbar","\\underline{\\text{#1}}"),CB("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),CB("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),CB("\\ne","\\neq"),CB("≠","\\neq"),CB("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),CB("∉","\\notin"),CB("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),CB("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),CB("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),CB("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),CB("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),CB("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),CB("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),CB("⟂","\\perp"),CB("‼","\\mathclose{!\\mkern-0.8mu!}"),CB("∌","\\notni"),CB("⌜","\\ulcorner"),CB("⌝","\\urcorner"),CB("⌞","\\llcorner"),CB("⌟","\\lrcorner"),CB("©","\\copyright"),CB("®","\\textregistered"),CB("️","\\textregistered"),CB("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),CB("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),CB("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),CB("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),CB("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),CB("⋮","\\vdots"),CB("\\varGamma","\\mathit{\\Gamma}"),CB("\\varDelta","\\mathit{\\Delta}"),CB("\\varTheta","\\mathit{\\Theta}"),CB("\\varLambda","\\mathit{\\Lambda}"),CB("\\varXi","\\mathit{\\Xi}"),CB("\\varPi","\\mathit{\\Pi}"),CB("\\varSigma","\\mathit{\\Sigma}"),CB("\\varUpsilon","\\mathit{\\Upsilon}"),CB("\\varPhi","\\mathit{\\Phi}"),CB("\\varPsi","\\mathit{\\Psi}"),CB("\\varOmega","\\mathit{\\Omega}"),CB("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),CB("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),CB("\\boxed","\\fbox{$\\displaystyle{#1}$}"),CB("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),CB("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),CB("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),CB("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),CB("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var xF={",":"\\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"};CB("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in xF?t=xF[r]:("\\not"===r.slice(0,4)||r in jk.math&&["bin","rel"].includes(jk.math[r].group))&&(t="\\dotsb"),t});var SF={")":!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};CB("\\dotso",function(e){return e.future().text in SF?"\\ldots\\,":"\\ldots"}),CB("\\dotsc",function(e){var t=e.future().text;return t in SF&&","!==t?"\\ldots\\,":"\\ldots"}),CB("\\cdots",function(e){return e.future().text in SF?"\\@cdots\\,":"\\@cdots"}),CB("\\dotsb","\\cdots"),CB("\\dotsm","\\cdots"),CB("\\dotsi","\\!\\cdots"),CB("\\dotsx","\\ldots\\,"),CB("\\DOTSI","\\relax"),CB("\\DOTSB","\\relax"),CB("\\DOTSX","\\relax"),CB("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),CB("\\,","\\tmspace+{3mu}{.1667em}"),CB("\\thinspace","\\,"),CB("\\>","\\mskip{4mu}"),CB("\\:","\\tmspace+{4mu}{.2222em}"),CB("\\medspace","\\:"),CB("\\;","\\tmspace+{5mu}{.2777em}"),CB("\\thickspace","\\;"),CB("\\!","\\tmspace-{3mu}{.1667em}"),CB("\\negthinspace","\\!"),CB("\\negmedspace","\\tmspace-{4mu}{.2222em}"),CB("\\negthickspace","\\tmspace-{5mu}{.277em}"),CB("\\enspace","\\kern.5em "),CB("\\enskip","\\hskip.5em\\relax"),CB("\\quad","\\hskip1em\\relax"),CB("\\qquad","\\hskip2em\\relax"),CB("\\tag","\\@ifstar\\tag@literal\\tag@paren"),CB("\\tag@paren","\\tag@literal{({#1})}"),CB("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new jT("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),CB("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),CB("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),CB("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),CB("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),CB("\\newline","\\\\\\relax"),CB("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var CF=Sk(ck["Main-Regular"]["T".charCodeAt(0)][1]-.7*ck["Main-Regular"]["A".charCodeAt(0)][1]);CB("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+CF+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),CB("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+CF+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),CB("\\hspace","\\@ifstar\\@hspacer\\@hspace"),CB("\\@hspace","\\hskip #1\\relax"),CB("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),CB("\\ordinarycolon",":"),CB("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),CB("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),CB("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),CB("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),CB("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),CB("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),CB("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),CB("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),CB("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),CB("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),CB("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),CB("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),CB("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),CB("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),CB("∷","\\dblcolon"),CB("∹","\\eqcolon"),CB("≔","\\coloneqq"),CB("≕","\\eqqcolon"),CB("⩴","\\Coloneqq"),CB("\\ratio","\\vcentcolon"),CB("\\coloncolon","\\dblcolon"),CB("\\colonequals","\\coloneqq"),CB("\\coloncolonequals","\\Coloneqq"),CB("\\equalscolon","\\eqqcolon"),CB("\\equalscoloncolon","\\Eqqcolon"),CB("\\colonminus","\\coloneq"),CB("\\coloncolonminus","\\Coloneq"),CB("\\minuscolon","\\eqcolon"),CB("\\minuscoloncolon","\\Eqcolon"),CB("\\coloncolonapprox","\\Colonapprox"),CB("\\coloncolonsim","\\Colonsim"),CB("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),CB("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),CB("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),CB("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),CB("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),CB("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),CB("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),CB("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),CB("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),CB("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),CB("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),CB("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),CB("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),CB("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),CB("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),CB("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),CB("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),CB("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),CB("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),CB("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),CB("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),CB("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),CB("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),CB("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),CB("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),CB("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),CB("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),CB("\\imath","\\html@mathml{\\@imath}{ı}"),CB("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),CB("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),CB("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),CB("⟦","\\llbracket"),CB("⟧","\\rrbracket"),CB("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),CB("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),CB("⦃","\\lBrace"),CB("⦄","\\rBrace"),CB("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),CB("⦵","\\minuso"),CB("\\darr","\\downarrow"),CB("\\dArr","\\Downarrow"),CB("\\Darr","\\Downarrow"),CB("\\lang","\\langle"),CB("\\rang","\\rangle"),CB("\\uarr","\\uparrow"),CB("\\uArr","\\Uparrow"),CB("\\Uarr","\\Uparrow"),CB("\\N","\\mathbb{N}"),CB("\\R","\\mathbb{R}"),CB("\\Z","\\mathbb{Z}"),CB("\\alef","\\aleph"),CB("\\alefsym","\\aleph"),CB("\\Alpha","\\mathrm{A}"),CB("\\Beta","\\mathrm{B}"),CB("\\bull","\\bullet"),CB("\\Chi","\\mathrm{X}"),CB("\\clubs","\\clubsuit"),CB("\\cnums","\\mathbb{C}"),CB("\\Complex","\\mathbb{C}"),CB("\\Dagger","\\ddagger"),CB("\\diamonds","\\diamondsuit"),CB("\\empty","\\emptyset"),CB("\\Epsilon","\\mathrm{E}"),CB("\\Eta","\\mathrm{H}"),CB("\\exist","\\exists"),CB("\\harr","\\leftrightarrow"),CB("\\hArr","\\Leftrightarrow"),CB("\\Harr","\\Leftrightarrow"),CB("\\hearts","\\heartsuit"),CB("\\image","\\Im"),CB("\\infin","\\infty"),CB("\\Iota","\\mathrm{I}"),CB("\\isin","\\in"),CB("\\Kappa","\\mathrm{K}"),CB("\\larr","\\leftarrow"),CB("\\lArr","\\Leftarrow"),CB("\\Larr","\\Leftarrow"),CB("\\lrarr","\\leftrightarrow"),CB("\\lrArr","\\Leftrightarrow"),CB("\\Lrarr","\\Leftrightarrow"),CB("\\Mu","\\mathrm{M}"),CB("\\natnums","\\mathbb{N}"),CB("\\Nu","\\mathrm{N}"),CB("\\Omicron","\\mathrm{O}"),CB("\\plusmn","\\pm"),CB("\\rarr","\\rightarrow"),CB("\\rArr","\\Rightarrow"),CB("\\Rarr","\\Rightarrow"),CB("\\real","\\Re"),CB("\\reals","\\mathbb{R}"),CB("\\Reals","\\mathbb{R}"),CB("\\Rho","\\mathrm{P}"),CB("\\sdot","\\cdot"),CB("\\sect","\\S"),CB("\\spades","\\spadesuit"),CB("\\sub","\\subset"),CB("\\sube","\\subseteq"),CB("\\supe","\\supseteq"),CB("\\Tau","\\mathrm{T}"),CB("\\thetasym","\\vartheta"),CB("\\weierp","\\wp"),CB("\\Zeta","\\mathrm{Z}"),CB("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),CB("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),CB("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),CB("\\bra","\\mathinner{\\langle{#1}|}"),CB("\\ket","\\mathinner{|{#1}\\rangle}"),CB("\\braket","\\mathinner{\\langle{#1}\\rangle}"),CB("\\Bra","\\left\\langle#1\\right|"),CB("\\Ket","\\left|#1\\right\\rangle");var AF=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 u=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("|",u(!1)),o.length&&t.macros.set("\\|",u(!0));var l=t.consumeArg().tokens,c=t.expandTokens([...i,...l,...r]);return t.macros.endGroup(),{tokens:c.reverse(),numArgs:0}};CB("\\bra@ket",AF(!1)),CB("\\bra@set",AF(!0)),CB("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),CB("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),CB("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),CB("\\angln","{\\angl n}"),CB("\\blue","\\textcolor{##6495ed}{#1}"),CB("\\orange","\\textcolor{##ffa500}{#1}"),CB("\\pink","\\textcolor{##ff00af}{#1}"),CB("\\red","\\textcolor{##df0030}{#1}"),CB("\\green","\\textcolor{##28ae7b}{#1}"),CB("\\gray","\\textcolor{gray}{#1}"),CB("\\purple","\\textcolor{##9d38bd}{#1}"),CB("\\blueA","\\textcolor{##ccfaff}{#1}"),CB("\\blueB","\\textcolor{##80f6ff}{#1}"),CB("\\blueC","\\textcolor{##63d9ea}{#1}"),CB("\\blueD","\\textcolor{##11accd}{#1}"),CB("\\blueE","\\textcolor{##0c7f99}{#1}"),CB("\\tealA","\\textcolor{##94fff5}{#1}"),CB("\\tealB","\\textcolor{##26edd5}{#1}"),CB("\\tealC","\\textcolor{##01d1c1}{#1}"),CB("\\tealD","\\textcolor{##01a995}{#1}"),CB("\\tealE","\\textcolor{##208170}{#1}"),CB("\\greenA","\\textcolor{##b6ffb0}{#1}"),CB("\\greenB","\\textcolor{##8af281}{#1}"),CB("\\greenC","\\textcolor{##74cf70}{#1}"),CB("\\greenD","\\textcolor{##1fab54}{#1}"),CB("\\greenE","\\textcolor{##0d923f}{#1}"),CB("\\goldA","\\textcolor{##ffd0a9}{#1}"),CB("\\goldB","\\textcolor{##ffbb71}{#1}"),CB("\\goldC","\\textcolor{##ff9c39}{#1}"),CB("\\goldD","\\textcolor{##e07d10}{#1}"),CB("\\goldE","\\textcolor{##a75a05}{#1}"),CB("\\redA","\\textcolor{##fca9a9}{#1}"),CB("\\redB","\\textcolor{##ff8482}{#1}"),CB("\\redC","\\textcolor{##f9685d}{#1}"),CB("\\redD","\\textcolor{##e84d39}{#1}"),CB("\\redE","\\textcolor{##bc2612}{#1}"),CB("\\maroonA","\\textcolor{##ffbde0}{#1}"),CB("\\maroonB","\\textcolor{##ff92c6}{#1}"),CB("\\maroonC","\\textcolor{##ed5fa6}{#1}"),CB("\\maroonD","\\textcolor{##ca337c}{#1}"),CB("\\maroonE","\\textcolor{##9e034e}{#1}"),CB("\\purpleA","\\textcolor{##ddd7ff}{#1}"),CB("\\purpleB","\\textcolor{##c6b9fc}{#1}"),CB("\\purpleC","\\textcolor{##aa87ff}{#1}"),CB("\\purpleD","\\textcolor{##7854ab}{#1}"),CB("\\purpleE","\\textcolor{##543b78}{#1}"),CB("\\mintA","\\textcolor{##f5f9e8}{#1}"),CB("\\mintB","\\textcolor{##edf2df}{#1}"),CB("\\mintC","\\textcolor{##e0e5cc}{#1}"),CB("\\grayA","\\textcolor{##f6f7f7}{#1}"),CB("\\grayB","\\textcolor{##f0f1f2}{#1}"),CB("\\grayC","\\textcolor{##e3e5e6}{#1}"),CB("\\grayD","\\textcolor{##d6d8da}{#1}"),CB("\\grayE","\\textcolor{##babec2}{#1}"),CB("\\grayF","\\textcolor{##888d93}{#1}"),CB("\\grayG","\\textcolor{##626569}{#1}"),CB("\\grayH","\\textcolor{##3b3e40}{#1}"),CB("\\grayI","\\textcolor{##21242c}{#1}"),CB("\\kaBlue","\\textcolor{##314453}{#1}"),CB("\\kaGreen","\\textcolor{##71B307}{#1}");var DF={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class TF{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 yF(bF,t.macros),this.mode=r,this.stack=[]}feed(e){this.lexer=new vF(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 zT("EOF",r.loc)),this.pushTokens(n),new zT("",_T.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 jT("Extra }",n)}else if("EOF"===n.text)throw new jT("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 jT("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 jT("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 jT("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 jT("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 jT("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 jT("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 zT(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 vF(n,this.settings),s=[],u=a.lex();"EOF"!==u.text;)s.push(u),u=a.lex();return s.reverse(),{tokens:s,numArgs:o}}return n}isDefined(e){return this.macros.has(e)||dF.hasOwnProperty(e)||jk.math.hasOwnProperty(e)||jk.text.hasOwnProperty(e)||DF.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return null!=t?"string"==typeof t||"function"==typeof t||!t.unexpandable:dF.hasOwnProperty(e)&&!dF[e].primitive}}var kF=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,OF=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),NF={"́":{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"}},BF={"á":"á","à":"à","ä":"ä","ǟ":"ǟ","ã":"ã","ā":"ā","ă":"ă","ắ":"ắ","ằ":"ằ","ẵ":"ẵ","ǎ":"ǎ","â":"â","ấ":"ấ","ầ":"ầ","ẫ":"ẫ","ȧ":"ȧ","ǡ":"ǡ","å":"å","ǻ":"ǻ","ḃ":"ḃ","ć":"ć","ḉ":"ḉ","č":"č","ĉ":"ĉ","ċ":"ċ","ç":"ç","ď":"ď","ḋ":"ḋ","ḑ":"ḑ","é":"é","è":"è","ë":"ë","ẽ":"ẽ","ē":"ē","ḗ":"ḗ","ḕ":"ḕ","ĕ":"ĕ","ḝ":"ḝ","ě":"ě","ê":"ê","ế":"ế","ề":"ề","ễ":"ễ","ė":"ė","ȩ":"ȩ","ḟ":"ḟ","ǵ":"ǵ","ḡ":"ḡ","ğ":"ğ","ǧ":"ǧ","ĝ":"ĝ","ġ":"ġ","ģ":"ģ","ḧ":"ḧ","ȟ":"ȟ","ĥ":"ĥ","ḣ":"ḣ","ḩ":"ḩ","í":"í","ì":"ì","ï":"ï","ḯ":"ḯ","ĩ":"ĩ","ī":"ī","ĭ":"ĭ","ǐ":"ǐ","î":"î","ǰ":"ǰ","ĵ":"ĵ","ḱ":"ḱ","ǩ":"ǩ","ķ":"ķ","ĺ":"ĺ","ľ":"ľ","ļ":"ļ","ḿ":"ḿ","ṁ":"ṁ","ń":"ń","ǹ":"ǹ","ñ":"ñ","ň":"ň","ṅ":"ṅ","ņ":"ņ","ó":"ó","ò":"ò","ö":"ö","ȫ":"ȫ","õ":"õ","ṍ":"ṍ","ṏ":"ṏ","ȭ":"ȭ","ō":"ō","ṓ":"ṓ","ṑ":"ṑ","ŏ":"ŏ","ǒ":"ǒ","ô":"ô","ố":"ố","ồ":"ồ","ỗ":"ỗ","ȯ":"ȯ","ȱ":"ȱ","ő":"ő","ṕ":"ṕ","ṗ":"ṗ","ŕ":"ŕ","ř":"ř","ṙ":"ṙ","ŗ":"ŗ","ś":"ś","ṥ":"ṥ","š":"š","ṧ":"ṧ","ŝ":"ŝ","ṡ":"ṡ","ş":"ş","ẗ":"ẗ","ť":"ť","ṫ":"ṫ","ţ":"ţ","ú":"ú","ù":"ù","ü":"ü","ǘ":"ǘ","ǜ":"ǜ","ǖ":"ǖ","ǚ":"ǚ","ũ":"ũ","ṹ":"ṹ","ū":"ū","ṻ":"ṻ","ŭ":"ŭ","ǔ":"ǔ","û":"û","ů":"ů","ű":"ű","ṽ":"ṽ","ẃ":"ẃ","ẁ":"ẁ","ẅ":"ẅ","ŵ":"ŵ","ẇ":"ẇ","ẘ":"ẘ","ẍ":"ẍ","ẋ":"ẋ","ý":"ý","ỳ":"ỳ","ÿ":"ÿ","ỹ":"ỹ","ȳ":"ȳ","ŷ":"ŷ","ẏ":"ẏ","ẙ":"ẙ","ź":"ź","ž":"ž","ẑ":"ẑ","ż":"ż","Á":"Á","À":"À","Ä":"Ä","Ǟ":"Ǟ","Ã":"Ã","Ā":"Ā","Ă":"Ă","Ắ":"Ắ","Ằ":"Ằ","Ẵ":"Ẵ","Ǎ":"Ǎ","Â":"Â","Ấ":"Ấ","Ầ":"Ầ","Ẫ":"Ẫ","Ȧ":"Ȧ","Ǡ":"Ǡ","Å":"Å","Ǻ":"Ǻ","Ḃ":"Ḃ","Ć":"Ć","Ḉ":"Ḉ","Č":"Č","Ĉ":"Ĉ","Ċ":"Ċ","Ç":"Ç","Ď":"Ď","Ḋ":"Ḋ","Ḑ":"Ḑ","É":"É","È":"È","Ë":"Ë","Ẽ":"Ẽ","Ē":"Ē","Ḗ":"Ḗ","Ḕ":"Ḕ","Ĕ":"Ĕ","Ḝ":"Ḝ","Ě":"Ě","Ê":"Ê","Ế":"Ế","Ề":"Ề","Ễ":"Ễ","Ė":"Ė","Ȩ":"Ȩ","Ḟ":"Ḟ","Ǵ":"Ǵ","Ḡ":"Ḡ","Ğ":"Ğ","Ǧ":"Ǧ","Ĝ":"Ĝ","Ġ":"Ġ","Ģ":"Ģ","Ḧ":"Ḧ","Ȟ":"Ȟ","Ĥ":"Ĥ","Ḣ":"Ḣ","Ḩ":"Ḩ","Í":"Í","Ì":"Ì","Ï":"Ï","Ḯ":"Ḯ","Ĩ":"Ĩ","Ī":"Ī","Ĭ":"Ĭ","Ǐ":"Ǐ","Î":"Î","İ":"İ","Ĵ":"Ĵ","Ḱ":"Ḱ","Ǩ":"Ǩ","Ķ":"Ķ","Ĺ":"Ĺ","Ľ":"Ľ","Ļ":"Ļ","Ḿ":"Ḿ","Ṁ":"Ṁ","Ń":"Ń","Ǹ":"Ǹ","Ñ":"Ñ","Ň":"Ň","Ṅ":"Ṅ","Ņ":"Ņ","Ó":"Ó","Ò":"Ò","Ö":"Ö","Ȫ":"Ȫ","Õ":"Õ","Ṍ":"Ṍ","Ṏ":"Ṏ","Ȭ":"Ȭ","Ō":"Ō","Ṓ":"Ṓ","Ṑ":"Ṑ","Ŏ":"Ŏ","Ǒ":"Ǒ","Ô":"Ô","Ố":"Ố","Ồ":"Ồ","Ỗ":"Ỗ","Ȯ":"Ȯ","Ȱ":"Ȱ","Ő":"Ő","Ṕ":"Ṕ","Ṗ":"Ṗ","Ŕ":"Ŕ","Ř":"Ř","Ṙ":"Ṙ","Ŗ":"Ŗ","Ś":"Ś","Ṥ":"Ṥ","Š":"Š","Ṧ":"Ṧ","Ŝ":"Ŝ","Ṡ":"Ṡ","Ş":"Ş","Ť":"Ť","Ṫ":"Ṫ","Ţ":"Ţ","Ú":"Ú","Ù":"Ù","Ü":"Ü","Ǘ":"Ǘ","Ǜ":"Ǜ","Ǖ":"Ǖ","Ǚ":"Ǚ","Ũ":"Ũ","Ṹ":"Ṹ","Ū":"Ū","Ṻ":"Ṻ","Ŭ":"Ŭ","Ǔ":"Ǔ","Û":"Û","Ů":"Ů","Ű":"Ű","Ṽ":"Ṽ","Ẃ":"Ẃ","Ẁ":"Ẁ","Ẅ":"Ẅ","Ŵ":"Ŵ","Ẇ":"Ẇ","Ẍ":"Ẍ","Ẋ":"Ẋ","Ý":"Ý","Ỳ":"Ỳ","Ÿ":"Ÿ","Ỹ":"Ỹ","Ȳ":"Ȳ","Ŷ":"Ŷ","Ẏ":"Ẏ","Ź":"Ź","Ž":"Ž","Ẑ":"Ẑ","Ż":"Ż","ά":"ά","ὰ":"ὰ","ᾱ":"ᾱ","ᾰ":"ᾰ","έ":"έ","ὲ":"ὲ","ή":"ή","ὴ":"ὴ","ί":"ί","ὶ":"ὶ","ϊ":"ϊ","ΐ":"ΐ","ῒ":"ῒ","ῑ":"ῑ","ῐ":"ῐ","ό":"ό","ὸ":"ὸ","ύ":"ύ","ὺ":"ὺ","ϋ":"ϋ","ΰ":"ΰ","ῢ":"ῢ","ῡ":"ῡ","ῠ":"ῠ","ώ":"ώ","ὼ":"ὼ","Ύ":"Ύ","Ὺ":"Ὺ","Ϋ":"Ϋ","Ῡ":"Ῡ","Ῠ":"Ῠ","Ώ":"Ώ","Ὼ":"Ὼ"};class FF{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 TF(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 jT("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 zT("}")),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!==FF.endOfExpression.indexOf(n.text))break;if(t&&n.text===t)break;if(e&&dF[n.text]&&dF[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 jT("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 jT("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 jT("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 jT("Double superscript",o);t=this.handleSupSubscript("superscript")}else if("_"===o.text){if(r)throw new jT("Double subscript",o);r=this.handleSupSubscript("subscript")}else if("'"===o.text){if(t)throw new jT("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(!OF[o.text])break;var u=kF.test(o.text),l=[];for(l.push(new zT(OF[o.text])),this.consume();;){var c=this.fetch().text;if(!OF[c])break;if(kF.test(c)!==u)break;l.unshift(new zT(OF[c])),this.consume()}var d=this.subparse(l);u?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=dF[n];if(!o)return null;if(this.consume(),t&&"atom"!==t&&!o.allowedInArgument)throw new jT("Got function '"+n+"' with no arguments"+(t?" as "+t:""),r);if("text"===this.mode&&!o.allowedInText)throw new jT("Can't use function '"+n+"' in text mode",r);if("math"===this.mode&&!1===o.allowedInMath)throw new jT("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=dF[e];if(a&&a.handler)return a.handler(i,t,r);throw new jT("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 u=this.parseGroupOfType("argument to '"+e+"'",a,s);if(s)o.push(u);else{if(null==u)throw new jT("Null argument, please report this as a bug");n.push(u)}}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 jT("A primitive argument cannot be optional");var i=this.parseGroup(e);if(null==i)throw new jT("Expected group as "+e,this.fetch());return i;case"original":case null:case void 0:return this.parseArgumentGroup(r);default:throw new jT("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 jT("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 jT("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 jT("Invalid size: '"+t.text+"'",t);var o={number:+(n[1]+n[2]),unit:n[3]};if(!Ek(o))throw new jT("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:_T.range(n,s),body:a,semisimple:"\\begingroup"===o||void 0}}else if(null==(r=this.parseFunction(t,e)||this.parseSymbol())&&"\\"===o[0]&&!DF.hasOwnProperty(o)){if(this.settings.throwOnError)throw new jT("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:_T.range(n,e[r+2]),text:"---"}),t-=2):(e.splice(r,2,{type:"textord",mode:"text",loc:_T.range(n,e[r+1]),text:"--"}),t-=1)),"'"!==o&&"`"!==o||e[r+1].text!==o||(e.splice(r,2,{type:"textord",mode:"text",loc:_T.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 jT("\\verb assertion failed --\n please report what input caused this bug");return{type:"verb",mode:"text",body:r=r.slice(1,-1),star:n}}BF.hasOwnProperty(t[0])&&!jk[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=BF[t[0]]+t.slice(1));var o,i=gF.exec(t);if(i&&("i"===(t=t.substring(0,i.index))?t="ı":"j"===t&&(t="ȷ")),jk[this.mode][t]){this.settings.strict&&"math"===this.mode&&yO.indexOf(t)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var a,s=jk[this.mode][t].group,u=_T.range(e);if(_k.hasOwnProperty(s)){var l=s;a={type:"atom",mode:this.mode,family:l,loc:u,text:t}}else a={type:s,mode:this.mode,loc:u,text:t};o=a}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(ak(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:_T.range(e),text:t}}if(this.consume(),i)for(var c=0;c<i[0].length;c++){var d=i[0][c];if(!NF[d])throw new jT("Unknown accent ' "+d+"'",e);var f=NF[d][this.mode]||NF[d].text;if(!f)throw new jT("Accent "+d+" unsupported in "+this.mode+" mode",e);o={type:"accent",mode:this.mode,loc:_T.range(e),label:f,isStretchy:!1,isShifty:!0,base:o}}return o}}FF.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var MF=function(e,t){if(!("string"==typeof e||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var r=new FF(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 jT("\\tag works only in display equations");n=[{type:"tag",mode:"text",body:n,tag:r.subparse([new zT("\\df@tag")])}]}return n},IF=function(e,t,r){t.textContent="";var n=RF(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."),IF=function(){throw new jT("KaTeX doesn't work in quirks mode.")});var PF=function(e,t,r){if(r.throwOnError||!(e instanceof jT))throw e;var n=MO.makeSpan(["katex-error"],[new Mk(t)]);return n.setAttribute("title",e.toString()),n.setAttribute("style","color:"+r.errorColor),n},RF=function(e,t){var r=new YT(t);try{return function(e,t,r){var n,o=yN(r);if("mathml"===r.output)return vN(e,t,o,r.displayMode,!0);if("html"===r.output){var i=iN(e,o);n=MO.makeSpan(["katex"],[i])}else{var a=vN(e,t,o,r.displayMode,!1),s=iN(e,o);n=MO.makeSpan(["katex"],[a,s])}return bN(n,r)}(MF(e,r),e,r)}catch(t){return PF(t,e,r)}},LF={version:"0.16.25",render:IF,renderToString:function(e,t){return RF(e,t).toMarkup()},ParseError:jT,SETTINGS_SCHEMA:GT,__parse:function(e,t){var r=new YT(t);return MF(e,r)},__renderToDomTree:RF,__renderToHTMLTree:function(e,t){var r=new YT(t);try{return function(e,t,r){var n=iN(e,yN(r)),o=MO.makeSpan(["katex"],[n]);return bN(o,r)}(MF(e,r),0,r)}catch(t){return PF(t,e,r)}},__setFontMetrics:function(e,t){ck[e]=t},__defineSymbol:Hk,__defineFunction:$O,__defineMacro:CB,__domTree:{Span:Ok,Anchor:Nk,SymbolNode:Mk,SvgNode:Ik,PathNode:Pk,LineNode:Rk}},_F=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 bh(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){LF.render(e,this.span,{throwOnError:!1,output:"mathml"})},t}(HTMLElement);window.customElements.get("w-e-formula-card")||window.customElements.define("w-e-formula-card",_F),Ry("en",{formula:{formula:"Formula",placeholder:"Use LateX syntax",insert:"Insert formula",edit:"Edit formula",textToFormula:"Convert to formula",ok:"OK"}}),Ry("zh-CN",{formula:{formula:"公式",placeholder:"使用 LateX 语法",insert:"插入公式",edit:"编辑公式",textToFormula:"转换为公式",ok:"确定"}});var zF={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>')}},jF='<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 HF(e){return void 0===e&&(e="r"),"".concat(e,"-").concat(bg())}function $F(){return HF("w-e-insert-formula")}ag&&(_p.fn.append=ag),ng&&(_p.fn.html=ng),Gp&&(_p.fn.val=Gp),Wp&&(_p.fn.on=Wp),vg&&(_p.fn.focus=vg),ig&&(_p.fn.is=ig),lg&&(_p.fn.parents=lg),cg&&(_p.fn.find=cg);var UF=function(){function e(){this.title=_y("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=$F(),this.buttonId=$F()}return e.prototype.getSelectedElem=function(e){var t=wm.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||(!!ph.Range.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=Ch(Xy(_y("formula.formula"),r,_y("formula.placeholder")),2),i=o[0],a=_p(o[1]),s=Ch(Zy(n,_y("formula.ok")),1)[0];if(null==this.$content){var u=_p("<div></div>");u.on("click","#".concat(n),function(n){n.preventDefault();var o=u.find("#".concat(r)).val().trim();t.updateFormula(e,o),e.hidePanelOrModal()}),this.$content=u}var l=this.$content;l.html(""),l.append(i),l.append(s);var c=this.getValue(e);return a.val(c),setTimeout(function(){a.focus()}),l[0]},e.prototype.updateFormula=function(e,t){if(t&&(e.restoreSelection(),!this.isDisabled(e))){var r=this.getSelectedElem(e);if(null!=r){var n=wm.findPath(e,r),o={value:t};ph.Transforms.setNodes(e,o,{at:n})}}},e}();function VF(){return HF("w-e-insert-formula")}var qF=function(){function e(){this.title=_y("formula.insert"),this.iconSvg=jF,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.textareaId=VF(),this.buttonId=VF()}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=wm.getSelectedElems(e);return!!t.some(function(t){return e.isVoid(t)})||!!t.some(function(e){return"pre"===wm.getNodeType(e)})},e.prototype.getModalPositionNode=function(e){return null},e.prototype.getModalContentElem=function(e){var t=this,r=this.textareaId,n=this.buttonId,o=Ch(Xy(_y("formula.formula"),r,_y("formula.placeholder")),2),i=o[0],a=_p(o[1]),s=Ch(Zy(n,_y("formula.ok")),1)[0];if(null==this.$content){var u=_p("<div></div>");u.on("click","#".concat(n),function(n){n.preventDefault();var o=u.find("#".concat(r)).val().trim();t.insertFormula(e,o),e.hidePanelOrModal()}),this.$content=u}var l=this.$content;l.html(""),l.append(i),l.append(s);var c=e.selection,d="";return c&&ph.Range.isExpanded(c)&&(d=ph.Editor.string(e,c)),a.val(d),setTimeout(function(){a.focus()},50),l[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&&ph.Range.isExpanded(r)&&ph.Transforms.delete(e),e.insertNode(n)}},e}();function GF(){return HF("w-e-text-to-formula")}var WF=function(){function e(){this.title=_y("formula.textToFormula"),this.iconSvg=jF,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.textareaId=GF(),this.buttonId=GF()}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==Kh.insertFormula)return!0;if(null==e.selection)return!1;var t=wm.getSelectedElems(e);return!!t.some(function(t){return e.isVoid(t)})||!!t.some(function(e){return"pre"===wm.getNodeType(e)})},e.prototype.getModalPositionNode=function(e){return null},e.prototype.getModalContentElem=function(e){var t=this,r=this.textareaId,n=this.buttonId,o=Ch(Xy(_y("formula.formula"),r,_y("formula.placeholder")),2),i=o[0],a=_p(o[1]),s=Ch(Zy(n,_y("formula.ok")),1)[0];if(null==this.$content){var u=_p("<div></div>");u.on("click","#".concat(n),function(n){n.preventDefault();var o,i=u.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=u}var l=this.$content;l.html(""),l.append(i),l.append(s);var c=e.selection,d="";return c&&ph.Range.isExpanded(c)&&(d=ph.Editor.string(e,c)),a.val(d),setTimeout(function(){if(a.focus(),d){var e=a[0];e&&e.select()}},50),l[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&&ph.Range.isExpanded(r)&&ph.Transforms.delete(e),e.insertNode(n)}},e}();var YF={type:"formula",renderElem:function(e,t,r){var n=wm.isNodeSelected(r,e),o=e.value,i=Yb("w-e-formula-card",{dataset:{value:void 0===o?"":o}},null);return Yb("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])}},KF={editorPlugin:function(e){var t=e.isInline,r=e.isVoid,n=e;return n.isInline=function(e){return"formula"===wm.getNodeType(e)||t(e)},n.isVoid=function(e){return"formula"===wm.getNodeType(e)||r(e)},n},renderElems:[YF],elemsToHtml:[zF],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 qF}},{key:"editFormula",factory:function(){return new UF}},{key:"textToFormula",factory:function(){return new WF}}]};Ry("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",mergeCell:"merge cell",splitCell:"split cell",tableProperty:"Table property",cellProperty:"Cell property"}}),Ry("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:"表头",mergeCell:"合并单元格",splitCell:"拆分单元格",tableProperty:"表格属性",cellProperty:"单元格属性"}});var XF={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,u=null==i?void 0:i.map(function(e){return"<col width=".concat(e,"></col>")}).join(""),l=u?'<colgroup contentEditable="false">'.concat(u,"</colgroup>"):"";return'<table style="width: '.concat(o,";table-layout: fixed;height:").concat(s,'">').concat(l,"<tbody>").concat(t,"</tbody></table>")}},ZF={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>")}},JF={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,u=void 0!==s&&s,l=r.width,c=void 0===l?"auto":l,d=r.hidden;if(void 0!==d&&d)return"";var f=u?"th":"td";return"<".concat(f,' colSpan="').concat(o,'" rowSpan="').concat(a,'" width="').concat(c,'">').concat(t,"</").concat(f,">")}},QF='<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>',eM={blocks:{td:"table-cell",th:"table-cell",content:"paragraph",tr:"table-row",table:"table",tbody:"table-body"}};function tM(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=eM,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!ph.Editor.isEditor(e)&&ph.Element.isElement(e)&&"type"in e}(e)&&o.includes(e.type)}}function rM(e,t){for(var r=Ch(t,2),n=r[0],o=r[1],i=[],a=2;a<arguments.length;a++)i[a-2]=arguments[a];var s=Ch(ph.Node.common(e,n,o),2),u=s[0],l=s[1];return!!tM.apply(void 0,Ah([e],Ch(i),!1))(u,l)||!!ph.Editor.above(e,{match:tM.apply(void 0,Ah([e],Ch(i),!1)),at:l})}function nM(e,t){var r,n;void 0===t&&(t={});var o=[];try{for(var i=Sh(function(e,t){var r,n,o,i,a,s,u,l,c,d,f,h,p,g,m,v,y,b;return void 0===t&&(t={}),xh(this,function(w){switch(w.label){case 0:if(r=Ch(ph.Editor.nodes(e,{match:tM(e,"table"),at:t.at}),1),!(n=r[0]))return[2,[]];o=Ch(n,2),i=o[1],w.label=1;case 1:w.trys.push([1,6,7,8]),a=Sh(ph.Editor.nodes(e,{match:tM(e,"table"),at:i})),s=a.next(),w.label=2;case 2:if(s.done)return[3,5];u=Ch(s.value,2),l=u[1],c=[];try{for(y=void 0,d=Sh(ph.Editor.nodes(e,{match:tM(e,"tr"),at:l})),f=d.next();!f.done;f=d.next())h=Ch(f.value,2),p=h[1],c.push(Ah([],Ch(ph.Editor.nodes(e,{match:tM(e,"th","td"),at:p})),!1))}catch(e){y={error:e}}finally{try{f&&!f.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,u=[],l=0,c=0;c<s.length;c+=1)s[c]&&(l=Math.max(l,s[c].length));for(c=0;c<s.length;c+=1)if(u[c]||(u[c]=[]),s[c])for(var d=0;d<s[c].length;d+=1)if(s[c][d]&&s[c][d][0]){for(var f=Ch(s[c][d],1)[0],h=f.rowSpan,p=void 0===h?1:h,g=f.colSpan,m=void 0===g?1:g,v=d;u[c]&&u[c][v];)v+=1;for(var y=0;y<m;y+=1)for(var b=0;b<p;b+=1){var w=c+b,E=v+y;u[w]||(u[w]=[]),u[w][E]||(u[w][E]=[s[c][d],{rtl:y+1,ltr:m-y,ttb:b+1,btt:p-b}])}}o.push.apply(o,Ah([],Ch(u),!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 oM=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}();function iM(e){return e.length?e[0].tagName.toLowerCase():""}function aM(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}ag&&_p.fn&&(_p.fn.append=ag),Wp&&_p.fn&&(_p.fn.on=Wp),vg&&_p.fn&&(_p.fn.focus=vg),$p&&_p.fn&&(_p.fn.attr=$p),Gp&&_p.fn&&(_p.fn.val=Gp),ng&&_p.fn&&(_p.fn.html=ng),qp&&_p.fn&&(_p.fn.dataset=qp),zp&&_p.fn&&(_p.fn.addClass=zp),jp&&_p.fn&&(_p.fn.removeClass=jp),dg&&_p.fn&&(_p.fn.children=dg),tg&&_p.fn&&(_p.fn.each=tg),cg&&_p.fn&&(_p.fn.find=cg),Vp&&_p.fn&&(_p.fn.data=Vp),Jp&&_p.fn&&(_p.fn.hide=Jp),Qp&&_p.fn&&(_p.fn.show=Qp);var sM=new WeakMap,uM=new WeakMap,lM=function(){function e(){this.title=_y("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:_y("tableModule.borderStyle.none")},{value:"solid",label:_y("tableModule.borderStyle.solid")},{value:"dotted",label:_y("tableModule.borderStyle.dotted")},{value:"dashed",label:_y("tableModule.borderStyle.dashed")},{value:"double",label:_y("tableModule.borderStyle.double")},{value:"groove",label:_y("tableModule.borderStyle.groove")},{value:"ridge",label:_y("tableModule.borderStyle.ridge")},{value:"inset",label:_y("tableModule.borderStyle.inset")},{value:"outset",label:_y("tableModule.borderStyle.outset")}],this.textAlignOptions=[{value:"left",label:_y("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:_y("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:_y("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:_y("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==wm.getSelectedNodeByType(e,"table")},e.prototype.exec=function(e,t){},e.prototype.getModalContentNode=function(e){return Ch(ph.Editor.nodes(e,{match:tM(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=Ch(r,2),o=n[0],i=n[1],a=_p('<div>\n <label class="babel-container">\n <span>'.concat(_y("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(_y("tableModule.modal.borderWidth"),'">\n </span>\n </label>\n <div class="babel-container">\n <span>').concat(_y("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(_y("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(_y("tableModule.modal.ok"),"</button>\n </div>\n </div>"));a.find("[name]").each(function(e){_p(e).val(o[_p(e).attr("name")])});var s=function(e,t){t?_p(".color-group-block",e).css("background-color",t).empty():_p(".color-group-block",e).css("background-color","").html(QF)};return a.find(".color-group").each(function(r){var n=_p('[type="hidden"]',r).val()||"";s(r,n);var o=_p(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){_p('[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[_p(t).attr("name")]=_p(t).val(),e},{}),n=sM.get(e);"cell"===t.menu&&(null==n?void 0:n.length)?n.forEach(function(t){t.forEach(function(t){ph.Transforms.setNodes(e,r,{at:t[0][1]})})}):ph.Transforms.setNodes(e,r,{at:i}),setTimeout(function(){e.focus()})}),a[0]},e.prototype.getPanelContentElem=function(e,t){var r=t.mark,n=t.selectedColor,o=t.callback,i=_p('<ul class="w-e-panel-content-color"></ul>');i.on("click","li",function(e){var t=e.target;if(t){e.preventDefault(),e.stopPropagation();var r=_p(t).attr("data-value");o(r)}});var a=e.getMenuConfig(r).colors;(void 0===a?[]:a).forEach(function(e){var t=_p('<div class="color-block" data-value="'.concat(e,'"></div>'));t.css("background-color",e);var r=_p('<li data-value="'.concat(e,'"></li>'));n===e&&r.addClass("active"),r.append(t),i.append(r)});var s="";"color"===r&&(s=_y("tableModule.color.default")),"bgColor"===r&&(s=_y("tableModule.color.clear"));var u=_p('\n <li data-value="" class="clear">\n '.concat(QF,"\n ").concat(s,"\n </li>\n "));i.prepend(u);var l=_p('<div class="w-e-drop-panel"></div>');return l.append(i),l},e}(),cM=function(e){function t(){var t=e.apply(this,Ah([],Ch(arguments),!1))||this;return t.title=_y("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 bh(t,e),t.prototype.getModalContentNode=function(e){return Ch(ph.Editor.nodes(e,{match:tM(e,"td")}),1)[0]},t}(lM),dM=function(){function e(){this.title=_y("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||(!ph.Range.isCollapsed(t)||null==wm.getSelectedNodeByType(e,"table-cell"))},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var r=Ch(ph.Editor.nodes(e,{match:function(e){return wm.checkNodeType(e,"table-cell")},universal:!0}),1),n=Ch(r[0],2),o=n[0],i=n[1],a=wm.getParentNode(e,o),s=(null==a?void 0:a.children.length)||0;if(!a||s<=1)ph.Transforms.removeNodes(e,{mode:"highest"});else if(null!=wm.getParentNode(e,a)){var u=nM(e),l=0;e:for(var c=0;c<u.length;c+=1)for(var d=0;d<u[c].length;d+=1){var f=Ch(u[c][d],1),h=Ch(f[0],2)[1];if(ph.Path.equals(i,h)){l=d;break e}}ph.Editor.withoutNormalizing(e,function(){for(var t,r,n=new Set,o=new Set,i=0;i<u.length;i+=1)if(u[i]&&u[i][l]){var a=Ch(u[i][l],2),s=Ch(a[0],2)[1],c=a[1],d=c.rtl,f=c.ltr,h=c.ttb,p=c.btt,g=s.join(",");if(d>1||f>1||h>1||p>1){var m=i-(h-1),v=l-(d-1);if(m<0||m>=u.length||!u[m]||!u[m][v])continue;var y=Ch(u[m][v],1),b=Ch(y[0],2),w=b[0],E=b[1],x=E.join(",");if(!o.has(x)){o.add(x);var S=w.rowSpan,C=void 0===S?1:S,A=w.colSpan,D=void 0===A?1:A,T=Math.max(D-1,1);ph.Transforms.setNodes(e,{rowSpan:C,colSpan:T},{at:E})}}else n.add(g)}var k=Array.from(n);k.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 O=Sh(k),N=O.next();!N.done;N=O.next()){var B=N.value.split(",").map(Number);try{ph.Editor.hasPath(e,B)&&ph.Transforms.removeNodes(e,{at:B})}catch(e){console.warn("删除单元格失败:",B,e)}}}catch(e){t={error:e}}finally{try{N&&!N.done&&(r=O.return)&&r.call(O)}finally{if(t)throw t.error}}var F=Ch(ph.Editor.nodes(e,{match:function(e){return wm.checkNodeType(e,"table")},universal:!0}),1),M=F[0];if(M){var I=Ch(M,2),P=I[0],R=I[1],L=P.columnWidths,_=Ah([],Ch(void 0===L?[]:L),!1);_.splice(l,1),ph.Transforms.setNodes(e,{columnWidths:_},{at:R})}})}}},e}(),fM=function(){function e(){this.title=_y("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||(!ph.Range.isCollapsed(t)||null==wm.getSelectedNodeByType(e,"table-row"))},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var r=Ch(ph.Editor.nodes(e,{match:function(e){return wm.checkNodeType(e,"table-row")},universal:!0}),1),n=Ch(r[0],2),o=n[0],i=n[1],a=wm.getParentNode(e,o);if(((null==a?void 0:a.children.length)||0)<=1)ph.Transforms.removeNodes(e,{mode:"highest"});else{var s=Ch(ph.Editor.nodes(e,{match:function(e){return wm.checkNodeType(e,"table-cell")},universal:!0}),1),u=Ch(s[0],2)[1],l=nM(e),c=0;e:for(var d=0;d<l.length;d+=1)for(var f=0;f<l[d].length;f+=1){var h=Ch(l[d][f],1),p=Ch(h[0],2)[1];if(ph.Path.equals(u,p)){c=d;break e}}ph.Editor.withoutNormalizing(e,function(){for(var t,r,n=[],o=0;o<l[c].length;o+=1){var a=Ch(l[c][o],2),s=Ch(a[0],1)[0].hidden,u=a[1],d=u.ttb,f=u.btt,h=u.rtl;if(d>1||f>1){var p=c-(d-1);if(p<0||p>=l.length||!l[p]||!l[p][o])continue;var g=Ch(l[p][o],1),m=Ch(g[0],2),v=m[0],y=m[1],b=v,w=b.rowSpan,E=void 0===w?1:w,x=b.colSpan,S=void 0===x?1:x;if(s)ph.Transforms.setNodes(e,{rowSpan:Math.max(E-1,1),colSpan:S},{at:y});else if(1===d&&1===h){if(c+1<l.length&&E>1){var C={type:"table-cell",rowSpan:E-1,colSpan:S,hidden:!1,children:b.children.map(function(e){return wh({},e)})};b.isHeader&&(C.isHeader=b.isHeader),b.width&&(C.width=b.width),b.backgroundColor&&(C.backgroundColor=b.backgroundColor),b.borderWidth&&(C.borderWidth=b.borderWidth),b.borderStyle&&(C.borderStyle=b.borderStyle),b.borderColor&&(C.borderColor=b.borderColor),b.textAlign&&(C.textAlign=b.textAlign),n.push({cell:C,columnIndex:o})}else ph.Transforms.setNodes(e,{rowSpan:Math.max(E-1,1),colSpan:S},{at:y})}else ph.Transforms.setNodes(e,{rowSpan:Math.max(E-1,1),colSpan:S},{at:y})}}if(ph.Transforms.removeNodes(e,{at:i}),n.length>0){var A=i;try{n.sort(function(e,t){return e.columnIndex-t.columnIndex});try{for(var D=Sh(n),T=D.next();!T.done;T=D.next()){var k=T.value,O=k.cell,N=k.columnIndex;try{var B=Ah(Ah([],Ch(A),!1),[N],!1);ph.Transforms.insertNodes(e,O,{at:B})}catch(t){try{var F=Ch(ph.Editor.node(e,A),1)[0].children.length,M=Ah(Ah([],Ch(A),!1),[F],!1);ph.Transforms.insertNodes(e,O,{at:M})}catch(e){console.warn("插入新单元格失败:",e)}}}}catch(e){t={error:e}}finally{try{T&&!T.done&&(r=D.return)&&r.call(D)}finally{if(t)throw t.error}}}catch(e){console.warn("插入新单元格失败:",e)}}})}}},e}(),hM=function(){function e(){this.title=_y("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==wm.getSelectedNodeByType(e,"table")},e.prototype.exec=function(e,t){this.isDisabled(e)||ph.Transforms.removeNodes(e,{mode:"highest"})},e}(),pM=function(){function e(){this.title=_y("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||(!ph.Range.isCollapsed(t)||null==wm.getSelectedNodeByType(e,"table"))},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var r=wm.getSelectedNodeByType(e,"table");if(r){var n=r.columnWidths,o=void 0===n?[]:n,i=wm.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),u=o.map(function(e){var t=e/s;return Math.floor(t*a)}),l=e.getMenuConfig("insertTable").minWidth,c=parseInt(String(void 0===l?60:l),10)||60,d=u.map(function(e){return Math.max(c,e)}),f=d.reduce(function(e,t){return e+t},0);if(f>a){var h=a/f,p=d.map(function(e){return Math.max(c,Math.floor(e*h))});m={width:"auto",columnWidths:p};ph.Transforms.setNodes(e,m,{mode:"highest"})}else{p=Ah([],Ch(d),!1);var g=a-f-1;g>0&&p.length>0&&(p[p.length-1]+=g);m={width:"auto",columnWidths:p};ph.Transforms.setNodes(e,m,{mode:"highest"})}}else{var m={width:"auto"};ph.Transforms.setNodes(e,m,{mode:"highest"})}}}},e}();function gM(e){var t=e.children||[];return 0===t.length?[]:(t[0]||{}).children||[]}function mM(e){return gM(e).every(function(e){return!!e.isHeader})}var vM=function(){function e(){this.title=_y("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(!ph.Range.isCollapsed(t))return!0;var r=wm.getSelectedNodeByType(e,"table");if(null==r)return!0;try{var n=Ch(ph.Editor.nodes(e,{match:function(e){return wm.checkNodeType(e,"table-cell")},universal:!0}),1),o=n[0];if(!o)return!0;for(var i=Ch(o,2)[1],a=nM(e),s=-1,u=0;u<a.length;u+=1){for(var l=0;l<a[u].length;l+=1){var c=Ch(a[u][l],1),d=Ch(c[0],2)[1];if(ph.Path.equals(i,d)){s=l;break}}if(-1!==s)break}if(-1===s)return!0;var f=r.columnWidths,h=(void 0===f?[]:f)[s];if(h&&h<20)return!0}catch(e){return!0}return!1},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var r=Ch(ph.Editor.nodes(e,{match:function(e){return wm.checkNodeType(e,"table-cell")},universal:!0}),1),n=Ch(r[0],2),o=n[0],i=n[1],a=wm.getParentNode(e,o);if(null!=a){var s=wm.getParentNode(e,a);if(null!=s){for(var u=nM(e),l=0,c=0;c<u.length;c+=1)for(var d=0;d<u[c].length;d+=1){var f=Ch(u[c][d],1),h=Ch(f[0],2)[1];if(ph.Path.equals(i,h)){l=d;break}}ph.Editor.withoutNormalizing(e,function(){for(var t=new Set,r=new Set,n=0;n<u.length;n+=1)if(u[n]&&u[n][l]){var o=Ch(u[n][l],2);Ch(o[0],1);var i=o[1],a=i.rtl,c=i.ltr,d=i.ttb,f=i.btt;if(a>1||c>1||d>1||f>1){var h=n-(d-1),p=l-(a-1);if(h<0||h>=u.length||!u[h]||!u[h][p])continue;var g=Ch(u[h][p],1),m=Ch(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,S=(void 0===x?1:x)+1;v.hidden||ph.Transforms.setNodes(e,{colSpan:S},{at:y});for(var C=0;C<E;C+=1)r.add(h+C)}}}for(n=0;n<u.length;n+=1)if(!r.has(n)&&u[n]&&u[n][l]){var A={type:"table-cell",children:[{text:""}]};0===n&&mM(s)&&(A.isHeader=!0);var D=Ch(u[n][l],1),T=Ch(D[0],2)[1];ph.Transforms.insertNodes(e,A,{at:T})}var k=Ch(ph.Editor.nodes(e,{match:function(e){return wm.checkNodeType(e,"table")},universal:!0}),1),O=k[0];if(O){var N=Ch(O,2),B=N[0],F=N[1],M=B.columnWidths,I=void 0===M?[]:M,P=Ah([],Ch(I),!1),R=e.getMenuConfig("insertTable").minWidth,L=void 0===R?60:R,_=I[l]||parseInt(L,10)||60,z=Math.floor(_/2),j=_-z;P.splice(l,0,z),P[l+1]=j,ph.Transforms.setNodes(e,{columnWidths:P},{at:F})}})}}}},e}(),yM=function(){function e(){this.title=_y("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||(!ph.Range.isCollapsed(t)||null==wm.getSelectedNodeByType(e,"table"))},e.prototype.exec=function(e,t){var r;if(!this.isDisabled(e)){var n=Ch(ph.Editor.nodes(e,{match:function(e){return wm.checkNodeType(e,"table-cell")},universal:!0}),1),o=Ch(n[0],2)[1],i=nM(e),a=0;e:for(var s=0;s<i.length;s+=1)for(var u=0;u<i[s].length;u+=1){var l=Ch(i[s][u],1),c=Ch(l[0],2)[1];if(ph.Path.equals(o,c)){a=s;break e}}var d=(null===(r=i[a])||void 0===r?void 0:r.length)||0;0!==d&&ph.Editor.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 u=Ch(i[a][s],2)[1],l=u.ttb,c=u.btt;if(l>1||c>1){var f=a-(l-1);if(f<0||f>=i.length||!i[f]||!i[f][s])continue;var h=Ch(i[f][s],1),p=Ch(h[0],2),g=p[0],m=p[1],v=g.rowSpan||1;n.push(s),g.hidden||ph.Transforms.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=ph.Path.parent(o),x=ph.Path.next(E);ph.Transforms.insertNodes(e,b,{at:x})})}},e}();var bM=function(){function e(){this.title=_y("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||(!ph.Range.isCollapsed(t)||!!wm.getSelectedElems(e).some(function(t){var r=wm.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=_p('<div class="w-e-panel-content-table"></div>'),n=_p("<span>0 &times; 0</span>"),o=_p("<table></table>"),i=0;i<10;i+=1){for(var a=_p("<tr></tr>"),s=0;s<10;s+=1){var u=_p("<td></td>");u.attr("data-x",s.toString()),u.attr("data-y",i.toString()),a.append(u),u.on("mouseenter",function(e){var t=e.target;if(null!=t){var r=_p(t).dataset(),i=r.x,a=r.y;n[0].innerHTML="".concat(i+1," &times; ").concat(a+1),o.children().each(function(e){_p(e).children().each(function(e){var t=_p(e),r=t.dataset(),n=r.x,o=r.y;n<=i&&o<=a?t.addClass("active"):t.removeClass("active")})})}}),u.on("click",function(r){r.preventDefault();var n=r.target;if(null!=n){var o=_p(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(wm.isSelectedEmptyParagraph(e)&&ph.Transforms.removeNodes(e,{mode:"highest"}),0===e.children.length){ph.Transforms.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,u=i.minRowHeight,l=void 0===u?30:u,c=i.tableFullWidth,d=i.tableHeader,f=Array(r).fill(parseInt(s,10)||60),h=0;h<t;h+=1){for(var p=[],g=0;g<r;g+=1){var m={type:"table-cell",children:[{text:""}]};0===h&&(m.isHeader=null===(n=null==d?void 0:d.selected)||void 0===n||n),p.push(m)}o.push({type:"table-row",children:p,height:parseInt(l,10)||30})}return{type:"table",width:(null==c?void 0:c.selected)?"100%":"auto",children:o,columnWidths:f}}(e,n,o);ph.Transforms.insertNodes(e,i,{mode:"highest"})}},e}(),wM={isInTable:function(e,t){return void 0===t&&(t={}),!!Ch(ph.Editor.nodes(e,{match:tM(e,"table"),at:t.at}),1)[0]},selection:function(e){var t,r,n,o,i,a,s,u;return xh(this,function(l){switch(l.label){case 0:t=sM.get(e),r=0,l.label=1;case 1:if(!(t&&r<t.length))return[3,4];for(n=[],o=0;o<t[r].length;o+=1)i=Ch(t[r][o],2),a=i[0],s=i[1],u=s.ltr,1===s.ttb&&n.push(a),o+=u-1;return[4,n];case 2:l.sent(),l.label=3;case 3:return r+=1,[3,1];case 4:return[2]}})},unselect:function(e){uM.delete(e),sM.delete(e)},isSelected:function(e,t){var r=uM.get(e);return!!r&&r.has(t)},hasSelected:function(e){return sM.has(e)}},EM=function(){function e(){this.title=_y("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),wM.unselect(e))},e.prototype.canMerge=function(e){var t=sM.get(e);if(!t||!t.length)return!1;var r=Ch(t[t.length-1][t[t.length-1].length-1],1),n=Ch(r[0],2)[1],o=Ch(t[0][0],1);return!!rM(e,[Ch(o[0],2)[1],n],"table")},e.prototype.merge=function(e){if(this.canMerge(e)){var t=sM.get(e);if(t&&t.length){var r=Ch(t[0][0],1),n=Ch(r[0],2)[1],o=Ch(ph.Node.children(e,n,{reverse:!0}),1),i=Ch(o[0],2)[1];ph.Editor.withoutNormalizing(e,function(){for(var r,o,a,s,u,l,c=new Map,d=[],f=1/0,h=-1/0,p=1/0,g=-1/0,m=0;m<t.length;m+=1)for(var v=0;v<t[m].length;v+=1){var y=Ch(t[m][v],2),b=Ch(y[0],2),w=b[0],E=b[1],x=y[1].ttb,S=E.join(",");if(1===x&&!c.has(S)){c.set(S,{path:E,x:m,y:v,element:w});var C=w.rowSpan,A=void 0===C?1:C,D=w.colSpan,T=m,k=m+A-1,O=v,N=v+(void 0===D?1:D)-1;f=Math.min(f,T),h=Math.max(h,k),p=Math.min(p,O),g=Math.max(g,N)}}var B=h-f+1,F=g-p+1;try{for(var M=Sh(c),I=M.next();!I.done;I=M.next()){E=Ch(I.value,2)[1].path;ph.Path.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=Sh(d),R=P.next();!R.done;R=P.next()){E=R.value;try{if(!ph.Editor.hasPath(e,E))continue;try{for(var L=(u=void 0,Sh(ph.Node.children(e,E,{reverse:!0}))),_=L.next();!_.done;_=L.next()){var z=Ch(_.value,2)[1];ph.Transforms.moveNodes(e,{to:ph.Path.next(i),at:z})}}catch(e){u={error:e}}finally{try{_&&!_.done&&(l=L.return)&&l.call(L)}finally{if(u)throw u.error}}ph.Transforms.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}}ph.Transforms.setNodes(e,{rowSpan:B,colSpan:F},{at:n})})}}},e}(),xM=function(){function e(){this.title=_y("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=Ch(ph.Editor.nodes(e,{match:function(e){return wm.checkNodeType(e,"table-cell")}}),1),r=t[0];if(!r)return!0;var n=Ch(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=Ch(ph.Editor.nodes(e,{match:tM(e,"table","th","td"),at:t.at}),2),n=r[0],o=r[1];if(n&&o){var i=mM(Ch(n,1)[0]),a=Ch(o,2),s=a[0],u=a[1],l=s.rowSpan,c=void 0===l?1:l,d=s.colSpan,f=void 0===d?1:d;1===c&&1===f||ph.Editor.withoutNormalizing(e,function(){ph.Transforms.setNodes(e,{rowSpan:1,colSpan:1},{at:u});for(var t=1;t<f;t+=1){var r={type:"table-cell",children:[{text:""}]};0===u[u.length-2]&&i&&(r.isHeader=!0);var n=u.slice(0,-1),o=u[u.length-1]+t,a=Ah(Ah([],Ch(n),!1),[o],!1);try{ph.Transforms.insertNodes(e,r,{at:a})}catch(t){try{var s=Ch(ph.Editor.node(e,n),1)[0].children.length,l=Ah(Ah([],Ch(n),!1),[s],!1);ph.Transforms.insertNodes(e,r,{at:l})}catch(e){console.warn("插入同行单元格失败: ".concat(e instanceof Error?e.message:String(e)))}}}for(var d=1;d<c;d+=1){var h=u[u.length-2]+d,p=Ah(Ah([],Ch(u.slice(0,-2)),!1),[h],!1);try{var g=Ch(ph.Editor.node(e,p),1)[0];if(!g){console.warn("目标行 ".concat(h," 不存在"));continue}for(t=0;t<f;t+=1){r={type:"table-cell",children:[{text:""}]},o=u[u.length-1]+t,a=Ah(Ah([],Ch(p),!1),[o],!1);try{var m=g.children.length;if(o>=m){var v=Ah(Ah([],Ch(p),!1),[m],!1);ph.Transforms.insertNodes(e,r,{at:v})}else ph.Transforms.insertNodes(e,r,{at:a})}catch(t){try{var y=g.children.length;l=Ah(Ah([],Ch(p),!1),[y],!1);ph.Transforms.insertNodes(e,r,{at:l})}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}(),SM=function(){function e(){this.title=_y("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=wm.getSelectedNodeByType(e,"table");return null!=t&&mM(t)},e.prototype.isActive=function(e){return!!this.getValue(e)},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||(!ph.Range.isCollapsed(t)||null==wm.getSelectedNodeByType(e,"table"))},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var r=!t,n=wm.getSelectedNodeByType(e,"table");if(null!=n)gM(n).forEach(function(t){return ph.Transforms.setNodes(e,{isHeader:r},{at:wm.findPath(e,t)})})}},e}(),CM={key:"insertTable",factory:function(){return new bM}},AM={key:"deleteTable",factory:function(){return new hM}},DM={key:"insertTableRow",factory:function(){return new yM}},TM={key:"deleteTableRow",factory:function(){return new fM}},kM={key:"insertTableCol",factory:function(){return new vM}},OM={key:"deleteTableCol",factory:function(){return new dM}},NM={key:"tableHeader",factory:function(){return new SM}},BM={key:"tableFullWidth",factory:function(){return new pM}},FM={key:"mergeTableCell",factory:function(){return new EM}},MM={key:"splitTableCell",factory:function(){return new xM}},IM={key:"setTableProperty",factory:function(){return new lM}},PM={key:"setTableCellProperty",factory:function(){return new cM}};var RM={selector:"td:not([data-w-e-type]),th:not([data-w-e-type])",parseElemHtml:function(e,t,r){var n=_p(e),o=n.text().replace(/\s+/gm," ").trim();0===(t=t.filter(function(e){return"paragraph"===wm.getNodeType(e)||(!!ph.Text.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"===aM(n,"display")&&0===o.length,u=n.attr("width")||"auto";return{type:"table-cell",isHeader:"th"===iM(n),colSpan:i,rowSpan:a,width:u,children:t,hidden:s}}};var LM={selector:"tr:not([data-w-e-type])",parseElemHtml:function(e,t,r){for(var n=_p(e),o=[],i=0;i<t.length;i+=1){var a=t[i];if("table-cell"===wm.getNodeType(a)){var s=a;if(s.hidden)continue;o.push(s)}}return{type:"table-row",height:parseInt(aM(n,"height")||"0",10)||void 0,children:o}}};var _M,zM={selector:"table:not([data-w-e-type])",parseElemHtml:function(e,t,r){var n,o,i=_p(e),a="auto";"100%"===aM(i,"width")&&(a="100%"),"100%"===i.attr("width")&&(a="100%");var s={type:"table",width:a,height:parseInt(aM(i,"height")||"0",10),children:t.filter(function(e){return"table-row"===wm.getNodeType(e)})},u=(null===(n=i.find("tr")[0])||void 0===n?void 0:n.children)||[],l=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")||aM(_p(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(l.length>0)s.columnWidths=l;else if(u.length>0){var c=[];Array.from(u).forEach(function(e){var t=parseInt(_p(e).attr("colSpan")||"1",10),r=parseInt(aM(_p(e),"width")||"90",10);c.push(r);for(var n=1;n<t;n+=1)c.push(90)}),s.columnWidths=c}return s}},jM=null===(_M=null===window||void 0===window?void 0:window.getComputedStyle(document.documentElement))||void 0===_M?void 0:_M.getPropertyValue("--w-e-textarea-border-color");function HM(e){var t=e.selection;if(null==t)return!1;var r=Ch(ph.Editor.nodes(e,{match:function(e){return wm.checkNodeType(e,"table-cell")}}),1),n=r[0];if(n){var o=Ch(n,2)[1],i=ph.Editor.start(e,o);if(ph.Point.equals(t.anchor,i))return!0}return!1}function $M(e,t){var r=t.offset;if(0===r)return!1;var n=ph.Editor.node(e,t);if(!ph.Text.isText(n[0]))return!1;var o=ph.Node.string(n[0]);return!(r>=o.length)&&("\n"===o[r-1]&&"\r"===o[r])}function UM(e,t,r){var n=e.selection;if(null==n||"line"===t)return!1;var o=Ch(ph.Editor.nodes(e,{match:function(e){return wm.checkNodeType(e,"table-cell")}}),1),i=o[0],a=n.anchor;if("backward"===r&&0===n.anchor.offset&&(a=ph.Editor.before(e,n)),"forward"===r&&ph.Editor.isEnd(e,n.anchor,n.anchor.path)&&(a=ph.Editor.after(e,n)),null==a)return!1;var s=ph.Editor.above(e,{at:a,match:function(e){return wm.checkNodeType(e,"table-cell")}});if(null==s||null==i||!ph.Path.equals(s[1],i[1]))return!1;var u=ph.Editor.node(e,a);if(!ph.Text.isText(u[0])||u[0].text.length<2)return!1;var l="backward"===r?[a.offset-2,a.offset]:[a.offset,a.offset+2],c=ph.Node.string(u[0]);return"\n\r"===c.slice.apply(c,Ah([],Ch(l),!1))?(ph.Transforms.insertText(e,c.slice(0,l[0])+c.slice(l[1]),{at:{anchor:ph.Editor.start(e,a.path),focus:ph.Editor.end(e,a.path)}}),!0):!!$M(e,a)&&(ph.Transforms.insertText(e,c.slice(0,n.anchor.offset-1)+c.slice(n.anchor.offset+1),{at:{anchor:ph.Editor.start(e,a.path),focus:ph.Editor.end(e,a.path)}}),!0)}function VM(e,t){var r=ph.Editor.nodes(e,{at:t,match:function(e){return"table"===wm.getNodeType(e)}});return!!Ah([],Ch(r),!1).find(function(){return!0})}function qM(e){var t,r;try{for(var n=Sh(["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(wm.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 GM(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,Ah([],Ch(r),!1)),t.innerHTML}var WM={selector:"table",preParseHtml:function(e){var t=_p(e);if("table"!==iM(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=_p(o[i]);a.attr("width","auto");var s=a.html()||"";s=GM(s=(s=s.replace(/<o:p[^>]*>[\s\S]*?<\/o:p>/gi,"")).replace(/<\/o:p>/gi,"")),a.html(s)}return t[0]}};function YM(e){var t,r,n=[],o=0;try{for(var i=Sh(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 KM(e){var t,r,n=[],o=e.reduce(function(e,t){return e+t},0);try{for(var i=Sh(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 XM=null;var ZM=!1,JM=!1,QM=0,eI=null,tI=_p(window);tI.on("mousedown",function(e){var t=e.target;if(t.closest('[data-block-type="table-cell"]'))ZM=!0;else if("DIV"===t.tagName&&t.closest(".column-resizer-item")){if(null===eI)return;JM=!0;var r=e.clientX;QM=r,document.body.style.cursor="col-resize",e.preventDefault()}tI.on("mousemove",rI),tI.on("mouseup",nI)});var rI=cb(function(e){if(JM&&null!==eI){e.preventDefault();var t,r=e.clientX,n=r-QM,o=Ch(ph.Editor.nodes(eI,{match:tM(eI,"table")}),1),i=Ch(o[0],1)[0],a=i.columnWidths,s=void 0===a?[]:a,u=i.resizingIndex,l=void 0===u?-1:u,c=wm.getSelectedNodeByType(eI,"table"),d=wm.toDOMNode(eI,c).querySelector(".table");if(d)t=function(e,t,r,n,o){var i=Ah([],Ch(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,u=r-(0===t?0:n[t-1]),l=Math.max(s,u);return i[t]=Math.floor(100*l)/100,i}(s,l,r-d.getBoundingClientRect().left,YM(s),eI);else t=function(e,t,r,n){var o=Ah([],Ch(e),!1),i=n.getMenuConfig("insertTable").minWidth,a=parseInt((void 0===i?60:i).toString(),10)||60,s=o[t],u=Math.max(a,s+r);return o[t]=Math.floor(100*u)/100,o}(s,l,n,eI);ph.Transforms.setNodes(eI,{columnWidths:t},{mode:"highest"})}},100);function nI(e){ZM=!1,JM=!1,eI=null,document.body.style.cursor="",tI.off("mousemove",rI),tI.off("mouseup",nI)}function oI(e,t){"mouseenter"===t.type?ph.Transforms.setNodes(e,{isResizing:!0},{mode:"highest"}):ph.Transforms.setNodes(e,{isResizing:!1},{mode:"highest"})}function iI(e){var t,r,n=[],o=0;try{for(var i=Sh(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 aI=!1,sI=0,uI=null,lI=_p(window);var cI=cb(function(e){if(aI&&null!==uI){e.preventDefault();var t,r=e.clientY,n=r-sI,o=Ch(ph.Editor.nodes(uI,{match:tM(uI,"table")}),1),i=Ch(o[0],1)[0],a=i.children,s=i.resizingRowIndex,u=void 0===s?-1:s,l=a.map(function(e){return e.height||30}),c=wm.getSelectedNodeByType(uI,"table"),d=wm.toDOMNode(uI,c).querySelector(".table");if(d)t=function(e,t,r,n,o){var i=Ah([],Ch(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,u=r-(0===t?0:n[t-1]),l=Math.max(s,u);return i[t]=Math.floor(100*l)/100,i}(l,u,r-d.getBoundingClientRect().top,iI(l),uI);else t=function(e,t,r,n){var o=Ah([],Ch(e),!1),i=(n.getMenuConfig("insertTable")||{}).minRowHeight,a=parseInt((void 0===i?30:i).toString(),10)||30,s=o[t],u=Math.max(a,s+r);return o[t]=Math.floor(100*u)/100,o}(l,u,n,uI);var f=wm.getSelectedNodeByType(uI,"table");if(f&&u>=0&&u<t.length){var h=Ah(Ah([],Ch(wm.findPath(uI,f)),!1),[u],!1);try{ph.Transforms.setNodes(uI,{height:t[u]},{at:h})}catch(e){console.warn("更新行高度失败:",e)}}}},100);function dI(e){aI=!1,uI=null,document.body.style.cursor="",lI.off("mousemove",cI),lI.off("mouseup",dI)}function fI(e,t){"mouseenter"===t.type?ph.Transforms.setNodes(e,{isResizingRow:!0},{mode:"highest"}):ph.Transforms.setNodes(e,{isResizingRow:!1},{mode:"highest"})}lI.on("mousedown",function(e){var t=e.target;if("DIV"===t.tagName&&t.closest(".row-resizer-item")){if(null===uI)return;aI=!0;var r=e.clientY;sI=r,document.body.style.cursor="row-resize",e.preventDefault()}lI.on("mousemove",cI),lI.on("mouseup",dI)});var hI={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(ph.Range.isCollapsed(r))return!0;var n=r.anchor,o=r.focus,i=wm.findPath(e,t),a=ph.Editor.start(e,i),s=ph.Editor.end(e,i),u=ph.Point.compare(n,s)<=0&&ph.Point.compare(n,a)>=0,l=ph.Point.compare(o,s)<=0&&ph.Point.compare(o,a)>=0;return!!(u&&l&&ph.Path.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,u=o.columnWidths,l=void 0===u?[]:u,c=o.scrollWidth,d=void 0===c?0:c,f=o.isHoverCellBorder,h=o.resizingIndex,p=o.isResizing,g=o.isHoverRowBorder,m=o.resizingRowIndex,v=o.isResizingRow,y=wm.isNodeSelected(r,e),b=Ch(wM.selection(r),1)[0],w=KM(l),E=pw("div",{className:"table-container","data-selected":y,on:{mousedown:function(t){if("DIV"===t.target.tagName&&t.preventDefault(),!r.isDisabled()){t.target.closest('[data-block-type="table-cell"]')&&wM.unselect(r);var n=wm.findPath(r,e),o=ph.Editor.start(r,n),i=r.selection;if(null!=i)i.anchor.path[0]!==n[0]&&"DIV"===t.target.tagName&&r.select(o);else r.select(o)}}}},pw("table",{width:a,contentEditable:n,className:"table ".concat(b?"table-selection-none":""),style:{width:"100%"===a?a:"".concat(l.reduce(function(e,t){return e+t},0),"px")},on:{mousemove:Vv(function(t){wM.hasSelected(r)||(function(e,t,r,n){if(!e.isDisabled()&&!ZM&&!JM){var o=t,i=o.width,a=void 0===i?"auto":i,s=o.columnWidths,u=void 0===s?[]:s,l=o.isHoverCellBorder,c=o.resizingIndex,d=r.clientX,f=r.target;if(Ag(f)&&d>(g=f.getBoundingClientRect()).x+5&&d<g.x+g.width-5)return void(l&&ph.Transforms.setNodes(e,{isHoverCellBorder:!1,resizingIndex:-1},{mode:"highest"}));if(Ag(f)){var h=f.closest(".table");if(h)for(var p=r.clientX,g=h.getBoundingClientRect(),m="100%"===a?KM(u).map(function(e){return e*n}):u,v=YM(m),y=0;y<v.length;y+=1)if(p-g.x>=v[y]-5&&p-g.x<v[y]+5){if(c===y)return;return void ph.Transforms.setNodes(e,{isHoverCellBorder:!0,resizingIndex:y},{mode:"highest"})}}!0===l&&ph.Transforms.setNodes(e,{isHoverCellBorder:!1,resizingIndex:-1},{mode:"highest"})}}(r,e,t,d),function(e,t,r){if(!e.isDisabled()&&!aI){var n=t,o=n.children,i=n.isHoverRowBorder,a=n.resizingRowIndex,s=r.target;if(Ag(s)){var u=s.closest(".table");if(u)for(var l=r.clientY,c=u.getBoundingClientRect(),d=iI(o.map(function(e){return e.height||30})),f=0;f<d.length;f+=1)if(l-c.y>=d[f]-5&&l-c.y<d[f]+5){if(a===f)return;return void ph.Transforms.setNodes(e,{isHoverRowBorder:!0,resizingRowIndex:f},{mode:"highest"})}}!0===i&&ph.Transforms.setNodes(e,{isHoverRowBorder:!1,resizingRowIndex:-1},{mode:"highest"})}}(r,e,t))},25)}},pw("colgroup",{contentEditable:!1},l.map(function(e){return pw("col",{width:e})})),pw("tbody",null,t)),pw("div",{className:"column-resizer",contentEditable:!1},l.map(function(e,t){var n=e;return"100%"===a&&(n=w[t]*d),pw("div",{className:"column-resizer-item",style:{minWidth:"".concat(n,"px")}},pw("div",{className:"resizer-line-hotzone ".concat(f&&t===h?"visible ":"").concat(p&&t===h?"highlight":""),style:{height:"".concat(s,"px")},on:{mouseenter:function(e){return oI(r,e)},mouseleave:function(e){return oI(r,e)},mousedown:function(e){return function(e){JM||(eI=e)}(r)}}},pw("div",{className:"resizer-line"})))})),pw("div",{className:"row-resizer",contentEditable:!1},e.children.map(function(e,t){var n=l.reduce(function(e,t){return e+t},0),o=e.height||30;return pw("div",{className:"row-resizer-item",style:{minHeight:"".concat(o,"px")}},pw("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 fI(r,e)},mouseleave:function(e){return fI(r,e)},mousedown:function(e){return function(e){aI||(uI=e)}(r)}}},pw("div",{className:"resizer-line-horizontal"})))}))),x=Yb("div",{hook:{insert:function(e){var t=e.elm;return function(e,t){if(Ag(t)){var r=t.querySelector("table");r&&(XM=new ResizeObserver(function(t){var r=Ch(t,1)[0].contentRect;ph.Transforms.setNodes(e,{scrollWidth:r.width,height:r.height},{mode:"highest"})}),XM.observe(r))}}(r,t)},destroy:function(){XM&&(null==XM||XM.disconnect(),XM=null)}}},E);return x}},pI={type:"table-row",renderElem:function(e,t,r){var n=e.height;return pw("tr",{style:n?{height:"".concat(n,"px")}:{}},t)}},gI={type:"table-cell",renderElem:function(e,t,r){var n=function(e,t){var r=wm.getParentNode(e,t);if(null==r)return!1;var n=wm.getParentNode(e,r);return null!=n&&gM(n).some(function(e){return e===t})}(r,e),o=e,i=o.colSpan,a=void 0===i?1:i,s=o.rowSpan,u=void 0===s?1:s,l=o.isHeader,c=void 0!==l&&l,d=o.hidden,f=void 0!==d&&d,h=wM.isSelected(r,e);return pw(n&&c?"th":"td",{colSpan:a,rowSpan:u,"data-block-type":"table-cell",className:h?"w-e-selected":"",style:{display:f?"none":""}},t)}};function mI(e,t){null==e.data&&(e.data={});var r=e.data;null==r.style&&(r.style={}),Object.assign(r.style,t)}var vI={renderStyle:function(e,t){var r,n;if(!ph.Element.isElement(e))return t;var o=e,i=o.backgroundColor,a=o.borderWidth,s=o.borderStyle,u=o.borderColor,l=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),u&&(c.borderColor=u),l&&(c.textAlign=l);var d=t;return"table"===e.type?mI(null===(n=(null===(r=d.children)||void 0===r?void 0:r[0]).children)||void 0===n?void 0:n[0],c):mI(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=_p(t);return r&&s.css("background-color",r),n&&s.css("border-width","".concat(n,"px")),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=_p(e),o=t,i=aM(n,"background-color");i||(i=aM(n,"background")),i&&(o.backgroundColor=i);var a=aM(n,"border");a||"TD"!==e.tagName||(a="1px solid ".concat(jM));var s,u=Ch((null==a?void 0:a.split(" "))||[],3),l=u[0],c=u[1],d=u[2];(l=aM(n,"border-width")||l)&&(o.borderWidth=(s=l.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=aM(n,"border-style")||c)&&(o.borderStyle="none"===c?"":c),(d=aM(n,"border-color")||d)&&(o.borderColor=d);var f=aM(n,"text-align");return(f=aM(n,"text-align")||f)&&(o.textAlign=f),t},renderElems:[hI,pI,gI],elemsToHtml:[XF,ZF,JF],preParseHtml:[WM],parseElemsHtml:[RM,LM,zM],menus:[CM,AM,DM,TM,kM,OM,NM,BM,FM,MM,IM,PM],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,u=e.selectAll,l=e;l.insertBreak=function(){null==wm.getSelectedNodeByType(l,"table")?t():l.insertText("\n\r")},l.deleteBackward=function(e){if(!HM(l)&&!UM(l,e,"backward")){var t=l.selection;if(t){var n=ph.Editor.before(l,t),o=ph.Editor.above(l,{at:t,match:function(e){return wm.checkNodeType(e,"table-cell")}});if(n){var i=VM(l,n);if(!o&&i&&qM(l))return}}r(e)}},l.handleTab=function(){var t;if(wm.getSelectedNodeByType(l,"table")){var r=ph.Editor.above(e);wm.checkNodeType(r[0],"table-cell")&&ph.Transforms.select(e,r[1]);var n=ph.Editor.next(e);if(n)n[0]&&n[0].text&&(n=null!==(t=ph.Editor.above(e,{at:n[1]}))&&void 0!==t?t:n),ph.Transforms.select(e,n[1]);else{var o=l.children||[],i=o.length;if(wm.checkNodeType(o[i-1],"table")){var a=wm.genEmptyParagraph();ph.Transforms.insertNodes(l,a,{at:[i]}),l.handleTab()}}}else s()},l.deleteForward=function(e){if(!HM(l)&&!UM(l,e,"forward")){var t=l.selection;if(t){var r=ph.Editor.after(l,t),o=ph.Editor.above(l,{at:t,match:function(e){return wm.checkNodeType(e,"table-cell")}});if(r){var i=VM(l,r);if(!o&&i&&qM(l))return}}n(e)}},l.deleteFragment=function(e){var t=l.selection;if(t){var r,n=!1,i={anchor:t.anchor,focus:t.focus},a=ph.Point.isBefore(i.anchor,i.focus);if($M(l,t.anchor))(r=ph.Editor[a?"before":"after"](l,t.anchor))&&(i.anchor=r),n=!0;if($M(l,t.focus))(r=ph.Editor[a?"after":"before"](l,t.focus))&&(i.focus=r),n=!0;n&&ph.Transforms.setSelection(l,i),o(e)}},l.normalizeNode=function(e){var t=Ch(e,2),r=t[0],n=t[1];if("table"!==wm.getNodeType(r))return i([r,n]);if(wm.isLastNode(l,r)){var o=wm.genEmptyParagraph();ph.Transforms.insertNodes(l,o,{at:[n[0]+1]})}},l.insertData=function(e){if(null!=wm.getSelectedNodeByType(l,"table")){var t=e.getData("text/plain");"\n"===t||/<img[^>]+>/.test(e.getData("text/html"))?a(e):ph.Editor.insertText(l,t)}else a(e)},l.selectAll=function(){var e=l.selection;if(null!=e){var t=wm.getSelectedNodeByType(l,"table-cell");if(null!=t){var r=e.anchor,n=e.focus;if(ph.Path.equals(r.path.slice(0,3),n.path.slice(0,3)))if(0!==ph.Node.string(t).length){var o=wm.findPath(l,t),i={anchor:ph.Editor.start(l,o),focus:ph.Editor.end(l,o)};l.select(i)}else u();else u()}else u()}else u()},function(e){var t=e.apply;e.apply=function(r){if(!ph.Operation.isSelectionOperation(r)||!r.newProperties)return t(r);var n=wh(wh({},e.selection),r.newProperties);if(!ph.Range.isRange(n))return wM.unselect(e),t(r);var o=function(e){return ph.Element.isElement(e)&&("table-cell"===e.type||"th"===e.type||"td"===e.type)},i=Ch(ph.Editor.nodes(e,{match:o,at:ph.Range.start(n),mode:"lowest"}),1)[0],a=Ch(ph.Editor.nodes(e,{match:o,at:ph.Range.end(n),mode:"lowest"}),1)[0];if(!i||!a)return wM.unselect(e),t(r);var s=Ch(i,2)[1],u=Ch(a,2)[1];if(ph.Path.equals(s,u)||!rM(e,[s,u],"table"))return wM.unselect(e),t(r);try{var l=nM(e,{at:s});if(!l||0===l.length)return wM.unselect(e),t(r);for(var c=oM.valueOf(0,0),d=oM.valueOf(0,0),f=!1,h=!1,p=0;p<l.length;p+=1)if(l[p])for(var g=0;g<l[p].length;g+=1)if(l[p][g]){var m=Ch(l[p][g],1),v=Ch(m[0],2)[1];ph.Path.equals(s,v)&&(c.x=p,c.y=g,f=!0),ph.Path.equals(u,v)&&(d.x=p,d.y=g,h=!0)}if(!f||!h)return wM.unselect(e),t(r);for(var y=oM.valueOf(Math.min(c.x,d.x),Math.min(c.y,d.y)),b=oM.valueOf(Math.max(c.x,d.x),Math.max(c.y,d.y));;){var w=oM.valueOf(y.x,y.y),E=oM.valueOf(b.x,b.y);for(p=w.x;p<=E.x&&p<l.length;p+=1)if(l[p])for(g=w.y;g<=E.y&&g<l[p].length;g+=1)if(l[p][g]){var x=Ch(l[p][g],2)[1];if(x){var S=x.rtl,C=x.ltr,A=x.btt,D=x.ttb;w.x=Math.min(w.x,p-(D-1)),w.y=Math.min(w.y,g-(S-1)),E.x=Math.max(E.x,p+(A-1)),E.y=Math.max(E.y,g+(C-1))}}if(oM.equals(y,w)&&oM.equals(b,E))break;y=w,b=E}var T=[],k=new WeakSet;for(p=y.x;p<=b.x&&p<l.length;p+=1)if(l[p]){var O=[];for(g=y.y;g<=b.y&&g<l[p].length;g+=1)if(l[p][g]){var N=Ch(l[p][g],1),B=Ch(N[0],1)[0];B&&(k.add(B),O.push(l[p][g]))}O.length>0&&T.push(O)}sM.set(e,T),uM.set(e,k)}catch(n){return wM.unselect(e),t(r)}t(r)}}(l),l.getTableSelection=function(){return sM.get(l)||null};var c=l.addMark,d=l.removeMark,f=wh({},ph.Transforms);return l.addMark=function(e,t){var r=sM.get(l);if(r&&r.length>0){var n=l.selection;r.forEach(function(r){r.forEach(function(r){var n=Ch(r[0],2)[1],o=ph.Editor.start(l,n),i=ph.Editor.end(l,n);ph.Transforms.select(l,{anchor:o,focus:i}),c(e,t)})}),n&&ph.Transforms.select(l,n)}else c(e,t)},l.removeMark=function(e){var t=sM.get(l);if(t&&t.length>0){var r=l.selection;t.forEach(function(t){t.forEach(function(t){var r=Ch(t[0],2)[1],n=ph.Editor.start(l,r),o=ph.Editor.end(l,r);ph.Transforms.select(l,{anchor:n,focus:o}),d(e)})}),r&&ph.Transforms.select(l,r)}else d(e)},ph.Transforms.setNodes=function(e,t,r){if(void 0===r&&(r={}),e===l){var n=sM.get(l);if(n&&n.length>0)return"hidden"in t||"rowSpan"in t||"colSpan"in t?void f.setNodes(e,t,r):void n.forEach(function(n){n.forEach(function(n){var o=Ch(n[0],2)[1];f.setNodes(e,t,wh(wh({},r),{at:o}))})})}f.setNodes(e,t,r)},l}};Ry("en",{uploadImgModule:{uploadImage:"Upload Image",uploadError:"{{fileName}} upload error"}}),Ry("zh-CN",{uploadImgModule:{uploadImage:"上传图片",uploadError:"{{fileName}} 上传出错"}});ag&&(_p.fn.append=ag),Wp&&(_p.fn.on=Wp),fg&&(_p.fn.remove=fg),Gp&&(_p.fn.val=Gp),mg&&(_p.fn.click=mg),Jp&&(_p.fn.hide=Jp);var yI=new WeakMap;function bI(e){return e.getMenuConfig("uploadImage")}function wI(e,t){return Eh(this,void 0,void 0,function(){return xh(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;FA(e,i,t.name,a),r("ok")}}})]})})}function EI(e,t){return Eh(this,void 0,void 0,function(){var r,n;return xh(this,function(o){switch(o.label){case 0:return r=function(e){var t=yI.get(e);if(null!=t)return t;var r=bI(e),n=r.onSuccess,o=r.onProgress,i=r.onFailed,a=r.customInsert,s=r.onError;return t=FS(wh(wh({},r),{onProgress:function(t){e.showProgressBar(t),o&&o(t)},onSuccess:function(t,r){if(a)return a(r,function(t,r,n){return FA(e,t,r,n)}),void n(t,r);var o=r.errno,s=void 0===o?1:o,u=r.data,l=void 0===u?{}:u;if(0===s){if(Array.isArray(l))l.forEach(function(t){var r=t.url,n=void 0===r?"":r,o=t.alt,i=void 0===o?"":o,a=t.href;FA(e,n,i,void 0===a?"":a)});else{var c=l.url,d=void 0===c?"":c,f=l.alt,h=void 0===f?"":f,p=l.href;FA(e,d,h,void 0===p?"":p)}n(t,r)}else i(t,r)},onError:function(e,t,r){s(e,t,r)}})),yI.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 xI(e,t){return Eh(this,void 0,void 0,function(){var r,n,o,i,a,s,u,l,c,d,f,h,p,g,m;return xh(this,function(v){switch(v.label){case 0:if(null==t)return[2];r=Array.prototype.slice.call(t),n=bI(e),o=n.customUpload,i=n.base64LimitSize,a=[],v.label=1;case 1:v.trys.push([1,10,11,16]),s=!0,u=Dh(r),v.label=2;case 2:return[4,u.next()];case 3:return l=v.sent(),(h=l.done)?[3,9]:(m=l.value,s=!1,d=(c=m).size,i&&d<=i?[4,wI(e,c)]:[3,5]);case 4:return v.sent(),[3,8];case 5:return o?[4,o(c,function(t,r,n){return FA(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 f=v.sent(),p={error:f},[3,16];case 11:return v.trys.push([11,,14,15]),s||h||!(g=u.return)?[3,13]:[4,g.call(u)];case 12:v.sent(),v.label=13;case 13:return[3,15];case 14:if(p)throw p.error;return[7];case 15:return[7];case 16:return a.length>0?[4,EI(e,a)]:[3,18];case 17:v.sent(),v.label=18;case 18:return[2]}})})}var SI=function(){function e(){this.title=_y("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 OA(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 FA(e,t,r,n)});else{var a="";o.length>0&&(a='accept="'.concat(o.join(", "),'"'));var s=_p("body"),u=_p('<input type="file" '.concat(a," multiple/>"));u.hide(),s.append(u),u.click(),u.on("change",function(){var t=u[0].files;xI(e,t)})}},e}();var CI={menus:[{key:"uploadImage",factory:function(){return new SI},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(OA(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"===Ch(e.type.split("/"),1)[0]})?xI(e,o):t(n)}},r}};function AI(e){return e.length?e[0].tagName.toLowerCase():""}function DI(e,t,r,n){void 0===t&&(t="auto"),void 0===r&&(r="auto"),void 0===n&&(n={});var o=_p(e),i=n.width,a=void 0===i?"":i,s=n.height,u=void 0===s?"":s,l="";return a&&(l+="width: ".concat(a,";")),u&&(l+="height: ".concat(u,";")),o.attr("width",t),o.attr("height",r),o.attr("style",l),o[0].outerHTML}Ry("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"}}),Ry("zh-CN",{videoModule:{delete:"删除视频",uploadVideo:"上传视频",insertVideo:"插入视频",videoSrc:"视频地址",videoSrcPlaceHolder:"视频文件 url 或第三方 <iframe>",videoPoster:"视频封面",videoPosterPlaceHolder:"封面图片 url",ok:"确定",editSize:"修改尺寸",edit:"编辑视频",width:"宽度",height:"高度"}}),ag&&(_p.fn.append=ag),Wp&&(_p.fn.on=Wp),vg&&(_p.fn.focus=vg),$p&&(_p.fn.attr=$p),Gp&&(_p.fn.val=Gp),ng&&(_p.fn.html=ng),ug&&(_p.fn.parent=ug),Hp&&(_p.fn.hasClass=Hp),hg&&(_p.fn.empty=hg);var TI={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,u=void 0===s?"auto":s,l=r.height,c=void 0===l?"auto":l,d=r.style,f=void 0===d?{}:d,h=r.textAlign,p='<div data-w-e-type="video" data-w-e-is-void style="text-align: '.concat(void 0===h?"center":h,';">\n');if(0===o.trim().indexOf("<iframe ")){p+=DI(o,u,c,f)}else{var g=f.width,m=void 0===g?"":g,v=f.height,y=void 0===v?"":v,b="";m&&(b+="width: ".concat(m,";")),y&&(b+="height: ".concat(y,";")),p+='<video poster="'.concat(a,'" controls="true" width="').concat(u,'" height="').concat(c,'" style="').concat(b,'"><source src="').concat(o,'" type="video/mp4"/></video>')}return p+="\n</div>"}};function kI(e){return void 0===e&&(e="r"),"".concat(e,"-").concat(bg())}function OI(e){var t={};return e.trim().split(";").forEach(function(e){if(e){var r=Ch(e.split(":"),2),n=r[0],o=r[1];n&&o&&(t[n.trim()]=o.trim())}}),t}function NI(){return kI("w-e-insert-video")}var BI=function(){function e(){this.title=_y("videoModule.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=NI(),this.heightInputId=NI(),this.buttonId=NI()}return e.prototype.getSelectedVideoNode=function(e){return wm.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=Ch(Ky(_y("videoModule.width"),r,"auto"),2),a=i[0],s=_p(i[1]),u=Ch(Ky(_y("videoModule.height"),n,"auto"),2),l=u[0],c=_p(u[1]),d=Ch(Zy(o,_y("videoModule.ok")),1)[0],f=this.getSelectedVideoNode(e);if(null==this.$content){var h=_p("<div></div>");h.on("click","#".concat(o),function(t){t.preventDefault();var o=h.find("#".concat(r)).val().trim(),i=h.find("#".concat(n)).val().trim(),a=function(e){return/^\d+(\.\d+)?%$/.test(e)},s=function(e){return/^\d+(\.\d+)?$/.test(e)},u="auto",l="auto";a(o)?u=o:s(o)&&(u="".concat(parseInt(o,10),"px")),a(i)?l=i:s(i)&&(l="".concat(parseInt(i,10),"px"));var c=f.style,d=void 0===c?{}:c;e.restoreSelection();var p={style:wh(wh({},d),{width:u,height:l})};ph.Transforms.setNodes(e,p,{match:function(e){return wm.checkNodeType(e,"video")}}),e.hidePanelOrModal()}),this.$content=h}var p=this.$content;if(p.empty(),p.append(a),p.append(l),p.append(d),null==f)return p[0];var g=f.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()}),p[0]},e}();function FI(){return kI("w-e-edit-video")}var MI=function(){function e(){this.title=_y("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=FI(),this.posterInputId=FI(),this.buttonId=FI()}return e.prototype.getSelectedVideoNode=function(e){return wm.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=Ch(Ky(_y("videoModule.videoSrc"),n,_y("videoModule.videoSrcPlaceHolder")),2),s=a[0],u=a[1],l=Ch(Ky(_y("videoModule.videoPoster"),o,_y("videoModule.videoPosterPlaceHolder")),2),c=l[0],d=l[1],f=_p(u),h=_p(d),p=Ch(Zy(i,_y("videoModule.ok")),1)[0];if(null==this.$content){var g=_p("<div></div>");g.on("click","#".concat(i),function(r){return Eh(t,void 0,void 0,function(){var t,i,a,s;return xh(this,function(u){return r.preventDefault(),t=g.find("#".concat(n)).val().trim(),i=g.find("#".concat(o)).val().trim(),a=kI("video-"),s={src:t,poster:i,key:a},e.restoreSelection(),ph.Transforms.setNodes(e,s,{match:function(e){return wm.checkNodeType(e,"video")}}),e.hidePanelOrModal(),[2]})})}),this.$content=g}var m=this.$content;m.empty(),m.append(s),m.append(c),m.append(p);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 f.val(b),h.val(E),setTimeout(function(){f.focus()}),m[0]},e}();function II(e,t){return Eh(this,arguments,void 0,function(e,t,r,n,o){var i,a,s,u,l,c,d;return void 0===r&&(r=""),void 0===n&&(n=""),void 0===o&&(o=""),xh(this,function(f){switch(f.label){case 0:return t?(e.restoreSelection(),i=e.getMenuConfig("insertVideo"),a=i.onInsertedVideo,s=i.checkVideo,u=i.parseVideoSrc,[4,s(t,r)]):[2];case 1:return"string"==typeof(l=f.sent())?(e.alert(l,"error"),[2]):null==l?[2]:[4,u(t)];case 2:return 0!==(c=f.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(){wm.isSelectedEmptyParagraph(e)&&ph.Transforms.removeNodes(e,{mode:"highest"}),ph.Transforms.insertNodes(e,d,{mode:"highest"})}),a(d),[2]}})})}function PI(){return kI("w-e-insert-video")}var RI=function(){function e(){this.title=_y("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=PI(),this.posterInputId=PI(),this.buttonId=PI()}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||(!ph.Range.isCollapsed(t)||!!wm.getSelectedElems(e).some(function(t){var r=wm.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=Ch(Ky(_y("videoModule.videoSrc"),n,_y("videoModule.videoSrcPlaceHolder")),2),s=a[0],u=a[1],l=Ch(Ky(_y("videoModule.videoPoster"),o,_y("videoModule.videoPosterPlaceHolder")),2),c=l[0],d=l[1],f=_p(u),h=_p(d),p=Ch(Zy(i,_y("videoModule.ok")),1)[0];if(null==this.$content){var g=_p("<div></div>");g.on("click","#".concat(i),function(r){return Eh(t,void 0,void 0,function(){var t,i;return xh(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,II(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(p),f.val(""),h.val(""),setTimeout(function(){f.focus()}),m[0]},e}();function LI(e){return e.getMenuConfig("uploadVideo")}var _I=new WeakMap;function zI(e,t){return Eh(this,void 0,void 0,function(){var r,n;return xh(this,function(o){switch(o.label){case 0:return r=function(e){var t=_I.get(e);if(null!=t)return t;var r=LI(e),n=r.onSuccess,o=r.onProgress,i=r.onFailed,a=r.customInsert,s=r.onError;return t=FS(wh(wh({},r),{onProgress:function(t){e.showProgressBar(t),o&&o(t)},onSuccess:function(t,r){if(a)return a(r,function(t,r){return II(e,t,r)}),void n(t,r);var o=r.errno,s=void 0===o?1:o,u=r.data,l=void 0===u?{}:u;if(0===s){var c=l.url,d=void 0===c?"":c,f=l.poster;II(e,d,void 0===f?"":f),n(t,r)}else i(t,r)},onError:function(e,t,r){s(e,t,r)}})),_I.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 jI=function(){function e(){this.title=_y("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 II(e,t,r)});else{var a="";o.length>0&&(a='accept="'.concat(o.join(", "),'"'));var s=_p("body"),u=_p('<input type="file" '.concat(a," multiple/>"));u.hide(),s.append(u),u.click(),u.on("change",function(){var t=u[0].files;!function(e,t){Eh(this,void 0,void 0,function(){var r,n,o,i,a,s,u,l,c,d,f,h;return xh(this,function(p){switch(p.label){case 0:if(null==t)return[2];r=Array.prototype.slice.call(t),n=[],o=LI(e).customUpload,p.label=1;case 1:p.trys.push([1,8,9,14]),i=!0,a=Dh(r),p.label=2;case 2:return[4,a.next()];case 3:return s=p.sent(),(c=s.done)?[3,7]:(h=s.value,i=!1,u=h,o?[4,o(u,function(t,r){return II(e,t,r)},e)]:[3,5]);case 4:return p.sent(),[3,6];case 5:n.push(u),p.label=6;case 6:return i=!0,[3,2];case 7:return[3,14];case 8:return l=p.sent(),d={error:l},[3,14];case 9:return p.trys.push([9,,12,13]),i||c||!(f=a.return)?[3,11]:[4,f.call(a)];case 10:p.sent(),p.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,zI(e,n)]:[3,16];case 15:p.sent(),p.label=16;case 16:return[2]}})})}(e,t)})}},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||(!ph.Range.isCollapsed(t)||!!wm.getSelectedElems(e).some(function(t){var r=wm.getNodeType(t);return"pre"===r||("list-item"===r||!!e.isVoid(t))}))},e.prototype.getMenuConfig=function(e){return e.getMenuConfig("uploadVideo")},e}();function HI(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 $I={selector:'div[data-w-e-type="video"]',parseElemHtml:function(e,t,r){var n=_p(e),o="",i="",a="auto",s="auto",u={},l=n.find("iframe");if(l.length>0)return a=l.attr("width")||"auto",s=l.attr("height")||"auto",u=OI(u=l.attr("style")||""),HI(o=l[0].outerHTML,i,a,s,u,OI(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",HI(o,i=c.attr("poster")||"",a,s,u=OI(u=c.attr("style")||""),OI(n.attr("style")||"")["text-align"]||"center")}};var UI={selector:"iframe,video,p",preParseHtml:function(e){var t=_p(e),r=t;if("p"===AI(t)){var n=t.children();if(1===n.length){var o=n[0],i=o.tagName.toLowerCase();["iframe","video"].includes(i)&&(r=_p(o))}}var a=AI(r);if("iframe"!==a&&"video"!==a)return r[0];if("video"===r.parent().attr("data-w-e-type"))return r[0];var s=_p('<div data-w-e-type="video" data-w-e-is-void style="text-align: center;"></div>');return s.append(r),s[0]}};var VI={type:"video",renderElem:function(e,t,r){var n,o=e,i=o.src,a=void 0===i?"":i,s=o.poster,u=void 0===s?"":s,l=o.key,c=void 0===l?"":l,d=o.width,f=void 0===d?"auto":d,h=o.height,p=void 0===h?"auto":h,g=o.style,m=void 0===g?{}:g,v=o.textAlign,y=void 0===v?"center":v,b=wm.isNodeSelected(r,e);if(0===a.trim().indexOf("<iframe ")){n=pw("div",{className:"w-e-textarea-video-container","data-selected":b?"true":"",style:{textAlign:y},innerHTML:DI(a,f,p,m)})}else{var w=pw("video",{key:c,poster:u,controls:!0,style:m},pw("source",{src:a,type:"video/mp4"}),"Sorry, your browser doesn't support embedded videos.\n 抱歉,浏览器不支持 video 视频");"auto"!==f&&(w.data.width=f),"auto"!==p&&(w.data.height=p),n=pw("div",{className:"w-e-textarea-video-container","data-selected":b?"true":"",style:{textAlign:y}},w)}var E=Yb("div",{props:{contentEditable:!1},on:{mousedown:function(e){return e.preventDefault()}}},n);return E}},qI={renderElems:[VI],elemsToHtml:[TI],preParseHtml:[UI],parseElemsHtml:[$I],menus:[{key:"insertVideo",factory:function(){return new RI},config:{onInsertedVideo:function(e){},checkVideo:function(e,t){return!0},parseVideoSrc:function(e){return e}}},{key:"uploadVideo",factory:function(){return new jI},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 BI}},{key:"editVideoSrc",factory:function(){return new MI}}],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=Ch(e,2),o=t[0],i=t[1];"video"===wm.getNodeType(o)&&(wm.isLastNode(n,o)&&ph.Transforms.insertNodes(n,wm.genEmptyParagraph(),{at:[i[0]+1]}));return r([o,i])},n}},GI=function(){function e(){throw new Error("不能实例化\nCan not construct a instance")}return e.setEditorConfig=function(e){void 0===e&&(e={}),this.editorConfig=wh(wh({},this.editorConfig),e)},e.setSimpleEditorConfig=function(e){void 0===e&&(e={}),this.simpleEditorConfig=wh(wh({},this.simpleEditorConfig),e)},e.setToolbarConfig=function(e){void 0===e&&(e={}),this.toolbarConfig=wh(wh({},this.toolbarConfig),e)},e.setSimpleToolbarConfig=function(e){void 0===e&&(e={}),this.simpleToolbarConfig=wh(wh({},this.simpleToolbarConfig),e)},e.registerPlugin=function(e){this.plugins.push(e)},e.registerMenu=function(e,t){Xh(e,t)},e.registerRenderElem=function(e){!function(e){var t=e.type,r=e.renderElem;yw[t||""]=r}(e)},e.registerRenderStyle=function(e){!function(e){gw.push(e)}(e)},e.registerElemToHtml=function(e){!function(e){var t=e.type,r=e.elemToHtml;om[t||""]=r}(e)},e.registerStyleToHtml=function(e){!function(e){tm.push(e)}(e)},e.registerPreParseHtml=function(e){!function(e){jg.push(e)}(e)},e.registerParseElemHtml=function(e){!function(e){var t=e.selector,r=e.parseElemHtml;$g[t]=r}(e)},e.registerParseStyleHtml=function(e){!function(e){Hg.push(e)}(e)},e.registerModule=function(e){WI(e)},e.editorConfig={},e.simpleEditorConfig={},e.toolbarConfig={},e.simpleToolbarConfig={},e.plugins=[],e}();function WI(e){var t=e.menus,r=e.renderElems,n=e.renderStyle,o=e.elemsToHtml,i=e.styleToHtml,a=e.preParseHtml,s=e.parseElemsHtml,u=e.parseStyleHtml,l=e.editorPlugin;t&&t.forEach(function(e){return GI.registerMenu(e)}),r&&r.forEach(function(e){return GI.registerRenderElem(e)}),n&&GI.registerRenderStyle(n),o&&o.forEach(function(e){return GI.registerElemToHtml(e)}),i&&GI.registerStyleToHtml(i),a&&a.forEach(function(e){return GI.registerPreParseHtml(e)}),s&&s.forEach(function(e){return GI.registerParseElemHtml(e)}),u&&GI.registerParseStyleHtml(u),l&&GI.registerPlugin(l)}rT.forEach(function(e){return WI(e)}),WI(LT),WI(vI),WI(qI),WI(CI),WI(wT),WI(KF);var YI='<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 KI={link:{menuKeys:["editLink","unLink","viewLink"]},image:{menuKeys:["imageWidth30","imageWidth50","imageWidth100","editorImageSizeMenu","editImage","viewImageLink","deleteImage"]},pre:{menuKeys:["enter","codeBlock","codeSelectLang"]},table:{menuKeys:["enter","tableHeader","tableFullWidth","insertTableRow","deleteTableRow","insertTableCol","deleteTableCol","deleteTable","mergeTableCell","splitTableCell","setTableProperty","setTableCellProperty"]},divider:{menuKeys:["enter"]},video:{menuKeys:["enter","editVideoSize","editVideoSrc"]}};var XI,ZI={hoverbarKeys:(XI=["formatPainter","headerSelect","insertLink","bulletedList","|","bold","through","color","bgColor","clearStyle"],null!=Kh.textToFormula&&XI.push("|","textToFormula"),wh(wh({},KI),{text:{menuKeys:XI}}))};GI.setEditorConfig(wh(wh({},ZI),{decorate:mT}));var JI={hoverbarKeys:KI};GI.setSimpleEditorConfig(wh(wh({},JI),{decorate:mT}));var QI={toolbarKeys:["headerSelect","blockquote","|","bold","underline","italic",{key:"group-more-style",title:_y("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:_y("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:_y("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:_y("editor.image"),iconSvg:YI,menuKeys:["insertImage","uploadImage"]},{key:"group-video",title:_y("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"]};GI.setToolbarConfig(QI);var eP={toolbarKeys:["blockquote","header1","header2","header3","|","bold","underline","italic","through","color","bgColor","clearStyle","|","bulletedList","numberedList","todo","justifyLeft","justifyRight","justifyCenter","|","insertLink",{key:"group-image",title:_y("editor.image"),iconSvg:YI,menuKeys:["insertImage","uploadImage"]},"insertVideo","insertTable","codeBlock","|","undo","redo","|","fullScreen"]};GI.setSimpleToolbarConfig(eP);e.Boot=GI,e.DomEditor=wm,e.SlateEditor=ph.Editor,e.SlateElement=ph.Element,e.SlateNode=ph.Node,e.SlatePath=ph.Path,e.SlatePoint=ph.Point,e.SlateRange=ph.Range,e.SlateText=ph.Text,e.SlateTransforms=ph.Transforms,e.Toolbar=Iw,e.createEditor=function(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,u=e.mode,l="simple"===(void 0===u?"default":u)?GI.simpleEditorConfig:GI.editorConfig,c=wh(wh({},l.hoverbarKeys||{}),s.hoverbarKeys||{});return Mw({selector:r,config:wh(wh(wh({},l),s),{hoverbarKeys:c}),content:o,html:i,plugins:GI.plugins})},e.createToolbar=function(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?GI.simpleToolbarConfig:GI.toolbarConfig;return Pw(r,{selector:t,config:wh(wh({},s),o)})},e.createUploader=FS,e.default={},e.genModalButtonElems=Zy,e.genModalInputElems=Ky,e.genModalTextareaElems=Xy,e.i18nAddResources=Ry,e.i18nChangeLanguage=function(e){Iy.changeLanguage(e)},e.i18nGetResources=function(e){return Iy.getResourceBundle(e,Py)},e.t=_y,Object.defineProperty(e,"__esModule",{value:!0})});
20
+ */e.exports&&(e.exports=t),void 0!==b&&(b.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 u=s.appendChild(document.createElement("CODE"));u.textContent="Loading…";var l=s.getAttribute("data-src"),c=a.language;if("none"===c){var d=(/\.(\w+)$/.exec(l)||[,"none"])[1];c=e[d]||d}t.util.setLanguage(u,c),t.util.setLanguage(s,c);var f=t.plugins.autoloader;f&&f.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)}(l,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],l=null==n[1]?i.length:n[1];a<0&&(a+=i.length),a=Math.max(0,Math.min(a-1,i.length)),l<0&&(l+=i.length),l=Math.max(0,Math.min(l,i.length)),e=i.slice(a,l).join("\n"),s.hasAttribute("data-start")||s.setAttribute("data-start",String(a+1))}u.textContent=e,t.highlightElement(u)},function(e){s.setAttribute(r,"failed"),u.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)}}}()}(oT)),oT.exports),aT=w(iT);!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 u=a(o);n<t.length-1&&("string"==typeof t[n+1]||"plain-text"===t[n+1].type)&&(u+=a(t[n+1]),t.splice(n+1,1)),n>0&&("string"==typeof t[n-1]||"plain-text"===t[n-1].type)&&(u=a(t[n-1])+u,t.splice(n-1,1),n--),t[n]=new e.Token("plain-text",u,null,u)}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 sT;sT||(sT=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 uT;uT||(uT=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 lT;lT||(lT=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 cT;cT||(cT=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 dT;dT||(dT=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 fT;fT||(fT=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 u(e){return"\\b(?:"+e.trim().replace(/ /g,"|")+")\\b"}var l=u(i),c=RegExp(u(o+" "+i+" "+a+" "+s)),d=u(i+" "+a+" "+s),f=u(o+" "+i+" "+s),h=n(/<(?:[^<>;=+\-*/%&|^]|<<self>>)*>/.source,2),p=n(/\((?:[^()]|<<self>>)*\)/.source,2),g=/@?\b[A-Za-z_]\w*\b/.source,m=t(/<<0>>(?:\s*<<1>>)?/.source,[g,h]),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,[h,p,y]),E=t(/\(<<0>>+(?:,<<0>>+)+\)/.source,[w]),x=t(/(?:<<0>>|<<1>>)(?:\s*(?:\?\s*)?<<2>>)*(?:\s*\?)?/.source,[E,v,y]),S={keyword:c,punctuation:/[<>()?,.:[\]]/},C=/'(?:[^\r\n'\\]|\\.|\\[Uux][\da-fA-F]{1,8})'/.source,A=/"(?:\\.|[^\\"\r\n])*"/.source,D=/@"(?:""|\\[\s\S]|[^\\"])*"(?!")/.source;e.languages.csharp=e.languages.extend("clike",{string:[{pattern:r(/(^|[^$\\])<<0>>/.source,[D]),lookbehind:!0,greedy:!0},{pattern:r(/(^|[^@$\\])<<0>>/.source,[A]),lookbehind:!0,greedy:!0}],"class-name":[{pattern:r(/(\busing\s+static\s+)<<0>>(?=\s*;)/.source,[v]),lookbehind:!0,inside:S},{pattern:r(/(\busing\s+<<0>>\s*=\s*)<<1>>(?=\s*;)/.source,[g,x]),lookbehind:!0,inside:S},{pattern:r(/(\busing\s+)<<0>>(?=\s*=)/.source,[g]),lookbehind:!0},{pattern:r(/(\b<<0>>\s+)<<1>>/.source,[l,m]),lookbehind:!0,inside:S},{pattern:r(/(\bcatch\s*\(\s*)<<0>>/.source,[v]),lookbehind:!0,inside:S},{pattern:r(/(\bwhere\s+)<<0>>/.source,[g]),lookbehind:!0},{pattern:r(/(\b(?:is(?:\s+not)?|as)\s+)<<0>>/.source,[b]),lookbehind:!0,inside:S},{pattern:r(/\b<<0>>(?=\s+(?!<<1>>|with\s*\{)<<2>>(?:\s*[=,;:{)\]]|\s+(?:in|when)\b))/.source,[x,f,g]),inside:S}],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,[p]),lookbehind:!0,alias:"class-name",inside:S},"return-type":{pattern:r(/<<0>>(?=\s+(?:<<1>>\s*(?:=>|[({]|\.\s*this\s*\[)|this\s*\[))/.source,[x,v]),inside:S,alias:"class-name"},"constructor-invocation":{pattern:r(/(\bnew\s+)<<0>>(?=\s*[[({])/.source,[x]),lookbehind:!0,inside:S,alias:"class-name"},"generic-method":{pattern:r(/<<0>>\s*<<1>>(?=\s*\()/.source,[g,h]),inside:{function:r(/^<<0>>/.source,[g]),generic:{pattern:RegExp(h),alias:"class-name",inside:S}}},"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,[l,m,g,x,c.source,p,/\bnew\s*\(\s*\)/.source]),lookbehind:!0,inside:{"record-arguments":{pattern:r(/(^(?!new\s*\()<<0>>\s*)<<1>>/.source,[m,p]),lookbehind:!0,greedy:!0,inside:e.languages.csharp},keyword:c,"class-name":{pattern:RegExp(x),greedy:!0,inside:S},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 T=A+"|"+C,k=t(/\/(?![*/])|\/\/[^\r\n]*[\r\n]|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>/.source,[T]),O=n(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[k]),2),N=/\b(?:assembly|event|field|method|module|param|property|return|type)\b/.source,B=t(/<<0>>(?:\s*\(<<1>>*\))?/.source,[v,O]);e.languages.insertBefore("csharp","class-name",{attribute:{pattern:r(/((?:^|[^\s\w>)?])\s*\[\s*)(?:<<0>>\s*:\s*)?<<1>>(?:\s*,\s*<<1>>)*(?=\s*\])/.source,[N,B]),lookbehind:!0,greedy:!0,inside:{target:{pattern:r(/^<<0>>(?=\s*:)/.source,[N]),alias:"keyword"},"attribute-arguments":{pattern:r(/\(<<0>>*\)/.source,[O]),inside:e.languages.csharp},"class-name":{pattern:RegExp(v),inside:{punctuation:/\./}},punctuation:/[:,]/}}});var F=/:[^}\r\n]+/.source,M=n(t(/[^"'/()]|<<0>>|\(<<self>>*\)/.source,[k]),2),I=t(/\{(?!\{)(?:(?![}:])<<0>>)*<<1>>?\}/.source,[M,F]),P=n(t(/[^"'/()]|\/(?!\*)|\/\*(?:[^*]|\*(?!\/))*\*\/|<<0>>|\(<<self>>*\)/.source,[T]),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(C),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 hT;hT||(hT=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"),u="language-"+(s=(/[a-z][\w-]*/i.exec(s)||[""])[0].toLowerCase());a.alias?"string"==typeof a.alias?a.alias=[a.alias,u]:a.alias.push(u):a.alias=[u]}}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],l=/language-(.+)/.exec(i);if(l){r=l[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)),u(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:'"'},u=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 pT=["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 gT(e){return"string"==typeof e?e.length:"string"==typeof e.content?e.content.length:e.content.reduce(function(e,t){return e+gT(t)},0)}var mT=function(e){var t,r,n,o=Ch(e,2),i=o[0],a=o[1],s=[],u=function(e){if(!ph.Text.isText(e))return null;var t=wm.getParentNode(null,e);if(t&&"code"===wm.getNodeType(t)){var r=wm.getParentNode(null,t);if(r&&"pre"===wm.getNodeType(r))return t}return null}(i);if(null==u)return s;var l=u.language,c=void 0===l?"":l;if(!c)return s;var d=function(e,t){if(!t)return[];var r=aT.languages[t];return r?aT.tokenize(e.text,r):[]}(i,c),f=0;try{for(var h=Sh(d),p=h.next();!p.done;p=h.next()){var g=p.value,m=f+gT(g);"string"!=typeof g&&s.push(((n={})[g.type]=!0,n.anchor={path:a,offset:f},n.focus={path:a,offset:m},n)),f=m}}catch(e){t={error:e}}finally{try{p&&!p.done&&(r=h.return)&&r.call(h)}finally{if(t)throw t.error}}return s};var vT={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 yT=function(){function e(){this.title=_y("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(!ph.Element.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()};ph.Transforms.setNodes(e,r,{match:function(e){return wm.checkNodeType(e,"code")}})}},e.prototype.getSelectCodeElem=function(e){var t=wm.getSelectedNodeByType(e,"code");if(null==t)return null;var r=wm.getParentNode(e,t);return ph.Element.isElement(r)?"pre"!==r.type?null:t:null},e}(),bT={key:"codeSelectLang",factory:function(){return new yT},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"}]}};$p&&(_p.fn.attr=$p);var wT={renderStyle:function(e,t){var r=e,n=t,o="";return pT.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=_p(e);if(!ph.Element.isElement(t))return t;if("code"!==wm.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:[bT],elemsToHtml:[vT]};Ry("en",{listModule:{unOrderedList:"Unordered list",orderedList:"Ordered list"}}),Ry("zh-CN",{listModule:{unOrderedList:"无序列表",orderedList:"有序列表"}});var ET=new WeakMap;function xT(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];ph.Text.isText(i)&&(t=i)}return null==t?"":t.color||""}function ST(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=wm.findPath(e,t);;){if(0===a.length||0===a[a.length-1])return null;a=ph.Path.previous(a);var s=ph.Editor.node(e,a);if(!s)return null;var u=Ch(s,1)[0],l=u.level,c=void 0===l?0:l;if(wm.getNodeType(u)!==n)return null;if(c===i)return u}}function CT(e,t,r){var n=ST(e,t,r);return!!n&&n.ordered===t.ordered}var AT=[];var DT={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=ET.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,u=wm.findPath(t,e);if(0===u[0])return s+1;var l=ph.Path.previous(u),c=ph.Editor.node(t,l);if(!c)return 0;var d=Ch(c,1)[0];if(wm.getNodeType(d)!==n)return s+1;var f=d,h=f.ordered,p=void 0!==h&&h,g=f.level,m=void 0===g?0:g;return m<s?s-m:m>s?CT(t,e)?0:1:m===s?p===i?0:1:0}(e);if(a>0)for(var s=0;s<a;s+=1)r+="<".concat(i,">"),AT.push(i);var u=function(e){var t=ET.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,u=wm.findPath(t,e);if(u[0]===t.children.length-1)return s+1;var l=ph.Path.next(u),c=ph.Editor.node(t,l);if(!c)return 0;var d=Ch(c,1)[0];if(wm.getNodeType(d)!==n)return s+1;var f=d,h=f.ordered,p=void 0!==h&&h,g=f.level,m=void 0===g?0:g;return m<s?CT(t,d)?s-m:s-m+1:m>s?0:m===s?p===i?0:1:0}(e);if(u>0)for(s=0;s<u;s+=1){var l=AT.pop();n+="</".concat(l,">")}var c=xT(e),d=c?' style="color:'.concat(c,'"'):"";return{html:"<li".concat(d,">").concat(t,"</li>"),prefix:r,suffix:n}}},TT=function(){function e(){this.type="list-item",this.tag="button"}return e.prototype.getListNode=function(e){var t=this.type;return wm.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||!!wm.getSelectedElems(e).some(function(t){if(ph.Editor.isVoid(e,t)&&ph.Editor.isBlock(e,t))return!0;var r=t.type;return!!["pre","code","table"].includes(r)})},e.prototype.exec=function(e,t){this.isActive(e)?ph.Transforms.setNodes(e,{type:"paragraph",ordered:void 0,level:void 0}):ph.Transforms.setNodes(e,{type:"list-item",ordered:this.ordered,indent:void 0})},e}(),kT=function(e){function t(){var t=e.apply(this,Ah([],Ch(arguments),!1))||this;return t.ordered=!1,t.title=_y("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 bh(t,e),t}(TT),OT=function(e){function t(){var t=e.apply(this,Ah([],Ch(arguments),!1))||this;return t.ordered=!0,t.title=_y("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 bh(t,e),t}(TT),NT={key:"bulletedList",factory:function(){return new kT}},BT={key:"numberedList",factory:function(){return new OT}};function FT(e){return e.length?e[0].tagName.toLowerCase():""}ag&&(_p.fn.append=ag),$p&&(_p.fn.attr=$p),ug&&(_p.fn.parent=ug);var MT={selector:"li:not([data-w-e-type])",parseElemHtml:function(e,t,r){var n=_p(e);0===(t=t.filter(function(e){return!!ph.Text.isText(e)||!!r.isInline(e)})).length&&(t=[{text:n.text().replace(/\s+/gm," ")}]);var o=function(e){return"ol"===FT(e.parent())}(n),i=function(e){for(var t=0,r=e.parent(),n=FT(r);"ul"===n||"ol"===n;)n=FT(r=r.parent()),t+=1;return t-1}(n);return{type:"list-item",ordered:o,level:i,children:t}}};var IT={selector:"ul:not([data-w-e-type]),ol:not([data-w-e-type])",parseElemHtml:function(e,t,r){return t.flat(1/0)}};function PT(e){return ph.Editor.nodes(e,{at:e.selection||void 0,match:function(t){return 1===wm.findPath(e,t).length}})}var RT={type:"list-item",renderElem:function(e,t,r){ET.set(e,r);var n=e,o=n.level,i=void 0===o?0:o,a=n.ordered,s=void 0!==a&&a,u={margin:"5px 0 5px ".concat(20*i,"px"),display:"flex",alignItems:"flex-start"},l="";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,u=1,l=t,c=wm.findPath(e,l);if(0===c[0])return 1;for(;c[0]>0;){var d=ph.Path.previous(c),f=ph.Editor.node(e,d);if(null==f)break;var h=f[0],p=h.level,g=void 0===p?0:p,m=h.type,v=h.ordered;if(m!==n)break;if(g<i)break;if(g===i){if(v!==s)break;u+=1}l=h,c=d}return u}(r,e);l="".concat(c,".")}else l=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 pw("div",{style:u},pw("span",{contentEditable:!1,style:{marginRight:"0.5em",color:xT(e)},"data-w-e-reserve":!0},l),pw("span",{style:{flex:"1",wordBreak:"break-word"}},t))}},LT={renderElems:[RT],editorPlugin:function(e){var t=e.deleteBackward,r=e.handleTab,n=e.normalizeNode,o=e.insertBreak,i=e;return i.insertBreak=function(){var t=Ch(ph.Editor.nodes(e,{match:function(e){return wm.checkNodeType(e,"list-item")},universal:!0}),1),r=t[0];return r?""!==r[0].children[0].text?o():void ph.Transforms.setNodes(i,{type:"paragraph",ordered:void 0,level:void 0}):o()},i.deleteBackward=function(r){var n=i.selection;if(null!=n)if(ph.Range.isExpanded(n))t(r);else{var o=wm.getSelectedNodeByType(i,"list-item");if(null!=o)if(0!==n.focus.offset)t(r);else{var a=o,s=a.level,u=void 0===s?0:s,l=a.ordered,c=void 0!==l&&l;if(u>0){var d=ST(e,o,u-1);d&&d.ordered!==c?ph.Transforms.setNodes(i,{level:u-1,ordered:!c}):ph.Transforms.setNodes(i,{level:u-1})}else ph.Transforms.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(ph.Range.isCollapsed(a)){var s=wm.getSelectedNodeByType(i,"list-item");if(null==s)return void r();if(0===a.focus.offset){var u=s.level,l=void 0===u?0:u;return void ph.Transforms.setNodes(i,{level:l+1})}}if(ph.Range.isExpanded(a)){var c=0,d=!1;try{for(var f=Sh(PT(i)),h=f.next();!h.done;h=f.next()){var p=Ch(h.value,1)[0];"list-item"===wm.getNodeType(p)?c+=1:d=!0}}catch(t){e={error:t}}finally{try{h&&!h.done&&(t=f.return)&&t.call(f)}finally{if(e)throw e.error}}if(d||c<=1)return void r();try{for(var g=Sh(PT(i)),m=g.next();!m.done;m=g.next()){var v=Ch(m.value,2),y=(p=v[0],v[1]),b=p.level;l=void 0===b?0:b;ph.Transforms.setNodes(i,{level:l+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=Ch(e,2),r=t[0],o=t[1],a=wm.getNodeType(r);return"bulleted-list"!==a&&"numbered-list"!==a||ph.Transforms.unwrapNodes(i,{at:o}),n([r,o])},i},menus:[NT,BT],elemsToHtml:[DT],parseElemsHtml:[IT,MT]};!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 _T{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 _T(e.loc.lexer,e.loc.start,t.loc.end):null:e&&e.loc}}class zT{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 zT(t,_T.range(this,e))}}class jT{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 u=new Error(o);return u.name="ParseError",u.__proto__=jT.prototype,u.position=r,null!=r&&null!=n&&(u.length=n-r),u.rawMessage=e,u}}jT.prototype.__proto__=Error.prototype;var HT=/([A-Z])/g,$T={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},UT=/[&><"']/g;var VT=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},qT={deflt:function(e,t){return void 0===e?t:e},escape:function(e){return String(e).replace(UT,e=>$T[e])},hyphenate:function(e){return e.replace(HT,"-$1").toLowerCase()},getBaseElem:VT,isCharacterBox:function(e){var t=VT(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"}},GT={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 WT(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 YT{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||{},GT)if(GT.hasOwnProperty(t)){var r=GT[t];this[t]=void 0!==e[t]?r.processor?r.processor(e[t]):e[t]:WT(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 jT("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=qT.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 KT{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 XT[ZT[this.id]]}sub(){return XT[JT[this.id]]}fracNum(){return XT[QT[this.id]]}fracDen(){return XT[ek[this.id]]}cramp(){return XT[tk[this.id]]}text(){return XT[rk[this.id]]}isTight(){return this.size>=2}}var XT=[new KT(0,0,!1),new KT(1,0,!0),new KT(2,1,!1),new KT(3,1,!0),new KT(4,2,!1),new KT(5,2,!0),new KT(6,3,!1),new KT(7,3,!0)],ZT=[4,5,4,5,6,7,6,7],JT=[5,5,5,5,7,7,7,7],QT=[2,3,4,5,6,7,6,7],ek=[3,3,5,5,7,7,7,7],tk=[1,1,3,3,5,5,7,7],rk=[0,1,2,3,2,3,2,3],nk={DISPLAY:XT[0],TEXT:XT[2],SCRIPT:XT[4],SCRIPTSCRIPT:XT[6]},ok=[{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 ik=[];function ak(e){for(var t=0;t<ik.length;t+=2)if(e>=ik[t]&&e<=ik[t+1])return!0;return!1}ok.forEach(e=>e.blocks.forEach(e=>ik.push(...e)));var sk=80,uk={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 lk{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 ck={"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]}},dk={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]},fk={"Å":"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 hk(e,t,r){if(!ck[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),o=ck[t][n];if(!o&&e[0]in fk&&(n=fk[e[0]].charCodeAt(0),o=ck[t][n]),o||"text"!==r||ak(n)&&(o=ck[t][77]),o)return{depth:o[0],height:o[1],italic:o[2],skew:o[3],width:o[4]}}var pk={};var gk=[[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]],mk=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],vk=function(e,t){return t.size<2?e:gk[e-1][t.size-1]};class yk{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||yk.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=mk[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 yk(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:vk(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:mk[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=vk(yk.BASESIZE,e);return this.size===t&&this.textSize===yk.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!==yk.BASESIZE?["sizing","reset-size"+this.size,"size"+yk.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=function(e){var t;if(!pk[t=e>=5?0:e>=3?1:2]){var r=pk[t]={cssEmPerMu:dk.quad[t]/18};for(var n in dk)dk.hasOwnProperty(n)&&(r[n]=dk[n][t])}return pk[t]}(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}yk.BASESIZE=6;var bk={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},wk={ex:!0,em:!0,mu:!0},Ek=function(e){return"string"!=typeof e&&(e=e.unit),e in bk||e in wk||"ex"===e},xk=function(e,t){var r;if(e.unit in bk)r=bk[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 jT("Invalid unit: '"+e.unit+"'");r=n.fontMetrics().quad}n!==t&&(r*=n.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*r,t.maxSize)},Sk=function(e){return+e.toFixed(4)+"em"},Ck=function(e){return e.filter(e=>e).join(" ")},Ak=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)}},Dk=function(e){var t=document.createElement(e);for(var r in t.className=Ck(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},Tk=/[\s"'>/=\x00-\x1f]/,kk=function(e){var t="<"+e;this.classes.length&&(t+=' class="'+qT.escape(Ck(this.classes))+'"');var r="";for(var n in this.style)this.style.hasOwnProperty(n)&&(r+=qT.hyphenate(n)+":"+this.style[n]+";");for(var o in r&&(t+=' style="'+qT.escape(r)+'"'),this.attributes)if(this.attributes.hasOwnProperty(o)){if(Tk.test(o))throw new jT("Invalid attribute name '"+o+"'");t+=" "+o+'="'+qT.escape(this.attributes[o])+'"'}t+=">";for(var i=0;i<this.children.length;i++)t+=this.children[i].toMarkup();return t+="</"+e+">"};class Ok{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,Ak.call(this,e,r,n),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return Dk.call(this,"span")}toMarkup(){return kk.call(this,"span")}}class Nk{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,Ak.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 Dk.call(this,"a")}toMarkup(){return kk.call(this,"a")}}class Bk{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="'+qT.escape(this.src)+'" alt="'+qT.escape(this.alt)+'"',t="";for(var r in this.style)this.style.hasOwnProperty(r)&&(t+=qT.hyphenate(r)+":"+this.style[r]+";");return t&&(e+=' style="'+qT.escape(t)+'"'),e+="'/>"}}var Fk={"î":"ı̂","ï":"ı̈","í":"ı́","ì":"ı̀"};class Mk{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 u=function(e){for(var t=0;t<ok.length;t++)for(var r=ok[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));u&&this.classes.push(u+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Fk[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=Sk(this.italic)),this.classes.length>0&&((t=t||document.createElement("span")).className=Ck(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+=qT.escape(Ck(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+=qT.hyphenate(n)+":"+this.style[n]+";");r&&(e=!0,t+=' style="'+qT.escape(r)+'"');var o=qT.escape(this.text);return e?(t+=">",t+=o,t+="</span>"):o}}class Ik{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+'="'+qT.escape(this.attributes[t])+'"');e+=">";for(var r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e+="</svg>"}}class Pk{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",uk[this.pathName]),e}toMarkup(){return this.alternate?'<path d="'+qT.escape(this.alternate)+'"/>':'<path d="'+qT.escape(uk[this.pathName])+'"/>'}}class Rk{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+'="'+qT.escape(this.attributes[t])+'"');return e+="/>"}}function Lk(e){if(e instanceof Mk)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}var _k={bin:1,close:1,inner:1,open:1,punct:1,rel:1},zk={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},jk={math:{},text:{}};function Hk(e,t,r,n,o,i){jk[e][o]={font:t,group:r,replace:n},i&&n&&(jk[e][n]=jk[e][o])}var $k="math",Uk="text",Vk="main",qk="ams",Gk="accent-token",Wk="bin",Yk="close",Kk="inner",Xk="mathord",Zk="op-token",Jk="open",Qk="punct",eO="rel",tO="spacing",rO="textord";Hk($k,Vk,eO,"≡","\\equiv",!0),Hk($k,Vk,eO,"≺","\\prec",!0),Hk($k,Vk,eO,"≻","\\succ",!0),Hk($k,Vk,eO,"∼","\\sim",!0),Hk($k,Vk,eO,"⊥","\\perp"),Hk($k,Vk,eO,"⪯","\\preceq",!0),Hk($k,Vk,eO,"⪰","\\succeq",!0),Hk($k,Vk,eO,"≃","\\simeq",!0),Hk($k,Vk,eO,"∣","\\mid",!0),Hk($k,Vk,eO,"≪","\\ll",!0),Hk($k,Vk,eO,"≫","\\gg",!0),Hk($k,Vk,eO,"≍","\\asymp",!0),Hk($k,Vk,eO,"∥","\\parallel"),Hk($k,Vk,eO,"⋈","\\bowtie",!0),Hk($k,Vk,eO,"⌣","\\smile",!0),Hk($k,Vk,eO,"⊑","\\sqsubseteq",!0),Hk($k,Vk,eO,"⊒","\\sqsupseteq",!0),Hk($k,Vk,eO,"≐","\\doteq",!0),Hk($k,Vk,eO,"⌢","\\frown",!0),Hk($k,Vk,eO,"∋","\\ni",!0),Hk($k,Vk,eO,"∝","\\propto",!0),Hk($k,Vk,eO,"⊢","\\vdash",!0),Hk($k,Vk,eO,"⊣","\\dashv",!0),Hk($k,Vk,eO,"∋","\\owns"),Hk($k,Vk,Qk,".","\\ldotp"),Hk($k,Vk,Qk,"⋅","\\cdotp"),Hk($k,Vk,rO,"#","\\#"),Hk(Uk,Vk,rO,"#","\\#"),Hk($k,Vk,rO,"&","\\&"),Hk(Uk,Vk,rO,"&","\\&"),Hk($k,Vk,rO,"ℵ","\\aleph",!0),Hk($k,Vk,rO,"∀","\\forall",!0),Hk($k,Vk,rO,"ℏ","\\hbar",!0),Hk($k,Vk,rO,"∃","\\exists",!0),Hk($k,Vk,rO,"∇","\\nabla",!0),Hk($k,Vk,rO,"♭","\\flat",!0),Hk($k,Vk,rO,"ℓ","\\ell",!0),Hk($k,Vk,rO,"♮","\\natural",!0),Hk($k,Vk,rO,"♣","\\clubsuit",!0),Hk($k,Vk,rO,"℘","\\wp",!0),Hk($k,Vk,rO,"♯","\\sharp",!0),Hk($k,Vk,rO,"♢","\\diamondsuit",!0),Hk($k,Vk,rO,"ℜ","\\Re",!0),Hk($k,Vk,rO,"♡","\\heartsuit",!0),Hk($k,Vk,rO,"ℑ","\\Im",!0),Hk($k,Vk,rO,"♠","\\spadesuit",!0),Hk($k,Vk,rO,"§","\\S",!0),Hk(Uk,Vk,rO,"§","\\S"),Hk($k,Vk,rO,"¶","\\P",!0),Hk(Uk,Vk,rO,"¶","\\P"),Hk($k,Vk,rO,"†","\\dag"),Hk(Uk,Vk,rO,"†","\\dag"),Hk(Uk,Vk,rO,"†","\\textdagger"),Hk($k,Vk,rO,"‡","\\ddag"),Hk(Uk,Vk,rO,"‡","\\ddag"),Hk(Uk,Vk,rO,"‡","\\textdaggerdbl"),Hk($k,Vk,Yk,"⎱","\\rmoustache",!0),Hk($k,Vk,Jk,"⎰","\\lmoustache",!0),Hk($k,Vk,Yk,"⟯","\\rgroup",!0),Hk($k,Vk,Jk,"⟮","\\lgroup",!0),Hk($k,Vk,Wk,"∓","\\mp",!0),Hk($k,Vk,Wk,"⊖","\\ominus",!0),Hk($k,Vk,Wk,"⊎","\\uplus",!0),Hk($k,Vk,Wk,"⊓","\\sqcap",!0),Hk($k,Vk,Wk,"∗","\\ast"),Hk($k,Vk,Wk,"⊔","\\sqcup",!0),Hk($k,Vk,Wk,"◯","\\bigcirc",!0),Hk($k,Vk,Wk,"∙","\\bullet",!0),Hk($k,Vk,Wk,"‡","\\ddagger"),Hk($k,Vk,Wk,"≀","\\wr",!0),Hk($k,Vk,Wk,"⨿","\\amalg"),Hk($k,Vk,Wk,"&","\\And"),Hk($k,Vk,eO,"⟵","\\longleftarrow",!0),Hk($k,Vk,eO,"⇐","\\Leftarrow",!0),Hk($k,Vk,eO,"⟸","\\Longleftarrow",!0),Hk($k,Vk,eO,"⟶","\\longrightarrow",!0),Hk($k,Vk,eO,"⇒","\\Rightarrow",!0),Hk($k,Vk,eO,"⟹","\\Longrightarrow",!0),Hk($k,Vk,eO,"↔","\\leftrightarrow",!0),Hk($k,Vk,eO,"⟷","\\longleftrightarrow",!0),Hk($k,Vk,eO,"⇔","\\Leftrightarrow",!0),Hk($k,Vk,eO,"⟺","\\Longleftrightarrow",!0),Hk($k,Vk,eO,"↦","\\mapsto",!0),Hk($k,Vk,eO,"⟼","\\longmapsto",!0),Hk($k,Vk,eO,"↗","\\nearrow",!0),Hk($k,Vk,eO,"↩","\\hookleftarrow",!0),Hk($k,Vk,eO,"↪","\\hookrightarrow",!0),Hk($k,Vk,eO,"↘","\\searrow",!0),Hk($k,Vk,eO,"↼","\\leftharpoonup",!0),Hk($k,Vk,eO,"⇀","\\rightharpoonup",!0),Hk($k,Vk,eO,"↙","\\swarrow",!0),Hk($k,Vk,eO,"↽","\\leftharpoondown",!0),Hk($k,Vk,eO,"⇁","\\rightharpoondown",!0),Hk($k,Vk,eO,"↖","\\nwarrow",!0),Hk($k,Vk,eO,"⇌","\\rightleftharpoons",!0),Hk($k,qk,eO,"≮","\\nless",!0),Hk($k,qk,eO,"","\\@nleqslant"),Hk($k,qk,eO,"","\\@nleqq"),Hk($k,qk,eO,"⪇","\\lneq",!0),Hk($k,qk,eO,"≨","\\lneqq",!0),Hk($k,qk,eO,"","\\@lvertneqq"),Hk($k,qk,eO,"⋦","\\lnsim",!0),Hk($k,qk,eO,"⪉","\\lnapprox",!0),Hk($k,qk,eO,"⊀","\\nprec",!0),Hk($k,qk,eO,"⋠","\\npreceq",!0),Hk($k,qk,eO,"⋨","\\precnsim",!0),Hk($k,qk,eO,"⪹","\\precnapprox",!0),Hk($k,qk,eO,"≁","\\nsim",!0),Hk($k,qk,eO,"","\\@nshortmid"),Hk($k,qk,eO,"∤","\\nmid",!0),Hk($k,qk,eO,"⊬","\\nvdash",!0),Hk($k,qk,eO,"⊭","\\nvDash",!0),Hk($k,qk,eO,"⋪","\\ntriangleleft"),Hk($k,qk,eO,"⋬","\\ntrianglelefteq",!0),Hk($k,qk,eO,"⊊","\\subsetneq",!0),Hk($k,qk,eO,"","\\@varsubsetneq"),Hk($k,qk,eO,"⫋","\\subsetneqq",!0),Hk($k,qk,eO,"","\\@varsubsetneqq"),Hk($k,qk,eO,"≯","\\ngtr",!0),Hk($k,qk,eO,"","\\@ngeqslant"),Hk($k,qk,eO,"","\\@ngeqq"),Hk($k,qk,eO,"⪈","\\gneq",!0),Hk($k,qk,eO,"≩","\\gneqq",!0),Hk($k,qk,eO,"","\\@gvertneqq"),Hk($k,qk,eO,"⋧","\\gnsim",!0),Hk($k,qk,eO,"⪊","\\gnapprox",!0),Hk($k,qk,eO,"⊁","\\nsucc",!0),Hk($k,qk,eO,"⋡","\\nsucceq",!0),Hk($k,qk,eO,"⋩","\\succnsim",!0),Hk($k,qk,eO,"⪺","\\succnapprox",!0),Hk($k,qk,eO,"≆","\\ncong",!0),Hk($k,qk,eO,"","\\@nshortparallel"),Hk($k,qk,eO,"∦","\\nparallel",!0),Hk($k,qk,eO,"⊯","\\nVDash",!0),Hk($k,qk,eO,"⋫","\\ntriangleright"),Hk($k,qk,eO,"⋭","\\ntrianglerighteq",!0),Hk($k,qk,eO,"","\\@nsupseteqq"),Hk($k,qk,eO,"⊋","\\supsetneq",!0),Hk($k,qk,eO,"","\\@varsupsetneq"),Hk($k,qk,eO,"⫌","\\supsetneqq",!0),Hk($k,qk,eO,"","\\@varsupsetneqq"),Hk($k,qk,eO,"⊮","\\nVdash",!0),Hk($k,qk,eO,"⪵","\\precneqq",!0),Hk($k,qk,eO,"⪶","\\succneqq",!0),Hk($k,qk,eO,"","\\@nsubseteqq"),Hk($k,qk,Wk,"⊴","\\unlhd"),Hk($k,qk,Wk,"⊵","\\unrhd"),Hk($k,qk,eO,"↚","\\nleftarrow",!0),Hk($k,qk,eO,"↛","\\nrightarrow",!0),Hk($k,qk,eO,"⇍","\\nLeftarrow",!0),Hk($k,qk,eO,"⇏","\\nRightarrow",!0),Hk($k,qk,eO,"↮","\\nleftrightarrow",!0),Hk($k,qk,eO,"⇎","\\nLeftrightarrow",!0),Hk($k,qk,eO,"△","\\vartriangle"),Hk($k,qk,rO,"ℏ","\\hslash"),Hk($k,qk,rO,"▽","\\triangledown"),Hk($k,qk,rO,"◊","\\lozenge"),Hk($k,qk,rO,"Ⓢ","\\circledS"),Hk($k,qk,rO,"®","\\circledR"),Hk(Uk,qk,rO,"®","\\circledR"),Hk($k,qk,rO,"∡","\\measuredangle",!0),Hk($k,qk,rO,"∄","\\nexists"),Hk($k,qk,rO,"℧","\\mho"),Hk($k,qk,rO,"Ⅎ","\\Finv",!0),Hk($k,qk,rO,"⅁","\\Game",!0),Hk($k,qk,rO,"‵","\\backprime"),Hk($k,qk,rO,"▲","\\blacktriangle"),Hk($k,qk,rO,"▼","\\blacktriangledown"),Hk($k,qk,rO,"■","\\blacksquare"),Hk($k,qk,rO,"⧫","\\blacklozenge"),Hk($k,qk,rO,"★","\\bigstar"),Hk($k,qk,rO,"∢","\\sphericalangle",!0),Hk($k,qk,rO,"∁","\\complement",!0),Hk($k,qk,rO,"ð","\\eth",!0),Hk(Uk,Vk,rO,"ð","ð"),Hk($k,qk,rO,"╱","\\diagup"),Hk($k,qk,rO,"╲","\\diagdown"),Hk($k,qk,rO,"□","\\square"),Hk($k,qk,rO,"□","\\Box"),Hk($k,qk,rO,"◊","\\Diamond"),Hk($k,qk,rO,"¥","\\yen",!0),Hk(Uk,qk,rO,"¥","\\yen",!0),Hk($k,qk,rO,"✓","\\checkmark",!0),Hk(Uk,qk,rO,"✓","\\checkmark"),Hk($k,qk,rO,"ℶ","\\beth",!0),Hk($k,qk,rO,"ℸ","\\daleth",!0),Hk($k,qk,rO,"ℷ","\\gimel",!0),Hk($k,qk,rO,"ϝ","\\digamma",!0),Hk($k,qk,rO,"ϰ","\\varkappa"),Hk($k,qk,Jk,"┌","\\@ulcorner",!0),Hk($k,qk,Yk,"┐","\\@urcorner",!0),Hk($k,qk,Jk,"└","\\@llcorner",!0),Hk($k,qk,Yk,"┘","\\@lrcorner",!0),Hk($k,qk,eO,"≦","\\leqq",!0),Hk($k,qk,eO,"⩽","\\leqslant",!0),Hk($k,qk,eO,"⪕","\\eqslantless",!0),Hk($k,qk,eO,"≲","\\lesssim",!0),Hk($k,qk,eO,"⪅","\\lessapprox",!0),Hk($k,qk,eO,"≊","\\approxeq",!0),Hk($k,qk,Wk,"⋖","\\lessdot"),Hk($k,qk,eO,"⋘","\\lll",!0),Hk($k,qk,eO,"≶","\\lessgtr",!0),Hk($k,qk,eO,"⋚","\\lesseqgtr",!0),Hk($k,qk,eO,"⪋","\\lesseqqgtr",!0),Hk($k,qk,eO,"≑","\\doteqdot"),Hk($k,qk,eO,"≓","\\risingdotseq",!0),Hk($k,qk,eO,"≒","\\fallingdotseq",!0),Hk($k,qk,eO,"∽","\\backsim",!0),Hk($k,qk,eO,"⋍","\\backsimeq",!0),Hk($k,qk,eO,"⫅","\\subseteqq",!0),Hk($k,qk,eO,"⋐","\\Subset",!0),Hk($k,qk,eO,"⊏","\\sqsubset",!0),Hk($k,qk,eO,"≼","\\preccurlyeq",!0),Hk($k,qk,eO,"⋞","\\curlyeqprec",!0),Hk($k,qk,eO,"≾","\\precsim",!0),Hk($k,qk,eO,"⪷","\\precapprox",!0),Hk($k,qk,eO,"⊲","\\vartriangleleft"),Hk($k,qk,eO,"⊴","\\trianglelefteq"),Hk($k,qk,eO,"⊨","\\vDash",!0),Hk($k,qk,eO,"⊪","\\Vvdash",!0),Hk($k,qk,eO,"⌣","\\smallsmile"),Hk($k,qk,eO,"⌢","\\smallfrown"),Hk($k,qk,eO,"≏","\\bumpeq",!0),Hk($k,qk,eO,"≎","\\Bumpeq",!0),Hk($k,qk,eO,"≧","\\geqq",!0),Hk($k,qk,eO,"⩾","\\geqslant",!0),Hk($k,qk,eO,"⪖","\\eqslantgtr",!0),Hk($k,qk,eO,"≳","\\gtrsim",!0),Hk($k,qk,eO,"⪆","\\gtrapprox",!0),Hk($k,qk,Wk,"⋗","\\gtrdot"),Hk($k,qk,eO,"⋙","\\ggg",!0),Hk($k,qk,eO,"≷","\\gtrless",!0),Hk($k,qk,eO,"⋛","\\gtreqless",!0),Hk($k,qk,eO,"⪌","\\gtreqqless",!0),Hk($k,qk,eO,"≖","\\eqcirc",!0),Hk($k,qk,eO,"≗","\\circeq",!0),Hk($k,qk,eO,"≜","\\triangleq",!0),Hk($k,qk,eO,"∼","\\thicksim"),Hk($k,qk,eO,"≈","\\thickapprox"),Hk($k,qk,eO,"⫆","\\supseteqq",!0),Hk($k,qk,eO,"⋑","\\Supset",!0),Hk($k,qk,eO,"⊐","\\sqsupset",!0),Hk($k,qk,eO,"≽","\\succcurlyeq",!0),Hk($k,qk,eO,"⋟","\\curlyeqsucc",!0),Hk($k,qk,eO,"≿","\\succsim",!0),Hk($k,qk,eO,"⪸","\\succapprox",!0),Hk($k,qk,eO,"⊳","\\vartriangleright"),Hk($k,qk,eO,"⊵","\\trianglerighteq"),Hk($k,qk,eO,"⊩","\\Vdash",!0),Hk($k,qk,eO,"∣","\\shortmid"),Hk($k,qk,eO,"∥","\\shortparallel"),Hk($k,qk,eO,"≬","\\between",!0),Hk($k,qk,eO,"⋔","\\pitchfork",!0),Hk($k,qk,eO,"∝","\\varpropto"),Hk($k,qk,eO,"◀","\\blacktriangleleft"),Hk($k,qk,eO,"∴","\\therefore",!0),Hk($k,qk,eO,"∍","\\backepsilon"),Hk($k,qk,eO,"▶","\\blacktriangleright"),Hk($k,qk,eO,"∵","\\because",!0),Hk($k,qk,eO,"⋘","\\llless"),Hk($k,qk,eO,"⋙","\\gggtr"),Hk($k,qk,Wk,"⊲","\\lhd"),Hk($k,qk,Wk,"⊳","\\rhd"),Hk($k,qk,eO,"≂","\\eqsim",!0),Hk($k,Vk,eO,"⋈","\\Join"),Hk($k,qk,eO,"≑","\\Doteq",!0),Hk($k,qk,Wk,"∔","\\dotplus",!0),Hk($k,qk,Wk,"∖","\\smallsetminus"),Hk($k,qk,Wk,"⋒","\\Cap",!0),Hk($k,qk,Wk,"⋓","\\Cup",!0),Hk($k,qk,Wk,"⩞","\\doublebarwedge",!0),Hk($k,qk,Wk,"⊟","\\boxminus",!0),Hk($k,qk,Wk,"⊞","\\boxplus",!0),Hk($k,qk,Wk,"⋇","\\divideontimes",!0),Hk($k,qk,Wk,"⋉","\\ltimes",!0),Hk($k,qk,Wk,"⋊","\\rtimes",!0),Hk($k,qk,Wk,"⋋","\\leftthreetimes",!0),Hk($k,qk,Wk,"⋌","\\rightthreetimes",!0),Hk($k,qk,Wk,"⋏","\\curlywedge",!0),Hk($k,qk,Wk,"⋎","\\curlyvee",!0),Hk($k,qk,Wk,"⊝","\\circleddash",!0),Hk($k,qk,Wk,"⊛","\\circledast",!0),Hk($k,qk,Wk,"⋅","\\centerdot"),Hk($k,qk,Wk,"⊺","\\intercal",!0),Hk($k,qk,Wk,"⋒","\\doublecap"),Hk($k,qk,Wk,"⋓","\\doublecup"),Hk($k,qk,Wk,"⊠","\\boxtimes",!0),Hk($k,qk,eO,"⇢","\\dashrightarrow",!0),Hk($k,qk,eO,"⇠","\\dashleftarrow",!0),Hk($k,qk,eO,"⇇","\\leftleftarrows",!0),Hk($k,qk,eO,"⇆","\\leftrightarrows",!0),Hk($k,qk,eO,"⇚","\\Lleftarrow",!0),Hk($k,qk,eO,"↞","\\twoheadleftarrow",!0),Hk($k,qk,eO,"↢","\\leftarrowtail",!0),Hk($k,qk,eO,"↫","\\looparrowleft",!0),Hk($k,qk,eO,"⇋","\\leftrightharpoons",!0),Hk($k,qk,eO,"↶","\\curvearrowleft",!0),Hk($k,qk,eO,"↺","\\circlearrowleft",!0),Hk($k,qk,eO,"↰","\\Lsh",!0),Hk($k,qk,eO,"⇈","\\upuparrows",!0),Hk($k,qk,eO,"↿","\\upharpoonleft",!0),Hk($k,qk,eO,"⇃","\\downharpoonleft",!0),Hk($k,Vk,eO,"⊶","\\origof",!0),Hk($k,Vk,eO,"⊷","\\imageof",!0),Hk($k,qk,eO,"⊸","\\multimap",!0),Hk($k,qk,eO,"↭","\\leftrightsquigarrow",!0),Hk($k,qk,eO,"⇉","\\rightrightarrows",!0),Hk($k,qk,eO,"⇄","\\rightleftarrows",!0),Hk($k,qk,eO,"↠","\\twoheadrightarrow",!0),Hk($k,qk,eO,"↣","\\rightarrowtail",!0),Hk($k,qk,eO,"↬","\\looparrowright",!0),Hk($k,qk,eO,"↷","\\curvearrowright",!0),Hk($k,qk,eO,"↻","\\circlearrowright",!0),Hk($k,qk,eO,"↱","\\Rsh",!0),Hk($k,qk,eO,"⇊","\\downdownarrows",!0),Hk($k,qk,eO,"↾","\\upharpoonright",!0),Hk($k,qk,eO,"⇂","\\downharpoonright",!0),Hk($k,qk,eO,"⇝","\\rightsquigarrow",!0),Hk($k,qk,eO,"⇝","\\leadsto"),Hk($k,qk,eO,"⇛","\\Rrightarrow",!0),Hk($k,qk,eO,"↾","\\restriction"),Hk($k,Vk,rO,"‘","`"),Hk($k,Vk,rO,"$","\\$"),Hk(Uk,Vk,rO,"$","\\$"),Hk(Uk,Vk,rO,"$","\\textdollar"),Hk($k,Vk,rO,"%","\\%"),Hk(Uk,Vk,rO,"%","\\%"),Hk($k,Vk,rO,"_","\\_"),Hk(Uk,Vk,rO,"_","\\_"),Hk(Uk,Vk,rO,"_","\\textunderscore"),Hk($k,Vk,rO,"∠","\\angle",!0),Hk($k,Vk,rO,"∞","\\infty",!0),Hk($k,Vk,rO,"′","\\prime"),Hk($k,Vk,rO,"△","\\triangle"),Hk($k,Vk,rO,"Γ","\\Gamma",!0),Hk($k,Vk,rO,"Δ","\\Delta",!0),Hk($k,Vk,rO,"Θ","\\Theta",!0),Hk($k,Vk,rO,"Λ","\\Lambda",!0),Hk($k,Vk,rO,"Ξ","\\Xi",!0),Hk($k,Vk,rO,"Π","\\Pi",!0),Hk($k,Vk,rO,"Σ","\\Sigma",!0),Hk($k,Vk,rO,"Υ","\\Upsilon",!0),Hk($k,Vk,rO,"Φ","\\Phi",!0),Hk($k,Vk,rO,"Ψ","\\Psi",!0),Hk($k,Vk,rO,"Ω","\\Omega",!0),Hk($k,Vk,rO,"A","Α"),Hk($k,Vk,rO,"B","Β"),Hk($k,Vk,rO,"E","Ε"),Hk($k,Vk,rO,"Z","Ζ"),Hk($k,Vk,rO,"H","Η"),Hk($k,Vk,rO,"I","Ι"),Hk($k,Vk,rO,"K","Κ"),Hk($k,Vk,rO,"M","Μ"),Hk($k,Vk,rO,"N","Ν"),Hk($k,Vk,rO,"O","Ο"),Hk($k,Vk,rO,"P","Ρ"),Hk($k,Vk,rO,"T","Τ"),Hk($k,Vk,rO,"X","Χ"),Hk($k,Vk,rO,"¬","\\neg",!0),Hk($k,Vk,rO,"¬","\\lnot"),Hk($k,Vk,rO,"⊤","\\top"),Hk($k,Vk,rO,"⊥","\\bot"),Hk($k,Vk,rO,"∅","\\emptyset"),Hk($k,qk,rO,"∅","\\varnothing"),Hk($k,Vk,Xk,"α","\\alpha",!0),Hk($k,Vk,Xk,"β","\\beta",!0),Hk($k,Vk,Xk,"γ","\\gamma",!0),Hk($k,Vk,Xk,"δ","\\delta",!0),Hk($k,Vk,Xk,"ϵ","\\epsilon",!0),Hk($k,Vk,Xk,"ζ","\\zeta",!0),Hk($k,Vk,Xk,"η","\\eta",!0),Hk($k,Vk,Xk,"θ","\\theta",!0),Hk($k,Vk,Xk,"ι","\\iota",!0),Hk($k,Vk,Xk,"κ","\\kappa",!0),Hk($k,Vk,Xk,"λ","\\lambda",!0),Hk($k,Vk,Xk,"μ","\\mu",!0),Hk($k,Vk,Xk,"ν","\\nu",!0),Hk($k,Vk,Xk,"ξ","\\xi",!0),Hk($k,Vk,Xk,"ο","\\omicron",!0),Hk($k,Vk,Xk,"π","\\pi",!0),Hk($k,Vk,Xk,"ρ","\\rho",!0),Hk($k,Vk,Xk,"σ","\\sigma",!0),Hk($k,Vk,Xk,"τ","\\tau",!0),Hk($k,Vk,Xk,"υ","\\upsilon",!0),Hk($k,Vk,Xk,"ϕ","\\phi",!0),Hk($k,Vk,Xk,"χ","\\chi",!0),Hk($k,Vk,Xk,"ψ","\\psi",!0),Hk($k,Vk,Xk,"ω","\\omega",!0),Hk($k,Vk,Xk,"ε","\\varepsilon",!0),Hk($k,Vk,Xk,"ϑ","\\vartheta",!0),Hk($k,Vk,Xk,"ϖ","\\varpi",!0),Hk($k,Vk,Xk,"ϱ","\\varrho",!0),Hk($k,Vk,Xk,"ς","\\varsigma",!0),Hk($k,Vk,Xk,"φ","\\varphi",!0),Hk($k,Vk,Wk,"∗","*",!0),Hk($k,Vk,Wk,"+","+"),Hk($k,Vk,Wk,"−","-",!0),Hk($k,Vk,Wk,"⋅","\\cdot",!0),Hk($k,Vk,Wk,"∘","\\circ",!0),Hk($k,Vk,Wk,"÷","\\div",!0),Hk($k,Vk,Wk,"±","\\pm",!0),Hk($k,Vk,Wk,"×","\\times",!0),Hk($k,Vk,Wk,"∩","\\cap",!0),Hk($k,Vk,Wk,"∪","\\cup",!0),Hk($k,Vk,Wk,"∖","\\setminus",!0),Hk($k,Vk,Wk,"∧","\\land"),Hk($k,Vk,Wk,"∨","\\lor"),Hk($k,Vk,Wk,"∧","\\wedge",!0),Hk($k,Vk,Wk,"∨","\\vee",!0),Hk($k,Vk,rO,"√","\\surd"),Hk($k,Vk,Jk,"⟨","\\langle",!0),Hk($k,Vk,Jk,"∣","\\lvert"),Hk($k,Vk,Jk,"∥","\\lVert"),Hk($k,Vk,Yk,"?","?"),Hk($k,Vk,Yk,"!","!"),Hk($k,Vk,Yk,"⟩","\\rangle",!0),Hk($k,Vk,Yk,"∣","\\rvert"),Hk($k,Vk,Yk,"∥","\\rVert"),Hk($k,Vk,eO,"=","="),Hk($k,Vk,eO,":",":"),Hk($k,Vk,eO,"≈","\\approx",!0),Hk($k,Vk,eO,"≅","\\cong",!0),Hk($k,Vk,eO,"≥","\\ge"),Hk($k,Vk,eO,"≥","\\geq",!0),Hk($k,Vk,eO,"←","\\gets"),Hk($k,Vk,eO,">","\\gt",!0),Hk($k,Vk,eO,"∈","\\in",!0),Hk($k,Vk,eO,"","\\@not"),Hk($k,Vk,eO,"⊂","\\subset",!0),Hk($k,Vk,eO,"⊃","\\supset",!0),Hk($k,Vk,eO,"⊆","\\subseteq",!0),Hk($k,Vk,eO,"⊇","\\supseteq",!0),Hk($k,qk,eO,"⊈","\\nsubseteq",!0),Hk($k,qk,eO,"⊉","\\nsupseteq",!0),Hk($k,Vk,eO,"⊨","\\models"),Hk($k,Vk,eO,"←","\\leftarrow",!0),Hk($k,Vk,eO,"≤","\\le"),Hk($k,Vk,eO,"≤","\\leq",!0),Hk($k,Vk,eO,"<","\\lt",!0),Hk($k,Vk,eO,"→","\\rightarrow",!0),Hk($k,Vk,eO,"→","\\to"),Hk($k,qk,eO,"≱","\\ngeq",!0),Hk($k,qk,eO,"≰","\\nleq",!0),Hk($k,Vk,tO," ","\\ "),Hk($k,Vk,tO," ","\\space"),Hk($k,Vk,tO," ","\\nobreakspace"),Hk(Uk,Vk,tO," ","\\ "),Hk(Uk,Vk,tO," "," "),Hk(Uk,Vk,tO," ","\\space"),Hk(Uk,Vk,tO," ","\\nobreakspace"),Hk($k,Vk,tO,null,"\\nobreak"),Hk($k,Vk,tO,null,"\\allowbreak"),Hk($k,Vk,Qk,",",","),Hk($k,Vk,Qk,";",";"),Hk($k,qk,Wk,"⊼","\\barwedge",!0),Hk($k,qk,Wk,"⊻","\\veebar",!0),Hk($k,Vk,Wk,"⊙","\\odot",!0),Hk($k,Vk,Wk,"⊕","\\oplus",!0),Hk($k,Vk,Wk,"⊗","\\otimes",!0),Hk($k,Vk,rO,"∂","\\partial",!0),Hk($k,Vk,Wk,"⊘","\\oslash",!0),Hk($k,qk,Wk,"⊚","\\circledcirc",!0),Hk($k,qk,Wk,"⊡","\\boxdot",!0),Hk($k,Vk,Wk,"△","\\bigtriangleup"),Hk($k,Vk,Wk,"▽","\\bigtriangledown"),Hk($k,Vk,Wk,"†","\\dagger"),Hk($k,Vk,Wk,"⋄","\\diamond"),Hk($k,Vk,Wk,"⋆","\\star"),Hk($k,Vk,Wk,"◃","\\triangleleft"),Hk($k,Vk,Wk,"▹","\\triangleright"),Hk($k,Vk,Jk,"{","\\{"),Hk(Uk,Vk,rO,"{","\\{"),Hk(Uk,Vk,rO,"{","\\textbraceleft"),Hk($k,Vk,Yk,"}","\\}"),Hk(Uk,Vk,rO,"}","\\}"),Hk(Uk,Vk,rO,"}","\\textbraceright"),Hk($k,Vk,Jk,"{","\\lbrace"),Hk($k,Vk,Yk,"}","\\rbrace"),Hk($k,Vk,Jk,"[","\\lbrack",!0),Hk(Uk,Vk,rO,"[","\\lbrack",!0),Hk($k,Vk,Yk,"]","\\rbrack",!0),Hk(Uk,Vk,rO,"]","\\rbrack",!0),Hk($k,Vk,Jk,"(","\\lparen",!0),Hk($k,Vk,Yk,")","\\rparen",!0),Hk(Uk,Vk,rO,"<","\\textless",!0),Hk(Uk,Vk,rO,">","\\textgreater",!0),Hk($k,Vk,Jk,"⌊","\\lfloor",!0),Hk($k,Vk,Yk,"⌋","\\rfloor",!0),Hk($k,Vk,Jk,"⌈","\\lceil",!0),Hk($k,Vk,Yk,"⌉","\\rceil",!0),Hk($k,Vk,rO,"\\","\\backslash"),Hk($k,Vk,rO,"∣","|"),Hk($k,Vk,rO,"∣","\\vert"),Hk(Uk,Vk,rO,"|","\\textbar",!0),Hk($k,Vk,rO,"∥","\\|"),Hk($k,Vk,rO,"∥","\\Vert"),Hk(Uk,Vk,rO,"∥","\\textbardbl"),Hk(Uk,Vk,rO,"~","\\textasciitilde"),Hk(Uk,Vk,rO,"\\","\\textbackslash"),Hk(Uk,Vk,rO,"^","\\textasciicircum"),Hk($k,Vk,eO,"↑","\\uparrow",!0),Hk($k,Vk,eO,"⇑","\\Uparrow",!0),Hk($k,Vk,eO,"↓","\\downarrow",!0),Hk($k,Vk,eO,"⇓","\\Downarrow",!0),Hk($k,Vk,eO,"↕","\\updownarrow",!0),Hk($k,Vk,eO,"⇕","\\Updownarrow",!0),Hk($k,Vk,Zk,"∐","\\coprod"),Hk($k,Vk,Zk,"⋁","\\bigvee"),Hk($k,Vk,Zk,"⋀","\\bigwedge"),Hk($k,Vk,Zk,"⨄","\\biguplus"),Hk($k,Vk,Zk,"⋂","\\bigcap"),Hk($k,Vk,Zk,"⋃","\\bigcup"),Hk($k,Vk,Zk,"∫","\\int"),Hk($k,Vk,Zk,"∫","\\intop"),Hk($k,Vk,Zk,"∬","\\iint"),Hk($k,Vk,Zk,"∭","\\iiint"),Hk($k,Vk,Zk,"∏","\\prod"),Hk($k,Vk,Zk,"∑","\\sum"),Hk($k,Vk,Zk,"⨂","\\bigotimes"),Hk($k,Vk,Zk,"⨁","\\bigoplus"),Hk($k,Vk,Zk,"⨀","\\bigodot"),Hk($k,Vk,Zk,"∮","\\oint"),Hk($k,Vk,Zk,"∯","\\oiint"),Hk($k,Vk,Zk,"∰","\\oiiint"),Hk($k,Vk,Zk,"⨆","\\bigsqcup"),Hk($k,Vk,Zk,"∫","\\smallint"),Hk(Uk,Vk,Kk,"…","\\textellipsis"),Hk($k,Vk,Kk,"…","\\mathellipsis"),Hk(Uk,Vk,Kk,"…","\\ldots",!0),Hk($k,Vk,Kk,"…","\\ldots",!0),Hk($k,Vk,Kk,"⋯","\\@cdots",!0),Hk($k,Vk,Kk,"⋱","\\ddots",!0),Hk($k,Vk,rO,"⋮","\\varvdots"),Hk(Uk,Vk,rO,"⋮","\\varvdots"),Hk($k,Vk,Gk,"ˊ","\\acute"),Hk($k,Vk,Gk,"ˋ","\\grave"),Hk($k,Vk,Gk,"¨","\\ddot"),Hk($k,Vk,Gk,"~","\\tilde"),Hk($k,Vk,Gk,"ˉ","\\bar"),Hk($k,Vk,Gk,"˘","\\breve"),Hk($k,Vk,Gk,"ˇ","\\check"),Hk($k,Vk,Gk,"^","\\hat"),Hk($k,Vk,Gk,"⃗","\\vec"),Hk($k,Vk,Gk,"˙","\\dot"),Hk($k,Vk,Gk,"˚","\\mathring"),Hk($k,Vk,Xk,"","\\@imath"),Hk($k,Vk,Xk,"","\\@jmath"),Hk($k,Vk,rO,"ı","ı"),Hk($k,Vk,rO,"ȷ","ȷ"),Hk(Uk,Vk,rO,"ı","\\i",!0),Hk(Uk,Vk,rO,"ȷ","\\j",!0),Hk(Uk,Vk,rO,"ß","\\ss",!0),Hk(Uk,Vk,rO,"æ","\\ae",!0),Hk(Uk,Vk,rO,"œ","\\oe",!0),Hk(Uk,Vk,rO,"ø","\\o",!0),Hk(Uk,Vk,rO,"Æ","\\AE",!0),Hk(Uk,Vk,rO,"Œ","\\OE",!0),Hk(Uk,Vk,rO,"Ø","\\O",!0),Hk(Uk,Vk,Gk,"ˊ","\\'"),Hk(Uk,Vk,Gk,"ˋ","\\`"),Hk(Uk,Vk,Gk,"ˆ","\\^"),Hk(Uk,Vk,Gk,"˜","\\~"),Hk(Uk,Vk,Gk,"ˉ","\\="),Hk(Uk,Vk,Gk,"˘","\\u"),Hk(Uk,Vk,Gk,"˙","\\."),Hk(Uk,Vk,Gk,"¸","\\c"),Hk(Uk,Vk,Gk,"˚","\\r"),Hk(Uk,Vk,Gk,"ˇ","\\v"),Hk(Uk,Vk,Gk,"¨",'\\"'),Hk(Uk,Vk,Gk,"˝","\\H"),Hk(Uk,Vk,Gk,"◯","\\textcircled");var nO={"--":!0,"---":!0,"``":!0,"''":!0};Hk(Uk,Vk,rO,"–","--",!0),Hk(Uk,Vk,rO,"–","\\textendash"),Hk(Uk,Vk,rO,"—","---",!0),Hk(Uk,Vk,rO,"—","\\textemdash"),Hk(Uk,Vk,rO,"‘","`",!0),Hk(Uk,Vk,rO,"‘","\\textquoteleft"),Hk(Uk,Vk,rO,"’","'",!0),Hk(Uk,Vk,rO,"’","\\textquoteright"),Hk(Uk,Vk,rO,"“","``",!0),Hk(Uk,Vk,rO,"“","\\textquotedblleft"),Hk(Uk,Vk,rO,"”","''",!0),Hk(Uk,Vk,rO,"”","\\textquotedblright"),Hk($k,Vk,rO,"°","\\degree",!0),Hk(Uk,Vk,rO,"°","\\degree"),Hk(Uk,Vk,rO,"°","\\textdegree",!0),Hk($k,Vk,rO,"£","\\pounds"),Hk($k,Vk,rO,"£","\\mathsterling",!0),Hk(Uk,Vk,rO,"£","\\pounds"),Hk(Uk,Vk,rO,"£","\\textsterling",!0),Hk($k,qk,rO,"✠","\\maltese"),Hk(Uk,qk,rO,"✠","\\maltese");for(var oO='0123456789/@."',iO=0;iO<14;iO++){var aO=oO.charAt(iO);Hk($k,Vk,rO,aO,aO)}for(var sO='0123456789!@*()-=+";:?/.,',uO=0;uO<25;uO++){var lO=sO.charAt(uO);Hk(Uk,Vk,rO,lO,lO)}for(var cO="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",dO=0;dO<52;dO++){var fO=cO.charAt(dO);Hk($k,Vk,Xk,fO,fO),Hk(Uk,Vk,rO,fO,fO)}Hk($k,qk,rO,"C","ℂ"),Hk(Uk,qk,rO,"C","ℂ"),Hk($k,qk,rO,"H","ℍ"),Hk(Uk,qk,rO,"H","ℍ"),Hk($k,qk,rO,"N","ℕ"),Hk(Uk,qk,rO,"N","ℕ"),Hk($k,qk,rO,"P","ℙ"),Hk(Uk,qk,rO,"P","ℙ"),Hk($k,qk,rO,"Q","ℚ"),Hk(Uk,qk,rO,"Q","ℚ"),Hk($k,qk,rO,"R","ℝ"),Hk(Uk,qk,rO,"R","ℝ"),Hk($k,qk,rO,"Z","ℤ"),Hk(Uk,qk,rO,"Z","ℤ"),Hk($k,Vk,Xk,"h","ℎ"),Hk(Uk,Vk,Xk,"h","ℎ");for(var hO="",pO=0;pO<52;pO++){var gO=cO.charAt(pO);Hk($k,Vk,Xk,gO,hO=String.fromCharCode(55349,56320+pO)),Hk(Uk,Vk,rO,gO,hO),Hk($k,Vk,Xk,gO,hO=String.fromCharCode(55349,56372+pO)),Hk(Uk,Vk,rO,gO,hO),Hk($k,Vk,Xk,gO,hO=String.fromCharCode(55349,56424+pO)),Hk(Uk,Vk,rO,gO,hO),Hk($k,Vk,Xk,gO,hO=String.fromCharCode(55349,56580+pO)),Hk(Uk,Vk,rO,gO,hO),Hk($k,Vk,Xk,gO,hO=String.fromCharCode(55349,56684+pO)),Hk(Uk,Vk,rO,gO,hO),Hk($k,Vk,Xk,gO,hO=String.fromCharCode(55349,56736+pO)),Hk(Uk,Vk,rO,gO,hO),Hk($k,Vk,Xk,gO,hO=String.fromCharCode(55349,56788+pO)),Hk(Uk,Vk,rO,gO,hO),Hk($k,Vk,Xk,gO,hO=String.fromCharCode(55349,56840+pO)),Hk(Uk,Vk,rO,gO,hO),Hk($k,Vk,Xk,gO,hO=String.fromCharCode(55349,56944+pO)),Hk(Uk,Vk,rO,gO,hO),pO<26&&(Hk($k,Vk,Xk,gO,hO=String.fromCharCode(55349,56632+pO)),Hk(Uk,Vk,rO,gO,hO),Hk($k,Vk,Xk,gO,hO=String.fromCharCode(55349,56476+pO)),Hk(Uk,Vk,rO,gO,hO))}Hk($k,Vk,Xk,"k",hO=String.fromCharCode(55349,56668)),Hk(Uk,Vk,rO,"k",hO);for(var mO=0;mO<10;mO++){var vO=mO.toString();Hk($k,Vk,Xk,vO,hO=String.fromCharCode(55349,57294+mO)),Hk(Uk,Vk,rO,vO,hO),Hk($k,Vk,Xk,vO,hO=String.fromCharCode(55349,57314+mO)),Hk(Uk,Vk,rO,vO,hO),Hk($k,Vk,Xk,vO,hO=String.fromCharCode(55349,57324+mO)),Hk(Uk,Vk,rO,vO,hO),Hk($k,Vk,Xk,vO,hO=String.fromCharCode(55349,57334+mO)),Hk(Uk,Vk,rO,vO,hO)}for(var yO="ÐÞþ",bO=0;bO<3;bO++){var wO=yO.charAt(bO);Hk($k,Vk,Xk,wO,wO),Hk(Uk,Vk,rO,wO,wO)}var EO=[["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"]],xO=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],SO=function(e,t,r){return jk[r][e]&&jk[r][e].replace&&(e=jk[r][e].replace),{value:e,metrics:hk(e,t,r)}},CO=function(e,t,r,n,o){var i,a=SO(e,t,r),s=a.metrics;if(e=a.value,s){var u=s.italic;("text"===r||n&&"mathit"===n.font)&&(u=0),i=new Mk(e,s.height,s.depth,u,s.skew,s.width,o)}else"undefined"!=typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"' and mode '"+r+"'"),i=new Mk(e,0,0,0,0,0,o);if(n){i.maxFontSize=n.sizeMultiplier,n.style.isTight()&&i.classes.push("mtight");var l=n.getColor();l&&(i.style.color=l)}return i},AO=(e,t)=>{if(Ck(e.classes)!==Ck(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},DO=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},TO=function(e,t,r,n){var o=new Ok(e,t,r,n);return DO(o),o},kO=(e,t,r,n)=>new Ok(e,t,r,n),OO=function(e){var t=new lk(e);return DO(t),t},NO=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")},BO={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"}},FO={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},MO={fontMap:BO,makeSymbol:CO,mathsym:function(e,t,r,n){return void 0===n&&(n=[]),"boldsymbol"===r.font&&SO(e,"Main-Bold",t).metrics?CO(e,"Main-Bold",t,r,n.concat(["mathbf"])):"\\"===e||"main"===jk[t][e].font?CO(e,"Main-Regular",t,r,n):CO(e,"AMS-Regular",t,r,n.concat(["amsrm"]))},makeSpan:TO,makeSvgSpan:kO,makeLineSpan:function(e,t,r){var n=TO([e],[],t);return n.height=Math.max(r||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),n.style.borderBottomWidth=Sk(n.height),n.maxFontSize=1,n},makeAnchor:function(e,t,r,n){var o=new Nk(e,t,r,n);return DO(o),o},makeFragment:OO,wrapFragment:function(e,t){return e instanceof lk?TO([],[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 u;if("top"===e.positionType){for(var l=e.positionData,c=0;c<e.children.length;c++){var d=e.children[c];l-="kern"===d.type?d.size:d.elem.height+d.elem.depth}u=l}else if("bottom"===e.positionType)u=-e.positionData;else{var f=e.children[0];if("elem"!==f.type)throw new Error('First child must have type "elem".');if("shift"===e.positionType)u=-f.elem.depth-e.positionData;else{if("firstBaseline"!==e.positionType)throw new Error("Invalid positionType "+e.positionType+".");u=-f.elem.depth}}return{children:e.children,depth:u}}(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 u=TO(["pstrut"],[]);u.style.height=Sk(o);for(var l=[],c=n,d=n,f=n,h=0;h<r.length;h++){var p=r[h];if("kern"===p.type)f+=p.size;else{var g=p.elem,m=p.wrapperClasses||[],v=p.wrapperStyle||{},y=TO(m,[u,g],void 0,v);y.style.top=Sk(-o-f-g.depth),p.marginLeft&&(y.style.marginLeft=p.marginLeft),p.marginRight&&(y.style.marginRight=p.marginRight),l.push(y),f+=g.height+g.depth}c=Math.min(c,f),d=Math.max(d,f)}var b,w=TO(["vlist"],l);if(w.style.height=Sk(d),c<0){var E=TO([],[]),x=TO(["vlist"],[E]);x.style.height=Sk(-c);var S=TO(["vlist-s"],[new Mk("​")]);b=[TO(["vlist-r"],[w,S]),TO(["vlist-r"],[x])]}else b=[TO(["vlist-r"],[w])];var C=TO(["vlist-t"],b);return 2===b.length&&C.classes.push("vlist-t2"),C.height=d,C.depth=-c,C},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,u="",l="";if(55349===o.charCodeAt(0)&&([u,l]=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[EO[o][2],EO[o][n]]}if(120782<=r&&r<=120831){var i=Math.floor((r-120782)/10);return[xO[i][2],xO[i][n]]}if(120485===r||120486===r)return[EO[0][2],EO[0][n]];if(120486<r&&r<120782)return["",""];throw new jT("Unsupported character: "+e)}(o,n)),u.length>0)return CO(o,u,n,t,i.concat(l));if(s){var c,d;if("boldsymbol"===s){var f=function(e,t,r,n,o){return"textord"!==o&&SO(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}}(o,n,0,0,r);c=f.fontName,d=[f.fontClass]}else a?(c=BO[s].fontName,d=[s]):(c=NO(s,t.fontWeight,t.fontShape),d=[s,t.fontWeight,t.fontShape]);if(SO(o,c,n).metrics)return CO(o,c,n,t,i.concat(d));if(nO.hasOwnProperty(o)&&"Typewriter"===c.slice(0,10)){for(var h=[],p=0;p<o.length;p++)h.push(CO(o[p],c,n,t,i.concat(d)));return OO(h)}}if("mathord"===r)return CO(o,"Math-Italic",n,t,i.concat(["mathnormal"]));if("textord"===r){var g=jk[n][o]&&jk[n][o].font;if("ams"===g){var m=NO("amsrm",t.fontWeight,t.fontShape);return CO(o,m,n,t,i.concat("amsrm",t.fontWeight,t.fontShape))}if("main"!==g&&g){var v=NO(g,t.fontWeight,t.fontShape);return CO(o,v,n,t,i.concat(v,t.fontWeight,t.fontShape))}var y=NO("textrm",t.fontWeight,t.fontShape);return CO(o,y,n,t,i.concat(t.fontWeight,t.fontShape))}throw new Error("unexpected type: "+r+" in makeOrd")},makeGlue:(e,t)=>{var r=TO(["mspace"],[],t),n=xk(e,t);return r.style.marginRight=Sk(n),r},staticSvg:function(e,t){var[r,n,o]=FO[e],i=new Pk(r),a=new Ik([i],{width:Sk(n),height:Sk(o),style:"width:"+Sk(n),viewBox:"0 0 "+1e3*n+" "+1e3*o,preserveAspectRatio:"xMinYMin"}),s=kO(["overlay"],[a],t);return s.height=o,s.style.height=Sk(o),s.style.width=Sk(n),s},svgData:FO,tryCombineChars:e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof Mk&&n instanceof Mk&&AO(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}},IO={number:3,unit:"mu"},PO={number:4,unit:"mu"},RO={number:5,unit:"mu"},LO={mord:{mop:IO,mbin:PO,mrel:RO,minner:IO},mop:{mord:IO,mop:IO,mrel:RO,minner:IO},mbin:{mord:PO,mop:PO,mopen:PO,minner:PO},mrel:{mord:RO,mop:RO,mopen:RO,minner:RO},mopen:{},mclose:{mop:IO,mbin:PO,mrel:RO,minner:IO},mpunct:{mord:IO,mop:IO,mrel:RO,mopen:IO,mclose:IO,mpunct:IO,minner:IO},minner:{mord:IO,mop:IO,mbin:PO,mrel:RO,mopen:IO,mpunct:IO,minner:IO}},_O={mord:{mop:IO},mop:{mord:IO,mop:IO},mbin:{},mrel:{},mopen:{},mclose:{mop:IO},mpunct:{},minner:{mop:IO}},zO={},jO={},HO={};function $O(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},u=0;u<r.length;++u)zO[r[u]]=s;t&&(i&&(jO[t]=i),a&&(HO[t]=a))}function UO(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;$O({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var VO=function(e){return"ordgroup"===e.type&&1===e.body.length?e.body[0]:e},qO=function(e){return"ordgroup"===e.type?e.body:[e]},GO=MO.makeSpan,WO=["leftmost","mbin","mopen","mrel","mop","mpunct"],YO=["rightmost","mrel","mclose","mpunct"],KO={display:nk.DISPLAY,text:nk.TEXT,script:nk.SCRIPT,scriptscript:nk.SCRIPTSCRIPT},XO={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},ZO=function(e,t,r,n){void 0===n&&(n=[null,null]);for(var o=[],i=0;i<e.length;i++){var a=nN(e[i],t);if(a instanceof lk){var s=a.children;o.push(...s)}else o.push(a)}if(MO.tryCombineChars(o),!r)return o;var u=t;if(1===e.length){var l=e[0];"sizing"===l.type?u=t.havingSize(l.size):"styling"===l.type&&(u=t.havingStyle(KO[l.style]))}var c=GO([n[0]||"leftmost"],[],t),d=GO([n[1]||"rightmost"],[],t),f="root"===r;return JO(o,(e,t)=>{var r=t.classes[0],n=e.classes[0];"mbin"===r&&YO.includes(n)?t.classes[0]="mord":"mbin"===n&&WO.includes(r)&&(e.classes[0]="mord")},{node:c},d,f),JO(o,(e,t)=>{var r=tN(t),n=tN(e),o=r&&n?e.hasClass("mtight")?_O[r][n]:LO[r][n]:null;if(o)return MO.makeGlue(o,u)},{node:c},d,f),o},JO=function e(t,r,n,o,i){o&&t.push(o);for(var a=0;a<t.length;a++){var s=t[a],u=QO(s);if(u)e(u.children,r,n,null,i);else{var l=!s.hasClass("mspace");if(l){var c=r(s,n.node);c&&(n.insertAfter?n.insertAfter(c):(t.unshift(c),a++))}l?n.node=s:i&&s.hasClass("newline")&&(n.node=GO(["leftmost"])),n.insertAfter=(e=>r=>{t.splice(e+1,0,r),a++})(a)}}o&&t.pop()},QO=function(e){return e instanceof lk||e instanceof Nk||e instanceof Ok&&e.hasClass("enclosing")?e:null},eN=function e(t,r){var n=QO(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},tN=function(e,t){return e?(t&&(e=eN(e,t)),XO[e.classes[0]]||null):null},rN=function(e,t){var r=["nulldelimiter"].concat(e.baseSizingClasses());return GO(t.concat(r))},nN=function(e,t,r){if(!e)return GO();if(jO[e.type]){var n=jO[e.type](e,t);if(r&&t.size!==r.size){n=GO(t.sizingClasses(r),[n],t);var o=t.sizeMultiplier/r.sizeMultiplier;n.height*=o,n.depth*=o}return n}throw new jT("Got group of unknown type: '"+e.type+"'")};function oN(e,t){var r=GO(["base"],e,t),n=GO(["strut"]);return n.style.height=Sk(r.height+r.depth),r.depth&&(n.style.verticalAlign=Sk(-r.depth)),r.children.unshift(n),r}function iN(e,t){var r=null;1===e.length&&"tag"===e[0].type&&(r=e[0].tag,e=e[0].body);var n,o=ZO(e,t,"root");2===o.length&&o[1].hasClass("tag")&&(n=o.pop());for(var i,a=[],s=[],u=0;u<o.length;u++)if(s.push(o[u]),o[u].hasClass("mbin")||o[u].hasClass("mrel")||o[u].hasClass("allowbreak")){for(var l=!1;u<o.length-1&&o[u+1].hasClass("mspace")&&!o[u+1].hasClass("newline");)u++,s.push(o[u]),o[u].hasClass("nobreak")&&(l=!0);l||(a.push(oN(s,t)),s=[])}else o[u].hasClass("newline")&&(s.pop(),s.length>0&&(a.push(oN(s,t)),s=[]),a.push(o[u]));s.length>0&&a.push(oN(s,t)),r?((i=oN(ZO(r,t,!0))).classes=["tag"],a.push(i)):n&&a.push(n);var c=GO(["katex-html"],a);if(c.setAttribute("aria-hidden","true"),i){var d=i.children[0];d.style.height=Sk(c.height+c.depth),c.depth&&(d.style.verticalAlign=Sk(-c.depth))}return c}function aN(e){return new lk(e)}class sN{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=Ck(this.classes));for(var r=0;r<this.children.length;r++)if(this.children[r]instanceof uN&&this.children[r+1]instanceof uN){for(var n=this.children[r].toText()+this.children[++r].toText();this.children[r+1]instanceof uN;)n+=this.children[++r].toText();e.appendChild(new uN(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+=qT.escape(this.attributes[t]),e+='"');this.classes.length>0&&(e+=' class ="'+qT.escape(Ck(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 uN{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return qT.escape(this.toText())}toText(){return this.text}}var lN={MathNode:sN,TextNode:uN,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",Sk(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+Sk(this.width)+'"/>'}toText(){return this.character?this.character:" "}},newDocumentFragment:aN},cN=function(e,t,r){return!jk[t][e]||!jk[t][e].replace||55349===e.charCodeAt(0)||nO.hasOwnProperty(e)&&r&&(r.fontFamily&&"tt"===r.fontFamily.slice(4,6)||r.font&&"tt"===r.font.slice(4,6))||(e=jk[t][e].replace),new lN.TextNode(e)},dN=function(e){return 1===e.length?e[0]:new lN.MathNode("mrow",e)},fN=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:(jk[n][o]&&jk[n][o].replace&&(o=jk[n][o].replace),hk(o,MO.fontMap[r].fontName,n)?MO.fontMap[r].variant:null)};function hN(e){if(!e)return!1;if("mi"===e.type&&1===e.children.length){var t=e.children[0];return t instanceof uN&&"."===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 uN&&","===r.text}return!1}var pN=function(e,t,r){if(1===e.length){var n=mN(e[0],t);return r&&n instanceof sN&&"mo"===n.type&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var o,i=[],a=0;a<e.length;a++){var s=mN(e[a],t);if(s instanceof sN&&o instanceof sN){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(hN(s)&&"mn"===o.type){o.children.push(...s.children);continue}if("mn"===s.type&&hN(o))s.children=[...o.children,...s.children],i.pop();else if(("msup"===s.type||"msub"===s.type)&&s.children.length>=1&&("mn"===o.type||hN(o))){var u=s.children[0];u instanceof sN&&"mn"===u.type&&(u.children=[...o.children,...u.children],i.pop())}else if("mi"===o.type&&1===o.children.length){var l=o.children[0];if(l instanceof uN&&"̸"===l.text&&("mo"===s.type||"mi"===s.type||"mn"===s.type)){var c=s.children[0];c instanceof uN&&c.text.length>0&&(c.text=c.text.slice(0,1)+"̸"+c.text.slice(1),i.pop())}}}i.push(s),o=s}return i},gN=function(e,t,r){return dN(pN(e,t,r))},mN=function(e,t){if(!e)return new lN.MathNode("mrow");if(HO[e.type])return HO[e.type](e,t);throw new jT("Got group of unknown type: '"+e.type+"'")};function vN(e,t,r,n,o){var i,a=pN(e,r);i=1===a.length&&a[0]instanceof sN&&["mrow","mtable"].includes(a[0].type)?a[0]:new lN.MathNode("mrow",a);var s=new lN.MathNode("annotation",[new lN.TextNode(t)]);s.setAttribute("encoding","application/x-tex");var u=new lN.MathNode("semantics",[i,s]),l=new lN.MathNode("math",[u]);l.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&l.setAttribute("display","block");var c=o?"katex":"katex-mathml";return MO.makeSpan([c],[l])}var yN=function(e){return new yk({style:e.displayMode?nk.DISPLAY:nk.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},bN=function(e,t){if(t.displayMode){var r=["katex-display"];t.leqno&&r.push("leqno"),t.fleqn&&r.push("fleqn"),e=MO.makeSpan(r,[e])}return e},wN={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":"="},EN={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]},xN=function(e,t,r,n,o){var i,a=e.height+e.depth+r+n;if(/fbox|color|angl/.test(t)){if(i=MO.makeSpan(["stretchy",t],[],o),"fbox"===t){var s=o.color&&o.getColor();s&&(i.style.borderColor=s)}}else{var u=[];/^[bx]cancel$/.test(t)&&u.push(new Rk({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&u.push(new Rk({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var l=new Ik(u,{width:"100%",height:Sk(a)});i=MO.makeSvgSpan([],[l],o)}return i.height=a,i.style.height=Sk(a),i},SN=function(e){var t=new lN.MathNode("mo",[new lN.TextNode(wN[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},CN=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"===(h=e.base).type?h.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 u=[1,1,2,2,3,3][s];"widehat"===n||"widecheck"===n?(r=[0,1062,2364,2364,2364][u],o=[0,239,300,360,420][u],a=[0,.24,.3,.3,.36,.42][u],i=n+u):(r=[0,600,1033,2339,2340][u],o=[0,260,286,306,312][u],a=[0,.26,.286,.3,.306,.34][u],i="tilde"+u)}var l=new Pk(i),c=new Ik([l],{width:"100%",height:Sk(a),viewBox:"0 0 "+r+" "+o,preserveAspectRatio:"none"});return{span:MO.makeSvgSpan([],[c],t),minWidth:0,height:a}}var d,f,h,p=[],g=EN[n],[m,v,y]=g,b=y/1e3,w=m.length;if(1===w)d=["hide-tail"],f=[g[3]];else if(2===w)d=["halfarrow-left","halfarrow-right"],f=["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"],f=["xMinYMin","xMidYMin","xMaxYMin"]}for(var E=0;E<w;E++){var x=new Pk(m[E]),S=new Ik([x],{width:"400em",height:Sk(b),viewBox:"0 0 "+r+" "+y,preserveAspectRatio:f[E]+" slice"}),C=MO.makeSvgSpan([d[E]],[S],t);if(1===w)return{span:C,minWidth:v,height:b};C.style.height=Sk(b),p.push(C)}return{span:MO.makeSpan(["stretchy"],p,t),minWidth:v,height:b}}();return r.height=o,r.style.height=Sk(o),n>0&&(r.style.minWidth=Sk(n)),r};function AN(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 DN(e){var t=TN(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 TN(e){return e&&("atom"===e.type||zk.hasOwnProperty(e.type))?e:null}var kN=(e,t)=>{var r,n,o;e&&"supsub"===e.type?(r=(n=AN(e.base,"accent")).base,e.base=r,o=function(e){if(e instanceof Ok)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}(nN(e,t)),e.base=n):r=(n=AN(e,"accent")).base;var i=nN(r,t.havingCrampedStyle()),a=0;if(n.isShifty&&qT.isCharacterBox(r)){var s=qT.getBaseElem(r);a=Lk(nN(s,t.havingCrampedStyle())).skew}var u,l="\\c"===n.label,c=l?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight);if(n.isStretchy)u=CN(n,t),u=MO.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:u,wrapperClasses:["svg-align"],wrapperStyle:a>0?{width:"calc(100% - "+Sk(2*a)+")",marginLeft:Sk(2*a)}:void 0}]},t);else{var d,f;"\\vec"===n.label?(d=MO.staticSvg("vec",t),f=MO.svgData.vec[1]):((d=Lk(d=MO.makeOrd({mode:n.mode,text:n.label},t,"textord"))).italic=0,f=d.width,l&&(c+=d.depth)),u=MO.makeSpan(["accent-body"],[d]);var h="\\textcircled"===n.label;h&&(u.classes.push("accent-full"),c=i.height);var p=a;h||(p-=f/2),u.style.left=Sk(p),"\\textcircled"===n.label&&(u.style.top=".2em"),u=MO.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-c},{type:"elem",elem:u}]},t)}var g=MO.makeSpan(["mord","accent"],[u],t);return o?(o.children[0]=g,o.height=Math.max(g.height,o.height),o.classes[0]="mord",o):g},ON=(e,t)=>{var r=e.isStretchy?SN(e.label):new lN.MathNode("mo",[cN(e.label,e.mode)]),n=new lN.MathNode("mover",[mN(e.base,t),r]);return n.setAttribute("accent","true"),n},NN=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));$O({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=VO(t[0]),n=!NN.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:kN,mathmlBuilder:ON}),$O({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:kN,mathmlBuilder:ON}),$O({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=nN(e.base,t),n=CN(e,t),o="\\utilde"===e.label?.12:0,i=MO.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:o},{type:"elem",elem:r}]},t);return MO.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{var r=SN(e.label),n=new lN.MathNode("munder",[mN(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var BN=e=>{var t=new lN.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};$O({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=MO.wrapFragment(nN(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=MO.wrapFragment(nN(e.below,o,t),t)).classes.push(a+"-arrow-pad"));var s,u=CN(e,t),l=-t.fontMetrics().axisHeight+.5*u.height,c=-t.fontMetrics().axisHeight-.5*u.height-.111;if((i.depth>.25||"\\xleftequilibrium"===e.label)&&(c-=i.depth),r){var d=-t.fontMetrics().axisHeight+r.height+.5*u.height+.111;s=MO.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{type:"elem",elem:u,shift:l},{type:"elem",elem:r,shift:d}]},t)}else s=MO.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{type:"elem",elem:u,shift:l}]},t);return s.children[0].children[0].children[1].classes.push("svg-align"),MO.makeSpan(["mrel","x-arrow"],[s],t)},mathmlBuilder(e,t){var r,n=SN(e.label);if(n.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){var o=BN(mN(e.body,t));if(e.below){var i=BN(mN(e.below,t));r=new lN.MathNode("munderover",[n,i,o])}else r=new lN.MathNode("mover",[n,o])}else if(e.below){var a=BN(mN(e.below,t));r=new lN.MathNode("munder",[n,a])}else r=BN(),r=new lN.MathNode("mover",[n,r]);return r}});var FN=MO.makeSpan;function MN(e,t){var r=ZO(e.body,t,!0);return FN([e.mclass],r,t)}function IN(e,t){var r,n=pN(e.body,t);return"minner"===e.mclass?r=new lN.MathNode("mpadded",n):"mord"===e.mclass?e.isCharacterBox?(r=n[0]).type="mi":r=new lN.MathNode("mi",n):(e.isCharacterBox?(r=n[0]).type="mo":r=new lN.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}$O({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:qO(o),isCharacterBox:qT.isCharacterBox(o)}},htmlBuilder:MN,mathmlBuilder:IN});var PN=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};$O({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:PN(t[0]),body:qO(t[1]),isCharacterBox:qT.isCharacterBox(t[1])}}}),$O({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?PN(i):"mrel";var s={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==o,body:qO(i)},u={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:[u],isCharacterBox:qT.isCharacterBox(u)}},htmlBuilder:MN,mathmlBuilder:IN}),$O({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:PN(t[0]),body:qO(t[0])}},htmlBuilder(e,t){var r=ZO(e.body,t,!0),n=MO.makeSpan([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=pN(e.body,t),n=new lN.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var RN={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},LN=()=>({type:"styling",body:[],mode:"math",style:"display"}),_N=e=>"textord"===e.type&&"@"===e.text,zN=(e,t)=>("mathord"===e.type||"atom"===e.type)&&e.text===t;function jN(e,t,r){var n=RN[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"}}}$O({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=MO.wrapFragment(nN(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=Sk(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new lN.MathNode("mrow",[mN(e.label,t)]);return(r=new lN.MathNode("mpadded",[r])).setAttribute("width","0"),"left"===e.side&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),(r=new lN.MathNode("mstyle",[r])).setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),$O({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=MO.wrapFragment(nN(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder:(e,t)=>new lN.MathNode("mrow",[mN(e.fragment,t)])}),$O({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=AN(t[0],"ordgroup").body,o="",i=0;i<n.length;i++){o+=AN(n[i],"textord").text}var a,s=parseInt(o);if(isNaN(s))throw new jT("\\@char has non-numeric argument "+o);if(s<0||s>=1114111)throw new jT("\\@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 HN=(e,t)=>{var r=ZO(e.body,t.withColor(e.color),!1);return MO.makeFragment(r)},$N=(e,t)=>{var r=pN(e.body,t.withColor(e.color)),n=new lN.MathNode("mstyle",r);return n.setAttribute("mathcolor",e.color),n};$O({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=AN(t[0],"color-token").color,o=t[1];return{type:"color",mode:r.mode,color:n,body:qO(o)}},htmlBuilder:HN,mathmlBuilder:$N}),$O({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,o=AN(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:HN,mathmlBuilder:$N}),$O({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&&AN(o,"size").value}},htmlBuilder(e,t){var r=MO.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=Sk(xk(e.size,t)))),r},mathmlBuilder(e,t){var r=new lN.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",Sk(xk(e.size,t)))),r}});var UN={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},VN=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new jT("Expected a control sequence",e);return t},qN=(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)};$O({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(UN[n.text])return"\\global"!==r&&"\\\\globallong"!==r||(n.text=UN[n.text]),AN(t.parseFunction(),"internal");throw new jT("Invalid token after macro prefix",n)}}),$O({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 jT("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 jT('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==a+1)throw new jT('Argument number "'+n.text+'" out of order');a++,s.push([])}else{if("EOF"===n.text)throw new jT("Expected a macro definition");s[a].push(n.text)}var{tokens:u}=t.gullet.consumeArg();return i&&u.unshift(i),"\\edef"!==r&&"\\xdef"!==r||(u=t.gullet.expandTokens(u)).reverse(),t.gullet.macros.set(o,{tokens:u,numArgs:a,delimiters:s},r===UN[r]),{type:"internal",mode:t.mode}}}),$O({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=VN(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 qN(t,n,o,"\\\\globallet"===r),{type:"internal",mode:t.mode}}}),$O({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=VN(t.gullet.popToken()),o=t.gullet.popToken(),i=t.gullet.popToken();return qN(t,n,i,"\\\\globalfuture"===r),t.gullet.pushToken(i),t.gullet.pushToken(o),{type:"internal",mode:t.mode}}});var GN=function(e,t,r){var n=hk(jk.math[e]&&jk.math[e].replace||e,t,r);if(!n)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return n},WN=function(e,t,r,n){var o=r.havingBaseStyle(t),i=MO.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},YN=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=Sk(o),e.height-=o,e.depth+=o},KN=function(e,t,r,n,o,i){var a=function(e,t,r,n){return MO.makeSymbol(e,"Size"+t+"-Regular",r,n)}(e,t,o,n),s=WN(MO.makeSpan(["delimsizing","size"+t],[a],n),nk.TEXT,n,i);return r&&YN(s,n,nk.TEXT),s},XN=function(e,t,r){var n;return n="Size1-Regular"===t?"delim-size1":"delim-size4",{type:"elem",elem:MO.makeSpan(["delimsizinginner",n],[MO.makeSpan([],[MO.makeSymbol(e,t,r)])])}},ZN=function(e,t,r){var n=ck["Size4-Regular"][e.charCodeAt(0)]?ck["Size4-Regular"][e.charCodeAt(0)][4]:ck["Size1-Regular"][e.charCodeAt(0)][4],o=new Pk("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 Ik([o],{width:Sk(n),height:Sk(t),style:"width:"+Sk(n),viewBox:"0 0 "+1e3*n+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),a=MO.makeSvgSpan([],[i],r);return a.height=t,a.style.height=Sk(t),a.style.width=Sk(n),{type:"elem",elem:a}},JN={type:"kern",size:-.008},QN=["|","\\lvert","\\rvert","\\vert"],eB=["\\|","\\lVert","\\rVert","\\Vert"],tB=function(e,t,r,n,o,i){var a,s,u,l,c="",d=0;a=u=l=e,s=null;var f="Size1-Regular";"\\uparrow"===e?u=l="⏐":"\\Uparrow"===e?u=l="‖":"\\downarrow"===e?a=u="⏐":"\\Downarrow"===e?a=u="‖":"\\updownarrow"===e?(a="\\uparrow",u="⏐",l="\\downarrow"):"\\Updownarrow"===e?(a="\\Uparrow",u="‖",l="\\Downarrow"):QN.includes(e)?(u="∣",c="vert",d=333):eB.includes(e)?(u="∥",c="doublevert",d=556):"["===e||"\\lbrack"===e?(a="⎡",u="⎢",l="⎣",f="Size4-Regular",c="lbrack",d=667):"]"===e||"\\rbrack"===e?(a="⎤",u="⎥",l="⎦",f="Size4-Regular",c="rbrack",d=667):"\\lfloor"===e||"⌊"===e?(u=a="⎢",l="⎣",f="Size4-Regular",c="lfloor",d=667):"\\lceil"===e||"⌈"===e?(a="⎡",u=l="⎢",f="Size4-Regular",c="lceil",d=667):"\\rfloor"===e||"⌋"===e?(u=a="⎥",l="⎦",f="Size4-Regular",c="rfloor",d=667):"\\rceil"===e||"⌉"===e?(a="⎤",u=l="⎥",f="Size4-Regular",c="rceil",d=667):"("===e||"\\lparen"===e?(a="⎛",u="⎜",l="⎝",f="Size4-Regular",c="lparen",d=875):")"===e||"\\rparen"===e?(a="⎞",u="⎟",l="⎠",f="Size4-Regular",c="rparen",d=875):"\\{"===e||"\\lbrace"===e?(a="⎧",s="⎨",l="⎩",u="⎪",f="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(a="⎫",s="⎬",l="⎭",u="⎪",f="Size4-Regular"):"\\lgroup"===e||"⟮"===e?(a="⎧",l="⎩",u="⎪",f="Size4-Regular"):"\\rgroup"===e||"⟯"===e?(a="⎫",l="⎭",u="⎪",f="Size4-Regular"):"\\lmoustache"===e||"⎰"===e?(a="⎧",l="⎭",u="⎪",f="Size4-Regular"):"\\rmoustache"!==e&&"⎱"!==e||(a="⎫",l="⎩",u="⎪",f="Size4-Regular");var h=GN(a,f,o),p=h.height+h.depth,g=GN(u,f,o),m=g.height+g.depth,v=GN(l,f,o),y=v.height+v.depth,b=0,w=1;if(null!==s){var E=GN(s,f,o);b=E.height+E.depth,w=2}var x=p+y+b,S=x+Math.max(0,Math.ceil((t-x)/(w*m)))*w*m,C=n.fontMetrics().axisHeight;r&&(C*=n.sizeMultiplier);var A=S/2-C,D=[];if(c.length>0){var T=S-p-y,k=Math.round(1e3*S),O=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*T)),N=new Pk(c,O),B=(d/1e3).toFixed(3)+"em",F=(k/1e3).toFixed(3)+"em",M=new Ik([N],{width:B,height:F,viewBox:"0 0 "+d+" "+k}),I=MO.makeSvgSpan([],[M],n);I.height=k/1e3,I.style.width=B,I.style.height=F,D.push({type:"elem",elem:I})}else{if(D.push(XN(l,f,o)),D.push(JN),null===s){var P=S-p-y+.016;D.push(ZN(u,P,n))}else{var R=(S-p-y-b)/2+.016;D.push(ZN(u,R,n)),D.push(JN),D.push(XN(s,f,o)),D.push(JN),D.push(ZN(u,R,n))}D.push(JN),D.push(XN(a,f,o))}var L=n.havingBaseStyle(nk.TEXT),_=MO.makeVList({positionType:"bottom",positionData:A,children:D},L);return WN(MO.makeSpan(["delimsizing","mult"],[_],L),nk.TEXT,n,i)},rB=.08,nB=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,sk);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,sk);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,sk);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,sk);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,sk);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,sk,r)}return n}(e,n,r),a=new Pk(e,i),s=new Ik([a],{width:"400em",height:Sk(t),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"});return MO.makeSvgSpan(["hide-tail"],[s],o)},oB=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],iB=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],aB=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],sB=[0,1.2,1.8,2.4,3],uB=[{type:"small",style:nk.SCRIPTSCRIPT},{type:"small",style:nk.SCRIPT},{type:"small",style:nk.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],lB=[{type:"small",style:nk.SCRIPTSCRIPT},{type:"small",style:nk.SCRIPT},{type:"small",style:nk.TEXT},{type:"stack"}],cB=[{type:"small",style:nk.SCRIPTSCRIPT},{type:"small",style:nk.SCRIPT},{type:"small",style:nk.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],dB=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.")},fB=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=GN(e,dB(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]},hB=function(e,t,r,n,o,i){var a;"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"⟩"!==e||(e="\\rangle"),a=aB.includes(e)?uB:oB.includes(e)?cB:lB;var s=fB(e,t,a,n);return"small"===s.type?function(e,t,r,n,o,i){var a=MO.makeSymbol(e,"Main-Regular",o,n),s=WN(a,t,n,i);return r&&YN(s,n,t),s}(e,s.style,r,n,o,i):"large"===s.type?KN(e,s.size,r,n,o,i):tB(e,t,r,n,o,i)},pB={sqrtImage:function(e,t){var r,n,o=t.havingBaseSizing(),i=fB("\\surd",e*o.sizeMultiplier,cB,o),a=o.sizeMultiplier,s=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),u=0,l=0,c=0;return"small"===i.type?(e<1?a=1:e<1.4&&(a=.7),l=(1+s)/a,(r=nB("sqrtMain",u=(1+s+rB)/a,c=1e3+1e3*s+80,s,t)).style.minWidth="0.853em",n=.833/a):"large"===i.type?(c=1080*sB[i.size],l=(sB[i.size]+s)/a,u=(sB[i.size]+s+rB)/a,(r=nB("sqrtSize"+i.size,u,c,s,t)).style.minWidth="1.02em",n=1/a):(u=e+s+rB,l=e+s,c=Math.floor(1e3*e+s)+80,(r=nB("sqrtTall",u,c,s,t)).style.minWidth="0.742em",n=1.056),r.height=l,r.style.height=Sk(u),{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"),oB.includes(e)||aB.includes(e))return KN(e,t,!1,r,n,o);if(iB.includes(e))return tB(e,sB[t],!1,r,n,o);throw new jT("Illegal delimiter: '"+e+"'")},sizeToMaxHeight:sB,customSizedDelim:hB,leftRightDelim:function(e,t,r,n,o,i){var a=n.fontMetrics().axisHeight*n.sizeMultiplier,s=5/n.fontMetrics().ptPerEm,u=Math.max(t-a,r+a),l=Math.max(u/500*901,2*u-s);return hB(e,l,!0,n,o,i)}},gB={"\\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}},mB=["(","\\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 vB(e,t){var r=TN(e);if(r&&mB.includes(r.text))return r;throw new jT(r?"Invalid delimiter '"+r.text+"' after '"+t.funcName+"'":"Invalid delimiter type '"+e.type+"'",e)}function yB(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}$O({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=vB(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:gB[e.funcName].size,mclass:gB[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>"."===e.delim?MO.makeSpan([e.mclass]):pB.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];"."!==e.delim&&t.push(cN(e.delim,e.mode));var r=new lN.MathNode("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=Sk(pB.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}}),$O({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 jT("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:vB(t[0],e).text,color:r}}}),$O({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=vB(t[0],e),n=e.parser;++n.leftrightDepth;var o=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var i=AN(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:o,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{yB(e);for(var r,n,o=ZO(e.body,t,!0,["mopen","mclose"]),i=0,a=0,s=!1,u=0;u<o.length;u++)o[u].isMiddle?s=!0:(i=Math.max(o[u].height,i),a=Math.max(o[u].depth,a));if(i*=t.sizeMultiplier,a*=t.sizeMultiplier,r="."===e.left?rN(t,["mopen"]):pB.leftRightDelim(e.left,i,a,t,e.mode,["mopen"]),o.unshift(r),s)for(var l=1;l<o.length;l++){var c=o[l].isMiddle;c&&(o[l]=pB.leftRightDelim(c.delim,i,a,c.options,e.mode,[]))}if("."===e.right)n=rN(t,["mclose"]);else{var d=e.rightColor?t.withColor(e.rightColor):t;n=pB.leftRightDelim(e.right,i,a,d,e.mode,["mclose"])}return o.push(n),MO.makeSpan(["minner"],o,t)},mathmlBuilder:(e,t)=>{yB(e);var r=pN(e.body,t);if("."!==e.left){var n=new lN.MathNode("mo",[cN(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if("."!==e.right){var o=new lN.MathNode("mo",[cN(e.right,e.mode)]);o.setAttribute("fence","true"),e.rightColor&&o.setAttribute("mathcolor",e.rightColor),r.push(o)}return dN(r)}}),$O({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=vB(t[0],e);if(!e.parser.leftrightDepth)throw new jT("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if("."===e.delim)r=rN(t,[]);else{r=pB.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?cN("|","text"):cN(e.delim,e.mode),n=new lN.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var bB=(e,t)=>{var r,n,o=MO.wrapFragment(nN(e.body,t),t),i=e.label.slice(1),a=t.sizeMultiplier,s=0,u=qT.isCharacterBox(e.body);if("sout"===i)(r=MO.makeSpan(["stretchy","sout"])).height=t.fontMetrics().defaultRuleThickness/a,s=-.5*t.fontMetrics().xHeight;else if("phase"===i){var l=xk({number:.6,unit:"pt"},t),c=xk({number:.35,unit:"ex"},t);a/=t.havingBaseSizing().sizeMultiplier;var d=o.height+o.depth+l+c;o.style.paddingLeft=Sk(d/2+l);var f=Math.floor(1e3*d*a),h=function(e){return"M400000 "+e+" H0 L"+e/2+" 0 l65 45 L145 "+(e-80)+" H400000z"}(f),p=new Ik([new Pk("phase",h)],{width:"400em",height:Sk(f/1e3),viewBox:"0 0 400000 "+f,preserveAspectRatio:"xMinYMin slice"});(r=MO.makeSvgSpan(["hide-tail"],[p],t)).style.height=Sk(d),s=o.depth+l+c}else{/cancel/.test(i)?u||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=u?.2:0,r=xN(o,i,g,m,t),/fbox|boxed|fcolorbox/.test(i)?(r.style.borderStyle="solid",r.style.borderWidth=Sk(v)):"angl"===i&&.049!==v&&(r.style.borderTopWidth=Sk(v),r.style.borderRightWidth=Sk(v)),s=o.depth+m,e.backgroundColor&&(r.style.backgroundColor=e.backgroundColor,e.borderColor&&(r.style.borderColor=e.borderColor))}if(e.backgroundColor)n=MO.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=MO.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)&&!u?MO.makeSpan(["mord","cancel-lap"],[n],t):MO.makeSpan(["mord"],[n],t)},wB=(e,t)=>{var r=0,n=new lN.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[mN(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};$O({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:n,funcName:o}=e,i=AN(t[0],"color-token").color,a=t[1];return{type:"enclose",mode:n.mode,label:o,backgroundColor:i,body:a}},htmlBuilder:bB,mathmlBuilder:wB}),$O({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:n,funcName:o}=e,i=AN(t[0],"color-token").color,a=AN(t[1],"color-token").color,s=t[2];return{type:"enclose",mode:n.mode,label:o,backgroundColor:a,borderColor:i,body:s}},htmlBuilder:bB,mathmlBuilder:wB}),$O({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]}}}),$O({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:bB,mathmlBuilder:wB}),$O({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 EB={};function xB(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},u=0;u<r.length;++u)EB[r[u]]=s;i&&(jO[t]=i),a&&(HO[t]=a)}var SB={};function CB(e,t){SB[e]=t}function AB(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 DB=e=>{if(!e.parser.settings.displayMode)throw new jT("{"+e.envName+"} can be used only in display mode.")};function TB(e){if(-1===e.indexOf("ed"))return-1===e.indexOf("*")}function kB(e,t,r){var{hskipBeforeAndAfter:n,addJot:o,cols:i,arraystretch:a,colSeparationType:s,autoTag:u,singleRow:l,emptySingleRow:c,maxNumCols:d,leqno:f}=t;if(e.gullet.beginGroup(),l||e.gullet.macros.set("\\cr","\\\\\\relax"),!a){var h=e.gullet.expandMacroAsText("\\arraystretch");if(null==h)a=1;else if(!(a=parseFloat(h))||a<0)throw new jT("Invalid \\arraystretch: "+h)}e.gullet.beginGroup();var p=[],g=[p],m=[],v=[],y=null!=u?[]:void 0;function b(){u&&e.gullet.macros.set("\\@eqnsw","1",!0)}function w(){y&&(e.gullet.macros.get("\\df@tag")?(y.push(e.subparse([new zT("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):y.push(Boolean(u)&&"1"===e.gullet.macros.get("\\@eqnsw")))}for(b(),v.push(AB(e));;){var E=e.parseExpression(!1,l?"\\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]}),p.push(E);var x=e.fetch().text;if("&"===x){if(d&&p.length===d){if(l||s)throw new jT("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===p.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 jT("Expected & or \\\\ or \\cr or \\end",e.nextToken);e.consume();var S=void 0;" "!==e.gullet.future().text&&(S=e.parseSizeGroup(!0)),m.push(S?S.value:null),w(),v.push(AB(e)),p=[],g.push(p),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:f}}function OB(e){return"d"===e.slice(0,1)?"display":"text"}var NB=function(e,t){var r,n,o=e.body.length,i=e.hLinesBeforeRow,a=0,s=new Array(o),u=[],l=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),c=1/t.fontMetrics().ptPerEm,d=5*c;e.colSeparationType&&"small"===e.colSeparationType&&(d=t.havingStyle(nk.SCRIPT).sizeMultiplier/t.sizeMultiplier*.2778);var f="CD"===e.colSeparationType?xk({number:3,unit:"ex"},t):12*c,h=3*c,p=e.arraystretch*f,g=.7*p,m=.3*p,v=0;function y(e){for(var t=0;t<e.length;++t)t>0&&(v+=.25),u.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 S=nN(b[n],t);E<S.depth&&(E=S.depth),w<S.height&&(w=S.height),x[n]=S}var C=e.rowGaps[r],A=0;C&&(A=xk(C,t))>0&&(E<(A+=m)&&(E=A),A=0),e.addJot&&(E+=h),x.height=w,x.depth=E,v+=w,x.pos=v,v+=E+A,s[r]=x,y(i[r+1])}var D,T,k=v/2+t.fontMetrics().axisHeight,O=e.cols||[],N=[],B=[];if(e.tags&&e.tags.some(e=>e))for(r=0;r<o;++r){var F=s[r],M=F.pos-k,I=e.tags[r],P=void 0;(P=!0===I?MO.makeSpan(["eqn-num"],[],t):!1===I?MO.makeSpan([],[],t):MO.makeSpan([],ZO(I,t,!0),t)).depth=F.depth,P.height=F.height,B.push({type:"elem",elem:P,shift:M})}for(n=0,T=0;n<a||T<O.length;++n,++T){for(var R=O[T]||{},L=!0;"separator"===R.type;){if(L||((D=MO.makeSpan(["arraycolsep"],[])).style.width=Sk(t.fontMetrics().doubleRuleSep),N.push(D)),"|"!==R.separator&&":"!==R.separator)throw new jT("Invalid separator type: "+R.separator);var _="|"===R.separator?"solid":"dashed",z=MO.makeSpan(["vertical-separator"],[],t);z.style.height=Sk(v),z.style.borderRightWidth=Sk(l),z.style.borderRightStyle=_,z.style.margin="0 "+Sk(-l/2);var j=v-k;j&&(z.style.verticalAlign=Sk(-j)),N.push(z),R=O[++T]||{},L=!1}if(!(n>=a)){var H=void 0;(n>0||e.hskipBeforeAndAfter)&&0!==(H=qT.deflt(R.pregap,d))&&((D=MO.makeSpan(["arraycolsep"],[])).style.width=Sk(H),N.push(D));var $=[];for(r=0;r<o;++r){var U=s[r],V=U[n];if(V){var q=U.pos-k;V.depth=U.depth,V.height=U.height,$.push({type:"elem",elem:V,shift:q})}}$=MO.makeVList({positionType:"individualShift",children:$},t),$=MO.makeSpan(["col-align-"+(R.align||"c")],[$]),N.push($),(n<a-1||e.hskipBeforeAndAfter)&&0!==(H=qT.deflt(R.postgap,d))&&((D=MO.makeSpan(["arraycolsep"],[])).style.width=Sk(H),N.push(D))}}if(s=MO.makeSpan(["mtable"],N),u.length>0){for(var G=MO.makeLineSpan("hline",t,l),W=MO.makeLineSpan("hdashline",t,l),Y=[{type:"elem",elem:s,shift:0}];u.length>0;){var K=u.pop(),X=K.pos-k;K.isDashed?Y.push({type:"elem",elem:W,shift:X}):Y.push({type:"elem",elem:G,shift:X})}s=MO.makeVList({positionType:"individualShift",children:Y},t)}if(0===B.length)return MO.makeSpan(["mord"],[s],t);var Z=MO.makeVList({positionType:"individualShift",children:B},t);return Z=MO.makeSpan(["tag"],[Z],t),MO.makeFragment([s,Z])},BB={c:"center ",l:"left ",r:"right "},FB=function(e,t){for(var r=[],n=new lN.MathNode("mtd",[],["mtr-glue"]),o=new lN.MathNode("mtd",[],["mml-eqn-num"]),i=0;i<e.body.length;i++){for(var a=e.body[i],s=[],u=0;u<a.length;u++)s.push(new lN.MathNode("mtd",[mN(a[u],t)]));e.tags&&e.tags[i]&&(s.unshift(n),s.push(n),e.leqno?s.unshift(o):s.push(o)),r.push(new lN.MathNode("mtr",s))}var l=new lN.MathNode("mtable",r),c=.5===e.arraystretch?.1:.16+e.arraystretch-1+(e.addJot?.09:0);l.setAttribute("rowspacing",Sk(c));var d="",f="";if(e.cols&&e.cols.length>0){var h=e.cols,p="",g=!1,m=0,v=h.length;"separator"===h[0].type&&(d+="top ",m=1),"separator"===h[h.length-1].type&&(d+="bottom ",v-=1);for(var y=m;y<v;y++)"align"===h[y].type?(f+=BB[h[y].align],g&&(p+="none "),g=!0):"separator"===h[y].type&&g&&(p+="|"===h[y].separator?"solid ":"dashed ",g=!1);l.setAttribute("columnalign",f.trim()),/[sd]/.test(p)&&l.setAttribute("columnlines",p.trim())}if("align"===e.colSeparationType){for(var b=e.cols||[],w="",E=1;E<b.length;E++)w+=E%2?"0em ":"1em ";l.setAttribute("columnspacing",w.trim())}else"alignat"===e.colSeparationType||"gather"===e.colSeparationType?l.setAttribute("columnspacing","0em"):"small"===e.colSeparationType?l.setAttribute("columnspacing","0.2778em"):"CD"===e.colSeparationType?l.setAttribute("columnspacing","0.5em"):l.setAttribute("columnspacing","1em");var x="",S=e.hLinesBeforeRow;d+=S[0].length>0?"left ":"",d+=S[S.length-1].length>0?"right ":"";for(var C=1;C<S.length-1;C++)x+=0===S[C].length?"none ":S[C][0]?"dashed ":"solid ";return/[sd]/.test(x)&&l.setAttribute("rowlines",x.trim()),""!==d&&(l=new lN.MathNode("menclose",[l])).setAttribute("notation",d.trim()),e.arraystretch&&e.arraystretch<1&&(l=new lN.MathNode("mstyle",[l])).setAttribute("scriptlevel","1"),l},MB=function(e,t){-1===e.envName.indexOf("ed")&&DB(e);var r,n=[],o=e.envName.indexOf("at")>-1?"alignat":"align",i="split"===e.envName,a=kB(e.parser,{cols:n,addJot:!0,autoTag:i?void 0:TB(e.envName),emptySingleRow:!0,colSeparationType:o,maxNumCols:i?2:void 0,leqno:e.parser.settings.leqno},"display"),s=0,u={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){for(var l="",c=0;c<t[0].body.length;c++){l+=AN(t[0].body[c],"textord").text}r=Number(l),s=2*r}var d=!s;a.body.forEach(function(e){for(var t=1;t<e.length;t+=2){var n=AN(e[t],"styling");AN(n.body[0],"ordgroup").body.unshift(u)}if(d)s<e.length&&(s=e.length);else{var o=e.length/2;if(r<o)throw new jT("Too many math in a row: expected "+r+", but got "+o,e[0])}});for(var f=0;f<s;++f){var h="r",p=0;f%2==1?h="l":f>0&&d&&(p=1),n[f]={type:"align",align:h,pregap:p,postgap:0}}return a.colSeparationType=d?"align":"alignat",a};xB({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=(TN(t[0])?[t[0]]:AN(t[0],"ordgroup").body).map(function(e){var t=DN(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 jT("Unknown column alignment: "+t,e)}),n={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return kB(e.parser,n,OB(e.envName))},htmlBuilder:NB,mathmlBuilder:FB}),xB({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 jT("Expected l or c or r",o.nextToken);o.consume(),o.consumeSpaces(),o.expect("]"),o.consume(),n.cols=[{type:"align",align:r}]}}var i=kB(e.parser,n,OB(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:NB,mathmlBuilder:FB}),xB({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t=kB(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:NB,mathmlBuilder:FB}),xB({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=(TN(t[0])?[t[0]]:AN(t[0],"ordgroup").body).map(function(e){var t=DN(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new jT("Unknown column alignment: "+t,e)});if(r.length>1)throw new jT("{subarray} can contain only one column");var n={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5};if((n=kB(e.parser,n,"script")).body.length>0&&n.body[0].length>1)throw new jT("{subarray} can contain only one column");return n},htmlBuilder:NB,mathmlBuilder:FB}),xB({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t=kB(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},OB(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:NB,mathmlBuilder:FB}),xB({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:MB,htmlBuilder:NB,mathmlBuilder:FB}),xB({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){["gather","gather*"].includes(e.envName)&&DB(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:TB(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return kB(e.parser,t,"display")},htmlBuilder:NB,mathmlBuilder:FB}),xB({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:MB,htmlBuilder:NB,mathmlBuilder:FB}),xB({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){DB(e);var t={autoTag:TB(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return kB(e.parser,t,"display")},htmlBuilder:NB,mathmlBuilder:FB}),xB({type:"array",names:["CD"],props:{numArgs:0},handler:e=>(DB(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 jT("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=LN(),u=0;u<a.length;u++)if(_N(a[u])){n.push(s);var l=DN(a[u+=1]).text,c=new Array(2);if(c[0]={type:"ordgroup",mode:"math",body:[]},c[1]={type:"ordgroup",mode:"math",body:[]},"=|.".indexOf(l)>-1);else{if(!("<>AV".indexOf(l)>-1))throw new jT('Expected one of "<>AV=|." after @',a[u]);for(var d=0;d<2;d++){for(var f=!0,h=u+1;h<a.length;h++){if(zN(a[h],l)){f=!1,u=h;break}if(_N(a[h]))throw new jT("Missing a "+l+" character to complete a CD arrow.",a[h]);c[d].body.push(a[h])}if(f)throw new jT("Missing a "+l+" character to complete a CD arrow.",a[u])}}var p={type:"styling",body:[jN(l,c,e)],mode:"math",style:"display"};n.push(p),s=LN()}else s.body.push(a[u]);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:NB,mathmlBuilder:FB}),CB("\\nonumber","\\gdef\\@eqnsw{0}"),CB("\\notag","\\nonumber"),$O({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new jT(e.funcName+" valid only within array environment")}});var IB=EB;$O({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 jT("Invalid environment name",o);for(var i="",a=0;a<o.body.length;++a)i+=AN(o.body[a],"textord").text;if("\\begin"===n){if(!IB.hasOwnProperty(i))throw new jT("No such environment: "+i,o);var s=IB[i],{args:u,optArgs:l}=r.parseArguments("\\begin{"+i+"}",s),c={mode:r.mode,envName:i,parser:r},d=s.handler(c,u,l);r.expect("\\end",!1);var f=r.nextToken,h=AN(r.parseFunction(),"environment");if(h.name!==i)throw new jT("Mismatch: \\begin{"+i+"} matched by \\end{"+h.name+"}",f);return d}return{type:"environment",mode:r.mode,name:i,nameGroup:o}}});var PB=(e,t)=>{var r=e.font,n=t.withFont(r);return nN(e.body,n)},RB=(e,t)=>{var r=e.font,n=t.withFont(r);return mN(e.body,n)},LB={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};$O({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=VO(t[0]),i=n;return i in LB&&(i=LB[i]),{type:"font",mode:r.mode,font:i.slice(1),body:o}},htmlBuilder:PB,mathmlBuilder:RB}),$O({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0],o=qT.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:PN(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:o}}}),$O({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:PB,mathmlBuilder:RB});var _B=(e,t)=>{var r=t;return"display"===e?r=r.id>=nk.SCRIPT.id?r.text():nk.DISPLAY:"text"===e&&r.size===nk.DISPLAY.size?r=nk.TEXT:"script"===e?r=nk.SCRIPT:"scriptscript"===e&&(r=nk.SCRIPTSCRIPT),r},zB=(e,t)=>{var r,n=_B(e.size,t.style),o=n.fracNum(),i=n.fracDen();r=t.havingStyle(o);var a=nN(e.numer,r,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,u=3.5/t.fontMetrics().ptPerEm;a.height=a.height<s?s:a.height,a.depth=a.depth<u?u:a.depth}r=t.havingStyle(i);var l,c,d,f,h,p,g,m,v,y,b=nN(e.denom,r,t);if(e.hasBarLine?(e.barSize?(c=xk(e.barSize,t),l=MO.makeLineSpan("frac-line",t,c)):l=MO.makeLineSpan("frac-line",t),c=l.height,d=l.height):(l=null,c=0,d=t.fontMetrics().defaultRuleThickness),n.size===nk.DISPLAY.size||"display"===e.size?(f=t.fontMetrics().num1,h=c>0?3*d:7*d,p=t.fontMetrics().denom1):(c>0?(f=t.fontMetrics().num2,h=d):(f=t.fontMetrics().num3,h=3*d),p=t.fontMetrics().denom2),l){var w=t.fontMetrics().axisHeight;f-a.depth-(w+.5*c)<h&&(f+=h-(f-a.depth-(w+.5*c))),w-.5*c-(b.height-p)<h&&(p+=h-(w-.5*c-(b.height-p)));var E=-(w-.5*c);g=MO.makeVList({positionType:"individualShift",children:[{type:"elem",elem:b,shift:p},{type:"elem",elem:l,shift:E},{type:"elem",elem:a,shift:-f}]},t)}else{var x=f-a.depth-(b.height-p);x<h&&(f+=.5*(h-x),p+=.5*(h-x)),g=MO.makeVList({positionType:"individualShift",children:[{type:"elem",elem:b,shift:p},{type:"elem",elem:a,shift:-f}]},t)}return r=t.havingStyle(n),g.height*=r.sizeMultiplier/t.sizeMultiplier,g.depth*=r.sizeMultiplier/t.sizeMultiplier,m=n.size===nk.DISPLAY.size?t.fontMetrics().delim1:n.size===nk.SCRIPTSCRIPT.size?t.havingStyle(nk.SCRIPT).fontMetrics().delim2:t.fontMetrics().delim2,v=null==e.leftDelim?rN(t,["mopen"]):pB.customSizedDelim(e.leftDelim,m,!0,t.havingStyle(n),e.mode,["mopen"]),y=e.continued?MO.makeSpan([]):null==e.rightDelim?rN(t,["mclose"]):pB.customSizedDelim(e.rightDelim,m,!0,t.havingStyle(n),e.mode,["mclose"]),MO.makeSpan(["mord"].concat(r.sizingClasses(t)),[v,MO.makeSpan(["mfrac"],[g]),y],t)},jB=(e,t)=>{var r=new lN.MathNode("mfrac",[mN(e.numer,t),mN(e.denom,t)]);if(e.hasBarLine){if(e.barSize){var n=xk(e.barSize,t);r.setAttribute("linethickness",Sk(n))}}else r.setAttribute("linethickness","0px");var o=_B(e.size,t.style);if(o.size!==t.style.size){r=new lN.MathNode("mstyle",[r]);var i=o.size===nk.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 lN.MathNode("mo",[new lN.TextNode(e.leftDelim.replace("\\",""))]);s.setAttribute("fence","true"),a.push(s)}if(a.push(r),null!=e.rightDelim){var u=new lN.MathNode("mo",[new lN.TextNode(e.rightDelim.replace("\\",""))]);u.setAttribute("fence","true"),a.push(u)}return dN(a)}return r};$O({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,u=null,l="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="(",u=")";break;case"\\\\bracefrac":r=!1,s="\\{",u="\\}";break;case"\\\\brackfrac":r=!1,s="[",u="]";break;default:throw new Error("Unrecognized genfrac command")}switch(o){case"\\dfrac":case"\\dbinom":l="display";break;case"\\tfrac":case"\\tbinom":l="text"}return{type:"genfrac",mode:n.mode,continued:!1,numer:i,denom:a,hasBarLine:r,leftDelim:s,rightDelim:u,size:l,barSize:null}},htmlBuilder:zB,mathmlBuilder:jB}),$O({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}}}),$O({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 HB=["display","text","script","scriptscript"],$B=function(e){var t=null;return e.length>0&&(t="."===(t=e)?null:t),t};$O({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=VO(t[0]),s="atom"===a.type&&"open"===a.family?$B(a.text):null,u=VO(t[1]),l="atom"===u.type&&"close"===u.family?$B(u.text):null,c=AN(t[2],"size"),d=null;r=!!c.isBlank||(d=c.value).number>0;var f="auto",h=t[3];if("ordgroup"===h.type){if(h.body.length>0){var p=AN(h.body[0],"textord");f=HB[Number(p.text)]}}else h=AN(h,"textord"),f=HB[Number(h.text)];return{type:"genfrac",mode:n.mode,numer:o,denom:i,continued:!1,hasBarLine:r,barSize:d,leftDelim:s,rightDelim:l,size:f}},htmlBuilder:zB,mathmlBuilder:jB}),$O({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:AN(t[0],"size").value,token:o}}}),$O({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}(AN(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:zB,mathmlBuilder:jB});var UB=(e,t)=>{var r,n,o=t.style;"supsub"===e.type?(r=e.sup?nN(e.sup,t.havingStyle(o.sup()),t):nN(e.sub,t.havingStyle(o.sub()),t),n=AN(e.base,"horizBrace")):n=AN(e,"horizBrace");var i,a=nN(n.base,t.havingBaseStyle(nk.DISPLAY)),s=CN(n,t);if(n.isOver?(i=MO.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=MO.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 u=MO.makeSpan(["mord",n.isOver?"mover":"munder"],[i],t);i=n.isOver?MO.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:u},{type:"kern",size:.2},{type:"elem",elem:r}]},t):MO.makeVList({positionType:"bottom",positionData:u.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:u}]},t)}return MO.makeSpan(["mord",n.isOver?"mover":"munder"],[i],t)};$O({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:UB,mathmlBuilder:(e,t)=>{var r=SN(e.label);return new lN.MathNode(e.isOver?"mover":"munder",[mN(e.base,t),r])}}),$O({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],o=AN(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:o})?{type:"href",mode:r.mode,href:o,body:qO(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=ZO(e.body,t,!1);return MO.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=gN(e.body,t);return r instanceof sN||(r=new sN("mrow",[r])),r.setAttribute("href",e.href),r}}),$O({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=AN(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:qO(s)}}}),$O({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:qO(t[0])}},htmlBuilder(e,t){var r=ZO(e.body,t,!1);return MO.makeFragment(r)},mathmlBuilder:(e,t)=>new lN.MathNode("mrow",pN(e.body,t))}),$O({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=AN(t[0],"raw").string,s=t[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var u={};switch(o){case"\\htmlClass":u.class=a,r={command:"\\htmlClass",class:a};break;case"\\htmlId":u.id=a,r={command:"\\htmlId",id:a};break;case"\\htmlStyle":u.style=a,r={command:"\\htmlStyle",style:a};break;case"\\htmlData":for(var l=a.split(","),c=0;c<l.length;c++){var d=l[c].split("=");if(2!==d.length)throw new jT("Error parsing key-value for \\htmlData");u["data-"+d[0].trim()]=d[1].trim()}r={command:"\\htmlData",attributes:u};break;default:throw new Error("Unrecognized html command")}return n.settings.isTrusted(r)?{type:"html",mode:n.mode,attributes:u,body:qO(s)}:n.formatUnsupportedCmd(o)},htmlBuilder:(e,t)=>{var r=ZO(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var o=MO.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)=>gN(e.body,t)}),$O({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:qO(t[0]),mathml:qO(t[1])}},htmlBuilder:(e,t)=>{var r=ZO(e.html,t,!1);return MO.makeFragment(r)},mathmlBuilder:(e,t)=>gN(e.mathml,t)});var VB=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 jT("Invalid size: '"+e+"' in \\includegraphics");var r={number:+(t[1]+t[2]),unit:t[3]};if(!Ek(r))throw new jT("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};$O({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 u=AN(r[0],"raw").string.split(","),l=0;l<u.length;l++){var c=u[l].split("=");if(2===c.length){var d=c[1].trim();switch(c[0].trim()){case"alt":s=d;break;case"width":o=VB(d);break;case"height":i=VB(d);break;case"totalheight":a=VB(d);break;default:throw new jT("Invalid key: '"+c[0]+"' in \\includegraphics.")}}}var f=AN(t[0],"url").url;return""===s&&(s=(s=(s=f).replace(/^.*[\\/]/,"")).substring(0,s.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:f})?{type:"includegraphics",mode:n.mode,alt:s,width:o,height:i,totalheight:a,src:f}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=xk(e.height,t),n=0;e.totalheight.number>0&&(n=xk(e.totalheight,t)-r);var o=0;e.width.number>0&&(o=xk(e.width,t));var i={height:Sk(r+n)};o>0&&(i.width=Sk(o)),n>0&&(i.verticalAlign=Sk(-n));var a=new Bk(e.src,e.alt,i);return a.height=r,a.depth=n,a},mathmlBuilder:(e,t)=>{var r=new lN.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var n=xk(e.height,t),o=0;if(e.totalheight.number>0&&(o=xk(e.totalheight,t)-n,r.setAttribute("valign",Sk(-o))),r.setAttribute("height",Sk(n+o)),e.width.number>0){var i=xk(e.width,t);r.setAttribute("width",Sk(i))}return r.setAttribute("src",e.src),r}}),$O({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=AN(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)=>MO.makeGlue(e.dimension,t),mathmlBuilder(e,t){var r=xk(e.dimension,t);return new lN.SpaceNode(r)}}),$O({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=MO.makeSpan([],[nN(e.body,t)]),r=MO.makeSpan(["inner"],[r],t)):r=MO.makeSpan(["inner"],[nN(e.body,t)]);var n=MO.makeSpan(["fix"],[]),o=MO.makeSpan([e.alignment],[r,n],t),i=MO.makeSpan(["strut"]);return i.style.height=Sk(o.height+o.depth),o.depth&&(i.style.verticalAlign=Sk(-o.depth)),o.children.unshift(i),o=MO.makeSpan(["thinbox"],[o],t),MO.makeSpan(["mord","vbox"],[o],t)},mathmlBuilder:(e,t)=>{var r=new lN.MathNode("mpadded",[mN(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}}),$O({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}}}),$O({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new jT("Mismatched "+e.funcName)}});var qB=(e,t)=>{switch(t.style.size){case nk.DISPLAY.size:return e.display;case nk.TEXT.size:return e.text;case nk.SCRIPT.size:return e.script;case nk.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};$O({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:qO(t[0]),text:qO(t[1]),script:qO(t[2]),scriptscript:qO(t[3])}},htmlBuilder:(e,t)=>{var r=qB(e,t),n=ZO(r,t,!1);return MO.makeFragment(n)},mathmlBuilder:(e,t)=>{var r=qB(e,t);return gN(r,t)}});var GB=(e,t,r,n,o,i,a)=>{e=MO.makeSpan([],[e]);var s,u,l,c=r&&qT.isCharacterBox(r);if(t){var d=nN(t,n.havingStyle(o.sup()),n);u={elem:d,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-d.depth)}}if(r){var f=nN(r,n.havingStyle(o.sub()),n);s={elem:f,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-f.height)}}if(u&&s){var h=n.fontMetrics().bigOpSpacing5+s.elem.height+s.elem.depth+s.kern+e.depth+a;l=MO.makeVList({positionType:"bottom",positionData:h,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:Sk(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:Sk(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(s){var p=e.height-a;l=MO.makeVList({positionType:"top",positionData:p,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:s.elem,marginLeft:Sk(-i)},{type:"kern",size:s.kern},{type:"elem",elem:e}]},n)}else{if(!u)return e;var g=e.depth+a;l=MO.makeVList({positionType:"bottom",positionData:g,children:[{type:"elem",elem:e},{type:"kern",size:u.kern},{type:"elem",elem:u.elem,marginLeft:Sk(i)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}var m=[l];if(s&&0!==i&&!c){var v=MO.makeSpan(["mspace"],[],n);v.style.marginRight=Sk(i),m.unshift(v)}return MO.makeSpan(["mop","op-limits"],m,n)},WB=["\\smallint"],YB=(e,t)=>{var r,n,o,i=!1;"supsub"===e.type?(r=e.sup,n=e.sub,o=AN(e.base,"op"),i=!0):o=AN(e,"op");var a,s=t.style,u=!1;if(s.size===nk.DISPLAY.size&&o.symbol&&!WB.includes(o.name)&&(u=!0),o.symbol){var l=u?"Size2-Regular":"Size1-Regular",c="";if("\\oiint"!==o.name&&"\\oiiint"!==o.name||(c=o.name.slice(1),o.name="oiint"===c?"\\iint":"\\iiint"),a=MO.makeSymbol(o.name,l,"math",t,["mop","op-symbol",u?"large-op":"small-op"]),c.length>0){var d=a.italic,f=MO.staticSvg(c+"Size"+(u?"2":"1"),t);a=MO.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:0},{type:"elem",elem:f,shift:u?.08:0}]},t),o.name="\\"+c,a.classes.unshift("mop"),a.italic=d}}else if(o.body){var h=ZO(o.body,t,!0);1===h.length&&h[0]instanceof Mk?(a=h[0]).classes[0]="mop":a=MO.makeSpan(["mop"],h,t)}else{for(var p=[],g=1;g<o.name.length;g++)p.push(MO.mathsym(o.name[g],o.mode,t));a=MO.makeSpan(["mop"],p,t)}var m=0,v=0;return(a instanceof Mk||"\\oiint"===o.name||"\\oiiint"===o.name)&&!o.suppressBaseShift&&(m=(a.height-a.depth)/2-t.fontMetrics().axisHeight,v=a.italic),i?GB(a,r,n,t,s,v,m):(m&&(a.style.position="relative",a.style.top=Sk(m)),a)},KB=(e,t)=>{var r;if(e.symbol)r=new sN("mo",[cN(e.name,e.mode)]),WB.includes(e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new sN("mo",pN(e.body,t));else{r=new sN("mi",[new uN(e.name.slice(1))]);var n=new sN("mo",[cN("⁡","text")]);r=e.parentIsSupSub?new sN("mrow",[r,n]):aN([r,n])}return r},XB={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};$O({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=XB[o]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:o}},htmlBuilder:YB,mathmlBuilder:KB}),$O({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:qO(n)}},htmlBuilder:YB,mathmlBuilder:KB});var ZB={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};$O({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:YB,mathmlBuilder:KB}),$O({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:YB,mathmlBuilder:KB}),$O({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=ZB[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:YB,mathmlBuilder:KB});var JB=(e,t)=>{var r,n,o,i,a=!1;if("supsub"===e.type?(r=e.sup,n=e.sub,o=AN(e.base,"operatorname"),a=!0):o=AN(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}),u=ZO(s,t.withFont("mathrm"),!0),l=0;l<u.length;l++){var c=u[l];c instanceof Mk&&(c.text=c.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}i=MO.makeSpan(["mop"],u,t)}else i=MO.makeSpan(["mop"],[],t);return a?GB(i,r,n,t,t.style,0,0):i};function QB(e,t,r){for(var n=ZO(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 MO.makeFragment(n)}$O({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:qO(o),alwaysHandleSupSub:"\\operatornamewithlimits"===n,limits:!1,parentIsSupSub:!1}},htmlBuilder:JB,mathmlBuilder:(e,t)=>{for(var r=pN(e.body,t.withFont("mathrm")),n=!0,o=0;o<r.length;o++){var i=r[o];if(i instanceof lN.SpaceNode);else if(i instanceof lN.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 lN.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 lN.TextNode(s)]}var u=new lN.MathNode("mi",r);u.setAttribute("mathvariant","normal");var l=new lN.MathNode("mo",[cN("⁡","text")]);return e.parentIsSupSub?new lN.MathNode("mrow",[u,l]):lN.newDocumentFragment([u,l])}}),CB("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),UO({type:"ordgroup",htmlBuilder:(e,t)=>e.semisimple?MO.makeFragment(ZO(e.body,t,!1)):MO.makeSpan(["mord"],ZO(e.body,t,!0),t),mathmlBuilder:(e,t)=>gN(e.body,t,!0)}),$O({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=nN(e.body,t.havingCrampedStyle()),n=MO.makeLineSpan("overline-line",t),o=t.fontMetrics().defaultRuleThickness,i=MO.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*o},{type:"elem",elem:n},{type:"kern",size:o}]},t);return MO.makeSpan(["mord","overline"],[i],t)},mathmlBuilder(e,t){var r=new lN.MathNode("mo",[new lN.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new lN.MathNode("mover",[mN(e.body,t),r]);return n.setAttribute("accent","true"),n}}),$O({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:qO(n)}},htmlBuilder:(e,t)=>{var r=ZO(e.body,t.withPhantom(),!1);return MO.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=pN(e.body,t);return new lN.MathNode("mphantom",r)}}),$O({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=MO.makeSpan([],[nN(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=MO.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t),MO.makeSpan(["mord"],[r],t)},mathmlBuilder:(e,t)=>{var r=pN(qO(e.body),t),n=new lN.MathNode("mphantom",r),o=new lN.MathNode("mpadded",[n]);return o.setAttribute("height","0px"),o.setAttribute("depth","0px"),o}}),$O({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=MO.makeSpan(["inner"],[nN(e.body,t.withPhantom())]),n=MO.makeSpan(["fix"],[]);return MO.makeSpan(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=pN(qO(e.body),t),n=new lN.MathNode("mphantom",r),o=new lN.MathNode("mpadded",[n]);return o.setAttribute("width","0px"),o}}),$O({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=AN(t[0],"size").value,o=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:o}},htmlBuilder(e,t){var r=nN(e.body,t),n=xk(e.dy,t);return MO.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new lN.MathNode("mpadded",[mN(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}}),$O({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),$O({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=AN(t[0],"size"),a=AN(t[1],"size");return{type:"rule",mode:n.mode,shift:o&&AN(o,"size").value,width:i.value,height:a.value}},htmlBuilder(e,t){var r=MO.makeSpan(["mord","rule"],[],t),n=xk(e.width,t),o=xk(e.height,t),i=e.shift?xk(e.shift,t):0;return r.style.borderRightWidth=Sk(n),r.style.borderTopWidth=Sk(o),r.style.bottom=Sk(i),r.width=n,r.height=o+i,r.depth=-i,r.maxFontSize=1.125*o*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=xk(e.width,t),n=xk(e.height,t),o=e.shift?xk(e.shift,t):0,i=t.color&&t.getColor()||"black",a=new lN.MathNode("mspace");a.setAttribute("mathbackground",i),a.setAttribute("width",Sk(r)),a.setAttribute("height",Sk(n));var s=new lN.MathNode("mpadded",[a]);return o>=0?s.setAttribute("height",Sk(o)):(s.setAttribute("height",Sk(o)),s.setAttribute("depth",Sk(-o))),s.setAttribute("voffset",Sk(o)),s}});var eF=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];$O({type:"sizing",names:eF,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:eF.indexOf(n)+1,body:i}},htmlBuilder:(e,t)=>{var r=t.havingSize(e.size);return QB(e.body,r,t)},mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=pN(e.body,r),o=new lN.MathNode("mstyle",n);return o.setAttribute("mathsize",Sk(r.sizeMultiplier)),o}}),$O({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]&&AN(r[0],"ordgroup");if(a)for(var s="",u=0;u<a.body.length;++u){if("t"===(s=a.body[u].text))o=!0;else{if("b"!==s){o=!1,i=!1;break}i=!0}}else o=!0,i=!0;var l=t[0];return{type:"smash",mode:n.mode,body:l,smashHeight:o,smashDepth:i}},htmlBuilder:(e,t)=>{var r=MO.makeSpan([],[nN(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=MO.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t);return MO.makeSpan(["mord"],[i],t)},mathmlBuilder:(e,t)=>{var r=new lN.MathNode("mpadded",[mN(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}}),$O({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=nN(e.body,t.havingCrampedStyle());0===r.height&&(r.height=t.fontMetrics().xHeight),r=MO.wrapFragment(r,t);var n=t.fontMetrics().defaultRuleThickness,o=n;t.style.id<nk.TEXT.id&&(o=t.fontMetrics().xHeight);var i=n+o/4,a=r.height+r.depth+i+n,{span:s,ruleWidth:u,advanceWidth:l}=pB.sqrtImage(a,t),c=s.height-u;c>r.height+r.depth+i&&(i=(i+c-r.height-r.depth)/2);var d=s.height-r.height-i-u;r.style.paddingLeft=Sk(l);var f=MO.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+d)},{type:"elem",elem:s},{type:"kern",size:u}]},t);if(e.index){var h=t.havingStyle(nk.SCRIPTSCRIPT),p=nN(e.index,h,t),g=.6*(f.height-f.depth),m=MO.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:p}]},t),v=MO.makeSpan(["root"],[m]);return MO.makeSpan(["mord","sqrt"],[v,f],t)}return MO.makeSpan(["mord","sqrt"],[f],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new lN.MathNode("mroot",[mN(r,t),mN(n,t)]):new lN.MathNode("msqrt",[mN(r,t)])}});var tF={display:nk.DISPLAY,text:nk.TEXT,script:nk.SCRIPT,scriptscript:nk.SCRIPTSCRIPT};$O({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=tF[e.style],n=t.havingStyle(r).withFont("");return QB(e.body,n,t)},mathmlBuilder(e,t){var r=tF[e.style],n=t.havingStyle(r),o=pN(e.body,n),i=new lN.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}});UO({type:"supsub",htmlBuilder(e,t){var r=function(e,t){var r=e.base;return r?"op"===r.type?r.limits&&(t.style.size===nk.DISPLAY.size||r.alwaysHandleSupSub)?YB:null:"operatorname"===r.type?r.alwaysHandleSupSub&&(t.style.size===nk.DISPLAY.size||r.limits)?JB:null:"accent"===r.type?qT.isCharacterBox(r.base)?kN:null:"horizBrace"===r.type&&!e.sub===r.isOver?UB:null:null}(e,t);if(r)return r(e,t);var n,o,i,{base:a,sup:s,sub:u}=e,l=nN(a,t),c=t.fontMetrics(),d=0,f=0,h=a&&qT.isCharacterBox(a);if(s){var p=t.havingStyle(t.style.sup());n=nN(s,p,t),h||(d=l.height-p.fontMetrics().supDrop*p.sizeMultiplier/t.sizeMultiplier)}if(u){var g=t.havingStyle(t.style.sub());o=nN(u,g,t),h||(f=l.depth+g.fontMetrics().subDrop*g.sizeMultiplier/t.sizeMultiplier)}i=t.style===nk.DISPLAY?c.sup1:t.style.cramped?c.sup3:c.sup2;var m,v=t.sizeMultiplier,y=Sk(.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);(l instanceof Mk||w)&&(b=Sk(-l.italic))}if(n&&o){d=Math.max(d,i,n.depth+.25*c.xHeight),f=Math.max(f,c.sub2);var E=4*c.defaultRuleThickness;if(d-n.depth-(o.height-f)<E){f=E-(d-n.depth)+o.height;var x=.8*c.xHeight-(d-n.depth);x>0&&(d+=x,f-=x)}var S=[{type:"elem",elem:o,shift:f,marginRight:y,marginLeft:b},{type:"elem",elem:n,shift:-d,marginRight:y}];m=MO.makeVList({positionType:"individualShift",children:S},t)}else if(o){f=Math.max(f,c.sub1,o.height-.8*c.xHeight);var C=[{type:"elem",elem:o,marginLeft:b,marginRight:y}];m=MO.makeVList({positionType:"shift",positionData:f,children:C},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=MO.makeVList({positionType:"shift",positionData:-d,children:[{type:"elem",elem:n,marginRight:y}]},t)}var A=tN(l,"right")||"mord";return MO.makeSpan([A],[l,MO.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=[mN(e.base,t)];if(e.sub&&i.push(mN(e.sub,t)),e.sup&&i.push(mN(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===nk.DISPLAY||a&&"operatorname"===a.type&&a.alwaysHandleSupSub&&(t.style===nk.DISPLAY||a.limits)?"munderover":"msubsup"}else{var s=e.base;o=s&&"op"===s.type&&s.limits&&(t.style===nk.DISPLAY||s.alwaysHandleSupSub)||s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(s.limits||t.style===nk.DISPLAY)?"munder":"msub"}else{var u=e.base;o=u&&"op"===u.type&&u.limits&&(t.style===nk.DISPLAY||u.alwaysHandleSupSub)||u&&"operatorname"===u.type&&u.alwaysHandleSupSub&&(u.limits||t.style===nk.DISPLAY)?"mover":"msup"}return new lN.MathNode(o,i)}}),UO({type:"atom",htmlBuilder:(e,t)=>MO.mathsym(e.text,e.mode,t,["m"+e.family]),mathmlBuilder(e,t){var r=new lN.MathNode("mo",[cN(e.text,e.mode)]);if("bin"===e.family){var n=fN(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 rF={mi:"italic",mn:"normal",mtext:"normal"};UO({type:"mathord",htmlBuilder:(e,t)=>MO.makeOrd(e,t,"mathord"),mathmlBuilder(e,t){var r=new lN.MathNode("mi",[cN(e.text,e.mode,t)]),n=fN(e,t)||"italic";return n!==rF[r.type]&&r.setAttribute("mathvariant",n),r}}),UO({type:"textord",htmlBuilder:(e,t)=>MO.makeOrd(e,t,"textord"),mathmlBuilder(e,t){var r,n=cN(e.text,e.mode,t),o=fN(e,t)||"normal";return r="text"===e.mode?new lN.MathNode("mtext",[n]):/[0-9]/.test(e.text)?new lN.MathNode("mn",[n]):"\\prime"===e.text?new lN.MathNode("mo",[n]):new lN.MathNode("mi",[n]),o!==rF[r.type]&&r.setAttribute("mathvariant",o),r}});var nF={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},oF={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};UO({type:"spacing",htmlBuilder(e,t){if(oF.hasOwnProperty(e.text)){var r=oF[e.text].className||"";if("text"===e.mode){var n=MO.makeOrd(e,t,"textord");return n.classes.push(r),n}return MO.makeSpan(["mspace",r],[MO.mathsym(e.text,e.mode,t)],t)}if(nF.hasOwnProperty(e.text))return MO.makeSpan(["mspace",nF[e.text]],[],t);throw new jT('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){if(!oF.hasOwnProperty(e.text)){if(nF.hasOwnProperty(e.text))return new lN.MathNode("mspace");throw new jT('Unknown type of space "'+e.text+'"')}return new lN.MathNode("mtext",[new lN.TextNode(" ")])}});var iF=()=>{var e=new lN.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};UO({type:"tag",mathmlBuilder(e,t){var r=new lN.MathNode("mtable",[new lN.MathNode("mtr",[iF(),new lN.MathNode("mtd",[gN(e.body,t)]),iF(),new lN.MathNode("mtd",[gN(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var aF={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},sF={"\\textbf":"textbf","\\textmd":"textmd"},uF={"\\textit":"textit","\\textup":"textup"},lF=(e,t)=>{var r=e.font;return r?aF[r]?t.withTextFontFamily(aF[r]):sF[r]?t.withTextFontWeight(sF[r]):"\\emph"===r?"textit"===t.fontShape?t.withTextFontShape("textup"):t.withTextFontShape("textit"):t.withTextFontShape(uF[r]):t};$O({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:qO(o),font:n}},htmlBuilder(e,t){var r=lF(e,t),n=ZO(e.body,r,!0);return MO.makeSpan(["mord","text"],n,r)},mathmlBuilder(e,t){var r=lF(e,t);return gN(e.body,r)}}),$O({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=nN(e.body,t),n=MO.makeLineSpan("underline-line",t),o=t.fontMetrics().defaultRuleThickness,i=MO.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 MO.makeSpan(["mord","underline"],[i],t)},mathmlBuilder(e,t){var r=new lN.MathNode("mo",[new lN.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new lN.MathNode("munder",[mN(e.body,t),r]);return n.setAttribute("accentunder","true"),n}}),$O({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=nN(e.body,t),n=t.fontMetrics().axisHeight,o=.5*(r.height-n-(r.depth+n));return MO.makeVList({positionType:"shift",positionData:o,children:[{type:"elem",elem:r}]},t)},mathmlBuilder:(e,t)=>new lN.MathNode("mpadded",[mN(e.body,t)],["vcenter"])}),$O({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new jT("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=cF(e),n=[],o=t.havingStyle(t.style.text()),i=0;i<r.length;i++){var a=r[i];"~"===a&&(a="\\textasciitilde"),n.push(MO.makeSymbol(a,"Typewriter-Regular",e.mode,o,["mord","texttt"]))}return MO.makeSpan(["mord","text"].concat(o.sizingClasses(t)),MO.tryCombineChars(n),o)},mathmlBuilder(e,t){var r=new lN.TextNode(cF(e)),n=new lN.MathNode("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var cF=e=>e.body.replace(/ /g,e.star?"␣":" "),dF=zO,fF="[ \r\n\t]",hF="(\\\\[a-zA-Z@]+)"+fF+"*",pF="[̀-ͯ]",gF=new RegExp(pF+"+$"),mF="("+fF+"+)|\\\\(\n|[ \r\t]+\n?)[ \r\t]*|([!-\\[\\]-‧‪-퟿豈-￿]"+pF+"*|[\ud800-\udbff][\udc00-\udfff]"+pF+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5|"+hF+"|\\\\[^\ud800-\udfff])";class vF{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(mF,"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 zT("EOF",new _T(this,t,t));var r=this.tokenRegex.exec(e);if(null===r||r.index!==t)throw new jT("Unexpected character: '"+e[t]+"'",new zT(e[t],new _T(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 zT(n,new _T(this,t,this.tokenRegex.lastIndex))}}class yF{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 jT("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 bF=SB;CB("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}}),CB("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}}),CB("\\@firstoftwo",function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}}),CB("\\@secondoftwo",function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}}),CB("\\@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}}),CB("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),CB("\\TextOrMath",function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var wF={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};CB("\\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 jT("\\char` missing argument");n=r.text.charCodeAt(0)}else t=10;if(t){if(null==(n=wF[r.text])||n>=t)throw new jT("Invalid base-"+t+" digit "+r.text);for(var o;null!=(o=wF[e.future().text])&&o<t;)n*=t,n+=o,e.popToken()}return"\\@char{"+n+"}"});var EF=(e,t,r,n)=>{var o=e.consumeArg().tokens;if(1!==o.length)throw new jT("\\newcommand's first argument must be a macro name");var i=o[0].text,a=e.isDefined(i);if(a&&!t)throw new jT("\\newcommand{"+i+"} attempting to redefine "+i+"; use \\renewcommand");if(!a&&!r)throw new jT("\\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 u="",l=e.expandNextToken();"]"!==l.text&&"EOF"!==l.text;)u+=l.text,l=e.expandNextToken();if(!u.match(/^\s*[0-9]+\s*$/))throw new jT("Invalid number of arguments: "+u);s=parseInt(u),o=e.consumeArg().tokens}return a&&n||e.macros.set(i,{tokens:o,numArgs:s}),""};CB("\\newcommand",e=>EF(e,!1,!0,!1)),CB("\\renewcommand",e=>EF(e,!0,!1,!1)),CB("\\providecommand",e=>EF(e,!0,!0,!0)),CB("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(e=>e.text).join("")),""}),CB("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(e=>e.text).join("")),""}),CB("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),dF[r],jk.math[r],jk.text[r]),""}),CB("\\bgroup","{"),CB("\\egroup","}"),CB("~","\\nobreakspace"),CB("\\lq","`"),CB("\\rq","'"),CB("\\aa","\\r a"),CB("\\AA","\\r A"),CB("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),CB("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),CB("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),CB("ℬ","\\mathscr{B}"),CB("ℰ","\\mathscr{E}"),CB("ℱ","\\mathscr{F}"),CB("ℋ","\\mathscr{H}"),CB("ℐ","\\mathscr{I}"),CB("ℒ","\\mathscr{L}"),CB("ℳ","\\mathscr{M}"),CB("ℛ","\\mathscr{R}"),CB("ℭ","\\mathfrak{C}"),CB("ℌ","\\mathfrak{H}"),CB("ℨ","\\mathfrak{Z}"),CB("\\Bbbk","\\Bbb{k}"),CB("·","\\cdotp"),CB("\\llap","\\mathllap{\\textrm{#1}}"),CB("\\rlap","\\mathrlap{\\textrm{#1}}"),CB("\\clap","\\mathclap{\\textrm{#1}}"),CB("\\mathstrut","\\vphantom{(}"),CB("\\underbar","\\underline{\\text{#1}}"),CB("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),CB("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),CB("\\ne","\\neq"),CB("≠","\\neq"),CB("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),CB("∉","\\notin"),CB("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),CB("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),CB("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),CB("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),CB("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),CB("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),CB("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),CB("⟂","\\perp"),CB("‼","\\mathclose{!\\mkern-0.8mu!}"),CB("∌","\\notni"),CB("⌜","\\ulcorner"),CB("⌝","\\urcorner"),CB("⌞","\\llcorner"),CB("⌟","\\lrcorner"),CB("©","\\copyright"),CB("®","\\textregistered"),CB("️","\\textregistered"),CB("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),CB("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),CB("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),CB("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),CB("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),CB("⋮","\\vdots"),CB("\\varGamma","\\mathit{\\Gamma}"),CB("\\varDelta","\\mathit{\\Delta}"),CB("\\varTheta","\\mathit{\\Theta}"),CB("\\varLambda","\\mathit{\\Lambda}"),CB("\\varXi","\\mathit{\\Xi}"),CB("\\varPi","\\mathit{\\Pi}"),CB("\\varSigma","\\mathit{\\Sigma}"),CB("\\varUpsilon","\\mathit{\\Upsilon}"),CB("\\varPhi","\\mathit{\\Phi}"),CB("\\varPsi","\\mathit{\\Psi}"),CB("\\varOmega","\\mathit{\\Omega}"),CB("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),CB("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),CB("\\boxed","\\fbox{$\\displaystyle{#1}$}"),CB("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),CB("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),CB("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),CB("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),CB("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var xF={",":"\\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"};CB("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in xF?t=xF[r]:("\\not"===r.slice(0,4)||r in jk.math&&["bin","rel"].includes(jk.math[r].group))&&(t="\\dotsb"),t});var SF={")":!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};CB("\\dotso",function(e){return e.future().text in SF?"\\ldots\\,":"\\ldots"}),CB("\\dotsc",function(e){var t=e.future().text;return t in SF&&","!==t?"\\ldots\\,":"\\ldots"}),CB("\\cdots",function(e){return e.future().text in SF?"\\@cdots\\,":"\\@cdots"}),CB("\\dotsb","\\cdots"),CB("\\dotsm","\\cdots"),CB("\\dotsi","\\!\\cdots"),CB("\\dotsx","\\ldots\\,"),CB("\\DOTSI","\\relax"),CB("\\DOTSB","\\relax"),CB("\\DOTSX","\\relax"),CB("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),CB("\\,","\\tmspace+{3mu}{.1667em}"),CB("\\thinspace","\\,"),CB("\\>","\\mskip{4mu}"),CB("\\:","\\tmspace+{4mu}{.2222em}"),CB("\\medspace","\\:"),CB("\\;","\\tmspace+{5mu}{.2777em}"),CB("\\thickspace","\\;"),CB("\\!","\\tmspace-{3mu}{.1667em}"),CB("\\negthinspace","\\!"),CB("\\negmedspace","\\tmspace-{4mu}{.2222em}"),CB("\\negthickspace","\\tmspace-{5mu}{.277em}"),CB("\\enspace","\\kern.5em "),CB("\\enskip","\\hskip.5em\\relax"),CB("\\quad","\\hskip1em\\relax"),CB("\\qquad","\\hskip2em\\relax"),CB("\\tag","\\@ifstar\\tag@literal\\tag@paren"),CB("\\tag@paren","\\tag@literal{({#1})}"),CB("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new jT("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),CB("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),CB("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),CB("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),CB("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),CB("\\newline","\\\\\\relax"),CB("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var CF=Sk(ck["Main-Regular"]["T".charCodeAt(0)][1]-.7*ck["Main-Regular"]["A".charCodeAt(0)][1]);CB("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+CF+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),CB("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+CF+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),CB("\\hspace","\\@ifstar\\@hspacer\\@hspace"),CB("\\@hspace","\\hskip #1\\relax"),CB("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),CB("\\ordinarycolon",":"),CB("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),CB("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),CB("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),CB("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),CB("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),CB("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),CB("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),CB("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),CB("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),CB("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),CB("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),CB("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),CB("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),CB("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),CB("∷","\\dblcolon"),CB("∹","\\eqcolon"),CB("≔","\\coloneqq"),CB("≕","\\eqqcolon"),CB("⩴","\\Coloneqq"),CB("\\ratio","\\vcentcolon"),CB("\\coloncolon","\\dblcolon"),CB("\\colonequals","\\coloneqq"),CB("\\coloncolonequals","\\Coloneqq"),CB("\\equalscolon","\\eqqcolon"),CB("\\equalscoloncolon","\\Eqqcolon"),CB("\\colonminus","\\coloneq"),CB("\\coloncolonminus","\\Coloneq"),CB("\\minuscolon","\\eqcolon"),CB("\\minuscoloncolon","\\Eqcolon"),CB("\\coloncolonapprox","\\Colonapprox"),CB("\\coloncolonsim","\\Colonsim"),CB("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),CB("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),CB("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),CB("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),CB("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),CB("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),CB("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),CB("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),CB("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),CB("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),CB("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),CB("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),CB("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),CB("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),CB("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),CB("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),CB("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),CB("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),CB("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),CB("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),CB("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),CB("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),CB("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),CB("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),CB("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),CB("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),CB("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),CB("\\imath","\\html@mathml{\\@imath}{ı}"),CB("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),CB("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),CB("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),CB("⟦","\\llbracket"),CB("⟧","\\rrbracket"),CB("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),CB("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),CB("⦃","\\lBrace"),CB("⦄","\\rBrace"),CB("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),CB("⦵","\\minuso"),CB("\\darr","\\downarrow"),CB("\\dArr","\\Downarrow"),CB("\\Darr","\\Downarrow"),CB("\\lang","\\langle"),CB("\\rang","\\rangle"),CB("\\uarr","\\uparrow"),CB("\\uArr","\\Uparrow"),CB("\\Uarr","\\Uparrow"),CB("\\N","\\mathbb{N}"),CB("\\R","\\mathbb{R}"),CB("\\Z","\\mathbb{Z}"),CB("\\alef","\\aleph"),CB("\\alefsym","\\aleph"),CB("\\Alpha","\\mathrm{A}"),CB("\\Beta","\\mathrm{B}"),CB("\\bull","\\bullet"),CB("\\Chi","\\mathrm{X}"),CB("\\clubs","\\clubsuit"),CB("\\cnums","\\mathbb{C}"),CB("\\Complex","\\mathbb{C}"),CB("\\Dagger","\\ddagger"),CB("\\diamonds","\\diamondsuit"),CB("\\empty","\\emptyset"),CB("\\Epsilon","\\mathrm{E}"),CB("\\Eta","\\mathrm{H}"),CB("\\exist","\\exists"),CB("\\harr","\\leftrightarrow"),CB("\\hArr","\\Leftrightarrow"),CB("\\Harr","\\Leftrightarrow"),CB("\\hearts","\\heartsuit"),CB("\\image","\\Im"),CB("\\infin","\\infty"),CB("\\Iota","\\mathrm{I}"),CB("\\isin","\\in"),CB("\\Kappa","\\mathrm{K}"),CB("\\larr","\\leftarrow"),CB("\\lArr","\\Leftarrow"),CB("\\Larr","\\Leftarrow"),CB("\\lrarr","\\leftrightarrow"),CB("\\lrArr","\\Leftrightarrow"),CB("\\Lrarr","\\Leftrightarrow"),CB("\\Mu","\\mathrm{M}"),CB("\\natnums","\\mathbb{N}"),CB("\\Nu","\\mathrm{N}"),CB("\\Omicron","\\mathrm{O}"),CB("\\plusmn","\\pm"),CB("\\rarr","\\rightarrow"),CB("\\rArr","\\Rightarrow"),CB("\\Rarr","\\Rightarrow"),CB("\\real","\\Re"),CB("\\reals","\\mathbb{R}"),CB("\\Reals","\\mathbb{R}"),CB("\\Rho","\\mathrm{P}"),CB("\\sdot","\\cdot"),CB("\\sect","\\S"),CB("\\spades","\\spadesuit"),CB("\\sub","\\subset"),CB("\\sube","\\subseteq"),CB("\\supe","\\supseteq"),CB("\\Tau","\\mathrm{T}"),CB("\\thetasym","\\vartheta"),CB("\\weierp","\\wp"),CB("\\Zeta","\\mathrm{Z}"),CB("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),CB("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),CB("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),CB("\\bra","\\mathinner{\\langle{#1}|}"),CB("\\ket","\\mathinner{|{#1}\\rangle}"),CB("\\braket","\\mathinner{\\langle{#1}\\rangle}"),CB("\\Bra","\\left\\langle#1\\right|"),CB("\\Ket","\\left|#1\\right\\rangle");var AF=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 u=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("|",u(!1)),o.length&&t.macros.set("\\|",u(!0));var l=t.consumeArg().tokens,c=t.expandTokens([...i,...l,...r]);return t.macros.endGroup(),{tokens:c.reverse(),numArgs:0}};CB("\\bra@ket",AF(!1)),CB("\\bra@set",AF(!0)),CB("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),CB("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),CB("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),CB("\\angln","{\\angl n}"),CB("\\blue","\\textcolor{##6495ed}{#1}"),CB("\\orange","\\textcolor{##ffa500}{#1}"),CB("\\pink","\\textcolor{##ff00af}{#1}"),CB("\\red","\\textcolor{##df0030}{#1}"),CB("\\green","\\textcolor{##28ae7b}{#1}"),CB("\\gray","\\textcolor{gray}{#1}"),CB("\\purple","\\textcolor{##9d38bd}{#1}"),CB("\\blueA","\\textcolor{##ccfaff}{#1}"),CB("\\blueB","\\textcolor{##80f6ff}{#1}"),CB("\\blueC","\\textcolor{##63d9ea}{#1}"),CB("\\blueD","\\textcolor{##11accd}{#1}"),CB("\\blueE","\\textcolor{##0c7f99}{#1}"),CB("\\tealA","\\textcolor{##94fff5}{#1}"),CB("\\tealB","\\textcolor{##26edd5}{#1}"),CB("\\tealC","\\textcolor{##01d1c1}{#1}"),CB("\\tealD","\\textcolor{##01a995}{#1}"),CB("\\tealE","\\textcolor{##208170}{#1}"),CB("\\greenA","\\textcolor{##b6ffb0}{#1}"),CB("\\greenB","\\textcolor{##8af281}{#1}"),CB("\\greenC","\\textcolor{##74cf70}{#1}"),CB("\\greenD","\\textcolor{##1fab54}{#1}"),CB("\\greenE","\\textcolor{##0d923f}{#1}"),CB("\\goldA","\\textcolor{##ffd0a9}{#1}"),CB("\\goldB","\\textcolor{##ffbb71}{#1}"),CB("\\goldC","\\textcolor{##ff9c39}{#1}"),CB("\\goldD","\\textcolor{##e07d10}{#1}"),CB("\\goldE","\\textcolor{##a75a05}{#1}"),CB("\\redA","\\textcolor{##fca9a9}{#1}"),CB("\\redB","\\textcolor{##ff8482}{#1}"),CB("\\redC","\\textcolor{##f9685d}{#1}"),CB("\\redD","\\textcolor{##e84d39}{#1}"),CB("\\redE","\\textcolor{##bc2612}{#1}"),CB("\\maroonA","\\textcolor{##ffbde0}{#1}"),CB("\\maroonB","\\textcolor{##ff92c6}{#1}"),CB("\\maroonC","\\textcolor{##ed5fa6}{#1}"),CB("\\maroonD","\\textcolor{##ca337c}{#1}"),CB("\\maroonE","\\textcolor{##9e034e}{#1}"),CB("\\purpleA","\\textcolor{##ddd7ff}{#1}"),CB("\\purpleB","\\textcolor{##c6b9fc}{#1}"),CB("\\purpleC","\\textcolor{##aa87ff}{#1}"),CB("\\purpleD","\\textcolor{##7854ab}{#1}"),CB("\\purpleE","\\textcolor{##543b78}{#1}"),CB("\\mintA","\\textcolor{##f5f9e8}{#1}"),CB("\\mintB","\\textcolor{##edf2df}{#1}"),CB("\\mintC","\\textcolor{##e0e5cc}{#1}"),CB("\\grayA","\\textcolor{##f6f7f7}{#1}"),CB("\\grayB","\\textcolor{##f0f1f2}{#1}"),CB("\\grayC","\\textcolor{##e3e5e6}{#1}"),CB("\\grayD","\\textcolor{##d6d8da}{#1}"),CB("\\grayE","\\textcolor{##babec2}{#1}"),CB("\\grayF","\\textcolor{##888d93}{#1}"),CB("\\grayG","\\textcolor{##626569}{#1}"),CB("\\grayH","\\textcolor{##3b3e40}{#1}"),CB("\\grayI","\\textcolor{##21242c}{#1}"),CB("\\kaBlue","\\textcolor{##314453}{#1}"),CB("\\kaGreen","\\textcolor{##71B307}{#1}");var DF={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class TF{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 yF(bF,t.macros),this.mode=r,this.stack=[]}feed(e){this.lexer=new vF(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 zT("EOF",r.loc)),this.pushTokens(n),new zT("",_T.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 jT("Extra }",n)}else if("EOF"===n.text)throw new jT("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 jT("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 jT("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 jT("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 jT("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 jT("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 jT("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 zT(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 vF(n,this.settings),s=[],u=a.lex();"EOF"!==u.text;)s.push(u),u=a.lex();return s.reverse(),{tokens:s,numArgs:o}}return n}isDefined(e){return this.macros.has(e)||dF.hasOwnProperty(e)||jk.math.hasOwnProperty(e)||jk.text.hasOwnProperty(e)||DF.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return null!=t?"string"==typeof t||"function"==typeof t||!t.unexpandable:dF.hasOwnProperty(e)&&!dF[e].primitive}}var kF=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,OF=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),NF={"́":{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"}},BF={"á":"á","à":"à","ä":"ä","ǟ":"ǟ","ã":"ã","ā":"ā","ă":"ă","ắ":"ắ","ằ":"ằ","ẵ":"ẵ","ǎ":"ǎ","â":"â","ấ":"ấ","ầ":"ầ","ẫ":"ẫ","ȧ":"ȧ","ǡ":"ǡ","å":"å","ǻ":"ǻ","ḃ":"ḃ","ć":"ć","ḉ":"ḉ","č":"č","ĉ":"ĉ","ċ":"ċ","ç":"ç","ď":"ď","ḋ":"ḋ","ḑ":"ḑ","é":"é","è":"è","ë":"ë","ẽ":"ẽ","ē":"ē","ḗ":"ḗ","ḕ":"ḕ","ĕ":"ĕ","ḝ":"ḝ","ě":"ě","ê":"ê","ế":"ế","ề":"ề","ễ":"ễ","ė":"ė","ȩ":"ȩ","ḟ":"ḟ","ǵ":"ǵ","ḡ":"ḡ","ğ":"ğ","ǧ":"ǧ","ĝ":"ĝ","ġ":"ġ","ģ":"ģ","ḧ":"ḧ","ȟ":"ȟ","ĥ":"ĥ","ḣ":"ḣ","ḩ":"ḩ","í":"í","ì":"ì","ï":"ï","ḯ":"ḯ","ĩ":"ĩ","ī":"ī","ĭ":"ĭ","ǐ":"ǐ","î":"î","ǰ":"ǰ","ĵ":"ĵ","ḱ":"ḱ","ǩ":"ǩ","ķ":"ķ","ĺ":"ĺ","ľ":"ľ","ļ":"ļ","ḿ":"ḿ","ṁ":"ṁ","ń":"ń","ǹ":"ǹ","ñ":"ñ","ň":"ň","ṅ":"ṅ","ņ":"ņ","ó":"ó","ò":"ò","ö":"ö","ȫ":"ȫ","õ":"õ","ṍ":"ṍ","ṏ":"ṏ","ȭ":"ȭ","ō":"ō","ṓ":"ṓ","ṑ":"ṑ","ŏ":"ŏ","ǒ":"ǒ","ô":"ô","ố":"ố","ồ":"ồ","ỗ":"ỗ","ȯ":"ȯ","ȱ":"ȱ","ő":"ő","ṕ":"ṕ","ṗ":"ṗ","ŕ":"ŕ","ř":"ř","ṙ":"ṙ","ŗ":"ŗ","ś":"ś","ṥ":"ṥ","š":"š","ṧ":"ṧ","ŝ":"ŝ","ṡ":"ṡ","ş":"ş","ẗ":"ẗ","ť":"ť","ṫ":"ṫ","ţ":"ţ","ú":"ú","ù":"ù","ü":"ü","ǘ":"ǘ","ǜ":"ǜ","ǖ":"ǖ","ǚ":"ǚ","ũ":"ũ","ṹ":"ṹ","ū":"ū","ṻ":"ṻ","ŭ":"ŭ","ǔ":"ǔ","û":"û","ů":"ů","ű":"ű","ṽ":"ṽ","ẃ":"ẃ","ẁ":"ẁ","ẅ":"ẅ","ŵ":"ŵ","ẇ":"ẇ","ẘ":"ẘ","ẍ":"ẍ","ẋ":"ẋ","ý":"ý","ỳ":"ỳ","ÿ":"ÿ","ỹ":"ỹ","ȳ":"ȳ","ŷ":"ŷ","ẏ":"ẏ","ẙ":"ẙ","ź":"ź","ž":"ž","ẑ":"ẑ","ż":"ż","Á":"Á","À":"À","Ä":"Ä","Ǟ":"Ǟ","Ã":"Ã","Ā":"Ā","Ă":"Ă","Ắ":"Ắ","Ằ":"Ằ","Ẵ":"Ẵ","Ǎ":"Ǎ","Â":"Â","Ấ":"Ấ","Ầ":"Ầ","Ẫ":"Ẫ","Ȧ":"Ȧ","Ǡ":"Ǡ","Å":"Å","Ǻ":"Ǻ","Ḃ":"Ḃ","Ć":"Ć","Ḉ":"Ḉ","Č":"Č","Ĉ":"Ĉ","Ċ":"Ċ","Ç":"Ç","Ď":"Ď","Ḋ":"Ḋ","Ḑ":"Ḑ","É":"É","È":"È","Ë":"Ë","Ẽ":"Ẽ","Ē":"Ē","Ḗ":"Ḗ","Ḕ":"Ḕ","Ĕ":"Ĕ","Ḝ":"Ḝ","Ě":"Ě","Ê":"Ê","Ế":"Ế","Ề":"Ề","Ễ":"Ễ","Ė":"Ė","Ȩ":"Ȩ","Ḟ":"Ḟ","Ǵ":"Ǵ","Ḡ":"Ḡ","Ğ":"Ğ","Ǧ":"Ǧ","Ĝ":"Ĝ","Ġ":"Ġ","Ģ":"Ģ","Ḧ":"Ḧ","Ȟ":"Ȟ","Ĥ":"Ĥ","Ḣ":"Ḣ","Ḩ":"Ḩ","Í":"Í","Ì":"Ì","Ï":"Ï","Ḯ":"Ḯ","Ĩ":"Ĩ","Ī":"Ī","Ĭ":"Ĭ","Ǐ":"Ǐ","Î":"Î","İ":"İ","Ĵ":"Ĵ","Ḱ":"Ḱ","Ǩ":"Ǩ","Ķ":"Ķ","Ĺ":"Ĺ","Ľ":"Ľ","Ļ":"Ļ","Ḿ":"Ḿ","Ṁ":"Ṁ","Ń":"Ń","Ǹ":"Ǹ","Ñ":"Ñ","Ň":"Ň","Ṅ":"Ṅ","Ņ":"Ņ","Ó":"Ó","Ò":"Ò","Ö":"Ö","Ȫ":"Ȫ","Õ":"Õ","Ṍ":"Ṍ","Ṏ":"Ṏ","Ȭ":"Ȭ","Ō":"Ō","Ṓ":"Ṓ","Ṑ":"Ṑ","Ŏ":"Ŏ","Ǒ":"Ǒ","Ô":"Ô","Ố":"Ố","Ồ":"Ồ","Ỗ":"Ỗ","Ȯ":"Ȯ","Ȱ":"Ȱ","Ő":"Ő","Ṕ":"Ṕ","Ṗ":"Ṗ","Ŕ":"Ŕ","Ř":"Ř","Ṙ":"Ṙ","Ŗ":"Ŗ","Ś":"Ś","Ṥ":"Ṥ","Š":"Š","Ṧ":"Ṧ","Ŝ":"Ŝ","Ṡ":"Ṡ","Ş":"Ş","Ť":"Ť","Ṫ":"Ṫ","Ţ":"Ţ","Ú":"Ú","Ù":"Ù","Ü":"Ü","Ǘ":"Ǘ","Ǜ":"Ǜ","Ǖ":"Ǖ","Ǚ":"Ǚ","Ũ":"Ũ","Ṹ":"Ṹ","Ū":"Ū","Ṻ":"Ṻ","Ŭ":"Ŭ","Ǔ":"Ǔ","Û":"Û","Ů":"Ů","Ű":"Ű","Ṽ":"Ṽ","Ẃ":"Ẃ","Ẁ":"Ẁ","Ẅ":"Ẅ","Ŵ":"Ŵ","Ẇ":"Ẇ","Ẍ":"Ẍ","Ẋ":"Ẋ","Ý":"Ý","Ỳ":"Ỳ","Ÿ":"Ÿ","Ỹ":"Ỹ","Ȳ":"Ȳ","Ŷ":"Ŷ","Ẏ":"Ẏ","Ź":"Ź","Ž":"Ž","Ẑ":"Ẑ","Ż":"Ż","ά":"ά","ὰ":"ὰ","ᾱ":"ᾱ","ᾰ":"ᾰ","έ":"έ","ὲ":"ὲ","ή":"ή","ὴ":"ὴ","ί":"ί","ὶ":"ὶ","ϊ":"ϊ","ΐ":"ΐ","ῒ":"ῒ","ῑ":"ῑ","ῐ":"ῐ","ό":"ό","ὸ":"ὸ","ύ":"ύ","ὺ":"ὺ","ϋ":"ϋ","ΰ":"ΰ","ῢ":"ῢ","ῡ":"ῡ","ῠ":"ῠ","ώ":"ώ","ὼ":"ὼ","Ύ":"Ύ","Ὺ":"Ὺ","Ϋ":"Ϋ","Ῡ":"Ῡ","Ῠ":"Ῠ","Ώ":"Ώ","Ὼ":"Ὼ"};class FF{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 TF(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 jT("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 zT("}")),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!==FF.endOfExpression.indexOf(n.text))break;if(t&&n.text===t)break;if(e&&dF[n.text]&&dF[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 jT("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 jT("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 jT("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 jT("Double superscript",o);t=this.handleSupSubscript("superscript")}else if("_"===o.text){if(r)throw new jT("Double subscript",o);r=this.handleSupSubscript("subscript")}else if("'"===o.text){if(t)throw new jT("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(!OF[o.text])break;var u=kF.test(o.text),l=[];for(l.push(new zT(OF[o.text])),this.consume();;){var c=this.fetch().text;if(!OF[c])break;if(kF.test(c)!==u)break;l.unshift(new zT(OF[c])),this.consume()}var d=this.subparse(l);u?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=dF[n];if(!o)return null;if(this.consume(),t&&"atom"!==t&&!o.allowedInArgument)throw new jT("Got function '"+n+"' with no arguments"+(t?" as "+t:""),r);if("text"===this.mode&&!o.allowedInText)throw new jT("Can't use function '"+n+"' in text mode",r);if("math"===this.mode&&!1===o.allowedInMath)throw new jT("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=dF[e];if(a&&a.handler)return a.handler(i,t,r);throw new jT("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 u=this.parseGroupOfType("argument to '"+e+"'",a,s);if(s)o.push(u);else{if(null==u)throw new jT("Null argument, please report this as a bug");n.push(u)}}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 jT("A primitive argument cannot be optional");var i=this.parseGroup(e);if(null==i)throw new jT("Expected group as "+e,this.fetch());return i;case"original":case null:case void 0:return this.parseArgumentGroup(r);default:throw new jT("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 jT("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 jT("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 jT("Invalid size: '"+t.text+"'",t);var o={number:+(n[1]+n[2]),unit:n[3]};if(!Ek(o))throw new jT("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:_T.range(n,s),body:a,semisimple:"\\begingroup"===o||void 0}}else if(null==(r=this.parseFunction(t,e)||this.parseSymbol())&&"\\"===o[0]&&!DF.hasOwnProperty(o)){if(this.settings.throwOnError)throw new jT("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:_T.range(n,e[r+2]),text:"---"}),t-=2):(e.splice(r,2,{type:"textord",mode:"text",loc:_T.range(n,e[r+1]),text:"--"}),t-=1)),"'"!==o&&"`"!==o||e[r+1].text!==o||(e.splice(r,2,{type:"textord",mode:"text",loc:_T.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 jT("\\verb assertion failed --\n please report what input caused this bug");return{type:"verb",mode:"text",body:r=r.slice(1,-1),star:n}}BF.hasOwnProperty(t[0])&&!jk[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=BF[t[0]]+t.slice(1));var o,i=gF.exec(t);if(i&&("i"===(t=t.substring(0,i.index))?t="ı":"j"===t&&(t="ȷ")),jk[this.mode][t]){this.settings.strict&&"math"===this.mode&&yO.indexOf(t)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var a,s=jk[this.mode][t].group,u=_T.range(e);if(_k.hasOwnProperty(s)){var l=s;a={type:"atom",mode:this.mode,family:l,loc:u,text:t}}else a={type:s,mode:this.mode,loc:u,text:t};o=a}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(ak(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:_T.range(e),text:t}}if(this.consume(),i)for(var c=0;c<i[0].length;c++){var d=i[0][c];if(!NF[d])throw new jT("Unknown accent ' "+d+"'",e);var f=NF[d][this.mode]||NF[d].text;if(!f)throw new jT("Accent "+d+" unsupported in "+this.mode+" mode",e);o={type:"accent",mode:this.mode,loc:_T.range(e),label:f,isStretchy:!1,isShifty:!0,base:o}}return o}}FF.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var MF=function(e,t){if(!("string"==typeof e||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var r=new FF(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 jT("\\tag works only in display equations");n=[{type:"tag",mode:"text",body:n,tag:r.subparse([new zT("\\df@tag")])}]}return n},IF=function(e,t,r){t.textContent="";var n=RF(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."),IF=function(){throw new jT("KaTeX doesn't work in quirks mode.")});var PF=function(e,t,r){if(r.throwOnError||!(e instanceof jT))throw e;var n=MO.makeSpan(["katex-error"],[new Mk(t)]);return n.setAttribute("title",e.toString()),n.setAttribute("style","color:"+r.errorColor),n},RF=function(e,t){var r=new YT(t);try{return function(e,t,r){var n,o=yN(r);if("mathml"===r.output)return vN(e,t,o,r.displayMode,!0);if("html"===r.output){var i=iN(e,o);n=MO.makeSpan(["katex"],[i])}else{var a=vN(e,t,o,r.displayMode,!1),s=iN(e,o);n=MO.makeSpan(["katex"],[a,s])}return bN(n,r)}(MF(e,r),e,r)}catch(t){return PF(t,e,r)}},LF={version:"0.16.25",render:IF,renderToString:function(e,t){return RF(e,t).toMarkup()},ParseError:jT,SETTINGS_SCHEMA:GT,__parse:function(e,t){var r=new YT(t);return MF(e,r)},__renderToDomTree:RF,__renderToHTMLTree:function(e,t){var r=new YT(t);try{return function(e,t,r){var n=iN(e,yN(r)),o=MO.makeSpan(["katex"],[n]);return bN(o,r)}(MF(e,r),0,r)}catch(t){return PF(t,e,r)}},__setFontMetrics:function(e,t){ck[e]=t},__defineSymbol:Hk,__defineFunction:$O,__defineMacro:CB,__domTree:{Span:Ok,Anchor:Nk,SymbolNode:Mk,SvgNode:Ik,PathNode:Pk,LineNode:Rk}},_F=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 bh(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){LF.render(e,this.span,{throwOnError:!1,output:"mathml"})},t}(HTMLElement);window.customElements.get("w-e-formula-card")||window.customElements.define("w-e-formula-card",_F),Ry("en",{formula:{formula:"Formula",placeholder:"Use LateX syntax",insert:"Insert formula",edit:"Edit formula",textToFormula:"Convert to formula",ok:"OK"}}),Ry("zh-CN",{formula:{formula:"公式",placeholder:"使用 LateX 语法",insert:"插入公式",edit:"编辑公式",textToFormula:"转换为公式",ok:"确定"}});var zF={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>')}},jF='<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 HF(e){return void 0===e&&(e="r"),"".concat(e,"-").concat(bg())}function $F(){return HF("w-e-insert-formula")}ag&&(_p.fn.append=ag),ng&&(_p.fn.html=ng),Gp&&(_p.fn.val=Gp),Wp&&(_p.fn.on=Wp),vg&&(_p.fn.focus=vg),ig&&(_p.fn.is=ig),lg&&(_p.fn.parents=lg),cg&&(_p.fn.find=cg);var UF=function(){function e(){this.title=_y("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=$F(),this.buttonId=$F()}return e.prototype.getSelectedElem=function(e){var t=wm.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||(!!ph.Range.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=Ch(Xy(_y("formula.formula"),r,_y("formula.placeholder")),2),i=o[0],a=_p(o[1]),s=Ch(Zy(n,_y("formula.ok")),1)[0];if(null==this.$content){var u=_p("<div></div>");u.on("click","#".concat(n),function(n){n.preventDefault();var o=u.find("#".concat(r)).val().trim();t.updateFormula(e,o),e.hidePanelOrModal()}),this.$content=u}var l=this.$content;l.html(""),l.append(i),l.append(s);var c=this.getValue(e);return a.val(c),setTimeout(function(){a.focus()}),l[0]},e.prototype.updateFormula=function(e,t){if(t&&(e.restoreSelection(),!this.isDisabled(e))){var r=this.getSelectedElem(e);if(null!=r){var n=wm.findPath(e,r),o={value:t};ph.Transforms.setNodes(e,o,{at:n})}}},e}();function VF(){return HF("w-e-insert-formula")}var qF=function(){function e(){this.title=_y("formula.insert"),this.iconSvg=jF,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.textareaId=VF(),this.buttonId=VF()}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=wm.getSelectedElems(e);return!!t.some(function(t){return e.isVoid(t)})||!!t.some(function(e){return"pre"===wm.getNodeType(e)})},e.prototype.getModalPositionNode=function(e){return null},e.prototype.getModalContentElem=function(e){var t=this,r=this.textareaId,n=this.buttonId,o=Ch(Xy(_y("formula.formula"),r,_y("formula.placeholder")),2),i=o[0],a=_p(o[1]),s=Ch(Zy(n,_y("formula.ok")),1)[0];if(null==this.$content){var u=_p("<div></div>");u.on("click","#".concat(n),function(n){n.preventDefault();var o=u.find("#".concat(r)).val().trim();t.insertFormula(e,o),e.hidePanelOrModal()}),this.$content=u}var l=this.$content;l.html(""),l.append(i),l.append(s);var c=e.selection,d="";return c&&ph.Range.isExpanded(c)&&(d=ph.Editor.string(e,c)),a.val(d),setTimeout(function(){a.focus()},50),l[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&&ph.Range.isExpanded(r)&&ph.Transforms.delete(e),e.insertNode(n)}},e}();function GF(){return HF("w-e-text-to-formula")}var WF=function(){function e(){this.title=_y("formula.textToFormula"),this.iconSvg=jF,this.tag="button",this.showModal=!0,this.modalWidth=300,this.$content=null,this.textareaId=GF(),this.buttonId=GF()}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==Kh.insertFormula)return!0;if(null==e.selection)return!1;var t=wm.getSelectedElems(e);return!!t.some(function(t){return e.isVoid(t)})||!!t.some(function(e){return"pre"===wm.getNodeType(e)})},e.prototype.getModalPositionNode=function(e){return null},e.prototype.getModalContentElem=function(e){var t=this,r=this.textareaId,n=this.buttonId,o=Ch(Xy(_y("formula.formula"),r,_y("formula.placeholder")),2),i=o[0],a=_p(o[1]),s=Ch(Zy(n,_y("formula.ok")),1)[0];if(null==this.$content){var u=_p("<div></div>");u.on("click","#".concat(n),function(n){n.preventDefault();var o,i=u.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=u}var l=this.$content;l.html(""),l.append(i),l.append(s);var c=e.selection,d="";return c&&ph.Range.isExpanded(c)&&(d=ph.Editor.string(e,c)),a.val(d),setTimeout(function(){if(a.focus(),d){var e=a[0];e&&e.select()}},50),l[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&&ph.Range.isExpanded(r)&&ph.Transforms.delete(e),e.insertNode(n)}},e}();var YF={type:"formula",renderElem:function(e,t,r){var n=wm.isNodeSelected(r,e),o=e.value,i=Yb("w-e-formula-card",{dataset:{value:void 0===o?"":o}},null);return Yb("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])}},KF={editorPlugin:function(e){var t=e.isInline,r=e.isVoid,n=e;return n.isInline=function(e){return"formula"===wm.getNodeType(e)||t(e)},n.isVoid=function(e){return"formula"===wm.getNodeType(e)||r(e)},n},renderElems:[YF],elemsToHtml:[zF],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 qF}},{key:"editFormula",factory:function(){return new UF}},{key:"textToFormula",factory:function(){return new WF}}]};Ry("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",mergeCell:"merge cell",splitCell:"split cell",tableProperty:"Table property",cellProperty:"Cell property"}}),Ry("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:"表头",mergeCell:"合并单元格",splitCell:"拆分单元格",tableProperty:"表格属性",cellProperty:"单元格属性"}});var XF={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,u=null==i?void 0:i.map(function(e){return"<col width=".concat(e,"></col>")}).join(""),l=u?'<colgroup contentEditable="false">'.concat(u,"</colgroup>"):"";return'<table style="width: '.concat(o,";table-layout: fixed;height:").concat(s,'">').concat(l,"<tbody>").concat(t,"</tbody></table>")}},ZF={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>")}},JF={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,u=void 0!==s&&s,l=r.width,c=void 0===l?"auto":l,d=r.hidden;if(void 0!==d&&d)return"";var f=u?"th":"td";return"<".concat(f,' colSpan="').concat(o,'" rowSpan="').concat(a,'" width="').concat(c,'">').concat(t,"</").concat(f,">")}},QF='<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>',eM={blocks:{td:"table-cell",th:"table-cell",content:"paragraph",tr:"table-row",table:"table",tbody:"table-body"}};function tM(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=eM,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!ph.Editor.isEditor(e)&&ph.Element.isElement(e)&&"type"in e}(e)&&o.includes(e.type)}}function rM(e,t){for(var r=Ch(t,2),n=r[0],o=r[1],i=[],a=2;a<arguments.length;a++)i[a-2]=arguments[a];var s=Ch(ph.Node.common(e,n,o),2),u=s[0],l=s[1];return!!tM.apply(void 0,Ah([e],Ch(i),!1))(u,l)||!!ph.Editor.above(e,{match:tM.apply(void 0,Ah([e],Ch(i),!1)),at:l})}function nM(e,t){var r,n;void 0===t&&(t={});var o=[];try{for(var i=Sh(function(e,t){var r,n,o,i,a,s,u,l,c,d,f,h,p,g,m,v,y,b;return void 0===t&&(t={}),xh(this,function(w){switch(w.label){case 0:if(r=Ch(ph.Editor.nodes(e,{match:tM(e,"table"),at:t.at}),1),!(n=r[0]))return[2,[]];o=Ch(n,2),i=o[1],w.label=1;case 1:w.trys.push([1,6,7,8]),a=Sh(ph.Editor.nodes(e,{match:tM(e,"table"),at:i})),s=a.next(),w.label=2;case 2:if(s.done)return[3,5];u=Ch(s.value,2),l=u[1],c=[];try{for(y=void 0,d=Sh(ph.Editor.nodes(e,{match:tM(e,"tr"),at:l})),f=d.next();!f.done;f=d.next())h=Ch(f.value,2),p=h[1],c.push(Ah([],Ch(ph.Editor.nodes(e,{match:tM(e,"th","td"),at:p})),!1))}catch(e){y={error:e}}finally{try{f&&!f.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,u=[],l=0,c=0;c<s.length;c+=1)s[c]&&(l=Math.max(l,s[c].length));for(c=0;c<s.length;c+=1)if(u[c]||(u[c]=[]),s[c])for(var d=0;d<s[c].length;d+=1)if(s[c][d]&&s[c][d][0]){for(var f=Ch(s[c][d],1)[0],h=f.rowSpan,p=void 0===h?1:h,g=f.colSpan,m=void 0===g?1:g,v=d;u[c]&&u[c][v];)v+=1;for(var y=0;y<m;y+=1)for(var b=0;b<p;b+=1){var w=c+b,E=v+y;u[w]||(u[w]=[]),u[w][E]||(u[w][E]=[s[c][d],{rtl:y+1,ltr:m-y,ttb:b+1,btt:p-b}])}}o.push.apply(o,Ah([],Ch(u),!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 oM=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}();function iM(e){return e.length?e[0].tagName.toLowerCase():""}function aM(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}ag&&_p.fn&&(_p.fn.append=ag),Wp&&_p.fn&&(_p.fn.on=Wp),vg&&_p.fn&&(_p.fn.focus=vg),$p&&_p.fn&&(_p.fn.attr=$p),Gp&&_p.fn&&(_p.fn.val=Gp),ng&&_p.fn&&(_p.fn.html=ng),qp&&_p.fn&&(_p.fn.dataset=qp),zp&&_p.fn&&(_p.fn.addClass=zp),jp&&_p.fn&&(_p.fn.removeClass=jp),dg&&_p.fn&&(_p.fn.children=dg),tg&&_p.fn&&(_p.fn.each=tg),cg&&_p.fn&&(_p.fn.find=cg),Vp&&_p.fn&&(_p.fn.data=Vp),Jp&&_p.fn&&(_p.fn.hide=Jp),Qp&&_p.fn&&(_p.fn.show=Qp);var sM=new WeakMap,uM=new WeakMap,lM=function(){function e(){this.title=_y("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:_y("tableModule.borderStyle.none")},{value:"solid",label:_y("tableModule.borderStyle.solid")},{value:"dotted",label:_y("tableModule.borderStyle.dotted")},{value:"dashed",label:_y("tableModule.borderStyle.dashed")},{value:"double",label:_y("tableModule.borderStyle.double")},{value:"groove",label:_y("tableModule.borderStyle.groove")},{value:"ridge",label:_y("tableModule.borderStyle.ridge")},{value:"inset",label:_y("tableModule.borderStyle.inset")},{value:"outset",label:_y("tableModule.borderStyle.outset")}],this.textAlignOptions=[{value:"left",label:_y("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:_y("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:_y("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:_y("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==wm.getSelectedNodeByType(e,"table")},e.prototype.exec=function(e,t){},e.prototype.getModalContentNode=function(e){return Ch(ph.Editor.nodes(e,{match:tM(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=Ch(r,2),o=n[0],i=n[1],a=_p('<div>\n <label class="babel-container">\n <span>'.concat(_y("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(_y("tableModule.modal.borderWidth"),'">\n </span>\n </label>\n <div class="babel-container">\n <span>').concat(_y("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(_y("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(_y("tableModule.modal.ok"),"</button>\n </div>\n </div>"));a.find("[name]").each(function(e){_p(e).val(o[_p(e).attr("name")])});var s=function(e,t){t?_p(".color-group-block",e).css("background-color",t).empty():_p(".color-group-block",e).css("background-color","").html(QF)};return a.find(".color-group").each(function(r){var n=_p('[type="hidden"]',r).val()||"";s(r,n);var o=_p(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){_p('[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[_p(t).attr("name")]=_p(t).val(),e},{}),n=sM.get(e);"cell"===t.menu&&(null==n?void 0:n.length)?n.forEach(function(t){t.forEach(function(t){ph.Transforms.setNodes(e,r,{at:t[0][1]})})}):ph.Transforms.setNodes(e,r,{at:i}),setTimeout(function(){e.focus()})}),a[0]},e.prototype.getPanelContentElem=function(e,t){var r=t.mark,n=t.selectedColor,o=t.callback,i=_p('<ul class="w-e-panel-content-color"></ul>');i.on("click","li",function(e){var t=e.target;if(t){e.preventDefault(),e.stopPropagation();var r=_p(t).attr("data-value");o(r)}});var a=e.getMenuConfig(r).colors;(void 0===a?[]:a).forEach(function(e){var t=_p('<div class="color-block" data-value="'.concat(e,'"></div>'));t.css("background-color",e);var r=_p('<li data-value="'.concat(e,'"></li>'));n===e&&r.addClass("active"),r.append(t),i.append(r)});var s="";"color"===r&&(s=_y("tableModule.color.default")),"bgColor"===r&&(s=_y("tableModule.color.clear"));var u=_p('\n <li data-value="" class="clear">\n '.concat(QF,"\n ").concat(s,"\n </li>\n "));i.prepend(u);var l=_p('<div class="w-e-drop-panel"></div>');return l.append(i),l},e}(),cM=function(e){function t(){var t=e.apply(this,Ah([],Ch(arguments),!1))||this;return t.title=_y("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 bh(t,e),t.prototype.getModalContentNode=function(e){return Ch(ph.Editor.nodes(e,{match:tM(e,"td")}),1)[0]},t}(lM),dM=function(){function e(){this.title=_y("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||(!ph.Range.isCollapsed(t)||null==wm.getSelectedNodeByType(e,"table-cell"))},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var r=Ch(ph.Editor.nodes(e,{match:function(e){return wm.checkNodeType(e,"table-cell")},universal:!0}),1),n=Ch(r[0],2),o=n[0],i=n[1],a=wm.getParentNode(e,o),s=(null==a?void 0:a.children.length)||0;if(!a||s<=1)ph.Transforms.removeNodes(e,{mode:"highest"});else if(null!=wm.getParentNode(e,a)){var u=nM(e),l=0;e:for(var c=0;c<u.length;c+=1)for(var d=0;d<u[c].length;d+=1){var f=Ch(u[c][d],1),h=Ch(f[0],2)[1];if(ph.Path.equals(i,h)){l=d;break e}}ph.Editor.withoutNormalizing(e,function(){for(var t,r,n=new Set,o=new Set,i=0;i<u.length;i+=1)if(u[i]&&u[i][l]){var a=Ch(u[i][l],2),s=Ch(a[0],2)[1],c=a[1],d=c.rtl,f=c.ltr,h=c.ttb,p=c.btt,g=s.join(",");if(d>1||f>1||h>1||p>1){var m=i-(h-1),v=l-(d-1);if(m<0||m>=u.length||!u[m]||!u[m][v])continue;var y=Ch(u[m][v],1),b=Ch(y[0],2),w=b[0],E=b[1],x=E.join(",");if(!o.has(x)){o.add(x);var S=w.rowSpan,C=void 0===S?1:S,A=w.colSpan,D=void 0===A?1:A,T=Math.max(D-1,1);ph.Transforms.setNodes(e,{rowSpan:C,colSpan:T},{at:E})}}else n.add(g)}var k=Array.from(n);k.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 O=Sh(k),N=O.next();!N.done;N=O.next()){var B=N.value.split(",").map(Number);try{ph.Editor.hasPath(e,B)&&ph.Transforms.removeNodes(e,{at:B})}catch(e){console.warn("删除单元格失败:",B,e)}}}catch(e){t={error:e}}finally{try{N&&!N.done&&(r=O.return)&&r.call(O)}finally{if(t)throw t.error}}var F=Ch(ph.Editor.nodes(e,{match:function(e){return wm.checkNodeType(e,"table")},universal:!0}),1),M=F[0];if(M){var I=Ch(M,2),P=I[0],R=I[1],L=P.columnWidths,_=Ah([],Ch(void 0===L?[]:L),!1);_.splice(l,1),ph.Transforms.setNodes(e,{columnWidths:_},{at:R})}})}}},e}(),fM=function(){function e(){this.title=_y("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||(!ph.Range.isCollapsed(t)||null==wm.getSelectedNodeByType(e,"table-row"))},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var r=Ch(ph.Editor.nodes(e,{match:function(e){return wm.checkNodeType(e,"table-row")},universal:!0}),1),n=Ch(r[0],2),o=n[0],i=n[1],a=wm.getParentNode(e,o);if(((null==a?void 0:a.children.length)||0)<=1)ph.Transforms.removeNodes(e,{mode:"highest"});else{var s=Ch(ph.Editor.nodes(e,{match:function(e){return wm.checkNodeType(e,"table-cell")},universal:!0}),1),u=Ch(s[0],2)[1],l=nM(e),c=0;e:for(var d=0;d<l.length;d+=1)for(var f=0;f<l[d].length;f+=1){var h=Ch(l[d][f],1),p=Ch(h[0],2)[1];if(ph.Path.equals(u,p)){c=d;break e}}ph.Editor.withoutNormalizing(e,function(){for(var t,r,n=[],o=0;o<l[c].length;o+=1){var a=Ch(l[c][o],2),s=Ch(a[0],1)[0].hidden,u=a[1],d=u.ttb,f=u.btt,h=u.rtl;if(d>1||f>1){var p=c-(d-1);if(p<0||p>=l.length||!l[p]||!l[p][o])continue;var g=Ch(l[p][o],1),m=Ch(g[0],2),v=m[0],y=m[1],b=v,w=b.rowSpan,E=void 0===w?1:w,x=b.colSpan,S=void 0===x?1:x;if(s)ph.Transforms.setNodes(e,{rowSpan:Math.max(E-1,1),colSpan:S},{at:y});else if(1===d&&1===h){if(c+1<l.length&&E>1){var C={type:"table-cell",rowSpan:E-1,colSpan:S,hidden:!1,children:b.children.map(function(e){return wh({},e)})};b.isHeader&&(C.isHeader=b.isHeader),b.width&&(C.width=b.width),b.backgroundColor&&(C.backgroundColor=b.backgroundColor),b.borderWidth&&(C.borderWidth=b.borderWidth),b.borderStyle&&(C.borderStyle=b.borderStyle),b.borderColor&&(C.borderColor=b.borderColor),b.textAlign&&(C.textAlign=b.textAlign),n.push({cell:C,columnIndex:o})}else ph.Transforms.setNodes(e,{rowSpan:Math.max(E-1,1),colSpan:S},{at:y})}else ph.Transforms.setNodes(e,{rowSpan:Math.max(E-1,1),colSpan:S},{at:y})}}if(ph.Transforms.removeNodes(e,{at:i}),n.length>0){var A=i;try{n.sort(function(e,t){return e.columnIndex-t.columnIndex});try{for(var D=Sh(n),T=D.next();!T.done;T=D.next()){var k=T.value,O=k.cell,N=k.columnIndex;try{var B=Ah(Ah([],Ch(A),!1),[N],!1);ph.Transforms.insertNodes(e,O,{at:B})}catch(t){try{var F=Ch(ph.Editor.node(e,A),1)[0].children.length,M=Ah(Ah([],Ch(A),!1),[F],!1);ph.Transforms.insertNodes(e,O,{at:M})}catch(e){console.warn("插入新单元格失败:",e)}}}}catch(e){t={error:e}}finally{try{T&&!T.done&&(r=D.return)&&r.call(D)}finally{if(t)throw t.error}}}catch(e){console.warn("插入新单元格失败:",e)}}})}}},e}(),hM=function(){function e(){this.title=_y("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==wm.getSelectedNodeByType(e,"table")},e.prototype.exec=function(e,t){this.isDisabled(e)||ph.Transforms.removeNodes(e,{mode:"highest"})},e}(),pM=function(){function e(){this.title=_y("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||(!ph.Range.isCollapsed(t)||null==wm.getSelectedNodeByType(e,"table"))},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var r=wm.getSelectedNodeByType(e,"table");if(r){var n=r.columnWidths,o=void 0===n?[]:n,i=wm.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),u=o.map(function(e){var t=e/s;return Math.floor(t*a)}),l=e.getMenuConfig("insertTable").minWidth,c=parseInt(String(void 0===l?60:l),10)||60,d=u.map(function(e){return Math.max(c,e)}),f=d.reduce(function(e,t){return e+t},0);if(f>a){var h=a/f,p=d.map(function(e){return Math.max(c,Math.floor(e*h))});m={width:"auto",columnWidths:p};ph.Transforms.setNodes(e,m,{mode:"highest"})}else{p=Ah([],Ch(d),!1);var g=a-f-1;g>0&&p.length>0&&(p[p.length-1]+=g);m={width:"auto",columnWidths:p};ph.Transforms.setNodes(e,m,{mode:"highest"})}}else{var m={width:"auto"};ph.Transforms.setNodes(e,m,{mode:"highest"})}}}},e}();function gM(e){var t=e.children||[];return 0===t.length?[]:(t[0]||{}).children||[]}function mM(e){return gM(e).every(function(e){return!!e.isHeader})}var vM=function(){function e(){this.title=_y("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(!ph.Range.isCollapsed(t))return!0;var r=wm.getSelectedNodeByType(e,"table");if(null==r)return!0;try{var n=Ch(ph.Editor.nodes(e,{match:function(e){return wm.checkNodeType(e,"table-cell")},universal:!0}),1),o=n[0];if(!o)return!0;for(var i=Ch(o,2)[1],a=nM(e),s=-1,u=0;u<a.length;u+=1){for(var l=0;l<a[u].length;l+=1){var c=Ch(a[u][l],1),d=Ch(c[0],2)[1];if(ph.Path.equals(i,d)){s=l;break}}if(-1!==s)break}if(-1===s)return!0;var f=r.columnWidths,h=(void 0===f?[]:f)[s];if(h&&h<20)return!0}catch(e){return!0}return!1},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var r=Ch(ph.Editor.nodes(e,{match:function(e){return wm.checkNodeType(e,"table-cell")},universal:!0}),1),n=Ch(r[0],2),o=n[0],i=n[1],a=wm.getParentNode(e,o);if(null!=a){var s=wm.getParentNode(e,a);if(null!=s){for(var u=nM(e),l=0,c=0;c<u.length;c+=1)for(var d=0;d<u[c].length;d+=1){var f=Ch(u[c][d],1),h=Ch(f[0],2)[1];if(ph.Path.equals(i,h)){l=d;break}}ph.Editor.withoutNormalizing(e,function(){for(var t=new Set,r=new Set,n=0;n<u.length;n+=1)if(u[n]&&u[n][l]){var o=Ch(u[n][l],2);Ch(o[0],1);var i=o[1],a=i.rtl,c=i.ltr,d=i.ttb,f=i.btt;if(a>1||c>1||d>1||f>1){var h=n-(d-1),p=l-(a-1);if(h<0||h>=u.length||!u[h]||!u[h][p])continue;var g=Ch(u[h][p],1),m=Ch(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,S=(void 0===x?1:x)+1;v.hidden||ph.Transforms.setNodes(e,{colSpan:S},{at:y});for(var C=0;C<E;C+=1)r.add(h+C)}}}for(n=0;n<u.length;n+=1)if(!r.has(n)&&u[n]&&u[n][l]){var A={type:"table-cell",children:[{text:""}]};0===n&&mM(s)&&(A.isHeader=!0);var D=Ch(u[n][l],1),T=Ch(D[0],2)[1];ph.Transforms.insertNodes(e,A,{at:T})}var k=Ch(ph.Editor.nodes(e,{match:function(e){return wm.checkNodeType(e,"table")},universal:!0}),1),O=k[0];if(O){var N=Ch(O,2),B=N[0],F=N[1],M=B.columnWidths,I=void 0===M?[]:M,P=Ah([],Ch(I),!1),R=e.getMenuConfig("insertTable").minWidth,L=void 0===R?60:R,_=I[l]||parseInt(L,10)||60,z=Math.floor(_/2),j=_-z;P.splice(l,0,z),P[l+1]=j,ph.Transforms.setNodes(e,{columnWidths:P},{at:F})}})}}}},e}(),yM=function(){function e(){this.title=_y("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||(!ph.Range.isCollapsed(t)||null==wm.getSelectedNodeByType(e,"table"))},e.prototype.exec=function(e,t){var r;if(!this.isDisabled(e)){var n=Ch(ph.Editor.nodes(e,{match:function(e){return wm.checkNodeType(e,"table-cell")},universal:!0}),1),o=Ch(n[0],2)[1],i=nM(e),a=0;e:for(var s=0;s<i.length;s+=1)for(var u=0;u<i[s].length;u+=1){var l=Ch(i[s][u],1),c=Ch(l[0],2)[1];if(ph.Path.equals(o,c)){a=s;break e}}var d=(null===(r=i[a])||void 0===r?void 0:r.length)||0;0!==d&&ph.Editor.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 u=Ch(i[a][s],2)[1],l=u.ttb,c=u.btt;if(l>1||c>1){var f=a-(l-1);if(f<0||f>=i.length||!i[f]||!i[f][s])continue;var h=Ch(i[f][s],1),p=Ch(h[0],2),g=p[0],m=p[1],v=g.rowSpan||1;n.push(s),g.hidden||ph.Transforms.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=ph.Path.parent(o),x=ph.Path.next(E);ph.Transforms.insertNodes(e,b,{at:x})})}},e}();var bM=function(){function e(){this.title=_y("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||(!ph.Range.isCollapsed(t)||!!wm.getSelectedElems(e).some(function(t){var r=wm.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=_p('<div class="w-e-panel-content-table"></div>'),n=_p("<span>0 &times; 0</span>"),o=_p("<table></table>"),i=0;i<10;i+=1){for(var a=_p("<tr></tr>"),s=0;s<10;s+=1){var u=_p("<td></td>");u.attr("data-x",s.toString()),u.attr("data-y",i.toString()),a.append(u),u.on("mouseenter",function(e){var t=e.target;if(null!=t){var r=_p(t).dataset(),i=r.x,a=r.y;n[0].innerHTML="".concat(i+1," &times; ").concat(a+1),o.children().each(function(e){_p(e).children().each(function(e){var t=_p(e),r=t.dataset(),n=r.x,o=r.y;n<=i&&o<=a?t.addClass("active"):t.removeClass("active")})})}}),u.on("click",function(r){r.preventDefault();var n=r.target;if(null!=n){var o=_p(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(wm.isSelectedEmptyParagraph(e)&&ph.Transforms.removeNodes(e,{mode:"highest"}),0===e.children.length){ph.Transforms.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,u=i.minRowHeight,l=void 0===u?30:u,c=i.tableFullWidth,d=i.tableHeader,f=Array(r).fill(parseInt(s,10)||60),h=0;h<t;h+=1){for(var p=[],g=0;g<r;g+=1){var m={type:"table-cell",children:[{text:""}]};0===h&&(m.isHeader=null===(n=null==d?void 0:d.selected)||void 0===n||n),p.push(m)}o.push({type:"table-row",children:p,height:parseInt(l,10)||30})}return{type:"table",width:(null==c?void 0:c.selected)?"100%":"auto",children:o,columnWidths:f}}(e,n,o);ph.Transforms.insertNodes(e,i,{mode:"highest"})}},e}(),wM={isInTable:function(e,t){return void 0===t&&(t={}),!!Ch(ph.Editor.nodes(e,{match:tM(e,"table"),at:t.at}),1)[0]},selection:function(e){var t,r,n,o,i,a,s,u;return xh(this,function(l){switch(l.label){case 0:t=sM.get(e),r=0,l.label=1;case 1:if(!(t&&r<t.length))return[3,4];for(n=[],o=0;o<t[r].length;o+=1)i=Ch(t[r][o],2),a=i[0],s=i[1],u=s.ltr,1===s.ttb&&n.push(a),o+=u-1;return[4,n];case 2:l.sent(),l.label=3;case 3:return r+=1,[3,1];case 4:return[2]}})},unselect:function(e){uM.delete(e),sM.delete(e)},isSelected:function(e,t){var r=uM.get(e);return!!r&&r.has(t)},hasSelected:function(e){return sM.has(e)}},EM=function(){function e(){this.title=_y("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),wM.unselect(e))},e.prototype.canMerge=function(e){var t=sM.get(e);if(!t||!t.length)return!1;var r=Ch(t[t.length-1][t[t.length-1].length-1],1),n=Ch(r[0],2)[1],o=Ch(t[0][0],1);return!!rM(e,[Ch(o[0],2)[1],n],"table")},e.prototype.merge=function(e){if(this.canMerge(e)){var t=sM.get(e);if(t&&t.length){var r=Ch(t[0][0],1),n=Ch(r[0],2)[1],o=Ch(ph.Node.children(e,n,{reverse:!0}),1),i=Ch(o[0],2)[1];ph.Editor.withoutNormalizing(e,function(){for(var r,o,a,s,u,l,c=new Map,d=[],f=1/0,h=-1/0,p=1/0,g=-1/0,m=0;m<t.length;m+=1)for(var v=0;v<t[m].length;v+=1){var y=Ch(t[m][v],2),b=Ch(y[0],2),w=b[0],E=b[1],x=y[1].ttb,S=E.join(",");if(1===x&&!c.has(S)){c.set(S,{path:E,x:m,y:v,element:w});var C=w.rowSpan,A=void 0===C?1:C,D=w.colSpan,T=m,k=m+A-1,O=v,N=v+(void 0===D?1:D)-1;f=Math.min(f,T),h=Math.max(h,k),p=Math.min(p,O),g=Math.max(g,N)}}var B=h-f+1,F=g-p+1;try{for(var M=Sh(c),I=M.next();!I.done;I=M.next()){E=Ch(I.value,2)[1].path;ph.Path.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=Sh(d),R=P.next();!R.done;R=P.next()){E=R.value;try{if(!ph.Editor.hasPath(e,E))continue;try{for(var L=(u=void 0,Sh(ph.Node.children(e,E,{reverse:!0}))),_=L.next();!_.done;_=L.next()){var z=Ch(_.value,2)[1];ph.Transforms.moveNodes(e,{to:ph.Path.next(i),at:z})}}catch(e){u={error:e}}finally{try{_&&!_.done&&(l=L.return)&&l.call(L)}finally{if(u)throw u.error}}ph.Transforms.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}}ph.Transforms.setNodes(e,{rowSpan:B,colSpan:F},{at:n})})}}},e}(),xM=function(){function e(){this.title=_y("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=Ch(ph.Editor.nodes(e,{match:function(e){return wm.checkNodeType(e,"table-cell")}}),1),r=t[0];if(!r)return!0;var n=Ch(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=Ch(ph.Editor.nodes(e,{match:tM(e,"table","th","td"),at:t.at}),2),n=r[0],o=r[1];if(n&&o){var i=mM(Ch(n,1)[0]),a=Ch(o,2),s=a[0],u=a[1],l=s.rowSpan,c=void 0===l?1:l,d=s.colSpan,f=void 0===d?1:d;1===c&&1===f||ph.Editor.withoutNormalizing(e,function(){ph.Transforms.setNodes(e,{rowSpan:1,colSpan:1},{at:u});for(var t=1;t<f;t+=1){var r={type:"table-cell",children:[{text:""}]};0===u[u.length-2]&&i&&(r.isHeader=!0);var n=u.slice(0,-1),o=u[u.length-1]+t,a=Ah(Ah([],Ch(n),!1),[o],!1);try{ph.Transforms.insertNodes(e,r,{at:a})}catch(t){try{var s=Ch(ph.Editor.node(e,n),1)[0].children.length,l=Ah(Ah([],Ch(n),!1),[s],!1);ph.Transforms.insertNodes(e,r,{at:l})}catch(e){console.warn("插入同行单元格失败: ".concat(e instanceof Error?e.message:String(e)))}}}for(var d=1;d<c;d+=1){var h=u[u.length-2]+d,p=Ah(Ah([],Ch(u.slice(0,-2)),!1),[h],!1);try{var g=Ch(ph.Editor.node(e,p),1)[0];if(!g){console.warn("目标行 ".concat(h," 不存在"));continue}for(t=0;t<f;t+=1){r={type:"table-cell",children:[{text:""}]},o=u[u.length-1]+t,a=Ah(Ah([],Ch(p),!1),[o],!1);try{var m=g.children.length;if(o>=m){var v=Ah(Ah([],Ch(p),!1),[m],!1);ph.Transforms.insertNodes(e,r,{at:v})}else ph.Transforms.insertNodes(e,r,{at:a})}catch(t){try{var y=g.children.length;l=Ah(Ah([],Ch(p),!1),[y],!1);ph.Transforms.insertNodes(e,r,{at:l})}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}(),SM=function(){function e(){this.title=_y("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=wm.getSelectedNodeByType(e,"table");return null!=t&&mM(t)},e.prototype.isActive=function(e){return!!this.getValue(e)},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||(!ph.Range.isCollapsed(t)||null==wm.getSelectedNodeByType(e,"table"))},e.prototype.exec=function(e,t){if(!this.isDisabled(e)){var r=!t,n=wm.getSelectedNodeByType(e,"table");if(null!=n)gM(n).forEach(function(t){return ph.Transforms.setNodes(e,{isHeader:r},{at:wm.findPath(e,t)})})}},e}(),CM={key:"insertTable",factory:function(){return new bM}},AM={key:"deleteTable",factory:function(){return new hM}},DM={key:"insertTableRow",factory:function(){return new yM}},TM={key:"deleteTableRow",factory:function(){return new fM}},kM={key:"insertTableCol",factory:function(){return new vM}},OM={key:"deleteTableCol",factory:function(){return new dM}},NM={key:"tableHeader",factory:function(){return new SM}},BM={key:"tableFullWidth",factory:function(){return new pM}},FM={key:"mergeTableCell",factory:function(){return new EM}},MM={key:"splitTableCell",factory:function(){return new xM}},IM={key:"setTableProperty",factory:function(){return new lM}},PM={key:"setTableCellProperty",factory:function(){return new cM}};var RM={selector:"td:not([data-w-e-type]),th:not([data-w-e-type])",parseElemHtml:function(e,t,r){var n=_p(e),o=n.text().replace(/\s+/gm," ").trim();0===(t=t.filter(function(e){return"paragraph"===wm.getNodeType(e)||(!!ph.Text.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"===aM(n,"display")&&0===o.length,u=n.attr("width")||"auto";return{type:"table-cell",isHeader:"th"===iM(n),colSpan:i,rowSpan:a,width:u,children:t,hidden:s}}};var LM={selector:"tr:not([data-w-e-type])",parseElemHtml:function(e,t,r){for(var n=_p(e),o=[],i=0;i<t.length;i+=1){var a=t[i];if("table-cell"===wm.getNodeType(a)){var s=a;if(s.hidden)continue;o.push(s)}}return{type:"table-row",height:parseInt(aM(n,"height")||"0",10)||void 0,children:o}}};var _M,zM={selector:"table:not([data-w-e-type])",parseElemHtml:function(e,t,r){var n,o,i=_p(e),a="auto";"100%"===aM(i,"width")&&(a="100%"),"100%"===i.attr("width")&&(a="100%");var s={type:"table",width:a,height:parseInt(aM(i,"height")||"0",10),children:t.filter(function(e){return"table-row"===wm.getNodeType(e)})},u=(null===(n=i.find("tr")[0])||void 0===n?void 0:n.children)||[],l=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")||aM(_p(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(l.length>0)s.columnWidths=l;else if(u.length>0){var c=[];Array.from(u).forEach(function(e){var t=parseInt(_p(e).attr("colSpan")||"1",10),r=parseInt(aM(_p(e),"width")||"90",10);c.push(r);for(var n=1;n<t;n+=1)c.push(90)}),s.columnWidths=c}return s}},jM=null===(_M=null===window||void 0===window?void 0:window.getComputedStyle(document.documentElement))||void 0===_M?void 0:_M.getPropertyValue("--w-e-textarea-border-color");function HM(e){var t=e.selection;if(null==t)return!1;var r=Ch(ph.Editor.nodes(e,{match:function(e){return wm.checkNodeType(e,"table-cell")}}),1),n=r[0];if(n){var o=Ch(n,2)[1],i=ph.Editor.start(e,o);if(ph.Point.equals(t.anchor,i))return!0}return!1}function $M(e,t){var r=t.offset;if(0===r)return!1;var n=ph.Editor.node(e,t);if(!ph.Text.isText(n[0]))return!1;var o=ph.Node.string(n[0]);return!(r>=o.length)&&("\n"===o[r-1]&&"\r"===o[r])}function UM(e,t,r){var n=e.selection;if(null==n||"line"===t)return!1;var o=Ch(ph.Editor.nodes(e,{match:function(e){return wm.checkNodeType(e,"table-cell")}}),1),i=o[0],a=n.anchor;if("backward"===r&&0===n.anchor.offset&&(a=ph.Editor.before(e,n)),"forward"===r&&ph.Editor.isEnd(e,n.anchor,n.anchor.path)&&(a=ph.Editor.after(e,n)),null==a)return!1;var s=ph.Editor.above(e,{at:a,match:function(e){return wm.checkNodeType(e,"table-cell")}});if(null==s||null==i||!ph.Path.equals(s[1],i[1]))return!1;var u=ph.Editor.node(e,a);if(!ph.Text.isText(u[0])||u[0].text.length<2)return!1;var l="backward"===r?[a.offset-2,a.offset]:[a.offset,a.offset+2],c=ph.Node.string(u[0]);return"\n\r"===c.slice.apply(c,Ah([],Ch(l),!1))?(ph.Transforms.insertText(e,c.slice(0,l[0])+c.slice(l[1]),{at:{anchor:ph.Editor.start(e,a.path),focus:ph.Editor.end(e,a.path)}}),!0):!!$M(e,a)&&(ph.Transforms.insertText(e,c.slice(0,n.anchor.offset-1)+c.slice(n.anchor.offset+1),{at:{anchor:ph.Editor.start(e,a.path),focus:ph.Editor.end(e,a.path)}}),!0)}function VM(e,t){var r=ph.Editor.nodes(e,{at:t,match:function(e){return"table"===wm.getNodeType(e)}});return!!Ah([],Ch(r),!1).find(function(){return!0})}function qM(e){var t,r;try{for(var n=Sh(["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(wm.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 GM(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,Ah([],Ch(r),!1)),t.innerHTML}var WM={selector:"table",preParseHtml:function(e){var t=_p(e);if("table"!==iM(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=_p(o[i]);a.attr("width","auto");var s=a.html()||"";s=GM(s=(s=s.replace(/<o:p[^>]*>[\s\S]*?<\/o:p>/gi,"")).replace(/<\/o:p>/gi,"")),a.html(s)}return t[0]}};function YM(e){var t,r,n=[],o=0;try{for(var i=Sh(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 KM(e){var t,r,n=[],o=e.reduce(function(e,t){return e+t},0);try{for(var i=Sh(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 XM=null;var ZM=!1,JM=!1,QM=0,eI=null,tI=_p(window);tI.on("mousedown",function(e){var t=e.target;if(t.closest('[data-block-type="table-cell"]'))ZM=!0;else if("DIV"===t.tagName&&t.closest(".column-resizer-item")){if(null===eI)return;JM=!0;var r=e.clientX;QM=r,document.body.style.cursor="col-resize",e.preventDefault()}tI.on("mousemove",rI),tI.on("mouseup",nI)});var rI=cb(function(e){if(JM&&null!==eI){e.preventDefault();var t,r=e.clientX,n=r-QM,o=Ch(ph.Editor.nodes(eI,{match:tM(eI,"table")}),1),i=Ch(o[0],1)[0],a=i.columnWidths,s=void 0===a?[]:a,u=i.resizingIndex,l=void 0===u?-1:u,c=wm.getSelectedNodeByType(eI,"table"),d=wm.toDOMNode(eI,c).querySelector(".table");if(d)t=function(e,t,r,n,o){var i=Ah([],Ch(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,u=r-(0===t?0:n[t-1]),l=Math.max(s,u);return i[t]=Math.floor(100*l)/100,i}(s,l,r-d.getBoundingClientRect().left,YM(s),eI);else t=function(e,t,r,n){var o=Ah([],Ch(e),!1),i=n.getMenuConfig("insertTable").minWidth,a=parseInt((void 0===i?60:i).toString(),10)||60,s=o[t],u=Math.max(a,s+r);return o[t]=Math.floor(100*u)/100,o}(s,l,n,eI);ph.Transforms.setNodes(eI,{columnWidths:t},{mode:"highest"})}},100);function nI(e){ZM=!1,JM=!1,eI=null,document.body.style.cursor="",tI.off("mousemove",rI),tI.off("mouseup",nI)}function oI(e,t){"mouseenter"===t.type?ph.Transforms.setNodes(e,{isResizing:!0},{mode:"highest"}):ph.Transforms.setNodes(e,{isResizing:!1},{mode:"highest"})}function iI(e){var t,r,n=[],o=0;try{for(var i=Sh(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 aI=!1,sI=0,uI=null,lI=_p(window);var cI=cb(function(e){if(aI&&null!==uI){e.preventDefault();var t,r=e.clientY,n=r-sI,o=Ch(ph.Editor.nodes(uI,{match:tM(uI,"table")}),1),i=Ch(o[0],1)[0],a=i.children,s=i.resizingRowIndex,u=void 0===s?-1:s,l=a.map(function(e){return e.height||30}),c=wm.getSelectedNodeByType(uI,"table"),d=wm.toDOMNode(uI,c).querySelector(".table");if(d)t=function(e,t,r,n,o){var i=Ah([],Ch(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,u=r-(0===t?0:n[t-1]),l=Math.max(s,u);return i[t]=Math.floor(100*l)/100,i}(l,u,r-d.getBoundingClientRect().top,iI(l),uI);else t=function(e,t,r,n){var o=Ah([],Ch(e),!1),i=(n.getMenuConfig("insertTable")||{}).minRowHeight,a=parseInt((void 0===i?30:i).toString(),10)||30,s=o[t],u=Math.max(a,s+r);return o[t]=Math.floor(100*u)/100,o}(l,u,n,uI);var f=wm.getSelectedNodeByType(uI,"table");if(f&&u>=0&&u<t.length){var h=Ah(Ah([],Ch(wm.findPath(uI,f)),!1),[u],!1);try{ph.Transforms.setNodes(uI,{height:t[u]},{at:h})}catch(e){console.warn("更新行高度失败:",e)}}}},100);function dI(e){aI=!1,uI=null,document.body.style.cursor="",lI.off("mousemove",cI),lI.off("mouseup",dI)}function fI(e,t){"mouseenter"===t.type?ph.Transforms.setNodes(e,{isResizingRow:!0},{mode:"highest"}):ph.Transforms.setNodes(e,{isResizingRow:!1},{mode:"highest"})}lI.on("mousedown",function(e){var t=e.target;if("DIV"===t.tagName&&t.closest(".row-resizer-item")){if(null===uI)return;aI=!0;var r=e.clientY;sI=r,document.body.style.cursor="row-resize",e.preventDefault()}lI.on("mousemove",cI),lI.on("mouseup",dI)});var hI={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(ph.Range.isCollapsed(r))return!0;var n=r.anchor,o=r.focus,i=wm.findPath(e,t),a=ph.Editor.start(e,i),s=ph.Editor.end(e,i),u=ph.Point.compare(n,s)<=0&&ph.Point.compare(n,a)>=0,l=ph.Point.compare(o,s)<=0&&ph.Point.compare(o,a)>=0;return!!(u&&l&&ph.Path.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,u=o.columnWidths,l=void 0===u?[]:u,c=o.scrollWidth,d=void 0===c?0:c,f=o.isHoverCellBorder,h=o.resizingIndex,p=o.isResizing,g=o.isHoverRowBorder,m=o.resizingRowIndex,v=o.isResizingRow,y=wm.isNodeSelected(r,e),b=Ch(wM.selection(r),1)[0],w=KM(l),E=pw("div",{className:"table-container","data-selected":y,on:{mousedown:function(t){if("DIV"===t.target.tagName&&t.preventDefault(),!r.isDisabled()){t.target.closest('[data-block-type="table-cell"]')&&wM.unselect(r);var n=wm.findPath(r,e),o=ph.Editor.start(r,n),i=r.selection;if(null!=i)i.anchor.path[0]!==n[0]&&"DIV"===t.target.tagName&&r.select(o);else r.select(o)}}}},pw("table",{width:a,contentEditable:n,className:"table ".concat(b?"table-selection-none":""),style:{width:"100%"===a?a:"".concat(l.reduce(function(e,t){return e+t},0),"px")},on:{mousemove:Vv(function(t){wM.hasSelected(r)||(function(e,t,r,n){if(!e.isDisabled()&&!ZM&&!JM){var o=t,i=o.width,a=void 0===i?"auto":i,s=o.columnWidths,u=void 0===s?[]:s,l=o.isHoverCellBorder,c=o.resizingIndex,d=r.clientX,f=r.target;if(Ag(f)&&d>(g=f.getBoundingClientRect()).x+5&&d<g.x+g.width-5)return void(l&&ph.Transforms.setNodes(e,{isHoverCellBorder:!1,resizingIndex:-1},{mode:"highest"}));if(Ag(f)){var h=f.closest(".table");if(h)for(var p=r.clientX,g=h.getBoundingClientRect(),m="100%"===a?KM(u).map(function(e){return e*n}):u,v=YM(m),y=0;y<v.length;y+=1)if(p-g.x>=v[y]-5&&p-g.x<v[y]+5){if(c===y)return;return void ph.Transforms.setNodes(e,{isHoverCellBorder:!0,resizingIndex:y},{mode:"highest"})}}!0===l&&ph.Transforms.setNodes(e,{isHoverCellBorder:!1,resizingIndex:-1},{mode:"highest"})}}(r,e,t,d),function(e,t,r){if(!e.isDisabled()&&!aI){var n=t,o=n.children,i=n.isHoverRowBorder,a=n.resizingRowIndex,s=r.target;if(Ag(s)){var u=s.closest(".table");if(u)for(var l=r.clientY,c=u.getBoundingClientRect(),d=iI(o.map(function(e){return e.height||30})),f=0;f<d.length;f+=1)if(l-c.y>=d[f]-5&&l-c.y<d[f]+5){if(a===f)return;return void ph.Transforms.setNodes(e,{isHoverRowBorder:!0,resizingRowIndex:f},{mode:"highest"})}}!0===i&&ph.Transforms.setNodes(e,{isHoverRowBorder:!1,resizingRowIndex:-1},{mode:"highest"})}}(r,e,t))},25)}},pw("colgroup",{contentEditable:!1},l.map(function(e){return pw("col",{width:e})})),pw("tbody",null,t)),pw("div",{className:"column-resizer",contentEditable:!1},l.map(function(e,t){var n=e;return"100%"===a&&(n=w[t]*d),pw("div",{className:"column-resizer-item",style:{minWidth:"".concat(n,"px")}},pw("div",{className:"resizer-line-hotzone ".concat(f&&t===h?"visible ":"").concat(p&&t===h?"highlight":""),style:{height:"".concat(s,"px")},on:{mouseenter:function(e){return oI(r,e)},mouseleave:function(e){return oI(r,e)},mousedown:function(e){return function(e){JM||(eI=e)}(r)}}},pw("div",{className:"resizer-line"})))})),pw("div",{className:"row-resizer",contentEditable:!1},e.children.map(function(e,t){var n=l.reduce(function(e,t){return e+t},0),o=e.height||30;return pw("div",{className:"row-resizer-item",style:{minHeight:"".concat(o,"px")}},pw("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 fI(r,e)},mouseleave:function(e){return fI(r,e)},mousedown:function(e){return function(e){aI||(uI=e)}(r)}}},pw("div",{className:"resizer-line-horizontal"})))}))),x=Yb("div",{hook:{insert:function(e){var t=e.elm;return function(e,t){if(Ag(t)){var r=t.querySelector("table");r&&(XM=new ResizeObserver(function(t){var r=Ch(t,1)[0].contentRect;ph.Transforms.setNodes(e,{scrollWidth:r.width,height:r.height},{mode:"highest"})}),XM.observe(r))}}(r,t)},destroy:function(){XM&&(null==XM||XM.disconnect(),XM=null)}}},E);return x}},pI={type:"table-row",renderElem:function(e,t,r){var n=e.height;return pw("tr",{style:n?{height:"".concat(n,"px")}:{}},t)}},gI={type:"table-cell",renderElem:function(e,t,r){var n=function(e,t){var r=wm.getParentNode(e,t);if(null==r)return!1;var n=wm.getParentNode(e,r);return null!=n&&gM(n).some(function(e){return e===t})}(r,e),o=e,i=o.colSpan,a=void 0===i?1:i,s=o.rowSpan,u=void 0===s?1:s,l=o.isHeader,c=void 0!==l&&l,d=o.hidden,f=void 0!==d&&d,h=wM.isSelected(r,e);return pw(n&&c?"th":"td",{colSpan:a,rowSpan:u,"data-block-type":"table-cell",className:h?"w-e-selected":"",style:{display:f?"none":""}},t)}};function mI(e,t){null==e.data&&(e.data={});var r=e.data;null==r.style&&(r.style={}),Object.assign(r.style,t)}var vI={renderStyle:function(e,t){var r,n;if(!ph.Element.isElement(e))return t;var o=e,i=o.backgroundColor,a=o.borderWidth,s=o.borderStyle,u=o.borderColor,l=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),u&&(c.borderColor=u),l&&(c.textAlign=l);var d=t;return"table"===e.type?mI(null===(n=(null===(r=d.children)||void 0===r?void 0:r[0]).children)||void 0===n?void 0:n[0],c):mI(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=_p(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=_p(e),o=t,i=aM(n,"background-color");i||(i=aM(n,"background")),i&&(o.backgroundColor=i);var a=aM(n,"border");a||"TD"!==e.tagName||(a="1px solid ".concat(jM));var s,u=Ch((null==a?void 0:a.split(" "))||[],3),l=u[0],c=u[1],d=u[2];(l=aM(n,"border-width")||l)&&(o.borderWidth=(s=l.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=aM(n,"border-style")||c)&&(o.borderStyle="none"===c?"":c),(d=aM(n,"border-color")||d)&&(o.borderColor=d);var f=aM(n,"text-align");return(f=aM(n,"text-align")||f)&&(o.textAlign=f),t},renderElems:[hI,pI,gI],elemsToHtml:[XF,ZF,JF],preParseHtml:[WM],parseElemsHtml:[RM,LM,zM],menus:[CM,AM,DM,TM,kM,OM,NM,BM,FM,MM,IM,PM],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,u=e.selectAll,l=e;l.insertBreak=function(){null==wm.getSelectedNodeByType(l,"table")?t():l.insertText("\n\r")},l.deleteBackward=function(e){if(!HM(l)&&!UM(l,e,"backward")){var t=l.selection;if(t){var n=ph.Editor.before(l,t),o=ph.Editor.above(l,{at:t,match:function(e){return wm.checkNodeType(e,"table-cell")}});if(n){var i=VM(l,n);if(!o&&i&&qM(l))return}}r(e)}},l.handleTab=function(){var t;if(wm.getSelectedNodeByType(l,"table")){var r=ph.Editor.above(e);wm.checkNodeType(r[0],"table-cell")&&ph.Transforms.select(e,r[1]);var n=ph.Editor.next(e);if(n)n[0]&&n[0].text&&(n=null!==(t=ph.Editor.above(e,{at:n[1]}))&&void 0!==t?t:n),ph.Transforms.select(e,n[1]);else{var o=l.children||[],i=o.length;if(wm.checkNodeType(o[i-1],"table")){var a=wm.genEmptyParagraph();ph.Transforms.insertNodes(l,a,{at:[i]}),l.handleTab()}}}else s()},l.deleteForward=function(e){if(!HM(l)&&!UM(l,e,"forward")){var t=l.selection;if(t){var r=ph.Editor.after(l,t),o=ph.Editor.above(l,{at:t,match:function(e){return wm.checkNodeType(e,"table-cell")}});if(r){var i=VM(l,r);if(!o&&i&&qM(l))return}}n(e)}},l.deleteFragment=function(e){var t=l.selection;if(t){var r,n=!1,i={anchor:t.anchor,focus:t.focus},a=ph.Point.isBefore(i.anchor,i.focus);if($M(l,t.anchor))(r=ph.Editor[a?"before":"after"](l,t.anchor))&&(i.anchor=r),n=!0;if($M(l,t.focus))(r=ph.Editor[a?"after":"before"](l,t.focus))&&(i.focus=r),n=!0;n&&ph.Transforms.setSelection(l,i),o(e)}},l.normalizeNode=function(e){var t=Ch(e,2),r=t[0],n=t[1];if("table"!==wm.getNodeType(r))return i([r,n]);if(wm.isLastNode(l,r)){var o=wm.genEmptyParagraph();ph.Transforms.insertNodes(l,o,{at:[n[0]+1]})}},l.insertData=function(e){if(null!=wm.getSelectedNodeByType(l,"table")){var t=e.getData("text/plain");"\n"===t||/<img[^>]+>/.test(e.getData("text/html"))?a(e):ph.Editor.insertText(l,t)}else a(e)},l.selectAll=function(){var e=l.selection;if(null!=e){var t=wm.getSelectedNodeByType(l,"table-cell");if(null!=t){var r=e.anchor,n=e.focus;if(ph.Path.equals(r.path.slice(0,3),n.path.slice(0,3)))if(0!==ph.Node.string(t).length){var o=wm.findPath(l,t),i={anchor:ph.Editor.start(l,o),focus:ph.Editor.end(l,o)};l.select(i)}else u();else u()}else u()}else u()},function(e){var t=e.apply;e.apply=function(r){if(!ph.Operation.isSelectionOperation(r)||!r.newProperties)return t(r);var n=wh(wh({},e.selection),r.newProperties);if(!ph.Range.isRange(n))return wM.unselect(e),t(r);var o=function(e){return ph.Element.isElement(e)&&("table-cell"===e.type||"th"===e.type||"td"===e.type)},i=Ch(ph.Editor.nodes(e,{match:o,at:ph.Range.start(n),mode:"lowest"}),1)[0],a=Ch(ph.Editor.nodes(e,{match:o,at:ph.Range.end(n),mode:"lowest"}),1)[0];if(!i||!a)return wM.unselect(e),t(r);var s=Ch(i,2)[1],u=Ch(a,2)[1];if(ph.Path.equals(s,u)||!rM(e,[s,u],"table"))return wM.unselect(e),t(r);try{var l=nM(e,{at:s});if(!l||0===l.length)return wM.unselect(e),t(r);for(var c=oM.valueOf(0,0),d=oM.valueOf(0,0),f=!1,h=!1,p=0;p<l.length;p+=1)if(l[p])for(var g=0;g<l[p].length;g+=1)if(l[p][g]){var m=Ch(l[p][g],1),v=Ch(m[0],2)[1];ph.Path.equals(s,v)&&(c.x=p,c.y=g,f=!0),ph.Path.equals(u,v)&&(d.x=p,d.y=g,h=!0)}if(!f||!h)return wM.unselect(e),t(r);for(var y=oM.valueOf(Math.min(c.x,d.x),Math.min(c.y,d.y)),b=oM.valueOf(Math.max(c.x,d.x),Math.max(c.y,d.y));;){var w=oM.valueOf(y.x,y.y),E=oM.valueOf(b.x,b.y);for(p=w.x;p<=E.x&&p<l.length;p+=1)if(l[p])for(g=w.y;g<=E.y&&g<l[p].length;g+=1)if(l[p][g]){var x=Ch(l[p][g],2)[1];if(x){var S=x.rtl,C=x.ltr,A=x.btt,D=x.ttb;w.x=Math.min(w.x,p-(D-1)),w.y=Math.min(w.y,g-(S-1)),E.x=Math.max(E.x,p+(A-1)),E.y=Math.max(E.y,g+(C-1))}}if(oM.equals(y,w)&&oM.equals(b,E))break;y=w,b=E}var T=[],k=new WeakSet;for(p=y.x;p<=b.x&&p<l.length;p+=1)if(l[p]){var O=[];for(g=y.y;g<=b.y&&g<l[p].length;g+=1)if(l[p][g]){var N=Ch(l[p][g],1),B=Ch(N[0],1)[0];B&&(k.add(B),O.push(l[p][g]))}O.length>0&&T.push(O)}sM.set(e,T),uM.set(e,k)}catch(n){return wM.unselect(e),t(r)}t(r)}}(l),l.getTableSelection=function(){return sM.get(l)||null};var c=l.addMark,d=l.removeMark,f=wh({},ph.Transforms);return l.addMark=function(e,t){var r=sM.get(l);if(r&&r.length>0){var n=l.selection;r.forEach(function(r){r.forEach(function(r){var n=Ch(r[0],2)[1],o=ph.Editor.start(l,n),i=ph.Editor.end(l,n);ph.Transforms.select(l,{anchor:o,focus:i}),c(e,t)})}),n&&ph.Transforms.select(l,n)}else c(e,t)},l.removeMark=function(e){var t=sM.get(l);if(t&&t.length>0){var r=l.selection;t.forEach(function(t){t.forEach(function(t){var r=Ch(t[0],2)[1],n=ph.Editor.start(l,r),o=ph.Editor.end(l,r);ph.Transforms.select(l,{anchor:n,focus:o}),d(e)})}),r&&ph.Transforms.select(l,r)}else d(e)},ph.Transforms.setNodes=function(e,t,r){if(void 0===r&&(r={}),e===l){var n=sM.get(l);if(n&&n.length>0)return"hidden"in t||"rowSpan"in t||"colSpan"in t?void f.setNodes(e,t,r):void n.forEach(function(n){n.forEach(function(n){var o=Ch(n[0],2)[1];f.setNodes(e,t,wh(wh({},r),{at:o}))})})}f.setNodes(e,t,r)},l}};Ry("en",{uploadImgModule:{uploadImage:"Upload Image",uploadError:"{{fileName}} upload error"}}),Ry("zh-CN",{uploadImgModule:{uploadImage:"上传图片",uploadError:"{{fileName}} 上传出错"}});ag&&(_p.fn.append=ag),Wp&&(_p.fn.on=Wp),fg&&(_p.fn.remove=fg),Gp&&(_p.fn.val=Gp),mg&&(_p.fn.click=mg),Jp&&(_p.fn.hide=Jp);var yI=new WeakMap;function bI(e){return e.getMenuConfig("uploadImage")}function wI(e,t){return Eh(this,void 0,void 0,function(){return xh(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;FA(e,i,t.name,a),r("ok")}}})]})})}function EI(e,t){return Eh(this,void 0,void 0,function(){var r,n;return xh(this,function(o){switch(o.label){case 0:return r=function(e){var t=yI.get(e);if(null!=t)return t;var r=bI(e),n=r.onSuccess,o=r.onProgress,i=r.onFailed,a=r.customInsert,s=r.onError;return t=FS(wh(wh({},r),{onProgress:function(t){e.showProgressBar(t),o&&o(t)},onSuccess:function(t,r){if(a)return a(r,function(t,r,n){return FA(e,t,r,n)}),void n(t,r);var o=r.errno,s=void 0===o?1:o,u=r.data,l=void 0===u?{}:u;if(0===s){if(Array.isArray(l))l.forEach(function(t){var r=t.url,n=void 0===r?"":r,o=t.alt,i=void 0===o?"":o,a=t.href;FA(e,n,i,void 0===a?"":a)});else{var c=l.url,d=void 0===c?"":c,f=l.alt,h=void 0===f?"":f,p=l.href;FA(e,d,h,void 0===p?"":p)}n(t,r)}else i(t,r)},onError:function(e,t,r){s(e,t,r)}})),yI.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 xI(e,t){return Eh(this,void 0,void 0,function(){var r,n,o,i,a,s,u,l,c,d,f,h,p,g,m;return xh(this,function(v){switch(v.label){case 0:if(null==t)return[2];r=Array.prototype.slice.call(t),n=bI(e),o=n.customUpload,i=n.base64LimitSize,a=[],v.label=1;case 1:v.trys.push([1,10,11,16]),s=!0,u=Dh(r),v.label=2;case 2:return[4,u.next()];case 3:return l=v.sent(),(h=l.done)?[3,9]:(m=l.value,s=!1,d=(c=m).size,i&&d<=i?[4,wI(e,c)]:[3,5]);case 4:return v.sent(),[3,8];case 5:return o?[4,o(c,function(t,r,n){return FA(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 f=v.sent(),p={error:f},[3,16];case 11:return v.trys.push([11,,14,15]),s||h||!(g=u.return)?[3,13]:[4,g.call(u)];case 12:v.sent(),v.label=13;case 13:return[3,15];case 14:if(p)throw p.error;return[7];case 15:return[7];case 16:return a.length>0?[4,EI(e,a)]:[3,18];case 17:v.sent(),v.label=18;case 18:return[2]}})})}var SI=function(){function e(){this.title=_y("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 OA(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 FA(e,t,r,n)});else{var a="";o.length>0&&(a='accept="'.concat(o.join(", "),'"'));var s=_p("body"),u=_p('<input type="file" '.concat(a," multiple/>"));u.hide(),s.append(u),u.click(),u.on("change",function(){var t=u[0].files;xI(e,t)})}},e}();var CI={menus:[{key:"uploadImage",factory:function(){return new SI},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(OA(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"===Ch(e.type.split("/"),1)[0]})?xI(e,o):t(n)}},r}};function AI(e){return e.length?e[0].tagName.toLowerCase():""}function DI(e,t,r,n){void 0===t&&(t="auto"),void 0===r&&(r="auto"),void 0===n&&(n={});var o=_p(e),i=n.width,a=void 0===i?"":i,s=n.height,u=void 0===s?"":s,l="";return a&&(l+="width: ".concat(a,";")),u&&(l+="height: ".concat(u,";")),o.attr("width",t),o.attr("height",r),o.attr("style",l),o[0].outerHTML}Ry("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"}}),Ry("zh-CN",{videoModule:{delete:"删除视频",uploadVideo:"上传视频",insertVideo:"插入视频",videoSrc:"视频地址",videoSrcPlaceHolder:"视频文件 url 或第三方 <iframe>",videoPoster:"视频封面",videoPosterPlaceHolder:"封面图片 url",ok:"确定",editSize:"修改尺寸",edit:"编辑视频",width:"宽度",height:"高度"}}),ag&&(_p.fn.append=ag),Wp&&(_p.fn.on=Wp),vg&&(_p.fn.focus=vg),$p&&(_p.fn.attr=$p),Gp&&(_p.fn.val=Gp),ng&&(_p.fn.html=ng),ug&&(_p.fn.parent=ug),Hp&&(_p.fn.hasClass=Hp),hg&&(_p.fn.empty=hg);var TI={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,u=void 0===s?"auto":s,l=r.height,c=void 0===l?"auto":l,d=r.style,f=void 0===d?{}:d,h=r.textAlign,p='<div data-w-e-type="video" data-w-e-is-void style="text-align: '.concat(void 0===h?"center":h,';">\n');if(0===o.trim().indexOf("<iframe ")){p+=DI(o,u,c,f)}else{var g=f.width,m=void 0===g?"":g,v=f.height,y=void 0===v?"":v,b="";m&&(b+="width: ".concat(m,";")),y&&(b+="height: ".concat(y,";")),p+='<video poster="'.concat(a,'" controls="true" width="').concat(u,'" height="').concat(c,'" style="').concat(b,'"><source src="').concat(o,'" type="video/mp4"/></video>')}return p+="\n</div>"}};function kI(e){return void 0===e&&(e="r"),"".concat(e,"-").concat(bg())}function OI(e){var t={};return e.trim().split(";").forEach(function(e){if(e){var r=Ch(e.split(":"),2),n=r[0],o=r[1];n&&o&&(t[n.trim()]=o.trim())}}),t}function NI(){return kI("w-e-insert-video")}var BI=function(){function e(){this.title=_y("videoModule.editSize"),this.tag="button",this.showModal=!0,this.modalWidth=320,this.$content=null,this.widthInputId=NI(),this.heightInputId=NI(),this.buttonId=NI()}return e.prototype.getSelectedVideoNode=function(e){return wm.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=Ch(Ky(_y("videoModule.width"),r,"auto"),2),a=i[0],s=_p(i[1]),u=Ch(Ky(_y("videoModule.height"),n,"auto"),2),l=u[0],c=_p(u[1]),d=Ch(Zy(o,_y("videoModule.ok")),1)[0],f=this.getSelectedVideoNode(e);if(null==this.$content){var h=_p("<div></div>");h.on("click","#".concat(o),function(t){t.preventDefault();var o=h.find("#".concat(r)).val().trim(),i=h.find("#".concat(n)).val().trim(),a=function(e){return/^\d+(\.\d+)?%$/.test(e)},s=function(e){return/^\d+(\.\d+)?$/.test(e)},u="auto",l="auto";a(o)?u=o:s(o)&&(u="".concat(parseInt(o,10),"px")),a(i)?l=i:s(i)&&(l="".concat(parseInt(i,10),"px"));var c=f.style,d=void 0===c?{}:c;e.restoreSelection();var p={style:wh(wh({},d),{width:u,height:l})};ph.Transforms.setNodes(e,p,{match:function(e){return wm.checkNodeType(e,"video")}}),e.hidePanelOrModal()}),this.$content=h}var p=this.$content;if(p.empty(),p.append(a),p.append(l),p.append(d),null==f)return p[0];var g=f.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()}),p[0]},e}();function FI(){return kI("w-e-edit-video")}var MI=function(){function e(){this.title=_y("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=FI(),this.posterInputId=FI(),this.buttonId=FI()}return e.prototype.getSelectedVideoNode=function(e){return wm.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=Ch(Ky(_y("videoModule.videoSrc"),n,_y("videoModule.videoSrcPlaceHolder")),2),s=a[0],u=a[1],l=Ch(Ky(_y("videoModule.videoPoster"),o,_y("videoModule.videoPosterPlaceHolder")),2),c=l[0],d=l[1],f=_p(u),h=_p(d),p=Ch(Zy(i,_y("videoModule.ok")),1)[0];if(null==this.$content){var g=_p("<div></div>");g.on("click","#".concat(i),function(r){return Eh(t,void 0,void 0,function(){var t,i,a,s;return xh(this,function(u){return r.preventDefault(),t=g.find("#".concat(n)).val().trim(),i=g.find("#".concat(o)).val().trim(),a=kI("video-"),s={src:t,poster:i,key:a},e.restoreSelection(),ph.Transforms.setNodes(e,s,{match:function(e){return wm.checkNodeType(e,"video")}}),e.hidePanelOrModal(),[2]})})}),this.$content=g}var m=this.$content;m.empty(),m.append(s),m.append(c),m.append(p);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 f.val(b),h.val(E),setTimeout(function(){f.focus()}),m[0]},e}();function II(e,t){return Eh(this,arguments,void 0,function(e,t,r,n,o){var i,a,s,u,l,c,d;return void 0===r&&(r=""),void 0===n&&(n=""),void 0===o&&(o=""),xh(this,function(f){switch(f.label){case 0:return t?(e.restoreSelection(),i=e.getMenuConfig("insertVideo"),a=i.onInsertedVideo,s=i.checkVideo,u=i.parseVideoSrc,[4,s(t,r)]):[2];case 1:return"string"==typeof(l=f.sent())?(e.alert(l,"error"),[2]):null==l?[2]:[4,u(t)];case 2:return 0!==(c=f.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(){wm.isSelectedEmptyParagraph(e)&&ph.Transforms.removeNodes(e,{mode:"highest"}),ph.Transforms.insertNodes(e,d,{mode:"highest"})}),a(d),[2]}})})}function PI(){return kI("w-e-insert-video")}var RI=function(){function e(){this.title=_y("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=PI(),this.posterInputId=PI(),this.buttonId=PI()}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||(!ph.Range.isCollapsed(t)||!!wm.getSelectedElems(e).some(function(t){var r=wm.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=Ch(Ky(_y("videoModule.videoSrc"),n,_y("videoModule.videoSrcPlaceHolder")),2),s=a[0],u=a[1],l=Ch(Ky(_y("videoModule.videoPoster"),o,_y("videoModule.videoPosterPlaceHolder")),2),c=l[0],d=l[1],f=_p(u),h=_p(d),p=Ch(Zy(i,_y("videoModule.ok")),1)[0];if(null==this.$content){var g=_p("<div></div>");g.on("click","#".concat(i),function(r){return Eh(t,void 0,void 0,function(){var t,i;return xh(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,II(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(p),f.val(""),h.val(""),setTimeout(function(){f.focus()}),m[0]},e}();function LI(e){return e.getMenuConfig("uploadVideo")}var _I=new WeakMap;function zI(e,t){return Eh(this,void 0,void 0,function(){var r,n;return xh(this,function(o){switch(o.label){case 0:return r=function(e){var t=_I.get(e);if(null!=t)return t;var r=LI(e),n=r.onSuccess,o=r.onProgress,i=r.onFailed,a=r.customInsert,s=r.onError;return t=FS(wh(wh({},r),{onProgress:function(t){e.showProgressBar(t),o&&o(t)},onSuccess:function(t,r){if(a)return a(r,function(t,r){return II(e,t,r)}),void n(t,r);var o=r.errno,s=void 0===o?1:o,u=r.data,l=void 0===u?{}:u;if(0===s){var c=l.url,d=void 0===c?"":c,f=l.poster;II(e,d,void 0===f?"":f),n(t,r)}else i(t,r)},onError:function(e,t,r){s(e,t,r)}})),_I.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 jI=function(){function e(){this.title=_y("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 II(e,t,r)});else{var a="";o.length>0&&(a='accept="'.concat(o.join(", "),'"'));var s=_p("body"),u=_p('<input type="file" '.concat(a," multiple/>"));u.hide(),s.append(u),u.click(),u.on("change",function(){var t=u[0].files;!function(e,t){Eh(this,void 0,void 0,function(){var r,n,o,i,a,s,u,l,c,d,f,h;return xh(this,function(p){switch(p.label){case 0:if(null==t)return[2];r=Array.prototype.slice.call(t),n=[],o=LI(e).customUpload,p.label=1;case 1:p.trys.push([1,8,9,14]),i=!0,a=Dh(r),p.label=2;case 2:return[4,a.next()];case 3:return s=p.sent(),(c=s.done)?[3,7]:(h=s.value,i=!1,u=h,o?[4,o(u,function(t,r){return II(e,t,r)},e)]:[3,5]);case 4:return p.sent(),[3,6];case 5:n.push(u),p.label=6;case 6:return i=!0,[3,2];case 7:return[3,14];case 8:return l=p.sent(),d={error:l},[3,14];case 9:return p.trys.push([9,,12,13]),i||c||!(f=a.return)?[3,11]:[4,f.call(a)];case 10:p.sent(),p.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,zI(e,n)]:[3,16];case 15:p.sent(),p.label=16;case 16:return[2]}})})}(e,t)})}},e.prototype.isDisabled=function(e){var t=e.selection;return null==t||(!ph.Range.isCollapsed(t)||!!wm.getSelectedElems(e).some(function(t){var r=wm.getNodeType(t);return"pre"===r||("list-item"===r||!!e.isVoid(t))}))},e.prototype.getMenuConfig=function(e){return e.getMenuConfig("uploadVideo")},e}();function HI(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 $I={selector:'div[data-w-e-type="video"]',parseElemHtml:function(e,t,r){var n=_p(e),o="",i="",a="auto",s="auto",u={},l=n.find("iframe");if(l.length>0)return a=l.attr("width")||"auto",s=l.attr("height")||"auto",u=OI(u=l.attr("style")||""),HI(o=l[0].outerHTML,i,a,s,u,OI(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",HI(o,i=c.attr("poster")||"",a,s,u=OI(u=c.attr("style")||""),OI(n.attr("style")||"")["text-align"]||"center")}};var UI={selector:"iframe,video,p",preParseHtml:function(e){var t=_p(e),r=t;if("p"===AI(t)){var n=t.children();if(1===n.length){var o=n[0],i=o.tagName.toLowerCase();["iframe","video"].includes(i)&&(r=_p(o))}}var a=AI(r);if("iframe"!==a&&"video"!==a)return r[0];if("video"===r.parent().attr("data-w-e-type"))return r[0];var s=_p('<div data-w-e-type="video" data-w-e-is-void style="text-align: center;"></div>');return s.append(r),s[0]}};var VI={type:"video",renderElem:function(e,t,r){var n,o=e,i=o.src,a=void 0===i?"":i,s=o.poster,u=void 0===s?"":s,l=o.key,c=void 0===l?"":l,d=o.width,f=void 0===d?"auto":d,h=o.height,p=void 0===h?"auto":h,g=o.style,m=void 0===g?{}:g,v=o.textAlign,y=void 0===v?"center":v,b=wm.isNodeSelected(r,e);if(0===a.trim().indexOf("<iframe ")){n=pw("div",{className:"w-e-textarea-video-container","data-selected":b?"true":"",style:{textAlign:y},innerHTML:DI(a,f,p,m)})}else{var w=pw("video",{key:c,poster:u,controls:!0,style:m},pw("source",{src:a,type:"video/mp4"}),"Sorry, your browser doesn't support embedded videos.\n 抱歉,浏览器不支持 video 视频");"auto"!==f&&(w.data.width=f),"auto"!==p&&(w.data.height=p),n=pw("div",{className:"w-e-textarea-video-container","data-selected":b?"true":"",style:{textAlign:y}},w)}var E=Yb("div",{props:{contentEditable:!1},on:{mousedown:function(e){return e.preventDefault()}}},n);return E}},qI={renderElems:[VI],elemsToHtml:[TI],preParseHtml:[UI],parseElemsHtml:[$I],menus:[{key:"insertVideo",factory:function(){return new RI},config:{onInsertedVideo:function(e){},checkVideo:function(e,t){return!0},parseVideoSrc:function(e){return e}}},{key:"uploadVideo",factory:function(){return new jI},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 BI}},{key:"editVideoSrc",factory:function(){return new MI}}],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=Ch(e,2),o=t[0],i=t[1];"video"===wm.getNodeType(o)&&(wm.isLastNode(n,o)&&ph.Transforms.insertNodes(n,wm.genEmptyParagraph(),{at:[i[0]+1]}));return r([o,i])},n}},GI=function(){function e(){throw new Error("不能实例化\nCan not construct a instance")}return e.setEditorConfig=function(e){void 0===e&&(e={}),this.editorConfig=wh(wh({},this.editorConfig),e)},e.setSimpleEditorConfig=function(e){void 0===e&&(e={}),this.simpleEditorConfig=wh(wh({},this.simpleEditorConfig),e)},e.setToolbarConfig=function(e){void 0===e&&(e={}),this.toolbarConfig=wh(wh({},this.toolbarConfig),e)},e.setSimpleToolbarConfig=function(e){void 0===e&&(e={}),this.simpleToolbarConfig=wh(wh({},this.simpleToolbarConfig),e)},e.registerPlugin=function(e){this.plugins.push(e)},e.registerMenu=function(e,t){Xh(e,t)},e.registerRenderElem=function(e){!function(e){var t=e.type,r=e.renderElem;yw[t||""]=r}(e)},e.registerRenderStyle=function(e){!function(e){gw.push(e)}(e)},e.registerElemToHtml=function(e){!function(e){var t=e.type,r=e.elemToHtml;om[t||""]=r}(e)},e.registerStyleToHtml=function(e){!function(e){tm.push(e)}(e)},e.registerPreParseHtml=function(e){!function(e){jg.push(e)}(e)},e.registerParseElemHtml=function(e){!function(e){var t=e.selector,r=e.parseElemHtml;$g[t]=r}(e)},e.registerParseStyleHtml=function(e){!function(e){Hg.push(e)}(e)},e.registerModule=function(e){WI(e)},e.editorConfig={},e.simpleEditorConfig={},e.toolbarConfig={},e.simpleToolbarConfig={},e.plugins=[],e}();function WI(e){var t=e.menus,r=e.renderElems,n=e.renderStyle,o=e.elemsToHtml,i=e.styleToHtml,a=e.preParseHtml,s=e.parseElemsHtml,u=e.parseStyleHtml,l=e.editorPlugin;t&&t.forEach(function(e){return GI.registerMenu(e)}),r&&r.forEach(function(e){return GI.registerRenderElem(e)}),n&&GI.registerRenderStyle(n),o&&o.forEach(function(e){return GI.registerElemToHtml(e)}),i&&GI.registerStyleToHtml(i),a&&a.forEach(function(e){return GI.registerPreParseHtml(e)}),s&&s.forEach(function(e){return GI.registerParseElemHtml(e)}),u&&GI.registerParseStyleHtml(u),l&&GI.registerPlugin(l)}rT.forEach(function(e){return WI(e)}),WI(LT),WI(vI),WI(qI),WI(CI),WI(wT),WI(KF);var YI='<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 KI={link:{menuKeys:["editLink","unLink","viewLink"]},image:{menuKeys:["imageWidth30","imageWidth50","imageWidth100","editorImageSizeMenu","editImage","viewImageLink","deleteImage"]},pre:{menuKeys:["enter","codeBlock","codeSelectLang"]},table:{menuKeys:["enter","tableHeader","tableFullWidth","insertTableRow","deleteTableRow","insertTableCol","deleteTableCol","deleteTable","mergeTableCell","splitTableCell","setTableProperty","setTableCellProperty"]},divider:{menuKeys:["enter"]},video:{menuKeys:["enter","editVideoSize","editVideoSrc"]}};var XI,ZI={hoverbarKeys:(XI=["formatPainter","headerSelect","insertLink","bulletedList","|","bold","through","color","bgColor","clearStyle"],null!=Kh.textToFormula&&XI.push("|","textToFormula"),wh(wh({},KI),{text:{menuKeys:XI}}))};GI.setEditorConfig(wh(wh({},ZI),{decorate:mT}));var JI={hoverbarKeys:KI};GI.setSimpleEditorConfig(wh(wh({},JI),{decorate:mT}));var QI={toolbarKeys:["headerSelect","blockquote","|","bold","underline","italic",{key:"group-more-style",title:_y("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:_y("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:_y("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:_y("editor.image"),iconSvg:YI,menuKeys:["insertImage","uploadImage"]},{key:"group-video",title:_y("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"]};GI.setToolbarConfig(QI);var eP={toolbarKeys:["blockquote","header1","header2","header3","|","bold","underline","italic","through","color","bgColor","clearStyle","|","bulletedList","numberedList","todo","justifyLeft","justifyRight","justifyCenter","|","insertLink",{key:"group-image",title:_y("editor.image"),iconSvg:YI,menuKeys:["insertImage","uploadImage"]},"insertVideo","insertTable","codeBlock","|","undo","redo","|","fullScreen"]};GI.setSimpleToolbarConfig(eP);e.Boot=GI,e.DomEditor=wm,e.SlateEditor=ph.Editor,e.SlateElement=ph.Element,e.SlateNode=ph.Node,e.SlatePath=ph.Path,e.SlatePoint=ph.Point,e.SlateRange=ph.Range,e.SlateText=ph.Text,e.SlateTransforms=ph.Transforms,e.Toolbar=Iw,e.createEditor=function(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,u=e.mode,l="simple"===(void 0===u?"default":u)?GI.simpleEditorConfig:GI.editorConfig,c=wh(wh({},l.hoverbarKeys||{}),s.hoverbarKeys||{});return Mw({selector:r,config:wh(wh(wh({},l),s),{hoverbarKeys:c}),content:o,html:i,plugins:GI.plugins})},e.createToolbar=function(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?GI.simpleToolbarConfig:GI.toolbarConfig;return Pw(r,{selector:t,config:wh(wh({},s),o)})},e.createUploader=FS,e.default={},e.genModalButtonElems=Zy,e.genModalInputElems=Ky,e.genModalTextareaElems=Xy,e.i18nAddResources=Ry,e.i18nChangeLanguage=function(e){Iy.changeLanguage(e)},e.i18nGetResources=function(e){return Iy.getResourceBundle(e,Py)},e.t=_y,Object.defineProperty(e,"__esModule",{value:!0})});
21
21
  //# sourceMappingURL=index.js.map