@auto-ai/agent 2.1.204 → 2.1.206

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.
Files changed (61) hide show
  1. package/dist/safe-a/404/index.html +1 -1
  2. package/dist/safe-a/404.html +1 -1
  3. package/dist/safe-a/_next/static/chunks/{8d49e72566260942.js → 1130da797f872f0e.js} +1 -1
  4. package/dist/safe-a/_next/static/chunks/1da49ae596352b69.js +1 -0
  5. package/dist/safe-a/_next/static/chunks/{bbc5dbf5b7ca95b9.js → 27069b3f310e0a86.js} +1 -1
  6. package/dist/safe-a/_next/static/chunks/2f474d38a46f537c.js +1 -0
  7. package/dist/safe-a/_next/static/chunks/44cbf68ad086a6a3.js +1 -0
  8. package/dist/safe-a/_next/static/chunks/4be4ca8f1ec9c171.js +1 -0
  9. package/dist/safe-a/_next/static/chunks/546f232d695d6e60.js +1 -0
  10. package/dist/safe-a/_next/static/chunks/{9884401a1ada05a2.js → 6677c64fd587e78c.js} +1 -1
  11. package/dist/safe-a/_next/static/chunks/696e3ddd135b85b4.js +1 -0
  12. package/dist/safe-a/_next/static/chunks/{1cdda0f50397fe52.js → 6d1f15f3eb86ea37.js} +1 -1
  13. package/dist/safe-a/_next/static/chunks/{8be4fcbf0be681f0.js → 83c83eead018326a.js} +1 -1
  14. package/dist/safe-a/_next/static/chunks/{f26b1d39b7d80da1.js → a437ab944fe911da.js} +1 -1
  15. package/dist/safe-a/_next/static/chunks/b81c0c834a36e7e9.js +1 -0
  16. package/dist/safe-a/_next/static/chunks/{d9b295c816662d1e.css → bff0a34243e1f2c7.css} +1 -1
  17. package/dist/safe-a/_next/static/chunks/c986c8a9aca6f35a.js +1 -0
  18. package/dist/safe-a/_next/static/chunks/e96518d9cb5cbe1e.js +1 -0
  19. package/dist/safe-a/_next/static/chunks/f0f534c89e005d26.css +1 -0
  20. package/dist/safe-a/index.html +2 -2
  21. package/dist/safe-a/index.txt +28 -27
  22. package/dist/safe-a/manage/about/index.html +2 -2
  23. package/dist/safe-a/manage/about/index.txt +11 -11
  24. package/dist/safe-a/manage/env/index.html +2 -2
  25. package/dist/safe-a/manage/env/index.txt +13 -13
  26. package/dist/safe-a/manage/geelib/index.html +2 -2
  27. package/dist/safe-a/manage/geelib/index.txt +13 -13
  28. package/dist/safe-a/manage/general/index.html +2 -2
  29. package/dist/safe-a/manage/general/index.txt +11 -11
  30. package/dist/safe-a/manage/git/index.html +2 -2
  31. package/dist/safe-a/manage/git/index.txt +13 -13
  32. package/dist/safe-a/manage/im/index.html +2 -2
  33. package/dist/safe-a/manage/im/index.txt +13 -13
  34. package/dist/safe-a/manage/index.html +2 -2
  35. package/dist/safe-a/manage/index.txt +8 -8
  36. package/dist/safe-a/manage/library/index.html +2 -2
  37. package/dist/safe-a/manage/library/index.txt +11 -11
  38. package/dist/safe-a/manage/mcp/index.html +2 -2
  39. package/dist/safe-a/manage/mcp/index.txt +11 -11
  40. package/dist/safe-a/manage/permissions/index.html +2 -2
  41. package/dist/safe-a/manage/permissions/index.txt +11 -11
  42. package/dist/safe-a/manage/skills/index.html +2 -2
  43. package/dist/safe-a/manage/skills/index.txt +11 -11
  44. package/dist/safe-a/manage/task/index.html +2 -2
  45. package/dist/safe-a/manage/task/index.txt +11 -11
  46. package/dist/safe-a/manage/teams/index.html +2 -2
  47. package/dist/safe-a/manage/teams/index.txt +11 -11
  48. package/dist/safe-a/manage/tools/index.html +2 -2
  49. package/dist/safe-a/manage/tools/index.txt +11 -11
  50. package/package.json +6 -6
  51. package/dist/safe-a/_next/static/chunks/00307121901a0bb9.js +0 -1
  52. package/dist/safe-a/_next/static/chunks/01bd042e327bca99.js +0 -1
  53. package/dist/safe-a/_next/static/chunks/1ed40908b6f6169a.js +0 -1
  54. package/dist/safe-a/_next/static/chunks/49faa314532847c5.css +0 -1
  55. package/dist/safe-a/_next/static/chunks/550b56a3434336c3.js +0 -1
  56. package/dist/safe-a/_next/static/chunks/6f3dea9281b00eb5.js +0 -1
  57. package/dist/safe-a/_next/static/chunks/72d507de2b27af4a.js +0 -1
  58. package/dist/safe-a/_next/static/chunks/93f9fdbbd32e67ba.js +0 -1
  59. /package/dist/safe-a/_next/static/{BEl-n71uia1gDfWPtEmtu → 1fsL4ESu163u3sXFc_243}/_buildManifest.js +0 -0
  60. /package/dist/safe-a/_next/static/{BEl-n71uia1gDfWPtEmtu → 1fsL4ESu163u3sXFc_243}/_clientMiddlewareManifest.json +0 -0
  61. /package/dist/safe-a/_next/static/{BEl-n71uia1gDfWPtEmtu → 1fsL4ESu163u3sXFc_243}/_ssgManifest.js +0 -0
@@ -0,0 +1 @@
1
+ (globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,96022,e=>{"use strict";e.s(["DRAFT_SHORTCUTS",()=>t,"classifyPasteItems",()=>n,"formatBytes",()=>r]);let t=[{label:"代码",text:"请帮我写一段 TypeScript 函数:"},{label:"排查问题",text:"请帮我分析下面报错的原因并给出修复步骤:\n"},{label:"梳理方案",text:"请针对以下需求列出实现思路与注意事项:\n"},{label:"解释概念",text:"请用简洁中文解释以下概念并举一个例子:\n"},{label:"草稿润色",text:"请润色下面这段文字,保持原意:\n"}];function r(e){let t=Number(e);return!Number.isFinite(t)||t<0?"—":t<1024?"".concat(t," B"):t<1048576?"".concat((t/1024).toFixed(1)," KB"):t<0x40000000?"".concat((t/1048576).toFixed(1)," MB"):"".concat((t/0x40000000).toFixed(1)," GB")}function n(e){if(!e)return{kind:"text"};let t=Array.from(e).filter(e=>"file"===e.kind);return 0===t.length?{kind:"text"}:{kind:"files",files:t.map(e=>e.getAsFile()).filter(e=>null!==e)}}},26568,(e,t,r)=>{"use strict";var n=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,i=/\n/g,a=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,l=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,c=/^[;\s]*/,u=/^\s+|\s+$/g;function h(e){return e?e.replace(u,""):""}t.exports=function(e,t){if("string"!=typeof e)throw TypeError("First argument must be a string");if(!e)return[];t=t||{};var r=1,u=1;function p(e){var t=e.match(i);t&&(r+=t.length);var n=e.lastIndexOf("\n");u=~n?e.length-n:u+e.length}function m(){var e={line:r,column:u};return function(t){return t.position=new d(e),g(a),t}}function d(e){this.start=e,this.end={line:r,column:u},this.source=t.source}function f(n){var i=Error(t.source+":"+r+":"+u+": "+n);if(i.reason=n,i.filename=t.source,i.line=r,i.column=u,i.source=e,t.silent);else throw i}function g(t){var r=t.exec(e);if(r){var n=r[0];return p(n),e=e.slice(n.length),r}}function y(e){var t;for(e=e||[];t=v();)!1!==t&&e.push(t);return e}function v(){var t=m();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var r=2;""!=e.charAt(r)&&("*"!=e.charAt(r)||"/"!=e.charAt(r+1));)++r;if(r+=2,""===e.charAt(r-1))return f("End of comment missing");var n=e.slice(2,r-2);return u+=2,p(n),e=e.slice(r),u+=2,t({type:"comment",comment:n})}}d.prototype.content=e,g(a);var b,x=[];for(y(x);b=function(){var e=m(),t=g(o);if(t){if(v(),!g(l))return f("property missing ':'");var r=g(s),i=e({type:"declaration",property:h(t[0].replace(n,"")),value:r?h(r[0].replace(n,"")):""});return g(c),i}}();)!1!==b&&(x.push(b),y(x));return x}},30070,(e,t,r)=>{"use strict";var n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.default=function(e,t){let r=null;if(!e||"string"!=typeof e)return r;let n=(0,i.default)(e),a="function"==typeof t;return n.forEach(e=>{if("declaration"!==e.type)return;let{property:n,value:i}=e;a?t(n,i,e):i&&((r=r||{})[n]=i)}),r};let i=n(e.r(26568))},65185,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,i=/-([a-z])/g,a=/^[^-]+$/,o=/^-(webkit|moz|ms|o|khtml)-/,l=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},c=function(e,t){return"".concat(t,"-")};r.camelCase=function(e,t){var r;return(void 0===t&&(t={}),!(r=e)||a.test(r)||n.test(r))?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(l,c):e.replace(o,c)).replace(i,s))}},15511,(e,t,r)=>{"use strict";var n=(e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(e.r(30070)),i=e.r(65185);function a(e,t){var r={};return e&&"string"==typeof e&&(0,n.default)(e,function(e,n){e&&n&&(r[(0,i.camelCase)(e,t)]=n)}),r}a.default=a,t.exports=a},4100,(e,t,r)=>{"use strict";var n=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=Object.defineProperty,o=Object.getOwnPropertyDescriptor,l=function(e){return"function"==typeof Array.isArray?Array.isArray(e):"[object Array]"===i.call(e)},s=function(e){if(!e||"[object Object]"!==i.call(e))return!1;var t,r=n.call(e,"constructor"),a=e.constructor&&e.constructor.prototype&&n.call(e.constructor.prototype,"isPrototypeOf");if(e.constructor&&!r&&!a)return!1;for(t in e);return void 0===t||n.call(e,t)},c=function(e,t){a&&"__proto__"===t.name?a(e,t.name,{enumerable:!0,configurable:!0,value:t.newValue,writable:!0}):e[t.name]=t.newValue},u=function(e,t){if("__proto__"===t){if(!n.call(e,t))return;else if(o)return o(e,t).value}return e[t]};t.exports=function e(){var t,r,n,i,a,o,h=arguments[0],p=1,m=arguments.length,d=!1;for("boolean"==typeof h&&(d=h,h=arguments[1]||{},p=2),(null==h||"object"!=typeof h&&"function"!=typeof h)&&(h={});p<m;++p)if(t=arguments[p],null!=t)for(r in t)n=u(h,r),h!==(i=u(t,r))&&(d&&i&&(s(i)||(a=l(i)))?(a?(a=!1,o=n&&l(n)?n:[]):o=n&&s(n)?n:{},c(h,{name:r,newValue:e(d,o,i)})):void 0!==i&&c(h,{name:r,newValue:i}));return h}},67034,(e,t,r)=>{!function(){var e={675:function(e,t){"use strict";t.byteLength=function(e){var t=s(e),r=t[0],n=t[1];return(r+n)*3/4-n},t.toByteArray=function(e){var t,r,a=s(e),o=a[0],l=a[1],c=new i((o+l)*3/4-l),u=0,h=l>0?o-4:o;for(r=0;r<h;r+=4)t=n[e.charCodeAt(r)]<<18|n[e.charCodeAt(r+1)]<<12|n[e.charCodeAt(r+2)]<<6|n[e.charCodeAt(r+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=255&t;return 2===l&&(t=n[e.charCodeAt(r)]<<2|n[e.charCodeAt(r+1)]>>4,c[u++]=255&t),1===l&&(t=n[e.charCodeAt(r)]<<10|n[e.charCodeAt(r+1)]<<4|n[e.charCodeAt(r+2)]>>2,c[u++]=t>>8&255,c[u++]=255&t),c},t.fromByteArray=function(e){for(var t,n=e.length,i=n%3,a=[],o=0,l=n-i;o<l;o+=16383)a.push(function(e,t,n){for(var i,a=[],o=t;o<n;o+=3)i=(e[o]<<16&0xff0000)+(e[o+1]<<8&65280)+(255&e[o+2]),a.push(r[i>>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return a.join("")}(e,o,o+16383>l?l:o+16383));return 1===i?a.push(r[(t=e[n-1])>>2]+r[t<<4&63]+"=="):2===i&&a.push(r[(t=(e[n-2]<<8)+e[n-1])>>10]+r[t>>4&63]+r[t<<2&63]+"="),a.join("")};for(var r=[],n=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,l=a.length;o<l;++o)r[o]=a[o],n[a.charCodeAt(o)]=o;function s(e){var t=e.length;if(t%4>0)throw Error("Invalid string. Length must be a multiple of 4");var r=e.indexOf("=");-1===r&&(r=t);var n=r===t?0:4-r%4;return[r,n]}n[45]=62,n[95]=63},72:function(e,t,r){"use strict";var n=r(675),i=r(783),a="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):null;function o(e){if(e>0x7fffffff)throw RangeError('The value "'+e+'" is invalid for option "size"');var t=new Uint8Array(e);return Object.setPrototypeOf(t,l.prototype),t}function l(e,t,r){if("number"==typeof e){if("string"==typeof t)throw TypeError('The "string" argument must be of type string. Received type number');return u(e)}return s(e,t,r)}function s(e,t,r){if("string"==typeof e){var n=e,i=t;if(("string"!=typeof i||""===i)&&(i="utf8"),!l.isEncoding(i))throw TypeError("Unknown encoding: "+i);var a=0|m(n,i),s=o(a),c=s.write(n,i);return c!==a&&(s=s.slice(0,c)),s}if(ArrayBuffer.isView(e))return h(e);if(null==e)throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e);if(E(e,ArrayBuffer)||e&&E(e.buffer,ArrayBuffer)||"undefined"!=typeof SharedArrayBuffer&&(E(e,SharedArrayBuffer)||e&&E(e.buffer,SharedArrayBuffer)))return function(e,t,r){var n;if(t<0||e.byteLength<t)throw RangeError('"offset" is outside of buffer bounds');if(e.byteLength<t+(r||0))throw RangeError('"length" is outside of buffer bounds');return Object.setPrototypeOf(n=void 0===t&&void 0===r?new Uint8Array(e):void 0===r?new Uint8Array(e,t):new Uint8Array(e,t,r),l.prototype),n}(e,t,r);if("number"==typeof e)throw TypeError('The "value" argument must not be of type number. Received type number');var u=e.valueOf&&e.valueOf();if(null!=u&&u!==e)return l.from(u,t,r);var d=function(e){if(l.isBuffer(e)){var t=0|p(e.length),r=o(t);return 0===r.length||e.copy(r,0,0,t),r}return void 0!==e.length?"number"!=typeof e.length||function(e){return e!=e}(e.length)?o(0):h(e):"Buffer"===e.type&&Array.isArray(e.data)?h(e.data):void 0}(e);if(d)return d;if("undefined"!=typeof Symbol&&null!=Symbol.toPrimitive&&"function"==typeof e[Symbol.toPrimitive])return l.from(e[Symbol.toPrimitive]("string"),t,r);throw TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof e)}function c(e){if("number"!=typeof e)throw TypeError('"size" argument must be of type number');if(e<0)throw RangeError('The value "'+e+'" is invalid for option "size"')}function u(e){return c(e),o(e<0?0:0|p(e))}function h(e){for(var t=e.length<0?0:0|p(e.length),r=o(t),n=0;n<t;n+=1)r[n]=255&e[n];return r}t.Buffer=l,t.SlowBuffer=function(e){return+e!=e&&(e=0),l.alloc(+e)},t.INSPECT_MAX_BYTES=50,t.kMaxLength=0x7fffffff,l.TYPED_ARRAY_SUPPORT=function(){try{var e=new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),42===e.foo()}catch(e){return!1}}(),l.TYPED_ARRAY_SUPPORT||"undefined"==typeof console||"function"!=typeof console.error||console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."),Object.defineProperty(l.prototype,"parent",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.buffer}}),Object.defineProperty(l.prototype,"offset",{enumerable:!0,get:function(){if(l.isBuffer(this))return this.byteOffset}}),l.poolSize=8192,l.from=function(e,t,r){return s(e,t,r)},Object.setPrototypeOf(l.prototype,Uint8Array.prototype),Object.setPrototypeOf(l,Uint8Array),l.alloc=function(e,t,r){return(c(e),e<=0)?o(e):void 0!==t?"string"==typeof r?o(e).fill(t,r):o(e).fill(t):o(e)},l.allocUnsafe=function(e){return u(e)},l.allocUnsafeSlow=function(e){return u(e)};function p(e){if(e>=0x7fffffff)throw RangeError("Attempt to allocate Buffer larger than maximum size: 0x7fffffff bytes");return 0|e}function m(e,t){if(l.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||E(e,ArrayBuffer))return e.byteLength;if("string"!=typeof e)throw TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof e);var r=e.length,n=arguments.length>2&&!0===arguments[2];if(!n&&0===r)return 0;for(var i=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":return C(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return _(e).length;default:if(i)return n?-1:C(e).length;t=(""+t).toLowerCase(),i=!0}}function d(e,t,r){var i,a,o,l=!1;if((void 0===t||t<0)&&(t=0),t>this.length||((void 0===r||r>this.length)&&(r=this.length),r<=0||(r>>>=0)<=(t>>>=0)))return"";for(e||(e="utf8");;)switch(e){case"hex":return function(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",a=t;a<r;++a)i+=z[e[a]];return i}(this,t,r);case"utf8":case"utf-8":return v(this,t,r);case"ascii":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}(this,t,r);case"latin1":case"binary":return function(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}(this,t,r);case"base64":return i=this,a=t,o=r,0===a&&o===i.length?n.fromByteArray(i):n.fromByteArray(i.slice(a,o));case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return function(e,t,r){for(var n=e.slice(t,r),i="",a=0;a<n.length;a+=2)i+=String.fromCharCode(n[a]+256*n[a+1]);return i}(this,t,r);default:if(l)throw TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),l=!0}}function f(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function g(e,t,r,n,i){var a;if(0===e.length)return -1;if("string"==typeof r?(n=r,r=0):r>0x7fffffff?r=0x7fffffff:r<-0x80000000&&(r=-0x80000000),(a=r*=1)!=a&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length)if(i)return -1;else r=e.length-1;else if(r<0)if(!i)return -1;else r=0;if("string"==typeof t&&(t=l.from(t,n)),l.isBuffer(t))return 0===t.length?-1:y(e,t,r,n,i);if("number"==typeof t){if(t&=255,"function"==typeof Uint8Array.prototype.indexOf)if(i)return Uint8Array.prototype.indexOf.call(e,t,r);else return Uint8Array.prototype.lastIndexOf.call(e,t,r);return y(e,[t],r,n,i)}throw TypeError("val must be string, number or Buffer")}function y(e,t,r,n,i){var a,o=1,l=e.length,s=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return -1;o=2,l/=2,s/=2,r/=2}function c(e,t){return 1===o?e[t]:e.readUInt16BE(t*o)}if(i){var u=-1;for(a=r;a<l;a++)if(c(e,a)===c(t,-1===u?0:a-u)){if(-1===u&&(u=a),a-u+1===s)return u*o}else -1!==u&&(a-=a-u),u=-1}else for(r+s>l&&(r=l-s),a=r;a>=0;a--){for(var h=!0,p=0;p<s;p++)if(c(e,a+p)!==c(t,p)){h=!1;break}if(h)return a}return -1}l.isBuffer=function(e){return null!=e&&!0===e._isBuffer&&e!==l.prototype},l.compare=function(e,t){if(E(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),E(t,Uint8Array)&&(t=l.from(t,t.offset,t.byteLength)),!l.isBuffer(e)||!l.isBuffer(t))throw TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if(e===t)return 0;for(var r=e.length,n=t.length,i=0,a=Math.min(r,n);i<a;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:+(n<r)},l.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},l.concat=function(e,t){if(!Array.isArray(e))throw TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return l.alloc(0);if(void 0===t)for(r=0,t=0;r<e.length;++r)t+=e[r].length;var r,n=l.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var a=e[r];if(E(a,Uint8Array)&&(a=l.from(a)),!l.isBuffer(a))throw TypeError('"list" argument must be an Array of Buffers');a.copy(n,i),i+=a.length}return n},l.byteLength=m,l.prototype._isBuffer=!0,l.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)f(this,t,t+1);return this},l.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)f(this,t,t+3),f(this,t+1,t+2);return this},l.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)f(this,t,t+7),f(this,t+1,t+6),f(this,t+2,t+5),f(this,t+3,t+4);return this},l.prototype.toString=function(){var e=this.length;return 0===e?"":0==arguments.length?v(this,0,e):d.apply(this,arguments)},l.prototype.toLocaleString=l.prototype.toString,l.prototype.equals=function(e){if(!l.isBuffer(e))throw TypeError("Argument must be a Buffer");return this===e||0===l.compare(this,e)},l.prototype.inspect=function(){var e="",r=t.INSPECT_MAX_BYTES;return e=this.toString("hex",0,r).replace(/(.{2})/g,"$1 ").trim(),this.length>r&&(e+=" ... "),"<Buffer "+e+">"},a&&(l.prototype[a]=l.prototype.inspect),l.prototype.compare=function(e,t,r,n,i){if(E(e,Uint8Array)&&(e=l.from(e,e.offset,e.byteLength)),!l.isBuffer(e))throw TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof e);if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return -1;if(t>=r)return 1;if(t>>>=0,r>>>=0,n>>>=0,i>>>=0,this===e)return 0;for(var a=i-n,o=r-t,s=Math.min(a,o),c=this.slice(n,i),u=e.slice(t,r),h=0;h<s;++h)if(c[h]!==u[h]){a=c[h],o=u[h];break}return a<o?-1:+(o<a)},l.prototype.includes=function(e,t,r){return -1!==this.indexOf(e,t,r)},l.prototype.indexOf=function(e,t,r){return g(this,e,t,r,!0)},l.prototype.lastIndexOf=function(e,t,r){return g(this,e,t,r,!1)};function v(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var a,o,l,s,c=e[i],u=null,h=c>239?4:c>223?3:c>191?2:1;if(i+h<=r)switch(h){case 1:c<128&&(u=c);break;case 2:(192&(a=e[i+1]))==128&&(s=(31&c)<<6|63&a)>127&&(u=s);break;case 3:a=e[i+1],o=e[i+2],(192&a)==128&&(192&o)==128&&(s=(15&c)<<12|(63&a)<<6|63&o)>2047&&(s<55296||s>57343)&&(u=s);break;case 4:a=e[i+1],o=e[i+2],l=e[i+3],(192&a)==128&&(192&o)==128&&(192&l)==128&&(s=(15&c)<<18|(63&a)<<12|(63&o)<<6|63&l)>65535&&s<1114112&&(u=s)}null===u?(u=65533,h=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),i+=h}var p=n,m=p.length;if(m<=4096)return String.fromCharCode.apply(String,p);for(var d="",f=0;f<m;)d+=String.fromCharCode.apply(String,p.slice(f,f+=4096));return d}function b(e,t,r){if(e%1!=0||e<0)throw RangeError("offset is not uint");if(e+t>r)throw RangeError("Trying to access beyond buffer length")}function x(e,t,r,n,i,a){if(!l.isBuffer(e))throw TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<a)throw RangeError('"value" argument is out of bounds');if(r+n>e.length)throw RangeError("Index out of range")}function w(e,t,r,n,i,a){if(r+n>e.length||r<0)throw RangeError("Index out of range")}function k(e,t,r,n,a){return t*=1,r>>>=0,a||w(e,t,r,4,34028234663852886e22,-34028234663852886e22),i.write(e,t,r,n,23,4),r+4}function A(e,t,r,n,a){return t*=1,r>>>=0,a||w(e,t,r,8,17976931348623157e292,-17976931348623157e292),i.write(e,t,r,n,52,8),r+8}l.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(r)?(r>>>=0,void 0===n&&(n="utf8")):(n=r,r=void 0);else throw Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");var i,a,o,l,s,c,u,h,p=this.length-t;if((void 0===r||r>p)&&(r=p),e.length>0&&(r<0||t<0)||t>this.length)throw RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var m=!1;;)switch(n){case"hex":return function(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var a=t.length;n>a/2&&(n=a/2);for(var o=0;o<n;++o){var l,s=parseInt(t.substr(2*o,2),16);if((l=s)!=l)break;e[r+o]=s}return o}(this,e,t,r);case"utf8":case"utf-8":return i=t,a=r,M(C(e,this.length-i),this,i,a);case"ascii":return o=t,l=r,M(T(e),this,o,l);case"latin1":case"binary":return function(e,t,r,n){return M(T(t),e,r,n)}(this,e,t,r);case"base64":return s=t,c=r,M(_(e),this,s,c);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return u=t,h=r,M(function(e,t){for(var r,n,i=[],a=0;a<e.length&&!((t-=2)<0);++a)n=(r=e.charCodeAt(a))>>8,i.push(r%256),i.push(n);return i}(e,this.length-u),this,u,h);default:if(m)throw TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),m=!0}},l.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},l.prototype.slice=function(e,t){var r=this.length;e=~~e,t=void 0===t?r:~~t,e<0?(e+=r)<0&&(e=0):e>r&&(e=r),t<0?(t+=r)<0&&(t=0):t>r&&(t=r),t<e&&(t=e);var n=this.subarray(e,t);return Object.setPrototypeOf(n,l.prototype),n},l.prototype.readUIntLE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e],i=1,a=0;++a<t&&(i*=256);)n+=this[e+a]*i;return n},l.prototype.readUIntBE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},l.prototype.readUInt8=function(e,t){return e>>>=0,t||b(e,1,this.length),this[e]},l.prototype.readUInt16LE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]|this[e+1]<<8},l.prototype.readUInt16BE=function(e,t){return e>>>=0,t||b(e,2,this.length),this[e]<<8|this[e+1]},l.prototype.readUInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+0x1000000*this[e+3]},l.prototype.readUInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),0x1000000*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},l.prototype.readIntLE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=this[e],i=1,a=0;++a<t&&(i*=256);)n+=this[e+a]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},l.prototype.readIntBE=function(e,t,r){e>>>=0,t>>>=0,r||b(e,t,this.length);for(var n=t,i=1,a=this[e+--n];n>0&&(i*=256);)a+=this[e+--n]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*t)),a},l.prototype.readInt8=function(e,t){return(e>>>=0,t||b(e,1,this.length),128&this[e])?-((255-this[e]+1)*1):this[e]},l.prototype.readInt16LE=function(e,t){e>>>=0,t||b(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?0xffff0000|r:r},l.prototype.readInt16BE=function(e,t){e>>>=0,t||b(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?0xffff0000|r:r},l.prototype.readInt32LE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},l.prototype.readInt32BE=function(e,t){return e>>>=0,t||b(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},l.prototype.readFloatLE=function(e,t){return e>>>=0,t||b(e,4,this.length),i.read(this,e,!0,23,4)},l.prototype.readFloatBE=function(e,t){return e>>>=0,t||b(e,4,this.length),i.read(this,e,!1,23,4)},l.prototype.readDoubleLE=function(e,t){return e>>>=0,t||b(e,8,this.length),i.read(this,e,!0,52,8)},l.prototype.readDoubleBE=function(e,t){return e>>>=0,t||b(e,8,this.length),i.read(this,e,!1,52,8)},l.prototype.writeUIntLE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;x(this,e,t,r,i,0)}var a=1,o=0;for(this[t]=255&e;++o<r&&(a*=256);)this[t+o]=e/a&255;return t+r},l.prototype.writeUIntBE=function(e,t,r,n){if(e*=1,t>>>=0,r>>>=0,!n){var i=Math.pow(2,8*r)-1;x(this,e,t,r,i,0)}var a=r-1,o=1;for(this[t+a]=255&e;--a>=0&&(o*=256);)this[t+a]=e/o&255;return t+r},l.prototype.writeUInt8=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,1,255,0),this[t]=255&e,t+1},l.prototype.writeUInt16LE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,2,65535,0),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeUInt16BE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeUInt32LE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,4,0xffffffff,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e,t+4},l.prototype.writeUInt32BE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,4,0xffffffff,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeIntLE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var i=Math.pow(2,8*r-1);x(this,e,t,r,i-1,-i)}var a=0,o=1,l=0;for(this[t]=255&e;++a<r&&(o*=256);)e<0&&0===l&&0!==this[t+a-1]&&(l=1),this[t+a]=(e/o|0)-l&255;return t+r},l.prototype.writeIntBE=function(e,t,r,n){if(e*=1,t>>>=0,!n){var i=Math.pow(2,8*r-1);x(this,e,t,r,i-1,-i)}var a=r-1,o=1,l=0;for(this[t+a]=255&e;--a>=0&&(o*=256);)e<0&&0===l&&0!==this[t+a+1]&&(l=1),this[t+a]=(e/o|0)-l&255;return t+r},l.prototype.writeInt8=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=255&e,t+1},l.prototype.writeInt16LE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,2,32767,-32768),this[t]=255&e,this[t+1]=e>>>8,t+2},l.prototype.writeInt16BE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=255&e,t+2},l.prototype.writeInt32LE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,4,0x7fffffff,-0x80000000),this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},l.prototype.writeInt32BE=function(e,t,r){return e*=1,t>>>=0,r||x(this,e,t,4,0x7fffffff,-0x80000000),e<0&&(e=0xffffffff+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e,t+4},l.prototype.writeFloatLE=function(e,t,r){return k(this,e,t,!0,r)},l.prototype.writeFloatBE=function(e,t,r){return k(this,e,t,!1,r)},l.prototype.writeDoubleLE=function(e,t,r){return A(this,e,t,!0,r)},l.prototype.writeDoubleBE=function(e,t,r){return A(this,e,t,!1,r)},l.prototype.copy=function(e,t,r,n){if(!l.isBuffer(e))throw TypeError("argument should be a Buffer");if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r||0===e.length||0===this.length)return 0;if(t<0)throw RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw RangeError("Index out of range");if(n<0)throw RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i=n-r;if(this===e&&"function"==typeof Uint8Array.prototype.copyWithin)this.copyWithin(t,r,n);else if(this===e&&r<t&&t<n)for(var a=i-1;a>=0;--a)e[a+t]=this[a+r];else Uint8Array.prototype.set.call(e,this.subarray(r,n),t);return i},l.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),void 0!==n&&"string"!=typeof n)throw TypeError("encoding must be a string");if("string"==typeof n&&!l.isEncoding(n))throw TypeError("Unknown encoding: "+n);if(1===e.length){var i,a=e.charCodeAt(0);("utf8"===n&&a<128||"latin1"===n)&&(e=a)}}else"number"==typeof e?e&=255:"boolean"==typeof e&&(e=Number(e));if(t<0||this.length<t||this.length<r)throw RangeError("Out of range index");if(r<=t)return this;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(i=t;i<r;++i)this[i]=e;else{var o=l.isBuffer(e)?e:l.from(e,n),s=o.length;if(0===s)throw TypeError('The value "'+e+'" is invalid for argument "value"');for(i=0;i<r-t;++i)this[i+t]=o[i%s]}return this};var S=/[^+/0-9A-Za-z-_]/g;function C(e,t){t=t||1/0;for(var r,n=e.length,i=null,a=[],o=0;o<n;++o){if((r=e.charCodeAt(o))>55295&&r<57344){if(!i){if(r>56319||o+1===n){(t-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&a.push(239,191,189),i=r;continue}r=(i-55296<<10|r-56320)+65536}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;a.push(r)}else if(r<2048){if((t-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else if(r<1114112){if((t-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}else throw Error("Invalid code point")}return a}function T(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}function _(e){return n.toByteArray(function(e){if((e=(e=e.split("=")[0]).trim().replace(S,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function M(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length)&&!(i>=e.length);++i)t[i+r]=e[i];return i}function E(e,t){return e instanceof t||null!=e&&null!=e.constructor&&null!=e.constructor.name&&e.constructor.name===t.name}var z=function(){for(var e="0123456789abcdef",t=Array(256),r=0;r<16;++r)for(var n=16*r,i=0;i<16;++i)t[n+i]=e[r]+e[i];return t}()},783:function(e,t){t.read=function(e,t,r,n,i){var a,o,l=8*i-n-1,s=(1<<l)-1,c=s>>1,u=-7,h=r?i-1:0,p=r?-1:1,m=e[t+h];for(h+=p,a=m&(1<<-u)-1,m>>=-u,u+=l;u>0;a=256*a+e[t+h],h+=p,u-=8);for(o=a&(1<<-u)-1,a>>=-u,u+=n;u>0;o=256*o+e[t+h],h+=p,u-=8);if(0===a)a=1-c;else{if(a===s)return o?NaN:1/0*(m?-1:1);o+=Math.pow(2,n),a-=c}return(m?-1:1)*o*Math.pow(2,a-n)},t.write=function(e,t,r,n,i,a){var o,l,s,c=8*a-i-1,u=(1<<c)-1,h=u>>1,p=5960464477539062e-23*(23===i),m=n?0:a-1,d=n?1:-1,f=+(t<0||0===t&&1/t<0);for(isNaN(t=Math.abs(t))||t===1/0?(l=+!!isNaN(t),o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(s=Math.pow(2,-o))<1&&(o--,s*=2),o+h>=1?t+=p/s:t+=p*Math.pow(2,1-h),t*s>=2&&(o++,s/=2),o+h>=u?(l=0,o=u):o+h>=1?(l=(t*s-1)*Math.pow(2,i),o+=h):(l=t*Math.pow(2,h-1)*Math.pow(2,i),o=0));i>=8;e[r+m]=255&l,m+=d,l/=256,i-=8);for(o=o<<i|l,c+=i;c>0;e[r+m]=255&o,m+=d,o/=256,c-=8);e[r+m-d]|=128*f}}},r={};function n(t){var i=r[t];if(void 0!==i)return i.exports;var a=r[t]={exports:{}},o=!0;try{e[t](a,a.exports,n),o=!1}finally{o&&delete r[t]}return a.exports}n.ab="/ROOT/node_modules/next/dist/compiled/buffer/",t.exports=n(72)}()},83154,50052,e=>{"use strict";let t,r,n;e.s(["ChatMarkdownRemark",()=>pE,"ShikiCodePreview",()=>p_,"extractMessageBodyByRemark",()=>pN],83154);var i,a,o,l,s,c,u,h,p,m,d,f,g,y,v,b,x,w,k,A=e.i(71645);function S(){}function C(){}function T(e){let t=[],r=String(e||""),n=r.indexOf(","),i=0,a=!1;for(;!a;){-1===n&&(n=r.length,a=!0);let e=r.slice(i,n).trim();(e||!a)&&t.push(e),i=n+1,n=r.indexOf(",",i)}return t}function _(e,t){let r=t||{};return(""===e[e.length-1]?[...e,""]:e).join((r.padRight?" ":"")+","+(!1===r.padLeft?"":" ")).trim()}RegExp("[$_\\p{ID_Start}]","u"),RegExp("[$_\\u{200C}\\u{200D}\\p{ID_Continue}]","u"),RegExp("[-$_\\u{200C}\\u{200D}\\p{ID_Continue}]","u");let M=RegExp("^[$_\\p{ID_Start}][$_\\u{200C}\\u{200D}\\p{ID_Continue}]*$","u"),E=RegExp("^[$_\\p{ID_Start}][-$_\\u{200C}\\u{200D}\\p{ID_Continue}]*$","u"),z={};function N(e,t){return((t||z).jsx?E:M).test(e)}let I=/[ \t\n\f\r]/g;function L(e){return"object"==typeof e?"text"===e.type&&R(e.value):R(e)}function R(e){return""===e.replace(I,"")}class P{constructor(e,t){this.attribute=t,this.property=e}}P.prototype.attribute="",P.prototype.booleanish=!1,P.prototype.boolean=!1,P.prototype.commaOrSpaceSeparated=!1,P.prototype.commaSeparated=!1,P.prototype.defined=!1,P.prototype.mustUseProperty=!1,P.prototype.number=!1,P.prototype.overloadedBoolean=!1,P.prototype.property="",P.prototype.spaceSeparated=!1,P.prototype.space=void 0,e.s(["boolean",()=>O,"booleanish",()=>D,"commaOrSpaceSeparated",()=>U,"commaSeparated",()=>H,"number",()=>q,"overloadedBoolean",()=>F,"spaceSeparated",()=>j],744);let B=0,O=G(),D=G(),F=G(),q=G(),j=G(),H=G(),U=G();function G(){return 2**++B}var V=e.i(744);let W=Object.keys(V);class $ extends P{constructor(e,t,r,n){let i=-1;if(super(e,t),function(e,t,r){r&&(e[t]=r)}(this,"space",n),"number"==typeof r)for(;++i<W.length;){let e=W[i];!function(e,t,r){r&&(e[t]=r)}(this,W[i],(r&V[e])===V[e])}}}function X(e){return e.toLowerCase()}$.prototype.defined=!0;let Y=/[A-Z]/g,K=/-[a-z]/g,J=/^data[-\w.:]+$/i;function Q(e,t){let r=X(t),n=t,i=P;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&"data"===r.slice(0,4)&&J.test(t)){if("-"===t.charAt(4)){let e=t.slice(5).replace(K,ee);n="data"+e.charAt(0).toUpperCase()+e.slice(1)}else{let e=t.slice(4);if(!K.test(e)){let r=e.replace(Y,Z);"-"!==r.charAt(0)&&(r="-"+r),t="data"+r}}i=$}return new i(n,t)}function Z(e){return"-"+e.toLowerCase()}function ee(e){return e.charAt(1).toUpperCase()}let et={classId:"classID",dataType:"datatype",itemId:"itemID",strokeDashArray:"strokeDasharray",strokeDashOffset:"strokeDashoffset",strokeLineCap:"strokeLinecap",strokeLineJoin:"strokeLinejoin",strokeMiterLimit:"strokeMiterlimit",typeOf:"typeof",xLinkActuate:"xlinkActuate",xLinkArcRole:"xlinkArcrole",xLinkHref:"xlinkHref",xLinkRole:"xlinkRole",xLinkShow:"xlinkShow",xLinkTitle:"xlinkTitle",xLinkType:"xlinkType",xmlnsXLink:"xmlnsXlink"};class er{constructor(e,t,r){this.normal=t,this.property=e,r&&(this.space=r)}}function en(e,t){let r={},n={};for(let t of e)Object.assign(r,t.property),Object.assign(n,t.normal);return new er(r,n,t)}function ei(e){let t={},r={};for(let[n,i]of Object.entries(e.properties)){let a=new $(n,e.transform(e.attributes||{},n),i,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(a.mustUseProperty=!0),t[n]=a,r[X(n)]=n,r[X(a.attribute)]=n}return new er(t,r,e.space)}er.prototype.normal={},er.prototype.property={},er.prototype.space=void 0;let ea=ei({properties:{ariaActiveDescendant:null,ariaAtomic:D,ariaAutoComplete:null,ariaBusy:D,ariaChecked:D,ariaColCount:q,ariaColIndex:q,ariaColSpan:q,ariaControls:j,ariaCurrent:null,ariaDescribedBy:j,ariaDetails:null,ariaDisabled:D,ariaDropEffect:j,ariaErrorMessage:null,ariaExpanded:D,ariaFlowTo:j,ariaGrabbed:D,ariaHasPopup:null,ariaHidden:D,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:j,ariaLevel:q,ariaLive:null,ariaModal:D,ariaMultiLine:D,ariaMultiSelectable:D,ariaOrientation:null,ariaOwns:j,ariaPlaceholder:null,ariaPosInSet:q,ariaPressed:D,ariaReadOnly:D,ariaRelevant:null,ariaRequired:D,ariaRoleDescription:j,ariaRowCount:q,ariaRowIndex:q,ariaRowSpan:q,ariaSelected:D,ariaSetSize:q,ariaSort:null,ariaValueMax:q,ariaValueMin:q,ariaValueNow:q,ariaValueText:null,role:null},transform:(e,t)=>"role"===t?t:"aria-"+t.slice(4).toLowerCase()});function eo(e,t){return t in e?e[t]:t}function el(e,t){return eo(e,t.toLowerCase())}let es=ei({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:H,acceptCharset:j,accessKey:j,action:null,allow:null,allowFullScreen:O,allowPaymentRequest:O,allowUserMedia:O,alpha:O,alt:null,as:null,async:O,autoCapitalize:null,autoComplete:j,autoFocus:O,autoPlay:O,blocking:j,capture:null,charSet:null,checked:O,cite:null,className:j,closedBy:null,colorSpace:null,cols:q,colSpan:q,command:null,commandFor:null,content:null,contentEditable:D,controls:O,controlsList:j,coords:q|H,crossOrigin:null,data:null,dateTime:null,decoding:null,default:O,defer:O,dir:null,dirName:null,disabled:O,download:F,draggable:D,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:O,formTarget:null,headers:j,height:q,hidden:F,high:q,href:null,hrefLang:null,htmlFor:j,httpEquiv:j,id:null,imageSizes:null,imageSrcSet:null,inert:O,inputMode:null,integrity:null,is:null,isMap:O,itemId:null,itemProp:j,itemRef:j,itemScope:O,itemType:j,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:O,low:q,manifest:null,max:null,maxLength:q,media:null,method:null,min:null,minLength:q,multiple:O,muted:O,name:null,nonce:null,noModule:O,noValidate:O,onAbort:null,onAfterPrint:null,onAuxClick:null,onBeforeMatch:null,onBeforePrint:null,onBeforeToggle:null,onBeforeUnload:null,onBlur:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onContextLost:null,onContextMenu:null,onContextRestored:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnded:null,onError:null,onFocus:null,onFormData:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLanguageChange:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadEnd:null,onLoadStart:null,onMessage:null,onMessageError:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRejectionHandled:null,onReset:null,onResize:null,onScroll:null,onScrollEnd:null,onSecurityPolicyViolation:null,onSeeked:null,onSeeking:null,onSelect:null,onSlotChange:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnhandledRejection:null,onUnload:null,onVolumeChange:null,onWaiting:null,onWheel:null,open:O,optimum:q,pattern:null,ping:j,placeholder:null,playsInline:O,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:O,referrerPolicy:null,rel:j,required:O,reversed:O,rows:q,rowSpan:q,sandbox:j,scope:null,scoped:O,seamless:O,selected:O,shadowRootClonable:O,shadowRootCustomElementRegistry:O,shadowRootDelegatesFocus:O,shadowRootMode:null,shadowRootSerializable:O,shape:null,size:q,sizes:null,slot:null,span:q,spellCheck:D,src:null,srcDoc:null,srcLang:null,srcSet:null,start:q,step:null,style:null,tabIndex:q,target:null,title:null,translate:null,type:null,typeMustMatch:O,useMap:null,value:D,width:q,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:j,axis:null,background:null,bgColor:null,border:q,borderColor:null,bottomMargin:q,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:O,declare:O,event:null,face:null,frame:null,frameBorder:null,hSpace:q,leftMargin:q,link:null,longDesc:null,lowSrc:null,marginHeight:q,marginWidth:q,noResize:O,noHref:O,noShade:O,noWrap:O,object:null,profile:null,prompt:null,rev:null,rightMargin:q,rules:null,scheme:null,scrolling:D,standby:null,summary:null,text:null,topMargin:q,valueType:null,version:null,vAlign:null,vLink:null,vSpace:q,allowTransparency:null,autoCorrect:null,autoSave:null,credentialless:O,disablePictureInPicture:O,disableRemotePlayback:O,exportParts:H,part:j,prefix:null,property:null,results:q,security:null,unselectable:null},space:"html",transform:el}),ec=ei({attributes:{accentHeight:"accent-height",alignmentBaseline:"alignment-baseline",arabicForm:"arabic-form",baselineShift:"baseline-shift",capHeight:"cap-height",className:"class",clipPath:"clip-path",clipRule:"clip-rule",colorInterpolation:"color-interpolation",colorInterpolationFilters:"color-interpolation-filters",colorProfile:"color-profile",colorRendering:"color-rendering",crossOrigin:"crossorigin",dataType:"datatype",dominantBaseline:"dominant-baseline",enableBackground:"enable-background",fillOpacity:"fill-opacity",fillRule:"fill-rule",floodColor:"flood-color",floodOpacity:"flood-opacity",fontFamily:"font-family",fontSize:"font-size",fontSizeAdjust:"font-size-adjust",fontStretch:"font-stretch",fontStyle:"font-style",fontVariant:"font-variant",fontWeight:"font-weight",glyphName:"glyph-name",glyphOrientationHorizontal:"glyph-orientation-horizontal",glyphOrientationVertical:"glyph-orientation-vertical",hrefLang:"hreflang",horizAdvX:"horiz-adv-x",horizOriginX:"horiz-origin-x",horizOriginY:"horiz-origin-y",imageRendering:"image-rendering",letterSpacing:"letter-spacing",lightingColor:"lighting-color",markerEnd:"marker-end",markerMid:"marker-mid",markerStart:"marker-start",maskType:"mask-type",navDown:"nav-down",navDownLeft:"nav-down-left",navDownRight:"nav-down-right",navLeft:"nav-left",navNext:"nav-next",navPrev:"nav-prev",navRight:"nav-right",navUp:"nav-up",navUpLeft:"nav-up-left",navUpRight:"nav-up-right",onAbort:"onabort",onActivate:"onactivate",onAfterPrint:"onafterprint",onBeforePrint:"onbeforeprint",onBegin:"onbegin",onCancel:"oncancel",onCanPlay:"oncanplay",onCanPlayThrough:"oncanplaythrough",onChange:"onchange",onClick:"onclick",onClose:"onclose",onCopy:"oncopy",onCueChange:"oncuechange",onCut:"oncut",onDblClick:"ondblclick",onDrag:"ondrag",onDragEnd:"ondragend",onDragEnter:"ondragenter",onDragExit:"ondragexit",onDragLeave:"ondragleave",onDragOver:"ondragover",onDragStart:"ondragstart",onDrop:"ondrop",onDurationChange:"ondurationchange",onEmptied:"onemptied",onEnd:"onend",onEnded:"onended",onError:"onerror",onFocus:"onfocus",onFocusIn:"onfocusin",onFocusOut:"onfocusout",onHashChange:"onhashchange",onInput:"oninput",onInvalid:"oninvalid",onKeyDown:"onkeydown",onKeyPress:"onkeypress",onKeyUp:"onkeyup",onLoad:"onload",onLoadedData:"onloadeddata",onLoadedMetadata:"onloadedmetadata",onLoadStart:"onloadstart",onMessage:"onmessage",onMouseDown:"onmousedown",onMouseEnter:"onmouseenter",onMouseLeave:"onmouseleave",onMouseMove:"onmousemove",onMouseOut:"onmouseout",onMouseOver:"onmouseover",onMouseUp:"onmouseup",onMouseWheel:"onmousewheel",onOffline:"onoffline",onOnline:"ononline",onPageHide:"onpagehide",onPageShow:"onpageshow",onPaste:"onpaste",onPause:"onpause",onPlay:"onplay",onPlaying:"onplaying",onPopState:"onpopstate",onProgress:"onprogress",onRateChange:"onratechange",onRepeat:"onrepeat",onReset:"onreset",onResize:"onresize",onScroll:"onscroll",onSeeked:"onseeked",onSeeking:"onseeking",onSelect:"onselect",onShow:"onshow",onStalled:"onstalled",onStorage:"onstorage",onSubmit:"onsubmit",onSuspend:"onsuspend",onTimeUpdate:"ontimeupdate",onToggle:"ontoggle",onUnload:"onunload",onVolumeChange:"onvolumechange",onWaiting:"onwaiting",onZoom:"onzoom",overlinePosition:"overline-position",overlineThickness:"overline-thickness",paintOrder:"paint-order",panose1:"panose-1",pointerEvents:"pointer-events",referrerPolicy:"referrerpolicy",renderingIntent:"rendering-intent",shapeRendering:"shape-rendering",stopColor:"stop-color",stopOpacity:"stop-opacity",strikethroughPosition:"strikethrough-position",strikethroughThickness:"strikethrough-thickness",strokeDashArray:"stroke-dasharray",strokeDashOffset:"stroke-dashoffset",strokeLineCap:"stroke-linecap",strokeLineJoin:"stroke-linejoin",strokeMiterLimit:"stroke-miterlimit",strokeOpacity:"stroke-opacity",strokeWidth:"stroke-width",tabIndex:"tabindex",textAnchor:"text-anchor",textDecoration:"text-decoration",textRendering:"text-rendering",transformOrigin:"transform-origin",typeOf:"typeof",underlinePosition:"underline-position",underlineThickness:"underline-thickness",unicodeBidi:"unicode-bidi",unicodeRange:"unicode-range",unitsPerEm:"units-per-em",vAlphabetic:"v-alphabetic",vHanging:"v-hanging",vIdeographic:"v-ideographic",vMathematical:"v-mathematical",vectorEffect:"vector-effect",vertAdvY:"vert-adv-y",vertOriginX:"vert-origin-x",vertOriginY:"vert-origin-y",wordSpacing:"word-spacing",writingMode:"writing-mode",xHeight:"x-height",playbackOrder:"playbackorder",timelineBegin:"timelinebegin"},properties:{about:U,accentHeight:q,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:q,amplitude:q,arabicForm:null,ascent:q,attributeName:null,attributeType:null,azimuth:q,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:q,by:null,calcMode:null,capHeight:q,className:j,clip:null,clipPath:null,clipPathUnits:null,clipRule:null,color:null,colorInterpolation:null,colorInterpolationFilters:null,colorProfile:null,colorRendering:null,content:null,contentScriptType:null,contentStyleType:null,crossOrigin:null,cursor:null,cx:null,cy:null,d:null,dataType:null,defaultAction:null,descent:q,diffuseConstant:q,direction:null,display:null,dur:null,divisor:q,dominantBaseline:null,download:O,dx:null,dy:null,edgeMode:null,editable:null,elevation:q,enableBackground:null,end:null,event:null,exponent:q,externalResourcesRequired:null,fill:null,fillOpacity:q,fillRule:null,filter:null,filterRes:null,filterUnits:null,floodColor:null,floodOpacity:null,focusable:null,focusHighlight:null,fontFamily:null,fontSize:null,fontSizeAdjust:null,fontStretch:null,fontStyle:null,fontVariant:null,fontWeight:null,format:null,fr:null,from:null,fx:null,fy:null,g1:H,g2:H,glyphName:H,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:q,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:q,horizOriginX:q,horizOriginY:q,id:null,ideographic:q,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:q,k:q,k1:q,k2:q,k3:q,k4:q,kernelMatrix:U,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:q,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskType:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:q,mediaTime:null,method:null,min:null,mode:null,name:null,navDown:null,navDownLeft:null,navDownRight:null,navLeft:null,navNext:null,navPrev:null,navRight:null,navUp:null,navUpLeft:null,navUpRight:null,numOctaves:null,observer:null,offset:null,onAbort:null,onActivate:null,onAfterPrint:null,onBeforePrint:null,onBegin:null,onCancel:null,onCanPlay:null,onCanPlayThrough:null,onChange:null,onClick:null,onClose:null,onCopy:null,onCueChange:null,onCut:null,onDblClick:null,onDrag:null,onDragEnd:null,onDragEnter:null,onDragExit:null,onDragLeave:null,onDragOver:null,onDragStart:null,onDrop:null,onDurationChange:null,onEmptied:null,onEnd:null,onEnded:null,onError:null,onFocus:null,onFocusIn:null,onFocusOut:null,onHashChange:null,onInput:null,onInvalid:null,onKeyDown:null,onKeyPress:null,onKeyUp:null,onLoad:null,onLoadedData:null,onLoadedMetadata:null,onLoadStart:null,onMessage:null,onMouseDown:null,onMouseEnter:null,onMouseLeave:null,onMouseMove:null,onMouseOut:null,onMouseOver:null,onMouseUp:null,onMouseWheel:null,onOffline:null,onOnline:null,onPageHide:null,onPageShow:null,onPaste:null,onPause:null,onPlay:null,onPlaying:null,onPopState:null,onProgress:null,onRateChange:null,onRepeat:null,onReset:null,onResize:null,onScroll:null,onSeeked:null,onSeeking:null,onSelect:null,onShow:null,onStalled:null,onStorage:null,onSubmit:null,onSuspend:null,onTimeUpdate:null,onToggle:null,onUnload:null,onVolumeChange:null,onWaiting:null,onZoom:null,opacity:null,operator:null,order:null,orient:null,orientation:null,origin:null,overflow:null,overlay:null,overlinePosition:q,overlineThickness:q,paintOrder:null,panose1:null,path:null,pathLength:q,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:j,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:q,pointsAtY:q,pointsAtZ:q,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:U,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:U,rev:U,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:U,requiredFeatures:U,requiredFonts:U,requiredFormats:U,resource:null,restart:null,result:null,rotate:null,rx:null,ry:null,scale:null,seed:null,shapeRendering:null,side:null,slope:null,snapshotTime:null,specularConstant:q,specularExponent:q,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:q,strikethroughThickness:q,string:null,stroke:null,strokeDashArray:U,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:q,strokeOpacity:q,strokeWidth:null,style:null,surfaceScale:q,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:U,tabIndex:q,tableValues:null,target:null,targetX:q,targetY:q,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:U,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:q,underlineThickness:q,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:q,values:null,vAlphabetic:q,vMathematical:q,vectorEffect:null,vHanging:q,vIdeographic:q,version:null,vertAdvY:q,vertOriginX:q,vertOriginY:q,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:q,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:eo}),eu=ei({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform:(e,t)=>"xlink:"+t.slice(5).toLowerCase()}),eh=ei({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:el}),ep=ei({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform:(e,t)=>"xml:"+t.slice(3).toLowerCase()}),em=en([ea,es,eu,eh,ep],"html"),ed=en([ea,ec,eu,eh,ep],"svg");function ef(e){let t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function eg(e){return e.join(" ").trim()}var ey=e.i(15511);let ev=ex("end"),eb=ex("start");function ex(e){return function(t){let r=t&&t.position&&t.position[e]||{};if("number"==typeof r.line&&r.line>0&&"number"==typeof r.column&&r.column>0)return{line:r.line,column:r.column,offset:"number"==typeof r.offset&&r.offset>-1?r.offset:void 0}}}function ew(e){let t=eb(e),r=ev(e);if(t&&r)return{start:t,end:r}}function ek(e){return e&&"object"==typeof e?"position"in e||"type"in e?eS(e.position):"start"in e||"end"in e?eS(e):"line"in e||"column"in e?eA(e):"":""}function eA(e){return eC(e&&e.line)+":"+eC(e&&e.column)}function eS(e){return eA(e&&e.start)+"-"+eA(e&&e.end)}function eC(e){return e&&"number"==typeof e?e:1}class eT extends Error{constructor(e,t,r){super(),"string"==typeof t&&(r=t,t=void 0);let n="",i={},a=!1;if(t&&(i="line"in t&&"column"in t||"start"in t&&"end"in t?{place:t}:"type"in t?{ancestors:[t],place:t.position}:{...t}),"string"==typeof e?n=e:!i.cause&&e&&(a=!0,n=e.message,i.cause=e),!i.ruleId&&!i.source&&"string"==typeof r){let e=r.indexOf(":");-1===e?i.ruleId=r:(i.source=r.slice(0,e),i.ruleId=r.slice(e+1))}if(!i.place&&i.ancestors&&i.ancestors){let e=i.ancestors[i.ancestors.length-1];e&&(i.place=e.position)}let o=i.place&&"start"in i.place?i.place.start:i.place;this.ancestors=i.ancestors||void 0,this.cause=i.cause||void 0,this.column=o?o.column:void 0,this.fatal=void 0,this.file="",this.message=n,this.line=o?o.line:void 0,this.name=ek(i.place)||"1:1",this.place=i.place||void 0,this.reason=this.message,this.ruleId=i.ruleId||void 0,this.source=i.source||void 0,this.stack=a&&i.cause&&"string"==typeof i.cause.stack?i.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}eT.prototype.file="",eT.prototype.name="",eT.prototype.reason="",eT.prototype.message="",eT.prototype.stack="",eT.prototype.column=void 0,eT.prototype.line=void 0,eT.prototype.ancestors=void 0,eT.prototype.cause=void 0,eT.prototype.fatal=void 0,eT.prototype.place=void 0,eT.prototype.ruleId=void 0,eT.prototype.source=void 0;let e_={}.hasOwnProperty,eM=new Map,eE=/[A-Z]/g,ez=new Set(["table","tbody","thead","tfoot","tr"]),eN=new Set(["td","th"]),eI="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function eL(e,t,r){return"element"===t.type?function(e,t,r){let n=e.schema;"svg"===t.tagName.toLowerCase()&&"html"===n.space&&(e.schema=ed),e.ancestors.push(t);let i=eO(e,t.tagName,!1),a=function(e,t){let r,n,i={};for(n in t.properties)if("children"!==n&&e_.call(t.properties,n)){let a=function(e,t,r){let n=Q(e.schema,t);if(!(null==r||"number"==typeof r&&Number.isNaN(r))){if(Array.isArray(r)&&(r=n.commaSeparated?_(r):eg(r)),"style"===n.property){let t="object"==typeof r?r:function(e,t){try{return(0,ey.default)(t,{reactCompat:!0})}catch(r){if(e.ignoreInvalidStyle)return{};let t=new eT("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:r,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw t.file=e.filePath||void 0,t.url=eI+"#cannot-parse-style-attribute",t}}(e,String(r));return"css"===e.stylePropertyNameCase&&(t=function(e){let t,r={};for(t in e)e_.call(e,t)&&(r[function(e){let t=e.replace(eE,eF);return"ms-"===t.slice(0,3)&&(t="-"+t),t}(t)]=e[t]);return r}(t)),["style",t]}return["react"===e.elementAttributeNameCase&&n.space?et[n.property]||n.property:n.attribute,r]}}(e,n,t.properties[n]);if(a){let[n,o]=a;e.tableCellAlignToStyle&&"align"===n&&"string"==typeof o&&eN.has(t.tagName)?r=o:i[n]=o}}return r&&((i.style||(i.style={}))["css"===e.stylePropertyNameCase?"text-align":"textAlign"]=r),i}(e,t),o=eB(e,t);return ez.has(t.tagName)&&(o=o.filter(function(e){return"string"!=typeof e||!L(e)})),eR(e,a,i,t),eP(a,o),e.ancestors.pop(),e.schema=n,e.create(t,i,a,r)}(e,t,r):"mdxFlowExpression"===t.type||"mdxTextExpression"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater){let r=t.data.estree.body[0];return S("ExpressionStatement"===r.type),e.evaluater.evaluateExpression(r.expression)}eD(e,t.position)}(e,t):"mdxJsxFlowElement"===t.type||"mdxJsxTextElement"===t.type?function(e,t,r){let n=e.schema;"svg"===t.name&&"html"===n.space&&(e.schema=ed),e.ancestors.push(t);let i=null===t.name?e.Fragment:eO(e,t.name,!0),a=function(e,t){let r={};for(let n of t.attributes)if("mdxJsxExpressionAttribute"===n.type)if(n.data&&n.data.estree&&e.evaluater){let t=n.data.estree.body[0];S("ExpressionStatement"===t.type);let i=t.expression;S("ObjectExpression"===i.type);let a=i.properties[0];S("SpreadElement"===a.type),Object.assign(r,e.evaluater.evaluateExpression(a.argument))}else eD(e,t.position);else{let i,a=n.name;if(n.value&&"object"==typeof n.value)if(n.value.data&&n.value.data.estree&&e.evaluater){let t=n.value.data.estree.body[0];S("ExpressionStatement"===t.type),i=e.evaluater.evaluateExpression(t.expression)}else eD(e,t.position);else i=null===n.value||n.value;r[a]=i}return r}(e,t),o=eB(e,t);return eR(e,a,i,t),eP(a,o),e.ancestors.pop(),e.schema=n,e.create(t,i,a,r)}(e,t,r):"mdxjsEsm"===t.type?function(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);eD(e,t.position)}(e,t):"root"===t.type?function(e,t,r){let n={};return eP(n,eB(e,t)),e.create(t,e.Fragment,n,r)}(e,t,r):"text"===t.type?t.value:void 0}function eR(e,t,r,n){"string"!=typeof r&&r!==e.Fragment&&e.passNode&&(t.node=n)}function eP(e,t){if(t.length>0){let r=t.length>1?t:t[0];r&&(e.children=r)}}function eB(e,t){let r=[],n=-1,i=e.passKeys?new Map:eM;for(;++n<t.children.length;){let a,o=t.children[n];if(e.passKeys){let e="element"===o.type?o.tagName:"mdxJsxFlowElement"===o.type||"mdxJsxTextElement"===o.type?o.name:void 0;if(e){let t=i.get(e)||0;a=e+"-"+t,i.set(e,t+1)}}let l=eL(e,o,a);void 0!==l&&r.push(l)}return r}function eO(e,t,r){let n;if(r)if(t.includes(".")){let e,r=t.split("."),i=-1;for(;++i<r.length;){let t=N(r[i])?{type:"Identifier",name:r[i]}:{type:"Literal",value:r[i]};e=e?{type:"MemberExpression",object:e,property:t,computed:!!(i&&"Literal"===t.type),optional:!1}:t}S(e,"always a result"),n=e}else n=N(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};else n={type:"Literal",value:t};if("Literal"===n.type){let t=n.value;return e_.call(e.components,t)?e.components[t]:t}if(e.evaluater)return e.evaluater.evaluateExpression(n);eD(e)}function eD(e,t){let r=new eT("Cannot handle MDX estrees without `createEvaluater`",{ancestors:e.ancestors,place:t,ruleId:"mdx-estree",source:"hast-util-to-jsx-runtime"});throw r.file=e.filePath||void 0,r.url=eI+"#cannot-handle-mdx-estrees-without-createevaluater",r}function eF(e){return"-"+e.toLowerCase()}let eq={action:["form"],cite:["blockquote","del","ins","q"],data:["object"],formAction:["button","input"],href:["a","area","base","link"],icon:["menuitem"],itemId:null,manifest:["html"],ping:["a","area"],poster:["video"],src:["audio","embed","iframe","img","input","script","source","track","video"]};var ej=e.i(18050);let eH={};function eU(e,t){let r=t||eH;return eG(e,"boolean"!=typeof r.includeImageAlt||r.includeImageAlt,"boolean"!=typeof r.includeHtml||r.includeHtml)}function eG(e,t,r){var n;if((n=e)&&"object"==typeof n){if("value"in e)return"html"!==e.type||r?e.value:"";if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return eV(e.children,t,r)}return Array.isArray(e)?eV(e,t,r):""}function eV(e,t,r){let n=[],i=-1;for(;++i<e.length;)n[i]=eG(e[i],t,r);return n.join("")}function eW(e,t,r,n){let i,a=e.length,o=0;if(t=t<0?-t>a?0:a+t:t>a?a:t,r=r>0?r:0,n.length<1e4)(i=Array.from(n)).unshift(t,r),e.splice(...i);else for(r&&e.splice(t,r);o<n.length;)(i=n.slice(o,o+1e4)).unshift(t,0),e.splice(...i),o+=1e4,t+=1e4}function e$(e,t){return e.length>0?(eW(e,e.length,0,t),e):t}let eX={}.hasOwnProperty;function eY(e){let t={},r=-1;for(;++r<e.length;)!function(e,t){let r;for(r in t){let n,i=(eX.call(e,r)?e[r]:void 0)||(e[r]={}),a=t[r];if(a)for(n in a){eX.call(i,n)||(i[n]=[]);let e=a[n];!function(e,t){let r=-1,n=[];for(;++r<t.length;)("after"===t[r].add?e:n).push(t[r]);eW(e,0,0,n)}(i[n],Array.isArray(e)?e:e?[e]:[])}}}(t,e[r]);return t}let eK=e8(/[A-Za-z]/),eJ=e8(/[\dA-Za-z]/),eQ=e8(/[#-'*+\--9=?A-Z^-~]/);function eZ(e){return null!==e&&(e<32||127===e)}let e0=e8(/\d/),e1=e8(/[\dA-Fa-f]/),e4=e8(/[!-/:-@[-`{-~]/);function e5(e){return null!==e&&e<-2}function e6(e){return null!==e&&(e<0||32===e)}function e3(e){return -2===e||-1===e||32===e}let e7=e8(RegExp("\\p{P}|\\p{S}","u")),e2=e8(/\s/);function e8(e){return function(t){return null!==t&&t>-1&&e.test(String.fromCharCode(t))}}function e9(e,t,r,n){let i=n?n-1:1/0,a=0;return function(n){return e3(n)?(e.enter(r),function n(o){return e3(o)&&a++<i?(e.consume(o),n):(e.exit(r),t(o))}(n)):t(n)}}let te={tokenize:function(e){let t,r=e.attempt(this.parser.constructs.contentInitial,function(t){return null===t?void e.consume(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),e9(e,r,"linePrefix"))},function(r){return e.enter("paragraph"),function r(n){let i=e.enter("chunkText",{contentType:"text",previous:t});return t&&(t.next=i),t=i,function t(n){if(null===n){e.exit("chunkText"),e.exit("paragraph"),e.consume(n);return}return e5(n)?(e.consume(n),e.exit("chunkText"),r):(e.consume(n),t)}(n)}(r)});return r}},tt={tokenize:function(e){let t,r,n,i=this,a=[],o=0;return l;function l(t){if(o<a.length){let r=a[o];return i.containerState=r[1],e.attempt(r[0].continuation,s,c)(t)}return c(t)}function s(e){if(o++,i.containerState._closeFlow){let r;i.containerState._closeFlow=void 0,t&&y();let n=i.events.length,a=n;for(;a--;)if("exit"===i.events[a][0]&&"chunkFlow"===i.events[a][1].type){r=i.events[a][1].end;break}g(o);let l=n;for(;l<i.events.length;)i.events[l][1].end={...r},l++;return eW(i.events,a+1,0,i.events.slice(n)),i.events.length=l,c(e)}return l(e)}function c(r){if(o===a.length){if(!t)return p(r);if(t.currentConstruct&&t.currentConstruct.concrete)return d(r);i.interrupt=!!(t.currentConstruct&&!t._gfmTableDynamicInterruptHack)}return i.containerState={},e.check(tr,u,h)(r)}function u(e){return t&&y(),g(o),p(e)}function h(e){return i.parser.lazy[i.now().line]=o!==a.length,n=i.now().offset,d(e)}function p(t){return i.containerState={},e.attempt(tr,m,d)(t)}function m(e){return o++,a.push([i.currentConstruct,i.containerState]),p(e)}function d(n){if(null===n){t&&y(),g(0),e.consume(n);return}return t=t||i.parser.flow(i.now()),e.enter("chunkFlow",{_tokenizer:t,contentType:"flow",previous:r}),function t(r){if(null===r){f(e.exit("chunkFlow"),!0),g(0),e.consume(r);return}return e5(r)?(e.consume(r),f(e.exit("chunkFlow")),o=0,i.interrupt=void 0,l):(e.consume(r),t)}(n)}function f(e,a){let l=i.sliceStream(e);if(a&&l.push(null),e.previous=r,r&&(r.next=e),r=e,t.defineSkip(e.start),t.write(l),i.parser.lazy[e.start.line]){let e,r,a=t.events.length;for(;a--;)if(t.events[a][1].start.offset<n&&(!t.events[a][1].end||t.events[a][1].end.offset>n))return;let l=i.events.length,s=l;for(;s--;)if("exit"===i.events[s][0]&&"chunkFlow"===i.events[s][1].type){if(e){r=i.events[s][1].end;break}e=!0}for(g(o),a=l;a<i.events.length;)i.events[a][1].end={...r},a++;eW(i.events,s+1,0,i.events.slice(l)),i.events.length=a}}function g(t){let r=a.length;for(;r-- >t;){let t=a[r];i.containerState=t[1],t[0].exit.call(i,e)}a.length=t}function y(){t.write([null]),r=void 0,t=void 0,i.containerState._closeFlow=void 0}}},tr={tokenize:function(e,t,r){return e9(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},tn={partial:!0,tokenize:function(e,t,r){return function(t){return e3(t)?e9(e,n,"linePrefix")(t):n(t)};function n(e){return null===e||e5(e)?t(e):r(e)}}};class ti{get(e){if(e<0||e>=this.left.length+this.right.length)throw RangeError("Cannot access index `"+e+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return e<this.left.length?this.left[e]:this.right[this.right.length-e+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(e,t){let r=null==t?1/0:t;return r<this.left.length?this.left.slice(e,r):e>this.left.length?this.right.slice(this.right.length-r+this.left.length,this.right.length-e+this.left.length).reverse():this.left.slice(e).concat(this.right.slice(this.right.length-r+this.left.length).reverse())}splice(e,t,r){this.setCursor(Math.trunc(e));let n=this.right.splice(this.right.length-(t||0),1/0);return r&&ta(this.left,r),n.reverse()}pop(){return this.setCursor(1/0),this.left.pop()}push(e){this.setCursor(1/0),this.left.push(e)}pushMany(e){this.setCursor(1/0),ta(this.left,e)}unshift(e){this.setCursor(0),this.right.push(e)}unshiftMany(e){this.setCursor(0),ta(this.right,e.reverse())}setCursor(e){if(e!==this.left.length&&(!(e>this.left.length)||0!==this.right.length)&&(!(e<0)||0!==this.left.length))if(e<this.left.length){let t=this.left.splice(e,1/0);ta(this.right,t.reverse())}else{let t=this.right.splice(this.left.length+this.right.length-e,1/0);ta(this.left,t.reverse())}}constructor(e){this.left=e?[...e]:[],this.right=[]}}function ta(e,t){let r=0;if(t.length<1e4)e.push(...t);else for(;r<t.length;)e.push(...t.slice(r,r+1e4)),r+=1e4}function to(e){let t,r,n,i,a,o,l,s={},c=-1,u=new ti(e);for(;++c<u.length;){for(;c in s;)c=s[c];if(t=u.get(c),c&&"chunkFlow"===t[1].type&&"listItemPrefix"===u.get(c-1)[1].type&&((n=0)<(o=t[1]._tokenizer.events).length&&"lineEndingBlank"===o[n][1].type&&(n+=2),n<o.length&&"content"===o[n][1].type))for(;++n<o.length&&"content"!==o[n][1].type;)"chunkText"===o[n][1].type&&(o[n][1]._isInFirstContentOfListItem=!0,n++);if("enter"===t[0])t[1].contentType&&(Object.assign(s,function(e,t){let r,n,i=e.get(t)[1],a=e.get(t)[2],o=t-1,l=[],s=i._tokenizer;!s&&(s=a.parser[i.contentType](i.start),i._contentTypeTextTrailing&&(s._contentTypeTextTrailing=!0));let c=s.events,u=[],h={},p=-1,m=i,d=0,f=0,g=[0];for(;m;){for(;e.get(++o)[1]!==m;);l.push(o),!m._tokenizer&&(r=a.sliceStream(m),m.next||r.push(null),n&&s.defineSkip(m.start),m._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=!0),s.write(r),m._isInFirstContentOfListItem&&(s._gfmTasklistFirstContentOfListItem=void 0)),n=m,m=m.next}for(m=i;++p<c.length;)"exit"===c[p][0]&&"enter"===c[p-1][0]&&c[p][1].type===c[p-1][1].type&&c[p][1].start.line!==c[p][1].end.line&&(f=p+1,g.push(f),m._tokenizer=void 0,m.previous=void 0,m=m.next);for(s.events=[],m?(m._tokenizer=void 0,m.previous=void 0):g.pop(),p=g.length;p--;){let t=c.slice(g[p],g[p+1]),r=l.pop();u.push([r,r+t.length-1]),e.splice(r,2,t)}for(u.reverse(),p=-1;++p<u.length;)h[d+u[p][0]]=d+u[p][1],d+=u[p][1]-u[p][0]-1;return h}(u,c)),c=s[c],l=!0);else if(t[1]._container){for(n=c,r=void 0;n--;)if("lineEnding"===(i=u.get(n))[1].type||"lineEndingBlank"===i[1].type)"enter"===i[0]&&(r&&(u.get(r)[1].type="lineEndingBlank"),i[1].type="lineEnding",r=n);else if("linePrefix"===i[1].type||"listItemIndent"===i[1].type);else break;r&&(t[1].end={...u.get(r)[1].start},(a=u.slice(r,c)).unshift(t),u.splice(r,c-r+1,a))}}return eW(e,0,1/0,u.slice(0)),!l}let tl={resolve:function(e){return to(e),e},tokenize:function(e,t){let r;return function(t){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),n(t)};function n(t){return null===t?i(t):e5(t)?e.check(ts,a,i)(t):(e.consume(t),n)}function i(r){return e.exit("chunkContent"),e.exit("content"),t(r)}function a(t){return e.consume(t),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,n}}},ts={partial:!0,tokenize:function(e,t,r){let n=this;return function(t){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),e9(e,i,"linePrefix")};function i(i){if(null===i||e5(i))return r(i);let a=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(i):e.interrupt(n.parser.constructs.flow,r,t)(i)}}},tc={tokenize:function(e){let t=this,r=e.attempt(tn,function(n){return null===n?void e.consume(n):(e.enter("lineEndingBlank"),e.consume(n),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r)},e.attempt(this.parser.constructs.flowInitial,n,e9(e,e.attempt(this.parser.constructs.flow,n,e.attempt(tl,n)),"linePrefix")));return r;function n(n){return null===n?void e.consume(n):(e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),t.currentConstruct=void 0,r)}}},tu={resolveAll:td()},th=tm("string"),tp=tm("text");function tm(e){return{resolveAll:td("text"===e?tf:void 0),tokenize:function(t){let r=this,n=this.parser.constructs[e],i=t.attempt(n,a,o);return a;function a(e){return s(e)?i(e):o(e)}function o(e){return null===e?void t.consume(e):(t.enter("data"),t.consume(e),l)}function l(e){return s(e)?(t.exit("data"),i(e)):(t.consume(e),l)}function s(e){if(null===e)return!0;let t=n[e],i=-1;if(t)for(;++i<t.length;){let e=t[i];if(!e.previous||e.previous.call(r,r.previous))return!0}return!1}}}}function td(e){return function(t,r){let n,i=-1;for(;++i<=t.length;)void 0===n?t[i]&&"data"===t[i][1].type&&(n=i,i++):t[i]&&"data"===t[i][1].type||(i!==n+2&&(t[n][1].end=t[i-1][1].end,t.splice(n+2,i-n-2),i=n+2),n=void 0);return e?e(t,r):t}}function tf(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||"lineEnding"===e[r][1].type)&&"data"===e[r-1][1].type){let n,i=e[r-1][1],a=t.sliceStream(i),o=a.length,l=-1,s=0;for(;o--;){let e=a[o];if("string"==typeof e){for(l=e.length;32===e.charCodeAt(l-1);)s++,l--;if(l)break;l=-1}else if(-2===e)n=!0,s++;else if(-1===e);else{o++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(s=0),s){let a={type:r===e.length||n||s<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:o?l:i.start._bufferIndex+l,_index:i.start._index+o,line:i.end.line,column:i.end.column-s,offset:i.end.offset-s},end:{...i.end}};i.end={...a.start},i.start.offset===i.end.offset?Object.assign(i,a):(e.splice(r,0,["enter",a,t],["exit",a,t]),r+=2)}r++}return e}function tg(e){return null===e||e6(e)||e2(e)?1:e7(e)?2:void 0}function ty(e,t,r){let n=[],i=-1;for(;++i<e.length;){let a=e[i].resolveAll;a&&!n.includes(a)&&(t=a(t,r),n.push(a))}return t}e.s(["attentionMarkers",()=>t6,"contentInitial",()=>tQ,"disable",()=>t3,"document",()=>tJ,"flow",()=>t0,"flowInitial",()=>tZ,"insideSpan",()=>t5,"string",()=>t1,"text",()=>t4],4127);let tv={name:"attention",resolveAll:function(e,t){let r,n,i,a,o,l,s,c,u=-1;for(;++u<e.length;)if("enter"===e[u][0]&&"attentionSequence"===e[u][1].type&&e[u][1]._close){for(r=u;r--;)if("exit"===e[r][0]&&"attentionSequence"===e[r][1].type&&e[r][1]._open&&t.sliceSerialize(e[r][1]).charCodeAt(0)===t.sliceSerialize(e[u][1]).charCodeAt(0)){if((e[r][1]._close||e[u][1]._open)&&(e[u][1].end.offset-e[u][1].start.offset)%3&&!((e[r][1].end.offset-e[r][1].start.offset+e[u][1].end.offset-e[u][1].start.offset)%3))continue;l=e[r][1].end.offset-e[r][1].start.offset>1&&e[u][1].end.offset-e[u][1].start.offset>1?2:1;let h={...e[r][1].end},p={...e[u][1].start};tb(h,-l),tb(p,l),a={type:l>1?"strongSequence":"emphasisSequence",start:h,end:{...e[r][1].end}},o={type:l>1?"strongSequence":"emphasisSequence",start:{...e[u][1].start},end:p},i={type:l>1?"strongText":"emphasisText",start:{...e[r][1].end},end:{...e[u][1].start}},n={type:l>1?"strong":"emphasis",start:{...a.start},end:{...o.end}},e[r][1].end={...a.start},e[u][1].start={...o.end},s=[],e[r][1].end.offset-e[r][1].start.offset&&(s=e$(s,[["enter",e[r][1],t],["exit",e[r][1],t]])),s=e$(s,[["enter",n,t],["enter",a,t],["exit",a,t],["enter",i,t]]),s=e$(s,ty(t.parser.constructs.insideSpan.null,e.slice(r+1,u),t)),s=e$(s,[["exit",i,t],["enter",o,t],["exit",o,t],["exit",n,t]]),e[u][1].end.offset-e[u][1].start.offset?(c=2,s=e$(s,[["enter",e[u][1],t],["exit",e[u][1],t]])):c=0,eW(e,r-1,u-r+3,s),u=r+s.length-c-2;break}}for(u=-1;++u<e.length;)"attentionSequence"===e[u][1].type&&(e[u][1].type="data");return e},tokenize:function(e,t){let r,n=this.parser.constructs.attentionMarkers.null,i=this.previous,a=tg(i);return function(o){return r=o,e.enter("attentionSequence"),function o(l){if(l===r)return e.consume(l),o;let s=e.exit("attentionSequence"),c=tg(l),u=!c||2===c&&a||n.includes(l),h=!a||2===a&&c||n.includes(i);return s._open=!!(42===r?u:u&&(a||!h)),s._close=!!(42===r?h:h&&(c||!u)),t(l)}(o)}}};function tb(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}let tx={continuation:{tokenize:function(e,t,r){let n=this;return function(t){return e3(t)?e9(e,i,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):i(t)};function i(n){return e.attempt(tx,t,r)(n)}}},exit:function(e){e.exit("blockQuote")},name:"blockQuote",tokenize:function(e,t,r){let n=this;return function(t){if(62===t){let r=n.containerState;return r.open||(e.enter("blockQuote",{_container:!0}),r.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(t),e.exit("blockQuoteMarker"),i}return r(t)};function i(r){return e3(r)?(e.enter("blockQuotePrefixWhitespace"),e.consume(r),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(r))}}},tw={name:"characterEscape",tokenize:function(e,t,r){return function(t){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(t),e.exit("escapeMarker"),n};function n(n){return e4(n)?(e.enter("characterEscapeValue"),e.consume(n),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(n)}}},tk=document.createElement("i");function tA(e){let t="&"+e+";";tk.innerHTML=t;let r=tk.textContent;return(59!==r.charCodeAt(r.length-1)||"semi"===e)&&r!==t&&r}let tS={name:"characterReference",tokenize:function(e,t,r){let n,i,a=this,o=0;return function(t){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(t),e.exit("characterReferenceMarker"),l};function l(t){return 35===t?(e.enter("characterReferenceMarkerNumeric"),e.consume(t),e.exit("characterReferenceMarkerNumeric"),s):(e.enter("characterReferenceValue"),n=31,i=eJ,c(t))}function s(t){return 88===t||120===t?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(t),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),n=6,i=e1,c):(e.enter("characterReferenceValue"),n=7,i=e0,c(t))}function c(l){if(59===l&&o){let n=e.exit("characterReferenceValue");return i!==eJ||tA(a.sliceSerialize(n))?(e.enter("characterReferenceMarker"),e.consume(l),e.exit("characterReferenceMarker"),e.exit("characterReference"),t):r(l)}return i(l)&&o++<n?(e.consume(l),c):r(l)}}},tC={partial:!0,tokenize:function(e,t,r){let n=this;return function(t){return null===t?r(t):(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i)};function i(e){return n.parser.lazy[n.now().line]?r(e):t(e)}}},tT={concrete:!0,name:"codeFenced",tokenize:function(e,t,r){let n,i=this,a={partial:!0,tokenize:function(e,t,r){let a=0;return function(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),o};function o(t){return e.enter("codeFencedFence"),e3(t)?e9(e,s,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):s(t)}function s(t){return t===n?(e.enter("codeFencedFenceSequence"),function t(i){return i===n?(a++,e.consume(i),t):a>=l?(e.exit("codeFencedFenceSequence"),e3(i)?e9(e,c,"whitespace")(i):c(i)):r(i)}(t)):r(t)}function c(n){return null===n||e5(n)?(e.exit("codeFencedFence"),t(n)):r(n)}}},o=0,l=0;return function(t){var a=t;let c=i.events[i.events.length-1];return o=c&&"linePrefix"===c[1].type?c[2].sliceSerialize(c[1],!0).length:0,n=a,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),function t(i){return i===n?(l++,e.consume(i),t):l<3?r(i):(e.exit("codeFencedFenceSequence"),e3(i)?e9(e,s,"whitespace")(i):s(i))}(a)};function s(a){return null===a||e5(a)?(e.exit("codeFencedFence"),i.interrupt?t(a):e.check(tC,u,d)(a)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||e5(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),s(i)):e3(i)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),e9(e,c,"whitespace")(i)):96===i&&i===n?r(i):(e.consume(i),t)}(a))}function c(t){return null===t||e5(t)?s(t):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(i){return null===i||e5(i)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),s(i)):96===i&&i===n?r(i):(e.consume(i),t)}(t))}function u(t){return e.attempt(a,d,h)(t)}function h(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),p}function p(t){return o>0&&e3(t)?e9(e,m,"linePrefix",o+1)(t):m(t)}function m(t){return null===t||e5(t)?e.check(tC,u,d)(t):(e.enter("codeFlowValue"),function t(r){return null===r||e5(r)?(e.exit("codeFlowValue"),m(r)):(e.consume(r),t)}(t))}function d(r){return e.exit("codeFenced"),t(r)}}},t_={name:"codeIndented",tokenize:function(e,t,r){let n=this;return function(t){return e.enter("codeIndented"),e9(e,i,"linePrefix",5)(t)};function i(t){let i=n.events[n.events.length-1];return i&&"linePrefix"===i[1].type&&i[2].sliceSerialize(i[1],!0).length>=4?function t(r){return null===r?a(r):e5(r)?e.attempt(tM,t,a)(r):(e.enter("codeFlowValue"),function r(n){return null===n||e5(n)?(e.exit("codeFlowValue"),t(n)):(e.consume(n),r)}(r))}(t):r(t)}function a(r){return e.exit("codeIndented"),t(r)}}},tM={partial:!0,tokenize:function(e,t,r){let n=this;return i;function i(t){return n.parser.lazy[n.now().line]?r(t):e5(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):e9(e,a,"linePrefix",5)(t)}function a(e){let a=n.events[n.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?t(e):e5(e)?i(e):r(e)}}};function tE(e,t,r,n,i,a,o,l,s){let c=s||1/0,u=0;return function(t){return 60===t?(e.enter(n),e.enter(i),e.enter(a),e.consume(t),e.exit(a),h):null===t||32===t||41===t||eZ(t)?r(t):(e.enter(n),e.enter(o),e.enter(l),e.enter("chunkString",{contentType:"string"}),d(t))};function h(r){return 62===r?(e.enter(a),e.consume(r),e.exit(a),e.exit(i),e.exit(n),t):(e.enter(l),e.enter("chunkString",{contentType:"string"}),p(r))}function p(t){return 62===t?(e.exit("chunkString"),e.exit(l),h(t)):null===t||60===t||e5(t)?r(t):(e.consume(t),92===t?m:p)}function m(t){return 60===t||62===t||92===t?(e.consume(t),p):p(t)}function d(i){return!u&&(null===i||41===i||e6(i))?(e.exit("chunkString"),e.exit(l),e.exit(o),e.exit(n),t(i)):u<c&&40===i?(e.consume(i),u++,d):41===i?(e.consume(i),u--,d):null===i||32===i||40===i||eZ(i)?r(i):(e.consume(i),92===i?f:d)}function f(t){return 40===t||41===t||92===t?(e.consume(t),d):d(t)}}function tz(e,t,r,n,i,a){let o,l=this,s=0;return function(t){return e.enter(n),e.enter(i),e.consume(t),e.exit(i),e.enter(a),c};function c(h){return s>999||null===h||91===h||93===h&&!o||94===h&&!s&&"_hiddenFootnoteSupport"in l.parser.constructs?r(h):93===h?(e.exit(a),e.enter(i),e.consume(h),e.exit(i),e.exit(n),t):e5(h)?(e.enter("lineEnding"),e.consume(h),e.exit("lineEnding"),c):(e.enter("chunkString",{contentType:"string"}),u(h))}function u(t){return null===t||91===t||93===t||e5(t)||s++>999?(e.exit("chunkString"),c(t)):(e.consume(t),o||(o=!e3(t)),92===t?h:u)}function h(t){return 91===t||92===t||93===t?(e.consume(t),s++,u):u(t)}}function tN(e,t,r,n,i,a){let o;return function(t){return 34===t||39===t||40===t?(e.enter(n),e.enter(i),e.consume(t),e.exit(i),o=40===t?41:t,l):r(t)};function l(r){return r===o?(e.enter(i),e.consume(r),e.exit(i),e.exit(n),t):(e.enter(a),s(r))}function s(t){return t===o?(e.exit(a),l(o)):null===t?r(t):e5(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),e9(e,s,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),c(t))}function c(t){return t===o||null===t||e5(t)?(e.exit("chunkString"),s(t)):(e.consume(t),92===t?u:c)}function u(t){return t===o||92===t?(e.consume(t),c):c(t)}}function tI(e,t){let r;return function n(i){return e5(i)?(e.enter("lineEnding"),e.consume(i),e.exit("lineEnding"),r=!0,n):e3(i)?e9(e,n,r?"linePrefix":"lineSuffix")(i):t(i)}}function tL(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}let tR={partial:!0,tokenize:function(e,t,r){return function(t){return e6(t)?tI(e,n)(t):r(t)};function n(t){return tN(e,i,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(t)}function i(t){return e3(t)?e9(e,a,"whitespace")(t):a(t)}function a(e){return null===e||e5(e)?t(e):r(e)}}},tP=["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","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],tB=["pre","script","style","textarea"],tO={partial:!0,tokenize:function(e,t,r){return function(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),e.attempt(tn,t,r)}}},tD={partial:!0,tokenize:function(e,t,r){let n=this;return function(t){return e5(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),i):r(t)};function i(e){return n.parser.lazy[n.now().line]?r(e):t(e)}}},tF={name:"labelEnd",resolveAll:function(e){let t=-1,r=[];for(;++t<e.length;){let n=e[t][1];if(r.push(e[t]),"labelImage"===n.type||"labelLink"===n.type||"labelEnd"===n.type){let e="labelImage"===n.type?4:2;n.type="data",t+=e}}return e.length!==r.length&&eW(e,0,e.length,r),e},resolveTo:function(e,t){let r,n,i,a,o=e.length,l=0;for(;o--;)if(r=e[o][1],n){if("link"===r.type||"labelLink"===r.type&&r._inactive)break;"enter"===e[o][0]&&"labelLink"===r.type&&(r._inactive=!0)}else if(i){if("enter"===e[o][0]&&("labelImage"===r.type||"labelLink"===r.type)&&!r._balanced&&(n=o,"labelLink"!==r.type)){l=2;break}}else"labelEnd"===r.type&&(i=o);let s={type:"labelLink"===e[n][1].type?"link":"image",start:{...e[n][1].start},end:{...e[e.length-1][1].end}},c={type:"label",start:{...e[n][1].start},end:{...e[i][1].end}},u={type:"labelText",start:{...e[n+l+2][1].end},end:{...e[i-2][1].start}};return a=e$(a=[["enter",s,t],["enter",c,t]],e.slice(n+1,n+l+3)),a=e$(a,[["enter",u,t]]),a=e$(a,ty(t.parser.constructs.insideSpan.null,e.slice(n+l+4,i-3),t)),a=e$(a,[["exit",u,t],e[i-2],e[i-1],["exit",c,t]]),a=e$(a,e.slice(i+1)),a=e$(a,[["exit",s,t]]),eW(e,n,e.length,a),e},tokenize:function(e,t,r){let n,i,a=this,o=a.events.length;for(;o--;)if(("labelImage"===a.events[o][1].type||"labelLink"===a.events[o][1].type)&&!a.events[o][1]._balanced){n=a.events[o][1];break}return function(t){return n?n._inactive?u(t):(i=a.parser.defined.includes(tL(a.sliceSerialize({start:n.end,end:a.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelEnd"),l):r(t)};function l(t){return 40===t?e.attempt(tq,c,i?c:u)(t):91===t?e.attempt(tj,c,i?s:u)(t):i?c(t):u(t)}function s(t){return e.attempt(tH,c,u)(t)}function c(e){return t(e)}function u(e){return n._balanced=!0,r(e)}}},tq={tokenize:function(e,t,r){return function(t){return e.enter("resource"),e.enter("resourceMarker"),e.consume(t),e.exit("resourceMarker"),n};function n(t){return e6(t)?tI(e,i)(t):i(t)}function i(t){return 41===t?c(t):tE(e,a,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(t)}function a(t){return e6(t)?tI(e,l)(t):c(t)}function o(e){return r(e)}function l(t){return 34===t||39===t||40===t?tN(e,s,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(t):c(t)}function s(t){return e6(t)?tI(e,c)(t):c(t)}function c(n){return 41===n?(e.enter("resourceMarker"),e.consume(n),e.exit("resourceMarker"),e.exit("resource"),t):r(n)}}},tj={tokenize:function(e,t,r){let n=this;return function(t){return tz.call(n,e,i,a,"reference","referenceMarker","referenceString")(t)};function i(e){return n.parser.defined.includes(tL(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(e):r(e)}function a(e){return r(e)}}},tH={tokenize:function(e,t,r){return function(t){return e.enter("reference"),e.enter("referenceMarker"),e.consume(t),e.exit("referenceMarker"),n};function n(n){return 93===n?(e.enter("referenceMarker"),e.consume(n),e.exit("referenceMarker"),e.exit("reference"),t):r(n)}}},tU={name:"labelStartImage",resolveAll:tF.resolveAll,tokenize:function(e,t,r){let n=this;return function(t){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(t),e.exit("labelImageMarker"),i};function i(t){return 91===t?(e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelImage"),a):r(t)}function a(e){return 94===e&&"_hiddenFootnoteSupport"in n.parser.constructs?r(e):t(e)}}},tG={name:"labelStartLink",resolveAll:tF.resolveAll,tokenize:function(e,t,r){let n=this;return function(t){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(t),e.exit("labelMarker"),e.exit("labelLink"),i};function i(e){return 94===e&&"_hiddenFootnoteSupport"in n.parser.constructs?r(e):t(e)}}},tV={name:"lineEnding",tokenize:function(e,t){return function(r){return e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),e9(e,t,"linePrefix")}}},tW={name:"thematicBreak",tokenize:function(e,t,r){let n,i=0;return function(a){var o;return e.enter("thematicBreak"),n=o=a,function a(o){return o===n?(e.enter("thematicBreakSequence"),function t(r){return r===n?(e.consume(r),i++,t):(e.exit("thematicBreakSequence"),e3(r)?e9(e,a,"whitespace")(r):a(r))}(o)):i>=3&&(null===o||e5(o))?(e.exit("thematicBreak"),t(o)):r(o)}(o)}}},t$={continuation:{tokenize:function(e,t,r){let n=this;return n.containerState._closeFlow=void 0,e.check(tn,function(r){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,e9(e,t,"listItemIndent",n.containerState.size+1)(r)},function(r){return n.containerState.furtherBlankLines||!e3(r)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,i(r)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(tY,t,i)(r))});function i(i){return n.containerState._closeFlow=!0,n.interrupt=void 0,e9(e,e.attempt(t$,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(i)}}},exit:function(e){e.exit(this.containerState.type)},name:"list",tokenize:function(e,t,r){let n=this,i=n.events[n.events.length-1],a=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,o=0;return function(t){let i=n.containerState.type||(42===t||43===t||45===t?"listUnordered":"listOrdered");if("listUnordered"===i?!n.containerState.marker||t===n.containerState.marker:e0(t)){if(n.containerState.type||(n.containerState.type=i,e.enter(i,{_container:!0})),"listUnordered"===i)return e.enter("listItemPrefix"),42===t||45===t?e.check(tW,r,l)(t):l(t);if(!n.interrupt||49===t)return e.enter("listItemPrefix"),e.enter("listItemValue"),function t(i){return e0(i)&&++o<10?(e.consume(i),t):(!n.interrupt||o<2)&&(n.containerState.marker?i===n.containerState.marker:41===i||46===i)?(e.exit("listItemValue"),l(i)):r(i)}(t)}return r(t)};function l(t){return e.enter("listItemMarker"),e.consume(t),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||t,e.check(tn,n.interrupt?r:s,e.attempt(tX,u,c))}function s(e){return n.containerState.initialBlankLine=!0,a++,u(e)}function c(t){return e3(t)?(e.enter("listItemPrefixWhitespace"),e.consume(t),e.exit("listItemPrefixWhitespace"),u):r(t)}function u(r){return n.containerState.size=a+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(r)}}},tX={partial:!0,tokenize:function(e,t,r){let n=this;return e9(e,function(e){let i=n.events[n.events.length-1];return!e3(e)&&i&&"listItemPrefixWhitespace"===i[1].type?t(e):r(e)},"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5)}},tY={partial:!0,tokenize:function(e,t,r){let n=this;return e9(e,function(e){let i=n.events[n.events.length-1];return i&&"listItemIndent"===i[1].type&&i[2].sliceSerialize(i[1],!0).length===n.containerState.size?t(e):r(e)},"listItemIndent",n.containerState.size+1)}},tK={name:"setextUnderline",resolveTo:function(e,t){let r,n,i,a=e.length;for(;a--;)if("enter"===e[a][0]){if("content"===e[a][1].type){r=a;break}"paragraph"===e[a][1].type&&(n=a)}else"content"===e[a][1].type&&e.splice(a,1),i||"definition"!==e[a][1].type||(i=a);let o={type:"setextHeading",start:{...e[r][1].start},end:{...e[e.length-1][1].end}};return e[n][1].type="setextHeadingText",i?(e.splice(n,0,["enter",o,t]),e.splice(i+1,0,["exit",e[r][1],t]),e[r][1].end={...e[i][1].end}):e[r][1]=o,e.push(["exit",o,t]),e},tokenize:function(e,t,r){let n,i=this;return function(t){var o;let l,s=i.events.length;for(;s--;)if("lineEnding"!==i.events[s][1].type&&"linePrefix"!==i.events[s][1].type&&"content"!==i.events[s][1].type){l="paragraph"===i.events[s][1].type;break}return!i.parser.lazy[i.now().line]&&(i.interrupt||l)?(e.enter("setextHeadingLine"),n=t,o=t,e.enter("setextHeadingLineSequence"),function t(r){return r===n?(e.consume(r),t):(e.exit("setextHeadingLineSequence"),e3(r)?e9(e,a,"lineSuffix")(r):a(r))}(o)):r(t)};function a(n){return null===n||e5(n)?(e.exit("setextHeadingLine"),t(n)):r(n)}}},tJ={42:t$,43:t$,45:t$,48:t$,49:t$,50:t$,51:t$,52:t$,53:t$,54:t$,55:t$,56:t$,57:t$,62:tx},tQ={91:{name:"definition",tokenize:function(e,t,r){let n,i=this;return function(t){var n;return e.enter("definition"),n=t,tz.call(i,e,a,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(n)};function a(t){return(n=tL(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===t)?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o):r(t)}function o(t){return e6(t)?tI(e,l)(t):l(t)}function l(t){return tE(e,s,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(t)}function s(t){return e.attempt(tR,c,c)(t)}function c(t){return e3(t)?e9(e,u,"whitespace")(t):u(t)}function u(a){return null===a||e5(a)?(e.exit("definition"),i.parser.defined.push(n),t(a)):r(a)}}}},tZ={[-2]:t_,[-1]:t_,32:t_},t0={35:{name:"headingAtx",resolve:function(e,t){let r,n,i=e.length-2,a=3;return"whitespace"===e[3][1].type&&(a+=2),i-2>a&&"whitespace"===e[i][1].type&&(i-=2),"atxHeadingSequence"===e[i][1].type&&(a===i-1||i-4>a&&"whitespace"===e[i-2][1].type)&&(i-=a+1===i?2:4),i>a&&(r={type:"atxHeadingText",start:e[a][1].start,end:e[i][1].end},n={type:"chunkText",start:e[a][1].start,end:e[i][1].end,contentType:"text"},eW(e,a,i-a+1,[["enter",r,t],["enter",n,t],["exit",n,t],["exit",r,t]])),e},tokenize:function(e,t,r){let n=0;return function(i){var a;return e.enter("atxHeading"),a=i,e.enter("atxHeadingSequence"),function i(a){return 35===a&&n++<6?(e.consume(a),i):null===a||e6(a)?(e.exit("atxHeadingSequence"),function r(n){return 35===n?(e.enter("atxHeadingSequence"),function t(n){return 35===n?(e.consume(n),t):(e.exit("atxHeadingSequence"),r(n))}(n)):null===n||e5(n)?(e.exit("atxHeading"),t(n)):e3(n)?e9(e,r,"whitespace")(n):(e.enter("atxHeadingText"),function t(n){return null===n||35===n||e6(n)?(e.exit("atxHeadingText"),r(n)):(e.consume(n),t)}(n))}(a)):r(a)}(a)}}},42:tW,45:[tK,tW],60:{concrete:!0,name:"htmlFlow",resolveTo:function(e){let t=e.length;for(;t--&&("enter"!==e[t][0]||"htmlFlow"!==e[t][1].type););return t>1&&"linePrefix"===e[t-2][1].type&&(e[t][1].start=e[t-2][1].start,e[t+1][1].start=e[t-2][1].start,e.splice(t-2,2)),e},tokenize:function(e,t,r){let n,i,a,o,l,s=this;return function(t){var r;return r=t,e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(r),c};function c(o){return 33===o?(e.consume(o),u):47===o?(e.consume(o),i=!0,m):63===o?(e.consume(o),n=3,s.interrupt?t:I):eK(o)?(e.consume(o),a=String.fromCharCode(o),d):r(o)}function u(i){return 45===i?(e.consume(i),n=2,h):91===i?(e.consume(i),n=5,o=0,p):eK(i)?(e.consume(i),n=4,s.interrupt?t:I):r(i)}function h(n){return 45===n?(e.consume(n),s.interrupt?t:I):r(n)}function p(n){let i="CDATA[";return n===i.charCodeAt(o++)?(e.consume(n),o===i.length)?s.interrupt?t:S:p:r(n)}function m(t){return eK(t)?(e.consume(t),a=String.fromCharCode(t),d):r(t)}function d(o){if(null===o||47===o||62===o||e6(o)){let l=47===o,c=a.toLowerCase();return!l&&!i&&tB.includes(c)?(n=1,s.interrupt?t(o):S(o)):tP.includes(a.toLowerCase())?(n=6,l)?(e.consume(o),f):s.interrupt?t(o):S(o):(n=7,s.interrupt&&!s.parser.lazy[s.now().line]?r(o):i?function t(r){return e3(r)?(e.consume(r),t):k(r)}(o):g(o))}return 45===o||eJ(o)?(e.consume(o),a+=String.fromCharCode(o),d):r(o)}function f(n){return 62===n?(e.consume(n),s.interrupt?t:S):r(n)}function g(t){return 47===t?(e.consume(t),k):58===t||95===t||eK(t)?(e.consume(t),y):e3(t)?(e.consume(t),g):k(t)}function y(t){return 45===t||46===t||58===t||95===t||eJ(t)?(e.consume(t),y):v(t)}function v(t){return 61===t?(e.consume(t),b):e3(t)?(e.consume(t),v):g(t)}function b(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),l=t,x):e3(t)?(e.consume(t),b):function t(r){return null===r||34===r||39===r||47===r||60===r||61===r||62===r||96===r||e6(r)?v(r):(e.consume(r),t)}(t)}function x(t){return t===l?(e.consume(t),l=null,w):null===t||e5(t)?r(t):(e.consume(t),x)}function w(e){return 47===e||62===e||e3(e)?g(e):r(e)}function k(t){return 62===t?(e.consume(t),A):r(t)}function A(t){return null===t||e5(t)?S(t):e3(t)?(e.consume(t),A):r(t)}function S(t){return 45===t&&2===n?(e.consume(t),M):60===t&&1===n?(e.consume(t),E):62===t&&4===n?(e.consume(t),L):63===t&&3===n?(e.consume(t),I):93===t&&5===n?(e.consume(t),N):e5(t)&&(6===n||7===n)?(e.exit("htmlFlowData"),e.check(tO,R,C)(t)):null===t||e5(t)?(e.exit("htmlFlowData"),C(t)):(e.consume(t),S)}function C(t){return e.check(tD,T,R)(t)}function T(t){return e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),_}function _(t){return null===t||e5(t)?C(t):(e.enter("htmlFlowData"),S(t))}function M(t){return 45===t?(e.consume(t),I):S(t)}function E(t){return 47===t?(e.consume(t),a="",z):S(t)}function z(t){if(62===t){let r=a.toLowerCase();return tB.includes(r)?(e.consume(t),L):S(t)}return eK(t)&&a.length<8?(e.consume(t),a+=String.fromCharCode(t),z):S(t)}function N(t){return 93===t?(e.consume(t),I):S(t)}function I(t){return 62===t?(e.consume(t),L):45===t&&2===n?(e.consume(t),I):S(t)}function L(t){return null===t||e5(t)?(e.exit("htmlFlowData"),R(t)):(e.consume(t),L)}function R(r){return e.exit("htmlFlow"),t(r)}}},61:tK,95:tW,96:tT,126:tT},t1={38:tS,92:tw},t4={[-5]:tV,[-4]:tV,[-3]:tV,33:tU,38:tS,42:tv,60:[{name:"autolink",tokenize:function(e,t,r){let n=0;return function(t){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(t),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),i};function i(t){return eK(t)?(e.consume(t),a):64===t?r(t):l(t)}function a(t){return 43===t||45===t||46===t||eJ(t)?(n=1,function t(r){return 58===r?(e.consume(r),n=0,o):(43===r||45===r||46===r||eJ(r))&&n++<32?(e.consume(r),t):(n=0,l(r))}(t)):l(t)}function o(n){return 62===n?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(n),e.exit("autolinkMarker"),e.exit("autolink"),t):null===n||32===n||60===n||eZ(n)?r(n):(e.consume(n),o)}function l(t){return 64===t?(e.consume(t),s):eQ(t)?(e.consume(t),l):r(t)}function s(i){return eJ(i)?function i(a){return 46===a?(e.consume(a),n=0,s):62===a?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(a),e.exit("autolinkMarker"),e.exit("autolink"),t):function t(a){if((45===a||eJ(a))&&n++<63){let r=45===a?t:i;return e.consume(a),r}return r(a)}(a)}(i):r(i)}}},{name:"htmlText",tokenize:function(e,t,r){let n,i,a,o=this;return function(t){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(t),l};function l(t){return 33===t?(e.consume(t),s):47===t?(e.consume(t),x):63===t?(e.consume(t),v):eK(t)?(e.consume(t),k):r(t)}function s(t){return 45===t?(e.consume(t),c):91===t?(e.consume(t),i=0,m):eK(t)?(e.consume(t),y):r(t)}function c(t){return 45===t?(e.consume(t),p):r(t)}function u(t){return null===t?r(t):45===t?(e.consume(t),h):e5(t)?(a=u,z(t)):(e.consume(t),u)}function h(t){return 45===t?(e.consume(t),p):u(t)}function p(e){return 62===e?E(e):45===e?h(e):u(e)}function m(t){let n="CDATA[";return t===n.charCodeAt(i++)?(e.consume(t),i===n.length?d:m):r(t)}function d(t){return null===t?r(t):93===t?(e.consume(t),f):e5(t)?(a=d,z(t)):(e.consume(t),d)}function f(t){return 93===t?(e.consume(t),g):d(t)}function g(t){return 62===t?E(t):93===t?(e.consume(t),g):d(t)}function y(t){return null===t||62===t?E(t):e5(t)?(a=y,z(t)):(e.consume(t),y)}function v(t){return null===t?r(t):63===t?(e.consume(t),b):e5(t)?(a=v,z(t)):(e.consume(t),v)}function b(e){return 62===e?E(e):v(e)}function x(t){return eK(t)?(e.consume(t),w):r(t)}function w(t){return 45===t||eJ(t)?(e.consume(t),w):function t(r){return e5(r)?(a=t,z(r)):e3(r)?(e.consume(r),t):E(r)}(t)}function k(t){return 45===t||eJ(t)?(e.consume(t),k):47===t||62===t||e6(t)?A(t):r(t)}function A(t){return 47===t?(e.consume(t),E):58===t||95===t||eK(t)?(e.consume(t),S):e5(t)?(a=A,z(t)):e3(t)?(e.consume(t),A):E(t)}function S(t){return 45===t||46===t||58===t||95===t||eJ(t)?(e.consume(t),S):function t(r){return 61===r?(e.consume(r),C):e5(r)?(a=t,z(r)):e3(r)?(e.consume(r),t):A(r)}(t)}function C(t){return null===t||60===t||61===t||62===t||96===t?r(t):34===t||39===t?(e.consume(t),n=t,T):e5(t)?(a=C,z(t)):e3(t)?(e.consume(t),C):(e.consume(t),_)}function T(t){return t===n?(e.consume(t),n=void 0,M):null===t?r(t):e5(t)?(a=T,z(t)):(e.consume(t),T)}function _(t){return null===t||34===t||39===t||60===t||61===t||96===t?r(t):47===t||62===t||e6(t)?A(t):(e.consume(t),_)}function M(e){return 47===e||62===e||e6(e)?A(e):r(e)}function E(n){return 62===n?(e.consume(n),e.exit("htmlTextData"),e.exit("htmlText"),t):r(n)}function z(t){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),N}function N(t){return e3(t)?e9(e,I,"linePrefix",o.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):I(t)}function I(t){return e.enter("htmlTextData"),a(t)}}}],91:tG,92:[{name:"hardBreakEscape",tokenize:function(e,t,r){return function(t){return e.enter("hardBreakEscape"),e.consume(t),n};function n(n){return e5(n)?(e.exit("hardBreakEscape"),t(n)):r(n)}}},tw],93:tF,95:tv,96:{name:"codeText",previous:function(e){return 96!==e||"characterEscape"===this.events[this.events.length-1][1].type},resolve:function(e){let t,r,n=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[n][1].type||"space"===e[n][1].type)){for(t=i;++t<n;)if("codeTextData"===e[t][1].type){e[i][1].type="codeTextPadding",e[n][1].type="codeTextPadding",i+=2,n-=2;break}}for(t=i-1,n++;++t<=n;)void 0===r?t!==n&&"lineEnding"!==e[t][1].type&&(r=t):(t===n||"lineEnding"===e[t][1].type)&&(e[r][1].type="codeTextData",t!==r+2&&(e[r][1].end=e[t-1][1].end,e.splice(r+2,t-r-2),n-=t-r-2,t=r+2),r=void 0);return e},tokenize:function(e,t,r){let n,i,a=0;return function(t){return e.enter("codeText"),e.enter("codeTextSequence"),function t(r){return 96===r?(e.consume(r),a++,t):(e.exit("codeTextSequence"),o(r))}(t)};function o(s){return null===s?r(s):32===s?(e.enter("space"),e.consume(s),e.exit("space"),o):96===s?(i=e.enter("codeTextSequence"),n=0,function r(o){return 96===o?(e.consume(o),n++,r):n===a?(e.exit("codeTextSequence"),e.exit("codeText"),t(o)):(i.type="codeTextData",l(o))}(s)):e5(s)?(e.enter("lineEnding"),e.consume(s),e.exit("lineEnding"),o):(e.enter("codeTextData"),l(s))}function l(t){return null===t||32===t||96===t||e5(t)?(e.exit("codeTextData"),o(t)):(e.consume(t),l)}}}},t5={null:[tv,tu]},t6={null:[42,95]},t3={null:[]};var t7=e.i(4127);let t2=/[\0\t\n\r]/g;function t8(e,t){let r=Number.parseInt(e,t);return r<9||11===r||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(65535&r)==65535||(65535&r)==65534||r>1114111?"�":String.fromCodePoint(r)}let t9=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function re(e,t,r){if(t)return t;if(35===r.charCodeAt(0)){let e=r.charCodeAt(1),t=120===e||88===e;return t8(r.slice(t?2:1),t?16:10)}return tA(r)||e}let rt={}.hasOwnProperty;function rr(e){return{line:e.line,column:e.column,offset:e.offset}}function rn(e,t){if(e)throw Error("Cannot close `"+e.type+"` ("+ek({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+ek({start:t.start,end:t.end})+") is open");throw Error("Cannot close document, a token (`"+t.type+"`, "+ek({start:t.start,end:t.end})+") is still open")}function ri(e){let t=this;t.parser=function(r){var n,i;let a,o,l,s;return"object"==typeof(n={...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})&&(i=n,n=void 0),(function(e){let t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:n(y),autolinkProtocol:c,autolinkEmail:c,atxHeading:n(d),blockQuote:n(function(){return{type:"blockquote",children:[]}}),characterEscape:c,characterReference:c,codeFenced:n(m),codeFencedFenceInfo:i,codeFencedFenceMeta:i,codeIndented:n(m,i),codeText:n(function(){return{type:"inlineCode",value:""}},i),codeTextData:c,data:c,codeFlowValue:c,definition:n(function(){return{type:"definition",identifier:"",label:null,title:null,url:""}}),definitionDestinationString:i,definitionLabelString:i,definitionTitleString:i,emphasis:n(function(){return{type:"emphasis",children:[]}}),hardBreakEscape:n(f),hardBreakTrailing:n(f),htmlFlow:n(g,i),htmlFlowData:c,htmlText:n(g,i),htmlTextData:c,image:n(function(){return{type:"image",title:null,url:"",alt:null}}),label:i,link:n(y),listItem:n(function(e){return{type:"listItem",spread:e._spread,checked:null,children:[]}}),listItemValue:function(e){this.data.expectingFirstListItemValue&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(e),10),this.data.expectingFirstListItemValue=void 0)},listOrdered:n(v,function(){this.data.expectingFirstListItemValue=!0}),listUnordered:n(v),paragraph:n(function(){return{type:"paragraph",children:[]}}),reference:function(){this.data.referenceType="collapsed"},referenceString:i,resourceDestinationString:i,resourceTitleString:i,setextHeading:n(d),strong:n(function(){return{type:"strong",children:[]}}),thematicBreak:n(function(){return{type:"thematicBreak"}})},exit:{atxHeading:o(),atxHeadingSequence:function(e){let t=this.stack[this.stack.length-1];t.depth||(t.depth=this.sliceSerialize(e).length)},autolink:o(),autolinkEmail:function(e){u.call(this,e),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(e)},autolinkProtocol:function(e){u.call(this,e),this.stack[this.stack.length-1].url=this.sliceSerialize(e)},blockQuote:o(),characterEscapeValue:u,characterReferenceMarkerHexadecimal:p,characterReferenceMarkerNumeric:p,characterReferenceValue:function(e){let t,r=this.sliceSerialize(e),n=this.data.characterReferenceType;n?(t=t8(r,"characterReferenceMarkerNumeric"===n?10:16),this.data.characterReferenceType=void 0):t=tA(r);let i=this.stack[this.stack.length-1];i.value+=t},characterReference:function(e){this.stack.pop().position.end=rr(e.end)},codeFenced:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}),codeFencedFence:function(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)},codeFencedFenceInfo:function(){let e=this.resume();this.stack[this.stack.length-1].lang=e},codeFencedFenceMeta:function(){let e=this.resume();this.stack[this.stack.length-1].meta=e},codeFlowValue:u,codeIndented:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e.replace(/(\r?\n|\r)$/g,"")}),codeText:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),codeTextData:u,data:u,definition:o(),definitionDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},definitionLabelString:function(e){let t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=tL(this.sliceSerialize(e)).toLowerCase()},definitionTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},emphasis:o(),hardBreakEscape:o(h),hardBreakTrailing:o(h),htmlFlow:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlFlowData:u,htmlText:o(function(){let e=this.resume();this.stack[this.stack.length-1].value=e}),htmlTextData:u,image:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),label:function(){let e=this.stack[this.stack.length-1],t=this.resume(),r=this.stack[this.stack.length-1];this.data.inReference=!0,"link"===r.type?r.children=e.children:r.alt=t},labelText:function(e){let t=this.sliceSerialize(e),r=this.stack[this.stack.length-2];r.label=t.replace(t9,re),r.identifier=tL(t).toLowerCase()},lineEnding:function(e){let r=this.stack[this.stack.length-1];if(this.data.atHardBreak){r.children[r.children.length-1].position.end=rr(e.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(r.type)&&(c.call(this,e),u.call(this,e))},link:o(function(){let e=this.stack[this.stack.length-1];if(this.data.inReference){let t=this.data.referenceType||"shortcut";e.type+="Reference",e.referenceType=t,delete e.url,delete e.title}else delete e.identifier,delete e.label;this.data.referenceType=void 0}),listItem:o(),listOrdered:o(),listUnordered:o(),paragraph:o(),referenceString:function(e){let t=this.resume(),r=this.stack[this.stack.length-1];r.label=t,r.identifier=tL(this.sliceSerialize(e)).toLowerCase(),this.data.referenceType="full"},resourceDestinationString:function(){let e=this.resume();this.stack[this.stack.length-1].url=e},resourceTitleString:function(){let e=this.resume();this.stack[this.stack.length-1].title=e},resource:function(){this.data.inReference=void 0},setextHeading:o(function(){this.data.setextHeadingSlurpLineEnding=void 0}),setextHeadingLineSequence:function(e){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(e).codePointAt(0)?1:2},setextHeadingText:function(){this.data.setextHeadingSlurpLineEnding=!0},strong:o(),thematicBreak:o()}};!function e(t,r){let n=-1;for(;++n<r.length;){let i=r[n];Array.isArray(i)?e(t,i):function(e,t){let r;for(r in t)if(rt.call(t,r))switch(r){case"canContainEols":{let n=t[r];n&&e[r].push(...n);break}case"transforms":{let n=t[r];n&&e[r].push(...n);break}case"enter":case"exit":{let n=t[r];n&&Object.assign(e[r],n)}}}(t,i)}}(t,(e||{}).mdastExtensions||[]);let r={};return function(e){let n={type:"root",children:[]},o={stack:[n],tokenStack:[],config:t,enter:a,exit:l,buffer:i,resume:s,data:r},c=[],u=-1;for(;++u<e.length;)("listOrdered"===e[u][1].type||"listUnordered"===e[u][1].type)&&("enter"===e[u][0]?c.push(u):u=function(e,t,r){let n,i,a,o,l=t-1,s=-1,c=!1;for(;++l<=r;){let t=e[l];switch(t[1].type){case"listUnordered":case"listOrdered":case"blockQuote":"enter"===t[0]?s++:s--,o=void 0;break;case"lineEndingBlank":"enter"===t[0]&&(!n||o||s||a||(a=l),o=void 0);break;case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:o=void 0}if(!s&&"enter"===t[0]&&"listItemPrefix"===t[1].type||-1===s&&"exit"===t[0]&&("listUnordered"===t[1].type||"listOrdered"===t[1].type)){if(n){let o=l;for(i=void 0;o--;){let t=e[o];if("lineEnding"===t[1].type||"lineEndingBlank"===t[1].type){if("exit"===t[0])continue;i&&(e[i][1].type="lineEndingBlank",c=!0),t[1].type="lineEnding",i=o}else if("linePrefix"===t[1].type||"blockQuotePrefix"===t[1].type||"blockQuotePrefixWhitespace"===t[1].type||"blockQuoteMarker"===t[1].type||"listItemIndent"===t[1].type);else break}a&&(!i||a<i)&&(n._spread=!0),n.end=Object.assign({},i?e[i][1].start:t[1].end),e.splice(i||l,0,["exit",n,t[2]]),l++,r++}if("listItemPrefix"===t[1].type){let i={type:"listItem",_spread:!1,start:Object.assign({},t[1].start),end:void 0};n=i,e.splice(l,0,["enter",i,t[2]]),l++,r++,a=void 0,o=!0}}}return e[t][1]._spread=c,r}(e,c.pop(),u));for(u=-1;++u<e.length;){let r=t[e[u][0]];rt.call(r,e[u][1].type)&&r[e[u][1].type].call(Object.assign({sliceSerialize:e[u][2].sliceSerialize},o),e[u][1])}if(o.tokenStack.length>0){let e=o.tokenStack[o.tokenStack.length-1];(e[1]||rn).call(o,void 0,e[0])}for(n.position={start:rr(e.length>0?e[0][1].start:{line:1,column:1,offset:0}),end:rr(e.length>0?e[e.length-2][1].end:{line:1,column:1,offset:0})},u=-1;++u<t.transforms.length;)n=t.transforms[u](n)||n;return n};function n(e,t){return function(r){a.call(this,e(r),r),t&&t.call(this,r)}}function i(){this.stack.push({type:"fragment",children:[]})}function a(e,t,r){this.stack[this.stack.length-1].children.push(e),this.stack.push(e),this.tokenStack.push([t,r||void 0]),e.position={start:rr(t.start),end:void 0}}function o(e){return function(t){e&&e.call(this,t),l.call(this,t)}}function l(e,t){let r=this.stack.pop(),n=this.tokenStack.pop();if(n)n[0].type!==e.type&&(t?t.call(this,e,n[0]):(n[1]||rn).call(this,e,n[0]));else throw Error("Cannot close `"+e.type+"` ("+ek({start:e.start,end:e.end})+"): it’s not open");r.position.end=rr(e.end)}function s(){return eU(this.stack.pop())}function c(e){let t=this.stack[this.stack.length-1].children,r=t[t.length-1];r&&"text"===r.type||((r={type:"text",value:""}).position={start:rr(e.start),end:void 0},t.push(r)),this.stack.push(r)}function u(e){let t=this.stack.pop();t.value+=this.sliceSerialize(e),t.position.end=rr(e.end)}function h(){this.data.atHardBreak=!0}function p(e){this.data.characterReferenceType=e.type}function m(){return{type:"code",lang:null,meta:null,value:""}}function d(){return{type:"heading",depth:0,children:[]}}function f(){return{type:"break"}}function g(){return{type:"html",value:""}}function y(){return{type:"link",title:null,url:"",children:[]}}function v(e){return{type:"list",ordered:"listOrdered"===e.type,start:null,spread:e._spread,children:[]}}})(i)(function(e){for(;!to(e););return e}((function(e){let t={constructs:eY([t7,...(e||{}).extensions||[]]),content:r(te),defined:[],document:r(tt),flow:r(tc),lazy:{},string:r(th),text:r(tp)};return t;function r(e){return function(r){return function(e,t,r){let n={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0},i={},a=[],o=[],l=[],s={attempt:d(function(e,t){f(e,t.from)}),check:d(m),consume:function(e){e5(e)?(n.line++,n.column=1,n.offset+=-3===e?2:1,g()):-1!==e&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===o[n._index].length&&(n._bufferIndex=-1,n._index++)),c.previous=e},enter:function(e,t){let r=t||{};return r.type=e,r.start=p(),c.events.push(["enter",r,c]),l.push(r),r},exit:function(e){let t=l.pop();return t.end=p(),c.events.push(["exit",t,c]),t},interrupt:d(m,{interrupt:!0})},c={code:null,containerState:{},defineSkip:function(e){i[e.line]=e.column,g()},events:[],now:p,parser:e,previous:null,sliceSerialize:function(e,t){return function(e,t){let r,n=-1,i=[];for(;++n<e.length;){let a,o=e[n];if("string"==typeof o)a=o;else switch(o){case -5:a="\r";break;case -4:a="\n";break;case -3:a="\r\n";break;case -2:a=t?" ":" ";break;case -1:if(!t&&r)continue;a=" ";break;default:a=String.fromCharCode(o)}r=-2===o,i.push(a)}return i.join("")}(h(e),t)},sliceStream:h,write:function(e){return(o=e$(o,e),function(){let e;for(;n._index<o.length;){let r=o[n._index];if("string"==typeof r)for(e=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===e&&n._bufferIndex<r.length;){var t;t=r.charCodeAt(n._bufferIndex),u=u(t)}else u=u(r)}}(),null!==o[o.length-1])?[]:(f(t,0),c.events=ty(a,c.events,c),c.events)}},u=t.tokenize.call(c,s);return t.resolveAll&&a.push(t),c;function h(e){return function(e,t){let r,n=t.start._index,i=t.start._bufferIndex,a=t.end._index,o=t.end._bufferIndex;if(n===a)r=[e[n].slice(i,o)];else{if(r=e.slice(n,a),i>-1){let e=r[0];"string"==typeof e?r[0]=e.slice(i):r.shift()}o>0&&r.push(e[a].slice(0,o))}return r}(o,e)}function p(){let{_bufferIndex:e,_index:t,line:r,column:i,offset:a}=n;return{_bufferIndex:e,_index:t,line:r,column:i,offset:a}}function m(e,t){t.restore()}function d(e,t){return function(r,i,a){var o;let u,h,m,d;return Array.isArray(r)?f(r):"tokenize"in r?f([r]):(o=r,function(e){let t=null!==e&&o[e],r=null!==e&&o.null;return f([...Array.isArray(t)?t:t?[t]:[],...Array.isArray(r)?r:r?[r]:[]])(e)});function f(e){return(u=e,h=0,0===e.length)?a:y(e[h])}function y(e){return function(r){return(d=function(){let e=p(),t=c.previous,r=c.currentConstruct,i=c.events.length,a=Array.from(l);return{from:i,restore:function(){n=e,c.previous=t,c.currentConstruct=r,c.events.length=i,l=a,g()}}}(),m=e,e.partial||(c.currentConstruct=e),e.name&&c.parser.constructs.disable.null.includes(e.name))?b(r):e.tokenize.call(t?Object.assign(Object.create(c),t):c,s,v,b)(r)}}function v(t){return e(m,d),i}function b(e){return(d.restore(),++h<u.length)?y(u[h]):a}}}function f(e,t){e.resolveAll&&!a.includes(e)&&a.push(e),e.resolve&&eW(c.events,t,c.events.length-t,e.resolve(c.events.slice(t),c)),e.resolveTo&&(c.events=e.resolveTo(c.events,c))}function g(){n.line in i&&n.column<2&&(n.column=i[n.line],n.offset+=i[n.line]-1)}}(t,e,r)}}})(i).document().write((o=1,l="",s=!0,function(e,t,r){let n,i,c,u,h,p=[];for(e=l+("string"==typeof e?e.toString():new TextDecoder(t||void 0).decode(e)),c=0,l="",s&&(65279===e.charCodeAt(0)&&c++,s=void 0);c<e.length;){if(t2.lastIndex=c,u=(n=t2.exec(e))&&void 0!==n.index?n.index:e.length,h=e.charCodeAt(u),!n){l=e.slice(c);break}if(10===h&&c===u&&a)p.push(-3),a=void 0;else switch(a&&(p.push(-5),a=void 0),c<u&&(p.push(e.slice(c,u)),o+=u-c),h){case 0:p.push(65533),o++;break;case 9:for(i=4*Math.ceil(o/4),p.push(-2);o++<i;)p.push(-1);break;case 10:p.push(-4),o=1;break;default:a=!0,o=1}c=u+1}return r&&(a&&p.push(-5),l&&p.push(l),p.push(null)),p})(r,n,!0))))}}let ra="object"==typeof self?self:globalThis,ro=(e,t)=>{switch(e){case"Function":case"SharedWorker":case"Worker":case"eval":case"setInterval":case"setTimeout":throw TypeError("unable to deserialize "+e)}return new ra[e](t)},rl=e=>((e,t)=>{let r=(t,r)=>(e.set(r,t),t),n=i=>{if(e.has(i))return e.get(i);let[a,o]=t[i];switch(a){case 0:case -1:return r(o,i);case 1:{let e=r([],i);for(let t of o)e.push(n(t));return e}case 2:{let e=r({},i);for(let[t,r]of o)e[n(t)]=n(r);return e}case 3:return r(new Date(o),i);case 4:{let{source:e,flags:t}=o;return r(new RegExp(e,t),i)}case 5:{let e=r(new Map,i);for(let[t,r]of o)e.set(n(t),n(r));return e}case 6:{let e=r(new Set,i);for(let t of o)e.add(n(t));return e}case 7:{let{name:e,message:t}=o;return r(ro(e,t),i)}case 8:return r(BigInt(o),i);case"BigInt":return r(Object(BigInt(o)),i);case"ArrayBuffer":return r(new Uint8Array(o).buffer,o);case"DataView":{let{buffer:e}=new Uint8Array(o);return r(new DataView(e),o)}}return r(ro(a,o),i)};return n})(new Map,e)(0),{toString:rs}={},{keys:rc}=Object,ru=e=>{let t=typeof e;if("object"!==t||!e)return[0,t];let r=rs.call(e).slice(8,-1);switch(r){case"Array":return[1,""];case"Object":return[2,""];case"Date":return[3,""];case"RegExp":return[4,""];case"Map":return[5,""];case"Set":return[6,""];case"DataView":return[1,r]}return r.includes("Array")?[1,r]:r.includes("Error")?[7,r]:[2,r]},rh=e=>{let[t,r]=e;return 0===t&&("function"===r||"symbol"===r)},rp=function(e){let{json:t,lossy:r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=[];return((e,t,r,n)=>{let i=(e,t)=>{let i=n.push(e)-1;return r.set(t,i),i},a=n=>{if(r.has(n))return r.get(n);let[o,l]=ru(n);switch(o){case 0:{let t=n;switch(l){case"bigint":o=8,t=n.toString();break;case"function":case"symbol":if(e)throw TypeError("unable to serialize "+l);t=null;break;case"undefined":return i([-1],n)}return i([o,t],n)}case 1:{if(l){let e=n;return"DataView"===l?e=new Uint8Array(n.buffer):"ArrayBuffer"===l&&(e=new Uint8Array(n)),i([l,[...e]],n)}let e=[],t=i([o,e],n);for(let t of n)e.push(a(t));return t}case 2:{if(l)switch(l){case"BigInt":return i([l,n.toString()],n);case"Boolean":case"Number":case"String":return i([l,n.valueOf()],n)}if(t&&"toJSON"in n)return a(n.toJSON());let r=[],s=i([o,r],n);for(let t of rc(n))(e||!rh(ru(n[t])))&&r.push([a(t),a(n[t])]);return s}case 3:return i([o,n.toISOString()],n);case 4:{let{source:e,flags:t}=n;return i([o,{source:e,flags:t}],n)}case 5:{let t=[],r=i([o,t],n);for(let[r,i]of n)(e||!(rh(ru(r))||rh(ru(i))))&&t.push([a(r),a(i)]);return r}case 6:{let t=[],r=i([o,t],n);for(let r of n)(e||!rh(ru(r)))&&t.push(a(r));return r}}let{message:s}=n;return i([o,{name:l,message:s}],n)};return a})(!(t||r),!!t,new Map,n)(e),n},rm="function"==typeof structuredClone?(e,t)=>t&&("json"in t||"lossy"in t)?rl(rp(e,t)):structuredClone(e):(e,t)=>rl(rp(e,t));function rd(e){let t=[],r=-1,n=0,i=0;for(;++r<e.length;){let a=e.charCodeAt(r),o="";if(37===a&&eJ(e.charCodeAt(r+1))&&eJ(e.charCodeAt(r+2)))i=2;else if(a<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(a))||(o=String.fromCharCode(a));else if(a>55295&&a<57344){let t=e.charCodeAt(r+1);a<56320&&t>56319&&t<57344?(o=String.fromCharCode(a,t),i=1):o="�"}else o=String.fromCharCode(a);o&&(t.push(e.slice(n,r),encodeURIComponent(o)),n=r+i+1,o=""),i&&(r+=i,i=0)}return t.join("")+e.slice(n)}function rf(e,t){let r=[{type:"text",value:"↩"}];return t>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),r}function rg(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}let ry=function(e){var t,r;if(null==e)return rb;if("function"==typeof e)return rv(e);if("object"==typeof e){return Array.isArray(e)?function(e){let t=[],r=-1;for(;++r<e.length;)t[r]=ry(e[r]);return rv(function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];let i=-1;for(;++i<t.length;)if(t[i].apply(this,r))return!0;return!1})}(e):(t=e,rv(function(e){let r;for(r in t)if(e[r]!==t[r])return!1;return!0}))}if("string"==typeof e){return r=e,rv(function(e){return e&&e.type===r})}throw Error("Expected function, string, or object as test")};function rv(e){return function(t,r,n){return!!(function(e){return null!==e&&"object"==typeof e&&"type"in e}(t)&&e.call(this,t,"number"==typeof r?r:void 0,n||void 0))}}function rb(){return!0}let rx=[],rw="skip";function rk(e,t,r,n){let i;"function"==typeof t&&"function"!=typeof r?(n=r,r=t):i=t;let a=ry(i),o=n?-1:1;(function e(i,l,s){let c=i&&"object"==typeof i?i:{};if("string"==typeof c.type){let e="string"==typeof c.tagName?c.tagName:"string"==typeof c.name?c.name:void 0;Object.defineProperty(u,"name",{value:"node ("+i.type+(e?"<"+e+">":"")+")"})}return u;function u(){var c;let u,h,p,m=rx;if((!t||a(i,l,s[s.length-1]||void 0))&&!1===(m=Array.isArray(c=r(i,s))?c:"number"==typeof c?[!0,c]:null==c?rx:[c])[0])return m;if("children"in i&&i.children&&i.children&&m[0]!==rw)for(h=(n?i.children.length:-1)+o,p=s.concat(i);h>-1&&h<i.children.length;){if(!1===(u=e(i.children[h],h,p)())[0])return u;h="number"==typeof u[1]?u[1]:h+o}return m}})(e,void 0,[])()}function rA(e,t,r,n){let i,a,o;"function"==typeof t&&"function"!=typeof r?(a=void 0,o=t,i=r):(a=t,o=r,i=n),rk(e,a,function(e,t){let r=t[t.length-1],n=r?r.children.indexOf(e):void 0;return o(e,n,r)},i)}function rS(e,t){let r=t.referenceType,n="]";if("collapsed"===r?n+="[]":"full"===r&&(n+="["+(t.label||t.identifier)+"]"),"imageReference"===t.type)return[{type:"text",value:"!["+t.alt+n}];let i=e.all(t),a=i[0];a&&"text"===a.type?a.value="["+a.value:i.unshift({type:"text",value:"["});let o=i[i.length-1];return o&&"text"===o.type?o.value+=n:i.push({type:"text",value:n}),i}function rC(e){let t=e.spread;return null==t?e.children.length>1:t}function rT(e,t,r){let n=0,i=e.length;if(t){let t=e.codePointAt(n);for(;9===t||32===t;)n++,t=e.codePointAt(n)}if(r){let t=e.codePointAt(i-1);for(;9===t||32===t;)i--,t=e.codePointAt(i-1)}return i>n?e.slice(n,i):""}let r_={blockquote:function(e,t){let r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)},break:function(e,t){let r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:"\n"}]},code:function(e,t){let r=t.value?t.value+"\n":"",n={},i=t.lang?t.lang.split(/\s+/):[];i.length>0&&(n.className=["language-"+i[0]]);let a={type:"element",tagName:"code",properties:n,children:[{type:"text",value:r}]};return t.meta&&(a.data={meta:t.meta}),e.patch(t,a),a={type:"element",tagName:"pre",properties:{},children:[a=e.applyData(t,a)]},e.patch(t,a),a},delete:function(e,t){let r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},emphasis:function(e,t){let r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},footnoteReference:function(e,t){let r,n="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",i=String(t.identifier).toUpperCase(),a=rd(i.toLowerCase()),o=e.footnoteOrder.indexOf(i),l=e.footnoteCounts.get(i);void 0===l?(l=0,e.footnoteOrder.push(i),r=e.footnoteOrder.length):r=o+1,l+=1,e.footnoteCounts.set(i,l);let s={type:"element",tagName:"a",properties:{href:"#"+n+"fn-"+a,id:n+"fnref-"+a+(l>1?"-"+l:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(r)}]};e.patch(t,s);let c={type:"element",tagName:"sup",properties:{},children:[s]};return e.patch(t,c),e.applyData(t,c)},heading:function(e,t){let r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},html:function(e,t){if(e.options.allowDangerousHtml){let r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}},imageReference:function(e,t){let r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return rS(e,t);let i={src:rd(n.url||""),alt:t.alt};null!==n.title&&void 0!==n.title&&(i.title=n.title);let a={type:"element",tagName:"img",properties:i,children:[]};return e.patch(t,a),e.applyData(t,a)},image:function(e,t){let r={src:rd(t.url)};null!==t.alt&&void 0!==t.alt&&(r.alt=t.alt),null!==t.title&&void 0!==t.title&&(r.title=t.title);let n={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,n),e.applyData(t,n)},inlineCode:function(e,t){let r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);let n={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,n),e.applyData(t,n)},linkReference:function(e,t){let r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return rS(e,t);let i={href:rd(n.url||"")};null!==n.title&&void 0!==n.title&&(i.title=n.title);let a={type:"element",tagName:"a",properties:i,children:e.all(t)};return e.patch(t,a),e.applyData(t,a)},link:function(e,t){let r={href:rd(t.url)};null!==t.title&&void 0!==t.title&&(r.title=t.title);let n={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,n),e.applyData(t,n)},listItem:function(e,t,r){let n=e.all(t),i=r?function(e){let t=!1;if("list"===e.type){t=e.spread||!1;let r=e.children,n=-1;for(;!t&&++n<r.length;)t=rC(r[n])}return t}(r):rC(t),a={},o=[];if("boolean"==typeof t.checked){let e,r=n[0];r&&"element"===r.type&&"p"===r.tagName?e=r:(e={type:"element",tagName:"p",properties:{},children:[]},n.unshift(e)),e.children.length>0&&e.children.unshift({type:"text",value:" "}),e.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),a.className=["task-list-item"]}let l=-1;for(;++l<n.length;){let e=n[l];(i||0!==l||"element"!==e.type||"p"!==e.tagName)&&o.push({type:"text",value:"\n"}),"element"!==e.type||"p"!==e.tagName||i?o.push(e):o.push(...e.children)}let s=n[n.length-1];s&&(i||"element"!==s.type||"p"!==s.tagName)&&o.push({type:"text",value:"\n"});let c={type:"element",tagName:"li",properties:a,children:o};return e.patch(t,c),e.applyData(t,c)},list:function(e,t){let r={},n=e.all(t),i=-1;for("number"==typeof t.start&&1!==t.start&&(r.start=t.start);++i<n.length;){let e=n[i];if("element"===e.type&&"li"===e.tagName&&e.properties&&Array.isArray(e.properties.className)&&e.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}let a={type:"element",tagName:t.ordered?"ol":"ul",properties:r,children:e.wrap(n,!0)};return e.patch(t,a),e.applyData(t,a)},paragraph:function(e,t){let r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},root:function(e,t){let r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)},strong:function(e,t){let r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},table:function(e,t){let r=e.all(t),n=r.shift(),i=[];if(n){let r={type:"element",tagName:"thead",properties:{},children:e.wrap([n],!0)};e.patch(t.children[0],r),i.push(r)}if(r.length>0){let n={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},a=eb(t.children[1]),o=ev(t.children[t.children.length-1]);a&&o&&(n.position={start:a,end:o}),i.push(n)}let a={type:"element",tagName:"table",properties:{},children:e.wrap(i,!0)};return e.patch(t,a),e.applyData(t,a)},tableCell:function(e,t){let r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)},tableRow:function(e,t,r){let n=r?r.children:void 0,i=0===(n?n.indexOf(t):1)?"th":"td",a=r&&"table"===r.type?r.align:void 0,o=a?a.length:t.children.length,l=-1,s=[];for(;++l<o;){let r=t.children[l],n={},o=a?a[l]:void 0;o&&(n.align=o);let c={type:"element",tagName:i,properties:n,children:[]};r&&(c.children=e.all(r),e.patch(r,c),c=e.applyData(r,c)),s.push(c)}let c={type:"element",tagName:"tr",properties:{},children:e.wrap(s,!0)};return e.patch(t,c),e.applyData(t,c)},text:function(e,t){let r={type:"text",value:function(e){let t=String(e),r=/\r?\n|\r/g,n=r.exec(t),i=0,a=[];for(;n;)a.push(rT(t.slice(i,n.index),i>0,!0),n[0]),i=n.index+n[0].length,n=r.exec(t);return a.push(rT(t.slice(i),i>0,!1)),a.join("")}(String(t.value))};return e.patch(t,r),e.applyData(t,r)},thematicBreak:function(e,t){let r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)},toml:rM,yaml:rM,definition:rM,footnoteDefinition:rM};function rM(){}let rE={}.hasOwnProperty,rz={};function rN(e,t){e.position&&(t.position=ew(e))}function rI(e,t){let r=t;if(e&&e.data){let t=e.data.hName,n=e.data.hChildren,i=e.data.hProperties;"string"==typeof t&&("element"===r.type?r.tagName=t:r={type:"element",tagName:t,properties:{},children:"children"in r?r.children:[r]}),"element"===r.type&&i&&Object.assign(r.properties,rm(i)),"children"in r&&r.children&&null!=n&&(r.children=n)}return r}function rL(e,t){let r=[],n=-1;for(t&&r.push({type:"text",value:"\n"});++n<e.length;)n&&r.push({type:"text",value:"\n"}),r.push(e[n]);return t&&e.length>0&&r.push({type:"text",value:"\n"}),r}function rR(e){let t=0,r=e.charCodeAt(t);for(;9===r||32===r;)t++,r=e.charCodeAt(t);return e.slice(t)}function rP(e,t){let r=function(e,t){let r=t||rz,n=new Map,i=new Map,a={all:function(e){let t=[];if("children"in e){let r=e.children,n=-1;for(;++n<r.length;){let i=a.one(r[n],e);if(i){if(n&&"break"===r[n-1].type&&(Array.isArray(i)||"text"!==i.type||(i.value=rR(i.value)),!Array.isArray(i)&&"element"===i.type)){let e=i.children[0];e&&"text"===e.type&&(e.value=rR(e.value))}Array.isArray(i)?t.push(...i):t.push(i)}}}return t},applyData:rI,definitionById:n,footnoteById:i,footnoteCounts:new Map,footnoteOrder:[],handlers:{...r_,...r.handlers},one:function(e,t){let r=e.type,n=a.handlers[r];if(rE.call(a.handlers,r)&&n)return n(a,e,t);if(a.options.passThrough&&a.options.passThrough.includes(r)){if("children"in e){let{children:t,...r}=e,n=rm(r);return n.children=a.all(e),n}return rm(e)}return(a.options.unknownHandler||function(e,t){let r=t.data||{},n="value"in t&&!(rE.call(r,"hProperties")||rE.call(r,"hChildren"))?{type:"text",value:t.value}:{type:"element",tagName:"div",properties:{},children:e.all(t)};return e.patch(t,n),e.applyData(t,n)})(a,e,t)},options:r,patch:rN,wrap:rL};return rA(e,function(e){if("definition"===e.type||"footnoteDefinition"===e.type){let t="definition"===e.type?n:i,r=String(e.identifier).toUpperCase();t.has(r)||t.set(r,e)}}),a}(e,t),n=r.one(e,void 0),i=function(e){let t="string"==typeof e.options.clobberPrefix?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||rf,n=e.options.footnoteBackLabel||rg,i=e.options.footnoteLabel||"Footnotes",a=e.options.footnoteLabelTagName||"h2",o=e.options.footnoteLabelProperties||{className:["sr-only"]},l=[],s=-1;for(;++s<e.footnoteOrder.length;){let i=e.footnoteById.get(e.footnoteOrder[s]);if(!i)continue;let a=e.all(i),o=String(i.identifier).toUpperCase(),c=rd(o.toLowerCase()),u=0,h=[],p=e.footnoteCounts.get(o);for(;void 0!==p&&++u<=p;){h.length>0&&h.push({type:"text",value:" "});let e="string"==typeof r?r:r(s,u);"string"==typeof e&&(e={type:"text",value:e}),h.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+c+(u>1?"-"+u:""),dataFootnoteBackref:"",ariaLabel:"string"==typeof n?n:n(s,u),className:["data-footnote-backref"]},children:Array.isArray(e)?e:[e]})}let m=a[a.length-1];if(m&&"element"===m.type&&"p"===m.tagName){let e=m.children[m.children.length-1];e&&"text"===e.type?e.value+=" ":m.children.push({type:"text",value:" "}),m.children.push(...h)}else a.push(...h);let d={type:"element",tagName:"li",properties:{id:t+"fn-"+c},children:e.wrap(a,!0)};e.patch(i,d),l.push(d)}if(0!==l.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:a,properties:{...rm(o),id:"footnote-label"},children:[{type:"text",value:i}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:e.wrap(l,!0)},{type:"text",value:"\n"}]}}(r),a=Array.isArray(n)?{type:"root",children:n}:n||{type:"root",children:[]};return i&&(S("children"in a),a.children.push({type:"text",value:"\n"},i)),a}function rB(e,t){return e&&"run"in e?async function(r,n){let i=rP(r,{file:n,...t});await e.run(i,n)}:function(r,n){return rP(r,{file:n,...e||t})}}function rO(e){if(e)throw e}var rD=e.i(4100);function rF(e){if("object"!=typeof e||null===e)return!1;let t=Object.getPrototypeOf(e);return(null===t||t===Object.prototype||null===Object.getPrototypeOf(t))&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}let rq={basename:function(e,t){let r;if(void 0!==t&&"string"!=typeof t)throw TypeError('"ext" argument must be a string');rj(e);let n=0,i=-1,a=e.length;if(void 0===t||0===t.length||t.length>e.length){for(;a--;)if(47===e.codePointAt(a)){if(r){n=a+1;break}}else i<0&&(r=!0,i=a+1);return i<0?"":e.slice(n,i)}if(t===e)return"";let o=-1,l=t.length-1;for(;a--;)if(47===e.codePointAt(a)){if(r){n=a+1;break}}else o<0&&(r=!0,o=a+1),l>-1&&(e.codePointAt(a)===t.codePointAt(l--)?l<0&&(i=a):(l=-1,i=o));return n===i?i=o:i<0&&(i=e.length),e.slice(n,i)},dirname:function(e){let t;if(rj(e),0===e.length)return".";let r=-1,n=e.length;for(;--n;)if(47===e.codePointAt(n)){if(t){r=n;break}}else t||(t=!0);return r<0?47===e.codePointAt(0)?"/":".":1===r&&47===e.codePointAt(0)?"//":e.slice(0,r)},extname:function(e){let t;rj(e);let r=e.length,n=-1,i=0,a=-1,o=0;for(;r--;){let l=e.codePointAt(r);if(47===l){if(t){i=r+1;break}continue}n<0&&(t=!0,n=r+1),46===l?a<0?a=r:1!==o&&(o=1):a>-1&&(o=-1)}return a<0||n<0||0===o||1===o&&a===n-1&&a===i+1?"":e.slice(a,n)},join:function(){let e;for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];let i=-1;for(;++i<r.length;)rj(r[i]),r[i]&&(e=void 0===e?r[i]:e+"/"+r[i]);return void 0===e?".":function(e){rj(e);let t=47===e.codePointAt(0),r=function(e,t){let r,n,i="",a=0,o=-1,l=0,s=-1;for(;++s<=e.length;){if(s<e.length)r=e.codePointAt(s);else if(47===r)break;else r=47;if(47===r){if(o===s-1||1===l);else if(o!==s-1&&2===l){if(i.length<2||2!==a||46!==i.codePointAt(i.length-1)||46!==i.codePointAt(i.length-2)){if(i.length>2){if((n=i.lastIndexOf("/"))!==i.length-1){n<0?(i="",a=0):a=(i=i.slice(0,n)).length-1-i.lastIndexOf("/"),o=s,l=0;continue}}else if(i.length>0){i="",a=0,o=s,l=0;continue}}t&&(i=i.length>0?i+"/..":"..",a=2)}else i.length>0?i+="/"+e.slice(o+1,s):i=e.slice(o+1,s),a=s-o-1;o=s,l=0}else 46===r&&l>-1?l++:l=-1}return i}(e,!t);return 0!==r.length||t||(r="."),r.length>0&&47===e.codePointAt(e.length-1)&&(r+="/"),t?"/"+r:r}(e)},sep:"/"};function rj(e){if("string"!=typeof e)throw TypeError("Path must be a string. Received "+JSON.stringify(e))}let rH={cwd:function(){return"/"}};function rU(e){return!!(null!==e&&"object"==typeof e&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&void 0===e.auth)}let rG=["history","path","basename","stem","extname","dirname"];class rV{get basename(){return"string"==typeof this.path?rq.basename(this.path):void 0}set basename(e){r$(e,"basename"),rW(e,"basename"),this.path=rq.join(this.dirname||"",e)}get dirname(){return"string"==typeof this.path?rq.dirname(this.path):void 0}set dirname(e){rX(this.basename,"dirname"),this.path=rq.join(e||"",this.basename)}get extname(){return"string"==typeof this.path?rq.extname(this.path):void 0}set extname(e){if(rW(e,"extname"),rX(this.dirname,"extname"),e){if(46!==e.codePointAt(0))throw Error("`extname` must start with `.`");if(e.includes(".",1))throw Error("`extname` cannot contain multiple dots")}this.path=rq.join(this.dirname,this.stem+(e||""))}get path(){return this.history[this.history.length-1]}set path(e){rU(e)&&(e=function(e){if("string"==typeof e)e=new URL(e);else if(!rU(e)){let t=TypeError('The "path" argument must be of type string or an instance of URL. Received `'+e+"`");throw t.code="ERR_INVALID_ARG_TYPE",t}if("file:"!==e.protocol){let e=TypeError("The URL must be of scheme file");throw e.code="ERR_INVALID_URL_SCHEME",e}return function(e){if(""!==e.hostname){let e=TypeError('File URL host must be "localhost" or empty on darwin');throw e.code="ERR_INVALID_FILE_URL_HOST",e}let t=e.pathname,r=-1;for(;++r<t.length;)if(37===t.codePointAt(r)&&50===t.codePointAt(r+1)){let e=t.codePointAt(r+2);if(70===e||102===e){let e=TypeError("File URL path must not include encoded / characters");throw e.code="ERR_INVALID_FILE_URL_PATH",e}}return decodeURIComponent(t)}(e)}(e)),r$(e,"path"),this.path!==e&&this.history.push(e)}get stem(){return"string"==typeof this.path?rq.basename(this.path,this.extname):void 0}set stem(e){r$(e,"stem"),rW(e,"stem"),this.path=rq.join(this.dirname||"",e+(this.extname||""))}fail(e,t,r){let n=this.message(e,t,r);throw n.fatal=!0,n}info(e,t,r){let n=this.message(e,t,r);return n.fatal=void 0,n}message(e,t,r){let n=new eT(e,t,r);return this.path&&(n.name=this.path+":"+n.name,n.file=this.path),n.fatal=!1,this.messages.push(n),n}toString(e){return void 0===this.value?"":"string"==typeof this.value?this.value:new TextDecoder(e||void 0).decode(this.value)}constructor(e){let t,r;t=e?rU(e)?{path:e}:"string"==typeof e||function(e){return!!(e&&"object"==typeof e&&"byteLength"in e&&"byteOffset"in e)}(e)?{value:e}:e:{},this.cwd="cwd"in t?"":rH.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<rG.length;){let e=rG[n];e in t&&void 0!==t[e]&&null!==t[e]&&(this[e]="history"===e?[...t[e]]:t[e])}for(r in t)rG.includes(r)||(this[r]=t[r])}}function rW(e,t){if(e&&e.includes(rq.sep))throw Error("`"+t+"` cannot be a path: did not expect `"+rq.sep+"`")}function r$(e,t){if(!e)throw Error("`"+t+"` cannot be empty")}function rX(e,t){if(!e)throw Error("Setting `"+t+"` requires `path` to be set too")}let rY=function(e){let t=this.constructor.prototype,r=t[e],n=function(){return r.apply(n,arguments)};return Object.setPrototypeOf(n,t),n},rK={}.hasOwnProperty;class rJ extends rY{copy(){let e=new rJ,t=-1;for(;++t<this.attachers.length;){let r=this.attachers[t];e.use(...r)}return e.data((0,rD.default)(!0,{},this.namespace)),e}data(e,t){return"string"==typeof e?2==arguments.length?(r1("data",this.frozen),this.namespace[e]=t,this):rK.call(this.namespace,e)&&this.namespace[e]||void 0:e?(r1("data",this.frozen),this.namespace=e,this):this.namespace}freeze(){if(this.frozen)return this;for(;++this.freezeIndex<this.attachers.length;){let[e,...t]=this.attachers[this.freezeIndex];if(!1===t[0])continue;!0===t[0]&&(t[0]=void 0);let r=e.call(this,...t);"function"==typeof r&&this.transformers.use(r)}return this.frozen=!0,this.freezeIndex=1/0,this}parse(e){this.freeze();let t=r6(e),r=this.parser||this.Parser;return rZ("parse",r),r(String(t),t)}process(e,t){let r=this;return this.freeze(),rZ("process",this.parser||this.Parser),r0("process",this.compiler||this.Compiler),t?n(void 0,t):new Promise(n);function n(n,i){let a=r6(e),o=r.parse(a);function l(e,r){e||!r?i(e):n?n(r):(S(t,"`done` is defined if `resolve` is not"),t(void 0,r))}r.run(o,a,function(e,t,n){var i,a;if(e||!t||!n)return l(e);let o=r.stringify(t,n);"string"==typeof(i=o)||(a=i)&&"object"==typeof a&&"byteLength"in a&&"byteOffset"in a?n.value=o:n.result=o,l(e,n)})}}processSync(e){let t,r=!1;return this.freeze(),rZ("processSync",this.parser||this.Parser),r0("processSync",this.compiler||this.Compiler),this.process(e,function(e,n){r=!0,rO(e),t=n}),r5("processSync","process",r),S(t,"we either bailed on an error or have a tree"),t}run(e,t,r){r4(e),this.freeze();let n=this.transformers;return r||"function"!=typeof t||(r=t,t=void 0),r?i(void 0,r):new Promise(i);function i(i,a){S("function"!=typeof t,"`file` can’t be a `done` anymore, we checked");let o=r6(t);n.run(e,o,function(t,n,o){let l=n||e;t?a(t):i?i(l):(S(r,"`done` is defined if `resolve` is not"),r(void 0,l,o))})}}runSync(e,t){let r,n=!1;return this.run(e,t,function(e,t){rO(e),r=t,n=!0}),r5("runSync","run",n),S(r,"we either bailed on an error or have a tree"),r}stringify(e,t){this.freeze();let r=r6(t),n=this.compiler||this.Compiler;return r0("stringify",n),r4(e),n(e,r)}use(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];let i=this.attachers,a=this.namespace;if(r1("use",this.frozen),null==e);else if("function"==typeof e)s(e,r);else if("object"==typeof e)Array.isArray(e)?l(e):o(e);else throw TypeError("Expected usable value, not `"+e+"`");return this;function o(e){if(!("plugins"in e)&&!("settings"in e))throw Error("Expected usable value but received an empty preset, which is probably a mistake: presets typically come with `plugins` and sometimes with `settings`, but this has neither");l(e.plugins),e.settings&&(a.settings=(0,rD.default)(!0,a.settings,e.settings))}function l(e){let t=-1;if(null==e);else if(Array.isArray(e))for(;++t<e.length;){var r=e[t];if("function"==typeof r)s(r,[]);else if("object"==typeof r)if(Array.isArray(r)){let[e,...t]=r;s(e,t)}else o(r);else throw TypeError("Expected usable value, not `"+r+"`")}else throw TypeError("Expected a list of plugins, not `"+e+"`")}function s(e,t){let r=-1,n=-1;for(;++r<i.length;)if(i[r][0]===e){n=r;break}if(-1===n)i.push([e,...t]);else if(t.length>0){let[r,...a]=t,o=i[n][1];rF(o)&&rF(r)&&(r=(0,rD.default)(!0,o,r)),i[n]=[e,r,...a]}}}constructor(){super("copy"),this.Compiler=void 0,this.Parser=void 0,this.attachers=[],this.compiler=void 0,this.freezeIndex=-1,this.frozen=void 0,this.namespace={},this.parser=void 0,this.transformers=function(){let e=[],t={run:function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];let i=-1,a=r.pop();if("function"!=typeof a)throw TypeError("Expected function as last argument, not "+a);!function t(n){for(var o=arguments.length,l=Array(o>1?o-1:0),s=1;s<o;s++)l[s-1]=arguments[s];let c=e[++i],u=-1;if(n)return void a(n);for(;++u<r.length;)(null===l[u]||void 0===l[u])&&(l[u]=r[u]);r=l,c?(function(e,t){let r;return function(){let t;for(var a=arguments.length,o=Array(a),l=0;l<a;l++)o[l]=arguments[l];let s=e.length>o.length;s&&o.push(n);try{t=e.apply(this,o)}catch(e){if(s&&r)throw e;return n(e)}s||(t&&t.then&&"function"==typeof t.then?t.then(i,n):t instanceof Error?n(t):i(t))};function n(e){for(var n=arguments.length,i=Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];r||(r=!0,t(e,...i))}function i(e){n(null,e)}})(c,t)(...l):a(null,...l)}(null,...r)},use:function(r){if("function"!=typeof r)throw TypeError("Expected `middelware` to be a function, not "+r);return e.push(r),t}};return t}()}}let rQ=new rJ().freeze();function rZ(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `parser`")}function r0(e,t){if("function"!=typeof t)throw TypeError("Cannot `"+e+"` without `compiler`")}function r1(e,t){if(t)throw Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function r4(e){if(!rF(e)||"string"!=typeof e.type)throw TypeError("Expected node, got `"+e+"`")}function r5(e,t,r){if(!r)throw Error("`"+e+"` finished async. Use `"+t+"` instead")}function r6(e){var t;return(t=e)&&"object"==typeof t&&"message"in t&&"messages"in t?e:new rV(e)}let r3=[],r7={allowDangerousHtml:!0},r2=/^(https?|ircs?|mailto|xmpp)$/i,r8=[{from:"astPlugins",id:"remove-buggy-html-in-markdown-parser"},{from:"allowDangerousHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"allowNode",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowElement"},{from:"allowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"allowedElements"},{from:"className",id:"remove-classname"},{from:"disallowedTypes",id:"replace-allownode-allowedtypes-and-disallowedtypes",to:"disallowedElements"},{from:"escapeHtml",id:"remove-buggy-html-in-markdown-parser"},{from:"includeElementIndex",id:"#remove-includeelementindex"},{from:"includeNodeIndex",id:"change-includenodeindex-to-includeelementindex"},{from:"linkTarget",id:"remove-linktarget"},{from:"plugins",id:"change-plugins-to-remarkplugins",to:"remarkPlugins"},{from:"rawSourcePos",id:"#remove-rawsourcepos"},{from:"renderers",id:"change-renderers-to-components",to:"components"},{from:"source",id:"change-source-to-children",to:"children"},{from:"sourcePos",id:"#remove-sourcepos"},{from:"transformImageUri",id:"#add-urltransform",to:"urlTransform"},{from:"transformLinkUri",id:"#add-urltransform",to:"urlTransform"}];function r9(e){let t=function(e){let t=e.rehypePlugins||r3,r=e.remarkPlugins||r3,n=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...r7}:r7;return rQ().use(ri).use(r).use(rB,n).use(t)}(e),r=function(e){let t=e.children||"",r=new rV;return"string"==typeof t?r.value=t:C("Unexpected value `"+t+"` for `children` prop, expected `string`"),r}(e);return function(e,t){let r=t.allowedElements,n=t.allowElement,i=t.components,a=t.disallowedElements,o=t.skipHtml,l=t.unwrapDisallowed,s=t.urlTransform||ne;for(let e of r8)Object.hasOwn(t,e.from)&&C("Unexpected `"+e.from+"` prop, "+(e.to?"use `"+e.to+"` instead":"remove it")+" (see <https://github.com/remarkjs/react-markdown/blob/main/changelog.md#"+e.id+"> for more info)");return r&&a&&C("Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other"),rA(e,function(e,t,i){if("raw"===e.type&&i&&"number"==typeof t)return o?i.children.splice(t,1):i.children[t]={type:"text",value:e.value},t;if("element"===e.type){let t;for(t in eq)if(Object.hasOwn(eq,t)&&Object.hasOwn(e.properties,t)){let r=e.properties[t],n=eq[t];(null===n||n.includes(e.tagName))&&(e.properties[t]=s(String(r||""),t,e))}}if("element"===e.type){let o=r?!r.includes(e.tagName):!!a&&a.includes(e.tagName);if(!o&&n&&"number"==typeof t&&(o=!n(e,t,i)),o&&i&&"number"==typeof t)return l&&e.children?i.children.splice(t,1,...e.children):i.children.splice(t,1),t}}),function(e,t){var r,n,i,a;let o;if(!t||void 0===t.Fragment)throw TypeError("Expected `Fragment` in options");let l=t.filePath||void 0;if(t.development){if("function"!=typeof t.jsxDEV)throw TypeError("Expected `jsxDEV` in options when `development: true`");r=l,n=t.jsxDEV,o=function(e,t,i,a){let o=Array.isArray(i.children),l=eb(e);return n(t,i,a,o,{columnNumber:l?l.column-1:void 0,fileName:r,lineNumber:l?l.line:void 0},void 0)}}else{if("function"!=typeof t.jsx)throw TypeError("Expected `jsx` in production options");if("function"!=typeof t.jsxs)throw TypeError("Expected `jsxs` in production options");i=t.jsx,a=t.jsxs,o=function(e,t,r,n){let o=Array.isArray(r.children)?a:i;return n?o(t,r,n):o(t,r)}}let s={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:o,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:l,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:!1!==t.passKeys,passNode:t.passNode||!1,schema:"svg"===t.space?ed:em,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:!1!==t.tableCellAlignToStyle},c=eL(s,e,void 0);return c&&"string"!=typeof c?c:s.create(e,s.Fragment,{children:c||void 0},void 0)}(e,{Fragment:ej.Fragment,components:i,ignoreInvalidStyle:!0,jsx:ej.jsx,jsxs:ej.jsxs,passKeys:!0,passNode:!0})}(t.runSync(t.parse(r),r),e)}function ne(e){let t=e.indexOf(":"),r=e.indexOf("?"),n=e.indexOf("#"),i=e.indexOf("/");return -1===t||-1!==i&&t>i||-1!==r&&t>r||-1!==n&&t>n||r2.test(e.slice(0,t))?e:""}function nt(e,t){let r=String(e);if("string"!=typeof t)throw TypeError("Expected character");let n=0,i=r.indexOf(t);for(;-1!==i;)n++,i=r.indexOf(t,i+t.length);return n}let nr="phrasing",nn=["autolink","link","image","label"];function ni(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function na(e){this.config.enter.autolinkProtocol.call(this,e)}function no(e){this.config.exit.autolinkProtocol.call(this,e)}function nl(e){this.config.exit.data.call(this,e);let t=this.stack[this.stack.length-1];S("link"===t.type),t.url="http://"+this.sliceSerialize(e)}function ns(e){this.config.exit.autolinkEmail.call(this,e)}function nc(e){this.exit(e)}function nu(e){!function(e,t,r){let n=ry((r||{}).ignore||[]),i=function(e){let t=[];if(!Array.isArray(e))throw TypeError("Expected find and replace tuple or list of tuples");let r=!e[0]||Array.isArray(e[0])?e:[e],n=-1;for(;++n<r.length;){var i;let e=r[n];t.push(["string"==typeof(i=e[0])?RegExp(function(e){if("string"!=typeof e)throw TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}(i),"g"):i,function(e){return"function"==typeof e?e:function(){return e}}(e[1])])}return t}(t),a=-1;for(;++a<i.length;)rk(e,"text",o);function o(e,t){let r,o=-1;for(;++o<t.length;){let e=t[o],i=r?r.children:void 0;if(n(e,i?i.indexOf(e):void 0,r))return;r=e}if(r)return function(e,t){let r=t[t.length-1],n=i[a][0],o=i[a][1],l=0,s=r.children.indexOf(e),c=!1,u=[];n.lastIndex=0;let h=n.exec(e.value);for(;h;){let r=h.index,i={index:h.index,input:h.input,stack:[...t,e]},a=o(...h,i);if("string"==typeof a&&(a=a.length>0?{type:"text",value:a}:void 0),!1===a?n.lastIndex=r+1:(l!==r&&u.push({type:"text",value:e.value.slice(l,r)}),Array.isArray(a)?u.push(...a):a&&u.push(a),l=r+h[0].length,c=!0),!n.global)break;h=n.exec(e.value)}return c?(l<e.value.length&&u.push({type:"text",value:e.value.slice(l)}),r.children.splice(s,1,...u)):u=[e],s+u.length}(e,t)}}(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,nh],[RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),np]],{ignore:["link","linkReference"]})}function nh(e,t,r,n,i){let a="";if(!nm(i)||(/^w/i.test(t)&&(r=t+r,t="",a="http://"),!function(e){let t=e.split(".");return!(t.length<2||t[t.length-1]&&(/_/.test(t[t.length-1])||!/[a-zA-Z\d]/.test(t[t.length-1]))||t[t.length-2]&&(/_/.test(t[t.length-2])||!/[a-zA-Z\d]/.test(t[t.length-2])))}(r)))return!1;let o=function(e){let t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let r=t[0],n=r.indexOf(")"),i=nt(e,"("),a=nt(e,")");for(;-1!==n&&i>a;)e+=r.slice(0,n+1),n=(r=r.slice(n+1)).indexOf(")"),a++;return[e,r]}(r+n);if(!o[0])return!1;let l={type:"link",title:null,url:a+t+o[0],children:[{type:"text",value:t+o[0]}]};return o[1]?[l,{type:"text",value:o[1]}]:l}function np(e,t,r,n){return!(!nm(n,!0)||/[-\d_]$/.test(r))&&{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function nm(e,t){let r=e.input.charCodeAt(e.index-1);return(0===e.index||e2(r)||e7(r))&&(!t||47!==r)}function nd(){this.buffer()}function nf(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function ng(){this.buffer()}function ny(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function nv(e){let t=this.resume(),r=this.stack[this.stack.length-1];S("footnoteReference"===r.type),r.identifier=tL(this.sliceSerialize(e)).toLowerCase(),r.label=t}function nb(e){this.exit(e)}function nx(e){let t=this.resume(),r=this.stack[this.stack.length-1];S("footnoteDefinition"===r.type),r.identifier=tL(this.sliceSerialize(e)).toLowerCase(),r.label=t}function nw(e){this.exit(e)}function nk(e,t,r,n){let i=r.createTracker(n),a=i.move("[^"),o=r.enter("footnoteReference"),l=r.enter("reference");return a+=i.move(r.safe(r.associationId(e),{after:"]",before:a})),l(),o(),a+=i.move("]")}function nA(e,t,r){return 0===t?e:nS(e,t,r)}function nS(e,t,r){return(r?"":" ")+e}nk.peek=function(){return"["};let nC=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];function nT(e){this.enter({type:"delete",children:[]},e)}function n_(e){this.exit(e)}function nM(e,t,r,n){let i=r.createTracker(n),a=r.enter("strikethrough"),o=i.move("~~");return o+=r.containerPhrasing(e,{...i.current(),before:o,after:"~"}),o+=i.move("~~"),a(),o}function nE(e){return e.length}function nz(e){let t="string"==typeof e?e.codePointAt(0):0;return 67===t||99===t?99:76===t||108===t?108:114*(82===t||114===t)}nM.peek=function(){return"~"};function nN(e,t,r){let n=e.value||"",i="`",a=-1;for(;RegExp("(^|[^`])"+i+"([^`]|$)").test(n);)i+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++a<r.unsafe.length;){let e,t=r.unsafe[a],i=r.compilePattern(t);if(t.atBreak)for(;e=i.exec(n);){let t=e.index;10===n.charCodeAt(t)&&13===n.charCodeAt(t-1)&&t--,n=n.slice(0,t)+" "+n.slice(e.index+1)}}return i+n+i}nN.peek=function(){return"`"};ry(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);let nI={inlineCode:nN,listItem:function(e,t,r,n){let i=function(e){let t=e.options.listItemIndent||"one";if("tab"!==t&&"one"!==t&&"mixed"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}(r),a=r.bulletCurrent||function(e){let t=e.options.bullet||"*";if("*"!==t&&"+"!==t&&"-"!==t)throw Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}(r);t&&"list"===t.type&&t.ordered&&(a=("number"==typeof t.start&&t.start>-1?t.start:1)+(!1===r.options.incrementListMarker?0:t.children.indexOf(e))+a);let o=a.length+1;("tab"===i||"mixed"===i&&(t&&"list"===t.type&&t.spread||e.spread))&&(o=4*Math.ceil(o/4));let l=r.createTracker(n);l.move(a+" ".repeat(o-a.length)),l.shift(o);let s=r.enter("listItem"),c=r.indentLines(r.containerFlow(e,l.current()),function(e,t,r){return t?(r?"":" ".repeat(o))+e:(r?a:a+" ".repeat(o-a.length))+e});return s(),c}};function nL(e){let t=e._align;S(t,"expected `_align` on table"),this.enter({type:"table",align:t.map(function(e){return"none"===e?null:e}),children:[]},e),this.data.inTable=!0}function nR(e){this.exit(e),this.data.inTable=void 0}function nP(e){this.enter({type:"tableRow",children:[]},e)}function nB(e){this.exit(e)}function nO(e){this.enter({type:"tableCell",children:[]},e)}function nD(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,nF));let r=this.stack[this.stack.length-1];S("inlineCode"===r.type),r.value=t,this.exit(e)}function nF(e,t){return"|"===t?t:e}function nq(e){let t=this.stack[this.stack.length-2];S("listItem"===t.type),t.checked="taskListCheckValueChecked"===e.type}function nj(e){let t=this.stack[this.stack.length-2];if(t&&"listItem"===t.type&&"boolean"==typeof t.checked){let e=this.stack[this.stack.length-1];S("paragraph"===e.type);let r=e.children[0];if(r&&"text"===r.type){let n,i=t.children,a=-1;for(;++a<i.length;){let e=i[a];if("paragraph"===e.type){n=e;break}}n===e&&(r.value=r.value.slice(1),0===r.value.length?e.children.shift():e.position&&r.position&&"number"==typeof r.position.start.offset&&(r.position.start.column++,r.position.start.offset++,e.position.start=Object.assign({},r.position.start)))}}this.exit(e)}function nH(e,t,r,n){let i=e.children[0],a="boolean"==typeof e.checked&&i&&"paragraph"===i.type,o="["+(e.checked?"x":" ")+"] ",l=r.createTracker(n);a&&l.move(o);let s=nI.listItem(e,t,r,{...n,...l.current()});return a&&(s=s.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,function(e){return e+o})),s}let nU={tokenize:function(e,t,r){let n=0;return function t(a){return(87===a||119===a)&&n<3?(n++,e.consume(a),t):46===a&&3===n?(e.consume(a),i):r(a)};function i(e){return null===e?r(e):t(e)}},partial:!0},nG={tokenize:function(e,t,r){let n,i,a;return o;function o(t){return 46===t||95===t?e.check(nW,s,l)(t):null===t||e6(t)||e2(t)||45!==t&&e7(t)?s(t):(a=!0,e.consume(t),o)}function l(t){return 95===t?n=!0:(i=n,n=void 0),e.consume(t),o}function s(e){return i||n||!a?r(e):t(e)}},partial:!0},nV={tokenize:function(e,t){let r=0,n=0;return i;function i(o){return 40===o?(r++,e.consume(o),i):41===o&&n<r?a(o):33===o||34===o||38===o||39===o||41===o||42===o||44===o||46===o||58===o||59===o||60===o||63===o||93===o||95===o||126===o?e.check(nW,t,a)(o):null===o||e6(o)||e2(o)?t(o):(e.consume(o),i)}function a(t){return 41===t&&n++,e.consume(t),i}},partial:!0},nW={tokenize:function(e,t,r){return n;function n(o){return 33===o||34===o||39===o||41===o||42===o||44===o||46===o||58===o||59===o||63===o||95===o||126===o?(e.consume(o),n):38===o?(e.consume(o),a):93===o?(e.consume(o),i):60===o||null===o||e6(o)||e2(o)?t(o):r(o)}function i(e){return null===e||40===e||91===e||e6(e)||e2(e)?t(e):n(e)}function a(t){return eK(t)?function t(i){return 59===i?(e.consume(i),n):eK(i)?(e.consume(i),t):r(i)}(t):r(t)}},partial:!0},n$={tokenize:function(e,t,r){return function(t){return e.consume(t),n};function n(e){return eJ(e)?r(e):t(e)}},partial:!0},nX={name:"wwwAutolink",tokenize:function(e,t,r){let n=this;return function(t){return 87!==t&&119!==t||!nZ.call(n,n.previous)||n5(n.events)?r(t):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(nU,e.attempt(nG,e.attempt(nV,i),r),r)(t))};function i(r){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(r)}},previous:nZ},nY={name:"protocolAutolink",tokenize:function(e,t,r){let n=this,i="",a=!1;return function(t){return(72===t||104===t)&&n0.call(n,n.previous)&&!n5(n.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),i+=String.fromCodePoint(t),e.consume(t),o):r(t)};function o(t){if(eK(t)&&i.length<5)return i+=String.fromCodePoint(t),e.consume(t),o;if(58===t){let r=i.toLowerCase();if("http"===r||"https"===r)return e.consume(t),l}return r(t)}function l(t){return 47===t?(e.consume(t),a)?s:(a=!0,l):r(t)}function s(t){return null===t||eZ(t)||e6(t)||e2(t)||e7(t)?r(t):e.attempt(nG,e.attempt(nV,c),r)(t)}function c(r){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(r)}},previous:n0},nK={name:"emailAutolink",tokenize:function(e,t,r){let n,i,a=this;return function(t){return!n4(t)||!n1.call(a,a.previous)||n5(a.events)?r(t):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),function t(n){return n4(n)?(e.consume(n),t):64===n?(e.consume(n),o):r(n)}(t))};function o(t){return 46===t?e.check(n$,s,l)(t):45===t||95===t||eJ(t)?(i=!0,e.consume(t),o):s(t)}function l(t){return e.consume(t),n=!0,o}function s(o){return i&&n&&eK(a.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(o)):r(o)}},previous:n1},nJ={},nQ=48;for(;nQ<123;)nJ[nQ]=nK,58==++nQ?nQ=65:91===nQ&&(nQ=97);function nZ(e){return null===e||40===e||42===e||95===e||91===e||93===e||126===e||e6(e)}function n0(e){return!eK(e)}function n1(e){return!(47===e||n4(e))}function n4(e){return 43===e||45===e||46===e||95===e||eJ(e)}function n5(e){let t=e.length,r=!1;for(;t--;){let n=e[t][1];if(("labelLink"===n.type||"labelImage"===n.type)&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}nJ[43]=nK,nJ[45]=nK,nJ[46]=nK,nJ[95]=nK,nJ[72]=[nK,nY],nJ[104]=[nK,nY],nJ[87]=[nK,nX],nJ[119]=[nK,nX];let n6={tokenize:function(e,t,r){let n=this;return e9(e,function(e){let i=n.events[n.events.length-1];return i&&"gfmFootnoteDefinitionIndent"===i[1].type&&4===i[2].sliceSerialize(i[1],!0).length?t(e):r(e)},"gfmFootnoteDefinitionIndent",5)},partial:!0};function n3(e,t,r){let n,i=this,a=i.events.length,o=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]);for(;a--;){let e=i.events[a][1];if("labelImage"===e.type){n=e;break}if("gfmFootnoteCall"===e.type||"labelLink"===e.type||"label"===e.type||"image"===e.type||"link"===e.type)break}return function(a){if(!n||!n._balanced)return r(a);let l=tL(i.sliceSerialize({start:n.end,end:i.now()}));return 94===l.codePointAt(0)&&o.includes(l.slice(1))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(a),e.exit("gfmFootnoteCallLabelMarker"),t(a)):r(a)}}function n7(e,t){let r=e.length;for(;r--;)if("labelImage"===e[r][1].type&&"enter"===e[r][0]){e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";let n={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},i={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};i.end.column++,i.end.offset++,i.end._bufferIndex++;let a={type:"gfmFootnoteCallString",start:Object.assign({},i.end),end:Object.assign({},e[e.length-1][1].start)},o={type:"chunkString",contentType:"string",start:Object.assign({},a.start),end:Object.assign({},a.end)},l=[e[r+1],e[r+2],["enter",n,t],e[r+3],e[r+4],["enter",i,t],["exit",i,t],["enter",a,t],["enter",o,t],["exit",o,t],["exit",a,t],e[e.length-2],e[e.length-1],["exit",n,t]];return e.splice(r,e.length-r+1,...l),e}function n2(e,t,r){let n,i=this,a=i.parser.gfmFootnotes||(i.parser.gfmFootnotes=[]),o=0;return function(t){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(t),e.exit("gfmFootnoteCallLabelMarker"),l};function l(t){return 94!==t?r(t):(e.enter("gfmFootnoteCallMarker"),e.consume(t),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",s)}function s(l){if(o>999||93===l&&!n||null===l||91===l||e6(l))return r(l);if(93===l){e.exit("chunkString");let n=e.exit("gfmFootnoteCallString");return a.includes(tL(i.sliceSerialize(n)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(l),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(l)}return e6(l)||(n=!0),o++,e.consume(l),92===l?c:s}function c(t){return 91===t||92===t||93===t?(e.consume(t),o++,s):s(t)}}function n8(e,t,r){let n,i,a=this,o=a.parser.gfmFootnotes||(a.parser.gfmFootnotes=[]),l=0;return function(t){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),s};function s(t){return 94===t?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",c):r(t)}function c(t){if(l>999||93===t&&!i||null===t||91===t||e6(t))return r(t);if(93===t){e.exit("chunkString");let r=e.exit("gfmFootnoteDefinitionLabelString");return n=tL(a.sliceSerialize(r)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(t),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),h}return e6(t)||(i=!0),l++,e.consume(t),92===t?u:c}function u(t){return 91===t||92===t||93===t?(e.consume(t),l++,c):c(t)}function h(t){return 58===t?(e.enter("definitionMarker"),e.consume(t),e.exit("definitionMarker"),o.includes(n)||o.push(n),e9(e,p,"gfmFootnoteDefinitionWhitespace")):r(t)}function p(e){return t(e)}}function n9(e,t,r){return e.check(tn,t,e.attempt(n6,t,r))}function ie(e){e.exit("gfmFootnoteDefinition")}class it{add(e,t,r){!function(e,t,r,n){let i=0;if(0!==r||0!==n.length){for(;i<e.map.length;){if(e.map[i][0]===t){e.map[i][1]+=r,e.map[i][2].push(...n);return}i+=1}e.map.push([t,r,n])}}(this,e,t,r)}consume(e){if(this.map.sort(function(e,t){return e[0]-t[0]}),0===this.map.length)return;let t=this.map.length,r=[];for(;t>0;)t-=1,r.push(e.slice(this.map[t][0]+this.map[t][1]),this.map[t][2]),e.length=this.map[t][0];r.push(e.slice()),e.length=0;let n=r.pop();for(;n;){for(let t of n)e.push(t);n=r.pop()}this.map.length=0}constructor(){this.map=[]}}function ir(e,t,r){let n,i=this,a=0,o=0;return function(e){let t=i.events.length-1;for(;t>-1;){let e=i.events[t][1].type;if("lineEnding"===e||"linePrefix"===e)t--;else break}let n=t>-1?i.events[t][1].type:null,a="tableHead"===n||"tableRow"===n?v:l;return a===v&&i.parser.lazy[i.now().line]?r(e):a(e)};function l(t){var r;return e.enter("tableHead"),e.enter("tableRow"),124===(r=t)||(n=!0,o+=1),s(r)}function s(t){return null===t?r(t):e5(t)?o>1?(o=0,i.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),h):r(t):e3(t)?e9(e,s,"whitespace")(t):(o+=1,n&&(n=!1,a+=1),124===t)?(e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),n=!0,s):(e.enter("data"),c(t))}function c(t){return null===t||124===t||e6(t)?(e.exit("data"),s(t)):(e.consume(t),92===t?u:c)}function u(t){return 92===t||124===t?(e.consume(t),c):c(t)}function h(t){return(i.interrupt=!1,i.parser.lazy[i.now().line])?r(t):(e.enter("tableDelimiterRow"),n=!1,e3(t))?e9(e,p,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(t):p(t)}function p(t){return 45===t||58===t?d(t):124===t?(n=!0,e.enter("tableCellDivider"),e.consume(t),e.exit("tableCellDivider"),m):r(t)}function m(t){return e3(t)?e9(e,d,"whitespace")(t):d(t)}function d(t){return 58===t?(o+=1,n=!0,e.enter("tableDelimiterMarker"),e.consume(t),e.exit("tableDelimiterMarker"),f):45===t?(o+=1,f(t)):null===t||e5(t)?y(t):r(t)}function f(t){return 45===t?(e.enter("tableDelimiterFiller"),function t(r){return 45===r?(e.consume(r),t):58===r?(n=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(r),e.exit("tableDelimiterMarker"),g):(e.exit("tableDelimiterFiller"),g(r))}(t)):r(t)}function g(t){return e3(t)?e9(e,y,"whitespace")(t):y(t)}function y(i){if(124===i)return p(i);if(null===i||e5(i))return n&&a===o?(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(i)):r(i);return r(i)}function v(t){return e.enter("tableRow"),b(t)}function b(r){return 124===r?(e.enter("tableCellDivider"),e.consume(r),e.exit("tableCellDivider"),b):null===r||e5(r)?(e.exit("tableRow"),t(r)):e3(r)?e9(e,b,"whitespace")(r):(e.enter("data"),x(r))}function x(t){return null===t||124===t||e6(t)?(e.exit("data"),b(t)):(e.consume(t),92===t?w:x)}function w(t){return 92===t||124===t?(e.consume(t),x):x(t)}}function ii(e,t){let r,n,i,a=-1,o=!0,l=0,s=[0,0,0,0],c=[0,0,0,0],u=!1,h=0,p=new it;for(;++a<e.length;){let m=e[a],d=m[1];"enter"===m[0]?"tableHead"===d.type?(u=!1,0!==h&&(io(p,t,h,r,n),n=void 0,h=0),r={type:"table",start:Object.assign({},d.start),end:Object.assign({},d.end)},p.add(a,0,[["enter",r,t]])):"tableRow"===d.type||"tableDelimiterRow"===d.type?(o=!0,i=void 0,s=[0,0,0,0],c=[0,a+1,0,0],u&&(u=!1,n={type:"tableBody",start:Object.assign({},d.start),end:Object.assign({},d.end)},p.add(a,0,[["enter",n,t]])),l="tableDelimiterRow"===d.type?2:n?3:1):l&&("data"===d.type||"tableDelimiterMarker"===d.type||"tableDelimiterFiller"===d.type)?(o=!1,0===c[2]&&(0!==s[1]&&(c[0]=c[1],i=ia(p,t,s,l,void 0,i),s=[0,0,0,0]),c[2]=a)):"tableCellDivider"===d.type&&(o?o=!1:(0!==s[1]&&(c[0]=c[1],i=ia(p,t,s,l,void 0,i)),c=[(s=c)[1],a,0,0])):"tableHead"===d.type?(u=!0,h=a):"tableRow"===d.type||"tableDelimiterRow"===d.type?(h=a,0!==s[1]?(c[0]=c[1],i=ia(p,t,s,l,a,i)):0!==c[1]&&(i=ia(p,t,c,l,a,i)),l=0):l&&("data"===d.type||"tableDelimiterMarker"===d.type||"tableDelimiterFiller"===d.type)&&(c[3]=a)}for(0!==h&&io(p,t,h,r,n),p.consume(t.events),a=-1;++a<t.events.length;){let e=t.events[a];"enter"===e[0]&&"table"===e[1].type&&(e[1]._align=function(e,t){let r=!1,n=[];for(;t<e.length;){let i=e[t];if(r){if("enter"===i[0])"tableContent"===i[1].type&&n.push("tableDelimiterMarker"===e[t+1][1].type?"left":"none");else if("tableContent"===i[1].type){if("tableDelimiterMarker"===e[t-1][1].type){let e=n.length-1;n[e]="left"===n[e]?"center":"right"}}else if("tableDelimiterRow"===i[1].type)break}else"enter"===i[0]&&"tableDelimiterRow"===i[1].type&&(r=!0);t+=1}return n}(t.events,a))}return e}function ia(e,t,r,n,i,a){0!==r[0]&&(a.end=Object.assign({},il(t.events,r[0])),e.add(r[0],0,[["exit",a,t]]));let o=il(t.events,r[1]);if(a={type:1===n?"tableHeader":2===n?"tableDelimiter":"tableData",start:Object.assign({},o),end:Object.assign({},o)},e.add(r[1],0,[["enter",a,t]]),0!==r[2]){let i=il(t.events,r[2]),a=il(t.events,r[3]),o={type:"tableContent",start:Object.assign({},i),end:Object.assign({},a)};if(e.add(r[2],0,[["enter",o,t]]),2!==n){let n=t.events[r[2]],i=t.events[r[3]];if(n[1].end=Object.assign({},i[1].end),n[1].type="chunkText",n[1].contentType="text",r[3]>r[2]+1){let t=r[2]+1,n=r[3]-r[2]-1;e.add(t,n,[])}}e.add(r[3]+1,0,[["exit",o,t]])}return void 0!==i&&(a.end=Object.assign({},il(t.events,i)),e.add(i,0,[["exit",a,t]]),a=void 0),a}function io(e,t,r,n,i){let a=[],o=il(t.events,r);i&&(i.end=Object.assign({},o),a.push(["exit",i,t])),n.end=Object.assign({},o),a.push(["exit",n,t]),e.add(r+1,0,a)}function il(e,t){let r=e[t],n="enter"===r[0]?"start":"end";return r[1][n]}RegExp("^"+/<(\/?)(iframe|noembed|noframes|plaintext|script|style|title|textarea|xmp)(?=[\t\n\f\r />])/gi.source,"i");let is={name:"tasklistCheck",tokenize:function(e,t,r){let n=this;return function(t){return null===n.previous&&n._gfmTasklistFirstContentOfListItem?(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),i):r(t)};function i(t){return e6(t)?(e.enter("taskListCheckValueUnchecked"),e.consume(t),e.exit("taskListCheckValueUnchecked"),a):88===t||120===t?(e.enter("taskListCheckValueChecked"),e.consume(t),e.exit("taskListCheckValueChecked"),a):r(t)}function a(t){return 93===t?(e.enter("taskListCheckMarker"),e.consume(t),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),o):r(t)}function o(n){return e5(n)?t(n):e3(n)?e.check({tokenize:ic},t,r)(n):r(n)}}};function ic(e,t,r){return e9(e,function(e){return null===e?r(e):t(e)},"whitespace")}let iu={};function ih(e){let t,r=e||iu,n=this.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),o=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push(eY([{text:nJ},{document:{91:{name:"gfmFootnoteDefinition",tokenize:n8,continuation:{tokenize:n9},exit:ie}},text:{91:{name:"gfmFootnoteCall",tokenize:n2},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:n3,resolveTo:n7}}},function(e){let t=(e||{}).singleTilde,r={name:"strikethrough",tokenize:function(e,r,n){let i=this.previous,a=this.events,o=0;return function(l){return 126===i&&"characterEscape"!==a[a.length-1][1].type?n(l):(e.enter("strikethroughSequenceTemporary"),function a(l){let s=tg(i);if(126===l)return o>1?n(l):(e.consume(l),o++,a);if(o<2&&!t)return n(l);let c=e.exit("strikethroughSequenceTemporary"),u=tg(l);return c._open=!u||2===u&&!!s,c._close=!s||2===s&&!!u,r(l)}(l))}},resolveAll:function(e,t){let r=-1;for(;++r<e.length;)if("enter"===e[r][0]&&"strikethroughSequenceTemporary"===e[r][1].type&&e[r][1]._close){let n=r;for(;n--;)if("exit"===e[n][0]&&"strikethroughSequenceTemporary"===e[n][1].type&&e[n][1]._open&&e[r][1].end.offset-e[r][1].start.offset==e[n][1].end.offset-e[n][1].start.offset){e[r][1].type="strikethroughSequence",e[n][1].type="strikethroughSequence";let i={type:"strikethrough",start:Object.assign({},e[n][1].start),end:Object.assign({},e[r][1].end)},a={type:"strikethroughText",start:Object.assign({},e[n][1].end),end:Object.assign({},e[r][1].start)},o=[["enter",i,t],["enter",e[n][1],t],["exit",e[n][1],t],["enter",a,t]],l=t.parser.constructs.insideSpan.null;l&&eW(o,o.length,0,ty(l,e.slice(n+1,r),t)),eW(o,o.length,0,[["exit",a,t],["enter",e[r][1],t],["exit",e[r][1],t],["exit",i,t]]),eW(e,n-1,r-n+3,o),r=n+o.length-2;break}}for(r=-1;++r<e.length;)"strikethroughSequenceTemporary"===e[r][1].type&&(e[r][1].type="data");return e}};return null==t&&(t=!0),{text:{126:r},insideSpan:{null:[r]},attentionMarkers:{null:[126]}}}(r),{flow:{null:{name:"table",tokenize:ir,resolveAll:ii}}},{text:{91:is}}])),a.push([{transforms:[nu],enter:{literalAutolink:ni,literalAutolinkEmail:na,literalAutolinkHttp:na,literalAutolinkWww:na},exit:{literalAutolink:nc,literalAutolinkEmail:ns,literalAutolinkHttp:no,literalAutolinkWww:nl}},{enter:{gfmFootnoteCallString:nd,gfmFootnoteCall:nf,gfmFootnoteDefinitionLabelString:ng,gfmFootnoteDefinition:ny},exit:{gfmFootnoteCallString:nv,gfmFootnoteCall:nb,gfmFootnoteDefinitionLabelString:nx,gfmFootnoteDefinition:nw}},{canContainEols:["delete"],enter:{strikethrough:nT},exit:{strikethrough:n_}},{enter:{table:nL,tableData:nO,tableHeader:nO,tableRow:nP},exit:{codeText:nD,table:nR,tableData:nB,tableHeader:nB,tableRow:nB}},{exit:{taskListCheckValueChecked:nq,taskListCheckValueUnchecked:nq,paragraph:nj}}]),o.push({extensions:[{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:nr,notInConstruct:nn},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:nr,notInConstruct:nn},{character:":",before:"[ps]",after:"\\/",inConstruct:nr,notInConstruct:nn}]},(t=!1,r&&r.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:function(e,r,n,i){let a=n.createTracker(i),o=a.move("[^"),l=n.enter("footnoteDefinition"),s=n.enter("label");return o+=a.move(n.safe(n.associationId(e),{before:o,after:"]"})),s(),o+=a.move("]:"),e.children&&e.children.length>0&&(a.shift(4),o+=a.move((t?"\n":" ")+n.indentLines(n.containerFlow(e,a.current()),t?nS:nA))),l(),o},footnoteReference:nk},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]}),{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:nC}],handlers:{delete:nM}},function(e){let t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,i=t.stringLength,a=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:"\n",inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:function(e,t,r){let n=nI.inlineCode(e,t,r);return r.stack.includes("tableCell")&&(n=n.replace(/\|/g,"\\$&")),n},table:function(e,t,r,n){return l(function(e,t,r){let n=e.children,i=-1,a=[],o=t.enter("table");for(;++i<n.length;)a[i]=s(n[i],t,r);return o(),a}(e,r,n),e.align)},tableCell:o,tableRow:function(e,t,r,n){let i=l([s(e,r,n)]);return i.slice(0,i.indexOf("\n"))}}};function o(e,t,r,n){let i=r.enter("tableCell"),o=r.enter("phrasing"),l=r.containerPhrasing(e,{...n,before:a,after:a});return o(),i(),l}function l(e,t){return function(e,t){let r=t||{},n=(r.align||[]).concat(),i=r.stringLength||nE,a=[],o=[],l=[],s=[],c=0,u=-1;for(;++u<e.length;){let t=[],n=[],a=-1;for(e[u].length>c&&(c=e[u].length);++a<e[u].length;){var h;let o=null==(h=e[u][a])?"":String(h);if(!1!==r.alignDelimiters){let e=i(o);n[a]=e,(void 0===s[a]||e>s[a])&&(s[a]=e)}t.push(o)}o[u]=t,l[u]=n}let p=-1;if("object"==typeof n&&"length"in n)for(;++p<c;)a[p]=nz(n[p]);else{let e=nz(n);for(;++p<c;)a[p]=e}p=-1;let m=[],d=[];for(;++p<c;){let e=a[p],t="",n="";99===e?(t=":",n=":"):108===e?t=":":114===e&&(n=":");let i=!1===r.alignDelimiters?1:Math.max(1,s[p]-t.length-n.length),o=t+"-".repeat(i)+n;!1!==r.alignDelimiters&&((i=t.length+i+n.length)>s[p]&&(s[p]=i),d[p]=i),m[p]=o}o.splice(1,0,m),l.splice(1,0,d),u=-1;let f=[];for(;++u<o.length;){let e=o[u],t=l[u];p=-1;let n=[];for(;++p<c;){let i=e[p]||"",o="",l="";if(!1!==r.alignDelimiters){let e=s[p]-(t[p]||0),r=a[p];114===r?o=" ".repeat(e):99===r?e%2?(o=" ".repeat(e/2+.5),l=" ".repeat(e/2-.5)):l=o=" ".repeat(e/2):l=" ".repeat(e)}!1===r.delimiterStart||p||n.push("|"),!1!==r.padding&&(!1!==r.alignDelimiters||""!==i)&&(!1!==r.delimiterStart||p)&&n.push(" "),!1!==r.alignDelimiters&&n.push(o),n.push(i),!1!==r.alignDelimiters&&n.push(l),!1!==r.padding&&n.push(" "),(!1!==r.delimiterEnd||p!==c-1)&&n.push("|")}f.push(!1===r.delimiterEnd?n.join("").replace(/ +$/,""):n.join(""))}return f.join("\n")}(e,{align:t,alignDelimiters:n,padding:r,stringLength:i})}function s(e,t,r){let n=e.children,i=-1,a=[],l=t.enter("tableRow");for(;++i<n.length;)a[i]=o(n[i],e,t,r);return l(),a}}(r),{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:nH}}]})}let ip={tokenize:function(e,t,r){let n=this,i=n.events[n.events.length-1],a=i&&"linePrefix"===i[1].type?i[2].sliceSerialize(i[1],!0).length:0,o=0;return function(t){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),function t(n){return 36===n?(e.consume(n),o++,t):o<2?r(n):(e.exit("mathFlowFenceSequence"),e9(e,l,"whitespace")(n))}(t)};function l(t){return null===t||e5(t)?s(t):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),function t(n){return null===n||e5(n)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),s(n)):36===n?r(n):(e.consume(n),t)}(t))}function s(r){return(e.exit("mathFlowFence"),n.interrupt)?t(r):e.attempt(im,c,p)(r)}function c(t){return e.attempt({tokenize:m,partial:!0},p,u)(t)}function u(t){return(a?e9(e,h,"linePrefix",a+1):h)(t)}function h(t){return null===t?p(t):e5(t)?e.attempt(im,c,p)(t):(e.enter("mathFlowValue"),function t(r){return null===r||e5(r)?(e.exit("mathFlowValue"),h(r)):(e.consume(r),t)}(t))}function p(r){return e.exit("mathFlow"),t(r)}function m(e,t,r){let i=0;return e9(e,function(t){return e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),function t(n){return 36===n?(i++,e.consume(n),t):i<o?r(n):(e.exit("mathFlowFenceSequence"),e9(e,a,"whitespace")(n))}(t)},"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function a(n){return null===n||e5(n)?(e.exit("mathFlowFence"),t(n)):r(n)}}},concrete:!0,name:"mathFlow"},im={tokenize:function(e,t,r){let n=this;return function(r){return null===r?t(r):(e.enter("lineEnding"),e.consume(r),e.exit("lineEnding"),i)};function i(e){return n.parser.lazy[n.now().line]?r(e):t(e)}},partial:!0};function id(e){let t,r,n=e.length-4,i=3;if(("lineEnding"===e[3][1].type||"space"===e[i][1].type)&&("lineEnding"===e[n][1].type||"space"===e[n][1].type)){for(t=i;++t<n;)if("mathTextData"===e[t][1].type){e[n][1].type="mathTextPadding",e[i][1].type="mathTextPadding",i+=2,n-=2;break}}for(t=i-1,n++;++t<=n;)void 0===r?t!==n&&"lineEnding"!==e[t][1].type&&(r=t):(t===n||"lineEnding"===e[t][1].type)&&(e[r][1].type="mathTextData",t!==r+2&&(e[r][1].end=e[t-1][1].end,e.splice(r+2,t-r-2),n-=t-r-2,t=r+2),r=void 0);return e}function ig(e){return 36!==e||"characterEscape"===this.events[this.events.length-1][1].type}let iy={};function iv(e){let t,r=e||iy,n=this.data(),i=n.micromarkExtensions||(n.micromarkExtensions=[]),a=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),o=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);i.push({flow:{36:ip},text:{36:(null==(t=(r||{}).singleDollarTextMath)&&(t=!0),{tokenize:function(e,r,n){let i,a,o=0;return function(r){return e.enter("mathText"),e.enter("mathTextSequence"),function r(i){return 36===i?(e.consume(i),o++,r):o<2&&!t?n(i):(e.exit("mathTextSequence"),l(i))}(r)};function l(t){return null===t?n(t):36===t?(a=e.enter("mathTextSequence"),i=0,function t(n){return 36===n?(e.consume(n),i++,t):i===o?(e.exit("mathTextSequence"),e.exit("mathText"),r(n)):(a.type="mathTextData",s(n))}(t)):32===t?(e.enter("space"),e.consume(t),e.exit("space"),l):e5(t)?(e.enter("lineEnding"),e.consume(t),e.exit("lineEnding"),l):(e.enter("mathTextData"),s(t))}function s(t){return null===t||32===t||36===t||e5(t)?(e.exit("mathTextData"),l(t)):(e.consume(t),s)}},resolve:id,previous:ig,name:"mathText"})}}),a.push(function(){return{enter:{mathFlow:function(e){this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[{type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]}]}},e)},mathFlowFenceMeta:function(){this.buffer()},mathText:function(e){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},e),this.buffer()}},exit:{mathFlow:function(e){let t=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),r=this.stack[this.stack.length-1];S("math"===r.type),this.exit(e),r.value=t;let n=r.data.hChildren[0];S("element"===n.type),S("code"===n.tagName),n.children.push({type:"text",value:t}),this.data.mathFlowInside=void 0},mathFlowFence:function(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)},mathFlowFenceMeta:function(){let e=this.resume(),t=this.stack[this.stack.length-1];S("math"===t.type),t.meta=e},mathFlowValue:e,mathText:function(e){let t=this.resume(),r=this.stack[this.stack.length-1];S("inlineMath"===r.type),this.exit(e),r.value=t,r.data.hChildren.push({type:"text",value:t})},mathTextData:e}};function e(e){this.config.enter.data.call(this,e),this.config.exit.data.call(this,e)}}()),o.push(function(e){let t=(e||{}).singleDollarTextMath;return null==t&&(t=!0),r.peek=function(){return"$"},{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:"\n",inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:function(e,t,r,n){let i=e.value||"",a=r.createTracker(n),o="$".repeat(Math.max(function(e,t){let r=String(e),n=r.indexOf("$"),i=n,a=0,o=0;if("string"!=typeof t)throw TypeError("Expected substring");for(;-1!==n;)n===i?++a>o&&(o=a):a=1,i=n+t.length,n=r.indexOf(t,i);return o}(i,"$")+1,2)),l=r.enter("mathFlow"),s=a.move(o);if(e.meta){let t=r.enter("mathFlowMeta");s+=a.move(r.safe(e.meta,{after:"\n",before:s,encode:["$"],...a.current()})),t()}return s+=a.move("\n"),i&&(s+=a.move(i+"\n")),s+=a.move(o),l(),s},inlineMath:r}};function r(e,r,n){let i=e.value||"",a=1;for(!t&&a++;RegExp("(^|[^$])"+"\\$".repeat(a)+"([^$]|$)").test(i);)a++;let o="$".repeat(a);/[^ \r\n]/.test(i)&&(/^[ \r\n]/.test(i)&&/[ \r\n]$/.test(i)||/^\$|\$$/.test(i))&&(i=" "+i+" ");let l=-1;for(;++l<n.unsafe.length;){let e,t=n.unsafe[l];if(!t.atBreak)continue;let r=n.compilePattern(t);for(;e=r.exec(i);){let t=e.index;10===i.codePointAt(t)&&13===i.codePointAt(t-1)&&t--,i=i.slice(0,t)+" "+i.slice(e.index+1)}}return o+i+o}}(r))}let ib=/[#.]/g;function ix(e,t,r){let n=r?function(e){let t=new Map;for(let r of e)t.set(r.toLowerCase(),r);return t}(r):void 0;return function(r,i){let a;for(var o=arguments.length,l=Array(o>2?o-2:0),s=2;s<o;s++)l[s-2]=arguments[s];if(null==r)a={type:"root",children:[]},l.unshift(i);else{let o=(a=function(e,t){let r,n,i=e||"",a={},o=0;for(;o<i.length;){ib.lastIndex=o;let e=ib.exec(i),t=i.slice(o,e?e.index:i.length);t&&(r?"#"===r?a.id=t:Array.isArray(a.className)?a.className.push(t):a.className=[t]:n=t,o+=t.length),e&&(r=e[0],o++)}return{type:"element",tagName:n||t||"div",properties:a,children:[]}}(r,t)).tagName.toLowerCase(),s=n?n.get(o):void 0;if(a.tagName=s||o,function(e){if(null===e||"object"!=typeof e||Array.isArray(e))return!0;if("string"!=typeof e.type)return!1;for(let t of Object.keys(e)){let r=e[t];if(r&&"object"==typeof r){if(!Array.isArray(r))return!0;for(let e of r)if("number"!=typeof e&&"string"!=typeof e)return!0}}return!!("children"in e&&Array.isArray(e.children))}(i))l.unshift(i);else for(let[t,r]of Object.entries(i))!function(e,t,r,n){let i,a=Q(e,r);if(null!=n){if("number"==typeof n){if(Number.isNaN(n))return;i=n}else i="boolean"==typeof n?n:"string"==typeof n?a.spaceSeparated?ef(n):a.commaSeparated?T(n):a.commaOrSpaceSeparated?ef(T(n).join(" ")):iw(a,a.property,n):Array.isArray(n)?[...n]:"style"===a.property?function(e){let t=[];for(let[r,n]of Object.entries(e))t.push([r,n].join(": "));return t.join("; ")}(n):String(n);if(Array.isArray(i)){let e=[];for(let t of i)e.push(iw(a,a.property,t));i=e}"className"===a.property&&Array.isArray(t.className)&&(i=t.className.concat(i)),t[a.property]=i}}(e,a.properties,t,r)}for(let e of l)!function e(t,r){if(null==r);else if("number"==typeof r||"string"==typeof r)t.push({type:"text",value:String(r)});else if(Array.isArray(r))for(let n of r)e(t,n);else if("object"==typeof r&&"type"in r)"root"===r.type?e(t,r.children):t.push(r);else throw Error("Expected node, nodes, or string, got `"+r+"`")}(a.children,e);return"element"===a.type&&"template"===a.tagName&&(a.content={type:"root",children:a.children},a.children=[]),a}}function iw(e,t,r){if("string"==typeof r){if(e.number&&r&&!Number.isNaN(Number(r)))return Number(r);if((e.boolean||e.overloadedBoolean)&&(""===r||X(r)===X(t)))return!0}return r}let ik=ix(em,"div"),iA=ix(ed,"g",["altGlyph","altGlyphDef","altGlyphItem","animateColor","animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","glyphRef","linearGradient","radialGradient","solidColor","textArea","textPath"]),iS={html:"http://www.w3.org/1999/xhtml",svg:"http://www.w3.org/2000/svg"};function iC(e,t){let r=function(e,t){switch(e.nodeType){case 1:return function(e,t){let r=e.namespaceURI,n=r===iS.svg?iA:ik,i=r===iS.html?e.tagName.toLowerCase():e.tagName,a=r===iS.html&&"template"===i?e.content:e,o=e.getAttributeNames(),l={},s=-1;for(;++s<o.length;)l[o[s]]=e.getAttribute(o[s])||"";return n(i,l,iT(a,t))}(e,t);case 3:return{type:"text",value:e.nodeValue||""};case 8:return{type:"comment",value:e.nodeValue||""};case 9:case 11:return function(e,t){return{type:"root",children:iT(e,t)}}(e,t);case 10:return{type:"doctype"};default:return}}(e,t);return r&&t.afterTransform&&t.afterTransform(e,r),r}function iT(e,t){let r=e.childNodes,n=[],i=-1;for(;++i<r.length;){let e=iC(r[i],t);void 0!==e&&n.push(e)}return n}let i_=new DOMParser,iM=function(e,t,r){let n=ry(r);if(!e||!e.type||!e.children)throw Error("Expected parent node");if("number"==typeof t){if(t<0||t===1/0)throw Error("Expected positive finite number as index")}else if((t=e.children.indexOf(t))<0)throw Error("Expected child node or index");for(;++t<e.children.length;)if(n(e.children[t],t,e))return e.children[t]},iE=function(e){if(null==e)return iN;if("string"==typeof e){var t;return t=e,iz(function(e){return e.tagName===t})}if("object"==typeof e){var r=e;let t=[],n=-1;for(;++n<r.length;)t[n]=iE(r[n]);return iz(function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];let i=-1;for(;++i<t.length;)if(t[i].apply(this,r))return!0;return!1})}if("function"==typeof e)return iz(e);throw Error("Expected function, string, or array as `test`")};function iz(e){return function(t,r,n){var i;return!!(null!==(i=t)&&"object"==typeof i&&"type"in i&&"tagName"in i&&e.call(this,t,"number"==typeof r?r:void 0,n||void 0))}}function iN(e){return!!(e&&"object"==typeof e&&"type"in e&&"element"===e.type&&"tagName"in e&&"string"==typeof e.tagName)}let iI=/\n/g,iL=/[\t ]+/g,iR=iE("br"),iP=iE(function(e){return"td"===e.tagName||"th"===e.tagName}),iB=iE("p"),iO=iE("tr"),iD=iE(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",function(e){return!!(e.properties||{}).hidden},function(e){return"dialog"===e.tagName&&!(e.properties||{}).open}]),iF=iE(["address","article","aside","blockquote","body","caption","center","dd","dialog","dir","dl","dt","div","figure","figcaption","footer","form,","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","legend","li","listing","main","menu","nav","ol","p","plaintext","pre","section","ul","xmp"]);function iq(e,t){let r,n=String(e.value),i=[],a=[],o=0;for(;o<=n.length;){iI.lastIndex=o;let e=iI.exec(n),r=e&&"index"in e?e.index:n.length;i.push(function(e,t,r){let n,i=[],a=0;for(;a<e.length;){iL.lastIndex=a;let r=iL.exec(e);n=r?r.index:e.length,a||n||!r||t||i.push(""),a!==n&&i.push(e.slice(a,n)),a=r?n+r[0].length:n}return a===n||r||i.push(""),i.join(" ")}(n.slice(o,r).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),0!==o||t.breakBefore,r!==n.length||t.breakAfter)),o=r+1}let l=-1;for(;++l<i.length;)8203===i[l].charCodeAt(i[l].length-1)||l<i.length-1&&8203===i[l+1].charCodeAt(0)?(a.push(i[l]),r=void 0):i[l]?("number"==typeof r&&a.push(r),a.push(i[l]),r=0):(0===l||l===i.length-1)&&a.push(0);return a}function ij(e,t){if("element"===e.type){let r=e.properties||{};switch(e.tagName){case"listing":case"plaintext":case"xmp":return"pre";case"nobr":return"nowrap";case"pre":return r.wrap?"pre-wrap":"pre";case"td":case"th":return r.noWrap?"nowrap":t.whitespace;case"textarea":return"pre-wrap"}}return t.whitespace}class iH extends Error{constructor(e,t){var r="KaTeX parse error: "+e,n=t&&t.loc;if(n&&n.start<=n.end){var i,a,o=n.lexer.input;i=n.start,a=n.end,i===o.length?r+=" at end of input: ":r+=" at position "+(i+1)+": ";var l=o.slice(i,a).replace(/[^]/g,"$&̲");r+=(i>15?"…"+o.slice(i-15,i):o.slice(0,i))+l+(a+15<o.length?o.slice(a,a+15)+"…":o.slice(a))}super(r),this.name="ParseError",this.position=void 0,this.length=void 0,this.rawMessage=void 0,Object.setPrototypeOf(this,iH.prototype),this.position=i,null!=i&&null!=a&&(this.length=a-i),this.rawMessage=e}}var iU=/([A-Z])/g,iG=e=>e.replace(iU,"-$1").toLowerCase(),iV={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},iW=/[&><"']/g,i$=e=>String(e).replace(iW,e=>iV[e]),iX=e=>{if("ordgroup"===e.type||"color"===e.type)if(1===e.body.length)return iX(e.body[0]);else return e;return"font"===e.type?iX(e.body):e},iY=new Set(["mathord","textord","atom"]),iK=e=>iY.has(iX(e).type),iJ={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}};class iQ{reportNonstrict(e,t,r){var n=this.strict;if("function"==typeof n&&(n=n(e,t,r)),n&&"ignore"!==n){if(!0===n||"error"===n)throw new iH("LaTeX-incompatible input and strict mode is set to 'error': "+(t+" [")+e+"]",r);"warn"===n?"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" [")+e+"]"):"undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+n+"': "+t+" [")+e+"]")}}useStrictBehavior(e,t,r){var n=this.strict;if("function"==typeof n)try{n=n(e,t,r)}catch(e){n="error"}return!!n&&"ignore"!==n&&(!0===n||"error"===n||("warn"===n?("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(t+" [")+e+"]"),!1):("undefined"!=typeof console&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+n+"': "+t+" [")+e+"]"),!1)))}isTrusted(e){if("url"in e&&e.url&&!e.protocol){var t,r,n=(t=e.url,(r=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(t))?":"===r[2]&&/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(r[1])?r[1].toLowerCase():null:"_relative");if(null==n)return!1;e.protocol=n}return!!("function"==typeof this.trust?this.trust(e):this.trust)}constructor(e){for(var t of(void 0===e&&(e={}),this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{},Object.keys(iJ))){var r=iJ[t];r&&function(e,t,r,n){var i=r[t];e[t]=void 0!==i?n.processor?n.processor(i):i:function(e){if(void 0!==e.default)return e.default;var t=Array.isArray(e.type)?e.type[0]:e.type;if("string"!=typeof t)return t.enum[0];switch(t){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{};default:throw Error("Unexpected schema type; settings must declare an explicit default.")}}(n)}(this,t,e,r)}}}class iZ{sup(){return i0[i1[this.id]]}sub(){return i0[i4[this.id]]}fracNum(){return i0[i5[this.id]]}fracDen(){return i0[i6[this.id]]}cramp(){return i0[i3[this.id]]}text(){return i0[i7[this.id]]}isTight(){return this.size>=2}constructor(e,t,r){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=t,this.cramped=r}}var i0=[new iZ(0,0,!1),new iZ(1,0,!0),new iZ(2,1,!1),new iZ(3,1,!0),new iZ(4,2,!1),new iZ(5,2,!0),new iZ(6,3,!1),new iZ(7,3,!0)],i1=[4,5,4,5,6,7,6,7],i4=[5,5,5,5,7,7,7,7],i5=[2,3,4,5,6,7,6,7],i6=[3,3,5,5,7,7,7,7],i3=[1,1,3,3,5,5,7,7],i7=[0,1,2,3,2,3,2,3],i2={DISPLAY:i0[0],TEXT:i0[2],SCRIPT:i0[4],SCRIPTSCRIPT:i0[6]},i8=[{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]]}],i9=[];function ae(e){for(var t=0;t<i9.length;t+=2)if(e>=i9[t]&&e<=i9[t+1])return!0;return!1}i8.forEach(e=>e.blocks.forEach(e=>i9.push(...e)));var at=function(e,t,r){t*=1e3;var n,i,a,o,l,s,c="";switch(e){case"sqrtMain":c="M95,"+(622+(n=t)+80)+"\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"+n/2.075+" -"+n+"\nc5.3,-9.3,12,-14,20,-14\nH400000v"+(40+n)+"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+n)+" 80h400000v"+(40+n)+"h-400000z";break;case"sqrtSize1":c="M263,"+(601+(i=t)+80)+"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"+i/2.084+" -"+i+"\nc4.7,-7.3,11,-11,19,-11\nH40000v"+(40+i)+"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+i)+" 80h400000v"+(40+i)+"h-400000z";break;case"sqrtSize2":c="M983 "+(10+(a=t)+80)+"\nl"+a/3.13+" -"+a+"\nc4,-6.7,10,-10,18,-10 H400000v"+(40+a)+"\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+a)+" 80h400000v"+(40+a)+"h-400000z";break;case"sqrtSize3":c="M424,"+(2398+(o=t)+80)+"\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"+o/4.223+" -"+o+"c4,-6.7,10,-10,18,-10 H400000\nv"+(40+o)+"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+o)+" 80\nh400000v"+(40+o)+"h-400000z";break;case"sqrtSize4":c="M473,"+(2713+(l=t)+80)+"\nc339.3,-1799.3,509.3,-2700,510,-2702 l"+l/5.298+" -"+l+"\nc3.3,-7.3,9.3,-11,18,-11 H400000v"+(40+l)+"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+l)+" 80h400000v"+(40+l)+"H1017.7z";break;case"sqrtTall":c="M702 "+((s=t)+80)+"H400000"+(40+s)+"\nH742v"+(r-54-80-s)+"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 80H400000v"+(40+s)+"H742z"}return c},ar=function(e,t){switch(e){case"⎜":let r;return(r="M291 0 H417 V"+t+" H291z")+" "+r;case"∣":let n;return(n="M145 0 H188 V"+t+" H145z")+" "+n;case"∥":let i,a;return(i="M145 0 H188 V"+t+" H145z")+" "+i+((a="M367 0 H410 V"+t+" H367z")+" ")+a;case"⎟":let o;return(o="M457 0 H583 V"+t+" H457z")+" "+o;case"⎢":let l;return(l="M319 0 H403 V"+t+" H319z")+" "+l;case"⎥":let s;return(s="M263 0 H347 V"+t+" H263z")+" "+s;case"⎪":let c;return(c="M384 0 H504 V"+t+" H384z")+" "+c;case"⏐":let u;return(u="M312 0 H355 V"+t+" H312z")+" "+u;case"‖":let h,p;return(h="M257 0 H300 V"+t+" H257z")+" "+h+((p="M478 0 H521 V"+t+" H478z")+" ")+p;default:return""}},an={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:(e=>e+" "+e)("M40 281 V428 H0 V94 H40 V241 H400000 v40z"),leftbracketunder:(e=>e+" "+e)("M0 0 h120 V290 H399995 v120 H0z"),leftbracketover:(e=>e+" "+e)("M0 440 h120 V150 H399995 v-120 H0z"),leftmapsto:(e=>e+" "+e)("M40 281 V448H0V74H40V241H400000v40z"),leftToFrom:"M0 147h400000v40H0zm0 214c68 40 115.7 95.7 143 167h22c15.3 0 23\n-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69-70-101l-7-8h399905v-40H95l7-8\nc28.7-32 52-65.7 70-101 10.7-23.3 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 265.3\n 68 321 0 361zm0-174v-40h399900v40zm100 154v40h399900v-40z",longequal:(e=>e+" "+e)("M0 50 h400000 v40H0z m0 194h40000v40H0z"),midbrace:"M200428 334\nc-100.7-8.3-195.3-44-280-108-55.3-42-101.7-93-139-153l-9-14c-2.7 4-5.7 8.7-9 14\n-53.3 86.7-123.7 153-211 199-66.7 36-137.3 56.3-212 62H0V214h199568c178.3-11.7\n 311.7-78.3 403-201 6-8 9.7-12 11-12 .7-.7 6.7-1 18-1s17.3.3 18 1c1.3 0 5 4 11\n 12 44.7 59.3 101.3 106.3 170 141s145.3 54.3 229 60h199572v120z",midbraceunder:"M199572 214\nc100.7 8.3 195.3 44 280 108 55.3 42 101.7 93 139 153l9 14c2.7-4 5.7-8.7 9-14\n 53.3-86.7 123.7-153 211-199 66.7-36 137.3-56.3 212-62h199568v120H200432c-178.3\n 11.7-311.7 78.3-403 201-6 8-9.7 12-11 12-.7.7-6.7 1-18 1s-17.3-.3-18-1c-1.3 0\n-5-4-11-12-44.7-59.3-101.3-106.3-170-141s-145.3-54.3-229-60H0V214z",oiintSize1:"M512.6 71.6c272.6 0 320.3 106.8 320.3 178.2 0 70.8-47.7 177.6\n-320.3 177.6S193.1 320.6 193.1 249.8c0-71.4 46.9-178.2 319.5-178.2z\nm368.1 178.2c0-86.4-60.9-215.4-368.1-215.4-306.4 0-367.3 129-367.3 215.4 0 85.8\n60.9 214.8 367.3 214.8 307.2 0 368.1-129 368.1-214.8z",oiintSize2:"M757.8 100.1c384.7 0 451.1 137.6 451.1 230 0 91.3-66.4 228.8\n-451.1 228.8-386.3 0-452.7-137.5-452.7-228.8 0-92.4 66.4-230 452.7-230z\nm502.4 230c0-111.2-82.4-277.2-502.4-277.2s-504 166-504 277.2\nc0 110 84 276 504 276s502.4-166 502.4-276z",oiiintSize1:"M681.4 71.6c408.9 0 480.5 106.8 480.5 178.2 0 70.8-71.6 177.6\n-480.5 177.6S202.1 320.6 202.1 249.8c0-71.4 70.5-178.2 479.3-178.2z\nm525.8 178.2c0-86.4-86.8-215.4-525.7-215.4-437.9 0-524.7 129-524.7 215.4 0\n85.8 86.8 214.8 524.7 214.8 438.9 0 525.7-129 525.7-214.8z",oiiintSize2:"M1021.2 53c603.6 0 707.8 165.8 707.8 277.2 0 110-104.2 275.8\n-707.8 275.8-606 0-710.2-165.8-710.2-275.8C311 218.8 415.2 53 1021.2 53z\nm770.4 277.1c0-131.2-126.4-327.6-770.5-327.6S248.4 198.9 248.4 330.1\nc0 130 128.8 326.4 772.7 326.4s770.5-196.4 770.5-326.4z",rightarrow:"M0 241v40h399891c-47.3 35.3-84 78-110 128\n-16.7 32-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20\n 11 8 0 13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7\n 39-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85\n-40.5-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n 151.7 139 205zm0 0v40h399900v-40z",rightbrace:"M400000 542l\n-6 6h-17c-12.7 0-19.3-.3-20-1-4-4-7.3-8.3-10-13-35.3-51.3-80.8-93.8-136.5-127.5\ns-117.2-55.8-184.5-66.5c-.7 0-2-.3-4-1-18.7-2.7-76-4.3-172-5H0V214h399571l6 1\nc124.7 8 235 61.7 331 161 31.3 33.3 59.7 72.7 85 118l7 13v35z",rightbraceunder:"M399994 0l6 6v35l-6 11c-56 104-135.3 181.3-238 232-57.3\n 28.7-117 45-179 50H-300V214h399897c43.3-7 81-15 113-26 100.7-33 179.7-91 237\n-174 2.7-5 6-9 10-13 .7-1 7.3-1 20-1h17z",rightgroup:"M0 80h399565c371 0 266.7 149.4 414 180 5.9 1.2 18 0 18 0 2 0\n 3-1 3-3v-38c-76-158-257-219-435-219H0z",rightgroupunder:"M0 262h399565c371 0 266.7-149.4 414-180 5.9-1.2 18 0 18\n 0 2 0 3 1 3 3v38c-76 158-257 219-435 219H0z",rightharpoon:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3\n-3.7-15.3-11-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2\n-10.7 0-16.7 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58\n 69.2 92 94.5zm0 0v40h399900v-40z",rightharpoonplus:"M0 241v40h399993c4.7-4.7 7-9.3 7-14 0-9.3-3.7-15.3-11\n-18-92.7-56.7-159-133.7-199-231-3.3-9.3-6-14.7-8-16-2-1.3-7-2-15-2-10.7 0-16.7\n 2-18 6-2 2.7-1 9.7 3 21 15.3 42 36.7 81.8 64 119.5 27.3 37.7 58 69.2 92 94.5z\nm0 0v40h399900v-40z m100 194v40h399900v-40zm0 0v40h399900v-40z",rightharpoondown:"M399747 511c0 7.3 6.7 11 20 11 8 0 13-.8 15-2.5s4.7-6.8\n 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3 8.5-5.8 9.5\n-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3-64.7 57-92 95\n-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 241v40h399900v-40z",rightharpoondownplus:"M399747 705c0 7.3 6.7 11 20 11 8 0 13-.8\n 15-2.5s4.7-6.8 8-15.5c40-94 99.3-166.3 178-217 13.3-8 20.3-12.3 21-13 5.3-3.3\n 8.5-5.8 9.5-7.5 1-1.7 1.5-5.2 1.5-10.5s-2.3-10.3-7-15H0v40h399908c-34 25.3\n-64.7 57-92 95-27.3 38-48.7 77.7-64 119-3.3 8.7-5 14-5 16zM0 435v40h399900v-40z\nm0-194v40h400000v-40zm0 0v40h400000v-40z",righthook:"M399859 241c-764 0 0 0 0 0 40-3.3 68.7-15.7 86-37 10-12 15-25.3\n 15-40 0-22.7-9.8-40.7-29.5-54-19.7-13.3-43.5-21-71.5-23-17.3-1.3-26-8-26-20 0\n-13.3 8.7-20 26-20 38 0 71 11.2 99 33.5 0 0 7 5.6 21 16.7 14 11.2 21 33.5 21\n 66.8s-14 61.2-42 83.5c-28 22.3-61 33.5-99 33.5L0 241z M0 281v-40h399859v40z",rightlinesegment:(e=>e+" "+e)("M399960 241 V94 h40 V428 h-40 V281 H0 v-40z"),rightbracketunder:(e=>e+" "+e)("M399995 0 h-120 V290 H0 v120 H400000z"),rightbracketover:(e=>e+" "+e)("M399995 440 h-120 V150 H0 v-120 H399995z"),rightToFrom:"M400000 167c-70.7-42-118-97.7-142-167h-23c-15.3 0-23 .3-23\n 1 0 1.3 5.3 13.7 16 37 18 35.3 41.3 69 70 101l7 8H0v40h399905l-7 8c-28.7 32\n-52 65.7-70 101-10.7 23.3-16 35.7-16 37 0 .7 7.7 1 23 1h23c24-69.3 71.3-125 142\n-167z M100 147v40h399900v-40zM0 341v40h399900v-40z",twoheadleftarrow:"M0 167c68 40\n 115.7 95.7 143 167h22c15.3 0 23-.3 23-1 0-1.3-5.3-13.7-16-37-18-35.3-41.3-69\n-70-101l-7-8h125l9 7c50.7 39.3 85 86 103 140h46c0-4.7-6.3-18.7-19-42-18-35.3\n-40-67.3-66-96l-9-9h399716v-40H284l9-9c26-28.7 48-60.7 66-96 12.7-23.333 19\n-37.333 19-42h-46c-18 54-52.3 100.7-103 140l-9 7H95l7-8c28.7-32 52-65.7 70-101\n 10.7-23.333 16-35.7 16-37 0-.7-7.7-1-23-1h-22C115.7 71.3 68 127 0 167z",twoheadrightarrow:"M400000 167\nc-68-40-115.7-95.7-143-167h-22c-15.3 0-23 .3-23 1 0 1.3 5.3 13.7 16 37 18 35.3\n 41.3 69 70 101l7 8h-125l-9-7c-50.7-39.3-85-86-103-140h-46c0 4.7 6.3 18.7 19 42\n 18 35.3 40 67.3 66 96l9 9H0v40h399716l-9 9c-26 28.7-48 60.7-66 96-12.7 23.333\n-19 37.333-19 42h46c18-54 52.3-100.7 103-140l9-7h125l-7 8c-28.7 32-52 65.7-70\n 101-10.7 23.333-16 35.7-16 37 0 .7 7.7 1 23 1h22c27.3-71.3 75-127 143-167z",tilde1:"M200 55.538c-77 0-168 73.953-177 73.953-3 0-7\n-2.175-9-5.437L2 97c-1-2-2-4-2-6 0-4 2-7 5-9l20-12C116 12 171 0 207 0c86 0\n 114 68 191 68 78 0 168-68 177-68 4 0 7 2 9 5l12 19c1 2.175 2 4.35 2 6.525 0\n 4.35-2 7.613-5 9.788l-19 13.05c-92 63.077-116.937 75.308-183 76.128\n-68.267.847-113-73.952-191-73.952z",tilde2:"M344 55.266c-142 0-300.638 81.316-311.5 86.418\n-8.01 3.762-22.5 10.91-23.5 5.562L1 120c-1-2-1-3-1-4 0-5 3-9 8-10l18.4-9C160.9\n 31.9 283 0 358 0c148 0 188 122 331 122s314-97 326-97c4 0 8 2 10 7l7 21.114\nc1 2.14 1 3.21 1 4.28 0 5.347-3 9.626-7 10.696l-22.3 12.622C852.6 158.372 751\n 181.476 676 181.476c-149 0-189-126.21-332-126.21z",tilde3:"M786 59C457 59 32 175.242 13 175.242c-6 0-10-3.457\n-11-10.37L.15 138c-1-7 3-12 10-13l19.2-6.4C378.4 40.7 634.3 0 804.3 0c337 0\n 411.8 157 746.8 157 328 0 754-112 773-112 5 0 10 3 11 9l1 14.075c1 8.066-.697\n 16.595-6.697 17.492l-21.052 7.31c-367.9 98.146-609.15 122.696-778.15 122.696\n -338 0-409-156.573-744-156.573z",tilde4:"M786 58C457 58 32 177.487 13 177.487c-6 0-10-3.345\n-11-10.035L.15 143c-1-7 3-12 10-13l22-6.7C381.2 35 637.15 0 807.15 0c337 0 409\n 177 744 177 328 0 754-127 773-127 5 0 10 3 11 9l1 14.794c1 7.805-3 13.38-9\n 14.495l-20.7 5.574c-366.85 99.79-607.3 139.372-776.3 139.372-338 0-409\n -175.236-744-175.236z",vec:"M377 20c0-5.333 1.833-10 5.5-14S391 0 397 0c4.667 0 8.667 1.667 12 5\n3.333 2.667 6.667 9 10 19 6.667 24.667 20.333 43.667 41 57 7.333 4.667 11\n10.667 11 18 0 6-1 10-3 12s-6.667 5-14 9c-28.667 14.667-53.667 35.667-75 63\n-1.333 1.333-3.167 3.5-5.5 6.5s-4 4.833-5 5.5c-1 .667-2.5 1.333-4.5 2s-4.333 1\n-7 1c-4.667 0-9.167-1.833-13.5-5.5S337 184 337 178c0-12.667 15.667-32.333 47-59\nH213l-171-1c-8.667-6-13-12.333-13-19 0-4.667 4.333-11.333 13-20h359\nc-16-25.333-24-45-24-59z",widehat1:"M529 0h5l519 115c5 1 9 5 9 10 0 1-1 2-1 3l-4 22\nc-1 5-5 9-11 9h-2L532 67 19 159h-2c-5 0-9-4-11-9l-5-22c-1-6 2-12 8-13z",widehat2:"M1181 0h2l1171 176c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 220h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat3:"M1181 0h2l1171 236c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 280h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widehat4:"M1181 0h2l1171 296c6 0 10 5 10 11l-2 23c-1 6-5 10\n-11 10h-1L1182 67 15 340h-1c-6 0-10-4-11-10l-2-23c-1-6 4-11 10-11z",widecheck1:"M529,159h5l519,-115c5,-1,9,-5,9,-10c0,-1,-1,-2,-1,-3l-4,-22c-1,\n-5,-5,-9,-11,-9h-2l-512,92l-513,-92h-2c-5,0,-9,4,-11,9l-5,22c-1,6,2,12,8,13z",widecheck2:"M1181,220h2l1171,-176c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,153l-1167,-153h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck3:"M1181,280h2l1171,-236c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,213l-1167,-213h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",widecheck4:"M1181,340h2l1171,-296c6,0,10,-5,10,-11l-2,-23c-1,-6,-5,-10,\n-11,-10h-1l-1168,273l-1167,-273h-1c-6,0,-10,4,-11,10l-2,23c-1,6,4,11,10,11z",baraboveleftarrow:"M400000 620h-399890l3 -3c68.7 -52.7 113.7 -120 135 -202\nc4 -14.7 6 -23 6 -25c0 -7.3 -7 -11 -21 -11c-8 0 -13.2 0.8 -15.5 2.5\nc-2.3 1.7 -4.2 5.8 -5.5 12.5c-1.3 4.7 -2.7 10.3 -4 17c-12 48.7 -34.8 92 -68.5 130\ns-74.2 66.3 -121.5 85c-10 4 -16 7.7 -18 11c0 8.7 6 14.3 18 17c47.3 18.7 87.8 47\n121.5 85s56.5 81.3 68.5 130c0.7 2 1.3 5 2 9s1.2 6.7 1.5 8c0.3 1.3 1 3.3 2 6\ns2.2 4.5 3.5 5.5c1.3 1 3.3 1.8 6 2.5s6 1 10 1c14 0 21 -3.7 21 -11\nc0 -2 -2 -10.3 -6 -25c-20 -79.3 -65 -146.7 -135 -202l-3 -3h399890z\nM100 620v40h399900v-40z M0 241v40h399900v-40zM0 241v40h399900v-40z",rightarrowabovebar:"M0 241v40h399891c-47.3 35.3-84 78-110 128-16.7 32\n-27.7 63.7-33 95 0 1.3-.2 2.7-.5 4-.3 1.3-.5 2.3-.5 3 0 7.3 6.7 11 20 11 8 0\n13.2-.8 15.5-2.5 2.3-1.7 4.2-5.5 5.5-11.5 2-13.3 5.7-27 11-41 14.7-44.7 39\n-84.5 73-119.5s73.7-60.2 119-75.5c6-2 9-5.7 9-11s-3-9-9-11c-45.3-15.3-85-40.5\n-119-75.5s-58.3-74.8-73-119.5c-4.7-14-8.3-27.3-11-40-1.3-6.7-3.2-10.8-5.5\n-12.5-2.3-1.7-7.5-2.5-15.5-2.5-14 0-21 3.7-21 11 0 2 2 10.3 6 25 20.7 83.3 67\n151.7 139 205zm96 379h399894v40H0zm0 0h399904v40H0z",baraboveshortleftharpoon:"M507,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17\nc2,0.7,5,1,9,1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21\nc-32,-87.3,-82.7,-157.7,-152,-211c0,0,-3,-3,-3,-3l399351,0l0,-40\nc-398570,0,-399437,0,-399437,0z M593 435 v40 H399500 v-40z\nM0 281 v-40 H399908 v40z M0 281 v-40 H399908 v40z",rightharpoonaboveshortbar:"M0,241 l0,40c399126,0,399993,0,399993,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM0 241 v40 H399908 v-40z M0 475 v-40 H399500 v40z M0 475 v-40 H399500 v40z",shortbaraboveleftharpoon:"M7,435c-4,4,-6.3,8.7,-7,14c0,5.3,0.7,9,2,11\nc1.3,2,5.3,5.3,12,10c90.7,54,156,130,196,228c3.3,10.7,6.3,16.3,9,17c2,0.7,5,1,9,\n1c0,0,5,0,5,0c10.7,0,16.7,-2,18,-6c2,-2.7,1,-9.7,-3,-21c-32,-87.3,-82.7,-157.7,\n-152,-211c0,0,-3,-3,-3,-3l399907,0l0,-40c-399126,0,-399993,0,-399993,0z\nM93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z",shortrightharpoonabovebar:"M53,241l0,40c398570,0,399437,0,399437,0\nc4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,\n-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6\nc-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z\nM500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z"},ai=function(e,t){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v1759 v84 h347 v-84\nH403z M403 1759 V0 H319 V1759 v"+t+" v1759 v84 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v1759 H0 v84 H347z\nM347 1759 V0 H263 V1759 v"+t+" v1759 h84z";case"vert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z";case"doublevert":return"M145 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M188 15 H145 v585 v"+t+" v585 h43z\nM367 15 v585 v"+t+" v585 c2.667,10,9.667,15,21,15\nc10,0,16.667,-5,20,-15 v-585 v"+-t+" v-585 c-2.667,-10,-9.667,-15,-21,-15\nc-10,0,-16.667,5,-20,15z M410 15 H367 v585 v"+t+" v585 h43z";case"lfloor":return"M319 602 V0 H403 V602 v"+t+" v1715 h263 v84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"rfloor":return"M319 602 V0 H403 V602 v"+t+" v1799 H0 v-84 H319z\nMM319 602 V0 H403 V602 v"+t+" v1715 H319z";case"lceil":return"M403 1759 V84 H666 V0 H319 V1759 v"+t+" v602 h84z\nM403 1759 V0 H319 V1759 v"+t+" v602 h84z";case"rceil":return"M347 1759 V0 H0 V84 H263 V1759 v"+t+" v602 h84z\nM347 1759 V0 h-84 V1759 v"+t+" v602 h84z";case"lparen":return"M863,9c0,-2,-2,-5,-6,-9c0,0,-17,0,-17,0c-12.7,0,-19.3,0.3,-20,1\nc-5.3,5.3,-10.3,11,-15,17c-242.7,294.7,-395.3,682,-458,1162c-21.3,163.3,-33.3,349,\n-36,557 l0,"+(t+84)+"c0.2,6,0,26,0,60c2,159.3,10,310.7,24,454c53.3,528,210,\n949.7,470,1265c4.7,6,9.7,11.7,15,17c0.7,0.7,7,1,19,1c0,0,18,0,18,0c4,-4,6,-7,6,-9\nc0,-2.7,-3.3,-8.7,-10,-18c-135.3,-192.7,-235.5,-414.3,-300.5,-665c-65,-250.7,-102.5,\n-544.7,-112.5,-882c-2,-104,-3,-167,-3,-189\nl0,-"+(t+92)+"c0,-162.7,5.7,-314,17,-454c20.7,-272,63.7,-513,129,-723c65.3,\n-210,155.3,-396.3,270,-559c6.7,-9.3,10,-15.3,10,-18z";case"rparen":return"M76,0c-16.7,0,-25,3,-25,9c0,2,2,6.3,6,13c21.3,28.7,42.3,60.3,\n63,95c96.7,156.7,172.8,332.5,228.5,527.5c55.7,195,92.8,416.5,111.5,664.5\nc11.3,139.3,17,290.7,17,454c0,28,1.7,43,3.3,45l0,"+(t+9)+"\nc-3,4,-3.3,16.7,-3.3,38c0,162,-5.7,313.7,-17,455c-18.7,248,-55.8,469.3,-111.5,664\nc-55.7,194.7,-131.8,370.3,-228.5,527c-20.7,34.7,-41.7,66.3,-63,95c-2,3.3,-4,7,-6,11\nc0,7.3,5.7,11,17,11c0,0,11,0,11,0c9.3,0,14.3,-0.3,15,-1c5.3,-5.3,10.3,-11,15,-17\nc242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558\nl0,-"+(t+144)+"c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,\n-470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z";default:throw Error("Unknown stretchy delimiter.")}};class aa{hasClass(e){return this.classes.includes(e)}toNode(){for(var e=document.createDocumentFragment(),t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}toMarkup(){for(var e="",t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e}toText(){return this.children.map(e=>{if("toText"in e)return e.toText();throw Error("Expected MathDomNode with toText, got "+e.constructor.name)}).join("")}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={}}}var ao={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},al={ex:!0,em:!0,mu:!0},as=function(e){return"string"!=typeof e&&(e=e.unit),e in ao||e in al||"ex"===e},ac=function(e,t){var r,n;if(e.unit in ao)r=ao[e.unit]/t.fontMetrics().ptPerEm/t.sizeMultiplier;else if("mu"===e.unit)r=t.fontMetrics().cssEmPerMu;else{if(n=t.style.isTight()?t.havingStyle(t.style.text()):t,"ex"===e.unit)r=n.fontMetrics().xHeight;else if("em"===e.unit)r=n.fontMetrics().quad;else throw new iH("Invalid unit: '"+e.unit+"'");n!==t&&(r*=n.sizeMultiplier/t.sizeMultiplier)}return Math.min(e.number*r,t.maxSize)},au=function(e){return+e.toFixed(4)+"em"},ah=function(e){return e.filter(e=>e).join(" ")},ap=function(e){var t="";for(var r of Object.keys(e)){var n=e[r];void 0!==n&&(t+=iG(r)+":"+n+";")}return t},am=function(e,t,r){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=r||{},t){t.style.isTight()&&this.classes.push("mtight");var n=t.getColor();n&&(this.style.color=n)}},ad=function(e){var t=document.createElement(e);for(var r of(t.className=ah(this.classes),Object.assign(t.style,this.style),Object.keys(this.attributes)))t.setAttribute(r,this.attributes[r]);for(var n=0;n<this.children.length;n++)t.appendChild(this.children[n].toNode());return t},af=/[\s"'>/=\x00-\x1f]/,ag=function(e){var t="<"+e;this.classes.length&&(t+=' class="'+i$(ah(this.classes))+'"');var r=ap(this.style);for(var n of(r&&(t+=' style="'+i$(r)+'"'),Object.keys(this.attributes))){if(af.test(n))throw new iH("Invalid attribute name '"+n+"'");t+=" "+n+'="'+i$(this.attributes[n])+'"'}t+=">";for(var i=0;i<this.children.length;i++)t+=this.children[i].toMarkup();return t+("</"+e+">")};class ay{setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return ad.call(this,"span")}toMarkup(){return ag.call(this,"span")}constructor(e,t,r,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,this.italic=void 0,am.call(this,e,r,n),this.children=t||[]}}class av{setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return ad.call(this,"a")}toMarkup(){return ag.call(this,"a")}constructor(e,t,r,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,am.call(this,t,n),this.children=r||[],this.setAttribute("href",e)}}class ab{hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createElement("img");return e.src=this.src,e.alt=this.alt,e.className="mord",Object.assign(e.style,this.style),e}toMarkup(){var e='<img src="'+i$(this.src)+'" alt="'+i$(this.alt)+'"',t=ap(this.style);return t&&(e+=' style="'+i$(t)+'"'),e+="'/>"}constructor(e,t,r){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=t,this.src=e,this.classes=["mord"],this.height=0,this.depth=0,this.maxFontSize=0,this.style=r}}var ax={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class aw{hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createTextNode(this.text),t=null;return(this.italic>0&&((t=document.createElement("span")).style.marginRight=au(this.italic)),this.classes.length>0&&((t=t||document.createElement("span")).className=ah(this.classes)),Object.keys(this.style).length>0&&Object.assign((t=t||document.createElement("span")).style,this.style),t)?(t.appendChild(e),t):e}toMarkup(){var e=!1,t="<span";this.classes.length&&(e=!0,t+=' class="',t+=i$(ah(this.classes)),t+='"');var r="";this.italic>0&&(r+="margin-right:"+au(this.italic)+";"),(r+=ap(this.style))&&(e=!0,t+=' style="'+i$(r)+'"');var n=i$(this.text);return e?(t+=">",t+=n,t+="</span>"):n}constructor(e,t,r,n,i,a,o,l){this.text=void 0,this.height=void 0,this.depth=void 0,this.italic=void 0,this.skew=void 0,this.width=void 0,this.maxFontSize=void 0,this.classes=void 0,this.style=void 0,this.text=e,this.height=t||0,this.depth=r||0,this.italic=n||0,this.skew=i||0,this.width=a||0,this.classes=o||[],this.style=l||{},this.maxFontSize=0;var s=function(e){for(var t=0;t<i8.length;t++)for(var r=i8[t],n=0;n<r.blocks.length;n++){var i=r.blocks[n];if(e>=i[0]&&e<=i[1])return r.name}return null}(this.text.charCodeAt(0));s&&this.classes.push(s+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=ax[this.text])}}class ak{toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","svg");for(var t of Object.keys(this.attributes))e.setAttribute(t,this.attributes[t]);for(var r=0;r<this.children.length;r++)e.appendChild(this.children[r].toNode());return e}toMarkup(){var e='<svg xmlns="http://www.w3.org/2000/svg"';for(var t of Object.keys(this.attributes))e+=" "+t+'="'+i$(this.attributes[t])+'"';e+=">";for(var r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e+"</svg>"}constructor(e,t){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=t||{}}}class aA{toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?e.setAttribute("d",this.alternate):e.setAttribute("d",an[this.pathName]),e}toMarkup(){return this.alternate?'<path d="'+i$(this.alternate)+'"/>':'<path d="'+i$(an[this.pathName])+'"/>'}constructor(e,t){this.pathName=void 0,this.alternate=void 0,this.pathName=e,this.alternate=t}}class aS{toNode(){var e=document.createElementNS("http://www.w3.org/2000/svg","line");for(var t of Object.keys(this.attributes))e.setAttribute(t,this.attributes[t]);return e}toMarkup(){var e="<line";for(var t of Object.keys(this.attributes))e+=" "+t+'="'+i$(this.attributes[t])+'"';return e+"/>"}constructor(e){this.attributes=void 0,this.attributes=e||{}}}var aC={"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]}},aT={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]},a_={Å:"A",Ð:"D",Þ:"o",å:"a",ð:"d",þ:"o",А:"A",Б:"B",В:"B",Г:"F",Д:"A",Е:"E",Ж:"K",З:"3",И:"N",Й:"N",К:"K",Л:"N",М:"M",Н:"H",О:"O",П:"N",Р:"P",С:"C",Т:"T",У:"y",Ф:"O",Х:"X",Ц:"U",Ч:"h",Ш:"W",Щ:"W",Ъ:"B",Ы:"X",Ь:"B",Э:"3",Ю:"X",Я:"R",а:"a",б:"b",в:"a",г:"r",д:"y",е:"e",ж:"m",з:"e",и:"n",й:"n",к:"n",л:"n",м:"m",н:"n",о:"o",п:"n",р:"p",с:"c",т:"o",у:"y",ф:"b",х:"x",ц:"n",ч:"n",ш:"w",щ:"w",ъ:"a",ы:"m",ь:"a",э:"e",ю:"m",я:"r"};function aM(e,t,r){if(!aC[t])throw Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),i=aC[t][n];if(!i&&e[0]in a_&&(n=a_[e[0]].charCodeAt(0),i=aC[t][n]),!i&&"text"===r&&ae(n)&&(i=aC[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var aE={},az={math:{},text:{}};function aN(e,t,r,n,i,a){az[e][i]={font:t,group:r,replace:n},a&&n&&(az[e][n]=az[e][i])}var aI="math",aL="text",aR="main",aP="accent-token",aB="close",aO="inner",aD="mathord",aF="op-token",aq="open",aj="punct",aH="spacing",aU="textord";aN(aI,aR,"rel","≡","\\equiv",!0),aN(aI,aR,"rel","≺","\\prec",!0),aN(aI,aR,"rel","≻","\\succ",!0),aN(aI,aR,"rel","∼","\\sim",!0),aN(aI,aR,"rel","⊥","\\perp"),aN(aI,aR,"rel","⪯","\\preceq",!0),aN(aI,aR,"rel","⪰","\\succeq",!0),aN(aI,aR,"rel","≃","\\simeq",!0),aN(aI,aR,"rel","∣","\\mid",!0),aN(aI,aR,"rel","≪","\\ll",!0),aN(aI,aR,"rel","≫","\\gg",!0),aN(aI,aR,"rel","≍","\\asymp",!0),aN(aI,aR,"rel","∥","\\parallel"),aN(aI,aR,"rel","⋈","\\bowtie",!0),aN(aI,aR,"rel","⌣","\\smile",!0),aN(aI,aR,"rel","⊑","\\sqsubseteq",!0),aN(aI,aR,"rel","⊒","\\sqsupseteq",!0),aN(aI,aR,"rel","≐","\\doteq",!0),aN(aI,aR,"rel","⌢","\\frown",!0),aN(aI,aR,"rel","∋","\\ni",!0),aN(aI,aR,"rel","∝","\\propto",!0),aN(aI,aR,"rel","⊢","\\vdash",!0),aN(aI,aR,"rel","⊣","\\dashv",!0),aN(aI,aR,"rel","∋","\\owns"),aN(aI,aR,aj,".","\\ldotp"),aN(aI,aR,aj,"⋅","\\cdotp"),aN(aI,aR,aj,"⋅","·"),aN(aL,aR,aU,"⋅","·"),aN(aI,aR,aU,"#","\\#"),aN(aL,aR,aU,"#","\\#"),aN(aI,aR,aU,"&","\\&"),aN(aL,aR,aU,"&","\\&"),aN(aI,aR,aU,"ℵ","\\aleph",!0),aN(aI,aR,aU,"∀","\\forall",!0),aN(aI,aR,aU,"ℏ","\\hbar",!0),aN(aI,aR,aU,"∃","\\exists",!0),aN(aI,aR,aU,"∇","\\nabla",!0),aN(aI,aR,aU,"♭","\\flat",!0),aN(aI,aR,aU,"ℓ","\\ell",!0),aN(aI,aR,aU,"♮","\\natural",!0),aN(aI,aR,aU,"♣","\\clubsuit",!0),aN(aI,aR,aU,"℘","\\wp",!0),aN(aI,aR,aU,"♯","\\sharp",!0),aN(aI,aR,aU,"♢","\\diamondsuit",!0),aN(aI,aR,aU,"ℜ","\\Re",!0),aN(aI,aR,aU,"♡","\\heartsuit",!0),aN(aI,aR,aU,"ℑ","\\Im",!0),aN(aI,aR,aU,"♠","\\spadesuit",!0),aN(aI,aR,aU,"§","\\S",!0),aN(aL,aR,aU,"§","\\S"),aN(aI,aR,aU,"¶","\\P",!0),aN(aL,aR,aU,"¶","\\P"),aN(aI,aR,aU,"†","\\dag"),aN(aL,aR,aU,"†","\\dag"),aN(aL,aR,aU,"†","\\textdagger"),aN(aI,aR,aU,"‡","\\ddag"),aN(aL,aR,aU,"‡","\\ddag"),aN(aL,aR,aU,"‡","\\textdaggerdbl"),aN(aI,aR,aB,"⎱","\\rmoustache",!0),aN(aI,aR,aq,"⎰","\\lmoustache",!0),aN(aI,aR,aB,"⟯","\\rgroup",!0),aN(aI,aR,aq,"⟮","\\lgroup",!0),aN(aI,aR,"bin","∓","\\mp",!0),aN(aI,aR,"bin","⊖","\\ominus",!0),aN(aI,aR,"bin","⊎","\\uplus",!0),aN(aI,aR,"bin","⊓","\\sqcap",!0),aN(aI,aR,"bin","∗","\\ast"),aN(aI,aR,"bin","⊔","\\sqcup",!0),aN(aI,aR,"bin","◯","\\bigcirc",!0),aN(aI,aR,"bin","∙","\\bullet",!0),aN(aI,aR,"bin","‡","\\ddagger"),aN(aI,aR,"bin","≀","\\wr",!0),aN(aI,aR,"bin","⨿","\\amalg"),aN(aI,aR,"bin","&","\\And"),aN(aI,aR,"rel","⟵","\\longleftarrow",!0),aN(aI,aR,"rel","⇐","\\Leftarrow",!0),aN(aI,aR,"rel","⟸","\\Longleftarrow",!0),aN(aI,aR,"rel","⟶","\\longrightarrow",!0),aN(aI,aR,"rel","⇒","\\Rightarrow",!0),aN(aI,aR,"rel","⟹","\\Longrightarrow",!0),aN(aI,aR,"rel","↔","\\leftrightarrow",!0),aN(aI,aR,"rel","⟷","\\longleftrightarrow",!0),aN(aI,aR,"rel","⇔","\\Leftrightarrow",!0),aN(aI,aR,"rel","⟺","\\Longleftrightarrow",!0),aN(aI,aR,"rel","↦","\\mapsto",!0),aN(aI,aR,"rel","⟼","\\longmapsto",!0),aN(aI,aR,"rel","↗","\\nearrow",!0),aN(aI,aR,"rel","↩","\\hookleftarrow",!0),aN(aI,aR,"rel","↪","\\hookrightarrow",!0),aN(aI,aR,"rel","↘","\\searrow",!0),aN(aI,aR,"rel","↼","\\leftharpoonup",!0),aN(aI,aR,"rel","⇀","\\rightharpoonup",!0),aN(aI,aR,"rel","↙","\\swarrow",!0),aN(aI,aR,"rel","↽","\\leftharpoondown",!0),aN(aI,aR,"rel","⇁","\\rightharpoondown",!0),aN(aI,aR,"rel","↖","\\nwarrow",!0),aN(aI,aR,"rel","⇌","\\rightleftharpoons",!0),aN(aI,"ams","rel","≮","\\nless",!0),aN(aI,"ams","rel","","\\@nleqslant"),aN(aI,"ams","rel","","\\@nleqq"),aN(aI,"ams","rel","⪇","\\lneq",!0),aN(aI,"ams","rel","≨","\\lneqq",!0),aN(aI,"ams","rel","","\\@lvertneqq"),aN(aI,"ams","rel","⋦","\\lnsim",!0),aN(aI,"ams","rel","⪉","\\lnapprox",!0),aN(aI,"ams","rel","⊀","\\nprec",!0),aN(aI,"ams","rel","⋠","\\npreceq",!0),aN(aI,"ams","rel","⋨","\\precnsim",!0),aN(aI,"ams","rel","⪹","\\precnapprox",!0),aN(aI,"ams","rel","≁","\\nsim",!0),aN(aI,"ams","rel","","\\@nshortmid"),aN(aI,"ams","rel","∤","\\nmid",!0),aN(aI,"ams","rel","⊬","\\nvdash",!0),aN(aI,"ams","rel","⊭","\\nvDash",!0),aN(aI,"ams","rel","⋪","\\ntriangleleft"),aN(aI,"ams","rel","⋬","\\ntrianglelefteq",!0),aN(aI,"ams","rel","⊊","\\subsetneq",!0),aN(aI,"ams","rel","","\\@varsubsetneq"),aN(aI,"ams","rel","⫋","\\subsetneqq",!0),aN(aI,"ams","rel","","\\@varsubsetneqq"),aN(aI,"ams","rel","≯","\\ngtr",!0),aN(aI,"ams","rel","","\\@ngeqslant"),aN(aI,"ams","rel","","\\@ngeqq"),aN(aI,"ams","rel","⪈","\\gneq",!0),aN(aI,"ams","rel","≩","\\gneqq",!0),aN(aI,"ams","rel","","\\@gvertneqq"),aN(aI,"ams","rel","⋧","\\gnsim",!0),aN(aI,"ams","rel","⪊","\\gnapprox",!0),aN(aI,"ams","rel","⊁","\\nsucc",!0),aN(aI,"ams","rel","⋡","\\nsucceq",!0),aN(aI,"ams","rel","⋩","\\succnsim",!0),aN(aI,"ams","rel","⪺","\\succnapprox",!0),aN(aI,"ams","rel","≆","\\ncong",!0),aN(aI,"ams","rel","","\\@nshortparallel"),aN(aI,"ams","rel","∦","\\nparallel",!0),aN(aI,"ams","rel","⊯","\\nVDash",!0),aN(aI,"ams","rel","⋫","\\ntriangleright"),aN(aI,"ams","rel","⋭","\\ntrianglerighteq",!0),aN(aI,"ams","rel","","\\@nsupseteqq"),aN(aI,"ams","rel","⊋","\\supsetneq",!0),aN(aI,"ams","rel","","\\@varsupsetneq"),aN(aI,"ams","rel","⫌","\\supsetneqq",!0),aN(aI,"ams","rel","","\\@varsupsetneqq"),aN(aI,"ams","rel","⊮","\\nVdash",!0),aN(aI,"ams","rel","⪵","\\precneqq",!0),aN(aI,"ams","rel","⪶","\\succneqq",!0),aN(aI,"ams","rel","","\\@nsubseteqq"),aN(aI,"ams","bin","⊴","\\unlhd"),aN(aI,"ams","bin","⊵","\\unrhd"),aN(aI,"ams","rel","↚","\\nleftarrow",!0),aN(aI,"ams","rel","↛","\\nrightarrow",!0),aN(aI,"ams","rel","⇍","\\nLeftarrow",!0),aN(aI,"ams","rel","⇏","\\nRightarrow",!0),aN(aI,"ams","rel","↮","\\nleftrightarrow",!0),aN(aI,"ams","rel","⇎","\\nLeftrightarrow",!0),aN(aI,"ams","rel","△","\\vartriangle"),aN(aI,"ams",aU,"ℏ","\\hslash"),aN(aI,"ams",aU,"▽","\\triangledown"),aN(aI,"ams",aU,"◊","\\lozenge"),aN(aI,"ams",aU,"Ⓢ","\\circledS"),aN(aI,"ams",aU,"®","\\circledR"),aN(aL,"ams",aU,"®","\\circledR"),aN(aI,"ams",aU,"∡","\\measuredangle",!0),aN(aI,"ams",aU,"∄","\\nexists"),aN(aI,"ams",aU,"℧","\\mho"),aN(aI,"ams",aU,"Ⅎ","\\Finv",!0),aN(aI,"ams",aU,"⅁","\\Game",!0),aN(aI,"ams",aU,"‵","\\backprime"),aN(aI,"ams",aU,"▲","\\blacktriangle"),aN(aI,"ams",aU,"▼","\\blacktriangledown"),aN(aI,"ams",aU,"■","\\blacksquare"),aN(aI,"ams",aU,"⧫","\\blacklozenge"),aN(aI,"ams",aU,"★","\\bigstar"),aN(aI,"ams",aU,"∢","\\sphericalangle",!0),aN(aI,"ams",aU,"∁","\\complement",!0),aN(aI,"ams",aU,"ð","\\eth",!0),aN(aL,aR,aU,"ð","ð"),aN(aI,"ams",aU,"╱","\\diagup"),aN(aI,"ams",aU,"╲","\\diagdown"),aN(aI,"ams",aU,"□","\\square"),aN(aI,"ams",aU,"□","\\Box"),aN(aI,"ams",aU,"◊","\\Diamond"),aN(aI,"ams",aU,"¥","\\yen",!0),aN(aL,"ams",aU,"¥","\\yen",!0),aN(aI,"ams",aU,"✓","\\checkmark",!0),aN(aL,"ams",aU,"✓","\\checkmark"),aN(aI,"ams",aU,"ℶ","\\beth",!0),aN(aI,"ams",aU,"ℸ","\\daleth",!0),aN(aI,"ams",aU,"ℷ","\\gimel",!0),aN(aI,"ams",aU,"ϝ","\\digamma",!0),aN(aI,"ams",aU,"ϰ","\\varkappa"),aN(aI,"ams",aq,"┌","\\@ulcorner",!0),aN(aI,"ams",aB,"┐","\\@urcorner",!0),aN(aI,"ams",aq,"└","\\@llcorner",!0),aN(aI,"ams",aB,"┘","\\@lrcorner",!0),aN(aI,"ams","rel","≦","\\leqq",!0),aN(aI,"ams","rel","⩽","\\leqslant",!0),aN(aI,"ams","rel","⪕","\\eqslantless",!0),aN(aI,"ams","rel","≲","\\lesssim",!0),aN(aI,"ams","rel","⪅","\\lessapprox",!0),aN(aI,"ams","rel","≊","\\approxeq",!0),aN(aI,"ams","bin","⋖","\\lessdot"),aN(aI,"ams","rel","⋘","\\lll",!0),aN(aI,"ams","rel","≶","\\lessgtr",!0),aN(aI,"ams","rel","⋚","\\lesseqgtr",!0),aN(aI,"ams","rel","⪋","\\lesseqqgtr",!0),aN(aI,"ams","rel","≑","\\doteqdot"),aN(aI,"ams","rel","≓","\\risingdotseq",!0),aN(aI,"ams","rel","≒","\\fallingdotseq",!0),aN(aI,"ams","rel","∽","\\backsim",!0),aN(aI,"ams","rel","⋍","\\backsimeq",!0),aN(aI,"ams","rel","⫅","\\subseteqq",!0),aN(aI,"ams","rel","⋐","\\Subset",!0),aN(aI,"ams","rel","⊏","\\sqsubset",!0),aN(aI,"ams","rel","≼","\\preccurlyeq",!0),aN(aI,"ams","rel","⋞","\\curlyeqprec",!0),aN(aI,"ams","rel","≾","\\precsim",!0),aN(aI,"ams","rel","⪷","\\precapprox",!0),aN(aI,"ams","rel","⊲","\\vartriangleleft"),aN(aI,"ams","rel","⊴","\\trianglelefteq"),aN(aI,"ams","rel","⊨","\\vDash",!0),aN(aI,"ams","rel","⊪","\\Vvdash",!0),aN(aI,"ams","rel","⌣","\\smallsmile"),aN(aI,"ams","rel","⌢","\\smallfrown"),aN(aI,"ams","rel","≏","\\bumpeq",!0),aN(aI,"ams","rel","≎","\\Bumpeq",!0),aN(aI,"ams","rel","≧","\\geqq",!0),aN(aI,"ams","rel","⩾","\\geqslant",!0),aN(aI,"ams","rel","⪖","\\eqslantgtr",!0),aN(aI,"ams","rel","≳","\\gtrsim",!0),aN(aI,"ams","rel","⪆","\\gtrapprox",!0),aN(aI,"ams","bin","⋗","\\gtrdot"),aN(aI,"ams","rel","⋙","\\ggg",!0),aN(aI,"ams","rel","≷","\\gtrless",!0),aN(aI,"ams","rel","⋛","\\gtreqless",!0),aN(aI,"ams","rel","⪌","\\gtreqqless",!0),aN(aI,"ams","rel","≖","\\eqcirc",!0),aN(aI,"ams","rel","≗","\\circeq",!0),aN(aI,"ams","rel","≜","\\triangleq",!0),aN(aI,"ams","rel","∼","\\thicksim"),aN(aI,"ams","rel","≈","\\thickapprox"),aN(aI,"ams","rel","⫆","\\supseteqq",!0),aN(aI,"ams","rel","⋑","\\Supset",!0),aN(aI,"ams","rel","⊐","\\sqsupset",!0),aN(aI,"ams","rel","≽","\\succcurlyeq",!0),aN(aI,"ams","rel","⋟","\\curlyeqsucc",!0),aN(aI,"ams","rel","≿","\\succsim",!0),aN(aI,"ams","rel","⪸","\\succapprox",!0),aN(aI,"ams","rel","⊳","\\vartriangleright"),aN(aI,"ams","rel","⊵","\\trianglerighteq"),aN(aI,"ams","rel","⊩","\\Vdash",!0),aN(aI,"ams","rel","∣","\\shortmid"),aN(aI,"ams","rel","∥","\\shortparallel"),aN(aI,"ams","rel","≬","\\between",!0),aN(aI,"ams","rel","⋔","\\pitchfork",!0),aN(aI,"ams","rel","∝","\\varpropto"),aN(aI,"ams","rel","◀","\\blacktriangleleft"),aN(aI,"ams","rel","∴","\\therefore",!0),aN(aI,"ams","rel","∍","\\backepsilon"),aN(aI,"ams","rel","▶","\\blacktriangleright"),aN(aI,"ams","rel","∵","\\because",!0),aN(aI,"ams","rel","⋘","\\llless"),aN(aI,"ams","rel","⋙","\\gggtr"),aN(aI,"ams","bin","⊲","\\lhd"),aN(aI,"ams","bin","⊳","\\rhd"),aN(aI,"ams","rel","≂","\\eqsim",!0),aN(aI,aR,"rel","⋈","\\Join"),aN(aI,"ams","rel","≑","\\Doteq",!0),aN(aI,"ams","bin","∔","\\dotplus",!0),aN(aI,"ams","bin","∖","\\smallsetminus"),aN(aI,"ams","bin","⋒","\\Cap",!0),aN(aI,"ams","bin","⋓","\\Cup",!0),aN(aI,"ams","bin","⩞","\\doublebarwedge",!0),aN(aI,"ams","bin","⊟","\\boxminus",!0),aN(aI,"ams","bin","⊞","\\boxplus",!0),aN(aI,"ams","bin","⋇","\\divideontimes",!0),aN(aI,"ams","bin","⋉","\\ltimes",!0),aN(aI,"ams","bin","⋊","\\rtimes",!0),aN(aI,"ams","bin","⋋","\\leftthreetimes",!0),aN(aI,"ams","bin","⋌","\\rightthreetimes",!0),aN(aI,"ams","bin","⋏","\\curlywedge",!0),aN(aI,"ams","bin","⋎","\\curlyvee",!0),aN(aI,"ams","bin","⊝","\\circleddash",!0),aN(aI,"ams","bin","⊛","\\circledast",!0),aN(aI,"ams","bin","⋅","\\centerdot"),aN(aI,"ams","bin","⊺","\\intercal",!0),aN(aI,"ams","bin","⋒","\\doublecap"),aN(aI,"ams","bin","⋓","\\doublecup"),aN(aI,"ams","bin","⊠","\\boxtimes",!0),aN(aI,"ams","rel","⇢","\\dashrightarrow",!0),aN(aI,"ams","rel","⇠","\\dashleftarrow",!0),aN(aI,"ams","rel","⇇","\\leftleftarrows",!0),aN(aI,"ams","rel","⇆","\\leftrightarrows",!0),aN(aI,"ams","rel","⇚","\\Lleftarrow",!0),aN(aI,"ams","rel","↞","\\twoheadleftarrow",!0),aN(aI,"ams","rel","↢","\\leftarrowtail",!0),aN(aI,"ams","rel","↫","\\looparrowleft",!0),aN(aI,"ams","rel","⇋","\\leftrightharpoons",!0),aN(aI,"ams","rel","↶","\\curvearrowleft",!0),aN(aI,"ams","rel","↺","\\circlearrowleft",!0),aN(aI,"ams","rel","↰","\\Lsh",!0),aN(aI,"ams","rel","⇈","\\upuparrows",!0),aN(aI,"ams","rel","↿","\\upharpoonleft",!0),aN(aI,"ams","rel","⇃","\\downharpoonleft",!0),aN(aI,aR,"rel","⊶","\\origof",!0),aN(aI,aR,"rel","⊷","\\imageof",!0),aN(aI,"ams","rel","⊸","\\multimap",!0),aN(aI,"ams","rel","↭","\\leftrightsquigarrow",!0),aN(aI,"ams","rel","⇉","\\rightrightarrows",!0),aN(aI,"ams","rel","⇄","\\rightleftarrows",!0),aN(aI,"ams","rel","↠","\\twoheadrightarrow",!0),aN(aI,"ams","rel","↣","\\rightarrowtail",!0),aN(aI,"ams","rel","↬","\\looparrowright",!0),aN(aI,"ams","rel","↷","\\curvearrowright",!0),aN(aI,"ams","rel","↻","\\circlearrowright",!0),aN(aI,"ams","rel","↱","\\Rsh",!0),aN(aI,"ams","rel","⇊","\\downdownarrows",!0),aN(aI,"ams","rel","↾","\\upharpoonright",!0),aN(aI,"ams","rel","⇂","\\downharpoonright",!0),aN(aI,"ams","rel","⇝","\\rightsquigarrow",!0),aN(aI,"ams","rel","⇝","\\leadsto"),aN(aI,"ams","rel","⇛","\\Rrightarrow",!0),aN(aI,"ams","rel","↾","\\restriction"),aN(aI,aR,aU,"‘","`"),aN(aI,aR,aU,"$","\\$"),aN(aL,aR,aU,"$","\\$"),aN(aL,aR,aU,"$","\\textdollar"),aN(aI,aR,aU,"%","\\%"),aN(aL,aR,aU,"%","\\%"),aN(aI,aR,aU,"_","\\_"),aN(aL,aR,aU,"_","\\_"),aN(aL,aR,aU,"_","\\textunderscore"),aN(aI,aR,aU,"∠","\\angle",!0),aN(aI,aR,aU,"∞","\\infty",!0),aN(aI,aR,aU,"′","\\prime"),aN(aI,aR,aU,"△","\\triangle"),aN(aI,aR,aU,"Γ","\\Gamma",!0),aN(aI,aR,aU,"Δ","\\Delta",!0),aN(aI,aR,aU,"Θ","\\Theta",!0),aN(aI,aR,aU,"Λ","\\Lambda",!0),aN(aI,aR,aU,"Ξ","\\Xi",!0),aN(aI,aR,aU,"Π","\\Pi",!0),aN(aI,aR,aU,"Σ","\\Sigma",!0),aN(aI,aR,aU,"Υ","\\Upsilon",!0),aN(aI,aR,aU,"Φ","\\Phi",!0),aN(aI,aR,aU,"Ψ","\\Psi",!0),aN(aI,aR,aU,"Ω","\\Omega",!0),aN(aI,aR,aU,"A","Α"),aN(aI,aR,aU,"B","Β"),aN(aI,aR,aU,"E","Ε"),aN(aI,aR,aU,"Z","Ζ"),aN(aI,aR,aU,"H","Η"),aN(aI,aR,aU,"I","Ι"),aN(aI,aR,aU,"K","Κ"),aN(aI,aR,aU,"M","Μ"),aN(aI,aR,aU,"N","Ν"),aN(aI,aR,aU,"O","Ο"),aN(aI,aR,aU,"P","Ρ"),aN(aI,aR,aU,"T","Τ"),aN(aI,aR,aU,"X","Χ"),aN(aI,aR,aU,"¬","\\neg",!0),aN(aI,aR,aU,"¬","\\lnot"),aN(aI,aR,aU,"⊤","\\top"),aN(aI,aR,aU,"⊥","\\bot"),aN(aI,aR,aU,"∅","\\emptyset"),aN(aI,"ams",aU,"∅","\\varnothing"),aN(aI,aR,aD,"α","\\alpha",!0),aN(aI,aR,aD,"β","\\beta",!0),aN(aI,aR,aD,"γ","\\gamma",!0),aN(aI,aR,aD,"δ","\\delta",!0),aN(aI,aR,aD,"ϵ","\\epsilon",!0),aN(aI,aR,aD,"ζ","\\zeta",!0),aN(aI,aR,aD,"η","\\eta",!0),aN(aI,aR,aD,"θ","\\theta",!0),aN(aI,aR,aD,"ι","\\iota",!0),aN(aI,aR,aD,"κ","\\kappa",!0),aN(aI,aR,aD,"λ","\\lambda",!0),aN(aI,aR,aD,"μ","\\mu",!0),aN(aI,aR,aD,"ν","\\nu",!0),aN(aI,aR,aD,"ξ","\\xi",!0),aN(aI,aR,aD,"ο","\\omicron",!0),aN(aI,aR,aD,"π","\\pi",!0),aN(aI,aR,aD,"ρ","\\rho",!0),aN(aI,aR,aD,"σ","\\sigma",!0),aN(aI,aR,aD,"τ","\\tau",!0),aN(aI,aR,aD,"υ","\\upsilon",!0),aN(aI,aR,aD,"ϕ","\\phi",!0),aN(aI,aR,aD,"χ","\\chi",!0),aN(aI,aR,aD,"ψ","\\psi",!0),aN(aI,aR,aD,"ω","\\omega",!0),aN(aI,aR,aD,"ε","\\varepsilon",!0),aN(aI,aR,aD,"ϑ","\\vartheta",!0),aN(aI,aR,aD,"ϖ","\\varpi",!0),aN(aI,aR,aD,"ϱ","\\varrho",!0),aN(aI,aR,aD,"ς","\\varsigma",!0),aN(aI,aR,aD,"φ","\\varphi",!0),aN(aI,aR,"bin","∗","*",!0),aN(aI,aR,"bin","+","+"),aN(aI,aR,"bin","−","-",!0),aN(aI,aR,"bin","⋅","\\cdot",!0),aN(aI,aR,"bin","∘","\\circ",!0),aN(aI,aR,"bin","÷","\\div",!0),aN(aI,aR,"bin","±","\\pm",!0),aN(aI,aR,"bin","×","\\times",!0),aN(aI,aR,"bin","∩","\\cap",!0),aN(aI,aR,"bin","∪","\\cup",!0),aN(aI,aR,"bin","∖","\\setminus",!0),aN(aI,aR,"bin","∧","\\land"),aN(aI,aR,"bin","∨","\\lor"),aN(aI,aR,"bin","∧","\\wedge",!0),aN(aI,aR,"bin","∨","\\vee",!0),aN(aI,aR,aU,"√","\\surd"),aN(aI,aR,aq,"⟨","\\langle",!0),aN(aI,aR,aq,"∣","\\lvert"),aN(aI,aR,aq,"∥","\\lVert"),aN(aI,aR,aB,"?","?"),aN(aI,aR,aB,"!","!"),aN(aI,aR,aB,"⟩","\\rangle",!0),aN(aI,aR,aB,"∣","\\rvert"),aN(aI,aR,aB,"∥","\\rVert"),aN(aI,aR,"rel","=","="),aN(aI,aR,"rel",":",":"),aN(aI,aR,"rel","≈","\\approx",!0),aN(aI,aR,"rel","≅","\\cong",!0),aN(aI,aR,"rel","≥","\\ge"),aN(aI,aR,"rel","≥","\\geq",!0),aN(aI,aR,"rel","←","\\gets"),aN(aI,aR,"rel",">","\\gt",!0),aN(aI,aR,"rel","∈","\\in",!0),aN(aI,aR,"rel","","\\@not"),aN(aI,aR,"rel","⊂","\\subset",!0),aN(aI,aR,"rel","⊃","\\supset",!0),aN(aI,aR,"rel","⊆","\\subseteq",!0),aN(aI,aR,"rel","⊇","\\supseteq",!0),aN(aI,"ams","rel","⊈","\\nsubseteq",!0),aN(aI,"ams","rel","⊉","\\nsupseteq",!0),aN(aI,aR,"rel","⊨","\\models"),aN(aI,aR,"rel","←","\\leftarrow",!0),aN(aI,aR,"rel","≤","\\le"),aN(aI,aR,"rel","≤","\\leq",!0),aN(aI,aR,"rel","<","\\lt",!0),aN(aI,aR,"rel","→","\\rightarrow",!0),aN(aI,aR,"rel","→","\\to"),aN(aI,"ams","rel","≱","\\ngeq",!0),aN(aI,"ams","rel","≰","\\nleq",!0),aN(aI,aR,aH," ","\\ "),aN(aI,aR,aH," ","\\space"),aN(aI,aR,aH," ","\\nobreakspace"),aN(aL,aR,aH," ","\\ "),aN(aL,aR,aH," "," "),aN(aL,aR,aH," ","\\space"),aN(aL,aR,aH," ","\\nobreakspace"),aN(aI,aR,aH,"","\\nobreak"),aN(aI,aR,aH,"","\\allowbreak"),aN(aI,aR,aj,",",","),aN(aI,aR,aj,";",";"),aN(aI,"ams","bin","⊼","\\barwedge",!0),aN(aI,"ams","bin","⊻","\\veebar",!0),aN(aI,aR,"bin","⊙","\\odot",!0),aN(aI,aR,"bin","⊕","\\oplus",!0),aN(aI,aR,"bin","⊗","\\otimes",!0),aN(aI,aR,aU,"∂","\\partial",!0),aN(aI,aR,"bin","⊘","\\oslash",!0),aN(aI,"ams","bin","⊚","\\circledcirc",!0),aN(aI,"ams","bin","⊡","\\boxdot",!0),aN(aI,aR,"bin","△","\\bigtriangleup"),aN(aI,aR,"bin","▽","\\bigtriangledown"),aN(aI,aR,"bin","†","\\dagger"),aN(aI,aR,"bin","⋄","\\diamond"),aN(aI,aR,"bin","⋆","\\star"),aN(aI,aR,"bin","◃","\\triangleleft"),aN(aI,aR,"bin","▹","\\triangleright"),aN(aI,aR,aq,"{","\\{"),aN(aL,aR,aU,"{","\\{"),aN(aL,aR,aU,"{","\\textbraceleft"),aN(aI,aR,aB,"}","\\}"),aN(aL,aR,aU,"}","\\}"),aN(aL,aR,aU,"}","\\textbraceright"),aN(aI,aR,aq,"{","\\lbrace"),aN(aI,aR,aB,"}","\\rbrace"),aN(aI,aR,aq,"[","\\lbrack",!0),aN(aL,aR,aU,"[","\\lbrack",!0),aN(aI,aR,aB,"]","\\rbrack",!0),aN(aL,aR,aU,"]","\\rbrack",!0),aN(aI,aR,aq,"(","\\lparen",!0),aN(aI,aR,aB,")","\\rparen",!0),aN(aL,aR,aU,"<","\\textless",!0),aN(aL,aR,aU,">","\\textgreater",!0),aN(aI,aR,aq,"⌊","\\lfloor",!0),aN(aI,aR,aB,"⌋","\\rfloor",!0),aN(aI,aR,aq,"⌈","\\lceil",!0),aN(aI,aR,aB,"⌉","\\rceil",!0),aN(aI,aR,aU,"\\","\\backslash"),aN(aI,aR,aU,"∣","|"),aN(aI,aR,aU,"∣","\\vert"),aN(aL,aR,aU,"|","\\textbar",!0),aN(aI,aR,aU,"∥","\\|"),aN(aI,aR,aU,"∥","\\Vert"),aN(aL,aR,aU,"∥","\\textbardbl"),aN(aL,aR,aU,"~","\\textasciitilde"),aN(aL,aR,aU,"\\","\\textbackslash"),aN(aL,aR,aU,"^","\\textasciicircum"),aN(aI,aR,"rel","↑","\\uparrow",!0),aN(aI,aR,"rel","⇑","\\Uparrow",!0),aN(aI,aR,"rel","↓","\\downarrow",!0),aN(aI,aR,"rel","⇓","\\Downarrow",!0),aN(aI,aR,"rel","↕","\\updownarrow",!0),aN(aI,aR,"rel","⇕","\\Updownarrow",!0),aN(aI,aR,aF,"∐","\\coprod"),aN(aI,aR,aF,"⋁","\\bigvee"),aN(aI,aR,aF,"⋀","\\bigwedge"),aN(aI,aR,aF,"⨄","\\biguplus"),aN(aI,aR,aF,"⋂","\\bigcap"),aN(aI,aR,aF,"⋃","\\bigcup"),aN(aI,aR,aF,"∫","\\int"),aN(aI,aR,aF,"∫","\\intop"),aN(aI,aR,aF,"∬","\\iint"),aN(aI,aR,aF,"∭","\\iiint"),aN(aI,aR,aF,"∏","\\prod"),aN(aI,aR,aF,"∑","\\sum"),aN(aI,aR,aF,"⨂","\\bigotimes"),aN(aI,aR,aF,"⨁","\\bigoplus"),aN(aI,aR,aF,"⨀","\\bigodot"),aN(aI,aR,aF,"∮","\\oint"),aN(aI,aR,aF,"∯","\\oiint"),aN(aI,aR,aF,"∰","\\oiiint"),aN(aI,aR,aF,"⨆","\\bigsqcup"),aN(aI,aR,aF,"∫","\\smallint"),aN(aL,aR,aO,"…","\\textellipsis"),aN(aI,aR,aO,"…","\\mathellipsis"),aN(aL,aR,aO,"…","\\ldots",!0),aN(aI,aR,aO,"…","\\ldots",!0),aN(aI,aR,aO,"⋯","\\@cdots",!0),aN(aI,aR,aO,"⋱","\\ddots",!0),aN(aI,aR,aU,"⋮","\\varvdots"),aN(aL,aR,aU,"⋮","\\varvdots"),aN(aI,aR,aP,"ˊ","\\acute"),aN(aI,aR,aP,"ˋ","\\grave"),aN(aI,aR,aP,"¨","\\ddot"),aN(aI,aR,aP,"~","\\tilde"),aN(aI,aR,aP,"ˉ","\\bar"),aN(aI,aR,aP,"˘","\\breve"),aN(aI,aR,aP,"ˇ","\\check"),aN(aI,aR,aP,"^","\\hat"),aN(aI,aR,aP,"⃗","\\vec"),aN(aI,aR,aP,"˙","\\dot"),aN(aI,aR,aP,"˚","\\mathring"),aN(aI,aR,aD,"","\\@imath"),aN(aI,aR,aD,"","\\@jmath"),aN(aI,aR,aU,"ı","ı"),aN(aI,aR,aU,"ȷ","ȷ"),aN(aL,aR,aU,"ı","\\i",!0),aN(aL,aR,aU,"ȷ","\\j",!0),aN(aL,aR,aU,"ß","\\ss",!0),aN(aL,aR,aU,"æ","\\ae",!0),aN(aL,aR,aU,"œ","\\oe",!0),aN(aL,aR,aU,"ø","\\o",!0),aN(aL,aR,aU,"Æ","\\AE",!0),aN(aL,aR,aU,"Œ","\\OE",!0),aN(aL,aR,aU,"Ø","\\O",!0),aN(aL,aR,aP,"ˊ","\\'"),aN(aL,aR,aP,"ˋ","\\`"),aN(aL,aR,aP,"ˆ","\\^"),aN(aL,aR,aP,"˜","\\~"),aN(aL,aR,aP,"ˉ","\\="),aN(aL,aR,aP,"˘","\\u"),aN(aL,aR,aP,"˙","\\."),aN(aL,aR,aP,"¸","\\c"),aN(aL,aR,aP,"˚","\\r"),aN(aL,aR,aP,"ˇ","\\v"),aN(aL,aR,aP,"¨",'\\"'),aN(aL,aR,aP,"˝","\\H"),aN(aL,aR,aP,"◯","\\textcircled");var aG={"--":!0,"---":!0,"``":!0,"''":!0};aN(aL,aR,aU,"–","--",!0),aN(aL,aR,aU,"–","\\textendash"),aN(aL,aR,aU,"—","---",!0),aN(aL,aR,aU,"—","\\textemdash"),aN(aL,aR,aU,"‘","`",!0),aN(aL,aR,aU,"‘","\\textquoteleft"),aN(aL,aR,aU,"’","'",!0),aN(aL,aR,aU,"’","\\textquoteright"),aN(aL,aR,aU,"“","``",!0),aN(aL,aR,aU,"“","\\textquotedblleft"),aN(aL,aR,aU,"”","''",!0),aN(aL,aR,aU,"”","\\textquotedblright"),aN(aI,aR,aU,"°","\\degree",!0),aN(aL,aR,aU,"°","\\degree"),aN(aL,aR,aU,"°","\\textdegree",!0),aN(aI,aR,aU,"£","\\pounds"),aN(aI,aR,aU,"£","\\mathsterling",!0),aN(aL,aR,aU,"£","\\pounds"),aN(aL,aR,aU,"£","\\textsterling",!0),aN(aI,"ams",aU,"✠","\\maltese"),aN(aL,"ams",aU,"✠","\\maltese");for(var aV='0123456789/@."',aW=0;aW<aV.length;aW++){var a$=aV.charAt(aW);aN(aI,aR,aU,a$,a$)}for(var aX='0123456789!@*()-=+";:?/.,',aY=0;aY<aX.length;aY++){var aK=aX.charAt(aY);aN(aL,aR,aU,aK,aK)}for(var aJ="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",aQ=0;aQ<aJ.length;aQ++){var aZ=aJ.charAt(aQ);aN(aI,aR,aD,aZ,aZ),aN(aL,aR,aU,aZ,aZ)}aN(aI,"ams",aU,"C","ℂ"),aN(aL,"ams",aU,"C","ℂ"),aN(aI,"ams",aU,"H","ℍ"),aN(aL,"ams",aU,"H","ℍ"),aN(aI,"ams",aU,"N","ℕ"),aN(aL,"ams",aU,"N","ℕ"),aN(aI,"ams",aU,"P","ℙ"),aN(aL,"ams",aU,"P","ℙ"),aN(aI,"ams",aU,"Q","ℚ"),aN(aL,"ams",aU,"Q","ℚ"),aN(aI,"ams",aU,"R","ℝ"),aN(aL,"ams",aU,"R","ℝ"),aN(aI,"ams",aU,"Z","ℤ"),aN(aL,"ams",aU,"Z","ℤ"),aN(aI,aR,aD,"h","ℎ"),aN(aL,aR,aD,"h","ℎ");for(var a0=0;a0<aJ.length;a0++){var a1=aJ.charAt(a0);aN(aI,aR,aD,a1,o=String.fromCharCode(55349,56320+a0)),aN(aL,aR,aU,a1,o),aN(aI,aR,aD,a1,o=String.fromCharCode(55349,56372+a0)),aN(aL,aR,aU,a1,o),aN(aI,aR,aD,a1,o=String.fromCharCode(55349,56424+a0)),aN(aL,aR,aU,a1,o),aN(aI,aR,aD,a1,o=String.fromCharCode(55349,56580+a0)),aN(aL,aR,aU,a1,o),aN(aI,aR,aD,a1,o=String.fromCharCode(55349,56684+a0)),aN(aL,aR,aU,a1,o),aN(aI,aR,aD,a1,o=String.fromCharCode(55349,56736+a0)),aN(aL,aR,aU,a1,o),aN(aI,aR,aD,a1,o=String.fromCharCode(55349,56788+a0)),aN(aL,aR,aU,a1,o),aN(aI,aR,aD,a1,o=String.fromCharCode(55349,56840+a0)),aN(aL,aR,aU,a1,o),aN(aI,aR,aD,a1,o=String.fromCharCode(55349,56944+a0)),aN(aL,aR,aU,a1,o),a0<26&&(aN(aI,aR,aD,a1,o=String.fromCharCode(55349,56632+a0)),aN(aL,aR,aU,a1,o),aN(aI,aR,aD,a1,o=String.fromCharCode(55349,56476+a0)),aN(aL,aR,aU,a1,o))}aN(aI,aR,aD,"k",o=String.fromCharCode(55349,56668)),aN(aL,aR,aU,"k",o);for(var a4=0;a4<10;a4++){var a5=a4.toString();aN(aI,aR,aD,a5,o=String.fromCharCode(55349,57294+a4)),aN(aL,aR,aU,a5,o),aN(aI,aR,aD,a5,o=String.fromCharCode(55349,57314+a4)),aN(aL,aR,aU,a5,o),aN(aI,aR,aD,a5,o=String.fromCharCode(55349,57324+a4)),aN(aL,aR,aU,a5,o),aN(aI,aR,aD,a5,o=String.fromCharCode(55349,57334+a4)),aN(aL,aR,aU,a5,o)}for(var a6="ÐÞþ",a3=0;a3<a6.length;a3++){var a7=a6.charAt(a3);aN(aI,aR,aD,a7,a7),aN(aL,aR,aU,a7,a7)}var a2={mathClass:"mathbf",textClass:"textbf",font:"Main-Bold"},a8={mathClass:"mathnormal",textClass:"textit",font:"Math-Italic"},a9={mathClass:"boldsymbol",textClass:"boldsymbol",font:"Main-BoldItalic"},oe={mathClass:"",textClass:"",font:""},ot={mathClass:"mathfrak",textClass:"textfrak",font:"Fraktur-Regular"},or={mathClass:"mathbb",textClass:"textbb",font:"AMS-Regular"},on={mathClass:"mathboldfrak",textClass:"textboldfrak",font:"Fraktur-Regular"},oi={mathClass:"mathsf",textClass:"textsf",font:"SansSerif-Regular"},oa={mathClass:"mathboldsf",textClass:"textboldsf",font:"SansSerif-Bold"},oo={mathClass:"mathitsf",textClass:"textitsf",font:"SansSerif-Italic"},ol={mathClass:"mathtt",textClass:"texttt",font:"Typewriter-Regular"},os=[a2,a2,a8,a8,a9,a9,{mathClass:"mathscr",textClass:"textscr",font:"Script-Regular"},oe,oe,oe,ot,ot,or,or,on,on,oi,oi,oa,oa,oo,oo,oe,oe,ol,ol],oc=[a2,oe,oi,oa,ol],ou=function(e,t,r){if(az[r][e]){var n=az[r][e].replace;n&&(e=n)}return{value:e,metrics:aM(e,t,r)}},oh=function(e,t,r,n,i){var a,o=ou(e,t,r),l=o.metrics;if(e=o.value,l){var s=l.italic;("text"===r||n&&"mathit"===n.font)&&(s=0),a=new aw(e,l.height,l.depth,s,l.skew,l.width,i)}else"undefined"!=typeof console&&console.warn("No character metrics "+("for '"+e+"' in style '"+t+"' and mode '")+r+"'"),a=new aw(e,0,0,0,0,0,i);if(n){a.maxFontSize=n.sizeMultiplier,n.style.isTight()&&a.classes.push("mtight");var c=n.getColor();c&&(a.style.color=c)}return a},op=function(e,t,r,n){return(void 0===n&&(n=[]),"boldsymbol"===r.font&&ou(e,"Main-Bold",t).metrics)?oh(e,"Main-Bold",t,r,n.concat(["mathbf"])):"\\"===e||"main"===az[t][e].font?oh(e,"Main-Regular",t,r,n):oh(e,"AMS-Regular",t,r,n.concat(["amsrm"]))},om=function(e,t,r){var n=e.mode,i=e.text,a=["mord"],{font:o,fontFamily:l,fontWeight:s,fontShape:c}=t,u="math"===n||"text"===n&&!!o,h=u?o:l,p="",m="";if(55349===i.charCodeAt(0)){var d=(e=>{var t=(e.charCodeAt(0)-55296)*1024+(e.charCodeAt(1)-56320)+65536;if(119808<=t&&t<120484)return os[Math.floor((t-119808)/26)];if(120782<=t&&t<=120831)return oc[Math.floor((t-120782)/10)];if(120485===t||120486===t)return os[0];if(120486<t&&t<120782)return oe;throw new iH("Unsupported character: "+e)})(i);p=d.font,m=d[n+"Class"]}if(p)return oh(i,p,n,t,a.concat(m));if(h){if("boldsymbol"===h){var f,g,y="textord"!==r&&ou(i,"Math-BoldItalic",n).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"};f=y.fontName,g=[y.fontClass]}else u?(f=o_[o].fontName,g=[o]):(f=oT(l,s,c),g=[l,s,c]);if(ou(i,f,n).metrics)return oh(i,f,n,t,a.concat(g));if(aG.hasOwnProperty(i)&&"Typewriter"===f.slice(0,10)){for(var v=[],b=0;b<i.length;b++)v.push(oh(i[b],f,n,t,a.concat(g)));return ow(v)}}if("mathord"===r)return oh(i,"Math-Italic",n,t,a.concat(["mathnormal"]));if("textord"===r){var x=az[n][i]&&az[n][i].font;if("ams"===x)return oh(i,oT("amsrm",s,c),n,t,a.concat("amsrm",s,c));if("main"===x||!x)return oh(i,oT("textrm",s,c),n,t,a.concat(s,c));var w=oT(x,s,c);return oh(i,w,n,t,a.concat(w,s,c))}throw Error("unexpected type: "+r+" in makeOrd")},od=(e,t)=>{if(ah(e.classes)!==ah(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize||0!==e.italic&&e.hasClass("mathnormal"))return!1;if(1===e.classes.length){var r=e.classes[0];if("mbin"===r||"mord"===r)return!1}for(var n of Object.keys(e.style))if(e.style[n]!==t.style[n])return!1;for(var i of Object.keys(t.style))if(e.style[i]!==t.style[i])return!1;return!0},of=e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof aw&&n instanceof aw&&od(r,n)&&(r.text+=n.text,r.height=Math.max(r.height,n.height),r.depth=Math.max(r.depth,n.depth),r.italic=n.italic,e.splice(t+1,1),t--)}return e},og=function(e){for(var t=0,r=0,n=0,i=0;i<e.children.length;i++){var a=e.children[i];a.height>t&&(t=a.height),a.depth>r&&(r=a.depth),a.maxFontSize>n&&(n=a.maxFontSize)}e.height=t,e.depth=r,e.maxFontSize=n},oy=function(e,t,r,n){var i=new ay(e,t,r,n);return og(i),i},ov=(e,t,r,n)=>new ay(e,t,r,n),ob=function(e,t,r){var n=oy([e],[],t);return n.height=Math.max(r||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),n.style.borderBottomWidth=au(n.height),n.maxFontSize=1,n},ox=function(e,t,r,n){var i=new av(e,t,r,n);return og(i),i},ow=function(e){var t=new aa(e);return og(t),t},ok=function(e,t){return e instanceof aa?oy([],[e],t):e},oA=function(e){if("individualShift"===e.positionType){for(var t,r=e.children,n=[r[0]],i=-r[0].shift-r[0].elem.depth,a=i,o=1;o<r.length;o++){var l=-r[o].shift-a-r[o].elem.depth,s=l-(r[o-1].elem.height+r[o-1].elem.depth);a+=l,n.push({type:"kern",size:s}),n.push(r[o])}return{children:n,depth:i}}if("top"===e.positionType){for(var c=e.positionData,u=0;u<e.children.length;u++){var h=e.children[u];c-="kern"===h.type?h.size:h.elem.height+h.elem.depth}t=c}else if("bottom"===e.positionType)t=-e.positionData;else{var p=e.children[0];if("elem"!==p.type)throw Error('First child must have type "elem".');if("shift"===e.positionType)t=-p.elem.depth-e.positionData;else if("firstBaseline"===e.positionType)t=-p.elem.depth;else throw Error("Invalid positionType "+e.positionType+".")}return{children:e.children,depth:t}},oS=function(e,t){for(var r,{children:n,depth:i}=oA(e),a=0,o=0;o<n.length;o++){var l=n[o];if("elem"===l.type){var s=l.elem;a=Math.max(a,s.maxFontSize,s.height)}}a+=2;var c=oy(["pstrut"],[]);c.style.height=au(a);for(var u=[],h=i,p=i,m=i,d=0;d<n.length;d++){var f=n[d];if("kern"===f.type)m+=f.size;else{var g=f.elem,y=oy(f.wrapperClasses||[],[c,g],void 0,f.wrapperStyle||{});y.style.top=au(-a-m-g.depth),f.marginLeft&&(y.style.marginLeft=f.marginLeft),f.marginRight&&(y.style.marginRight=f.marginRight),u.push(y),m+=g.height+g.depth}h=Math.min(h,m),p=Math.max(p,m)}var v=oy(["vlist"],u);if(v.style.height=au(p),h<0){var b=oy([],[]),x=oy(["vlist"],[b]);x.style.height=au(-h);var w=oy(["vlist-s"],[new aw("​")]);r=[oy(["vlist-r"],[v,w]),oy(["vlist-r"],[x])]}else r=[oy(["vlist-r"],[v])];var k=oy(["vlist-t"],r);return 2===r.length&&k.classes.push("vlist-t2"),k.height=p,k.depth=-h,k},oC=(e,t)=>{var r=oy(["mspace"],[],t),n=ac(e,t);return r.style.marginRight=au(n),r},oT=(e,t,r)=>{var n;switch(e){case"amsrm":n="AMS";break;case"textrm":n="Main";break;case"textsf":n="SansSerif";break;case"texttt":n="Typewriter";break;default:n=e}return n+"-"+("textbf"===t&&"textit"===r?"BoldItalic":"textbf"===t?"Bold":"textit"===r?"Italic":"Regular")},o_={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"}},oM={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},oE=function(e,t){var[r,n,i]=oM[e],a=ov(["overlay"],[new ak([new aA(r)],{width:au(n),height:au(i),style:"width:"+au(n),viewBox:"0 0 "+1e3*n+" "+1e3*i,preserveAspectRatio:"xMinYMin"})],t);return a.height=i,a.style.height=au(i),a.style.width=au(n),a},oz={number:3,unit:"mu"},oN={number:4,unit:"mu"},oI={number:5,unit:"mu"},oL={mord:{mop:oz,mbin:oN,mrel:oI,minner:oz},mop:{mord:oz,mop:oz,mrel:oI,minner:oz},mbin:{mord:oN,mop:oN,mopen:oN,minner:oN},mrel:{mord:oI,mop:oI,mopen:oI,minner:oI},mopen:{},mclose:{mop:oz,mbin:oN,mrel:oI,minner:oz},mpunct:{mord:oz,mop:oz,mrel:oI,mopen:oz,mclose:oz,mpunct:oz,minner:oz},minner:{mord:oz,mop:oz,mbin:oN,mrel:oI,mopen:oz,mpunct:oz,minner:oz}},oR={mord:{mop:oz},mop:{mord:oz,mop:oz},mbin:{},mrel:{},mopen:{},mclose:{mop:oz},mpunct:{},minner:{mop:oz}},oP={},oB={},oO={};function oD(e){for(var{type:t,names:r,props:n,handler:i,htmlBuilder:a,mathmlBuilder:o}=e,l={type:t,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:void 0===n.allowedInMath||n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:i},s=0;s<r.length;++s)oP[r[s]]=l;t&&(a&&(oB[t]=a),o&&(oO[t]=o))}function oF(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;oD({type:t,names:[],props:{numArgs:0},handler(){throw Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var oq=function(e){return"ordgroup"===e.type&&1===e.body.length?e.body[0]:e},oj=function(e){return"ordgroup"===e.type?e.body:[e]},oH=new Set(["leftmost","mbin","mopen","mrel","mop","mpunct"]),oU=new Set(["rightmost","mrel","mclose","mpunct"]),oG={display:i2.DISPLAY,text:i2.TEXT,script:i2.SCRIPT,scriptscript:i2.SCRIPTSCRIPT},oV={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},oW=function(e,t,r,n){void 0===n&&(n=[null,null]);for(var i=[],a=0;a<e.length;a++){var o=oQ(e[a],t);if(o instanceof aa){var l=o.children;i.push(...l)}else i.push(o)}if(of(i),!r)return i;var s=t;if(1===e.length){var c=e[0];"sizing"===c.type?s=t.havingSize(c.size):"styling"===c.type&&(s=t.havingStyle(oG[c.style]))}var u=oy([n[0]||"leftmost"],[],t),h=oy([n[1]||"rightmost"],[],t),p="root"===r;return o$(i,(e,t)=>{var r=t.classes[0],n=e.classes[0];"mbin"===r&&oU.has(n)?t.classes[0]="mord":"mbin"===n&&oH.has(r)&&(e.classes[0]="mord")},{node:u},h,p),o$(i,(e,t)=>{var r,n,i=oK(t),a=oK(e),o=i&&a?e.hasClass("mtight")?null==(r=oR[i])?void 0:r[a]:null==(n=oL[i])?void 0:n[a]:null;if(o)return oC(o,s)},{node:u},h,p),i},o$=function(e,t,r,n,i){n&&e.push(n);for(var a=0;a<e.length;a++){let n;var o=e[a],l=oX(o);if(l){o$(l.children,t,r,null,i);continue}var s=!o.hasClass("mspace");if(s){var c=t(o,r.node);c&&(r.insertAfter?r.insertAfter(c):(e.unshift(c),a++))}s?r.node=o:i&&o.hasClass("newline")&&(r.node=oy(["leftmost"])),n=a,r.insertAfter=t=>{e.splice(n+1,0,t),a++}}n&&e.pop()},oX=function(e){return e instanceof aa||e instanceof av||e instanceof ay&&e.hasClass("enclosing")?e:null},oY=function(e,t){var r=oX(e);if(r){var n=r.children;if(n.length){if("right"===t)return oY(n[n.length-1],"right");else if("left"===t)return oY(n[0],"left")}}return e},oK=function(e,t){return e?(t&&(e=oY(e,t)),oV[e.classes[0]]||null):null},oJ=function(e,t){var r=["nulldelimiter"].concat(e.baseSizingClasses());return oy(t.concat(r))},oQ=function(e,t,r){if(!e)return oy();if(oB[e.type]){var n=oB[e.type](e,t);if(r&&t.size!==r.size){n=oy(t.sizingClasses(r),[n],t);var i=t.sizeMultiplier/r.sizeMultiplier;n.height*=i,n.depth*=i}return n}throw new iH("Got group of unknown type: '"+e.type+"'")};function oZ(e,t){var r=oy(["base"],e,t),n=oy(["strut"]);return n.style.height=au(r.height+r.depth),r.depth&&(n.style.verticalAlign=au(-r.depth)),r.children.unshift(n),r}function o0(e,t){var r,n,i=null;1===e.length&&"tag"===e[0].type&&(i=e[0].tag,e=e[0].body);var a=oW(e,t,"root");2===a.length&&a[1].hasClass("tag")&&(r=a.pop());for(var o=[],l=[],s=0;s<a.length;s++)if(l.push(a[s]),a[s].hasClass("mbin")||a[s].hasClass("mrel")||a[s].hasClass("allowbreak")){for(var c=!1;s<a.length-1&&a[s+1].hasClass("mspace")&&!a[s+1].hasClass("newline");)s++,l.push(a[s]),a[s].hasClass("nobreak")&&(c=!0);c||(o.push(oZ(l,t)),l=[])}else a[s].hasClass("newline")&&(l.pop(),l.length>0&&(o.push(oZ(l,t)),l=[]),o.push(a[s]));l.length>0&&o.push(oZ(l,t)),i?((n=oZ(oW(i,t,!0),t)).classes=["tag"],o.push(n)):r&&o.push(r);var u=oy(["katex-html"],o);if(u.setAttribute("aria-hidden","true"),n){var h=n.children[0];h.style.height=au(u.height+u.depth),u.depth&&(h.style.verticalAlign=au(-u.depth))}return u}class o1{setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=ah(this.classes));for(var r=0;r<this.children.length;r++)if(this.children[r]instanceof o4&&this.children[r+1]instanceof o4){for(var n=this.children[r].toText()+this.children[++r].toText();this.children[r+1]instanceof o4;)n+=this.children[++r].toText();e.appendChild(new o4(n).toNode())}else e.appendChild(this.children[r].toNode());return e}toMarkup(){var e="<"+this.type;for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=" "+t+'="',e+=i$(this.attributes[t]),e+='"');this.classes.length>0&&(e+=' class ="'+i$(ah(this.classes))+'"'),e+=">";for(var r=0;r<this.children.length;r++)e+=this.children[r].toMarkup();return e+("</"+this.type+">")}toText(){return this.children.map(e=>e.toText()).join("")}constructor(e,t,r){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=t||[],this.classes=r||[]}}class o4{toNode(){return document.createTextNode(this.text)}toMarkup(){return i$(this.toText())}toText(){return this.text}constructor(e){this.text=void 0,this.text=e}}class o5{toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",au(this.width)),e}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+au(this.width)+'"/>'}toText(){return this.character?this.character:" "}constructor(e){this.width=void 0,this.character=void 0,this.width=e,e>=.05555&&e<=.05556?this.character=" ":e>=.1666&&e<=.1667?this.character=" ":e>=.2222&&e<=.2223?this.character=" ":e>=.2777&&e<=.2778?this.character="  ":e>=-.05556&&e<=-.05555?this.character=" ⁣":e>=-.1667&&e<=-.1666?this.character=" ⁣":e>=-.2223&&e<=-.2222?this.character=" ⁣":e>=-.2778&&e<=-.2777?this.character=" ⁣":this.character=null}}var o6=new Set(["\\imath","\\jmath"]),o3=new Set(["mrow","mtable"]),o7=function(e,t,r){return az[t][e]&&az[t][e].replace&&55349!==e.charCodeAt(0)&&!(aG.hasOwnProperty(e)&&r&&(r.fontFamily&&"tt"===r.fontFamily.slice(4,6)||r.font&&"tt"===r.font.slice(4,6)))&&(e=az[t][e].replace),new o4(e)},o2=function(e){return 1===e.length?e[0]:new o1("mrow",e)},o8={mathit:"italic",boldsymbol:e=>"textord"===e.type?"bold":"bold-italic",mathbf:"bold",mathbb:"double-struck",mathsfit:"sans-serif-italic",mathfrak:"fraktur",mathscr:"script",mathcal:"script",mathsf:"sans-serif",mathtt:"monospace"},o9=(e,t)=>{if("text"===e.mode){if("texttt"===t.fontFamily)return"monospace";else if("textsf"===t.fontFamily)if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"sans-serif-bold-italic";else if("textit"===t.fontShape)return"sans-serif-italic";else if("textbf"===t.fontWeight)return"bold-sans-serif";else return"sans-serif";else if("textit"===t.fontShape&&"textbf"===t.fontWeight)return"bold-italic";else if("textit"===t.fontShape)return"italic";else if("textbf"===t.fontWeight)return"bold"}var r=t.font;if(!r||"mathnormal"===r)return null;var n=e.mode,i=o8[r];if(i)return"function"==typeof i?i(e):i;var a=e.text;if(o6.has(a))return null;if(az[n][a]){var o=az[n][a].replace;o&&(a=o)}return aM(a,o_[r].fontName,n)?o_[r].variant:null};function le(e){if(!e)return!1;if("mi"===e.type&&1===e.children.length){var t=e.children[0];return t instanceof o4&&"."===t.text}if("mo"!==e.type||1!==e.children.length||"true"!==e.getAttribute("separator")||"0em"!==e.getAttribute("lspace")||"0em"!==e.getAttribute("rspace"))return!1;var r=e.children[0];return r instanceof o4&&","===r.text}var lt=function(e,t,r){if(1===e.length){var n,i=ln(e[0],t);return r&&i instanceof o1&&"mo"===i.type&&(i.setAttribute("lspace","0em"),i.setAttribute("rspace","0em")),[i]}for(var a=[],o=0;o<e.length;o++){var l=ln(e[o],t);if(l instanceof o1&&n instanceof o1){if("mtext"===l.type&&"mtext"===n.type&&l.getAttribute("mathvariant")===n.getAttribute("mathvariant")){n.children.push(...l.children);continue}else if("mn"===l.type&&"mn"===n.type){n.children.push(...l.children);continue}else if(le(l)&&"mn"===n.type){n.children.push(...l.children);continue}else if("mn"===l.type&&le(n))l.children=[...n.children,...l.children],a.pop();else if(("msup"===l.type||"msub"===l.type)&&l.children.length>=1&&("mn"===n.type||le(n))){var s=l.children[0];s instanceof o1&&"mn"===s.type&&(s.children=[...n.children,...s.children],a.pop())}else if("mi"===n.type&&1===n.children.length){var c=n.children[0];if(c instanceof o4&&"̸"===c.text&&("mo"===l.type||"mi"===l.type||"mn"===l.type)){var u=l.children[0];u instanceof o4&&u.text.length>0&&(u.text=u.text.slice(0,1)+"̸"+u.text.slice(1),a.pop())}}}a.push(l),n=l}return a},lr=function(e,t,r){return o2(lt(e,t,r))},ln=function(e,t){if(!e)return new o1("mrow");if(oO[e.type])return oO[e.type](e,t);throw new iH("Got group of unknown type: '"+e.type+"'")};function li(e,t,r,n,i){var a,o=lt(e,r);a=1===o.length&&o[0]instanceof o1&&o3.has(o[0].type)?o[0]:new o1("mrow",o);var l=new o1("annotation",[new o4(t)]);l.setAttribute("encoding","application/x-tex");var s=new o1("semantics",[a,l]),c=new o1("math",[s]);return c.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&c.setAttribute("display","block"),oy([i?"katex":"katex-mathml"],[c])}var la=[[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]],lo=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],ll=function(e,t){return t.size<2?e:la[e-1][t.size-1]};class ls{extend(e){var t={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};return Object.assign(t,e),new ls(t)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:ll(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:lo[e-1]})}havingBaseStyle(e){e=e||this.style.text();var t=ll(ls.BASESIZE,e);return this.size===t&&this.textSize===ls.BASESIZE&&this.style===e?this:this.extend({style:e,size:t})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==ls.BASESIZE?["sizing","reset-size"+this.size,"size"+ls.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=function(e){var t;if(!aE[t=e>=5?0:e>=3?1:2]){var r=aE[t]={cssEmPerMu:aT.quad[t]/18};for(var n in aT)aT.hasOwnProperty(n)&&(r[n]=aT[n][t])}return aE[t]}(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}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||ls.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=lo[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}}ls.BASESIZE=6;var lc=function(e,t){if(t.displayMode){var r=["katex-display"];t.leqno&&r.push("leqno"),t.fleqn&&r.push("fleqn"),e=oy(r,[e])}return e},lu=function(e,t,r){var n,i=new ls({style:(n=r).displayMode?i2.DISPLAY:i2.TEXT,maxSize:n.maxSize,minRuleThickness:n.minRuleThickness});return"mathml"===r.output?li(e,t,i,r.displayMode,!0):lc("html"===r.output?oy(["katex"],[o0(e,i)]):oy(["katex"],[li(e,t,i,r.displayMode,!1),o0(e,i)]),r)},lh={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",underbracket:"⎵",overbracket:"⎴",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},lp=function(e){var t=new o1("mo",[new o4(lh[e.replace(/^\\/,"")])]);return t.setAttribute("stretchy","true"),t},lm={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overbracket:[["leftbracketover","rightbracketover"],1.6,440],underbracket:[["leftbracketunder","rightbracketunder"],1.6,410],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},ld=new Set(["widehat","widecheck","widetilde","utilde"]),lf=function(e,t){var{span:r,minWidth:n,height:i}=function(){var r=4e5,n=e.label.slice(1);if(ld.has(n)&&"base"in e){var i,a,o,l="ordgroup"===e.base.type?e.base.body.length:1;if(l>5)"widehat"===n||"widecheck"===n?(i=420,r=2364,o=.42,a=n+"4"):(i=312,r=2340,o=.34,a="tilde4");else{var s=[1,1,2,2,3,3][l];"widehat"===n||"widecheck"===n?(r=[0,1062,2364,2364,2364][s],i=[0,239,300,360,420][s],o=[0,.24,.3,.3,.36,.42][s],a=n+s):(r=[0,600,1033,2339,2340][s],i=[0,260,286,306,312][s],o=[0,.26,.286,.3,.306,.34][s],a="tilde"+s)}return{span:ov([],[new ak([new aA(a)],{width:"100%",height:au(o),viewBox:"0 0 "+r+" "+i,preserveAspectRatio:"none"})],t),minWidth:0,height:o}}var c,u,h=[],p=lm[n];if(!p)throw Error('No SVG data for "'+n+'".');var[m,d,f]=p,g=f/1e3,y=m.length;if(1===y){if(4!==p.length)throw Error('Expected 4-tuple for single-path SVG data "'+n+'".');c=["hide-tail"],u=[p[3]]}else if(2===y)c=["halfarrow-left","halfarrow-right"],u=["xMinYMin","xMaxYMin"];else if(3===y)c=["brace-left","brace-center","brace-right"],u=["xMinYMin","xMidYMin","xMaxYMin"];else throw Error("Correct katexImagesData or update code here to support\n "+y+" children.");for(var v=0;v<y;v++){var b=new ak([new aA(m[v])],{width:"400em",height:au(g),viewBox:"0 0 "+r+" "+f,preserveAspectRatio:u[v]+" slice"}),x=ov([c[v]],[b],t);if(1===y)return{span:x,minWidth:d,height:g};x.style.height=au(g),h.push(x)}return{span:oy(["stretchy"],h,t),minWidth:d,height:g}}();return r.height=i,r.style.height=au(i),n>0&&(r.style.minWidth=au(n)),r},lg=function(e,t,r,n,i){var a,o=e.height+e.depth+r+n;if(/fbox|color|angl/.test(t)){if(a=oy(["stretchy",t],[],i),"fbox"===t){var l=i.color&&i.getColor();l&&(a.style.borderColor=l)}}else{var s=[];/^[bx]cancel$/.test(t)&&s.push(new aS({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(t)&&s.push(new aS({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"})),a=ov([],[new ak(s,{width:"100%",height:au(o)})],i)}return a.height=o,a.style.height=au(o),a},ly={bin:1,close:1,inner:1,open:1,punct:1,rel:1},lv={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1};function lb(e,t){if(!e||e.type!==t)throw Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function lx(e){var t=lw(e);if(!t)throw Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function lw(e){return e&&("atom"===e.type||lv.hasOwnProperty(e.type))?e:null}var lk=e=>e instanceof aw?e:(e=>e instanceof ay||e instanceof av||e instanceof aa)(e)&&1===e.children.length?lk(e.children[0]):void 0,lA=(e,t)=>{e&&"supsub"===e.type?(l=(s=lb(e.base,"accent")).base,e.base=l,c=function(e){if(e instanceof ay)return e;throw Error("Expected span<HtmlDomNode> but got "+String(e)+".")}(oQ(e,t)),e.base=s):l=(s=lb(e,"accent")).base;var r=oQ(l,t.havingCrampedStyle()),n=s.isShifty&&iK(l),i=0;n&&(i=null!=(u=null==(h=lk(r))?void 0:h.skew)?u:0);var a="\\c"===s.label,o=a?r.height+r.depth:Math.min(r.height,t.fontMetrics().xHeight);if(s.isStretchy)d=oS({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"elem",elem:d=lf(s,t),wrapperClasses:["svg-align"],wrapperStyle:i>0?{width:"calc(100% - "+au(2*i)+")",marginLeft:au(2*i)}:void 0}]});else{"\\vec"===s.label?(p=oE("vec",t),m=oM.vec[1]):((p=function(e){if(e instanceof aw)return e;throw Error("Expected symbolNode but got "+String(e)+".")}(p=om({type:"textord",mode:s.mode,text:s.label},t,"textord"))).italic=0,m=p.width,a&&(o+=p.depth));var l,s,c,u,h,p,m,d=oy(["accent-body"],[p]),f="\\textcircled"===s.label;f&&(d.classes.push("accent-full"),o=r.height);var g=i;f||(g-=m/2),d.style.left=au(g),"\\textcircled"===s.label&&(d.style.top=".2em"),d=oS({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:-o},{type:"elem",elem:d}]})}var y=oy(["mord","accent"],[d],t);return c?(c.children[0]=y,c.height=Math.max(y.height,c.height),c.classes[0]="mord",c):y},lS=(e,t)=>{var r=e.isStretchy?lp(e.label):new o1("mo",[o7(e.label,e.mode)]),n=new o1("mover",[ln(e.base,t),r]);return n.setAttribute("accent","true"),n},lC=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));oD({type:"accent",names:["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring","\\widecheck","\\widehat","\\widetilde","\\overrightarrow","\\overleftarrow","\\Overrightarrow","\\overleftrightarrow","\\overgroup","\\overlinesegment","\\overleftharpoon","\\overrightharpoon"],props:{numArgs:1},handler:(e,t)=>{var r=oq(t[0]),n=!lC.test(e.funcName),i=!n||"\\widehat"===e.funcName||"\\widetilde"===e.funcName||"\\widecheck"===e.funcName;return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:i,base:r}},htmlBuilder:lA,mathmlBuilder:lS}),oD({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(e,t)=>{var r=t[0],n=e.parser.mode;return"math"===n&&(e.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+e.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:e.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:lA,mathmlBuilder:lS}),oD({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:i}},htmlBuilder:(e,t)=>{var r=oQ(e.base,t),n=lf(e,t),i=.12*("\\utilde"===e.label);return oy(["mord","accentunder"],[oS({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:i},{type:"elem",elem:r}]})],t)},mathmlBuilder:(e,t)=>{var r=lp(e.label),n=new o1("munder",[ln(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var lT=e=>{var t=new o1("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};function l_(e,t){var r=oW(e.body,t,!0);return oy([e.mclass],r,t)}function lM(e,t){var r,n=lt(e.body,t);return"minner"===e.mclass?r=new o1("mpadded",n):"mord"===e.mclass?e.isCharacterBox?(r=n[0]).type="mi":r=new o1("mi",n):(e.isCharacterBox?(r=n[0]).type="mo":r=new o1("mo",n),"mbin"===e.mclass?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):"mpunct"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):"mopen"===e.mclass||"mclose"===e.mclass?(r.attributes.lspace="0em",r.attributes.rspace="0em"):"minner"===e.mclass&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}oD({type:"xArrow",names:["\\xleftarrow","\\xrightarrow","\\xLeftarrow","\\xRightarrow","\\xleftrightarrow","\\xLeftrightarrow","\\xhookleftarrow","\\xhookrightarrow","\\xmapsto","\\xrightharpoondown","\\xrightharpoonup","\\xleftharpoondown","\\xleftharpoonup","\\xrightleftharpoons","\\xleftrightharpoons","\\xlongequal","\\xtwoheadrightarrow","\\xtwoheadleftarrow","\\xtofrom","\\xrightleftarrows","\\xrightequilibrium","\\xleftequilibrium","\\\\cdrightarrow","\\\\cdleftarrow","\\\\cdlongequal"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n,funcName:i}=e;return{type:"xArrow",mode:n.mode,label:i,body:t[0],below:r[0]}},htmlBuilder(e,t){var r,n,i=t.style,a=t.havingStyle(i.sup()),o=ok(oQ(e.body,a,t),t),l="\\x"===e.label.slice(0,2)?"x":"cd";o.classes.push(l+"-arrow-pad"),e.below&&(a=t.havingStyle(i.sub()),(r=ok(oQ(e.below,a,t),t)).classes.push(l+"-arrow-pad"));var s=lf(e,t),c=-t.fontMetrics().axisHeight+.5*s.height,u=-t.fontMetrics().axisHeight-.5*s.height-.111;if((o.depth>.25||"\\xleftequilibrium"===e.label)&&(u-=o.depth),r){var h=-t.fontMetrics().axisHeight+r.height+.5*s.height+.111;n=oS({positionType:"individualShift",children:[{type:"elem",elem:o,shift:u},{type:"elem",elem:s,shift:c,wrapperClasses:["svg-align"]},{type:"elem",elem:r,shift:h}]})}else n=oS({positionType:"individualShift",children:[{type:"elem",elem:o,shift:u},{type:"elem",elem:s,shift:c,wrapperClasses:["svg-align"]}]});return oy(["mrel","x-arrow"],[n],t)},mathmlBuilder(e,t){var r,n=lp(e.label);if(n.setAttribute("minsize","x"===e.label.charAt(0)?"1.75em":"3.0em"),e.body){var i=lT(ln(e.body,t));r=e.below?new o1("munderover",[n,lT(ln(e.below,t)),i]):new o1("mover",[n,i])}else r=e.below?new o1("munder",[n,lT(ln(e.below,t))]):new o1("mover",[n,r=lT()]);return r}}),oD({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:oj(i),isCharacterBox:iK(i)}},htmlBuilder:l_,mathmlBuilder:lM});var lE=e=>{var t="ordgroup"===e.type&&e.body.length?e.body[0]:e;return"atom"===t.type&&("bin"===t.family||"rel"===t.family)?"m"+t.family:"mord"};oD({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:lE(t[0]),body:oj(t[1]),isCharacterBox:iK(t[1])}}}),oD({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var r,{parser:n,funcName:i}=e,a=t[1],o=t[0];r="\\stackrel"!==i?lE(a):"mrel";var l={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:"\\stackrel"!==i,body:oj(a)},s={type:"supsub",mode:o.mode,base:l,sup:"\\underset"===i?null:o,sub:"\\underset"===i?o:null};return{type:"mclass",mode:n.mode,mclass:r,body:[s],isCharacterBox:iK(s)}},htmlBuilder:l_,mathmlBuilder:lM}),oD({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:lE(t[0]),body:oj(t[0])}},htmlBuilder(e,t){var r=oW(e.body,t,!0),n=oy([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=new o1("mstyle",lt(e.body,t));return r.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),r}});var lz={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},lN=()=>({type:"styling",body:[],mode:"math",style:"display",resetFont:!0}),lI=e=>"textord"===e.type&&"@"===e.text,lL=(e,t)=>("mathord"===e.type||"atom"===e.type)&&e.text===t;oD({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:t[0]}},htmlBuilder(e,t){var r=t.havingStyle(t.style.sup()),n=ok(oQ(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=au(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new o1("mrow",[ln(e.label,t)]);return(r=new o1("mpadded",[r])).setAttribute("width","0"),"left"===e.side&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),(r=new o1("mstyle",[r])).setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),oD({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(e,t){var{parser:r}=e;return{type:"cdlabelparent",mode:r.mode,fragment:t[0]}},htmlBuilder(e,t){var r=ok(oQ(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder:(e,t)=>new o1("mrow",[ln(e.fragment,t)])}),oD({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var r,{parser:n}=e,i=lb(t[0],"ordgroup").body,a="",o=0;o<i.length;o++)a+=lb(i[o],"textord").text;var l=parseInt(a);if(isNaN(l))throw new iH("\\@char has non-numeric argument "+a);if(l<0||l>=1114111)throw new iH("\\@char with invalid code point "+a);return l<=65535?r=String.fromCharCode(l):(l-=65536,r=String.fromCharCode((l>>10)+55296,(1023&l)+56320)),{type:"textord",mode:n.mode,text:r}}});var lR=(e,t)=>ow(oW(e.body,t.withColor(e.color),!1)),lP=(e,t)=>{var r=new o1("mstyle",lt(e.body,t.withColor(e.color)));return r.setAttribute("mathcolor",e.color),r};oD({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=lb(t[0],"color-token").color,i=t[1];return{type:"color",mode:r.mode,color:n,body:oj(i)}},htmlBuilder:lR,mathmlBuilder:lP}),oD({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,i=lb(t[0],"color-token").color;r.gullet.macros.set("\\current@color",i);var a=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:i,body:a}},htmlBuilder:lR,mathmlBuilder:lP}),oD({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:n}=e,i="["===n.gullet.future().text?n.parseSizeGroup(!0):null,a=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:a,size:i&&lb(i,"size").value}},htmlBuilder(e,t){var r=oy(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=au(ac(e.size,t)))),r},mathmlBuilder(e,t){var r=new o1("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",au(ac(e.size,t)))),r}});var lB={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},lO=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new iH("Expected a control sequence",e);return t},lD=(e,t,r,n)=>{var i=e.gullet.macros.get(r.text);null==i&&(r.noexpand=!0,i={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,i,n)};oD({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(e){var{parser:t,funcName:r}=e;t.consumeSpaces();var n=t.fetch();if(lB[n.text])return("\\global"===r||"\\\\globallong"===r)&&(n.text=lB[n.text]),lb(t.parseFunction(),"internal");throw new iH("Invalid token after macro prefix",n)}}),oD({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var t,{parser:r,funcName:n}=e,i=r.gullet.popToken(),a=i.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new iH("Expected a control sequence",i);for(var o=0,l=[[]];"{"!==r.gullet.future().text;)if("#"===(i=r.gullet.popToken()).text){if("{"===r.gullet.future().text){t=r.gullet.future(),l[o].push("{");break}if(i=r.gullet.popToken(),!/^[1-9]$/.test(i.text))throw new iH('Invalid argument number "'+i.text+'"');if(parseInt(i.text)!==o+1)throw new iH('Argument number "'+i.text+'" out of order');o++,l.push([])}else if("EOF"===i.text)throw new iH("Expected a macro definition");else l[o].push(i.text);var{tokens:s}=r.gullet.consumeArg();return t&&s.unshift(t),("\\edef"===n||"\\xdef"===n)&&(s=r.gullet.expandTokens(s)).reverse(),r.gullet.macros.set(a,{tokens:s,numArgs:o,delimiters:l},n===lB[n]),{type:"internal",mode:r.mode}}}),oD({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var t,{parser:r,funcName:n}=e,i=lO(r.gullet.popToken());r.gullet.consumeSpaces();var a=("="===(t=r.gullet.popToken()).text&&" "===(t=r.gullet.popToken()).text&&(t=r.gullet.popToken()),t);return lD(r,i,a,"\\\\globallet"===n),{type:"internal",mode:r.mode}}}),oD({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=lO(t.gullet.popToken()),i=t.gullet.popToken(),a=t.gullet.popToken();return lD(t,n,a,"\\\\globalfuture"===r),t.gullet.pushToken(a),t.gullet.pushToken(i),{type:"internal",mode:t.mode}}});var lF=function(e,t,r){var n=aM(az.math[e]&&az.math[e].replace||e,t,r);if(!n)throw Error("Unsupported symbol "+e+" and font size "+t+".");return n},lq=function(e,t,r,n){var i=r.havingBaseStyle(t),a=oy(n.concat(i.sizingClasses(r)),[e],r),o=i.sizeMultiplier/r.sizeMultiplier;return a.height*=o,a.depth*=o,a.maxFontSize=i.sizeMultiplier,a},lj=function(e,t,r){var n=t.havingBaseStyle(r),i=(1-t.sizeMultiplier/n.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=au(i),e.height-=i,e.depth+=i},lH=function(e,t,r,n,i,a){var o=lq(oh(e,"Main-Regular",i,n),t,n,a);return r&&lj(o,n,t),o},lU=function(e,t,r,n,i,a){var o=oh(e,"Size"+t+"-Regular",i,n),l=lq(oy(["delimsizing","size"+t],[o],n),i2.TEXT,n,a);return r&&lj(l,n,i2.TEXT),l},lG=function(e,t,r){return{type:"elem",elem:oy(["delimsizinginner","Size1-Regular"===t?"delim-size1":"delim-size4"],[oy([],[oh(e,t,r)])])}},lV=function(e,t,r){var n=aC["Size4-Regular"][e.charCodeAt(0)]?aC["Size4-Regular"][e.charCodeAt(0)][4]:aC["Size1-Regular"][e.charCodeAt(0)][4],i=ov([],[new ak([new aA("inner",ar(e,Math.round(1e3*t)))],{width:au(n),height:au(t),style:"width:"+au(n),viewBox:"0 0 "+1e3*n+" "+Math.round(1e3*t),preserveAspectRatio:"xMinYMin"})],r);return i.height=t,i.style.height=au(t),i.style.width=au(n),{type:"elem",elem:i}},lW={type:"kern",size:-.008},l$=new Set(["|","\\lvert","\\rvert","\\vert"]),lX=new Set(["\\|","\\lVert","\\rVert","\\Vert"]),lY=function(e,t,r,n,i,a){var o,l,s,c,u="",h=0;o=s=c=e,l=null;var p="Size1-Regular";"\\uparrow"===e?s=c="⏐":"\\Uparrow"===e?s=c="‖":"\\downarrow"===e?o=s="⏐":"\\Downarrow"===e?o=s="‖":"\\updownarrow"===e?(o="\\uparrow",s="⏐",c="\\downarrow"):"\\Updownarrow"===e?(o="\\Uparrow",s="‖",c="\\Downarrow"):l$.has(e)?(s="∣",u="vert",h=333):lX.has(e)?(s="∥",u="doublevert",h=556):"["===e||"\\lbrack"===e?(o="⎡",s="⎢",c="⎣",p="Size4-Regular",u="lbrack",h=667):"]"===e||"\\rbrack"===e?(o="⎤",s="⎥",c="⎦",p="Size4-Regular",u="rbrack",h=667):"\\lfloor"===e||"⌊"===e?(s=o="⎢",c="⎣",p="Size4-Regular",u="lfloor",h=667):"\\lceil"===e||"⌈"===e?(o="⎡",s=c="⎢",p="Size4-Regular",u="lceil",h=667):"\\rfloor"===e||"⌋"===e?(s=o="⎥",c="⎦",p="Size4-Regular",u="rfloor",h=667):"\\rceil"===e||"⌉"===e?(o="⎤",s=c="⎥",p="Size4-Regular",u="rceil",h=667):"("===e||"\\lparen"===e?(o="⎛",s="⎜",c="⎝",p="Size4-Regular",u="lparen",h=875):")"===e||"\\rparen"===e?(o="⎞",s="⎟",c="⎠",p="Size4-Regular",u="rparen",h=875):"\\{"===e||"\\lbrace"===e?(o="⎧",l="⎨",c="⎩",s="⎪",p="Size4-Regular"):"\\}"===e||"\\rbrace"===e?(o="⎫",l="⎬",c="⎭",s="⎪",p="Size4-Regular"):"\\lgroup"===e||"⟮"===e?(o="⎧",c="⎩",s="⎪",p="Size4-Regular"):"\\rgroup"===e||"⟯"===e?(o="⎫",c="⎭",s="⎪",p="Size4-Regular"):"\\lmoustache"===e||"⎰"===e?(o="⎧",c="⎭",s="⎪",p="Size4-Regular"):("\\rmoustache"===e||"⎱"===e)&&(o="⎫",c="⎩",s="⎪",p="Size4-Regular");var m=lF(o,p,i),d=m.height+m.depth,f=lF(s,p,i),g=f.height+f.depth,y=lF(c,p,i),v=y.height+y.depth,b=0,x=1;if(null!==l){var w=lF(l,p,i);b=w.height+w.depth,x=2}var k=d+v+b,A=Math.max(0,Math.ceil((t-k)/(x*g))),S=k+A*x*g,C=n.fontMetrics().axisHeight;r&&(C*=n.sizeMultiplier);var T=S/2-C,_=[];if(u.length>0){var M=Math.round(1e3*S),E=ai(u,Math.round(1e3*(S-d-v))),z=new aA(u,E),N=au(h/1e3),I=au(M/1e3),L=ov([],[new ak([z],{width:N,height:I,viewBox:"0 0 "+h+" "+M})],n);L.height=M/1e3,L.style.width=N,L.style.height=I,_.push({type:"elem",elem:L})}else{if(_.push(lG(c,p,i)),_.push(lW),null===l)_.push(lV(s,S-d-v+.016,n));else{var R=(S-d-v-b)/2+.016;_.push(lV(s,R,n)),_.push(lW),_.push(lG(l,p,i)),_.push(lW),_.push(lV(s,R,n))}_.push(lW),_.push(lG(o,p,i))}var P=n.havingBaseStyle(i2.TEXT);return lq(oy(["delimsizing","mult"],[oS({positionType:"bottom",positionData:T,children:_})],P),i2.TEXT,n,a)},lK=function(e,t,r,n,i){var a=at(e,n,r);return ov(["hide-tail"],[new ak([new aA(e,a)],{width:"400em",height:au(t),viewBox:"0 0 400000 "+r,preserveAspectRatio:"xMinYMin slice"})],i)},lJ=function(e,t){var r,n,i,a,o,l=t.havingBaseSizing(),s=l2("\\surd",e*l.sizeMultiplier,l3,l),c=l.sizeMultiplier,u=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness);return"small"===s.type?(a=1e3+1e3*u+80,e<1?c=1:e<1.4&&(c=.7),n=(1+u+.08)/c,i=(1+u)/c,(r=lK("sqrtMain",n,a,u,t)).style.minWidth="0.853em",o=.833/c):"large"===s.type?(a=1080*l1[s.size],i=(l1[s.size]+u)/c,n=(l1[s.size]+u+.08)/c,(r=lK("sqrtSize"+s.size,n,a,u,t)).style.minWidth="1.02em",o=1/c):(n=e+u+.08,i=e+u,(r=lK("sqrtTall",n,a=Math.floor(1e3*e+u)+80,u,t)).style.minWidth="0.742em",o=1.056),r.height=i,r.style.height=au(n),{span:r,advanceWidth:o,ruleWidth:(t.fontMetrics().sqrtRuleThickness+u)*c}},lQ=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"]),lZ=new Set(["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"]),l0=new Set(["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"]),l1=[0,1.2,1.8,2.4,3],l4=function(e,t,r,n,i){if("<"===e||"\\lt"===e||"⟨"===e?e="\\langle":(">"===e||"\\gt"===e||"⟩"===e)&&(e="\\rangle"),lQ.has(e)||l0.has(e))return lU(e,t,!1,r,n,i);if(lZ.has(e))return lY(e,l1[t],!1,r,n,i);throw new iH("Illegal delimiter: '"+e+"'")},l5=[{type:"small",style:i2.SCRIPTSCRIPT},{type:"small",style:i2.SCRIPT},{type:"small",style:i2.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],l6=[{type:"small",style:i2.SCRIPTSCRIPT},{type:"small",style:i2.SCRIPT},{type:"small",style:i2.TEXT},{type:"stack"}],l3=[{type:"small",style:i2.SCRIPTSCRIPT},{type:"small",style:i2.SCRIPT},{type:"small",style:i2.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],l7=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 Error("Add support for delim type '"+e.type+"' here.")},l2=function(e,t,r,n){for(var i=Math.min(2,3-n.style.size),a=i;a<r.length;a++){var o=r[a];if("stack"===o.type)break;var l=lF(e,l7(o),"math"),s=l.height+l.depth;if("small"===o.type&&(s*=n.havingBaseStyle(o.style).sizeMultiplier),s>t)return o}return r[r.length-1]},l8=function(e,t,r,n,i,a){"<"===e||"\\lt"===e||"⟨"===e?e="\\langle":(">"===e||"\\gt"===e||"⟩"===e)&&(e="\\rangle");var o=l0.has(e)?l5:lQ.has(e)?l3:l6,l=l2(e,t,o,n);return"small"===l.type?lH(e,l.style,r,n,i,a):"large"===l.type?lU(e,l.size,r,n,i,a):lY(e,t,r,n,i,a)},l9=function(e,t,r,n,i,a){var o=n.fontMetrics().axisHeight*n.sizeMultiplier,l=5/n.fontMetrics().ptPerEm,s=Math.max(t-o,r+o);return l8(e,Math.max(s/500*901,2*s-l),!0,n,i,a)},se={"\\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}},st=new Set(["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","<",">","\\langle","⟨","\\rangle","⟩","\\lt","\\gt","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱","/","\\backslash","|","\\vert","\\|","\\Vert","\\uparrow","\\Uparrow","\\downarrow","\\Downarrow","\\updownarrow","\\Updownarrow","."]);function sr(e){return"isMiddle"in e}function sn(e,t){var r=lw(e);if(r&&st.has(r.text))return r;if(r)throw new iH("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e);throw new iH("Invalid delimiter type '"+e.type+"'",e)}function si(e){if(!e.body)throw Error("Bug: The leftright ParseNode wasn't fully parsed.")}oD({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var r=sn(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:se[e.funcName].size,mclass:se[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>"."===e.delim?oy([e.mclass]):l4(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];"."!==e.delim&&t.push(o7(e.delim,e.mode));var r=new o1("mo",t);"mopen"===e.mclass||"mclose"===e.mclass?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=au(l1[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}}),oD({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&"string"!=typeof r)throw new iH("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:sn(t[0],e).text,color:r}}}),oD({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=sn(t[0],e),n=e.parser;++n.leftrightDepth;var i=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var a=lb(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:i,left:r.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,t)=>{si(e);for(var r,n,i=oW(e.body,t,!0,["mopen","mclose"]),a=0,o=0,l=!1,s=0;s<i.length;s++)sr(i[s])?l=!0:(a=Math.max(i[s].height,a),o=Math.max(i[s].depth,o));if(a*=t.sizeMultiplier,o*=t.sizeMultiplier,r="."===e.left?oJ(t,["mopen"]):l9(e.left,a,o,t,e.mode,["mopen"]),i.unshift(r),l)for(var c=1;c<i.length;c++){var u=i[c];if(sr(u)){var h=u.isMiddle;i[c]=l9(h.delim,a,o,h.options,e.mode,[])}}if("."===e.right)n=oJ(t,["mclose"]);else{var p=e.rightColor?t.withColor(e.rightColor):t;n=l9(e.right,a,o,p,e.mode,["mclose"])}return i.push(n),oy(["minner"],i,t)},mathmlBuilder:(e,t)=>{si(e);var r=lt(e.body,t);if("."!==e.left){var n=new o1("mo",[o7(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if("."!==e.right){var i=new o1("mo",[o7(e.right,e.mode)]);i.setAttribute("fence","true"),e.rightColor&&i.setAttribute("mathcolor",e.rightColor),r.push(i)}return o2(r)}}),oD({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=sn(t[0],e);if(!e.parser.leftrightDepth)throw new iH("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;return"."===e.delim?r=oJ(t,[]):(r=l4(e.delim,1,t,e.mode,[])).isMiddle={delim:e.delim,options:t},r},mathmlBuilder:(e,t)=>{var r=new o1("mo",["\\vert"===e.delim||"|"===e.delim?o7("|","text"):o7(e.delim,e.mode)]);return r.setAttribute("fence","true"),r.setAttribute("lspace","0.05em"),r.setAttribute("rspace","0.05em"),r}});var sa=(e,t)=>{var r,n=ok(oQ(e.body,t),t),i=e.label.slice(1),a=t.sizeMultiplier,o=iK(e.body);if("sout"===i)(h=oy(["stretchy","sout"])).height=t.fontMetrics().defaultRuleThickness/a,p=-.5*t.fontMetrics().xHeight;else if("phase"===i){var l=ac({number:.6,unit:"pt"},t),s=ac({number:.35,unit:"ex"},t);a/=t.havingBaseSizing().sizeMultiplier;var c=n.height+n.depth+l+s;n.style.paddingLeft=au(c/2+l);var u=Math.floor(1e3*c*a);(h=ov(["hide-tail"],[new ak([new aA("phase","M400000 "+u+" H0 L"+u/2+" 0 l65 45 L145 "+(u-80)+" H400000z")],{width:"400em",height:au(u/1e3),viewBox:"0 0 400000 "+u,preserveAspectRatio:"xMinYMin slice"})],t)).style.height=au(c),p=n.depth+l+s}else{/cancel/.test(i)?o||n.classes.push("cancel-pad"):"angl"===i?n.classes.push("anglpad"):n.classes.push("boxpad");var h,p,m,d,f=0;/box/.test(i)?(f=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),d=m=t.fontMetrics().fboxsep+("colorbox"===i?0:f)):"angl"===i?(m=4*(f=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness)),d=Math.max(0,.25-n.depth)):d=m=.2*!!o,h=lg(n,i,m,d,t),/fbox|boxed|fcolorbox/.test(i)?(h.style.borderStyle="solid",h.style.borderWidth=au(f)):"angl"===i&&.049!==f&&(h.style.borderTopWidth=au(f),h.style.borderRightWidth=au(f)),p=n.depth+d,e.backgroundColor&&(h.style.backgroundColor=e.backgroundColor,e.borderColor&&(h.style.borderColor=e.borderColor))}return(r=e.backgroundColor?oS({positionType:"individualShift",children:[{type:"elem",elem:h,shift:p},{type:"elem",elem:n,shift:0}]}):oS({positionType:"individualShift",children:[{type:"elem",elem:n,shift:0},{type:"elem",elem:h,shift:p,wrapperClasses:/cancel|phase/.test(i)?["svg-align"]:[]}]}),/cancel/.test(i)&&(r.height=n.height,r.depth=n.depth),/cancel/.test(i)&&!o)?oy(["mord","cancel-lap"],[r],t):oy(["mord"],[r],t)},so=(e,t)=>{var r,n=new o1(e.label.includes("colorbox")?"mpadded":"menclose",[ln(e.body,t)]);switch(e.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),"\\fcolorbox"===e.label){var i=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+au(i)+" solid "+e.borderColor)}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike")}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};oD({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","hbox"]},handler(e,t,r){var{parser:n,funcName:i}=e,a=lb(t[0],"color-token").color,o=t[1];return{type:"enclose",mode:n.mode,label:i,backgroundColor:a,body:o}},htmlBuilder:sa,mathmlBuilder:so}),oD({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","hbox"]},handler(e,t,r){var{parser:n,funcName:i}=e,a=lb(t[0],"color-token").color,o=lb(t[1],"color-token").color,l=t[2];return{type:"enclose",mode:n.mode,label:i,backgroundColor:o,borderColor:a,body:l}},htmlBuilder:sa,mathmlBuilder:so}),oD({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\fbox",body:t[0]}}}),oD({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"enclose",mode:r.mode,label:n,body:i}},htmlBuilder:sa,mathmlBuilder:so}),oD({type:"enclose",names:["\\sout"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e;"math"===r.mode&&r.settings.reportNonstrict("mathVsSout","LaTeX's \\sout works only in text mode");var i=t[0];return{type:"enclose",mode:r.mode,label:n,body:i}},htmlBuilder:sa,mathmlBuilder:so}),oD({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"enclose",mode:r.mode,label:"\\angl",body:t[0]}}});var sl={};function ss(e){for(var{type:t,names:r,props:n,handler:i,htmlBuilder:a,mathmlBuilder:o}=e,l={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},s=0;s<r.length;++s)sl[r[s]]=l;a&&(oB[t]=a),o&&(oO[t]=o)}var sc={};class su{static range(e,t){return t?e&&e.loc&&t.loc&&e.loc.lexer===t.loc.lexer?new su(e.loc.lexer,e.loc.start,t.loc.end):null:e&&e.loc}constructor(e,t,r){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=t,this.end=r}}class sh{range(e,t){return new sh(t,su.range(this,e))}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}}function sp(e){var t=[];e.consumeSpaces();var r=e.fetch().text;for("\\relax"===r&&(e.consume(),e.consumeSpaces(),r=e.fetch().text);"\\hline"===r||"\\hdashline"===r;)e.consume(),t.push("\\hdashline"===r),e.consumeSpaces(),r=e.fetch().text;return t}var sm=e=>{if(!e.parser.settings.displayMode)throw new iH("{"+e.envName+"} can be used only in display mode.")},sd=new Set(["gather","gather*"]);function sf(e){if(!e.includes("ed"))return!e.includes("*")}function sg(e,t,r){var{hskipBeforeAndAfter:n,addJot:i,cols:a,arraystretch:o,colSeparationType:l,autoTag:s,singleRow:c,emptySingleRow:u,maxNumCols:h,leqno:p}=t;if(e.gullet.beginGroup(),c||e.gullet.macros.set("\\cr","\\\\\\relax"),!o){var m=e.gullet.expandMacroAsText("\\arraystretch");if(null==m)o=1;else if(!(o=parseFloat(m))||o<0)throw new iH("Invalid \\arraystretch: "+m)}e.gullet.beginGroup();var d=[],f=[d],g=[],y=[],v=null!=s?[]:void 0;function b(){s&&e.gullet.macros.set("\\@eqnsw","1",!0)}function x(){v&&(e.gullet.macros.get("\\df@tag")?(v.push(e.subparse([new sh("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):v.push(!!s&&"1"===e.gullet.macros.get("\\@eqnsw")))}for(b(),y.push(sp(e));;){var w=e.parseExpression(!1,c?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup();var k={type:"ordgroup",mode:e.mode,body:w};r&&(k={type:"styling",mode:e.mode,style:r,resetFont:!0,body:[k]}),d.push(k);var A=e.fetch().text;if("&"===A){if(h&&d.length===h)if(c||l)throw new iH("Too many tab characters: &",e.nextToken);else e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.");e.consume()}else if("\\end"===A){x(),1===d.length&&"styling"===k.type&&1===k.body.length&&"ordgroup"===k.body[0].type&&0===k.body[0].body.length&&(f.length>1||!u)&&f.pop(),y.length<f.length+1&&y.push([]);break}else if("\\\\"===A){e.consume();var S=void 0;" "!==e.gullet.future().text&&(S=e.parseSizeGroup(!0)),g.push(S?S.value:null),x(),y.push(sp(e)),d=[],f.push(d),b()}else throw new iH("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:i,arraystretch:o,body:f,cols:a,rowGaps:g,hskipBeforeAndAfter:n,hLinesBeforeRow:y,colSeparationType:l,tags:v,leqno:p}}function sy(e){return"d"===e.slice(0,1)?"display":"text"}var sv=function(e,t){var r=e.body.length,n=e.hLinesBeforeRow,i=0,a=Array(r),o=[],l=Math.max(t.fontMetrics().arrayRuleWidth,t.minRuleThickness),s=1/t.fontMetrics().ptPerEm,c=5*s;e.colSeparationType&&"small"===e.colSeparationType&&(c=.2778*(t.havingStyle(i2.SCRIPT).sizeMultiplier/t.sizeMultiplier));var u="CD"===e.colSeparationType?ac({number:3,unit:"ex"},t):12*s,h=3*s,p=e.arraystretch*u,m=.7*p,d=.3*p,f=0;function g(e){for(var t=0;t<e.length;++t)t>0&&(f+=.25),o.push({pos:f,isDashed:e[t]})}for(g(n[0]),I=0;I<e.body.length;++I){var y=e.body[I],v=m,b=d;i<y.length&&(i=y.length);var x={cells:Array(y.length),height:0,depth:0,pos:0};for(L=0;L<y.length;++L){var w=oQ(y[L],t);b<w.depth&&(b=w.depth),v<w.height&&(v=w.height),x.cells[L]=w}var k=e.rowGaps[I],A=0;k&&(A=ac(k,t))>0&&(b<(A+=d)&&(b=A),A=0),e.addJot&&I<e.body.length-1&&(b+=h),x.height=v,x.depth=b,x.pos=f+=v,f+=b+A,a[I]=x,g(n[I+1])}var S=f/2+t.fontMetrics().axisHeight,C=e.cols||[],T=[],_=[];if(e.tags&&e.tags.some(e=>e))for(I=0;I<r;++I){var M=a[I],E=M.pos-S,z=e.tags[I],N=void 0;(N=!0===z?oy(["eqn-num"],[],t):!1===z?oy([],[],t):oy([],oW(z,t,!0),t)).depth=M.depth,N.height=M.height,_.push({type:"elem",elem:N,shift:E})}for(L=0,P=0;L<i||P<C.length;++L,++P){for(var I,L,R,P,B,O,D,F,q,j,H=C[P],U=!0;(null==(O=H)?void 0:O.type)==="separator";){if(U||((R=oy(["arraycolsep"],[])).style.width=au(t.fontMetrics().doubleRuleSep),T.push(R)),"|"===H.separator||":"===H.separator){var G="|"===H.separator?"solid":"dashed",V=oy(["vertical-separator"],[],t);V.style.height=au(f),V.style.borderRightWidth=au(l),V.style.borderRightStyle=G,V.style.margin="0 "+au(-l/2);var W=f-S;W&&(V.style.verticalAlign=au(-W)),T.push(V)}else throw new iH("Invalid separator type: "+H.separator);H=C[++P],U=!1}if(!(L>=i)){var $=void 0;(L>0||e.hskipBeforeAndAfter)&&0!==($=null!=(D=null==(F=H)?void 0:F.pregap)?D:c)&&((R=oy(["arraycolsep"],[])).style.width=au($),T.push(R));var X=[];for(I=0;I<r;++I){var Y=a[I],K=Y.cells[L];if(K){var J=Y.pos-S;K.depth=Y.depth,K.height=Y.height,X.push({type:"elem",elem:K,shift:J})}}var Q=oS({positionType:"individualShift",children:X}),Z=oy(["col-align-"+((null==(B=H)?void 0:B.align)||"c")],[Q]);T.push(Z),(L<i-1||e.hskipBeforeAndAfter)&&0!==($=null!=(q=null==(j=H)?void 0:j.postgap)?q:c)&&((R=oy(["arraycolsep"],[])).style.width=au($),T.push(R))}}var ee=oy(["mtable"],T);if(o.length>0){for(var et=ob("hline",t,l),er=ob("hdashline",t,l),en=[{type:"elem",elem:ee,shift:0}];o.length>0;){var ei=o.pop(),ea=ei.pos-S;ei.isDashed?en.push({type:"elem",elem:er,shift:ea}):en.push({type:"elem",elem:et,shift:ea})}ee=oS({positionType:"individualShift",children:en})}return 0===_.length?oy(["mord"],[ee],t):ow([ee,oy(["tag"],[oS({positionType:"individualShift",children:_})],t)])},sb={c:"center ",l:"left ",r:"right "},sx=function(e,t){for(var r=[],n=new o1("mtd",[],["mtr-glue"]),i=new o1("mtd",[],["mml-eqn-num"]),a=0;a<e.body.length;a++){for(var o=e.body[a],l=[],s=0;s<o.length;s++)l.push(new o1("mtd",[ln(o[s],t)]));e.tags&&e.tags[a]&&(l.unshift(n),l.push(n),e.leqno?l.unshift(i):l.push(i)),r.push(new o1("mtr",l))}var c=new o1("mtable",r),u=.5===e.arraystretch?.1:.16+e.arraystretch-1+.09*!!e.addJot;c.setAttribute("rowspacing",au(u));var h="",p="";if(e.cols&&e.cols.length>0){var m=e.cols,d="",f=!1,g=0,y=m.length;"separator"===m[0].type&&(h+="top ",g=1),"separator"===m[m.length-1].type&&(h+="bottom ",y-=1);for(var v=g;v<y;v++){var b=m[v];"align"===b.type?(p+=sb[b.align],f&&(d+="none "),f=!0):"separator"===b.type&&f&&(d+="|"===b.separator?"solid ":"dashed ",f=!1)}c.setAttribute("columnalign",p.trim()),/[sd]/.test(d)&&c.setAttribute("columnlines",d.trim())}if("align"===e.colSeparationType){for(var x=e.cols||[],w="",k=1;k<x.length;k++)w+=k%2?"0em ":"1em ";c.setAttribute("columnspacing",w.trim())}else"alignat"===e.colSeparationType||"gather"===e.colSeparationType?c.setAttribute("columnspacing","0em"):"small"===e.colSeparationType?c.setAttribute("columnspacing","0.2778em"):"CD"===e.colSeparationType?c.setAttribute("columnspacing","0.5em"):c.setAttribute("columnspacing","1em");var A="",S=e.hLinesBeforeRow;h+=(S[0].length>0?"left ":"")+(S[S.length-1].length>0?"right ":"");for(var C=1;C<S.length-1;C++)A+=0===S[C].length?"none ":S[C][0]?"dashed ":"solid ";return/[sd]/.test(A)&&c.setAttribute("rowlines",A.trim()),""!==h&&(c=new o1("menclose",[c])).setAttribute("notation",h.trim()),e.arraystretch&&e.arraystretch<1&&(c=new o1("mstyle",[c])).setAttribute("scriptlevel","1"),c},sw=function(e,t){e.envName.includes("ed")||sm(e);var r=[],n=e.envName.includes("at")?"alignat":"align",i="split"===e.envName,a=sg(e.parser,{cols:r,addJot:!0,autoTag:i?void 0:sf(e.envName),emptySingleRow:!0,colSeparationType:n,maxNumCols:i?2:void 0,leqno:e.parser.settings.leqno},"display"),o=0,l=0,s={type:"ordgroup",mode:e.mode,body:[]};if(t[0]&&"ordgroup"===t[0].type){for(var c="",u=0;u<t[0].body.length;u++)c+=lb(t[0].body[u],"textord").text;l=2*(o=Number(c))}var h=!l;a.body.forEach(function(e){for(var t=1;t<e.length;t+=2){var r=lb(e[t],"styling");lb(r.body[0],"ordgroup").body.unshift(s)}if(h)l<e.length&&(l=e.length);else{var n=e.length/2;if(o<n)throw new iH("Too many math in a row: expected "+o+", but got "+n,e[0])}});for(var p=0;p<l;++p){var m="r",d=0;p%2==1?m="l":p>0&&h&&(d=1),r[p]={type:"align",align:m,pregap:d,postgap:0}}return a.colSeparationType=h?"align":"alignat",a};ss({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=(lw(t[0])?[t[0]]:lb(t[0],"ordgroup").body).map(function(e){var t=lx(e).text;if("lcr".includes(t))return{type:"align",align:t};if("|"===t)return{type:"separator",separator:"|"};if(":"===t)return{type:"separator",separator:":"};throw new iH("Unknown column alignment: "+t,e)}),n={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return sg(e.parser,n,sy(e.envName))},htmlBuilder:sv,mathmlBuilder:sx}),ss({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(e){var t={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[e.envName.replace("*","")],r="c",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if("*"===e.envName.charAt(e.envName.length-1)){var i=e.parser;if(i.consumeSpaces(),"["===i.fetch().text){if(i.consume(),i.consumeSpaces(),r=i.fetch().text,!"lcr".includes(r))throw new iH("Expected l or c or r",i.nextToken);i.consume(),i.consumeSpaces(),i.expect("]"),i.consume(),n.cols=[{type:"align",align:r}]}}var a=sg(e.parser,n,sy(e.envName)),o=Math.max(0,...a.body.map(e=>e.length));return a.cols=Array(o).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[a],left:t[0],right:t[1],rightColor:void 0}:a},htmlBuilder:sv,mathmlBuilder:sx}),ss({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t=sg(e.parser,{arraystretch:.5},"script");return t.colSeparationType="small",t},htmlBuilder:sv,mathmlBuilder:sx}),ss({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=(lw(t[0])?[t[0]]:lb(t[0],"ordgroup").body).map(function(e){var t=lx(e).text;if("lc".includes(t))return{type:"align",align:t};throw new iH("Unknown column alignment: "+t,e)});if(r.length>1)throw new iH("{subarray} can contain only one column");var n=sg(e.parser,{cols:r,hskipBeforeAndAfter:!1,arraystretch:.5},"script");if(n.body.length>0&&n.body[0].length>1)throw new iH("{subarray} can contain only one column");return n},htmlBuilder:sv,mathmlBuilder:sx}),ss({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t=sg(e.parser,{arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},sy(e.envName));return{type:"leftright",mode:e.mode,body:[t],left:e.envName.includes("r")?".":"\\{",right:e.envName.includes("r")?"\\}":".",rightColor:void 0}},htmlBuilder:sv,mathmlBuilder:sx}),ss({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:sw,htmlBuilder:sv,mathmlBuilder:sx}),ss({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){sd.has(e.envName)&&sm(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:sf(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return sg(e.parser,t,"display")},htmlBuilder:sv,mathmlBuilder:sx}),ss({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:sw,htmlBuilder:sv,mathmlBuilder:sx}),ss({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){sm(e);var t={autoTag:sf(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return sg(e.parser,t,"display")},htmlBuilder:sv,mathmlBuilder:sx}),ss({type:"array",names:["CD"],props:{numArgs:0},handler:e=>(sm(e),function(e){var t=[];for(e.gullet.beginGroup(),e.gullet.macros.set("\\cr","\\\\\\relax"),e.gullet.beginGroup();;){t.push(e.parseExpression(!1,"\\\\")),e.gullet.endGroup(),e.gullet.beginGroup();var r=e.fetch().text;if("&"===r||"\\\\"===r)e.consume();else if("\\end"===r){0===t[t.length-1].length&&t.pop();break}else throw new iH("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var n=[],i=[n],a=0;a<t.length;a++){for(var o=t[a],l=lN(),s=0;s<o.length;s++)if(lI(o[s])){n.push(l);var c=lx(o[s+=1]).text,u=[,,];if(u[0]={type:"ordgroup",mode:"math",body:[]},u[1]={type:"ordgroup",mode:"math",body:[]},"=|.".includes(c));else if("<>AV".includes(c))for(var h=0;h<2;h++){for(var p=!0,m=s+1;m<o.length;m++){if(lL(o[m],c)){p=!1,s=m;break}if(lI(o[m]))throw new iH("Missing a "+c+" character to complete a CD arrow.",o[m]);u[h].body.push(o[m])}if(p)throw new iH("Missing a "+c+" character to complete a CD arrow.",o[s])}else throw new iH('Expected one of "<>AV=|." after @',o[s]);var d={type:"styling",body:[function(e,t,r){var n=lz[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":var i=r.callFunction("\\\\cdleft",[t[0]],[]),a=r.callFunction("\\Big",[{type:"atom",text:n,mode:"math",family:"rel"}],[]),o=r.callFunction("\\\\cdright",[t[1]],[]);return r.callFunction("\\\\cdparent",[{type:"ordgroup",mode:"math",body:[i,a,o]}],[]);case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":return r.callFunction("\\Big",[{type:"textord",text:"\\Vert",mode:"math"}],[]);default:return{type:"textord",text:" ",mode:"math"}}}(c,u,e)],mode:"math",style:"display",resetFont:!0};n.push(d),l=lN()}else l.body.push(o[s]);a%2==0?n.push(l):n.shift(),n=[],i.push(n)}e.gullet.endGroup(),e.gullet.endGroup();var f=Array(i[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:i,arraystretch:1,addJot:!0,rowGaps:[null],cols:f,colSeparationType:"CD",hLinesBeforeRow:Array(i.length+1).fill([])}}(e.parser)),htmlBuilder:sv,mathmlBuilder:sx}),sc["\\nonumber"]="\\gdef\\@eqnsw{0}",sc["\\notag"]="\\nonumber",oD({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new iH(e.funcName+" valid only within array environment")}}),oD({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];if("ordgroup"!==i.type)throw new iH("Invalid environment name",i);for(var a="",o=0;o<i.body.length;++o)a+=lb(i.body[o],"textord").text;if("\\begin"===n){if(!sl.hasOwnProperty(a))throw new iH("No such environment: "+a,i);var l=sl[a],{args:s,optArgs:c}=r.parseArguments("\\begin{"+a+"}",l),u={mode:r.mode,envName:a,parser:r},h=l.handler(u,s,c);r.expect("\\end",!1);var p=r.nextToken,m=lb(r.parseFunction(),"environment");if(m.name!==a)throw new iH("Mismatch: \\begin{"+a+"} matched by \\end{"+m.name+"}",p);return h}return{type:"environment",mode:r.mode,name:a,nameGroup:i}}});var sk=(e,t)=>{var r=e.font,n=t.withFont(r);return oQ(e.body,n)},sA=(e,t)=>{var r=e.font,n=t.withFont(r);return ln(e.body,n)},sS={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak"};oD({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=oq(t[0]),a=n;return a in sS&&(a=sS[a]),{type:"font",mode:r.mode,font:a.slice(1),body:i}},htmlBuilder:sk,mathmlBuilder:sA}),oD({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"mclass",mode:r.mode,mclass:lE(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:iK(n)}}}),oD({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,breakOnTokenText:i}=e,{mode:a}=r,o=r.parseExpression(!0,i);return{type:"font",mode:a,font:"math"+n.slice(1),body:{type:"ordgroup",mode:r.mode,body:o}}},htmlBuilder:sk,mathmlBuilder:sA});var sC=(e,t)=>t?{type:"styling",mode:e.mode,style:t,body:[e]}:e;oD({type:"genfrac",names:["\\cfrac","\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var r,{parser:n,funcName:i}=e,a=t[0],o=t[1],l=null,s=null;switch(i){case"\\cfrac":case"\\dfrac":case"\\frac":case"\\tfrac":r=!0;break;case"\\\\atopfrac":r=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":r=!1,l="(",s=")";break;case"\\\\bracefrac":r=!1,l="\\{",s="\\}";break;case"\\\\brackfrac":r=!1,l="[",s="]";break;default:throw Error("Unrecognized genfrac command")}var c="\\cfrac"===i,u=null;return c||i.startsWith("\\d")?u="display":i.startsWith("\\t")&&(u="text"),sC({type:"genfrac",mode:n.mode,numer:a,denom:o,continued:c,hasBarLine:r,leftDelim:l,rightDelim:s,barSize:null},u)},htmlBuilder:(e,t)=>{var r,n,i,a,o,l,s,c,u,h,p,m=t.style,d=m.fracNum(),f=m.fracDen();r=t.havingStyle(d);var g=oQ(e.numer,r,t);if(e.continued){var y=8.5/t.fontMetrics().ptPerEm,v=3.5/t.fontMetrics().ptPerEm;g.height=g.height<y?y:g.height,g.depth=g.depth<v?v:g.depth}r=t.havingStyle(f);var b=oQ(e.denom,r,t);if(e.hasBarLine?(e.barSize?(i=ac(e.barSize,t),n=ob("frac-line",t,i)):n=ob("frac-line",t),i=n.height,a=n.height):(n=null,i=0,a=t.fontMetrics().defaultRuleThickness),m.size===i2.DISPLAY.size?(o=t.fontMetrics().num1,l=i>0?3*a:7*a,s=t.fontMetrics().denom1):(i>0?(o=t.fontMetrics().num2,l=a):(o=t.fontMetrics().num3,l=3*a),s=t.fontMetrics().denom2),n){var x=t.fontMetrics().axisHeight;o-g.depth-(x+.5*i)<l&&(o+=l-(o-g.depth-(x+.5*i))),x-.5*i-(b.height-s)<l&&(s+=l-(x-.5*i-(b.height-s))),c=oS({positionType:"individualShift",children:[{type:"elem",elem:b,shift:s},{type:"elem",elem:n,shift:-(x-.5*i)},{type:"elem",elem:g,shift:-o}]})}else{var w=o-g.depth-(b.height-s);w<l&&(o+=.5*(l-w),s+=.5*(l-w)),c=oS({positionType:"individualShift",children:[{type:"elem",elem:b,shift:s},{type:"elem",elem:g,shift:-o}]})}return r=t.havingStyle(m),c.height*=r.sizeMultiplier/t.sizeMultiplier,c.depth*=r.sizeMultiplier/t.sizeMultiplier,u=m.size===i2.DISPLAY.size?t.fontMetrics().delim1:m.size===i2.SCRIPTSCRIPT.size?t.havingStyle(i2.SCRIPT).fontMetrics().delim2:t.fontMetrics().delim2,h=null==e.leftDelim?oJ(t,["mopen"]):l8(e.leftDelim,u,!0,t.havingStyle(m),e.mode,["mopen"]),p=e.continued?oy([]):null==e.rightDelim?oJ(t,["mclose"]):l8(e.rightDelim,u,!0,t.havingStyle(m),e.mode,["mclose"]),oy(["mord"].concat(r.sizingClasses(t)),[h,oy(["mfrac"],[c]),p],t)},mathmlBuilder:(e,t)=>{var r=new o1("mfrac",[ln(e.numer,t),ln(e.denom,t)]);if(e.hasBarLine){if(e.barSize){var n=ac(e.barSize,t);r.setAttribute("linethickness",au(n))}}else r.setAttribute("linethickness","0px");if(null!=e.leftDelim||null!=e.rightDelim){var i=[];if(null!=e.leftDelim){var a=new o1("mo",[new o4(e.leftDelim.replace("\\",""))]);a.setAttribute("fence","true"),i.push(a)}if(i.push(r),null!=e.rightDelim){var o=new o1("mo",[new o4(e.rightDelim.replace("\\",""))]);o.setAttribute("fence","true"),i.push(o)}return o2(i)}return r}}),oD({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var t,{parser:r,funcName:n,token:i}=e;switch(n){case"\\over":t="\\frac";break;case"\\choose":t="\\binom";break;case"\\atop":t="\\\\atopfrac";break;case"\\brace":t="\\\\bracefrac";break;case"\\brack":t="\\\\brackfrac";break;default:throw Error("Unrecognized infix genfrac command")}return{type:"infix",mode:r.mode,replaceWith:t,token:i}}});var sT=["display","text","script","scriptscript"],s_=function(e){var t=null;return e.length>0&&(t="."===(t=e)?null:t),t};oD({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var r,{parser:n}=e,i=t[4],a=t[5],o=oq(t[0]),l="atom"===o.type&&"open"===o.family?s_(o.text):null,s=oq(t[1]),c="atom"===s.type&&"close"===s.family?s_(s.text):null,u=lb(t[2],"size"),h=null;r=!!u.isBlank||(h=u.value).number>0;var p=null,m=t[3];return"ordgroup"===m.type?m.body.length>0&&(p=sT[Number(lb(m.body[0],"textord").text)]):p=sT[Number((m=lb(m,"textord")).text)],sC({type:"genfrac",mode:n.mode,numer:i,denom:a,continued:!1,hasBarLine:r,barSize:h,leftDelim:l,rightDelim:c},p)}}),oD({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:n,token:i}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:lb(t[0],"size").value,token:i}}}),oD({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0],a=lb(t[1],"infix").size;if(!a)throw Error("\\\\abovefrac expected size, but got "+String(a));var o=t[2],l=a.number>0;return{type:"genfrac",mode:r.mode,numer:i,denom:o,continued:!1,hasBarLine:l,barSize:a,leftDelim:null,rightDelim:null}}});var sM=(e,t)=>{var r,n,i,a=t.style;"supsub"===e.type?(r=e.sup?oQ(e.sup,t.havingStyle(a.sup()),t):oQ(e.sub,t.havingStyle(a.sub()),t),n=lb(e.base,"horizBrace")):n=lb(e,"horizBrace");var o=oQ(n.base,t.havingBaseStyle(i2.DISPLAY)),l=lf(n,t);if(i=n.isOver?oS({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:.1},{type:"elem",elem:l,wrapperClasses:["svg-align"]}]}):oS({positionType:"bottom",positionData:o.depth+.1+l.height,children:[{type:"elem",elem:l,wrapperClasses:["svg-align"]},{type:"kern",size:.1},{type:"elem",elem:o}]}),r){var s=oy(["minner",n.isOver?"mover":"munder"],[i],t);i=n.isOver?oS({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.2},{type:"elem",elem:r}]}):oS({positionType:"bottom",positionData:s.depth+.2+r.height+r.depth,children:[{type:"elem",elem:r},{type:"kern",size:.2},{type:"elem",elem:s}]})}return oy(["minner",n.isOver?"mover":"munder"],[i],t)};oD({type:"horizBrace",names:["\\overbrace","\\underbrace","\\overbracket","\\underbracket"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"horizBrace",mode:r.mode,label:n,isOver:n.includes("\\over"),base:t[0]}},htmlBuilder:sM,mathmlBuilder:(e,t)=>{var r=lp(e.label);return new o1(e.isOver?"mover":"munder",[ln(e.base,t),r])}}),oD({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],i=lb(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:i})?{type:"href",mode:r.mode,href:i,body:oj(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=oW(e.body,t,!1);return ox(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=lr(e.body,t);return r instanceof o1||(r=new o1("mrow",[r])),r.setAttribute("href",e.href),r}}),oD({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=lb(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var i=[],a=0;a<n.length;a++){var o=n[a];"~"===o&&(o="\\textasciitilde"),i.push({type:"textord",mode:"text",text:o})}var l={type:"text",mode:r.mode,font:"\\texttt",body:i};return{type:"href",mode:r.mode,href:n,body:oj(l)}}}),oD({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(e,t){var{parser:r}=e;return{type:"hbox",mode:r.mode,body:oj(t[0])}},htmlBuilder:(e,t)=>ow(oW(e.body,t.withFont(""),!1)),mathmlBuilder:(e,t)=>new o1("mrow",lt(e.body,t.withFont("")))}),oD({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var r,{parser:n,funcName:i,token:a}=e,o=lb(t[0],"raw").string,l=t[1];n.settings.strict&&n.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var s={};switch(i){case"\\htmlClass":s.class=o,r={command:"\\htmlClass",class:o};break;case"\\htmlId":s.id=o,r={command:"\\htmlId",id:o};break;case"\\htmlStyle":s.style=o,r={command:"\\htmlStyle",style:o};break;case"\\htmlData":for(var c=o.split(","),u=0;u<c.length;u++){var h=c[u],p=h.indexOf("=");if(p<0)throw new iH("\\htmlData key/value '"+h+"' missing equals sign");var m=h.slice(0,p),d=h.slice(p+1);s["data-"+m.trim()]=d}r={command:"\\htmlData",attributes:s};break;default:throw Error("Unrecognized html command")}return n.settings.isTrusted(r)?{type:"html",mode:n.mode,attributes:s,body:oj(l)}:n.formatUnsupportedCmd(i)},htmlBuilder:(e,t)=>{var r=oW(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var i=oy(n,r,t);for(var a in e.attributes)"class"!==a&&e.attributes.hasOwnProperty(a)&&i.setAttribute(a,e.attributes[a]);return i},mathmlBuilder:(e,t)=>lr(e.body,t)}),oD({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInArgument:!0,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:oj(t[0]),mathml:oj(t[1])}},htmlBuilder:(e,t)=>ow(oW(e.html,t,!1)),mathmlBuilder:(e,t)=>lr(e.mathml,t)});var sE=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var t=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!t)throw new iH("Invalid size: '"+e+"' in \\includegraphics");var r={number:+(t[1]+t[2]),unit:t[3]};if(!as(r))throw new iH("Invalid unit: '"+r.unit+"' in \\includegraphics.");return r};oD({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:n}=e,i={number:0,unit:"em"},a={number:.9,unit:"em"},o={number:0,unit:"em"},l="";if(r[0])for(var s=lb(r[0],"raw").string.split(","),c=0;c<s.length;c++){var u=s[c].split("=");if(2===u.length){var h=u[1].trim();switch(u[0].trim()){case"alt":l=h;break;case"width":i=sE(h);break;case"height":a=sE(h);break;case"totalheight":o=sE(h);break;default:throw new iH("Invalid key: '"+u[0]+"' in \\includegraphics.")}}}var p=lb(t[0],"url").url;return(""===l&&(l=(l=(l=p).replace(/^.*[\\/]/,"")).substring(0,l.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:p}))?{type:"includegraphics",mode:n.mode,alt:l,width:i,height:a,totalheight:o,src:p}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=ac(e.height,t),n=0;e.totalheight.number>0&&(n=ac(e.totalheight,t)-r);var i=0;e.width.number>0&&(i=ac(e.width,t));var a={height:au(r+n)};i>0&&(a.width=au(i)),n>0&&(a.verticalAlign=au(-n));var o=new ab(e.src,e.alt,a);return o.height=r,o.depth=n,o},mathmlBuilder:(e,t)=>{var r=new o1("mglyph",[]);r.setAttribute("alt",e.alt);var n=ac(e.height,t),i=0;if(e.totalheight.number>0&&(i=ac(e.totalheight,t)-n,r.setAttribute("valign",au(-i))),r.setAttribute("height",au(n+i)),e.width.number>0){var a=ac(e.width,t);r.setAttribute("width",au(a))}return r.setAttribute("src",e.src),r}}),oD({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,i=lb(t[0],"size");if(r.settings.strict){var a="m"===n[1],o="mu"===i.value.unit;a?(o||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, not "+i.value.unit+" units"),"math"!==r.mode&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):o&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:i.value}},htmlBuilder:(e,t)=>oC(e.dimension,t),mathmlBuilder:(e,t)=>new o5(ac(e.dimension,t))}),oD({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:i}},htmlBuilder:(e,t)=>{"clap"===e.alignment?(r=oy([],[oQ(e.body,t)]),r=oy(["inner"],[r],t)):r=oy(["inner"],[oQ(e.body,t)]);var r,n=oy(["fix"],[]),i=oy([e.alignment],[r,n],t),a=oy(["strut"]);return a.style.height=au(i.height+i.depth),i.depth&&(a.style.verticalAlign=au(-i.depth)),i.children.unshift(a),i=oy(["thinbox"],[i],t),oy(["mord","vbox"],[i],t)},mathmlBuilder:(e,t)=>{var r=new o1("mpadded",[ln(e.body,t)]);if("rlap"!==e.alignment){var n="llap"===e.alignment?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}}),oD({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:n}=e,i=n.mode;n.switchMode("math");var a="\\("===r?"\\)":"$",o=n.parseExpression(!1,a);return n.expect(a),n.switchMode(i),{type:"styling",mode:n.mode,style:"text",resetFont:!0,body:o}}}),oD({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new iH("Mismatched "+e.funcName)}});var sz=(e,t)=>{switch(t.style.size){case i2.DISPLAY.size:return e.display;case i2.TEXT.size:return e.text;case i2.SCRIPT.size:return e.script;case i2.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};oD({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:oj(t[0]),text:oj(t[1]),script:oj(t[2]),scriptscript:oj(t[3])}},htmlBuilder:(e,t)=>ow(oW(sz(e,t),t,!1)),mathmlBuilder:(e,t)=>lr(sz(e,t),t)});var sN=(e,t,r,n,i,a,o)=>{e=oy([],[e]);var l,s,c,u=r&&iK(r);if(t){var h=oQ(t,n.havingStyle(i.sup()),n);s={elem:h,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-h.depth)}}if(r){var p=oQ(r,n.havingStyle(i.sub()),n);l={elem:p,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-p.height)}}if(s&&l)c=oS({positionType:"bottom",positionData:n.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+o,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:au(-a)},{type:"kern",size:l.kern},{type:"elem",elem:e},{type:"kern",size:s.kern},{type:"elem",elem:s.elem,marginLeft:au(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]});else if(l)c=oS({positionType:"top",positionData:e.height-o,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:l.elem,marginLeft:au(-a)},{type:"kern",size:l.kern},{type:"elem",elem:e}]});else{if(!s)return e;c=oS({positionType:"bottom",positionData:e.depth+o,children:[{type:"elem",elem:e},{type:"kern",size:s.kern},{type:"elem",elem:s.elem,marginLeft:au(a)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]})}var m=[c];if(l&&0!==a&&!u){var d=oy(["mspace"],[],n);d.style.marginRight=au(a),m.unshift(d)}return oy(["mop","op-limits"],m,n)},sI=new Set(["\\smallint"]),sL=(e,t)=>{var r,n,i,a,o,l,s=!1;"supsub"===e.type?(r=e.sup,n=e.sub,i=lb(e.base,"op"),s=!0):i=lb(e,"op");var c=t.style,u=!1;if(c.size===i2.DISPLAY.size&&i.symbol&&!sI.has(i.name)&&(u=!0),i.symbol){var h=u?"Size2-Regular":"Size1-Regular",p="";("\\oiint"===i.name||"\\oiiint"===i.name)&&(p=i.name.slice(1),i.name="oiint"===p?"\\iint":"\\iiint"),o=(a=oh(i.name,h,"math",t,["mop","op-symbol",u?"large-op":"small-op"])).italic,p.length>0&&(a=oS({positionType:"individualShift",children:[{type:"elem",elem:a,shift:0},{type:"elem",elem:oE(p+"Size"+(u?"2":"1"),t),shift:.08*!!u}]}),i.name="\\"+p,a.classes.unshift("mop"),a.italic=o)}else if(i.body){var m=oW(i.body,t,!0);1===m.length&&m[0]instanceof aw?(a=m[0]).classes[0]="mop":a=oy(["mop"],m,t)}else{for(var d=[],f=1;f<i.name.length;f++)d.push(op(i.name[f],i.mode,t));a=oy(["mop"],d,t)}var g=0,y=0;return((a instanceof aw||"\\oiint"===i.name||"\\oiiint"===i.name)&&!i.suppressBaseShift&&(g=(a.height-a.depth)/2-t.fontMetrics().axisHeight,y=null!=(l=a.italic)?l:0),s)?sN(a,r,n,t,c,y,g):(g&&(a.style.position="relative",a.style.top=au(g)),a)},sR=(e,t)=>{var r;if(e.symbol)r=new o1("mo",[o7(e.name,e.mode)]),sI.has(e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new o1("mo",lt(e.body,t));else{r=new o1("mi",[new o4(e.name.slice(1))]);var n=new o1("mo",[o7("⁡","text")]);r=e.parentIsSupSub?new o1("mrow",[r,n]):new aa([r,n])}return r},sP={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};oD({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=n;return 1===i.length&&(i=sP[i]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:sL,mathmlBuilder:sR}),oD({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:oj(n)}},htmlBuilder:sL,mathmlBuilder:sR});var sB={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};oD({type:"op",names:["\\arcsin","\\arccos","\\arctan","\\arctg","\\arcctg","\\arg","\\ch","\\cos","\\cosec","\\cosh","\\cot","\\cotg","\\coth","\\csc","\\ctg","\\cth","\\deg","\\dim","\\exp","\\hom","\\ker","\\lg","\\ln","\\log","\\sec","\\sin","\\sinh","\\sh","\\tan","\\tanh","\\tg","\\th"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:sL,mathmlBuilder:sR}),oD({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e;return{type:"op",mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:sL,mathmlBuilder:sR}),oD({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0,allowedInArgument:!0},handler(e){var{parser:t,funcName:r}=e,n=r;return 1===n.length&&(n=sB[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:sL,mathmlBuilder:sR});var sO=(e,t)=>{var r,n,i,a,o=!1;if("supsub"===e.type?(r=e.sup,n=e.sub,i=lb(e.base,"operatorname"),o=!0):i=lb(e,"operatorname"),i.body.length>0){for(var l=oW(i.body.map(e=>{var t="text"in e?e.text:void 0;return"string"==typeof t?{type:"textord",mode:e.mode,text:t}:e}),t.withFont("mathrm"),!0),s=0;s<l.length;s++){var c=l[s];c instanceof aw&&(c.text=c.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}a=oy(["mop"],l,t)}else a=oy(["mop"],[],t);return o?sN(a,r,n,t,t.style,0,0):a};function sD(e,t,r){for(var n=oW(e,t,!1),i=t.sizeMultiplier/r.sizeMultiplier,a=0;a<n.length;a++){var o=n[a].classes.indexOf("sizing");o<0?Array.prototype.push.apply(n[a].classes,t.sizingClasses(r)):n[a].classes[o+1]==="reset-size"+t.size&&(n[a].classes[o+1]="reset-size"+r.size),n[a].height*=i,n[a].depth*=i}return ow(n)}oD({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,i=t[0];return{type:"operatorname",mode:r.mode,body:oj(i),alwaysHandleSupSub:"\\operatornamewithlimits"===n,limits:!1,parentIsSupSub:!1}},htmlBuilder:sO,mathmlBuilder:(e,t)=>{for(var r=lt(e.body,t.withFont("mathrm")),n=!0,i=0;i<r.length;i++){var a=r[i];if(a instanceof o5);else if(a instanceof o1)switch(a.type){case"mi":case"mn":case"mspace":case"mtext":break;case"mo":var o=a.children[0];1===a.children.length&&o instanceof o4?o.text=o.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break;default:n=!1}else n=!1}n&&(r=[new o4(r.map(e=>e.toText()).join(""))]);var l=new o1("mi",r);l.setAttribute("mathvariant","normal");var s=new o1("mo",[o7("⁡","text")]);return e.parentIsSupSub?new o1("mrow",[l,s]):new aa([l,s])}}),sc["\\operatorname"]="\\@ifstar\\operatornamewithlimits\\operatorname@",oF({type:"ordgroup",htmlBuilder:(e,t)=>e.semisimple?ow(oW(e.body,t,!1)):oy(["mord"],oW(e.body,t,!0),t),mathmlBuilder:(e,t)=>lr(e.body,t,!0)}),oD({type:"overline",names:["\\overline"],props:{numArgs:1},handler(e,t){var{parser:r}=e,n=t[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder(e,t){var r=oQ(e.body,t.havingCrampedStyle()),n=ob("overline-line",t),i=t.fontMetrics().defaultRuleThickness;return oy(["mord","overline"],[oS({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*i},{type:"elem",elem:n},{type:"kern",size:i}]})],t)},mathmlBuilder(e,t){var r=new o1("mo",[new o4("‾")]);r.setAttribute("stretchy","true");var n=new o1("mover",[ln(e.body,t),r]);return n.setAttribute("accent","true"),n}}),oD({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"phantom",mode:r.mode,body:oj(n)}},htmlBuilder:(e,t)=>ow(oW(e.body,t.withPhantom(),!1)),mathmlBuilder:(e,t)=>new o1("mphantom",lt(e.body,t))}),sc["\\hphantom"]="\\smash{\\phantom{#1}}",oD({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"vphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=oy(["inner"],[oQ(e.body,t.withPhantom())]),n=oy(["fix"],[]);return oy(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=new o1("mphantom",lt(oj(e.body),t)),n=new o1("mpadded",[r]);return n.setAttribute("width","0px"),n}}),oD({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=lb(t[0],"size").value,i=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:i}},htmlBuilder(e,t){var r=oQ(e.body,t);return oS({positionType:"shift",positionData:-ac(e.dy,t),children:[{type:"elem",elem:r}]})},mathmlBuilder(e,t){var r=new o1("mpadded",[ln(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}}),oD({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),oD({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(e,t,r){var{parser:n}=e,i=r[0],a=lb(t[0],"size"),o=lb(t[1],"size");return{type:"rule",mode:n.mode,shift:i&&lb(i,"size").value,width:a.value,height:o.value}},htmlBuilder(e,t){var r=oy(["mord","rule"],[],t),n=ac(e.width,t),i=ac(e.height,t),a=e.shift?ac(e.shift,t):0;return r.style.borderRightWidth=au(n),r.style.borderTopWidth=au(i),r.style.bottom=au(a),r.width=n,r.height=i+a,r.depth=-a,r.maxFontSize=1.125*i*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=ac(e.width,t),n=ac(e.height,t),i=e.shift?ac(e.shift,t):0,a=t.color&&t.getColor()||"black",o=new o1("mspace");o.setAttribute("mathbackground",a),o.setAttribute("width",au(r)),o.setAttribute("height",au(n));var l=new o1("mpadded",[o]);return i>=0?l.setAttribute("height",au(i)):(l.setAttribute("height",au(i)),l.setAttribute("depth",au(-i))),l.setAttribute("voffset",au(i)),l}});var sF=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];oD({type:"sizing",names:sF,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:n,parser:i}=e,a=i.parseExpression(!1,r);return{type:"sizing",mode:i.mode,size:sF.indexOf(n)+1,body:a}},htmlBuilder:(e,t)=>{var r=t.havingSize(e.size);return sD(e.body,r,t)},mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=new o1("mstyle",lt(e.body,r));return n.setAttribute("mathsize",au(r.sizeMultiplier)),n}}),oD({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var n,{parser:i}=e,a=!1,o=!1,l=r[0]&&lb(r[0],"ordgroup");if(l)for(var s=0;s<l.body.length;++s)if("t"===(n=lx(l.body[s]).text))a=!0;else if("b"===n)o=!0;else{a=!1,o=!1;break}else a=!0,o=!0;var c=t[0];return{type:"smash",mode:i.mode,body:c,smashHeight:a,smashDepth:o}},htmlBuilder:(e,t)=>{var r=oy([],[oQ(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0),e.smashDepth&&(r.depth=0),e.smashHeight&&e.smashDepth)return oy(["mord","smash"],[r],t);if(r.children)for(var n=0;n<r.children.length;n++)e.smashHeight&&(r.children[n].height=0),e.smashDepth&&(r.children[n].depth=0);return oy(["mord"],[oS({positionType:"firstBaseline",children:[{type:"elem",elem:r}]})],t)},mathmlBuilder:(e,t)=>{var r=new o1("mpadded",[ln(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}}),oD({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n}=e,i=r[0],a=t[0];return{type:"sqrt",mode:n.mode,body:a,index:i}},htmlBuilder(e,t){var r=oQ(e.body,t.havingCrampedStyle());0===r.height&&(r.height=t.fontMetrics().xHeight),r=ok(r,t);var n=t.fontMetrics().defaultRuleThickness,i=n;t.style.id<i2.TEXT.id&&(i=t.fontMetrics().xHeight);var a=n+i/4,{span:o,ruleWidth:l,advanceWidth:s}=lJ(r.height+r.depth+a+n,t),c=o.height-l;c>r.height+r.depth+a&&(a=(a+c-r.height-r.depth)/2);var u=o.height-r.height-a-l;r.style.paddingLeft=au(s);var h=oS({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+u)},{type:"elem",elem:o},{type:"kern",size:l}]});if(!e.index)return oy(["mord","sqrt"],[h],t);var p=t.havingStyle(i2.SCRIPTSCRIPT),m=oQ(e.index,p,t),d=oy(["root"],[oS({positionType:"shift",positionData:-(.6*(h.height-h.depth)),children:[{type:"elem",elem:m}]})]);return oy(["mord","sqrt"],[d,h],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new o1("mroot",[ln(r,t),ln(n,t)]):new o1("msqrt",[ln(r,t)])}});var sq={display:i2.DISPLAY,text:i2.TEXT,script:i2.SCRIPT,scriptscript:i2.SCRIPTSCRIPT};oD({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:n,parser:i}=e,a=i.parseExpression(!0,r),o=n.slice(1,n.length-5);if(!(o in sq))throw Error("Unknown style: "+o);return{type:"styling",mode:i.mode,style:o,body:a}},htmlBuilder(e,t){var r=sq[e.style],n=t.havingStyle(r);return e.resetFont&&(n=n.withFont("")),sD(e.body,n,t)},mathmlBuilder(e,t){var r=sq[e.style],n=t.havingStyle(r);e.resetFont&&(n=n.withFont(""));var i=new o1("mstyle",lt(e.body,n)),a={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[e.style];return i.setAttribute("scriptlevel",a[0]),i.setAttribute("displaystyle",a[1]),i}});var sj=function(e,t){var r=e.base;if(!r)return null;if("op"===r.type)return r.limits&&(t.style.size===i2.DISPLAY.size||r.alwaysHandleSupSub)?sL:null;if("operatorname"===r.type)return r.alwaysHandleSupSub&&(t.style.size===i2.DISPLAY.size||r.limits)?sO:null;if("accent"===r.type)return iK(r.base)?lA:null;if("horizBrace"===r.type)return!e.sub===r.isOver?sM:null;else return null};oF({type:"supsub",htmlBuilder(e,t){var r,n=sj(e,t);if(n)return n(e,t);var{base:i,sup:a,sub:o}=e,l=oQ(i,t),s=t.fontMetrics(),c=0,u=0,h=i&&iK(i);if(a){var p=t.havingStyle(t.style.sup());y=oQ(a,p,t),h||(c=l.height-p.fontMetrics().supDrop*p.sizeMultiplier/t.sizeMultiplier)}if(o){var m=t.havingStyle(t.style.sub());v=oQ(o,m,t),h||(u=l.depth+m.fontMetrics().subDrop*m.sizeMultiplier/t.sizeMultiplier)}b=t.style===i2.DISPLAY?s.sup1:t.style.cramped?s.sup3:s.sup2;var d=t.sizeMultiplier,f=au(.5/s.ptPerEm/d),g=null;if(v){var y,v,b,x,w=e.base&&"op"===e.base.type&&e.base.name&&("\\oiint"===e.base.name||"\\oiiint"===e.base.name);(l instanceof aw||w)&&(g=au(-(null!=(x=l.italic)?x:0)))}if(y&&v){c=Math.max(c,b,y.depth+.25*s.xHeight),u=Math.max(u,s.sub2);var k=4*s.defaultRuleThickness;if(c-y.depth-(v.height-u)<k){u=k-(c-y.depth)+v.height;var A=.8*s.xHeight-(c-y.depth);A>0&&(c+=A,u-=A)}r=oS({positionType:"individualShift",children:[{type:"elem",elem:v,shift:u,marginRight:f,marginLeft:g},{type:"elem",elem:y,shift:-c,marginRight:f}]})}else if(v)r=oS({positionType:"shift",positionData:u=Math.max(u,s.sub1,v.height-.8*s.xHeight),children:[{type:"elem",elem:v,marginLeft:g,marginRight:f}]});else if(y)r=oS({positionType:"shift",positionData:-(c=Math.max(c,b,y.depth+.25*s.xHeight)),children:[{type:"elem",elem:y,marginRight:f}]});else throw Error("supsub must have either sup or sub.");return oy([oK(l,"right")||"mord"],[l,oy(["msupsub"],[r])],t)},mathmlBuilder(e,t){var r,n,i=!1;e.base&&"horizBrace"===e.base.type&&!!e.sup===e.base.isOver&&(i=!0,r=e.base.isOver),e.base&&("op"===e.base.type||"operatorname"===e.base.type)&&(e.base.parentIsSupSub=!0);var a=[ln(e.base,t)];if(e.sub&&a.push(ln(e.sub,t)),e.sup&&a.push(ln(e.sup,t)),i)n=r?"mover":"munder";else if(e.sub)if(e.sup){var o=e.base;n=o&&"op"===o.type&&o.limits&&t.style===i2.DISPLAY||o&&"operatorname"===o.type&&o.alwaysHandleSupSub&&(t.style===i2.DISPLAY||o.limits)?"munderover":"msubsup"}else{var l=e.base;n=l&&"op"===l.type&&l.limits&&(t.style===i2.DISPLAY||l.alwaysHandleSupSub)||l&&"operatorname"===l.type&&l.alwaysHandleSupSub&&(l.limits||t.style===i2.DISPLAY)?"munder":"msub"}else{var s=e.base;n=s&&"op"===s.type&&s.limits&&(t.style===i2.DISPLAY||s.alwaysHandleSupSub)||s&&"operatorname"===s.type&&s.alwaysHandleSupSub&&(s.limits||t.style===i2.DISPLAY)?"mover":"msup"}return new o1(n,a)}}),oF({type:"atom",htmlBuilder:(e,t)=>op(e.text,e.mode,t,["m"+e.family]),mathmlBuilder(e,t){var r=new o1("mo",[o7(e.text,e.mode)]);if("bin"===e.family){var n=o9(e,t);"bold-italic"===n&&r.setAttribute("mathvariant",n)}else"punct"===e.family?r.setAttribute("separator","true"):("open"===e.family||"close"===e.family)&&r.setAttribute("stretchy","false");return r}});var sH={mi:"italic",mn:"normal",mtext:"normal"};oF({type:"mathord",htmlBuilder:(e,t)=>om(e,t,"mathord"),mathmlBuilder(e,t){var r=new o1("mi",[o7(e.text,e.mode,t)]),n=o9(e,t)||"italic";return n!==sH[r.type]&&r.setAttribute("mathvariant",n),r}}),oF({type:"textord",htmlBuilder:(e,t)=>om(e,t,"textord"),mathmlBuilder(e,t){var r,n=o7(e.text,e.mode,t),i=o9(e,t)||"normal";return i!==sH[(r="text"===e.mode?new o1("mtext",[n]):/[0-9]/.test(e.text)?new o1("mn",[n]):"\\prime"===e.text?new o1("mo",[n]):new o1("mi",[n])).type]&&r.setAttribute("mathvariant",i),r}});var sU={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},sG={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};oF({type:"spacing",htmlBuilder(e,t){if(sG.hasOwnProperty(e.text)){var r=sG[e.text].className||"";if("text"!==e.mode)return oy(["mspace",r],[op(e.text,e.mode,t)],t);var n=om(e,t,"textord");return n.classes.push(r),n}if(sU.hasOwnProperty(e.text))return oy(["mspace",sU[e.text]],[],t);throw new iH('Unknown type of space "'+e.text+'"')},mathmlBuilder(e,t){var r;if(sG.hasOwnProperty(e.text))r=new o1("mtext",[new o4(" ")]);else if(sU.hasOwnProperty(e.text))return new o1("mspace");else throw new iH('Unknown type of space "'+e.text+'"');return r}});var sV=()=>{var e=new o1("mtd",[]);return e.setAttribute("width","50%"),e};oF({type:"tag",mathmlBuilder(e,t){var r=new o1("mtable",[new o1("mtr",[sV(),new o1("mtd",[lr(e.body,t)]),sV(),new o1("mtd",[lr(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var sW={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},s$={"\\textbf":"textbf","\\textmd":"textmd"},sX={"\\textit":"textit","\\textup":"textup"},sY=(e,t)=>{var r=e.font;return r?sW[r]?t.withTextFontFamily(sW[r]):s$[r]?t.withTextFontWeight(s$[r]):"\\emph"===r?"textit"===t.fontShape?t.withTextFontShape("textup"):t.withTextFontShape("textit"):t.withTextFontShape(sX[r]):t};oD({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:r,funcName:n}=e,i=t[0];return{type:"text",mode:r.mode,body:oj(i),font:n}},htmlBuilder(e,t){var r=sY(e,t);return oy(["mord","text"],oW(e.body,r,!0),r)},mathmlBuilder(e,t){var r=sY(e,t);return lr(e.body,r)}}),oD({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"underline",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=oQ(e.body,t),n=ob("underline-line",t),i=t.fontMetrics().defaultRuleThickness;return oy(["mord","underline"],[oS({positionType:"top",positionData:r.height,children:[{type:"kern",size:i},{type:"elem",elem:n},{type:"kern",size:3*i},{type:"elem",elem:r}]})],t)},mathmlBuilder(e,t){var r=new o1("mo",[new o4("‾")]);r.setAttribute("stretchy","true");var n=new o1("munder",[ln(e.body,t),r]);return n.setAttribute("accentunder","true"),n}}),oD({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(e,t){var{parser:r}=e;return{type:"vcenter",mode:r.mode,body:t[0]}},htmlBuilder(e,t){var r=oQ(e.body,t),n=t.fontMetrics().axisHeight;return oS({positionType:"shift",positionData:.5*(r.height-n-(r.depth+n)),children:[{type:"elem",elem:r}]})},mathmlBuilder(e,t){var r=new o1("mpadded",[ln(e.body,t)],["vcenter"]);return new o1("mrow",[r])}}),oD({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new iH("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=sK(e),n=[],i=t.havingStyle(t.style.text()),a=0;a<r.length;a++){var o=r[a];"~"===o&&(o="\\textasciitilde"),n.push(oh(o,"Typewriter-Regular",e.mode,i,["mord","texttt"]))}return oy(["mord","text"].concat(i.sizingClasses(t)),of(n),i)},mathmlBuilder(e,t){var r=new o1("mtext",[new o4(sK(e))]);return r.setAttribute("mathvariant","monospace"),r}});var sK=e=>e.body.replace(/ /g,e.star?"␣":" "),sJ="[ \r\n ]",sQ="[̀-ͯ]",sZ=RegExp(sQ+"+$"),s0="("+sJ+"+)|\\\\(\n|[ \r ]+\n?)[ \r ]*|([!-\\[\\]-‧‪-퟿豈-￿]"+sQ+"*|[\uD800-\uDBFF][\uDC00-\uDFFF]"+sQ+"*|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5|(\\\\[a-zA-Z@]+)"+sJ+"*|\\\\[^\uD800-\uDFFF])";class s1{setCatcode(e,t){this.catcodes[e]=t}lex(){var e=this.input,t=this.tokenRegex.lastIndex;if(t===e.length)return new sh("EOF",new su(this,t,t));var r=this.tokenRegex.exec(e);if(null===r||r.index!==t)throw new iH("Unexpected character: '"+e[t]+"'",new sh(e[t],new su(this,t,t+1)));var n=r[6]||r[3]||(r[2]?"\\ ":" ");if(14===this.catcodes[n]){var i=e.indexOf("\n",this.tokenRegex.lastIndex);return -1===i?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=i+1,this.lex()}return new sh(n,new su(this,t,this.tokenRegex.lastIndex))}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=RegExp(s0,"g"),this.catcodes={"%":14,"~":13}}}class s4{beginGroup(){this.undefStack.push({})}endGroup(){if(0===this.undefStack.length)throw new iH("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var t in e)e.hasOwnProperty(t)&&(null==e[t]?delete this.current[t]:this.current[t]=e[t])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,r){if(void 0===r&&(r=!1),r){for(var n=0;n<this.undefStack.length;n++)delete this.undefStack[n][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(e)&&(i[e]=this.current[e])}null==t?delete this.current[e]:this.current[e]=t}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=[]}}sc["\\noexpand"]=function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}},sc["\\expandafter"]=function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}},sc["\\@firstoftwo"]=function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}},sc["\\@secondoftwo"]=function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}},sc["\\@ifnextchar"]=function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return 1===t[0].length&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}},sc["\\@ifstar"]="\\@ifnextchar *{\\@firstoftwo{#1}}",sc["\\TextOrMath"]=function(e){var t=e.consumeArgs(2);return"text"===e.mode?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}};var s5={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};sc["\\char"]=function(e){var t,r,n=e.popToken(),i=0;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()).text[0])i=n.text.charCodeAt(1);else if("EOF"===n.text)throw new iH("\\char` missing argument");else i=n.text.charCodeAt(0);else t=10;if(t){if(null==(i=s5[n.text])||i>=t)throw new iH("Invalid base-"+t+" digit "+n.text);for(;null!=(r=s5[e.future().text])&&r<t;)i*=t,i+=r,e.popToken()}return"\\@char{"+i+"}"};var s6=(e,t,r,n)=>{var i=e.consumeArg().tokens;if(1!==i.length)throw new iH("\\newcommand's first argument must be a macro name");var a=i[0].text,o=e.isDefined(a);if(o&&!t)throw new iH("\\newcommand{"+a+"} attempting to redefine "+a+"; use \\renewcommand");if(!o&&!r)throw new iH("\\renewcommand{"+a+"} when command "+a+" does not yet exist; use \\newcommand");var l=0;if(1===(i=e.consumeArg().tokens).length&&"["===i[0].text){for(var s="",c=e.expandNextToken();"]"!==c.text&&"EOF"!==c.text;)s+=c.text,c=e.expandNextToken();if(!s.match(/^\s*[0-9]+\s*$/))throw new iH("Invalid number of arguments: "+s);l=parseInt(s),i=e.consumeArg().tokens}return o&&n||e.macros.set(a,{tokens:i,numArgs:l}),""};sc["\\newcommand"]=e=>s6(e,!1,!0,!1),sc["\\renewcommand"]=e=>s6(e,!0,!1,!1),sc["\\providecommand"]=e=>s6(e,!0,!0,!0),sc["\\message"]=e=>(console.log(e.consumeArgs(1)[0].reverse().map(e=>e.text).join("")),""),sc["\\errmessage"]=e=>(console.error(e.consumeArgs(1)[0].reverse().map(e=>e.text).join("")),""),sc["\\show"]=e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),oP[r],az.math[r],az.text[r]),""},sc["\\bgroup"]="{",sc["\\egroup"]="}",sc["~"]="\\nobreakspace",sc["\\lq"]="`",sc["\\rq"]="'",sc["\\aa"]="\\r a",sc["\\AA"]="\\r A",sc["\\textcopyright"]="\\html@mathml{\\textcircled{c}}{\\char`©}",sc["\\copyright"]="\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}",sc["\\textregistered"]="\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}",sc["ℬ"]="\\mathscr{B}",sc["ℰ"]="\\mathscr{E}",sc["ℱ"]="\\mathscr{F}",sc["ℋ"]="\\mathscr{H}",sc["ℐ"]="\\mathscr{I}",sc["ℒ"]="\\mathscr{L}",sc["ℳ"]="\\mathscr{M}",sc["ℛ"]="\\mathscr{R}",sc["ℭ"]="\\mathfrak{C}",sc["ℌ"]="\\mathfrak{H}",sc["ℨ"]="\\mathfrak{Z}",sc["\\Bbbk"]="\\Bbb{k}",sc["\\llap"]="\\mathllap{\\textrm{#1}}",sc["\\rlap"]="\\mathrlap{\\textrm{#1}}",sc["\\clap"]="\\mathclap{\\textrm{#1}}",sc["\\mathstrut"]="\\vphantom{(}",sc["\\underbar"]="\\underline{\\text{#1}}",sc["\\not"]='\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}',sc["\\neq"]="\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}",sc["\\ne"]="\\neq",sc["≠"]="\\neq",sc["\\notin"]="\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}",sc["∉"]="\\notin",sc["≘"]="\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}",sc["≙"]="\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}",sc["≚"]="\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}",sc["≛"]="\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}",sc["≝"]="\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}",sc["≞"]="\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}",sc["≟"]="\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}",sc["⟂"]="\\perp",sc["‼"]="\\mathclose{!\\mkern-0.8mu!}",sc["∌"]="\\notni",sc["⌜"]="\\ulcorner",sc["⌝"]="\\urcorner",sc["⌞"]="\\llcorner",sc["⌟"]="\\lrcorner",sc["©"]="\\copyright",sc["®"]="\\textregistered",sc["\\ulcorner"]='\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}',sc["\\urcorner"]='\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}',sc["\\llcorner"]='\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}',sc["\\lrcorner"]='\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}',sc["\\vdots"]="{\\varvdots\\rule{0pt}{15pt}}",sc["⋮"]="\\vdots",sc["\\varGamma"]="\\mathit{\\Gamma}",sc["\\varDelta"]="\\mathit{\\Delta}",sc["\\varTheta"]="\\mathit{\\Theta}",sc["\\varLambda"]="\\mathit{\\Lambda}",sc["\\varXi"]="\\mathit{\\Xi}",sc["\\varPi"]="\\mathit{\\Pi}",sc["\\varSigma"]="\\mathit{\\Sigma}",sc["\\varUpsilon"]="\\mathit{\\Upsilon}",sc["\\varPhi"]="\\mathit{\\Phi}",sc["\\varPsi"]="\\mathit{\\Psi}",sc["\\varOmega"]="\\mathit{\\Omega}",sc["\\substack"]="\\begin{subarray}{c}#1\\end{subarray}",sc["\\colon"]="\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax",sc["\\boxed"]="\\fbox{$\\displaystyle{#1}$}",sc["\\iff"]="\\DOTSB\\;\\Longleftrightarrow\\;",sc["\\implies"]="\\DOTSB\\;\\Longrightarrow\\;",sc["\\impliedby"]="\\DOTSB\\;\\Longleftarrow\\;",sc["\\dddot"]="{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}",sc["\\ddddot"]="{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}";var s3={",":"\\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"},s7=new Set(["bin","rel"]);sc["\\dots"]=function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in s3?t=s3[r]:"\\not"===r.slice(0,4)?t="\\dotsb":r in az.math&&s7.has(az.math[r].group)&&(t="\\dotsb"),t};var s2={")":!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};sc["\\dotso"]=function(e){return e.future().text in s2?"\\ldots\\,":"\\ldots"},sc["\\dotsc"]=function(e){var t=e.future().text;return t in s2&&","!==t?"\\ldots\\,":"\\ldots"},sc["\\cdots"]=function(e){return e.future().text in s2?"\\@cdots\\,":"\\@cdots"},sc["\\dotsb"]="\\cdots",sc["\\dotsm"]="\\cdots",sc["\\dotsi"]="\\!\\cdots",sc["\\dotsx"]="\\ldots\\,",sc["\\DOTSI"]="\\relax",sc["\\DOTSB"]="\\relax",sc["\\DOTSX"]="\\relax",sc["\\tmspace"]="\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax",sc["\\,"]="\\tmspace+{3mu}{.1667em}",sc["\\thinspace"]="\\,",sc["\\>"]="\\mskip{4mu}",sc["\\:"]="\\tmspace+{4mu}{.2222em}",sc["\\medspace"]="\\:",sc["\\;"]="\\tmspace+{5mu}{.2777em}",sc["\\thickspace"]="\\;",sc["\\!"]="\\tmspace-{3mu}{.1667em}",sc["\\negthinspace"]="\\!",sc["\\negmedspace"]="\\tmspace-{4mu}{.2222em}",sc["\\negthickspace"]="\\tmspace-{5mu}{.277em}",sc["\\enspace"]="\\kern.5em ",sc["\\enskip"]="\\hskip.5em\\relax",sc["\\quad"]="\\hskip1em\\relax",sc["\\qquad"]="\\hskip2em\\relax",sc["\\tag"]="\\@ifstar\\tag@literal\\tag@paren",sc["\\tag@paren"]="\\tag@literal{({#1})}",sc["\\tag@literal"]=e=>{if(e.macros.get("\\df@tag"))throw new iH("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"},sc["\\bmod"]="\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}",sc["\\pod"]="\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)",sc["\\pmod"]="\\pod{{\\rm mod}\\mkern6mu#1}",sc["\\mod"]="\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1",sc["\\newline"]="\\\\\\relax",sc["\\TeX"]="\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}";var s8=au(aC["Main-Regular"][84][1]-.7*aC["Main-Regular"][65][1]);sc["\\LaTeX"]="\\textrm{\\html@mathml{L\\kern-.36em\\raisebox{"+s8+"}{\\scriptstyle A}\\kern-.15em\\TeX}{LaTeX}}",sc["\\KaTeX"]="\\textrm{\\html@mathml{K\\kern-.17em\\raisebox{"+s8+"}{\\scriptstyle A}\\kern-.15em\\TeX}{KaTeX}}",sc["\\hspace"]="\\@ifstar\\@hspacer\\@hspace",sc["\\@hspace"]="\\hskip #1\\relax",sc["\\@hspacer"]="\\rule{0pt}{0pt}\\hskip #1\\relax",sc["\\ordinarycolon"]=":",sc["\\vcentcolon"]="\\mathrel{\\mathop\\ordinarycolon}",sc["\\dblcolon"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}',sc["\\coloneqq"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}',sc["\\Coloneqq"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}',sc["\\coloneq"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}',sc["\\Coloneq"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}',sc["\\eqqcolon"]='\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}',sc["\\Eqqcolon"]='\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}',sc["\\eqcolon"]='\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}',sc["\\Eqcolon"]='\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}',sc["\\colonapprox"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}',sc["\\Colonapprox"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}',sc["\\colonsim"]='\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}',sc["\\Colonsim"]='\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}',sc["∷"]="\\dblcolon",sc["∹"]="\\eqcolon",sc["≔"]="\\coloneqq",sc["≕"]="\\eqqcolon",sc["⩴"]="\\Coloneqq",sc["\\ratio"]="\\vcentcolon",sc["\\coloncolon"]="\\dblcolon",sc["\\colonequals"]="\\coloneqq",sc["\\coloncolonequals"]="\\Coloneqq",sc["\\equalscolon"]="\\eqqcolon",sc["\\equalscoloncolon"]="\\Eqqcolon",sc["\\colonminus"]="\\coloneq",sc["\\coloncolonminus"]="\\Coloneq",sc["\\minuscolon"]="\\eqcolon",sc["\\minuscoloncolon"]="\\Eqcolon",sc["\\coloncolonapprox"]="\\Colonapprox",sc["\\coloncolonsim"]="\\Colonsim",sc["\\simcolon"]="\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}",sc["\\simcoloncolon"]="\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}",sc["\\approxcolon"]="\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}",sc["\\approxcoloncolon"]="\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}",sc["\\notni"]="\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}",sc["\\limsup"]="\\DOTSB\\operatorname*{lim\\,sup}",sc["\\liminf"]="\\DOTSB\\operatorname*{lim\\,inf}",sc["\\injlim"]="\\DOTSB\\operatorname*{inj\\,lim}",sc["\\projlim"]="\\DOTSB\\operatorname*{proj\\,lim}",sc["\\varlimsup"]="\\DOTSB\\operatorname*{\\overline{lim}}",sc["\\varliminf"]="\\DOTSB\\operatorname*{\\underline{lim}}",sc["\\varinjlim"]="\\DOTSB\\operatorname*{\\underrightarrow{lim}}",sc["\\varprojlim"]="\\DOTSB\\operatorname*{\\underleftarrow{lim}}",sc["\\gvertneqq"]="\\html@mathml{\\@gvertneqq}{≩}",sc["\\lvertneqq"]="\\html@mathml{\\@lvertneqq}{≨}",sc["\\ngeqq"]="\\html@mathml{\\@ngeqq}{≱}",sc["\\ngeqslant"]="\\html@mathml{\\@ngeqslant}{≱}",sc["\\nleqq"]="\\html@mathml{\\@nleqq}{≰}",sc["\\nleqslant"]="\\html@mathml{\\@nleqslant}{≰}",sc["\\nshortmid"]="\\html@mathml{\\@nshortmid}{∤}",sc["\\nshortparallel"]="\\html@mathml{\\@nshortparallel}{∦}",sc["\\nsubseteqq"]="\\html@mathml{\\@nsubseteqq}{⊈}",sc["\\nsupseteqq"]="\\html@mathml{\\@nsupseteqq}{⊉}",sc["\\varsubsetneq"]="\\html@mathml{\\@varsubsetneq}{⊊}",sc["\\varsubsetneqq"]="\\html@mathml{\\@varsubsetneqq}{⫋}",sc["\\varsupsetneq"]="\\html@mathml{\\@varsupsetneq}{⊋}",sc["\\varsupsetneqq"]="\\html@mathml{\\@varsupsetneqq}{⫌}",sc["\\imath"]="\\html@mathml{\\@imath}{ı}",sc["\\jmath"]="\\html@mathml{\\@jmath}{ȷ}",sc["\\llbracket"]="\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}",sc["\\rrbracket"]="\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}",sc["⟦"]="\\llbracket",sc["⟧"]="\\rrbracket",sc["\\lBrace"]="\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}",sc["\\rBrace"]="\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}",sc["⦃"]="\\lBrace",sc["⦄"]="\\rBrace",sc["\\minuso"]="\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}",sc["⦵"]="\\minuso",sc["\\darr"]="\\downarrow",sc["\\dArr"]="\\Downarrow",sc["\\Darr"]="\\Downarrow",sc["\\lang"]="\\langle",sc["\\rang"]="\\rangle",sc["\\uarr"]="\\uparrow",sc["\\uArr"]="\\Uparrow",sc["\\Uarr"]="\\Uparrow",sc["\\N"]="\\mathbb{N}",sc["\\R"]="\\mathbb{R}",sc["\\Z"]="\\mathbb{Z}",sc["\\alef"]="\\aleph",sc["\\alefsym"]="\\aleph",sc["\\Alpha"]="\\mathrm{A}",sc["\\Beta"]="\\mathrm{B}",sc["\\bull"]="\\bullet",sc["\\Chi"]="\\mathrm{X}",sc["\\clubs"]="\\clubsuit",sc["\\cnums"]="\\mathbb{C}",sc["\\Complex"]="\\mathbb{C}",sc["\\Dagger"]="\\ddagger",sc["\\diamonds"]="\\diamondsuit",sc["\\empty"]="\\emptyset",sc["\\Epsilon"]="\\mathrm{E}",sc["\\Eta"]="\\mathrm{H}",sc["\\exist"]="\\exists",sc["\\harr"]="\\leftrightarrow",sc["\\hArr"]="\\Leftrightarrow",sc["\\Harr"]="\\Leftrightarrow",sc["\\hearts"]="\\heartsuit",sc["\\image"]="\\Im",sc["\\infin"]="\\infty",sc["\\Iota"]="\\mathrm{I}",sc["\\isin"]="\\in",sc["\\Kappa"]="\\mathrm{K}",sc["\\larr"]="\\leftarrow",sc["\\lArr"]="\\Leftarrow",sc["\\Larr"]="\\Leftarrow",sc["\\lrarr"]="\\leftrightarrow",sc["\\lrArr"]="\\Leftrightarrow",sc["\\Lrarr"]="\\Leftrightarrow",sc["\\Mu"]="\\mathrm{M}",sc["\\natnums"]="\\mathbb{N}",sc["\\Nu"]="\\mathrm{N}",sc["\\Omicron"]="\\mathrm{O}",sc["\\plusmn"]="\\pm",sc["\\rarr"]="\\rightarrow",sc["\\rArr"]="\\Rightarrow",sc["\\Rarr"]="\\Rightarrow",sc["\\real"]="\\Re",sc["\\reals"]="\\mathbb{R}",sc["\\Reals"]="\\mathbb{R}",sc["\\Rho"]="\\mathrm{P}",sc["\\sdot"]="\\cdot",sc["\\sect"]="\\S",sc["\\spades"]="\\spadesuit",sc["\\sub"]="\\subset",sc["\\sube"]="\\subseteq",sc["\\supe"]="\\supseteq",sc["\\Tau"]="\\mathrm{T}",sc["\\thetasym"]="\\vartheta",sc["\\weierp"]="\\wp",sc["\\Zeta"]="\\mathrm{Z}",sc["\\argmin"]="\\DOTSB\\operatorname*{arg\\,min}",sc["\\argmax"]="\\DOTSB\\operatorname*{arg\\,max}",sc["\\plim"]="\\DOTSB\\mathop{\\operatorname{plim}}\\limits",sc["\\bra"]="\\mathinner{\\langle{#1}|}",sc["\\ket"]="\\mathinner{|{#1}\\rangle}",sc["\\braket"]="\\mathinner{\\langle{#1}\\rangle}",sc["\\Bra"]="\\left\\langle#1\\right|",sc["\\Ket"]="\\left|#1\\right\\rangle";var s9=e=>t=>{var r=t.consumeArg().tokens,n=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.consumeArg().tokens,o=t.macros.get("|"),l=t.macros.get("\\|");t.macros.beginGroup();var s=t=>r=>{e&&(r.macros.set("|",o),i.length&&r.macros.set("\\|",l));var a=t;return!t&&i.length&&"|"===r.future().text&&(r.popToken(),a=!0),{tokens:a?i:n,numArgs:0}};t.macros.set("|",s(!1)),i.length&&t.macros.set("\\|",s(!0));var c=t.consumeArg().tokens,u=t.expandTokens([...a,...c,...r]);return t.macros.endGroup(),{tokens:u.reverse(),numArgs:0}};i=s9(!1),sc["\\bra@ket"]=i,a=s9(!0),sc["\\bra@set"]=a,sc["\\Braket"]="\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}",sc["\\Set"]="\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}",sc["\\set"]="\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}",sc["\\angln"]="{\\angl n}",sc["\\blue"]="\\textcolor{##6495ed}{#1}",sc["\\orange"]="\\textcolor{##ffa500}{#1}",sc["\\pink"]="\\textcolor{##ff00af}{#1}",sc["\\red"]="\\textcolor{##df0030}{#1}",sc["\\green"]="\\textcolor{##28ae7b}{#1}",sc["\\gray"]="\\textcolor{gray}{#1}",sc["\\purple"]="\\textcolor{##9d38bd}{#1}",sc["\\blueA"]="\\textcolor{##ccfaff}{#1}",sc["\\blueB"]="\\textcolor{##80f6ff}{#1}",sc["\\blueC"]="\\textcolor{##63d9ea}{#1}",sc["\\blueD"]="\\textcolor{##11accd}{#1}",sc["\\blueE"]="\\textcolor{##0c7f99}{#1}",sc["\\tealA"]="\\textcolor{##94fff5}{#1}",sc["\\tealB"]="\\textcolor{##26edd5}{#1}",sc["\\tealC"]="\\textcolor{##01d1c1}{#1}",sc["\\tealD"]="\\textcolor{##01a995}{#1}",sc["\\tealE"]="\\textcolor{##208170}{#1}",sc["\\greenA"]="\\textcolor{##b6ffb0}{#1}",sc["\\greenB"]="\\textcolor{##8af281}{#1}",sc["\\greenC"]="\\textcolor{##74cf70}{#1}",sc["\\greenD"]="\\textcolor{##1fab54}{#1}",sc["\\greenE"]="\\textcolor{##0d923f}{#1}",sc["\\goldA"]="\\textcolor{##ffd0a9}{#1}",sc["\\goldB"]="\\textcolor{##ffbb71}{#1}",sc["\\goldC"]="\\textcolor{##ff9c39}{#1}",sc["\\goldD"]="\\textcolor{##e07d10}{#1}",sc["\\goldE"]="\\textcolor{##a75a05}{#1}",sc["\\redA"]="\\textcolor{##fca9a9}{#1}",sc["\\redB"]="\\textcolor{##ff8482}{#1}",sc["\\redC"]="\\textcolor{##f9685d}{#1}",sc["\\redD"]="\\textcolor{##e84d39}{#1}",sc["\\redE"]="\\textcolor{##bc2612}{#1}",sc["\\maroonA"]="\\textcolor{##ffbde0}{#1}",sc["\\maroonB"]="\\textcolor{##ff92c6}{#1}",sc["\\maroonC"]="\\textcolor{##ed5fa6}{#1}",sc["\\maroonD"]="\\textcolor{##ca337c}{#1}",sc["\\maroonE"]="\\textcolor{##9e034e}{#1}",sc["\\purpleA"]="\\textcolor{##ddd7ff}{#1}",sc["\\purpleB"]="\\textcolor{##c6b9fc}{#1}",sc["\\purpleC"]="\\textcolor{##aa87ff}{#1}",sc["\\purpleD"]="\\textcolor{##7854ab}{#1}",sc["\\purpleE"]="\\textcolor{##543b78}{#1}",sc["\\mintA"]="\\textcolor{##f5f9e8}{#1}",sc["\\mintB"]="\\textcolor{##edf2df}{#1}",sc["\\mintC"]="\\textcolor{##e0e5cc}{#1}",sc["\\grayA"]="\\textcolor{##f6f7f7}{#1}",sc["\\grayB"]="\\textcolor{##f0f1f2}{#1}",sc["\\grayC"]="\\textcolor{##e3e5e6}{#1}",sc["\\grayD"]="\\textcolor{##d6d8da}{#1}",sc["\\grayE"]="\\textcolor{##babec2}{#1}",sc["\\grayF"]="\\textcolor{##888d93}{#1}",sc["\\grayG"]="\\textcolor{##626569}{#1}",sc["\\grayH"]="\\textcolor{##3b3e40}{#1}",sc["\\grayI"]="\\textcolor{##21242c}{#1}",sc["\\kaBlue"]="\\textcolor{##314453}{#1}",sc["\\kaGreen"]="\\textcolor{##71B307}{#1}";var ce={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class ct{feed(e){this.lexer=new s1(e,this.settings)}switchMode(e){this.mode=e}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return 0===this.stack.length&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var t,r,n;if(e){if(this.consumeSpaces(),"["!==this.future().text)return null;t=this.popToken(),{tokens:n,end:r}=this.consumeArg(["]"])}else({tokens:n,start:t,end:r}=this.consumeArg());return this.pushToken(new sh("EOF",r.loc)),this.pushTokens(n),new sh("",su.range(t,r))}consumeSpaces(){for(;;)if(" "===this.future().text)this.stack.pop();else break}consumeArg(e){var t,r=[],n=e&&e.length>0;n||this.consumeSpaces();var i=this.future(),a=0,o=0;do{if(t=this.popToken(),r.push(t),"{"===t.text)++a;else if("}"===t.text){if(-1==--a)throw new iH("Extra }",t)}else if("EOF"===t.text)throw new iH("Unexpected end of input in a macro argument, expected '"+(e&&n?e[o]:"}")+"'",t);if(e&&n)if((0===a||1===a&&"{"===e[o])&&t.text===e[o]){if(++o===e.length){r.splice(-o,o);break}}else o=0}while(0!==a||n)return"{"===i.text&&"}"===r[r.length-1].text&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:i,end:t}}consumeArgs(e,t){if(t){if(t.length!==e+1)throw new iH("The length of delimiters doesn't match the number of args!");for(var r=t[0],n=0;n<r.length;n++){var i=this.popToken();if(r[n]!==i.text)throw new iH("Use of the macro doesn't match its definition",i)}}for(var a=[],o=0;o<e;o++)a.push(this.consumeArg(t&&t[o+1]).tokens);return a}countExpansion(e){if(this.expansionCount+=e,this.expansionCount>this.settings.maxExpand)throw new iH("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var t=this.popToken(),r=t.text,n=t.noexpand?null:this._getExpansion(r);if(null==n||e&&n.unexpandable){if(e&&null==n&&"\\"===r[0]&&!this.isDefined(r))throw new iH("Undefined control sequence: "+r);return this.pushToken(t),!1}this.countExpansion(1);var i=n.tokens,a=this.consumeArgs(n.numArgs,n.delimiters);if(n.numArgs){i=i.slice();for(var o=i.length-1;o>=0;--o){var l=i[o];if("#"===l.text){if(0===o)throw new iH("Incomplete placeholder at end of macro body",l);if("#"===(l=i[--o]).text)i.splice(o+1,1);else if(/^[1-9]$/.test(l.text))i.splice(o,2,...a[l.text-1]);else throw new iH("Not a valid argument number",l)}}}return this.pushTokens(i),i.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(!1===this.expandOnce()){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}}expandMacro(e){return this.macros.has(e)?this.expandTokens([new sh(e)]):void 0}expandTokens(e){var t=[],r=this.stack.length;for(this.pushTokens(e);this.stack.length>r;)if(!1===this.expandOnce(!0)){var n=this.stack.pop();n.treatAsRelax&&(n.noexpand=!1,n.treatAsRelax=!1),t.push(n)}return this.countExpansion(t.length),t}expandMacroAsText(e){var t=this.expandMacro(e);return t?t.map(e=>e.text).join(""):t}_getExpansion(e){var t=this.macros.get(e);if(null==t)return t;if(1===e.length){var r=this.lexer.catcodes[e];if(null!=r&&13!==r)return}var n="function"==typeof t?t(this):t;if("string"==typeof n){var i=0;if(n.includes("#"))for(var a=n.replace(/##/g,"");a.includes("#"+(i+1));)++i;for(var o=new s1(n,this.settings),l=[],s=o.lex();"EOF"!==s.text;)l.push(s),s=o.lex();return l.reverse(),{tokens:l,numArgs:i}}return n}isDefined(e){return this.macros.has(e)||oP.hasOwnProperty(e)||az.math.hasOwnProperty(e)||az.text.hasOwnProperty(e)||ce.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return null!=t?"string"==typeof t||"function"==typeof t||!t.unexpandable:oP.hasOwnProperty(e)&&!oP[e].primitive}constructor(e,t,r){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new s4(sc,t.macros),this.mode=r,this.stack=[]}}var cr=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,cn=Object.freeze({"₊":"+","₋":"-","₌":"=","₍":"(","₎":")","₀":"0","₁":"1","₂":"2","₃":"3","₄":"4","₅":"5","₆":"6","₇":"7","₈":"8","₉":"9",ₐ:"a",ₑ:"e",ₕ:"h",ᵢ:"i",ⱼ:"j",ₖ:"k",ₗ:"l",ₘ:"m",ₙ:"n",ₒ:"o",ₚ:"p",ᵣ:"r",ₛ:"s",ₜ:"t",ᵤ:"u",ᵥ:"v",ₓ:"x",ᵦ:"β",ᵧ:"γ",ᵨ:"ρ",ᵩ:"ϕ",ᵪ:"χ","⁺":"+","⁻":"-","⁼":"=","⁽":"(","⁾":")","⁰":"0","¹":"1","²":"2","³":"3","⁴":"4","⁵":"5","⁶":"6","⁷":"7","⁸":"8","⁹":"9",ᴬ:"A",ᴮ:"B",ᴰ:"D",ᴱ:"E",ᴳ:"G",ᴴ:"H",ᴵ:"I",ᴶ:"J",ᴷ:"K",ᴸ:"L",ᴹ:"M",ᴺ:"N",ᴼ:"O",ᴾ:"P",ᴿ:"R",ᵀ:"T",ᵁ:"U",ⱽ:"V",ᵂ:"W",ᵃ:"a",ᵇ:"b",ᶜ:"c",ᵈ:"d",ᵉ:"e",ᶠ:"f",ᵍ:"g",ʰ:"h",ⁱ:"i",ʲ:"j",ᵏ:"k",ˡ:"l",ᵐ:"m",ⁿ:"n",ᵒ:"o",ᵖ:"p",ʳ:"r",ˢ:"s",ᵗ:"t",ᵘ:"u",ᵛ:"v",ʷ:"w",ˣ:"x",ʸ:"y",ᶻ:"z",ᵝ:"β",ᵞ:"γ",ᵟ:"δ",ᵠ:"ϕ",ᵡ:"χ",ᶿ:"θ"}),ci={"́":{text:"\\'",math:"\\acute"},"̀":{text:"\\`",math:"\\grave"},"̈":{text:'\\"',math:"\\ddot"},"̃":{text:"\\~",math:"\\tilde"},"̄":{text:"\\=",math:"\\bar"},"̆":{text:"\\u",math:"\\breve"},"̌":{text:"\\v",math:"\\check"},"̂":{text:"\\^",math:"\\hat"},"̇":{text:"\\.",math:"\\dot"},"̊":{text:"\\r",math:"\\mathring"},"̋":{text:"\\H"},"̧":{text:"\\c"}},ca={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class co{expect(e,t){if(void 0===t&&(t=!0),this.fetch().text!==e)throw new iH("Expected '"+e+"', got '"+this.fetch().text+"'",this.fetch());t&&this.consume()}consume(){this.nextToken=null}fetch(){return null==this.nextToken&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var t=this.nextToken;this.consume(),this.gullet.pushToken(new sh("}")),this.gullet.pushTokens(e);var r=this.parseExpression(!1);return this.expect("}"),this.nextToken=t,r}parseExpression(e,t){for(var r=[];;){"math"===this.mode&&this.consumeSpaces();var n=this.fetch();if(co.endOfExpression.has(n.text)||t&&n.text===t||e&&oP[n.text]&&oP[n.text].infix)break;var i=this.parseAtom(t);if(i){if("internal"===i.type)continue}else break;r.push(i)}return"text"===this.mode&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(e){for(var t=-1,r=0;r<e.length;r++){var n=e[r];if("infix"===n.type){if(-1!==t)throw new iH("only one infix operator per group",n.token);t=r,i=n.replaceWith}}if(-1===t||!i)return e;var i,a,o,l=e.slice(0,t),s=e.slice(t+1);return a=1===l.length&&"ordgroup"===l[0].type?l[0]:{type:"ordgroup",mode:this.mode,body:l},o=1===s.length&&"ordgroup"===s[0].type?s[0]:{type:"ordgroup",mode:this.mode,body:s},["\\\\abovefrac"===i?this.callFunction(i,[a,e[t],o],[]):this.callFunction(i,[a,o],[])]}handleSupSubscript(e){var t,r=this.fetch(),n=r.text;this.consume(),this.consumeSpaces();do t=this.parseGroup(e);while((null==t?void 0:t.type)==="internal")if(!t)throw new iH("Expected group after '"+n+"'",r);return t}formatUnsupportedCmd(e){for(var t=[],r=0;r<e.length;r++)t.push({type:"textord",mode:"text",text:e[r]});var n={type:"text",mode:this.mode,body:t};return{type:"color",mode:this.mode,color:this.settings.errorColor,body:[n]}}parseAtom(e){var t,r,n=this.parseGroup("atom",e);if((null==n?void 0:n.type)==="internal"||"text"===this.mode)return n;for(;;){this.consumeSpaces();var i=this.fetch();if("\\limits"===i.text||"\\nolimits"===i.text){if(n&&"op"===n.type)n.limits="\\limits"===i.text,n.alwaysHandleSupSub=!0;else if(n&&"operatorname"===n.type)n.alwaysHandleSupSub&&(n.limits="\\limits"===i.text);else throw new iH("Limit controls must follow a math operator",i);this.consume()}else if("^"===i.text){if(t)throw new iH("Double superscript",i);t=this.handleSupSubscript("superscript")}else if("_"===i.text){if(r)throw new iH("Double subscript",i);r=this.handleSupSubscript("subscript")}else if("'"===i.text){if(t)throw new iH("Double superscript",i);var a={type:"textord",mode:this.mode,text:"\\prime"},o=[a];for(this.consume();"'"===this.fetch().text;)o.push(a),this.consume();"^"===this.fetch().text&&o.push(this.handleSupSubscript("superscript")),t={type:"ordgroup",mode:this.mode,body:o}}else if(cn[i.text]){var l=cr.test(i.text),s=[];for(s.push(new sh(cn[i.text])),this.consume();;){var c=this.fetch().text;if(!cn[c]||cr.test(c)!==l)break;s.unshift(new sh(cn[c])),this.consume()}var u=this.subparse(s);l?r={type:"ordgroup",mode:"math",body:u}:t={type:"ordgroup",mode:"math",body:u}}else break}return t||r?{type:"supsub",mode:this.mode,base:n,sup:t,sub:r}:n}parseFunction(e,t){var r=this.fetch(),n=r.text,i=oP[n];if(!i)return null;if(this.consume(),t&&"atom"!==t&&!i.allowedInArgument)throw new iH("Got function '"+n+"' with no arguments"+(t?" as "+t:""),r);if("text"!==this.mode||i.allowedInText){if("math"===this.mode&&!1===i.allowedInMath)throw new iH("Can't use function '"+n+"' in math mode",r)}else throw new iH("Can't use function '"+n+"' in text mode",r);var{args:a,optArgs:o}=this.parseArguments(n,i);return this.callFunction(n,a,o,r,e)}callFunction(e,t,r,n,i){var a=oP[e];if(a&&a.handler)return a.handler({funcName:e,parser:this,token:n,breakOnTokenText:i},t,r);throw new iH("No function handler for "+e)}parseArguments(e,t){var r=t.numArgs+t.numOptionalArgs;if(0===r)return{args:[],optArgs:[]};for(var n=[],i=[],a=0;a<r;a++){var o=t.argTypes&&t.argTypes[a],l=a<t.numOptionalArgs;("primitive"in t&&t.primitive&&null==o||"sqrt"===t.type&&1===a&&null==i[0])&&(o="primitive");var s=this.parseGroupOfType("argument to '"+e+"'",o,l);if(l)i.push(s);else if(null!=s)n.push(s);else throw new iH("Null argument, please report this as a bug")}return{args:n,optArgs:i}}parseGroupOfType(e,t,r){switch(t){case"color":return this.parseColorGroup(r);case"size":return this.parseSizeGroup(r);case"url":return this.parseUrlGroup(r);case"math":case"text":return this.parseArgumentGroup(r,t);case"hbox":var n=this.parseArgumentGroup(r,"text");return null!=n?{type:"styling",mode:n.mode,body:[n],style:"text",resetFont:!0}:null;case"raw":var i=this.parseStringGroup("raw",r);return null!=i?{type:"raw",mode:"text",string:i.text}:null;case"primitive":if(r)throw new iH("A primitive argument cannot be optional");var a=this.parseGroup(e);if(null==a)throw new iH("Expected group as "+e,this.fetch());return a;case"original":case null:case void 0:return this.parseArgumentGroup(r);default:throw new iH("Unknown group type as "+e,this.fetch())}}consumeSpaces(){for(;" "===this.fetch().text;)this.consume()}parseStringGroup(e,t){var r,n=this.gullet.scanArgument(t);if(null==n)return null;for(var i="";"EOF"!==(r=this.fetch()).text;)i+=r.text,this.consume();return this.consume(),n.text=i,n}parseRegexGroup(e,t){for(var r,n=this.fetch(),i=n,a="";"EOF"!==(r=this.fetch()).text&&e.test(a+r.text);)a+=(i=r).text,this.consume();if(""===a)throw new iH("Invalid "+t+": '"+n.text+"'",n);return n.range(i,a)}parseColorGroup(e){var t=this.parseStringGroup("color",e);if(null==t)return null;var r=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(t.text);if(!r)throw new iH("Invalid color: '"+t.text+"'",t);var n=r[0];return/^[0-9a-f]{6}$/i.test(n)&&(n="#"+n),{type:"color-token",mode:this.mode,color:n}}parseSizeGroup(e){var t,r=!1;if(this.gullet.consumeSpaces(),!(t=e||"{"===this.gullet.future().text?this.parseStringGroup("size",e):this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size")))return null;e||0!==t.text.length||(t.text="0pt",r=!0);var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t.text);if(!n)throw new iH("Invalid size: '"+t.text+"'",t);var i={number:+(n[1]+n[2]),unit:n[3]};if(!as(i))throw new iH("Invalid unit: '"+i.unit+"'",t);return{type:"size",mode:this.mode,value:i,isBlank:r}}parseUrlGroup(e){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var t=this.parseStringGroup("url",e);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),null==t)return null;var r=t.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:r}}parseArgumentGroup(e,t){var r=this.gullet.scanArgument(e);if(null==r)return null;var n=this.mode;t&&this.switchMode(t),this.gullet.beginGroup();var i=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var a={type:"ordgroup",mode:this.mode,loc:r.loc,body:i};return t&&this.switchMode(n),a}parseGroup(e,t){var r,n=this.fetch(),i=n.text;if("{"===i||"\\begingroup"===i){this.consume();var a="{"===i?"}":"\\endgroup";this.gullet.beginGroup();var o=this.parseExpression(!1,a),l=this.fetch();this.expect(a),this.gullet.endGroup(),r={type:"ordgroup",mode:this.mode,loc:su.range(n,l),body:o,semisimple:"\\begingroup"===i||void 0}}else if(null==(r=this.parseFunction(t,e)||this.parseSymbol())&&"\\"===i[0]&&!ce.hasOwnProperty(i)){if(this.settings.throwOnError)throw new iH("Undefined control sequence: "+i,n);r=this.formatUnsupportedCmd(i),this.consume()}return r}formLigatures(e){for(var t=e.length-1,r=0;r<t;++r){var n=e[r];if("textord"===n.type){var i=n.text,a=e[r+1];if(a&&"textord"===a.type){if("-"===i&&"-"===a.text){var o=e[r+2];r+1<t&&o&&"textord"===o.type&&"-"===o.text?(e.splice(r,3,{type:"textord",mode:"text",loc:su.range(n,o),text:"---"}),t-=2):(e.splice(r,2,{type:"textord",mode:"text",loc:su.range(n,a),text:"--"}),t-=1)}("'"===i||"`"===i)&&a.text===i&&(e.splice(r,2,{type:"textord",mode:"text",loc:su.range(n,a),text:i+i}),t-=1)}}}}parseSymbol(){var e=this.fetch(),t=e.text;if(/^\\verb[^a-zA-Z]/.test(t)){this.consume();var r=t.slice(5),n="*"===r.charAt(0);if(n&&(r=r.slice(1)),r.length<2||r.charAt(0)!==r.slice(-1))throw new iH("\\verb assertion failed --\n please report what input caused this bug");return{type:"verb",mode:"text",body:r=r.slice(1,-1),star:n}}ca.hasOwnProperty(t[0])&&!az[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=ca[t[0]]+t.slice(1));var i=sZ.exec(t);if(i&&("i"===(t=t.substring(0,i.index))?t="ı":"j"===t&&(t="ȷ")),az[this.mode][t]){this.settings.strict&&"math"===this.mode&&a6.includes(t)&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+t[0]+'" used in math mode',e);var a,o,l=az[this.mode][t].group,s=su.range(e);a=o=l in ly?{type:"atom",mode:this.mode,family:l,loc:s,text:t}:{type:l,mode:this.mode,loc:s,text:t}}else{if(!(t.charCodeAt(0)>=128))return null;this.settings.strict&&(ae(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)),a={type:"textord",mode:"text",loc:su.range(e),text:t}}if(this.consume(),i)for(var c=0;c<i[0].length;c++){var u=i[0][c];if(!ci[u])throw new iH("Unknown accent ' "+u+"'",e);var h=ci[u][this.mode]||ci[u].text;if(!h)throw new iH("Accent "+u+" unsupported in "+this.mode+" mode",e);a={type:"accent",mode:this.mode,loc:su.range(e),label:h,isStretchy:!1,isShifty:!0,base:a}}return a}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 ct(e,t,this.mode),this.settings=t,this.leftrightDepth=0,this.nextToken=null}}co.endOfExpression=new Set(["}","\\endgroup","\\end","\\right","&"]);var cl=function(e,t){if(!("string"==typeof e||e instanceof String))throw TypeError("KaTeX can only parse string typed expression");var r=new co(e,t);delete r.gullet.macros.current["\\df@tag"];var n=r.parse();if(delete r.gullet.macros.current["\\current@color"],delete r.gullet.macros.current["\\color"],r.gullet.macros.get("\\df@tag")){if(!t.displayMode)throw new iH("\\tag works only in display equations");n=[{type:"tag",mode:"text",body:n,tag:r.subparse([new sh("\\df@tag")])}]}return n};"undefined"!=typeof document&&"CSS1Compat"!==document.compatMode&&"undefined"!=typeof console&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype.");var cs=function(e,t,r){if(r.throwOnError||!(e instanceof iH))throw e;var n=oy(["katex-error"],[new aw(t)]);return n.setAttribute("title",e.toString()),n.setAttribute("style","color:"+r.errorColor),n},cc=function(e,t){var r=new iQ(t);try{var n=cl(e,r);return lu(n,e,r)}catch(t){return cs(t,e,r)}},cu={renderToString:function(e,t){return cc(e,t).toMarkup()}};let ch={},cp=[];function cm(e){let t=e||ch;return function(e,r){rk(e,"element",function(e,n){let i,a=Array.isArray(e.properties.className)?e.properties.className:cp,o=a.includes("language-math"),l=a.includes("math-display"),s=a.includes("math-inline"),c=l;if(!o&&!l&&!s)return;let u=n[n.length-1],h=e;if("code"===e.tagName&&o&&u&&"element"===u.type&&"pre"===u.tagName&&(h=u,u=n[n.length-2],c=!0),!u)return;let p=function(e,t){let r,n="children"in e?e.children:[],i=iF(e),a=ij(e,{whitespace:(t||{}).whitespace||"normal",breakBefore:!1,breakAfter:!1}),o=[];("text"===e.type||"comment"===e.type)&&o.push(...iq(e,{whitespace:a,breakBefore:!0,breakAfter:!0}));let l=-1;for(;++l<n.length;)o.push(...function e(t,r,n){return"element"===t.type?function(t,r,n){let i,a,o=ij(t,n),l=t.children||[],s=-1,c=[];if(iD(t))return c;for(iR(t)||iO(t)&&iM(r,t,iO)?a="\n":iB(t)?(i=2,a=2):iF(t)&&(i=1,a=1);++s<l.length;)c=c.concat(e(l[s],t,{whitespace:o,breakBefore:s?void 0:i,breakAfter:s<l.length-1?iR(l[s+1]):a}));return iP(t)&&iM(r,t,iP)&&c.push(" "),i&&c.unshift(i),a&&c.push(a),c}(t,r,n):"text"===t.type?"normal"===n.whitespace?iq(t,n):[String(t.value)]:[]}(n[l],e,{whitespace:a,breakBefore:l?void 0:i,breakAfter:l<n.length-1?iR(n[l+1]):i}));let s=[];for(l=-1;++l<o.length;){let e=o[l];"number"==typeof e?void 0!==r&&e>r&&(r=e):e&&(void 0!==r&&r>-1&&s.push("\n".repeat(r)||" "),r=-1,s.push(e))}return s.join("")}(h,{whitespace:"pre"});try{i=cu.renderToString(p,{...t,displayMode:c,throwOnError:!0})}catch(o){let a=o.name.toLowerCase();r.message("Could not render math with KaTeX",{ancestors:[...n,e],cause:o,place:e.position,ruleId:a,source:"rehype-katex"});try{i=cu.renderToString(p,{...t,displayMode:c,strict:"ignore",throwOnError:!1})}catch(e){i=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(o)},children:[{type:"text",value:p}]}]}}if("string"==typeof i){var m;i=(m=i,iC(function(e){let t=document.createElement("template");return t.innerHTML=e,t.content}(m),{})||{type:"root",children:[]}).children}let d=u.children.indexOf(h);return u.children.splice(d,1,...i),rw})}}let cd=["ariaDescribedBy","ariaLabel","ariaLabelledBy"],cf={ancestors:{tbody:["table"],td:["table"],th:["table"],thead:["table"],tfoot:["table"],tr:["table"]},attributes:{a:[...cd,"dataFootnoteBackref","dataFootnoteRef",["className","data-footnote-backref"],"href"],blockquote:["cite"],code:[["className",/^language-./]],del:["cite"],div:["itemScope","itemType"],dl:[...cd],h2:[["className","sr-only"]],img:[...cd,"longDesc","src"],input:[["disabled",!0],["type","checkbox"]],ins:["cite"],li:[["className","task-list-item"]],ol:[...cd,["className","contains-task-list"]],q:["cite"],section:["dataFootnotes",["className","footnotes"]],source:["srcSet"],summary:[...cd],table:[...cd],ul:[...cd,["className","contains-task-list"]],"*":["abbr","accept","acceptCharset","accessKey","action","align","alt","axis","border","cellPadding","cellSpacing","char","charOff","charSet","checked","clear","colSpan","color","cols","compact","coords","dateTime","dir","encType","frame","hSpace","headers","height","hrefLang","htmlFor","id","isMap","itemProp","label","lang","maxLength","media","method","multiple","name","noHref","noShade","noWrap","open","prompt","readOnly","rev","rowSpan","rows","rules","scope","selected","shape","size","span","start","summary","tabIndex","title","useMap","vAlign","value","width"]},clobber:["ariaDescribedBy","ariaLabelledBy","id","name"],clobberPrefix:"user-content-",protocols:{cite:["http","https"],href:["http","https","irc","ircs","mailto","xmpp"],longDesc:["http","https"],src:["http","https"]},required:{input:{disabled:!0,type:"checkbox"}},strip:["script"],tagNames:["a","b","blockquote","br","code","dd","del","details","div","dl","dt","em","h1","h2","h3","h4","h5","h6","hr","i","img","input","ins","kbd","li","ol","p","picture","pre","q","rp","rt","ruby","s","samp","section","source","span","strike","strong","sub","summary","sup","table","tbody","td","tfoot","th","thead","tr","tt","ul","var"]},cg={}.hasOwnProperty;function cy(e,t){if(t&&"object"==typeof t)switch("string"==typeof t.type?t.type:""){case"comment":var r=e,n=t;if(r.schema.allowComments){let e="string"==typeof n.value?n.value:"",t=e.indexOf("-->"),r={type:"comment",value:t<0?e:e.slice(0,t)};return cw(r,n),r}return;case"doctype":var i=e,a=t;if(i.schema.allowDoctypes){let e={type:"doctype"};return cw(e,a),e}return;case"element":return function(e,t){let r="string"==typeof t.tagName?t.tagName:"";e.stack.push(r);let n=cv(e,t.children),i=function(e,t){let r,n=e.stack[e.stack.length-1],i=e.schema.attributes,a=e.schema.required,o=i&&cg.call(i,n)?i[n]:void 0,l=i&&cg.call(i,"*")?i["*"]:void 0,s=t&&"object"==typeof t?t:{},c={};for(r in s)if(cg.call(s,r)){let t=s[r],n=cb(e,ck(o,r),r,t);null==n&&(n=cb(e,ck(l,r),r,t)),null!=n&&(c[r]=n)}if(a&&cg.call(a,n)){let e=a[n];for(r in e)cg.call(e,r)&&!cg.call(c,r)&&(c[r]=e[r])}return c}(e,t.properties);e.stack.pop();let a=!1;if(r&&"*"!==r&&(!e.schema.tagNames||e.schema.tagNames.includes(r))&&(a=!0,e.schema.ancestors&&cg.call(e.schema.ancestors,r))){let t=e.schema.ancestors[r],n=-1;for(a=!1;++n<t.length;)e.stack.includes(t[n])&&(a=!0)}if(!a)return e.schema.strip&&!e.schema.strip.includes(r)?n:void 0;let o={type:"element",tagName:r,properties:i,children:n};return cw(o,t),o}(e,t);case"root":var o=e,l=t;let s={type:"root",children:cv(o,l.children)};return cw(s,l),s;case"text":var c=t;let u={type:"text",value:"string"==typeof c.value?c.value:""};return cw(u,c),u}}function cv(e,t){let r=[];if(Array.isArray(t)){let n=-1;for(;++n<t.length;){let i=cy(e,t[n]);i&&(Array.isArray(i)?r.push(...i):r.push(i))}}return r}function cb(e,t,r,n){return t?Array.isArray(n)?function(e,t,r,n){let i=-1,a=[];for(;++i<n.length;){let o=cx(e,t,r,n[i]);("number"==typeof o||"string"==typeof o)&&a.push(o)}return a}(e,t,r,n):cx(e,t,r,n):void 0}function cx(e,t,r,n){if(("boolean"==typeof n||"number"==typeof n||"string"==typeof n)&&function(e,t,r){let n=e.schema.protocols&&cg.call(e.schema.protocols,t)?e.schema.protocols[t]:void 0;if(!n||0===n.length)return!0;let i=String(r),a=i.indexOf(":"),o=i.indexOf("?"),l=i.indexOf("#"),s=i.indexOf("/");if(a<0||s>-1&&a>s||o>-1&&a>o||l>-1&&a>l)return!0;let c=-1;for(;++c<n.length;){let e=n[c];if(a===e.length&&i.slice(0,e.length)===e)return!0}return!1}(e,r,n)){if("object"==typeof t&&t.length>1){let e=!1,r=0;for(;++r<t.length;){let i=t[r];if(i&&"object"==typeof i&&"flags"in i){if(i.test(String(n))){e=!0;break}}else if(i===n){e=!0;break}}if(!e)return}return e.schema.clobber&&e.schema.clobberPrefix&&e.schema.clobber.includes(r)?e.schema.clobberPrefix+n:n}}function cw(e,t){let r=ew(t);t.data&&(e.data=rm(t.data)),r&&(e.position=r)}function ck(e,t){let r,n=-1;if(e)for(;++n<e.length;){let i=e[n],a="string"==typeof i?i:i[0];if(a===t)return i;"data*"===a&&(r=i)}if(t.length>4&&"data"===t.slice(0,4).toLowerCase())return r}function cA(e){return function(t){var r=t,n=e;let i={type:"root",children:[]},a=cy({schema:n?{...cf,...n}:cf,stack:[]},r);return a&&(Array.isArray(a)?1===a.length?i=a[0]:i.children=a:i=a),i}}var cS=Object.defineProperty,cC=Object.getOwnPropertyDescriptor,cT=Object.getOwnPropertyNames,c_=Object.prototype.hasOwnProperty,cM=(e,t,r,n)=>{if(t&&"object"==typeof t||"function"==typeof t)for(var i,a=cT(t),o=0,l=a.length;o<l;o++)i=a[o],c_.call(e,i)||i===r||cS(e,i,{get:(e=>t[e]).bind(null,i),enumerable:!(n=cC(t,i))||n.enumerable});return e};e.s(["createOnigurumaEngine",()=>cG,"getDefaultWasmLoader",()=>cU,"loadWasm",()=>cq,"setDefaultWasmLoader",()=>cH],88361);var cE=e.i(67034),cz=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function cN(){return"undefined"!=typeof performance?performance.now():Date.now()}let cI=(e,t)=>e+(t-e%t)%t;async function cL(e){let t,r,n={};function i(e){r=e,n.HEAPU8=new Uint8Array(e),n.HEAPU32=new Uint32Array(e)}let a="undefined"!=typeof TextDecoder?new TextDecoder("utf8"):void 0;function o(e,t){return e?function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1024,n=t+r,i=t;for(;e[i]&&!(i>=n);)++i;if(i-t>16&&e.buffer&&a)return a.decode(e.subarray(t,i));let o="";for(;t<i;){let r=e[t++];if(!(128&r)){o+=String.fromCharCode(r);continue}let n=63&e[t++];if((224&r)==192){o+=String.fromCharCode((31&r)<<6|n);continue}let i=63&e[t++];if((r=(240&r)==224?(15&r)<<12|n<<6|i:(7&r)<<18|n<<12|i<<6|63&e[t++])<65536)o+=String.fromCharCode(r);else{let e=r-65536;o+=String.fromCharCode(55296|e>>10,56320|1023&e)}}return o}(n.HEAPU8,e,t):""}let l={emscripten_get_now:cN,emscripten_memcpy_big:function(e,t,r){n.HEAPU8.copyWithin(e,t,t+r)},emscripten_resize_heap:function(e){let a=n.HEAPU8.length;if((e>>>=0)>0x80000000)return!1;for(let n=1;n<=4;n*=2){let o=a*(1+.2/n);if(o=Math.min(o,e+0x6000000),function(e){try{return t.grow(e-r.byteLength+65535>>>16),i(t.buffer),1}catch(e){}}(Math.min(0x80000000,cI(Math.max(e,o),65536))))return!0}return!1},fd_write:()=>0};async function s(){let r=await e({env:l,wasi_snapshot_preview1:l});i((t=r.memory).buffer),Object.assign(n,r),n.UTF8ToString=o}return await s(),n}var cR=Object.defineProperty,cP=(e,t,r)=>((e,t,r)=>t in e?cR(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r);let cB=null;class cO{static _utf8ByteLength(e){let t=0;for(let r=0,n=e.length;r<n;r++){let i=e.charCodeAt(r),a=i,o=!1;if(i>=55296&&i<=56319&&r+1<n){let t=e.charCodeAt(r+1);t>=56320&&t<=57343&&(a=(i-55296<<10)+65536|t-56320,o=!0)}a<=127?t+=1:a<=2047?t+=2:a<=65535?t+=3:t+=4,o&&r++}return t}createString(e){let t=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,t),t}constructor(e){cP(this,"utf16Length"),cP(this,"utf8Length"),cP(this,"utf16Value"),cP(this,"utf8Value"),cP(this,"utf16OffsetToUtf8"),cP(this,"utf8OffsetToUtf16");let t=e.length,r=cO._utf8ByteLength(e),n=r!==t,i=n?new Uint32Array(t+1):null;n&&(i[t]=r);let a=n?new Uint32Array(r+1):null;n&&(a[r]=t);let o=new Uint8Array(r),l=0;for(let r=0;r<t;r++){let s=e.charCodeAt(r),c=s,u=!1;if(s>=55296&&s<=56319&&r+1<t){let t=e.charCodeAt(r+1);t>=56320&&t<=57343&&(c=(s-55296<<10)+65536|t-56320,u=!0)}n&&(i[r]=l,u&&(i[r+1]=l),c<=127?a[l+0]=r:c<=2047?(a[l+0]=r,a[l+1]=r):c<=65535?(a[l+0]=r,a[l+1]=r,a[l+2]=r):(a[l+0]=r,a[l+1]=r,a[l+2]=r,a[l+3]=r)),c<=127?o[l++]=c:(c<=2047?o[l++]=192|(1984&c)>>>6:(c<=65535?o[l++]=224|(61440&c)>>>12:(o[l++]=240|(1835008&c)>>>18,o[l++]=128|(258048&c)>>>12),o[l++]=128|(4032&c)>>>6),o[l++]=128|(63&c)>>>0),u&&r++}this.utf16Length=t,this.utf8Length=r,this.utf16Value=e,this.utf8Value=o,this.utf16OffsetToUtf8=i,this.utf8OffsetToUtf16=a}}let cD=class e{convertUtf8OffsetToUtf16(e){return this.utf8OffsetToUtf16?e<0?0:e>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[e]:e}convertUtf16OffsetToUtf8(e){return this.utf16OffsetToUtf8?e<0?0:e>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[e]:e}dispose(){this.ptr===e._sharedPtr?e._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}constructor(t){if(cP(this,"id",++e.LAST_ID),cP(this,"_onigBinding"),cP(this,"content"),cP(this,"utf16Length"),cP(this,"utf8Length"),cP(this,"utf16OffsetToUtf8"),cP(this,"utf8OffsetToUtf16"),cP(this,"ptr"),!cB)throw new cz("Must invoke loadWasm first.");this._onigBinding=cB,this.content=t;let r=new cO(t);this.utf16Length=r.utf16Length,this.utf8Length=r.utf8Length,this.utf16OffsetToUtf8=r.utf16OffsetToUtf8,this.utf8OffsetToUtf16=r.utf8OffsetToUtf16,this.utf8Length<1e4&&!e._sharedPtrInUse?(e._sharedPtr||(e._sharedPtr=cB.omalloc(1e4)),e._sharedPtrInUse=!0,cB.HEAPU8.set(r.utf8Value,e._sharedPtr),this.ptr=e._sharedPtr):this.ptr=r.createString(cB)}};cP(cD,"LAST_ID",0),cP(cD,"_sharedPtr",0),cP(cD,"_sharedPtrInUse",!1);class cF{dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,t,r){let n=0;if("number"==typeof r&&(n=r),"string"==typeof e){e=new cD(e);let r=this._findNextMatchSync(e,t,!1,n);return e.dispose(),r}return this._findNextMatchSync(e,t,!1,n)}_findNextMatchSync(e,t,r,n){let i=this._onigBinding,a=i.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(t),n);if(0===a)return null;let o=i.HEAPU32,l=a/4,s=o[l++],c=o[l++],u=[];for(let t=0;t<c;t++){let r=e.convertUtf8OffsetToUtf16(o[l++]),n=e.convertUtf8OffsetToUtf16(o[l++]);u[t]={start:r,end:n,length:n-r}}return{index:s,captureIndices:u}}constructor(e){if(cP(this,"_onigBinding"),cP(this,"_ptr"),!cB)throw new cz("Must invoke loadWasm first.");let t=[],r=[];for(let n=0,i=e.length;n<i;n++){let i=new cO(e[n]);t[n]=i.createString(cB),r[n]=i.utf8Length}let n=cB.omalloc(4*e.length);cB.HEAPU32.set(t,n/4);let i=cB.omalloc(4*e.length);cB.HEAPU32.set(r,i/4);let a=cB.createOnigScanner(n,i,e.length);for(let r=0,n=e.length;r<n;r++)cB.ofree(t[r]);cB.ofree(i),cB.ofree(n),0===a&&function(e){throw new cz(e.UTF8ToString(e.getLastOnigError()))}(cB),this._onigBinding=cB,this._ptr=a}}function cq(e){return t||(t=async function(){cB=await cL(async t=>{let r=e;if("function"==typeof(r=await r)&&(r=await r(t)),"function"==typeof r&&(r=await r(t)),"function"==typeof r.instantiator)r=await r.instantiator(t);else if("function"==typeof r.default)r=await r.default(t);else{var n,i,a,o,l,s;if(void 0!==r.data&&(r=r.data),n=r,"undefined"!=typeof Response&&n instanceof Response){r="function"==typeof WebAssembly.instantiateStreaming?await (l=r,e=>WebAssembly.instantiateStreaming(l,e))(t):await (s=r,async e=>{let t=await s.arrayBuffer();return WebAssembly.instantiate(t,e)})(t)}else(i=r,"undefined"!=typeof ArrayBuffer&&(i instanceof ArrayBuffer||ArrayBuffer.isView(i))||void 0!==cE.Buffer&&(null==(a=(o=cE.Buffer).isBuffer)?void 0:a.call(o,i))||"undefined"!=typeof SharedArrayBuffer&&i instanceof SharedArrayBuffer||"undefined"!=typeof Uint32Array&&i instanceof Uint32Array||r instanceof WebAssembly.Module)?r=await cj(r)(t):"default"in r&&r.default instanceof WebAssembly.Module&&(r=await cj(r.default)(t))}return"instance"in r&&(r=r.instance),"exports"in r&&(r=r.exports),r})}())}function cj(e){return t=>WebAssembly.instantiate(e,t)}function cH(e){r=e}function cU(){return r}async function cG(e){return e&&await cq(e),{createScanner:e=>new cF(e.map(e=>"string"==typeof e?e:e.source)),createString:e=>new cD(e)}}var cV=e.i(88361),cW=((e,t)=>{let r={};for(var n in e)cS(r,n,{get:e[n],enumerable:!0});return t||cS(r,Symbol.toStringTag,{value:"Module"}),r})({});((e,t,r)=>(cM(e,t,"default"),r&&cM(r,t,"default")))(cW,cV);let c$=[{id:"abap",name:"ABAP",import:()=>e.A(16690)},{id:"actionscript-3",name:"ActionScript",import:()=>e.A(74435)},{id:"ada",name:"Ada",import:()=>e.A(96339)},{id:"angular-html",name:"Angular HTML",import:()=>e.A(96546)},{id:"angular-ts",name:"Angular TypeScript",import:()=>e.A(60308)},{id:"apache",name:"Apache Conf",import:()=>e.A(8734)},{id:"apex",name:"Apex",import:()=>e.A(2952)},{id:"apl",name:"APL",import:()=>e.A(14026)},{id:"applescript",name:"AppleScript",import:()=>e.A(10042)},{id:"ara",name:"Ara",import:()=>e.A(27701)},{id:"asciidoc",name:"AsciiDoc",aliases:["adoc"],import:()=>e.A(64940)},{id:"asm",name:"Assembly",import:()=>e.A(81996)},{id:"astro",name:"Astro",import:()=>e.A(85223)},{id:"awk",name:"AWK",import:()=>e.A(77689)},{id:"ballerina",name:"Ballerina",import:()=>e.A(87861)},{id:"bat",name:"Batch File",aliases:["batch"],import:()=>e.A(69047)},{id:"beancount",name:"Beancount",import:()=>e.A(66005)},{id:"berry",name:"Berry",aliases:["be"],import:()=>e.A(64129)},{id:"bibtex",name:"BibTeX",import:()=>e.A(86785)},{id:"bicep",name:"Bicep",import:()=>e.A(34475)},{id:"bird2",name:"BIRD2 Configuration",aliases:["bird"],import:()=>e.A(73197)},{id:"blade",name:"Blade",import:()=>e.A(84291)},{id:"bsl",name:"1C (Enterprise)",aliases:["1c"],import:()=>e.A(54810)},{id:"c",name:"C",import:()=>e.A(15630)},{id:"c3",name:"C3",import:()=>e.A(21406)},{id:"cadence",name:"Cadence",aliases:["cdc"],import:()=>e.A(28418)},{id:"cairo",name:"Cairo",import:()=>e.A(96018)},{id:"clarity",name:"Clarity",import:()=>e.A(68805)},{id:"clojure",name:"Clojure",aliases:["clj"],import:()=>e.A(85670)},{id:"cmake",name:"CMake",import:()=>e.A(50277)},{id:"cobol",name:"COBOL",import:()=>e.A(8435)},{id:"codeowners",name:"CODEOWNERS",import:()=>e.A(77655)},{id:"codeql",name:"CodeQL",aliases:["ql"],import:()=>e.A(93919)},{id:"coffee",name:"CoffeeScript",aliases:["coffeescript"],import:()=>e.A(99510)},{id:"common-lisp",name:"Common Lisp",aliases:["lisp"],import:()=>e.A(14583)},{id:"coq",name:"Coq",import:()=>e.A(38305)},{id:"cpp",name:"C++",aliases:["c++"],import:()=>e.A(62895)},{id:"crystal",name:"Crystal",import:()=>e.A(15822)},{id:"csharp",name:"C#",aliases:["c#","cs"],import:()=>e.A(56548)},{id:"css",name:"CSS",import:()=>e.A(68853)},{id:"csv",name:"CSV",import:()=>e.A(8072)},{id:"cue",name:"CUE",import:()=>e.A(79420)},{id:"cypher",name:"Cypher",aliases:["cql"],import:()=>e.A(1081)},{id:"d",name:"D",import:()=>e.A(32086)},{id:"dart",name:"Dart",import:()=>e.A(8814)},{id:"dax",name:"DAX",import:()=>e.A(6010)},{id:"desktop",name:"Desktop",import:()=>e.A(11671)},{id:"diff",name:"Diff",import:()=>e.A(99264)},{id:"docker",name:"Dockerfile",aliases:["dockerfile"],import:()=>e.A(64927)},{id:"dotenv",name:"dotEnv",import:()=>e.A(86855)},{id:"dream-maker",name:"Dream Maker",import:()=>e.A(55357)},{id:"edge",name:"Edge",import:()=>e.A(40814)},{id:"elixir",name:"Elixir",import:()=>e.A(34593)},{id:"elm",name:"Elm",import:()=>e.A(80402)},{id:"emacs-lisp",name:"Emacs Lisp",aliases:["elisp"],import:()=>e.A(59962)},{id:"erb",name:"ERB",import:()=>e.A(55306)},{id:"erlang",name:"Erlang",aliases:["erl"],import:()=>e.A(79291)},{id:"fennel",name:"Fennel",import:()=>e.A(56334)},{id:"fish",name:"Fish",import:()=>e.A(55953)},{id:"fluent",name:"Fluent",aliases:["ftl"],import:()=>e.A(72286)},{id:"fortran-fixed-form",name:"Fortran (Fixed Form)",aliases:["f","for","f77"],import:()=>e.A(9599)},{id:"fortran-free-form",name:"Fortran (Free Form)",aliases:["f90","f95","f03","f08","f18"],import:()=>e.A(17187)},{id:"fsharp",name:"F#",aliases:["f#","fs"],import:()=>e.A(6583)},{id:"gdresource",name:"GDResource",aliases:["tscn","tres"],import:()=>e.A(350)},{id:"gdscript",name:"GDScript",aliases:["gd"],import:()=>e.A(18592)},{id:"gdshader",name:"GDShader",import:()=>e.A(64292)},{id:"genie",name:"Genie",import:()=>e.A(51227)},{id:"gherkin",name:"Gherkin",import:()=>e.A(81674)},{id:"git-commit",name:"Git Commit Message",import:()=>e.A(65886)},{id:"git-rebase",name:"Git Rebase Message",import:()=>e.A(43635)},{id:"gleam",name:"Gleam",import:()=>e.A(69752)},{id:"glimmer-js",name:"Glimmer JS",aliases:["gjs"],import:()=>e.A(20210)},{id:"glimmer-ts",name:"Glimmer TS",aliases:["gts"],import:()=>e.A(52204)},{id:"glsl",name:"GLSL",import:()=>e.A(15932)},{id:"gn",name:"GN",import:()=>e.A(46517)},{id:"gnuplot",name:"Gnuplot",import:()=>e.A(34810)},{id:"go",name:"Go",import:()=>e.A(18233)},{id:"graphql",name:"GraphQL",aliases:["gql"],import:()=>e.A(27502)},{id:"groovy",name:"Groovy",import:()=>e.A(83131)},{id:"hack",name:"Hack",import:()=>e.A(66363)},{id:"haml",name:"Ruby Haml",import:()=>e.A(36482)},{id:"handlebars",name:"Handlebars",aliases:["hbs"],import:()=>e.A(19104)},{id:"haskell",name:"Haskell",aliases:["hs"],import:()=>e.A(82274)},{id:"haxe",name:"Haxe",import:()=>e.A(43593)},{id:"hcl",name:"HashiCorp HCL",import:()=>e.A(92582)},{id:"hjson",name:"Hjson",import:()=>e.A(32395)},{id:"hlsl",name:"HLSL",import:()=>e.A(36975)},{id:"html",name:"HTML",import:()=>e.A(15475)},{id:"html-derivative",name:"HTML (Derivative)",import:()=>e.A(36812)},{id:"http",name:"HTTP",import:()=>e.A(22332)},{id:"hurl",name:"Hurl",import:()=>e.A(77996)},{id:"hxml",name:"HXML",import:()=>e.A(12671)},{id:"hy",name:"Hy",import:()=>e.A(98975)},{id:"imba",name:"Imba",import:()=>e.A(21794)},{id:"ini",name:"INI",aliases:["properties"],import:()=>e.A(12237)},{id:"java",name:"Java",import:()=>e.A(24314)},{id:"javascript",name:"JavaScript",aliases:["js","cjs","mjs"],import:()=>e.A(92799)},{id:"jinja",name:"Jinja",import:()=>e.A(535)},{id:"jison",name:"Jison",import:()=>e.A(99868)},{id:"json",name:"JSON",import:()=>e.A(92658)},{id:"json5",name:"JSON5",import:()=>e.A(45390)},{id:"jsonc",name:"JSON with Comments",import:()=>e.A(59901)},{id:"jsonl",name:"JSON Lines",import:()=>e.A(44018)},{id:"jsonnet",name:"Jsonnet",import:()=>e.A(32597)},{id:"jssm",name:"JSSM",aliases:["fsl"],import:()=>e.A(86493)},{id:"jsx",name:"JSX",import:()=>e.A(87672)},{id:"julia",name:"Julia",aliases:["jl"],import:()=>e.A(48045)},{id:"just",name:"Just",import:()=>e.A(4538)},{id:"kdl",name:"KDL",import:()=>e.A(22051)},{id:"kotlin",name:"Kotlin",aliases:["kt","kts"],import:()=>e.A(78014)},{id:"kusto",name:"Kusto",aliases:["kql"],import:()=>e.A(11938)},{id:"latex",name:"LaTeX",import:()=>e.A(82697)},{id:"lean",name:"Lean 4",aliases:["lean4"],import:()=>e.A(6774)},{id:"less",name:"Less",import:()=>e.A(57069)},{id:"liquid",name:"Liquid",import:()=>e.A(33954)},{id:"llvm",name:"LLVM IR",import:()=>e.A(69445)},{id:"log",name:"Log file",import:()=>e.A(32210)},{id:"logo",name:"Logo",import:()=>e.A(17136)},{id:"lua",name:"Lua",import:()=>e.A(47287)},{id:"luau",name:"Luau",import:()=>e.A(98173)},{id:"make",name:"Makefile",aliases:["makefile"],import:()=>e.A(18877)},{id:"markdown",name:"Markdown",aliases:["md"],import:()=>e.A(59142)},{id:"marko",name:"Marko",import:()=>e.A(44609)},{id:"matlab",name:"MATLAB",import:()=>e.A(23845)},{id:"mdc",name:"MDC",import:()=>e.A(67535)},{id:"mdx",name:"MDX",import:()=>e.A(59189)},{id:"mermaid",name:"Mermaid",aliases:["mmd"],import:()=>e.A(57619)},{id:"mipsasm",name:"MIPS Assembly",aliases:["mips"],import:()=>e.A(1626)},{id:"mojo",name:"Mojo",import:()=>e.A(24176)},{id:"moonbit",name:"MoonBit",aliases:["mbt","mbti"],import:()=>e.A(5353)},{id:"move",name:"Move",import:()=>e.A(47969)},{id:"narrat",name:"Narrat Language",aliases:["nar"],import:()=>e.A(55902)},{id:"nextflow",name:"Nextflow",aliases:["nf"],import:()=>e.A(57638)},{id:"nextflow-groovy",name:"Nextflow Groovy",import:()=>e.A(72194)},{id:"nginx",name:"Nginx",import:()=>e.A(47723)},{id:"nim",name:"Nim",import:()=>e.A(46820)},{id:"nix",name:"Nix",import:()=>e.A(65220)},{id:"nushell",name:"nushell",aliases:["nu"],import:()=>e.A(21908)},{id:"objective-c",name:"Objective-C",aliases:["objc"],import:()=>e.A(98543)},{id:"objective-cpp",name:"Objective-C++",import:()=>e.A(53213)},{id:"ocaml",name:"OCaml",import:()=>e.A(57016)},{id:"odin",name:"Odin",import:()=>e.A(144)},{id:"openscad",name:"OpenSCAD",aliases:["scad"],import:()=>e.A(89188)},{id:"pascal",name:"Pascal",import:()=>e.A(94584)},{id:"perl",name:"Perl",import:()=>e.A(90087)},{id:"php",name:"PHP",import:()=>e.A(53525)},{id:"pkl",name:"Pkl",import:()=>e.A(6695)},{id:"plsql",name:"PL/SQL",import:()=>e.A(85641)},{id:"po",name:"Gettext PO",aliases:["pot","potx"],import:()=>e.A(15520)},{id:"polar",name:"Polar",import:()=>e.A(79736)},{id:"postcss",name:"PostCSS",import:()=>e.A(44743)},{id:"powerquery",name:"PowerQuery",import:()=>e.A(69901)},{id:"powershell",name:"PowerShell",aliases:["ps","ps1"],import:()=>e.A(49765)},{id:"prisma",name:"Prisma",import:()=>e.A(25840)},{id:"prolog",name:"Prolog",import:()=>e.A(78110)},{id:"proto",name:"Protocol Buffer 3",aliases:["protobuf"],import:()=>e.A(10002)},{id:"pug",name:"Pug",aliases:["jade"],import:()=>e.A(53456)},{id:"puppet",name:"Puppet",import:()=>e.A(28116)},{id:"purescript",name:"PureScript",import:()=>e.A(62792)},{id:"python",name:"Python",aliases:["py"],import:()=>e.A(48436)},{id:"qml",name:"QML",import:()=>e.A(85774)},{id:"qmldir",name:"QML Directory",import:()=>e.A(22682)},{id:"qss",name:"Qt Style Sheets",import:()=>e.A(29273)},{id:"r",name:"R",import:()=>e.A(17431)},{id:"racket",name:"Racket",import:()=>e.A(27184)},{id:"raku",name:"Raku",aliases:["perl6"],import:()=>e.A(2999)},{id:"razor",name:"ASP.NET Razor",import:()=>e.A(22510)},{id:"reg",name:"Windows Registry Script",import:()=>e.A(92914)},{id:"regexp",name:"RegExp",aliases:["regex"],import:()=>e.A(64980)},{id:"rel",name:"Rel",import:()=>e.A(62249)},{id:"riscv",name:"RISC-V",import:()=>e.A(19686)},{id:"ron",name:"RON",import:()=>e.A(23169)},{id:"rosmsg",name:"ROS Interface",import:()=>e.A(66973)},{id:"rst",name:"reStructuredText",import:()=>e.A(80357)},{id:"ruby",name:"Ruby",aliases:["rb"],import:()=>e.A(60137)},{id:"rust",name:"Rust",aliases:["rs"],import:()=>e.A(25837)},{id:"sas",name:"SAS",import:()=>e.A(59154)},{id:"sass",name:"Sass",import:()=>e.A(28160)},{id:"scala",name:"Scala",import:()=>e.A(79226)},{id:"scheme",name:"Scheme",import:()=>e.A(95554)},{id:"scss",name:"SCSS",import:()=>e.A(56229)},{id:"sdbl",name:"1C (Query)",aliases:["1c-query"],import:()=>e.A(57294)},{id:"shaderlab",name:"ShaderLab",aliases:["shader"],import:()=>e.A(87646)},{id:"shellscript",name:"Shell",aliases:["bash","sh","shell","zsh"],import:()=>e.A(77876)},{id:"shellsession",name:"Shell Session",aliases:["console"],import:()=>e.A(2789)},{id:"smalltalk",name:"Smalltalk",import:()=>e.A(5404)},{id:"solidity",name:"Solidity",import:()=>e.A(64050)},{id:"soy",name:"Closure Templates",aliases:["closure-templates"],import:()=>e.A(23766)},{id:"sparql",name:"SPARQL",import:()=>e.A(71095)},{id:"splunk",name:"Splunk Query Language",aliases:["spl"],import:()=>e.A(13125)},{id:"sql",name:"SQL",import:()=>e.A(47760)},{id:"ssh-config",name:"SSH Config",import:()=>e.A(25380)},{id:"stata",name:"Stata",import:()=>e.A(27772)},{id:"stylus",name:"Stylus",aliases:["styl"],import:()=>e.A(31592)},{id:"surrealql",name:"SurrealQL",aliases:["surql"],import:()=>e.A(42509)},{id:"svelte",name:"Svelte",import:()=>e.A(9551)},{id:"swift",name:"Swift",import:()=>e.A(74099)},{id:"system-verilog",name:"SystemVerilog",import:()=>e.A(1250)},{id:"systemd",name:"Systemd Units",import:()=>e.A(81091)},{id:"talonscript",name:"TalonScript",aliases:["talon"],import:()=>e.A(538)},{id:"tasl",name:"Tasl",import:()=>e.A(36651)},{id:"tcl",name:"Tcl",import:()=>e.A(9948)},{id:"templ",name:"Templ",import:()=>e.A(40336)},{id:"terraform",name:"Terraform",aliases:["tf","tfvars"],import:()=>e.A(8436)},{id:"tex",name:"TeX",import:()=>e.A(55636)},{id:"toml",name:"TOML",import:()=>e.A(51979)},{id:"ts-tags",name:"TypeScript with Tags",aliases:["lit"],import:()=>e.A(65678)},{id:"tsv",name:"TSV",import:()=>e.A(41727)},{id:"tsx",name:"TSX",import:()=>e.A(57754)},{id:"turtle",name:"Turtle",import:()=>e.A(70454)},{id:"twig",name:"Twig",import:()=>e.A(70515)},{id:"typescript",name:"TypeScript",aliases:["ts","cts","mts"],import:()=>e.A(48460)},{id:"typespec",name:"TypeSpec",aliases:["tsp"],import:()=>e.A(44538)},{id:"typst",name:"Typst",aliases:["typ"],import:()=>e.A(63321)},{id:"v",name:"V",import:()=>e.A(43837)},{id:"vala",name:"Vala",import:()=>e.A(30536)},{id:"vb",name:"Visual Basic",aliases:["cmd"],import:()=>e.A(85051)},{id:"verilog",name:"Verilog",import:()=>e.A(86017)},{id:"vhdl",name:"VHDL",import:()=>e.A(95694)},{id:"viml",name:"Vim Script",aliases:["vim","vimscript"],import:()=>e.A(4547)},{id:"vue",name:"Vue",import:()=>e.A(34329)},{id:"vue-html",name:"Vue HTML",import:()=>e.A(60550)},{id:"vue-vine",name:"Vue Vine",import:()=>e.A(109)},{id:"vyper",name:"Vyper",aliases:["vy"],import:()=>e.A(34235)},{id:"wasm",name:"WebAssembly",import:()=>e.A(79931)},{id:"wenyan",name:"Wenyan",aliases:["文言"],import:()=>e.A(38463)},{id:"wgsl",name:"WGSL",import:()=>e.A(64547)},{id:"wikitext",name:"Wikitext",aliases:["mediawiki","wiki"],import:()=>e.A(74196)},{id:"wit",name:"WebAssembly Interface Types",import:()=>e.A(26245)},{id:"wolfram",name:"Wolfram",aliases:["wl"],import:()=>e.A(98654)},{id:"xml",name:"XML",import:()=>e.A(60115)},{id:"xsl",name:"XSL",import:()=>e.A(56841)},{id:"yaml",name:"YAML",aliases:["yml"],import:()=>e.A(91412)},{id:"zenscript",name:"ZenScript",import:()=>e.A(41270)},{id:"zig",name:"Zig",import:()=>e.A(32344)}],cX=Object.fromEntries(c$.map(e=>[e.id,e.import])),cY=Object.fromEntries(c$.flatMap(e=>{var t;return(null==(t=e.aliases)?void 0:t.map(t=>[t,e.import]))||[]})),cK={...cX,...cY},cJ=Object.fromEntries([{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>e.A(52913)},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>e.A(95208)},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>e.A(52844)},{id:"ayu-light",displayName:"Ayu Light",type:"light",import:()=>e.A(76488)},{id:"ayu-mirage",displayName:"Ayu Mirage",type:"dark",import:()=>e.A(36002)},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:()=>e.A(72934)},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>e.A(31036)},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>e.A(23803)},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>e.A(86330)},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>e.A(81001)},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:()=>e.A(95735)},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:()=>e.A(2100)},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:()=>e.A(58172)},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:()=>e.A(75274)},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>e.A(57811)},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>e.A(14214)},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>e.A(48353)},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:()=>e.A(40920)},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>e.A(79755)},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>e.A(5550)},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:()=>e.A(60233)},{id:"gruvbox-dark-hard",displayName:"Gruvbox Dark Hard",type:"dark",import:()=>e.A(80721)},{id:"gruvbox-dark-medium",displayName:"Gruvbox Dark Medium",type:"dark",import:()=>e.A(27266)},{id:"gruvbox-dark-soft",displayName:"Gruvbox Dark Soft",type:"dark",import:()=>e.A(31214)},{id:"gruvbox-light-hard",displayName:"Gruvbox Light Hard",type:"light",import:()=>e.A(81110)},{id:"gruvbox-light-medium",displayName:"Gruvbox Light Medium",type:"light",import:()=>e.A(37683)},{id:"gruvbox-light-soft",displayName:"Gruvbox Light Soft",type:"light",import:()=>e.A(28130)},{id:"horizon",displayName:"Horizon",type:"dark",import:()=>e.A(70579)},{id:"horizon-bright",displayName:"Horizon Bright",type:"light",import:()=>e.A(87165)},{id:"houston",displayName:"Houston",type:"dark",import:()=>e.A(77856)},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:()=>e.A(94363)},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:()=>e.A(48953)},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:()=>e.A(11812)},{id:"laserwave",displayName:"LaserWave",type:"dark",import:()=>e.A(9732)},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>e.A(30788)},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>e.A(11374)},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>e.A(69460)},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>e.A(74478)},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>e.A(49008)},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>e.A(77952)},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>e.A(20463)},{id:"min-light",displayName:"Min Light",type:"light",import:()=>e.A(30169)},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>e.A(77035)},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>e.A(61439)},{id:"night-owl-light",displayName:"Night Owl Light",type:"light",import:()=>e.A(28589)},{id:"nord",displayName:"Nord",type:"dark",import:()=>e.A(67304)},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>e.A(94497)},{id:"one-light",displayName:"One Light",type:"light",import:()=>e.A(53619)},{id:"plastic",displayName:"Plastic",type:"dark",import:()=>e.A(41717)},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>e.A(3232)},{id:"red",displayName:"Red",type:"dark",import:()=>e.A(69411)},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:()=>e.A(53065)},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:()=>e.A(81356)},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:()=>e.A(91336)},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>e.A(58732)},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>e.A(5358)},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:()=>e.A(53493)},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>e.A(67374)},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>e.A(61630)},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>e.A(35353)},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>e.A(29817)},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>e.A(66144)},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>e.A(96740)},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>e.A(96290)},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>e.A(61379)}].map(e=>[e.id,e.import]));var cQ=class extends Error{constructor(e){super(e),this.name="ShikiError"}},cZ=e.i(99749),c0=e.i(47167);function c1(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return r.forEach(t=>{for(let r in t)e[r]=t[r]}),e}var c4=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,c5=class{static hasCaptures(e){return null!==e&&(c4.lastIndex=0,c4.test(e))}static replaceCaptures(e,t,r){return e.replace(c4,(e,n,i,a)=>{let o=r[parseInt(n||i,10)];if(!o)return e;{let e=t.substring(o.start,o.end);for(;"."===e[0];)e=e.substring(1);switch(a){case"downcase":return e.toLowerCase();case"upcase":return e.toUpperCase();default:return e}}})}};function c6(e,t){if(null===e&&null===t)return 0;if(!e)return -1;if(!t)return 1;let r=e.length,n=t.length;if(r===n){for(let n=0;n<r;n++){var i,a;let r=(i=e[n],i<(a=t[n])?-1:+(i>a));if(0!==r)return r}return 0}return r-n}function c3(e){return!!(/^#[0-9a-f]{6}$/i.test(e)||/^#[0-9a-f]{8}$/i.test(e)||/^#[0-9a-f]{3}$/i.test(e)||/^#[0-9a-f]{4}$/i.test(e))}function c7(e){return e.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var c2=class{get(e){if(this.cache.has(e))return this.cache.get(e);let t=this.fn(e);return this.cache.set(e,t),t}constructor(e){(0,cZ._)(this,"cache",new Map),this.fn=e}},c8=class{static createFromRawTheme(e,t){return this.createFromParsedTheme(function(e){if(!e||!e.settings||!Array.isArray(e.settings))return[];let t=e.settings,r=[],n=0;for(let e=0,i=t.length;e<i;e++){let i,a=t[e];if(!a.settings)continue;if("string"==typeof a.scope){let e=a.scope;i=(e=(e=e.replace(/^[,]+/,"")).replace(/[,]+$/,"")).split(",")}else i=Array.isArray(a.scope)?a.scope:[""];let o=-1;if("string"==typeof a.settings.fontStyle){o=0;let e=a.settings.fontStyle.split(" ");for(let t=0,r=e.length;t<r;t++)switch(e[t]){case"italic":o|=1;break;case"bold":o|=2;break;case"underline":o|=4;break;case"strikethrough":o|=8}}let l=null;"string"==typeof a.settings.foreground&&c3(a.settings.foreground)&&(l=a.settings.foreground);let s=null;"string"==typeof a.settings.background&&c3(a.settings.background)&&(s=a.settings.background);for(let t=0,a=i.length;t<a;t++){let a=i[t].trim().split(" "),c=a[a.length-1],u=null;a.length>1&&(u=a.slice(0,a.length-1)).reverse(),r[n++]=new ut(c,u,e,o,l,s)}}return r}(e),t)}static createFromParsedTheme(e,t){return function(e,t){e.sort((e,t)=>{var r,n;let i=(r=e.scope,r<(n=t.scope)?-1:+(r>n));return 0!==i||0!==(i=c6(e.parentScopes,t.parentScopes))?i:e.index-t.index});let r=0,n="#000000",i="#ffffff";for(;e.length>=1&&""===e[0].scope;){let t=e.shift();-1!==t.fontStyle&&(r=t.fontStyle),null!==t.foreground&&(n=t.foreground),null!==t.background&&(i=t.background)}let a=new un(t),o=new ue(r,a.getId(n),a.getId(i)),l=new uo(new ua(0,null,-1,0,0),[]);for(let t=0,r=e.length;t<r;t++){let r=e[t];l.insert(0,r.scope,r.parentScopes,r.fontStyle,a.getId(r.foreground),a.getId(r.background))}return new c8(a,o,l)}(e,t)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(e){if(null===e)return this._defaults;let t=e.scopeName,r=this._cachedMatchRoot.get(t).find(t=>(function(e,t){if(0===t.length)return!0;for(let i=0;i<t.length;i++){var r,n;let a=t[i],o=!1;if(">"===a){if(i===t.length-1)return!1;a=t[++i],o=!0}for(;e&&(r=e.scopeName,!((n=a)===r||r.startsWith(n)&&"."===r[n.length]));){if(o)return!1;e=e.parent}if(!e)return!1;e=e.parent}return!0})(e.parent,t.parentScopes));return r?new ue(r.fontStyle,r.foreground,r.background):null}constructor(e,t,r){(0,cZ._)(this,"_cachedMatchRoot",new c2(e=>this._root.match(e))),this._colorMap=e,this._defaults=t,this._root=r}},c9=class e{static push(t,r){for(let n of r)t=new e(t,n);return t}static from(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];let i=null;for(let t=0;t<r.length;t++)i=new e(i,r[t]);return i}push(t){return new e(this,t)}getSegments(){let e=this,t=[];for(;e;)t.push(e.scopeName),e=e.parent;return t.reverse(),t}toString(){return this.getSegments().join(" ")}extends(e){return this===e||null!==this.parent&&this.parent.extends(e)}getExtensionIfDefined(e){let t=[],r=this;for(;r&&r!==e;)t.push(r.scopeName),r=r.parent;return r===e?t.reverse():void 0}constructor(e,t){this.parent=e,this.scopeName=t}},ue=class{constructor(e,t,r){this.fontStyle=e,this.foregroundId=t,this.backgroundId=r}},ut=class{constructor(e,t,r,n,i,a){this.scope=e,this.parentScopes=t,this.index=r,this.fontStyle=n,this.foreground=i,this.background=a}},ur=(e=>(e[e.NotSet=-1]="NotSet",e[e.None=0]="None",e[e.Italic=1]="Italic",e[e.Bold=2]="Bold",e[e.Underline=4]="Underline",e[e.Strikethrough=8]="Strikethrough",e))(ur||{}),un=class{getId(e){if(null===e)return 0;e=e.toUpperCase();let t=this._color2id[e];if(t)return t;if(this._isFrozen)throw Error("Missing color in color map - ".concat(e));return t=++this._lastColorId,this._color2id[e]=t,this._id2color[t]=e,t}getColorMap(){return this._id2color.slice(0)}constructor(e){if((0,cZ._)(this,"_isFrozen",void 0),(0,cZ._)(this,"_lastColorId",void 0),(0,cZ._)(this,"_id2color",void 0),(0,cZ._)(this,"_color2id",void 0),this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(e)){this._isFrozen=!0;for(let t=0,r=e.length;t<r;t++)this._color2id[e[t]]=t,this._id2color[t]=e[t]}else this._isFrozen=!1}},ui=Object.freeze([]),ua=class e{clone(){return new e(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let t=[];for(let r=0,n=e.length;r<n;r++)t[r]=e[r].clone();return t}acceptOverwrite(e,t,r,n){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,-1!==t&&(this.fontStyle=t),0!==r&&(this.foreground=r),0!==n&&(this.background=n)}constructor(e,t,r,n,i){(0,cZ._)(this,"scopeDepth",void 0),(0,cZ._)(this,"parentScopes",void 0),(0,cZ._)(this,"fontStyle",void 0),(0,cZ._)(this,"foreground",void 0),(0,cZ._)(this,"background",void 0),this.scopeDepth=e,this.parentScopes=t||ui,this.fontStyle=r,this.foreground=n,this.background=i}},uo=class e{static _cmpBySpecificity(e,t){if(e.scopeDepth!==t.scopeDepth)return t.scopeDepth-e.scopeDepth;let r=0,n=0;for(;">"===e.parentScopes[r]&&r++,">"===t.parentScopes[n]&&n++,!(r>=e.parentScopes.length)&&!(n>=t.parentScopes.length);){let i=t.parentScopes[n].length-e.parentScopes[r].length;if(0!==i)return i;r++,n++}return t.parentScopes.length-e.parentScopes.length}match(t){if(""!==t){let e,r,n=t.indexOf(".");if(-1===n?(e=t,r=""):(e=t.substring(0,n),r=t.substring(n+1)),this._children.hasOwnProperty(e))return this._children[e].match(r)}let r=this._rulesWithParentScopes.concat(this._mainRule);return r.sort(e._cmpBySpecificity),r}insert(t,r,n,i,a,o){let l,s,c;if(""===r)return void this._doInsertHere(t,n,i,a,o);let u=r.indexOf(".");-1===u?(l=r,s=""):(l=r.substring(0,u),s=r.substring(u+1)),this._children.hasOwnProperty(l)?c=this._children[l]:(c=new e(this._mainRule.clone(),ua.cloneArr(this._rulesWithParentScopes)),this._children[l]=c),c.insert(t+1,s,n,i,a,o)}_doInsertHere(e,t,r,n,i){if(null===t)return void this._mainRule.acceptOverwrite(e,r,n,i);for(let a=0,o=this._rulesWithParentScopes.length;a<o;a++){let o=this._rulesWithParentScopes[a];if(0===c6(o.parentScopes,t))return void o.acceptOverwrite(e,r,n,i)}-1===r&&(r=this._mainRule.fontStyle),0===n&&(n=this._mainRule.foreground),0===i&&(i=this._mainRule.background),this._rulesWithParentScopes.push(new ua(e,t,r,n,i))}constructor(e,t=[],r={}){(0,cZ._)(this,"_rulesWithParentScopes",void 0),this._mainRule=e,this._children=r,this._rulesWithParentScopes=t}},ul=class e{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(t){let r=e.getLanguageId(t),n=e.getTokenType(t),i=e.getFontStyle(t);console.log({languageId:r,tokenType:n,fontStyle:i,foreground:e.getForeground(t),background:e.getBackground(t)})}static getLanguageId(e){return(255&e)>>>0}static getTokenType(e){return(768&e)>>>8}static containsBalancedBrackets(e){return(1024&e)!=0}static getFontStyle(e){return(30720&e)>>>11}static getForeground(e){return(0xff8000&e)>>>15}static getBackground(e){return(0xff000000&e)>>>24}static set(t,r,n,i,a,o,l){let s=e.getLanguageId(t),c=e.getTokenType(t),u=+!!e.containsBalancedBrackets(t),h=e.getFontStyle(t),p=e.getForeground(t),m=e.getBackground(t);return 0!==r&&(s=r),8!==n&&(c=n),null!==i&&(u=+!!i),-1!==a&&(h=a),0!==o&&(p=o),0!==l&&(m=l),(0|s|c<<8|u<<10|h<<11|p<<15|m<<24)>>>0}};function us(e,t){var r;let n,i,a=[],o=(r=e,i=(n=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g).exec(r),{next:()=>{if(!i)return null;let e=i[0];return i=n.exec(r),e}}),l=o.next();for(;null!==l;){let e=0;if(2===l.length&&":"===l.charAt(1)){switch(l.charAt(0)){case"R":e=1;break;case"L":e=-1;break;default:console.log("Unknown priority ".concat(l," in scope selector"))}l=o.next()}let t=c();if(a.push({matcher:t,priority:e}),","!==l)break;l=o.next()}return a;function s(){if("-"===l){l=o.next();let e=s();return t=>!!e&&!e(t)}if("("===l){l=o.next();let e=function(){let e=[],t=c();for(;t&&(e.push(t),"|"===l||","===l);){do l=o.next();while("|"===l||","===l)t=c()}return t=>e.some(e=>e(t))}();return")"===l&&(l=o.next()),e}if(uc(l)){let e=[];do e.push(l),l=o.next();while(uc(l))return r=>t(e,r)}return null}function c(){let e=[],t=s();for(;t;)e.push(t),t=s();return t=>e.every(e=>e(t))}}function uc(e){return!!e&&!!e.match(/[\w\.:]+/)}var uu=(e=>(e[e.None=0]="None",e[e.NotBeginString=1]="NotBeginString",e[e.NotEndString=2]="NotEndString",e[e.NotBeginPosition=4]="NotBeginPosition",e[e.DebugCall=8]="DebugCall",e))(uu||{});function uh(e){"function"==typeof e.dispose&&e.dispose()}var up=class{toKey(){return this.scopeName}constructor(e){this.scopeName=e}},um=class{toKey(){return"".concat(this.scopeName,"#").concat(this.ruleName)}constructor(e,t){this.scopeName=e,this.ruleName=t}},ud=class{get references(){return this._references}add(e){let t=e.toKey();this._seenReferenceKeys.has(t)||(this._seenReferenceKeys.add(t),this._references.push(e))}constructor(){(0,cZ._)(this,"_references",[]),(0,cZ._)(this,"_seenReferenceKeys",new Set),(0,cZ._)(this,"visitedRule",new Set)}},uf=class{processQueue(){let e=this.Q;this.Q=[];let t=new ud;for(let r of e)!function(e,t,r,n){let i=r.lookup(e.scopeName);if(!i){if(e.scopeName===t)throw Error("No grammar provided for <".concat(t,">"));return}let a=r.lookup(t);e instanceof up?uy({baseGrammar:a,selfGrammar:i},n):ug(e.ruleName,{baseGrammar:a,selfGrammar:i,repository:i.repository},n);let o=r.injections(e.scopeName);if(o)for(let e of o)n.add(new up(e))}(r,this.initialScopeName,this.repo,t);for(let e of t.references)if(e instanceof up){if(this.seenFullScopeRequests.has(e.scopeName))continue;this.seenFullScopeRequests.add(e.scopeName),this.Q.push(e)}else{if(this.seenFullScopeRequests.has(e.scopeName)||this.seenPartialScopeRequests.has(e.toKey()))continue;this.seenPartialScopeRequests.add(e.toKey()),this.Q.push(e)}}constructor(e,t){(0,cZ._)(this,"seenFullScopeRequests",new Set),(0,cZ._)(this,"seenPartialScopeRequests",new Set),(0,cZ._)(this,"Q",void 0),this.repo=e,this.initialScopeName=t,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new up(this.initialScopeName)]}};function ug(e,t,r){t.repository&&t.repository[e]&&uv([t.repository[e]],t,r)}function uy(e,t){e.selfGrammar.patterns&&Array.isArray(e.selfGrammar.patterns)&&uv(e.selfGrammar.patterns,{...e,repository:e.selfGrammar.repository},t),e.selfGrammar.injections&&uv(Object.values(e.selfGrammar.injections),{...e,repository:e.selfGrammar.repository},t)}function uv(e,t,r){for(let n of e){if(r.visitedRule.has(n))continue;r.visitedRule.add(n);let e=n.repository?c1({},t.repository,n.repository):t.repository;Array.isArray(n.patterns)&&uv(n.patterns,{...t,repository:e},r);let i=n.include;if(!i)continue;let a=uS(i);switch(a.kind){case 0:uy({...t,selfGrammar:t.baseGrammar},r);break;case 1:uy(t,r);break;case 2:ug(a.ruleName,{...t,repository:e},r);break;case 3:case 4:let o=a.scopeName===t.selfGrammar.scopeName?t.selfGrammar:a.scopeName===t.baseGrammar.scopeName?t.baseGrammar:void 0;if(o){let n={baseGrammar:t.baseGrammar,selfGrammar:o,repository:e};4===a.kind?ug(a.ruleName,n,r):uy(n,r)}else 4===a.kind?r.add(new um(a.scopeName,a.ruleName)):r.add(new up(a.scopeName))}}}var ub=class{constructor(){(0,cZ._)(this,"kind",0)}},ux=class{constructor(){(0,cZ._)(this,"kind",1)}},uw=class{constructor(e){(0,cZ._)(this,"kind",2),this.ruleName=e}},uk=class{constructor(e){(0,cZ._)(this,"kind",3),this.scopeName=e}},uA=class{constructor(e,t){(0,cZ._)(this,"kind",4),this.scopeName=e,this.ruleName=t}};function uS(e){if("$base"===e)return new ub;if("$self"===e)return new ux;let t=e.indexOf("#");return -1===t?new uk(e):0===t?new uw(e.substring(1)):new uA(e.substring(0,t),e.substring(t+1))}var uC=/\\(\d+)/,uT=/\\(\d+)/g;Symbol("RuleId");var u_=class{get debugName(){let e=this.$location?"".concat(function e(t){let r=~t.lastIndexOf("/")||~t.lastIndexOf("\\");return 0===r?t:~r==t.length-1?e(t.substring(0,t.length-1)):t.substr(~r+1)}(this.$location.filename),":").concat(this.$location.line):"unknown";return"".concat(this.constructor.name,"#").concat(this.id," @ ").concat(e)}getName(e,t){return this._nameIsCapturing&&null!==this._name&&null!==e&&null!==t?c5.replaceCaptures(this._name,e,t):this._name}getContentName(e,t){return this._contentNameIsCapturing&&null!==this._contentName?c5.replaceCaptures(this._contentName,e,t):this._contentName}constructor(e,t,r,n){(0,cZ._)(this,"$location",void 0),(0,cZ._)(this,"id",void 0),(0,cZ._)(this,"_nameIsCapturing",void 0),(0,cZ._)(this,"_name",void 0),(0,cZ._)(this,"_contentNameIsCapturing",void 0),(0,cZ._)(this,"_contentName",void 0),this.$location=e,this.id=t,this._name=r||null,this._nameIsCapturing=c5.hasCaptures(this._name),this._contentName=n||null,this._contentNameIsCapturing=c5.hasCaptures(this._contentName)}},uM=class extends u_{dispose(){}collectPatterns(e,t){throw Error("Not supported!")}compile(e,t){throw Error("Not supported!")}compileAG(e,t,r,n){throw Error("Not supported!")}constructor(e,t,r,n,i){super(e,t,r,n),(0,cZ._)(this,"retokenizeCapturedWithRuleId",void 0),this.retokenizeCapturedWithRuleId=i}},uE=class extends u_{dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return"".concat(this._match.source)}collectPatterns(e,t){t.push(this._match)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,r,n){return this._getCachedCompiledPatterns(e).compileAG(e,r,n)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new uP,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}constructor(e,t,r,n,i){super(e,t,r,null),(0,cZ._)(this,"_match",void 0),(0,cZ._)(this,"captures",void 0),(0,cZ._)(this,"_cachedCompiledPatterns",void 0),this._match=new uR(n,this.id),this.captures=i,this._cachedCompiledPatterns=null}},uz=class extends u_{dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,t){for(let r of this.patterns)e.getRule(r).collectPatterns(e,t)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,r,n){return this._getCachedCompiledPatterns(e).compileAG(e,r,n)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new uP,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}constructor(e,t,r,n,i){super(e,t,r,n),(0,cZ._)(this,"hasMissingPatterns",void 0),(0,cZ._)(this,"patterns",void 0),(0,cZ._)(this,"_cachedCompiledPatterns",void 0),this.patterns=i.patterns,this.hasMissingPatterns=i.hasMissingPatterns,this._cachedCompiledPatterns=null}},uN=class extends u_{dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return"".concat(this._begin.source)}get debugEndRegExp(){return"".concat(this._end.source)}getEndWithResolvedBackReferences(e,t){return this._end.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e,t).compile(e)}compileAG(e,t,r,n){return this._getCachedCompiledPatterns(e,t).compileAG(e,r,n)}_getCachedCompiledPatterns(e,t){if(!this._cachedCompiledPatterns){for(let t of(this._cachedCompiledPatterns=new uP,this.patterns))e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,t):this._cachedCompiledPatterns.setSource(0,t)),this._cachedCompiledPatterns}constructor(e,t,r,n,i,a,o,l,s,c){super(e,t,r,n),(0,cZ._)(this,"_begin",void 0),(0,cZ._)(this,"beginCaptures",void 0),(0,cZ._)(this,"_end",void 0),(0,cZ._)(this,"endHasBackReferences",void 0),(0,cZ._)(this,"endCaptures",void 0),(0,cZ._)(this,"applyEndPatternLast",void 0),(0,cZ._)(this,"hasMissingPatterns",void 0),(0,cZ._)(this,"patterns",void 0),(0,cZ._)(this,"_cachedCompiledPatterns",void 0),this._begin=new uR(i,this.id),this.beginCaptures=a,this._end=new uR(o||"￿",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=l,this.applyEndPatternLast=s||!1,this.patterns=c.patterns,this.hasMissingPatterns=c.hasMissingPatterns,this._cachedCompiledPatterns=null}},uI=class extends u_{dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return"".concat(this._begin.source)}get debugWhileRegExp(){return"".concat(this._while.source)}getWhileWithResolvedBackReferences(e,t){return this._while.resolveBackReferences(e,t)}collectPatterns(e,t){t.push(this._begin)}compile(e,t){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,t,r,n){return this._getCachedCompiledPatterns(e).compileAG(e,r,n)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns)for(let t of(this._cachedCompiledPatterns=new uP,this.patterns))e.getRule(t).collectPatterns(e,this._cachedCompiledPatterns);return this._cachedCompiledPatterns}compileWhile(e,t){return this._getCachedCompiledWhilePatterns(e,t).compile(e)}compileWhileAG(e,t,r,n){return this._getCachedCompiledWhilePatterns(e,t).compileAG(e,r,n)}_getCachedCompiledWhilePatterns(e,t){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new uP,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,t||"￿"),this._cachedCompiledWhilePatterns}constructor(e,t,r,n,i,a,o,l,s){super(e,t,r,n),(0,cZ._)(this,"_begin",void 0),(0,cZ._)(this,"beginCaptures",void 0),(0,cZ._)(this,"whileCaptures",void 0),(0,cZ._)(this,"_while",void 0),(0,cZ._)(this,"whileHasBackReferences",void 0),(0,cZ._)(this,"hasMissingPatterns",void 0),(0,cZ._)(this,"patterns",void 0),(0,cZ._)(this,"_cachedCompiledPatterns",void 0),(0,cZ._)(this,"_cachedCompiledWhilePatterns",void 0),this._begin=new uR(i,this.id),this.beginCaptures=a,this.whileCaptures=l,this._while=new uR(o,-2),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=s.patterns,this.hasMissingPatterns=s.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}},uL=class e{static createCaptureRule(e,t,r,n,i){return e.registerRule(e=>new uM(t,e,r,n,i))}static getCompiledRuleId(t,r,n){return t.id||r.registerRule(i=>{if(t.id=i,t.match)return new uE(t.$vscodeTextmateLocation,t.id,t.name,t.match,e._compileCaptures(t.captures,r,n));if(void 0===t.begin){t.repository&&(n=c1({},n,t.repository));let i=t.patterns;return void 0===i&&t.include&&(i=[{include:t.include}]),new uz(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,e._compilePatterns(i,r,n))}return t.while?new uI(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,r,n),t.while,e._compileCaptures(t.whileCaptures||t.captures,r,n),e._compilePatterns(t.patterns,r,n)):new uN(t.$vscodeTextmateLocation,t.id,t.name,t.contentName,t.begin,e._compileCaptures(t.beginCaptures||t.captures,r,n),t.end,e._compileCaptures(t.endCaptures||t.captures,r,n),t.applyEndPatternLast,e._compilePatterns(t.patterns,r,n))}),t.id}static _compileCaptures(t,r,n){let i=[];if(t){let a=0;for(let e in t){if("$vscodeTextmateLocation"===e)continue;let t=parseInt(e,10);t>a&&(a=t)}for(let e=0;e<=a;e++)i[e]=null;for(let a in t){if("$vscodeTextmateLocation"===a)continue;let o=parseInt(a,10),l=0;t[a].patterns&&(l=e.getCompiledRuleId(t[a],r,n)),i[o]=e.createCaptureRule(r,t[a].$vscodeTextmateLocation,t[a].name,t[a].contentName,l)}}return i}static _compilePatterns(t,r,n){let i=[];if(t)for(let a=0,o=t.length;a<o;a++){let o=t[a],l=-1;if(o.include){let t=uS(o.include);switch(t.kind){case 0:case 1:l=e.getCompiledRuleId(n[o.include],r,n);break;case 2:let i=n[t.ruleName];i&&(l=e.getCompiledRuleId(i,r,n));break;case 3:case 4:let a=t.scopeName,s=4===t.kind?t.ruleName:null,c=r.getExternalGrammar(a,n);if(c)if(s){let t=c.repository[s];t&&(l=e.getCompiledRuleId(t,r,c.repository))}else l=e.getCompiledRuleId(c.repository.$self,r,c.repository)}}else l=e.getCompiledRuleId(o,r,n);if(-1!==l){let e=r.getRule(l),t=!1;if((e instanceof uz||e instanceof uN||e instanceof uI)&&e.hasMissingPatterns&&0===e.patterns.length&&(t=!0),t)continue;i.push(l)}}return{patterns:i,hasMissingPatterns:(t?t.length:0)!==i.length}}},uR=class e{clone(){return new e(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,t){if("string"!=typeof this.source)throw Error("This method should only be called if the source is a string");let r=t.map(t=>e.substring(t.start,t.end));return uT.lastIndex=0,this.source.replace(uT,(e,t)=>c7(r[parseInt(t,10)]||""))}_buildAnchorCache(){let e,t,r,n;if("string"!=typeof this.source)throw Error("This method should only be called if the source is a string");let i=[],a=[],o=[],l=[];for(e=0,t=this.source.length;e<t;e++)r=this.source.charAt(e),i[e]=r,a[e]=r,o[e]=r,l[e]=r,"\\"===r&&e+1<t&&("A"===(n=this.source.charAt(e+1))?(i[e+1]="￿",a[e+1]="￿",o[e+1]="A",l[e+1]="A"):"G"===n?(i[e+1]="￿",a[e+1]="G",o[e+1]="￿",l[e+1]="G"):(i[e+1]=n,a[e+1]=n,o[e+1]=n,l[e+1]=n),e++);return{A0_G0:i.join(""),A0_G1:a.join(""),A1_G0:o.join(""),A1_G1:l.join("")}}resolveAnchors(e,t){if(!this.hasAnchor||!this._anchorCache||"string"!=typeof this.source)return this.source;if(e)if(t)return this._anchorCache.A1_G1;else return this._anchorCache.A1_G0;return t?this._anchorCache.A0_G1:this._anchorCache.A0_G0}constructor(e,t){if((0,cZ._)(this,"source",void 0),(0,cZ._)(this,"ruleId",void 0),(0,cZ._)(this,"hasAnchor",void 0),(0,cZ._)(this,"hasBackReferences",void 0),(0,cZ._)(this,"_anchorCache",void 0),e&&"string"==typeof e){let t=e.length,r=0,n=[],i=!1;for(let a=0;a<t;a++)if("\\"===e.charAt(a)&&a+1<t){let t=e.charAt(a+1);"z"===t?(n.push(e.substring(r,a)),n.push("$(?!\\n)(?<!\\n)"),r=a+2):("A"===t||"G"===t)&&(i=!0),a++}this.hasAnchor=i,0===r?this.source=e:(n.push(e.substring(r,t)),this.source=n.join(""))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=t,"string"==typeof this.source?this.hasBackReferences=uC.test(this.source):this.hasBackReferences=!1}},uP=class{dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(e){this._items.push(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}unshift(e){this._items.unshift(e),this._hasAnchors=this._hasAnchors||e.hasAnchor}length(){return this._items.length}setSource(e,t){this._items[e].source!==t&&(this._disposeCaches(),this._items[e].setSource(t))}compile(e){if(!this._cached){let t=this._items.map(e=>e.source);this._cached=new uB(e,t,this._items.map(e=>e.ruleId))}return this._cached}compileAG(e,t,r){if(!this._hasAnchors)return this.compile(e);if(t)if(r)return this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(e,t,r)),this._anchorCache.A1_G1;else return this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(e,t,r)),this._anchorCache.A1_G0;return r?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(e,t,r)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(e,t,r)),this._anchorCache.A0_G0)}_resolveAnchors(e,t,r){return new uB(e,this._items.map(e=>e.resolveAnchors(t,r)),this._items.map(e=>e.ruleId))}constructor(){(0,cZ._)(this,"_items",void 0),(0,cZ._)(this,"_hasAnchors",void 0),(0,cZ._)(this,"_cached",void 0),(0,cZ._)(this,"_anchorCache",void 0),this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}},uB=class{dispose(){"function"==typeof this.scanner.dispose&&this.scanner.dispose()}toString(){let e=[];for(let t=0,r=this.rules.length;t<r;t++)e.push(" - "+this.rules[t]+": "+this.regExps[t]);return e.join("\n")}findNextMatchSync(e,t,r){let n=this.scanner.findNextMatchSync(e,t,r);return n?{ruleId:this.rules[n.index],captureIndices:n.captureIndices}:null}constructor(e,t,r){(0,cZ._)(this,"scanner",void 0),this.regExps=t,this.rules=r,this.scanner=e.createOnigScanner(t)}},uO=class{constructor(e,t){this.languageId=e,this.tokenType=t}},uD=(l=class e{getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(t){return null===t?e._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(t)}_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(t){let r=t.match(e.STANDARD_TOKEN_TYPE_REGEXP);if(!r)return 8;switch(r[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw Error("Unexpected match for standard token type!")}constructor(e,t){(0,cZ._)(this,"_defaultAttributes",void 0),(0,cZ._)(this,"_embeddedLanguagesMatcher",void 0),(0,cZ._)(this,"_getBasicScopeAttributes",new c2(e=>new uO(this._scopeToLanguage(e),this._toStandardTokenType(e)))),this._defaultAttributes=new uO(e,8),this._embeddedLanguagesMatcher=new uF(Object.entries(t||{}))}},(0,cZ._)(l,"_NULL_SCOPE_METADATA",new uO(0,0)),(0,cZ._)(l,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/),l),uF=class{match(e){if(!this.scopesRegExp)return;let t=e.match(this.scopesRegExp);if(t)return this.values.get(t[1])}constructor(e){if((0,cZ._)(this,"values",void 0),(0,cZ._)(this,"scopesRegExp",void 0),0===e.length)this.values=null,this.scopesRegExp=null;else{this.values=new Map(e);let t=e.map(e=>{let[t,r]=e;return c7(t)});t.sort(),t.reverse(),this.scopesRegExp=RegExp("^((".concat(t.join(")|("),"))($|\\.)"),"")}}};void 0!==c0.default&&c0.default.env.VSCODE_TEXTMATE_DEBUG;var uq=class{constructor(e,t){this.stack=e,this.stoppedEarly=t}};function uj(e,t,r,n,i,a,o,l){let s=t.content.length,c=!1,u=-1;if(o){let o=function(e,t,r,n,i,a){let o=i.beginRuleCapturedEOL?0:-1,l=[];for(let t=i;t;t=t.pop()){let r=t.getRule(e);r instanceof uI&&l.push({rule:r,stack:t})}for(let m=l.pop();m;m=l.pop()){var s,c,u,h,p;let{ruleScanner:l,findOptions:d}=(s=m.rule,c=e,u=m.stack.endRule,h=r,p=n===o,{ruleScanner:s.compileWhileAG(c,u,h,p),findOptions:0}),f=l.findNextMatchSync(t,n,d);if(f){if(-2!==f.ruleId){i=m.stack.pop();break}f.captureIndices&&f.captureIndices.length&&(a.produce(m.stack,f.captureIndices[0].start),uU(e,t,r,m.stack,a,m.rule.whileCaptures,f.captureIndices),a.produce(m.stack,f.captureIndices[0].end),o=f.captureIndices[0].end,f.captureIndices[0].end>n&&(n=f.captureIndices[0].end,r=!1))}else{i=m.stack.pop();break}}return{stack:i,linePos:n,anchorPosition:o,isFirstLine:r}}(e,t,r,n,i,a);i=o.stack,n=o.linePos,r=o.isFirstLine,u=o.anchorPosition}let h=Date.now();for(;!c;){if(0!==l&&Date.now()-h>l)return new uq(i,!0);!function(){let o=function(e,t,r,n,i,a){let o=function(e,t,r,n,i,a){let{ruleScanner:o,findOptions:l}=uH(i.getRule(e),e,i.endRule,r,n===a),s=o.findNextMatchSync(t,n,l);return s?{captureIndices:s.captureIndices,matchedRuleId:s.ruleId}:null}(e,t,r,n,i,a),l=e.getInjections();if(0===l.length)return o;let s=function(e,t,r,n,i,a,o){let l,s=Number.MAX_VALUE,c=null,u=0,h=a.contentNameScopesList.getScopeNames();for(let a=0,p=e.length;a<p;a++){let p=e[a];if(!p.matcher(h))continue;let{ruleScanner:m,findOptions:d}=uH(t.getRule(p.ruleId),t,null,n,i===o),f=m.findNextMatchSync(r,i,d);if(!f)continue;let g=f.captureIndices[0].start;if(!(g>=s)&&(s=g,c=f.captureIndices,l=f.ruleId,u=p.priority,s===i))break}return c?{priorityMatch:-1===u,captureIndices:c,matchedRuleId:l}:null}(l,e,t,r,n,i,a);if(!s)return o;if(!o)return s;let c=o.captureIndices[0].start,u=s.captureIndices[0].start;return u<c||s.priorityMatch&&u===c?s:o}(e,t,r,n,i,u);if(!o){a.produce(i,s),c=!0;return}let l=o.captureIndices,h=o.matchedRuleId,p=!!l&&l.length>0&&l[0].end>n;if(-1===h){let o=i.getRule(e);a.produce(i,l[0].start),i=i.withContentNameScopesList(i.nameScopesList),uU(e,t,r,i,a,o.endCaptures,l),a.produce(i,l[0].end);let h=i;if(i=i.parent,u=h.getAnchorPos(),!p&&h.getEnterPos()===n){i=h,a.produce(i,s),c=!0;return}}else{let o=e.getRule(h);a.produce(i,l[0].start);let m=i,d=o.getName(t.content,l),f=i.contentNameScopesList.pushAttributed(d,e);if(i=i.push(h,n,u,l[0].end===s,null,f,f),o instanceof uN){uU(e,t,r,i,a,o.beginCaptures,l),a.produce(i,l[0].end),u=l[0].end;let n=o.getContentName(t.content,l),h=f.pushAttributed(n,e);if(i=i.withContentNameScopesList(h),o.endHasBackReferences&&(i=i.withEndRule(o.getEndWithResolvedBackReferences(t.content,l))),!p&&m.hasSameRuleAs(i)){i=i.pop(),a.produce(i,s),c=!0;return}}else if(o instanceof uI){uU(e,t,r,i,a,o.beginCaptures,l),a.produce(i,l[0].end),u=l[0].end;let n=o.getContentName(t.content,l),h=f.pushAttributed(n,e);if(i=i.withContentNameScopesList(h),o.whileHasBackReferences&&(i=i.withEndRule(o.getWhileWithResolvedBackReferences(t.content,l))),!p&&m.hasSameRuleAs(i)){i=i.pop(),a.produce(i,s),c=!0;return}}else if(uU(e,t,r,i,a,o.captures,l),a.produce(i,l[0].end),i=i.pop(),!p){i=i.safePop(),a.produce(i,s),c=!0;return}}l[0].end>n&&(n=l[0].end,r=!1)}()}return new uq(i,!1)}function uH(e,t,r,n,i){return{ruleScanner:e.compileAG(t,r,n,i),findOptions:0}}function uU(e,t,r,n,i,a,o){if(0===a.length)return;let l=t.content,s=Math.min(a.length,o.length),c=[],u=o[0].end;for(let t=0;t<s;t++){let s=a[t];if(null===s)continue;let h=o[t];if(0===h.length)continue;if(h.start>u)break;for(;c.length>0&&c[c.length-1].endPos<=h.start;)i.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop();if(c.length>0?i.produceFromScopes(c[c.length-1].scopes,h.start):i.produce(n,h.start),s.retokenizeCapturedWithRuleId){let t=s.getName(l,o),a=n.contentNameScopesList.pushAttributed(t,e),c=s.getContentName(l,o),u=a.pushAttributed(c,e),p=n.push(s.retokenizeCapturedWithRuleId,h.start,-1,!1,null,a,u),m=e.createOnigString(l.substring(0,h.end));uj(e,m,r&&0===h.start,h.start,p,i,!1,0),uh(m);continue}let p=s.getName(l,o);if(null!==p){let t=(c.length>0?c[c.length-1].scopes:n.contentNameScopesList).pushAttributed(p,e);c.push(new uG(t,h.end))}}for(;c.length>0;)i.produceFromScopes(c[c.length-1].scopes,c[c.length-1].endPos),c.pop()}var uG=class{constructor(e,t){(0,cZ._)(this,"scopes",void 0),(0,cZ._)(this,"endPos",void 0),this.scopes=e,this.endPos=t}};function uV(e,t,r,n,i){let a=us(t,uW),o=uL.getCompiledRuleId(r,n,i.repository);for(let r of a)e.push({debugSelector:t,matcher:r.matcher,ruleId:o,grammar:i,priority:r.priority})}function uW(e,t){if(t.length<e.length)return!1;let r=0;return e.every(e=>{for(let n=r;n<t.length;n++)if(function(e,t){if(!e)return!1;if(e===t)return!0;let r=t.length;return e.length>r&&e.substr(0,r)===t&&"."===e[r]}(t[n],e))return r=n+1,!0;return!1})}var u$=class{get themeProvider(){return this._grammarRepository}dispose(){for(let e of this._ruleId2desc)e&&e.dispose()}createOnigScanner(e){return this._onigLib.createOnigScanner(e)}createOnigString(e){return this._onigLib.createOnigString(e)}getMetadataForScope(e){return this._basicScopeAttributesProvider.getBasicScopeAttributes(e)}_collectInjections(){let e=[],t=this._rootScopeName,r=({lookup:e=>e===this._rootScopeName?this._grammar:this.getExternalGrammar(e),injections:e=>this._grammarRepository.injections(e)}).lookup(t);if(r){let n=r.injections;if(n)for(let t in n)uV(e,t,n[t],this,r);let i=this._grammarRepository.injections(t);i&&i.forEach(t=>{let r=this.getExternalGrammar(t);if(r){let t=r.injectionSelector;t&&uV(e,t,r,this,r)}})}return e.sort((e,t)=>e.priority-t.priority),e}getInjections(){return null===this._injections&&(this._injections=this._collectInjections()),this._injections}registerRule(e){let t=++this._lastRuleId,r=e(t);return this._ruleId2desc[t]=r,r}getRule(e){return this._ruleId2desc[e]}getExternalGrammar(e,t){if(this._includedGrammars[e])return this._includedGrammars[e];if(this._grammarRepository){let r=this._grammarRepository.lookup(e);if(r)return this._includedGrammars[e]=uX(r,t&&t.$base),this._includedGrammars[e]}}tokenizeLine(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=this._tokenize(e,t,!1,r);return{tokens:n.lineTokens.getResult(n.ruleStack,n.lineLength),ruleStack:n.ruleStack,stoppedEarly:n.stoppedEarly}}tokenizeLine2(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=this._tokenize(e,t,!0,r);return{tokens:n.lineTokens.getBinaryResult(n.ruleStack,n.lineLength),ruleStack:n.ruleStack,stoppedEarly:n.stoppedEarly}}_tokenize(e,t,r,n){let i;if(-1===this._rootId&&(this._rootId=uL.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections()),t&&t!==uK.NULL)i=!1,t.reset();else{let e;i=!0;let r=this._basicScopeAttributesProvider.getDefaultAttributes(),n=this.themeProvider.getDefaults(),a=ul.set(0,r.languageId,r.tokenType,null,n.fontStyle,n.foregroundId,n.backgroundId),o=this.getRule(this._rootId).getName(null,null);e=o?uY.createRootAndLookUpScopeName(o,a,this):uY.createRoot("unknown",a),t=new uK(null,this._rootId,-1,-1,!1,null,e,e)}e+="\n";let a=this.createOnigString(e),o=a.content.length,l=new uQ(r,e,this._tokenTypeMatchers,this.balancedBracketSelectors),s=uj(this,a,i,0,t,l,!0,n);return uh(a),{lineLength:o,lineTokens:l,ruleStack:s.stack,stoppedEarly:s.stoppedEarly}}constructor(e,t,r,n,i,a,o,l){if((0,cZ._)(this,"_rootId",void 0),(0,cZ._)(this,"_lastRuleId",void 0),(0,cZ._)(this,"_ruleId2desc",void 0),(0,cZ._)(this,"_includedGrammars",void 0),(0,cZ._)(this,"_grammarRepository",void 0),(0,cZ._)(this,"_grammar",void 0),(0,cZ._)(this,"_injections",void 0),(0,cZ._)(this,"_basicScopeAttributesProvider",void 0),(0,cZ._)(this,"_tokenTypeMatchers",void 0),this._rootScopeName=e,this.balancedBracketSelectors=a,this._onigLib=l,this._basicScopeAttributesProvider=new uD(r,n),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=o,this._grammar=uX(t,null),this._injections=null,this._tokenTypeMatchers=[],i)for(let e of Object.keys(i))for(let t of us(e,uW))this._tokenTypeMatchers.push({matcher:t.matcher,type:i[e]})}};function uX(e,t){return(e=function e(t){return Array.isArray(t)?function(t){let r=[];for(let n=0,i=t.length;n<i;n++)r[n]=e(t[n]);return r}(t):t instanceof RegExp?t:"object"==typeof t?function(t){let r={};for(let n in t)r[n]=e(t[n]);return r}(t):t}(e)).repository=e.repository||{},e.repository.$self={$vscodeTextmateLocation:e.$vscodeTextmateLocation,patterns:e.patterns,name:e.scopeName},e.repository.$base=t||e.repository.$self,e}var uY=class e{static fromExtension(t,r){var n;let i=t,a=null!=(n=null==t?void 0:t.scopePath)?n:null;for(let t of r)i=new e(i,a=c9.push(a,t.scopeNames),t.encodedTokenAttributes);return i}static createRoot(t,r){return new e(null,new c9(null,t),r)}static createRootAndLookUpScopeName(t,r,n){let i=n.getMetadataForScope(t),a=new c9(null,t),o=n.themeProvider.themeMatch(a),l=e.mergeAttributes(r,i,o);return new e(null,a,l)}get scopeName(){return this.scopePath.scopeName}toString(){return this.getScopeNames().join(" ")}equals(t){return e.equals(this,t)}static equals(e,t){for(;;){if(e===t||!e&&!t)return!0;if(!e||!t||e.scopeName!==t.scopeName||e.tokenAttributes!==t.tokenAttributes)return!1;e=e.parent,t=t.parent}}static mergeAttributes(e,t,r){let n=-1,i=0,a=0;return null!==r&&(n=r.fontStyle,i=r.foregroundId,a=r.backgroundId),ul.set(e,t.languageId,t.tokenType,null,n,i,a)}pushAttributed(t,r){if(null===t)return this;if(-1===t.indexOf(" "))return e._pushAttributed(this,t,r);let n=t.split(/ /g),i=this;for(let t of n)i=e._pushAttributed(i,t,r);return i}static _pushAttributed(t,r,n){let i=n.getMetadataForScope(r),a=t.scopePath.push(r),o=n.themeProvider.themeMatch(a),l=e.mergeAttributes(t.tokenAttributes,i,o);return new e(t,a,l)}getScopeNames(){return this.scopePath.getSegments()}getExtensionIfDefined(e){let t=[],r=this;for(;r&&r!==e;){var n,i;t.push({encodedTokenAttributes:r.tokenAttributes,scopeNames:r.scopePath.getExtensionIfDefined(null!=(i=null==(n=r.parent)?void 0:n.scopePath)?i:null)}),r=r.parent}return r===e?t.reverse():void 0}constructor(e,t,r){this.parent=e,this.scopePath=t,this.tokenAttributes=r}},uK=(s=class e{equals(t){return null!==t&&e._equals(this,t)}static _equals(e,t){return e===t||!!this._structuralEquals(e,t)&&uY.equals(e.contentNameScopesList,t.contentNameScopesList)}static _structuralEquals(e,t){for(;;){if(e===t||!e&&!t)return!0;if(!e||!t||e.depth!==t.depth||e.ruleId!==t.ruleId||e.endRule!==t.endRule)return!1;e=e.parent,t=t.parent}}clone(){return this}static _reset(e){for(;e;)e._enterPos=-1,e._anchorPos=-1,e=e.parent}reset(){e._reset(this)}pop(){return this.parent}safePop(){return this.parent?this.parent:this}push(t,r,n,i,a,o,l){return new e(this,t,r,n,i,a,o,l)}getEnterPos(){return this._enterPos}getAnchorPos(){return this._anchorPos}getRule(e){return e.getRule(this.ruleId)}toString(){let e=[];return this._writeString(e,0),"["+e.join(",")+"]"}_writeString(e,t){var r,n;return this.parent&&(t=this.parent._writeString(e,t)),e[t++]="(".concat(this.ruleId,", ").concat(null==(r=this.nameScopesList)?void 0:r.toString(),", ").concat(null==(n=this.contentNameScopesList)?void 0:n.toString(),")"),t}withContentNameScopesList(e){return this.contentNameScopesList===e?this:this.parent.push(this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,this.endRule,this.nameScopesList,e)}withEndRule(t){return this.endRule===t?this:new e(this.parent,this.ruleId,this._enterPos,this._anchorPos,this.beginRuleCapturedEOL,t,this.nameScopesList,this.contentNameScopesList)}hasSameRuleAs(e){let t=this;for(;t&&t._enterPos===e._enterPos;){if(t.ruleId===e.ruleId)return!0;t=t.parent}return!1}toStateStackFrame(){var e,t,r,n,i,a;return{ruleId:this.ruleId,beginRuleCapturedEOL:this.beginRuleCapturedEOL,endRule:this.endRule,nameScopesList:null!=(i=null==(t=this.nameScopesList)?void 0:t.getExtensionIfDefined(null!=(n=null==(e=this.parent)?void 0:e.nameScopesList)?n:null))?i:[],contentNameScopesList:null!=(a=null==(r=this.contentNameScopesList)?void 0:r.getExtensionIfDefined(this.nameScopesList))?a:[]}}static pushFrame(t,r){var n,i,a;let o=uY.fromExtension(null!=(n=null==t?void 0:t.nameScopesList)?n:null,r.nameScopesList);return new e(t,r.ruleId,null!=(i=r.enterPos)?i:-1,null!=(a=r.anchorPos)?a:-1,r.beginRuleCapturedEOL,r.endRule,o,uY.fromExtension(o,r.contentNameScopesList))}constructor(e,t,r,n,i,a,o,l){(0,cZ._)(this,"_stackElementBrand",void 0),(0,cZ._)(this,"_enterPos",void 0),(0,cZ._)(this,"_anchorPos",void 0),(0,cZ._)(this,"depth",void 0),this.parent=e,this.ruleId=t,this.beginRuleCapturedEOL=i,this.endRule=a,this.nameScopesList=o,this.contentNameScopesList=l,this.depth=this.parent?this.parent.depth+1:1,this._enterPos=r,this._anchorPos=n}},(0,cZ._)(s,"NULL",new s(null,0,0,0,!1,null,null,null)),s),uJ=class{get matchesAlways(){return this.allowAny&&0===this.unbalancedBracketScopes.length}get matchesNever(){return 0===this.balancedBracketScopes.length&&!this.allowAny}match(e){for(let t of this.unbalancedBracketScopes)if(t(e))return!1;for(let t of this.balancedBracketScopes)if(t(e))return!0;return this.allowAny}constructor(e,t){(0,cZ._)(this,"balancedBracketScopes",void 0),(0,cZ._)(this,"unbalancedBracketScopes",void 0),(0,cZ._)(this,"allowAny",!1),this.balancedBracketScopes=e.flatMap(e=>"*"===e?(this.allowAny=!0,[]):us(e,uW).map(e=>e.matcher)),this.unbalancedBracketScopes=t.flatMap(e=>us(e,uW).map(e=>e.matcher))}},uQ=class{produce(e,t){this.produceFromScopes(e.contentNameScopesList,t)}produceFromScopes(e,t){var r,n,i,a;if(this._lastTokenEndIndex>=t)return;if(this._emitBinaryTokens){let a=null!=(n=null==e?void 0:e.tokenAttributes)?n:0,o=!1;if((null==(r=this.balancedBracketSelectors)?void 0:r.matchesAlways)&&(o=!0),this._tokenTypeOverrides.length>0||this.balancedBracketSelectors&&!this.balancedBracketSelectors.matchesAlways&&!this.balancedBracketSelectors.matchesNever){let t=null!=(i=null==e?void 0:e.getScopeNames())?i:[];for(let e of this._tokenTypeOverrides)e.matcher(t)&&(a=ul.set(a,0,e.type,null,-1,0,0));this.balancedBracketSelectors&&(o=this.balancedBracketSelectors.match(t))}if(o&&(a=ul.set(a,0,8,o,-1,0,0)),this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-1]===a){this._lastTokenEndIndex=t;return}this._binaryTokens.push(this._lastTokenEndIndex),this._binaryTokens.push(a),this._lastTokenEndIndex=t;return}let o=null!=(a=null==e?void 0:e.getScopeNames())?a:[];this._tokens.push({startIndex:this._lastTokenEndIndex,endIndex:t,scopes:o}),this._lastTokenEndIndex=t}getResult(e,t){return this._tokens.length>0&&this._tokens[this._tokens.length-1].startIndex===t-1&&this._tokens.pop(),0===this._tokens.length&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._tokens[this._tokens.length-1].startIndex=0),this._tokens}getBinaryResult(e,t){this._binaryTokens.length>0&&this._binaryTokens[this._binaryTokens.length-2]===t-1&&(this._binaryTokens.pop(),this._binaryTokens.pop()),0===this._binaryTokens.length&&(this._lastTokenEndIndex=-1,this.produce(e,t),this._binaryTokens[this._binaryTokens.length-2]=0);let r=new Uint32Array(this._binaryTokens.length);for(let e=0,t=this._binaryTokens.length;e<t;e++)r[e]=this._binaryTokens[e];return r}constructor(e,t,r,n){(0,cZ._)(this,"_emitBinaryTokens",void 0),(0,cZ._)(this,"_lineText",void 0),(0,cZ._)(this,"_tokens",void 0),(0,cZ._)(this,"_binaryTokens",void 0),(0,cZ._)(this,"_lastTokenEndIndex",void 0),(0,cZ._)(this,"_tokenTypeOverrides",void 0),this.balancedBracketSelectors=n,this._emitBinaryTokens=e,this._tokenTypeOverrides=r,this._lineText=null,this._tokens=[],this._binaryTokens=[],this._lastTokenEndIndex=0}},uZ=class{dispose(){for(let e of this._grammars.values())e.dispose()}setTheme(e){this._theme=e}getColorMap(){return this._theme.getColorMap()}addGrammar(e,t){this._rawGrammars.set(e.scopeName,e),t&&this._injectionGrammars.set(e.scopeName,t)}lookup(e){return this._rawGrammars.get(e)}injections(e){return this._injectionGrammars.get(e)}getDefaults(){return this._theme.getDefaults()}themeMatch(e){return this._theme.match(e)}grammarForScopeName(e,t,r,n,i){if(!this._grammars.has(e)){let a=this._rawGrammars.get(e);if(!a)return null;this._grammars.set(e,new u$(e,a,t,r,n,i,this,this._onigLib))}return this._grammars.get(e)}constructor(e,t){(0,cZ._)(this,"_grammars",new Map),(0,cZ._)(this,"_rawGrammars",new Map),(0,cZ._)(this,"_injectionGrammars",new Map),(0,cZ._)(this,"_theme",void 0),this._onigLib=t,this._theme=e}},u0=class{dispose(){this._syncRegistry.dispose()}setTheme(e,t){this._syncRegistry.setTheme(c8.createFromRawTheme(e,t))}getColorMap(){return this._syncRegistry.getColorMap()}loadGrammarWithEmbeddedLanguages(e,t,r){return this.loadGrammarWithConfiguration(e,t,{embeddedLanguages:r})}loadGrammarWithConfiguration(e,t,r){return this._loadGrammar(e,t,r.embeddedLanguages,r.tokenTypes,new uJ(r.balancedBracketSelectors||[],r.unbalancedBracketSelectors||[]))}loadGrammar(e){return this._loadGrammar(e,0,null,null,null)}_loadGrammar(e,t,r,n,i){let a=new uf(this._syncRegistry,e);for(;a.Q.length>0;)a.Q.map(e=>this._loadSingleGrammar(e.scopeName)),a.processQueue();return this._grammarForScopeName(e,t,r,n,i)}_loadSingleGrammar(e){this._ensureGrammarCache.has(e)||(this._doLoadSingleGrammar(e),this._ensureGrammarCache.set(e,!0))}_doLoadSingleGrammar(e){let t=this._options.loadGrammar(e);if(t){let r="function"==typeof this._options.getInjections?this._options.getInjections(e):void 0;this._syncRegistry.addGrammar(t,r)}}addGrammar(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null;return this._syncRegistry.addGrammar(e,t),this._grammarForScopeName(e.scopeName,r,n)}_grammarForScopeName(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:null;return this._syncRegistry.grammarForScopeName(e,t,r,n,i)}constructor(e){(0,cZ._)(this,"_options",void 0),(0,cZ._)(this,"_syncRegistry",void 0),(0,cZ._)(this,"_ensureGrammarCache",void 0),this._options=e,this._syncRegistry=new uZ(c8.createFromRawTheme(e.theme,e.colorMap),e.onigLib),this._ensureGrammarCache=new Map}},u1=uK.NULL;function u4(e,t){let r="string"==typeof e?{}:{...e.colorReplacements},n="string"==typeof e?e:e.name;for(let[e,i]of Object.entries((null==t?void 0:t.colorReplacements)||{}))"string"==typeof i?r[e]=i:e===n&&Object.assign(r,i);return r}function u5(e,t){return e&&(null==t?void 0:t[null==e?void 0:e.toLowerCase()])||e}async function u6(e){return Promise.resolve("function"==typeof e?e():e).then(e=>e.default||e)}function u3(e){return!e||["plaintext","txt","text","plain"].includes(e)}function u7(e){return"ansi"===e||u3(e)}function u2(e){return"none"===e}let u8=/(\r?\n)/g;function u9(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(0===e.length)return[["",0]];let r=e.split(u8),n=0,i=[];for(let e=0;e<r.length;e+=2){var a;let o=t?r[e]+(r[e+1]||""):r[e];i.push([o,n]),n+=r[e].length,n+=(null==(a=r[e+1])?void 0:a.length)||0}return i}let he={light:"#333333",dark:"#bbbbbb"},ht={light:"#fffffe",dark:"#1e1e1e"},hr="__shiki_resolved";function hn(e){var t,r,n,i,a;if(null==e?void 0:e[hr])return e;let o={...e};o.tokenColors&&!o.settings&&(o.settings=o.tokenColors,delete o.tokenColors),o.type||(o.type="dark"),o.colorReplacements={...o.colorReplacements},o.settings||(o.settings=[]);let{bg:l,fg:s}=o;if(!l||!s){let e=o.settings?o.settings.find(e=>!e.name&&!e.scope):void 0;(null==e||null==(t=e.settings)?void 0:t.foreground)&&(s=e.settings.foreground),(null==e||null==(r=e.settings)?void 0:r.background)&&(l=e.settings.background),!s&&(null==o||null==(n=o.colors)?void 0:n["editor.foreground"])&&(s=o.colors["editor.foreground"]),!l&&(null==o||null==(i=o.colors)?void 0:i["editor.background"])&&(l=o.colors["editor.background"]),s||(s="light"===o.type?he.light:he.dark),l||(l="light"===o.type?ht.light:ht.dark),o.fg=s,o.bg=l}o.settings[0]&&o.settings[0].settings&&!o.settings[0].scope||o.settings.unshift({settings:{foreground:o.fg,background:o.bg}});let c=0,u=new Map;function h(e){var t;if(u.has(e))return u.get(e);c+=1;let r="#".concat(c.toString(16).padStart(8,"0").toLowerCase());return(null==(t=o.colorReplacements)?void 0:t["#".concat(r)])?h(e):(u.set(e,r),r)}for(let e of(o.settings=o.settings.map(e=>{var t,r;let n=(null==(t=e.settings)?void 0:t.foreground)&&!e.settings.foreground.startsWith("#"),i=(null==(r=e.settings)?void 0:r.background)&&!e.settings.background.startsWith("#");if(!n&&!i)return e;let a={...e,settings:{...e.settings}};if(n){let t=h(e.settings.foreground);o.colorReplacements[t]=e.settings.foreground,a.settings.foreground=t}if(i){let t=h(e.settings.background);o.colorReplacements[t]=e.settings.background,a.settings.background=t}return a}),Object.keys(o.colors||{})))if(("editor.foreground"===e||"editor.background"===e||e.startsWith("terminal.ansi"))&&!(null==(a=o.colors[e])?void 0:a.startsWith("#"))){let t=h(o.colors[e]);o.colorReplacements[t]=o.colors[e],o.colors[e]=t}return Object.defineProperty(o,hr,{enumerable:!1,writable:!1,value:!0}),o}async function hi(e){return[...new Set((await Promise.all(e.filter(e=>!u7(e)).map(async e=>await u6(e).then(e=>Array.isArray(e)?e:[e])))).flat())]}async function ha(e){return(await Promise.all(e.map(async e=>u2(e)?null:hn(await u6(e))))).filter(e=>!!e)}function ho(e,t){if(!t)return e;if(t[e]){let r=new Set([e]);for(;t[e];){if(e=t[e],r.has(e))throw new cQ("Circular alias `".concat([...r].join(" -> ")," -> ").concat(e,"`"));r.add(e)}}return e}var hl=class extends u0{getTheme(e){return"string"==typeof e?this._resolvedThemes.get(e):this.loadTheme(e)}loadTheme(e){let t=hn(e);return t.name&&(this._resolvedThemes.set(t.name,t),this._loadedThemesCache=null),t}getLoadedThemes(){return this._loadedThemesCache||(this._loadedThemesCache=[...this._resolvedThemes.keys()]),this._loadedThemesCache}setTheme(e){let t=this._textmateThemeCache.get(e);t||(t=c8.createFromRawTheme(e),this._textmateThemeCache.set(e,t)),this._syncRegistry.setTheme(t)}getGrammar(e){return e=ho(e,this._alias),this._resolvedGrammars.get(e)}loadLanguage(e){if(this.getGrammar(e.name))return;let t=new Set([...this._langMap.values()].filter(t=>{var r;return null==(r=t.embeddedLangsLazy)?void 0:r.includes(e.name)}));this._resolver.addLanguage(e);let r={balancedBracketSelectors:e.balancedBracketSelectors||["*"],unbalancedBracketSelectors:e.unbalancedBracketSelectors||[]};this._syncRegistry._rawGrammars.set(e.scopeName,e);let n=this.loadGrammarWithConfiguration(e.scopeName,1,r);if(n.name=e.name,this._resolvedGrammars.set(e.name,n),e.aliases&&e.aliases.forEach(t=>{this._alias[t]=e.name}),this._loadedLanguagesCache=null,t.size)for(let e of t){var i,a,o,l;this._resolvedGrammars.delete(e.name),this._loadedLanguagesCache=null,null==(a=this._syncRegistry)||null==(i=a._injectionGrammars)||i.delete(e.scopeName),null==(l=this._syncRegistry)||null==(o=l._grammars)||o.delete(e.scopeName),this.loadLanguage(this._langMap.get(e.name))}}dispose(){super.dispose(),this._resolvedThemes.clear(),this._resolvedGrammars.clear(),this._langMap.clear(),this._langGraph.clear(),this._loadedThemesCache=null}loadLanguages(e){for(let t of e)this.resolveEmbeddedLanguages(t);let t=[...this._langGraph.entries()],r=t.filter(e=>{let[t,r]=e;return!r});if(r.length){let e=t.filter(e=>{var t;let[n,i]=e;return!!i&&(null==(t=i.embeddedLanguages||i.embeddedLangs)?void 0:t.some(e=>r.map(e=>{let[t]=e;return t}).includes(e)))}).filter(e=>!r.includes(e));throw new cQ("Missing languages ".concat(r.map(e=>{let[t]=e;return"`".concat(t,"`")}).join(", "),", required by ").concat(e.map(e=>{let[t]=e;return"`".concat(t,"`")}).join(", ")))}for(let[e,r]of t)this._resolver.addLanguage(r);for(let[e,r]of t)this.loadLanguage(r)}getLoadedLanguages(){return this._loadedLanguagesCache||(this._loadedLanguagesCache=[...new Set([...this._resolvedGrammars.keys(),...Object.keys(this._alias)])]),this._loadedLanguagesCache}resolveEmbeddedLanguages(e){var t;this._langMap.set(e.name,e),this._langGraph.set(e.name,e);let r=null!=(t=e.embeddedLanguages)?t:e.embeddedLangs;if(r)for(let e of r)this._langGraph.set(e,this._langMap.get(e))}constructor(e,t,r,n={}){super(e),(0,cZ._)(this,"_resolver",void 0),(0,cZ._)(this,"_themes",void 0),(0,cZ._)(this,"_langs",void 0),(0,cZ._)(this,"_alias",void 0),(0,cZ._)(this,"_resolvedThemes",new Map),(0,cZ._)(this,"_resolvedGrammars",new Map),(0,cZ._)(this,"_langMap",new Map),(0,cZ._)(this,"_langGraph",new Map),(0,cZ._)(this,"_textmateThemeCache",new WeakMap),(0,cZ._)(this,"_loadedThemesCache",null),(0,cZ._)(this,"_loadedLanguagesCache",null),this._resolver=e,this._themes=t,this._langs=r,this._alias=n,this._themes.map(e=>this.loadTheme(e)),this.loadLanguages(this._langs)}},hs=class{get onigLib(){return this._onigLib}getLangRegistration(e){return this._langs.get(e)}loadGrammar(e){return this._scopeToLang.get(e)}addLanguage(e){this._langs.set(e.name,e),e.aliases&&e.aliases.forEach(t=>{this._langs.set(t,e)}),this._scopeToLang.set(e.scopeName,e),e.injectTo&&e.injectTo.forEach(t=>{this._injections.get(t)||this._injections.set(t,[]),this._injections.get(t).push(e.scopeName)})}getInjections(e){let t=e.split("."),r=[];for(let e=1;e<=t.length;e++){let n=t.slice(0,e).join(".");r=[...r,...this._injections.get(n)||[]]}return r}constructor(e,t){(0,cZ._)(this,"_langs",new Map),(0,cZ._)(this,"_scopeToLang",new Map),(0,cZ._)(this,"_injections",new Map),(0,cZ._)(this,"_onigLib",void 0),this._onigLib={createOnigScanner:t=>e.createScanner(t),createOnigString:t=>e.createString(t)},t.forEach(e=>this.addLanguage(e))}};let hc=0;async function hu(e){e.engine||console.warn("`engine` option is required. Use `createOnigurumaEngine` or `createJavaScriptRegexEngine` to create an engine.");let[t,r,n]=await Promise.all([ha(e.themes||[]),hi(e.langs||[]),e.engine]);return function(e){let t;hc+=1,!1!==e.warnings&&hc>=10&&hc%10==0&&console.warn("[Shiki] ".concat(hc," instances have been created. Shiki is supposed to be used as a singleton, consider refactoring your code to cache your highlighter instance; Or call `highlighter.dispose()` to release unused instances."));let r=!1;if(!e.engine)throw new cQ("`engine` option is required for synchronous mode");let n=(e.langs||[]).flat(1),i=(e.themes||[]).flat(1).map(hn),a=new hl(new hs(e.engine,n),i,n,e.langAlias);function o(e){if("none"===e)return{bg:"",fg:"",name:"none",settings:[],type:"dark"};c();let t=a.getTheme(e);if(!t)throw new cQ("Theme `".concat(e,"` not found, you may need to load it first"));return t}function l(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];c(),a.loadLanguages(t.flat(1))}function s(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];for(let e of(c(),t.flat(1)))a.loadTheme(e)}function c(){if(r)throw new cQ("Shiki instance has been disposed")}function u(){r||(r=!0,a.dispose(),hc-=1)}return{setTheme:function(e){c();let r=o(e);return t!==e&&(a.setTheme(r),t=e),{theme:r,colorMap:a.getColorMap()}},getTheme:o,getLanguage:function(e){c();let t=a.getGrammar("string"==typeof e?e:e.name);if(!t)throw new cQ("Language `".concat(e,"` not found, you may need to load it first"));return t},getLoadedThemes:function(){return c(),a.getLoadedThemes()},getLoadedLanguages:function(){return c(),a.getLoadedLanguages()},resolveLangAlias:function(t){return ho(t,e.langAlias)},loadLanguage:async function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return l(await hi(t))},loadLanguageSync:l,loadTheme:async function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return c(),s(await ha(t))},loadThemeSync:s,dispose:u,[Symbol.dispose]:u}}({...e,themes:t,langs:r,engine:n})}let hh=new WeakMap;function hp(e,t){hh.set(e,t)}function hm(e){return hh.get(e)}var hd=class e{get themes(){return Object.keys(this._stacks)}get theme(){return this.themes[0]}get _stack(){return this._stacks[this.theme]}static initial(t,r){return new e(Object.fromEntries((Array.isArray(r)?r:[r]).map(e=>[e,u1])),t)}getInternalStack(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.theme;return this._stacks[e]}getScopes(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:this.theme;var t=this._stacks[e];let r=[],n=new Set;return!function e(t){var i;if(n.has(t))return;n.add(t);let a=null==t||null==(i=t.nameScopesList)?void 0:i.scopeName;a&&r.push(a),t.parent&&e(t.parent)}(t),r}toJSON(){return{lang:this.lang,theme:this.theme,themes:this.themes,scopes:this.getScopes()}}constructor(...e){if((0,cZ._)(this,"_stacks",{}),(0,cZ._)(this,"lang",void 0),2===e.length){let[t,r]=e;this.lang=r,this._stacks=t}else{let[t,r,n]=e;this.lang=r,this._stacks={[n]:t}}}};let hf=/,/,hg=/ /;function hy(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},{theme:n=e.getLoadedThemes()[0]}=r;if(u3(e.resolveLangAlias(r.lang||"text"))||u2(n))return u9(t).map(e=>[{content:e[0],offset:e[1]}]);let{theme:i,colorMap:a}=e.setTheme(n),o=e.getLanguage(r.lang||"text");if(r.grammarState){if(r.grammarState.lang!==o.name)throw new cQ('Grammar state language "'.concat(r.grammarState.lang,'" does not match highlight language "').concat(o.name,'"'));if(!r.grammarState.themes.includes(i.name))throw new cQ('Grammar state themes "'.concat(r.grammarState.themes,'" do not contain highlight theme "').concat(i.name,'"'))}var l=t,s=o,c=i,u=a,h=r;let p=hv(l,s,c,u,h),m=new hd(p.stateStack,s.name,c.name);return hp(p.tokens,m),p.tokens}function hv(e,t,r,n,i){var a;let o=u4(r,i),{tokenizeMaxLineLength:l=0,tokenizeTimeLimit:s=500}=i,c=u9(e),u=i.grammarState?null!=(a=function(e,t){if(!(e instanceof hd))throw new cQ("Invalid grammar state");return e.getInternalStack(t)}(i.grammarState,r.name))?a:u1:null!=i.grammarContextCode?hv(i.grammarContextCode,t,r,n,{...i,grammarState:void 0,grammarContextCode:void 0}).stateStack:u1,h=[],p=[];for(let e=0,a=c.length;e<a;e++){let a,m,[d,f]=c[e];if(""===d){h=[],p.push([]);continue}if(l>0&&d.length>=l){h=[],p.push([{content:d,offset:f,color:"",fontStyle:0}]);continue}i.includeExplanation&&(a=t.tokenizeLine(d,u,s).tokens,m=0);let g=t.tokenizeLine2(d,u,s),y=g.tokens.length/2;for(let e=0;e<y;e++){let t=g.tokens[2*e],l=e+1<y?g.tokens[2*e+2]:d.length;if(t===l)continue;let s=g.tokens[2*e+1],c=u5(n[ul.getForeground(s)],o),u=ul.getFontStyle(s),p={content:d.substring(t,l),offset:f+t,color:c,fontStyle:u};if(i.includeExplanation){let e=[];if("scopeName"!==i.includeExplanation)for(let t of r.settings){let r;switch(typeof t.scope){case"string":r=t.scope.split(hf).map(e=>e.trim());break;case"object":r=t.scope;break;default:continue}e.push({settings:t,selectors:r.map(e=>e.split(hg))})}p.explanation=[];let n=0;for(;t+n<l;){let t=a[m],r=d.substring(t.startIndex,t.endIndex);n+=r.length,p.explanation.push({content:r,scopes:"scopeName"===i.includeExplanation?t.scopes.map(e=>({scopeName:e})):function(e,t){let r=[];for(let n=0,i=t.length;n<i;n++){let i=t[n];r[n]={scopeName:i,themeMatches:function(e,t,r){let n=[];for(let{selectors:i,settings:a}of e)for(let e of i)if(function(e,t,r){if(!hb(e.at(-1),t))return!1;let n=e.length-2,i=r.length-1;for(;n>=0&&i>=0;)hb(e[n],r[i])&&(n-=1),i-=1;return -1===n}(e,t,r)){n.push(a);break}return n}(e,i,t.slice(0,n))}}return r}(e,t.scopes)}),m+=1}}h.push(p)}p.push(h),h=[],u=g.ruleStack}return{tokens:p,stateStack:u}}function hb(e,t){return e===t||t.substring(0,e.length)===e&&"."===t[e.length]}function hx(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:hy,i=Object.entries(r.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})),a=i.map(i=>{let a=n(e,t,{...r,theme:i.theme});return{tokens:a,state:hm(a),theme:"string"==typeof i.theme?i.theme:i.theme.name}}),o=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];let n=t.map(()=>[]),i=t.length;for(let e=0;e<t[0].length;e++){let r=t.map(t=>t[e]),a=n.map(()=>[]);n.forEach((e,t)=>e.push(a[t]));let o=r.map(()=>0),l=r.map(e=>e[0]);for(;l.every(e=>e);){let e=Math.min(...l.map(e=>e.content.length));for(let t=0;t<i;t++){let n=l[t];n.content.length===e?(a[t].push(n),o[t]+=1,l[t]=r[t][o[t]]):(a[t].push({...n,content:n.content.slice(0,e)}),l[t]={...n,content:n.content.slice(e),offset:n.offset+e})}}}return n}(...a.map(e=>e.tokens)),l=o[0].map((e,t)=>e.map((e,n)=>{let a={content:e.content,variants:{},offset:e.offset};return"includeExplanation"in r&&r.includeExplanation&&(a.explanation=e.explanation),o.forEach((e,r)=>{let{content:o,explanation:l,offset:s,...c}=e[t][n];a.variants[i[r].color]=c}),a})),s=a[0].state?new hd(Object.fromEntries(a.map(e=>{var t;return[e.theme,null==(t=e.state)?void 0:t.getInternalStack(e.theme)]})),a[0].state.lang):void 0;return s&&hp(l,s),l}let hw=["area","base","basefont","bgsound","br","col","command","embed","frame","hr","image","img","input","keygen","link","meta","param","source","track","wbr"],hk={}.hasOwnProperty,hA=/["&'<>`]/g,hS=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,hC=/[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,hT=/[|\\{}()[\]^$+*?.]/g,h_=new WeakMap,hM=/[\dA-Fa-f]/,hE=/\d/,hz=["AElig","AMP","Aacute","Acirc","Agrave","Aring","Atilde","Auml","COPY","Ccedil","ETH","Eacute","Ecirc","Egrave","Euml","GT","Iacute","Icirc","Igrave","Iuml","LT","Ntilde","Oacute","Ocirc","Ograve","Oslash","Otilde","Ouml","QUOT","REG","THORN","Uacute","Ucirc","Ugrave","Uuml","Yacute","aacute","acirc","acute","aelig","agrave","amp","aring","atilde","auml","brvbar","ccedil","cedil","cent","copy","curren","deg","divide","eacute","ecirc","egrave","eth","euml","frac12","frac14","frac34","gt","iacute","icirc","iexcl","igrave","iquest","iuml","laquo","lt","macr","micro","middot","nbsp","not","ntilde","oacute","ocirc","ograve","ordf","ordm","oslash","otilde","ouml","para","plusmn","pound","quot","raquo","reg","sect","shy","sup1","sup2","sup3","szlig","thorn","times","uacute","ucirc","ugrave","uml","uuml","yacute","yen","yuml"],hN={nbsp:" ",iexcl:"¡",cent:"¢",pound:"£",curren:"¤",yen:"¥",brvbar:"¦",sect:"§",uml:"¨",copy:"©",ordf:"ª",laquo:"«",not:"¬",shy:"­",reg:"®",macr:"¯",deg:"°",plusmn:"±",sup2:"²",sup3:"³",acute:"´",micro:"µ",para:"¶",middot:"·",cedil:"¸",sup1:"¹",ordm:"º",raquo:"»",frac14:"¼",frac12:"½",frac34:"¾",iquest:"¿",Agrave:"À",Aacute:"Á",Acirc:"Â",Atilde:"Ã",Auml:"Ä",Aring:"Å",AElig:"Æ",Ccedil:"Ç",Egrave:"È",Eacute:"É",Ecirc:"Ê",Euml:"Ë",Igrave:"Ì",Iacute:"Í",Icirc:"Î",Iuml:"Ï",ETH:"Ð",Ntilde:"Ñ",Ograve:"Ò",Oacute:"Ó",Ocirc:"Ô",Otilde:"Õ",Ouml:"Ö",times:"×",Oslash:"Ø",Ugrave:"Ù",Uacute:"Ú",Ucirc:"Û",Uuml:"Ü",Yacute:"Ý",THORN:"Þ",szlig:"ß",agrave:"à",aacute:"á",acirc:"â",atilde:"ã",auml:"ä",aring:"å",aelig:"æ",ccedil:"ç",egrave:"è",eacute:"é",ecirc:"ê",euml:"ë",igrave:"ì",iacute:"í",icirc:"î",iuml:"ï",eth:"ð",ntilde:"ñ",ograve:"ò",oacute:"ó",ocirc:"ô",otilde:"õ",ouml:"ö",divide:"÷",oslash:"ø",ugrave:"ù",uacute:"ú",ucirc:"û",uuml:"ü",yacute:"ý",thorn:"þ",yuml:"ÿ",fnof:"ƒ",Alpha:"Α",Beta:"Β",Gamma:"Γ",Delta:"Δ",Epsilon:"Ε",Zeta:"Ζ",Eta:"Η",Theta:"Θ",Iota:"Ι",Kappa:"Κ",Lambda:"Λ",Mu:"Μ",Nu:"Ν",Xi:"Ξ",Omicron:"Ο",Pi:"Π",Rho:"Ρ",Sigma:"Σ",Tau:"Τ",Upsilon:"Υ",Phi:"Φ",Chi:"Χ",Psi:"Ψ",Omega:"Ω",alpha:"α",beta:"β",gamma:"γ",delta:"δ",epsilon:"ε",zeta:"ζ",eta:"η",theta:"θ",iota:"ι",kappa:"κ",lambda:"λ",mu:"μ",nu:"ν",xi:"ξ",omicron:"ο",pi:"π",rho:"ρ",sigmaf:"ς",sigma:"σ",tau:"τ",upsilon:"υ",phi:"φ",chi:"χ",psi:"ψ",omega:"ω",thetasym:"ϑ",upsih:"ϒ",piv:"ϖ",bull:"•",hellip:"…",prime:"′",Prime:"″",oline:"‾",frasl:"⁄",weierp:"℘",image:"ℑ",real:"ℜ",trade:"™",alefsym:"ℵ",larr:"←",uarr:"↑",rarr:"→",darr:"↓",harr:"↔",crarr:"↵",lArr:"⇐",uArr:"⇑",rArr:"⇒",dArr:"⇓",hArr:"⇔",forall:"∀",part:"∂",exist:"∃",empty:"∅",nabla:"∇",isin:"∈",notin:"∉",ni:"∋",prod:"∏",sum:"∑",minus:"−",lowast:"∗",radic:"√",prop:"∝",infin:"∞",ang:"∠",and:"∧",or:"∨",cap:"∩",cup:"∪",int:"∫",there4:"∴",sim:"∼",cong:"≅",asymp:"≈",ne:"≠",equiv:"≡",le:"≤",ge:"≥",sub:"⊂",sup:"⊃",nsub:"⊄",sube:"⊆",supe:"⊇",oplus:"⊕",otimes:"⊗",perp:"⊥",sdot:"⋅",lceil:"⌈",rceil:"⌉",lfloor:"⌊",rfloor:"⌋",lang:"〈",rang:"〉",loz:"◊",spades:"♠",clubs:"♣",hearts:"♥",diams:"♦",quot:'"',amp:"&",lt:"<",gt:">",OElig:"Œ",oelig:"œ",Scaron:"Š",scaron:"š",Yuml:"Ÿ",circ:"ˆ",tilde:"˜",ensp:" ",emsp:" ",thinsp:" ",zwnj:"‌",zwj:"‍",lrm:"‎",rlm:"‏",ndash:"–",mdash:"—",lsquo:"‘",rsquo:"’",sbquo:"‚",ldquo:"“",rdquo:"”",bdquo:"„",dagger:"†",Dagger:"‡",permil:"‰",lsaquo:"‹",rsaquo:"›",euro:"€"},hI=["cent","copy","divide","gt","lt","not","para","times"],hL={}.hasOwnProperty,hR={};for(n in hN)hL.call(hN,n)&&(hR[hN[n]]=n);let hP=/[^\dA-Za-z]/;function hB(e,t,r){let n,i=function(e,t,r){let n="&#x"+e.toString(16).toUpperCase();return r&&t&&!hM.test(String.fromCharCode(t))?n:n+";"}(e,t,r.omitOptionalSemicolons);if((r.useNamedReferences||r.useShortestReferences)&&(n=function(e,t,r,n){let i=String.fromCharCode(e);if(hL.call(hR,i)){let e=hR[i],a="&"+e;return r&&hz.includes(e)&&!hI.includes(e)&&(!n||t&&61!==t&&hP.test(String.fromCharCode(t)))?a:a+";"}return""}(e,t,r.omitOptionalSemicolons,r.attribute)),(r.useShortestReferences||!n)&&r.useShortestReferences){let n=function(e,t,r){let n="&#"+String(e);return r&&t&&!hE.test(String.fromCharCode(t))?n:n+";"}(e,t,r.omitOptionalSemicolons);n.length<i.length&&(i=n)}return n&&(!r.useShortestReferences||n.length<i.length)?n:i}function hO(e,t){let r;var n,i=e,a=Object.assign({format:hB},t);if(i=i.replace(a.subset?(n=a.subset,(r=h_.get(n))||(r=function(e){let t=[],r=-1;for(;++r<e.length;)t.push(e[r].replace(hT,"\\$&"));return RegExp("(?:"+t.join("|")+")","g")}(n),h_.set(n,r)),r):hA,o),a.subset||a.escapeOnly)return i;return i.replace(hS,function(e,t,r){return a.format((e.charCodeAt(0)-55296)*1024+e.charCodeAt(1)-56320+65536,r.charCodeAt(t+2),a)}).replace(hC,o);function o(e,t,r){return a.format(e.charCodeAt(0),r.charCodeAt(t+1),a)}}let hD=/^>|^->|<!--|-->|--!>|<!-$/g,hF=[">"],hq=["<",">"],hj=hG(1),hH=hG(-1),hU=[];function hG(e){return function(t,r,n){let i=t?t.children:hU,a=(r||0)+e,o=i[a];if(!n)for(;o&&L(o);)a+=e,o=i[a];return o}}let hV={}.hasOwnProperty;function hW(e){return function(t,r,n){return hV.call(e,t.tagName)&&e[t.tagName](t,r,n)}}let h$=hW({body:function(e,t,r){let n=hj(r,t);return!n||"comment"!==n.type},caption:hX,colgroup:hX,dd:function(e,t,r){let n=hj(r,t);return!n||"element"===n.type&&("dt"===n.tagName||"dd"===n.tagName)},dt:function(e,t,r){let n=hj(r,t);return!!(n&&"element"===n.type&&("dt"===n.tagName||"dd"===n.tagName))},head:hX,html:function(e,t,r){let n=hj(r,t);return!n||"comment"!==n.type},li:function(e,t,r){let n=hj(r,t);return!n||"element"===n.type&&"li"===n.tagName},optgroup:function(e,t,r){let n=hj(r,t);return!n||"element"===n.type&&"optgroup"===n.tagName},option:function(e,t,r){let n=hj(r,t);return!n||"element"===n.type&&("option"===n.tagName||"optgroup"===n.tagName)},p:function(e,t,r){let n=hj(r,t);return n?"element"===n.type&&("address"===n.tagName||"article"===n.tagName||"aside"===n.tagName||"blockquote"===n.tagName||"details"===n.tagName||"div"===n.tagName||"dl"===n.tagName||"fieldset"===n.tagName||"figcaption"===n.tagName||"figure"===n.tagName||"footer"===n.tagName||"form"===n.tagName||"h1"===n.tagName||"h2"===n.tagName||"h3"===n.tagName||"h4"===n.tagName||"h5"===n.tagName||"h6"===n.tagName||"header"===n.tagName||"hgroup"===n.tagName||"hr"===n.tagName||"main"===n.tagName||"menu"===n.tagName||"nav"===n.tagName||"ol"===n.tagName||"p"===n.tagName||"pre"===n.tagName||"section"===n.tagName||"table"===n.tagName||"ul"===n.tagName):!r||"element"!==r.type||"a"!==r.tagName&&"audio"!==r.tagName&&"del"!==r.tagName&&"ins"!==r.tagName&&"map"!==r.tagName&&"noscript"!==r.tagName&&"video"!==r.tagName},rp:hY,rt:hY,tbody:function(e,t,r){let n=hj(r,t);return!n||"element"===n.type&&("tbody"===n.tagName||"tfoot"===n.tagName)},td:hK,tfoot:function(e,t,r){return!hj(r,t)},th:hK,thead:function(e,t,r){let n=hj(r,t);return!!(n&&"element"===n.type&&("tbody"===n.tagName||"tfoot"===n.tagName))},tr:function(e,t,r){let n=hj(r,t);return!n||"element"===n.type&&"tr"===n.tagName}});function hX(e,t,r){let n=hj(r,t,!0);return!n||"comment"!==n.type&&!("text"===n.type&&L(n.value.charAt(0)))}function hY(e,t,r){let n=hj(r,t);return!n||"element"===n.type&&("rp"===n.tagName||"rt"===n.tagName)}function hK(e,t,r){let n=hj(r,t);return!n||"element"===n.type&&("td"===n.tagName||"th"===n.tagName)}let hJ=hW({body:function(e){let t=hj(e,-1,!0);return!t||"comment"!==t.type&&!("text"===t.type&&L(t.value.charAt(0)))&&("element"!==t.type||"meta"!==t.tagName&&"link"!==t.tagName&&"script"!==t.tagName&&"style"!==t.tagName&&"template"!==t.tagName)},colgroup:function(e,t,r){let n=hH(r,t),i=hj(e,-1,!0);return!(r&&n&&"element"===n.type&&"colgroup"===n.tagName&&h$(n,r.children.indexOf(n),r))&&!!(i&&"element"===i.type&&"col"===i.tagName)},head:function(e){let t=new Set;for(let r of e.children)if("element"===r.type&&("base"===r.tagName||"title"===r.tagName)){if(t.has(r.tagName))return!1;t.add(r.tagName)}let r=e.children[0];return!r||"element"===r.type},html:function(e){let t=hj(e,-1);return!t||"comment"!==t.type},tbody:function(e,t,r){let n=hH(r,t),i=hj(e,-1);return!(r&&n&&"element"===n.type&&("thead"===n.tagName||"tbody"===n.tagName)&&h$(n,r.children.indexOf(n),r))&&!!(i&&"element"===i.type&&"tr"===i.tagName)}}),hQ={name:[[" \n\f\r &/=>".split("")," \n\f\r \"&'/=>`".split("")],["\0 \n\f\r \"&'/<=>".split(""),"\0 \n\f\r \"&'/<=>`".split("")]],unquoted:[[" \n\f\r &>".split(""),"\0 \n\f\r \"&'<=>`".split("")],["\0 \n\f\r \"&'<=>`".split(""),"\0 \n\f\r \"&'<=>`".split("")]],single:[["&'".split(""),"\"&'`".split("")],["\0&'".split(""),"\0\"&'`".split("")]],double:[['"&'.split(""),"\"&'`".split("")],['\0"&'.split(""),"\0\"&'`".split("")]]},hZ=["<","&"];function h0(e,t,r,n){return r&&"element"===r.type&&("script"===r.tagName||"style"===r.tagName)?e.value:hO(e.value,Object.assign({},n.settings.characterReferences,{subset:hZ}))}let h1=function(e,t){let r=t||{};function n(t){for(var r=arguments.length,i=Array(r>1?r-1:0),a=1;a<r;a++)i[a-1]=arguments[a];let o=n.invalid,l=n.handlers;if(t&&hk.call(t,e)){let r=String(t[e]);o=hk.call(l,r)?l[r]:n.unknown}if(o)return o.call(this,t,...i)}return n.handlers=r.handlers||{},n.invalid=r.invalid,n.unknown=r.unknown,n}("type",{invalid:function(e){throw Error("Expected node, not `"+e+"`")},unknown:function(e){throw Error("Cannot compile unknown node `"+e.type+"`")},handlers:{comment:function(e,t,r,n){return n.settings.bogusComments?"<?"+hO(e.value,Object.assign({},n.settings.characterReferences,{subset:hF}))+">":"<!--"+e.value.replace(hD,function(e){return hO(e,Object.assign({},n.settings.characterReferences,{subset:hq}))})+"-->"},doctype:function(e,t,r,n){return"<!"+(n.settings.upperDoctype?"DOCTYPE":"doctype")+(n.settings.tightDoctype?"":" ")+"html>"},element:function(e,t,r,n){let i,a=n.schema,o="svg"!==a.space&&n.settings.omitOptionalTags,l="svg"===a.space?n.settings.closeEmptyElements:n.settings.voids.includes(e.tagName.toLowerCase()),s=[];"html"===a.space&&"svg"===e.tagName&&(n.schema=ed);let c=function(e,t){let r,n=[],i=-1;if(t){for(r in t)if(null!==t[r]&&void 0!==t[r]){let i=function(e,t,r){let n,i=Q(e.schema,t),a=e.settings.allowParseErrors&&"html"===e.schema.space?0:1,o=+!e.settings.allowDangerousCharacters,l=e.quote;if(i.overloadedBoolean&&(r===i.attribute||""===r)?r=!0:(i.boolean||i.overloadedBoolean)&&("string"!=typeof r||r===i.attribute||""===r)&&(r=!!r),null==r||!1===r||"number"==typeof r&&Number.isNaN(r))return"";let s=hO(i.attribute,Object.assign({},e.settings.characterReferences,{subset:hQ.name[a][o]}));return!0===r||(r=Array.isArray(r)?(i.commaSeparated?_:eg)(r,{padLeft:!e.settings.tightCommaSeparatedLists}):String(r),e.settings.collapseEmptyAttributes&&!r)?s:(e.settings.preferUnquoted&&(n=hO(r,Object.assign({},e.settings.characterReferences,{attribute:!0,subset:hQ.unquoted[a][o]}))),n!==r&&(e.settings.quoteSmart&&nt(r,l)>nt(r,e.alternative)&&(l=e.alternative),n=l+hO(r,Object.assign({},e.settings.characterReferences,{subset:("'"===l?hQ.single:hQ.double)[a][o],attribute:!0}))+l),s+(n?"="+n:n))}(e,r,t[r]);i&&n.push(i)}}for(;++i<n.length;){let t=e.settings.tightAttributes?n[i].charAt(n[i].length-1):void 0;i!==n.length-1&&'"'!==t&&"'"!==t&&(n[i]+=" ")}return n.join("")}(n,e.properties),u=n.all("html"===a.space&&"template"===e.tagName?e.content:e);return n.schema=a,u&&(l=!1),!c&&o&&hJ(e,t,r)||(s.push("<",e.tagName,c?" "+c:""),l&&("svg"===a.space||n.settings.closeSelfClosing)&&(i=c.charAt(c.length-1),(!n.settings.tightSelfClosing||"/"===i||i&&'"'!==i&&"'"!==i)&&s.push(" "),s.push("/")),s.push(">")),s.push(u),l||o&&h$(e,t,r)||s.push("</"+e.tagName+">"),s.join("")},raw:function(e,t,r,n){return n.settings.allowDangerousHtml?e.value:h0(e,t,r,n)},root:function(e,t,r,n){return n.all(e)},text:h0}}),h4={},h5={},h6=[];function h3(e,t,r){return h1(e,t,r,this)}function h7(e){let t=[],r=e&&e.children||h6,n=-1;for(;++n<r.length;)t[n]=this.one(r[n],n,e);return t.join("")}let h2=/\s+/g;function h8(e,t){var r;if(!t)return e;for(let n of(e.properties||(e.properties={}),(r=e.properties).class||(r.class=[]),"string"==typeof e.properties.class&&(e.properties.class=e.properties.class.split(h2)),Array.isArray(e.properties.class)||(e.properties.class=[]),Array.isArray(t)?t:t.split(h2)))n&&!e.properties.class.includes(n)&&e.properties.class.push(n);return e}let h9=/:?lang=["']([^"']+)["']/g,pe=/(?:```|~~~)([\w-]+)/g,pt=/\\begin\{([\w-]+)\}/g,pr=/<script\s+(?:type|lang)=["']([^"']+)["']/gi,pn=["color","background-color"];function pi(e){let t={};if(e.color&&(t.color=e.color),e.bgColor&&(t["background-color"]=e.bgColor),e.fontStyle){e.fontStyle&ur.Italic&&(t["font-style"]="italic"),e.fontStyle&ur.Bold&&(t["font-weight"]="bold");let r=[];e.fontStyle&ur.Underline&&r.push("underline"),e.fontStyle&ur.Strikethrough&&r.push("line-through"),r.length&&(t["text-decoration"]=r.join(" "))}return t}function pa(e){return"string"==typeof e?e:Object.entries(e).map(e=>{let[t,r]=e;return"".concat(t,":").concat(r)}).join(";")}let po=[function(){let e=new WeakMap;function t(t){if(!e.has(t.meta)){let n=function(e){let t=u9(e,!0).map(e=>{let[t]=e;return t});return{lines:t,indexToPos:function(r){if(r===e.length)return{line:t.length-1,character:t.at(-1).length};let n=r,i=0;for(let e of t){if(n<e.length)break;n-=e.length,i++}return{line:i,character:n}},posToIndex:function(e,r){let n=0;for(let r=0;r<e;r++)n+=t[r].length;return n+r}}}(t.source);function r(e){if("number"==typeof e){if(e<0||e>t.source.length)throw new cQ("Invalid decoration offset: ".concat(e,". Code length: ").concat(t.source.length));return{...n.indexToPos(e),offset:e}}{let t=n.lines[e.line];if(void 0===t)throw new cQ("Invalid decoration position ".concat(JSON.stringify(e),". Lines length: ").concat(n.lines.length));let r=e.character;if(r<0&&(r=t.length+r),r<0||r>t.length)throw new cQ("Invalid decoration position ".concat(JSON.stringify(e),". Line ").concat(e.line," length: ").concat(t.length));return{...e,character:r,offset:n.posToIndex(e.line,r)}}}let i=(t.options.decorations||[]).map(e=>({...e,start:r(e.start),end:r(e.end)}));(function(e){for(let t=0;t<e.length;t++){let r=e[t];if(r.start.offset>r.end.offset)throw new cQ("Invalid decoration range: ".concat(JSON.stringify(r.start)," - ").concat(JSON.stringify(r.end)));for(let n=t+1;n<e.length;n++){let t=e[n],i=r.start.offset<=t.start.offset&&t.start.offset<r.end.offset,a=r.start.offset<t.end.offset&&t.end.offset<=r.end.offset,o=t.start.offset<=r.start.offset&&r.start.offset<t.end.offset,l=t.start.offset<r.end.offset&&r.end.offset<=t.end.offset;if(i||a||o||l){if(i&&a||o&&l||o&&r.start.offset===r.end.offset||a&&t.start.offset===t.end.offset)continue;throw new cQ("Decorations ".concat(JSON.stringify(r.start)," and ").concat(JSON.stringify(t.start)," intersect."))}}}})(i),e.set(t.meta,{decorations:i,converter:n,source:t.source})}return e.get(t.meta)}return{name:"shiki:decorations",tokens(e){var r;if(null==(r=this.options.decorations)?void 0:r.length){var n=t(this).decorations.flatMap(e=>[e.start.offset,e.end.offset]);let r=[...n instanceof Set?n:new Set(n)].sort((e,t)=>e-t);return r.length?e.map(e=>e.flatMap(e=>{let t=r.filter(t=>e.offset<t&&t<e.offset+e.content.length).map(t=>t-e.offset).sort((e,t)=>e-t);if(!t.length)return e;let n=0,i=[];for(let r of t)r>n&&i.push({...e,content:e.content.slice(n,r),offset:e.offset+n}),n=r;return n<e.content.length&&i.push({...e,content:e.content.slice(n),offset:e.offset+n}),i})):e}},code(e){var r;if(!(null==(r=this.options.decorations)?void 0:r.length))return;let n=t(this),i=[...e.children].filter(e=>"element"===e.type&&"span"===e.tagName);if(i.length!==n.converter.lines.length)throw new cQ("Number of lines in code element (".concat(i.length,") does not match the number of lines in the source (").concat(n.converter.lines.length,"). Failed to apply decorations."));function a(e,t,r,n){let a=i[e],l="",s=-1,c=-1;if(0===t&&(s=0),0===r&&(c=0),r===1/0&&(c=a.children.length),-1===s||-1===c)for(let e=0;e<a.children.length;e++)l+=function e(t){return"text"===t.type?t.value:"element"===t.type?t.children.map(e).join(""):""}(a.children[e]),-1===s&&l.length===t&&(s=e+1),-1===c&&l.length===r&&(c=e+1);if(-1===s)throw new cQ("Failed to find start index for decoration ".concat(JSON.stringify(n.start)));if(-1===c)throw new cQ("Failed to find end index for decoration ".concat(JSON.stringify(n.end)));let u=a.children.slice(s,c);if(n.alwaysWrap||u.length!==a.children.length)if(n.alwaysWrap||1!==u.length||"element"!==u[0].type){let e={type:"element",tagName:"span",properties:{},children:u};o(e,n,"wrapper"),a.children.splice(s,u.length,e)}else o(u[0],n,"token");else o(a,n,"line")}function o(e,t,r){var n;let i=t.properties||{},a=t.transform||(e=>e);return e.tagName=t.tagName||"span",e.properties={...e.properties,...i,class:e.properties.class},(null==(n=t.properties)?void 0:n.class)&&h8(e,t.properties.class),e=a(e,r)||e}let l=[];for(let e of n.decorations.sort((e,t)=>t.start.offset-e.start.offset||e.end.offset-t.end.offset)){let{start:t,end:r}=e;if(t.line===r.line)a(t.line,t.character,r.character,e);else if(t.line<r.line){a(t.line,t.character,1/0,e);for(let n=t.line+1;n<r.line;n++)l.unshift(()=>{var t;i[t=n]=o(i[t],e,"line")});a(r.line,0,r.character,e)}}l.forEach(e=>e())}}}()];function pl(e){let t=function(e){let t=[],r=[],n=[];for(let i of e)switch(i.enforce){case"pre":t.push(i);break;case"post":r.push(i);break;default:n.push(i)}return{pre:t,post:r,normal:n}}(e.transformers||[]);return[...t.pre,...t.normal,...t.post,...po]}var ps=["black","red","green","yellow","blue","magenta","cyan","white","brightBlack","brightRed","brightGreen","brightYellow","brightBlue","brightMagenta","brightCyan","brightWhite"],pc={1:"bold",2:"dim",3:"italic",4:"underline",7:"reverse",8:"hidden",9:"strikethrough"};function pu(e){let t=e.shift();if("2"===t){let t=e.splice(0,3).map(e=>Number.parseInt(e));if(3!==t.length||t.some(e=>Number.isNaN(e)))return;return{type:"rgb",rgb:t}}if("5"===t){let t=e.shift();if(t)return{type:"table",index:Number(t)}}}var ph={black:"#000000",red:"#bb0000",green:"#00bb00",yellow:"#bbbb00",blue:"#0000bb",magenta:"#ff00ff",cyan:"#00bbbb",white:"#eeeeee",brightBlack:"#555555",brightRed:"#ff5555",brightGreen:"#00ff00",brightYellow:"#ffff55",brightBlue:"#5555ff",brightMagenta:"#ff55ff",brightCyan:"#55ffff",brightWhite:"#ffffff"};let pp=/#([0-9a-f]{3,8})/i,pm=/var\((--[\w-]+-ansi-[\w-]+)\)/,pd={black:"#000000",red:"#cd3131",green:"#0DBC79",yellow:"#E5E510",blue:"#2472C8",magenta:"#BC3FBC",cyan:"#11A8CD",white:"#E5E5E5",brightBlack:"#666666",brightRed:"#F14C4C",brightGreen:"#23D18B",brightYellow:"#F5F543",brightBlue:"#3B8EEA",brightMagenta:"#D670D6",brightCyan:"#29B8DB",brightWhite:"#FFFFFF"};function pf(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},n=e.resolveLangAlias(r.lang||"text"),{theme:i=e.getLoadedThemes()[0]}=r;if(!u3(n)&&!u2(i)&&"ansi"===n){let{theme:n}=e.setTheme(i);return function(e,t,r){let n,i,a,o=u4(e,r),l=u9(t),s=function(){let e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:ph;function r(e){return"#".concat(e.map(e=>Math.max(0,Math.min(e,255)).toString(16).padStart(2,"0")).join(""))}return{value:function(n){switch(n.type){case"named":return t[n.name];case"rgb":return r(n.rgb);case"table":var i;return i=n.index,function(){if(e)return e;e=[];for(let r=0;r<ps.length;r++)e.push(t[ps[r]]);let n=[0,95,135,175,215,255];for(let t=0;t<6;t++)for(let i=0;i<6;i++)for(let a=0;a<6;a++)e.push(r([n[t],n[i],n[a]]));let i=8;for(let t=0;t<24;t++,i+=10)e.push(r([i,i,i]));return e}()[i]}}}}(Object.fromEntries(ps.map(t=>{var r;let n="terminal.ansi".concat(t[0].toUpperCase()).concat(t.substring(1));return[t,(null==(r=e.colors)?void 0:r[n])||pd[t]]}))),c=(n=null,i=null,a=new Set,{parse(e){let t=[],r=0;do{let o=function(e,t){let r=e.indexOf("\x1b",t);if(-1!==r&&"["===e[r+1]){let t=e.indexOf("m",r);if(-1!==t)return{sequence:e.substring(r+2,t).split(";"),startPosition:r,position:t+1}}return{position:e.length}}(e,r),l=o.sequence?e.substring(r,o.startPosition):e.substring(r);if(l.length>0&&t.push({value:l,foreground:n,background:i,decorations:new Set(a)}),o.sequence){let e=function(e){let t=[];for(;e.length>0;){let r=e.shift();if(!r)continue;let n=Number.parseInt(r);if(!Number.isNaN(n))if(0===n)t.push({type:"resetAll"});else if(n<=9)pc[n]&&t.push({type:"setDecoration",value:pc[n]});else if(n<=29){let e=pc[n-20];e&&(t.push({type:"resetDecoration",value:e}),"dim"===e&&t.push({type:"resetDecoration",value:"bold"}))}else if(n<=37)t.push({type:"setForegroundColor",value:{type:"named",name:ps[n-30]}});else if(38===n){let r=pu(e);r&&t.push({type:"setForegroundColor",value:r})}else if(39===n)t.push({type:"resetForegroundColor"});else if(n<=47)t.push({type:"setBackgroundColor",value:{type:"named",name:ps[n-40]}});else if(48===n){let r=pu(e);r&&t.push({type:"setBackgroundColor",value:r})}else 49===n?t.push({type:"resetBackgroundColor"}):53===n?t.push({type:"setDecoration",value:"overline"}):55===n?t.push({type:"resetDecoration",value:"overline"}):n>=90&&n<=97?t.push({type:"setForegroundColor",value:{type:"named",name:ps[n-90+8]}}):n>=100&&n<=107&&t.push({type:"setBackgroundColor",value:{type:"named",name:ps[n-100+8]}})}return t}(o.sequence);for(let t of e)"resetAll"===t.type?(n=null,i=null,a.clear()):"resetForegroundColor"===t.type?n=null:"resetBackgroundColor"===t.type?i=null:"resetDecoration"===t.type&&a.delete(t.value);for(let t of e)"setForegroundColor"===t.type?n=t.value:"setBackgroundColor"===t.type?i=t.value:"setDecoration"===t.type&&a.add(t.value)}r=o.position}while(r<e.length)return t}});return l.map(t=>c.parse(t[0]).map(r=>{let n,i;r.decorations.has("reverse")?(n=r.background?s.value(r.background):e.bg,i=r.foreground?s.value(r.foreground):e.fg):(n=r.foreground?s.value(r.foreground):e.fg,i=r.background?s.value(r.background):void 0),n=u5(n,o),i=u5(i,o),r.decorations.has("dim")&&(n=function(e){let t=e.match(pp);if(t){let e=t[1];if(8===e.length){let t=Math.round(Number.parseInt(e.slice(6,8),16)/2).toString(16).padStart(2,"0");return"#".concat(e.slice(0,6)).concat(t)}if(6===e.length)return"#".concat(e,"80");if(4===e.length){let t=e[0],r=e[1],n=e[2],i=e[3];return"#".concat(t).concat(t).concat(r).concat(r).concat(n).concat(n).concat(Math.round(Number.parseInt("".concat(i).concat(i),16)/2).toString(16).padStart(2,"0"))}else if(3===e.length){let t=e[0],r=e[1],n=e[2];return"#".concat(t).concat(t).concat(r).concat(r).concat(n).concat(n,"80")}}let r=e.match(pm);return r?"var(".concat(r[1],"-dim)"):e}(n));let a=ur.None;return r.decorations.has("bold")&&(a|=ur.Bold),r.decorations.has("italic")&&(a|=ur.Italic),r.decorations.has("underline")&&(a|=ur.Underline),r.decorations.has("strikethrough")&&(a|=ur.Strikethrough),{content:r.value,offset:t[1],color:n,bgColor:i,fontStyle:a}}))}(n,t,r)}return hy(e,t,r)}function pg(e,t,r){let n,i,a,o,l,s;if("themes"in r){let{defaultColor:c="light",cssVariablePrefix:u="--shiki-",colorsRendering:h="css-vars"}=r,p=Object.entries(r.themes).filter(e=>e[1]).map(e=>({color:e[0],theme:e[1]})).sort((e,t)=>e.color===c?-1:+(t.color===c));if(0===p.length)throw new cQ("`themes` option must not be empty");let m=hx(e,t,r,pf);if(s=hm(m),c&&"light-dark()"!==c&&!p.some(e=>e.color===c))throw new cQ("`themes` option must contain the defaultColor key `".concat(c,"`"));let d=p.map(t=>e.getTheme(t.theme)),f=p.map(e=>e.color);a=m.map(e=>e.map(e=>(function(e,t,r,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"css-vars",a={content:e.content,explanation:e.explanation,offset:e.offset},o=t.map(t=>pi(e.variants[t])),l=new Set(o.flatMap(e=>Object.keys(e))),s={},c=(e,n)=>r+t[e]+("color"===n||"color"===n?"":"background-color"===n?"-bg":"-".concat(n));return o.forEach((e,r)=>{for(let a of l){let l=e[a]||"inherit";if(0===r&&n&&pn.includes(a))if("light-dark()"===n&&o.length>1){let e=t.findIndex(e=>"light"===e),n=t.findIndex(e=>"dark"===e);if(-1===e||-1===n)throw new cQ('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');s[a]="light-dark(".concat(o[e][a]||"inherit",", ").concat(o[n][a]||"inherit",")"),"css-vars"===i&&(s[c(r,a)]=l)}else s[a]=l;else"css-vars"===i&&(s[c(r,a)]=l)}}),a.htmlStyle=s,a})(e,f,u,c,h))),s&&hp(a,s);let g=p.map(e=>u4(e.theme,r));i=py(p,d,g,u,c,"fg",h),n=py(p,d,g,u,c,"bg",h),o="shiki-themes ".concat(d.map(e=>e.name).join(" ")),l=c?void 0:[i,n].join(";")}else if("theme"in r){let l=u4(r.theme,r);a=pf(e,t,r);let c=e.getTheme(r.theme);n=u5(c.bg,l),i=u5(c.fg,l),o=c.name,s=hm(a)}else throw new cQ("Invalid options, either `theme` or `themes` must be provided");return{tokens:a,fg:i,bg:n,themeName:o,rootStyle:l,grammarState:s}}function py(e,t,r,n,i,a,o){return e.map((l,s)=>{let c=u5(t[s][a],r[s])||"inherit",u="".concat(n+l.color).concat("bg"===a?"-bg":"",":").concat(c);if(0===s&&i){if("light-dark()"===i&&e.length>1){let n=e.findIndex(e=>"light"===e.color),i=e.findIndex(e=>"dark"===e.color);if(-1===n||-1===i)throw new cQ('When using `defaultColor: "light-dark()"`, you must provide both `light` and `dark` themes');return"light-dark(".concat(u5(t[n][a],r[n])||"inherit",", ").concat(u5(t[i][a],r[i])||"inherit",");").concat(u)}return c}return"css-vars"===o?u:null}).filter(e=>!!e).join(";")}let pv=/^\s+$/,pb=/^(\s*)(.*?)(\s*)$/;function px(e,t,r){var n,i,a;let o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{meta:{},options:r,codeToHast:(t,r)=>px(e,t,r),codeToTokens:(t,r)=>pg(e,t,r)},l=t;for(let e of pl(r))l=(null==(n=e.preprocess)?void 0:n.call(o,l,r))||l;let{tokens:s,fg:c,bg:u,themeName:h,rootStyle:p,grammarState:m}=pg(e,l,r),{mergeWhitespaces:d=!0,mergeSameStyleTokens:f=!1}=r;!0===d?s=s.map(e=>{let t,r=[],n="";return e.forEach((i,a)=>{let o=!(i.fontStyle&&(i.fontStyle&ur.Underline||i.fontStyle&ur.Strikethrough));o&&pv.test(i.content)&&e[a+1]?(void 0===t&&(t=i.offset),n+=i.content):n?(o?r.push({...i,offset:t,content:n+i.content}):r.push({content:n,offset:t},i),t=void 0,n=""):r.push(i)}),r}):"never"===d&&(s=s.map(e=>e.flatMap(e=>{if(pv.test(e.content))return e;let t=e.content.match(pb);if(!t)return e;let[,r,n,i]=t;if(!r&&!i)return e;let a=[{...e,offset:e.offset+r.length,content:n}];return r&&a.unshift({content:r,offset:e.offset}),i&&a.push({content:i,offset:e.offset+r.length+n.length}),a}))),f&&(s=s.map(e=>{let t=[];for(let r of e){if(0===t.length){t.push({...r});continue}let e=t.at(-1),n=pa(e.htmlStyle||pi(e)),i=pa(r.htmlStyle||pi(r)),a=e.fontStyle&&(e.fontStyle&ur.Underline||e.fontStyle&ur.Strikethrough),o=r.fontStyle&&(r.fontStyle&ur.Underline||r.fontStyle&ur.Strikethrough);a||o||n!==i?t.push({...r}):e.content+=r.content}return t}));let g={...o,get source(){return l}};for(let e of pl(r))s=(null==(i=e.tokens)?void 0:i.call(g,s))||s;return function(e,t,r){var n,i,a,o;let l=arguments.length>3&&void 0!==arguments[3]?arguments[3]:hm(e),s=pl(t),c=[],u={type:"root",children:[]},{structure:h="classic",tabindex:p="0"}=t,m={class:"shiki ".concat(t.themeName||"")};for(let[e,r]of(!1!==t.rootStyle&&(null!=t.rootStyle?m.style=t.rootStyle:m.style="background-color:".concat(t.bg,";color:").concat(t.fg)),!1!==p&&null!=p&&(m.tabindex=p.toString()),Object.entries(t.meta||{})))e.startsWith("_")||(m[e]=r);let d={type:"element",tagName:"pre",properties:m,children:[],data:t.data},f={type:"element",tagName:"code",properties:{},children:c},g=[],y={...r,structure:h,addClassToHast:h8,get source(){return r.source},get tokens(){return e},get options(){return t},get root(){return u},get pre(){return d},get code(){return f},get lines(){return g}};if(e.forEach((e,t)=>{var r,n;t&&("inline"===h?u.children.push({type:"element",tagName:"br",properties:{},children:[]}):"classic"===h&&c.push({type:"text",value:"\n"}));let i={type:"element",tagName:"span",properties:{class:"line"},children:[]},a=0;for(let n of e){let e={type:"element",tagName:"span",properties:{...n.htmlAttrs},children:[{type:"text",value:n.content}]},o=pa(n.htmlStyle||pi(n));for(let l of(o&&(e.properties.style=o),s))e=(null==l||null==(r=l.span)?void 0:r.call(y,e,t+1,a,i,n))||e;"inline"===h?u.children.push(e):"classic"===h&&i.children.push(e),a+=n.content.length}if("classic"===h){for(let e of s)i=(null==e||null==(n=e.line)?void 0:n.call(y,i,t+1))||i;g.push(i),c.push(i)}else"inline"===h&&g.push(i)}),"classic"===h){for(let e of s)f=(null==e||null==(i=e.code)?void 0:i.call(y,f))||f;for(let e of(d.children.push(f),s))d=(null==e||null==(a=e.pre)?void 0:a.call(y,d))||d;u.children.push(d)}else if("inline"===h){let e=[],t={type:"element",tagName:"span",properties:{class:"line"},children:[]};for(let r of u.children)"element"===r.type&&"br"===r.tagName?(e.push(t),t={type:"element",tagName:"span",properties:{class:"line"},children:[]}):("element"===r.type||"text"===r.type)&&t.children.push(r);e.push(t);let r={type:"element",tagName:"code",properties:{},children:e};for(let e of s)r=(null==e||null==(o=e.code)?void 0:o.call(y,r))||r;u.children=[];for(let e=0;e<r.children.length;e++){e>0&&u.children.push({type:"element",tagName:"br",properties:{},children:[]});let t=r.children[e];"element"===t.type&&u.children.push(...t.children)}}let v=u;for(let e of s)v=(null==e||null==(n=e.root)?void 0:n.call(y,v))||v;return l&&hp(v,l),v}(s,{...r,fg:c,bg:u,themeName:h,rootStyle:!1!==r.rootStyle&&(null!=(a=r.rootStyle)?a:p)},g,m)}let pw=function(e,t){let r=t||h4,n=r.quote||'"';if('"'!==n&&"'"!==n)throw Error("Invalid quote `"+n+"`, expected `'` or `\"`");return({one:h3,all:h7,settings:{omitOptionalTags:r.omitOptionalTags||!1,allowParseErrors:r.allowParseErrors||!1,allowDangerousCharacters:r.allowDangerousCharacters||!1,quoteSmart:r.quoteSmart||!1,preferUnquoted:r.preferUnquoted||!1,tightAttributes:r.tightAttributes||!1,upperDoctype:r.upperDoctype||!1,tightDoctype:r.tightDoctype||!1,bogusComments:r.bogusComments||!1,tightCommaSeparatedLists:r.tightCommaSeparatedLists||!1,tightSelfClosing:r.tightSelfClosing||!1,collapseEmptyAttributes:r.collapseEmptyAttributes||!1,allowDangerousHtml:r.allowDangerousHtml||!1,voids:r.voids||hw,characterReferences:r.characterReferences||h5,closeSelfClosing:r.closeSelfClosing||!1,closeEmptyElements:r.closeEmptyElements||!1},schema:"svg"===r.space?ed:em,quote:n,alternative:'"'===n?"'":'"'}).one(Array.isArray(e)?{type:"root",children:e}:e,void 0,void 0)};async function pk(e){let t=await hu(e);return{getLastGrammarState:function(){for(var e=arguments.length,r=Array(e),n=0;n<e;n++)r[n]=arguments[n];return function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(2===t.length)return hm(t[1]);let[n,i,a={}]=t,{lang:o="text",theme:l=n.getLoadedThemes()[0]}=a;if(u3(o)||u2(l))throw new cQ("Plain language does not have grammar state");if("ansi"===o)throw new cQ("ANSI language does not have grammar state");let{theme:s,colorMap:c}=n.setTheme(l),u=n.getLanguage(o);return new hd(hv(i,u,s,c,a).stateStack,u.name,s.name)}(t,...r)},codeToTokensBase:(e,r)=>pf(t,e,r),codeToTokensWithThemes:(e,r)=>hx(t,e,r),codeToTokens:(e,r)=>pg(t,e,r),codeToHast:(e,r)=>px(t,e,r),codeToHtml:(e,r)=>(function(e,t,r){var n;let i={meta:{},options:r,codeToHast:(t,r)=>px(e,t,r),codeToTokens:(t,r)=>pg(e,t,r)},a=pw(px(e,t,r,i));for(let e of pl(r))a=(null==(n=e.postprocess)?void 0:n.call(i,a,r))||a;return a})(t,e,r),getBundledLanguages:()=>({}),getBundledThemes:()=>({}),...t,getInternalContext:()=>t}}let{codeToHtml:pA}=function(e,t){let r,n=async function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(r){let e=await r;return await Promise.all([e.loadTheme(...t.themes||[]),e.loadLanguage(...t.langs||[])]),e}{r=e({...t,themes:[],langs:[]});let n=await r;return await Promise.all([n.loadTheme(...t.themes||[]),n.loadLanguage(...t.langs||[])]),n}};async function i(e,r){var i;let a=await n({langs:[r.lang],themes:"theme"in r?[r.theme]:Object.values(r.themes)}),o=await (null==t||null==(i=t.guessEmbeddedLanguages)?void 0:i.call(t,e,r.lang,a));return o&&await a.loadLanguage(...o),a}return{getSingletonHighlighter:e=>n(e),codeToHtml:async(e,t)=>(await i(e,t)).codeToHtml(e,t),codeToHast:async(e,t)=>(await i(e,t)).codeToHast(e,t),codeToTokens:async(e,t)=>(await i(e,t)).codeToTokens(e,t),codeToTokensBase:async(e,t)=>(await i(e,t)).codeToTokensBase(e,t),codeToTokensWithThemes:async(e,t)=>(await i(e,t)).codeToTokensWithThemes(e,t),getLastGrammarState:async(e,t)=>(await n({langs:[t.lang],themes:[t.theme]})).getLastGrammarState(e,t)}}(function(e){let t=e.langs,r=e.themes,n=e.engine;return async function(e){var i,a,o;function l(r){if("string"==typeof r){var n;if(u7(r=(null==(n=e.langAlias)?void 0:n[r])||r))return[];let i=t[r];if(!i)throw new cQ("Language `".concat(r,"` is not included in this bundle. You may want to load it from external source."));return i}return r}function s(e){if(u2(e))return"none";if("string"==typeof e){let t=r[e];if(!t)throw new cQ("Theme `".concat(e,"` is not included in this bundle. You may want to load it from external source."));return t}return e}let c=(null!=(i=e.themes)?i:[]).map(e=>s(e)),u=(null!=(a=e.langs)?a:[]).map(e=>l(e)),h=await pk({engine:null!=(o=e.engine)?o:n(),...e,themes:c,langs:u});return{...h,loadLanguage(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return h.loadLanguage(...t.map(l))},loadTheme(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];return h.loadTheme(...t.map(s))},getBundledLanguages:()=>t,getBundledThemes:()=>r}}}({langs:cK,themes:cJ,engine:()=>(0,cW.createOnigurumaEngine)(e.A(14467))}),{guessEmbeddedLanguages:function(e,t,r){let n=new Set;for(let t of e.matchAll(h9)){let e=t[1].toLowerCase().trim();e&&n.add(e)}for(let t of e.matchAll(pe)){let e=t[1].toLowerCase().trim();e&&n.add(e)}for(let t of e.matchAll(pt)){let e=t[1].toLowerCase().trim();e&&n.add(e)}for(let t of e.matchAll(pr)){let e=t[1].toLowerCase().trim(),r=e.includes("/")?e.split("/").pop():e;r&&n.add(r)}if(!r)return[...n];let i=r.getBundledLanguages();return[...n].filter(e=>e&&i[e])}}),pS={...cf,attributes:{...null!=(f=cf.attributes)?f:{},"*":[...null!=(g=null==(c=cf.attributes)?void 0:c["*"])?g:[],"className","ariaHidden","dataTheme"],input:[...null!=(y=null==(u=cf.attributes)?void 0:u.input)?y:[],"type","checked","disabled"],code:[...null!=(v=null==(h=cf.attributes)?void 0:h.code)?v:[],"className"],pre:[...null!=(b=null==(p=cf.attributes)?void 0:p.pre)?b:[],"className"],span:[...null!=(x=null==(m=cf.attributes)?void 0:m.span)?x:[],"className"],div:[...null!=(w=null==(d=cf.attributes)?void 0:d.div)?w:[],"className","dataTheme"],math:[["xmlns"],["display"]],annotation:[["encoding"]]},tagNames:[...null!=(k=cf.tagNames)?k:[],"math","annotation","semantics","mrow","mi","mn","mo","msup","msub","mfrac","msqrt","mtext"]};function pC(e){let[t,r]=(0,A.useState)(!1);return(0,A.useEffect)(()=>{if("auto"!==e)return;let t=window.matchMedia("(prefers-color-scheme: dark)"),n=()=>r(t.matches);return n(),t.addEventListener("change",n),()=>t.removeEventListener("change",n)},[e]),"dark"===e||"light"!==e&&t}async function pT(e,t,r){let n=r?"github-dark":"github-light";try{return await pA(e,{lang:t||"text",theme:n})}catch(t){return await pA(e,{lang:"text",theme:n})}}function p_(e){let{code:t,lang:r,theme:n="auto",className:i,pendingContent:a}=e,o=pC(n),l=o?"dark":"light",[s,c]=(0,A.useState)("");(0,A.useEffect)(()=>{let e=!1;c("");let n=requestAnimationFrame(()=>{pT(t,r,o).then(t=>{e||(0,A.startTransition)(()=>{e||c(t)})})});return()=>{e=!0,cancelAnimationFrame(n)}},[t,r,o]);let u=s?(0,A.createElement)("div",{dangerouslySetInnerHTML:{__html:s}}):void 0!==a?a:(0,A.createElement)("pre",null,(0,A.createElement)("code",{className:r?"language-".concat(r):void 0},t));return(0,A.createElement)("div",{className:["chat-md",i].filter(Boolean).join(" "),"data-theme":l},s||void 0===a?(0,A.createElement)("div",{className:"chat-code-block"},u):u)}function pM(e){let{code:t,lang:r,streaming:n,dark:i,enableMermaid:a,renderMermaid:o}=e,[l,s]=(0,A.useState)("");return((0,A.useEffect)(()=>{if(n||!r||"mermaid"===r)return void s("");let e=!1;return pT(t,r,i).then(t=>{e||s(t)}),()=>{e=!0}},[t,r,n,i]),"mermaid"===r&&a)?o?o(t):(0,A.createElement)("pre",{className:"mermaid"},t):(0,A.createElement)("div",{className:"chat-code-block"},(0,A.createElement)("div",{className:"chat-code-head"},(0,A.createElement)("span",{className:"chat-code-title"},r||"text"),(0,A.createElement)("button",{type:"button",className:"chat-code-copy-btn",title:"复制代码"},"复制")),l?(0,A.createElement)("div",{dangerouslySetInnerHTML:{__html:l}}):(0,A.createElement)("pre",null,(0,A.createElement)("code",{className:r?"language-".concat(r):void 0},t)))}function pE(e){let{markdown:t,streaming:r=!1,theme:n="auto",className:i,enableMath:a=!0,enableMermaid:o=!0,renderMermaid:l,components:s,remarkPlugins:c,rehypePlugins:u,sanitizeSchema:h}=e,p=pC(n),m=p?"dark":"light",d=(0,A.useMemo)(()=>({table(e){let{children:t,...r}=e;return(0,A.createElement)("div",{className:"table-wrapper"},(0,A.createElement)("table",r,t))},code(e){var t,n;let{className:i,children:a,...s}=e,c=null!=(n=null==(t=/language-(\w+)/.exec(null!=i?i:""))?void 0:t[1])?n:"",u="string"==typeof a?a:Array.isArray(a)?a.map(e=>"string"==typeof e?e:"").join("").replace(/\n$/,""):"";return c?(0,A.createElement)(pM,{code:u,lang:c,streaming:r,dark:p,enableMermaid:o,renderMermaid:l}):(0,A.createElement)("code",{...s,className:i},a)}}),[p,r,o,l]),f=(0,A.useMemo)(()=>({...d,...null!=s?s:{}}),[d,s]),g=(0,A.useMemo)(()=>[...null!=c?c:[],ih,...a?[iv]:[]],[c,a]),y=(0,A.useMemo)(()=>[cA,null!=h?h:pS],[h]),v=(0,A.useMemo)(()=>[...null!=u?u:[],...a?[cm]:[],y],[u,a,y]),b=["chat-md",i].filter(Boolean).join(" ");return(0,A.createElement)("div",{className:b,"data-theme":m},(0,A.createElement)(r9,{skipHtml:!0,remarkPlugins:g,rehypePlugins:v,components:f},t))}function pz(e){let t=e.match(/^\s*<channel\b[^>]*>\s*([\s\S]*?)\s*<\/channel>\s*$/i);return t?t[1].trim():e}function pN(e){if(!e||"object"!=typeof e)return"";let t=e.type;if("user"===t||"assistant"===t){let t=e.message;if(t&&void 0!==t.content)return function(e){if(null==e)return"";if("string"==typeof e)return pz(e);if(!Array.isArray(e))try{return JSON.stringify(e,null,2)}catch(t){return String(e)}let t=[];for(let r of e)if(r&&"object"==typeof r){if("text"===r.type&&"string"==typeof r.text)t.push(pz(r.text));else if("tool_use"===r.type){let e=r.name||"tool",n="";try{n=JSON.stringify(r.input,null,2)}catch(e){n=String(r.input)}t.push("\n\n**`".concat(e,"`**\n\n```json\n").concat(n.slice(0,12e3),"\n```\n"))}else if("tool_result"===r.type){let e=r.content;if("string"!=typeof e)try{e=JSON.stringify(e,null,2)}catch(t){e=String(e)}t.push("\n\n```\n".concat(String(e).slice(0,8e3),"\n```\n"))}}return t.join("")}(t.content)}return"system"===t&&"string"==typeof e.content?e.content:""}e.s(["deleteRepoFile",()=>pO,"fetchRepoEntries",()=>pR,"fetchRepoFilePreview",()=>pP,"fetchRepoFileSize",()=>pB,"uploadWorkspaceFile",()=>pD],50052);var pI=e.i(29250),pL=e.i(36845);async function pR(e,t,r){let n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",i=await (0,pI.get)((0,pL.buildRepoEntriesUrl)(e,t,r,n));if(!i.entries)throw Error(i.message||"获取目录条目失败");return i.entries}async function pP(e,t,r,n){return(await (0,pI.bridgeFetch)((0,pL.buildRepoFileUrl)(e,t,r,n,!0),{method:"GET",raw:!0})).text()}async function pB(e,t,r,n){let i=(await (0,pI.bridgeFetch)((0,pL.buildRepoFileUrl)(e,t,r,n),{method:"HEAD",raw:!0})).headers.get("content-length");if(!i)return null;let a=Number(i);return Number.isFinite(a)&&a>=0?a:null}async function pO(e,t,r,n){await (0,pI.del)((0,pL.buildRepoFileUrl)(e,t,r,n))}async function pD(e,t,r,n){let i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:"",a=new FormData;a.append("file",n),a.append("path",i);let o=await (0,pI.post)((0,pL.buildRepoUploadUrl)(e,t,r),a,{type:"file"}),l="string"==typeof o.path?o.path.trim():"";if(!l)throw Error(o.message||o.error||"上传失败:未返回文件路径");return{path:l}}}]);