ziya 0.3.0__py3-none-any.whl → 0.3.2__py3-none-any.whl

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.

Potentially problematic release.


This version of ziya might be problematic. Click here for more details.

Files changed (73) hide show
  1. app/agents/agent.py +71 -73
  2. app/agents/direct_streaming.py +1 -1
  3. app/agents/prompts.py +1 -1
  4. app/agents/prompts_manager.py +14 -10
  5. app/agents/wrappers/google_direct.py +31 -1
  6. app/agents/wrappers/nova_tool_execution.py +2 -2
  7. app/agents/wrappers/nova_wrapper.py +1 -1
  8. app/agents/wrappers/ziya_bedrock.py +53 -31
  9. app/config/models_config.py +61 -20
  10. app/config/shell_config.py +5 -1
  11. app/extensions/prompt_extensions/claude_extensions.py +27 -5
  12. app/extensions/prompt_extensions/mcp_prompt_extensions.py +82 -56
  13. app/main.py +5 -3
  14. app/mcp/client.py +19 -10
  15. app/mcp/manager.py +68 -10
  16. app/mcp/tools.py +8 -9
  17. app/mcp_servers/shell_server.py +3 -3
  18. app/middleware/streaming.py +29 -41
  19. app/routes/file_validation.py +35 -0
  20. app/routes/mcp_routes.py +54 -8
  21. app/server.py +525 -614
  22. app/streaming_tool_executor.py +748 -137
  23. app/templates/asset-manifest.json +20 -20
  24. app/templates/index.html +1 -1
  25. app/templates/static/css/{main.0297bfee.css → main.e7109b49.css} +2 -2
  26. app/templates/static/css/main.e7109b49.css.map +1 -0
  27. app/templates/static/js/14386.65fcfe53.chunk.js +2 -0
  28. app/templates/static/js/14386.65fcfe53.chunk.js.map +1 -0
  29. app/templates/static/js/35589.0368973a.chunk.js +2 -0
  30. app/templates/static/js/35589.0368973a.chunk.js.map +1 -0
  31. app/templates/static/js/{50295.ab92f61b.chunk.js → 50295.90aca393.chunk.js} +3 -3
  32. app/templates/static/js/50295.90aca393.chunk.js.map +1 -0
  33. app/templates/static/js/55734.5f0fd567.chunk.js +2 -0
  34. app/templates/static/js/55734.5f0fd567.chunk.js.map +1 -0
  35. app/templates/static/js/58542.57fed736.chunk.js +2 -0
  36. app/templates/static/js/58542.57fed736.chunk.js.map +1 -0
  37. app/templates/static/js/{68418.2554bb1e.chunk.js → 68418.f7b4d2d9.chunk.js} +3 -3
  38. app/templates/static/js/68418.f7b4d2d9.chunk.js.map +1 -0
  39. app/templates/static/js/99948.b280eda0.chunk.js +2 -0
  40. app/templates/static/js/99948.b280eda0.chunk.js.map +1 -0
  41. app/templates/static/js/main.e075582c.js +3 -0
  42. app/templates/static/js/main.e075582c.js.map +1 -0
  43. app/utils/code_util.py +5 -2
  44. app/utils/context_cache.py +11 -0
  45. app/utils/conversation_filter.py +90 -0
  46. app/utils/custom_bedrock.py +43 -1
  47. app/utils/diff_utils/validation/validators.py +32 -22
  48. app/utils/file_cache.py +5 -3
  49. app/utils/precision_prompt_system.py +116 -0
  50. app/utils/streaming_optimizer.py +100 -0
  51. {ziya-0.3.0.dist-info → ziya-0.3.2.dist-info}/METADATA +3 -2
  52. {ziya-0.3.0.dist-info → ziya-0.3.2.dist-info}/RECORD +59 -55
  53. app/templates/static/css/main.0297bfee.css.map +0 -1
  54. app/templates/static/js/14386.567bf803.chunk.js +0 -2
  55. app/templates/static/js/14386.567bf803.chunk.js.map +0 -1
  56. app/templates/static/js/35589.278ecda2.chunk.js +0 -2
  57. app/templates/static/js/35589.278ecda2.chunk.js.map +0 -1
  58. app/templates/static/js/50295.ab92f61b.chunk.js.map +0 -1
  59. app/templates/static/js/55734.90d8bd52.chunk.js +0 -2
  60. app/templates/static/js/55734.90d8bd52.chunk.js.map +0 -1
  61. app/templates/static/js/58542.08fb5cf4.chunk.js +0 -2
  62. app/templates/static/js/58542.08fb5cf4.chunk.js.map +0 -1
  63. app/templates/static/js/68418.2554bb1e.chunk.js.map +0 -1
  64. app/templates/static/js/99948.71670e91.chunk.js +0 -2
  65. app/templates/static/js/99948.71670e91.chunk.js.map +0 -1
  66. app/templates/static/js/main.1d79eac2.js +0 -3
  67. app/templates/static/js/main.1d79eac2.js.map +0 -1
  68. /app/templates/static/js/{50295.ab92f61b.chunk.js.LICENSE.txt → 50295.90aca393.chunk.js.LICENSE.txt} +0 -0
  69. /app/templates/static/js/{68418.2554bb1e.chunk.js.LICENSE.txt → 68418.f7b4d2d9.chunk.js.LICENSE.txt} +0 -0
  70. /app/templates/static/js/{main.1d79eac2.js.LICENSE.txt → main.e075582c.js.LICENSE.txt} +0 -0
  71. {ziya-0.3.0.dist-info → ziya-0.3.2.dist-info}/WHEEL +0 -0
  72. {ziya-0.3.0.dist-info → ziya-0.3.2.dist-info}/entry_points.txt +0 -0
  73. {ziya-0.3.0.dist-info → ziya-0.3.2.dist-info}/licenses/LICENSE +0 -0
@@ -1,3 +1,3 @@
1
- /*! For license information please see 50295.ab92f61b.chunk.js.LICENSE.txt */
2
- (self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[50295],{16523:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(58168),i=n(65043);const s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};var o=n(22172),a=function(e,t){return i.createElement(o.A,(0,r.A)({},e,{ref:t,icon:s}))};const l=i.forwardRef(a)},77848:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(58168),i=n(65043);const s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 394c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H708V152c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v166H400V152c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v166H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h168v236H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h168v166c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V706h228v166c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V706h164c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H708V394h164zM628 630H400V394h228v236z"}}]},name:"number",theme:"outlined"};var o=n(22172),a=function(e,t){return i.createElement(o.A,(0,r.A)({},e,{ref:t,icon:s}))};const l=i.forwardRef(a)},77677:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(58168),i=n(65043);const s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M719.4 499.1l-296.1-215A15.9 15.9 0 00398 297v430c0 13.1 14.8 20.5 25.3 12.9l296.1-215a15.9 15.9 0 000-25.8zm-257.6 134V390.9L628.5 512 461.8 633.1z"}}]},name:"play-circle",theme:"outlined"};var o=n(22172),a=function(e,t){return i.createElement(o.A,(0,r.A)({},e,{ref:t,icon:s}))};const l=i.forwardRef(a)},17857:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(58168),i=n(65043);const s={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M938.2 508.4L787.3 389c-3-2.4-7.3-.2-7.3 3.6V478H636V184h204v128c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V144c0-15.5-12.5-28-28-28H596c-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 4v128H636V546h144v85.4c0 3.8 4.4 6 7.3 3.6l150.9-119.4a4.5 4.5 0 000-7.2zM428 116H144c-15.5 0-28 12.5-28 28v168c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V184h204v294H244v-85.4c0-3.8-4.3-6-7.3-3.6l-151 119.4a4.52 4.52 0 000 7.1l151 119.5c2.9 2.3 7.3.2 7.3-3.6V546h144v294H184V712c0-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"}}]},name:"split-cells",theme:"outlined"};var o=n(22172),a=function(e,t){return i.createElement(o.A,(0,r.A)({},e,{ref:t,icon:s}))};const l=i.forwardRef(a)},25183:function(e){var t;"undefined"!==typeof self&&self,t=function(){return function(){"use strict";var e={d:function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},t={};e.d(t,{default:function(){return Gr}});class n{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;let r,i,s="KaTeX parse error: "+e;const o=t&&t.loc;if(o&&o.start<=o.end){const e=o.lexer.input;r=o.start,i=o.end,r===e.length?s+=" at end of input: ":s+=" at position "+(r+1)+": ";const t=e.slice(r,i).replace(/[^]/g,"$&\u0332");let n,a;n=r>15?"\u2026"+e.slice(r-15,r):e.slice(0,r),a=i+15<e.length?e.slice(i,i+15)+"\u2026":e.slice(i),s+=n+t+a}const a=new Error(s);return a.name="ParseError",a.__proto__=n.prototype,a.position=r,null!=r&&null!=i&&(a.length=i-r),a.rawMessage=e,a}}n.prototype.__proto__=Error.prototype;var r=n;const i=/([A-Z])/g,s={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},o=/[&><"']/g,a=function(e){return"ordgroup"===e.type||"color"===e.type?1===e.body.length?a(e.body[0]):e:"font"===e.type?a(e.body):e};var l={contains:function(e,t){return-1!==e.indexOf(t)},deflt:function(e,t){return void 0===e?t:e},escape:function(e){return String(e).replace(o,(e=>s[e]))},hyphenate:function(e){return e.replace(i,"-$1").toLowerCase()},getBaseElem:a,isCharacterBox:function(e){const t=a(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},protocolFromUrl:function(e){const 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"}};const u={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 c(e){if(e.default)return e.default;const t=e.type,n=Array.isArray(t)?t[0]:t;if("string"!==typeof n)return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class h{constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{};for(const t in u)if(u.hasOwnProperty(t)){const n=u[t];this[t]=void 0!==e[t]?n.processor?n.processor(e[t]):e[t]:c(n)}}reportNonstrict(e,t,n){let i=this.strict;if("function"===typeof i&&(i=i(e,t,n)),i&&"ignore"!==i){if(!0===i||"error"===i)throw new r("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",n);"warn"===i?"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 '"+i+"': "+t+" ["+e+"]")}}useStrictBehavior(e,t,n){let r=this.strict;if("function"===typeof r)try{r=r(e,t,n)}catch(i){r="error"}return!(!r||"ignore"===r)&&(!0===r||"error"===r||("warn"===r?("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 '"+r+"': "+t+" ["+e+"]"),!1)))}isTrusted(e){if(e.url&&!e.protocol){const t=l.protocolFromUrl(e.url);if(null==t)return!1;e.protocol=t}const t="function"===typeof this.trust?this.trust(e):this.trust;return Boolean(t)}}class p{constructor(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}sup(){return m[d[this.id]]}sub(){return m[f[this.id]]}fracNum(){return m[g[this.id]]}fracDen(){return m[b[this.id]]}cramp(){return m[y[this.id]]}text(){return m[x[this.id]]}isTight(){return this.size>=2}}const m=[new p(0,0,!1),new p(1,0,!0),new p(2,1,!1),new p(3,1,!0),new p(4,2,!1),new p(5,2,!0),new p(6,3,!1),new p(7,3,!0)],d=[4,5,4,5,6,7,6,7],f=[5,5,5,5,7,7,7,7],g=[2,3,4,5,6,7,6,7],b=[3,3,5,5,7,7,7,7],y=[1,1,3,3,5,5,7,7],x=[0,1,2,3,2,3,2,3];var w={DISPLAY:m[0],TEXT:m[2],SCRIPT:m[4],SCRIPTSCRIPT:m[6]};const v=[{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]]}],D=[];function k(e){for(let t=0;t<D.length;t+=2)if(e>=D[t]&&e<=D[t+1])return!0;return!1}v.forEach((e=>e.blocks.forEach((e=>D.push(...e)))));const A=80,S={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 C{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 l.contains(this.classes,e)}toNode(){const e=document.createDocumentFragment();for(let t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}toMarkup(){let e="";for(let t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e}toText(){return this.children.map((e=>e.toText())).join("")}}var M={"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]}};const z={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]},E={"\xc5":"A","\xd0":"D","\xde":"o","\xe5":"a","\xf0":"d","\xfe":"o","\u0410":"A","\u0411":"B","\u0412":"B","\u0413":"F","\u0414":"A","\u0415":"E","\u0416":"K","\u0417":"3","\u0418":"N","\u0419":"N","\u041a":"K","\u041b":"N","\u041c":"M","\u041d":"H","\u041e":"O","\u041f":"N","\u0420":"P","\u0421":"C","\u0422":"T","\u0423":"y","\u0424":"O","\u0425":"X","\u0426":"U","\u0427":"h","\u0428":"W","\u0429":"W","\u042a":"B","\u042b":"X","\u042c":"B","\u042d":"3","\u042e":"X","\u042f":"R","\u0430":"a","\u0431":"b","\u0432":"a","\u0433":"r","\u0434":"y","\u0435":"e","\u0436":"m","\u0437":"e","\u0438":"n","\u0439":"n","\u043a":"n","\u043b":"n","\u043c":"m","\u043d":"n","\u043e":"o","\u043f":"n","\u0440":"p","\u0441":"c","\u0442":"o","\u0443":"y","\u0444":"b","\u0445":"x","\u0446":"n","\u0447":"n","\u0448":"w","\u0449":"w","\u044a":"a","\u044b":"m","\u044c":"a","\u044d":"e","\u044e":"m","\u044f":"r"};function F(e,t,n){if(!M[t])throw new Error("Font metrics not found for font: "+t+".");let r=e.charCodeAt(0),i=M[t][r];if(!i&&e[0]in E&&(r=E[e[0]].charCodeAt(0),i=M[t][r]),i||"text"!==n||k(r)&&(i=M[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}const B={},T=[[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]],_=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],N=function(e,t){return t.size<2?e:T[e-1][t.size-1]};class O{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||O.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=_[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){const 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(const n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return new O(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:N(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:_[e-1]})}havingBaseStyle(e){e=e||this.style.text();const t=N(O.BASESIZE,e);return this.size===t&&this.textSize===O.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})}havingBaseSizing(){let 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!==O.BASESIZE?["sizing","reset-size"+this.size,"size"+O.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=function(e){let t;if(t=e>=5?0:e>=3?1:2,!B[t]){const e=B[t]={cssEmPerMu:z.quad[t]/18};for(const n in z)z.hasOwnProperty(n)&&(e[n]=z[n][t])}return B[t]}(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}O.BASESIZE=6;var I=O;const q={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},R={ex:!0,em:!0,mu:!0},j=function(e){return"string"!==typeof e&&(e=e.unit),e in q||e in R||"ex"===e},L=function(e,t){let n;if(e.unit in q)n=q[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)n=t.fontMetrics().cssEmPerMu;else{let i;if(i=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)n=i.fontMetrics().xHeight;else{if("em"!==e.unit)throw new r("Invalid unit: '"+e.unit+"'");n=i.fontMetrics().quad}i!==t&&(n*=i.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)},H=function(e){return+e.toFixed(4)+"em"},P=function(e){return e.filter((e=>e)).join(" ")},V=function(e,t,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},t){t.style.isTight()&&this.classes.push("mtight");const e=t.getColor();e&&(this.style.color=e)}},$=function(e){const t=document.createElement(e);t.className=P(this.classes);for(const n in this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);for(const n in this.attributes)this.attributes.hasOwnProperty(n)&&t.setAttribute(n,this.attributes[n]);for(let n=0;n<this.children.length;n++)t.appendChild(this.children[n].toNode());return t},G=/[\s"'>/=\x00-\x1f]/,U=function(e){let t="<"+e;this.classes.length&&(t+=' class="'+l.escape(P(this.classes))+'"');let n="";for(const r in this.style)this.style.hasOwnProperty(r)&&(n+=l.hyphenate(r)+":"+this.style[r]+";");n&&(t+=' style="'+l.escape(n)+'"');for(const i in this.attributes)if(this.attributes.hasOwnProperty(i)){if(G.test(i))throw new r("Invalid attribute name '"+i+"'");t+=" "+i+'="'+l.escape(this.attributes[i])+'"'}t+=">";for(let r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t+="</"+e+">",t};class X{constructor(e,t,n,r){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,V.call(this,e,n,r),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return l.contains(this.classes,e)}toNode(){return $.call(this,"span")}toMarkup(){return U.call(this,"span")}}class W{constructor(e,t,n,r){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,V.call(this,t,r),this.children=n||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return l.contains(this.classes,e)}toNode(){return $.call(this,"a")}toMarkup(){return U.call(this,"a")}}class Y{constructor(e,t,n){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=n}hasClass(e){return l.contains(this.classes,e)}toNode(){const e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(const t in this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){let e='<img src="'+l.escape(this.src)+'" alt="'+l.escape(this.alt)+'"',t="";for(const n in this.style)this.style.hasOwnProperty(n)&&(t+=l.hyphenate(n)+":"+this.style[n]+";");return t&&(e+=' style="'+l.escape(t)+'"'),e+="'/>",e}}const Z={"\xee":"\u0131\u0302","\xef":"\u0131\u0308","\xed":"\u0131\u0301","\xec":"\u0131\u0300"};class K{constructor(e,t,n,r,i,s,o,a){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=n||0,this.italic=r||0,this.skew=i||0,this.width=s||0,this.classes=o||[],this.style=a||{},this.maxFontSize=0;const l=function(e){for(let t=0;t<v.length;t++){const n=v[t];for(let t=0;t<n.blocks.length;t++){const r=n.blocks[t];if(e>=r[0]&&e<=r[1])return n.name}}return null}(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[\xee\xef\xed\xec]/.test(this.text)&&(this.text=Z[this.text])}hasClass(e){return l.contains(this.classes,e)}toNode(){const e=document.createTextNode(this.text);let t=null;this.italic>0&&(t=document.createElement("span"),t.style.marginRight=H(this.italic)),this.classes.length>0&&(t=t||document.createElement("span"),t.className=P(this.classes));for(const n in this.style)this.style.hasOwnProperty(n)&&(t=t||document.createElement("span"),t.style[n]=this.style[n]);return t?(t.appendChild(e),t):e}toMarkup(){let e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=l.escape(P(this.classes)),t+='"');let n="";this.italic>0&&(n+="margin-right:"+this.italic+"em;");for(const i in this.style)this.style.hasOwnProperty(i)&&(n+=l.hyphenate(i)+":"+this.style[i]+";");n&&(e=!0,t+=' style="'+l.escape(n)+'"');const r=l.escape(this.text);return e?(t+=">",t+=r,t+="</span>",t):r}}class Q{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){const e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(let t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}toMarkup(){let e='<svg xmlns="http://www.w3.org/2000/svg"';for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+l.escape(this.attributes[t])+'"');e+=">";for(let t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e+="</svg>",e}}class J{constructor(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}toNode(){const e=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?e.setAttribute("d",this.alternate):e.setAttribute("d",S[this.pathName]),e}toMarkup(){return this.alternate?'<path d="'+l.escape(this.alternate)+'"/>':'<path d="'+l.escape(S[this.pathName])+'"/>'}}class ee{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){const e=document.createElementNS("http://www.w3.org/2000/svg","line");for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e}toMarkup(){let e="<line";for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+l.escape(this.attributes[t])+'"');return e+="/>",e}}function te(e){if(e instanceof K)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}const ne={bin:1,close:1,inner:1,open:1,punct:1,rel:1},re={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},ie={math:{},text:{}};var se=ie;function oe(e,t,n,r,i,s){ie[e][i]={font:t,group:n,replace:r},s&&r&&(ie[e][r]=ie[e][i])}const ae="math",le="text",ue="main",ce="ams",he="accent-token",pe="bin",me="close",de="inner",fe="mathord",ge="op-token",be="open",ye="punct",xe="rel",we="spacing",ve="textord";oe(ae,ue,xe,"\u2261","\\equiv",!0),oe(ae,ue,xe,"\u227a","\\prec",!0),oe(ae,ue,xe,"\u227b","\\succ",!0),oe(ae,ue,xe,"\u223c","\\sim",!0),oe(ae,ue,xe,"\u22a5","\\perp"),oe(ae,ue,xe,"\u2aaf","\\preceq",!0),oe(ae,ue,xe,"\u2ab0","\\succeq",!0),oe(ae,ue,xe,"\u2243","\\simeq",!0),oe(ae,ue,xe,"\u2223","\\mid",!0),oe(ae,ue,xe,"\u226a","\\ll",!0),oe(ae,ue,xe,"\u226b","\\gg",!0),oe(ae,ue,xe,"\u224d","\\asymp",!0),oe(ae,ue,xe,"\u2225","\\parallel"),oe(ae,ue,xe,"\u22c8","\\bowtie",!0),oe(ae,ue,xe,"\u2323","\\smile",!0),oe(ae,ue,xe,"\u2291","\\sqsubseteq",!0),oe(ae,ue,xe,"\u2292","\\sqsupseteq",!0),oe(ae,ue,xe,"\u2250","\\doteq",!0),oe(ae,ue,xe,"\u2322","\\frown",!0),oe(ae,ue,xe,"\u220b","\\ni",!0),oe(ae,ue,xe,"\u221d","\\propto",!0),oe(ae,ue,xe,"\u22a2","\\vdash",!0),oe(ae,ue,xe,"\u22a3","\\dashv",!0),oe(ae,ue,xe,"\u220b","\\owns"),oe(ae,ue,ye,".","\\ldotp"),oe(ae,ue,ye,"\u22c5","\\cdotp"),oe(ae,ue,ve,"#","\\#"),oe(le,ue,ve,"#","\\#"),oe(ae,ue,ve,"&","\\&"),oe(le,ue,ve,"&","\\&"),oe(ae,ue,ve,"\u2135","\\aleph",!0),oe(ae,ue,ve,"\u2200","\\forall",!0),oe(ae,ue,ve,"\u210f","\\hbar",!0),oe(ae,ue,ve,"\u2203","\\exists",!0),oe(ae,ue,ve,"\u2207","\\nabla",!0),oe(ae,ue,ve,"\u266d","\\flat",!0),oe(ae,ue,ve,"\u2113","\\ell",!0),oe(ae,ue,ve,"\u266e","\\natural",!0),oe(ae,ue,ve,"\u2663","\\clubsuit",!0),oe(ae,ue,ve,"\u2118","\\wp",!0),oe(ae,ue,ve,"\u266f","\\sharp",!0),oe(ae,ue,ve,"\u2662","\\diamondsuit",!0),oe(ae,ue,ve,"\u211c","\\Re",!0),oe(ae,ue,ve,"\u2661","\\heartsuit",!0),oe(ae,ue,ve,"\u2111","\\Im",!0),oe(ae,ue,ve,"\u2660","\\spadesuit",!0),oe(ae,ue,ve,"\xa7","\\S",!0),oe(le,ue,ve,"\xa7","\\S"),oe(ae,ue,ve,"\xb6","\\P",!0),oe(le,ue,ve,"\xb6","\\P"),oe(ae,ue,ve,"\u2020","\\dag"),oe(le,ue,ve,"\u2020","\\dag"),oe(le,ue,ve,"\u2020","\\textdagger"),oe(ae,ue,ve,"\u2021","\\ddag"),oe(le,ue,ve,"\u2021","\\ddag"),oe(le,ue,ve,"\u2021","\\textdaggerdbl"),oe(ae,ue,me,"\u23b1","\\rmoustache",!0),oe(ae,ue,be,"\u23b0","\\lmoustache",!0),oe(ae,ue,me,"\u27ef","\\rgroup",!0),oe(ae,ue,be,"\u27ee","\\lgroup",!0),oe(ae,ue,pe,"\u2213","\\mp",!0),oe(ae,ue,pe,"\u2296","\\ominus",!0),oe(ae,ue,pe,"\u228e","\\uplus",!0),oe(ae,ue,pe,"\u2293","\\sqcap",!0),oe(ae,ue,pe,"\u2217","\\ast"),oe(ae,ue,pe,"\u2294","\\sqcup",!0),oe(ae,ue,pe,"\u25ef","\\bigcirc",!0),oe(ae,ue,pe,"\u2219","\\bullet",!0),oe(ae,ue,pe,"\u2021","\\ddagger"),oe(ae,ue,pe,"\u2240","\\wr",!0),oe(ae,ue,pe,"\u2a3f","\\amalg"),oe(ae,ue,pe,"&","\\And"),oe(ae,ue,xe,"\u27f5","\\longleftarrow",!0),oe(ae,ue,xe,"\u21d0","\\Leftarrow",!0),oe(ae,ue,xe,"\u27f8","\\Longleftarrow",!0),oe(ae,ue,xe,"\u27f6","\\longrightarrow",!0),oe(ae,ue,xe,"\u21d2","\\Rightarrow",!0),oe(ae,ue,xe,"\u27f9","\\Longrightarrow",!0),oe(ae,ue,xe,"\u2194","\\leftrightarrow",!0),oe(ae,ue,xe,"\u27f7","\\longleftrightarrow",!0),oe(ae,ue,xe,"\u21d4","\\Leftrightarrow",!0),oe(ae,ue,xe,"\u27fa","\\Longleftrightarrow",!0),oe(ae,ue,xe,"\u21a6","\\mapsto",!0),oe(ae,ue,xe,"\u27fc","\\longmapsto",!0),oe(ae,ue,xe,"\u2197","\\nearrow",!0),oe(ae,ue,xe,"\u21a9","\\hookleftarrow",!0),oe(ae,ue,xe,"\u21aa","\\hookrightarrow",!0),oe(ae,ue,xe,"\u2198","\\searrow",!0),oe(ae,ue,xe,"\u21bc","\\leftharpoonup",!0),oe(ae,ue,xe,"\u21c0","\\rightharpoonup",!0),oe(ae,ue,xe,"\u2199","\\swarrow",!0),oe(ae,ue,xe,"\u21bd","\\leftharpoondown",!0),oe(ae,ue,xe,"\u21c1","\\rightharpoondown",!0),oe(ae,ue,xe,"\u2196","\\nwarrow",!0),oe(ae,ue,xe,"\u21cc","\\rightleftharpoons",!0),oe(ae,ce,xe,"\u226e","\\nless",!0),oe(ae,ce,xe,"\ue010","\\@nleqslant"),oe(ae,ce,xe,"\ue011","\\@nleqq"),oe(ae,ce,xe,"\u2a87","\\lneq",!0),oe(ae,ce,xe,"\u2268","\\lneqq",!0),oe(ae,ce,xe,"\ue00c","\\@lvertneqq"),oe(ae,ce,xe,"\u22e6","\\lnsim",!0),oe(ae,ce,xe,"\u2a89","\\lnapprox",!0),oe(ae,ce,xe,"\u2280","\\nprec",!0),oe(ae,ce,xe,"\u22e0","\\npreceq",!0),oe(ae,ce,xe,"\u22e8","\\precnsim",!0),oe(ae,ce,xe,"\u2ab9","\\precnapprox",!0),oe(ae,ce,xe,"\u2241","\\nsim",!0),oe(ae,ce,xe,"\ue006","\\@nshortmid"),oe(ae,ce,xe,"\u2224","\\nmid",!0),oe(ae,ce,xe,"\u22ac","\\nvdash",!0),oe(ae,ce,xe,"\u22ad","\\nvDash",!0),oe(ae,ce,xe,"\u22ea","\\ntriangleleft"),oe(ae,ce,xe,"\u22ec","\\ntrianglelefteq",!0),oe(ae,ce,xe,"\u228a","\\subsetneq",!0),oe(ae,ce,xe,"\ue01a","\\@varsubsetneq"),oe(ae,ce,xe,"\u2acb","\\subsetneqq",!0),oe(ae,ce,xe,"\ue017","\\@varsubsetneqq"),oe(ae,ce,xe,"\u226f","\\ngtr",!0),oe(ae,ce,xe,"\ue00f","\\@ngeqslant"),oe(ae,ce,xe,"\ue00e","\\@ngeqq"),oe(ae,ce,xe,"\u2a88","\\gneq",!0),oe(ae,ce,xe,"\u2269","\\gneqq",!0),oe(ae,ce,xe,"\ue00d","\\@gvertneqq"),oe(ae,ce,xe,"\u22e7","\\gnsim",!0),oe(ae,ce,xe,"\u2a8a","\\gnapprox",!0),oe(ae,ce,xe,"\u2281","\\nsucc",!0),oe(ae,ce,xe,"\u22e1","\\nsucceq",!0),oe(ae,ce,xe,"\u22e9","\\succnsim",!0),oe(ae,ce,xe,"\u2aba","\\succnapprox",!0),oe(ae,ce,xe,"\u2246","\\ncong",!0),oe(ae,ce,xe,"\ue007","\\@nshortparallel"),oe(ae,ce,xe,"\u2226","\\nparallel",!0),oe(ae,ce,xe,"\u22af","\\nVDash",!0),oe(ae,ce,xe,"\u22eb","\\ntriangleright"),oe(ae,ce,xe,"\u22ed","\\ntrianglerighteq",!0),oe(ae,ce,xe,"\ue018","\\@nsupseteqq"),oe(ae,ce,xe,"\u228b","\\supsetneq",!0),oe(ae,ce,xe,"\ue01b","\\@varsupsetneq"),oe(ae,ce,xe,"\u2acc","\\supsetneqq",!0),oe(ae,ce,xe,"\ue019","\\@varsupsetneqq"),oe(ae,ce,xe,"\u22ae","\\nVdash",!0),oe(ae,ce,xe,"\u2ab5","\\precneqq",!0),oe(ae,ce,xe,"\u2ab6","\\succneqq",!0),oe(ae,ce,xe,"\ue016","\\@nsubseteqq"),oe(ae,ce,pe,"\u22b4","\\unlhd"),oe(ae,ce,pe,"\u22b5","\\unrhd"),oe(ae,ce,xe,"\u219a","\\nleftarrow",!0),oe(ae,ce,xe,"\u219b","\\nrightarrow",!0),oe(ae,ce,xe,"\u21cd","\\nLeftarrow",!0),oe(ae,ce,xe,"\u21cf","\\nRightarrow",!0),oe(ae,ce,xe,"\u21ae","\\nleftrightarrow",!0),oe(ae,ce,xe,"\u21ce","\\nLeftrightarrow",!0),oe(ae,ce,xe,"\u25b3","\\vartriangle"),oe(ae,ce,ve,"\u210f","\\hslash"),oe(ae,ce,ve,"\u25bd","\\triangledown"),oe(ae,ce,ve,"\u25ca","\\lozenge"),oe(ae,ce,ve,"\u24c8","\\circledS"),oe(ae,ce,ve,"\xae","\\circledR"),oe(le,ce,ve,"\xae","\\circledR"),oe(ae,ce,ve,"\u2221","\\measuredangle",!0),oe(ae,ce,ve,"\u2204","\\nexists"),oe(ae,ce,ve,"\u2127","\\mho"),oe(ae,ce,ve,"\u2132","\\Finv",!0),oe(ae,ce,ve,"\u2141","\\Game",!0),oe(ae,ce,ve,"\u2035","\\backprime"),oe(ae,ce,ve,"\u25b2","\\blacktriangle"),oe(ae,ce,ve,"\u25bc","\\blacktriangledown"),oe(ae,ce,ve,"\u25a0","\\blacksquare"),oe(ae,ce,ve,"\u29eb","\\blacklozenge"),oe(ae,ce,ve,"\u2605","\\bigstar"),oe(ae,ce,ve,"\u2222","\\sphericalangle",!0),oe(ae,ce,ve,"\u2201","\\complement",!0),oe(ae,ce,ve,"\xf0","\\eth",!0),oe(le,ue,ve,"\xf0","\xf0"),oe(ae,ce,ve,"\u2571","\\diagup"),oe(ae,ce,ve,"\u2572","\\diagdown"),oe(ae,ce,ve,"\u25a1","\\square"),oe(ae,ce,ve,"\u25a1","\\Box"),oe(ae,ce,ve,"\u25ca","\\Diamond"),oe(ae,ce,ve,"\xa5","\\yen",!0),oe(le,ce,ve,"\xa5","\\yen",!0),oe(ae,ce,ve,"\u2713","\\checkmark",!0),oe(le,ce,ve,"\u2713","\\checkmark"),oe(ae,ce,ve,"\u2136","\\beth",!0),oe(ae,ce,ve,"\u2138","\\daleth",!0),oe(ae,ce,ve,"\u2137","\\gimel",!0),oe(ae,ce,ve,"\u03dd","\\digamma",!0),oe(ae,ce,ve,"\u03f0","\\varkappa"),oe(ae,ce,be,"\u250c","\\@ulcorner",!0),oe(ae,ce,me,"\u2510","\\@urcorner",!0),oe(ae,ce,be,"\u2514","\\@llcorner",!0),oe(ae,ce,me,"\u2518","\\@lrcorner",!0),oe(ae,ce,xe,"\u2266","\\leqq",!0),oe(ae,ce,xe,"\u2a7d","\\leqslant",!0),oe(ae,ce,xe,"\u2a95","\\eqslantless",!0),oe(ae,ce,xe,"\u2272","\\lesssim",!0),oe(ae,ce,xe,"\u2a85","\\lessapprox",!0),oe(ae,ce,xe,"\u224a","\\approxeq",!0),oe(ae,ce,pe,"\u22d6","\\lessdot"),oe(ae,ce,xe,"\u22d8","\\lll",!0),oe(ae,ce,xe,"\u2276","\\lessgtr",!0),oe(ae,ce,xe,"\u22da","\\lesseqgtr",!0),oe(ae,ce,xe,"\u2a8b","\\lesseqqgtr",!0),oe(ae,ce,xe,"\u2251","\\doteqdot"),oe(ae,ce,xe,"\u2253","\\risingdotseq",!0),oe(ae,ce,xe,"\u2252","\\fallingdotseq",!0),oe(ae,ce,xe,"\u223d","\\backsim",!0),oe(ae,ce,xe,"\u22cd","\\backsimeq",!0),oe(ae,ce,xe,"\u2ac5","\\subseteqq",!0),oe(ae,ce,xe,"\u22d0","\\Subset",!0),oe(ae,ce,xe,"\u228f","\\sqsubset",!0),oe(ae,ce,xe,"\u227c","\\preccurlyeq",!0),oe(ae,ce,xe,"\u22de","\\curlyeqprec",!0),oe(ae,ce,xe,"\u227e","\\precsim",!0),oe(ae,ce,xe,"\u2ab7","\\precapprox",!0),oe(ae,ce,xe,"\u22b2","\\vartriangleleft"),oe(ae,ce,xe,"\u22b4","\\trianglelefteq"),oe(ae,ce,xe,"\u22a8","\\vDash",!0),oe(ae,ce,xe,"\u22aa","\\Vvdash",!0),oe(ae,ce,xe,"\u2323","\\smallsmile"),oe(ae,ce,xe,"\u2322","\\smallfrown"),oe(ae,ce,xe,"\u224f","\\bumpeq",!0),oe(ae,ce,xe,"\u224e","\\Bumpeq",!0),oe(ae,ce,xe,"\u2267","\\geqq",!0),oe(ae,ce,xe,"\u2a7e","\\geqslant",!0),oe(ae,ce,xe,"\u2a96","\\eqslantgtr",!0),oe(ae,ce,xe,"\u2273","\\gtrsim",!0),oe(ae,ce,xe,"\u2a86","\\gtrapprox",!0),oe(ae,ce,pe,"\u22d7","\\gtrdot"),oe(ae,ce,xe,"\u22d9","\\ggg",!0),oe(ae,ce,xe,"\u2277","\\gtrless",!0),oe(ae,ce,xe,"\u22db","\\gtreqless",!0),oe(ae,ce,xe,"\u2a8c","\\gtreqqless",!0),oe(ae,ce,xe,"\u2256","\\eqcirc",!0),oe(ae,ce,xe,"\u2257","\\circeq",!0),oe(ae,ce,xe,"\u225c","\\triangleq",!0),oe(ae,ce,xe,"\u223c","\\thicksim"),oe(ae,ce,xe,"\u2248","\\thickapprox"),oe(ae,ce,xe,"\u2ac6","\\supseteqq",!0),oe(ae,ce,xe,"\u22d1","\\Supset",!0),oe(ae,ce,xe,"\u2290","\\sqsupset",!0),oe(ae,ce,xe,"\u227d","\\succcurlyeq",!0),oe(ae,ce,xe,"\u22df","\\curlyeqsucc",!0),oe(ae,ce,xe,"\u227f","\\succsim",!0),oe(ae,ce,xe,"\u2ab8","\\succapprox",!0),oe(ae,ce,xe,"\u22b3","\\vartriangleright"),oe(ae,ce,xe,"\u22b5","\\trianglerighteq"),oe(ae,ce,xe,"\u22a9","\\Vdash",!0),oe(ae,ce,xe,"\u2223","\\shortmid"),oe(ae,ce,xe,"\u2225","\\shortparallel"),oe(ae,ce,xe,"\u226c","\\between",!0),oe(ae,ce,xe,"\u22d4","\\pitchfork",!0),oe(ae,ce,xe,"\u221d","\\varpropto"),oe(ae,ce,xe,"\u25c0","\\blacktriangleleft"),oe(ae,ce,xe,"\u2234","\\therefore",!0),oe(ae,ce,xe,"\u220d","\\backepsilon"),oe(ae,ce,xe,"\u25b6","\\blacktriangleright"),oe(ae,ce,xe,"\u2235","\\because",!0),oe(ae,ce,xe,"\u22d8","\\llless"),oe(ae,ce,xe,"\u22d9","\\gggtr"),oe(ae,ce,pe,"\u22b2","\\lhd"),oe(ae,ce,pe,"\u22b3","\\rhd"),oe(ae,ce,xe,"\u2242","\\eqsim",!0),oe(ae,ue,xe,"\u22c8","\\Join"),oe(ae,ce,xe,"\u2251","\\Doteq",!0),oe(ae,ce,pe,"\u2214","\\dotplus",!0),oe(ae,ce,pe,"\u2216","\\smallsetminus"),oe(ae,ce,pe,"\u22d2","\\Cap",!0),oe(ae,ce,pe,"\u22d3","\\Cup",!0),oe(ae,ce,pe,"\u2a5e","\\doublebarwedge",!0),oe(ae,ce,pe,"\u229f","\\boxminus",!0),oe(ae,ce,pe,"\u229e","\\boxplus",!0),oe(ae,ce,pe,"\u22c7","\\divideontimes",!0),oe(ae,ce,pe,"\u22c9","\\ltimes",!0),oe(ae,ce,pe,"\u22ca","\\rtimes",!0),oe(ae,ce,pe,"\u22cb","\\leftthreetimes",!0),oe(ae,ce,pe,"\u22cc","\\rightthreetimes",!0),oe(ae,ce,pe,"\u22cf","\\curlywedge",!0),oe(ae,ce,pe,"\u22ce","\\curlyvee",!0),oe(ae,ce,pe,"\u229d","\\circleddash",!0),oe(ae,ce,pe,"\u229b","\\circledast",!0),oe(ae,ce,pe,"\u22c5","\\centerdot"),oe(ae,ce,pe,"\u22ba","\\intercal",!0),oe(ae,ce,pe,"\u22d2","\\doublecap"),oe(ae,ce,pe,"\u22d3","\\doublecup"),oe(ae,ce,pe,"\u22a0","\\boxtimes",!0),oe(ae,ce,xe,"\u21e2","\\dashrightarrow",!0),oe(ae,ce,xe,"\u21e0","\\dashleftarrow",!0),oe(ae,ce,xe,"\u21c7","\\leftleftarrows",!0),oe(ae,ce,xe,"\u21c6","\\leftrightarrows",!0),oe(ae,ce,xe,"\u21da","\\Lleftarrow",!0),oe(ae,ce,xe,"\u219e","\\twoheadleftarrow",!0),oe(ae,ce,xe,"\u21a2","\\leftarrowtail",!0),oe(ae,ce,xe,"\u21ab","\\looparrowleft",!0),oe(ae,ce,xe,"\u21cb","\\leftrightharpoons",!0),oe(ae,ce,xe,"\u21b6","\\curvearrowleft",!0),oe(ae,ce,xe,"\u21ba","\\circlearrowleft",!0),oe(ae,ce,xe,"\u21b0","\\Lsh",!0),oe(ae,ce,xe,"\u21c8","\\upuparrows",!0),oe(ae,ce,xe,"\u21bf","\\upharpoonleft",!0),oe(ae,ce,xe,"\u21c3","\\downharpoonleft",!0),oe(ae,ue,xe,"\u22b6","\\origof",!0),oe(ae,ue,xe,"\u22b7","\\imageof",!0),oe(ae,ce,xe,"\u22b8","\\multimap",!0),oe(ae,ce,xe,"\u21ad","\\leftrightsquigarrow",!0),oe(ae,ce,xe,"\u21c9","\\rightrightarrows",!0),oe(ae,ce,xe,"\u21c4","\\rightleftarrows",!0),oe(ae,ce,xe,"\u21a0","\\twoheadrightarrow",!0),oe(ae,ce,xe,"\u21a3","\\rightarrowtail",!0),oe(ae,ce,xe,"\u21ac","\\looparrowright",!0),oe(ae,ce,xe,"\u21b7","\\curvearrowright",!0),oe(ae,ce,xe,"\u21bb","\\circlearrowright",!0),oe(ae,ce,xe,"\u21b1","\\Rsh",!0),oe(ae,ce,xe,"\u21ca","\\downdownarrows",!0),oe(ae,ce,xe,"\u21be","\\upharpoonright",!0),oe(ae,ce,xe,"\u21c2","\\downharpoonright",!0),oe(ae,ce,xe,"\u21dd","\\rightsquigarrow",!0),oe(ae,ce,xe,"\u21dd","\\leadsto"),oe(ae,ce,xe,"\u21db","\\Rrightarrow",!0),oe(ae,ce,xe,"\u21be","\\restriction"),oe(ae,ue,ve,"\u2018","`"),oe(ae,ue,ve,"$","\\$"),oe(le,ue,ve,"$","\\$"),oe(le,ue,ve,"$","\\textdollar"),oe(ae,ue,ve,"%","\\%"),oe(le,ue,ve,"%","\\%"),oe(ae,ue,ve,"_","\\_"),oe(le,ue,ve,"_","\\_"),oe(le,ue,ve,"_","\\textunderscore"),oe(ae,ue,ve,"\u2220","\\angle",!0),oe(ae,ue,ve,"\u221e","\\infty",!0),oe(ae,ue,ve,"\u2032","\\prime"),oe(ae,ue,ve,"\u25b3","\\triangle"),oe(ae,ue,ve,"\u0393","\\Gamma",!0),oe(ae,ue,ve,"\u0394","\\Delta",!0),oe(ae,ue,ve,"\u0398","\\Theta",!0),oe(ae,ue,ve,"\u039b","\\Lambda",!0),oe(ae,ue,ve,"\u039e","\\Xi",!0),oe(ae,ue,ve,"\u03a0","\\Pi",!0),oe(ae,ue,ve,"\u03a3","\\Sigma",!0),oe(ae,ue,ve,"\u03a5","\\Upsilon",!0),oe(ae,ue,ve,"\u03a6","\\Phi",!0),oe(ae,ue,ve,"\u03a8","\\Psi",!0),oe(ae,ue,ve,"\u03a9","\\Omega",!0),oe(ae,ue,ve,"A","\u0391"),oe(ae,ue,ve,"B","\u0392"),oe(ae,ue,ve,"E","\u0395"),oe(ae,ue,ve,"Z","\u0396"),oe(ae,ue,ve,"H","\u0397"),oe(ae,ue,ve,"I","\u0399"),oe(ae,ue,ve,"K","\u039a"),oe(ae,ue,ve,"M","\u039c"),oe(ae,ue,ve,"N","\u039d"),oe(ae,ue,ve,"O","\u039f"),oe(ae,ue,ve,"P","\u03a1"),oe(ae,ue,ve,"T","\u03a4"),oe(ae,ue,ve,"X","\u03a7"),oe(ae,ue,ve,"\xac","\\neg",!0),oe(ae,ue,ve,"\xac","\\lnot"),oe(ae,ue,ve,"\u22a4","\\top"),oe(ae,ue,ve,"\u22a5","\\bot"),oe(ae,ue,ve,"\u2205","\\emptyset"),oe(ae,ce,ve,"\u2205","\\varnothing"),oe(ae,ue,fe,"\u03b1","\\alpha",!0),oe(ae,ue,fe,"\u03b2","\\beta",!0),oe(ae,ue,fe,"\u03b3","\\gamma",!0),oe(ae,ue,fe,"\u03b4","\\delta",!0),oe(ae,ue,fe,"\u03f5","\\epsilon",!0),oe(ae,ue,fe,"\u03b6","\\zeta",!0),oe(ae,ue,fe,"\u03b7","\\eta",!0),oe(ae,ue,fe,"\u03b8","\\theta",!0),oe(ae,ue,fe,"\u03b9","\\iota",!0),oe(ae,ue,fe,"\u03ba","\\kappa",!0),oe(ae,ue,fe,"\u03bb","\\lambda",!0),oe(ae,ue,fe,"\u03bc","\\mu",!0),oe(ae,ue,fe,"\u03bd","\\nu",!0),oe(ae,ue,fe,"\u03be","\\xi",!0),oe(ae,ue,fe,"\u03bf","\\omicron",!0),oe(ae,ue,fe,"\u03c0","\\pi",!0),oe(ae,ue,fe,"\u03c1","\\rho",!0),oe(ae,ue,fe,"\u03c3","\\sigma",!0),oe(ae,ue,fe,"\u03c4","\\tau",!0),oe(ae,ue,fe,"\u03c5","\\upsilon",!0),oe(ae,ue,fe,"\u03d5","\\phi",!0),oe(ae,ue,fe,"\u03c7","\\chi",!0),oe(ae,ue,fe,"\u03c8","\\psi",!0),oe(ae,ue,fe,"\u03c9","\\omega",!0),oe(ae,ue,fe,"\u03b5","\\varepsilon",!0),oe(ae,ue,fe,"\u03d1","\\vartheta",!0),oe(ae,ue,fe,"\u03d6","\\varpi",!0),oe(ae,ue,fe,"\u03f1","\\varrho",!0),oe(ae,ue,fe,"\u03c2","\\varsigma",!0),oe(ae,ue,fe,"\u03c6","\\varphi",!0),oe(ae,ue,pe,"\u2217","*",!0),oe(ae,ue,pe,"+","+"),oe(ae,ue,pe,"\u2212","-",!0),oe(ae,ue,pe,"\u22c5","\\cdot",!0),oe(ae,ue,pe,"\u2218","\\circ",!0),oe(ae,ue,pe,"\xf7","\\div",!0),oe(ae,ue,pe,"\xb1","\\pm",!0),oe(ae,ue,pe,"\xd7","\\times",!0),oe(ae,ue,pe,"\u2229","\\cap",!0),oe(ae,ue,pe,"\u222a","\\cup",!0),oe(ae,ue,pe,"\u2216","\\setminus",!0),oe(ae,ue,pe,"\u2227","\\land"),oe(ae,ue,pe,"\u2228","\\lor"),oe(ae,ue,pe,"\u2227","\\wedge",!0),oe(ae,ue,pe,"\u2228","\\vee",!0),oe(ae,ue,ve,"\u221a","\\surd"),oe(ae,ue,be,"\u27e8","\\langle",!0),oe(ae,ue,be,"\u2223","\\lvert"),oe(ae,ue,be,"\u2225","\\lVert"),oe(ae,ue,me,"?","?"),oe(ae,ue,me,"!","!"),oe(ae,ue,me,"\u27e9","\\rangle",!0),oe(ae,ue,me,"\u2223","\\rvert"),oe(ae,ue,me,"\u2225","\\rVert"),oe(ae,ue,xe,"=","="),oe(ae,ue,xe,":",":"),oe(ae,ue,xe,"\u2248","\\approx",!0),oe(ae,ue,xe,"\u2245","\\cong",!0),oe(ae,ue,xe,"\u2265","\\ge"),oe(ae,ue,xe,"\u2265","\\geq",!0),oe(ae,ue,xe,"\u2190","\\gets"),oe(ae,ue,xe,">","\\gt",!0),oe(ae,ue,xe,"\u2208","\\in",!0),oe(ae,ue,xe,"\ue020","\\@not"),oe(ae,ue,xe,"\u2282","\\subset",!0),oe(ae,ue,xe,"\u2283","\\supset",!0),oe(ae,ue,xe,"\u2286","\\subseteq",!0),oe(ae,ue,xe,"\u2287","\\supseteq",!0),oe(ae,ce,xe,"\u2288","\\nsubseteq",!0),oe(ae,ce,xe,"\u2289","\\nsupseteq",!0),oe(ae,ue,xe,"\u22a8","\\models"),oe(ae,ue,xe,"\u2190","\\leftarrow",!0),oe(ae,ue,xe,"\u2264","\\le"),oe(ae,ue,xe,"\u2264","\\leq",!0),oe(ae,ue,xe,"<","\\lt",!0),oe(ae,ue,xe,"\u2192","\\rightarrow",!0),oe(ae,ue,xe,"\u2192","\\to"),oe(ae,ce,xe,"\u2271","\\ngeq",!0),oe(ae,ce,xe,"\u2270","\\nleq",!0),oe(ae,ue,we,"\xa0","\\ "),oe(ae,ue,we,"\xa0","\\space"),oe(ae,ue,we,"\xa0","\\nobreakspace"),oe(le,ue,we,"\xa0","\\ "),oe(le,ue,we,"\xa0"," "),oe(le,ue,we,"\xa0","\\space"),oe(le,ue,we,"\xa0","\\nobreakspace"),oe(ae,ue,we,null,"\\nobreak"),oe(ae,ue,we,null,"\\allowbreak"),oe(ae,ue,ye,",",","),oe(ae,ue,ye,";",";"),oe(ae,ce,pe,"\u22bc","\\barwedge",!0),oe(ae,ce,pe,"\u22bb","\\veebar",!0),oe(ae,ue,pe,"\u2299","\\odot",!0),oe(ae,ue,pe,"\u2295","\\oplus",!0),oe(ae,ue,pe,"\u2297","\\otimes",!0),oe(ae,ue,ve,"\u2202","\\partial",!0),oe(ae,ue,pe,"\u2298","\\oslash",!0),oe(ae,ce,pe,"\u229a","\\circledcirc",!0),oe(ae,ce,pe,"\u22a1","\\boxdot",!0),oe(ae,ue,pe,"\u25b3","\\bigtriangleup"),oe(ae,ue,pe,"\u25bd","\\bigtriangledown"),oe(ae,ue,pe,"\u2020","\\dagger"),oe(ae,ue,pe,"\u22c4","\\diamond"),oe(ae,ue,pe,"\u22c6","\\star"),oe(ae,ue,pe,"\u25c3","\\triangleleft"),oe(ae,ue,pe,"\u25b9","\\triangleright"),oe(ae,ue,be,"{","\\{"),oe(le,ue,ve,"{","\\{"),oe(le,ue,ve,"{","\\textbraceleft"),oe(ae,ue,me,"}","\\}"),oe(le,ue,ve,"}","\\}"),oe(le,ue,ve,"}","\\textbraceright"),oe(ae,ue,be,"{","\\lbrace"),oe(ae,ue,me,"}","\\rbrace"),oe(ae,ue,be,"[","\\lbrack",!0),oe(le,ue,ve,"[","\\lbrack",!0),oe(ae,ue,me,"]","\\rbrack",!0),oe(le,ue,ve,"]","\\rbrack",!0),oe(ae,ue,be,"(","\\lparen",!0),oe(ae,ue,me,")","\\rparen",!0),oe(le,ue,ve,"<","\\textless",!0),oe(le,ue,ve,">","\\textgreater",!0),oe(ae,ue,be,"\u230a","\\lfloor",!0),oe(ae,ue,me,"\u230b","\\rfloor",!0),oe(ae,ue,be,"\u2308","\\lceil",!0),oe(ae,ue,me,"\u2309","\\rceil",!0),oe(ae,ue,ve,"\\","\\backslash"),oe(ae,ue,ve,"\u2223","|"),oe(ae,ue,ve,"\u2223","\\vert"),oe(le,ue,ve,"|","\\textbar",!0),oe(ae,ue,ve,"\u2225","\\|"),oe(ae,ue,ve,"\u2225","\\Vert"),oe(le,ue,ve,"\u2225","\\textbardbl"),oe(le,ue,ve,"~","\\textasciitilde"),oe(le,ue,ve,"\\","\\textbackslash"),oe(le,ue,ve,"^","\\textasciicircum"),oe(ae,ue,xe,"\u2191","\\uparrow",!0),oe(ae,ue,xe,"\u21d1","\\Uparrow",!0),oe(ae,ue,xe,"\u2193","\\downarrow",!0),oe(ae,ue,xe,"\u21d3","\\Downarrow",!0),oe(ae,ue,xe,"\u2195","\\updownarrow",!0),oe(ae,ue,xe,"\u21d5","\\Updownarrow",!0),oe(ae,ue,ge,"\u2210","\\coprod"),oe(ae,ue,ge,"\u22c1","\\bigvee"),oe(ae,ue,ge,"\u22c0","\\bigwedge"),oe(ae,ue,ge,"\u2a04","\\biguplus"),oe(ae,ue,ge,"\u22c2","\\bigcap"),oe(ae,ue,ge,"\u22c3","\\bigcup"),oe(ae,ue,ge,"\u222b","\\int"),oe(ae,ue,ge,"\u222b","\\intop"),oe(ae,ue,ge,"\u222c","\\iint"),oe(ae,ue,ge,"\u222d","\\iiint"),oe(ae,ue,ge,"\u220f","\\prod"),oe(ae,ue,ge,"\u2211","\\sum"),oe(ae,ue,ge,"\u2a02","\\bigotimes"),oe(ae,ue,ge,"\u2a01","\\bigoplus"),oe(ae,ue,ge,"\u2a00","\\bigodot"),oe(ae,ue,ge,"\u222e","\\oint"),oe(ae,ue,ge,"\u222f","\\oiint"),oe(ae,ue,ge,"\u2230","\\oiiint"),oe(ae,ue,ge,"\u2a06","\\bigsqcup"),oe(ae,ue,ge,"\u222b","\\smallint"),oe(le,ue,de,"\u2026","\\textellipsis"),oe(ae,ue,de,"\u2026","\\mathellipsis"),oe(le,ue,de,"\u2026","\\ldots",!0),oe(ae,ue,de,"\u2026","\\ldots",!0),oe(ae,ue,de,"\u22ef","\\@cdots",!0),oe(ae,ue,de,"\u22f1","\\ddots",!0),oe(ae,ue,ve,"\u22ee","\\varvdots"),oe(le,ue,ve,"\u22ee","\\varvdots"),oe(ae,ue,he,"\u02ca","\\acute"),oe(ae,ue,he,"\u02cb","\\grave"),oe(ae,ue,he,"\xa8","\\ddot"),oe(ae,ue,he,"~","\\tilde"),oe(ae,ue,he,"\u02c9","\\bar"),oe(ae,ue,he,"\u02d8","\\breve"),oe(ae,ue,he,"\u02c7","\\check"),oe(ae,ue,he,"^","\\hat"),oe(ae,ue,he,"\u20d7","\\vec"),oe(ae,ue,he,"\u02d9","\\dot"),oe(ae,ue,he,"\u02da","\\mathring"),oe(ae,ue,fe,"\ue131","\\@imath"),oe(ae,ue,fe,"\ue237","\\@jmath"),oe(ae,ue,ve,"\u0131","\u0131"),oe(ae,ue,ve,"\u0237","\u0237"),oe(le,ue,ve,"\u0131","\\i",!0),oe(le,ue,ve,"\u0237","\\j",!0),oe(le,ue,ve,"\xdf","\\ss",!0),oe(le,ue,ve,"\xe6","\\ae",!0),oe(le,ue,ve,"\u0153","\\oe",!0),oe(le,ue,ve,"\xf8","\\o",!0),oe(le,ue,ve,"\xc6","\\AE",!0),oe(le,ue,ve,"\u0152","\\OE",!0),oe(le,ue,ve,"\xd8","\\O",!0),oe(le,ue,he,"\u02ca","\\'"),oe(le,ue,he,"\u02cb","\\`"),oe(le,ue,he,"\u02c6","\\^"),oe(le,ue,he,"\u02dc","\\~"),oe(le,ue,he,"\u02c9","\\="),oe(le,ue,he,"\u02d8","\\u"),oe(le,ue,he,"\u02d9","\\."),oe(le,ue,he,"\xb8","\\c"),oe(le,ue,he,"\u02da","\\r"),oe(le,ue,he,"\u02c7","\\v"),oe(le,ue,he,"\xa8",'\\"'),oe(le,ue,he,"\u02dd","\\H"),oe(le,ue,he,"\u25ef","\\textcircled");const De={"--":!0,"---":!0,"``":!0,"''":!0};oe(le,ue,ve,"\u2013","--",!0),oe(le,ue,ve,"\u2013","\\textendash"),oe(le,ue,ve,"\u2014","---",!0),oe(le,ue,ve,"\u2014","\\textemdash"),oe(le,ue,ve,"\u2018","`",!0),oe(le,ue,ve,"\u2018","\\textquoteleft"),oe(le,ue,ve,"\u2019","'",!0),oe(le,ue,ve,"\u2019","\\textquoteright"),oe(le,ue,ve,"\u201c","``",!0),oe(le,ue,ve,"\u201c","\\textquotedblleft"),oe(le,ue,ve,"\u201d","''",!0),oe(le,ue,ve,"\u201d","\\textquotedblright"),oe(ae,ue,ve,"\xb0","\\degree",!0),oe(le,ue,ve,"\xb0","\\degree"),oe(le,ue,ve,"\xb0","\\textdegree",!0),oe(ae,ue,ve,"\xa3","\\pounds"),oe(ae,ue,ve,"\xa3","\\mathsterling",!0),oe(le,ue,ve,"\xa3","\\pounds"),oe(le,ue,ve,"\xa3","\\textsterling",!0),oe(ae,ce,ve,"\u2720","\\maltese"),oe(le,ce,ve,"\u2720","\\maltese");const ke='0123456789/@."';for(let Ur=0;Ur<14;Ur++){const e=ke.charAt(Ur);oe(ae,ue,ve,e,e)}const Ae='0123456789!@*()-=+";:?/.,';for(let Ur=0;Ur<25;Ur++){const e=Ae.charAt(Ur);oe(le,ue,ve,e,e)}const Se="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(let Ur=0;Ur<52;Ur++){const e=Se.charAt(Ur);oe(ae,ue,fe,e,e),oe(le,ue,ve,e,e)}oe(ae,ce,ve,"C","\u2102"),oe(le,ce,ve,"C","\u2102"),oe(ae,ce,ve,"H","\u210d"),oe(le,ce,ve,"H","\u210d"),oe(ae,ce,ve,"N","\u2115"),oe(le,ce,ve,"N","\u2115"),oe(ae,ce,ve,"P","\u2119"),oe(le,ce,ve,"P","\u2119"),oe(ae,ce,ve,"Q","\u211a"),oe(le,ce,ve,"Q","\u211a"),oe(ae,ce,ve,"R","\u211d"),oe(le,ce,ve,"R","\u211d"),oe(ae,ce,ve,"Z","\u2124"),oe(le,ce,ve,"Z","\u2124"),oe(ae,ue,fe,"h","\u210e"),oe(le,ue,fe,"h","\u210e");let Ce="";for(let Ur=0;Ur<52;Ur++){const e=Se.charAt(Ur);Ce=String.fromCharCode(55349,56320+Ur),oe(ae,ue,fe,e,Ce),oe(le,ue,ve,e,Ce),Ce=String.fromCharCode(55349,56372+Ur),oe(ae,ue,fe,e,Ce),oe(le,ue,ve,e,Ce),Ce=String.fromCharCode(55349,56424+Ur),oe(ae,ue,fe,e,Ce),oe(le,ue,ve,e,Ce),Ce=String.fromCharCode(55349,56580+Ur),oe(ae,ue,fe,e,Ce),oe(le,ue,ve,e,Ce),Ce=String.fromCharCode(55349,56684+Ur),oe(ae,ue,fe,e,Ce),oe(le,ue,ve,e,Ce),Ce=String.fromCharCode(55349,56736+Ur),oe(ae,ue,fe,e,Ce),oe(le,ue,ve,e,Ce),Ce=String.fromCharCode(55349,56788+Ur),oe(ae,ue,fe,e,Ce),oe(le,ue,ve,e,Ce),Ce=String.fromCharCode(55349,56840+Ur),oe(ae,ue,fe,e,Ce),oe(le,ue,ve,e,Ce),Ce=String.fromCharCode(55349,56944+Ur),oe(ae,ue,fe,e,Ce),oe(le,ue,ve,e,Ce),Ur<26&&(Ce=String.fromCharCode(55349,56632+Ur),oe(ae,ue,fe,e,Ce),oe(le,ue,ve,e,Ce),Ce=String.fromCharCode(55349,56476+Ur),oe(ae,ue,fe,e,Ce),oe(le,ue,ve,e,Ce))}Ce=String.fromCharCode(55349,56668),oe(ae,ue,fe,"k",Ce),oe(le,ue,ve,"k",Ce);for(let Ur=0;Ur<10;Ur++){const e=Ur.toString();Ce=String.fromCharCode(55349,57294+Ur),oe(ae,ue,fe,e,Ce),oe(le,ue,ve,e,Ce),Ce=String.fromCharCode(55349,57314+Ur),oe(ae,ue,fe,e,Ce),oe(le,ue,ve,e,Ce),Ce=String.fromCharCode(55349,57324+Ur),oe(ae,ue,fe,e,Ce),oe(le,ue,ve,e,Ce),Ce=String.fromCharCode(55349,57334+Ur),oe(ae,ue,fe,e,Ce),oe(le,ue,ve,e,Ce)}const Me="\xd0\xde\xfe";for(let Ur=0;Ur<3;Ur++){const e=Me.charAt(Ur);oe(ae,ue,fe,e,e),oe(le,ue,ve,e,e)}const ze=[["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"]],Ee=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Fe=function(e,t,n){return se[n][e]&&se[n][e].replace&&(e=se[n][e].replace),{value:e,metrics:F(e,t,n)}},Be=function(e,t,n,r,i){const s=Fe(e,t,n),o=s.metrics;let a;if(e=s.value,o){let t=o.italic;("text"===n||r&&"mathit"===r.font)&&(t=0),a=new K(e,o.height,o.depth,t,o.skew,o.width,i)}else"undefined"!==typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"' and mode '"+n+"'"),a=new K(e,0,0,0,0,0,i);if(r){a.maxFontSize=r.sizeMultiplier,r.style.isTight()&&a.classes.push("mtight");const e=r.getColor();e&&(a.style.color=e)}return a},Te=(e,t)=>{if(P(e.classes)!==P(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(1===e.classes.length){const t=e.classes[0];if("mbin"===t||"mord"===t)return!1}for(const n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(const n in t.style)if(t.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;return!0},_e=function(e){let t=0,n=0,r=0;for(let i=0;i<e.children.length;i++){const s=e.children[i];s.height>t&&(t=s.height),s.depth>n&&(n=s.depth),s.maxFontSize>r&&(r=s.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=r},Ne=function(e,t,n,r){const i=new X(e,t,n,r);return _e(i),i},Oe=(e,t,n,r)=>new X(e,t,n,r),Ie=function(e){const t=new C(e);return _e(t),t},qe=function(e,t,n){let r,i="";switch(e){case"amsrm":i="AMS";break;case"textrm":i="Main";break;case"textsf":i="SansSerif";break;case"texttt":i="Typewriter";break;default:i=e}return r="textbf"===t&&"textit"===n?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular",i+"-"+r},Re={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"}},je={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]};var Le={fontMap:Re,makeSymbol:Be,mathsym:function(e,t,n,r){return void 0===r&&(r=[]),"boldsymbol"===n.font&&Fe(e,"Main-Bold",t).metrics?Be(e,"Main-Bold",t,n,r.concat(["mathbf"])):"\\"===e||"main"===se[t][e].font?Be(e,"Main-Regular",t,n,r):Be(e,"AMS-Regular",t,n,r.concat(["amsrm"]))},makeSpan:Ne,makeSvgSpan:Oe,makeLineSpan:function(e,t,n){const r=Ne([e],[],t);return r.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=H(r.height),r.maxFontSize=1,r},makeAnchor:function(e,t,n,r){const i=new W(e,t,n,r);return _e(i),i},makeFragment:Ie,wrapFragment:function(e,t){return e instanceof C?Ne([],[e],t):e},makeVList:function(e,t){const{children:n,depth:r}=function(e){if("individualShift"===e.positionType){const t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth;let i=r;for(let e=1;e<t.length;e++){const r=-t[e].shift-i-t[e].elem.depth,s=r-(t[e-1].elem.height+t[e-1].elem.depth);i+=r,n.push({type:"kern",size:s}),n.push(t[e])}return{children:n,depth:r}}let t;if("top"===e.positionType){let n=e.positionData;for(let t=0;t<e.children.length;t++){const r=e.children[t];n-="kern"===r.type?r.size:r.elem.height+r.elem.depth}t=n}else if("bottom"===e.positionType)t=-e.positionData;else{const n=e.children[0];if("elem"!==n.type)throw new Error('First child must have type "elem".');if("shift"===e.positionType)t=-n.elem.depth-e.positionData;else{if("firstBaseline"!==e.positionType)throw new Error("Invalid positionType "+e.positionType+".");t=-n.elem.depth}}return{children:e.children,depth:t}}(e);let i=0;for(let m=0;m<n.length;m++){const e=n[m];if("elem"===e.type){const t=e.elem;i=Math.max(i,t.maxFontSize,t.height)}}i+=2;const s=Ne(["pstrut"],[]);s.style.height=H(i);const o=[];let a=r,l=r,u=r;for(let m=0;m<n.length;m++){const e=n[m];if("kern"===e.type)u+=e.size;else{const t=e.elem,n=e.wrapperClasses||[],r=e.wrapperStyle||{},a=Ne(n,[s,t],void 0,r);a.style.top=H(-i-u-t.depth),e.marginLeft&&(a.style.marginLeft=e.marginLeft),e.marginRight&&(a.style.marginRight=e.marginRight),o.push(a),u+=t.height+t.depth}a=Math.min(a,u),l=Math.max(l,u)}const c=Ne(["vlist"],o);let h;if(c.style.height=H(l),a<0){const e=Ne([],[]),t=Ne(["vlist"],[e]);t.style.height=H(-a);const n=Ne(["vlist-s"],[new K("\u200b")]);h=[Ne(["vlist-r"],[c,n]),Ne(["vlist-r"],[t])]}else h=[Ne(["vlist-r"],[c])];const p=Ne(["vlist-t"],h);return 2===h.length&&p.classes.push("vlist-t2"),p.height=l,p.depth=-a,p},makeOrd:function(e,t,n){const i=e.mode,s=e.text,o=["mord"],a="math"===i||"text"===i&&t.font,l=a?t.font:t.fontFamily;let u="",c="";if(55349===s.charCodeAt(0)&&([u,c]=function(e,t){const n=1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536,i="math"===t?0:1;if(119808<=n&&n<120484){const e=Math.floor((n-119808)/26);return[ze[e][2],ze[e][i]]}if(120782<=n&&n<=120831){const e=Math.floor((n-120782)/10);return[Ee[e][2],Ee[e][i]]}if(120485===n||120486===n)return[ze[0][2],ze[0][i]];if(120486<n&&n<120782)return["",""];throw new r("Unsupported character: "+e)}(s,i)),u.length>0)return Be(s,u,i,t,o.concat(c));if(l){let e,r;if("boldsymbol"===l){const t=function(e,t,n,r,i){return"textord"!==i&&Fe(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}}(s,i,0,0,n);e=t.fontName,r=[t.fontClass]}else a?(e=Re[l].fontName,r=[l]):(e=qe(l,t.fontWeight,t.fontShape),r=[l,t.fontWeight,t.fontShape]);if(Fe(s,e,i).metrics)return Be(s,e,i,t,o.concat(r));if(De.hasOwnProperty(s)&&"Typewriter"===e.slice(0,10)){const n=[];for(let a=0;a<s.length;a++)n.push(Be(s[a],e,i,t,o.concat(r)));return Ie(n)}}if("mathord"===n)return Be(s,"Math-Italic",i,t,o.concat(["mathnormal"]));if("textord"===n){const e=se[i][s]&&se[i][s].font;if("ams"===e){const e=qe("amsrm",t.fontWeight,t.fontShape);return Be(s,e,i,t,o.concat("amsrm",t.fontWeight,t.fontShape))}if("main"!==e&&e){const n=qe(e,t.fontWeight,t.fontShape);return Be(s,n,i,t,o.concat(n,t.fontWeight,t.fontShape))}{const e=qe("textrm",t.fontWeight,t.fontShape);return Be(s,e,i,t,o.concat(t.fontWeight,t.fontShape))}}throw new Error("unexpected type: "+n+" in makeOrd")},makeGlue:(e,t)=>{const n=Ne(["mspace"],[],t),r=L(e,t);return n.style.marginRight=H(r),n},staticSvg:function(e,t){const[n,r,i]=je[e],s=new J(n),o=new Q([s],{width:H(r),height:H(i),style:"width:"+H(r),viewBox:"0 0 "+1e3*r+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),a=Oe(["overlay"],[o],t);return a.height=i,a.style.height=H(i),a.style.width=H(r),a},svgData:je,tryCombineChars:e=>{for(let t=0;t<e.length-1;t++){const n=e[t],r=e[t+1];n instanceof K&&r instanceof K&&Te(n,r)&&(n.text+=r.text,n.height=Math.max(n.height,r.height),n.depth=Math.max(n.depth,r.depth),n.italic=r.italic,e.splice(t+1,1),t--)}return e}};const He={number:3,unit:"mu"},Pe={number:4,unit:"mu"},Ve={number:5,unit:"mu"},$e={mord:{mop:He,mbin:Pe,mrel:Ve,minner:He},mop:{mord:He,mop:He,mrel:Ve,minner:He},mbin:{mord:Pe,mop:Pe,mopen:Pe,minner:Pe},mrel:{mord:Ve,mop:Ve,mopen:Ve,minner:Ve},mopen:{},mclose:{mop:He,mbin:Pe,mrel:Ve,minner:He},mpunct:{mord:He,mop:He,mrel:Ve,mopen:He,mclose:He,mpunct:He,minner:He},minner:{mord:He,mop:He,mbin:Pe,mrel:Ve,mopen:He,mpunct:He,minner:He}},Ge={mord:{mop:He},mop:{mord:He,mop:He},mbin:{},mrel:{},mopen:{},mclose:{mop:He},mpunct:{},minner:{mop:He}},Ue={},Xe={},We={};function Ye(e){let{type:t,names:n,props:r,handler:i,htmlBuilder:s,mathmlBuilder:o}=e;const a={type:t,numArgs:r.numArgs,argTypes:r.argTypes,allowedInArgument:!!r.allowedInArgument,allowedInText:!!r.allowedInText,allowedInMath:void 0===r.allowedInMath||r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,primitive:!!r.primitive,handler:i};for(let l=0;l<n.length;++l)Ue[n[l]]=a;t&&(s&&(Xe[t]=s),o&&(We[t]=o))}function Ze(e){let{type:t,htmlBuilder:n,mathmlBuilder:r}=e;Ye({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:n,mathmlBuilder:r})}const Ke=function(e){return"ordgroup"===e.type&&1===e.body.length?e.body[0]:e},Qe=function(e){return"ordgroup"===e.type?e.body:[e]},Je=Le.makeSpan,et=["leftmost","mbin","mopen","mrel","mop","mpunct"],tt=["rightmost","mrel","mclose","mpunct"],nt={display:w.DISPLAY,text:w.TEXT,script:w.SCRIPT,scriptscript:w.SCRIPTSCRIPT},rt={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},it=function(e,t,n,r){void 0===r&&(r=[null,null]);const i=[];for(let l=0;l<e.length;l++){const n=ct(e[l],t);if(n instanceof C){const e=n.children;i.push(...e)}else i.push(n)}if(Le.tryCombineChars(i),!n)return i;let s=t;if(1===e.length){const n=e[0];"sizing"===n.type?s=t.havingSize(n.size):"styling"===n.type&&(s=t.havingStyle(nt[n.style]))}const o=Je([r[0]||"leftmost"],[],t),a=Je([r[1]||"rightmost"],[],t),u="root"===n;return st(i,((e,t)=>{const n=t.classes[0],r=e.classes[0];"mbin"===n&&l.contains(tt,r)?t.classes[0]="mord":"mbin"===r&&l.contains(et,n)&&(e.classes[0]="mord")}),{node:o},a,u),st(i,((e,t)=>{const n=lt(t),r=lt(e),i=n&&r?e.hasClass("mtight")?Ge[n][r]:$e[n][r]:null;if(i)return Le.makeGlue(i,s)}),{node:o},a,u),i},st=function(e,t,n,r,i){r&&e.push(r);let s=0;for(;s<e.length;s++){const r=e[s],o=ot(r);if(o){st(o.children,t,n,null,i);continue}const a=!r.hasClass("mspace");if(a){const i=t(r,n.node);i&&(n.insertAfter?n.insertAfter(i):(e.unshift(i),s++))}a?n.node=r:i&&r.hasClass("newline")&&(n.node=Je(["leftmost"])),n.insertAfter=(t=>n=>{e.splice(t+1,0,n),s++})(s)}r&&e.pop()},ot=function(e){return e instanceof C||e instanceof W||e instanceof X&&e.hasClass("enclosing")?e:null},at=function(e,t){const n=ot(e);if(n){const e=n.children;if(e.length){if("right"===t)return at(e[e.length-1],"right");if("left"===t)return at(e[0],"left")}}return e},lt=function(e,t){return e?(t&&(e=at(e,t)),rt[e.classes[0]]||null):null},ut=function(e,t){const n=["nulldelimiter"].concat(e.baseSizingClasses());return Je(t.concat(n))},ct=function(e,t,n){if(!e)return Je();if(Xe[e.type]){let r=Xe[e.type](e,t);if(n&&t.size!==n.size){r=Je(t.sizingClasses(n),[r],t);const e=t.sizeMultiplier/n.sizeMultiplier;r.height*=e,r.depth*=e}return r}throw new r("Got group of unknown type: '"+e.type+"'")};function ht(e,t){const n=Je(["base"],e,t),r=Je(["strut"]);return r.style.height=H(n.height+n.depth),n.depth&&(r.style.verticalAlign=H(-n.depth)),n.children.unshift(r),n}function pt(e,t){let n=null;1===e.length&&"tag"===e[0].type&&(n=e[0].tag,e=e[0].body);const r=it(e,t,"root");let i;2===r.length&&r[1].hasClass("tag")&&(i=r.pop());const s=[];let o,a=[];for(let u=0;u<r.length;u++)if(a.push(r[u]),r[u].hasClass("mbin")||r[u].hasClass("mrel")||r[u].hasClass("allowbreak")){let e=!1;for(;u<r.length-1&&r[u+1].hasClass("mspace")&&!r[u+1].hasClass("newline");)u++,a.push(r[u]),r[u].hasClass("nobreak")&&(e=!0);e||(s.push(ht(a,t)),a=[])}else r[u].hasClass("newline")&&(a.pop(),a.length>0&&(s.push(ht(a,t)),a=[]),s.push(r[u]));a.length>0&&s.push(ht(a,t)),n?(o=ht(it(n,t,!0)),o.classes=["tag"],s.push(o)):i&&s.push(i);const l=Je(["katex-html"],s);if(l.setAttribute("aria-hidden","true"),o){const e=o.children[0];e.style.height=H(l.height+l.depth),l.depth&&(e.style.verticalAlign=H(-l.depth))}return l}function mt(e){return new C(e)}class dt{constructor(e,t,n){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=n||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){const e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=P(this.classes));for(let t=0;t<this.children.length;t++)if(this.children[t]instanceof ft&&this.children[t+1]instanceof ft){let n=this.children[t].toText()+this.children[++t].toText();for(;this.children[t+1]instanceof ft;)n+=this.children[++t].toText();e.appendChild(new ft(n).toNode())}else e.appendChild(this.children[t].toNode());return e}toMarkup(){let e="<"+this.type;for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="',e+=l.escape(this.attributes[t]),e+='"');this.classes.length>0&&(e+=' class ="'+l.escape(P(this.classes))+'"'),e+=">";for(let t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e+="</"+this.type+">",e}toText(){return this.children.map((e=>e.toText())).join("")}}class ft{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return l.escape(this.toText())}toText(){return this.text}}var gt={MathNode:dt,TextNode:ft,SpaceNode:class{constructor(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?"\u200a":e>=.1666&&e<=.1667?"\u2009":e>=.2222&&e<=.2223?"\u2005":e>=.2777&&e<=.2778?"\u2005\u200a":e>=-.05556&&e<=-.05555?"\u200a\u2063":e>=-.1667&&e<=-.1666?"\u2009\u2063":e>=-.2223&&e<=-.2222?"\u205f\u2063":e>=-.2778&&e<=-.2777?"\u2005\u2063":null}toNode(){if(this.character)return document.createTextNode(this.character);{const e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",H(this.width)),e}}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+H(this.width)+'"/>'}toText(){return this.character?this.character:" "}},newDocumentFragment:mt};const bt=function(e,t,n){return!se[t][e]||!se[t][e].replace||55349===e.charCodeAt(0)||De.hasOwnProperty(e)&&n&&(n.fontFamily&&"tt"===n.fontFamily.slice(4,6)||n.font&&"tt"===n.font.slice(4,6))||(e=se[t][e].replace),new gt.TextNode(e)},yt=function(e){return 1===e.length?e[0]:new gt.MathNode("mrow",e)},xt=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";const n=t.font;if(!n||"mathnormal"===n)return null;const r=e.mode;if("mathit"===n)return"italic";if("boldsymbol"===n)return"textord"===e.type?"bold":"bold-italic";if("mathbf"===n)return"bold";if("mathbb"===n)return"double-struck";if("mathsfit"===n)return"sans-serif-italic";if("mathfrak"===n)return"fraktur";if("mathscr"===n||"mathcal"===n)return"script";if("mathsf"===n)return"sans-serif";if("mathtt"===n)return"monospace";let i=e.text;return l.contains(["\\imath","\\jmath"],i)?null:(se[r][i]&&se[r][i].replace&&(i=se[r][i].replace),F(i,Le.fontMap[n].fontName,r)?Le.fontMap[n].variant:null)};function wt(e){if(!e)return!1;if("mi"===e.type&&1===e.children.length){const t=e.children[0];return t instanceof ft&&"."===t.text}if("mo"===e.type&&1===e.children.length&&"true"===e.getAttribute("separator")&&"0em"===e.getAttribute("lspace")&&"0em"===e.getAttribute("rspace")){const t=e.children[0];return t instanceof ft&&","===t.text}return!1}const vt=function(e,t,n){if(1===e.length){const r=kt(e[0],t);return n&&r instanceof dt&&"mo"===r.type&&(r.setAttribute("lspace","0em"),r.setAttribute("rspace","0em")),[r]}const r=[];let i;for(let s=0;s<e.length;s++){const n=kt(e[s],t);if(n instanceof dt&&i instanceof dt){if("mtext"===n.type&&"mtext"===i.type&&n.getAttribute("mathvariant")===i.getAttribute("mathvariant")){i.children.push(...n.children);continue}if("mn"===n.type&&"mn"===i.type){i.children.push(...n.children);continue}if(wt(n)&&"mn"===i.type){i.children.push(...n.children);continue}if("mn"===n.type&&wt(i))n.children=[...i.children,...n.children],r.pop();else if(("msup"===n.type||"msub"===n.type)&&n.children.length>=1&&("mn"===i.type||wt(i))){const e=n.children[0];e instanceof dt&&"mn"===e.type&&(e.children=[...i.children,...e.children],r.pop())}else if("mi"===i.type&&1===i.children.length){const e=i.children[0];if(e instanceof ft&&"\u0338"===e.text&&("mo"===n.type||"mi"===n.type||"mn"===n.type)){const e=n.children[0];e instanceof ft&&e.text.length>0&&(e.text=e.text.slice(0,1)+"\u0338"+e.text.slice(1),r.pop())}}}r.push(n),i=n}return r},Dt=function(e,t,n){return yt(vt(e,t,n))},kt=function(e,t){if(!e)return new gt.MathNode("mrow");if(We[e.type])return We[e.type](e,t);throw new r("Got group of unknown type: '"+e.type+"'")};function At(e,t,n,r,i){const s=vt(e,n);let o;o=1===s.length&&s[0]instanceof dt&&l.contains(["mrow","mtable"],s[0].type)?s[0]:new gt.MathNode("mrow",s);const a=new gt.MathNode("annotation",[new gt.TextNode(t)]);a.setAttribute("encoding","application/x-tex");const u=new gt.MathNode("semantics",[o,a]),c=new gt.MathNode("math",[u]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&c.setAttribute("display","block");const h=i?"katex":"katex-mathml";return Le.makeSpan([h],[c])}const St=function(e){return new I({style:e.displayMode?w.DISPLAY:w.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Ct=function(e,t){if(t.displayMode){const n=["katex-display"];t.leqno&&n.push("leqno"),t.fleqn&&n.push("fleqn"),e=Le.makeSpan(n,[e])}return e},Mt={widehat:"^",widecheck:"\u02c7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23df",overbrace:"\u23de",overgroup:"\u23e0",undergroup:"\u23e1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21d2",xRightarrow:"\u21d2",overleftharpoon:"\u21bc",xleftharpoonup:"\u21bc",overrightharpoon:"\u21c0",xrightharpoonup:"\u21c0",xLeftarrow:"\u21d0",xLeftrightarrow:"\u21d4",xhookleftarrow:"\u21a9",xhookrightarrow:"\u21aa",xmapsto:"\u21a6",xrightharpoondown:"\u21c1",xleftharpoondown:"\u21bd",xrightleftharpoons:"\u21cc",xleftrightharpoons:"\u21cb",xtwoheadleftarrow:"\u219e",xtwoheadrightarrow:"\u21a0",xlongequal:"=",xtofrom:"\u21c4",xrightleftarrows:"\u21c4",xrightequilibrium:"\u21cc",xleftequilibrium:"\u21cb","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},zt={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]};var Et=function(e,t,n,r,i){let s;const o=e.height+e.depth+n+r;if(/fbox|color|angl/.test(t)){if(s=Le.makeSpan(["stretchy",t],[],i),"fbox"===t){const e=i.color&&i.getColor();e&&(s.style.borderColor=e)}}else{const e=[];/^[bx]cancel$/.test(t)&&e.push(new ee({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&e.push(new ee({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));const n=new Q(e,{width:"100%",height:H(o)});s=Le.makeSvgSpan([],[n],i)}return s.height=o,s.style.height=H(o),s},Ft=function(e){const t=new gt.MathNode("mo",[new gt.TextNode(Mt[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},Bt=function(e,t){const{span:n,minWidth:r,height:i}=function(){let n=4e5;const r=e.label.slice(1);if(l.contains(["widehat","widecheck","widetilde","utilde"],r)){const s="ordgroup"===(i=e.base).type?i.body.length:1;let o,a,l;if(s>5)"widehat"===r||"widecheck"===r?(o=420,n=2364,l=.42,a=r+"4"):(o=312,n=2340,l=.34,a="tilde4");else{const e=[1,1,2,2,3,3][s];"widehat"===r||"widecheck"===r?(n=[0,1062,2364,2364,2364][e],o=[0,239,300,360,420][e],l=[0,.24,.3,.3,.36,.42][e],a=r+e):(n=[0,600,1033,2339,2340][e],o=[0,260,286,306,312][e],l=[0,.26,.286,.3,.306,.34][e],a="tilde"+e)}const u=new J(a),c=new Q([u],{width:"100%",height:H(l),viewBox:"0 0 "+n+" "+o,preserveAspectRatio:"none"});return{span:Le.makeSvgSpan([],[c],t),minWidth:0,height:l}}{const e=[],i=zt[r],[s,o,a]=i,l=a/1e3,u=s.length;let c,h;if(1===u)c=["hide-tail"],h=[i[3]];else if(2===u)c=["halfarrow-left","halfarrow-right"],h=["xMinYMin","xMaxYMin"];else{if(3!==u)throw new Error("Correct katexImagesData or update code here to support\n "+u+" children.");c=["brace-left","brace-center","brace-right"],h=["xMinYMin","xMidYMin","xMaxYMin"]}for(let r=0;r<u;r++){const i=new J(s[r]),p=new Q([i],{width:"400em",height:H(l),viewBox:"0 0 "+n+" "+a,preserveAspectRatio:h[r]+" slice"}),m=Le.makeSvgSpan([c[r]],[p],t);if(1===u)return{span:m,minWidth:o,height:l};m.style.height=H(l),e.push(m)}return{span:Le.makeSpan(["stretchy"],e,t),minWidth:o,height:l}}var i}();return n.height=i,n.style.height=H(i),r>0&&(n.style.minWidth=H(r)),n};function Tt(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 _t(e){const t=Nt(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 Nt(e){return e&&("atom"===e.type||re.hasOwnProperty(e.type))?e:null}const Ot=(e,t)=>{let n,r,i;e&&"supsub"===e.type?(r=Tt(e.base,"accent"),n=r.base,e.base=n,i=function(e){if(e instanceof X)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}(ct(e,t)),e.base=r):(r=Tt(e,"accent"),n=r.base);const s=ct(n,t.havingCrampedStyle());let o=0;if(r.isShifty&&l.isCharacterBox(n)){const e=l.getBaseElem(n);o=te(ct(e,t.havingCrampedStyle())).skew}const a="\\c"===r.label;let u,c=a?s.height+s.depth:Math.min(s.height,t.fontMetrics().xHeight);if(r.isStretchy)u=Bt(r,t),u=Le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"elem",elem:u,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+H(2*o)+")",marginLeft:H(2*o)}:void 0}]},t);else{let e,n;"\\vec"===r.label?(e=Le.staticSvg("vec",t),n=Le.svgData.vec[1]):(e=Le.makeOrd({mode:r.mode,text:r.label},t,"textord"),e=te(e),e.italic=0,n=e.width,a&&(c+=e.depth)),u=Le.makeSpan(["accent-body"],[e]);const i="\\textcircled"===r.label;i&&(u.classes.push("accent-full"),c=s.height);let l=o;i||(l-=n/2),u.style.left=H(l),"\\textcircled"===r.label&&(u.style.top=".2em"),u=Le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:-c},{type:"elem",elem:u}]},t)}const h=Le.makeSpan(["mord","accent"],[u],t);return i?(i.children[0]=h,i.height=Math.max(h.height,i.height),i.classes[0]="mord",i):h},It=(e,t)=>{const n=e.isStretchy?Ft(e.label):new gt.MathNode("mo",[bt(e.label,e.mode)]),r=new gt.MathNode("mover",[kt(e.base,t),n]);return r.setAttribute("accent","true"),r},qt=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((e=>"\\"+e)).join("|"));Ye({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)=>{const n=Ke(t[0]),r=!qt.test(e.funcName),i=!r||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:i,base:n}},htmlBuilder:Ot,mathmlBuilder:It}),Ye({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{const n=t[0];let r=e.parser.mode;return"math"===r&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),r="text"),{type:"accent",mode:r,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:Ot,mathmlBuilder:It}),Ye({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:i}},htmlBuilder:(e,t)=>{const n=ct(e.base,t),r=Bt(e,t),i="\\utilde"===e.label?.12:0,s=Le.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:n}]},t);return Le.makeSpan(["mord","accentunder"],[s],t)},mathmlBuilder:(e,t)=>{const n=Ft(e.label),r=new gt.MathNode("munder",[kt(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});const Rt=e=>{const t=new gt.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};Ye({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,n){let{parser:r,funcName:i}=e;return{type:"xArrow",mode:r.mode,label:i,body:t[0],below:n[0]}},htmlBuilder(e,t){const n=t.style;let r=t.havingStyle(n.sup());const i=Le.wrapFragment(ct(e.body,r,t),t),s="\\x"===e.label.slice(0,2)?"x":"cd";let o;i.classes.push(s+"-arrow-pad"),e.below&&(r=t.havingStyle(n.sub()),o=Le.wrapFragment(ct(e.below,r,t),t),o.classes.push(s+"-arrow-pad"));const a=Bt(e,t),l=-t.fontMetrics().axisHeight+.5*a.height;let u,c=-t.fontMetrics().axisHeight-.5*a.height-.111;if((i.depth>.25||"\\xleftequilibrium"===e.label)&&(c-=i.depth),o){const e=-t.fontMetrics().axisHeight+o.height+.5*a.height+.111;u=Le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{type:"elem",elem:a,shift:l},{type:"elem",elem:o,shift:e}]},t)}else u=Le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:c},{type:"elem",elem:a,shift:l}]},t);return u.children[0].children[0].children[1].classes.push("svg-align"),Le.makeSpan(["mrel","x-arrow"],[u],t)},mathmlBuilder(e,t){const n=Ft(e.label);let r;if(n.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){const i=Rt(kt(e.body,t));if(e.below){const s=Rt(kt(e.below,t));r=new gt.MathNode("munderover",[n,s,i])}else r=new gt.MathNode("mover",[n,i])}else if(e.below){const i=Rt(kt(e.below,t));r=new gt.MathNode("munder",[n,i])}else r=Rt(),r=new gt.MathNode("mover",[n,r]);return r}});const jt=Le.makeSpan;function Lt(e,t){const n=it(e.body,t,!0);return jt([e.mclass],n,t)}function Ht(e,t){let n;const r=vt(e.body,t);return"minner"===e.mclass?n=new gt.MathNode("mpadded",r):"mord"===e.mclass?e.isCharacterBox?(n=r[0],n.type="mi"):n=new gt.MathNode("mi",r):(e.isCharacterBox?(n=r[0],n.type="mo"):n=new gt.MathNode("mo",r),"mbin"===e.mclass?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):"mpunct"===e.mclass?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):"mopen"===e.mclass||"mclose"===e.mclass?(n.attributes.lspace="0em",n.attributes.rspace="0em"):"minner"===e.mclass&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}Ye({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){let{parser:n,funcName:r}=e;const i=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.slice(5),body:Qe(i),isCharacterBox:l.isCharacterBox(i)}},htmlBuilder:Lt,mathmlBuilder:Ht});const Pt=e=>{const 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};Ye({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){let{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:Pt(t[0]),body:Qe(t[1]),isCharacterBox:l.isCharacterBox(t[1])}}}),Ye({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){let{parser:n,funcName:r}=e;const i=t[1],s=t[0];let o;o="\\stackrel"!==r?Pt(i):"mrel";const a={type:"op",mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==r,body:Qe(i)},u={type:"supsub",mode:s.mode,base:a,sup:"\\underset"===r?null:s,sub:"\\underset"===r?s:null};return{type:"mclass",mode:n.mode,mclass:o,body:[u],isCharacterBox:l.isCharacterBox(u)}},htmlBuilder:Lt,mathmlBuilder:Ht}),Ye({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){let{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:Pt(t[0]),body:Qe(t[0])}},htmlBuilder(e,t){const n=it(e.body,t,!0),r=Le.makeSpan([e.mclass],n,t);return r.style.textShadow="0.02em 0.01em 0.04px",r},mathmlBuilder(e,t){const n=vt(e.body,t),r=new gt.MathNode("mstyle",n);return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});const Vt={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},$t=e=>"textord"===e.type&&"@"===e.text;function Gt(e,t,n){const r=Vt[e];switch(r){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(r,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{const e={type:"atom",text:r,mode:"math",family:"rel"},i={type:"ordgroup",mode:"math",body:[n.callFunction("\\\\cdleft",[t[0]],[]),n.callFunction("\\Big",[e],[]),n.callFunction("\\\\cdright",[t[1]],[])]};return n.callFunction("\\\\cdparent",[i],[])}case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{const e={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[e],[])}default:return{type:"textord",text:" ",mode:"math"}}}Ye({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){let{parser:n,funcName:r}=e;return{type:"cdlabel",mode:n.mode,side:r.slice(4),label:t[0]}},htmlBuilder(e,t){const n=t.havingStyle(t.style.sup()),r=Le.wrapFragment(ct(e.label,n,t),t);return r.classes.push("cd-label-"+e.side),r.style.bottom=H(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){let n=new gt.MathNode("mrow",[kt(e.label,t)]);return n=new gt.MathNode("mpadded",[n]),n.setAttribute("width","0"),"left"===e.side&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new gt.MathNode("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}}),Ye({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){let{parser:n}=e;return{type:"cdlabelparent",mode:n.mode,fragment:t[0]}},htmlBuilder(e,t){const n=Le.wrapFragment(ct(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder:(e,t)=>new gt.MathNode("mrow",[kt(e.fragment,t)])}),Ye({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){let{parser:n}=e;const i=Tt(t[0],"ordgroup").body;let s="";for(let r=0;r<i.length;r++)s+=Tt(i[r],"textord").text;let o,a=parseInt(s);if(isNaN(a))throw new r("\\@char has non-numeric argument "+s);if(a<0||a>=1114111)throw new r("\\@char with invalid code point "+s);return a<=65535?o=String.fromCharCode(a):(a-=65536,o=String.fromCharCode(55296+(a>>10),56320+(1023&a))),{type:"textord",mode:n.mode,text:o}}});const Ut=(e,t)=>{const n=it(e.body,t.withColor(e.color),!1);return Le.makeFragment(n)},Xt=(e,t)=>{const n=vt(e.body,t.withColor(e.color)),r=new gt.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.color),r};Ye({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){let{parser:n}=e;const r=Tt(t[0],"color-token").color,i=t[1];return{type:"color",mode:n.mode,color:r,body:Qe(i)}},htmlBuilder:Ut,mathmlBuilder:Xt}),Ye({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){let{parser:n,breakOnTokenText:r}=e;const i=Tt(t[0],"color-token").color;n.gullet.macros.set("\\current@color",i);const s=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:i,body:s}},htmlBuilder:Ut,mathmlBuilder:Xt}),Ye({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,n){let{parser:r}=e;const i="["===r.gullet.future().text?r.parseSizeGroup(!0):null,s=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:r.mode,newLine:s,size:i&&Tt(i,"size").value}},htmlBuilder(e,t){const n=Le.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=H(L(e.size,t)))),n},mathmlBuilder(e,t){const n=new gt.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",H(L(e.size,t)))),n}});const Wt={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Yt=e=>{const t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new r("Expected a control sequence",e);return t},Zt=(e,t,n,r)=>{let i=e.gullet.macros.get(n.text);null==i&&(n.noexpand=!0,i={tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,i,r)};Ye({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){let{parser:t,funcName:n}=e;t.consumeSpaces();const i=t.fetch();if(Wt[i.text])return"\\global"!==n&&"\\\\globallong"!==n||(i.text=Wt[i.text]),Tt(t.parseFunction(),"internal");throw new r("Invalid token after macro prefix",i)}}),Ye({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){let{parser:t,funcName:n}=e,i=t.gullet.popToken();const s=i.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(s))throw new r("Expected a control sequence",i);let o,a=0;const l=[[]];for(;"{"!==t.gullet.future().text;)if(i=t.gullet.popToken(),"#"===i.text){if("{"===t.gullet.future().text){o=t.gullet.future(),l[a].push("{");break}if(i=t.gullet.popToken(),!/^[1-9]$/.test(i.text))throw new r('Invalid argument number "'+i.text+'"');if(parseInt(i.text)!==a+1)throw new r('Argument number "'+i.text+'" out of order');a++,l.push([])}else{if("EOF"===i.text)throw new r("Expected a macro definition");l[a].push(i.text)}let{tokens:u}=t.gullet.consumeArg();return o&&u.unshift(o),"\\edef"!==n&&"\\xdef"!==n||(u=t.gullet.expandTokens(u),u.reverse()),t.gullet.macros.set(s,{tokens:u,numArgs:a,delimiters:l},n===Wt[n]),{type:"internal",mode:t.mode}}}),Ye({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){let{parser:t,funcName:n}=e;const r=Yt(t.gullet.popToken());t.gullet.consumeSpaces();const i=(e=>{let t=e.gullet.popToken();return"="===t.text&&(t=e.gullet.popToken()," "===t.text&&(t=e.gullet.popToken())),t})(t);return Zt(t,r,i,"\\\\globallet"===n),{type:"internal",mode:t.mode}}}),Ye({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){let{parser:t,funcName:n}=e;const r=Yt(t.gullet.popToken()),i=t.gullet.popToken(),s=t.gullet.popToken();return Zt(t,r,s,"\\\\globalfuture"===n),t.gullet.pushToken(s),t.gullet.pushToken(i),{type:"internal",mode:t.mode}}});const Kt=function(e,t,n){const r=F(se.math[e]&&se.math[e].replace||e,t,n);if(!r)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return r},Qt=function(e,t,n,r){const i=n.havingBaseStyle(t),s=Le.makeSpan(r.concat(i.sizingClasses(n)),[e],n),o=i.sizeMultiplier/n.sizeMultiplier;return s.height*=o,s.depth*=o,s.maxFontSize=i.sizeMultiplier,s},Jt=function(e,t,n){const r=t.havingBaseStyle(n),i=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=H(i),e.height-=i,e.depth+=i},en=function(e,t,n,r,i,s){const o=function(e,t,n,r){return Le.makeSymbol(e,"Size"+t+"-Regular",n,r)}(e,t,i,r),a=Qt(Le.makeSpan(["delimsizing","size"+t],[o],r),w.TEXT,r,s);return n&&Jt(a,r,w.TEXT),a},tn=function(e,t,n){let r;return r="Size1-Regular"===t?"delim-size1":"delim-size4",{type:"elem",elem:Le.makeSpan(["delimsizinginner",r],[Le.makeSpan([],[Le.makeSymbol(e,t,n)])])}},nn=function(e,t,n){const r=M["Size4-Regular"][e.charCodeAt(0)]?M["Size4-Regular"][e.charCodeAt(0)][4]:M["Size1-Regular"][e.charCodeAt(0)][4],i=new J("inner",function(e,t){switch(e){case"\u239c":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"\u2223":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"\u2225":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145zM367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z";case"\u239f":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"\u23a2":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"\u23a5":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"\u23aa":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"\u23d0":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"\u2016":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257zM478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z";default:return""}}(e,Math.round(1e3*t))),s=new Q([i],{width:H(r),height:H(t),style:"width:"+H(r),viewBox:"0 0 "+1e3*r+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),o=Le.makeSvgSpan([],[s],n);return o.height=t,o.style.height=H(t),o.style.width=H(r),{type:"elem",elem:o}},rn={type:"kern",size:-.008},sn=["|","\\lvert","\\rvert","\\vert"],on=["\\|","\\lVert","\\rVert","\\Vert"],an=function(e,t,n,r,i,s){let o,a,u,c,h="",p=0;o=u=c=e,a=null;let m="Size1-Regular";"\\uparrow"===e?u=c="\u23d0":"\\Uparrow"===e?u=c="\u2016":"\\downarrow"===e?o=u="\u23d0":"\\Downarrow"===e?o=u="\u2016":"\\updownarrow"===e?(o="\\uparrow",u="\u23d0",c="\\downarrow"):"\\Updownarrow"===e?(o="\\Uparrow",u="\u2016",c="\\Downarrow"):l.contains(sn,e)?(u="\u2223",h="vert",p=333):l.contains(on,e)?(u="\u2225",h="doublevert",p=556):"["===e||"\\lbrack"===e?(o="\u23a1",u="\u23a2",c="\u23a3",m="Size4-Regular",h="lbrack",p=667):"]"===e||"\\rbrack"===e?(o="\u23a4",u="\u23a5",c="\u23a6",m="Size4-Regular",h="rbrack",p=667):"\\lfloor"===e||"\u230a"===e?(u=o="\u23a2",c="\u23a3",m="Size4-Regular",h="lfloor",p=667):"\\lceil"===e||"\u2308"===e?(o="\u23a1",u=c="\u23a2",m="Size4-Regular",h="lceil",p=667):"\\rfloor"===e||"\u230b"===e?(u=o="\u23a5",c="\u23a6",m="Size4-Regular",h="rfloor",p=667):"\\rceil"===e||"\u2309"===e?(o="\u23a4",u=c="\u23a5",m="Size4-Regular",h="rceil",p=667):"("===e||"\\lparen"===e?(o="\u239b",u="\u239c",c="\u239d",m="Size4-Regular",h="lparen",p=875):")"===e||"\\rparen"===e?(o="\u239e",u="\u239f",c="\u23a0",m="Size4-Regular",h="rparen",p=875):"\\{"===e||"\\lbrace"===e?(o="\u23a7",a="\u23a8",c="\u23a9",u="\u23aa",m="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(o="\u23ab",a="\u23ac",c="\u23ad",u="\u23aa",m="Size4-Regular"):"\\lgroup"===e||"\u27ee"===e?(o="\u23a7",c="\u23a9",u="\u23aa",m="Size4-Regular"):"\\rgroup"===e||"\u27ef"===e?(o="\u23ab",c="\u23ad",u="\u23aa",m="Size4-Regular"):"\\lmoustache"===e||"\u23b0"===e?(o="\u23a7",c="\u23ad",u="\u23aa",m="Size4-Regular"):"\\rmoustache"!==e&&"\u23b1"!==e||(o="\u23ab",c="\u23a9",u="\u23aa",m="Size4-Regular");const d=Kt(o,m,i),f=d.height+d.depth,g=Kt(u,m,i),b=g.height+g.depth,y=Kt(c,m,i),x=y.height+y.depth;let v=0,D=1;if(null!==a){const e=Kt(a,m,i);v=e.height+e.depth,D=2}const k=f+x+v,A=k+Math.max(0,Math.ceil((t-k)/(D*b)))*D*b;let S=r.fontMetrics().axisHeight;n&&(S*=r.sizeMultiplier);const C=A/2-S,M=[];if(h.length>0){const e=A-f-x,t=Math.round(1e3*A),n=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v1759 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z\nM367 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v602 h84z\nM403 1759 V0 H319 V1759 v"+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+t+" v602 h84z";case"lparen":return"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\n-36,557 l0,"+(t+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+(t+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z";case"rparen":return"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+(t+9)+"\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+(t+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z";default:throw new Error("Unknown stretchy delimiter.")}}(h,Math.round(1e3*e)),i=new J(h,n),s=(p/1e3).toFixed(3)+"em",o=(t/1e3).toFixed(3)+"em",a=new Q([i],{width:s,height:o,viewBox:"0 0 "+p+" "+t}),l=Le.makeSvgSpan([],[a],r);l.height=t/1e3,l.style.width=s,l.style.height=o,M.push({type:"elem",elem:l})}else{if(M.push(tn(c,m,i)),M.push(rn),null===a){const e=A-f-x+.016;M.push(nn(u,e,r))}else{const e=(A-f-x-v)/2+.016;M.push(nn(u,e,r)),M.push(rn),M.push(tn(a,m,i)),M.push(rn),M.push(nn(u,e,r))}M.push(rn),M.push(tn(o,m,i))}const z=r.havingBaseStyle(w.TEXT),E=Le.makeVList({positionType:"bottom",positionData:C,children:M},z);return Qt(Le.makeSpan(["delimsizing","mult"],[E],z),w.TEXT,r,s)},ln=.08,un=function(e,t,n,r,i){const s=function(e,t,n){t*=1e3;let r="";switch(e){case"sqrtMain":r=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,A);break;case"sqrtSize1":r=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,A);break;case"sqrtSize2":r=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,A);break;case"sqrtSize3":r=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,A);break;case"sqrtSize4":r=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,A);break;case"sqrtTall":r=function(e,t,n){return"M702 "+(e+t)+"H400000"+(40+e)+"\nH742v"+(n-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,A,n)}return r}(e,r,n),o=new J(e,s),a=new Q([o],{width:"400em",height:H(t),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return Le.makeSvgSpan(["hide-tail"],[a],i)},cn=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230a","\u230b","\\lceil","\\rceil","\u2308","\u2309","\\surd"],hn=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27ee","\u27ef","\\lmoustache","\\rmoustache","\u23b0","\u23b1"],pn=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],mn=[0,1.2,1.8,2.4,3],dn=[{type:"small",style:w.SCRIPTSCRIPT},{type:"small",style:w.SCRIPT},{type:"small",style:w.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],fn=[{type:"small",style:w.SCRIPTSCRIPT},{type:"small",style:w.SCRIPT},{type:"small",style:w.TEXT},{type:"stack"}],gn=[{type:"small",style:w.SCRIPTSCRIPT},{type:"small",style:w.SCRIPT},{type:"small",style:w.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],bn=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.")},yn=function(e,t,n,r){for(let i=Math.min(2,3-r.style.size);i<n.length&&"stack"!==n[i].type;i++){const s=Kt(e,bn(n[i]),"math");let o=s.height+s.depth;if("small"===n[i].type&&(o*=r.havingBaseStyle(n[i].style).sizeMultiplier),o>t)return n[i]}return n[n.length-1]},xn=function(e,t,n,r,i,s){let o;"<"===e||"\\lt"===e||"\u27e8"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"\u27e9"!==e||(e="\\rangle"),o=l.contains(pn,e)?dn:l.contains(cn,e)?gn:fn;const a=yn(e,t,o,r);return"small"===a.type?function(e,t,n,r,i,s){const o=Le.makeSymbol(e,"Main-Regular",i,r),a=Qt(o,t,r,s);return n&&Jt(a,r,t),a}(e,a.style,n,r,i,s):"large"===a.type?en(e,a.size,n,r,i,s):an(e,t,n,r,i,s)};var wn={sqrtImage:function(e,t){const n=t.havingBaseSizing(),r=yn("\\surd",e*n.sizeMultiplier,gn,n);let i=n.sizeMultiplier;const s=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness);let o,a,l=0,u=0,c=0;return"small"===r.type?(c=1e3+1e3*s+80,e<1?i=1:e<1.4&&(i=.7),l=(1+s+ln)/i,u=(1+s)/i,o=un("sqrtMain",l,c,s,t),o.style.minWidth="0.853em",a=.833/i):"large"===r.type?(c=1080*mn[r.size],u=(mn[r.size]+s)/i,l=(mn[r.size]+s+ln)/i,o=un("sqrtSize"+r.size,l,c,s,t),o.style.minWidth="1.02em",a=1/i):(l=e+s+ln,u=e+s,c=Math.floor(1e3*e+s)+80,o=un("sqrtTall",l,c,s,t),o.style.minWidth="0.742em",a=1.056),o.height=u,o.style.height=H(l),{span:o,advanceWidth:a,ruleWidth:(t.fontMetrics().sqrtRuleThickness+s)*i}},sizedDelim:function(e,t,n,i,s){if("<"===e||"\\lt"===e||"\u27e8"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"\u27e9"!==e||(e="\\rangle"),l.contains(cn,e)||l.contains(pn,e))return en(e,t,!1,n,i,s);if(l.contains(hn,e))return an(e,mn[t],!1,n,i,s);throw new r("Illegal delimiter: '"+e+"'")},sizeToMaxHeight:mn,customSizedDelim:xn,leftRightDelim:function(e,t,n,r,i,s){const o=r.fontMetrics().axisHeight*r.sizeMultiplier,a=5/r.fontMetrics().ptPerEm,l=Math.max(t-o,n+o),u=Math.max(l/500*901,2*l-a);return xn(e,u,!0,r,i,s)}};const vn={"\\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}},Dn=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230a","\u230b","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27e8","\\rangle","\u27e9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27ee","\u27ef","\\lmoustache","\\rmoustache","\u23b0","\u23b1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function kn(e,t){const n=Nt(e);if(n&&l.contains(Dn,n.text))return n;throw new r(n?"Invalid delimiter '"+n.text+"' after '"+t.funcName+"'":"Invalid delimiter type '"+e.type+"'",e)}function An(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Ye({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)=>{const n=kn(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:vn[e.funcName].size,mclass:vn[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>"."===e.delim?Le.makeSpan([e.mclass]):wn.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{const t=[];"."!==e.delim&&t.push(bt(e.delim,e.mode));const n=new gt.MathNode("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");const r=H(wn.sizeToMaxHeight[e.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n}}),Ye({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{const n=e.parser.gullet.macros.get("\\current@color");if(n&&"string"!==typeof n)throw new r("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:kn(t[0],e).text,color:n}}}),Ye({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{const n=kn(t[0],e),r=e.parser;++r.leftrightDepth;const i=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);const s=Tt(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:i,left:n.text,right:s.delim,rightColor:s.color}},htmlBuilder:(e,t)=>{An(e);const n=it(e.body,t,!0,["mopen","mclose"]);let r,i,s=0,o=0,a=!1;for(let l=0;l<n.length;l++)n[l].isMiddle?a=!0:(s=Math.max(n[l].height,s),o=Math.max(n[l].depth,o));if(s*=t.sizeMultiplier,o*=t.sizeMultiplier,r="."===e.left?ut(t,["mopen"]):wn.leftRightDelim(e.left,s,o,t,e.mode,["mopen"]),n.unshift(r),a)for(let l=1;l<n.length;l++){const t=n[l].isMiddle;t&&(n[l]=wn.leftRightDelim(t.delim,s,o,t.options,e.mode,[]))}if("."===e.right)i=ut(t,["mclose"]);else{const n=e.rightColor?t.withColor(e.rightColor):t;i=wn.leftRightDelim(e.right,s,o,n,e.mode,["mclose"])}return n.push(i),Le.makeSpan(["minner"],n,t)},mathmlBuilder:(e,t)=>{An(e);const n=vt(e.body,t);if("."!==e.left){const t=new gt.MathNode("mo",[bt(e.left,e.mode)]);t.setAttribute("fence","true"),n.unshift(t)}if("."!==e.right){const t=new gt.MathNode("mo",[bt(e.right,e.mode)]);t.setAttribute("fence","true"),e.rightColor&&t.setAttribute("mathcolor",e.rightColor),n.push(t)}return yt(n)}}),Ye({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{const n=kn(t[0],e);if(!e.parser.leftrightDepth)throw new r("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{let n;if("."===e.delim)n=ut(t,[]);else{n=wn.sizedDelim(e.delim,1,t,e.mode,[]);const r={delim:e.delim,options:t};n.isMiddle=r}return n},mathmlBuilder:(e,t)=>{const n="\\vert"===e.delim||"|"===e.delim?bt("|","text"):bt(e.delim,e.mode),r=new gt.MathNode("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});const Sn=(e,t)=>{const n=Le.wrapFragment(ct(e.body,t),t),r=e.label.slice(1);let i,s=t.sizeMultiplier,o=0;const a=l.isCharacterBox(e.body);if("sout"===r)i=Le.makeSpan(["stretchy","sout"]),i.height=t.fontMetrics().defaultRuleThickness/s,o=-.5*t.fontMetrics().xHeight;else if("phase"===r){const e=L({number:.6,unit:"pt"},t),r=L({number:.35,unit:"ex"},t);s/=t.havingBaseSizing().sizeMultiplier;const a=n.height+n.depth+e+r;n.style.paddingLeft=H(a/2+e);const l=Math.floor(1e3*a*s),c="M400000 "+(u=l)+" H0 L"+u/2+" 0 l65 45 L145 "+(u-80)+" H400000z",h=new Q([new J("phase",c)],{width:"400em",height:H(l/1e3),viewBox:"0 0 400000 "+l,preserveAspectRatio:"xMinYMin slice"});i=Le.makeSvgSpan(["hide-tail"],[h],t),i.style.height=H(a),o=n.depth+e+r}else{/cancel/.test(r)?a||n.classes.push("cancel-pad"):"angl"===r?n.classes.push("anglpad"):n.classes.push("boxpad");let s=0,l=0,u=0;/box/.test(r)?(u=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),s=t.fontMetrics().fboxsep+("colorbox"===r?0:u),l=s):"angl"===r?(u=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),s=4*u,l=Math.max(0,.25-n.depth)):(s=a?.2:0,l=s),i=Et(n,r,s,l,t),/fbox|boxed|fcolorbox/.test(r)?(i.style.borderStyle="solid",i.style.borderWidth=H(u)):"angl"===r&&.049!==u&&(i.style.borderTopWidth=H(u),i.style.borderRightWidth=H(u)),o=n.depth+l,e.backgroundColor&&(i.style.backgroundColor=e.backgroundColor,e.borderColor&&(i.style.borderColor=e.borderColor))}var u;let c;if(e.backgroundColor)c=Le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:o},{type:"elem",elem:n,shift:0}]},t);else{const e=/cancel|phase/.test(r)?["svg-align"]:[];c=Le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:i,shift:o,wrapperClasses:e}]},t)}return/cancel/.test(r)&&(c.height=n.height,c.depth=n.depth),/cancel/.test(r)&&!a?Le.makeSpan(["mord","cancel-lap"],[c],t):Le.makeSpan(["mord"],[c],t)},Cn=(e,t)=>{let n=0;const r=new gt.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[kt(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\phase":r.setAttribute("notation","phasorangle");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\angl":r.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),"\\fcolorbox"===e.label){const n=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+n+"em solid "+String(e.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};Ye({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,n){let{parser:r,funcName:i}=e;const s=Tt(t[0],"color-token").color,o=t[1];return{type:"enclose",mode:r.mode,label:i,backgroundColor:s,body:o}},htmlBuilder:Sn,mathmlBuilder:Cn}),Ye({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,n){let{parser:r,funcName:i}=e;const s=Tt(t[0],"color-token").color,o=Tt(t[1],"color-token").color,a=t[2];return{type:"enclose",mode:r.mode,label:i,backgroundColor:o,borderColor:s,body:a}},htmlBuilder:Sn,mathmlBuilder:Cn}),Ye({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){let{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\fbox",body:t[0]}}}),Ye({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){let{parser:n,funcName:r}=e;const i=t[0];return{type:"enclose",mode:n.mode,label:r,body:i}},htmlBuilder:Sn,mathmlBuilder:Cn}),Ye({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){let{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\angl",body:t[0]}}});const Mn={};function zn(e){let{type:t,names:n,props:r,handler:i,htmlBuilder:s,mathmlBuilder:o}=e;const a={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i};for(let l=0;l<n.length;++l)Mn[n[l]]=a;s&&(Xe[t]=s),o&&(We[t]=o)}const En={};function Fn(e,t){En[e]=t}class Bn{constructor(e,t,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=n}static range(e,t){return t?e&&e.loc&&t.loc&&e.loc.lexer===t.loc.lexer?new Bn(e.loc.lexer,e.loc.start,t.loc.end):null:e&&e.loc}}class Tn{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 Tn(t,Bn.range(this,e))}}function _n(e){const t=[];e.consumeSpaces();let n=e.fetch().text;for("\\relax"===n&&(e.consume(),e.consumeSpaces(),n=e.fetch().text);"\\hline"===n||"\\hdashline"===n;)e.consume(),t.push("\\hdashline"===n),e.consumeSpaces(),n=e.fetch().text;return t}const Nn=e=>{if(!e.parser.settings.displayMode)throw new r("{"+e.envName+"} can be used only in display mode.")};function On(e){if(-1===e.indexOf("ed"))return-1===e.indexOf("*")}function In(e,t,n){let{hskipBeforeAndAfter:i,addJot:s,cols:o,arraystretch:a,colSeparationType:l,autoTag:u,singleRow:c,emptySingleRow:h,maxNumCols:p,leqno:m}=t;if(e.gullet.beginGroup(),c||e.gullet.macros.set("\\cr","\\\\\\relax"),!a){const t=e.gullet.expandMacroAsText("\\arraystretch");if(null==t)a=1;else if(a=parseFloat(t),!a||a<0)throw new r("Invalid \\arraystretch: "+t)}e.gullet.beginGroup();let d=[];const f=[d],g=[],b=[],y=null!=u?[]:void 0;function x(){u&&e.gullet.macros.set("\\@eqnsw","1",!0)}function w(){y&&(e.gullet.macros.get("\\df@tag")?(y.push(e.subparse([new Tn("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):y.push(Boolean(u)&&"1"===e.gullet.macros.get("\\@eqnsw")))}for(x(),b.push(_n(e));;){let t=e.parseExpression(!1,c?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),t={type:"ordgroup",mode:e.mode,body:t},n&&(t={type:"styling",mode:e.mode,style:n,body:[t]}),d.push(t);const i=e.fetch().text;if("&"===i){if(p&&d.length===p){if(c||l)throw new r("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else{if("\\end"===i){w(),1===d.length&&"styling"===t.type&&0===t.body[0].body.length&&(f.length>1||!h)&&f.pop(),b.length<f.length+1&&b.push([]);break}if("\\\\"!==i)throw new r("Expected & or \\\\ or \\cr or \\end",e.nextToken);{let t;e.consume()," "!==e.gullet.future().text&&(t=e.parseSizeGroup(!0)),g.push(t?t.value:null),w(),b.push(_n(e)),d=[],f.push(d),x()}}}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:s,arraystretch:a,body:f,cols:o,rowGaps:g,hskipBeforeAndAfter:i,hLinesBeforeRow:b,colSeparationType:l,tags:y,leqno:m}}function qn(e){return"d"===e.slice(0,1)?"display":"text"}const Rn=function(e,t){let n,i;const s=e.body.length,o=e.hLinesBeforeRow;let a=0,u=new Array(s);const c=[],h=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),p=1/t.fontMetrics().ptPerEm;let m=5*p;e.colSeparationType&&"small"===e.colSeparationType&&(m=t.havingStyle(w.SCRIPT).sizeMultiplier/t.sizeMultiplier*.2778);const d="CD"===e.colSeparationType?L({number:3,unit:"ex"},t):12*p,f=3*p,g=e.arraystretch*d,b=.7*g,y=.3*g;let x=0;function v(e){for(let t=0;t<e.length;++t)t>0&&(x+=.25),c.push({pos:x,isDashed:e[t]})}for(v(o[0]),n=0;n<e.body.length;++n){const r=e.body[n];let s=b,l=y;a<r.length&&(a=r.length);const c=new Array(r.length);for(i=0;i<r.length;++i){const e=ct(r[i],t);l<e.depth&&(l=e.depth),s<e.height&&(s=e.height),c[i]=e}const h=e.rowGaps[n];let p=0;h&&(p=L(h,t),p>0&&(p+=y,l<p&&(l=p),p=0)),e.addJot&&(l+=f),c.height=s,c.depth=l,x+=s,c.pos=x,x+=l+p,u[n]=c,v(o[n+1])}const D=x/2+t.fontMetrics().axisHeight,k=e.cols||[],A=[];let S,C;const M=[];if(e.tags&&e.tags.some((e=>e)))for(n=0;n<s;++n){const r=u[n],i=r.pos-D,s=e.tags[n];let o;o=!0===s?Le.makeSpan(["eqn-num"],[],t):!1===s?Le.makeSpan([],[],t):Le.makeSpan([],it(s,t,!0),t),o.depth=r.depth,o.height=r.height,M.push({type:"elem",elem:o,shift:i})}for(i=0,C=0;i<a||C<k.length;++i,++C){let o,c=k[C]||{},p=!0;for(;"separator"===c.type;){if(p||(S=Le.makeSpan(["arraycolsep"],[]),S.style.width=H(t.fontMetrics().doubleRuleSep),A.push(S)),"|"!==c.separator&&":"!==c.separator)throw new r("Invalid separator type: "+c.separator);{const e="|"===c.separator?"solid":"dashed",n=Le.makeSpan(["vertical-separator"],[],t);n.style.height=H(x),n.style.borderRightWidth=H(h),n.style.borderRightStyle=e,n.style.margin="0 "+H(-h/2);const r=x-D;r&&(n.style.verticalAlign=H(-r)),A.push(n)}C++,c=k[C]||{},p=!1}if(i>=a)continue;(i>0||e.hskipBeforeAndAfter)&&(o=l.deflt(c.pregap,m),0!==o&&(S=Le.makeSpan(["arraycolsep"],[]),S.style.width=H(o),A.push(S)));let d=[];for(n=0;n<s;++n){const e=u[n],t=e[i];if(!t)continue;const r=e.pos-D;t.depth=e.depth,t.height=e.height,d.push({type:"elem",elem:t,shift:r})}d=Le.makeVList({positionType:"individualShift",children:d},t),d=Le.makeSpan(["col-align-"+(c.align||"c")],[d]),A.push(d),(i<a-1||e.hskipBeforeAndAfter)&&(o=l.deflt(c.postgap,m),0!==o&&(S=Le.makeSpan(["arraycolsep"],[]),S.style.width=H(o),A.push(S)))}if(u=Le.makeSpan(["mtable"],A),c.length>0){const e=Le.makeLineSpan("hline",t,h),n=Le.makeLineSpan("hdashline",t,h),r=[{type:"elem",elem:u,shift:0}];for(;c.length>0;){const t=c.pop(),i=t.pos-D;t.isDashed?r.push({type:"elem",elem:n,shift:i}):r.push({type:"elem",elem:e,shift:i})}u=Le.makeVList({positionType:"individualShift",children:r},t)}if(0===M.length)return Le.makeSpan(["mord"],[u],t);{let e=Le.makeVList({positionType:"individualShift",children:M},t);return e=Le.makeSpan(["tag"],[e],t),Le.makeFragment([u,e])}},jn={c:"center ",l:"left ",r:"right "},Ln=function(e,t){const n=[],r=new gt.MathNode("mtd",[],["mtr-glue"]),i=new gt.MathNode("mtd",[],["mml-eqn-num"]);for(let h=0;h<e.body.length;h++){const s=e.body[h],o=[];for(let e=0;e<s.length;e++)o.push(new gt.MathNode("mtd",[kt(s[e],t)]));e.tags&&e.tags[h]&&(o.unshift(r),o.push(r),e.leqno?o.unshift(i):o.push(i)),n.push(new gt.MathNode("mtr",o))}let s=new gt.MathNode("mtable",n);const o=.5===e.arraystretch?.1:.16+e.arraystretch-1+(e.addJot?.09:0);s.setAttribute("rowspacing",H(o));let a="",l="";if(e.cols&&e.cols.length>0){const t=e.cols;let n="",r=!1,i=0,o=t.length;"separator"===t[0].type&&(a+="top ",i=1),"separator"===t[t.length-1].type&&(a+="bottom ",o-=1);for(let e=i;e<o;e++)"align"===t[e].type?(l+=jn[t[e].align],r&&(n+="none "),r=!0):"separator"===t[e].type&&r&&(n+="|"===t[e].separator?"solid ":"dashed ",r=!1);s.setAttribute("columnalign",l.trim()),/[sd]/.test(n)&&s.setAttribute("columnlines",n.trim())}if("align"===e.colSeparationType){const t=e.cols||[];let n="";for(let e=1;e<t.length;e++)n+=e%2?"0em ":"1em ";s.setAttribute("columnspacing",n.trim())}else"alignat"===e.colSeparationType||"gather"===e.colSeparationType?s.setAttribute("columnspacing","0em"):"small"===e.colSeparationType?s.setAttribute("columnspacing","0.2778em"):"CD"===e.colSeparationType?s.setAttribute("columnspacing","0.5em"):s.setAttribute("columnspacing","1em");let u="";const c=e.hLinesBeforeRow;a+=c[0].length>0?"left ":"",a+=c[c.length-1].length>0?"right ":"";for(let h=1;h<c.length-1;h++)u+=0===c[h].length?"none ":c[h][0]?"dashed ":"solid ";return/[sd]/.test(u)&&s.setAttribute("rowlines",u.trim()),""!==a&&(s=new gt.MathNode("menclose",[s]),s.setAttribute("notation",a.trim())),e.arraystretch&&e.arraystretch<1&&(s=new gt.MathNode("mstyle",[s]),s.setAttribute("scriptlevel","1")),s},Hn=function(e,t){-1===e.envName.indexOf("ed")&&Nn(e);const n=[],i=e.envName.indexOf("at")>-1?"alignat":"align",s="split"===e.envName,o=In(e.parser,{cols:n,addJot:!0,autoTag:s?void 0:On(e.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:s?2:void 0,leqno:e.parser.settings.leqno},"display");let a,l=0;const u={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){let e="";for(let n=0;n<t[0].body.length;n++)e+=Tt(t[0].body[n],"textord").text;a=Number(e),l=2*a}const c=!l;o.body.forEach((function(e){for(let t=1;t<e.length;t+=2){const n=Tt(e[t],"styling");Tt(n.body[0],"ordgroup").body.unshift(u)}if(c)l<e.length&&(l=e.length);else{const t=e.length/2;if(a<t)throw new r("Too many math in a row: expected "+a+", but got "+t,e[0])}}));for(let r=0;r<l;++r){let e="r",t=0;r%2===1?e="l":r>0&&c&&(t=1),n[r]={type:"align",align:e,pregap:t,postgap:0}}return o.colSeparationType=c?"align":"alignat",o};zn({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){const n=(Nt(t[0])?[t[0]]:Tt(t[0],"ordgroup").body).map((function(e){const t=_t(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 r("Unknown column alignment: "+t,e)})),i={cols:n,hskipBeforeAndAfter:!0,maxNumCols:n.length};return In(e.parser,i,qn(e.envName))},htmlBuilder:Rn,mathmlBuilder:Ln}),zn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){const t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")];let n="c";const i={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if("*"===e.envName.charAt(e.envName.length-1)){const t=e.parser;if(t.consumeSpaces(),"["===t.fetch().text){if(t.consume(),t.consumeSpaces(),n=t.fetch().text,-1==="lcr".indexOf(n))throw new r("Expected l or c or r",t.nextToken);t.consume(),t.consumeSpaces(),t.expect("]"),t.consume(),i.cols=[{type:"align",align:n}]}}const s=In(e.parser,i,qn(e.envName)),o=Math.max(0,...s.body.map((e=>e.length)));return s.cols=new Array(o).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[s],left:t[0],right:t[1],rightColor:void 0}:s},htmlBuilder:Rn,mathmlBuilder:Ln}),zn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){const t=In(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:Rn,mathmlBuilder:Ln}),zn({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){const n=(Nt(t[0])?[t[0]]:Tt(t[0],"ordgroup").body).map((function(e){const t=_t(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new r("Unknown column alignment: "+t,e)}));if(n.length>1)throw new r("{subarray} can contain only one column");let i={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5};if(i=In(e.parser,i,"script"),i.body.length>0&&i.body[0].length>1)throw new r("{subarray} can contain only one column");return i},htmlBuilder:Rn,mathmlBuilder:Ln}),zn({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){const t=In(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},qn(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:Rn,mathmlBuilder:Ln}),zn({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Hn,htmlBuilder:Rn,mathmlBuilder:Ln}),zn({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){l.contains(["gather","gather*"],e.envName)&&Nn(e);const t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:On(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return In(e.parser,t,"display")},htmlBuilder:Rn,mathmlBuilder:Ln}),zn({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Hn,htmlBuilder:Rn,mathmlBuilder:Ln}),zn({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Nn(e);const t={autoTag:On(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return In(e.parser,t,"display")},htmlBuilder:Rn,mathmlBuilder:Ln}),zn({type:"array",names:["CD"],props:{numArgs:0},handler:e=>(Nn(e),function(e){const 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();const n=e.fetch().text;if("&"!==n&&"\\\\"!==n){if("\\end"===n){0===t[t.length-1].length&&t.pop();break}throw new r("Expected \\\\ or \\cr or \\end",e.nextToken)}e.consume()}let n=[];const i=[n];for(let a=0;a<t.length;a++){const l=t[a];let u={type:"styling",body:[],mode:"math",style:"display"};for(let t=0;t<l.length;t++)if($t(l[t])){n.push(u),t+=1;const i=_t(l[t]).text,a=new Array(2);if(a[0]={type:"ordgroup",mode:"math",body:[]},a[1]={type:"ordgroup",mode:"math",body:[]},"=|.".indexOf(i)>-1);else{if(!("<>AV".indexOf(i)>-1))throw new r('Expected one of "<>AV=|." after @',l[t]);for(let e=0;e<2;e++){let n=!0;for(let u=t+1;u<l.length;u++){if(o=i,("mathord"===(s=l[u]).type||"atom"===s.type)&&s.text===o){n=!1,t=u;break}if($t(l[u]))throw new r("Missing a "+i+" character to complete a CD arrow.",l[u]);a[e].body.push(l[u])}if(n)throw new r("Missing a "+i+" character to complete a CD arrow.",l[t])}}const c={type:"styling",body:[Gt(i,a,e)],mode:"math",style:"display"};n.push(c),u={type:"styling",body:[],mode:"math",style:"display"}}else u.body.push(l[t]);a%2===0?n.push(u):n.shift(),n=[],i.push(n)}var s,o;return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:new Array(i[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25}),colSeparationType:"CD",hLinesBeforeRow:new Array(i.length+1).fill([])}}(e.parser)),htmlBuilder:Rn,mathmlBuilder:Ln}),Fn("\\nonumber","\\gdef\\@eqnsw{0}"),Fn("\\notag","\\nonumber"),Ye({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new r(e.funcName+" valid only within array environment")}});var Pn=Mn;Ye({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){let{parser:n,funcName:i}=e;const s=t[0];if("ordgroup"!==s.type)throw new r("Invalid environment name",s);let o="";for(let r=0;r<s.body.length;++r)o+=Tt(s.body[r],"textord").text;if("\\begin"===i){if(!Pn.hasOwnProperty(o))throw new r("No such environment: "+o,s);const e=Pn[o],{args:t,optArgs:i}=n.parseArguments("\\begin{"+o+"}",e),a={mode:n.mode,envName:o,parser:n},l=e.handler(a,t,i);n.expect("\\end",!1);const u=n.nextToken,c=Tt(n.parseFunction(),"environment");if(c.name!==o)throw new r("Mismatch: \\begin{"+o+"} matched by \\end{"+c.name+"}",u);return l}return{type:"environment",mode:n.mode,name:o,nameGroup:s}}});const Vn=(e,t)=>{const n=e.font,r=t.withFont(n);return ct(e.body,r)},$n=(e,t)=>{const n=e.font,r=t.withFont(n);return kt(e.body,r)},Gn={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Ye({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)=>{let{parser:n,funcName:r}=e;const i=Ke(t[0]);let s=r;return s in Gn&&(s=Gn[s]),{type:"font",mode:n.mode,font:s.slice(1),body:i}},htmlBuilder:Vn,mathmlBuilder:$n}),Ye({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{let{parser:n}=e;const r=t[0],i=l.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:Pt(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:i}}}),Ye({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{let{parser:n,funcName:r,breakOnTokenText:i}=e;const{mode:s}=n,o=n.parseExpression(!0,i);return{type:"font",mode:s,font:"math"+r.slice(1),body:{type:"ordgroup",mode:n.mode,body:o}}},htmlBuilder:Vn,mathmlBuilder:$n});const Un=(e,t)=>{let n=t;return"display"===e?n=n.id>=w.SCRIPT.id?n.text():w.DISPLAY:"text"===e&&n.size===w.DISPLAY.size?n=w.TEXT:"script"===e?n=w.SCRIPT:"scriptscript"===e&&(n=w.SCRIPTSCRIPT),n},Xn=(e,t)=>{const n=Un(e.size,t.style),r=n.fracNum(),i=n.fracDen();let s;s=t.havingStyle(r);const o=ct(e.numer,s,t);if(e.continued){const e=8.5/t.fontMetrics().ptPerEm,n=3.5/t.fontMetrics().ptPerEm;o.height=o.height<e?e:o.height,o.depth=o.depth<n?n:o.depth}s=t.havingStyle(i);const a=ct(e.denom,s,t);let l,u,c,h,p,m,d,f,g,b;if(e.hasBarLine?(e.barSize?(u=L(e.barSize,t),l=Le.makeLineSpan("frac-line",t,u)):l=Le.makeLineSpan("frac-line",t),u=l.height,c=l.height):(l=null,u=0,c=t.fontMetrics().defaultRuleThickness),n.size===w.DISPLAY.size||"display"===e.size?(h=t.fontMetrics().num1,p=u>0?3*c:7*c,m=t.fontMetrics().denom1):(u>0?(h=t.fontMetrics().num2,p=c):(h=t.fontMetrics().num3,p=3*c),m=t.fontMetrics().denom2),l){const e=t.fontMetrics().axisHeight;h-o.depth-(e+.5*u)<p&&(h+=p-(h-o.depth-(e+.5*u))),e-.5*u-(a.height-m)<p&&(m+=p-(e-.5*u-(a.height-m)));const n=-(e-.5*u);d=Le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:m},{type:"elem",elem:l,shift:n},{type:"elem",elem:o,shift:-h}]},t)}else{const e=h-o.depth-(a.height-m);e<p&&(h+=.5*(p-e),m+=.5*(p-e)),d=Le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:m},{type:"elem",elem:o,shift:-h}]},t)}return s=t.havingStyle(n),d.height*=s.sizeMultiplier/t.sizeMultiplier,d.depth*=s.sizeMultiplier/t.sizeMultiplier,f=n.size===w.DISPLAY.size?t.fontMetrics().delim1:n.size===w.SCRIPTSCRIPT.size?t.havingStyle(w.SCRIPT).fontMetrics().delim2:t.fontMetrics().delim2,g=null==e.leftDelim?ut(t,["mopen"]):wn.customSizedDelim(e.leftDelim,f,!0,t.havingStyle(n),e.mode,["mopen"]),b=e.continued?Le.makeSpan([]):null==e.rightDelim?ut(t,["mclose"]):wn.customSizedDelim(e.rightDelim,f,!0,t.havingStyle(n),e.mode,["mclose"]),Le.makeSpan(["mord"].concat(s.sizingClasses(t)),[g,Le.makeSpan(["mfrac"],[d]),b],t)},Wn=(e,t)=>{let n=new gt.MathNode("mfrac",[kt(e.numer,t),kt(e.denom,t)]);if(e.hasBarLine){if(e.barSize){const r=L(e.barSize,t);n.setAttribute("linethickness",H(r))}}else n.setAttribute("linethickness","0px");const r=Un(e.size,t.style);if(r.size!==t.style.size){n=new gt.MathNode("mstyle",[n]);const e=r.size===w.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",e),n.setAttribute("scriptlevel","0")}if(null!=e.leftDelim||null!=e.rightDelim){const t=[];if(null!=e.leftDelim){const n=new gt.MathNode("mo",[new gt.TextNode(e.leftDelim.replace("\\",""))]);n.setAttribute("fence","true"),t.push(n)}if(t.push(n),null!=e.rightDelim){const n=new gt.MathNode("mo",[new gt.TextNode(e.rightDelim.replace("\\",""))]);n.setAttribute("fence","true"),t.push(n)}return yt(t)}return n};Ye({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=t[0],s=t[1];let o,a=null,l=null,u="auto";switch(r){case"\\dfrac":case"\\frac":case"\\tfrac":o=!0;break;case"\\\\atopfrac":o=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":o=!1,a="(",l=")";break;case"\\\\bracefrac":o=!1,a="\\{",l="\\}";break;case"\\\\brackfrac":o=!1,a="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(r){case"\\dfrac":case"\\dbinom":u="display";break;case"\\tfrac":case"\\tbinom":u="text"}return{type:"genfrac",mode:n.mode,continued:!1,numer:i,denom:s,hasBarLine:o,leftDelim:a,rightDelim:l,size:u,barSize:null}},htmlBuilder:Xn,mathmlBuilder:Wn}),Ye({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=t[0],s=t[1];return{type:"genfrac",mode:n.mode,continued:!0,numer:i,denom:s,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),Ye({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){let t,{parser:n,funcName:r,token:i}=e;switch(r){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:n.mode,replaceWith:t,token:i}}});const Yn=["display","text","script","scriptscript"],Zn=function(e){let t=null;return e.length>0&&(t=e,t="."===t?null:t),t};Ye({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){let{parser:n}=e;const r=t[4],i=t[5],s=Ke(t[0]),o="atom"===s.type&&"open"===s.family?Zn(s.text):null,a=Ke(t[1]),l="atom"===a.type&&"close"===a.family?Zn(a.text):null,u=Tt(t[2],"size");let c,h=null;u.isBlank?c=!0:(h=u.value,c=h.number>0);let p="auto",m=t[3];if("ordgroup"===m.type){if(m.body.length>0){const e=Tt(m.body[0],"textord");p=Yn[Number(e.text)]}}else m=Tt(m,"textord"),p=Yn[Number(m.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:i,continued:!1,hasBarLine:c,barSize:h,leftDelim:o,rightDelim:l,size:p}},htmlBuilder:Xn,mathmlBuilder:Wn}),Ye({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){let{parser:n,funcName:r,token:i}=e;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:Tt(t[0],"size").value,token:i}}}),Ye({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=t[0],s=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e}(Tt(t[1],"infix").size),o=t[2],a=s.number>0;return{type:"genfrac",mode:n.mode,numer:i,denom:o,continued:!1,hasBarLine:a,barSize:s,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Xn,mathmlBuilder:Wn});const Kn=(e,t)=>{const n=t.style;let r,i;"supsub"===e.type?(r=e.sup?ct(e.sup,t.havingStyle(n.sup()),t):ct(e.sub,t.havingStyle(n.sub()),t),i=Tt(e.base,"horizBrace")):i=Tt(e,"horizBrace");const s=ct(i.base,t.havingBaseStyle(w.DISPLAY)),o=Bt(i,t);let a;if(i.isOver?(a=Le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:o}]},t),a.children[0].children[0].children[1].classes.push("svg-align")):(a=Le.makeVList({positionType:"bottom",positionData:s.depth+.1+o.height,children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:s}]},t),a.children[0].children[0].children[0].classes.push("svg-align")),r){const e=Le.makeSpan(["mord",i.isOver?"mover":"munder"],[a],t);a=i.isOver?Le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:e},{type:"kern",size:.2},{type:"elem",elem:r}]},t):Le.makeVList({positionType:"bottom",positionData:e.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:e}]},t)}return Le.makeSpan(["mord",i.isOver?"mover":"munder"],[a],t)};Ye({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){let{parser:n,funcName:r}=e;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:t[0]}},htmlBuilder:Kn,mathmlBuilder:(e,t)=>{const n=Ft(e.label);return new gt.MathNode(e.isOver?"mover":"munder",[kt(e.base,t),n])}}),Ye({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const r=t[1],i=Tt(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:n.mode,href:i,body:Qe(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{const n=it(e.body,t,!1);return Le.makeAnchor(e.href,[],n,t)},mathmlBuilder:(e,t)=>{let n=Dt(e.body,t);return n instanceof dt||(n=new dt("mrow",[n])),n.setAttribute("href",e.href),n}}),Ye({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const r=Tt(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");const i=[];for(let o=0;o<r.length;o++){let e=r[o];"~"===e&&(e="\\textasciitilde"),i.push({type:"textord",mode:"text",text:e})}const s={type:"text",mode:n.mode,font:"\\texttt",body:i};return{type:"href",mode:n.mode,href:r,body:Qe(s)}}}),Ye({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){let{parser:n}=e;return{type:"hbox",mode:n.mode,body:Qe(t[0])}},htmlBuilder(e,t){const n=it(e.body,t,!1);return Le.makeFragment(n)},mathmlBuilder:(e,t)=>new gt.MathNode("mrow",vt(e.body,t))}),Ye({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{let{parser:n,funcName:i,token:s}=e;const o=Tt(t[0],"raw").string,a=t[1];let l;n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");const u={};switch(i){case"\\htmlClass":u.class=o,l={command:"\\htmlClass",class:o};break;case"\\htmlId":u.id=o,l={command:"\\htmlId",id:o};break;case"\\htmlStyle":u.style=o,l={command:"\\htmlStyle",style:o};break;case"\\htmlData":{const e=o.split(",");for(let t=0;t<e.length;t++){const n=e[t].split("=");if(2!==n.length)throw new r("Error parsing key-value for \\htmlData");u["data-"+n[0].trim()]=n[1].trim()}l={command:"\\htmlData",attributes:u};break}default:throw new Error("Unrecognized html command")}return n.settings.isTrusted(l)?{type:"html",mode:n.mode,attributes:u,body:Qe(a)}:n.formatUnsupportedCmd(i)},htmlBuilder:(e,t)=>{const n=it(e.body,t,!1),r=["enclosing"];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));const i=Le.makeSpan(r,n,t);for(const s in e.attributes)"class"!==s&&e.attributes.hasOwnProperty(s)&&i.setAttribute(s,e.attributes[s]);return i},mathmlBuilder:(e,t)=>Dt(e.body,t)}),Ye({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:Qe(t[0]),mathml:Qe(t[1])}},htmlBuilder:(e,t)=>{const n=it(e.html,t,!1);return Le.makeFragment(n)},mathmlBuilder:(e,t)=>Dt(e.mathml,t)});const Qn=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};{const t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new r("Invalid size: '"+e+"' in \\includegraphics");const n={number:+(t[1]+t[2]),unit:t[3]};if(!j(n))throw new r("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n}};Ye({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,n)=>{let{parser:i}=e,s={number:0,unit:"em"},o={number:.9,unit:"em"},a={number:0,unit:"em"},l="";if(n[0]){const e=Tt(n[0],"raw").string.split(",");for(let t=0;t<e.length;t++){const n=e[t].split("=");if(2===n.length){const e=n[1].trim();switch(n[0].trim()){case"alt":l=e;break;case"width":s=Qn(e);break;case"height":o=Qn(e);break;case"totalheight":a=Qn(e);break;default:throw new r("Invalid key: '"+n[0]+"' in \\includegraphics.")}}}}const u=Tt(t[0],"url").url;return""===l&&(l=u,l=l.replace(/^.*[\\/]/,""),l=l.substring(0,l.lastIndexOf("."))),i.settings.isTrusted({command:"\\includegraphics",url:u})?{type:"includegraphics",mode:i.mode,alt:l,width:s,height:o,totalheight:a,src:u}:i.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{const n=L(e.height,t);let r=0;e.totalheight.number>0&&(r=L(e.totalheight,t)-n);let i=0;e.width.number>0&&(i=L(e.width,t));const s={height:H(n+r)};i>0&&(s.width=H(i)),r>0&&(s.verticalAlign=H(-r));const o=new Y(e.src,e.alt,s);return o.height=n,o.depth=r,o},mathmlBuilder:(e,t)=>{const n=new gt.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);const r=L(e.height,t);let i=0;if(e.totalheight.number>0&&(i=L(e.totalheight,t)-r,n.setAttribute("valign",H(-i))),n.setAttribute("height",H(r+i)),e.width.number>0){const r=L(e.width,t);n.setAttribute("width",H(r))}return n.setAttribute("src",e.src),n}}),Ye({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){let{parser:n,funcName:r}=e;const i=Tt(t[0],"size");if(n.settings.strict){const e="m"===r[1],t="mu"===i.value.unit;e?(t||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, not "+i.value.unit+" units"),"math"!==n.mode&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):t&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:i.value}},htmlBuilder:(e,t)=>Le.makeGlue(e.dimension,t),mathmlBuilder(e,t){const n=L(e.dimension,t);return new gt.SpaceNode(n)}}),Ye({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:i}},htmlBuilder:(e,t)=>{let n;"clap"===e.alignment?(n=Le.makeSpan([],[ct(e.body,t)]),n=Le.makeSpan(["inner"],[n],t)):n=Le.makeSpan(["inner"],[ct(e.body,t)]);const r=Le.makeSpan(["fix"],[]);let i=Le.makeSpan([e.alignment],[n,r],t);const s=Le.makeSpan(["strut"]);return s.style.height=H(i.height+i.depth),i.depth&&(s.style.verticalAlign=H(-i.depth)),i.children.unshift(s),i=Le.makeSpan(["thinbox"],[i],t),Le.makeSpan(["mord","vbox"],[i],t)},mathmlBuilder:(e,t)=>{const n=new gt.MathNode("mpadded",[kt(e.body,t)]);if("rlap"!==e.alignment){const t="llap"===e.alignment?"-1":"-0.5";n.setAttribute("lspace",t+"width")}return n.setAttribute("width","0px"),n}}),Ye({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){let{funcName:n,parser:r}=e;const i=r.mode;r.switchMode("math");const s="\\("===n?"\\)":"$",o=r.parseExpression(!1,s);return r.expect(s),r.switchMode(i),{type:"styling",mode:r.mode,style:"text",body:o}}}),Ye({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new r("Mismatched "+e.funcName)}});const Jn=(e,t)=>{switch(t.style.size){case w.DISPLAY.size:return e.display;case w.TEXT.size:return e.text;case w.SCRIPT.size:return e.script;case w.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Ye({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{let{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:Qe(t[0]),text:Qe(t[1]),script:Qe(t[2]),scriptscript:Qe(t[3])}},htmlBuilder:(e,t)=>{const n=Jn(e,t),r=it(n,t,!1);return Le.makeFragment(r)},mathmlBuilder:(e,t)=>{const n=Jn(e,t);return Dt(n,t)}});const er=(e,t,n,r,i,s,o)=>{e=Le.makeSpan([],[e]);const a=n&&l.isCharacterBox(n);let u,c,h;if(t){const e=ct(t,r.havingStyle(i.sup()),r);c={elem:e,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-e.depth)}}if(n){const e=ct(n,r.havingStyle(i.sub()),r);u={elem:e,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-e.height)}}if(c&&u){const t=r.fontMetrics().bigOpSpacing5+u.elem.height+u.elem.depth+u.kern+e.depth+o;h=Le.makeVList({positionType:"bottom",positionData:t,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:H(-s)},{type:"kern",size:u.kern},{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:H(s)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(u){const t=e.height-o;h=Le.makeVList({positionType:"top",positionData:t,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:H(-s)},{type:"kern",size:u.kern},{type:"elem",elem:e}]},r)}else{if(!c)return e;{const t=e.depth+o;h=Le.makeVList({positionType:"bottom",positionData:t,children:[{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:H(s)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}}const p=[h];if(u&&0!==s&&!a){const e=Le.makeSpan(["mspace"],[],r);e.style.marginRight=H(s),p.unshift(e)}return Le.makeSpan(["mop","op-limits"],p,r)},tr=["\\smallint"],nr=(e,t)=>{let n,r,i,s=!1;"supsub"===e.type?(n=e.sup,r=e.sub,i=Tt(e.base,"op"),s=!0):i=Tt(e,"op");const o=t.style;let a,u=!1;if(o.size===w.DISPLAY.size&&i.symbol&&!l.contains(tr,i.name)&&(u=!0),i.symbol){const e=u?"Size2-Regular":"Size1-Regular";let n="";if("\\oiint"!==i.name&&"\\oiiint"!==i.name||(n=i.name.slice(1),i.name="oiint"===n?"\\iint":"\\iiint"),a=Le.makeSymbol(i.name,e,"math",t,["mop","op-symbol",u?"large-op":"small-op"]),n.length>0){const e=a.italic,r=Le.staticSvg(n+"Size"+(u?"2":"1"),t);a=Le.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:0},{type:"elem",elem:r,shift:u?.08:0}]},t),i.name="\\"+n,a.classes.unshift("mop"),a.italic=e}}else if(i.body){const e=it(i.body,t,!0);1===e.length&&e[0]instanceof K?(a=e[0],a.classes[0]="mop"):a=Le.makeSpan(["mop"],e,t)}else{const e=[];for(let n=1;n<i.name.length;n++)e.push(Le.mathsym(i.name[n],i.mode,t));a=Le.makeSpan(["mop"],e,t)}let c=0,h=0;return(a instanceof K||"\\oiint"===i.name||"\\oiiint"===i.name)&&!i.suppressBaseShift&&(c=(a.height-a.depth)/2-t.fontMetrics().axisHeight,h=a.italic),s?er(a,n,r,t,o,h,c):(c&&(a.style.position="relative",a.style.top=H(c)),a)},rr=(e,t)=>{let n;if(e.symbol)n=new dt("mo",[bt(e.name,e.mode)]),l.contains(tr,e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new dt("mo",vt(e.body,t));else{n=new dt("mi",[new ft(e.name.slice(1))]);const t=new dt("mo",[bt("\u2061","text")]);n=e.parentIsSupSub?new dt("mrow",[n,t]):mt([n,t])}return n},ir={"\u220f":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22c0":"\\bigwedge","\u22c1":"\\bigvee","\u22c2":"\\bigcap","\u22c3":"\\bigcup","\u2a00":"\\bigodot","\u2a01":"\\bigoplus","\u2a02":"\\bigotimes","\u2a04":"\\biguplus","\u2a06":"\\bigsqcup"};Ye({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220f","\u2210","\u2211","\u22c0","\u22c1","\u22c2","\u22c3","\u2a00","\u2a01","\u2a02","\u2a04","\u2a06"],props:{numArgs:0},handler:(e,t)=>{let{parser:n,funcName:r}=e,i=r;return 1===i.length&&(i=ir[i]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:nr,mathmlBuilder:rr}),Ye({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{let{parser:n}=e;const r=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Qe(r)}},htmlBuilder:nr,mathmlBuilder:rr});const sr={"\u222b":"\\int","\u222c":"\\iint","\u222d":"\\iiint","\u222e":"\\oint","\u222f":"\\oiint","\u2230":"\\oiiint"};Ye({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){let{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:nr,mathmlBuilder:rr}),Ye({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){let{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:nr,mathmlBuilder:rr}),Ye({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222b","\u222c","\u222d","\u222e","\u222f","\u2230"],props:{numArgs:0},handler(e){let{parser:t,funcName:n}=e,r=n;return 1===r.length&&(r=sr[r]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:nr,mathmlBuilder:rr});const or=(e,t)=>{let n,r,i,s,o=!1;if("supsub"===e.type?(n=e.sup,r=e.sub,i=Tt(e.base,"operatorname"),o=!0):i=Tt(e,"operatorname"),i.body.length>0){const e=i.body.map((e=>{const t=e.text;return"string"===typeof t?{type:"textord",mode:e.mode,text:t}:e})),n=it(e,t.withFont("mathrm"),!0);for(let t=0;t<n.length;t++){const e=n[t];e instanceof K&&(e.text=e.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}s=Le.makeSpan(["mop"],n,t)}else s=Le.makeSpan(["mop"],[],t);return o?er(s,n,r,t,t.style,0,0):s};function ar(e,t,n){const r=it(e,t,!1),i=t.sizeMultiplier/n.sizeMultiplier;for(let s=0;s<r.length;s++){const e=r[s].classes.indexOf("sizing");e<0?Array.prototype.push.apply(r[s].classes,t.sizingClasses(n)):r[s].classes[e+1]==="reset-size"+t.size&&(r[s].classes[e+1]="reset-size"+n.size),r[s].height*=i,r[s].depth*=i}return Le.makeFragment(r)}Ye({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{let{parser:n,funcName:r}=e;const i=t[0];return{type:"operatorname",mode:n.mode,body:Qe(i),alwaysHandleSupSub:"\\operatornamewithlimits"===r,limits:!1,parentIsSupSub:!1}},htmlBuilder:or,mathmlBuilder:(e,t)=>{let n=vt(e.body,t.withFont("mathrm")),r=!0;for(let o=0;o<n.length;o++){const e=n[o];if(e instanceof gt.SpaceNode);else if(e instanceof gt.MathNode)switch(e.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{const t=e.children[0];1===e.children.length&&t instanceof gt.TextNode?t.text=t.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):r=!1;break}default:r=!1}else r=!1}if(r){const e=n.map((e=>e.toText())).join("");n=[new gt.TextNode(e)]}const i=new gt.MathNode("mi",n);i.setAttribute("mathvariant","normal");const s=new gt.MathNode("mo",[bt("\u2061","text")]);return e.parentIsSupSub?new gt.MathNode("mrow",[i,s]):gt.newDocumentFragment([i,s])}}),Fn("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),Ze({type:"ordgroup",htmlBuilder:(e,t)=>e.semisimple?Le.makeFragment(it(e.body,t,!1)):Le.makeSpan(["mord"],it(e.body,t,!0),t),mathmlBuilder:(e,t)=>Dt(e.body,t,!0)}),Ye({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){let{parser:n}=e;const r=t[0];return{type:"overline",mode:n.mode,body:r}},htmlBuilder(e,t){const n=ct(e.body,t.havingCrampedStyle()),r=Le.makeLineSpan("overline-line",t),i=t.fontMetrics().defaultRuleThickness,s=Le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r},{type:"kern",size:i}]},t);return Le.makeSpan(["mord","overline"],[s],t)},mathmlBuilder(e,t){const n=new gt.MathNode("mo",[new gt.TextNode("\u203e")]);n.setAttribute("stretchy","true");const r=new gt.MathNode("mover",[kt(e.body,t),n]);return r.setAttribute("accent","true"),r}}),Ye({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const r=t[0];return{type:"phantom",mode:n.mode,body:Qe(r)}},htmlBuilder:(e,t)=>{const n=it(e.body,t.withPhantom(),!1);return Le.makeFragment(n)},mathmlBuilder:(e,t)=>{const n=vt(e.body,t);return new gt.MathNode("mphantom",n)}}),Ye({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const r=t[0];return{type:"hphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{let n=Le.makeSpan([],[ct(e.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(let r=0;r<n.children.length;r++)n.children[r].height=0,n.children[r].depth=0;return n=Le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t),Le.makeSpan(["mord"],[n],t)},mathmlBuilder:(e,t)=>{const n=vt(Qe(e.body),t),r=new gt.MathNode("mphantom",n),i=new gt.MathNode("mpadded",[r]);return i.setAttribute("height","0px"),i.setAttribute("depth","0px"),i}}),Ye({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const r=t[0];return{type:"vphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{const n=Le.makeSpan(["inner"],[ct(e.body,t.withPhantom())]),r=Le.makeSpan(["fix"],[]);return Le.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:(e,t)=>{const n=vt(Qe(e.body),t),r=new gt.MathNode("mphantom",n),i=new gt.MathNode("mpadded",[r]);return i.setAttribute("width","0px"),i}}),Ye({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){let{parser:n}=e;const r=Tt(t[0],"size").value,i=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:i}},htmlBuilder(e,t){const n=ct(e.body,t),r=L(e.dy,t);return Le.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){const n=new gt.MathNode("mpadded",[kt(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}}),Ye({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){let{parser:t}=e;return{type:"internal",mode:t.mode}}}),Ye({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,n){let{parser:r}=e;const i=n[0],s=Tt(t[0],"size"),o=Tt(t[1],"size");return{type:"rule",mode:r.mode,shift:i&&Tt(i,"size").value,width:s.value,height:o.value}},htmlBuilder(e,t){const n=Le.makeSpan(["mord","rule"],[],t),r=L(e.width,t),i=L(e.height,t),s=e.shift?L(e.shift,t):0;return n.style.borderRightWidth=H(r),n.style.borderTopWidth=H(i),n.style.bottom=H(s),n.width=r,n.height=i+s,n.depth=-s,n.maxFontSize=1.125*i*t.sizeMultiplier,n},mathmlBuilder(e,t){const n=L(e.width,t),r=L(e.height,t),i=e.shift?L(e.shift,t):0,s=t.color&&t.getColor()||"black",o=new gt.MathNode("mspace");o.setAttribute("mathbackground",s),o.setAttribute("width",H(n)),o.setAttribute("height",H(r));const a=new gt.MathNode("mpadded",[o]);return i>=0?a.setAttribute("height",H(i)):(a.setAttribute("height",H(i)),a.setAttribute("depth",H(-i))),a.setAttribute("voffset",H(i)),a}});const lr=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];Ye({type:"sizing",names:lr,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{let{breakOnTokenText:n,funcName:r,parser:i}=e;const s=i.parseExpression(!1,n);return{type:"sizing",mode:i.mode,size:lr.indexOf(r)+1,body:s}},htmlBuilder:(e,t)=>{const n=t.havingSize(e.size);return ar(e.body,n,t)},mathmlBuilder:(e,t)=>{const n=t.havingSize(e.size),r=vt(e.body,n),i=new gt.MathNode("mstyle",r);return i.setAttribute("mathsize",H(n.sizeMultiplier)),i}}),Ye({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{let{parser:r}=e,i=!1,s=!1;const o=n[0]&&Tt(n[0],"ordgroup");if(o){let e="";for(let t=0;t<o.body.length;++t)if(e=o.body[t].text,"t"===e)i=!0;else{if("b"!==e){i=!1,s=!1;break}s=!0}}else i=!0,s=!0;const a=t[0];return{type:"smash",mode:r.mode,body:a,smashHeight:i,smashDepth:s}},htmlBuilder:(e,t)=>{const n=Le.makeSpan([],[ct(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0,n.children))for(let i=0;i<n.children.length;i++)n.children[i].height=0;if(e.smashDepth&&(n.depth=0,n.children))for(let i=0;i<n.children.length;i++)n.children[i].depth=0;const r=Le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t);return Le.makeSpan(["mord"],[r],t)},mathmlBuilder:(e,t)=>{const n=new gt.MathNode("mpadded",[kt(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}}),Ye({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){let{parser:r}=e;const i=n[0],s=t[0];return{type:"sqrt",mode:r.mode,body:s,index:i}},htmlBuilder(e,t){let n=ct(e.body,t.havingCrampedStyle());0===n.height&&(n.height=t.fontMetrics().xHeight),n=Le.wrapFragment(n,t);const r=t.fontMetrics().defaultRuleThickness;let i=r;t.style.id<w.TEXT.id&&(i=t.fontMetrics().xHeight);let s=r+i/4;const o=n.height+n.depth+s+r,{span:a,ruleWidth:l,advanceWidth:u}=wn.sqrtImage(o,t),c=a.height-l;c>n.height+n.depth+s&&(s=(s+c-n.height-n.depth)/2);const h=a.height-n.height-s-l;n.style.paddingLeft=H(u);const p=Le.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+h)},{type:"elem",elem:a},{type:"kern",size:l}]},t);if(e.index){const n=t.havingStyle(w.SCRIPTSCRIPT),r=ct(e.index,n,t),i=.6*(p.height-p.depth),s=Le.makeVList({positionType:"shift",positionData:-i,children:[{type:"elem",elem:r}]},t),o=Le.makeSpan(["root"],[s]);return Le.makeSpan(["mord","sqrt"],[o,p],t)}return Le.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder(e,t){const{body:n,index:r}=e;return r?new gt.MathNode("mroot",[kt(n,t),kt(r,t)]):new gt.MathNode("msqrt",[kt(n,t)])}});const ur={display:w.DISPLAY,text:w.TEXT,script:w.SCRIPT,scriptscript:w.SCRIPTSCRIPT};Ye({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){let{breakOnTokenText:n,funcName:r,parser:i}=e;const s=i.parseExpression(!0,n),o=r.slice(1,r.length-5);return{type:"styling",mode:i.mode,style:o,body:s}},htmlBuilder(e,t){const n=ur[e.style],r=t.havingStyle(n).withFont("");return ar(e.body,r,t)},mathmlBuilder(e,t){const n=ur[e.style],r=t.havingStyle(n),i=vt(e.body,r),s=new gt.MathNode("mstyle",i),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return s.setAttribute("scriptlevel",o[0]),s.setAttribute("displaystyle",o[1]),s}}),Ze({type:"supsub",htmlBuilder(e,t){const n=function(e,t){const n=e.base;return n?"op"===n.type?n.limits&&(t.style.size===w.DISPLAY.size||n.alwaysHandleSupSub)?nr:null:"operatorname"===n.type?n.alwaysHandleSupSub&&(t.style.size===w.DISPLAY.size||n.limits)?or:null:"accent"===n.type?l.isCharacterBox(n.base)?Ot:null:"horizBrace"===n.type&&!e.sub===n.isOver?Kn:null:null}(e,t);if(n)return n(e,t);const{base:r,sup:i,sub:s}=e,o=ct(r,t);let a,u;const c=t.fontMetrics();let h=0,p=0;const m=r&&l.isCharacterBox(r);if(i){const e=t.havingStyle(t.style.sup());a=ct(i,e,t),m||(h=o.height-e.fontMetrics().supDrop*e.sizeMultiplier/t.sizeMultiplier)}if(s){const e=t.havingStyle(t.style.sub());u=ct(s,e,t),m||(p=o.depth+e.fontMetrics().subDrop*e.sizeMultiplier/t.sizeMultiplier)}let d;d=t.style===w.DISPLAY?c.sup1:t.style.cramped?c.sup3:c.sup2;const f=t.sizeMultiplier,g=H(.5/c.ptPerEm/f);let b,y=null;if(u){const t=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(o instanceof K||t)&&(y=H(-o.italic))}if(a&&u){h=Math.max(h,d,a.depth+.25*c.xHeight),p=Math.max(p,c.sub2);const e=4*c.defaultRuleThickness;if(h-a.depth-(u.height-p)<e){p=e-(h-a.depth)+u.height;const t=.8*c.xHeight-(h-a.depth);t>0&&(h+=t,p-=t)}const n=[{type:"elem",elem:u,shift:p,marginRight:g,marginLeft:y},{type:"elem",elem:a,shift:-h,marginRight:g}];b=Le.makeVList({positionType:"individualShift",children:n},t)}else if(u){p=Math.max(p,c.sub1,u.height-.8*c.xHeight);const e=[{type:"elem",elem:u,marginLeft:y,marginRight:g}];b=Le.makeVList({positionType:"shift",positionData:p,children:e},t)}else{if(!a)throw new Error("supsub must have either sup or sub.");h=Math.max(h,d,a.depth+.25*c.xHeight),b=Le.makeVList({positionType:"shift",positionData:-h,children:[{type:"elem",elem:a,marginRight:g}]},t)}const x=lt(o,"right")||"mord";return Le.makeSpan([x],[o,Le.makeSpan(["msupsub"],[b])],t)},mathmlBuilder(e,t){let n,r,i=!1;e.base&&"horizBrace"===e.base.type&&(r=!!e.sup,r===e.base.isOver&&(i=!0,n=e.base.isOver)),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);const s=[kt(e.base,t)];let o;if(e.sub&&s.push(kt(e.sub,t)),e.sup&&s.push(kt(e.sup,t)),i)o=n?"mover":"munder";else if(e.sub)if(e.sup){const n=e.base;o=n&&"op"===n.type&&n.limits&&t.style===w.DISPLAY||n&&"operatorname"===n.type&&n.alwaysHandleSupSub&&(t.style===w.DISPLAY||n.limits)?"munderover":"msubsup"}else{const n=e.base;o=n&&"op"===n.type&&n.limits&&(t.style===w.DISPLAY||n.alwaysHandleSupSub)||n&&"operatorname"===n.type&&n.alwaysHandleSupSub&&(n.limits||t.style===w.DISPLAY)?"munder":"msub"}else{const n=e.base;o=n&&"op"===n.type&&n.limits&&(t.style===w.DISPLAY||n.alwaysHandleSupSub)||n&&"operatorname"===n.type&&n.alwaysHandleSupSub&&(n.limits||t.style===w.DISPLAY)?"mover":"msup"}return new gt.MathNode(o,s)}}),Ze({type:"atom",htmlBuilder:(e,t)=>Le.mathsym(e.text,e.mode,t,["m"+e.family]),mathmlBuilder(e,t){const n=new gt.MathNode("mo",[bt(e.text,e.mode)]);if("bin"===e.family){const r=xt(e,t);"bold-italic"===r&&n.setAttribute("mathvariant",r)}else"punct"===e.family?n.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||n.setAttribute("stretchy","false");return n}});const cr={mi:"italic",mn:"normal",mtext:"normal"};Ze({type:"mathord",htmlBuilder:(e,t)=>Le.makeOrd(e,t,"mathord"),mathmlBuilder(e,t){const n=new gt.MathNode("mi",[bt(e.text,e.mode,t)]),r=xt(e,t)||"italic";return r!==cr[n.type]&&n.setAttribute("mathvariant",r),n}}),Ze({type:"textord",htmlBuilder:(e,t)=>Le.makeOrd(e,t,"textord"),mathmlBuilder(e,t){const n=bt(e.text,e.mode,t),r=xt(e,t)||"normal";let i;return i="text"===e.mode?new gt.MathNode("mtext",[n]):/[0-9]/.test(e.text)?new gt.MathNode("mn",[n]):"\\prime"===e.text?new gt.MathNode("mo",[n]):new gt.MathNode("mi",[n]),r!==cr[i.type]&&i.setAttribute("mathvariant",r),i}});const hr={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},pr={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Ze({type:"spacing",htmlBuilder(e,t){if(pr.hasOwnProperty(e.text)){const n=pr[e.text].className||"";if("text"===e.mode){const r=Le.makeOrd(e,t,"textord");return r.classes.push(n),r}return Le.makeSpan(["mspace",n],[Le.mathsym(e.text,e.mode,t)],t)}if(hr.hasOwnProperty(e.text))return Le.makeSpan(["mspace",hr[e.text]],[],t);throw new r('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){let n;if(!pr.hasOwnProperty(e.text)){if(hr.hasOwnProperty(e.text))return new gt.MathNode("mspace");throw new r('Unknown type of space "'+e.text+'"')}return n=new gt.MathNode("mtext",[new gt.TextNode("\xa0")]),n}});const mr=()=>{const e=new gt.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};Ze({type:"tag",mathmlBuilder(e,t){const n=new gt.MathNode("mtable",[new gt.MathNode("mtr",[mr(),new gt.MathNode("mtd",[Dt(e.body,t)]),mr(),new gt.MathNode("mtd",[Dt(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});const dr={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},fr={"\\textbf":"textbf","\\textmd":"textmd"},gr={"\\textit":"textit","\\textup":"textup"},br=(e,t)=>{const n=e.font;return n?dr[n]?t.withTextFontFamily(dr[n]):fr[n]?t.withTextFontWeight(fr[n]):"\\emph"===n?"textit"===t.fontShape?t.withTextFontShape("textup"):t.withTextFontShape("textit"):t.withTextFontShape(gr[n]):t};Ye({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){let{parser:n,funcName:r}=e;const i=t[0];return{type:"text",mode:n.mode,body:Qe(i),font:r}},htmlBuilder(e,t){const n=br(e,t),r=it(e.body,n,!0);return Le.makeSpan(["mord","text"],r,n)},mathmlBuilder(e,t){const n=br(e,t);return Dt(e.body,n)}}),Ye({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){let{parser:n}=e;return{type:"underline",mode:n.mode,body:t[0]}},htmlBuilder(e,t){const n=ct(e.body,t),r=Le.makeLineSpan("underline-line",t),i=t.fontMetrics().defaultRuleThickness,s=Le.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:i},{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n}]},t);return Le.makeSpan(["mord","underline"],[s],t)},mathmlBuilder(e,t){const n=new gt.MathNode("mo",[new gt.TextNode("\u203e")]);n.setAttribute("stretchy","true");const r=new gt.MathNode("munder",[kt(e.body,t),n]);return r.setAttribute("accentunder","true"),r}}),Ye({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){let{parser:n}=e;return{type:"vcenter",mode:n.mode,body:t[0]}},htmlBuilder(e,t){const n=ct(e.body,t),r=t.fontMetrics().axisHeight,i=.5*(n.height-r-(n.depth+r));return Le.makeVList({positionType:"shift",positionData:i,children:[{type:"elem",elem:n}]},t)},mathmlBuilder:(e,t)=>new gt.MathNode("mpadded",[kt(e.body,t)],["vcenter"])}),Ye({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new r("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){const n=yr(e),r=[],i=t.havingStyle(t.style.text());for(let s=0;s<n.length;s++){let t=n[s];"~"===t&&(t="\\textasciitilde"),r.push(Le.makeSymbol(t,"Typewriter-Regular",e.mode,i,["mord","texttt"]))}return Le.makeSpan(["mord","text"].concat(i.sizingClasses(t)),Le.tryCombineChars(r),i)},mathmlBuilder(e,t){const n=new gt.TextNode(yr(e)),r=new gt.MathNode("mtext",[n]);return r.setAttribute("mathvariant","monospace"),r}});const yr=e=>e.body.replace(/ /g,e.star?"\u2423":"\xa0");var xr=Ue;const wr="[ \r\n\t]",vr="(\\\\[a-zA-Z@]+)"+wr+"*",Dr="[\u0300-\u036f]",kr=new RegExp(Dr+"+$"),Ar="("+wr+"+)|\\\\(\n|[ \r\t]+\n?)[ \r\t]*|([!-\\[\\]-\u2027\u202a-\ud7ff\uf900-\uffff]"+Dr+"*|[\ud800-\udbff][\udc00-\udfff]"+Dr+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5|"+vr+"|\\\\[^\ud800-\udfff])";class Sr{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(Ar,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){const e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new Tn("EOF",new Bn(this,t,t));const n=this.tokenRegex.exec(e);if(null===n||n.index!==t)throw new r("Unexpected character: '"+e[t]+"'",new Tn(e[t],new Bn(this,t,t+1)));const i=n[6]||n[3]||(n[2]?"\\ ":" ");if(14===this.catcodes[i]){const t=e.indexOf("\n",this.tokenRegex.lastIndex);return-1===t?(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=t+1,this.lex()}return new Tn(i,new Bn(this,t,this.tokenRegex.lastIndex))}}class Cr{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 r("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");const e=this.undefStack.pop();for(const 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,n){if(void 0===n&&(n=!1),n){for(let t=0;t<this.undefStack.length;t++)delete this.undefStack[t][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{const t=this.undefStack[this.undefStack.length-1];t&&!t.hasOwnProperty(e)&&(t[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t}}var Mr=En;Fn("\\noexpand",(function(e){const t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}})),Fn("\\expandafter",(function(e){const t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}})),Fn("\\@firstoftwo",(function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}})),Fn("\\@secondoftwo",(function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}})),Fn("\\@ifnextchar",(function(e){const t=e.consumeArgs(3);e.consumeSpaces();const n=e.future();return 1===t[0].length&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}})),Fn("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Fn("\\TextOrMath",(function(e){const t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}));const zr={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};Fn("\\char",(function(e){let t,n=e.popToken(),i="";if("'"===n.text)t=8,n=e.popToken();else if('"'===n.text)t=16,n=e.popToken();else if("`"===n.text)if(n=e.popToken(),"\\"===n.text[0])i=n.text.charCodeAt(1);else{if("EOF"===n.text)throw new r("\\char` missing argument");i=n.text.charCodeAt(0)}else t=10;if(t){if(i=zr[n.text],null==i||i>=t)throw new r("Invalid base-"+t+" digit "+n.text);let s;for(;null!=(s=zr[e.future().text])&&s<t;)i*=t,i+=s,e.popToken()}return"\\@char{"+i+"}"}));const Er=(e,t,n,i)=>{let s=e.consumeArg().tokens;if(1!==s.length)throw new r("\\newcommand's first argument must be a macro name");const o=s[0].text,a=e.isDefined(o);if(a&&!t)throw new r("\\newcommand{"+o+"} attempting to redefine "+o+"; use \\renewcommand");if(!a&&!n)throw new r("\\renewcommand{"+o+"} when command "+o+" does not yet exist; use \\newcommand");let l=0;if(s=e.consumeArg().tokens,1===s.length&&"["===s[0].text){let t="",n=e.expandNextToken();for(;"]"!==n.text&&"EOF"!==n.text;)t+=n.text,n=e.expandNextToken();if(!t.match(/^\s*[0-9]+\s*$/))throw new r("Invalid number of arguments: "+t);l=parseInt(t),s=e.consumeArg().tokens}return a&&i||e.macros.set(o,{tokens:s,numArgs:l}),""};Fn("\\newcommand",(e=>Er(e,!1,!0,!1))),Fn("\\renewcommand",(e=>Er(e,!0,!1,!1))),Fn("\\providecommand",(e=>Er(e,!0,!0,!0))),Fn("\\message",(e=>{const t=e.consumeArgs(1)[0];return console.log(t.reverse().map((e=>e.text)).join("")),""})),Fn("\\errmessage",(e=>{const t=e.consumeArgs(1)[0];return console.error(t.reverse().map((e=>e.text)).join("")),""})),Fn("\\show",(e=>{const t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),xr[n],se.math[n],se.text[n]),""})),Fn("\\bgroup","{"),Fn("\\egroup","}"),Fn("~","\\nobreakspace"),Fn("\\lq","`"),Fn("\\rq","'"),Fn("\\aa","\\r a"),Fn("\\AA","\\r A"),Fn("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xa9}"),Fn("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Fn("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xae}"),Fn("\u212c","\\mathscr{B}"),Fn("\u2130","\\mathscr{E}"),Fn("\u2131","\\mathscr{F}"),Fn("\u210b","\\mathscr{H}"),Fn("\u2110","\\mathscr{I}"),Fn("\u2112","\\mathscr{L}"),Fn("\u2133","\\mathscr{M}"),Fn("\u211b","\\mathscr{R}"),Fn("\u212d","\\mathfrak{C}"),Fn("\u210c","\\mathfrak{H}"),Fn("\u2128","\\mathfrak{Z}"),Fn("\\Bbbk","\\Bbb{k}"),Fn("\xb7","\\cdotp"),Fn("\\llap","\\mathllap{\\textrm{#1}}"),Fn("\\rlap","\\mathrlap{\\textrm{#1}}"),Fn("\\clap","\\mathclap{\\textrm{#1}}"),Fn("\\mathstrut","\\vphantom{(}"),Fn("\\underbar","\\underline{\\text{#1}}"),Fn("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Fn("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),Fn("\\ne","\\neq"),Fn("\u2260","\\neq"),Fn("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),Fn("\u2209","\\notin"),Fn("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),Fn("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),Fn("\u225a","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225a}}"),Fn("\u225b","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225b}}"),Fn("\u225d","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225d}}"),Fn("\u225e","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225e}}"),Fn("\u225f","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225f}}"),Fn("\u27c2","\\perp"),Fn("\u203c","\\mathclose{!\\mkern-0.8mu!}"),Fn("\u220c","\\notni"),Fn("\u231c","\\ulcorner"),Fn("\u231d","\\urcorner"),Fn("\u231e","\\llcorner"),Fn("\u231f","\\lrcorner"),Fn("\xa9","\\copyright"),Fn("\xae","\\textregistered"),Fn("\ufe0f","\\textregistered"),Fn("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),Fn("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),Fn("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),Fn("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),Fn("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),Fn("\u22ee","\\vdots"),Fn("\\varGamma","\\mathit{\\Gamma}"),Fn("\\varDelta","\\mathit{\\Delta}"),Fn("\\varTheta","\\mathit{\\Theta}"),Fn("\\varLambda","\\mathit{\\Lambda}"),Fn("\\varXi","\\mathit{\\Xi}"),Fn("\\varPi","\\mathit{\\Pi}"),Fn("\\varSigma","\\mathit{\\Sigma}"),Fn("\\varUpsilon","\\mathit{\\Upsilon}"),Fn("\\varPhi","\\mathit{\\Phi}"),Fn("\\varPsi","\\mathit{\\Psi}"),Fn("\\varOmega","\\mathit{\\Omega}"),Fn("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Fn("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),Fn("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Fn("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Fn("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Fn("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),Fn("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),Fn("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");const Fr={",":"\\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"};Fn("\\dots",(function(e){let t="\\dotso";const n=e.expandAfterFuture().text;return n in Fr?t=Fr[n]:("\\not"===n.slice(0,4)||n in se.math&&l.contains(["bin","rel"],se.math[n].group))&&(t="\\dotsb"),t}));const Br={")":!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};Fn("\\dotso",(function(e){return e.future().text in Br?"\\ldots\\,":"\\ldots"})),Fn("\\dotsc",(function(e){const t=e.future().text;return t in Br&&","!==t?"\\ldots\\,":"\\ldots"})),Fn("\\cdots",(function(e){return e.future().text in Br?"\\@cdots\\,":"\\@cdots"})),Fn("\\dotsb","\\cdots"),Fn("\\dotsm","\\cdots"),Fn("\\dotsi","\\!\\cdots"),Fn("\\dotsx","\\ldots\\,"),Fn("\\DOTSI","\\relax"),Fn("\\DOTSB","\\relax"),Fn("\\DOTSX","\\relax"),Fn("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Fn("\\,","\\tmspace+{3mu}{.1667em}"),Fn("\\thinspace","\\,"),Fn("\\>","\\mskip{4mu}"),Fn("\\:","\\tmspace+{4mu}{.2222em}"),Fn("\\medspace","\\:"),Fn("\\;","\\tmspace+{5mu}{.2777em}"),Fn("\\thickspace","\\;"),Fn("\\!","\\tmspace-{3mu}{.1667em}"),Fn("\\negthinspace","\\!"),Fn("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Fn("\\negthickspace","\\tmspace-{5mu}{.277em}"),Fn("\\enspace","\\kern.5em "),Fn("\\enskip","\\hskip.5em\\relax"),Fn("\\quad","\\hskip1em\\relax"),Fn("\\qquad","\\hskip2em\\relax"),Fn("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Fn("\\tag@paren","\\tag@literal{({#1})}"),Fn("\\tag@literal",(e=>{if(e.macros.get("\\df@tag"))throw new r("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"})),Fn("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Fn("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Fn("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Fn("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Fn("\\newline","\\\\\\relax"),Fn("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");const Tr=H(M["Main-Regular"]["T".charCodeAt(0)][1]-.7*M["Main-Regular"]["A".charCodeAt(0)][1]);Fn("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+Tr+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),Fn("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+Tr+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),Fn("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Fn("\\@hspace","\\hskip #1\\relax"),Fn("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Fn("\\ordinarycolon",":"),Fn("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Fn("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Fn("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Fn("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Fn("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Fn("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Fn("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Fn("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Fn("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Fn("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Fn("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Fn("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Fn("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Fn("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Fn("\u2237","\\dblcolon"),Fn("\u2239","\\eqcolon"),Fn("\u2254","\\coloneqq"),Fn("\u2255","\\eqqcolon"),Fn("\u2a74","\\Coloneqq"),Fn("\\ratio","\\vcentcolon"),Fn("\\coloncolon","\\dblcolon"),Fn("\\colonequals","\\coloneqq"),Fn("\\coloncolonequals","\\Coloneqq"),Fn("\\equalscolon","\\eqqcolon"),Fn("\\equalscoloncolon","\\Eqqcolon"),Fn("\\colonminus","\\coloneq"),Fn("\\coloncolonminus","\\Coloneq"),Fn("\\minuscolon","\\eqcolon"),Fn("\\minuscoloncolon","\\Eqcolon"),Fn("\\coloncolonapprox","\\Colonapprox"),Fn("\\coloncolonsim","\\Colonsim"),Fn("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Fn("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Fn("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Fn("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Fn("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220c}}"),Fn("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Fn("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Fn("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),Fn("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),Fn("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),Fn("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),Fn("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),Fn("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),Fn("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),Fn("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),Fn("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),Fn("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),Fn("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),Fn("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),Fn("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),Fn("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),Fn("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),Fn("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),Fn("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228a}"),Fn("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2acb}"),Fn("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228b}"),Fn("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2acc}"),Fn("\\imath","\\html@mathml{\\@imath}{\u0131}"),Fn("\\jmath","\\html@mathml{\\@jmath}{\u0237}"),Fn("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27e6}}"),Fn("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27e7}}"),Fn("\u27e6","\\llbracket"),Fn("\u27e7","\\rrbracket"),Fn("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),Fn("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),Fn("\u2983","\\lBrace"),Fn("\u2984","\\rBrace"),Fn("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29b5}}"),Fn("\u29b5","\\minuso"),Fn("\\darr","\\downarrow"),Fn("\\dArr","\\Downarrow"),Fn("\\Darr","\\Downarrow"),Fn("\\lang","\\langle"),Fn("\\rang","\\rangle"),Fn("\\uarr","\\uparrow"),Fn("\\uArr","\\Uparrow"),Fn("\\Uarr","\\Uparrow"),Fn("\\N","\\mathbb{N}"),Fn("\\R","\\mathbb{R}"),Fn("\\Z","\\mathbb{Z}"),Fn("\\alef","\\aleph"),Fn("\\alefsym","\\aleph"),Fn("\\Alpha","\\mathrm{A}"),Fn("\\Beta","\\mathrm{B}"),Fn("\\bull","\\bullet"),Fn("\\Chi","\\mathrm{X}"),Fn("\\clubs","\\clubsuit"),Fn("\\cnums","\\mathbb{C}"),Fn("\\Complex","\\mathbb{C}"),Fn("\\Dagger","\\ddagger"),Fn("\\diamonds","\\diamondsuit"),Fn("\\empty","\\emptyset"),Fn("\\Epsilon","\\mathrm{E}"),Fn("\\Eta","\\mathrm{H}"),Fn("\\exist","\\exists"),Fn("\\harr","\\leftrightarrow"),Fn("\\hArr","\\Leftrightarrow"),Fn("\\Harr","\\Leftrightarrow"),Fn("\\hearts","\\heartsuit"),Fn("\\image","\\Im"),Fn("\\infin","\\infty"),Fn("\\Iota","\\mathrm{I}"),Fn("\\isin","\\in"),Fn("\\Kappa","\\mathrm{K}"),Fn("\\larr","\\leftarrow"),Fn("\\lArr","\\Leftarrow"),Fn("\\Larr","\\Leftarrow"),Fn("\\lrarr","\\leftrightarrow"),Fn("\\lrArr","\\Leftrightarrow"),Fn("\\Lrarr","\\Leftrightarrow"),Fn("\\Mu","\\mathrm{M}"),Fn("\\natnums","\\mathbb{N}"),Fn("\\Nu","\\mathrm{N}"),Fn("\\Omicron","\\mathrm{O}"),Fn("\\plusmn","\\pm"),Fn("\\rarr","\\rightarrow"),Fn("\\rArr","\\Rightarrow"),Fn("\\Rarr","\\Rightarrow"),Fn("\\real","\\Re"),Fn("\\reals","\\mathbb{R}"),Fn("\\Reals","\\mathbb{R}"),Fn("\\Rho","\\mathrm{P}"),Fn("\\sdot","\\cdot"),Fn("\\sect","\\S"),Fn("\\spades","\\spadesuit"),Fn("\\sub","\\subset"),Fn("\\sube","\\subseteq"),Fn("\\supe","\\supseteq"),Fn("\\Tau","\\mathrm{T}"),Fn("\\thetasym","\\vartheta"),Fn("\\weierp","\\wp"),Fn("\\Zeta","\\mathrm{Z}"),Fn("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Fn("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Fn("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Fn("\\bra","\\mathinner{\\langle{#1}|}"),Fn("\\ket","\\mathinner{|{#1}\\rangle}"),Fn("\\braket","\\mathinner{\\langle{#1}\\rangle}"),Fn("\\Bra","\\left\\langle#1\\right|"),Fn("\\Ket","\\left|#1\\right\\rangle");const _r=e=>t=>{const n=t.consumeArg().tokens,r=t.consumeArg().tokens,i=t.consumeArg().tokens,s=t.consumeArg().tokens,o=t.macros.get("|"),a=t.macros.get("\\|");t.macros.beginGroup();const l=t=>n=>{e&&(n.macros.set("|",o),i.length&&n.macros.set("\\|",a));let s=t;return!t&&i.length&&"|"===n.future().text&&(n.popToken(),s=!0),{tokens:s?i:r,numArgs:0}};t.macros.set("|",l(!1)),i.length&&t.macros.set("\\|",l(!0));const u=t.consumeArg().tokens,c=t.expandTokens([...s,...u,...n]);return t.macros.endGroup(),{tokens:c.reverse(),numArgs:0}};Fn("\\bra@ket",_r(!1)),Fn("\\bra@set",_r(!0)),Fn("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),Fn("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),Fn("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),Fn("\\angln","{\\angl n}"),Fn("\\blue","\\textcolor{##6495ed}{#1}"),Fn("\\orange","\\textcolor{##ffa500}{#1}"),Fn("\\pink","\\textcolor{##ff00af}{#1}"),Fn("\\red","\\textcolor{##df0030}{#1}"),Fn("\\green","\\textcolor{##28ae7b}{#1}"),Fn("\\gray","\\textcolor{gray}{#1}"),Fn("\\purple","\\textcolor{##9d38bd}{#1}"),Fn("\\blueA","\\textcolor{##ccfaff}{#1}"),Fn("\\blueB","\\textcolor{##80f6ff}{#1}"),Fn("\\blueC","\\textcolor{##63d9ea}{#1}"),Fn("\\blueD","\\textcolor{##11accd}{#1}"),Fn("\\blueE","\\textcolor{##0c7f99}{#1}"),Fn("\\tealA","\\textcolor{##94fff5}{#1}"),Fn("\\tealB","\\textcolor{##26edd5}{#1}"),Fn("\\tealC","\\textcolor{##01d1c1}{#1}"),Fn("\\tealD","\\textcolor{##01a995}{#1}"),Fn("\\tealE","\\textcolor{##208170}{#1}"),Fn("\\greenA","\\textcolor{##b6ffb0}{#1}"),Fn("\\greenB","\\textcolor{##8af281}{#1}"),Fn("\\greenC","\\textcolor{##74cf70}{#1}"),Fn("\\greenD","\\textcolor{##1fab54}{#1}"),Fn("\\greenE","\\textcolor{##0d923f}{#1}"),Fn("\\goldA","\\textcolor{##ffd0a9}{#1}"),Fn("\\goldB","\\textcolor{##ffbb71}{#1}"),Fn("\\goldC","\\textcolor{##ff9c39}{#1}"),Fn("\\goldD","\\textcolor{##e07d10}{#1}"),Fn("\\goldE","\\textcolor{##a75a05}{#1}"),Fn("\\redA","\\textcolor{##fca9a9}{#1}"),Fn("\\redB","\\textcolor{##ff8482}{#1}"),Fn("\\redC","\\textcolor{##f9685d}{#1}"),Fn("\\redD","\\textcolor{##e84d39}{#1}"),Fn("\\redE","\\textcolor{##bc2612}{#1}"),Fn("\\maroonA","\\textcolor{##ffbde0}{#1}"),Fn("\\maroonB","\\textcolor{##ff92c6}{#1}"),Fn("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Fn("\\maroonD","\\textcolor{##ca337c}{#1}"),Fn("\\maroonE","\\textcolor{##9e034e}{#1}"),Fn("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Fn("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Fn("\\purpleC","\\textcolor{##aa87ff}{#1}"),Fn("\\purpleD","\\textcolor{##7854ab}{#1}"),Fn("\\purpleE","\\textcolor{##543b78}{#1}"),Fn("\\mintA","\\textcolor{##f5f9e8}{#1}"),Fn("\\mintB","\\textcolor{##edf2df}{#1}"),Fn("\\mintC","\\textcolor{##e0e5cc}{#1}"),Fn("\\grayA","\\textcolor{##f6f7f7}{#1}"),Fn("\\grayB","\\textcolor{##f0f1f2}{#1}"),Fn("\\grayC","\\textcolor{##e3e5e6}{#1}"),Fn("\\grayD","\\textcolor{##d6d8da}{#1}"),Fn("\\grayE","\\textcolor{##babec2}{#1}"),Fn("\\grayF","\\textcolor{##888d93}{#1}"),Fn("\\grayG","\\textcolor{##626569}{#1}"),Fn("\\grayH","\\textcolor{##3b3e40}{#1}"),Fn("\\grayI","\\textcolor{##21242c}{#1}"),Fn("\\kaBlue","\\textcolor{##314453}{#1}"),Fn("\\kaGreen","\\textcolor{##71B307}{#1}");const Nr={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Or{constructor(e,t,n){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 Cr(Mr,t.macros),this.mode=n,this.stack=[]}feed(e){this.lexer=new Sr(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){let t,n,r;if(e){if(this.consumeSpaces(),"["!==this.future().text)return null;t=this.popToken(),({tokens:r,end:n}=this.consumeArg(["]"]))}else({tokens:r,start:t,end:n}=this.consumeArg());return this.pushToken(new Tn("EOF",n.loc)),this.pushTokens(r),t.range(n,"")}consumeSpaces(){for(;" "===this.future().text;)this.stack.pop()}consumeArg(e){const t=[],n=e&&e.length>0;n||this.consumeSpaces();const i=this.future();let s,o=0,a=0;do{if(s=this.popToken(),t.push(s),"{"===s.text)++o;else if("}"===s.text){if(--o,-1===o)throw new r("Extra }",s)}else if("EOF"===s.text)throw new r("Unexpected end of input in a macro argument, expected '"+(e&&n?e[a]:"}")+"'",s);if(e&&n)if((0===o||1===o&&"{"===e[a])&&s.text===e[a]){if(++a,a===e.length){t.splice(-a,a);break}}else a=0}while(0!==o||n);return"{"===i.text&&"}"===t[t.length-1].text&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:i,end:s}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new r("The length of delimiters doesn't match the number of args!");const n=t[0];for(let e=0;e<n.length;e++){const t=this.popToken();if(n[e]!==t.text)throw new r("Use of the macro doesn't match its definition",t)}}const n=[];for(let r=0;r<e;r++)n.push(this.consumeArg(t&&t[r+1]).tokens);return n}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new r("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){const t=this.popToken(),n=t.text,i=t.noexpand?null:this._getExpansion(n);if(null==i||e&&i.unexpandable){if(e&&null==i&&"\\"===n[0]&&!this.isDefined(n))throw new r("Undefined control sequence: "+n);return this.pushToken(t),!1}this.countExpansion(1);let s=i.tokens;const o=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){s=s.slice();for(let e=s.length-1;e>=0;--e){let t=s[e];if("#"===t.text){if(0===e)throw new r("Incomplete placeholder at end of macro body",t);if(t=s[--e],"#"===t.text)s.splice(e+1,1);else{if(!/^[1-9]$/.test(t.text))throw new r("Not a valid argument number",t);s.splice(e,2,...o[+t.text-1])}}}}return this.pushTokens(s),s.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(!1===this.expandOnce()){const e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new Tn(e)]):void 0}expandTokens(e){const t=[],n=this.stack.length;for(this.pushTokens(e);this.stack.length>n;)if(!1===this.expandOnce(!0)){const e=this.stack.pop();e.treatAsRelax&&(e.noexpand=!1,e.treatAsRelax=!1),t.push(e)}return this.countExpansion(t.length),t}expandMacroAsText(e){const t=this.expandMacro(e);return t?t.map((e=>e.text)).join(""):t}_getExpansion(e){const t=this.macros.get(e);if(null==t)return t;if(1===e.length){const t=this.lexer.catcodes[e];if(null!=t&&13!==t)return}const n="function"===typeof t?t(this):t;if("string"===typeof n){let e=0;if(-1!==n.indexOf("#")){const t=n.replace(/##/g,"");for(;-1!==t.indexOf("#"+(e+1));)++e}const t=new Sr(n,this.settings),r=[];let i=t.lex();for(;"EOF"!==i.text;)r.push(i),i=t.lex();return r.reverse(),{tokens:r,numArgs:e}}return n}isDefined(e){return this.macros.has(e)||xr.hasOwnProperty(e)||se.math.hasOwnProperty(e)||se.text.hasOwnProperty(e)||Nr.hasOwnProperty(e)}isExpandable(e){const t=this.macros.get(e);return null!=t?"string"===typeof t||"function"===typeof t||!t.unexpandable:xr.hasOwnProperty(e)&&!xr[e].primitive}}const Ir=/^[\u208a\u208b\u208c\u208d\u208e\u2080\u2081\u2082\u2083\u2084\u2085\u2086\u2087\u2088\u2089\u2090\u2091\u2095\u1d62\u2c7c\u2096\u2097\u2098\u2099\u2092\u209a\u1d63\u209b\u209c\u1d64\u1d65\u2093\u1d66\u1d67\u1d68\u1d69\u1d6a]/,qr=Object.freeze({"\u208a":"+","\u208b":"-","\u208c":"=","\u208d":"(","\u208e":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1d62":"i","\u2c7c":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209a":"p","\u1d63":"r","\u209b":"s","\u209c":"t","\u1d64":"u","\u1d65":"v","\u2093":"x","\u1d66":"\u03b2","\u1d67":"\u03b3","\u1d68":"\u03c1","\u1d69":"\u03d5","\u1d6a":"\u03c7","\u207a":"+","\u207b":"-","\u207c":"=","\u207d":"(","\u207e":")","\u2070":"0","\xb9":"1","\xb2":"2","\xb3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1d2c":"A","\u1d2e":"B","\u1d30":"D","\u1d31":"E","\u1d33":"G","\u1d34":"H","\u1d35":"I","\u1d36":"J","\u1d37":"K","\u1d38":"L","\u1d39":"M","\u1d3a":"N","\u1d3c":"O","\u1d3e":"P","\u1d3f":"R","\u1d40":"T","\u1d41":"U","\u2c7d":"V","\u1d42":"W","\u1d43":"a","\u1d47":"b","\u1d9c":"c","\u1d48":"d","\u1d49":"e","\u1da0":"f","\u1d4d":"g","\u02b0":"h","\u2071":"i","\u02b2":"j","\u1d4f":"k","\u02e1":"l","\u1d50":"m","\u207f":"n","\u1d52":"o","\u1d56":"p","\u02b3":"r","\u02e2":"s","\u1d57":"t","\u1d58":"u","\u1d5b":"v","\u02b7":"w","\u02e3":"x","\u02b8":"y","\u1dbb":"z","\u1d5d":"\u03b2","\u1d5e":"\u03b3","\u1d5f":"\u03b4","\u1d60":"\u03d5","\u1d61":"\u03c7","\u1dbf":"\u03b8"}),Rr={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030c":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030a":{text:"\\r",math:"\\mathring"},"\u030b":{text:"\\H"},"\u0327":{text:"\\c"}},jr={"\xe1":"a\u0301","\xe0":"a\u0300","\xe4":"a\u0308","\u01df":"a\u0308\u0304","\xe3":"a\u0303","\u0101":"a\u0304","\u0103":"a\u0306","\u1eaf":"a\u0306\u0301","\u1eb1":"a\u0306\u0300","\u1eb5":"a\u0306\u0303","\u01ce":"a\u030c","\xe2":"a\u0302","\u1ea5":"a\u0302\u0301","\u1ea7":"a\u0302\u0300","\u1eab":"a\u0302\u0303","\u0227":"a\u0307","\u01e1":"a\u0307\u0304","\xe5":"a\u030a","\u01fb":"a\u030a\u0301","\u1e03":"b\u0307","\u0107":"c\u0301","\u1e09":"c\u0327\u0301","\u010d":"c\u030c","\u0109":"c\u0302","\u010b":"c\u0307","\xe7":"c\u0327","\u010f":"d\u030c","\u1e0b":"d\u0307","\u1e11":"d\u0327","\xe9":"e\u0301","\xe8":"e\u0300","\xeb":"e\u0308","\u1ebd":"e\u0303","\u0113":"e\u0304","\u1e17":"e\u0304\u0301","\u1e15":"e\u0304\u0300","\u0115":"e\u0306","\u1e1d":"e\u0327\u0306","\u011b":"e\u030c","\xea":"e\u0302","\u1ebf":"e\u0302\u0301","\u1ec1":"e\u0302\u0300","\u1ec5":"e\u0302\u0303","\u0117":"e\u0307","\u0229":"e\u0327","\u1e1f":"f\u0307","\u01f5":"g\u0301","\u1e21":"g\u0304","\u011f":"g\u0306","\u01e7":"g\u030c","\u011d":"g\u0302","\u0121":"g\u0307","\u0123":"g\u0327","\u1e27":"h\u0308","\u021f":"h\u030c","\u0125":"h\u0302","\u1e23":"h\u0307","\u1e29":"h\u0327","\xed":"i\u0301","\xec":"i\u0300","\xef":"i\u0308","\u1e2f":"i\u0308\u0301","\u0129":"i\u0303","\u012b":"i\u0304","\u012d":"i\u0306","\u01d0":"i\u030c","\xee":"i\u0302","\u01f0":"j\u030c","\u0135":"j\u0302","\u1e31":"k\u0301","\u01e9":"k\u030c","\u0137":"k\u0327","\u013a":"l\u0301","\u013e":"l\u030c","\u013c":"l\u0327","\u1e3f":"m\u0301","\u1e41":"m\u0307","\u0144":"n\u0301","\u01f9":"n\u0300","\xf1":"n\u0303","\u0148":"n\u030c","\u1e45":"n\u0307","\u0146":"n\u0327","\xf3":"o\u0301","\xf2":"o\u0300","\xf6":"o\u0308","\u022b":"o\u0308\u0304","\xf5":"o\u0303","\u1e4d":"o\u0303\u0301","\u1e4f":"o\u0303\u0308","\u022d":"o\u0303\u0304","\u014d":"o\u0304","\u1e53":"o\u0304\u0301","\u1e51":"o\u0304\u0300","\u014f":"o\u0306","\u01d2":"o\u030c","\xf4":"o\u0302","\u1ed1":"o\u0302\u0301","\u1ed3":"o\u0302\u0300","\u1ed7":"o\u0302\u0303","\u022f":"o\u0307","\u0231":"o\u0307\u0304","\u0151":"o\u030b","\u1e55":"p\u0301","\u1e57":"p\u0307","\u0155":"r\u0301","\u0159":"r\u030c","\u1e59":"r\u0307","\u0157":"r\u0327","\u015b":"s\u0301","\u1e65":"s\u0301\u0307","\u0161":"s\u030c","\u1e67":"s\u030c\u0307","\u015d":"s\u0302","\u1e61":"s\u0307","\u015f":"s\u0327","\u1e97":"t\u0308","\u0165":"t\u030c","\u1e6b":"t\u0307","\u0163":"t\u0327","\xfa":"u\u0301","\xf9":"u\u0300","\xfc":"u\u0308","\u01d8":"u\u0308\u0301","\u01dc":"u\u0308\u0300","\u01d6":"u\u0308\u0304","\u01da":"u\u0308\u030c","\u0169":"u\u0303","\u1e79":"u\u0303\u0301","\u016b":"u\u0304","\u1e7b":"u\u0304\u0308","\u016d":"u\u0306","\u01d4":"u\u030c","\xfb":"u\u0302","\u016f":"u\u030a","\u0171":"u\u030b","\u1e7d":"v\u0303","\u1e83":"w\u0301","\u1e81":"w\u0300","\u1e85":"w\u0308","\u0175":"w\u0302","\u1e87":"w\u0307","\u1e98":"w\u030a","\u1e8d":"x\u0308","\u1e8b":"x\u0307","\xfd":"y\u0301","\u1ef3":"y\u0300","\xff":"y\u0308","\u1ef9":"y\u0303","\u0233":"y\u0304","\u0177":"y\u0302","\u1e8f":"y\u0307","\u1e99":"y\u030a","\u017a":"z\u0301","\u017e":"z\u030c","\u1e91":"z\u0302","\u017c":"z\u0307","\xc1":"A\u0301","\xc0":"A\u0300","\xc4":"A\u0308","\u01de":"A\u0308\u0304","\xc3":"A\u0303","\u0100":"A\u0304","\u0102":"A\u0306","\u1eae":"A\u0306\u0301","\u1eb0":"A\u0306\u0300","\u1eb4":"A\u0306\u0303","\u01cd":"A\u030c","\xc2":"A\u0302","\u1ea4":"A\u0302\u0301","\u1ea6":"A\u0302\u0300","\u1eaa":"A\u0302\u0303","\u0226":"A\u0307","\u01e0":"A\u0307\u0304","\xc5":"A\u030a","\u01fa":"A\u030a\u0301","\u1e02":"B\u0307","\u0106":"C\u0301","\u1e08":"C\u0327\u0301","\u010c":"C\u030c","\u0108":"C\u0302","\u010a":"C\u0307","\xc7":"C\u0327","\u010e":"D\u030c","\u1e0a":"D\u0307","\u1e10":"D\u0327","\xc9":"E\u0301","\xc8":"E\u0300","\xcb":"E\u0308","\u1ebc":"E\u0303","\u0112":"E\u0304","\u1e16":"E\u0304\u0301","\u1e14":"E\u0304\u0300","\u0114":"E\u0306","\u1e1c":"E\u0327\u0306","\u011a":"E\u030c","\xca":"E\u0302","\u1ebe":"E\u0302\u0301","\u1ec0":"E\u0302\u0300","\u1ec4":"E\u0302\u0303","\u0116":"E\u0307","\u0228":"E\u0327","\u1e1e":"F\u0307","\u01f4":"G\u0301","\u1e20":"G\u0304","\u011e":"G\u0306","\u01e6":"G\u030c","\u011c":"G\u0302","\u0120":"G\u0307","\u0122":"G\u0327","\u1e26":"H\u0308","\u021e":"H\u030c","\u0124":"H\u0302","\u1e22":"H\u0307","\u1e28":"H\u0327","\xcd":"I\u0301","\xcc":"I\u0300","\xcf":"I\u0308","\u1e2e":"I\u0308\u0301","\u0128":"I\u0303","\u012a":"I\u0304","\u012c":"I\u0306","\u01cf":"I\u030c","\xce":"I\u0302","\u0130":"I\u0307","\u0134":"J\u0302","\u1e30":"K\u0301","\u01e8":"K\u030c","\u0136":"K\u0327","\u0139":"L\u0301","\u013d":"L\u030c","\u013b":"L\u0327","\u1e3e":"M\u0301","\u1e40":"M\u0307","\u0143":"N\u0301","\u01f8":"N\u0300","\xd1":"N\u0303","\u0147":"N\u030c","\u1e44":"N\u0307","\u0145":"N\u0327","\xd3":"O\u0301","\xd2":"O\u0300","\xd6":"O\u0308","\u022a":"O\u0308\u0304","\xd5":"O\u0303","\u1e4c":"O\u0303\u0301","\u1e4e":"O\u0303\u0308","\u022c":"O\u0303\u0304","\u014c":"O\u0304","\u1e52":"O\u0304\u0301","\u1e50":"O\u0304\u0300","\u014e":"O\u0306","\u01d1":"O\u030c","\xd4":"O\u0302","\u1ed0":"O\u0302\u0301","\u1ed2":"O\u0302\u0300","\u1ed6":"O\u0302\u0303","\u022e":"O\u0307","\u0230":"O\u0307\u0304","\u0150":"O\u030b","\u1e54":"P\u0301","\u1e56":"P\u0307","\u0154":"R\u0301","\u0158":"R\u030c","\u1e58":"R\u0307","\u0156":"R\u0327","\u015a":"S\u0301","\u1e64":"S\u0301\u0307","\u0160":"S\u030c","\u1e66":"S\u030c\u0307","\u015c":"S\u0302","\u1e60":"S\u0307","\u015e":"S\u0327","\u0164":"T\u030c","\u1e6a":"T\u0307","\u0162":"T\u0327","\xda":"U\u0301","\xd9":"U\u0300","\xdc":"U\u0308","\u01d7":"U\u0308\u0301","\u01db":"U\u0308\u0300","\u01d5":"U\u0308\u0304","\u01d9":"U\u0308\u030c","\u0168":"U\u0303","\u1e78":"U\u0303\u0301","\u016a":"U\u0304","\u1e7a":"U\u0304\u0308","\u016c":"U\u0306","\u01d3":"U\u030c","\xdb":"U\u0302","\u016e":"U\u030a","\u0170":"U\u030b","\u1e7c":"V\u0303","\u1e82":"W\u0301","\u1e80":"W\u0300","\u1e84":"W\u0308","\u0174":"W\u0302","\u1e86":"W\u0307","\u1e8c":"X\u0308","\u1e8a":"X\u0307","\xdd":"Y\u0301","\u1ef2":"Y\u0300","\u0178":"Y\u0308","\u1ef8":"Y\u0303","\u0232":"Y\u0304","\u0176":"Y\u0302","\u1e8e":"Y\u0307","\u0179":"Z\u0301","\u017d":"Z\u030c","\u1e90":"Z\u0302","\u017b":"Z\u0307","\u03ac":"\u03b1\u0301","\u1f70":"\u03b1\u0300","\u1fb1":"\u03b1\u0304","\u1fb0":"\u03b1\u0306","\u03ad":"\u03b5\u0301","\u1f72":"\u03b5\u0300","\u03ae":"\u03b7\u0301","\u1f74":"\u03b7\u0300","\u03af":"\u03b9\u0301","\u1f76":"\u03b9\u0300","\u03ca":"\u03b9\u0308","\u0390":"\u03b9\u0308\u0301","\u1fd2":"\u03b9\u0308\u0300","\u1fd1":"\u03b9\u0304","\u1fd0":"\u03b9\u0306","\u03cc":"\u03bf\u0301","\u1f78":"\u03bf\u0300","\u03cd":"\u03c5\u0301","\u1f7a":"\u03c5\u0300","\u03cb":"\u03c5\u0308","\u03b0":"\u03c5\u0308\u0301","\u1fe2":"\u03c5\u0308\u0300","\u1fe1":"\u03c5\u0304","\u1fe0":"\u03c5\u0306","\u03ce":"\u03c9\u0301","\u1f7c":"\u03c9\u0300","\u038e":"\u03a5\u0301","\u1fea":"\u03a5\u0300","\u03ab":"\u03a5\u0308","\u1fe9":"\u03a5\u0304","\u1fe8":"\u03a5\u0306","\u038f":"\u03a9\u0301","\u1ffa":"\u03a9\u0300"};class Lr{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 Or(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 r("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{const e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){const t=this.nextToken;this.consume(),this.gullet.pushToken(new Tn("}")),this.gullet.pushTokens(e);const n=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,n}parseExpression(e,t){const n=[];for(;;){"math"===this.mode&&this.consumeSpaces();const r=this.fetch();if(-1!==Lr.endOfExpression.indexOf(r.text))break;if(t&&r.text===t)break;if(e&&xr[r.text]&&xr[r.text].infix)break;const i=this.parseAtom(t);if(!i)break;"internal"!==i.type&&n.push(i)}return"text"===this.mode&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(e){let t,n=-1;for(let i=0;i<e.length;i++)if("infix"===e[i].type){if(-1!==n)throw new r("only one infix operator per group",e[i].token);n=i,t=e[i].replaceWith}if(-1!==n&&t){let r,i;const s=e.slice(0,n),o=e.slice(n+1);let a;return r=1===s.length&&"ordgroup"===s[0].type?s[0]:{type:"ordgroup",mode:this.mode,body:s},i=1===o.length&&"ordgroup"===o[0].type?o[0]:{type:"ordgroup",mode:this.mode,body:o},a="\\\\abovefrac"===t?this.callFunction(t,[r,e[n],i],[]):this.callFunction(t,[r,i],[]),[a]}return e}handleSupSubscript(e){const t=this.fetch(),n=t.text;let i;this.consume(),this.consumeSpaces();do{var s;i=this.parseGroup(e)}while("internal"===(null==(s=i)?void 0:s.type));if(!i)throw new r("Expected group after '"+n+"'",t);return i}formatUnsupportedCmd(e){const t=[];for(let r=0;r<e.length;r++)t.push({type:"textord",mode:"text",text:e[r]});const n={type:"text",mode:this.mode,body:t};return{type:"color",mode:this.mode,color:this.settings.errorColor,body:[n]}}parseAtom(e){const t=this.parseGroup("atom",e);if("internal"===(null==t?void 0:t.type))return t;if("text"===this.mode)return t;let n,i;for(;;){this.consumeSpaces();const e=this.fetch();if("\\limits"===e.text||"\\nolimits"===e.text){if(t&&"op"===t.type){const n="\\limits"===e.text;t.limits=n,t.alwaysHandleSupSub=!0}else{if(!t||"operatorname"!==t.type)throw new r("Limit controls must follow a math operator",e);t.alwaysHandleSupSub&&(t.limits="\\limits"===e.text)}this.consume()}else if("^"===e.text){if(n)throw new r("Double superscript",e);n=this.handleSupSubscript("superscript")}else if("_"===e.text){if(i)throw new r("Double subscript",e);i=this.handleSupSubscript("subscript")}else if("'"===e.text){if(n)throw new r("Double superscript",e);const t={type:"textord",mode:this.mode,text:"\\prime"},i=[t];for(this.consume();"'"===this.fetch().text;)i.push(t),this.consume();"^"===this.fetch().text&&i.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:i}}else{if(!qr[e.text])break;{const t=Ir.test(e.text),r=[];for(r.push(new Tn(qr[e.text])),this.consume();;){const e=this.fetch().text;if(!qr[e])break;if(Ir.test(e)!==t)break;r.unshift(new Tn(qr[e])),this.consume()}const s=this.subparse(r);t?i={type:"ordgroup",mode:"math",body:s}:n={type:"ordgroup",mode:"math",body:s}}}}return n||i?{type:"supsub",mode:this.mode,base:t,sup:n,sub:i}:t}parseFunction(e,t){const n=this.fetch(),i=n.text,s=xr[i];if(!s)return null;if(this.consume(),t&&"atom"!==t&&!s.allowedInArgument)throw new r("Got function '"+i+"' with no arguments"+(t?" as "+t:""),n);if("text"===this.mode&&!s.allowedInText)throw new r("Can't use function '"+i+"' in text mode",n);if("math"===this.mode&&!1===s.allowedInMath)throw new r("Can't use function '"+i+"' in math mode",n);const{args:o,optArgs:a}=this.parseArguments(i,s);return this.callFunction(i,o,a,n,e)}callFunction(e,t,n,i,s){const o={funcName:e,parser:this,token:i,breakOnTokenText:s},a=xr[e];if(a&&a.handler)return a.handler(o,t,n);throw new r("No function handler for "+e)}parseArguments(e,t){const n=t.numArgs+t.numOptionalArgs;if(0===n)return{args:[],optArgs:[]};const i=[],s=[];for(let o=0;o<n;o++){let n=t.argTypes&&t.argTypes[o];const a=o<t.numOptionalArgs;(t.primitive&&null==n||"sqrt"===t.type&&1===o&&null==s[0])&&(n="primitive");const l=this.parseGroupOfType("argument to '"+e+"'",n,a);if(a)s.push(l);else{if(null==l)throw new r("Null argument, please report this as a bug");i.push(l)}}return{args:i,optArgs:s}}parseGroupOfType(e,t,n){switch(t){case"color":return this.parseColorGroup(n);case"size":return this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n);case"math":case"text":return this.parseArgumentGroup(n,t);case"hbox":{const e=this.parseArgumentGroup(n,"text");return null!=e?{type:"styling",mode:e.mode,body:[e],style:"text"}:null}case"raw":{const e=this.parseStringGroup("raw",n);return null!=e?{type:"raw",mode:"text",string:e.text}:null}case"primitive":{if(n)throw new r("A primitive argument cannot be optional");const t=this.parseGroup(e);if(null==t)throw new r("Expected group as "+e,this.fetch());return t}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new r("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;" "===this.fetch().text;)this.consume()}parseStringGroup(e,t){const n=this.gullet.scanArgument(t);if(null==n)return null;let r,i="";for(;"EOF"!==(r=this.fetch()).text;)i+=r.text,this.consume();return this.consume(),n.text=i,n}parseRegexGroup(e,t){const n=this.fetch();let i,s=n,o="";for(;"EOF"!==(i=this.fetch()).text&&e.test(o+i.text);)s=i,o+=s.text,this.consume();if(""===o)throw new r("Invalid "+t+": '"+n.text+"'",n);return n.range(s,o)}parseColorGroup(e){const t=this.parseStringGroup("color",e);if(null==t)return null;const n=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!n)throw new r("Invalid color: '"+t.text+"'",t);let i=n[0];return/^[0-9a-f]{6}$/i.test(i)&&(i="#"+i),{type:"color-token",mode:this.mode,color:i}}parseSizeGroup(e){let t,n=!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"),!t)return null;e||0!==t.text.length||(t.text="0pt",n=!0);const i=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!i)throw new r("Invalid size: '"+t.text+"'",t);const s={number:+(i[1]+i[2]),unit:i[3]};if(!j(s))throw new r("Invalid unit: '"+s.unit+"'",t);return{type:"size",mode:this.mode,value:s,isBlank:n}}parseUrlGroup(e){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);const t=this.parseStringGroup("url",e);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),null==t)return null;const n=t.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:n}}parseArgumentGroup(e,t){const n=this.gullet.scanArgument(e);if(null==n)return null;const r=this.mode;t&&this.switchMode(t),this.gullet.beginGroup();const i=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();const s={type:"ordgroup",mode:this.mode,loc:n.loc,body:i};return t&&this.switchMode(r),s}parseGroup(e,t){const n=this.fetch(),i=n.text;let s;if("{"===i||"\\begingroup"===i){this.consume();const e="{"===i?"}":"\\endgroup";this.gullet.beginGroup();const t=this.parseExpression(!1,e),r=this.fetch();this.expect(e),this.gullet.endGroup(),s={type:"ordgroup",mode:this.mode,loc:Bn.range(n,r),body:t,semisimple:"\\begingroup"===i||void 0}}else if(s=this.parseFunction(t,e)||this.parseSymbol(),null==s&&"\\"===i[0]&&!Nr.hasOwnProperty(i)){if(this.settings.throwOnError)throw new r("Undefined control sequence: "+i,n);s=this.formatUnsupportedCmd(i),this.consume()}return s}formLigatures(e){let t=e.length-1;for(let n=0;n<t;++n){const r=e[n],i=r.text;"-"===i&&"-"===e[n+1].text&&(n+1<t&&"-"===e[n+2].text?(e.splice(n,3,{type:"textord",mode:"text",loc:Bn.range(r,e[n+2]),text:"---"}),t-=2):(e.splice(n,2,{type:"textord",mode:"text",loc:Bn.range(r,e[n+1]),text:"--"}),t-=1)),"'"!==i&&"`"!==i||e[n+1].text!==i||(e.splice(n,2,{type:"textord",mode:"text",loc:Bn.range(r,e[n+1]),text:i+i}),t-=1)}}parseSymbol(){const e=this.fetch();let t=e.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();let e=t.slice(5);const n="*"===e.charAt(0);if(n&&(e=e.slice(1)),e.length<2||e.charAt(0)!==e.slice(-1))throw new r("\\verb assertion failed --\n please report what input caused this bug");return e=e.slice(1,-1),{type:"verb",mode:"text",body:e,star:n}}jr.hasOwnProperty(t[0])&&!se[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=jr[t[0]]+t.slice(1));const n=kr.exec(t);let i;if(n&&(t=t.substring(0,n.index),"i"===t?t="\u0131":"j"===t&&(t="\u0237")),se[this.mode][t]){this.settings.strict&&"math"===this.mode&&Me.indexOf(t)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);const n=se[this.mode][t].group,r=Bn.range(e);let s;if(ne.hasOwnProperty(n)){const e=n;s={type:"atom",mode:this.mode,family:e,loc:r,text:t}}else s={type:n,mode:this.mode,loc:r,text:t};i=s}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(k(t.charCodeAt(0))?"math"===this.mode&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+t[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+t[0]+'" ('+t.charCodeAt(0)+")",e)),i={type:"textord",mode:"text",loc:Bn.range(e),text:t}}if(this.consume(),n)for(let s=0;s<n[0].length;s++){const t=n[0][s];if(!Rr[t])throw new r("Unknown accent ' "+t+"'",e);const o=Rr[t][this.mode]||Rr[t].text;if(!o)throw new r("Accent "+t+" unsupported in "+this.mode+" mode",e);i={type:"accent",mode:this.mode,loc:Bn.range(e),label:o,isStretchy:!1,isShifty:!0,base:i}}return i}}Lr.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var Hr=function(e,t){if(!("string"===typeof e||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");const n=new Lr(e,t);delete n.gullet.macros.current["\\df@tag"];let i=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new r("\\tag works only in display equations");i=[{type:"tag",mode:"text",body:i,tag:n.subparse([new Tn("\\df@tag")])}]}return i};let Pr=function(e,t,n){t.textContent="";const r=$r(e,n).toNode();t.appendChild(r)};"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."),Pr=function(){throw new r("KaTeX doesn't work in quirks mode.")});const Vr=function(e,t,n){if(n.throwOnError||!(e instanceof r))throw e;const i=Le.makeSpan(["katex-error"],[new K(t)]);return i.setAttribute("title",e.toString()),i.setAttribute("style","color:"+n.errorColor),i},$r=function(e,t){const n=new h(t);try{return function(e,t,n){const r=St(n);let i;if("mathml"===n.output)return At(e,t,r,n.displayMode,!0);if("html"===n.output){const t=pt(e,r);i=Le.makeSpan(["katex"],[t])}else{const s=At(e,t,r,n.displayMode,!1),o=pt(e,r);i=Le.makeSpan(["katex"],[s,o])}return Ct(i,n)}(Hr(e,n),e,n)}catch(r){return Vr(r,e,n)}};var Gr={version:"0.16.22",render:Pr,renderToString:function(e,t){return $r(e,t).toMarkup()},ParseError:r,SETTINGS_SCHEMA:u,__parse:function(e,t){const n=new h(t);return Hr(e,n)},__renderToDomTree:$r,__renderToHTMLTree:function(e,t){const n=new h(t);try{return function(e,t,n){const r=pt(e,St(n)),i=Le.makeSpan(["katex"],[r]);return Ct(i,n)}(Hr(e,n),0,n)}catch(r){return Vr(r,e,n)}},__setFontMetrics:function(e,t){M[e]=t},__defineSymbol:oe,__defineFunction:Ye,__defineMacro:Fn,__domTree:{Span:X,Anchor:W,SymbolNode:K,SvgNode:Q,PathNode:J,LineNode:ee}};return t=t.default}()},e.exports=t()},28470:(e,t,n)=>{"use strict";n.d(t,{FR:()=>E,qw:()=>lr});var r=n(70579),i=n(65043);function s(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},s=Object.keys(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}function u(e,t){return p(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,s,o,a=[],l=!0,u=!1;try{if(s=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=s.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){u=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw i}}return a}}(e,t)||d(e,t)||g()}function c(e){return p(e)||m(e)||d(e)||g()}function h(e){return function(e){if(Array.isArray(e))return f(e)}(e)||m(e)||d(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(e){if(Array.isArray(e))return e}function m(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function d(e,t){if(e){if("string"==typeof e)return f(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?f(e,t):void 0}}function f(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function g(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function b(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=d(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var s,o=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){a=!0,s=e},f:function(){try{o||null==n.return||n.return()}finally{if(a)throw s}}}}var y="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof n.g?n.g:"undefined"!=typeof self?self:{};function x(e,t){return e(t={exports:{}},t.exports),t.exports}var w=x((function(e){!function(){var t={}.hasOwnProperty;function n(){for(var e=[],r=0;r<arguments.length;r++){var i=arguments[r];if(i){var s=typeof i;if("string"===s||"number"===s)e.push(i);else if(Array.isArray(i)){if(i.length){var o=n.apply(null,i);o&&e.push(o)}}else if("object"===s){if(i.toString!==Object.prototype.toString&&!i.toString.toString().includes("[native code]")){e.push(i.toString());continue}for(var a in i)t.call(i,a)&&i[a]&&e.push(a)}}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n}()})),v={hunkClassName:"",lineClassName:"",gutterClassName:"",codeClassName:"",monotonous:!1,gutterType:"default",viewType:"split",widgets:{},hideGutter:!1,selectedChanges:[],generateAnchorID:function(){},generateLineClassName:function(){},renderGutter:function(e){var t=e.renderDefault;return(0,e.wrapInAnchor)(t())},codeEvents:{},gutterEvents:{}},D=(0,i.createContext)(v),k=D.Provider,A=function(){return(0,i.useContext)(D)},S=x((function(e,t){!function(){function t(e){var t=e.slice(11),n=null,r=null;switch(t.indexOf('"')){case-1:n=(o=t.split(" "))[0].slice(2),r=o[1].slice(2);break;case 0:var i=t.indexOf('"',2);n=t.slice(3,i);var s=t.indexOf('"',i+1);r=s<0?t.slice(i+4):t.slice(s+3,-1);break;default:var o;n=(o=t.split(" "))[0].slice(2),r=o[1].slice(3,-1)}return{oldPath:n,newPath:r}}var n={parse:function(e){for(var n,r,i,s,o,a=[],l=2,u=e.split("\n"),c=u.length,h=0;h<c;){var p=u[h];if(0===p.indexOf("diff --git")){n={hunks:[],oldEndingNewLine:!0,newEndingNewLine:!0,oldPath:(o=t(p)).oldPath,newPath:o.newPath},a.push(n);var m,d=null;e:for(;m=u[++h];){var f=m.indexOf(" "),g=f>-1?m.slice(0,f):g;switch(g){case"diff":h--;break e;case"deleted":case"new":var b=m.slice(f+1);0===b.indexOf("file mode")&&(n["new"===g?"newMode":"oldMode"]=b.slice(10));break;case"similarity":n.similarity=parseInt(m.split(" ")[2],10);break;case"index":var y=m.slice(f+1).split(" "),x=y[0].split("..");n.oldRevision=x[0],n.newRevision=x[1],y[1]&&(n.oldMode=n.newMode=y[1]);break;case"copy":case"rename":var w=m.slice(f+1);0===w.indexOf("from")?n.oldPath=w.slice(5):n.newPath=w.slice(3),d=g;break;case"---":var v=m.slice(f+1),D=u[++h].slice(4);"/dev/null"===v?(D=D.slice(2),d="add"):"/dev/null"===D?(v=v.slice(2),d="delete"):(d="modify",v=v.slice(2),D=D.slice(2)),v&&(n.oldPath=v),D&&(n.newPath=D),l=5;break e}}n.type=d||"modify"}else if(0===p.indexOf("Binary"))n.isBinary=!0,n.type=p.indexOf("/dev/null and")>=0?"add":p.indexOf("and /dev/null")>=0?"delete":"modify",l=2,n=null;else if(5===l)if(0===p.indexOf("@@")){var k=/^@@\s+-([0-9]+)(,([0-9]+))?\s+\+([0-9]+)(,([0-9]+))?/.exec(p);r={content:p,oldStart:k[1]-0,newStart:k[4]-0,oldLines:k[3]-0||1,newLines:k[6]-0||1,changes:[]},n.hunks.push(r),i=r.oldStart,s=r.newStart}else{var A=p.slice(0,1),S={content:p.slice(1)};switch(A){case"+":S.type="insert",S.isInsert=!0,S.lineNumber=s,s++;break;case"-":S.type="delete",S.isDelete=!0,S.lineNumber=i,i++;break;case" ":S.type="normal",S.isNormal=!0,S.oldLineNumber=i,S.newLineNumber=s,i++,s++;break;case"\\":var C=r.changes[r.changes.length-1];C.isDelete||(n.newEndingNewLine=!1),C.isInsert||(n.oldEndingNewLine=!1)}S.type&&r.changes.push(S)}h++}return a}};e.exports=n}()}));function C(e){return"insert"===e.type}function M(e){return"delete"===e.type}function z(e){return"normal"===e.type}function E(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(e){if(e.startsWith("diff --git"))return e;var t=e.indexOf("\n"),n=e.indexOf("\n",t+1),r=e.slice(0,t),i=e.slice(t+1,n),s=r.split(" ").slice(1,-3).join(" "),o=i.split(" ").slice(1,-3).join(" ");return["diff --git a/".concat(s," b/").concat(o),"index 1111111..2222222 100644","--- a/".concat(s),"+++ b/".concat(o),e.slice(n+1)].join("\n")}(e.trimStart());return S.parse(n).map((function(e){return function(e,t){var n=e.hunks.map((function(e){return function(e,t){var n="zip"===t.nearbySequences?function(e){var t=e.reduce((function(e,t,n){var r=u(e,3),i=r[0],s=r[1],o=r[2];return s?C(t)&&o>=0?(i.splice(o+1,0,t),[i,t,o+2]):(i.push(t),[i,t,M(t)&&M(s)?o:n]):(i.push(t),[i,t,M(t)?n:-1])}),[[],null,-1]);return u(t,1)[0]}(e.changes):e.changes;return o(o({},e),{},{isPlain:!1,changes:n})}(e,t)}));return o(o({},e),{},{hunks:n})}(e,t)}))}function F(e){return e[0]}function B(e){return e[e.length-1]}function T(e){return["".concat(e,"Start"),"".concat(e,"Lines")]}function _(e){return"old"===e?function(e){return C(e)?-1:z(e)?e.oldLineNumber:e.lineNumber}:function(e){return M(e)?-1:z(e)?e.newLineNumber:e.lineNumber}}function N(e,t){return function(n,r){var i=n[e],s=i+n[t];return r>=i&&r<s}}function O(e,t){return function(n,r,i){var s=n[e]+n[t],o=r[e];return i>=s&&i<o}}function I(e){var t=_(e),n=function(e){var t=u(T(e),2),n=N(t[0],t[1]);return function(e,t){return e.find((function(e){return n(e,t)}))}}(e);return function(e,r){var i=n(e,r);if(i)return i.changes.find((function(e){return t(e)===r}))}}function q(e){var t="old"===e?"new":"old",n=u(T(e),2),r=n[0],i=n[1],s=u(T(t),2),o=s[0],a=s[1],l=_(e),c=_(t),h=N(r,i),p=O(r,i);return function(e,t){var n=F(e);if(t<n[r]){var s=n[r]-t;return n[o]-s}var u=B(e);if(u[r]+u[i]<=t){var m=t-u[r]-u[i];return u[o]+u[a]+m}for(var d=0;d<e.length;d++){var f=e[d],g=e[d+1];if(h(f,t)){var b=f.changes.findIndex((function(e){return l(e)===t})),y=f.changes[b];if(z(y))return c(y);var x=M(y)?b+1:b-1,w=f.changes[x];if(!w)return-1;var v=C(y)?"delete":"insert";return w.type===v?c(w):-1}if(p(f,g,t)){var D=t-f[r]-f[i];return f[o]+f[a]+D}}throw new Error("Unexpected line position ".concat(t))}}var R=function(e,t){return e===t||e!=e&&t!=t},j=function(e,t){for(var n=e.length;n--;)if(R(e[n][0],t))return n;return-1},L=Array.prototype.splice;function H(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}H.prototype.clear=function(){this.__data__=[],this.size=0},H.prototype.delete=function(e){var t=this.__data__,n=j(t,e);return!(n<0)&&(n==t.length-1?t.pop():L.call(t,n,1),--this.size,!0)},H.prototype.get=function(e){var t=this.__data__,n=j(t,e);return n<0?void 0:t[n][1]},H.prototype.has=function(e){return j(this.__data__,e)>-1},H.prototype.set=function(e,t){var n=this.__data__,r=j(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var P=H,V="object"==typeof y&&y&&y.Object===Object&&y,$="object"==typeof self&&self&&self.Object===Object&&self,G=V||$||Function("return this")(),U=G.Symbol,X=Object.prototype,W=X.hasOwnProperty,Y=X.toString,Z=U?U.toStringTag:void 0,K=Object.prototype.toString,Q=U?U.toStringTag:void 0,J=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":Q&&Q in Object(e)?function(e){var t=W.call(e,Z),n=e[Z];try{e[Z]=void 0;var r=!0}catch(s){}var i=Y.call(e);return r&&(t?e[Z]=n:delete e[Z]),i}(e):function(e){return K.call(e)}(e)},ee=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},te=function(e){if(!ee(e))return!1;var t=J(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},ne=G["__core-js_shared__"],re=function(){var e=/[^.]+$/.exec(ne&&ne.keys&&ne.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),ie=Function.prototype.toString,se=function(e){if(null!=e){try{return ie.call(e)}catch(t){}try{return e+""}catch(t){}}return""},oe=/^\[object .+?Constructor\]$/,ae=Function.prototype,le=Object.prototype,ue=ae.toString,ce=le.hasOwnProperty,he=RegExp("^"+ue.call(ce).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),pe=function(e){return!(!ee(e)||(t=e,re&&re in t))&&(te(e)?he:oe).test(se(e));var t},me=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return pe(n)?n:void 0},de=me(G,"Map"),fe=me(Object,"create"),ge=Object.prototype.hasOwnProperty,be=Object.prototype.hasOwnProperty;function ye(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}ye.prototype.clear=function(){this.__data__=fe?fe(null):{},this.size=0},ye.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},ye.prototype.get=function(e){var t=this.__data__;if(fe){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return ge.call(t,e)?t[e]:void 0},ye.prototype.has=function(e){var t=this.__data__;return fe?void 0!==t[e]:be.call(t,e)},ye.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=fe&&void 0===t?"__lodash_hash_undefined__":t,this};var xe=ye,we=function(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map};function ve(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}ve.prototype.clear=function(){this.size=0,this.__data__={hash:new xe,map:new(de||P),string:new xe}},ve.prototype.delete=function(e){var t=we(this,e).delete(e);return this.size-=t?1:0,t},ve.prototype.get=function(e){return we(this,e).get(e)},ve.prototype.has=function(e){return we(this,e).has(e)},ve.prototype.set=function(e,t){var n=we(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};var De=ve;function ke(e){var t=this.__data__=new P(e);this.size=t.size}ke.prototype.clear=function(){this.__data__=new P,this.size=0},ke.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},ke.prototype.get=function(e){return this.__data__.get(e)},ke.prototype.has=function(e){return this.__data__.has(e)},ke.prototype.set=function(e,t){var n=this.__data__;if(n instanceof P){var r=n.__data__;if(!de||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new De(r)}return n.set(e,t),this.size=n.size,this};var Ae=ke;function Se(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new De;++t<n;)this.add(e[t])}Se.prototype.add=Se.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Se.prototype.has=function(e){return this.__data__.has(e)};var Ce=Se,Me=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1},ze=function(e,t,n,r,i,s){var o=1&n,a=e.length,l=t.length;if(a!=l&&!(o&&l>a))return!1;var u=s.get(e),c=s.get(t);if(u&&c)return u==t&&c==e;var h=-1,p=!0,m=2&n?new Ce:void 0;for(s.set(e,t),s.set(t,e);++h<a;){var d=e[h],f=t[h];if(r)var g=o?r(f,d,h,t,e,s):r(d,f,h,e,t,s);if(void 0!==g){if(g)continue;p=!1;break}if(m){if(!Me(t,(function(e,t){if(o=t,!m.has(o)&&(d===e||i(d,e,n,r,s)))return m.push(t);var o}))){p=!1;break}}else if(d!==f&&!i(d,f,n,r,s)){p=!1;break}}return s.delete(e),s.delete(t),p},Ee=G.Uint8Array,Fe=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n},Be=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},Te=U?U.prototype:void 0,_e=Te?Te.valueOf:void 0,Ne=function(e,t){for(var n=-1,r=t.length,i=e.length;++n<r;)e[i+n]=t[n];return e},Oe=Array.isArray,Ie=Object.prototype.propertyIsEnumerable,qe=Object.getOwnPropertySymbols,Re=qe?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,i=0,s=[];++n<r;){var o=e[n];t(o,n,e)&&(s[i++]=o)}return s}(qe(e),(function(t){return Ie.call(e,t)})))}:function(){return[]},je=function(e){return null!=e&&"object"==typeof e},Le=function(e){return je(e)&&"[object Arguments]"==J(e)},He=Object.prototype,Pe=He.hasOwnProperty,Ve=He.propertyIsEnumerable,$e=Le(function(){return arguments}())?Le:function(e){return je(e)&&Pe.call(e,"callee")&&!Ve.call(e,"callee")},Ge=function(){return!1},Ue=x((function(e,t){var n=t&&!t.nodeType&&t,r=n&&e&&!e.nodeType&&e,i=r&&r.exports===n?G.Buffer:void 0,s=(i?i.isBuffer:void 0)||Ge;e.exports=s})),Xe=/^(?:0|[1-9]\d*)$/,We=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Xe.test(e))&&e>-1&&e%1==0&&e<t},Ye=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},Ze={};Ze["[object Float32Array]"]=Ze["[object Float64Array]"]=Ze["[object Int8Array]"]=Ze["[object Int16Array]"]=Ze["[object Int32Array]"]=Ze["[object Uint8Array]"]=Ze["[object Uint8ClampedArray]"]=Ze["[object Uint16Array]"]=Ze["[object Uint32Array]"]=!0,Ze["[object Arguments]"]=Ze["[object Array]"]=Ze["[object ArrayBuffer]"]=Ze["[object Boolean]"]=Ze["[object DataView]"]=Ze["[object Date]"]=Ze["[object Error]"]=Ze["[object Function]"]=Ze["[object Map]"]=Ze["[object Number]"]=Ze["[object Object]"]=Ze["[object RegExp]"]=Ze["[object Set]"]=Ze["[object String]"]=Ze["[object WeakMap]"]=!1;var Ke,Qe=x((function(e,t){var n=t&&!t.nodeType&&t,r=n&&e&&!e.nodeType&&e,i=r&&r.exports===n&&V.process,s=function(){try{return r&&r.require&&r.require("util").types||i&&i.binding&&i.binding("util")}catch(e){}}();e.exports=s})),Je=Qe&&Qe.isTypedArray,et=Je?(Ke=Je,function(e){return Ke(e)}):function(e){return je(e)&&Ye(e.length)&&!!Ze[J(e)]},tt=Object.prototype.hasOwnProperty,nt=function(e,t){var n=Oe(e),r=!n&&$e(e),i=!n&&!r&&Ue(e),s=!n&&!r&&!i&&et(e),o=n||r||i||s,a=o?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=a.length;for(var u in e)!t&&!tt.call(e,u)||o&&("length"==u||i&&("offset"==u||"parent"==u)||s&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||We(u,l))||a.push(u);return a},rt=Object.prototype,it=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||rt)},st=function(e,t){return function(n){return e(t(n))}}(Object.keys,Object),ot=Object.prototype.hasOwnProperty,at=function(e){if(!it(e))return st(e);var t=[];for(var n in Object(e))ot.call(e,n)&&"constructor"!=n&&t.push(n);return t},lt=function(e){return null!=e&&Ye(e.length)&&!te(e)},ut=function(e){return lt(e)?nt(e):at(e)},ct=function(e){return function(e,t,n){var r=t(e);return Oe(e)?r:Ne(r,n(e))}(e,ut,Re)},ht=Object.prototype.hasOwnProperty,pt=me(G,"DataView"),mt=me(G,"Promise"),dt=me(G,"Set"),ft=me(G,"WeakMap"),gt=se(pt),bt=se(de),yt=se(mt),xt=se(dt),wt=se(ft),vt=J;(pt&&"[object DataView]"!=vt(new pt(new ArrayBuffer(1)))||de&&"[object Map]"!=vt(new de)||mt&&"[object Promise]"!=vt(mt.resolve())||dt&&"[object Set]"!=vt(new dt)||ft&&"[object WeakMap]"!=vt(new ft))&&(vt=function(e){var t=J(e),n="[object Object]"==t?e.constructor:void 0,r=n?se(n):"";if(r)switch(r){case gt:return"[object DataView]";case bt:return"[object Map]";case yt:return"[object Promise]";case xt:return"[object Set]";case wt:return"[object WeakMap]"}return t});var Dt=vt,kt="[object Object]",At=Object.prototype.hasOwnProperty,St=function(e,t,n,r,i,s){var o=Oe(e),a=Oe(t),l=o?"[object Array]":Dt(e),u=a?"[object Array]":Dt(t),c=(l="[object Arguments]"==l?kt:l)==kt,h=(u="[object Arguments]"==u?kt:u)==kt,p=l==u;if(p&&Ue(e)){if(!Ue(t))return!1;o=!0,c=!1}if(p&&!c)return s||(s=new Ae),o||et(e)?ze(e,t,n,r,i,s):function(e,t,n,r,i,s,o){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!s(new Ee(e),new Ee(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return R(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var a=Fe;case"[object Set]":var l=1&r;if(a||(a=Be),e.size!=t.size&&!l)return!1;var u=o.get(e);if(u)return u==t;r|=2,o.set(e,t);var c=ze(a(e),a(t),r,i,s,o);return o.delete(e),c;case"[object Symbol]":if(_e)return _e.call(e)==_e.call(t)}return!1}(e,t,l,n,r,i,s);if(!(1&n)){var m=c&&At.call(e,"__wrapped__"),d=h&&At.call(t,"__wrapped__");if(m||d){var f=m?e.value():e,g=d?t.value():t;return s||(s=new Ae),i(f,g,n,r,s)}}return!!p&&(s||(s=new Ae),function(e,t,n,r,i,s){var o=1&n,a=ct(e),l=a.length;if(l!=ct(t).length&&!o)return!1;for(var u=l;u--;){var c=a[u];if(!(o?c in t:ht.call(t,c)))return!1}var h=s.get(e),p=s.get(t);if(h&&p)return h==t&&p==e;var m=!0;s.set(e,t),s.set(t,e);for(var d=o;++u<l;){var f=e[c=a[u]],g=t[c];if(r)var b=o?r(g,f,c,t,e,s):r(f,g,c,e,t,s);if(!(void 0===b?f===g||i(f,g,n,r,s):b)){m=!1;break}d||(d="constructor"==c)}if(m&&!d){var y=e.constructor,x=t.constructor;y==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof x&&x instanceof x||(m=!1)}return s.delete(e),s.delete(t),m}(e,t,n,r,i,s))},Ct=function e(t,n,r,i,s){return t===n||(null==t||null==n||!je(t)&&!je(n)?t!=t&&n!=n:St(t,n,r,i,e,s))},Mt=function(e){return e==e&&!ee(e)},zt=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}},Et=function(e){var t=function(e){for(var t=ut(e),n=t.length;n--;){var r=t[n],i=e[r];t[n]=[r,i,Mt(i)]}return t}(e);return 1==t.length&&t[0][2]?zt(t[0][0],t[0][1]):function(n){return n===e||function(e,t,n,r){var i=n.length,s=i,o=!r;if(null==e)return!s;for(e=Object(e);i--;){var a=n[i];if(o&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++i<s;){var l=(a=n[i])[0],u=e[l],c=a[1];if(o&&a[2]){if(void 0===u&&!(l in e))return!1}else{var h=new Ae;if(r)var p=r(u,c,l,e,t,h);if(!(void 0===p?Ct(c,u,3,r,h):p))return!1}}return!0}(n,e,t)}},Ft=function(e){return"symbol"==typeof e||je(e)&&"[object Symbol]"==J(e)},Bt=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Tt=/^\w*$/,_t=function(e,t){if(Oe(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Ft(e))||Tt.test(e)||!Bt.test(e)||null!=t&&e in Object(t)};function Nt(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,i=t?t.apply(this,r):r[0],s=n.cache;if(s.has(i))return s.get(i);var o=e.apply(this,r);return n.cache=s.set(i,o)||s,o};return n.cache=new(Nt.Cache||De),n}Nt.Cache=De;var Ot=Nt,It=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,qt=/\\(\\)?/g,Rt=function(){var e=Ot((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(It,(function(e,n,r,i){t.push(r?i.replace(qt,"$1"):n||e)})),t}),(function(e){return 500===t.size&&t.clear(),e})),t=e.cache;return e}(),jt=function(e,t){for(var n=-1,r=null==e?0:e.length,i=Array(r);++n<r;)i[n]=t(e[n],n,e);return i},Lt=U?U.prototype:void 0,Ht=Lt?Lt.toString:void 0,Pt=function e(t){if("string"==typeof t)return t;if(Oe(t))return jt(t,e)+"";if(Ft(t))return Ht?Ht.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n},Vt=function(e){return null==e?"":Pt(e)},$t=function(e,t){return Oe(e)?e:_t(e,t)?[e]:Rt(Vt(e))},Gt=function(e){if("string"==typeof e||Ft(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t},Ut=function(e,t){for(var n=0,r=(t=$t(t,e)).length;null!=e&&n<r;)e=e[Gt(t[n++])];return n&&n==r?e:void 0},Xt=function(e,t){return null!=e&&t in Object(e)},Wt=function(e,t){return null!=e&&function(e,t,n){for(var r=-1,i=(t=$t(t,e)).length,s=!1;++r<i;){var o=Gt(t[r]);if(!(s=null!=e&&n(e,o)))break;e=e[o]}return s||++r!=i?s:!!(i=null==e?0:e.length)&&Ye(i)&&We(o,i)&&(Oe(e)||$e(e))}(e,t,Xt)},Yt=function(e,t){return _t(e)&&Mt(t)?zt(Gt(e),t):function(n){var r=function(e,t,n){var r=null==e?void 0:Ut(e,t);return void 0===r?n:r}(n,e);return void 0===r&&r===t?Wt(n,e):Ct(t,r,3)}},Zt=function(e){return e},Kt=function(e){return _t(e)?(t=Gt(e),function(e){return null==e?void 0:e[t]}):function(e){return function(t){return Ut(t,e)}}(e);var t},Qt=function(e){return"function"==typeof e?e:null==e?Zt:"object"==typeof e?Oe(e)?Yt(e[0],e[1]):Et(e):Kt(e)};Math.max,Math.min,_("old"),_("new");function Jt(e){if(!e)throw new Error("change is not provided");if(z(e))return"N".concat(e.oldLineNumber);var t=C(e)?"I":"D";return"".concat(t).concat(e.lineNumber)}q("old"),_("old"),N("oldStart","oldLines"),O("oldStart","oldLines");var en,tn=_("old"),nn=_("new"),rn=(I("old"),I("new"),q("new"),q("old"),function(){try{var e=me(Object,"defineProperty");return e({},"",{}),e}catch(t){}}()),sn=function(e,t,n){"__proto__"==t&&rn?rn(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},on=function(e,t,n){for(var r=-1,i=Object(e),s=n(e),o=s.length;o--;){var a=s[en?o:++r];if(!1===t(i[a],a,i))break}return e},an=function(e,t){return e&&on(e,t,ut)},ln=function(e,t){var n={};return t=Qt(t),an(e,(function(e,r,i){sn(n,r,t(e,r,i))})),n},un=["changeKey","text","tokens","renderToken"],cn=function e(t,n){var i=t.type,s=t.value,o=t.markType,a=t.properties,l=t.className,u=t.children,c=function(t){return(0,r.jsx)("span",{className:t,children:s||u&&u.map(e)},n)};switch(i){case"text":return s;case"mark":return c("diff-code-mark diff-code-mark-".concat(o));case"edit":return c("diff-code-edit");default:var h=a&&a.className;return c(w(l||h))}};function hn(e){if(!Array.isArray(e))return!0;if(e.length>1)return!1;if(1===e.length){var t=u(e,1)[0];return"text"===t.type&&!t.value}return!0}var pn=(0,i.memo)((function(e){var t=e.changeKey,n=e.text,i=e.tokens,s=e.renderToken,a=l(e,un),u=s?function(e,t){return s(e,cn,t)}:cn;return(0,r.jsx)("td",o(o({},a),{},{"data-change-key":t,children:i?hn(i)?" ":i.map(u):n||" "}))}));function mn(e,t){return function(){var n="old"===t?tn(e):nn(e);return-1===n?void 0:n}}function dn(e,t){return function(n){return e&&n?(0,r.jsx)("a",{href:t?"#"+t:void 0,children:n}):n}}function fn(e,t){return t?function(n){e(),t(n)}:e}function gn(e,t,n,r){return(0,i.useMemo)((function(){var i=ln(e,(function(e){return function(n){return e&&e(t,n)}}));return i.onMouseEnter=fn(n,i.onMouseEnter),i.onMouseLeave=fn(r,i.onMouseLeave),i}),[e,n,r,t])}function bn(e,t,n,i,s,a,l,u,c){var h={change:t,side:i,inHoverState:u,renderDefault:mn(t,i),wrapInAnchor:dn(s,a)};return(0,r.jsx)("td",o(o({className:e},l),{},{"data-change-key":n,children:c(h)}))}var yn=(0,i.memo)((function(e){var t,n,s,a=e.change,l=e.selected,c=e.tokens,h=e.className,p=e.generateLineClassName,m=e.gutterClassName,d=e.codeClassName,f=e.gutterEvents,g=e.codeEvents,b=e.hideGutter,y=e.gutterAnchor,x=e.generateAnchorID,v=e.renderToken,D=e.renderGutter,k=a.type,A=a.content,S=Jt(a),C=(n=(t=u((0,i.useState)(!1),2))[0],s=t[1],[n,(0,i.useCallback)((function(){return s(!0)}),[]),(0,i.useCallback)((function(){return s(!1)}),[])]),M=u(C,3),z=M[0],E=M[1],F=M[2],B=(0,i.useMemo)((function(){return{change:a}}),[a]),T=gn(f,B,E,F),_=gn(g,B,E,F),N=x(a),O=p({changes:[a],defaultGenerate:function(){return h}}),I=w("diff-gutter","diff-gutter-".concat(k),m,{"diff-gutter-selected":l}),q=w("diff-code","diff-code-".concat(k),d,{"diff-code-selected":l});return(0,r.jsxs)("tr",{id:N,className:w("diff-line",O),children:[!b&&bn(I,a,S,"old",y,N,T,z,D),!b&&bn(I,a,S,"new",y,N,T,z,D),(0,r.jsx)(pn,o({className:q,changeKey:S,text:A,tokens:c,renderToken:v},_))]})}));function xn(e){var t=e.hideGutter,n=e.element;return(0,r.jsx)("tr",{className:"diff-widget",children:(0,r.jsx)("td",{colSpan:t?1:3,className:"diff-widget-content",children:n})})}var wn=["hideGutter","selectedChanges","tokens","lineClassName"],vn=["hunk","widgets","className"];function Dn(e){var t=e.hunk,n=e.widgets,i=e.className,s=l(e,vn),a=function(e,t){return e.reduce((function(e,n){var r=Jt(n);e.push(["change",r,n]);var i=t[r];return i&&e.push(["widget",r,i]),e}),[])}(t.changes,n);return(0,r.jsx)("tbody",{className:w("diff-hunk",i),children:a.map((function(e){return function(e,t){var n=u(e,3),i=n[0],s=n[1],a=n[2],c=t.hideGutter,h=t.selectedChanges,p=t.tokens,m=t.lineClassName,d=l(t,wn);if("change"===i){var f=M(a)?"old":"new",g=M(a)?tn(a):nn(a),b=p?p[f][g-1]:null;return(0,r.jsx)(yn,o({className:m,change:a,hideGutter:c,selected:h.includes(s),tokens:b},d),"change".concat(s))}return"widget"===i?(0,r.jsx)(xn,{hideGutter:c,element:a},"widget".concat(s)):null}(e,s)}))})}function kn(e,t,n,r){var s=(0,i.useCallback)((function(){return t(e)}),[e,t]),o=(0,i.useCallback)((function(){return t("")}),[t]);return(0,i.useMemo)((function(){var t=ln(r,(function(t){return function(r){return t&&t({side:e,change:n},r)}}));return t.onMouseEnter=fn(s,t.onMouseEnter),t.onMouseLeave=fn(o,t.onMouseLeave),t}),[n,r,s,e,o])}function An(e){var t=e.change,n=e.side,i=e.selected,s=e.tokens,l=e.gutterClassName,u=e.codeClassName,c=e.gutterEvents,h=e.codeEvents,p=e.anchorID,m=e.gutterAnchor,d=e.gutterAnchorTarget,f=e.hideGutter,g=e.hover,b=e.renderToken,y=e.renderGutter;if(!t){var x=w("diff-gutter","diff-gutter-omit",l),v=w("diff-code","diff-code-omit",u);return[!f&&(0,r.jsx)("td",{className:x},"gutter"),(0,r.jsx)("td",{className:v},"code")]}var D=t.type,k=t.content,A=Jt(t),S=0===n?"old":"new",C=o({id:p||void 0,className:w("diff-gutter","diff-gutter-".concat(D),a({"diff-gutter-selected":i},"diff-line-hover-"+S,g),l),children:y({change:t,side:S,inHoverState:g,renderDefault:mn(t,S),wrapInAnchor:dn(m,d)})},c),M=w("diff-code","diff-code-".concat(D),a({"diff-code-selected":i},"diff-line-hover-"+S,g),u);return[!f&&(0,r.jsx)("td",o(o({},C),{},{"data-change-key":A}),"gutter"),(0,r.jsx)(pn,o({className:M,changeKey:A,text:k,tokens:s,renderToken:b},h),"code")]}var Sn=(0,i.memo)((function(e){var t=e.className,n=e.oldChange,s=e.newChange,a=e.oldSelected,l=e.newSelected,c=e.oldTokens,h=e.newTokens,p=e.monotonous,m=e.gutterClassName,d=e.codeClassName,f=e.gutterEvents,g=e.codeEvents,b=e.hideGutter,y=e.generateAnchorID,x=e.generateLineClassName,v=e.gutterAnchor,D=e.renderToken,k=e.renderGutter,A=u((0,i.useState)(""),2),S=A[0],C=A[1],M=kn("old",C,n,f),z=kn("new",C,s,f),E=kn("old",C,n,g),F=kn("new",C,s,g),B=n&&y(n),T=s&&y(s),_=x({changes:[n,s],defaultGenerate:function(){return t}}),N={monotonous:p,hideGutter:b,gutterClassName:m,codeClassName:d,gutterEvents:f,codeEvents:g,renderToken:D,renderGutter:k},O=o(o({},N),{},{change:n,side:0,selected:a,tokens:c,gutterEvents:M,codeEvents:E,anchorID:B,gutterAnchor:v,gutterAnchorTarget:B,hover:"old"===S}),I=o(o({},N),{},{change:s,side:1,selected:l,tokens:h,gutterEvents:z,codeEvents:F,anchorID:n===s?null:T,gutterAnchor:v,gutterAnchorTarget:n===s?B:T,hover:"new"===S});if(p)return(0,r.jsx)("tr",{className:w("diff-line",_),children:An(n?O:I)});var q=function(e,t){return e&&!t?"diff-line-old-only":!e&&t?"diff-line-new-only":e===t?"diff-line-normal":"diff-line-compare"}(n,s);return(0,r.jsxs)("tr",{className:w("diff-line",q,_),children:[An(O),An(I)]})}));function Cn(e){var t=e.hideGutter,n=e.oldElement,i=e.newElement;return e.monotonous?(0,r.jsx)("tr",{className:"diff-widget",children:(0,r.jsx)("td",{colSpan:t?1:2,className:"diff-widget-content",children:n||i})}):n===i?(0,r.jsx)("tr",{className:"diff-widget",children:(0,r.jsx)("td",{colSpan:t?2:4,className:"diff-widget-content",children:n})}):(0,r.jsxs)("tr",{className:"diff-widget",children:[(0,r.jsx)("td",{colSpan:t?1:2,className:"diff-widget-content",children:n}),(0,r.jsx)("td",{colSpan:t?1:2,className:"diff-widget-content",children:i})]})}var Mn=["selectedChanges","monotonous","hideGutter","tokens","lineClassName"],zn=["hunk","widgets","className"];function En(e,t){return(e?Jt(e):"00")+(t?Jt(t):"00")}function Fn(e){var t=e.hunk,n=e.widgets,i=e.className,s=l(e,zn),a=function(e,t){for(var n=function(e){if(!e)return null;var n=Jt(e);return t[n]||null},r=[],i=0;i<e.length;i++){var s=e[i];if(z(s))r.push(["change",En(s,s),s,s]);else if(M(s)){var o=e[i+1];o&&C(o)?(i+=1,r.push(["change",En(s,o),s,o])):r.push(["change",En(s,null),s,null])}else r.push(["change",En(null,s),null,s]);var a=r[r.length-1],l=n(a[2]),u=n(a[3]);if(l||u){var c=a[1];r.push(["widget",c,l,u])}}return r}(t.changes,n);return(0,r.jsx)("tbody",{className:w("diff-hunk",i),children:a.map((function(e){return function(e,t){var n=u(e,4),i=n[0],s=n[1],a=n[2],c=n[3],h=t.selectedChanges,p=t.monotonous,m=t.hideGutter,d=t.tokens,f=t.lineClassName,g=l(t,Mn);if("change"===i){var b=!!a&&h.includes(Jt(a)),y=!!c&&h.includes(Jt(c)),x=a&&d?d.old[tn(a)-1]:null,w=c&&d?d.new[nn(c)-1]:null;return(0,r.jsx)(Sn,o({className:f,oldChange:a,newChange:c,monotonous:p,hideGutter:m,oldSelected:b,newSelected:y,oldTokens:x,newTokens:w},g),"change".concat(s))}return"widget"===i?(0,r.jsx)(Cn,{monotonous:p,hideGutter:m,oldElement:a,newElement:c},"widget".concat(s)):null}(e,s)}))})}var Bn=["gutterType","hunkClassName"];function Tn(e){var t=e.hunk,n=A(),i=n.gutterType,s=n.hunkClassName,a=l(n,Bn),u="none"===i,c="anchor"===i,h="unified"===a.viewType?Dn:Fn;return(0,r.jsx)(h,o(o({},a),{},{hunk:t,hideGutter:u,gutterAnchor:c,className:s}))}function _n(){}function Nn(e,t){var n=t?"auto":"none";e instanceof HTMLElement&&e.style.userSelect!==n&&(e.style.userSelect=n)}function On(e){return e.map((function(e){return(0,r.jsx)(Tn,{hunk:e},function(e){return"-".concat(e.oldStart,",").concat(e.oldLines," +").concat(e.newStart,",").concat(e.newLines)}(e))}))}(0,i.memo)((function(e){var t=e.diffType,n=e.hunks,s=e.optimizeSelection,o=e.className,a=e.hunkClassName,l=void 0===a?v.hunkClassName:a,u=e.lineClassName,c=void 0===u?v.lineClassName:u,p=e.generateLineClassName,m=void 0===p?v.generateLineClassName:p,d=e.gutterClassName,f=void 0===d?v.gutterClassName:d,g=e.codeClassName,y=void 0===g?v.codeClassName:g,x=e.gutterType,D=void 0===x?v.gutterType:x,A=e.viewType,S=void 0===A?v.viewType:A,C=e.gutterEvents,M=void 0===C?v.gutterEvents:C,z=e.codeEvents,E=void 0===z?v.codeEvents:z,F=e.generateAnchorID,B=void 0===F?v.generateAnchorID:F,T=e.selectedChanges,_=void 0===T?v.selectedChanges:T,N=e.widgets,O=void 0===N?v.widgets:N,I=e.renderGutter,q=void 0===I?v.renderGutter:I,R=e.tokens,j=e.renderToken,L=e.children,H=void 0===L?On:L,P=(0,i.useRef)(null),V=(0,i.useCallback)((function(e){var t=e.target;if(0===e.button){var n=function(e){for(var t=e;t&&t!==document.documentElement&&!t.classList.contains("diff-code");)t=t.parentElement;return t===document.documentElement?null:t}(t);if(n&&n.parentElement){var r=window.getSelection();r&&r.removeAllRanges();var i=h(n.parentElement.children).indexOf(n);if(1===i||3===i){var s,o=b(P.current?P.current.querySelectorAll(".diff-line"):[]);try{for(o.s();!(s=o.n()).done;){var a=s.value.children;Nn(a[1],1===i),Nn(a[3],3===i)}}catch(l){o.e(l)}finally{o.f()}}}}}),[]),$="none"===D,G="add"===t||"delete"===t,U="split"===S&&!G&&s?V:_n,X=(0,i.useMemo)((function(){return(0,r.jsxs)("colgroup","unified"===S?{children:[!$&&(0,r.jsx)("col",{className:"diff-gutter-col"}),!$&&(0,r.jsx)("col",{className:"diff-gutter-col"}),(0,r.jsx)("col",{})]}:G?{children:[!$&&(0,r.jsx)("col",{className:"diff-gutter-col"}),(0,r.jsx)("col",{})]}:{children:[!$&&(0,r.jsx)("col",{className:"diff-gutter-col"}),(0,r.jsx)("col",{}),!$&&(0,r.jsx)("col",{className:"diff-gutter-col"}),(0,r.jsx)("col",{})]})}),[S,G,$]),W=(0,i.useMemo)((function(){return{hunkClassName:l,lineClassName:c,generateLineClassName:m,gutterClassName:f,codeClassName:y,monotonous:G,hideGutter:$,viewType:S,gutterType:D,codeEvents:E,gutterEvents:M,generateAnchorID:B,selectedChanges:_,widgets:O,renderGutter:q,tokens:R,renderToken:j}}),[y,E,B,f,M,D,$,l,c,m,G,q,j,_,R,S,O]);return(0,r.jsx)(k,{value:W,children:(0,r.jsxs)("table",{ref:P,className:w("diff","diff-".concat(S),o),onMouseDown:U,children:[X,H(n)]})})}));var In=function(e,t,n,r){for(var i=-1,s=null==e?0:e.length;++i<s;){var o=e[i];t(r,o,n(o),e)}return r},qn=function(e,t){return function(n,r){if(null==n)return n;if(!lt(n))return e(n,r);for(var i=n.length,s=t?i:-1,o=Object(n);(t?s--:++s<i)&&!1!==r(o[s],s,o););return n}}(an),Rn=function(e,t,n,r){return qn(e,(function(e,i,s){t(r,e,n(e),s)})),r},jn=function(e,t){return function(n,r){var i=Oe(n)?In:Rn,s=t?t():{};return i(n,e,Qt(r),s)}},Ln=jn((function(e,t,n){sn(e,n,t)})),Hn=U?U.isConcatSpreadable:void 0,Pn=function(e){return Oe(e)||$e(e)||!!(Hn&&e&&e[Hn])},Vn=function e(t,n,r,i,s){var o=-1,a=t.length;for(r||(r=Pn),s||(s=[]);++o<a;){var l=t[o];n>0&&r(l)?n>1?e(l,n-1,r,i,s):Ne(s,l):i||(s[s.length]=l)}return s},$n=function(e,t){var n=-1,r=lt(e)?Array(e.length):[];return qn(e,(function(e,i,s){r[++n]=t(e,i,s)})),r},Gn=function(e,t){return(Oe(e)?jt:$n)(e,Qt(t))},Un=function(e,t){return Vn(Gn(e,t),1)};function Xn(e,t){var n=t.newStart,r=t.changes.reduce((function(e,t){var n=u(e,2),r=n[0],i=n[1];return M(t)?(r.splice(i,1),[r,i]):(C(t)&&r.splice(i,0,t.content),[r,i+1])}),[e,n-1]);return u(r,1)[0]}function Wn(e,t,n){if(!e.length)return[];var r="old"===t?tn:nn,i=Ln(e,r),s=r(e[e.length-1]);return Array.from({length:s}).map((function(e,t){return n(i[t+1])}))}function Yn(e){return{type:"root",children:e}}function Zn(e,t){if(t.oldSource){var n=function(e,t){return t.reduce(Xn,e.split("\n")).join("\n")}(t.oldSource,e),r=t.highlight?function(e){return t.refractor.highlight(e,t.language)}:function(e){return[{type:"text",value:e}]};return[Yn(r(t.oldSource)),Yn(r(n))]}var i=u(function(e){var t=function(e){return Un(e,(function(e){return e.changes})).reduce((function(e,t){var n=u(e,2),r=n[0],i=n[1];return z(t)?(r.push(t),i.push(t)):M(t)?r.push(t):i.push(t),[r,i]}),[[],[]])}(e),n=u(t,2),r=n[0],i=n[1],s=function(e){return e?e.content:""};return[Wn(r,"old",s).join("\n"),Wn(i,"new",s).join("\n")]}(e),2),s=i[0],o=i[1],a=t.highlight?function(e){return Yn(t.refractor.highlight(e,t.language))}:function(e){return Yn([{type:"text",value:e}])};return[a(s),a(o)]}function Kn(e){return e.map((function(e){return o({},e)}))}function Qn(e,t){return[].concat(h(Kn(e.slice(0,-1))),[t])}function Jn(e){var t=e[e.length-1];if("text"===t.type)return t;throw new Error("Invalid token path with leaf of type ".concat(t.type))}var er=["children"];function tr(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];if(e.children){var r=e.children,i=l(e,er);n.push(i);var s,o=b(r);try{for(o.s();!(s=o.n()).done;)tr(s.value,t,n)}catch(a){o.e(a)}finally{o.f()}n.pop()}else t.push(Kn([].concat(h(n.slice(1)),[e])));return t}function nr(e){return tr(e).reduce((function(e,t){var n=e[e.length-1],r=function(e){var t=Jn(e);return t.value.includes("\n")?t.value.split("\n").map((function(n){return Qn(e,o(o({},t),{},{value:n}))})):[e]}(t),i=c(r),s=i[0],a=i.slice(1);return[].concat(h(e.slice(0,-1)),[[].concat(h(n),[s])],h(a.map((function(e){return[e]}))))}),[[]])}function rr(e,t){if(!e.children)throw new Error("parent node missing children property");var n,r,i=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}(e.children);return i&&(r=t,(n=i).type===r.type&&("text"===n.type||n.children&&r.children&&function(e,t,n){var r=(n="function"==typeof n?n:void 0)?n(e,t):void 0;return void 0===r?Ct(e,t,void 0,n):!!r}(n,r,(function(e,t,n){return"chlidren"===n||Ct(e,t)}))))?e.children[e.children.length-1]=function(e,t){return"value"in e&&"value"in t?o(o({},e),{},{value:"".concat(e.value).concat(t.value)}):e}(i,t):e.children.push(t),e.children[e.children.length-1]}function ir(e){var t,n={type:"root",children:[]},r=b(e);try{var i=function(){var e=t.value;e.reduce((function(t,n,r){return rr(t,r===e.length-1?o({},n):o(o({},n),{},{children:[]}))}),n)};for(r.s();!(t=r.n()).done;)i()}catch(s){r.e(s)}finally{r.f()}return n}var sr=Object.prototype.hasOwnProperty;jn((function(e,t,n){sr.call(e,n)?e[n].push(t):sn(e,n,[t])})),Object.prototype.hasOwnProperty;Math.max;var or=x((function(e){var t=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32};t.Diff=function(e,t){return[e,t]},t.prototype.diff_main=function(e,n,r,i){void 0===i&&(i=this.Diff_Timeout<=0?Number.MAX_VALUE:(new Date).getTime()+1e3*this.Diff_Timeout);var s=i;if(null==e||null==n)throw new Error("Null input. (diff_main)");if(e==n)return e?[new t.Diff(0,e)]:[];void 0===r&&(r=!0);var o=r,a=this.diff_commonPrefix(e,n),l=e.substring(0,a);e=e.substring(a),n=n.substring(a),a=this.diff_commonSuffix(e,n);var u=e.substring(e.length-a);e=e.substring(0,e.length-a),n=n.substring(0,n.length-a);var c=this.diff_compute_(e,n,o,s);return l&&c.unshift(new t.Diff(0,l)),u&&c.push(new t.Diff(0,u)),this.diff_cleanupMerge(c),c},t.prototype.diff_compute_=function(e,n,r,i){var s;if(!e)return[new t.Diff(1,n)];if(!n)return[new t.Diff(-1,e)];var o=e.length>n.length?e:n,a=e.length>n.length?n:e,l=o.indexOf(a);if(-1!=l)return s=[new t.Diff(1,o.substring(0,l)),new t.Diff(0,a),new t.Diff(1,o.substring(l+a.length))],e.length>n.length&&(s[0][0]=s[2][0]=-1),s;if(1==a.length)return[new t.Diff(-1,e),new t.Diff(1,n)];var u=this.diff_halfMatch_(e,n);if(u){var c=u[0],h=u[1],p=u[2],m=u[3],d=u[4],f=this.diff_main(c,p,r,i),g=this.diff_main(h,m,r,i);return f.concat([new t.Diff(0,d)],g)}return r&&e.length>100&&n.length>100?this.diff_lineMode_(e,n,i):this.diff_bisect_(e,n,i)},t.prototype.diff_lineMode_=function(e,n,r){var i=this.diff_linesToChars_(e,n);e=i.chars1,n=i.chars2;var s=i.lineArray,o=this.diff_main(e,n,!1,r);this.diff_charsToLines_(o,s),this.diff_cleanupSemantic(o),o.push(new t.Diff(0,""));for(var a=0,l=0,u=0,c="",h="";a<o.length;){switch(o[a][0]){case 1:u++,h+=o[a][1];break;case-1:l++,c+=o[a][1];break;case 0:if(l>=1&&u>=1){o.splice(a-l-u,l+u),a=a-l-u;for(var p=this.diff_main(c,h,!1,r),m=p.length-1;m>=0;m--)o.splice(a,0,p[m]);a+=p.length}u=0,l=0,c="",h=""}a++}return o.pop(),o},t.prototype.diff_bisect_=function(e,n,r){for(var i=e.length,s=n.length,o=Math.ceil((i+s)/2),a=o,l=2*o,u=new Array(l),c=new Array(l),h=0;h<l;h++)u[h]=-1,c[h]=-1;u[a+1]=0,c[a+1]=0;for(var p=i-s,m=p%2!=0,d=0,f=0,g=0,b=0,y=0;y<o&&!((new Date).getTime()>r);y++){for(var x=-y+d;x<=y-f;x+=2){for(var w=a+x,v=(C=x==-y||x!=y&&u[w-1]<u[w+1]?u[w+1]:u[w-1]+1)-x;C<i&&v<s&&e.charAt(C)==n.charAt(v);)C++,v++;if(u[w]=C,C>i)f+=2;else if(v>s)d+=2;else if(m&&(A=a+p-x)>=0&&A<l&&-1!=c[A]&&C>=(k=i-c[A]))return this.diff_bisectSplit_(e,n,C,v,r)}for(var D=-y+g;D<=y-b;D+=2){for(var k,A=a+D,S=(k=D==-y||D!=y&&c[A-1]<c[A+1]?c[A+1]:c[A-1]+1)-D;k<i&&S<s&&e.charAt(i-k-1)==n.charAt(s-S-1);)k++,S++;if(c[A]=k,k>i)b+=2;else if(S>s)g+=2;else if(!m){var C;if((w=a+p-D)>=0&&w<l&&-1!=u[w])if(v=a+(C=u[w])-w,C>=(k=i-k))return this.diff_bisectSplit_(e,n,C,v,r)}}}return[new t.Diff(-1,e),new t.Diff(1,n)]},t.prototype.diff_bisectSplit_=function(e,t,n,r,i){var s=e.substring(0,n),o=t.substring(0,r),a=e.substring(n),l=t.substring(r),u=this.diff_main(s,o,!1,i),c=this.diff_main(a,l,!1,i);return u.concat(c)},t.prototype.diff_linesToChars_=function(e,t){var n=[],r={};function i(e){for(var t="",i=0,o=-1,a=n.length;o<e.length-1;){-1==(o=e.indexOf("\n",i))&&(o=e.length-1);var l=e.substring(i,o+1);(r.hasOwnProperty?r.hasOwnProperty(l):void 0!==r[l])?t+=String.fromCharCode(r[l]):(a==s&&(l=e.substring(i),o=e.length),t+=String.fromCharCode(a),r[l]=a,n[a++]=l),i=o+1}return t}n[0]="";var s=4e4,o=i(e);return s=65535,{chars1:o,chars2:i(t),lineArray:n}},t.prototype.diff_charsToLines_=function(e,t){for(var n=0;n<e.length;n++){for(var r=e[n][1],i=[],s=0;s<r.length;s++)i[s]=t[r.charCodeAt(s)];e[n][1]=i.join("")}},t.prototype.diff_commonPrefix=function(e,t){if(!e||!t||e.charAt(0)!=t.charAt(0))return 0;for(var n=0,r=Math.min(e.length,t.length),i=r,s=0;n<i;)e.substring(s,i)==t.substring(s,i)?s=n=i:r=i,i=Math.floor((r-n)/2+n);return i},t.prototype.diff_commonSuffix=function(e,t){if(!e||!t||e.charAt(e.length-1)!=t.charAt(t.length-1))return 0;for(var n=0,r=Math.min(e.length,t.length),i=r,s=0;n<i;)e.substring(e.length-i,e.length-s)==t.substring(t.length-i,t.length-s)?s=n=i:r=i,i=Math.floor((r-n)/2+n);return i},t.prototype.diff_commonOverlap_=function(e,t){var n=e.length,r=t.length;if(0==n||0==r)return 0;n>r?e=e.substring(n-r):n<r&&(t=t.substring(0,n));var i=Math.min(n,r);if(e==t)return i;for(var s=0,o=1;;){var a=e.substring(i-o),l=t.indexOf(a);if(-1==l)return s;o+=l,0!=l&&e.substring(i-o)!=t.substring(0,o)||(s=o,o++)}},t.prototype.diff_halfMatch_=function(e,t){if(this.Diff_Timeout<=0)return null;var n=e.length>t.length?e:t,r=e.length>t.length?t:e;if(n.length<4||2*r.length<n.length)return null;var i=this;function s(e,t,n){for(var r,s,o,a,l=e.substring(n,n+Math.floor(e.length/4)),u=-1,c="";-1!=(u=t.indexOf(l,u+1));){var h=i.diff_commonPrefix(e.substring(n),t.substring(u)),p=i.diff_commonSuffix(e.substring(0,n),t.substring(0,u));c.length<p+h&&(c=t.substring(u-p,u)+t.substring(u,u+h),r=e.substring(0,n-p),s=e.substring(n+h),o=t.substring(0,u-p),a=t.substring(u+h))}return 2*c.length>=e.length?[r,s,o,a,c]:null}var o,a,l,u,c,h=s(n,r,Math.ceil(n.length/4)),p=s(n,r,Math.ceil(n.length/2));return h||p?(o=p?h&&h[4].length>p[4].length?h:p:h,e.length>t.length?(a=o[0],l=o[1],u=o[2],c=o[3]):(u=o[0],c=o[1],a=o[2],l=o[3]),[a,l,u,c,o[4]]):null},t.prototype.diff_cleanupSemantic=function(e){for(var n=!1,r=[],i=0,s=null,o=0,a=0,l=0,u=0,c=0;o<e.length;)0==e[o][0]?(r[i++]=o,a=u,l=c,u=0,c=0,s=e[o][1]):(1==e[o][0]?u+=e[o][1].length:c+=e[o][1].length,s&&s.length<=Math.max(a,l)&&s.length<=Math.max(u,c)&&(e.splice(r[i-1],0,new t.Diff(-1,s)),e[r[i-1]+1][0]=1,i--,o=--i>0?r[i-1]:-1,a=0,l=0,u=0,c=0,s=null,n=!0)),o++;for(n&&this.diff_cleanupMerge(e),this.diff_cleanupSemanticLossless(e),o=1;o<e.length;){if(-1==e[o-1][0]&&1==e[o][0]){var h=e[o-1][1],p=e[o][1],m=this.diff_commonOverlap_(h,p),d=this.diff_commonOverlap_(p,h);m>=d?(m>=h.length/2||m>=p.length/2)&&(e.splice(o,0,new t.Diff(0,p.substring(0,m))),e[o-1][1]=h.substring(0,h.length-m),e[o+1][1]=p.substring(m),o++):(d>=h.length/2||d>=p.length/2)&&(e.splice(o,0,new t.Diff(0,h.substring(0,d))),e[o-1][0]=1,e[o-1][1]=p.substring(0,p.length-d),e[o+1][0]=-1,e[o+1][1]=h.substring(d),o++),o++}o++}},t.prototype.diff_cleanupSemanticLossless=function(e){function n(e,n){if(!e||!n)return 6;var r=e.charAt(e.length-1),i=n.charAt(0),s=r.match(t.nonAlphaNumericRegex_),o=i.match(t.nonAlphaNumericRegex_),a=s&&r.match(t.whitespaceRegex_),l=o&&i.match(t.whitespaceRegex_),u=a&&r.match(t.linebreakRegex_),c=l&&i.match(t.linebreakRegex_),h=u&&e.match(t.blanklineEndRegex_),p=c&&n.match(t.blanklineStartRegex_);return h||p?5:u||c?4:s&&!a&&l?3:a||l?2:s||o?1:0}for(var r=1;r<e.length-1;){if(0==e[r-1][0]&&0==e[r+1][0]){var i=e[r-1][1],s=e[r][1],o=e[r+1][1],a=this.diff_commonSuffix(i,s);if(a){var l=s.substring(s.length-a);i=i.substring(0,i.length-a),s=l+s.substring(0,s.length-a),o=l+o}for(var u=i,c=s,h=o,p=n(i,s)+n(s,o);s.charAt(0)===o.charAt(0);){i+=s.charAt(0),s=s.substring(1)+o.charAt(0),o=o.substring(1);var m=n(i,s)+n(s,o);m>=p&&(p=m,u=i,c=s,h=o)}e[r-1][1]!=u&&(u?e[r-1][1]=u:(e.splice(r-1,1),r--),e[r][1]=c,h?e[r+1][1]=h:(e.splice(r+1,1),r--))}r++}},t.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,t.whitespaceRegex_=/\s/,t.linebreakRegex_=/[\r\n]/,t.blanklineEndRegex_=/\n\r?\n$/,t.blanklineStartRegex_=/^\r?\n\r?\n/,t.prototype.diff_cleanupEfficiency=function(e){for(var n=!1,r=[],i=0,s=null,o=0,a=!1,l=!1,u=!1,c=!1;o<e.length;)0==e[o][0]?(e[o][1].length<this.Diff_EditCost&&(u||c)?(r[i++]=o,a=u,l=c,s=e[o][1]):(i=0,s=null),u=c=!1):(-1==e[o][0]?c=!0:u=!0,s&&(a&&l&&u&&c||s.length<this.Diff_EditCost/2&&a+l+u+c==3)&&(e.splice(r[i-1],0,new t.Diff(-1,s)),e[r[i-1]+1][0]=1,i--,s=null,a&&l?(u=c=!0,i=0):(o=--i>0?r[i-1]:-1,u=c=!1),n=!0)),o++;n&&this.diff_cleanupMerge(e)},t.prototype.diff_cleanupMerge=function(e){e.push(new t.Diff(0,""));for(var n,r=0,i=0,s=0,o="",a="";r<e.length;)switch(e[r][0]){case 1:s++,a+=e[r][1],r++;break;case-1:i++,o+=e[r][1],r++;break;case 0:i+s>1?(0!==i&&0!==s&&(0!==(n=this.diff_commonPrefix(a,o))&&(r-i-s>0&&0==e[r-i-s-1][0]?e[r-i-s-1][1]+=a.substring(0,n):(e.splice(0,0,new t.Diff(0,a.substring(0,n))),r++),a=a.substring(n),o=o.substring(n)),0!==(n=this.diff_commonSuffix(a,o))&&(e[r][1]=a.substring(a.length-n)+e[r][1],a=a.substring(0,a.length-n),o=o.substring(0,o.length-n))),r-=i+s,e.splice(r,i+s),o.length&&(e.splice(r,0,new t.Diff(-1,o)),r++),a.length&&(e.splice(r,0,new t.Diff(1,a)),r++),r++):0!==r&&0==e[r-1][0]?(e[r-1][1]+=e[r][1],e.splice(r,1)):r++,s=0,i=0,o="",a=""}""===e[e.length-1][1]&&e.pop();var l=!1;for(r=1;r<e.length-1;)0==e[r-1][0]&&0==e[r+1][0]&&(e[r][1].substring(e[r][1].length-e[r-1][1].length)==e[r-1][1]?(e[r][1]=e[r-1][1]+e[r][1].substring(0,e[r][1].length-e[r-1][1].length),e[r+1][1]=e[r-1][1]+e[r+1][1],e.splice(r-1,1),l=!0):e[r][1].substring(0,e[r+1][1].length)==e[r+1][1]&&(e[r-1][1]+=e[r+1][1],e[r][1]=e[r][1].substring(e[r+1][1].length)+e[r+1][1],e.splice(r+1,1),l=!0)),r++;l&&this.diff_cleanupMerge(e)},t.prototype.diff_xIndex=function(e,t){var n,r=0,i=0,s=0,o=0;for(n=0;n<e.length&&(1!==e[n][0]&&(r+=e[n][1].length),-1!==e[n][0]&&(i+=e[n][1].length),!(r>t));n++)s=r,o=i;return e.length!=n&&-1===e[n][0]?o:o+(t-s)},t.prototype.diff_prettyHtml=function(e){for(var t=[],n=/&/g,r=/</g,i=/>/g,s=/\n/g,o=0;o<e.length;o++){var a=e[o][0],l=e[o][1].replace(n,"&amp;").replace(r,"&lt;").replace(i,"&gt;").replace(s,"&para;<br>");switch(a){case 1:t[o]='<ins style="background:#e6ffe6;">'+l+"</ins>";break;case-1:t[o]='<del style="background:#ffe6e6;">'+l+"</del>";break;case 0:t[o]="<span>"+l+"</span>"}}return t.join("")},t.prototype.diff_text1=function(e){for(var t=[],n=0;n<e.length;n++)1!==e[n][0]&&(t[n]=e[n][1]);return t.join("")},t.prototype.diff_text2=function(e){for(var t=[],n=0;n<e.length;n++)-1!==e[n][0]&&(t[n]=e[n][1]);return t.join("")},t.prototype.diff_levenshtein=function(e){for(var t=0,n=0,r=0,i=0;i<e.length;i++){var s=e[i][0],o=e[i][1];switch(s){case 1:n+=o.length;break;case-1:r+=o.length;break;case 0:t+=Math.max(n,r),n=0,r=0}}return t+Math.max(n,r)},t.prototype.diff_toDelta=function(e){for(var t=[],n=0;n<e.length;n++)switch(e[n][0]){case 1:t[n]="+"+encodeURI(e[n][1]);break;case-1:t[n]="-"+e[n][1].length;break;case 0:t[n]="="+e[n][1].length}return t.join("\t").replace(/%20/g," ")},t.prototype.diff_fromDelta=function(e,n){for(var r=[],i=0,s=0,o=n.split(/\t/g),a=0;a<o.length;a++){var l=o[a].substring(1);switch(o[a].charAt(0)){case"+":try{r[i++]=new t.Diff(1,decodeURI(l))}catch(h){throw new Error("Illegal escape in diff_fromDelta: "+l)}break;case"-":case"=":var u=parseInt(l,10);if(isNaN(u)||u<0)throw new Error("Invalid number in diff_fromDelta: "+l);var c=e.substring(s,s+=u);"="==o[a].charAt(0)?r[i++]=new t.Diff(0,c):r[i++]=new t.Diff(-1,c);break;default:if(o[a])throw new Error("Invalid diff operation in diff_fromDelta: "+o[a])}}if(s!=e.length)throw new Error("Delta length ("+s+") does not equal source text length ("+e.length+").");return r},t.prototype.match_main=function(e,t,n){if(null==e||null==t||null==n)throw new Error("Null input. (match_main)");return n=Math.max(0,Math.min(n,e.length)),e==t?0:e.length?e.substring(n,n+t.length)==t?n:this.match_bitap_(e,t,n):-1},t.prototype.match_bitap_=function(e,t,n){if(t.length>this.Match_MaxBits)throw new Error("Pattern too long for this browser.");var r=this.match_alphabet_(t),i=this;function s(e,r){var s=e/t.length,o=Math.abs(n-r);return i.Match_Distance?s+o/i.Match_Distance:o?1:s}var o=this.Match_Threshold,a=e.indexOf(t,n);-1!=a&&(o=Math.min(s(0,a),o),-1!=(a=e.lastIndexOf(t,n+t.length))&&(o=Math.min(s(0,a),o)));var l,u,c=1<<t.length-1;a=-1;for(var h,p=t.length+e.length,m=0;m<t.length;m++){for(l=0,u=p;l<u;)s(m,n+u)<=o?l=u:p=u,u=Math.floor((p-l)/2+l);p=u;var d=Math.max(1,n-u+1),f=Math.min(n+u,e.length)+t.length,g=Array(f+2);g[f+1]=(1<<m)-1;for(var b=f;b>=d;b--){var y=r[e.charAt(b-1)];if(g[b]=0===m?(g[b+1]<<1|1)&y:(g[b+1]<<1|1)&y|(h[b+1]|h[b])<<1|1|h[b+1],g[b]&c){var x=s(m,b-1);if(x<=o){if(o=x,!((a=b-1)>n))break;d=Math.max(1,2*n-a)}}}if(s(m+1,n)>o)break;h=g}return a},t.prototype.match_alphabet_=function(e){for(var t={},n=0;n<e.length;n++)t[e.charAt(n)]=0;for(n=0;n<e.length;n++)t[e.charAt(n)]|=1<<e.length-n-1;return t},t.prototype.patch_addContext_=function(e,n){if(0!=n.length){if(null===e.start2)throw Error("patch not initialized");for(var r=n.substring(e.start2,e.start2+e.length1),i=0;n.indexOf(r)!=n.lastIndexOf(r)&&r.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)i+=this.Patch_Margin,r=n.substring(e.start2-i,e.start2+e.length1+i);i+=this.Patch_Margin;var s=n.substring(e.start2-i,e.start2);s&&e.diffs.unshift(new t.Diff(0,s));var o=n.substring(e.start2+e.length1,e.start2+e.length1+i);o&&e.diffs.push(new t.Diff(0,o)),e.start1-=s.length,e.start2-=s.length,e.length1+=s.length+o.length,e.length2+=s.length+o.length}},t.prototype.patch_make=function(e,n,r){var i,s;if("string"==typeof e&&"string"==typeof n&&void 0===r)i=e,(s=this.diff_main(i,n,!0)).length>2&&(this.diff_cleanupSemantic(s),this.diff_cleanupEfficiency(s));else if(e&&"object"==typeof e&&void 0===n&&void 0===r)s=e,i=this.diff_text1(s);else if("string"==typeof e&&n&&"object"==typeof n&&void 0===r)i=e,s=n;else{if("string"!=typeof e||"string"!=typeof n||!r||"object"!=typeof r)throw new Error("Unknown call format to patch_make.");i=e,s=r}if(0===s.length)return[];for(var o=[],a=new t.patch_obj,l=0,u=0,c=0,h=i,p=i,m=0;m<s.length;m++){var d=s[m][0],f=s[m][1];switch(l||0===d||(a.start1=u,a.start2=c),d){case 1:a.diffs[l++]=s[m],a.length2+=f.length,p=p.substring(0,c)+f+p.substring(c);break;case-1:a.length1+=f.length,a.diffs[l++]=s[m],p=p.substring(0,c)+p.substring(c+f.length);break;case 0:f.length<=2*this.Patch_Margin&&l&&s.length!=m+1?(a.diffs[l++]=s[m],a.length1+=f.length,a.length2+=f.length):f.length>=2*this.Patch_Margin&&l&&(this.patch_addContext_(a,h),o.push(a),a=new t.patch_obj,l=0,h=p,u=c)}1!==d&&(u+=f.length),-1!==d&&(c+=f.length)}return l&&(this.patch_addContext_(a,h),o.push(a)),o},t.prototype.patch_deepCopy=function(e){for(var n=[],r=0;r<e.length;r++){var i=e[r],s=new t.patch_obj;s.diffs=[];for(var o=0;o<i.diffs.length;o++)s.diffs[o]=new t.Diff(i.diffs[o][0],i.diffs[o][1]);s.start1=i.start1,s.start2=i.start2,s.length1=i.length1,s.length2=i.length2,n[r]=s}return n},t.prototype.patch_apply=function(e,t){if(0==e.length)return[t,[]];e=this.patch_deepCopy(e);var n=this.patch_addPadding(e);t=n+t+n,this.patch_splitMax(e);for(var r=0,i=[],s=0;s<e.length;s++){var o,a,l=e[s].start2+r,u=this.diff_text1(e[s].diffs),c=-1;if(u.length>this.Match_MaxBits?-1!=(o=this.match_main(t,u.substring(0,this.Match_MaxBits),l))&&(-1==(c=this.match_main(t,u.substring(u.length-this.Match_MaxBits),l+u.length-this.Match_MaxBits))||o>=c)&&(o=-1):o=this.match_main(t,u,l),-1==o)i[s]=!1,r-=e[s].length2-e[s].length1;else if(i[s]=!0,r=o-l,u==(a=-1==c?t.substring(o,o+u.length):t.substring(o,c+this.Match_MaxBits)))t=t.substring(0,o)+this.diff_text2(e[s].diffs)+t.substring(o+u.length);else{var h=this.diff_main(u,a,!1);if(u.length>this.Match_MaxBits&&this.diff_levenshtein(h)/u.length>this.Patch_DeleteThreshold)i[s]=!1;else{this.diff_cleanupSemanticLossless(h);for(var p,m=0,d=0;d<e[s].diffs.length;d++){var f=e[s].diffs[d];0!==f[0]&&(p=this.diff_xIndex(h,m)),1===f[0]?t=t.substring(0,o+p)+f[1]+t.substring(o+p):-1===f[0]&&(t=t.substring(0,o+p)+t.substring(o+this.diff_xIndex(h,m+f[1].length))),-1!==f[0]&&(m+=f[1].length)}}}}return[t=t.substring(n.length,t.length-n.length),i]},t.prototype.patch_addPadding=function(e){for(var n=this.Patch_Margin,r="",i=1;i<=n;i++)r+=String.fromCharCode(i);for(i=0;i<e.length;i++)e[i].start1+=n,e[i].start2+=n;var s=e[0],o=s.diffs;if(0==o.length||0!=o[0][0])o.unshift(new t.Diff(0,r)),s.start1-=n,s.start2-=n,s.length1+=n,s.length2+=n;else if(n>o[0][1].length){var a=n-o[0][1].length;o[0][1]=r.substring(o[0][1].length)+o[0][1],s.start1-=a,s.start2-=a,s.length1+=a,s.length2+=a}return 0==(o=(s=e[e.length-1]).diffs).length||0!=o[o.length-1][0]?(o.push(new t.Diff(0,r)),s.length1+=n,s.length2+=n):n>o[o.length-1][1].length&&(a=n-o[o.length-1][1].length,o[o.length-1][1]+=r.substring(0,a),s.length1+=a,s.length2+=a),r},t.prototype.patch_splitMax=function(e){for(var n=this.Match_MaxBits,r=0;r<e.length;r++)if(!(e[r].length1<=n)){var i=e[r];e.splice(r--,1);for(var s=i.start1,o=i.start2,a="";0!==i.diffs.length;){var l=new t.patch_obj,u=!0;for(l.start1=s-a.length,l.start2=o-a.length,""!==a&&(l.length1=l.length2=a.length,l.diffs.push(new t.Diff(0,a)));0!==i.diffs.length&&l.length1<n-this.Patch_Margin;){var c=i.diffs[0][0],h=i.diffs[0][1];1===c?(l.length2+=h.length,o+=h.length,l.diffs.push(i.diffs.shift()),u=!1):-1===c&&1==l.diffs.length&&0==l.diffs[0][0]&&h.length>2*n?(l.length1+=h.length,s+=h.length,u=!1,l.diffs.push(new t.Diff(c,h)),i.diffs.shift()):(h=h.substring(0,n-l.length1-this.Patch_Margin),l.length1+=h.length,s+=h.length,0===c?(l.length2+=h.length,o+=h.length):u=!1,l.diffs.push(new t.Diff(c,h)),h==i.diffs[0][1]?i.diffs.shift():i.diffs[0][1]=i.diffs[0][1].substring(h.length))}a=(a=this.diff_text2(l.diffs)).substring(a.length-this.Patch_Margin);var p=this.diff_text1(i.diffs).substring(0,this.Patch_Margin);""!==p&&(l.length1+=p.length,l.length2+=p.length,0!==l.diffs.length&&0===l.diffs[l.diffs.length-1][0]?l.diffs[l.diffs.length-1][1]+=p:l.diffs.push(new t.Diff(0,p))),u||e.splice(++r,0,l)}}},t.prototype.patch_toText=function(e){for(var t=[],n=0;n<e.length;n++)t[n]=e[n];return t.join("")},t.prototype.patch_fromText=function(e){var n=[];if(!e)return n;for(var r=e.split("\n"),i=0,s=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;i<r.length;){var o=r[i].match(s);if(!o)throw new Error("Invalid patch string: "+r[i]);var a=new t.patch_obj;for(n.push(a),a.start1=parseInt(o[1],10),""===o[2]?(a.start1--,a.length1=1):"0"==o[2]?a.length1=0:(a.start1--,a.length1=parseInt(o[2],10)),a.start2=parseInt(o[3],10),""===o[4]?(a.start2--,a.length2=1):"0"==o[4]?a.length2=0:(a.start2--,a.length2=parseInt(o[4],10)),i++;i<r.length;){var l=r[i].charAt(0);try{var u=decodeURI(r[i].substring(1))}catch(c){throw new Error("Illegal escape in patch_fromText: "+u)}if("-"==l)a.diffs.push(new t.Diff(-1,u));else if("+"==l)a.diffs.push(new t.Diff(1,u));else if(" "==l)a.diffs.push(new t.Diff(0,u));else{if("@"==l)break;if(""!==l)throw new Error('Invalid patch mode "'+l+'" in: '+u)}i++}}return n},(t.patch_obj=function(){this.diffs=[],this.start1=null,this.start2=null,this.length1=0,this.length2=0}).prototype.toString=function(){for(var e,t=["@@ -"+(0===this.length1?this.start1+",0":1==this.length1?this.start1+1:this.start1+1+","+this.length1)+" +"+(0===this.length2?this.start2+",0":1==this.length2?this.start2+1:this.start2+1+","+this.length2)+" @@\n"],n=0;n<this.diffs.length;n++){switch(this.diffs[n][0]){case 1:e="+";break;case-1:e="-";break;case 0:e=" "}t[n+1]=e+encodeURI(this.diffs[n][1])+"\n"}return t.join("").replace(/%20/g," ")},e.exports=t,e.exports.diff_match_patch=t,e.exports.DIFF_DELETE=-1,e.exports.DIFF_INSERT=1,e.exports.DIFF_EQUAL=0}));or.DIFF_EQUAL,or.DIFF_DELETE,or.DIFF_INSERT;var ar=["enhancers"],lr=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.enhancers,i=void 0===r?[]:r,s=u(Zn(e,l(n,ar)),2),o=s[0],a=s[1],c=[nr(o),nr(a)],h=u((t=[c[0],c[1]],i.reduce((function(e,t){return t(e)}),t)),2),p=h[0],m=h[1],d=[p.map(ir),m.map(ir)],f=d[1];return{old:d[0].map((function(e){var t;return null!==(t=e.children)&&void 0!==t?t:[]})),new:f.map((function(e){var t;return null!==(t=e.children)&&void 0!==t?t:[]}))}};var ur;ur=0},70119:()=>{},72198:()=>{},25329:()=>{},20096:(e,t,n)=>{"use strict";n.d(t,{xI:()=>he});var r=n(89379),i=n(64467);function s(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let o={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function a(e){o=e}const l=/[&<>"']/,u=new RegExp(l.source,"g"),c=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,h=new RegExp(c.source,"g"),p={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},m=e=>p[e];function d(e,t){if(t){if(l.test(e))return e.replace(u,m)}else if(c.test(e))return e.replace(h,m);return e}const f=/(^|[^\[])\^/g;function g(e,t){let n="string"===typeof e?e:e.source;t=t||"";const r={replace:(e,t)=>{let i="string"===typeof t?t:t.source;return i=i.replace(f,"$1"),n=n.replace(e,i),r},getRegex:()=>new RegExp(n,t)};return r}function b(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch(t){return null}return e}const y={exec:()=>null};function x(e,t){const n=e.replace(/\|/g,((e,t,n)=>{let r=!1,i=t;for(;--i>=0&&"\\"===n[i];)r=!r;return r?"|":" |"})).split(/ \|/);let r=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),t)if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n}function w(e,t,n){const r=e.length;if(0===r)return"";let i=0;for(;i<r;){const s=e.charAt(r-i-1);if(s!==t||n){if(s===t||!n)break;i++}else i++}return e.slice(0,r-i)}function v(e,t,n,r){const i=t.href,s=t.title?d(t.title):null,o=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){r.state.inLink=!0;const e={type:"link",raw:n,href:i,title:s,text:o,tokens:r.inlineTokens(o)};return r.state.inLink=!1,e}return{type:"image",raw:n,href:i,title:s,text:d(o)}}class D{constructor(e){(0,i.A)(this,"options",void 0),(0,i.A)(this,"rules",void 0),(0,i.A)(this,"lexer",void 0),this.options=e||o}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const e=t[0].replace(/^(?: {1,4}| {0,3}\t)/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:w(e,"\n")}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const e=t[0],n=function(e,t){const n=e.match(/^(\s+)(?:```)/);if(null===n)return t;const r=n[1];return t.split("\n").map((e=>{const t=e.match(/^\s+/);if(null===t)return e;const[n]=t;return n.length>=r.length?e.slice(r.length):e})).join("\n")}(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){const t=w(e,"#");this.options.pedantic?e=t.trim():t&&!/ $/.test(t)||(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:w(t[0],"\n")}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){let e=w(t[0],"\n").split("\n"),n="",r="";const i=[];for(;e.length>0;){let t=!1;const s=[];let o;for(o=0;o<e.length;o++)if(/^ {0,3}>/.test(e[o]))s.push(e[o]),t=!0;else{if(t)break;s.push(e[o])}e=e.slice(o);const a=s.join("\n"),l=a.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,"\n $1").replace(/^ {0,3}>[ \t]?/gm,"");n=n?"".concat(n,"\n").concat(a):a,r=r?"".concat(r,"\n").concat(l):l;const u=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,i,!0),this.lexer.state.top=u,0===e.length)break;const c=i[i.length-1];if("code"===(null===c||void 0===c?void 0:c.type))break;if("blockquote"===(null===c||void 0===c?void 0:c.type)){const t=c,s=t.raw+"\n"+e.join("\n"),o=this.blockquote(s);i[i.length-1]=o,n=n.substring(0,n.length-t.raw.length)+o.raw,r=r.substring(0,r.length-t.text.length)+o.text;break}if("list"!==(null===c||void 0===c?void 0:c.type));else{const t=c,s=t.raw+"\n"+e.join("\n"),o=this.list(s);i[i.length-1]=o,n=n.substring(0,n.length-c.raw.length)+o.raw,r=r.substring(0,r.length-t.raw.length)+o.raw,e=s.substring(i[i.length-1].raw.length).split("\n")}}return{type:"blockquote",raw:n,tokens:i,text:r}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim();const r=n.length>1,i={type:"list",raw:"",ordered:r,start:r?+n.slice(0,-1):"",loose:!1,items:[]};n=r?"\\d{1,9}\\".concat(n.slice(-1)):"\\".concat(n),this.options.pedantic&&(n=r?n:"[*+-]");const s=new RegExp("^( {0,3}".concat(n,")((?:[\t ][^\\n]*)?(?:\\n|$))"));let o=!1;for(;e;){let n=!1,r="",a="";if(!(t=s.exec(e)))break;if(this.rules.block.hr.test(e))break;r=t[0],e=e.substring(r.length);let l=t[2].split("\n",1)[0].replace(/^\t+/,(e=>" ".repeat(3*e.length))),u=e.split("\n",1)[0],c=!l.trim(),h=0;if(this.options.pedantic?(h=2,a=l.trimStart()):c?h=t[1].length+1:(h=t[2].search(/[^ ]/),h=h>4?1:h,a=l.slice(h),h+=t[1].length),c&&/^[ \t]*$/.test(u)&&(r+=u+"\n",e=e.substring(u.length+1),n=!0),!n){const t=new RegExp("^ {0,".concat(Math.min(3,h-1),"}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))")),n=new RegExp("^ {0,".concat(Math.min(3,h-1),"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)")),i=new RegExp("^ {0,".concat(Math.min(3,h-1),"}(?:```|~~~)")),s=new RegExp("^ {0,".concat(Math.min(3,h-1),"}#")),o=new RegExp("^ {0,".concat(Math.min(3,h-1),"}<(?:[a-z].*>|!--)"),"i");for(;e;){const p=e.split("\n",1)[0];let m;if(u=p,this.options.pedantic?(u=u.replace(/^ {1,4}(?=( {4})*[^ ])/g," "),m=u):m=u.replace(/\t/g," "),i.test(u))break;if(s.test(u))break;if(o.test(u))break;if(t.test(u))break;if(n.test(u))break;if(m.search(/[^ ]/)>=h||!u.trim())a+="\n"+m.slice(h);else{if(c)break;if(l.replace(/\t/g," ").search(/[^ ]/)>=4)break;if(i.test(l))break;if(s.test(l))break;if(n.test(l))break;a+="\n"+u}c||u.trim()||(c=!0),r+=p+"\n",e=e.substring(p.length+1),l=m.slice(h)}}i.loose||(o?i.loose=!0:/\n[ \t]*\n[ \t]*$/.test(r)&&(o=!0));let p,m=null;this.options.gfm&&(m=/^\[[ xX]\] /.exec(a),m&&(p="[ ] "!==m[0],a=a.replace(/^\[[ xX]\] +/,""))),i.items.push({type:"list_item",raw:r,task:!!m,checked:p,loose:!1,text:a,tokens:[]}),i.raw+=r}i.items[i.items.length-1].raw=i.items[i.items.length-1].raw.trimEnd(),i.items[i.items.length-1].text=i.items[i.items.length-1].text.trimEnd(),i.raw=i.raw.trimEnd();for(let e=0;e<i.items.length;e++)if(this.lexer.state.top=!1,i.items[e].tokens=this.lexer.blockTokens(i.items[e].text,[]),!i.loose){const t=i.items[e].tokens.filter((e=>"space"===e.type)),n=t.length>0&&t.some((e=>/\n.*\n/.test(e.raw)));i.loose=n}if(i.loose)for(let e=0;e<i.items.length;e++)i.items[e].loose=!0;return i}}html(e){const t=this.rules.block.html.exec(e);if(t){return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}}def(e){const t=this.rules.block.def.exec(e);if(t){const e=t[1].toLowerCase().replace(/\s+/g," "),n=t[2]?t[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:n,title:r}}}table(e){const t=this.rules.block.table.exec(e);if(!t)return;if(!/[:|]/.test(t[2]))return;const n=x(t[1]),r=t[2].replace(/^\||\| *$/g,"").split("|"),i=t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[],s={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===r.length){for(const e of r)/^ *-+: *$/.test(e)?s.align.push("right"):/^ *:-+: *$/.test(e)?s.align.push("center"):/^ *:-+ *$/.test(e)?s.align.push("left"):s.align.push(null);for(let e=0;e<n.length;e++)s.header.push({text:n[e],tokens:this.lexer.inline(n[e]),header:!0,align:s.align[e]});for(const e of i)s.rows.push(x(e,s.header.length).map(((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:s.align[t]}))));return s}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:d(t[1])}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=t[2].trim();if(!this.options.pedantic&&/^</.test(e)){if(!/>$/.test(e))return;const t=w(e.slice(0,-1),"\\");if((e.length-t.length)%2===0)return}else{const e=function(e,t){if(-1===e.indexOf(t[1]))return-1;let n=0;for(let r=0;r<e.length;r++)if("\\"===e[r])r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return-1}(t[2],"()");if(e>-1){const n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],r="";if(this.options.pedantic){const e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);e&&(n=e[1],r=e[3])}else r=t[3]?t[3].slice(1,-1):"";return n=n.trim(),/^</.test(n)&&(n=this.options.pedantic&&!/>$/.test(e)?n.slice(1):n.slice(1,-1)),v(t,{href:n?n.replace(this.rules.inline.anyPunctuation,"$1"):n,title:r?r.replace(this.rules.inline.anyPunctuation,"$1"):r},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){const e=t[(n[2]||n[1]).replace(/\s+/g," ").toLowerCase()];if(!e){const e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return v(n,e,n[0],this.lexer)}}emStrong(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=this.rules.inline.emStrongLDelim.exec(e);if(!r)return;if(r[3]&&n.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDDC0-\uDDF3\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDD40-\uDD65\uDD6F-\uDD85\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDEC2-\uDEC4\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61\uDF80-\uDF89\uDF8B\uDF8E\uDF90-\uDFB5\uDFB7\uDFD1\uDFD3]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDED0-\uDEE3\uDF00-\uDF1A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0\uDFF0-\uDFF9]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDF50-\uDF59\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD1D\uDD30-\uDD39]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDD70-\uDD79\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD833[\uDCF0-\uDCF9]|\uD834[\uDEC0-\uDED3\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDCD0-\uDCEB\uDCF0-\uDCF9\uDDD0-\uDDED\uDDF0-\uDDFA\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])/))return;if(!(r[1]||r[2]||"")||!n||this.rules.inline.punctuation.exec(n)){const n=[...r[0]].length-1;let i,s,o=n,a=0;const l="*"===r[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+n);null!=(r=l.exec(t));){if(i=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!i)continue;if(s=[...i].length,r[3]||r[4]){o+=s;continue}if((r[5]||r[6])&&n%3&&!((n+s)%3)){a+=s;continue}if(o-=s,o>0)continue;s=Math.min(s,s+o+a);const t=[...r[0]][0].length,l=e.slice(0,n+r.index+t+s);if(Math.min(n,s)%2){const e=l.slice(1,-1);return{type:"em",raw:l,text:e,tokens:this.lexer.inlineTokens(e)}}const u=l.slice(2,-2);return{type:"strong",raw:l,text:u,tokens:this.lexer.inlineTokens(u)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," ");const n=/[^ ]/.test(e),r=/^ /.test(e)&&/ $/.test(e);return n&&r&&(e=e.substring(1,e.length-1)),e=d(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){const t=this.rules.inline.autolink.exec(e);if(t){let e,n;return"@"===t[2]?(e=d(t[1]),n="mailto:"+e):(e=d(t[1]),n=e),{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,i;if("@"===t[2])e=d(t[0]),i="mailto:"+e;else{let s;do{var n,r;s=t[0],t[0]=null!==(n=null===(r=this.rules.inline._backpedal.exec(t[0]))||void 0===r?void 0:r[0])&&void 0!==n?n:""}while(s!==t[0]);e=d(t[0]),i="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:i,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){const t=this.rules.inline.text.exec(e);if(t){let e;return e=this.lexer.state.inRawBlock?t[0]:d(t[0]),{type:"text",raw:t[0],text:e}}}}const k=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,A=/(?:[*+-]|\d{1,9}[.)])/,S=g(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,A).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),C=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,M=/(?!\s*\])(?:\\.|[^\[\]\\])+/,z=g(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",M).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),E=g(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,A).getRegex(),F="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",B=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,T=g("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",B).replace("tag",F).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),_=g(C).replace("hr",k).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",F).getRegex(),N={blockquote:g(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",_).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:z,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:k,html:T,lheading:S,list:E,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:_,table:y,text:/^[^\n]+/},O=g("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",k).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",F).getRegex(),I=(0,r.A)((0,r.A)({},N),{},{table:O,paragraph:g(C).replace("hr",k).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",O).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",F).getRegex()}),q=(0,r.A)((0,r.A)({},N),{},{html:g("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",B).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:y,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:g(C).replace("hr",k).replace("heading"," *#{1,6} *[^\n]").replace("lheading",S).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()}),R=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,j=/^( {2,}|\\)\n(?!\s*$)/,L="\\p{P}\\p{S}",H=g(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,L).getRegex(),P=g(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,L).getRegex(),V=g("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,L).getRegex(),$=g("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,L).getRegex(),G=g(/\\([punct])/,"gu").replace(/punct/g,L).getRegex(),U=g(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),X=g(B).replace("(?:--\x3e|$)","--\x3e").getRegex(),W=g("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",X).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Y=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Z=g(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Y).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),K=g(/^!?\[(label)\]\[(ref)\]/).replace("label",Y).replace("ref",M).getRegex(),Q=g(/^!?\[(ref)\](?:\[\])?/).replace("ref",M).getRegex(),J={_backpedal:y,anyPunctuation:G,autolink:U,blockSkip:/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,br:j,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:y,emStrongLDelim:P,emStrongRDelimAst:V,emStrongRDelimUnd:$,escape:R,link:Z,nolink:Q,punctuation:H,reflink:K,reflinkSearch:g("reflink|nolink(?!\\()","g").replace("reflink",K).replace("nolink",Q).getRegex(),tag:W,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:y},ee=(0,r.A)((0,r.A)({},J),{},{link:g(/^!?\[(label)\]\((.*?)\)/).replace("label",Y).getRegex(),reflink:g(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Y).getRegex()}),te=(0,r.A)((0,r.A)({},J),{},{escape:g(R).replace("])","~|])").getRegex(),url:g(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),ne=(0,r.A)((0,r.A)({},te),{},{br:g(j).replace("{2,}","*").getRegex(),text:g(te.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()}),re={normal:N,gfm:I,pedantic:q},ie={normal:J,gfm:te,breaks:ne,pedantic:ee};class se{constructor(e){(0,i.A)(this,"tokens",void 0),(0,i.A)(this,"options",void 0),(0,i.A)(this,"state",void 0),(0,i.A)(this,"tokenizer",void 0),(0,i.A)(this,"inlineQueue",void 0),this.tokens=[],this.tokens.links=Object.create(null),this.options=e||o,this.options.tokenizer=this.options.tokenizer||new D,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={block:re.normal,inline:ie.normal};this.options.pedantic?(t.block=re.pedantic,t.inline=ie.pedantic):this.options.gfm&&(t.block=re.gfm,this.options.breaks?t.inline=ie.breaks:t.inline=ie.gfm),this.tokenizer.rules=t}static get rules(){return{block:re,inline:ie}}static lex(e,t){return new se(t).lex(e)}static lexInline(e,t){return new se(t).inlineTokens(e)}lex(e){e=e.replace(/\r\n|\r/g,"\n"),this.blockTokens(e,this.tokens);for(let t=0;t<this.inlineQueue.length;t++){const e=this.inlineQueue[t];this.inlineTokens(e.src,e.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e){let t,n,r,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],s=arguments.length>2&&void 0!==arguments[2]&&arguments[2];for(this.options.pedantic&&(e=e.replace(/\t/g," ").replace(/^ +$/gm,""));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((n=>!!(t=n.call({lexer:this},e,i))&&(e=e.substring(t.raw.length),i.push(t),!0)))))if(t=this.tokenizer.space(e))e=e.substring(t.raw.length),1===t.raw.length&&i.length>0?i[i.length-1].raw+="\n":i.push(t);else if(t=this.tokenizer.code(e))e=e.substring(t.raw.length),n=i[i.length-1],!n||"paragraph"!==n.type&&"text"!==n.type?i.push(t):(n.raw+="\n"+t.raw,n.text+="\n"+t.text,this.inlineQueue[this.inlineQueue.length-1].src=n.text);else if(t=this.tokenizer.fences(e))e=e.substring(t.raw.length),i.push(t);else if(t=this.tokenizer.heading(e))e=e.substring(t.raw.length),i.push(t);else if(t=this.tokenizer.hr(e))e=e.substring(t.raw.length),i.push(t);else if(t=this.tokenizer.blockquote(e))e=e.substring(t.raw.length),i.push(t);else if(t=this.tokenizer.list(e))e=e.substring(t.raw.length),i.push(t);else if(t=this.tokenizer.html(e))e=e.substring(t.raw.length),i.push(t);else if(t=this.tokenizer.def(e))e=e.substring(t.raw.length),n=i[i.length-1],!n||"paragraph"!==n.type&&"text"!==n.type?this.tokens.links[t.tag]||(this.tokens.links[t.tag]={href:t.href,title:t.title}):(n.raw+="\n"+t.raw,n.text+="\n"+t.raw,this.inlineQueue[this.inlineQueue.length-1].src=n.text);else if(t=this.tokenizer.table(e))e=e.substring(t.raw.length),i.push(t);else if(t=this.tokenizer.lheading(e))e=e.substring(t.raw.length),i.push(t);else{if(r=e,this.options.extensions&&this.options.extensions.startBlock){let t=1/0;const n=e.slice(1);let i;this.options.extensions.startBlock.forEach((e=>{i=e.call({lexer:this},n),"number"===typeof i&&i>=0&&(t=Math.min(t,i))})),t<1/0&&t>=0&&(r=e.substring(0,t+1))}var o;if(this.state.top&&(t=this.tokenizer.paragraph(r)))n=i[i.length-1],s&&"paragraph"===(null===(o=n)||void 0===o?void 0:o.type)?(n.raw+="\n"+t.raw,n.text+="\n"+t.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):i.push(t),s=r.length!==e.length,e=e.substring(t.raw.length);else if(t=this.tokenizer.text(e))e=e.substring(t.raw.length),n=i[i.length-1],n&&"text"===n.type?(n.raw+="\n"+t.raw,n.text+="\n"+t.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):i.push(t);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return this.state.top=!0,i}inline(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e){let t,n,r,i,s,o,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],l=e;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(i=this.tokenizer.rules.inline.reflinkSearch.exec(l));)e.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(i=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(i=this.tokenizer.rules.inline.anyPunctuation.exec(l));)l=l.slice(0,i.index)+"++"+l.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(s||(o=""),s=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((n=>!!(t=n.call({lexer:this},e,a))&&(e=e.substring(t.raw.length),a.push(t),!0)))))if(t=this.tokenizer.escape(e))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.tag(e))e=e.substring(t.raw.length),n=a[a.length-1],n&&"text"===t.type&&"text"===n.type?(n.raw+=t.raw,n.text+=t.text):a.push(t);else if(t=this.tokenizer.link(e))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(t.raw.length),n=a[a.length-1],n&&"text"===t.type&&"text"===n.type?(n.raw+=t.raw,n.text+=t.text):a.push(t);else if(t=this.tokenizer.emStrong(e,l,o))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.codespan(e))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.br(e))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.del(e))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.autolink(e))e=e.substring(t.raw.length),a.push(t);else if(this.state.inLink||!(t=this.tokenizer.url(e))){if(r=e,this.options.extensions&&this.options.extensions.startInline){let t=1/0;const n=e.slice(1);let i;this.options.extensions.startInline.forEach((e=>{i=e.call({lexer:this},n),"number"===typeof i&&i>=0&&(t=Math.min(t,i))})),t<1/0&&t>=0&&(r=e.substring(0,t+1))}if(t=this.tokenizer.inlineText(r))e=e.substring(t.raw.length),"_"!==t.raw.slice(-1)&&(o=t.raw.slice(-1)),s=!0,n=a[a.length-1],n&&"text"===n.type?(n.raw+=t.raw,n.text+=t.text):a.push(t);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}else e=e.substring(t.raw.length),a.push(t);return a}}class oe{constructor(e){(0,i.A)(this,"options",void 0),(0,i.A)(this,"parser",void 0),this.options=e||o}space(e){return""}code(e){var t;let{text:n,lang:r,escaped:i}=e;const s=null===(t=(r||"").match(/^\S*/))||void 0===t?void 0:t[0],o=n.replace(/\n$/,"")+"\n";return s?'<pre><code class="language-'+d(s)+'">'+(i?o:d(o,!0))+"</code></pre>\n":"<pre><code>"+(i?o:d(o,!0))+"</code></pre>\n"}blockquote(e){let{tokens:t}=e;const n=this.parser.parse(t);return"<blockquote>\n".concat(n,"</blockquote>\n")}html(e){let{text:t}=e;return t}heading(e){let{tokens:t,depth:n}=e;return"<h".concat(n,">").concat(this.parser.parseInline(t),"</h").concat(n,">\n")}hr(e){return"<hr>\n"}list(e){const t=e.ordered,n=e.start;let r="";for(let s=0;s<e.items.length;s++){const t=e.items[s];r+=this.listitem(t)}const i=t?"ol":"ul";return"<"+i+(t&&1!==n?' start="'+n+'"':"")+">\n"+r+"</"+i+">\n"}listitem(e){let t="";if(e.task){const n=this.checkbox({checked:!!e.checked});e.loose?e.tokens.length>0&&"paragraph"===e.tokens[0].type?(e.tokens[0].text=n+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&"text"===e.tokens[0].tokens[0].type&&(e.tokens[0].tokens[0].text=n+" "+e.tokens[0].tokens[0].text)):e.tokens.unshift({type:"text",raw:n+" ",text:n+" "}):t+=n+" "}return t+=this.parser.parse(e.tokens,!!e.loose),"<li>".concat(t,"</li>\n")}checkbox(e){let{checked:t}=e;return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph(e){let{tokens:t}=e;return"<p>".concat(this.parser.parseInline(t),"</p>\n")}table(e){let t="",n="";for(let i=0;i<e.header.length;i++)n+=this.tablecell(e.header[i]);t+=this.tablerow({text:n});let r="";for(let i=0;i<e.rows.length;i++){const t=e.rows[i];n="";for(let e=0;e<t.length;e++)n+=this.tablecell(t[e]);r+=this.tablerow({text:n})}return r&&(r="<tbody>".concat(r,"</tbody>")),"<table>\n<thead>\n"+t+"</thead>\n"+r+"</table>\n"}tablerow(e){let{text:t}=e;return"<tr>\n".concat(t,"</tr>\n")}tablecell(e){const t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?"<".concat(n,' align="').concat(e.align,'">'):"<".concat(n,">"))+t+"</".concat(n,">\n")}strong(e){let{tokens:t}=e;return"<strong>".concat(this.parser.parseInline(t),"</strong>")}em(e){let{tokens:t}=e;return"<em>".concat(this.parser.parseInline(t),"</em>")}codespan(e){let{text:t}=e;return"<code>".concat(t,"</code>")}br(e){return"<br>"}del(e){let{tokens:t}=e;return"<del>".concat(this.parser.parseInline(t),"</del>")}link(e){let{href:t,title:n,tokens:r}=e;const i=this.parser.parseInline(r),s=b(t);if(null===s)return i;t=s;let o='<a href="'+t+'"';return n&&(o+=' title="'+n+'"'),o+=">"+i+"</a>",o}image(e){let{href:t,title:n,text:r}=e;const i=b(t);if(null===i)return r;t=i;let s='<img src="'.concat(t,'" alt="').concat(r,'"');return n&&(s+=' title="'.concat(n,'"')),s+=">",s}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):e.text}}class ae{strong(e){let{text:t}=e;return t}em(e){let{text:t}=e;return t}codespan(e){let{text:t}=e;return t}del(e){let{text:t}=e;return t}html(e){let{text:t}=e;return t}text(e){let{text:t}=e;return t}link(e){let{text:t}=e;return""+t}image(e){let{text:t}=e;return""+t}br(){return""}}class le{constructor(e){(0,i.A)(this,"options",void 0),(0,i.A)(this,"renderer",void 0),(0,i.A)(this,"textRenderer",void 0),this.options=e||o,this.options.renderer=this.options.renderer||new oe,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new ae}static parse(e,t){return new le(t).parse(e)}static parseInline(e,t){return new le(t).parseInline(e)}parse(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n="";for(let r=0;r<e.length;r++){const i=e[r];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]){const e=i,t=this.options.extensions.renderers[e.type].call({parser:this},e);if(!1!==t||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(e.type)){n+=t||"";continue}}const s=i;switch(s.type){case"space":n+=this.renderer.space(s);continue;case"hr":n+=this.renderer.hr(s);continue;case"heading":n+=this.renderer.heading(s);continue;case"code":n+=this.renderer.code(s);continue;case"table":n+=this.renderer.table(s);continue;case"blockquote":n+=this.renderer.blockquote(s);continue;case"list":n+=this.renderer.list(s);continue;case"html":n+=this.renderer.html(s);continue;case"paragraph":n+=this.renderer.paragraph(s);continue;case"text":{let i=s,o=this.renderer.text(i);for(;r+1<e.length&&"text"===e[r+1].type;)i=e[++r],o+="\n"+this.renderer.text(i);n+=t?this.renderer.paragraph({type:"paragraph",raw:o,text:o,tokens:[{type:"text",raw:o,text:o}]}):o;continue}default:{const e='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return n}parseInline(e,t){t=t||this.renderer;let n="";for(let r=0;r<e.length;r++){const i=e[r];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[i.type]){const e=this.options.extensions.renderers[i.type].call({parser:this},i);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(i.type)){n+=e||"";continue}}const s=i;switch(s.type){case"escape":case"text":n+=t.text(s);break;case"html":n+=t.html(s);break;case"link":n+=t.link(s);break;case"image":n+=t.image(s);break;case"strong":n+=t.strong(s);break;case"em":n+=t.em(s);break;case"codespan":n+=t.codespan(s);break;case"br":n+=t.br(s);break;case"del":n+=t.del(s);break;default:{const e='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return n}}class ue{constructor(e){(0,i.A)(this,"options",void 0),(0,i.A)(this,"block",void 0),this.options=e||o}preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}provideLexer(){return this.block?se.lex:se.lexInline}provideParser(){return this.block?le.parse:le.parseInline}}(0,i.A)(ue,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));const ce=new class{constructor(){(0,i.A)(this,"defaults",{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}),(0,i.A)(this,"options",this.setOptions),(0,i.A)(this,"parse",this.parseMarkdown(!0)),(0,i.A)(this,"parseInline",this.parseMarkdown(!1)),(0,i.A)(this,"Parser",le),(0,i.A)(this,"Renderer",oe),(0,i.A)(this,"TextRenderer",ae),(0,i.A)(this,"Lexer",se),(0,i.A)(this,"Tokenizer",D),(0,i.A)(this,"Hooks",ue),this.use(...arguments)}walkTokens(e,t){let n=[];for(const i of e)switch(n=n.concat(t.call(this,i)),i.type){case"table":{const e=i;for(const r of e.header)n=n.concat(this.walkTokens(r.tokens,t));for(const r of e.rows)for(const e of r)n=n.concat(this.walkTokens(e.tokens,t));break}case"list":{const e=i;n=n.concat(this.walkTokens(e.items,t));break}default:{var r;const e=i;null!==(r=this.defaults.extensions)&&void 0!==r&&null!==(r=r.childTokens)&&void 0!==r&&r[e.type]?this.defaults.extensions.childTokens[e.type].forEach((r=>{const i=e[r].flat(1/0);n=n.concat(this.walkTokens(i,t))})):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(){const e=this.defaults.extensions||{renderers:{},childTokens:{}};for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return n.forEach((t=>{const n=(0,r.A)({},t);if(n.async=this.defaults.async||n.async||!1,t.extensions&&(t.extensions.forEach((t=>{if(!t.name)throw new Error("extension name required");if("renderer"in t){const n=e.renderers[t.name];e.renderers[t.name]=n?function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];let s=t.renderer.apply(this,r);return!1===s&&(s=n.apply(this,r)),s}:t.renderer}if("tokenizer"in t){if(!t.level||"block"!==t.level&&"inline"!==t.level)throw new Error("extension level must be 'block' or 'inline'");const n=e[t.level];n?n.unshift(t.tokenizer):e[t.level]=[t.tokenizer],t.start&&("block"===t.level?e.startBlock?e.startBlock.push(t.start):e.startBlock=[t.start]:"inline"===t.level&&(e.startInline?e.startInline.push(t.start):e.startInline=[t.start]))}"childTokens"in t&&t.childTokens&&(e.childTokens[t.name]=t.childTokens)})),n.extensions=e),t.renderer){const e=this.defaults.renderer||new oe(this.defaults);for(const n in t.renderer){if(!(n in e))throw new Error("renderer '".concat(n,"' does not exist"));if(["options","parser"].includes(n))continue;const r=n,i=t.renderer[r],s=e[r];e[r]=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];let o=i.apply(e,n);return!1===o&&(o=s.apply(e,n)),o||""}}n.renderer=e}if(t.tokenizer){const e=this.defaults.tokenizer||new D(this.defaults);for(const n in t.tokenizer){if(!(n in e))throw new Error("tokenizer '".concat(n,"' does not exist"));if(["options","rules","lexer"].includes(n))continue;const r=n,i=t.tokenizer[r],s=e[r];e[r]=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];let o=i.apply(e,n);return!1===o&&(o=s.apply(e,n)),o}}n.tokenizer=e}if(t.hooks){const e=this.defaults.hooks||new ue;for(const n in t.hooks){if(!(n in e))throw new Error("hook '".concat(n,"' does not exist"));if(["options","block"].includes(n))continue;const r=n,i=t.hooks[r],s=e[r];ue.passThroughHooks.has(n)?e[r]=t=>{if(this.defaults.async)return Promise.resolve(i.call(e,t)).then((t=>s.call(e,t)));const n=i.call(e,t);return s.call(e,n)}:e[r]=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];let o=i.apply(e,n);return!1===o&&(o=s.apply(e,n)),o}}n.hooks=e}if(t.walkTokens){const e=this.defaults.walkTokens,r=t.walkTokens;n.walkTokens=function(t){let n=[];return n.push(r.call(this,t)),e&&(n=n.concat(e.call(this,t))),n}}this.defaults=(0,r.A)((0,r.A)({},this.defaults),n)})),this}setOptions(e){return this.defaults=(0,r.A)((0,r.A)({},this.defaults),e),this}lexer(e,t){return se.lex(e,null!==t&&void 0!==t?t:this.defaults)}parser(e,t){return le.parse(e,null!==t&&void 0!==t?t:this.defaults)}parseMarkdown(e){return(t,n)=>{const i=(0,r.A)({},n),s=(0,r.A)((0,r.A)({},this.defaults),i),o=this.onError(!!s.silent,!!s.async);if(!0===this.defaults.async&&!1===i.async)return o(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if("undefined"===typeof t||null===t)return o(new Error("marked(): input parameter is undefined or null"));if("string"!==typeof t)return o(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));s.hooks&&(s.hooks.options=s,s.hooks.block=e);const a=s.hooks?s.hooks.provideLexer():e?se.lex:se.lexInline,l=s.hooks?s.hooks.provideParser():e?le.parse:le.parseInline;if(s.async)return Promise.resolve(s.hooks?s.hooks.preprocess(t):t).then((e=>a(e,s))).then((e=>s.hooks?s.hooks.processAllTokens(e):e)).then((e=>s.walkTokens?Promise.all(this.walkTokens(e,s.walkTokens)).then((()=>e)):e)).then((e=>l(e,s))).then((e=>s.hooks?s.hooks.postprocess(e):e)).catch(o);try{s.hooks&&(t=s.hooks.preprocess(t));let e=a(t,s);s.hooks&&(e=s.hooks.processAllTokens(e)),s.walkTokens&&this.walkTokens(e,s.walkTokens);let n=l(e,s);return s.hooks&&(n=s.hooks.postprocess(n)),n}catch(u){return o(u)}}}onError(e,t){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",e){const e="<p>An error occurred:</p><pre>"+d(n.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}};function he(e,t){return ce.parse(e,t)}he.options=he.setOptions=function(e){return ce.setOptions(e),he.defaults=ce.defaults,a(he.defaults),he},he.getDefaults=s,he.defaults=o,he.use=function(){return ce.use(...arguments),he.defaults=ce.defaults,a(he.defaults),he},he.walkTokens=function(e,t){return ce.walkTokens(e,t)},he.parseInline=ce.parseInline,he.Parser=le,he.parser=le.parse,he.Renderer=oe,he.TextRenderer=ae,he.Lexer=se,he.lexer=se.lex,he.Tokenizer=D,he.Hooks=ue,he.parse=he;he.options,he.setOptions,he.use,he.walkTokens,he.parseInline,le.parse,se.lex}}]);
3
- //# sourceMappingURL=50295.ab92f61b.chunk.js.map
1
+ /*! For license information please see 50295.90aca393.chunk.js.LICENSE.txt */
2
+ (self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[50295],{16523:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(58168),s=n(65043);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file",theme:"outlined"};var o=n(22172),a=function(e,t){return s.createElement(o.A,(0,r.A)({},e,{ref:t,icon:i}))};const l=s.forwardRef(a)},77848:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(58168),s=n(65043);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 394c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H708V152c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v166H400V152c0-4.4-3.6-8-8-8h-64c-4.4 0-8 3.6-8 8v166H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h168v236H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h168v166c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V706h228v166c0 4.4 3.6 8 8 8h64c4.4 0 8-3.6 8-8V706h164c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8H708V394h164zM628 630H400V394h228v236z"}}]},name:"number",theme:"outlined"};var o=n(22172),a=function(e,t){return s.createElement(o.A,(0,r.A)({},e,{ref:t,icon:i}))};const l=s.forwardRef(a)},77677:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(58168),s=n(65043);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z"}},{tag:"path",attrs:{d:"M719.4 499.1l-296.1-215A15.9 15.9 0 00398 297v430c0 13.1 14.8 20.5 25.3 12.9l296.1-215a15.9 15.9 0 000-25.8zm-257.6 134V390.9L628.5 512 461.8 633.1z"}}]},name:"play-circle",theme:"outlined"};var o=n(22172),a=function(e,t){return s.createElement(o.A,(0,r.A)({},e,{ref:t,icon:i}))};const l=s.forwardRef(a)},17857:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(58168),s=n(65043);const i={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M938.2 508.4L787.3 389c-3-2.4-7.3-.2-7.3 3.6V478H636V184h204v128c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V144c0-15.5-12.5-28-28-28H596c-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 4v128H636V546h144v85.4c0 3.8 4.4 6 7.3 3.6l150.9-119.4a4.5 4.5 0 000-7.2zM428 116H144c-15.5 0-28 12.5-28 28v168c0 2.2 1.8 4 4 4h60c2.2 0 4-1.8 4-4V184h204v294H244v-85.4c0-3.8-4.3-6-7.3-3.6l-151 119.4a4.52 4.52 0 000 7.1l151 119.5c2.9 2.3 7.3.2 7.3-3.6V546h144v294H184V712c0-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"}}]},name:"split-cells",theme:"outlined"};var o=n(22172),a=function(e,t){return s.createElement(o.A,(0,r.A)({},e,{ref:t,icon:i}))};const l=s.forwardRef(a)},25183:function(e){var t;"undefined"!==typeof self&&self,t=function(){return function(){"use strict";var e={d:function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},o:function(e,t){return Object.prototype.hasOwnProperty.call(e,t)}},t={};e.d(t,{default:function(){return Gr}});class n{constructor(e,t){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;let r,s,i="KaTeX parse error: "+e;const o=t&&t.loc;if(o&&o.start<=o.end){const e=o.lexer.input;r=o.start,s=o.end,r===e.length?i+=" at end of input: ":i+=" at position "+(r+1)+": ";const t=e.slice(r,s).replace(/[^]/g,"$&\u0332");let n,a;n=r>15?"\u2026"+e.slice(r-15,r):e.slice(0,r),a=s+15<e.length?e.slice(s,s+15)+"\u2026":e.slice(s),i+=n+t+a}const a=new Error(i);return a.name="ParseError",a.__proto__=n.prototype,a.position=r,null!=r&&null!=s&&(a.length=s-r),a.rawMessage=e,a}}n.prototype.__proto__=Error.prototype;var r=n;const s=/([A-Z])/g,i={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},o=/[&><"']/g,a=function(e){return"ordgroup"===e.type||"color"===e.type?1===e.body.length?a(e.body[0]):e:"font"===e.type?a(e.body):e};var l={contains:function(e,t){return-1!==e.indexOf(t)},deflt:function(e,t){return void 0===e?t:e},escape:function(e){return String(e).replace(o,(e=>i[e]))},hyphenate:function(e){return e.replace(s,"-$1").toLowerCase()},getBaseElem:a,isCharacterBox:function(e){const t=a(e);return"mathord"===t.type||"textord"===t.type||"atom"===t.type},protocolFromUrl:function(e){const 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"}};const u={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 c(e){if(e.default)return e.default;const t=e.type,n=Array.isArray(t)?t[0]:t;if("string"!==typeof n)return n.enum[0];switch(n){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class h{constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{};for(const t in u)if(u.hasOwnProperty(t)){const n=u[t];this[t]=void 0!==e[t]?n.processor?n.processor(e[t]):e[t]:c(n)}}reportNonstrict(e,t,n){let s=this.strict;if("function"===typeof s&&(s=s(e,t,n)),s&&"ignore"!==s){if(!0===s||"error"===s)throw new r("LaTeX-incompatible input and strict mode is set to 'error': "+t+" ["+e+"]",n);"warn"===s?"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 '"+s+"': "+t+" ["+e+"]")}}useStrictBehavior(e,t,n){let r=this.strict;if("function"===typeof r)try{r=r(e,t,n)}catch(s){r="error"}return!(!r||"ignore"===r)&&(!0===r||"error"===r||("warn"===r?("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 '"+r+"': "+t+" ["+e+"]"),!1)))}isTrusted(e){if(e.url&&!e.protocol){const t=l.protocolFromUrl(e.url);if(null==t)return!1;e.protocol=t}const t="function"===typeof this.trust?this.trust(e):this.trust;return Boolean(t)}}class p{constructor(e,t,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=n}sup(){return m[d[this.id]]}sub(){return m[f[this.id]]}fracNum(){return m[g[this.id]]}fracDen(){return m[b[this.id]]}cramp(){return m[y[this.id]]}text(){return m[x[this.id]]}isTight(){return this.size>=2}}const m=[new p(0,0,!1),new p(1,0,!0),new p(2,1,!1),new p(3,1,!0),new p(4,2,!1),new p(5,2,!0),new p(6,3,!1),new p(7,3,!0)],d=[4,5,4,5,6,7,6,7],f=[5,5,5,5,7,7,7,7],g=[2,3,4,5,6,7,6,7],b=[3,3,5,5,7,7,7,7],y=[1,1,3,3,5,5,7,7],x=[0,1,2,3,2,3,2,3];var w={DISPLAY:m[0],TEXT:m[2],SCRIPT:m[4],SCRIPTSCRIPT:m[6]};const v=[{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]]}],D=[];function k(e){for(let t=0;t<D.length;t+=2)if(e>=D[t]&&e<=D[t+1])return!0;return!1}v.forEach((e=>e.blocks.forEach((e=>D.push(...e)))));const A=80,S={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 C{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 l.contains(this.classes,e)}toNode(){const e=document.createDocumentFragment();for(let t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}toMarkup(){let e="";for(let t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e}toText(){return this.children.map((e=>e.toText())).join("")}}var M={"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]}};const z={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]},E={"\xc5":"A","\xd0":"D","\xde":"o","\xe5":"a","\xf0":"d","\xfe":"o","\u0410":"A","\u0411":"B","\u0412":"B","\u0413":"F","\u0414":"A","\u0415":"E","\u0416":"K","\u0417":"3","\u0418":"N","\u0419":"N","\u041a":"K","\u041b":"N","\u041c":"M","\u041d":"H","\u041e":"O","\u041f":"N","\u0420":"P","\u0421":"C","\u0422":"T","\u0423":"y","\u0424":"O","\u0425":"X","\u0426":"U","\u0427":"h","\u0428":"W","\u0429":"W","\u042a":"B","\u042b":"X","\u042c":"B","\u042d":"3","\u042e":"X","\u042f":"R","\u0430":"a","\u0431":"b","\u0432":"a","\u0433":"r","\u0434":"y","\u0435":"e","\u0436":"m","\u0437":"e","\u0438":"n","\u0439":"n","\u043a":"n","\u043b":"n","\u043c":"m","\u043d":"n","\u043e":"o","\u043f":"n","\u0440":"p","\u0441":"c","\u0442":"o","\u0443":"y","\u0444":"b","\u0445":"x","\u0446":"n","\u0447":"n","\u0448":"w","\u0449":"w","\u044a":"a","\u044b":"m","\u044c":"a","\u044d":"e","\u044e":"m","\u044f":"r"};function F(e,t,n){if(!M[t])throw new Error("Font metrics not found for font: "+t+".");let r=e.charCodeAt(0),s=M[t][r];if(!s&&e[0]in E&&(r=E[e[0]].charCodeAt(0),s=M[t][r]),s||"text"!==n||k(r)&&(s=M[t][77]),s)return{depth:s[0],height:s[1],italic:s[2],skew:s[3],width:s[4]}}const B={},T=[[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]],_=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],N=function(e,t){return t.size<2?e:T[e-1][t.size-1]};class O{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||O.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=_[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){const 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(const n in e)e.hasOwnProperty(n)&&(t[n]=e[n]);return new O(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:N(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:_[e-1]})}havingBaseStyle(e){e=e||this.style.text();const t=N(O.BASESIZE,e);return this.size===t&&this.textSize===O.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})}havingBaseSizing(){let 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!==O.BASESIZE?["sizing","reset-size"+this.size,"size"+O.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=function(e){let t;if(t=e>=5?0:e>=3?1:2,!B[t]){const e=B[t]={cssEmPerMu:z.quad[t]/18};for(const n in z)z.hasOwnProperty(n)&&(e[n]=z[n][t])}return B[t]}(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}O.BASESIZE=6;var I=O;const q={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},R={ex:!0,em:!0,mu:!0},L=function(e){return"string"!==typeof e&&(e=e.unit),e in q||e in R||"ex"===e},j=function(e,t){let n;if(e.unit in q)n=q[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)n=t.fontMetrics().cssEmPerMu;else{let s;if(s=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)n=s.fontMetrics().xHeight;else{if("em"!==e.unit)throw new r("Invalid unit: '"+e.unit+"'");n=s.fontMetrics().quad}s!==t&&(n*=s.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*n,t.maxSize)},H=function(e){return+e.toFixed(4)+"em"},P=function(e){return e.filter((e=>e)).join(" ")},V=function(e,t,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},t){t.style.isTight()&&this.classes.push("mtight");const e=t.getColor();e&&(this.style.color=e)}},$=function(e){const t=document.createElement(e);t.className=P(this.classes);for(const n in this.style)this.style.hasOwnProperty(n)&&(t.style[n]=this.style[n]);for(const n in this.attributes)this.attributes.hasOwnProperty(n)&&t.setAttribute(n,this.attributes[n]);for(let n=0;n<this.children.length;n++)t.appendChild(this.children[n].toNode());return t},G=/[\s"'>/=\x00-\x1f]/,U=function(e){let t="<"+e;this.classes.length&&(t+=' class="'+l.escape(P(this.classes))+'"');let n="";for(const r in this.style)this.style.hasOwnProperty(r)&&(n+=l.hyphenate(r)+":"+this.style[r]+";");n&&(t+=' style="'+l.escape(n)+'"');for(const s in this.attributes)if(this.attributes.hasOwnProperty(s)){if(G.test(s))throw new r("Invalid attribute name '"+s+"'");t+=" "+s+'="'+l.escape(this.attributes[s])+'"'}t+=">";for(let r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t+="</"+e+">",t};class X{constructor(e,t,n,r){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,V.call(this,e,n,r),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return l.contains(this.classes,e)}toNode(){return $.call(this,"span")}toMarkup(){return U.call(this,"span")}}class W{constructor(e,t,n,r){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,V.call(this,t,r),this.children=n||[],this.setAttribute("href",e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return l.contains(this.classes,e)}toNode(){return $.call(this,"a")}toMarkup(){return U.call(this,"a")}}class Y{constructor(e,t,n){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=n}hasClass(e){return l.contains(this.classes,e)}toNode(){const e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(const t in this.style)this.style.hasOwnProperty(t)&&(e.style[t]=this.style[t]);return e}toMarkup(){let e='<img src="'+l.escape(this.src)+'" alt="'+l.escape(this.alt)+'"',t="";for(const n in this.style)this.style.hasOwnProperty(n)&&(t+=l.hyphenate(n)+":"+this.style[n]+";");return t&&(e+=' style="'+l.escape(t)+'"'),e+="'/>",e}}const Z={"\xee":"\u0131\u0302","\xef":"\u0131\u0308","\xed":"\u0131\u0301","\xec":"\u0131\u0300"};class K{constructor(e,t,n,r,s,i,o,a){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=n||0,this.italic=r||0,this.skew=s||0,this.width=i||0,this.classes=o||[],this.style=a||{},this.maxFontSize=0;const l=function(e){for(let t=0;t<v.length;t++){const n=v[t];for(let t=0;t<n.blocks.length;t++){const r=n.blocks[t];if(e>=r[0]&&e<=r[1])return n.name}}return null}(this.text.charCodeAt(0));l&&this.classes.push(l+"_fallback"),/[\xee\xef\xed\xec]/.test(this.text)&&(this.text=Z[this.text])}hasClass(e){return l.contains(this.classes,e)}toNode(){const e=document.createTextNode(this.text);let t=null;this.italic>0&&(t=document.createElement("span"),t.style.marginRight=H(this.italic)),this.classes.length>0&&(t=t||document.createElement("span"),t.className=P(this.classes));for(const n in this.style)this.style.hasOwnProperty(n)&&(t=t||document.createElement("span"),t.style[n]=this.style[n]);return t?(t.appendChild(e),t):e}toMarkup(){let e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=l.escape(P(this.classes)),t+='"');let n="";this.italic>0&&(n+="margin-right:"+this.italic+"em;");for(const s in this.style)this.style.hasOwnProperty(s)&&(n+=l.hyphenate(s)+":"+this.style[s]+";");n&&(e=!0,t+=' style="'+l.escape(n)+'"');const r=l.escape(this.text);return e?(t+=">",t+=r,t+="</span>",t):r}}class Q{constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}toNode(){const e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);for(let t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}toMarkup(){let e='<svg xmlns="http://www.w3.org/2000/svg"';for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+l.escape(this.attributes[t])+'"');e+=">";for(let t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e+="</svg>",e}}class J{constructor(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}toNode(){const e=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?e.setAttribute("d",this.alternate):e.setAttribute("d",S[this.pathName]),e}toMarkup(){return this.alternate?'<path d="'+l.escape(this.alternate)+'"/>':'<path d="'+l.escape(S[this.pathName])+'"/>'}}class ee{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){const e=document.createElementNS("http://www.w3.org/2000/svg","line");for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);return e}toMarkup(){let e="<line";for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="'+l.escape(this.attributes[t])+'"');return e+="/>",e}}function te(e){if(e instanceof K)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}const ne={bin:1,close:1,inner:1,open:1,punct:1,rel:1},re={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},se={math:{},text:{}};var ie=se;function oe(e,t,n,r,s,i){se[e][s]={font:t,group:n,replace:r},i&&r&&(se[e][r]=se[e][s])}const ae="math",le="text",ue="main",ce="ams",he="accent-token",pe="bin",me="close",de="inner",fe="mathord",ge="op-token",be="open",ye="punct",xe="rel",we="spacing",ve="textord";oe(ae,ue,xe,"\u2261","\\equiv",!0),oe(ae,ue,xe,"\u227a","\\prec",!0),oe(ae,ue,xe,"\u227b","\\succ",!0),oe(ae,ue,xe,"\u223c","\\sim",!0),oe(ae,ue,xe,"\u22a5","\\perp"),oe(ae,ue,xe,"\u2aaf","\\preceq",!0),oe(ae,ue,xe,"\u2ab0","\\succeq",!0),oe(ae,ue,xe,"\u2243","\\simeq",!0),oe(ae,ue,xe,"\u2223","\\mid",!0),oe(ae,ue,xe,"\u226a","\\ll",!0),oe(ae,ue,xe,"\u226b","\\gg",!0),oe(ae,ue,xe,"\u224d","\\asymp",!0),oe(ae,ue,xe,"\u2225","\\parallel"),oe(ae,ue,xe,"\u22c8","\\bowtie",!0),oe(ae,ue,xe,"\u2323","\\smile",!0),oe(ae,ue,xe,"\u2291","\\sqsubseteq",!0),oe(ae,ue,xe,"\u2292","\\sqsupseteq",!0),oe(ae,ue,xe,"\u2250","\\doteq",!0),oe(ae,ue,xe,"\u2322","\\frown",!0),oe(ae,ue,xe,"\u220b","\\ni",!0),oe(ae,ue,xe,"\u221d","\\propto",!0),oe(ae,ue,xe,"\u22a2","\\vdash",!0),oe(ae,ue,xe,"\u22a3","\\dashv",!0),oe(ae,ue,xe,"\u220b","\\owns"),oe(ae,ue,ye,".","\\ldotp"),oe(ae,ue,ye,"\u22c5","\\cdotp"),oe(ae,ue,ve,"#","\\#"),oe(le,ue,ve,"#","\\#"),oe(ae,ue,ve,"&","\\&"),oe(le,ue,ve,"&","\\&"),oe(ae,ue,ve,"\u2135","\\aleph",!0),oe(ae,ue,ve,"\u2200","\\forall",!0),oe(ae,ue,ve,"\u210f","\\hbar",!0),oe(ae,ue,ve,"\u2203","\\exists",!0),oe(ae,ue,ve,"\u2207","\\nabla",!0),oe(ae,ue,ve,"\u266d","\\flat",!0),oe(ae,ue,ve,"\u2113","\\ell",!0),oe(ae,ue,ve,"\u266e","\\natural",!0),oe(ae,ue,ve,"\u2663","\\clubsuit",!0),oe(ae,ue,ve,"\u2118","\\wp",!0),oe(ae,ue,ve,"\u266f","\\sharp",!0),oe(ae,ue,ve,"\u2662","\\diamondsuit",!0),oe(ae,ue,ve,"\u211c","\\Re",!0),oe(ae,ue,ve,"\u2661","\\heartsuit",!0),oe(ae,ue,ve,"\u2111","\\Im",!0),oe(ae,ue,ve,"\u2660","\\spadesuit",!0),oe(ae,ue,ve,"\xa7","\\S",!0),oe(le,ue,ve,"\xa7","\\S"),oe(ae,ue,ve,"\xb6","\\P",!0),oe(le,ue,ve,"\xb6","\\P"),oe(ae,ue,ve,"\u2020","\\dag"),oe(le,ue,ve,"\u2020","\\dag"),oe(le,ue,ve,"\u2020","\\textdagger"),oe(ae,ue,ve,"\u2021","\\ddag"),oe(le,ue,ve,"\u2021","\\ddag"),oe(le,ue,ve,"\u2021","\\textdaggerdbl"),oe(ae,ue,me,"\u23b1","\\rmoustache",!0),oe(ae,ue,be,"\u23b0","\\lmoustache",!0),oe(ae,ue,me,"\u27ef","\\rgroup",!0),oe(ae,ue,be,"\u27ee","\\lgroup",!0),oe(ae,ue,pe,"\u2213","\\mp",!0),oe(ae,ue,pe,"\u2296","\\ominus",!0),oe(ae,ue,pe,"\u228e","\\uplus",!0),oe(ae,ue,pe,"\u2293","\\sqcap",!0),oe(ae,ue,pe,"\u2217","\\ast"),oe(ae,ue,pe,"\u2294","\\sqcup",!0),oe(ae,ue,pe,"\u25ef","\\bigcirc",!0),oe(ae,ue,pe,"\u2219","\\bullet",!0),oe(ae,ue,pe,"\u2021","\\ddagger"),oe(ae,ue,pe,"\u2240","\\wr",!0),oe(ae,ue,pe,"\u2a3f","\\amalg"),oe(ae,ue,pe,"&","\\And"),oe(ae,ue,xe,"\u27f5","\\longleftarrow",!0),oe(ae,ue,xe,"\u21d0","\\Leftarrow",!0),oe(ae,ue,xe,"\u27f8","\\Longleftarrow",!0),oe(ae,ue,xe,"\u27f6","\\longrightarrow",!0),oe(ae,ue,xe,"\u21d2","\\Rightarrow",!0),oe(ae,ue,xe,"\u27f9","\\Longrightarrow",!0),oe(ae,ue,xe,"\u2194","\\leftrightarrow",!0),oe(ae,ue,xe,"\u27f7","\\longleftrightarrow",!0),oe(ae,ue,xe,"\u21d4","\\Leftrightarrow",!0),oe(ae,ue,xe,"\u27fa","\\Longleftrightarrow",!0),oe(ae,ue,xe,"\u21a6","\\mapsto",!0),oe(ae,ue,xe,"\u27fc","\\longmapsto",!0),oe(ae,ue,xe,"\u2197","\\nearrow",!0),oe(ae,ue,xe,"\u21a9","\\hookleftarrow",!0),oe(ae,ue,xe,"\u21aa","\\hookrightarrow",!0),oe(ae,ue,xe,"\u2198","\\searrow",!0),oe(ae,ue,xe,"\u21bc","\\leftharpoonup",!0),oe(ae,ue,xe,"\u21c0","\\rightharpoonup",!0),oe(ae,ue,xe,"\u2199","\\swarrow",!0),oe(ae,ue,xe,"\u21bd","\\leftharpoondown",!0),oe(ae,ue,xe,"\u21c1","\\rightharpoondown",!0),oe(ae,ue,xe,"\u2196","\\nwarrow",!0),oe(ae,ue,xe,"\u21cc","\\rightleftharpoons",!0),oe(ae,ce,xe,"\u226e","\\nless",!0),oe(ae,ce,xe,"\ue010","\\@nleqslant"),oe(ae,ce,xe,"\ue011","\\@nleqq"),oe(ae,ce,xe,"\u2a87","\\lneq",!0),oe(ae,ce,xe,"\u2268","\\lneqq",!0),oe(ae,ce,xe,"\ue00c","\\@lvertneqq"),oe(ae,ce,xe,"\u22e6","\\lnsim",!0),oe(ae,ce,xe,"\u2a89","\\lnapprox",!0),oe(ae,ce,xe,"\u2280","\\nprec",!0),oe(ae,ce,xe,"\u22e0","\\npreceq",!0),oe(ae,ce,xe,"\u22e8","\\precnsim",!0),oe(ae,ce,xe,"\u2ab9","\\precnapprox",!0),oe(ae,ce,xe,"\u2241","\\nsim",!0),oe(ae,ce,xe,"\ue006","\\@nshortmid"),oe(ae,ce,xe,"\u2224","\\nmid",!0),oe(ae,ce,xe,"\u22ac","\\nvdash",!0),oe(ae,ce,xe,"\u22ad","\\nvDash",!0),oe(ae,ce,xe,"\u22ea","\\ntriangleleft"),oe(ae,ce,xe,"\u22ec","\\ntrianglelefteq",!0),oe(ae,ce,xe,"\u228a","\\subsetneq",!0),oe(ae,ce,xe,"\ue01a","\\@varsubsetneq"),oe(ae,ce,xe,"\u2acb","\\subsetneqq",!0),oe(ae,ce,xe,"\ue017","\\@varsubsetneqq"),oe(ae,ce,xe,"\u226f","\\ngtr",!0),oe(ae,ce,xe,"\ue00f","\\@ngeqslant"),oe(ae,ce,xe,"\ue00e","\\@ngeqq"),oe(ae,ce,xe,"\u2a88","\\gneq",!0),oe(ae,ce,xe,"\u2269","\\gneqq",!0),oe(ae,ce,xe,"\ue00d","\\@gvertneqq"),oe(ae,ce,xe,"\u22e7","\\gnsim",!0),oe(ae,ce,xe,"\u2a8a","\\gnapprox",!0),oe(ae,ce,xe,"\u2281","\\nsucc",!0),oe(ae,ce,xe,"\u22e1","\\nsucceq",!0),oe(ae,ce,xe,"\u22e9","\\succnsim",!0),oe(ae,ce,xe,"\u2aba","\\succnapprox",!0),oe(ae,ce,xe,"\u2246","\\ncong",!0),oe(ae,ce,xe,"\ue007","\\@nshortparallel"),oe(ae,ce,xe,"\u2226","\\nparallel",!0),oe(ae,ce,xe,"\u22af","\\nVDash",!0),oe(ae,ce,xe,"\u22eb","\\ntriangleright"),oe(ae,ce,xe,"\u22ed","\\ntrianglerighteq",!0),oe(ae,ce,xe,"\ue018","\\@nsupseteqq"),oe(ae,ce,xe,"\u228b","\\supsetneq",!0),oe(ae,ce,xe,"\ue01b","\\@varsupsetneq"),oe(ae,ce,xe,"\u2acc","\\supsetneqq",!0),oe(ae,ce,xe,"\ue019","\\@varsupsetneqq"),oe(ae,ce,xe,"\u22ae","\\nVdash",!0),oe(ae,ce,xe,"\u2ab5","\\precneqq",!0),oe(ae,ce,xe,"\u2ab6","\\succneqq",!0),oe(ae,ce,xe,"\ue016","\\@nsubseteqq"),oe(ae,ce,pe,"\u22b4","\\unlhd"),oe(ae,ce,pe,"\u22b5","\\unrhd"),oe(ae,ce,xe,"\u219a","\\nleftarrow",!0),oe(ae,ce,xe,"\u219b","\\nrightarrow",!0),oe(ae,ce,xe,"\u21cd","\\nLeftarrow",!0),oe(ae,ce,xe,"\u21cf","\\nRightarrow",!0),oe(ae,ce,xe,"\u21ae","\\nleftrightarrow",!0),oe(ae,ce,xe,"\u21ce","\\nLeftrightarrow",!0),oe(ae,ce,xe,"\u25b3","\\vartriangle"),oe(ae,ce,ve,"\u210f","\\hslash"),oe(ae,ce,ve,"\u25bd","\\triangledown"),oe(ae,ce,ve,"\u25ca","\\lozenge"),oe(ae,ce,ve,"\u24c8","\\circledS"),oe(ae,ce,ve,"\xae","\\circledR"),oe(le,ce,ve,"\xae","\\circledR"),oe(ae,ce,ve,"\u2221","\\measuredangle",!0),oe(ae,ce,ve,"\u2204","\\nexists"),oe(ae,ce,ve,"\u2127","\\mho"),oe(ae,ce,ve,"\u2132","\\Finv",!0),oe(ae,ce,ve,"\u2141","\\Game",!0),oe(ae,ce,ve,"\u2035","\\backprime"),oe(ae,ce,ve,"\u25b2","\\blacktriangle"),oe(ae,ce,ve,"\u25bc","\\blacktriangledown"),oe(ae,ce,ve,"\u25a0","\\blacksquare"),oe(ae,ce,ve,"\u29eb","\\blacklozenge"),oe(ae,ce,ve,"\u2605","\\bigstar"),oe(ae,ce,ve,"\u2222","\\sphericalangle",!0),oe(ae,ce,ve,"\u2201","\\complement",!0),oe(ae,ce,ve,"\xf0","\\eth",!0),oe(le,ue,ve,"\xf0","\xf0"),oe(ae,ce,ve,"\u2571","\\diagup"),oe(ae,ce,ve,"\u2572","\\diagdown"),oe(ae,ce,ve,"\u25a1","\\square"),oe(ae,ce,ve,"\u25a1","\\Box"),oe(ae,ce,ve,"\u25ca","\\Diamond"),oe(ae,ce,ve,"\xa5","\\yen",!0),oe(le,ce,ve,"\xa5","\\yen",!0),oe(ae,ce,ve,"\u2713","\\checkmark",!0),oe(le,ce,ve,"\u2713","\\checkmark"),oe(ae,ce,ve,"\u2136","\\beth",!0),oe(ae,ce,ve,"\u2138","\\daleth",!0),oe(ae,ce,ve,"\u2137","\\gimel",!0),oe(ae,ce,ve,"\u03dd","\\digamma",!0),oe(ae,ce,ve,"\u03f0","\\varkappa"),oe(ae,ce,be,"\u250c","\\@ulcorner",!0),oe(ae,ce,me,"\u2510","\\@urcorner",!0),oe(ae,ce,be,"\u2514","\\@llcorner",!0),oe(ae,ce,me,"\u2518","\\@lrcorner",!0),oe(ae,ce,xe,"\u2266","\\leqq",!0),oe(ae,ce,xe,"\u2a7d","\\leqslant",!0),oe(ae,ce,xe,"\u2a95","\\eqslantless",!0),oe(ae,ce,xe,"\u2272","\\lesssim",!0),oe(ae,ce,xe,"\u2a85","\\lessapprox",!0),oe(ae,ce,xe,"\u224a","\\approxeq",!0),oe(ae,ce,pe,"\u22d6","\\lessdot"),oe(ae,ce,xe,"\u22d8","\\lll",!0),oe(ae,ce,xe,"\u2276","\\lessgtr",!0),oe(ae,ce,xe,"\u22da","\\lesseqgtr",!0),oe(ae,ce,xe,"\u2a8b","\\lesseqqgtr",!0),oe(ae,ce,xe,"\u2251","\\doteqdot"),oe(ae,ce,xe,"\u2253","\\risingdotseq",!0),oe(ae,ce,xe,"\u2252","\\fallingdotseq",!0),oe(ae,ce,xe,"\u223d","\\backsim",!0),oe(ae,ce,xe,"\u22cd","\\backsimeq",!0),oe(ae,ce,xe,"\u2ac5","\\subseteqq",!0),oe(ae,ce,xe,"\u22d0","\\Subset",!0),oe(ae,ce,xe,"\u228f","\\sqsubset",!0),oe(ae,ce,xe,"\u227c","\\preccurlyeq",!0),oe(ae,ce,xe,"\u22de","\\curlyeqprec",!0),oe(ae,ce,xe,"\u227e","\\precsim",!0),oe(ae,ce,xe,"\u2ab7","\\precapprox",!0),oe(ae,ce,xe,"\u22b2","\\vartriangleleft"),oe(ae,ce,xe,"\u22b4","\\trianglelefteq"),oe(ae,ce,xe,"\u22a8","\\vDash",!0),oe(ae,ce,xe,"\u22aa","\\Vvdash",!0),oe(ae,ce,xe,"\u2323","\\smallsmile"),oe(ae,ce,xe,"\u2322","\\smallfrown"),oe(ae,ce,xe,"\u224f","\\bumpeq",!0),oe(ae,ce,xe,"\u224e","\\Bumpeq",!0),oe(ae,ce,xe,"\u2267","\\geqq",!0),oe(ae,ce,xe,"\u2a7e","\\geqslant",!0),oe(ae,ce,xe,"\u2a96","\\eqslantgtr",!0),oe(ae,ce,xe,"\u2273","\\gtrsim",!0),oe(ae,ce,xe,"\u2a86","\\gtrapprox",!0),oe(ae,ce,pe,"\u22d7","\\gtrdot"),oe(ae,ce,xe,"\u22d9","\\ggg",!0),oe(ae,ce,xe,"\u2277","\\gtrless",!0),oe(ae,ce,xe,"\u22db","\\gtreqless",!0),oe(ae,ce,xe,"\u2a8c","\\gtreqqless",!0),oe(ae,ce,xe,"\u2256","\\eqcirc",!0),oe(ae,ce,xe,"\u2257","\\circeq",!0),oe(ae,ce,xe,"\u225c","\\triangleq",!0),oe(ae,ce,xe,"\u223c","\\thicksim"),oe(ae,ce,xe,"\u2248","\\thickapprox"),oe(ae,ce,xe,"\u2ac6","\\supseteqq",!0),oe(ae,ce,xe,"\u22d1","\\Supset",!0),oe(ae,ce,xe,"\u2290","\\sqsupset",!0),oe(ae,ce,xe,"\u227d","\\succcurlyeq",!0),oe(ae,ce,xe,"\u22df","\\curlyeqsucc",!0),oe(ae,ce,xe,"\u227f","\\succsim",!0),oe(ae,ce,xe,"\u2ab8","\\succapprox",!0),oe(ae,ce,xe,"\u22b3","\\vartriangleright"),oe(ae,ce,xe,"\u22b5","\\trianglerighteq"),oe(ae,ce,xe,"\u22a9","\\Vdash",!0),oe(ae,ce,xe,"\u2223","\\shortmid"),oe(ae,ce,xe,"\u2225","\\shortparallel"),oe(ae,ce,xe,"\u226c","\\between",!0),oe(ae,ce,xe,"\u22d4","\\pitchfork",!0),oe(ae,ce,xe,"\u221d","\\varpropto"),oe(ae,ce,xe,"\u25c0","\\blacktriangleleft"),oe(ae,ce,xe,"\u2234","\\therefore",!0),oe(ae,ce,xe,"\u220d","\\backepsilon"),oe(ae,ce,xe,"\u25b6","\\blacktriangleright"),oe(ae,ce,xe,"\u2235","\\because",!0),oe(ae,ce,xe,"\u22d8","\\llless"),oe(ae,ce,xe,"\u22d9","\\gggtr"),oe(ae,ce,pe,"\u22b2","\\lhd"),oe(ae,ce,pe,"\u22b3","\\rhd"),oe(ae,ce,xe,"\u2242","\\eqsim",!0),oe(ae,ue,xe,"\u22c8","\\Join"),oe(ae,ce,xe,"\u2251","\\Doteq",!0),oe(ae,ce,pe,"\u2214","\\dotplus",!0),oe(ae,ce,pe,"\u2216","\\smallsetminus"),oe(ae,ce,pe,"\u22d2","\\Cap",!0),oe(ae,ce,pe,"\u22d3","\\Cup",!0),oe(ae,ce,pe,"\u2a5e","\\doublebarwedge",!0),oe(ae,ce,pe,"\u229f","\\boxminus",!0),oe(ae,ce,pe,"\u229e","\\boxplus",!0),oe(ae,ce,pe,"\u22c7","\\divideontimes",!0),oe(ae,ce,pe,"\u22c9","\\ltimes",!0),oe(ae,ce,pe,"\u22ca","\\rtimes",!0),oe(ae,ce,pe,"\u22cb","\\leftthreetimes",!0),oe(ae,ce,pe,"\u22cc","\\rightthreetimes",!0),oe(ae,ce,pe,"\u22cf","\\curlywedge",!0),oe(ae,ce,pe,"\u22ce","\\curlyvee",!0),oe(ae,ce,pe,"\u229d","\\circleddash",!0),oe(ae,ce,pe,"\u229b","\\circledast",!0),oe(ae,ce,pe,"\u22c5","\\centerdot"),oe(ae,ce,pe,"\u22ba","\\intercal",!0),oe(ae,ce,pe,"\u22d2","\\doublecap"),oe(ae,ce,pe,"\u22d3","\\doublecup"),oe(ae,ce,pe,"\u22a0","\\boxtimes",!0),oe(ae,ce,xe,"\u21e2","\\dashrightarrow",!0),oe(ae,ce,xe,"\u21e0","\\dashleftarrow",!0),oe(ae,ce,xe,"\u21c7","\\leftleftarrows",!0),oe(ae,ce,xe,"\u21c6","\\leftrightarrows",!0),oe(ae,ce,xe,"\u21da","\\Lleftarrow",!0),oe(ae,ce,xe,"\u219e","\\twoheadleftarrow",!0),oe(ae,ce,xe,"\u21a2","\\leftarrowtail",!0),oe(ae,ce,xe,"\u21ab","\\looparrowleft",!0),oe(ae,ce,xe,"\u21cb","\\leftrightharpoons",!0),oe(ae,ce,xe,"\u21b6","\\curvearrowleft",!0),oe(ae,ce,xe,"\u21ba","\\circlearrowleft",!0),oe(ae,ce,xe,"\u21b0","\\Lsh",!0),oe(ae,ce,xe,"\u21c8","\\upuparrows",!0),oe(ae,ce,xe,"\u21bf","\\upharpoonleft",!0),oe(ae,ce,xe,"\u21c3","\\downharpoonleft",!0),oe(ae,ue,xe,"\u22b6","\\origof",!0),oe(ae,ue,xe,"\u22b7","\\imageof",!0),oe(ae,ce,xe,"\u22b8","\\multimap",!0),oe(ae,ce,xe,"\u21ad","\\leftrightsquigarrow",!0),oe(ae,ce,xe,"\u21c9","\\rightrightarrows",!0),oe(ae,ce,xe,"\u21c4","\\rightleftarrows",!0),oe(ae,ce,xe,"\u21a0","\\twoheadrightarrow",!0),oe(ae,ce,xe,"\u21a3","\\rightarrowtail",!0),oe(ae,ce,xe,"\u21ac","\\looparrowright",!0),oe(ae,ce,xe,"\u21b7","\\curvearrowright",!0),oe(ae,ce,xe,"\u21bb","\\circlearrowright",!0),oe(ae,ce,xe,"\u21b1","\\Rsh",!0),oe(ae,ce,xe,"\u21ca","\\downdownarrows",!0),oe(ae,ce,xe,"\u21be","\\upharpoonright",!0),oe(ae,ce,xe,"\u21c2","\\downharpoonright",!0),oe(ae,ce,xe,"\u21dd","\\rightsquigarrow",!0),oe(ae,ce,xe,"\u21dd","\\leadsto"),oe(ae,ce,xe,"\u21db","\\Rrightarrow",!0),oe(ae,ce,xe,"\u21be","\\restriction"),oe(ae,ue,ve,"\u2018","`"),oe(ae,ue,ve,"$","\\$"),oe(le,ue,ve,"$","\\$"),oe(le,ue,ve,"$","\\textdollar"),oe(ae,ue,ve,"%","\\%"),oe(le,ue,ve,"%","\\%"),oe(ae,ue,ve,"_","\\_"),oe(le,ue,ve,"_","\\_"),oe(le,ue,ve,"_","\\textunderscore"),oe(ae,ue,ve,"\u2220","\\angle",!0),oe(ae,ue,ve,"\u221e","\\infty",!0),oe(ae,ue,ve,"\u2032","\\prime"),oe(ae,ue,ve,"\u25b3","\\triangle"),oe(ae,ue,ve,"\u0393","\\Gamma",!0),oe(ae,ue,ve,"\u0394","\\Delta",!0),oe(ae,ue,ve,"\u0398","\\Theta",!0),oe(ae,ue,ve,"\u039b","\\Lambda",!0),oe(ae,ue,ve,"\u039e","\\Xi",!0),oe(ae,ue,ve,"\u03a0","\\Pi",!0),oe(ae,ue,ve,"\u03a3","\\Sigma",!0),oe(ae,ue,ve,"\u03a5","\\Upsilon",!0),oe(ae,ue,ve,"\u03a6","\\Phi",!0),oe(ae,ue,ve,"\u03a8","\\Psi",!0),oe(ae,ue,ve,"\u03a9","\\Omega",!0),oe(ae,ue,ve,"A","\u0391"),oe(ae,ue,ve,"B","\u0392"),oe(ae,ue,ve,"E","\u0395"),oe(ae,ue,ve,"Z","\u0396"),oe(ae,ue,ve,"H","\u0397"),oe(ae,ue,ve,"I","\u0399"),oe(ae,ue,ve,"K","\u039a"),oe(ae,ue,ve,"M","\u039c"),oe(ae,ue,ve,"N","\u039d"),oe(ae,ue,ve,"O","\u039f"),oe(ae,ue,ve,"P","\u03a1"),oe(ae,ue,ve,"T","\u03a4"),oe(ae,ue,ve,"X","\u03a7"),oe(ae,ue,ve,"\xac","\\neg",!0),oe(ae,ue,ve,"\xac","\\lnot"),oe(ae,ue,ve,"\u22a4","\\top"),oe(ae,ue,ve,"\u22a5","\\bot"),oe(ae,ue,ve,"\u2205","\\emptyset"),oe(ae,ce,ve,"\u2205","\\varnothing"),oe(ae,ue,fe,"\u03b1","\\alpha",!0),oe(ae,ue,fe,"\u03b2","\\beta",!0),oe(ae,ue,fe,"\u03b3","\\gamma",!0),oe(ae,ue,fe,"\u03b4","\\delta",!0),oe(ae,ue,fe,"\u03f5","\\epsilon",!0),oe(ae,ue,fe,"\u03b6","\\zeta",!0),oe(ae,ue,fe,"\u03b7","\\eta",!0),oe(ae,ue,fe,"\u03b8","\\theta",!0),oe(ae,ue,fe,"\u03b9","\\iota",!0),oe(ae,ue,fe,"\u03ba","\\kappa",!0),oe(ae,ue,fe,"\u03bb","\\lambda",!0),oe(ae,ue,fe,"\u03bc","\\mu",!0),oe(ae,ue,fe,"\u03bd","\\nu",!0),oe(ae,ue,fe,"\u03be","\\xi",!0),oe(ae,ue,fe,"\u03bf","\\omicron",!0),oe(ae,ue,fe,"\u03c0","\\pi",!0),oe(ae,ue,fe,"\u03c1","\\rho",!0),oe(ae,ue,fe,"\u03c3","\\sigma",!0),oe(ae,ue,fe,"\u03c4","\\tau",!0),oe(ae,ue,fe,"\u03c5","\\upsilon",!0),oe(ae,ue,fe,"\u03d5","\\phi",!0),oe(ae,ue,fe,"\u03c7","\\chi",!0),oe(ae,ue,fe,"\u03c8","\\psi",!0),oe(ae,ue,fe,"\u03c9","\\omega",!0),oe(ae,ue,fe,"\u03b5","\\varepsilon",!0),oe(ae,ue,fe,"\u03d1","\\vartheta",!0),oe(ae,ue,fe,"\u03d6","\\varpi",!0),oe(ae,ue,fe,"\u03f1","\\varrho",!0),oe(ae,ue,fe,"\u03c2","\\varsigma",!0),oe(ae,ue,fe,"\u03c6","\\varphi",!0),oe(ae,ue,pe,"\u2217","*",!0),oe(ae,ue,pe,"+","+"),oe(ae,ue,pe,"\u2212","-",!0),oe(ae,ue,pe,"\u22c5","\\cdot",!0),oe(ae,ue,pe,"\u2218","\\circ",!0),oe(ae,ue,pe,"\xf7","\\div",!0),oe(ae,ue,pe,"\xb1","\\pm",!0),oe(ae,ue,pe,"\xd7","\\times",!0),oe(ae,ue,pe,"\u2229","\\cap",!0),oe(ae,ue,pe,"\u222a","\\cup",!0),oe(ae,ue,pe,"\u2216","\\setminus",!0),oe(ae,ue,pe,"\u2227","\\land"),oe(ae,ue,pe,"\u2228","\\lor"),oe(ae,ue,pe,"\u2227","\\wedge",!0),oe(ae,ue,pe,"\u2228","\\vee",!0),oe(ae,ue,ve,"\u221a","\\surd"),oe(ae,ue,be,"\u27e8","\\langle",!0),oe(ae,ue,be,"\u2223","\\lvert"),oe(ae,ue,be,"\u2225","\\lVert"),oe(ae,ue,me,"?","?"),oe(ae,ue,me,"!","!"),oe(ae,ue,me,"\u27e9","\\rangle",!0),oe(ae,ue,me,"\u2223","\\rvert"),oe(ae,ue,me,"\u2225","\\rVert"),oe(ae,ue,xe,"=","="),oe(ae,ue,xe,":",":"),oe(ae,ue,xe,"\u2248","\\approx",!0),oe(ae,ue,xe,"\u2245","\\cong",!0),oe(ae,ue,xe,"\u2265","\\ge"),oe(ae,ue,xe,"\u2265","\\geq",!0),oe(ae,ue,xe,"\u2190","\\gets"),oe(ae,ue,xe,">","\\gt",!0),oe(ae,ue,xe,"\u2208","\\in",!0),oe(ae,ue,xe,"\ue020","\\@not"),oe(ae,ue,xe,"\u2282","\\subset",!0),oe(ae,ue,xe,"\u2283","\\supset",!0),oe(ae,ue,xe,"\u2286","\\subseteq",!0),oe(ae,ue,xe,"\u2287","\\supseteq",!0),oe(ae,ce,xe,"\u2288","\\nsubseteq",!0),oe(ae,ce,xe,"\u2289","\\nsupseteq",!0),oe(ae,ue,xe,"\u22a8","\\models"),oe(ae,ue,xe,"\u2190","\\leftarrow",!0),oe(ae,ue,xe,"\u2264","\\le"),oe(ae,ue,xe,"\u2264","\\leq",!0),oe(ae,ue,xe,"<","\\lt",!0),oe(ae,ue,xe,"\u2192","\\rightarrow",!0),oe(ae,ue,xe,"\u2192","\\to"),oe(ae,ce,xe,"\u2271","\\ngeq",!0),oe(ae,ce,xe,"\u2270","\\nleq",!0),oe(ae,ue,we,"\xa0","\\ "),oe(ae,ue,we,"\xa0","\\space"),oe(ae,ue,we,"\xa0","\\nobreakspace"),oe(le,ue,we,"\xa0","\\ "),oe(le,ue,we,"\xa0"," "),oe(le,ue,we,"\xa0","\\space"),oe(le,ue,we,"\xa0","\\nobreakspace"),oe(ae,ue,we,null,"\\nobreak"),oe(ae,ue,we,null,"\\allowbreak"),oe(ae,ue,ye,",",","),oe(ae,ue,ye,";",";"),oe(ae,ce,pe,"\u22bc","\\barwedge",!0),oe(ae,ce,pe,"\u22bb","\\veebar",!0),oe(ae,ue,pe,"\u2299","\\odot",!0),oe(ae,ue,pe,"\u2295","\\oplus",!0),oe(ae,ue,pe,"\u2297","\\otimes",!0),oe(ae,ue,ve,"\u2202","\\partial",!0),oe(ae,ue,pe,"\u2298","\\oslash",!0),oe(ae,ce,pe,"\u229a","\\circledcirc",!0),oe(ae,ce,pe,"\u22a1","\\boxdot",!0),oe(ae,ue,pe,"\u25b3","\\bigtriangleup"),oe(ae,ue,pe,"\u25bd","\\bigtriangledown"),oe(ae,ue,pe,"\u2020","\\dagger"),oe(ae,ue,pe,"\u22c4","\\diamond"),oe(ae,ue,pe,"\u22c6","\\star"),oe(ae,ue,pe,"\u25c3","\\triangleleft"),oe(ae,ue,pe,"\u25b9","\\triangleright"),oe(ae,ue,be,"{","\\{"),oe(le,ue,ve,"{","\\{"),oe(le,ue,ve,"{","\\textbraceleft"),oe(ae,ue,me,"}","\\}"),oe(le,ue,ve,"}","\\}"),oe(le,ue,ve,"}","\\textbraceright"),oe(ae,ue,be,"{","\\lbrace"),oe(ae,ue,me,"}","\\rbrace"),oe(ae,ue,be,"[","\\lbrack",!0),oe(le,ue,ve,"[","\\lbrack",!0),oe(ae,ue,me,"]","\\rbrack",!0),oe(le,ue,ve,"]","\\rbrack",!0),oe(ae,ue,be,"(","\\lparen",!0),oe(ae,ue,me,")","\\rparen",!0),oe(le,ue,ve,"<","\\textless",!0),oe(le,ue,ve,">","\\textgreater",!0),oe(ae,ue,be,"\u230a","\\lfloor",!0),oe(ae,ue,me,"\u230b","\\rfloor",!0),oe(ae,ue,be,"\u2308","\\lceil",!0),oe(ae,ue,me,"\u2309","\\rceil",!0),oe(ae,ue,ve,"\\","\\backslash"),oe(ae,ue,ve,"\u2223","|"),oe(ae,ue,ve,"\u2223","\\vert"),oe(le,ue,ve,"|","\\textbar",!0),oe(ae,ue,ve,"\u2225","\\|"),oe(ae,ue,ve,"\u2225","\\Vert"),oe(le,ue,ve,"\u2225","\\textbardbl"),oe(le,ue,ve,"~","\\textasciitilde"),oe(le,ue,ve,"\\","\\textbackslash"),oe(le,ue,ve,"^","\\textasciicircum"),oe(ae,ue,xe,"\u2191","\\uparrow",!0),oe(ae,ue,xe,"\u21d1","\\Uparrow",!0),oe(ae,ue,xe,"\u2193","\\downarrow",!0),oe(ae,ue,xe,"\u21d3","\\Downarrow",!0),oe(ae,ue,xe,"\u2195","\\updownarrow",!0),oe(ae,ue,xe,"\u21d5","\\Updownarrow",!0),oe(ae,ue,ge,"\u2210","\\coprod"),oe(ae,ue,ge,"\u22c1","\\bigvee"),oe(ae,ue,ge,"\u22c0","\\bigwedge"),oe(ae,ue,ge,"\u2a04","\\biguplus"),oe(ae,ue,ge,"\u22c2","\\bigcap"),oe(ae,ue,ge,"\u22c3","\\bigcup"),oe(ae,ue,ge,"\u222b","\\int"),oe(ae,ue,ge,"\u222b","\\intop"),oe(ae,ue,ge,"\u222c","\\iint"),oe(ae,ue,ge,"\u222d","\\iiint"),oe(ae,ue,ge,"\u220f","\\prod"),oe(ae,ue,ge,"\u2211","\\sum"),oe(ae,ue,ge,"\u2a02","\\bigotimes"),oe(ae,ue,ge,"\u2a01","\\bigoplus"),oe(ae,ue,ge,"\u2a00","\\bigodot"),oe(ae,ue,ge,"\u222e","\\oint"),oe(ae,ue,ge,"\u222f","\\oiint"),oe(ae,ue,ge,"\u2230","\\oiiint"),oe(ae,ue,ge,"\u2a06","\\bigsqcup"),oe(ae,ue,ge,"\u222b","\\smallint"),oe(le,ue,de,"\u2026","\\textellipsis"),oe(ae,ue,de,"\u2026","\\mathellipsis"),oe(le,ue,de,"\u2026","\\ldots",!0),oe(ae,ue,de,"\u2026","\\ldots",!0),oe(ae,ue,de,"\u22ef","\\@cdots",!0),oe(ae,ue,de,"\u22f1","\\ddots",!0),oe(ae,ue,ve,"\u22ee","\\varvdots"),oe(le,ue,ve,"\u22ee","\\varvdots"),oe(ae,ue,he,"\u02ca","\\acute"),oe(ae,ue,he,"\u02cb","\\grave"),oe(ae,ue,he,"\xa8","\\ddot"),oe(ae,ue,he,"~","\\tilde"),oe(ae,ue,he,"\u02c9","\\bar"),oe(ae,ue,he,"\u02d8","\\breve"),oe(ae,ue,he,"\u02c7","\\check"),oe(ae,ue,he,"^","\\hat"),oe(ae,ue,he,"\u20d7","\\vec"),oe(ae,ue,he,"\u02d9","\\dot"),oe(ae,ue,he,"\u02da","\\mathring"),oe(ae,ue,fe,"\ue131","\\@imath"),oe(ae,ue,fe,"\ue237","\\@jmath"),oe(ae,ue,ve,"\u0131","\u0131"),oe(ae,ue,ve,"\u0237","\u0237"),oe(le,ue,ve,"\u0131","\\i",!0),oe(le,ue,ve,"\u0237","\\j",!0),oe(le,ue,ve,"\xdf","\\ss",!0),oe(le,ue,ve,"\xe6","\\ae",!0),oe(le,ue,ve,"\u0153","\\oe",!0),oe(le,ue,ve,"\xf8","\\o",!0),oe(le,ue,ve,"\xc6","\\AE",!0),oe(le,ue,ve,"\u0152","\\OE",!0),oe(le,ue,ve,"\xd8","\\O",!0),oe(le,ue,he,"\u02ca","\\'"),oe(le,ue,he,"\u02cb","\\`"),oe(le,ue,he,"\u02c6","\\^"),oe(le,ue,he,"\u02dc","\\~"),oe(le,ue,he,"\u02c9","\\="),oe(le,ue,he,"\u02d8","\\u"),oe(le,ue,he,"\u02d9","\\."),oe(le,ue,he,"\xb8","\\c"),oe(le,ue,he,"\u02da","\\r"),oe(le,ue,he,"\u02c7","\\v"),oe(le,ue,he,"\xa8",'\\"'),oe(le,ue,he,"\u02dd","\\H"),oe(le,ue,he,"\u25ef","\\textcircled");const De={"--":!0,"---":!0,"``":!0,"''":!0};oe(le,ue,ve,"\u2013","--",!0),oe(le,ue,ve,"\u2013","\\textendash"),oe(le,ue,ve,"\u2014","---",!0),oe(le,ue,ve,"\u2014","\\textemdash"),oe(le,ue,ve,"\u2018","`",!0),oe(le,ue,ve,"\u2018","\\textquoteleft"),oe(le,ue,ve,"\u2019","'",!0),oe(le,ue,ve,"\u2019","\\textquoteright"),oe(le,ue,ve,"\u201c","``",!0),oe(le,ue,ve,"\u201c","\\textquotedblleft"),oe(le,ue,ve,"\u201d","''",!0),oe(le,ue,ve,"\u201d","\\textquotedblright"),oe(ae,ue,ve,"\xb0","\\degree",!0),oe(le,ue,ve,"\xb0","\\degree"),oe(le,ue,ve,"\xb0","\\textdegree",!0),oe(ae,ue,ve,"\xa3","\\pounds"),oe(ae,ue,ve,"\xa3","\\mathsterling",!0),oe(le,ue,ve,"\xa3","\\pounds"),oe(le,ue,ve,"\xa3","\\textsterling",!0),oe(ae,ce,ve,"\u2720","\\maltese"),oe(le,ce,ve,"\u2720","\\maltese");const ke='0123456789/@."';for(let Ur=0;Ur<14;Ur++){const e=ke.charAt(Ur);oe(ae,ue,ve,e,e)}const Ae='0123456789!@*()-=+";:?/.,';for(let Ur=0;Ur<25;Ur++){const e=Ae.charAt(Ur);oe(le,ue,ve,e,e)}const Se="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(let Ur=0;Ur<52;Ur++){const e=Se.charAt(Ur);oe(ae,ue,fe,e,e),oe(le,ue,ve,e,e)}oe(ae,ce,ve,"C","\u2102"),oe(le,ce,ve,"C","\u2102"),oe(ae,ce,ve,"H","\u210d"),oe(le,ce,ve,"H","\u210d"),oe(ae,ce,ve,"N","\u2115"),oe(le,ce,ve,"N","\u2115"),oe(ae,ce,ve,"P","\u2119"),oe(le,ce,ve,"P","\u2119"),oe(ae,ce,ve,"Q","\u211a"),oe(le,ce,ve,"Q","\u211a"),oe(ae,ce,ve,"R","\u211d"),oe(le,ce,ve,"R","\u211d"),oe(ae,ce,ve,"Z","\u2124"),oe(le,ce,ve,"Z","\u2124"),oe(ae,ue,fe,"h","\u210e"),oe(le,ue,fe,"h","\u210e");let Ce="";for(let Ur=0;Ur<52;Ur++){const e=Se.charAt(Ur);Ce=String.fromCharCode(55349,56320+Ur),oe(ae,ue,fe,e,Ce),oe(le,ue,ve,e,Ce),Ce=String.fromCharCode(55349,56372+Ur),oe(ae,ue,fe,e,Ce),oe(le,ue,ve,e,Ce),Ce=String.fromCharCode(55349,56424+Ur),oe(ae,ue,fe,e,Ce),oe(le,ue,ve,e,Ce),Ce=String.fromCharCode(55349,56580+Ur),oe(ae,ue,fe,e,Ce),oe(le,ue,ve,e,Ce),Ce=String.fromCharCode(55349,56684+Ur),oe(ae,ue,fe,e,Ce),oe(le,ue,ve,e,Ce),Ce=String.fromCharCode(55349,56736+Ur),oe(ae,ue,fe,e,Ce),oe(le,ue,ve,e,Ce),Ce=String.fromCharCode(55349,56788+Ur),oe(ae,ue,fe,e,Ce),oe(le,ue,ve,e,Ce),Ce=String.fromCharCode(55349,56840+Ur),oe(ae,ue,fe,e,Ce),oe(le,ue,ve,e,Ce),Ce=String.fromCharCode(55349,56944+Ur),oe(ae,ue,fe,e,Ce),oe(le,ue,ve,e,Ce),Ur<26&&(Ce=String.fromCharCode(55349,56632+Ur),oe(ae,ue,fe,e,Ce),oe(le,ue,ve,e,Ce),Ce=String.fromCharCode(55349,56476+Ur),oe(ae,ue,fe,e,Ce),oe(le,ue,ve,e,Ce))}Ce=String.fromCharCode(55349,56668),oe(ae,ue,fe,"k",Ce),oe(le,ue,ve,"k",Ce);for(let Ur=0;Ur<10;Ur++){const e=Ur.toString();Ce=String.fromCharCode(55349,57294+Ur),oe(ae,ue,fe,e,Ce),oe(le,ue,ve,e,Ce),Ce=String.fromCharCode(55349,57314+Ur),oe(ae,ue,fe,e,Ce),oe(le,ue,ve,e,Ce),Ce=String.fromCharCode(55349,57324+Ur),oe(ae,ue,fe,e,Ce),oe(le,ue,ve,e,Ce),Ce=String.fromCharCode(55349,57334+Ur),oe(ae,ue,fe,e,Ce),oe(le,ue,ve,e,Ce)}const Me="\xd0\xde\xfe";for(let Ur=0;Ur<3;Ur++){const e=Me.charAt(Ur);oe(ae,ue,fe,e,e),oe(le,ue,ve,e,e)}const ze=[["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"]],Ee=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Fe=function(e,t,n){return ie[n][e]&&ie[n][e].replace&&(e=ie[n][e].replace),{value:e,metrics:F(e,t,n)}},Be=function(e,t,n,r,s){const i=Fe(e,t,n),o=i.metrics;let a;if(e=i.value,o){let t=o.italic;("text"===n||r&&"mathit"===r.font)&&(t=0),a=new K(e,o.height,o.depth,t,o.skew,o.width,s)}else"undefined"!==typeof console&&console.warn("No character metrics for '"+e+"' in style '"+t+"' and mode '"+n+"'"),a=new K(e,0,0,0,0,0,s);if(r){a.maxFontSize=r.sizeMultiplier,r.style.isTight()&&a.classes.push("mtight");const e=r.getColor();e&&(a.style.color=e)}return a},Te=(e,t)=>{if(P(e.classes)!==P(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(1===e.classes.length){const t=e.classes[0];if("mbin"===t||"mord"===t)return!1}for(const n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(const n in t.style)if(t.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;return!0},_e=function(e){let t=0,n=0,r=0;for(let s=0;s<e.children.length;s++){const i=e.children[s];i.height>t&&(t=i.height),i.depth>n&&(n=i.depth),i.maxFontSize>r&&(r=i.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=r},Ne=function(e,t,n,r){const s=new X(e,t,n,r);return _e(s),s},Oe=(e,t,n,r)=>new X(e,t,n,r),Ie=function(e){const t=new C(e);return _e(t),t},qe=function(e,t,n){let r,s="";switch(e){case"amsrm":s="AMS";break;case"textrm":s="Main";break;case"textsf":s="SansSerif";break;case"texttt":s="Typewriter";break;default:s=e}return r="textbf"===t&&"textit"===n?"BoldItalic":"textbf"===t?"Bold":"textit"===t?"Italic":"Regular",s+"-"+r},Re={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"}},Le={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]};var je={fontMap:Re,makeSymbol:Be,mathsym:function(e,t,n,r){return void 0===r&&(r=[]),"boldsymbol"===n.font&&Fe(e,"Main-Bold",t).metrics?Be(e,"Main-Bold",t,n,r.concat(["mathbf"])):"\\"===e||"main"===ie[t][e].font?Be(e,"Main-Regular",t,n,r):Be(e,"AMS-Regular",t,n,r.concat(["amsrm"]))},makeSpan:Ne,makeSvgSpan:Oe,makeLineSpan:function(e,t,n){const r=Ne([e],[],t);return r.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=H(r.height),r.maxFontSize=1,r},makeAnchor:function(e,t,n,r){const s=new W(e,t,n,r);return _e(s),s},makeFragment:Ie,wrapFragment:function(e,t){return e instanceof C?Ne([],[e],t):e},makeVList:function(e,t){const{children:n,depth:r}=function(e){if("individualShift"===e.positionType){const t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth;let s=r;for(let e=1;e<t.length;e++){const r=-t[e].shift-s-t[e].elem.depth,i=r-(t[e-1].elem.height+t[e-1].elem.depth);s+=r,n.push({type:"kern",size:i}),n.push(t[e])}return{children:n,depth:r}}let t;if("top"===e.positionType){let n=e.positionData;for(let t=0;t<e.children.length;t++){const r=e.children[t];n-="kern"===r.type?r.size:r.elem.height+r.elem.depth}t=n}else if("bottom"===e.positionType)t=-e.positionData;else{const n=e.children[0];if("elem"!==n.type)throw new Error('First child must have type "elem".');if("shift"===e.positionType)t=-n.elem.depth-e.positionData;else{if("firstBaseline"!==e.positionType)throw new Error("Invalid positionType "+e.positionType+".");t=-n.elem.depth}}return{children:e.children,depth:t}}(e);let s=0;for(let m=0;m<n.length;m++){const e=n[m];if("elem"===e.type){const t=e.elem;s=Math.max(s,t.maxFontSize,t.height)}}s+=2;const i=Ne(["pstrut"],[]);i.style.height=H(s);const o=[];let a=r,l=r,u=r;for(let m=0;m<n.length;m++){const e=n[m];if("kern"===e.type)u+=e.size;else{const t=e.elem,n=e.wrapperClasses||[],r=e.wrapperStyle||{},a=Ne(n,[i,t],void 0,r);a.style.top=H(-s-u-t.depth),e.marginLeft&&(a.style.marginLeft=e.marginLeft),e.marginRight&&(a.style.marginRight=e.marginRight),o.push(a),u+=t.height+t.depth}a=Math.min(a,u),l=Math.max(l,u)}const c=Ne(["vlist"],o);let h;if(c.style.height=H(l),a<0){const e=Ne([],[]),t=Ne(["vlist"],[e]);t.style.height=H(-a);const n=Ne(["vlist-s"],[new K("\u200b")]);h=[Ne(["vlist-r"],[c,n]),Ne(["vlist-r"],[t])]}else h=[Ne(["vlist-r"],[c])];const p=Ne(["vlist-t"],h);return 2===h.length&&p.classes.push("vlist-t2"),p.height=l,p.depth=-a,p},makeOrd:function(e,t,n){const s=e.mode,i=e.text,o=["mord"],a="math"===s||"text"===s&&t.font,l=a?t.font:t.fontFamily;let u="",c="";if(55349===i.charCodeAt(0)&&([u,c]=function(e,t){const n=1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536,s="math"===t?0:1;if(119808<=n&&n<120484){const e=Math.floor((n-119808)/26);return[ze[e][2],ze[e][s]]}if(120782<=n&&n<=120831){const e=Math.floor((n-120782)/10);return[Ee[e][2],Ee[e][s]]}if(120485===n||120486===n)return[ze[0][2],ze[0][s]];if(120486<n&&n<120782)return["",""];throw new r("Unsupported character: "+e)}(i,s)),u.length>0)return Be(i,u,s,t,o.concat(c));if(l){let e,r;if("boldsymbol"===l){const t=function(e,t,n,r,s){return"textord"!==s&&Fe(e,"Math-BoldItalic",t).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}}(i,s,0,0,n);e=t.fontName,r=[t.fontClass]}else a?(e=Re[l].fontName,r=[l]):(e=qe(l,t.fontWeight,t.fontShape),r=[l,t.fontWeight,t.fontShape]);if(Fe(i,e,s).metrics)return Be(i,e,s,t,o.concat(r));if(De.hasOwnProperty(i)&&"Typewriter"===e.slice(0,10)){const n=[];for(let a=0;a<i.length;a++)n.push(Be(i[a],e,s,t,o.concat(r)));return Ie(n)}}if("mathord"===n)return Be(i,"Math-Italic",s,t,o.concat(["mathnormal"]));if("textord"===n){const e=ie[s][i]&&ie[s][i].font;if("ams"===e){const e=qe("amsrm",t.fontWeight,t.fontShape);return Be(i,e,s,t,o.concat("amsrm",t.fontWeight,t.fontShape))}if("main"!==e&&e){const n=qe(e,t.fontWeight,t.fontShape);return Be(i,n,s,t,o.concat(n,t.fontWeight,t.fontShape))}{const e=qe("textrm",t.fontWeight,t.fontShape);return Be(i,e,s,t,o.concat(t.fontWeight,t.fontShape))}}throw new Error("unexpected type: "+n+" in makeOrd")},makeGlue:(e,t)=>{const n=Ne(["mspace"],[],t),r=j(e,t);return n.style.marginRight=H(r),n},staticSvg:function(e,t){const[n,r,s]=Le[e],i=new J(n),o=new Q([i],{width:H(r),height:H(s),style:"width:"+H(r),viewBox:"0 0 "+1e3*r+" "+1e3*s,preserveAspectRatio:"xMinYMin"}),a=Oe(["overlay"],[o],t);return a.height=s,a.style.height=H(s),a.style.width=H(r),a},svgData:Le,tryCombineChars:e=>{for(let t=0;t<e.length-1;t++){const n=e[t],r=e[t+1];n instanceof K&&r instanceof K&&Te(n,r)&&(n.text+=r.text,n.height=Math.max(n.height,r.height),n.depth=Math.max(n.depth,r.depth),n.italic=r.italic,e.splice(t+1,1),t--)}return e}};const He={number:3,unit:"mu"},Pe={number:4,unit:"mu"},Ve={number:5,unit:"mu"},$e={mord:{mop:He,mbin:Pe,mrel:Ve,minner:He},mop:{mord:He,mop:He,mrel:Ve,minner:He},mbin:{mord:Pe,mop:Pe,mopen:Pe,minner:Pe},mrel:{mord:Ve,mop:Ve,mopen:Ve,minner:Ve},mopen:{},mclose:{mop:He,mbin:Pe,mrel:Ve,minner:He},mpunct:{mord:He,mop:He,mrel:Ve,mopen:He,mclose:He,mpunct:He,minner:He},minner:{mord:He,mop:He,mbin:Pe,mrel:Ve,mopen:He,mpunct:He,minner:He}},Ge={mord:{mop:He},mop:{mord:He,mop:He},mbin:{},mrel:{},mopen:{},mclose:{mop:He},mpunct:{},minner:{mop:He}},Ue={},Xe={},We={};function Ye(e){let{type:t,names:n,props:r,handler:s,htmlBuilder:i,mathmlBuilder:o}=e;const a={type:t,numArgs:r.numArgs,argTypes:r.argTypes,allowedInArgument:!!r.allowedInArgument,allowedInText:!!r.allowedInText,allowedInMath:void 0===r.allowedInMath||r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,primitive:!!r.primitive,handler:s};for(let l=0;l<n.length;++l)Ue[n[l]]=a;t&&(i&&(Xe[t]=i),o&&(We[t]=o))}function Ze(e){let{type:t,htmlBuilder:n,mathmlBuilder:r}=e;Ye({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:n,mathmlBuilder:r})}const Ke=function(e){return"ordgroup"===e.type&&1===e.body.length?e.body[0]:e},Qe=function(e){return"ordgroup"===e.type?e.body:[e]},Je=je.makeSpan,et=["leftmost","mbin","mopen","mrel","mop","mpunct"],tt=["rightmost","mrel","mclose","mpunct"],nt={display:w.DISPLAY,text:w.TEXT,script:w.SCRIPT,scriptscript:w.SCRIPTSCRIPT},rt={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},st=function(e,t,n,r){void 0===r&&(r=[null,null]);const s=[];for(let l=0;l<e.length;l++){const n=ct(e[l],t);if(n instanceof C){const e=n.children;s.push(...e)}else s.push(n)}if(je.tryCombineChars(s),!n)return s;let i=t;if(1===e.length){const n=e[0];"sizing"===n.type?i=t.havingSize(n.size):"styling"===n.type&&(i=t.havingStyle(nt[n.style]))}const o=Je([r[0]||"leftmost"],[],t),a=Je([r[1]||"rightmost"],[],t),u="root"===n;return it(s,((e,t)=>{const n=t.classes[0],r=e.classes[0];"mbin"===n&&l.contains(tt,r)?t.classes[0]="mord":"mbin"===r&&l.contains(et,n)&&(e.classes[0]="mord")}),{node:o},a,u),it(s,((e,t)=>{const n=lt(t),r=lt(e),s=n&&r?e.hasClass("mtight")?Ge[n][r]:$e[n][r]:null;if(s)return je.makeGlue(s,i)}),{node:o},a,u),s},it=function(e,t,n,r,s){r&&e.push(r);let i=0;for(;i<e.length;i++){const r=e[i],o=ot(r);if(o){it(o.children,t,n,null,s);continue}const a=!r.hasClass("mspace");if(a){const s=t(r,n.node);s&&(n.insertAfter?n.insertAfter(s):(e.unshift(s),i++))}a?n.node=r:s&&r.hasClass("newline")&&(n.node=Je(["leftmost"])),n.insertAfter=(t=>n=>{e.splice(t+1,0,n),i++})(i)}r&&e.pop()},ot=function(e){return e instanceof C||e instanceof W||e instanceof X&&e.hasClass("enclosing")?e:null},at=function(e,t){const n=ot(e);if(n){const e=n.children;if(e.length){if("right"===t)return at(e[e.length-1],"right");if("left"===t)return at(e[0],"left")}}return e},lt=function(e,t){return e?(t&&(e=at(e,t)),rt[e.classes[0]]||null):null},ut=function(e,t){const n=["nulldelimiter"].concat(e.baseSizingClasses());return Je(t.concat(n))},ct=function(e,t,n){if(!e)return Je();if(Xe[e.type]){let r=Xe[e.type](e,t);if(n&&t.size!==n.size){r=Je(t.sizingClasses(n),[r],t);const e=t.sizeMultiplier/n.sizeMultiplier;r.height*=e,r.depth*=e}return r}throw new r("Got group of unknown type: '"+e.type+"'")};function ht(e,t){const n=Je(["base"],e,t),r=Je(["strut"]);return r.style.height=H(n.height+n.depth),n.depth&&(r.style.verticalAlign=H(-n.depth)),n.children.unshift(r),n}function pt(e,t){let n=null;1===e.length&&"tag"===e[0].type&&(n=e[0].tag,e=e[0].body);const r=st(e,t,"root");let s;2===r.length&&r[1].hasClass("tag")&&(s=r.pop());const i=[];let o,a=[];for(let u=0;u<r.length;u++)if(a.push(r[u]),r[u].hasClass("mbin")||r[u].hasClass("mrel")||r[u].hasClass("allowbreak")){let e=!1;for(;u<r.length-1&&r[u+1].hasClass("mspace")&&!r[u+1].hasClass("newline");)u++,a.push(r[u]),r[u].hasClass("nobreak")&&(e=!0);e||(i.push(ht(a,t)),a=[])}else r[u].hasClass("newline")&&(a.pop(),a.length>0&&(i.push(ht(a,t)),a=[]),i.push(r[u]));a.length>0&&i.push(ht(a,t)),n?(o=ht(st(n,t,!0)),o.classes=["tag"],i.push(o)):s&&i.push(s);const l=Je(["katex-html"],i);if(l.setAttribute("aria-hidden","true"),o){const e=o.children[0];e.style.height=H(l.height+l.depth),l.depth&&(e.style.verticalAlign=H(-l.depth))}return l}function mt(e){return new C(e)}class dt{constructor(e,t,n){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=n||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){const e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=P(this.classes));for(let t=0;t<this.children.length;t++)if(this.children[t]instanceof ft&&this.children[t+1]instanceof ft){let n=this.children[t].toText()+this.children[++t].toText();for(;this.children[t+1]instanceof ft;)n+=this.children[++t].toText();e.appendChild(new ft(n).toNode())}else e.appendChild(this.children[t].toNode());return e}toMarkup(){let e="<"+this.type;for(const t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="',e+=l.escape(this.attributes[t]),e+='"');this.classes.length>0&&(e+=' class ="'+l.escape(P(this.classes))+'"'),e+=">";for(let t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e+="</"+this.type+">",e}toText(){return this.children.map((e=>e.toText())).join("")}}class ft{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return l.escape(this.toText())}toText(){return this.text}}var gt={MathNode:dt,TextNode:ft,SpaceNode:class{constructor(e){this.width=void 0,this.character=void 0,this.width=e,this.character=e>=.05555&&e<=.05556?"\u200a":e>=.1666&&e<=.1667?"\u2009":e>=.2222&&e<=.2223?"\u2005":e>=.2777&&e<=.2778?"\u2005\u200a":e>=-.05556&&e<=-.05555?"\u200a\u2063":e>=-.1667&&e<=-.1666?"\u2009\u2063":e>=-.2223&&e<=-.2222?"\u205f\u2063":e>=-.2778&&e<=-.2777?"\u2005\u2063":null}toNode(){if(this.character)return document.createTextNode(this.character);{const e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",H(this.width)),e}}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+H(this.width)+'"/>'}toText(){return this.character?this.character:" "}},newDocumentFragment:mt};const bt=function(e,t,n){return!ie[t][e]||!ie[t][e].replace||55349===e.charCodeAt(0)||De.hasOwnProperty(e)&&n&&(n.fontFamily&&"tt"===n.fontFamily.slice(4,6)||n.font&&"tt"===n.font.slice(4,6))||(e=ie[t][e].replace),new gt.TextNode(e)},yt=function(e){return 1===e.length?e[0]:new gt.MathNode("mrow",e)},xt=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";const n=t.font;if(!n||"mathnormal"===n)return null;const r=e.mode;if("mathit"===n)return"italic";if("boldsymbol"===n)return"textord"===e.type?"bold":"bold-italic";if("mathbf"===n)return"bold";if("mathbb"===n)return"double-struck";if("mathsfit"===n)return"sans-serif-italic";if("mathfrak"===n)return"fraktur";if("mathscr"===n||"mathcal"===n)return"script";if("mathsf"===n)return"sans-serif";if("mathtt"===n)return"monospace";let s=e.text;return l.contains(["\\imath","\\jmath"],s)?null:(ie[r][s]&&ie[r][s].replace&&(s=ie[r][s].replace),F(s,je.fontMap[n].fontName,r)?je.fontMap[n].variant:null)};function wt(e){if(!e)return!1;if("mi"===e.type&&1===e.children.length){const t=e.children[0];return t instanceof ft&&"."===t.text}if("mo"===e.type&&1===e.children.length&&"true"===e.getAttribute("separator")&&"0em"===e.getAttribute("lspace")&&"0em"===e.getAttribute("rspace")){const t=e.children[0];return t instanceof ft&&","===t.text}return!1}const vt=function(e,t,n){if(1===e.length){const r=kt(e[0],t);return n&&r instanceof dt&&"mo"===r.type&&(r.setAttribute("lspace","0em"),r.setAttribute("rspace","0em")),[r]}const r=[];let s;for(let i=0;i<e.length;i++){const n=kt(e[i],t);if(n instanceof dt&&s instanceof dt){if("mtext"===n.type&&"mtext"===s.type&&n.getAttribute("mathvariant")===s.getAttribute("mathvariant")){s.children.push(...n.children);continue}if("mn"===n.type&&"mn"===s.type){s.children.push(...n.children);continue}if(wt(n)&&"mn"===s.type){s.children.push(...n.children);continue}if("mn"===n.type&&wt(s))n.children=[...s.children,...n.children],r.pop();else if(("msup"===n.type||"msub"===n.type)&&n.children.length>=1&&("mn"===s.type||wt(s))){const e=n.children[0];e instanceof dt&&"mn"===e.type&&(e.children=[...s.children,...e.children],r.pop())}else if("mi"===s.type&&1===s.children.length){const e=s.children[0];if(e instanceof ft&&"\u0338"===e.text&&("mo"===n.type||"mi"===n.type||"mn"===n.type)){const e=n.children[0];e instanceof ft&&e.text.length>0&&(e.text=e.text.slice(0,1)+"\u0338"+e.text.slice(1),r.pop())}}}r.push(n),s=n}return r},Dt=function(e,t,n){return yt(vt(e,t,n))},kt=function(e,t){if(!e)return new gt.MathNode("mrow");if(We[e.type])return We[e.type](e,t);throw new r("Got group of unknown type: '"+e.type+"'")};function At(e,t,n,r,s){const i=vt(e,n);let o;o=1===i.length&&i[0]instanceof dt&&l.contains(["mrow","mtable"],i[0].type)?i[0]:new gt.MathNode("mrow",i);const a=new gt.MathNode("annotation",[new gt.TextNode(t)]);a.setAttribute("encoding","application/x-tex");const u=new gt.MathNode("semantics",[o,a]),c=new gt.MathNode("math",[u]);c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),r&&c.setAttribute("display","block");const h=s?"katex":"katex-mathml";return je.makeSpan([h],[c])}const St=function(e){return new I({style:e.displayMode?w.DISPLAY:w.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Ct=function(e,t){if(t.displayMode){const n=["katex-display"];t.leqno&&n.push("leqno"),t.fleqn&&n.push("fleqn"),e=je.makeSpan(n,[e])}return e},Mt={widehat:"^",widecheck:"\u02c7",widetilde:"~",utilde:"~",overleftarrow:"\u2190",underleftarrow:"\u2190",xleftarrow:"\u2190",overrightarrow:"\u2192",underrightarrow:"\u2192",xrightarrow:"\u2192",underbrace:"\u23df",overbrace:"\u23de",overgroup:"\u23e0",undergroup:"\u23e1",overleftrightarrow:"\u2194",underleftrightarrow:"\u2194",xleftrightarrow:"\u2194",Overrightarrow:"\u21d2",xRightarrow:"\u21d2",overleftharpoon:"\u21bc",xleftharpoonup:"\u21bc",overrightharpoon:"\u21c0",xrightharpoonup:"\u21c0",xLeftarrow:"\u21d0",xLeftrightarrow:"\u21d4",xhookleftarrow:"\u21a9",xhookrightarrow:"\u21aa",xmapsto:"\u21a6",xrightharpoondown:"\u21c1",xleftharpoondown:"\u21bd",xrightleftharpoons:"\u21cc",xleftrightharpoons:"\u21cb",xtwoheadleftarrow:"\u219e",xtwoheadrightarrow:"\u21a0",xlongequal:"=",xtofrom:"\u21c4",xrightleftarrows:"\u21c4",xrightequilibrium:"\u21cc",xleftequilibrium:"\u21cb","\\cdrightarrow":"\u2192","\\cdleftarrow":"\u2190","\\cdlongequal":"="},zt={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]};var Et=function(e,t,n,r,s){let i;const o=e.height+e.depth+n+r;if(/fbox|color|angl/.test(t)){if(i=je.makeSpan(["stretchy",t],[],s),"fbox"===t){const e=s.color&&s.getColor();e&&(i.style.borderColor=e)}}else{const e=[];/^[bx]cancel$/.test(t)&&e.push(new ee({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&e.push(new ee({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));const n=new Q(e,{width:"100%",height:H(o)});i=je.makeSvgSpan([],[n],s)}return i.height=o,i.style.height=H(o),i},Ft=function(e){const t=new gt.MathNode("mo",[new gt.TextNode(Mt[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},Bt=function(e,t){const{span:n,minWidth:r,height:s}=function(){let n=4e5;const r=e.label.slice(1);if(l.contains(["widehat","widecheck","widetilde","utilde"],r)){const i="ordgroup"===(s=e.base).type?s.body.length:1;let o,a,l;if(i>5)"widehat"===r||"widecheck"===r?(o=420,n=2364,l=.42,a=r+"4"):(o=312,n=2340,l=.34,a="tilde4");else{const e=[1,1,2,2,3,3][i];"widehat"===r||"widecheck"===r?(n=[0,1062,2364,2364,2364][e],o=[0,239,300,360,420][e],l=[0,.24,.3,.3,.36,.42][e],a=r+e):(n=[0,600,1033,2339,2340][e],o=[0,260,286,306,312][e],l=[0,.26,.286,.3,.306,.34][e],a="tilde"+e)}const u=new J(a),c=new Q([u],{width:"100%",height:H(l),viewBox:"0 0 "+n+" "+o,preserveAspectRatio:"none"});return{span:je.makeSvgSpan([],[c],t),minWidth:0,height:l}}{const e=[],s=zt[r],[i,o,a]=s,l=a/1e3,u=i.length;let c,h;if(1===u)c=["hide-tail"],h=[s[3]];else if(2===u)c=["halfarrow-left","halfarrow-right"],h=["xMinYMin","xMaxYMin"];else{if(3!==u)throw new Error("Correct katexImagesData or update code here to support\n "+u+" children.");c=["brace-left","brace-center","brace-right"],h=["xMinYMin","xMidYMin","xMaxYMin"]}for(let r=0;r<u;r++){const s=new J(i[r]),p=new Q([s],{width:"400em",height:H(l),viewBox:"0 0 "+n+" "+a,preserveAspectRatio:h[r]+" slice"}),m=je.makeSvgSpan([c[r]],[p],t);if(1===u)return{span:m,minWidth:o,height:l};m.style.height=H(l),e.push(m)}return{span:je.makeSpan(["stretchy"],e,t),minWidth:o,height:l}}var s}();return n.height=s,n.style.height=H(s),r>0&&(n.style.minWidth=H(r)),n};function Tt(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 _t(e){const t=Nt(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 Nt(e){return e&&("atom"===e.type||re.hasOwnProperty(e.type))?e:null}const Ot=(e,t)=>{let n,r,s;e&&"supsub"===e.type?(r=Tt(e.base,"accent"),n=r.base,e.base=n,s=function(e){if(e instanceof X)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}(ct(e,t)),e.base=r):(r=Tt(e,"accent"),n=r.base);const i=ct(n,t.havingCrampedStyle());let o=0;if(r.isShifty&&l.isCharacterBox(n)){const e=l.getBaseElem(n);o=te(ct(e,t.havingCrampedStyle())).skew}const a="\\c"===r.label;let u,c=a?i.height+i.depth:Math.min(i.height,t.fontMetrics().xHeight);if(r.isStretchy)u=Bt(r,t),u=je.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:u,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+H(2*o)+")",marginLeft:H(2*o)}:void 0}]},t);else{let e,n;"\\vec"===r.label?(e=je.staticSvg("vec",t),n=je.svgData.vec[1]):(e=je.makeOrd({mode:r.mode,text:r.label},t,"textord"),e=te(e),e.italic=0,n=e.width,a&&(c+=e.depth)),u=je.makeSpan(["accent-body"],[e]);const s="\\textcircled"===r.label;s&&(u.classes.push("accent-full"),c=i.height);let l=o;s||(l-=n/2),u.style.left=H(l),"\\textcircled"===r.label&&(u.style.top=".2em"),u=je.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-c},{type:"elem",elem:u}]},t)}const h=je.makeSpan(["mord","accent"],[u],t);return s?(s.children[0]=h,s.height=Math.max(h.height,s.height),s.classes[0]="mord",s):h},It=(e,t)=>{const n=e.isStretchy?Ft(e.label):new gt.MathNode("mo",[bt(e.label,e.mode)]),r=new gt.MathNode("mover",[kt(e.base,t),n]);return r.setAttribute("accent","true"),r},qt=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map((e=>"\\"+e)).join("|"));Ye({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)=>{const n=Ke(t[0]),r=!qt.test(e.funcName),s=!r||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:s,base:n}},htmlBuilder:Ot,mathmlBuilder:It}),Ye({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{const n=t[0];let r=e.parser.mode;return"math"===r&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),r="text"),{type:"accent",mode:r,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:Ot,mathmlBuilder:It}),Ye({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{let{parser:n,funcName:r}=e;const s=t[0];return{type:"accentUnder",mode:n.mode,label:r,base:s}},htmlBuilder:(e,t)=>{const n=ct(e.base,t),r=Bt(e,t),s="\\utilde"===e.label?.12:0,i=je.makeVList({positionType:"top",positionData:n.height,children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:s},{type:"elem",elem:n}]},t);return je.makeSpan(["mord","accentunder"],[i],t)},mathmlBuilder:(e,t)=>{const n=Ft(e.label),r=new gt.MathNode("munder",[kt(e.base,t),n]);return r.setAttribute("accentunder","true"),r}});const Rt=e=>{const t=new gt.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};Ye({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,n){let{parser:r,funcName:s}=e;return{type:"xArrow",mode:r.mode,label:s,body:t[0],below:n[0]}},htmlBuilder(e,t){const n=t.style;let r=t.havingStyle(n.sup());const s=je.wrapFragment(ct(e.body,r,t),t),i="\\x"===e.label.slice(0,2)?"x":"cd";let o;s.classes.push(i+"-arrow-pad"),e.below&&(r=t.havingStyle(n.sub()),o=je.wrapFragment(ct(e.below,r,t),t),o.classes.push(i+"-arrow-pad"));const a=Bt(e,t),l=-t.fontMetrics().axisHeight+.5*a.height;let u,c=-t.fontMetrics().axisHeight-.5*a.height-.111;if((s.depth>.25||"\\xleftequilibrium"===e.label)&&(c-=s.depth),o){const e=-t.fontMetrics().axisHeight+o.height+.5*a.height+.111;u=je.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:c},{type:"elem",elem:a,shift:l},{type:"elem",elem:o,shift:e}]},t)}else u=je.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:c},{type:"elem",elem:a,shift:l}]},t);return u.children[0].children[0].children[1].classes.push("svg-align"),je.makeSpan(["mrel","x-arrow"],[u],t)},mathmlBuilder(e,t){const n=Ft(e.label);let r;if(n.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){const s=Rt(kt(e.body,t));if(e.below){const i=Rt(kt(e.below,t));r=new gt.MathNode("munderover",[n,i,s])}else r=new gt.MathNode("mover",[n,s])}else if(e.below){const s=Rt(kt(e.below,t));r=new gt.MathNode("munder",[n,s])}else r=Rt(),r=new gt.MathNode("mover",[n,r]);return r}});const Lt=je.makeSpan;function jt(e,t){const n=st(e.body,t,!0);return Lt([e.mclass],n,t)}function Ht(e,t){let n;const r=vt(e.body,t);return"minner"===e.mclass?n=new gt.MathNode("mpadded",r):"mord"===e.mclass?e.isCharacterBox?(n=r[0],n.type="mi"):n=new gt.MathNode("mi",r):(e.isCharacterBox?(n=r[0],n.type="mo"):n=new gt.MathNode("mo",r),"mbin"===e.mclass?(n.attributes.lspace="0.22em",n.attributes.rspace="0.22em"):"mpunct"===e.mclass?(n.attributes.lspace="0em",n.attributes.rspace="0.17em"):"mopen"===e.mclass||"mclose"===e.mclass?(n.attributes.lspace="0em",n.attributes.rspace="0em"):"minner"===e.mclass&&(n.attributes.lspace="0.0556em",n.attributes.width="+0.1111em")),n}Ye({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){let{parser:n,funcName:r}=e;const s=t[0];return{type:"mclass",mode:n.mode,mclass:"m"+r.slice(5),body:Qe(s),isCharacterBox:l.isCharacterBox(s)}},htmlBuilder:jt,mathmlBuilder:Ht});const Pt=e=>{const 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};Ye({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){let{parser:n}=e;return{type:"mclass",mode:n.mode,mclass:Pt(t[0]),body:Qe(t[1]),isCharacterBox:l.isCharacterBox(t[1])}}}),Ye({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){let{parser:n,funcName:r}=e;const s=t[1],i=t[0];let o;o="\\stackrel"!==r?Pt(s):"mrel";const a={type:"op",mode:s.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==r,body:Qe(s)},u={type:"supsub",mode:i.mode,base:a,sup:"\\underset"===r?null:i,sub:"\\underset"===r?i:null};return{type:"mclass",mode:n.mode,mclass:o,body:[u],isCharacterBox:l.isCharacterBox(u)}},htmlBuilder:jt,mathmlBuilder:Ht}),Ye({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){let{parser:n}=e;return{type:"pmb",mode:n.mode,mclass:Pt(t[0]),body:Qe(t[0])}},htmlBuilder(e,t){const n=st(e.body,t,!0),r=je.makeSpan([e.mclass],n,t);return r.style.textShadow="0.02em 0.01em 0.04px",r},mathmlBuilder(e,t){const n=vt(e.body,t),r=new gt.MathNode("mstyle",n);return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});const Vt={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},$t=e=>"textord"===e.type&&"@"===e.text;function Gt(e,t,n){const r=Vt[e];switch(r){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return n.callFunction(r,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{const e={type:"atom",text:r,mode:"math",family:"rel"},s={type:"ordgroup",mode:"math",body:[n.callFunction("\\\\cdleft",[t[0]],[]),n.callFunction("\\Big",[e],[]),n.callFunction("\\\\cdright",[t[1]],[])]};return n.callFunction("\\\\cdparent",[s],[])}case"\\\\cdlongequal":return n.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{const e={type:"textord",text:"\\Vert",mode:"math"};return n.callFunction("\\Big",[e],[])}default:return{type:"textord",text:" ",mode:"math"}}}Ye({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){let{parser:n,funcName:r}=e;return{type:"cdlabel",mode:n.mode,side:r.slice(4),label:t[0]}},htmlBuilder(e,t){const n=t.havingStyle(t.style.sup()),r=je.wrapFragment(ct(e.label,n,t),t);return r.classes.push("cd-label-"+e.side),r.style.bottom=H(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){let n=new gt.MathNode("mrow",[kt(e.label,t)]);return n=new gt.MathNode("mpadded",[n]),n.setAttribute("width","0"),"left"===e.side&&n.setAttribute("lspace","-1width"),n.setAttribute("voffset","0.7em"),n=new gt.MathNode("mstyle",[n]),n.setAttribute("displaystyle","false"),n.setAttribute("scriptlevel","1"),n}}),Ye({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){let{parser:n}=e;return{type:"cdlabelparent",mode:n.mode,fragment:t[0]}},htmlBuilder(e,t){const n=je.wrapFragment(ct(e.fragment,t),t);return n.classes.push("cd-vert-arrow"),n},mathmlBuilder:(e,t)=>new gt.MathNode("mrow",[kt(e.fragment,t)])}),Ye({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){let{parser:n}=e;const s=Tt(t[0],"ordgroup").body;let i="";for(let r=0;r<s.length;r++)i+=Tt(s[r],"textord").text;let o,a=parseInt(i);if(isNaN(a))throw new r("\\@char has non-numeric argument "+i);if(a<0||a>=1114111)throw new r("\\@char with invalid code point "+i);return a<=65535?o=String.fromCharCode(a):(a-=65536,o=String.fromCharCode(55296+(a>>10),56320+(1023&a))),{type:"textord",mode:n.mode,text:o}}});const Ut=(e,t)=>{const n=st(e.body,t.withColor(e.color),!1);return je.makeFragment(n)},Xt=(e,t)=>{const n=vt(e.body,t.withColor(e.color)),r=new gt.MathNode("mstyle",n);return r.setAttribute("mathcolor",e.color),r};Ye({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){let{parser:n}=e;const r=Tt(t[0],"color-token").color,s=t[1];return{type:"color",mode:n.mode,color:r,body:Qe(s)}},htmlBuilder:Ut,mathmlBuilder:Xt}),Ye({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){let{parser:n,breakOnTokenText:r}=e;const s=Tt(t[0],"color-token").color;n.gullet.macros.set("\\current@color",s);const i=n.parseExpression(!0,r);return{type:"color",mode:n.mode,color:s,body:i}},htmlBuilder:Ut,mathmlBuilder:Xt}),Ye({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,n){let{parser:r}=e;const s="["===r.gullet.future().text?r.parseSizeGroup(!0):null,i=!r.settings.displayMode||!r.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:r.mode,newLine:i,size:s&&Tt(s,"size").value}},htmlBuilder(e,t){const n=je.makeSpan(["mspace"],[],t);return e.newLine&&(n.classes.push("newline"),e.size&&(n.style.marginTop=H(j(e.size,t)))),n},mathmlBuilder(e,t){const n=new gt.MathNode("mspace");return e.newLine&&(n.setAttribute("linebreak","newline"),e.size&&n.setAttribute("height",H(j(e.size,t)))),n}});const Wt={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Yt=e=>{const t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new r("Expected a control sequence",e);return t},Zt=(e,t,n,r)=>{let s=e.gullet.macros.get(n.text);null==s&&(n.noexpand=!0,s={tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,s,r)};Ye({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){let{parser:t,funcName:n}=e;t.consumeSpaces();const s=t.fetch();if(Wt[s.text])return"\\global"!==n&&"\\\\globallong"!==n||(s.text=Wt[s.text]),Tt(t.parseFunction(),"internal");throw new r("Invalid token after macro prefix",s)}}),Ye({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){let{parser:t,funcName:n}=e,s=t.gullet.popToken();const i=s.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new r("Expected a control sequence",s);let o,a=0;const l=[[]];for(;"{"!==t.gullet.future().text;)if(s=t.gullet.popToken(),"#"===s.text){if("{"===t.gullet.future().text){o=t.gullet.future(),l[a].push("{");break}if(s=t.gullet.popToken(),!/^[1-9]$/.test(s.text))throw new r('Invalid argument number "'+s.text+'"');if(parseInt(s.text)!==a+1)throw new r('Argument number "'+s.text+'" out of order');a++,l.push([])}else{if("EOF"===s.text)throw new r("Expected a macro definition");l[a].push(s.text)}let{tokens:u}=t.gullet.consumeArg();return o&&u.unshift(o),"\\edef"!==n&&"\\xdef"!==n||(u=t.gullet.expandTokens(u),u.reverse()),t.gullet.macros.set(i,{tokens:u,numArgs:a,delimiters:l},n===Wt[n]),{type:"internal",mode:t.mode}}}),Ye({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){let{parser:t,funcName:n}=e;const r=Yt(t.gullet.popToken());t.gullet.consumeSpaces();const s=(e=>{let t=e.gullet.popToken();return"="===t.text&&(t=e.gullet.popToken()," "===t.text&&(t=e.gullet.popToken())),t})(t);return Zt(t,r,s,"\\\\globallet"===n),{type:"internal",mode:t.mode}}}),Ye({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){let{parser:t,funcName:n}=e;const r=Yt(t.gullet.popToken()),s=t.gullet.popToken(),i=t.gullet.popToken();return Zt(t,r,i,"\\\\globalfuture"===n),t.gullet.pushToken(i),t.gullet.pushToken(s),{type:"internal",mode:t.mode}}});const Kt=function(e,t,n){const r=F(ie.math[e]&&ie.math[e].replace||e,t,n);if(!r)throw new Error("Unsupported symbol "+e+" and font size "+t+".");return r},Qt=function(e,t,n,r){const s=n.havingBaseStyle(t),i=je.makeSpan(r.concat(s.sizingClasses(n)),[e],n),o=s.sizeMultiplier/n.sizeMultiplier;return i.height*=o,i.depth*=o,i.maxFontSize=s.sizeMultiplier,i},Jt=function(e,t,n){const r=t.havingBaseStyle(n),s=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=H(s),e.height-=s,e.depth+=s},en=function(e,t,n,r,s,i){const o=function(e,t,n,r){return je.makeSymbol(e,"Size"+t+"-Regular",n,r)}(e,t,s,r),a=Qt(je.makeSpan(["delimsizing","size"+t],[o],r),w.TEXT,r,i);return n&&Jt(a,r,w.TEXT),a},tn=function(e,t,n){let r;return r="Size1-Regular"===t?"delim-size1":"delim-size4",{type:"elem",elem:je.makeSpan(["delimsizinginner",r],[je.makeSpan([],[je.makeSymbol(e,t,n)])])}},nn=function(e,t,n){const r=M["Size4-Regular"][e.charCodeAt(0)]?M["Size4-Regular"][e.charCodeAt(0)][4]:M["Size1-Regular"][e.charCodeAt(0)][4],s=new J("inner",function(e,t){switch(e){case"\u239c":return"M291 0 H417 V"+t+" H291z M291 0 H417 V"+t+" H291z";case"\u2223":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145z";case"\u2225":return"M145 0 H188 V"+t+" H145z M145 0 H188 V"+t+" H145zM367 0 H410 V"+t+" H367z M367 0 H410 V"+t+" H367z";case"\u239f":return"M457 0 H583 V"+t+" H457z M457 0 H583 V"+t+" H457z";case"\u23a2":return"M319 0 H403 V"+t+" H319z M319 0 H403 V"+t+" H319z";case"\u23a5":return"M263 0 H347 V"+t+" H263z M263 0 H347 V"+t+" H263z";case"\u23aa":return"M384 0 H504 V"+t+" H384z M384 0 H504 V"+t+" H384z";case"\u23d0":return"M312 0 H355 V"+t+" H312z M312 0 H355 V"+t+" H312z";case"\u2016":return"M257 0 H300 V"+t+" H257z M257 0 H300 V"+t+" H257zM478 0 H521 V"+t+" H478z M478 0 H521 V"+t+" H478z";default:return""}}(e,Math.round(1e3*t))),i=new Q([s],{width:H(r),height:H(t),style:"width:"+H(r),viewBox:"0 0 "+1e3*r+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"}),o=je.makeSvgSpan([],[i],n);return o.height=t,o.style.height=H(t),o.style.width=H(r),{type:"elem",elem:o}},rn={type:"kern",size:-.008},sn=["|","\\lvert","\\rvert","\\vert"],on=["\\|","\\lVert","\\rVert","\\Vert"],an=function(e,t,n,r,s,i){let o,a,u,c,h="",p=0;o=u=c=e,a=null;let m="Size1-Regular";"\\uparrow"===e?u=c="\u23d0":"\\Uparrow"===e?u=c="\u2016":"\\downarrow"===e?o=u="\u23d0":"\\Downarrow"===e?o=u="\u2016":"\\updownarrow"===e?(o="\\uparrow",u="\u23d0",c="\\downarrow"):"\\Updownarrow"===e?(o="\\Uparrow",u="\u2016",c="\\Downarrow"):l.contains(sn,e)?(u="\u2223",h="vert",p=333):l.contains(on,e)?(u="\u2225",h="doublevert",p=556):"["===e||"\\lbrack"===e?(o="\u23a1",u="\u23a2",c="\u23a3",m="Size4-Regular",h="lbrack",p=667):"]"===e||"\\rbrack"===e?(o="\u23a4",u="\u23a5",c="\u23a6",m="Size4-Regular",h="rbrack",p=667):"\\lfloor"===e||"\u230a"===e?(u=o="\u23a2",c="\u23a3",m="Size4-Regular",h="lfloor",p=667):"\\lceil"===e||"\u2308"===e?(o="\u23a1",u=c="\u23a2",m="Size4-Regular",h="lceil",p=667):"\\rfloor"===e||"\u230b"===e?(u=o="\u23a5",c="\u23a6",m="Size4-Regular",h="rfloor",p=667):"\\rceil"===e||"\u2309"===e?(o="\u23a4",u=c="\u23a5",m="Size4-Regular",h="rceil",p=667):"("===e||"\\lparen"===e?(o="\u239b",u="\u239c",c="\u239d",m="Size4-Regular",h="lparen",p=875):")"===e||"\\rparen"===e?(o="\u239e",u="\u239f",c="\u23a0",m="Size4-Regular",h="rparen",p=875):"\\{"===e||"\\lbrace"===e?(o="\u23a7",a="\u23a8",c="\u23a9",u="\u23aa",m="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(o="\u23ab",a="\u23ac",c="\u23ad",u="\u23aa",m="Size4-Regular"):"\\lgroup"===e||"\u27ee"===e?(o="\u23a7",c="\u23a9",u="\u23aa",m="Size4-Regular"):"\\rgroup"===e||"\u27ef"===e?(o="\u23ab",c="\u23ad",u="\u23aa",m="Size4-Regular"):"\\lmoustache"===e||"\u23b0"===e?(o="\u23a7",c="\u23ad",u="\u23aa",m="Size4-Regular"):"\\rmoustache"!==e&&"\u23b1"!==e||(o="\u23ab",c="\u23a9",u="\u23aa",m="Size4-Regular");const d=Kt(o,m,s),f=d.height+d.depth,g=Kt(u,m,s),b=g.height+g.depth,y=Kt(c,m,s),x=y.height+y.depth;let v=0,D=1;if(null!==a){const e=Kt(a,m,s);v=e.height+e.depth,D=2}const k=f+x+v,A=k+Math.max(0,Math.ceil((t-k)/(D*b)))*D*b;let S=r.fontMetrics().axisHeight;n&&(S*=r.sizeMultiplier);const C=A/2-S,M=[];if(h.length>0){const e=A-f-x,t=Math.round(1e3*A),n=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v1759 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+t+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z\nM367 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v602 h84z\nM403 1759 V0 H319 V1759 v"+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+t+" v602 h84z";case"lparen":return"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\n-36,557 l0,"+(t+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+(t+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z";case"rparen":return"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+(t+9)+"\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+(t+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z";default:throw new Error("Unknown stretchy delimiter.")}}(h,Math.round(1e3*e)),s=new J(h,n),i=(p/1e3).toFixed(3)+"em",o=(t/1e3).toFixed(3)+"em",a=new Q([s],{width:i,height:o,viewBox:"0 0 "+p+" "+t}),l=je.makeSvgSpan([],[a],r);l.height=t/1e3,l.style.width=i,l.style.height=o,M.push({type:"elem",elem:l})}else{if(M.push(tn(c,m,s)),M.push(rn),null===a){const e=A-f-x+.016;M.push(nn(u,e,r))}else{const e=(A-f-x-v)/2+.016;M.push(nn(u,e,r)),M.push(rn),M.push(tn(a,m,s)),M.push(rn),M.push(nn(u,e,r))}M.push(rn),M.push(tn(o,m,s))}const z=r.havingBaseStyle(w.TEXT),E=je.makeVList({positionType:"bottom",positionData:C,children:M},z);return Qt(je.makeSpan(["delimsizing","mult"],[E],z),w.TEXT,r,i)},ln=.08,un=function(e,t,n,r,s){const i=function(e,t,n){t*=1e3;let r="";switch(e){case"sqrtMain":r=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,A);break;case"sqrtSize1":r=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,A);break;case"sqrtSize2":r=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,A);break;case"sqrtSize3":r=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,A);break;case"sqrtSize4":r=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,A);break;case"sqrtTall":r=function(e,t,n){return"M702 "+(e+t)+"H400000"+(40+e)+"\nH742v"+(n-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,A,n)}return r}(e,r,n),o=new J(e,i),a=new Q([o],{width:"400em",height:H(t),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return je.makeSvgSpan(["hide-tail"],[a],s)},cn=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230a","\u230b","\\lceil","\\rceil","\u2308","\u2309","\\surd"],hn=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27ee","\u27ef","\\lmoustache","\\rmoustache","\u23b0","\u23b1"],pn=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],mn=[0,1.2,1.8,2.4,3],dn=[{type:"small",style:w.SCRIPTSCRIPT},{type:"small",style:w.SCRIPT},{type:"small",style:w.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],fn=[{type:"small",style:w.SCRIPTSCRIPT},{type:"small",style:w.SCRIPT},{type:"small",style:w.TEXT},{type:"stack"}],gn=[{type:"small",style:w.SCRIPTSCRIPT},{type:"small",style:w.SCRIPT},{type:"small",style:w.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],bn=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.")},yn=function(e,t,n,r){for(let s=Math.min(2,3-r.style.size);s<n.length&&"stack"!==n[s].type;s++){const i=Kt(e,bn(n[s]),"math");let o=i.height+i.depth;if("small"===n[s].type&&(o*=r.havingBaseStyle(n[s].style).sizeMultiplier),o>t)return n[s]}return n[n.length-1]},xn=function(e,t,n,r,s,i){let o;"<"===e||"\\lt"===e||"\u27e8"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"\u27e9"!==e||(e="\\rangle"),o=l.contains(pn,e)?dn:l.contains(cn,e)?gn:fn;const a=yn(e,t,o,r);return"small"===a.type?function(e,t,n,r,s,i){const o=je.makeSymbol(e,"Main-Regular",s,r),a=Qt(o,t,r,i);return n&&Jt(a,r,t),a}(e,a.style,n,r,s,i):"large"===a.type?en(e,a.size,n,r,s,i):an(e,t,n,r,s,i)};var wn={sqrtImage:function(e,t){const n=t.havingBaseSizing(),r=yn("\\surd",e*n.sizeMultiplier,gn,n);let s=n.sizeMultiplier;const i=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness);let o,a,l=0,u=0,c=0;return"small"===r.type?(c=1e3+1e3*i+80,e<1?s=1:e<1.4&&(s=.7),l=(1+i+ln)/s,u=(1+i)/s,o=un("sqrtMain",l,c,i,t),o.style.minWidth="0.853em",a=.833/s):"large"===r.type?(c=1080*mn[r.size],u=(mn[r.size]+i)/s,l=(mn[r.size]+i+ln)/s,o=un("sqrtSize"+r.size,l,c,i,t),o.style.minWidth="1.02em",a=1/s):(l=e+i+ln,u=e+i,c=Math.floor(1e3*e+i)+80,o=un("sqrtTall",l,c,i,t),o.style.minWidth="0.742em",a=1.056),o.height=u,o.style.height=H(l),{span:o,advanceWidth:a,ruleWidth:(t.fontMetrics().sqrtRuleThickness+i)*s}},sizedDelim:function(e,t,n,s,i){if("<"===e||"\\lt"===e||"\u27e8"===e?e="\\langle":">"!==e&&"\\gt"!==e&&"\u27e9"!==e||(e="\\rangle"),l.contains(cn,e)||l.contains(pn,e))return en(e,t,!1,n,s,i);if(l.contains(hn,e))return an(e,mn[t],!1,n,s,i);throw new r("Illegal delimiter: '"+e+"'")},sizeToMaxHeight:mn,customSizedDelim:xn,leftRightDelim:function(e,t,n,r,s,i){const o=r.fontMetrics().axisHeight*r.sizeMultiplier,a=5/r.fontMetrics().ptPerEm,l=Math.max(t-o,n+o),u=Math.max(l/500*901,2*l-a);return xn(e,u,!0,r,s,i)}};const vn={"\\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}},Dn=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","\u230a","\u230b","\\lceil","\\rceil","\u2308","\u2309","<",">","\\langle","\u27e8","\\rangle","\u27e9","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","\u27ee","\u27ef","\\lmoustache","\\rmoustache","\u23b0","\u23b1","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."];function kn(e,t){const n=Nt(e);if(n&&l.contains(Dn,n.text))return n;throw new r(n?"Invalid delimiter '"+n.text+"' after '"+t.funcName+"'":"Invalid delimiter type '"+e.type+"'",e)}function An(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Ye({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)=>{const n=kn(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:vn[e.funcName].size,mclass:vn[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>"."===e.delim?je.makeSpan([e.mclass]):wn.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{const t=[];"."!==e.delim&&t.push(bt(e.delim,e.mode));const n=new gt.MathNode("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?n.setAttribute("fence","true"):n.setAttribute("fence","false"),n.setAttribute("stretchy","true");const r=H(wn.sizeToMaxHeight[e.size]);return n.setAttribute("minsize",r),n.setAttribute("maxsize",r),n}}),Ye({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{const n=e.parser.gullet.macros.get("\\current@color");if(n&&"string"!==typeof n)throw new r("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:kn(t[0],e).text,color:n}}}),Ye({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{const n=kn(t[0],e),r=e.parser;++r.leftrightDepth;const s=r.parseExpression(!1);--r.leftrightDepth,r.expect("\\right",!1);const i=Tt(r.parseFunction(),"leftright-right");return{type:"leftright",mode:r.mode,body:s,left:n.text,right:i.delim,rightColor:i.color}},htmlBuilder:(e,t)=>{An(e);const n=st(e.body,t,!0,["mopen","mclose"]);let r,s,i=0,o=0,a=!1;for(let l=0;l<n.length;l++)n[l].isMiddle?a=!0:(i=Math.max(n[l].height,i),o=Math.max(n[l].depth,o));if(i*=t.sizeMultiplier,o*=t.sizeMultiplier,r="."===e.left?ut(t,["mopen"]):wn.leftRightDelim(e.left,i,o,t,e.mode,["mopen"]),n.unshift(r),a)for(let l=1;l<n.length;l++){const t=n[l].isMiddle;t&&(n[l]=wn.leftRightDelim(t.delim,i,o,t.options,e.mode,[]))}if("."===e.right)s=ut(t,["mclose"]);else{const n=e.rightColor?t.withColor(e.rightColor):t;s=wn.leftRightDelim(e.right,i,o,n,e.mode,["mclose"])}return n.push(s),je.makeSpan(["minner"],n,t)},mathmlBuilder:(e,t)=>{An(e);const n=vt(e.body,t);if("."!==e.left){const t=new gt.MathNode("mo",[bt(e.left,e.mode)]);t.setAttribute("fence","true"),n.unshift(t)}if("."!==e.right){const t=new gt.MathNode("mo",[bt(e.right,e.mode)]);t.setAttribute("fence","true"),e.rightColor&&t.setAttribute("mathcolor",e.rightColor),n.push(t)}return yt(n)}}),Ye({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{const n=kn(t[0],e);if(!e.parser.leftrightDepth)throw new r("\\middle without preceding \\left",n);return{type:"middle",mode:e.parser.mode,delim:n.text}},htmlBuilder:(e,t)=>{let n;if("."===e.delim)n=ut(t,[]);else{n=wn.sizedDelim(e.delim,1,t,e.mode,[]);const r={delim:e.delim,options:t};n.isMiddle=r}return n},mathmlBuilder:(e,t)=>{const n="\\vert"===e.delim||"|"===e.delim?bt("|","text"):bt(e.delim,e.mode),r=new gt.MathNode("mo",[n]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});const Sn=(e,t)=>{const n=je.wrapFragment(ct(e.body,t),t),r=e.label.slice(1);let s,i=t.sizeMultiplier,o=0;const a=l.isCharacterBox(e.body);if("sout"===r)s=je.makeSpan(["stretchy","sout"]),s.height=t.fontMetrics().defaultRuleThickness/i,o=-.5*t.fontMetrics().xHeight;else if("phase"===r){const e=j({number:.6,unit:"pt"},t),r=j({number:.35,unit:"ex"},t);i/=t.havingBaseSizing().sizeMultiplier;const a=n.height+n.depth+e+r;n.style.paddingLeft=H(a/2+e);const l=Math.floor(1e3*a*i),c="M400000 "+(u=l)+" H0 L"+u/2+" 0 l65 45 L145 "+(u-80)+" H400000z",h=new Q([new J("phase",c)],{width:"400em",height:H(l/1e3),viewBox:"0 0 400000 "+l,preserveAspectRatio:"xMinYMin slice"});s=je.makeSvgSpan(["hide-tail"],[h],t),s.style.height=H(a),o=n.depth+e+r}else{/cancel/.test(r)?a||n.classes.push("cancel-pad"):"angl"===r?n.classes.push("anglpad"):n.classes.push("boxpad");let i=0,l=0,u=0;/box/.test(r)?(u=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),i=t.fontMetrics().fboxsep+("colorbox"===r?0:u),l=i):"angl"===r?(u=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),i=4*u,l=Math.max(0,.25-n.depth)):(i=a?.2:0,l=i),s=Et(n,r,i,l,t),/fbox|boxed|fcolorbox/.test(r)?(s.style.borderStyle="solid",s.style.borderWidth=H(u)):"angl"===r&&.049!==u&&(s.style.borderTopWidth=H(u),s.style.borderRightWidth=H(u)),o=n.depth+l,e.backgroundColor&&(s.style.backgroundColor=e.backgroundColor,e.borderColor&&(s.style.borderColor=e.borderColor))}var u;let c;if(e.backgroundColor)c=je.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:o},{type:"elem",elem:n,shift:0}]},t);else{const e=/cancel|phase/.test(r)?["svg-align"]:[];c=je.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:s,shift:o,wrapperClasses:e}]},t)}return/cancel/.test(r)&&(c.height=n.height,c.depth=n.depth),/cancel/.test(r)&&!a?je.makeSpan(["mord","cancel-lap"],[c],t):je.makeSpan(["mord"],[c],t)},Cn=(e,t)=>{let n=0;const r=new gt.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[kt(e.body,t)]);switch(e.label){case"\\cancel":r.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":r.setAttribute("notation","downdiagonalstrike");break;case"\\phase":r.setAttribute("notation","phasorangle");break;case"\\sout":r.setAttribute("notation","horizontalstrike");break;case"\\fbox":r.setAttribute("notation","box");break;case"\\angl":r.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute("width","+"+2*n+"pt"),r.setAttribute("height","+"+2*n+"pt"),r.setAttribute("lspace",n+"pt"),r.setAttribute("voffset",n+"pt"),"\\fcolorbox"===e.label){const n=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute("style","border: "+n+"em solid "+String(e.borderColor))}break;case"\\xcancel":r.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&r.setAttribute("mathbackground",e.backgroundColor),r};Ye({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,n){let{parser:r,funcName:s}=e;const i=Tt(t[0],"color-token").color,o=t[1];return{type:"enclose",mode:r.mode,label:s,backgroundColor:i,body:o}},htmlBuilder:Sn,mathmlBuilder:Cn}),Ye({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,n){let{parser:r,funcName:s}=e;const i=Tt(t[0],"color-token").color,o=Tt(t[1],"color-token").color,a=t[2];return{type:"enclose",mode:r.mode,label:s,backgroundColor:o,borderColor:i,body:a}},htmlBuilder:Sn,mathmlBuilder:Cn}),Ye({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){let{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\fbox",body:t[0]}}}),Ye({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){let{parser:n,funcName:r}=e;const s=t[0];return{type:"enclose",mode:n.mode,label:r,body:s}},htmlBuilder:Sn,mathmlBuilder:Cn}),Ye({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){let{parser:n}=e;return{type:"enclose",mode:n.mode,label:"\\angl",body:t[0]}}});const Mn={};function zn(e){let{type:t,names:n,props:r,handler:s,htmlBuilder:i,mathmlBuilder:o}=e;const a={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:s};for(let l=0;l<n.length;++l)Mn[n[l]]=a;i&&(Xe[t]=i),o&&(We[t]=o)}const En={};function Fn(e,t){En[e]=t}class Bn{constructor(e,t,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=n}static range(e,t){return t?e&&e.loc&&t.loc&&e.loc.lexer===t.loc.lexer?new Bn(e.loc.lexer,e.loc.start,t.loc.end):null:e&&e.loc}}class Tn{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 Tn(t,Bn.range(this,e))}}function _n(e){const t=[];e.consumeSpaces();let n=e.fetch().text;for("\\relax"===n&&(e.consume(),e.consumeSpaces(),n=e.fetch().text);"\\hline"===n||"\\hdashline"===n;)e.consume(),t.push("\\hdashline"===n),e.consumeSpaces(),n=e.fetch().text;return t}const Nn=e=>{if(!e.parser.settings.displayMode)throw new r("{"+e.envName+"} can be used only in display mode.")};function On(e){if(-1===e.indexOf("ed"))return-1===e.indexOf("*")}function In(e,t,n){let{hskipBeforeAndAfter:s,addJot:i,cols:o,arraystretch:a,colSeparationType:l,autoTag:u,singleRow:c,emptySingleRow:h,maxNumCols:p,leqno:m}=t;if(e.gullet.beginGroup(),c||e.gullet.macros.set("\\cr","\\\\\\relax"),!a){const t=e.gullet.expandMacroAsText("\\arraystretch");if(null==t)a=1;else if(a=parseFloat(t),!a||a<0)throw new r("Invalid \\arraystretch: "+t)}e.gullet.beginGroup();let d=[];const f=[d],g=[],b=[],y=null!=u?[]:void 0;function x(){u&&e.gullet.macros.set("\\@eqnsw","1",!0)}function w(){y&&(e.gullet.macros.get("\\df@tag")?(y.push(e.subparse([new Tn("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):y.push(Boolean(u)&&"1"===e.gullet.macros.get("\\@eqnsw")))}for(x(),b.push(_n(e));;){let t=e.parseExpression(!1,c?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),t={type:"ordgroup",mode:e.mode,body:t},n&&(t={type:"styling",mode:e.mode,style:n,body:[t]}),d.push(t);const s=e.fetch().text;if("&"===s){if(p&&d.length===p){if(c||l)throw new r("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else{if("\\end"===s){w(),1===d.length&&"styling"===t.type&&0===t.body[0].body.length&&(f.length>1||!h)&&f.pop(),b.length<f.length+1&&b.push([]);break}if("\\\\"!==s)throw new r("Expected & or \\\\ or \\cr or \\end",e.nextToken);{let t;e.consume()," "!==e.gullet.future().text&&(t=e.parseSizeGroup(!0)),g.push(t?t.value:null),w(),b.push(_n(e)),d=[],f.push(d),x()}}}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:i,arraystretch:a,body:f,cols:o,rowGaps:g,hskipBeforeAndAfter:s,hLinesBeforeRow:b,colSeparationType:l,tags:y,leqno:m}}function qn(e){return"d"===e.slice(0,1)?"display":"text"}const Rn=function(e,t){let n,s;const i=e.body.length,o=e.hLinesBeforeRow;let a=0,u=new Array(i);const c=[],h=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),p=1/t.fontMetrics().ptPerEm;let m=5*p;e.colSeparationType&&"small"===e.colSeparationType&&(m=t.havingStyle(w.SCRIPT).sizeMultiplier/t.sizeMultiplier*.2778);const d="CD"===e.colSeparationType?j({number:3,unit:"ex"},t):12*p,f=3*p,g=e.arraystretch*d,b=.7*g,y=.3*g;let x=0;function v(e){for(let t=0;t<e.length;++t)t>0&&(x+=.25),c.push({pos:x,isDashed:e[t]})}for(v(o[0]),n=0;n<e.body.length;++n){const r=e.body[n];let i=b,l=y;a<r.length&&(a=r.length);const c=new Array(r.length);for(s=0;s<r.length;++s){const e=ct(r[s],t);l<e.depth&&(l=e.depth),i<e.height&&(i=e.height),c[s]=e}const h=e.rowGaps[n];let p=0;h&&(p=j(h,t),p>0&&(p+=y,l<p&&(l=p),p=0)),e.addJot&&(l+=f),c.height=i,c.depth=l,x+=i,c.pos=x,x+=l+p,u[n]=c,v(o[n+1])}const D=x/2+t.fontMetrics().axisHeight,k=e.cols||[],A=[];let S,C;const M=[];if(e.tags&&e.tags.some((e=>e)))for(n=0;n<i;++n){const r=u[n],s=r.pos-D,i=e.tags[n];let o;o=!0===i?je.makeSpan(["eqn-num"],[],t):!1===i?je.makeSpan([],[],t):je.makeSpan([],st(i,t,!0),t),o.depth=r.depth,o.height=r.height,M.push({type:"elem",elem:o,shift:s})}for(s=0,C=0;s<a||C<k.length;++s,++C){let o,c=k[C]||{},p=!0;for(;"separator"===c.type;){if(p||(S=je.makeSpan(["arraycolsep"],[]),S.style.width=H(t.fontMetrics().doubleRuleSep),A.push(S)),"|"!==c.separator&&":"!==c.separator)throw new r("Invalid separator type: "+c.separator);{const e="|"===c.separator?"solid":"dashed",n=je.makeSpan(["vertical-separator"],[],t);n.style.height=H(x),n.style.borderRightWidth=H(h),n.style.borderRightStyle=e,n.style.margin="0 "+H(-h/2);const r=x-D;r&&(n.style.verticalAlign=H(-r)),A.push(n)}C++,c=k[C]||{},p=!1}if(s>=a)continue;(s>0||e.hskipBeforeAndAfter)&&(o=l.deflt(c.pregap,m),0!==o&&(S=je.makeSpan(["arraycolsep"],[]),S.style.width=H(o),A.push(S)));let d=[];for(n=0;n<i;++n){const e=u[n],t=e[s];if(!t)continue;const r=e.pos-D;t.depth=e.depth,t.height=e.height,d.push({type:"elem",elem:t,shift:r})}d=je.makeVList({positionType:"individualShift",children:d},t),d=je.makeSpan(["col-align-"+(c.align||"c")],[d]),A.push(d),(s<a-1||e.hskipBeforeAndAfter)&&(o=l.deflt(c.postgap,m),0!==o&&(S=je.makeSpan(["arraycolsep"],[]),S.style.width=H(o),A.push(S)))}if(u=je.makeSpan(["mtable"],A),c.length>0){const e=je.makeLineSpan("hline",t,h),n=je.makeLineSpan("hdashline",t,h),r=[{type:"elem",elem:u,shift:0}];for(;c.length>0;){const t=c.pop(),s=t.pos-D;t.isDashed?r.push({type:"elem",elem:n,shift:s}):r.push({type:"elem",elem:e,shift:s})}u=je.makeVList({positionType:"individualShift",children:r},t)}if(0===M.length)return je.makeSpan(["mord"],[u],t);{let e=je.makeVList({positionType:"individualShift",children:M},t);return e=je.makeSpan(["tag"],[e],t),je.makeFragment([u,e])}},Ln={c:"center ",l:"left ",r:"right "},jn=function(e,t){const n=[],r=new gt.MathNode("mtd",[],["mtr-glue"]),s=new gt.MathNode("mtd",[],["mml-eqn-num"]);for(let h=0;h<e.body.length;h++){const i=e.body[h],o=[];for(let e=0;e<i.length;e++)o.push(new gt.MathNode("mtd",[kt(i[e],t)]));e.tags&&e.tags[h]&&(o.unshift(r),o.push(r),e.leqno?o.unshift(s):o.push(s)),n.push(new gt.MathNode("mtr",o))}let i=new gt.MathNode("mtable",n);const o=.5===e.arraystretch?.1:.16+e.arraystretch-1+(e.addJot?.09:0);i.setAttribute("rowspacing",H(o));let a="",l="";if(e.cols&&e.cols.length>0){const t=e.cols;let n="",r=!1,s=0,o=t.length;"separator"===t[0].type&&(a+="top ",s=1),"separator"===t[t.length-1].type&&(a+="bottom ",o-=1);for(let e=s;e<o;e++)"align"===t[e].type?(l+=Ln[t[e].align],r&&(n+="none "),r=!0):"separator"===t[e].type&&r&&(n+="|"===t[e].separator?"solid ":"dashed ",r=!1);i.setAttribute("columnalign",l.trim()),/[sd]/.test(n)&&i.setAttribute("columnlines",n.trim())}if("align"===e.colSeparationType){const t=e.cols||[];let n="";for(let e=1;e<t.length;e++)n+=e%2?"0em ":"1em ";i.setAttribute("columnspacing",n.trim())}else"alignat"===e.colSeparationType||"gather"===e.colSeparationType?i.setAttribute("columnspacing","0em"):"small"===e.colSeparationType?i.setAttribute("columnspacing","0.2778em"):"CD"===e.colSeparationType?i.setAttribute("columnspacing","0.5em"):i.setAttribute("columnspacing","1em");let u="";const c=e.hLinesBeforeRow;a+=c[0].length>0?"left ":"",a+=c[c.length-1].length>0?"right ":"";for(let h=1;h<c.length-1;h++)u+=0===c[h].length?"none ":c[h][0]?"dashed ":"solid ";return/[sd]/.test(u)&&i.setAttribute("rowlines",u.trim()),""!==a&&(i=new gt.MathNode("menclose",[i]),i.setAttribute("notation",a.trim())),e.arraystretch&&e.arraystretch<1&&(i=new gt.MathNode("mstyle",[i]),i.setAttribute("scriptlevel","1")),i},Hn=function(e,t){-1===e.envName.indexOf("ed")&&Nn(e);const n=[],s=e.envName.indexOf("at")>-1?"alignat":"align",i="split"===e.envName,o=In(e.parser,{cols:n,addJot:!0,autoTag:i?void 0:On(e.envName),emptySingleRow:!0,colSeparationType:s,maxNumCols:i?2:void 0,leqno:e.parser.settings.leqno},"display");let a,l=0;const u={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){let e="";for(let n=0;n<t[0].body.length;n++)e+=Tt(t[0].body[n],"textord").text;a=Number(e),l=2*a}const c=!l;o.body.forEach((function(e){for(let t=1;t<e.length;t+=2){const n=Tt(e[t],"styling");Tt(n.body[0],"ordgroup").body.unshift(u)}if(c)l<e.length&&(l=e.length);else{const t=e.length/2;if(a<t)throw new r("Too many math in a row: expected "+a+", but got "+t,e[0])}}));for(let r=0;r<l;++r){let e="r",t=0;r%2===1?e="l":r>0&&c&&(t=1),n[r]={type:"align",align:e,pregap:t,postgap:0}}return o.colSeparationType=c?"align":"alignat",o};zn({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){const n=(Nt(t[0])?[t[0]]:Tt(t[0],"ordgroup").body).map((function(e){const t=_t(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 r("Unknown column alignment: "+t,e)})),s={cols:n,hskipBeforeAndAfter:!0,maxNumCols:n.length};return In(e.parser,s,qn(e.envName))},htmlBuilder:Rn,mathmlBuilder:jn}),zn({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){const t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")];let n="c";const s={hskipBeforeAndAfter:!1,cols:[{type:"align",align:n}]};if("*"===e.envName.charAt(e.envName.length-1)){const t=e.parser;if(t.consumeSpaces(),"["===t.fetch().text){if(t.consume(),t.consumeSpaces(),n=t.fetch().text,-1==="lcr".indexOf(n))throw new r("Expected l or c or r",t.nextToken);t.consume(),t.consumeSpaces(),t.expect("]"),t.consume(),s.cols=[{type:"align",align:n}]}}const i=In(e.parser,s,qn(e.envName)),o=Math.max(0,...i.body.map((e=>e.length)));return i.cols=new Array(o).fill({type:"align",align:n}),t?{type:"leftright",mode:e.mode,body:[i],left:t[0],right:t[1],rightColor:void 0}:i},htmlBuilder:Rn,mathmlBuilder:jn}),zn({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){const t=In(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:Rn,mathmlBuilder:jn}),zn({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){const n=(Nt(t[0])?[t[0]]:Tt(t[0],"ordgroup").body).map((function(e){const t=_t(e).text;if(-1!=="lc".indexOf(t))return{type:"align",align:t};throw new r("Unknown column alignment: "+t,e)}));if(n.length>1)throw new r("{subarray} can contain only one column");let s={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5};if(s=In(e.parser,s,"script"),s.body.length>0&&s.body[0].length>1)throw new r("{subarray} can contain only one column");return s},htmlBuilder:Rn,mathmlBuilder:jn}),zn({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){const t=In(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},qn(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:Rn,mathmlBuilder:jn}),zn({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Hn,htmlBuilder:Rn,mathmlBuilder:jn}),zn({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){l.contains(["gather","gather*"],e.envName)&&Nn(e);const t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:On(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return In(e.parser,t,"display")},htmlBuilder:Rn,mathmlBuilder:jn}),zn({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Hn,htmlBuilder:Rn,mathmlBuilder:jn}),zn({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){Nn(e);const t={autoTag:On(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return In(e.parser,t,"display")},htmlBuilder:Rn,mathmlBuilder:jn}),zn({type:"array",names:["CD"],props:{numArgs:0},handler:e=>(Nn(e),function(e){const 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();const n=e.fetch().text;if("&"!==n&&"\\\\"!==n){if("\\end"===n){0===t[t.length-1].length&&t.pop();break}throw new r("Expected \\\\ or \\cr or \\end",e.nextToken)}e.consume()}let n=[];const s=[n];for(let a=0;a<t.length;a++){const l=t[a];let u={type:"styling",body:[],mode:"math",style:"display"};for(let t=0;t<l.length;t++)if($t(l[t])){n.push(u),t+=1;const s=_t(l[t]).text,a=new Array(2);if(a[0]={type:"ordgroup",mode:"math",body:[]},a[1]={type:"ordgroup",mode:"math",body:[]},"=|.".indexOf(s)>-1);else{if(!("<>AV".indexOf(s)>-1))throw new r('Expected one of "<>AV=|." after @',l[t]);for(let e=0;e<2;e++){let n=!0;for(let u=t+1;u<l.length;u++){if(o=s,("mathord"===(i=l[u]).type||"atom"===i.type)&&i.text===o){n=!1,t=u;break}if($t(l[u]))throw new r("Missing a "+s+" character to complete a CD arrow.",l[u]);a[e].body.push(l[u])}if(n)throw new r("Missing a "+s+" character to complete a CD arrow.",l[t])}}const c={type:"styling",body:[Gt(s,a,e)],mode:"math",style:"display"};n.push(c),u={type:"styling",body:[],mode:"math",style:"display"}}else u.body.push(l[t]);a%2===0?n.push(u):n.shift(),n=[],s.push(n)}var i,o;return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:"math",body:s,arraystretch:1,addJot:!0,rowGaps:[null],cols:new Array(s[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25}),colSeparationType:"CD",hLinesBeforeRow:new Array(s.length+1).fill([])}}(e.parser)),htmlBuilder:Rn,mathmlBuilder:jn}),Fn("\\nonumber","\\gdef\\@eqnsw{0}"),Fn("\\notag","\\nonumber"),Ye({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new r(e.funcName+" valid only within array environment")}});var Pn=Mn;Ye({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){let{parser:n,funcName:s}=e;const i=t[0];if("ordgroup"!==i.type)throw new r("Invalid environment name",i);let o="";for(let r=0;r<i.body.length;++r)o+=Tt(i.body[r],"textord").text;if("\\begin"===s){if(!Pn.hasOwnProperty(o))throw new r("No such environment: "+o,i);const e=Pn[o],{args:t,optArgs:s}=n.parseArguments("\\begin{"+o+"}",e),a={mode:n.mode,envName:o,parser:n},l=e.handler(a,t,s);n.expect("\\end",!1);const u=n.nextToken,c=Tt(n.parseFunction(),"environment");if(c.name!==o)throw new r("Mismatch: \\begin{"+o+"} matched by \\end{"+c.name+"}",u);return l}return{type:"environment",mode:n.mode,name:o,nameGroup:i}}});const Vn=(e,t)=>{const n=e.font,r=t.withFont(n);return ct(e.body,r)},$n=(e,t)=>{const n=e.font,r=t.withFont(n);return kt(e.body,r)},Gn={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Ye({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)=>{let{parser:n,funcName:r}=e;const s=Ke(t[0]);let i=r;return i in Gn&&(i=Gn[i]),{type:"font",mode:n.mode,font:i.slice(1),body:s}},htmlBuilder:Vn,mathmlBuilder:$n}),Ye({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{let{parser:n}=e;const r=t[0],s=l.isCharacterBox(r);return{type:"mclass",mode:n.mode,mclass:Pt(r),body:[{type:"font",mode:n.mode,font:"boldsymbol",body:r}],isCharacterBox:s}}}),Ye({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{let{parser:n,funcName:r,breakOnTokenText:s}=e;const{mode:i}=n,o=n.parseExpression(!0,s);return{type:"font",mode:i,font:"math"+r.slice(1),body:{type:"ordgroup",mode:n.mode,body:o}}},htmlBuilder:Vn,mathmlBuilder:$n});const Un=(e,t)=>{let n=t;return"display"===e?n=n.id>=w.SCRIPT.id?n.text():w.DISPLAY:"text"===e&&n.size===w.DISPLAY.size?n=w.TEXT:"script"===e?n=w.SCRIPT:"scriptscript"===e&&(n=w.SCRIPTSCRIPT),n},Xn=(e,t)=>{const n=Un(e.size,t.style),r=n.fracNum(),s=n.fracDen();let i;i=t.havingStyle(r);const o=ct(e.numer,i,t);if(e.continued){const e=8.5/t.fontMetrics().ptPerEm,n=3.5/t.fontMetrics().ptPerEm;o.height=o.height<e?e:o.height,o.depth=o.depth<n?n:o.depth}i=t.havingStyle(s);const a=ct(e.denom,i,t);let l,u,c,h,p,m,d,f,g,b;if(e.hasBarLine?(e.barSize?(u=j(e.barSize,t),l=je.makeLineSpan("frac-line",t,u)):l=je.makeLineSpan("frac-line",t),u=l.height,c=l.height):(l=null,u=0,c=t.fontMetrics().defaultRuleThickness),n.size===w.DISPLAY.size||"display"===e.size?(h=t.fontMetrics().num1,p=u>0?3*c:7*c,m=t.fontMetrics().denom1):(u>0?(h=t.fontMetrics().num2,p=c):(h=t.fontMetrics().num3,p=3*c),m=t.fontMetrics().denom2),l){const e=t.fontMetrics().axisHeight;h-o.depth-(e+.5*u)<p&&(h+=p-(h-o.depth-(e+.5*u))),e-.5*u-(a.height-m)<p&&(m+=p-(e-.5*u-(a.height-m)));const n=-(e-.5*u);d=je.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:m},{type:"elem",elem:l,shift:n},{type:"elem",elem:o,shift:-h}]},t)}else{const e=h-o.depth-(a.height-m);e<p&&(h+=.5*(p-e),m+=.5*(p-e)),d=je.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:m},{type:"elem",elem:o,shift:-h}]},t)}return i=t.havingStyle(n),d.height*=i.sizeMultiplier/t.sizeMultiplier,d.depth*=i.sizeMultiplier/t.sizeMultiplier,f=n.size===w.DISPLAY.size?t.fontMetrics().delim1:n.size===w.SCRIPTSCRIPT.size?t.havingStyle(w.SCRIPT).fontMetrics().delim2:t.fontMetrics().delim2,g=null==e.leftDelim?ut(t,["mopen"]):wn.customSizedDelim(e.leftDelim,f,!0,t.havingStyle(n),e.mode,["mopen"]),b=e.continued?je.makeSpan([]):null==e.rightDelim?ut(t,["mclose"]):wn.customSizedDelim(e.rightDelim,f,!0,t.havingStyle(n),e.mode,["mclose"]),je.makeSpan(["mord"].concat(i.sizingClasses(t)),[g,je.makeSpan(["mfrac"],[d]),b],t)},Wn=(e,t)=>{let n=new gt.MathNode("mfrac",[kt(e.numer,t),kt(e.denom,t)]);if(e.hasBarLine){if(e.barSize){const r=j(e.barSize,t);n.setAttribute("linethickness",H(r))}}else n.setAttribute("linethickness","0px");const r=Un(e.size,t.style);if(r.size!==t.style.size){n=new gt.MathNode("mstyle",[n]);const e=r.size===w.DISPLAY.size?"true":"false";n.setAttribute("displaystyle",e),n.setAttribute("scriptlevel","0")}if(null!=e.leftDelim||null!=e.rightDelim){const t=[];if(null!=e.leftDelim){const n=new gt.MathNode("mo",[new gt.TextNode(e.leftDelim.replace("\\",""))]);n.setAttribute("fence","true"),t.push(n)}if(t.push(n),null!=e.rightDelim){const n=new gt.MathNode("mo",[new gt.TextNode(e.rightDelim.replace("\\",""))]);n.setAttribute("fence","true"),t.push(n)}return yt(t)}return n};Ye({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{let{parser:n,funcName:r}=e;const s=t[0],i=t[1];let o,a=null,l=null,u="auto";switch(r){case"\\dfrac":case"\\frac":case"\\tfrac":o=!0;break;case"\\\\atopfrac":o=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":o=!1,a="(",l=")";break;case"\\\\bracefrac":o=!1,a="\\{",l="\\}";break;case"\\\\brackfrac":o=!1,a="[",l="]";break;default:throw new Error("Unrecognized genfrac command")}switch(r){case"\\dfrac":case"\\dbinom":u="display";break;case"\\tfrac":case"\\tbinom":u="text"}return{type:"genfrac",mode:n.mode,continued:!1,numer:s,denom:i,hasBarLine:o,leftDelim:a,rightDelim:l,size:u,barSize:null}},htmlBuilder:Xn,mathmlBuilder:Wn}),Ye({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{let{parser:n,funcName:r}=e;const s=t[0],i=t[1];return{type:"genfrac",mode:n.mode,continued:!0,numer:s,denom:i,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),Ye({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){let t,{parser:n,funcName:r,token:s}=e;switch(r){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:n.mode,replaceWith:t,token:s}}});const Yn=["display","text","script","scriptscript"],Zn=function(e){let t=null;return e.length>0&&(t=e,t="."===t?null:t),t};Ye({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){let{parser:n}=e;const r=t[4],s=t[5],i=Ke(t[0]),o="atom"===i.type&&"open"===i.family?Zn(i.text):null,a=Ke(t[1]),l="atom"===a.type&&"close"===a.family?Zn(a.text):null,u=Tt(t[2],"size");let c,h=null;u.isBlank?c=!0:(h=u.value,c=h.number>0);let p="auto",m=t[3];if("ordgroup"===m.type){if(m.body.length>0){const e=Tt(m.body[0],"textord");p=Yn[Number(e.text)]}}else m=Tt(m,"textord"),p=Yn[Number(m.text)];return{type:"genfrac",mode:n.mode,numer:r,denom:s,continued:!1,hasBarLine:c,barSize:h,leftDelim:o,rightDelim:l,size:p}},htmlBuilder:Xn,mathmlBuilder:Wn}),Ye({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){let{parser:n,funcName:r,token:s}=e;return{type:"infix",mode:n.mode,replaceWith:"\\\\abovefrac",size:Tt(t[0],"size").value,token:s}}}),Ye({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{let{parser:n,funcName:r}=e;const s=t[0],i=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e}(Tt(t[1],"infix").size),o=t[2],a=i.number>0;return{type:"genfrac",mode:n.mode,numer:s,denom:o,continued:!1,hasBarLine:a,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Xn,mathmlBuilder:Wn});const Kn=(e,t)=>{const n=t.style;let r,s;"supsub"===e.type?(r=e.sup?ct(e.sup,t.havingStyle(n.sup()),t):ct(e.sub,t.havingStyle(n.sub()),t),s=Tt(e.base,"horizBrace")):s=Tt(e,"horizBrace");const i=ct(s.base,t.havingBaseStyle(w.DISPLAY)),o=Bt(s,t);let a;if(s.isOver?(a=je.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:o}]},t),a.children[0].children[0].children[1].classes.push("svg-align")):(a=je.makeVList({positionType:"bottom",positionData:i.depth+.1+o.height,children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:i}]},t),a.children[0].children[0].children[0].classes.push("svg-align")),r){const e=je.makeSpan(["mord",s.isOver?"mover":"munder"],[a],t);a=s.isOver?je.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:e},{type:"kern",size:.2},{type:"elem",elem:r}]},t):je.makeVList({positionType:"bottom",positionData:e.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:e}]},t)}return je.makeSpan(["mord",s.isOver?"mover":"munder"],[a],t)};Ye({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){let{parser:n,funcName:r}=e;return{type:"horizBrace",mode:n.mode,label:r,isOver:/^\\over/.test(r),base:t[0]}},htmlBuilder:Kn,mathmlBuilder:(e,t)=>{const n=Ft(e.label);return new gt.MathNode(e.isOver?"mover":"munder",[kt(e.base,t),n])}}),Ye({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const r=t[1],s=Tt(t[0],"url").url;return n.settings.isTrusted({command:"\\href",url:s})?{type:"href",mode:n.mode,href:s,body:Qe(r)}:n.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{const n=st(e.body,t,!1);return je.makeAnchor(e.href,[],n,t)},mathmlBuilder:(e,t)=>{let n=Dt(e.body,t);return n instanceof dt||(n=new dt("mrow",[n])),n.setAttribute("href",e.href),n}}),Ye({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const r=Tt(t[0],"url").url;if(!n.settings.isTrusted({command:"\\url",url:r}))return n.formatUnsupportedCmd("\\url");const s=[];for(let o=0;o<r.length;o++){let e=r[o];"~"===e&&(e="\\textasciitilde"),s.push({type:"textord",mode:"text",text:e})}const i={type:"text",mode:n.mode,font:"\\texttt",body:s};return{type:"href",mode:n.mode,href:r,body:Qe(i)}}}),Ye({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){let{parser:n}=e;return{type:"hbox",mode:n.mode,body:Qe(t[0])}},htmlBuilder(e,t){const n=st(e.body,t,!1);return je.makeFragment(n)},mathmlBuilder:(e,t)=>new gt.MathNode("mrow",vt(e.body,t))}),Ye({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{let{parser:n,funcName:s,token:i}=e;const o=Tt(t[0],"raw").string,a=t[1];let l;n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");const u={};switch(s){case"\\htmlClass":u.class=o,l={command:"\\htmlClass",class:o};break;case"\\htmlId":u.id=o,l={command:"\\htmlId",id:o};break;case"\\htmlStyle":u.style=o,l={command:"\\htmlStyle",style:o};break;case"\\htmlData":{const e=o.split(",");for(let t=0;t<e.length;t++){const n=e[t].split("=");if(2!==n.length)throw new r("Error parsing key-value for \\htmlData");u["data-"+n[0].trim()]=n[1].trim()}l={command:"\\htmlData",attributes:u};break}default:throw new Error("Unrecognized html command")}return n.settings.isTrusted(l)?{type:"html",mode:n.mode,attributes:u,body:Qe(a)}:n.formatUnsupportedCmd(s)},htmlBuilder:(e,t)=>{const n=st(e.body,t,!1),r=["enclosing"];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));const s=je.makeSpan(r,n,t);for(const i in e.attributes)"class"!==i&&e.attributes.hasOwnProperty(i)&&s.setAttribute(i,e.attributes[i]);return s},mathmlBuilder:(e,t)=>Dt(e.body,t)}),Ye({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;return{type:"htmlmathml",mode:n.mode,html:Qe(t[0]),mathml:Qe(t[1])}},htmlBuilder:(e,t)=>{const n=st(e.html,t,!1);return je.makeFragment(n)},mathmlBuilder:(e,t)=>Dt(e.mathml,t)});const Qn=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};{const t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new r("Invalid size: '"+e+"' in \\includegraphics");const n={number:+(t[1]+t[2]),unit:t[3]};if(!L(n))throw new r("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n}};Ye({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,n)=>{let{parser:s}=e,i={number:0,unit:"em"},o={number:.9,unit:"em"},a={number:0,unit:"em"},l="";if(n[0]){const e=Tt(n[0],"raw").string.split(",");for(let t=0;t<e.length;t++){const n=e[t].split("=");if(2===n.length){const e=n[1].trim();switch(n[0].trim()){case"alt":l=e;break;case"width":i=Qn(e);break;case"height":o=Qn(e);break;case"totalheight":a=Qn(e);break;default:throw new r("Invalid key: '"+n[0]+"' in \\includegraphics.")}}}}const u=Tt(t[0],"url").url;return""===l&&(l=u,l=l.replace(/^.*[\\/]/,""),l=l.substring(0,l.lastIndexOf("."))),s.settings.isTrusted({command:"\\includegraphics",url:u})?{type:"includegraphics",mode:s.mode,alt:l,width:i,height:o,totalheight:a,src:u}:s.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{const n=j(e.height,t);let r=0;e.totalheight.number>0&&(r=j(e.totalheight,t)-n);let s=0;e.width.number>0&&(s=j(e.width,t));const i={height:H(n+r)};s>0&&(i.width=H(s)),r>0&&(i.verticalAlign=H(-r));const o=new Y(e.src,e.alt,i);return o.height=n,o.depth=r,o},mathmlBuilder:(e,t)=>{const n=new gt.MathNode("mglyph",[]);n.setAttribute("alt",e.alt);const r=j(e.height,t);let s=0;if(e.totalheight.number>0&&(s=j(e.totalheight,t)-r,n.setAttribute("valign",H(-s))),n.setAttribute("height",H(r+s)),e.width.number>0){const r=j(e.width,t);n.setAttribute("width",H(r))}return n.setAttribute("src",e.src),n}}),Ye({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){let{parser:n,funcName:r}=e;const s=Tt(t[0],"size");if(n.settings.strict){const e="m"===r[1],t="mu"===s.value.unit;e?(t||n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" supports only mu units, not "+s.value.unit+" units"),"math"!==n.mode&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" works only in math mode")):t&&n.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+r+" doesn't support mu units")}return{type:"kern",mode:n.mode,dimension:s.value}},htmlBuilder:(e,t)=>je.makeGlue(e.dimension,t),mathmlBuilder(e,t){const n=j(e.dimension,t);return new gt.SpaceNode(n)}}),Ye({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let{parser:n,funcName:r}=e;const s=t[0];return{type:"lap",mode:n.mode,alignment:r.slice(5),body:s}},htmlBuilder:(e,t)=>{let n;"clap"===e.alignment?(n=je.makeSpan([],[ct(e.body,t)]),n=je.makeSpan(["inner"],[n],t)):n=je.makeSpan(["inner"],[ct(e.body,t)]);const r=je.makeSpan(["fix"],[]);let s=je.makeSpan([e.alignment],[n,r],t);const i=je.makeSpan(["strut"]);return i.style.height=H(s.height+s.depth),s.depth&&(i.style.verticalAlign=H(-s.depth)),s.children.unshift(i),s=je.makeSpan(["thinbox"],[s],t),je.makeSpan(["mord","vbox"],[s],t)},mathmlBuilder:(e,t)=>{const n=new gt.MathNode("mpadded",[kt(e.body,t)]);if("rlap"!==e.alignment){const t="llap"===e.alignment?"-1":"-0.5";n.setAttribute("lspace",t+"width")}return n.setAttribute("width","0px"),n}}),Ye({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){let{funcName:n,parser:r}=e;const s=r.mode;r.switchMode("math");const i="\\("===n?"\\)":"$",o=r.parseExpression(!1,i);return r.expect(i),r.switchMode(s),{type:"styling",mode:r.mode,style:"text",body:o}}}),Ye({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new r("Mismatched "+e.funcName)}});const Jn=(e,t)=>{switch(t.style.size){case w.DISPLAY.size:return e.display;case w.TEXT.size:return e.text;case w.SCRIPT.size:return e.script;case w.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};Ye({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{let{parser:n}=e;return{type:"mathchoice",mode:n.mode,display:Qe(t[0]),text:Qe(t[1]),script:Qe(t[2]),scriptscript:Qe(t[3])}},htmlBuilder:(e,t)=>{const n=Jn(e,t),r=st(n,t,!1);return je.makeFragment(r)},mathmlBuilder:(e,t)=>{const n=Jn(e,t);return Dt(n,t)}});const er=(e,t,n,r,s,i,o)=>{e=je.makeSpan([],[e]);const a=n&&l.isCharacterBox(n);let u,c,h;if(t){const e=ct(t,r.havingStyle(s.sup()),r);c={elem:e,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-e.depth)}}if(n){const e=ct(n,r.havingStyle(s.sub()),r);u={elem:e,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-e.height)}}if(c&&u){const t=r.fontMetrics().bigOpSpacing5+u.elem.height+u.elem.depth+u.kern+e.depth+o;h=je.makeVList({positionType:"bottom",positionData:t,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:H(-i)},{type:"kern",size:u.kern},{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:H(i)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}else if(u){const t=e.height-o;h=je.makeVList({positionType:"top",positionData:t,children:[{type:"kern",size:r.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:H(-i)},{type:"kern",size:u.kern},{type:"elem",elem:e}]},r)}else{if(!c)return e;{const t=e.depth+o;h=je.makeVList({positionType:"bottom",positionData:t,children:[{type:"elem",elem:e},{type:"kern",size:c.kern},{type:"elem",elem:c.elem,marginLeft:H(i)},{type:"kern",size:r.fontMetrics().bigOpSpacing5}]},r)}}const p=[h];if(u&&0!==i&&!a){const e=je.makeSpan(["mspace"],[],r);e.style.marginRight=H(i),p.unshift(e)}return je.makeSpan(["mop","op-limits"],p,r)},tr=["\\smallint"],nr=(e,t)=>{let n,r,s,i=!1;"supsub"===e.type?(n=e.sup,r=e.sub,s=Tt(e.base,"op"),i=!0):s=Tt(e,"op");const o=t.style;let a,u=!1;if(o.size===w.DISPLAY.size&&s.symbol&&!l.contains(tr,s.name)&&(u=!0),s.symbol){const e=u?"Size2-Regular":"Size1-Regular";let n="";if("\\oiint"!==s.name&&"\\oiiint"!==s.name||(n=s.name.slice(1),s.name="oiint"===n?"\\iint":"\\iiint"),a=je.makeSymbol(s.name,e,"math",t,["mop","op-symbol",u?"large-op":"small-op"]),n.length>0){const e=a.italic,r=je.staticSvg(n+"Size"+(u?"2":"1"),t);a=je.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:0},{type:"elem",elem:r,shift:u?.08:0}]},t),s.name="\\"+n,a.classes.unshift("mop"),a.italic=e}}else if(s.body){const e=st(s.body,t,!0);1===e.length&&e[0]instanceof K?(a=e[0],a.classes[0]="mop"):a=je.makeSpan(["mop"],e,t)}else{const e=[];for(let n=1;n<s.name.length;n++)e.push(je.mathsym(s.name[n],s.mode,t));a=je.makeSpan(["mop"],e,t)}let c=0,h=0;return(a instanceof K||"\\oiint"===s.name||"\\oiiint"===s.name)&&!s.suppressBaseShift&&(c=(a.height-a.depth)/2-t.fontMetrics().axisHeight,h=a.italic),i?er(a,n,r,t,o,h,c):(c&&(a.style.position="relative",a.style.top=H(c)),a)},rr=(e,t)=>{let n;if(e.symbol)n=new dt("mo",[bt(e.name,e.mode)]),l.contains(tr,e.name)&&n.setAttribute("largeop","false");else if(e.body)n=new dt("mo",vt(e.body,t));else{n=new dt("mi",[new ft(e.name.slice(1))]);const t=new dt("mo",[bt("\u2061","text")]);n=e.parentIsSupSub?new dt("mrow",[n,t]):mt([n,t])}return n},sr={"\u220f":"\\prod","\u2210":"\\coprod","\u2211":"\\sum","\u22c0":"\\bigwedge","\u22c1":"\\bigvee","\u22c2":"\\bigcap","\u22c3":"\\bigcup","\u2a00":"\\bigodot","\u2a01":"\\bigoplus","\u2a02":"\\bigotimes","\u2a04":"\\biguplus","\u2a06":"\\bigsqcup"};Ye({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","\u220f","\u2210","\u2211","\u22c0","\u22c1","\u22c2","\u22c3","\u2a00","\u2a01","\u2a02","\u2a04","\u2a06"],props:{numArgs:0},handler:(e,t)=>{let{parser:n,funcName:r}=e,s=r;return 1===s.length&&(s=sr[s]),{type:"op",mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:s}},htmlBuilder:nr,mathmlBuilder:rr}),Ye({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{let{parser:n}=e;const r=t[0];return{type:"op",mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Qe(r)}},htmlBuilder:nr,mathmlBuilder:rr});const ir={"\u222b":"\\int","\u222c":"\\iint","\u222d":"\\iiint","\u222e":"\\oint","\u222f":"\\oiint","\u2230":"\\oiiint"};Ye({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){let{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:nr,mathmlBuilder:rr}),Ye({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){let{parser:t,funcName:n}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:nr,mathmlBuilder:rr}),Ye({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","\u222b","\u222c","\u222d","\u222e","\u222f","\u2230"],props:{numArgs:0},handler(e){let{parser:t,funcName:n}=e,r=n;return 1===r.length&&(r=ir[r]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:nr,mathmlBuilder:rr});const or=(e,t)=>{let n,r,s,i,o=!1;if("supsub"===e.type?(n=e.sup,r=e.sub,s=Tt(e.base,"operatorname"),o=!0):s=Tt(e,"operatorname"),s.body.length>0){const e=s.body.map((e=>{const t=e.text;return"string"===typeof t?{type:"textord",mode:e.mode,text:t}:e})),n=st(e,t.withFont("mathrm"),!0);for(let t=0;t<n.length;t++){const e=n[t];e instanceof K&&(e.text=e.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}i=je.makeSpan(["mop"],n,t)}else i=je.makeSpan(["mop"],[],t);return o?er(i,n,r,t,t.style,0,0):i};function ar(e,t,n){const r=st(e,t,!1),s=t.sizeMultiplier/n.sizeMultiplier;for(let i=0;i<r.length;i++){const e=r[i].classes.indexOf("sizing");e<0?Array.prototype.push.apply(r[i].classes,t.sizingClasses(n)):r[i].classes[e+1]==="reset-size"+t.size&&(r[i].classes[e+1]="reset-size"+n.size),r[i].height*=s,r[i].depth*=s}return je.makeFragment(r)}Ye({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{let{parser:n,funcName:r}=e;const s=t[0];return{type:"operatorname",mode:n.mode,body:Qe(s),alwaysHandleSupSub:"\\operatornamewithlimits"===r,limits:!1,parentIsSupSub:!1}},htmlBuilder:or,mathmlBuilder:(e,t)=>{let n=vt(e.body,t.withFont("mathrm")),r=!0;for(let o=0;o<n.length;o++){const e=n[o];if(e instanceof gt.SpaceNode);else if(e instanceof gt.MathNode)switch(e.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{const t=e.children[0];1===e.children.length&&t instanceof gt.TextNode?t.text=t.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):r=!1;break}default:r=!1}else r=!1}if(r){const e=n.map((e=>e.toText())).join("");n=[new gt.TextNode(e)]}const s=new gt.MathNode("mi",n);s.setAttribute("mathvariant","normal");const i=new gt.MathNode("mo",[bt("\u2061","text")]);return e.parentIsSupSub?new gt.MathNode("mrow",[s,i]):gt.newDocumentFragment([s,i])}}),Fn("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),Ze({type:"ordgroup",htmlBuilder:(e,t)=>e.semisimple?je.makeFragment(st(e.body,t,!1)):je.makeSpan(["mord"],st(e.body,t,!0),t),mathmlBuilder:(e,t)=>Dt(e.body,t,!0)}),Ye({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){let{parser:n}=e;const r=t[0];return{type:"overline",mode:n.mode,body:r}},htmlBuilder(e,t){const n=ct(e.body,t.havingCrampedStyle()),r=je.makeLineSpan("overline-line",t),s=t.fontMetrics().defaultRuleThickness,i=je.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n},{type:"kern",size:3*s},{type:"elem",elem:r},{type:"kern",size:s}]},t);return je.makeSpan(["mord","overline"],[i],t)},mathmlBuilder(e,t){const n=new gt.MathNode("mo",[new gt.TextNode("\u203e")]);n.setAttribute("stretchy","true");const r=new gt.MathNode("mover",[kt(e.body,t),n]);return r.setAttribute("accent","true"),r}}),Ye({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const r=t[0];return{type:"phantom",mode:n.mode,body:Qe(r)}},htmlBuilder:(e,t)=>{const n=st(e.body,t.withPhantom(),!1);return je.makeFragment(n)},mathmlBuilder:(e,t)=>{const n=vt(e.body,t);return new gt.MathNode("mphantom",n)}}),Ye({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const r=t[0];return{type:"hphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{let n=je.makeSpan([],[ct(e.body,t.withPhantom())]);if(n.height=0,n.depth=0,n.children)for(let r=0;r<n.children.length;r++)n.children[r].height=0,n.children[r].depth=0;return n=je.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t),je.makeSpan(["mord"],[n],t)},mathmlBuilder:(e,t)=>{const n=vt(Qe(e.body),t),r=new gt.MathNode("mphantom",n),s=new gt.MathNode("mpadded",[r]);return s.setAttribute("height","0px"),s.setAttribute("depth","0px"),s}}),Ye({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{let{parser:n}=e;const r=t[0];return{type:"vphantom",mode:n.mode,body:r}},htmlBuilder:(e,t)=>{const n=je.makeSpan(["inner"],[ct(e.body,t.withPhantom())]),r=je.makeSpan(["fix"],[]);return je.makeSpan(["mord","rlap"],[n,r],t)},mathmlBuilder:(e,t)=>{const n=vt(Qe(e.body),t),r=new gt.MathNode("mphantom",n),s=new gt.MathNode("mpadded",[r]);return s.setAttribute("width","0px"),s}}),Ye({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){let{parser:n}=e;const r=Tt(t[0],"size").value,s=t[1];return{type:"raisebox",mode:n.mode,dy:r,body:s}},htmlBuilder(e,t){const n=ct(e.body,t),r=j(e.dy,t);return je.makeVList({positionType:"shift",positionData:-r,children:[{type:"elem",elem:n}]},t)},mathmlBuilder(e,t){const n=new gt.MathNode("mpadded",[kt(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute("voffset",r),n}}),Ye({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){let{parser:t}=e;return{type:"internal",mode:t.mode}}}),Ye({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,n){let{parser:r}=e;const s=n[0],i=Tt(t[0],"size"),o=Tt(t[1],"size");return{type:"rule",mode:r.mode,shift:s&&Tt(s,"size").value,width:i.value,height:o.value}},htmlBuilder(e,t){const n=je.makeSpan(["mord","rule"],[],t),r=j(e.width,t),s=j(e.height,t),i=e.shift?j(e.shift,t):0;return n.style.borderRightWidth=H(r),n.style.borderTopWidth=H(s),n.style.bottom=H(i),n.width=r,n.height=s+i,n.depth=-i,n.maxFontSize=1.125*s*t.sizeMultiplier,n},mathmlBuilder(e,t){const n=j(e.width,t),r=j(e.height,t),s=e.shift?j(e.shift,t):0,i=t.color&&t.getColor()||"black",o=new gt.MathNode("mspace");o.setAttribute("mathbackground",i),o.setAttribute("width",H(n)),o.setAttribute("height",H(r));const a=new gt.MathNode("mpadded",[o]);return s>=0?a.setAttribute("height",H(s)):(a.setAttribute("height",H(s)),a.setAttribute("depth",H(-s))),a.setAttribute("voffset",H(s)),a}});const lr=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];Ye({type:"sizing",names:lr,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{let{breakOnTokenText:n,funcName:r,parser:s}=e;const i=s.parseExpression(!1,n);return{type:"sizing",mode:s.mode,size:lr.indexOf(r)+1,body:i}},htmlBuilder:(e,t)=>{const n=t.havingSize(e.size);return ar(e.body,n,t)},mathmlBuilder:(e,t)=>{const n=t.havingSize(e.size),r=vt(e.body,n),s=new gt.MathNode("mstyle",r);return s.setAttribute("mathsize",H(n.sizeMultiplier)),s}}),Ye({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{let{parser:r}=e,s=!1,i=!1;const o=n[0]&&Tt(n[0],"ordgroup");if(o){let e="";for(let t=0;t<o.body.length;++t)if(e=o.body[t].text,"t"===e)s=!0;else{if("b"!==e){s=!1,i=!1;break}i=!0}}else s=!0,i=!0;const a=t[0];return{type:"smash",mode:r.mode,body:a,smashHeight:s,smashDepth:i}},htmlBuilder:(e,t)=>{const n=je.makeSpan([],[ct(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0,n.children))for(let s=0;s<n.children.length;s++)n.children[s].height=0;if(e.smashDepth&&(n.depth=0,n.children))for(let s=0;s<n.children.length;s++)n.children[s].depth=0;const r=je.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n}]},t);return je.makeSpan(["mord"],[r],t)},mathmlBuilder:(e,t)=>{const n=new gt.MathNode("mpadded",[kt(e.body,t)]);return e.smashHeight&&n.setAttribute("height","0px"),e.smashDepth&&n.setAttribute("depth","0px"),n}}),Ye({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){let{parser:r}=e;const s=n[0],i=t[0];return{type:"sqrt",mode:r.mode,body:i,index:s}},htmlBuilder(e,t){let n=ct(e.body,t.havingCrampedStyle());0===n.height&&(n.height=t.fontMetrics().xHeight),n=je.wrapFragment(n,t);const r=t.fontMetrics().defaultRuleThickness;let s=r;t.style.id<w.TEXT.id&&(s=t.fontMetrics().xHeight);let i=r+s/4;const o=n.height+n.depth+i+r,{span:a,ruleWidth:l,advanceWidth:u}=wn.sqrtImage(o,t),c=a.height-l;c>n.height+n.depth+i&&(i=(i+c-n.height-n.depth)/2);const h=a.height-n.height-i-l;n.style.paddingLeft=H(u);const p=je.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:-(n.height+h)},{type:"elem",elem:a},{type:"kern",size:l}]},t);if(e.index){const n=t.havingStyle(w.SCRIPTSCRIPT),r=ct(e.index,n,t),s=.6*(p.height-p.depth),i=je.makeVList({positionType:"shift",positionData:-s,children:[{type:"elem",elem:r}]},t),o=je.makeSpan(["root"],[i]);return je.makeSpan(["mord","sqrt"],[o,p],t)}return je.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder(e,t){const{body:n,index:r}=e;return r?new gt.MathNode("mroot",[kt(n,t),kt(r,t)]):new gt.MathNode("msqrt",[kt(n,t)])}});const ur={display:w.DISPLAY,text:w.TEXT,script:w.SCRIPT,scriptscript:w.SCRIPTSCRIPT};Ye({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){let{breakOnTokenText:n,funcName:r,parser:s}=e;const i=s.parseExpression(!0,n),o=r.slice(1,r.length-5);return{type:"styling",mode:s.mode,style:o,body:i}},htmlBuilder(e,t){const n=ur[e.style],r=t.havingStyle(n).withFont("");return ar(e.body,r,t)},mathmlBuilder(e,t){const n=ur[e.style],r=t.havingStyle(n),s=vt(e.body,r),i=new gt.MathNode("mstyle",s),o={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return i.setAttribute("scriptlevel",o[0]),i.setAttribute("displaystyle",o[1]),i}}),Ze({type:"supsub",htmlBuilder(e,t){const n=function(e,t){const n=e.base;return n?"op"===n.type?n.limits&&(t.style.size===w.DISPLAY.size||n.alwaysHandleSupSub)?nr:null:"operatorname"===n.type?n.alwaysHandleSupSub&&(t.style.size===w.DISPLAY.size||n.limits)?or:null:"accent"===n.type?l.isCharacterBox(n.base)?Ot:null:"horizBrace"===n.type&&!e.sub===n.isOver?Kn:null:null}(e,t);if(n)return n(e,t);const{base:r,sup:s,sub:i}=e,o=ct(r,t);let a,u;const c=t.fontMetrics();let h=0,p=0;const m=r&&l.isCharacterBox(r);if(s){const e=t.havingStyle(t.style.sup());a=ct(s,e,t),m||(h=o.height-e.fontMetrics().supDrop*e.sizeMultiplier/t.sizeMultiplier)}if(i){const e=t.havingStyle(t.style.sub());u=ct(i,e,t),m||(p=o.depth+e.fontMetrics().subDrop*e.sizeMultiplier/t.sizeMultiplier)}let d;d=t.style===w.DISPLAY?c.sup1:t.style.cramped?c.sup3:c.sup2;const f=t.sizeMultiplier,g=H(.5/c.ptPerEm/f);let b,y=null;if(u){const t=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(o instanceof K||t)&&(y=H(-o.italic))}if(a&&u){h=Math.max(h,d,a.depth+.25*c.xHeight),p=Math.max(p,c.sub2);const e=4*c.defaultRuleThickness;if(h-a.depth-(u.height-p)<e){p=e-(h-a.depth)+u.height;const t=.8*c.xHeight-(h-a.depth);t>0&&(h+=t,p-=t)}const n=[{type:"elem",elem:u,shift:p,marginRight:g,marginLeft:y},{type:"elem",elem:a,shift:-h,marginRight:g}];b=je.makeVList({positionType:"individualShift",children:n},t)}else if(u){p=Math.max(p,c.sub1,u.height-.8*c.xHeight);const e=[{type:"elem",elem:u,marginLeft:y,marginRight:g}];b=je.makeVList({positionType:"shift",positionData:p,children:e},t)}else{if(!a)throw new Error("supsub must have either sup or sub.");h=Math.max(h,d,a.depth+.25*c.xHeight),b=je.makeVList({positionType:"shift",positionData:-h,children:[{type:"elem",elem:a,marginRight:g}]},t)}const x=lt(o,"right")||"mord";return je.makeSpan([x],[o,je.makeSpan(["msupsub"],[b])],t)},mathmlBuilder(e,t){let n,r,s=!1;e.base&&"horizBrace"===e.base.type&&(r=!!e.sup,r===e.base.isOver&&(s=!0,n=e.base.isOver)),!e.base||"op"!==e.base.type&&"operatorname"!==e.base.type||(e.base.parentIsSupSub=!0);const i=[kt(e.base,t)];let o;if(e.sub&&i.push(kt(e.sub,t)),e.sup&&i.push(kt(e.sup,t)),s)o=n?"mover":"munder";else if(e.sub)if(e.sup){const n=e.base;o=n&&"op"===n.type&&n.limits&&t.style===w.DISPLAY||n&&"operatorname"===n.type&&n.alwaysHandleSupSub&&(t.style===w.DISPLAY||n.limits)?"munderover":"msubsup"}else{const n=e.base;o=n&&"op"===n.type&&n.limits&&(t.style===w.DISPLAY||n.alwaysHandleSupSub)||n&&"operatorname"===n.type&&n.alwaysHandleSupSub&&(n.limits||t.style===w.DISPLAY)?"munder":"msub"}else{const n=e.base;o=n&&"op"===n.type&&n.limits&&(t.style===w.DISPLAY||n.alwaysHandleSupSub)||n&&"operatorname"===n.type&&n.alwaysHandleSupSub&&(n.limits||t.style===w.DISPLAY)?"mover":"msup"}return new gt.MathNode(o,i)}}),Ze({type:"atom",htmlBuilder:(e,t)=>je.mathsym(e.text,e.mode,t,["m"+e.family]),mathmlBuilder(e,t){const n=new gt.MathNode("mo",[bt(e.text,e.mode)]);if("bin"===e.family){const r=xt(e,t);"bold-italic"===r&&n.setAttribute("mathvariant",r)}else"punct"===e.family?n.setAttribute("separator","true"):"open"!==e.family&&"close"!==e.family||n.setAttribute("stretchy","false");return n}});const cr={mi:"italic",mn:"normal",mtext:"normal"};Ze({type:"mathord",htmlBuilder:(e,t)=>je.makeOrd(e,t,"mathord"),mathmlBuilder(e,t){const n=new gt.MathNode("mi",[bt(e.text,e.mode,t)]),r=xt(e,t)||"italic";return r!==cr[n.type]&&n.setAttribute("mathvariant",r),n}}),Ze({type:"textord",htmlBuilder:(e,t)=>je.makeOrd(e,t,"textord"),mathmlBuilder(e,t){const n=bt(e.text,e.mode,t),r=xt(e,t)||"normal";let s;return s="text"===e.mode?new gt.MathNode("mtext",[n]):/[0-9]/.test(e.text)?new gt.MathNode("mn",[n]):"\\prime"===e.text?new gt.MathNode("mo",[n]):new gt.MathNode("mi",[n]),r!==cr[s.type]&&s.setAttribute("mathvariant",r),s}});const hr={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},pr={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Ze({type:"spacing",htmlBuilder(e,t){if(pr.hasOwnProperty(e.text)){const n=pr[e.text].className||"";if("text"===e.mode){const r=je.makeOrd(e,t,"textord");return r.classes.push(n),r}return je.makeSpan(["mspace",n],[je.mathsym(e.text,e.mode,t)],t)}if(hr.hasOwnProperty(e.text))return je.makeSpan(["mspace",hr[e.text]],[],t);throw new r('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){let n;if(!pr.hasOwnProperty(e.text)){if(hr.hasOwnProperty(e.text))return new gt.MathNode("mspace");throw new r('Unknown type of space "'+e.text+'"')}return n=new gt.MathNode("mtext",[new gt.TextNode("\xa0")]),n}});const mr=()=>{const e=new gt.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};Ze({type:"tag",mathmlBuilder(e,t){const n=new gt.MathNode("mtable",[new gt.MathNode("mtr",[mr(),new gt.MathNode("mtd",[Dt(e.body,t)]),mr(),new gt.MathNode("mtd",[Dt(e.tag,t)])])]);return n.setAttribute("width","100%"),n}});const dr={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},fr={"\\textbf":"textbf","\\textmd":"textmd"},gr={"\\textit":"textit","\\textup":"textup"},br=(e,t)=>{const n=e.font;return n?dr[n]?t.withTextFontFamily(dr[n]):fr[n]?t.withTextFontWeight(fr[n]):"\\emph"===n?"textit"===t.fontShape?t.withTextFontShape("textup"):t.withTextFontShape("textit"):t.withTextFontShape(gr[n]):t};Ye({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){let{parser:n,funcName:r}=e;const s=t[0];return{type:"text",mode:n.mode,body:Qe(s),font:r}},htmlBuilder(e,t){const n=br(e,t),r=st(e.body,n,!0);return je.makeSpan(["mord","text"],r,n)},mathmlBuilder(e,t){const n=br(e,t);return Dt(e.body,n)}}),Ye({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){let{parser:n}=e;return{type:"underline",mode:n.mode,body:t[0]}},htmlBuilder(e,t){const n=ct(e.body,t),r=je.makeLineSpan("underline-line",t),s=t.fontMetrics().defaultRuleThickness,i=je.makeVList({positionType:"top",positionData:n.height,children:[{type:"kern",size:s},{type:"elem",elem:r},{type:"kern",size:3*s},{type:"elem",elem:n}]},t);return je.makeSpan(["mord","underline"],[i],t)},mathmlBuilder(e,t){const n=new gt.MathNode("mo",[new gt.TextNode("\u203e")]);n.setAttribute("stretchy","true");const r=new gt.MathNode("munder",[kt(e.body,t),n]);return r.setAttribute("accentunder","true"),r}}),Ye({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){let{parser:n}=e;return{type:"vcenter",mode:n.mode,body:t[0]}},htmlBuilder(e,t){const n=ct(e.body,t),r=t.fontMetrics().axisHeight,s=.5*(n.height-r-(n.depth+r));return je.makeVList({positionType:"shift",positionData:s,children:[{type:"elem",elem:n}]},t)},mathmlBuilder:(e,t)=>new gt.MathNode("mpadded",[kt(e.body,t)],["vcenter"])}),Ye({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,n){throw new r("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){const n=yr(e),r=[],s=t.havingStyle(t.style.text());for(let i=0;i<n.length;i++){let t=n[i];"~"===t&&(t="\\textasciitilde"),r.push(je.makeSymbol(t,"Typewriter-Regular",e.mode,s,["mord","texttt"]))}return je.makeSpan(["mord","text"].concat(s.sizingClasses(t)),je.tryCombineChars(r),s)},mathmlBuilder(e,t){const n=new gt.TextNode(yr(e)),r=new gt.MathNode("mtext",[n]);return r.setAttribute("mathvariant","monospace"),r}});const yr=e=>e.body.replace(/ /g,e.star?"\u2423":"\xa0");var xr=Ue;const wr="[ \r\n\t]",vr="(\\\\[a-zA-Z@]+)"+wr+"*",Dr="[\u0300-\u036f]",kr=new RegExp(Dr+"+$"),Ar="("+wr+"+)|\\\\(\n|[ \r\t]+\n?)[ \r\t]*|([!-\\[\\]-\u2027\u202a-\ud7ff\uf900-\uffff]"+Dr+"*|[\ud800-\udbff][\udc00-\udfff]"+Dr+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5|"+vr+"|\\\\[^\ud800-\udfff])";class Sr{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(Ar,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){const e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new Tn("EOF",new Bn(this,t,t));const n=this.tokenRegex.exec(e);if(null===n||n.index!==t)throw new r("Unexpected character: '"+e[t]+"'",new Tn(e[t],new Bn(this,t,t+1)));const s=n[6]||n[3]||(n[2]?"\\ ":" ");if(14===this.catcodes[s]){const t=e.indexOf("\n",this.tokenRegex.lastIndex);return-1===t?(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=t+1,this.lex()}return new Tn(s,new Bn(this,t,this.tokenRegex.lastIndex))}}class Cr{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 r("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");const e=this.undefStack.pop();for(const 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,n){if(void 0===n&&(n=!1),n){for(let t=0;t<this.undefStack.length;t++)delete this.undefStack[t][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{const t=this.undefStack[this.undefStack.length-1];t&&!t.hasOwnProperty(e)&&(t[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t}}var Mr=En;Fn("\\noexpand",(function(e){const t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}})),Fn("\\expandafter",(function(e){const t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}})),Fn("\\@firstoftwo",(function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}})),Fn("\\@secondoftwo",(function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}})),Fn("\\@ifnextchar",(function(e){const t=e.consumeArgs(3);e.consumeSpaces();const n=e.future();return 1===t[0].length&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}})),Fn("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),Fn("\\TextOrMath",(function(e){const t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}}));const zr={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};Fn("\\char",(function(e){let t,n=e.popToken(),s="";if("'"===n.text)t=8,n=e.popToken();else if('"'===n.text)t=16,n=e.popToken();else if("`"===n.text)if(n=e.popToken(),"\\"===n.text[0])s=n.text.charCodeAt(1);else{if("EOF"===n.text)throw new r("\\char` missing argument");s=n.text.charCodeAt(0)}else t=10;if(t){if(s=zr[n.text],null==s||s>=t)throw new r("Invalid base-"+t+" digit "+n.text);let i;for(;null!=(i=zr[e.future().text])&&i<t;)s*=t,s+=i,e.popToken()}return"\\@char{"+s+"}"}));const Er=(e,t,n,s)=>{let i=e.consumeArg().tokens;if(1!==i.length)throw new r("\\newcommand's first argument must be a macro name");const o=i[0].text,a=e.isDefined(o);if(a&&!t)throw new r("\\newcommand{"+o+"} attempting to redefine "+o+"; use \\renewcommand");if(!a&&!n)throw new r("\\renewcommand{"+o+"} when command "+o+" does not yet exist; use \\newcommand");let l=0;if(i=e.consumeArg().tokens,1===i.length&&"["===i[0].text){let t="",n=e.expandNextToken();for(;"]"!==n.text&&"EOF"!==n.text;)t+=n.text,n=e.expandNextToken();if(!t.match(/^\s*[0-9]+\s*$/))throw new r("Invalid number of arguments: "+t);l=parseInt(t),i=e.consumeArg().tokens}return a&&s||e.macros.set(o,{tokens:i,numArgs:l}),""};Fn("\\newcommand",(e=>Er(e,!1,!0,!1))),Fn("\\renewcommand",(e=>Er(e,!0,!1,!1))),Fn("\\providecommand",(e=>Er(e,!0,!0,!0))),Fn("\\message",(e=>{const t=e.consumeArgs(1)[0];return console.log(t.reverse().map((e=>e.text)).join("")),""})),Fn("\\errmessage",(e=>{const t=e.consumeArgs(1)[0];return console.error(t.reverse().map((e=>e.text)).join("")),""})),Fn("\\show",(e=>{const t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),xr[n],ie.math[n],ie.text[n]),""})),Fn("\\bgroup","{"),Fn("\\egroup","}"),Fn("~","\\nobreakspace"),Fn("\\lq","`"),Fn("\\rq","'"),Fn("\\aa","\\r a"),Fn("\\AA","\\r A"),Fn("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`\xa9}"),Fn("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),Fn("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`\xae}"),Fn("\u212c","\\mathscr{B}"),Fn("\u2130","\\mathscr{E}"),Fn("\u2131","\\mathscr{F}"),Fn("\u210b","\\mathscr{H}"),Fn("\u2110","\\mathscr{I}"),Fn("\u2112","\\mathscr{L}"),Fn("\u2133","\\mathscr{M}"),Fn("\u211b","\\mathscr{R}"),Fn("\u212d","\\mathfrak{C}"),Fn("\u210c","\\mathfrak{H}"),Fn("\u2128","\\mathfrak{Z}"),Fn("\\Bbbk","\\Bbb{k}"),Fn("\xb7","\\cdotp"),Fn("\\llap","\\mathllap{\\textrm{#1}}"),Fn("\\rlap","\\mathrlap{\\textrm{#1}}"),Fn("\\clap","\\mathclap{\\textrm{#1}}"),Fn("\\mathstrut","\\vphantom{(}"),Fn("\\underbar","\\underline{\\text{#1}}"),Fn("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),Fn("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`\u2260}}"),Fn("\\ne","\\neq"),Fn("\u2260","\\neq"),Fn("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`\u2209}}"),Fn("\u2209","\\notin"),Fn("\u2258","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`\u2258}}"),Fn("\u2259","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`\u2258}}"),Fn("\u225a","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`\u225a}}"),Fn("\u225b","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`\u225b}}"),Fn("\u225d","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`\u225d}}"),Fn("\u225e","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`\u225e}}"),Fn("\u225f","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`\u225f}}"),Fn("\u27c2","\\perp"),Fn("\u203c","\\mathclose{!\\mkern-0.8mu!}"),Fn("\u220c","\\notni"),Fn("\u231c","\\ulcorner"),Fn("\u231d","\\urcorner"),Fn("\u231e","\\llcorner"),Fn("\u231f","\\lrcorner"),Fn("\xa9","\\copyright"),Fn("\xae","\\textregistered"),Fn("\ufe0f","\\textregistered"),Fn("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),Fn("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),Fn("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),Fn("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),Fn("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),Fn("\u22ee","\\vdots"),Fn("\\varGamma","\\mathit{\\Gamma}"),Fn("\\varDelta","\\mathit{\\Delta}"),Fn("\\varTheta","\\mathit{\\Theta}"),Fn("\\varLambda","\\mathit{\\Lambda}"),Fn("\\varXi","\\mathit{\\Xi}"),Fn("\\varPi","\\mathit{\\Pi}"),Fn("\\varSigma","\\mathit{\\Sigma}"),Fn("\\varUpsilon","\\mathit{\\Upsilon}"),Fn("\\varPhi","\\mathit{\\Phi}"),Fn("\\varPsi","\\mathit{\\Psi}"),Fn("\\varOmega","\\mathit{\\Omega}"),Fn("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),Fn("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),Fn("\\boxed","\\fbox{$\\displaystyle{#1}$}"),Fn("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),Fn("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),Fn("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),Fn("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),Fn("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");const Fr={",":"\\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"};Fn("\\dots",(function(e){let t="\\dotso";const n=e.expandAfterFuture().text;return n in Fr?t=Fr[n]:("\\not"===n.slice(0,4)||n in ie.math&&l.contains(["bin","rel"],ie.math[n].group))&&(t="\\dotsb"),t}));const Br={")":!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};Fn("\\dotso",(function(e){return e.future().text in Br?"\\ldots\\,":"\\ldots"})),Fn("\\dotsc",(function(e){const t=e.future().text;return t in Br&&","!==t?"\\ldots\\,":"\\ldots"})),Fn("\\cdots",(function(e){return e.future().text in Br?"\\@cdots\\,":"\\@cdots"})),Fn("\\dotsb","\\cdots"),Fn("\\dotsm","\\cdots"),Fn("\\dotsi","\\!\\cdots"),Fn("\\dotsx","\\ldots\\,"),Fn("\\DOTSI","\\relax"),Fn("\\DOTSB","\\relax"),Fn("\\DOTSX","\\relax"),Fn("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),Fn("\\,","\\tmspace+{3mu}{.1667em}"),Fn("\\thinspace","\\,"),Fn("\\>","\\mskip{4mu}"),Fn("\\:","\\tmspace+{4mu}{.2222em}"),Fn("\\medspace","\\:"),Fn("\\;","\\tmspace+{5mu}{.2777em}"),Fn("\\thickspace","\\;"),Fn("\\!","\\tmspace-{3mu}{.1667em}"),Fn("\\negthinspace","\\!"),Fn("\\negmedspace","\\tmspace-{4mu}{.2222em}"),Fn("\\negthickspace","\\tmspace-{5mu}{.277em}"),Fn("\\enspace","\\kern.5em "),Fn("\\enskip","\\hskip.5em\\relax"),Fn("\\quad","\\hskip1em\\relax"),Fn("\\qquad","\\hskip2em\\relax"),Fn("\\tag","\\@ifstar\\tag@literal\\tag@paren"),Fn("\\tag@paren","\\tag@literal{({#1})}"),Fn("\\tag@literal",(e=>{if(e.macros.get("\\df@tag"))throw new r("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"})),Fn("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),Fn("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),Fn("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),Fn("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),Fn("\\newline","\\\\\\relax"),Fn("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");const Tr=H(M["Main-Regular"]["T".charCodeAt(0)][1]-.7*M["Main-Regular"]["A".charCodeAt(0)][1]);Fn("\\LaTeX","\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+Tr+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}"),Fn("\\KaTeX","\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+Tr+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}"),Fn("\\hspace","\\@ifstar\\@hspacer\\@hspace"),Fn("\\@hspace","\\hskip #1\\relax"),Fn("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),Fn("\\ordinarycolon",":"),Fn("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),Fn("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),Fn("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),Fn("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),Fn("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),Fn("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),Fn("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),Fn("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),Fn("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),Fn("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),Fn("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),Fn("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),Fn("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),Fn("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),Fn("\u2237","\\dblcolon"),Fn("\u2239","\\eqcolon"),Fn("\u2254","\\coloneqq"),Fn("\u2255","\\eqqcolon"),Fn("\u2a74","\\Coloneqq"),Fn("\\ratio","\\vcentcolon"),Fn("\\coloncolon","\\dblcolon"),Fn("\\colonequals","\\coloneqq"),Fn("\\coloncolonequals","\\Coloneqq"),Fn("\\equalscolon","\\eqqcolon"),Fn("\\equalscoloncolon","\\Eqqcolon"),Fn("\\colonminus","\\coloneq"),Fn("\\coloncolonminus","\\Coloneq"),Fn("\\minuscolon","\\eqcolon"),Fn("\\minuscoloncolon","\\Eqcolon"),Fn("\\coloncolonapprox","\\Colonapprox"),Fn("\\coloncolonsim","\\Colonsim"),Fn("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Fn("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Fn("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),Fn("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),Fn("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`\u220c}}"),Fn("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),Fn("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),Fn("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),Fn("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),Fn("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),Fn("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),Fn("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),Fn("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),Fn("\\gvertneqq","\\html@mathml{\\@gvertneqq}{\u2269}"),Fn("\\lvertneqq","\\html@mathml{\\@lvertneqq}{\u2268}"),Fn("\\ngeqq","\\html@mathml{\\@ngeqq}{\u2271}"),Fn("\\ngeqslant","\\html@mathml{\\@ngeqslant}{\u2271}"),Fn("\\nleqq","\\html@mathml{\\@nleqq}{\u2270}"),Fn("\\nleqslant","\\html@mathml{\\@nleqslant}{\u2270}"),Fn("\\nshortmid","\\html@mathml{\\@nshortmid}{\u2224}"),Fn("\\nshortparallel","\\html@mathml{\\@nshortparallel}{\u2226}"),Fn("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{\u2288}"),Fn("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{\u2289}"),Fn("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{\u228a}"),Fn("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{\u2acb}"),Fn("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{\u228b}"),Fn("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{\u2acc}"),Fn("\\imath","\\html@mathml{\\@imath}{\u0131}"),Fn("\\jmath","\\html@mathml{\\@jmath}{\u0237}"),Fn("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`\u27e6}}"),Fn("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`\u27e7}}"),Fn("\u27e6","\\llbracket"),Fn("\u27e7","\\rrbracket"),Fn("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`\u2983}}"),Fn("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`\u2984}}"),Fn("\u2983","\\lBrace"),Fn("\u2984","\\rBrace"),Fn("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`\u29b5}}"),Fn("\u29b5","\\minuso"),Fn("\\darr","\\downarrow"),Fn("\\dArr","\\Downarrow"),Fn("\\Darr","\\Downarrow"),Fn("\\lang","\\langle"),Fn("\\rang","\\rangle"),Fn("\\uarr","\\uparrow"),Fn("\\uArr","\\Uparrow"),Fn("\\Uarr","\\Uparrow"),Fn("\\N","\\mathbb{N}"),Fn("\\R","\\mathbb{R}"),Fn("\\Z","\\mathbb{Z}"),Fn("\\alef","\\aleph"),Fn("\\alefsym","\\aleph"),Fn("\\Alpha","\\mathrm{A}"),Fn("\\Beta","\\mathrm{B}"),Fn("\\bull","\\bullet"),Fn("\\Chi","\\mathrm{X}"),Fn("\\clubs","\\clubsuit"),Fn("\\cnums","\\mathbb{C}"),Fn("\\Complex","\\mathbb{C}"),Fn("\\Dagger","\\ddagger"),Fn("\\diamonds","\\diamondsuit"),Fn("\\empty","\\emptyset"),Fn("\\Epsilon","\\mathrm{E}"),Fn("\\Eta","\\mathrm{H}"),Fn("\\exist","\\exists"),Fn("\\harr","\\leftrightarrow"),Fn("\\hArr","\\Leftrightarrow"),Fn("\\Harr","\\Leftrightarrow"),Fn("\\hearts","\\heartsuit"),Fn("\\image","\\Im"),Fn("\\infin","\\infty"),Fn("\\Iota","\\mathrm{I}"),Fn("\\isin","\\in"),Fn("\\Kappa","\\mathrm{K}"),Fn("\\larr","\\leftarrow"),Fn("\\lArr","\\Leftarrow"),Fn("\\Larr","\\Leftarrow"),Fn("\\lrarr","\\leftrightarrow"),Fn("\\lrArr","\\Leftrightarrow"),Fn("\\Lrarr","\\Leftrightarrow"),Fn("\\Mu","\\mathrm{M}"),Fn("\\natnums","\\mathbb{N}"),Fn("\\Nu","\\mathrm{N}"),Fn("\\Omicron","\\mathrm{O}"),Fn("\\plusmn","\\pm"),Fn("\\rarr","\\rightarrow"),Fn("\\rArr","\\Rightarrow"),Fn("\\Rarr","\\Rightarrow"),Fn("\\real","\\Re"),Fn("\\reals","\\mathbb{R}"),Fn("\\Reals","\\mathbb{R}"),Fn("\\Rho","\\mathrm{P}"),Fn("\\sdot","\\cdot"),Fn("\\sect","\\S"),Fn("\\spades","\\spadesuit"),Fn("\\sub","\\subset"),Fn("\\sube","\\subseteq"),Fn("\\supe","\\supseteq"),Fn("\\Tau","\\mathrm{T}"),Fn("\\thetasym","\\vartheta"),Fn("\\weierp","\\wp"),Fn("\\Zeta","\\mathrm{Z}"),Fn("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),Fn("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),Fn("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),Fn("\\bra","\\mathinner{\\langle{#1}|}"),Fn("\\ket","\\mathinner{|{#1}\\rangle}"),Fn("\\braket","\\mathinner{\\langle{#1}\\rangle}"),Fn("\\Bra","\\left\\langle#1\\right|"),Fn("\\Ket","\\left|#1\\right\\rangle");const _r=e=>t=>{const n=t.consumeArg().tokens,r=t.consumeArg().tokens,s=t.consumeArg().tokens,i=t.consumeArg().tokens,o=t.macros.get("|"),a=t.macros.get("\\|");t.macros.beginGroup();const l=t=>n=>{e&&(n.macros.set("|",o),s.length&&n.macros.set("\\|",a));let i=t;return!t&&s.length&&"|"===n.future().text&&(n.popToken(),i=!0),{tokens:i?s:r,numArgs:0}};t.macros.set("|",l(!1)),s.length&&t.macros.set("\\|",l(!0));const u=t.consumeArg().tokens,c=t.expandTokens([...i,...u,...n]);return t.macros.endGroup(),{tokens:c.reverse(),numArgs:0}};Fn("\\bra@ket",_r(!1)),Fn("\\bra@set",_r(!0)),Fn("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),Fn("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),Fn("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),Fn("\\angln","{\\angl n}"),Fn("\\blue","\\textcolor{##6495ed}{#1}"),Fn("\\orange","\\textcolor{##ffa500}{#1}"),Fn("\\pink","\\textcolor{##ff00af}{#1}"),Fn("\\red","\\textcolor{##df0030}{#1}"),Fn("\\green","\\textcolor{##28ae7b}{#1}"),Fn("\\gray","\\textcolor{gray}{#1}"),Fn("\\purple","\\textcolor{##9d38bd}{#1}"),Fn("\\blueA","\\textcolor{##ccfaff}{#1}"),Fn("\\blueB","\\textcolor{##80f6ff}{#1}"),Fn("\\blueC","\\textcolor{##63d9ea}{#1}"),Fn("\\blueD","\\textcolor{##11accd}{#1}"),Fn("\\blueE","\\textcolor{##0c7f99}{#1}"),Fn("\\tealA","\\textcolor{##94fff5}{#1}"),Fn("\\tealB","\\textcolor{##26edd5}{#1}"),Fn("\\tealC","\\textcolor{##01d1c1}{#1}"),Fn("\\tealD","\\textcolor{##01a995}{#1}"),Fn("\\tealE","\\textcolor{##208170}{#1}"),Fn("\\greenA","\\textcolor{##b6ffb0}{#1}"),Fn("\\greenB","\\textcolor{##8af281}{#1}"),Fn("\\greenC","\\textcolor{##74cf70}{#1}"),Fn("\\greenD","\\textcolor{##1fab54}{#1}"),Fn("\\greenE","\\textcolor{##0d923f}{#1}"),Fn("\\goldA","\\textcolor{##ffd0a9}{#1}"),Fn("\\goldB","\\textcolor{##ffbb71}{#1}"),Fn("\\goldC","\\textcolor{##ff9c39}{#1}"),Fn("\\goldD","\\textcolor{##e07d10}{#1}"),Fn("\\goldE","\\textcolor{##a75a05}{#1}"),Fn("\\redA","\\textcolor{##fca9a9}{#1}"),Fn("\\redB","\\textcolor{##ff8482}{#1}"),Fn("\\redC","\\textcolor{##f9685d}{#1}"),Fn("\\redD","\\textcolor{##e84d39}{#1}"),Fn("\\redE","\\textcolor{##bc2612}{#1}"),Fn("\\maroonA","\\textcolor{##ffbde0}{#1}"),Fn("\\maroonB","\\textcolor{##ff92c6}{#1}"),Fn("\\maroonC","\\textcolor{##ed5fa6}{#1}"),Fn("\\maroonD","\\textcolor{##ca337c}{#1}"),Fn("\\maroonE","\\textcolor{##9e034e}{#1}"),Fn("\\purpleA","\\textcolor{##ddd7ff}{#1}"),Fn("\\purpleB","\\textcolor{##c6b9fc}{#1}"),Fn("\\purpleC","\\textcolor{##aa87ff}{#1}"),Fn("\\purpleD","\\textcolor{##7854ab}{#1}"),Fn("\\purpleE","\\textcolor{##543b78}{#1}"),Fn("\\mintA","\\textcolor{##f5f9e8}{#1}"),Fn("\\mintB","\\textcolor{##edf2df}{#1}"),Fn("\\mintC","\\textcolor{##e0e5cc}{#1}"),Fn("\\grayA","\\textcolor{##f6f7f7}{#1}"),Fn("\\grayB","\\textcolor{##f0f1f2}{#1}"),Fn("\\grayC","\\textcolor{##e3e5e6}{#1}"),Fn("\\grayD","\\textcolor{##d6d8da}{#1}"),Fn("\\grayE","\\textcolor{##babec2}{#1}"),Fn("\\grayF","\\textcolor{##888d93}{#1}"),Fn("\\grayG","\\textcolor{##626569}{#1}"),Fn("\\grayH","\\textcolor{##3b3e40}{#1}"),Fn("\\grayI","\\textcolor{##21242c}{#1}"),Fn("\\kaBlue","\\textcolor{##314453}{#1}"),Fn("\\kaGreen","\\textcolor{##71B307}{#1}");const Nr={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Or{constructor(e,t,n){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 Cr(Mr,t.macros),this.mode=n,this.stack=[]}feed(e){this.lexer=new Sr(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){let t,n,r;if(e){if(this.consumeSpaces(),"["!==this.future().text)return null;t=this.popToken(),({tokens:r,end:n}=this.consumeArg(["]"]))}else({tokens:r,start:t,end:n}=this.consumeArg());return this.pushToken(new Tn("EOF",n.loc)),this.pushTokens(r),t.range(n,"")}consumeSpaces(){for(;" "===this.future().text;)this.stack.pop()}consumeArg(e){const t=[],n=e&&e.length>0;n||this.consumeSpaces();const s=this.future();let i,o=0,a=0;do{if(i=this.popToken(),t.push(i),"{"===i.text)++o;else if("}"===i.text){if(--o,-1===o)throw new r("Extra }",i)}else if("EOF"===i.text)throw new r("Unexpected end of input in a macro argument, expected '"+(e&&n?e[a]:"}")+"'",i);if(e&&n)if((0===o||1===o&&"{"===e[a])&&i.text===e[a]){if(++a,a===e.length){t.splice(-a,a);break}}else a=0}while(0!==o||n);return"{"===s.text&&"}"===t[t.length-1].text&&(t.pop(),t.shift()),t.reverse(),{tokens:t,start:s,end:i}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new r("The length of delimiters doesn't match the number of args!");const n=t[0];for(let e=0;e<n.length;e++){const t=this.popToken();if(n[e]!==t.text)throw new r("Use of the macro doesn't match its definition",t)}}const n=[];for(let r=0;r<e;r++)n.push(this.consumeArg(t&&t[r+1]).tokens);return n}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new r("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){const t=this.popToken(),n=t.text,s=t.noexpand?null:this._getExpansion(n);if(null==s||e&&s.unexpandable){if(e&&null==s&&"\\"===n[0]&&!this.isDefined(n))throw new r("Undefined control sequence: "+n);return this.pushToken(t),!1}this.countExpansion(1);let i=s.tokens;const o=this.consumeArgs(s.numArgs,s.delimiters);if(s.numArgs){i=i.slice();for(let e=i.length-1;e>=0;--e){let t=i[e];if("#"===t.text){if(0===e)throw new r("Incomplete placeholder at end of macro body",t);if(t=i[--e],"#"===t.text)i.splice(e+1,1);else{if(!/^[1-9]$/.test(t.text))throw new r("Not a valid argument number",t);i.splice(e,2,...o[+t.text-1])}}}}return this.pushTokens(i),i.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(!1===this.expandOnce()){const e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new Tn(e)]):void 0}expandTokens(e){const t=[],n=this.stack.length;for(this.pushTokens(e);this.stack.length>n;)if(!1===this.expandOnce(!0)){const e=this.stack.pop();e.treatAsRelax&&(e.noexpand=!1,e.treatAsRelax=!1),t.push(e)}return this.countExpansion(t.length),t}expandMacroAsText(e){const t=this.expandMacro(e);return t?t.map((e=>e.text)).join(""):t}_getExpansion(e){const t=this.macros.get(e);if(null==t)return t;if(1===e.length){const t=this.lexer.catcodes[e];if(null!=t&&13!==t)return}const n="function"===typeof t?t(this):t;if("string"===typeof n){let e=0;if(-1!==n.indexOf("#")){const t=n.replace(/##/g,"");for(;-1!==t.indexOf("#"+(e+1));)++e}const t=new Sr(n,this.settings),r=[];let s=t.lex();for(;"EOF"!==s.text;)r.push(s),s=t.lex();return r.reverse(),{tokens:r,numArgs:e}}return n}isDefined(e){return this.macros.has(e)||xr.hasOwnProperty(e)||ie.math.hasOwnProperty(e)||ie.text.hasOwnProperty(e)||Nr.hasOwnProperty(e)}isExpandable(e){const t=this.macros.get(e);return null!=t?"string"===typeof t||"function"===typeof t||!t.unexpandable:xr.hasOwnProperty(e)&&!xr[e].primitive}}const Ir=/^[\u208a\u208b\u208c\u208d\u208e\u2080\u2081\u2082\u2083\u2084\u2085\u2086\u2087\u2088\u2089\u2090\u2091\u2095\u1d62\u2c7c\u2096\u2097\u2098\u2099\u2092\u209a\u1d63\u209b\u209c\u1d64\u1d65\u2093\u1d66\u1d67\u1d68\u1d69\u1d6a]/,qr=Object.freeze({"\u208a":"+","\u208b":"-","\u208c":"=","\u208d":"(","\u208e":")","\u2080":"0","\u2081":"1","\u2082":"2","\u2083":"3","\u2084":"4","\u2085":"5","\u2086":"6","\u2087":"7","\u2088":"8","\u2089":"9","\u2090":"a","\u2091":"e","\u2095":"h","\u1d62":"i","\u2c7c":"j","\u2096":"k","\u2097":"l","\u2098":"m","\u2099":"n","\u2092":"o","\u209a":"p","\u1d63":"r","\u209b":"s","\u209c":"t","\u1d64":"u","\u1d65":"v","\u2093":"x","\u1d66":"\u03b2","\u1d67":"\u03b3","\u1d68":"\u03c1","\u1d69":"\u03d5","\u1d6a":"\u03c7","\u207a":"+","\u207b":"-","\u207c":"=","\u207d":"(","\u207e":")","\u2070":"0","\xb9":"1","\xb2":"2","\xb3":"3","\u2074":"4","\u2075":"5","\u2076":"6","\u2077":"7","\u2078":"8","\u2079":"9","\u1d2c":"A","\u1d2e":"B","\u1d30":"D","\u1d31":"E","\u1d33":"G","\u1d34":"H","\u1d35":"I","\u1d36":"J","\u1d37":"K","\u1d38":"L","\u1d39":"M","\u1d3a":"N","\u1d3c":"O","\u1d3e":"P","\u1d3f":"R","\u1d40":"T","\u1d41":"U","\u2c7d":"V","\u1d42":"W","\u1d43":"a","\u1d47":"b","\u1d9c":"c","\u1d48":"d","\u1d49":"e","\u1da0":"f","\u1d4d":"g","\u02b0":"h","\u2071":"i","\u02b2":"j","\u1d4f":"k","\u02e1":"l","\u1d50":"m","\u207f":"n","\u1d52":"o","\u1d56":"p","\u02b3":"r","\u02e2":"s","\u1d57":"t","\u1d58":"u","\u1d5b":"v","\u02b7":"w","\u02e3":"x","\u02b8":"y","\u1dbb":"z","\u1d5d":"\u03b2","\u1d5e":"\u03b3","\u1d5f":"\u03b4","\u1d60":"\u03d5","\u1d61":"\u03c7","\u1dbf":"\u03b8"}),Rr={"\u0301":{text:"\\'",math:"\\acute"},"\u0300":{text:"\\`",math:"\\grave"},"\u0308":{text:'\\"',math:"\\ddot"},"\u0303":{text:"\\~",math:"\\tilde"},"\u0304":{text:"\\=",math:"\\bar"},"\u0306":{text:"\\u",math:"\\breve"},"\u030c":{text:"\\v",math:"\\check"},"\u0302":{text:"\\^",math:"\\hat"},"\u0307":{text:"\\.",math:"\\dot"},"\u030a":{text:"\\r",math:"\\mathring"},"\u030b":{text:"\\H"},"\u0327":{text:"\\c"}},Lr={"\xe1":"a\u0301","\xe0":"a\u0300","\xe4":"a\u0308","\u01df":"a\u0308\u0304","\xe3":"a\u0303","\u0101":"a\u0304","\u0103":"a\u0306","\u1eaf":"a\u0306\u0301","\u1eb1":"a\u0306\u0300","\u1eb5":"a\u0306\u0303","\u01ce":"a\u030c","\xe2":"a\u0302","\u1ea5":"a\u0302\u0301","\u1ea7":"a\u0302\u0300","\u1eab":"a\u0302\u0303","\u0227":"a\u0307","\u01e1":"a\u0307\u0304","\xe5":"a\u030a","\u01fb":"a\u030a\u0301","\u1e03":"b\u0307","\u0107":"c\u0301","\u1e09":"c\u0327\u0301","\u010d":"c\u030c","\u0109":"c\u0302","\u010b":"c\u0307","\xe7":"c\u0327","\u010f":"d\u030c","\u1e0b":"d\u0307","\u1e11":"d\u0327","\xe9":"e\u0301","\xe8":"e\u0300","\xeb":"e\u0308","\u1ebd":"e\u0303","\u0113":"e\u0304","\u1e17":"e\u0304\u0301","\u1e15":"e\u0304\u0300","\u0115":"e\u0306","\u1e1d":"e\u0327\u0306","\u011b":"e\u030c","\xea":"e\u0302","\u1ebf":"e\u0302\u0301","\u1ec1":"e\u0302\u0300","\u1ec5":"e\u0302\u0303","\u0117":"e\u0307","\u0229":"e\u0327","\u1e1f":"f\u0307","\u01f5":"g\u0301","\u1e21":"g\u0304","\u011f":"g\u0306","\u01e7":"g\u030c","\u011d":"g\u0302","\u0121":"g\u0307","\u0123":"g\u0327","\u1e27":"h\u0308","\u021f":"h\u030c","\u0125":"h\u0302","\u1e23":"h\u0307","\u1e29":"h\u0327","\xed":"i\u0301","\xec":"i\u0300","\xef":"i\u0308","\u1e2f":"i\u0308\u0301","\u0129":"i\u0303","\u012b":"i\u0304","\u012d":"i\u0306","\u01d0":"i\u030c","\xee":"i\u0302","\u01f0":"j\u030c","\u0135":"j\u0302","\u1e31":"k\u0301","\u01e9":"k\u030c","\u0137":"k\u0327","\u013a":"l\u0301","\u013e":"l\u030c","\u013c":"l\u0327","\u1e3f":"m\u0301","\u1e41":"m\u0307","\u0144":"n\u0301","\u01f9":"n\u0300","\xf1":"n\u0303","\u0148":"n\u030c","\u1e45":"n\u0307","\u0146":"n\u0327","\xf3":"o\u0301","\xf2":"o\u0300","\xf6":"o\u0308","\u022b":"o\u0308\u0304","\xf5":"o\u0303","\u1e4d":"o\u0303\u0301","\u1e4f":"o\u0303\u0308","\u022d":"o\u0303\u0304","\u014d":"o\u0304","\u1e53":"o\u0304\u0301","\u1e51":"o\u0304\u0300","\u014f":"o\u0306","\u01d2":"o\u030c","\xf4":"o\u0302","\u1ed1":"o\u0302\u0301","\u1ed3":"o\u0302\u0300","\u1ed7":"o\u0302\u0303","\u022f":"o\u0307","\u0231":"o\u0307\u0304","\u0151":"o\u030b","\u1e55":"p\u0301","\u1e57":"p\u0307","\u0155":"r\u0301","\u0159":"r\u030c","\u1e59":"r\u0307","\u0157":"r\u0327","\u015b":"s\u0301","\u1e65":"s\u0301\u0307","\u0161":"s\u030c","\u1e67":"s\u030c\u0307","\u015d":"s\u0302","\u1e61":"s\u0307","\u015f":"s\u0327","\u1e97":"t\u0308","\u0165":"t\u030c","\u1e6b":"t\u0307","\u0163":"t\u0327","\xfa":"u\u0301","\xf9":"u\u0300","\xfc":"u\u0308","\u01d8":"u\u0308\u0301","\u01dc":"u\u0308\u0300","\u01d6":"u\u0308\u0304","\u01da":"u\u0308\u030c","\u0169":"u\u0303","\u1e79":"u\u0303\u0301","\u016b":"u\u0304","\u1e7b":"u\u0304\u0308","\u016d":"u\u0306","\u01d4":"u\u030c","\xfb":"u\u0302","\u016f":"u\u030a","\u0171":"u\u030b","\u1e7d":"v\u0303","\u1e83":"w\u0301","\u1e81":"w\u0300","\u1e85":"w\u0308","\u0175":"w\u0302","\u1e87":"w\u0307","\u1e98":"w\u030a","\u1e8d":"x\u0308","\u1e8b":"x\u0307","\xfd":"y\u0301","\u1ef3":"y\u0300","\xff":"y\u0308","\u1ef9":"y\u0303","\u0233":"y\u0304","\u0177":"y\u0302","\u1e8f":"y\u0307","\u1e99":"y\u030a","\u017a":"z\u0301","\u017e":"z\u030c","\u1e91":"z\u0302","\u017c":"z\u0307","\xc1":"A\u0301","\xc0":"A\u0300","\xc4":"A\u0308","\u01de":"A\u0308\u0304","\xc3":"A\u0303","\u0100":"A\u0304","\u0102":"A\u0306","\u1eae":"A\u0306\u0301","\u1eb0":"A\u0306\u0300","\u1eb4":"A\u0306\u0303","\u01cd":"A\u030c","\xc2":"A\u0302","\u1ea4":"A\u0302\u0301","\u1ea6":"A\u0302\u0300","\u1eaa":"A\u0302\u0303","\u0226":"A\u0307","\u01e0":"A\u0307\u0304","\xc5":"A\u030a","\u01fa":"A\u030a\u0301","\u1e02":"B\u0307","\u0106":"C\u0301","\u1e08":"C\u0327\u0301","\u010c":"C\u030c","\u0108":"C\u0302","\u010a":"C\u0307","\xc7":"C\u0327","\u010e":"D\u030c","\u1e0a":"D\u0307","\u1e10":"D\u0327","\xc9":"E\u0301","\xc8":"E\u0300","\xcb":"E\u0308","\u1ebc":"E\u0303","\u0112":"E\u0304","\u1e16":"E\u0304\u0301","\u1e14":"E\u0304\u0300","\u0114":"E\u0306","\u1e1c":"E\u0327\u0306","\u011a":"E\u030c","\xca":"E\u0302","\u1ebe":"E\u0302\u0301","\u1ec0":"E\u0302\u0300","\u1ec4":"E\u0302\u0303","\u0116":"E\u0307","\u0228":"E\u0327","\u1e1e":"F\u0307","\u01f4":"G\u0301","\u1e20":"G\u0304","\u011e":"G\u0306","\u01e6":"G\u030c","\u011c":"G\u0302","\u0120":"G\u0307","\u0122":"G\u0327","\u1e26":"H\u0308","\u021e":"H\u030c","\u0124":"H\u0302","\u1e22":"H\u0307","\u1e28":"H\u0327","\xcd":"I\u0301","\xcc":"I\u0300","\xcf":"I\u0308","\u1e2e":"I\u0308\u0301","\u0128":"I\u0303","\u012a":"I\u0304","\u012c":"I\u0306","\u01cf":"I\u030c","\xce":"I\u0302","\u0130":"I\u0307","\u0134":"J\u0302","\u1e30":"K\u0301","\u01e8":"K\u030c","\u0136":"K\u0327","\u0139":"L\u0301","\u013d":"L\u030c","\u013b":"L\u0327","\u1e3e":"M\u0301","\u1e40":"M\u0307","\u0143":"N\u0301","\u01f8":"N\u0300","\xd1":"N\u0303","\u0147":"N\u030c","\u1e44":"N\u0307","\u0145":"N\u0327","\xd3":"O\u0301","\xd2":"O\u0300","\xd6":"O\u0308","\u022a":"O\u0308\u0304","\xd5":"O\u0303","\u1e4c":"O\u0303\u0301","\u1e4e":"O\u0303\u0308","\u022c":"O\u0303\u0304","\u014c":"O\u0304","\u1e52":"O\u0304\u0301","\u1e50":"O\u0304\u0300","\u014e":"O\u0306","\u01d1":"O\u030c","\xd4":"O\u0302","\u1ed0":"O\u0302\u0301","\u1ed2":"O\u0302\u0300","\u1ed6":"O\u0302\u0303","\u022e":"O\u0307","\u0230":"O\u0307\u0304","\u0150":"O\u030b","\u1e54":"P\u0301","\u1e56":"P\u0307","\u0154":"R\u0301","\u0158":"R\u030c","\u1e58":"R\u0307","\u0156":"R\u0327","\u015a":"S\u0301","\u1e64":"S\u0301\u0307","\u0160":"S\u030c","\u1e66":"S\u030c\u0307","\u015c":"S\u0302","\u1e60":"S\u0307","\u015e":"S\u0327","\u0164":"T\u030c","\u1e6a":"T\u0307","\u0162":"T\u0327","\xda":"U\u0301","\xd9":"U\u0300","\xdc":"U\u0308","\u01d7":"U\u0308\u0301","\u01db":"U\u0308\u0300","\u01d5":"U\u0308\u0304","\u01d9":"U\u0308\u030c","\u0168":"U\u0303","\u1e78":"U\u0303\u0301","\u016a":"U\u0304","\u1e7a":"U\u0304\u0308","\u016c":"U\u0306","\u01d3":"U\u030c","\xdb":"U\u0302","\u016e":"U\u030a","\u0170":"U\u030b","\u1e7c":"V\u0303","\u1e82":"W\u0301","\u1e80":"W\u0300","\u1e84":"W\u0308","\u0174":"W\u0302","\u1e86":"W\u0307","\u1e8c":"X\u0308","\u1e8a":"X\u0307","\xdd":"Y\u0301","\u1ef2":"Y\u0300","\u0178":"Y\u0308","\u1ef8":"Y\u0303","\u0232":"Y\u0304","\u0176":"Y\u0302","\u1e8e":"Y\u0307","\u0179":"Z\u0301","\u017d":"Z\u030c","\u1e90":"Z\u0302","\u017b":"Z\u0307","\u03ac":"\u03b1\u0301","\u1f70":"\u03b1\u0300","\u1fb1":"\u03b1\u0304","\u1fb0":"\u03b1\u0306","\u03ad":"\u03b5\u0301","\u1f72":"\u03b5\u0300","\u03ae":"\u03b7\u0301","\u1f74":"\u03b7\u0300","\u03af":"\u03b9\u0301","\u1f76":"\u03b9\u0300","\u03ca":"\u03b9\u0308","\u0390":"\u03b9\u0308\u0301","\u1fd2":"\u03b9\u0308\u0300","\u1fd1":"\u03b9\u0304","\u1fd0":"\u03b9\u0306","\u03cc":"\u03bf\u0301","\u1f78":"\u03bf\u0300","\u03cd":"\u03c5\u0301","\u1f7a":"\u03c5\u0300","\u03cb":"\u03c5\u0308","\u03b0":"\u03c5\u0308\u0301","\u1fe2":"\u03c5\u0308\u0300","\u1fe1":"\u03c5\u0304","\u1fe0":"\u03c5\u0306","\u03ce":"\u03c9\u0301","\u1f7c":"\u03c9\u0300","\u038e":"\u03a5\u0301","\u1fea":"\u03a5\u0300","\u03ab":"\u03a5\u0308","\u1fe9":"\u03a5\u0304","\u1fe8":"\u03a5\u0306","\u038f":"\u03a9\u0301","\u1ffa":"\u03a9\u0300"};class jr{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 Or(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 r("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{const e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){const t=this.nextToken;this.consume(),this.gullet.pushToken(new Tn("}")),this.gullet.pushTokens(e);const n=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,n}parseExpression(e,t){const n=[];for(;;){"math"===this.mode&&this.consumeSpaces();const r=this.fetch();if(-1!==jr.endOfExpression.indexOf(r.text))break;if(t&&r.text===t)break;if(e&&xr[r.text]&&xr[r.text].infix)break;const s=this.parseAtom(t);if(!s)break;"internal"!==s.type&&n.push(s)}return"text"===this.mode&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(e){let t,n=-1;for(let s=0;s<e.length;s++)if("infix"===e[s].type){if(-1!==n)throw new r("only one infix operator per group",e[s].token);n=s,t=e[s].replaceWith}if(-1!==n&&t){let r,s;const i=e.slice(0,n),o=e.slice(n+1);let a;return r=1===i.length&&"ordgroup"===i[0].type?i[0]:{type:"ordgroup",mode:this.mode,body:i},s=1===o.length&&"ordgroup"===o[0].type?o[0]:{type:"ordgroup",mode:this.mode,body:o},a="\\\\abovefrac"===t?this.callFunction(t,[r,e[n],s],[]):this.callFunction(t,[r,s],[]),[a]}return e}handleSupSubscript(e){const t=this.fetch(),n=t.text;let s;this.consume(),this.consumeSpaces();do{var i;s=this.parseGroup(e)}while("internal"===(null==(i=s)?void 0:i.type));if(!s)throw new r("Expected group after '"+n+"'",t);return s}formatUnsupportedCmd(e){const t=[];for(let r=0;r<e.length;r++)t.push({type:"textord",mode:"text",text:e[r]});const n={type:"text",mode:this.mode,body:t};return{type:"color",mode:this.mode,color:this.settings.errorColor,body:[n]}}parseAtom(e){const t=this.parseGroup("atom",e);if("internal"===(null==t?void 0:t.type))return t;if("text"===this.mode)return t;let n,s;for(;;){this.consumeSpaces();const e=this.fetch();if("\\limits"===e.text||"\\nolimits"===e.text){if(t&&"op"===t.type){const n="\\limits"===e.text;t.limits=n,t.alwaysHandleSupSub=!0}else{if(!t||"operatorname"!==t.type)throw new r("Limit controls must follow a math operator",e);t.alwaysHandleSupSub&&(t.limits="\\limits"===e.text)}this.consume()}else if("^"===e.text){if(n)throw new r("Double superscript",e);n=this.handleSupSubscript("superscript")}else if("_"===e.text){if(s)throw new r("Double subscript",e);s=this.handleSupSubscript("subscript")}else if("'"===e.text){if(n)throw new r("Double superscript",e);const t={type:"textord",mode:this.mode,text:"\\prime"},s=[t];for(this.consume();"'"===this.fetch().text;)s.push(t),this.consume();"^"===this.fetch().text&&s.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:s}}else{if(!qr[e.text])break;{const t=Ir.test(e.text),r=[];for(r.push(new Tn(qr[e.text])),this.consume();;){const e=this.fetch().text;if(!qr[e])break;if(Ir.test(e)!==t)break;r.unshift(new Tn(qr[e])),this.consume()}const i=this.subparse(r);t?s={type:"ordgroup",mode:"math",body:i}:n={type:"ordgroup",mode:"math",body:i}}}}return n||s?{type:"supsub",mode:this.mode,base:t,sup:n,sub:s}:t}parseFunction(e,t){const n=this.fetch(),s=n.text,i=xr[s];if(!i)return null;if(this.consume(),t&&"atom"!==t&&!i.allowedInArgument)throw new r("Got function '"+s+"' with no arguments"+(t?" as "+t:""),n);if("text"===this.mode&&!i.allowedInText)throw new r("Can't use function '"+s+"' in text mode",n);if("math"===this.mode&&!1===i.allowedInMath)throw new r("Can't use function '"+s+"' in math mode",n);const{args:o,optArgs:a}=this.parseArguments(s,i);return this.callFunction(s,o,a,n,e)}callFunction(e,t,n,s,i){const o={funcName:e,parser:this,token:s,breakOnTokenText:i},a=xr[e];if(a&&a.handler)return a.handler(o,t,n);throw new r("No function handler for "+e)}parseArguments(e,t){const n=t.numArgs+t.numOptionalArgs;if(0===n)return{args:[],optArgs:[]};const s=[],i=[];for(let o=0;o<n;o++){let n=t.argTypes&&t.argTypes[o];const a=o<t.numOptionalArgs;(t.primitive&&null==n||"sqrt"===t.type&&1===o&&null==i[0])&&(n="primitive");const l=this.parseGroupOfType("argument to '"+e+"'",n,a);if(a)i.push(l);else{if(null==l)throw new r("Null argument, please report this as a bug");s.push(l)}}return{args:s,optArgs:i}}parseGroupOfType(e,t,n){switch(t){case"color":return this.parseColorGroup(n);case"size":return this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n);case"math":case"text":return this.parseArgumentGroup(n,t);case"hbox":{const e=this.parseArgumentGroup(n,"text");return null!=e?{type:"styling",mode:e.mode,body:[e],style:"text"}:null}case"raw":{const e=this.parseStringGroup("raw",n);return null!=e?{type:"raw",mode:"text",string:e.text}:null}case"primitive":{if(n)throw new r("A primitive argument cannot be optional");const t=this.parseGroup(e);if(null==t)throw new r("Expected group as "+e,this.fetch());return t}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new r("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;" "===this.fetch().text;)this.consume()}parseStringGroup(e,t){const n=this.gullet.scanArgument(t);if(null==n)return null;let r,s="";for(;"EOF"!==(r=this.fetch()).text;)s+=r.text,this.consume();return this.consume(),n.text=s,n}parseRegexGroup(e,t){const n=this.fetch();let s,i=n,o="";for(;"EOF"!==(s=this.fetch()).text&&e.test(o+s.text);)i=s,o+=i.text,this.consume();if(""===o)throw new r("Invalid "+t+": '"+n.text+"'",n);return n.range(i,o)}parseColorGroup(e){const t=this.parseStringGroup("color",e);if(null==t)return null;const n=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!n)throw new r("Invalid color: '"+t.text+"'",t);let s=n[0];return/^[0-9a-f]{6}$/i.test(s)&&(s="#"+s),{type:"color-token",mode:this.mode,color:s}}parseSizeGroup(e){let t,n=!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"),!t)return null;e||0!==t.text.length||(t.text="0pt",n=!0);const s=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!s)throw new r("Invalid size: '"+t.text+"'",t);const i={number:+(s[1]+s[2]),unit:s[3]};if(!L(i))throw new r("Invalid unit: '"+i.unit+"'",t);return{type:"size",mode:this.mode,value:i,isBlank:n}}parseUrlGroup(e){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);const t=this.parseStringGroup("url",e);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),null==t)return null;const n=t.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:n}}parseArgumentGroup(e,t){const n=this.gullet.scanArgument(e);if(null==n)return null;const r=this.mode;t&&this.switchMode(t),this.gullet.beginGroup();const s=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();const i={type:"ordgroup",mode:this.mode,loc:n.loc,body:s};return t&&this.switchMode(r),i}parseGroup(e,t){const n=this.fetch(),s=n.text;let i;if("{"===s||"\\begingroup"===s){this.consume();const e="{"===s?"}":"\\endgroup";this.gullet.beginGroup();const t=this.parseExpression(!1,e),r=this.fetch();this.expect(e),this.gullet.endGroup(),i={type:"ordgroup",mode:this.mode,loc:Bn.range(n,r),body:t,semisimple:"\\begingroup"===s||void 0}}else if(i=this.parseFunction(t,e)||this.parseSymbol(),null==i&&"\\"===s[0]&&!Nr.hasOwnProperty(s)){if(this.settings.throwOnError)throw new r("Undefined control sequence: "+s,n);i=this.formatUnsupportedCmd(s),this.consume()}return i}formLigatures(e){let t=e.length-1;for(let n=0;n<t;++n){const r=e[n],s=r.text;"-"===s&&"-"===e[n+1].text&&(n+1<t&&"-"===e[n+2].text?(e.splice(n,3,{type:"textord",mode:"text",loc:Bn.range(r,e[n+2]),text:"---"}),t-=2):(e.splice(n,2,{type:"textord",mode:"text",loc:Bn.range(r,e[n+1]),text:"--"}),t-=1)),"'"!==s&&"`"!==s||e[n+1].text!==s||(e.splice(n,2,{type:"textord",mode:"text",loc:Bn.range(r,e[n+1]),text:s+s}),t-=1)}}parseSymbol(){const e=this.fetch();let t=e.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();let e=t.slice(5);const n="*"===e.charAt(0);if(n&&(e=e.slice(1)),e.length<2||e.charAt(0)!==e.slice(-1))throw new r("\\verb assertion failed --\n please report what input caused this bug");return e=e.slice(1,-1),{type:"verb",mode:"text",body:e,star:n}}Lr.hasOwnProperty(t[0])&&!ie[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=Lr[t[0]]+t.slice(1));const n=kr.exec(t);let s;if(n&&(t=t.substring(0,n.index),"i"===t?t="\u0131":"j"===t&&(t="\u0237")),ie[this.mode][t]){this.settings.strict&&"math"===this.mode&&Me.indexOf(t)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);const n=ie[this.mode][t].group,r=Bn.range(e);let i;if(ne.hasOwnProperty(n)){const e=n;i={type:"atom",mode:this.mode,family:e,loc:r,text:t}}else i={type:n,mode:this.mode,loc:r,text:t};s=i}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(k(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)),s={type:"textord",mode:"text",loc:Bn.range(e),text:t}}if(this.consume(),n)for(let i=0;i<n[0].length;i++){const t=n[0][i];if(!Rr[t])throw new r("Unknown accent ' "+t+"'",e);const o=Rr[t][this.mode]||Rr[t].text;if(!o)throw new r("Accent "+t+" unsupported in "+this.mode+" mode",e);s={type:"accent",mode:this.mode,loc:Bn.range(e),label:o,isStretchy:!1,isShifty:!0,base:s}}return s}}jr.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var Hr=function(e,t){if(!("string"===typeof e||e instanceof String))throw new TypeError("KaTeX can only parse string typed expression");const n=new jr(e,t);delete n.gullet.macros.current["\\df@tag"];let s=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new r("\\tag works only in display equations");s=[{type:"tag",mode:"text",body:s,tag:n.subparse([new Tn("\\df@tag")])}]}return s};let Pr=function(e,t,n){t.textContent="";const r=$r(e,n).toNode();t.appendChild(r)};"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."),Pr=function(){throw new r("KaTeX doesn't work in quirks mode.")});const Vr=function(e,t,n){if(n.throwOnError||!(e instanceof r))throw e;const s=je.makeSpan(["katex-error"],[new K(t)]);return s.setAttribute("title",e.toString()),s.setAttribute("style","color:"+n.errorColor),s},$r=function(e,t){const n=new h(t);try{return function(e,t,n){const r=St(n);let s;if("mathml"===n.output)return At(e,t,r,n.displayMode,!0);if("html"===n.output){const t=pt(e,r);s=je.makeSpan(["katex"],[t])}else{const i=At(e,t,r,n.displayMode,!1),o=pt(e,r);s=je.makeSpan(["katex"],[i,o])}return Ct(s,n)}(Hr(e,n),e,n)}catch(r){return Vr(r,e,n)}};var Gr={version:"0.16.22",render:Pr,renderToString:function(e,t){return $r(e,t).toMarkup()},ParseError:r,SETTINGS_SCHEMA:u,__parse:function(e,t){const n=new h(t);return Hr(e,n)},__renderToDomTree:$r,__renderToHTMLTree:function(e,t){const n=new h(t);try{return function(e,t,n){const r=pt(e,St(n)),s=je.makeSpan(["katex"],[r]);return Ct(s,n)}(Hr(e,n),0,n)}catch(r){return Vr(r,e,n)}},__setFontMetrics:function(e,t){M[e]=t},__defineSymbol:oe,__defineFunction:Ye,__defineMacro:Fn,__domTree:{Span:X,Anchor:W,SymbolNode:K,SvgNode:Q,PathNode:J,LineNode:ee}};return t=t.default}()},e.exports=t()},28470:(e,t,n)=>{"use strict";n.d(t,{FR:()=>z});var r=n(70579),s=n(65043);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){a(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function a(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){if(null==e)return{};var n,r,s=function(e,t){if(null==e)return{};var n,r,s={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(s[n]=e[n]);return s}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(s[n]=e[n])}return s}function u(e,t){return h(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,s,i,o,a=[],l=!0,u=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){u=!0,s=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(u)throw s}}return a}}(e,t)||m(e,t)||f()}function c(e){return function(e){if(Array.isArray(e))return d(e)}(e)||p(e)||m(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e){if(Array.isArray(e))return e}function p(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}function m(e,t){if(e){if("string"==typeof e)return d(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?d(e,t):void 0}}function d(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function f(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function g(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=m(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,s=function(){};return{s:s,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:s}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,o=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){a=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(a)throw i}}}}var b="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof n.g?n.g:"undefined"!=typeof self?self:{};function y(e,t){return e(t={exports:{}},t.exports),t.exports}var x=y((function(e){!function(){var t={}.hasOwnProperty;function n(){for(var e=[],r=0;r<arguments.length;r++){var s=arguments[r];if(s){var i=typeof s;if("string"===i||"number"===i)e.push(s);else if(Array.isArray(s)){if(s.length){var o=n.apply(null,s);o&&e.push(o)}}else if("object"===i){if(s.toString!==Object.prototype.toString&&!s.toString.toString().includes("[native code]")){e.push(s.toString());continue}for(var a in s)t.call(s,a)&&s[a]&&e.push(a)}}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n}()})),w={hunkClassName:"",lineClassName:"",gutterClassName:"",codeClassName:"",monotonous:!1,gutterType:"default",viewType:"split",widgets:{},hideGutter:!1,selectedChanges:[],generateAnchorID:function(){},generateLineClassName:function(){},renderGutter:function(e){var t=e.renderDefault;return(0,e.wrapInAnchor)(t())},codeEvents:{},gutterEvents:{}},v=(0,s.createContext)(w),D=v.Provider,k=function(){return(0,s.useContext)(v)},A=y((function(e,t){!function(){function t(e){var t=e.slice(11),n=null,r=null;switch(t.indexOf('"')){case-1:n=(o=t.split(" "))[0].slice(2),r=o[1].slice(2);break;case 0:var s=t.indexOf('"',2);n=t.slice(3,s);var i=t.indexOf('"',s+1);r=i<0?t.slice(s+4):t.slice(i+3,-1);break;default:var o;n=(o=t.split(" "))[0].slice(2),r=o[1].slice(3,-1)}return{oldPath:n,newPath:r}}var n={parse:function(e){for(var n,r,s,i,o,a=[],l=2,u=e.split("\n"),c=u.length,h=0;h<c;){var p=u[h];if(0===p.indexOf("diff --git")){n={hunks:[],oldEndingNewLine:!0,newEndingNewLine:!0,oldPath:(o=t(p)).oldPath,newPath:o.newPath},a.push(n);var m,d=null;e:for(;m=u[++h];){var f=m.indexOf(" "),g=f>-1?m.slice(0,f):g;switch(g){case"diff":h--;break e;case"deleted":case"new":var b=m.slice(f+1);0===b.indexOf("file mode")&&(n["new"===g?"newMode":"oldMode"]=b.slice(10));break;case"similarity":n.similarity=parseInt(m.split(" ")[2],10);break;case"index":var y=m.slice(f+1).split(" "),x=y[0].split("..");n.oldRevision=x[0],n.newRevision=x[1],y[1]&&(n.oldMode=n.newMode=y[1]);break;case"copy":case"rename":var w=m.slice(f+1);0===w.indexOf("from")?n.oldPath=w.slice(5):n.newPath=w.slice(3),d=g;break;case"---":var v=m.slice(f+1),D=u[++h].slice(4);"/dev/null"===v?(D=D.slice(2),d="add"):"/dev/null"===D?(v=v.slice(2),d="delete"):(d="modify",v=v.slice(2),D=D.slice(2)),v&&(n.oldPath=v),D&&(n.newPath=D),l=5;break e}}n.type=d||"modify"}else if(0===p.indexOf("Binary"))n.isBinary=!0,n.type=p.indexOf("/dev/null and")>=0?"add":p.indexOf("and /dev/null")>=0?"delete":"modify",l=2,n=null;else if(5===l)if(0===p.indexOf("@@")){var k=/^@@\s+-([0-9]+)(,([0-9]+))?\s+\+([0-9]+)(,([0-9]+))?/.exec(p);r={content:p,oldStart:k[1]-0,newStart:k[4]-0,oldLines:k[3]-0||1,newLines:k[6]-0||1,changes:[]},n.hunks.push(r),s=r.oldStart,i=r.newStart}else{var A=p.slice(0,1),S={content:p.slice(1)};switch(A){case"+":S.type="insert",S.isInsert=!0,S.lineNumber=i,i++;break;case"-":S.type="delete",S.isDelete=!0,S.lineNumber=s,s++;break;case" ":S.type="normal",S.isNormal=!0,S.oldLineNumber=s,S.newLineNumber=i,s++,i++;break;case"\\":var C=r.changes[r.changes.length-1];C.isDelete||(n.newEndingNewLine=!1),C.isInsert||(n.oldEndingNewLine=!1)}S.type&&r.changes.push(S)}h++}return a}};e.exports=n}()}));function S(e){return"insert"===e.type}function C(e){return"delete"===e.type}function M(e){return"normal"===e.type}function z(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=function(e){if(e.startsWith("diff --git"))return e;var t=e.indexOf("\n"),n=e.indexOf("\n",t+1),r=e.slice(0,t),s=e.slice(t+1,n),i=r.split(" ").slice(1,-3).join(" "),o=s.split(" ").slice(1,-3).join(" ");return["diff --git a/".concat(i," b/").concat(o),"index 1111111..2222222 100644","--- a/".concat(i),"+++ b/".concat(o),e.slice(n+1)].join("\n")}(e.trimStart());return A.parse(n).map((function(e){return function(e,t){var n=e.hunks.map((function(e){return function(e,t){var n="zip"===t.nearbySequences?function(e){var t=e.reduce((function(e,t,n){var r=u(e,3),s=r[0],i=r[1],o=r[2];return i?S(t)&&o>=0?(s.splice(o+1,0,t),[s,t,o+2]):(s.push(t),[s,t,C(t)&&C(i)?o:n]):(s.push(t),[s,t,C(t)?n:-1])}),[[],null,-1]);return u(t,1)[0]}(e.changes):e.changes;return o(o({},e),{},{isPlain:!1,changes:n})}(e,t)}));return o(o({},e),{},{hunks:n})}(e,t)}))}function E(e){return e[0]}function F(e){return e[e.length-1]}function B(e){return["".concat(e,"Start"),"".concat(e,"Lines")]}function T(e){return"old"===e?function(e){return S(e)?-1:M(e)?e.oldLineNumber:e.lineNumber}:function(e){return C(e)?-1:M(e)?e.newLineNumber:e.lineNumber}}function _(e,t){return function(n,r){var s=n[e],i=s+n[t];return r>=s&&r<i}}function N(e,t){return function(n,r,s){var i=n[e]+n[t],o=r[e];return s>=i&&s<o}}function O(e){var t=T(e),n=function(e){var t=u(B(e),2),n=_(t[0],t[1]);return function(e,t){return e.find((function(e){return n(e,t)}))}}(e);return function(e,r){var s=n(e,r);if(s)return s.changes.find((function(e){return t(e)===r}))}}function I(e){var t="old"===e?"new":"old",n=u(B(e),2),r=n[0],s=n[1],i=u(B(t),2),o=i[0],a=i[1],l=T(e),c=T(t),h=_(r,s),p=N(r,s);return function(e,t){var n=E(e);if(t<n[r]){var i=n[r]-t;return n[o]-i}var u=F(e);if(u[r]+u[s]<=t){var m=t-u[r]-u[s];return u[o]+u[a]+m}for(var d=0;d<e.length;d++){var f=e[d],g=e[d+1];if(h(f,t)){var b=f.changes.findIndex((function(e){return l(e)===t})),y=f.changes[b];if(M(y))return c(y);var x=C(y)?b+1:b-1,w=f.changes[x];if(!w)return-1;var v=S(y)?"delete":"insert";return w.type===v?c(w):-1}if(p(f,g,t)){var D=t-f[r]-f[s];return f[o]+f[a]+D}}throw new Error("Unexpected line position ".concat(t))}}var q=function(e,t){return e===t||e!=e&&t!=t},R=function(e,t){for(var n=e.length;n--;)if(q(e[n][0],t))return n;return-1},L=Array.prototype.splice;function j(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}j.prototype.clear=function(){this.__data__=[],this.size=0},j.prototype.delete=function(e){var t=this.__data__,n=R(t,e);return!(n<0)&&(n==t.length-1?t.pop():L.call(t,n,1),--this.size,!0)},j.prototype.get=function(e){var t=this.__data__,n=R(t,e);return n<0?void 0:t[n][1]},j.prototype.has=function(e){return R(this.__data__,e)>-1},j.prototype.set=function(e,t){var n=this.__data__,r=R(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};var H=j,P="object"==typeof b&&b&&b.Object===Object&&b,V="object"==typeof self&&self&&self.Object===Object&&self,$=P||V||Function("return this")(),G=$.Symbol,U=Object.prototype,X=U.hasOwnProperty,W=U.toString,Y=G?G.toStringTag:void 0,Z=Object.prototype.toString,K=G?G.toStringTag:void 0,Q=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":K&&K in Object(e)?function(e){var t=X.call(e,Y),n=e[Y];try{e[Y]=void 0;var r=!0}catch(i){}var s=W.call(e);return r&&(t?e[Y]=n:delete e[Y]),s}(e):function(e){return Z.call(e)}(e)},J=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)},ee=function(e){if(!J(e))return!1;var t=Q(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t},te=$["__core-js_shared__"],ne=function(){var e=/[^.]+$/.exec(te&&te.keys&&te.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),re=Function.prototype.toString,se=function(e){if(null!=e){try{return re.call(e)}catch(t){}try{return e+""}catch(t){}}return""},ie=/^\[object .+?Constructor\]$/,oe=Function.prototype,ae=Object.prototype,le=oe.toString,ue=ae.hasOwnProperty,ce=RegExp("^"+le.call(ue).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),he=function(e){return!(!J(e)||(t=e,ne&&ne in t))&&(ee(e)?ce:ie).test(se(e));var t},pe=function(e,t){var n=function(e,t){return null==e?void 0:e[t]}(e,t);return he(n)?n:void 0},me=pe($,"Map"),de=pe(Object,"create"),fe=Object.prototype.hasOwnProperty,ge=Object.prototype.hasOwnProperty;function be(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}be.prototype.clear=function(){this.__data__=de?de(null):{},this.size=0},be.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},be.prototype.get=function(e){var t=this.__data__;if(de){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return fe.call(t,e)?t[e]:void 0},be.prototype.has=function(e){var t=this.__data__;return de?void 0!==t[e]:ge.call(t,e)},be.prototype.set=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=de&&void 0===t?"__lodash_hash_undefined__":t,this};var ye=be,xe=function(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map};function we(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}we.prototype.clear=function(){this.size=0,this.__data__={hash:new ye,map:new(me||H),string:new ye}},we.prototype.delete=function(e){var t=xe(this,e).delete(e);return this.size-=t?1:0,t},we.prototype.get=function(e){return xe(this,e).get(e)},we.prototype.has=function(e){return xe(this,e).has(e)},we.prototype.set=function(e,t){var n=xe(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};var ve=we;function De(e){var t=this.__data__=new H(e);this.size=t.size}De.prototype.clear=function(){this.__data__=new H,this.size=0},De.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},De.prototype.get=function(e){return this.__data__.get(e)},De.prototype.has=function(e){return this.__data__.has(e)},De.prototype.set=function(e,t){var n=this.__data__;if(n instanceof H){var r=n.__data__;if(!me||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new ve(r)}return n.set(e,t),this.size=n.size,this};var ke=De;function Ae(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new ve;++t<n;)this.add(e[t])}Ae.prototype.add=Ae.prototype.push=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Ae.prototype.has=function(e){return this.__data__.has(e)};var Se=Ae,Ce=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1},Me=function(e,t,n,r,s,i){var o=1&n,a=e.length,l=t.length;if(a!=l&&!(o&&l>a))return!1;var u=i.get(e),c=i.get(t);if(u&&c)return u==t&&c==e;var h=-1,p=!0,m=2&n?new Se:void 0;for(i.set(e,t),i.set(t,e);++h<a;){var d=e[h],f=t[h];if(r)var g=o?r(f,d,h,t,e,i):r(d,f,h,e,t,i);if(void 0!==g){if(g)continue;p=!1;break}if(m){if(!Ce(t,(function(e,t){if(o=t,!m.has(o)&&(d===e||s(d,e,n,r,i)))return m.push(t);var o}))){p=!1;break}}else if(d!==f&&!s(d,f,n,r,i)){p=!1;break}}return i.delete(e),i.delete(t),p},ze=$.Uint8Array,Ee=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n},Fe=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},Be=G?G.prototype:void 0,Te=Be?Be.valueOf:void 0,_e=function(e,t){for(var n=-1,r=t.length,s=e.length;++n<r;)e[s+n]=t[n];return e},Ne=Array.isArray,Oe=Object.prototype.propertyIsEnumerable,Ie=Object.getOwnPropertySymbols,qe=Ie?function(e){return null==e?[]:(e=Object(e),function(e,t){for(var n=-1,r=null==e?0:e.length,s=0,i=[];++n<r;){var o=e[n];t(o,n,e)&&(i[s++]=o)}return i}(Ie(e),(function(t){return Oe.call(e,t)})))}:function(){return[]},Re=function(e){return null!=e&&"object"==typeof e},Le=function(e){return Re(e)&&"[object Arguments]"==Q(e)},je=Object.prototype,He=je.hasOwnProperty,Pe=je.propertyIsEnumerable,Ve=Le(function(){return arguments}())?Le:function(e){return Re(e)&&He.call(e,"callee")&&!Pe.call(e,"callee")},$e=function(){return!1},Ge=y((function(e,t){var n=t&&!t.nodeType&&t,r=n&&e&&!e.nodeType&&e,s=r&&r.exports===n?$.Buffer:void 0,i=(s?s.isBuffer:void 0)||$e;e.exports=i})),Ue=/^(?:0|[1-9]\d*)$/,Xe=function(e,t){var n=typeof e;return!!(t=null==t?9007199254740991:t)&&("number"==n||"symbol"!=n&&Ue.test(e))&&e>-1&&e%1==0&&e<t},We=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},Ye={};Ye["[object Float32Array]"]=Ye["[object Float64Array]"]=Ye["[object Int8Array]"]=Ye["[object Int16Array]"]=Ye["[object Int32Array]"]=Ye["[object Uint8Array]"]=Ye["[object Uint8ClampedArray]"]=Ye["[object Uint16Array]"]=Ye["[object Uint32Array]"]=!0,Ye["[object Arguments]"]=Ye["[object Array]"]=Ye["[object ArrayBuffer]"]=Ye["[object Boolean]"]=Ye["[object DataView]"]=Ye["[object Date]"]=Ye["[object Error]"]=Ye["[object Function]"]=Ye["[object Map]"]=Ye["[object Number]"]=Ye["[object Object]"]=Ye["[object RegExp]"]=Ye["[object Set]"]=Ye["[object String]"]=Ye["[object WeakMap]"]=!1;var Ze,Ke=y((function(e,t){var n=t&&!t.nodeType&&t,r=n&&e&&!e.nodeType&&e,s=r&&r.exports===n&&P.process,i=function(){try{return r&&r.require&&r.require("util").types||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=i})),Qe=Ke&&Ke.isTypedArray,Je=Qe?(Ze=Qe,function(e){return Ze(e)}):function(e){return Re(e)&&We(e.length)&&!!Ye[Q(e)]},et=Object.prototype.hasOwnProperty,tt=function(e,t){var n=Ne(e),r=!n&&Ve(e),s=!n&&!r&&Ge(e),i=!n&&!r&&!s&&Je(e),o=n||r||s||i,a=o?function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}(e.length,String):[],l=a.length;for(var u in e)!t&&!et.call(e,u)||o&&("length"==u||s&&("offset"==u||"parent"==u)||i&&("buffer"==u||"byteLength"==u||"byteOffset"==u)||Xe(u,l))||a.push(u);return a},nt=Object.prototype,rt=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||nt)},st=function(e,t){return function(n){return e(t(n))}}(Object.keys,Object),it=Object.prototype.hasOwnProperty,ot=function(e){if(!rt(e))return st(e);var t=[];for(var n in Object(e))it.call(e,n)&&"constructor"!=n&&t.push(n);return t},at=function(e){return null!=e&&We(e.length)&&!ee(e)},lt=function(e){return at(e)?tt(e):ot(e)},ut=function(e){return function(e,t,n){var r=t(e);return Ne(e)?r:_e(r,n(e))}(e,lt,qe)},ct=Object.prototype.hasOwnProperty,ht=pe($,"DataView"),pt=pe($,"Promise"),mt=pe($,"Set"),dt=pe($,"WeakMap"),ft=se(ht),gt=se(me),bt=se(pt),yt=se(mt),xt=se(dt),wt=Q;(ht&&"[object DataView]"!=wt(new ht(new ArrayBuffer(1)))||me&&"[object Map]"!=wt(new me)||pt&&"[object Promise]"!=wt(pt.resolve())||mt&&"[object Set]"!=wt(new mt)||dt&&"[object WeakMap]"!=wt(new dt))&&(wt=function(e){var t=Q(e),n="[object Object]"==t?e.constructor:void 0,r=n?se(n):"";if(r)switch(r){case ft:return"[object DataView]";case gt:return"[object Map]";case bt:return"[object Promise]";case yt:return"[object Set]";case xt:return"[object WeakMap]"}return t});var vt=wt,Dt="[object Object]",kt=Object.prototype.hasOwnProperty,At=function(e,t,n,r,s,i){var o=Ne(e),a=Ne(t),l=o?"[object Array]":vt(e),u=a?"[object Array]":vt(t),c=(l="[object Arguments]"==l?Dt:l)==Dt,h=(u="[object Arguments]"==u?Dt:u)==Dt,p=l==u;if(p&&Ge(e)){if(!Ge(t))return!1;o=!0,c=!1}if(p&&!c)return i||(i=new ke),o||Je(e)?Me(e,t,n,r,s,i):function(e,t,n,r,s,i,o){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!i(new ze(e),new ze(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return q(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var a=Ee;case"[object Set]":var l=1&r;if(a||(a=Fe),e.size!=t.size&&!l)return!1;var u=o.get(e);if(u)return u==t;r|=2,o.set(e,t);var c=Me(a(e),a(t),r,s,i,o);return o.delete(e),c;case"[object Symbol]":if(Te)return Te.call(e)==Te.call(t)}return!1}(e,t,l,n,r,s,i);if(!(1&n)){var m=c&&kt.call(e,"__wrapped__"),d=h&&kt.call(t,"__wrapped__");if(m||d){var f=m?e.value():e,g=d?t.value():t;return i||(i=new ke),s(f,g,n,r,i)}}return!!p&&(i||(i=new ke),function(e,t,n,r,s,i){var o=1&n,a=ut(e),l=a.length;if(l!=ut(t).length&&!o)return!1;for(var u=l;u--;){var c=a[u];if(!(o?c in t:ct.call(t,c)))return!1}var h=i.get(e),p=i.get(t);if(h&&p)return h==t&&p==e;var m=!0;i.set(e,t),i.set(t,e);for(var d=o;++u<l;){var f=e[c=a[u]],g=t[c];if(r)var b=o?r(g,f,c,t,e,i):r(f,g,c,e,t,i);if(!(void 0===b?f===g||s(f,g,n,r,i):b)){m=!1;break}d||(d="constructor"==c)}if(m&&!d){var y=e.constructor,x=t.constructor;y==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof y&&y instanceof y&&"function"==typeof x&&x instanceof x||(m=!1)}return i.delete(e),i.delete(t),m}(e,t,n,r,s,i))},St=function e(t,n,r,s,i){return t===n||(null==t||null==n||!Re(t)&&!Re(n)?t!=t&&n!=n:At(t,n,r,s,e,i))},Ct=function(e){return e==e&&!J(e)},Mt=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}},zt=function(e){var t=function(e){for(var t=lt(e),n=t.length;n--;){var r=t[n],s=e[r];t[n]=[r,s,Ct(s)]}return t}(e);return 1==t.length&&t[0][2]?Mt(t[0][0],t[0][1]):function(n){return n===e||function(e,t,n,r){var s=n.length,i=s,o=!r;if(null==e)return!i;for(e=Object(e);s--;){var a=n[s];if(o&&a[2]?a[1]!==e[a[0]]:!(a[0]in e))return!1}for(;++s<i;){var l=(a=n[s])[0],u=e[l],c=a[1];if(o&&a[2]){if(void 0===u&&!(l in e))return!1}else{var h=new ke;if(r)var p=r(u,c,l,e,t,h);if(!(void 0===p?St(c,u,3,r,h):p))return!1}}return!0}(n,e,t)}},Et=function(e){return"symbol"==typeof e||Re(e)&&"[object Symbol]"==Q(e)},Ft=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Bt=/^\w*$/,Tt=function(e,t){if(Ne(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Et(e))||Bt.test(e)||!Ft.test(e)||null!=t&&e in Object(t)};function _t(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,s=t?t.apply(this,r):r[0],i=n.cache;if(i.has(s))return i.get(s);var o=e.apply(this,r);return n.cache=i.set(s,o)||i,o};return n.cache=new(_t.Cache||ve),n}_t.Cache=ve;var Nt=_t,Ot=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,It=/\\(\\)?/g,qt=function(){var e=Nt((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Ot,(function(e,n,r,s){t.push(r?s.replace(It,"$1"):n||e)})),t}),(function(e){return 500===t.size&&t.clear(),e})),t=e.cache;return e}(),Rt=function(e,t){for(var n=-1,r=null==e?0:e.length,s=Array(r);++n<r;)s[n]=t(e[n],n,e);return s},Lt=G?G.prototype:void 0,jt=Lt?Lt.toString:void 0,Ht=function e(t){if("string"==typeof t)return t;if(Ne(t))return Rt(t,e)+"";if(Et(t))return jt?jt.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n},Pt=function(e){return null==e?"":Ht(e)},Vt=function(e,t){return Ne(e)?e:Tt(e,t)?[e]:qt(Pt(e))},$t=function(e){if("string"==typeof e||Et(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t},Gt=function(e,t){for(var n=0,r=(t=Vt(t,e)).length;null!=e&&n<r;)e=e[$t(t[n++])];return n&&n==r?e:void 0},Ut=function(e,t){return null!=e&&t in Object(e)},Xt=function(e,t){return null!=e&&function(e,t,n){for(var r=-1,s=(t=Vt(t,e)).length,i=!1;++r<s;){var o=$t(t[r]);if(!(i=null!=e&&n(e,o)))break;e=e[o]}return i||++r!=s?i:!!(s=null==e?0:e.length)&&We(s)&&Xe(o,s)&&(Ne(e)||Ve(e))}(e,t,Ut)},Wt=function(e,t){return Tt(e)&&Ct(t)?Mt($t(e),t):function(n){var r=function(e,t,n){var r=null==e?void 0:Gt(e,t);return void 0===r?n:r}(n,e);return void 0===r&&r===t?Xt(n,e):St(t,r,3)}},Yt=function(e){return e},Zt=function(e){return Tt(e)?(t=$t(e),function(e){return null==e?void 0:e[t]}):function(e){return function(t){return Gt(t,e)}}(e);var t},Kt=function(e){return"function"==typeof e?e:null==e?Yt:"object"==typeof e?Ne(e)?Wt(e[0],e[1]):zt(e):Zt(e)};Math.max,Math.min,T("old"),T("new");function Qt(e){if(!e)throw new Error("change is not provided");if(M(e))return"N".concat(e.oldLineNumber);var t=S(e)?"I":"D";return"".concat(t).concat(e.lineNumber)}I("old"),T("old"),_("oldStart","oldLines"),N("oldStart","oldLines");var Jt,en=T("old"),tn=T("new"),nn=(O("old"),O("new"),I("new"),I("old"),function(){try{var e=pe(Object,"defineProperty");return e({},"",{}),e}catch(t){}}()),rn=function(e,t,n){"__proto__"==t&&nn?nn(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},sn=function(e,t,n){for(var r=-1,s=Object(e),i=n(e),o=i.length;o--;){var a=i[Jt?o:++r];if(!1===t(s[a],a,s))break}return e},on=function(e,t){return e&&sn(e,t,lt)},an=function(e,t){var n={};return t=Kt(t),on(e,(function(e,r,s){rn(n,r,t(e,r,s))})),n},ln=["changeKey","text","tokens","renderToken"],un=function e(t,n){var s=t.type,i=t.value,o=t.markType,a=t.properties,l=t.className,u=t.children,c=function(t){return(0,r.jsx)("span",{className:t,children:i||u&&u.map(e)},n)};switch(s){case"text":return i;case"mark":return c("diff-code-mark diff-code-mark-".concat(o));case"edit":return c("diff-code-edit");default:var h=a&&a.className;return c(x(l||h))}};function cn(e){if(!Array.isArray(e))return!0;if(e.length>1)return!1;if(1===e.length){var t=u(e,1)[0];return"text"===t.type&&!t.value}return!0}var hn=(0,s.memo)((function(e){var t=e.changeKey,n=e.text,s=e.tokens,i=e.renderToken,a=l(e,ln),u=i?function(e,t){return i(e,un,t)}:un;return(0,r.jsx)("td",o(o({},a),{},{"data-change-key":t,children:s?cn(s)?" ":s.map(u):n||" "}))}));function pn(e,t){return function(){var n="old"===t?en(e):tn(e);return-1===n?void 0:n}}function mn(e,t){return function(n){return e&&n?(0,r.jsx)("a",{href:t?"#"+t:void 0,children:n}):n}}function dn(e,t){return t?function(n){e(),t(n)}:e}function fn(e,t,n,r){return(0,s.useMemo)((function(){var s=an(e,(function(e){return function(n){return e&&e(t,n)}}));return s.onMouseEnter=dn(n,s.onMouseEnter),s.onMouseLeave=dn(r,s.onMouseLeave),s}),[e,n,r,t])}function gn(e,t,n,s,i,a,l,u,c){var h={change:t,side:s,inHoverState:u,renderDefault:pn(t,s),wrapInAnchor:mn(i,a)};return(0,r.jsx)("td",o(o({className:e},l),{},{"data-change-key":n,children:c(h)}))}var bn=(0,s.memo)((function(e){var t,n,i,a=e.change,l=e.selected,c=e.tokens,h=e.className,p=e.generateLineClassName,m=e.gutterClassName,d=e.codeClassName,f=e.gutterEvents,g=e.codeEvents,b=e.hideGutter,y=e.gutterAnchor,w=e.generateAnchorID,v=e.renderToken,D=e.renderGutter,k=a.type,A=a.content,S=Qt(a),C=(n=(t=u((0,s.useState)(!1),2))[0],i=t[1],[n,(0,s.useCallback)((function(){return i(!0)}),[]),(0,s.useCallback)((function(){return i(!1)}),[])]),M=u(C,3),z=M[0],E=M[1],F=M[2],B=(0,s.useMemo)((function(){return{change:a}}),[a]),T=fn(f,B,E,F),_=fn(g,B,E,F),N=w(a),O=p({changes:[a],defaultGenerate:function(){return h}}),I=x("diff-gutter","diff-gutter-".concat(k),m,{"diff-gutter-selected":l}),q=x("diff-code","diff-code-".concat(k),d,{"diff-code-selected":l});return(0,r.jsxs)("tr",{id:N,className:x("diff-line",O),children:[!b&&gn(I,a,S,"old",y,N,T,z,D),!b&&gn(I,a,S,"new",y,N,T,z,D),(0,r.jsx)(hn,o({className:q,changeKey:S,text:A,tokens:c,renderToken:v},_))]})}));function yn(e){var t=e.hideGutter,n=e.element;return(0,r.jsx)("tr",{className:"diff-widget",children:(0,r.jsx)("td",{colSpan:t?1:3,className:"diff-widget-content",children:n})})}var xn=["hideGutter","selectedChanges","tokens","lineClassName"],wn=["hunk","widgets","className"];function vn(e){var t=e.hunk,n=e.widgets,s=e.className,i=l(e,wn),a=function(e,t){return e.reduce((function(e,n){var r=Qt(n);e.push(["change",r,n]);var s=t[r];return s&&e.push(["widget",r,s]),e}),[])}(t.changes,n);return(0,r.jsx)("tbody",{className:x("diff-hunk",s),children:a.map((function(e){return function(e,t){var n=u(e,3),s=n[0],i=n[1],a=n[2],c=t.hideGutter,h=t.selectedChanges,p=t.tokens,m=t.lineClassName,d=l(t,xn);if("change"===s){var f=C(a)?"old":"new",g=C(a)?en(a):tn(a),b=p?p[f][g-1]:null;return(0,r.jsx)(bn,o({className:m,change:a,hideGutter:c,selected:h.includes(i),tokens:b},d),"change".concat(i))}return"widget"===s?(0,r.jsx)(yn,{hideGutter:c,element:a},"widget".concat(i)):null}(e,i)}))})}function Dn(e,t,n,r){var i=(0,s.useCallback)((function(){return t(e)}),[e,t]),o=(0,s.useCallback)((function(){return t("")}),[t]);return(0,s.useMemo)((function(){var t=an(r,(function(t){return function(r){return t&&t({side:e,change:n},r)}}));return t.onMouseEnter=dn(i,t.onMouseEnter),t.onMouseLeave=dn(o,t.onMouseLeave),t}),[n,r,i,e,o])}function kn(e){var t=e.change,n=e.side,s=e.selected,i=e.tokens,l=e.gutterClassName,u=e.codeClassName,c=e.gutterEvents,h=e.codeEvents,p=e.anchorID,m=e.gutterAnchor,d=e.gutterAnchorTarget,f=e.hideGutter,g=e.hover,b=e.renderToken,y=e.renderGutter;if(!t){var w=x("diff-gutter","diff-gutter-omit",l),v=x("diff-code","diff-code-omit",u);return[!f&&(0,r.jsx)("td",{className:w},"gutter"),(0,r.jsx)("td",{className:v},"code")]}var D=t.type,k=t.content,A=Qt(t),S=0===n?"old":"new",C=o({id:p||void 0,className:x("diff-gutter","diff-gutter-".concat(D),a({"diff-gutter-selected":s},"diff-line-hover-"+S,g),l),children:y({change:t,side:S,inHoverState:g,renderDefault:pn(t,S),wrapInAnchor:mn(m,d)})},c),M=x("diff-code","diff-code-".concat(D),a({"diff-code-selected":s},"diff-line-hover-"+S,g),u);return[!f&&(0,r.jsx)("td",o(o({},C),{},{"data-change-key":A}),"gutter"),(0,r.jsx)(hn,o({className:M,changeKey:A,text:k,tokens:i,renderToken:b},h),"code")]}var An=(0,s.memo)((function(e){var t=e.className,n=e.oldChange,i=e.newChange,a=e.oldSelected,l=e.newSelected,c=e.oldTokens,h=e.newTokens,p=e.monotonous,m=e.gutterClassName,d=e.codeClassName,f=e.gutterEvents,g=e.codeEvents,b=e.hideGutter,y=e.generateAnchorID,w=e.generateLineClassName,v=e.gutterAnchor,D=e.renderToken,k=e.renderGutter,A=u((0,s.useState)(""),2),S=A[0],C=A[1],M=Dn("old",C,n,f),z=Dn("new",C,i,f),E=Dn("old",C,n,g),F=Dn("new",C,i,g),B=n&&y(n),T=i&&y(i),_=w({changes:[n,i],defaultGenerate:function(){return t}}),N={monotonous:p,hideGutter:b,gutterClassName:m,codeClassName:d,gutterEvents:f,codeEvents:g,renderToken:D,renderGutter:k},O=o(o({},N),{},{change:n,side:0,selected:a,tokens:c,gutterEvents:M,codeEvents:E,anchorID:B,gutterAnchor:v,gutterAnchorTarget:B,hover:"old"===S}),I=o(o({},N),{},{change:i,side:1,selected:l,tokens:h,gutterEvents:z,codeEvents:F,anchorID:n===i?null:T,gutterAnchor:v,gutterAnchorTarget:n===i?B:T,hover:"new"===S});if(p)return(0,r.jsx)("tr",{className:x("diff-line",_),children:kn(n?O:I)});var q=function(e,t){return e&&!t?"diff-line-old-only":!e&&t?"diff-line-new-only":e===t?"diff-line-normal":"diff-line-compare"}(n,i);return(0,r.jsxs)("tr",{className:x("diff-line",q,_),children:[kn(O),kn(I)]})}));function Sn(e){var t=e.hideGutter,n=e.oldElement,s=e.newElement;return e.monotonous?(0,r.jsx)("tr",{className:"diff-widget",children:(0,r.jsx)("td",{colSpan:t?1:2,className:"diff-widget-content",children:n||s})}):n===s?(0,r.jsx)("tr",{className:"diff-widget",children:(0,r.jsx)("td",{colSpan:t?2:4,className:"diff-widget-content",children:n})}):(0,r.jsxs)("tr",{className:"diff-widget",children:[(0,r.jsx)("td",{colSpan:t?1:2,className:"diff-widget-content",children:n}),(0,r.jsx)("td",{colSpan:t?1:2,className:"diff-widget-content",children:s})]})}var Cn=["selectedChanges","monotonous","hideGutter","tokens","lineClassName"],Mn=["hunk","widgets","className"];function zn(e,t){return(e?Qt(e):"00")+(t?Qt(t):"00")}function En(e){var t=e.hunk,n=e.widgets,s=e.className,i=l(e,Mn),a=function(e,t){for(var n=function(e){if(!e)return null;var n=Qt(e);return t[n]||null},r=[],s=0;s<e.length;s++){var i=e[s];if(M(i))r.push(["change",zn(i,i),i,i]);else if(C(i)){var o=e[s+1];o&&S(o)?(s+=1,r.push(["change",zn(i,o),i,o])):r.push(["change",zn(i,null),i,null])}else r.push(["change",zn(null,i),null,i]);var a=r[r.length-1],l=n(a[2]),u=n(a[3]);if(l||u){var c=a[1];r.push(["widget",c,l,u])}}return r}(t.changes,n);return(0,r.jsx)("tbody",{className:x("diff-hunk",s),children:a.map((function(e){return function(e,t){var n=u(e,4),s=n[0],i=n[1],a=n[2],c=n[3],h=t.selectedChanges,p=t.monotonous,m=t.hideGutter,d=t.tokens,f=t.lineClassName,g=l(t,Cn);if("change"===s){var b=!!a&&h.includes(Qt(a)),y=!!c&&h.includes(Qt(c)),x=a&&d?d.old[en(a)-1]:null,w=c&&d?d.new[tn(c)-1]:null;return(0,r.jsx)(An,o({className:f,oldChange:a,newChange:c,monotonous:p,hideGutter:m,oldSelected:b,newSelected:y,oldTokens:x,newTokens:w},g),"change".concat(i))}return"widget"===s?(0,r.jsx)(Sn,{monotonous:p,hideGutter:m,oldElement:a,newElement:c},"widget".concat(i)):null}(e,i)}))})}var Fn=["gutterType","hunkClassName"];function Bn(e){var t=e.hunk,n=k(),s=n.gutterType,i=n.hunkClassName,a=l(n,Fn),u="none"===s,c="anchor"===s,h="unified"===a.viewType?vn:En;return(0,r.jsx)(h,o(o({},a),{},{hunk:t,hideGutter:u,gutterAnchor:c,className:i}))}function Tn(){}function _n(e,t){var n=t?"auto":"none";e instanceof HTMLElement&&e.style.userSelect!==n&&(e.style.userSelect=n)}function Nn(e){return e.map((function(e){return(0,r.jsx)(Bn,{hunk:e},function(e){return"-".concat(e.oldStart,",").concat(e.oldLines," +").concat(e.newStart,",").concat(e.newLines)}(e))}))}(0,s.memo)((function(e){var t=e.diffType,n=e.hunks,i=e.optimizeSelection,o=e.className,a=e.hunkClassName,l=void 0===a?w.hunkClassName:a,u=e.lineClassName,h=void 0===u?w.lineClassName:u,p=e.generateLineClassName,m=void 0===p?w.generateLineClassName:p,d=e.gutterClassName,f=void 0===d?w.gutterClassName:d,b=e.codeClassName,y=void 0===b?w.codeClassName:b,v=e.gutterType,k=void 0===v?w.gutterType:v,A=e.viewType,S=void 0===A?w.viewType:A,C=e.gutterEvents,M=void 0===C?w.gutterEvents:C,z=e.codeEvents,E=void 0===z?w.codeEvents:z,F=e.generateAnchorID,B=void 0===F?w.generateAnchorID:F,T=e.selectedChanges,_=void 0===T?w.selectedChanges:T,N=e.widgets,O=void 0===N?w.widgets:N,I=e.renderGutter,q=void 0===I?w.renderGutter:I,R=e.tokens,L=e.renderToken,j=e.children,H=void 0===j?Nn:j,P=(0,s.useRef)(null),V=(0,s.useCallback)((function(e){var t=e.target;if(0===e.button){var n=function(e){for(var t=e;t&&t!==document.documentElement&&!t.classList.contains("diff-code");)t=t.parentElement;return t===document.documentElement?null:t}(t);if(n&&n.parentElement){var r=window.getSelection();r&&r.removeAllRanges();var s=c(n.parentElement.children).indexOf(n);if(1===s||3===s){var i,o=g(P.current?P.current.querySelectorAll(".diff-line"):[]);try{for(o.s();!(i=o.n()).done;){var a=i.value.children;_n(a[1],1===s),_n(a[3],3===s)}}catch(l){o.e(l)}finally{o.f()}}}}}),[]),$="none"===k,G="add"===t||"delete"===t,U="split"===S&&!G&&i?V:Tn,X=(0,s.useMemo)((function(){return(0,r.jsxs)("colgroup","unified"===S?{children:[!$&&(0,r.jsx)("col",{className:"diff-gutter-col"}),!$&&(0,r.jsx)("col",{className:"diff-gutter-col"}),(0,r.jsx)("col",{})]}:G?{children:[!$&&(0,r.jsx)("col",{className:"diff-gutter-col"}),(0,r.jsx)("col",{})]}:{children:[!$&&(0,r.jsx)("col",{className:"diff-gutter-col"}),(0,r.jsx)("col",{}),!$&&(0,r.jsx)("col",{className:"diff-gutter-col"}),(0,r.jsx)("col",{})]})}),[S,G,$]),W=(0,s.useMemo)((function(){return{hunkClassName:l,lineClassName:h,generateLineClassName:m,gutterClassName:f,codeClassName:y,monotonous:G,hideGutter:$,viewType:S,gutterType:k,codeEvents:E,gutterEvents:M,generateAnchorID:B,selectedChanges:_,widgets:O,renderGutter:q,tokens:R,renderToken:L}}),[y,E,B,f,M,k,$,l,h,m,G,q,L,_,R,S,O]);return(0,r.jsx)(D,{value:W,children:(0,r.jsxs)("table",{ref:P,className:x("diff","diff-".concat(S),o),onMouseDown:U,children:[X,H(n)]})})}));var On=function(e,t,n,r){for(var s=-1,i=null==e?0:e.length;++s<i;){var o=e[s];t(r,o,n(o),e)}return r},In=function(e,t){return function(n,r){if(null==n)return n;if(!at(n))return e(n,r);for(var s=n.length,i=t?s:-1,o=Object(n);(t?i--:++i<s)&&!1!==r(o[i],i,o););return n}}(on),qn=function(e,t,n,r){return In(e,(function(e,s,i){t(r,e,n(e),i)})),r},Rn=function(e,t){return function(n,r){var s=Ne(n)?On:qn,i=t?t():{};return s(n,e,Kt(r),i)}};Rn((function(e,t,n){rn(e,n,t)})),G&&G.isConcatSpreadable;var Ln=Object.prototype.hasOwnProperty;Rn((function(e,t,n){Ln.call(e,n)?e[n].push(t):rn(e,n,[t])})),Object.prototype.hasOwnProperty;Math.max;var jn=y((function(e){var t=function(){this.Diff_Timeout=1,this.Diff_EditCost=4,this.Match_Threshold=.5,this.Match_Distance=1e3,this.Patch_DeleteThreshold=.5,this.Patch_Margin=4,this.Match_MaxBits=32};t.Diff=function(e,t){return[e,t]},t.prototype.diff_main=function(e,n,r,s){void 0===s&&(s=this.Diff_Timeout<=0?Number.MAX_VALUE:(new Date).getTime()+1e3*this.Diff_Timeout);var i=s;if(null==e||null==n)throw new Error("Null input. (diff_main)");if(e==n)return e?[new t.Diff(0,e)]:[];void 0===r&&(r=!0);var o=r,a=this.diff_commonPrefix(e,n),l=e.substring(0,a);e=e.substring(a),n=n.substring(a),a=this.diff_commonSuffix(e,n);var u=e.substring(e.length-a);e=e.substring(0,e.length-a),n=n.substring(0,n.length-a);var c=this.diff_compute_(e,n,o,i);return l&&c.unshift(new t.Diff(0,l)),u&&c.push(new t.Diff(0,u)),this.diff_cleanupMerge(c),c},t.prototype.diff_compute_=function(e,n,r,s){var i;if(!e)return[new t.Diff(1,n)];if(!n)return[new t.Diff(-1,e)];var o=e.length>n.length?e:n,a=e.length>n.length?n:e,l=o.indexOf(a);if(-1!=l)return i=[new t.Diff(1,o.substring(0,l)),new t.Diff(0,a),new t.Diff(1,o.substring(l+a.length))],e.length>n.length&&(i[0][0]=i[2][0]=-1),i;if(1==a.length)return[new t.Diff(-1,e),new t.Diff(1,n)];var u=this.diff_halfMatch_(e,n);if(u){var c=u[0],h=u[1],p=u[2],m=u[3],d=u[4],f=this.diff_main(c,p,r,s),g=this.diff_main(h,m,r,s);return f.concat([new t.Diff(0,d)],g)}return r&&e.length>100&&n.length>100?this.diff_lineMode_(e,n,s):this.diff_bisect_(e,n,s)},t.prototype.diff_lineMode_=function(e,n,r){var s=this.diff_linesToChars_(e,n);e=s.chars1,n=s.chars2;var i=s.lineArray,o=this.diff_main(e,n,!1,r);this.diff_charsToLines_(o,i),this.diff_cleanupSemantic(o),o.push(new t.Diff(0,""));for(var a=0,l=0,u=0,c="",h="";a<o.length;){switch(o[a][0]){case 1:u++,h+=o[a][1];break;case-1:l++,c+=o[a][1];break;case 0:if(l>=1&&u>=1){o.splice(a-l-u,l+u),a=a-l-u;for(var p=this.diff_main(c,h,!1,r),m=p.length-1;m>=0;m--)o.splice(a,0,p[m]);a+=p.length}u=0,l=0,c="",h=""}a++}return o.pop(),o},t.prototype.diff_bisect_=function(e,n,r){for(var s=e.length,i=n.length,o=Math.ceil((s+i)/2),a=o,l=2*o,u=new Array(l),c=new Array(l),h=0;h<l;h++)u[h]=-1,c[h]=-1;u[a+1]=0,c[a+1]=0;for(var p=s-i,m=p%2!=0,d=0,f=0,g=0,b=0,y=0;y<o&&!((new Date).getTime()>r);y++){for(var x=-y+d;x<=y-f;x+=2){for(var w=a+x,v=(C=x==-y||x!=y&&u[w-1]<u[w+1]?u[w+1]:u[w-1]+1)-x;C<s&&v<i&&e.charAt(C)==n.charAt(v);)C++,v++;if(u[w]=C,C>s)f+=2;else if(v>i)d+=2;else if(m&&(A=a+p-x)>=0&&A<l&&-1!=c[A]&&C>=(k=s-c[A]))return this.diff_bisectSplit_(e,n,C,v,r)}for(var D=-y+g;D<=y-b;D+=2){for(var k,A=a+D,S=(k=D==-y||D!=y&&c[A-1]<c[A+1]?c[A+1]:c[A-1]+1)-D;k<s&&S<i&&e.charAt(s-k-1)==n.charAt(i-S-1);)k++,S++;if(c[A]=k,k>s)b+=2;else if(S>i)g+=2;else if(!m){var C;if((w=a+p-D)>=0&&w<l&&-1!=u[w])if(v=a+(C=u[w])-w,C>=(k=s-k))return this.diff_bisectSplit_(e,n,C,v,r)}}}return[new t.Diff(-1,e),new t.Diff(1,n)]},t.prototype.diff_bisectSplit_=function(e,t,n,r,s){var i=e.substring(0,n),o=t.substring(0,r),a=e.substring(n),l=t.substring(r),u=this.diff_main(i,o,!1,s),c=this.diff_main(a,l,!1,s);return u.concat(c)},t.prototype.diff_linesToChars_=function(e,t){var n=[],r={};function s(e){for(var t="",s=0,o=-1,a=n.length;o<e.length-1;){-1==(o=e.indexOf("\n",s))&&(o=e.length-1);var l=e.substring(s,o+1);(r.hasOwnProperty?r.hasOwnProperty(l):void 0!==r[l])?t+=String.fromCharCode(r[l]):(a==i&&(l=e.substring(s),o=e.length),t+=String.fromCharCode(a),r[l]=a,n[a++]=l),s=o+1}return t}n[0]="";var i=4e4,o=s(e);return i=65535,{chars1:o,chars2:s(t),lineArray:n}},t.prototype.diff_charsToLines_=function(e,t){for(var n=0;n<e.length;n++){for(var r=e[n][1],s=[],i=0;i<r.length;i++)s[i]=t[r.charCodeAt(i)];e[n][1]=s.join("")}},t.prototype.diff_commonPrefix=function(e,t){if(!e||!t||e.charAt(0)!=t.charAt(0))return 0;for(var n=0,r=Math.min(e.length,t.length),s=r,i=0;n<s;)e.substring(i,s)==t.substring(i,s)?i=n=s:r=s,s=Math.floor((r-n)/2+n);return s},t.prototype.diff_commonSuffix=function(e,t){if(!e||!t||e.charAt(e.length-1)!=t.charAt(t.length-1))return 0;for(var n=0,r=Math.min(e.length,t.length),s=r,i=0;n<s;)e.substring(e.length-s,e.length-i)==t.substring(t.length-s,t.length-i)?i=n=s:r=s,s=Math.floor((r-n)/2+n);return s},t.prototype.diff_commonOverlap_=function(e,t){var n=e.length,r=t.length;if(0==n||0==r)return 0;n>r?e=e.substring(n-r):n<r&&(t=t.substring(0,n));var s=Math.min(n,r);if(e==t)return s;for(var i=0,o=1;;){var a=e.substring(s-o),l=t.indexOf(a);if(-1==l)return i;o+=l,0!=l&&e.substring(s-o)!=t.substring(0,o)||(i=o,o++)}},t.prototype.diff_halfMatch_=function(e,t){if(this.Diff_Timeout<=0)return null;var n=e.length>t.length?e:t,r=e.length>t.length?t:e;if(n.length<4||2*r.length<n.length)return null;var s=this;function i(e,t,n){for(var r,i,o,a,l=e.substring(n,n+Math.floor(e.length/4)),u=-1,c="";-1!=(u=t.indexOf(l,u+1));){var h=s.diff_commonPrefix(e.substring(n),t.substring(u)),p=s.diff_commonSuffix(e.substring(0,n),t.substring(0,u));c.length<p+h&&(c=t.substring(u-p,u)+t.substring(u,u+h),r=e.substring(0,n-p),i=e.substring(n+h),o=t.substring(0,u-p),a=t.substring(u+h))}return 2*c.length>=e.length?[r,i,o,a,c]:null}var o,a,l,u,c,h=i(n,r,Math.ceil(n.length/4)),p=i(n,r,Math.ceil(n.length/2));return h||p?(o=p?h&&h[4].length>p[4].length?h:p:h,e.length>t.length?(a=o[0],l=o[1],u=o[2],c=o[3]):(u=o[0],c=o[1],a=o[2],l=o[3]),[a,l,u,c,o[4]]):null},t.prototype.diff_cleanupSemantic=function(e){for(var n=!1,r=[],s=0,i=null,o=0,a=0,l=0,u=0,c=0;o<e.length;)0==e[o][0]?(r[s++]=o,a=u,l=c,u=0,c=0,i=e[o][1]):(1==e[o][0]?u+=e[o][1].length:c+=e[o][1].length,i&&i.length<=Math.max(a,l)&&i.length<=Math.max(u,c)&&(e.splice(r[s-1],0,new t.Diff(-1,i)),e[r[s-1]+1][0]=1,s--,o=--s>0?r[s-1]:-1,a=0,l=0,u=0,c=0,i=null,n=!0)),o++;for(n&&this.diff_cleanupMerge(e),this.diff_cleanupSemanticLossless(e),o=1;o<e.length;){if(-1==e[o-1][0]&&1==e[o][0]){var h=e[o-1][1],p=e[o][1],m=this.diff_commonOverlap_(h,p),d=this.diff_commonOverlap_(p,h);m>=d?(m>=h.length/2||m>=p.length/2)&&(e.splice(o,0,new t.Diff(0,p.substring(0,m))),e[o-1][1]=h.substring(0,h.length-m),e[o+1][1]=p.substring(m),o++):(d>=h.length/2||d>=p.length/2)&&(e.splice(o,0,new t.Diff(0,h.substring(0,d))),e[o-1][0]=1,e[o-1][1]=p.substring(0,p.length-d),e[o+1][0]=-1,e[o+1][1]=h.substring(d),o++),o++}o++}},t.prototype.diff_cleanupSemanticLossless=function(e){function n(e,n){if(!e||!n)return 6;var r=e.charAt(e.length-1),s=n.charAt(0),i=r.match(t.nonAlphaNumericRegex_),o=s.match(t.nonAlphaNumericRegex_),a=i&&r.match(t.whitespaceRegex_),l=o&&s.match(t.whitespaceRegex_),u=a&&r.match(t.linebreakRegex_),c=l&&s.match(t.linebreakRegex_),h=u&&e.match(t.blanklineEndRegex_),p=c&&n.match(t.blanklineStartRegex_);return h||p?5:u||c?4:i&&!a&&l?3:a||l?2:i||o?1:0}for(var r=1;r<e.length-1;){if(0==e[r-1][0]&&0==e[r+1][0]){var s=e[r-1][1],i=e[r][1],o=e[r+1][1],a=this.diff_commonSuffix(s,i);if(a){var l=i.substring(i.length-a);s=s.substring(0,s.length-a),i=l+i.substring(0,i.length-a),o=l+o}for(var u=s,c=i,h=o,p=n(s,i)+n(i,o);i.charAt(0)===o.charAt(0);){s+=i.charAt(0),i=i.substring(1)+o.charAt(0),o=o.substring(1);var m=n(s,i)+n(i,o);m>=p&&(p=m,u=s,c=i,h=o)}e[r-1][1]!=u&&(u?e[r-1][1]=u:(e.splice(r-1,1),r--),e[r][1]=c,h?e[r+1][1]=h:(e.splice(r+1,1),r--))}r++}},t.nonAlphaNumericRegex_=/[^a-zA-Z0-9]/,t.whitespaceRegex_=/\s/,t.linebreakRegex_=/[\r\n]/,t.blanklineEndRegex_=/\n\r?\n$/,t.blanklineStartRegex_=/^\r?\n\r?\n/,t.prototype.diff_cleanupEfficiency=function(e){for(var n=!1,r=[],s=0,i=null,o=0,a=!1,l=!1,u=!1,c=!1;o<e.length;)0==e[o][0]?(e[o][1].length<this.Diff_EditCost&&(u||c)?(r[s++]=o,a=u,l=c,i=e[o][1]):(s=0,i=null),u=c=!1):(-1==e[o][0]?c=!0:u=!0,i&&(a&&l&&u&&c||i.length<this.Diff_EditCost/2&&a+l+u+c==3)&&(e.splice(r[s-1],0,new t.Diff(-1,i)),e[r[s-1]+1][0]=1,s--,i=null,a&&l?(u=c=!0,s=0):(o=--s>0?r[s-1]:-1,u=c=!1),n=!0)),o++;n&&this.diff_cleanupMerge(e)},t.prototype.diff_cleanupMerge=function(e){e.push(new t.Diff(0,""));for(var n,r=0,s=0,i=0,o="",a="";r<e.length;)switch(e[r][0]){case 1:i++,a+=e[r][1],r++;break;case-1:s++,o+=e[r][1],r++;break;case 0:s+i>1?(0!==s&&0!==i&&(0!==(n=this.diff_commonPrefix(a,o))&&(r-s-i>0&&0==e[r-s-i-1][0]?e[r-s-i-1][1]+=a.substring(0,n):(e.splice(0,0,new t.Diff(0,a.substring(0,n))),r++),a=a.substring(n),o=o.substring(n)),0!==(n=this.diff_commonSuffix(a,o))&&(e[r][1]=a.substring(a.length-n)+e[r][1],a=a.substring(0,a.length-n),o=o.substring(0,o.length-n))),r-=s+i,e.splice(r,s+i),o.length&&(e.splice(r,0,new t.Diff(-1,o)),r++),a.length&&(e.splice(r,0,new t.Diff(1,a)),r++),r++):0!==r&&0==e[r-1][0]?(e[r-1][1]+=e[r][1],e.splice(r,1)):r++,i=0,s=0,o="",a=""}""===e[e.length-1][1]&&e.pop();var l=!1;for(r=1;r<e.length-1;)0==e[r-1][0]&&0==e[r+1][0]&&(e[r][1].substring(e[r][1].length-e[r-1][1].length)==e[r-1][1]?(e[r][1]=e[r-1][1]+e[r][1].substring(0,e[r][1].length-e[r-1][1].length),e[r+1][1]=e[r-1][1]+e[r+1][1],e.splice(r-1,1),l=!0):e[r][1].substring(0,e[r+1][1].length)==e[r+1][1]&&(e[r-1][1]+=e[r+1][1],e[r][1]=e[r][1].substring(e[r+1][1].length)+e[r+1][1],e.splice(r+1,1),l=!0)),r++;l&&this.diff_cleanupMerge(e)},t.prototype.diff_xIndex=function(e,t){var n,r=0,s=0,i=0,o=0;for(n=0;n<e.length&&(1!==e[n][0]&&(r+=e[n][1].length),-1!==e[n][0]&&(s+=e[n][1].length),!(r>t));n++)i=r,o=s;return e.length!=n&&-1===e[n][0]?o:o+(t-i)},t.prototype.diff_prettyHtml=function(e){for(var t=[],n=/&/g,r=/</g,s=/>/g,i=/\n/g,o=0;o<e.length;o++){var a=e[o][0],l=e[o][1].replace(n,"&amp;").replace(r,"&lt;").replace(s,"&gt;").replace(i,"&para;<br>");switch(a){case 1:t[o]='<ins style="background:#e6ffe6;">'+l+"</ins>";break;case-1:t[o]='<del style="background:#ffe6e6;">'+l+"</del>";break;case 0:t[o]="<span>"+l+"</span>"}}return t.join("")},t.prototype.diff_text1=function(e){for(var t=[],n=0;n<e.length;n++)1!==e[n][0]&&(t[n]=e[n][1]);return t.join("")},t.prototype.diff_text2=function(e){for(var t=[],n=0;n<e.length;n++)-1!==e[n][0]&&(t[n]=e[n][1]);return t.join("")},t.prototype.diff_levenshtein=function(e){for(var t=0,n=0,r=0,s=0;s<e.length;s++){var i=e[s][0],o=e[s][1];switch(i){case 1:n+=o.length;break;case-1:r+=o.length;break;case 0:t+=Math.max(n,r),n=0,r=0}}return t+Math.max(n,r)},t.prototype.diff_toDelta=function(e){for(var t=[],n=0;n<e.length;n++)switch(e[n][0]){case 1:t[n]="+"+encodeURI(e[n][1]);break;case-1:t[n]="-"+e[n][1].length;break;case 0:t[n]="="+e[n][1].length}return t.join("\t").replace(/%20/g," ")},t.prototype.diff_fromDelta=function(e,n){for(var r=[],s=0,i=0,o=n.split(/\t/g),a=0;a<o.length;a++){var l=o[a].substring(1);switch(o[a].charAt(0)){case"+":try{r[s++]=new t.Diff(1,decodeURI(l))}catch(h){throw new Error("Illegal escape in diff_fromDelta: "+l)}break;case"-":case"=":var u=parseInt(l,10);if(isNaN(u)||u<0)throw new Error("Invalid number in diff_fromDelta: "+l);var c=e.substring(i,i+=u);"="==o[a].charAt(0)?r[s++]=new t.Diff(0,c):r[s++]=new t.Diff(-1,c);break;default:if(o[a])throw new Error("Invalid diff operation in diff_fromDelta: "+o[a])}}if(i!=e.length)throw new Error("Delta length ("+i+") does not equal source text length ("+e.length+").");return r},t.prototype.match_main=function(e,t,n){if(null==e||null==t||null==n)throw new Error("Null input. (match_main)");return n=Math.max(0,Math.min(n,e.length)),e==t?0:e.length?e.substring(n,n+t.length)==t?n:this.match_bitap_(e,t,n):-1},t.prototype.match_bitap_=function(e,t,n){if(t.length>this.Match_MaxBits)throw new Error("Pattern too long for this browser.");var r=this.match_alphabet_(t),s=this;function i(e,r){var i=e/t.length,o=Math.abs(n-r);return s.Match_Distance?i+o/s.Match_Distance:o?1:i}var o=this.Match_Threshold,a=e.indexOf(t,n);-1!=a&&(o=Math.min(i(0,a),o),-1!=(a=e.lastIndexOf(t,n+t.length))&&(o=Math.min(i(0,a),o)));var l,u,c=1<<t.length-1;a=-1;for(var h,p=t.length+e.length,m=0;m<t.length;m++){for(l=0,u=p;l<u;)i(m,n+u)<=o?l=u:p=u,u=Math.floor((p-l)/2+l);p=u;var d=Math.max(1,n-u+1),f=Math.min(n+u,e.length)+t.length,g=Array(f+2);g[f+1]=(1<<m)-1;for(var b=f;b>=d;b--){var y=r[e.charAt(b-1)];if(g[b]=0===m?(g[b+1]<<1|1)&y:(g[b+1]<<1|1)&y|(h[b+1]|h[b])<<1|1|h[b+1],g[b]&c){var x=i(m,b-1);if(x<=o){if(o=x,!((a=b-1)>n))break;d=Math.max(1,2*n-a)}}}if(i(m+1,n)>o)break;h=g}return a},t.prototype.match_alphabet_=function(e){for(var t={},n=0;n<e.length;n++)t[e.charAt(n)]=0;for(n=0;n<e.length;n++)t[e.charAt(n)]|=1<<e.length-n-1;return t},t.prototype.patch_addContext_=function(e,n){if(0!=n.length){if(null===e.start2)throw Error("patch not initialized");for(var r=n.substring(e.start2,e.start2+e.length1),s=0;n.indexOf(r)!=n.lastIndexOf(r)&&r.length<this.Match_MaxBits-this.Patch_Margin-this.Patch_Margin;)s+=this.Patch_Margin,r=n.substring(e.start2-s,e.start2+e.length1+s);s+=this.Patch_Margin;var i=n.substring(e.start2-s,e.start2);i&&e.diffs.unshift(new t.Diff(0,i));var o=n.substring(e.start2+e.length1,e.start2+e.length1+s);o&&e.diffs.push(new t.Diff(0,o)),e.start1-=i.length,e.start2-=i.length,e.length1+=i.length+o.length,e.length2+=i.length+o.length}},t.prototype.patch_make=function(e,n,r){var s,i;if("string"==typeof e&&"string"==typeof n&&void 0===r)s=e,(i=this.diff_main(s,n,!0)).length>2&&(this.diff_cleanupSemantic(i),this.diff_cleanupEfficiency(i));else if(e&&"object"==typeof e&&void 0===n&&void 0===r)i=e,s=this.diff_text1(i);else if("string"==typeof e&&n&&"object"==typeof n&&void 0===r)s=e,i=n;else{if("string"!=typeof e||"string"!=typeof n||!r||"object"!=typeof r)throw new Error("Unknown call format to patch_make.");s=e,i=r}if(0===i.length)return[];for(var o=[],a=new t.patch_obj,l=0,u=0,c=0,h=s,p=s,m=0;m<i.length;m++){var d=i[m][0],f=i[m][1];switch(l||0===d||(a.start1=u,a.start2=c),d){case 1:a.diffs[l++]=i[m],a.length2+=f.length,p=p.substring(0,c)+f+p.substring(c);break;case-1:a.length1+=f.length,a.diffs[l++]=i[m],p=p.substring(0,c)+p.substring(c+f.length);break;case 0:f.length<=2*this.Patch_Margin&&l&&i.length!=m+1?(a.diffs[l++]=i[m],a.length1+=f.length,a.length2+=f.length):f.length>=2*this.Patch_Margin&&l&&(this.patch_addContext_(a,h),o.push(a),a=new t.patch_obj,l=0,h=p,u=c)}1!==d&&(u+=f.length),-1!==d&&(c+=f.length)}return l&&(this.patch_addContext_(a,h),o.push(a)),o},t.prototype.patch_deepCopy=function(e){for(var n=[],r=0;r<e.length;r++){var s=e[r],i=new t.patch_obj;i.diffs=[];for(var o=0;o<s.diffs.length;o++)i.diffs[o]=new t.Diff(s.diffs[o][0],s.diffs[o][1]);i.start1=s.start1,i.start2=s.start2,i.length1=s.length1,i.length2=s.length2,n[r]=i}return n},t.prototype.patch_apply=function(e,t){if(0==e.length)return[t,[]];e=this.patch_deepCopy(e);var n=this.patch_addPadding(e);t=n+t+n,this.patch_splitMax(e);for(var r=0,s=[],i=0;i<e.length;i++){var o,a,l=e[i].start2+r,u=this.diff_text1(e[i].diffs),c=-1;if(u.length>this.Match_MaxBits?-1!=(o=this.match_main(t,u.substring(0,this.Match_MaxBits),l))&&(-1==(c=this.match_main(t,u.substring(u.length-this.Match_MaxBits),l+u.length-this.Match_MaxBits))||o>=c)&&(o=-1):o=this.match_main(t,u,l),-1==o)s[i]=!1,r-=e[i].length2-e[i].length1;else if(s[i]=!0,r=o-l,u==(a=-1==c?t.substring(o,o+u.length):t.substring(o,c+this.Match_MaxBits)))t=t.substring(0,o)+this.diff_text2(e[i].diffs)+t.substring(o+u.length);else{var h=this.diff_main(u,a,!1);if(u.length>this.Match_MaxBits&&this.diff_levenshtein(h)/u.length>this.Patch_DeleteThreshold)s[i]=!1;else{this.diff_cleanupSemanticLossless(h);for(var p,m=0,d=0;d<e[i].diffs.length;d++){var f=e[i].diffs[d];0!==f[0]&&(p=this.diff_xIndex(h,m)),1===f[0]?t=t.substring(0,o+p)+f[1]+t.substring(o+p):-1===f[0]&&(t=t.substring(0,o+p)+t.substring(o+this.diff_xIndex(h,m+f[1].length))),-1!==f[0]&&(m+=f[1].length)}}}}return[t=t.substring(n.length,t.length-n.length),s]},t.prototype.patch_addPadding=function(e){for(var n=this.Patch_Margin,r="",s=1;s<=n;s++)r+=String.fromCharCode(s);for(s=0;s<e.length;s++)e[s].start1+=n,e[s].start2+=n;var i=e[0],o=i.diffs;if(0==o.length||0!=o[0][0])o.unshift(new t.Diff(0,r)),i.start1-=n,i.start2-=n,i.length1+=n,i.length2+=n;else if(n>o[0][1].length){var a=n-o[0][1].length;o[0][1]=r.substring(o[0][1].length)+o[0][1],i.start1-=a,i.start2-=a,i.length1+=a,i.length2+=a}return 0==(o=(i=e[e.length-1]).diffs).length||0!=o[o.length-1][0]?(o.push(new t.Diff(0,r)),i.length1+=n,i.length2+=n):n>o[o.length-1][1].length&&(a=n-o[o.length-1][1].length,o[o.length-1][1]+=r.substring(0,a),i.length1+=a,i.length2+=a),r},t.prototype.patch_splitMax=function(e){for(var n=this.Match_MaxBits,r=0;r<e.length;r++)if(!(e[r].length1<=n)){var s=e[r];e.splice(r--,1);for(var i=s.start1,o=s.start2,a="";0!==s.diffs.length;){var l=new t.patch_obj,u=!0;for(l.start1=i-a.length,l.start2=o-a.length,""!==a&&(l.length1=l.length2=a.length,l.diffs.push(new t.Diff(0,a)));0!==s.diffs.length&&l.length1<n-this.Patch_Margin;){var c=s.diffs[0][0],h=s.diffs[0][1];1===c?(l.length2+=h.length,o+=h.length,l.diffs.push(s.diffs.shift()),u=!1):-1===c&&1==l.diffs.length&&0==l.diffs[0][0]&&h.length>2*n?(l.length1+=h.length,i+=h.length,u=!1,l.diffs.push(new t.Diff(c,h)),s.diffs.shift()):(h=h.substring(0,n-l.length1-this.Patch_Margin),l.length1+=h.length,i+=h.length,0===c?(l.length2+=h.length,o+=h.length):u=!1,l.diffs.push(new t.Diff(c,h)),h==s.diffs[0][1]?s.diffs.shift():s.diffs[0][1]=s.diffs[0][1].substring(h.length))}a=(a=this.diff_text2(l.diffs)).substring(a.length-this.Patch_Margin);var p=this.diff_text1(s.diffs).substring(0,this.Patch_Margin);""!==p&&(l.length1+=p.length,l.length2+=p.length,0!==l.diffs.length&&0===l.diffs[l.diffs.length-1][0]?l.diffs[l.diffs.length-1][1]+=p:l.diffs.push(new t.Diff(0,p))),u||e.splice(++r,0,l)}}},t.prototype.patch_toText=function(e){for(var t=[],n=0;n<e.length;n++)t[n]=e[n];return t.join("")},t.prototype.patch_fromText=function(e){var n=[];if(!e)return n;for(var r=e.split("\n"),s=0,i=/^@@ -(\d+),?(\d*) \+(\d+),?(\d*) @@$/;s<r.length;){var o=r[s].match(i);if(!o)throw new Error("Invalid patch string: "+r[s]);var a=new t.patch_obj;for(n.push(a),a.start1=parseInt(o[1],10),""===o[2]?(a.start1--,a.length1=1):"0"==o[2]?a.length1=0:(a.start1--,a.length1=parseInt(o[2],10)),a.start2=parseInt(o[3],10),""===o[4]?(a.start2--,a.length2=1):"0"==o[4]?a.length2=0:(a.start2--,a.length2=parseInt(o[4],10)),s++;s<r.length;){var l=r[s].charAt(0);try{var u=decodeURI(r[s].substring(1))}catch(c){throw new Error("Illegal escape in patch_fromText: "+u)}if("-"==l)a.diffs.push(new t.Diff(-1,u));else if("+"==l)a.diffs.push(new t.Diff(1,u));else if(" "==l)a.diffs.push(new t.Diff(0,u));else{if("@"==l)break;if(""!==l)throw new Error('Invalid patch mode "'+l+'" in: '+u)}s++}}return n},(t.patch_obj=function(){this.diffs=[],this.start1=null,this.start2=null,this.length1=0,this.length2=0}).prototype.toString=function(){for(var e,t=["@@ -"+(0===this.length1?this.start1+",0":1==this.length1?this.start1+1:this.start1+1+","+this.length1)+" +"+(0===this.length2?this.start2+",0":1==this.length2?this.start2+1:this.start2+1+","+this.length2)+" @@\n"],n=0;n<this.diffs.length;n++){switch(this.diffs[n][0]){case 1:e="+";break;case-1:e="-";break;case 0:e=" "}t[n+1]=e+encodeURI(this.diffs[n][1])+"\n"}return t.join("").replace(/%20/g," ")},e.exports=t,e.exports.diff_match_patch=t,e.exports.DIFF_DELETE=-1,e.exports.DIFF_INSERT=1,e.exports.DIFF_EQUAL=0}));jn.DIFF_EQUAL,jn.DIFF_DELETE,jn.DIFF_INSERT;var Hn;Hn=0},70119:()=>{},72198:()=>{},25329:()=>{},20096:(e,t,n)=>{"use strict";n.d(t,{xI:()=>he});var r=n(89379),s=n(64467);function i(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let o={async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null};function a(e){o=e}const l=/[&<>"']/,u=new RegExp(l.source,"g"),c=/[<>"']|&(?!(#\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\w+);)/,h=new RegExp(c.source,"g"),p={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"},m=e=>p[e];function d(e,t){if(t){if(l.test(e))return e.replace(u,m)}else if(c.test(e))return e.replace(h,m);return e}const f=/(^|[^\[])\^/g;function g(e,t){let n="string"===typeof e?e:e.source;t=t||"";const r={replace:(e,t)=>{let s="string"===typeof t?t:t.source;return s=s.replace(f,"$1"),n=n.replace(e,s),r},getRegex:()=>new RegExp(n,t)};return r}function b(e){try{e=encodeURI(e).replace(/%25/g,"%")}catch(t){return null}return e}const y={exec:()=>null};function x(e,t){const n=e.replace(/\|/g,((e,t,n)=>{let r=!1,s=t;for(;--s>=0&&"\\"===n[s];)r=!r;return r?"|":" |"})).split(/ \|/);let r=0;if(n[0].trim()||n.shift(),n.length>0&&!n[n.length-1].trim()&&n.pop(),t)if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;r<n.length;r++)n[r]=n[r].trim().replace(/\\\|/g,"|");return n}function w(e,t,n){const r=e.length;if(0===r)return"";let s=0;for(;s<r;){const i=e.charAt(r-s-1);if(i!==t||n){if(i===t||!n)break;s++}else s++}return e.slice(0,r-s)}function v(e,t,n,r){const s=t.href,i=t.title?d(t.title):null,o=e[1].replace(/\\([\[\]])/g,"$1");if("!"!==e[0].charAt(0)){r.state.inLink=!0;const e={type:"link",raw:n,href:s,title:i,text:o,tokens:r.inlineTokens(o)};return r.state.inLink=!1,e}return{type:"image",raw:n,href:s,title:i,text:d(o)}}class D{constructor(e){(0,s.A)(this,"options",void 0),(0,s.A)(this,"rules",void 0),(0,s.A)(this,"lexer",void 0),this.options=e||o}space(e){const t=this.rules.block.newline.exec(e);if(t&&t[0].length>0)return{type:"space",raw:t[0]}}code(e){const t=this.rules.block.code.exec(e);if(t){const e=t[0].replace(/^(?: {1,4}| {0,3}\t)/gm,"");return{type:"code",raw:t[0],codeBlockStyle:"indented",text:this.options.pedantic?e:w(e,"\n")}}}fences(e){const t=this.rules.block.fences.exec(e);if(t){const e=t[0],n=function(e,t){const n=e.match(/^(\s+)(?:```)/);if(null===n)return t;const r=n[1];return t.split("\n").map((e=>{const t=e.match(/^\s+/);if(null===t)return e;const[n]=t;return n.length>=r.length?e.slice(r.length):e})).join("\n")}(e,t[3]||"");return{type:"code",raw:e,lang:t[2]?t[2].trim().replace(this.rules.inline.anyPunctuation,"$1"):t[2],text:n}}}heading(e){const t=this.rules.block.heading.exec(e);if(t){let e=t[2].trim();if(/#$/.test(e)){const t=w(e,"#");this.options.pedantic?e=t.trim():t&&!/ $/.test(t)||(e=t.trim())}return{type:"heading",raw:t[0],depth:t[1].length,text:e,tokens:this.lexer.inline(e)}}}hr(e){const t=this.rules.block.hr.exec(e);if(t)return{type:"hr",raw:w(t[0],"\n")}}blockquote(e){const t=this.rules.block.blockquote.exec(e);if(t){let e=w(t[0],"\n").split("\n"),n="",r="";const s=[];for(;e.length>0;){let t=!1;const i=[];let o;for(o=0;o<e.length;o++)if(/^ {0,3}>/.test(e[o]))i.push(e[o]),t=!0;else{if(t)break;i.push(e[o])}e=e.slice(o);const a=i.join("\n"),l=a.replace(/\n {0,3}((?:=+|-+) *)(?=\n|$)/g,"\n $1").replace(/^ {0,3}>[ \t]?/gm,"");n=n?"".concat(n,"\n").concat(a):a,r=r?"".concat(r,"\n").concat(l):l;const u=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(l,s,!0),this.lexer.state.top=u,0===e.length)break;const c=s[s.length-1];if("code"===(null===c||void 0===c?void 0:c.type))break;if("blockquote"===(null===c||void 0===c?void 0:c.type)){const t=c,i=t.raw+"\n"+e.join("\n"),o=this.blockquote(i);s[s.length-1]=o,n=n.substring(0,n.length-t.raw.length)+o.raw,r=r.substring(0,r.length-t.text.length)+o.text;break}if("list"!==(null===c||void 0===c?void 0:c.type));else{const t=c,i=t.raw+"\n"+e.join("\n"),o=this.list(i);s[s.length-1]=o,n=n.substring(0,n.length-c.raw.length)+o.raw,r=r.substring(0,r.length-t.raw.length)+o.raw,e=i.substring(s[s.length-1].raw.length).split("\n")}}return{type:"blockquote",raw:n,tokens:s,text:r}}}list(e){let t=this.rules.block.list.exec(e);if(t){let n=t[1].trim();const r=n.length>1,s={type:"list",raw:"",ordered:r,start:r?+n.slice(0,-1):"",loose:!1,items:[]};n=r?"\\d{1,9}\\".concat(n.slice(-1)):"\\".concat(n),this.options.pedantic&&(n=r?n:"[*+-]");const i=new RegExp("^( {0,3}".concat(n,")((?:[\t ][^\\n]*)?(?:\\n|$))"));let o=!1;for(;e;){let n=!1,r="",a="";if(!(t=i.exec(e)))break;if(this.rules.block.hr.test(e))break;r=t[0],e=e.substring(r.length);let l=t[2].split("\n",1)[0].replace(/^\t+/,(e=>" ".repeat(3*e.length))),u=e.split("\n",1)[0],c=!l.trim(),h=0;if(this.options.pedantic?(h=2,a=l.trimStart()):c?h=t[1].length+1:(h=t[2].search(/[^ ]/),h=h>4?1:h,a=l.slice(h),h+=t[1].length),c&&/^[ \t]*$/.test(u)&&(r+=u+"\n",e=e.substring(u.length+1),n=!0),!n){const t=new RegExp("^ {0,".concat(Math.min(3,h-1),"}(?:[*+-]|\\d{1,9}[.)])((?:[ \t][^\\n]*)?(?:\\n|$))")),n=new RegExp("^ {0,".concat(Math.min(3,h-1),"}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)")),s=new RegExp("^ {0,".concat(Math.min(3,h-1),"}(?:```|~~~)")),i=new RegExp("^ {0,".concat(Math.min(3,h-1),"}#")),o=new RegExp("^ {0,".concat(Math.min(3,h-1),"}<(?:[a-z].*>|!--)"),"i");for(;e;){const p=e.split("\n",1)[0];let m;if(u=p,this.options.pedantic?(u=u.replace(/^ {1,4}(?=( {4})*[^ ])/g," "),m=u):m=u.replace(/\t/g," "),s.test(u))break;if(i.test(u))break;if(o.test(u))break;if(t.test(u))break;if(n.test(u))break;if(m.search(/[^ ]/)>=h||!u.trim())a+="\n"+m.slice(h);else{if(c)break;if(l.replace(/\t/g," ").search(/[^ ]/)>=4)break;if(s.test(l))break;if(i.test(l))break;if(n.test(l))break;a+="\n"+u}c||u.trim()||(c=!0),r+=p+"\n",e=e.substring(p.length+1),l=m.slice(h)}}s.loose||(o?s.loose=!0:/\n[ \t]*\n[ \t]*$/.test(r)&&(o=!0));let p,m=null;this.options.gfm&&(m=/^\[[ xX]\] /.exec(a),m&&(p="[ ] "!==m[0],a=a.replace(/^\[[ xX]\] +/,""))),s.items.push({type:"list_item",raw:r,task:!!m,checked:p,loose:!1,text:a,tokens:[]}),s.raw+=r}s.items[s.items.length-1].raw=s.items[s.items.length-1].raw.trimEnd(),s.items[s.items.length-1].text=s.items[s.items.length-1].text.trimEnd(),s.raw=s.raw.trimEnd();for(let e=0;e<s.items.length;e++)if(this.lexer.state.top=!1,s.items[e].tokens=this.lexer.blockTokens(s.items[e].text,[]),!s.loose){const t=s.items[e].tokens.filter((e=>"space"===e.type)),n=t.length>0&&t.some((e=>/\n.*\n/.test(e.raw)));s.loose=n}if(s.loose)for(let e=0;e<s.items.length;e++)s.items[e].loose=!0;return s}}html(e){const t=this.rules.block.html.exec(e);if(t){return{type:"html",block:!0,raw:t[0],pre:"pre"===t[1]||"script"===t[1]||"style"===t[1],text:t[0]}}}def(e){const t=this.rules.block.def.exec(e);if(t){const e=t[1].toLowerCase().replace(/\s+/g," "),n=t[2]?t[2].replace(/^<(.*)>$/,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",r=t[3]?t[3].substring(1,t[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):t[3];return{type:"def",tag:e,raw:t[0],href:n,title:r}}}table(e){const t=this.rules.block.table.exec(e);if(!t)return;if(!/[:|]/.test(t[2]))return;const n=x(t[1]),r=t[2].replace(/^\||\| *$/g,"").split("|"),s=t[3]&&t[3].trim()?t[3].replace(/\n[ \t]*$/,"").split("\n"):[],i={type:"table",raw:t[0],header:[],align:[],rows:[]};if(n.length===r.length){for(const e of r)/^ *-+: *$/.test(e)?i.align.push("right"):/^ *:-+: *$/.test(e)?i.align.push("center"):/^ *:-+ *$/.test(e)?i.align.push("left"):i.align.push(null);for(let e=0;e<n.length;e++)i.header.push({text:n[e],tokens:this.lexer.inline(n[e]),header:!0,align:i.align[e]});for(const e of s)i.rows.push(x(e,i.header.length).map(((e,t)=>({text:e,tokens:this.lexer.inline(e),header:!1,align:i.align[t]}))));return i}}lheading(e){const t=this.rules.block.lheading.exec(e);if(t)return{type:"heading",raw:t[0],depth:"="===t[2].charAt(0)?1:2,text:t[1],tokens:this.lexer.inline(t[1])}}paragraph(e){const t=this.rules.block.paragraph.exec(e);if(t){const e="\n"===t[1].charAt(t[1].length-1)?t[1].slice(0,-1):t[1];return{type:"paragraph",raw:t[0],text:e,tokens:this.lexer.inline(e)}}}text(e){const t=this.rules.block.text.exec(e);if(t)return{type:"text",raw:t[0],text:t[0],tokens:this.lexer.inline(t[0])}}escape(e){const t=this.rules.inline.escape.exec(e);if(t)return{type:"escape",raw:t[0],text:d(t[1])}}tag(e){const t=this.rules.inline.tag.exec(e);if(t)return!this.lexer.state.inLink&&/^<a /i.test(t[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&/^<\/a>/i.test(t[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&/^<(pre|code|kbd|script)(\s|>)/i.test(t[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&/^<\/(pre|code|kbd|script)(\s|>)/i.test(t[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:t[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:t[0]}}link(e){const t=this.rules.inline.link.exec(e);if(t){const e=t[2].trim();if(!this.options.pedantic&&/^</.test(e)){if(!/>$/.test(e))return;const t=w(e.slice(0,-1),"\\");if((e.length-t.length)%2===0)return}else{const e=function(e,t){if(-1===e.indexOf(t[1]))return-1;let n=0;for(let r=0;r<e.length;r++)if("\\"===e[r])r++;else if(e[r]===t[0])n++;else if(e[r]===t[1]&&(n--,n<0))return r;return-1}(t[2],"()");if(e>-1){const n=(0===t[0].indexOf("!")?5:4)+t[1].length+e;t[2]=t[2].substring(0,e),t[0]=t[0].substring(0,n).trim(),t[3]=""}}let n=t[2],r="";if(this.options.pedantic){const e=/^([^'"]*[^\s])\s+(['"])(.*)\2/.exec(n);e&&(n=e[1],r=e[3])}else r=t[3]?t[3].slice(1,-1):"";return n=n.trim(),/^</.test(n)&&(n=this.options.pedantic&&!/>$/.test(e)?n.slice(1):n.slice(1,-1)),v(t,{href:n?n.replace(this.rules.inline.anyPunctuation,"$1"):n,title:r?r.replace(this.rules.inline.anyPunctuation,"$1"):r},t[0],this.lexer)}}reflink(e,t){let n;if((n=this.rules.inline.reflink.exec(e))||(n=this.rules.inline.nolink.exec(e))){const e=t[(n[2]||n[1]).replace(/\s+/g," ").toLowerCase()];if(!e){const e=n[0].charAt(0);return{type:"text",raw:e,text:e}}return v(n,e,n[0],this.lexer)}}emStrong(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=this.rules.inline.emStrongLDelim.exec(e);if(!r)return;if(r[3]&&n.match(/(?:[0-9A-Za-z\xAA\xB2\xB3\xB5\xB9\xBA\xBC-\xBE\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u0660-\u0669\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07C0-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0966-\u096F\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09E6-\u09F1\u09F4-\u09F9\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A66-\u0A6F\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AE6-\u0AEF\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B66-\u0B6F\u0B71-\u0B77\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0BE6-\u0BF2\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C66-\u0C6F\u0C78-\u0C7E\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CE6-\u0CEF\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D58-\u0D61\u0D66-\u0D78\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DE6-\u0DEF\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F20-\u0F33\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F-\u1049\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u1090-\u1099\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1369-\u137C\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u17E0-\u17E9\u17F0-\u17F9\u1810-\u1819\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19DA\u1A00-\u1A16\u1A20-\u1A54\u1A80-\u1A89\u1A90-\u1A99\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B50-\u1B59\u1B83-\u1BA0\u1BAE-\u1BE5\u1C00-\u1C23\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C8A\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2070\u2071\u2074-\u2079\u207F-\u2089\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2150-\u2189\u2460-\u249B\u24EA-\u24FF\u2776-\u2793\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2CFD\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u3192-\u3195\u31A0-\u31BF\u31F0-\u31FF\u3220-\u3229\u3248-\u324F\u3251-\u325F\u3280-\u3289\u32B1-\u32BF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CD\uA7D0\uA7D1\uA7D3\uA7D5-\uA7DC\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA830-\uA835\uA840-\uA873\uA882-\uA8B3\uA8D0-\uA8D9\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA900-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF-\uA9D9\uA9E0-\uA9E4\uA9E6-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA50-\uAA59\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDD07-\uDD33\uDD40-\uDD78\uDD8A\uDD8B\uDE80-\uDE9C\uDEA0-\uDED0\uDEE1-\uDEFB\uDF00-\uDF23\uDF2D-\uDF4A\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF\uDFD1-\uDFD5]|\uD801[\uDC00-\uDC9D\uDCA0-\uDCA9\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDDC0-\uDDF3\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC58-\uDC76\uDC79-\uDC9E\uDCA7-\uDCAF\uDCE0-\uDCF2\uDCF4\uDCF5\uDCFB-\uDD1B\uDD20-\uDD39\uDD80-\uDDB7\uDDBC-\uDDCF\uDDD2-\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE40-\uDE48\uDE60-\uDE7E\uDE80-\uDE9F\uDEC0-\uDEC7\uDEC9-\uDEE4\uDEEB-\uDEEF\uDF00-\uDF35\uDF40-\uDF55\uDF58-\uDF72\uDF78-\uDF91\uDFA9-\uDFAF]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDCFA-\uDD23\uDD30-\uDD39\uDD40-\uDD65\uDD6F-\uDD85\uDE60-\uDE7E\uDE80-\uDEA9\uDEB0\uDEB1\uDEC2-\uDEC4\uDF00-\uDF27\uDF30-\uDF45\uDF51-\uDF54\uDF70-\uDF81\uDFB0-\uDFCB\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC52-\uDC6F\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDCF0-\uDCF9\uDD03-\uDD26\uDD36-\uDD3F\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDD0-\uDDDA\uDDDC\uDDE1-\uDDF4\uDE00-\uDE11\uDE13-\uDE2B\uDE3F\uDE40\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDEF0-\uDEF9\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61\uDF80-\uDF89\uDF8B\uDF8E\uDF90-\uDFB5\uDFB7\uDFD1\uDFD3]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC50-\uDC59\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDCD0-\uDCD9\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE50-\uDE59\uDE80-\uDEAA\uDEB8\uDEC0-\uDEC9\uDED0-\uDEE3\uDF00-\uDF1A\uDF30-\uDF3B\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCF2\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDD50-\uDD59\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8\uDFC0-\uDFE0\uDFF0-\uDFF9]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC50-\uDC6C\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD50-\uDD59\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDDA0-\uDDA9\uDEE0-\uDEF2\uDF02\uDF04-\uDF10\uDF12-\uDF33\uDF50-\uDF59\uDFB0\uDFC0-\uDFD4]|\uD808[\uDC00-\uDF99]|\uD809[\uDC00-\uDC6E\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD80E\uD80F\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883\uD885-\uD887][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2F\uDC41-\uDC46\uDC60-\uDFFF]|\uD810[\uDC00-\uDFFA]|\uD811[\uDC00-\uDE46]|\uD818[\uDD00-\uDD1D\uDD30-\uDD39]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE60-\uDE69\uDE70-\uDEBE\uDEC0-\uDEC9\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF50-\uDF59\uDF5B-\uDF61\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDD40-\uDD6C\uDD70-\uDD79\uDE40-\uDE96\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDCFF-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD32\uDD50-\uDD52\uDD55\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD833[\uDCF0-\uDCF9]|\uD834[\uDEC0-\uDED3\uDEE0-\uDEF3\uDF60-\uDF78]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB\uDFCE-\uDFFF]|\uD837[\uDF00-\uDF1E\uDF25-\uDF2A]|\uD838[\uDC30-\uDC6D\uDD00-\uDD2C\uDD37-\uDD3D\uDD40-\uDD49\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB\uDEF0-\uDEF9]|\uD839[\uDCD0-\uDCEB\uDCF0-\uDCF9\uDDD0-\uDDED\uDDF0-\uDDFA\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDCC7-\uDCCF\uDD00-\uDD43\uDD4B\uDD50-\uDD59]|\uD83B[\uDC71-\uDCAB\uDCAD-\uDCAF\uDCB1-\uDCB4\uDD01-\uDD2D\uDD2F-\uDD3D\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD83C[\uDD00-\uDD0C]|\uD83E[\uDFF0-\uDFF9]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF39\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0\uDFF0-\uDFFF]|\uD87B[\uDC00-\uDE5D]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A\uDF50-\uDFFF]|\uD888[\uDC00-\uDFAF])/))return;if(!(r[1]||r[2]||"")||!n||this.rules.inline.punctuation.exec(n)){const n=[...r[0]].length-1;let s,i,o=n,a=0;const l="*"===r[0][0]?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(l.lastIndex=0,t=t.slice(-1*e.length+n);null!=(r=l.exec(t));){if(s=r[1]||r[2]||r[3]||r[4]||r[5]||r[6],!s)continue;if(i=[...s].length,r[3]||r[4]){o+=i;continue}if((r[5]||r[6])&&n%3&&!((n+i)%3)){a+=i;continue}if(o-=i,o>0)continue;i=Math.min(i,i+o+a);const t=[...r[0]][0].length,l=e.slice(0,n+r.index+t+i);if(Math.min(n,i)%2){const e=l.slice(1,-1);return{type:"em",raw:l,text:e,tokens:this.lexer.inlineTokens(e)}}const u=l.slice(2,-2);return{type:"strong",raw:l,text:u,tokens:this.lexer.inlineTokens(u)}}}}codespan(e){const t=this.rules.inline.code.exec(e);if(t){let e=t[2].replace(/\n/g," ");const n=/[^ ]/.test(e),r=/^ /.test(e)&&/ $/.test(e);return n&&r&&(e=e.substring(1,e.length-1)),e=d(e,!0),{type:"codespan",raw:t[0],text:e}}}br(e){const t=this.rules.inline.br.exec(e);if(t)return{type:"br",raw:t[0]}}del(e){const t=this.rules.inline.del.exec(e);if(t)return{type:"del",raw:t[0],text:t[2],tokens:this.lexer.inlineTokens(t[2])}}autolink(e){const t=this.rules.inline.autolink.exec(e);if(t){let e,n;return"@"===t[2]?(e=d(t[1]),n="mailto:"+e):(e=d(t[1]),n=e),{type:"link",raw:t[0],text:e,href:n,tokens:[{type:"text",raw:e,text:e}]}}}url(e){let t;if(t=this.rules.inline.url.exec(e)){let e,s;if("@"===t[2])e=d(t[0]),s="mailto:"+e;else{let i;do{var n,r;i=t[0],t[0]=null!==(n=null===(r=this.rules.inline._backpedal.exec(t[0]))||void 0===r?void 0:r[0])&&void 0!==n?n:""}while(i!==t[0]);e=d(t[0]),s="www."===t[1]?"http://"+t[0]:t[0]}return{type:"link",raw:t[0],text:e,href:s,tokens:[{type:"text",raw:e,text:e}]}}}inlineText(e){const t=this.rules.inline.text.exec(e);if(t){let e;return e=this.lexer.state.inRawBlock?t[0]:d(t[0]),{type:"text",raw:t[0],text:e}}}}const k=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,A=/(?:[*+-]|\d{1,9}[.)])/,S=g(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,A).replace(/blockCode/g,/(?: {4}| {0,3}\t)/).replace(/fences/g,/ {0,3}(?:`{3,}|~{3,})/).replace(/blockquote/g,/ {0,3}>/).replace(/heading/g,/ {0,3}#{1,6}/).replace(/html/g,/ {0,3}<[^\n>]+>\n/).getRegex(),C=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,M=/(?!\s*\])(?:\\.|[^\[\]\\])+/,z=g(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",M).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),E=g(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,A).getRegex(),F="address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul",B=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,T=g("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ \t]*)+\\n|$))","i").replace("comment",B).replace("tag",F).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),_=g(C).replace("hr",k).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("|table","").replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",F).getRegex(),N={blockquote:g(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",_).getRegex(),code:/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,def:z,fences:/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,heading:/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,hr:k,html:T,lheading:S,list:E,newline:/^(?:[ \t]*(?:\n|$))+/,paragraph:_,table:y,text:/^[^\n]+/},O=g("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",k).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("blockquote"," {0,3}>").replace("code","(?: {4}| {0,3}\t)[^\\n]").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",F).getRegex(),I=(0,r.A)((0,r.A)({},N),{},{table:O,paragraph:g(C).replace("hr",k).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",O).replace("blockquote"," {0,3}>").replace("fences"," {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list"," {0,3}(?:[*+-]|1[.)]) ").replace("html","</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag",F).getRegex()}),q=(0,r.A)((0,r.A)({},N),{},{html:g("^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:\"[^\"]*\"|'[^']*'|\\s[^'\"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))").replace("comment",B).replace(/tag/g,"(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),def:/^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,heading:/^(#{1,6})(.*)(?:\n+|$)/,fences:y,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:g(C).replace("hr",k).replace("heading"," *#{1,6} *[^\n]").replace("lheading",S).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()}),R=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,L=/^( {2,}|\\)\n(?!\s*$)/,j="\\p{P}\\p{S}",H=g(/^((?![*_])[\spunctuation])/,"u").replace(/punctuation/g,j).getRegex(),P=g(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/,"u").replace(/punct/g,j).getRegex(),V=g("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])","gu").replace(/punct/g,j).getRegex(),$=g("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])","gu").replace(/punct/g,j).getRegex(),G=g(/\\([punct])/,"gu").replace(/punct/g,j).getRegex(),U=g(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),X=g(B).replace("(?:--\x3e|$)","--\x3e").getRegex(),W=g("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",X).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Y=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,Z=g(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Y).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),K=g(/^!?\[(label)\]\[(ref)\]/).replace("label",Y).replace("ref",M).getRegex(),Q=g(/^!?\[(ref)\](?:\[\])?/).replace("ref",M).getRegex(),J={_backpedal:y,anyPunctuation:G,autolink:U,blockSkip:/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,br:L,code:/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,del:y,emStrongLDelim:P,emStrongRDelimAst:V,emStrongRDelimUnd:$,escape:R,link:Z,nolink:Q,punctuation:H,reflink:K,reflinkSearch:g("reflink|nolink(?!\\()","g").replace("reflink",K).replace("nolink",Q).getRegex(),tag:W,text:/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,url:y},ee=(0,r.A)((0,r.A)({},J),{},{link:g(/^!?\[(label)\]\((.*?)\)/).replace("label",Y).getRegex(),reflink:g(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Y).getRegex()}),te=(0,r.A)((0,r.A)({},J),{},{escape:g(R).replace("])","~|])").getRegex(),url:g(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/}),ne=(0,r.A)((0,r.A)({},te),{},{br:g(L).replace("{2,}","*").getRegex(),text:g(te.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()}),re={normal:N,gfm:I,pedantic:q},se={normal:J,gfm:te,breaks:ne,pedantic:ee};class ie{constructor(e){(0,s.A)(this,"tokens",void 0),(0,s.A)(this,"options",void 0),(0,s.A)(this,"state",void 0),(0,s.A)(this,"tokenizer",void 0),(0,s.A)(this,"inlineQueue",void 0),this.tokens=[],this.tokens.links=Object.create(null),this.options=e||o,this.options.tokenizer=this.options.tokenizer||new D,this.tokenizer=this.options.tokenizer,this.tokenizer.options=this.options,this.tokenizer.lexer=this,this.inlineQueue=[],this.state={inLink:!1,inRawBlock:!1,top:!0};const t={block:re.normal,inline:se.normal};this.options.pedantic?(t.block=re.pedantic,t.inline=se.pedantic):this.options.gfm&&(t.block=re.gfm,this.options.breaks?t.inline=se.breaks:t.inline=se.gfm),this.tokenizer.rules=t}static get rules(){return{block:re,inline:se}}static lex(e,t){return new ie(t).lex(e)}static lexInline(e,t){return new ie(t).inlineTokens(e)}lex(e){e=e.replace(/\r\n|\r/g,"\n"),this.blockTokens(e,this.tokens);for(let t=0;t<this.inlineQueue.length;t++){const e=this.inlineQueue[t];this.inlineTokens(e.src,e.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(e){let t,n,r,s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],i=arguments.length>2&&void 0!==arguments[2]&&arguments[2];for(this.options.pedantic&&(e=e.replace(/\t/g," ").replace(/^ +$/gm,""));e;)if(!(this.options.extensions&&this.options.extensions.block&&this.options.extensions.block.some((n=>!!(t=n.call({lexer:this},e,s))&&(e=e.substring(t.raw.length),s.push(t),!0)))))if(t=this.tokenizer.space(e))e=e.substring(t.raw.length),1===t.raw.length&&s.length>0?s[s.length-1].raw+="\n":s.push(t);else if(t=this.tokenizer.code(e))e=e.substring(t.raw.length),n=s[s.length-1],!n||"paragraph"!==n.type&&"text"!==n.type?s.push(t):(n.raw+="\n"+t.raw,n.text+="\n"+t.text,this.inlineQueue[this.inlineQueue.length-1].src=n.text);else if(t=this.tokenizer.fences(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.heading(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.hr(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.blockquote(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.list(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.html(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.def(e))e=e.substring(t.raw.length),n=s[s.length-1],!n||"paragraph"!==n.type&&"text"!==n.type?this.tokens.links[t.tag]||(this.tokens.links[t.tag]={href:t.href,title:t.title}):(n.raw+="\n"+t.raw,n.text+="\n"+t.raw,this.inlineQueue[this.inlineQueue.length-1].src=n.text);else if(t=this.tokenizer.table(e))e=e.substring(t.raw.length),s.push(t);else if(t=this.tokenizer.lheading(e))e=e.substring(t.raw.length),s.push(t);else{if(r=e,this.options.extensions&&this.options.extensions.startBlock){let t=1/0;const n=e.slice(1);let s;this.options.extensions.startBlock.forEach((e=>{s=e.call({lexer:this},n),"number"===typeof s&&s>=0&&(t=Math.min(t,s))})),t<1/0&&t>=0&&(r=e.substring(0,t+1))}var o;if(this.state.top&&(t=this.tokenizer.paragraph(r)))n=s[s.length-1],i&&"paragraph"===(null===(o=n)||void 0===o?void 0:o.type)?(n.raw+="\n"+t.raw,n.text+="\n"+t.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):s.push(t),i=r.length!==e.length,e=e.substring(t.raw.length);else if(t=this.tokenizer.text(e))e=e.substring(t.raw.length),n=s[s.length-1],n&&"text"===n.type?(n.raw+="\n"+t.raw,n.text+="\n"+t.text,this.inlineQueue.pop(),this.inlineQueue[this.inlineQueue.length-1].src=n.text):s.push(t);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}return this.state.top=!0,s}inline(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return this.inlineQueue.push({src:e,tokens:t}),t}inlineTokens(e){let t,n,r,s,i,o,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],l=e;if(this.tokens.links){const e=Object.keys(this.tokens.links);if(e.length>0)for(;null!=(s=this.tokenizer.rules.inline.reflinkSearch.exec(l));)e.includes(s[0].slice(s[0].lastIndexOf("[")+1,-1))&&(l=l.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;null!=(s=this.tokenizer.rules.inline.blockSkip.exec(l));)l=l.slice(0,s.index)+"["+"a".repeat(s[0].length-2)+"]"+l.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;null!=(s=this.tokenizer.rules.inline.anyPunctuation.exec(l));)l=l.slice(0,s.index)+"++"+l.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);for(;e;)if(i||(o=""),i=!1,!(this.options.extensions&&this.options.extensions.inline&&this.options.extensions.inline.some((n=>!!(t=n.call({lexer:this},e,a))&&(e=e.substring(t.raw.length),a.push(t),!0)))))if(t=this.tokenizer.escape(e))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.tag(e))e=e.substring(t.raw.length),n=a[a.length-1],n&&"text"===t.type&&"text"===n.type?(n.raw+=t.raw,n.text+=t.text):a.push(t);else if(t=this.tokenizer.link(e))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.reflink(e,this.tokens.links))e=e.substring(t.raw.length),n=a[a.length-1],n&&"text"===t.type&&"text"===n.type?(n.raw+=t.raw,n.text+=t.text):a.push(t);else if(t=this.tokenizer.emStrong(e,l,o))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.codespan(e))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.br(e))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.del(e))e=e.substring(t.raw.length),a.push(t);else if(t=this.tokenizer.autolink(e))e=e.substring(t.raw.length),a.push(t);else if(this.state.inLink||!(t=this.tokenizer.url(e))){if(r=e,this.options.extensions&&this.options.extensions.startInline){let t=1/0;const n=e.slice(1);let s;this.options.extensions.startInline.forEach((e=>{s=e.call({lexer:this},n),"number"===typeof s&&s>=0&&(t=Math.min(t,s))})),t<1/0&&t>=0&&(r=e.substring(0,t+1))}if(t=this.tokenizer.inlineText(r))e=e.substring(t.raw.length),"_"!==t.raw.slice(-1)&&(o=t.raw.slice(-1)),i=!0,n=a[a.length-1],n&&"text"===n.type?(n.raw+=t.raw,n.text+=t.text):a.push(t);else if(e){const t="Infinite loop on byte: "+e.charCodeAt(0);if(this.options.silent){console.error(t);break}throw new Error(t)}}else e=e.substring(t.raw.length),a.push(t);return a}}class oe{constructor(e){(0,s.A)(this,"options",void 0),(0,s.A)(this,"parser",void 0),this.options=e||o}space(e){return""}code(e){var t;let{text:n,lang:r,escaped:s}=e;const i=null===(t=(r||"").match(/^\S*/))||void 0===t?void 0:t[0],o=n.replace(/\n$/,"")+"\n";return i?'<pre><code class="language-'+d(i)+'">'+(s?o:d(o,!0))+"</code></pre>\n":"<pre><code>"+(s?o:d(o,!0))+"</code></pre>\n"}blockquote(e){let{tokens:t}=e;const n=this.parser.parse(t);return"<blockquote>\n".concat(n,"</blockquote>\n")}html(e){let{text:t}=e;return t}heading(e){let{tokens:t,depth:n}=e;return"<h".concat(n,">").concat(this.parser.parseInline(t),"</h").concat(n,">\n")}hr(e){return"<hr>\n"}list(e){const t=e.ordered,n=e.start;let r="";for(let i=0;i<e.items.length;i++){const t=e.items[i];r+=this.listitem(t)}const s=t?"ol":"ul";return"<"+s+(t&&1!==n?' start="'+n+'"':"")+">\n"+r+"</"+s+">\n"}listitem(e){let t="";if(e.task){const n=this.checkbox({checked:!!e.checked});e.loose?e.tokens.length>0&&"paragraph"===e.tokens[0].type?(e.tokens[0].text=n+" "+e.tokens[0].text,e.tokens[0].tokens&&e.tokens[0].tokens.length>0&&"text"===e.tokens[0].tokens[0].type&&(e.tokens[0].tokens[0].text=n+" "+e.tokens[0].tokens[0].text)):e.tokens.unshift({type:"text",raw:n+" ",text:n+" "}):t+=n+" "}return t+=this.parser.parse(e.tokens,!!e.loose),"<li>".concat(t,"</li>\n")}checkbox(e){let{checked:t}=e;return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph(e){let{tokens:t}=e;return"<p>".concat(this.parser.parseInline(t),"</p>\n")}table(e){let t="",n="";for(let s=0;s<e.header.length;s++)n+=this.tablecell(e.header[s]);t+=this.tablerow({text:n});let r="";for(let s=0;s<e.rows.length;s++){const t=e.rows[s];n="";for(let e=0;e<t.length;e++)n+=this.tablecell(t[e]);r+=this.tablerow({text:n})}return r&&(r="<tbody>".concat(r,"</tbody>")),"<table>\n<thead>\n"+t+"</thead>\n"+r+"</table>\n"}tablerow(e){let{text:t}=e;return"<tr>\n".concat(t,"</tr>\n")}tablecell(e){const t=this.parser.parseInline(e.tokens),n=e.header?"th":"td";return(e.align?"<".concat(n,' align="').concat(e.align,'">'):"<".concat(n,">"))+t+"</".concat(n,">\n")}strong(e){let{tokens:t}=e;return"<strong>".concat(this.parser.parseInline(t),"</strong>")}em(e){let{tokens:t}=e;return"<em>".concat(this.parser.parseInline(t),"</em>")}codespan(e){let{text:t}=e;return"<code>".concat(t,"</code>")}br(e){return"<br>"}del(e){let{tokens:t}=e;return"<del>".concat(this.parser.parseInline(t),"</del>")}link(e){let{href:t,title:n,tokens:r}=e;const s=this.parser.parseInline(r),i=b(t);if(null===i)return s;t=i;let o='<a href="'+t+'"';return n&&(o+=' title="'+n+'"'),o+=">"+s+"</a>",o}image(e){let{href:t,title:n,text:r}=e;const s=b(t);if(null===s)return r;t=s;let i='<img src="'.concat(t,'" alt="').concat(r,'"');return n&&(i+=' title="'.concat(n,'"')),i+=">",i}text(e){return"tokens"in e&&e.tokens?this.parser.parseInline(e.tokens):e.text}}class ae{strong(e){let{text:t}=e;return t}em(e){let{text:t}=e;return t}codespan(e){let{text:t}=e;return t}del(e){let{text:t}=e;return t}html(e){let{text:t}=e;return t}text(e){let{text:t}=e;return t}link(e){let{text:t}=e;return""+t}image(e){let{text:t}=e;return""+t}br(){return""}}class le{constructor(e){(0,s.A)(this,"options",void 0),(0,s.A)(this,"renderer",void 0),(0,s.A)(this,"textRenderer",void 0),this.options=e||o,this.options.renderer=this.options.renderer||new oe,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new ae}static parse(e,t){return new le(t).parse(e)}static parseInline(e,t){return new le(t).parseInline(e)}parse(e){let t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n="";for(let r=0;r<e.length;r++){const s=e[r];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[s.type]){const e=s,t=this.options.extensions.renderers[e.type].call({parser:this},e);if(!1!==t||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(e.type)){n+=t||"";continue}}const i=s;switch(i.type){case"space":n+=this.renderer.space(i);continue;case"hr":n+=this.renderer.hr(i);continue;case"heading":n+=this.renderer.heading(i);continue;case"code":n+=this.renderer.code(i);continue;case"table":n+=this.renderer.table(i);continue;case"blockquote":n+=this.renderer.blockquote(i);continue;case"list":n+=this.renderer.list(i);continue;case"html":n+=this.renderer.html(i);continue;case"paragraph":n+=this.renderer.paragraph(i);continue;case"text":{let s=i,o=this.renderer.text(s);for(;r+1<e.length&&"text"===e[r+1].type;)s=e[++r],o+="\n"+this.renderer.text(s);n+=t?this.renderer.paragraph({type:"paragraph",raw:o,text:o,tokens:[{type:"text",raw:o,text:o}]}):o;continue}default:{const e='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return n}parseInline(e,t){t=t||this.renderer;let n="";for(let r=0;r<e.length;r++){const s=e[r];if(this.options.extensions&&this.options.extensions.renderers&&this.options.extensions.renderers[s.type]){const e=this.options.extensions.renderers[s.type].call({parser:this},s);if(!1!==e||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(s.type)){n+=e||"";continue}}const i=s;switch(i.type){case"escape":case"text":n+=t.text(i);break;case"html":n+=t.html(i);break;case"link":n+=t.link(i);break;case"image":n+=t.image(i);break;case"strong":n+=t.strong(i);break;case"em":n+=t.em(i);break;case"codespan":n+=t.codespan(i);break;case"br":n+=t.br(i);break;case"del":n+=t.del(i);break;default:{const e='Token with "'+i.type+'" type was not found.';if(this.options.silent)return console.error(e),"";throw new Error(e)}}}return n}}class ue{constructor(e){(0,s.A)(this,"options",void 0),(0,s.A)(this,"block",void 0),this.options=e||o}preprocess(e){return e}postprocess(e){return e}processAllTokens(e){return e}provideLexer(){return this.block?ie.lex:ie.lexInline}provideParser(){return this.block?le.parse:le.parseInline}}(0,s.A)(ue,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));const ce=new class{constructor(){(0,s.A)(this,"defaults",{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}),(0,s.A)(this,"options",this.setOptions),(0,s.A)(this,"parse",this.parseMarkdown(!0)),(0,s.A)(this,"parseInline",this.parseMarkdown(!1)),(0,s.A)(this,"Parser",le),(0,s.A)(this,"Renderer",oe),(0,s.A)(this,"TextRenderer",ae),(0,s.A)(this,"Lexer",ie),(0,s.A)(this,"Tokenizer",D),(0,s.A)(this,"Hooks",ue),this.use(...arguments)}walkTokens(e,t){let n=[];for(const s of e)switch(n=n.concat(t.call(this,s)),s.type){case"table":{const e=s;for(const r of e.header)n=n.concat(this.walkTokens(r.tokens,t));for(const r of e.rows)for(const e of r)n=n.concat(this.walkTokens(e.tokens,t));break}case"list":{const e=s;n=n.concat(this.walkTokens(e.items,t));break}default:{var r;const e=s;null!==(r=this.defaults.extensions)&&void 0!==r&&null!==(r=r.childTokens)&&void 0!==r&&r[e.type]?this.defaults.extensions.childTokens[e.type].forEach((r=>{const s=e[r].flat(1/0);n=n.concat(this.walkTokens(s,t))})):e.tokens&&(n=n.concat(this.walkTokens(e.tokens,t)))}}return n}use(){const e=this.defaults.extensions||{renderers:{},childTokens:{}};for(var t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return n.forEach((t=>{const n=(0,r.A)({},t);if(n.async=this.defaults.async||n.async||!1,t.extensions&&(t.extensions.forEach((t=>{if(!t.name)throw new Error("extension name required");if("renderer"in t){const n=e.renderers[t.name];e.renderers[t.name]=n?function(){for(var e=arguments.length,r=new Array(e),s=0;s<e;s++)r[s]=arguments[s];let i=t.renderer.apply(this,r);return!1===i&&(i=n.apply(this,r)),i}:t.renderer}if("tokenizer"in t){if(!t.level||"block"!==t.level&&"inline"!==t.level)throw new Error("extension level must be 'block' or 'inline'");const n=e[t.level];n?n.unshift(t.tokenizer):e[t.level]=[t.tokenizer],t.start&&("block"===t.level?e.startBlock?e.startBlock.push(t.start):e.startBlock=[t.start]:"inline"===t.level&&(e.startInline?e.startInline.push(t.start):e.startInline=[t.start]))}"childTokens"in t&&t.childTokens&&(e.childTokens[t.name]=t.childTokens)})),n.extensions=e),t.renderer){const e=this.defaults.renderer||new oe(this.defaults);for(const n in t.renderer){if(!(n in e))throw new Error("renderer '".concat(n,"' does not exist"));if(["options","parser"].includes(n))continue;const r=n,s=t.renderer[r],i=e[r];e[r]=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];let o=s.apply(e,n);return!1===o&&(o=i.apply(e,n)),o||""}}n.renderer=e}if(t.tokenizer){const e=this.defaults.tokenizer||new D(this.defaults);for(const n in t.tokenizer){if(!(n in e))throw new Error("tokenizer '".concat(n,"' does not exist"));if(["options","rules","lexer"].includes(n))continue;const r=n,s=t.tokenizer[r],i=e[r];e[r]=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];let o=s.apply(e,n);return!1===o&&(o=i.apply(e,n)),o}}n.tokenizer=e}if(t.hooks){const e=this.defaults.hooks||new ue;for(const n in t.hooks){if(!(n in e))throw new Error("hook '".concat(n,"' does not exist"));if(["options","block"].includes(n))continue;const r=n,s=t.hooks[r],i=e[r];ue.passThroughHooks.has(n)?e[r]=t=>{if(this.defaults.async)return Promise.resolve(s.call(e,t)).then((t=>i.call(e,t)));const n=s.call(e,t);return i.call(e,n)}:e[r]=function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];let o=s.apply(e,n);return!1===o&&(o=i.apply(e,n)),o}}n.hooks=e}if(t.walkTokens){const e=this.defaults.walkTokens,r=t.walkTokens;n.walkTokens=function(t){let n=[];return n.push(r.call(this,t)),e&&(n=n.concat(e.call(this,t))),n}}this.defaults=(0,r.A)((0,r.A)({},this.defaults),n)})),this}setOptions(e){return this.defaults=(0,r.A)((0,r.A)({},this.defaults),e),this}lexer(e,t){return ie.lex(e,null!==t&&void 0!==t?t:this.defaults)}parser(e,t){return le.parse(e,null!==t&&void 0!==t?t:this.defaults)}parseMarkdown(e){return(t,n)=>{const s=(0,r.A)({},n),i=(0,r.A)((0,r.A)({},this.defaults),s),o=this.onError(!!i.silent,!!i.async);if(!0===this.defaults.async&&!1===s.async)return o(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if("undefined"===typeof t||null===t)return o(new Error("marked(): input parameter is undefined or null"));if("string"!==typeof t)return o(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(t)+", string expected"));i.hooks&&(i.hooks.options=i,i.hooks.block=e);const a=i.hooks?i.hooks.provideLexer():e?ie.lex:ie.lexInline,l=i.hooks?i.hooks.provideParser():e?le.parse:le.parseInline;if(i.async)return Promise.resolve(i.hooks?i.hooks.preprocess(t):t).then((e=>a(e,i))).then((e=>i.hooks?i.hooks.processAllTokens(e):e)).then((e=>i.walkTokens?Promise.all(this.walkTokens(e,i.walkTokens)).then((()=>e)):e)).then((e=>l(e,i))).then((e=>i.hooks?i.hooks.postprocess(e):e)).catch(o);try{i.hooks&&(t=i.hooks.preprocess(t));let e=a(t,i);i.hooks&&(e=i.hooks.processAllTokens(e)),i.walkTokens&&this.walkTokens(e,i.walkTokens);let n=l(e,i);return i.hooks&&(n=i.hooks.postprocess(n)),n}catch(u){return o(u)}}}onError(e,t){return n=>{if(n.message+="\nPlease report this to https://github.com/markedjs/marked.",e){const e="<p>An error occurred:</p><pre>"+d(n.message+"",!0)+"</pre>";return t?Promise.resolve(e):e}if(t)return Promise.reject(n);throw n}}};function he(e,t){return ce.parse(e,t)}he.options=he.setOptions=function(e){return ce.setOptions(e),he.defaults=ce.defaults,a(he.defaults),he},he.getDefaults=i,he.defaults=o,he.use=function(){return ce.use(...arguments),he.defaults=ce.defaults,a(he.defaults),he},he.walkTokens=function(e,t){return ce.walkTokens(e,t)},he.parseInline=ce.parseInline,he.Parser=le,he.parser=le.parse,he.Renderer=oe,he.TextRenderer=ae,he.Lexer=ie,he.lexer=ie.lex,he.Tokenizer=D,he.Hooks=ue,he.parse=he;he.options,he.setOptions,he.use,he.walkTokens,he.parseInline,le.parse,ie.lex}}]);
3
+ //# sourceMappingURL=50295.90aca393.chunk.js.map