@schmitech/markdown-renderer 0.1.5 → 0.2.0

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.
@@ -1,4 +1,4 @@
1
- (function(M0,qr){typeof exports=="object"&&typeof module<"u"?qr(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],qr):(M0=typeof globalThis<"u"?globalThis:M0||self,qr(M0.MarkdownRenderer={},M0.React))})(this,(function(M0,qr){"use strict";function ss(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Nn={exports:{}},an={};/**
1
+ (function(b0,Fr){typeof exports=="object"&&typeof module<"u"?Fr(exports,require("react")):typeof define=="function"&&define.amd?define(["exports","react"],Fr):(b0=typeof globalThis<"u"?globalThis:b0||self,Fr(b0.MarkdownRenderer={},b0.React))})(this,(function(b0,Fr){"use strict";const w4=".markdown-content{color:inherit;font-size:inherit;line-height:1.6;word-break:break-word;overflow-wrap:break-word;max-width:100%}.markdown-content h1,.markdown-content h2,.markdown-content h3,.markdown-content h4,.markdown-content h5,.markdown-content h6{color:inherit;font-weight:600;line-height:1.4;margin-block-start:1.5em;margin-block-end:.8em}.markdown-content h1{font-size:1.5em}.markdown-content h2{font-size:1.3em}.markdown-content h3{font-size:1.2em}.markdown-content h4{font-size:1.1em}.markdown-content h5{font-size:1.05em}.markdown-content h6{font-size:1em}.markdown-content p{margin-block-end:12px}.markdown-content a{color:#2563eb;text-decoration:underline;text-underline-offset:2px;transition:color .2s}.markdown-content a:hover{color:#1d4ed8}.markdown-content ul,.markdown-content ol{margin:12px 0;padding-left:20px}.markdown-content ul{list-style-type:disc}.markdown-content ol{list-style-type:decimal}.markdown-content li{margin-bottom:4px}.markdown-content pre{overflow:auto;padding:12px 16px;margin:12px 0;border-radius:6px;background-color:#0000000f;border:1px solid rgba(0,0,0,.1);font-size:.9em;font-family:Monaco,Consolas,Liberation Mono,Courier New,monospace}.markdown-content p>code,.markdown-content li>code,.markdown-content th>code,.markdown-content td>code{padding:2px 6px;border-radius:4px;background-color:#0000000f;border:1px solid rgba(0,0,0,.1);font-size:.9em;font-family:Monaco,Consolas,Liberation Mono,Courier New,monospace}.markdown-content blockquote{margin:12px 0;padding-left:16px;border-left:4px solid rgba(0,0,0,.2);font-style:italic;opacity:.8}.markdown-content{position:relative;overflow:auto}.markdown-content table{border-collapse:collapse;font-size:.75em;margin:12px 0;table-layout:auto;width:max-content;min-width:100%;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch}.markdown-content tbody,.markdown-content thead{width:auto}.markdown-content thead{background-color:#0000000d}.markdown-content th,.markdown-content td{padding:6px 10px;border:1px solid rgba(0,0,0,.2);line-height:1.4;vertical-align:top}.markdown-content th{font-weight:600;text-align:left;background-color:#0000000d;white-space:normal;min-width:120px;max-width:250px;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}.markdown-content td{white-space:normal;min-width:80px;max-width:200px;word-break:break-word;-webkit-hyphens:auto;hyphens:auto}.markdown-content td a,.markdown-content td:has(a){word-break:break-all;display:inline-block;max-width:180px}@media(max-width:480px){.markdown-content table{font-size:.7em}.markdown-content th,.markdown-content td{padding:4px 6px;min-width:60px}}.markdown-content hr{margin:20px 0;border:none;border-top:1px solid rgba(0,0,0,.2);opacity:.5}.markdown-content .katex{font-size:1.1em}.markdown-content .katex-display{margin:1em 0;overflow-x:auto;overflow-y:hidden}";function ls(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var On={exports:{}},tn={};/**
2
2
  * @license React
3
3
  * react-jsx-runtime.production.min.js
4
4
  *
@@ -6,7 +6,7 @@
6
6
  *
7
7
  * This source code is licensed under the MIT license found in the
8
8
  * LICENSE file in the root directory of this source tree.
9
- */var os;function v4(){if(os)return an;os=1;var e=qr,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(c,m,f){var g,b={},d=null,p=null;f!==void 0&&(d=""+f),m.key!==void 0&&(d=""+m.key),m.ref!==void 0&&(p=m.ref);for(g in m)n.call(m,g)&&!l.hasOwnProperty(g)&&(b[g]=m[g]);if(c&&c.defaultProps)for(g in m=c.defaultProps,m)b[g]===void 0&&(b[g]=m[g]);return{$$typeof:t,type:c,key:d,ref:p,props:b,_owner:a.current}}return an.Fragment=r,an.jsx=u,an.jsxs=u,an}var ln={};/**
9
+ */var ss;function k4(){if(ss)return tn;ss=1;var e=Fr,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,a=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(c,m,f){var g,b={},d=null,p=null;f!==void 0&&(d=""+f),m.key!==void 0&&(d=""+m.key),m.ref!==void 0&&(p=m.ref);for(g in m)n.call(m,g)&&!l.hasOwnProperty(g)&&(b[g]=m[g]);if(c&&c.defaultProps)for(g in m=c.defaultProps,m)b[g]===void 0&&(b[g]=m[g]);return{$$typeof:t,type:c,key:d,ref:p,props:b,_owner:a.current}}return tn.Fragment=r,tn.jsx=u,tn.jsxs=u,tn}var rn={};/**
10
10
  * @license React
11
11
  * react-jsx-runtime.development.js
12
12
  *
@@ -14,37 +14,37 @@
14
14
  *
15
15
  * This source code is licensed under the MIT license found in the
16
16
  * LICENSE file in the root directory of this source tree.
17
- */var us;function w4(){return us||(us=1,process.env.NODE_ENV!=="production"&&(function(){var e=qr,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),A=Symbol.iterator,B="@@iterator";function H(N){if(N===null||typeof N!="object")return null;var M=A&&N[A]||N[B];return typeof M=="function"?M:null}var R=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function L(N){{for(var M=arguments.length,I=new Array(M>1?M-1:0),Me=1;Me<M;Me++)I[Me-1]=arguments[Me];K("error",N,I)}}function K(N,M,I){{var Me=R.ReactDebugCurrentFrame,le=Me.getStackAddendum();le!==""&&(M+="%s",I=I.concat([le]));var Oe=I.map(function(Pe){return String(Pe)});Oe.unshift("Warning: "+M),Function.prototype.apply.call(console[N],console,Oe)}}var ae=!1,re=!1,Y=!1,oe=!1,ve=!1,ue;ue=Symbol.for("react.module.reference");function J(N){return!!(typeof N=="string"||typeof N=="function"||N===n||N===l||ve||N===a||N===f||N===g||oe||N===p||ae||re||Y||typeof N=="object"&&N!==null&&(N.$$typeof===d||N.$$typeof===b||N.$$typeof===u||N.$$typeof===c||N.$$typeof===m||N.$$typeof===ue||N.getModuleId!==void 0))}function de(N,M,I){var Me=N.displayName;if(Me)return Me;var le=M.displayName||M.name||"";return le!==""?I+"("+le+")":I}function ge(N){return N.displayName||"Context"}function he(N){if(N==null)return null;if(typeof N.tag=="number"&&L("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof N=="function")return N.displayName||N.name||null;if(typeof N=="string")return N;switch(N){case n:return"Fragment";case r:return"Portal";case l:return"Profiler";case a:return"StrictMode";case f:return"Suspense";case g:return"SuspenseList"}if(typeof N=="object")switch(N.$$typeof){case c:var M=N;return ge(M)+".Consumer";case u:var I=N;return ge(I._context)+".Provider";case m:return de(N,N.render,"ForwardRef");case b:var Me=N.displayName||null;return Me!==null?Me:he(N.type)||"Memo";case d:{var le=N,Oe=le._payload,Pe=le._init;try{return he(Pe(Oe))}catch{return null}}}return null}var te=Object.assign,Ae=0,Ve,Qe,ht,qt,$,we,it;function V(){}V.__reactDisabledLog=!0;function At(){{if(Ae===0){Ve=console.log,Qe=console.info,ht=console.warn,qt=console.error,$=console.group,we=console.groupCollapsed,it=console.groupEnd;var N={configurable:!0,enumerable:!0,value:V,writable:!0};Object.defineProperties(console,{info:N,log:N,warn:N,error:N,group:N,groupCollapsed:N,groupEnd:N})}Ae++}}function It(){{if(Ae--,Ae===0){var N={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:te({},N,{value:Ve}),info:te({},N,{value:Qe}),warn:te({},N,{value:ht}),error:te({},N,{value:qt}),group:te({},N,{value:$}),groupCollapsed:te({},N,{value:we}),groupEnd:te({},N,{value:it})})}Ae<0&&L("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var tt=R.ReactCurrentDispatcher,Ot;function Tt(N,M,I){{if(Ot===void 0)try{throw Error()}catch(le){var Me=le.stack.trim().match(/\n( *(at )?)/);Ot=Me&&Me[1]||""}return`
18
- `+Ot+N}}var Lt=!1,Ft;{var H0=typeof WeakMap=="function"?WeakMap:Map;Ft=new H0}function br(N,M){if(!N||Lt)return"";{var I=Ft.get(N);if(I!==void 0)return I}var Me;Lt=!0;var le=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var Oe;Oe=tt.current,tt.current=null,At();try{if(M){var Pe=function(){throw Error()};if(Object.defineProperty(Pe.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(Pe,[])}catch(Ht){Me=Ht}Reflect.construct(N,[],Pe)}else{try{Pe.call()}catch(Ht){Me=Ht}N.call(Pe.prototype)}}else{try{throw Error()}catch(Ht){Me=Ht}N()}}catch(Ht){if(Ht&&Me&&typeof Ht.stack=="string"){for(var ye=Ht.stack.split(`
19
- `),Ue=Me.stack.split(`
20
- `),We=ye.length-1,pt=Ue.length-1;We>=1&&pt>=0&&ye[We]!==Ue[pt];)pt--;for(;We>=1&&pt>=0;We--,pt--)if(ye[We]!==Ue[pt]){if(We!==1||pt!==1)do if(We--,pt--,pt<0||ye[We]!==Ue[pt]){var q=`
21
- `+ye[We].replace(" at new "," at ");return N.displayName&&q.includes("<anonymous>")&&(q=q.replace("<anonymous>",N.displayName)),typeof N=="function"&&Ft.set(N,q),q}while(We>=1&&pt>=0);break}}}finally{Lt=!1,tt.current=Oe,It(),Error.prepareStackTrace=le}var Gt=N?N.displayName||N.name:"",j=Gt?Tt(Gt):"";return typeof N=="function"&&Ft.set(N,j),j}function Er(N,M,I){return br(N,!1)}function tr(N){var M=N.prototype;return!!(M&&M.isReactComponent)}function x0(N,M,I){if(N==null)return"";if(typeof N=="function")return br(N,tr(N));if(typeof N=="string")return Tt(N);switch(N){case f:return Tt("Suspense");case g:return Tt("SuspenseList")}if(typeof N=="object")switch(N.$$typeof){case m:return Er(N.render);case b:return x0(N.type,M,I);case d:{var Me=N,le=Me._payload,Oe=Me._init;try{return x0(Oe(le),M,I)}catch{}}}return""}var n0=Object.prototype.hasOwnProperty,z0={},Zt=R.ReactDebugCurrentFrame;function wt(N){if(N){var M=N._owner,I=x0(N.type,N._source,M?M.type:null);Zt.setExtraStackFrame(I)}else Zt.setExtraStackFrame(null)}function rr(N,M,I,Me,le){{var Oe=Function.call.bind(n0);for(var Pe in N)if(Oe(N,Pe)){var ye=void 0;try{if(typeof N[Pe]!="function"){var Ue=Error((Me||"React class")+": "+I+" type `"+Pe+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof N[Pe]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Ue.name="Invariant Violation",Ue}ye=N[Pe](M,Pe,Me,I,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(We){ye=We}ye&&!(ye instanceof Error)&&(wt(le),L("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",Me||"React class",I,Pe,typeof ye),wt(null)),ye instanceof Error&&!(ye.message in z0)&&(z0[ye.message]=!0,wt(le),L("Failed %s type: %s",I,ye.message),wt(null))}}}var Zr=Array.isArray;function Dr(N){return Zr(N)}function Br(N){{var M=typeof Symbol=="function"&&Symbol.toStringTag,I=M&&N[Symbol.toStringTag]||N.constructor.name||"Object";return I}}function Nr(N){try{return Kr(N),!1}catch{return!0}}function Kr(N){return""+N}function ee(N){if(Nr(N))return L("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",Br(N)),Kr(N)}var be=R.ReactCurrentOwner,Re={key:!0,ref:!0,__self:!0,__source:!0},_e,et;function Pt(N){if(n0.call(N,"ref")){var M=Object.getOwnPropertyDescriptor(N,"ref").get;if(M&&M.isReactWarning)return!1}return N.ref!==void 0}function C0(N){if(n0.call(N,"key")){var M=Object.getOwnPropertyDescriptor(N,"key").get;if(M&&M.isReactWarning)return!1}return N.key!==void 0}function i0(N,M){typeof N.ref=="string"&&be.current}function rt(N,M){{var I=function(){_e||(_e=!0,L("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",M))};I.isReactWarning=!0,Object.defineProperty(N,"key",{get:I,configurable:!0})}}function fe(N,M){{var I=function(){et||(et=!0,L("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",M))};I.isReactWarning=!0,Object.defineProperty(N,"ref",{get:I,configurable:!0})}}var yt=function(N,M,I,Me,le,Oe,Pe){var ye={$$typeof:t,type:N,key:M,ref:I,props:Pe,_owner:Oe};return ye._store={},Object.defineProperty(ye._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(ye,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Me}),Object.defineProperty(ye,"_source",{configurable:!1,enumerable:!1,writable:!1,value:le}),Object.freeze&&(Object.freeze(ye.props),Object.freeze(ye)),ye};function E0(N,M,I,Me,le){{var Oe,Pe={},ye=null,Ue=null;I!==void 0&&(ee(I),ye=""+I),C0(M)&&(ee(M.key),ye=""+M.key),Pt(M)&&(Ue=M.ref,i0(M,le));for(Oe in M)n0.call(M,Oe)&&!Re.hasOwnProperty(Oe)&&(Pe[Oe]=M[Oe]);if(N&&N.defaultProps){var We=N.defaultProps;for(Oe in We)Pe[Oe]===void 0&&(Pe[Oe]=We[Oe])}if(ye||Ue){var pt=typeof N=="function"?N.displayName||N.name||"Unknown":N;ye&&rt(Pe,pt),Ue&&fe(Pe,pt)}return yt(N,ye,Ue,le,Me,be.current,Pe)}}var jt=R.ReactCurrentOwner,bi=R.ReactDebugCurrentFrame;function nr(N){if(N){var M=N._owner,I=x0(N.type,N._source,M?M.type:null);bi.setExtraStackFrame(I)}else bi.setExtraStackFrame(null)}var ir;ir=!1;function Ir(N){return typeof N=="object"&&N!==null&&N.$$typeof===t}function xi(){{if(jt.current){var N=he(jt.current.type);if(N)return`
17
+ */var os;function S4(){return os||(os=1,process.env.NODE_ENV!=="production"&&(function(){var e=Fr,t=Symbol.for("react.element"),r=Symbol.for("react.portal"),n=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),u=Symbol.for("react.provider"),c=Symbol.for("react.context"),m=Symbol.for("react.forward_ref"),f=Symbol.for("react.suspense"),g=Symbol.for("react.suspense_list"),b=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen"),A=Symbol.iterator,N="@@iterator";function O(M){if(M===null||typeof M!="object")return null;var te=A&&M[A]||M[N];return typeof te=="function"?te:null}var q=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;function P(M){{for(var te=arguments.length,Q=new Array(te>1?te-1:0),Te=1;Te<te;Te++)Q[Te-1]=arguments[Te];K("error",M,Q)}}function K(M,te,Q){{var Te=q.ReactDebugCurrentFrame,Ge=Te.getStackAddendum();Ge!==""&&(te+="%s",Q=Q.concat([Ge]));var we=Q.map(function(De){return String(De)});we.unshift("Warning: "+te),Function.prototype.apply.call(console[M],console,we)}}var re=!1,le=!1,W=!1,se=!1,ve=!1,pe;pe=Symbol.for("react.module.reference");function Y(M){return!!(typeof M=="string"||typeof M=="function"||M===n||M===l||ve||M===a||M===f||M===g||se||M===p||re||le||W||typeof M=="object"&&M!==null&&(M.$$typeof===d||M.$$typeof===b||M.$$typeof===u||M.$$typeof===c||M.$$typeof===m||M.$$typeof===pe||M.getModuleId!==void 0))}function be(M,te,Q){var Te=M.displayName;if(Te)return Te;var Ge=te.displayName||te.name||"";return Ge!==""?Q+"("+Ge+")":Q}function oe(M){return M.displayName||"Context"}function ye(M){if(M==null)return null;if(typeof M.tag=="number"&&P("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),typeof M=="function")return M.displayName||M.name||null;if(typeof M=="string")return M;switch(M){case n:return"Fragment";case r:return"Portal";case l:return"Profiler";case a:return"StrictMode";case f:return"Suspense";case g:return"SuspenseList"}if(typeof M=="object")switch(M.$$typeof){case c:var te=M;return oe(te)+".Consumer";case u:var Q=M;return oe(Q._context)+".Provider";case m:return be(M,M.render,"ForwardRef");case b:var Te=M.displayName||null;return Te!==null?Te:ye(M.type)||"Memo";case d:{var Ge=M,we=Ge._payload,De=Ge._init;try{return ye(De(we))}catch{return null}}}return null}var ue=Object.assign,Me=0,$e,Qe,ht,qt,R,lt,st;function $(){}$.__reactDisabledLog=!0;function Dt(){{if(Me===0){$e=console.log,Qe=console.info,ht=console.warn,qt=console.error,R=console.group,lt=console.groupCollapsed,st=console.groupEnd;var M={configurable:!0,enumerable:!0,value:$,writable:!0};Object.defineProperties(console,{info:M,log:M,warn:M,error:M,group:M,groupCollapsed:M,groupEnd:M})}Me++}}function vt(){{if(Me--,Me===0){var M={configurable:!0,enumerable:!0,writable:!0};Object.defineProperties(console,{log:ue({},M,{value:$e}),info:ue({},M,{value:Qe}),warn:ue({},M,{value:ht}),error:ue({},M,{value:qt}),group:ue({},M,{value:R}),groupCollapsed:ue({},M,{value:lt}),groupEnd:ue({},M,{value:st})})}Me<0&&P("disabledDepth fell below zero. This is a bug in React. Please file an issue.")}}var mt=q.ReactCurrentDispatcher,Ot;function Mt(M,te,Q){{if(Ot===void 0)try{throw Error()}catch(Ge){var Te=Ge.stack.trim().match(/\n( *(at )?)/);Ot=Te&&Te[1]||""}return`
18
+ `+Ot+M}}var Pt=!1,Ft;{var L0=typeof WeakMap=="function"?WeakMap:Map;Ft=new L0}function xr(M,te){if(!M||Pt)return"";{var Q=Ft.get(M);if(Q!==void 0)return Q}var Te;Pt=!0;var Ge=Error.prepareStackTrace;Error.prepareStackTrace=void 0;var we;we=mt.current,mt.current=null,Dt();try{if(te){var De=function(){throw Error()};if(Object.defineProperty(De.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(De,[])}catch(Ht){Te=Ht}Reflect.construct(M,[],De)}else{try{De.call()}catch(Ht){Te=Ht}M.call(De.prototype)}}else{try{throw Error()}catch(Ht){Te=Ht}M()}}catch(Ht){if(Ht&&Te&&typeof Ht.stack=="string"){for(var Ie=Ht.stack.split(`
19
+ `),Nt=Te.stack.split(`
20
+ `),_=Ie.length-1,rt=Nt.length-1;_>=1&&rt>=0&&Ie[_]!==Nt[rt];)rt--;for(;_>=1&&rt>=0;_--,rt--)if(Ie[_]!==Nt[rt]){if(_!==1||rt!==1)do if(_--,rt--,rt<0||Ie[_]!==Nt[rt]){var V=`
21
+ `+Ie[_].replace(" at new "," at ");return M.displayName&&V.includes("<anonymous>")&&(V=V.replace("<anonymous>",M.displayName)),typeof M=="function"&&Ft.set(M,V),V}while(_>=1&&rt>=0);break}}}finally{Pt=!1,mt.current=we,vt(),Error.prepareStackTrace=Ge}var ar=M?M.displayName||M.name:"",V0=ar?Mt(ar):"";return typeof M=="function"&&Ft.set(M,V0),V0}function Nr(M,te,Q){return xr(M,!1)}function nr(M){var te=M.prototype;return!!(te&&te.isReactComponent)}function p0(M,te,Q){if(M==null)return"";if(typeof M=="function")return xr(M,nr(M));if(typeof M=="string")return Mt(M);switch(M){case f:return Mt("Suspense");case g:return Mt("SuspenseList")}if(typeof M=="object")switch(M.$$typeof){case m:return Nr(M.render);case b:return p0(M.type,te,Q);case d:{var Te=M,Ge=Te._payload,we=Te._init;try{return p0(we(Ge),te,Q)}catch{}}}return""}var f0=Object.prototype.hasOwnProperty,Bt={},a0=q.ReactDebugCurrentFrame;function Kt(M){if(M){var te=M._owner,Q=p0(M.type,M._source,te?te.type:null);a0.setExtraStackFrame(Q)}else a0.setExtraStackFrame(null)}function Jr(M,te,Q,Te,Ge){{var we=Function.call.bind(f0);for(var De in M)if(we(M,De)){var Ie=void 0;try{if(typeof M[De]!="function"){var Nt=Error((Te||"React class")+": "+Q+" type `"+De+"` is invalid; it must be a function, usually from the `prop-types` package, but received `"+typeof M[De]+"`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");throw Nt.name="Invariant Violation",Nt}Ie=M[De](te,De,Te,Q,null,"SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED")}catch(_){Ie=_}Ie&&!(Ie instanceof Error)&&(Kt(Ge),P("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).",Te||"React class",Q,De,typeof Ie),Kt(null)),Ie instanceof Error&&!(Ie.message in Bt)&&(Bt[Ie.message]=!0,Kt(Ge),P("Failed %s type: %s",Q,Ie.message),Kt(null))}}}var Ir=Array.isArray;function ir(M){return Ir(M)}function An(M){{var te=typeof Symbol=="function"&&Symbol.toStringTag,Q=te&&M[Symbol.toStringTag]||M.constructor.name||"Object";return Q}}function zn(M){try{return Rr(M),!1}catch{return!0}}function Rr(M){return""+M}function ee(M){if(zn(M))return P("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.",An(M)),Rr(M)}var fe=q.ReactCurrentOwner,qe={key:!0,ref:!0,__self:!0,__source:!0},Oe,et;function jt(M){if(f0.call(M,"ref")){var te=Object.getOwnPropertyDescriptor(M,"ref").get;if(te&&te.isReactWarning)return!1}return M.ref!==void 0}function Xe(M){if(f0.call(M,"key")){var te=Object.getOwnPropertyDescriptor(M,"key").get;if(te&&te.isReactWarning)return!1}return M.key!==void 0}function me(M,te){typeof M.ref=="string"&&fe.current}function Gt(M,te){{var Q=function(){Oe||(Oe=!0,P("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",te))};Q.isReactWarning=!0,Object.defineProperty(M,"key",{get:Q,configurable:!0})}}function P0(M,te){{var Q=function(){et||(et=!0,P("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)",te))};Q.isReactWarning=!0,Object.defineProperty(M,"ref",{get:Q,configurable:!0})}}var Lt=function(M,te,Q,Te,Ge,we,De){var Ie={$$typeof:t,type:M,key:te,ref:Q,props:De,_owner:we};return Ie._store={},Object.defineProperty(Ie._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:!1}),Object.defineProperty(Ie,"_self",{configurable:!1,enumerable:!1,writable:!1,value:Te}),Object.defineProperty(Ie,"_source",{configurable:!1,enumerable:!1,writable:!1,value:Ge}),Object.freeze&&(Object.freeze(Ie.props),Object.freeze(Ie)),Ie};function H0(M,te,Q,Te,Ge){{var we,De={},Ie=null,Nt=null;Q!==void 0&&(ee(Q),Ie=""+Q),Xe(te)&&(ee(te.key),Ie=""+te.key),jt(te)&&(Nt=te.ref,me(te,Ge));for(we in te)f0.call(te,we)&&!qe.hasOwnProperty(we)&&(De[we]=te[we]);if(M&&M.defaultProps){var _=M.defaultProps;for(we in _)De[we]===void 0&&(De[we]=_[we])}if(Ie||Nt){var rt=typeof M=="function"?M.displayName||M.name||"Unknown":M;Ie&&Gt(De,rt),Nt&&P0(De,rt)}return Lt(M,Ie,Nt,Ge,Te,fe.current,De)}}var Ut=q.ReactCurrentOwner,vr=q.ReactDebugCurrentFrame;function $0(M){if(M){var te=M._owner,Q=p0(M.type,M._source,te?te.type:null);vr.setExtraStackFrame(Q)}else vr.setExtraStackFrame(null)}var Tn;Tn=!1;function Cn(M){return typeof M=="object"&&M!==null&&M.$$typeof===t}function Jt(){{if(Ut.current){var M=ye(Ut.current.type);if(M)return`
22
22
 
23
- Check the render method of \``+N+"`."}return""}}function Al(N){return""}var Kt={};function D0(N){{var M=xi();if(!M){var I=typeof N=="string"?N:N.displayName||N.name;I&&(M=`
23
+ Check the render method of \``+M+"`."}return""}}function C0(M){return""}var E0={};function En(M){{var te=Jt();if(!te){var Q=typeof M=="string"?M:M.displayName||M.name;Q&&(te=`
24
24
 
25
- Check the top-level render call using <`+I+">.")}return M}}function B0(N,M){{if(!N._store||N._store.validated||N.key!=null)return;N._store.validated=!0;var I=D0(M);if(Kt[I])return;Kt[I]=!0;var Me="";N&&N._owner&&N._owner!==jt.current&&(Me=" It was passed a child from "+he(N._owner.type)+"."),nr(N),L('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',I,Me),nr(null)}}function Jr(N,M){{if(typeof N!="object")return;if(Dr(N))for(var I=0;I<N.length;I++){var Me=N[I];Ir(Me)&&B0(Me,M)}else if(Ir(N))N._store&&(N._store.validated=!0);else if(N){var le=H(N);if(typeof le=="function"&&le!==N.entries)for(var Oe=le.call(N),Pe;!(Pe=Oe.next()).done;)Ir(Pe.value)&&B0(Pe.value,M)}}}function vi(N){{var M=N.type;if(M==null||typeof M=="string")return;var I;if(typeof M=="function")I=M.propTypes;else if(typeof M=="object"&&(M.$$typeof===m||M.$$typeof===b))I=M.propTypes;else return;if(I){var Me=he(M);rr(I,N.props,"prop",Me,N)}else if(M.PropTypes!==void 0&&!ir){ir=!0;var le=he(M);L("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",le||"Unknown")}typeof M.getDefaultProps=="function"&&!M.getDefaultProps.isReactClassApproved&&L("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function Tl(N){{for(var M=Object.keys(N.props),I=0;I<M.length;I++){var Me=M[I];if(Me!=="children"&&Me!=="key"){nr(N),L("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Me),nr(null);break}}N.ref!==null&&(nr(N),L("Invalid attribute `ref` supplied to `React.Fragment`."),nr(null))}}var wi={};function ki(N,M,I,Me,le,Oe){{var Pe=J(N);if(!Pe){var ye="";(N===void 0||typeof N=="object"&&N!==null&&Object.keys(N).length===0)&&(ye+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Ue=Al();Ue?ye+=Ue:ye+=xi();var We;N===null?We="null":Dr(N)?We="array":N!==void 0&&N.$$typeof===t?(We="<"+(he(N.type)||"Unknown")+" />",ye=" Did you accidentally export a JSX literal instead of a component?"):We=typeof N,L("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",We,ye)}var pt=E0(N,M,I,le,Oe);if(pt==null)return pt;if(Pe){var q=M.children;if(q!==void 0)if(Me)if(Dr(q)){for(var Gt=0;Gt<q.length;Gt++)Jr(q[Gt],N);Object.freeze&&Object.freeze(q)}else L("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Jr(q,N)}if(n0.call(M,"key")){var j=he(N),Ht=Object.keys(M).filter(function(tn){return tn!=="key"}),en=Ht.length>0?"{key: someKey, "+Ht.join(": ..., ")+": ...}":"{key: someKey}";if(!wi[j+en]){var Si=Ht.length>0?"{"+Ht.join(": ..., ")+": ...}":"{}";L(`A props object containing a "key" prop is being spread into JSX:
25
+ Check the top-level render call using <`+Q+">.")}return te}}function Dn(M,te){{if(!M._store||M._store.validated||M.key!=null)return;M._store.validated=!0;var Q=En(te);if(E0[Q])return;E0[Q]=!0;var Te="";M&&M._owner&&M._owner!==Ut.current&&(Te=" It was passed a child from "+ye(M._owner.type)+"."),$0(M),P('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.',Q,Te),$0(null)}}function Si(M,te){{if(typeof M!="object")return;if(ir(M))for(var Q=0;Q<M.length;Q++){var Te=M[Q];Cn(Te)&&Dn(Te,te)}else if(Cn(M))M._store&&(M._store.validated=!0);else if(M){var Ge=O(M);if(typeof Ge=="function"&&Ge!==M.entries)for(var we=Ge.call(M),De;!(De=we.next()).done;)Cn(De.value)&&Dn(De.value,te)}}}function Al(M){{var te=M.type;if(te==null||typeof te=="string")return;var Q;if(typeof te=="function")Q=te.propTypes;else if(typeof te=="object"&&(te.$$typeof===m||te.$$typeof===b))Q=te.propTypes;else return;if(Q){var Te=ye(te);Jr(Q,M.props,"prop",Te,M)}else if(te.PropTypes!==void 0&&!Tn){Tn=!0;var Ge=ye(te);P("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?",Ge||"Unknown")}typeof te.getDefaultProps=="function"&&!te.getDefaultProps.isReactClassApproved&&P("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.")}}function zl(M){{for(var te=Object.keys(M.props),Q=0;Q<te.length;Q++){var Te=te[Q];if(Te!=="children"&&Te!=="key"){$0(M),P("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.",Te),$0(null);break}}M.ref!==null&&($0(M),P("Invalid attribute `ref` supplied to `React.Fragment`."),$0(null))}}var _r={};function dt(M,te,Q,Te,Ge,we){{var De=Y(M);if(!De){var Ie="";(M===void 0||typeof M=="object"&&M!==null&&Object.keys(M).length===0)&&(Ie+=" You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");var Nt=C0();Nt?Ie+=Nt:Ie+=Jt();var _;M===null?_="null":ir(M)?_="array":M!==void 0&&M.$$typeof===t?(_="<"+(ye(M.type)||"Unknown")+" />",Ie=" Did you accidentally export a JSX literal instead of a component?"):_=typeof M,P("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s",_,Ie)}var rt=H0(M,te,Q,Ge,we);if(rt==null)return rt;if(De){var V=te.children;if(V!==void 0)if(Te)if(ir(V)){for(var ar=0;ar<V.length;ar++)Si(V[ar],M);Object.freeze&&Object.freeze(V)}else P("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else Si(V,M)}if(f0.call(te,"key")){var V0=ye(M),Ht=Object.keys(te).filter(function(Bn){return Bn!=="key"}),wr=Ht.length>0?"{key: someKey, "+Ht.join(": ..., ")+": ...}":"{key: someKey}";if(!_r[V0+wr]){var Re=Ht.length>0?"{"+Ht.join(": ..., ")+": ...}":"{}";P(`A props object containing a "key" prop is being spread into JSX:
26
26
  let props = %s;
27
27
  <%s {...props} />
28
28
  React keys must be passed directly to JSX without using spread:
29
29
  let props = %s;
30
- <%s key={someKey} {...props} />`,en,j,Si,j),wi[j+en]=!0}}return N===n?Tl(pt):vi(pt),pt}}function Qr(N,M,I){return ki(N,M,I,!0)}function dt(N,M,I){return ki(N,M,I,!1)}var x=dt,k=Qr;ln.Fragment=n,ln.jsx=x,ln.jsxs=k})()),ln}var cs;function k4(){return cs||(cs=1,process.env.NODE_ENV==="production"?Nn.exports=v4():Nn.exports=w4()),Nn.exports}var Or=k4();function $f(){}function Vf(){}function hs(e){const t=[],r=String(e||"");let n=r.indexOf(","),a=0,l=!1;for(;!l;){n===-1&&(n=r.length,l=!0);const u=r.slice(a,n).trim();(u||!l)&&t.push(u),a=n+1,n=r.indexOf(",",a)}return t}function S4(e,t){const r={};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const M4=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,A4=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,T4={};function ms(e,t){return(T4.jsx?A4:M4).test(e)}const z4=/[ \t\n\f\r]/g;function C4(e){return typeof e=="object"?e.type==="text"?ds(e.value):!1:ds(e)}function ds(e){return e.replace(z4,"")===""}class sn{constructor(t,r,n){this.normal=r,this.property=t,n&&(this.space=n)}}sn.prototype.normal={},sn.prototype.property={},sn.prototype.space=void 0;function ps(e,t){const r={},n={};for(const a of e)Object.assign(r,a.property),Object.assign(n,a.normal);return new sn(r,n,t)}function on(e){return e.toLowerCase()}class Qt{constructor(t,r){this.attribute=r,this.property=t}}Qt.prototype.attribute="",Qt.prototype.booleanish=!1,Qt.prototype.boolean=!1,Qt.prototype.commaOrSpaceSeparated=!1,Qt.prototype.commaSeparated=!1,Qt.prototype.defined=!1,Qt.prototype.mustUseProperty=!1,Qt.prototype.number=!1,Qt.prototype.overloadedBoolean=!1,Qt.prototype.property="",Qt.prototype.spaceSeparated=!1,Qt.prototype.space=void 0;let E4=0;const Fe=kr(),Dt=kr(),Pi=kr(),pe=kr(),ut=kr(),Fr=kr(),s0=kr();function kr(){return 2**++E4}const Hi=Object.freeze(Object.defineProperty({__proto__:null,boolean:Fe,booleanish:Dt,commaOrSpaceSeparated:s0,commaSeparated:Fr,number:pe,overloadedBoolean:Pi,spaceSeparated:ut},Symbol.toStringTag,{value:"Module"})),$i=Object.keys(Hi);class Vi extends Qt{constructor(t,r,n,a){let l=-1;if(super(t,r),fs(this,"space",a),typeof n=="number")for(;++l<$i.length;){const u=$i[l];fs(this,$i[l],(n&Hi[u])===Hi[u])}}}Vi.prototype.defined=!0;function fs(e,t,r){r&&(e[t]=r)}function Lr(e){const t={},r={};for(const[n,a]of Object.entries(e.properties)){const l=new Vi(n,e.transform(e.attributes||{},n),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(l.mustUseProperty=!0),t[n]=l,r[on(n)]=n,r[on(l.attribute)]=n}return new sn(t,r,e.space)}const gs=Lr({properties:{ariaActiveDescendant:null,ariaAtomic:Dt,ariaAutoComplete:null,ariaBusy:Dt,ariaChecked:Dt,ariaColCount:pe,ariaColIndex:pe,ariaColSpan:pe,ariaControls:ut,ariaCurrent:null,ariaDescribedBy:ut,ariaDetails:null,ariaDisabled:Dt,ariaDropEffect:ut,ariaErrorMessage:null,ariaExpanded:Dt,ariaFlowTo:ut,ariaGrabbed:Dt,ariaHasPopup:null,ariaHidden:Dt,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ut,ariaLevel:pe,ariaLive:null,ariaModal:Dt,ariaMultiLine:Dt,ariaMultiSelectable:Dt,ariaOrientation:null,ariaOwns:ut,ariaPlaceholder:null,ariaPosInSet:pe,ariaPressed:Dt,ariaReadOnly:Dt,ariaRelevant:null,ariaRequired:Dt,ariaRoleDescription:ut,ariaRowCount:pe,ariaRowIndex:pe,ariaRowSpan:pe,ariaSelected:Dt,ariaSetSize:pe,ariaSort:null,ariaValueMax:pe,ariaValueMin:pe,ariaValueNow:pe,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function ys(e,t){return t in e?e[t]:t}function bs(e,t){return ys(e,t.toLowerCase())}const D4=Lr({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Fr,acceptCharset:ut,accessKey:ut,action:null,allow:null,allowFullScreen:Fe,allowPaymentRequest:Fe,allowUserMedia:Fe,alt:null,as:null,async:Fe,autoCapitalize:null,autoComplete:ut,autoFocus:Fe,autoPlay:Fe,blocking:ut,capture:null,charSet:null,checked:Fe,cite:null,className:ut,cols:pe,colSpan:null,content:null,contentEditable:Dt,controls:Fe,controlsList:ut,coords:pe|Fr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Fe,defer:Fe,dir:null,dirName:null,disabled:Fe,download:Pi,draggable:Dt,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Fe,formTarget:null,headers:ut,height:pe,hidden:Pi,high:pe,href:null,hrefLang:null,htmlFor:ut,httpEquiv:ut,id:null,imageSizes:null,imageSrcSet:null,inert:Fe,inputMode:null,integrity:null,is:null,isMap:Fe,itemId:null,itemProp:ut,itemRef:ut,itemScope:Fe,itemType:ut,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Fe,low:pe,manifest:null,max:null,maxLength:pe,media:null,method:null,min:null,minLength:pe,multiple:Fe,muted:Fe,name:null,nonce:null,noModule:Fe,noValidate:Fe,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:Fe,optimum:pe,pattern:null,ping:ut,placeholder:null,playsInline:Fe,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Fe,referrerPolicy:null,rel:ut,required:Fe,reversed:Fe,rows:pe,rowSpan:pe,sandbox:ut,scope:null,scoped:Fe,seamless:Fe,selected:Fe,shadowRootClonable:Fe,shadowRootDelegatesFocus:Fe,shadowRootMode:null,shape:null,size:pe,sizes:null,slot:null,span:pe,spellCheck:Dt,src:null,srcDoc:null,srcLang:null,srcSet:null,start:pe,step:null,style:null,tabIndex:pe,target:null,title:null,translate:null,type:null,typeMustMatch:Fe,useMap:null,value:Dt,width:pe,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ut,axis:null,background:null,bgColor:null,border:pe,borderColor:null,bottomMargin:pe,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Fe,declare:Fe,event:null,face:null,frame:null,frameBorder:null,hSpace:pe,leftMargin:pe,link:null,longDesc:null,lowSrc:null,marginHeight:pe,marginWidth:pe,noResize:Fe,noHref:Fe,noShade:Fe,noWrap:Fe,object:null,profile:null,prompt:null,rev:null,rightMargin:pe,rules:null,scheme:null,scrolling:Dt,standby:null,summary:null,text:null,topMargin:pe,valueType:null,version:null,vAlign:null,vLink:null,vSpace:pe,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Fe,disableRemotePlayback:Fe,prefix:null,property:null,results:pe,security:null,unselectable:null},space:"html",transform:bs}),B4=Lr({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",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:s0,accentHeight:pe,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:pe,amplitude:pe,arabicForm:null,ascent:pe,attributeName:null,attributeType:null,azimuth:pe,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:pe,by:null,calcMode:null,capHeight:pe,className:ut,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:pe,diffuseConstant:pe,direction:null,display:null,dur:null,divisor:pe,dominantBaseline:null,download:Fe,dx:null,dy:null,edgeMode:null,editable:null,elevation:pe,enableBackground:null,end:null,event:null,exponent:pe,externalResourcesRequired:null,fill:null,fillOpacity:pe,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:Fr,g2:Fr,glyphName:Fr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:pe,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:pe,horizOriginX:pe,horizOriginY:pe,id:null,ideographic:pe,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:pe,k:pe,k1:pe,k2:pe,k3:pe,k4:pe,kernelMatrix:s0,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:pe,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:pe,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:pe,overlineThickness:pe,paintOrder:null,panose1:null,path:null,pathLength:pe,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ut,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:pe,pointsAtY:pe,pointsAtZ:pe,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:s0,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:s0,rev:s0,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:s0,requiredFeatures:s0,requiredFonts:s0,requiredFormats:s0,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:pe,specularExponent:pe,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:pe,strikethroughThickness:pe,string:null,stroke:null,strokeDashArray:s0,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:pe,strokeOpacity:pe,strokeWidth:null,style:null,surfaceScale:pe,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:s0,tabIndex:pe,tableValues:null,target:null,targetX:pe,targetY:pe,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:s0,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:pe,underlineThickness:pe,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:pe,values:null,vAlphabetic:pe,vMathematical:pe,vectorEffect:null,vHanging:pe,vIdeographic:pe,version:null,vertAdvY:pe,vertOriginX:pe,vertOriginY:pe,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:pe,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:ys}),xs=Lr({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),vs=Lr({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:bs}),ws=Lr({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),N4={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"},I4=/[A-Z]/g,ks=/-[a-z]/g,R4=/^data[-\w.:]+$/i;function Ss(e,t){const r=on(t);let n=t,a=Qt;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&R4.test(t)){if(t.charAt(4)==="-"){const l=t.slice(5).replace(ks,q4);n="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{const l=t.slice(4);if(!ks.test(l)){let u=l.replace(I4,_4);u.charAt(0)!=="-"&&(u="-"+u),t="data"+u}}a=Vi}return new a(n,t)}function _4(e){return"-"+e.toLowerCase()}function q4(e){return e.charAt(1).toUpperCase()}const Ms=ps([gs,D4,xs,vs,ws],"html"),In=ps([gs,B4,xs,vs,ws],"svg");function As(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function O4(e){return e.join(" ").trim()}var Pr={},ji,Ts;function F4(){if(Ts)return ji;Ts=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,c=/^\s+|\s+$/g,m=`
31
- `,f="/",g="*",b="",d="comment",p="declaration";ji=function(B,H){if(typeof B!="string")throw new TypeError("First argument must be a string");if(!B)return[];H=H||{};var R=1,L=1;function K(he){var te=he.match(t);te&&(R+=te.length);var Ae=he.lastIndexOf(m);L=~Ae?he.length-Ae:L+he.length}function ae(){var he={line:R,column:L};return function(te){return te.position=new re(he),ve(),te}}function re(he){this.start=he,this.end={line:R,column:L},this.source=H.source}re.prototype.content=B;function Y(he){var te=new Error(H.source+":"+R+":"+L+": "+he);if(te.reason=he,te.filename=H.source,te.line=R,te.column=L,te.source=B,!H.silent)throw te}function oe(he){var te=he.exec(B);if(te){var Ae=te[0];return K(Ae),B=B.slice(Ae.length),te}}function ve(){oe(r)}function ue(he){var te;for(he=he||[];te=J();)te!==!1&&he.push(te);return he}function J(){var he=ae();if(!(f!=B.charAt(0)||g!=B.charAt(1))){for(var te=2;b!=B.charAt(te)&&(g!=B.charAt(te)||f!=B.charAt(te+1));)++te;if(te+=2,b===B.charAt(te-1))return Y("End of comment missing");var Ae=B.slice(2,te-2);return L+=2,K(Ae),B=B.slice(te),L+=2,he({type:d,comment:Ae})}}function de(){var he=ae(),te=oe(n);if(te){if(J(),!oe(a))return Y("property missing ':'");var Ae=oe(l),Ve=he({type:p,property:A(te[0].replace(e,b)),value:Ae?A(Ae[0].replace(e,b)):b});return oe(u),Ve}}function ge(){var he=[];ue(he);for(var te;te=de();)te!==!1&&(he.push(te),ue(he));return he}return ve(),ge()};function A(B){return B?B.replace(c,b):b}return ji}var zs;function L4(){if(zs)return Pr;zs=1;var e=Pr&&Pr.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty(Pr,"__esModule",{value:!0}),Pr.default=r;var t=e(F4());function r(n,a){var l=null;if(!n||typeof n!="string")return l;var u=(0,t.default)(n),c=typeof a=="function";return u.forEach(function(m){if(m.type==="declaration"){var f=m.property,g=m.value;c?a(f,g,m):g&&(l=l||{},l[f]=g)}}),l}return Pr}var un={},Cs;function P4(){if(Cs)return un;Cs=1,Object.defineProperty(un,"__esModule",{value:!0}),un.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,r=/^[^-]+$/,n=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,l=function(f){return!f||r.test(f)||e.test(f)},u=function(f,g){return g.toUpperCase()},c=function(f,g){return"".concat(g,"-")},m=function(f,g){return g===void 0&&(g={}),l(f)?f:(f=f.toLowerCase(),g.reactCompat?f=f.replace(a,c):f=f.replace(n,c),f.replace(t,u))};return un.camelCase=m,un}var cn,Es;function H4(){if(Es)return cn;Es=1;var e=cn&&cn.__importDefault||function(a){return a&&a.__esModule?a:{default:a}},t=e(L4()),r=P4();function n(a,l){var u={};return!a||typeof a!="string"||(0,t.default)(a,function(c,m){c&&m&&(u[(0,r.camelCase)(c,l)]=m)}),u}return n.default=n,cn=n,cn}var $4=H4();const V4=ss($4),Ds=Bs("end"),Gi=Bs("start");function Bs(e){return t;function t(r){const n=r&&r.position&&r.position[e]||{};if(typeof n.line=="number"&&n.line>0&&typeof n.column=="number"&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset=="number"&&n.offset>-1?n.offset:void 0}}}function j4(e){const t=Gi(e),r=Ds(e);if(t&&r)return{start:t,end:r}}function hn(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Ns(e.position):"start"in e||"end"in e?Ns(e):"line"in e||"column"in e?Ui(e):""}function Ui(e){return Is(e&&e.line)+":"+Is(e&&e.column)}function Ns(e){return Ui(e&&e.start)+"-"+Ui(e&&e.end)}function Is(e){return e&&typeof e=="number"?e:1}class $t extends Error{constructor(t,r,n){super(),typeof r=="string"&&(n=r,r=void 0);let a="",l={},u=!1;if(r&&("line"in r&&"column"in r?l={place:r}:"start"in r&&"end"in r?l={place:r}:"type"in r?l={ancestors:[r],place:r.position}:l={...r}),typeof t=="string"?a=t:!l.cause&&t&&(u=!0,a=t.message,l.cause=t),!l.ruleId&&!l.source&&typeof n=="string"){const m=n.indexOf(":");m===-1?l.ruleId=n:(l.source=n.slice(0,m),l.ruleId=n.slice(m+1))}if(!l.place&&l.ancestors&&l.ancestors){const m=l.ancestors[l.ancestors.length-1];m&&(l.place=m.position)}const c=l.place&&"start"in l.place?l.place.start:l.place;this.ancestors=l.ancestors||void 0,this.cause=l.cause||void 0,this.column=c?c.column:void 0,this.fatal=void 0,this.file="",this.message=a,this.line=c?c.line:void 0,this.name=hn(l.place)||"1:1",this.place=l.place||void 0,this.reason=this.message,this.ruleId=l.ruleId||void 0,this.source=l.source||void 0,this.stack=u&&l.cause&&typeof l.cause.stack=="string"?l.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}$t.prototype.file="",$t.prototype.name="",$t.prototype.reason="",$t.prototype.message="",$t.prototype.stack="",$t.prototype.column=void 0,$t.prototype.line=void 0,$t.prototype.ancestors=void 0,$t.prototype.cause=void 0,$t.prototype.fatal=void 0,$t.prototype.place=void 0,$t.prototype.ruleId=void 0,$t.prototype.source=void 0;const Wi={}.hasOwnProperty,G4=new Map,U4=/[A-Z]/g,W4=new Set(["table","tbody","thead","tfoot","tr"]),Y4=new Set(["td","th"]),Rs="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function X4(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=t.filePath||void 0;let n;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");n=nh(r,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");n=rh(r,t.jsx,t.jsxs)}const a={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:n,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?In:Ms,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},l=_s(a,e,void 0);return l&&typeof l!="string"?l:a.create(e,a.Fragment,{children:l||void 0},void 0)}function _s(e,t,r){if(t.type==="element")return Z4(e,t,r);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return K4(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return Q4(e,t,r);if(t.type==="mdxjsEsm")return J4(e,t);if(t.type==="root")return eh(e,t,r);if(t.type==="text")return th(e,t)}function Z4(e,t,r){const n=e.schema;let a=n;t.tagName.toLowerCase()==="svg"&&n.space==="html"&&(a=In,e.schema=a),e.ancestors.push(t);const l=Os(e,t.tagName,!1),u=ih(e,t);let c=Xi(e,t);return W4.has(t.tagName)&&(c=c.filter(function(m){return typeof m=="string"?!C4(m):!0})),qs(e,u,l,t),Yi(u,c),e.ancestors.pop(),e.schema=n,e.create(t,l,u,r)}function K4(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}mn(e,t.position)}function J4(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);mn(e,t.position)}function Q4(e,t,r){const n=e.schema;let a=n;t.name==="svg"&&n.space==="html"&&(a=In,e.schema=a),e.ancestors.push(t);const l=t.name===null?e.Fragment:Os(e,t.name,!0),u=ah(e,t),c=Xi(e,t);return qs(e,u,l,t),Yi(u,c),e.ancestors.pop(),e.schema=n,e.create(t,l,u,r)}function eh(e,t,r){const n={};return Yi(n,Xi(e,t)),e.create(t,e.Fragment,n,r)}function th(e,t){return t.value}function qs(e,t,r,n){typeof r!="string"&&r!==e.Fragment&&e.passNode&&(t.node=n)}function Yi(e,t){if(t.length>0){const r=t.length>1?t:t[0];r&&(e.children=r)}}function rh(e,t,r){return n;function n(a,l,u,c){const f=Array.isArray(u.children)?r:t;return c?f(l,u,c):f(l,u)}}function nh(e,t){return r;function r(n,a,l,u){const c=Array.isArray(l.children),m=Gi(n);return t(a,l,u,c,{columnNumber:m?m.column-1:void 0,fileName:e,lineNumber:m?m.line:void 0},void 0)}}function ih(e,t){const r={};let n,a;for(a in t.properties)if(a!=="children"&&Wi.call(t.properties,a)){const l=lh(e,a,t.properties[a]);if(l){const[u,c]=l;e.tableCellAlignToStyle&&u==="align"&&typeof c=="string"&&Y4.has(t.tagName)?n=c:r[u]=c}}if(n){const l=r.style||(r.style={});l[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=n}return r}function ah(e,t){const r={};for(const n of t.attributes)if(n.type==="mdxJsxExpressionAttribute")if(n.data&&n.data.estree&&e.evaluater){const l=n.data.estree.body[0];l.type;const u=l.expression;u.type;const c=u.properties[0];c.type,Object.assign(r,e.evaluater.evaluateExpression(c.argument))}else mn(e,t.position);else{const a=n.name;let l;if(n.value&&typeof n.value=="object")if(n.value.data&&n.value.data.estree&&e.evaluater){const c=n.value.data.estree.body[0];c.type,l=e.evaluater.evaluateExpression(c.expression)}else mn(e,t.position);else l=n.value===null?!0:n.value;r[a]=l}return r}function Xi(e,t){const r=[];let n=-1;const a=e.passKeys?new Map:G4;for(;++n<t.children.length;){const l=t.children[n];let u;if(e.passKeys){const m=l.type==="element"?l.tagName:l.type==="mdxJsxFlowElement"||l.type==="mdxJsxTextElement"?l.name:void 0;if(m){const f=a.get(m)||0;u=m+"-"+f,a.set(m,f+1)}}const c=_s(e,l,u);c!==void 0&&r.push(c)}return r}function lh(e,t,r){const n=Ss(e.schema,t);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=n.commaSeparated?S4(r):O4(r)),n.property==="style"){let a=typeof r=="object"?r:sh(e,String(r));return e.stylePropertyNameCase==="css"&&(a=oh(a)),["style",a]}return[e.elementAttributeNameCase==="react"&&n.space?N4[n.property]||n.property:n.attribute,r]}}function sh(e,t){try{return V4(t,{reactCompat:!0})}catch(r){if(e.ignoreInvalidStyle)return{};const n=r,a=new $t("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=Rs+"#cannot-parse-style-attribute",a}}function Os(e,t,r){let n;if(!r)n={type:"Literal",value:t};else if(t.includes(".")){const a=t.split(".");let l=-1,u;for(;++l<a.length;){const c=ms(a[l])?{type:"Identifier",name:a[l]}:{type:"Literal",value:a[l]};u=u?{type:"MemberExpression",object:u,property:c,computed:!!(l&&c.type==="Literal"),optional:!1}:c}n=u}else n=ms(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(n.type==="Literal"){const a=n.value;return Wi.call(e.components,a)?e.components[a]:a}if(e.evaluater)return e.evaluater.evaluateExpression(n);mn(e)}function mn(e,t){const r=new $t("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=Rs+"#cannot-handle-mdx-estrees-without-createevaluater",r}function oh(e){const t={};let r;for(r in e)Wi.call(e,r)&&(t[uh(r)]=e[r]);return t}function uh(e){let t=e.replace(U4,ch);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function ch(e){return"-"+e.toLowerCase()}const Zi={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"]},hh={};function Ki(e,t){const r=hh,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,a=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return Fs(e,n,a)}function Fs(e,t,r){if(mh(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Ls(e.children,t,r)}return Array.isArray(e)?Ls(e,t,r):""}function Ls(e,t,r){const n=[];let a=-1;for(;++a<e.length;)n[a]=Fs(e[a],t,r);return n.join("")}function mh(e){return!!(e&&typeof e=="object")}const Ps=document.createElement("i");function Ji(e){const t="&"+e+";";Ps.innerHTML=t;const r=Ps.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===t?!1:r}function o0(e,t,r,n){const a=e.length;let l=0,u;if(t<0?t=-t>a?0:a+t:t=t>a?a:t,r=r>0?r:0,n.length<1e4)u=Array.from(n),u.unshift(t,r),e.splice(...u);else for(r&&e.splice(t,r);l<n.length;)u=n.slice(l,l+1e4),u.unshift(t,0),e.splice(...u),l+=1e4,t+=1e4}function p0(e,t){return e.length>0?(o0(e,e.length,0,t),e):t}const Hs={}.hasOwnProperty;function $s(e){const t={};let r=-1;for(;++r<e.length;)dh(t,e[r]);return t}function dh(e,t){let r;for(r in t){const a=(Hs.call(e,r)?e[r]:void 0)||(e[r]={}),l=t[r];let u;if(l)for(u in l){Hs.call(a,u)||(a[u]=[]);const c=l[u];ph(a[u],Array.isArray(c)?c:c?[c]:[])}}}function ph(e,t){let r=-1;const n=[];for(;++r<t.length;)(t[r].add==="after"?e:n).push(t[r]);o0(e,0,0,n)}function Vs(e,t){const r=Number.parseInt(e,t);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function A0(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Ut=ur(/[A-Za-z]/),Vt=ur(/[\dA-Za-z]/),fh=ur(/[#-'*+\--9=?A-Z^-~]/);function Rn(e){return e!==null&&(e<32||e===127)}const Qi=ur(/\d/),gh=ur(/[\dA-Fa-f]/),yh=ur(/[!-/:-@[-`{-~]/);function Ee(e){return e!==null&&e<-2}function lt(e){return e!==null&&(e<0||e===32)}function Ge(e){return e===-2||e===-1||e===32}const _n=ur(new RegExp("\\p{P}|\\p{S}","u")),Sr=ur(/\s/);function ur(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function Hr(e){const t=[];let r=-1,n=0,a=0;for(;++r<e.length;){const l=e.charCodeAt(r);let u="";if(l===37&&Vt(e.charCodeAt(r+1))&&Vt(e.charCodeAt(r+2)))a=2;else if(l<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(l))||(u=String.fromCharCode(l));else if(l>55295&&l<57344){const c=e.charCodeAt(r+1);l<56320&&c>56319&&c<57344?(u=String.fromCharCode(l,c),a=1):u="�"}else u=String.fromCharCode(l);u&&(t.push(e.slice(n,r),encodeURIComponent(u)),n=r+a+1,u=""),a&&(r+=a,a=0)}return t.join("")+e.slice(n)}function $e(e,t,r,n){const a=n?n-1:Number.POSITIVE_INFINITY;let l=0;return u;function u(m){return Ge(m)?(e.enter(r),c(m)):t(m)}function c(m){return Ge(m)&&l++<a?(e.consume(m),c):(e.exit(r),t(m))}}const bh={tokenize:xh};function xh(e){const t=e.attempt(this.parser.constructs.contentInitial,n,a);let r;return t;function n(c){if(c===null){e.consume(c);return}return e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),$e(e,t,"linePrefix")}function a(c){return e.enter("paragraph"),l(c)}function l(c){const m=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=m),r=m,u(c)}function u(c){if(c===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(c);return}return Ee(c)?(e.consume(c),e.exit("chunkText"),l):(e.consume(c),u)}}const vh={tokenize:wh},js={tokenize:kh};function wh(e){const t=this,r=[];let n=0,a,l,u;return c;function c(K){if(n<r.length){const ae=r[n];return t.containerState=ae[1],e.attempt(ae[0].continuation,m,f)(K)}return f(K)}function m(K){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&L();const ae=t.events.length;let re=ae,Y;for(;re--;)if(t.events[re][0]==="exit"&&t.events[re][1].type==="chunkFlow"){Y=t.events[re][1].end;break}R(n);let oe=ae;for(;oe<t.events.length;)t.events[oe][1].end={...Y},oe++;return o0(t.events,re+1,0,t.events.slice(ae)),t.events.length=oe,f(K)}return c(K)}function f(K){if(n===r.length){if(!a)return d(K);if(a.currentConstruct&&a.currentConstruct.concrete)return A(K);t.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(js,g,b)(K)}function g(K){return a&&L(),R(n),d(K)}function b(K){return t.parser.lazy[t.now().line]=n!==r.length,u=t.now().offset,A(K)}function d(K){return t.containerState={},e.attempt(js,p,A)(K)}function p(K){return n++,r.push([t.currentConstruct,t.containerState]),d(K)}function A(K){if(K===null){a&&L(),R(0),e.consume(K);return}return a=a||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:a,contentType:"flow",previous:l}),B(K)}function B(K){if(K===null){H(e.exit("chunkFlow"),!0),R(0),e.consume(K);return}return Ee(K)?(e.consume(K),H(e.exit("chunkFlow")),n=0,t.interrupt=void 0,c):(e.consume(K),B)}function H(K,ae){const re=t.sliceStream(K);if(ae&&re.push(null),K.previous=l,l&&(l.next=K),l=K,a.defineSkip(K.start),a.write(re),t.parser.lazy[K.start.line]){let Y=a.events.length;for(;Y--;)if(a.events[Y][1].start.offset<u&&(!a.events[Y][1].end||a.events[Y][1].end.offset>u))return;const oe=t.events.length;let ve=oe,ue,J;for(;ve--;)if(t.events[ve][0]==="exit"&&t.events[ve][1].type==="chunkFlow"){if(ue){J=t.events[ve][1].end;break}ue=!0}for(R(n),Y=oe;Y<t.events.length;)t.events[Y][1].end={...J},Y++;o0(t.events,ve+1,0,t.events.slice(oe)),t.events.length=Y}}function R(K){let ae=r.length;for(;ae-- >K;){const re=r[ae];t.containerState=re[1],re[0].exit.call(t,e)}r.length=K}function L(){a.write([null]),l=void 0,a=void 0,t.containerState._closeFlow=void 0}}function kh(e,t,r){return $e(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function $r(e){if(e===null||lt(e)||Sr(e))return 1;if(_n(e))return 2}function qn(e,t,r){const n=[];let a=-1;for(;++a<e.length;){const l=e[a].resolveAll;l&&!n.includes(l)&&(t=l(t,r),n.push(l))}return t}const ea={name:"attention",resolveAll:Sh,tokenize:Mh};function Sh(e,t){let r=-1,n,a,l,u,c,m,f,g;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(n=r;n--;)if(e[n][0]==="exit"&&e[n][1].type==="attentionSequence"&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[n][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;m=e[n][1].end.offset-e[n][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;const b={...e[n][1].end},d={...e[r][1].start};Gs(b,-m),Gs(d,m),u={type:m>1?"strongSequence":"emphasisSequence",start:b,end:{...e[n][1].end}},c={type:m>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:d},l={type:m>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[r][1].start}},a={type:m>1?"strong":"emphasis",start:{...u.start},end:{...c.end}},e[n][1].end={...u.start},e[r][1].start={...c.end},f=[],e[n][1].end.offset-e[n][1].start.offset&&(f=p0(f,[["enter",e[n][1],t],["exit",e[n][1],t]])),f=p0(f,[["enter",a,t],["enter",u,t],["exit",u,t],["enter",l,t]]),f=p0(f,qn(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),f=p0(f,[["exit",l,t],["enter",c,t],["exit",c,t],["exit",a,t]]),e[r][1].end.offset-e[r][1].start.offset?(g=2,f=p0(f,[["enter",e[r][1],t],["exit",e[r][1],t]])):g=0,o0(e,n-1,r-n+3,f),r=n+f.length-g-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function Mh(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,a=$r(n);let l;return u;function u(m){return l=m,e.enter("attentionSequence"),c(m)}function c(m){if(m===l)return e.consume(m),c;const f=e.exit("attentionSequence"),g=$r(m),b=!g||g===2&&a||r.includes(m),d=!a||a===2&&g||r.includes(n);return f._open=!!(l===42?b:b&&(a||!d)),f._close=!!(l===42?d:d&&(g||!b)),t(m)}}function Gs(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Ah={name:"autolink",tokenize:Th};function Th(e,t,r){let n=0;return a;function a(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),l}function l(p){return Ut(p)?(e.consume(p),u):p===64?r(p):f(p)}function u(p){return p===43||p===45||p===46||Vt(p)?(n=1,c(p)):f(p)}function c(p){return p===58?(e.consume(p),n=0,m):(p===43||p===45||p===46||Vt(p))&&n++<32?(e.consume(p),c):(n=0,f(p))}function m(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):p===null||p===32||p===60||Rn(p)?r(p):(e.consume(p),m)}function f(p){return p===64?(e.consume(p),g):fh(p)?(e.consume(p),f):r(p)}function g(p){return Vt(p)?b(p):r(p)}function b(p){return p===46?(e.consume(p),n=0,g):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):d(p)}function d(p){if((p===45||Vt(p))&&n++<63){const A=p===45?d:b;return e.consume(p),A}return r(p)}}const dn={partial:!0,tokenize:zh};function zh(e,t,r){return n;function n(l){return Ge(l)?$e(e,a,"linePrefix")(l):a(l)}function a(l){return l===null||Ee(l)?t(l):r(l)}}const Us={continuation:{tokenize:Eh},exit:Dh,name:"blockQuote",tokenize:Ch};function Ch(e,t,r){const n=this;return a;function a(u){if(u===62){const c=n.containerState;return c.open||(e.enter("blockQuote",{_container:!0}),c.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(u),e.exit("blockQuoteMarker"),l}return r(u)}function l(u){return Ge(u)?(e.enter("blockQuotePrefixWhitespace"),e.consume(u),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(u))}}function Eh(e,t,r){const n=this;return a;function a(u){return Ge(u)?$e(e,l,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u):l(u)}function l(u){return e.attempt(Us,t,r)(u)}}function Dh(e){e.exit("blockQuote")}const Ws={name:"characterEscape",tokenize:Bh};function Bh(e,t,r){return n;function n(l){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(l),e.exit("escapeMarker"),a}function a(l){return yh(l)?(e.enter("characterEscapeValue"),e.consume(l),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(l)}}const Ys={name:"characterReference",tokenize:Nh};function Nh(e,t,r){const n=this;let a=0,l,u;return c;function c(b){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(b),e.exit("characterReferenceMarker"),m}function m(b){return b===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(b),e.exit("characterReferenceMarkerNumeric"),f):(e.enter("characterReferenceValue"),l=31,u=Vt,g(b))}function f(b){return b===88||b===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(b),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),l=6,u=gh,g):(e.enter("characterReferenceValue"),l=7,u=Qi,g(b))}function g(b){if(b===59&&a){const d=e.exit("characterReferenceValue");return u===Vt&&!Ji(n.sliceSerialize(d))?r(b):(e.enter("characterReferenceMarker"),e.consume(b),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return u(b)&&a++<l?(e.consume(b),g):r(b)}}const Xs={partial:!0,tokenize:Rh},Zs={concrete:!0,name:"codeFenced",tokenize:Ih};function Ih(e,t,r){const n=this,a={partial:!0,tokenize:re};let l=0,u=0,c;return m;function m(Y){return f(Y)}function f(Y){const oe=n.events[n.events.length-1];return l=oe&&oe[1].type==="linePrefix"?oe[2].sliceSerialize(oe[1],!0).length:0,c=Y,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),g(Y)}function g(Y){return Y===c?(u++,e.consume(Y),g):u<3?r(Y):(e.exit("codeFencedFenceSequence"),Ge(Y)?$e(e,b,"whitespace")(Y):b(Y))}function b(Y){return Y===null||Ee(Y)?(e.exit("codeFencedFence"),n.interrupt?t(Y):e.check(Xs,B,ae)(Y)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),d(Y))}function d(Y){return Y===null||Ee(Y)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),b(Y)):Ge(Y)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),$e(e,p,"whitespace")(Y)):Y===96&&Y===c?r(Y):(e.consume(Y),d)}function p(Y){return Y===null||Ee(Y)?b(Y):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),A(Y))}function A(Y){return Y===null||Ee(Y)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),b(Y)):Y===96&&Y===c?r(Y):(e.consume(Y),A)}function B(Y){return e.attempt(a,ae,H)(Y)}function H(Y){return e.enter("lineEnding"),e.consume(Y),e.exit("lineEnding"),R}function R(Y){return l>0&&Ge(Y)?$e(e,L,"linePrefix",l+1)(Y):L(Y)}function L(Y){return Y===null||Ee(Y)?e.check(Xs,B,ae)(Y):(e.enter("codeFlowValue"),K(Y))}function K(Y){return Y===null||Ee(Y)?(e.exit("codeFlowValue"),L(Y)):(e.consume(Y),K)}function ae(Y){return e.exit("codeFenced"),t(Y)}function re(Y,oe,ve){let ue=0;return J;function J(Ae){return Y.enter("lineEnding"),Y.consume(Ae),Y.exit("lineEnding"),de}function de(Ae){return Y.enter("codeFencedFence"),Ge(Ae)?$e(Y,ge,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Ae):ge(Ae)}function ge(Ae){return Ae===c?(Y.enter("codeFencedFenceSequence"),he(Ae)):ve(Ae)}function he(Ae){return Ae===c?(ue++,Y.consume(Ae),he):ue>=u?(Y.exit("codeFencedFenceSequence"),Ge(Ae)?$e(Y,te,"whitespace")(Ae):te(Ae)):ve(Ae)}function te(Ae){return Ae===null||Ee(Ae)?(Y.exit("codeFencedFence"),oe(Ae)):ve(Ae)}}}function Rh(e,t,r){const n=this;return a;function a(u){return u===null?r(u):(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),l)}function l(u){return n.parser.lazy[n.now().line]?r(u):t(u)}}const ta={name:"codeIndented",tokenize:qh},_h={partial:!0,tokenize:Oh};function qh(e,t,r){const n=this;return a;function a(f){return e.enter("codeIndented"),$e(e,l,"linePrefix",5)(f)}function l(f){const g=n.events[n.events.length-1];return g&&g[1].type==="linePrefix"&&g[2].sliceSerialize(g[1],!0).length>=4?u(f):r(f)}function u(f){return f===null?m(f):Ee(f)?e.attempt(_h,u,m)(f):(e.enter("codeFlowValue"),c(f))}function c(f){return f===null||Ee(f)?(e.exit("codeFlowValue"),u(f)):(e.consume(f),c)}function m(f){return e.exit("codeIndented"),t(f)}}function Oh(e,t,r){const n=this;return a;function a(u){return n.parser.lazy[n.now().line]?r(u):Ee(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),a):$e(e,l,"linePrefix",5)(u)}function l(u){const c=n.events[n.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?t(u):Ee(u)?a(u):r(u)}}const Fh={name:"codeText",previous:Ph,resolve:Lh,tokenize:Hh};function Lh(e){let t=e.length-4,r=3,n,a;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[t][1].type="codeTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)a===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(a=n):(n===t||e[n][1].type==="lineEnding")&&(e[a][1].type="codeTextData",n!==a+2&&(e[a][1].end=e[n-1][1].end,e.splice(a+2,n-a-2),t-=n-a-2,n=a+2),a=void 0);return e}function Ph(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Hh(e,t,r){let n=0,a,l;return u;function u(b){return e.enter("codeText"),e.enter("codeTextSequence"),c(b)}function c(b){return b===96?(e.consume(b),n++,c):(e.exit("codeTextSequence"),m(b))}function m(b){return b===null?r(b):b===32?(e.enter("space"),e.consume(b),e.exit("space"),m):b===96?(l=e.enter("codeTextSequence"),a=0,g(b)):Ee(b)?(e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),m):(e.enter("codeTextData"),f(b))}function f(b){return b===null||b===32||b===96||Ee(b)?(e.exit("codeTextData"),m(b)):(e.consume(b),f)}function g(b){return b===96?(e.consume(b),a++,g):a===n?(e.exit("codeTextSequence"),e.exit("codeText"),t(b)):(l.type="codeTextData",f(b))}}class $h{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,r){const n=r??Number.POSITIVE_INFINITY;return n<this.left.length?this.left.slice(t,n):t>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(t,r,n){const a=r||0;this.setCursor(Math.trunc(t));const l=this.right.splice(this.right.length-a,Number.POSITIVE_INFINITY);return n&&pn(this.left,n),l.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),pn(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),pn(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const r=this.left.splice(t,Number.POSITIVE_INFINITY);pn(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);pn(this.left,r.reverse())}}}function pn(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 Ks(e){const t={};let r=-1,n,a,l,u,c,m,f;const g=new $h(e);for(;++r<g.length;){for(;r in t;)r=t[r];if(n=g.get(r),r&&n[1].type==="chunkFlow"&&g.get(r-1)[1].type==="listItemPrefix"&&(m=n[1]._tokenizer.events,l=0,l<m.length&&m[l][1].type==="lineEndingBlank"&&(l+=2),l<m.length&&m[l][1].type==="content"))for(;++l<m.length&&m[l][1].type!=="content";)m[l][1].type==="chunkText"&&(m[l][1]._isInFirstContentOfListItem=!0,l++);if(n[0]==="enter")n[1].contentType&&(Object.assign(t,Vh(g,r)),r=t[r],f=!0);else if(n[1]._container){for(l=r,a=void 0;l--;)if(u=g.get(l),u[1].type==="lineEnding"||u[1].type==="lineEndingBlank")u[0]==="enter"&&(a&&(g.get(a)[1].type="lineEndingBlank"),u[1].type="lineEnding",a=l);else if(!(u[1].type==="linePrefix"||u[1].type==="listItemIndent"))break;a&&(n[1].end={...g.get(a)[1].start},c=g.slice(a,r),c.unshift(n),g.splice(a,r-a+1,c))}}return o0(e,0,Number.POSITIVE_INFINITY,g.slice(0)),!f}function Vh(e,t){const r=e.get(t)[1],n=e.get(t)[2];let a=t-1;const l=[];let u=r._tokenizer;u||(u=n.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(u._contentTypeTextTrailing=!0));const c=u.events,m=[],f={};let g,b,d=-1,p=r,A=0,B=0;const H=[B];for(;p;){for(;e.get(++a)[1]!==p;);l.push(a),p._tokenizer||(g=n.sliceStream(p),p.next||g.push(null),b&&u.defineSkip(p.start),p._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(g),p._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),b=p,p=p.next}for(p=r;++d<c.length;)c[d][0]==="exit"&&c[d-1][0]==="enter"&&c[d][1].type===c[d-1][1].type&&c[d][1].start.line!==c[d][1].end.line&&(B=d+1,H.push(B),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(u.events=[],p?(p._tokenizer=void 0,p.previous=void 0):H.pop(),d=H.length;d--;){const R=c.slice(H[d],H[d+1]),L=l.pop();m.push([L,L+R.length-1]),e.splice(L,2,R)}for(m.reverse(),d=-1;++d<m.length;)f[A+m[d][0]]=A+m[d][1],A+=m[d][1]-m[d][0]-1;return f}const jh={resolve:Uh,tokenize:Wh},Gh={partial:!0,tokenize:Yh};function Uh(e){return Ks(e),e}function Wh(e,t){let r;return n;function n(c){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),a(c)}function a(c){return c===null?l(c):Ee(c)?e.check(Gh,u,l)(c):(e.consume(c),a)}function l(c){return e.exit("chunkContent"),e.exit("content"),t(c)}function u(c){return e.consume(c),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,a}}function Yh(e,t,r){const n=this;return a;function a(u){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),$e(e,l,"linePrefix")}function l(u){if(u===null||Ee(u))return r(u);const c=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?t(u):e.interrupt(n.parser.constructs.flow,r,t)(u)}}function Js(e,t,r,n,a,l,u,c,m){const f=m||Number.POSITIVE_INFINITY;let g=0;return b;function b(R){return R===60?(e.enter(n),e.enter(a),e.enter(l),e.consume(R),e.exit(l),d):R===null||R===32||R===41||Rn(R)?r(R):(e.enter(n),e.enter(u),e.enter(c),e.enter("chunkString",{contentType:"string"}),B(R))}function d(R){return R===62?(e.enter(l),e.consume(R),e.exit(l),e.exit(a),e.exit(n),t):(e.enter(c),e.enter("chunkString",{contentType:"string"}),p(R))}function p(R){return R===62?(e.exit("chunkString"),e.exit(c),d(R)):R===null||R===60||Ee(R)?r(R):(e.consume(R),R===92?A:p)}function A(R){return R===60||R===62||R===92?(e.consume(R),p):p(R)}function B(R){return!g&&(R===null||R===41||lt(R))?(e.exit("chunkString"),e.exit(c),e.exit(u),e.exit(n),t(R)):g<f&&R===40?(e.consume(R),g++,B):R===41?(e.consume(R),g--,B):R===null||R===32||R===40||Rn(R)?r(R):(e.consume(R),R===92?H:B)}function H(R){return R===40||R===41||R===92?(e.consume(R),B):B(R)}}function Qs(e,t,r,n,a,l){const u=this;let c=0,m;return f;function f(p){return e.enter(n),e.enter(a),e.consume(p),e.exit(a),e.enter(l),g}function g(p){return c>999||p===null||p===91||p===93&&!m||p===94&&!c&&"_hiddenFootnoteSupport"in u.parser.constructs?r(p):p===93?(e.exit(l),e.enter(a),e.consume(p),e.exit(a),e.exit(n),t):Ee(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),g):(e.enter("chunkString",{contentType:"string"}),b(p))}function b(p){return p===null||p===91||p===93||Ee(p)||c++>999?(e.exit("chunkString"),g(p)):(e.consume(p),m||(m=!Ge(p)),p===92?d:b)}function d(p){return p===91||p===92||p===93?(e.consume(p),c++,b):b(p)}}function eo(e,t,r,n,a,l){let u;return c;function c(d){return d===34||d===39||d===40?(e.enter(n),e.enter(a),e.consume(d),e.exit(a),u=d===40?41:d,m):r(d)}function m(d){return d===u?(e.enter(a),e.consume(d),e.exit(a),e.exit(n),t):(e.enter(l),f(d))}function f(d){return d===u?(e.exit(l),m(u)):d===null?r(d):Ee(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),$e(e,f,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),g(d))}function g(d){return d===u||d===null||Ee(d)?(e.exit("chunkString"),f(d)):(e.consume(d),d===92?b:g)}function b(d){return d===u||d===92?(e.consume(d),g):g(d)}}function fn(e,t){let r;return n;function n(a){return Ee(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),r=!0,n):Ge(a)?$e(e,n,r?"linePrefix":"lineSuffix")(a):t(a)}}const Xh={name:"definition",tokenize:Kh},Zh={partial:!0,tokenize:Jh};function Kh(e,t,r){const n=this;let a;return l;function l(p){return e.enter("definition"),u(p)}function u(p){return Qs.call(n,e,c,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function c(p){return a=A0(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),m):r(p)}function m(p){return lt(p)?fn(e,f)(p):f(p)}function f(p){return Js(e,g,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function g(p){return e.attempt(Zh,b,b)(p)}function b(p){return Ge(p)?$e(e,d,"whitespace")(p):d(p)}function d(p){return p===null||Ee(p)?(e.exit("definition"),n.parser.defined.push(a),t(p)):r(p)}}function Jh(e,t,r){return n;function n(c){return lt(c)?fn(e,a)(c):r(c)}function a(c){return eo(e,l,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(c)}function l(c){return Ge(c)?$e(e,u,"whitespace")(c):u(c)}function u(c){return c===null||Ee(c)?t(c):r(c)}}const Qh={name:"hardBreakEscape",tokenize:e2};function e2(e,t,r){return n;function n(l){return e.enter("hardBreakEscape"),e.consume(l),a}function a(l){return Ee(l)?(e.exit("hardBreakEscape"),t(l)):r(l)}}const t2={name:"headingAtx",resolve:r2,tokenize:n2};function r2(e,t){let r=e.length-2,n=3,a,l;return e[n][1].type==="whitespace"&&(n+=2),r-2>n&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(n===r-1||r-4>n&&e[r-2][1].type==="whitespace")&&(r-=n+1===r?2:4),r>n&&(a={type:"atxHeadingText",start:e[n][1].start,end:e[r][1].end},l={type:"chunkText",start:e[n][1].start,end:e[r][1].end,contentType:"text"},o0(e,n,r-n+1,[["enter",a,t],["enter",l,t],["exit",l,t],["exit",a,t]])),e}function n2(e,t,r){let n=0;return a;function a(g){return e.enter("atxHeading"),l(g)}function l(g){return e.enter("atxHeadingSequence"),u(g)}function u(g){return g===35&&n++<6?(e.consume(g),u):g===null||lt(g)?(e.exit("atxHeadingSequence"),c(g)):r(g)}function c(g){return g===35?(e.enter("atxHeadingSequence"),m(g)):g===null||Ee(g)?(e.exit("atxHeading"),t(g)):Ge(g)?$e(e,c,"whitespace")(g):(e.enter("atxHeadingText"),f(g))}function m(g){return g===35?(e.consume(g),m):(e.exit("atxHeadingSequence"),c(g))}function f(g){return g===null||g===35||lt(g)?(e.exit("atxHeadingText"),c(g)):(e.consume(g),f)}}const i2=["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"],to=["pre","script","style","textarea"],a2={concrete:!0,name:"htmlFlow",resolveTo:o2,tokenize:u2},l2={partial:!0,tokenize:h2},s2={partial:!0,tokenize:c2};function o2(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(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}function u2(e,t,r){const n=this;let a,l,u,c,m;return f;function f(V){return g(V)}function g(V){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume(V),b}function b(V){return V===33?(e.consume(V),d):V===47?(e.consume(V),l=!0,B):V===63?(e.consume(V),a=3,n.interrupt?t:$):Ut(V)?(e.consume(V),u=String.fromCharCode(V),H):r(V)}function d(V){return V===45?(e.consume(V),a=2,p):V===91?(e.consume(V),a=5,c=0,A):Ut(V)?(e.consume(V),a=4,n.interrupt?t:$):r(V)}function p(V){return V===45?(e.consume(V),n.interrupt?t:$):r(V)}function A(V){const At="CDATA[";return V===At.charCodeAt(c++)?(e.consume(V),c===At.length?n.interrupt?t:ge:A):r(V)}function B(V){return Ut(V)?(e.consume(V),u=String.fromCharCode(V),H):r(V)}function H(V){if(V===null||V===47||V===62||lt(V)){const At=V===47,It=u.toLowerCase();return!At&&!l&&to.includes(It)?(a=1,n.interrupt?t(V):ge(V)):i2.includes(u.toLowerCase())?(a=6,At?(e.consume(V),R):n.interrupt?t(V):ge(V)):(a=7,n.interrupt&&!n.parser.lazy[n.now().line]?r(V):l?L(V):K(V))}return V===45||Vt(V)?(e.consume(V),u+=String.fromCharCode(V),H):r(V)}function R(V){return V===62?(e.consume(V),n.interrupt?t:ge):r(V)}function L(V){return Ge(V)?(e.consume(V),L):J(V)}function K(V){return V===47?(e.consume(V),J):V===58||V===95||Ut(V)?(e.consume(V),ae):Ge(V)?(e.consume(V),K):J(V)}function ae(V){return V===45||V===46||V===58||V===95||Vt(V)?(e.consume(V),ae):re(V)}function re(V){return V===61?(e.consume(V),Y):Ge(V)?(e.consume(V),re):K(V)}function Y(V){return V===null||V===60||V===61||V===62||V===96?r(V):V===34||V===39?(e.consume(V),m=V,oe):Ge(V)?(e.consume(V),Y):ve(V)}function oe(V){return V===m?(e.consume(V),m=null,ue):V===null||Ee(V)?r(V):(e.consume(V),oe)}function ve(V){return V===null||V===34||V===39||V===47||V===60||V===61||V===62||V===96||lt(V)?re(V):(e.consume(V),ve)}function ue(V){return V===47||V===62||Ge(V)?K(V):r(V)}function J(V){return V===62?(e.consume(V),de):r(V)}function de(V){return V===null||Ee(V)?ge(V):Ge(V)?(e.consume(V),de):r(V)}function ge(V){return V===45&&a===2?(e.consume(V),Ve):V===60&&a===1?(e.consume(V),Qe):V===62&&a===4?(e.consume(V),we):V===63&&a===3?(e.consume(V),$):V===93&&a===5?(e.consume(V),qt):Ee(V)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(l2,it,he)(V)):V===null||Ee(V)?(e.exit("htmlFlowData"),he(V)):(e.consume(V),ge)}function he(V){return e.check(s2,te,it)(V)}function te(V){return e.enter("lineEnding"),e.consume(V),e.exit("lineEnding"),Ae}function Ae(V){return V===null||Ee(V)?he(V):(e.enter("htmlFlowData"),ge(V))}function Ve(V){return V===45?(e.consume(V),$):ge(V)}function Qe(V){return V===47?(e.consume(V),u="",ht):ge(V)}function ht(V){if(V===62){const At=u.toLowerCase();return to.includes(At)?(e.consume(V),we):ge(V)}return Ut(V)&&u.length<8?(e.consume(V),u+=String.fromCharCode(V),ht):ge(V)}function qt(V){return V===93?(e.consume(V),$):ge(V)}function $(V){return V===62?(e.consume(V),we):V===45&&a===2?(e.consume(V),$):ge(V)}function we(V){return V===null||Ee(V)?(e.exit("htmlFlowData"),it(V)):(e.consume(V),we)}function it(V){return e.exit("htmlFlow"),t(V)}}function c2(e,t,r){const n=this;return a;function a(u){return Ee(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),l):r(u)}function l(u){return n.parser.lazy[n.now().line]?r(u):t(u)}}function h2(e,t,r){return n;function n(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(dn,t,r)}}const m2={name:"htmlText",tokenize:d2};function d2(e,t,r){const n=this;let a,l,u;return c;function c($){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume($),m}function m($){return $===33?(e.consume($),f):$===47?(e.consume($),re):$===63?(e.consume($),K):Ut($)?(e.consume($),ve):r($)}function f($){return $===45?(e.consume($),g):$===91?(e.consume($),l=0,A):Ut($)?(e.consume($),L):r($)}function g($){return $===45?(e.consume($),p):r($)}function b($){return $===null?r($):$===45?(e.consume($),d):Ee($)?(u=b,Qe($)):(e.consume($),b)}function d($){return $===45?(e.consume($),p):b($)}function p($){return $===62?Ve($):$===45?d($):b($)}function A($){const we="CDATA[";return $===we.charCodeAt(l++)?(e.consume($),l===we.length?B:A):r($)}function B($){return $===null?r($):$===93?(e.consume($),H):Ee($)?(u=B,Qe($)):(e.consume($),B)}function H($){return $===93?(e.consume($),R):B($)}function R($){return $===62?Ve($):$===93?(e.consume($),R):B($)}function L($){return $===null||$===62?Ve($):Ee($)?(u=L,Qe($)):(e.consume($),L)}function K($){return $===null?r($):$===63?(e.consume($),ae):Ee($)?(u=K,Qe($)):(e.consume($),K)}function ae($){return $===62?Ve($):K($)}function re($){return Ut($)?(e.consume($),Y):r($)}function Y($){return $===45||Vt($)?(e.consume($),Y):oe($)}function oe($){return Ee($)?(u=oe,Qe($)):Ge($)?(e.consume($),oe):Ve($)}function ve($){return $===45||Vt($)?(e.consume($),ve):$===47||$===62||lt($)?ue($):r($)}function ue($){return $===47?(e.consume($),Ve):$===58||$===95||Ut($)?(e.consume($),J):Ee($)?(u=ue,Qe($)):Ge($)?(e.consume($),ue):Ve($)}function J($){return $===45||$===46||$===58||$===95||Vt($)?(e.consume($),J):de($)}function de($){return $===61?(e.consume($),ge):Ee($)?(u=de,Qe($)):Ge($)?(e.consume($),de):ue($)}function ge($){return $===null||$===60||$===61||$===62||$===96?r($):$===34||$===39?(e.consume($),a=$,he):Ee($)?(u=ge,Qe($)):Ge($)?(e.consume($),ge):(e.consume($),te)}function he($){return $===a?(e.consume($),a=void 0,Ae):$===null?r($):Ee($)?(u=he,Qe($)):(e.consume($),he)}function te($){return $===null||$===34||$===39||$===60||$===61||$===96?r($):$===47||$===62||lt($)?ue($):(e.consume($),te)}function Ae($){return $===47||$===62||lt($)?ue($):r($)}function Ve($){return $===62?(e.consume($),e.exit("htmlTextData"),e.exit("htmlText"),t):r($)}function Qe($){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume($),e.exit("lineEnding"),ht}function ht($){return Ge($)?$e(e,qt,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)($):qt($)}function qt($){return e.enter("htmlTextData"),u($)}}const ra={name:"labelEnd",resolveAll:y2,resolveTo:b2,tokenize:x2},p2={tokenize:v2},f2={tokenize:w2},g2={tokenize:k2};function y2(e){let t=-1;const r=[];for(;++t<e.length;){const n=e[t][1];if(r.push(e[t]),n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd"){const a=n.type==="labelImage"?4:2;n.type="data",t+=a}}return e.length!==r.length&&o0(e,0,e.length,r),e}function b2(e,t){let r=e.length,n=0,a,l,u,c;for(;r--;)if(a=e[r][1],l){if(a.type==="link"||a.type==="labelLink"&&a._inactive)break;e[r][0]==="enter"&&a.type==="labelLink"&&(a._inactive=!0)}else if(u){if(e[r][0]==="enter"&&(a.type==="labelImage"||a.type==="labelLink")&&!a._balanced&&(l=r,a.type!=="labelLink")){n=2;break}}else a.type==="labelEnd"&&(u=r);const m={type:e[l][1].type==="labelLink"?"link":"image",start:{...e[l][1].start},end:{...e[e.length-1][1].end}},f={type:"label",start:{...e[l][1].start},end:{...e[u][1].end}},g={type:"labelText",start:{...e[l+n+2][1].end},end:{...e[u-2][1].start}};return c=[["enter",m,t],["enter",f,t]],c=p0(c,e.slice(l+1,l+n+3)),c=p0(c,[["enter",g,t]]),c=p0(c,qn(t.parser.constructs.insideSpan.null,e.slice(l+n+4,u-3),t)),c=p0(c,[["exit",g,t],e[u-2],e[u-1],["exit",f,t]]),c=p0(c,e.slice(u+1)),c=p0(c,[["exit",m,t]]),o0(e,l,e.length,c),e}function x2(e,t,r){const n=this;let a=n.events.length,l,u;for(;a--;)if((n.events[a][1].type==="labelImage"||n.events[a][1].type==="labelLink")&&!n.events[a][1]._balanced){l=n.events[a][1];break}return c;function c(d){return l?l._inactive?b(d):(u=n.parser.defined.includes(A0(n.sliceSerialize({start:l.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(d),e.exit("labelMarker"),e.exit("labelEnd"),m):r(d)}function m(d){return d===40?e.attempt(p2,g,u?g:b)(d):d===91?e.attempt(f2,g,u?f:b)(d):u?g(d):b(d)}function f(d){return e.attempt(g2,g,b)(d)}function g(d){return t(d)}function b(d){return l._balanced=!0,r(d)}}function v2(e,t,r){return n;function n(b){return e.enter("resource"),e.enter("resourceMarker"),e.consume(b),e.exit("resourceMarker"),a}function a(b){return lt(b)?fn(e,l)(b):l(b)}function l(b){return b===41?g(b):Js(e,u,c,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(b)}function u(b){return lt(b)?fn(e,m)(b):g(b)}function c(b){return r(b)}function m(b){return b===34||b===39||b===40?eo(e,f,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(b):g(b)}function f(b){return lt(b)?fn(e,g)(b):g(b)}function g(b){return b===41?(e.enter("resourceMarker"),e.consume(b),e.exit("resourceMarker"),e.exit("resource"),t):r(b)}}function w2(e,t,r){const n=this;return a;function a(c){return Qs.call(n,e,l,u,"reference","referenceMarker","referenceString")(c)}function l(c){return n.parser.defined.includes(A0(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(c):r(c)}function u(c){return r(c)}}function k2(e,t,r){return n;function n(l){return e.enter("reference"),e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),a}function a(l){return l===93?(e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),e.exit("reference"),t):r(l)}}const S2={name:"labelStartImage",resolveAll:ra.resolveAll,tokenize:M2};function M2(e,t,r){const n=this;return a;function a(c){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(c),e.exit("labelImageMarker"),l}function l(c){return c===91?(e.enter("labelMarker"),e.consume(c),e.exit("labelMarker"),e.exit("labelImage"),u):r(c)}function u(c){return c===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(c):t(c)}}const A2={name:"labelStartLink",resolveAll:ra.resolveAll,tokenize:T2};function T2(e,t,r){const n=this;return a;function a(u){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelLink"),l}function l(u){return u===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(u):t(u)}}const na={name:"lineEnding",tokenize:z2};function z2(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),$e(e,t,"linePrefix")}}const On={name:"thematicBreak",tokenize:C2};function C2(e,t,r){let n=0,a;return l;function l(f){return e.enter("thematicBreak"),u(f)}function u(f){return a=f,c(f)}function c(f){return f===a?(e.enter("thematicBreakSequence"),m(f)):n>=3&&(f===null||Ee(f))?(e.exit("thematicBreak"),t(f)):r(f)}function m(f){return f===a?(e.consume(f),n++,m):(e.exit("thematicBreakSequence"),Ge(f)?$e(e,c,"whitespace")(f):c(f))}}const e0={continuation:{tokenize:N2},exit:R2,name:"list",tokenize:B2},E2={partial:!0,tokenize:_2},D2={partial:!0,tokenize:I2};function B2(e,t,r){const n=this,a=n.events[n.events.length-1];let l=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,u=0;return c;function c(p){const A=n.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(A==="listUnordered"?!n.containerState.marker||p===n.containerState.marker:Qi(p)){if(n.containerState.type||(n.containerState.type=A,e.enter(A,{_container:!0})),A==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check(On,r,f)(p):f(p);if(!n.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),m(p)}return r(p)}function m(p){return Qi(p)&&++u<10?(e.consume(p),m):(!n.interrupt||u<2)&&(n.containerState.marker?p===n.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),f(p)):r(p)}function f(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||p,e.check(dn,n.interrupt?r:g,e.attempt(E2,d,b))}function g(p){return n.containerState.initialBlankLine=!0,l++,d(p)}function b(p){return Ge(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),d):r(p)}function d(p){return n.containerState.size=l+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function N2(e,t,r){const n=this;return n.containerState._closeFlow=void 0,e.check(dn,a,l);function a(c){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,$e(e,t,"listItemIndent",n.containerState.size+1)(c)}function l(c){return n.containerState.furtherBlankLines||!Ge(c)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,u(c)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(D2,t,u)(c))}function u(c){return n.containerState._closeFlow=!0,n.interrupt=void 0,$e(e,e.attempt(e0,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c)}}function I2(e,t,r){const n=this;return $e(e,a,"listItemIndent",n.containerState.size+1);function a(l){const u=n.events[n.events.length-1];return u&&u[1].type==="listItemIndent"&&u[2].sliceSerialize(u[1],!0).length===n.containerState.size?t(l):r(l)}}function R2(e){e.exit(this.containerState.type)}function _2(e,t,r){const n=this;return $e(e,a,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(l){const u=n.events[n.events.length-1];return!Ge(l)&&u&&u[1].type==="listItemPrefixWhitespace"?t(l):r(l)}}const ro={name:"setextUnderline",resolveTo:q2,tokenize:O2};function q2(e,t){let r=e.length,n,a,l;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){n=r;break}e[r][1].type==="paragraph"&&(a=r)}else e[r][1].type==="content"&&e.splice(r,1),!l&&e[r][1].type==="definition"&&(l=r);const u={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[a][1].type="setextHeadingText",l?(e.splice(a,0,["enter",u,t]),e.splice(l+1,0,["exit",e[n][1],t]),e[n][1].end={...e[l][1].end}):e[n][1]=u,e.push(["exit",u,t]),e}function O2(e,t,r){const n=this;let a;return l;function l(f){let g=n.events.length,b;for(;g--;)if(n.events[g][1].type!=="lineEnding"&&n.events[g][1].type!=="linePrefix"&&n.events[g][1].type!=="content"){b=n.events[g][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||b)?(e.enter("setextHeadingLine"),a=f,u(f)):r(f)}function u(f){return e.enter("setextHeadingLineSequence"),c(f)}function c(f){return f===a?(e.consume(f),c):(e.exit("setextHeadingLineSequence"),Ge(f)?$e(e,m,"lineSuffix")(f):m(f))}function m(f){return f===null||Ee(f)?(e.exit("setextHeadingLine"),t(f)):r(f)}}const F2={tokenize:L2};function L2(e){const t=this,r=e.attempt(dn,n,e.attempt(this.parser.constructs.flowInitial,a,$e(e,e.attempt(this.parser.constructs.flow,a,e.attempt(jh,a)),"linePrefix")));return r;function n(l){if(l===null){e.consume(l);return}return e.enter("lineEndingBlank"),e.consume(l),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function a(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),t.currentConstruct=void 0,r}}const P2={resolveAll:io()},H2=no("string"),$2=no("text");function no(e){return{resolveAll:io(e==="text"?V2:void 0),tokenize:t};function t(r){const n=this,a=this.parser.constructs[e],l=r.attempt(a,u,c);return u;function u(g){return f(g)?l(g):c(g)}function c(g){if(g===null){r.consume(g);return}return r.enter("data"),r.consume(g),m}function m(g){return f(g)?(r.exit("data"),l(g)):(r.consume(g),m)}function f(g){if(g===null)return!0;const b=a[g];let d=-1;if(b)for(;++d<b.length;){const p=b[d];if(!p.previous||p.previous.call(n,n.previous))return!0}return!1}}}function io(e){return t;function t(r,n){let a=-1,l;for(;++a<=r.length;)l===void 0?r[a]&&r[a][1].type==="data"&&(l=a,a++):(!r[a]||r[a][1].type!=="data")&&(a!==l+2&&(r[l][1].end=r[a-1][1].end,r.splice(l+2,a-l-2),a=l+2),l=void 0);return e?e(r,n):r}}function V2(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){const n=e[r-1][1],a=t.sliceStream(n);let l=a.length,u=-1,c=0,m;for(;l--;){const f=a[l];if(typeof f=="string"){for(u=f.length;f.charCodeAt(u-1)===32;)c++,u--;if(u)break;u=-1}else if(f===-2)m=!0,c++;else if(f!==-1){l++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(c=0),c){const f={type:r===e.length||m||c<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:l?u:n.start._bufferIndex+u,_index:n.start._index+l,line:n.end.line,column:n.end.column-c,offset:n.end.offset-c},end:{...n.end}};n.end={...f.start},n.start.offset===n.end.offset?Object.assign(n,f):(e.splice(r,0,["enter",f,t],["exit",f,t]),r+=2)}r++}return e}const j2=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:Xh},disable:{null:[]},document:{42:e0,43:e0,45:e0,48:e0,49:e0,50:e0,51:e0,52:e0,53:e0,54:e0,55:e0,56:e0,57:e0,62:Us},flow:{35:t2,42:On,45:[ro,On],60:a2,61:ro,95:On,96:Zs,126:Zs},flowInitial:{[-2]:ta,[-1]:ta,32:ta},insideSpan:{null:[ea,P2]},string:{38:Ys,92:Ws},text:{[-5]:na,[-4]:na,[-3]:na,33:S2,38:Ys,42:ea,60:[Ah,m2],91:A2,92:[Qh,Ws],93:ra,95:ea,96:Fh}},Symbol.toStringTag,{value:"Module"}));function G2(e,t,r){let n={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const a={},l=[];let u=[],c=[];const m={attempt:oe(re),check:oe(Y),consume:L,enter:K,exit:ae,interrupt:oe(Y,{interrupt:!0})},f={code:null,containerState:{},defineSkip:B,events:[],now:A,parser:e,previous:null,sliceSerialize:d,sliceStream:p,write:b};let g=t.tokenize.call(f,m);return t.resolveAll&&l.push(t),f;function b(de){return u=p0(u,de),H(),u[u.length-1]!==null?[]:(ve(t,0),f.events=qn(l,f.events,f),f.events)}function d(de,ge){return W2(p(de),ge)}function p(de){return U2(u,de)}function A(){const{_bufferIndex:de,_index:ge,line:he,column:te,offset:Ae}=n;return{_bufferIndex:de,_index:ge,line:he,column:te,offset:Ae}}function B(de){a[de.line]=de.column,J()}function H(){let de;for(;n._index<u.length;){const ge=u[n._index];if(typeof ge=="string")for(de=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===de&&n._bufferIndex<ge.length;)R(ge.charCodeAt(n._bufferIndex));else R(ge)}}function R(de){g=g(de)}function L(de){Ee(de)?(n.line++,n.column=1,n.offset+=de===-3?2:1,J()):de!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===u[n._index].length&&(n._bufferIndex=-1,n._index++)),f.previous=de}function K(de,ge){const he=ge||{};return he.type=de,he.start=A(),f.events.push(["enter",he,f]),c.push(he),he}function ae(de){const ge=c.pop();return ge.end=A(),f.events.push(["exit",ge,f]),ge}function re(de,ge){ve(de,ge.from)}function Y(de,ge){ge.restore()}function oe(de,ge){return he;function he(te,Ae,Ve){let Qe,ht,qt,$;return Array.isArray(te)?it(te):"tokenize"in te?it([te]):we(te);function we(tt){return Ot;function Ot(Tt){const Lt=Tt!==null&&tt[Tt],Ft=Tt!==null&&tt.null,H0=[...Array.isArray(Lt)?Lt:Lt?[Lt]:[],...Array.isArray(Ft)?Ft:Ft?[Ft]:[]];return it(H0)(Tt)}}function it(tt){return Qe=tt,ht=0,tt.length===0?Ve:V(tt[ht])}function V(tt){return Ot;function Ot(Tt){return $=ue(),qt=tt,tt.partial||(f.currentConstruct=tt),tt.name&&f.parser.constructs.disable.null.includes(tt.name)?It():tt.tokenize.call(ge?Object.assign(Object.create(f),ge):f,m,At,It)(Tt)}}function At(tt){return de(qt,$),Ae}function It(tt){return $.restore(),++ht<Qe.length?V(Qe[ht]):Ve}}}function ve(de,ge){de.resolveAll&&!l.includes(de)&&l.push(de),de.resolve&&o0(f.events,ge,f.events.length-ge,de.resolve(f.events.slice(ge),f)),de.resolveTo&&(f.events=de.resolveTo(f.events,f))}function ue(){const de=A(),ge=f.previous,he=f.currentConstruct,te=f.events.length,Ae=Array.from(c);return{from:te,restore:Ve};function Ve(){n=de,f.previous=ge,f.currentConstruct=he,f.events.length=te,c=Ae,J()}}function J(){n.line in a&&n.column<2&&(n.column=a[n.line],n.offset+=a[n.line]-1)}}function U2(e,t){const r=t.start._index,n=t.start._bufferIndex,a=t.end._index,l=t.end._bufferIndex;let u;if(r===a)u=[e[r].slice(n,l)];else{if(u=e.slice(r,a),n>-1){const c=u[0];typeof c=="string"?u[0]=c.slice(n):u.shift()}l>0&&u.push(e[a].slice(0,l))}return u}function W2(e,t){let r=-1;const n=[];let a;for(;++r<e.length;){const l=e[r];let u;if(typeof l=="string")u=l;else switch(l){case-5:{u="\r";break}case-4:{u=`
30
+ <%s key={someKey} {...props} />`,wr,V0,Re,V0),_r[V0+wr]=!0}}return M===n?zl(rt):Al(rt),rt}}function x(M,te,Q){return dt(M,te,Q,!0)}function k(M,te,Q){return dt(M,te,Q,!1)}var ne=k,T=x;rn.Fragment=n,rn.jsx=ne,rn.jsxs=T})()),rn}var us;function M4(){return us||(us=1,process.env.NODE_ENV==="production"?On.exports=k4():On.exports=S4()),On.exports}var Lr=M4();function Vf(){}function jf(){}function cs(e){const t=[],r=String(e||"");let n=r.indexOf(","),a=0,l=!1;for(;!l;){n===-1&&(n=r.length,l=!0);const u=r.slice(a,n).trim();(u||!l)&&t.push(u),a=n+1,n=r.indexOf(",",a)}return t}function A4(e,t){const r={};return(e[e.length-1]===""?[...e,""]:e).join((r.padRight?" ":"")+","+(r.padLeft===!1?"":" ")).trim()}const z4=/^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,T4=/^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u,C4={};function hs(e,t){return(C4.jsx?T4:z4).test(e)}const E4=/[ \t\n\f\r]/g;function D4(e){return typeof e=="object"?e.type==="text"?ms(e.value):!1:ms(e)}function ms(e){return e.replace(E4,"")===""}class nn{constructor(t,r,n){this.normal=r,this.property=t,n&&(this.space=n)}}nn.prototype.normal={},nn.prototype.property={},nn.prototype.space=void 0;function ds(e,t){const r={},n={};for(const a of e)Object.assign(r,a.property),Object.assign(n,a.normal);return new nn(r,n,t)}function an(e){return e.toLowerCase()}class e0{constructor(t,r){this.attribute=r,this.property=t}}e0.prototype.attribute="",e0.prototype.booleanish=!1,e0.prototype.boolean=!1,e0.prototype.commaOrSpaceSeparated=!1,e0.prototype.commaSeparated=!1,e0.prototype.defined=!1,e0.prototype.mustUseProperty=!1,e0.prototype.number=!1,e0.prototype.overloadedBoolean=!1,e0.prototype.property="",e0.prototype.spaceSeparated=!1,e0.prototype.space=void 0;let B4=0;const Fe=Ar(),Ct=Ar(),Pi=Ar(),ge=Ar(),ut=Ar(),Pr=Ar(),u0=Ar();function Ar(){return 2**++B4}const Hi=Object.freeze(Object.defineProperty({__proto__:null,boolean:Fe,booleanish:Ct,commaOrSpaceSeparated:u0,commaSeparated:Pr,number:ge,overloadedBoolean:Pi,spaceSeparated:ut},Symbol.toStringTag,{value:"Module"})),$i=Object.keys(Hi);class Vi extends e0{constructor(t,r,n,a){let l=-1;if(super(t,r),ps(this,"space",a),typeof n=="number")for(;++l<$i.length;){const u=$i[l];ps(this,$i[l],(n&Hi[u])===Hi[u])}}}Vi.prototype.defined=!0;function ps(e,t,r){r&&(e[t]=r)}function Hr(e){const t={},r={};for(const[n,a]of Object.entries(e.properties)){const l=new Vi(n,e.transform(e.attributes||{},n),a,e.space);e.mustUseProperty&&e.mustUseProperty.includes(n)&&(l.mustUseProperty=!0),t[n]=l,r[an(n)]=n,r[an(l.attribute)]=n}return new nn(t,r,e.space)}const fs=Hr({properties:{ariaActiveDescendant:null,ariaAtomic:Ct,ariaAutoComplete:null,ariaBusy:Ct,ariaChecked:Ct,ariaColCount:ge,ariaColIndex:ge,ariaColSpan:ge,ariaControls:ut,ariaCurrent:null,ariaDescribedBy:ut,ariaDetails:null,ariaDisabled:Ct,ariaDropEffect:ut,ariaErrorMessage:null,ariaExpanded:Ct,ariaFlowTo:ut,ariaGrabbed:Ct,ariaHasPopup:null,ariaHidden:Ct,ariaInvalid:null,ariaKeyShortcuts:null,ariaLabel:null,ariaLabelledBy:ut,ariaLevel:ge,ariaLive:null,ariaModal:Ct,ariaMultiLine:Ct,ariaMultiSelectable:Ct,ariaOrientation:null,ariaOwns:ut,ariaPlaceholder:null,ariaPosInSet:ge,ariaPressed:Ct,ariaReadOnly:Ct,ariaRelevant:null,ariaRequired:Ct,ariaRoleDescription:ut,ariaRowCount:ge,ariaRowIndex:ge,ariaRowSpan:ge,ariaSelected:Ct,ariaSetSize:ge,ariaSort:null,ariaValueMax:ge,ariaValueMin:ge,ariaValueNow:ge,ariaValueText:null,role:null},transform(e,t){return t==="role"?t:"aria-"+t.slice(4).toLowerCase()}});function gs(e,t){return t in e?e[t]:t}function ys(e,t){return gs(e,t.toLowerCase())}const N4=Hr({attributes:{acceptcharset:"accept-charset",classname:"class",htmlfor:"for",httpequiv:"http-equiv"},mustUseProperty:["checked","multiple","muted","selected"],properties:{abbr:null,accept:Pr,acceptCharset:ut,accessKey:ut,action:null,allow:null,allowFullScreen:Fe,allowPaymentRequest:Fe,allowUserMedia:Fe,alt:null,as:null,async:Fe,autoCapitalize:null,autoComplete:ut,autoFocus:Fe,autoPlay:Fe,blocking:ut,capture:null,charSet:null,checked:Fe,cite:null,className:ut,cols:ge,colSpan:null,content:null,contentEditable:Ct,controls:Fe,controlsList:ut,coords:ge|Pr,crossOrigin:null,data:null,dateTime:null,decoding:null,default:Fe,defer:Fe,dir:null,dirName:null,disabled:Fe,download:Pi,draggable:Ct,encType:null,enterKeyHint:null,fetchPriority:null,form:null,formAction:null,formEncType:null,formMethod:null,formNoValidate:Fe,formTarget:null,headers:ut,height:ge,hidden:Pi,high:ge,href:null,hrefLang:null,htmlFor:ut,httpEquiv:ut,id:null,imageSizes:null,imageSrcSet:null,inert:Fe,inputMode:null,integrity:null,is:null,isMap:Fe,itemId:null,itemProp:ut,itemRef:ut,itemScope:Fe,itemType:ut,kind:null,label:null,lang:null,language:null,list:null,loading:null,loop:Fe,low:ge,manifest:null,max:null,maxLength:ge,media:null,method:null,min:null,minLength:ge,multiple:Fe,muted:Fe,name:null,nonce:null,noModule:Fe,noValidate:Fe,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:Fe,optimum:ge,pattern:null,ping:ut,placeholder:null,playsInline:Fe,popover:null,popoverTarget:null,popoverTargetAction:null,poster:null,preload:null,readOnly:Fe,referrerPolicy:null,rel:ut,required:Fe,reversed:Fe,rows:ge,rowSpan:ge,sandbox:ut,scope:null,scoped:Fe,seamless:Fe,selected:Fe,shadowRootClonable:Fe,shadowRootDelegatesFocus:Fe,shadowRootMode:null,shape:null,size:ge,sizes:null,slot:null,span:ge,spellCheck:Ct,src:null,srcDoc:null,srcLang:null,srcSet:null,start:ge,step:null,style:null,tabIndex:ge,target:null,title:null,translate:null,type:null,typeMustMatch:Fe,useMap:null,value:Ct,width:ge,wrap:null,writingSuggestions:null,align:null,aLink:null,archive:ut,axis:null,background:null,bgColor:null,border:ge,borderColor:null,bottomMargin:ge,cellPadding:null,cellSpacing:null,char:null,charOff:null,classId:null,clear:null,code:null,codeBase:null,codeType:null,color:null,compact:Fe,declare:Fe,event:null,face:null,frame:null,frameBorder:null,hSpace:ge,leftMargin:ge,link:null,longDesc:null,lowSrc:null,marginHeight:ge,marginWidth:ge,noResize:Fe,noHref:Fe,noShade:Fe,noWrap:Fe,object:null,profile:null,prompt:null,rev:null,rightMargin:ge,rules:null,scheme:null,scrolling:Ct,standby:null,summary:null,text:null,topMargin:ge,valueType:null,version:null,vAlign:null,vLink:null,vSpace:ge,allowTransparency:null,autoCorrect:null,autoSave:null,disablePictureInPicture:Fe,disableRemotePlayback:Fe,prefix:null,property:null,results:ge,security:null,unselectable:null},space:"html",transform:ys}),I4=Hr({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",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:u0,accentHeight:ge,accumulate:null,additive:null,alignmentBaseline:null,alphabetic:ge,amplitude:ge,arabicForm:null,ascent:ge,attributeName:null,attributeType:null,azimuth:ge,bandwidth:null,baselineShift:null,baseFrequency:null,baseProfile:null,bbox:null,begin:null,bias:ge,by:null,calcMode:null,capHeight:ge,className:ut,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:ge,diffuseConstant:ge,direction:null,display:null,dur:null,divisor:ge,dominantBaseline:null,download:Fe,dx:null,dy:null,edgeMode:null,editable:null,elevation:ge,enableBackground:null,end:null,event:null,exponent:ge,externalResourcesRequired:null,fill:null,fillOpacity:ge,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:Pr,g2:Pr,glyphName:Pr,glyphOrientationHorizontal:null,glyphOrientationVertical:null,glyphRef:null,gradientTransform:null,gradientUnits:null,handler:null,hanging:ge,hatchContentUnits:null,hatchUnits:null,height:null,href:null,hrefLang:null,horizAdvX:ge,horizOriginX:ge,horizOriginY:ge,id:null,ideographic:ge,imageRendering:null,initialVisibility:null,in:null,in2:null,intercept:ge,k:ge,k1:ge,k2:ge,k3:ge,k4:ge,kernelMatrix:u0,kernelUnitLength:null,keyPoints:null,keySplines:null,keyTimes:null,kerning:null,lang:null,lengthAdjust:null,letterSpacing:null,lightingColor:null,limitingConeAngle:ge,local:null,markerEnd:null,markerMid:null,markerStart:null,markerHeight:null,markerUnits:null,markerWidth:null,mask:null,maskContentUnits:null,maskUnits:null,mathematical:null,max:null,media:null,mediaCharacterEncoding:null,mediaContentEncodings:null,mediaSize:ge,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:ge,overlineThickness:ge,paintOrder:null,panose1:null,path:null,pathLength:ge,patternContentUnits:null,patternTransform:null,patternUnits:null,phase:null,ping:ut,pitch:null,playbackOrder:null,pointerEvents:null,points:null,pointsAtX:ge,pointsAtY:ge,pointsAtZ:ge,preserveAlpha:null,preserveAspectRatio:null,primitiveUnits:null,propagate:null,property:u0,r:null,radius:null,referrerPolicy:null,refX:null,refY:null,rel:u0,rev:u0,renderingIntent:null,repeatCount:null,repeatDur:null,requiredExtensions:u0,requiredFeatures:u0,requiredFonts:u0,requiredFormats:u0,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:ge,specularExponent:ge,spreadMethod:null,spacing:null,startOffset:null,stdDeviation:null,stemh:null,stemv:null,stitchTiles:null,stopColor:null,stopOpacity:null,strikethroughPosition:ge,strikethroughThickness:ge,string:null,stroke:null,strokeDashArray:u0,strokeDashOffset:null,strokeLineCap:null,strokeLineJoin:null,strokeMiterLimit:ge,strokeOpacity:ge,strokeWidth:null,style:null,surfaceScale:ge,syncBehavior:null,syncBehaviorDefault:null,syncMaster:null,syncTolerance:null,syncToleranceDefault:null,systemLanguage:u0,tabIndex:ge,tableValues:null,target:null,targetX:ge,targetY:ge,textAnchor:null,textDecoration:null,textRendering:null,textLength:null,timelineBegin:null,title:null,transformBehavior:null,type:null,typeOf:u0,to:null,transform:null,transformOrigin:null,u1:null,u2:null,underlinePosition:ge,underlineThickness:ge,unicode:null,unicodeBidi:null,unicodeRange:null,unitsPerEm:ge,values:null,vAlphabetic:ge,vMathematical:ge,vectorEffect:null,vHanging:ge,vIdeographic:ge,version:null,vertAdvY:ge,vertOriginX:ge,vertOriginY:ge,viewBox:null,viewTarget:null,visibility:null,width:null,widths:null,wordSpacing:null,writingMode:null,x:null,x1:null,x2:null,xChannelSelector:null,xHeight:ge,y:null,y1:null,y2:null,yChannelSelector:null,z:null,zoomAndPan:null},space:"svg",transform:gs}),bs=Hr({properties:{xLinkActuate:null,xLinkArcRole:null,xLinkHref:null,xLinkRole:null,xLinkShow:null,xLinkTitle:null,xLinkType:null},space:"xlink",transform(e,t){return"xlink:"+t.slice(5).toLowerCase()}}),xs=Hr({attributes:{xmlnsxlink:"xmlns:xlink"},properties:{xmlnsXLink:null,xmlns:null},space:"xmlns",transform:ys}),vs=Hr({properties:{xmlBase:null,xmlLang:null,xmlSpace:null},space:"xml",transform(e,t){return"xml:"+t.slice(3).toLowerCase()}}),R4={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"},_4=/[A-Z]/g,ws=/-[a-z]/g,q4=/^data[-\w.:]+$/i;function ks(e,t){const r=an(t);let n=t,a=e0;if(r in e.normal)return e.property[e.normal[r]];if(r.length>4&&r.slice(0,4)==="data"&&q4.test(t)){if(t.charAt(4)==="-"){const l=t.slice(5).replace(ws,F4);n="data"+l.charAt(0).toUpperCase()+l.slice(1)}else{const l=t.slice(4);if(!ws.test(l)){let u=l.replace(_4,O4);u.charAt(0)!=="-"&&(u="-"+u),t="data"+u}}a=Vi}return new a(n,t)}function O4(e){return"-"+e.toLowerCase()}function F4(e){return e.charAt(1).toUpperCase()}const Ss=ds([fs,N4,bs,xs,vs],"html"),Fn=ds([fs,I4,bs,xs,vs],"svg");function Ms(e){const t=String(e||"").trim();return t?t.split(/[ \t\n\r\f]+/g):[]}function L4(e){return e.join(" ").trim()}var $r={},ji,As;function P4(){if(As)return ji;As=1;var e=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,t=/\n/g,r=/^\s*/,n=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,a=/^:\s*/,l=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,u=/^[;\s]*/,c=/^\s+|\s+$/g,m=`
31
+ `,f="/",g="*",b="",d="comment",p="declaration";ji=function(N,O){if(typeof N!="string")throw new TypeError("First argument must be a string");if(!N)return[];O=O||{};var q=1,P=1;function K(ye){var ue=ye.match(t);ue&&(q+=ue.length);var Me=ye.lastIndexOf(m);P=~Me?ye.length-Me:P+ye.length}function re(){var ye={line:q,column:P};return function(ue){return ue.position=new le(ye),ve(),ue}}function le(ye){this.start=ye,this.end={line:q,column:P},this.source=O.source}le.prototype.content=N;function W(ye){var ue=new Error(O.source+":"+q+":"+P+": "+ye);if(ue.reason=ye,ue.filename=O.source,ue.line=q,ue.column=P,ue.source=N,!O.silent)throw ue}function se(ye){var ue=ye.exec(N);if(ue){var Me=ue[0];return K(Me),N=N.slice(Me.length),ue}}function ve(){se(r)}function pe(ye){var ue;for(ye=ye||[];ue=Y();)ue!==!1&&ye.push(ue);return ye}function Y(){var ye=re();if(!(f!=N.charAt(0)||g!=N.charAt(1))){for(var ue=2;b!=N.charAt(ue)&&(g!=N.charAt(ue)||f!=N.charAt(ue+1));)++ue;if(ue+=2,b===N.charAt(ue-1))return W("End of comment missing");var Me=N.slice(2,ue-2);return P+=2,K(Me),N=N.slice(ue),P+=2,ye({type:d,comment:Me})}}function be(){var ye=re(),ue=se(n);if(ue){if(Y(),!se(a))return W("property missing ':'");var Me=se(l),$e=ye({type:p,property:A(ue[0].replace(e,b)),value:Me?A(Me[0].replace(e,b)):b});return se(u),$e}}function oe(){var ye=[];pe(ye);for(var ue;ue=be();)ue!==!1&&(ye.push(ue),pe(ye));return ye}return ve(),oe()};function A(N){return N?N.replace(c,b):b}return ji}var zs;function H4(){if(zs)return $r;zs=1;var e=$r&&$r.__importDefault||function(n){return n&&n.__esModule?n:{default:n}};Object.defineProperty($r,"__esModule",{value:!0}),$r.default=r;const t=e(P4());function r(n,a){let l=null;if(!n||typeof n!="string")return l;const u=(0,t.default)(n),c=typeof a=="function";return u.forEach(m=>{if(m.type!=="declaration")return;const{property:f,value:g}=m;c?a(f,g,m):g&&(l=l||{},l[f]=g)}),l}return $r}var ln={},Ts;function $4(){if(Ts)return ln;Ts=1,Object.defineProperty(ln,"__esModule",{value:!0}),ln.camelCase=void 0;var e=/^--[a-zA-Z0-9_-]+$/,t=/-([a-z])/g,r=/^[^-]+$/,n=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,l=function(f){return!f||r.test(f)||e.test(f)},u=function(f,g){return g.toUpperCase()},c=function(f,g){return"".concat(g,"-")},m=function(f,g){return g===void 0&&(g={}),l(f)?f:(f=f.toLowerCase(),g.reactCompat?f=f.replace(a,c):f=f.replace(n,c),f.replace(t,u))};return ln.camelCase=m,ln}var sn,Cs;function V4(){if(Cs)return sn;Cs=1;var e=sn&&sn.__importDefault||function(a){return a&&a.__esModule?a:{default:a}},t=e(H4()),r=$4();function n(a,l){var u={};return!a||typeof a!="string"||(0,t.default)(a,function(c,m){c&&m&&(u[(0,r.camelCase)(c,l)]=m)}),u}return n.default=n,sn=n,sn}var j4=V4();const G4=ls(j4),Es=Ds("end"),Gi=Ds("start");function Ds(e){return t;function t(r){const n=r&&r.position&&r.position[e]||{};if(typeof n.line=="number"&&n.line>0&&typeof n.column=="number"&&n.column>0)return{line:n.line,column:n.column,offset:typeof n.offset=="number"&&n.offset>-1?n.offset:void 0}}}function U4(e){const t=Gi(e),r=Es(e);if(t&&r)return{start:t,end:r}}function on(e){return!e||typeof e!="object"?"":"position"in e||"type"in e?Bs(e.position):"start"in e||"end"in e?Bs(e):"line"in e||"column"in e?Ui(e):""}function Ui(e){return Ns(e&&e.line)+":"+Ns(e&&e.column)}function Bs(e){return Ui(e&&e.start)+"-"+Ui(e&&e.end)}function Ns(e){return e&&typeof e=="number"?e:1}class $t extends Error{constructor(t,r,n){super(),typeof r=="string"&&(n=r,r=void 0);let a="",l={},u=!1;if(r&&("line"in r&&"column"in r?l={place:r}:"start"in r&&"end"in r?l={place:r}:"type"in r?l={ancestors:[r],place:r.position}:l={...r}),typeof t=="string"?a=t:!l.cause&&t&&(u=!0,a=t.message,l.cause=t),!l.ruleId&&!l.source&&typeof n=="string"){const m=n.indexOf(":");m===-1?l.ruleId=n:(l.source=n.slice(0,m),l.ruleId=n.slice(m+1))}if(!l.place&&l.ancestors&&l.ancestors){const m=l.ancestors[l.ancestors.length-1];m&&(l.place=m.position)}const c=l.place&&"start"in l.place?l.place.start:l.place;this.ancestors=l.ancestors||void 0,this.cause=l.cause||void 0,this.column=c?c.column:void 0,this.fatal=void 0,this.file="",this.message=a,this.line=c?c.line:void 0,this.name=on(l.place)||"1:1",this.place=l.place||void 0,this.reason=this.message,this.ruleId=l.ruleId||void 0,this.source=l.source||void 0,this.stack=u&&l.cause&&typeof l.cause.stack=="string"?l.cause.stack:"",this.actual=void 0,this.expected=void 0,this.note=void 0,this.url=void 0}}$t.prototype.file="",$t.prototype.name="",$t.prototype.reason="",$t.prototype.message="",$t.prototype.stack="",$t.prototype.column=void 0,$t.prototype.line=void 0,$t.prototype.ancestors=void 0,$t.prototype.cause=void 0,$t.prototype.fatal=void 0,$t.prototype.place=void 0,$t.prototype.ruleId=void 0,$t.prototype.source=void 0;const Wi={}.hasOwnProperty,W4=new Map,Y4=/[A-Z]/g,X4=new Set(["table","tbody","thead","tfoot","tr"]),Z4=new Set(["td","th"]),Is="https://github.com/syntax-tree/hast-util-to-jsx-runtime";function K4(e,t){if(!t||t.Fragment===void 0)throw new TypeError("Expected `Fragment` in options");const r=t.filePath||void 0;let n;if(t.development){if(typeof t.jsxDEV!="function")throw new TypeError("Expected `jsxDEV` in options when `development: true`");n=ah(r,t.jsxDEV)}else{if(typeof t.jsx!="function")throw new TypeError("Expected `jsx` in production options");if(typeof t.jsxs!="function")throw new TypeError("Expected `jsxs` in production options");n=ih(r,t.jsx,t.jsxs)}const a={Fragment:t.Fragment,ancestors:[],components:t.components||{},create:n,elementAttributeNameCase:t.elementAttributeNameCase||"react",evaluater:t.createEvaluater?t.createEvaluater():void 0,filePath:r,ignoreInvalidStyle:t.ignoreInvalidStyle||!1,passKeys:t.passKeys!==!1,passNode:t.passNode||!1,schema:t.space==="svg"?Fn:Ss,stylePropertyNameCase:t.stylePropertyNameCase||"dom",tableCellAlignToStyle:t.tableCellAlignToStyle!==!1},l=Rs(a,e,void 0);return l&&typeof l!="string"?l:a.create(e,a.Fragment,{children:l||void 0},void 0)}function Rs(e,t,r){if(t.type==="element")return J4(e,t,r);if(t.type==="mdxFlowExpression"||t.type==="mdxTextExpression")return Q4(e,t);if(t.type==="mdxJsxFlowElement"||t.type==="mdxJsxTextElement")return th(e,t,r);if(t.type==="mdxjsEsm")return eh(e,t);if(t.type==="root")return rh(e,t,r);if(t.type==="text")return nh(e,t)}function J4(e,t,r){const n=e.schema;let a=n;t.tagName.toLowerCase()==="svg"&&n.space==="html"&&(a=Fn,e.schema=a),e.ancestors.push(t);const l=qs(e,t.tagName,!1),u=lh(e,t);let c=Xi(e,t);return X4.has(t.tagName)&&(c=c.filter(function(m){return typeof m=="string"?!D4(m):!0})),_s(e,u,l,t),Yi(u,c),e.ancestors.pop(),e.schema=n,e.create(t,l,u,r)}function Q4(e,t){if(t.data&&t.data.estree&&e.evaluater){const n=t.data.estree.body[0];return n.type,e.evaluater.evaluateExpression(n.expression)}un(e,t.position)}function eh(e,t){if(t.data&&t.data.estree&&e.evaluater)return e.evaluater.evaluateProgram(t.data.estree);un(e,t.position)}function th(e,t,r){const n=e.schema;let a=n;t.name==="svg"&&n.space==="html"&&(a=Fn,e.schema=a),e.ancestors.push(t);const l=t.name===null?e.Fragment:qs(e,t.name,!0),u=sh(e,t),c=Xi(e,t);return _s(e,u,l,t),Yi(u,c),e.ancestors.pop(),e.schema=n,e.create(t,l,u,r)}function rh(e,t,r){const n={};return Yi(n,Xi(e,t)),e.create(t,e.Fragment,n,r)}function nh(e,t){return t.value}function _s(e,t,r,n){typeof r!="string"&&r!==e.Fragment&&e.passNode&&(t.node=n)}function Yi(e,t){if(t.length>0){const r=t.length>1?t:t[0];r&&(e.children=r)}}function ih(e,t,r){return n;function n(a,l,u,c){const f=Array.isArray(u.children)?r:t;return c?f(l,u,c):f(l,u)}}function ah(e,t){return r;function r(n,a,l,u){const c=Array.isArray(l.children),m=Gi(n);return t(a,l,u,c,{columnNumber:m?m.column-1:void 0,fileName:e,lineNumber:m?m.line:void 0},void 0)}}function lh(e,t){const r={};let n,a;for(a in t.properties)if(a!=="children"&&Wi.call(t.properties,a)){const l=oh(e,a,t.properties[a]);if(l){const[u,c]=l;e.tableCellAlignToStyle&&u==="align"&&typeof c=="string"&&Z4.has(t.tagName)?n=c:r[u]=c}}if(n){const l=r.style||(r.style={});l[e.stylePropertyNameCase==="css"?"text-align":"textAlign"]=n}return r}function sh(e,t){const r={};for(const n of t.attributes)if(n.type==="mdxJsxExpressionAttribute")if(n.data&&n.data.estree&&e.evaluater){const l=n.data.estree.body[0];l.type;const u=l.expression;u.type;const c=u.properties[0];c.type,Object.assign(r,e.evaluater.evaluateExpression(c.argument))}else un(e,t.position);else{const a=n.name;let l;if(n.value&&typeof n.value=="object")if(n.value.data&&n.value.data.estree&&e.evaluater){const c=n.value.data.estree.body[0];c.type,l=e.evaluater.evaluateExpression(c.expression)}else un(e,t.position);else l=n.value===null?!0:n.value;r[a]=l}return r}function Xi(e,t){const r=[];let n=-1;const a=e.passKeys?new Map:W4;for(;++n<t.children.length;){const l=t.children[n];let u;if(e.passKeys){const m=l.type==="element"?l.tagName:l.type==="mdxJsxFlowElement"||l.type==="mdxJsxTextElement"?l.name:void 0;if(m){const f=a.get(m)||0;u=m+"-"+f,a.set(m,f+1)}}const c=Rs(e,l,u);c!==void 0&&r.push(c)}return r}function oh(e,t,r){const n=ks(e.schema,t);if(!(r==null||typeof r=="number"&&Number.isNaN(r))){if(Array.isArray(r)&&(r=n.commaSeparated?A4(r):L4(r)),n.property==="style"){let a=typeof r=="object"?r:uh(e,String(r));return e.stylePropertyNameCase==="css"&&(a=ch(a)),["style",a]}return[e.elementAttributeNameCase==="react"&&n.space?R4[n.property]||n.property:n.attribute,r]}}function uh(e,t){try{return G4(t,{reactCompat:!0})}catch(r){if(e.ignoreInvalidStyle)return{};const n=r,a=new $t("Cannot parse `style` attribute",{ancestors:e.ancestors,cause:n,ruleId:"style",source:"hast-util-to-jsx-runtime"});throw a.file=e.filePath||void 0,a.url=Is+"#cannot-parse-style-attribute",a}}function qs(e,t,r){let n;if(!r)n={type:"Literal",value:t};else if(t.includes(".")){const a=t.split(".");let l=-1,u;for(;++l<a.length;){const c=hs(a[l])?{type:"Identifier",name:a[l]}:{type:"Literal",value:a[l]};u=u?{type:"MemberExpression",object:u,property:c,computed:!!(l&&c.type==="Literal"),optional:!1}:c}n=u}else n=hs(t)&&!/^[a-z]/.test(t)?{type:"Identifier",name:t}:{type:"Literal",value:t};if(n.type==="Literal"){const a=n.value;return Wi.call(e.components,a)?e.components[a]:a}if(e.evaluater)return e.evaluater.evaluateExpression(n);un(e)}function un(e,t){const r=new $t("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=Is+"#cannot-handle-mdx-estrees-without-createevaluater",r}function ch(e){const t={};let r;for(r in e)Wi.call(e,r)&&(t[hh(r)]=e[r]);return t}function hh(e){let t=e.replace(Y4,mh);return t.slice(0,3)==="ms-"&&(t="-"+t),t}function mh(e){return"-"+e.toLowerCase()}const Zi={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"]},dh={};function Ki(e,t){const r=dh,n=typeof r.includeImageAlt=="boolean"?r.includeImageAlt:!0,a=typeof r.includeHtml=="boolean"?r.includeHtml:!0;return Os(e,n,a)}function Os(e,t,r){if(ph(e)){if("value"in e)return e.type==="html"&&!r?"":e.value;if(t&&"alt"in e&&e.alt)return e.alt;if("children"in e)return Fs(e.children,t,r)}return Array.isArray(e)?Fs(e,t,r):""}function Fs(e,t,r){const n=[];let a=-1;for(;++a<e.length;)n[a]=Os(e[a],t,r);return n.join("")}function ph(e){return!!(e&&typeof e=="object")}const Ls=document.createElement("i");function Ji(e){const t="&"+e+";";Ls.innerHTML=t;const r=Ls.textContent;return r.charCodeAt(r.length-1)===59&&e!=="semi"||r===t?!1:r}function c0(e,t,r,n){const a=e.length;let l=0,u;if(t<0?t=-t>a?0:a+t:t=t>a?a:t,r=r>0?r:0,n.length<1e4)u=Array.from(n),u.unshift(t,r),e.splice(...u);else for(r&&e.splice(t,r);l<n.length;)u=n.slice(l,l+1e4),u.unshift(t,0),e.splice(...u),l+=1e4,t+=1e4}function x0(e,t){return e.length>0?(c0(e,e.length,0,t),e):t}const Ps={}.hasOwnProperty;function Hs(e){const t={};let r=-1;for(;++r<e.length;)fh(t,e[r]);return t}function fh(e,t){let r;for(r in t){const a=(Ps.call(e,r)?e[r]:void 0)||(e[r]={}),l=t[r];let u;if(l)for(u in l){Ps.call(a,u)||(a[u]=[]);const c=l[u];gh(a[u],Array.isArray(c)?c:c?[c]:[])}}}function gh(e,t){let r=-1;const n=[];for(;++r<t.length;)(t[r].add==="after"?e:n).push(t[r]);c0(e,0,0,n)}function $s(e,t){const r=Number.parseInt(e,t);return r<9||r===11||r>13&&r<32||r>126&&r<160||r>55295&&r<57344||r>64975&&r<65008||(r&65535)===65535||(r&65535)===65534||r>1114111?"�":String.fromCodePoint(r)}function z0(e){return e.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const Wt=cr(/[A-Za-z]/),Vt=cr(/[\dA-Za-z]/),yh=cr(/[#-'*+\--9=?A-Z^-~]/);function Ln(e){return e!==null&&(e<32||e===127)}const Qi=cr(/\d/),bh=cr(/[\dA-Fa-f]/),xh=cr(/[!-/:-@[-`{-~]/);function Ee(e){return e!==null&&e<-2}function it(e){return e!==null&&(e<0||e===32)}function je(e){return e===-2||e===-1||e===32}const Pn=cr(new RegExp("\\p{P}|\\p{S}","u")),zr=cr(/\s/);function cr(e){return t;function t(r){return r!==null&&r>-1&&e.test(String.fromCharCode(r))}}function Vr(e){const t=[];let r=-1,n=0,a=0;for(;++r<e.length;){const l=e.charCodeAt(r);let u="";if(l===37&&Vt(e.charCodeAt(r+1))&&Vt(e.charCodeAt(r+2)))a=2;else if(l<128)/[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(l))||(u=String.fromCharCode(l));else if(l>55295&&l<57344){const c=e.charCodeAt(r+1);l<56320&&c>56319&&c<57344?(u=String.fromCharCode(l,c),a=1):u="�"}else u=String.fromCharCode(l);u&&(t.push(e.slice(n,r),encodeURIComponent(u)),n=r+a+1,u=""),a&&(r+=a,a=0)}return t.join("")+e.slice(n)}function He(e,t,r,n){const a=n?n-1:Number.POSITIVE_INFINITY;let l=0;return u;function u(m){return je(m)?(e.enter(r),c(m)):t(m)}function c(m){return je(m)&&l++<a?(e.consume(m),c):(e.exit(r),t(m))}}const vh={tokenize:wh};function wh(e){const t=e.attempt(this.parser.constructs.contentInitial,n,a);let r;return t;function n(c){if(c===null){e.consume(c);return}return e.enter("lineEnding"),e.consume(c),e.exit("lineEnding"),He(e,t,"linePrefix")}function a(c){return e.enter("paragraph"),l(c)}function l(c){const m=e.enter("chunkText",{contentType:"text",previous:r});return r&&(r.next=m),r=m,u(c)}function u(c){if(c===null){e.exit("chunkText"),e.exit("paragraph"),e.consume(c);return}return Ee(c)?(e.consume(c),e.exit("chunkText"),l):(e.consume(c),u)}}const kh={tokenize:Sh},Vs={tokenize:Mh};function Sh(e){const t=this,r=[];let n=0,a,l,u;return c;function c(K){if(n<r.length){const re=r[n];return t.containerState=re[1],e.attempt(re[0].continuation,m,f)(K)}return f(K)}function m(K){if(n++,t.containerState._closeFlow){t.containerState._closeFlow=void 0,a&&P();const re=t.events.length;let le=re,W;for(;le--;)if(t.events[le][0]==="exit"&&t.events[le][1].type==="chunkFlow"){W=t.events[le][1].end;break}q(n);let se=re;for(;se<t.events.length;)t.events[se][1].end={...W},se++;return c0(t.events,le+1,0,t.events.slice(re)),t.events.length=se,f(K)}return c(K)}function f(K){if(n===r.length){if(!a)return d(K);if(a.currentConstruct&&a.currentConstruct.concrete)return A(K);t.interrupt=!!(a.currentConstruct&&!a._gfmTableDynamicInterruptHack)}return t.containerState={},e.check(Vs,g,b)(K)}function g(K){return a&&P(),q(n),d(K)}function b(K){return t.parser.lazy[t.now().line]=n!==r.length,u=t.now().offset,A(K)}function d(K){return t.containerState={},e.attempt(Vs,p,A)(K)}function p(K){return n++,r.push([t.currentConstruct,t.containerState]),d(K)}function A(K){if(K===null){a&&P(),q(0),e.consume(K);return}return a=a||t.parser.flow(t.now()),e.enter("chunkFlow",{_tokenizer:a,contentType:"flow",previous:l}),N(K)}function N(K){if(K===null){O(e.exit("chunkFlow"),!0),q(0),e.consume(K);return}return Ee(K)?(e.consume(K),O(e.exit("chunkFlow")),n=0,t.interrupt=void 0,c):(e.consume(K),N)}function O(K,re){const le=t.sliceStream(K);if(re&&le.push(null),K.previous=l,l&&(l.next=K),l=K,a.defineSkip(K.start),a.write(le),t.parser.lazy[K.start.line]){let W=a.events.length;for(;W--;)if(a.events[W][1].start.offset<u&&(!a.events[W][1].end||a.events[W][1].end.offset>u))return;const se=t.events.length;let ve=se,pe,Y;for(;ve--;)if(t.events[ve][0]==="exit"&&t.events[ve][1].type==="chunkFlow"){if(pe){Y=t.events[ve][1].end;break}pe=!0}for(q(n),W=se;W<t.events.length;)t.events[W][1].end={...Y},W++;c0(t.events,ve+1,0,t.events.slice(se)),t.events.length=W}}function q(K){let re=r.length;for(;re-- >K;){const le=r[re];t.containerState=le[1],le[0].exit.call(t,e)}r.length=K}function P(){a.write([null]),l=void 0,a=void 0,t.containerState._closeFlow=void 0}}function Mh(e,t,r){return He(e,e.attempt(this.parser.constructs.document,t,r),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}function jr(e){if(e===null||it(e)||zr(e))return 1;if(Pn(e))return 2}function Hn(e,t,r){const n=[];let a=-1;for(;++a<e.length;){const l=e[a].resolveAll;l&&!n.includes(l)&&(t=l(t,r),n.push(l))}return t}const ea={name:"attention",resolveAll:Ah,tokenize:zh};function Ah(e,t){let r=-1,n,a,l,u,c,m,f,g;for(;++r<e.length;)if(e[r][0]==="enter"&&e[r][1].type==="attentionSequence"&&e[r][1]._close){for(n=r;n--;)if(e[n][0]==="exit"&&e[n][1].type==="attentionSequence"&&e[n][1]._open&&t.sliceSerialize(e[n][1]).charCodeAt(0)===t.sliceSerialize(e[r][1]).charCodeAt(0)){if((e[n][1]._close||e[r][1]._open)&&(e[r][1].end.offset-e[r][1].start.offset)%3&&!((e[n][1].end.offset-e[n][1].start.offset+e[r][1].end.offset-e[r][1].start.offset)%3))continue;m=e[n][1].end.offset-e[n][1].start.offset>1&&e[r][1].end.offset-e[r][1].start.offset>1?2:1;const b={...e[n][1].end},d={...e[r][1].start};js(b,-m),js(d,m),u={type:m>1?"strongSequence":"emphasisSequence",start:b,end:{...e[n][1].end}},c={type:m>1?"strongSequence":"emphasisSequence",start:{...e[r][1].start},end:d},l={type:m>1?"strongText":"emphasisText",start:{...e[n][1].end},end:{...e[r][1].start}},a={type:m>1?"strong":"emphasis",start:{...u.start},end:{...c.end}},e[n][1].end={...u.start},e[r][1].start={...c.end},f=[],e[n][1].end.offset-e[n][1].start.offset&&(f=x0(f,[["enter",e[n][1],t],["exit",e[n][1],t]])),f=x0(f,[["enter",a,t],["enter",u,t],["exit",u,t],["enter",l,t]]),f=x0(f,Hn(t.parser.constructs.insideSpan.null,e.slice(n+1,r),t)),f=x0(f,[["exit",l,t],["enter",c,t],["exit",c,t],["exit",a,t]]),e[r][1].end.offset-e[r][1].start.offset?(g=2,f=x0(f,[["enter",e[r][1],t],["exit",e[r][1],t]])):g=0,c0(e,n-1,r-n+3,f),r=n+f.length-g-2;break}}for(r=-1;++r<e.length;)e[r][1].type==="attentionSequence"&&(e[r][1].type="data");return e}function zh(e,t){const r=this.parser.constructs.attentionMarkers.null,n=this.previous,a=jr(n);let l;return u;function u(m){return l=m,e.enter("attentionSequence"),c(m)}function c(m){if(m===l)return e.consume(m),c;const f=e.exit("attentionSequence"),g=jr(m),b=!g||g===2&&a||r.includes(m),d=!a||a===2&&g||r.includes(n);return f._open=!!(l===42?b:b&&(a||!d)),f._close=!!(l===42?d:d&&(g||!b)),t(m)}}function js(e,t){e.column+=t,e.offset+=t,e._bufferIndex+=t}const Th={name:"autolink",tokenize:Ch};function Ch(e,t,r){let n=0;return a;function a(p){return e.enter("autolink"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.enter("autolinkProtocol"),l}function l(p){return Wt(p)?(e.consume(p),u):p===64?r(p):f(p)}function u(p){return p===43||p===45||p===46||Vt(p)?(n=1,c(p)):f(p)}function c(p){return p===58?(e.consume(p),n=0,m):(p===43||p===45||p===46||Vt(p))&&n++<32?(e.consume(p),c):(n=0,f(p))}function m(p){return p===62?(e.exit("autolinkProtocol"),e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):p===null||p===32||p===60||Ln(p)?r(p):(e.consume(p),m)}function f(p){return p===64?(e.consume(p),g):yh(p)?(e.consume(p),f):r(p)}function g(p){return Vt(p)?b(p):r(p)}function b(p){return p===46?(e.consume(p),n=0,g):p===62?(e.exit("autolinkProtocol").type="autolinkEmail",e.enter("autolinkMarker"),e.consume(p),e.exit("autolinkMarker"),e.exit("autolink"),t):d(p)}function d(p){if((p===45||Vt(p))&&n++<63){const A=p===45?d:b;return e.consume(p),A}return r(p)}}const cn={partial:!0,tokenize:Eh};function Eh(e,t,r){return n;function n(l){return je(l)?He(e,a,"linePrefix")(l):a(l)}function a(l){return l===null||Ee(l)?t(l):r(l)}}const Gs={continuation:{tokenize:Bh},exit:Nh,name:"blockQuote",tokenize:Dh};function Dh(e,t,r){const n=this;return a;function a(u){if(u===62){const c=n.containerState;return c.open||(e.enter("blockQuote",{_container:!0}),c.open=!0),e.enter("blockQuotePrefix"),e.enter("blockQuoteMarker"),e.consume(u),e.exit("blockQuoteMarker"),l}return r(u)}function l(u){return je(u)?(e.enter("blockQuotePrefixWhitespace"),e.consume(u),e.exit("blockQuotePrefixWhitespace"),e.exit("blockQuotePrefix"),t):(e.exit("blockQuotePrefix"),t(u))}}function Bh(e,t,r){const n=this;return a;function a(u){return je(u)?He(e,l,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(u):l(u)}function l(u){return e.attempt(Gs,t,r)(u)}}function Nh(e){e.exit("blockQuote")}const Us={name:"characterEscape",tokenize:Ih};function Ih(e,t,r){return n;function n(l){return e.enter("characterEscape"),e.enter("escapeMarker"),e.consume(l),e.exit("escapeMarker"),a}function a(l){return xh(l)?(e.enter("characterEscapeValue"),e.consume(l),e.exit("characterEscapeValue"),e.exit("characterEscape"),t):r(l)}}const Ws={name:"characterReference",tokenize:Rh};function Rh(e,t,r){const n=this;let a=0,l,u;return c;function c(b){return e.enter("characterReference"),e.enter("characterReferenceMarker"),e.consume(b),e.exit("characterReferenceMarker"),m}function m(b){return b===35?(e.enter("characterReferenceMarkerNumeric"),e.consume(b),e.exit("characterReferenceMarkerNumeric"),f):(e.enter("characterReferenceValue"),l=31,u=Vt,g(b))}function f(b){return b===88||b===120?(e.enter("characterReferenceMarkerHexadecimal"),e.consume(b),e.exit("characterReferenceMarkerHexadecimal"),e.enter("characterReferenceValue"),l=6,u=bh,g):(e.enter("characterReferenceValue"),l=7,u=Qi,g(b))}function g(b){if(b===59&&a){const d=e.exit("characterReferenceValue");return u===Vt&&!Ji(n.sliceSerialize(d))?r(b):(e.enter("characterReferenceMarker"),e.consume(b),e.exit("characterReferenceMarker"),e.exit("characterReference"),t)}return u(b)&&a++<l?(e.consume(b),g):r(b)}}const Ys={partial:!0,tokenize:qh},Xs={concrete:!0,name:"codeFenced",tokenize:_h};function _h(e,t,r){const n=this,a={partial:!0,tokenize:le};let l=0,u=0,c;return m;function m(W){return f(W)}function f(W){const se=n.events[n.events.length-1];return l=se&&se[1].type==="linePrefix"?se[2].sliceSerialize(se[1],!0).length:0,c=W,e.enter("codeFenced"),e.enter("codeFencedFence"),e.enter("codeFencedFenceSequence"),g(W)}function g(W){return W===c?(u++,e.consume(W),g):u<3?r(W):(e.exit("codeFencedFenceSequence"),je(W)?He(e,b,"whitespace")(W):b(W))}function b(W){return W===null||Ee(W)?(e.exit("codeFencedFence"),n.interrupt?t(W):e.check(Ys,N,re)(W)):(e.enter("codeFencedFenceInfo"),e.enter("chunkString",{contentType:"string"}),d(W))}function d(W){return W===null||Ee(W)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),b(W)):je(W)?(e.exit("chunkString"),e.exit("codeFencedFenceInfo"),He(e,p,"whitespace")(W)):W===96&&W===c?r(W):(e.consume(W),d)}function p(W){return W===null||Ee(W)?b(W):(e.enter("codeFencedFenceMeta"),e.enter("chunkString",{contentType:"string"}),A(W))}function A(W){return W===null||Ee(W)?(e.exit("chunkString"),e.exit("codeFencedFenceMeta"),b(W)):W===96&&W===c?r(W):(e.consume(W),A)}function N(W){return e.attempt(a,re,O)(W)}function O(W){return e.enter("lineEnding"),e.consume(W),e.exit("lineEnding"),q}function q(W){return l>0&&je(W)?He(e,P,"linePrefix",l+1)(W):P(W)}function P(W){return W===null||Ee(W)?e.check(Ys,N,re)(W):(e.enter("codeFlowValue"),K(W))}function K(W){return W===null||Ee(W)?(e.exit("codeFlowValue"),P(W)):(e.consume(W),K)}function re(W){return e.exit("codeFenced"),t(W)}function le(W,se,ve){let pe=0;return Y;function Y(Me){return W.enter("lineEnding"),W.consume(Me),W.exit("lineEnding"),be}function be(Me){return W.enter("codeFencedFence"),je(Me)?He(W,oe,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Me):oe(Me)}function oe(Me){return Me===c?(W.enter("codeFencedFenceSequence"),ye(Me)):ve(Me)}function ye(Me){return Me===c?(pe++,W.consume(Me),ye):pe>=u?(W.exit("codeFencedFenceSequence"),je(Me)?He(W,ue,"whitespace")(Me):ue(Me)):ve(Me)}function ue(Me){return Me===null||Ee(Me)?(W.exit("codeFencedFence"),se(Me)):ve(Me)}}}function qh(e,t,r){const n=this;return a;function a(u){return u===null?r(u):(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),l)}function l(u){return n.parser.lazy[n.now().line]?r(u):t(u)}}const ta={name:"codeIndented",tokenize:Fh},Oh={partial:!0,tokenize:Lh};function Fh(e,t,r){const n=this;return a;function a(f){return e.enter("codeIndented"),He(e,l,"linePrefix",5)(f)}function l(f){const g=n.events[n.events.length-1];return g&&g[1].type==="linePrefix"&&g[2].sliceSerialize(g[1],!0).length>=4?u(f):r(f)}function u(f){return f===null?m(f):Ee(f)?e.attempt(Oh,u,m)(f):(e.enter("codeFlowValue"),c(f))}function c(f){return f===null||Ee(f)?(e.exit("codeFlowValue"),u(f)):(e.consume(f),c)}function m(f){return e.exit("codeIndented"),t(f)}}function Lh(e,t,r){const n=this;return a;function a(u){return n.parser.lazy[n.now().line]?r(u):Ee(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),a):He(e,l,"linePrefix",5)(u)}function l(u){const c=n.events[n.events.length-1];return c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?t(u):Ee(u)?a(u):r(u)}}const Ph={name:"codeText",previous:$h,resolve:Hh,tokenize:Vh};function Hh(e){let t=e.length-4,r=3,n,a;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="codeTextData"){e[r][1].type="codeTextPadding",e[t][1].type="codeTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)a===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(a=n):(n===t||e[n][1].type==="lineEnding")&&(e[a][1].type="codeTextData",n!==a+2&&(e[a][1].end=e[n-1][1].end,e.splice(a+2,n-a-2),t-=n-a-2,n=a+2),a=void 0);return e}function $h(e){return e!==96||this.events[this.events.length-1][1].type==="characterEscape"}function Vh(e,t,r){let n=0,a,l;return u;function u(b){return e.enter("codeText"),e.enter("codeTextSequence"),c(b)}function c(b){return b===96?(e.consume(b),n++,c):(e.exit("codeTextSequence"),m(b))}function m(b){return b===null?r(b):b===32?(e.enter("space"),e.consume(b),e.exit("space"),m):b===96?(l=e.enter("codeTextSequence"),a=0,g(b)):Ee(b)?(e.enter("lineEnding"),e.consume(b),e.exit("lineEnding"),m):(e.enter("codeTextData"),f(b))}function f(b){return b===null||b===32||b===96||Ee(b)?(e.exit("codeTextData"),m(b)):(e.consume(b),f)}function g(b){return b===96?(e.consume(b),a++,g):a===n?(e.exit("codeTextSequence"),e.exit("codeText"),t(b)):(l.type="codeTextData",f(b))}}class jh{constructor(t){this.left=t?[...t]:[],this.right=[]}get(t){if(t<0||t>=this.left.length+this.right.length)throw new RangeError("Cannot access index `"+t+"` in a splice buffer of size `"+(this.left.length+this.right.length)+"`");return t<this.left.length?this.left[t]:this.right[this.right.length-t+this.left.length-1]}get length(){return this.left.length+this.right.length}shift(){return this.setCursor(0),this.right.pop()}slice(t,r){const n=r??Number.POSITIVE_INFINITY;return n<this.left.length?this.left.slice(t,n):t>this.left.length?this.right.slice(this.right.length-n+this.left.length,this.right.length-t+this.left.length).reverse():this.left.slice(t).concat(this.right.slice(this.right.length-n+this.left.length).reverse())}splice(t,r,n){const a=r||0;this.setCursor(Math.trunc(t));const l=this.right.splice(this.right.length-a,Number.POSITIVE_INFINITY);return n&&hn(this.left,n),l.reverse()}pop(){return this.setCursor(Number.POSITIVE_INFINITY),this.left.pop()}push(t){this.setCursor(Number.POSITIVE_INFINITY),this.left.push(t)}pushMany(t){this.setCursor(Number.POSITIVE_INFINITY),hn(this.left,t)}unshift(t){this.setCursor(0),this.right.push(t)}unshiftMany(t){this.setCursor(0),hn(this.right,t.reverse())}setCursor(t){if(!(t===this.left.length||t>this.left.length&&this.right.length===0||t<0&&this.left.length===0))if(t<this.left.length){const r=this.left.splice(t,Number.POSITIVE_INFINITY);hn(this.right,r.reverse())}else{const r=this.right.splice(this.left.length+this.right.length-t,Number.POSITIVE_INFINITY);hn(this.left,r.reverse())}}}function hn(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 Zs(e){const t={};let r=-1,n,a,l,u,c,m,f;const g=new jh(e);for(;++r<g.length;){for(;r in t;)r=t[r];if(n=g.get(r),r&&n[1].type==="chunkFlow"&&g.get(r-1)[1].type==="listItemPrefix"&&(m=n[1]._tokenizer.events,l=0,l<m.length&&m[l][1].type==="lineEndingBlank"&&(l+=2),l<m.length&&m[l][1].type==="content"))for(;++l<m.length&&m[l][1].type!=="content";)m[l][1].type==="chunkText"&&(m[l][1]._isInFirstContentOfListItem=!0,l++);if(n[0]==="enter")n[1].contentType&&(Object.assign(t,Gh(g,r)),r=t[r],f=!0);else if(n[1]._container){for(l=r,a=void 0;l--;)if(u=g.get(l),u[1].type==="lineEnding"||u[1].type==="lineEndingBlank")u[0]==="enter"&&(a&&(g.get(a)[1].type="lineEndingBlank"),u[1].type="lineEnding",a=l);else if(!(u[1].type==="linePrefix"||u[1].type==="listItemIndent"))break;a&&(n[1].end={...g.get(a)[1].start},c=g.slice(a,r),c.unshift(n),g.splice(a,r-a+1,c))}}return c0(e,0,Number.POSITIVE_INFINITY,g.slice(0)),!f}function Gh(e,t){const r=e.get(t)[1],n=e.get(t)[2];let a=t-1;const l=[];let u=r._tokenizer;u||(u=n.parser[r.contentType](r.start),r._contentTypeTextTrailing&&(u._contentTypeTextTrailing=!0));const c=u.events,m=[],f={};let g,b,d=-1,p=r,A=0,N=0;const O=[N];for(;p;){for(;e.get(++a)[1]!==p;);l.push(a),p._tokenizer||(g=n.sliceStream(p),p.next||g.push(null),b&&u.defineSkip(p.start),p._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=!0),u.write(g),p._isInFirstContentOfListItem&&(u._gfmTasklistFirstContentOfListItem=void 0)),b=p,p=p.next}for(p=r;++d<c.length;)c[d][0]==="exit"&&c[d-1][0]==="enter"&&c[d][1].type===c[d-1][1].type&&c[d][1].start.line!==c[d][1].end.line&&(N=d+1,O.push(N),p._tokenizer=void 0,p.previous=void 0,p=p.next);for(u.events=[],p?(p._tokenizer=void 0,p.previous=void 0):O.pop(),d=O.length;d--;){const q=c.slice(O[d],O[d+1]),P=l.pop();m.push([P,P+q.length-1]),e.splice(P,2,q)}for(m.reverse(),d=-1;++d<m.length;)f[A+m[d][0]]=A+m[d][1],A+=m[d][1]-m[d][0]-1;return f}const Uh={resolve:Yh,tokenize:Xh},Wh={partial:!0,tokenize:Zh};function Yh(e){return Zs(e),e}function Xh(e,t){let r;return n;function n(c){return e.enter("content"),r=e.enter("chunkContent",{contentType:"content"}),a(c)}function a(c){return c===null?l(c):Ee(c)?e.check(Wh,u,l)(c):(e.consume(c),a)}function l(c){return e.exit("chunkContent"),e.exit("content"),t(c)}function u(c){return e.consume(c),e.exit("chunkContent"),r.next=e.enter("chunkContent",{contentType:"content",previous:r}),r=r.next,a}}function Zh(e,t,r){const n=this;return a;function a(u){return e.exit("chunkContent"),e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),He(e,l,"linePrefix")}function l(u){if(u===null||Ee(u))return r(u);const c=n.events[n.events.length-1];return!n.parser.constructs.disable.null.includes("codeIndented")&&c&&c[1].type==="linePrefix"&&c[2].sliceSerialize(c[1],!0).length>=4?t(u):e.interrupt(n.parser.constructs.flow,r,t)(u)}}function Ks(e,t,r,n,a,l,u,c,m){const f=m||Number.POSITIVE_INFINITY;let g=0;return b;function b(q){return q===60?(e.enter(n),e.enter(a),e.enter(l),e.consume(q),e.exit(l),d):q===null||q===32||q===41||Ln(q)?r(q):(e.enter(n),e.enter(u),e.enter(c),e.enter("chunkString",{contentType:"string"}),N(q))}function d(q){return q===62?(e.enter(l),e.consume(q),e.exit(l),e.exit(a),e.exit(n),t):(e.enter(c),e.enter("chunkString",{contentType:"string"}),p(q))}function p(q){return q===62?(e.exit("chunkString"),e.exit(c),d(q)):q===null||q===60||Ee(q)?r(q):(e.consume(q),q===92?A:p)}function A(q){return q===60||q===62||q===92?(e.consume(q),p):p(q)}function N(q){return!g&&(q===null||q===41||it(q))?(e.exit("chunkString"),e.exit(c),e.exit(u),e.exit(n),t(q)):g<f&&q===40?(e.consume(q),g++,N):q===41?(e.consume(q),g--,N):q===null||q===32||q===40||Ln(q)?r(q):(e.consume(q),q===92?O:N)}function O(q){return q===40||q===41||q===92?(e.consume(q),N):N(q)}}function Js(e,t,r,n,a,l){const u=this;let c=0,m;return f;function f(p){return e.enter(n),e.enter(a),e.consume(p),e.exit(a),e.enter(l),g}function g(p){return c>999||p===null||p===91||p===93&&!m||p===94&&!c&&"_hiddenFootnoteSupport"in u.parser.constructs?r(p):p===93?(e.exit(l),e.enter(a),e.consume(p),e.exit(a),e.exit(n),t):Ee(p)?(e.enter("lineEnding"),e.consume(p),e.exit("lineEnding"),g):(e.enter("chunkString",{contentType:"string"}),b(p))}function b(p){return p===null||p===91||p===93||Ee(p)||c++>999?(e.exit("chunkString"),g(p)):(e.consume(p),m||(m=!je(p)),p===92?d:b)}function d(p){return p===91||p===92||p===93?(e.consume(p),c++,b):b(p)}}function Qs(e,t,r,n,a,l){let u;return c;function c(d){return d===34||d===39||d===40?(e.enter(n),e.enter(a),e.consume(d),e.exit(a),u=d===40?41:d,m):r(d)}function m(d){return d===u?(e.enter(a),e.consume(d),e.exit(a),e.exit(n),t):(e.enter(l),f(d))}function f(d){return d===u?(e.exit(l),m(u)):d===null?r(d):Ee(d)?(e.enter("lineEnding"),e.consume(d),e.exit("lineEnding"),He(e,f,"linePrefix")):(e.enter("chunkString",{contentType:"string"}),g(d))}function g(d){return d===u||d===null||Ee(d)?(e.exit("chunkString"),f(d)):(e.consume(d),d===92?b:g)}function b(d){return d===u||d===92?(e.consume(d),g):g(d)}}function mn(e,t){let r;return n;function n(a){return Ee(a)?(e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),r=!0,n):je(a)?He(e,n,r?"linePrefix":"lineSuffix")(a):t(a)}}const Kh={name:"definition",tokenize:Qh},Jh={partial:!0,tokenize:e2};function Qh(e,t,r){const n=this;let a;return l;function l(p){return e.enter("definition"),u(p)}function u(p){return Js.call(n,e,c,r,"definitionLabel","definitionLabelMarker","definitionLabelString")(p)}function c(p){return a=z0(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)),p===58?(e.enter("definitionMarker"),e.consume(p),e.exit("definitionMarker"),m):r(p)}function m(p){return it(p)?mn(e,f)(p):f(p)}function f(p){return Ks(e,g,r,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(p)}function g(p){return e.attempt(Jh,b,b)(p)}function b(p){return je(p)?He(e,d,"whitespace")(p):d(p)}function d(p){return p===null||Ee(p)?(e.exit("definition"),n.parser.defined.push(a),t(p)):r(p)}}function e2(e,t,r){return n;function n(c){return it(c)?mn(e,a)(c):r(c)}function a(c){return Qs(e,l,r,"definitionTitle","definitionTitleMarker","definitionTitleString")(c)}function l(c){return je(c)?He(e,u,"whitespace")(c):u(c)}function u(c){return c===null||Ee(c)?t(c):r(c)}}const t2={name:"hardBreakEscape",tokenize:r2};function r2(e,t,r){return n;function n(l){return e.enter("hardBreakEscape"),e.consume(l),a}function a(l){return Ee(l)?(e.exit("hardBreakEscape"),t(l)):r(l)}}const n2={name:"headingAtx",resolve:i2,tokenize:a2};function i2(e,t){let r=e.length-2,n=3,a,l;return e[n][1].type==="whitespace"&&(n+=2),r-2>n&&e[r][1].type==="whitespace"&&(r-=2),e[r][1].type==="atxHeadingSequence"&&(n===r-1||r-4>n&&e[r-2][1].type==="whitespace")&&(r-=n+1===r?2:4),r>n&&(a={type:"atxHeadingText",start:e[n][1].start,end:e[r][1].end},l={type:"chunkText",start:e[n][1].start,end:e[r][1].end,contentType:"text"},c0(e,n,r-n+1,[["enter",a,t],["enter",l,t],["exit",l,t],["exit",a,t]])),e}function a2(e,t,r){let n=0;return a;function a(g){return e.enter("atxHeading"),l(g)}function l(g){return e.enter("atxHeadingSequence"),u(g)}function u(g){return g===35&&n++<6?(e.consume(g),u):g===null||it(g)?(e.exit("atxHeadingSequence"),c(g)):r(g)}function c(g){return g===35?(e.enter("atxHeadingSequence"),m(g)):g===null||Ee(g)?(e.exit("atxHeading"),t(g)):je(g)?He(e,c,"whitespace")(g):(e.enter("atxHeadingText"),f(g))}function m(g){return g===35?(e.consume(g),m):(e.exit("atxHeadingSequence"),c(g))}function f(g){return g===null||g===35||it(g)?(e.exit("atxHeadingText"),c(g)):(e.consume(g),f)}}const l2=["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"],eo=["pre","script","style","textarea"],s2={concrete:!0,name:"htmlFlow",resolveTo:c2,tokenize:h2},o2={partial:!0,tokenize:d2},u2={partial:!0,tokenize:m2};function c2(e){let t=e.length;for(;t--&&!(e[t][0]==="enter"&&e[t][1].type==="htmlFlow"););return t>1&&e[t-2][1].type==="linePrefix"&&(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}function h2(e,t,r){const n=this;let a,l,u,c,m;return f;function f($){return g($)}function g($){return e.enter("htmlFlow"),e.enter("htmlFlowData"),e.consume($),b}function b($){return $===33?(e.consume($),d):$===47?(e.consume($),l=!0,N):$===63?(e.consume($),a=3,n.interrupt?t:R):Wt($)?(e.consume($),u=String.fromCharCode($),O):r($)}function d($){return $===45?(e.consume($),a=2,p):$===91?(e.consume($),a=5,c=0,A):Wt($)?(e.consume($),a=4,n.interrupt?t:R):r($)}function p($){return $===45?(e.consume($),n.interrupt?t:R):r($)}function A($){const Dt="CDATA[";return $===Dt.charCodeAt(c++)?(e.consume($),c===Dt.length?n.interrupt?t:oe:A):r($)}function N($){return Wt($)?(e.consume($),u=String.fromCharCode($),O):r($)}function O($){if($===null||$===47||$===62||it($)){const Dt=$===47,vt=u.toLowerCase();return!Dt&&!l&&eo.includes(vt)?(a=1,n.interrupt?t($):oe($)):l2.includes(u.toLowerCase())?(a=6,Dt?(e.consume($),q):n.interrupt?t($):oe($)):(a=7,n.interrupt&&!n.parser.lazy[n.now().line]?r($):l?P($):K($))}return $===45||Vt($)?(e.consume($),u+=String.fromCharCode($),O):r($)}function q($){return $===62?(e.consume($),n.interrupt?t:oe):r($)}function P($){return je($)?(e.consume($),P):Y($)}function K($){return $===47?(e.consume($),Y):$===58||$===95||Wt($)?(e.consume($),re):je($)?(e.consume($),K):Y($)}function re($){return $===45||$===46||$===58||$===95||Vt($)?(e.consume($),re):le($)}function le($){return $===61?(e.consume($),W):je($)?(e.consume($),le):K($)}function W($){return $===null||$===60||$===61||$===62||$===96?r($):$===34||$===39?(e.consume($),m=$,se):je($)?(e.consume($),W):ve($)}function se($){return $===m?(e.consume($),m=null,pe):$===null||Ee($)?r($):(e.consume($),se)}function ve($){return $===null||$===34||$===39||$===47||$===60||$===61||$===62||$===96||it($)?le($):(e.consume($),ve)}function pe($){return $===47||$===62||je($)?K($):r($)}function Y($){return $===62?(e.consume($),be):r($)}function be($){return $===null||Ee($)?oe($):je($)?(e.consume($),be):r($)}function oe($){return $===45&&a===2?(e.consume($),$e):$===60&&a===1?(e.consume($),Qe):$===62&&a===4?(e.consume($),lt):$===63&&a===3?(e.consume($),R):$===93&&a===5?(e.consume($),qt):Ee($)&&(a===6||a===7)?(e.exit("htmlFlowData"),e.check(o2,st,ye)($)):$===null||Ee($)?(e.exit("htmlFlowData"),ye($)):(e.consume($),oe)}function ye($){return e.check(u2,ue,st)($)}function ue($){return e.enter("lineEnding"),e.consume($),e.exit("lineEnding"),Me}function Me($){return $===null||Ee($)?ye($):(e.enter("htmlFlowData"),oe($))}function $e($){return $===45?(e.consume($),R):oe($)}function Qe($){return $===47?(e.consume($),u="",ht):oe($)}function ht($){if($===62){const Dt=u.toLowerCase();return eo.includes(Dt)?(e.consume($),lt):oe($)}return Wt($)&&u.length<8?(e.consume($),u+=String.fromCharCode($),ht):oe($)}function qt($){return $===93?(e.consume($),R):oe($)}function R($){return $===62?(e.consume($),lt):$===45&&a===2?(e.consume($),R):oe($)}function lt($){return $===null||Ee($)?(e.exit("htmlFlowData"),st($)):(e.consume($),lt)}function st($){return e.exit("htmlFlow"),t($)}}function m2(e,t,r){const n=this;return a;function a(u){return Ee(u)?(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),l):r(u)}function l(u){return n.parser.lazy[n.now().line]?r(u):t(u)}}function d2(e,t,r){return n;function n(a){return e.enter("lineEnding"),e.consume(a),e.exit("lineEnding"),e.attempt(cn,t,r)}}const p2={name:"htmlText",tokenize:f2};function f2(e,t,r){const n=this;let a,l,u;return c;function c(R){return e.enter("htmlText"),e.enter("htmlTextData"),e.consume(R),m}function m(R){return R===33?(e.consume(R),f):R===47?(e.consume(R),le):R===63?(e.consume(R),K):Wt(R)?(e.consume(R),ve):r(R)}function f(R){return R===45?(e.consume(R),g):R===91?(e.consume(R),l=0,A):Wt(R)?(e.consume(R),P):r(R)}function g(R){return R===45?(e.consume(R),p):r(R)}function b(R){return R===null?r(R):R===45?(e.consume(R),d):Ee(R)?(u=b,Qe(R)):(e.consume(R),b)}function d(R){return R===45?(e.consume(R),p):b(R)}function p(R){return R===62?$e(R):R===45?d(R):b(R)}function A(R){const lt="CDATA[";return R===lt.charCodeAt(l++)?(e.consume(R),l===lt.length?N:A):r(R)}function N(R){return R===null?r(R):R===93?(e.consume(R),O):Ee(R)?(u=N,Qe(R)):(e.consume(R),N)}function O(R){return R===93?(e.consume(R),q):N(R)}function q(R){return R===62?$e(R):R===93?(e.consume(R),q):N(R)}function P(R){return R===null||R===62?$e(R):Ee(R)?(u=P,Qe(R)):(e.consume(R),P)}function K(R){return R===null?r(R):R===63?(e.consume(R),re):Ee(R)?(u=K,Qe(R)):(e.consume(R),K)}function re(R){return R===62?$e(R):K(R)}function le(R){return Wt(R)?(e.consume(R),W):r(R)}function W(R){return R===45||Vt(R)?(e.consume(R),W):se(R)}function se(R){return Ee(R)?(u=se,Qe(R)):je(R)?(e.consume(R),se):$e(R)}function ve(R){return R===45||Vt(R)?(e.consume(R),ve):R===47||R===62||it(R)?pe(R):r(R)}function pe(R){return R===47?(e.consume(R),$e):R===58||R===95||Wt(R)?(e.consume(R),Y):Ee(R)?(u=pe,Qe(R)):je(R)?(e.consume(R),pe):$e(R)}function Y(R){return R===45||R===46||R===58||R===95||Vt(R)?(e.consume(R),Y):be(R)}function be(R){return R===61?(e.consume(R),oe):Ee(R)?(u=be,Qe(R)):je(R)?(e.consume(R),be):pe(R)}function oe(R){return R===null||R===60||R===61||R===62||R===96?r(R):R===34||R===39?(e.consume(R),a=R,ye):Ee(R)?(u=oe,Qe(R)):je(R)?(e.consume(R),oe):(e.consume(R),ue)}function ye(R){return R===a?(e.consume(R),a=void 0,Me):R===null?r(R):Ee(R)?(u=ye,Qe(R)):(e.consume(R),ye)}function ue(R){return R===null||R===34||R===39||R===60||R===61||R===96?r(R):R===47||R===62||it(R)?pe(R):(e.consume(R),ue)}function Me(R){return R===47||R===62||it(R)?pe(R):r(R)}function $e(R){return R===62?(e.consume(R),e.exit("htmlTextData"),e.exit("htmlText"),t):r(R)}function Qe(R){return e.exit("htmlTextData"),e.enter("lineEnding"),e.consume(R),e.exit("lineEnding"),ht}function ht(R){return je(R)?He(e,qt,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(R):qt(R)}function qt(R){return e.enter("htmlTextData"),u(R)}}const ra={name:"labelEnd",resolveAll:x2,resolveTo:v2,tokenize:w2},g2={tokenize:k2},y2={tokenize:S2},b2={tokenize:M2};function x2(e){let t=-1;const r=[];for(;++t<e.length;){const n=e[t][1];if(r.push(e[t]),n.type==="labelImage"||n.type==="labelLink"||n.type==="labelEnd"){const a=n.type==="labelImage"?4:2;n.type="data",t+=a}}return e.length!==r.length&&c0(e,0,e.length,r),e}function v2(e,t){let r=e.length,n=0,a,l,u,c;for(;r--;)if(a=e[r][1],l){if(a.type==="link"||a.type==="labelLink"&&a._inactive)break;e[r][0]==="enter"&&a.type==="labelLink"&&(a._inactive=!0)}else if(u){if(e[r][0]==="enter"&&(a.type==="labelImage"||a.type==="labelLink")&&!a._balanced&&(l=r,a.type!=="labelLink")){n=2;break}}else a.type==="labelEnd"&&(u=r);const m={type:e[l][1].type==="labelLink"?"link":"image",start:{...e[l][1].start},end:{...e[e.length-1][1].end}},f={type:"label",start:{...e[l][1].start},end:{...e[u][1].end}},g={type:"labelText",start:{...e[l+n+2][1].end},end:{...e[u-2][1].start}};return c=[["enter",m,t],["enter",f,t]],c=x0(c,e.slice(l+1,l+n+3)),c=x0(c,[["enter",g,t]]),c=x0(c,Hn(t.parser.constructs.insideSpan.null,e.slice(l+n+4,u-3),t)),c=x0(c,[["exit",g,t],e[u-2],e[u-1],["exit",f,t]]),c=x0(c,e.slice(u+1)),c=x0(c,[["exit",m,t]]),c0(e,l,e.length,c),e}function w2(e,t,r){const n=this;let a=n.events.length,l,u;for(;a--;)if((n.events[a][1].type==="labelImage"||n.events[a][1].type==="labelLink")&&!n.events[a][1]._balanced){l=n.events[a][1];break}return c;function c(d){return l?l._inactive?b(d):(u=n.parser.defined.includes(z0(n.sliceSerialize({start:l.end,end:n.now()}))),e.enter("labelEnd"),e.enter("labelMarker"),e.consume(d),e.exit("labelMarker"),e.exit("labelEnd"),m):r(d)}function m(d){return d===40?e.attempt(g2,g,u?g:b)(d):d===91?e.attempt(y2,g,u?f:b)(d):u?g(d):b(d)}function f(d){return e.attempt(b2,g,b)(d)}function g(d){return t(d)}function b(d){return l._balanced=!0,r(d)}}function k2(e,t,r){return n;function n(b){return e.enter("resource"),e.enter("resourceMarker"),e.consume(b),e.exit("resourceMarker"),a}function a(b){return it(b)?mn(e,l)(b):l(b)}function l(b){return b===41?g(b):Ks(e,u,c,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(b)}function u(b){return it(b)?mn(e,m)(b):g(b)}function c(b){return r(b)}function m(b){return b===34||b===39||b===40?Qs(e,f,r,"resourceTitle","resourceTitleMarker","resourceTitleString")(b):g(b)}function f(b){return it(b)?mn(e,g)(b):g(b)}function g(b){return b===41?(e.enter("resourceMarker"),e.consume(b),e.exit("resourceMarker"),e.exit("resource"),t):r(b)}}function S2(e,t,r){const n=this;return a;function a(c){return Js.call(n,e,l,u,"reference","referenceMarker","referenceString")(c)}function l(c){return n.parser.defined.includes(z0(n.sliceSerialize(n.events[n.events.length-1][1]).slice(1,-1)))?t(c):r(c)}function u(c){return r(c)}}function M2(e,t,r){return n;function n(l){return e.enter("reference"),e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),a}function a(l){return l===93?(e.enter("referenceMarker"),e.consume(l),e.exit("referenceMarker"),e.exit("reference"),t):r(l)}}const A2={name:"labelStartImage",resolveAll:ra.resolveAll,tokenize:z2};function z2(e,t,r){const n=this;return a;function a(c){return e.enter("labelImage"),e.enter("labelImageMarker"),e.consume(c),e.exit("labelImageMarker"),l}function l(c){return c===91?(e.enter("labelMarker"),e.consume(c),e.exit("labelMarker"),e.exit("labelImage"),u):r(c)}function u(c){return c===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(c):t(c)}}const T2={name:"labelStartLink",resolveAll:ra.resolveAll,tokenize:C2};function C2(e,t,r){const n=this;return a;function a(u){return e.enter("labelLink"),e.enter("labelMarker"),e.consume(u),e.exit("labelMarker"),e.exit("labelLink"),l}function l(u){return u===94&&"_hiddenFootnoteSupport"in n.parser.constructs?r(u):t(u)}}const na={name:"lineEnding",tokenize:E2};function E2(e,t){return r;function r(n){return e.enter("lineEnding"),e.consume(n),e.exit("lineEnding"),He(e,t,"linePrefix")}}const $n={name:"thematicBreak",tokenize:D2};function D2(e,t,r){let n=0,a;return l;function l(f){return e.enter("thematicBreak"),u(f)}function u(f){return a=f,c(f)}function c(f){return f===a?(e.enter("thematicBreakSequence"),m(f)):n>=3&&(f===null||Ee(f))?(e.exit("thematicBreak"),t(f)):r(f)}function m(f){return f===a?(e.consume(f),n++,m):(e.exit("thematicBreakSequence"),je(f)?He(e,c,"whitespace")(f):c(f))}}const t0={continuation:{tokenize:R2},exit:q2,name:"list",tokenize:I2},B2={partial:!0,tokenize:O2},N2={partial:!0,tokenize:_2};function I2(e,t,r){const n=this,a=n.events[n.events.length-1];let l=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0,u=0;return c;function c(p){const A=n.containerState.type||(p===42||p===43||p===45?"listUnordered":"listOrdered");if(A==="listUnordered"?!n.containerState.marker||p===n.containerState.marker:Qi(p)){if(n.containerState.type||(n.containerState.type=A,e.enter(A,{_container:!0})),A==="listUnordered")return e.enter("listItemPrefix"),p===42||p===45?e.check($n,r,f)(p):f(p);if(!n.interrupt||p===49)return e.enter("listItemPrefix"),e.enter("listItemValue"),m(p)}return r(p)}function m(p){return Qi(p)&&++u<10?(e.consume(p),m):(!n.interrupt||u<2)&&(n.containerState.marker?p===n.containerState.marker:p===41||p===46)?(e.exit("listItemValue"),f(p)):r(p)}function f(p){return e.enter("listItemMarker"),e.consume(p),e.exit("listItemMarker"),n.containerState.marker=n.containerState.marker||p,e.check(cn,n.interrupt?r:g,e.attempt(B2,d,b))}function g(p){return n.containerState.initialBlankLine=!0,l++,d(p)}function b(p){return je(p)?(e.enter("listItemPrefixWhitespace"),e.consume(p),e.exit("listItemPrefixWhitespace"),d):r(p)}function d(p){return n.containerState.size=l+n.sliceSerialize(e.exit("listItemPrefix"),!0).length,t(p)}}function R2(e,t,r){const n=this;return n.containerState._closeFlow=void 0,e.check(cn,a,l);function a(c){return n.containerState.furtherBlankLines=n.containerState.furtherBlankLines||n.containerState.initialBlankLine,He(e,t,"listItemIndent",n.containerState.size+1)(c)}function l(c){return n.containerState.furtherBlankLines||!je(c)?(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,u(c)):(n.containerState.furtherBlankLines=void 0,n.containerState.initialBlankLine=void 0,e.attempt(N2,t,u)(c))}function u(c){return n.containerState._closeFlow=!0,n.interrupt=void 0,He(e,e.attempt(t0,t,r),"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(c)}}function _2(e,t,r){const n=this;return He(e,a,"listItemIndent",n.containerState.size+1);function a(l){const u=n.events[n.events.length-1];return u&&u[1].type==="listItemIndent"&&u[2].sliceSerialize(u[1],!0).length===n.containerState.size?t(l):r(l)}}function q2(e){e.exit(this.containerState.type)}function O2(e,t,r){const n=this;return He(e,a,"listItemPrefixWhitespace",n.parser.constructs.disable.null.includes("codeIndented")?void 0:5);function a(l){const u=n.events[n.events.length-1];return!je(l)&&u&&u[1].type==="listItemPrefixWhitespace"?t(l):r(l)}}const to={name:"setextUnderline",resolveTo:F2,tokenize:L2};function F2(e,t){let r=e.length,n,a,l;for(;r--;)if(e[r][0]==="enter"){if(e[r][1].type==="content"){n=r;break}e[r][1].type==="paragraph"&&(a=r)}else e[r][1].type==="content"&&e.splice(r,1),!l&&e[r][1].type==="definition"&&(l=r);const u={type:"setextHeading",start:{...e[n][1].start},end:{...e[e.length-1][1].end}};return e[a][1].type="setextHeadingText",l?(e.splice(a,0,["enter",u,t]),e.splice(l+1,0,["exit",e[n][1],t]),e[n][1].end={...e[l][1].end}):e[n][1]=u,e.push(["exit",u,t]),e}function L2(e,t,r){const n=this;let a;return l;function l(f){let g=n.events.length,b;for(;g--;)if(n.events[g][1].type!=="lineEnding"&&n.events[g][1].type!=="linePrefix"&&n.events[g][1].type!=="content"){b=n.events[g][1].type==="paragraph";break}return!n.parser.lazy[n.now().line]&&(n.interrupt||b)?(e.enter("setextHeadingLine"),a=f,u(f)):r(f)}function u(f){return e.enter("setextHeadingLineSequence"),c(f)}function c(f){return f===a?(e.consume(f),c):(e.exit("setextHeadingLineSequence"),je(f)?He(e,m,"lineSuffix")(f):m(f))}function m(f){return f===null||Ee(f)?(e.exit("setextHeadingLine"),t(f)):r(f)}}const P2={tokenize:H2};function H2(e){const t=this,r=e.attempt(cn,n,e.attempt(this.parser.constructs.flowInitial,a,He(e,e.attempt(this.parser.constructs.flow,a,e.attempt(Uh,a)),"linePrefix")));return r;function n(l){if(l===null){e.consume(l);return}return e.enter("lineEndingBlank"),e.consume(l),e.exit("lineEndingBlank"),t.currentConstruct=void 0,r}function a(l){if(l===null){e.consume(l);return}return e.enter("lineEnding"),e.consume(l),e.exit("lineEnding"),t.currentConstruct=void 0,r}}const $2={resolveAll:no()},V2=ro("string"),j2=ro("text");function ro(e){return{resolveAll:no(e==="text"?G2:void 0),tokenize:t};function t(r){const n=this,a=this.parser.constructs[e],l=r.attempt(a,u,c);return u;function u(g){return f(g)?l(g):c(g)}function c(g){if(g===null){r.consume(g);return}return r.enter("data"),r.consume(g),m}function m(g){return f(g)?(r.exit("data"),l(g)):(r.consume(g),m)}function f(g){if(g===null)return!0;const b=a[g];let d=-1;if(b)for(;++d<b.length;){const p=b[d];if(!p.previous||p.previous.call(n,n.previous))return!0}return!1}}}function no(e){return t;function t(r,n){let a=-1,l;for(;++a<=r.length;)l===void 0?r[a]&&r[a][1].type==="data"&&(l=a,a++):(!r[a]||r[a][1].type!=="data")&&(a!==l+2&&(r[l][1].end=r[a-1][1].end,r.splice(l+2,a-l-2),a=l+2),l=void 0);return e?e(r,n):r}}function G2(e,t){let r=0;for(;++r<=e.length;)if((r===e.length||e[r][1].type==="lineEnding")&&e[r-1][1].type==="data"){const n=e[r-1][1],a=t.sliceStream(n);let l=a.length,u=-1,c=0,m;for(;l--;){const f=a[l];if(typeof f=="string"){for(u=f.length;f.charCodeAt(u-1)===32;)c++,u--;if(u)break;u=-1}else if(f===-2)m=!0,c++;else if(f!==-1){l++;break}}if(t._contentTypeTextTrailing&&r===e.length&&(c=0),c){const f={type:r===e.length||m||c<2?"lineSuffix":"hardBreakTrailing",start:{_bufferIndex:l?u:n.start._bufferIndex+u,_index:n.start._index+l,line:n.end.line,column:n.end.column-c,offset:n.end.offset-c},end:{...n.end}};n.end={...f.start},n.start.offset===n.end.offset?Object.assign(n,f):(e.splice(r,0,["enter",f,t],["exit",f,t]),r+=2)}r++}return e}const U2=Object.freeze(Object.defineProperty({__proto__:null,attentionMarkers:{null:[42,95]},contentInitial:{91:Kh},disable:{null:[]},document:{42:t0,43:t0,45:t0,48:t0,49:t0,50:t0,51:t0,52:t0,53:t0,54:t0,55:t0,56:t0,57:t0,62:Gs},flow:{35:n2,42:$n,45:[to,$n],60:s2,61:to,95:$n,96:Xs,126:Xs},flowInitial:{[-2]:ta,[-1]:ta,32:ta},insideSpan:{null:[ea,$2]},string:{38:Ws,92:Us},text:{[-5]:na,[-4]:na,[-3]:na,33:A2,38:Ws,42:ea,60:[Th,p2],91:T2,92:[t2,Us],93:ra,95:ea,96:Ph}},Symbol.toStringTag,{value:"Module"}));function W2(e,t,r){let n={_bufferIndex:-1,_index:0,line:r&&r.line||1,column:r&&r.column||1,offset:r&&r.offset||0};const a={},l=[];let u=[],c=[];const m={attempt:se(le),check:se(W),consume:P,enter:K,exit:re,interrupt:se(W,{interrupt:!0})},f={code:null,containerState:{},defineSkip:N,events:[],now:A,parser:e,previous:null,sliceSerialize:d,sliceStream:p,write:b};let g=t.tokenize.call(f,m);return t.resolveAll&&l.push(t),f;function b(be){return u=x0(u,be),O(),u[u.length-1]!==null?[]:(ve(t,0),f.events=Hn(l,f.events,f),f.events)}function d(be,oe){return X2(p(be),oe)}function p(be){return Y2(u,be)}function A(){const{_bufferIndex:be,_index:oe,line:ye,column:ue,offset:Me}=n;return{_bufferIndex:be,_index:oe,line:ye,column:ue,offset:Me}}function N(be){a[be.line]=be.column,Y()}function O(){let be;for(;n._index<u.length;){const oe=u[n._index];if(typeof oe=="string")for(be=n._index,n._bufferIndex<0&&(n._bufferIndex=0);n._index===be&&n._bufferIndex<oe.length;)q(oe.charCodeAt(n._bufferIndex));else q(oe)}}function q(be){g=g(be)}function P(be){Ee(be)?(n.line++,n.column=1,n.offset+=be===-3?2:1,Y()):be!==-1&&(n.column++,n.offset++),n._bufferIndex<0?n._index++:(n._bufferIndex++,n._bufferIndex===u[n._index].length&&(n._bufferIndex=-1,n._index++)),f.previous=be}function K(be,oe){const ye=oe||{};return ye.type=be,ye.start=A(),f.events.push(["enter",ye,f]),c.push(ye),ye}function re(be){const oe=c.pop();return oe.end=A(),f.events.push(["exit",oe,f]),oe}function le(be,oe){ve(be,oe.from)}function W(be,oe){oe.restore()}function se(be,oe){return ye;function ye(ue,Me,$e){let Qe,ht,qt,R;return Array.isArray(ue)?st(ue):"tokenize"in ue?st([ue]):lt(ue);function lt(mt){return Ot;function Ot(Mt){const Pt=Mt!==null&&mt[Mt],Ft=Mt!==null&&mt.null,L0=[...Array.isArray(Pt)?Pt:Pt?[Pt]:[],...Array.isArray(Ft)?Ft:Ft?[Ft]:[]];return st(L0)(Mt)}}function st(mt){return Qe=mt,ht=0,mt.length===0?$e:$(mt[ht])}function $(mt){return Ot;function Ot(Mt){return R=pe(),qt=mt,mt.partial||(f.currentConstruct=mt),mt.name&&f.parser.constructs.disable.null.includes(mt.name)?vt():mt.tokenize.call(oe?Object.assign(Object.create(f),oe):f,m,Dt,vt)(Mt)}}function Dt(mt){return be(qt,R),Me}function vt(mt){return R.restore(),++ht<Qe.length?$(Qe[ht]):$e}}}function ve(be,oe){be.resolveAll&&!l.includes(be)&&l.push(be),be.resolve&&c0(f.events,oe,f.events.length-oe,be.resolve(f.events.slice(oe),f)),be.resolveTo&&(f.events=be.resolveTo(f.events,f))}function pe(){const be=A(),oe=f.previous,ye=f.currentConstruct,ue=f.events.length,Me=Array.from(c);return{from:ue,restore:$e};function $e(){n=be,f.previous=oe,f.currentConstruct=ye,f.events.length=ue,c=Me,Y()}}function Y(){n.line in a&&n.column<2&&(n.column=a[n.line],n.offset+=a[n.line]-1)}}function Y2(e,t){const r=t.start._index,n=t.start._bufferIndex,a=t.end._index,l=t.end._bufferIndex;let u;if(r===a)u=[e[r].slice(n,l)];else{if(u=e.slice(r,a),n>-1){const c=u[0];typeof c=="string"?u[0]=c.slice(n):u.shift()}l>0&&u.push(e[a].slice(0,l))}return u}function X2(e,t){let r=-1;const n=[];let a;for(;++r<e.length;){const l=e[r];let u;if(typeof l=="string")u=l;else switch(l){case-5:{u="\r";break}case-4:{u=`
32
32
  `;break}case-3:{u=`\r
33
- `;break}case-2:{u=t?" ":" ";break}case-1:{if(!t&&a)continue;u=" ";break}default:u=String.fromCharCode(l)}a=l===-2,n.push(u)}return n.join("")}function Y2(e){const n={constructs:$s([j2,...(e||{}).extensions||[]]),content:a(bh),defined:[],document:a(vh),flow:a(F2),lazy:{},string:a(H2),text:a($2)};return n;function a(l){return u;function u(c){return G2(n,l,c)}}}function X2(e){for(;!Ks(e););return e}const ao=/[\0\t\n\r]/g;function Z2(){let e=1,t="",r=!0,n;return a;function a(l,u,c){const m=[];let f,g,b,d,p;for(l=t+(typeof l=="string"?l.toString():new TextDecoder(u||void 0).decode(l)),b=0,t="",r&&(l.charCodeAt(0)===65279&&b++,r=void 0);b<l.length;){if(ao.lastIndex=b,f=ao.exec(l),d=f&&f.index!==void 0?f.index:l.length,p=l.charCodeAt(d),!f){t=l.slice(b);break}if(p===10&&b===d&&n)m.push(-3),n=void 0;else switch(n&&(m.push(-5),n=void 0),b<d&&(m.push(l.slice(b,d)),e+=d-b),p){case 0:{m.push(65533),e++;break}case 9:{for(g=Math.ceil(e/4)*4,m.push(-2);e++<g;)m.push(-1);break}case 10:{m.push(-4),e=1;break}default:n=!0,e=1}b=d+1}return c&&(n&&m.push(-5),t&&m.push(t),m.push(null)),m}}const K2=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function J2(e){return e.replace(K2,Q2)}function Q2(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){const a=r.charCodeAt(1),l=a===120||a===88;return Vs(r.slice(l?2:1),l?16:10)}return Ji(r)||e}const lo={}.hasOwnProperty;function e5(e,t,r){return typeof t!="string"&&(r=t,t=void 0),t5(r)(X2(Y2(r).document().write(Z2()(e,t,!0))))}function t5(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(wt),autolinkProtocol:ue,autolinkEmail:ue,atxHeading:l(x0),blockQuote:l(Ft),characterEscape:ue,characterReference:ue,codeFenced:l(H0),codeFencedFenceInfo:u,codeFencedFenceMeta:u,codeIndented:l(H0,u),codeText:l(br,u),codeTextData:ue,data:ue,codeFlowValue:ue,definition:l(Er),definitionDestinationString:u,definitionLabelString:u,definitionTitleString:u,emphasis:l(tr),hardBreakEscape:l(n0),hardBreakTrailing:l(n0),htmlFlow:l(z0,u),htmlFlowData:ue,htmlText:l(z0,u),htmlTextData:ue,image:l(Zt),label:u,link:l(wt),listItem:l(Zr),listItemValue:d,listOrdered:l(rr,b),listUnordered:l(rr),paragraph:l(Dr),reference:V,referenceString:u,resourceDestinationString:u,resourceTitleString:u,setextHeading:l(x0),strong:l(Br),thematicBreak:l(Kr)},exit:{atxHeading:m(),atxHeadingSequence:re,autolink:m(),autolinkEmail:Lt,autolinkProtocol:Tt,blockQuote:m(),characterEscapeValue:J,characterReferenceMarkerHexadecimal:It,characterReferenceMarkerNumeric:It,characterReferenceValue:tt,characterReference:Ot,codeFenced:m(H),codeFencedFence:B,codeFencedFenceInfo:p,codeFencedFenceMeta:A,codeFlowValue:J,codeIndented:m(R),codeText:m(Ae),codeTextData:J,data:J,definition:m(),definitionDestinationString:ae,definitionLabelString:L,definitionTitleString:K,emphasis:m(),hardBreakEscape:m(ge),hardBreakTrailing:m(ge),htmlFlow:m(he),htmlFlowData:J,htmlText:m(te),htmlTextData:J,image:m(Qe),label:qt,labelText:ht,lineEnding:de,link:m(Ve),listItem:m(),listOrdered:m(),listUnordered:m(),paragraph:m(),referenceString:At,resourceDestinationString:$,resourceTitleString:we,resource:it,setextHeading:m(ve),setextHeadingLineSequence:oe,setextHeadingText:Y,strong:m(),thematicBreak:m()}};so(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(ee){let be={type:"root",children:[]};const Re={stack:[be],tokenStack:[],config:t,enter:c,exit:f,buffer:u,resume:g,data:r},_e=[];let et=-1;for(;++et<ee.length;)if(ee[et][1].type==="listOrdered"||ee[et][1].type==="listUnordered")if(ee[et][0]==="enter")_e.push(et);else{const Pt=_e.pop();et=a(ee,Pt,et)}for(et=-1;++et<ee.length;){const Pt=t[ee[et][0]];lo.call(Pt,ee[et][1].type)&&Pt[ee[et][1].type].call(Object.assign({sliceSerialize:ee[et][2].sliceSerialize},Re),ee[et][1])}if(Re.tokenStack.length>0){const Pt=Re.tokenStack[Re.tokenStack.length-1];(Pt[1]||oo).call(Re,void 0,Pt[0])}for(be.position={start:cr(ee.length>0?ee[0][1].start:{line:1,column:1,offset:0}),end:cr(ee.length>0?ee[ee.length-2][1].end:{line:1,column:1,offset:0})},et=-1;++et<t.transforms.length;)be=t.transforms[et](be)||be;return be}function a(ee,be,Re){let _e=be-1,et=-1,Pt=!1,C0,i0,rt,fe;for(;++_e<=Re;){const yt=ee[_e];switch(yt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{yt[0]==="enter"?et++:et--,fe=void 0;break}case"lineEndingBlank":{yt[0]==="enter"&&(C0&&!fe&&!et&&!rt&&(rt=_e),fe=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:fe=void 0}if(!et&&yt[0]==="enter"&&yt[1].type==="listItemPrefix"||et===-1&&yt[0]==="exit"&&(yt[1].type==="listUnordered"||yt[1].type==="listOrdered")){if(C0){let E0=_e;for(i0=void 0;E0--;){const jt=ee[E0];if(jt[1].type==="lineEnding"||jt[1].type==="lineEndingBlank"){if(jt[0]==="exit")continue;i0&&(ee[i0][1].type="lineEndingBlank",Pt=!0),jt[1].type="lineEnding",i0=E0}else if(!(jt[1].type==="linePrefix"||jt[1].type==="blockQuotePrefix"||jt[1].type==="blockQuotePrefixWhitespace"||jt[1].type==="blockQuoteMarker"||jt[1].type==="listItemIndent"))break}rt&&(!i0||rt<i0)&&(C0._spread=!0),C0.end=Object.assign({},i0?ee[i0][1].start:yt[1].end),ee.splice(i0||_e,0,["exit",C0,yt[2]]),_e++,Re++}if(yt[1].type==="listItemPrefix"){const E0={type:"listItem",_spread:!1,start:Object.assign({},yt[1].start),end:void 0};C0=E0,ee.splice(_e,0,["enter",E0,yt[2]]),_e++,Re++,rt=void 0,fe=!0}}}return ee[be][1]._spread=Pt,Re}function l(ee,be){return Re;function Re(_e){c.call(this,ee(_e),_e),be&&be.call(this,_e)}}function u(){this.stack.push({type:"fragment",children:[]})}function c(ee,be,Re){this.stack[this.stack.length-1].children.push(ee),this.stack.push(ee),this.tokenStack.push([be,Re||void 0]),ee.position={start:cr(be.start),end:void 0}}function m(ee){return be;function be(Re){ee&&ee.call(this,Re),f.call(this,Re)}}function f(ee,be){const Re=this.stack.pop(),_e=this.tokenStack.pop();if(_e)_e[0].type!==ee.type&&(be?be.call(this,ee,_e[0]):(_e[1]||oo).call(this,ee,_e[0]));else throw new Error("Cannot close `"+ee.type+"` ("+hn({start:ee.start,end:ee.end})+"): it’s not open");Re.position.end=cr(ee.end)}function g(){return Ki(this.stack.pop())}function b(){this.data.expectingFirstListItemValue=!0}function d(ee){if(this.data.expectingFirstListItemValue){const be=this.stack[this.stack.length-2];be.start=Number.parseInt(this.sliceSerialize(ee),10),this.data.expectingFirstListItemValue=void 0}}function p(){const ee=this.resume(),be=this.stack[this.stack.length-1];be.lang=ee}function A(){const ee=this.resume(),be=this.stack[this.stack.length-1];be.meta=ee}function B(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function H(){const ee=this.resume(),be=this.stack[this.stack.length-1];be.value=ee.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function R(){const ee=this.resume(),be=this.stack[this.stack.length-1];be.value=ee.replace(/(\r?\n|\r)$/g,"")}function L(ee){const be=this.resume(),Re=this.stack[this.stack.length-1];Re.label=be,Re.identifier=A0(this.sliceSerialize(ee)).toLowerCase()}function K(){const ee=this.resume(),be=this.stack[this.stack.length-1];be.title=ee}function ae(){const ee=this.resume(),be=this.stack[this.stack.length-1];be.url=ee}function re(ee){const be=this.stack[this.stack.length-1];if(!be.depth){const Re=this.sliceSerialize(ee).length;be.depth=Re}}function Y(){this.data.setextHeadingSlurpLineEnding=!0}function oe(ee){const be=this.stack[this.stack.length-1];be.depth=this.sliceSerialize(ee).codePointAt(0)===61?1:2}function ve(){this.data.setextHeadingSlurpLineEnding=void 0}function ue(ee){const Re=this.stack[this.stack.length-1].children;let _e=Re[Re.length-1];(!_e||_e.type!=="text")&&(_e=Nr(),_e.position={start:cr(ee.start),end:void 0},Re.push(_e)),this.stack.push(_e)}function J(ee){const be=this.stack.pop();be.value+=this.sliceSerialize(ee),be.position.end=cr(ee.end)}function de(ee){const be=this.stack[this.stack.length-1];if(this.data.atHardBreak){const Re=be.children[be.children.length-1];Re.position.end=cr(ee.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(be.type)&&(ue.call(this,ee),J.call(this,ee))}function ge(){this.data.atHardBreak=!0}function he(){const ee=this.resume(),be=this.stack[this.stack.length-1];be.value=ee}function te(){const ee=this.resume(),be=this.stack[this.stack.length-1];be.value=ee}function Ae(){const ee=this.resume(),be=this.stack[this.stack.length-1];be.value=ee}function Ve(){const ee=this.stack[this.stack.length-1];if(this.data.inReference){const be=this.data.referenceType||"shortcut";ee.type+="Reference",ee.referenceType=be,delete ee.url,delete ee.title}else delete ee.identifier,delete ee.label;this.data.referenceType=void 0}function Qe(){const ee=this.stack[this.stack.length-1];if(this.data.inReference){const be=this.data.referenceType||"shortcut";ee.type+="Reference",ee.referenceType=be,delete ee.url,delete ee.title}else delete ee.identifier,delete ee.label;this.data.referenceType=void 0}function ht(ee){const be=this.sliceSerialize(ee),Re=this.stack[this.stack.length-2];Re.label=J2(be),Re.identifier=A0(be).toLowerCase()}function qt(){const ee=this.stack[this.stack.length-1],be=this.resume(),Re=this.stack[this.stack.length-1];if(this.data.inReference=!0,Re.type==="link"){const _e=ee.children;Re.children=_e}else Re.alt=be}function $(){const ee=this.resume(),be=this.stack[this.stack.length-1];be.url=ee}function we(){const ee=this.resume(),be=this.stack[this.stack.length-1];be.title=ee}function it(){this.data.inReference=void 0}function V(){this.data.referenceType="collapsed"}function At(ee){const be=this.resume(),Re=this.stack[this.stack.length-1];Re.label=be,Re.identifier=A0(this.sliceSerialize(ee)).toLowerCase(),this.data.referenceType="full"}function It(ee){this.data.characterReferenceType=ee.type}function tt(ee){const be=this.sliceSerialize(ee),Re=this.data.characterReferenceType;let _e;Re?(_e=Vs(be,Re==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):_e=Ji(be);const et=this.stack[this.stack.length-1];et.value+=_e}function Ot(ee){const be=this.stack.pop();be.position.end=cr(ee.end)}function Tt(ee){J.call(this,ee);const be=this.stack[this.stack.length-1];be.url=this.sliceSerialize(ee)}function Lt(ee){J.call(this,ee);const be=this.stack[this.stack.length-1];be.url="mailto:"+this.sliceSerialize(ee)}function Ft(){return{type:"blockquote",children:[]}}function H0(){return{type:"code",lang:null,meta:null,value:""}}function br(){return{type:"inlineCode",value:""}}function Er(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function tr(){return{type:"emphasis",children:[]}}function x0(){return{type:"heading",depth:0,children:[]}}function n0(){return{type:"break"}}function z0(){return{type:"html",value:""}}function Zt(){return{type:"image",title:null,url:"",alt:null}}function wt(){return{type:"link",title:null,url:"",children:[]}}function rr(ee){return{type:"list",ordered:ee.type==="listOrdered",start:null,spread:ee._spread,children:[]}}function Zr(ee){return{type:"listItem",spread:ee._spread,checked:null,children:[]}}function Dr(){return{type:"paragraph",children:[]}}function Br(){return{type:"strong",children:[]}}function Nr(){return{type:"text",value:""}}function Kr(){return{type:"thematicBreak"}}}function cr(e){return{line:e.line,column:e.column,offset:e.offset}}function so(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?so(e,n):r5(e,n)}}function r5(e,t){let r;for(r in t)if(lo.call(t,r))switch(r){case"canContainEols":{const n=t[r];n&&e[r].push(...n);break}case"transforms":{const n=t[r];n&&e[r].push(...n);break}case"enter":case"exit":{const n=t[r];n&&Object.assign(e[r],n);break}}}function oo(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+hn({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+hn({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+hn({start:t.start,end:t.end})+") is still open")}function n5(e){const t=this;t.parser=r;function r(n){return e5(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function i5(e,t){const r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)}function a5(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:`
34
- `}]}function l5(e,t){const r=t.value?t.value+`
35
- `:"",n={};t.lang&&(n.className=["language-"+t.lang]);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=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a}function s5(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function o5(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function u5(e,t){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=String(t.identifier).toUpperCase(),a=Hr(n.toLowerCase()),l=e.footnoteOrder.indexOf(n);let u,c=e.footnoteCounts.get(n);c===void 0?(c=0,e.footnoteOrder.push(n),u=e.footnoteOrder.length):u=l+1,c+=1,e.footnoteCounts.set(n,c);const m={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+a,id:r+"fnref-"+a+(c>1?"-"+c:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(u)}]};e.patch(t,m);const f={type:"element",tagName:"sup",properties:{},children:[m]};return e.patch(t,f),e.applyData(t,f)}function c5(e,t){const r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function h5(e,t){if(e.options.allowDangerousHtml){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}}function uo(e,t){const r=t.referenceType;let n="]";if(r==="collapsed"?n+="[]":r==="full"&&(n+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+n}];const a=e.all(t),l=a[0];l&&l.type==="text"?l.value="["+l.value:a.unshift({type:"text",value:"["});const u=a[a.length-1];return u&&u.type==="text"?u.value+=n:a.push({type:"text",value:n}),a}function m5(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return uo(e,t);const a={src:Hr(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(a.title=n.title);const l={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,l),e.applyData(t,l)}function d5(e,t){const r={src:Hr(t.url)};t.alt!==null&&t.alt!==void 0&&(r.alt=t.alt),t.title!==null&&t.title!==void 0&&(r.title=t.title);const n={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,n),e.applyData(t,n)}function p5(e,t){const r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);const n={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,n),e.applyData(t,n)}function f5(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return uo(e,t);const a={href:Hr(n.url||"")};n.title!==null&&n.title!==void 0&&(a.title=n.title);const l={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,l),e.applyData(t,l)}function g5(e,t){const r={href:Hr(t.url)};t.title!==null&&t.title!==void 0&&(r.title=t.title);const n={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function y5(e,t,r){const n=e.all(t),a=r?b5(r):co(t),l={},u=[];if(typeof t.checked=="boolean"){const g=n[0];let b;g&&g.type==="element"&&g.tagName==="p"?b=g:(b={type:"element",tagName:"p",properties:{},children:[]},n.unshift(b)),b.children.length>0&&b.children.unshift({type:"text",value:" "}),b.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),l.className=["task-list-item"]}let c=-1;for(;++c<n.length;){const g=n[c];(a||c!==0||g.type!=="element"||g.tagName!=="p")&&u.push({type:"text",value:`
33
+ `;break}case-2:{u=t?" ":" ";break}case-1:{if(!t&&a)continue;u=" ";break}default:u=String.fromCharCode(l)}a=l===-2,n.push(u)}return n.join("")}function Z2(e){const n={constructs:Hs([U2,...(e||{}).extensions||[]]),content:a(vh),defined:[],document:a(kh),flow:a(P2),lazy:{},string:a(V2),text:a(j2)};return n;function a(l){return u;function u(c){return W2(n,l,c)}}}function K2(e){for(;!Zs(e););return e}const io=/[\0\t\n\r]/g;function J2(){let e=1,t="",r=!0,n;return a;function a(l,u,c){const m=[];let f,g,b,d,p;for(l=t+(typeof l=="string"?l.toString():new TextDecoder(u||void 0).decode(l)),b=0,t="",r&&(l.charCodeAt(0)===65279&&b++,r=void 0);b<l.length;){if(io.lastIndex=b,f=io.exec(l),d=f&&f.index!==void 0?f.index:l.length,p=l.charCodeAt(d),!f){t=l.slice(b);break}if(p===10&&b===d&&n)m.push(-3),n=void 0;else switch(n&&(m.push(-5),n=void 0),b<d&&(m.push(l.slice(b,d)),e+=d-b),p){case 0:{m.push(65533),e++;break}case 9:{for(g=Math.ceil(e/4)*4,m.push(-2);e++<g;)m.push(-1);break}case 10:{m.push(-4),e=1;break}default:n=!0,e=1}b=d+1}return c&&(n&&m.push(-5),t&&m.push(t),m.push(null)),m}}const Q2=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function em(e){return e.replace(Q2,tm)}function tm(e,t,r){if(t)return t;if(r.charCodeAt(0)===35){const a=r.charCodeAt(1),l=a===120||a===88;return $s(r.slice(l?2:1),l?16:10)}return Ji(r)||e}const ao={}.hasOwnProperty;function rm(e,t,r){return typeof t!="string"&&(r=t,t=void 0),nm(r)(K2(Z2(r).document().write(J2()(e,t,!0))))}function nm(e){const t={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:l(Kt),autolinkProtocol:pe,autolinkEmail:pe,atxHeading:l(p0),blockQuote:l(Ft),characterEscape:pe,characterReference:pe,codeFenced:l(L0),codeFencedFenceInfo:u,codeFencedFenceMeta:u,codeIndented:l(L0,u),codeText:l(xr,u),codeTextData:pe,data:pe,codeFlowValue:pe,definition:l(Nr),definitionDestinationString:u,definitionLabelString:u,definitionTitleString:u,emphasis:l(nr),hardBreakEscape:l(f0),hardBreakTrailing:l(f0),htmlFlow:l(Bt,u),htmlFlowData:pe,htmlText:l(Bt,u),htmlTextData:pe,image:l(a0),label:u,link:l(Kt),listItem:l(Ir),listItemValue:d,listOrdered:l(Jr,b),listUnordered:l(Jr),paragraph:l(ir),reference:$,referenceString:u,resourceDestinationString:u,resourceTitleString:u,setextHeading:l(p0),strong:l(An),thematicBreak:l(Rr)},exit:{atxHeading:m(),atxHeadingSequence:le,autolink:m(),autolinkEmail:Pt,autolinkProtocol:Mt,blockQuote:m(),characterEscapeValue:Y,characterReferenceMarkerHexadecimal:vt,characterReferenceMarkerNumeric:vt,characterReferenceValue:mt,characterReference:Ot,codeFenced:m(O),codeFencedFence:N,codeFencedFenceInfo:p,codeFencedFenceMeta:A,codeFlowValue:Y,codeIndented:m(q),codeText:m(Me),codeTextData:Y,data:Y,definition:m(),definitionDestinationString:re,definitionLabelString:P,definitionTitleString:K,emphasis:m(),hardBreakEscape:m(oe),hardBreakTrailing:m(oe),htmlFlow:m(ye),htmlFlowData:Y,htmlText:m(ue),htmlTextData:Y,image:m(Qe),label:qt,labelText:ht,lineEnding:be,link:m($e),listItem:m(),listOrdered:m(),listUnordered:m(),paragraph:m(),referenceString:Dt,resourceDestinationString:R,resourceTitleString:lt,resource:st,setextHeading:m(ve),setextHeadingLineSequence:se,setextHeadingText:W,strong:m(),thematicBreak:m()}};lo(t,(e||{}).mdastExtensions||[]);const r={};return n;function n(ee){let fe={type:"root",children:[]};const qe={stack:[fe],tokenStack:[],config:t,enter:c,exit:f,buffer:u,resume:g,data:r},Oe=[];let et=-1;for(;++et<ee.length;)if(ee[et][1].type==="listOrdered"||ee[et][1].type==="listUnordered")if(ee[et][0]==="enter")Oe.push(et);else{const jt=Oe.pop();et=a(ee,jt,et)}for(et=-1;++et<ee.length;){const jt=t[ee[et][0]];ao.call(jt,ee[et][1].type)&&jt[ee[et][1].type].call(Object.assign({sliceSerialize:ee[et][2].sliceSerialize},qe),ee[et][1])}if(qe.tokenStack.length>0){const jt=qe.tokenStack[qe.tokenStack.length-1];(jt[1]||so).call(qe,void 0,jt[0])}for(fe.position={start:hr(ee.length>0?ee[0][1].start:{line:1,column:1,offset:0}),end:hr(ee.length>0?ee[ee.length-2][1].end:{line:1,column:1,offset:0})},et=-1;++et<t.transforms.length;)fe=t.transforms[et](fe)||fe;return fe}function a(ee,fe,qe){let Oe=fe-1,et=-1,jt=!1,Xe,me,Gt,P0;for(;++Oe<=qe;){const Lt=ee[Oe];switch(Lt[1].type){case"listUnordered":case"listOrdered":case"blockQuote":{Lt[0]==="enter"?et++:et--,P0=void 0;break}case"lineEndingBlank":{Lt[0]==="enter"&&(Xe&&!P0&&!et&&!Gt&&(Gt=Oe),P0=void 0);break}case"linePrefix":case"listItemValue":case"listItemMarker":case"listItemPrefix":case"listItemPrefixWhitespace":break;default:P0=void 0}if(!et&&Lt[0]==="enter"&&Lt[1].type==="listItemPrefix"||et===-1&&Lt[0]==="exit"&&(Lt[1].type==="listUnordered"||Lt[1].type==="listOrdered")){if(Xe){let H0=Oe;for(me=void 0;H0--;){const Ut=ee[H0];if(Ut[1].type==="lineEnding"||Ut[1].type==="lineEndingBlank"){if(Ut[0]==="exit")continue;me&&(ee[me][1].type="lineEndingBlank",jt=!0),Ut[1].type="lineEnding",me=H0}else if(!(Ut[1].type==="linePrefix"||Ut[1].type==="blockQuotePrefix"||Ut[1].type==="blockQuotePrefixWhitespace"||Ut[1].type==="blockQuoteMarker"||Ut[1].type==="listItemIndent"))break}Gt&&(!me||Gt<me)&&(Xe._spread=!0),Xe.end=Object.assign({},me?ee[me][1].start:Lt[1].end),ee.splice(me||Oe,0,["exit",Xe,Lt[2]]),Oe++,qe++}if(Lt[1].type==="listItemPrefix"){const H0={type:"listItem",_spread:!1,start:Object.assign({},Lt[1].start),end:void 0};Xe=H0,ee.splice(Oe,0,["enter",H0,Lt[2]]),Oe++,qe++,Gt=void 0,P0=!0}}}return ee[fe][1]._spread=jt,qe}function l(ee,fe){return qe;function qe(Oe){c.call(this,ee(Oe),Oe),fe&&fe.call(this,Oe)}}function u(){this.stack.push({type:"fragment",children:[]})}function c(ee,fe,qe){this.stack[this.stack.length-1].children.push(ee),this.stack.push(ee),this.tokenStack.push([fe,qe||void 0]),ee.position={start:hr(fe.start),end:void 0}}function m(ee){return fe;function fe(qe){ee&&ee.call(this,qe),f.call(this,qe)}}function f(ee,fe){const qe=this.stack.pop(),Oe=this.tokenStack.pop();if(Oe)Oe[0].type!==ee.type&&(fe?fe.call(this,ee,Oe[0]):(Oe[1]||so).call(this,ee,Oe[0]));else throw new Error("Cannot close `"+ee.type+"` ("+on({start:ee.start,end:ee.end})+"): it’s not open");qe.position.end=hr(ee.end)}function g(){return Ki(this.stack.pop())}function b(){this.data.expectingFirstListItemValue=!0}function d(ee){if(this.data.expectingFirstListItemValue){const fe=this.stack[this.stack.length-2];fe.start=Number.parseInt(this.sliceSerialize(ee),10),this.data.expectingFirstListItemValue=void 0}}function p(){const ee=this.resume(),fe=this.stack[this.stack.length-1];fe.lang=ee}function A(){const ee=this.resume(),fe=this.stack[this.stack.length-1];fe.meta=ee}function N(){this.data.flowCodeInside||(this.buffer(),this.data.flowCodeInside=!0)}function O(){const ee=this.resume(),fe=this.stack[this.stack.length-1];fe.value=ee.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),this.data.flowCodeInside=void 0}function q(){const ee=this.resume(),fe=this.stack[this.stack.length-1];fe.value=ee.replace(/(\r?\n|\r)$/g,"")}function P(ee){const fe=this.resume(),qe=this.stack[this.stack.length-1];qe.label=fe,qe.identifier=z0(this.sliceSerialize(ee)).toLowerCase()}function K(){const ee=this.resume(),fe=this.stack[this.stack.length-1];fe.title=ee}function re(){const ee=this.resume(),fe=this.stack[this.stack.length-1];fe.url=ee}function le(ee){const fe=this.stack[this.stack.length-1];if(!fe.depth){const qe=this.sliceSerialize(ee).length;fe.depth=qe}}function W(){this.data.setextHeadingSlurpLineEnding=!0}function se(ee){const fe=this.stack[this.stack.length-1];fe.depth=this.sliceSerialize(ee).codePointAt(0)===61?1:2}function ve(){this.data.setextHeadingSlurpLineEnding=void 0}function pe(ee){const qe=this.stack[this.stack.length-1].children;let Oe=qe[qe.length-1];(!Oe||Oe.type!=="text")&&(Oe=zn(),Oe.position={start:hr(ee.start),end:void 0},qe.push(Oe)),this.stack.push(Oe)}function Y(ee){const fe=this.stack.pop();fe.value+=this.sliceSerialize(ee),fe.position.end=hr(ee.end)}function be(ee){const fe=this.stack[this.stack.length-1];if(this.data.atHardBreak){const qe=fe.children[fe.children.length-1];qe.position.end=hr(ee.end),this.data.atHardBreak=void 0;return}!this.data.setextHeadingSlurpLineEnding&&t.canContainEols.includes(fe.type)&&(pe.call(this,ee),Y.call(this,ee))}function oe(){this.data.atHardBreak=!0}function ye(){const ee=this.resume(),fe=this.stack[this.stack.length-1];fe.value=ee}function ue(){const ee=this.resume(),fe=this.stack[this.stack.length-1];fe.value=ee}function Me(){const ee=this.resume(),fe=this.stack[this.stack.length-1];fe.value=ee}function $e(){const ee=this.stack[this.stack.length-1];if(this.data.inReference){const fe=this.data.referenceType||"shortcut";ee.type+="Reference",ee.referenceType=fe,delete ee.url,delete ee.title}else delete ee.identifier,delete ee.label;this.data.referenceType=void 0}function Qe(){const ee=this.stack[this.stack.length-1];if(this.data.inReference){const fe=this.data.referenceType||"shortcut";ee.type+="Reference",ee.referenceType=fe,delete ee.url,delete ee.title}else delete ee.identifier,delete ee.label;this.data.referenceType=void 0}function ht(ee){const fe=this.sliceSerialize(ee),qe=this.stack[this.stack.length-2];qe.label=em(fe),qe.identifier=z0(fe).toLowerCase()}function qt(){const ee=this.stack[this.stack.length-1],fe=this.resume(),qe=this.stack[this.stack.length-1];if(this.data.inReference=!0,qe.type==="link"){const Oe=ee.children;qe.children=Oe}else qe.alt=fe}function R(){const ee=this.resume(),fe=this.stack[this.stack.length-1];fe.url=ee}function lt(){const ee=this.resume(),fe=this.stack[this.stack.length-1];fe.title=ee}function st(){this.data.inReference=void 0}function $(){this.data.referenceType="collapsed"}function Dt(ee){const fe=this.resume(),qe=this.stack[this.stack.length-1];qe.label=fe,qe.identifier=z0(this.sliceSerialize(ee)).toLowerCase(),this.data.referenceType="full"}function vt(ee){this.data.characterReferenceType=ee.type}function mt(ee){const fe=this.sliceSerialize(ee),qe=this.data.characterReferenceType;let Oe;qe?(Oe=$s(fe,qe==="characterReferenceMarkerNumeric"?10:16),this.data.characterReferenceType=void 0):Oe=Ji(fe);const et=this.stack[this.stack.length-1];et.value+=Oe}function Ot(ee){const fe=this.stack.pop();fe.position.end=hr(ee.end)}function Mt(ee){Y.call(this,ee);const fe=this.stack[this.stack.length-1];fe.url=this.sliceSerialize(ee)}function Pt(ee){Y.call(this,ee);const fe=this.stack[this.stack.length-1];fe.url="mailto:"+this.sliceSerialize(ee)}function Ft(){return{type:"blockquote",children:[]}}function L0(){return{type:"code",lang:null,meta:null,value:""}}function xr(){return{type:"inlineCode",value:""}}function Nr(){return{type:"definition",identifier:"",label:null,title:null,url:""}}function nr(){return{type:"emphasis",children:[]}}function p0(){return{type:"heading",depth:0,children:[]}}function f0(){return{type:"break"}}function Bt(){return{type:"html",value:""}}function a0(){return{type:"image",title:null,url:"",alt:null}}function Kt(){return{type:"link",title:null,url:"",children:[]}}function Jr(ee){return{type:"list",ordered:ee.type==="listOrdered",start:null,spread:ee._spread,children:[]}}function Ir(ee){return{type:"listItem",spread:ee._spread,checked:null,children:[]}}function ir(){return{type:"paragraph",children:[]}}function An(){return{type:"strong",children:[]}}function zn(){return{type:"text",value:""}}function Rr(){return{type:"thematicBreak"}}}function hr(e){return{line:e.line,column:e.column,offset:e.offset}}function lo(e,t){let r=-1;for(;++r<t.length;){const n=t[r];Array.isArray(n)?lo(e,n):im(e,n)}}function im(e,t){let r;for(r in t)if(ao.call(t,r))switch(r){case"canContainEols":{const n=t[r];n&&e[r].push(...n);break}case"transforms":{const n=t[r];n&&e[r].push(...n);break}case"enter":case"exit":{const n=t[r];n&&Object.assign(e[r],n);break}}}function so(e,t){throw e?new Error("Cannot close `"+e.type+"` ("+on({start:e.start,end:e.end})+"): a different token (`"+t.type+"`, "+on({start:t.start,end:t.end})+") is open"):new Error("Cannot close document, a token (`"+t.type+"`, "+on({start:t.start,end:t.end})+") is still open")}function am(e){const t=this;t.parser=r;function r(n){return rm(n,{...t.data("settings"),...e,extensions:t.data("micromarkExtensions")||[],mdastExtensions:t.data("fromMarkdownExtensions")||[]})}}function lm(e,t){const r={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,r),e.applyData(t,r)}function sm(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:`
34
+ `}]}function om(e,t){const r=t.value?t.value+`
35
+ `:"",n={};t.lang&&(n.className=["language-"+t.lang]);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=e.applyData(t,a),a={type:"element",tagName:"pre",properties:{},children:[a]},e.patch(t,a),a}function um(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function cm(e,t){const r={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function hm(e,t){const r=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",n=String(t.identifier).toUpperCase(),a=Vr(n.toLowerCase()),l=e.footnoteOrder.indexOf(n);let u,c=e.footnoteCounts.get(n);c===void 0?(c=0,e.footnoteOrder.push(n),u=e.footnoteOrder.length):u=l+1,c+=1,e.footnoteCounts.set(n,c);const m={type:"element",tagName:"a",properties:{href:"#"+r+"fn-"+a,id:r+"fnref-"+a+(c>1?"-"+c:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(u)}]};e.patch(t,m);const f={type:"element",tagName:"sup",properties:{},children:[m]};return e.patch(t,f),e.applyData(t,f)}function mm(e,t){const r={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function dm(e,t){if(e.options.allowDangerousHtml){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}}function oo(e,t){const r=t.referenceType;let n="]";if(r==="collapsed"?n+="[]":r==="full"&&(n+="["+(t.label||t.identifier)+"]"),t.type==="imageReference")return[{type:"text",value:"!["+t.alt+n}];const a=e.all(t),l=a[0];l&&l.type==="text"?l.value="["+l.value:a.unshift({type:"text",value:"["});const u=a[a.length-1];return u&&u.type==="text"?u.value+=n:a.push({type:"text",value:n}),a}function pm(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return oo(e,t);const a={src:Vr(n.url||""),alt:t.alt};n.title!==null&&n.title!==void 0&&(a.title=n.title);const l={type:"element",tagName:"img",properties:a,children:[]};return e.patch(t,l),e.applyData(t,l)}function fm(e,t){const r={src:Vr(t.url)};t.alt!==null&&t.alt!==void 0&&(r.alt=t.alt),t.title!==null&&t.title!==void 0&&(r.title=t.title);const n={type:"element",tagName:"img",properties:r,children:[]};return e.patch(t,n),e.applyData(t,n)}function gm(e,t){const r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);const n={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,n),e.applyData(t,n)}function ym(e,t){const r=String(t.identifier).toUpperCase(),n=e.definitionById.get(r);if(!n)return oo(e,t);const a={href:Vr(n.url||"")};n.title!==null&&n.title!==void 0&&(a.title=n.title);const l={type:"element",tagName:"a",properties:a,children:e.all(t)};return e.patch(t,l),e.applyData(t,l)}function bm(e,t){const r={href:Vr(t.url)};t.title!==null&&t.title!==void 0&&(r.title=t.title);const n={type:"element",tagName:"a",properties:r,children:e.all(t)};return e.patch(t,n),e.applyData(t,n)}function xm(e,t,r){const n=e.all(t),a=r?vm(r):uo(t),l={},u=[];if(typeof t.checked=="boolean"){const g=n[0];let b;g&&g.type==="element"&&g.tagName==="p"?b=g:(b={type:"element",tagName:"p",properties:{},children:[]},n.unshift(b)),b.children.length>0&&b.children.unshift({type:"text",value:" "}),b.children.unshift({type:"element",tagName:"input",properties:{type:"checkbox",checked:t.checked,disabled:!0},children:[]}),l.className=["task-list-item"]}let c=-1;for(;++c<n.length;){const g=n[c];(a||c!==0||g.type!=="element"||g.tagName!=="p")&&u.push({type:"text",value:`
36
36
  `}),g.type==="element"&&g.tagName==="p"&&!a?u.push(...g.children):u.push(g)}const m=n[n.length-1];m&&(a||m.type!=="element"||m.tagName!=="p")&&u.push({type:"text",value:`
37
- `});const f={type:"element",tagName:"li",properties:l,children:u};return e.patch(t,f),e.applyData(t,f)}function b5(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const r=e.children;let n=-1;for(;!t&&++n<r.length;)t=co(r[n])}return t}function co(e){const t=e.spread;return t??e.children.length>1}function x5(e,t){const r={},n=e.all(t);let a=-1;for(typeof t.start=="number"&&t.start!==1&&(r.start=t.start);++a<n.length;){const u=n[a];if(u.type==="element"&&u.tagName==="li"&&u.properties&&Array.isArray(u.properties.className)&&u.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const l={type:"element",tagName:t.ordered?"ol":"ul",properties:r,children:e.wrap(n,!0)};return e.patch(t,l),e.applyData(t,l)}function v5(e,t){const r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function w5(e,t){const r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)}function k5(e,t){const r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function S5(e,t){const r=e.all(t),n=r.shift(),a=[];if(n){const u={type:"element",tagName:"thead",properties:{},children:e.wrap([n],!0)};e.patch(t.children[0],u),a.push(u)}if(r.length>0){const u={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},c=Gi(t.children[1]),m=Ds(t.children[t.children.length-1]);c&&m&&(u.position={start:c,end:m}),a.push(u)}const l={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,l),e.applyData(t,l)}function M5(e,t,r){const n=r?r.children:void 0,l=(n?n.indexOf(t):1)===0?"th":"td",u=r&&r.type==="table"?r.align:void 0,c=u?u.length:t.children.length;let m=-1;const f=[];for(;++m<c;){const b=t.children[m],d={},p=u?u[m]:void 0;p&&(d.align=p);let A={type:"element",tagName:l,properties:d,children:[]};b&&(A.children=e.all(b),e.patch(b,A),A=e.applyData(b,A)),f.push(A)}const g={type:"element",tagName:"tr",properties:{},children:e.wrap(f,!0)};return e.patch(t,g),e.applyData(t,g)}function A5(e,t){const r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}const ho=9,mo=32;function T5(e){const t=String(e),r=/\r?\n|\r/g;let n=r.exec(t),a=0;const l=[];for(;n;)l.push(po(t.slice(a,n.index),a>0,!0),n[0]),a=n.index+n[0].length,n=r.exec(t);return l.push(po(t.slice(a),a>0,!1)),l.join("")}function po(e,t,r){let n=0,a=e.length;if(t){let l=e.codePointAt(n);for(;l===ho||l===mo;)n++,l=e.codePointAt(n)}if(r){let l=e.codePointAt(a-1);for(;l===ho||l===mo;)a--,l=e.codePointAt(a-1)}return a>n?e.slice(n,a):""}function z5(e,t){const r={type:"text",value:T5(String(t.value))};return e.patch(t,r),e.applyData(t,r)}function C5(e,t){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)}const E5={blockquote:i5,break:a5,code:l5,delete:s5,emphasis:o5,footnoteReference:u5,heading:c5,html:h5,imageReference:m5,image:d5,inlineCode:p5,linkReference:f5,link:g5,listItem:y5,list:x5,paragraph:v5,root:w5,strong:k5,table:S5,tableCell:A5,tableRow:M5,text:z5,thematicBreak:C5,toml:Fn,yaml:Fn,definition:Fn,footnoteDefinition:Fn};function Fn(){}const fo=-1,Ln=0,gn=1,Pn=2,ia=3,aa=4,la=5,sa=6,go=7,yo=8,bo=typeof self=="object"?self:globalThis,D5=(e,t)=>{const r=(a,l)=>(e.set(l,a),a),n=a=>{if(e.has(a))return e.get(a);const[l,u]=t[a];switch(l){case Ln:case fo:return r(u,a);case gn:{const c=r([],a);for(const m of u)c.push(n(m));return c}case Pn:{const c=r({},a);for(const[m,f]of u)c[n(m)]=n(f);return c}case ia:return r(new Date(u),a);case aa:{const{source:c,flags:m}=u;return r(new RegExp(c,m),a)}case la:{const c=r(new Map,a);for(const[m,f]of u)c.set(n(m),n(f));return c}case sa:{const c=r(new Set,a);for(const m of u)c.add(n(m));return c}case go:{const{name:c,message:m}=u;return r(new bo[c](m),a)}case yo:return r(BigInt(u),a);case"BigInt":return r(Object(BigInt(u)),a);case"ArrayBuffer":return r(new Uint8Array(u).buffer,u);case"DataView":{const{buffer:c}=new Uint8Array(u);return r(new DataView(c),u)}}return r(new bo[l](u),a)};return n},xo=e=>D5(new Map,e)(0),Vr="",{toString:B5}={},{keys:N5}=Object,yn=e=>{const t=typeof e;if(t!=="object"||!e)return[Ln,t];const r=B5.call(e).slice(8,-1);switch(r){case"Array":return[gn,Vr];case"Object":return[Pn,Vr];case"Date":return[ia,Vr];case"RegExp":return[aa,Vr];case"Map":return[la,Vr];case"Set":return[sa,Vr];case"DataView":return[gn,r]}return r.includes("Array")?[gn,r]:r.includes("Error")?[go,r]:[Pn,r]},Hn=([e,t])=>e===Ln&&(t==="function"||t==="symbol"),I5=(e,t,r,n)=>{const a=(u,c)=>{const m=n.push(u)-1;return r.set(c,m),m},l=u=>{if(r.has(u))return r.get(u);let[c,m]=yn(u);switch(c){case Ln:{let g=u;switch(m){case"bigint":c=yo,g=u.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+m);g=null;break;case"undefined":return a([fo],u)}return a([c,g],u)}case gn:{if(m){let d=u;return m==="DataView"?d=new Uint8Array(u.buffer):m==="ArrayBuffer"&&(d=new Uint8Array(u)),a([m,[...d]],u)}const g=[],b=a([c,g],u);for(const d of u)g.push(l(d));return b}case Pn:{if(m)switch(m){case"BigInt":return a([m,u.toString()],u);case"Boolean":case"Number":case"String":return a([m,u.valueOf()],u)}if(t&&"toJSON"in u)return l(u.toJSON());const g=[],b=a([c,g],u);for(const d of N5(u))(e||!Hn(yn(u[d])))&&g.push([l(d),l(u[d])]);return b}case ia:return a([c,u.toISOString()],u);case aa:{const{source:g,flags:b}=u;return a([c,{source:g,flags:b}],u)}case la:{const g=[],b=a([c,g],u);for(const[d,p]of u)(e||!(Hn(yn(d))||Hn(yn(p))))&&g.push([l(d),l(p)]);return b}case sa:{const g=[],b=a([c,g],u);for(const d of u)(e||!Hn(yn(d)))&&g.push(l(d));return b}}const{message:f}=u;return a([c,{name:m,message:f}],u)};return l},vo=(e,{json:t,lossy:r}={})=>{const n=[];return I5(!(t||r),!!t,new Map,n)(e),n},$n=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?xo(vo(e,t)):structuredClone(e):(e,t)=>xo(vo(e,t));function R5(e,t){const r=[{type:"text",value:"↩"}];return t>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),r}function _5(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function q5(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||R5,n=e.options.footnoteBackLabel||_5,a=e.options.footnoteLabel||"Footnotes",l=e.options.footnoteLabelTagName||"h2",u=e.options.footnoteLabelProperties||{className:["sr-only"]},c=[];let m=-1;for(;++m<e.footnoteOrder.length;){const f=e.footnoteById.get(e.footnoteOrder[m]);if(!f)continue;const g=e.all(f),b=String(f.identifier).toUpperCase(),d=Hr(b.toLowerCase());let p=0;const A=[],B=e.footnoteCounts.get(b);for(;B!==void 0&&++p<=B;){A.length>0&&A.push({type:"text",value:" "});let L=typeof r=="string"?r:r(m,p);typeof L=="string"&&(L={type:"text",value:L}),A.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+d+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof n=="string"?n:n(m,p),className:["data-footnote-backref"]},children:Array.isArray(L)?L:[L]})}const H=g[g.length-1];if(H&&H.type==="element"&&H.tagName==="p"){const L=H.children[H.children.length-1];L&&L.type==="text"?L.value+=" ":H.children.push({type:"text",value:" "}),H.children.push(...A)}else g.push(...A);const R={type:"element",tagName:"li",properties:{id:t+"fn-"+d},children:e.wrap(g,!0)};e.patch(f,R),c.push(R)}if(c.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:l,properties:{...$n(u),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:`
37
+ `});const f={type:"element",tagName:"li",properties:l,children:u};return e.patch(t,f),e.applyData(t,f)}function vm(e){let t=!1;if(e.type==="list"){t=e.spread||!1;const r=e.children;let n=-1;for(;!t&&++n<r.length;)t=uo(r[n])}return t}function uo(e){const t=e.spread;return t??e.children.length>1}function wm(e,t){const r={},n=e.all(t);let a=-1;for(typeof t.start=="number"&&t.start!==1&&(r.start=t.start);++a<n.length;){const u=n[a];if(u.type==="element"&&u.tagName==="li"&&u.properties&&Array.isArray(u.properties.className)&&u.properties.className.includes("task-list-item")){r.className=["contains-task-list"];break}}const l={type:"element",tagName:t.ordered?"ol":"ul",properties:r,children:e.wrap(n,!0)};return e.patch(t,l),e.applyData(t,l)}function km(e,t){const r={type:"element",tagName:"p",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Sm(e,t){const r={type:"root",children:e.wrap(e.all(t))};return e.patch(t,r),e.applyData(t,r)}function Mm(e,t){const r={type:"element",tagName:"strong",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}function Am(e,t){const r=e.all(t),n=r.shift(),a=[];if(n){const u={type:"element",tagName:"thead",properties:{},children:e.wrap([n],!0)};e.patch(t.children[0],u),a.push(u)}if(r.length>0){const u={type:"element",tagName:"tbody",properties:{},children:e.wrap(r,!0)},c=Gi(t.children[1]),m=Es(t.children[t.children.length-1]);c&&m&&(u.position={start:c,end:m}),a.push(u)}const l={type:"element",tagName:"table",properties:{},children:e.wrap(a,!0)};return e.patch(t,l),e.applyData(t,l)}function zm(e,t,r){const n=r?r.children:void 0,l=(n?n.indexOf(t):1)===0?"th":"td",u=r&&r.type==="table"?r.align:void 0,c=u?u.length:t.children.length;let m=-1;const f=[];for(;++m<c;){const b=t.children[m],d={},p=u?u[m]:void 0;p&&(d.align=p);let A={type:"element",tagName:l,properties:d,children:[]};b&&(A.children=e.all(b),e.patch(b,A),A=e.applyData(b,A)),f.push(A)}const g={type:"element",tagName:"tr",properties:{},children:e.wrap(f,!0)};return e.patch(t,g),e.applyData(t,g)}function Tm(e,t){const r={type:"element",tagName:"td",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)}const co=9,ho=32;function Cm(e){const t=String(e),r=/\r?\n|\r/g;let n=r.exec(t),a=0;const l=[];for(;n;)l.push(mo(t.slice(a,n.index),a>0,!0),n[0]),a=n.index+n[0].length,n=r.exec(t);return l.push(mo(t.slice(a),a>0,!1)),l.join("")}function mo(e,t,r){let n=0,a=e.length;if(t){let l=e.codePointAt(n);for(;l===co||l===ho;)n++,l=e.codePointAt(n)}if(r){let l=e.codePointAt(a-1);for(;l===co||l===ho;)a--,l=e.codePointAt(a-1)}return a>n?e.slice(n,a):""}function Em(e,t){const r={type:"text",value:Cm(String(t.value))};return e.patch(t,r),e.applyData(t,r)}function Dm(e,t){const r={type:"element",tagName:"hr",properties:{},children:[]};return e.patch(t,r),e.applyData(t,r)}const Bm={blockquote:lm,break:sm,code:om,delete:um,emphasis:cm,footnoteReference:hm,heading:mm,html:dm,imageReference:pm,image:fm,inlineCode:gm,linkReference:ym,link:bm,listItem:xm,list:wm,paragraph:km,root:Sm,strong:Mm,table:Am,tableCell:Tm,tableRow:zm,text:Em,thematicBreak:Dm,toml:Vn,yaml:Vn,definition:Vn,footnoteDefinition:Vn};function Vn(){}const po=-1,jn=0,dn=1,Gn=2,ia=3,aa=4,la=5,sa=6,fo=7,go=8,yo=typeof self=="object"?self:globalThis,Nm=(e,t)=>{const r=(a,l)=>(e.set(l,a),a),n=a=>{if(e.has(a))return e.get(a);const[l,u]=t[a];switch(l){case jn:case po:return r(u,a);case dn:{const c=r([],a);for(const m of u)c.push(n(m));return c}case Gn:{const c=r({},a);for(const[m,f]of u)c[n(m)]=n(f);return c}case ia:return r(new Date(u),a);case aa:{const{source:c,flags:m}=u;return r(new RegExp(c,m),a)}case la:{const c=r(new Map,a);for(const[m,f]of u)c.set(n(m),n(f));return c}case sa:{const c=r(new Set,a);for(const m of u)c.add(n(m));return c}case fo:{const{name:c,message:m}=u;return r(new yo[c](m),a)}case go:return r(BigInt(u),a);case"BigInt":return r(Object(BigInt(u)),a);case"ArrayBuffer":return r(new Uint8Array(u).buffer,u);case"DataView":{const{buffer:c}=new Uint8Array(u);return r(new DataView(c),u)}}return r(new yo[l](u),a)};return n},bo=e=>Nm(new Map,e)(0),Gr="",{toString:Im}={},{keys:Rm}=Object,pn=e=>{const t=typeof e;if(t!=="object"||!e)return[jn,t];const r=Im.call(e).slice(8,-1);switch(r){case"Array":return[dn,Gr];case"Object":return[Gn,Gr];case"Date":return[ia,Gr];case"RegExp":return[aa,Gr];case"Map":return[la,Gr];case"Set":return[sa,Gr];case"DataView":return[dn,r]}return r.includes("Array")?[dn,r]:r.includes("Error")?[fo,r]:[Gn,r]},Un=([e,t])=>e===jn&&(t==="function"||t==="symbol"),_m=(e,t,r,n)=>{const a=(u,c)=>{const m=n.push(u)-1;return r.set(c,m),m},l=u=>{if(r.has(u))return r.get(u);let[c,m]=pn(u);switch(c){case jn:{let g=u;switch(m){case"bigint":c=go,g=u.toString();break;case"function":case"symbol":if(e)throw new TypeError("unable to serialize "+m);g=null;break;case"undefined":return a([po],u)}return a([c,g],u)}case dn:{if(m){let d=u;return m==="DataView"?d=new Uint8Array(u.buffer):m==="ArrayBuffer"&&(d=new Uint8Array(u)),a([m,[...d]],u)}const g=[],b=a([c,g],u);for(const d of u)g.push(l(d));return b}case Gn:{if(m)switch(m){case"BigInt":return a([m,u.toString()],u);case"Boolean":case"Number":case"String":return a([m,u.valueOf()],u)}if(t&&"toJSON"in u)return l(u.toJSON());const g=[],b=a([c,g],u);for(const d of Rm(u))(e||!Un(pn(u[d])))&&g.push([l(d),l(u[d])]);return b}case ia:return a([c,u.toISOString()],u);case aa:{const{source:g,flags:b}=u;return a([c,{source:g,flags:b}],u)}case la:{const g=[],b=a([c,g],u);for(const[d,p]of u)(e||!(Un(pn(d))||Un(pn(p))))&&g.push([l(d),l(p)]);return b}case sa:{const g=[],b=a([c,g],u);for(const d of u)(e||!Un(pn(d)))&&g.push(l(d));return b}}const{message:f}=u;return a([c,{name:m,message:f}],u)};return l},xo=(e,{json:t,lossy:r}={})=>{const n=[];return _m(!(t||r),!!t,new Map,n)(e),n},Wn=typeof structuredClone=="function"?(e,t)=>t&&("json"in t||"lossy"in t)?bo(xo(e,t)):structuredClone(e):(e,t)=>bo(xo(e,t));function qm(e,t){const r=[{type:"text",value:"↩"}];return t>1&&r.push({type:"element",tagName:"sup",properties:{},children:[{type:"text",value:String(t)}]}),r}function Om(e,t){return"Back to reference "+(e+1)+(t>1?"-"+t:"")}function Fm(e){const t=typeof e.options.clobberPrefix=="string"?e.options.clobberPrefix:"user-content-",r=e.options.footnoteBackContent||qm,n=e.options.footnoteBackLabel||Om,a=e.options.footnoteLabel||"Footnotes",l=e.options.footnoteLabelTagName||"h2",u=e.options.footnoteLabelProperties||{className:["sr-only"]},c=[];let m=-1;for(;++m<e.footnoteOrder.length;){const f=e.footnoteById.get(e.footnoteOrder[m]);if(!f)continue;const g=e.all(f),b=String(f.identifier).toUpperCase(),d=Vr(b.toLowerCase());let p=0;const A=[],N=e.footnoteCounts.get(b);for(;N!==void 0&&++p<=N;){A.length>0&&A.push({type:"text",value:" "});let P=typeof r=="string"?r:r(m,p);typeof P=="string"&&(P={type:"text",value:P}),A.push({type:"element",tagName:"a",properties:{href:"#"+t+"fnref-"+d+(p>1?"-"+p:""),dataFootnoteBackref:"",ariaLabel:typeof n=="string"?n:n(m,p),className:["data-footnote-backref"]},children:Array.isArray(P)?P:[P]})}const O=g[g.length-1];if(O&&O.type==="element"&&O.tagName==="p"){const P=O.children[O.children.length-1];P&&P.type==="text"?P.value+=" ":O.children.push({type:"text",value:" "}),O.children.push(...A)}else g.push(...A);const q={type:"element",tagName:"li",properties:{id:t+"fn-"+d},children:e.wrap(g,!0)};e.patch(f,q),c.push(q)}if(c.length!==0)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:l,properties:{...Wn(u),id:"footnote-label"},children:[{type:"text",value:a}]},{type:"text",value:`
38
38
  `},{type:"element",tagName:"ol",properties:{},children:e.wrap(c,!0)},{type:"text",value:`
39
- `}]}}const bn=(function(e){if(e==null)return P5;if(typeof e=="function")return Vn(e);if(typeof e=="object")return Array.isArray(e)?O5(e):F5(e);if(typeof e=="string")return L5(e);throw new Error("Expected function, string, or object as test")});function O5(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=bn(e[r]);return Vn(n);function n(...a){let l=-1;for(;++l<t.length;)if(t[l].apply(this,a))return!0;return!1}}function F5(e){const t=e;return Vn(r);function r(n){const a=n;let l;for(l in e)if(a[l]!==t[l])return!1;return!0}}function L5(e){return Vn(t);function t(r){return r&&r.type===e}}function Vn(e){return t;function t(r,n,a){return!!(H5(r)&&e.call(this,r,typeof n=="number"?n:void 0,a||void 0))}}function P5(){return!0}function H5(e){return e!==null&&typeof e=="object"&&"type"in e}function Qf(e){return e}const wo=[],$5=!0,oa=!1,ko="skip";function ua(e,t,r,n){let a;typeof t=="function"&&typeof r!="function"?(n=r,r=t):a=t;const l=bn(a),u=n?-1:1;c(e,void 0,[])();function c(m,f,g){const b=m&&typeof m=="object"?m:{};if(typeof b.type=="string"){const p=typeof b.tagName=="string"?b.tagName:typeof b.name=="string"?b.name:void 0;Object.defineProperty(d,"name",{value:"node ("+(m.type+(p?"<"+p+">":""))+")"})}return d;function d(){let p=wo,A,B,H;if((!t||l(m,f,g[g.length-1]||void 0))&&(p=V5(r(m,g)),p[0]===oa))return p;if("children"in m&&m.children){const R=m;if(R.children&&p[0]!==ko)for(B=(n?R.children.length:-1)+u,H=g.concat(R);B>-1&&B<R.children.length;){const L=R.children[B];if(A=c(L,B,H)(),A[0]===oa)return A;B=typeof A[1]=="number"?A[1]:B+u}}return p}}}function V5(e){return Array.isArray(e)?e:typeof e=="number"?[$5,e]:e==null?wo:[e]}function ca(e,t,r,n){let a,l,u;typeof t=="function"&&typeof r!="function"?(l=void 0,u=t,a=r):(l=t,u=r,a=n),ua(e,l,c,a);function c(m,f){const g=f[f.length-1],b=g?g.children.indexOf(m):void 0;return u(m,b,g)}}const ha={}.hasOwnProperty,j5={};function G5(e,t){const r=t||j5,n=new Map,a=new Map,l=new Map,u={...E5,...r.handlers},c={all:f,applyData:W5,definitionById:n,footnoteById:a,footnoteCounts:l,footnoteOrder:[],handlers:u,one:m,options:r,patch:U5,wrap:X5};return ca(e,function(g){if(g.type==="definition"||g.type==="footnoteDefinition"){const b=g.type==="definition"?n:a,d=String(g.identifier).toUpperCase();b.has(d)||b.set(d,g)}}),c;function m(g,b){const d=g.type,p=c.handlers[d];if(ha.call(c.handlers,d)&&p)return p(c,g,b);if(c.options.passThrough&&c.options.passThrough.includes(d)){if("children"in g){const{children:B,...H}=g,R=$n(H);return R.children=c.all(g),R}return $n(g)}return(c.options.unknownHandler||Y5)(c,g,b)}function f(g){const b=[];if("children"in g){const d=g.children;let p=-1;for(;++p<d.length;){const A=c.one(d[p],g);if(A){if(p&&d[p-1].type==="break"&&(!Array.isArray(A)&&A.type==="text"&&(A.value=So(A.value)),!Array.isArray(A)&&A.type==="element")){const B=A.children[0];B&&B.type==="text"&&(B.value=So(B.value))}Array.isArray(A)?b.push(...A):b.push(A)}}}return b}}function U5(e,t){e.position&&(t.position=j4(e))}function W5(e,t){let r=t;if(e&&e.data){const n=e.data.hName,a=e.data.hChildren,l=e.data.hProperties;if(typeof n=="string")if(r.type==="element")r.tagName=n;else{const u="children"in r?r.children:[r];r={type:"element",tagName:n,properties:{},children:u}}r.type==="element"&&l&&Object.assign(r.properties,$n(l)),"children"in r&&r.children&&a!==null&&a!==void 0&&(r.children=a)}return r}function Y5(e,t){const r=t.data||{},n="value"in t&&!(ha.call(r,"hProperties")||ha.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)}function X5(e,t){const r=[];let n=-1;for(t&&r.push({type:"text",value:`
39
+ `}]}}const fn=(function(e){if(e==null)return $m;if(typeof e=="function")return Yn(e);if(typeof e=="object")return Array.isArray(e)?Lm(e):Pm(e);if(typeof e=="string")return Hm(e);throw new Error("Expected function, string, or object as test")});function Lm(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=fn(e[r]);return Yn(n);function n(...a){let l=-1;for(;++l<t.length;)if(t[l].apply(this,a))return!0;return!1}}function Pm(e){const t=e;return Yn(r);function r(n){const a=n;let l;for(l in e)if(a[l]!==t[l])return!1;return!0}}function Hm(e){return Yn(t);function t(r){return r&&r.type===e}}function Yn(e){return t;function t(r,n,a){return!!(Vm(r)&&e.call(this,r,typeof n=="number"?n:void 0,a||void 0))}}function $m(){return!0}function Vm(e){return e!==null&&typeof e=="object"&&"type"in e}function e8(e){return e}const vo=[],jm=!0,oa=!1,wo="skip";function ua(e,t,r,n){let a;typeof t=="function"&&typeof r!="function"?(n=r,r=t):a=t;const l=fn(a),u=n?-1:1;c(e,void 0,[])();function c(m,f,g){const b=m&&typeof m=="object"?m:{};if(typeof b.type=="string"){const p=typeof b.tagName=="string"?b.tagName:typeof b.name=="string"?b.name:void 0;Object.defineProperty(d,"name",{value:"node ("+(m.type+(p?"<"+p+">":""))+")"})}return d;function d(){let p=vo,A,N,O;if((!t||l(m,f,g[g.length-1]||void 0))&&(p=Gm(r(m,g)),p[0]===oa))return p;if("children"in m&&m.children){const q=m;if(q.children&&p[0]!==wo)for(N=(n?q.children.length:-1)+u,O=g.concat(q);N>-1&&N<q.children.length;){const P=q.children[N];if(A=c(P,N,O)(),A[0]===oa)return A;N=typeof A[1]=="number"?A[1]:N+u}}return p}}}function Gm(e){return Array.isArray(e)?e:typeof e=="number"?[jm,e]:e==null?vo:[e]}function ca(e,t,r,n){let a,l,u;typeof t=="function"&&typeof r!="function"?(l=void 0,u=t,a=r):(l=t,u=r,a=n),ua(e,l,c,a);function c(m,f){const g=f[f.length-1],b=g?g.children.indexOf(m):void 0;return u(m,b,g)}}const ha={}.hasOwnProperty,Um={};function Wm(e,t){const r=t||Um,n=new Map,a=new Map,l=new Map,u={...Bm,...r.handlers},c={all:f,applyData:Xm,definitionById:n,footnoteById:a,footnoteCounts:l,footnoteOrder:[],handlers:u,one:m,options:r,patch:Ym,wrap:Km};return ca(e,function(g){if(g.type==="definition"||g.type==="footnoteDefinition"){const b=g.type==="definition"?n:a,d=String(g.identifier).toUpperCase();b.has(d)||b.set(d,g)}}),c;function m(g,b){const d=g.type,p=c.handlers[d];if(ha.call(c.handlers,d)&&p)return p(c,g,b);if(c.options.passThrough&&c.options.passThrough.includes(d)){if("children"in g){const{children:N,...O}=g,q=Wn(O);return q.children=c.all(g),q}return Wn(g)}return(c.options.unknownHandler||Zm)(c,g,b)}function f(g){const b=[];if("children"in g){const d=g.children;let p=-1;for(;++p<d.length;){const A=c.one(d[p],g);if(A){if(p&&d[p-1].type==="break"&&(!Array.isArray(A)&&A.type==="text"&&(A.value=ko(A.value)),!Array.isArray(A)&&A.type==="element")){const N=A.children[0];N&&N.type==="text"&&(N.value=ko(N.value))}Array.isArray(A)?b.push(...A):b.push(A)}}}return b}}function Ym(e,t){e.position&&(t.position=U4(e))}function Xm(e,t){let r=t;if(e&&e.data){const n=e.data.hName,a=e.data.hChildren,l=e.data.hProperties;if(typeof n=="string")if(r.type==="element")r.tagName=n;else{const u="children"in r?r.children:[r];r={type:"element",tagName:n,properties:{},children:u}}r.type==="element"&&l&&Object.assign(r.properties,Wn(l)),"children"in r&&r.children&&a!==null&&a!==void 0&&(r.children=a)}return r}function Zm(e,t){const r=t.data||{},n="value"in t&&!(ha.call(r,"hProperties")||ha.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)}function Km(e,t){const r=[];let n=-1;for(t&&r.push({type:"text",value:`
40
40
  `});++n<e.length;)n&&r.push({type:"text",value:`
41
41
  `}),r.push(e[n]);return t&&e.length>0&&r.push({type:"text",value:`
42
- `}),r}function So(e){let t=0,r=e.charCodeAt(t);for(;r===9||r===32;)t++,r=e.charCodeAt(t);return e.slice(t)}function Mo(e,t){const r=G5(e,t),n=r.one(e,void 0),a=q5(r),l=Array.isArray(n)?{type:"root",children:n}:n||{type:"root",children:[]};return a&&l.children.push({type:"text",value:`
43
- `},a),l}function Z5(e,t){return e&&"run"in e?async function(r,n){const a=Mo(r,{file:n,...t});await e.run(a,n)}:function(r,n){return Mo(r,{file:n,...e||t})}}function Ao(e){if(e)throw e}var ma,To;function K5(){if(To)return ma;To=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,a=function(f){return typeof Array.isArray=="function"?Array.isArray(f):t.call(f)==="[object Array]"},l=function(f){if(!f||t.call(f)!=="[object Object]")return!1;var g=e.call(f,"constructor"),b=f.constructor&&f.constructor.prototype&&e.call(f.constructor.prototype,"isPrototypeOf");if(f.constructor&&!g&&!b)return!1;var d;for(d in f);return typeof d>"u"||e.call(f,d)},u=function(f,g){r&&g.name==="__proto__"?r(f,g.name,{enumerable:!0,configurable:!0,value:g.newValue,writable:!0}):f[g.name]=g.newValue},c=function(f,g){if(g==="__proto__")if(e.call(f,g)){if(n)return n(f,g).value}else return;return f[g]};return ma=function m(){var f,g,b,d,p,A,B=arguments[0],H=1,R=arguments.length,L=!1;for(typeof B=="boolean"&&(L=B,B=arguments[1]||{},H=2),(B==null||typeof B!="object"&&typeof B!="function")&&(B={});H<R;++H)if(f=arguments[H],f!=null)for(g in f)b=c(B,g),d=c(f,g),B!==d&&(L&&d&&(l(d)||(p=a(d)))?(p?(p=!1,A=b&&a(b)?b:[]):A=b&&l(b)?b:{},u(B,{name:g,newValue:m(L,A,d)})):typeof d<"u"&&u(B,{name:g,newValue:d}));return B},ma}var J5=K5();const da=ss(J5);function pa(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Q5(){const e=[],t={run:r,use:n};return t;function r(...a){let l=-1;const u=a.pop();if(typeof u!="function")throw new TypeError("Expected function as last argument, not "+u);c(null,...a);function c(m,...f){const g=e[++l];let b=-1;if(m){u(m);return}for(;++b<a.length;)(f[b]===null||f[b]===void 0)&&(f[b]=a[b]);a=f,g?em(g,c)(...f):u(null,...f)}}function n(a){if(typeof a!="function")throw new TypeError("Expected `middelware` to be a function, not "+a);return e.push(a),t}}function em(e,t){let r;return n;function n(...u){const c=e.length>u.length;let m;c&&u.push(a);try{m=e.apply(this,u)}catch(f){const g=f;if(c&&r)throw g;return a(g)}c||(m&&m.then&&typeof m.then=="function"?m.then(l,a):m instanceof Error?a(m):l(m))}function a(u,...c){r||(r=!0,t(u,...c))}function l(u){a(null,u)}}const I0={basename:tm,dirname:rm,extname:nm,join:im,sep:"/"};function tm(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');xn(e);let r=0,n=-1,a=e.length,l;if(t===void 0||t.length===0||t.length>e.length){for(;a--;)if(e.codePointAt(a)===47){if(l){r=a+1;break}}else n<0&&(l=!0,n=a+1);return n<0?"":e.slice(r,n)}if(t===e)return"";let u=-1,c=t.length-1;for(;a--;)if(e.codePointAt(a)===47){if(l){r=a+1;break}}else u<0&&(l=!0,u=a+1),c>-1&&(e.codePointAt(a)===t.codePointAt(c--)?c<0&&(n=a):(c=-1,n=u));return r===n?n=u:n<0&&(n=e.length),e.slice(r,n)}function rm(e){if(xn(e),e.length===0)return".";let t=-1,r=e.length,n;for(;--r;)if(e.codePointAt(r)===47){if(n){t=r;break}}else n||(n=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function nm(e){xn(e);let t=e.length,r=-1,n=0,a=-1,l=0,u;for(;t--;){const c=e.codePointAt(t);if(c===47){if(u){n=t+1;break}continue}r<0&&(u=!0,r=t+1),c===46?a<0?a=t:l!==1&&(l=1):a>-1&&(l=-1)}return a<0||r<0||l===0||l===1&&a===r-1&&a===n+1?"":e.slice(a,r)}function im(...e){let t=-1,r;for(;++t<e.length;)xn(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":am(r)}function am(e){xn(e);const t=e.codePointAt(0)===47;let r=lm(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function lm(e,t){let r="",n=0,a=-1,l=0,u=-1,c,m;for(;++u<=e.length;){if(u<e.length)c=e.codePointAt(u);else{if(c===47)break;c=47}if(c===47){if(!(a===u-1||l===1))if(a!==u-1&&l===2){if(r.length<2||n!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(m=r.lastIndexOf("/"),m!==r.length-1){m<0?(r="",n=0):(r=r.slice(0,m),n=r.length-1-r.lastIndexOf("/")),a=u,l=0;continue}}else if(r.length>0){r="",n=0,a=u,l=0;continue}}t&&(r=r.length>0?r+"/..":"..",n=2)}else r.length>0?r+="/"+e.slice(a+1,u):r=e.slice(a+1,u),n=u-a-1;a=u,l=0}else c===46&&l>-1?l++:l=-1}return r}function xn(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const sm={cwd:om};function om(){return"/"}function fa(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function um(e){if(typeof e=="string")e=new URL(e);else if(!fa(e)){const t=new 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(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return cm(e)}function cm(e){if(e.hostname!==""){const n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}const t=e.pathname;let r=-1;for(;++r<t.length;)if(t.codePointAt(r)===37&&t.codePointAt(r+1)===50){const n=t.codePointAt(r+2);if(n===70||n===102){const a=new TypeError("File URL path must not include encoded / characters");throw a.code="ERR_INVALID_FILE_URL_PATH",a}}return decodeURIComponent(t)}const ga=["history","path","basename","stem","extname","dirname"];class zo{constructor(t){let r;t?fa(t)?r={path:t}:typeof t=="string"||hm(t)?r={value:t}:r=t:r={},this.cwd="cwd"in r?"":sm.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<ga.length;){const l=ga[n];l in r&&r[l]!==void 0&&r[l]!==null&&(this[l]=l==="history"?[...r[l]]:r[l])}let a;for(a in r)ga.includes(a)||(this[a]=r[a])}get basename(){return typeof this.path=="string"?I0.basename(this.path):void 0}set basename(t){ba(t,"basename"),ya(t,"basename"),this.path=I0.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?I0.dirname(this.path):void 0}set dirname(t){Co(this.basename,"dirname"),this.path=I0.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?I0.extname(this.path):void 0}set extname(t){if(ya(t,"extname"),Co(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=I0.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){fa(t)&&(t=um(t)),ba(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?I0.basename(this.path,this.extname):void 0}set stem(t){ba(t,"stem"),ya(t,"stem"),this.path=I0.join(this.dirname||"",t+(this.extname||""))}fail(t,r,n){const a=this.message(t,r,n);throw a.fatal=!0,a}info(t,r,n){const a=this.message(t,r,n);return a.fatal=void 0,a}message(t,r,n){const a=new $t(t,r,n);return this.path&&(a.name=this.path+":"+a.name,a.file=this.path),a.fatal=!1,this.messages.push(a),a}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function ya(e,t){if(e&&e.includes(I0.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+I0.sep+"`")}function ba(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function Co(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function hm(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const mm=(function(e){const n=this.constructor.prototype,a=n[e],l=function(){return a.apply(l,arguments)};return Object.setPrototypeOf(l,n),l}),dm={}.hasOwnProperty;class xa extends mm{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=Q5()}copy(){const t=new xa;let r=-1;for(;++r<this.attachers.length;){const n=this.attachers[r];t.use(...n)}return t.data(da(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(ka("data",this.frozen),this.namespace[t]=r,this):dm.call(this.namespace,t)&&this.namespace[t]||void 0:t?(ka("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);const a=r.call(t,...n);typeof a=="function"&&this.transformers.use(a)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const r=jn(t),n=this.parser||this.Parser;return va("parse",n),n(String(r),r)}process(t,r){const n=this;return this.freeze(),va("process",this.parser||this.Parser),wa("process",this.compiler||this.Compiler),r?a(void 0,r):new Promise(a);function a(l,u){const c=jn(t),m=n.parse(c);n.run(m,c,function(g,b,d){if(g||!b||!d)return f(g);const p=b,A=n.stringify(p,d);gm(A)?d.value=A:d.result=A,f(g,d)});function f(g,b){g||!b?u(g):l?l(b):r(void 0,b)}}}processSync(t){let r=!1,n;return this.freeze(),va("processSync",this.parser||this.Parser),wa("processSync",this.compiler||this.Compiler),this.process(t,a),Do("processSync","process",r),n;function a(l,u){r=!0,Ao(l),n=u}}run(t,r,n){Eo(t),this.freeze();const a=this.transformers;return!n&&typeof r=="function"&&(n=r,r=void 0),n?l(void 0,n):new Promise(l);function l(u,c){const m=jn(r);a.run(t,m,f);function f(g,b,d){const p=b||t;g?c(g):u?u(p):n(void 0,p,d)}}}runSync(t,r){let n=!1,a;return this.run(t,r,l),Do("runSync","run",n),a;function l(u,c){Ao(u),a=c,n=!0}}stringify(t,r){this.freeze();const n=jn(r),a=this.compiler||this.Compiler;return wa("stringify",a),Eo(t),a(t,n)}use(t,...r){const n=this.attachers,a=this.namespace;if(ka("use",this.frozen),t!=null)if(typeof t=="function")m(t,r);else if(typeof t=="object")Array.isArray(t)?c(t):u(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function l(f){if(typeof f=="function")m(f,[]);else if(typeof f=="object")if(Array.isArray(f)){const[g,...b]=f;m(g,b)}else u(f);else throw new TypeError("Expected usable value, not `"+f+"`")}function u(f){if(!("plugins"in f)&&!("settings"in f))throw new 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");c(f.plugins),f.settings&&(a.settings=da(!0,a.settings,f.settings))}function c(f){let g=-1;if(f!=null)if(Array.isArray(f))for(;++g<f.length;){const b=f[g];l(b)}else throw new TypeError("Expected a list of plugins, not `"+f+"`")}function m(f,g){let b=-1,d=-1;for(;++b<n.length;)if(n[b][0]===f){d=b;break}if(d===-1)n.push([f,...g]);else if(g.length>0){let[p,...A]=g;const B=n[d][1];pa(B)&&pa(p)&&(p=da(!0,B,p)),n[d]=[f,p,...A]}}}}const pm=new xa().freeze();function va(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function wa(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function ka(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Eo(e){if(!pa(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Do(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function jn(e){return fm(e)?e:new zo(e)}function fm(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function gm(e){return typeof e=="string"||ym(e)}function ym(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const bm="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Bo=[],No={allowDangerousHtml:!0},xm=/^(https?|ircs?|mailto|xmpp)$/i,vm=[{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 wm(e){const t=km(e),r=Sm(e);return Mm(t.runSync(t.parse(r),r),e)}function km(e){const t=e.rehypePlugins||Bo,r=e.remarkPlugins||Bo,n=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...No}:No;return pm().use(n5).use(r).use(Z5,n).use(t)}function Sm(e){const t=e.children||"",r=new zo;return typeof t=="string"&&(r.value=t),r}function Mm(e,t){const r=t.allowedElements,n=t.allowElement,a=t.components,l=t.disallowedElements,u=t.skipHtml,c=t.unwrapDisallowed,m=t.urlTransform||Am;for(const g of vm)Object.hasOwn(t,g.from)&&(""+g.from+(g.to?"use `"+g.to+"` instead":"remove it")+bm+g.id,void 0);return ca(e,f),X4(e,{Fragment:Or.Fragment,components:a,ignoreInvalidStyle:!0,jsx:Or.jsx,jsxs:Or.jsxs,passKeys:!0,passNode:!0});function f(g,b,d){if(g.type==="raw"&&d&&typeof b=="number")return u?d.children.splice(b,1):d.children[b]={type:"text",value:g.value},b;if(g.type==="element"){let p;for(p in Zi)if(Object.hasOwn(Zi,p)&&Object.hasOwn(g.properties,p)){const A=g.properties[p],B=Zi[p];(B===null||B.includes(g.tagName))&&(g.properties[p]=m(String(A||""),p,g))}}if(g.type==="element"){let p=r?!r.includes(g.tagName):l?l.includes(g.tagName):!1;if(!p&&n&&typeof b=="number"&&(p=!n(g,b,d)),p&&d&&typeof b=="number")return c&&g.children?d.children.splice(b,1,...g.children):d.children.splice(b,1),b}}}function Am(e){const t=e.indexOf(":"),r=e.indexOf("?"),n=e.indexOf("#"),a=e.indexOf("/");return t===-1||a!==-1&&t>a||r!==-1&&t>r||n!==-1&&t>n||xm.test(e.slice(0,t))?e:""}function Io(e,t){const r=String(e);let n=r.indexOf(t),a=n,l=0,u=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;n!==-1;)n===a?++l>u&&(u=l):l=1,a=n+t.length,n=r.indexOf(t,a);return u}function Tm(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:l},exit:{mathFlow:a,mathFlowFence:n,mathFlowFenceMeta:r,mathFlowValue:c,mathText:u,mathTextData:c}};function e(m){const f={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[f]}},m)}function t(){this.buffer()}function r(){const m=this.resume(),f=this.stack[this.stack.length-1];f.type,f.meta=m}function n(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function a(m){const f=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),g=this.stack[this.stack.length-1];g.type,this.exit(m),g.value=f;const b=g.data.hChildren[0];b.type,b.tagName,b.children.push({type:"text",value:f}),this.data.mathFlowInside=void 0}function l(m){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},m),this.buffer()}function u(m){const f=this.resume(),g=this.stack[this.stack.length-1];g.type,this.exit(m),g.value=f,g.data.hChildren.push({type:"text",value:f})}function c(m){this.config.enter.data.call(this,m),this.config.exit.data.call(this,m)}}function zm(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),n.peek=a,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
44
- `,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:r,inlineMath:n}};function r(l,u,c,m){const f=l.value||"",g=c.createTracker(m),b="$".repeat(Math.max(Io(f,"$")+1,2)),d=c.enter("mathFlow");let p=g.move(b);if(l.meta){const A=c.enter("mathFlowMeta");p+=g.move(c.safe(l.meta,{after:`
42
+ `}),r}function ko(e){let t=0,r=e.charCodeAt(t);for(;r===9||r===32;)t++,r=e.charCodeAt(t);return e.slice(t)}function So(e,t){const r=Wm(e,t),n=r.one(e,void 0),a=Fm(r),l=Array.isArray(n)?{type:"root",children:n}:n||{type:"root",children:[]};return a&&l.children.push({type:"text",value:`
43
+ `},a),l}function Jm(e,t){return e&&"run"in e?async function(r,n){const a=So(r,{file:n,...t});await e.run(a,n)}:function(r,n){return So(r,{file:n,...e||t})}}function Mo(e){if(e)throw e}var ma,Ao;function Qm(){if(Ao)return ma;Ao=1;var e=Object.prototype.hasOwnProperty,t=Object.prototype.toString,r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,a=function(f){return typeof Array.isArray=="function"?Array.isArray(f):t.call(f)==="[object Array]"},l=function(f){if(!f||t.call(f)!=="[object Object]")return!1;var g=e.call(f,"constructor"),b=f.constructor&&f.constructor.prototype&&e.call(f.constructor.prototype,"isPrototypeOf");if(f.constructor&&!g&&!b)return!1;var d;for(d in f);return typeof d>"u"||e.call(f,d)},u=function(f,g){r&&g.name==="__proto__"?r(f,g.name,{enumerable:!0,configurable:!0,value:g.newValue,writable:!0}):f[g.name]=g.newValue},c=function(f,g){if(g==="__proto__")if(e.call(f,g)){if(n)return n(f,g).value}else return;return f[g]};return ma=function m(){var f,g,b,d,p,A,N=arguments[0],O=1,q=arguments.length,P=!1;for(typeof N=="boolean"&&(P=N,N=arguments[1]||{},O=2),(N==null||typeof N!="object"&&typeof N!="function")&&(N={});O<q;++O)if(f=arguments[O],f!=null)for(g in f)b=c(N,g),d=c(f,g),N!==d&&(P&&d&&(l(d)||(p=a(d)))?(p?(p=!1,A=b&&a(b)?b:[]):A=b&&l(b)?b:{},u(N,{name:g,newValue:m(P,A,d)})):typeof d<"u"&&u(N,{name:g,newValue:d}));return N},ma}var e5=Qm();const da=ls(e5);function pa(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function t5(){const e=[],t={run:r,use:n};return t;function r(...a){let l=-1;const u=a.pop();if(typeof u!="function")throw new TypeError("Expected function as last argument, not "+u);c(null,...a);function c(m,...f){const g=e[++l];let b=-1;if(m){u(m);return}for(;++b<a.length;)(f[b]===null||f[b]===void 0)&&(f[b]=a[b]);a=f,g?r5(g,c)(...f):u(null,...f)}}function n(a){if(typeof a!="function")throw new TypeError("Expected `middelware` to be a function, not "+a);return e.push(a),t}}function r5(e,t){let r;return n;function n(...u){const c=e.length>u.length;let m;c&&u.push(a);try{m=e.apply(this,u)}catch(f){const g=f;if(c&&r)throw g;return a(g)}c||(m&&m.then&&typeof m.then=="function"?m.then(l,a):m instanceof Error?a(m):l(m))}function a(u,...c){r||(r=!0,t(u,...c))}function l(u){a(null,u)}}const B0={basename:n5,dirname:i5,extname:a5,join:l5,sep:"/"};function n5(e,t){if(t!==void 0&&typeof t!="string")throw new TypeError('"ext" argument must be a string');gn(e);let r=0,n=-1,a=e.length,l;if(t===void 0||t.length===0||t.length>e.length){for(;a--;)if(e.codePointAt(a)===47){if(l){r=a+1;break}}else n<0&&(l=!0,n=a+1);return n<0?"":e.slice(r,n)}if(t===e)return"";let u=-1,c=t.length-1;for(;a--;)if(e.codePointAt(a)===47){if(l){r=a+1;break}}else u<0&&(l=!0,u=a+1),c>-1&&(e.codePointAt(a)===t.codePointAt(c--)?c<0&&(n=a):(c=-1,n=u));return r===n?n=u:n<0&&(n=e.length),e.slice(r,n)}function i5(e){if(gn(e),e.length===0)return".";let t=-1,r=e.length,n;for(;--r;)if(e.codePointAt(r)===47){if(n){t=r;break}}else n||(n=!0);return t<0?e.codePointAt(0)===47?"/":".":t===1&&e.codePointAt(0)===47?"//":e.slice(0,t)}function a5(e){gn(e);let t=e.length,r=-1,n=0,a=-1,l=0,u;for(;t--;){const c=e.codePointAt(t);if(c===47){if(u){n=t+1;break}continue}r<0&&(u=!0,r=t+1),c===46?a<0?a=t:l!==1&&(l=1):a>-1&&(l=-1)}return a<0||r<0||l===0||l===1&&a===r-1&&a===n+1?"":e.slice(a,r)}function l5(...e){let t=-1,r;for(;++t<e.length;)gn(e[t]),e[t]&&(r=r===void 0?e[t]:r+"/"+e[t]);return r===void 0?".":s5(r)}function s5(e){gn(e);const t=e.codePointAt(0)===47;let r=o5(e,!t);return r.length===0&&!t&&(r="."),r.length>0&&e.codePointAt(e.length-1)===47&&(r+="/"),t?"/"+r:r}function o5(e,t){let r="",n=0,a=-1,l=0,u=-1,c,m;for(;++u<=e.length;){if(u<e.length)c=e.codePointAt(u);else{if(c===47)break;c=47}if(c===47){if(!(a===u-1||l===1))if(a!==u-1&&l===2){if(r.length<2||n!==2||r.codePointAt(r.length-1)!==46||r.codePointAt(r.length-2)!==46){if(r.length>2){if(m=r.lastIndexOf("/"),m!==r.length-1){m<0?(r="",n=0):(r=r.slice(0,m),n=r.length-1-r.lastIndexOf("/")),a=u,l=0;continue}}else if(r.length>0){r="",n=0,a=u,l=0;continue}}t&&(r=r.length>0?r+"/..":"..",n=2)}else r.length>0?r+="/"+e.slice(a+1,u):r=e.slice(a+1,u),n=u-a-1;a=u,l=0}else c===46&&l>-1?l++:l=-1}return r}function gn(e){if(typeof e!="string")throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}const u5={cwd:c5};function c5(){return"/"}function fa(e){return!!(e!==null&&typeof e=="object"&&"href"in e&&e.href&&"protocol"in e&&e.protocol&&e.auth===void 0)}function h5(e){if(typeof e=="string")e=new URL(e);else if(!fa(e)){const t=new 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(e.protocol!=="file:"){const t=new TypeError("The URL must be of scheme file");throw t.code="ERR_INVALID_URL_SCHEME",t}return m5(e)}function m5(e){if(e.hostname!==""){const n=new TypeError('File URL host must be "localhost" or empty on darwin');throw n.code="ERR_INVALID_FILE_URL_HOST",n}const t=e.pathname;let r=-1;for(;++r<t.length;)if(t.codePointAt(r)===37&&t.codePointAt(r+1)===50){const n=t.codePointAt(r+2);if(n===70||n===102){const a=new TypeError("File URL path must not include encoded / characters");throw a.code="ERR_INVALID_FILE_URL_PATH",a}}return decodeURIComponent(t)}const ga=["history","path","basename","stem","extname","dirname"];class zo{constructor(t){let r;t?fa(t)?r={path:t}:typeof t=="string"||d5(t)?r={value:t}:r=t:r={},this.cwd="cwd"in r?"":u5.cwd(),this.data={},this.history=[],this.messages=[],this.value,this.map,this.result,this.stored;let n=-1;for(;++n<ga.length;){const l=ga[n];l in r&&r[l]!==void 0&&r[l]!==null&&(this[l]=l==="history"?[...r[l]]:r[l])}let a;for(a in r)ga.includes(a)||(this[a]=r[a])}get basename(){return typeof this.path=="string"?B0.basename(this.path):void 0}set basename(t){ba(t,"basename"),ya(t,"basename"),this.path=B0.join(this.dirname||"",t)}get dirname(){return typeof this.path=="string"?B0.dirname(this.path):void 0}set dirname(t){To(this.basename,"dirname"),this.path=B0.join(t||"",this.basename)}get extname(){return typeof this.path=="string"?B0.extname(this.path):void 0}set extname(t){if(ya(t,"extname"),To(this.dirname,"extname"),t){if(t.codePointAt(0)!==46)throw new Error("`extname` must start with `.`");if(t.includes(".",1))throw new Error("`extname` cannot contain multiple dots")}this.path=B0.join(this.dirname,this.stem+(t||""))}get path(){return this.history[this.history.length-1]}set path(t){fa(t)&&(t=h5(t)),ba(t,"path"),this.path!==t&&this.history.push(t)}get stem(){return typeof this.path=="string"?B0.basename(this.path,this.extname):void 0}set stem(t){ba(t,"stem"),ya(t,"stem"),this.path=B0.join(this.dirname||"",t+(this.extname||""))}fail(t,r,n){const a=this.message(t,r,n);throw a.fatal=!0,a}info(t,r,n){const a=this.message(t,r,n);return a.fatal=void 0,a}message(t,r,n){const a=new $t(t,r,n);return this.path&&(a.name=this.path+":"+a.name,a.file=this.path),a.fatal=!1,this.messages.push(a),a}toString(t){return this.value===void 0?"":typeof this.value=="string"?this.value:new TextDecoder(t||void 0).decode(this.value)}}function ya(e,t){if(e&&e.includes(B0.sep))throw new Error("`"+t+"` cannot be a path: did not expect `"+B0.sep+"`")}function ba(e,t){if(!e)throw new Error("`"+t+"` cannot be empty")}function To(e,t){if(!e)throw new Error("Setting `"+t+"` requires `path` to be set too")}function d5(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const p5=(function(e){const n=this.constructor.prototype,a=n[e],l=function(){return a.apply(l,arguments)};return Object.setPrototypeOf(l,n),l}),f5={}.hasOwnProperty;class xa extends p5{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=t5()}copy(){const t=new xa;let r=-1;for(;++r<this.attachers.length;){const n=this.attachers[r];t.use(...n)}return t.data(da(!0,{},this.namespace)),t}data(t,r){return typeof t=="string"?arguments.length===2?(ka("data",this.frozen),this.namespace[t]=r,this):f5.call(this.namespace,t)&&this.namespace[t]||void 0:t?(ka("data",this.frozen),this.namespace=t,this):this.namespace}freeze(){if(this.frozen)return this;const t=this;for(;++this.freezeIndex<this.attachers.length;){const[r,...n]=this.attachers[this.freezeIndex];if(n[0]===!1)continue;n[0]===!0&&(n[0]=void 0);const a=r.call(t,...n);typeof a=="function"&&this.transformers.use(a)}return this.frozen=!0,this.freezeIndex=Number.POSITIVE_INFINITY,this}parse(t){this.freeze();const r=Xn(t),n=this.parser||this.Parser;return va("parse",n),n(String(r),r)}process(t,r){const n=this;return this.freeze(),va("process",this.parser||this.Parser),wa("process",this.compiler||this.Compiler),r?a(void 0,r):new Promise(a);function a(l,u){const c=Xn(t),m=n.parse(c);n.run(m,c,function(g,b,d){if(g||!b||!d)return f(g);const p=b,A=n.stringify(p,d);b5(A)?d.value=A:d.result=A,f(g,d)});function f(g,b){g||!b?u(g):l?l(b):r(void 0,b)}}}processSync(t){let r=!1,n;return this.freeze(),va("processSync",this.parser||this.Parser),wa("processSync",this.compiler||this.Compiler),this.process(t,a),Eo("processSync","process",r),n;function a(l,u){r=!0,Mo(l),n=u}}run(t,r,n){Co(t),this.freeze();const a=this.transformers;return!n&&typeof r=="function"&&(n=r,r=void 0),n?l(void 0,n):new Promise(l);function l(u,c){const m=Xn(r);a.run(t,m,f);function f(g,b,d){const p=b||t;g?c(g):u?u(p):n(void 0,p,d)}}}runSync(t,r){let n=!1,a;return this.run(t,r,l),Eo("runSync","run",n),a;function l(u,c){Mo(u),a=c,n=!0}}stringify(t,r){this.freeze();const n=Xn(r),a=this.compiler||this.Compiler;return wa("stringify",a),Co(t),a(t,n)}use(t,...r){const n=this.attachers,a=this.namespace;if(ka("use",this.frozen),t!=null)if(typeof t=="function")m(t,r);else if(typeof t=="object")Array.isArray(t)?c(t):u(t);else throw new TypeError("Expected usable value, not `"+t+"`");return this;function l(f){if(typeof f=="function")m(f,[]);else if(typeof f=="object")if(Array.isArray(f)){const[g,...b]=f;m(g,b)}else u(f);else throw new TypeError("Expected usable value, not `"+f+"`")}function u(f){if(!("plugins"in f)&&!("settings"in f))throw new 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");c(f.plugins),f.settings&&(a.settings=da(!0,a.settings,f.settings))}function c(f){let g=-1;if(f!=null)if(Array.isArray(f))for(;++g<f.length;){const b=f[g];l(b)}else throw new TypeError("Expected a list of plugins, not `"+f+"`")}function m(f,g){let b=-1,d=-1;for(;++b<n.length;)if(n[b][0]===f){d=b;break}if(d===-1)n.push([f,...g]);else if(g.length>0){let[p,...A]=g;const N=n[d][1];pa(N)&&pa(p)&&(p=da(!0,N,p)),n[d]=[f,p,...A]}}}}const g5=new xa().freeze();function va(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `parser`")}function wa(e,t){if(typeof t!="function")throw new TypeError("Cannot `"+e+"` without `compiler`")}function ka(e,t){if(t)throw new Error("Cannot call `"+e+"` on a frozen processor.\nCreate a new processor first, by calling it: use `processor()` instead of `processor`.")}function Co(e){if(!pa(e)||typeof e.type!="string")throw new TypeError("Expected node, got `"+e+"`")}function Eo(e,t,r){if(!r)throw new Error("`"+e+"` finished async. Use `"+t+"` instead")}function Xn(e){return y5(e)?e:new zo(e)}function y5(e){return!!(e&&typeof e=="object"&&"message"in e&&"messages"in e)}function b5(e){return typeof e=="string"||x5(e)}function x5(e){return!!(e&&typeof e=="object"&&"byteLength"in e&&"byteOffset"in e)}const v5="https://github.com/remarkjs/react-markdown/blob/main/changelog.md",Do=[],Bo={allowDangerousHtml:!0},w5=/^(https?|ircs?|mailto|xmpp)$/i,k5=[{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 S5(e){const t=M5(e),r=A5(e);return z5(t.runSync(t.parse(r),r),e)}function M5(e){const t=e.rehypePlugins||Do,r=e.remarkPlugins||Do,n=e.remarkRehypeOptions?{...e.remarkRehypeOptions,...Bo}:Bo;return g5().use(am).use(r).use(Jm,n).use(t)}function A5(e){const t=e.children||"",r=new zo;return typeof t=="string"&&(r.value=t),r}function z5(e,t){const r=t.allowedElements,n=t.allowElement,a=t.components,l=t.disallowedElements,u=t.skipHtml,c=t.unwrapDisallowed,m=t.urlTransform||T5;for(const g of k5)Object.hasOwn(t,g.from)&&(""+g.from+(g.to?"use `"+g.to+"` instead":"remove it")+v5+g.id,void 0);return ca(e,f),K4(e,{Fragment:Lr.Fragment,components:a,ignoreInvalidStyle:!0,jsx:Lr.jsx,jsxs:Lr.jsxs,passKeys:!0,passNode:!0});function f(g,b,d){if(g.type==="raw"&&d&&typeof b=="number")return u?d.children.splice(b,1):d.children[b]={type:"text",value:g.value},b;if(g.type==="element"){let p;for(p in Zi)if(Object.hasOwn(Zi,p)&&Object.hasOwn(g.properties,p)){const A=g.properties[p],N=Zi[p];(N===null||N.includes(g.tagName))&&(g.properties[p]=m(String(A||""),p,g))}}if(g.type==="element"){let p=r?!r.includes(g.tagName):l?l.includes(g.tagName):!1;if(!p&&n&&typeof b=="number"&&(p=!n(g,b,d)),p&&d&&typeof b=="number")return c&&g.children?d.children.splice(b,1,...g.children):d.children.splice(b,1),b}}}function T5(e){const t=e.indexOf(":"),r=e.indexOf("?"),n=e.indexOf("#"),a=e.indexOf("/");return t===-1||a!==-1&&t>a||r!==-1&&t>r||n!==-1&&t>n||w5.test(e.slice(0,t))?e:""}function No(e,t){const r=String(e);let n=r.indexOf(t),a=n,l=0,u=0;if(typeof t!="string")throw new TypeError("Expected substring");for(;n!==-1;)n===a?++l>u&&(u=l):l=1,a=n+t.length,n=r.indexOf(t,a);return u}function C5(){return{enter:{mathFlow:e,mathFlowFenceMeta:t,mathText:l},exit:{mathFlow:a,mathFlowFence:n,mathFlowFenceMeta:r,mathFlowValue:c,mathText:u,mathTextData:c}};function e(m){const f={type:"element",tagName:"code",properties:{className:["language-math","math-display"]},children:[]};this.enter({type:"math",meta:null,value:"",data:{hName:"pre",hChildren:[f]}},m)}function t(){this.buffer()}function r(){const m=this.resume(),f=this.stack[this.stack.length-1];f.type,f.meta=m}function n(){this.data.mathFlowInside||(this.buffer(),this.data.mathFlowInside=!0)}function a(m){const f=this.resume().replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),g=this.stack[this.stack.length-1];g.type,this.exit(m),g.value=f;const b=g.data.hChildren[0];b.type,b.tagName,b.children.push({type:"text",value:f}),this.data.mathFlowInside=void 0}function l(m){this.enter({type:"inlineMath",value:"",data:{hName:"code",hProperties:{className:["language-math","math-inline"]},hChildren:[]}},m),this.buffer()}function u(m){const f=this.resume(),g=this.stack[this.stack.length-1];g.type,this.exit(m),g.value=f,g.data.hChildren.push({type:"text",value:f})}function c(m){this.config.enter.data.call(this,m),this.config.exit.data.call(this,m)}}function E5(e){let t=(e||{}).singleDollarTextMath;return t==null&&(t=!0),n.peek=a,{unsafe:[{character:"\r",inConstruct:"mathFlowMeta"},{character:`
44
+ `,inConstruct:"mathFlowMeta"},{character:"$",after:t?void 0:"\\$",inConstruct:"phrasing"},{character:"$",inConstruct:"mathFlowMeta"},{atBreak:!0,character:"$",after:"\\$"}],handlers:{math:r,inlineMath:n}};function r(l,u,c,m){const f=l.value||"",g=c.createTracker(m),b="$".repeat(Math.max(No(f,"$")+1,2)),d=c.enter("mathFlow");let p=g.move(b);if(l.meta){const A=c.enter("mathFlowMeta");p+=g.move(c.safe(l.meta,{after:`
45
45
  `,before:p,encode:["$"],...g.current()})),A()}return p+=g.move(`
46
46
  `),f&&(p+=g.move(f+`
47
- `)),p+=g.move(b),d(),p}function n(l,u,c){let m=l.value||"",f=1;for(t||f++;new RegExp("(^|[^$])"+"\\$".repeat(f)+"([^$]|$)").test(m);)f++;const g="$".repeat(f);/[^ \r\n]/.test(m)&&(/^[ \r\n]/.test(m)&&/[ \r\n]$/.test(m)||/^\$|\$$/.test(m))&&(m=" "+m+" ");let b=-1;for(;++b<c.unsafe.length;){const d=c.unsafe[b];if(!d.atBreak)continue;const p=c.compilePattern(d);let A;for(;A=p.exec(m);){let B=A.index;m.codePointAt(B)===10&&m.codePointAt(B-1)===13&&B--,m=m.slice(0,B)+" "+m.slice(A.index+1)}}return g+m+g}function a(){return"$"}}const Cm={tokenize:Em,concrete:!0,name:"mathFlow"},Ro={tokenize:Dm,partial:!0};function Em(e,t,r){const n=this,a=n.events[n.events.length-1],l=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0;let u=0;return c;function c(L){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),m(L)}function m(L){return L===36?(e.consume(L),u++,m):u<2?r(L):(e.exit("mathFlowFenceSequence"),$e(e,f,"whitespace")(L))}function f(L){return L===null||Ee(L)?b(L):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(L))}function g(L){return L===null||Ee(L)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),b(L)):L===36?r(L):(e.consume(L),g)}function b(L){return e.exit("mathFlowFence"),n.interrupt?t(L):e.attempt(Ro,d,H)(L)}function d(L){return e.attempt({tokenize:R,partial:!0},H,p)(L)}function p(L){return(l?$e(e,A,"linePrefix",l+1):A)(L)}function A(L){return L===null?H(L):Ee(L)?e.attempt(Ro,d,H)(L):(e.enter("mathFlowValue"),B(L))}function B(L){return L===null||Ee(L)?(e.exit("mathFlowValue"),A(L)):(e.consume(L),B)}function H(L){return e.exit("mathFlow"),t(L)}function R(L,K,ae){let re=0;return $e(L,Y,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function Y(ue){return L.enter("mathFlowFence"),L.enter("mathFlowFenceSequence"),oe(ue)}function oe(ue){return ue===36?(re++,L.consume(ue),oe):re<u?ae(ue):(L.exit("mathFlowFenceSequence"),$e(L,ve,"whitespace")(ue))}function ve(ue){return ue===null||Ee(ue)?(L.exit("mathFlowFence"),K(ue)):ae(ue)}}}function Dm(e,t,r){const n=this;return a;function a(u){return u===null?t(u):(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),l)}function l(u){return n.parser.lazy[n.now().line]?r(u):t(u)}}function Bm(e){let r=(e||{}).singleDollarTextMath;return r==null&&(r=!0),{tokenize:n,resolve:Nm,previous:Im,name:"mathText"};function n(a,l,u){let c=0,m,f;return g;function g(B){return a.enter("mathText"),a.enter("mathTextSequence"),b(B)}function b(B){return B===36?(a.consume(B),c++,b):c<2&&!r?u(B):(a.exit("mathTextSequence"),d(B))}function d(B){return B===null?u(B):B===36?(f=a.enter("mathTextSequence"),m=0,A(B)):B===32?(a.enter("space"),a.consume(B),a.exit("space"),d):Ee(B)?(a.enter("lineEnding"),a.consume(B),a.exit("lineEnding"),d):(a.enter("mathTextData"),p(B))}function p(B){return B===null||B===32||B===36||Ee(B)?(a.exit("mathTextData"),d(B)):(a.consume(B),p)}function A(B){return B===36?(a.consume(B),m++,A):m===c?(a.exit("mathTextSequence"),a.exit("mathText"),l(B)):(f.type="mathTextData",p(B))}}}function Nm(e){let t=e.length-4,r=3,n,a;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[r][1].type="mathTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)a===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(a=n):(n===t||e[n][1].type==="lineEnding")&&(e[a][1].type="mathTextData",n!==a+2&&(e[a][1].end=e[n-1][1].end,e.splice(a+2,n-a-2),t-=n-a-2,n=a+2),a=void 0);return e}function Im(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function Rm(e){return{flow:{36:Cm},text:{36:Bm(e)}}}class u0{constructor(t,r,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=r,this.end=n}static range(t,r){return r?!t||!t.loc||!r.loc||t.loc.lexer!==r.loc.lexer?null:new u0(t.loc.lexer,t.loc.start,r.loc.end):t&&t.loc}}class f0{constructor(t,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=t,this.loc=r}range(t,r){return new f0(r,u0.range(this,t))}}class me{constructor(t,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n="KaTeX parse error: "+t,a,l,u=r&&r.loc;if(u&&u.start<=u.end){var c=u.lexer.input;a=u.start,l=u.end,a===c.length?n+=" at end of input: ":n+=" at position "+(a+1)+": ";var m=c.slice(a,l).replace(/[^]/g,"$&̲"),f;a>15?f="…"+c.slice(a-15,a):f=c.slice(0,a);var g;l+15<c.length?g=c.slice(l,l+15)+"…":g=c.slice(l),n+=f+m+g}var b=new Error(n);return b.name="ParseError",b.__proto__=me.prototype,b.position=a,a!=null&&l!=null&&(b.length=l-a),b.rawMessage=t,b}}me.prototype.__proto__=Error.prototype;var _m=function(t,r){return t.indexOf(r)!==-1},qm=function(t,r){return t===void 0?r:t},Om=/([A-Z])/g,Fm=function(t){return t.replace(Om,"-$1").toLowerCase()},Lm={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},Pm=/[&><"']/g;function Hm(e){return String(e).replace(Pm,t=>Lm[t])}var _o=function e(t){return t.type==="ordgroup"||t.type==="color"?t.body.length===1?e(t.body[0]):t:t.type==="font"?e(t.body):t},$m=function(t){var r=_o(t);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},Vm=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},jm=function(t){var r=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(t);return r?r[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(r[1])?null:r[1].toLowerCase():"_relative"},De={contains:_m,deflt:qm,escape:Hm,hyphenate:Fm,getBaseElem:_o,isCharacterBox:$m,protocolFromUrl:jm},Gn={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=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function Gm(e){if(e.default)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class Sa{constructor(t){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,t=t||{};for(var r in Gn)if(Gn.hasOwnProperty(r)){var n=Gn[r];this[r]=t[r]!==void 0?n.processor?n.processor(t[r]):t[r]:Gm(n)}}reportNonstrict(t,r,n){var a=this.strict;if(typeof a=="function"&&(a=a(t,r,n)),!(!a||a==="ignore")){if(a===!0||a==="error")throw new me("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+t+"]"),n);a==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+r+" ["+t+"]"))}}useStrictBehavior(t,r,n){var a=this.strict;if(typeof a=="function")try{a=a(t,r,n)}catch{a="error"}return!a||a==="ignore"?!1:a===!0||a==="error"?!0:a==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+r+" ["+t+"]")),!1)}isTrusted(t){if(t.url&&!t.protocol){var r=De.protocolFromUrl(t.url);if(r==null)return!1;t.protocol=r}var n=typeof this.trust=="function"?this.trust(t):this.trust;return!!n}}class hr{constructor(t,r,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=r,this.cramped=n}sup(){return R0[Um[this.id]]}sub(){return R0[Wm[this.id]]}fracNum(){return R0[Ym[this.id]]}fracDen(){return R0[Xm[this.id]]}cramp(){return R0[Zm[this.id]]}text(){return R0[Km[this.id]]}isTight(){return this.size>=2}}var Ma=0,Un=1,jr=2,U0=3,vn=4,g0=5,Gr=6,Wt=7,R0=[new hr(Ma,0,!1),new hr(Un,0,!0),new hr(jr,1,!1),new hr(U0,1,!0),new hr(vn,2,!1),new hr(g0,2,!0),new hr(Gr,3,!1),new hr(Wt,3,!0)],Um=[vn,g0,vn,g0,Gr,Wt,Gr,Wt],Wm=[g0,g0,g0,g0,Wt,Wt,Wt,Wt],Ym=[jr,U0,vn,g0,Gr,Wt,Gr,Wt],Xm=[U0,U0,g0,g0,Wt,Wt,Wt,Wt],Zm=[Un,Un,U0,U0,g0,g0,Wt,Wt],Km=[Ma,Un,jr,U0,jr,U0,jr,U0],Be={DISPLAY:R0[Ma],TEXT:R0[jr],SCRIPT:R0[vn],SCRIPTSCRIPT:R0[Gr]},Aa=[{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]]}];function Jm(e){for(var t=0;t<Aa.length;t++)for(var r=Aa[t],n=0;n<r.blocks.length;n++){var a=r.blocks[n];if(e>=a[0]&&e<=a[1])return r.name}return null}var Wn=[];Aa.forEach(e=>e.blocks.forEach(t=>Wn.push(...t)));function qo(e){for(var t=0;t<Wn.length;t+=2)if(e>=Wn[t]&&e<=Wn[t+1])return!0;return!1}var Ur=80,Qm=function(t,r){return"M95,"+(622+t+r)+`
47
+ `)),p+=g.move(b),d(),p}function n(l,u,c){let m=l.value||"",f=1;for(t||f++;new RegExp("(^|[^$])"+"\\$".repeat(f)+"([^$]|$)").test(m);)f++;const g="$".repeat(f);/[^ \r\n]/.test(m)&&(/^[ \r\n]/.test(m)&&/[ \r\n]$/.test(m)||/^\$|\$$/.test(m))&&(m=" "+m+" ");let b=-1;for(;++b<c.unsafe.length;){const d=c.unsafe[b];if(!d.atBreak)continue;const p=c.compilePattern(d);let A;for(;A=p.exec(m);){let N=A.index;m.codePointAt(N)===10&&m.codePointAt(N-1)===13&&N--,m=m.slice(0,N)+" "+m.slice(A.index+1)}}return g+m+g}function a(){return"$"}}const D5={tokenize:B5,concrete:!0,name:"mathFlow"},Io={tokenize:N5,partial:!0};function B5(e,t,r){const n=this,a=n.events[n.events.length-1],l=a&&a[1].type==="linePrefix"?a[2].sliceSerialize(a[1],!0).length:0;let u=0;return c;function c(P){return e.enter("mathFlow"),e.enter("mathFlowFence"),e.enter("mathFlowFenceSequence"),m(P)}function m(P){return P===36?(e.consume(P),u++,m):u<2?r(P):(e.exit("mathFlowFenceSequence"),He(e,f,"whitespace")(P))}function f(P){return P===null||Ee(P)?b(P):(e.enter("mathFlowFenceMeta"),e.enter("chunkString",{contentType:"string"}),g(P))}function g(P){return P===null||Ee(P)?(e.exit("chunkString"),e.exit("mathFlowFenceMeta"),b(P)):P===36?r(P):(e.consume(P),g)}function b(P){return e.exit("mathFlowFence"),n.interrupt?t(P):e.attempt(Io,d,O)(P)}function d(P){return e.attempt({tokenize:q,partial:!0},O,p)(P)}function p(P){return(l?He(e,A,"linePrefix",l+1):A)(P)}function A(P){return P===null?O(P):Ee(P)?e.attempt(Io,d,O)(P):(e.enter("mathFlowValue"),N(P))}function N(P){return P===null||Ee(P)?(e.exit("mathFlowValue"),A(P)):(e.consume(P),N)}function O(P){return e.exit("mathFlow"),t(P)}function q(P,K,re){let le=0;return He(P,W,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4);function W(pe){return P.enter("mathFlowFence"),P.enter("mathFlowFenceSequence"),se(pe)}function se(pe){return pe===36?(le++,P.consume(pe),se):le<u?re(pe):(P.exit("mathFlowFenceSequence"),He(P,ve,"whitespace")(pe))}function ve(pe){return pe===null||Ee(pe)?(P.exit("mathFlowFence"),K(pe)):re(pe)}}}function N5(e,t,r){const n=this;return a;function a(u){return u===null?t(u):(e.enter("lineEnding"),e.consume(u),e.exit("lineEnding"),l)}function l(u){return n.parser.lazy[n.now().line]?r(u):t(u)}}function I5(e){let r=(e||{}).singleDollarTextMath;return r==null&&(r=!0),{tokenize:n,resolve:R5,previous:_5,name:"mathText"};function n(a,l,u){let c=0,m,f;return g;function g(N){return a.enter("mathText"),a.enter("mathTextSequence"),b(N)}function b(N){return N===36?(a.consume(N),c++,b):c<2&&!r?u(N):(a.exit("mathTextSequence"),d(N))}function d(N){return N===null?u(N):N===36?(f=a.enter("mathTextSequence"),m=0,A(N)):N===32?(a.enter("space"),a.consume(N),a.exit("space"),d):Ee(N)?(a.enter("lineEnding"),a.consume(N),a.exit("lineEnding"),d):(a.enter("mathTextData"),p(N))}function p(N){return N===null||N===32||N===36||Ee(N)?(a.exit("mathTextData"),d(N)):(a.consume(N),p)}function A(N){return N===36?(a.consume(N),m++,A):m===c?(a.exit("mathTextSequence"),a.exit("mathText"),l(N)):(f.type="mathTextData",p(N))}}}function R5(e){let t=e.length-4,r=3,n,a;if((e[r][1].type==="lineEnding"||e[r][1].type==="space")&&(e[t][1].type==="lineEnding"||e[t][1].type==="space")){for(n=r;++n<t;)if(e[n][1].type==="mathTextData"){e[t][1].type="mathTextPadding",e[r][1].type="mathTextPadding",r+=2,t-=2;break}}for(n=r-1,t++;++n<=t;)a===void 0?n!==t&&e[n][1].type!=="lineEnding"&&(a=n):(n===t||e[n][1].type==="lineEnding")&&(e[a][1].type="mathTextData",n!==a+2&&(e[a][1].end=e[n-1][1].end,e.splice(a+2,n-a-2),t-=n-a-2,n=a+2),a=void 0);return e}function _5(e){return e!==36||this.events[this.events.length-1][1].type==="characterEscape"}function q5(e){return{flow:{36:D5},text:{36:I5(e)}}}class r0{constructor(t,r,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=t,this.start=r,this.end=n}static range(t,r){return r?!t||!t.loc||!r.loc||t.loc.lexer!==r.loc.lexer?null:new r0(t.loc.lexer,t.loc.start,r.loc.end):t&&t.loc}}class h0{constructor(t,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=t,this.loc=r}range(t,r){return new h0(r,r0.range(this,t))}}class de{constructor(t,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n="KaTeX parse error: "+t,a,l,u=r&&r.loc;if(u&&u.start<=u.end){var c=u.lexer.input;a=u.start,l=u.end,a===c.length?n+=" at end of input: ":n+=" at position "+(a+1)+": ";var m=c.slice(a,l).replace(/[^]/g,"$&̲"),f;a>15?f="…"+c.slice(a-15,a):f=c.slice(0,a);var g;l+15<c.length?g=c.slice(l,l+15)+"…":g=c.slice(l),n+=f+m+g}var b=new Error(n);return b.name="ParseError",b.__proto__=de.prototype,b.position=a,a!=null&&l!=null&&(b.length=l-a),b.rawMessage=t,b}}de.prototype.__proto__=Error.prototype;var O5=function(t,r){return t===void 0?r:t},F5=/([A-Z])/g,L5=function(t){return t.replace(F5,"-$1").toLowerCase()},P5={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},H5=/[&><"']/g;function $5(e){return String(e).replace(H5,t=>P5[t])}var Ro=function e(t){return t.type==="ordgroup"||t.type==="color"?t.body.length===1?e(t.body[0]):t:t.type==="font"?e(t.body):t},V5=function(t){var r=Ro(t);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},j5=function(t){if(!t)throw new Error("Expected non-null, but got "+String(t));return t},G5=function(t){var r=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(t);return r?r[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(r[1])?null:r[1].toLowerCase():"_relative"},Je={deflt:O5,escape:$5,hyphenate:L5,getBaseElem:Ro,isCharacterBox:V5,protocolFromUrl:G5},Zn={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=>e==="Infinity"?1/0:parseInt(e)},globalGroup:{type:"boolean",cli:!1}};function U5(e){if(e.default)return e.default;var t=e.type,r=Array.isArray(t)?t[0]:t;if(typeof r!="string")return r.enum[0];switch(r){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class Sa{constructor(t){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,t=t||{};for(var r in Zn)if(Zn.hasOwnProperty(r)){var n=Zn[r];this[r]=t[r]!==void 0?n.processor?n.processor(t[r]):t[r]:U5(n)}}reportNonstrict(t,r,n){var a=this.strict;if(typeof a=="function"&&(a=a(t,r,n)),!(!a||a==="ignore")){if(a===!0||a==="error")throw new de("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+t+"]"),n);a==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+r+" ["+t+"]"))}}useStrictBehavior(t,r,n){var a=this.strict;if(typeof a=="function")try{a=a(t,r,n)}catch{a="error"}return!a||a==="ignore"?!1:a===!0||a==="error"?!0:a==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+t+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+r+" ["+t+"]")),!1)}isTrusted(t){if(t.url&&!t.protocol){var r=Je.protocolFromUrl(t.url);if(r==null)return!1;t.protocol=r}var n=typeof this.trust=="function"?this.trust(t):this.trust;return!!n}}class mr{constructor(t,r,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=t,this.size=r,this.cramped=n}sup(){return N0[W5[this.id]]}sub(){return N0[Y5[this.id]]}fracNum(){return N0[X5[this.id]]}fracDen(){return N0[Z5[this.id]]}cramp(){return N0[K5[this.id]]}text(){return N0[J5[this.id]]}isTight(){return this.size>=2}}var Ma=0,Kn=1,Ur=2,Y0=3,yn=4,v0=5,Wr=6,Yt=7,N0=[new mr(Ma,0,!1),new mr(Kn,0,!0),new mr(Ur,1,!1),new mr(Y0,1,!0),new mr(yn,2,!1),new mr(v0,2,!0),new mr(Wr,3,!1),new mr(Yt,3,!0)],W5=[yn,v0,yn,v0,Wr,Yt,Wr,Yt],Y5=[v0,v0,v0,v0,Yt,Yt,Yt,Yt],X5=[Ur,Y0,yn,v0,Wr,Yt,Wr,Yt],Z5=[Y0,Y0,v0,v0,Yt,Yt,Yt,Yt],K5=[Kn,Kn,Y0,Y0,v0,v0,Yt,Yt],J5=[Ma,Kn,Ur,Y0,Ur,Y0,Ur,Y0],Be={DISPLAY:N0[Ma],TEXT:N0[Ur],SCRIPT:N0[yn],SCRIPTSCRIPT:N0[Wr]},Aa=[{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]]}];function Q5(e){for(var t=0;t<Aa.length;t++)for(var r=Aa[t],n=0;n<r.blocks.length;n++){var a=r.blocks[n];if(e>=a[0]&&e<=a[1])return r.name}return null}var Jn=[];Aa.forEach(e=>e.blocks.forEach(t=>Jn.push(...t)));function _o(e){for(var t=0;t<Jn.length;t+=2)if(e>=Jn[t]&&e<=Jn[t+1])return!0;return!1}var Yr=80,e3=function(t,r){return"M95,"+(622+t+r)+`
48
48
  c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
49
49
  c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
50
50
  c44.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
@@ -55,7 +55,7 @@ c5.3,-9.3,12,-14,20,-14
55
55
  H400000v`+(40+t)+`H845.2724
56
56
  s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
57
57
  c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
58
- M`+(834+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},e3=function(t,r){return"M263,"+(601+t+r)+`c0.7,0,18,39.7,52,119
58
+ M`+(834+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},t3=function(t,r){return"M263,"+(601+t+r)+`c0.7,0,18,39.7,52,119
59
59
  c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
60
60
  c340,-704.7,510.7,-1060.3,512,-1067
61
61
  l`+t/2.084+" -"+t+`
@@ -65,7 +65,7 @@ s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,
65
65
  c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
66
66
  s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
67
67
  c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
68
- M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},t3=function(t,r){return"M983 "+(10+t+r)+`
68
+ M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},r3=function(t,r){return"M983 "+(10+t+r)+`
69
69
  l`+t/3.13+" -"+t+`
70
70
  c4,-6.7,10,-10,18,-10 H400000v`+(40+t)+`
71
71
  H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
@@ -74,7 +74,7 @@ c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
74
74
  c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
75
75
  c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
76
76
  c53.7,-170.3,84.5,-266.8,92.5,-289.5z
77
- M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},r3=function(t,r){return"M424,"+(2398+t+r)+`
77
+ M`+(1001+t)+" "+r+"h400000v"+(40+t)+"h-400000z"},n3=function(t,r){return"M424,"+(2398+t+r)+`
78
78
  c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
79
79
  c0,-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
80
80
  s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
@@ -84,18 +84,18 @@ v`+(40+t)+`H1014.6
84
84
  s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
85
85
  c-2,6,-10,9,-24,9
86
86
  c-8,0,-12,-0.7,-12,-2z M`+(1001+t)+" "+r+`
87
- h400000v`+(40+t)+"h-400000z"},n3=function(t,r){return"M473,"+(2713+t+r)+`
87
+ h400000v`+(40+t)+"h-400000z"},i3=function(t,r){return"M473,"+(2713+t+r)+`
88
88
  c339.3,-1799.3,509.3,-2700,510,-2702 l`+t/5.298+" -"+t+`
89
89
  c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+t)+`H1017.7
90
90
  s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
91
91
  c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
92
92
  c0,-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
93
93
  s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
94
- 606zM`+(1001+t)+" "+r+"h400000v"+(40+t)+"H1017.7z"},i3=function(t){var r=t/2;return"M400000 "+t+" H0 L"+r+" 0 l65 45 L145 "+(t-80)+" H400000z"},a3=function(t,r,n){var a=n-54-r-t;return"M702 "+(t+r)+"H400000"+(40+t)+`
94
+ 606zM`+(1001+t)+" "+r+"h400000v"+(40+t)+"H1017.7z"},a3=function(t){var r=t/2;return"M400000 "+t+" H0 L"+r+" 0 l65 45 L145 "+(t-80)+" H400000z"},l3=function(t,r,n){var a=n-54-r-t;return"M702 "+(t+r)+"H400000"+(40+t)+`
95
95
  H742v`+a+`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
96
96
  h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
97
97
  c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
98
- 219 661 l218 661zM702 `+r+"H400000v"+(40+t)+"H742z"},l3=function(t,r,n){r=1e3*r;var a="";switch(t){case"sqrtMain":a=Qm(r,Ur);break;case"sqrtSize1":a=e3(r,Ur);break;case"sqrtSize2":a=t3(r,Ur);break;case"sqrtSize3":a=r3(r,Ur);break;case"sqrtSize4":a=n3(r,Ur);break;case"sqrtTall":a=a3(r,Ur,n)}return a},s3=function(t,r){switch(t){case"⎜":return"M291 0 H417 V"+r+" H291z M291 0 H417 V"+r+" H291z";case"∣":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z";case"∥":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z"+("M367 0 H410 V"+r+" H367z M367 0 H410 V"+r+" H367z");case"⎟":return"M457 0 H583 V"+r+" H457z M457 0 H583 V"+r+" H457z";case"⎢":return"M319 0 H403 V"+r+" H319z M319 0 H403 V"+r+" H319z";case"⎥":return"M263 0 H347 V"+r+" H263z M263 0 H347 V"+r+" H263z";case"⎪":return"M384 0 H504 V"+r+" H384z M384 0 H504 V"+r+" H384z";case"⏐":return"M312 0 H355 V"+r+" H312z M312 0 H355 V"+r+" H312z";case"‖":return"M257 0 H300 V"+r+" H257z M257 0 H300 V"+r+" H257z"+("M478 0 H521 V"+r+" H478z M478 0 H521 V"+r+" H478z");default:return""}},Oo={doubleleftarrow:`M262 157
98
+ 219 661 l218 661zM702 `+r+"H400000v"+(40+t)+"H742z"},s3=function(t,r,n){r=1e3*r;var a="";switch(t){case"sqrtMain":a=e3(r,Yr);break;case"sqrtSize1":a=t3(r,Yr);break;case"sqrtSize2":a=r3(r,Yr);break;case"sqrtSize3":a=n3(r,Yr);break;case"sqrtSize4":a=i3(r,Yr);break;case"sqrtTall":a=l3(r,Yr,n)}return a},o3=function(t,r){switch(t){case"⎜":return"M291 0 H417 V"+r+" H291z M291 0 H417 V"+r+" H291z";case"∣":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z";case"∥":return"M145 0 H188 V"+r+" H145z M145 0 H188 V"+r+" H145z"+("M367 0 H410 V"+r+" H367z M367 0 H410 V"+r+" H367z");case"⎟":return"M457 0 H583 V"+r+" H457z M457 0 H583 V"+r+" H457z";case"⎢":return"M319 0 H403 V"+r+" H319z M319 0 H403 V"+r+" H319z";case"⎥":return"M263 0 H347 V"+r+" H263z M263 0 H347 V"+r+" H263z";case"⎪":return"M384 0 H504 V"+r+" H384z M384 0 H504 V"+r+" H384z";case"⏐":return"M312 0 H355 V"+r+" H312z M312 0 H355 V"+r+" H312z";case"‖":return"M257 0 H300 V"+r+" H257z M257 0 H300 V"+r+" H257z"+("M478 0 H521 V"+r+" H478z M478 0 H521 V"+r+" H478z");default:return""}},qo={doubleleftarrow:`M262 157
99
99
  l10-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
100
100
  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
101
101
  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
@@ -270,7 +270,7 @@ M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`
270
270
  c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
271
271
  -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
272
272
  c-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
273
- M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},o3=function(t,r){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 h347 v-84
273
+ M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},u3=function(t,r){switch(t){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 h347 v-84
274
274
  H403z M403 1759 V0 H319 V1759 v`+r+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+r+` v1759 H0 v84 H347z
275
275
  M347 1759 V0 H263 V1759 v`+r+" v1759 h84z";case"vert":return"M145 15 v585 v"+r+` v585 c2.667,10,9.667,15,21,15
276
276
  c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15
@@ -298,30 +298,30 @@ c-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
298
298
  c0,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
299
299
  c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
300
300
  l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
301
- -470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class wn{constructor(t){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=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return De.contains(this.classes,t)}toNode(){for(var t=document.createDocumentFragment(),r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t}toMarkup(){for(var t="",r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t}toText(){var t=r=>r.toText();return this.children.map(t).join("")}}var _0={"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]}},Yn={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]},Fo={Å:"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 u3(e,t){_0[e]=t}function Ta(e,t,r){if(!_0[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),a=_0[t][n];if(!a&&e[0]in Fo&&(n=Fo[e[0]].charCodeAt(0),a=_0[t][n]),!a&&r==="text"&&qo(n)&&(a=_0[t][77]),a)return{depth:a[0],height:a[1],italic:a[2],skew:a[3],width:a[4]}}var za={};function c3(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!za[t]){var r=za[t]={cssEmPerMu:Yn.quad[t]/18};for(var n in Yn)Yn.hasOwnProperty(n)&&(r[n]=Yn[n][t])}return za[t]}var h3=[[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],Po=function(t,r){return r.size<2?t:h3[t-1][r.size-1]};class W0{constructor(t){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=t.style,this.color=t.color,this.size=t.size||W0.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=Lo[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);return new W0(r)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:Po(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:Lo[t-1]})}havingBaseStyle(t){t=t||this.style.text();var r=Po(W0.BASESIZE,t);return this.size===r&&this.textSize===W0.BASESIZE&&this.style===t?this:this.extend({style:t,size:r})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==W0.BASESIZE?["sizing","reset-size"+this.size,"size"+W0.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=c3(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}W0.BASESIZE=6;var Ca={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},m3={ex:!0,em:!0,mu:!0},Ho=function(t){return typeof t!="string"&&(t=t.unit),t in Ca||t in m3||t==="ex"},xt=function(t,r){var n;if(t.unit in Ca)n=Ca[t.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(t.unit==="mu")n=r.fontMetrics().cssEmPerMu;else{var a;if(r.style.isTight()?a=r.havingStyle(r.style.text()):a=r,t.unit==="ex")n=a.fontMetrics().xHeight;else if(t.unit==="em")n=a.fontMetrics().quad;else throw new me("Invalid unit: '"+t.unit+"'");a!==r&&(n*=a.sizeMultiplier/r.sizeMultiplier)}return Math.min(t.number*n,r.maxSize)},xe=function(t){return+t.toFixed(4)+"em"},mr=function(t){return t.filter(r=>r).join(" ")},$o=function(t,r,n){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},r){r.style.isTight()&&this.classes.push("mtight");var a=r.getColor();a&&(this.style.color=a)}},Vo=function(t){var r=document.createElement(t);r.className=mr(this.classes);for(var n in this.style)this.style.hasOwnProperty(n)&&(r.style[n]=this.style[n]);for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&r.setAttribute(a,this.attributes[a]);for(var l=0;l<this.children.length;l++)r.appendChild(this.children[l].toNode());return r},d3=/[\s"'>/=\x00-\x1f]/,jo=function(t){var r="<"+t;this.classes.length&&(r+=' class="'+De.escape(mr(this.classes))+'"');var n="";for(var a in this.style)this.style.hasOwnProperty(a)&&(n+=De.hyphenate(a)+":"+this.style[a]+";");n&&(r+=' style="'+De.escape(n)+'"');for(var l in this.attributes)if(this.attributes.hasOwnProperty(l)){if(d3.test(l))throw new me("Invalid attribute name '"+l+"'");r+=" "+l+'="'+De.escape(this.attributes[l])+'"'}r+=">";for(var u=0;u<this.children.length;u++)r+=this.children[u].toMarkup();return r+="</"+t+">",r};class kn{constructor(t,r,n,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,$o.call(this,t,n,a),this.children=r||[]}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return De.contains(this.classes,t)}toNode(){return Vo.call(this,"span")}toMarkup(){return jo.call(this,"span")}}class Ea{constructor(t,r,n,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,$o.call(this,r,a),this.children=n||[],this.setAttribute("href",t)}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return De.contains(this.classes,t)}toNode(){return Vo.call(this,"a")}toMarkup(){return jo.call(this,"a")}}class p3{constructor(t,r,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=r,this.src=t,this.classes=["mord"],this.style=n}hasClass(t){return De.contains(this.classes,t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);return t}toMarkup(){var t='<img src="'+De.escape(this.src)+'"'+(' alt="'+De.escape(this.alt)+'"'),r="";for(var n in this.style)this.style.hasOwnProperty(n)&&(r+=De.hyphenate(n)+":"+this.style[n]+";");return r&&(t+=' style="'+De.escape(r)+'"'),t+="'/>",t}}var f3={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class y0{constructor(t,r,n,a,l,u,c,m){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=t,this.height=r||0,this.depth=n||0,this.italic=a||0,this.skew=l||0,this.width=u||0,this.classes=c||[],this.style=m||{},this.maxFontSize=0;var f=Jm(this.text.charCodeAt(0));f&&this.classes.push(f+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=f3[this.text])}hasClass(t){return De.contains(this.classes,t)}toNode(){var t=document.createTextNode(this.text),r=null;this.italic>0&&(r=document.createElement("span"),r.style.marginRight=xe(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=mr(this.classes));for(var n in this.style)this.style.hasOwnProperty(n)&&(r=r||document.createElement("span"),r.style[n]=this.style[n]);return r?(r.appendChild(t),r):t}toMarkup(){var t=!1,r="<span";this.classes.length&&(t=!0,r+=' class="',r+=De.escape(mr(this.classes)),r+='"');var n="";this.italic>0&&(n+="margin-right:"+this.italic+"em;");for(var a in this.style)this.style.hasOwnProperty(a)&&(n+=De.hyphenate(a)+":"+this.style[a]+";");n&&(t=!0,r+=' style="'+De.escape(n)+'"');var l=De.escape(this.text);return t?(r+=">",r+=l,r+="</span>",r):l}}class Y0{constructor(t,r){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=r||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);for(var a=0;a<this.children.length;a++)r.appendChild(this.children[a].toNode());return r}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="'+De.escape(this.attributes[r])+'"');t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</svg>",t}}class dr{constructor(t,r){this.pathName=void 0,this.alternate=void 0,this.pathName=t,this.alternate=r}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"path");return this.alternate?r.setAttribute("d",this.alternate):r.setAttribute("d",Oo[this.pathName]),r}toMarkup(){return this.alternate?'<path d="'+De.escape(this.alternate)+'"/>':'<path d="'+De.escape(Oo[this.pathName])+'"/>'}}class Da{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);return r}toMarkup(){var t="<line";for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="'+De.escape(this.attributes[r])+'"');return t+="/>",t}}function Go(e){if(e instanceof y0)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function g3(e){if(e instanceof kn)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var y3={bin:1,close:1,inner:1,open:1,punct:1,rel:1},b3={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},ct={math:{},text:{}};function v(e,t,r,n,a,l){ct[e][a]={font:t,group:r,replace:n},l&&n&&(ct[e][n]=ct[e][a])}var S="math",ie="text",z="main",O="ams",gt="accent-token",Te="bin",Yt="close",Wr="inner",Ne="mathord",Bt="op-token",c0="open",Xn="punct",F="rel",X0="spacing",G="textord";v(S,z,F,"≡","\\equiv",!0),v(S,z,F,"≺","\\prec",!0),v(S,z,F,"≻","\\succ",!0),v(S,z,F,"∼","\\sim",!0),v(S,z,F,"⊥","\\perp"),v(S,z,F,"⪯","\\preceq",!0),v(S,z,F,"⪰","\\succeq",!0),v(S,z,F,"≃","\\simeq",!0),v(S,z,F,"∣","\\mid",!0),v(S,z,F,"≪","\\ll",!0),v(S,z,F,"≫","\\gg",!0),v(S,z,F,"≍","\\asymp",!0),v(S,z,F,"∥","\\parallel"),v(S,z,F,"⋈","\\bowtie",!0),v(S,z,F,"⌣","\\smile",!0),v(S,z,F,"⊑","\\sqsubseteq",!0),v(S,z,F,"⊒","\\sqsupseteq",!0),v(S,z,F,"≐","\\doteq",!0),v(S,z,F,"⌢","\\frown",!0),v(S,z,F,"∋","\\ni",!0),v(S,z,F,"∝","\\propto",!0),v(S,z,F,"⊢","\\vdash",!0),v(S,z,F,"⊣","\\dashv",!0),v(S,z,F,"∋","\\owns"),v(S,z,Xn,".","\\ldotp"),v(S,z,Xn,"⋅","\\cdotp"),v(S,z,G,"#","\\#"),v(ie,z,G,"#","\\#"),v(S,z,G,"&","\\&"),v(ie,z,G,"&","\\&"),v(S,z,G,"ℵ","\\aleph",!0),v(S,z,G,"∀","\\forall",!0),v(S,z,G,"ℏ","\\hbar",!0),v(S,z,G,"∃","\\exists",!0),v(S,z,G,"∇","\\nabla",!0),v(S,z,G,"♭","\\flat",!0),v(S,z,G,"ℓ","\\ell",!0),v(S,z,G,"♮","\\natural",!0),v(S,z,G,"♣","\\clubsuit",!0),v(S,z,G,"℘","\\wp",!0),v(S,z,G,"♯","\\sharp",!0),v(S,z,G,"♢","\\diamondsuit",!0),v(S,z,G,"ℜ","\\Re",!0),v(S,z,G,"♡","\\heartsuit",!0),v(S,z,G,"ℑ","\\Im",!0),v(S,z,G,"♠","\\spadesuit",!0),v(S,z,G,"§","\\S",!0),v(ie,z,G,"§","\\S"),v(S,z,G,"¶","\\P",!0),v(ie,z,G,"¶","\\P"),v(S,z,G,"†","\\dag"),v(ie,z,G,"†","\\dag"),v(ie,z,G,"†","\\textdagger"),v(S,z,G,"‡","\\ddag"),v(ie,z,G,"‡","\\ddag"),v(ie,z,G,"‡","\\textdaggerdbl"),v(S,z,Yt,"⎱","\\rmoustache",!0),v(S,z,c0,"⎰","\\lmoustache",!0),v(S,z,Yt,"⟯","\\rgroup",!0),v(S,z,c0,"⟮","\\lgroup",!0),v(S,z,Te,"∓","\\mp",!0),v(S,z,Te,"⊖","\\ominus",!0),v(S,z,Te,"⊎","\\uplus",!0),v(S,z,Te,"⊓","\\sqcap",!0),v(S,z,Te,"∗","\\ast"),v(S,z,Te,"⊔","\\sqcup",!0),v(S,z,Te,"◯","\\bigcirc",!0),v(S,z,Te,"∙","\\bullet",!0),v(S,z,Te,"‡","\\ddagger"),v(S,z,Te,"≀","\\wr",!0),v(S,z,Te,"⨿","\\amalg"),v(S,z,Te,"&","\\And"),v(S,z,F,"⟵","\\longleftarrow",!0),v(S,z,F,"⇐","\\Leftarrow",!0),v(S,z,F,"⟸","\\Longleftarrow",!0),v(S,z,F,"⟶","\\longrightarrow",!0),v(S,z,F,"⇒","\\Rightarrow",!0),v(S,z,F,"⟹","\\Longrightarrow",!0),v(S,z,F,"↔","\\leftrightarrow",!0),v(S,z,F,"⟷","\\longleftrightarrow",!0),v(S,z,F,"⇔","\\Leftrightarrow",!0),v(S,z,F,"⟺","\\Longleftrightarrow",!0),v(S,z,F,"↦","\\mapsto",!0),v(S,z,F,"⟼","\\longmapsto",!0),v(S,z,F,"↗","\\nearrow",!0),v(S,z,F,"↩","\\hookleftarrow",!0),v(S,z,F,"↪","\\hookrightarrow",!0),v(S,z,F,"↘","\\searrow",!0),v(S,z,F,"↼","\\leftharpoonup",!0),v(S,z,F,"⇀","\\rightharpoonup",!0),v(S,z,F,"↙","\\swarrow",!0),v(S,z,F,"↽","\\leftharpoondown",!0),v(S,z,F,"⇁","\\rightharpoondown",!0),v(S,z,F,"↖","\\nwarrow",!0),v(S,z,F,"⇌","\\rightleftharpoons",!0),v(S,O,F,"≮","\\nless",!0),v(S,O,F,"","\\@nleqslant"),v(S,O,F,"","\\@nleqq"),v(S,O,F,"⪇","\\lneq",!0),v(S,O,F,"≨","\\lneqq",!0),v(S,O,F,"","\\@lvertneqq"),v(S,O,F,"⋦","\\lnsim",!0),v(S,O,F,"⪉","\\lnapprox",!0),v(S,O,F,"⊀","\\nprec",!0),v(S,O,F,"⋠","\\npreceq",!0),v(S,O,F,"⋨","\\precnsim",!0),v(S,O,F,"⪹","\\precnapprox",!0),v(S,O,F,"≁","\\nsim",!0),v(S,O,F,"","\\@nshortmid"),v(S,O,F,"∤","\\nmid",!0),v(S,O,F,"⊬","\\nvdash",!0),v(S,O,F,"⊭","\\nvDash",!0),v(S,O,F,"⋪","\\ntriangleleft"),v(S,O,F,"⋬","\\ntrianglelefteq",!0),v(S,O,F,"⊊","\\subsetneq",!0),v(S,O,F,"","\\@varsubsetneq"),v(S,O,F,"⫋","\\subsetneqq",!0),v(S,O,F,"","\\@varsubsetneqq"),v(S,O,F,"≯","\\ngtr",!0),v(S,O,F,"","\\@ngeqslant"),v(S,O,F,"","\\@ngeqq"),v(S,O,F,"⪈","\\gneq",!0),v(S,O,F,"≩","\\gneqq",!0),v(S,O,F,"","\\@gvertneqq"),v(S,O,F,"⋧","\\gnsim",!0),v(S,O,F,"⪊","\\gnapprox",!0),v(S,O,F,"⊁","\\nsucc",!0),v(S,O,F,"⋡","\\nsucceq",!0),v(S,O,F,"⋩","\\succnsim",!0),v(S,O,F,"⪺","\\succnapprox",!0),v(S,O,F,"≆","\\ncong",!0),v(S,O,F,"","\\@nshortparallel"),v(S,O,F,"∦","\\nparallel",!0),v(S,O,F,"⊯","\\nVDash",!0),v(S,O,F,"⋫","\\ntriangleright"),v(S,O,F,"⋭","\\ntrianglerighteq",!0),v(S,O,F,"","\\@nsupseteqq"),v(S,O,F,"⊋","\\supsetneq",!0),v(S,O,F,"","\\@varsupsetneq"),v(S,O,F,"⫌","\\supsetneqq",!0),v(S,O,F,"","\\@varsupsetneqq"),v(S,O,F,"⊮","\\nVdash",!0),v(S,O,F,"⪵","\\precneqq",!0),v(S,O,F,"⪶","\\succneqq",!0),v(S,O,F,"","\\@nsubseteqq"),v(S,O,Te,"⊴","\\unlhd"),v(S,O,Te,"⊵","\\unrhd"),v(S,O,F,"↚","\\nleftarrow",!0),v(S,O,F,"↛","\\nrightarrow",!0),v(S,O,F,"⇍","\\nLeftarrow",!0),v(S,O,F,"⇏","\\nRightarrow",!0),v(S,O,F,"↮","\\nleftrightarrow",!0),v(S,O,F,"⇎","\\nLeftrightarrow",!0),v(S,O,F,"△","\\vartriangle"),v(S,O,G,"ℏ","\\hslash"),v(S,O,G,"▽","\\triangledown"),v(S,O,G,"◊","\\lozenge"),v(S,O,G,"Ⓢ","\\circledS"),v(S,O,G,"®","\\circledR"),v(ie,O,G,"®","\\circledR"),v(S,O,G,"∡","\\measuredangle",!0),v(S,O,G,"∄","\\nexists"),v(S,O,G,"℧","\\mho"),v(S,O,G,"Ⅎ","\\Finv",!0),v(S,O,G,"⅁","\\Game",!0),v(S,O,G,"‵","\\backprime"),v(S,O,G,"▲","\\blacktriangle"),v(S,O,G,"▼","\\blacktriangledown"),v(S,O,G,"■","\\blacksquare"),v(S,O,G,"⧫","\\blacklozenge"),v(S,O,G,"★","\\bigstar"),v(S,O,G,"∢","\\sphericalangle",!0),v(S,O,G,"∁","\\complement",!0),v(S,O,G,"ð","\\eth",!0),v(ie,z,G,"ð","ð"),v(S,O,G,"╱","\\diagup"),v(S,O,G,"╲","\\diagdown"),v(S,O,G,"□","\\square"),v(S,O,G,"□","\\Box"),v(S,O,G,"◊","\\Diamond"),v(S,O,G,"¥","\\yen",!0),v(ie,O,G,"¥","\\yen",!0),v(S,O,G,"✓","\\checkmark",!0),v(ie,O,G,"✓","\\checkmark"),v(S,O,G,"ℶ","\\beth",!0),v(S,O,G,"ℸ","\\daleth",!0),v(S,O,G,"ℷ","\\gimel",!0),v(S,O,G,"ϝ","\\digamma",!0),v(S,O,G,"ϰ","\\varkappa"),v(S,O,c0,"┌","\\@ulcorner",!0),v(S,O,Yt,"┐","\\@urcorner",!0),v(S,O,c0,"└","\\@llcorner",!0),v(S,O,Yt,"┘","\\@lrcorner",!0),v(S,O,F,"≦","\\leqq",!0),v(S,O,F,"⩽","\\leqslant",!0),v(S,O,F,"⪕","\\eqslantless",!0),v(S,O,F,"≲","\\lesssim",!0),v(S,O,F,"⪅","\\lessapprox",!0),v(S,O,F,"≊","\\approxeq",!0),v(S,O,Te,"⋖","\\lessdot"),v(S,O,F,"⋘","\\lll",!0),v(S,O,F,"≶","\\lessgtr",!0),v(S,O,F,"⋚","\\lesseqgtr",!0),v(S,O,F,"⪋","\\lesseqqgtr",!0),v(S,O,F,"≑","\\doteqdot"),v(S,O,F,"≓","\\risingdotseq",!0),v(S,O,F,"≒","\\fallingdotseq",!0),v(S,O,F,"∽","\\backsim",!0),v(S,O,F,"⋍","\\backsimeq",!0),v(S,O,F,"⫅","\\subseteqq",!0),v(S,O,F,"⋐","\\Subset",!0),v(S,O,F,"⊏","\\sqsubset",!0),v(S,O,F,"≼","\\preccurlyeq",!0),v(S,O,F,"⋞","\\curlyeqprec",!0),v(S,O,F,"≾","\\precsim",!0),v(S,O,F,"⪷","\\precapprox",!0),v(S,O,F,"⊲","\\vartriangleleft"),v(S,O,F,"⊴","\\trianglelefteq"),v(S,O,F,"⊨","\\vDash",!0),v(S,O,F,"⊪","\\Vvdash",!0),v(S,O,F,"⌣","\\smallsmile"),v(S,O,F,"⌢","\\smallfrown"),v(S,O,F,"≏","\\bumpeq",!0),v(S,O,F,"≎","\\Bumpeq",!0),v(S,O,F,"≧","\\geqq",!0),v(S,O,F,"⩾","\\geqslant",!0),v(S,O,F,"⪖","\\eqslantgtr",!0),v(S,O,F,"≳","\\gtrsim",!0),v(S,O,F,"⪆","\\gtrapprox",!0),v(S,O,Te,"⋗","\\gtrdot"),v(S,O,F,"⋙","\\ggg",!0),v(S,O,F,"≷","\\gtrless",!0),v(S,O,F,"⋛","\\gtreqless",!0),v(S,O,F,"⪌","\\gtreqqless",!0),v(S,O,F,"≖","\\eqcirc",!0),v(S,O,F,"≗","\\circeq",!0),v(S,O,F,"≜","\\triangleq",!0),v(S,O,F,"∼","\\thicksim"),v(S,O,F,"≈","\\thickapprox"),v(S,O,F,"⫆","\\supseteqq",!0),v(S,O,F,"⋑","\\Supset",!0),v(S,O,F,"⊐","\\sqsupset",!0),v(S,O,F,"≽","\\succcurlyeq",!0),v(S,O,F,"⋟","\\curlyeqsucc",!0),v(S,O,F,"≿","\\succsim",!0),v(S,O,F,"⪸","\\succapprox",!0),v(S,O,F,"⊳","\\vartriangleright"),v(S,O,F,"⊵","\\trianglerighteq"),v(S,O,F,"⊩","\\Vdash",!0),v(S,O,F,"∣","\\shortmid"),v(S,O,F,"∥","\\shortparallel"),v(S,O,F,"≬","\\between",!0),v(S,O,F,"⋔","\\pitchfork",!0),v(S,O,F,"∝","\\varpropto"),v(S,O,F,"◀","\\blacktriangleleft"),v(S,O,F,"∴","\\therefore",!0),v(S,O,F,"∍","\\backepsilon"),v(S,O,F,"▶","\\blacktriangleright"),v(S,O,F,"∵","\\because",!0),v(S,O,F,"⋘","\\llless"),v(S,O,F,"⋙","\\gggtr"),v(S,O,Te,"⊲","\\lhd"),v(S,O,Te,"⊳","\\rhd"),v(S,O,F,"≂","\\eqsim",!0),v(S,z,F,"⋈","\\Join"),v(S,O,F,"≑","\\Doteq",!0),v(S,O,Te,"∔","\\dotplus",!0),v(S,O,Te,"∖","\\smallsetminus"),v(S,O,Te,"⋒","\\Cap",!0),v(S,O,Te,"⋓","\\Cup",!0),v(S,O,Te,"⩞","\\doublebarwedge",!0),v(S,O,Te,"⊟","\\boxminus",!0),v(S,O,Te,"⊞","\\boxplus",!0),v(S,O,Te,"⋇","\\divideontimes",!0),v(S,O,Te,"⋉","\\ltimes",!0),v(S,O,Te,"⋊","\\rtimes",!0),v(S,O,Te,"⋋","\\leftthreetimes",!0),v(S,O,Te,"⋌","\\rightthreetimes",!0),v(S,O,Te,"⋏","\\curlywedge",!0),v(S,O,Te,"⋎","\\curlyvee",!0),v(S,O,Te,"⊝","\\circleddash",!0),v(S,O,Te,"⊛","\\circledast",!0),v(S,O,Te,"⋅","\\centerdot"),v(S,O,Te,"⊺","\\intercal",!0),v(S,O,Te,"⋒","\\doublecap"),v(S,O,Te,"⋓","\\doublecup"),v(S,O,Te,"⊠","\\boxtimes",!0),v(S,O,F,"⇢","\\dashrightarrow",!0),v(S,O,F,"⇠","\\dashleftarrow",!0),v(S,O,F,"⇇","\\leftleftarrows",!0),v(S,O,F,"⇆","\\leftrightarrows",!0),v(S,O,F,"⇚","\\Lleftarrow",!0),v(S,O,F,"↞","\\twoheadleftarrow",!0),v(S,O,F,"↢","\\leftarrowtail",!0),v(S,O,F,"↫","\\looparrowleft",!0),v(S,O,F,"⇋","\\leftrightharpoons",!0),v(S,O,F,"↶","\\curvearrowleft",!0),v(S,O,F,"↺","\\circlearrowleft",!0),v(S,O,F,"↰","\\Lsh",!0),v(S,O,F,"⇈","\\upuparrows",!0),v(S,O,F,"↿","\\upharpoonleft",!0),v(S,O,F,"⇃","\\downharpoonleft",!0),v(S,z,F,"⊶","\\origof",!0),v(S,z,F,"⊷","\\imageof",!0),v(S,O,F,"⊸","\\multimap",!0),v(S,O,F,"↭","\\leftrightsquigarrow",!0),v(S,O,F,"⇉","\\rightrightarrows",!0),v(S,O,F,"⇄","\\rightleftarrows",!0),v(S,O,F,"↠","\\twoheadrightarrow",!0),v(S,O,F,"↣","\\rightarrowtail",!0),v(S,O,F,"↬","\\looparrowright",!0),v(S,O,F,"↷","\\curvearrowright",!0),v(S,O,F,"↻","\\circlearrowright",!0),v(S,O,F,"↱","\\Rsh",!0),v(S,O,F,"⇊","\\downdownarrows",!0),v(S,O,F,"↾","\\upharpoonright",!0),v(S,O,F,"⇂","\\downharpoonright",!0),v(S,O,F,"⇝","\\rightsquigarrow",!0),v(S,O,F,"⇝","\\leadsto"),v(S,O,F,"⇛","\\Rrightarrow",!0),v(S,O,F,"↾","\\restriction"),v(S,z,G,"‘","`"),v(S,z,G,"$","\\$"),v(ie,z,G,"$","\\$"),v(ie,z,G,"$","\\textdollar"),v(S,z,G,"%","\\%"),v(ie,z,G,"%","\\%"),v(S,z,G,"_","\\_"),v(ie,z,G,"_","\\_"),v(ie,z,G,"_","\\textunderscore"),v(S,z,G,"∠","\\angle",!0),v(S,z,G,"∞","\\infty",!0),v(S,z,G,"′","\\prime"),v(S,z,G,"△","\\triangle"),v(S,z,G,"Γ","\\Gamma",!0),v(S,z,G,"Δ","\\Delta",!0),v(S,z,G,"Θ","\\Theta",!0),v(S,z,G,"Λ","\\Lambda",!0),v(S,z,G,"Ξ","\\Xi",!0),v(S,z,G,"Π","\\Pi",!0),v(S,z,G,"Σ","\\Sigma",!0),v(S,z,G,"Υ","\\Upsilon",!0),v(S,z,G,"Φ","\\Phi",!0),v(S,z,G,"Ψ","\\Psi",!0),v(S,z,G,"Ω","\\Omega",!0),v(S,z,G,"A","Α"),v(S,z,G,"B","Β"),v(S,z,G,"E","Ε"),v(S,z,G,"Z","Ζ"),v(S,z,G,"H","Η"),v(S,z,G,"I","Ι"),v(S,z,G,"K","Κ"),v(S,z,G,"M","Μ"),v(S,z,G,"N","Ν"),v(S,z,G,"O","Ο"),v(S,z,G,"P","Ρ"),v(S,z,G,"T","Τ"),v(S,z,G,"X","Χ"),v(S,z,G,"¬","\\neg",!0),v(S,z,G,"¬","\\lnot"),v(S,z,G,"⊤","\\top"),v(S,z,G,"⊥","\\bot"),v(S,z,G,"∅","\\emptyset"),v(S,O,G,"∅","\\varnothing"),v(S,z,Ne,"α","\\alpha",!0),v(S,z,Ne,"β","\\beta",!0),v(S,z,Ne,"γ","\\gamma",!0),v(S,z,Ne,"δ","\\delta",!0),v(S,z,Ne,"ϵ","\\epsilon",!0),v(S,z,Ne,"ζ","\\zeta",!0),v(S,z,Ne,"η","\\eta",!0),v(S,z,Ne,"θ","\\theta",!0),v(S,z,Ne,"ι","\\iota",!0),v(S,z,Ne,"κ","\\kappa",!0),v(S,z,Ne,"λ","\\lambda",!0),v(S,z,Ne,"μ","\\mu",!0),v(S,z,Ne,"ν","\\nu",!0),v(S,z,Ne,"ξ","\\xi",!0),v(S,z,Ne,"ο","\\omicron",!0),v(S,z,Ne,"π","\\pi",!0),v(S,z,Ne,"ρ","\\rho",!0),v(S,z,Ne,"σ","\\sigma",!0),v(S,z,Ne,"τ","\\tau",!0),v(S,z,Ne,"υ","\\upsilon",!0),v(S,z,Ne,"ϕ","\\phi",!0),v(S,z,Ne,"χ","\\chi",!0),v(S,z,Ne,"ψ","\\psi",!0),v(S,z,Ne,"ω","\\omega",!0),v(S,z,Ne,"ε","\\varepsilon",!0),v(S,z,Ne,"ϑ","\\vartheta",!0),v(S,z,Ne,"ϖ","\\varpi",!0),v(S,z,Ne,"ϱ","\\varrho",!0),v(S,z,Ne,"ς","\\varsigma",!0),v(S,z,Ne,"φ","\\varphi",!0),v(S,z,Te,"∗","*",!0),v(S,z,Te,"+","+"),v(S,z,Te,"−","-",!0),v(S,z,Te,"⋅","\\cdot",!0),v(S,z,Te,"∘","\\circ",!0),v(S,z,Te,"÷","\\div",!0),v(S,z,Te,"±","\\pm",!0),v(S,z,Te,"×","\\times",!0),v(S,z,Te,"∩","\\cap",!0),v(S,z,Te,"∪","\\cup",!0),v(S,z,Te,"∖","\\setminus",!0),v(S,z,Te,"∧","\\land"),v(S,z,Te,"∨","\\lor"),v(S,z,Te,"∧","\\wedge",!0),v(S,z,Te,"∨","\\vee",!0),v(S,z,G,"√","\\surd"),v(S,z,c0,"⟨","\\langle",!0),v(S,z,c0,"∣","\\lvert"),v(S,z,c0,"∥","\\lVert"),v(S,z,Yt,"?","?"),v(S,z,Yt,"!","!"),v(S,z,Yt,"⟩","\\rangle",!0),v(S,z,Yt,"∣","\\rvert"),v(S,z,Yt,"∥","\\rVert"),v(S,z,F,"=","="),v(S,z,F,":",":"),v(S,z,F,"≈","\\approx",!0),v(S,z,F,"≅","\\cong",!0),v(S,z,F,"≥","\\ge"),v(S,z,F,"≥","\\geq",!0),v(S,z,F,"←","\\gets"),v(S,z,F,">","\\gt",!0),v(S,z,F,"∈","\\in",!0),v(S,z,F,"","\\@not"),v(S,z,F,"⊂","\\subset",!0),v(S,z,F,"⊃","\\supset",!0),v(S,z,F,"⊆","\\subseteq",!0),v(S,z,F,"⊇","\\supseteq",!0),v(S,O,F,"⊈","\\nsubseteq",!0),v(S,O,F,"⊉","\\nsupseteq",!0),v(S,z,F,"⊨","\\models"),v(S,z,F,"←","\\leftarrow",!0),v(S,z,F,"≤","\\le"),v(S,z,F,"≤","\\leq",!0),v(S,z,F,"<","\\lt",!0),v(S,z,F,"→","\\rightarrow",!0),v(S,z,F,"→","\\to"),v(S,O,F,"≱","\\ngeq",!0),v(S,O,F,"≰","\\nleq",!0),v(S,z,X0," ","\\ "),v(S,z,X0," ","\\space"),v(S,z,X0," ","\\nobreakspace"),v(ie,z,X0," ","\\ "),v(ie,z,X0," "," "),v(ie,z,X0," ","\\space"),v(ie,z,X0," ","\\nobreakspace"),v(S,z,X0,null,"\\nobreak"),v(S,z,X0,null,"\\allowbreak"),v(S,z,Xn,",",","),v(S,z,Xn,";",";"),v(S,O,Te,"⊼","\\barwedge",!0),v(S,O,Te,"⊻","\\veebar",!0),v(S,z,Te,"⊙","\\odot",!0),v(S,z,Te,"⊕","\\oplus",!0),v(S,z,Te,"⊗","\\otimes",!0),v(S,z,G,"∂","\\partial",!0),v(S,z,Te,"⊘","\\oslash",!0),v(S,O,Te,"⊚","\\circledcirc",!0),v(S,O,Te,"⊡","\\boxdot",!0),v(S,z,Te,"△","\\bigtriangleup"),v(S,z,Te,"▽","\\bigtriangledown"),v(S,z,Te,"†","\\dagger"),v(S,z,Te,"⋄","\\diamond"),v(S,z,Te,"⋆","\\star"),v(S,z,Te,"◃","\\triangleleft"),v(S,z,Te,"▹","\\triangleright"),v(S,z,c0,"{","\\{"),v(ie,z,G,"{","\\{"),v(ie,z,G,"{","\\textbraceleft"),v(S,z,Yt,"}","\\}"),v(ie,z,G,"}","\\}"),v(ie,z,G,"}","\\textbraceright"),v(S,z,c0,"{","\\lbrace"),v(S,z,Yt,"}","\\rbrace"),v(S,z,c0,"[","\\lbrack",!0),v(ie,z,G,"[","\\lbrack",!0),v(S,z,Yt,"]","\\rbrack",!0),v(ie,z,G,"]","\\rbrack",!0),v(S,z,c0,"(","\\lparen",!0),v(S,z,Yt,")","\\rparen",!0),v(ie,z,G,"<","\\textless",!0),v(ie,z,G,">","\\textgreater",!0),v(S,z,c0,"⌊","\\lfloor",!0),v(S,z,Yt,"⌋","\\rfloor",!0),v(S,z,c0,"⌈","\\lceil",!0),v(S,z,Yt,"⌉","\\rceil",!0),v(S,z,G,"\\","\\backslash"),v(S,z,G,"∣","|"),v(S,z,G,"∣","\\vert"),v(ie,z,G,"|","\\textbar",!0),v(S,z,G,"∥","\\|"),v(S,z,G,"∥","\\Vert"),v(ie,z,G,"∥","\\textbardbl"),v(ie,z,G,"~","\\textasciitilde"),v(ie,z,G,"\\","\\textbackslash"),v(ie,z,G,"^","\\textasciicircum"),v(S,z,F,"↑","\\uparrow",!0),v(S,z,F,"⇑","\\Uparrow",!0),v(S,z,F,"↓","\\downarrow",!0),v(S,z,F,"⇓","\\Downarrow",!0),v(S,z,F,"↕","\\updownarrow",!0),v(S,z,F,"⇕","\\Updownarrow",!0),v(S,z,Bt,"∐","\\coprod"),v(S,z,Bt,"⋁","\\bigvee"),v(S,z,Bt,"⋀","\\bigwedge"),v(S,z,Bt,"⨄","\\biguplus"),v(S,z,Bt,"⋂","\\bigcap"),v(S,z,Bt,"⋃","\\bigcup"),v(S,z,Bt,"∫","\\int"),v(S,z,Bt,"∫","\\intop"),v(S,z,Bt,"∬","\\iint"),v(S,z,Bt,"∭","\\iiint"),v(S,z,Bt,"∏","\\prod"),v(S,z,Bt,"∑","\\sum"),v(S,z,Bt,"⨂","\\bigotimes"),v(S,z,Bt,"⨁","\\bigoplus"),v(S,z,Bt,"⨀","\\bigodot"),v(S,z,Bt,"∮","\\oint"),v(S,z,Bt,"∯","\\oiint"),v(S,z,Bt,"∰","\\oiiint"),v(S,z,Bt,"⨆","\\bigsqcup"),v(S,z,Bt,"∫","\\smallint"),v(ie,z,Wr,"…","\\textellipsis"),v(S,z,Wr,"…","\\mathellipsis"),v(ie,z,Wr,"…","\\ldots",!0),v(S,z,Wr,"…","\\ldots",!0),v(S,z,Wr,"⋯","\\@cdots",!0),v(S,z,Wr,"⋱","\\ddots",!0),v(S,z,G,"⋮","\\varvdots"),v(ie,z,G,"⋮","\\varvdots"),v(S,z,gt,"ˊ","\\acute"),v(S,z,gt,"ˋ","\\grave"),v(S,z,gt,"¨","\\ddot"),v(S,z,gt,"~","\\tilde"),v(S,z,gt,"ˉ","\\bar"),v(S,z,gt,"˘","\\breve"),v(S,z,gt,"ˇ","\\check"),v(S,z,gt,"^","\\hat"),v(S,z,gt,"⃗","\\vec"),v(S,z,gt,"˙","\\dot"),v(S,z,gt,"˚","\\mathring"),v(S,z,Ne,"","\\@imath"),v(S,z,Ne,"","\\@jmath"),v(S,z,G,"ı","ı"),v(S,z,G,"ȷ","ȷ"),v(ie,z,G,"ı","\\i",!0),v(ie,z,G,"ȷ","\\j",!0),v(ie,z,G,"ß","\\ss",!0),v(ie,z,G,"æ","\\ae",!0),v(ie,z,G,"œ","\\oe",!0),v(ie,z,G,"ø","\\o",!0),v(ie,z,G,"Æ","\\AE",!0),v(ie,z,G,"Œ","\\OE",!0),v(ie,z,G,"Ø","\\O",!0),v(ie,z,gt,"ˊ","\\'"),v(ie,z,gt,"ˋ","\\`"),v(ie,z,gt,"ˆ","\\^"),v(ie,z,gt,"˜","\\~"),v(ie,z,gt,"ˉ","\\="),v(ie,z,gt,"˘","\\u"),v(ie,z,gt,"˙","\\."),v(ie,z,gt,"¸","\\c"),v(ie,z,gt,"˚","\\r"),v(ie,z,gt,"ˇ","\\v"),v(ie,z,gt,"¨",'\\"'),v(ie,z,gt,"˝","\\H"),v(ie,z,gt,"◯","\\textcircled");var Uo={"--":!0,"---":!0,"``":!0,"''":!0};v(ie,z,G,"–","--",!0),v(ie,z,G,"–","\\textendash"),v(ie,z,G,"—","---",!0),v(ie,z,G,"—","\\textemdash"),v(ie,z,G,"‘","`",!0),v(ie,z,G,"‘","\\textquoteleft"),v(ie,z,G,"’","'",!0),v(ie,z,G,"’","\\textquoteright"),v(ie,z,G,"“","``",!0),v(ie,z,G,"“","\\textquotedblleft"),v(ie,z,G,"”","''",!0),v(ie,z,G,"”","\\textquotedblright"),v(S,z,G,"°","\\degree",!0),v(ie,z,G,"°","\\degree"),v(ie,z,G,"°","\\textdegree",!0),v(S,z,G,"£","\\pounds"),v(S,z,G,"£","\\mathsterling",!0),v(ie,z,G,"£","\\pounds"),v(ie,z,G,"£","\\textsterling",!0),v(S,O,G,"✠","\\maltese"),v(ie,O,G,"✠","\\maltese");for(var Wo='0123456789/@."',Ba=0;Ba<Wo.length;Ba++){var Yo=Wo.charAt(Ba);v(S,z,G,Yo,Yo)}for(var Xo='0123456789!@*()-=+";:?/.,',Na=0;Na<Xo.length;Na++){var Zo=Xo.charAt(Na);v(ie,z,G,Zo,Zo)}for(var Zn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Ia=0;Ia<Zn.length;Ia++){var Kn=Zn.charAt(Ia);v(S,z,Ne,Kn,Kn),v(ie,z,G,Kn,Kn)}v(S,O,G,"C","ℂ"),v(ie,O,G,"C","ℂ"),v(S,O,G,"H","ℍ"),v(ie,O,G,"H","ℍ"),v(S,O,G,"N","ℕ"),v(ie,O,G,"N","ℕ"),v(S,O,G,"P","ℙ"),v(ie,O,G,"P","ℙ"),v(S,O,G,"Q","ℚ"),v(ie,O,G,"Q","ℚ"),v(S,O,G,"R","ℝ"),v(ie,O,G,"R","ℝ"),v(S,O,G,"Z","ℤ"),v(ie,O,G,"Z","ℤ"),v(S,z,Ne,"h","ℎ"),v(ie,z,Ne,"h","ℎ");for(var Ie="",Xt=0;Xt<Zn.length;Xt++){var Mt=Zn.charAt(Xt);Ie=String.fromCharCode(55349,56320+Xt),v(S,z,Ne,Mt,Ie),v(ie,z,G,Mt,Ie),Ie=String.fromCharCode(55349,56372+Xt),v(S,z,Ne,Mt,Ie),v(ie,z,G,Mt,Ie),Ie=String.fromCharCode(55349,56424+Xt),v(S,z,Ne,Mt,Ie),v(ie,z,G,Mt,Ie),Ie=String.fromCharCode(55349,56580+Xt),v(S,z,Ne,Mt,Ie),v(ie,z,G,Mt,Ie),Ie=String.fromCharCode(55349,56684+Xt),v(S,z,Ne,Mt,Ie),v(ie,z,G,Mt,Ie),Ie=String.fromCharCode(55349,56736+Xt),v(S,z,Ne,Mt,Ie),v(ie,z,G,Mt,Ie),Ie=String.fromCharCode(55349,56788+Xt),v(S,z,Ne,Mt,Ie),v(ie,z,G,Mt,Ie),Ie=String.fromCharCode(55349,56840+Xt),v(S,z,Ne,Mt,Ie),v(ie,z,G,Mt,Ie),Ie=String.fromCharCode(55349,56944+Xt),v(S,z,Ne,Mt,Ie),v(ie,z,G,Mt,Ie),Xt<26&&(Ie=String.fromCharCode(55349,56632+Xt),v(S,z,Ne,Mt,Ie),v(ie,z,G,Mt,Ie),Ie=String.fromCharCode(55349,56476+Xt),v(S,z,Ne,Mt,Ie),v(ie,z,G,Mt,Ie))}Ie="𝕜",v(S,z,Ne,"k",Ie),v(ie,z,G,"k",Ie);for(var Mr=0;Mr<10;Mr++){var pr=Mr.toString();Ie=String.fromCharCode(55349,57294+Mr),v(S,z,Ne,pr,Ie),v(ie,z,G,pr,Ie),Ie=String.fromCharCode(55349,57314+Mr),v(S,z,Ne,pr,Ie),v(ie,z,G,pr,Ie),Ie=String.fromCharCode(55349,57324+Mr),v(S,z,Ne,pr,Ie),v(ie,z,G,pr,Ie),Ie=String.fromCharCode(55349,57334+Mr),v(S,z,Ne,pr,Ie),v(ie,z,G,pr,Ie)}for(var Ra="ÐÞþ",_a=0;_a<Ra.length;_a++){var Jn=Ra.charAt(_a);v(S,z,Ne,Jn,Jn),v(ie,z,G,Jn,Jn)}var Qn=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Ko=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],x3=function(t,r){var n=t.charCodeAt(0),a=t.charCodeAt(1),l=(n-55296)*1024+(a-56320)+65536,u=r==="math"?0:1;if(119808<=l&&l<120484){var c=Math.floor((l-119808)/26);return[Qn[c][2],Qn[c][u]]}else if(120782<=l&&l<=120831){var m=Math.floor((l-120782)/10);return[Ko[m][2],Ko[m][u]]}else{if(l===120485||l===120486)return[Qn[0][2],Qn[0][u]];if(120486<l&&l<120782)return["",""];throw new me("Unsupported character: "+t)}},ei=function(t,r,n){return ct[n][t]&&ct[n][t].replace&&(t=ct[n][t].replace),{value:t,metrics:Ta(t,r,n)}},T0=function(t,r,n,a,l){var u=ei(t,r,n),c=u.metrics;t=u.value;var m;if(c){var f=c.italic;(n==="text"||a&&a.font==="mathit")&&(f=0),m=new y0(t,c.height,c.depth,f,c.skew,c.width,l)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+r+"' and mode '"+n+"'")),m=new y0(t,0,0,0,0,0,l);if(a){m.maxFontSize=a.sizeMultiplier,a.style.isTight()&&m.classes.push("mtight");var g=a.getColor();g&&(m.style.color=g)}return m},v3=function(t,r,n,a){return a===void 0&&(a=[]),n.font==="boldsymbol"&&ei(t,"Main-Bold",r).metrics?T0(t,"Main-Bold",r,n,a.concat(["mathbf"])):t==="\\"||ct[r][t].font==="main"?T0(t,"Main-Regular",r,n,a):T0(t,"AMS-Regular",r,n,a.concat(["amsrm"]))},w3=function(t,r,n,a,l){return l!=="textord"&&ei(t,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},k3=function(t,r,n){var a=t.mode,l=t.text,u=["mord"],c=a==="math"||a==="text"&&r.font,m=c?r.font:r.fontFamily,f="",g="";if(l.charCodeAt(0)===55349&&([f,g]=x3(l,a)),f.length>0)return T0(l,f,a,r,u.concat(g));if(m){var b,d;if(m==="boldsymbol"){var p=w3(l,a,r,u,n);b=p.fontName,d=[p.fontClass]}else c?(b=eu[m].fontName,d=[m]):(b=ti(m,r.fontWeight,r.fontShape),d=[m,r.fontWeight,r.fontShape]);if(ei(l,b,a).metrics)return T0(l,b,a,r,u.concat(d));if(Uo.hasOwnProperty(l)&&b.slice(0,10)==="Typewriter"){for(var A=[],B=0;B<l.length;B++)A.push(T0(l[B],b,a,r,u.concat(d)));return Qo(A)}}if(n==="mathord")return T0(l,"Math-Italic",a,r,u.concat(["mathnormal"]));if(n==="textord"){var H=ct[a][l]&&ct[a][l].font;if(H==="ams"){var R=ti("amsrm",r.fontWeight,r.fontShape);return T0(l,R,a,r,u.concat("amsrm",r.fontWeight,r.fontShape))}else if(H==="main"||!H){var L=ti("textrm",r.fontWeight,r.fontShape);return T0(l,L,a,r,u.concat(r.fontWeight,r.fontShape))}else{var K=ti(H,r.fontWeight,r.fontShape);return T0(l,K,a,r,u.concat(K,r.fontWeight,r.fontShape))}}else throw new Error("unexpected type: "+n+" in makeOrd")},S3=(e,t)=>{if(mr(e.classes)!==mr(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(e.classes.length===1){var r=e.classes[0];if(r==="mbin"||r==="mord")return!1}for(var n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(var a in t.style)if(t.style.hasOwnProperty(a)&&e.style[a]!==t.style[a])return!1;return!0},M3=e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof y0&&n instanceof y0&&S3(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},qa=function(t){for(var r=0,n=0,a=0,l=0;l<t.children.length;l++){var u=t.children[l];u.height>r&&(r=u.height),u.depth>n&&(n=u.depth),u.maxFontSize>a&&(a=u.maxFontSize)}t.height=r,t.depth=n,t.maxFontSize=a},t0=function(t,r,n,a){var l=new kn(t,r,n,a);return qa(l),l},Jo=(e,t,r,n)=>new kn(e,t,r,n),A3=function(t,r,n){var a=t0([t],[],r);return a.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),a.style.borderBottomWidth=xe(a.height),a.maxFontSize=1,a},T3=function(t,r,n,a){var l=new Ea(t,r,n,a);return qa(l),l},Qo=function(t){var r=new wn(t);return qa(r),r},z3=function(t,r){return t instanceof wn?t0([],[t],r):t},C3=function(t){if(t.positionType==="individualShift"){for(var r=t.children,n=[r[0]],a=-r[0].shift-r[0].elem.depth,l=a,u=1;u<r.length;u++){var c=-r[u].shift-l-r[u].elem.depth,m=c-(r[u-1].elem.height+r[u-1].elem.depth);l=l+c,n.push({type:"kern",size:m}),n.push(r[u])}return{children:n,depth:a}}var f;if(t.positionType==="top"){for(var g=t.positionData,b=0;b<t.children.length;b++){var d=t.children[b];g-=d.type==="kern"?d.size:d.elem.height+d.elem.depth}f=g}else if(t.positionType==="bottom")f=-t.positionData;else{var p=t.children[0];if(p.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")f=-p.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")f=-p.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:f}},E3=function(t,r){for(var{children:n,depth:a}=C3(t),l=0,u=0;u<n.length;u++){var c=n[u];if(c.type==="elem"){var m=c.elem;l=Math.max(l,m.maxFontSize,m.height)}}l+=2;var f=t0(["pstrut"],[]);f.style.height=xe(l);for(var g=[],b=a,d=a,p=a,A=0;A<n.length;A++){var B=n[A];if(B.type==="kern")p+=B.size;else{var H=B.elem,R=B.wrapperClasses||[],L=B.wrapperStyle||{},K=t0(R,[f,H],void 0,L);K.style.top=xe(-l-p-H.depth),B.marginLeft&&(K.style.marginLeft=B.marginLeft),B.marginRight&&(K.style.marginRight=B.marginRight),g.push(K),p+=H.height+H.depth}b=Math.min(b,p),d=Math.max(d,p)}var ae=t0(["vlist"],g);ae.style.height=xe(d);var re;if(b<0){var Y=t0([],[]),oe=t0(["vlist"],[Y]);oe.style.height=xe(-b);var ve=t0(["vlist-s"],[new y0("​")]);re=[t0(["vlist-r"],[ae,ve]),t0(["vlist-r"],[oe])]}else re=[t0(["vlist-r"],[ae])];var ue=t0(["vlist-t"],re);return re.length===2&&ue.classes.push("vlist-t2"),ue.height=d,ue.depth=-b,ue},D3=(e,t)=>{var r=t0(["mspace"],[],t),n=xt(e,t);return r.style.marginRight=xe(n),r},ti=function(t,r,n){var a="";switch(t){case"amsrm":a="AMS";break;case"textrm":a="Main";break;case"textsf":a="SansSerif";break;case"texttt":a="Typewriter";break;default:a=t}var l;return r==="textbf"&&n==="textit"?l="BoldItalic":r==="textbf"?l="Bold":r==="textit"?l="Italic":l="Regular",a+"-"+l},eu={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"}},tu={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},B3=function(t,r){var[n,a,l]=tu[t],u=new dr(n),c=new Y0([u],{width:xe(a),height:xe(l),style:"width:"+xe(a),viewBox:"0 0 "+1e3*a+" "+1e3*l,preserveAspectRatio:"xMinYMin"}),m=Jo(["overlay"],[c],r);return m.height=l,m.style.height=xe(l),m.style.width=xe(a),m},X={fontMap:eu,makeSymbol:T0,mathsym:v3,makeSpan:t0,makeSvgSpan:Jo,makeLineSpan:A3,makeAnchor:T3,makeFragment:Qo,wrapFragment:z3,makeVList:E3,makeOrd:k3,makeGlue:D3,staticSvg:B3,svgData:tu,tryCombineChars:M3},vt={number:3,unit:"mu"},Ar={number:4,unit:"mu"},Z0={number:5,unit:"mu"},N3={mord:{mop:vt,mbin:Ar,mrel:Z0,minner:vt},mop:{mord:vt,mop:vt,mrel:Z0,minner:vt},mbin:{mord:Ar,mop:Ar,mopen:Ar,minner:Ar},mrel:{mord:Z0,mop:Z0,mopen:Z0,minner:Z0},mopen:{},mclose:{mop:vt,mbin:Ar,mrel:Z0,minner:vt},mpunct:{mord:vt,mop:vt,mrel:Z0,mopen:vt,mclose:vt,mpunct:vt,minner:vt},minner:{mord:vt,mop:vt,mbin:Ar,mrel:Z0,mopen:vt,mpunct:vt,minner:vt}},I3={mord:{mop:vt},mop:{mord:vt,mop:vt},mbin:{},mrel:{},mopen:{},mclose:{mop:vt},mpunct:{},minner:{mop:vt}},ru={},ri={},ni={};function ke(e){for(var{type:t,names:r,props:n,handler:a,htmlBuilder:l,mathmlBuilder:u}=e,c={type:t,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:n.allowedInMath===void 0?!0:n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:a},m=0;m<r.length;++m)ru[r[m]]=c;t&&(l&&(ri[t]=l),u&&(ni[t]=u))}function Tr(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;ke({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var ii=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},Ct=function(t){return t.type==="ordgroup"?t.body:[t]},K0=X.makeSpan,R3=["leftmost","mbin","mopen","mrel","mop","mpunct"],_3=["rightmost","mrel","mclose","mpunct"],q3={display:Be.DISPLAY,text:Be.TEXT,script:Be.SCRIPT,scriptscript:Be.SCRIPTSCRIPT},O3={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Nt=function(t,r,n,a){a===void 0&&(a=[null,null]);for(var l=[],u=0;u<t.length;u++){var c=Ze(t[u],r);if(c instanceof wn){var m=c.children;l.push(...m)}else l.push(c)}if(X.tryCombineChars(l),!n)return l;var f=r;if(t.length===1){var g=t[0];g.type==="sizing"?f=r.havingSize(g.size):g.type==="styling"&&(f=r.havingStyle(q3[g.style]))}var b=K0([a[0]||"leftmost"],[],r),d=K0([a[1]||"rightmost"],[],r),p=n==="root";return nu(l,(A,B)=>{var H=B.classes[0],R=A.classes[0];H==="mbin"&&De.contains(_3,R)?B.classes[0]="mord":R==="mbin"&&De.contains(R3,H)&&(A.classes[0]="mord")},{node:b},d,p),nu(l,(A,B)=>{var H=Oa(B),R=Oa(A),L=H&&R?A.hasClass("mtight")?I3[H][R]:N3[H][R]:null;if(L)return X.makeGlue(L,f)},{node:b},d,p),l},nu=function e(t,r,n,a,l){a&&t.push(a);for(var u=0;u<t.length;u++){var c=t[u],m=iu(c);if(m){e(m.children,r,n,null,l);continue}var f=!c.hasClass("mspace");if(f){var g=r(c,n.node);g&&(n.insertAfter?n.insertAfter(g):(t.unshift(g),u++))}f?n.node=c:l&&c.hasClass("newline")&&(n.node=K0(["leftmost"])),n.insertAfter=(b=>d=>{t.splice(b+1,0,d),u++})(u)}a&&t.pop()},iu=function(t){return t instanceof wn||t instanceof Ea||t instanceof kn&&t.hasClass("enclosing")?t:null},F3=function e(t,r){var n=iu(t);if(n){var a=n.children;if(a.length){if(r==="right")return e(a[a.length-1],"right");if(r==="left")return e(a[0],"left")}}return t},Oa=function(t,r){return t?(r&&(t=F3(t,r)),O3[t.classes[0]]||null):null},Sn=function(t,r){var n=["nulldelimiter"].concat(t.baseSizingClasses());return K0(r.concat(n))},Ze=function(t,r,n){if(!t)return K0();if(ri[t.type]){var a=ri[t.type](t,r);if(n&&r.size!==n.size){a=K0(r.sizingClasses(n),[a],r);var l=r.sizeMultiplier/n.sizeMultiplier;a.height*=l,a.depth*=l}return a}else throw new me("Got group of unknown type: '"+t.type+"'")};function ai(e,t){var r=K0(["base"],e,t),n=K0(["strut"]);return n.style.height=xe(r.height+r.depth),r.depth&&(n.style.verticalAlign=xe(-r.depth)),r.children.unshift(n),r}function Fa(e,t){var r=null;e.length===1&&e[0].type==="tag"&&(r=e[0].tag,e=e[0].body);var n=Nt(e,t,"root"),a;n.length===2&&n[1].hasClass("tag")&&(a=n.pop());for(var l=[],u=[],c=0;c<n.length;c++)if(u.push(n[c]),n[c].hasClass("mbin")||n[c].hasClass("mrel")||n[c].hasClass("allowbreak")){for(var m=!1;c<n.length-1&&n[c+1].hasClass("mspace")&&!n[c+1].hasClass("newline");)c++,u.push(n[c]),n[c].hasClass("nobreak")&&(m=!0);m||(l.push(ai(u,t)),u=[])}else n[c].hasClass("newline")&&(u.pop(),u.length>0&&(l.push(ai(u,t)),u=[]),l.push(n[c]));u.length>0&&l.push(ai(u,t));var f;r?(f=ai(Nt(r,t,!0)),f.classes=["tag"],l.push(f)):a&&l.push(a);var g=K0(["katex-html"],l);if(g.setAttribute("aria-hidden","true"),f){var b=f.children[0];b.style.height=xe(g.height+g.depth),g.depth&&(b.style.verticalAlign=xe(-g.depth))}return g}function au(e){return new wn(e)}class h0{constructor(t,r,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=r||[],this.classes=n||[]}setAttribute(t,r){this.attributes[t]=r}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&t.setAttribute(r,this.attributes[r]);this.classes.length>0&&(t.className=mr(this.classes));for(var n=0;n<this.children.length;n++)if(this.children[n]instanceof q0&&this.children[n+1]instanceof q0){for(var a=this.children[n].toText()+this.children[++n].toText();this.children[n+1]instanceof q0;)a+=this.children[++n].toText();t.appendChild(new q0(a).toNode())}else t.appendChild(this.children[n].toNode());return t}toMarkup(){var t="<"+this.type;for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="',t+=De.escape(this.attributes[r]),t+='"');this.classes.length>0&&(t+=' class ="'+De.escape(mr(this.classes))+'"'),t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</"+this.type+">",t}toText(){return this.children.map(t=>t.toText()).join("")}}class q0{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return De.escape(this.toText())}toText(){return this.text}}class L3{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character="  ":t>=-.05556&&t<=-.05555?this.character=" ⁣":t>=-.1667&&t<=-.1666?this.character=" ⁣":t>=-.2223&&t<=-.2222?this.character=" ⁣":t>=-.2778&&t<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",xe(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+xe(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var se={MathNode:h0,TextNode:q0,SpaceNode:L3,newDocumentFragment:au},b0=function(t,r,n){return ct[r][t]&&ct[r][t].replace&&t.charCodeAt(0)!==55349&&!(Uo.hasOwnProperty(t)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(t=ct[r][t].replace),new se.TextNode(t)},La=function(t){return t.length===1?t[0]:new se.MathNode("mrow",t)},Pa=function(t,r){if(r.fontFamily==="texttt")return"monospace";if(r.fontFamily==="textsf")return r.fontShape==="textit"&&r.fontWeight==="textbf"?"sans-serif-bold-italic":r.fontShape==="textit"?"sans-serif-italic":r.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(r.fontShape==="textit"&&r.fontWeight==="textbf")return"bold-italic";if(r.fontShape==="textit")return"italic";if(r.fontWeight==="textbf")return"bold";var n=r.font;if(!n||n==="mathnormal")return null;var a=t.mode;if(n==="mathit")return"italic";if(n==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(n==="mathbf")return"bold";if(n==="mathbb")return"double-struck";if(n==="mathsfit")return"sans-serif-italic";if(n==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var l=t.text;if(De.contains(["\\imath","\\jmath"],l))return null;ct[a][l]&&ct[a][l].replace&&(l=ct[a][l].replace);var u=X.fontMap[n].fontName;return Ta(l,u,a)?X.fontMap[n].variant:null};function Ha(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof q0&&t.text==="."}else if(e.type==="mo"&&e.children.length===1&&e.getAttribute("separator")==="true"&&e.getAttribute("lspace")==="0em"&&e.getAttribute("rspace")==="0em"){var r=e.children[0];return r instanceof q0&&r.text===","}else return!1}var r0=function(t,r,n){if(t.length===1){var a=st(t[0],r);return n&&a instanceof h0&&a.type==="mo"&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var l=[],u,c=0;c<t.length;c++){var m=st(t[c],r);if(m instanceof h0&&u instanceof h0){if(m.type==="mtext"&&u.type==="mtext"&&m.getAttribute("mathvariant")===u.getAttribute("mathvariant")){u.children.push(...m.children);continue}else if(m.type==="mn"&&u.type==="mn"){u.children.push(...m.children);continue}else if(Ha(m)&&u.type==="mn"){u.children.push(...m.children);continue}else if(m.type==="mn"&&Ha(u))m.children=[...u.children,...m.children],l.pop();else if((m.type==="msup"||m.type==="msub")&&m.children.length>=1&&(u.type==="mn"||Ha(u))){var f=m.children[0];f instanceof h0&&f.type==="mn"&&(f.children=[...u.children,...f.children],l.pop())}else if(u.type==="mi"&&u.children.length===1){var g=u.children[0];if(g instanceof q0&&g.text==="̸"&&(m.type==="mo"||m.type==="mi"||m.type==="mn")){var b=m.children[0];b instanceof q0&&b.text.length>0&&(b.text=b.text.slice(0,1)+"̸"+b.text.slice(1),l.pop())}}}l.push(m),u=m}return l},fr=function(t,r,n){return La(r0(t,r,n))},st=function(t,r){if(!t)return new se.MathNode("mrow");if(ni[t.type]){var n=ni[t.type](t,r);return n}else throw new me("Got group of unknown type: '"+t.type+"'")};function lu(e,t,r,n,a){var l=r0(e,r),u;l.length===1&&l[0]instanceof h0&&De.contains(["mrow","mtable"],l[0].type)?u=l[0]:u=new se.MathNode("mrow",l);var c=new se.MathNode("annotation",[new se.TextNode(t)]);c.setAttribute("encoding","application/x-tex");var m=new se.MathNode("semantics",[u,c]),f=new se.MathNode("math",[m]);f.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&f.setAttribute("display","block");var g=a?"katex":"katex-mathml";return X.makeSpan([g],[f])}var su=function(t){return new W0({style:t.displayMode?Be.DISPLAY:Be.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},ou=function(t,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),t=X.makeSpan(n,[t])}return t},P3=function(t,r,n){var a=su(n),l;if(n.output==="mathml")return lu(t,r,a,n.displayMode,!0);if(n.output==="html"){var u=Fa(t,a);l=X.makeSpan(["katex"],[u])}else{var c=lu(t,r,a,n.displayMode,!1),m=Fa(t,a);l=X.makeSpan(["katex"],[c,m])}return ou(l,n)},H3=function(t,r,n){var a=su(n),l=Fa(t,a),u=X.makeSpan(["katex"],[l]);return ou(u,n)},$3={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},V3=function(t){var r=new se.MathNode("mo",[new se.TextNode($3[t.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},j3={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},G3=function(t){return t.type==="ordgroup"?t.body.length:1},U3=function(t,r){function n(){var c=4e5,m=t.label.slice(1);if(De.contains(["widehat","widecheck","widetilde","utilde"],m)){var f=t,g=G3(f.base),b,d,p;if(g>5)m==="widehat"||m==="widecheck"?(b=420,c=2364,p=.42,d=m+"4"):(b=312,c=2340,p=.34,d="tilde4");else{var A=[1,1,2,2,3,3][g];m==="widehat"||m==="widecheck"?(c=[0,1062,2364,2364,2364][A],b=[0,239,300,360,420][A],p=[0,.24,.3,.3,.36,.42][A],d=m+A):(c=[0,600,1033,2339,2340][A],b=[0,260,286,306,312][A],p=[0,.26,.286,.3,.306,.34][A],d="tilde"+A)}var B=new dr(d),H=new Y0([B],{width:"100%",height:xe(p),viewBox:"0 0 "+c+" "+b,preserveAspectRatio:"none"});return{span:X.makeSvgSpan([],[H],r),minWidth:0,height:p}}else{var R=[],L=j3[m],[K,ae,re]=L,Y=re/1e3,oe=K.length,ve,ue;if(oe===1){var J=L[3];ve=["hide-tail"],ue=[J]}else if(oe===2)ve=["halfarrow-left","halfarrow-right"],ue=["xMinYMin","xMaxYMin"];else if(oe===3)ve=["brace-left","brace-center","brace-right"],ue=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
302
- `+oe+" children.");for(var de=0;de<oe;de++){var ge=new dr(K[de]),he=new Y0([ge],{width:"400em",height:xe(Y),viewBox:"0 0 "+c+" "+re,preserveAspectRatio:ue[de]+" slice"}),te=X.makeSvgSpan([ve[de]],[he],r);if(oe===1)return{span:te,minWidth:ae,height:Y};te.style.height=xe(Y),R.push(te)}return{span:X.makeSpan(["stretchy"],R,r),minWidth:ae,height:Y}}}var{span:a,minWidth:l,height:u}=n();return a.height=u,a.style.height=xe(u),l>0&&(a.style.minWidth=xe(l)),a},W3=function(t,r,n,a,l){var u,c=t.height+t.depth+n+a;if(/fbox|color|angl/.test(r)){if(u=X.makeSpan(["stretchy",r],[],l),r==="fbox"){var m=l.color&&l.getColor();m&&(u.style.borderColor=m)}}else{var f=[];/^[bx]cancel$/.test(r)&&f.push(new Da({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&f.push(new Da({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var g=new Y0(f,{width:"100%",height:xe(c)});u=X.makeSvgSpan([],[g],l)}return u.height=c,u.style.height=xe(c),u},J0={encloseSpan:W3,mathMLnode:V3,svgSpan:U3};function Le(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function $a(e){var t=li(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function li(e){return e&&(e.type==="atom"||b3.hasOwnProperty(e.type))?e:null}var Va=(e,t)=>{var r,n,a;e&&e.type==="supsub"?(n=Le(e.base,"accent"),r=n.base,e.base=r,a=g3(Ze(e,t)),e.base=n):(n=Le(e,"accent"),r=n.base);var l=Ze(r,t.havingCrampedStyle()),u=n.isShifty&&De.isCharacterBox(r),c=0;if(u){var m=De.getBaseElem(r),f=Ze(m,t.havingCrampedStyle());c=Go(f).skew}var g=n.label==="\\c",b=g?l.height+l.depth:Math.min(l.height,t.fontMetrics().xHeight),d;if(n.isStretchy)d=J0.svgSpan(n,t),d=X.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"elem",elem:d,wrapperClasses:["svg-align"],wrapperStyle:c>0?{width:"calc(100% - "+xe(2*c)+")",marginLeft:xe(2*c)}:void 0}]},t);else{var p,A;n.label==="\\vec"?(p=X.staticSvg("vec",t),A=X.svgData.vec[1]):(p=X.makeOrd({mode:n.mode,text:n.label},t,"textord"),p=Go(p),p.italic=0,A=p.width,g&&(b+=p.depth)),d=X.makeSpan(["accent-body"],[p]);var B=n.label==="\\textcircled";B&&(d.classes.push("accent-full"),b=l.height);var H=c;B||(H-=A/2),d.style.left=xe(H),n.label==="\\textcircled"&&(d.style.top=".2em"),d=X.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:-b},{type:"elem",elem:d}]},t)}var R=X.makeSpan(["mord","accent"],[d],t);return a?(a.children[0]=R,a.height=Math.max(R.height,a.height),a.classes[0]="mord",a):R},uu=(e,t)=>{var r=e.isStretchy?J0.mathMLnode(e.label):new se.MathNode("mo",[b0(e.label,e.mode)]),n=new se.MathNode("mover",[st(e.base,t),r]);return n.setAttribute("accent","true"),n},Y3=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));ke({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=ii(t[0]),n=!Y3.test(e.funcName),a=!n||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:a,base:r}},htmlBuilder:Va,mathmlBuilder:uu}),ke({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 n==="math"&&(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:Va,mathmlBuilder:uu}),ke({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:a}},htmlBuilder:(e,t)=>{var r=Ze(e.base,t),n=J0.svgSpan(e,t),a=e.label==="\\utilde"?.12:0,l=X.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:r}]},t);return X.makeSpan(["mord","accentunder"],[l],t)},mathmlBuilder:(e,t)=>{var r=J0.mathMLnode(e.label),n=new se.MathNode("munder",[st(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var si=e=>{var t=new se.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};ke({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:a}=e;return{type:"xArrow",mode:n.mode,label:a,body:t[0],below:r[0]}},htmlBuilder(e,t){var r=t.style,n=t.havingStyle(r.sup()),a=X.wrapFragment(Ze(e.body,n,t),t),l=e.label.slice(0,2)==="\\x"?"x":"cd";a.classes.push(l+"-arrow-pad");var u;e.below&&(n=t.havingStyle(r.sub()),u=X.wrapFragment(Ze(e.below,n,t),t),u.classes.push(l+"-arrow-pad"));var c=J0.svgSpan(e,t),m=-t.fontMetrics().axisHeight+.5*c.height,f=-t.fontMetrics().axisHeight-.5*c.height-.111;(a.depth>.25||e.label==="\\xleftequilibrium")&&(f-=a.depth);var g;if(u){var b=-t.fontMetrics().axisHeight+u.height+.5*c.height+.111;g=X.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:f},{type:"elem",elem:c,shift:m},{type:"elem",elem:u,shift:b}]},t)}else g=X.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:f},{type:"elem",elem:c,shift:m}]},t);return g.children[0].children[0].children[1].classes.push("svg-align"),X.makeSpan(["mrel","x-arrow"],[g],t)},mathmlBuilder(e,t){var r=J0.mathMLnode(e.label);r.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(e.body){var a=si(st(e.body,t));if(e.below){var l=si(st(e.below,t));n=new se.MathNode("munderover",[r,l,a])}else n=new se.MathNode("mover",[r,a])}else if(e.below){var u=si(st(e.below,t));n=new se.MathNode("munder",[r,u])}else n=si(),n=new se.MathNode("mover",[r,n]);return n}});var X3=X.makeSpan;function cu(e,t){var r=Nt(e.body,t,!0);return X3([e.mclass],r,t)}function hu(e,t){var r,n=r0(e.body,t);return e.mclass==="minner"?r=new se.MathNode("mpadded",n):e.mclass==="mord"?e.isCharacterBox?(r=n[0],r.type="mi"):r=new se.MathNode("mi",n):(e.isCharacterBox?(r=n[0],r.type="mo"):r=new se.MathNode("mo",n),e.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):e.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):e.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}ke({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:Ct(a),isCharacterBox:De.isCharacterBox(a)}},htmlBuilder:cu,mathmlBuilder:hu});var oi=e=>{var t=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};ke({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:oi(t[0]),body:Ct(t[1]),isCharacterBox:De.isCharacterBox(t[1])}}}),ke({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:r,funcName:n}=e,a=t[1],l=t[0],u;n!=="\\stackrel"?u=oi(a):u="mrel";var c={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:Ct(a)},m={type:"supsub",mode:l.mode,base:c,sup:n==="\\underset"?null:l,sub:n==="\\underset"?l:null};return{type:"mclass",mode:r.mode,mclass:u,body:[m],isCharacterBox:De.isCharacterBox(m)}},htmlBuilder:cu,mathmlBuilder:hu}),ke({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:oi(t[0]),body:Ct(t[0])}},htmlBuilder(e,t){var r=Nt(e.body,t,!0),n=X.makeSpan([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=r0(e.body,t),n=new se.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var Z3={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},mu=()=>({type:"styling",body:[],mode:"math",style:"display"}),du=e=>e.type==="textord"&&e.text==="@",K3=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function J3(e,t,r){var n=Z3[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var a=r.callFunction("\\\\cdleft",[t[0]],[]),l={type:"atom",text:n,mode:"math",family:"rel"},u=r.callFunction("\\Big",[l],[]),c=r.callFunction("\\\\cdright",[t[1]],[]),m={type:"ordgroup",mode:"math",body:[a,u,c]};return r.callFunction("\\\\cdparent",[m],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var f={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[f],[])}default:return{type:"textord",text:" ",mode:"math"}}}function Q3(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(r==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new me("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var n=[],a=[n],l=0;l<t.length;l++){for(var u=t[l],c=mu(),m=0;m<u.length;m++)if(!du(u[m]))c.body.push(u[m]);else{n.push(c),m+=1;var f=$a(u[m]).text,g=new Array(2);if(g[0]={type:"ordgroup",mode:"math",body:[]},g[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(f)>-1))if("<>AV".indexOf(f)>-1)for(var b=0;b<2;b++){for(var d=!0,p=m+1;p<u.length;p++){if(K3(u[p],f)){d=!1,m=p;break}if(du(u[p]))throw new me("Missing a "+f+" character to complete a CD arrow.",u[p]);g[b].body.push(u[p])}if(d)throw new me("Missing a "+f+" character to complete a CD arrow.",u[m])}else throw new me('Expected one of "<>AV=|." after @',u[m]);var A=J3(f,g,e),B={type:"styling",body:[A],mode:"math",style:"display"};n.push(B),c=mu()}l%2===0?n.push(c):n.shift(),n=[],a.push(n)}e.gullet.endGroup(),e.gullet.endGroup();var H=new Array(a[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:a,arraystretch:1,addJot:!0,rowGaps:[null],cols:H,colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}ke({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=X.wrapFragment(Ze(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=xe(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new se.MathNode("mrow",[st(e.label,t)]);return r=new se.MathNode("mpadded",[r]),r.setAttribute("width","0"),e.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new se.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),ke({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=X.wrapFragment(Ze(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(e,t){return new se.MathNode("mrow",[st(e.fragment,t)])}}),ke({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=Le(t[0],"ordgroup"),a=n.body,l="",u=0;u<a.length;u++){var c=Le(a[u],"textord");l+=c.text}var m=parseInt(l),f;if(isNaN(m))throw new me("\\@char has non-numeric argument "+l);if(m<0||m>=1114111)throw new me("\\@char with invalid code point "+l);return m<=65535?f=String.fromCharCode(m):(m-=65536,f=String.fromCharCode((m>>10)+55296,(m&1023)+56320)),{type:"textord",mode:r.mode,text:f}}});var pu=(e,t)=>{var r=Nt(e.body,t.withColor(e.color),!1);return X.makeFragment(r)},fu=(e,t)=>{var r=r0(e.body,t.withColor(e.color)),n=new se.MathNode("mstyle",r);return n.setAttribute("mathcolor",e.color),n};ke({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=Le(t[0],"color-token").color,a=t[1];return{type:"color",mode:r.mode,color:n,body:Ct(a)}},htmlBuilder:pu,mathmlBuilder:fu}),ke({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,a=Le(t[0],"color-token").color;r.gullet.macros.set("\\current@color",a);var l=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:a,body:l}},htmlBuilder:pu,mathmlBuilder:fu}),ke({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:n}=e,a=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,l=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:l,size:a&&Le(a,"size").value}},htmlBuilder(e,t){var r=X.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=xe(xt(e.size,t)))),r},mathmlBuilder(e,t){var r=new se.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",xe(xt(e.size,t)))),r}});var ja={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},gu=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new me("Expected a control sequence",e);return t},e6=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},yu=(e,t,r,n)=>{var a=e.gullet.macros.get(r.text);a==null&&(r.noexpand=!0,a={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,a,n)};ke({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(ja[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=ja[n.text]),Le(t.parseFunction(),"internal");throw new me("Invalid token after macro prefix",n)}}),ke({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=t.gullet.popToken(),a=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new me("Expected a control sequence",n);for(var l=0,u,c=[[]];t.gullet.future().text!=="{";)if(n=t.gullet.popToken(),n.text==="#"){if(t.gullet.future().text==="{"){u=t.gullet.future(),c[l].push("{");break}if(n=t.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new me('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==l+1)throw new me('Argument number "'+n.text+'" out of order');l++,c.push([])}else{if(n.text==="EOF")throw new me("Expected a macro definition");c[l].push(n.text)}var{tokens:m}=t.gullet.consumeArg();return u&&m.unshift(u),(r==="\\edef"||r==="\\xdef")&&(m=t.gullet.expandTokens(m),m.reverse()),t.gullet.macros.set(a,{tokens:m,numArgs:l,delimiters:c},r===ja[r]),{type:"internal",mode:t.mode}}}),ke({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=gu(t.gullet.popToken());t.gullet.consumeSpaces();var a=e6(t);return yu(t,n,a,r==="\\\\globallet"),{type:"internal",mode:t.mode}}}),ke({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=gu(t.gullet.popToken()),a=t.gullet.popToken(),l=t.gullet.popToken();return yu(t,n,l,r==="\\\\globalfuture"),t.gullet.pushToken(l),t.gullet.pushToken(a),{type:"internal",mode:t.mode}}});var Mn=function(t,r,n){var a=ct.math[t]&&ct.math[t].replace,l=Ta(a||t,r,n);if(!l)throw new Error("Unsupported symbol "+t+" and font size "+r+".");return l},Ga=function(t,r,n,a){var l=n.havingBaseStyle(r),u=X.makeSpan(a.concat(l.sizingClasses(n)),[t],n),c=l.sizeMultiplier/n.sizeMultiplier;return u.height*=c,u.depth*=c,u.maxFontSize=l.sizeMultiplier,u},bu=function(t,r,n){var a=r.havingBaseStyle(n),l=(1-r.sizeMultiplier/a.sizeMultiplier)*r.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=xe(l),t.height-=l,t.depth+=l},t6=function(t,r,n,a,l,u){var c=X.makeSymbol(t,"Main-Regular",l,a),m=Ga(c,r,a,u);return n&&bu(m,a,r),m},r6=function(t,r,n,a){return X.makeSymbol(t,"Size"+r+"-Regular",n,a)},xu=function(t,r,n,a,l,u){var c=r6(t,r,l,a),m=Ga(X.makeSpan(["delimsizing","size"+r],[c],a),Be.TEXT,a,u);return n&&bu(m,a,Be.TEXT),m},Ua=function(t,r,n){var a;r==="Size1-Regular"?a="delim-size1":a="delim-size4";var l=X.makeSpan(["delimsizinginner",a],[X.makeSpan([],[X.makeSymbol(t,r,n)])]);return{type:"elem",elem:l}},Wa=function(t,r,n){var a=_0["Size4-Regular"][t.charCodeAt(0)]?_0["Size4-Regular"][t.charCodeAt(0)][4]:_0["Size1-Regular"][t.charCodeAt(0)][4],l=new dr("inner",s3(t,Math.round(1e3*r))),u=new Y0([l],{width:xe(a),height:xe(r),style:"width:"+xe(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),c=X.makeSvgSpan([],[u],n);return c.height=r,c.style.height=xe(r),c.style.width=xe(a),{type:"elem",elem:c}},Ya=.008,ui={type:"kern",size:-1*Ya},n6=["|","\\lvert","\\rvert","\\vert"],i6=["\\|","\\lVert","\\rVert","\\Vert"],vu=function(t,r,n,a,l,u){var c,m,f,g,b="",d=0;c=f=g=t,m=null;var p="Size1-Regular";t==="\\uparrow"?f=g="⏐":t==="\\Uparrow"?f=g="‖":t==="\\downarrow"?c=f="⏐":t==="\\Downarrow"?c=f="‖":t==="\\updownarrow"?(c="\\uparrow",f="⏐",g="\\downarrow"):t==="\\Updownarrow"?(c="\\Uparrow",f="‖",g="\\Downarrow"):De.contains(n6,t)?(f="∣",b="vert",d=333):De.contains(i6,t)?(f="∥",b="doublevert",d=556):t==="["||t==="\\lbrack"?(c="⎡",f="⎢",g="⎣",p="Size4-Regular",b="lbrack",d=667):t==="]"||t==="\\rbrack"?(c="⎤",f="⎥",g="⎦",p="Size4-Regular",b="rbrack",d=667):t==="\\lfloor"||t==="⌊"?(f=c="⎢",g="⎣",p="Size4-Regular",b="lfloor",d=667):t==="\\lceil"||t==="⌈"?(c="⎡",f=g="⎢",p="Size4-Regular",b="lceil",d=667):t==="\\rfloor"||t==="⌋"?(f=c="⎥",g="⎦",p="Size4-Regular",b="rfloor",d=667):t==="\\rceil"||t==="⌉"?(c="⎤",f=g="⎥",p="Size4-Regular",b="rceil",d=667):t==="("||t==="\\lparen"?(c="⎛",f="⎜",g="⎝",p="Size4-Regular",b="lparen",d=875):t===")"||t==="\\rparen"?(c="⎞",f="⎟",g="⎠",p="Size4-Regular",b="rparen",d=875):t==="\\{"||t==="\\lbrace"?(c="⎧",m="⎨",g="⎩",f="⎪",p="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(c="⎫",m="⎬",g="⎭",f="⎪",p="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(c="⎧",g="⎩",f="⎪",p="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(c="⎫",g="⎭",f="⎪",p="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(c="⎧",g="⎭",f="⎪",p="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(c="⎫",g="⎩",f="⎪",p="Size4-Regular");var A=Mn(c,p,l),B=A.height+A.depth,H=Mn(f,p,l),R=H.height+H.depth,L=Mn(g,p,l),K=L.height+L.depth,ae=0,re=1;if(m!==null){var Y=Mn(m,p,l);ae=Y.height+Y.depth,re=2}var oe=B+K+ae,ve=Math.max(0,Math.ceil((r-oe)/(re*R))),ue=oe+ve*re*R,J=a.fontMetrics().axisHeight;n&&(J*=a.sizeMultiplier);var de=ue/2-J,ge=[];if(b.length>0){var he=ue-B-K,te=Math.round(ue*1e3),Ae=o3(b,Math.round(he*1e3)),Ve=new dr(b,Ae),Qe=(d/1e3).toFixed(3)+"em",ht=(te/1e3).toFixed(3)+"em",qt=new Y0([Ve],{width:Qe,height:ht,viewBox:"0 0 "+d+" "+te}),$=X.makeSvgSpan([],[qt],a);$.height=te/1e3,$.style.width=Qe,$.style.height=ht,ge.push({type:"elem",elem:$})}else{if(ge.push(Ua(g,p,l)),ge.push(ui),m===null){var we=ue-B-K+2*Ya;ge.push(Wa(f,we,a))}else{var it=(ue-B-K-ae)/2+2*Ya;ge.push(Wa(f,it,a)),ge.push(ui),ge.push(Ua(m,p,l)),ge.push(ui),ge.push(Wa(f,it,a))}ge.push(ui),ge.push(Ua(c,p,l))}var V=a.havingBaseStyle(Be.TEXT),At=X.makeVList({positionType:"bottom",positionData:de,children:ge},V);return Ga(X.makeSpan(["delimsizing","mult"],[At],V),Be.TEXT,a,u)},Xa=80,Za=.08,Ka=function(t,r,n,a,l){var u=l3(t,a,n),c=new dr(t,u),m=new Y0([c],{width:"400em",height:xe(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return X.makeSvgSpan(["hide-tail"],[m],l)},a6=function(t,r){var n=r.havingBaseSizing(),a=Mu("\\surd",t*n.sizeMultiplier,Su,n),l=n.sizeMultiplier,u=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),c,m=0,f=0,g=0,b;return a.type==="small"?(g=1e3+1e3*u+Xa,t<1?l=1:t<1.4&&(l=.7),m=(1+u+Za)/l,f=(1+u)/l,c=Ka("sqrtMain",m,g,u,r),c.style.minWidth="0.853em",b=.833/l):a.type==="large"?(g=(1e3+Xa)*An[a.size],f=(An[a.size]+u)/l,m=(An[a.size]+u+Za)/l,c=Ka("sqrtSize"+a.size,m,g,u,r),c.style.minWidth="1.02em",b=1/l):(m=t+u+Za,f=t+u,g=Math.floor(1e3*t+u)+Xa,c=Ka("sqrtTall",m,g,u,r),c.style.minWidth="0.742em",b=1.056),c.height=f,c.style.height=xe(m),{span:c,advanceWidth:b,ruleWidth:(r.fontMetrics().sqrtRuleThickness+u)*l}},wu=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],l6=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],ku=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],An=[0,1.2,1.8,2.4,3],s6=function(t,r,n,a,l){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),De.contains(wu,t)||De.contains(ku,t))return xu(t,r,!1,n,a,l);if(De.contains(l6,t))return vu(t,An[r],!1,n,a,l);throw new me("Illegal delimiter: '"+t+"'")},o6=[{type:"small",style:Be.SCRIPTSCRIPT},{type:"small",style:Be.SCRIPT},{type:"small",style:Be.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],u6=[{type:"small",style:Be.SCRIPTSCRIPT},{type:"small",style:Be.SCRIPT},{type:"small",style:Be.TEXT},{type:"stack"}],Su=[{type:"small",style:Be.SCRIPTSCRIPT},{type:"small",style:Be.SCRIPT},{type:"small",style:Be.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],c6=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},Mu=function(t,r,n,a){for(var l=Math.min(2,3-a.style.size),u=l;u<n.length&&n[u].type!=="stack";u++){var c=Mn(t,c6(n[u]),"math"),m=c.height+c.depth;if(n[u].type==="small"){var f=a.havingBaseStyle(n[u].style);m*=f.sizeMultiplier}if(m>r)return n[u]}return n[n.length-1]},Au=function(t,r,n,a,l,u){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var c;De.contains(ku,t)?c=o6:De.contains(wu,t)?c=Su:c=u6;var m=Mu(t,r,c,a);return m.type==="small"?t6(t,m.style,n,a,l,u):m.type==="large"?xu(t,m.size,n,a,l,u):vu(t,r,n,a,l,u)},h6=function(t,r,n,a,l,u){var c=a.fontMetrics().axisHeight*a.sizeMultiplier,m=901,f=5/a.fontMetrics().ptPerEm,g=Math.max(r-c,n+c),b=Math.max(g/500*m,2*g-f);return Au(t,b,!0,a,l,u)},Q0={sqrtImage:a6,sizedDelim:s6,sizeToMaxHeight:An,customSizedDelim:Au,leftRightDelim:h6},Tu={"\\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}},m6=["(","\\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 ci(e,t){var r=li(e);if(r&&De.contains(m6,r.text))return r;throw r?new me("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e):new me("Invalid delimiter type '"+e.type+"'",e)}ke({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=ci(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:Tu[e.funcName].size,mclass:Tu[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>e.delim==="."?X.makeSpan([e.mclass]):Q0.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(b0(e.delim,e.mode));var r=new se.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=xe(Q0.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function zu(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}ke({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new me("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:ci(t[0],e).text,color:r}}}),ke({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=ci(t[0],e),n=e.parser;++n.leftrightDepth;var a=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var l=Le(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:a,left:r.text,right:l.delim,rightColor:l.color}},htmlBuilder:(e,t)=>{zu(e);for(var r=Nt(e.body,t,!0,["mopen","mclose"]),n=0,a=0,l=!1,u=0;u<r.length;u++)r[u].isMiddle?l=!0:(n=Math.max(r[u].height,n),a=Math.max(r[u].depth,a));n*=t.sizeMultiplier,a*=t.sizeMultiplier;var c;if(e.left==="."?c=Sn(t,["mopen"]):c=Q0.leftRightDelim(e.left,n,a,t,e.mode,["mopen"]),r.unshift(c),l)for(var m=1;m<r.length;m++){var f=r[m],g=f.isMiddle;g&&(r[m]=Q0.leftRightDelim(g.delim,n,a,g.options,e.mode,[]))}var b;if(e.right===".")b=Sn(t,["mclose"]);else{var d=e.rightColor?t.withColor(e.rightColor):t;b=Q0.leftRightDelim(e.right,n,a,d,e.mode,["mclose"])}return r.push(b),X.makeSpan(["minner"],r,t)},mathmlBuilder:(e,t)=>{zu(e);var r=r0(e.body,t);if(e.left!=="."){var n=new se.MathNode("mo",[b0(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(e.right!=="."){var a=new se.MathNode("mo",[b0(e.right,e.mode)]);a.setAttribute("fence","true"),e.rightColor&&a.setAttribute("mathcolor",e.rightColor),r.push(a)}return La(r)}}),ke({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=ci(t[0],e);if(!e.parser.leftrightDepth)throw new me("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if(e.delim===".")r=Sn(t,[]);else{r=Q0.sizedDelim(e.delim,1,t,e.mode,[]);var n={delim:e.delim,options:t};r.isMiddle=n}return r},mathmlBuilder:(e,t)=>{var r=e.delim==="\\vert"||e.delim==="|"?b0("|","text"):b0(e.delim,e.mode),n=new se.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var Ja=(e,t)=>{var r=X.wrapFragment(Ze(e.body,t),t),n=e.label.slice(1),a=t.sizeMultiplier,l,u=0,c=De.isCharacterBox(e.body);if(n==="sout")l=X.makeSpan(["stretchy","sout"]),l.height=t.fontMetrics().defaultRuleThickness/a,u=-.5*t.fontMetrics().xHeight;else if(n==="phase"){var m=xt({number:.6,unit:"pt"},t),f=xt({number:.35,unit:"ex"},t),g=t.havingBaseSizing();a=a/g.sizeMultiplier;var b=r.height+r.depth+m+f;r.style.paddingLeft=xe(b/2+m);var d=Math.floor(1e3*b*a),p=i3(d),A=new Y0([new dr("phase",p)],{width:"400em",height:xe(d/1e3),viewBox:"0 0 400000 "+d,preserveAspectRatio:"xMinYMin slice"});l=X.makeSvgSpan(["hide-tail"],[A],t),l.style.height=xe(b),u=r.depth+m+f}else{/cancel/.test(n)?c||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var B=0,H=0,R=0;/box/.test(n)?(R=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),B=t.fontMetrics().fboxsep+(n==="colorbox"?0:R),H=B):n==="angl"?(R=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),B=4*R,H=Math.max(0,.25-r.depth)):(B=c?.2:0,H=B),l=J0.encloseSpan(r,n,B,H,t),/fbox|boxed|fcolorbox/.test(n)?(l.style.borderStyle="solid",l.style.borderWidth=xe(R)):n==="angl"&&R!==.049&&(l.style.borderTopWidth=xe(R),l.style.borderRightWidth=xe(R)),u=r.depth+H,e.backgroundColor&&(l.style.backgroundColor=e.backgroundColor,e.borderColor&&(l.style.borderColor=e.borderColor))}var L;if(e.backgroundColor)L=X.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:u},{type:"elem",elem:r,shift:0}]},t);else{var K=/cancel|phase/.test(n)?["svg-align"]:[];L=X.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:l,shift:u,wrapperClasses:K}]},t)}return/cancel/.test(n)&&(L.height=r.height,L.depth=r.depth),/cancel/.test(n)&&!c?X.makeSpan(["mord","cancel-lap"],[L],t):X.makeSpan(["mord"],[L],t)},Qa=(e,t)=>{var r=0,n=new se.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[st(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"),e.label==="\\fcolorbox"){var a=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+a+"em solid "+String(e.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};ke({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:n,funcName:a}=e,l=Le(t[0],"color-token").color,u=t[1];return{type:"enclose",mode:n.mode,label:a,backgroundColor:l,body:u}},htmlBuilder:Ja,mathmlBuilder:Qa}),ke({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:n,funcName:a}=e,l=Le(t[0],"color-token").color,u=Le(t[1],"color-token").color,c=t[2];return{type:"enclose",mode:n.mode,label:a,backgroundColor:u,borderColor:l,body:c}},htmlBuilder:Ja,mathmlBuilder:Qa}),ke({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]}}}),ke({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"enclose",mode:r.mode,label:n,body:a}},htmlBuilder:Ja,mathmlBuilder:Qa}),ke({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 Cu={};function O0(e){for(var{type:t,names:r,props:n,handler:a,htmlBuilder:l,mathmlBuilder:u}=e,c={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},m=0;m<r.length;++m)Cu[r[m]]=c;l&&(ri[t]=l),u&&(ni[t]=u)}var Eu={};function E(e,t){Eu[e]=t}function Du(e){var t=[];e.consumeSpaces();var r=e.fetch().text;for(r==="\\relax"&&(e.consume(),e.consumeSpaces(),r=e.fetch().text);r==="\\hline"||r==="\\hdashline";)e.consume(),t.push(r==="\\hdashline"),e.consumeSpaces(),r=e.fetch().text;return t}var hi=e=>{var t=e.parser.settings;if(!t.displayMode)throw new me("{"+e.envName+"} can be used only in display mode.")};function el(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function gr(e,t,r){var{hskipBeforeAndAfter:n,addJot:a,cols:l,arraystretch:u,colSeparationType:c,autoTag:m,singleRow:f,emptySingleRow:g,maxNumCols:b,leqno:d}=t;if(e.gullet.beginGroup(),f||e.gullet.macros.set("\\cr","\\\\\\relax"),!u){var p=e.gullet.expandMacroAsText("\\arraystretch");if(p==null)u=1;else if(u=parseFloat(p),!u||u<0)throw new me("Invalid \\arraystretch: "+p)}e.gullet.beginGroup();var A=[],B=[A],H=[],R=[],L=m!=null?[]:void 0;function K(){m&&e.gullet.macros.set("\\@eqnsw","1",!0)}function ae(){L&&(e.gullet.macros.get("\\df@tag")?(L.push(e.subparse([new f0("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):L.push(!!m&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(K(),R.push(Du(e));;){var re=e.parseExpression(!1,f?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),re={type:"ordgroup",mode:e.mode,body:re},r&&(re={type:"styling",mode:e.mode,style:r,body:[re]}),A.push(re);var Y=e.fetch().text;if(Y==="&"){if(b&&A.length===b){if(f||c)throw new me("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(Y==="\\end"){ae(),A.length===1&&re.type==="styling"&&re.body[0].body.length===0&&(B.length>1||!g)&&B.pop(),R.length<B.length+1&&R.push([]);break}else if(Y==="\\\\"){e.consume();var oe=void 0;e.gullet.future().text!==" "&&(oe=e.parseSizeGroup(!0)),H.push(oe?oe.value:null),ae(),R.push(Du(e)),A=[],B.push(A),K()}else throw new me("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:a,arraystretch:u,body:B,cols:l,rowGaps:H,hskipBeforeAndAfter:n,hLinesBeforeRow:R,colSeparationType:c,tags:L,leqno:d}}function tl(e){return e.slice(0,1)==="d"?"display":"text"}var F0=function(t,r){var n,a,l=t.body.length,u=t.hLinesBeforeRow,c=0,m=new Array(l),f=[],g=Math.max(r.fontMetrics().arrayRuleWidth,r.minRuleThickness),b=1/r.fontMetrics().ptPerEm,d=5*b;if(t.colSeparationType&&t.colSeparationType==="small"){var p=r.havingStyle(Be.SCRIPT).sizeMultiplier;d=.2778*(p/r.sizeMultiplier)}var A=t.colSeparationType==="CD"?xt({number:3,unit:"ex"},r):12*b,B=3*b,H=t.arraystretch*A,R=.7*H,L=.3*H,K=0;function ae(Zt){for(var wt=0;wt<Zt.length;++wt)wt>0&&(K+=.25),f.push({pos:K,isDashed:Zt[wt]})}for(ae(u[0]),n=0;n<t.body.length;++n){var re=t.body[n],Y=R,oe=L;c<re.length&&(c=re.length);var ve=new Array(re.length);for(a=0;a<re.length;++a){var ue=Ze(re[a],r);oe<ue.depth&&(oe=ue.depth),Y<ue.height&&(Y=ue.height),ve[a]=ue}var J=t.rowGaps[n],de=0;J&&(de=xt(J,r),de>0&&(de+=L,oe<de&&(oe=de),de=0)),t.addJot&&(oe+=B),ve.height=Y,ve.depth=oe,K+=Y,ve.pos=K,K+=oe+de,m[n]=ve,ae(u[n+1])}var ge=K/2+r.fontMetrics().axisHeight,he=t.cols||[],te=[],Ae,Ve,Qe=[];if(t.tags&&t.tags.some(Zt=>Zt))for(n=0;n<l;++n){var ht=m[n],qt=ht.pos-ge,$=t.tags[n],we=void 0;$===!0?we=X.makeSpan(["eqn-num"],[],r):$===!1?we=X.makeSpan([],[],r):we=X.makeSpan([],Nt($,r,!0),r),we.depth=ht.depth,we.height=ht.height,Qe.push({type:"elem",elem:we,shift:qt})}for(a=0,Ve=0;a<c||Ve<he.length;++a,++Ve){for(var it=he[Ve]||{},V=!0;it.type==="separator";){if(V||(Ae=X.makeSpan(["arraycolsep"],[]),Ae.style.width=xe(r.fontMetrics().doubleRuleSep),te.push(Ae)),it.separator==="|"||it.separator===":"){var At=it.separator==="|"?"solid":"dashed",It=X.makeSpan(["vertical-separator"],[],r);It.style.height=xe(K),It.style.borderRightWidth=xe(g),It.style.borderRightStyle=At,It.style.margin="0 "+xe(-g/2);var tt=K-ge;tt&&(It.style.verticalAlign=xe(-tt)),te.push(It)}else throw new me("Invalid separator type: "+it.separator);Ve++,it=he[Ve]||{},V=!1}if(!(a>=c)){var Ot=void 0;(a>0||t.hskipBeforeAndAfter)&&(Ot=De.deflt(it.pregap,d),Ot!==0&&(Ae=X.makeSpan(["arraycolsep"],[]),Ae.style.width=xe(Ot),te.push(Ae)));var Tt=[];for(n=0;n<l;++n){var Lt=m[n],Ft=Lt[a];if(Ft){var H0=Lt.pos-ge;Ft.depth=Lt.depth,Ft.height=Lt.height,Tt.push({type:"elem",elem:Ft,shift:H0})}}Tt=X.makeVList({positionType:"individualShift",children:Tt},r),Tt=X.makeSpan(["col-align-"+(it.align||"c")],[Tt]),te.push(Tt),(a<c-1||t.hskipBeforeAndAfter)&&(Ot=De.deflt(it.postgap,d),Ot!==0&&(Ae=X.makeSpan(["arraycolsep"],[]),Ae.style.width=xe(Ot),te.push(Ae)))}}if(m=X.makeSpan(["mtable"],te),f.length>0){for(var br=X.makeLineSpan("hline",r,g),Er=X.makeLineSpan("hdashline",r,g),tr=[{type:"elem",elem:m,shift:0}];f.length>0;){var x0=f.pop(),n0=x0.pos-ge;x0.isDashed?tr.push({type:"elem",elem:Er,shift:n0}):tr.push({type:"elem",elem:br,shift:n0})}m=X.makeVList({positionType:"individualShift",children:tr},r)}if(Qe.length===0)return X.makeSpan(["mord"],[m],r);var z0=X.makeVList({positionType:"individualShift",children:Qe},r);return z0=X.makeSpan(["tag"],[z0],r),X.makeFragment([m,z0])},d6={c:"center ",l:"left ",r:"right "},L0=function(t,r){for(var n=[],a=new se.MathNode("mtd",[],["mtr-glue"]),l=new se.MathNode("mtd",[],["mml-eqn-num"]),u=0;u<t.body.length;u++){for(var c=t.body[u],m=[],f=0;f<c.length;f++)m.push(new se.MathNode("mtd",[st(c[f],r)]));t.tags&&t.tags[u]&&(m.unshift(a),m.push(a),t.leqno?m.unshift(l):m.push(l)),n.push(new se.MathNode("mtr",m))}var g=new se.MathNode("mtable",n),b=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);g.setAttribute("rowspacing",xe(b));var d="",p="";if(t.cols&&t.cols.length>0){var A=t.cols,B="",H=!1,R=0,L=A.length;A[0].type==="separator"&&(d+="top ",R=1),A[A.length-1].type==="separator"&&(d+="bottom ",L-=1);for(var K=R;K<L;K++)A[K].type==="align"?(p+=d6[A[K].align],H&&(B+="none "),H=!0):A[K].type==="separator"&&H&&(B+=A[K].separator==="|"?"solid ":"dashed ",H=!1);g.setAttribute("columnalign",p.trim()),/[sd]/.test(B)&&g.setAttribute("columnlines",B.trim())}if(t.colSeparationType==="align"){for(var ae=t.cols||[],re="",Y=1;Y<ae.length;Y++)re+=Y%2?"0em ":"1em ";g.setAttribute("columnspacing",re.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?g.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?g.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?g.setAttribute("columnspacing","0.5em"):g.setAttribute("columnspacing","1em");var oe="",ve=t.hLinesBeforeRow;d+=ve[0].length>0?"left ":"",d+=ve[ve.length-1].length>0?"right ":"";for(var ue=1;ue<ve.length-1;ue++)oe+=ve[ue].length===0?"none ":ve[ue][0]?"dashed ":"solid ";return/[sd]/.test(oe)&&g.setAttribute("rowlines",oe.trim()),d!==""&&(g=new se.MathNode("menclose",[g]),g.setAttribute("notation",d.trim())),t.arraystretch&&t.arraystretch<1&&(g=new se.MathNode("mstyle",[g]),g.setAttribute("scriptlevel","1")),g},Bu=function(t,r){t.envName.indexOf("ed")===-1&&hi(t);var n=[],a=t.envName.indexOf("at")>-1?"alignat":"align",l=t.envName==="split",u=gr(t.parser,{cols:n,addJot:!0,autoTag:l?void 0:el(t.envName),emptySingleRow:!0,colSeparationType:a,maxNumCols:l?2:void 0,leqno:t.parser.settings.leqno},"display"),c,m=0,f={type:"ordgroup",mode:t.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var g="",b=0;b<r[0].body.length;b++){var d=Le(r[0].body[b],"textord");g+=d.text}c=Number(g),m=c*2}var p=!m;u.body.forEach(function(R){for(var L=1;L<R.length;L+=2){var K=Le(R[L],"styling"),ae=Le(K.body[0],"ordgroup");ae.body.unshift(f)}if(p)m<R.length&&(m=R.length);else{var re=R.length/2;if(c<re)throw new me("Too many math in a row: "+("expected "+c+", but got "+re),R[0])}});for(var A=0;A<m;++A){var B="r",H=0;A%2===1?B="l":A>0&&p&&(H=1),n[A]={type:"align",align:B,pregap:H,postgap:0}}return u.colSeparationType=p?"align":"alignat",u};O0({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=li(t[0]),n=r?[t[0]]:Le(t[0],"ordgroup").body,a=n.map(function(u){var c=$a(u),m=c.text;if("lcr".indexOf(m)!==-1)return{type:"align",align:m};if(m==="|")return{type:"separator",separator:"|"};if(m===":")return{type:"separator",separator:":"};throw new me("Unknown column alignment: "+m,u)}),l={cols:a,hskipBeforeAndAfter:!0,maxNumCols:a.length};return gr(e.parser,l,tl(e.envName))},htmlBuilder:F0,mathmlBuilder:L0}),O0({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 a=e.parser;if(a.consumeSpaces(),a.fetch().text==="["){if(a.consume(),a.consumeSpaces(),r=a.fetch().text,"lcr".indexOf(r)===-1)throw new me("Expected l or c or r",a.nextToken);a.consume(),a.consumeSpaces(),a.expect("]"),a.consume(),n.cols=[{type:"align",align:r}]}}var l=gr(e.parser,n,tl(e.envName)),u=Math.max(0,...l.body.map(c=>c.length));return l.cols=new Array(u).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[l],left:t[0],right:t[1],rightColor:void 0}:l},htmlBuilder:F0,mathmlBuilder:L0}),O0({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},r=gr(e.parser,t,"script");return r.colSeparationType="small",r},htmlBuilder:F0,mathmlBuilder:L0}),O0({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=li(t[0]),n=r?[t[0]]:Le(t[0],"ordgroup").body,a=n.map(function(u){var c=$a(u),m=c.text;if("lc".indexOf(m)!==-1)return{type:"align",align:m};throw new me("Unknown column alignment: "+m,u)});if(a.length>1)throw new me("{subarray} can contain only one column");var l={cols:a,hskipBeforeAndAfter:!1,arraystretch:.5};if(l=gr(e.parser,l,"script"),l.body.length>0&&l.body[0].length>1)throw new me("{subarray} can contain only one column");return l},htmlBuilder:F0,mathmlBuilder:L0}),O0({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=gr(e.parser,t,tl(e.envName));return{type:"leftright",mode:e.mode,body:[r],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:F0,mathmlBuilder:L0}),O0({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Bu,htmlBuilder:F0,mathmlBuilder:L0}),O0({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){De.contains(["gather","gather*"],e.envName)&&hi(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:el(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return gr(e.parser,t,"display")},htmlBuilder:F0,mathmlBuilder:L0}),O0({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Bu,htmlBuilder:F0,mathmlBuilder:L0}),O0({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){hi(e);var t={autoTag:el(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return gr(e.parser,t,"display")},htmlBuilder:F0,mathmlBuilder:L0}),O0({type:"array",names:["CD"],props:{numArgs:0},handler(e){return hi(e),Q3(e.parser)},htmlBuilder:F0,mathmlBuilder:L0}),E("\\nonumber","\\gdef\\@eqnsw{0}"),E("\\notag","\\nonumber"),ke({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new me(e.funcName+" valid only within array environment")}});var Nu=Cu;ke({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];if(a.type!=="ordgroup")throw new me("Invalid environment name",a);for(var l="",u=0;u<a.body.length;++u)l+=Le(a.body[u],"textord").text;if(n==="\\begin"){if(!Nu.hasOwnProperty(l))throw new me("No such environment: "+l,a);var c=Nu[l],{args:m,optArgs:f}=r.parseArguments("\\begin{"+l+"}",c),g={mode:r.mode,envName:l,parser:r},b=c.handler(g,m,f);r.expect("\\end",!1);var d=r.nextToken,p=Le(r.parseFunction(),"environment");if(p.name!==l)throw new me("Mismatch: \\begin{"+l+"} matched by \\end{"+p.name+"}",d);return b}return{type:"environment",mode:r.mode,name:l,nameGroup:a}}});var Iu=(e,t)=>{var r=e.font,n=t.withFont(r);return Ze(e.body,n)},Ru=(e,t)=>{var r=e.font,n=t.withFont(r);return st(e.body,n)},_u={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};ke({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,a=ii(t[0]),l=n;return l in _u&&(l=_u[l]),{type:"font",mode:r.mode,font:l.slice(1),body:a}},htmlBuilder:Iu,mathmlBuilder:Ru}),ke({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0],a=De.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:oi(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:a}}}),ke({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,breakOnTokenText:a}=e,{mode:l}=r,u=r.parseExpression(!0,a),c="math"+n.slice(1);return{type:"font",mode:l,font:c,body:{type:"ordgroup",mode:r.mode,body:u}}},htmlBuilder:Iu,mathmlBuilder:Ru});var qu=(e,t)=>{var r=t;return e==="display"?r=r.id>=Be.SCRIPT.id?r.text():Be.DISPLAY:e==="text"&&r.size===Be.DISPLAY.size?r=Be.TEXT:e==="script"?r=Be.SCRIPT:e==="scriptscript"&&(r=Be.SCRIPTSCRIPT),r},rl=(e,t)=>{var r=qu(e.size,t.style),n=r.fracNum(),a=r.fracDen(),l;l=t.havingStyle(n);var u=Ze(e.numer,l,t);if(e.continued){var c=8.5/t.fontMetrics().ptPerEm,m=3.5/t.fontMetrics().ptPerEm;u.height=u.height<c?c:u.height,u.depth=u.depth<m?m:u.depth}l=t.havingStyle(a);var f=Ze(e.denom,l,t),g,b,d;e.hasBarLine?(e.barSize?(b=xt(e.barSize,t),g=X.makeLineSpan("frac-line",t,b)):g=X.makeLineSpan("frac-line",t),b=g.height,d=g.height):(g=null,b=0,d=t.fontMetrics().defaultRuleThickness);var p,A,B;r.size===Be.DISPLAY.size||e.size==="display"?(p=t.fontMetrics().num1,b>0?A=3*d:A=7*d,B=t.fontMetrics().denom1):(b>0?(p=t.fontMetrics().num2,A=d):(p=t.fontMetrics().num3,A=3*d),B=t.fontMetrics().denom2);var H;if(g){var L=t.fontMetrics().axisHeight;p-u.depth-(L+.5*b)<A&&(p+=A-(p-u.depth-(L+.5*b))),L-.5*b-(f.height-B)<A&&(B+=A-(L-.5*b-(f.height-B)));var K=-(L-.5*b);H=X.makeVList({positionType:"individualShift",children:[{type:"elem",elem:f,shift:B},{type:"elem",elem:g,shift:K},{type:"elem",elem:u,shift:-p}]},t)}else{var R=p-u.depth-(f.height-B);R<A&&(p+=.5*(A-R),B+=.5*(A-R)),H=X.makeVList({positionType:"individualShift",children:[{type:"elem",elem:f,shift:B},{type:"elem",elem:u,shift:-p}]},t)}l=t.havingStyle(r),H.height*=l.sizeMultiplier/t.sizeMultiplier,H.depth*=l.sizeMultiplier/t.sizeMultiplier;var ae;r.size===Be.DISPLAY.size?ae=t.fontMetrics().delim1:r.size===Be.SCRIPTSCRIPT.size?ae=t.havingStyle(Be.SCRIPT).fontMetrics().delim2:ae=t.fontMetrics().delim2;var re,Y;return e.leftDelim==null?re=Sn(t,["mopen"]):re=Q0.customSizedDelim(e.leftDelim,ae,!0,t.havingStyle(r),e.mode,["mopen"]),e.continued?Y=X.makeSpan([]):e.rightDelim==null?Y=Sn(t,["mclose"]):Y=Q0.customSizedDelim(e.rightDelim,ae,!0,t.havingStyle(r),e.mode,["mclose"]),X.makeSpan(["mord"].concat(l.sizingClasses(t)),[re,X.makeSpan(["mfrac"],[H]),Y],t)},nl=(e,t)=>{var r=new se.MathNode("mfrac",[st(e.numer,t),st(e.denom,t)]);if(!e.hasBarLine)r.setAttribute("linethickness","0px");else if(e.barSize){var n=xt(e.barSize,t);r.setAttribute("linethickness",xe(n))}var a=qu(e.size,t.style);if(a.size!==t.style.size){r=new se.MathNode("mstyle",[r]);var l=a.size===Be.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",l),r.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var u=[];if(e.leftDelim!=null){var c=new se.MathNode("mo",[new se.TextNode(e.leftDelim.replace("\\",""))]);c.setAttribute("fence","true"),u.push(c)}if(u.push(r),e.rightDelim!=null){var m=new se.MathNode("mo",[new se.TextNode(e.rightDelim.replace("\\",""))]);m.setAttribute("fence","true"),u.push(m)}return La(u)}return r};ke({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],l=t[1],u,c=null,m=null,f="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":u=!0;break;case"\\\\atopfrac":u=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":u=!1,c="(",m=")";break;case"\\\\bracefrac":u=!1,c="\\{",m="\\}";break;case"\\\\brackfrac":u=!1,c="[",m="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":f="display";break;case"\\tfrac":case"\\tbinom":f="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:a,denom:l,hasBarLine:u,leftDelim:c,rightDelim:m,size:f,barSize:null}},htmlBuilder:rl,mathmlBuilder:nl}),ke({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],l=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:a,denom:l,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),ke({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:r,token:n}=e,a;switch(r){case"\\over":a="\\frac";break;case"\\choose":a="\\binom";break;case"\\atop":a="\\\\atopfrac";break;case"\\brace":a="\\\\bracefrac";break;case"\\brack":a="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:a,token:n}}});var Ou=["display","text","script","scriptscript"],Fu=function(t){var r=null;return t.length>0&&(r=t,r=r==="."?null:r),r};ke({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:r}=e,n=t[4],a=t[5],l=ii(t[0]),u=l.type==="atom"&&l.family==="open"?Fu(l.text):null,c=ii(t[1]),m=c.type==="atom"&&c.family==="close"?Fu(c.text):null,f=Le(t[2],"size"),g,b=null;f.isBlank?g=!0:(b=f.value,g=b.number>0);var d="auto",p=t[3];if(p.type==="ordgroup"){if(p.body.length>0){var A=Le(p.body[0],"textord");d=Ou[Number(A.text)]}}else p=Le(p,"textord"),d=Ou[Number(p.text)];return{type:"genfrac",mode:r.mode,numer:n,denom:a,continued:!1,hasBarLine:g,barSize:b,leftDelim:u,rightDelim:m,size:d}},htmlBuilder:rl,mathmlBuilder:nl}),ke({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:n,token:a}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:Le(t[0],"size").value,token:a}}}),ke({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],l=Vm(Le(t[1],"infix").size),u=t[2],c=l.number>0;return{type:"genfrac",mode:r.mode,numer:a,denom:u,continued:!1,hasBarLine:c,barSize:l,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:rl,mathmlBuilder:nl});var Lu=(e,t)=>{var r=t.style,n,a;e.type==="supsub"?(n=e.sup?Ze(e.sup,t.havingStyle(r.sup()),t):Ze(e.sub,t.havingStyle(r.sub()),t),a=Le(e.base,"horizBrace")):a=Le(e,"horizBrace");var l=Ze(a.base,t.havingBaseStyle(Be.DISPLAY)),u=J0.svgSpan(a,t),c;if(a.isOver?(c=X.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.1},{type:"elem",elem:u}]},t),c.children[0].children[0].children[1].classes.push("svg-align")):(c=X.makeVList({positionType:"bottom",positionData:l.depth+.1+u.height,children:[{type:"elem",elem:u},{type:"kern",size:.1},{type:"elem",elem:l}]},t),c.children[0].children[0].children[0].classes.push("svg-align")),n){var m=X.makeSpan(["mord",a.isOver?"mover":"munder"],[c],t);a.isOver?c=X.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:m},{type:"kern",size:.2},{type:"elem",elem:n}]},t):c=X.makeVList({positionType:"bottom",positionData:m.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:m}]},t)}return X.makeSpan(["mord",a.isOver?"mover":"munder"],[c],t)},p6=(e,t)=>{var r=J0.mathMLnode(e.label);return new se.MathNode(e.isOver?"mover":"munder",[st(e.base,t),r])};ke({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:t[0]}},htmlBuilder:Lu,mathmlBuilder:p6}),ke({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],a=Le(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:r.mode,href:a,body:Ct(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=Nt(e.body,t,!1);return X.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=fr(e.body,t);return r instanceof h0||(r=new h0("mrow",[r])),r.setAttribute("href",e.href),r}}),ke({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=Le(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var a=[],l=0;l<n.length;l++){var u=n[l];u==="~"&&(u="\\textasciitilde"),a.push({type:"textord",mode:"text",text:u})}var c={type:"text",mode:r.mode,font:"\\texttt",body:a};return{type:"href",mode:r.mode,href:n,body:Ct(c)}}}),ke({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:Ct(t[0])}},htmlBuilder(e,t){var r=Nt(e.body,t,!1);return X.makeFragment(r)},mathmlBuilder(e,t){return new se.MathNode("mrow",r0(e.body,t))}}),ke({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,token:a}=e,l=Le(t[0],"raw").string,u=t[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var c,m={};switch(n){case"\\htmlClass":m.class=l,c={command:"\\htmlClass",class:l};break;case"\\htmlId":m.id=l,c={command:"\\htmlId",id:l};break;case"\\htmlStyle":m.style=l,c={command:"\\htmlStyle",style:l};break;case"\\htmlData":{for(var f=l.split(","),g=0;g<f.length;g++){var b=f[g].split("=");if(b.length!==2)throw new me("Error parsing key-value for \\htmlData");m["data-"+b[0].trim()]=b[1].trim()}c={command:"\\htmlData",attributes:m};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(c)?{type:"html",mode:r.mode,attributes:m,body:Ct(u)}:r.formatUnsupportedCmd(n)},htmlBuilder:(e,t)=>{var r=Nt(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var a=X.makeSpan(n,r,t);for(var l in e.attributes)l!=="class"&&e.attributes.hasOwnProperty(l)&&a.setAttribute(l,e.attributes[l]);return a},mathmlBuilder:(e,t)=>fr(e.body,t)}),ke({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:Ct(t[0]),mathml:Ct(t[1])}},htmlBuilder:(e,t)=>{var r=Nt(e.html,t,!1);return X.makeFragment(r)},mathmlBuilder:(e,t)=>fr(e.mathml,t)});var il=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!r)throw new me("Invalid size: '"+t+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!Ho(n))throw new me("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};ke({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:n}=e,a={number:0,unit:"em"},l={number:.9,unit:"em"},u={number:0,unit:"em"},c="";if(r[0])for(var m=Le(r[0],"raw").string,f=m.split(","),g=0;g<f.length;g++){var b=f[g].split("=");if(b.length===2){var d=b[1].trim();switch(b[0].trim()){case"alt":c=d;break;case"width":a=il(d);break;case"height":l=il(d);break;case"totalheight":u=il(d);break;default:throw new me("Invalid key: '"+b[0]+"' in \\includegraphics.")}}}var p=Le(t[0],"url").url;return c===""&&(c=p,c=c.replace(/^.*[\\/]/,""),c=c.substring(0,c.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:p})?{type:"includegraphics",mode:n.mode,alt:c,width:a,height:l,totalheight:u,src:p}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=xt(e.height,t),n=0;e.totalheight.number>0&&(n=xt(e.totalheight,t)-r);var a=0;e.width.number>0&&(a=xt(e.width,t));var l={height:xe(r+n)};a>0&&(l.width=xe(a)),n>0&&(l.verticalAlign=xe(-n));var u=new p3(e.src,e.alt,l);return u.height=r,u.depth=n,u},mathmlBuilder:(e,t)=>{var r=new se.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var n=xt(e.height,t),a=0;if(e.totalheight.number>0&&(a=xt(e.totalheight,t)-n,r.setAttribute("valign",xe(-a))),r.setAttribute("height",xe(n+a)),e.width.number>0){var l=xt(e.width,t);r.setAttribute("width",xe(l))}return r.setAttribute("src",e.src),r}}),ke({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,a=Le(t[0],"size");if(r.settings.strict){var l=n[1]==="m",u=a.value.unit==="mu";l?(u||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+a.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):u&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:a.value}},htmlBuilder(e,t){return X.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var r=xt(e.dimension,t);return new se.SpaceNode(r)}}),ke({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:a}},htmlBuilder:(e,t)=>{var r;e.alignment==="clap"?(r=X.makeSpan([],[Ze(e.body,t)]),r=X.makeSpan(["inner"],[r],t)):r=X.makeSpan(["inner"],[Ze(e.body,t)]);var n=X.makeSpan(["fix"],[]),a=X.makeSpan([e.alignment],[r,n],t),l=X.makeSpan(["strut"]);return l.style.height=xe(a.height+a.depth),a.depth&&(l.style.verticalAlign=xe(-a.depth)),a.children.unshift(l),a=X.makeSpan(["thinbox"],[a],t),X.makeSpan(["mord","vbox"],[a],t)},mathmlBuilder:(e,t)=>{var r=new se.MathNode("mpadded",[st(e.body,t)]);if(e.alignment!=="rlap"){var n=e.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}}),ke({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:n}=e,a=n.mode;n.switchMode("math");var l=r==="\\("?"\\)":"$",u=n.parseExpression(!1,l);return n.expect(l),n.switchMode(a),{type:"styling",mode:n.mode,style:"text",body:u}}}),ke({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new me("Mismatched "+e.funcName)}});var Pu=(e,t)=>{switch(t.style.size){case Be.DISPLAY.size:return e.display;case Be.TEXT.size:return e.text;case Be.SCRIPT.size:return e.script;case Be.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};ke({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:Ct(t[0]),text:Ct(t[1]),script:Ct(t[2]),scriptscript:Ct(t[3])}},htmlBuilder:(e,t)=>{var r=Pu(e,t),n=Nt(r,t,!1);return X.makeFragment(n)},mathmlBuilder:(e,t)=>{var r=Pu(e,t);return fr(r,t)}});var Hu=(e,t,r,n,a,l,u)=>{e=X.makeSpan([],[e]);var c=r&&De.isCharacterBox(r),m,f;if(t){var g=Ze(t,n.havingStyle(a.sup()),n);f={elem:g,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-g.depth)}}if(r){var b=Ze(r,n.havingStyle(a.sub()),n);m={elem:b,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-b.height)}}var d;if(f&&m){var p=n.fontMetrics().bigOpSpacing5+m.elem.height+m.elem.depth+m.kern+e.depth+u;d=X.makeVList({positionType:"bottom",positionData:p,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:m.elem,marginLeft:xe(-l)},{type:"kern",size:m.kern},{type:"elem",elem:e},{type:"kern",size:f.kern},{type:"elem",elem:f.elem,marginLeft:xe(l)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(m){var A=e.height-u;d=X.makeVList({positionType:"top",positionData:A,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:m.elem,marginLeft:xe(-l)},{type:"kern",size:m.kern},{type:"elem",elem:e}]},n)}else if(f){var B=e.depth+u;d=X.makeVList({positionType:"bottom",positionData:B,children:[{type:"elem",elem:e},{type:"kern",size:f.kern},{type:"elem",elem:f.elem,marginLeft:xe(l)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else return e;var H=[d];if(m&&l!==0&&!c){var R=X.makeSpan(["mspace"],[],n);R.style.marginRight=xe(l),H.unshift(R)}return X.makeSpan(["mop","op-limits"],H,n)},$u=["\\smallint"],Yr=(e,t)=>{var r,n,a=!1,l;e.type==="supsub"?(r=e.sup,n=e.sub,l=Le(e.base,"op"),a=!0):l=Le(e,"op");var u=t.style,c=!1;u.size===Be.DISPLAY.size&&l.symbol&&!De.contains($u,l.name)&&(c=!0);var m;if(l.symbol){var f=c?"Size2-Regular":"Size1-Regular",g="";if((l.name==="\\oiint"||l.name==="\\oiiint")&&(g=l.name.slice(1),l.name=g==="oiint"?"\\iint":"\\iiint"),m=X.makeSymbol(l.name,f,"math",t,["mop","op-symbol",c?"large-op":"small-op"]),g.length>0){var b=m.italic,d=X.staticSvg(g+"Size"+(c?"2":"1"),t);m=X.makeVList({positionType:"individualShift",children:[{type:"elem",elem:m,shift:0},{type:"elem",elem:d,shift:c?.08:0}]},t),l.name="\\"+g,m.classes.unshift("mop"),m.italic=b}}else if(l.body){var p=Nt(l.body,t,!0);p.length===1&&p[0]instanceof y0?(m=p[0],m.classes[0]="mop"):m=X.makeSpan(["mop"],p,t)}else{for(var A=[],B=1;B<l.name.length;B++)A.push(X.mathsym(l.name[B],l.mode,t));m=X.makeSpan(["mop"],A,t)}var H=0,R=0;return(m instanceof y0||l.name==="\\oiint"||l.name==="\\oiiint")&&!l.suppressBaseShift&&(H=(m.height-m.depth)/2-t.fontMetrics().axisHeight,R=m.italic),a?Hu(m,r,n,t,u,R,H):(H&&(m.style.position="relative",m.style.top=xe(H)),m)},Tn=(e,t)=>{var r;if(e.symbol)r=new h0("mo",[b0(e.name,e.mode)]),De.contains($u,e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new h0("mo",r0(e.body,t));else{r=new h0("mi",[new q0(e.name.slice(1))]);var n=new h0("mo",[b0("⁡","text")]);e.parentIsSupSub?r=new h0("mrow",[r,n]):r=au([r,n])}return r},f6={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};ke({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,a=n;return a.length===1&&(a=f6[a]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:Yr,mathmlBuilder:Tn}),ke({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:Ct(n)}},htmlBuilder:Yr,mathmlBuilder:Tn});var g6={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};ke({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:Yr,mathmlBuilder:Tn}),ke({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:Yr,mathmlBuilder:Tn}),ke({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e,n=r;return n.length===1&&(n=g6[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Yr,mathmlBuilder:Tn});var Vu=(e,t)=>{var r,n,a=!1,l;e.type==="supsub"?(r=e.sup,n=e.sub,l=Le(e.base,"operatorname"),a=!0):l=Le(e,"operatorname");var u;if(l.body.length>0){for(var c=l.body.map(b=>{var d=b.text;return typeof d=="string"?{type:"textord",mode:b.mode,text:d}:b}),m=Nt(c,t.withFont("mathrm"),!0),f=0;f<m.length;f++){var g=m[f];g instanceof y0&&(g.text=g.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}u=X.makeSpan(["mop"],m,t)}else u=X.makeSpan(["mop"],[],t);return a?Hu(u,r,n,t,t.style,0,0):u},y6=(e,t)=>{for(var r=r0(e.body,t.withFont("mathrm")),n=!0,a=0;a<r.length;a++){var l=r[a];if(!(l instanceof se.SpaceNode))if(l instanceof se.MathNode)switch(l.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var u=l.children[0];l.children.length===1&&u instanceof se.TextNode?u.text=u.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break}default:n=!1}else n=!1}if(n){var c=r.map(g=>g.toText()).join("");r=[new se.TextNode(c)]}var m=new se.MathNode("mi",r);m.setAttribute("mathvariant","normal");var f=new se.MathNode("mo",[b0("⁡","text")]);return e.parentIsSupSub?new se.MathNode("mrow",[m,f]):se.newDocumentFragment([m,f])};ke({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"operatorname",mode:r.mode,body:Ct(a),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Vu,mathmlBuilder:y6}),E("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),Tr({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?X.makeFragment(Nt(e.body,t,!1)):X.makeSpan(["mord"],Nt(e.body,t,!0),t)},mathmlBuilder(e,t){return fr(e.body,t,!0)}}),ke({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=Ze(e.body,t.havingCrampedStyle()),n=X.makeLineSpan("overline-line",t),a=t.fontMetrics().defaultRuleThickness,l=X.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*a},{type:"elem",elem:n},{type:"kern",size:a}]},t);return X.makeSpan(["mord","overline"],[l],t)},mathmlBuilder(e,t){var r=new se.MathNode("mo",[new se.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new se.MathNode("mover",[st(e.body,t),r]);return n.setAttribute("accent","true"),n}}),ke({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:Ct(n)}},htmlBuilder:(e,t)=>{var r=Nt(e.body,t.withPhantom(),!1);return X.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=r0(e.body,t);return new se.MathNode("mphantom",r)}}),ke({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"hphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=X.makeSpan([],[Ze(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var n=0;n<r.children.length;n++)r.children[n].height=0,r.children[n].depth=0;return r=X.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t),X.makeSpan(["mord"],[r],t)},mathmlBuilder:(e,t)=>{var r=r0(Ct(e.body),t),n=new se.MathNode("mphantom",r),a=new se.MathNode("mpadded",[n]);return a.setAttribute("height","0px"),a.setAttribute("depth","0px"),a}}),ke({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=X.makeSpan(["inner"],[Ze(e.body,t.withPhantom())]),n=X.makeSpan(["fix"],[]);return X.makeSpan(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=r0(Ct(e.body),t),n=new se.MathNode("mphantom",r),a=new se.MathNode("mpadded",[n]);return a.setAttribute("width","0px"),a}}),ke({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=Le(t[0],"size").value,a=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:a}},htmlBuilder(e,t){var r=Ze(e.body,t),n=xt(e.dy,t);return X.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new se.MathNode("mpadded",[st(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}}),ke({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),ke({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,a=r[0],l=Le(t[0],"size"),u=Le(t[1],"size");return{type:"rule",mode:n.mode,shift:a&&Le(a,"size").value,width:l.value,height:u.value}},htmlBuilder(e,t){var r=X.makeSpan(["mord","rule"],[],t),n=xt(e.width,t),a=xt(e.height,t),l=e.shift?xt(e.shift,t):0;return r.style.borderRightWidth=xe(n),r.style.borderTopWidth=xe(a),r.style.bottom=xe(l),r.width=n,r.height=a+l,r.depth=-l,r.maxFontSize=a*1.125*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=xt(e.width,t),n=xt(e.height,t),a=e.shift?xt(e.shift,t):0,l=t.color&&t.getColor()||"black",u=new se.MathNode("mspace");u.setAttribute("mathbackground",l),u.setAttribute("width",xe(r)),u.setAttribute("height",xe(n));var c=new se.MathNode("mpadded",[u]);return a>=0?c.setAttribute("height",xe(a)):(c.setAttribute("height",xe(a)),c.setAttribute("depth",xe(-a))),c.setAttribute("voffset",xe(a)),c}});function ju(e,t,r){for(var n=Nt(e,t,!1),a=t.sizeMultiplier/r.sizeMultiplier,l=0;l<n.length;l++){var u=n[l].classes.indexOf("sizing");u<0?Array.prototype.push.apply(n[l].classes,t.sizingClasses(r)):n[l].classes[u+1]==="reset-size"+t.size&&(n[l].classes[u+1]="reset-size"+r.size),n[l].height*=a,n[l].depth*=a}return X.makeFragment(n)}var Gu=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],b6=(e,t)=>{var r=t.havingSize(e.size);return ju(e.body,r,t)};ke({type:"sizing",names:Gu,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:n,parser:a}=e,l=a.parseExpression(!1,r);return{type:"sizing",mode:a.mode,size:Gu.indexOf(n)+1,body:l}},htmlBuilder:b6,mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=r0(e.body,r),a=new se.MathNode("mstyle",n);return a.setAttribute("mathsize",xe(r.sizeMultiplier)),a}}),ke({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:n}=e,a=!1,l=!1,u=r[0]&&Le(r[0],"ordgroup");if(u)for(var c="",m=0;m<u.body.length;++m){var f=u.body[m];if(c=f.text,c==="t")a=!0;else if(c==="b")l=!0;else{a=!1,l=!1;break}}else a=!0,l=!0;var g=t[0];return{type:"smash",mode:n.mode,body:g,smashHeight:a,smashDepth:l}},htmlBuilder:(e,t)=>{var r=X.makeSpan([],[Ze(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var n=0;n<r.children.length;n++)r.children[n].height=0;if(e.smashDepth&&(r.depth=0,r.children))for(var a=0;a<r.children.length;a++)r.children[a].depth=0;var l=X.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t);return X.makeSpan(["mord"],[l],t)},mathmlBuilder:(e,t)=>{var r=new se.MathNode("mpadded",[st(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}}),ke({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n}=e,a=r[0],l=t[0];return{type:"sqrt",mode:n.mode,body:l,index:a}},htmlBuilder(e,t){var r=Ze(e.body,t.havingCrampedStyle());r.height===0&&(r.height=t.fontMetrics().xHeight),r=X.wrapFragment(r,t);var n=t.fontMetrics(),a=n.defaultRuleThickness,l=a;t.style.id<Be.TEXT.id&&(l=t.fontMetrics().xHeight);var u=a+l/4,c=r.height+r.depth+u+a,{span:m,ruleWidth:f,advanceWidth:g}=Q0.sqrtImage(c,t),b=m.height-f;b>r.height+r.depth+u&&(u=(u+b-r.height-r.depth)/2);var d=m.height-r.height-u-f;r.style.paddingLeft=xe(g);var p=X.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+d)},{type:"elem",elem:m},{type:"kern",size:f}]},t);if(e.index){var A=t.havingStyle(Be.SCRIPTSCRIPT),B=Ze(e.index,A,t),H=.6*(p.height-p.depth),R=X.makeVList({positionType:"shift",positionData:-H,children:[{type:"elem",elem:B}]},t),L=X.makeSpan(["root"],[R]);return X.makeSpan(["mord","sqrt"],[L,p],t)}else return X.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new se.MathNode("mroot",[st(r,t),st(n,t)]):new se.MathNode("msqrt",[st(r,t)])}});var Uu={display:Be.DISPLAY,text:Be.TEXT,script:Be.SCRIPT,scriptscript:Be.SCRIPTSCRIPT};ke({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:n,parser:a}=e,l=a.parseExpression(!0,r),u=n.slice(1,n.length-5);return{type:"styling",mode:a.mode,style:u,body:l}},htmlBuilder(e,t){var r=Uu[e.style],n=t.havingStyle(r).withFont("");return ju(e.body,n,t)},mathmlBuilder(e,t){var r=Uu[e.style],n=t.havingStyle(r),a=r0(e.body,n),l=new se.MathNode("mstyle",a),u={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},c=u[e.style];return l.setAttribute("scriptlevel",c[0]),l.setAttribute("displaystyle",c[1]),l}});var x6=function(t,r){var n=t.base;if(n)if(n.type==="op"){var a=n.limits&&(r.style.size===Be.DISPLAY.size||n.alwaysHandleSupSub);return a?Yr:null}else if(n.type==="operatorname"){var l=n.alwaysHandleSupSub&&(r.style.size===Be.DISPLAY.size||n.limits);return l?Vu:null}else{if(n.type==="accent")return De.isCharacterBox(n.base)?Va:null;if(n.type==="horizBrace"){var u=!t.sub;return u===n.isOver?Lu:null}else return null}else return null};Tr({type:"supsub",htmlBuilder(e,t){var r=x6(e,t);if(r)return r(e,t);var{base:n,sup:a,sub:l}=e,u=Ze(n,t),c,m,f=t.fontMetrics(),g=0,b=0,d=n&&De.isCharacterBox(n);if(a){var p=t.havingStyle(t.style.sup());c=Ze(a,p,t),d||(g=u.height-p.fontMetrics().supDrop*p.sizeMultiplier/t.sizeMultiplier)}if(l){var A=t.havingStyle(t.style.sub());m=Ze(l,A,t),d||(b=u.depth+A.fontMetrics().subDrop*A.sizeMultiplier/t.sizeMultiplier)}var B;t.style===Be.DISPLAY?B=f.sup1:t.style.cramped?B=f.sup3:B=f.sup2;var H=t.sizeMultiplier,R=xe(.5/f.ptPerEm/H),L=null;if(m){var K=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(u instanceof y0||K)&&(L=xe(-u.italic))}var ae;if(c&&m){g=Math.max(g,B,c.depth+.25*f.xHeight),b=Math.max(b,f.sub2);var re=f.defaultRuleThickness,Y=4*re;if(g-c.depth-(m.height-b)<Y){b=Y-(g-c.depth)+m.height;var oe=.8*f.xHeight-(g-c.depth);oe>0&&(g+=oe,b-=oe)}var ve=[{type:"elem",elem:m,shift:b,marginRight:R,marginLeft:L},{type:"elem",elem:c,shift:-g,marginRight:R}];ae=X.makeVList({positionType:"individualShift",children:ve},t)}else if(m){b=Math.max(b,f.sub1,m.height-.8*f.xHeight);var ue=[{type:"elem",elem:m,marginLeft:L,marginRight:R}];ae=X.makeVList({positionType:"shift",positionData:b,children:ue},t)}else if(c)g=Math.max(g,B,c.depth+.25*f.xHeight),ae=X.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:c,marginRight:R}]},t);else throw new Error("supsub must have either sup or sub.");var J=Oa(u,"right")||"mord";return X.makeSpan([J],[u,X.makeSpan(["msupsub"],[ae])],t)},mathmlBuilder(e,t){var r=!1,n,a;e.base&&e.base.type==="horizBrace"&&(a=!!e.sup,a===e.base.isOver&&(r=!0,n=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var l=[st(e.base,t)];e.sub&&l.push(st(e.sub,t)),e.sup&&l.push(st(e.sup,t));var u;if(r)u=n?"mover":"munder";else if(e.sub)if(e.sup){var f=e.base;f&&f.type==="op"&&f.limits&&t.style===Be.DISPLAY||f&&f.type==="operatorname"&&f.alwaysHandleSupSub&&(t.style===Be.DISPLAY||f.limits)?u="munderover":u="msubsup"}else{var m=e.base;m&&m.type==="op"&&m.limits&&(t.style===Be.DISPLAY||m.alwaysHandleSupSub)||m&&m.type==="operatorname"&&m.alwaysHandleSupSub&&(m.limits||t.style===Be.DISPLAY)?u="munder":u="msub"}else{var c=e.base;c&&c.type==="op"&&c.limits&&(t.style===Be.DISPLAY||c.alwaysHandleSupSub)||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(c.limits||t.style===Be.DISPLAY)?u="mover":u="msup"}return new se.MathNode(u,l)}}),Tr({type:"atom",htmlBuilder(e,t){return X.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var r=new se.MathNode("mo",[b0(e.text,e.mode)]);if(e.family==="bin"){var n=Pa(e,t);n==="bold-italic"&&r.setAttribute("mathvariant",n)}else e.family==="punct"?r.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&r.setAttribute("stretchy","false");return r}});var Wu={mi:"italic",mn:"normal",mtext:"normal"};Tr({type:"mathord",htmlBuilder(e,t){return X.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var r=new se.MathNode("mi",[b0(e.text,e.mode,t)]),n=Pa(e,t)||"italic";return n!==Wu[r.type]&&r.setAttribute("mathvariant",n),r}}),Tr({type:"textord",htmlBuilder(e,t){return X.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var r=b0(e.text,e.mode,t),n=Pa(e,t)||"normal",a;return e.mode==="text"?a=new se.MathNode("mtext",[r]):/[0-9]/.test(e.text)?a=new se.MathNode("mn",[r]):e.text==="\\prime"?a=new se.MathNode("mo",[r]):a=new se.MathNode("mi",[r]),n!==Wu[a.type]&&a.setAttribute("mathvariant",n),a}});var al={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},ll={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Tr({type:"spacing",htmlBuilder(e,t){if(ll.hasOwnProperty(e.text)){var r=ll[e.text].className||"";if(e.mode==="text"){var n=X.makeOrd(e,t,"textord");return n.classes.push(r),n}else return X.makeSpan(["mspace",r],[X.mathsym(e.text,e.mode,t)],t)}else{if(al.hasOwnProperty(e.text))return X.makeSpan(["mspace",al[e.text]],[],t);throw new me('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var r;if(ll.hasOwnProperty(e.text))r=new se.MathNode("mtext",[new se.TextNode(" ")]);else{if(al.hasOwnProperty(e.text))return new se.MathNode("mspace");throw new me('Unknown type of space "'+e.text+'"')}return r}});var Yu=()=>{var e=new se.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};Tr({type:"tag",mathmlBuilder(e,t){var r=new se.MathNode("mtable",[new se.MathNode("mtr",[Yu(),new se.MathNode("mtd",[fr(e.body,t)]),Yu(),new se.MathNode("mtd",[fr(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var Xu={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Zu={"\\textbf":"textbf","\\textmd":"textmd"},v6={"\\textit":"textit","\\textup":"textup"},Ku=(e,t)=>{var r=e.font;if(r){if(Xu[r])return t.withTextFontFamily(Xu[r]);if(Zu[r])return t.withTextFontWeight(Zu[r]);if(r==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(v6[r])};ke({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,a=t[0];return{type:"text",mode:r.mode,body:Ct(a),font:n}},htmlBuilder(e,t){var r=Ku(e,t),n=Nt(e.body,r,!0);return X.makeSpan(["mord","text"],n,r)},mathmlBuilder(e,t){var r=Ku(e,t);return fr(e.body,r)}}),ke({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=Ze(e.body,t),n=X.makeLineSpan("underline-line",t),a=t.fontMetrics().defaultRuleThickness,l=X.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:a},{type:"elem",elem:n},{type:"kern",size:3*a},{type:"elem",elem:r}]},t);return X.makeSpan(["mord","underline"],[l],t)},mathmlBuilder(e,t){var r=new se.MathNode("mo",[new se.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new se.MathNode("munder",[st(e.body,t),r]);return n.setAttribute("accentunder","true"),n}}),ke({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=Ze(e.body,t),n=t.fontMetrics().axisHeight,a=.5*(r.height-n-(r.depth+n));return X.makeVList({positionType:"shift",positionData:a,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){return new se.MathNode("mpadded",[st(e.body,t)],["vcenter"])}}),ke({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new me("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=Ju(e),n=[],a=t.havingStyle(t.style.text()),l=0;l<r.length;l++){var u=r[l];u==="~"&&(u="\\textasciitilde"),n.push(X.makeSymbol(u,"Typewriter-Regular",e.mode,a,["mord","texttt"]))}return X.makeSpan(["mord","text"].concat(a.sizingClasses(t)),X.tryCombineChars(n),a)},mathmlBuilder(e,t){var r=new se.TextNode(Ju(e)),n=new se.MathNode("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var Ju=e=>e.body.replace(/ /g,e.star?"␣":" "),yr=ru,Qu=`[ \r
303
- ]`,w6="\\\\[a-zA-Z@]+",k6="\\\\[^\uD800-\uDFFF]",S6="("+w6+")"+Qu+"*",M6=`\\\\(
301
+ -470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class bn{constructor(t){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=t,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(t){return this.classes.includes(t)}toNode(){for(var t=document.createDocumentFragment(),r=0;r<this.children.length;r++)t.appendChild(this.children[r].toNode());return t}toMarkup(){for(var t="",r=0;r<this.children.length;r++)t+=this.children[r].toMarkup();return t}toText(){var t=r=>r.toText();return this.children.map(t).join("")}}var I0={"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]}},Qn={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]},Oo={Å:"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 c3(e,t){I0[e]=t}function za(e,t,r){if(!I0[t])throw new Error("Font metrics not found for font: "+t+".");var n=e.charCodeAt(0),a=I0[t][n];if(!a&&e[0]in Oo&&(n=Oo[e[0]].charCodeAt(0),a=I0[t][n]),!a&&r==="text"&&_o(n)&&(a=I0[t][77]),a)return{depth:a[0],height:a[1],italic:a[2],skew:a[3],width:a[4]}}var Ta={};function h3(e){var t;if(e>=5?t=0:e>=3?t=1:t=2,!Ta[t]){var r=Ta[t]={cssEmPerMu:Qn.quad[t]/18};for(var n in Qn)Qn.hasOwnProperty(n)&&(r[n]=Qn[n][t])}return Ta[t]}var m3=[[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]],Fo=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Lo=function(t,r){return r.size<2?t:m3[t-1][r.size-1]};class X0{constructor(t){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=t.style,this.color=t.color,this.size=t.size||X0.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||"",this.fontFamily=t.fontFamily||"",this.fontWeight=t.fontWeight||"",this.fontShape=t.fontShape||"",this.sizeMultiplier=Fo[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var r={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(var n in t)t.hasOwnProperty(n)&&(r[n]=t[n]);return new X0(r)}havingStyle(t){return this.style===t?this:this.extend({style:t,size:Lo(this.textSize,t)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(t){return this.size===t&&this.textSize===t?this:this.extend({style:this.style.text(),size:t,textSize:t,sizeMultiplier:Fo[t-1]})}havingBaseStyle(t){t=t||this.style.text();var r=Lo(X0.BASESIZE,t);return this.size===r&&this.textSize===X0.BASESIZE&&this.style===t?this:this.extend({style:t,size:r})}havingBaseSizing(){var t;switch(this.style.id){case 4:case 5:t=3;break;case 6:case 7:t=1;break;default:t=6}return this.extend({style:this.style.text(),size:t})}withColor(t){return this.extend({color:t})}withPhantom(){return this.extend({phantom:!0})}withFont(t){return this.extend({font:t})}withTextFontFamily(t){return this.extend({fontFamily:t,font:""})}withTextFontWeight(t){return this.extend({fontWeight:t,font:""})}withTextFontShape(t){return this.extend({fontShape:t,font:""})}sizingClasses(t){return t.size!==this.size?["sizing","reset-size"+t.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==X0.BASESIZE?["sizing","reset-size"+this.size,"size"+X0.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=h3(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}X0.BASESIZE=6;var Ca={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},d3={ex:!0,em:!0,mu:!0},Po=function(t){return typeof t!="string"&&(t=t.unit),t in Ca||t in d3||t==="ex"},bt=function(t,r){var n;if(t.unit in Ca)n=Ca[t.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(t.unit==="mu")n=r.fontMetrics().cssEmPerMu;else{var a;if(r.style.isTight()?a=r.havingStyle(r.style.text()):a=r,t.unit==="ex")n=a.fontMetrics().xHeight;else if(t.unit==="em")n=a.fontMetrics().quad;else throw new de("Invalid unit: '"+t.unit+"'");a!==r&&(n*=a.sizeMultiplier/r.sizeMultiplier)}return Math.min(t.number*n,r.maxSize)},xe=function(t){return+t.toFixed(4)+"em"},dr=function(t){return t.filter(r=>r).join(" ")},Ho=function(t,r,n){if(this.classes=t||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},r){r.style.isTight()&&this.classes.push("mtight");var a=r.getColor();a&&(this.style.color=a)}},$o=function(t){var r=document.createElement(t);r.className=dr(this.classes);for(var n in this.style)this.style.hasOwnProperty(n)&&(r.style[n]=this.style[n]);for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&r.setAttribute(a,this.attributes[a]);for(var l=0;l<this.children.length;l++)r.appendChild(this.children[l].toNode());return r},p3=/[\s"'>/=\x00-\x1f]/,Vo=function(t){var r="<"+t;this.classes.length&&(r+=' class="'+Je.escape(dr(this.classes))+'"');var n="";for(var a in this.style)this.style.hasOwnProperty(a)&&(n+=Je.hyphenate(a)+":"+this.style[a]+";");n&&(r+=' style="'+Je.escape(n)+'"');for(var l in this.attributes)if(this.attributes.hasOwnProperty(l)){if(p3.test(l))throw new de("Invalid attribute name '"+l+"'");r+=" "+l+'="'+Je.escape(this.attributes[l])+'"'}r+=">";for(var u=0;u<this.children.length;u++)r+=this.children[u].toMarkup();return r+="</"+t+">",r};class xn{constructor(t,r,n,a){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,Ho.call(this,t,n,a),this.children=r||[]}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return this.classes.includes(t)}toNode(){return $o.call(this,"span")}toMarkup(){return Vo.call(this,"span")}}class Ea{constructor(t,r,n,a){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,Ho.call(this,r,a),this.children=n||[],this.setAttribute("href",t)}setAttribute(t,r){this.attributes[t]=r}hasClass(t){return this.classes.includes(t)}toNode(){return $o.call(this,"a")}toMarkup(){return Vo.call(this,"a")}}class f3{constructor(t,r,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=r,this.src=t,this.classes=["mord"],this.style=n}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createElement("img");t.src=this.src,t.alt=this.alt,t.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(t.style[r]=this.style[r]);return t}toMarkup(){var t='<img src="'+Je.escape(this.src)+'"'+(' alt="'+Je.escape(this.alt)+'"'),r="";for(var n in this.style)this.style.hasOwnProperty(n)&&(r+=Je.hyphenate(n)+":"+this.style[n]+";");return r&&(t+=' style="'+Je.escape(r)+'"'),t+="'/>",t}}var g3={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class w0{constructor(t,r,n,a,l,u,c,m){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=t,this.height=r||0,this.depth=n||0,this.italic=a||0,this.skew=l||0,this.width=u||0,this.classes=c||[],this.style=m||{},this.maxFontSize=0;var f=Q5(this.text.charCodeAt(0));f&&this.classes.push(f+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=g3[this.text])}hasClass(t){return this.classes.includes(t)}toNode(){var t=document.createTextNode(this.text),r=null;this.italic>0&&(r=document.createElement("span"),r.style.marginRight=xe(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=dr(this.classes));for(var n in this.style)this.style.hasOwnProperty(n)&&(r=r||document.createElement("span"),r.style[n]=this.style[n]);return r?(r.appendChild(t),r):t}toMarkup(){var t=!1,r="<span";this.classes.length&&(t=!0,r+=' class="',r+=Je.escape(dr(this.classes)),r+='"');var n="";this.italic>0&&(n+="margin-right:"+this.italic+"em;");for(var a in this.style)this.style.hasOwnProperty(a)&&(n+=Je.hyphenate(a)+":"+this.style[a]+";");n&&(t=!0,r+=' style="'+Je.escape(n)+'"');var l=Je.escape(this.text);return t?(r+=">",r+=l,r+="</span>",r):l}}class Z0{constructor(t,r){this.children=void 0,this.attributes=void 0,this.children=t||[],this.attributes=r||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"svg");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);for(var a=0;a<this.children.length;a++)r.appendChild(this.children[a].toNode());return r}toMarkup(){var t='<svg xmlns="http://www.w3.org/2000/svg"';for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="'+Je.escape(this.attributes[r])+'"');t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</svg>",t}}class pr{constructor(t,r){this.pathName=void 0,this.alternate=void 0,this.pathName=t,this.alternate=r}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"path");return this.alternate?r.setAttribute("d",this.alternate):r.setAttribute("d",qo[this.pathName]),r}toMarkup(){return this.alternate?'<path d="'+Je.escape(this.alternate)+'"/>':'<path d="'+Je.escape(qo[this.pathName])+'"/>'}}class Da{constructor(t){this.attributes=void 0,this.attributes=t||{}}toNode(){var t="http://www.w3.org/2000/svg",r=document.createElementNS(t,"line");for(var n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);return r}toMarkup(){var t="<line";for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="'+Je.escape(this.attributes[r])+'"');return t+="/>",t}}function jo(e){if(e instanceof w0)return e;throw new Error("Expected symbolNode but got "+String(e)+".")}function y3(e){if(e instanceof xn)return e;throw new Error("Expected span<HtmlDomNode> but got "+String(e)+".")}var b3={bin:1,close:1,inner:1,open:1,punct:1,rel:1},x3={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},ct={math:{},text:{}};function v(e,t,r,n,a,l){ct[e][a]={font:t,group:r,replace:n},l&&n&&(ct[e][n]=ct[e][a])}var S="math",ae="text",C="main",F="ams",gt="accent-token",Ae="bin",Xt="close",Xr="inner",Ne="mathord",Et="op-token",m0="open",ei="punct",L="rel",K0="spacing",j="textord";v(S,C,L,"≡","\\equiv",!0),v(S,C,L,"≺","\\prec",!0),v(S,C,L,"≻","\\succ",!0),v(S,C,L,"∼","\\sim",!0),v(S,C,L,"⊥","\\perp"),v(S,C,L,"⪯","\\preceq",!0),v(S,C,L,"⪰","\\succeq",!0),v(S,C,L,"≃","\\simeq",!0),v(S,C,L,"∣","\\mid",!0),v(S,C,L,"≪","\\ll",!0),v(S,C,L,"≫","\\gg",!0),v(S,C,L,"≍","\\asymp",!0),v(S,C,L,"∥","\\parallel"),v(S,C,L,"⋈","\\bowtie",!0),v(S,C,L,"⌣","\\smile",!0),v(S,C,L,"⊑","\\sqsubseteq",!0),v(S,C,L,"⊒","\\sqsupseteq",!0),v(S,C,L,"≐","\\doteq",!0),v(S,C,L,"⌢","\\frown",!0),v(S,C,L,"∋","\\ni",!0),v(S,C,L,"∝","\\propto",!0),v(S,C,L,"⊢","\\vdash",!0),v(S,C,L,"⊣","\\dashv",!0),v(S,C,L,"∋","\\owns"),v(S,C,ei,".","\\ldotp"),v(S,C,ei,"⋅","\\cdotp"),v(S,C,j,"#","\\#"),v(ae,C,j,"#","\\#"),v(S,C,j,"&","\\&"),v(ae,C,j,"&","\\&"),v(S,C,j,"ℵ","\\aleph",!0),v(S,C,j,"∀","\\forall",!0),v(S,C,j,"ℏ","\\hbar",!0),v(S,C,j,"∃","\\exists",!0),v(S,C,j,"∇","\\nabla",!0),v(S,C,j,"♭","\\flat",!0),v(S,C,j,"ℓ","\\ell",!0),v(S,C,j,"♮","\\natural",!0),v(S,C,j,"♣","\\clubsuit",!0),v(S,C,j,"℘","\\wp",!0),v(S,C,j,"♯","\\sharp",!0),v(S,C,j,"♢","\\diamondsuit",!0),v(S,C,j,"ℜ","\\Re",!0),v(S,C,j,"♡","\\heartsuit",!0),v(S,C,j,"ℑ","\\Im",!0),v(S,C,j,"♠","\\spadesuit",!0),v(S,C,j,"§","\\S",!0),v(ae,C,j,"§","\\S"),v(S,C,j,"¶","\\P",!0),v(ae,C,j,"¶","\\P"),v(S,C,j,"†","\\dag"),v(ae,C,j,"†","\\dag"),v(ae,C,j,"†","\\textdagger"),v(S,C,j,"‡","\\ddag"),v(ae,C,j,"‡","\\ddag"),v(ae,C,j,"‡","\\textdaggerdbl"),v(S,C,Xt,"⎱","\\rmoustache",!0),v(S,C,m0,"⎰","\\lmoustache",!0),v(S,C,Xt,"⟯","\\rgroup",!0),v(S,C,m0,"⟮","\\lgroup",!0),v(S,C,Ae,"∓","\\mp",!0),v(S,C,Ae,"⊖","\\ominus",!0),v(S,C,Ae,"⊎","\\uplus",!0),v(S,C,Ae,"⊓","\\sqcap",!0),v(S,C,Ae,"∗","\\ast"),v(S,C,Ae,"⊔","\\sqcup",!0),v(S,C,Ae,"◯","\\bigcirc",!0),v(S,C,Ae,"∙","\\bullet",!0),v(S,C,Ae,"‡","\\ddagger"),v(S,C,Ae,"≀","\\wr",!0),v(S,C,Ae,"⨿","\\amalg"),v(S,C,Ae,"&","\\And"),v(S,C,L,"⟵","\\longleftarrow",!0),v(S,C,L,"⇐","\\Leftarrow",!0),v(S,C,L,"⟸","\\Longleftarrow",!0),v(S,C,L,"⟶","\\longrightarrow",!0),v(S,C,L,"⇒","\\Rightarrow",!0),v(S,C,L,"⟹","\\Longrightarrow",!0),v(S,C,L,"↔","\\leftrightarrow",!0),v(S,C,L,"⟷","\\longleftrightarrow",!0),v(S,C,L,"⇔","\\Leftrightarrow",!0),v(S,C,L,"⟺","\\Longleftrightarrow",!0),v(S,C,L,"↦","\\mapsto",!0),v(S,C,L,"⟼","\\longmapsto",!0),v(S,C,L,"↗","\\nearrow",!0),v(S,C,L,"↩","\\hookleftarrow",!0),v(S,C,L,"↪","\\hookrightarrow",!0),v(S,C,L,"↘","\\searrow",!0),v(S,C,L,"↼","\\leftharpoonup",!0),v(S,C,L,"⇀","\\rightharpoonup",!0),v(S,C,L,"↙","\\swarrow",!0),v(S,C,L,"↽","\\leftharpoondown",!0),v(S,C,L,"⇁","\\rightharpoondown",!0),v(S,C,L,"↖","\\nwarrow",!0),v(S,C,L,"⇌","\\rightleftharpoons",!0),v(S,F,L,"≮","\\nless",!0),v(S,F,L,"","\\@nleqslant"),v(S,F,L,"","\\@nleqq"),v(S,F,L,"⪇","\\lneq",!0),v(S,F,L,"≨","\\lneqq",!0),v(S,F,L,"","\\@lvertneqq"),v(S,F,L,"⋦","\\lnsim",!0),v(S,F,L,"⪉","\\lnapprox",!0),v(S,F,L,"⊀","\\nprec",!0),v(S,F,L,"⋠","\\npreceq",!0),v(S,F,L,"⋨","\\precnsim",!0),v(S,F,L,"⪹","\\precnapprox",!0),v(S,F,L,"≁","\\nsim",!0),v(S,F,L,"","\\@nshortmid"),v(S,F,L,"∤","\\nmid",!0),v(S,F,L,"⊬","\\nvdash",!0),v(S,F,L,"⊭","\\nvDash",!0),v(S,F,L,"⋪","\\ntriangleleft"),v(S,F,L,"⋬","\\ntrianglelefteq",!0),v(S,F,L,"⊊","\\subsetneq",!0),v(S,F,L,"","\\@varsubsetneq"),v(S,F,L,"⫋","\\subsetneqq",!0),v(S,F,L,"","\\@varsubsetneqq"),v(S,F,L,"≯","\\ngtr",!0),v(S,F,L,"","\\@ngeqslant"),v(S,F,L,"","\\@ngeqq"),v(S,F,L,"⪈","\\gneq",!0),v(S,F,L,"≩","\\gneqq",!0),v(S,F,L,"","\\@gvertneqq"),v(S,F,L,"⋧","\\gnsim",!0),v(S,F,L,"⪊","\\gnapprox",!0),v(S,F,L,"⊁","\\nsucc",!0),v(S,F,L,"⋡","\\nsucceq",!0),v(S,F,L,"⋩","\\succnsim",!0),v(S,F,L,"⪺","\\succnapprox",!0),v(S,F,L,"≆","\\ncong",!0),v(S,F,L,"","\\@nshortparallel"),v(S,F,L,"∦","\\nparallel",!0),v(S,F,L,"⊯","\\nVDash",!0),v(S,F,L,"⋫","\\ntriangleright"),v(S,F,L,"⋭","\\ntrianglerighteq",!0),v(S,F,L,"","\\@nsupseteqq"),v(S,F,L,"⊋","\\supsetneq",!0),v(S,F,L,"","\\@varsupsetneq"),v(S,F,L,"⫌","\\supsetneqq",!0),v(S,F,L,"","\\@varsupsetneqq"),v(S,F,L,"⊮","\\nVdash",!0),v(S,F,L,"⪵","\\precneqq",!0),v(S,F,L,"⪶","\\succneqq",!0),v(S,F,L,"","\\@nsubseteqq"),v(S,F,Ae,"⊴","\\unlhd"),v(S,F,Ae,"⊵","\\unrhd"),v(S,F,L,"↚","\\nleftarrow",!0),v(S,F,L,"↛","\\nrightarrow",!0),v(S,F,L,"⇍","\\nLeftarrow",!0),v(S,F,L,"⇏","\\nRightarrow",!0),v(S,F,L,"↮","\\nleftrightarrow",!0),v(S,F,L,"⇎","\\nLeftrightarrow",!0),v(S,F,L,"△","\\vartriangle"),v(S,F,j,"ℏ","\\hslash"),v(S,F,j,"▽","\\triangledown"),v(S,F,j,"◊","\\lozenge"),v(S,F,j,"Ⓢ","\\circledS"),v(S,F,j,"®","\\circledR"),v(ae,F,j,"®","\\circledR"),v(S,F,j,"∡","\\measuredangle",!0),v(S,F,j,"∄","\\nexists"),v(S,F,j,"℧","\\mho"),v(S,F,j,"Ⅎ","\\Finv",!0),v(S,F,j,"⅁","\\Game",!0),v(S,F,j,"‵","\\backprime"),v(S,F,j,"▲","\\blacktriangle"),v(S,F,j,"▼","\\blacktriangledown"),v(S,F,j,"■","\\blacksquare"),v(S,F,j,"⧫","\\blacklozenge"),v(S,F,j,"★","\\bigstar"),v(S,F,j,"∢","\\sphericalangle",!0),v(S,F,j,"∁","\\complement",!0),v(S,F,j,"ð","\\eth",!0),v(ae,C,j,"ð","ð"),v(S,F,j,"╱","\\diagup"),v(S,F,j,"╲","\\diagdown"),v(S,F,j,"□","\\square"),v(S,F,j,"□","\\Box"),v(S,F,j,"◊","\\Diamond"),v(S,F,j,"¥","\\yen",!0),v(ae,F,j,"¥","\\yen",!0),v(S,F,j,"✓","\\checkmark",!0),v(ae,F,j,"✓","\\checkmark"),v(S,F,j,"ℶ","\\beth",!0),v(S,F,j,"ℸ","\\daleth",!0),v(S,F,j,"ℷ","\\gimel",!0),v(S,F,j,"ϝ","\\digamma",!0),v(S,F,j,"ϰ","\\varkappa"),v(S,F,m0,"┌","\\@ulcorner",!0),v(S,F,Xt,"┐","\\@urcorner",!0),v(S,F,m0,"└","\\@llcorner",!0),v(S,F,Xt,"┘","\\@lrcorner",!0),v(S,F,L,"≦","\\leqq",!0),v(S,F,L,"⩽","\\leqslant",!0),v(S,F,L,"⪕","\\eqslantless",!0),v(S,F,L,"≲","\\lesssim",!0),v(S,F,L,"⪅","\\lessapprox",!0),v(S,F,L,"≊","\\approxeq",!0),v(S,F,Ae,"⋖","\\lessdot"),v(S,F,L,"⋘","\\lll",!0),v(S,F,L,"≶","\\lessgtr",!0),v(S,F,L,"⋚","\\lesseqgtr",!0),v(S,F,L,"⪋","\\lesseqqgtr",!0),v(S,F,L,"≑","\\doteqdot"),v(S,F,L,"≓","\\risingdotseq",!0),v(S,F,L,"≒","\\fallingdotseq",!0),v(S,F,L,"∽","\\backsim",!0),v(S,F,L,"⋍","\\backsimeq",!0),v(S,F,L,"⫅","\\subseteqq",!0),v(S,F,L,"⋐","\\Subset",!0),v(S,F,L,"⊏","\\sqsubset",!0),v(S,F,L,"≼","\\preccurlyeq",!0),v(S,F,L,"⋞","\\curlyeqprec",!0),v(S,F,L,"≾","\\precsim",!0),v(S,F,L,"⪷","\\precapprox",!0),v(S,F,L,"⊲","\\vartriangleleft"),v(S,F,L,"⊴","\\trianglelefteq"),v(S,F,L,"⊨","\\vDash",!0),v(S,F,L,"⊪","\\Vvdash",!0),v(S,F,L,"⌣","\\smallsmile"),v(S,F,L,"⌢","\\smallfrown"),v(S,F,L,"≏","\\bumpeq",!0),v(S,F,L,"≎","\\Bumpeq",!0),v(S,F,L,"≧","\\geqq",!0),v(S,F,L,"⩾","\\geqslant",!0),v(S,F,L,"⪖","\\eqslantgtr",!0),v(S,F,L,"≳","\\gtrsim",!0),v(S,F,L,"⪆","\\gtrapprox",!0),v(S,F,Ae,"⋗","\\gtrdot"),v(S,F,L,"⋙","\\ggg",!0),v(S,F,L,"≷","\\gtrless",!0),v(S,F,L,"⋛","\\gtreqless",!0),v(S,F,L,"⪌","\\gtreqqless",!0),v(S,F,L,"≖","\\eqcirc",!0),v(S,F,L,"≗","\\circeq",!0),v(S,F,L,"≜","\\triangleq",!0),v(S,F,L,"∼","\\thicksim"),v(S,F,L,"≈","\\thickapprox"),v(S,F,L,"⫆","\\supseteqq",!0),v(S,F,L,"⋑","\\Supset",!0),v(S,F,L,"⊐","\\sqsupset",!0),v(S,F,L,"≽","\\succcurlyeq",!0),v(S,F,L,"⋟","\\curlyeqsucc",!0),v(S,F,L,"≿","\\succsim",!0),v(S,F,L,"⪸","\\succapprox",!0),v(S,F,L,"⊳","\\vartriangleright"),v(S,F,L,"⊵","\\trianglerighteq"),v(S,F,L,"⊩","\\Vdash",!0),v(S,F,L,"∣","\\shortmid"),v(S,F,L,"∥","\\shortparallel"),v(S,F,L,"≬","\\between",!0),v(S,F,L,"⋔","\\pitchfork",!0),v(S,F,L,"∝","\\varpropto"),v(S,F,L,"◀","\\blacktriangleleft"),v(S,F,L,"∴","\\therefore",!0),v(S,F,L,"∍","\\backepsilon"),v(S,F,L,"▶","\\blacktriangleright"),v(S,F,L,"∵","\\because",!0),v(S,F,L,"⋘","\\llless"),v(S,F,L,"⋙","\\gggtr"),v(S,F,Ae,"⊲","\\lhd"),v(S,F,Ae,"⊳","\\rhd"),v(S,F,L,"≂","\\eqsim",!0),v(S,C,L,"⋈","\\Join"),v(S,F,L,"≑","\\Doteq",!0),v(S,F,Ae,"∔","\\dotplus",!0),v(S,F,Ae,"∖","\\smallsetminus"),v(S,F,Ae,"⋒","\\Cap",!0),v(S,F,Ae,"⋓","\\Cup",!0),v(S,F,Ae,"⩞","\\doublebarwedge",!0),v(S,F,Ae,"⊟","\\boxminus",!0),v(S,F,Ae,"⊞","\\boxplus",!0),v(S,F,Ae,"⋇","\\divideontimes",!0),v(S,F,Ae,"⋉","\\ltimes",!0),v(S,F,Ae,"⋊","\\rtimes",!0),v(S,F,Ae,"⋋","\\leftthreetimes",!0),v(S,F,Ae,"⋌","\\rightthreetimes",!0),v(S,F,Ae,"⋏","\\curlywedge",!0),v(S,F,Ae,"⋎","\\curlyvee",!0),v(S,F,Ae,"⊝","\\circleddash",!0),v(S,F,Ae,"⊛","\\circledast",!0),v(S,F,Ae,"⋅","\\centerdot"),v(S,F,Ae,"⊺","\\intercal",!0),v(S,F,Ae,"⋒","\\doublecap"),v(S,F,Ae,"⋓","\\doublecup"),v(S,F,Ae,"⊠","\\boxtimes",!0),v(S,F,L,"⇢","\\dashrightarrow",!0),v(S,F,L,"⇠","\\dashleftarrow",!0),v(S,F,L,"⇇","\\leftleftarrows",!0),v(S,F,L,"⇆","\\leftrightarrows",!0),v(S,F,L,"⇚","\\Lleftarrow",!0),v(S,F,L,"↞","\\twoheadleftarrow",!0),v(S,F,L,"↢","\\leftarrowtail",!0),v(S,F,L,"↫","\\looparrowleft",!0),v(S,F,L,"⇋","\\leftrightharpoons",!0),v(S,F,L,"↶","\\curvearrowleft",!0),v(S,F,L,"↺","\\circlearrowleft",!0),v(S,F,L,"↰","\\Lsh",!0),v(S,F,L,"⇈","\\upuparrows",!0),v(S,F,L,"↿","\\upharpoonleft",!0),v(S,F,L,"⇃","\\downharpoonleft",!0),v(S,C,L,"⊶","\\origof",!0),v(S,C,L,"⊷","\\imageof",!0),v(S,F,L,"⊸","\\multimap",!0),v(S,F,L,"↭","\\leftrightsquigarrow",!0),v(S,F,L,"⇉","\\rightrightarrows",!0),v(S,F,L,"⇄","\\rightleftarrows",!0),v(S,F,L,"↠","\\twoheadrightarrow",!0),v(S,F,L,"↣","\\rightarrowtail",!0),v(S,F,L,"↬","\\looparrowright",!0),v(S,F,L,"↷","\\curvearrowright",!0),v(S,F,L,"↻","\\circlearrowright",!0),v(S,F,L,"↱","\\Rsh",!0),v(S,F,L,"⇊","\\downdownarrows",!0),v(S,F,L,"↾","\\upharpoonright",!0),v(S,F,L,"⇂","\\downharpoonright",!0),v(S,F,L,"⇝","\\rightsquigarrow",!0),v(S,F,L,"⇝","\\leadsto"),v(S,F,L,"⇛","\\Rrightarrow",!0),v(S,F,L,"↾","\\restriction"),v(S,C,j,"‘","`"),v(S,C,j,"$","\\$"),v(ae,C,j,"$","\\$"),v(ae,C,j,"$","\\textdollar"),v(S,C,j,"%","\\%"),v(ae,C,j,"%","\\%"),v(S,C,j,"_","\\_"),v(ae,C,j,"_","\\_"),v(ae,C,j,"_","\\textunderscore"),v(S,C,j,"∠","\\angle",!0),v(S,C,j,"∞","\\infty",!0),v(S,C,j,"′","\\prime"),v(S,C,j,"△","\\triangle"),v(S,C,j,"Γ","\\Gamma",!0),v(S,C,j,"Δ","\\Delta",!0),v(S,C,j,"Θ","\\Theta",!0),v(S,C,j,"Λ","\\Lambda",!0),v(S,C,j,"Ξ","\\Xi",!0),v(S,C,j,"Π","\\Pi",!0),v(S,C,j,"Σ","\\Sigma",!0),v(S,C,j,"Υ","\\Upsilon",!0),v(S,C,j,"Φ","\\Phi",!0),v(S,C,j,"Ψ","\\Psi",!0),v(S,C,j,"Ω","\\Omega",!0),v(S,C,j,"A","Α"),v(S,C,j,"B","Β"),v(S,C,j,"E","Ε"),v(S,C,j,"Z","Ζ"),v(S,C,j,"H","Η"),v(S,C,j,"I","Ι"),v(S,C,j,"K","Κ"),v(S,C,j,"M","Μ"),v(S,C,j,"N","Ν"),v(S,C,j,"O","Ο"),v(S,C,j,"P","Ρ"),v(S,C,j,"T","Τ"),v(S,C,j,"X","Χ"),v(S,C,j,"¬","\\neg",!0),v(S,C,j,"¬","\\lnot"),v(S,C,j,"⊤","\\top"),v(S,C,j,"⊥","\\bot"),v(S,C,j,"∅","\\emptyset"),v(S,F,j,"∅","\\varnothing"),v(S,C,Ne,"α","\\alpha",!0),v(S,C,Ne,"β","\\beta",!0),v(S,C,Ne,"γ","\\gamma",!0),v(S,C,Ne,"δ","\\delta",!0),v(S,C,Ne,"ϵ","\\epsilon",!0),v(S,C,Ne,"ζ","\\zeta",!0),v(S,C,Ne,"η","\\eta",!0),v(S,C,Ne,"θ","\\theta",!0),v(S,C,Ne,"ι","\\iota",!0),v(S,C,Ne,"κ","\\kappa",!0),v(S,C,Ne,"λ","\\lambda",!0),v(S,C,Ne,"μ","\\mu",!0),v(S,C,Ne,"ν","\\nu",!0),v(S,C,Ne,"ξ","\\xi",!0),v(S,C,Ne,"ο","\\omicron",!0),v(S,C,Ne,"π","\\pi",!0),v(S,C,Ne,"ρ","\\rho",!0),v(S,C,Ne,"σ","\\sigma",!0),v(S,C,Ne,"τ","\\tau",!0),v(S,C,Ne,"υ","\\upsilon",!0),v(S,C,Ne,"ϕ","\\phi",!0),v(S,C,Ne,"χ","\\chi",!0),v(S,C,Ne,"ψ","\\psi",!0),v(S,C,Ne,"ω","\\omega",!0),v(S,C,Ne,"ε","\\varepsilon",!0),v(S,C,Ne,"ϑ","\\vartheta",!0),v(S,C,Ne,"ϖ","\\varpi",!0),v(S,C,Ne,"ϱ","\\varrho",!0),v(S,C,Ne,"ς","\\varsigma",!0),v(S,C,Ne,"φ","\\varphi",!0),v(S,C,Ae,"∗","*",!0),v(S,C,Ae,"+","+"),v(S,C,Ae,"−","-",!0),v(S,C,Ae,"⋅","\\cdot",!0),v(S,C,Ae,"∘","\\circ",!0),v(S,C,Ae,"÷","\\div",!0),v(S,C,Ae,"±","\\pm",!0),v(S,C,Ae,"×","\\times",!0),v(S,C,Ae,"∩","\\cap",!0),v(S,C,Ae,"∪","\\cup",!0),v(S,C,Ae,"∖","\\setminus",!0),v(S,C,Ae,"∧","\\land"),v(S,C,Ae,"∨","\\lor"),v(S,C,Ae,"∧","\\wedge",!0),v(S,C,Ae,"∨","\\vee",!0),v(S,C,j,"√","\\surd"),v(S,C,m0,"⟨","\\langle",!0),v(S,C,m0,"∣","\\lvert"),v(S,C,m0,"∥","\\lVert"),v(S,C,Xt,"?","?"),v(S,C,Xt,"!","!"),v(S,C,Xt,"⟩","\\rangle",!0),v(S,C,Xt,"∣","\\rvert"),v(S,C,Xt,"∥","\\rVert"),v(S,C,L,"=","="),v(S,C,L,":",":"),v(S,C,L,"≈","\\approx",!0),v(S,C,L,"≅","\\cong",!0),v(S,C,L,"≥","\\ge"),v(S,C,L,"≥","\\geq",!0),v(S,C,L,"←","\\gets"),v(S,C,L,">","\\gt",!0),v(S,C,L,"∈","\\in",!0),v(S,C,L,"","\\@not"),v(S,C,L,"⊂","\\subset",!0),v(S,C,L,"⊃","\\supset",!0),v(S,C,L,"⊆","\\subseteq",!0),v(S,C,L,"⊇","\\supseteq",!0),v(S,F,L,"⊈","\\nsubseteq",!0),v(S,F,L,"⊉","\\nsupseteq",!0),v(S,C,L,"⊨","\\models"),v(S,C,L,"←","\\leftarrow",!0),v(S,C,L,"≤","\\le"),v(S,C,L,"≤","\\leq",!0),v(S,C,L,"<","\\lt",!0),v(S,C,L,"→","\\rightarrow",!0),v(S,C,L,"→","\\to"),v(S,F,L,"≱","\\ngeq",!0),v(S,F,L,"≰","\\nleq",!0),v(S,C,K0," ","\\ "),v(S,C,K0," ","\\space"),v(S,C,K0," ","\\nobreakspace"),v(ae,C,K0," ","\\ "),v(ae,C,K0," "," "),v(ae,C,K0," ","\\space"),v(ae,C,K0," ","\\nobreakspace"),v(S,C,K0,null,"\\nobreak"),v(S,C,K0,null,"\\allowbreak"),v(S,C,ei,",",","),v(S,C,ei,";",";"),v(S,F,Ae,"⊼","\\barwedge",!0),v(S,F,Ae,"⊻","\\veebar",!0),v(S,C,Ae,"⊙","\\odot",!0),v(S,C,Ae,"⊕","\\oplus",!0),v(S,C,Ae,"⊗","\\otimes",!0),v(S,C,j,"∂","\\partial",!0),v(S,C,Ae,"⊘","\\oslash",!0),v(S,F,Ae,"⊚","\\circledcirc",!0),v(S,F,Ae,"⊡","\\boxdot",!0),v(S,C,Ae,"△","\\bigtriangleup"),v(S,C,Ae,"▽","\\bigtriangledown"),v(S,C,Ae,"†","\\dagger"),v(S,C,Ae,"⋄","\\diamond"),v(S,C,Ae,"⋆","\\star"),v(S,C,Ae,"◃","\\triangleleft"),v(S,C,Ae,"▹","\\triangleright"),v(S,C,m0,"{","\\{"),v(ae,C,j,"{","\\{"),v(ae,C,j,"{","\\textbraceleft"),v(S,C,Xt,"}","\\}"),v(ae,C,j,"}","\\}"),v(ae,C,j,"}","\\textbraceright"),v(S,C,m0,"{","\\lbrace"),v(S,C,Xt,"}","\\rbrace"),v(S,C,m0,"[","\\lbrack",!0),v(ae,C,j,"[","\\lbrack",!0),v(S,C,Xt,"]","\\rbrack",!0),v(ae,C,j,"]","\\rbrack",!0),v(S,C,m0,"(","\\lparen",!0),v(S,C,Xt,")","\\rparen",!0),v(ae,C,j,"<","\\textless",!0),v(ae,C,j,">","\\textgreater",!0),v(S,C,m0,"⌊","\\lfloor",!0),v(S,C,Xt,"⌋","\\rfloor",!0),v(S,C,m0,"⌈","\\lceil",!0),v(S,C,Xt,"⌉","\\rceil",!0),v(S,C,j,"\\","\\backslash"),v(S,C,j,"∣","|"),v(S,C,j,"∣","\\vert"),v(ae,C,j,"|","\\textbar",!0),v(S,C,j,"∥","\\|"),v(S,C,j,"∥","\\Vert"),v(ae,C,j,"∥","\\textbardbl"),v(ae,C,j,"~","\\textasciitilde"),v(ae,C,j,"\\","\\textbackslash"),v(ae,C,j,"^","\\textasciicircum"),v(S,C,L,"↑","\\uparrow",!0),v(S,C,L,"⇑","\\Uparrow",!0),v(S,C,L,"↓","\\downarrow",!0),v(S,C,L,"⇓","\\Downarrow",!0),v(S,C,L,"↕","\\updownarrow",!0),v(S,C,L,"⇕","\\Updownarrow",!0),v(S,C,Et,"∐","\\coprod"),v(S,C,Et,"⋁","\\bigvee"),v(S,C,Et,"⋀","\\bigwedge"),v(S,C,Et,"⨄","\\biguplus"),v(S,C,Et,"⋂","\\bigcap"),v(S,C,Et,"⋃","\\bigcup"),v(S,C,Et,"∫","\\int"),v(S,C,Et,"∫","\\intop"),v(S,C,Et,"∬","\\iint"),v(S,C,Et,"∭","\\iiint"),v(S,C,Et,"∏","\\prod"),v(S,C,Et,"∑","\\sum"),v(S,C,Et,"⨂","\\bigotimes"),v(S,C,Et,"⨁","\\bigoplus"),v(S,C,Et,"⨀","\\bigodot"),v(S,C,Et,"∮","\\oint"),v(S,C,Et,"∯","\\oiint"),v(S,C,Et,"∰","\\oiiint"),v(S,C,Et,"⨆","\\bigsqcup"),v(S,C,Et,"∫","\\smallint"),v(ae,C,Xr,"…","\\textellipsis"),v(S,C,Xr,"…","\\mathellipsis"),v(ae,C,Xr,"…","\\ldots",!0),v(S,C,Xr,"…","\\ldots",!0),v(S,C,Xr,"⋯","\\@cdots",!0),v(S,C,Xr,"⋱","\\ddots",!0),v(S,C,j,"⋮","\\varvdots"),v(ae,C,j,"⋮","\\varvdots"),v(S,C,gt,"ˊ","\\acute"),v(S,C,gt,"ˋ","\\grave"),v(S,C,gt,"¨","\\ddot"),v(S,C,gt,"~","\\tilde"),v(S,C,gt,"ˉ","\\bar"),v(S,C,gt,"˘","\\breve"),v(S,C,gt,"ˇ","\\check"),v(S,C,gt,"^","\\hat"),v(S,C,gt,"⃗","\\vec"),v(S,C,gt,"˙","\\dot"),v(S,C,gt,"˚","\\mathring"),v(S,C,Ne,"","\\@imath"),v(S,C,Ne,"","\\@jmath"),v(S,C,j,"ı","ı"),v(S,C,j,"ȷ","ȷ"),v(ae,C,j,"ı","\\i",!0),v(ae,C,j,"ȷ","\\j",!0),v(ae,C,j,"ß","\\ss",!0),v(ae,C,j,"æ","\\ae",!0),v(ae,C,j,"œ","\\oe",!0),v(ae,C,j,"ø","\\o",!0),v(ae,C,j,"Æ","\\AE",!0),v(ae,C,j,"Œ","\\OE",!0),v(ae,C,j,"Ø","\\O",!0),v(ae,C,gt,"ˊ","\\'"),v(ae,C,gt,"ˋ","\\`"),v(ae,C,gt,"ˆ","\\^"),v(ae,C,gt,"˜","\\~"),v(ae,C,gt,"ˉ","\\="),v(ae,C,gt,"˘","\\u"),v(ae,C,gt,"˙","\\."),v(ae,C,gt,"¸","\\c"),v(ae,C,gt,"˚","\\r"),v(ae,C,gt,"ˇ","\\v"),v(ae,C,gt,"¨",'\\"'),v(ae,C,gt,"˝","\\H"),v(ae,C,gt,"◯","\\textcircled");var Go={"--":!0,"---":!0,"``":!0,"''":!0};v(ae,C,j,"–","--",!0),v(ae,C,j,"–","\\textendash"),v(ae,C,j,"—","---",!0),v(ae,C,j,"—","\\textemdash"),v(ae,C,j,"‘","`",!0),v(ae,C,j,"‘","\\textquoteleft"),v(ae,C,j,"’","'",!0),v(ae,C,j,"’","\\textquoteright"),v(ae,C,j,"“","``",!0),v(ae,C,j,"“","\\textquotedblleft"),v(ae,C,j,"”","''",!0),v(ae,C,j,"”","\\textquotedblright"),v(S,C,j,"°","\\degree",!0),v(ae,C,j,"°","\\degree"),v(ae,C,j,"°","\\textdegree",!0),v(S,C,j,"£","\\pounds"),v(S,C,j,"£","\\mathsterling",!0),v(ae,C,j,"£","\\pounds"),v(ae,C,j,"£","\\textsterling",!0),v(S,F,j,"✠","\\maltese"),v(ae,F,j,"✠","\\maltese");for(var Uo='0123456789/@."',Ba=0;Ba<Uo.length;Ba++){var Wo=Uo.charAt(Ba);v(S,C,j,Wo,Wo)}for(var Yo='0123456789!@*()-=+";:?/.,',Na=0;Na<Yo.length;Na++){var Xo=Yo.charAt(Na);v(ae,C,j,Xo,Xo)}for(var ti="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",Ia=0;Ia<ti.length;Ia++){var ri=ti.charAt(Ia);v(S,C,Ne,ri,ri),v(ae,C,j,ri,ri)}v(S,F,j,"C","ℂ"),v(ae,F,j,"C","ℂ"),v(S,F,j,"H","ℍ"),v(ae,F,j,"H","ℍ"),v(S,F,j,"N","ℕ"),v(ae,F,j,"N","ℕ"),v(S,F,j,"P","ℙ"),v(ae,F,j,"P","ℙ"),v(S,F,j,"Q","ℚ"),v(ae,F,j,"Q","ℚ"),v(S,F,j,"R","ℝ"),v(ae,F,j,"R","ℝ"),v(S,F,j,"Z","ℤ"),v(ae,F,j,"Z","ℤ"),v(S,C,Ne,"h","ℎ"),v(ae,C,Ne,"h","ℎ");for(var _e="",Zt=0;Zt<ti.length;Zt++){var St=ti.charAt(Zt);_e=String.fromCharCode(55349,56320+Zt),v(S,C,Ne,St,_e),v(ae,C,j,St,_e),_e=String.fromCharCode(55349,56372+Zt),v(S,C,Ne,St,_e),v(ae,C,j,St,_e),_e=String.fromCharCode(55349,56424+Zt),v(S,C,Ne,St,_e),v(ae,C,j,St,_e),_e=String.fromCharCode(55349,56580+Zt),v(S,C,Ne,St,_e),v(ae,C,j,St,_e),_e=String.fromCharCode(55349,56684+Zt),v(S,C,Ne,St,_e),v(ae,C,j,St,_e),_e=String.fromCharCode(55349,56736+Zt),v(S,C,Ne,St,_e),v(ae,C,j,St,_e),_e=String.fromCharCode(55349,56788+Zt),v(S,C,Ne,St,_e),v(ae,C,j,St,_e),_e=String.fromCharCode(55349,56840+Zt),v(S,C,Ne,St,_e),v(ae,C,j,St,_e),_e=String.fromCharCode(55349,56944+Zt),v(S,C,Ne,St,_e),v(ae,C,j,St,_e),Zt<26&&(_e=String.fromCharCode(55349,56632+Zt),v(S,C,Ne,St,_e),v(ae,C,j,St,_e),_e=String.fromCharCode(55349,56476+Zt),v(S,C,Ne,St,_e),v(ae,C,j,St,_e))}_e="𝕜",v(S,C,Ne,"k",_e),v(ae,C,j,"k",_e);for(var Tr=0;Tr<10;Tr++){var fr=Tr.toString();_e=String.fromCharCode(55349,57294+Tr),v(S,C,Ne,fr,_e),v(ae,C,j,fr,_e),_e=String.fromCharCode(55349,57314+Tr),v(S,C,Ne,fr,_e),v(ae,C,j,fr,_e),_e=String.fromCharCode(55349,57324+Tr),v(S,C,Ne,fr,_e),v(ae,C,j,fr,_e),_e=String.fromCharCode(55349,57334+Tr),v(S,C,Ne,fr,_e),v(ae,C,j,fr,_e)}for(var Ra="ÐÞþ",_a=0;_a<Ra.length;_a++){var ni=Ra.charAt(_a);v(S,C,Ne,ni,ni),v(ae,C,j,ni,ni)}var ii=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],Zo=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],v3=function(t,r){var n=t.charCodeAt(0),a=t.charCodeAt(1),l=(n-55296)*1024+(a-56320)+65536,u=r==="math"?0:1;if(119808<=l&&l<120484){var c=Math.floor((l-119808)/26);return[ii[c][2],ii[c][u]]}else if(120782<=l&&l<=120831){var m=Math.floor((l-120782)/10);return[Zo[m][2],Zo[m][u]]}else{if(l===120485||l===120486)return[ii[0][2],ii[0][u]];if(120486<l&&l<120782)return["",""];throw new de("Unsupported character: "+t)}},ai=function(t,r,n){return ct[n][t]&&ct[n][t].replace&&(t=ct[n][t].replace),{value:t,metrics:za(t,r,n)}},T0=function(t,r,n,a,l){var u=ai(t,r,n),c=u.metrics;t=u.value;var m;if(c){var f=c.italic;(n==="text"||a&&a.font==="mathit")&&(f=0),m=new w0(t,c.height,c.depth,f,c.skew,c.width,l)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+t+"' in style '"+r+"' and mode '"+n+"'")),m=new w0(t,0,0,0,0,0,l);if(a){m.maxFontSize=a.sizeMultiplier,a.style.isTight()&&m.classes.push("mtight");var g=a.getColor();g&&(m.style.color=g)}return m},w3=function(t,r,n,a){return a===void 0&&(a=[]),n.font==="boldsymbol"&&ai(t,"Main-Bold",r).metrics?T0(t,"Main-Bold",r,n,a.concat(["mathbf"])):t==="\\"||ct[r][t].font==="main"?T0(t,"Main-Regular",r,n,a):T0(t,"AMS-Regular",r,n,a.concat(["amsrm"]))},k3=function(t,r,n,a,l){return l!=="textord"&&ai(t,"Math-BoldItalic",r).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},S3=function(t,r,n){var a=t.mode,l=t.text,u=["mord"],c=a==="math"||a==="text"&&r.font,m=c?r.font:r.fontFamily,f="",g="";if(l.charCodeAt(0)===55349&&([f,g]=v3(l,a)),f.length>0)return T0(l,f,a,r,u.concat(g));if(m){var b,d;if(m==="boldsymbol"){var p=k3(l,a,r,u,n);b=p.fontName,d=[p.fontClass]}else c?(b=Qo[m].fontName,d=[m]):(b=li(m,r.fontWeight,r.fontShape),d=[m,r.fontWeight,r.fontShape]);if(ai(l,b,a).metrics)return T0(l,b,a,r,u.concat(d));if(Go.hasOwnProperty(l)&&b.slice(0,10)==="Typewriter"){for(var A=[],N=0;N<l.length;N++)A.push(T0(l[N],b,a,r,u.concat(d)));return Jo(A)}}if(n==="mathord")return T0(l,"Math-Italic",a,r,u.concat(["mathnormal"]));if(n==="textord"){var O=ct[a][l]&&ct[a][l].font;if(O==="ams"){var q=li("amsrm",r.fontWeight,r.fontShape);return T0(l,q,a,r,u.concat("amsrm",r.fontWeight,r.fontShape))}else if(O==="main"||!O){var P=li("textrm",r.fontWeight,r.fontShape);return T0(l,P,a,r,u.concat(r.fontWeight,r.fontShape))}else{var K=li(O,r.fontWeight,r.fontShape);return T0(l,K,a,r,u.concat(K,r.fontWeight,r.fontShape))}}else throw new Error("unexpected type: "+n+" in makeOrd")},M3=(e,t)=>{if(dr(e.classes)!==dr(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize)return!1;if(e.classes.length===1){var r=e.classes[0];if(r==="mbin"||r==="mord")return!1}for(var n in e.style)if(e.style.hasOwnProperty(n)&&e.style[n]!==t.style[n])return!1;for(var a in t.style)if(t.style.hasOwnProperty(a)&&e.style[a]!==t.style[a])return!1;return!0},A3=e=>{for(var t=0;t<e.length-1;t++){var r=e[t],n=e[t+1];r instanceof w0&&n instanceof w0&&M3(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},qa=function(t){for(var r=0,n=0,a=0,l=0;l<t.children.length;l++){var u=t.children[l];u.height>r&&(r=u.height),u.depth>n&&(n=u.depth),u.maxFontSize>a&&(a=u.maxFontSize)}t.height=r,t.depth=n,t.maxFontSize=a},n0=function(t,r,n,a){var l=new xn(t,r,n,a);return qa(l),l},Ko=(e,t,r,n)=>new xn(e,t,r,n),z3=function(t,r,n){var a=n0([t],[],r);return a.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),a.style.borderBottomWidth=xe(a.height),a.maxFontSize=1,a},T3=function(t,r,n,a){var l=new Ea(t,r,n,a);return qa(l),l},Jo=function(t){var r=new bn(t);return qa(r),r},C3=function(t,r){return t instanceof bn?n0([],[t],r):t},E3=function(t){if(t.positionType==="individualShift"){for(var r=t.children,n=[r[0]],a=-r[0].shift-r[0].elem.depth,l=a,u=1;u<r.length;u++){var c=-r[u].shift-l-r[u].elem.depth,m=c-(r[u-1].elem.height+r[u-1].elem.depth);l=l+c,n.push({type:"kern",size:m}),n.push(r[u])}return{children:n,depth:a}}var f;if(t.positionType==="top"){for(var g=t.positionData,b=0;b<t.children.length;b++){var d=t.children[b];g-=d.type==="kern"?d.size:d.elem.height+d.elem.depth}f=g}else if(t.positionType==="bottom")f=-t.positionData;else{var p=t.children[0];if(p.type!=="elem")throw new Error('First child must have type "elem".');if(t.positionType==="shift")f=-p.elem.depth-t.positionData;else if(t.positionType==="firstBaseline")f=-p.elem.depth;else throw new Error("Invalid positionType "+t.positionType+".")}return{children:t.children,depth:f}},D3=function(t,r){for(var{children:n,depth:a}=E3(t),l=0,u=0;u<n.length;u++){var c=n[u];if(c.type==="elem"){var m=c.elem;l=Math.max(l,m.maxFontSize,m.height)}}l+=2;var f=n0(["pstrut"],[]);f.style.height=xe(l);for(var g=[],b=a,d=a,p=a,A=0;A<n.length;A++){var N=n[A];if(N.type==="kern")p+=N.size;else{var O=N.elem,q=N.wrapperClasses||[],P=N.wrapperStyle||{},K=n0(q,[f,O],void 0,P);K.style.top=xe(-l-p-O.depth),N.marginLeft&&(K.style.marginLeft=N.marginLeft),N.marginRight&&(K.style.marginRight=N.marginRight),g.push(K),p+=O.height+O.depth}b=Math.min(b,p),d=Math.max(d,p)}var re=n0(["vlist"],g);re.style.height=xe(d);var le;if(b<0){var W=n0([],[]),se=n0(["vlist"],[W]);se.style.height=xe(-b);var ve=n0(["vlist-s"],[new w0("​")]);le=[n0(["vlist-r"],[re,ve]),n0(["vlist-r"],[se])]}else le=[n0(["vlist-r"],[re])];var pe=n0(["vlist-t"],le);return le.length===2&&pe.classes.push("vlist-t2"),pe.height=d,pe.depth=-b,pe},B3=(e,t)=>{var r=n0(["mspace"],[],t),n=bt(e,t);return r.style.marginRight=xe(n),r},li=function(t,r,n){var a="";switch(t){case"amsrm":a="AMS";break;case"textrm":a="Main";break;case"textsf":a="SansSerif";break;case"texttt":a="Typewriter";break;default:a=t}var l;return r==="textbf"&&n==="textit"?l="BoldItalic":r==="textbf"?l="Bold":r==="textit"?l="Italic":l="Regular",a+"-"+l},Qo={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"}},eu={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},N3=function(t,r){var[n,a,l]=eu[t],u=new pr(n),c=new Z0([u],{width:xe(a),height:xe(l),style:"width:"+xe(a),viewBox:"0 0 "+1e3*a+" "+1e3*l,preserveAspectRatio:"xMinYMin"}),m=Ko(["overlay"],[c],r);return m.height=l,m.style.height=xe(l),m.style.width=xe(a),m},X={fontMap:Qo,makeSymbol:T0,mathsym:w3,makeSpan:n0,makeSvgSpan:Ko,makeLineSpan:z3,makeAnchor:T3,makeFragment:Jo,wrapFragment:C3,makeVList:D3,makeOrd:S3,makeGlue:B3,staticSvg:N3,svgData:eu,tryCombineChars:A3},xt={number:3,unit:"mu"},Cr={number:4,unit:"mu"},J0={number:5,unit:"mu"},I3={mord:{mop:xt,mbin:Cr,mrel:J0,minner:xt},mop:{mord:xt,mop:xt,mrel:J0,minner:xt},mbin:{mord:Cr,mop:Cr,mopen:Cr,minner:Cr},mrel:{mord:J0,mop:J0,mopen:J0,minner:J0},mopen:{},mclose:{mop:xt,mbin:Cr,mrel:J0,minner:xt},mpunct:{mord:xt,mop:xt,mrel:J0,mopen:xt,mclose:xt,mpunct:xt,minner:xt},minner:{mord:xt,mop:xt,mbin:Cr,mrel:J0,mopen:xt,mpunct:xt,minner:xt}},R3={mord:{mop:xt},mop:{mord:xt,mop:xt},mbin:{},mrel:{},mopen:{},mclose:{mop:xt},mpunct:{},minner:{mop:xt}},tu={},si={},oi={};function ke(e){for(var{type:t,names:r,props:n,handler:a,htmlBuilder:l,mathmlBuilder:u}=e,c={type:t,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:n.allowedInMath===void 0?!0:n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:a},m=0;m<r.length;++m)tu[r[m]]=c;t&&(l&&(si[t]=l),u&&(oi[t]=u))}function Er(e){var{type:t,htmlBuilder:r,mathmlBuilder:n}=e;ke({type:t,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:r,mathmlBuilder:n})}var ui=function(t){return t.type==="ordgroup"&&t.body.length===1?t.body[0]:t},zt=function(t){return t.type==="ordgroup"?t.body:[t]},Q0=X.makeSpan,_3=["leftmost","mbin","mopen","mrel","mop","mpunct"],q3=["rightmost","mrel","mclose","mpunct"],O3={display:Be.DISPLAY,text:Be.TEXT,script:Be.SCRIPT,scriptscript:Be.SCRIPTSCRIPT},F3={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},It=function(t,r,n,a){a===void 0&&(a=[null,null]);for(var l=[],u=0;u<t.length;u++){var c=Ye(t[u],r);if(c instanceof bn){var m=c.children;l.push(...m)}else l.push(c)}if(X.tryCombineChars(l),!n)return l;var f=r;if(t.length===1){var g=t[0];g.type==="sizing"?f=r.havingSize(g.size):g.type==="styling"&&(f=r.havingStyle(O3[g.style]))}var b=Q0([a[0]||"leftmost"],[],r),d=Q0([a[1]||"rightmost"],[],r),p=n==="root";return ru(l,(A,N)=>{var O=N.classes[0],q=A.classes[0];O==="mbin"&&q3.includes(q)?N.classes[0]="mord":q==="mbin"&&_3.includes(O)&&(A.classes[0]="mord")},{node:b},d,p),ru(l,(A,N)=>{var O=Oa(N),q=Oa(A),P=O&&q?A.hasClass("mtight")?R3[O][q]:I3[O][q]:null;if(P)return X.makeGlue(P,f)},{node:b},d,p),l},ru=function e(t,r,n,a,l){a&&t.push(a);for(var u=0;u<t.length;u++){var c=t[u],m=nu(c);if(m){e(m.children,r,n,null,l);continue}var f=!c.hasClass("mspace");if(f){var g=r(c,n.node);g&&(n.insertAfter?n.insertAfter(g):(t.unshift(g),u++))}f?n.node=c:l&&c.hasClass("newline")&&(n.node=Q0(["leftmost"])),n.insertAfter=(b=>d=>{t.splice(b+1,0,d),u++})(u)}a&&t.pop()},nu=function(t){return t instanceof bn||t instanceof Ea||t instanceof xn&&t.hasClass("enclosing")?t:null},L3=function e(t,r){var n=nu(t);if(n){var a=n.children;if(a.length){if(r==="right")return e(a[a.length-1],"right");if(r==="left")return e(a[0],"left")}}return t},Oa=function(t,r){return t?(r&&(t=L3(t,r)),F3[t.classes[0]]||null):null},vn=function(t,r){var n=["nulldelimiter"].concat(t.baseSizingClasses());return Q0(r.concat(n))},Ye=function(t,r,n){if(!t)return Q0();if(si[t.type]){var a=si[t.type](t,r);if(n&&r.size!==n.size){a=Q0(r.sizingClasses(n),[a],r);var l=r.sizeMultiplier/n.sizeMultiplier;a.height*=l,a.depth*=l}return a}else throw new de("Got group of unknown type: '"+t.type+"'")};function ci(e,t){var r=Q0(["base"],e,t),n=Q0(["strut"]);return n.style.height=xe(r.height+r.depth),r.depth&&(n.style.verticalAlign=xe(-r.depth)),r.children.unshift(n),r}function Fa(e,t){var r=null;e.length===1&&e[0].type==="tag"&&(r=e[0].tag,e=e[0].body);var n=It(e,t,"root"),a;n.length===2&&n[1].hasClass("tag")&&(a=n.pop());for(var l=[],u=[],c=0;c<n.length;c++)if(u.push(n[c]),n[c].hasClass("mbin")||n[c].hasClass("mrel")||n[c].hasClass("allowbreak")){for(var m=!1;c<n.length-1&&n[c+1].hasClass("mspace")&&!n[c+1].hasClass("newline");)c++,u.push(n[c]),n[c].hasClass("nobreak")&&(m=!0);m||(l.push(ci(u,t)),u=[])}else n[c].hasClass("newline")&&(u.pop(),u.length>0&&(l.push(ci(u,t)),u=[]),l.push(n[c]));u.length>0&&l.push(ci(u,t));var f;r?(f=ci(It(r,t,!0)),f.classes=["tag"],l.push(f)):a&&l.push(a);var g=Q0(["katex-html"],l);if(g.setAttribute("aria-hidden","true"),f){var b=f.children[0];b.style.height=xe(g.height+g.depth),g.depth&&(b.style.verticalAlign=xe(-g.depth))}return g}function iu(e){return new bn(e)}class d0{constructor(t,r,n){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=t,this.attributes={},this.children=r||[],this.classes=n||[]}setAttribute(t,r){this.attributes[t]=r}getAttribute(t){return this.attributes[t]}toNode(){var t=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&t.setAttribute(r,this.attributes[r]);this.classes.length>0&&(t.className=dr(this.classes));for(var n=0;n<this.children.length;n++)if(this.children[n]instanceof R0&&this.children[n+1]instanceof R0){for(var a=this.children[n].toText()+this.children[++n].toText();this.children[n+1]instanceof R0;)a+=this.children[++n].toText();t.appendChild(new R0(a).toNode())}else t.appendChild(this.children[n].toNode());return t}toMarkup(){var t="<"+this.type;for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&(t+=" "+r+'="',t+=Je.escape(this.attributes[r]),t+='"');this.classes.length>0&&(t+=' class ="'+Je.escape(dr(this.classes))+'"'),t+=">";for(var n=0;n<this.children.length;n++)t+=this.children[n].toMarkup();return t+="</"+this.type+">",t}toText(){return this.children.map(t=>t.toText()).join("")}}class R0{constructor(t){this.text=void 0,this.text=t}toNode(){return document.createTextNode(this.text)}toMarkup(){return Je.escape(this.toText())}toText(){return this.text}}class P3{constructor(t){this.width=void 0,this.character=void 0,this.width=t,t>=.05555&&t<=.05556?this.character=" ":t>=.1666&&t<=.1667?this.character=" ":t>=.2222&&t<=.2223?this.character=" ":t>=.2777&&t<=.2778?this.character="  ":t>=-.05556&&t<=-.05555?this.character=" ⁣":t>=-.1667&&t<=-.1666?this.character=" ⁣":t>=-.2223&&t<=-.2222?this.character=" ⁣":t>=-.2778&&t<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var t=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return t.setAttribute("width",xe(this.width)),t}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+xe(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var ce={MathNode:d0,TextNode:R0,SpaceNode:P3,newDocumentFragment:iu},k0=function(t,r,n){return ct[r][t]&&ct[r][t].replace&&t.charCodeAt(0)!==55349&&!(Go.hasOwnProperty(t)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(t=ct[r][t].replace),new ce.TextNode(t)},La=function(t){return t.length===1?t[0]:new ce.MathNode("mrow",t)},Pa=function(t,r){if(r.fontFamily==="texttt")return"monospace";if(r.fontFamily==="textsf")return r.fontShape==="textit"&&r.fontWeight==="textbf"?"sans-serif-bold-italic":r.fontShape==="textit"?"sans-serif-italic":r.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(r.fontShape==="textit"&&r.fontWeight==="textbf")return"bold-italic";if(r.fontShape==="textit")return"italic";if(r.fontWeight==="textbf")return"bold";var n=r.font;if(!n||n==="mathnormal")return null;var a=t.mode;if(n==="mathit")return"italic";if(n==="boldsymbol")return t.type==="textord"?"bold":"bold-italic";if(n==="mathbf")return"bold";if(n==="mathbb")return"double-struck";if(n==="mathsfit")return"sans-serif-italic";if(n==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var l=t.text;if(["\\imath","\\jmath"].includes(l))return null;ct[a][l]&&ct[a][l].replace&&(l=ct[a][l].replace);var u=X.fontMap[n].fontName;return za(l,u,a)?X.fontMap[n].variant:null};function Ha(e){if(!e)return!1;if(e.type==="mi"&&e.children.length===1){var t=e.children[0];return t instanceof R0&&t.text==="."}else if(e.type==="mo"&&e.children.length===1&&e.getAttribute("separator")==="true"&&e.getAttribute("lspace")==="0em"&&e.getAttribute("rspace")==="0em"){var r=e.children[0];return r instanceof R0&&r.text===","}else return!1}var i0=function(t,r,n){if(t.length===1){var a=at(t[0],r);return n&&a instanceof d0&&a.type==="mo"&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var l=[],u,c=0;c<t.length;c++){var m=at(t[c],r);if(m instanceof d0&&u instanceof d0){if(m.type==="mtext"&&u.type==="mtext"&&m.getAttribute("mathvariant")===u.getAttribute("mathvariant")){u.children.push(...m.children);continue}else if(m.type==="mn"&&u.type==="mn"){u.children.push(...m.children);continue}else if(Ha(m)&&u.type==="mn"){u.children.push(...m.children);continue}else if(m.type==="mn"&&Ha(u))m.children=[...u.children,...m.children],l.pop();else if((m.type==="msup"||m.type==="msub")&&m.children.length>=1&&(u.type==="mn"||Ha(u))){var f=m.children[0];f instanceof d0&&f.type==="mn"&&(f.children=[...u.children,...f.children],l.pop())}else if(u.type==="mi"&&u.children.length===1){var g=u.children[0];if(g instanceof R0&&g.text==="̸"&&(m.type==="mo"||m.type==="mi"||m.type==="mn")){var b=m.children[0];b instanceof R0&&b.text.length>0&&(b.text=b.text.slice(0,1)+"̸"+b.text.slice(1),l.pop())}}}l.push(m),u=m}return l},gr=function(t,r,n){return La(i0(t,r,n))},at=function(t,r){if(!t)return new ce.MathNode("mrow");if(oi[t.type]){var n=oi[t.type](t,r);return n}else throw new de("Got group of unknown type: '"+t.type+"'")};function au(e,t,r,n,a){var l=i0(e,r),u;l.length===1&&l[0]instanceof d0&&["mrow","mtable"].includes(l[0].type)?u=l[0]:u=new ce.MathNode("mrow",l);var c=new ce.MathNode("annotation",[new ce.TextNode(t)]);c.setAttribute("encoding","application/x-tex");var m=new ce.MathNode("semantics",[u,c]),f=new ce.MathNode("math",[m]);f.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&f.setAttribute("display","block");var g=a?"katex":"katex-mathml";return X.makeSpan([g],[f])}var lu=function(t){return new X0({style:t.displayMode?Be.DISPLAY:Be.TEXT,maxSize:t.maxSize,minRuleThickness:t.minRuleThickness})},su=function(t,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),t=X.makeSpan(n,[t])}return t},H3=function(t,r,n){var a=lu(n),l;if(n.output==="mathml")return au(t,r,a,n.displayMode,!0);if(n.output==="html"){var u=Fa(t,a);l=X.makeSpan(["katex"],[u])}else{var c=au(t,r,a,n.displayMode,!1),m=Fa(t,a);l=X.makeSpan(["katex"],[c,m])}return su(l,n)},$3=function(t,r,n){var a=lu(n),l=Fa(t,a),u=X.makeSpan(["katex"],[l]);return su(u,n)},V3={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},j3=function(t){var r=new ce.MathNode("mo",[new ce.TextNode(V3[t.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},G3={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},U3=function(t){return t.type==="ordgroup"?t.body.length:1},W3=function(t,r){function n(){var c=4e5,m=t.label.slice(1);if(["widehat","widecheck","widetilde","utilde"].includes(m)){var f=t,g=U3(f.base),b,d,p;if(g>5)m==="widehat"||m==="widecheck"?(b=420,c=2364,p=.42,d=m+"4"):(b=312,c=2340,p=.34,d="tilde4");else{var A=[1,1,2,2,3,3][g];m==="widehat"||m==="widecheck"?(c=[0,1062,2364,2364,2364][A],b=[0,239,300,360,420][A],p=[0,.24,.3,.3,.36,.42][A],d=m+A):(c=[0,600,1033,2339,2340][A],b=[0,260,286,306,312][A],p=[0,.26,.286,.3,.306,.34][A],d="tilde"+A)}var N=new pr(d),O=new Z0([N],{width:"100%",height:xe(p),viewBox:"0 0 "+c+" "+b,preserveAspectRatio:"none"});return{span:X.makeSvgSpan([],[O],r),minWidth:0,height:p}}else{var q=[],P=G3[m],[K,re,le]=P,W=le/1e3,se=K.length,ve,pe;if(se===1){var Y=P[3];ve=["hide-tail"],pe=[Y]}else if(se===2)ve=["halfarrow-left","halfarrow-right"],pe=["xMinYMin","xMaxYMin"];else if(se===3)ve=["brace-left","brace-center","brace-right"],pe=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
302
+ `+se+" children.");for(var be=0;be<se;be++){var oe=new pr(K[be]),ye=new Z0([oe],{width:"400em",height:xe(W),viewBox:"0 0 "+c+" "+le,preserveAspectRatio:pe[be]+" slice"}),ue=X.makeSvgSpan([ve[be]],[ye],r);if(se===1)return{span:ue,minWidth:re,height:W};ue.style.height=xe(W),q.push(ue)}return{span:X.makeSpan(["stretchy"],q,r),minWidth:re,height:W}}}var{span:a,minWidth:l,height:u}=n();return a.height=u,a.style.height=xe(u),l>0&&(a.style.minWidth=xe(l)),a},Y3=function(t,r,n,a,l){var u,c=t.height+t.depth+n+a;if(/fbox|color|angl/.test(r)){if(u=X.makeSpan(["stretchy",r],[],l),r==="fbox"){var m=l.color&&l.getColor();m&&(u.style.borderColor=m)}}else{var f=[];/^[bx]cancel$/.test(r)&&f.push(new Da({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&f.push(new Da({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var g=new Z0(f,{width:"100%",height:xe(c)});u=X.makeSvgSpan([],[g],l)}return u.height=c,u.style.height=xe(c),u},er={encloseSpan:Y3,mathMLnode:j3,svgSpan:W3};function Le(e,t){if(!e||e.type!==t)throw new Error("Expected node of type "+t+", but got "+(e?"node of type "+e.type:String(e)));return e}function $a(e){var t=hi(e);if(!t)throw new Error("Expected node of symbol group type, but got "+(e?"node of type "+e.type:String(e)));return t}function hi(e){return e&&(e.type==="atom"||x3.hasOwnProperty(e.type))?e:null}var Va=(e,t)=>{var r,n,a;e&&e.type==="supsub"?(n=Le(e.base,"accent"),r=n.base,e.base=r,a=y3(Ye(e,t)),e.base=n):(n=Le(e,"accent"),r=n.base);var l=Ye(r,t.havingCrampedStyle()),u=n.isShifty&&Je.isCharacterBox(r),c=0;if(u){var m=Je.getBaseElem(r),f=Ye(m,t.havingCrampedStyle());c=jo(f).skew}var g=n.label==="\\c",b=g?l.height+l.depth:Math.min(l.height,t.fontMetrics().xHeight),d;if(n.isStretchy)d=er.svgSpan(n,t),d=X.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"elem",elem:d,wrapperClasses:["svg-align"],wrapperStyle:c>0?{width:"calc(100% - "+xe(2*c)+")",marginLeft:xe(2*c)}:void 0}]},t);else{var p,A;n.label==="\\vec"?(p=X.staticSvg("vec",t),A=X.svgData.vec[1]):(p=X.makeOrd({mode:n.mode,text:n.label},t,"textord"),p=jo(p),p.italic=0,A=p.width,g&&(b+=p.depth)),d=X.makeSpan(["accent-body"],[p]);var N=n.label==="\\textcircled";N&&(d.classes.push("accent-full"),b=l.height);var O=c;N||(O-=A/2),d.style.left=xe(O),n.label==="\\textcircled"&&(d.style.top=".2em"),d=X.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:-b},{type:"elem",elem:d}]},t)}var q=X.makeSpan(["mord","accent"],[d],t);return a?(a.children[0]=q,a.height=Math.max(q.height,a.height),a.classes[0]="mord",a):q},ou=(e,t)=>{var r=e.isStretchy?er.mathMLnode(e.label):new ce.MathNode("mo",[k0(e.label,e.mode)]),n=new ce.MathNode("mover",[at(e.base,t),r]);return n.setAttribute("accent","true"),n},X3=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(e=>"\\"+e).join("|"));ke({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=ui(t[0]),n=!X3.test(e.funcName),a=!n||e.funcName==="\\widehat"||e.funcName==="\\widetilde"||e.funcName==="\\widecheck";return{type:"accent",mode:e.parser.mode,label:e.funcName,isStretchy:n,isShifty:a,base:r}},htmlBuilder:Va,mathmlBuilder:ou}),ke({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 n==="math"&&(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:Va,mathmlBuilder:ou}),ke({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"accentUnder",mode:r.mode,label:n,base:a}},htmlBuilder:(e,t)=>{var r=Ye(e.base,t),n=er.svgSpan(e,t),a=e.label==="\\utilde"?.12:0,l=X.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:r}]},t);return X.makeSpan(["mord","accentunder"],[l],t)},mathmlBuilder:(e,t)=>{var r=er.mathMLnode(e.label),n=new ce.MathNode("munder",[at(e.base,t),r]);return n.setAttribute("accentunder","true"),n}});var mi=e=>{var t=new ce.MathNode("mpadded",e?[e]:[]);return t.setAttribute("width","+0.6em"),t.setAttribute("lspace","0.3em"),t};ke({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:a}=e;return{type:"xArrow",mode:n.mode,label:a,body:t[0],below:r[0]}},htmlBuilder(e,t){var r=t.style,n=t.havingStyle(r.sup()),a=X.wrapFragment(Ye(e.body,n,t),t),l=e.label.slice(0,2)==="\\x"?"x":"cd";a.classes.push(l+"-arrow-pad");var u;e.below&&(n=t.havingStyle(r.sub()),u=X.wrapFragment(Ye(e.below,n,t),t),u.classes.push(l+"-arrow-pad"));var c=er.svgSpan(e,t),m=-t.fontMetrics().axisHeight+.5*c.height,f=-t.fontMetrics().axisHeight-.5*c.height-.111;(a.depth>.25||e.label==="\\xleftequilibrium")&&(f-=a.depth);var g;if(u){var b=-t.fontMetrics().axisHeight+u.height+.5*c.height+.111;g=X.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:f},{type:"elem",elem:c,shift:m},{type:"elem",elem:u,shift:b}]},t)}else g=X.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:f},{type:"elem",elem:c,shift:m}]},t);return g.children[0].children[0].children[1].classes.push("svg-align"),X.makeSpan(["mrel","x-arrow"],[g],t)},mathmlBuilder(e,t){var r=er.mathMLnode(e.label);r.setAttribute("minsize",e.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(e.body){var a=mi(at(e.body,t));if(e.below){var l=mi(at(e.below,t));n=new ce.MathNode("munderover",[r,l,a])}else n=new ce.MathNode("mover",[r,a])}else if(e.below){var u=mi(at(e.below,t));n=new ce.MathNode("munder",[r,u])}else n=mi(),n=new ce.MathNode("mover",[r,n]);return n}});var Z3=X.makeSpan;function uu(e,t){var r=It(e.body,t,!0);return Z3([e.mclass],r,t)}function cu(e,t){var r,n=i0(e.body,t);return e.mclass==="minner"?r=new ce.MathNode("mpadded",n):e.mclass==="mord"?e.isCharacterBox?(r=n[0],r.type="mi"):r=new ce.MathNode("mi",n):(e.isCharacterBox?(r=n[0],r.type="mo"):r=new ce.MathNode("mo",n),e.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):e.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):e.mclass==="mopen"||e.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):e.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}ke({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:zt(a),isCharacterBox:Je.isCharacterBox(a)}},htmlBuilder:uu,mathmlBuilder:cu});var di=e=>{var t=e.type==="ordgroup"&&e.body.length?e.body[0]:e;return t.type==="atom"&&(t.family==="bin"||t.family==="rel")?"m"+t.family:"mord"};ke({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(e,t){var{parser:r}=e;return{type:"mclass",mode:r.mode,mclass:di(t[0]),body:zt(t[1]),isCharacterBox:Je.isCharacterBox(t[1])}}}),ke({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(e,t){var{parser:r,funcName:n}=e,a=t[1],l=t[0],u;n!=="\\stackrel"?u=di(a):u="mrel";var c={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:zt(a)},m={type:"supsub",mode:l.mode,base:c,sup:n==="\\underset"?null:l,sub:n==="\\underset"?l:null};return{type:"mclass",mode:r.mode,mclass:u,body:[m],isCharacterBox:Je.isCharacterBox(m)}},htmlBuilder:uu,mathmlBuilder:cu}),ke({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:r}=e;return{type:"pmb",mode:r.mode,mclass:di(t[0]),body:zt(t[0])}},htmlBuilder(e,t){var r=It(e.body,t,!0),n=X.makeSpan([e.mclass],r,t);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(e,t){var r=i0(e.body,t),n=new ce.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var K3={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},hu=()=>({type:"styling",body:[],mode:"math",style:"display"}),mu=e=>e.type==="textord"&&e.text==="@",J3=(e,t)=>(e.type==="mathord"||e.type==="atom")&&e.text===t;function Q3(e,t,r){var n=K3[e];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[t[0]],[t[1]]);case"\\uparrow":case"\\downarrow":{var a=r.callFunction("\\\\cdleft",[t[0]],[]),l={type:"atom",text:n,mode:"math",family:"rel"},u=r.callFunction("\\Big",[l],[]),c=r.callFunction("\\\\cdright",[t[1]],[]),m={type:"ordgroup",mode:"math",body:[a,u,c]};return r.callFunction("\\\\cdparent",[m],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var f={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[f],[])}default:return{type:"textord",text:" ",mode:"math"}}}function e6(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(r==="\\end"){t[t.length-1].length===0&&t.pop();break}else throw new de("Expected \\\\ or \\cr or \\end",e.nextToken)}for(var n=[],a=[n],l=0;l<t.length;l++){for(var u=t[l],c=hu(),m=0;m<u.length;m++)if(!mu(u[m]))c.body.push(u[m]);else{n.push(c),m+=1;var f=$a(u[m]).text,g=new Array(2);if(g[0]={type:"ordgroup",mode:"math",body:[]},g[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(f)>-1))if("<>AV".indexOf(f)>-1)for(var b=0;b<2;b++){for(var d=!0,p=m+1;p<u.length;p++){if(J3(u[p],f)){d=!1,m=p;break}if(mu(u[p]))throw new de("Missing a "+f+" character to complete a CD arrow.",u[p]);g[b].body.push(u[p])}if(d)throw new de("Missing a "+f+" character to complete a CD arrow.",u[m])}else throw new de('Expected one of "<>AV=|." after @',u[m]);var A=Q3(f,g,e),N={type:"styling",body:[A],mode:"math",style:"display"};n.push(N),c=hu()}l%2===0?n.push(c):n.shift(),n=[],a.push(n)}e.gullet.endGroup(),e.gullet.endGroup();var O=new Array(a[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:a,arraystretch:1,addJot:!0,rowGaps:[null],cols:O,colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}ke({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=X.wrapFragment(Ye(e.label,r,t),t);return n.classes.push("cd-label-"+e.side),n.style.bottom=xe(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(e,t){var r=new ce.MathNode("mrow",[at(e.label,t)]);return r=new ce.MathNode("mpadded",[r]),r.setAttribute("width","0"),e.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new ce.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}}),ke({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=X.wrapFragment(Ye(e.fragment,t),t);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(e,t){return new ce.MathNode("mrow",[at(e.fragment,t)])}}),ke({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(e,t){for(var{parser:r}=e,n=Le(t[0],"ordgroup"),a=n.body,l="",u=0;u<a.length;u++){var c=Le(a[u],"textord");l+=c.text}var m=parseInt(l),f;if(isNaN(m))throw new de("\\@char has non-numeric argument "+l);if(m<0||m>=1114111)throw new de("\\@char with invalid code point "+l);return m<=65535?f=String.fromCharCode(m):(m-=65536,f=String.fromCharCode((m>>10)+55296,(m&1023)+56320)),{type:"textord",mode:r.mode,text:f}}});var du=(e,t)=>{var r=It(e.body,t.withColor(e.color),!1);return X.makeFragment(r)},pu=(e,t)=>{var r=i0(e.body,t.withColor(e.color)),n=new ce.MathNode("mstyle",r);return n.setAttribute("mathcolor",e.color),n};ke({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(e,t){var{parser:r}=e,n=Le(t[0],"color-token").color,a=t[1];return{type:"color",mode:r.mode,color:n,body:zt(a)}},htmlBuilder:du,mathmlBuilder:pu}),ke({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(e,t){var{parser:r,breakOnTokenText:n}=e,a=Le(t[0],"color-token").color;r.gullet.macros.set("\\current@color",a);var l=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:a,body:l}},htmlBuilder:du,mathmlBuilder:pu}),ke({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,r){var{parser:n}=e,a=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,l=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:l,size:a&&Le(a,"size").value}},htmlBuilder(e,t){var r=X.makeSpan(["mspace"],[],t);return e.newLine&&(r.classes.push("newline"),e.size&&(r.style.marginTop=xe(bt(e.size,t)))),r},mathmlBuilder(e,t){var r=new ce.MathNode("mspace");return e.newLine&&(r.setAttribute("linebreak","newline"),e.size&&r.setAttribute("height",xe(bt(e.size,t)))),r}});var ja={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},fu=e=>{var t=e.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(t))throw new de("Expected a control sequence",e);return t},t6=e=>{var t=e.gullet.popToken();return t.text==="="&&(t=e.gullet.popToken(),t.text===" "&&(t=e.gullet.popToken())),t},gu=(e,t,r,n)=>{var a=e.gullet.macros.get(r.text);a==null&&(r.noexpand=!0,a={tokens:[r],numArgs:0,unexpandable:!e.gullet.isExpandable(r.text)}),e.gullet.macros.set(t,a,n)};ke({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(ja[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=ja[n.text]),Le(t.parseFunction(),"internal");throw new de("Invalid token after macro prefix",n)}}),ke({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=t.gullet.popToken(),a=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new de("Expected a control sequence",n);for(var l=0,u,c=[[]];t.gullet.future().text!=="{";)if(n=t.gullet.popToken(),n.text==="#"){if(t.gullet.future().text==="{"){u=t.gullet.future(),c[l].push("{");break}if(n=t.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new de('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==l+1)throw new de('Argument number "'+n.text+'" out of order');l++,c.push([])}else{if(n.text==="EOF")throw new de("Expected a macro definition");c[l].push(n.text)}var{tokens:m}=t.gullet.consumeArg();return u&&m.unshift(u),(r==="\\edef"||r==="\\xdef")&&(m=t.gullet.expandTokens(m),m.reverse()),t.gullet.macros.set(a,{tokens:m,numArgs:l,delimiters:c},r===ja[r]),{type:"internal",mode:t.mode}}}),ke({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=fu(t.gullet.popToken());t.gullet.consumeSpaces();var a=t6(t);return gu(t,n,a,r==="\\\\globallet"),{type:"internal",mode:t.mode}}}),ke({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:r}=e,n=fu(t.gullet.popToken()),a=t.gullet.popToken(),l=t.gullet.popToken();return gu(t,n,l,r==="\\\\globalfuture"),t.gullet.pushToken(l),t.gullet.pushToken(a),{type:"internal",mode:t.mode}}});var wn=function(t,r,n){var a=ct.math[t]&&ct.math[t].replace,l=za(a||t,r,n);if(!l)throw new Error("Unsupported symbol "+t+" and font size "+r+".");return l},Ga=function(t,r,n,a){var l=n.havingBaseStyle(r),u=X.makeSpan(a.concat(l.sizingClasses(n)),[t],n),c=l.sizeMultiplier/n.sizeMultiplier;return u.height*=c,u.depth*=c,u.maxFontSize=l.sizeMultiplier,u},yu=function(t,r,n){var a=r.havingBaseStyle(n),l=(1-r.sizeMultiplier/a.sizeMultiplier)*r.fontMetrics().axisHeight;t.classes.push("delimcenter"),t.style.top=xe(l),t.height-=l,t.depth+=l},r6=function(t,r,n,a,l,u){var c=X.makeSymbol(t,"Main-Regular",l,a),m=Ga(c,r,a,u);return n&&yu(m,a,r),m},n6=function(t,r,n,a){return X.makeSymbol(t,"Size"+r+"-Regular",n,a)},bu=function(t,r,n,a,l,u){var c=n6(t,r,l,a),m=Ga(X.makeSpan(["delimsizing","size"+r],[c],a),Be.TEXT,a,u);return n&&yu(m,a,Be.TEXT),m},Ua=function(t,r,n){var a;r==="Size1-Regular"?a="delim-size1":a="delim-size4";var l=X.makeSpan(["delimsizinginner",a],[X.makeSpan([],[X.makeSymbol(t,r,n)])]);return{type:"elem",elem:l}},Wa=function(t,r,n){var a=I0["Size4-Regular"][t.charCodeAt(0)]?I0["Size4-Regular"][t.charCodeAt(0)][4]:I0["Size1-Regular"][t.charCodeAt(0)][4],l=new pr("inner",o3(t,Math.round(1e3*r))),u=new Z0([l],{width:xe(a),height:xe(r),style:"width:"+xe(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),c=X.makeSvgSpan([],[u],n);return c.height=r,c.style.height=xe(r),c.style.width=xe(a),{type:"elem",elem:c}},Ya=.008,pi={type:"kern",size:-1*Ya},i6=["|","\\lvert","\\rvert","\\vert"],a6=["\\|","\\lVert","\\rVert","\\Vert"],xu=function(t,r,n,a,l,u){var c,m,f,g,b="",d=0;c=f=g=t,m=null;var p="Size1-Regular";t==="\\uparrow"?f=g="⏐":t==="\\Uparrow"?f=g="‖":t==="\\downarrow"?c=f="⏐":t==="\\Downarrow"?c=f="‖":t==="\\updownarrow"?(c="\\uparrow",f="⏐",g="\\downarrow"):t==="\\Updownarrow"?(c="\\Uparrow",f="‖",g="\\Downarrow"):i6.includes(t)?(f="∣",b="vert",d=333):a6.includes(t)?(f="∥",b="doublevert",d=556):t==="["||t==="\\lbrack"?(c="⎡",f="⎢",g="⎣",p="Size4-Regular",b="lbrack",d=667):t==="]"||t==="\\rbrack"?(c="⎤",f="⎥",g="⎦",p="Size4-Regular",b="rbrack",d=667):t==="\\lfloor"||t==="⌊"?(f=c="⎢",g="⎣",p="Size4-Regular",b="lfloor",d=667):t==="\\lceil"||t==="⌈"?(c="⎡",f=g="⎢",p="Size4-Regular",b="lceil",d=667):t==="\\rfloor"||t==="⌋"?(f=c="⎥",g="⎦",p="Size4-Regular",b="rfloor",d=667):t==="\\rceil"||t==="⌉"?(c="⎤",f=g="⎥",p="Size4-Regular",b="rceil",d=667):t==="("||t==="\\lparen"?(c="⎛",f="⎜",g="⎝",p="Size4-Regular",b="lparen",d=875):t===")"||t==="\\rparen"?(c="⎞",f="⎟",g="⎠",p="Size4-Regular",b="rparen",d=875):t==="\\{"||t==="\\lbrace"?(c="⎧",m="⎨",g="⎩",f="⎪",p="Size4-Regular"):t==="\\}"||t==="\\rbrace"?(c="⎫",m="⎬",g="⎭",f="⎪",p="Size4-Regular"):t==="\\lgroup"||t==="⟮"?(c="⎧",g="⎩",f="⎪",p="Size4-Regular"):t==="\\rgroup"||t==="⟯"?(c="⎫",g="⎭",f="⎪",p="Size4-Regular"):t==="\\lmoustache"||t==="⎰"?(c="⎧",g="⎭",f="⎪",p="Size4-Regular"):(t==="\\rmoustache"||t==="⎱")&&(c="⎫",g="⎩",f="⎪",p="Size4-Regular");var A=wn(c,p,l),N=A.height+A.depth,O=wn(f,p,l),q=O.height+O.depth,P=wn(g,p,l),K=P.height+P.depth,re=0,le=1;if(m!==null){var W=wn(m,p,l);re=W.height+W.depth,le=2}var se=N+K+re,ve=Math.max(0,Math.ceil((r-se)/(le*q))),pe=se+ve*le*q,Y=a.fontMetrics().axisHeight;n&&(Y*=a.sizeMultiplier);var be=pe/2-Y,oe=[];if(b.length>0){var ye=pe-N-K,ue=Math.round(pe*1e3),Me=u3(b,Math.round(ye*1e3)),$e=new pr(b,Me),Qe=(d/1e3).toFixed(3)+"em",ht=(ue/1e3).toFixed(3)+"em",qt=new Z0([$e],{width:Qe,height:ht,viewBox:"0 0 "+d+" "+ue}),R=X.makeSvgSpan([],[qt],a);R.height=ue/1e3,R.style.width=Qe,R.style.height=ht,oe.push({type:"elem",elem:R})}else{if(oe.push(Ua(g,p,l)),oe.push(pi),m===null){var lt=pe-N-K+2*Ya;oe.push(Wa(f,lt,a))}else{var st=(pe-N-K-re)/2+2*Ya;oe.push(Wa(f,st,a)),oe.push(pi),oe.push(Ua(m,p,l)),oe.push(pi),oe.push(Wa(f,st,a))}oe.push(pi),oe.push(Ua(c,p,l))}var $=a.havingBaseStyle(Be.TEXT),Dt=X.makeVList({positionType:"bottom",positionData:be,children:oe},$);return Ga(X.makeSpan(["delimsizing","mult"],[Dt],$),Be.TEXT,a,u)},Xa=80,Za=.08,Ka=function(t,r,n,a,l){var u=s3(t,a,n),c=new pr(t,u),m=new Z0([c],{width:"400em",height:xe(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return X.makeSvgSpan(["hide-tail"],[m],l)},l6=function(t,r){var n=r.havingBaseSizing(),a=Su("\\surd",t*n.sizeMultiplier,ku,n),l=n.sizeMultiplier,u=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),c,m=0,f=0,g=0,b;return a.type==="small"?(g=1e3+1e3*u+Xa,t<1?l=1:t<1.4&&(l=.7),m=(1+u+Za)/l,f=(1+u)/l,c=Ka("sqrtMain",m,g,u,r),c.style.minWidth="0.853em",b=.833/l):a.type==="large"?(g=(1e3+Xa)*kn[a.size],f=(kn[a.size]+u)/l,m=(kn[a.size]+u+Za)/l,c=Ka("sqrtSize"+a.size,m,g,u,r),c.style.minWidth="1.02em",b=1/l):(m=t+u+Za,f=t+u,g=Math.floor(1e3*t+u)+Xa,c=Ka("sqrtTall",m,g,u,r),c.style.minWidth="0.742em",b=1.056),c.height=f,c.style.height=xe(m),{span:c,advanceWidth:b,ruleWidth:(r.fontMetrics().sqrtRuleThickness+u)*l}},vu=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],s6=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],wu=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],kn=[0,1.2,1.8,2.4,3],o6=function(t,r,n,a,l){if(t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle"),vu.includes(t)||wu.includes(t))return bu(t,r,!1,n,a,l);if(s6.includes(t))return xu(t,kn[r],!1,n,a,l);throw new de("Illegal delimiter: '"+t+"'")},u6=[{type:"small",style:Be.SCRIPTSCRIPT},{type:"small",style:Be.SCRIPT},{type:"small",style:Be.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],c6=[{type:"small",style:Be.SCRIPTSCRIPT},{type:"small",style:Be.SCRIPT},{type:"small",style:Be.TEXT},{type:"stack"}],ku=[{type:"small",style:Be.SCRIPTSCRIPT},{type:"small",style:Be.SCRIPT},{type:"small",style:Be.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],h6=function(t){if(t.type==="small")return"Main-Regular";if(t.type==="large")return"Size"+t.size+"-Regular";if(t.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+t.type+"' here.")},Su=function(t,r,n,a){for(var l=Math.min(2,3-a.style.size),u=l;u<n.length&&n[u].type!=="stack";u++){var c=wn(t,h6(n[u]),"math"),m=c.height+c.depth;if(n[u].type==="small"){var f=a.havingBaseStyle(n[u].style);m*=f.sizeMultiplier}if(m>r)return n[u]}return n[n.length-1]},Mu=function(t,r,n,a,l,u){t==="<"||t==="\\lt"||t==="⟨"?t="\\langle":(t===">"||t==="\\gt"||t==="⟩")&&(t="\\rangle");var c;wu.includes(t)?c=u6:vu.includes(t)?c=ku:c=c6;var m=Su(t,r,c,a);return m.type==="small"?r6(t,m.style,n,a,l,u):m.type==="large"?bu(t,m.size,n,a,l,u):xu(t,r,n,a,l,u)},m6=function(t,r,n,a,l,u){var c=a.fontMetrics().axisHeight*a.sizeMultiplier,m=901,f=5/a.fontMetrics().ptPerEm,g=Math.max(r-c,n+c),b=Math.max(g/500*m,2*g-f);return Mu(t,b,!0,a,l,u)},tr={sqrtImage:l6,sizedDelim:o6,sizeToMaxHeight:kn,customSizedDelim:Mu,leftRightDelim:m6},Au={"\\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}},d6=["(","\\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 fi(e,t){var r=hi(e);if(r&&d6.includes(r.text))return r;throw r?new de("Invalid delimiter '"+r.text+"' after '"+t.funcName+"'",e):new de("Invalid delimiter type '"+e.type+"'",e)}ke({type:"delimsizing",names:["\\bigl","\\Bigl","\\biggl","\\Biggl","\\bigr","\\Bigr","\\biggr","\\Biggr","\\bigm","\\Bigm","\\biggm","\\Biggm","\\big","\\Big","\\bigg","\\Bigg"],props:{numArgs:1,argTypes:["primitive"]},handler:(e,t)=>{var r=fi(t[0],e);return{type:"delimsizing",mode:e.parser.mode,size:Au[e.funcName].size,mclass:Au[e.funcName].mclass,delim:r.text}},htmlBuilder:(e,t)=>e.delim==="."?X.makeSpan([e.mclass]):tr.sizedDelim(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!=="."&&t.push(k0(e.delim,e.mode));var r=new ce.MathNode("mo",t);e.mclass==="mopen"||e.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=xe(tr.sizeToMaxHeight[e.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function zu(e){if(!e.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}ke({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=e.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new de("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:e.parser.mode,delim:fi(t[0],e).text,color:r}}}),ke({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=fi(t[0],e),n=e.parser;++n.leftrightDepth;var a=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var l=Le(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:a,left:r.text,right:l.delim,rightColor:l.color}},htmlBuilder:(e,t)=>{zu(e);for(var r=It(e.body,t,!0,["mopen","mclose"]),n=0,a=0,l=!1,u=0;u<r.length;u++)r[u].isMiddle?l=!0:(n=Math.max(r[u].height,n),a=Math.max(r[u].depth,a));n*=t.sizeMultiplier,a*=t.sizeMultiplier;var c;if(e.left==="."?c=vn(t,["mopen"]):c=tr.leftRightDelim(e.left,n,a,t,e.mode,["mopen"]),r.unshift(c),l)for(var m=1;m<r.length;m++){var f=r[m],g=f.isMiddle;g&&(r[m]=tr.leftRightDelim(g.delim,n,a,g.options,e.mode,[]))}var b;if(e.right===".")b=vn(t,["mclose"]);else{var d=e.rightColor?t.withColor(e.rightColor):t;b=tr.leftRightDelim(e.right,n,a,d,e.mode,["mclose"])}return r.push(b),X.makeSpan(["minner"],r,t)},mathmlBuilder:(e,t)=>{zu(e);var r=i0(e.body,t);if(e.left!=="."){var n=new ce.MathNode("mo",[k0(e.left,e.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(e.right!=="."){var a=new ce.MathNode("mo",[k0(e.right,e.mode)]);a.setAttribute("fence","true"),e.rightColor&&a.setAttribute("mathcolor",e.rightColor),r.push(a)}return La(r)}}),ke({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var r=fi(t[0],e);if(!e.parser.leftrightDepth)throw new de("\\middle without preceding \\left",r);return{type:"middle",mode:e.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var r;if(e.delim===".")r=vn(t,[]);else{r=tr.sizedDelim(e.delim,1,t,e.mode,[]);var n={delim:e.delim,options:t};r.isMiddle=n}return r},mathmlBuilder:(e,t)=>{var r=e.delim==="\\vert"||e.delim==="|"?k0("|","text"):k0(e.delim,e.mode),n=new ce.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var Ja=(e,t)=>{var r=X.wrapFragment(Ye(e.body,t),t),n=e.label.slice(1),a=t.sizeMultiplier,l,u=0,c=Je.isCharacterBox(e.body);if(n==="sout")l=X.makeSpan(["stretchy","sout"]),l.height=t.fontMetrics().defaultRuleThickness/a,u=-.5*t.fontMetrics().xHeight;else if(n==="phase"){var m=bt({number:.6,unit:"pt"},t),f=bt({number:.35,unit:"ex"},t),g=t.havingBaseSizing();a=a/g.sizeMultiplier;var b=r.height+r.depth+m+f;r.style.paddingLeft=xe(b/2+m);var d=Math.floor(1e3*b*a),p=a3(d),A=new Z0([new pr("phase",p)],{width:"400em",height:xe(d/1e3),viewBox:"0 0 400000 "+d,preserveAspectRatio:"xMinYMin slice"});l=X.makeSvgSpan(["hide-tail"],[A],t),l.style.height=xe(b),u=r.depth+m+f}else{/cancel/.test(n)?c||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var N=0,O=0,q=0;/box/.test(n)?(q=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),N=t.fontMetrics().fboxsep+(n==="colorbox"?0:q),O=N):n==="angl"?(q=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),N=4*q,O=Math.max(0,.25-r.depth)):(N=c?.2:0,O=N),l=er.encloseSpan(r,n,N,O,t),/fbox|boxed|fcolorbox/.test(n)?(l.style.borderStyle="solid",l.style.borderWidth=xe(q)):n==="angl"&&q!==.049&&(l.style.borderTopWidth=xe(q),l.style.borderRightWidth=xe(q)),u=r.depth+O,e.backgroundColor&&(l.style.backgroundColor=e.backgroundColor,e.borderColor&&(l.style.borderColor=e.borderColor))}var P;if(e.backgroundColor)P=X.makeVList({positionType:"individualShift",children:[{type:"elem",elem:l,shift:u},{type:"elem",elem:r,shift:0}]},t);else{var K=/cancel|phase/.test(n)?["svg-align"]:[];P=X.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:l,shift:u,wrapperClasses:K}]},t)}return/cancel/.test(n)&&(P.height=r.height,P.depth=r.depth),/cancel/.test(n)&&!c?X.makeSpan(["mord","cancel-lap"],[P],t):X.makeSpan(["mord"],[P],t)},Qa=(e,t)=>{var r=0,n=new ce.MathNode(e.label.indexOf("colorbox")>-1?"mpadded":"menclose",[at(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"),e.label==="\\fcolorbox"){var a=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);n.setAttribute("style","border: "+a+"em solid "+String(e.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return e.backgroundColor&&n.setAttribute("mathbackground",e.backgroundColor),n};ke({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(e,t,r){var{parser:n,funcName:a}=e,l=Le(t[0],"color-token").color,u=t[1];return{type:"enclose",mode:n.mode,label:a,backgroundColor:l,body:u}},htmlBuilder:Ja,mathmlBuilder:Qa}),ke({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(e,t,r){var{parser:n,funcName:a}=e,l=Le(t[0],"color-token").color,u=Le(t[1],"color-token").color,c=t[2];return{type:"enclose",mode:n.mode,label:a,backgroundColor:u,borderColor:l,body:c}},htmlBuilder:Ja,mathmlBuilder:Qa}),ke({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]}}}),ke({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];return{type:"enclose",mode:r.mode,label:n,body:a}},htmlBuilder:Ja,mathmlBuilder:Qa}),ke({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 Tu={};function _0(e){for(var{type:t,names:r,props:n,handler:a,htmlBuilder:l,mathmlBuilder:u}=e,c={type:t,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},m=0;m<r.length;++m)Tu[r[m]]=c;l&&(si[t]=l),u&&(oi[t]=u)}var Cu={};function D(e,t){Cu[e]=t}function Eu(e){var t=[];e.consumeSpaces();var r=e.fetch().text;for(r==="\\relax"&&(e.consume(),e.consumeSpaces(),r=e.fetch().text);r==="\\hline"||r==="\\hdashline";)e.consume(),t.push(r==="\\hdashline"),e.consumeSpaces(),r=e.fetch().text;return t}var gi=e=>{var t=e.parser.settings;if(!t.displayMode)throw new de("{"+e.envName+"} can be used only in display mode.")};function el(e){if(e.indexOf("ed")===-1)return e.indexOf("*")===-1}function yr(e,t,r){var{hskipBeforeAndAfter:n,addJot:a,cols:l,arraystretch:u,colSeparationType:c,autoTag:m,singleRow:f,emptySingleRow:g,maxNumCols:b,leqno:d}=t;if(e.gullet.beginGroup(),f||e.gullet.macros.set("\\cr","\\\\\\relax"),!u){var p=e.gullet.expandMacroAsText("\\arraystretch");if(p==null)u=1;else if(u=parseFloat(p),!u||u<0)throw new de("Invalid \\arraystretch: "+p)}e.gullet.beginGroup();var A=[],N=[A],O=[],q=[],P=m!=null?[]:void 0;function K(){m&&e.gullet.macros.set("\\@eqnsw","1",!0)}function re(){P&&(e.gullet.macros.get("\\df@tag")?(P.push(e.subparse([new h0("\\df@tag")])),e.gullet.macros.set("\\df@tag",void 0,!0)):P.push(!!m&&e.gullet.macros.get("\\@eqnsw")==="1"))}for(K(),q.push(Eu(e));;){var le=e.parseExpression(!1,f?"\\end":"\\\\");e.gullet.endGroup(),e.gullet.beginGroup(),le={type:"ordgroup",mode:e.mode,body:le},r&&(le={type:"styling",mode:e.mode,style:r,body:[le]}),A.push(le);var W=e.fetch().text;if(W==="&"){if(b&&A.length===b){if(f||c)throw new de("Too many tab characters: &",e.nextToken);e.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}e.consume()}else if(W==="\\end"){re(),A.length===1&&le.type==="styling"&&le.body[0].body.length===0&&(N.length>1||!g)&&N.pop(),q.length<N.length+1&&q.push([]);break}else if(W==="\\\\"){e.consume();var se=void 0;e.gullet.future().text!==" "&&(se=e.parseSizeGroup(!0)),O.push(se?se.value:null),re(),q.push(Eu(e)),A=[],N.push(A),K()}else throw new de("Expected & or \\\\ or \\cr or \\end",e.nextToken)}return e.gullet.endGroup(),e.gullet.endGroup(),{type:"array",mode:e.mode,addJot:a,arraystretch:u,body:N,cols:l,rowGaps:O,hskipBeforeAndAfter:n,hLinesBeforeRow:q,colSeparationType:c,tags:P,leqno:d}}function tl(e){return e.slice(0,1)==="d"?"display":"text"}var q0=function(t,r){var n,a,l=t.body.length,u=t.hLinesBeforeRow,c=0,m=new Array(l),f=[],g=Math.max(r.fontMetrics().arrayRuleWidth,r.minRuleThickness),b=1/r.fontMetrics().ptPerEm,d=5*b;if(t.colSeparationType&&t.colSeparationType==="small"){var p=r.havingStyle(Be.SCRIPT).sizeMultiplier;d=.2778*(p/r.sizeMultiplier)}var A=t.colSeparationType==="CD"?bt({number:3,unit:"ex"},r):12*b,N=3*b,O=t.arraystretch*A,q=.7*O,P=.3*O,K=0;function re(a0){for(var Kt=0;Kt<a0.length;++Kt)Kt>0&&(K+=.25),f.push({pos:K,isDashed:a0[Kt]})}for(re(u[0]),n=0;n<t.body.length;++n){var le=t.body[n],W=q,se=P;c<le.length&&(c=le.length);var ve=new Array(le.length);for(a=0;a<le.length;++a){var pe=Ye(le[a],r);se<pe.depth&&(se=pe.depth),W<pe.height&&(W=pe.height),ve[a]=pe}var Y=t.rowGaps[n],be=0;Y&&(be=bt(Y,r),be>0&&(be+=P,se<be&&(se=be),be=0)),t.addJot&&(se+=N),ve.height=W,ve.depth=se,K+=W,ve.pos=K,K+=se+be,m[n]=ve,re(u[n+1])}var oe=K/2+r.fontMetrics().axisHeight,ye=t.cols||[],ue=[],Me,$e,Qe=[];if(t.tags&&t.tags.some(a0=>a0))for(n=0;n<l;++n){var ht=m[n],qt=ht.pos-oe,R=t.tags[n],lt=void 0;R===!0?lt=X.makeSpan(["eqn-num"],[],r):R===!1?lt=X.makeSpan([],[],r):lt=X.makeSpan([],It(R,r,!0),r),lt.depth=ht.depth,lt.height=ht.height,Qe.push({type:"elem",elem:lt,shift:qt})}for(a=0,$e=0;a<c||$e<ye.length;++a,++$e){for(var st=ye[$e]||{},$=!0;st.type==="separator";){if($||(Me=X.makeSpan(["arraycolsep"],[]),Me.style.width=xe(r.fontMetrics().doubleRuleSep),ue.push(Me)),st.separator==="|"||st.separator===":"){var Dt=st.separator==="|"?"solid":"dashed",vt=X.makeSpan(["vertical-separator"],[],r);vt.style.height=xe(K),vt.style.borderRightWidth=xe(g),vt.style.borderRightStyle=Dt,vt.style.margin="0 "+xe(-g/2);var mt=K-oe;mt&&(vt.style.verticalAlign=xe(-mt)),ue.push(vt)}else throw new de("Invalid separator type: "+st.separator);$e++,st=ye[$e]||{},$=!1}if(!(a>=c)){var Ot=void 0;(a>0||t.hskipBeforeAndAfter)&&(Ot=Je.deflt(st.pregap,d),Ot!==0&&(Me=X.makeSpan(["arraycolsep"],[]),Me.style.width=xe(Ot),ue.push(Me)));var Mt=[];for(n=0;n<l;++n){var Pt=m[n],Ft=Pt[a];if(Ft){var L0=Pt.pos-oe;Ft.depth=Pt.depth,Ft.height=Pt.height,Mt.push({type:"elem",elem:Ft,shift:L0})}}Mt=X.makeVList({positionType:"individualShift",children:Mt},r),Mt=X.makeSpan(["col-align-"+(st.align||"c")],[Mt]),ue.push(Mt),(a<c-1||t.hskipBeforeAndAfter)&&(Ot=Je.deflt(st.postgap,d),Ot!==0&&(Me=X.makeSpan(["arraycolsep"],[]),Me.style.width=xe(Ot),ue.push(Me)))}}if(m=X.makeSpan(["mtable"],ue),f.length>0){for(var xr=X.makeLineSpan("hline",r,g),Nr=X.makeLineSpan("hdashline",r,g),nr=[{type:"elem",elem:m,shift:0}];f.length>0;){var p0=f.pop(),f0=p0.pos-oe;p0.isDashed?nr.push({type:"elem",elem:Nr,shift:f0}):nr.push({type:"elem",elem:xr,shift:f0})}m=X.makeVList({positionType:"individualShift",children:nr},r)}if(Qe.length===0)return X.makeSpan(["mord"],[m],r);var Bt=X.makeVList({positionType:"individualShift",children:Qe},r);return Bt=X.makeSpan(["tag"],[Bt],r),X.makeFragment([m,Bt])},p6={c:"center ",l:"left ",r:"right "},O0=function(t,r){for(var n=[],a=new ce.MathNode("mtd",[],["mtr-glue"]),l=new ce.MathNode("mtd",[],["mml-eqn-num"]),u=0;u<t.body.length;u++){for(var c=t.body[u],m=[],f=0;f<c.length;f++)m.push(new ce.MathNode("mtd",[at(c[f],r)]));t.tags&&t.tags[u]&&(m.unshift(a),m.push(a),t.leqno?m.unshift(l):m.push(l)),n.push(new ce.MathNode("mtr",m))}var g=new ce.MathNode("mtable",n),b=t.arraystretch===.5?.1:.16+t.arraystretch-1+(t.addJot?.09:0);g.setAttribute("rowspacing",xe(b));var d="",p="";if(t.cols&&t.cols.length>0){var A=t.cols,N="",O=!1,q=0,P=A.length;A[0].type==="separator"&&(d+="top ",q=1),A[A.length-1].type==="separator"&&(d+="bottom ",P-=1);for(var K=q;K<P;K++)A[K].type==="align"?(p+=p6[A[K].align],O&&(N+="none "),O=!0):A[K].type==="separator"&&O&&(N+=A[K].separator==="|"?"solid ":"dashed ",O=!1);g.setAttribute("columnalign",p.trim()),/[sd]/.test(N)&&g.setAttribute("columnlines",N.trim())}if(t.colSeparationType==="align"){for(var re=t.cols||[],le="",W=1;W<re.length;W++)le+=W%2?"0em ":"1em ";g.setAttribute("columnspacing",le.trim())}else t.colSeparationType==="alignat"||t.colSeparationType==="gather"?g.setAttribute("columnspacing","0em"):t.colSeparationType==="small"?g.setAttribute("columnspacing","0.2778em"):t.colSeparationType==="CD"?g.setAttribute("columnspacing","0.5em"):g.setAttribute("columnspacing","1em");var se="",ve=t.hLinesBeforeRow;d+=ve[0].length>0?"left ":"",d+=ve[ve.length-1].length>0?"right ":"";for(var pe=1;pe<ve.length-1;pe++)se+=ve[pe].length===0?"none ":ve[pe][0]?"dashed ":"solid ";return/[sd]/.test(se)&&g.setAttribute("rowlines",se.trim()),d!==""&&(g=new ce.MathNode("menclose",[g]),g.setAttribute("notation",d.trim())),t.arraystretch&&t.arraystretch<1&&(g=new ce.MathNode("mstyle",[g]),g.setAttribute("scriptlevel","1")),g},Du=function(t,r){t.envName.indexOf("ed")===-1&&gi(t);var n=[],a=t.envName.indexOf("at")>-1?"alignat":"align",l=t.envName==="split",u=yr(t.parser,{cols:n,addJot:!0,autoTag:l?void 0:el(t.envName),emptySingleRow:!0,colSeparationType:a,maxNumCols:l?2:void 0,leqno:t.parser.settings.leqno},"display"),c,m=0,f={type:"ordgroup",mode:t.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var g="",b=0;b<r[0].body.length;b++){var d=Le(r[0].body[b],"textord");g+=d.text}c=Number(g),m=c*2}var p=!m;u.body.forEach(function(q){for(var P=1;P<q.length;P+=2){var K=Le(q[P],"styling"),re=Le(K.body[0],"ordgroup");re.body.unshift(f)}if(p)m<q.length&&(m=q.length);else{var le=q.length/2;if(c<le)throw new de("Too many math in a row: "+("expected "+c+", but got "+le),q[0])}});for(var A=0;A<m;++A){var N="r",O=0;A%2===1?N="l":A>0&&p&&(O=1),n[A]={type:"align",align:N,pregap:O,postgap:0}}return u.colSeparationType=p?"align":"alignat",u};_0({type:"array",names:["array","darray"],props:{numArgs:1},handler(e,t){var r=hi(t[0]),n=r?[t[0]]:Le(t[0],"ordgroup").body,a=n.map(function(u){var c=$a(u),m=c.text;if("lcr".indexOf(m)!==-1)return{type:"align",align:m};if(m==="|")return{type:"separator",separator:"|"};if(m===":")return{type:"separator",separator:":"};throw new de("Unknown column alignment: "+m,u)}),l={cols:a,hskipBeforeAndAfter:!0,maxNumCols:a.length};return yr(e.parser,l,tl(e.envName))},htmlBuilder:q0,mathmlBuilder:O0}),_0({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 a=e.parser;if(a.consumeSpaces(),a.fetch().text==="["){if(a.consume(),a.consumeSpaces(),r=a.fetch().text,"lcr".indexOf(r)===-1)throw new de("Expected l or c or r",a.nextToken);a.consume(),a.consumeSpaces(),a.expect("]"),a.consume(),n.cols=[{type:"align",align:r}]}}var l=yr(e.parser,n,tl(e.envName)),u=Math.max(0,...l.body.map(c=>c.length));return l.cols=new Array(u).fill({type:"align",align:r}),t?{type:"leftright",mode:e.mode,body:[l],left:t[0],right:t[1],rightColor:void 0}:l},htmlBuilder:q0,mathmlBuilder:O0}),_0({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(e){var t={arraystretch:.5},r=yr(e.parser,t,"script");return r.colSeparationType="small",r},htmlBuilder:q0,mathmlBuilder:O0}),_0({type:"array",names:["subarray"],props:{numArgs:1},handler(e,t){var r=hi(t[0]),n=r?[t[0]]:Le(t[0],"ordgroup").body,a=n.map(function(u){var c=$a(u),m=c.text;if("lc".indexOf(m)!==-1)return{type:"align",align:m};throw new de("Unknown column alignment: "+m,u)});if(a.length>1)throw new de("{subarray} can contain only one column");var l={cols:a,hskipBeforeAndAfter:!1,arraystretch:.5};if(l=yr(e.parser,l,"script"),l.body.length>0&&l.body[0].length>1)throw new de("{subarray} can contain only one column");return l},htmlBuilder:q0,mathmlBuilder:O0}),_0({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(e){var t={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=yr(e.parser,t,tl(e.envName));return{type:"leftright",mode:e.mode,body:[r],left:e.envName.indexOf("r")>-1?".":"\\{",right:e.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:q0,mathmlBuilder:O0}),_0({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Du,htmlBuilder:q0,mathmlBuilder:O0}),_0({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(e){["gather","gather*"].includes(e.envName)&&gi(e);var t={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:el(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return yr(e.parser,t,"display")},htmlBuilder:q0,mathmlBuilder:O0}),_0({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Du,htmlBuilder:q0,mathmlBuilder:O0}),_0({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(e){gi(e);var t={autoTag:el(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return yr(e.parser,t,"display")},htmlBuilder:q0,mathmlBuilder:O0}),_0({type:"array",names:["CD"],props:{numArgs:0},handler(e){return gi(e),e6(e.parser)},htmlBuilder:q0,mathmlBuilder:O0}),D("\\nonumber","\\gdef\\@eqnsw{0}"),D("\\notag","\\nonumber"),ke({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(e,t){throw new de(e.funcName+" valid only within array environment")}});var Bu=Tu;ke({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(e,t){var{parser:r,funcName:n}=e,a=t[0];if(a.type!=="ordgroup")throw new de("Invalid environment name",a);for(var l="",u=0;u<a.body.length;++u)l+=Le(a.body[u],"textord").text;if(n==="\\begin"){if(!Bu.hasOwnProperty(l))throw new de("No such environment: "+l,a);var c=Bu[l],{args:m,optArgs:f}=r.parseArguments("\\begin{"+l+"}",c),g={mode:r.mode,envName:l,parser:r},b=c.handler(g,m,f);r.expect("\\end",!1);var d=r.nextToken,p=Le(r.parseFunction(),"environment");if(p.name!==l)throw new de("Mismatch: \\begin{"+l+"} matched by \\end{"+p.name+"}",d);return b}return{type:"environment",mode:r.mode,name:l,nameGroup:a}}});var Nu=(e,t)=>{var r=e.font,n=t.withFont(r);return Ye(e.body,n)},Iu=(e,t)=>{var r=e.font,n=t.withFont(r);return at(e.body,n)},Ru={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};ke({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,a=ui(t[0]),l=n;return l in Ru&&(l=Ru[l]),{type:"font",mode:r.mode,font:l.slice(1),body:a}},htmlBuilder:Nu,mathmlBuilder:Iu}),ke({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(e,t)=>{var{parser:r}=e,n=t[0],a=Je.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:di(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:a}}}),ke({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,breakOnTokenText:a}=e,{mode:l}=r,u=r.parseExpression(!0,a),c="math"+n.slice(1);return{type:"font",mode:l,font:c,body:{type:"ordgroup",mode:r.mode,body:u}}},htmlBuilder:Nu,mathmlBuilder:Iu});var _u=(e,t)=>{var r=t;return e==="display"?r=r.id>=Be.SCRIPT.id?r.text():Be.DISPLAY:e==="text"&&r.size===Be.DISPLAY.size?r=Be.TEXT:e==="script"?r=Be.SCRIPT:e==="scriptscript"&&(r=Be.SCRIPTSCRIPT),r},rl=(e,t)=>{var r=_u(e.size,t.style),n=r.fracNum(),a=r.fracDen(),l;l=t.havingStyle(n);var u=Ye(e.numer,l,t);if(e.continued){var c=8.5/t.fontMetrics().ptPerEm,m=3.5/t.fontMetrics().ptPerEm;u.height=u.height<c?c:u.height,u.depth=u.depth<m?m:u.depth}l=t.havingStyle(a);var f=Ye(e.denom,l,t),g,b,d;e.hasBarLine?(e.barSize?(b=bt(e.barSize,t),g=X.makeLineSpan("frac-line",t,b)):g=X.makeLineSpan("frac-line",t),b=g.height,d=g.height):(g=null,b=0,d=t.fontMetrics().defaultRuleThickness);var p,A,N;r.size===Be.DISPLAY.size||e.size==="display"?(p=t.fontMetrics().num1,b>0?A=3*d:A=7*d,N=t.fontMetrics().denom1):(b>0?(p=t.fontMetrics().num2,A=d):(p=t.fontMetrics().num3,A=3*d),N=t.fontMetrics().denom2);var O;if(g){var P=t.fontMetrics().axisHeight;p-u.depth-(P+.5*b)<A&&(p+=A-(p-u.depth-(P+.5*b))),P-.5*b-(f.height-N)<A&&(N+=A-(P-.5*b-(f.height-N)));var K=-(P-.5*b);O=X.makeVList({positionType:"individualShift",children:[{type:"elem",elem:f,shift:N},{type:"elem",elem:g,shift:K},{type:"elem",elem:u,shift:-p}]},t)}else{var q=p-u.depth-(f.height-N);q<A&&(p+=.5*(A-q),N+=.5*(A-q)),O=X.makeVList({positionType:"individualShift",children:[{type:"elem",elem:f,shift:N},{type:"elem",elem:u,shift:-p}]},t)}l=t.havingStyle(r),O.height*=l.sizeMultiplier/t.sizeMultiplier,O.depth*=l.sizeMultiplier/t.sizeMultiplier;var re;r.size===Be.DISPLAY.size?re=t.fontMetrics().delim1:r.size===Be.SCRIPTSCRIPT.size?re=t.havingStyle(Be.SCRIPT).fontMetrics().delim2:re=t.fontMetrics().delim2;var le,W;return e.leftDelim==null?le=vn(t,["mopen"]):le=tr.customSizedDelim(e.leftDelim,re,!0,t.havingStyle(r),e.mode,["mopen"]),e.continued?W=X.makeSpan([]):e.rightDelim==null?W=vn(t,["mclose"]):W=tr.customSizedDelim(e.rightDelim,re,!0,t.havingStyle(r),e.mode,["mclose"]),X.makeSpan(["mord"].concat(l.sizingClasses(t)),[le,X.makeSpan(["mfrac"],[O]),W],t)},nl=(e,t)=>{var r=new ce.MathNode("mfrac",[at(e.numer,t),at(e.denom,t)]);if(!e.hasBarLine)r.setAttribute("linethickness","0px");else if(e.barSize){var n=bt(e.barSize,t);r.setAttribute("linethickness",xe(n))}var a=_u(e.size,t.style);if(a.size!==t.style.size){r=new ce.MathNode("mstyle",[r]);var l=a.size===Be.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",l),r.setAttribute("scriptlevel","0")}if(e.leftDelim!=null||e.rightDelim!=null){var u=[];if(e.leftDelim!=null){var c=new ce.MathNode("mo",[new ce.TextNode(e.leftDelim.replace("\\",""))]);c.setAttribute("fence","true"),u.push(c)}if(u.push(r),e.rightDelim!=null){var m=new ce.MathNode("mo",[new ce.TextNode(e.rightDelim.replace("\\",""))]);m.setAttribute("fence","true"),u.push(m)}return La(u)}return r};ke({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],l=t[1],u,c=null,m=null,f="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":u=!0;break;case"\\\\atopfrac":u=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":u=!1,c="(",m=")";break;case"\\\\bracefrac":u=!1,c="\\{",m="\\}";break;case"\\\\brackfrac":u=!1,c="[",m="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":f="display";break;case"\\tfrac":case"\\tbinom":f="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:a,denom:l,hasBarLine:u,leftDelim:c,rightDelim:m,size:f,barSize:null}},htmlBuilder:rl,mathmlBuilder:nl}),ke({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],l=t[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:a,denom:l,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),ke({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:r,token:n}=e,a;switch(r){case"\\over":a="\\frac";break;case"\\choose":a="\\binom";break;case"\\atop":a="\\\\atopfrac";break;case"\\brace":a="\\\\bracefrac";break;case"\\brack":a="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:t.mode,replaceWith:a,token:n}}});var qu=["display","text","script","scriptscript"],Ou=function(t){var r=null;return t.length>0&&(r=t,r=r==="."?null:r),r};ke({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(e,t){var{parser:r}=e,n=t[4],a=t[5],l=ui(t[0]),u=l.type==="atom"&&l.family==="open"?Ou(l.text):null,c=ui(t[1]),m=c.type==="atom"&&c.family==="close"?Ou(c.text):null,f=Le(t[2],"size"),g,b=null;f.isBlank?g=!0:(b=f.value,g=b.number>0);var d="auto",p=t[3];if(p.type==="ordgroup"){if(p.body.length>0){var A=Le(p.body[0],"textord");d=qu[Number(A.text)]}}else p=Le(p,"textord"),d=qu[Number(p.text)];return{type:"genfrac",mode:r.mode,numer:n,denom:a,continued:!1,hasBarLine:g,barSize:b,leftDelim:u,rightDelim:m,size:d}},htmlBuilder:rl,mathmlBuilder:nl}),ke({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(e,t){var{parser:r,funcName:n,token:a}=e;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:Le(t[0],"size").value,token:a}}}),ke({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0],l=j5(Le(t[1],"infix").size),u=t[2],c=l.number>0;return{type:"genfrac",mode:r.mode,numer:a,denom:u,continued:!1,hasBarLine:c,barSize:l,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:rl,mathmlBuilder:nl});var Fu=(e,t)=>{var r=t.style,n,a;e.type==="supsub"?(n=e.sup?Ye(e.sup,t.havingStyle(r.sup()),t):Ye(e.sub,t.havingStyle(r.sub()),t),a=Le(e.base,"horizBrace")):a=Le(e,"horizBrace");var l=Ye(a.base,t.havingBaseStyle(Be.DISPLAY)),u=er.svgSpan(a,t),c;if(a.isOver?(c=X.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:l},{type:"kern",size:.1},{type:"elem",elem:u}]},t),c.children[0].children[0].children[1].classes.push("svg-align")):(c=X.makeVList({positionType:"bottom",positionData:l.depth+.1+u.height,children:[{type:"elem",elem:u},{type:"kern",size:.1},{type:"elem",elem:l}]},t),c.children[0].children[0].children[0].classes.push("svg-align")),n){var m=X.makeSpan(["mord",a.isOver?"mover":"munder"],[c],t);a.isOver?c=X.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:m},{type:"kern",size:.2},{type:"elem",elem:n}]},t):c=X.makeVList({positionType:"bottom",positionData:m.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:m}]},t)}return X.makeSpan(["mord",a.isOver?"mover":"munder"],[c],t)},f6=(e,t)=>{var r=er.mathMLnode(e.label);return new ce.MathNode(e.isOver?"mover":"munder",[at(e.base,t),r])};ke({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(e,t){var{parser:r,funcName:n}=e;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:t[0]}},htmlBuilder:Fu,mathmlBuilder:f6}),ke({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[1],a=Le(t[0],"url").url;return r.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:r.mode,href:a,body:zt(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(e,t)=>{var r=It(e.body,t,!1);return X.makeAnchor(e.href,[],r,t)},mathmlBuilder:(e,t)=>{var r=gr(e.body,t);return r instanceof d0||(r=new d0("mrow",[r])),r.setAttribute("href",e.href),r}}),ke({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=Le(t[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var a=[],l=0;l<n.length;l++){var u=n[l];u==="~"&&(u="\\textasciitilde"),a.push({type:"textord",mode:"text",text:u})}var c={type:"text",mode:r.mode,font:"\\texttt",body:a};return{type:"href",mode:r.mode,href:n,body:zt(c)}}}),ke({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:zt(t[0])}},htmlBuilder(e,t){var r=It(e.body,t,!1);return X.makeFragment(r)},mathmlBuilder(e,t){return new ce.MathNode("mrow",i0(e.body,t))}}),ke({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n,token:a}=e,l=Le(t[0],"raw").string,u=t[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var c,m={};switch(n){case"\\htmlClass":m.class=l,c={command:"\\htmlClass",class:l};break;case"\\htmlId":m.id=l,c={command:"\\htmlId",id:l};break;case"\\htmlStyle":m.style=l,c={command:"\\htmlStyle",style:l};break;case"\\htmlData":{for(var f=l.split(","),g=0;g<f.length;g++){var b=f[g].split("=");if(b.length!==2)throw new de("Error parsing key-value for \\htmlData");m["data-"+b[0].trim()]=b[1].trim()}c={command:"\\htmlData",attributes:m};break}default:throw new Error("Unrecognized html command")}return r.settings.isTrusted(c)?{type:"html",mode:r.mode,attributes:m,body:zt(u)}:r.formatUnsupportedCmd(n)},htmlBuilder:(e,t)=>{var r=It(e.body,t,!1),n=["enclosing"];e.attributes.class&&n.push(...e.attributes.class.trim().split(/\s+/));var a=X.makeSpan(n,r,t);for(var l in e.attributes)l!=="class"&&e.attributes.hasOwnProperty(l)&&a.setAttribute(l,e.attributes[l]);return a},mathmlBuilder:(e,t)=>gr(e.body,t)}),ke({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"htmlmathml",mode:r.mode,html:zt(t[0]),mathml:zt(t[1])}},htmlBuilder:(e,t)=>{var r=It(e.html,t,!1);return X.makeFragment(r)},mathmlBuilder:(e,t)=>gr(e.mathml,t)});var il=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!r)throw new de("Invalid size: '"+t+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!Po(n))throw new de("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};ke({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(e,t,r)=>{var{parser:n}=e,a={number:0,unit:"em"},l={number:.9,unit:"em"},u={number:0,unit:"em"},c="";if(r[0])for(var m=Le(r[0],"raw").string,f=m.split(","),g=0;g<f.length;g++){var b=f[g].split("=");if(b.length===2){var d=b[1].trim();switch(b[0].trim()){case"alt":c=d;break;case"width":a=il(d);break;case"height":l=il(d);break;case"totalheight":u=il(d);break;default:throw new de("Invalid key: '"+b[0]+"' in \\includegraphics.")}}}var p=Le(t[0],"url").url;return c===""&&(c=p,c=c.replace(/^.*[\\/]/,""),c=c.substring(0,c.lastIndexOf("."))),n.settings.isTrusted({command:"\\includegraphics",url:p})?{type:"includegraphics",mode:n.mode,alt:c,width:a,height:l,totalheight:u,src:p}:n.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(e,t)=>{var r=bt(e.height,t),n=0;e.totalheight.number>0&&(n=bt(e.totalheight,t)-r);var a=0;e.width.number>0&&(a=bt(e.width,t));var l={height:xe(r+n)};a>0&&(l.width=xe(a)),n>0&&(l.verticalAlign=xe(-n));var u=new f3(e.src,e.alt,l);return u.height=r,u.depth=n,u},mathmlBuilder:(e,t)=>{var r=new ce.MathNode("mglyph",[]);r.setAttribute("alt",e.alt);var n=bt(e.height,t),a=0;if(e.totalheight.number>0&&(a=bt(e.totalheight,t)-n,r.setAttribute("valign",xe(-a))),r.setAttribute("height",xe(n+a)),e.width.number>0){var l=bt(e.width,t);r.setAttribute("width",xe(l))}return r.setAttribute("src",e.src),r}}),ke({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,a=Le(t[0],"size");if(r.settings.strict){var l=n[1]==="m",u=a.value.unit==="mu";l?(u||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+a.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):u&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:a.value}},htmlBuilder(e,t){return X.makeGlue(e.dimension,t)},mathmlBuilder(e,t){var r=bt(e.dimension,t);return new ce.SpaceNode(r)}}),ke({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:a}},htmlBuilder:(e,t)=>{var r;e.alignment==="clap"?(r=X.makeSpan([],[Ye(e.body,t)]),r=X.makeSpan(["inner"],[r],t)):r=X.makeSpan(["inner"],[Ye(e.body,t)]);var n=X.makeSpan(["fix"],[]),a=X.makeSpan([e.alignment],[r,n],t),l=X.makeSpan(["strut"]);return l.style.height=xe(a.height+a.depth),a.depth&&(l.style.verticalAlign=xe(-a.depth)),a.children.unshift(l),a=X.makeSpan(["thinbox"],[a],t),X.makeSpan(["mord","vbox"],[a],t)},mathmlBuilder:(e,t)=>{var r=new ce.MathNode("mpadded",[at(e.body,t)]);if(e.alignment!=="rlap"){var n=e.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}}),ke({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:r,parser:n}=e,a=n.mode;n.switchMode("math");var l=r==="\\("?"\\)":"$",u=n.parseExpression(!1,l);return n.expect(l),n.switchMode(a),{type:"styling",mode:n.mode,style:"text",body:u}}}),ke({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){throw new de("Mismatched "+e.funcName)}});var Lu=(e,t)=>{switch(t.style.size){case Be.DISPLAY.size:return e.display;case Be.TEXT.size:return e.text;case Be.SCRIPT.size:return e.script;case Be.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};ke({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:r}=e;return{type:"mathchoice",mode:r.mode,display:zt(t[0]),text:zt(t[1]),script:zt(t[2]),scriptscript:zt(t[3])}},htmlBuilder:(e,t)=>{var r=Lu(e,t),n=It(r,t,!1);return X.makeFragment(n)},mathmlBuilder:(e,t)=>{var r=Lu(e,t);return gr(r,t)}});var Pu=(e,t,r,n,a,l,u)=>{e=X.makeSpan([],[e]);var c=r&&Je.isCharacterBox(r),m,f;if(t){var g=Ye(t,n.havingStyle(a.sup()),n);f={elem:g,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-g.depth)}}if(r){var b=Ye(r,n.havingStyle(a.sub()),n);m={elem:b,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-b.height)}}var d;if(f&&m){var p=n.fontMetrics().bigOpSpacing5+m.elem.height+m.elem.depth+m.kern+e.depth+u;d=X.makeVList({positionType:"bottom",positionData:p,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:m.elem,marginLeft:xe(-l)},{type:"kern",size:m.kern},{type:"elem",elem:e},{type:"kern",size:f.kern},{type:"elem",elem:f.elem,marginLeft:xe(l)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(m){var A=e.height-u;d=X.makeVList({positionType:"top",positionData:A,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:m.elem,marginLeft:xe(-l)},{type:"kern",size:m.kern},{type:"elem",elem:e}]},n)}else if(f){var N=e.depth+u;d=X.makeVList({positionType:"bottom",positionData:N,children:[{type:"elem",elem:e},{type:"kern",size:f.kern},{type:"elem",elem:f.elem,marginLeft:xe(l)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else return e;var O=[d];if(m&&l!==0&&!c){var q=X.makeSpan(["mspace"],[],n);q.style.marginRight=xe(l),O.unshift(q)}return X.makeSpan(["mop","op-limits"],O,n)},Hu=["\\smallint"],Zr=(e,t)=>{var r,n,a=!1,l;e.type==="supsub"?(r=e.sup,n=e.sub,l=Le(e.base,"op"),a=!0):l=Le(e,"op");var u=t.style,c=!1;u.size===Be.DISPLAY.size&&l.symbol&&!Hu.includes(l.name)&&(c=!0);var m;if(l.symbol){var f=c?"Size2-Regular":"Size1-Regular",g="";if((l.name==="\\oiint"||l.name==="\\oiiint")&&(g=l.name.slice(1),l.name=g==="oiint"?"\\iint":"\\iiint"),m=X.makeSymbol(l.name,f,"math",t,["mop","op-symbol",c?"large-op":"small-op"]),g.length>0){var b=m.italic,d=X.staticSvg(g+"Size"+(c?"2":"1"),t);m=X.makeVList({positionType:"individualShift",children:[{type:"elem",elem:m,shift:0},{type:"elem",elem:d,shift:c?.08:0}]},t),l.name="\\"+g,m.classes.unshift("mop"),m.italic=b}}else if(l.body){var p=It(l.body,t,!0);p.length===1&&p[0]instanceof w0?(m=p[0],m.classes[0]="mop"):m=X.makeSpan(["mop"],p,t)}else{for(var A=[],N=1;N<l.name.length;N++)A.push(X.mathsym(l.name[N],l.mode,t));m=X.makeSpan(["mop"],A,t)}var O=0,q=0;return(m instanceof w0||l.name==="\\oiint"||l.name==="\\oiiint")&&!l.suppressBaseShift&&(O=(m.height-m.depth)/2-t.fontMetrics().axisHeight,q=m.italic),a?Pu(m,r,n,t,u,q,O):(O&&(m.style.position="relative",m.style.top=xe(O)),m)},Sn=(e,t)=>{var r;if(e.symbol)r=new d0("mo",[k0(e.name,e.mode)]),Hu.includes(e.name)&&r.setAttribute("largeop","false");else if(e.body)r=new d0("mo",i0(e.body,t));else{r=new d0("mi",[new R0(e.name.slice(1))]);var n=new d0("mo",[k0("⁡","text")]);e.parentIsSupSub?r=new d0("mrow",[r,n]):r=iu([r,n])}return r},g6={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};ke({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,a=n;return a.length===1&&(a=g6[a]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:Zr,mathmlBuilder:Sn}),ke({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:zt(n)}},htmlBuilder:Zr,mathmlBuilder:Sn});var y6={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};ke({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:Zr,mathmlBuilder:Sn}),ke({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:Zr,mathmlBuilder:Sn}),ke({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(e){var{parser:t,funcName:r}=e,n=r;return n.length===1&&(n=y6[n]),{type:"op",mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Zr,mathmlBuilder:Sn});var $u=(e,t)=>{var r,n,a=!1,l;e.type==="supsub"?(r=e.sup,n=e.sub,l=Le(e.base,"operatorname"),a=!0):l=Le(e,"operatorname");var u;if(l.body.length>0){for(var c=l.body.map(b=>{var d=b.text;return typeof d=="string"?{type:"textord",mode:b.mode,text:d}:b}),m=It(c,t.withFont("mathrm"),!0),f=0;f<m.length;f++){var g=m[f];g instanceof w0&&(g.text=g.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}u=X.makeSpan(["mop"],m,t)}else u=X.makeSpan(["mop"],[],t);return a?Pu(u,r,n,t,t.style,0,0):u},b6=(e,t)=>{for(var r=i0(e.body,t.withFont("mathrm")),n=!0,a=0;a<r.length;a++){var l=r[a];if(!(l instanceof ce.SpaceNode))if(l instanceof ce.MathNode)switch(l.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{var u=l.children[0];l.children.length===1&&u instanceof ce.TextNode?u.text=u.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):n=!1;break}default:n=!1}else n=!1}if(n){var c=r.map(g=>g.toText()).join("");r=[new ce.TextNode(c)]}var m=new ce.MathNode("mi",r);m.setAttribute("mathvariant","normal");var f=new ce.MathNode("mo",[k0("⁡","text")]);return e.parentIsSupSub?new ce.MathNode("mrow",[m,f]):ce.newDocumentFragment([m,f])};ke({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(e,t)=>{var{parser:r,funcName:n}=e,a=t[0];return{type:"operatorname",mode:r.mode,body:zt(a),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:$u,mathmlBuilder:b6}),D("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),Er({type:"ordgroup",htmlBuilder(e,t){return e.semisimple?X.makeFragment(It(e.body,t,!1)):X.makeSpan(["mord"],It(e.body,t,!0),t)},mathmlBuilder(e,t){return gr(e.body,t,!0)}}),ke({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=Ye(e.body,t.havingCrampedStyle()),n=X.makeLineSpan("overline-line",t),a=t.fontMetrics().defaultRuleThickness,l=X.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*a},{type:"elem",elem:n},{type:"kern",size:a}]},t);return X.makeSpan(["mord","overline"],[l],t)},mathmlBuilder(e,t){var r=new ce.MathNode("mo",[new ce.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new ce.MathNode("mover",[at(e.body,t),r]);return n.setAttribute("accent","true"),n}}),ke({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:zt(n)}},htmlBuilder:(e,t)=>{var r=It(e.body,t.withPhantom(),!1);return X.makeFragment(r)},mathmlBuilder:(e,t)=>{var r=i0(e.body,t);return new ce.MathNode("mphantom",r)}}),ke({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:r}=e,n=t[0];return{type:"hphantom",mode:r.mode,body:n}},htmlBuilder:(e,t)=>{var r=X.makeSpan([],[Ye(e.body,t.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var n=0;n<r.children.length;n++)r.children[n].height=0,r.children[n].depth=0;return r=X.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t),X.makeSpan(["mord"],[r],t)},mathmlBuilder:(e,t)=>{var r=i0(zt(e.body),t),n=new ce.MathNode("mphantom",r),a=new ce.MathNode("mpadded",[n]);return a.setAttribute("height","0px"),a.setAttribute("depth","0px"),a}}),ke({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=X.makeSpan(["inner"],[Ye(e.body,t.withPhantom())]),n=X.makeSpan(["fix"],[]);return X.makeSpan(["mord","rlap"],[r,n],t)},mathmlBuilder:(e,t)=>{var r=i0(zt(e.body),t),n=new ce.MathNode("mphantom",r),a=new ce.MathNode("mpadded",[n]);return a.setAttribute("width","0px"),a}}),ke({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(e,t){var{parser:r}=e,n=Le(t[0],"size").value,a=t[1];return{type:"raisebox",mode:r.mode,dy:n,body:a}},htmlBuilder(e,t){var r=Ye(e.body,t),n=bt(e.dy,t);return X.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){var r=new ce.MathNode("mpadded",[at(e.body,t)]),n=e.dy.number+e.dy.unit;return r.setAttribute("voffset",n),r}}),ke({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:"internal",mode:t.mode}}}),ke({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,a=r[0],l=Le(t[0],"size"),u=Le(t[1],"size");return{type:"rule",mode:n.mode,shift:a&&Le(a,"size").value,width:l.value,height:u.value}},htmlBuilder(e,t){var r=X.makeSpan(["mord","rule"],[],t),n=bt(e.width,t),a=bt(e.height,t),l=e.shift?bt(e.shift,t):0;return r.style.borderRightWidth=xe(n),r.style.borderTopWidth=xe(a),r.style.bottom=xe(l),r.width=n,r.height=a+l,r.depth=-l,r.maxFontSize=a*1.125*t.sizeMultiplier,r},mathmlBuilder(e,t){var r=bt(e.width,t),n=bt(e.height,t),a=e.shift?bt(e.shift,t):0,l=t.color&&t.getColor()||"black",u=new ce.MathNode("mspace");u.setAttribute("mathbackground",l),u.setAttribute("width",xe(r)),u.setAttribute("height",xe(n));var c=new ce.MathNode("mpadded",[u]);return a>=0?c.setAttribute("height",xe(a)):(c.setAttribute("height",xe(a)),c.setAttribute("depth",xe(-a))),c.setAttribute("voffset",xe(a)),c}});function Vu(e,t,r){for(var n=It(e,t,!1),a=t.sizeMultiplier/r.sizeMultiplier,l=0;l<n.length;l++){var u=n[l].classes.indexOf("sizing");u<0?Array.prototype.push.apply(n[l].classes,t.sizingClasses(r)):n[l].classes[u+1]==="reset-size"+t.size&&(n[l].classes[u+1]="reset-size"+r.size),n[l].height*=a,n[l].depth*=a}return X.makeFragment(n)}var ju=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"],x6=(e,t)=>{var r=t.havingSize(e.size);return Vu(e.body,r,t)};ke({type:"sizing",names:ju,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:r,funcName:n,parser:a}=e,l=a.parseExpression(!1,r);return{type:"sizing",mode:a.mode,size:ju.indexOf(n)+1,body:l}},htmlBuilder:x6,mathmlBuilder:(e,t)=>{var r=t.havingSize(e.size),n=i0(e.body,r),a=new ce.MathNode("mstyle",n);return a.setAttribute("mathsize",xe(r.sizeMultiplier)),a}}),ke({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,r)=>{var{parser:n}=e,a=!1,l=!1,u=r[0]&&Le(r[0],"ordgroup");if(u)for(var c="",m=0;m<u.body.length;++m){var f=u.body[m];if(c=f.text,c==="t")a=!0;else if(c==="b")l=!0;else{a=!1,l=!1;break}}else a=!0,l=!0;var g=t[0];return{type:"smash",mode:n.mode,body:g,smashHeight:a,smashDepth:l}},htmlBuilder:(e,t)=>{var r=X.makeSpan([],[Ye(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return r;if(e.smashHeight&&(r.height=0,r.children))for(var n=0;n<r.children.length;n++)r.children[n].height=0;if(e.smashDepth&&(r.depth=0,r.children))for(var a=0;a<r.children.length;a++)r.children[a].depth=0;var l=X.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r}]},t);return X.makeSpan(["mord"],[l],t)},mathmlBuilder:(e,t)=>{var r=new ce.MathNode("mpadded",[at(e.body,t)]);return e.smashHeight&&r.setAttribute("height","0px"),e.smashDepth&&r.setAttribute("depth","0px"),r}}),ke({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(e,t,r){var{parser:n}=e,a=r[0],l=t[0];return{type:"sqrt",mode:n.mode,body:l,index:a}},htmlBuilder(e,t){var r=Ye(e.body,t.havingCrampedStyle());r.height===0&&(r.height=t.fontMetrics().xHeight),r=X.wrapFragment(r,t);var n=t.fontMetrics(),a=n.defaultRuleThickness,l=a;t.style.id<Be.TEXT.id&&(l=t.fontMetrics().xHeight);var u=a+l/4,c=r.height+r.depth+u+a,{span:m,ruleWidth:f,advanceWidth:g}=tr.sqrtImage(c,t),b=m.height-f;b>r.height+r.depth+u&&(u=(u+b-r.height-r.depth)/2);var d=m.height-r.height-u-f;r.style.paddingLeft=xe(g);var p=X.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+d)},{type:"elem",elem:m},{type:"kern",size:f}]},t);if(e.index){var A=t.havingStyle(Be.SCRIPTSCRIPT),N=Ye(e.index,A,t),O=.6*(p.height-p.depth),q=X.makeVList({positionType:"shift",positionData:-O,children:[{type:"elem",elem:N}]},t),P=X.makeSpan(["root"],[q]);return X.makeSpan(["mord","sqrt"],[P,p],t)}else return X.makeSpan(["mord","sqrt"],[p],t)},mathmlBuilder(e,t){var{body:r,index:n}=e;return n?new ce.MathNode("mroot",[at(r,t),at(n,t)]):new ce.MathNode("msqrt",[at(r,t)])}});var Gu={display:Be.DISPLAY,text:Be.TEXT,script:Be.SCRIPT,scriptscript:Be.SCRIPTSCRIPT};ke({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:r,funcName:n,parser:a}=e,l=a.parseExpression(!0,r),u=n.slice(1,n.length-5);return{type:"styling",mode:a.mode,style:u,body:l}},htmlBuilder(e,t){var r=Gu[e.style],n=t.havingStyle(r).withFont("");return Vu(e.body,n,t)},mathmlBuilder(e,t){var r=Gu[e.style],n=t.havingStyle(r),a=i0(e.body,n),l=new ce.MathNode("mstyle",a),u={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},c=u[e.style];return l.setAttribute("scriptlevel",c[0]),l.setAttribute("displaystyle",c[1]),l}});var v6=function(t,r){var n=t.base;if(n)if(n.type==="op"){var a=n.limits&&(r.style.size===Be.DISPLAY.size||n.alwaysHandleSupSub);return a?Zr:null}else if(n.type==="operatorname"){var l=n.alwaysHandleSupSub&&(r.style.size===Be.DISPLAY.size||n.limits);return l?$u:null}else{if(n.type==="accent")return Je.isCharacterBox(n.base)?Va:null;if(n.type==="horizBrace"){var u=!t.sub;return u===n.isOver?Fu:null}else return null}else return null};Er({type:"supsub",htmlBuilder(e,t){var r=v6(e,t);if(r)return r(e,t);var{base:n,sup:a,sub:l}=e,u=Ye(n,t),c,m,f=t.fontMetrics(),g=0,b=0,d=n&&Je.isCharacterBox(n);if(a){var p=t.havingStyle(t.style.sup());c=Ye(a,p,t),d||(g=u.height-p.fontMetrics().supDrop*p.sizeMultiplier/t.sizeMultiplier)}if(l){var A=t.havingStyle(t.style.sub());m=Ye(l,A,t),d||(b=u.depth+A.fontMetrics().subDrop*A.sizeMultiplier/t.sizeMultiplier)}var N;t.style===Be.DISPLAY?N=f.sup1:t.style.cramped?N=f.sup3:N=f.sup2;var O=t.sizeMultiplier,q=xe(.5/f.ptPerEm/O),P=null;if(m){var K=e.base&&e.base.type==="op"&&e.base.name&&(e.base.name==="\\oiint"||e.base.name==="\\oiiint");(u instanceof w0||K)&&(P=xe(-u.italic))}var re;if(c&&m){g=Math.max(g,N,c.depth+.25*f.xHeight),b=Math.max(b,f.sub2);var le=f.defaultRuleThickness,W=4*le;if(g-c.depth-(m.height-b)<W){b=W-(g-c.depth)+m.height;var se=.8*f.xHeight-(g-c.depth);se>0&&(g+=se,b-=se)}var ve=[{type:"elem",elem:m,shift:b,marginRight:q,marginLeft:P},{type:"elem",elem:c,shift:-g,marginRight:q}];re=X.makeVList({positionType:"individualShift",children:ve},t)}else if(m){b=Math.max(b,f.sub1,m.height-.8*f.xHeight);var pe=[{type:"elem",elem:m,marginLeft:P,marginRight:q}];re=X.makeVList({positionType:"shift",positionData:b,children:pe},t)}else if(c)g=Math.max(g,N,c.depth+.25*f.xHeight),re=X.makeVList({positionType:"shift",positionData:-g,children:[{type:"elem",elem:c,marginRight:q}]},t);else throw new Error("supsub must have either sup or sub.");var Y=Oa(u,"right")||"mord";return X.makeSpan([Y],[u,X.makeSpan(["msupsub"],[re])],t)},mathmlBuilder(e,t){var r=!1,n,a;e.base&&e.base.type==="horizBrace"&&(a=!!e.sup,a===e.base.isOver&&(r=!0,n=e.base.isOver)),e.base&&(e.base.type==="op"||e.base.type==="operatorname")&&(e.base.parentIsSupSub=!0);var l=[at(e.base,t)];e.sub&&l.push(at(e.sub,t)),e.sup&&l.push(at(e.sup,t));var u;if(r)u=n?"mover":"munder";else if(e.sub)if(e.sup){var f=e.base;f&&f.type==="op"&&f.limits&&t.style===Be.DISPLAY||f&&f.type==="operatorname"&&f.alwaysHandleSupSub&&(t.style===Be.DISPLAY||f.limits)?u="munderover":u="msubsup"}else{var m=e.base;m&&m.type==="op"&&m.limits&&(t.style===Be.DISPLAY||m.alwaysHandleSupSub)||m&&m.type==="operatorname"&&m.alwaysHandleSupSub&&(m.limits||t.style===Be.DISPLAY)?u="munder":u="msub"}else{var c=e.base;c&&c.type==="op"&&c.limits&&(t.style===Be.DISPLAY||c.alwaysHandleSupSub)||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(c.limits||t.style===Be.DISPLAY)?u="mover":u="msup"}return new ce.MathNode(u,l)}}),Er({type:"atom",htmlBuilder(e,t){return X.mathsym(e.text,e.mode,t,["m"+e.family])},mathmlBuilder(e,t){var r=new ce.MathNode("mo",[k0(e.text,e.mode)]);if(e.family==="bin"){var n=Pa(e,t);n==="bold-italic"&&r.setAttribute("mathvariant",n)}else e.family==="punct"?r.setAttribute("separator","true"):(e.family==="open"||e.family==="close")&&r.setAttribute("stretchy","false");return r}});var Uu={mi:"italic",mn:"normal",mtext:"normal"};Er({type:"mathord",htmlBuilder(e,t){return X.makeOrd(e,t,"mathord")},mathmlBuilder(e,t){var r=new ce.MathNode("mi",[k0(e.text,e.mode,t)]),n=Pa(e,t)||"italic";return n!==Uu[r.type]&&r.setAttribute("mathvariant",n),r}}),Er({type:"textord",htmlBuilder(e,t){return X.makeOrd(e,t,"textord")},mathmlBuilder(e,t){var r=k0(e.text,e.mode,t),n=Pa(e,t)||"normal",a;return e.mode==="text"?a=new ce.MathNode("mtext",[r]):/[0-9]/.test(e.text)?a=new ce.MathNode("mn",[r]):e.text==="\\prime"?a=new ce.MathNode("mo",[r]):a=new ce.MathNode("mi",[r]),n!==Uu[a.type]&&a.setAttribute("mathvariant",n),a}});var al={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},ll={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Er({type:"spacing",htmlBuilder(e,t){if(ll.hasOwnProperty(e.text)){var r=ll[e.text].className||"";if(e.mode==="text"){var n=X.makeOrd(e,t,"textord");return n.classes.push(r),n}else return X.makeSpan(["mspace",r],[X.mathsym(e.text,e.mode,t)],t)}else{if(al.hasOwnProperty(e.text))return X.makeSpan(["mspace",al[e.text]],[],t);throw new de('Unknown type of space "'+e.text+'"')}},mathmlBuilder(e,t){var r;if(ll.hasOwnProperty(e.text))r=new ce.MathNode("mtext",[new ce.TextNode(" ")]);else{if(al.hasOwnProperty(e.text))return new ce.MathNode("mspace");throw new de('Unknown type of space "'+e.text+'"')}return r}});var Wu=()=>{var e=new ce.MathNode("mtd",[]);return e.setAttribute("width","50%"),e};Er({type:"tag",mathmlBuilder(e,t){var r=new ce.MathNode("mtable",[new ce.MathNode("mtr",[Wu(),new ce.MathNode("mtd",[gr(e.body,t)]),Wu(),new ce.MathNode("mtd",[gr(e.tag,t)])])]);return r.setAttribute("width","100%"),r}});var Yu={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Xu={"\\textbf":"textbf","\\textmd":"textmd"},w6={"\\textit":"textit","\\textup":"textup"},Zu=(e,t)=>{var r=e.font;if(r){if(Yu[r])return t.withTextFontFamily(Yu[r]);if(Xu[r])return t.withTextFontWeight(Xu[r]);if(r==="\\emph")return t.fontShape==="textit"?t.withTextFontShape("textup"):t.withTextFontShape("textit")}else return t;return t.withTextFontShape(w6[r])};ke({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,a=t[0];return{type:"text",mode:r.mode,body:zt(a),font:n}},htmlBuilder(e,t){var r=Zu(e,t),n=It(e.body,r,!0);return X.makeSpan(["mord","text"],n,r)},mathmlBuilder(e,t){var r=Zu(e,t);return gr(e.body,r)}}),ke({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=Ye(e.body,t),n=X.makeLineSpan("underline-line",t),a=t.fontMetrics().defaultRuleThickness,l=X.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:a},{type:"elem",elem:n},{type:"kern",size:3*a},{type:"elem",elem:r}]},t);return X.makeSpan(["mord","underline"],[l],t)},mathmlBuilder(e,t){var r=new ce.MathNode("mo",[new ce.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new ce.MathNode("munder",[at(e.body,t),r]);return n.setAttribute("accentunder","true"),n}}),ke({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=Ye(e.body,t),n=t.fontMetrics().axisHeight,a=.5*(r.height-n-(r.depth+n));return X.makeVList({positionType:"shift",positionData:a,children:[{type:"elem",elem:r}]},t)},mathmlBuilder(e,t){return new ce.MathNode("mpadded",[at(e.body,t)],["vcenter"])}}),ke({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(e,t,r){throw new de("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(e,t){for(var r=Ku(e),n=[],a=t.havingStyle(t.style.text()),l=0;l<r.length;l++){var u=r[l];u==="~"&&(u="\\textasciitilde"),n.push(X.makeSymbol(u,"Typewriter-Regular",e.mode,a,["mord","texttt"]))}return X.makeSpan(["mord","text"].concat(a.sizingClasses(t)),X.tryCombineChars(n),a)},mathmlBuilder(e,t){var r=new ce.TextNode(Ku(e)),n=new ce.MathNode("mtext",[r]);return n.setAttribute("mathvariant","monospace"),n}});var Ku=e=>e.body.replace(/ /g,e.star?"␣":" "),br=tu,Ju=`[ \r
303
+ ]`,k6="\\\\[a-zA-Z@]+",S6="\\\\[^\uD800-\uDFFF]",M6="("+k6+")"+Ju+"*",A6=`\\\\(
304
304
  |[ \r ]+
305
- ?)[ \r ]*`,sl="[̀-ͯ]",A6=new RegExp(sl+"+$"),T6="("+Qu+"+)|"+(M6+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(sl+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(sl+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+S6)+("|"+k6+")");class e1{constructor(t,r){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=r,this.tokenRegex=new RegExp(T6,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,r){this.catcodes[t]=r}lex(){var t=this.input,r=this.tokenRegex.lastIndex;if(r===t.length)return new f0("EOF",new u0(this,r,r));var n=this.tokenRegex.exec(t);if(n===null||n.index!==r)throw new me("Unexpected character: '"+t[r]+"'",new f0(t[r],new u0(this,r,r+1)));var a=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[a]===14){var l=t.indexOf(`
306
- `,this.tokenRegex.lastIndex);return l===-1?(this.tokenRegex.lastIndex=t.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=l+1,this.lex()}return new f0(a,new u0(this,r,this.tokenRegex.lastIndex))}}class z6{constructor(t,r){t===void 0&&(t={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new me("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var r in t)t.hasOwnProperty(r)&&(t[r]==null?delete this.current[r]:this.current[r]=t[r])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,r,n){if(n===void 0&&(n=!1),n){for(var a=0;a<this.undefStack.length;a++)delete this.undefStack[a][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=r)}else{var l=this.undefStack[this.undefStack.length-1];l&&!l.hasOwnProperty(t)&&(l[t]=this.current[t])}r==null?delete this.current[t]:this.current[t]=r}}var C6=Eu;E("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}}),E("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}}),E("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}}),E("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}}),E("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return t[0].length===1&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}}),E("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),E("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var t1={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};E("\\char",function(e){var t=e.popToken(),r,n="";if(t.text==="'")r=8,t=e.popToken();else if(t.text==='"')r=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")n=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new me("\\char` missing argument");n=t.text.charCodeAt(0)}else r=10;if(r){if(n=t1[t.text],n==null||n>=r)throw new me("Invalid base-"+r+" digit "+t.text);for(var a;(a=t1[e.future().text])!=null&&a<r;)n*=r,n+=a,e.popToken()}return"\\@char{"+n+"}"});var ol=(e,t,r,n)=>{var a=e.consumeArg().tokens;if(a.length!==1)throw new me("\\newcommand's first argument must be a macro name");var l=a[0].text,u=e.isDefined(l);if(u&&!t)throw new me("\\newcommand{"+l+"} attempting to redefine "+(l+"; use \\renewcommand"));if(!u&&!r)throw new me("\\renewcommand{"+l+"} when command "+l+" does not yet exist; use \\newcommand");var c=0;if(a=e.consumeArg().tokens,a.length===1&&a[0].text==="["){for(var m="",f=e.expandNextToken();f.text!=="]"&&f.text!=="EOF";)m+=f.text,f=e.expandNextToken();if(!m.match(/^\s*[0-9]+\s*$/))throw new me("Invalid number of arguments: "+m);c=parseInt(m),a=e.consumeArg().tokens}return u&&n||e.macros.set(l,{tokens:a,numArgs:c}),""};E("\\newcommand",e=>ol(e,!1,!0,!1)),E("\\renewcommand",e=>ol(e,!0,!1,!1)),E("\\providecommand",e=>ol(e,!0,!0,!0)),E("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(r=>r.text).join("")),""}),E("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(r=>r.text).join("")),""}),E("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),yr[r],ct.math[r],ct.text[r]),""}),E("\\bgroup","{"),E("\\egroup","}"),E("~","\\nobreakspace"),E("\\lq","`"),E("\\rq","'"),E("\\aa","\\r a"),E("\\AA","\\r A"),E("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),E("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),E("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),E("ℬ","\\mathscr{B}"),E("ℰ","\\mathscr{E}"),E("ℱ","\\mathscr{F}"),E("ℋ","\\mathscr{H}"),E("ℐ","\\mathscr{I}"),E("ℒ","\\mathscr{L}"),E("ℳ","\\mathscr{M}"),E("ℛ","\\mathscr{R}"),E("ℭ","\\mathfrak{C}"),E("ℌ","\\mathfrak{H}"),E("ℨ","\\mathfrak{Z}"),E("\\Bbbk","\\Bbb{k}"),E("·","\\cdotp"),E("\\llap","\\mathllap{\\textrm{#1}}"),E("\\rlap","\\mathrlap{\\textrm{#1}}"),E("\\clap","\\mathclap{\\textrm{#1}}"),E("\\mathstrut","\\vphantom{(}"),E("\\underbar","\\underline{\\text{#1}}"),E("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),E("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),E("\\ne","\\neq"),E("≠","\\neq"),E("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),E("∉","\\notin"),E("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),E("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),E("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),E("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),E("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),E("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),E("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),E("⟂","\\perp"),E("‼","\\mathclose{!\\mkern-0.8mu!}"),E("∌","\\notni"),E("⌜","\\ulcorner"),E("⌝","\\urcorner"),E("⌞","\\llcorner"),E("⌟","\\lrcorner"),E("©","\\copyright"),E("®","\\textregistered"),E("️","\\textregistered"),E("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),E("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),E("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),E("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),E("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),E("⋮","\\vdots"),E("\\varGamma","\\mathit{\\Gamma}"),E("\\varDelta","\\mathit{\\Delta}"),E("\\varTheta","\\mathit{\\Theta}"),E("\\varLambda","\\mathit{\\Lambda}"),E("\\varXi","\\mathit{\\Xi}"),E("\\varPi","\\mathit{\\Pi}"),E("\\varSigma","\\mathit{\\Sigma}"),E("\\varUpsilon","\\mathit{\\Upsilon}"),E("\\varPhi","\\mathit{\\Phi}"),E("\\varPsi","\\mathit{\\Psi}"),E("\\varOmega","\\mathit{\\Omega}"),E("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),E("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),E("\\boxed","\\fbox{$\\displaystyle{#1}$}"),E("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),E("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),E("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),E("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),E("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var r1={",":"\\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"};E("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in r1?t=r1[r]:(r.slice(0,4)==="\\not"||r in ct.math&&De.contains(["bin","rel"],ct.math[r].group))&&(t="\\dotsb"),t});var ul={")":!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};E("\\dotso",function(e){var t=e.future().text;return t in ul?"\\ldots\\,":"\\ldots"}),E("\\dotsc",function(e){var t=e.future().text;return t in ul&&t!==","?"\\ldots\\,":"\\ldots"}),E("\\cdots",function(e){var t=e.future().text;return t in ul?"\\@cdots\\,":"\\@cdots"}),E("\\dotsb","\\cdots"),E("\\dotsm","\\cdots"),E("\\dotsi","\\!\\cdots"),E("\\dotsx","\\ldots\\,"),E("\\DOTSI","\\relax"),E("\\DOTSB","\\relax"),E("\\DOTSX","\\relax"),E("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),E("\\,","\\tmspace+{3mu}{.1667em}"),E("\\thinspace","\\,"),E("\\>","\\mskip{4mu}"),E("\\:","\\tmspace+{4mu}{.2222em}"),E("\\medspace","\\:"),E("\\;","\\tmspace+{5mu}{.2777em}"),E("\\thickspace","\\;"),E("\\!","\\tmspace-{3mu}{.1667em}"),E("\\negthinspace","\\!"),E("\\negmedspace","\\tmspace-{4mu}{.2222em}"),E("\\negthickspace","\\tmspace-{5mu}{.277em}"),E("\\enspace","\\kern.5em "),E("\\enskip","\\hskip.5em\\relax"),E("\\quad","\\hskip1em\\relax"),E("\\qquad","\\hskip2em\\relax"),E("\\tag","\\@ifstar\\tag@literal\\tag@paren"),E("\\tag@paren","\\tag@literal{({#1})}"),E("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new me("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),E("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),E("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),E("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),E("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),E("\\newline","\\\\\\relax"),E("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var n1=xe(_0["Main-Regular"][84][1]-.7*_0["Main-Regular"][65][1]);E("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+n1+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),E("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+n1+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),E("\\hspace","\\@ifstar\\@hspacer\\@hspace"),E("\\@hspace","\\hskip #1\\relax"),E("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),E("\\ordinarycolon",":"),E("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),E("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),E("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),E("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),E("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),E("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),E("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),E("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),E("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),E("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),E("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),E("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),E("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),E("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),E("∷","\\dblcolon"),E("∹","\\eqcolon"),E("≔","\\coloneqq"),E("≕","\\eqqcolon"),E("⩴","\\Coloneqq"),E("\\ratio","\\vcentcolon"),E("\\coloncolon","\\dblcolon"),E("\\colonequals","\\coloneqq"),E("\\coloncolonequals","\\Coloneqq"),E("\\equalscolon","\\eqqcolon"),E("\\equalscoloncolon","\\Eqqcolon"),E("\\colonminus","\\coloneq"),E("\\coloncolonminus","\\Coloneq"),E("\\minuscolon","\\eqcolon"),E("\\minuscoloncolon","\\Eqcolon"),E("\\coloncolonapprox","\\Colonapprox"),E("\\coloncolonsim","\\Colonsim"),E("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),E("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),E("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),E("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),E("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),E("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),E("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),E("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),E("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),E("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),E("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),E("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),E("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),E("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),E("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),E("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),E("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),E("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),E("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),E("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),E("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),E("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),E("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),E("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),E("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),E("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),E("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),E("\\imath","\\html@mathml{\\@imath}{ı}"),E("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),E("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),E("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),E("⟦","\\llbracket"),E("⟧","\\rrbracket"),E("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),E("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),E("⦃","\\lBrace"),E("⦄","\\rBrace"),E("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),E("⦵","\\minuso"),E("\\darr","\\downarrow"),E("\\dArr","\\Downarrow"),E("\\Darr","\\Downarrow"),E("\\lang","\\langle"),E("\\rang","\\rangle"),E("\\uarr","\\uparrow"),E("\\uArr","\\Uparrow"),E("\\Uarr","\\Uparrow"),E("\\N","\\mathbb{N}"),E("\\R","\\mathbb{R}"),E("\\Z","\\mathbb{Z}"),E("\\alef","\\aleph"),E("\\alefsym","\\aleph"),E("\\Alpha","\\mathrm{A}"),E("\\Beta","\\mathrm{B}"),E("\\bull","\\bullet"),E("\\Chi","\\mathrm{X}"),E("\\clubs","\\clubsuit"),E("\\cnums","\\mathbb{C}"),E("\\Complex","\\mathbb{C}"),E("\\Dagger","\\ddagger"),E("\\diamonds","\\diamondsuit"),E("\\empty","\\emptyset"),E("\\Epsilon","\\mathrm{E}"),E("\\Eta","\\mathrm{H}"),E("\\exist","\\exists"),E("\\harr","\\leftrightarrow"),E("\\hArr","\\Leftrightarrow"),E("\\Harr","\\Leftrightarrow"),E("\\hearts","\\heartsuit"),E("\\image","\\Im"),E("\\infin","\\infty"),E("\\Iota","\\mathrm{I}"),E("\\isin","\\in"),E("\\Kappa","\\mathrm{K}"),E("\\larr","\\leftarrow"),E("\\lArr","\\Leftarrow"),E("\\Larr","\\Leftarrow"),E("\\lrarr","\\leftrightarrow"),E("\\lrArr","\\Leftrightarrow"),E("\\Lrarr","\\Leftrightarrow"),E("\\Mu","\\mathrm{M}"),E("\\natnums","\\mathbb{N}"),E("\\Nu","\\mathrm{N}"),E("\\Omicron","\\mathrm{O}"),E("\\plusmn","\\pm"),E("\\rarr","\\rightarrow"),E("\\rArr","\\Rightarrow"),E("\\Rarr","\\Rightarrow"),E("\\real","\\Re"),E("\\reals","\\mathbb{R}"),E("\\Reals","\\mathbb{R}"),E("\\Rho","\\mathrm{P}"),E("\\sdot","\\cdot"),E("\\sect","\\S"),E("\\spades","\\spadesuit"),E("\\sub","\\subset"),E("\\sube","\\subseteq"),E("\\supe","\\supseteq"),E("\\Tau","\\mathrm{T}"),E("\\thetasym","\\vartheta"),E("\\weierp","\\wp"),E("\\Zeta","\\mathrm{Z}"),E("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),E("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),E("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),E("\\bra","\\mathinner{\\langle{#1}|}"),E("\\ket","\\mathinner{|{#1}\\rangle}"),E("\\braket","\\mathinner{\\langle{#1}\\rangle}"),E("\\Bra","\\left\\langle#1\\right|"),E("\\Ket","\\left|#1\\right\\rangle");var i1=e=>t=>{var r=t.consumeArg().tokens,n=t.consumeArg().tokens,a=t.consumeArg().tokens,l=t.consumeArg().tokens,u=t.macros.get("|"),c=t.macros.get("\\|");t.macros.beginGroup();var m=b=>d=>{e&&(d.macros.set("|",u),a.length&&d.macros.set("\\|",c));var p=b;if(!b&&a.length){var A=d.future();A.text==="|"&&(d.popToken(),p=!0)}return{tokens:p?a:n,numArgs:0}};t.macros.set("|",m(!1)),a.length&&t.macros.set("\\|",m(!0));var f=t.consumeArg().tokens,g=t.expandTokens([...l,...f,...r]);return t.macros.endGroup(),{tokens:g.reverse(),numArgs:0}};E("\\bra@ket",i1(!1)),E("\\bra@set",i1(!0)),E("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),E("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),E("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),E("\\angln","{\\angl n}"),E("\\blue","\\textcolor{##6495ed}{#1}"),E("\\orange","\\textcolor{##ffa500}{#1}"),E("\\pink","\\textcolor{##ff00af}{#1}"),E("\\red","\\textcolor{##df0030}{#1}"),E("\\green","\\textcolor{##28ae7b}{#1}"),E("\\gray","\\textcolor{gray}{#1}"),E("\\purple","\\textcolor{##9d38bd}{#1}"),E("\\blueA","\\textcolor{##ccfaff}{#1}"),E("\\blueB","\\textcolor{##80f6ff}{#1}"),E("\\blueC","\\textcolor{##63d9ea}{#1}"),E("\\blueD","\\textcolor{##11accd}{#1}"),E("\\blueE","\\textcolor{##0c7f99}{#1}"),E("\\tealA","\\textcolor{##94fff5}{#1}"),E("\\tealB","\\textcolor{##26edd5}{#1}"),E("\\tealC","\\textcolor{##01d1c1}{#1}"),E("\\tealD","\\textcolor{##01a995}{#1}"),E("\\tealE","\\textcolor{##208170}{#1}"),E("\\greenA","\\textcolor{##b6ffb0}{#1}"),E("\\greenB","\\textcolor{##8af281}{#1}"),E("\\greenC","\\textcolor{##74cf70}{#1}"),E("\\greenD","\\textcolor{##1fab54}{#1}"),E("\\greenE","\\textcolor{##0d923f}{#1}"),E("\\goldA","\\textcolor{##ffd0a9}{#1}"),E("\\goldB","\\textcolor{##ffbb71}{#1}"),E("\\goldC","\\textcolor{##ff9c39}{#1}"),E("\\goldD","\\textcolor{##e07d10}{#1}"),E("\\goldE","\\textcolor{##a75a05}{#1}"),E("\\redA","\\textcolor{##fca9a9}{#1}"),E("\\redB","\\textcolor{##ff8482}{#1}"),E("\\redC","\\textcolor{##f9685d}{#1}"),E("\\redD","\\textcolor{##e84d39}{#1}"),E("\\redE","\\textcolor{##bc2612}{#1}"),E("\\maroonA","\\textcolor{##ffbde0}{#1}"),E("\\maroonB","\\textcolor{##ff92c6}{#1}"),E("\\maroonC","\\textcolor{##ed5fa6}{#1}"),E("\\maroonD","\\textcolor{##ca337c}{#1}"),E("\\maroonE","\\textcolor{##9e034e}{#1}"),E("\\purpleA","\\textcolor{##ddd7ff}{#1}"),E("\\purpleB","\\textcolor{##c6b9fc}{#1}"),E("\\purpleC","\\textcolor{##aa87ff}{#1}"),E("\\purpleD","\\textcolor{##7854ab}{#1}"),E("\\purpleE","\\textcolor{##543b78}{#1}"),E("\\mintA","\\textcolor{##f5f9e8}{#1}"),E("\\mintB","\\textcolor{##edf2df}{#1}"),E("\\mintC","\\textcolor{##e0e5cc}{#1}"),E("\\grayA","\\textcolor{##f6f7f7}{#1}"),E("\\grayB","\\textcolor{##f0f1f2}{#1}"),E("\\grayC","\\textcolor{##e3e5e6}{#1}"),E("\\grayD","\\textcolor{##d6d8da}{#1}"),E("\\grayE","\\textcolor{##babec2}{#1}"),E("\\grayF","\\textcolor{##888d93}{#1}"),E("\\grayG","\\textcolor{##626569}{#1}"),E("\\grayH","\\textcolor{##3b3e40}{#1}"),E("\\grayI","\\textcolor{##21242c}{#1}"),E("\\kaBlue","\\textcolor{##314453}{#1}"),E("\\kaGreen","\\textcolor{##71B307}{#1}");var a1={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class E6{constructor(t,r,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=r,this.expansionCount=0,this.feed(t),this.macros=new z6(C6,r.macros),this.mode=n,this.stack=[]}feed(t){this.lexer=new e1(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var r,n,a;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:a,end:n}=this.consumeArg(["]"])}else({tokens:a,start:r,end:n}=this.consumeArg());return this.pushToken(new f0("EOF",n.loc)),this.pushTokens(a),r.range(n,"")}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var r=[],n=t&&t.length>0;n||this.consumeSpaces();var a=this.future(),l,u=0,c=0;do{if(l=this.popToken(),r.push(l),l.text==="{")++u;else if(l.text==="}"){if(--u,u===-1)throw new me("Extra }",l)}else if(l.text==="EOF")throw new me("Unexpected end of input in a macro argument, expected '"+(t&&n?t[c]:"}")+"'",l);if(t&&n)if((u===0||u===1&&t[c]==="{")&&l.text===t[c]){if(++c,c===t.length){r.splice(-c,c);break}}else c=0}while(u!==0||n);return a.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:a,end:l}}consumeArgs(t,r){if(r){if(r.length!==t+1)throw new me("The length of delimiters doesn't match the number of args!");for(var n=r[0],a=0;a<n.length;a++){var l=this.popToken();if(n[a]!==l.text)throw new me("Use of the macro doesn't match its definition",l)}}for(var u=[],c=0;c<t;c++)u.push(this.consumeArg(r&&r[c+1]).tokens);return u}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new me("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var r=this.popToken(),n=r.text,a=r.noexpand?null:this._getExpansion(n);if(a==null||t&&a.unexpandable){if(t&&a==null&&n[0]==="\\"&&!this.isDefined(n))throw new me("Undefined control sequence: "+n);return this.pushToken(r),!1}this.countExpansion(1);var l=a.tokens,u=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs){l=l.slice();for(var c=l.length-1;c>=0;--c){var m=l[c];if(m.text==="#"){if(c===0)throw new me("Incomplete placeholder at end of macro body",m);if(m=l[--c],m.text==="#")l.splice(c+1,1);else if(/^[1-9]$/.test(m.text))l.splice(c,2,...u[+m.text-1]);else throw new me("Not a valid argument number",m)}}}return this.pushTokens(l),l.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}throw new Error}expandMacro(t){return this.macros.has(t)?this.expandTokens([new f0(t)]):void 0}expandTokens(t){var r=[],n=this.stack.length;for(this.pushTokens(t);this.stack.length>n;)if(this.expandOnce(!0)===!1){var a=this.stack.pop();a.treatAsRelax&&(a.noexpand=!1,a.treatAsRelax=!1),r.push(a)}return this.countExpansion(r.length),r}expandMacroAsText(t){var r=this.expandMacro(t);return r&&r.map(n=>n.text).join("")}_getExpansion(t){var r=this.macros.get(t);if(r==null)return r;if(t.length===1){var n=this.lexer.catcodes[t];if(n!=null&&n!==13)return}var a=typeof r=="function"?r(this):r;if(typeof a=="string"){var l=0;if(a.indexOf("#")!==-1)for(var u=a.replace(/##/g,"");u.indexOf("#"+(l+1))!==-1;)++l;for(var c=new e1(a,this.settings),m=[],f=c.lex();f.text!=="EOF";)m.push(f),f=c.lex();m.reverse();var g={tokens:m,numArgs:l};return g}return a}isDefined(t){return this.macros.has(t)||yr.hasOwnProperty(t)||ct.math.hasOwnProperty(t)||ct.text.hasOwnProperty(t)||a1.hasOwnProperty(t)}isExpandable(t){var r=this.macros.get(t);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:yr.hasOwnProperty(t)&&!yr[t].primitive}}var l1=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,mi=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),cl={"́":{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"}},s1={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class di{constructor(t,r){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 E6(t,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(t,r){if(r===void 0&&(r=!0),this.fetch().text!==t)throw new me("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var r=this.nextToken;this.consume(),this.gullet.pushToken(new f0("}")),this.gullet.pushTokens(t);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,n}parseExpression(t,r){for(var n=[];;){this.mode==="math"&&this.consumeSpaces();var a=this.fetch();if(di.endOfExpression.indexOf(a.text)!==-1||r&&a.text===r||t&&yr[a.text]&&yr[a.text].infix)break;var l=this.parseAtom(r);if(l){if(l.type==="internal")continue}else break;n.push(l)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(t){for(var r=-1,n,a=0;a<t.length;a++)if(t[a].type==="infix"){if(r!==-1)throw new me("only one infix operator per group",t[a].token);r=a,n=t[a].replaceWith}if(r!==-1&&n){var l,u,c=t.slice(0,r),m=t.slice(r+1);c.length===1&&c[0].type==="ordgroup"?l=c[0]:l={type:"ordgroup",mode:this.mode,body:c},m.length===1&&m[0].type==="ordgroup"?u=m[0]:u={type:"ordgroup",mode:this.mode,body:m};var f;return n==="\\\\abovefrac"?f=this.callFunction(n,[l,t[r],u],[]):f=this.callFunction(n,[l,u],[]),[f]}else return t}handleSupSubscript(t){var r=this.fetch(),n=r.text;this.consume(),this.consumeSpaces();var a;do{var l;a=this.parseGroup(t)}while(((l=a)==null?void 0:l.type)==="internal");if(!a)throw new me("Expected group after '"+n+"'",r);return a}formatUnsupportedCmd(t){for(var r=[],n=0;n<t.length;n++)r.push({type:"textord",mode:"text",text:t[n]});var a={type:"text",mode:this.mode,body:r},l={type:"color",mode:this.mode,color:this.settings.errorColor,body:[a]};return l}parseAtom(t){var r=this.parseGroup("atom",t);if((r==null?void 0:r.type)==="internal"||this.mode==="text")return r;for(var n,a;;){this.consumeSpaces();var l=this.fetch();if(l.text==="\\limits"||l.text==="\\nolimits"){if(r&&r.type==="op"){var u=l.text==="\\limits";r.limits=u,r.alwaysHandleSupSub=!0}else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=l.text==="\\limits");else throw new me("Limit controls must follow a math operator",l);this.consume()}else if(l.text==="^"){if(n)throw new me("Double superscript",l);n=this.handleSupSubscript("superscript")}else if(l.text==="_"){if(a)throw new me("Double subscript",l);a=this.handleSupSubscript("subscript")}else if(l.text==="'"){if(n)throw new me("Double superscript",l);var c={type:"textord",mode:this.mode,text:"\\prime"},m=[c];for(this.consume();this.fetch().text==="'";)m.push(c),this.consume();this.fetch().text==="^"&&m.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:m}}else if(mi[l.text]){var f=l1.test(l.text),g=[];for(g.push(new f0(mi[l.text])),this.consume();;){var b=this.fetch().text;if(!mi[b]||l1.test(b)!==f)break;g.unshift(new f0(mi[b])),this.consume()}var d=this.subparse(g);f?a={type:"ordgroup",mode:"math",body:d}:n={type:"ordgroup",mode:"math",body:d}}else break}return n||a?{type:"supsub",mode:this.mode,base:r,sup:n,sub:a}:r}parseFunction(t,r){var n=this.fetch(),a=n.text,l=yr[a];if(!l)return null;if(this.consume(),r&&r!=="atom"&&!l.allowedInArgument)throw new me("Got function '"+a+"' with no arguments"+(r?" as "+r:""),n);if(this.mode==="text"&&!l.allowedInText)throw new me("Can't use function '"+a+"' in text mode",n);if(this.mode==="math"&&l.allowedInMath===!1)throw new me("Can't use function '"+a+"' in math mode",n);var{args:u,optArgs:c}=this.parseArguments(a,l);return this.callFunction(a,u,c,n,t)}callFunction(t,r,n,a,l){var u={funcName:t,parser:this,token:a,breakOnTokenText:l},c=yr[t];if(c&&c.handler)return c.handler(u,r,n);throw new me("No function handler for "+t)}parseArguments(t,r){var n=r.numArgs+r.numOptionalArgs;if(n===0)return{args:[],optArgs:[]};for(var a=[],l=[],u=0;u<n;u++){var c=r.argTypes&&r.argTypes[u],m=u<r.numOptionalArgs;(r.primitive&&c==null||r.type==="sqrt"&&u===1&&l[0]==null)&&(c="primitive");var f=this.parseGroupOfType("argument to '"+t+"'",c,m);if(m)l.push(f);else if(f!=null)a.push(f);else throw new me("Null argument, please report this as a bug")}return{args:a,optArgs:l}}parseGroupOfType(t,r,n){switch(r){case"color":return this.parseColorGroup(n);case"size":return this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n);case"math":case"text":return this.parseArgumentGroup(n,r);case"hbox":{var a=this.parseArgumentGroup(n,"text");return a!=null?{type:"styling",mode:a.mode,body:[a],style:"text"}:null}case"raw":{var l=this.parseStringGroup("raw",n);return l!=null?{type:"raw",mode:"text",string:l.text}:null}case"primitive":{if(n)throw new me("A primitive argument cannot be optional");var u=this.parseGroup(t);if(u==null)throw new me("Expected group as "+t,this.fetch());return u}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new me("Unknown group type as "+t,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(t,r){var n=this.gullet.scanArgument(r);if(n==null)return null;for(var a="",l;(l=this.fetch()).text!=="EOF";)a+=l.text,this.consume();return this.consume(),n.text=a,n}parseRegexGroup(t,r){for(var n=this.fetch(),a=n,l="",u;(u=this.fetch()).text!=="EOF"&&t.test(l+u.text);)a=u,l+=a.text,this.consume();if(l==="")throw new me("Invalid "+r+": '"+n.text+"'",n);return n.range(a,l)}parseColorGroup(t){var r=this.parseStringGroup("color",t);if(r==null)return null;var n=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!n)throw new me("Invalid color: '"+r.text+"'",r);var a=n[0];return/^[0-9a-f]{6}$/i.test(a)&&(a="#"+a),{type:"color-token",mode:this.mode,color:a}}parseSizeGroup(t){var r,n=!1;if(this.gullet.consumeSpaces(),!t&&this.gullet.future().text!=="{"?r=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):r=this.parseStringGroup("size",t),!r)return null;!t&&r.text.length===0&&(r.text="0pt",n=!0);var a=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!a)throw new me("Invalid size: '"+r.text+"'",r);var l={number:+(a[1]+a[2]),unit:a[3]};if(!Ho(l))throw new me("Invalid unit: '"+l.unit+"'",r);return{type:"size",mode:this.mode,value:l,isBlank:n}}parseUrlGroup(t){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var r=this.parseStringGroup("url",t);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),r==null)return null;var n=r.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:n}}parseArgumentGroup(t,r){var n=this.gullet.scanArgument(t);if(n==null)return null;var a=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var l=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var u={type:"ordgroup",mode:this.mode,loc:n.loc,body:l};return r&&this.switchMode(a),u}parseGroup(t,r){var n=this.fetch(),a=n.text,l;if(a==="{"||a==="\\begingroup"){this.consume();var u=a==="{"?"}":"\\endgroup";this.gullet.beginGroup();var c=this.parseExpression(!1,u),m=this.fetch();this.expect(u),this.gullet.endGroup(),l={type:"ordgroup",mode:this.mode,loc:u0.range(n,m),body:c,semisimple:a==="\\begingroup"||void 0}}else if(l=this.parseFunction(r,t)||this.parseSymbol(),l==null&&a[0]==="\\"&&!a1.hasOwnProperty(a)){if(this.settings.throwOnError)throw new me("Undefined control sequence: "+a,n);l=this.formatUnsupportedCmd(a),this.consume()}return l}formLigatures(t){for(var r=t.length-1,n=0;n<r;++n){var a=t[n],l=a.text;l==="-"&&t[n+1].text==="-"&&(n+1<r&&t[n+2].text==="-"?(t.splice(n,3,{type:"textord",mode:"text",loc:u0.range(a,t[n+2]),text:"---"}),r-=2):(t.splice(n,2,{type:"textord",mode:"text",loc:u0.range(a,t[n+1]),text:"--"}),r-=1)),(l==="'"||l==="`")&&t[n+1].text===l&&(t.splice(n,2,{type:"textord",mode:"text",loc:u0.range(a,t[n+1]),text:l+l}),r-=1)}}parseSymbol(){var t=this.fetch(),r=t.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var n=r.slice(5),a=n.charAt(0)==="*";if(a&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new me(`\\verb assertion failed --
307
- please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:a}}s1.hasOwnProperty(r[0])&&!ct[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',t),r=s1[r[0]]+r.slice(1));var l=A6.exec(r);l&&(r=r.substring(0,l.index),r==="i"?r="ı":r==="j"&&(r="ȷ"));var u;if(ct[this.mode][r]){this.settings.strict&&this.mode==="math"&&Ra.indexOf(r)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',t);var c=ct[this.mode][r].group,m=u0.range(t),f;if(y3.hasOwnProperty(c)){var g=c;f={type:"atom",mode:this.mode,family:g,loc:m,text:r}}else f={type:c,mode:this.mode,loc:m,text:r};u=f}else if(r.charCodeAt(0)>=128)this.settings.strict&&(qo(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),t)),u={type:"textord",mode:"text",loc:u0.range(t),text:r};else return null;if(this.consume(),l)for(var b=0;b<l[0].length;b++){var d=l[0][b];if(!cl[d])throw new me("Unknown accent ' "+d+"'",t);var p=cl[d][this.mode]||cl[d].text;if(!p)throw new me("Accent "+d+" unsupported in "+this.mode+" mode",t);u={type:"accent",mode:this.mode,loc:u0.range(t),label:p,isStretchy:!1,isShifty:!0,base:u}}return u}}di.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var hl=function(t,r){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new di(t,r);delete n.gullet.macros.current["\\df@tag"];var a=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!r.displayMode)throw new me("\\tag works only in display equations");a=[{type:"tag",mode:"text",body:a,tag:n.subparse([new f0("\\df@tag")])}]}return a},o1=function(t,r,n){r.textContent="";var a=ml(t,n).toNode();r.appendChild(a)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),o1=function(){throw new me("KaTeX doesn't work in quirks mode.")});var D6=function(t,r){var n=ml(t,r).toMarkup();return n},B6=function(t,r){var n=new Sa(r);return hl(t,n)},u1=function(t,r,n){if(n.throwOnError||!(t instanceof me))throw t;var a=X.makeSpan(["katex-error"],[new y0(r)]);return a.setAttribute("title",t.toString()),a.setAttribute("style","color:"+n.errorColor),a},ml=function(t,r){var n=new Sa(r);try{var a=hl(t,n);return P3(a,t,n)}catch(l){return u1(l,t,n)}},N6=function(t,r){var n=new Sa(r);try{var a=hl(t,n);return H3(a,t,n)}catch(l){return u1(l,t,n)}},I6="0.16.22",R6={Span:kn,Anchor:Ea,SymbolNode:y0,SvgNode:Y0,PathNode:dr,LineNode:Da},c1={version:I6,render:o1,renderToString:D6,ParseError:me,SETTINGS_SCHEMA:Gn,__parse:B6,__renderToDomTree:ml,__renderToHTMLTree:N6,__setFontMetrics:u3,__defineSymbol:v,__defineFunction:ke,__defineMacro:E,__domTree:R6};const _6={};function q6(e){const t=this,r=e||_6,n=t.data(),a=n.micromarkExtensions||(n.micromarkExtensions=[]),l=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),u=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);a.push(Rm(r)),l.push(Tm()),u.push(zm(r))}const h1=/[#.]/g;function O6(e,t){const r=e||"",n={};let a=0,l,u;for(;a<r.length;){h1.lastIndex=a;const c=h1.exec(r),m=r.slice(a,c?c.index:r.length);m&&(l?l==="#"?n.id=m:Array.isArray(n.className)?n.className.push(m):n.className=[m]:u=m,a+=m.length),c&&(l=c[0],a++)}return{type:"element",tagName:u||t||"div",properties:n,children:[]}}function m1(e,t,r){const n=r?H6(r):void 0;function a(l,u,...c){let m;if(l==null){m={type:"root",children:[]};const f=u;c.unshift(f)}else{m=O6(l,t);const f=m.tagName.toLowerCase(),g=n?n.get(f):void 0;if(m.tagName=g||f,F6(u))c.unshift(u);else for(const[b,d]of Object.entries(u))L6(e,m.properties,b,d)}for(const f of c)dl(m.children,f);return m.type==="element"&&m.tagName==="template"&&(m.content={type:"root",children:m.children},m.children=[]),m}return a}function F6(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,r=Object.keys(e);for(const n of r){const a=t[n];if(a&&typeof a=="object"){if(!Array.isArray(a))return!0;const l=a;for(const u of l)if(typeof u!="number"&&typeof u!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function L6(e,t,r,n){const a=Ss(e,r);let l;if(n!=null){if(typeof n=="number"){if(Number.isNaN(n))return;l=n}else typeof n=="boolean"?l=n:typeof n=="string"?a.spaceSeparated?l=As(n):a.commaSeparated?l=hs(n):a.commaOrSpaceSeparated?l=As(hs(n).join(" ")):l=d1(a,a.property,n):Array.isArray(n)?l=[...n]:l=a.property==="style"?P6(n):String(n);if(Array.isArray(l)){const u=[];for(const c of l)u.push(d1(a,a.property,c));l=u}a.property==="className"&&Array.isArray(t.className)&&(l=t.className.concat(l)),t[a.property]=l}}function dl(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const r of t)dl(e,r);else if(typeof t=="object"&&"type"in t)t.type==="root"?dl(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function d1(e,t,r){if(typeof r=="string"){if(e.number&&r&&!Number.isNaN(Number(r)))return Number(r);if((e.boolean||e.overloadedBoolean)&&(r===""||on(r)===on(t)))return!0}return r}function P6(e){const t=[];for(const[r,n]of Object.entries(e))t.push([r,n].join(": "));return t.join("; ")}function H6(e){const t=new Map;for(const r of e)t.set(r.toLowerCase(),r);return t}const $6=["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"],V6=m1(Ms,"div"),j6=m1(In,"g",$6),pl={html:"http://www.w3.org/1999/xhtml",svg:"http://www.w3.org/2000/svg"};function G6(e,t){return p1(e,{})||{type:"root",children:[]}}function p1(e,t){const r=U6(e,t);return r&&t.afterTransform&&t.afterTransform(e,r),r}function U6(e,t){switch(e.nodeType){case 1:return Z6(e,t);case 3:return Y6(e);case 8:return X6(e);case 9:return f1(e,t);case 10:return W6();case 11:return f1(e,t);default:return}}function f1(e,t){return{type:"root",children:g1(e,t)}}function W6(){return{type:"doctype"}}function Y6(e){return{type:"text",value:e.nodeValue||""}}function X6(e){return{type:"comment",value:e.nodeValue||""}}function Z6(e,t){const r=e.namespaceURI,n=r===pl.svg?j6:V6,a=r===pl.html?e.tagName.toLowerCase():e.tagName,l=r===pl.html&&a==="template"?e.content:e,u=e.getAttributeNames(),c={};let m=-1;for(;++m<u.length;)c[u[m]]=e.getAttribute(u[m])||"";return n(a,c,g1(l,t))}function g1(e,t){const r=e.childNodes,n=[];let a=-1;for(;++a<r.length;){const l=p1(r[a],t);l!==void 0&&n.push(l)}return n}new DOMParser;function K6(e,t){const r=J6(e);return G6(r)}function J6(e){const t=document.createElement("template");return t.innerHTML=e,t.content}const y1=(function(e,t,r){const n=bn(r);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)if(n(e.children[t],t,e))return e.children[t]}),zr=(function(e){if(e==null)return t7;if(typeof e=="string")return e7(e);if(typeof e=="object")return Q6(e);if(typeof e=="function")return fl(e);throw new Error("Expected function, string, or array as `test`")});function Q6(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=zr(e[r]);return fl(n);function n(...a){let l=-1;for(;++l<t.length;)if(t[l].apply(this,a))return!0;return!1}}function e7(e){return fl(t);function t(r){return r.tagName===e}}function fl(e){return t;function t(r,n,a){return!!(r7(r)&&e.call(this,r,typeof n=="number"?n:void 0,a||void 0))}}function t7(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function r7(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const b1=/\n/g,x1=/[\t ]+/g,gl=zr("br"),v1=zr(c7),n7=zr("p"),w1=zr("tr"),i7=zr(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",u7,h7]),k1=zr(["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 a7(e,t){const r=t||{},n="children"in e?e.children:[],a=k1(e),l=A1(e,{whitespace:r.whitespace||"normal"}),u=[];(e.type==="text"||e.type==="comment")&&u.push(...M1(e,{breakBefore:!0,breakAfter:!0}));let c=-1;for(;++c<n.length;)u.push(...S1(n[c],e,{whitespace:l,breakBefore:c?void 0:a,breakAfter:c<n.length-1?gl(n[c+1]):a}));const m=[];let f;for(c=-1;++c<u.length;){const g=u[c];typeof g=="number"?f!==void 0&&g>f&&(f=g):g&&(f!==void 0&&f>-1&&m.push(`
308
- `.repeat(f)||" "),f=-1,m.push(g))}return m.join("")}function S1(e,t,r){return e.type==="element"?l7(e,t,r):e.type==="text"?r.whitespace==="normal"?M1(e,r):s7(e):[]}function l7(e,t,r){const n=A1(e,r),a=e.children||[];let l=-1,u=[];if(i7(e))return u;let c,m;for(gl(e)||w1(e)&&y1(t,e,w1)?m=`
309
- `:n7(e)?(c=2,m=2):k1(e)&&(c=1,m=1);++l<a.length;)u=u.concat(S1(a[l],e,{whitespace:n,breakBefore:l?void 0:c,breakAfter:l<a.length-1?gl(a[l+1]):m}));return v1(e)&&y1(t,e,v1)&&u.push(" "),c&&u.unshift(c),m&&u.push(m),u}function M1(e,t){const r=String(e.value),n=[],a=[];let l=0;for(;l<=r.length;){b1.lastIndex=l;const m=b1.exec(r),f=m&&"index"in m?m.index:r.length;n.push(o7(r.slice(l,f).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),l===0?t.breakBefore:!0,f===r.length?t.breakAfter:!0)),l=f+1}let u=-1,c;for(;++u<n.length;)n[u].charCodeAt(n[u].length-1)===8203||u<n.length-1&&n[u+1].charCodeAt(0)===8203?(a.push(n[u]),c=void 0):n[u]?(typeof c=="number"&&a.push(c),a.push(n[u]),c=0):(u===0||u===n.length-1)&&a.push(0);return a}function s7(e){return[String(e.value)]}function o7(e,t,r){const n=[];let a=0,l;for(;a<e.length;){x1.lastIndex=a;const u=x1.exec(e);l=u?u.index:e.length,!a&&!l&&u&&!t&&n.push(""),a!==l&&n.push(e.slice(a,l)),a=u?l+u[0].length:l}return a!==l&&!r&&n.push(""),n.join(" ")}function A1(e,t){if(e.type==="element"){const 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}function u7(e){return!!(e.properties||{}).hidden}function c7(e){return e.tagName==="td"||e.tagName==="th"}function h7(e){return e.tagName==="dialog"&&!(e.properties||{}).open}const m7={},d7=[];function p7(e){const t=e||m7;return function(r,n){ua(r,"element",function(a,l){const u=Array.isArray(a.properties.className)?a.properties.className:d7,c=u.includes("language-math"),m=u.includes("math-display"),f=u.includes("math-inline");let g=m;if(!c&&!m&&!f)return;let b=l[l.length-1],d=a;if(a.tagName==="code"&&c&&b&&b.type==="element"&&b.tagName==="pre"&&(d=b,b=l[l.length-2],g=!0),!b)return;const p=a7(d,{whitespace:"pre"});let A;try{A=c1.renderToString(p,{...t,displayMode:g,throwOnError:!0})}catch(H){const R=H,L=R.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...l,a],cause:R,place:a.position,ruleId:L,source:"rehype-katex"});try{A=c1.renderToString(p,{...t,displayMode:g,strict:"ignore",throwOnError:!1})}catch{A=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(H)},children:[{type:"text",value:p}]}]}}typeof A=="string"&&(A=K6(A).children);const B=b.children.indexOf(d);return b.children.splice(B,1,...A),ko})}}function T1(e,t){const r=String(e);if(typeof t!="string")throw new TypeError("Expected character");let n=0,a=r.indexOf(t);for(;a!==-1;)n++,a=r.indexOf(t,a+t.length);return n}function f7(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function g7(e,t,r){const a=bn((r||{}).ignore||[]),l=y7(t);let u=-1;for(;++u<l.length;)ua(e,"text",c);function c(f,g){let b=-1,d;for(;++b<g.length;){const p=g[b],A=d?d.children:void 0;if(a(p,A?A.indexOf(p):void 0,d))return;d=p}if(d)return m(f,g)}function m(f,g){const b=g[g.length-1],d=l[u][0],p=l[u][1];let A=0;const H=b.children.indexOf(f);let R=!1,L=[];d.lastIndex=0;let K=d.exec(f.value);for(;K;){const ae=K.index,re={index:K.index,input:K.input,stack:[...g,f]};let Y=p(...K,re);if(typeof Y=="string"&&(Y=Y.length>0?{type:"text",value:Y}:void 0),Y===!1?d.lastIndex=ae+1:(A!==ae&&L.push({type:"text",value:f.value.slice(A,ae)}),Array.isArray(Y)?L.push(...Y):Y&&L.push(Y),A=ae+K[0].length,R=!0),!d.global)break;K=d.exec(f.value)}return R?(A<f.value.length&&L.push({type:"text",value:f.value.slice(A)}),b.children.splice(H,1,...L)):L=[f],H+L.length}}function y7(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const r=!e[0]||Array.isArray(e[0])?e:[e];let n=-1;for(;++n<r.length;){const a=r[n];t.push([b7(a[0]),x7(a[1])])}return t}function b7(e){return typeof e=="string"?new RegExp(f7(e),"g"):e}function x7(e){return typeof e=="function"?e:function(){return e}}const yl="phrasing",bl=["autolink","link","image","label"];function v7(){return{transforms:[z7],enter:{literalAutolink:k7,literalAutolinkEmail:xl,literalAutolinkHttp:xl,literalAutolinkWww:xl},exit:{literalAutolink:T7,literalAutolinkEmail:A7,literalAutolinkHttp:S7,literalAutolinkWww:M7}}}function w7(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:yl,notInConstruct:bl},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:yl,notInConstruct:bl},{character:":",before:"[ps]",after:"\\/",inConstruct:yl,notInConstruct:bl}]}}function k7(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function xl(e){this.config.enter.autolinkProtocol.call(this,e)}function S7(e){this.config.exit.autolinkProtocol.call(this,e)}function M7(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function A7(e){this.config.exit.autolinkEmail.call(this,e)}function T7(e){this.exit(e)}function z7(e){g7(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,C7],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),E7]],{ignore:["link","linkReference"]})}function C7(e,t,r,n,a){let l="";if(!z1(a)||(/^w/i.test(t)&&(r=t+r,t="",l="http://"),!D7(r)))return!1;const u=B7(r+n);if(!u[0])return!1;const c={type:"link",title:null,url:l+t+u[0],children:[{type:"text",value:t+u[0]}]};return u[1]?[c,{type:"text",value:u[1]}]:c}function E7(e,t,r,n){return!z1(n,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function D7(e){const 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])))}function B7(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let r=t[0],n=r.indexOf(")");const a=T1(e,"(");let l=T1(e,")");for(;n!==-1&&a>l;)e+=r.slice(0,n+1),r=r.slice(n+1),n=r.indexOf(")"),l++;return[e,r]}function z1(e,t){const r=e.input.charCodeAt(e.index-1);return(e.index===0||Sr(r)||_n(r))&&(!t||r!==47)}C1.peek=P7;function N7(){this.buffer()}function I7(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function R7(){this.buffer()}function _7(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function q7(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=A0(this.sliceSerialize(e)).toLowerCase(),r.label=t}function O7(e){this.exit(e)}function F7(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=A0(this.sliceSerialize(e)).toLowerCase(),r.label=t}function L7(e){this.exit(e)}function P7(){return"["}function C1(e,t,r,n){const a=r.createTracker(n);let l=a.move("[^");const u=r.enter("footnoteReference"),c=r.enter("reference");return l+=a.move(r.safe(r.associationId(e),{after:"]",before:l})),c(),u(),l+=a.move("]"),l}function H7(){return{enter:{gfmFootnoteCallString:N7,gfmFootnoteCall:I7,gfmFootnoteDefinitionLabelString:R7,gfmFootnoteDefinition:_7},exit:{gfmFootnoteCallString:q7,gfmFootnoteCall:O7,gfmFootnoteDefinitionLabelString:F7,gfmFootnoteDefinition:L7}}}function $7(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:r,footnoteReference:C1},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function r(n,a,l,u){const c=l.createTracker(u);let m=c.move("[^");const f=l.enter("footnoteDefinition"),g=l.enter("label");return m+=c.move(l.safe(l.associationId(n),{before:m,after:"]"})),g(),m+=c.move("]:"),n.children&&n.children.length>0&&(c.shift(4),m+=c.move((t?`
310
- `:" ")+l.indentLines(l.containerFlow(n,c.current()),t?E1:V7))),f(),m}}function V7(e,t,r){return t===0?e:E1(e,t,r)}function E1(e,t,r){return(r?"":" ")+e}const j7=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];D1.peek=X7;function G7(){return{canContainEols:["delete"],enter:{strikethrough:W7},exit:{strikethrough:Y7}}}function U7(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:j7}],handlers:{delete:D1}}}function W7(e){this.enter({type:"delete",children:[]},e)}function Y7(e){this.exit(e)}function D1(e,t,r,n){const a=r.createTracker(n),l=r.enter("strikethrough");let u=a.move("~~");return u+=r.containerPhrasing(e,{...a.current(),before:u,after:"~"}),u+=a.move("~~"),l(),u}function X7(){return"~"}function Z7(e){return e.length}function K7(e,t){const r=t||{},n=(r.align||[]).concat(),a=r.stringLength||Z7,l=[],u=[],c=[],m=[];let f=0,g=-1;for(;++g<e.length;){const B=[],H=[];let R=-1;for(e[g].length>f&&(f=e[g].length);++R<e[g].length;){const L=J7(e[g][R]);if(r.alignDelimiters!==!1){const K=a(L);H[R]=K,(m[R]===void 0||K>m[R])&&(m[R]=K)}B.push(L)}u[g]=B,c[g]=H}let b=-1;if(typeof n=="object"&&"length"in n)for(;++b<f;)l[b]=B1(n[b]);else{const B=B1(n);for(;++b<f;)l[b]=B}b=-1;const d=[],p=[];for(;++b<f;){const B=l[b];let H="",R="";B===99?(H=":",R=":"):B===108?H=":":B===114&&(R=":");let L=r.alignDelimiters===!1?1:Math.max(1,m[b]-H.length-R.length);const K=H+"-".repeat(L)+R;r.alignDelimiters!==!1&&(L=H.length+L+R.length,L>m[b]&&(m[b]=L),p[b]=L),d[b]=K}u.splice(1,0,d),c.splice(1,0,p),g=-1;const A=[];for(;++g<u.length;){const B=u[g],H=c[g];b=-1;const R=[];for(;++b<f;){const L=B[b]||"";let K="",ae="";if(r.alignDelimiters!==!1){const re=m[b]-(H[b]||0),Y=l[b];Y===114?K=" ".repeat(re):Y===99?re%2?(K=" ".repeat(re/2+.5),ae=" ".repeat(re/2-.5)):(K=" ".repeat(re/2),ae=K):ae=" ".repeat(re)}r.delimiterStart!==!1&&!b&&R.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&L==="")&&(r.delimiterStart!==!1||b)&&R.push(" "),r.alignDelimiters!==!1&&R.push(K),R.push(L),r.alignDelimiters!==!1&&R.push(ae),r.padding!==!1&&R.push(" "),(r.delimiterEnd!==!1||b!==f-1)&&R.push("|")}A.push(r.delimiterEnd===!1?R.join("").replace(/ +$/,""):R.join(""))}return A.join(`
311
- `)}function J7(e){return e==null?"":String(e)}function B1(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function Q7(e,t,r,n){const a=r.enter("blockquote"),l=r.createTracker(n);l.move("> "),l.shift(2);const u=r.indentLines(r.containerFlow(e,l.current()),ed);return a(),u}function ed(e,t,r){return">"+(r?"":" ")+e}function td(e,t){return N1(e,t.inConstruct,!0)&&!N1(e,t.notInConstruct,!1)}function N1(e,t,r){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return r;let n=-1;for(;++n<t.length;)if(e.includes(t[n]))return!0;return!1}function I1(e,t,r,n){let a=-1;for(;++a<r.unsafe.length;)if(r.unsafe[a].character===`
312
- `&&td(r.stack,r.unsafe[a]))return/[ \t]/.test(n.before)?"":" ";return`\\
313
- `}function rd(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function nd(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function id(e,t,r,n){const a=nd(r),l=e.value||"",u=a==="`"?"GraveAccent":"Tilde";if(rd(e,r)){const b=r.enter("codeIndented"),d=r.indentLines(l,ad);return b(),d}const c=r.createTracker(n),m=a.repeat(Math.max(Io(l,a)+1,3)),f=r.enter("codeFenced");let g=c.move(m);if(e.lang){const b=r.enter(`codeFencedLang${u}`);g+=c.move(r.safe(e.lang,{before:g,after:" ",encode:["`"],...c.current()})),b()}if(e.lang&&e.meta){const b=r.enter(`codeFencedMeta${u}`);g+=c.move(" "),g+=c.move(r.safe(e.meta,{before:g,after:`
305
+ ?)[ \r ]*`,sl="[̀-ͯ]",z6=new RegExp(sl+"+$"),T6="("+Ju+"+)|"+(A6+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(sl+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(sl+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+M6)+("|"+S6+")");class Qu{constructor(t,r){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=t,this.settings=r,this.tokenRegex=new RegExp(T6,"g"),this.catcodes={"%":14,"~":13}}setCatcode(t,r){this.catcodes[t]=r}lex(){var t=this.input,r=this.tokenRegex.lastIndex;if(r===t.length)return new h0("EOF",new r0(this,r,r));var n=this.tokenRegex.exec(t);if(n===null||n.index!==r)throw new de("Unexpected character: '"+t[r]+"'",new h0(t[r],new r0(this,r,r+1)));var a=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[a]===14){var l=t.indexOf(`
306
+ `,this.tokenRegex.lastIndex);return l===-1?(this.tokenRegex.lastIndex=t.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=l+1,this.lex()}return new h0(a,new r0(this,r,this.tokenRegex.lastIndex))}}class C6{constructor(t,r){t===void 0&&(t={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=t,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new de("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var t=this.undefStack.pop();for(var r in t)t.hasOwnProperty(r)&&(t[r]==null?delete this.current[r]:this.current[r]=t[r])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(t){return this.current.hasOwnProperty(t)||this.builtins.hasOwnProperty(t)}get(t){return this.current.hasOwnProperty(t)?this.current[t]:this.builtins[t]}set(t,r,n){if(n===void 0&&(n=!1),n){for(var a=0;a<this.undefStack.length;a++)delete this.undefStack[a][t];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][t]=r)}else{var l=this.undefStack[this.undefStack.length-1];l&&!l.hasOwnProperty(t)&&(l[t]=this.current[t])}r==null?delete this.current[t]:this.current[t]=r}}var E6=Cu;D("\\noexpand",function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}}),D("\\expandafter",function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}}),D("\\@firstoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[0],numArgs:0}}),D("\\@secondoftwo",function(e){var t=e.consumeArgs(2);return{tokens:t[1],numArgs:0}}),D("\\@ifnextchar",function(e){var t=e.consumeArgs(3);e.consumeSpaces();var r=e.future();return t[0].length===1&&t[0][0].text===r.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}}),D("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),D("\\TextOrMath",function(e){var t=e.consumeArgs(2);return e.mode==="text"?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var e1={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};D("\\char",function(e){var t=e.popToken(),r,n="";if(t.text==="'")r=8,t=e.popToken();else if(t.text==='"')r=16,t=e.popToken();else if(t.text==="`")if(t=e.popToken(),t.text[0]==="\\")n=t.text.charCodeAt(1);else{if(t.text==="EOF")throw new de("\\char` missing argument");n=t.text.charCodeAt(0)}else r=10;if(r){if(n=e1[t.text],n==null||n>=r)throw new de("Invalid base-"+r+" digit "+t.text);for(var a;(a=e1[e.future().text])!=null&&a<r;)n*=r,n+=a,e.popToken()}return"\\@char{"+n+"}"});var ol=(e,t,r,n)=>{var a=e.consumeArg().tokens;if(a.length!==1)throw new de("\\newcommand's first argument must be a macro name");var l=a[0].text,u=e.isDefined(l);if(u&&!t)throw new de("\\newcommand{"+l+"} attempting to redefine "+(l+"; use \\renewcommand"));if(!u&&!r)throw new de("\\renewcommand{"+l+"} when command "+l+" does not yet exist; use \\newcommand");var c=0;if(a=e.consumeArg().tokens,a.length===1&&a[0].text==="["){for(var m="",f=e.expandNextToken();f.text!=="]"&&f.text!=="EOF";)m+=f.text,f=e.expandNextToken();if(!m.match(/^\s*[0-9]+\s*$/))throw new de("Invalid number of arguments: "+m);c=parseInt(m),a=e.consumeArg().tokens}return u&&n||e.macros.set(l,{tokens:a,numArgs:c}),""};D("\\newcommand",e=>ol(e,!1,!0,!1)),D("\\renewcommand",e=>ol(e,!0,!1,!1)),D("\\providecommand",e=>ol(e,!0,!0,!0)),D("\\message",e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(r=>r.text).join("")),""}),D("\\errmessage",e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(r=>r.text).join("")),""}),D("\\show",e=>{var t=e.popToken(),r=t.text;return console.log(t,e.macros.get(r),br[r],ct.math[r],ct.text[r]),""}),D("\\bgroup","{"),D("\\egroup","}"),D("~","\\nobreakspace"),D("\\lq","`"),D("\\rq","'"),D("\\aa","\\r a"),D("\\AA","\\r A"),D("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),D("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),D("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),D("ℬ","\\mathscr{B}"),D("ℰ","\\mathscr{E}"),D("ℱ","\\mathscr{F}"),D("ℋ","\\mathscr{H}"),D("ℐ","\\mathscr{I}"),D("ℒ","\\mathscr{L}"),D("ℳ","\\mathscr{M}"),D("ℛ","\\mathscr{R}"),D("ℭ","\\mathfrak{C}"),D("ℌ","\\mathfrak{H}"),D("ℨ","\\mathfrak{Z}"),D("\\Bbbk","\\Bbb{k}"),D("·","\\cdotp"),D("\\llap","\\mathllap{\\textrm{#1}}"),D("\\rlap","\\mathrlap{\\textrm{#1}}"),D("\\clap","\\mathclap{\\textrm{#1}}"),D("\\mathstrut","\\vphantom{(}"),D("\\underbar","\\underline{\\text{#1}}"),D("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),D("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),D("\\ne","\\neq"),D("≠","\\neq"),D("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),D("∉","\\notin"),D("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),D("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),D("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),D("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),D("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),D("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),D("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),D("⟂","\\perp"),D("‼","\\mathclose{!\\mkern-0.8mu!}"),D("∌","\\notni"),D("⌜","\\ulcorner"),D("⌝","\\urcorner"),D("⌞","\\llcorner"),D("⌟","\\lrcorner"),D("©","\\copyright"),D("®","\\textregistered"),D("️","\\textregistered"),D("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),D("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),D("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),D("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),D("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),D("⋮","\\vdots"),D("\\varGamma","\\mathit{\\Gamma}"),D("\\varDelta","\\mathit{\\Delta}"),D("\\varTheta","\\mathit{\\Theta}"),D("\\varLambda","\\mathit{\\Lambda}"),D("\\varXi","\\mathit{\\Xi}"),D("\\varPi","\\mathit{\\Pi}"),D("\\varSigma","\\mathit{\\Sigma}"),D("\\varUpsilon","\\mathit{\\Upsilon}"),D("\\varPhi","\\mathit{\\Phi}"),D("\\varPsi","\\mathit{\\Psi}"),D("\\varOmega","\\mathit{\\Omega}"),D("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),D("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),D("\\boxed","\\fbox{$\\displaystyle{#1}$}"),D("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),D("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),D("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),D("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),D("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");var t1={",":"\\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"};D("\\dots",function(e){var t="\\dotso",r=e.expandAfterFuture().text;return r in t1?t=t1[r]:(r.slice(0,4)==="\\not"||r in ct.math&&["bin","rel"].includes(ct.math[r].group))&&(t="\\dotsb"),t});var ul={")":!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};D("\\dotso",function(e){var t=e.future().text;return t in ul?"\\ldots\\,":"\\ldots"}),D("\\dotsc",function(e){var t=e.future().text;return t in ul&&t!==","?"\\ldots\\,":"\\ldots"}),D("\\cdots",function(e){var t=e.future().text;return t in ul?"\\@cdots\\,":"\\@cdots"}),D("\\dotsb","\\cdots"),D("\\dotsm","\\cdots"),D("\\dotsi","\\!\\cdots"),D("\\dotsx","\\ldots\\,"),D("\\DOTSI","\\relax"),D("\\DOTSB","\\relax"),D("\\DOTSX","\\relax"),D("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),D("\\,","\\tmspace+{3mu}{.1667em}"),D("\\thinspace","\\,"),D("\\>","\\mskip{4mu}"),D("\\:","\\tmspace+{4mu}{.2222em}"),D("\\medspace","\\:"),D("\\;","\\tmspace+{5mu}{.2777em}"),D("\\thickspace","\\;"),D("\\!","\\tmspace-{3mu}{.1667em}"),D("\\negthinspace","\\!"),D("\\negmedspace","\\tmspace-{4mu}{.2222em}"),D("\\negthickspace","\\tmspace-{5mu}{.277em}"),D("\\enspace","\\kern.5em "),D("\\enskip","\\hskip.5em\\relax"),D("\\quad","\\hskip1em\\relax"),D("\\qquad","\\hskip2em\\relax"),D("\\tag","\\@ifstar\\tag@literal\\tag@paren"),D("\\tag@paren","\\tag@literal{({#1})}"),D("\\tag@literal",e=>{if(e.macros.get("\\df@tag"))throw new de("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),D("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),D("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),D("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),D("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),D("\\newline","\\\\\\relax"),D("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var r1=xe(I0["Main-Regular"][84][1]-.7*I0["Main-Regular"][65][1]);D("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+r1+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),D("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+r1+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),D("\\hspace","\\@ifstar\\@hspacer\\@hspace"),D("\\@hspace","\\hskip #1\\relax"),D("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),D("\\ordinarycolon",":"),D("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),D("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),D("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),D("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),D("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),D("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),D("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),D("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),D("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),D("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),D("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),D("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),D("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),D("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),D("∷","\\dblcolon"),D("∹","\\eqcolon"),D("≔","\\coloneqq"),D("≕","\\eqqcolon"),D("⩴","\\Coloneqq"),D("\\ratio","\\vcentcolon"),D("\\coloncolon","\\dblcolon"),D("\\colonequals","\\coloneqq"),D("\\coloncolonequals","\\Coloneqq"),D("\\equalscolon","\\eqqcolon"),D("\\equalscoloncolon","\\Eqqcolon"),D("\\colonminus","\\coloneq"),D("\\coloncolonminus","\\Coloneq"),D("\\minuscolon","\\eqcolon"),D("\\minuscoloncolon","\\Eqcolon"),D("\\coloncolonapprox","\\Colonapprox"),D("\\coloncolonsim","\\Colonsim"),D("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),D("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),D("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),D("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),D("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),D("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),D("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),D("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),D("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),D("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),D("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),D("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),D("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),D("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),D("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),D("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),D("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),D("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),D("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),D("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),D("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),D("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),D("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),D("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),D("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),D("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),D("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),D("\\imath","\\html@mathml{\\@imath}{ı}"),D("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),D("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),D("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),D("⟦","\\llbracket"),D("⟧","\\rrbracket"),D("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),D("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),D("⦃","\\lBrace"),D("⦄","\\rBrace"),D("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),D("⦵","\\minuso"),D("\\darr","\\downarrow"),D("\\dArr","\\Downarrow"),D("\\Darr","\\Downarrow"),D("\\lang","\\langle"),D("\\rang","\\rangle"),D("\\uarr","\\uparrow"),D("\\uArr","\\Uparrow"),D("\\Uarr","\\Uparrow"),D("\\N","\\mathbb{N}"),D("\\R","\\mathbb{R}"),D("\\Z","\\mathbb{Z}"),D("\\alef","\\aleph"),D("\\alefsym","\\aleph"),D("\\Alpha","\\mathrm{A}"),D("\\Beta","\\mathrm{B}"),D("\\bull","\\bullet"),D("\\Chi","\\mathrm{X}"),D("\\clubs","\\clubsuit"),D("\\cnums","\\mathbb{C}"),D("\\Complex","\\mathbb{C}"),D("\\Dagger","\\ddagger"),D("\\diamonds","\\diamondsuit"),D("\\empty","\\emptyset"),D("\\Epsilon","\\mathrm{E}"),D("\\Eta","\\mathrm{H}"),D("\\exist","\\exists"),D("\\harr","\\leftrightarrow"),D("\\hArr","\\Leftrightarrow"),D("\\Harr","\\Leftrightarrow"),D("\\hearts","\\heartsuit"),D("\\image","\\Im"),D("\\infin","\\infty"),D("\\Iota","\\mathrm{I}"),D("\\isin","\\in"),D("\\Kappa","\\mathrm{K}"),D("\\larr","\\leftarrow"),D("\\lArr","\\Leftarrow"),D("\\Larr","\\Leftarrow"),D("\\lrarr","\\leftrightarrow"),D("\\lrArr","\\Leftrightarrow"),D("\\Lrarr","\\Leftrightarrow"),D("\\Mu","\\mathrm{M}"),D("\\natnums","\\mathbb{N}"),D("\\Nu","\\mathrm{N}"),D("\\Omicron","\\mathrm{O}"),D("\\plusmn","\\pm"),D("\\rarr","\\rightarrow"),D("\\rArr","\\Rightarrow"),D("\\Rarr","\\Rightarrow"),D("\\real","\\Re"),D("\\reals","\\mathbb{R}"),D("\\Reals","\\mathbb{R}"),D("\\Rho","\\mathrm{P}"),D("\\sdot","\\cdot"),D("\\sect","\\S"),D("\\spades","\\spadesuit"),D("\\sub","\\subset"),D("\\sube","\\subseteq"),D("\\supe","\\supseteq"),D("\\Tau","\\mathrm{T}"),D("\\thetasym","\\vartheta"),D("\\weierp","\\wp"),D("\\Zeta","\\mathrm{Z}"),D("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),D("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),D("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),D("\\bra","\\mathinner{\\langle{#1}|}"),D("\\ket","\\mathinner{|{#1}\\rangle}"),D("\\braket","\\mathinner{\\langle{#1}\\rangle}"),D("\\Bra","\\left\\langle#1\\right|"),D("\\Ket","\\left|#1\\right\\rangle");var n1=e=>t=>{var r=t.consumeArg().tokens,n=t.consumeArg().tokens,a=t.consumeArg().tokens,l=t.consumeArg().tokens,u=t.macros.get("|"),c=t.macros.get("\\|");t.macros.beginGroup();var m=b=>d=>{e&&(d.macros.set("|",u),a.length&&d.macros.set("\\|",c));var p=b;if(!b&&a.length){var A=d.future();A.text==="|"&&(d.popToken(),p=!0)}return{tokens:p?a:n,numArgs:0}};t.macros.set("|",m(!1)),a.length&&t.macros.set("\\|",m(!0));var f=t.consumeArg().tokens,g=t.expandTokens([...l,...f,...r]);return t.macros.endGroup(),{tokens:g.reverse(),numArgs:0}};D("\\bra@ket",n1(!1)),D("\\bra@set",n1(!0)),D("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),D("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),D("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),D("\\angln","{\\angl n}"),D("\\blue","\\textcolor{##6495ed}{#1}"),D("\\orange","\\textcolor{##ffa500}{#1}"),D("\\pink","\\textcolor{##ff00af}{#1}"),D("\\red","\\textcolor{##df0030}{#1}"),D("\\green","\\textcolor{##28ae7b}{#1}"),D("\\gray","\\textcolor{gray}{#1}"),D("\\purple","\\textcolor{##9d38bd}{#1}"),D("\\blueA","\\textcolor{##ccfaff}{#1}"),D("\\blueB","\\textcolor{##80f6ff}{#1}"),D("\\blueC","\\textcolor{##63d9ea}{#1}"),D("\\blueD","\\textcolor{##11accd}{#1}"),D("\\blueE","\\textcolor{##0c7f99}{#1}"),D("\\tealA","\\textcolor{##94fff5}{#1}"),D("\\tealB","\\textcolor{##26edd5}{#1}"),D("\\tealC","\\textcolor{##01d1c1}{#1}"),D("\\tealD","\\textcolor{##01a995}{#1}"),D("\\tealE","\\textcolor{##208170}{#1}"),D("\\greenA","\\textcolor{##b6ffb0}{#1}"),D("\\greenB","\\textcolor{##8af281}{#1}"),D("\\greenC","\\textcolor{##74cf70}{#1}"),D("\\greenD","\\textcolor{##1fab54}{#1}"),D("\\greenE","\\textcolor{##0d923f}{#1}"),D("\\goldA","\\textcolor{##ffd0a9}{#1}"),D("\\goldB","\\textcolor{##ffbb71}{#1}"),D("\\goldC","\\textcolor{##ff9c39}{#1}"),D("\\goldD","\\textcolor{##e07d10}{#1}"),D("\\goldE","\\textcolor{##a75a05}{#1}"),D("\\redA","\\textcolor{##fca9a9}{#1}"),D("\\redB","\\textcolor{##ff8482}{#1}"),D("\\redC","\\textcolor{##f9685d}{#1}"),D("\\redD","\\textcolor{##e84d39}{#1}"),D("\\redE","\\textcolor{##bc2612}{#1}"),D("\\maroonA","\\textcolor{##ffbde0}{#1}"),D("\\maroonB","\\textcolor{##ff92c6}{#1}"),D("\\maroonC","\\textcolor{##ed5fa6}{#1}"),D("\\maroonD","\\textcolor{##ca337c}{#1}"),D("\\maroonE","\\textcolor{##9e034e}{#1}"),D("\\purpleA","\\textcolor{##ddd7ff}{#1}"),D("\\purpleB","\\textcolor{##c6b9fc}{#1}"),D("\\purpleC","\\textcolor{##aa87ff}{#1}"),D("\\purpleD","\\textcolor{##7854ab}{#1}"),D("\\purpleE","\\textcolor{##543b78}{#1}"),D("\\mintA","\\textcolor{##f5f9e8}{#1}"),D("\\mintB","\\textcolor{##edf2df}{#1}"),D("\\mintC","\\textcolor{##e0e5cc}{#1}"),D("\\grayA","\\textcolor{##f6f7f7}{#1}"),D("\\grayB","\\textcolor{##f0f1f2}{#1}"),D("\\grayC","\\textcolor{##e3e5e6}{#1}"),D("\\grayD","\\textcolor{##d6d8da}{#1}"),D("\\grayE","\\textcolor{##babec2}{#1}"),D("\\grayF","\\textcolor{##888d93}{#1}"),D("\\grayG","\\textcolor{##626569}{#1}"),D("\\grayH","\\textcolor{##3b3e40}{#1}"),D("\\grayI","\\textcolor{##21242c}{#1}"),D("\\kaBlue","\\textcolor{##314453}{#1}"),D("\\kaGreen","\\textcolor{##71B307}{#1}");var i1={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class D6{constructor(t,r,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=r,this.expansionCount=0,this.feed(t),this.macros=new C6(E6,r.macros),this.mode=n,this.stack=[]}feed(t){this.lexer=new Qu(t,this.settings)}switchMode(t){this.mode=t}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(t){this.stack.push(t)}pushTokens(t){this.stack.push(...t)}scanArgument(t){var r,n,a;if(t){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:a,end:n}=this.consumeArg(["]"])}else({tokens:a,start:r,end:n}=this.consumeArg());return this.pushToken(new h0("EOF",n.loc)),this.pushTokens(a),new h0("",r0.range(r,n))}consumeSpaces(){for(;;){var t=this.future();if(t.text===" ")this.stack.pop();else break}}consumeArg(t){var r=[],n=t&&t.length>0;n||this.consumeSpaces();var a=this.future(),l,u=0,c=0;do{if(l=this.popToken(),r.push(l),l.text==="{")++u;else if(l.text==="}"){if(--u,u===-1)throw new de("Extra }",l)}else if(l.text==="EOF")throw new de("Unexpected end of input in a macro argument, expected '"+(t&&n?t[c]:"}")+"'",l);if(t&&n)if((u===0||u===1&&t[c]==="{")&&l.text===t[c]){if(++c,c===t.length){r.splice(-c,c);break}}else c=0}while(u!==0||n);return a.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:a,end:l}}consumeArgs(t,r){if(r){if(r.length!==t+1)throw new de("The length of delimiters doesn't match the number of args!");for(var n=r[0],a=0;a<n.length;a++){var l=this.popToken();if(n[a]!==l.text)throw new de("Use of the macro doesn't match its definition",l)}}for(var u=[],c=0;c<t;c++)u.push(this.consumeArg(r&&r[c+1]).tokens);return u}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new de("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(t){var r=this.popToken(),n=r.text,a=r.noexpand?null:this._getExpansion(n);if(a==null||t&&a.unexpandable){if(t&&a==null&&n[0]==="\\"&&!this.isDefined(n))throw new de("Undefined control sequence: "+n);return this.pushToken(r),!1}this.countExpansion(1);var l=a.tokens,u=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs){l=l.slice();for(var c=l.length-1;c>=0;--c){var m=l[c];if(m.text==="#"){if(c===0)throw new de("Incomplete placeholder at end of macro body",m);if(m=l[--c],m.text==="#")l.splice(c+1,1);else if(/^[1-9]$/.test(m.text))l.splice(c,2,...u[+m.text-1]);else throw new de("Not a valid argument number",m)}}}return this.pushTokens(l),l.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var t=this.stack.pop();return t.treatAsRelax&&(t.text="\\relax"),t}throw new Error}expandMacro(t){return this.macros.has(t)?this.expandTokens([new h0(t)]):void 0}expandTokens(t){var r=[],n=this.stack.length;for(this.pushTokens(t);this.stack.length>n;)if(this.expandOnce(!0)===!1){var a=this.stack.pop();a.treatAsRelax&&(a.noexpand=!1,a.treatAsRelax=!1),r.push(a)}return this.countExpansion(r.length),r}expandMacroAsText(t){var r=this.expandMacro(t);return r&&r.map(n=>n.text).join("")}_getExpansion(t){var r=this.macros.get(t);if(r==null)return r;if(t.length===1){var n=this.lexer.catcodes[t];if(n!=null&&n!==13)return}var a=typeof r=="function"?r(this):r;if(typeof a=="string"){var l=0;if(a.indexOf("#")!==-1)for(var u=a.replace(/##/g,"");u.indexOf("#"+(l+1))!==-1;)++l;for(var c=new Qu(a,this.settings),m=[],f=c.lex();f.text!=="EOF";)m.push(f),f=c.lex();m.reverse();var g={tokens:m,numArgs:l};return g}return a}isDefined(t){return this.macros.has(t)||br.hasOwnProperty(t)||ct.math.hasOwnProperty(t)||ct.text.hasOwnProperty(t)||i1.hasOwnProperty(t)}isExpandable(t){var r=this.macros.get(t);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:br.hasOwnProperty(t)&&!br[t].primitive}}var a1=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,yi=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),cl={"́":{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"}},l1={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class bi{constructor(t,r){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 D6(t,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(t,r){if(r===void 0&&(r=!0),this.fetch().text!==t)throw new de("Expected '"+t+"', got '"+this.fetch().text+"'",this.fetch());r&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(t){this.mode=t,this.gullet.switchMode(t)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var t=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),t}finally{this.gullet.endGroups()}}subparse(t){var r=this.nextToken;this.consume(),this.gullet.pushToken(new h0("}")),this.gullet.pushTokens(t);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,n}parseExpression(t,r){for(var n=[];;){this.mode==="math"&&this.consumeSpaces();var a=this.fetch();if(bi.endOfExpression.indexOf(a.text)!==-1||r&&a.text===r||t&&br[a.text]&&br[a.text].infix)break;var l=this.parseAtom(r);if(l){if(l.type==="internal")continue}else break;n.push(l)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(t){for(var r=-1,n,a=0;a<t.length;a++)if(t[a].type==="infix"){if(r!==-1)throw new de("only one infix operator per group",t[a].token);r=a,n=t[a].replaceWith}if(r!==-1&&n){var l,u,c=t.slice(0,r),m=t.slice(r+1);c.length===1&&c[0].type==="ordgroup"?l=c[0]:l={type:"ordgroup",mode:this.mode,body:c},m.length===1&&m[0].type==="ordgroup"?u=m[0]:u={type:"ordgroup",mode:this.mode,body:m};var f;return n==="\\\\abovefrac"?f=this.callFunction(n,[l,t[r],u],[]):f=this.callFunction(n,[l,u],[]),[f]}else return t}handleSupSubscript(t){var r=this.fetch(),n=r.text;this.consume(),this.consumeSpaces();var a;do{var l;a=this.parseGroup(t)}while(((l=a)==null?void 0:l.type)==="internal");if(!a)throw new de("Expected group after '"+n+"'",r);return a}formatUnsupportedCmd(t){for(var r=[],n=0;n<t.length;n++)r.push({type:"textord",mode:"text",text:t[n]});var a={type:"text",mode:this.mode,body:r},l={type:"color",mode:this.mode,color:this.settings.errorColor,body:[a]};return l}parseAtom(t){var r=this.parseGroup("atom",t);if((r==null?void 0:r.type)==="internal"||this.mode==="text")return r;for(var n,a;;){this.consumeSpaces();var l=this.fetch();if(l.text==="\\limits"||l.text==="\\nolimits"){if(r&&r.type==="op"){var u=l.text==="\\limits";r.limits=u,r.alwaysHandleSupSub=!0}else if(r&&r.type==="operatorname")r.alwaysHandleSupSub&&(r.limits=l.text==="\\limits");else throw new de("Limit controls must follow a math operator",l);this.consume()}else if(l.text==="^"){if(n)throw new de("Double superscript",l);n=this.handleSupSubscript("superscript")}else if(l.text==="_"){if(a)throw new de("Double subscript",l);a=this.handleSupSubscript("subscript")}else if(l.text==="'"){if(n)throw new de("Double superscript",l);var c={type:"textord",mode:this.mode,text:"\\prime"},m=[c];for(this.consume();this.fetch().text==="'";)m.push(c),this.consume();this.fetch().text==="^"&&m.push(this.handleSupSubscript("superscript")),n={type:"ordgroup",mode:this.mode,body:m}}else if(yi[l.text]){var f=a1.test(l.text),g=[];for(g.push(new h0(yi[l.text])),this.consume();;){var b=this.fetch().text;if(!yi[b]||a1.test(b)!==f)break;g.unshift(new h0(yi[b])),this.consume()}var d=this.subparse(g);f?a={type:"ordgroup",mode:"math",body:d}:n={type:"ordgroup",mode:"math",body:d}}else break}return n||a?{type:"supsub",mode:this.mode,base:r,sup:n,sub:a}:r}parseFunction(t,r){var n=this.fetch(),a=n.text,l=br[a];if(!l)return null;if(this.consume(),r&&r!=="atom"&&!l.allowedInArgument)throw new de("Got function '"+a+"' with no arguments"+(r?" as "+r:""),n);if(this.mode==="text"&&!l.allowedInText)throw new de("Can't use function '"+a+"' in text mode",n);if(this.mode==="math"&&l.allowedInMath===!1)throw new de("Can't use function '"+a+"' in math mode",n);var{args:u,optArgs:c}=this.parseArguments(a,l);return this.callFunction(a,u,c,n,t)}callFunction(t,r,n,a,l){var u={funcName:t,parser:this,token:a,breakOnTokenText:l},c=br[t];if(c&&c.handler)return c.handler(u,r,n);throw new de("No function handler for "+t)}parseArguments(t,r){var n=r.numArgs+r.numOptionalArgs;if(n===0)return{args:[],optArgs:[]};for(var a=[],l=[],u=0;u<n;u++){var c=r.argTypes&&r.argTypes[u],m=u<r.numOptionalArgs;(r.primitive&&c==null||r.type==="sqrt"&&u===1&&l[0]==null)&&(c="primitive");var f=this.parseGroupOfType("argument to '"+t+"'",c,m);if(m)l.push(f);else if(f!=null)a.push(f);else throw new de("Null argument, please report this as a bug")}return{args:a,optArgs:l}}parseGroupOfType(t,r,n){switch(r){case"color":return this.parseColorGroup(n);case"size":return this.parseSizeGroup(n);case"url":return this.parseUrlGroup(n);case"math":case"text":return this.parseArgumentGroup(n,r);case"hbox":{var a=this.parseArgumentGroup(n,"text");return a!=null?{type:"styling",mode:a.mode,body:[a],style:"text"}:null}case"raw":{var l=this.parseStringGroup("raw",n);return l!=null?{type:"raw",mode:"text",string:l.text}:null}case"primitive":{if(n)throw new de("A primitive argument cannot be optional");var u=this.parseGroup(t);if(u==null)throw new de("Expected group as "+t,this.fetch());return u}case"original":case null:case void 0:return this.parseArgumentGroup(n);default:throw new de("Unknown group type as "+t,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(t,r){var n=this.gullet.scanArgument(r);if(n==null)return null;for(var a="",l;(l=this.fetch()).text!=="EOF";)a+=l.text,this.consume();return this.consume(),n.text=a,n}parseRegexGroup(t,r){for(var n=this.fetch(),a=n,l="",u;(u=this.fetch()).text!=="EOF"&&t.test(l+u.text);)a=u,l+=a.text,this.consume();if(l==="")throw new de("Invalid "+r+": '"+n.text+"'",n);return n.range(a,l)}parseColorGroup(t){var r=this.parseStringGroup("color",t);if(r==null)return null;var n=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(r.text);if(!n)throw new de("Invalid color: '"+r.text+"'",r);var a=n[0];return/^[0-9a-f]{6}$/i.test(a)&&(a="#"+a),{type:"color-token",mode:this.mode,color:a}}parseSizeGroup(t){var r,n=!1;if(this.gullet.consumeSpaces(),!t&&this.gullet.future().text!=="{"?r=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):r=this.parseStringGroup("size",t),!r)return null;!t&&r.text.length===0&&(r.text="0pt",n=!0);var a=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(r.text);if(!a)throw new de("Invalid size: '"+r.text+"'",r);var l={number:+(a[1]+a[2]),unit:a[3]};if(!Po(l))throw new de("Invalid unit: '"+l.unit+"'",r);return{type:"size",mode:this.mode,value:l,isBlank:n}}parseUrlGroup(t){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);var r=this.parseStringGroup("url",t);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),r==null)return null;var n=r.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:n}}parseArgumentGroup(t,r){var n=this.gullet.scanArgument(t);if(n==null)return null;var a=this.mode;r&&this.switchMode(r),this.gullet.beginGroup();var l=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();var u={type:"ordgroup",mode:this.mode,loc:n.loc,body:l};return r&&this.switchMode(a),u}parseGroup(t,r){var n=this.fetch(),a=n.text,l;if(a==="{"||a==="\\begingroup"){this.consume();var u=a==="{"?"}":"\\endgroup";this.gullet.beginGroup();var c=this.parseExpression(!1,u),m=this.fetch();this.expect(u),this.gullet.endGroup(),l={type:"ordgroup",mode:this.mode,loc:r0.range(n,m),body:c,semisimple:a==="\\begingroup"||void 0}}else if(l=this.parseFunction(r,t)||this.parseSymbol(),l==null&&a[0]==="\\"&&!i1.hasOwnProperty(a)){if(this.settings.throwOnError)throw new de("Undefined control sequence: "+a,n);l=this.formatUnsupportedCmd(a),this.consume()}return l}formLigatures(t){for(var r=t.length-1,n=0;n<r;++n){var a=t[n],l=a.text;l==="-"&&t[n+1].text==="-"&&(n+1<r&&t[n+2].text==="-"?(t.splice(n,3,{type:"textord",mode:"text",loc:r0.range(a,t[n+2]),text:"---"}),r-=2):(t.splice(n,2,{type:"textord",mode:"text",loc:r0.range(a,t[n+1]),text:"--"}),r-=1)),(l==="'"||l==="`")&&t[n+1].text===l&&(t.splice(n,2,{type:"textord",mode:"text",loc:r0.range(a,t[n+1]),text:l+l}),r-=1)}}parseSymbol(){var t=this.fetch(),r=t.text;if(/^\\verb[^a-zA-Z]/.test(r)){this.consume();var n=r.slice(5),a=n.charAt(0)==="*";if(a&&(n=n.slice(1)),n.length<2||n.charAt(0)!==n.slice(-1))throw new de(`\\verb assertion failed --
307
+ please report what input caused this bug`);return n=n.slice(1,-1),{type:"verb",mode:"text",body:n,star:a}}l1.hasOwnProperty(r[0])&&!ct[this.mode][r[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+r[0]+'" used in math mode',t),r=l1[r[0]]+r.slice(1));var l=z6.exec(r);l&&(r=r.substring(0,l.index),r==="i"?r="ı":r==="j"&&(r="ȷ"));var u;if(ct[this.mode][r]){this.settings.strict&&this.mode==="math"&&Ra.indexOf(r)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',t);var c=ct[this.mode][r].group,m=r0.range(t),f;if(b3.hasOwnProperty(c)){var g=c;f={type:"atom",mode:this.mode,family:g,loc:m,text:r}}else f={type:c,mode:this.mode,loc:m,text:r};u=f}else if(r.charCodeAt(0)>=128)this.settings.strict&&(_o(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',t):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),t)),u={type:"textord",mode:"text",loc:r0.range(t),text:r};else return null;if(this.consume(),l)for(var b=0;b<l[0].length;b++){var d=l[0][b];if(!cl[d])throw new de("Unknown accent ' "+d+"'",t);var p=cl[d][this.mode]||cl[d].text;if(!p)throw new de("Accent "+d+" unsupported in "+this.mode+" mode",t);u={type:"accent",mode:this.mode,loc:r0.range(t),label:p,isStretchy:!1,isShifty:!0,base:u}}return u}}bi.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var hl=function(t,r){if(!(typeof t=="string"||t instanceof String))throw new TypeError("KaTeX can only parse string typed expression");var n=new bi(t,r);delete n.gullet.macros.current["\\df@tag"];var a=n.parse();if(delete n.gullet.macros.current["\\current@color"],delete n.gullet.macros.current["\\color"],n.gullet.macros.get("\\df@tag")){if(!r.displayMode)throw new de("\\tag works only in display equations");a=[{type:"tag",mode:"text",body:a,tag:n.subparse([new h0("\\df@tag")])}]}return a},s1=function(t,r,n){r.textContent="";var a=ml(t,n).toNode();r.appendChild(a)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),s1=function(){throw new de("KaTeX doesn't work in quirks mode.")});var B6=function(t,r){var n=ml(t,r).toMarkup();return n},N6=function(t,r){var n=new Sa(r);return hl(t,n)},o1=function(t,r,n){if(n.throwOnError||!(t instanceof de))throw t;var a=X.makeSpan(["katex-error"],[new w0(r)]);return a.setAttribute("title",t.toString()),a.setAttribute("style","color:"+n.errorColor),a},ml=function(t,r){var n=new Sa(r);try{var a=hl(t,n);return H3(a,t,n)}catch(l){return o1(l,t,n)}},I6=function(t,r){var n=new Sa(r);try{var a=hl(t,n);return $3(a,t,n)}catch(l){return o1(l,t,n)}},R6="0.16.25",_6={Span:xn,Anchor:Ea,SymbolNode:w0,SvgNode:Z0,PathNode:pr,LineNode:Da},u1={version:R6,render:s1,renderToString:B6,ParseError:de,SETTINGS_SCHEMA:Zn,__parse:N6,__renderToDomTree:ml,__renderToHTMLTree:I6,__setFontMetrics:c3,__defineSymbol:v,__defineFunction:ke,__defineMacro:D,__domTree:_6};const q6={};function O6(e){const t=this,r=e||q6,n=t.data(),a=n.micromarkExtensions||(n.micromarkExtensions=[]),l=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),u=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);a.push(q5(r)),l.push(C5()),u.push(E5(r))}const c1=/[#.]/g;function F6(e,t){const r=e||"",n={};let a=0,l,u;for(;a<r.length;){c1.lastIndex=a;const c=c1.exec(r),m=r.slice(a,c?c.index:r.length);m&&(l?l==="#"?n.id=m:Array.isArray(n.className)?n.className.push(m):n.className=[m]:u=m,a+=m.length),c&&(l=c[0],a++)}return{type:"element",tagName:u||t||"div",properties:n,children:[]}}function h1(e,t,r){const n=r?$6(r):void 0;function a(l,u,...c){let m;if(l==null){m={type:"root",children:[]};const f=u;c.unshift(f)}else{m=F6(l,t);const f=m.tagName.toLowerCase(),g=n?n.get(f):void 0;if(m.tagName=g||f,L6(u))c.unshift(u);else for(const[b,d]of Object.entries(u))P6(e,m.properties,b,d)}for(const f of c)dl(m.children,f);return m.type==="element"&&m.tagName==="template"&&(m.content={type:"root",children:m.children},m.children=[]),m}return a}function L6(e){if(e===null||typeof e!="object"||Array.isArray(e))return!0;if(typeof e.type!="string")return!1;const t=e,r=Object.keys(e);for(const n of r){const a=t[n];if(a&&typeof a=="object"){if(!Array.isArray(a))return!0;const l=a;for(const u of l)if(typeof u!="number"&&typeof u!="string")return!0}}return!!("children"in e&&Array.isArray(e.children))}function P6(e,t,r,n){const a=ks(e,r);let l;if(n!=null){if(typeof n=="number"){if(Number.isNaN(n))return;l=n}else typeof n=="boolean"?l=n:typeof n=="string"?a.spaceSeparated?l=Ms(n):a.commaSeparated?l=cs(n):a.commaOrSpaceSeparated?l=Ms(cs(n).join(" ")):l=m1(a,a.property,n):Array.isArray(n)?l=[...n]:l=a.property==="style"?H6(n):String(n);if(Array.isArray(l)){const u=[];for(const c of l)u.push(m1(a,a.property,c));l=u}a.property==="className"&&Array.isArray(t.className)&&(l=t.className.concat(l)),t[a.property]=l}}function dl(e,t){if(t!=null)if(typeof t=="number"||typeof t=="string")e.push({type:"text",value:String(t)});else if(Array.isArray(t))for(const r of t)dl(e,r);else if(typeof t=="object"&&"type"in t)t.type==="root"?dl(e,t.children):e.push(t);else throw new Error("Expected node, nodes, or string, got `"+t+"`")}function m1(e,t,r){if(typeof r=="string"){if(e.number&&r&&!Number.isNaN(Number(r)))return Number(r);if((e.boolean||e.overloadedBoolean)&&(r===""||an(r)===an(t)))return!0}return r}function H6(e){const t=[];for(const[r,n]of Object.entries(e))t.push([r,n].join(": "));return t.join("; ")}function $6(e){const t=new Map;for(const r of e)t.set(r.toLowerCase(),r);return t}const V6=["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"],j6=h1(Ss,"div"),G6=h1(Fn,"g",V6),pl={html:"http://www.w3.org/1999/xhtml",svg:"http://www.w3.org/2000/svg"};function U6(e,t){return d1(e,{})||{type:"root",children:[]}}function d1(e,t){const r=W6(e,t);return r&&t.afterTransform&&t.afterTransform(e,r),r}function W6(e,t){switch(e.nodeType){case 1:return K6(e,t);case 3:return X6(e);case 8:return Z6(e);case 9:return p1(e,t);case 10:return Y6();case 11:return p1(e,t);default:return}}function p1(e,t){return{type:"root",children:f1(e,t)}}function Y6(){return{type:"doctype"}}function X6(e){return{type:"text",value:e.nodeValue||""}}function Z6(e){return{type:"comment",value:e.nodeValue||""}}function K6(e,t){const r=e.namespaceURI,n=r===pl.svg?G6:j6,a=r===pl.html?e.tagName.toLowerCase():e.tagName,l=r===pl.html&&a==="template"?e.content:e,u=e.getAttributeNames(),c={};let m=-1;for(;++m<u.length;)c[u[m]]=e.getAttribute(u[m])||"";return n(a,c,f1(l,t))}function f1(e,t){const r=e.childNodes,n=[];let a=-1;for(;++a<r.length;){const l=d1(r[a],t);l!==void 0&&n.push(l)}return n}new DOMParser;function J6(e,t){const r=Q6(e);return U6(r)}function Q6(e){const t=document.createElement("template");return t.innerHTML=e,t.content}const g1=(function(e,t,r){const n=fn(r);if(!e||!e.type||!e.children)throw new Error("Expected parent node");if(typeof t=="number"){if(t<0||t===Number.POSITIVE_INFINITY)throw new Error("Expected positive finite number as index")}else if(t=e.children.indexOf(t),t<0)throw new Error("Expected child node or index");for(;++t<e.children.length;)if(n(e.children[t],t,e))return e.children[t]}),Dr=(function(e){if(e==null)return r7;if(typeof e=="string")return t7(e);if(typeof e=="object")return e7(e);if(typeof e=="function")return fl(e);throw new Error("Expected function, string, or array as `test`")});function e7(e){const t=[];let r=-1;for(;++r<e.length;)t[r]=Dr(e[r]);return fl(n);function n(...a){let l=-1;for(;++l<t.length;)if(t[l].apply(this,a))return!0;return!1}}function t7(e){return fl(t);function t(r){return r.tagName===e}}function fl(e){return t;function t(r,n,a){return!!(n7(r)&&e.call(this,r,typeof n=="number"?n:void 0,a||void 0))}}function r7(e){return!!(e&&typeof e=="object"&&"type"in e&&e.type==="element"&&"tagName"in e&&typeof e.tagName=="string")}function n7(e){return e!==null&&typeof e=="object"&&"type"in e&&"tagName"in e}const y1=/\n/g,b1=/[\t ]+/g,gl=Dr("br"),x1=Dr(h7),i7=Dr("p"),v1=Dr("tr"),a7=Dr(["datalist","head","noembed","noframes","noscript","rp","script","style","template","title",c7,m7]),w1=Dr(["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 l7(e,t){const r=t||{},n="children"in e?e.children:[],a=w1(e),l=M1(e,{whitespace:r.whitespace||"normal"}),u=[];(e.type==="text"||e.type==="comment")&&u.push(...S1(e,{breakBefore:!0,breakAfter:!0}));let c=-1;for(;++c<n.length;)u.push(...k1(n[c],e,{whitespace:l,breakBefore:c?void 0:a,breakAfter:c<n.length-1?gl(n[c+1]):a}));const m=[];let f;for(c=-1;++c<u.length;){const g=u[c];typeof g=="number"?f!==void 0&&g>f&&(f=g):g&&(f!==void 0&&f>-1&&m.push(`
308
+ `.repeat(f)||" "),f=-1,m.push(g))}return m.join("")}function k1(e,t,r){return e.type==="element"?s7(e,t,r):e.type==="text"?r.whitespace==="normal"?S1(e,r):o7(e):[]}function s7(e,t,r){const n=M1(e,r),a=e.children||[];let l=-1,u=[];if(a7(e))return u;let c,m;for(gl(e)||v1(e)&&g1(t,e,v1)?m=`
309
+ `:i7(e)?(c=2,m=2):w1(e)&&(c=1,m=1);++l<a.length;)u=u.concat(k1(a[l],e,{whitespace:n,breakBefore:l?void 0:c,breakAfter:l<a.length-1?gl(a[l+1]):m}));return x1(e)&&g1(t,e,x1)&&u.push(" "),c&&u.unshift(c),m&&u.push(m),u}function S1(e,t){const r=String(e.value),n=[],a=[];let l=0;for(;l<=r.length;){y1.lastIndex=l;const m=y1.exec(r),f=m&&"index"in m?m.index:r.length;n.push(u7(r.slice(l,f).replace(/[\u061C\u200E\u200F\u202A-\u202E\u2066-\u2069]/g,""),l===0?t.breakBefore:!0,f===r.length?t.breakAfter:!0)),l=f+1}let u=-1,c;for(;++u<n.length;)n[u].charCodeAt(n[u].length-1)===8203||u<n.length-1&&n[u+1].charCodeAt(0)===8203?(a.push(n[u]),c=void 0):n[u]?(typeof c=="number"&&a.push(c),a.push(n[u]),c=0):(u===0||u===n.length-1)&&a.push(0);return a}function o7(e){return[String(e.value)]}function u7(e,t,r){const n=[];let a=0,l;for(;a<e.length;){b1.lastIndex=a;const u=b1.exec(e);l=u?u.index:e.length,!a&&!l&&u&&!t&&n.push(""),a!==l&&n.push(e.slice(a,l)),a=u?l+u[0].length:l}return a!==l&&!r&&n.push(""),n.join(" ")}function M1(e,t){if(e.type==="element"){const 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}function c7(e){return!!(e.properties||{}).hidden}function h7(e){return e.tagName==="td"||e.tagName==="th"}function m7(e){return e.tagName==="dialog"&&!(e.properties||{}).open}const d7={},p7=[];function f7(e){const t=e||d7;return function(r,n){ua(r,"element",function(a,l){const u=Array.isArray(a.properties.className)?a.properties.className:p7,c=u.includes("language-math"),m=u.includes("math-display"),f=u.includes("math-inline");let g=m;if(!c&&!m&&!f)return;let b=l[l.length-1],d=a;if(a.tagName==="code"&&c&&b&&b.type==="element"&&b.tagName==="pre"&&(d=b,b=l[l.length-2],g=!0),!b)return;const p=l7(d,{whitespace:"pre"});let A;try{A=u1.renderToString(p,{...t,displayMode:g,throwOnError:!0})}catch(O){const q=O,P=q.name.toLowerCase();n.message("Could not render math with KaTeX",{ancestors:[...l,a],cause:q,place:a.position,ruleId:P,source:"rehype-katex"});try{A=u1.renderToString(p,{...t,displayMode:g,strict:"ignore",throwOnError:!1})}catch{A=[{type:"element",tagName:"span",properties:{className:["katex-error"],style:"color:"+(t.errorColor||"#cc0000"),title:String(O)},children:[{type:"text",value:p}]}]}}typeof A=="string"&&(A=J6(A).children);const N=b.children.indexOf(d);return b.children.splice(N,1,...A),wo})}}function A1(e,t){const r=String(e);if(typeof t!="string")throw new TypeError("Expected character");let n=0,a=r.indexOf(t);for(;a!==-1;)n++,a=r.indexOf(t,a+t.length);return n}function g7(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}function y7(e,t,r){const a=fn((r||{}).ignore||[]),l=b7(t);let u=-1;for(;++u<l.length;)ua(e,"text",c);function c(f,g){let b=-1,d;for(;++b<g.length;){const p=g[b],A=d?d.children:void 0;if(a(p,A?A.indexOf(p):void 0,d))return;d=p}if(d)return m(f,g)}function m(f,g){const b=g[g.length-1],d=l[u][0],p=l[u][1];let A=0;const O=b.children.indexOf(f);let q=!1,P=[];d.lastIndex=0;let K=d.exec(f.value);for(;K;){const re=K.index,le={index:K.index,input:K.input,stack:[...g,f]};let W=p(...K,le);if(typeof W=="string"&&(W=W.length>0?{type:"text",value:W}:void 0),W===!1?d.lastIndex=re+1:(A!==re&&P.push({type:"text",value:f.value.slice(A,re)}),Array.isArray(W)?P.push(...W):W&&P.push(W),A=re+K[0].length,q=!0),!d.global)break;K=d.exec(f.value)}return q?(A<f.value.length&&P.push({type:"text",value:f.value.slice(A)}),b.children.splice(O,1,...P)):P=[f],O+P.length}}function b7(e){const t=[];if(!Array.isArray(e))throw new TypeError("Expected find and replace tuple or list of tuples");const r=!e[0]||Array.isArray(e[0])?e:[e];let n=-1;for(;++n<r.length;){const a=r[n];t.push([x7(a[0]),v7(a[1])])}return t}function x7(e){return typeof e=="string"?new RegExp(g7(e),"g"):e}function v7(e){return typeof e=="function"?e:function(){return e}}const yl="phrasing",bl=["autolink","link","image","label"];function w7(){return{transforms:[C7],enter:{literalAutolink:S7,literalAutolinkEmail:xl,literalAutolinkHttp:xl,literalAutolinkWww:xl},exit:{literalAutolink:T7,literalAutolinkEmail:z7,literalAutolinkHttp:M7,literalAutolinkWww:A7}}}function k7(){return{unsafe:[{character:"@",before:"[+\\-.\\w]",after:"[\\-.\\w]",inConstruct:yl,notInConstruct:bl},{character:".",before:"[Ww]",after:"[\\-.\\w]",inConstruct:yl,notInConstruct:bl},{character:":",before:"[ps]",after:"\\/",inConstruct:yl,notInConstruct:bl}]}}function S7(e){this.enter({type:"link",title:null,url:"",children:[]},e)}function xl(e){this.config.enter.autolinkProtocol.call(this,e)}function M7(e){this.config.exit.autolinkProtocol.call(this,e)}function A7(e){this.config.exit.data.call(this,e);const t=this.stack[this.stack.length-1];t.type,t.url="http://"+this.sliceSerialize(e)}function z7(e){this.config.exit.autolinkEmail.call(this,e)}function T7(e){this.exit(e)}function C7(e){y7(e,[[/(https?:\/\/|www(?=\.))([-.\w]+)([^ \t\r\n]*)/gi,E7],[new RegExp("(?<=^|\\s|\\p{P}|\\p{S})([-.\\w+]+)@([-\\w]+(?:\\.[-\\w]+)+)","gu"),D7]],{ignore:["link","linkReference"]})}function E7(e,t,r,n,a){let l="";if(!z1(a)||(/^w/i.test(t)&&(r=t+r,t="",l="http://"),!B7(r)))return!1;const u=N7(r+n);if(!u[0])return!1;const c={type:"link",title:null,url:l+t+u[0],children:[{type:"text",value:t+u[0]}]};return u[1]?[c,{type:"text",value:u[1]}]:c}function D7(e,t,r,n){return!z1(n,!0)||/[-\d_]$/.test(r)?!1:{type:"link",title:null,url:"mailto:"+t+"@"+r,children:[{type:"text",value:t+"@"+r}]}}function B7(e){const 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])))}function N7(e){const t=/[!"&'),.:;<>?\]}]+$/.exec(e);if(!t)return[e,void 0];e=e.slice(0,t.index);let r=t[0],n=r.indexOf(")");const a=A1(e,"(");let l=A1(e,")");for(;n!==-1&&a>l;)e+=r.slice(0,n+1),r=r.slice(n+1),n=r.indexOf(")"),l++;return[e,r]}function z1(e,t){const r=e.input.charCodeAt(e.index-1);return(e.index===0||zr(r)||Pn(r))&&(!t||r!==47)}T1.peek=H7;function I7(){this.buffer()}function R7(e){this.enter({type:"footnoteReference",identifier:"",label:""},e)}function _7(){this.buffer()}function q7(e){this.enter({type:"footnoteDefinition",identifier:"",label:"",children:[]},e)}function O7(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=z0(this.sliceSerialize(e)).toLowerCase(),r.label=t}function F7(e){this.exit(e)}function L7(e){const t=this.resume(),r=this.stack[this.stack.length-1];r.type,r.identifier=z0(this.sliceSerialize(e)).toLowerCase(),r.label=t}function P7(e){this.exit(e)}function H7(){return"["}function T1(e,t,r,n){const a=r.createTracker(n);let l=a.move("[^");const u=r.enter("footnoteReference"),c=r.enter("reference");return l+=a.move(r.safe(r.associationId(e),{after:"]",before:l})),c(),u(),l+=a.move("]"),l}function $7(){return{enter:{gfmFootnoteCallString:I7,gfmFootnoteCall:R7,gfmFootnoteDefinitionLabelString:_7,gfmFootnoteDefinition:q7},exit:{gfmFootnoteCallString:O7,gfmFootnoteCall:F7,gfmFootnoteDefinitionLabelString:L7,gfmFootnoteDefinition:P7}}}function V7(e){let t=!1;return e&&e.firstLineBlank&&(t=!0),{handlers:{footnoteDefinition:r,footnoteReference:T1},unsafe:[{character:"[",inConstruct:["label","phrasing","reference"]}]};function r(n,a,l,u){const c=l.createTracker(u);let m=c.move("[^");const f=l.enter("footnoteDefinition"),g=l.enter("label");return m+=c.move(l.safe(l.associationId(n),{before:m,after:"]"})),g(),m+=c.move("]:"),n.children&&n.children.length>0&&(c.shift(4),m+=c.move((t?`
310
+ `:" ")+l.indentLines(l.containerFlow(n,c.current()),t?C1:j7))),f(),m}}function j7(e,t,r){return t===0?e:C1(e,t,r)}function C1(e,t,r){return(r?"":" ")+e}const G7=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"];E1.peek=Z7;function U7(){return{canContainEols:["delete"],enter:{strikethrough:Y7},exit:{strikethrough:X7}}}function W7(){return{unsafe:[{character:"~",inConstruct:"phrasing",notInConstruct:G7}],handlers:{delete:E1}}}function Y7(e){this.enter({type:"delete",children:[]},e)}function X7(e){this.exit(e)}function E1(e,t,r,n){const a=r.createTracker(n),l=r.enter("strikethrough");let u=a.move("~~");return u+=r.containerPhrasing(e,{...a.current(),before:u,after:"~"}),u+=a.move("~~"),l(),u}function Z7(){return"~"}function K7(e){return e.length}function J7(e,t){const r=t||{},n=(r.align||[]).concat(),a=r.stringLength||K7,l=[],u=[],c=[],m=[];let f=0,g=-1;for(;++g<e.length;){const N=[],O=[];let q=-1;for(e[g].length>f&&(f=e[g].length);++q<e[g].length;){const P=Q7(e[g][q]);if(r.alignDelimiters!==!1){const K=a(P);O[q]=K,(m[q]===void 0||K>m[q])&&(m[q]=K)}N.push(P)}u[g]=N,c[g]=O}let b=-1;if(typeof n=="object"&&"length"in n)for(;++b<f;)l[b]=D1(n[b]);else{const N=D1(n);for(;++b<f;)l[b]=N}b=-1;const d=[],p=[];for(;++b<f;){const N=l[b];let O="",q="";N===99?(O=":",q=":"):N===108?O=":":N===114&&(q=":");let P=r.alignDelimiters===!1?1:Math.max(1,m[b]-O.length-q.length);const K=O+"-".repeat(P)+q;r.alignDelimiters!==!1&&(P=O.length+P+q.length,P>m[b]&&(m[b]=P),p[b]=P),d[b]=K}u.splice(1,0,d),c.splice(1,0,p),g=-1;const A=[];for(;++g<u.length;){const N=u[g],O=c[g];b=-1;const q=[];for(;++b<f;){const P=N[b]||"";let K="",re="";if(r.alignDelimiters!==!1){const le=m[b]-(O[b]||0),W=l[b];W===114?K=" ".repeat(le):W===99?le%2?(K=" ".repeat(le/2+.5),re=" ".repeat(le/2-.5)):(K=" ".repeat(le/2),re=K):re=" ".repeat(le)}r.delimiterStart!==!1&&!b&&q.push("|"),r.padding!==!1&&!(r.alignDelimiters===!1&&P==="")&&(r.delimiterStart!==!1||b)&&q.push(" "),r.alignDelimiters!==!1&&q.push(K),q.push(P),r.alignDelimiters!==!1&&q.push(re),r.padding!==!1&&q.push(" "),(r.delimiterEnd!==!1||b!==f-1)&&q.push("|")}A.push(r.delimiterEnd===!1?q.join("").replace(/ +$/,""):q.join(""))}return A.join(`
311
+ `)}function Q7(e){return e==null?"":String(e)}function D1(e){const t=typeof e=="string"?e.codePointAt(0):0;return t===67||t===99?99:t===76||t===108?108:t===82||t===114?114:0}function ed(e,t,r,n){const a=r.enter("blockquote"),l=r.createTracker(n);l.move("> "),l.shift(2);const u=r.indentLines(r.containerFlow(e,l.current()),td);return a(),u}function td(e,t,r){return">"+(r?"":" ")+e}function rd(e,t){return B1(e,t.inConstruct,!0)&&!B1(e,t.notInConstruct,!1)}function B1(e,t,r){if(typeof t=="string"&&(t=[t]),!t||t.length===0)return r;let n=-1;for(;++n<t.length;)if(e.includes(t[n]))return!0;return!1}function N1(e,t,r,n){let a=-1;for(;++a<r.unsafe.length;)if(r.unsafe[a].character===`
312
+ `&&rd(r.stack,r.unsafe[a]))return/[ \t]/.test(n.before)?"":" ";return`\\
313
+ `}function nd(e,t){return!!(t.options.fences===!1&&e.value&&!e.lang&&/[^ \r\n]/.test(e.value)&&!/^[\t ]*(?:[\r\n]|$)|(?:^|[\r\n])[\t ]*$/.test(e.value))}function id(e){const t=e.options.fence||"`";if(t!=="`"&&t!=="~")throw new Error("Cannot serialize code with `"+t+"` for `options.fence`, expected `` ` `` or `~`");return t}function ad(e,t,r,n){const a=id(r),l=e.value||"",u=a==="`"?"GraveAccent":"Tilde";if(nd(e,r)){const b=r.enter("codeIndented"),d=r.indentLines(l,ld);return b(),d}const c=r.createTracker(n),m=a.repeat(Math.max(No(l,a)+1,3)),f=r.enter("codeFenced");let g=c.move(m);if(e.lang){const b=r.enter(`codeFencedLang${u}`);g+=c.move(r.safe(e.lang,{before:g,after:" ",encode:["`"],...c.current()})),b()}if(e.lang&&e.meta){const b=r.enter(`codeFencedMeta${u}`);g+=c.move(" "),g+=c.move(r.safe(e.meta,{before:g,after:`
314
314
  `,encode:["`"],...c.current()})),b()}return g+=c.move(`
315
315
  `),l&&(g+=c.move(l+`
316
- `)),g+=c.move(m),f(),g}function ad(e,t,r){return(r?"":" ")+e}function vl(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function ld(e,t,r,n){const a=vl(r),l=a==='"'?"Quote":"Apostrophe",u=r.enter("definition");let c=r.enter("label");const m=r.createTracker(n);let f=m.move("[");return f+=m.move(r.safe(r.associationId(e),{before:f,after:"]",...m.current()})),f+=m.move("]: "),c(),!e.url||/[\0- \u007F]/.test(e.url)?(c=r.enter("destinationLiteral"),f+=m.move("<"),f+=m.move(r.safe(e.url,{before:f,after:">",...m.current()})),f+=m.move(">")):(c=r.enter("destinationRaw"),f+=m.move(r.safe(e.url,{before:f,after:e.title?" ":`
317
- `,...m.current()}))),c(),e.title&&(c=r.enter(`title${l}`),f+=m.move(" "+a),f+=m.move(r.safe(e.title,{before:f,after:a,...m.current()})),f+=m.move(a),c()),u(),f}function sd(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function zn(e){return"&#x"+e.toString(16).toUpperCase()+";"}function pi(e,t,r){const n=$r(e),a=$r(t);return n===void 0?a===void 0?r==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:n===1?a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}R1.peek=od;function R1(e,t,r,n){const a=sd(r),l=r.enter("emphasis"),u=r.createTracker(n),c=u.move(a);let m=u.move(r.containerPhrasing(e,{after:a,before:c,...u.current()}));const f=m.charCodeAt(0),g=pi(n.before.charCodeAt(n.before.length-1),f,a);g.inside&&(m=zn(f)+m.slice(1));const b=m.charCodeAt(m.length-1),d=pi(n.after.charCodeAt(0),b,a);d.inside&&(m=m.slice(0,-1)+zn(b));const p=u.move(a);return l(),r.attentionEncodeSurroundingInfo={after:d.outside,before:g.outside},c+m+p}function od(e,t,r){return r.options.emphasis||"*"}function ud(e,t){let r=!1;return ca(e,function(n){if("value"in n&&/\r?\n|\r/.test(n.value)||n.type==="break")return r=!0,oa}),!!((!e.depth||e.depth<3)&&Ki(e)&&(t.options.setext||r))}function cd(e,t,r,n){const a=Math.max(Math.min(6,e.depth||1),1),l=r.createTracker(n);if(ud(e,r)){const g=r.enter("headingSetext"),b=r.enter("phrasing"),d=r.containerPhrasing(e,{...l.current(),before:`
316
+ `)),g+=c.move(m),f(),g}function ld(e,t,r){return(r?"":" ")+e}function vl(e){const t=e.options.quote||'"';if(t!=='"'&&t!=="'")throw new Error("Cannot serialize title with `"+t+"` for `options.quote`, expected `\"`, or `'`");return t}function sd(e,t,r,n){const a=vl(r),l=a==='"'?"Quote":"Apostrophe",u=r.enter("definition");let c=r.enter("label");const m=r.createTracker(n);let f=m.move("[");return f+=m.move(r.safe(r.associationId(e),{before:f,after:"]",...m.current()})),f+=m.move("]: "),c(),!e.url||/[\0- \u007F]/.test(e.url)?(c=r.enter("destinationLiteral"),f+=m.move("<"),f+=m.move(r.safe(e.url,{before:f,after:">",...m.current()})),f+=m.move(">")):(c=r.enter("destinationRaw"),f+=m.move(r.safe(e.url,{before:f,after:e.title?" ":`
317
+ `,...m.current()}))),c(),e.title&&(c=r.enter(`title${l}`),f+=m.move(" "+a),f+=m.move(r.safe(e.title,{before:f,after:a,...m.current()})),f+=m.move(a),c()),u(),f}function od(e){const t=e.options.emphasis||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize emphasis with `"+t+"` for `options.emphasis`, expected `*`, or `_`");return t}function Mn(e){return"&#x"+e.toString(16).toUpperCase()+";"}function xi(e,t,r){const n=jr(e),a=jr(t);return n===void 0?a===void 0?r==="_"?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!0}:n===1?a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!0}:{inside:!1,outside:!1}:a===void 0?{inside:!1,outside:!1}:a===1?{inside:!0,outside:!1}:{inside:!1,outside:!1}}I1.peek=ud;function I1(e,t,r,n){const a=od(r),l=r.enter("emphasis"),u=r.createTracker(n),c=u.move(a);let m=u.move(r.containerPhrasing(e,{after:a,before:c,...u.current()}));const f=m.charCodeAt(0),g=xi(n.before.charCodeAt(n.before.length-1),f,a);g.inside&&(m=Mn(f)+m.slice(1));const b=m.charCodeAt(m.length-1),d=xi(n.after.charCodeAt(0),b,a);d.inside&&(m=m.slice(0,-1)+Mn(b));const p=u.move(a);return l(),r.attentionEncodeSurroundingInfo={after:d.outside,before:g.outside},c+m+p}function ud(e,t,r){return r.options.emphasis||"*"}function cd(e,t){let r=!1;return ca(e,function(n){if("value"in n&&/\r?\n|\r/.test(n.value)||n.type==="break")return r=!0,oa}),!!((!e.depth||e.depth<3)&&Ki(e)&&(t.options.setext||r))}function hd(e,t,r,n){const a=Math.max(Math.min(6,e.depth||1),1),l=r.createTracker(n);if(cd(e,r)){const g=r.enter("headingSetext"),b=r.enter("phrasing"),d=r.containerPhrasing(e,{...l.current(),before:`
318
318
  `,after:`
319
319
  `});return b(),g(),d+`
320
320
  `+(a===1?"=":"-").repeat(d.length-(Math.max(d.lastIndexOf("\r"),d.lastIndexOf(`
321
321
  `))+1))}const u="#".repeat(a),c=r.enter("headingAtx"),m=r.enter("phrasing");l.move(u+" ");let f=r.containerPhrasing(e,{before:"# ",after:`
322
- `,...l.current()});return/^[\t ]/.test(f)&&(f=zn(f.charCodeAt(0))+f.slice(1)),f=f?u+" "+f:u,r.options.closeAtx&&(f+=" "+u),m(),c(),f}_1.peek=hd;function _1(e){return e.value||""}function hd(){return"<"}q1.peek=md;function q1(e,t,r,n){const a=vl(r),l=a==='"'?"Quote":"Apostrophe",u=r.enter("image");let c=r.enter("label");const m=r.createTracker(n);let f=m.move("![");return f+=m.move(r.safe(e.alt,{before:f,after:"]",...m.current()})),f+=m.move("]("),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=r.enter("destinationLiteral"),f+=m.move("<"),f+=m.move(r.safe(e.url,{before:f,after:">",...m.current()})),f+=m.move(">")):(c=r.enter("destinationRaw"),f+=m.move(r.safe(e.url,{before:f,after:e.title?" ":")",...m.current()}))),c(),e.title&&(c=r.enter(`title${l}`),f+=m.move(" "+a),f+=m.move(r.safe(e.title,{before:f,after:a,...m.current()})),f+=m.move(a),c()),f+=m.move(")"),u(),f}function md(){return"!"}O1.peek=dd;function O1(e,t,r,n){const a=e.referenceType,l=r.enter("imageReference");let u=r.enter("label");const c=r.createTracker(n);let m=c.move("![");const f=r.safe(e.alt,{before:m,after:"]",...c.current()});m+=c.move(f+"]["),u();const g=r.stack;r.stack=[],u=r.enter("reference");const b=r.safe(r.associationId(e),{before:m,after:"]",...c.current()});return u(),r.stack=g,l(),a==="full"||!f||f!==b?m+=c.move(b+"]"):a==="shortcut"?m=m.slice(0,-1):m+=c.move("]"),m}function dd(){return"!"}F1.peek=pd;function F1(e,t,r){let n=e.value||"",a="`",l=-1;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(n);)a+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++l<r.unsafe.length;){const u=r.unsafe[l],c=r.compilePattern(u);let m;if(u.atBreak)for(;m=c.exec(n);){let f=m.index;n.charCodeAt(f)===10&&n.charCodeAt(f-1)===13&&f--,n=n.slice(0,f)+" "+n.slice(m.index+1)}}return a+n+a}function pd(){return"`"}function L1(e,t){const r=Ki(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(r===e.url||"mailto:"+r===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}P1.peek=fd;function P1(e,t,r,n){const a=vl(r),l=a==='"'?"Quote":"Apostrophe",u=r.createTracker(n);let c,m;if(L1(e,r)){const g=r.stack;r.stack=[],c=r.enter("autolink");let b=u.move("<");return b+=u.move(r.containerPhrasing(e,{before:b,after:">",...u.current()})),b+=u.move(">"),c(),r.stack=g,b}c=r.enter("link"),m=r.enter("label");let f=u.move("[");return f+=u.move(r.containerPhrasing(e,{before:f,after:"](",...u.current()})),f+=u.move("]("),m(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(m=r.enter("destinationLiteral"),f+=u.move("<"),f+=u.move(r.safe(e.url,{before:f,after:">",...u.current()})),f+=u.move(">")):(m=r.enter("destinationRaw"),f+=u.move(r.safe(e.url,{before:f,after:e.title?" ":")",...u.current()}))),m(),e.title&&(m=r.enter(`title${l}`),f+=u.move(" "+a),f+=u.move(r.safe(e.title,{before:f,after:a,...u.current()})),f+=u.move(a),m()),f+=u.move(")"),c(),f}function fd(e,t,r){return L1(e,r)?"<":"["}H1.peek=gd;function H1(e,t,r,n){const a=e.referenceType,l=r.enter("linkReference");let u=r.enter("label");const c=r.createTracker(n);let m=c.move("[");const f=r.containerPhrasing(e,{before:m,after:"]",...c.current()});m+=c.move(f+"]["),u();const g=r.stack;r.stack=[],u=r.enter("reference");const b=r.safe(r.associationId(e),{before:m,after:"]",...c.current()});return u(),r.stack=g,l(),a==="full"||!f||f!==b?m+=c.move(b+"]"):a==="shortcut"?m=m.slice(0,-1):m+=c.move("]"),m}function gd(){return"["}function wl(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function yd(e){const t=wl(e),r=e.options.bulletOther;if(!r)return t==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+r+"`) to be different");return r}function bd(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function $1(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function xd(e,t,r,n){const a=r.enter("list"),l=r.bulletCurrent;let u=e.ordered?bd(r):wl(r);const c=e.ordered?u==="."?")":".":yd(r);let m=t&&r.bulletLastUsed?u===r.bulletLastUsed:!1;if(!e.ordered){const g=e.children?e.children[0]:void 0;if((u==="*"||u==="-")&&g&&(!g.children||!g.children[0])&&r.stack[r.stack.length-1]==="list"&&r.stack[r.stack.length-2]==="listItem"&&r.stack[r.stack.length-3]==="list"&&r.stack[r.stack.length-4]==="listItem"&&r.indexStack[r.indexStack.length-1]===0&&r.indexStack[r.indexStack.length-2]===0&&r.indexStack[r.indexStack.length-3]===0&&(m=!0),$1(r)===u&&g){let b=-1;for(;++b<e.children.length;){const d=e.children[b];if(d&&d.type==="listItem"&&d.children&&d.children[0]&&d.children[0].type==="thematicBreak"){m=!0;break}}}}m&&(u=c),r.bulletCurrent=u;const f=r.containerFlow(e,n);return r.bulletLastUsed=u,r.bulletCurrent=l,a(),f}function vd(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function wd(e,t,r,n){const a=vd(r);let l=r.bulletCurrent||wl(r);t&&t.type==="list"&&t.ordered&&(l=(typeof t.start=="number"&&t.start>-1?t.start:1)+(r.options.incrementListMarker===!1?0:t.children.indexOf(e))+l);let u=l.length+1;(a==="tab"||a==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(u=Math.ceil(u/4)*4);const c=r.createTracker(n);c.move(l+" ".repeat(u-l.length)),c.shift(u);const m=r.enter("listItem"),f=r.indentLines(r.containerFlow(e,c.current()),g);return m(),f;function g(b,d,p){return d?(p?"":" ".repeat(u))+b:(p?l:l+" ".repeat(u-l.length))+b}}function kd(e,t,r,n){const a=r.enter("paragraph"),l=r.enter("phrasing"),u=r.containerPhrasing(e,n);return l(),a(),u}const Sd=bn(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Md(e,t,r,n){return(e.children.some(function(u){return Sd(u)})?r.containerPhrasing:r.containerFlow).call(r,e,n)}function Ad(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}V1.peek=Td;function V1(e,t,r,n){const a=Ad(r),l=r.enter("strong"),u=r.createTracker(n),c=u.move(a+a);let m=u.move(r.containerPhrasing(e,{after:a,before:c,...u.current()}));const f=m.charCodeAt(0),g=pi(n.before.charCodeAt(n.before.length-1),f,a);g.inside&&(m=zn(f)+m.slice(1));const b=m.charCodeAt(m.length-1),d=pi(n.after.charCodeAt(0),b,a);d.inside&&(m=m.slice(0,-1)+zn(b));const p=u.move(a+a);return l(),r.attentionEncodeSurroundingInfo={after:d.outside,before:g.outside},c+m+p}function Td(e,t,r){return r.options.strong||"*"}function zd(e,t,r,n){return r.safe(e.value,n)}function Cd(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function Ed(e,t,r){const n=($1(r)+(r.options.ruleSpaces?" ":"")).repeat(Cd(r));return r.options.ruleSpaces?n.slice(0,-1):n}const j1={blockquote:Q7,break:I1,code:id,definition:ld,emphasis:R1,hardBreak:I1,heading:cd,html:_1,image:q1,imageReference:O1,inlineCode:F1,link:P1,linkReference:H1,list:xd,listItem:wd,paragraph:kd,root:Md,strong:V1,text:zd,thematicBreak:Ed};function Dd(){return{enter:{table:Bd,tableData:G1,tableHeader:G1,tableRow:Id},exit:{codeText:Rd,table:Nd,tableData:kl,tableHeader:kl,tableRow:kl}}}function Bd(e){const t=e._align;this.enter({type:"table",align:t.map(function(r){return r==="none"?null:r}),children:[]},e),this.data.inTable=!0}function Nd(e){this.exit(e),this.data.inTable=void 0}function Id(e){this.enter({type:"tableRow",children:[]},e)}function kl(e){this.exit(e)}function G1(e){this.enter({type:"tableCell",children:[]},e)}function Rd(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,_d));const r=this.stack[this.stack.length-1];r.type,r.value=t,this.exit(e)}function _d(e,t){return t==="|"?t:e}function qd(e){const t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,a=t.stringLength,l=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
323
- `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:d,table:u,tableCell:m,tableRow:c}};function u(p,A,B,H){return f(g(p,B,H),p.align)}function c(p,A,B,H){const R=b(p,B,H),L=f([R]);return L.slice(0,L.indexOf(`
324
- `))}function m(p,A,B,H){const R=B.enter("tableCell"),L=B.enter("phrasing"),K=B.containerPhrasing(p,{...H,before:l,after:l});return L(),R(),K}function f(p,A){return K7(p,{align:A,alignDelimiters:n,padding:r,stringLength:a})}function g(p,A,B){const H=p.children;let R=-1;const L=[],K=A.enter("table");for(;++R<H.length;)L[R]=b(H[R],A,B);return K(),L}function b(p,A,B){const H=p.children;let R=-1;const L=[],K=A.enter("tableRow");for(;++R<H.length;)L[R]=m(H[R],p,A,B);return K(),L}function d(p,A,B){let H=j1.inlineCode(p,A,B);return B.stack.includes("tableCell")&&(H=H.replace(/\|/g,"\\$&")),H}}function Od(){return{exit:{taskListCheckValueChecked:U1,taskListCheckValueUnchecked:U1,paragraph:Ld}}}function Fd(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Pd}}}function U1(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function Ld(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const r=this.stack[this.stack.length-1];r.type;const n=r.children[0];if(n&&n.type==="text"){const a=t.children;let l=-1,u;for(;++l<a.length;){const c=a[l];if(c.type==="paragraph"){u=c;break}}u===r&&(n.value=n.value.slice(1),n.value.length===0?r.children.shift():r.position&&n.position&&typeof n.position.start.offset=="number"&&(n.position.start.column++,n.position.start.offset++,r.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function Pd(e,t,r,n){const a=e.children[0],l=typeof e.checked=="boolean"&&a&&a.type==="paragraph",u="["+(e.checked?"x":" ")+"] ",c=r.createTracker(n);l&&c.move(u);let m=j1.listItem(e,t,r,{...n,...c.current()});return l&&(m=m.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,f)),m;function f(g){return g+u}}function Hd(){return[v7(),H7(),G7(),Dd(),Od()]}function $d(e){return{extensions:[w7(),$7(e),U7(),qd(e),Fd()]}}const Vd={tokenize:Xd,partial:!0},W1={tokenize:Zd,partial:!0},Y1={tokenize:Kd,partial:!0},X1={tokenize:Jd,partial:!0},jd={tokenize:Qd,partial:!0},Z1={name:"wwwAutolink",tokenize:Wd,previous:J1},K1={name:"protocolAutolink",tokenize:Yd,previous:Q1},er={name:"emailAutolink",tokenize:Ud,previous:ec},P0={};function Gd(){return{text:P0}}let Cr=48;for(;Cr<123;)P0[Cr]=er,Cr++,Cr===58?Cr=65:Cr===91&&(Cr=97);P0[43]=er,P0[45]=er,P0[46]=er,P0[95]=er,P0[72]=[er,K1],P0[104]=[er,K1],P0[87]=[er,Z1],P0[119]=[er,Z1];function Ud(e,t,r){const n=this;let a,l;return u;function u(b){return!Sl(b)||!ec.call(n,n.previous)||Ml(n.events)?r(b):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),c(b))}function c(b){return Sl(b)?(e.consume(b),c):b===64?(e.consume(b),m):r(b)}function m(b){return b===46?e.check(jd,g,f)(b):b===45||b===95||Vt(b)?(l=!0,e.consume(b),m):g(b)}function f(b){return e.consume(b),a=!0,m}function g(b){return l&&a&&Ut(n.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(b)):r(b)}}function Wd(e,t,r){const n=this;return a;function a(u){return u!==87&&u!==119||!J1.call(n,n.previous)||Ml(n.events)?r(u):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(Vd,e.attempt(W1,e.attempt(Y1,l),r),r)(u))}function l(u){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(u)}}function Yd(e,t,r){const n=this;let a="",l=!1;return u;function u(b){return(b===72||b===104)&&Q1.call(n,n.previous)&&!Ml(n.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(b),e.consume(b),c):r(b)}function c(b){if(Ut(b)&&a.length<5)return a+=String.fromCodePoint(b),e.consume(b),c;if(b===58){const d=a.toLowerCase();if(d==="http"||d==="https")return e.consume(b),m}return r(b)}function m(b){return b===47?(e.consume(b),l?f:(l=!0,m)):r(b)}function f(b){return b===null||Rn(b)||lt(b)||Sr(b)||_n(b)?r(b):e.attempt(W1,e.attempt(Y1,g),r)(b)}function g(b){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(b)}}function Xd(e,t,r){let n=0;return a;function a(u){return(u===87||u===119)&&n<3?(n++,e.consume(u),a):u===46&&n===3?(e.consume(u),l):r(u)}function l(u){return u===null?r(u):t(u)}}function Zd(e,t,r){let n,a,l;return u;function u(f){return f===46||f===95?e.check(X1,m,c)(f):f===null||lt(f)||Sr(f)||f!==45&&_n(f)?m(f):(l=!0,e.consume(f),u)}function c(f){return f===95?n=!0:(a=n,n=void 0),e.consume(f),u}function m(f){return a||n||!l?r(f):t(f)}}function Kd(e,t){let r=0,n=0;return a;function a(u){return u===40?(r++,e.consume(u),a):u===41&&n<r?l(u):u===33||u===34||u===38||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===60||u===63||u===93||u===95||u===126?e.check(X1,t,l)(u):u===null||lt(u)||Sr(u)?t(u):(e.consume(u),a)}function l(u){return u===41&&n++,e.consume(u),a}}function Jd(e,t,r){return n;function n(c){return c===33||c===34||c===39||c===41||c===42||c===44||c===46||c===58||c===59||c===63||c===95||c===126?(e.consume(c),n):c===38?(e.consume(c),l):c===93?(e.consume(c),a):c===60||c===null||lt(c)||Sr(c)?t(c):r(c)}function a(c){return c===null||c===40||c===91||lt(c)||Sr(c)?t(c):n(c)}function l(c){return Ut(c)?u(c):r(c)}function u(c){return c===59?(e.consume(c),n):Ut(c)?(e.consume(c),u):r(c)}}function Qd(e,t,r){return n;function n(l){return e.consume(l),a}function a(l){return Vt(l)?r(l):t(l)}}function J1(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||lt(e)}function Q1(e){return!Ut(e)}function ec(e){return!(e===47||Sl(e))}function Sl(e){return e===43||e===45||e===46||e===95||Vt(e)}function Ml(e){let t=e.length,r=!1;for(;t--;){const n=e[t][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}const ep={tokenize:op,partial:!0};function tp(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:ap,continuation:{tokenize:lp},exit:sp}},text:{91:{name:"gfmFootnoteCall",tokenize:ip},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:rp,resolveTo:np}}}}function rp(e,t,r){const n=this;let a=n.events.length;const l=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let u;for(;a--;){const m=n.events[a][1];if(m.type==="labelImage"){u=m;break}if(m.type==="gfmFootnoteCall"||m.type==="labelLink"||m.type==="label"||m.type==="image"||m.type==="link")break}return c;function c(m){if(!u||!u._balanced)return r(m);const f=A0(n.sliceSerialize({start:u.end,end:n.now()}));return f.codePointAt(0)!==94||!l.includes(f.slice(1))?r(m):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(m),e.exit("gfmFootnoteCallLabelMarker"),t(m))}}function np(e,t){let r=e.length;for(;r--;)if(e[r][1].type==="labelImage"&&e[r][0]==="enter"){e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const n={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const l={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},u={type:"chunkString",contentType:"string",start:Object.assign({},l.start),end:Object.assign({},l.end)},c=[e[r+1],e[r+2],["enter",n,t],e[r+3],e[r+4],["enter",a,t],["exit",a,t],["enter",l,t],["enter",u,t],["exit",u,t],["exit",l,t],e[e.length-2],e[e.length-1],["exit",n,t]];return e.splice(r,e.length-r+1,...c),e}function ip(e,t,r){const n=this,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let l=0,u;return c;function c(b){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(b),e.exit("gfmFootnoteCallLabelMarker"),m}function m(b){return b!==94?r(b):(e.enter("gfmFootnoteCallMarker"),e.consume(b),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",f)}function f(b){if(l>999||b===93&&!u||b===null||b===91||lt(b))return r(b);if(b===93){e.exit("chunkString");const d=e.exit("gfmFootnoteCallString");return a.includes(A0(n.sliceSerialize(d)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(b),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(b)}return lt(b)||(u=!0),l++,e.consume(b),b===92?g:f}function g(b){return b===91||b===92||b===93?(e.consume(b),l++,f):f(b)}}function ap(e,t,r){const n=this,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let l,u=0,c;return m;function m(A){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(A),e.exit("gfmFootnoteDefinitionLabelMarker"),f}function f(A){return A===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(A),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",g):r(A)}function g(A){if(u>999||A===93&&!c||A===null||A===91||lt(A))return r(A);if(A===93){e.exit("chunkString");const B=e.exit("gfmFootnoteDefinitionLabelString");return l=A0(n.sliceSerialize(B)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(A),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return lt(A)||(c=!0),u++,e.consume(A),A===92?b:g}function b(A){return A===91||A===92||A===93?(e.consume(A),u++,g):g(A)}function d(A){return A===58?(e.enter("definitionMarker"),e.consume(A),e.exit("definitionMarker"),a.includes(l)||a.push(l),$e(e,p,"gfmFootnoteDefinitionWhitespace")):r(A)}function p(A){return t(A)}}function lp(e,t,r){return e.check(dn,t,e.attempt(ep,t,r))}function sp(e){e.exit("gfmFootnoteDefinition")}function op(e,t,r){const n=this;return $e(e,a,"gfmFootnoteDefinitionIndent",5);function a(l){const u=n.events[n.events.length-1];return u&&u[1].type==="gfmFootnoteDefinitionIndent"&&u[2].sliceSerialize(u[1],!0).length===4?t(l):r(l)}}function up(e){let r=(e||{}).singleTilde;const n={name:"strikethrough",tokenize:l,resolveAll:a};return r==null&&(r=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function a(u,c){let m=-1;for(;++m<u.length;)if(u[m][0]==="enter"&&u[m][1].type==="strikethroughSequenceTemporary"&&u[m][1]._close){let f=m;for(;f--;)if(u[f][0]==="exit"&&u[f][1].type==="strikethroughSequenceTemporary"&&u[f][1]._open&&u[m][1].end.offset-u[m][1].start.offset===u[f][1].end.offset-u[f][1].start.offset){u[m][1].type="strikethroughSequence",u[f][1].type="strikethroughSequence";const g={type:"strikethrough",start:Object.assign({},u[f][1].start),end:Object.assign({},u[m][1].end)},b={type:"strikethroughText",start:Object.assign({},u[f][1].end),end:Object.assign({},u[m][1].start)},d=[["enter",g,c],["enter",u[f][1],c],["exit",u[f][1],c],["enter",b,c]],p=c.parser.constructs.insideSpan.null;p&&o0(d,d.length,0,qn(p,u.slice(f+1,m),c)),o0(d,d.length,0,[["exit",b,c],["enter",u[m][1],c],["exit",u[m][1],c],["exit",g,c]]),o0(u,f-1,m-f+3,d),m=f+d.length-2;break}}for(m=-1;++m<u.length;)u[m][1].type==="strikethroughSequenceTemporary"&&(u[m][1].type="data");return u}function l(u,c,m){const f=this.previous,g=this.events;let b=0;return d;function d(A){return f===126&&g[g.length-1][1].type!=="characterEscape"?m(A):(u.enter("strikethroughSequenceTemporary"),p(A))}function p(A){const B=$r(f);if(A===126)return b>1?m(A):(u.consume(A),b++,p);if(b<2&&!r)return m(A);const H=u.exit("strikethroughSequenceTemporary"),R=$r(A);return H._open=!R||R===2&&!!B,H._close=!B||B===2&&!!R,c(A)}}}class cp{constructor(){this.map=[]}add(t,r,n){hp(this,t,r,n)}consume(t){if(this.map.sort(function(l,u){return l[0]-u[0]}),this.map.length===0)return;let r=this.map.length;const n=[];for(;r>0;)r-=1,n.push(t.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),t.length=this.map[r][0];n.push(t.slice()),t.length=0;let a=n.pop();for(;a;){for(const l of a)t.push(l);a=n.pop()}this.map.length=0}}function hp(e,t,r,n){let a=0;if(!(r===0&&n.length===0)){for(;a<e.map.length;){if(e.map[a][0]===t){e.map[a][1]+=r,e.map[a][2].push(...n);return}a+=1}e.map.push([t,r,n])}}function mp(e,t){let r=!1;const n=[];for(;t<e.length;){const a=e[t];if(r){if(a[0]==="enter")a[1].type==="tableContent"&&n.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(a[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const l=n.length-1;n[l]=n[l]==="left"?"center":"right"}}else if(a[1].type==="tableDelimiterRow")break}else a[0]==="enter"&&a[1].type==="tableDelimiterRow"&&(r=!0);t+=1}return n}function dp(){return{flow:{null:{name:"table",tokenize:pp,resolveAll:fp}}}}function pp(e,t,r){const n=this;let a=0,l=0,u;return c;function c(J){let de=n.events.length-1;for(;de>-1;){const te=n.events[de][1].type;if(te==="lineEnding"||te==="linePrefix")de--;else break}const ge=de>-1?n.events[de][1].type:null,he=ge==="tableHead"||ge==="tableRow"?Y:m;return he===Y&&n.parser.lazy[n.now().line]?r(J):he(J)}function m(J){return e.enter("tableHead"),e.enter("tableRow"),f(J)}function f(J){return J===124||(u=!0,l+=1),g(J)}function g(J){return J===null?r(J):Ee(J)?l>1?(l=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(J),e.exit("lineEnding"),p):r(J):Ge(J)?$e(e,g,"whitespace")(J):(l+=1,u&&(u=!1,a+=1),J===124?(e.enter("tableCellDivider"),e.consume(J),e.exit("tableCellDivider"),u=!0,g):(e.enter("data"),b(J)))}function b(J){return J===null||J===124||lt(J)?(e.exit("data"),g(J)):(e.consume(J),J===92?d:b)}function d(J){return J===92||J===124?(e.consume(J),b):b(J)}function p(J){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(J):(e.enter("tableDelimiterRow"),u=!1,Ge(J)?$e(e,A,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(J):A(J))}function A(J){return J===45||J===58?H(J):J===124?(u=!0,e.enter("tableCellDivider"),e.consume(J),e.exit("tableCellDivider"),B):re(J)}function B(J){return Ge(J)?$e(e,H,"whitespace")(J):H(J)}function H(J){return J===58?(l+=1,u=!0,e.enter("tableDelimiterMarker"),e.consume(J),e.exit("tableDelimiterMarker"),R):J===45?(l+=1,R(J)):J===null||Ee(J)?ae(J):re(J)}function R(J){return J===45?(e.enter("tableDelimiterFiller"),L(J)):re(J)}function L(J){return J===45?(e.consume(J),L):J===58?(u=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(J),e.exit("tableDelimiterMarker"),K):(e.exit("tableDelimiterFiller"),K(J))}function K(J){return Ge(J)?$e(e,ae,"whitespace")(J):ae(J)}function ae(J){return J===124?A(J):J===null||Ee(J)?!u||a!==l?re(J):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(J)):re(J)}function re(J){return r(J)}function Y(J){return e.enter("tableRow"),oe(J)}function oe(J){return J===124?(e.enter("tableCellDivider"),e.consume(J),e.exit("tableCellDivider"),oe):J===null||Ee(J)?(e.exit("tableRow"),t(J)):Ge(J)?$e(e,oe,"whitespace")(J):(e.enter("data"),ve(J))}function ve(J){return J===null||J===124||lt(J)?(e.exit("data"),oe(J)):(e.consume(J),J===92?ue:ve)}function ue(J){return J===92||J===124?(e.consume(J),ve):ve(J)}}function fp(e,t){let r=-1,n=!0,a=0,l=[0,0,0,0],u=[0,0,0,0],c=!1,m=0,f,g,b;const d=new cp;for(;++r<e.length;){const p=e[r],A=p[1];p[0]==="enter"?A.type==="tableHead"?(c=!1,m!==0&&(tc(d,t,m,f,g),g=void 0,m=0),f={type:"table",start:Object.assign({},A.start),end:Object.assign({},A.end)},d.add(r,0,[["enter",f,t]])):A.type==="tableRow"||A.type==="tableDelimiterRow"?(n=!0,b=void 0,l=[0,0,0,0],u=[0,r+1,0,0],c&&(c=!1,g={type:"tableBody",start:Object.assign({},A.start),end:Object.assign({},A.end)},d.add(r,0,[["enter",g,t]])),a=A.type==="tableDelimiterRow"?2:g?3:1):a&&(A.type==="data"||A.type==="tableDelimiterMarker"||A.type==="tableDelimiterFiller")?(n=!1,u[2]===0&&(l[1]!==0&&(u[0]=u[1],b=fi(d,t,l,a,void 0,b),l=[0,0,0,0]),u[2]=r)):A.type==="tableCellDivider"&&(n?n=!1:(l[1]!==0&&(u[0]=u[1],b=fi(d,t,l,a,void 0,b)),l=u,u=[l[1],r,0,0])):A.type==="tableHead"?(c=!0,m=r):A.type==="tableRow"||A.type==="tableDelimiterRow"?(m=r,l[1]!==0?(u[0]=u[1],b=fi(d,t,l,a,r,b)):u[1]!==0&&(b=fi(d,t,u,a,r,b)),a=0):a&&(A.type==="data"||A.type==="tableDelimiterMarker"||A.type==="tableDelimiterFiller")&&(u[3]=r)}for(m!==0&&tc(d,t,m,f,g),d.consume(t.events),r=-1;++r<t.events.length;){const p=t.events[r];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=mp(t.events,r))}return e}function fi(e,t,r,n,a,l){const u=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",c="tableContent";r[0]!==0&&(l.end=Object.assign({},Xr(t.events,r[0])),e.add(r[0],0,[["exit",l,t]]));const m=Xr(t.events,r[1]);if(l={type:u,start:Object.assign({},m),end:Object.assign({},m)},e.add(r[1],0,[["enter",l,t]]),r[2]!==0){const f=Xr(t.events,r[2]),g=Xr(t.events,r[3]),b={type:c,start:Object.assign({},f),end:Object.assign({},g)};if(e.add(r[2],0,[["enter",b,t]]),n!==2){const d=t.events[r[2]],p=t.events[r[3]];if(d[1].end=Object.assign({},p[1].end),d[1].type="chunkText",d[1].contentType="text",r[3]>r[2]+1){const A=r[2]+1,B=r[3]-r[2]-1;e.add(A,B,[])}}e.add(r[3]+1,0,[["exit",b,t]])}return a!==void 0&&(l.end=Object.assign({},Xr(t.events,a)),e.add(a,0,[["exit",l,t]]),l=void 0),l}function tc(e,t,r,n,a){const l=[],u=Xr(t.events,r);a&&(a.end=Object.assign({},u),l.push(["exit",a,t])),n.end=Object.assign({},u),l.push(["exit",n,t]),e.add(r+1,0,l)}function Xr(e,t){const r=e[t],n=r[0]==="enter"?"start":"end";return r[1][n]}const gp={name:"tasklistCheck",tokenize:bp};function yp(){return{text:{91:gp}}}function bp(e,t,r){const n=this;return a;function a(m){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?r(m):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(m),e.exit("taskListCheckMarker"),l)}function l(m){return lt(m)?(e.enter("taskListCheckValueUnchecked"),e.consume(m),e.exit("taskListCheckValueUnchecked"),u):m===88||m===120?(e.enter("taskListCheckValueChecked"),e.consume(m),e.exit("taskListCheckValueChecked"),u):r(m)}function u(m){return m===93?(e.enter("taskListCheckMarker"),e.consume(m),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),c):r(m)}function c(m){return Ee(m)?t(m):Ge(m)?e.check({tokenize:xp},t,r)(m):r(m)}}function xp(e,t,r){return $e(e,n,"whitespace");function n(a){return a===null?r(a):t(a)}}function vp(e){return $s([Gd(),tp(),up(e),dp(),yp()])}const wp={};function rc(e){const t=this,r=e||wp,n=t.data(),a=n.micromarkExtensions||(n.micromarkExtensions=[]),l=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),u=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);a.push(vp(r)),l.push(Hd()),u.push($d(r))}var gi={exports:{}},yi={exports:{}},kp=yi.exports,nc;function Sp(){return nc||(nc=1,(function(e,t){(function(n,a){e.exports=a()})(typeof self<"u"?self:kp,function(){return(function(){var r={};(function(){r.d=function(s,i){for(var o in i)r.o(i,o)&&!r.o(s,o)&&Object.defineProperty(s,o,{enumerable:!0,get:i[o]})}})(),(function(){r.o=function(s,i){return Object.prototype.hasOwnProperty.call(s,i)}})();var n={};r.d(n,{default:function(){return Lf}});class a{constructor(i,o){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;let h="KaTeX parse error: "+i,y,w;const T=o&&o.loc;if(T&&T.start<=T.end){const _=T.lexer.input;y=T.start,w=T.end,y===_.length?h+=" at end of input: ":h+=" at position "+(y+1)+": ";const P=_.slice(y,w).replace(/[^]/g,"$&̲");let U;y>15?U="…"+_.slice(y-15,y):U=_.slice(0,y);let W;w+15<_.length?W=_.slice(w,w+15)+"…":W=_.slice(w),h+=U+P+W}const C=new Error(h);return C.name="ParseError",C.__proto__=a.prototype,C.position=y,y!=null&&w!=null&&(C.length=w-y),C.rawMessage=i,C}}a.prototype.__proto__=Error.prototype;var l=a;const u=function(s,i){return s.indexOf(i)!==-1},c=function(s,i){return s===void 0?i:s},m=/([A-Z])/g,f=function(s){return s.replace(m,"-$1").toLowerCase()},g={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},b=/[&><"']/g;function d(s){return String(s).replace(b,i=>g[i])}const p=function(s){return s.type==="ordgroup"||s.type==="color"?s.body.length===1?p(s.body[0]):s:s.type==="font"?p(s.body):s},A=function(s){const i=p(s);return i.type==="mathord"||i.type==="textord"||i.type==="atom"},B=function(s){if(!s)throw new Error("Expected non-null, but got "+String(s));return s};var R={contains:u,deflt:c,escape:d,hyphenate:f,getBaseElem:p,isCharacterBox:A,protocolFromUrl:function(s){const i=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(s);return i?i[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(i[1])?null:i[1].toLowerCase():"_relative"}};const L={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:s=>"#"+s},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:(s,i)=>(i.push(s),i)},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:s=>Math.max(0,s),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:s=>Math.max(0,s),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:s=>Math.max(0,s),cli:"-e, --max-expand <n>",cliProcessor:s=>s==="Infinity"?1/0:parseInt(s)},globalGroup:{type:"boolean",cli:!1}};function K(s){if(s.default)return s.default;const i=s.type,o=Array.isArray(i)?i[0]:i;if(typeof o!="string")return o.enum[0];switch(o){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class ae{constructor(i){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,i=i||{};for(const o in L)if(L.hasOwnProperty(o)){const h=L[o];this[o]=i[o]!==void 0?h.processor?h.processor(i[o]):i[o]:K(h)}}reportNonstrict(i,o,h){let y=this.strict;if(typeof y=="function"&&(y=y(i,o,h)),!(!y||y==="ignore")){if(y===!0||y==="error")throw new l("LaTeX-incompatible input and strict mode is set to 'error': "+(o+" ["+i+"]"),h);y==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(o+" ["+i+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+y+"': "+o+" ["+i+"]"))}}useStrictBehavior(i,o,h){let y=this.strict;if(typeof y=="function")try{y=y(i,o,h)}catch{y="error"}return!y||y==="ignore"?!1:y===!0||y==="error"?!0:y==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(o+" ["+i+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+y+"': "+o+" ["+i+"]")),!1)}isTrusted(i){if(i.url&&!i.protocol){const h=R.protocolFromUrl(i.url);if(h==null)return!1;i.protocol=h}return!!(typeof this.trust=="function"?this.trust(i):this.trust)}}class re{constructor(i,o,h){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=i,this.size=o,this.cramped=h}sup(){return te[Ae[this.id]]}sub(){return te[Ve[this.id]]}fracNum(){return te[Qe[this.id]]}fracDen(){return te[ht[this.id]]}cramp(){return te[qt[this.id]]}text(){return te[$[this.id]]}isTight(){return this.size>=2}}const Y=0,oe=1,ve=2,ue=3,J=4,de=5,ge=6,he=7,te=[new re(Y,0,!1),new re(oe,0,!0),new re(ve,1,!1),new re(ue,1,!0),new re(J,2,!1),new re(de,2,!0),new re(ge,3,!1),new re(he,3,!0)],Ae=[J,de,J,de,ge,he,ge,he],Ve=[de,de,de,de,he,he,he,he],Qe=[ve,ue,J,de,ge,he,ge,he],ht=[ue,ue,de,de,he,he,he,he],qt=[oe,oe,ue,ue,de,de,he,he],$=[Y,oe,ve,ue,ve,ue,ve,ue];var we={DISPLAY:te[Y],TEXT:te[ve],SCRIPT:te[J],SCRIPTSCRIPT:te[ge]};const it=[{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]]}];function V(s){for(let i=0;i<it.length;i++){const o=it[i];for(let h=0;h<o.blocks.length;h++){const y=o.blocks[h];if(s>=y[0]&&s<=y[1])return o.name}}return null}const At=[];it.forEach(s=>s.blocks.forEach(i=>At.push(...i)));function It(s){for(let i=0;i<At.length;i+=2)if(s>=At[i]&&s<=At[i+1])return!0;return!1}const tt=80,Ot=function(s,i){return"M95,"+(622+s+i)+`
322
+ `,...l.current()});return/^[\t ]/.test(f)&&(f=Mn(f.charCodeAt(0))+f.slice(1)),f=f?u+" "+f:u,r.options.closeAtx&&(f+=" "+u),m(),c(),f}R1.peek=md;function R1(e){return e.value||""}function md(){return"<"}_1.peek=dd;function _1(e,t,r,n){const a=vl(r),l=a==='"'?"Quote":"Apostrophe",u=r.enter("image");let c=r.enter("label");const m=r.createTracker(n);let f=m.move("![");return f+=m.move(r.safe(e.alt,{before:f,after:"]",...m.current()})),f+=m.move("]("),c(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(c=r.enter("destinationLiteral"),f+=m.move("<"),f+=m.move(r.safe(e.url,{before:f,after:">",...m.current()})),f+=m.move(">")):(c=r.enter("destinationRaw"),f+=m.move(r.safe(e.url,{before:f,after:e.title?" ":")",...m.current()}))),c(),e.title&&(c=r.enter(`title${l}`),f+=m.move(" "+a),f+=m.move(r.safe(e.title,{before:f,after:a,...m.current()})),f+=m.move(a),c()),f+=m.move(")"),u(),f}function dd(){return"!"}q1.peek=pd;function q1(e,t,r,n){const a=e.referenceType,l=r.enter("imageReference");let u=r.enter("label");const c=r.createTracker(n);let m=c.move("![");const f=r.safe(e.alt,{before:m,after:"]",...c.current()});m+=c.move(f+"]["),u();const g=r.stack;r.stack=[],u=r.enter("reference");const b=r.safe(r.associationId(e),{before:m,after:"]",...c.current()});return u(),r.stack=g,l(),a==="full"||!f||f!==b?m+=c.move(b+"]"):a==="shortcut"?m=m.slice(0,-1):m+=c.move("]"),m}function pd(){return"!"}O1.peek=fd;function O1(e,t,r){let n=e.value||"",a="`",l=-1;for(;new RegExp("(^|[^`])"+a+"([^`]|$)").test(n);)a+="`";for(/[^ \r\n]/.test(n)&&(/^[ \r\n]/.test(n)&&/[ \r\n]$/.test(n)||/^`|`$/.test(n))&&(n=" "+n+" ");++l<r.unsafe.length;){const u=r.unsafe[l],c=r.compilePattern(u);let m;if(u.atBreak)for(;m=c.exec(n);){let f=m.index;n.charCodeAt(f)===10&&n.charCodeAt(f-1)===13&&f--,n=n.slice(0,f)+" "+n.slice(m.index+1)}}return a+n+a}function fd(){return"`"}function F1(e,t){const r=Ki(e);return!!(!t.options.resourceLink&&e.url&&!e.title&&e.children&&e.children.length===1&&e.children[0].type==="text"&&(r===e.url||"mailto:"+r===e.url)&&/^[a-z][a-z+.-]+:/i.test(e.url)&&!/[\0- <>\u007F]/.test(e.url))}L1.peek=gd;function L1(e,t,r,n){const a=vl(r),l=a==='"'?"Quote":"Apostrophe",u=r.createTracker(n);let c,m;if(F1(e,r)){const g=r.stack;r.stack=[],c=r.enter("autolink");let b=u.move("<");return b+=u.move(r.containerPhrasing(e,{before:b,after:">",...u.current()})),b+=u.move(">"),c(),r.stack=g,b}c=r.enter("link"),m=r.enter("label");let f=u.move("[");return f+=u.move(r.containerPhrasing(e,{before:f,after:"](",...u.current()})),f+=u.move("]("),m(),!e.url&&e.title||/[\0- \u007F]/.test(e.url)?(m=r.enter("destinationLiteral"),f+=u.move("<"),f+=u.move(r.safe(e.url,{before:f,after:">",...u.current()})),f+=u.move(">")):(m=r.enter("destinationRaw"),f+=u.move(r.safe(e.url,{before:f,after:e.title?" ":")",...u.current()}))),m(),e.title&&(m=r.enter(`title${l}`),f+=u.move(" "+a),f+=u.move(r.safe(e.title,{before:f,after:a,...u.current()})),f+=u.move(a),m()),f+=u.move(")"),c(),f}function gd(e,t,r){return F1(e,r)?"<":"["}P1.peek=yd;function P1(e,t,r,n){const a=e.referenceType,l=r.enter("linkReference");let u=r.enter("label");const c=r.createTracker(n);let m=c.move("[");const f=r.containerPhrasing(e,{before:m,after:"]",...c.current()});m+=c.move(f+"]["),u();const g=r.stack;r.stack=[],u=r.enter("reference");const b=r.safe(r.associationId(e),{before:m,after:"]",...c.current()});return u(),r.stack=g,l(),a==="full"||!f||f!==b?m+=c.move(b+"]"):a==="shortcut"?m=m.slice(0,-1):m+=c.move("]"),m}function yd(){return"["}function wl(e){const t=e.options.bullet||"*";if(t!=="*"&&t!=="+"&&t!=="-")throw new Error("Cannot serialize items with `"+t+"` for `options.bullet`, expected `*`, `+`, or `-`");return t}function bd(e){const t=wl(e),r=e.options.bulletOther;if(!r)return t==="*"?"-":"*";if(r!=="*"&&r!=="+"&&r!=="-")throw new Error("Cannot serialize items with `"+r+"` for `options.bulletOther`, expected `*`, `+`, or `-`");if(r===t)throw new Error("Expected `bullet` (`"+t+"`) and `bulletOther` (`"+r+"`) to be different");return r}function xd(e){const t=e.options.bulletOrdered||".";if(t!=="."&&t!==")")throw new Error("Cannot serialize items with `"+t+"` for `options.bulletOrdered`, expected `.` or `)`");return t}function H1(e){const t=e.options.rule||"*";if(t!=="*"&&t!=="-"&&t!=="_")throw new Error("Cannot serialize rules with `"+t+"` for `options.rule`, expected `*`, `-`, or `_`");return t}function vd(e,t,r,n){const a=r.enter("list"),l=r.bulletCurrent;let u=e.ordered?xd(r):wl(r);const c=e.ordered?u==="."?")":".":bd(r);let m=t&&r.bulletLastUsed?u===r.bulletLastUsed:!1;if(!e.ordered){const g=e.children?e.children[0]:void 0;if((u==="*"||u==="-")&&g&&(!g.children||!g.children[0])&&r.stack[r.stack.length-1]==="list"&&r.stack[r.stack.length-2]==="listItem"&&r.stack[r.stack.length-3]==="list"&&r.stack[r.stack.length-4]==="listItem"&&r.indexStack[r.indexStack.length-1]===0&&r.indexStack[r.indexStack.length-2]===0&&r.indexStack[r.indexStack.length-3]===0&&(m=!0),H1(r)===u&&g){let b=-1;for(;++b<e.children.length;){const d=e.children[b];if(d&&d.type==="listItem"&&d.children&&d.children[0]&&d.children[0].type==="thematicBreak"){m=!0;break}}}}m&&(u=c),r.bulletCurrent=u;const f=r.containerFlow(e,n);return r.bulletLastUsed=u,r.bulletCurrent=l,a(),f}function wd(e){const t=e.options.listItemIndent||"one";if(t!=="tab"&&t!=="one"&&t!=="mixed")throw new Error("Cannot serialize items with `"+t+"` for `options.listItemIndent`, expected `tab`, `one`, or `mixed`");return t}function kd(e,t,r,n){const a=wd(r);let l=r.bulletCurrent||wl(r);t&&t.type==="list"&&t.ordered&&(l=(typeof t.start=="number"&&t.start>-1?t.start:1)+(r.options.incrementListMarker===!1?0:t.children.indexOf(e))+l);let u=l.length+1;(a==="tab"||a==="mixed"&&(t&&t.type==="list"&&t.spread||e.spread))&&(u=Math.ceil(u/4)*4);const c=r.createTracker(n);c.move(l+" ".repeat(u-l.length)),c.shift(u);const m=r.enter("listItem"),f=r.indentLines(r.containerFlow(e,c.current()),g);return m(),f;function g(b,d,p){return d?(p?"":" ".repeat(u))+b:(p?l:l+" ".repeat(u-l.length))+b}}function Sd(e,t,r,n){const a=r.enter("paragraph"),l=r.enter("phrasing"),u=r.containerPhrasing(e,n);return l(),a(),u}const Md=fn(["break","delete","emphasis","footnote","footnoteReference","image","imageReference","inlineCode","inlineMath","link","linkReference","mdxJsxTextElement","mdxTextExpression","strong","text","textDirective"]);function Ad(e,t,r,n){return(e.children.some(function(u){return Md(u)})?r.containerPhrasing:r.containerFlow).call(r,e,n)}function zd(e){const t=e.options.strong||"*";if(t!=="*"&&t!=="_")throw new Error("Cannot serialize strong with `"+t+"` for `options.strong`, expected `*`, or `_`");return t}$1.peek=Td;function $1(e,t,r,n){const a=zd(r),l=r.enter("strong"),u=r.createTracker(n),c=u.move(a+a);let m=u.move(r.containerPhrasing(e,{after:a,before:c,...u.current()}));const f=m.charCodeAt(0),g=xi(n.before.charCodeAt(n.before.length-1),f,a);g.inside&&(m=Mn(f)+m.slice(1));const b=m.charCodeAt(m.length-1),d=xi(n.after.charCodeAt(0),b,a);d.inside&&(m=m.slice(0,-1)+Mn(b));const p=u.move(a+a);return l(),r.attentionEncodeSurroundingInfo={after:d.outside,before:g.outside},c+m+p}function Td(e,t,r){return r.options.strong||"*"}function Cd(e,t,r,n){return r.safe(e.value,n)}function Ed(e){const t=e.options.ruleRepetition||3;if(t<3)throw new Error("Cannot serialize rules with repetition `"+t+"` for `options.ruleRepetition`, expected `3` or more");return t}function Dd(e,t,r){const n=(H1(r)+(r.options.ruleSpaces?" ":"")).repeat(Ed(r));return r.options.ruleSpaces?n.slice(0,-1):n}const V1={blockquote:ed,break:N1,code:ad,definition:sd,emphasis:I1,hardBreak:N1,heading:hd,html:R1,image:_1,imageReference:q1,inlineCode:O1,link:L1,linkReference:P1,list:vd,listItem:kd,paragraph:Sd,root:Ad,strong:$1,text:Cd,thematicBreak:Dd};function Bd(){return{enter:{table:Nd,tableData:j1,tableHeader:j1,tableRow:Rd},exit:{codeText:_d,table:Id,tableData:kl,tableHeader:kl,tableRow:kl}}}function Nd(e){const t=e._align;this.enter({type:"table",align:t.map(function(r){return r==="none"?null:r}),children:[]},e),this.data.inTable=!0}function Id(e){this.exit(e),this.data.inTable=void 0}function Rd(e){this.enter({type:"tableRow",children:[]},e)}function kl(e){this.exit(e)}function j1(e){this.enter({type:"tableCell",children:[]},e)}function _d(e){let t=this.resume();this.data.inTable&&(t=t.replace(/\\([\\|])/g,qd));const r=this.stack[this.stack.length-1];r.type,r.value=t,this.exit(e)}function qd(e,t){return t==="|"?t:e}function Od(e){const t=e||{},r=t.tableCellPadding,n=t.tablePipeAlign,a=t.stringLength,l=r?" ":"|";return{unsafe:[{character:"\r",inConstruct:"tableCell"},{character:`
323
+ `,inConstruct:"tableCell"},{atBreak:!0,character:"|",after:"[ :-]"},{character:"|",inConstruct:"tableCell"},{atBreak:!0,character:":",after:"-"},{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{inlineCode:d,table:u,tableCell:m,tableRow:c}};function u(p,A,N,O){return f(g(p,N,O),p.align)}function c(p,A,N,O){const q=b(p,N,O),P=f([q]);return P.slice(0,P.indexOf(`
324
+ `))}function m(p,A,N,O){const q=N.enter("tableCell"),P=N.enter("phrasing"),K=N.containerPhrasing(p,{...O,before:l,after:l});return P(),q(),K}function f(p,A){return J7(p,{align:A,alignDelimiters:n,padding:r,stringLength:a})}function g(p,A,N){const O=p.children;let q=-1;const P=[],K=A.enter("table");for(;++q<O.length;)P[q]=b(O[q],A,N);return K(),P}function b(p,A,N){const O=p.children;let q=-1;const P=[],K=A.enter("tableRow");for(;++q<O.length;)P[q]=m(O[q],p,A,N);return K(),P}function d(p,A,N){let O=V1.inlineCode(p,A,N);return N.stack.includes("tableCell")&&(O=O.replace(/\|/g,"\\$&")),O}}function Fd(){return{exit:{taskListCheckValueChecked:G1,taskListCheckValueUnchecked:G1,paragraph:Pd}}}function Ld(){return{unsafe:[{atBreak:!0,character:"-",after:"[:|-]"}],handlers:{listItem:Hd}}}function G1(e){const t=this.stack[this.stack.length-2];t.type,t.checked=e.type==="taskListCheckValueChecked"}function Pd(e){const t=this.stack[this.stack.length-2];if(t&&t.type==="listItem"&&typeof t.checked=="boolean"){const r=this.stack[this.stack.length-1];r.type;const n=r.children[0];if(n&&n.type==="text"){const a=t.children;let l=-1,u;for(;++l<a.length;){const c=a[l];if(c.type==="paragraph"){u=c;break}}u===r&&(n.value=n.value.slice(1),n.value.length===0?r.children.shift():r.position&&n.position&&typeof n.position.start.offset=="number"&&(n.position.start.column++,n.position.start.offset++,r.position.start=Object.assign({},n.position.start)))}}this.exit(e)}function Hd(e,t,r,n){const a=e.children[0],l=typeof e.checked=="boolean"&&a&&a.type==="paragraph",u="["+(e.checked?"x":" ")+"] ",c=r.createTracker(n);l&&c.move(u);let m=V1.listItem(e,t,r,{...n,...c.current()});return l&&(m=m.replace(/^(?:[*+-]|\d+\.)([\r\n]| {1,3})/,f)),m;function f(g){return g+u}}function $d(){return[w7(),$7(),U7(),Bd(),Fd()]}function Vd(e){return{extensions:[k7(),V7(e),W7(),Od(e),Ld()]}}const jd={tokenize:Zd,partial:!0},U1={tokenize:Kd,partial:!0},W1={tokenize:Jd,partial:!0},Y1={tokenize:Qd,partial:!0},Gd={tokenize:ep,partial:!0},X1={name:"wwwAutolink",tokenize:Yd,previous:K1},Z1={name:"protocolAutolink",tokenize:Xd,previous:J1},rr={name:"emailAutolink",tokenize:Wd,previous:Q1},F0={};function Ud(){return{text:F0}}let Br=48;for(;Br<123;)F0[Br]=rr,Br++,Br===58?Br=65:Br===91&&(Br=97);F0[43]=rr,F0[45]=rr,F0[46]=rr,F0[95]=rr,F0[72]=[rr,Z1],F0[104]=[rr,Z1],F0[87]=[rr,X1],F0[119]=[rr,X1];function Wd(e,t,r){const n=this;let a,l;return u;function u(b){return!Sl(b)||!Q1.call(n,n.previous)||Ml(n.events)?r(b):(e.enter("literalAutolink"),e.enter("literalAutolinkEmail"),c(b))}function c(b){return Sl(b)?(e.consume(b),c):b===64?(e.consume(b),m):r(b)}function m(b){return b===46?e.check(Gd,g,f)(b):b===45||b===95||Vt(b)?(l=!0,e.consume(b),m):g(b)}function f(b){return e.consume(b),a=!0,m}function g(b){return l&&a&&Wt(n.previous)?(e.exit("literalAutolinkEmail"),e.exit("literalAutolink"),t(b)):r(b)}}function Yd(e,t,r){const n=this;return a;function a(u){return u!==87&&u!==119||!K1.call(n,n.previous)||Ml(n.events)?r(u):(e.enter("literalAutolink"),e.enter("literalAutolinkWww"),e.check(jd,e.attempt(U1,e.attempt(W1,l),r),r)(u))}function l(u){return e.exit("literalAutolinkWww"),e.exit("literalAutolink"),t(u)}}function Xd(e,t,r){const n=this;let a="",l=!1;return u;function u(b){return(b===72||b===104)&&J1.call(n,n.previous)&&!Ml(n.events)?(e.enter("literalAutolink"),e.enter("literalAutolinkHttp"),a+=String.fromCodePoint(b),e.consume(b),c):r(b)}function c(b){if(Wt(b)&&a.length<5)return a+=String.fromCodePoint(b),e.consume(b),c;if(b===58){const d=a.toLowerCase();if(d==="http"||d==="https")return e.consume(b),m}return r(b)}function m(b){return b===47?(e.consume(b),l?f:(l=!0,m)):r(b)}function f(b){return b===null||Ln(b)||it(b)||zr(b)||Pn(b)?r(b):e.attempt(U1,e.attempt(W1,g),r)(b)}function g(b){return e.exit("literalAutolinkHttp"),e.exit("literalAutolink"),t(b)}}function Zd(e,t,r){let n=0;return a;function a(u){return(u===87||u===119)&&n<3?(n++,e.consume(u),a):u===46&&n===3?(e.consume(u),l):r(u)}function l(u){return u===null?r(u):t(u)}}function Kd(e,t,r){let n,a,l;return u;function u(f){return f===46||f===95?e.check(Y1,m,c)(f):f===null||it(f)||zr(f)||f!==45&&Pn(f)?m(f):(l=!0,e.consume(f),u)}function c(f){return f===95?n=!0:(a=n,n=void 0),e.consume(f),u}function m(f){return a||n||!l?r(f):t(f)}}function Jd(e,t){let r=0,n=0;return a;function a(u){return u===40?(r++,e.consume(u),a):u===41&&n<r?l(u):u===33||u===34||u===38||u===39||u===41||u===42||u===44||u===46||u===58||u===59||u===60||u===63||u===93||u===95||u===126?e.check(Y1,t,l)(u):u===null||it(u)||zr(u)?t(u):(e.consume(u),a)}function l(u){return u===41&&n++,e.consume(u),a}}function Qd(e,t,r){return n;function n(c){return c===33||c===34||c===39||c===41||c===42||c===44||c===46||c===58||c===59||c===63||c===95||c===126?(e.consume(c),n):c===38?(e.consume(c),l):c===93?(e.consume(c),a):c===60||c===null||it(c)||zr(c)?t(c):r(c)}function a(c){return c===null||c===40||c===91||it(c)||zr(c)?t(c):n(c)}function l(c){return Wt(c)?u(c):r(c)}function u(c){return c===59?(e.consume(c),n):Wt(c)?(e.consume(c),u):r(c)}}function ep(e,t,r){return n;function n(l){return e.consume(l),a}function a(l){return Vt(l)?r(l):t(l)}}function K1(e){return e===null||e===40||e===42||e===95||e===91||e===93||e===126||it(e)}function J1(e){return!Wt(e)}function Q1(e){return!(e===47||Sl(e))}function Sl(e){return e===43||e===45||e===46||e===95||Vt(e)}function Ml(e){let t=e.length,r=!1;for(;t--;){const n=e[t][1];if((n.type==="labelLink"||n.type==="labelImage")&&!n._balanced){r=!0;break}if(n._gfmAutolinkLiteralWalkedInto){r=!1;break}}return e.length>0&&!r&&(e[e.length-1][1]._gfmAutolinkLiteralWalkedInto=!0),r}const tp={tokenize:up,partial:!0};function rp(){return{document:{91:{name:"gfmFootnoteDefinition",tokenize:lp,continuation:{tokenize:sp},exit:op}},text:{91:{name:"gfmFootnoteCall",tokenize:ap},93:{name:"gfmPotentialFootnoteCall",add:"after",tokenize:np,resolveTo:ip}}}}function np(e,t,r){const n=this;let a=n.events.length;const l=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let u;for(;a--;){const m=n.events[a][1];if(m.type==="labelImage"){u=m;break}if(m.type==="gfmFootnoteCall"||m.type==="labelLink"||m.type==="label"||m.type==="image"||m.type==="link")break}return c;function c(m){if(!u||!u._balanced)return r(m);const f=z0(n.sliceSerialize({start:u.end,end:n.now()}));return f.codePointAt(0)!==94||!l.includes(f.slice(1))?r(m):(e.enter("gfmFootnoteCallLabelMarker"),e.consume(m),e.exit("gfmFootnoteCallLabelMarker"),t(m))}}function ip(e,t){let r=e.length;for(;r--;)if(e[r][1].type==="labelImage"&&e[r][0]==="enter"){e[r][1];break}e[r+1][1].type="data",e[r+3][1].type="gfmFootnoteCallLabelMarker";const n={type:"gfmFootnoteCall",start:Object.assign({},e[r+3][1].start),end:Object.assign({},e[e.length-1][1].end)},a={type:"gfmFootnoteCallMarker",start:Object.assign({},e[r+3][1].end),end:Object.assign({},e[r+3][1].end)};a.end.column++,a.end.offset++,a.end._bufferIndex++;const l={type:"gfmFootnoteCallString",start:Object.assign({},a.end),end:Object.assign({},e[e.length-1][1].start)},u={type:"chunkString",contentType:"string",start:Object.assign({},l.start),end:Object.assign({},l.end)},c=[e[r+1],e[r+2],["enter",n,t],e[r+3],e[r+4],["enter",a,t],["exit",a,t],["enter",l,t],["enter",u,t],["exit",u,t],["exit",l,t],e[e.length-2],e[e.length-1],["exit",n,t]];return e.splice(r,e.length-r+1,...c),e}function ap(e,t,r){const n=this,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let l=0,u;return c;function c(b){return e.enter("gfmFootnoteCall"),e.enter("gfmFootnoteCallLabelMarker"),e.consume(b),e.exit("gfmFootnoteCallLabelMarker"),m}function m(b){return b!==94?r(b):(e.enter("gfmFootnoteCallMarker"),e.consume(b),e.exit("gfmFootnoteCallMarker"),e.enter("gfmFootnoteCallString"),e.enter("chunkString").contentType="string",f)}function f(b){if(l>999||b===93&&!u||b===null||b===91||it(b))return r(b);if(b===93){e.exit("chunkString");const d=e.exit("gfmFootnoteCallString");return a.includes(z0(n.sliceSerialize(d)))?(e.enter("gfmFootnoteCallLabelMarker"),e.consume(b),e.exit("gfmFootnoteCallLabelMarker"),e.exit("gfmFootnoteCall"),t):r(b)}return it(b)||(u=!0),l++,e.consume(b),b===92?g:f}function g(b){return b===91||b===92||b===93?(e.consume(b),l++,f):f(b)}}function lp(e,t,r){const n=this,a=n.parser.gfmFootnotes||(n.parser.gfmFootnotes=[]);let l,u=0,c;return m;function m(A){return e.enter("gfmFootnoteDefinition")._container=!0,e.enter("gfmFootnoteDefinitionLabel"),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(A),e.exit("gfmFootnoteDefinitionLabelMarker"),f}function f(A){return A===94?(e.enter("gfmFootnoteDefinitionMarker"),e.consume(A),e.exit("gfmFootnoteDefinitionMarker"),e.enter("gfmFootnoteDefinitionLabelString"),e.enter("chunkString").contentType="string",g):r(A)}function g(A){if(u>999||A===93&&!c||A===null||A===91||it(A))return r(A);if(A===93){e.exit("chunkString");const N=e.exit("gfmFootnoteDefinitionLabelString");return l=z0(n.sliceSerialize(N)),e.enter("gfmFootnoteDefinitionLabelMarker"),e.consume(A),e.exit("gfmFootnoteDefinitionLabelMarker"),e.exit("gfmFootnoteDefinitionLabel"),d}return it(A)||(c=!0),u++,e.consume(A),A===92?b:g}function b(A){return A===91||A===92||A===93?(e.consume(A),u++,g):g(A)}function d(A){return A===58?(e.enter("definitionMarker"),e.consume(A),e.exit("definitionMarker"),a.includes(l)||a.push(l),He(e,p,"gfmFootnoteDefinitionWhitespace")):r(A)}function p(A){return t(A)}}function sp(e,t,r){return e.check(cn,t,e.attempt(tp,t,r))}function op(e){e.exit("gfmFootnoteDefinition")}function up(e,t,r){const n=this;return He(e,a,"gfmFootnoteDefinitionIndent",5);function a(l){const u=n.events[n.events.length-1];return u&&u[1].type==="gfmFootnoteDefinitionIndent"&&u[2].sliceSerialize(u[1],!0).length===4?t(l):r(l)}}function cp(e){let r=(e||{}).singleTilde;const n={name:"strikethrough",tokenize:l,resolveAll:a};return r==null&&(r=!0),{text:{126:n},insideSpan:{null:[n]},attentionMarkers:{null:[126]}};function a(u,c){let m=-1;for(;++m<u.length;)if(u[m][0]==="enter"&&u[m][1].type==="strikethroughSequenceTemporary"&&u[m][1]._close){let f=m;for(;f--;)if(u[f][0]==="exit"&&u[f][1].type==="strikethroughSequenceTemporary"&&u[f][1]._open&&u[m][1].end.offset-u[m][1].start.offset===u[f][1].end.offset-u[f][1].start.offset){u[m][1].type="strikethroughSequence",u[f][1].type="strikethroughSequence";const g={type:"strikethrough",start:Object.assign({},u[f][1].start),end:Object.assign({},u[m][1].end)},b={type:"strikethroughText",start:Object.assign({},u[f][1].end),end:Object.assign({},u[m][1].start)},d=[["enter",g,c],["enter",u[f][1],c],["exit",u[f][1],c],["enter",b,c]],p=c.parser.constructs.insideSpan.null;p&&c0(d,d.length,0,Hn(p,u.slice(f+1,m),c)),c0(d,d.length,0,[["exit",b,c],["enter",u[m][1],c],["exit",u[m][1],c],["exit",g,c]]),c0(u,f-1,m-f+3,d),m=f+d.length-2;break}}for(m=-1;++m<u.length;)u[m][1].type==="strikethroughSequenceTemporary"&&(u[m][1].type="data");return u}function l(u,c,m){const f=this.previous,g=this.events;let b=0;return d;function d(A){return f===126&&g[g.length-1][1].type!=="characterEscape"?m(A):(u.enter("strikethroughSequenceTemporary"),p(A))}function p(A){const N=jr(f);if(A===126)return b>1?m(A):(u.consume(A),b++,p);if(b<2&&!r)return m(A);const O=u.exit("strikethroughSequenceTemporary"),q=jr(A);return O._open=!q||q===2&&!!N,O._close=!N||N===2&&!!q,c(A)}}}class hp{constructor(){this.map=[]}add(t,r,n){mp(this,t,r,n)}consume(t){if(this.map.sort(function(l,u){return l[0]-u[0]}),this.map.length===0)return;let r=this.map.length;const n=[];for(;r>0;)r-=1,n.push(t.slice(this.map[r][0]+this.map[r][1]),this.map[r][2]),t.length=this.map[r][0];n.push(t.slice()),t.length=0;let a=n.pop();for(;a;){for(const l of a)t.push(l);a=n.pop()}this.map.length=0}}function mp(e,t,r,n){let a=0;if(!(r===0&&n.length===0)){for(;a<e.map.length;){if(e.map[a][0]===t){e.map[a][1]+=r,e.map[a][2].push(...n);return}a+=1}e.map.push([t,r,n])}}function dp(e,t){let r=!1;const n=[];for(;t<e.length;){const a=e[t];if(r){if(a[0]==="enter")a[1].type==="tableContent"&&n.push(e[t+1][1].type==="tableDelimiterMarker"?"left":"none");else if(a[1].type==="tableContent"){if(e[t-1][1].type==="tableDelimiterMarker"){const l=n.length-1;n[l]=n[l]==="left"?"center":"right"}}else if(a[1].type==="tableDelimiterRow")break}else a[0]==="enter"&&a[1].type==="tableDelimiterRow"&&(r=!0);t+=1}return n}function pp(){return{flow:{null:{name:"table",tokenize:fp,resolveAll:gp}}}}function fp(e,t,r){const n=this;let a=0,l=0,u;return c;function c(Y){let be=n.events.length-1;for(;be>-1;){const ue=n.events[be][1].type;if(ue==="lineEnding"||ue==="linePrefix")be--;else break}const oe=be>-1?n.events[be][1].type:null,ye=oe==="tableHead"||oe==="tableRow"?W:m;return ye===W&&n.parser.lazy[n.now().line]?r(Y):ye(Y)}function m(Y){return e.enter("tableHead"),e.enter("tableRow"),f(Y)}function f(Y){return Y===124||(u=!0,l+=1),g(Y)}function g(Y){return Y===null?r(Y):Ee(Y)?l>1?(l=0,n.interrupt=!0,e.exit("tableRow"),e.enter("lineEnding"),e.consume(Y),e.exit("lineEnding"),p):r(Y):je(Y)?He(e,g,"whitespace")(Y):(l+=1,u&&(u=!1,a+=1),Y===124?(e.enter("tableCellDivider"),e.consume(Y),e.exit("tableCellDivider"),u=!0,g):(e.enter("data"),b(Y)))}function b(Y){return Y===null||Y===124||it(Y)?(e.exit("data"),g(Y)):(e.consume(Y),Y===92?d:b)}function d(Y){return Y===92||Y===124?(e.consume(Y),b):b(Y)}function p(Y){return n.interrupt=!1,n.parser.lazy[n.now().line]?r(Y):(e.enter("tableDelimiterRow"),u=!1,je(Y)?He(e,A,"linePrefix",n.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(Y):A(Y))}function A(Y){return Y===45||Y===58?O(Y):Y===124?(u=!0,e.enter("tableCellDivider"),e.consume(Y),e.exit("tableCellDivider"),N):le(Y)}function N(Y){return je(Y)?He(e,O,"whitespace")(Y):O(Y)}function O(Y){return Y===58?(l+=1,u=!0,e.enter("tableDelimiterMarker"),e.consume(Y),e.exit("tableDelimiterMarker"),q):Y===45?(l+=1,q(Y)):Y===null||Ee(Y)?re(Y):le(Y)}function q(Y){return Y===45?(e.enter("tableDelimiterFiller"),P(Y)):le(Y)}function P(Y){return Y===45?(e.consume(Y),P):Y===58?(u=!0,e.exit("tableDelimiterFiller"),e.enter("tableDelimiterMarker"),e.consume(Y),e.exit("tableDelimiterMarker"),K):(e.exit("tableDelimiterFiller"),K(Y))}function K(Y){return je(Y)?He(e,re,"whitespace")(Y):re(Y)}function re(Y){return Y===124?A(Y):Y===null||Ee(Y)?!u||a!==l?le(Y):(e.exit("tableDelimiterRow"),e.exit("tableHead"),t(Y)):le(Y)}function le(Y){return r(Y)}function W(Y){return e.enter("tableRow"),se(Y)}function se(Y){return Y===124?(e.enter("tableCellDivider"),e.consume(Y),e.exit("tableCellDivider"),se):Y===null||Ee(Y)?(e.exit("tableRow"),t(Y)):je(Y)?He(e,se,"whitespace")(Y):(e.enter("data"),ve(Y))}function ve(Y){return Y===null||Y===124||it(Y)?(e.exit("data"),se(Y)):(e.consume(Y),Y===92?pe:ve)}function pe(Y){return Y===92||Y===124?(e.consume(Y),ve):ve(Y)}}function gp(e,t){let r=-1,n=!0,a=0,l=[0,0,0,0],u=[0,0,0,0],c=!1,m=0,f,g,b;const d=new hp;for(;++r<e.length;){const p=e[r],A=p[1];p[0]==="enter"?A.type==="tableHead"?(c=!1,m!==0&&(ec(d,t,m,f,g),g=void 0,m=0),f={type:"table",start:Object.assign({},A.start),end:Object.assign({},A.end)},d.add(r,0,[["enter",f,t]])):A.type==="tableRow"||A.type==="tableDelimiterRow"?(n=!0,b=void 0,l=[0,0,0,0],u=[0,r+1,0,0],c&&(c=!1,g={type:"tableBody",start:Object.assign({},A.start),end:Object.assign({},A.end)},d.add(r,0,[["enter",g,t]])),a=A.type==="tableDelimiterRow"?2:g?3:1):a&&(A.type==="data"||A.type==="tableDelimiterMarker"||A.type==="tableDelimiterFiller")?(n=!1,u[2]===0&&(l[1]!==0&&(u[0]=u[1],b=vi(d,t,l,a,void 0,b),l=[0,0,0,0]),u[2]=r)):A.type==="tableCellDivider"&&(n?n=!1:(l[1]!==0&&(u[0]=u[1],b=vi(d,t,l,a,void 0,b)),l=u,u=[l[1],r,0,0])):A.type==="tableHead"?(c=!0,m=r):A.type==="tableRow"||A.type==="tableDelimiterRow"?(m=r,l[1]!==0?(u[0]=u[1],b=vi(d,t,l,a,r,b)):u[1]!==0&&(b=vi(d,t,u,a,r,b)),a=0):a&&(A.type==="data"||A.type==="tableDelimiterMarker"||A.type==="tableDelimiterFiller")&&(u[3]=r)}for(m!==0&&ec(d,t,m,f,g),d.consume(t.events),r=-1;++r<t.events.length;){const p=t.events[r];p[0]==="enter"&&p[1].type==="table"&&(p[1]._align=dp(t.events,r))}return e}function vi(e,t,r,n,a,l){const u=n===1?"tableHeader":n===2?"tableDelimiter":"tableData",c="tableContent";r[0]!==0&&(l.end=Object.assign({},Kr(t.events,r[0])),e.add(r[0],0,[["exit",l,t]]));const m=Kr(t.events,r[1]);if(l={type:u,start:Object.assign({},m),end:Object.assign({},m)},e.add(r[1],0,[["enter",l,t]]),r[2]!==0){const f=Kr(t.events,r[2]),g=Kr(t.events,r[3]),b={type:c,start:Object.assign({},f),end:Object.assign({},g)};if(e.add(r[2],0,[["enter",b,t]]),n!==2){const d=t.events[r[2]],p=t.events[r[3]];if(d[1].end=Object.assign({},p[1].end),d[1].type="chunkText",d[1].contentType="text",r[3]>r[2]+1){const A=r[2]+1,N=r[3]-r[2]-1;e.add(A,N,[])}}e.add(r[3]+1,0,[["exit",b,t]])}return a!==void 0&&(l.end=Object.assign({},Kr(t.events,a)),e.add(a,0,[["exit",l,t]]),l=void 0),l}function ec(e,t,r,n,a){const l=[],u=Kr(t.events,r);a&&(a.end=Object.assign({},u),l.push(["exit",a,t])),n.end=Object.assign({},u),l.push(["exit",n,t]),e.add(r+1,0,l)}function Kr(e,t){const r=e[t],n=r[0]==="enter"?"start":"end";return r[1][n]}const yp={name:"tasklistCheck",tokenize:xp};function bp(){return{text:{91:yp}}}function xp(e,t,r){const n=this;return a;function a(m){return n.previous!==null||!n._gfmTasklistFirstContentOfListItem?r(m):(e.enter("taskListCheck"),e.enter("taskListCheckMarker"),e.consume(m),e.exit("taskListCheckMarker"),l)}function l(m){return it(m)?(e.enter("taskListCheckValueUnchecked"),e.consume(m),e.exit("taskListCheckValueUnchecked"),u):m===88||m===120?(e.enter("taskListCheckValueChecked"),e.consume(m),e.exit("taskListCheckValueChecked"),u):r(m)}function u(m){return m===93?(e.enter("taskListCheckMarker"),e.consume(m),e.exit("taskListCheckMarker"),e.exit("taskListCheck"),c):r(m)}function c(m){return Ee(m)?t(m):je(m)?e.check({tokenize:vp},t,r)(m):r(m)}}function vp(e,t,r){return He(e,n,"whitespace");function n(a){return a===null?r(a):t(a)}}function wp(e){return Hs([Ud(),rp(),cp(e),pp(),bp()])}const kp={};function tc(e){const t=this,r=e||kp,n=t.data(),a=n.micromarkExtensions||(n.micromarkExtensions=[]),l=n.fromMarkdownExtensions||(n.fromMarkdownExtensions=[]),u=n.toMarkdownExtensions||(n.toMarkdownExtensions=[]);a.push(wp(r)),l.push($d()),u.push(Vd(r))}var wi={exports:{}},ki={exports:{}},Sp=ki.exports,rc;function Mp(){return rc||(rc=1,(function(e,t){(function(n,a){e.exports=a()})(typeof self<"u"?self:Sp,function(){return(function(){var r={};(function(){r.d=function(s,i){for(var o in i)r.o(i,o)&&!r.o(s,o)&&Object.defineProperty(s,o,{enumerable:!0,get:i[o]})}})(),(function(){r.o=function(s,i){return Object.prototype.hasOwnProperty.call(s,i)}})();var n={};r.d(n,{default:function(){return Pf}});class a{constructor(i,o){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;let h="KaTeX parse error: "+i,y,w;const z=o&&o.loc;if(z&&z.start<=z.end){const I=z.lexer.input;y=z.start,w=z.end,y===I.length?h+=" at end of input: ":h+=" at position "+(y+1)+": ";const H=I.slice(y,w).replace(/[^]/g,"$&̲");let G;y>15?G="…"+I.slice(y-15,y):G=I.slice(0,y);let U;w+15<I.length?U=I.slice(w,w+15)+"…":U=I.slice(w),h+=G+H+U}const E=new Error(h);return E.name="ParseError",E.__proto__=a.prototype,E.position=y,y!=null&&w!=null&&(E.length=w-y),E.rawMessage=i,E}}a.prototype.__proto__=Error.prototype;var l=a;const u=function(s,i){return s===void 0?i:s},c=/([A-Z])/g,m=function(s){return s.replace(c,"-$1").toLowerCase()},f={"&":"&amp;",">":"&gt;","<":"&lt;",'"':"&quot;","'":"&#x27;"},g=/[&><"']/g;function b(s){return String(s).replace(g,i=>f[i])}const d=function(s){return s.type==="ordgroup"||s.type==="color"?s.body.length===1?d(s.body[0]):s:s.type==="font"?d(s.body):s},p=function(s){const i=d(s);return i.type==="mathord"||i.type==="textord"||i.type==="atom"},A=function(s){if(!s)throw new Error("Expected non-null, but got "+String(s));return s};var O={deflt:u,escape:b,hyphenate:m,getBaseElem:d,isCharacterBox:p,protocolFromUrl:function(s){const i=/^[\x00-\x20]*([^\\/#?]*?)(:|&#0*58|&#x0*3a|&colon)/i.exec(s);return i?i[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(i[1])?null:i[1].toLowerCase():"_relative"}};const q={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:s=>"#"+s},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:(s,i)=>(i.push(s),i)},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:s=>Math.max(0,s),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:s=>Math.max(0,s),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:s=>Math.max(0,s),cli:"-e, --max-expand <n>",cliProcessor:s=>s==="Infinity"?1/0:parseInt(s)},globalGroup:{type:"boolean",cli:!1}};function P(s){if(s.default)return s.default;const i=s.type,o=Array.isArray(i)?i[0]:i;if(typeof o!="string")return o.enum[0];switch(o){case"boolean":return!1;case"string":return"";case"number":return 0;case"object":return{}}}class K{constructor(i){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,i=i||{};for(const o in q)if(q.hasOwnProperty(o)){const h=q[o];this[o]=i[o]!==void 0?h.processor?h.processor(i[o]):i[o]:P(h)}}reportNonstrict(i,o,h){let y=this.strict;if(typeof y=="function"&&(y=y(i,o,h)),!(!y||y==="ignore")){if(y===!0||y==="error")throw new l("LaTeX-incompatible input and strict mode is set to 'error': "+(o+" ["+i+"]"),h);y==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(o+" ["+i+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+y+"': "+o+" ["+i+"]"))}}useStrictBehavior(i,o,h){let y=this.strict;if(typeof y=="function")try{y=y(i,o,h)}catch{y="error"}return!y||y==="ignore"?!1:y===!0||y==="error"?!0:y==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(o+" ["+i+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+y+"': "+o+" ["+i+"]")),!1)}isTrusted(i){if(i.url&&!i.protocol){const h=O.protocolFromUrl(i.url);if(h==null)return!1;i.protocol=h}return!!(typeof this.trust=="function"?this.trust(i):this.trust)}}class re{constructor(i,o,h){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=i,this.size=o,this.cramped=h}sup(){return ye[ue[this.id]]}sub(){return ye[Me[this.id]]}fracNum(){return ye[$e[this.id]]}fracDen(){return ye[Qe[this.id]]}cramp(){return ye[ht[this.id]]}text(){return ye[qt[this.id]]}isTight(){return this.size>=2}}const le=0,W=1,se=2,ve=3,pe=4,Y=5,be=6,oe=7,ye=[new re(le,0,!1),new re(W,0,!0),new re(se,1,!1),new re(ve,1,!0),new re(pe,2,!1),new re(Y,2,!0),new re(be,3,!1),new re(oe,3,!0)],ue=[pe,Y,pe,Y,be,oe,be,oe],Me=[Y,Y,Y,Y,oe,oe,oe,oe],$e=[se,ve,pe,Y,be,oe,be,oe],Qe=[ve,ve,Y,Y,oe,oe,oe,oe],ht=[W,W,ve,ve,Y,Y,oe,oe],qt=[le,W,se,ve,se,ve,se,ve];var R={DISPLAY:ye[le],TEXT:ye[se],SCRIPT:ye[pe],SCRIPTSCRIPT:ye[be]};const lt=[{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]]}];function st(s){for(let i=0;i<lt.length;i++){const o=lt[i];for(let h=0;h<o.blocks.length;h++){const y=o.blocks[h];if(s>=y[0]&&s<=y[1])return o.name}}return null}const $=[];lt.forEach(s=>s.blocks.forEach(i=>$.push(...i)));function Dt(s){for(let i=0;i<$.length;i+=2)if(s>=$[i]&&s<=$[i+1])return!0;return!1}const vt=80,mt=function(s,i){return"M95,"+(622+s+i)+`
325
325
  c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14
326
326
  c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54
327
327
  c44.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
@@ -332,7 +332,7 @@ c5.3,-9.3,12,-14,20,-14
332
332
  H400000v`+(40+s)+`H845.2724
333
333
  s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7
334
334
  c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z
335
- M`+(834+s)+" "+i+"h400000v"+(40+s)+"h-400000z"},Tt=function(s,i){return"M263,"+(601+s+i)+`c0.7,0,18,39.7,52,119
335
+ M`+(834+s)+" "+i+"h400000v"+(40+s)+"h-400000z"},Ot=function(s,i){return"M263,"+(601+s+i)+`c0.7,0,18,39.7,52,119
336
336
  c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120
337
337
  c340,-704.7,510.7,-1060.3,512,-1067
338
338
  l`+s/2.084+" -"+s+`
@@ -342,7 +342,7 @@ s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5,
342
342
  c-22.3,46.7,-33.8,70.3,-34.5,71c-4.7,4.7,-12.3,7,-23,7s-12,-1,-12,-1
343
343
  s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26
344
344
  c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z
345
- M`+(1001+s)+" "+i+"h400000v"+(40+s)+"h-400000z"},Lt=function(s,i){return"M983 "+(10+s+i)+`
345
+ M`+(1001+s)+" "+i+"h400000v"+(40+s)+"h-400000z"},Mt=function(s,i){return"M983 "+(10+s+i)+`
346
346
  l`+s/3.13+" -"+s+`
347
347
  c4,-6.7,10,-10,18,-10 H400000v`+(40+s)+`
348
348
  H1013.1s-83.4,268,-264.1,840c-180.7,572,-277,876.3,-289,913c-4.7,4.7,-12.7,7,-24,7
@@ -351,7 +351,7 @@ c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30
351
351
  c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722
352
352
  c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5
353
353
  c53.7,-170.3,84.5,-266.8,92.5,-289.5z
354
- M`+(1001+s)+" "+i+"h400000v"+(40+s)+"h-400000z"},Ft=function(s,i){return"M424,"+(2398+s+i)+`
354
+ M`+(1001+s)+" "+i+"h400000v"+(40+s)+"h-400000z"},Pt=function(s,i){return"M424,"+(2398+s+i)+`
355
355
  c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514
356
356
  c0,-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
357
357
  s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121
@@ -361,18 +361,18 @@ v`+(40+s)+`H1014.6
361
361
  s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185
362
362
  c-2,6,-10,9,-24,9
363
363
  c-8,0,-12,-0.7,-12,-2z M`+(1001+s)+" "+i+`
364
- h400000v`+(40+s)+"h-400000z"},H0=function(s,i){return"M473,"+(2713+s+i)+`
364
+ h400000v`+(40+s)+"h-400000z"},Ft=function(s,i){return"M473,"+(2713+s+i)+`
365
365
  c339.3,-1799.3,509.3,-2700,510,-2702 l`+s/5.298+" -"+s+`
366
366
  c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+s)+`H1017.7
367
367
  s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9
368
368
  c-8,0,-12,-0.7,-12,-2c0,-1.3,-5.3,-32,-16,-92c-50.7,-293.3,-119.7,-693.3,-207,-1200
369
369
  c0,-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
370
370
  s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104,
371
- 606zM`+(1001+s)+" "+i+"h400000v"+(40+s)+"H1017.7z"},br=function(s){const i=s/2;return"M400000 "+s+" H0 L"+i+" 0 l65 45 L145 "+(s-80)+" H400000z"},Er=function(s,i,o){const h=o-54-i-s;return"M702 "+(s+i)+"H400000"+(40+s)+`
371
+ 606zM`+(1001+s)+" "+i+"h400000v"+(40+s)+"H1017.7z"},L0=function(s){const i=s/2;return"M400000 "+s+" H0 L"+i+" 0 l65 45 L145 "+(s-80)+" H400000z"},xr=function(s,i,o){const h=o-54-i-s;return"M702 "+(s+i)+"H400000"+(40+s)+`
372
372
  H742v`+h+`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
373
373
  h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170
374
374
  c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667
375
- 219 661 l218 661zM702 `+i+"H400000v"+(40+s)+"H742z"},tr=function(s,i,o){i=1e3*i;let h="";switch(s){case"sqrtMain":h=Ot(i,tt);break;case"sqrtSize1":h=Tt(i,tt);break;case"sqrtSize2":h=Lt(i,tt);break;case"sqrtSize3":h=Ft(i,tt);break;case"sqrtSize4":h=H0(i,tt);break;case"sqrtTall":h=Er(i,tt,o)}return h},x0=function(s,i){switch(s){case"⎜":return"M291 0 H417 V"+i+" H291z M291 0 H417 V"+i+" H291z";case"∣":return"M145 0 H188 V"+i+" H145z M145 0 H188 V"+i+" H145z";case"∥":return"M145 0 H188 V"+i+" H145z M145 0 H188 V"+i+" H145z"+("M367 0 H410 V"+i+" H367z M367 0 H410 V"+i+" H367z");case"⎟":return"M457 0 H583 V"+i+" H457z M457 0 H583 V"+i+" H457z";case"⎢":return"M319 0 H403 V"+i+" H319z M319 0 H403 V"+i+" H319z";case"⎥":return"M263 0 H347 V"+i+" H263z M263 0 H347 V"+i+" H263z";case"⎪":return"M384 0 H504 V"+i+" H384z M384 0 H504 V"+i+" H384z";case"⏐":return"M312 0 H355 V"+i+" H312z M312 0 H355 V"+i+" H312z";case"‖":return"M257 0 H300 V"+i+" H257z M257 0 H300 V"+i+" H257z"+("M478 0 H521 V"+i+" H478z M478 0 H521 V"+i+" H478z");default:return""}},n0={doubleleftarrow:`M262 157
375
+ 219 661 l218 661zM702 `+i+"H400000v"+(40+s)+"H742z"},Nr=function(s,i,o){i=1e3*i;let h="";switch(s){case"sqrtMain":h=mt(i,vt);break;case"sqrtSize1":h=Ot(i,vt);break;case"sqrtSize2":h=Mt(i,vt);break;case"sqrtSize3":h=Pt(i,vt);break;case"sqrtSize4":h=Ft(i,vt);break;case"sqrtTall":h=xr(i,vt,o)}return h},nr=function(s,i){switch(s){case"⎜":return"M291 0 H417 V"+i+" H291z M291 0 H417 V"+i+" H291z";case"∣":return"M145 0 H188 V"+i+" H145z M145 0 H188 V"+i+" H145z";case"∥":return"M145 0 H188 V"+i+" H145z M145 0 H188 V"+i+" H145z"+("M367 0 H410 V"+i+" H367z M367 0 H410 V"+i+" H367z");case"⎟":return"M457 0 H583 V"+i+" H457z M457 0 H583 V"+i+" H457z";case"⎢":return"M319 0 H403 V"+i+" H319z M319 0 H403 V"+i+" H319z";case"⎥":return"M263 0 H347 V"+i+" H263z M263 0 H347 V"+i+" H263z";case"⎪":return"M384 0 H504 V"+i+" H384z M384 0 H504 V"+i+" H384z";case"⏐":return"M312 0 H355 V"+i+" H312z M312 0 H355 V"+i+" H312z";case"‖":return"M257 0 H300 V"+i+" H257z M257 0 H300 V"+i+" H257z"+("M478 0 H521 V"+i+" H478z M478 0 H521 V"+i+" H478z");default:return""}},p0={doubleleftarrow:`M262 157
376
376
  l10-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
377
377
  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
378
378
  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
@@ -547,7 +547,7 @@ M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`
547
547
  c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
548
548
  -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
549
549
  c-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
550
- M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},z0=function(s,i){switch(s){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+i+` v1759 h347 v-84
550
+ M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},f0=function(s,i){switch(s){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+i+` v1759 h347 v-84
551
551
  H403z M403 1759 V0 H319 V1759 v`+i+" v1759 h84z";case"rbrack":return"M347 1759 V0 H0 V84 H263 V1759 v"+i+` v1759 H0 v84 H347z
552
552
  M347 1759 V0 H263 V1759 v`+i+" v1759 h84z";case"vert":return"M145 15 v585 v"+i+` v585 c2.667,10,9.667,15,21,15
553
553
  c10,0,16.667,-5,20,-15 v-585 v`+-i+` v-585 c-2.667,-10,-9.667,-15,-21,-15
@@ -575,18 +575,18 @@ c-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
575
575
  c0,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
576
576
  c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
577
577
  l0,-`+(i+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
578
- -470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};class Zt{constructor(i){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=i,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(i){return R.contains(this.classes,i)}toNode(){const i=document.createDocumentFragment();for(let o=0;o<this.children.length;o++)i.appendChild(this.children[o].toNode());return i}toMarkup(){let i="";for(let o=0;o<this.children.length;o++)i+=this.children[o].toMarkup();return i}toText(){const i=o=>o.toText();return this.children.map(i).join("")}}var wt={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}};const rr={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]},Zr={Å:"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 Dr(s,i){wt[s]=i}function Br(s,i,o){if(!wt[i])throw new Error("Font metrics not found for font: "+i+".");let h=s.charCodeAt(0),y=wt[i][h];if(!y&&s[0]in Zr&&(h=Zr[s[0]].charCodeAt(0),y=wt[i][h]),!y&&o==="text"&&It(h)&&(y=wt[i][77]),y)return{depth:y[0],height:y[1],italic:y[2],skew:y[3],width:y[4]}}const Nr={};function Kr(s){let i;if(s>=5?i=0:s>=3?i=1:i=2,!Nr[i]){const o=Nr[i]={cssEmPerMu:rr.quad[i]/18};for(const h in rr)rr.hasOwnProperty(h)&&(o[h]=rr[h][i])}return Nr[i]}const ee=[[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]],be=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Re=function(s,i){return i.size<2?s:ee[s-1][i.size-1]};class _e{constructor(i){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=i.style,this.color=i.color,this.size=i.size||_e.BASESIZE,this.textSize=i.textSize||this.size,this.phantom=!!i.phantom,this.font=i.font||"",this.fontFamily=i.fontFamily||"",this.fontWeight=i.fontWeight||"",this.fontShape=i.fontShape||"",this.sizeMultiplier=be[this.size-1],this.maxSize=i.maxSize,this.minRuleThickness=i.minRuleThickness,this._fontMetrics=void 0}extend(i){const o={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(const h in i)i.hasOwnProperty(h)&&(o[h]=i[h]);return new _e(o)}havingStyle(i){return this.style===i?this:this.extend({style:i,size:Re(this.textSize,i)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(i){return this.size===i&&this.textSize===i?this:this.extend({style:this.style.text(),size:i,textSize:i,sizeMultiplier:be[i-1]})}havingBaseStyle(i){i=i||this.style.text();const o=Re(_e.BASESIZE,i);return this.size===o&&this.textSize===_e.BASESIZE&&this.style===i?this:this.extend({style:i,size:o})}havingBaseSizing(){let i;switch(this.style.id){case 4:case 5:i=3;break;case 6:case 7:i=1;break;default:i=6}return this.extend({style:this.style.text(),size:i})}withColor(i){return this.extend({color:i})}withPhantom(){return this.extend({phantom:!0})}withFont(i){return this.extend({font:i})}withTextFontFamily(i){return this.extend({fontFamily:i,font:""})}withTextFontWeight(i){return this.extend({fontWeight:i,font:""})}withTextFontShape(i){return this.extend({fontShape:i,font:""})}sizingClasses(i){return i.size!==this.size?["sizing","reset-size"+i.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==_e.BASESIZE?["sizing","reset-size"+this.size,"size"+_e.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=Kr(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}_e.BASESIZE=6;var et=_e;const Pt={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},C0={ex:!0,em:!0,mu:!0},i0=function(s){return typeof s!="string"&&(s=s.unit),s in Pt||s in C0||s==="ex"},rt=function(s,i){let o;if(s.unit in Pt)o=Pt[s.unit]/i.fontMetrics().ptPerEm/i.sizeMultiplier;else if(s.unit==="mu")o=i.fontMetrics().cssEmPerMu;else{let h;if(i.style.isTight()?h=i.havingStyle(i.style.text()):h=i,s.unit==="ex")o=h.fontMetrics().xHeight;else if(s.unit==="em")o=h.fontMetrics().quad;else throw new l("Invalid unit: '"+s.unit+"'");h!==i&&(o*=h.sizeMultiplier/i.sizeMultiplier)}return Math.min(s.number*o,i.maxSize)},fe=function(s){return+s.toFixed(4)+"em"},yt=function(s){return s.filter(i=>i).join(" ")},E0=function(s,i,o){if(this.classes=s||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=o||{},i){i.style.isTight()&&this.classes.push("mtight");const h=i.getColor();h&&(this.style.color=h)}},jt=function(s){const i=document.createElement(s);i.className=yt(this.classes);for(const o in this.style)this.style.hasOwnProperty(o)&&(i.style[o]=this.style[o]);for(const o in this.attributes)this.attributes.hasOwnProperty(o)&&i.setAttribute(o,this.attributes[o]);for(let o=0;o<this.children.length;o++)i.appendChild(this.children[o].toNode());return i},bi=/[\s"'>/=\x00-\x1f]/,nr=function(s){let i="<"+s;this.classes.length&&(i+=' class="'+R.escape(yt(this.classes))+'"');let o="";for(const h in this.style)this.style.hasOwnProperty(h)&&(o+=R.hyphenate(h)+":"+this.style[h]+";");o&&(i+=' style="'+R.escape(o)+'"');for(const h in this.attributes)if(this.attributes.hasOwnProperty(h)){if(bi.test(h))throw new l("Invalid attribute name '"+h+"'");i+=" "+h+'="'+R.escape(this.attributes[h])+'"'}i+=">";for(let h=0;h<this.children.length;h++)i+=this.children[h].toMarkup();return i+="</"+s+">",i};class ir{constructor(i,o,h,y){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,E0.call(this,i,h,y),this.children=o||[]}setAttribute(i,o){this.attributes[i]=o}hasClass(i){return R.contains(this.classes,i)}toNode(){return jt.call(this,"span")}toMarkup(){return nr.call(this,"span")}}class Ir{constructor(i,o,h,y){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,E0.call(this,o,y),this.children=h||[],this.setAttribute("href",i)}setAttribute(i,o){this.attributes[i]=o}hasClass(i){return R.contains(this.classes,i)}toNode(){return jt.call(this,"a")}toMarkup(){return nr.call(this,"a")}}class xi{constructor(i,o,h){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=o,this.src=i,this.classes=["mord"],this.style=h}hasClass(i){return R.contains(this.classes,i)}toNode(){const i=document.createElement("img");i.src=this.src,i.alt=this.alt,i.className="mord";for(const o in this.style)this.style.hasOwnProperty(o)&&(i.style[o]=this.style[o]);return i}toMarkup(){let i='<img src="'+R.escape(this.src)+'"'+(' alt="'+R.escape(this.alt)+'"'),o="";for(const h in this.style)this.style.hasOwnProperty(h)&&(o+=R.hyphenate(h)+":"+this.style[h]+";");return o&&(i+=' style="'+R.escape(o)+'"'),i+="'/>",i}}const Al={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class Kt{constructor(i,o,h,y,w,T,C,_){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=i,this.height=o||0,this.depth=h||0,this.italic=y||0,this.skew=w||0,this.width=T||0,this.classes=C||[],this.style=_||{},this.maxFontSize=0;const P=V(this.text.charCodeAt(0));P&&this.classes.push(P+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Al[this.text])}hasClass(i){return R.contains(this.classes,i)}toNode(){const i=document.createTextNode(this.text);let o=null;this.italic>0&&(o=document.createElement("span"),o.style.marginRight=fe(this.italic)),this.classes.length>0&&(o=o||document.createElement("span"),o.className=yt(this.classes));for(const h in this.style)this.style.hasOwnProperty(h)&&(o=o||document.createElement("span"),o.style[h]=this.style[h]);return o?(o.appendChild(i),o):i}toMarkup(){let i=!1,o="<span";this.classes.length&&(i=!0,o+=' class="',o+=R.escape(yt(this.classes)),o+='"');let h="";this.italic>0&&(h+="margin-right:"+this.italic+"em;");for(const w in this.style)this.style.hasOwnProperty(w)&&(h+=R.hyphenate(w)+":"+this.style[w]+";");h&&(i=!0,o+=' style="'+R.escape(h)+'"');const y=R.escape(this.text);return i?(o+=">",o+=y,o+="</span>",o):y}}class D0{constructor(i,o){this.children=void 0,this.attributes=void 0,this.children=i||[],this.attributes=o||{}}toNode(){const o=document.createElementNS("http://www.w3.org/2000/svg","svg");for(const h in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,h)&&o.setAttribute(h,this.attributes[h]);for(let h=0;h<this.children.length;h++)o.appendChild(this.children[h].toNode());return o}toMarkup(){let i='<svg xmlns="http://www.w3.org/2000/svg"';for(const o in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,o)&&(i+=" "+o+'="'+R.escape(this.attributes[o])+'"');i+=">";for(let o=0;o<this.children.length;o++)i+=this.children[o].toMarkup();return i+="</svg>",i}}class B0{constructor(i,o){this.pathName=void 0,this.alternate=void 0,this.pathName=i,this.alternate=o}toNode(){const o=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?o.setAttribute("d",this.alternate):o.setAttribute("d",n0[this.pathName]),o}toMarkup(){return this.alternate?'<path d="'+R.escape(this.alternate)+'"/>':'<path d="'+R.escape(n0[this.pathName])+'"/>'}}class Jr{constructor(i){this.attributes=void 0,this.attributes=i||{}}toNode(){const o=document.createElementNS("http://www.w3.org/2000/svg","line");for(const h in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,h)&&o.setAttribute(h,this.attributes[h]);return o}toMarkup(){let i="<line";for(const o in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,o)&&(i+=" "+o+'="'+R.escape(this.attributes[o])+'"');return i+="/>",i}}function vi(s){if(s instanceof Kt)return s;throw new Error("Expected symbolNode but got "+String(s)+".")}function Tl(s){if(s instanceof ir)return s;throw new Error("Expected span<HtmlDomNode> but got "+String(s)+".")}const wi={bin:1,close:1,inner:1,open:1,punct:1,rel:1},ki={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Qr={math:{},text:{}};var dt=Qr;function x(s,i,o,h,y,w){Qr[s][y]={font:i,group:o,replace:h},w&&h&&(Qr[s][h]=Qr[s][y])}const k="math",N="text",M="main",I="ams",Me="accent-token",le="bin",Oe="close",Pe="inner",ye="mathord",Ue="op-token",We="open",pt="punct",q="rel",Gt="spacing",j="textord";x(k,M,q,"≡","\\equiv",!0),x(k,M,q,"≺","\\prec",!0),x(k,M,q,"≻","\\succ",!0),x(k,M,q,"∼","\\sim",!0),x(k,M,q,"⊥","\\perp"),x(k,M,q,"⪯","\\preceq",!0),x(k,M,q,"⪰","\\succeq",!0),x(k,M,q,"≃","\\simeq",!0),x(k,M,q,"∣","\\mid",!0),x(k,M,q,"≪","\\ll",!0),x(k,M,q,"≫","\\gg",!0),x(k,M,q,"≍","\\asymp",!0),x(k,M,q,"∥","\\parallel"),x(k,M,q,"⋈","\\bowtie",!0),x(k,M,q,"⌣","\\smile",!0),x(k,M,q,"⊑","\\sqsubseteq",!0),x(k,M,q,"⊒","\\sqsupseteq",!0),x(k,M,q,"≐","\\doteq",!0),x(k,M,q,"⌢","\\frown",!0),x(k,M,q,"∋","\\ni",!0),x(k,M,q,"∝","\\propto",!0),x(k,M,q,"⊢","\\vdash",!0),x(k,M,q,"⊣","\\dashv",!0),x(k,M,q,"∋","\\owns"),x(k,M,pt,".","\\ldotp"),x(k,M,pt,"⋅","\\cdotp"),x(k,M,j,"#","\\#"),x(N,M,j,"#","\\#"),x(k,M,j,"&","\\&"),x(N,M,j,"&","\\&"),x(k,M,j,"ℵ","\\aleph",!0),x(k,M,j,"∀","\\forall",!0),x(k,M,j,"ℏ","\\hbar",!0),x(k,M,j,"∃","\\exists",!0),x(k,M,j,"∇","\\nabla",!0),x(k,M,j,"♭","\\flat",!0),x(k,M,j,"ℓ","\\ell",!0),x(k,M,j,"♮","\\natural",!0),x(k,M,j,"♣","\\clubsuit",!0),x(k,M,j,"℘","\\wp",!0),x(k,M,j,"♯","\\sharp",!0),x(k,M,j,"♢","\\diamondsuit",!0),x(k,M,j,"ℜ","\\Re",!0),x(k,M,j,"♡","\\heartsuit",!0),x(k,M,j,"ℑ","\\Im",!0),x(k,M,j,"♠","\\spadesuit",!0),x(k,M,j,"§","\\S",!0),x(N,M,j,"§","\\S"),x(k,M,j,"¶","\\P",!0),x(N,M,j,"¶","\\P"),x(k,M,j,"†","\\dag"),x(N,M,j,"†","\\dag"),x(N,M,j,"†","\\textdagger"),x(k,M,j,"‡","\\ddag"),x(N,M,j,"‡","\\ddag"),x(N,M,j,"‡","\\textdaggerdbl"),x(k,M,Oe,"⎱","\\rmoustache",!0),x(k,M,We,"⎰","\\lmoustache",!0),x(k,M,Oe,"⟯","\\rgroup",!0),x(k,M,We,"⟮","\\lgroup",!0),x(k,M,le,"∓","\\mp",!0),x(k,M,le,"⊖","\\ominus",!0),x(k,M,le,"⊎","\\uplus",!0),x(k,M,le,"⊓","\\sqcap",!0),x(k,M,le,"∗","\\ast"),x(k,M,le,"⊔","\\sqcup",!0),x(k,M,le,"◯","\\bigcirc",!0),x(k,M,le,"∙","\\bullet",!0),x(k,M,le,"‡","\\ddagger"),x(k,M,le,"≀","\\wr",!0),x(k,M,le,"⨿","\\amalg"),x(k,M,le,"&","\\And"),x(k,M,q,"⟵","\\longleftarrow",!0),x(k,M,q,"⇐","\\Leftarrow",!0),x(k,M,q,"⟸","\\Longleftarrow",!0),x(k,M,q,"⟶","\\longrightarrow",!0),x(k,M,q,"⇒","\\Rightarrow",!0),x(k,M,q,"⟹","\\Longrightarrow",!0),x(k,M,q,"↔","\\leftrightarrow",!0),x(k,M,q,"⟷","\\longleftrightarrow",!0),x(k,M,q,"⇔","\\Leftrightarrow",!0),x(k,M,q,"⟺","\\Longleftrightarrow",!0),x(k,M,q,"↦","\\mapsto",!0),x(k,M,q,"⟼","\\longmapsto",!0),x(k,M,q,"↗","\\nearrow",!0),x(k,M,q,"↩","\\hookleftarrow",!0),x(k,M,q,"↪","\\hookrightarrow",!0),x(k,M,q,"↘","\\searrow",!0),x(k,M,q,"↼","\\leftharpoonup",!0),x(k,M,q,"⇀","\\rightharpoonup",!0),x(k,M,q,"↙","\\swarrow",!0),x(k,M,q,"↽","\\leftharpoondown",!0),x(k,M,q,"⇁","\\rightharpoondown",!0),x(k,M,q,"↖","\\nwarrow",!0),x(k,M,q,"⇌","\\rightleftharpoons",!0),x(k,I,q,"≮","\\nless",!0),x(k,I,q,"","\\@nleqslant"),x(k,I,q,"","\\@nleqq"),x(k,I,q,"⪇","\\lneq",!0),x(k,I,q,"≨","\\lneqq",!0),x(k,I,q,"","\\@lvertneqq"),x(k,I,q,"⋦","\\lnsim",!0),x(k,I,q,"⪉","\\lnapprox",!0),x(k,I,q,"⊀","\\nprec",!0),x(k,I,q,"⋠","\\npreceq",!0),x(k,I,q,"⋨","\\precnsim",!0),x(k,I,q,"⪹","\\precnapprox",!0),x(k,I,q,"≁","\\nsim",!0),x(k,I,q,"","\\@nshortmid"),x(k,I,q,"∤","\\nmid",!0),x(k,I,q,"⊬","\\nvdash",!0),x(k,I,q,"⊭","\\nvDash",!0),x(k,I,q,"⋪","\\ntriangleleft"),x(k,I,q,"⋬","\\ntrianglelefteq",!0),x(k,I,q,"⊊","\\subsetneq",!0),x(k,I,q,"","\\@varsubsetneq"),x(k,I,q,"⫋","\\subsetneqq",!0),x(k,I,q,"","\\@varsubsetneqq"),x(k,I,q,"≯","\\ngtr",!0),x(k,I,q,"","\\@ngeqslant"),x(k,I,q,"","\\@ngeqq"),x(k,I,q,"⪈","\\gneq",!0),x(k,I,q,"≩","\\gneqq",!0),x(k,I,q,"","\\@gvertneqq"),x(k,I,q,"⋧","\\gnsim",!0),x(k,I,q,"⪊","\\gnapprox",!0),x(k,I,q,"⊁","\\nsucc",!0),x(k,I,q,"⋡","\\nsucceq",!0),x(k,I,q,"⋩","\\succnsim",!0),x(k,I,q,"⪺","\\succnapprox",!0),x(k,I,q,"≆","\\ncong",!0),x(k,I,q,"","\\@nshortparallel"),x(k,I,q,"∦","\\nparallel",!0),x(k,I,q,"⊯","\\nVDash",!0),x(k,I,q,"⋫","\\ntriangleright"),x(k,I,q,"⋭","\\ntrianglerighteq",!0),x(k,I,q,"","\\@nsupseteqq"),x(k,I,q,"⊋","\\supsetneq",!0),x(k,I,q,"","\\@varsupsetneq"),x(k,I,q,"⫌","\\supsetneqq",!0),x(k,I,q,"","\\@varsupsetneqq"),x(k,I,q,"⊮","\\nVdash",!0),x(k,I,q,"⪵","\\precneqq",!0),x(k,I,q,"⪶","\\succneqq",!0),x(k,I,q,"","\\@nsubseteqq"),x(k,I,le,"⊴","\\unlhd"),x(k,I,le,"⊵","\\unrhd"),x(k,I,q,"↚","\\nleftarrow",!0),x(k,I,q,"↛","\\nrightarrow",!0),x(k,I,q,"⇍","\\nLeftarrow",!0),x(k,I,q,"⇏","\\nRightarrow",!0),x(k,I,q,"↮","\\nleftrightarrow",!0),x(k,I,q,"⇎","\\nLeftrightarrow",!0),x(k,I,q,"△","\\vartriangle"),x(k,I,j,"ℏ","\\hslash"),x(k,I,j,"▽","\\triangledown"),x(k,I,j,"◊","\\lozenge"),x(k,I,j,"Ⓢ","\\circledS"),x(k,I,j,"®","\\circledR"),x(N,I,j,"®","\\circledR"),x(k,I,j,"∡","\\measuredangle",!0),x(k,I,j,"∄","\\nexists"),x(k,I,j,"℧","\\mho"),x(k,I,j,"Ⅎ","\\Finv",!0),x(k,I,j,"⅁","\\Game",!0),x(k,I,j,"‵","\\backprime"),x(k,I,j,"▲","\\blacktriangle"),x(k,I,j,"▼","\\blacktriangledown"),x(k,I,j,"■","\\blacksquare"),x(k,I,j,"⧫","\\blacklozenge"),x(k,I,j,"★","\\bigstar"),x(k,I,j,"∢","\\sphericalangle",!0),x(k,I,j,"∁","\\complement",!0),x(k,I,j,"ð","\\eth",!0),x(N,M,j,"ð","ð"),x(k,I,j,"╱","\\diagup"),x(k,I,j,"╲","\\diagdown"),x(k,I,j,"□","\\square"),x(k,I,j,"□","\\Box"),x(k,I,j,"◊","\\Diamond"),x(k,I,j,"¥","\\yen",!0),x(N,I,j,"¥","\\yen",!0),x(k,I,j,"✓","\\checkmark",!0),x(N,I,j,"✓","\\checkmark"),x(k,I,j,"ℶ","\\beth",!0),x(k,I,j,"ℸ","\\daleth",!0),x(k,I,j,"ℷ","\\gimel",!0),x(k,I,j,"ϝ","\\digamma",!0),x(k,I,j,"ϰ","\\varkappa"),x(k,I,We,"┌","\\@ulcorner",!0),x(k,I,Oe,"┐","\\@urcorner",!0),x(k,I,We,"└","\\@llcorner",!0),x(k,I,Oe,"┘","\\@lrcorner",!0),x(k,I,q,"≦","\\leqq",!0),x(k,I,q,"⩽","\\leqslant",!0),x(k,I,q,"⪕","\\eqslantless",!0),x(k,I,q,"≲","\\lesssim",!0),x(k,I,q,"⪅","\\lessapprox",!0),x(k,I,q,"≊","\\approxeq",!0),x(k,I,le,"⋖","\\lessdot"),x(k,I,q,"⋘","\\lll",!0),x(k,I,q,"≶","\\lessgtr",!0),x(k,I,q,"⋚","\\lesseqgtr",!0),x(k,I,q,"⪋","\\lesseqqgtr",!0),x(k,I,q,"≑","\\doteqdot"),x(k,I,q,"≓","\\risingdotseq",!0),x(k,I,q,"≒","\\fallingdotseq",!0),x(k,I,q,"∽","\\backsim",!0),x(k,I,q,"⋍","\\backsimeq",!0),x(k,I,q,"⫅","\\subseteqq",!0),x(k,I,q,"⋐","\\Subset",!0),x(k,I,q,"⊏","\\sqsubset",!0),x(k,I,q,"≼","\\preccurlyeq",!0),x(k,I,q,"⋞","\\curlyeqprec",!0),x(k,I,q,"≾","\\precsim",!0),x(k,I,q,"⪷","\\precapprox",!0),x(k,I,q,"⊲","\\vartriangleleft"),x(k,I,q,"⊴","\\trianglelefteq"),x(k,I,q,"⊨","\\vDash",!0),x(k,I,q,"⊪","\\Vvdash",!0),x(k,I,q,"⌣","\\smallsmile"),x(k,I,q,"⌢","\\smallfrown"),x(k,I,q,"≏","\\bumpeq",!0),x(k,I,q,"≎","\\Bumpeq",!0),x(k,I,q,"≧","\\geqq",!0),x(k,I,q,"⩾","\\geqslant",!0),x(k,I,q,"⪖","\\eqslantgtr",!0),x(k,I,q,"≳","\\gtrsim",!0),x(k,I,q,"⪆","\\gtrapprox",!0),x(k,I,le,"⋗","\\gtrdot"),x(k,I,q,"⋙","\\ggg",!0),x(k,I,q,"≷","\\gtrless",!0),x(k,I,q,"⋛","\\gtreqless",!0),x(k,I,q,"⪌","\\gtreqqless",!0),x(k,I,q,"≖","\\eqcirc",!0),x(k,I,q,"≗","\\circeq",!0),x(k,I,q,"≜","\\triangleq",!0),x(k,I,q,"∼","\\thicksim"),x(k,I,q,"≈","\\thickapprox"),x(k,I,q,"⫆","\\supseteqq",!0),x(k,I,q,"⋑","\\Supset",!0),x(k,I,q,"⊐","\\sqsupset",!0),x(k,I,q,"≽","\\succcurlyeq",!0),x(k,I,q,"⋟","\\curlyeqsucc",!0),x(k,I,q,"≿","\\succsim",!0),x(k,I,q,"⪸","\\succapprox",!0),x(k,I,q,"⊳","\\vartriangleright"),x(k,I,q,"⊵","\\trianglerighteq"),x(k,I,q,"⊩","\\Vdash",!0),x(k,I,q,"∣","\\shortmid"),x(k,I,q,"∥","\\shortparallel"),x(k,I,q,"≬","\\between",!0),x(k,I,q,"⋔","\\pitchfork",!0),x(k,I,q,"∝","\\varpropto"),x(k,I,q,"◀","\\blacktriangleleft"),x(k,I,q,"∴","\\therefore",!0),x(k,I,q,"∍","\\backepsilon"),x(k,I,q,"▶","\\blacktriangleright"),x(k,I,q,"∵","\\because",!0),x(k,I,q,"⋘","\\llless"),x(k,I,q,"⋙","\\gggtr"),x(k,I,le,"⊲","\\lhd"),x(k,I,le,"⊳","\\rhd"),x(k,I,q,"≂","\\eqsim",!0),x(k,M,q,"⋈","\\Join"),x(k,I,q,"≑","\\Doteq",!0),x(k,I,le,"∔","\\dotplus",!0),x(k,I,le,"∖","\\smallsetminus"),x(k,I,le,"⋒","\\Cap",!0),x(k,I,le,"⋓","\\Cup",!0),x(k,I,le,"⩞","\\doublebarwedge",!0),x(k,I,le,"⊟","\\boxminus",!0),x(k,I,le,"⊞","\\boxplus",!0),x(k,I,le,"⋇","\\divideontimes",!0),x(k,I,le,"⋉","\\ltimes",!0),x(k,I,le,"⋊","\\rtimes",!0),x(k,I,le,"⋋","\\leftthreetimes",!0),x(k,I,le,"⋌","\\rightthreetimes",!0),x(k,I,le,"⋏","\\curlywedge",!0),x(k,I,le,"⋎","\\curlyvee",!0),x(k,I,le,"⊝","\\circleddash",!0),x(k,I,le,"⊛","\\circledast",!0),x(k,I,le,"⋅","\\centerdot"),x(k,I,le,"⊺","\\intercal",!0),x(k,I,le,"⋒","\\doublecap"),x(k,I,le,"⋓","\\doublecup"),x(k,I,le,"⊠","\\boxtimes",!0),x(k,I,q,"⇢","\\dashrightarrow",!0),x(k,I,q,"⇠","\\dashleftarrow",!0),x(k,I,q,"⇇","\\leftleftarrows",!0),x(k,I,q,"⇆","\\leftrightarrows",!0),x(k,I,q,"⇚","\\Lleftarrow",!0),x(k,I,q,"↞","\\twoheadleftarrow",!0),x(k,I,q,"↢","\\leftarrowtail",!0),x(k,I,q,"↫","\\looparrowleft",!0),x(k,I,q,"⇋","\\leftrightharpoons",!0),x(k,I,q,"↶","\\curvearrowleft",!0),x(k,I,q,"↺","\\circlearrowleft",!0),x(k,I,q,"↰","\\Lsh",!0),x(k,I,q,"⇈","\\upuparrows",!0),x(k,I,q,"↿","\\upharpoonleft",!0),x(k,I,q,"⇃","\\downharpoonleft",!0),x(k,M,q,"⊶","\\origof",!0),x(k,M,q,"⊷","\\imageof",!0),x(k,I,q,"⊸","\\multimap",!0),x(k,I,q,"↭","\\leftrightsquigarrow",!0),x(k,I,q,"⇉","\\rightrightarrows",!0),x(k,I,q,"⇄","\\rightleftarrows",!0),x(k,I,q,"↠","\\twoheadrightarrow",!0),x(k,I,q,"↣","\\rightarrowtail",!0),x(k,I,q,"↬","\\looparrowright",!0),x(k,I,q,"↷","\\curvearrowright",!0),x(k,I,q,"↻","\\circlearrowright",!0),x(k,I,q,"↱","\\Rsh",!0),x(k,I,q,"⇊","\\downdownarrows",!0),x(k,I,q,"↾","\\upharpoonright",!0),x(k,I,q,"⇂","\\downharpoonright",!0),x(k,I,q,"⇝","\\rightsquigarrow",!0),x(k,I,q,"⇝","\\leadsto"),x(k,I,q,"⇛","\\Rrightarrow",!0),x(k,I,q,"↾","\\restriction"),x(k,M,j,"‘","`"),x(k,M,j,"$","\\$"),x(N,M,j,"$","\\$"),x(N,M,j,"$","\\textdollar"),x(k,M,j,"%","\\%"),x(N,M,j,"%","\\%"),x(k,M,j,"_","\\_"),x(N,M,j,"_","\\_"),x(N,M,j,"_","\\textunderscore"),x(k,M,j,"∠","\\angle",!0),x(k,M,j,"∞","\\infty",!0),x(k,M,j,"′","\\prime"),x(k,M,j,"△","\\triangle"),x(k,M,j,"Γ","\\Gamma",!0),x(k,M,j,"Δ","\\Delta",!0),x(k,M,j,"Θ","\\Theta",!0),x(k,M,j,"Λ","\\Lambda",!0),x(k,M,j,"Ξ","\\Xi",!0),x(k,M,j,"Π","\\Pi",!0),x(k,M,j,"Σ","\\Sigma",!0),x(k,M,j,"Υ","\\Upsilon",!0),x(k,M,j,"Φ","\\Phi",!0),x(k,M,j,"Ψ","\\Psi",!0),x(k,M,j,"Ω","\\Omega",!0),x(k,M,j,"A","Α"),x(k,M,j,"B","Β"),x(k,M,j,"E","Ε"),x(k,M,j,"Z","Ζ"),x(k,M,j,"H","Η"),x(k,M,j,"I","Ι"),x(k,M,j,"K","Κ"),x(k,M,j,"M","Μ"),x(k,M,j,"N","Ν"),x(k,M,j,"O","Ο"),x(k,M,j,"P","Ρ"),x(k,M,j,"T","Τ"),x(k,M,j,"X","Χ"),x(k,M,j,"¬","\\neg",!0),x(k,M,j,"¬","\\lnot"),x(k,M,j,"⊤","\\top"),x(k,M,j,"⊥","\\bot"),x(k,M,j,"∅","\\emptyset"),x(k,I,j,"∅","\\varnothing"),x(k,M,ye,"α","\\alpha",!0),x(k,M,ye,"β","\\beta",!0),x(k,M,ye,"γ","\\gamma",!0),x(k,M,ye,"δ","\\delta",!0),x(k,M,ye,"ϵ","\\epsilon",!0),x(k,M,ye,"ζ","\\zeta",!0),x(k,M,ye,"η","\\eta",!0),x(k,M,ye,"θ","\\theta",!0),x(k,M,ye,"ι","\\iota",!0),x(k,M,ye,"κ","\\kappa",!0),x(k,M,ye,"λ","\\lambda",!0),x(k,M,ye,"μ","\\mu",!0),x(k,M,ye,"ν","\\nu",!0),x(k,M,ye,"ξ","\\xi",!0),x(k,M,ye,"ο","\\omicron",!0),x(k,M,ye,"π","\\pi",!0),x(k,M,ye,"ρ","\\rho",!0),x(k,M,ye,"σ","\\sigma",!0),x(k,M,ye,"τ","\\tau",!0),x(k,M,ye,"υ","\\upsilon",!0),x(k,M,ye,"ϕ","\\phi",!0),x(k,M,ye,"χ","\\chi",!0),x(k,M,ye,"ψ","\\psi",!0),x(k,M,ye,"ω","\\omega",!0),x(k,M,ye,"ε","\\varepsilon",!0),x(k,M,ye,"ϑ","\\vartheta",!0),x(k,M,ye,"ϖ","\\varpi",!0),x(k,M,ye,"ϱ","\\varrho",!0),x(k,M,ye,"ς","\\varsigma",!0),x(k,M,ye,"φ","\\varphi",!0),x(k,M,le,"∗","*",!0),x(k,M,le,"+","+"),x(k,M,le,"−","-",!0),x(k,M,le,"⋅","\\cdot",!0),x(k,M,le,"∘","\\circ",!0),x(k,M,le,"÷","\\div",!0),x(k,M,le,"±","\\pm",!0),x(k,M,le,"×","\\times",!0),x(k,M,le,"∩","\\cap",!0),x(k,M,le,"∪","\\cup",!0),x(k,M,le,"∖","\\setminus",!0),x(k,M,le,"∧","\\land"),x(k,M,le,"∨","\\lor"),x(k,M,le,"∧","\\wedge",!0),x(k,M,le,"∨","\\vee",!0),x(k,M,j,"√","\\surd"),x(k,M,We,"⟨","\\langle",!0),x(k,M,We,"∣","\\lvert"),x(k,M,We,"∥","\\lVert"),x(k,M,Oe,"?","?"),x(k,M,Oe,"!","!"),x(k,M,Oe,"⟩","\\rangle",!0),x(k,M,Oe,"∣","\\rvert"),x(k,M,Oe,"∥","\\rVert"),x(k,M,q,"=","="),x(k,M,q,":",":"),x(k,M,q,"≈","\\approx",!0),x(k,M,q,"≅","\\cong",!0),x(k,M,q,"≥","\\ge"),x(k,M,q,"≥","\\geq",!0),x(k,M,q,"←","\\gets"),x(k,M,q,">","\\gt",!0),x(k,M,q,"∈","\\in",!0),x(k,M,q,"","\\@not"),x(k,M,q,"⊂","\\subset",!0),x(k,M,q,"⊃","\\supset",!0),x(k,M,q,"⊆","\\subseteq",!0),x(k,M,q,"⊇","\\supseteq",!0),x(k,I,q,"⊈","\\nsubseteq",!0),x(k,I,q,"⊉","\\nsupseteq",!0),x(k,M,q,"⊨","\\models"),x(k,M,q,"←","\\leftarrow",!0),x(k,M,q,"≤","\\le"),x(k,M,q,"≤","\\leq",!0),x(k,M,q,"<","\\lt",!0),x(k,M,q,"→","\\rightarrow",!0),x(k,M,q,"→","\\to"),x(k,I,q,"≱","\\ngeq",!0),x(k,I,q,"≰","\\nleq",!0),x(k,M,Gt," ","\\ "),x(k,M,Gt," ","\\space"),x(k,M,Gt," ","\\nobreakspace"),x(N,M,Gt," ","\\ "),x(N,M,Gt," "," "),x(N,M,Gt," ","\\space"),x(N,M,Gt," ","\\nobreakspace"),x(k,M,Gt,null,"\\nobreak"),x(k,M,Gt,null,"\\allowbreak"),x(k,M,pt,",",","),x(k,M,pt,";",";"),x(k,I,le,"⊼","\\barwedge",!0),x(k,I,le,"⊻","\\veebar",!0),x(k,M,le,"⊙","\\odot",!0),x(k,M,le,"⊕","\\oplus",!0),x(k,M,le,"⊗","\\otimes",!0),x(k,M,j,"∂","\\partial",!0),x(k,M,le,"⊘","\\oslash",!0),x(k,I,le,"⊚","\\circledcirc",!0),x(k,I,le,"⊡","\\boxdot",!0),x(k,M,le,"△","\\bigtriangleup"),x(k,M,le,"▽","\\bigtriangledown"),x(k,M,le,"†","\\dagger"),x(k,M,le,"⋄","\\diamond"),x(k,M,le,"⋆","\\star"),x(k,M,le,"◃","\\triangleleft"),x(k,M,le,"▹","\\triangleright"),x(k,M,We,"{","\\{"),x(N,M,j,"{","\\{"),x(N,M,j,"{","\\textbraceleft"),x(k,M,Oe,"}","\\}"),x(N,M,j,"}","\\}"),x(N,M,j,"}","\\textbraceright"),x(k,M,We,"{","\\lbrace"),x(k,M,Oe,"}","\\rbrace"),x(k,M,We,"[","\\lbrack",!0),x(N,M,j,"[","\\lbrack",!0),x(k,M,Oe,"]","\\rbrack",!0),x(N,M,j,"]","\\rbrack",!0),x(k,M,We,"(","\\lparen",!0),x(k,M,Oe,")","\\rparen",!0),x(N,M,j,"<","\\textless",!0),x(N,M,j,">","\\textgreater",!0),x(k,M,We,"⌊","\\lfloor",!0),x(k,M,Oe,"⌋","\\rfloor",!0),x(k,M,We,"⌈","\\lceil",!0),x(k,M,Oe,"⌉","\\rceil",!0),x(k,M,j,"\\","\\backslash"),x(k,M,j,"∣","|"),x(k,M,j,"∣","\\vert"),x(N,M,j,"|","\\textbar",!0),x(k,M,j,"∥","\\|"),x(k,M,j,"∥","\\Vert"),x(N,M,j,"∥","\\textbardbl"),x(N,M,j,"~","\\textasciitilde"),x(N,M,j,"\\","\\textbackslash"),x(N,M,j,"^","\\textasciicircum"),x(k,M,q,"↑","\\uparrow",!0),x(k,M,q,"⇑","\\Uparrow",!0),x(k,M,q,"↓","\\downarrow",!0),x(k,M,q,"⇓","\\Downarrow",!0),x(k,M,q,"↕","\\updownarrow",!0),x(k,M,q,"⇕","\\Updownarrow",!0),x(k,M,Ue,"∐","\\coprod"),x(k,M,Ue,"⋁","\\bigvee"),x(k,M,Ue,"⋀","\\bigwedge"),x(k,M,Ue,"⨄","\\biguplus"),x(k,M,Ue,"⋂","\\bigcap"),x(k,M,Ue,"⋃","\\bigcup"),x(k,M,Ue,"∫","\\int"),x(k,M,Ue,"∫","\\intop"),x(k,M,Ue,"∬","\\iint"),x(k,M,Ue,"∭","\\iiint"),x(k,M,Ue,"∏","\\prod"),x(k,M,Ue,"∑","\\sum"),x(k,M,Ue,"⨂","\\bigotimes"),x(k,M,Ue,"⨁","\\bigoplus"),x(k,M,Ue,"⨀","\\bigodot"),x(k,M,Ue,"∮","\\oint"),x(k,M,Ue,"∯","\\oiint"),x(k,M,Ue,"∰","\\oiiint"),x(k,M,Ue,"⨆","\\bigsqcup"),x(k,M,Ue,"∫","\\smallint"),x(N,M,Pe,"…","\\textellipsis"),x(k,M,Pe,"…","\\mathellipsis"),x(N,M,Pe,"…","\\ldots",!0),x(k,M,Pe,"…","\\ldots",!0),x(k,M,Pe,"⋯","\\@cdots",!0),x(k,M,Pe,"⋱","\\ddots",!0),x(k,M,j,"⋮","\\varvdots"),x(N,M,j,"⋮","\\varvdots"),x(k,M,Me,"ˊ","\\acute"),x(k,M,Me,"ˋ","\\grave"),x(k,M,Me,"¨","\\ddot"),x(k,M,Me,"~","\\tilde"),x(k,M,Me,"ˉ","\\bar"),x(k,M,Me,"˘","\\breve"),x(k,M,Me,"ˇ","\\check"),x(k,M,Me,"^","\\hat"),x(k,M,Me,"⃗","\\vec"),x(k,M,Me,"˙","\\dot"),x(k,M,Me,"˚","\\mathring"),x(k,M,ye,"","\\@imath"),x(k,M,ye,"","\\@jmath"),x(k,M,j,"ı","ı"),x(k,M,j,"ȷ","ȷ"),x(N,M,j,"ı","\\i",!0),x(N,M,j,"ȷ","\\j",!0),x(N,M,j,"ß","\\ss",!0),x(N,M,j,"æ","\\ae",!0),x(N,M,j,"œ","\\oe",!0),x(N,M,j,"ø","\\o",!0),x(N,M,j,"Æ","\\AE",!0),x(N,M,j,"Œ","\\OE",!0),x(N,M,j,"Ø","\\O",!0),x(N,M,Me,"ˊ","\\'"),x(N,M,Me,"ˋ","\\`"),x(N,M,Me,"ˆ","\\^"),x(N,M,Me,"˜","\\~"),x(N,M,Me,"ˉ","\\="),x(N,M,Me,"˘","\\u"),x(N,M,Me,"˙","\\."),x(N,M,Me,"¸","\\c"),x(N,M,Me,"˚","\\r"),x(N,M,Me,"ˇ","\\v"),x(N,M,Me,"¨",'\\"'),x(N,M,Me,"˝","\\H"),x(N,M,Me,"◯","\\textcircled");const Ht={"--":!0,"---":!0,"``":!0,"''":!0};x(N,M,j,"–","--",!0),x(N,M,j,"–","\\textendash"),x(N,M,j,"—","---",!0),x(N,M,j,"—","\\textemdash"),x(N,M,j,"‘","`",!0),x(N,M,j,"‘","\\textquoteleft"),x(N,M,j,"’","'",!0),x(N,M,j,"’","\\textquoteright"),x(N,M,j,"“","``",!0),x(N,M,j,"“","\\textquotedblleft"),x(N,M,j,"”","''",!0),x(N,M,j,"”","\\textquotedblright"),x(k,M,j,"°","\\degree",!0),x(N,M,j,"°","\\degree"),x(N,M,j,"°","\\textdegree",!0),x(k,M,j,"£","\\pounds"),x(k,M,j,"£","\\mathsterling",!0),x(N,M,j,"£","\\pounds"),x(N,M,j,"£","\\textsterling",!0),x(k,I,j,"✠","\\maltese"),x(N,I,j,"✠","\\maltese");const en='0123456789/@."';for(let s=0;s<en.length;s++){const i=en.charAt(s);x(k,M,j,i,i)}const Si='0123456789!@*()-=+";:?/.,';for(let s=0;s<Si.length;s++){const i=Si.charAt(s);x(N,M,j,i,i)}const tn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(let s=0;s<tn.length;s++){const i=tn.charAt(s);x(k,M,ye,i,i),x(N,M,j,i,i)}x(k,I,j,"C","ℂ"),x(N,I,j,"C","ℂ"),x(k,I,j,"H","ℍ"),x(N,I,j,"H","ℍ"),x(k,I,j,"N","ℕ"),x(N,I,j,"N","ℕ"),x(k,I,j,"P","ℙ"),x(N,I,j,"P","ℙ"),x(k,I,j,"Q","ℚ"),x(N,I,j,"Q","ℚ"),x(k,I,j,"R","ℝ"),x(N,I,j,"R","ℝ"),x(k,I,j,"Z","ℤ"),x(N,I,j,"Z","ℤ"),x(k,M,ye,"h","ℎ"),x(N,M,ye,"h","ℎ");let qe="";for(let s=0;s<tn.length;s++){const i=tn.charAt(s);qe=String.fromCharCode(55349,56320+s),x(k,M,ye,i,qe),x(N,M,j,i,qe),qe=String.fromCharCode(55349,56372+s),x(k,M,ye,i,qe),x(N,M,j,i,qe),qe=String.fromCharCode(55349,56424+s),x(k,M,ye,i,qe),x(N,M,j,i,qe),qe=String.fromCharCode(55349,56580+s),x(k,M,ye,i,qe),x(N,M,j,i,qe),qe=String.fromCharCode(55349,56684+s),x(k,M,ye,i,qe),x(N,M,j,i,qe),qe=String.fromCharCode(55349,56736+s),x(k,M,ye,i,qe),x(N,M,j,i,qe),qe=String.fromCharCode(55349,56788+s),x(k,M,ye,i,qe),x(N,M,j,i,qe),qe=String.fromCharCode(55349,56840+s),x(k,M,ye,i,qe),x(N,M,j,i,qe),qe=String.fromCharCode(55349,56944+s),x(k,M,ye,i,qe),x(N,M,j,i,qe),s<26&&(qe=String.fromCharCode(55349,56632+s),x(k,M,ye,i,qe),x(N,M,j,i,qe),qe=String.fromCharCode(55349,56476+s),x(k,M,ye,i,qe),x(N,M,j,i,qe))}qe="𝕜",x(k,M,ye,"k",qe),x(N,M,j,"k",qe);for(let s=0;s<10;s++){const i=s.toString();qe=String.fromCharCode(55349,57294+s),x(k,M,ye,i,qe),x(N,M,j,i,qe),qe=String.fromCharCode(55349,57314+s),x(k,M,ye,i,qe),x(N,M,j,i,qe),qe=String.fromCharCode(55349,57324+s),x(k,M,ye,i,qe),x(N,M,j,i,qe),qe=String.fromCharCode(55349,57334+s),x(k,M,ye,i,qe),x(N,M,j,i,qe)}const zl="ÐÞþ";for(let s=0;s<zl.length;s++){const i=zl.charAt(s);x(k,M,ye,i,i),x(N,M,j,i,i)}const Mi=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],lc=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Np=function(s,i){const o=s.charCodeAt(0),h=s.charCodeAt(1),y=(o-55296)*1024+(h-56320)+65536,w=i==="math"?0:1;if(119808<=y&&y<120484){const T=Math.floor((y-119808)/26);return[Mi[T][2],Mi[T][w]]}else if(120782<=y&&y<=120831){const T=Math.floor((y-120782)/10);return[lc[T][2],lc[T][w]]}else{if(y===120485||y===120486)return[Mi[0][2],Mi[0][w]];if(120486<y&&y<120782)return["",""];throw new l("Unsupported character: "+s)}},Ai=function(s,i,o){return dt[o][s]&&dt[o][s].replace&&(s=dt[o][s].replace),{value:s,metrics:Br(s,i,o)}},N0=function(s,i,o,h,y){const w=Ai(s,i,o),T=w.metrics;s=w.value;let C;if(T){let _=T.italic;(o==="text"||h&&h.font==="mathit")&&(_=0),C=new Kt(s,T.height,T.depth,_,T.skew,T.width,y)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+s+"' in style '"+i+"' and mode '"+o+"'")),C=new Kt(s,0,0,0,0,0,y);if(h){C.maxFontSize=h.sizeMultiplier,h.style.isTight()&&C.classes.push("mtight");const _=h.getColor();_&&(C.style.color=_)}return C},Ip=function(s,i,o,h){return h===void 0&&(h=[]),o.font==="boldsymbol"&&Ai(s,"Main-Bold",i).metrics?N0(s,"Main-Bold",i,o,h.concat(["mathbf"])):s==="\\"||dt[i][s].font==="main"?N0(s,"Main-Regular",i,o,h):N0(s,"AMS-Regular",i,o,h.concat(["amsrm"]))},Rp=function(s,i,o,h,y){return y!=="textord"&&Ai(s,"Math-BoldItalic",i).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},_p=function(s,i,o){const h=s.mode,y=s.text,w=["mord"],T=h==="math"||h==="text"&&i.font,C=T?i.font:i.fontFamily;let _="",P="";if(y.charCodeAt(0)===55349&&([_,P]=Np(y,h)),_.length>0)return N0(y,_,h,i,w.concat(P));if(C){let U,W;if(C==="boldsymbol"){const Q=Rp(y,h,i,w,o);U=Q.fontName,W=[Q.fontClass]}else T?(U=uc[C].fontName,W=[C]):(U=Ti(C,i.fontWeight,i.fontShape),W=[C,i.fontWeight,i.fontShape]);if(Ai(y,U,h).metrics)return N0(y,U,h,i,w.concat(W));if(Ht.hasOwnProperty(y)&&U.slice(0,10)==="Typewriter"){const Q=[];for(let ne=0;ne<y.length;ne++)Q.push(N0(y[ne],U,h,i,w.concat(W)));return oc(Q)}}if(o==="mathord")return N0(y,"Math-Italic",h,i,w.concat(["mathnormal"]));if(o==="textord"){const U=dt[h][y]&&dt[h][y].font;if(U==="ams"){const W=Ti("amsrm",i.fontWeight,i.fontShape);return N0(y,W,h,i,w.concat("amsrm",i.fontWeight,i.fontShape))}else if(U==="main"||!U){const W=Ti("textrm",i.fontWeight,i.fontShape);return N0(y,W,h,i,w.concat(i.fontWeight,i.fontShape))}else{const W=Ti(U,i.fontWeight,i.fontShape);return N0(y,W,h,i,w.concat(W,i.fontWeight,i.fontShape))}}else throw new Error("unexpected type: "+o+" in makeOrd")},qp=(s,i)=>{if(yt(s.classes)!==yt(i.classes)||s.skew!==i.skew||s.maxFontSize!==i.maxFontSize)return!1;if(s.classes.length===1){const o=s.classes[0];if(o==="mbin"||o==="mord")return!1}for(const o in s.style)if(s.style.hasOwnProperty(o)&&s.style[o]!==i.style[o])return!1;for(const o in i.style)if(i.style.hasOwnProperty(o)&&s.style[o]!==i.style[o])return!1;return!0},Op=s=>{for(let i=0;i<s.length-1;i++){const o=s[i],h=s[i+1];o instanceof Kt&&h instanceof Kt&&qp(o,h)&&(o.text+=h.text,o.height=Math.max(o.height,h.height),o.depth=Math.max(o.depth,h.depth),o.italic=h.italic,s.splice(i+1,1),i--)}return s},Cl=function(s){let i=0,o=0,h=0;for(let y=0;y<s.children.length;y++){const w=s.children[y];w.height>i&&(i=w.height),w.depth>o&&(o=w.depth),w.maxFontSize>h&&(h=w.maxFontSize)}s.height=i,s.depth=o,s.maxFontSize=h},a0=function(s,i,o,h){const y=new ir(s,i,o,h);return Cl(y),y},sc=(s,i,o,h)=>new ir(s,i,o,h),Fp=function(s,i,o){const h=a0([s],[],i);return h.height=Math.max(o||i.fontMetrics().defaultRuleThickness,i.minRuleThickness),h.style.borderBottomWidth=fe(h.height),h.maxFontSize=1,h},Lp=function(s,i,o,h){const y=new Ir(s,i,o,h);return Cl(y),y},oc=function(s){const i=new Zt(s);return Cl(i),i},Pp=function(s,i){return s instanceof Zt?a0([],[s],i):s},Hp=function(s){if(s.positionType==="individualShift"){const o=s.children,h=[o[0]],y=-o[0].shift-o[0].elem.depth;let w=y;for(let T=1;T<o.length;T++){const C=-o[T].shift-w-o[T].elem.depth,_=C-(o[T-1].elem.height+o[T-1].elem.depth);w=w+C,h.push({type:"kern",size:_}),h.push(o[T])}return{children:h,depth:y}}let i;if(s.positionType==="top"){let o=s.positionData;for(let h=0;h<s.children.length;h++){const y=s.children[h];o-=y.type==="kern"?y.size:y.elem.height+y.elem.depth}i=o}else if(s.positionType==="bottom")i=-s.positionData;else{const o=s.children[0];if(o.type!=="elem")throw new Error('First child must have type "elem".');if(s.positionType==="shift")i=-o.elem.depth-s.positionData;else if(s.positionType==="firstBaseline")i=-o.elem.depth;else throw new Error("Invalid positionType "+s.positionType+".")}return{children:s.children,depth:i}},$p=function(s,i){const{children:o,depth:h}=Hp(s);let y=0;for(let ne=0;ne<o.length;ne++){const ze=o[ne];if(ze.type==="elem"){const Ce=ze.elem;y=Math.max(y,Ce.maxFontSize,Ce.height)}}y+=2;const w=a0(["pstrut"],[]);w.style.height=fe(y);const T=[];let C=h,_=h,P=h;for(let ne=0;ne<o.length;ne++){const ze=o[ne];if(ze.type==="kern")P+=ze.size;else{const Ce=ze.elem,Ye=ze.wrapperClasses||[],je=ze.wrapperStyle||{},Xe=a0(Ye,[w,Ce],void 0,je);Xe.style.top=fe(-y-P-Ce.depth),ze.marginLeft&&(Xe.style.marginLeft=ze.marginLeft),ze.marginRight&&(Xe.style.marginRight=ze.marginRight),T.push(Xe),P+=Ce.height+Ce.depth}C=Math.min(C,P),_=Math.max(_,P)}const U=a0(["vlist"],T);U.style.height=fe(_);let W;if(C<0){const ne=a0([],[]),ze=a0(["vlist"],[ne]);ze.style.height=fe(-C);const Ce=a0(["vlist-s"],[new Kt("​")]);W=[a0(["vlist-r"],[U,Ce]),a0(["vlist-r"],[ze])]}else W=[a0(["vlist-r"],[U])];const Q=a0(["vlist-t"],W);return W.length===2&&Q.classes.push("vlist-t2"),Q.height=_,Q.depth=-C,Q},Vp=(s,i)=>{const o=a0(["mspace"],[],i),h=rt(s,i);return o.style.marginRight=fe(h),o},Ti=function(s,i,o){let h="";switch(s){case"amsrm":h="AMS";break;case"textrm":h="Main";break;case"textsf":h="SansSerif";break;case"texttt":h="Typewriter";break;default:h=s}let y;return i==="textbf"&&o==="textit"?y="BoldItalic":i==="textbf"?y="Bold":i==="textit"?y="Italic":y="Regular",h+"-"+y},uc={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"}},cc={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]};var Z={fontMap:uc,makeSymbol:N0,mathsym:Ip,makeSpan:a0,makeSvgSpan:sc,makeLineSpan:Fp,makeAnchor:Lp,makeFragment:oc,wrapFragment:Pp,makeVList:$p,makeOrd:_p,makeGlue:Vp,staticSvg:function(s,i){const[o,h,y]=cc[s],w=new B0(o),T=new D0([w],{width:fe(h),height:fe(y),style:"width:"+fe(h),viewBox:"0 0 "+1e3*h+" "+1e3*y,preserveAspectRatio:"xMinYMin"}),C=sc(["overlay"],[T],i);return C.height=y,C.style.height=fe(y),C.style.width=fe(h),C},svgData:cc,tryCombineChars:Op};const kt={number:3,unit:"mu"},Rr={number:4,unit:"mu"},ar={number:5,unit:"mu"},jp={mord:{mop:kt,mbin:Rr,mrel:ar,minner:kt},mop:{mord:kt,mop:kt,mrel:ar,minner:kt},mbin:{mord:Rr,mop:Rr,mopen:Rr,minner:Rr},mrel:{mord:ar,mop:ar,mopen:ar,minner:ar},mopen:{},mclose:{mop:kt,mbin:Rr,mrel:ar,minner:kt},mpunct:{mord:kt,mop:kt,mrel:ar,mopen:kt,mclose:kt,mpunct:kt,minner:kt},minner:{mord:kt,mop:kt,mbin:Rr,mrel:ar,mopen:kt,mpunct:kt,minner:kt}},Gp={mord:{mop:kt},mop:{mord:kt,mop:kt},mbin:{},mrel:{},mopen:{},mclose:{mop:kt},mpunct:{},minner:{mop:kt}},hc={},zi={},Ci={};function Se(s){let{type:i,names:o,props:h,handler:y,htmlBuilder:w,mathmlBuilder:T}=s;const C={type:i,numArgs:h.numArgs,argTypes:h.argTypes,allowedInArgument:!!h.allowedInArgument,allowedInText:!!h.allowedInText,allowedInMath:h.allowedInMath===void 0?!0:h.allowedInMath,numOptionalArgs:h.numOptionalArgs||0,infix:!!h.infix,primitive:!!h.primitive,handler:y};for(let _=0;_<o.length;++_)hc[o[_]]=C;i&&(w&&(zi[i]=w),T&&(Ci[i]=T))}function _r(s){let{type:i,htmlBuilder:o,mathmlBuilder:h}=s;Se({type:i,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:o,mathmlBuilder:h})}const Ei=function(s){return s.type==="ordgroup"&&s.body.length===1?s.body[0]:s},Et=function(s){return s.type==="ordgroup"?s.body:[s]},lr=Z.makeSpan,Up=["leftmost","mbin","mopen","mrel","mop","mpunct"],Wp=["rightmost","mrel","mclose","mpunct"],Yp={display:we.DISPLAY,text:we.TEXT,script:we.SCRIPT,scriptscript:we.SCRIPTSCRIPT},Xp={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Rt=function(s,i,o,h){h===void 0&&(h=[null,null]);const y=[];for(let P=0;P<s.length;P++){const U=Ke(s[P],i);if(U instanceof Zt){const W=U.children;y.push(...W)}else y.push(U)}if(Z.tryCombineChars(y),!o)return y;let w=i;if(s.length===1){const P=s[0];P.type==="sizing"?w=i.havingSize(P.size):P.type==="styling"&&(w=i.havingStyle(Yp[P.style]))}const T=lr([h[0]||"leftmost"],[],i),C=lr([h[1]||"rightmost"],[],i),_=o==="root";return El(y,(P,U)=>{const W=U.classes[0],Q=P.classes[0];W==="mbin"&&R.contains(Wp,Q)?U.classes[0]="mord":Q==="mbin"&&R.contains(Up,W)&&(P.classes[0]="mord")},{node:T},C,_),El(y,(P,U)=>{const W=Bl(U),Q=Bl(P),ne=W&&Q?P.hasClass("mtight")?Gp[W][Q]:jp[W][Q]:null;if(ne)return Z.makeGlue(ne,w)},{node:T},C,_),y},El=function(s,i,o,h,y){h&&s.push(h);let w=0;for(;w<s.length;w++){const T=s[w],C=mc(T);if(C){El(C.children,i,o,null,y);continue}const _=!T.hasClass("mspace");if(_){const P=i(T,o.node);P&&(o.insertAfter?o.insertAfter(P):(s.unshift(P),w++))}_?o.node=T:y&&T.hasClass("newline")&&(o.node=lr(["leftmost"])),o.insertAfter=(P=>U=>{s.splice(P+1,0,U),w++})(w)}h&&s.pop()},mc=function(s){return s instanceof Zt||s instanceof Ir||s instanceof ir&&s.hasClass("enclosing")?s:null},Dl=function(s,i){const o=mc(s);if(o){const h=o.children;if(h.length){if(i==="right")return Dl(h[h.length-1],"right");if(i==="left")return Dl(h[0],"left")}}return s},Bl=function(s,i){return s?(i&&(s=Dl(s,i)),Xp[s.classes[0]]||null):null},Cn=function(s,i){const o=["nulldelimiter"].concat(s.baseSizingClasses());return lr(i.concat(o))},Ke=function(s,i,o){if(!s)return lr();if(zi[s.type]){let h=zi[s.type](s,i);if(o&&i.size!==o.size){h=lr(i.sizingClasses(o),[h],i);const y=i.sizeMultiplier/o.sizeMultiplier;h.height*=y,h.depth*=y}return h}else throw new l("Got group of unknown type: '"+s.type+"'")};function Di(s,i){const o=lr(["base"],s,i),h=lr(["strut"]);return h.style.height=fe(o.height+o.depth),o.depth&&(h.style.verticalAlign=fe(-o.depth)),o.children.unshift(h),o}function Nl(s,i){let o=null;s.length===1&&s[0].type==="tag"&&(o=s[0].tag,s=s[0].body);const h=Rt(s,i,"root");let y;h.length===2&&h[1].hasClass("tag")&&(y=h.pop());const w=[];let T=[];for(let P=0;P<h.length;P++)if(T.push(h[P]),h[P].hasClass("mbin")||h[P].hasClass("mrel")||h[P].hasClass("allowbreak")){let U=!1;for(;P<h.length-1&&h[P+1].hasClass("mspace")&&!h[P+1].hasClass("newline");)P++,T.push(h[P]),h[P].hasClass("nobreak")&&(U=!0);U||(w.push(Di(T,i)),T=[])}else h[P].hasClass("newline")&&(T.pop(),T.length>0&&(w.push(Di(T,i)),T=[]),w.push(h[P]));T.length>0&&w.push(Di(T,i));let C;o?(C=Di(Rt(o,i,!0)),C.classes=["tag"],w.push(C)):y&&w.push(y);const _=lr(["katex-html"],w);if(_.setAttribute("aria-hidden","true"),C){const P=C.children[0];P.style.height=fe(_.height+_.depth),_.depth&&(P.style.verticalAlign=fe(-_.depth))}return _}function dc(s){return new Zt(s)}class m0{constructor(i,o,h){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=i,this.attributes={},this.children=o||[],this.classes=h||[]}setAttribute(i,o){this.attributes[i]=o}getAttribute(i){return this.attributes[i]}toNode(){const i=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(const o in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,o)&&i.setAttribute(o,this.attributes[o]);this.classes.length>0&&(i.className=yt(this.classes));for(let o=0;o<this.children.length;o++)if(this.children[o]instanceof $0&&this.children[o+1]instanceof $0){let h=this.children[o].toText()+this.children[++o].toText();for(;this.children[o+1]instanceof $0;)h+=this.children[++o].toText();i.appendChild(new $0(h).toNode())}else i.appendChild(this.children[o].toNode());return i}toMarkup(){let i="<"+this.type;for(const o in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,o)&&(i+=" "+o+'="',i+=R.escape(this.attributes[o]),i+='"');this.classes.length>0&&(i+=' class ="'+R.escape(yt(this.classes))+'"'),i+=">";for(let o=0;o<this.children.length;o++)i+=this.children[o].toMarkup();return i+="</"+this.type+">",i}toText(){return this.children.map(i=>i.toText()).join("")}}class $0{constructor(i){this.text=void 0,this.text=i}toNode(){return document.createTextNode(this.text)}toMarkup(){return R.escape(this.toText())}toText(){return this.text}}class Zp{constructor(i){this.width=void 0,this.character=void 0,this.width=i,i>=.05555&&i<=.05556?this.character=" ":i>=.1666&&i<=.1667?this.character=" ":i>=.2222&&i<=.2223?this.character=" ":i>=.2777&&i<=.2778?this.character="  ":i>=-.05556&&i<=-.05555?this.character=" ⁣":i>=-.1667&&i<=-.1666?this.character=" ⁣":i>=-.2223&&i<=-.2222?this.character=" ⁣":i>=-.2778&&i<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);{const i=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return i.setAttribute("width",fe(this.width)),i}}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+fe(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var ce={MathNode:m0,TextNode:$0,SpaceNode:Zp,newDocumentFragment:dc};const v0=function(s,i,o){return dt[i][s]&&dt[i][s].replace&&s.charCodeAt(0)!==55349&&!(Ht.hasOwnProperty(s)&&o&&(o.fontFamily&&o.fontFamily.slice(4,6)==="tt"||o.font&&o.font.slice(4,6)==="tt"))&&(s=dt[i][s].replace),new ce.TextNode(s)},Il=function(s){return s.length===1?s[0]:new ce.MathNode("mrow",s)},Rl=function(s,i){if(i.fontFamily==="texttt")return"monospace";if(i.fontFamily==="textsf")return i.fontShape==="textit"&&i.fontWeight==="textbf"?"sans-serif-bold-italic":i.fontShape==="textit"?"sans-serif-italic":i.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(i.fontShape==="textit"&&i.fontWeight==="textbf")return"bold-italic";if(i.fontShape==="textit")return"italic";if(i.fontWeight==="textbf")return"bold";const o=i.font;if(!o||o==="mathnormal")return null;const h=s.mode;if(o==="mathit")return"italic";if(o==="boldsymbol")return s.type==="textord"?"bold":"bold-italic";if(o==="mathbf")return"bold";if(o==="mathbb")return"double-struck";if(o==="mathsfit")return"sans-serif-italic";if(o==="mathfrak")return"fraktur";if(o==="mathscr"||o==="mathcal")return"script";if(o==="mathsf")return"sans-serif";if(o==="mathtt")return"monospace";let y=s.text;if(R.contains(["\\imath","\\jmath"],y))return null;dt[h][y]&&dt[h][y].replace&&(y=dt[h][y].replace);const w=Z.fontMap[o].fontName;return Br(y,w,h)?Z.fontMap[o].variant:null};function _l(s){if(!s)return!1;if(s.type==="mi"&&s.children.length===1){const i=s.children[0];return i instanceof $0&&i.text==="."}else if(s.type==="mo"&&s.children.length===1&&s.getAttribute("separator")==="true"&&s.getAttribute("lspace")==="0em"&&s.getAttribute("rspace")==="0em"){const i=s.children[0];return i instanceof $0&&i.text===","}else return!1}const l0=function(s,i,o){if(s.length===1){const w=ot(s[0],i);return o&&w instanceof m0&&w.type==="mo"&&(w.setAttribute("lspace","0em"),w.setAttribute("rspace","0em")),[w]}const h=[];let y;for(let w=0;w<s.length;w++){const T=ot(s[w],i);if(T instanceof m0&&y instanceof m0){if(T.type==="mtext"&&y.type==="mtext"&&T.getAttribute("mathvariant")===y.getAttribute("mathvariant")){y.children.push(...T.children);continue}else if(T.type==="mn"&&y.type==="mn"){y.children.push(...T.children);continue}else if(_l(T)&&y.type==="mn"){y.children.push(...T.children);continue}else if(T.type==="mn"&&_l(y))T.children=[...y.children,...T.children],h.pop();else if((T.type==="msup"||T.type==="msub")&&T.children.length>=1&&(y.type==="mn"||_l(y))){const C=T.children[0];C instanceof m0&&C.type==="mn"&&(C.children=[...y.children,...C.children],h.pop())}else if(y.type==="mi"&&y.children.length===1){const C=y.children[0];if(C instanceof $0&&C.text==="̸"&&(T.type==="mo"||T.type==="mi"||T.type==="mn")){const _=T.children[0];_ instanceof $0&&_.text.length>0&&(_.text=_.text.slice(0,1)+"̸"+_.text.slice(1),h.pop())}}}h.push(T),y=T}return h},xr=function(s,i,o){return Il(l0(s,i,o))},ot=function(s,i){if(!s)return new ce.MathNode("mrow");if(Ci[s.type])return Ci[s.type](s,i);throw new l("Got group of unknown type: '"+s.type+"'")};function pc(s,i,o,h,y){const w=l0(s,o);let T;w.length===1&&w[0]instanceof m0&&R.contains(["mrow","mtable"],w[0].type)?T=w[0]:T=new ce.MathNode("mrow",w);const C=new ce.MathNode("annotation",[new ce.TextNode(i)]);C.setAttribute("encoding","application/x-tex");const _=new ce.MathNode("semantics",[T,C]),P=new ce.MathNode("math",[_]);P.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),h&&P.setAttribute("display","block");const U=y?"katex":"katex-mathml";return Z.makeSpan([U],[P])}const fc=function(s){return new et({style:s.displayMode?we.DISPLAY:we.TEXT,maxSize:s.maxSize,minRuleThickness:s.minRuleThickness})},gc=function(s,i){if(i.displayMode){const o=["katex-display"];i.leqno&&o.push("leqno"),i.fleqn&&o.push("fleqn"),s=Z.makeSpan(o,[s])}return s},Kp=function(s,i,o){const h=fc(o);let y;if(o.output==="mathml")return pc(s,i,h,o.displayMode,!0);if(o.output==="html"){const w=Nl(s,h);y=Z.makeSpan(["katex"],[w])}else{const w=pc(s,i,h,o.displayMode,!1),T=Nl(s,h);y=Z.makeSpan(["katex"],[w,T])}return gc(y,o)},Jp=function(s,i,o){const h=fc(o),y=Nl(s,h),w=Z.makeSpan(["katex"],[y]);return gc(w,o)},Qp={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},ef=function(s){const i=new ce.MathNode("mo",[new ce.TextNode(Qp[s.replace(/^\\/,"")])]);return i.setAttribute("stretchy","true"),i},tf={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},rf=function(s){return s.type==="ordgroup"?s.body.length:1};var sr={encloseSpan:function(s,i,o,h,y){let w;const T=s.height+s.depth+o+h;if(/fbox|color|angl/.test(i)){if(w=Z.makeSpan(["stretchy",i],[],y),i==="fbox"){const C=y.color&&y.getColor();C&&(w.style.borderColor=C)}}else{const C=[];/^[bx]cancel$/.test(i)&&C.push(new Jr({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(i)&&C.push(new Jr({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));const _=new D0(C,{width:"100%",height:fe(T)});w=Z.makeSvgSpan([],[_],y)}return w.height=T,w.style.height=fe(T),w},mathMLnode:ef,svgSpan:function(s,i){function o(){let T=4e5;const C=s.label.slice(1);if(R.contains(["widehat","widecheck","widetilde","utilde"],C)){const P=rf(s.base);let U,W,Q;if(P>5)C==="widehat"||C==="widecheck"?(U=420,T=2364,Q=.42,W=C+"4"):(U=312,T=2340,Q=.34,W="tilde4");else{const Ce=[1,1,2,2,3,3][P];C==="widehat"||C==="widecheck"?(T=[0,1062,2364,2364,2364][Ce],U=[0,239,300,360,420][Ce],Q=[0,.24,.3,.3,.36,.42][Ce],W=C+Ce):(T=[0,600,1033,2339,2340][Ce],U=[0,260,286,306,312][Ce],Q=[0,.26,.286,.3,.306,.34][Ce],W="tilde"+Ce)}const ne=new B0(W),ze=new D0([ne],{width:"100%",height:fe(Q),viewBox:"0 0 "+T+" "+U,preserveAspectRatio:"none"});return{span:Z.makeSvgSpan([],[ze],i),minWidth:0,height:Q}}else{const _=[],P=tf[C],[U,W,Q]=P,ne=Q/1e3,ze=U.length;let Ce,Ye;if(ze===1){const je=P[3];Ce=["hide-tail"],Ye=[je]}else if(ze===2)Ce=["halfarrow-left","halfarrow-right"],Ye=["xMinYMin","xMaxYMin"];else if(ze===3)Ce=["brace-left","brace-center","brace-right"],Ye=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
579
- `+ze+" children.");for(let je=0;je<ze;je++){const Xe=new B0(U[je]),nt=new D0([Xe],{width:"400em",height:fe(ne),viewBox:"0 0 "+T+" "+Q,preserveAspectRatio:Ye[je]+" slice"}),mt=Z.makeSvgSpan([Ce[je]],[nt],i);if(ze===1)return{span:mt,minWidth:W,height:ne};mt.style.height=fe(ne),_.push(mt)}return{span:Z.makeSpan(["stretchy"],_,i),minWidth:W,height:ne}}}const{span:h,minWidth:y,height:w}=o();return h.height=w,h.style.height=fe(w),y>0&&(h.style.minWidth=fe(y)),h}};function He(s,i){if(!s||s.type!==i)throw new Error("Expected node of type "+i+", but got "+(s?"node of type "+s.type:String(s)));return s}function ql(s){const i=Bi(s);if(!i)throw new Error("Expected node of symbol group type, but got "+(s?"node of type "+s.type:String(s)));return i}function Bi(s){return s&&(s.type==="atom"||ki.hasOwnProperty(s.type))?s:null}const Ol=(s,i)=>{let o,h,y;s&&s.type==="supsub"?(h=He(s.base,"accent"),o=h.base,s.base=o,y=Tl(Ke(s,i)),s.base=h):(h=He(s,"accent"),o=h.base);const w=Ke(o,i.havingCrampedStyle()),T=h.isShifty&&R.isCharacterBox(o);let C=0;if(T){const Q=R.getBaseElem(o),ne=Ke(Q,i.havingCrampedStyle());C=vi(ne).skew}const _=h.label==="\\c";let P=_?w.height+w.depth:Math.min(w.height,i.fontMetrics().xHeight),U;if(h.isStretchy)U=sr.svgSpan(h,i),U=Z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:w},{type:"elem",elem:U,wrapperClasses:["svg-align"],wrapperStyle:C>0?{width:"calc(100% - "+fe(2*C)+")",marginLeft:fe(2*C)}:void 0}]},i);else{let Q,ne;h.label==="\\vec"?(Q=Z.staticSvg("vec",i),ne=Z.svgData.vec[1]):(Q=Z.makeOrd({mode:h.mode,text:h.label},i,"textord"),Q=vi(Q),Q.italic=0,ne=Q.width,_&&(P+=Q.depth)),U=Z.makeSpan(["accent-body"],[Q]);const ze=h.label==="\\textcircled";ze&&(U.classes.push("accent-full"),P=w.height);let Ce=C;ze||(Ce-=ne/2),U.style.left=fe(Ce),h.label==="\\textcircled"&&(U.style.top=".2em"),U=Z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:w},{type:"kern",size:-P},{type:"elem",elem:U}]},i)}const W=Z.makeSpan(["mord","accent"],[U],i);return y?(y.children[0]=W,y.height=Math.max(W.height,y.height),y.classes[0]="mord",y):W},yc=(s,i)=>{const o=s.isStretchy?sr.mathMLnode(s.label):new ce.MathNode("mo",[v0(s.label,s.mode)]),h=new ce.MathNode("mover",[ot(s.base,i),o]);return h.setAttribute("accent","true"),h},nf=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(s=>"\\"+s).join("|"));Se({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:(s,i)=>{const o=Ei(i[0]),h=!nf.test(s.funcName),y=!h||s.funcName==="\\widehat"||s.funcName==="\\widetilde"||s.funcName==="\\widecheck";return{type:"accent",mode:s.parser.mode,label:s.funcName,isStretchy:h,isShifty:y,base:o}},htmlBuilder:Ol,mathmlBuilder:yc}),Se({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(s,i)=>{const o=i[0];let h=s.parser.mode;return h==="math"&&(s.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+s.funcName+" works only in text mode"),h="text"),{type:"accent",mode:h,label:s.funcName,isStretchy:!1,isShifty:!0,base:o}},htmlBuilder:Ol,mathmlBuilder:yc}),Se({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(s,i)=>{let{parser:o,funcName:h}=s;const y=i[0];return{type:"accentUnder",mode:o.mode,label:h,base:y}},htmlBuilder:(s,i)=>{const o=Ke(s.base,i),h=sr.svgSpan(s,i),y=s.label==="\\utilde"?.12:0,w=Z.makeVList({positionType:"top",positionData:o.height,children:[{type:"elem",elem:h,wrapperClasses:["svg-align"]},{type:"kern",size:y},{type:"elem",elem:o}]},i);return Z.makeSpan(["mord","accentunder"],[w],i)},mathmlBuilder:(s,i)=>{const o=sr.mathMLnode(s.label),h=new ce.MathNode("munder",[ot(s.base,i),o]);return h.setAttribute("accentunder","true"),h}});const Ni=s=>{const i=new ce.MathNode("mpadded",s?[s]:[]);return i.setAttribute("width","+0.6em"),i.setAttribute("lspace","0.3em"),i};Se({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(s,i,o){let{parser:h,funcName:y}=s;return{type:"xArrow",mode:h.mode,label:y,body:i[0],below:o[0]}},htmlBuilder(s,i){const o=i.style;let h=i.havingStyle(o.sup());const y=Z.wrapFragment(Ke(s.body,h,i),i),w=s.label.slice(0,2)==="\\x"?"x":"cd";y.classes.push(w+"-arrow-pad");let T;s.below&&(h=i.havingStyle(o.sub()),T=Z.wrapFragment(Ke(s.below,h,i),i),T.classes.push(w+"-arrow-pad"));const C=sr.svgSpan(s,i),_=-i.fontMetrics().axisHeight+.5*C.height;let P=-i.fontMetrics().axisHeight-.5*C.height-.111;(y.depth>.25||s.label==="\\xleftequilibrium")&&(P-=y.depth);let U;if(T){const W=-i.fontMetrics().axisHeight+T.height+.5*C.height+.111;U=Z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:y,shift:P},{type:"elem",elem:C,shift:_},{type:"elem",elem:T,shift:W}]},i)}else U=Z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:y,shift:P},{type:"elem",elem:C,shift:_}]},i);return U.children[0].children[0].children[1].classes.push("svg-align"),Z.makeSpan(["mrel","x-arrow"],[U],i)},mathmlBuilder(s,i){const o=sr.mathMLnode(s.label);o.setAttribute("minsize",s.label.charAt(0)==="x"?"1.75em":"3.0em");let h;if(s.body){const y=Ni(ot(s.body,i));if(s.below){const w=Ni(ot(s.below,i));h=new ce.MathNode("munderover",[o,w,y])}else h=new ce.MathNode("mover",[o,y])}else if(s.below){const y=Ni(ot(s.below,i));h=new ce.MathNode("munder",[o,y])}else h=Ni(),h=new ce.MathNode("mover",[o,h]);return h}});const af=Z.makeSpan;function bc(s,i){const o=Rt(s.body,i,!0);return af([s.mclass],o,i)}function xc(s,i){let o;const h=l0(s.body,i);return s.mclass==="minner"?o=new ce.MathNode("mpadded",h):s.mclass==="mord"?s.isCharacterBox?(o=h[0],o.type="mi"):o=new ce.MathNode("mi",h):(s.isCharacterBox?(o=h[0],o.type="mo"):o=new ce.MathNode("mo",h),s.mclass==="mbin"?(o.attributes.lspace="0.22em",o.attributes.rspace="0.22em"):s.mclass==="mpunct"?(o.attributes.lspace="0em",o.attributes.rspace="0.17em"):s.mclass==="mopen"||s.mclass==="mclose"?(o.attributes.lspace="0em",o.attributes.rspace="0em"):s.mclass==="minner"&&(o.attributes.lspace="0.0556em",o.attributes.width="+0.1111em")),o}Se({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(s,i){let{parser:o,funcName:h}=s;const y=i[0];return{type:"mclass",mode:o.mode,mclass:"m"+h.slice(5),body:Et(y),isCharacterBox:R.isCharacterBox(y)}},htmlBuilder:bc,mathmlBuilder:xc});const Ii=s=>{const i=s.type==="ordgroup"&&s.body.length?s.body[0]:s;return i.type==="atom"&&(i.family==="bin"||i.family==="rel")?"m"+i.family:"mord"};Se({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(s,i){let{parser:o}=s;return{type:"mclass",mode:o.mode,mclass:Ii(i[0]),body:Et(i[1]),isCharacterBox:R.isCharacterBox(i[1])}}}),Se({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(s,i){let{parser:o,funcName:h}=s;const y=i[1],w=i[0];let T;h!=="\\stackrel"?T=Ii(y):T="mrel";const C={type:"op",mode:y.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:h!=="\\stackrel",body:Et(y)},_={type:"supsub",mode:w.mode,base:C,sup:h==="\\underset"?null:w,sub:h==="\\underset"?w:null};return{type:"mclass",mode:o.mode,mclass:T,body:[_],isCharacterBox:R.isCharacterBox(_)}},htmlBuilder:bc,mathmlBuilder:xc}),Se({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(s,i){let{parser:o}=s;return{type:"pmb",mode:o.mode,mclass:Ii(i[0]),body:Et(i[0])}},htmlBuilder(s,i){const o=Rt(s.body,i,!0),h=Z.makeSpan([s.mclass],o,i);return h.style.textShadow="0.02em 0.01em 0.04px",h},mathmlBuilder(s,i){const o=l0(s.body,i),h=new ce.MathNode("mstyle",o);return h.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),h}});const lf={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},vc=()=>({type:"styling",body:[],mode:"math",style:"display"}),wc=s=>s.type==="textord"&&s.text==="@",sf=(s,i)=>(s.type==="mathord"||s.type==="atom")&&s.text===i;function of(s,i,o){const h=lf[s];switch(h){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return o.callFunction(h,[i[0]],[i[1]]);case"\\uparrow":case"\\downarrow":{const y=o.callFunction("\\\\cdleft",[i[0]],[]),w={type:"atom",text:h,mode:"math",family:"rel"},T=o.callFunction("\\Big",[w],[]),C=o.callFunction("\\\\cdright",[i[1]],[]),_={type:"ordgroup",mode:"math",body:[y,T,C]};return o.callFunction("\\\\cdparent",[_],[])}case"\\\\cdlongequal":return o.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{const y={type:"textord",text:"\\Vert",mode:"math"};return o.callFunction("\\Big",[y],[])}default:return{type:"textord",text:" ",mode:"math"}}}function uf(s){const i=[];for(s.gullet.beginGroup(),s.gullet.macros.set("\\cr","\\\\\\relax"),s.gullet.beginGroup();;){i.push(s.parseExpression(!1,"\\\\")),s.gullet.endGroup(),s.gullet.beginGroup();const w=s.fetch().text;if(w==="&"||w==="\\\\")s.consume();else if(w==="\\end"){i[i.length-1].length===0&&i.pop();break}else throw new l("Expected \\\\ or \\cr or \\end",s.nextToken)}let o=[];const h=[o];for(let w=0;w<i.length;w++){const T=i[w];let C=vc();for(let _=0;_<T.length;_++)if(!wc(T[_]))C.body.push(T[_]);else{o.push(C),_+=1;const P=ql(T[_]).text,U=new Array(2);if(U[0]={type:"ordgroup",mode:"math",body:[]},U[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(P)>-1))if("<>AV".indexOf(P)>-1)for(let ne=0;ne<2;ne++){let ze=!0;for(let Ce=_+1;Ce<T.length;Ce++){if(sf(T[Ce],P)){ze=!1,_=Ce;break}if(wc(T[Ce]))throw new l("Missing a "+P+" character to complete a CD arrow.",T[Ce]);U[ne].body.push(T[Ce])}if(ze)throw new l("Missing a "+P+" character to complete a CD arrow.",T[_])}else throw new l('Expected one of "<>AV=|." after @',T[_]);const Q={type:"styling",body:[of(P,U,s)],mode:"math",style:"display"};o.push(Q),C=vc()}w%2===0?o.push(C):o.shift(),o=[],h.push(o)}s.gullet.endGroup(),s.gullet.endGroup();const y=new Array(h[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:h,arraystretch:1,addJot:!0,rowGaps:[null],cols:y,colSeparationType:"CD",hLinesBeforeRow:new Array(h.length+1).fill([])}}Se({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(s,i){let{parser:o,funcName:h}=s;return{type:"cdlabel",mode:o.mode,side:h.slice(4),label:i[0]}},htmlBuilder(s,i){const o=i.havingStyle(i.style.sup()),h=Z.wrapFragment(Ke(s.label,o,i),i);return h.classes.push("cd-label-"+s.side),h.style.bottom=fe(.8-h.depth),h.height=0,h.depth=0,h},mathmlBuilder(s,i){let o=new ce.MathNode("mrow",[ot(s.label,i)]);return o=new ce.MathNode("mpadded",[o]),o.setAttribute("width","0"),s.side==="left"&&o.setAttribute("lspace","-1width"),o.setAttribute("voffset","0.7em"),o=new ce.MathNode("mstyle",[o]),o.setAttribute("displaystyle","false"),o.setAttribute("scriptlevel","1"),o}}),Se({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(s,i){let{parser:o}=s;return{type:"cdlabelparent",mode:o.mode,fragment:i[0]}},htmlBuilder(s,i){const o=Z.wrapFragment(Ke(s.fragment,i),i);return o.classes.push("cd-vert-arrow"),o},mathmlBuilder(s,i){return new ce.MathNode("mrow",[ot(s.fragment,i)])}}),Se({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(s,i){let{parser:o}=s;const y=He(i[0],"ordgroup").body;let w="";for(let _=0;_<y.length;_++){const P=He(y[_],"textord");w+=P.text}let T=parseInt(w),C;if(isNaN(T))throw new l("\\@char has non-numeric argument "+w);if(T<0||T>=1114111)throw new l("\\@char with invalid code point "+w);return T<=65535?C=String.fromCharCode(T):(T-=65536,C=String.fromCharCode((T>>10)+55296,(T&1023)+56320)),{type:"textord",mode:o.mode,text:C}}});const kc=(s,i)=>{const o=Rt(s.body,i.withColor(s.color),!1);return Z.makeFragment(o)},Sc=(s,i)=>{const o=l0(s.body,i.withColor(s.color)),h=new ce.MathNode("mstyle",o);return h.setAttribute("mathcolor",s.color),h};Se({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(s,i){let{parser:o}=s;const h=He(i[0],"color-token").color,y=i[1];return{type:"color",mode:o.mode,color:h,body:Et(y)}},htmlBuilder:kc,mathmlBuilder:Sc}),Se({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(s,i){let{parser:o,breakOnTokenText:h}=s;const y=He(i[0],"color-token").color;o.gullet.macros.set("\\current@color",y);const w=o.parseExpression(!0,h);return{type:"color",mode:o.mode,color:y,body:w}},htmlBuilder:kc,mathmlBuilder:Sc}),Se({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(s,i,o){let{parser:h}=s;const y=h.gullet.future().text==="["?h.parseSizeGroup(!0):null,w=!h.settings.displayMode||!h.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:h.mode,newLine:w,size:y&&He(y,"size").value}},htmlBuilder(s,i){const o=Z.makeSpan(["mspace"],[],i);return s.newLine&&(o.classes.push("newline"),s.size&&(o.style.marginTop=fe(rt(s.size,i)))),o},mathmlBuilder(s,i){const o=new ce.MathNode("mspace");return s.newLine&&(o.setAttribute("linebreak","newline"),s.size&&o.setAttribute("height",fe(rt(s.size,i)))),o}});const Fl={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Mc=s=>{const i=s.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new l("Expected a control sequence",s);return i},cf=s=>{let i=s.gullet.popToken();return i.text==="="&&(i=s.gullet.popToken(),i.text===" "&&(i=s.gullet.popToken())),i},Ac=(s,i,o,h)=>{let y=s.gullet.macros.get(o.text);y==null&&(o.noexpand=!0,y={tokens:[o],numArgs:0,unexpandable:!s.gullet.isExpandable(o.text)}),s.gullet.macros.set(i,y,h)};Se({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(s){let{parser:i,funcName:o}=s;i.consumeSpaces();const h=i.fetch();if(Fl[h.text])return(o==="\\global"||o==="\\\\globallong")&&(h.text=Fl[h.text]),He(i.parseFunction(),"internal");throw new l("Invalid token after macro prefix",h)}}),Se({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(s){let{parser:i,funcName:o}=s,h=i.gullet.popToken();const y=h.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(y))throw new l("Expected a control sequence",h);let w=0,T;const C=[[]];for(;i.gullet.future().text!=="{";)if(h=i.gullet.popToken(),h.text==="#"){if(i.gullet.future().text==="{"){T=i.gullet.future(),C[w].push("{");break}if(h=i.gullet.popToken(),!/^[1-9]$/.test(h.text))throw new l('Invalid argument number "'+h.text+'"');if(parseInt(h.text)!==w+1)throw new l('Argument number "'+h.text+'" out of order');w++,C.push([])}else{if(h.text==="EOF")throw new l("Expected a macro definition");C[w].push(h.text)}let{tokens:_}=i.gullet.consumeArg();return T&&_.unshift(T),(o==="\\edef"||o==="\\xdef")&&(_=i.gullet.expandTokens(_),_.reverse()),i.gullet.macros.set(y,{tokens:_,numArgs:w,delimiters:C},o===Fl[o]),{type:"internal",mode:i.mode}}}),Se({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(s){let{parser:i,funcName:o}=s;const h=Mc(i.gullet.popToken());i.gullet.consumeSpaces();const y=cf(i);return Ac(i,h,y,o==="\\\\globallet"),{type:"internal",mode:i.mode}}}),Se({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(s){let{parser:i,funcName:o}=s;const h=Mc(i.gullet.popToken()),y=i.gullet.popToken(),w=i.gullet.popToken();return Ac(i,h,w,o==="\\\\globalfuture"),i.gullet.pushToken(w),i.gullet.pushToken(y),{type:"internal",mode:i.mode}}});const En=function(s,i,o){const h=dt.math[s]&&dt.math[s].replace,y=Br(h||s,i,o);if(!y)throw new Error("Unsupported symbol "+s+" and font size "+i+".");return y},Ll=function(s,i,o,h){const y=o.havingBaseStyle(i),w=Z.makeSpan(h.concat(y.sizingClasses(o)),[s],o),T=y.sizeMultiplier/o.sizeMultiplier;return w.height*=T,w.depth*=T,w.maxFontSize=y.sizeMultiplier,w},Tc=function(s,i,o){const h=i.havingBaseStyle(o),y=(1-i.sizeMultiplier/h.sizeMultiplier)*i.fontMetrics().axisHeight;s.classes.push("delimcenter"),s.style.top=fe(y),s.height-=y,s.depth+=y},hf=function(s,i,o,h,y,w){const T=Z.makeSymbol(s,"Main-Regular",y,h),C=Ll(T,i,h,w);return o&&Tc(C,h,i),C},mf=function(s,i,o,h){return Z.makeSymbol(s,"Size"+i+"-Regular",o,h)},zc=function(s,i,o,h,y,w){const T=mf(s,i,y,h),C=Ll(Z.makeSpan(["delimsizing","size"+i],[T],h),we.TEXT,h,w);return o&&Tc(C,h,we.TEXT),C},Pl=function(s,i,o){let h;return i==="Size1-Regular"?h="delim-size1":h="delim-size4",{type:"elem",elem:Z.makeSpan(["delimsizinginner",h],[Z.makeSpan([],[Z.makeSymbol(s,i,o)])])}},Hl=function(s,i,o){const h=wt["Size4-Regular"][s.charCodeAt(0)]?wt["Size4-Regular"][s.charCodeAt(0)][4]:wt["Size1-Regular"][s.charCodeAt(0)][4],y=new B0("inner",x0(s,Math.round(1e3*i))),w=new D0([y],{width:fe(h),height:fe(i),style:"width:"+fe(h),viewBox:"0 0 "+1e3*h+" "+Math.round(1e3*i),preserveAspectRatio:"xMinYMin"}),T=Z.makeSvgSpan([],[w],o);return T.height=i,T.style.height=fe(i),T.style.width=fe(h),{type:"elem",elem:T}},$l=.008,Ri={type:"kern",size:-1*$l},df=["|","\\lvert","\\rvert","\\vert"],pf=["\\|","\\lVert","\\rVert","\\Vert"],Cc=function(s,i,o,h,y,w){let T,C,_,P,U="",W=0;T=_=P=s,C=null;let Q="Size1-Regular";s==="\\uparrow"?_=P="⏐":s==="\\Uparrow"?_=P="‖":s==="\\downarrow"?T=_="⏐":s==="\\Downarrow"?T=_="‖":s==="\\updownarrow"?(T="\\uparrow",_="⏐",P="\\downarrow"):s==="\\Updownarrow"?(T="\\Uparrow",_="‖",P="\\Downarrow"):R.contains(df,s)?(_="∣",U="vert",W=333):R.contains(pf,s)?(_="∥",U="doublevert",W=556):s==="["||s==="\\lbrack"?(T="⎡",_="⎢",P="⎣",Q="Size4-Regular",U="lbrack",W=667):s==="]"||s==="\\rbrack"?(T="⎤",_="⎥",P="⎦",Q="Size4-Regular",U="rbrack",W=667):s==="\\lfloor"||s==="⌊"?(_=T="⎢",P="⎣",Q="Size4-Regular",U="lfloor",W=667):s==="\\lceil"||s==="⌈"?(T="⎡",_=P="⎢",Q="Size4-Regular",U="lceil",W=667):s==="\\rfloor"||s==="⌋"?(_=T="⎥",P="⎦",Q="Size4-Regular",U="rfloor",W=667):s==="\\rceil"||s==="⌉"?(T="⎤",_=P="⎥",Q="Size4-Regular",U="rceil",W=667):s==="("||s==="\\lparen"?(T="⎛",_="⎜",P="⎝",Q="Size4-Regular",U="lparen",W=875):s===")"||s==="\\rparen"?(T="⎞",_="⎟",P="⎠",Q="Size4-Regular",U="rparen",W=875):s==="\\{"||s==="\\lbrace"?(T="⎧",C="⎨",P="⎩",_="⎪",Q="Size4-Regular"):s==="\\}"||s==="\\rbrace"?(T="⎫",C="⎬",P="⎭",_="⎪",Q="Size4-Regular"):s==="\\lgroup"||s==="⟮"?(T="⎧",P="⎩",_="⎪",Q="Size4-Regular"):s==="\\rgroup"||s==="⟯"?(T="⎫",P="⎭",_="⎪",Q="Size4-Regular"):s==="\\lmoustache"||s==="⎰"?(T="⎧",P="⎭",_="⎪",Q="Size4-Regular"):(s==="\\rmoustache"||s==="⎱")&&(T="⎫",P="⎩",_="⎪",Q="Size4-Regular");const ne=En(T,Q,y),ze=ne.height+ne.depth,Ce=En(_,Q,y),Ye=Ce.height+Ce.depth,je=En(P,Q,y),Xe=je.height+je.depth;let nt=0,mt=1;if(C!==null){const zt=En(C,Q,y);nt=zt.height+zt.depth,mt=2}const Jt=ze+Xe+nt,_t=Math.max(0,Math.ceil((i-Jt)/(mt*Ye))),k0=Jt+_t*mt*Ye;let nn=h.fontMetrics().axisHeight;o&&(nn*=h.sizeMultiplier);const Je=k0/2-nn,at=[];if(U.length>0){const zt=k0-ze-Xe,St=Math.round(k0*1e3),S0=z0(U,Math.round(zt*1e3)),Pf=new B0(U,S0),b4=(W/1e3).toFixed(3)+"em",x4=(St/1e3).toFixed(3)+"em",Hf=new D0([Pf],{width:b4,height:x4,viewBox:"0 0 "+W+" "+St}),Li=Z.makeSvgSpan([],[Hf],h);Li.height=St/1e3,Li.style.width=b4,Li.style.height=x4,at.push({type:"elem",elem:Li})}else{if(at.push(Pl(P,Q,y)),at.push(Ri),C===null){const zt=k0-ze-Xe+2*$l;at.push(Hl(_,zt,h))}else{const zt=(k0-ze-Xe-nt)/2+2*$l;at.push(Hl(_,zt,h)),at.push(Ri),at.push(Pl(C,Q,y)),at.push(Ri),at.push(Hl(_,zt,h))}at.push(Ri),at.push(Pl(T,Q,y))}const ft=h.havingBaseStyle(we.TEXT),bt=Z.makeVList({positionType:"bottom",positionData:Je,children:at},ft);return Ll(Z.makeSpan(["delimsizing","mult"],[bt],ft),we.TEXT,h,w)},Vl=80,jl=.08,Gl=function(s,i,o,h,y){const w=tr(s,h,o),T=new B0(s,w),C=new D0([T],{width:"400em",height:fe(i),viewBox:"0 0 400000 "+o,preserveAspectRatio:"xMinYMin slice"});return Z.makeSvgSpan(["hide-tail"],[C],y)},ff=function(s,i){const o=i.havingBaseSizing(),h=Nc("\\surd",s*o.sizeMultiplier,Bc,o);let y=o.sizeMultiplier;const w=Math.max(0,i.minRuleThickness-i.fontMetrics().sqrtRuleThickness);let T,C=0,_=0,P=0,U;return h.type==="small"?(P=1e3+1e3*w+Vl,s<1?y=1:s<1.4&&(y=.7),C=(1+w+jl)/y,_=(1+w)/y,T=Gl("sqrtMain",C,P,w,i),T.style.minWidth="0.853em",U=.833/y):h.type==="large"?(P=(1e3+Vl)*Dn[h.size],_=(Dn[h.size]+w)/y,C=(Dn[h.size]+w+jl)/y,T=Gl("sqrtSize"+h.size,C,P,w,i),T.style.minWidth="1.02em",U=1/y):(C=s+w+jl,_=s+w,P=Math.floor(1e3*s+w)+Vl,T=Gl("sqrtTall",C,P,w,i),T.style.minWidth="0.742em",U=1.056),T.height=_,T.style.height=fe(C),{span:T,advanceWidth:U,ruleWidth:(i.fontMetrics().sqrtRuleThickness+w)*y}},Ec=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],gf=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],Dc=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Dn=[0,1.2,1.8,2.4,3],yf=function(s,i,o,h,y){if(s==="<"||s==="\\lt"||s==="⟨"?s="\\langle":(s===">"||s==="\\gt"||s==="⟩")&&(s="\\rangle"),R.contains(Ec,s)||R.contains(Dc,s))return zc(s,i,!1,o,h,y);if(R.contains(gf,s))return Cc(s,Dn[i],!1,o,h,y);throw new l("Illegal delimiter: '"+s+"'")},bf=[{type:"small",style:we.SCRIPTSCRIPT},{type:"small",style:we.SCRIPT},{type:"small",style:we.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],xf=[{type:"small",style:we.SCRIPTSCRIPT},{type:"small",style:we.SCRIPT},{type:"small",style:we.TEXT},{type:"stack"}],Bc=[{type:"small",style:we.SCRIPTSCRIPT},{type:"small",style:we.SCRIPT},{type:"small",style:we.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],vf=function(s){if(s.type==="small")return"Main-Regular";if(s.type==="large")return"Size"+s.size+"-Regular";if(s.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+s.type+"' here.")},Nc=function(s,i,o,h){const y=Math.min(2,3-h.style.size);for(let w=y;w<o.length&&o[w].type!=="stack";w++){const T=En(s,vf(o[w]),"math");let C=T.height+T.depth;if(o[w].type==="small"){const _=h.havingBaseStyle(o[w].style);C*=_.sizeMultiplier}if(C>i)return o[w]}return o[o.length-1]},Ic=function(s,i,o,h,y,w){s==="<"||s==="\\lt"||s==="⟨"?s="\\langle":(s===">"||s==="\\gt"||s==="⟩")&&(s="\\rangle");let T;R.contains(Dc,s)?T=bf:R.contains(Ec,s)?T=Bc:T=xf;const C=Nc(s,i,T,h);return C.type==="small"?hf(s,C.style,o,h,y,w):C.type==="large"?zc(s,C.size,o,h,y,w):Cc(s,i,o,h,y,w)};var or={sqrtImage:ff,sizedDelim:yf,sizeToMaxHeight:Dn,customSizedDelim:Ic,leftRightDelim:function(s,i,o,h,y,w){const T=h.fontMetrics().axisHeight*h.sizeMultiplier,C=901,_=5/h.fontMetrics().ptPerEm,P=Math.max(i-T,o+T),U=Math.max(P/500*C,2*P-_);return Ic(s,U,!0,h,y,w)}};const Rc={"\\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}},wf=["(","\\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 _i(s,i){const o=Bi(s);if(o&&R.contains(wf,o.text))return o;throw o?new l("Invalid delimiter '"+o.text+"' after '"+i.funcName+"'",s):new l("Invalid delimiter type '"+s.type+"'",s)}Se({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:(s,i)=>{const o=_i(i[0],s);return{type:"delimsizing",mode:s.parser.mode,size:Rc[s.funcName].size,mclass:Rc[s.funcName].mclass,delim:o.text}},htmlBuilder:(s,i)=>s.delim==="."?Z.makeSpan([s.mclass]):or.sizedDelim(s.delim,s.size,i,s.mode,[s.mclass]),mathmlBuilder:s=>{const i=[];s.delim!=="."&&i.push(v0(s.delim,s.mode));const o=new ce.MathNode("mo",i);s.mclass==="mopen"||s.mclass==="mclose"?o.setAttribute("fence","true"):o.setAttribute("fence","false"),o.setAttribute("stretchy","true");const h=fe(or.sizeToMaxHeight[s.size]);return o.setAttribute("minsize",h),o.setAttribute("maxsize",h),o}});function _c(s){if(!s.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Se({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(s,i)=>{const o=s.parser.gullet.macros.get("\\current@color");if(o&&typeof o!="string")throw new l("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:s.parser.mode,delim:_i(i[0],s).text,color:o}}}),Se({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(s,i)=>{const o=_i(i[0],s),h=s.parser;++h.leftrightDepth;const y=h.parseExpression(!1);--h.leftrightDepth,h.expect("\\right",!1);const w=He(h.parseFunction(),"leftright-right");return{type:"leftright",mode:h.mode,body:y,left:o.text,right:w.delim,rightColor:w.color}},htmlBuilder:(s,i)=>{_c(s);const o=Rt(s.body,i,!0,["mopen","mclose"]);let h=0,y=0,w=!1;for(let _=0;_<o.length;_++)o[_].isMiddle?w=!0:(h=Math.max(o[_].height,h),y=Math.max(o[_].depth,y));h*=i.sizeMultiplier,y*=i.sizeMultiplier;let T;if(s.left==="."?T=Cn(i,["mopen"]):T=or.leftRightDelim(s.left,h,y,i,s.mode,["mopen"]),o.unshift(T),w)for(let _=1;_<o.length;_++){const U=o[_].isMiddle;U&&(o[_]=or.leftRightDelim(U.delim,h,y,U.options,s.mode,[]))}let C;if(s.right===".")C=Cn(i,["mclose"]);else{const _=s.rightColor?i.withColor(s.rightColor):i;C=or.leftRightDelim(s.right,h,y,_,s.mode,["mclose"])}return o.push(C),Z.makeSpan(["minner"],o,i)},mathmlBuilder:(s,i)=>{_c(s);const o=l0(s.body,i);if(s.left!=="."){const h=new ce.MathNode("mo",[v0(s.left,s.mode)]);h.setAttribute("fence","true"),o.unshift(h)}if(s.right!=="."){const h=new ce.MathNode("mo",[v0(s.right,s.mode)]);h.setAttribute("fence","true"),s.rightColor&&h.setAttribute("mathcolor",s.rightColor),o.push(h)}return Il(o)}}),Se({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(s,i)=>{const o=_i(i[0],s);if(!s.parser.leftrightDepth)throw new l("\\middle without preceding \\left",o);return{type:"middle",mode:s.parser.mode,delim:o.text}},htmlBuilder:(s,i)=>{let o;if(s.delim===".")o=Cn(i,[]);else{o=or.sizedDelim(s.delim,1,i,s.mode,[]);const h={delim:s.delim,options:i};o.isMiddle=h}return o},mathmlBuilder:(s,i)=>{const o=s.delim==="\\vert"||s.delim==="|"?v0("|","text"):v0(s.delim,s.mode),h=new ce.MathNode("mo",[o]);return h.setAttribute("fence","true"),h.setAttribute("lspace","0.05em"),h.setAttribute("rspace","0.05em"),h}});const Ul=(s,i)=>{const o=Z.wrapFragment(Ke(s.body,i),i),h=s.label.slice(1);let y=i.sizeMultiplier,w,T=0;const C=R.isCharacterBox(s.body);if(h==="sout")w=Z.makeSpan(["stretchy","sout"]),w.height=i.fontMetrics().defaultRuleThickness/y,T=-.5*i.fontMetrics().xHeight;else if(h==="phase"){const P=rt({number:.6,unit:"pt"},i),U=rt({number:.35,unit:"ex"},i),W=i.havingBaseSizing();y=y/W.sizeMultiplier;const Q=o.height+o.depth+P+U;o.style.paddingLeft=fe(Q/2+P);const ne=Math.floor(1e3*Q*y),ze=br(ne),Ce=new D0([new B0("phase",ze)],{width:"400em",height:fe(ne/1e3),viewBox:"0 0 400000 "+ne,preserveAspectRatio:"xMinYMin slice"});w=Z.makeSvgSpan(["hide-tail"],[Ce],i),w.style.height=fe(Q),T=o.depth+P+U}else{/cancel/.test(h)?C||o.classes.push("cancel-pad"):h==="angl"?o.classes.push("anglpad"):o.classes.push("boxpad");let P=0,U=0,W=0;/box/.test(h)?(W=Math.max(i.fontMetrics().fboxrule,i.minRuleThickness),P=i.fontMetrics().fboxsep+(h==="colorbox"?0:W),U=P):h==="angl"?(W=Math.max(i.fontMetrics().defaultRuleThickness,i.minRuleThickness),P=4*W,U=Math.max(0,.25-o.depth)):(P=C?.2:0,U=P),w=sr.encloseSpan(o,h,P,U,i),/fbox|boxed|fcolorbox/.test(h)?(w.style.borderStyle="solid",w.style.borderWidth=fe(W)):h==="angl"&&W!==.049&&(w.style.borderTopWidth=fe(W),w.style.borderRightWidth=fe(W)),T=o.depth+U,s.backgroundColor&&(w.style.backgroundColor=s.backgroundColor,s.borderColor&&(w.style.borderColor=s.borderColor))}let _;if(s.backgroundColor)_=Z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:w,shift:T},{type:"elem",elem:o,shift:0}]},i);else{const P=/cancel|phase/.test(h)?["svg-align"]:[];_=Z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:0},{type:"elem",elem:w,shift:T,wrapperClasses:P}]},i)}return/cancel/.test(h)&&(_.height=o.height,_.depth=o.depth),/cancel/.test(h)&&!C?Z.makeSpan(["mord","cancel-lap"],[_],i):Z.makeSpan(["mord"],[_],i)},Wl=(s,i)=>{let o=0;const h=new ce.MathNode(s.label.indexOf("colorbox")>-1?"mpadded":"menclose",[ot(s.body,i)]);switch(s.label){case"\\cancel":h.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":h.setAttribute("notation","downdiagonalstrike");break;case"\\phase":h.setAttribute("notation","phasorangle");break;case"\\sout":h.setAttribute("notation","horizontalstrike");break;case"\\fbox":h.setAttribute("notation","box");break;case"\\angl":h.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(o=i.fontMetrics().fboxsep*i.fontMetrics().ptPerEm,h.setAttribute("width","+"+2*o+"pt"),h.setAttribute("height","+"+2*o+"pt"),h.setAttribute("lspace",o+"pt"),h.setAttribute("voffset",o+"pt"),s.label==="\\fcolorbox"){const y=Math.max(i.fontMetrics().fboxrule,i.minRuleThickness);h.setAttribute("style","border: "+y+"em solid "+String(s.borderColor))}break;case"\\xcancel":h.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return s.backgroundColor&&h.setAttribute("mathbackground",s.backgroundColor),h};Se({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(s,i,o){let{parser:h,funcName:y}=s;const w=He(i[0],"color-token").color,T=i[1];return{type:"enclose",mode:h.mode,label:y,backgroundColor:w,body:T}},htmlBuilder:Ul,mathmlBuilder:Wl}),Se({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(s,i,o){let{parser:h,funcName:y}=s;const w=He(i[0],"color-token").color,T=He(i[1],"color-token").color,C=i[2];return{type:"enclose",mode:h.mode,label:y,backgroundColor:T,borderColor:w,body:C}},htmlBuilder:Ul,mathmlBuilder:Wl}),Se({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(s,i){let{parser:o}=s;return{type:"enclose",mode:o.mode,label:"\\fbox",body:i[0]}}}),Se({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(s,i){let{parser:o,funcName:h}=s;const y=i[0];return{type:"enclose",mode:o.mode,label:h,body:y}},htmlBuilder:Ul,mathmlBuilder:Wl}),Se({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(s,i){let{parser:o}=s;return{type:"enclose",mode:o.mode,label:"\\angl",body:i[0]}}});const qc={};function V0(s){let{type:i,names:o,props:h,handler:y,htmlBuilder:w,mathmlBuilder:T}=s;const C={type:i,numArgs:h.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:y};for(let _=0;_<o.length;++_)qc[o[_]]=C;w&&(zi[i]=w),T&&(Ci[i]=T)}const Oc={};function D(s,i){Oc[s]=i}class d0{constructor(i,o,h){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=i,this.start=o,this.end=h}static range(i,o){return o?!i||!i.loc||!o.loc||i.loc.lexer!==o.loc.lexer?null:new d0(i.loc.lexer,i.loc.start,o.loc.end):i&&i.loc}}class w0{constructor(i,o){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=i,this.loc=o}range(i,o){return new w0(o,d0.range(this,i))}}function Fc(s){const i=[];s.consumeSpaces();let o=s.fetch().text;for(o==="\\relax"&&(s.consume(),s.consumeSpaces(),o=s.fetch().text);o==="\\hline"||o==="\\hdashline";)s.consume(),i.push(o==="\\hdashline"),s.consumeSpaces(),o=s.fetch().text;return i}const qi=s=>{if(!s.parser.settings.displayMode)throw new l("{"+s.envName+"} can be used only in display mode.")};function Yl(s){if(s.indexOf("ed")===-1)return s.indexOf("*")===-1}function vr(s,i,o){let{hskipBeforeAndAfter:h,addJot:y,cols:w,arraystretch:T,colSeparationType:C,autoTag:_,singleRow:P,emptySingleRow:U,maxNumCols:W,leqno:Q}=i;if(s.gullet.beginGroup(),P||s.gullet.macros.set("\\cr","\\\\\\relax"),!T){const mt=s.gullet.expandMacroAsText("\\arraystretch");if(mt==null)T=1;else if(T=parseFloat(mt),!T||T<0)throw new l("Invalid \\arraystretch: "+mt)}s.gullet.beginGroup();let ne=[];const ze=[ne],Ce=[],Ye=[],je=_!=null?[]:void 0;function Xe(){_&&s.gullet.macros.set("\\@eqnsw","1",!0)}function nt(){je&&(s.gullet.macros.get("\\df@tag")?(je.push(s.subparse([new w0("\\df@tag")])),s.gullet.macros.set("\\df@tag",void 0,!0)):je.push(!!_&&s.gullet.macros.get("\\@eqnsw")==="1"))}for(Xe(),Ye.push(Fc(s));;){let mt=s.parseExpression(!1,P?"\\end":"\\\\");s.gullet.endGroup(),s.gullet.beginGroup(),mt={type:"ordgroup",mode:s.mode,body:mt},o&&(mt={type:"styling",mode:s.mode,style:o,body:[mt]}),ne.push(mt);const Jt=s.fetch().text;if(Jt==="&"){if(W&&ne.length===W){if(P||C)throw new l("Too many tab characters: &",s.nextToken);s.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}s.consume()}else if(Jt==="\\end"){nt(),ne.length===1&&mt.type==="styling"&&mt.body[0].body.length===0&&(ze.length>1||!U)&&ze.pop(),Ye.length<ze.length+1&&Ye.push([]);break}else if(Jt==="\\\\"){s.consume();let _t;s.gullet.future().text!==" "&&(_t=s.parseSizeGroup(!0)),Ce.push(_t?_t.value:null),nt(),Ye.push(Fc(s)),ne=[],ze.push(ne),Xe()}else throw new l("Expected & or \\\\ or \\cr or \\end",s.nextToken)}return s.gullet.endGroup(),s.gullet.endGroup(),{type:"array",mode:s.mode,addJot:y,arraystretch:T,body:ze,cols:w,rowGaps:Ce,hskipBeforeAndAfter:h,hLinesBeforeRow:Ye,colSeparationType:C,tags:je,leqno:Q}}function Xl(s){return s.slice(0,1)==="d"?"display":"text"}const j0=function(s,i){let o,h;const y=s.body.length,w=s.hLinesBeforeRow;let T=0,C=new Array(y);const _=[],P=Math.max(i.fontMetrics().arrayRuleWidth,i.minRuleThickness),U=1/i.fontMetrics().ptPerEm;let W=5*U;s.colSeparationType&&s.colSeparationType==="small"&&(W=.2778*(i.havingStyle(we.SCRIPT).sizeMultiplier/i.sizeMultiplier));const Q=s.colSeparationType==="CD"?rt({number:3,unit:"ex"},i):12*U,ne=3*U,ze=s.arraystretch*Q,Ce=.7*ze,Ye=.3*ze;let je=0;function Xe(Je){for(let at=0;at<Je.length;++at)at>0&&(je+=.25),_.push({pos:je,isDashed:Je[at]})}for(Xe(w[0]),o=0;o<s.body.length;++o){const Je=s.body[o];let at=Ce,ft=Ye;T<Je.length&&(T=Je.length);const bt=new Array(Je.length);for(h=0;h<Je.length;++h){const S0=Ke(Je[h],i);ft<S0.depth&&(ft=S0.depth),at<S0.height&&(at=S0.height),bt[h]=S0}const zt=s.rowGaps[o];let St=0;zt&&(St=rt(zt,i),St>0&&(St+=Ye,ft<St&&(ft=St),St=0)),s.addJot&&(ft+=ne),bt.height=at,bt.depth=ft,je+=at,bt.pos=je,je+=ft+St,C[o]=bt,Xe(w[o+1])}const nt=je/2+i.fontMetrics().axisHeight,mt=s.cols||[],Jt=[];let _t,k0;const nn=[];if(s.tags&&s.tags.some(Je=>Je))for(o=0;o<y;++o){const Je=C[o],at=Je.pos-nt,ft=s.tags[o];let bt;ft===!0?bt=Z.makeSpan(["eqn-num"],[],i):ft===!1?bt=Z.makeSpan([],[],i):bt=Z.makeSpan([],Rt(ft,i,!0),i),bt.depth=Je.depth,bt.height=Je.height,nn.push({type:"elem",elem:bt,shift:at})}for(h=0,k0=0;h<T||k0<mt.length;++h,++k0){let Je=mt[k0]||{},at=!0;for(;Je.type==="separator";){if(at||(_t=Z.makeSpan(["arraycolsep"],[]),_t.style.width=fe(i.fontMetrics().doubleRuleSep),Jt.push(_t)),Je.separator==="|"||Je.separator===":"){const zt=Je.separator==="|"?"solid":"dashed",St=Z.makeSpan(["vertical-separator"],[],i);St.style.height=fe(je),St.style.borderRightWidth=fe(P),St.style.borderRightStyle=zt,St.style.margin="0 "+fe(-P/2);const S0=je-nt;S0&&(St.style.verticalAlign=fe(-S0)),Jt.push(St)}else throw new l("Invalid separator type: "+Je.separator);k0++,Je=mt[k0]||{},at=!1}if(h>=T)continue;let ft;(h>0||s.hskipBeforeAndAfter)&&(ft=R.deflt(Je.pregap,W),ft!==0&&(_t=Z.makeSpan(["arraycolsep"],[]),_t.style.width=fe(ft),Jt.push(_t)));let bt=[];for(o=0;o<y;++o){const zt=C[o],St=zt[h];if(!St)continue;const S0=zt.pos-nt;St.depth=zt.depth,St.height=zt.height,bt.push({type:"elem",elem:St,shift:S0})}bt=Z.makeVList({positionType:"individualShift",children:bt},i),bt=Z.makeSpan(["col-align-"+(Je.align||"c")],[bt]),Jt.push(bt),(h<T-1||s.hskipBeforeAndAfter)&&(ft=R.deflt(Je.postgap,W),ft!==0&&(_t=Z.makeSpan(["arraycolsep"],[]),_t.style.width=fe(ft),Jt.push(_t)))}if(C=Z.makeSpan(["mtable"],Jt),_.length>0){const Je=Z.makeLineSpan("hline",i,P),at=Z.makeLineSpan("hdashline",i,P),ft=[{type:"elem",elem:C,shift:0}];for(;_.length>0;){const bt=_.pop(),zt=bt.pos-nt;bt.isDashed?ft.push({type:"elem",elem:at,shift:zt}):ft.push({type:"elem",elem:Je,shift:zt})}C=Z.makeVList({positionType:"individualShift",children:ft},i)}if(nn.length===0)return Z.makeSpan(["mord"],[C],i);{let Je=Z.makeVList({positionType:"individualShift",children:nn},i);return Je=Z.makeSpan(["tag"],[Je],i),Z.makeFragment([C,Je])}},kf={c:"center ",l:"left ",r:"right "},G0=function(s,i){const o=[],h=new ce.MathNode("mtd",[],["mtr-glue"]),y=new ce.MathNode("mtd",[],["mml-eqn-num"]);for(let W=0;W<s.body.length;W++){const Q=s.body[W],ne=[];for(let ze=0;ze<Q.length;ze++)ne.push(new ce.MathNode("mtd",[ot(Q[ze],i)]));s.tags&&s.tags[W]&&(ne.unshift(h),ne.push(h),s.leqno?ne.unshift(y):ne.push(y)),o.push(new ce.MathNode("mtr",ne))}let w=new ce.MathNode("mtable",o);const T=s.arraystretch===.5?.1:.16+s.arraystretch-1+(s.addJot?.09:0);w.setAttribute("rowspacing",fe(T));let C="",_="";if(s.cols&&s.cols.length>0){const W=s.cols;let Q="",ne=!1,ze=0,Ce=W.length;W[0].type==="separator"&&(C+="top ",ze=1),W[W.length-1].type==="separator"&&(C+="bottom ",Ce-=1);for(let Ye=ze;Ye<Ce;Ye++)W[Ye].type==="align"?(_+=kf[W[Ye].align],ne&&(Q+="none "),ne=!0):W[Ye].type==="separator"&&ne&&(Q+=W[Ye].separator==="|"?"solid ":"dashed ",ne=!1);w.setAttribute("columnalign",_.trim()),/[sd]/.test(Q)&&w.setAttribute("columnlines",Q.trim())}if(s.colSeparationType==="align"){const W=s.cols||[];let Q="";for(let ne=1;ne<W.length;ne++)Q+=ne%2?"0em ":"1em ";w.setAttribute("columnspacing",Q.trim())}else s.colSeparationType==="alignat"||s.colSeparationType==="gather"?w.setAttribute("columnspacing","0em"):s.colSeparationType==="small"?w.setAttribute("columnspacing","0.2778em"):s.colSeparationType==="CD"?w.setAttribute("columnspacing","0.5em"):w.setAttribute("columnspacing","1em");let P="";const U=s.hLinesBeforeRow;C+=U[0].length>0?"left ":"",C+=U[U.length-1].length>0?"right ":"";for(let W=1;W<U.length-1;W++)P+=U[W].length===0?"none ":U[W][0]?"dashed ":"solid ";return/[sd]/.test(P)&&w.setAttribute("rowlines",P.trim()),C!==""&&(w=new ce.MathNode("menclose",[w]),w.setAttribute("notation",C.trim())),s.arraystretch&&s.arraystretch<1&&(w=new ce.MathNode("mstyle",[w]),w.setAttribute("scriptlevel","1")),w},Lc=function(s,i){s.envName.indexOf("ed")===-1&&qi(s);const o=[],h=s.envName.indexOf("at")>-1?"alignat":"align",y=s.envName==="split",w=vr(s.parser,{cols:o,addJot:!0,autoTag:y?void 0:Yl(s.envName),emptySingleRow:!0,colSeparationType:h,maxNumCols:y?2:void 0,leqno:s.parser.settings.leqno},"display");let T,C=0;const _={type:"ordgroup",mode:s.mode,body:[]};if(i[0]&&i[0].type==="ordgroup"){let U="";for(let W=0;W<i[0].body.length;W++){const Q=He(i[0].body[W],"textord");U+=Q.text}T=Number(U),C=T*2}const P=!C;w.body.forEach(function(U){for(let W=1;W<U.length;W+=2){const Q=He(U[W],"styling");He(Q.body[0],"ordgroup").body.unshift(_)}if(P)C<U.length&&(C=U.length);else{const W=U.length/2;if(T<W)throw new l("Too many math in a row: "+("expected "+T+", but got "+W),U[0])}});for(let U=0;U<C;++U){let W="r",Q=0;U%2===1?W="l":U>0&&P&&(Q=1),o[U]={type:"align",align:W,pregap:Q,postgap:0}}return w.colSeparationType=P?"align":"alignat",w};V0({type:"array",names:["array","darray"],props:{numArgs:1},handler(s,i){const y=(Bi(i[0])?[i[0]]:He(i[0],"ordgroup").body).map(function(T){const _=ql(T).text;if("lcr".indexOf(_)!==-1)return{type:"align",align:_};if(_==="|")return{type:"separator",separator:"|"};if(_===":")return{type:"separator",separator:":"};throw new l("Unknown column alignment: "+_,T)}),w={cols:y,hskipBeforeAndAfter:!0,maxNumCols:y.length};return vr(s.parser,w,Xl(s.envName))},htmlBuilder:j0,mathmlBuilder:G0}),V0({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(s){const i={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[s.envName.replace("*","")];let o="c";const h={hskipBeforeAndAfter:!1,cols:[{type:"align",align:o}]};if(s.envName.charAt(s.envName.length-1)==="*"){const T=s.parser;if(T.consumeSpaces(),T.fetch().text==="["){if(T.consume(),T.consumeSpaces(),o=T.fetch().text,"lcr".indexOf(o)===-1)throw new l("Expected l or c or r",T.nextToken);T.consume(),T.consumeSpaces(),T.expect("]"),T.consume(),h.cols=[{type:"align",align:o}]}}const y=vr(s.parser,h,Xl(s.envName)),w=Math.max(0,...y.body.map(T=>T.length));return y.cols=new Array(w).fill({type:"align",align:o}),i?{type:"leftright",mode:s.mode,body:[y],left:i[0],right:i[1],rightColor:void 0}:y},htmlBuilder:j0,mathmlBuilder:G0}),V0({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(s){const i={arraystretch:.5},o=vr(s.parser,i,"script");return o.colSeparationType="small",o},htmlBuilder:j0,mathmlBuilder:G0}),V0({type:"array",names:["subarray"],props:{numArgs:1},handler(s,i){const y=(Bi(i[0])?[i[0]]:He(i[0],"ordgroup").body).map(function(T){const _=ql(T).text;if("lc".indexOf(_)!==-1)return{type:"align",align:_};throw new l("Unknown column alignment: "+_,T)});if(y.length>1)throw new l("{subarray} can contain only one column");let w={cols:y,hskipBeforeAndAfter:!1,arraystretch:.5};if(w=vr(s.parser,w,"script"),w.body.length>0&&w.body[0].length>1)throw new l("{subarray} can contain only one column");return w},htmlBuilder:j0,mathmlBuilder:G0}),V0({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(s){const i={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},o=vr(s.parser,i,Xl(s.envName));return{type:"leftright",mode:s.mode,body:[o],left:s.envName.indexOf("r")>-1?".":"\\{",right:s.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:j0,mathmlBuilder:G0}),V0({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Lc,htmlBuilder:j0,mathmlBuilder:G0}),V0({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(s){R.contains(["gather","gather*"],s.envName)&&qi(s);const i={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Yl(s.envName),emptySingleRow:!0,leqno:s.parser.settings.leqno};return vr(s.parser,i,"display")},htmlBuilder:j0,mathmlBuilder:G0}),V0({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Lc,htmlBuilder:j0,mathmlBuilder:G0}),V0({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(s){qi(s);const i={autoTag:Yl(s.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:s.parser.settings.leqno};return vr(s.parser,i,"display")},htmlBuilder:j0,mathmlBuilder:G0}),V0({type:"array",names:["CD"],props:{numArgs:0},handler(s){return qi(s),uf(s.parser)},htmlBuilder:j0,mathmlBuilder:G0}),D("\\nonumber","\\gdef\\@eqnsw{0}"),D("\\notag","\\nonumber"),Se({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(s,i){throw new l(s.funcName+" valid only within array environment")}});var Pc=qc;Se({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(s,i){let{parser:o,funcName:h}=s;const y=i[0];if(y.type!=="ordgroup")throw new l("Invalid environment name",y);let w="";for(let T=0;T<y.body.length;++T)w+=He(y.body[T],"textord").text;if(h==="\\begin"){if(!Pc.hasOwnProperty(w))throw new l("No such environment: "+w,y);const T=Pc[w],{args:C,optArgs:_}=o.parseArguments("\\begin{"+w+"}",T),P={mode:o.mode,envName:w,parser:o},U=T.handler(P,C,_);o.expect("\\end",!1);const W=o.nextToken,Q=He(o.parseFunction(),"environment");if(Q.name!==w)throw new l("Mismatch: \\begin{"+w+"} matched by \\end{"+Q.name+"}",W);return U}return{type:"environment",mode:o.mode,name:w,nameGroup:y}}});const Hc=(s,i)=>{const o=s.font,h=i.withFont(o);return Ke(s.body,h)},$c=(s,i)=>{const o=s.font,h=i.withFont(o);return ot(s.body,h)},Vc={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Se({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(s,i)=>{let{parser:o,funcName:h}=s;const y=Ei(i[0]);let w=h;return w in Vc&&(w=Vc[w]),{type:"font",mode:o.mode,font:w.slice(1),body:y}},htmlBuilder:Hc,mathmlBuilder:$c}),Se({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(s,i)=>{let{parser:o}=s;const h=i[0],y=R.isCharacterBox(h);return{type:"mclass",mode:o.mode,mclass:Ii(h),body:[{type:"font",mode:o.mode,font:"boldsymbol",body:h}],isCharacterBox:y}}}),Se({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(s,i)=>{let{parser:o,funcName:h,breakOnTokenText:y}=s;const{mode:w}=o,T=o.parseExpression(!0,y),C="math"+h.slice(1);return{type:"font",mode:w,font:C,body:{type:"ordgroup",mode:o.mode,body:T}}},htmlBuilder:Hc,mathmlBuilder:$c});const jc=(s,i)=>{let o=i;return s==="display"?o=o.id>=we.SCRIPT.id?o.text():we.DISPLAY:s==="text"&&o.size===we.DISPLAY.size?o=we.TEXT:s==="script"?o=we.SCRIPT:s==="scriptscript"&&(o=we.SCRIPTSCRIPT),o},Zl=(s,i)=>{const o=jc(s.size,i.style),h=o.fracNum(),y=o.fracDen();let w;w=i.havingStyle(h);const T=Ke(s.numer,w,i);if(s.continued){const Xe=8.5/i.fontMetrics().ptPerEm,nt=3.5/i.fontMetrics().ptPerEm;T.height=T.height<Xe?Xe:T.height,T.depth=T.depth<nt?nt:T.depth}w=i.havingStyle(y);const C=Ke(s.denom,w,i);let _,P,U;s.hasBarLine?(s.barSize?(P=rt(s.barSize,i),_=Z.makeLineSpan("frac-line",i,P)):_=Z.makeLineSpan("frac-line",i),P=_.height,U=_.height):(_=null,P=0,U=i.fontMetrics().defaultRuleThickness);let W,Q,ne;o.size===we.DISPLAY.size||s.size==="display"?(W=i.fontMetrics().num1,P>0?Q=3*U:Q=7*U,ne=i.fontMetrics().denom1):(P>0?(W=i.fontMetrics().num2,Q=U):(W=i.fontMetrics().num3,Q=3*U),ne=i.fontMetrics().denom2);let ze;if(_){const Xe=i.fontMetrics().axisHeight;W-T.depth-(Xe+.5*P)<Q&&(W+=Q-(W-T.depth-(Xe+.5*P))),Xe-.5*P-(C.height-ne)<Q&&(ne+=Q-(Xe-.5*P-(C.height-ne)));const nt=-(Xe-.5*P);ze=Z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:C,shift:ne},{type:"elem",elem:_,shift:nt},{type:"elem",elem:T,shift:-W}]},i)}else{const Xe=W-T.depth-(C.height-ne);Xe<Q&&(W+=.5*(Q-Xe),ne+=.5*(Q-Xe)),ze=Z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:C,shift:ne},{type:"elem",elem:T,shift:-W}]},i)}w=i.havingStyle(o),ze.height*=w.sizeMultiplier/i.sizeMultiplier,ze.depth*=w.sizeMultiplier/i.sizeMultiplier;let Ce;o.size===we.DISPLAY.size?Ce=i.fontMetrics().delim1:o.size===we.SCRIPTSCRIPT.size?Ce=i.havingStyle(we.SCRIPT).fontMetrics().delim2:Ce=i.fontMetrics().delim2;let Ye,je;return s.leftDelim==null?Ye=Cn(i,["mopen"]):Ye=or.customSizedDelim(s.leftDelim,Ce,!0,i.havingStyle(o),s.mode,["mopen"]),s.continued?je=Z.makeSpan([]):s.rightDelim==null?je=Cn(i,["mclose"]):je=or.customSizedDelim(s.rightDelim,Ce,!0,i.havingStyle(o),s.mode,["mclose"]),Z.makeSpan(["mord"].concat(w.sizingClasses(i)),[Ye,Z.makeSpan(["mfrac"],[ze]),je],i)},Kl=(s,i)=>{let o=new ce.MathNode("mfrac",[ot(s.numer,i),ot(s.denom,i)]);if(!s.hasBarLine)o.setAttribute("linethickness","0px");else if(s.barSize){const y=rt(s.barSize,i);o.setAttribute("linethickness",fe(y))}const h=jc(s.size,i.style);if(h.size!==i.style.size){o=new ce.MathNode("mstyle",[o]);const y=h.size===we.DISPLAY.size?"true":"false";o.setAttribute("displaystyle",y),o.setAttribute("scriptlevel","0")}if(s.leftDelim!=null||s.rightDelim!=null){const y=[];if(s.leftDelim!=null){const w=new ce.MathNode("mo",[new ce.TextNode(s.leftDelim.replace("\\",""))]);w.setAttribute("fence","true"),y.push(w)}if(y.push(o),s.rightDelim!=null){const w=new ce.MathNode("mo",[new ce.TextNode(s.rightDelim.replace("\\",""))]);w.setAttribute("fence","true"),y.push(w)}return Il(y)}return o};Se({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(s,i)=>{let{parser:o,funcName:h}=s;const y=i[0],w=i[1];let T,C=null,_=null,P="auto";switch(h){case"\\dfrac":case"\\frac":case"\\tfrac":T=!0;break;case"\\\\atopfrac":T=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":T=!1,C="(",_=")";break;case"\\\\bracefrac":T=!1,C="\\{",_="\\}";break;case"\\\\brackfrac":T=!1,C="[",_="]";break;default:throw new Error("Unrecognized genfrac command")}switch(h){case"\\dfrac":case"\\dbinom":P="display";break;case"\\tfrac":case"\\tbinom":P="text";break}return{type:"genfrac",mode:o.mode,continued:!1,numer:y,denom:w,hasBarLine:T,leftDelim:C,rightDelim:_,size:P,barSize:null}},htmlBuilder:Zl,mathmlBuilder:Kl}),Se({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(s,i)=>{let{parser:o,funcName:h}=s;const y=i[0],w=i[1];return{type:"genfrac",mode:o.mode,continued:!0,numer:y,denom:w,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),Se({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(s){let{parser:i,funcName:o,token:h}=s,y;switch(o){case"\\over":y="\\frac";break;case"\\choose":y="\\binom";break;case"\\atop":y="\\\\atopfrac";break;case"\\brace":y="\\\\bracefrac";break;case"\\brack":y="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:i.mode,replaceWith:y,token:h}}});const Gc=["display","text","script","scriptscript"],Uc=function(s){let i=null;return s.length>0&&(i=s,i=i==="."?null:i),i};Se({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(s,i){let{parser:o}=s;const h=i[4],y=i[5],w=Ei(i[0]),T=w.type==="atom"&&w.family==="open"?Uc(w.text):null,C=Ei(i[1]),_=C.type==="atom"&&C.family==="close"?Uc(C.text):null,P=He(i[2],"size");let U,W=null;P.isBlank?U=!0:(W=P.value,U=W.number>0);let Q="auto",ne=i[3];if(ne.type==="ordgroup"){if(ne.body.length>0){const ze=He(ne.body[0],"textord");Q=Gc[Number(ze.text)]}}else ne=He(ne,"textord"),Q=Gc[Number(ne.text)];return{type:"genfrac",mode:o.mode,numer:h,denom:y,continued:!1,hasBarLine:U,barSize:W,leftDelim:T,rightDelim:_,size:Q}},htmlBuilder:Zl,mathmlBuilder:Kl}),Se({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(s,i){let{parser:o,funcName:h,token:y}=s;return{type:"infix",mode:o.mode,replaceWith:"\\\\abovefrac",size:He(i[0],"size").value,token:y}}}),Se({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(s,i)=>{let{parser:o,funcName:h}=s;const y=i[0],w=B(He(i[1],"infix").size),T=i[2],C=w.number>0;return{type:"genfrac",mode:o.mode,numer:y,denom:T,continued:!1,hasBarLine:C,barSize:w,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Zl,mathmlBuilder:Kl});const Wc=(s,i)=>{const o=i.style;let h,y;s.type==="supsub"?(h=s.sup?Ke(s.sup,i.havingStyle(o.sup()),i):Ke(s.sub,i.havingStyle(o.sub()),i),y=He(s.base,"horizBrace")):y=He(s,"horizBrace");const w=Ke(y.base,i.havingBaseStyle(we.DISPLAY)),T=sr.svgSpan(y,i);let C;if(y.isOver?(C=Z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:w},{type:"kern",size:.1},{type:"elem",elem:T}]},i),C.children[0].children[0].children[1].classes.push("svg-align")):(C=Z.makeVList({positionType:"bottom",positionData:w.depth+.1+T.height,children:[{type:"elem",elem:T},{type:"kern",size:.1},{type:"elem",elem:w}]},i),C.children[0].children[0].children[0].classes.push("svg-align")),h){const _=Z.makeSpan(["mord",y.isOver?"mover":"munder"],[C],i);y.isOver?C=Z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:_},{type:"kern",size:.2},{type:"elem",elem:h}]},i):C=Z.makeVList({positionType:"bottom",positionData:_.depth+.2+h.height+h.depth,children:[{type:"elem",elem:h},{type:"kern",size:.2},{type:"elem",elem:_}]},i)}return Z.makeSpan(["mord",y.isOver?"mover":"munder"],[C],i)};Se({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(s,i){let{parser:o,funcName:h}=s;return{type:"horizBrace",mode:o.mode,label:h,isOver:/^\\over/.test(h),base:i[0]}},htmlBuilder:Wc,mathmlBuilder:(s,i)=>{const o=sr.mathMLnode(s.label);return new ce.MathNode(s.isOver?"mover":"munder",[ot(s.base,i),o])}}),Se({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(s,i)=>{let{parser:o}=s;const h=i[1],y=He(i[0],"url").url;return o.settings.isTrusted({command:"\\href",url:y})?{type:"href",mode:o.mode,href:y,body:Et(h)}:o.formatUnsupportedCmd("\\href")},htmlBuilder:(s,i)=>{const o=Rt(s.body,i,!1);return Z.makeAnchor(s.href,[],o,i)},mathmlBuilder:(s,i)=>{let o=xr(s.body,i);return o instanceof m0||(o=new m0("mrow",[o])),o.setAttribute("href",s.href),o}}),Se({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(s,i)=>{let{parser:o}=s;const h=He(i[0],"url").url;if(!o.settings.isTrusted({command:"\\url",url:h}))return o.formatUnsupportedCmd("\\url");const y=[];for(let T=0;T<h.length;T++){let C=h[T];C==="~"&&(C="\\textasciitilde"),y.push({type:"textord",mode:"text",text:C})}const w={type:"text",mode:o.mode,font:"\\texttt",body:y};return{type:"href",mode:o.mode,href:h,body:Et(w)}}}),Se({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(s,i){let{parser:o}=s;return{type:"hbox",mode:o.mode,body:Et(i[0])}},htmlBuilder(s,i){const o=Rt(s.body,i,!1);return Z.makeFragment(o)},mathmlBuilder(s,i){return new ce.MathNode("mrow",l0(s.body,i))}}),Se({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(s,i)=>{let{parser:o,funcName:h,token:y}=s;const w=He(i[0],"raw").string,T=i[1];o.settings.strict&&o.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");let C;const _={};switch(h){case"\\htmlClass":_.class=w,C={command:"\\htmlClass",class:w};break;case"\\htmlId":_.id=w,C={command:"\\htmlId",id:w};break;case"\\htmlStyle":_.style=w,C={command:"\\htmlStyle",style:w};break;case"\\htmlData":{const P=w.split(",");for(let U=0;U<P.length;U++){const W=P[U].split("=");if(W.length!==2)throw new l("Error parsing key-value for \\htmlData");_["data-"+W[0].trim()]=W[1].trim()}C={command:"\\htmlData",attributes:_};break}default:throw new Error("Unrecognized html command")}return o.settings.isTrusted(C)?{type:"html",mode:o.mode,attributes:_,body:Et(T)}:o.formatUnsupportedCmd(h)},htmlBuilder:(s,i)=>{const o=Rt(s.body,i,!1),h=["enclosing"];s.attributes.class&&h.push(...s.attributes.class.trim().split(/\s+/));const y=Z.makeSpan(h,o,i);for(const w in s.attributes)w!=="class"&&s.attributes.hasOwnProperty(w)&&y.setAttribute(w,s.attributes[w]);return y},mathmlBuilder:(s,i)=>xr(s.body,i)}),Se({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(s,i)=>{let{parser:o}=s;return{type:"htmlmathml",mode:o.mode,html:Et(i[0]),mathml:Et(i[1])}},htmlBuilder:(s,i)=>{const o=Rt(s.html,i,!1);return Z.makeFragment(o)},mathmlBuilder:(s,i)=>xr(s.mathml,i)});const Jl=function(s){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(s))return{number:+s,unit:"bp"};{const i=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(s);if(!i)throw new l("Invalid size: '"+s+"' in \\includegraphics");const o={number:+(i[1]+i[2]),unit:i[3]};if(!i0(o))throw new l("Invalid unit: '"+o.unit+"' in \\includegraphics.");return o}};Se({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(s,i,o)=>{let{parser:h}=s,y={number:0,unit:"em"},w={number:.9,unit:"em"},T={number:0,unit:"em"},C="";if(o[0]){const U=He(o[0],"raw").string.split(",");for(let W=0;W<U.length;W++){const Q=U[W].split("=");if(Q.length===2){const ne=Q[1].trim();switch(Q[0].trim()){case"alt":C=ne;break;case"width":y=Jl(ne);break;case"height":w=Jl(ne);break;case"totalheight":T=Jl(ne);break;default:throw new l("Invalid key: '"+Q[0]+"' in \\includegraphics.")}}}}const _=He(i[0],"url").url;return C===""&&(C=_,C=C.replace(/^.*[\\/]/,""),C=C.substring(0,C.lastIndexOf("."))),h.settings.isTrusted({command:"\\includegraphics",url:_})?{type:"includegraphics",mode:h.mode,alt:C,width:y,height:w,totalheight:T,src:_}:h.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(s,i)=>{const o=rt(s.height,i);let h=0;s.totalheight.number>0&&(h=rt(s.totalheight,i)-o);let y=0;s.width.number>0&&(y=rt(s.width,i));const w={height:fe(o+h)};y>0&&(w.width=fe(y)),h>0&&(w.verticalAlign=fe(-h));const T=new xi(s.src,s.alt,w);return T.height=o,T.depth=h,T},mathmlBuilder:(s,i)=>{const o=new ce.MathNode("mglyph",[]);o.setAttribute("alt",s.alt);const h=rt(s.height,i);let y=0;if(s.totalheight.number>0&&(y=rt(s.totalheight,i)-h,o.setAttribute("valign",fe(-y))),o.setAttribute("height",fe(h+y)),s.width.number>0){const w=rt(s.width,i);o.setAttribute("width",fe(w))}return o.setAttribute("src",s.src),o}}),Se({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(s,i){let{parser:o,funcName:h}=s;const y=He(i[0],"size");if(o.settings.strict){const w=h[1]==="m",T=y.value.unit==="mu";w?(T||o.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+h+" supports only mu units, "+("not "+y.value.unit+" units")),o.mode!=="math"&&o.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+h+" works only in math mode")):T&&o.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+h+" doesn't support mu units")}return{type:"kern",mode:o.mode,dimension:y.value}},htmlBuilder(s,i){return Z.makeGlue(s.dimension,i)},mathmlBuilder(s,i){const o=rt(s.dimension,i);return new ce.SpaceNode(o)}}),Se({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(s,i)=>{let{parser:o,funcName:h}=s;const y=i[0];return{type:"lap",mode:o.mode,alignment:h.slice(5),body:y}},htmlBuilder:(s,i)=>{let o;s.alignment==="clap"?(o=Z.makeSpan([],[Ke(s.body,i)]),o=Z.makeSpan(["inner"],[o],i)):o=Z.makeSpan(["inner"],[Ke(s.body,i)]);const h=Z.makeSpan(["fix"],[]);let y=Z.makeSpan([s.alignment],[o,h],i);const w=Z.makeSpan(["strut"]);return w.style.height=fe(y.height+y.depth),y.depth&&(w.style.verticalAlign=fe(-y.depth)),y.children.unshift(w),y=Z.makeSpan(["thinbox"],[y],i),Z.makeSpan(["mord","vbox"],[y],i)},mathmlBuilder:(s,i)=>{const o=new ce.MathNode("mpadded",[ot(s.body,i)]);if(s.alignment!=="rlap"){const h=s.alignment==="llap"?"-1":"-0.5";o.setAttribute("lspace",h+"width")}return o.setAttribute("width","0px"),o}}),Se({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(s,i){let{funcName:o,parser:h}=s;const y=h.mode;h.switchMode("math");const w=o==="\\("?"\\)":"$",T=h.parseExpression(!1,w);return h.expect(w),h.switchMode(y),{type:"styling",mode:h.mode,style:"text",body:T}}}),Se({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(s,i){throw new l("Mismatched "+s.funcName)}});const Yc=(s,i)=>{switch(i.style.size){case we.DISPLAY.size:return s.display;case we.TEXT.size:return s.text;case we.SCRIPT.size:return s.script;case we.SCRIPTSCRIPT.size:return s.scriptscript;default:return s.text}};Se({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(s,i)=>{let{parser:o}=s;return{type:"mathchoice",mode:o.mode,display:Et(i[0]),text:Et(i[1]),script:Et(i[2]),scriptscript:Et(i[3])}},htmlBuilder:(s,i)=>{const o=Yc(s,i),h=Rt(o,i,!1);return Z.makeFragment(h)},mathmlBuilder:(s,i)=>{const o=Yc(s,i);return xr(o,i)}});const Xc=(s,i,o,h,y,w,T)=>{s=Z.makeSpan([],[s]);const C=o&&R.isCharacterBox(o);let _,P;if(i){const Q=Ke(i,h.havingStyle(y.sup()),h);P={elem:Q,kern:Math.max(h.fontMetrics().bigOpSpacing1,h.fontMetrics().bigOpSpacing3-Q.depth)}}if(o){const Q=Ke(o,h.havingStyle(y.sub()),h);_={elem:Q,kern:Math.max(h.fontMetrics().bigOpSpacing2,h.fontMetrics().bigOpSpacing4-Q.height)}}let U;if(P&&_){const Q=h.fontMetrics().bigOpSpacing5+_.elem.height+_.elem.depth+_.kern+s.depth+T;U=Z.makeVList({positionType:"bottom",positionData:Q,children:[{type:"kern",size:h.fontMetrics().bigOpSpacing5},{type:"elem",elem:_.elem,marginLeft:fe(-w)},{type:"kern",size:_.kern},{type:"elem",elem:s},{type:"kern",size:P.kern},{type:"elem",elem:P.elem,marginLeft:fe(w)},{type:"kern",size:h.fontMetrics().bigOpSpacing5}]},h)}else if(_){const Q=s.height-T;U=Z.makeVList({positionType:"top",positionData:Q,children:[{type:"kern",size:h.fontMetrics().bigOpSpacing5},{type:"elem",elem:_.elem,marginLeft:fe(-w)},{type:"kern",size:_.kern},{type:"elem",elem:s}]},h)}else if(P){const Q=s.depth+T;U=Z.makeVList({positionType:"bottom",positionData:Q,children:[{type:"elem",elem:s},{type:"kern",size:P.kern},{type:"elem",elem:P.elem,marginLeft:fe(w)},{type:"kern",size:h.fontMetrics().bigOpSpacing5}]},h)}else return s;const W=[U];if(_&&w!==0&&!C){const Q=Z.makeSpan(["mspace"],[],h);Q.style.marginRight=fe(w),W.unshift(Q)}return Z.makeSpan(["mop","op-limits"],W,h)},Zc=["\\smallint"],rn=(s,i)=>{let o,h,y=!1,w;s.type==="supsub"?(o=s.sup,h=s.sub,w=He(s.base,"op"),y=!0):w=He(s,"op");const T=i.style;let C=!1;T.size===we.DISPLAY.size&&w.symbol&&!R.contains(Zc,w.name)&&(C=!0);let _;if(w.symbol){const W=C?"Size2-Regular":"Size1-Regular";let Q="";if((w.name==="\\oiint"||w.name==="\\oiiint")&&(Q=w.name.slice(1),w.name=Q==="oiint"?"\\iint":"\\iiint"),_=Z.makeSymbol(w.name,W,"math",i,["mop","op-symbol",C?"large-op":"small-op"]),Q.length>0){const ne=_.italic,ze=Z.staticSvg(Q+"Size"+(C?"2":"1"),i);_=Z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:_,shift:0},{type:"elem",elem:ze,shift:C?.08:0}]},i),w.name="\\"+Q,_.classes.unshift("mop"),_.italic=ne}}else if(w.body){const W=Rt(w.body,i,!0);W.length===1&&W[0]instanceof Kt?(_=W[0],_.classes[0]="mop"):_=Z.makeSpan(["mop"],W,i)}else{const W=[];for(let Q=1;Q<w.name.length;Q++)W.push(Z.mathsym(w.name[Q],w.mode,i));_=Z.makeSpan(["mop"],W,i)}let P=0,U=0;return(_ instanceof Kt||w.name==="\\oiint"||w.name==="\\oiiint")&&!w.suppressBaseShift&&(P=(_.height-_.depth)/2-i.fontMetrics().axisHeight,U=_.italic),y?Xc(_,o,h,i,T,U,P):(P&&(_.style.position="relative",_.style.top=fe(P)),_)},Bn=(s,i)=>{let o;if(s.symbol)o=new m0("mo",[v0(s.name,s.mode)]),R.contains(Zc,s.name)&&o.setAttribute("largeop","false");else if(s.body)o=new m0("mo",l0(s.body,i));else{o=new m0("mi",[new $0(s.name.slice(1))]);const h=new m0("mo",[v0("⁡","text")]);s.parentIsSupSub?o=new m0("mrow",[o,h]):o=dc([o,h])}return o},Sf={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};Se({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(s,i)=>{let{parser:o,funcName:h}=s,y=h;return y.length===1&&(y=Sf[y]),{type:"op",mode:o.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:y}},htmlBuilder:rn,mathmlBuilder:Bn}),Se({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(s,i)=>{let{parser:o}=s;const h=i[0];return{type:"op",mode:o.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Et(h)}},htmlBuilder:rn,mathmlBuilder:Bn});const Mf={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};Se({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(s){let{parser:i,funcName:o}=s;return{type:"op",mode:i.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:o}},htmlBuilder:rn,mathmlBuilder:Bn}),Se({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(s){let{parser:i,funcName:o}=s;return{type:"op",mode:i.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:o}},htmlBuilder:rn,mathmlBuilder:Bn}),Se({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(s){let{parser:i,funcName:o}=s,h=o;return h.length===1&&(h=Mf[h]),{type:"op",mode:i.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:h}},htmlBuilder:rn,mathmlBuilder:Bn});const Kc=(s,i)=>{let o,h,y=!1,w;s.type==="supsub"?(o=s.sup,h=s.sub,w=He(s.base,"operatorname"),y=!0):w=He(s,"operatorname");let T;if(w.body.length>0){const C=w.body.map(P=>{const U=P.text;return typeof U=="string"?{type:"textord",mode:P.mode,text:U}:P}),_=Rt(C,i.withFont("mathrm"),!0);for(let P=0;P<_.length;P++){const U=_[P];U instanceof Kt&&(U.text=U.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}T=Z.makeSpan(["mop"],_,i)}else T=Z.makeSpan(["mop"],[],i);return y?Xc(T,o,h,i,i.style,0,0):T};Se({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(s,i)=>{let{parser:o,funcName:h}=s;const y=i[0];return{type:"operatorname",mode:o.mode,body:Et(y),alwaysHandleSupSub:h==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Kc,mathmlBuilder:(s,i)=>{let o=l0(s.body,i.withFont("mathrm")),h=!0;for(let T=0;T<o.length;T++){const C=o[T];if(!(C instanceof ce.SpaceNode))if(C instanceof ce.MathNode)switch(C.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{const _=C.children[0];C.children.length===1&&_ instanceof ce.TextNode?_.text=_.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):h=!1;break}default:h=!1}else h=!1}if(h){const T=o.map(C=>C.toText()).join("");o=[new ce.TextNode(T)]}const y=new ce.MathNode("mi",o);y.setAttribute("mathvariant","normal");const w=new ce.MathNode("mo",[v0("⁡","text")]);return s.parentIsSupSub?new ce.MathNode("mrow",[y,w]):ce.newDocumentFragment([y,w])}}),D("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),_r({type:"ordgroup",htmlBuilder(s,i){return s.semisimple?Z.makeFragment(Rt(s.body,i,!1)):Z.makeSpan(["mord"],Rt(s.body,i,!0),i)},mathmlBuilder(s,i){return xr(s.body,i,!0)}}),Se({type:"overline",names:["\\overline"],props:{numArgs:1},handler(s,i){let{parser:o}=s;const h=i[0];return{type:"overline",mode:o.mode,body:h}},htmlBuilder(s,i){const o=Ke(s.body,i.havingCrampedStyle()),h=Z.makeLineSpan("overline-line",i),y=i.fontMetrics().defaultRuleThickness,w=Z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:3*y},{type:"elem",elem:h},{type:"kern",size:y}]},i);return Z.makeSpan(["mord","overline"],[w],i)},mathmlBuilder(s,i){const o=new ce.MathNode("mo",[new ce.TextNode("‾")]);o.setAttribute("stretchy","true");const h=new ce.MathNode("mover",[ot(s.body,i),o]);return h.setAttribute("accent","true"),h}}),Se({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(s,i)=>{let{parser:o}=s;const h=i[0];return{type:"phantom",mode:o.mode,body:Et(h)}},htmlBuilder:(s,i)=>{const o=Rt(s.body,i.withPhantom(),!1);return Z.makeFragment(o)},mathmlBuilder:(s,i)=>{const o=l0(s.body,i);return new ce.MathNode("mphantom",o)}}),Se({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(s,i)=>{let{parser:o}=s;const h=i[0];return{type:"hphantom",mode:o.mode,body:h}},htmlBuilder:(s,i)=>{let o=Z.makeSpan([],[Ke(s.body,i.withPhantom())]);if(o.height=0,o.depth=0,o.children)for(let h=0;h<o.children.length;h++)o.children[h].height=0,o.children[h].depth=0;return o=Z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o}]},i),Z.makeSpan(["mord"],[o],i)},mathmlBuilder:(s,i)=>{const o=l0(Et(s.body),i),h=new ce.MathNode("mphantom",o),y=new ce.MathNode("mpadded",[h]);return y.setAttribute("height","0px"),y.setAttribute("depth","0px"),y}}),Se({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(s,i)=>{let{parser:o}=s;const h=i[0];return{type:"vphantom",mode:o.mode,body:h}},htmlBuilder:(s,i)=>{const o=Z.makeSpan(["inner"],[Ke(s.body,i.withPhantom())]),h=Z.makeSpan(["fix"],[]);return Z.makeSpan(["mord","rlap"],[o,h],i)},mathmlBuilder:(s,i)=>{const o=l0(Et(s.body),i),h=new ce.MathNode("mphantom",o),y=new ce.MathNode("mpadded",[h]);return y.setAttribute("width","0px"),y}}),Se({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(s,i){let{parser:o}=s;const h=He(i[0],"size").value,y=i[1];return{type:"raisebox",mode:o.mode,dy:h,body:y}},htmlBuilder(s,i){const o=Ke(s.body,i),h=rt(s.dy,i);return Z.makeVList({positionType:"shift",positionData:-h,children:[{type:"elem",elem:o}]},i)},mathmlBuilder(s,i){const o=new ce.MathNode("mpadded",[ot(s.body,i)]),h=s.dy.number+s.dy.unit;return o.setAttribute("voffset",h),o}}),Se({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(s){let{parser:i}=s;return{type:"internal",mode:i.mode}}}),Se({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(s,i,o){let{parser:h}=s;const y=o[0],w=He(i[0],"size"),T=He(i[1],"size");return{type:"rule",mode:h.mode,shift:y&&He(y,"size").value,width:w.value,height:T.value}},htmlBuilder(s,i){const o=Z.makeSpan(["mord","rule"],[],i),h=rt(s.width,i),y=rt(s.height,i),w=s.shift?rt(s.shift,i):0;return o.style.borderRightWidth=fe(h),o.style.borderTopWidth=fe(y),o.style.bottom=fe(w),o.width=h,o.height=y+w,o.depth=-w,o.maxFontSize=y*1.125*i.sizeMultiplier,o},mathmlBuilder(s,i){const o=rt(s.width,i),h=rt(s.height,i),y=s.shift?rt(s.shift,i):0,w=i.color&&i.getColor()||"black",T=new ce.MathNode("mspace");T.setAttribute("mathbackground",w),T.setAttribute("width",fe(o)),T.setAttribute("height",fe(h));const C=new ce.MathNode("mpadded",[T]);return y>=0?C.setAttribute("height",fe(y)):(C.setAttribute("height",fe(y)),C.setAttribute("depth",fe(-y))),C.setAttribute("voffset",fe(y)),C}});function Jc(s,i,o){const h=Rt(s,i,!1),y=i.sizeMultiplier/o.sizeMultiplier;for(let w=0;w<h.length;w++){const T=h[w].classes.indexOf("sizing");T<0?Array.prototype.push.apply(h[w].classes,i.sizingClasses(o)):h[w].classes[T+1]==="reset-size"+i.size&&(h[w].classes[T+1]="reset-size"+o.size),h[w].height*=y,h[w].depth*=y}return Z.makeFragment(h)}const Qc=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];Se({type:"sizing",names:Qc,props:{numArgs:0,allowedInText:!0},handler:(s,i)=>{let{breakOnTokenText:o,funcName:h,parser:y}=s;const w=y.parseExpression(!1,o);return{type:"sizing",mode:y.mode,size:Qc.indexOf(h)+1,body:w}},htmlBuilder:(s,i)=>{const o=i.havingSize(s.size);return Jc(s.body,o,i)},mathmlBuilder:(s,i)=>{const o=i.havingSize(s.size),h=l0(s.body,o),y=new ce.MathNode("mstyle",h);return y.setAttribute("mathsize",fe(o.sizeMultiplier)),y}}),Se({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(s,i,o)=>{let{parser:h}=s,y=!1,w=!1;const T=o[0]&&He(o[0],"ordgroup");if(T){let _="";for(let P=0;P<T.body.length;++P)if(_=T.body[P].text,_==="t")y=!0;else if(_==="b")w=!0;else{y=!1,w=!1;break}}else y=!0,w=!0;const C=i[0];return{type:"smash",mode:h.mode,body:C,smashHeight:y,smashDepth:w}},htmlBuilder:(s,i)=>{const o=Z.makeSpan([],[Ke(s.body,i)]);if(!s.smashHeight&&!s.smashDepth)return o;if(s.smashHeight&&(o.height=0,o.children))for(let y=0;y<o.children.length;y++)o.children[y].height=0;if(s.smashDepth&&(o.depth=0,o.children))for(let y=0;y<o.children.length;y++)o.children[y].depth=0;const h=Z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o}]},i);return Z.makeSpan(["mord"],[h],i)},mathmlBuilder:(s,i)=>{const o=new ce.MathNode("mpadded",[ot(s.body,i)]);return s.smashHeight&&o.setAttribute("height","0px"),s.smashDepth&&o.setAttribute("depth","0px"),o}}),Se({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(s,i,o){let{parser:h}=s;const y=o[0],w=i[0];return{type:"sqrt",mode:h.mode,body:w,index:y}},htmlBuilder(s,i){let o=Ke(s.body,i.havingCrampedStyle());o.height===0&&(o.height=i.fontMetrics().xHeight),o=Z.wrapFragment(o,i);const y=i.fontMetrics().defaultRuleThickness;let w=y;i.style.id<we.TEXT.id&&(w=i.fontMetrics().xHeight);let T=y+w/4;const C=o.height+o.depth+T+y,{span:_,ruleWidth:P,advanceWidth:U}=or.sqrtImage(C,i),W=_.height-P;W>o.height+o.depth+T&&(T=(T+W-o.height-o.depth)/2);const Q=_.height-o.height-T-P;o.style.paddingLeft=fe(U);const ne=Z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o,wrapperClasses:["svg-align"]},{type:"kern",size:-(o.height+Q)},{type:"elem",elem:_},{type:"kern",size:P}]},i);if(s.index){const ze=i.havingStyle(we.SCRIPTSCRIPT),Ce=Ke(s.index,ze,i),Ye=.6*(ne.height-ne.depth),je=Z.makeVList({positionType:"shift",positionData:-Ye,children:[{type:"elem",elem:Ce}]},i),Xe=Z.makeSpan(["root"],[je]);return Z.makeSpan(["mord","sqrt"],[Xe,ne],i)}else return Z.makeSpan(["mord","sqrt"],[ne],i)},mathmlBuilder(s,i){const{body:o,index:h}=s;return h?new ce.MathNode("mroot",[ot(o,i),ot(h,i)]):new ce.MathNode("msqrt",[ot(o,i)])}});const e4={display:we.DISPLAY,text:we.TEXT,script:we.SCRIPT,scriptscript:we.SCRIPTSCRIPT};Se({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(s,i){let{breakOnTokenText:o,funcName:h,parser:y}=s;const w=y.parseExpression(!0,o),T=h.slice(1,h.length-5);return{type:"styling",mode:y.mode,style:T,body:w}},htmlBuilder(s,i){const o=e4[s.style],h=i.havingStyle(o).withFont("");return Jc(s.body,h,i)},mathmlBuilder(s,i){const o=e4[s.style],h=i.havingStyle(o),y=l0(s.body,h),w=new ce.MathNode("mstyle",y),C={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[s.style];return w.setAttribute("scriptlevel",C[0]),w.setAttribute("displaystyle",C[1]),w}});const Af=function(s,i){const o=s.base;return o?o.type==="op"?o.limits&&(i.style.size===we.DISPLAY.size||o.alwaysHandleSupSub)?rn:null:o.type==="operatorname"?o.alwaysHandleSupSub&&(i.style.size===we.DISPLAY.size||o.limits)?Kc:null:o.type==="accent"?R.isCharacterBox(o.base)?Ol:null:o.type==="horizBrace"&&!s.sub===o.isOver?Wc:null:null};_r({type:"supsub",htmlBuilder(s,i){const o=Af(s,i);if(o)return o(s,i);const{base:h,sup:y,sub:w}=s,T=Ke(h,i);let C,_;const P=i.fontMetrics();let U=0,W=0;const Q=h&&R.isCharacterBox(h);if(y){const nt=i.havingStyle(i.style.sup());C=Ke(y,nt,i),Q||(U=T.height-nt.fontMetrics().supDrop*nt.sizeMultiplier/i.sizeMultiplier)}if(w){const nt=i.havingStyle(i.style.sub());_=Ke(w,nt,i),Q||(W=T.depth+nt.fontMetrics().subDrop*nt.sizeMultiplier/i.sizeMultiplier)}let ne;i.style===we.DISPLAY?ne=P.sup1:i.style.cramped?ne=P.sup3:ne=P.sup2;const ze=i.sizeMultiplier,Ce=fe(.5/P.ptPerEm/ze);let Ye=null;if(_){const nt=s.base&&s.base.type==="op"&&s.base.name&&(s.base.name==="\\oiint"||s.base.name==="\\oiiint");(T instanceof Kt||nt)&&(Ye=fe(-T.italic))}let je;if(C&&_){U=Math.max(U,ne,C.depth+.25*P.xHeight),W=Math.max(W,P.sub2);const mt=4*P.defaultRuleThickness;if(U-C.depth-(_.height-W)<mt){W=mt-(U-C.depth)+_.height;const _t=.8*P.xHeight-(U-C.depth);_t>0&&(U+=_t,W-=_t)}const Jt=[{type:"elem",elem:_,shift:W,marginRight:Ce,marginLeft:Ye},{type:"elem",elem:C,shift:-U,marginRight:Ce}];je=Z.makeVList({positionType:"individualShift",children:Jt},i)}else if(_){W=Math.max(W,P.sub1,_.height-.8*P.xHeight);const nt=[{type:"elem",elem:_,marginLeft:Ye,marginRight:Ce}];je=Z.makeVList({positionType:"shift",positionData:W,children:nt},i)}else if(C)U=Math.max(U,ne,C.depth+.25*P.xHeight),je=Z.makeVList({positionType:"shift",positionData:-U,children:[{type:"elem",elem:C,marginRight:Ce}]},i);else throw new Error("supsub must have either sup or sub.");const Xe=Bl(T,"right")||"mord";return Z.makeSpan([Xe],[T,Z.makeSpan(["msupsub"],[je])],i)},mathmlBuilder(s,i){let o=!1,h,y;s.base&&s.base.type==="horizBrace"&&(y=!!s.sup,y===s.base.isOver&&(o=!0,h=s.base.isOver)),s.base&&(s.base.type==="op"||s.base.type==="operatorname")&&(s.base.parentIsSupSub=!0);const w=[ot(s.base,i)];s.sub&&w.push(ot(s.sub,i)),s.sup&&w.push(ot(s.sup,i));let T;if(o)T=h?"mover":"munder";else if(s.sub)if(s.sup){const C=s.base;C&&C.type==="op"&&C.limits&&i.style===we.DISPLAY||C&&C.type==="operatorname"&&C.alwaysHandleSupSub&&(i.style===we.DISPLAY||C.limits)?T="munderover":T="msubsup"}else{const C=s.base;C&&C.type==="op"&&C.limits&&(i.style===we.DISPLAY||C.alwaysHandleSupSub)||C&&C.type==="operatorname"&&C.alwaysHandleSupSub&&(C.limits||i.style===we.DISPLAY)?T="munder":T="msub"}else{const C=s.base;C&&C.type==="op"&&C.limits&&(i.style===we.DISPLAY||C.alwaysHandleSupSub)||C&&C.type==="operatorname"&&C.alwaysHandleSupSub&&(C.limits||i.style===we.DISPLAY)?T="mover":T="msup"}return new ce.MathNode(T,w)}}),_r({type:"atom",htmlBuilder(s,i){return Z.mathsym(s.text,s.mode,i,["m"+s.family])},mathmlBuilder(s,i){const o=new ce.MathNode("mo",[v0(s.text,s.mode)]);if(s.family==="bin"){const h=Rl(s,i);h==="bold-italic"&&o.setAttribute("mathvariant",h)}else s.family==="punct"?o.setAttribute("separator","true"):(s.family==="open"||s.family==="close")&&o.setAttribute("stretchy","false");return o}});const t4={mi:"italic",mn:"normal",mtext:"normal"};_r({type:"mathord",htmlBuilder(s,i){return Z.makeOrd(s,i,"mathord")},mathmlBuilder(s,i){const o=new ce.MathNode("mi",[v0(s.text,s.mode,i)]),h=Rl(s,i)||"italic";return h!==t4[o.type]&&o.setAttribute("mathvariant",h),o}}),_r({type:"textord",htmlBuilder(s,i){return Z.makeOrd(s,i,"textord")},mathmlBuilder(s,i){const o=v0(s.text,s.mode,i),h=Rl(s,i)||"normal";let y;return s.mode==="text"?y=new ce.MathNode("mtext",[o]):/[0-9]/.test(s.text)?y=new ce.MathNode("mn",[o]):s.text==="\\prime"?y=new ce.MathNode("mo",[o]):y=new ce.MathNode("mi",[o]),h!==t4[y.type]&&y.setAttribute("mathvariant",h),y}});const Ql={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},es={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};_r({type:"spacing",htmlBuilder(s,i){if(es.hasOwnProperty(s.text)){const o=es[s.text].className||"";if(s.mode==="text"){const h=Z.makeOrd(s,i,"textord");return h.classes.push(o),h}else return Z.makeSpan(["mspace",o],[Z.mathsym(s.text,s.mode,i)],i)}else{if(Ql.hasOwnProperty(s.text))return Z.makeSpan(["mspace",Ql[s.text]],[],i);throw new l('Unknown type of space "'+s.text+'"')}},mathmlBuilder(s,i){let o;if(es.hasOwnProperty(s.text))o=new ce.MathNode("mtext",[new ce.TextNode(" ")]);else{if(Ql.hasOwnProperty(s.text))return new ce.MathNode("mspace");throw new l('Unknown type of space "'+s.text+'"')}return o}});const r4=()=>{const s=new ce.MathNode("mtd",[]);return s.setAttribute("width","50%"),s};_r({type:"tag",mathmlBuilder(s,i){const o=new ce.MathNode("mtable",[new ce.MathNode("mtr",[r4(),new ce.MathNode("mtd",[xr(s.body,i)]),r4(),new ce.MathNode("mtd",[xr(s.tag,i)])])]);return o.setAttribute("width","100%"),o}});const n4={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},i4={"\\textbf":"textbf","\\textmd":"textmd"},Tf={"\\textit":"textit","\\textup":"textup"},a4=(s,i)=>{const o=s.font;if(o){if(n4[o])return i.withTextFontFamily(n4[o]);if(i4[o])return i.withTextFontWeight(i4[o]);if(o==="\\emph")return i.fontShape==="textit"?i.withTextFontShape("textup"):i.withTextFontShape("textit")}else return i;return i.withTextFontShape(Tf[o])};Se({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(s,i){let{parser:o,funcName:h}=s;const y=i[0];return{type:"text",mode:o.mode,body:Et(y),font:h}},htmlBuilder(s,i){const o=a4(s,i),h=Rt(s.body,o,!0);return Z.makeSpan(["mord","text"],h,o)},mathmlBuilder(s,i){const o=a4(s,i);return xr(s.body,o)}}),Se({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(s,i){let{parser:o}=s;return{type:"underline",mode:o.mode,body:i[0]}},htmlBuilder(s,i){const o=Ke(s.body,i),h=Z.makeLineSpan("underline-line",i),y=i.fontMetrics().defaultRuleThickness,w=Z.makeVList({positionType:"top",positionData:o.height,children:[{type:"kern",size:y},{type:"elem",elem:h},{type:"kern",size:3*y},{type:"elem",elem:o}]},i);return Z.makeSpan(["mord","underline"],[w],i)},mathmlBuilder(s,i){const o=new ce.MathNode("mo",[new ce.TextNode("‾")]);o.setAttribute("stretchy","true");const h=new ce.MathNode("munder",[ot(s.body,i),o]);return h.setAttribute("accentunder","true"),h}}),Se({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(s,i){let{parser:o}=s;return{type:"vcenter",mode:o.mode,body:i[0]}},htmlBuilder(s,i){const o=Ke(s.body,i),h=i.fontMetrics().axisHeight,y=.5*(o.height-h-(o.depth+h));return Z.makeVList({positionType:"shift",positionData:y,children:[{type:"elem",elem:o}]},i)},mathmlBuilder(s,i){return new ce.MathNode("mpadded",[ot(s.body,i)],["vcenter"])}}),Se({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(s,i,o){throw new l("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(s,i){const o=l4(s),h=[],y=i.havingStyle(i.style.text());for(let w=0;w<o.length;w++){let T=o[w];T==="~"&&(T="\\textasciitilde"),h.push(Z.makeSymbol(T,"Typewriter-Regular",s.mode,y,["mord","texttt"]))}return Z.makeSpan(["mord","text"].concat(y.sizingClasses(i)),Z.tryCombineChars(h),y)},mathmlBuilder(s,i){const o=new ce.TextNode(l4(s)),h=new ce.MathNode("mtext",[o]);return h.setAttribute("mathvariant","monospace"),h}});const l4=s=>s.body.replace(/ /g,s.star?"␣":" ");var wr=hc;const s4=`[ \r
580
- ]`,zf="\\\\[a-zA-Z@]+",Cf="\\\\[^\uD800-\uDFFF]",Ef="("+zf+")"+s4+"*",Df=`\\\\(
578
+ -470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw new Error("Unknown stretchy delimiter.")}};var Bt={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}};const a0={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]},Kt={Å:"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 Jr(s,i){Bt[s]=i}function Ir(s,i,o){if(!Bt[i])throw new Error("Font metrics not found for font: "+i+".");let h=s.charCodeAt(0),y=Bt[i][h];if(!y&&s[0]in Kt&&(h=Kt[s[0]].charCodeAt(0),y=Bt[i][h]),!y&&o==="text"&&Dt(h)&&(y=Bt[i][77]),y)return{depth:y[0],height:y[1],italic:y[2],skew:y[3],width:y[4]}}const ir={};function An(s){let i;if(s>=5?i=0:s>=3?i=1:i=2,!ir[i]){const o=ir[i]={cssEmPerMu:a0.quad[i]/18};for(const h in a0)a0.hasOwnProperty(h)&&(o[h]=a0[h][i])}return ir[i]}const zn=[[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]],Rr=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],ee=function(s,i){return i.size<2?s:zn[s-1][i.size-1]};class fe{constructor(i){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=i.style,this.color=i.color,this.size=i.size||fe.BASESIZE,this.textSize=i.textSize||this.size,this.phantom=!!i.phantom,this.font=i.font||"",this.fontFamily=i.fontFamily||"",this.fontWeight=i.fontWeight||"",this.fontShape=i.fontShape||"",this.sizeMultiplier=Rr[this.size-1],this.maxSize=i.maxSize,this.minRuleThickness=i.minRuleThickness,this._fontMetrics=void 0}extend(i){const o={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};for(const h in i)i.hasOwnProperty(h)&&(o[h]=i[h]);return new fe(o)}havingStyle(i){return this.style===i?this:this.extend({style:i,size:ee(this.textSize,i)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(i){return this.size===i&&this.textSize===i?this:this.extend({style:this.style.text(),size:i,textSize:i,sizeMultiplier:Rr[i-1]})}havingBaseStyle(i){i=i||this.style.text();const o=ee(fe.BASESIZE,i);return this.size===o&&this.textSize===fe.BASESIZE&&this.style===i?this:this.extend({style:i,size:o})}havingBaseSizing(){let i;switch(this.style.id){case 4:case 5:i=3;break;case 6:case 7:i=1;break;default:i=6}return this.extend({style:this.style.text(),size:i})}withColor(i){return this.extend({color:i})}withPhantom(){return this.extend({phantom:!0})}withFont(i){return this.extend({font:i})}withTextFontFamily(i){return this.extend({fontFamily:i,font:""})}withTextFontWeight(i){return this.extend({fontWeight:i,font:""})}withTextFontShape(i){return this.extend({fontShape:i,font:""})}sizingClasses(i){return i.size!==this.size?["sizing","reset-size"+i.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==fe.BASESIZE?["sizing","reset-size"+this.size,"size"+fe.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=An(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}fe.BASESIZE=6;var qe=fe;const Oe={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},et={ex:!0,em:!0,mu:!0},jt=function(s){return typeof s!="string"&&(s=s.unit),s in Oe||s in et||s==="ex"},Xe=function(s,i){let o;if(s.unit in Oe)o=Oe[s.unit]/i.fontMetrics().ptPerEm/i.sizeMultiplier;else if(s.unit==="mu")o=i.fontMetrics().cssEmPerMu;else{let h;if(i.style.isTight()?h=i.havingStyle(i.style.text()):h=i,s.unit==="ex")o=h.fontMetrics().xHeight;else if(s.unit==="em")o=h.fontMetrics().quad;else throw new l("Invalid unit: '"+s.unit+"'");h!==i&&(o*=h.sizeMultiplier/i.sizeMultiplier)}return Math.min(s.number*o,i.maxSize)},me=function(s){return+s.toFixed(4)+"em"},Gt=function(s){return s.filter(i=>i).join(" ")},P0=function(s,i,o){if(this.classes=s||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=o||{},i){i.style.isTight()&&this.classes.push("mtight");const h=i.getColor();h&&(this.style.color=h)}},Lt=function(s){const i=document.createElement(s);i.className=Gt(this.classes);for(const o in this.style)this.style.hasOwnProperty(o)&&(i.style[o]=this.style[o]);for(const o in this.attributes)this.attributes.hasOwnProperty(o)&&i.setAttribute(o,this.attributes[o]);for(let o=0;o<this.children.length;o++)i.appendChild(this.children[o].toNode());return i},H0=/[\s"'>/=\x00-\x1f]/,Ut=function(s){let i="<"+s;this.classes.length&&(i+=' class="'+O.escape(Gt(this.classes))+'"');let o="";for(const h in this.style)this.style.hasOwnProperty(h)&&(o+=O.hyphenate(h)+":"+this.style[h]+";");o&&(i+=' style="'+O.escape(o)+'"');for(const h in this.attributes)if(this.attributes.hasOwnProperty(h)){if(H0.test(h))throw new l("Invalid attribute name '"+h+"'");i+=" "+h+'="'+O.escape(this.attributes[h])+'"'}i+=">";for(let h=0;h<this.children.length;h++)i+=this.children[h].toMarkup();return i+="</"+s+">",i};class vr{constructor(i,o,h,y){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,P0.call(this,i,h,y),this.children=o||[]}setAttribute(i,o){this.attributes[i]=o}hasClass(i){return this.classes.includes(i)}toNode(){return Lt.call(this,"span")}toMarkup(){return Ut.call(this,"span")}}class $0{constructor(i,o,h,y){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,P0.call(this,o,y),this.children=h||[],this.setAttribute("href",i)}setAttribute(i,o){this.attributes[i]=o}hasClass(i){return this.classes.includes(i)}toNode(){return Lt.call(this,"a")}toMarkup(){return Ut.call(this,"a")}}class Tn{constructor(i,o,h){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=o,this.src=i,this.classes=["mord"],this.style=h}hasClass(i){return this.classes.includes(i)}toNode(){const i=document.createElement("img");i.src=this.src,i.alt=this.alt,i.className="mord";for(const o in this.style)this.style.hasOwnProperty(o)&&(i.style[o]=this.style[o]);return i}toMarkup(){let i='<img src="'+O.escape(this.src)+'"'+(' alt="'+O.escape(this.alt)+'"'),o="";for(const h in this.style)this.style.hasOwnProperty(h)&&(o+=O.hyphenate(h)+":"+this.style[h]+";");return o&&(i+=' style="'+O.escape(o)+'"'),i+="'/>",i}}const Cn={î:"ı̂",ï:"ı̈",í:"ı́",ì:"ı̀"};class Jt{constructor(i,o,h,y,w,z,E,I){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=i,this.height=o||0,this.depth=h||0,this.italic=y||0,this.skew=w||0,this.width=z||0,this.classes=E||[],this.style=I||{},this.maxFontSize=0;const H=st(this.text.charCodeAt(0));H&&this.classes.push(H+"_fallback"),/[îïíì]/.test(this.text)&&(this.text=Cn[this.text])}hasClass(i){return this.classes.includes(i)}toNode(){const i=document.createTextNode(this.text);let o=null;this.italic>0&&(o=document.createElement("span"),o.style.marginRight=me(this.italic)),this.classes.length>0&&(o=o||document.createElement("span"),o.className=Gt(this.classes));for(const h in this.style)this.style.hasOwnProperty(h)&&(o=o||document.createElement("span"),o.style[h]=this.style[h]);return o?(o.appendChild(i),o):i}toMarkup(){let i=!1,o="<span";this.classes.length&&(i=!0,o+=' class="',o+=O.escape(Gt(this.classes)),o+='"');let h="";this.italic>0&&(h+="margin-right:"+this.italic+"em;");for(const w in this.style)this.style.hasOwnProperty(w)&&(h+=O.hyphenate(w)+":"+this.style[w]+";");h&&(i=!0,o+=' style="'+O.escape(h)+'"');const y=O.escape(this.text);return i?(o+=">",o+=y,o+="</span>",o):y}}class C0{constructor(i,o){this.children=void 0,this.attributes=void 0,this.children=i||[],this.attributes=o||{}}toNode(){const o=document.createElementNS("http://www.w3.org/2000/svg","svg");for(const h in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,h)&&o.setAttribute(h,this.attributes[h]);for(let h=0;h<this.children.length;h++)o.appendChild(this.children[h].toNode());return o}toMarkup(){let i='<svg xmlns="http://www.w3.org/2000/svg"';for(const o in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,o)&&(i+=" "+o+'="'+O.escape(this.attributes[o])+'"');i+=">";for(let o=0;o<this.children.length;o++)i+=this.children[o].toMarkup();return i+="</svg>",i}}class E0{constructor(i,o){this.pathName=void 0,this.alternate=void 0,this.pathName=i,this.alternate=o}toNode(){const o=document.createElementNS("http://www.w3.org/2000/svg","path");return this.alternate?o.setAttribute("d",this.alternate):o.setAttribute("d",p0[this.pathName]),o}toMarkup(){return this.alternate?'<path d="'+O.escape(this.alternate)+'"/>':'<path d="'+O.escape(p0[this.pathName])+'"/>'}}class En{constructor(i){this.attributes=void 0,this.attributes=i||{}}toNode(){const o=document.createElementNS("http://www.w3.org/2000/svg","line");for(const h in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,h)&&o.setAttribute(h,this.attributes[h]);return o}toMarkup(){let i="<line";for(const o in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,o)&&(i+=" "+o+'="'+O.escape(this.attributes[o])+'"');return i+="/>",i}}function Dn(s){if(s instanceof Jt)return s;throw new Error("Expected symbolNode but got "+String(s)+".")}function Si(s){if(s instanceof vr)return s;throw new Error("Expected span<HtmlDomNode> but got "+String(s)+".")}const Al={bin:1,close:1,inner:1,open:1,punct:1,rel:1},zl={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},_r={math:{},text:{}};var dt=_r;function x(s,i,o,h,y,w){_r[s][y]={font:i,group:o,replace:h},w&&h&&(_r[s][h]=_r[s][y])}const k="math",ne="text",T="main",M="ams",te="accent-token",Q="bin",Te="close",Ge="inner",we="mathord",De="op-token",Ie="open",Nt="punct",_="rel",rt="spacing",V="textord";x(k,T,_,"≡","\\equiv",!0),x(k,T,_,"≺","\\prec",!0),x(k,T,_,"≻","\\succ",!0),x(k,T,_,"∼","\\sim",!0),x(k,T,_,"⊥","\\perp"),x(k,T,_,"⪯","\\preceq",!0),x(k,T,_,"⪰","\\succeq",!0),x(k,T,_,"≃","\\simeq",!0),x(k,T,_,"∣","\\mid",!0),x(k,T,_,"≪","\\ll",!0),x(k,T,_,"≫","\\gg",!0),x(k,T,_,"≍","\\asymp",!0),x(k,T,_,"∥","\\parallel"),x(k,T,_,"⋈","\\bowtie",!0),x(k,T,_,"⌣","\\smile",!0),x(k,T,_,"⊑","\\sqsubseteq",!0),x(k,T,_,"⊒","\\sqsupseteq",!0),x(k,T,_,"≐","\\doteq",!0),x(k,T,_,"⌢","\\frown",!0),x(k,T,_,"∋","\\ni",!0),x(k,T,_,"∝","\\propto",!0),x(k,T,_,"⊢","\\vdash",!0),x(k,T,_,"⊣","\\dashv",!0),x(k,T,_,"∋","\\owns"),x(k,T,Nt,".","\\ldotp"),x(k,T,Nt,"⋅","\\cdotp"),x(k,T,V,"#","\\#"),x(ne,T,V,"#","\\#"),x(k,T,V,"&","\\&"),x(ne,T,V,"&","\\&"),x(k,T,V,"ℵ","\\aleph",!0),x(k,T,V,"∀","\\forall",!0),x(k,T,V,"ℏ","\\hbar",!0),x(k,T,V,"∃","\\exists",!0),x(k,T,V,"∇","\\nabla",!0),x(k,T,V,"♭","\\flat",!0),x(k,T,V,"ℓ","\\ell",!0),x(k,T,V,"♮","\\natural",!0),x(k,T,V,"♣","\\clubsuit",!0),x(k,T,V,"℘","\\wp",!0),x(k,T,V,"♯","\\sharp",!0),x(k,T,V,"♢","\\diamondsuit",!0),x(k,T,V,"ℜ","\\Re",!0),x(k,T,V,"♡","\\heartsuit",!0),x(k,T,V,"ℑ","\\Im",!0),x(k,T,V,"♠","\\spadesuit",!0),x(k,T,V,"§","\\S",!0),x(ne,T,V,"§","\\S"),x(k,T,V,"¶","\\P",!0),x(ne,T,V,"¶","\\P"),x(k,T,V,"†","\\dag"),x(ne,T,V,"†","\\dag"),x(ne,T,V,"†","\\textdagger"),x(k,T,V,"‡","\\ddag"),x(ne,T,V,"‡","\\ddag"),x(ne,T,V,"‡","\\textdaggerdbl"),x(k,T,Te,"⎱","\\rmoustache",!0),x(k,T,Ie,"⎰","\\lmoustache",!0),x(k,T,Te,"⟯","\\rgroup",!0),x(k,T,Ie,"⟮","\\lgroup",!0),x(k,T,Q,"∓","\\mp",!0),x(k,T,Q,"⊖","\\ominus",!0),x(k,T,Q,"⊎","\\uplus",!0),x(k,T,Q,"⊓","\\sqcap",!0),x(k,T,Q,"∗","\\ast"),x(k,T,Q,"⊔","\\sqcup",!0),x(k,T,Q,"◯","\\bigcirc",!0),x(k,T,Q,"∙","\\bullet",!0),x(k,T,Q,"‡","\\ddagger"),x(k,T,Q,"≀","\\wr",!0),x(k,T,Q,"⨿","\\amalg"),x(k,T,Q,"&","\\And"),x(k,T,_,"⟵","\\longleftarrow",!0),x(k,T,_,"⇐","\\Leftarrow",!0),x(k,T,_,"⟸","\\Longleftarrow",!0),x(k,T,_,"⟶","\\longrightarrow",!0),x(k,T,_,"⇒","\\Rightarrow",!0),x(k,T,_,"⟹","\\Longrightarrow",!0),x(k,T,_,"↔","\\leftrightarrow",!0),x(k,T,_,"⟷","\\longleftrightarrow",!0),x(k,T,_,"⇔","\\Leftrightarrow",!0),x(k,T,_,"⟺","\\Longleftrightarrow",!0),x(k,T,_,"↦","\\mapsto",!0),x(k,T,_,"⟼","\\longmapsto",!0),x(k,T,_,"↗","\\nearrow",!0),x(k,T,_,"↩","\\hookleftarrow",!0),x(k,T,_,"↪","\\hookrightarrow",!0),x(k,T,_,"↘","\\searrow",!0),x(k,T,_,"↼","\\leftharpoonup",!0),x(k,T,_,"⇀","\\rightharpoonup",!0),x(k,T,_,"↙","\\swarrow",!0),x(k,T,_,"↽","\\leftharpoondown",!0),x(k,T,_,"⇁","\\rightharpoondown",!0),x(k,T,_,"↖","\\nwarrow",!0),x(k,T,_,"⇌","\\rightleftharpoons",!0),x(k,M,_,"≮","\\nless",!0),x(k,M,_,"","\\@nleqslant"),x(k,M,_,"","\\@nleqq"),x(k,M,_,"⪇","\\lneq",!0),x(k,M,_,"≨","\\lneqq",!0),x(k,M,_,"","\\@lvertneqq"),x(k,M,_,"⋦","\\lnsim",!0),x(k,M,_,"⪉","\\lnapprox",!0),x(k,M,_,"⊀","\\nprec",!0),x(k,M,_,"⋠","\\npreceq",!0),x(k,M,_,"⋨","\\precnsim",!0),x(k,M,_,"⪹","\\precnapprox",!0),x(k,M,_,"≁","\\nsim",!0),x(k,M,_,"","\\@nshortmid"),x(k,M,_,"∤","\\nmid",!0),x(k,M,_,"⊬","\\nvdash",!0),x(k,M,_,"⊭","\\nvDash",!0),x(k,M,_,"⋪","\\ntriangleleft"),x(k,M,_,"⋬","\\ntrianglelefteq",!0),x(k,M,_,"⊊","\\subsetneq",!0),x(k,M,_,"","\\@varsubsetneq"),x(k,M,_,"⫋","\\subsetneqq",!0),x(k,M,_,"","\\@varsubsetneqq"),x(k,M,_,"≯","\\ngtr",!0),x(k,M,_,"","\\@ngeqslant"),x(k,M,_,"","\\@ngeqq"),x(k,M,_,"⪈","\\gneq",!0),x(k,M,_,"≩","\\gneqq",!0),x(k,M,_,"","\\@gvertneqq"),x(k,M,_,"⋧","\\gnsim",!0),x(k,M,_,"⪊","\\gnapprox",!0),x(k,M,_,"⊁","\\nsucc",!0),x(k,M,_,"⋡","\\nsucceq",!0),x(k,M,_,"⋩","\\succnsim",!0),x(k,M,_,"⪺","\\succnapprox",!0),x(k,M,_,"≆","\\ncong",!0),x(k,M,_,"","\\@nshortparallel"),x(k,M,_,"∦","\\nparallel",!0),x(k,M,_,"⊯","\\nVDash",!0),x(k,M,_,"⋫","\\ntriangleright"),x(k,M,_,"⋭","\\ntrianglerighteq",!0),x(k,M,_,"","\\@nsupseteqq"),x(k,M,_,"⊋","\\supsetneq",!0),x(k,M,_,"","\\@varsupsetneq"),x(k,M,_,"⫌","\\supsetneqq",!0),x(k,M,_,"","\\@varsupsetneqq"),x(k,M,_,"⊮","\\nVdash",!0),x(k,M,_,"⪵","\\precneqq",!0),x(k,M,_,"⪶","\\succneqq",!0),x(k,M,_,"","\\@nsubseteqq"),x(k,M,Q,"⊴","\\unlhd"),x(k,M,Q,"⊵","\\unrhd"),x(k,M,_,"↚","\\nleftarrow",!0),x(k,M,_,"↛","\\nrightarrow",!0),x(k,M,_,"⇍","\\nLeftarrow",!0),x(k,M,_,"⇏","\\nRightarrow",!0),x(k,M,_,"↮","\\nleftrightarrow",!0),x(k,M,_,"⇎","\\nLeftrightarrow",!0),x(k,M,_,"△","\\vartriangle"),x(k,M,V,"ℏ","\\hslash"),x(k,M,V,"▽","\\triangledown"),x(k,M,V,"◊","\\lozenge"),x(k,M,V,"Ⓢ","\\circledS"),x(k,M,V,"®","\\circledR"),x(ne,M,V,"®","\\circledR"),x(k,M,V,"∡","\\measuredangle",!0),x(k,M,V,"∄","\\nexists"),x(k,M,V,"℧","\\mho"),x(k,M,V,"Ⅎ","\\Finv",!0),x(k,M,V,"⅁","\\Game",!0),x(k,M,V,"‵","\\backprime"),x(k,M,V,"▲","\\blacktriangle"),x(k,M,V,"▼","\\blacktriangledown"),x(k,M,V,"■","\\blacksquare"),x(k,M,V,"⧫","\\blacklozenge"),x(k,M,V,"★","\\bigstar"),x(k,M,V,"∢","\\sphericalangle",!0),x(k,M,V,"∁","\\complement",!0),x(k,M,V,"ð","\\eth",!0),x(ne,T,V,"ð","ð"),x(k,M,V,"╱","\\diagup"),x(k,M,V,"╲","\\diagdown"),x(k,M,V,"□","\\square"),x(k,M,V,"□","\\Box"),x(k,M,V,"◊","\\Diamond"),x(k,M,V,"¥","\\yen",!0),x(ne,M,V,"¥","\\yen",!0),x(k,M,V,"✓","\\checkmark",!0),x(ne,M,V,"✓","\\checkmark"),x(k,M,V,"ℶ","\\beth",!0),x(k,M,V,"ℸ","\\daleth",!0),x(k,M,V,"ℷ","\\gimel",!0),x(k,M,V,"ϝ","\\digamma",!0),x(k,M,V,"ϰ","\\varkappa"),x(k,M,Ie,"┌","\\@ulcorner",!0),x(k,M,Te,"┐","\\@urcorner",!0),x(k,M,Ie,"└","\\@llcorner",!0),x(k,M,Te,"┘","\\@lrcorner",!0),x(k,M,_,"≦","\\leqq",!0),x(k,M,_,"⩽","\\leqslant",!0),x(k,M,_,"⪕","\\eqslantless",!0),x(k,M,_,"≲","\\lesssim",!0),x(k,M,_,"⪅","\\lessapprox",!0),x(k,M,_,"≊","\\approxeq",!0),x(k,M,Q,"⋖","\\lessdot"),x(k,M,_,"⋘","\\lll",!0),x(k,M,_,"≶","\\lessgtr",!0),x(k,M,_,"⋚","\\lesseqgtr",!0),x(k,M,_,"⪋","\\lesseqqgtr",!0),x(k,M,_,"≑","\\doteqdot"),x(k,M,_,"≓","\\risingdotseq",!0),x(k,M,_,"≒","\\fallingdotseq",!0),x(k,M,_,"∽","\\backsim",!0),x(k,M,_,"⋍","\\backsimeq",!0),x(k,M,_,"⫅","\\subseteqq",!0),x(k,M,_,"⋐","\\Subset",!0),x(k,M,_,"⊏","\\sqsubset",!0),x(k,M,_,"≼","\\preccurlyeq",!0),x(k,M,_,"⋞","\\curlyeqprec",!0),x(k,M,_,"≾","\\precsim",!0),x(k,M,_,"⪷","\\precapprox",!0),x(k,M,_,"⊲","\\vartriangleleft"),x(k,M,_,"⊴","\\trianglelefteq"),x(k,M,_,"⊨","\\vDash",!0),x(k,M,_,"⊪","\\Vvdash",!0),x(k,M,_,"⌣","\\smallsmile"),x(k,M,_,"⌢","\\smallfrown"),x(k,M,_,"≏","\\bumpeq",!0),x(k,M,_,"≎","\\Bumpeq",!0),x(k,M,_,"≧","\\geqq",!0),x(k,M,_,"⩾","\\geqslant",!0),x(k,M,_,"⪖","\\eqslantgtr",!0),x(k,M,_,"≳","\\gtrsim",!0),x(k,M,_,"⪆","\\gtrapprox",!0),x(k,M,Q,"⋗","\\gtrdot"),x(k,M,_,"⋙","\\ggg",!0),x(k,M,_,"≷","\\gtrless",!0),x(k,M,_,"⋛","\\gtreqless",!0),x(k,M,_,"⪌","\\gtreqqless",!0),x(k,M,_,"≖","\\eqcirc",!0),x(k,M,_,"≗","\\circeq",!0),x(k,M,_,"≜","\\triangleq",!0),x(k,M,_,"∼","\\thicksim"),x(k,M,_,"≈","\\thickapprox"),x(k,M,_,"⫆","\\supseteqq",!0),x(k,M,_,"⋑","\\Supset",!0),x(k,M,_,"⊐","\\sqsupset",!0),x(k,M,_,"≽","\\succcurlyeq",!0),x(k,M,_,"⋟","\\curlyeqsucc",!0),x(k,M,_,"≿","\\succsim",!0),x(k,M,_,"⪸","\\succapprox",!0),x(k,M,_,"⊳","\\vartriangleright"),x(k,M,_,"⊵","\\trianglerighteq"),x(k,M,_,"⊩","\\Vdash",!0),x(k,M,_,"∣","\\shortmid"),x(k,M,_,"∥","\\shortparallel"),x(k,M,_,"≬","\\between",!0),x(k,M,_,"⋔","\\pitchfork",!0),x(k,M,_,"∝","\\varpropto"),x(k,M,_,"◀","\\blacktriangleleft"),x(k,M,_,"∴","\\therefore",!0),x(k,M,_,"∍","\\backepsilon"),x(k,M,_,"▶","\\blacktriangleright"),x(k,M,_,"∵","\\because",!0),x(k,M,_,"⋘","\\llless"),x(k,M,_,"⋙","\\gggtr"),x(k,M,Q,"⊲","\\lhd"),x(k,M,Q,"⊳","\\rhd"),x(k,M,_,"≂","\\eqsim",!0),x(k,T,_,"⋈","\\Join"),x(k,M,_,"≑","\\Doteq",!0),x(k,M,Q,"∔","\\dotplus",!0),x(k,M,Q,"∖","\\smallsetminus"),x(k,M,Q,"⋒","\\Cap",!0),x(k,M,Q,"⋓","\\Cup",!0),x(k,M,Q,"⩞","\\doublebarwedge",!0),x(k,M,Q,"⊟","\\boxminus",!0),x(k,M,Q,"⊞","\\boxplus",!0),x(k,M,Q,"⋇","\\divideontimes",!0),x(k,M,Q,"⋉","\\ltimes",!0),x(k,M,Q,"⋊","\\rtimes",!0),x(k,M,Q,"⋋","\\leftthreetimes",!0),x(k,M,Q,"⋌","\\rightthreetimes",!0),x(k,M,Q,"⋏","\\curlywedge",!0),x(k,M,Q,"⋎","\\curlyvee",!0),x(k,M,Q,"⊝","\\circleddash",!0),x(k,M,Q,"⊛","\\circledast",!0),x(k,M,Q,"⋅","\\centerdot"),x(k,M,Q,"⊺","\\intercal",!0),x(k,M,Q,"⋒","\\doublecap"),x(k,M,Q,"⋓","\\doublecup"),x(k,M,Q,"⊠","\\boxtimes",!0),x(k,M,_,"⇢","\\dashrightarrow",!0),x(k,M,_,"⇠","\\dashleftarrow",!0),x(k,M,_,"⇇","\\leftleftarrows",!0),x(k,M,_,"⇆","\\leftrightarrows",!0),x(k,M,_,"⇚","\\Lleftarrow",!0),x(k,M,_,"↞","\\twoheadleftarrow",!0),x(k,M,_,"↢","\\leftarrowtail",!0),x(k,M,_,"↫","\\looparrowleft",!0),x(k,M,_,"⇋","\\leftrightharpoons",!0),x(k,M,_,"↶","\\curvearrowleft",!0),x(k,M,_,"↺","\\circlearrowleft",!0),x(k,M,_,"↰","\\Lsh",!0),x(k,M,_,"⇈","\\upuparrows",!0),x(k,M,_,"↿","\\upharpoonleft",!0),x(k,M,_,"⇃","\\downharpoonleft",!0),x(k,T,_,"⊶","\\origof",!0),x(k,T,_,"⊷","\\imageof",!0),x(k,M,_,"⊸","\\multimap",!0),x(k,M,_,"↭","\\leftrightsquigarrow",!0),x(k,M,_,"⇉","\\rightrightarrows",!0),x(k,M,_,"⇄","\\rightleftarrows",!0),x(k,M,_,"↠","\\twoheadrightarrow",!0),x(k,M,_,"↣","\\rightarrowtail",!0),x(k,M,_,"↬","\\looparrowright",!0),x(k,M,_,"↷","\\curvearrowright",!0),x(k,M,_,"↻","\\circlearrowright",!0),x(k,M,_,"↱","\\Rsh",!0),x(k,M,_,"⇊","\\downdownarrows",!0),x(k,M,_,"↾","\\upharpoonright",!0),x(k,M,_,"⇂","\\downharpoonright",!0),x(k,M,_,"⇝","\\rightsquigarrow",!0),x(k,M,_,"⇝","\\leadsto"),x(k,M,_,"⇛","\\Rrightarrow",!0),x(k,M,_,"↾","\\restriction"),x(k,T,V,"‘","`"),x(k,T,V,"$","\\$"),x(ne,T,V,"$","\\$"),x(ne,T,V,"$","\\textdollar"),x(k,T,V,"%","\\%"),x(ne,T,V,"%","\\%"),x(k,T,V,"_","\\_"),x(ne,T,V,"_","\\_"),x(ne,T,V,"_","\\textunderscore"),x(k,T,V,"∠","\\angle",!0),x(k,T,V,"∞","\\infty",!0),x(k,T,V,"′","\\prime"),x(k,T,V,"△","\\triangle"),x(k,T,V,"Γ","\\Gamma",!0),x(k,T,V,"Δ","\\Delta",!0),x(k,T,V,"Θ","\\Theta",!0),x(k,T,V,"Λ","\\Lambda",!0),x(k,T,V,"Ξ","\\Xi",!0),x(k,T,V,"Π","\\Pi",!0),x(k,T,V,"Σ","\\Sigma",!0),x(k,T,V,"Υ","\\Upsilon",!0),x(k,T,V,"Φ","\\Phi",!0),x(k,T,V,"Ψ","\\Psi",!0),x(k,T,V,"Ω","\\Omega",!0),x(k,T,V,"A","Α"),x(k,T,V,"B","Β"),x(k,T,V,"E","Ε"),x(k,T,V,"Z","Ζ"),x(k,T,V,"H","Η"),x(k,T,V,"I","Ι"),x(k,T,V,"K","Κ"),x(k,T,V,"M","Μ"),x(k,T,V,"N","Ν"),x(k,T,V,"O","Ο"),x(k,T,V,"P","Ρ"),x(k,T,V,"T","Τ"),x(k,T,V,"X","Χ"),x(k,T,V,"¬","\\neg",!0),x(k,T,V,"¬","\\lnot"),x(k,T,V,"⊤","\\top"),x(k,T,V,"⊥","\\bot"),x(k,T,V,"∅","\\emptyset"),x(k,M,V,"∅","\\varnothing"),x(k,T,we,"α","\\alpha",!0),x(k,T,we,"β","\\beta",!0),x(k,T,we,"γ","\\gamma",!0),x(k,T,we,"δ","\\delta",!0),x(k,T,we,"ϵ","\\epsilon",!0),x(k,T,we,"ζ","\\zeta",!0),x(k,T,we,"η","\\eta",!0),x(k,T,we,"θ","\\theta",!0),x(k,T,we,"ι","\\iota",!0),x(k,T,we,"κ","\\kappa",!0),x(k,T,we,"λ","\\lambda",!0),x(k,T,we,"μ","\\mu",!0),x(k,T,we,"ν","\\nu",!0),x(k,T,we,"ξ","\\xi",!0),x(k,T,we,"ο","\\omicron",!0),x(k,T,we,"π","\\pi",!0),x(k,T,we,"ρ","\\rho",!0),x(k,T,we,"σ","\\sigma",!0),x(k,T,we,"τ","\\tau",!0),x(k,T,we,"υ","\\upsilon",!0),x(k,T,we,"ϕ","\\phi",!0),x(k,T,we,"χ","\\chi",!0),x(k,T,we,"ψ","\\psi",!0),x(k,T,we,"ω","\\omega",!0),x(k,T,we,"ε","\\varepsilon",!0),x(k,T,we,"ϑ","\\vartheta",!0),x(k,T,we,"ϖ","\\varpi",!0),x(k,T,we,"ϱ","\\varrho",!0),x(k,T,we,"ς","\\varsigma",!0),x(k,T,we,"φ","\\varphi",!0),x(k,T,Q,"∗","*",!0),x(k,T,Q,"+","+"),x(k,T,Q,"−","-",!0),x(k,T,Q,"⋅","\\cdot",!0),x(k,T,Q,"∘","\\circ",!0),x(k,T,Q,"÷","\\div",!0),x(k,T,Q,"±","\\pm",!0),x(k,T,Q,"×","\\times",!0),x(k,T,Q,"∩","\\cap",!0),x(k,T,Q,"∪","\\cup",!0),x(k,T,Q,"∖","\\setminus",!0),x(k,T,Q,"∧","\\land"),x(k,T,Q,"∨","\\lor"),x(k,T,Q,"∧","\\wedge",!0),x(k,T,Q,"∨","\\vee",!0),x(k,T,V,"√","\\surd"),x(k,T,Ie,"⟨","\\langle",!0),x(k,T,Ie,"∣","\\lvert"),x(k,T,Ie,"∥","\\lVert"),x(k,T,Te,"?","?"),x(k,T,Te,"!","!"),x(k,T,Te,"⟩","\\rangle",!0),x(k,T,Te,"∣","\\rvert"),x(k,T,Te,"∥","\\rVert"),x(k,T,_,"=","="),x(k,T,_,":",":"),x(k,T,_,"≈","\\approx",!0),x(k,T,_,"≅","\\cong",!0),x(k,T,_,"≥","\\ge"),x(k,T,_,"≥","\\geq",!0),x(k,T,_,"←","\\gets"),x(k,T,_,">","\\gt",!0),x(k,T,_,"∈","\\in",!0),x(k,T,_,"","\\@not"),x(k,T,_,"⊂","\\subset",!0),x(k,T,_,"⊃","\\supset",!0),x(k,T,_,"⊆","\\subseteq",!0),x(k,T,_,"⊇","\\supseteq",!0),x(k,M,_,"⊈","\\nsubseteq",!0),x(k,M,_,"⊉","\\nsupseteq",!0),x(k,T,_,"⊨","\\models"),x(k,T,_,"←","\\leftarrow",!0),x(k,T,_,"≤","\\le"),x(k,T,_,"≤","\\leq",!0),x(k,T,_,"<","\\lt",!0),x(k,T,_,"→","\\rightarrow",!0),x(k,T,_,"→","\\to"),x(k,M,_,"≱","\\ngeq",!0),x(k,M,_,"≰","\\nleq",!0),x(k,T,rt," ","\\ "),x(k,T,rt," ","\\space"),x(k,T,rt," ","\\nobreakspace"),x(ne,T,rt," ","\\ "),x(ne,T,rt," "," "),x(ne,T,rt," ","\\space"),x(ne,T,rt," ","\\nobreakspace"),x(k,T,rt,null,"\\nobreak"),x(k,T,rt,null,"\\allowbreak"),x(k,T,Nt,",",","),x(k,T,Nt,";",";"),x(k,M,Q,"⊼","\\barwedge",!0),x(k,M,Q,"⊻","\\veebar",!0),x(k,T,Q,"⊙","\\odot",!0),x(k,T,Q,"⊕","\\oplus",!0),x(k,T,Q,"⊗","\\otimes",!0),x(k,T,V,"∂","\\partial",!0),x(k,T,Q,"⊘","\\oslash",!0),x(k,M,Q,"⊚","\\circledcirc",!0),x(k,M,Q,"⊡","\\boxdot",!0),x(k,T,Q,"△","\\bigtriangleup"),x(k,T,Q,"▽","\\bigtriangledown"),x(k,T,Q,"†","\\dagger"),x(k,T,Q,"⋄","\\diamond"),x(k,T,Q,"⋆","\\star"),x(k,T,Q,"◃","\\triangleleft"),x(k,T,Q,"▹","\\triangleright"),x(k,T,Ie,"{","\\{"),x(ne,T,V,"{","\\{"),x(ne,T,V,"{","\\textbraceleft"),x(k,T,Te,"}","\\}"),x(ne,T,V,"}","\\}"),x(ne,T,V,"}","\\textbraceright"),x(k,T,Ie,"{","\\lbrace"),x(k,T,Te,"}","\\rbrace"),x(k,T,Ie,"[","\\lbrack",!0),x(ne,T,V,"[","\\lbrack",!0),x(k,T,Te,"]","\\rbrack",!0),x(ne,T,V,"]","\\rbrack",!0),x(k,T,Ie,"(","\\lparen",!0),x(k,T,Te,")","\\rparen",!0),x(ne,T,V,"<","\\textless",!0),x(ne,T,V,">","\\textgreater",!0),x(k,T,Ie,"⌊","\\lfloor",!0),x(k,T,Te,"⌋","\\rfloor",!0),x(k,T,Ie,"⌈","\\lceil",!0),x(k,T,Te,"⌉","\\rceil",!0),x(k,T,V,"\\","\\backslash"),x(k,T,V,"∣","|"),x(k,T,V,"∣","\\vert"),x(ne,T,V,"|","\\textbar",!0),x(k,T,V,"∥","\\|"),x(k,T,V,"∥","\\Vert"),x(ne,T,V,"∥","\\textbardbl"),x(ne,T,V,"~","\\textasciitilde"),x(ne,T,V,"\\","\\textbackslash"),x(ne,T,V,"^","\\textasciicircum"),x(k,T,_,"↑","\\uparrow",!0),x(k,T,_,"⇑","\\Uparrow",!0),x(k,T,_,"↓","\\downarrow",!0),x(k,T,_,"⇓","\\Downarrow",!0),x(k,T,_,"↕","\\updownarrow",!0),x(k,T,_,"⇕","\\Updownarrow",!0),x(k,T,De,"∐","\\coprod"),x(k,T,De,"⋁","\\bigvee"),x(k,T,De,"⋀","\\bigwedge"),x(k,T,De,"⨄","\\biguplus"),x(k,T,De,"⋂","\\bigcap"),x(k,T,De,"⋃","\\bigcup"),x(k,T,De,"∫","\\int"),x(k,T,De,"∫","\\intop"),x(k,T,De,"∬","\\iint"),x(k,T,De,"∭","\\iiint"),x(k,T,De,"∏","\\prod"),x(k,T,De,"∑","\\sum"),x(k,T,De,"⨂","\\bigotimes"),x(k,T,De,"⨁","\\bigoplus"),x(k,T,De,"⨀","\\bigodot"),x(k,T,De,"∮","\\oint"),x(k,T,De,"∯","\\oiint"),x(k,T,De,"∰","\\oiiint"),x(k,T,De,"⨆","\\bigsqcup"),x(k,T,De,"∫","\\smallint"),x(ne,T,Ge,"…","\\textellipsis"),x(k,T,Ge,"…","\\mathellipsis"),x(ne,T,Ge,"…","\\ldots",!0),x(k,T,Ge,"…","\\ldots",!0),x(k,T,Ge,"⋯","\\@cdots",!0),x(k,T,Ge,"⋱","\\ddots",!0),x(k,T,V,"⋮","\\varvdots"),x(ne,T,V,"⋮","\\varvdots"),x(k,T,te,"ˊ","\\acute"),x(k,T,te,"ˋ","\\grave"),x(k,T,te,"¨","\\ddot"),x(k,T,te,"~","\\tilde"),x(k,T,te,"ˉ","\\bar"),x(k,T,te,"˘","\\breve"),x(k,T,te,"ˇ","\\check"),x(k,T,te,"^","\\hat"),x(k,T,te,"⃗","\\vec"),x(k,T,te,"˙","\\dot"),x(k,T,te,"˚","\\mathring"),x(k,T,we,"","\\@imath"),x(k,T,we,"","\\@jmath"),x(k,T,V,"ı","ı"),x(k,T,V,"ȷ","ȷ"),x(ne,T,V,"ı","\\i",!0),x(ne,T,V,"ȷ","\\j",!0),x(ne,T,V,"ß","\\ss",!0),x(ne,T,V,"æ","\\ae",!0),x(ne,T,V,"œ","\\oe",!0),x(ne,T,V,"ø","\\o",!0),x(ne,T,V,"Æ","\\AE",!0),x(ne,T,V,"Œ","\\OE",!0),x(ne,T,V,"Ø","\\O",!0),x(ne,T,te,"ˊ","\\'"),x(ne,T,te,"ˋ","\\`"),x(ne,T,te,"ˆ","\\^"),x(ne,T,te,"˜","\\~"),x(ne,T,te,"ˉ","\\="),x(ne,T,te,"˘","\\u"),x(ne,T,te,"˙","\\."),x(ne,T,te,"¸","\\c"),x(ne,T,te,"˚","\\r"),x(ne,T,te,"ˇ","\\v"),x(ne,T,te,"¨",'\\"'),x(ne,T,te,"˝","\\H"),x(ne,T,te,"◯","\\textcircled");const ar={"--":!0,"---":!0,"``":!0,"''":!0};x(ne,T,V,"–","--",!0),x(ne,T,V,"–","\\textendash"),x(ne,T,V,"—","---",!0),x(ne,T,V,"—","\\textemdash"),x(ne,T,V,"‘","`",!0),x(ne,T,V,"‘","\\textquoteleft"),x(ne,T,V,"’","'",!0),x(ne,T,V,"’","\\textquoteright"),x(ne,T,V,"“","``",!0),x(ne,T,V,"“","\\textquotedblleft"),x(ne,T,V,"”","''",!0),x(ne,T,V,"”","\\textquotedblright"),x(k,T,V,"°","\\degree",!0),x(ne,T,V,"°","\\degree"),x(ne,T,V,"°","\\textdegree",!0),x(k,T,V,"£","\\pounds"),x(k,T,V,"£","\\mathsterling",!0),x(ne,T,V,"£","\\pounds"),x(ne,T,V,"£","\\textsterling",!0),x(k,M,V,"✠","\\maltese"),x(ne,M,V,"✠","\\maltese");const V0='0123456789/@."';for(let s=0;s<V0.length;s++){const i=V0.charAt(s);x(k,T,V,i,i)}const Ht='0123456789!@*()-=+";:?/.,';for(let s=0;s<Ht.length;s++){const i=Ht.charAt(s);x(ne,T,V,i,i)}const wr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";for(let s=0;s<wr.length;s++){const i=wr.charAt(s);x(k,T,we,i,i),x(ne,T,V,i,i)}x(k,M,V,"C","ℂ"),x(ne,M,V,"C","ℂ"),x(k,M,V,"H","ℍ"),x(ne,M,V,"H","ℍ"),x(k,M,V,"N","ℕ"),x(ne,M,V,"N","ℕ"),x(k,M,V,"P","ℙ"),x(ne,M,V,"P","ℙ"),x(k,M,V,"Q","ℚ"),x(ne,M,V,"Q","ℚ"),x(k,M,V,"R","ℝ"),x(ne,M,V,"R","ℝ"),x(k,M,V,"Z","ℤ"),x(ne,M,V,"Z","ℤ"),x(k,T,we,"h","ℎ"),x(ne,T,we,"h","ℎ");let Re="";for(let s=0;s<wr.length;s++){const i=wr.charAt(s);Re=String.fromCharCode(55349,56320+s),x(k,T,we,i,Re),x(ne,T,V,i,Re),Re=String.fromCharCode(55349,56372+s),x(k,T,we,i,Re),x(ne,T,V,i,Re),Re=String.fromCharCode(55349,56424+s),x(k,T,we,i,Re),x(ne,T,V,i,Re),Re=String.fromCharCode(55349,56580+s),x(k,T,we,i,Re),x(ne,T,V,i,Re),Re=String.fromCharCode(55349,56684+s),x(k,T,we,i,Re),x(ne,T,V,i,Re),Re=String.fromCharCode(55349,56736+s),x(k,T,we,i,Re),x(ne,T,V,i,Re),Re=String.fromCharCode(55349,56788+s),x(k,T,we,i,Re),x(ne,T,V,i,Re),Re=String.fromCharCode(55349,56840+s),x(k,T,we,i,Re),x(ne,T,V,i,Re),Re=String.fromCharCode(55349,56944+s),x(k,T,we,i,Re),x(ne,T,V,i,Re),s<26&&(Re=String.fromCharCode(55349,56632+s),x(k,T,we,i,Re),x(ne,T,V,i,Re),Re=String.fromCharCode(55349,56476+s),x(k,T,we,i,Re),x(ne,T,V,i,Re))}Re="𝕜",x(k,T,we,"k",Re),x(ne,T,V,"k",Re);for(let s=0;s<10;s++){const i=s.toString();Re=String.fromCharCode(55349,57294+s),x(k,T,we,i,Re),x(ne,T,V,i,Re),Re=String.fromCharCode(55349,57314+s),x(k,T,we,i,Re),x(ne,T,V,i,Re),Re=String.fromCharCode(55349,57324+s),x(k,T,we,i,Re),x(ne,T,V,i,Re),Re=String.fromCharCode(55349,57334+s),x(k,T,we,i,Re),x(ne,T,V,i,Re)}const Bn="ÐÞþ";for(let s=0;s<Bn.length;s++){const i=Bn.charAt(s);x(k,T,we,i,i),x(ne,T,V,i,i)}const Mi=[["mathbf","textbf","Main-Bold"],["mathbf","textbf","Main-Bold"],["mathnormal","textit","Math-Italic"],["mathnormal","textit","Math-Italic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["boldsymbol","boldsymbol","Main-BoldItalic"],["mathscr","textscr","Script-Regular"],["","",""],["","",""],["","",""],["mathfrak","textfrak","Fraktur-Regular"],["mathfrak","textfrak","Fraktur-Regular"],["mathbb","textbb","AMS-Regular"],["mathbb","textbb","AMS-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathboldfrak","textboldfrak","Fraktur-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathitsf","textitsf","SansSerif-Italic"],["mathitsf","textitsf","SansSerif-Italic"],["","",""],["","",""],["mathtt","texttt","Typewriter-Regular"],["mathtt","texttt","Typewriter-Regular"]],sc=[["mathbf","textbf","Main-Bold"],["","",""],["mathsf","textsf","SansSerif-Regular"],["mathboldsf","textboldsf","SansSerif-Bold"],["mathtt","texttt","Typewriter-Regular"]],Ip=function(s,i){const o=s.charCodeAt(0),h=s.charCodeAt(1),y=(o-55296)*1024+(h-56320)+65536,w=i==="math"?0:1;if(119808<=y&&y<120484){const z=Math.floor((y-119808)/26);return[Mi[z][2],Mi[z][w]]}else if(120782<=y&&y<=120831){const z=Math.floor((y-120782)/10);return[sc[z][2],sc[z][w]]}else{if(y===120485||y===120486)return[Mi[0][2],Mi[0][w]];if(120486<y&&y<120782)return["",""];throw new l("Unsupported character: "+s)}};class Nn{constructor(i){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=i,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(i){return this.classes.includes(i)}toNode(){const i=document.createDocumentFragment();for(let o=0;o<this.children.length;o++)i.appendChild(this.children[o].toNode());return i}toMarkup(){let i="";for(let o=0;o<this.children.length;o++)i+=this.children[o].toMarkup();return i}toText(){const i=o=>o.toText();return this.children.map(i).join("")}}const Ai=function(s,i,o){return dt[o][s]&&dt[o][s].replace&&(s=dt[o][s].replace),{value:s,metrics:Ir(s,i,o)}},D0=function(s,i,o,h,y){const w=Ai(s,i,o),z=w.metrics;s=w.value;let E;if(z){let I=z.italic;(o==="text"||h&&h.font==="mathit")&&(I=0),E=new Jt(s,z.height,z.depth,I,z.skew,z.width,y)}else typeof console<"u"&&console.warn("No character metrics "+("for '"+s+"' in style '"+i+"' and mode '"+o+"'")),E=new Jt(s,0,0,0,0,0,y);if(h){E.maxFontSize=h.sizeMultiplier,h.style.isTight()&&E.classes.push("mtight");const I=h.getColor();I&&(E.style.color=I)}return E},Rp=function(s,i,o,h){return h===void 0&&(h=[]),o.font==="boldsymbol"&&Ai(s,"Main-Bold",i).metrics?D0(s,"Main-Bold",i,o,h.concat(["mathbf"])):s==="\\"||dt[i][s].font==="main"?D0(s,"Main-Regular",i,o,h):D0(s,"AMS-Regular",i,o,h.concat(["amsrm"]))},_p=function(s,i,o,h,y){return y!=="textord"&&Ai(s,"Math-BoldItalic",i).metrics?{fontName:"Math-BoldItalic",fontClass:"boldsymbol"}:{fontName:"Main-Bold",fontClass:"mathbf"}},qp=function(s,i,o){const h=s.mode,y=s.text,w=["mord"],z=h==="math"||h==="text"&&i.font,E=z?i.font:i.fontFamily;let I="",H="";if(y.charCodeAt(0)===55349&&([I,H]=Ip(y,h)),I.length>0)return D0(y,I,h,i,w.concat(H));if(E){let G,U;if(E==="boldsymbol"){const J=_p(y,h,i,w,o);G=J.fontName,U=[J.fontClass]}else z?(G=cc[E].fontName,U=[E]):(G=zi(E,i.fontWeight,i.fontShape),U=[E,i.fontWeight,i.fontShape]);if(Ai(y,G,h).metrics)return D0(y,G,h,i,w.concat(U));if(ar.hasOwnProperty(y)&&G.slice(0,10)==="Typewriter"){const J=[];for(let ie=0;ie<y.length;ie++)J.push(D0(y[ie],G,h,i,w.concat(U)));return uc(J)}}if(o==="mathord")return D0(y,"Math-Italic",h,i,w.concat(["mathnormal"]));if(o==="textord"){const G=dt[h][y]&&dt[h][y].font;if(G==="ams"){const U=zi("amsrm",i.fontWeight,i.fontShape);return D0(y,U,h,i,w.concat("amsrm",i.fontWeight,i.fontShape))}else if(G==="main"||!G){const U=zi("textrm",i.fontWeight,i.fontShape);return D0(y,U,h,i,w.concat(i.fontWeight,i.fontShape))}else{const U=zi(G,i.fontWeight,i.fontShape);return D0(y,U,h,i,w.concat(U,i.fontWeight,i.fontShape))}}else throw new Error("unexpected type: "+o+" in makeOrd")},Op=(s,i)=>{if(Gt(s.classes)!==Gt(i.classes)||s.skew!==i.skew||s.maxFontSize!==i.maxFontSize)return!1;if(s.classes.length===1){const o=s.classes[0];if(o==="mbin"||o==="mord")return!1}for(const o in s.style)if(s.style.hasOwnProperty(o)&&s.style[o]!==i.style[o])return!1;for(const o in i.style)if(i.style.hasOwnProperty(o)&&s.style[o]!==i.style[o])return!1;return!0},Fp=s=>{for(let i=0;i<s.length-1;i++){const o=s[i],h=s[i+1];o instanceof Jt&&h instanceof Jt&&Op(o,h)&&(o.text+=h.text,o.height=Math.max(o.height,h.height),o.depth=Math.max(o.depth,h.depth),o.italic=h.italic,s.splice(i+1,1),i--)}return s},Tl=function(s){let i=0,o=0,h=0;for(let y=0;y<s.children.length;y++){const w=s.children[y];w.height>i&&(i=w.height),w.depth>o&&(o=w.depth),w.maxFontSize>h&&(h=w.maxFontSize)}s.height=i,s.depth=o,s.maxFontSize=h},l0=function(s,i,o,h){const y=new vr(s,i,o,h);return Tl(y),y},oc=(s,i,o,h)=>new vr(s,i,o,h),Lp=function(s,i,o){const h=l0([s],[],i);return h.height=Math.max(o||i.fontMetrics().defaultRuleThickness,i.minRuleThickness),h.style.borderBottomWidth=me(h.height),h.maxFontSize=1,h},Pp=function(s,i,o,h){const y=new $0(s,i,o,h);return Tl(y),y},uc=function(s){const i=new Nn(s);return Tl(i),i},Hp=function(s,i){return s instanceof Nn?l0([],[s],i):s},$p=function(s){if(s.positionType==="individualShift"){const o=s.children,h=[o[0]],y=-o[0].shift-o[0].elem.depth;let w=y;for(let z=1;z<o.length;z++){const E=-o[z].shift-w-o[z].elem.depth,I=E-(o[z-1].elem.height+o[z-1].elem.depth);w=w+E,h.push({type:"kern",size:I}),h.push(o[z])}return{children:h,depth:y}}let i;if(s.positionType==="top"){let o=s.positionData;for(let h=0;h<s.children.length;h++){const y=s.children[h];o-=y.type==="kern"?y.size:y.elem.height+y.elem.depth}i=o}else if(s.positionType==="bottom")i=-s.positionData;else{const o=s.children[0];if(o.type!=="elem")throw new Error('First child must have type "elem".');if(s.positionType==="shift")i=-o.elem.depth-s.positionData;else if(s.positionType==="firstBaseline")i=-o.elem.depth;else throw new Error("Invalid positionType "+s.positionType+".")}return{children:s.children,depth:i}},Vp=function(s,i){const{children:o,depth:h}=$p(s);let y=0;for(let ie=0;ie<o.length;ie++){const ze=o[ie];if(ze.type==="elem"){const Ce=ze.elem;y=Math.max(y,Ce.maxFontSize,Ce.height)}}y+=2;const w=l0(["pstrut"],[]);w.style.height=me(y);const z=[];let E=h,I=h,H=h;for(let ie=0;ie<o.length;ie++){const ze=o[ie];if(ze.type==="kern")H+=ze.size;else{const Ce=ze.elem,Ue=ze.wrapperClasses||[],Ve=ze.wrapperStyle||{},We=l0(Ue,[w,Ce],void 0,Ve);We.style.top=me(-y-H-Ce.depth),ze.marginLeft&&(We.style.marginLeft=ze.marginLeft),ze.marginRight&&(We.style.marginRight=ze.marginRight),z.push(We),H+=Ce.height+Ce.depth}E=Math.min(E,H),I=Math.max(I,H)}const G=l0(["vlist"],z);G.style.height=me(I);let U;if(E<0){const ie=l0([],[]),ze=l0(["vlist"],[ie]);ze.style.height=me(-E);const Ce=l0(["vlist-s"],[new Jt("​")]);U=[l0(["vlist-r"],[G,Ce]),l0(["vlist-r"],[ze])]}else U=[l0(["vlist-r"],[G])];const J=l0(["vlist-t"],U);return U.length===2&&J.classes.push("vlist-t2"),J.height=I,J.depth=-E,J},jp=(s,i)=>{const o=l0(["mspace"],[],i),h=Xe(s,i);return o.style.marginRight=me(h),o},zi=function(s,i,o){let h="";switch(s){case"amsrm":h="AMS";break;case"textrm":h="Main";break;case"textsf":h="SansSerif";break;case"texttt":h="Typewriter";break;default:h=s}let y;return i==="textbf"&&o==="textit"?y="BoldItalic":i==="textbf"?y="Bold":i==="textit"?y="Italic":y="Regular",h+"-"+y},cc={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"}},hc={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]};var Z={fontMap:cc,makeSymbol:D0,mathsym:Rp,makeSpan:l0,makeSvgSpan:oc,makeLineSpan:Lp,makeAnchor:Pp,makeFragment:uc,wrapFragment:Hp,makeVList:Vp,makeOrd:qp,makeGlue:jp,staticSvg:function(s,i){const[o,h,y]=hc[s],w=new E0(o),z=new C0([w],{width:me(h),height:me(y),style:"width:"+me(h),viewBox:"0 0 "+1e3*h+" "+1e3*y,preserveAspectRatio:"xMinYMin"}),E=oc(["overlay"],[z],i);return E.height=y,E.style.height=me(y),E.style.width=me(h),E},svgData:hc,tryCombineChars:Fp};const wt={number:3,unit:"mu"},qr={number:4,unit:"mu"},lr={number:5,unit:"mu"},Gp={mord:{mop:wt,mbin:qr,mrel:lr,minner:wt},mop:{mord:wt,mop:wt,mrel:lr,minner:wt},mbin:{mord:qr,mop:qr,mopen:qr,minner:qr},mrel:{mord:lr,mop:lr,mopen:lr,minner:lr},mopen:{},mclose:{mop:wt,mbin:qr,mrel:lr,minner:wt},mpunct:{mord:wt,mop:wt,mrel:lr,mopen:wt,mclose:wt,mpunct:wt,minner:wt},minner:{mord:wt,mop:wt,mbin:qr,mrel:lr,mopen:wt,mpunct:wt,minner:wt}},Up={mord:{mop:wt},mop:{mord:wt,mop:wt},mbin:{},mrel:{},mopen:{},mclose:{mop:wt},mpunct:{},minner:{mop:wt}},mc={},Ti={},Ci={};function Se(s){let{type:i,names:o,props:h,handler:y,htmlBuilder:w,mathmlBuilder:z}=s;const E={type:i,numArgs:h.numArgs,argTypes:h.argTypes,allowedInArgument:!!h.allowedInArgument,allowedInText:!!h.allowedInText,allowedInMath:h.allowedInMath===void 0?!0:h.allowedInMath,numOptionalArgs:h.numOptionalArgs||0,infix:!!h.infix,primitive:!!h.primitive,handler:y};for(let I=0;I<o.length;++I)mc[o[I]]=E;i&&(w&&(Ti[i]=w),z&&(Ci[i]=z))}function Or(s){let{type:i,htmlBuilder:o,mathmlBuilder:h}=s;Se({type:i,names:[],props:{numArgs:0},handler(){throw new Error("Should never be called.")},htmlBuilder:o,mathmlBuilder:h})}const Ei=function(s){return s.type==="ordgroup"&&s.body.length===1?s.body[0]:s},Tt=function(s){return s.type==="ordgroup"?s.body:[s]},sr=Z.makeSpan,Wp=["leftmost","mbin","mopen","mrel","mop","mpunct"],Yp=["rightmost","mrel","mclose","mpunct"],Xp={display:R.DISPLAY,text:R.TEXT,script:R.SCRIPT,scriptscript:R.SCRIPTSCRIPT},Zp={mord:"mord",mop:"mop",mbin:"mbin",mrel:"mrel",mopen:"mopen",mclose:"mclose",mpunct:"mpunct",minner:"minner"},Rt=function(s,i,o,h){h===void 0&&(h=[null,null]);const y=[];for(let H=0;H<s.length;H++){const G=Ze(s[H],i);if(G instanceof Nn){const U=G.children;y.push(...U)}else y.push(G)}if(Z.tryCombineChars(y),!o)return y;let w=i;if(s.length===1){const H=s[0];H.type==="sizing"?w=i.havingSize(H.size):H.type==="styling"&&(w=i.havingStyle(Xp[H.style]))}const z=sr([h[0]||"leftmost"],[],i),E=sr([h[1]||"rightmost"],[],i),I=o==="root";return Cl(y,(H,G)=>{const U=G.classes[0],J=H.classes[0];U==="mbin"&&Yp.includes(J)?G.classes[0]="mord":J==="mbin"&&Wp.includes(U)&&(H.classes[0]="mord")},{node:z},E,I),Cl(y,(H,G)=>{const U=Dl(G),J=Dl(H),ie=U&&J?H.hasClass("mtight")?Up[U][J]:Gp[U][J]:null;if(ie)return Z.makeGlue(ie,w)},{node:z},E,I),y},Cl=function(s,i,o,h,y){h&&s.push(h);let w=0;for(;w<s.length;w++){const z=s[w],E=dc(z);if(E){Cl(E.children,i,o,null,y);continue}const I=!z.hasClass("mspace");if(I){const H=i(z,o.node);H&&(o.insertAfter?o.insertAfter(H):(s.unshift(H),w++))}I?o.node=z:y&&z.hasClass("newline")&&(o.node=sr(["leftmost"])),o.insertAfter=(H=>G=>{s.splice(H+1,0,G),w++})(w)}h&&s.pop()},dc=function(s){return s instanceof Nn||s instanceof $0||s instanceof vr&&s.hasClass("enclosing")?s:null},El=function(s,i){const o=dc(s);if(o){const h=o.children;if(h.length){if(i==="right")return El(h[h.length-1],"right");if(i==="left")return El(h[0],"left")}}return s},Dl=function(s,i){return s?(i&&(s=El(s,i)),Zp[s.classes[0]]||null):null},In=function(s,i){const o=["nulldelimiter"].concat(s.baseSizingClasses());return sr(i.concat(o))},Ze=function(s,i,o){if(!s)return sr();if(Ti[s.type]){let h=Ti[s.type](s,i);if(o&&i.size!==o.size){h=sr(i.sizingClasses(o),[h],i);const y=i.sizeMultiplier/o.sizeMultiplier;h.height*=y,h.depth*=y}return h}else throw new l("Got group of unknown type: '"+s.type+"'")};function Di(s,i){const o=sr(["base"],s,i),h=sr(["strut"]);return h.style.height=me(o.height+o.depth),o.depth&&(h.style.verticalAlign=me(-o.depth)),o.children.unshift(h),o}function Bl(s,i){let o=null;s.length===1&&s[0].type==="tag"&&(o=s[0].tag,s=s[0].body);const h=Rt(s,i,"root");let y;h.length===2&&h[1].hasClass("tag")&&(y=h.pop());const w=[];let z=[];for(let H=0;H<h.length;H++)if(z.push(h[H]),h[H].hasClass("mbin")||h[H].hasClass("mrel")||h[H].hasClass("allowbreak")){let G=!1;for(;H<h.length-1&&h[H+1].hasClass("mspace")&&!h[H+1].hasClass("newline");)H++,z.push(h[H]),h[H].hasClass("nobreak")&&(G=!0);G||(w.push(Di(z,i)),z=[])}else h[H].hasClass("newline")&&(z.pop(),z.length>0&&(w.push(Di(z,i)),z=[]),w.push(h[H]));z.length>0&&w.push(Di(z,i));let E;o?(E=Di(Rt(o,i,!0)),E.classes=["tag"],w.push(E)):y&&w.push(y);const I=sr(["katex-html"],w);if(I.setAttribute("aria-hidden","true"),E){const H=E.children[0];H.style.height=me(I.height+I.depth),I.depth&&(H.style.verticalAlign=me(-I.depth))}return I}function pc(s){return new Nn(s)}class g0{constructor(i,o,h){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=i,this.attributes={},this.children=o||[],this.classes=h||[]}setAttribute(i,o){this.attributes[i]=o}getAttribute(i){return this.attributes[i]}toNode(){const i=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(const o in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,o)&&i.setAttribute(o,this.attributes[o]);this.classes.length>0&&(i.className=Gt(this.classes));for(let o=0;o<this.children.length;o++)if(this.children[o]instanceof j0&&this.children[o+1]instanceof j0){let h=this.children[o].toText()+this.children[++o].toText();for(;this.children[o+1]instanceof j0;)h+=this.children[++o].toText();i.appendChild(new j0(h).toNode())}else i.appendChild(this.children[o].toNode());return i}toMarkup(){let i="<"+this.type;for(const o in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,o)&&(i+=" "+o+'="',i+=O.escape(this.attributes[o]),i+='"');this.classes.length>0&&(i+=' class ="'+O.escape(Gt(this.classes))+'"'),i+=">";for(let o=0;o<this.children.length;o++)i+=this.children[o].toMarkup();return i+="</"+this.type+">",i}toText(){return this.children.map(i=>i.toText()).join("")}}class j0{constructor(i){this.text=void 0,this.text=i}toNode(){return document.createTextNode(this.text)}toMarkup(){return O.escape(this.toText())}toText(){return this.text}}class Kp{constructor(i){this.width=void 0,this.character=void 0,this.width=i,i>=.05555&&i<=.05556?this.character=" ":i>=.1666&&i<=.1667?this.character=" ":i>=.2222&&i<=.2223?this.character=" ":i>=.2777&&i<=.2778?this.character="  ":i>=-.05556&&i<=-.05555?this.character=" ⁣":i>=-.1667&&i<=-.1666?this.character=" ⁣":i>=-.2223&&i<=-.2222?this.character=" ⁣":i>=-.2778&&i<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);{const i=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return i.setAttribute("width",me(this.width)),i}}toMarkup(){return this.character?"<mtext>"+this.character+"</mtext>":'<mspace width="'+me(this.width)+'"/>'}toText(){return this.character?this.character:" "}}var he={MathNode:g0,TextNode:j0,SpaceNode:Kp,newDocumentFragment:pc};const S0=function(s,i,o){return dt[i][s]&&dt[i][s].replace&&s.charCodeAt(0)!==55349&&!(ar.hasOwnProperty(s)&&o&&(o.fontFamily&&o.fontFamily.slice(4,6)==="tt"||o.font&&o.font.slice(4,6)==="tt"))&&(s=dt[i][s].replace),new he.TextNode(s)},Nl=function(s){return s.length===1?s[0]:new he.MathNode("mrow",s)},Il=function(s,i){if(i.fontFamily==="texttt")return"monospace";if(i.fontFamily==="textsf")return i.fontShape==="textit"&&i.fontWeight==="textbf"?"sans-serif-bold-italic":i.fontShape==="textit"?"sans-serif-italic":i.fontWeight==="textbf"?"bold-sans-serif":"sans-serif";if(i.fontShape==="textit"&&i.fontWeight==="textbf")return"bold-italic";if(i.fontShape==="textit")return"italic";if(i.fontWeight==="textbf")return"bold";const o=i.font;if(!o||o==="mathnormal")return null;const h=s.mode;if(o==="mathit")return"italic";if(o==="boldsymbol")return s.type==="textord"?"bold":"bold-italic";if(o==="mathbf")return"bold";if(o==="mathbb")return"double-struck";if(o==="mathsfit")return"sans-serif-italic";if(o==="mathfrak")return"fraktur";if(o==="mathscr"||o==="mathcal")return"script";if(o==="mathsf")return"sans-serif";if(o==="mathtt")return"monospace";let y=s.text;if(["\\imath","\\jmath"].includes(y))return null;dt[h][y]&&dt[h][y].replace&&(y=dt[h][y].replace);const w=Z.fontMap[o].fontName;return Ir(y,w,h)?Z.fontMap[o].variant:null};function Rl(s){if(!s)return!1;if(s.type==="mi"&&s.children.length===1){const i=s.children[0];return i instanceof j0&&i.text==="."}else if(s.type==="mo"&&s.children.length===1&&s.getAttribute("separator")==="true"&&s.getAttribute("lspace")==="0em"&&s.getAttribute("rspace")==="0em"){const i=s.children[0];return i instanceof j0&&i.text===","}else return!1}const s0=function(s,i,o){if(s.length===1){const w=ot(s[0],i);return o&&w instanceof g0&&w.type==="mo"&&(w.setAttribute("lspace","0em"),w.setAttribute("rspace","0em")),[w]}const h=[];let y;for(let w=0;w<s.length;w++){const z=ot(s[w],i);if(z instanceof g0&&y instanceof g0){if(z.type==="mtext"&&y.type==="mtext"&&z.getAttribute("mathvariant")===y.getAttribute("mathvariant")){y.children.push(...z.children);continue}else if(z.type==="mn"&&y.type==="mn"){y.children.push(...z.children);continue}else if(Rl(z)&&y.type==="mn"){y.children.push(...z.children);continue}else if(z.type==="mn"&&Rl(y))z.children=[...y.children,...z.children],h.pop();else if((z.type==="msup"||z.type==="msub")&&z.children.length>=1&&(y.type==="mn"||Rl(y))){const E=z.children[0];E instanceof g0&&E.type==="mn"&&(E.children=[...y.children,...E.children],h.pop())}else if(y.type==="mi"&&y.children.length===1){const E=y.children[0];if(E instanceof j0&&E.text==="̸"&&(z.type==="mo"||z.type==="mi"||z.type==="mn")){const I=z.children[0];I instanceof j0&&I.text.length>0&&(I.text=I.text.slice(0,1)+"̸"+I.text.slice(1),h.pop())}}}h.push(z),y=z}return h},kr=function(s,i,o){return Nl(s0(s,i,o))},ot=function(s,i){if(!s)return new he.MathNode("mrow");if(Ci[s.type])return Ci[s.type](s,i);throw new l("Got group of unknown type: '"+s.type+"'")};function fc(s,i,o,h,y){const w=s0(s,o);let z;w.length===1&&w[0]instanceof g0&&["mrow","mtable"].includes(w[0].type)?z=w[0]:z=new he.MathNode("mrow",w);const E=new he.MathNode("annotation",[new he.TextNode(i)]);E.setAttribute("encoding","application/x-tex");const I=new he.MathNode("semantics",[z,E]),H=new he.MathNode("math",[I]);H.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),h&&H.setAttribute("display","block");const G=y?"katex":"katex-mathml";return Z.makeSpan([G],[H])}const gc=function(s){return new qe({style:s.displayMode?R.DISPLAY:R.TEXT,maxSize:s.maxSize,minRuleThickness:s.minRuleThickness})},yc=function(s,i){if(i.displayMode){const o=["katex-display"];i.leqno&&o.push("leqno"),i.fleqn&&o.push("fleqn"),s=Z.makeSpan(o,[s])}return s},Jp=function(s,i,o){const h=gc(o);let y;if(o.output==="mathml")return fc(s,i,h,o.displayMode,!0);if(o.output==="html"){const w=Bl(s,h);y=Z.makeSpan(["katex"],[w])}else{const w=fc(s,i,h,o.displayMode,!1),z=Bl(s,h);y=Z.makeSpan(["katex"],[w,z])}return yc(y,o)},Qp=function(s,i,o){const h=gc(o),y=Bl(s,h),w=Z.makeSpan(["katex"],[y]);return yc(w,o)},ef={widehat:"^",widecheck:"ˇ",widetilde:"~",utilde:"~",overleftarrow:"←",underleftarrow:"←",xleftarrow:"←",overrightarrow:"→",underrightarrow:"→",xrightarrow:"→",underbrace:"⏟",overbrace:"⏞",overgroup:"⏠",undergroup:"⏡",overleftrightarrow:"↔",underleftrightarrow:"↔",xleftrightarrow:"↔",Overrightarrow:"⇒",xRightarrow:"⇒",overleftharpoon:"↼",xleftharpoonup:"↼",overrightharpoon:"⇀",xrightharpoonup:"⇀",xLeftarrow:"⇐",xLeftrightarrow:"⇔",xhookleftarrow:"↩",xhookrightarrow:"↪",xmapsto:"↦",xrightharpoondown:"⇁",xleftharpoondown:"↽",xrightleftharpoons:"⇌",xleftrightharpoons:"⇋",xtwoheadleftarrow:"↞",xtwoheadrightarrow:"↠",xlongequal:"=",xtofrom:"⇄",xrightleftarrows:"⇄",xrightequilibrium:"⇌",xleftequilibrium:"⇋","\\cdrightarrow":"→","\\cdleftarrow":"←","\\cdlongequal":"="},tf=function(s){const i=new he.MathNode("mo",[new he.TextNode(ef[s.replace(/^\\/,"")])]);return i.setAttribute("stretchy","true"),i},rf={overrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],overleftarrow:[["leftarrow"],.888,522,"xMinYMin"],underrightarrow:[["rightarrow"],.888,522,"xMaxYMin"],underleftarrow:[["leftarrow"],.888,522,"xMinYMin"],xrightarrow:[["rightarrow"],1.469,522,"xMaxYMin"],"\\cdrightarrow":[["rightarrow"],3,522,"xMaxYMin"],xleftarrow:[["leftarrow"],1.469,522,"xMinYMin"],"\\cdleftarrow":[["leftarrow"],3,522,"xMinYMin"],Overrightarrow:[["doublerightarrow"],.888,560,"xMaxYMin"],xRightarrow:[["doublerightarrow"],1.526,560,"xMaxYMin"],xLeftarrow:[["doubleleftarrow"],1.526,560,"xMinYMin"],overleftharpoon:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoonup:[["leftharpoon"],.888,522,"xMinYMin"],xleftharpoondown:[["leftharpoondown"],.888,522,"xMinYMin"],overrightharpoon:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoonup:[["rightharpoon"],.888,522,"xMaxYMin"],xrightharpoondown:[["rightharpoondown"],.888,522,"xMaxYMin"],xlongequal:[["longequal"],.888,334,"xMinYMin"],"\\cdlongequal":[["longequal"],3,334,"xMinYMin"],xtwoheadleftarrow:[["twoheadleftarrow"],.888,334,"xMinYMin"],xtwoheadrightarrow:[["twoheadrightarrow"],.888,334,"xMaxYMin"],overleftrightarrow:[["leftarrow","rightarrow"],.888,522],overbrace:[["leftbrace","midbrace","rightbrace"],1.6,548],underbrace:[["leftbraceunder","midbraceunder","rightbraceunder"],1.6,548],underleftrightarrow:[["leftarrow","rightarrow"],.888,522],xleftrightarrow:[["leftarrow","rightarrow"],1.75,522],xLeftrightarrow:[["doubleleftarrow","doublerightarrow"],1.75,560],xrightleftharpoons:[["leftharpoondownplus","rightharpoonplus"],1.75,716],xleftrightharpoons:[["leftharpoonplus","rightharpoondownplus"],1.75,716],xhookleftarrow:[["leftarrow","righthook"],1.08,522],xhookrightarrow:[["lefthook","rightarrow"],1.08,522],overlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],underlinesegment:[["leftlinesegment","rightlinesegment"],.888,522],overgroup:[["leftgroup","rightgroup"],.888,342],undergroup:[["leftgroupunder","rightgroupunder"],.888,342],xmapsto:[["leftmapsto","rightarrow"],1.5,522],xtofrom:[["leftToFrom","rightToFrom"],1.75,528],xrightleftarrows:[["baraboveleftarrow","rightarrowabovebar"],1.75,901],xrightequilibrium:[["baraboveshortleftharpoon","rightharpoonaboveshortbar"],1.75,716],xleftequilibrium:[["shortbaraboveleftharpoon","shortrightharpoonabovebar"],1.75,716]},nf=function(s){return s.type==="ordgroup"?s.body.length:1};var or={encloseSpan:function(s,i,o,h,y){let w;const z=s.height+s.depth+o+h;if(/fbox|color|angl/.test(i)){if(w=Z.makeSpan(["stretchy",i],[],y),i==="fbox"){const E=y.color&&y.getColor();E&&(w.style.borderColor=E)}}else{const E=[];/^[bx]cancel$/.test(i)&&E.push(new En({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(i)&&E.push(new En({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));const I=new C0(E,{width:"100%",height:me(z)});w=Z.makeSvgSpan([],[I],y)}return w.height=z,w.style.height=me(z),w},mathMLnode:tf,svgSpan:function(s,i){function o(){let z=4e5;const E=s.label.slice(1);if(["widehat","widecheck","widetilde","utilde"].includes(E)){const H=nf(s.base);let G,U,J;if(H>5)E==="widehat"||E==="widecheck"?(G=420,z=2364,J=.42,U=E+"4"):(G=312,z=2340,J=.34,U="tilde4");else{const Ce=[1,1,2,2,3,3][H];E==="widehat"||E==="widecheck"?(z=[0,1062,2364,2364,2364][Ce],G=[0,239,300,360,420][Ce],J=[0,.24,.3,.3,.36,.42][Ce],U=E+Ce):(z=[0,600,1033,2339,2340][Ce],G=[0,260,286,306,312][Ce],J=[0,.26,.286,.3,.306,.34][Ce],U="tilde"+Ce)}const ie=new E0(U),ze=new C0([ie],{width:"100%",height:me(J),viewBox:"0 0 "+z+" "+G,preserveAspectRatio:"none"});return{span:Z.makeSvgSpan([],[ze],i),minWidth:0,height:J}}else{const I=[],H=rf[E],[G,U,J]=H,ie=J/1e3,ze=G.length;let Ce,Ue;if(ze===1){const Ve=H[3];Ce=["hide-tail"],Ue=[Ve]}else if(ze===2)Ce=["halfarrow-left","halfarrow-right"],Ue=["xMinYMin","xMaxYMin"];else if(ze===3)Ce=["brace-left","brace-center","brace-right"],Ue=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support
579
+ `+ze+" children.");for(let Ve=0;Ve<ze;Ve++){const We=new E0(G[Ve]),tt=new C0([We],{width:"400em",height:me(ie),viewBox:"0 0 "+z+" "+J,preserveAspectRatio:Ue[Ve]+" slice"}),pt=Z.makeSvgSpan([Ce[Ve]],[tt],i);if(ze===1)return{span:pt,minWidth:U,height:ie};pt.style.height=me(ie),I.push(pt)}return{span:Z.makeSpan(["stretchy"],I,i),minWidth:U,height:ie}}}const{span:h,minWidth:y,height:w}=o();return h.height=w,h.style.height=me(w),y>0&&(h.style.minWidth=me(y)),h}};function Pe(s,i){if(!s||s.type!==i)throw new Error("Expected node of type "+i+", but got "+(s?"node of type "+s.type:String(s)));return s}function _l(s){const i=Bi(s);if(!i)throw new Error("Expected node of symbol group type, but got "+(s?"node of type "+s.type:String(s)));return i}function Bi(s){return s&&(s.type==="atom"||zl.hasOwnProperty(s.type))?s:null}const ql=(s,i)=>{let o,h,y;s&&s.type==="supsub"?(h=Pe(s.base,"accent"),o=h.base,s.base=o,y=Si(Ze(s,i)),s.base=h):(h=Pe(s,"accent"),o=h.base);const w=Ze(o,i.havingCrampedStyle()),z=h.isShifty&&O.isCharacterBox(o);let E=0;if(z){const J=O.getBaseElem(o),ie=Ze(J,i.havingCrampedStyle());E=Dn(ie).skew}const I=h.label==="\\c";let H=I?w.height+w.depth:Math.min(w.height,i.fontMetrics().xHeight),G;if(h.isStretchy)G=or.svgSpan(h,i),G=Z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:w},{type:"elem",elem:G,wrapperClasses:["svg-align"],wrapperStyle:E>0?{width:"calc(100% - "+me(2*E)+")",marginLeft:me(2*E)}:void 0}]},i);else{let J,ie;h.label==="\\vec"?(J=Z.staticSvg("vec",i),ie=Z.svgData.vec[1]):(J=Z.makeOrd({mode:h.mode,text:h.label},i,"textord"),J=Dn(J),J.italic=0,ie=J.width,I&&(H+=J.depth)),G=Z.makeSpan(["accent-body"],[J]);const ze=h.label==="\\textcircled";ze&&(G.classes.push("accent-full"),H=w.height);let Ce=E;ze||(Ce-=ie/2),G.style.left=me(Ce),h.label==="\\textcircled"&&(G.style.top=".2em"),G=Z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:w},{type:"kern",size:-H},{type:"elem",elem:G}]},i)}const U=Z.makeSpan(["mord","accent"],[G],i);return y?(y.children[0]=U,y.height=Math.max(U.height,y.height),y.classes[0]="mord",y):U},bc=(s,i)=>{const o=s.isStretchy?or.mathMLnode(s.label):new he.MathNode("mo",[S0(s.label,s.mode)]),h=new he.MathNode("mover",[ot(s.base,i),o]);return h.setAttribute("accent","true"),h},af=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(s=>"\\"+s).join("|"));Se({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:(s,i)=>{const o=Ei(i[0]),h=!af.test(s.funcName),y=!h||s.funcName==="\\widehat"||s.funcName==="\\widetilde"||s.funcName==="\\widecheck";return{type:"accent",mode:s.parser.mode,label:s.funcName,isStretchy:h,isShifty:y,base:o}},htmlBuilder:ql,mathmlBuilder:bc}),Se({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(s,i)=>{const o=i[0];let h=s.parser.mode;return h==="math"&&(s.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+s.funcName+" works only in text mode"),h="text"),{type:"accent",mode:h,label:s.funcName,isStretchy:!1,isShifty:!0,base:o}},htmlBuilder:ql,mathmlBuilder:bc}),Se({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(s,i)=>{let{parser:o,funcName:h}=s;const y=i[0];return{type:"accentUnder",mode:o.mode,label:h,base:y}},htmlBuilder:(s,i)=>{const o=Ze(s.base,i),h=or.svgSpan(s,i),y=s.label==="\\utilde"?.12:0,w=Z.makeVList({positionType:"top",positionData:o.height,children:[{type:"elem",elem:h,wrapperClasses:["svg-align"]},{type:"kern",size:y},{type:"elem",elem:o}]},i);return Z.makeSpan(["mord","accentunder"],[w],i)},mathmlBuilder:(s,i)=>{const o=or.mathMLnode(s.label),h=new he.MathNode("munder",[ot(s.base,i),o]);return h.setAttribute("accentunder","true"),h}});const Ni=s=>{const i=new he.MathNode("mpadded",s?[s]:[]);return i.setAttribute("width","+0.6em"),i.setAttribute("lspace","0.3em"),i};Se({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(s,i,o){let{parser:h,funcName:y}=s;return{type:"xArrow",mode:h.mode,label:y,body:i[0],below:o[0]}},htmlBuilder(s,i){const o=i.style;let h=i.havingStyle(o.sup());const y=Z.wrapFragment(Ze(s.body,h,i),i),w=s.label.slice(0,2)==="\\x"?"x":"cd";y.classes.push(w+"-arrow-pad");let z;s.below&&(h=i.havingStyle(o.sub()),z=Z.wrapFragment(Ze(s.below,h,i),i),z.classes.push(w+"-arrow-pad"));const E=or.svgSpan(s,i),I=-i.fontMetrics().axisHeight+.5*E.height;let H=-i.fontMetrics().axisHeight-.5*E.height-.111;(y.depth>.25||s.label==="\\xleftequilibrium")&&(H-=y.depth);let G;if(z){const U=-i.fontMetrics().axisHeight+z.height+.5*E.height+.111;G=Z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:y,shift:H},{type:"elem",elem:E,shift:I},{type:"elem",elem:z,shift:U}]},i)}else G=Z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:y,shift:H},{type:"elem",elem:E,shift:I}]},i);return G.children[0].children[0].children[1].classes.push("svg-align"),Z.makeSpan(["mrel","x-arrow"],[G],i)},mathmlBuilder(s,i){const o=or.mathMLnode(s.label);o.setAttribute("minsize",s.label.charAt(0)==="x"?"1.75em":"3.0em");let h;if(s.body){const y=Ni(ot(s.body,i));if(s.below){const w=Ni(ot(s.below,i));h=new he.MathNode("munderover",[o,w,y])}else h=new he.MathNode("mover",[o,y])}else if(s.below){const y=Ni(ot(s.below,i));h=new he.MathNode("munder",[o,y])}else h=Ni(),h=new he.MathNode("mover",[o,h]);return h}});const lf=Z.makeSpan;function xc(s,i){const o=Rt(s.body,i,!0);return lf([s.mclass],o,i)}function vc(s,i){let o;const h=s0(s.body,i);return s.mclass==="minner"?o=new he.MathNode("mpadded",h):s.mclass==="mord"?s.isCharacterBox?(o=h[0],o.type="mi"):o=new he.MathNode("mi",h):(s.isCharacterBox?(o=h[0],o.type="mo"):o=new he.MathNode("mo",h),s.mclass==="mbin"?(o.attributes.lspace="0.22em",o.attributes.rspace="0.22em"):s.mclass==="mpunct"?(o.attributes.lspace="0em",o.attributes.rspace="0.17em"):s.mclass==="mopen"||s.mclass==="mclose"?(o.attributes.lspace="0em",o.attributes.rspace="0em"):s.mclass==="minner"&&(o.attributes.lspace="0.0556em",o.attributes.width="+0.1111em")),o}Se({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(s,i){let{parser:o,funcName:h}=s;const y=i[0];return{type:"mclass",mode:o.mode,mclass:"m"+h.slice(5),body:Tt(y),isCharacterBox:O.isCharacterBox(y)}},htmlBuilder:xc,mathmlBuilder:vc});const Ii=s=>{const i=s.type==="ordgroup"&&s.body.length?s.body[0]:s;return i.type==="atom"&&(i.family==="bin"||i.family==="rel")?"m"+i.family:"mord"};Se({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(s,i){let{parser:o}=s;return{type:"mclass",mode:o.mode,mclass:Ii(i[0]),body:Tt(i[1]),isCharacterBox:O.isCharacterBox(i[1])}}}),Se({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(s,i){let{parser:o,funcName:h}=s;const y=i[1],w=i[0];let z;h!=="\\stackrel"?z=Ii(y):z="mrel";const E={type:"op",mode:y.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:h!=="\\stackrel",body:Tt(y)},I={type:"supsub",mode:w.mode,base:E,sup:h==="\\underset"?null:w,sub:h==="\\underset"?w:null};return{type:"mclass",mode:o.mode,mclass:z,body:[I],isCharacterBox:O.isCharacterBox(I)}},htmlBuilder:xc,mathmlBuilder:vc}),Se({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(s,i){let{parser:o}=s;return{type:"pmb",mode:o.mode,mclass:Ii(i[0]),body:Tt(i[0])}},htmlBuilder(s,i){const o=Rt(s.body,i,!0),h=Z.makeSpan([s.mclass],o,i);return h.style.textShadow="0.02em 0.01em 0.04px",h},mathmlBuilder(s,i){const o=s0(s.body,i),h=new he.MathNode("mstyle",o);return h.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),h}});const sf={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},wc=()=>({type:"styling",body:[],mode:"math",style:"display"}),kc=s=>s.type==="textord"&&s.text==="@",of=(s,i)=>(s.type==="mathord"||s.type==="atom")&&s.text===i;function uf(s,i,o){const h=sf[s];switch(h){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return o.callFunction(h,[i[0]],[i[1]]);case"\\uparrow":case"\\downarrow":{const y=o.callFunction("\\\\cdleft",[i[0]],[]),w={type:"atom",text:h,mode:"math",family:"rel"},z=o.callFunction("\\Big",[w],[]),E=o.callFunction("\\\\cdright",[i[1]],[]),I={type:"ordgroup",mode:"math",body:[y,z,E]};return o.callFunction("\\\\cdparent",[I],[])}case"\\\\cdlongequal":return o.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{const y={type:"textord",text:"\\Vert",mode:"math"};return o.callFunction("\\Big",[y],[])}default:return{type:"textord",text:" ",mode:"math"}}}function cf(s){const i=[];for(s.gullet.beginGroup(),s.gullet.macros.set("\\cr","\\\\\\relax"),s.gullet.beginGroup();;){i.push(s.parseExpression(!1,"\\\\")),s.gullet.endGroup(),s.gullet.beginGroup();const w=s.fetch().text;if(w==="&"||w==="\\\\")s.consume();else if(w==="\\end"){i[i.length-1].length===0&&i.pop();break}else throw new l("Expected \\\\ or \\cr or \\end",s.nextToken)}let o=[];const h=[o];for(let w=0;w<i.length;w++){const z=i[w];let E=wc();for(let I=0;I<z.length;I++)if(!kc(z[I]))E.body.push(z[I]);else{o.push(E),I+=1;const H=_l(z[I]).text,G=new Array(2);if(G[0]={type:"ordgroup",mode:"math",body:[]},G[1]={type:"ordgroup",mode:"math",body:[]},!("=|.".indexOf(H)>-1))if("<>AV".indexOf(H)>-1)for(let ie=0;ie<2;ie++){let ze=!0;for(let Ce=I+1;Ce<z.length;Ce++){if(of(z[Ce],H)){ze=!1,I=Ce;break}if(kc(z[Ce]))throw new l("Missing a "+H+" character to complete a CD arrow.",z[Ce]);G[ie].body.push(z[Ce])}if(ze)throw new l("Missing a "+H+" character to complete a CD arrow.",z[I])}else throw new l('Expected one of "<>AV=|." after @',z[I]);const J={type:"styling",body:[uf(H,G,s)],mode:"math",style:"display"};o.push(J),E=wc()}w%2===0?o.push(E):o.shift(),o=[],h.push(o)}s.gullet.endGroup(),s.gullet.endGroup();const y=new Array(h[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:h,arraystretch:1,addJot:!0,rowGaps:[null],cols:y,colSeparationType:"CD",hLinesBeforeRow:new Array(h.length+1).fill([])}}Se({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(s,i){let{parser:o,funcName:h}=s;return{type:"cdlabel",mode:o.mode,side:h.slice(4),label:i[0]}},htmlBuilder(s,i){const o=i.havingStyle(i.style.sup()),h=Z.wrapFragment(Ze(s.label,o,i),i);return h.classes.push("cd-label-"+s.side),h.style.bottom=me(.8-h.depth),h.height=0,h.depth=0,h},mathmlBuilder(s,i){let o=new he.MathNode("mrow",[ot(s.label,i)]);return o=new he.MathNode("mpadded",[o]),o.setAttribute("width","0"),s.side==="left"&&o.setAttribute("lspace","-1width"),o.setAttribute("voffset","0.7em"),o=new he.MathNode("mstyle",[o]),o.setAttribute("displaystyle","false"),o.setAttribute("scriptlevel","1"),o}}),Se({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(s,i){let{parser:o}=s;return{type:"cdlabelparent",mode:o.mode,fragment:i[0]}},htmlBuilder(s,i){const o=Z.wrapFragment(Ze(s.fragment,i),i);return o.classes.push("cd-vert-arrow"),o},mathmlBuilder(s,i){return new he.MathNode("mrow",[ot(s.fragment,i)])}}),Se({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(s,i){let{parser:o}=s;const y=Pe(i[0],"ordgroup").body;let w="";for(let I=0;I<y.length;I++){const H=Pe(y[I],"textord");w+=H.text}let z=parseInt(w),E;if(isNaN(z))throw new l("\\@char has non-numeric argument "+w);if(z<0||z>=1114111)throw new l("\\@char with invalid code point "+w);return z<=65535?E=String.fromCharCode(z):(z-=65536,E=String.fromCharCode((z>>10)+55296,(z&1023)+56320)),{type:"textord",mode:o.mode,text:E}}});const Sc=(s,i)=>{const o=Rt(s.body,i.withColor(s.color),!1);return Z.makeFragment(o)},Mc=(s,i)=>{const o=s0(s.body,i.withColor(s.color)),h=new he.MathNode("mstyle",o);return h.setAttribute("mathcolor",s.color),h};Se({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(s,i){let{parser:o}=s;const h=Pe(i[0],"color-token").color,y=i[1];return{type:"color",mode:o.mode,color:h,body:Tt(y)}},htmlBuilder:Sc,mathmlBuilder:Mc}),Se({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(s,i){let{parser:o,breakOnTokenText:h}=s;const y=Pe(i[0],"color-token").color;o.gullet.macros.set("\\current@color",y);const w=o.parseExpression(!0,h);return{type:"color",mode:o.mode,color:y,body:w}},htmlBuilder:Sc,mathmlBuilder:Mc}),Se({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(s,i,o){let{parser:h}=s;const y=h.gullet.future().text==="["?h.parseSizeGroup(!0):null,w=!h.settings.displayMode||!h.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:h.mode,newLine:w,size:y&&Pe(y,"size").value}},htmlBuilder(s,i){const o=Z.makeSpan(["mspace"],[],i);return s.newLine&&(o.classes.push("newline"),s.size&&(o.style.marginTop=me(Xe(s.size,i)))),o},mathmlBuilder(s,i){const o=new he.MathNode("mspace");return s.newLine&&(o.setAttribute("linebreak","newline"),s.size&&o.setAttribute("height",me(Xe(s.size,i)))),o}});const Ol={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Ac=s=>{const i=s.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(i))throw new l("Expected a control sequence",s);return i},hf=s=>{let i=s.gullet.popToken();return i.text==="="&&(i=s.gullet.popToken(),i.text===" "&&(i=s.gullet.popToken())),i},zc=(s,i,o,h)=>{let y=s.gullet.macros.get(o.text);y==null&&(o.noexpand=!0,y={tokens:[o],numArgs:0,unexpandable:!s.gullet.isExpandable(o.text)}),s.gullet.macros.set(i,y,h)};Se({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(s){let{parser:i,funcName:o}=s;i.consumeSpaces();const h=i.fetch();if(Ol[h.text])return(o==="\\global"||o==="\\\\globallong")&&(h.text=Ol[h.text]),Pe(i.parseFunction(),"internal");throw new l("Invalid token after macro prefix",h)}}),Se({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(s){let{parser:i,funcName:o}=s,h=i.gullet.popToken();const y=h.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(y))throw new l("Expected a control sequence",h);let w=0,z;const E=[[]];for(;i.gullet.future().text!=="{";)if(h=i.gullet.popToken(),h.text==="#"){if(i.gullet.future().text==="{"){z=i.gullet.future(),E[w].push("{");break}if(h=i.gullet.popToken(),!/^[1-9]$/.test(h.text))throw new l('Invalid argument number "'+h.text+'"');if(parseInt(h.text)!==w+1)throw new l('Argument number "'+h.text+'" out of order');w++,E.push([])}else{if(h.text==="EOF")throw new l("Expected a macro definition");E[w].push(h.text)}let{tokens:I}=i.gullet.consumeArg();return z&&I.unshift(z),(o==="\\edef"||o==="\\xdef")&&(I=i.gullet.expandTokens(I),I.reverse()),i.gullet.macros.set(y,{tokens:I,numArgs:w,delimiters:E},o===Ol[o]),{type:"internal",mode:i.mode}}}),Se({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(s){let{parser:i,funcName:o}=s;const h=Ac(i.gullet.popToken());i.gullet.consumeSpaces();const y=hf(i);return zc(i,h,y,o==="\\\\globallet"),{type:"internal",mode:i.mode}}}),Se({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(s){let{parser:i,funcName:o}=s;const h=Ac(i.gullet.popToken()),y=i.gullet.popToken(),w=i.gullet.popToken();return zc(i,h,w,o==="\\\\globalfuture"),i.gullet.pushToken(w),i.gullet.pushToken(y),{type:"internal",mode:i.mode}}});const Rn=function(s,i,o){const h=dt.math[s]&&dt.math[s].replace,y=Ir(h||s,i,o);if(!y)throw new Error("Unsupported symbol "+s+" and font size "+i+".");return y},Fl=function(s,i,o,h){const y=o.havingBaseStyle(i),w=Z.makeSpan(h.concat(y.sizingClasses(o)),[s],o),z=y.sizeMultiplier/o.sizeMultiplier;return w.height*=z,w.depth*=z,w.maxFontSize=y.sizeMultiplier,w},Tc=function(s,i,o){const h=i.havingBaseStyle(o),y=(1-i.sizeMultiplier/h.sizeMultiplier)*i.fontMetrics().axisHeight;s.classes.push("delimcenter"),s.style.top=me(y),s.height-=y,s.depth+=y},mf=function(s,i,o,h,y,w){const z=Z.makeSymbol(s,"Main-Regular",y,h),E=Fl(z,i,h,w);return o&&Tc(E,h,i),E},df=function(s,i,o,h){return Z.makeSymbol(s,"Size"+i+"-Regular",o,h)},Cc=function(s,i,o,h,y,w){const z=df(s,i,y,h),E=Fl(Z.makeSpan(["delimsizing","size"+i],[z],h),R.TEXT,h,w);return o&&Tc(E,h,R.TEXT),E},Ll=function(s,i,o){let h;return i==="Size1-Regular"?h="delim-size1":h="delim-size4",{type:"elem",elem:Z.makeSpan(["delimsizinginner",h],[Z.makeSpan([],[Z.makeSymbol(s,i,o)])])}},Pl=function(s,i,o){const h=Bt["Size4-Regular"][s.charCodeAt(0)]?Bt["Size4-Regular"][s.charCodeAt(0)][4]:Bt["Size1-Regular"][s.charCodeAt(0)][4],y=new E0("inner",nr(s,Math.round(1e3*i))),w=new C0([y],{width:me(h),height:me(i),style:"width:"+me(h),viewBox:"0 0 "+1e3*h+" "+Math.round(1e3*i),preserveAspectRatio:"xMinYMin"}),z=Z.makeSvgSpan([],[w],o);return z.height=i,z.style.height=me(i),z.style.width=me(h),{type:"elem",elem:z}},Hl=.008,Ri={type:"kern",size:-1*Hl},pf=["|","\\lvert","\\rvert","\\vert"],ff=["\\|","\\lVert","\\rVert","\\Vert"],Ec=function(s,i,o,h,y,w){let z,E,I,H,G="",U=0;z=I=H=s,E=null;let J="Size1-Regular";s==="\\uparrow"?I=H="⏐":s==="\\Uparrow"?I=H="‖":s==="\\downarrow"?z=I="⏐":s==="\\Downarrow"?z=I="‖":s==="\\updownarrow"?(z="\\uparrow",I="⏐",H="\\downarrow"):s==="\\Updownarrow"?(z="\\Uparrow",I="‖",H="\\Downarrow"):pf.includes(s)?(I="∣",G="vert",U=333):ff.includes(s)?(I="∥",G="doublevert",U=556):s==="["||s==="\\lbrack"?(z="⎡",I="⎢",H="⎣",J="Size4-Regular",G="lbrack",U=667):s==="]"||s==="\\rbrack"?(z="⎤",I="⎥",H="⎦",J="Size4-Regular",G="rbrack",U=667):s==="\\lfloor"||s==="⌊"?(I=z="⎢",H="⎣",J="Size4-Regular",G="lfloor",U=667):s==="\\lceil"||s==="⌈"?(z="⎡",I=H="⎢",J="Size4-Regular",G="lceil",U=667):s==="\\rfloor"||s==="⌋"?(I=z="⎥",H="⎦",J="Size4-Regular",G="rfloor",U=667):s==="\\rceil"||s==="⌉"?(z="⎤",I=H="⎥",J="Size4-Regular",G="rceil",U=667):s==="("||s==="\\lparen"?(z="⎛",I="⎜",H="⎝",J="Size4-Regular",G="lparen",U=875):s===")"||s==="\\rparen"?(z="⎞",I="⎟",H="⎠",J="Size4-Regular",G="rparen",U=875):s==="\\{"||s==="\\lbrace"?(z="⎧",E="⎨",H="⎩",I="⎪",J="Size4-Regular"):s==="\\}"||s==="\\rbrace"?(z="⎫",E="⎬",H="⎭",I="⎪",J="Size4-Regular"):s==="\\lgroup"||s==="⟮"?(z="⎧",H="⎩",I="⎪",J="Size4-Regular"):s==="\\rgroup"||s==="⟯"?(z="⎫",H="⎭",I="⎪",J="Size4-Regular"):s==="\\lmoustache"||s==="⎰"?(z="⎧",H="⎭",I="⎪",J="Size4-Regular"):(s==="\\rmoustache"||s==="⎱")&&(z="⎫",H="⎩",I="⎪",J="Size4-Regular");const ie=Rn(z,J,y),ze=ie.height+ie.depth,Ce=Rn(I,J,y),Ue=Ce.height+Ce.depth,Ve=Rn(H,J,y),We=Ve.height+Ve.depth;let tt=0,pt=1;if(E!==null){const At=Rn(E,J,y);tt=At.height+At.depth,pt=2}const Qt=ze+We+tt,_t=Math.max(0,Math.ceil((i-Qt)/(pt*Ue))),M0=Qt+_t*pt*Ue;let en=h.fontMetrics().axisHeight;o&&(en*=h.sizeMultiplier);const Ke=M0/2-en,nt=[];if(G.length>0){const At=M0-ze-We,kt=Math.round(M0*1e3),A0=f0(G,Math.round(At*1e3)),Hf=new E0(G,A0),x4=(U/1e3).toFixed(3)+"em",v4=(kt/1e3).toFixed(3)+"em",$f=new C0([Hf],{width:x4,height:v4,viewBox:"0 0 "+U+" "+kt}),Li=Z.makeSvgSpan([],[$f],h);Li.height=kt/1e3,Li.style.width=x4,Li.style.height=v4,nt.push({type:"elem",elem:Li})}else{if(nt.push(Ll(H,J,y)),nt.push(Ri),E===null){const At=M0-ze-We+2*Hl;nt.push(Pl(I,At,h))}else{const At=(M0-ze-We-tt)/2+2*Hl;nt.push(Pl(I,At,h)),nt.push(Ri),nt.push(Ll(E,J,y)),nt.push(Ri),nt.push(Pl(I,At,h))}nt.push(Ri),nt.push(Ll(z,J,y))}const ft=h.havingBaseStyle(R.TEXT),yt=Z.makeVList({positionType:"bottom",positionData:Ke,children:nt},ft);return Fl(Z.makeSpan(["delimsizing","mult"],[yt],ft),R.TEXT,h,w)},$l=80,Vl=.08,jl=function(s,i,o,h,y){const w=Nr(s,h,o),z=new E0(s,w),E=new C0([z],{width:"400em",height:me(i),viewBox:"0 0 400000 "+o,preserveAspectRatio:"xMinYMin slice"});return Z.makeSvgSpan(["hide-tail"],[E],y)},gf=function(s,i){const o=i.havingBaseSizing(),h=Ic("\\surd",s*o.sizeMultiplier,Nc,o);let y=o.sizeMultiplier;const w=Math.max(0,i.minRuleThickness-i.fontMetrics().sqrtRuleThickness);let z,E=0,I=0,H=0,G;return h.type==="small"?(H=1e3+1e3*w+$l,s<1?y=1:s<1.4&&(y=.7),E=(1+w+Vl)/y,I=(1+w)/y,z=jl("sqrtMain",E,H,w,i),z.style.minWidth="0.853em",G=.833/y):h.type==="large"?(H=(1e3+$l)*_n[h.size],I=(_n[h.size]+w)/y,E=(_n[h.size]+w+Vl)/y,z=jl("sqrtSize"+h.size,E,H,w,i),z.style.minWidth="1.02em",G=1/y):(E=s+w+Vl,I=s+w,H=Math.floor(1e3*s+w)+$l,z=jl("sqrtTall",E,H,w,i),z.style.minWidth="0.742em",G=1.056),z.height=I,z.style.height=me(E),{span:z,advanceWidth:G,ruleWidth:(i.fontMetrics().sqrtRuleThickness+w)*y}},Dc=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],yf=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],Bc=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],_n=[0,1.2,1.8,2.4,3],bf=function(s,i,o,h,y){if(s==="<"||s==="\\lt"||s==="⟨"?s="\\langle":(s===">"||s==="\\gt"||s==="⟩")&&(s="\\rangle"),Dc.includes(s)||Bc.includes(s))return Cc(s,i,!1,o,h,y);if(yf.includes(s))return Ec(s,_n[i],!1,o,h,y);throw new l("Illegal delimiter: '"+s+"'")},xf=[{type:"small",style:R.SCRIPTSCRIPT},{type:"small",style:R.SCRIPT},{type:"small",style:R.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],vf=[{type:"small",style:R.SCRIPTSCRIPT},{type:"small",style:R.SCRIPT},{type:"small",style:R.TEXT},{type:"stack"}],Nc=[{type:"small",style:R.SCRIPTSCRIPT},{type:"small",style:R.SCRIPT},{type:"small",style:R.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],wf=function(s){if(s.type==="small")return"Main-Regular";if(s.type==="large")return"Size"+s.size+"-Regular";if(s.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+s.type+"' here.")},Ic=function(s,i,o,h){const y=Math.min(2,3-h.style.size);for(let w=y;w<o.length&&o[w].type!=="stack";w++){const z=Rn(s,wf(o[w]),"math");let E=z.height+z.depth;if(o[w].type==="small"){const I=h.havingBaseStyle(o[w].style);E*=I.sizeMultiplier}if(E>i)return o[w]}return o[o.length-1]},Rc=function(s,i,o,h,y,w){s==="<"||s==="\\lt"||s==="⟨"?s="\\langle":(s===">"||s==="\\gt"||s==="⟩")&&(s="\\rangle");let z;Bc.includes(s)?z=xf:Dc.includes(s)?z=Nc:z=vf;const E=Ic(s,i,z,h);return E.type==="small"?mf(s,E.style,o,h,y,w):E.type==="large"?Cc(s,E.size,o,h,y,w):Ec(s,i,o,h,y,w)};var ur={sqrtImage:gf,sizedDelim:bf,sizeToMaxHeight:_n,customSizedDelim:Rc,leftRightDelim:function(s,i,o,h,y,w){const z=h.fontMetrics().axisHeight*h.sizeMultiplier,E=901,I=5/h.fontMetrics().ptPerEm,H=Math.max(i-z,o+z),G=Math.max(H/500*E,2*H-I);return Rc(s,G,!0,h,y,w)}};const _c={"\\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}},kf=["(","\\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 _i(s,i){const o=Bi(s);if(o&&kf.includes(o.text))return o;throw o?new l("Invalid delimiter '"+o.text+"' after '"+i.funcName+"'",s):new l("Invalid delimiter type '"+s.type+"'",s)}Se({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:(s,i)=>{const o=_i(i[0],s);return{type:"delimsizing",mode:s.parser.mode,size:_c[s.funcName].size,mclass:_c[s.funcName].mclass,delim:o.text}},htmlBuilder:(s,i)=>s.delim==="."?Z.makeSpan([s.mclass]):ur.sizedDelim(s.delim,s.size,i,s.mode,[s.mclass]),mathmlBuilder:s=>{const i=[];s.delim!=="."&&i.push(S0(s.delim,s.mode));const o=new he.MathNode("mo",i);s.mclass==="mopen"||s.mclass==="mclose"?o.setAttribute("fence","true"):o.setAttribute("fence","false"),o.setAttribute("stretchy","true");const h=me(ur.sizeToMaxHeight[s.size]);return o.setAttribute("minsize",h),o.setAttribute("maxsize",h),o}});function qc(s){if(!s.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}Se({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(s,i)=>{const o=s.parser.gullet.macros.get("\\current@color");if(o&&typeof o!="string")throw new l("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:s.parser.mode,delim:_i(i[0],s).text,color:o}}}),Se({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(s,i)=>{const o=_i(i[0],s),h=s.parser;++h.leftrightDepth;const y=h.parseExpression(!1);--h.leftrightDepth,h.expect("\\right",!1);const w=Pe(h.parseFunction(),"leftright-right");return{type:"leftright",mode:h.mode,body:y,left:o.text,right:w.delim,rightColor:w.color}},htmlBuilder:(s,i)=>{qc(s);const o=Rt(s.body,i,!0,["mopen","mclose"]);let h=0,y=0,w=!1;for(let I=0;I<o.length;I++)o[I].isMiddle?w=!0:(h=Math.max(o[I].height,h),y=Math.max(o[I].depth,y));h*=i.sizeMultiplier,y*=i.sizeMultiplier;let z;if(s.left==="."?z=In(i,["mopen"]):z=ur.leftRightDelim(s.left,h,y,i,s.mode,["mopen"]),o.unshift(z),w)for(let I=1;I<o.length;I++){const G=o[I].isMiddle;G&&(o[I]=ur.leftRightDelim(G.delim,h,y,G.options,s.mode,[]))}let E;if(s.right===".")E=In(i,["mclose"]);else{const I=s.rightColor?i.withColor(s.rightColor):i;E=ur.leftRightDelim(s.right,h,y,I,s.mode,["mclose"])}return o.push(E),Z.makeSpan(["minner"],o,i)},mathmlBuilder:(s,i)=>{qc(s);const o=s0(s.body,i);if(s.left!=="."){const h=new he.MathNode("mo",[S0(s.left,s.mode)]);h.setAttribute("fence","true"),o.unshift(h)}if(s.right!=="."){const h=new he.MathNode("mo",[S0(s.right,s.mode)]);h.setAttribute("fence","true"),s.rightColor&&h.setAttribute("mathcolor",s.rightColor),o.push(h)}return Nl(o)}}),Se({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(s,i)=>{const o=_i(i[0],s);if(!s.parser.leftrightDepth)throw new l("\\middle without preceding \\left",o);return{type:"middle",mode:s.parser.mode,delim:o.text}},htmlBuilder:(s,i)=>{let o;if(s.delim===".")o=In(i,[]);else{o=ur.sizedDelim(s.delim,1,i,s.mode,[]);const h={delim:s.delim,options:i};o.isMiddle=h}return o},mathmlBuilder:(s,i)=>{const o=s.delim==="\\vert"||s.delim==="|"?S0("|","text"):S0(s.delim,s.mode),h=new he.MathNode("mo",[o]);return h.setAttribute("fence","true"),h.setAttribute("lspace","0.05em"),h.setAttribute("rspace","0.05em"),h}});const Gl=(s,i)=>{const o=Z.wrapFragment(Ze(s.body,i),i),h=s.label.slice(1);let y=i.sizeMultiplier,w,z=0;const E=O.isCharacterBox(s.body);if(h==="sout")w=Z.makeSpan(["stretchy","sout"]),w.height=i.fontMetrics().defaultRuleThickness/y,z=-.5*i.fontMetrics().xHeight;else if(h==="phase"){const H=Xe({number:.6,unit:"pt"},i),G=Xe({number:.35,unit:"ex"},i),U=i.havingBaseSizing();y=y/U.sizeMultiplier;const J=o.height+o.depth+H+G;o.style.paddingLeft=me(J/2+H);const ie=Math.floor(1e3*J*y),ze=L0(ie),Ce=new C0([new E0("phase",ze)],{width:"400em",height:me(ie/1e3),viewBox:"0 0 400000 "+ie,preserveAspectRatio:"xMinYMin slice"});w=Z.makeSvgSpan(["hide-tail"],[Ce],i),w.style.height=me(J),z=o.depth+H+G}else{/cancel/.test(h)?E||o.classes.push("cancel-pad"):h==="angl"?o.classes.push("anglpad"):o.classes.push("boxpad");let H=0,G=0,U=0;/box/.test(h)?(U=Math.max(i.fontMetrics().fboxrule,i.minRuleThickness),H=i.fontMetrics().fboxsep+(h==="colorbox"?0:U),G=H):h==="angl"?(U=Math.max(i.fontMetrics().defaultRuleThickness,i.minRuleThickness),H=4*U,G=Math.max(0,.25-o.depth)):(H=E?.2:0,G=H),w=or.encloseSpan(o,h,H,G,i),/fbox|boxed|fcolorbox/.test(h)?(w.style.borderStyle="solid",w.style.borderWidth=me(U)):h==="angl"&&U!==.049&&(w.style.borderTopWidth=me(U),w.style.borderRightWidth=me(U)),z=o.depth+G,s.backgroundColor&&(w.style.backgroundColor=s.backgroundColor,s.borderColor&&(w.style.borderColor=s.borderColor))}let I;if(s.backgroundColor)I=Z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:w,shift:z},{type:"elem",elem:o,shift:0}]},i);else{const H=/cancel|phase/.test(h)?["svg-align"]:[];I=Z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:o,shift:0},{type:"elem",elem:w,shift:z,wrapperClasses:H}]},i)}return/cancel/.test(h)&&(I.height=o.height,I.depth=o.depth),/cancel/.test(h)&&!E?Z.makeSpan(["mord","cancel-lap"],[I],i):Z.makeSpan(["mord"],[I],i)},Ul=(s,i)=>{let o=0;const h=new he.MathNode(s.label.indexOf("colorbox")>-1?"mpadded":"menclose",[ot(s.body,i)]);switch(s.label){case"\\cancel":h.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":h.setAttribute("notation","downdiagonalstrike");break;case"\\phase":h.setAttribute("notation","phasorangle");break;case"\\sout":h.setAttribute("notation","horizontalstrike");break;case"\\fbox":h.setAttribute("notation","box");break;case"\\angl":h.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(o=i.fontMetrics().fboxsep*i.fontMetrics().ptPerEm,h.setAttribute("width","+"+2*o+"pt"),h.setAttribute("height","+"+2*o+"pt"),h.setAttribute("lspace",o+"pt"),h.setAttribute("voffset",o+"pt"),s.label==="\\fcolorbox"){const y=Math.max(i.fontMetrics().fboxrule,i.minRuleThickness);h.setAttribute("style","border: "+y+"em solid "+String(s.borderColor))}break;case"\\xcancel":h.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return s.backgroundColor&&h.setAttribute("mathbackground",s.backgroundColor),h};Se({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(s,i,o){let{parser:h,funcName:y}=s;const w=Pe(i[0],"color-token").color,z=i[1];return{type:"enclose",mode:h.mode,label:y,backgroundColor:w,body:z}},htmlBuilder:Gl,mathmlBuilder:Ul}),Se({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(s,i,o){let{parser:h,funcName:y}=s;const w=Pe(i[0],"color-token").color,z=Pe(i[1],"color-token").color,E=i[2];return{type:"enclose",mode:h.mode,label:y,backgroundColor:z,borderColor:w,body:E}},htmlBuilder:Gl,mathmlBuilder:Ul}),Se({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(s,i){let{parser:o}=s;return{type:"enclose",mode:o.mode,label:"\\fbox",body:i[0]}}}),Se({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(s,i){let{parser:o,funcName:h}=s;const y=i[0];return{type:"enclose",mode:o.mode,label:h,body:y}},htmlBuilder:Gl,mathmlBuilder:Ul}),Se({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(s,i){let{parser:o}=s;return{type:"enclose",mode:o.mode,label:"\\angl",body:i[0]}}});const Oc={};function G0(s){let{type:i,names:o,props:h,handler:y,htmlBuilder:w,mathmlBuilder:z}=s;const E={type:i,numArgs:h.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:y};for(let I=0;I<o.length;++I)Oc[o[I]]=E;w&&(Ti[i]=w),z&&(Ci[i]=z)}const Fc={};function B(s,i){Fc[s]=i}class o0{constructor(i,o,h){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=i,this.start=o,this.end=h}static range(i,o){return o?!i||!i.loc||!o.loc||i.loc.lexer!==o.loc.lexer?null:new o0(i.loc.lexer,i.loc.start,o.loc.end):i&&i.loc}}class y0{constructor(i,o){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=i,this.loc=o}range(i,o){return new y0(o,o0.range(this,i))}}function Lc(s){const i=[];s.consumeSpaces();let o=s.fetch().text;for(o==="\\relax"&&(s.consume(),s.consumeSpaces(),o=s.fetch().text);o==="\\hline"||o==="\\hdashline";)s.consume(),i.push(o==="\\hdashline"),s.consumeSpaces(),o=s.fetch().text;return i}const qi=s=>{if(!s.parser.settings.displayMode)throw new l("{"+s.envName+"} can be used only in display mode.")};function Wl(s){if(s.indexOf("ed")===-1)return s.indexOf("*")===-1}function Sr(s,i,o){let{hskipBeforeAndAfter:h,addJot:y,cols:w,arraystretch:z,colSeparationType:E,autoTag:I,singleRow:H,emptySingleRow:G,maxNumCols:U,leqno:J}=i;if(s.gullet.beginGroup(),H||s.gullet.macros.set("\\cr","\\\\\\relax"),!z){const pt=s.gullet.expandMacroAsText("\\arraystretch");if(pt==null)z=1;else if(z=parseFloat(pt),!z||z<0)throw new l("Invalid \\arraystretch: "+pt)}s.gullet.beginGroup();let ie=[];const ze=[ie],Ce=[],Ue=[],Ve=I!=null?[]:void 0;function We(){I&&s.gullet.macros.set("\\@eqnsw","1",!0)}function tt(){Ve&&(s.gullet.macros.get("\\df@tag")?(Ve.push(s.subparse([new y0("\\df@tag")])),s.gullet.macros.set("\\df@tag",void 0,!0)):Ve.push(!!I&&s.gullet.macros.get("\\@eqnsw")==="1"))}for(We(),Ue.push(Lc(s));;){let pt=s.parseExpression(!1,H?"\\end":"\\\\");s.gullet.endGroup(),s.gullet.beginGroup(),pt={type:"ordgroup",mode:s.mode,body:pt},o&&(pt={type:"styling",mode:s.mode,style:o,body:[pt]}),ie.push(pt);const Qt=s.fetch().text;if(Qt==="&"){if(U&&ie.length===U){if(H||E)throw new l("Too many tab characters: &",s.nextToken);s.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}s.consume()}else if(Qt==="\\end"){tt(),ie.length===1&&pt.type==="styling"&&pt.body[0].body.length===0&&(ze.length>1||!G)&&ze.pop(),Ue.length<ze.length+1&&Ue.push([]);break}else if(Qt==="\\\\"){s.consume();let _t;s.gullet.future().text!==" "&&(_t=s.parseSizeGroup(!0)),Ce.push(_t?_t.value:null),tt(),Ue.push(Lc(s)),ie=[],ze.push(ie),We()}else throw new l("Expected & or \\\\ or \\cr or \\end",s.nextToken)}return s.gullet.endGroup(),s.gullet.endGroup(),{type:"array",mode:s.mode,addJot:y,arraystretch:z,body:ze,cols:w,rowGaps:Ce,hskipBeforeAndAfter:h,hLinesBeforeRow:Ue,colSeparationType:E,tags:Ve,leqno:J}}function Yl(s){return s.slice(0,1)==="d"?"display":"text"}const U0=function(s,i){let o,h;const y=s.body.length,w=s.hLinesBeforeRow;let z=0,E=new Array(y);const I=[],H=Math.max(i.fontMetrics().arrayRuleWidth,i.minRuleThickness),G=1/i.fontMetrics().ptPerEm;let U=5*G;s.colSeparationType&&s.colSeparationType==="small"&&(U=.2778*(i.havingStyle(R.SCRIPT).sizeMultiplier/i.sizeMultiplier));const J=s.colSeparationType==="CD"?Xe({number:3,unit:"ex"},i):12*G,ie=3*G,ze=s.arraystretch*J,Ce=.7*ze,Ue=.3*ze;let Ve=0;function We(Ke){for(let nt=0;nt<Ke.length;++nt)nt>0&&(Ve+=.25),I.push({pos:Ve,isDashed:Ke[nt]})}for(We(w[0]),o=0;o<s.body.length;++o){const Ke=s.body[o];let nt=Ce,ft=Ue;z<Ke.length&&(z=Ke.length);const yt=new Array(Ke.length);for(h=0;h<Ke.length;++h){const A0=Ze(Ke[h],i);ft<A0.depth&&(ft=A0.depth),nt<A0.height&&(nt=A0.height),yt[h]=A0}const At=s.rowGaps[o];let kt=0;At&&(kt=Xe(At,i),kt>0&&(kt+=Ue,ft<kt&&(ft=kt),kt=0)),s.addJot&&(ft+=ie),yt.height=nt,yt.depth=ft,Ve+=nt,yt.pos=Ve,Ve+=ft+kt,E[o]=yt,We(w[o+1])}const tt=Ve/2+i.fontMetrics().axisHeight,pt=s.cols||[],Qt=[];let _t,M0;const en=[];if(s.tags&&s.tags.some(Ke=>Ke))for(o=0;o<y;++o){const Ke=E[o],nt=Ke.pos-tt,ft=s.tags[o];let yt;ft===!0?yt=Z.makeSpan(["eqn-num"],[],i):ft===!1?yt=Z.makeSpan([],[],i):yt=Z.makeSpan([],Rt(ft,i,!0),i),yt.depth=Ke.depth,yt.height=Ke.height,en.push({type:"elem",elem:yt,shift:nt})}for(h=0,M0=0;h<z||M0<pt.length;++h,++M0){let Ke=pt[M0]||{},nt=!0;for(;Ke.type==="separator";){if(nt||(_t=Z.makeSpan(["arraycolsep"],[]),_t.style.width=me(i.fontMetrics().doubleRuleSep),Qt.push(_t)),Ke.separator==="|"||Ke.separator===":"){const At=Ke.separator==="|"?"solid":"dashed",kt=Z.makeSpan(["vertical-separator"],[],i);kt.style.height=me(Ve),kt.style.borderRightWidth=me(H),kt.style.borderRightStyle=At,kt.style.margin="0 "+me(-H/2);const A0=Ve-tt;A0&&(kt.style.verticalAlign=me(-A0)),Qt.push(kt)}else throw new l("Invalid separator type: "+Ke.separator);M0++,Ke=pt[M0]||{},nt=!1}if(h>=z)continue;let ft;(h>0||s.hskipBeforeAndAfter)&&(ft=O.deflt(Ke.pregap,U),ft!==0&&(_t=Z.makeSpan(["arraycolsep"],[]),_t.style.width=me(ft),Qt.push(_t)));let yt=[];for(o=0;o<y;++o){const At=E[o],kt=At[h];if(!kt)continue;const A0=At.pos-tt;kt.depth=At.depth,kt.height=At.height,yt.push({type:"elem",elem:kt,shift:A0})}yt=Z.makeVList({positionType:"individualShift",children:yt},i),yt=Z.makeSpan(["col-align-"+(Ke.align||"c")],[yt]),Qt.push(yt),(h<z-1||s.hskipBeforeAndAfter)&&(ft=O.deflt(Ke.postgap,U),ft!==0&&(_t=Z.makeSpan(["arraycolsep"],[]),_t.style.width=me(ft),Qt.push(_t)))}if(E=Z.makeSpan(["mtable"],Qt),I.length>0){const Ke=Z.makeLineSpan("hline",i,H),nt=Z.makeLineSpan("hdashline",i,H),ft=[{type:"elem",elem:E,shift:0}];for(;I.length>0;){const yt=I.pop(),At=yt.pos-tt;yt.isDashed?ft.push({type:"elem",elem:nt,shift:At}):ft.push({type:"elem",elem:Ke,shift:At})}E=Z.makeVList({positionType:"individualShift",children:ft},i)}if(en.length===0)return Z.makeSpan(["mord"],[E],i);{let Ke=Z.makeVList({positionType:"individualShift",children:en},i);return Ke=Z.makeSpan(["tag"],[Ke],i),Z.makeFragment([E,Ke])}},Sf={c:"center ",l:"left ",r:"right "},W0=function(s,i){const o=[],h=new he.MathNode("mtd",[],["mtr-glue"]),y=new he.MathNode("mtd",[],["mml-eqn-num"]);for(let U=0;U<s.body.length;U++){const J=s.body[U],ie=[];for(let ze=0;ze<J.length;ze++)ie.push(new he.MathNode("mtd",[ot(J[ze],i)]));s.tags&&s.tags[U]&&(ie.unshift(h),ie.push(h),s.leqno?ie.unshift(y):ie.push(y)),o.push(new he.MathNode("mtr",ie))}let w=new he.MathNode("mtable",o);const z=s.arraystretch===.5?.1:.16+s.arraystretch-1+(s.addJot?.09:0);w.setAttribute("rowspacing",me(z));let E="",I="";if(s.cols&&s.cols.length>0){const U=s.cols;let J="",ie=!1,ze=0,Ce=U.length;U[0].type==="separator"&&(E+="top ",ze=1),U[U.length-1].type==="separator"&&(E+="bottom ",Ce-=1);for(let Ue=ze;Ue<Ce;Ue++)U[Ue].type==="align"?(I+=Sf[U[Ue].align],ie&&(J+="none "),ie=!0):U[Ue].type==="separator"&&ie&&(J+=U[Ue].separator==="|"?"solid ":"dashed ",ie=!1);w.setAttribute("columnalign",I.trim()),/[sd]/.test(J)&&w.setAttribute("columnlines",J.trim())}if(s.colSeparationType==="align"){const U=s.cols||[];let J="";for(let ie=1;ie<U.length;ie++)J+=ie%2?"0em ":"1em ";w.setAttribute("columnspacing",J.trim())}else s.colSeparationType==="alignat"||s.colSeparationType==="gather"?w.setAttribute("columnspacing","0em"):s.colSeparationType==="small"?w.setAttribute("columnspacing","0.2778em"):s.colSeparationType==="CD"?w.setAttribute("columnspacing","0.5em"):w.setAttribute("columnspacing","1em");let H="";const G=s.hLinesBeforeRow;E+=G[0].length>0?"left ":"",E+=G[G.length-1].length>0?"right ":"";for(let U=1;U<G.length-1;U++)H+=G[U].length===0?"none ":G[U][0]?"dashed ":"solid ";return/[sd]/.test(H)&&w.setAttribute("rowlines",H.trim()),E!==""&&(w=new he.MathNode("menclose",[w]),w.setAttribute("notation",E.trim())),s.arraystretch&&s.arraystretch<1&&(w=new he.MathNode("mstyle",[w]),w.setAttribute("scriptlevel","1")),w},Pc=function(s,i){s.envName.indexOf("ed")===-1&&qi(s);const o=[],h=s.envName.indexOf("at")>-1?"alignat":"align",y=s.envName==="split",w=Sr(s.parser,{cols:o,addJot:!0,autoTag:y?void 0:Wl(s.envName),emptySingleRow:!0,colSeparationType:h,maxNumCols:y?2:void 0,leqno:s.parser.settings.leqno},"display");let z,E=0;const I={type:"ordgroup",mode:s.mode,body:[]};if(i[0]&&i[0].type==="ordgroup"){let G="";for(let U=0;U<i[0].body.length;U++){const J=Pe(i[0].body[U],"textord");G+=J.text}z=Number(G),E=z*2}const H=!E;w.body.forEach(function(G){for(let U=1;U<G.length;U+=2){const J=Pe(G[U],"styling");Pe(J.body[0],"ordgroup").body.unshift(I)}if(H)E<G.length&&(E=G.length);else{const U=G.length/2;if(z<U)throw new l("Too many math in a row: "+("expected "+z+", but got "+U),G[0])}});for(let G=0;G<E;++G){let U="r",J=0;G%2===1?U="l":G>0&&H&&(J=1),o[G]={type:"align",align:U,pregap:J,postgap:0}}return w.colSeparationType=H?"align":"alignat",w};G0({type:"array",names:["array","darray"],props:{numArgs:1},handler(s,i){const y=(Bi(i[0])?[i[0]]:Pe(i[0],"ordgroup").body).map(function(z){const I=_l(z).text;if("lcr".indexOf(I)!==-1)return{type:"align",align:I};if(I==="|")return{type:"separator",separator:"|"};if(I===":")return{type:"separator",separator:":"};throw new l("Unknown column alignment: "+I,z)}),w={cols:y,hskipBeforeAndAfter:!0,maxNumCols:y.length};return Sr(s.parser,w,Yl(s.envName))},htmlBuilder:U0,mathmlBuilder:W0}),G0({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(s){const i={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[s.envName.replace("*","")];let o="c";const h={hskipBeforeAndAfter:!1,cols:[{type:"align",align:o}]};if(s.envName.charAt(s.envName.length-1)==="*"){const z=s.parser;if(z.consumeSpaces(),z.fetch().text==="["){if(z.consume(),z.consumeSpaces(),o=z.fetch().text,"lcr".indexOf(o)===-1)throw new l("Expected l or c or r",z.nextToken);z.consume(),z.consumeSpaces(),z.expect("]"),z.consume(),h.cols=[{type:"align",align:o}]}}const y=Sr(s.parser,h,Yl(s.envName)),w=Math.max(0,...y.body.map(z=>z.length));return y.cols=new Array(w).fill({type:"align",align:o}),i?{type:"leftright",mode:s.mode,body:[y],left:i[0],right:i[1],rightColor:void 0}:y},htmlBuilder:U0,mathmlBuilder:W0}),G0({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(s){const i={arraystretch:.5},o=Sr(s.parser,i,"script");return o.colSeparationType="small",o},htmlBuilder:U0,mathmlBuilder:W0}),G0({type:"array",names:["subarray"],props:{numArgs:1},handler(s,i){const y=(Bi(i[0])?[i[0]]:Pe(i[0],"ordgroup").body).map(function(z){const I=_l(z).text;if("lc".indexOf(I)!==-1)return{type:"align",align:I};throw new l("Unknown column alignment: "+I,z)});if(y.length>1)throw new l("{subarray} can contain only one column");let w={cols:y,hskipBeforeAndAfter:!1,arraystretch:.5};if(w=Sr(s.parser,w,"script"),w.body.length>0&&w.body[0].length>1)throw new l("{subarray} can contain only one column");return w},htmlBuilder:U0,mathmlBuilder:W0}),G0({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(s){const i={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},o=Sr(s.parser,i,Yl(s.envName));return{type:"leftright",mode:s.mode,body:[o],left:s.envName.indexOf("r")>-1?".":"\\{",right:s.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:U0,mathmlBuilder:W0}),G0({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Pc,htmlBuilder:U0,mathmlBuilder:W0}),G0({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(s){["gather","gather*"].includes(s.envName)&&qi(s);const i={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Wl(s.envName),emptySingleRow:!0,leqno:s.parser.settings.leqno};return Sr(s.parser,i,"display")},htmlBuilder:U0,mathmlBuilder:W0}),G0({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Pc,htmlBuilder:U0,mathmlBuilder:W0}),G0({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(s){qi(s);const i={autoTag:Wl(s.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:s.parser.settings.leqno};return Sr(s.parser,i,"display")},htmlBuilder:U0,mathmlBuilder:W0}),G0({type:"array",names:["CD"],props:{numArgs:0},handler(s){return qi(s),cf(s.parser)},htmlBuilder:U0,mathmlBuilder:W0}),B("\\nonumber","\\gdef\\@eqnsw{0}"),B("\\notag","\\nonumber"),Se({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(s,i){throw new l(s.funcName+" valid only within array environment")}});var Hc=Oc;Se({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(s,i){let{parser:o,funcName:h}=s;const y=i[0];if(y.type!=="ordgroup")throw new l("Invalid environment name",y);let w="";for(let z=0;z<y.body.length;++z)w+=Pe(y.body[z],"textord").text;if(h==="\\begin"){if(!Hc.hasOwnProperty(w))throw new l("No such environment: "+w,y);const z=Hc[w],{args:E,optArgs:I}=o.parseArguments("\\begin{"+w+"}",z),H={mode:o.mode,envName:w,parser:o},G=z.handler(H,E,I);o.expect("\\end",!1);const U=o.nextToken,J=Pe(o.parseFunction(),"environment");if(J.name!==w)throw new l("Mismatch: \\begin{"+w+"} matched by \\end{"+J.name+"}",U);return G}return{type:"environment",mode:o.mode,name:w,nameGroup:y}}});const $c=(s,i)=>{const o=s.font,h=i.withFont(o);return Ze(s.body,h)},Vc=(s,i)=>{const o=s.font,h=i.withFont(o);return ot(s.body,h)},jc={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};Se({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathsfit","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(s,i)=>{let{parser:o,funcName:h}=s;const y=Ei(i[0]);let w=h;return w in jc&&(w=jc[w]),{type:"font",mode:o.mode,font:w.slice(1),body:y}},htmlBuilder:$c,mathmlBuilder:Vc}),Se({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(s,i)=>{let{parser:o}=s;const h=i[0],y=O.isCharacterBox(h);return{type:"mclass",mode:o.mode,mclass:Ii(h),body:[{type:"font",mode:o.mode,font:"boldsymbol",body:h}],isCharacterBox:y}}}),Se({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(s,i)=>{let{parser:o,funcName:h,breakOnTokenText:y}=s;const{mode:w}=o,z=o.parseExpression(!0,y),E="math"+h.slice(1);return{type:"font",mode:w,font:E,body:{type:"ordgroup",mode:o.mode,body:z}}},htmlBuilder:$c,mathmlBuilder:Vc});const Gc=(s,i)=>{let o=i;return s==="display"?o=o.id>=R.SCRIPT.id?o.text():R.DISPLAY:s==="text"&&o.size===R.DISPLAY.size?o=R.TEXT:s==="script"?o=R.SCRIPT:s==="scriptscript"&&(o=R.SCRIPTSCRIPT),o},Xl=(s,i)=>{const o=Gc(s.size,i.style),h=o.fracNum(),y=o.fracDen();let w;w=i.havingStyle(h);const z=Ze(s.numer,w,i);if(s.continued){const We=8.5/i.fontMetrics().ptPerEm,tt=3.5/i.fontMetrics().ptPerEm;z.height=z.height<We?We:z.height,z.depth=z.depth<tt?tt:z.depth}w=i.havingStyle(y);const E=Ze(s.denom,w,i);let I,H,G;s.hasBarLine?(s.barSize?(H=Xe(s.barSize,i),I=Z.makeLineSpan("frac-line",i,H)):I=Z.makeLineSpan("frac-line",i),H=I.height,G=I.height):(I=null,H=0,G=i.fontMetrics().defaultRuleThickness);let U,J,ie;o.size===R.DISPLAY.size||s.size==="display"?(U=i.fontMetrics().num1,H>0?J=3*G:J=7*G,ie=i.fontMetrics().denom1):(H>0?(U=i.fontMetrics().num2,J=G):(U=i.fontMetrics().num3,J=3*G),ie=i.fontMetrics().denom2);let ze;if(I){const We=i.fontMetrics().axisHeight;U-z.depth-(We+.5*H)<J&&(U+=J-(U-z.depth-(We+.5*H))),We-.5*H-(E.height-ie)<J&&(ie+=J-(We-.5*H-(E.height-ie)));const tt=-(We-.5*H);ze=Z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:E,shift:ie},{type:"elem",elem:I,shift:tt},{type:"elem",elem:z,shift:-U}]},i)}else{const We=U-z.depth-(E.height-ie);We<J&&(U+=.5*(J-We),ie+=.5*(J-We)),ze=Z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:E,shift:ie},{type:"elem",elem:z,shift:-U}]},i)}w=i.havingStyle(o),ze.height*=w.sizeMultiplier/i.sizeMultiplier,ze.depth*=w.sizeMultiplier/i.sizeMultiplier;let Ce;o.size===R.DISPLAY.size?Ce=i.fontMetrics().delim1:o.size===R.SCRIPTSCRIPT.size?Ce=i.havingStyle(R.SCRIPT).fontMetrics().delim2:Ce=i.fontMetrics().delim2;let Ue,Ve;return s.leftDelim==null?Ue=In(i,["mopen"]):Ue=ur.customSizedDelim(s.leftDelim,Ce,!0,i.havingStyle(o),s.mode,["mopen"]),s.continued?Ve=Z.makeSpan([]):s.rightDelim==null?Ve=In(i,["mclose"]):Ve=ur.customSizedDelim(s.rightDelim,Ce,!0,i.havingStyle(o),s.mode,["mclose"]),Z.makeSpan(["mord"].concat(w.sizingClasses(i)),[Ue,Z.makeSpan(["mfrac"],[ze]),Ve],i)},Zl=(s,i)=>{let o=new he.MathNode("mfrac",[ot(s.numer,i),ot(s.denom,i)]);if(!s.hasBarLine)o.setAttribute("linethickness","0px");else if(s.barSize){const y=Xe(s.barSize,i);o.setAttribute("linethickness",me(y))}const h=Gc(s.size,i.style);if(h.size!==i.style.size){o=new he.MathNode("mstyle",[o]);const y=h.size===R.DISPLAY.size?"true":"false";o.setAttribute("displaystyle",y),o.setAttribute("scriptlevel","0")}if(s.leftDelim!=null||s.rightDelim!=null){const y=[];if(s.leftDelim!=null){const w=new he.MathNode("mo",[new he.TextNode(s.leftDelim.replace("\\",""))]);w.setAttribute("fence","true"),y.push(w)}if(y.push(o),s.rightDelim!=null){const w=new he.MathNode("mo",[new he.TextNode(s.rightDelim.replace("\\",""))]);w.setAttribute("fence","true"),y.push(w)}return Nl(y)}return o};Se({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(s,i)=>{let{parser:o,funcName:h}=s;const y=i[0],w=i[1];let z,E=null,I=null,H="auto";switch(h){case"\\dfrac":case"\\frac":case"\\tfrac":z=!0;break;case"\\\\atopfrac":z=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":z=!1,E="(",I=")";break;case"\\\\bracefrac":z=!1,E="\\{",I="\\}";break;case"\\\\brackfrac":z=!1,E="[",I="]";break;default:throw new Error("Unrecognized genfrac command")}switch(h){case"\\dfrac":case"\\dbinom":H="display";break;case"\\tfrac":case"\\tbinom":H="text";break}return{type:"genfrac",mode:o.mode,continued:!1,numer:y,denom:w,hasBarLine:z,leftDelim:E,rightDelim:I,size:H,barSize:null}},htmlBuilder:Xl,mathmlBuilder:Zl}),Se({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(s,i)=>{let{parser:o,funcName:h}=s;const y=i[0],w=i[1];return{type:"genfrac",mode:o.mode,continued:!0,numer:y,denom:w,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}}),Se({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(s){let{parser:i,funcName:o,token:h}=s,y;switch(o){case"\\over":y="\\frac";break;case"\\choose":y="\\binom";break;case"\\atop":y="\\\\atopfrac";break;case"\\brace":y="\\\\bracefrac";break;case"\\brack":y="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:i.mode,replaceWith:y,token:h}}});const Uc=["display","text","script","scriptscript"],Wc=function(s){let i=null;return s.length>0&&(i=s,i=i==="."?null:i),i};Se({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(s,i){let{parser:o}=s;const h=i[4],y=i[5],w=Ei(i[0]),z=w.type==="atom"&&w.family==="open"?Wc(w.text):null,E=Ei(i[1]),I=E.type==="atom"&&E.family==="close"?Wc(E.text):null,H=Pe(i[2],"size");let G,U=null;H.isBlank?G=!0:(U=H.value,G=U.number>0);let J="auto",ie=i[3];if(ie.type==="ordgroup"){if(ie.body.length>0){const ze=Pe(ie.body[0],"textord");J=Uc[Number(ze.text)]}}else ie=Pe(ie,"textord"),J=Uc[Number(ie.text)];return{type:"genfrac",mode:o.mode,numer:h,denom:y,continued:!1,hasBarLine:G,barSize:U,leftDelim:z,rightDelim:I,size:J}},htmlBuilder:Xl,mathmlBuilder:Zl}),Se({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(s,i){let{parser:o,funcName:h,token:y}=s;return{type:"infix",mode:o.mode,replaceWith:"\\\\abovefrac",size:Pe(i[0],"size").value,token:y}}}),Se({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(s,i)=>{let{parser:o,funcName:h}=s;const y=i[0],w=A(Pe(i[1],"infix").size),z=i[2],E=w.number>0;return{type:"genfrac",mode:o.mode,numer:y,denom:z,continued:!1,hasBarLine:E,barSize:w,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Xl,mathmlBuilder:Zl});const Yc=(s,i)=>{const o=i.style;let h,y;s.type==="supsub"?(h=s.sup?Ze(s.sup,i.havingStyle(o.sup()),i):Ze(s.sub,i.havingStyle(o.sub()),i),y=Pe(s.base,"horizBrace")):y=Pe(s,"horizBrace");const w=Ze(y.base,i.havingBaseStyle(R.DISPLAY)),z=or.svgSpan(y,i);let E;if(y.isOver?(E=Z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:w},{type:"kern",size:.1},{type:"elem",elem:z}]},i),E.children[0].children[0].children[1].classes.push("svg-align")):(E=Z.makeVList({positionType:"bottom",positionData:w.depth+.1+z.height,children:[{type:"elem",elem:z},{type:"kern",size:.1},{type:"elem",elem:w}]},i),E.children[0].children[0].children[0].classes.push("svg-align")),h){const I=Z.makeSpan(["mord",y.isOver?"mover":"munder"],[E],i);y.isOver?E=Z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:I},{type:"kern",size:.2},{type:"elem",elem:h}]},i):E=Z.makeVList({positionType:"bottom",positionData:I.depth+.2+h.height+h.depth,children:[{type:"elem",elem:h},{type:"kern",size:.2},{type:"elem",elem:I}]},i)}return Z.makeSpan(["mord",y.isOver?"mover":"munder"],[E],i)};Se({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(s,i){let{parser:o,funcName:h}=s;return{type:"horizBrace",mode:o.mode,label:h,isOver:/^\\over/.test(h),base:i[0]}},htmlBuilder:Yc,mathmlBuilder:(s,i)=>{const o=or.mathMLnode(s.label);return new he.MathNode(s.isOver?"mover":"munder",[ot(s.base,i),o])}}),Se({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(s,i)=>{let{parser:o}=s;const h=i[1],y=Pe(i[0],"url").url;return o.settings.isTrusted({command:"\\href",url:y})?{type:"href",mode:o.mode,href:y,body:Tt(h)}:o.formatUnsupportedCmd("\\href")},htmlBuilder:(s,i)=>{const o=Rt(s.body,i,!1);return Z.makeAnchor(s.href,[],o,i)},mathmlBuilder:(s,i)=>{let o=kr(s.body,i);return o instanceof g0||(o=new g0("mrow",[o])),o.setAttribute("href",s.href),o}}),Se({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(s,i)=>{let{parser:o}=s;const h=Pe(i[0],"url").url;if(!o.settings.isTrusted({command:"\\url",url:h}))return o.formatUnsupportedCmd("\\url");const y=[];for(let z=0;z<h.length;z++){let E=h[z];E==="~"&&(E="\\textasciitilde"),y.push({type:"textord",mode:"text",text:E})}const w={type:"text",mode:o.mode,font:"\\texttt",body:y};return{type:"href",mode:o.mode,href:h,body:Tt(w)}}}),Se({type:"hbox",names:["\\hbox"],props:{numArgs:1,argTypes:["text"],allowedInText:!0,primitive:!0},handler(s,i){let{parser:o}=s;return{type:"hbox",mode:o.mode,body:Tt(i[0])}},htmlBuilder(s,i){const o=Rt(s.body,i,!1);return Z.makeFragment(o)},mathmlBuilder(s,i){return new he.MathNode("mrow",s0(s.body,i))}}),Se({type:"html",names:["\\htmlClass","\\htmlId","\\htmlStyle","\\htmlData"],props:{numArgs:2,argTypes:["raw","original"],allowedInText:!0},handler:(s,i)=>{let{parser:o,funcName:h,token:y}=s;const w=Pe(i[0],"raw").string,z=i[1];o.settings.strict&&o.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");let E;const I={};switch(h){case"\\htmlClass":I.class=w,E={command:"\\htmlClass",class:w};break;case"\\htmlId":I.id=w,E={command:"\\htmlId",id:w};break;case"\\htmlStyle":I.style=w,E={command:"\\htmlStyle",style:w};break;case"\\htmlData":{const H=w.split(",");for(let G=0;G<H.length;G++){const U=H[G].split("=");if(U.length!==2)throw new l("Error parsing key-value for \\htmlData");I["data-"+U[0].trim()]=U[1].trim()}E={command:"\\htmlData",attributes:I};break}default:throw new Error("Unrecognized html command")}return o.settings.isTrusted(E)?{type:"html",mode:o.mode,attributes:I,body:Tt(z)}:o.formatUnsupportedCmd(h)},htmlBuilder:(s,i)=>{const o=Rt(s.body,i,!1),h=["enclosing"];s.attributes.class&&h.push(...s.attributes.class.trim().split(/\s+/));const y=Z.makeSpan(h,o,i);for(const w in s.attributes)w!=="class"&&s.attributes.hasOwnProperty(w)&&y.setAttribute(w,s.attributes[w]);return y},mathmlBuilder:(s,i)=>kr(s.body,i)}),Se({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(s,i)=>{let{parser:o}=s;return{type:"htmlmathml",mode:o.mode,html:Tt(i[0]),mathml:Tt(i[1])}},htmlBuilder:(s,i)=>{const o=Rt(s.html,i,!1);return Z.makeFragment(o)},mathmlBuilder:(s,i)=>kr(s.mathml,i)});const Kl=function(s){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(s))return{number:+s,unit:"bp"};{const i=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(s);if(!i)throw new l("Invalid size: '"+s+"' in \\includegraphics");const o={number:+(i[1]+i[2]),unit:i[3]};if(!jt(o))throw new l("Invalid unit: '"+o.unit+"' in \\includegraphics.");return o}};Se({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(s,i,o)=>{let{parser:h}=s,y={number:0,unit:"em"},w={number:.9,unit:"em"},z={number:0,unit:"em"},E="";if(o[0]){const G=Pe(o[0],"raw").string.split(",");for(let U=0;U<G.length;U++){const J=G[U].split("=");if(J.length===2){const ie=J[1].trim();switch(J[0].trim()){case"alt":E=ie;break;case"width":y=Kl(ie);break;case"height":w=Kl(ie);break;case"totalheight":z=Kl(ie);break;default:throw new l("Invalid key: '"+J[0]+"' in \\includegraphics.")}}}}const I=Pe(i[0],"url").url;return E===""&&(E=I,E=E.replace(/^.*[\\/]/,""),E=E.substring(0,E.lastIndexOf("."))),h.settings.isTrusted({command:"\\includegraphics",url:I})?{type:"includegraphics",mode:h.mode,alt:E,width:y,height:w,totalheight:z,src:I}:h.formatUnsupportedCmd("\\includegraphics")},htmlBuilder:(s,i)=>{const o=Xe(s.height,i);let h=0;s.totalheight.number>0&&(h=Xe(s.totalheight,i)-o);let y=0;s.width.number>0&&(y=Xe(s.width,i));const w={height:me(o+h)};y>0&&(w.width=me(y)),h>0&&(w.verticalAlign=me(-h));const z=new Tn(s.src,s.alt,w);return z.height=o,z.depth=h,z},mathmlBuilder:(s,i)=>{const o=new he.MathNode("mglyph",[]);o.setAttribute("alt",s.alt);const h=Xe(s.height,i);let y=0;if(s.totalheight.number>0&&(y=Xe(s.totalheight,i)-h,o.setAttribute("valign",me(-y))),o.setAttribute("height",me(h+y)),s.width.number>0){const w=Xe(s.width,i);o.setAttribute("width",me(w))}return o.setAttribute("src",s.src),o}}),Se({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(s,i){let{parser:o,funcName:h}=s;const y=Pe(i[0],"size");if(o.settings.strict){const w=h[1]==="m",z=y.value.unit==="mu";w?(z||o.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+h+" supports only mu units, "+("not "+y.value.unit+" units")),o.mode!=="math"&&o.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+h+" works only in math mode")):z&&o.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+h+" doesn't support mu units")}return{type:"kern",mode:o.mode,dimension:y.value}},htmlBuilder(s,i){return Z.makeGlue(s.dimension,i)},mathmlBuilder(s,i){const o=Xe(s.dimension,i);return new he.SpaceNode(o)}}),Se({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(s,i)=>{let{parser:o,funcName:h}=s;const y=i[0];return{type:"lap",mode:o.mode,alignment:h.slice(5),body:y}},htmlBuilder:(s,i)=>{let o;s.alignment==="clap"?(o=Z.makeSpan([],[Ze(s.body,i)]),o=Z.makeSpan(["inner"],[o],i)):o=Z.makeSpan(["inner"],[Ze(s.body,i)]);const h=Z.makeSpan(["fix"],[]);let y=Z.makeSpan([s.alignment],[o,h],i);const w=Z.makeSpan(["strut"]);return w.style.height=me(y.height+y.depth),y.depth&&(w.style.verticalAlign=me(-y.depth)),y.children.unshift(w),y=Z.makeSpan(["thinbox"],[y],i),Z.makeSpan(["mord","vbox"],[y],i)},mathmlBuilder:(s,i)=>{const o=new he.MathNode("mpadded",[ot(s.body,i)]);if(s.alignment!=="rlap"){const h=s.alignment==="llap"?"-1":"-0.5";o.setAttribute("lspace",h+"width")}return o.setAttribute("width","0px"),o}}),Se({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(s,i){let{funcName:o,parser:h}=s;const y=h.mode;h.switchMode("math");const w=o==="\\("?"\\)":"$",z=h.parseExpression(!1,w);return h.expect(w),h.switchMode(y),{type:"styling",mode:h.mode,style:"text",body:z}}}),Se({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(s,i){throw new l("Mismatched "+s.funcName)}});const Xc=(s,i)=>{switch(i.style.size){case R.DISPLAY.size:return s.display;case R.TEXT.size:return s.text;case R.SCRIPT.size:return s.script;case R.SCRIPTSCRIPT.size:return s.scriptscript;default:return s.text}};Se({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(s,i)=>{let{parser:o}=s;return{type:"mathchoice",mode:o.mode,display:Tt(i[0]),text:Tt(i[1]),script:Tt(i[2]),scriptscript:Tt(i[3])}},htmlBuilder:(s,i)=>{const o=Xc(s,i),h=Rt(o,i,!1);return Z.makeFragment(h)},mathmlBuilder:(s,i)=>{const o=Xc(s,i);return kr(o,i)}});const Zc=(s,i,o,h,y,w,z)=>{s=Z.makeSpan([],[s]);const E=o&&O.isCharacterBox(o);let I,H;if(i){const J=Ze(i,h.havingStyle(y.sup()),h);H={elem:J,kern:Math.max(h.fontMetrics().bigOpSpacing1,h.fontMetrics().bigOpSpacing3-J.depth)}}if(o){const J=Ze(o,h.havingStyle(y.sub()),h);I={elem:J,kern:Math.max(h.fontMetrics().bigOpSpacing2,h.fontMetrics().bigOpSpacing4-J.height)}}let G;if(H&&I){const J=h.fontMetrics().bigOpSpacing5+I.elem.height+I.elem.depth+I.kern+s.depth+z;G=Z.makeVList({positionType:"bottom",positionData:J,children:[{type:"kern",size:h.fontMetrics().bigOpSpacing5},{type:"elem",elem:I.elem,marginLeft:me(-w)},{type:"kern",size:I.kern},{type:"elem",elem:s},{type:"kern",size:H.kern},{type:"elem",elem:H.elem,marginLeft:me(w)},{type:"kern",size:h.fontMetrics().bigOpSpacing5}]},h)}else if(I){const J=s.height-z;G=Z.makeVList({positionType:"top",positionData:J,children:[{type:"kern",size:h.fontMetrics().bigOpSpacing5},{type:"elem",elem:I.elem,marginLeft:me(-w)},{type:"kern",size:I.kern},{type:"elem",elem:s}]},h)}else if(H){const J=s.depth+z;G=Z.makeVList({positionType:"bottom",positionData:J,children:[{type:"elem",elem:s},{type:"kern",size:H.kern},{type:"elem",elem:H.elem,marginLeft:me(w)},{type:"kern",size:h.fontMetrics().bigOpSpacing5}]},h)}else return s;const U=[G];if(I&&w!==0&&!E){const J=Z.makeSpan(["mspace"],[],h);J.style.marginRight=me(w),U.unshift(J)}return Z.makeSpan(["mop","op-limits"],U,h)},Kc=["\\smallint"],Qr=(s,i)=>{let o,h,y=!1,w;s.type==="supsub"?(o=s.sup,h=s.sub,w=Pe(s.base,"op"),y=!0):w=Pe(s,"op");const z=i.style;let E=!1;z.size===R.DISPLAY.size&&w.symbol&&!Kc.includes(w.name)&&(E=!0);let I;if(w.symbol){const U=E?"Size2-Regular":"Size1-Regular";let J="";if((w.name==="\\oiint"||w.name==="\\oiiint")&&(J=w.name.slice(1),w.name=J==="oiint"?"\\iint":"\\iiint"),I=Z.makeSymbol(w.name,U,"math",i,["mop","op-symbol",E?"large-op":"small-op"]),J.length>0){const ie=I.italic,ze=Z.staticSvg(J+"Size"+(E?"2":"1"),i);I=Z.makeVList({positionType:"individualShift",children:[{type:"elem",elem:I,shift:0},{type:"elem",elem:ze,shift:E?.08:0}]},i),w.name="\\"+J,I.classes.unshift("mop"),I.italic=ie}}else if(w.body){const U=Rt(w.body,i,!0);U.length===1&&U[0]instanceof Jt?(I=U[0],I.classes[0]="mop"):I=Z.makeSpan(["mop"],U,i)}else{const U=[];for(let J=1;J<w.name.length;J++)U.push(Z.mathsym(w.name[J],w.mode,i));I=Z.makeSpan(["mop"],U,i)}let H=0,G=0;return(I instanceof Jt||w.name==="\\oiint"||w.name==="\\oiiint")&&!w.suppressBaseShift&&(H=(I.height-I.depth)/2-i.fontMetrics().axisHeight,G=I.italic),y?Zc(I,o,h,i,z,G,H):(H&&(I.style.position="relative",I.style.top=me(H)),I)},qn=(s,i)=>{let o;if(s.symbol)o=new g0("mo",[S0(s.name,s.mode)]),Kc.includes(s.name)&&o.setAttribute("largeop","false");else if(s.body)o=new g0("mo",s0(s.body,i));else{o=new g0("mi",[new j0(s.name.slice(1))]);const h=new g0("mo",[S0("⁡","text")]);s.parentIsSupSub?o=new g0("mrow",[o,h]):o=pc([o,h])}return o},Mf={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};Se({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(s,i)=>{let{parser:o,funcName:h}=s,y=h;return y.length===1&&(y=Mf[y]),{type:"op",mode:o.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:y}},htmlBuilder:Qr,mathmlBuilder:qn}),Se({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(s,i)=>{let{parser:o}=s;const h=i[0];return{type:"op",mode:o.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Tt(h)}},htmlBuilder:Qr,mathmlBuilder:qn});const Af={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};Se({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(s){let{parser:i,funcName:o}=s;return{type:"op",mode:i.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:o}},htmlBuilder:Qr,mathmlBuilder:qn}),Se({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(s){let{parser:i,funcName:o}=s;return{type:"op",mode:i.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:o}},htmlBuilder:Qr,mathmlBuilder:qn}),Se({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(s){let{parser:i,funcName:o}=s,h=o;return h.length===1&&(h=Af[h]),{type:"op",mode:i.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:h}},htmlBuilder:Qr,mathmlBuilder:qn});const Jc=(s,i)=>{let o,h,y=!1,w;s.type==="supsub"?(o=s.sup,h=s.sub,w=Pe(s.base,"operatorname"),y=!0):w=Pe(s,"operatorname");let z;if(w.body.length>0){const E=w.body.map(H=>{const G=H.text;return typeof G=="string"?{type:"textord",mode:H.mode,text:G}:H}),I=Rt(E,i.withFont("mathrm"),!0);for(let H=0;H<I.length;H++){const G=I[H];G instanceof Jt&&(G.text=G.text.replace(/\u2212/,"-").replace(/\u2217/,"*"))}z=Z.makeSpan(["mop"],I,i)}else z=Z.makeSpan(["mop"],[],i);return y?Zc(z,o,h,i,i.style,0,0):z};Se({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(s,i)=>{let{parser:o,funcName:h}=s;const y=i[0];return{type:"operatorname",mode:o.mode,body:Tt(y),alwaysHandleSupSub:h==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:Jc,mathmlBuilder:(s,i)=>{let o=s0(s.body,i.withFont("mathrm")),h=!0;for(let z=0;z<o.length;z++){const E=o[z];if(!(E instanceof he.SpaceNode))if(E instanceof he.MathNode)switch(E.type){case"mi":case"mn":case"ms":case"mspace":case"mtext":break;case"mo":{const I=E.children[0];E.children.length===1&&I instanceof he.TextNode?I.text=I.text.replace(/\u2212/,"-").replace(/\u2217/,"*"):h=!1;break}default:h=!1}else h=!1}if(h){const z=o.map(E=>E.toText()).join("");o=[new he.TextNode(z)]}const y=new he.MathNode("mi",o);y.setAttribute("mathvariant","normal");const w=new he.MathNode("mo",[S0("⁡","text")]);return s.parentIsSupSub?new he.MathNode("mrow",[y,w]):he.newDocumentFragment([y,w])}}),B("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@"),Or({type:"ordgroup",htmlBuilder(s,i){return s.semisimple?Z.makeFragment(Rt(s.body,i,!1)):Z.makeSpan(["mord"],Rt(s.body,i,!0),i)},mathmlBuilder(s,i){return kr(s.body,i,!0)}}),Se({type:"overline",names:["\\overline"],props:{numArgs:1},handler(s,i){let{parser:o}=s;const h=i[0];return{type:"overline",mode:o.mode,body:h}},htmlBuilder(s,i){const o=Ze(s.body,i.havingCrampedStyle()),h=Z.makeLineSpan("overline-line",i),y=i.fontMetrics().defaultRuleThickness,w=Z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o},{type:"kern",size:3*y},{type:"elem",elem:h},{type:"kern",size:y}]},i);return Z.makeSpan(["mord","overline"],[w],i)},mathmlBuilder(s,i){const o=new he.MathNode("mo",[new he.TextNode("‾")]);o.setAttribute("stretchy","true");const h=new he.MathNode("mover",[ot(s.body,i),o]);return h.setAttribute("accent","true"),h}}),Se({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(s,i)=>{let{parser:o}=s;const h=i[0];return{type:"phantom",mode:o.mode,body:Tt(h)}},htmlBuilder:(s,i)=>{const o=Rt(s.body,i.withPhantom(),!1);return Z.makeFragment(o)},mathmlBuilder:(s,i)=>{const o=s0(s.body,i);return new he.MathNode("mphantom",o)}}),Se({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(s,i)=>{let{parser:o}=s;const h=i[0];return{type:"hphantom",mode:o.mode,body:h}},htmlBuilder:(s,i)=>{let o=Z.makeSpan([],[Ze(s.body,i.withPhantom())]);if(o.height=0,o.depth=0,o.children)for(let h=0;h<o.children.length;h++)o.children[h].height=0,o.children[h].depth=0;return o=Z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o}]},i),Z.makeSpan(["mord"],[o],i)},mathmlBuilder:(s,i)=>{const o=s0(Tt(s.body),i),h=new he.MathNode("mphantom",o),y=new he.MathNode("mpadded",[h]);return y.setAttribute("height","0px"),y.setAttribute("depth","0px"),y}}),Se({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(s,i)=>{let{parser:o}=s;const h=i[0];return{type:"vphantom",mode:o.mode,body:h}},htmlBuilder:(s,i)=>{const o=Z.makeSpan(["inner"],[Ze(s.body,i.withPhantom())]),h=Z.makeSpan(["fix"],[]);return Z.makeSpan(["mord","rlap"],[o,h],i)},mathmlBuilder:(s,i)=>{const o=s0(Tt(s.body),i),h=new he.MathNode("mphantom",o),y=new he.MathNode("mpadded",[h]);return y.setAttribute("width","0px"),y}}),Se({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(s,i){let{parser:o}=s;const h=Pe(i[0],"size").value,y=i[1];return{type:"raisebox",mode:o.mode,dy:h,body:y}},htmlBuilder(s,i){const o=Ze(s.body,i),h=Xe(s.dy,i);return Z.makeVList({positionType:"shift",positionData:-h,children:[{type:"elem",elem:o}]},i)},mathmlBuilder(s,i){const o=new he.MathNode("mpadded",[ot(s.body,i)]),h=s.dy.number+s.dy.unit;return o.setAttribute("voffset",h),o}}),Se({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(s){let{parser:i}=s;return{type:"internal",mode:i.mode}}}),Se({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["size","size","size"]},handler(s,i,o){let{parser:h}=s;const y=o[0],w=Pe(i[0],"size"),z=Pe(i[1],"size");return{type:"rule",mode:h.mode,shift:y&&Pe(y,"size").value,width:w.value,height:z.value}},htmlBuilder(s,i){const o=Z.makeSpan(["mord","rule"],[],i),h=Xe(s.width,i),y=Xe(s.height,i),w=s.shift?Xe(s.shift,i):0;return o.style.borderRightWidth=me(h),o.style.borderTopWidth=me(y),o.style.bottom=me(w),o.width=h,o.height=y+w,o.depth=-w,o.maxFontSize=y*1.125*i.sizeMultiplier,o},mathmlBuilder(s,i){const o=Xe(s.width,i),h=Xe(s.height,i),y=s.shift?Xe(s.shift,i):0,w=i.color&&i.getColor()||"black",z=new he.MathNode("mspace");z.setAttribute("mathbackground",w),z.setAttribute("width",me(o)),z.setAttribute("height",me(h));const E=new he.MathNode("mpadded",[z]);return y>=0?E.setAttribute("height",me(y)):(E.setAttribute("height",me(y)),E.setAttribute("depth",me(-y))),E.setAttribute("voffset",me(y)),E}});function Qc(s,i,o){const h=Rt(s,i,!1),y=i.sizeMultiplier/o.sizeMultiplier;for(let w=0;w<h.length;w++){const z=h[w].classes.indexOf("sizing");z<0?Array.prototype.push.apply(h[w].classes,i.sizingClasses(o)):h[w].classes[z+1]==="reset-size"+i.size&&(h[w].classes[z+1]="reset-size"+o.size),h[w].height*=y,h[w].depth*=y}return Z.makeFragment(h)}const e4=["\\tiny","\\sixptsize","\\scriptsize","\\footnotesize","\\small","\\normalsize","\\large","\\Large","\\LARGE","\\huge","\\Huge"];Se({type:"sizing",names:e4,props:{numArgs:0,allowedInText:!0},handler:(s,i)=>{let{breakOnTokenText:o,funcName:h,parser:y}=s;const w=y.parseExpression(!1,o);return{type:"sizing",mode:y.mode,size:e4.indexOf(h)+1,body:w}},htmlBuilder:(s,i)=>{const o=i.havingSize(s.size);return Qc(s.body,o,i)},mathmlBuilder:(s,i)=>{const o=i.havingSize(s.size),h=s0(s.body,o),y=new he.MathNode("mstyle",h);return y.setAttribute("mathsize",me(o.sizeMultiplier)),y}}),Se({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(s,i,o)=>{let{parser:h}=s,y=!1,w=!1;const z=o[0]&&Pe(o[0],"ordgroup");if(z){let I="";for(let H=0;H<z.body.length;++H)if(I=z.body[H].text,I==="t")y=!0;else if(I==="b")w=!0;else{y=!1,w=!1;break}}else y=!0,w=!0;const E=i[0];return{type:"smash",mode:h.mode,body:E,smashHeight:y,smashDepth:w}},htmlBuilder:(s,i)=>{const o=Z.makeSpan([],[Ze(s.body,i)]);if(!s.smashHeight&&!s.smashDepth)return o;if(s.smashHeight&&(o.height=0,o.children))for(let y=0;y<o.children.length;y++)o.children[y].height=0;if(s.smashDepth&&(o.depth=0,o.children))for(let y=0;y<o.children.length;y++)o.children[y].depth=0;const h=Z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o}]},i);return Z.makeSpan(["mord"],[h],i)},mathmlBuilder:(s,i)=>{const o=new he.MathNode("mpadded",[ot(s.body,i)]);return s.smashHeight&&o.setAttribute("height","0px"),s.smashDepth&&o.setAttribute("depth","0px"),o}}),Se({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(s,i,o){let{parser:h}=s;const y=o[0],w=i[0];return{type:"sqrt",mode:h.mode,body:w,index:y}},htmlBuilder(s,i){let o=Ze(s.body,i.havingCrampedStyle());o.height===0&&(o.height=i.fontMetrics().xHeight),o=Z.wrapFragment(o,i);const y=i.fontMetrics().defaultRuleThickness;let w=y;i.style.id<R.TEXT.id&&(w=i.fontMetrics().xHeight);let z=y+w/4;const E=o.height+o.depth+z+y,{span:I,ruleWidth:H,advanceWidth:G}=ur.sqrtImage(E,i),U=I.height-H;U>o.height+o.depth+z&&(z=(z+U-o.height-o.depth)/2);const J=I.height-o.height-z-H;o.style.paddingLeft=me(G);const ie=Z.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:o,wrapperClasses:["svg-align"]},{type:"kern",size:-(o.height+J)},{type:"elem",elem:I},{type:"kern",size:H}]},i);if(s.index){const ze=i.havingStyle(R.SCRIPTSCRIPT),Ce=Ze(s.index,ze,i),Ue=.6*(ie.height-ie.depth),Ve=Z.makeVList({positionType:"shift",positionData:-Ue,children:[{type:"elem",elem:Ce}]},i),We=Z.makeSpan(["root"],[Ve]);return Z.makeSpan(["mord","sqrt"],[We,ie],i)}else return Z.makeSpan(["mord","sqrt"],[ie],i)},mathmlBuilder(s,i){const{body:o,index:h}=s;return h?new he.MathNode("mroot",[ot(o,i),ot(h,i)]):new he.MathNode("msqrt",[ot(o,i)])}});const t4={display:R.DISPLAY,text:R.TEXT,script:R.SCRIPT,scriptscript:R.SCRIPTSCRIPT};Se({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(s,i){let{breakOnTokenText:o,funcName:h,parser:y}=s;const w=y.parseExpression(!0,o),z=h.slice(1,h.length-5);return{type:"styling",mode:y.mode,style:z,body:w}},htmlBuilder(s,i){const o=t4[s.style],h=i.havingStyle(o).withFont("");return Qc(s.body,h,i)},mathmlBuilder(s,i){const o=t4[s.style],h=i.havingStyle(o),y=s0(s.body,h),w=new he.MathNode("mstyle",y),E={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]}[s.style];return w.setAttribute("scriptlevel",E[0]),w.setAttribute("displaystyle",E[1]),w}});const zf=function(s,i){const o=s.base;return o?o.type==="op"?o.limits&&(i.style.size===R.DISPLAY.size||o.alwaysHandleSupSub)?Qr:null:o.type==="operatorname"?o.alwaysHandleSupSub&&(i.style.size===R.DISPLAY.size||o.limits)?Jc:null:o.type==="accent"?O.isCharacterBox(o.base)?ql:null:o.type==="horizBrace"&&!s.sub===o.isOver?Yc:null:null};Or({type:"supsub",htmlBuilder(s,i){const o=zf(s,i);if(o)return o(s,i);const{base:h,sup:y,sub:w}=s,z=Ze(h,i);let E,I;const H=i.fontMetrics();let G=0,U=0;const J=h&&O.isCharacterBox(h);if(y){const tt=i.havingStyle(i.style.sup());E=Ze(y,tt,i),J||(G=z.height-tt.fontMetrics().supDrop*tt.sizeMultiplier/i.sizeMultiplier)}if(w){const tt=i.havingStyle(i.style.sub());I=Ze(w,tt,i),J||(U=z.depth+tt.fontMetrics().subDrop*tt.sizeMultiplier/i.sizeMultiplier)}let ie;i.style===R.DISPLAY?ie=H.sup1:i.style.cramped?ie=H.sup3:ie=H.sup2;const ze=i.sizeMultiplier,Ce=me(.5/H.ptPerEm/ze);let Ue=null;if(I){const tt=s.base&&s.base.type==="op"&&s.base.name&&(s.base.name==="\\oiint"||s.base.name==="\\oiiint");(z instanceof Jt||tt)&&(Ue=me(-z.italic))}let Ve;if(E&&I){G=Math.max(G,ie,E.depth+.25*H.xHeight),U=Math.max(U,H.sub2);const pt=4*H.defaultRuleThickness;if(G-E.depth-(I.height-U)<pt){U=pt-(G-E.depth)+I.height;const _t=.8*H.xHeight-(G-E.depth);_t>0&&(G+=_t,U-=_t)}const Qt=[{type:"elem",elem:I,shift:U,marginRight:Ce,marginLeft:Ue},{type:"elem",elem:E,shift:-G,marginRight:Ce}];Ve=Z.makeVList({positionType:"individualShift",children:Qt},i)}else if(I){U=Math.max(U,H.sub1,I.height-.8*H.xHeight);const tt=[{type:"elem",elem:I,marginLeft:Ue,marginRight:Ce}];Ve=Z.makeVList({positionType:"shift",positionData:U,children:tt},i)}else if(E)G=Math.max(G,ie,E.depth+.25*H.xHeight),Ve=Z.makeVList({positionType:"shift",positionData:-G,children:[{type:"elem",elem:E,marginRight:Ce}]},i);else throw new Error("supsub must have either sup or sub.");const We=Dl(z,"right")||"mord";return Z.makeSpan([We],[z,Z.makeSpan(["msupsub"],[Ve])],i)},mathmlBuilder(s,i){let o=!1,h,y;s.base&&s.base.type==="horizBrace"&&(y=!!s.sup,y===s.base.isOver&&(o=!0,h=s.base.isOver)),s.base&&(s.base.type==="op"||s.base.type==="operatorname")&&(s.base.parentIsSupSub=!0);const w=[ot(s.base,i)];s.sub&&w.push(ot(s.sub,i)),s.sup&&w.push(ot(s.sup,i));let z;if(o)z=h?"mover":"munder";else if(s.sub)if(s.sup){const E=s.base;E&&E.type==="op"&&E.limits&&i.style===R.DISPLAY||E&&E.type==="operatorname"&&E.alwaysHandleSupSub&&(i.style===R.DISPLAY||E.limits)?z="munderover":z="msubsup"}else{const E=s.base;E&&E.type==="op"&&E.limits&&(i.style===R.DISPLAY||E.alwaysHandleSupSub)||E&&E.type==="operatorname"&&E.alwaysHandleSupSub&&(E.limits||i.style===R.DISPLAY)?z="munder":z="msub"}else{const E=s.base;E&&E.type==="op"&&E.limits&&(i.style===R.DISPLAY||E.alwaysHandleSupSub)||E&&E.type==="operatorname"&&E.alwaysHandleSupSub&&(E.limits||i.style===R.DISPLAY)?z="mover":z="msup"}return new he.MathNode(z,w)}}),Or({type:"atom",htmlBuilder(s,i){return Z.mathsym(s.text,s.mode,i,["m"+s.family])},mathmlBuilder(s,i){const o=new he.MathNode("mo",[S0(s.text,s.mode)]);if(s.family==="bin"){const h=Il(s,i);h==="bold-italic"&&o.setAttribute("mathvariant",h)}else s.family==="punct"?o.setAttribute("separator","true"):(s.family==="open"||s.family==="close")&&o.setAttribute("stretchy","false");return o}});const r4={mi:"italic",mn:"normal",mtext:"normal"};Or({type:"mathord",htmlBuilder(s,i){return Z.makeOrd(s,i,"mathord")},mathmlBuilder(s,i){const o=new he.MathNode("mi",[S0(s.text,s.mode,i)]),h=Il(s,i)||"italic";return h!==r4[o.type]&&o.setAttribute("mathvariant",h),o}}),Or({type:"textord",htmlBuilder(s,i){return Z.makeOrd(s,i,"textord")},mathmlBuilder(s,i){const o=S0(s.text,s.mode,i),h=Il(s,i)||"normal";let y;return s.mode==="text"?y=new he.MathNode("mtext",[o]):/[0-9]/.test(s.text)?y=new he.MathNode("mn",[o]):s.text==="\\prime"?y=new he.MathNode("mo",[o]):y=new he.MathNode("mi",[o]),h!==r4[y.type]&&y.setAttribute("mathvariant",h),y}});const Jl={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},Ql={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};Or({type:"spacing",htmlBuilder(s,i){if(Ql.hasOwnProperty(s.text)){const o=Ql[s.text].className||"";if(s.mode==="text"){const h=Z.makeOrd(s,i,"textord");return h.classes.push(o),h}else return Z.makeSpan(["mspace",o],[Z.mathsym(s.text,s.mode,i)],i)}else{if(Jl.hasOwnProperty(s.text))return Z.makeSpan(["mspace",Jl[s.text]],[],i);throw new l('Unknown type of space "'+s.text+'"')}},mathmlBuilder(s,i){let o;if(Ql.hasOwnProperty(s.text))o=new he.MathNode("mtext",[new he.TextNode(" ")]);else{if(Jl.hasOwnProperty(s.text))return new he.MathNode("mspace");throw new l('Unknown type of space "'+s.text+'"')}return o}});const n4=()=>{const s=new he.MathNode("mtd",[]);return s.setAttribute("width","50%"),s};Or({type:"tag",mathmlBuilder(s,i){const o=new he.MathNode("mtable",[new he.MathNode("mtr",[n4(),new he.MathNode("mtd",[kr(s.body,i)]),n4(),new he.MathNode("mtd",[kr(s.tag,i)])])]);return o.setAttribute("width","100%"),o}});const i4={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},a4={"\\textbf":"textbf","\\textmd":"textmd"},Tf={"\\textit":"textit","\\textup":"textup"},l4=(s,i)=>{const o=s.font;if(o){if(i4[o])return i.withTextFontFamily(i4[o]);if(a4[o])return i.withTextFontWeight(a4[o]);if(o==="\\emph")return i.fontShape==="textit"?i.withTextFontShape("textup"):i.withTextFontShape("textit")}else return i;return i.withTextFontShape(Tf[o])};Se({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(s,i){let{parser:o,funcName:h}=s;const y=i[0];return{type:"text",mode:o.mode,body:Tt(y),font:h}},htmlBuilder(s,i){const o=l4(s,i),h=Rt(s.body,o,!0);return Z.makeSpan(["mord","text"],h,o)},mathmlBuilder(s,i){const o=l4(s,i);return kr(s.body,o)}}),Se({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(s,i){let{parser:o}=s;return{type:"underline",mode:o.mode,body:i[0]}},htmlBuilder(s,i){const o=Ze(s.body,i),h=Z.makeLineSpan("underline-line",i),y=i.fontMetrics().defaultRuleThickness,w=Z.makeVList({positionType:"top",positionData:o.height,children:[{type:"kern",size:y},{type:"elem",elem:h},{type:"kern",size:3*y},{type:"elem",elem:o}]},i);return Z.makeSpan(["mord","underline"],[w],i)},mathmlBuilder(s,i){const o=new he.MathNode("mo",[new he.TextNode("‾")]);o.setAttribute("stretchy","true");const h=new he.MathNode("munder",[ot(s.body,i),o]);return h.setAttribute("accentunder","true"),h}}),Se({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(s,i){let{parser:o}=s;return{type:"vcenter",mode:o.mode,body:i[0]}},htmlBuilder(s,i){const o=Ze(s.body,i),h=i.fontMetrics().axisHeight,y=.5*(o.height-h-(o.depth+h));return Z.makeVList({positionType:"shift",positionData:y,children:[{type:"elem",elem:o}]},i)},mathmlBuilder(s,i){return new he.MathNode("mpadded",[ot(s.body,i)],["vcenter"])}}),Se({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(s,i,o){throw new l("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(s,i){const o=s4(s),h=[],y=i.havingStyle(i.style.text());for(let w=0;w<o.length;w++){let z=o[w];z==="~"&&(z="\\textasciitilde"),h.push(Z.makeSymbol(z,"Typewriter-Regular",s.mode,y,["mord","texttt"]))}return Z.makeSpan(["mord","text"].concat(y.sizingClasses(i)),Z.tryCombineChars(h),y)},mathmlBuilder(s,i){const o=new he.TextNode(s4(s)),h=new he.MathNode("mtext",[o]);return h.setAttribute("mathvariant","monospace"),h}});const s4=s=>s.body.replace(/ /g,s.star?"␣":" ");var Mr=mc;const o4=`[ \r
580
+ ]`,Cf="\\\\[a-zA-Z@]+",Ef="\\\\[^\uD800-\uDFFF]",Df="("+Cf+")"+o4+"*",Bf=`\\\\(
581
581
  |[ \r ]+
582
- ?)[ \r ]*`,ts="[̀-ͯ]",Bf=new RegExp(ts+"+$"),Nf="("+s4+"+)|"+(Df+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(ts+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(ts+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+Ef)+("|"+Cf+")");class o4{constructor(i,o){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=i,this.settings=o,this.tokenRegex=new RegExp(Nf,"g"),this.catcodes={"%":14,"~":13}}setCatcode(i,o){this.catcodes[i]=o}lex(){const i=this.input,o=this.tokenRegex.lastIndex;if(o===i.length)return new w0("EOF",new d0(this,o,o));const h=this.tokenRegex.exec(i);if(h===null||h.index!==o)throw new l("Unexpected character: '"+i[o]+"'",new w0(i[o],new d0(this,o,o+1)));const y=h[6]||h[3]||(h[2]?"\\ ":" ");if(this.catcodes[y]===14){const w=i.indexOf(`
583
- `,this.tokenRegex.lastIndex);return w===-1?(this.tokenRegex.lastIndex=i.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=w+1,this.lex()}return new w0(y,new d0(this,o,this.tokenRegex.lastIndex))}}class If{constructor(i,o){i===void 0&&(i={}),o===void 0&&(o={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=o,this.builtins=i,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new l("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");const i=this.undefStack.pop();for(const o in i)i.hasOwnProperty(o)&&(i[o]==null?delete this.current[o]:this.current[o]=i[o])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(i){return this.current.hasOwnProperty(i)||this.builtins.hasOwnProperty(i)}get(i){return this.current.hasOwnProperty(i)?this.current[i]:this.builtins[i]}set(i,o,h){if(h===void 0&&(h=!1),h){for(let y=0;y<this.undefStack.length;y++)delete this.undefStack[y][i];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][i]=o)}else{const y=this.undefStack[this.undefStack.length-1];y&&!y.hasOwnProperty(i)&&(y[i]=this.current[i])}o==null?delete this.current[i]:this.current[i]=o}}var Rf=Oc;D("\\noexpand",function(s){const i=s.popToken();return s.isExpandable(i.text)&&(i.noexpand=!0,i.treatAsRelax=!0),{tokens:[i],numArgs:0}}),D("\\expandafter",function(s){const i=s.popToken();return s.expandOnce(!0),{tokens:[i],numArgs:0}}),D("\\@firstoftwo",function(s){return{tokens:s.consumeArgs(2)[0],numArgs:0}}),D("\\@secondoftwo",function(s){return{tokens:s.consumeArgs(2)[1],numArgs:0}}),D("\\@ifnextchar",function(s){const i=s.consumeArgs(3);s.consumeSpaces();const o=s.future();return i[0].length===1&&i[0][0].text===o.text?{tokens:i[1],numArgs:0}:{tokens:i[2],numArgs:0}}),D("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),D("\\TextOrMath",function(s){const i=s.consumeArgs(2);return s.mode==="text"?{tokens:i[0],numArgs:0}:{tokens:i[1],numArgs:0}});const u4={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};D("\\char",function(s){let i=s.popToken(),o,h="";if(i.text==="'")o=8,i=s.popToken();else if(i.text==='"')o=16,i=s.popToken();else if(i.text==="`")if(i=s.popToken(),i.text[0]==="\\")h=i.text.charCodeAt(1);else{if(i.text==="EOF")throw new l("\\char` missing argument");h=i.text.charCodeAt(0)}else o=10;if(o){if(h=u4[i.text],h==null||h>=o)throw new l("Invalid base-"+o+" digit "+i.text);let y;for(;(y=u4[s.future().text])!=null&&y<o;)h*=o,h+=y,s.popToken()}return"\\@char{"+h+"}"});const rs=(s,i,o,h)=>{let y=s.consumeArg().tokens;if(y.length!==1)throw new l("\\newcommand's first argument must be a macro name");const w=y[0].text,T=s.isDefined(w);if(T&&!i)throw new l("\\newcommand{"+w+"} attempting to redefine "+(w+"; use \\renewcommand"));if(!T&&!o)throw new l("\\renewcommand{"+w+"} when command "+w+" does not yet exist; use \\newcommand");let C=0;if(y=s.consumeArg().tokens,y.length===1&&y[0].text==="["){let _="",P=s.expandNextToken();for(;P.text!=="]"&&P.text!=="EOF";)_+=P.text,P=s.expandNextToken();if(!_.match(/^\s*[0-9]+\s*$/))throw new l("Invalid number of arguments: "+_);C=parseInt(_),y=s.consumeArg().tokens}return T&&h||s.macros.set(w,{tokens:y,numArgs:C}),""};D("\\newcommand",s=>rs(s,!1,!0,!1)),D("\\renewcommand",s=>rs(s,!0,!1,!1)),D("\\providecommand",s=>rs(s,!0,!0,!0)),D("\\message",s=>{const i=s.consumeArgs(1)[0];return console.log(i.reverse().map(o=>o.text).join("")),""}),D("\\errmessage",s=>{const i=s.consumeArgs(1)[0];return console.error(i.reverse().map(o=>o.text).join("")),""}),D("\\show",s=>{const i=s.popToken(),o=i.text;return console.log(i,s.macros.get(o),wr[o],dt.math[o],dt.text[o]),""}),D("\\bgroup","{"),D("\\egroup","}"),D("~","\\nobreakspace"),D("\\lq","`"),D("\\rq","'"),D("\\aa","\\r a"),D("\\AA","\\r A"),D("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),D("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),D("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),D("ℬ","\\mathscr{B}"),D("ℰ","\\mathscr{E}"),D("ℱ","\\mathscr{F}"),D("ℋ","\\mathscr{H}"),D("ℐ","\\mathscr{I}"),D("ℒ","\\mathscr{L}"),D("ℳ","\\mathscr{M}"),D("ℛ","\\mathscr{R}"),D("ℭ","\\mathfrak{C}"),D("ℌ","\\mathfrak{H}"),D("ℨ","\\mathfrak{Z}"),D("\\Bbbk","\\Bbb{k}"),D("·","\\cdotp"),D("\\llap","\\mathllap{\\textrm{#1}}"),D("\\rlap","\\mathrlap{\\textrm{#1}}"),D("\\clap","\\mathclap{\\textrm{#1}}"),D("\\mathstrut","\\vphantom{(}"),D("\\underbar","\\underline{\\text{#1}}"),D("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),D("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),D("\\ne","\\neq"),D("≠","\\neq"),D("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),D("∉","\\notin"),D("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),D("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),D("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),D("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),D("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),D("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),D("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),D("⟂","\\perp"),D("‼","\\mathclose{!\\mkern-0.8mu!}"),D("∌","\\notni"),D("⌜","\\ulcorner"),D("⌝","\\urcorner"),D("⌞","\\llcorner"),D("⌟","\\lrcorner"),D("©","\\copyright"),D("®","\\textregistered"),D("️","\\textregistered"),D("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),D("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),D("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),D("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),D("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),D("⋮","\\vdots"),D("\\varGamma","\\mathit{\\Gamma}"),D("\\varDelta","\\mathit{\\Delta}"),D("\\varTheta","\\mathit{\\Theta}"),D("\\varLambda","\\mathit{\\Lambda}"),D("\\varXi","\\mathit{\\Xi}"),D("\\varPi","\\mathit{\\Pi}"),D("\\varSigma","\\mathit{\\Sigma}"),D("\\varUpsilon","\\mathit{\\Upsilon}"),D("\\varPhi","\\mathit{\\Phi}"),D("\\varPsi","\\mathit{\\Psi}"),D("\\varOmega","\\mathit{\\Omega}"),D("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),D("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),D("\\boxed","\\fbox{$\\displaystyle{#1}$}"),D("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),D("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),D("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),D("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),D("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");const c4={",":"\\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"};D("\\dots",function(s){let i="\\dotso";const o=s.expandAfterFuture().text;return o in c4?i=c4[o]:(o.slice(0,4)==="\\not"||o in dt.math&&R.contains(["bin","rel"],dt.math[o].group))&&(i="\\dotsb"),i});const ns={")":!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};D("\\dotso",function(s){return s.future().text in ns?"\\ldots\\,":"\\ldots"}),D("\\dotsc",function(s){const i=s.future().text;return i in ns&&i!==","?"\\ldots\\,":"\\ldots"}),D("\\cdots",function(s){return s.future().text in ns?"\\@cdots\\,":"\\@cdots"}),D("\\dotsb","\\cdots"),D("\\dotsm","\\cdots"),D("\\dotsi","\\!\\cdots"),D("\\dotsx","\\ldots\\,"),D("\\DOTSI","\\relax"),D("\\DOTSB","\\relax"),D("\\DOTSX","\\relax"),D("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),D("\\,","\\tmspace+{3mu}{.1667em}"),D("\\thinspace","\\,"),D("\\>","\\mskip{4mu}"),D("\\:","\\tmspace+{4mu}{.2222em}"),D("\\medspace","\\:"),D("\\;","\\tmspace+{5mu}{.2777em}"),D("\\thickspace","\\;"),D("\\!","\\tmspace-{3mu}{.1667em}"),D("\\negthinspace","\\!"),D("\\negmedspace","\\tmspace-{4mu}{.2222em}"),D("\\negthickspace","\\tmspace-{5mu}{.277em}"),D("\\enspace","\\kern.5em "),D("\\enskip","\\hskip.5em\\relax"),D("\\quad","\\hskip1em\\relax"),D("\\qquad","\\hskip2em\\relax"),D("\\tag","\\@ifstar\\tag@literal\\tag@paren"),D("\\tag@paren","\\tag@literal{({#1})}"),D("\\tag@literal",s=>{if(s.macros.get("\\df@tag"))throw new l("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),D("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),D("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),D("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),D("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),D("\\newline","\\\\\\relax"),D("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");const h4=fe(wt["Main-Regular"][84][1]-.7*wt["Main-Regular"][65][1]);D("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+h4+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),D("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+h4+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),D("\\hspace","\\@ifstar\\@hspacer\\@hspace"),D("\\@hspace","\\hskip #1\\relax"),D("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),D("\\ordinarycolon",":"),D("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),D("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),D("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),D("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),D("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),D("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),D("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),D("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),D("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),D("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),D("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),D("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),D("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),D("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),D("∷","\\dblcolon"),D("∹","\\eqcolon"),D("≔","\\coloneqq"),D("≕","\\eqqcolon"),D("⩴","\\Coloneqq"),D("\\ratio","\\vcentcolon"),D("\\coloncolon","\\dblcolon"),D("\\colonequals","\\coloneqq"),D("\\coloncolonequals","\\Coloneqq"),D("\\equalscolon","\\eqqcolon"),D("\\equalscoloncolon","\\Eqqcolon"),D("\\colonminus","\\coloneq"),D("\\coloncolonminus","\\Coloneq"),D("\\minuscolon","\\eqcolon"),D("\\minuscoloncolon","\\Eqcolon"),D("\\coloncolonapprox","\\Colonapprox"),D("\\coloncolonsim","\\Colonsim"),D("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),D("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),D("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),D("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),D("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),D("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),D("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),D("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),D("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),D("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),D("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),D("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),D("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),D("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),D("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),D("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),D("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),D("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),D("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),D("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),D("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),D("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),D("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),D("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),D("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),D("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),D("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),D("\\imath","\\html@mathml{\\@imath}{ı}"),D("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),D("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),D("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),D("⟦","\\llbracket"),D("⟧","\\rrbracket"),D("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),D("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),D("⦃","\\lBrace"),D("⦄","\\rBrace"),D("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),D("⦵","\\minuso"),D("\\darr","\\downarrow"),D("\\dArr","\\Downarrow"),D("\\Darr","\\Downarrow"),D("\\lang","\\langle"),D("\\rang","\\rangle"),D("\\uarr","\\uparrow"),D("\\uArr","\\Uparrow"),D("\\Uarr","\\Uparrow"),D("\\N","\\mathbb{N}"),D("\\R","\\mathbb{R}"),D("\\Z","\\mathbb{Z}"),D("\\alef","\\aleph"),D("\\alefsym","\\aleph"),D("\\Alpha","\\mathrm{A}"),D("\\Beta","\\mathrm{B}"),D("\\bull","\\bullet"),D("\\Chi","\\mathrm{X}"),D("\\clubs","\\clubsuit"),D("\\cnums","\\mathbb{C}"),D("\\Complex","\\mathbb{C}"),D("\\Dagger","\\ddagger"),D("\\diamonds","\\diamondsuit"),D("\\empty","\\emptyset"),D("\\Epsilon","\\mathrm{E}"),D("\\Eta","\\mathrm{H}"),D("\\exist","\\exists"),D("\\harr","\\leftrightarrow"),D("\\hArr","\\Leftrightarrow"),D("\\Harr","\\Leftrightarrow"),D("\\hearts","\\heartsuit"),D("\\image","\\Im"),D("\\infin","\\infty"),D("\\Iota","\\mathrm{I}"),D("\\isin","\\in"),D("\\Kappa","\\mathrm{K}"),D("\\larr","\\leftarrow"),D("\\lArr","\\Leftarrow"),D("\\Larr","\\Leftarrow"),D("\\lrarr","\\leftrightarrow"),D("\\lrArr","\\Leftrightarrow"),D("\\Lrarr","\\Leftrightarrow"),D("\\Mu","\\mathrm{M}"),D("\\natnums","\\mathbb{N}"),D("\\Nu","\\mathrm{N}"),D("\\Omicron","\\mathrm{O}"),D("\\plusmn","\\pm"),D("\\rarr","\\rightarrow"),D("\\rArr","\\Rightarrow"),D("\\Rarr","\\Rightarrow"),D("\\real","\\Re"),D("\\reals","\\mathbb{R}"),D("\\Reals","\\mathbb{R}"),D("\\Rho","\\mathrm{P}"),D("\\sdot","\\cdot"),D("\\sect","\\S"),D("\\spades","\\spadesuit"),D("\\sub","\\subset"),D("\\sube","\\subseteq"),D("\\supe","\\supseteq"),D("\\Tau","\\mathrm{T}"),D("\\thetasym","\\vartheta"),D("\\weierp","\\wp"),D("\\Zeta","\\mathrm{Z}"),D("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),D("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),D("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),D("\\bra","\\mathinner{\\langle{#1}|}"),D("\\ket","\\mathinner{|{#1}\\rangle}"),D("\\braket","\\mathinner{\\langle{#1}\\rangle}"),D("\\Bra","\\left\\langle#1\\right|"),D("\\Ket","\\left|#1\\right\\rangle");const m4=s=>i=>{const o=i.consumeArg().tokens,h=i.consumeArg().tokens,y=i.consumeArg().tokens,w=i.consumeArg().tokens,T=i.macros.get("|"),C=i.macros.get("\\|");i.macros.beginGroup();const _=W=>Q=>{s&&(Q.macros.set("|",T),y.length&&Q.macros.set("\\|",C));let ne=W;return!W&&y.length&&Q.future().text==="|"&&(Q.popToken(),ne=!0),{tokens:ne?y:h,numArgs:0}};i.macros.set("|",_(!1)),y.length&&i.macros.set("\\|",_(!0));const P=i.consumeArg().tokens,U=i.expandTokens([...w,...P,...o]);return i.macros.endGroup(),{tokens:U.reverse(),numArgs:0}};D("\\bra@ket",m4(!1)),D("\\bra@set",m4(!0)),D("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),D("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),D("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),D("\\angln","{\\angl n}"),D("\\blue","\\textcolor{##6495ed}{#1}"),D("\\orange","\\textcolor{##ffa500}{#1}"),D("\\pink","\\textcolor{##ff00af}{#1}"),D("\\red","\\textcolor{##df0030}{#1}"),D("\\green","\\textcolor{##28ae7b}{#1}"),D("\\gray","\\textcolor{gray}{#1}"),D("\\purple","\\textcolor{##9d38bd}{#1}"),D("\\blueA","\\textcolor{##ccfaff}{#1}"),D("\\blueB","\\textcolor{##80f6ff}{#1}"),D("\\blueC","\\textcolor{##63d9ea}{#1}"),D("\\blueD","\\textcolor{##11accd}{#1}"),D("\\blueE","\\textcolor{##0c7f99}{#1}"),D("\\tealA","\\textcolor{##94fff5}{#1}"),D("\\tealB","\\textcolor{##26edd5}{#1}"),D("\\tealC","\\textcolor{##01d1c1}{#1}"),D("\\tealD","\\textcolor{##01a995}{#1}"),D("\\tealE","\\textcolor{##208170}{#1}"),D("\\greenA","\\textcolor{##b6ffb0}{#1}"),D("\\greenB","\\textcolor{##8af281}{#1}"),D("\\greenC","\\textcolor{##74cf70}{#1}"),D("\\greenD","\\textcolor{##1fab54}{#1}"),D("\\greenE","\\textcolor{##0d923f}{#1}"),D("\\goldA","\\textcolor{##ffd0a9}{#1}"),D("\\goldB","\\textcolor{##ffbb71}{#1}"),D("\\goldC","\\textcolor{##ff9c39}{#1}"),D("\\goldD","\\textcolor{##e07d10}{#1}"),D("\\goldE","\\textcolor{##a75a05}{#1}"),D("\\redA","\\textcolor{##fca9a9}{#1}"),D("\\redB","\\textcolor{##ff8482}{#1}"),D("\\redC","\\textcolor{##f9685d}{#1}"),D("\\redD","\\textcolor{##e84d39}{#1}"),D("\\redE","\\textcolor{##bc2612}{#1}"),D("\\maroonA","\\textcolor{##ffbde0}{#1}"),D("\\maroonB","\\textcolor{##ff92c6}{#1}"),D("\\maroonC","\\textcolor{##ed5fa6}{#1}"),D("\\maroonD","\\textcolor{##ca337c}{#1}"),D("\\maroonE","\\textcolor{##9e034e}{#1}"),D("\\purpleA","\\textcolor{##ddd7ff}{#1}"),D("\\purpleB","\\textcolor{##c6b9fc}{#1}"),D("\\purpleC","\\textcolor{##aa87ff}{#1}"),D("\\purpleD","\\textcolor{##7854ab}{#1}"),D("\\purpleE","\\textcolor{##543b78}{#1}"),D("\\mintA","\\textcolor{##f5f9e8}{#1}"),D("\\mintB","\\textcolor{##edf2df}{#1}"),D("\\mintC","\\textcolor{##e0e5cc}{#1}"),D("\\grayA","\\textcolor{##f6f7f7}{#1}"),D("\\grayB","\\textcolor{##f0f1f2}{#1}"),D("\\grayC","\\textcolor{##e3e5e6}{#1}"),D("\\grayD","\\textcolor{##d6d8da}{#1}"),D("\\grayE","\\textcolor{##babec2}{#1}"),D("\\grayF","\\textcolor{##888d93}{#1}"),D("\\grayG","\\textcolor{##626569}{#1}"),D("\\grayH","\\textcolor{##3b3e40}{#1}"),D("\\grayI","\\textcolor{##21242c}{#1}"),D("\\kaBlue","\\textcolor{##314453}{#1}"),D("\\kaGreen","\\textcolor{##71B307}{#1}");const d4={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class _f{constructor(i,o,h){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=o,this.expansionCount=0,this.feed(i),this.macros=new If(Rf,o.macros),this.mode=h,this.stack=[]}feed(i){this.lexer=new o4(i,this.settings)}switchMode(i){this.mode=i}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(i){this.stack.push(i)}pushTokens(i){this.stack.push(...i)}scanArgument(i){let o,h,y;if(i){if(this.consumeSpaces(),this.future().text!=="[")return null;o=this.popToken(),{tokens:y,end:h}=this.consumeArg(["]"])}else({tokens:y,start:o,end:h}=this.consumeArg());return this.pushToken(new w0("EOF",h.loc)),this.pushTokens(y),o.range(h,"")}consumeSpaces(){for(;this.future().text===" ";)this.stack.pop()}consumeArg(i){const o=[],h=i&&i.length>0;h||this.consumeSpaces();const y=this.future();let w,T=0,C=0;do{if(w=this.popToken(),o.push(w),w.text==="{")++T;else if(w.text==="}"){if(--T,T===-1)throw new l("Extra }",w)}else if(w.text==="EOF")throw new l("Unexpected end of input in a macro argument, expected '"+(i&&h?i[C]:"}")+"'",w);if(i&&h)if((T===0||T===1&&i[C]==="{")&&w.text===i[C]){if(++C,C===i.length){o.splice(-C,C);break}}else C=0}while(T!==0||h);return y.text==="{"&&o[o.length-1].text==="}"&&(o.pop(),o.shift()),o.reverse(),{tokens:o,start:y,end:w}}consumeArgs(i,o){if(o){if(o.length!==i+1)throw new l("The length of delimiters doesn't match the number of args!");const y=o[0];for(let w=0;w<y.length;w++){const T=this.popToken();if(y[w]!==T.text)throw new l("Use of the macro doesn't match its definition",T)}}const h=[];for(let y=0;y<i;y++)h.push(this.consumeArg(o&&o[y+1]).tokens);return h}countExpansion(i){if(this.expansionCount+=i,this.expansionCount>this.settings.maxExpand)throw new l("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(i){const o=this.popToken(),h=o.text,y=o.noexpand?null:this._getExpansion(h);if(y==null||i&&y.unexpandable){if(i&&y==null&&h[0]==="\\"&&!this.isDefined(h))throw new l("Undefined control sequence: "+h);return this.pushToken(o),!1}this.countExpansion(1);let w=y.tokens;const T=this.consumeArgs(y.numArgs,y.delimiters);if(y.numArgs){w=w.slice();for(let C=w.length-1;C>=0;--C){let _=w[C];if(_.text==="#"){if(C===0)throw new l("Incomplete placeholder at end of macro body",_);if(_=w[--C],_.text==="#")w.splice(C+1,1);else if(/^[1-9]$/.test(_.text))w.splice(C,2,...T[+_.text-1]);else throw new l("Not a valid argument number",_)}}}return this.pushTokens(w),w.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){const i=this.stack.pop();return i.treatAsRelax&&(i.text="\\relax"),i}throw new Error}expandMacro(i){return this.macros.has(i)?this.expandTokens([new w0(i)]):void 0}expandTokens(i){const o=[],h=this.stack.length;for(this.pushTokens(i);this.stack.length>h;)if(this.expandOnce(!0)===!1){const y=this.stack.pop();y.treatAsRelax&&(y.noexpand=!1,y.treatAsRelax=!1),o.push(y)}return this.countExpansion(o.length),o}expandMacroAsText(i){const o=this.expandMacro(i);return o&&o.map(h=>h.text).join("")}_getExpansion(i){const o=this.macros.get(i);if(o==null)return o;if(i.length===1){const y=this.lexer.catcodes[i];if(y!=null&&y!==13)return}const h=typeof o=="function"?o(this):o;if(typeof h=="string"){let y=0;if(h.indexOf("#")!==-1){const P=h.replace(/##/g,"");for(;P.indexOf("#"+(y+1))!==-1;)++y}const w=new o4(h,this.settings),T=[];let C=w.lex();for(;C.text!=="EOF";)T.push(C),C=w.lex();return T.reverse(),{tokens:T,numArgs:y}}return h}isDefined(i){return this.macros.has(i)||wr.hasOwnProperty(i)||dt.math.hasOwnProperty(i)||dt.text.hasOwnProperty(i)||d4.hasOwnProperty(i)}isExpandable(i){const o=this.macros.get(i);return o!=null?typeof o=="string"||typeof o=="function"||!o.unexpandable:wr.hasOwnProperty(i)&&!wr[i].primitive}}const p4=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Oi=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),is={"́":{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"}},f4={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class Fi{constructor(i,o){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 _f(i,o,this.mode),this.settings=o,this.leftrightDepth=0}expect(i,o){if(o===void 0&&(o=!0),this.fetch().text!==i)throw new l("Expected '"+i+"', got '"+this.fetch().text+"'",this.fetch());o&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(i){this.mode=i,this.gullet.switchMode(i)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{const i=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),i}finally{this.gullet.endGroups()}}subparse(i){const o=this.nextToken;this.consume(),this.gullet.pushToken(new w0("}")),this.gullet.pushTokens(i);const h=this.parseExpression(!1);return this.expect("}"),this.nextToken=o,h}parseExpression(i,o){const h=[];for(;;){this.mode==="math"&&this.consumeSpaces();const y=this.fetch();if(Fi.endOfExpression.indexOf(y.text)!==-1||o&&y.text===o||i&&wr[y.text]&&wr[y.text].infix)break;const w=this.parseAtom(o);if(w){if(w.type==="internal")continue}else break;h.push(w)}return this.mode==="text"&&this.formLigatures(h),this.handleInfixNodes(h)}handleInfixNodes(i){let o=-1,h;for(let y=0;y<i.length;y++)if(i[y].type==="infix"){if(o!==-1)throw new l("only one infix operator per group",i[y].token);o=y,h=i[y].replaceWith}if(o!==-1&&h){let y,w;const T=i.slice(0,o),C=i.slice(o+1);T.length===1&&T[0].type==="ordgroup"?y=T[0]:y={type:"ordgroup",mode:this.mode,body:T},C.length===1&&C[0].type==="ordgroup"?w=C[0]:w={type:"ordgroup",mode:this.mode,body:C};let _;return h==="\\\\abovefrac"?_=this.callFunction(h,[y,i[o],w],[]):_=this.callFunction(h,[y,w],[]),[_]}else return i}handleSupSubscript(i){const o=this.fetch(),h=o.text;this.consume(),this.consumeSpaces();let y;do{var w;y=this.parseGroup(i)}while(((w=y)==null?void 0:w.type)==="internal");if(!y)throw new l("Expected group after '"+h+"'",o);return y}formatUnsupportedCmd(i){const o=[];for(let w=0;w<i.length;w++)o.push({type:"textord",mode:"text",text:i[w]});const h={type:"text",mode:this.mode,body:o};return{type:"color",mode:this.mode,color:this.settings.errorColor,body:[h]}}parseAtom(i){const o=this.parseGroup("atom",i);if((o==null?void 0:o.type)==="internal"||this.mode==="text")return o;let h,y;for(;;){this.consumeSpaces();const w=this.fetch();if(w.text==="\\limits"||w.text==="\\nolimits"){if(o&&o.type==="op"){const T=w.text==="\\limits";o.limits=T,o.alwaysHandleSupSub=!0}else if(o&&o.type==="operatorname")o.alwaysHandleSupSub&&(o.limits=w.text==="\\limits");else throw new l("Limit controls must follow a math operator",w);this.consume()}else if(w.text==="^"){if(h)throw new l("Double superscript",w);h=this.handleSupSubscript("superscript")}else if(w.text==="_"){if(y)throw new l("Double subscript",w);y=this.handleSupSubscript("subscript")}else if(w.text==="'"){if(h)throw new l("Double superscript",w);const T={type:"textord",mode:this.mode,text:"\\prime"},C=[T];for(this.consume();this.fetch().text==="'";)C.push(T),this.consume();this.fetch().text==="^"&&C.push(this.handleSupSubscript("superscript")),h={type:"ordgroup",mode:this.mode,body:C}}else if(Oi[w.text]){const T=p4.test(w.text),C=[];for(C.push(new w0(Oi[w.text])),this.consume();;){const P=this.fetch().text;if(!Oi[P]||p4.test(P)!==T)break;C.unshift(new w0(Oi[P])),this.consume()}const _=this.subparse(C);T?y={type:"ordgroup",mode:"math",body:_}:h={type:"ordgroup",mode:"math",body:_}}else break}return h||y?{type:"supsub",mode:this.mode,base:o,sup:h,sub:y}:o}parseFunction(i,o){const h=this.fetch(),y=h.text,w=wr[y];if(!w)return null;if(this.consume(),o&&o!=="atom"&&!w.allowedInArgument)throw new l("Got function '"+y+"' with no arguments"+(o?" as "+o:""),h);if(this.mode==="text"&&!w.allowedInText)throw new l("Can't use function '"+y+"' in text mode",h);if(this.mode==="math"&&w.allowedInMath===!1)throw new l("Can't use function '"+y+"' in math mode",h);const{args:T,optArgs:C}=this.parseArguments(y,w);return this.callFunction(y,T,C,h,i)}callFunction(i,o,h,y,w){const T={funcName:i,parser:this,token:y,breakOnTokenText:w},C=wr[i];if(C&&C.handler)return C.handler(T,o,h);throw new l("No function handler for "+i)}parseArguments(i,o){const h=o.numArgs+o.numOptionalArgs;if(h===0)return{args:[],optArgs:[]};const y=[],w=[];for(let T=0;T<h;T++){let C=o.argTypes&&o.argTypes[T];const _=T<o.numOptionalArgs;(o.primitive&&C==null||o.type==="sqrt"&&T===1&&w[0]==null)&&(C="primitive");const P=this.parseGroupOfType("argument to '"+i+"'",C,_);if(_)w.push(P);else if(P!=null)y.push(P);else throw new l("Null argument, please report this as a bug")}return{args:y,optArgs:w}}parseGroupOfType(i,o,h){switch(o){case"color":return this.parseColorGroup(h);case"size":return this.parseSizeGroup(h);case"url":return this.parseUrlGroup(h);case"math":case"text":return this.parseArgumentGroup(h,o);case"hbox":{const y=this.parseArgumentGroup(h,"text");return y!=null?{type:"styling",mode:y.mode,body:[y],style:"text"}:null}case"raw":{const y=this.parseStringGroup("raw",h);return y!=null?{type:"raw",mode:"text",string:y.text}:null}case"primitive":{if(h)throw new l("A primitive argument cannot be optional");const y=this.parseGroup(i);if(y==null)throw new l("Expected group as "+i,this.fetch());return y}case"original":case null:case void 0:return this.parseArgumentGroup(h);default:throw new l("Unknown group type as "+i,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(i,o){const h=this.gullet.scanArgument(o);if(h==null)return null;let y="",w;for(;(w=this.fetch()).text!=="EOF";)y+=w.text,this.consume();return this.consume(),h.text=y,h}parseRegexGroup(i,o){const h=this.fetch();let y=h,w="",T;for(;(T=this.fetch()).text!=="EOF"&&i.test(w+T.text);)y=T,w+=y.text,this.consume();if(w==="")throw new l("Invalid "+o+": '"+h.text+"'",h);return h.range(y,w)}parseColorGroup(i){const o=this.parseStringGroup("color",i);if(o==null)return null;const h=/^(#[a-f0-9]{3}|#?[a-f0-9]{6}|[a-z]+)$/i.exec(o.text);if(!h)throw new l("Invalid color: '"+o.text+"'",o);let y=h[0];return/^[0-9a-f]{6}$/i.test(y)&&(y="#"+y),{type:"color-token",mode:this.mode,color:y}}parseSizeGroup(i){let o,h=!1;if(this.gullet.consumeSpaces(),!i&&this.gullet.future().text!=="{"?o=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):o=this.parseStringGroup("size",i),!o)return null;!i&&o.text.length===0&&(o.text="0pt",h=!0);const y=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(o.text);if(!y)throw new l("Invalid size: '"+o.text+"'",o);const w={number:+(y[1]+y[2]),unit:y[3]};if(!i0(w))throw new l("Invalid unit: '"+w.unit+"'",o);return{type:"size",mode:this.mode,value:w,isBlank:h}}parseUrlGroup(i){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);const o=this.parseStringGroup("url",i);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),o==null)return null;const h=o.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:h}}parseArgumentGroup(i,o){const h=this.gullet.scanArgument(i);if(h==null)return null;const y=this.mode;o&&this.switchMode(o),this.gullet.beginGroup();const w=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();const T={type:"ordgroup",mode:this.mode,loc:h.loc,body:w};return o&&this.switchMode(y),T}parseGroup(i,o){const h=this.fetch(),y=h.text;let w;if(y==="{"||y==="\\begingroup"){this.consume();const T=y==="{"?"}":"\\endgroup";this.gullet.beginGroup();const C=this.parseExpression(!1,T),_=this.fetch();this.expect(T),this.gullet.endGroup(),w={type:"ordgroup",mode:this.mode,loc:d0.range(h,_),body:C,semisimple:y==="\\begingroup"||void 0}}else if(w=this.parseFunction(o,i)||this.parseSymbol(),w==null&&y[0]==="\\"&&!d4.hasOwnProperty(y)){if(this.settings.throwOnError)throw new l("Undefined control sequence: "+y,h);w=this.formatUnsupportedCmd(y),this.consume()}return w}formLigatures(i){let o=i.length-1;for(let h=0;h<o;++h){const y=i[h],w=y.text;w==="-"&&i[h+1].text==="-"&&(h+1<o&&i[h+2].text==="-"?(i.splice(h,3,{type:"textord",mode:"text",loc:d0.range(y,i[h+2]),text:"---"}),o-=2):(i.splice(h,2,{type:"textord",mode:"text",loc:d0.range(y,i[h+1]),text:"--"}),o-=1)),(w==="'"||w==="`")&&i[h+1].text===w&&(i.splice(h,2,{type:"textord",mode:"text",loc:d0.range(y,i[h+1]),text:w+w}),o-=1)}}parseSymbol(){const i=this.fetch();let o=i.text;if(/^\\verb[^a-zA-Z]/.test(o)){this.consume();let w=o.slice(5);const T=w.charAt(0)==="*";if(T&&(w=w.slice(1)),w.length<2||w.charAt(0)!==w.slice(-1))throw new l(`\\verb assertion failed --
584
- please report what input caused this bug`);return w=w.slice(1,-1),{type:"verb",mode:"text",body:w,star:T}}f4.hasOwnProperty(o[0])&&!dt[this.mode][o[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+o[0]+'" used in math mode',i),o=f4[o[0]]+o.slice(1));const h=Bf.exec(o);h&&(o=o.substring(0,h.index),o==="i"?o="ı":o==="j"&&(o="ȷ"));let y;if(dt[this.mode][o]){this.settings.strict&&this.mode==="math"&&zl.indexOf(o)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+o[0]+'" used in math mode',i);const w=dt[this.mode][o].group,T=d0.range(i);let C;if(wi.hasOwnProperty(w)){const _=w;C={type:"atom",mode:this.mode,family:_,loc:T,text:o}}else C={type:w,mode:this.mode,loc:T,text:o};y=C}else if(o.charCodeAt(0)>=128)this.settings.strict&&(It(o.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+o[0]+'" used in math mode',i):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+o[0]+'"'+(" ("+o.charCodeAt(0)+")"),i)),y={type:"textord",mode:"text",loc:d0.range(i),text:o};else return null;if(this.consume(),h)for(let w=0;w<h[0].length;w++){const T=h[0][w];if(!is[T])throw new l("Unknown accent ' "+T+"'",i);const C=is[T][this.mode]||is[T].text;if(!C)throw new l("Accent "+T+" unsupported in "+this.mode+" mode",i);y={type:"accent",mode:this.mode,loc:d0.range(i),label:C,isStretchy:!1,isShifty:!0,base:y}}return y}}Fi.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var as=function(s,i){if(!(typeof s=="string"||s instanceof String))throw new TypeError("KaTeX can only parse string typed expression");const o=new Fi(s,i);delete o.gullet.macros.current["\\df@tag"];let h=o.parse();if(delete o.gullet.macros.current["\\current@color"],delete o.gullet.macros.current["\\color"],o.gullet.macros.get("\\df@tag")){if(!i.displayMode)throw new l("\\tag works only in display equations");h=[{type:"tag",mode:"text",body:h,tag:o.subparse([new w0("\\df@tag")])}]}return h};let g4=function(s,i,o){i.textContent="";const h=ls(s,o).toNode();i.appendChild(h)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),g4=function(){throw new l("KaTeX doesn't work in quirks mode.")});const qf=function(s,i){return ls(s,i).toMarkup()},Of=function(s,i){const o=new ae(i);return as(s,o)},y4=function(s,i,o){if(o.throwOnError||!(s instanceof l))throw s;const h=Z.makeSpan(["katex-error"],[new Kt(i)]);return h.setAttribute("title",s.toString()),h.setAttribute("style","color:"+o.errorColor),h},ls=function(s,i){const o=new ae(i);try{const h=as(s,o);return Kp(h,s,o)}catch(h){return y4(h,s,o)}};var Ff={version:"0.16.22",render:g4,renderToString:qf,ParseError:l,SETTINGS_SCHEMA:L,__parse:Of,__renderToDomTree:ls,__renderToHTMLTree:function(s,i){const o=new ae(i);try{const h=as(s,o);return Jp(h,s,o)}catch(h){return y4(h,s,o)}},__setFontMetrics:Dr,__defineSymbol:x,__defineFunction:Se,__defineMacro:D,__domTree:{Span:ir,Anchor:Ir,SymbolNode:Kt,SvgNode:D0,PathNode:B0,LineNode:Jr}},Lf=Ff;return n=n.default,n})()})})(yi)),yi.exports}var Mp=gi.exports,ic;function Ap(){return ic||(ic=1,(function(e,t){(function(n,a){e.exports=a(Sp())})(typeof self<"u"?self:Mp,function(r){return(function(){var n={757:(function(d){d.exports=r})},a={};function l(d){var p=a[d];if(p!==void 0)return p.exports;var A=a[d]={exports:{}};return n[d](A,A.exports,l),A.exports}(function(){l.n=function(d){var p=d&&d.__esModule?function(){return d.default}:function(){return d};return l.d(p,{a:p}),p}})(),(function(){l.d=function(d,p){for(var A in p)l.o(p,A)&&!l.o(d,A)&&Object.defineProperty(d,A,{enumerable:!0,get:p[A]})}})(),(function(){l.o=function(d,p){return Object.prototype.hasOwnProperty.call(d,p)}})();var u={},c=l(757),m=l.n(c);m().__defineMacro("\\ce",function(d){return f(d.consumeArgs(1)[0],"ce")}),m().__defineMacro("\\pu",function(d){return f(d.consumeArgs(1)[0],"pu")}),m().__defineMacro("\\tripledash","{\\vphantom{-}\\raisebox{2.56mu}{$\\mkern2mu\\tiny\\text{-}\\mkern1mu\\text{-}\\mkern1mu\\text{-}\\mkern2mu$}}");var f=function(d,p){for(var A="",B=d.length&&d[d.length-1].loc.start,H=d.length-1;H>=0;H--)d[H].loc.start>B&&(A+=" ",B=d[H].loc.start),A+=d[H].text,B+=d[H].text.length;var R=b.go(g.go(A,p));return R},g={go:function(d,p){if(!d)return[];p===void 0&&(p="ce");var A="0",B={};B.parenthesisLevel=0,d=d.replace(/\n/g," "),d=d.replace(/[\u2212\u2013\u2014\u2010]/g,"-"),d=d.replace(/[\u2026]/g,"...");for(var H,R=10,L=[];;){H!==d?(R=10,H=d):R--;var K=g.stateMachines[p],ae=K.transitions[A]||K.transitions["*"];e:for(var re=0;re<ae.length;re++){var Y=g.patterns.match_(ae[re].pattern,d);if(Y){for(var oe=ae[re].task,ve=0;ve<oe.action_.length;ve++){var ue;if(K.actions[oe.action_[ve].type_])ue=K.actions[oe.action_[ve].type_](B,Y.match_,oe.action_[ve].option);else if(g.actions[oe.action_[ve].type_])ue=g.actions[oe.action_[ve].type_](B,Y.match_,oe.action_[ve].option);else throw["MhchemBugA","mhchem bug A. Please report. ("+oe.action_[ve].type_+")"];g.concatArray(L,ue)}if(A=oe.nextState||A,d.length>0){if(oe.revisit||(d=Y.remainder),!oe.toContinue)break e}else return L}}if(R<=0)throw["MhchemBugU","mhchem bug U. Please report."]}},concatArray:function(d,p){if(p)if(Array.isArray(p))for(var A=0;A<p.length;A++)d.push(p[A]);else d.push(p)},patterns:{patterns:{empty:/^$/,else:/^./,else2:/^./,space:/^\s/,"space A":/^\s(?=[A-Z\\$])/,space$:/^\s$/,"a-z":/^[a-z]/,x:/^x/,x$:/^x$/,i$:/^i$/,letters:/^(?:[a-zA-Z\u03B1-\u03C9\u0391-\u03A9?@]|(?:\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\s+|\{\}|(?![a-zA-Z]))))+/,"\\greek":/^\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\s+|\{\}|(?![a-zA-Z]))/,"one lowercase latin letter $":/^(?:([a-z])(?:$|[^a-zA-Z]))$/,"$one lowercase latin letter$ $":/^\$(?:([a-z])(?:$|[^a-zA-Z]))\$$/,"one lowercase greek letter $":/^(?:\$?[\u03B1-\u03C9]\$?|\$?\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega)\s*\$?)(?:\s+|\{\}|(?![a-zA-Z]))$/,digits:/^[0-9]+/,"-9.,9":/^[+\-]?(?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))/,"-9.,9 no missing 0":/^[+\-]?[0-9]+(?:[.,][0-9]+)?/,"(-)(9.,9)(e)(99)":function(d){var p=d.match(/^(\+\-|\+\/\-|\+|\-|\\pm\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))?(\((?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))\))?(?:([eE]|\s*(\*|x|\\times|\u00D7)\s*10\^)([+\-]?[0-9]+|\{[+\-]?[0-9]+\}))?/);return p&&p[0]?{match_:p.splice(1),remainder:d.substr(p[0].length)}:null},"(-)(9)^(-9)":function(d){var p=d.match(/^(\+\-|\+\/\-|\+|\-|\\pm\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+)?)\^([+\-]?[0-9]+|\{[+\-]?[0-9]+\})/);return p&&p[0]?{match_:p.splice(1),remainder:d.substr(p[0].length)}:null},"state of aggregation $":function(d){var p=g.patterns.findObserveGroups(d,"",/^\([a-z]{1,3}(?=[\),])/,")","");if(p&&p.remainder.match(/^($|[\s,;\)\]\}])/))return p;var A=d.match(/^(?:\((?:\\ca\s?)?\$[amothc]\$\))/);return A?{match_:A[0],remainder:d.substr(A[0].length)}:null},"_{(state of aggregation)}$":/^_\{(\([a-z]{1,3}\))\}/,"{[(":/^(?:\\\{|\[|\()/,")]}":/^(?:\)|\]|\\\})/,", ":/^[,;]\s*/,",":/^[,;]/,".":/^[.]/,". ":/^([.\u22C5\u00B7\u2022])\s*/,"...":/^\.\.\.(?=$|[^.])/,"* ":/^([*])\s*/,"^{(...)}":function(d){return g.patterns.findObserveGroups(d,"^{","","","}")},"^($...$)":function(d){return g.patterns.findObserveGroups(d,"^","$","$","")},"^a":/^\^([0-9]+|[^\\_])/,"^\\x{}{}":function(d){return g.patterns.findObserveGroups(d,"^",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"^\\x{}":function(d){return g.patterns.findObserveGroups(d,"^",/^\\[a-zA-Z]+\{/,"}","")},"^\\x":/^\^(\\[a-zA-Z]+)\s*/,"^(-1)":/^\^(-?\d+)/,"'":/^'/,"_{(...)}":function(d){return g.patterns.findObserveGroups(d,"_{","","","}")},"_($...$)":function(d){return g.patterns.findObserveGroups(d,"_","$","$","")},_9:/^_([+\-]?[0-9]+|[^\\])/,"_\\x{}{}":function(d){return g.patterns.findObserveGroups(d,"_",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"_\\x{}":function(d){return g.patterns.findObserveGroups(d,"_",/^\\[a-zA-Z]+\{/,"}","")},"_\\x":/^_(\\[a-zA-Z]+)\s*/,"^_":/^(?:\^(?=_)|\_(?=\^)|[\^_]$)/,"{}":/^\{\}/,"{...}":function(d){return g.patterns.findObserveGroups(d,"","{","}","")},"{(...)}":function(d){return g.patterns.findObserveGroups(d,"{","","","}")},"$...$":function(d){return g.patterns.findObserveGroups(d,"","$","$","")},"${(...)}$":function(d){return g.patterns.findObserveGroups(d,"${","","","}$")},"$(...)$":function(d){return g.patterns.findObserveGroups(d,"$","","","$")},"=<>":/^[=<>]/,"#":/^[#\u2261]/,"+":/^\+/,"-$":/^-(?=[\s_},;\]/]|$|\([a-z]+\))/,"-9":/^-(?=[0-9])/,"- orbital overlap":/^-(?=(?:[spd]|sp)(?:$|[\s,;\)\]\}]))/,"-":/^-/,"pm-operator":/^(?:\\pm|\$\\pm\$|\+-|\+\/-)/,operator:/^(?:\+|(?:[\-=<>]|<<|>>|\\approx|\$\\approx\$)(?=\s|$|-?[0-9]))/,arrowUpDown:/^(?:v|\(v\)|\^|\(\^\))(?=$|[\s,;\)\]\}])/,"\\bond{(...)}":function(d){return g.patterns.findObserveGroups(d,"\\bond{","","","}")},"->":/^(?:<->|<-->|->|<-|<=>>|<<=>|<=>|[\u2192\u27F6\u21CC])/,CMT:/^[CMT](?=\[)/,"[(...)]":function(d){return g.patterns.findObserveGroups(d,"[","","","]")},"1st-level escape":/^(&|\\\\|\\hline)\s*/,"\\,":/^(?:\\[,\ ;:])/,"\\x{}{}":function(d){return g.patterns.findObserveGroups(d,"",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"\\x{}":function(d){return g.patterns.findObserveGroups(d,"",/^\\[a-zA-Z]+\{/,"}","")},"\\ca":/^\\ca(?:\s+|(?![a-zA-Z]))/,"\\x":/^(?:\\[a-zA-Z]+\s*|\\[_&{}%])/,orbital:/^(?:[0-9]{1,2}[spdfgh]|[0-9]{0,2}sp)(?=$|[^a-zA-Z])/,others:/^[\/~|]/,"\\frac{(...)}":function(d){return g.patterns.findObserveGroups(d,"\\frac{","","","}","{","","","}")},"\\overset{(...)}":function(d){return g.patterns.findObserveGroups(d,"\\overset{","","","}","{","","","}")},"\\underset{(...)}":function(d){return g.patterns.findObserveGroups(d,"\\underset{","","","}","{","","","}")},"\\underbrace{(...)}":function(d){return g.patterns.findObserveGroups(d,"\\underbrace{","","","}_","{","","","}")},"\\color{(...)}0":function(d){return g.patterns.findObserveGroups(d,"\\color{","","","}")},"\\color{(...)}{(...)}1":function(d){return g.patterns.findObserveGroups(d,"\\color{","","","}","{","","","}")},"\\color(...){(...)}2":function(d){return g.patterns.findObserveGroups(d,"\\color","\\","",/^(?=\{)/,"{","","","}")},"\\ce{(...)}":function(d){return g.patterns.findObserveGroups(d,"\\ce{","","","}")},oxidation$:/^(?:[+-][IVX]+|\\pm\s*0|\$\\pm\$\s*0)$/,"d-oxidation$":/^(?:[+-]?\s?[IVX]+|\\pm\s*0|\$\\pm\$\s*0)$/,"roman numeral":/^[IVX]+/,"1/2$":/^[+\-]?(?:[0-9]+|\$[a-z]\$|[a-z])\/[0-9]+(?:\$[a-z]\$|[a-z])?$/,amount:function(d){var p;if(p=d.match(/^(?:(?:(?:\([+\-]?[0-9]+\/[0-9]+\)|[+\-]?(?:[0-9]+|\$[a-z]\$|[a-z])\/[0-9]+|[+\-]?[0-9]+[.,][0-9]+|[+\-]?\.[0-9]+|[+\-]?[0-9]+)(?:[a-z](?=\s*[A-Z]))?)|[+\-]?[a-z](?=\s*[A-Z])|\+(?!\s))/),p)return{match_:p[0],remainder:d.substr(p[0].length)};var A=g.patterns.findObserveGroups(d,"","$","$","");return A&&(p=A.match_.match(/^\$(?:\(?[+\-]?(?:[0-9]*[a-z]?[+\-])?[0-9]*[a-z](?:[+\-][0-9]*[a-z]?)?\)?|\+|-)\$$/),p)?{match_:p[0],remainder:d.substr(p[0].length)}:null},amount2:function(d){return this.amount(d)},"(KV letters),":/^(?:[A-Z][a-z]{0,2}|i)(?=,)/,formula$:function(d){if(d.match(/^\([a-z]+\)$/))return null;var p=d.match(/^(?:[a-z]|(?:[0-9\ \+\-\,\.\(\)]+[a-z])+[0-9\ \+\-\,\.\(\)]*|(?:[a-z][0-9\ \+\-\,\.\(\)]+)+[a-z]?)$/);return p?{match_:p[0],remainder:d.substr(p[0].length)}:null},uprightEntities:/^(?:pH|pOH|pC|pK|iPr|iBu)(?=$|[^a-zA-Z])/,"/":/^\s*(\/)\s*/,"//":/^\s*(\/\/)\s*/,"*":/^\s*[*.]\s*/},findObserveGroups:function(d,p,A,B,H,R,L,K,ae,re){var Y=function(he,te){if(typeof te=="string")return he.indexOf(te)!==0?null:te;var Ae=he.match(te);return Ae?Ae[0]:null},oe=function(he,te,Ae){for(var Ve=0;te<he.length;){var Qe=he.charAt(te),ht=Y(he.substr(te),Ae);if(ht!==null&&Ve===0)return{endMatchBegin:te,endMatchEnd:te+ht.length};if(Qe==="{")Ve++;else if(Qe==="}"){if(Ve===0)throw["ExtraCloseMissingOpen","Extra close brace or missing open brace"];Ve--}te++}return Ve>0,null},ve=Y(d,p);if(ve===null||(d=d.substr(ve.length),ve=Y(d,A),ve===null))return null;var ue=oe(d,ve.length,B||H);if(ue===null)return null;var J=d.substring(0,B?ue.endMatchEnd:ue.endMatchBegin);if(R||L){var de=this.findObserveGroups(d.substr(ue.endMatchEnd),R,L,K,ae);if(de===null)return null;var ge=[J,de.match_];return{match_:re?ge.join(""):ge,remainder:de.remainder}}else return{match_:J,remainder:d.substr(ue.endMatchEnd)}},match_:function(d,p){var A=g.patterns.patterns[d];if(A===void 0)throw["MhchemBugP","mhchem bug P. Please report. ("+d+")"];if(typeof A=="function")return g.patterns.patterns[d](p);var B=p.match(A);if(B){var H;return B[2]?H=[B[1],B[2]]:B[1]?H=B[1]:H=B[0],{match_:H,remainder:p.substr(B[0].length)}}return null}},actions:{"a=":function(d,p){d.a=(d.a||"")+p},"b=":function(d,p){d.b=(d.b||"")+p},"p=":function(d,p){d.p=(d.p||"")+p},"o=":function(d,p){d.o=(d.o||"")+p},"q=":function(d,p){d.q=(d.q||"")+p},"d=":function(d,p){d.d=(d.d||"")+p},"rm=":function(d,p){d.rm=(d.rm||"")+p},"text=":function(d,p){d.text_=(d.text_||"")+p},insert:function(d,p,A){return{type_:A}},"insert+p1":function(d,p,A){return{type_:A,p1:p}},"insert+p1+p2":function(d,p,A){return{type_:A,p1:p[0],p2:p[1]}},copy:function(d,p){return p},rm:function(d,p){return{type_:"rm",p1:p||""}},text:function(d,p){return g.go(p,"text")},"{text}":function(d,p){var A=["{"];return g.concatArray(A,g.go(p,"text")),A.push("}"),A},"tex-math":function(d,p){return g.go(p,"tex-math")},"tex-math tight":function(d,p){return g.go(p,"tex-math tight")},bond:function(d,p,A){return{type_:"bond",kind_:A||p}},"color0-output":function(d,p){return{type_:"color0",color:p[0]}},ce:function(d,p){return g.go(p)},"1/2":function(d,p){var A=[];p.match(/^[+\-]/)&&(A.push(p.substr(0,1)),p=p.substr(1));var B=p.match(/^([0-9]+|\$[a-z]\$|[a-z])\/([0-9]+)(\$[a-z]\$|[a-z])?$/);return B[1]=B[1].replace(/\$/g,""),A.push({type_:"frac",p1:B[1],p2:B[2]}),B[3]&&(B[3]=B[3].replace(/\$/g,""),A.push({type_:"tex-math",p1:B[3]})),A},"9,9":function(d,p){return g.go(p,"9,9")}},createTransitions:function(d){var p,A,B,H,R={};for(p in d)for(A in d[p])for(B=A.split("|"),d[p][A].stateArray=B,H=0;H<B.length;H++)R[B[H]]=[];for(p in d)for(A in d[p])for(B=d[p][A].stateArray||[],H=0;H<B.length;H++){var L=d[p][A];if(L.action_){L.action_=[].concat(L.action_);for(var K=0;K<L.action_.length;K++)typeof L.action_[K]=="string"&&(L.action_[K]={type_:L.action_[K]})}else L.action_=[];for(var ae=p.split("|"),re=0;re<ae.length;re++)if(B[H]==="*")for(var Y in R)R[Y].push({pattern:ae[re],task:L});else R[B[H]].push({pattern:ae[re],task:L})}return R},stateMachines:{}};g.stateMachines={ce:{transitions:g.createTransitions({empty:{"*":{action_:"output"}},else:{"0|1|2":{action_:"beginsWithBond=false",revisit:!0,toContinue:!0}},oxidation$:{0:{action_:"oxidation-output"}},CMT:{r:{action_:"rdt=",nextState:"rt"},rd:{action_:"rqt=",nextState:"rdt"}},arrowUpDown:{"0|1|2|as":{action_:["sb=false","output","operator"],nextState:"1"}},uprightEntities:{"0|1|2":{action_:["o=","output"],nextState:"1"}},orbital:{"0|1|2|3":{action_:"o=",nextState:"o"}},"->":{"0|1|2|3":{action_:"r=",nextState:"r"},"a|as":{action_:["output","r="],nextState:"r"},"*":{action_:["output","r="],nextState:"r"}},"+":{o:{action_:"d= kv",nextState:"d"},"d|D":{action_:"d=",nextState:"d"},q:{action_:"d=",nextState:"qd"},"qd|qD":{action_:"d=",nextState:"qd"},dq:{action_:["output","d="],nextState:"d"},3:{action_:["sb=false","output","operator"],nextState:"0"}},amount:{"0|2":{action_:"a=",nextState:"a"}},"pm-operator":{"0|1|2|a|as":{action_:["sb=false","output",{type_:"operator",option:"\\pm"}],nextState:"0"}},operator:{"0|1|2|a|as":{action_:["sb=false","output","operator"],nextState:"0"}},"-$":{"o|q":{action_:["charge or bond","output"],nextState:"qd"},d:{action_:"d=",nextState:"d"},D:{action_:["output",{type_:"bond",option:"-"}],nextState:"3"},q:{action_:"d=",nextState:"qd"},qd:{action_:"d=",nextState:"qd"},"qD|dq":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},"-9":{"3|o":{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"3"}},"- orbital overlap":{o:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},d:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"}},"-":{"0|1|2":{action_:[{type_:"output",option:1},"beginsWithBond=true",{type_:"bond",option:"-"}],nextState:"3"},3:{action_:{type_:"bond",option:"-"}},a:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},as:{action_:[{type_:"output",option:2},{type_:"bond",option:"-"}],nextState:"3"},b:{action_:"b="},o:{action_:{type_:"- after o/d",option:!1},nextState:"2"},q:{action_:{type_:"- after o/d",option:!1},nextState:"2"},"d|qd|dq":{action_:{type_:"- after o/d",option:!0},nextState:"2"},"D|qD|p":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},amount2:{"1|3":{action_:"a=",nextState:"a"}},letters:{"0|1|2|3|a|as|b|p|bp|o":{action_:"o=",nextState:"o"},"q|dq":{action_:["output","o="],nextState:"o"},"d|D|qd|qD":{action_:"o after d",nextState:"o"}},digits:{o:{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},q:{action_:["output","o="],nextState:"o"},a:{action_:"o=",nextState:"o"}},"space A":{"b|p|bp":{}},space:{a:{nextState:"as"},0:{action_:"sb=false"},"1|2":{action_:"sb=true"},"r|rt|rd|rdt|rdq":{action_:"output",nextState:"0"},"*":{action_:["output","sb=true"],nextState:"1"}},"1st-level escape":{"1|2":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}]},"*":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}],nextState:"0"}},"[(...)]":{"r|rt":{action_:"rd=",nextState:"rd"},"rd|rdt":{action_:"rq=",nextState:"rdq"}},"...":{"o|d|D|dq|qd|qD":{action_:["output",{type_:"bond",option:"..."}],nextState:"3"},"*":{action_:[{type_:"output",option:1},{type_:"insert",option:"ellipsis"}],nextState:"1"}},". |* ":{"*":{action_:["output",{type_:"insert",option:"addition compound"}],nextState:"1"}},"state of aggregation $":{"*":{action_:["output","state of aggregation"],nextState:"1"}},"{[(":{"a|as|o":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"0|1|2|3":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"*":{action_:["output","o=","output","parenthesisLevel++"],nextState:"2"}},")]}":{"0|1|2|3|b|p|bp|o":{action_:["o=","parenthesisLevel--"],nextState:"o"},"a|as|d|D|q|qd|qD|dq":{action_:["output","o=","parenthesisLevel--"],nextState:"o"}},", ":{"*":{action_:["output","comma"],nextState:"0"}},"^_":{"*":{}},"^{(...)}|^($...$)":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"D"},q:{action_:"d=",nextState:"qD"},"d|D|qd|qD|dq":{action_:["output","d="],nextState:"D"}},"^a|^\\x{}{}|^\\x{}|^\\x|'":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"d"},q:{action_:"d=",nextState:"qd"},"d|qd|D|qD":{action_:"d="},dq:{action_:["output","d="],nextState:"d"}},"_{(state of aggregation)}$":{"d|D|q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"_{(...)}|_($...$)|_9|_\\x{}{}|_\\x{}|_\\x":{"0|1|2|as":{action_:"p=",nextState:"p"},b:{action_:"p=",nextState:"bp"},"3|o":{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},"q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"=<>":{"0|1|2|3|a|as|o|q|d|D|qd|qD|dq":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"#":{"0|1|2|3|a|as|o":{action_:[{type_:"output",option:2},{type_:"bond",option:"#"}],nextState:"3"}},"{}":{"*":{action_:{type_:"output",option:1},nextState:"1"}},"{...}":{"0|1|2|3|a|as|b|p|bp":{action_:"o=",nextState:"o"},"o|d|D|q|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"$...$":{a:{action_:"a="},"0|1|2|3|as|b|p|bp|o":{action_:"o=",nextState:"o"},"as|o":{action_:"o="},"q|d|D|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"\\bond{(...)}":{"*":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"\\frac{(...)}":{"*":{action_:[{type_:"output",option:1},"frac-output"],nextState:"3"}},"\\overset{(...)}":{"*":{action_:[{type_:"output",option:2},"overset-output"],nextState:"3"}},"\\underset{(...)}":{"*":{action_:[{type_:"output",option:2},"underset-output"],nextState:"3"}},"\\underbrace{(...)}":{"*":{action_:[{type_:"output",option:2},"underbrace-output"],nextState:"3"}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:[{type_:"output",option:2},"color-output"],nextState:"3"}},"\\color{(...)}0":{"*":{action_:[{type_:"output",option:2},"color0-output"]}},"\\ce{(...)}":{"*":{action_:[{type_:"output",option:2},"ce"],nextState:"3"}},"\\,":{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"1"}},"\\x{}{}|\\x{}|\\x":{"0|1|2|3|a|as|b|p|bp|o|c0":{action_:["o=","output"],nextState:"3"},"*":{action_:["output","o=","output"],nextState:"3"}},others:{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"3"}},else2:{a:{action_:"a to o",nextState:"o",revisit:!0},as:{action_:["output","sb=true"],nextState:"1",revisit:!0},"r|rt|rd|rdt|rdq":{action_:["output"],nextState:"0",revisit:!0},"*":{action_:["output","copy"],nextState:"3"}}}),actions:{"o after d":function(d,p){var A;if((d.d||"").match(/^[0-9]+$/)){var B=d.d;d.d=void 0,A=this.output(d),d.b=B}else A=this.output(d);return g.actions["o="](d,p),A},"d= kv":function(d,p){d.d=p,d.dType="kv"},"charge or bond":function(d,p){if(d.beginsWithBond){var A=[];return g.concatArray(A,this.output(d)),g.concatArray(A,g.actions.bond(d,p,"-")),A}else d.d=p},"- after o/d":function(d,p,A){var B=g.patterns.match_("orbital",d.o||""),H=g.patterns.match_("one lowercase greek letter $",d.o||""),R=g.patterns.match_("one lowercase latin letter $",d.o||""),L=g.patterns.match_("$one lowercase latin letter$ $",d.o||""),K=p==="-"&&(B&&B.remainder===""||H||R||L);K&&!d.a&&!d.b&&!d.p&&!d.d&&!d.q&&!B&&R&&(d.o="$"+d.o+"$");var ae=[];return K?(g.concatArray(ae,this.output(d)),ae.push({type_:"hyphen"})):(B=g.patterns.match_("digits",d.d||""),A&&B&&B.remainder===""?(g.concatArray(ae,g.actions["d="](d,p)),g.concatArray(ae,this.output(d))):(g.concatArray(ae,this.output(d)),g.concatArray(ae,g.actions.bond(d,p,"-")))),ae},"a to o":function(d){d.o=d.a,d.a=void 0},"sb=true":function(d){d.sb=!0},"sb=false":function(d){d.sb=!1},"beginsWithBond=true":function(d){d.beginsWithBond=!0},"beginsWithBond=false":function(d){d.beginsWithBond=!1},"parenthesisLevel++":function(d){d.parenthesisLevel++},"parenthesisLevel--":function(d){d.parenthesisLevel--},"state of aggregation":function(d,p){return{type_:"state of aggregation",p1:g.go(p,"o")}},comma:function(d,p){var A=p.replace(/\s*$/,""),B=A!==p;return B&&d.parenthesisLevel===0?{type_:"comma enumeration L",p1:A}:{type_:"comma enumeration M",p1:A}},output:function(d,p,A){var B;if(!d.r)B=[],!d.a&&!d.b&&!d.p&&!d.o&&!d.q&&!d.d&&!A||(d.sb&&B.push({type_:"entitySkip"}),!d.o&&!d.q&&!d.d&&!d.b&&!d.p&&A!==2?(d.o=d.a,d.a=void 0):!d.o&&!d.q&&!d.d&&(d.b||d.p)?(d.o=d.a,d.d=d.b,d.q=d.p,d.a=d.b=d.p=void 0):d.o&&d.dType==="kv"&&g.patterns.match_("d-oxidation$",d.d||"")?d.dType="oxidation":d.o&&d.dType==="kv"&&!d.q&&(d.dType=void 0),B.push({type_:"chemfive",a:g.go(d.a,"a"),b:g.go(d.b,"bd"),p:g.go(d.p,"pq"),o:g.go(d.o,"o"),q:g.go(d.q,"pq"),d:g.go(d.d,d.dType==="oxidation"?"oxidation":"bd"),dType:d.dType}));else{var H;d.rdt==="M"?H=g.go(d.rd,"tex-math"):d.rdt==="T"?H=[{type_:"text",p1:d.rd||""}]:H=g.go(d.rd);var R;d.rqt==="M"?R=g.go(d.rq,"tex-math"):d.rqt==="T"?R=[{type_:"text",p1:d.rq||""}]:R=g.go(d.rq),B={type_:"arrow",r:d.r,rd:H,rq:R}}for(var L in d)L!=="parenthesisLevel"&&L!=="beginsWithBond"&&delete d[L];return B},"oxidation-output":function(d,p){var A=["{"];return g.concatArray(A,g.go(p,"oxidation")),A.push("}"),A},"frac-output":function(d,p){return{type_:"frac-ce",p1:g.go(p[0]),p2:g.go(p[1])}},"overset-output":function(d,p){return{type_:"overset",p1:g.go(p[0]),p2:g.go(p[1])}},"underset-output":function(d,p){return{type_:"underset",p1:g.go(p[0]),p2:g.go(p[1])}},"underbrace-output":function(d,p){return{type_:"underbrace",p1:g.go(p[0]),p2:g.go(p[1])}},"color-output":function(d,p){return{type_:"color",color1:p[0],color2:g.go(p[1])}},"r=":function(d,p){d.r=p},"rdt=":function(d,p){d.rdt=p},"rd=":function(d,p){d.rd=p},"rqt=":function(d,p){d.rqt=p},"rq=":function(d,p){d.rq=p},operator:function(d,p,A){return{type_:"operator",kind_:A||p}}}},a:{transitions:g.createTransitions({empty:{"*":{}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"1",revisit:!0}},"$(...)$":{"*":{action_:"tex-math tight",nextState:"1"}},",":{"*":{action_:{type_:"insert",option:"commaDecimal"}}},else2:{"*":{action_:"copy"}}}),actions:{}},o:{transitions:g.createTransitions({empty:{"*":{}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"1",revisit:!0}},letters:{"*":{action_:"rm"}},"\\ca":{"*":{action_:{type_:"insert",option:"circa"}}},"\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"{text}"}},else2:{"*":{action_:"copy"}}}),actions:{}},text:{transitions:g.createTransitions({empty:{"*":{action_:"output"}},"{...}":{"*":{action_:"text="}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"\\greek":{"*":{action_:["output","rm"]}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:["output","copy"]}},else:{"*":{action_:"text="}}}),actions:{output:function(d){if(d.text_){var p={type_:"text",p1:d.text_};for(var A in d)delete d[A];return p}}}},pq:{transitions:g.createTransitions({empty:{"*":{}},"state of aggregation $":{"*":{action_:"state of aggregation"}},i$:{0:{nextState:"!f",revisit:!0}},"(KV letters),":{0:{action_:"rm",nextState:"0"}},formula$:{0:{nextState:"f",revisit:!0}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"!f",revisit:!0}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"text"}},"a-z":{f:{action_:"tex-math"}},letters:{"*":{action_:"rm"}},"-9.,9":{"*":{action_:"9,9"}},",":{"*":{action_:{type_:"insert+p1",option:"comma enumeration S"}}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:"color-output"}},"\\color{(...)}0":{"*":{action_:"color0-output"}},"\\ce{(...)}":{"*":{action_:"ce"}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},else2:{"*":{action_:"copy"}}}),actions:{"state of aggregation":function(d,p){return{type_:"state of aggregation subscript",p1:g.go(p,"o")}},"color-output":function(d,p){return{type_:"color",color1:p[0],color2:g.go(p[1],"pq")}}}},bd:{transitions:g.createTransitions({empty:{"*":{}},x$:{0:{nextState:"!f",revisit:!0}},formula$:{0:{nextState:"f",revisit:!0}},else:{0:{nextState:"!f",revisit:!0}},"-9.,9 no missing 0":{"*":{action_:"9,9"}},".":{"*":{action_:{type_:"insert",option:"electron dot"}}},"a-z":{f:{action_:"tex-math"}},x:{"*":{action_:{type_:"insert",option:"KV x"}}},letters:{"*":{action_:"rm"}},"'":{"*":{action_:{type_:"insert",option:"prime"}}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"text"}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:"color-output"}},"\\color{(...)}0":{"*":{action_:"color0-output"}},"\\ce{(...)}":{"*":{action_:"ce"}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},else2:{"*":{action_:"copy"}}}),actions:{"color-output":function(d,p){return{type_:"color",color1:p[0],color2:g.go(p[1],"bd")}}}},oxidation:{transitions:g.createTransitions({empty:{"*":{}},"roman numeral":{"*":{action_:"roman-numeral"}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},else:{"*":{action_:"copy"}}}),actions:{"roman-numeral":function(d,p){return{type_:"roman numeral",p1:p||""}}}},"tex-math":{transitions:g.createTransitions({empty:{"*":{action_:"output"}},"\\ce{(...)}":{"*":{action_:["output","ce"]}},"{...}|\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"o="}},else:{"*":{action_:"o="}}}),actions:{output:function(d){if(d.o){var p={type_:"tex-math",p1:d.o};for(var A in d)delete d[A];return p}}}},"tex-math tight":{transitions:g.createTransitions({empty:{"*":{action_:"output"}},"\\ce{(...)}":{"*":{action_:["output","ce"]}},"{...}|\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"o="}},"-|+":{"*":{action_:"tight operator"}},else:{"*":{action_:"o="}}}),actions:{"tight operator":function(d,p){d.o=(d.o||"")+"{"+p+"}"},output:function(d){if(d.o){var p={type_:"tex-math",p1:d.o};for(var A in d)delete d[A];return p}}}},"9,9":{transitions:g.createTransitions({empty:{"*":{}},",":{"*":{action_:"comma"}},else:{"*":{action_:"copy"}}}),actions:{comma:function(){return{type_:"commaDecimal"}}}},pu:{transitions:g.createTransitions({empty:{"*":{action_:"output"}},space$:{"*":{action_:["output","space"]}},"{[(|)]}":{"0|a":{action_:"copy"}},"(-)(9)^(-9)":{0:{action_:"number^",nextState:"a"}},"(-)(9.,9)(e)(99)":{0:{action_:"enumber",nextState:"a"}},space:{"0|a":{}},"pm-operator":{"0|a":{action_:{type_:"operator",option:"\\pm"},nextState:"0"}},operator:{"0|a":{action_:"copy",nextState:"0"}},"//":{d:{action_:"o=",nextState:"/"}},"/":{d:{action_:"o=",nextState:"/"}},"{...}|else":{"0|d":{action_:"d=",nextState:"d"},a:{action_:["space","d="],nextState:"d"},"/|q":{action_:"q=",nextState:"q"}}}),actions:{enumber:function(d,p){var A=[];return p[0]==="+-"||p[0]==="+/-"?A.push("\\pm "):p[0]&&A.push(p[0]),p[1]&&(g.concatArray(A,g.go(p[1],"pu-9,9")),p[2]&&(p[2].match(/[,.]/)?g.concatArray(A,g.go(p[2],"pu-9,9")):A.push(p[2])),p[3]=p[4]||p[3],p[3]&&(p[3]=p[3].trim(),p[3]==="e"||p[3].substr(0,1)==="*"?A.push({type_:"cdot"}):A.push({type_:"times"}))),p[3]&&A.push("10^{"+p[5]+"}"),A},"number^":function(d,p){var A=[];return p[0]==="+-"||p[0]==="+/-"?A.push("\\pm "):p[0]&&A.push(p[0]),g.concatArray(A,g.go(p[1],"pu-9,9")),A.push("^{"+p[2]+"}"),A},operator:function(d,p,A){return{type_:"operator",kind_:A||p}},space:function(){return{type_:"pu-space-1"}},output:function(d){var p,A=g.patterns.match_("{(...)}",d.d||"");A&&A.remainder===""&&(d.d=A.match_);var B=g.patterns.match_("{(...)}",d.q||"");if(B&&B.remainder===""&&(d.q=B.match_),d.d&&(d.d=d.d.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),d.d=d.d.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F")),d.q){d.q=d.q.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),d.q=d.q.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F");var H={d:g.go(d.d,"pu"),q:g.go(d.q,"pu")};d.o==="//"?p={type_:"pu-frac",p1:H.d,p2:H.q}:(p=H.d,H.d.length>1||H.q.length>1?p.push({type_:" / "}):p.push({type_:"/"}),g.concatArray(p,H.q))}else p=g.go(d.d,"pu-2");for(var R in d)delete d[R];return p}}},"pu-2":{transitions:g.createTransitions({empty:{"*":{action_:"output"}},"*":{"*":{action_:["output","cdot"],nextState:"0"}},"\\x":{"*":{action_:"rm="}},space:{"*":{action_:["output","space"],nextState:"0"}},"^{(...)}|^(-1)":{1:{action_:"^(-1)"}},"-9.,9":{0:{action_:"rm=",nextState:"0"},1:{action_:"^(-1)",nextState:"0"}},"{...}|else":{"*":{action_:"rm=",nextState:"1"}}}),actions:{cdot:function(){return{type_:"tight cdot"}},"^(-1)":function(d,p){d.rm+="^{"+p+"}"},space:function(){return{type_:"pu-space-2"}},output:function(d){var p=[];if(d.rm){var A=g.patterns.match_("{(...)}",d.rm||"");A&&A.remainder===""?p=g.go(A.match_,"pu"):p={type_:"rm",p1:d.rm}}for(var B in d)delete d[B];return p}}},"pu-9,9":{transitions:g.createTransitions({empty:{0:{action_:"output-0"},o:{action_:"output-o"}},",":{0:{action_:["output-0","comma"],nextState:"o"}},".":{0:{action_:["output-0","copy"],nextState:"o"}},else:{"*":{action_:"text="}}}),actions:{comma:function(){return{type_:"commaDecimal"}},"output-0":function(d){var p=[];if(d.text_=d.text_||"",d.text_.length>4){var A=d.text_.length%3;A===0&&(A=3);for(var B=d.text_.length-3;B>0;B-=3)p.push(d.text_.substr(B,3)),p.push({type_:"1000 separator"});p.push(d.text_.substr(0,A)),p.reverse()}else p.push(d.text_);for(var H in d)delete d[H];return p},"output-o":function(d){var p=[];if(d.text_=d.text_||"",d.text_.length>4){for(var A=d.text_.length-3,B=0;B<A;B+=3)p.push(d.text_.substr(B,3)),p.push({type_:"1000 separator"});p.push(d.text_.substr(B))}else p.push(d.text_);for(var H in d)delete d[H];return p}}}};var b={go:function(d,p){if(!d)return"";for(var A="",B=!1,H=0;H<d.length;H++){var R=d[H];typeof R=="string"?A+=R:(A+=b._go2(R),R.type_==="1st-level escape"&&(B=!0))}return!p&&!B&&A&&(A="{"+A+"}"),A},_goInner:function(d){return d&&b.go(d,!0)},_go2:function(d){var p;switch(d.type_){case"chemfive":p="";var A={a:b._goInner(d.a),b:b._goInner(d.b),p:b._goInner(d.p),o:b._goInner(d.o),q:b._goInner(d.q),d:b._goInner(d.d)};A.a&&(A.a.match(/^[+\-]/)&&(A.a="{"+A.a+"}"),p+=A.a+"\\,"),(A.b||A.p)&&(p+="{\\vphantom{X}}",p+="^{\\hphantom{"+(A.b||"")+"}}_{\\hphantom{"+(A.p||"")+"}}",p+="{\\vphantom{X}}",p+="^{\\smash[t]{\\vphantom{2}}\\mathllap{"+(A.b||"")+"}}",p+="_{\\vphantom{2}\\mathllap{\\smash[t]{"+(A.p||"")+"}}}"),A.o&&(A.o.match(/^[+\-]/)&&(A.o="{"+A.o+"}"),p+=A.o),d.dType==="kv"?((A.d||A.q)&&(p+="{\\vphantom{X}}"),A.d&&(p+="^{"+A.d+"}"),A.q&&(p+="_{\\smash[t]{"+A.q+"}}")):d.dType==="oxidation"?(A.d&&(p+="{\\vphantom{X}}",p+="^{"+A.d+"}"),A.q&&(p+="{\\vphantom{X}}",p+="_{\\smash[t]{"+A.q+"}}")):(A.q&&(p+="{\\vphantom{X}}",p+="_{\\smash[t]{"+A.q+"}}"),A.d&&(p+="{\\vphantom{X}}",p+="^{"+A.d+"}"));break;case"rm":p="\\mathrm{"+d.p1+"}";break;case"text":d.p1.match(/[\^_]/)?(d.p1=d.p1.replace(" ","~").replace("-","\\text{-}"),p="\\mathrm{"+d.p1+"}"):p="\\text{"+d.p1+"}";break;case"roman numeral":p="\\mathrm{"+d.p1+"}";break;case"state of aggregation":p="\\mskip2mu "+b._goInner(d.p1);break;case"state of aggregation subscript":p="\\mskip1mu "+b._goInner(d.p1);break;case"bond":if(p=b._getBond(d.kind_),!p)throw["MhchemErrorBond","mhchem Error. Unknown bond type ("+d.kind_+")"];break;case"frac":var B="\\frac{"+d.p1+"}{"+d.p2+"}";p="\\mathchoice{\\textstyle"+B+"}{"+B+"}{"+B+"}{"+B+"}";break;case"pu-frac":var H="\\frac{"+b._goInner(d.p1)+"}{"+b._goInner(d.p2)+"}";p="\\mathchoice{\\textstyle"+H+"}{"+H+"}{"+H+"}{"+H+"}";break;case"tex-math":p=d.p1+" ";break;case"frac-ce":p="\\frac{"+b._goInner(d.p1)+"}{"+b._goInner(d.p2)+"}";break;case"overset":p="\\overset{"+b._goInner(d.p1)+"}{"+b._goInner(d.p2)+"}";break;case"underset":p="\\underset{"+b._goInner(d.p1)+"}{"+b._goInner(d.p2)+"}";break;case"underbrace":p="\\underbrace{"+b._goInner(d.p1)+"}_{"+b._goInner(d.p2)+"}";break;case"color":p="{\\color{"+d.color1+"}{"+b._goInner(d.color2)+"}}";break;case"color0":p="\\color{"+d.color+"}";break;case"arrow":var R={rd:b._goInner(d.rd),rq:b._goInner(d.rq)},L="\\x"+b._getArrow(d.r);R.rq&&(L+="[{"+R.rq+"}]"),R.rd?L+="{"+R.rd+"}":L+="{}",p=L;break;case"operator":p=b._getOperator(d.kind_);break;case"1st-level escape":p=d.p1+" ";break;case"space":p=" ";break;case"entitySkip":p="~";break;case"pu-space-1":p="~";break;case"pu-space-2":p="\\mkern3mu ";break;case"1000 separator":p="\\mkern2mu ";break;case"commaDecimal":p="{,}";break;case"comma enumeration L":p="{"+d.p1+"}\\mkern6mu ";break;case"comma enumeration M":p="{"+d.p1+"}\\mkern3mu ";break;case"comma enumeration S":p="{"+d.p1+"}\\mkern1mu ";break;case"hyphen":p="\\text{-}";break;case"addition compound":p="\\,{\\cdot}\\,";break;case"electron dot":p="\\mkern1mu \\bullet\\mkern1mu ";break;case"KV x":p="{\\times}";break;case"prime":p="\\prime ";break;case"cdot":p="\\cdot ";break;case"tight cdot":p="\\mkern1mu{\\cdot}\\mkern1mu ";break;case"times":p="\\times ";break;case"circa":p="{\\sim}";break;case"^":p="uparrow";break;case"v":p="downarrow";break;case"ellipsis":p="\\ldots ";break;case"/":p="/";break;case" / ":p="\\,/\\,";break;default:throw["MhchemBugT","mhchem bug T. Please report."]}return p},_getArrow:function(d){switch(d){case"->":return"rightarrow";case"→":return"rightarrow";case"⟶":return"rightarrow";case"<-":return"leftarrow";case"<->":return"leftrightarrow";case"<-->":return"rightleftarrows";case"<=>":return"rightleftharpoons";case"⇌":return"rightleftharpoons";case"<=>>":return"rightequilibrium";case"<<=>":return"leftequilibrium";default:throw["MhchemBugT","mhchem bug T. Please report."]}},_getBond:function(d){switch(d){case"-":return"{-}";case"1":return"{-}";case"=":return"{=}";case"2":return"{=}";case"#":return"{\\equiv}";case"3":return"{\\equiv}";case"~":return"{\\tripledash}";case"~-":return"{\\mathrlap{\\raisebox{-.1em}{$-$}}\\raisebox{.1em}{$\\tripledash$}}";case"~=":return"{\\mathrlap{\\raisebox{-.2em}{$-$}}\\mathrlap{\\raisebox{.2em}{$\\tripledash$}}-}";case"~--":return"{\\mathrlap{\\raisebox{-.2em}{$-$}}\\mathrlap{\\raisebox{.2em}{$\\tripledash$}}-}";case"-~-":return"{\\mathrlap{\\raisebox{-.2em}{$-$}}\\mathrlap{\\raisebox{.2em}{$-$}}\\tripledash}";case"...":return"{{\\cdot}{\\cdot}{\\cdot}}";case"....":return"{{\\cdot}{\\cdot}{\\cdot}{\\cdot}}";case"->":return"{\\rightarrow}";case"<-":return"{\\leftarrow}";case"<":return"{<}";case">":return"{>}";default:throw["MhchemBugT","mhchem bug T. Please report."]}},_getOperator:function(d){switch(d){case"+":return" {}+{} ";case"-":return" {}-{} ";case"=":return" {}={} ";case"<":return" {}<{} ";case">":return" {}>{} ";case"<<":return" {}\\ll{} ";case">>":return" {}\\gg{} ";case"\\pm":return" {}\\pm{} ";case"\\approx":return" {}\\approx{} ";case"$\\approx$":return" {}\\approx{} ";case"v":return" \\downarrow{} ";case"(v)":return" \\downarrow{} ";case"^":return" \\uparrow{} ";case"(^)":return" \\uparrow{} ";default:throw["MhchemBugT","mhchem bug T. Please report."]}}};return u=u.default,u})()})})(gi)),gi.exports}Ap();function Tp(e){const t={};let r=0;return e=e.replace(/(^|\n)(```|~~~)([^\n]*)\n([\s\S]*?)\n\2(\n|$)/g,(n,a,l,u,c,m)=>{const f=`__FENCED_CODE_${r++}__`;return t[f]=`${a}${l}${u}
582
+ ?)[ \r ]*`,es="[̀-ͯ]",Nf=new RegExp(es+"+$"),If="("+o4+"+)|"+(Bf+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(es+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(es+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+Df)+("|"+Ef+")");class u4{constructor(i,o){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=i,this.settings=o,this.tokenRegex=new RegExp(If,"g"),this.catcodes={"%":14,"~":13}}setCatcode(i,o){this.catcodes[i]=o}lex(){const i=this.input,o=this.tokenRegex.lastIndex;if(o===i.length)return new y0("EOF",new o0(this,o,o));const h=this.tokenRegex.exec(i);if(h===null||h.index!==o)throw new l("Unexpected character: '"+i[o]+"'",new y0(i[o],new o0(this,o,o+1)));const y=h[6]||h[3]||(h[2]?"\\ ":" ");if(this.catcodes[y]===14){const w=i.indexOf(`
583
+ `,this.tokenRegex.lastIndex);return w===-1?(this.tokenRegex.lastIndex=i.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=w+1,this.lex()}return new y0(y,new o0(this,o,this.tokenRegex.lastIndex))}}class Rf{constructor(i,o){i===void 0&&(i={}),o===void 0&&(o={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=o,this.builtins=i,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new l("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");const i=this.undefStack.pop();for(const o in i)i.hasOwnProperty(o)&&(i[o]==null?delete this.current[o]:this.current[o]=i[o])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(i){return this.current.hasOwnProperty(i)||this.builtins.hasOwnProperty(i)}get(i){return this.current.hasOwnProperty(i)?this.current[i]:this.builtins[i]}set(i,o,h){if(h===void 0&&(h=!1),h){for(let y=0;y<this.undefStack.length;y++)delete this.undefStack[y][i];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][i]=o)}else{const y=this.undefStack[this.undefStack.length-1];y&&!y.hasOwnProperty(i)&&(y[i]=this.current[i])}o==null?delete this.current[i]:this.current[i]=o}}var _f=Fc;B("\\noexpand",function(s){const i=s.popToken();return s.isExpandable(i.text)&&(i.noexpand=!0,i.treatAsRelax=!0),{tokens:[i],numArgs:0}}),B("\\expandafter",function(s){const i=s.popToken();return s.expandOnce(!0),{tokens:[i],numArgs:0}}),B("\\@firstoftwo",function(s){return{tokens:s.consumeArgs(2)[0],numArgs:0}}),B("\\@secondoftwo",function(s){return{tokens:s.consumeArgs(2)[1],numArgs:0}}),B("\\@ifnextchar",function(s){const i=s.consumeArgs(3);s.consumeSpaces();const o=s.future();return i[0].length===1&&i[0][0].text===o.text?{tokens:i[1],numArgs:0}:{tokens:i[2],numArgs:0}}),B("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}"),B("\\TextOrMath",function(s){const i=s.consumeArgs(2);return s.mode==="text"?{tokens:i[0],numArgs:0}:{tokens:i[1],numArgs:0}});const c4={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};B("\\char",function(s){let i=s.popToken(),o,h="";if(i.text==="'")o=8,i=s.popToken();else if(i.text==='"')o=16,i=s.popToken();else if(i.text==="`")if(i=s.popToken(),i.text[0]==="\\")h=i.text.charCodeAt(1);else{if(i.text==="EOF")throw new l("\\char` missing argument");h=i.text.charCodeAt(0)}else o=10;if(o){if(h=c4[i.text],h==null||h>=o)throw new l("Invalid base-"+o+" digit "+i.text);let y;for(;(y=c4[s.future().text])!=null&&y<o;)h*=o,h+=y,s.popToken()}return"\\@char{"+h+"}"});const ts=(s,i,o,h)=>{let y=s.consumeArg().tokens;if(y.length!==1)throw new l("\\newcommand's first argument must be a macro name");const w=y[0].text,z=s.isDefined(w);if(z&&!i)throw new l("\\newcommand{"+w+"} attempting to redefine "+(w+"; use \\renewcommand"));if(!z&&!o)throw new l("\\renewcommand{"+w+"} when command "+w+" does not yet exist; use \\newcommand");let E=0;if(y=s.consumeArg().tokens,y.length===1&&y[0].text==="["){let I="",H=s.expandNextToken();for(;H.text!=="]"&&H.text!=="EOF";)I+=H.text,H=s.expandNextToken();if(!I.match(/^\s*[0-9]+\s*$/))throw new l("Invalid number of arguments: "+I);E=parseInt(I),y=s.consumeArg().tokens}return z&&h||s.macros.set(w,{tokens:y,numArgs:E}),""};B("\\newcommand",s=>ts(s,!1,!0,!1)),B("\\renewcommand",s=>ts(s,!0,!1,!1)),B("\\providecommand",s=>ts(s,!0,!0,!0)),B("\\message",s=>{const i=s.consumeArgs(1)[0];return console.log(i.reverse().map(o=>o.text).join("")),""}),B("\\errmessage",s=>{const i=s.consumeArgs(1)[0];return console.error(i.reverse().map(o=>o.text).join("")),""}),B("\\show",s=>{const i=s.popToken(),o=i.text;return console.log(i,s.macros.get(o),Mr[o],dt.math[o],dt.text[o]),""}),B("\\bgroup","{"),B("\\egroup","}"),B("~","\\nobreakspace"),B("\\lq","`"),B("\\rq","'"),B("\\aa","\\r a"),B("\\AA","\\r A"),B("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}"),B("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}"),B("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),B("ℬ","\\mathscr{B}"),B("ℰ","\\mathscr{E}"),B("ℱ","\\mathscr{F}"),B("ℋ","\\mathscr{H}"),B("ℐ","\\mathscr{I}"),B("ℒ","\\mathscr{L}"),B("ℳ","\\mathscr{M}"),B("ℛ","\\mathscr{R}"),B("ℭ","\\mathfrak{C}"),B("ℌ","\\mathfrak{H}"),B("ℨ","\\mathfrak{Z}"),B("\\Bbbk","\\Bbb{k}"),B("·","\\cdotp"),B("\\llap","\\mathllap{\\textrm{#1}}"),B("\\rlap","\\mathrlap{\\textrm{#1}}"),B("\\clap","\\mathclap{\\textrm{#1}}"),B("\\mathstrut","\\vphantom{(}"),B("\\underbar","\\underline{\\text{#1}}"),B("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}'),B("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),B("\\ne","\\neq"),B("≠","\\neq"),B("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),B("∉","\\notin"),B("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),B("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),B("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),B("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),B("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),B("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),B("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),B("⟂","\\perp"),B("‼","\\mathclose{!\\mkern-0.8mu!}"),B("∌","\\notni"),B("⌜","\\ulcorner"),B("⌝","\\urcorner"),B("⌞","\\llcorner"),B("⌟","\\lrcorner"),B("©","\\copyright"),B("®","\\textregistered"),B("️","\\textregistered"),B("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}'),B("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}'),B("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}'),B("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}'),B("\\vdots","{\\varvdots\\rule{0pt}{15pt}}"),B("⋮","\\vdots"),B("\\varGamma","\\mathit{\\Gamma}"),B("\\varDelta","\\mathit{\\Delta}"),B("\\varTheta","\\mathit{\\Theta}"),B("\\varLambda","\\mathit{\\Lambda}"),B("\\varXi","\\mathit{\\Xi}"),B("\\varPi","\\mathit{\\Pi}"),B("\\varSigma","\\mathit{\\Sigma}"),B("\\varUpsilon","\\mathit{\\Upsilon}"),B("\\varPhi","\\mathit{\\Phi}"),B("\\varPsi","\\mathit{\\Psi}"),B("\\varOmega","\\mathit{\\Omega}"),B("\\substack","\\begin{subarray}{c}#1\\end{subarray}"),B("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax"),B("\\boxed","\\fbox{$\\displaystyle{#1}$}"),B("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;"),B("\\implies","\\DOTSB\\;\\Longrightarrow\\;"),B("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;"),B("\\dddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}"),B("\\ddddot","{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}");const h4={",":"\\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"};B("\\dots",function(s){let i="\\dotso";const o=s.expandAfterFuture().text;return o in h4?i=h4[o]:(o.slice(0,4)==="\\not"||o in dt.math&&["bin","rel"].includes(dt.math[o].group))&&(i="\\dotsb"),i});const rs={")":!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};B("\\dotso",function(s){return s.future().text in rs?"\\ldots\\,":"\\ldots"}),B("\\dotsc",function(s){const i=s.future().text;return i in rs&&i!==","?"\\ldots\\,":"\\ldots"}),B("\\cdots",function(s){return s.future().text in rs?"\\@cdots\\,":"\\@cdots"}),B("\\dotsb","\\cdots"),B("\\dotsm","\\cdots"),B("\\dotsi","\\!\\cdots"),B("\\dotsx","\\ldots\\,"),B("\\DOTSI","\\relax"),B("\\DOTSB","\\relax"),B("\\DOTSX","\\relax"),B("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax"),B("\\,","\\tmspace+{3mu}{.1667em}"),B("\\thinspace","\\,"),B("\\>","\\mskip{4mu}"),B("\\:","\\tmspace+{4mu}{.2222em}"),B("\\medspace","\\:"),B("\\;","\\tmspace+{5mu}{.2777em}"),B("\\thickspace","\\;"),B("\\!","\\tmspace-{3mu}{.1667em}"),B("\\negthinspace","\\!"),B("\\negmedspace","\\tmspace-{4mu}{.2222em}"),B("\\negthickspace","\\tmspace-{5mu}{.277em}"),B("\\enspace","\\kern.5em "),B("\\enskip","\\hskip.5em\\relax"),B("\\quad","\\hskip1em\\relax"),B("\\qquad","\\hskip2em\\relax"),B("\\tag","\\@ifstar\\tag@literal\\tag@paren"),B("\\tag@paren","\\tag@literal{({#1})}"),B("\\tag@literal",s=>{if(s.macros.get("\\df@tag"))throw new l("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"}),B("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}"),B("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)"),B("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}"),B("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1"),B("\\newline","\\\\\\relax"),B("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");const m4=me(Bt["Main-Regular"][84][1]-.7*Bt["Main-Regular"][65][1]);B("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+m4+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}"),B("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+m4+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}"),B("\\hspace","\\@ifstar\\@hspacer\\@hspace"),B("\\@hspace","\\hskip #1\\relax"),B("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax"),B("\\ordinarycolon",":"),B("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}"),B("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}'),B("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}'),B("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}'),B("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}'),B("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}'),B("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}'),B("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}'),B("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}'),B("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}'),B("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}'),B("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}'),B("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}'),B("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}'),B("∷","\\dblcolon"),B("∹","\\eqcolon"),B("≔","\\coloneqq"),B("≕","\\eqqcolon"),B("⩴","\\Coloneqq"),B("\\ratio","\\vcentcolon"),B("\\coloncolon","\\dblcolon"),B("\\colonequals","\\coloneqq"),B("\\coloncolonequals","\\Coloneqq"),B("\\equalscolon","\\eqqcolon"),B("\\equalscoloncolon","\\Eqqcolon"),B("\\colonminus","\\coloneq"),B("\\coloncolonminus","\\Coloneq"),B("\\minuscolon","\\eqcolon"),B("\\minuscoloncolon","\\Eqcolon"),B("\\coloncolonapprox","\\Colonapprox"),B("\\coloncolonsim","\\Colonsim"),B("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),B("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}"),B("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}"),B("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}"),B("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),B("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}"),B("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}"),B("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}"),B("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}"),B("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}"),B("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}"),B("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}"),B("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}"),B("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}"),B("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}"),B("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}"),B("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}"),B("\\nleqq","\\html@mathml{\\@nleqq}{≰}"),B("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}"),B("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}"),B("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}"),B("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}"),B("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}"),B("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}"),B("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}"),B("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}"),B("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}"),B("\\imath","\\html@mathml{\\@imath}{ı}"),B("\\jmath","\\html@mathml{\\@jmath}{ȷ}"),B("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),B("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),B("⟦","\\llbracket"),B("⟧","\\rrbracket"),B("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),B("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),B("⦃","\\lBrace"),B("⦄","\\rBrace"),B("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),B("⦵","\\minuso"),B("\\darr","\\downarrow"),B("\\dArr","\\Downarrow"),B("\\Darr","\\Downarrow"),B("\\lang","\\langle"),B("\\rang","\\rangle"),B("\\uarr","\\uparrow"),B("\\uArr","\\Uparrow"),B("\\Uarr","\\Uparrow"),B("\\N","\\mathbb{N}"),B("\\R","\\mathbb{R}"),B("\\Z","\\mathbb{Z}"),B("\\alef","\\aleph"),B("\\alefsym","\\aleph"),B("\\Alpha","\\mathrm{A}"),B("\\Beta","\\mathrm{B}"),B("\\bull","\\bullet"),B("\\Chi","\\mathrm{X}"),B("\\clubs","\\clubsuit"),B("\\cnums","\\mathbb{C}"),B("\\Complex","\\mathbb{C}"),B("\\Dagger","\\ddagger"),B("\\diamonds","\\diamondsuit"),B("\\empty","\\emptyset"),B("\\Epsilon","\\mathrm{E}"),B("\\Eta","\\mathrm{H}"),B("\\exist","\\exists"),B("\\harr","\\leftrightarrow"),B("\\hArr","\\Leftrightarrow"),B("\\Harr","\\Leftrightarrow"),B("\\hearts","\\heartsuit"),B("\\image","\\Im"),B("\\infin","\\infty"),B("\\Iota","\\mathrm{I}"),B("\\isin","\\in"),B("\\Kappa","\\mathrm{K}"),B("\\larr","\\leftarrow"),B("\\lArr","\\Leftarrow"),B("\\Larr","\\Leftarrow"),B("\\lrarr","\\leftrightarrow"),B("\\lrArr","\\Leftrightarrow"),B("\\Lrarr","\\Leftrightarrow"),B("\\Mu","\\mathrm{M}"),B("\\natnums","\\mathbb{N}"),B("\\Nu","\\mathrm{N}"),B("\\Omicron","\\mathrm{O}"),B("\\plusmn","\\pm"),B("\\rarr","\\rightarrow"),B("\\rArr","\\Rightarrow"),B("\\Rarr","\\Rightarrow"),B("\\real","\\Re"),B("\\reals","\\mathbb{R}"),B("\\Reals","\\mathbb{R}"),B("\\Rho","\\mathrm{P}"),B("\\sdot","\\cdot"),B("\\sect","\\S"),B("\\spades","\\spadesuit"),B("\\sub","\\subset"),B("\\sube","\\subseteq"),B("\\supe","\\supseteq"),B("\\Tau","\\mathrm{T}"),B("\\thetasym","\\vartheta"),B("\\weierp","\\wp"),B("\\Zeta","\\mathrm{Z}"),B("\\argmin","\\DOTSB\\operatorname*{arg\\,min}"),B("\\argmax","\\DOTSB\\operatorname*{arg\\,max}"),B("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits"),B("\\bra","\\mathinner{\\langle{#1}|}"),B("\\ket","\\mathinner{|{#1}\\rangle}"),B("\\braket","\\mathinner{\\langle{#1}\\rangle}"),B("\\Bra","\\left\\langle#1\\right|"),B("\\Ket","\\left|#1\\right\\rangle");const d4=s=>i=>{const o=i.consumeArg().tokens,h=i.consumeArg().tokens,y=i.consumeArg().tokens,w=i.consumeArg().tokens,z=i.macros.get("|"),E=i.macros.get("\\|");i.macros.beginGroup();const I=U=>J=>{s&&(J.macros.set("|",z),y.length&&J.macros.set("\\|",E));let ie=U;return!U&&y.length&&J.future().text==="|"&&(J.popToken(),ie=!0),{tokens:ie?y:h,numArgs:0}};i.macros.set("|",I(!1)),y.length&&i.macros.set("\\|",I(!0));const H=i.consumeArg().tokens,G=i.expandTokens([...w,...H,...o]);return i.macros.endGroup(),{tokens:G.reverse(),numArgs:0}};B("\\bra@ket",d4(!1)),B("\\bra@set",d4(!0)),B("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}"),B("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}"),B("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}"),B("\\angln","{\\angl n}"),B("\\blue","\\textcolor{##6495ed}{#1}"),B("\\orange","\\textcolor{##ffa500}{#1}"),B("\\pink","\\textcolor{##ff00af}{#1}"),B("\\red","\\textcolor{##df0030}{#1}"),B("\\green","\\textcolor{##28ae7b}{#1}"),B("\\gray","\\textcolor{gray}{#1}"),B("\\purple","\\textcolor{##9d38bd}{#1}"),B("\\blueA","\\textcolor{##ccfaff}{#1}"),B("\\blueB","\\textcolor{##80f6ff}{#1}"),B("\\blueC","\\textcolor{##63d9ea}{#1}"),B("\\blueD","\\textcolor{##11accd}{#1}"),B("\\blueE","\\textcolor{##0c7f99}{#1}"),B("\\tealA","\\textcolor{##94fff5}{#1}"),B("\\tealB","\\textcolor{##26edd5}{#1}"),B("\\tealC","\\textcolor{##01d1c1}{#1}"),B("\\tealD","\\textcolor{##01a995}{#1}"),B("\\tealE","\\textcolor{##208170}{#1}"),B("\\greenA","\\textcolor{##b6ffb0}{#1}"),B("\\greenB","\\textcolor{##8af281}{#1}"),B("\\greenC","\\textcolor{##74cf70}{#1}"),B("\\greenD","\\textcolor{##1fab54}{#1}"),B("\\greenE","\\textcolor{##0d923f}{#1}"),B("\\goldA","\\textcolor{##ffd0a9}{#1}"),B("\\goldB","\\textcolor{##ffbb71}{#1}"),B("\\goldC","\\textcolor{##ff9c39}{#1}"),B("\\goldD","\\textcolor{##e07d10}{#1}"),B("\\goldE","\\textcolor{##a75a05}{#1}"),B("\\redA","\\textcolor{##fca9a9}{#1}"),B("\\redB","\\textcolor{##ff8482}{#1}"),B("\\redC","\\textcolor{##f9685d}{#1}"),B("\\redD","\\textcolor{##e84d39}{#1}"),B("\\redE","\\textcolor{##bc2612}{#1}"),B("\\maroonA","\\textcolor{##ffbde0}{#1}"),B("\\maroonB","\\textcolor{##ff92c6}{#1}"),B("\\maroonC","\\textcolor{##ed5fa6}{#1}"),B("\\maroonD","\\textcolor{##ca337c}{#1}"),B("\\maroonE","\\textcolor{##9e034e}{#1}"),B("\\purpleA","\\textcolor{##ddd7ff}{#1}"),B("\\purpleB","\\textcolor{##c6b9fc}{#1}"),B("\\purpleC","\\textcolor{##aa87ff}{#1}"),B("\\purpleD","\\textcolor{##7854ab}{#1}"),B("\\purpleE","\\textcolor{##543b78}{#1}"),B("\\mintA","\\textcolor{##f5f9e8}{#1}"),B("\\mintB","\\textcolor{##edf2df}{#1}"),B("\\mintC","\\textcolor{##e0e5cc}{#1}"),B("\\grayA","\\textcolor{##f6f7f7}{#1}"),B("\\grayB","\\textcolor{##f0f1f2}{#1}"),B("\\grayC","\\textcolor{##e3e5e6}{#1}"),B("\\grayD","\\textcolor{##d6d8da}{#1}"),B("\\grayE","\\textcolor{##babec2}{#1}"),B("\\grayF","\\textcolor{##888d93}{#1}"),B("\\grayG","\\textcolor{##626569}{#1}"),B("\\grayH","\\textcolor{##3b3e40}{#1}"),B("\\grayI","\\textcolor{##21242c}{#1}"),B("\\kaBlue","\\textcolor{##314453}{#1}"),B("\\kaGreen","\\textcolor{##71B307}{#1}");const p4={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class qf{constructor(i,o,h){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=o,this.expansionCount=0,this.feed(i),this.macros=new Rf(_f,o.macros),this.mode=h,this.stack=[]}feed(i){this.lexer=new u4(i,this.settings)}switchMode(i){this.mode=i}beginGroup(){this.macros.beginGroup()}endGroup(){this.macros.endGroup()}endGroups(){this.macros.endGroups()}future(){return this.stack.length===0&&this.pushToken(this.lexer.lex()),this.stack[this.stack.length-1]}popToken(){return this.future(),this.stack.pop()}pushToken(i){this.stack.push(i)}pushTokens(i){this.stack.push(...i)}scanArgument(i){let o,h,y;if(i){if(this.consumeSpaces(),this.future().text!=="[")return null;o=this.popToken(),{tokens:y,end:h}=this.consumeArg(["]"])}else({tokens:y,start:o,end:h}=this.consumeArg());return this.pushToken(new y0("EOF",h.loc)),this.pushTokens(y),new y0("",o0.range(o,h))}consumeSpaces(){for(;this.future().text===" ";)this.stack.pop()}consumeArg(i){const o=[],h=i&&i.length>0;h||this.consumeSpaces();const y=this.future();let w,z=0,E=0;do{if(w=this.popToken(),o.push(w),w.text==="{")++z;else if(w.text==="}"){if(--z,z===-1)throw new l("Extra }",w)}else if(w.text==="EOF")throw new l("Unexpected end of input in a macro argument, expected '"+(i&&h?i[E]:"}")+"'",w);if(i&&h)if((z===0||z===1&&i[E]==="{")&&w.text===i[E]){if(++E,E===i.length){o.splice(-E,E);break}}else E=0}while(z!==0||h);return y.text==="{"&&o[o.length-1].text==="}"&&(o.pop(),o.shift()),o.reverse(),{tokens:o,start:y,end:w}}consumeArgs(i,o){if(o){if(o.length!==i+1)throw new l("The length of delimiters doesn't match the number of args!");const y=o[0];for(let w=0;w<y.length;w++){const z=this.popToken();if(y[w]!==z.text)throw new l("Use of the macro doesn't match its definition",z)}}const h=[];for(let y=0;y<i;y++)h.push(this.consumeArg(o&&o[y+1]).tokens);return h}countExpansion(i){if(this.expansionCount+=i,this.expansionCount>this.settings.maxExpand)throw new l("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(i){const o=this.popToken(),h=o.text,y=o.noexpand?null:this._getExpansion(h);if(y==null||i&&y.unexpandable){if(i&&y==null&&h[0]==="\\"&&!this.isDefined(h))throw new l("Undefined control sequence: "+h);return this.pushToken(o),!1}this.countExpansion(1);let w=y.tokens;const z=this.consumeArgs(y.numArgs,y.delimiters);if(y.numArgs){w=w.slice();for(let E=w.length-1;E>=0;--E){let I=w[E];if(I.text==="#"){if(E===0)throw new l("Incomplete placeholder at end of macro body",I);if(I=w[--E],I.text==="#")w.splice(E+1,1);else if(/^[1-9]$/.test(I.text))w.splice(E,2,...z[+I.text-1]);else throw new l("Not a valid argument number",I)}}}return this.pushTokens(w),w.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){const i=this.stack.pop();return i.treatAsRelax&&(i.text="\\relax"),i}throw new Error}expandMacro(i){return this.macros.has(i)?this.expandTokens([new y0(i)]):void 0}expandTokens(i){const o=[],h=this.stack.length;for(this.pushTokens(i);this.stack.length>h;)if(this.expandOnce(!0)===!1){const y=this.stack.pop();y.treatAsRelax&&(y.noexpand=!1,y.treatAsRelax=!1),o.push(y)}return this.countExpansion(o.length),o}expandMacroAsText(i){const o=this.expandMacro(i);return o&&o.map(h=>h.text).join("")}_getExpansion(i){const o=this.macros.get(i);if(o==null)return o;if(i.length===1){const y=this.lexer.catcodes[i];if(y!=null&&y!==13)return}const h=typeof o=="function"?o(this):o;if(typeof h=="string"){let y=0;if(h.indexOf("#")!==-1){const H=h.replace(/##/g,"");for(;H.indexOf("#"+(y+1))!==-1;)++y}const w=new u4(h,this.settings),z=[];let E=w.lex();for(;E.text!=="EOF";)z.push(E),E=w.lex();return z.reverse(),{tokens:z,numArgs:y}}return h}isDefined(i){return this.macros.has(i)||Mr.hasOwnProperty(i)||dt.math.hasOwnProperty(i)||dt.text.hasOwnProperty(i)||p4.hasOwnProperty(i)}isExpandable(i){const o=this.macros.get(i);return o!=null?typeof o=="string"||typeof o=="function"||!o.unexpandable:Mr.hasOwnProperty(i)&&!Mr[i].primitive}}const f4=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Oi=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),ns={"́":{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"}},g4={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class Fi{constructor(i,o){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 qf(i,o,this.mode),this.settings=o,this.leftrightDepth=0}expect(i,o){if(o===void 0&&(o=!0),this.fetch().text!==i)throw new l("Expected '"+i+"', got '"+this.fetch().text+"'",this.fetch());o&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken==null&&(this.nextToken=this.gullet.expandNextToken()),this.nextToken}switchMode(i){this.mode=i,this.gullet.switchMode(i)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{const i=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),i}finally{this.gullet.endGroups()}}subparse(i){const o=this.nextToken;this.consume(),this.gullet.pushToken(new y0("}")),this.gullet.pushTokens(i);const h=this.parseExpression(!1);return this.expect("}"),this.nextToken=o,h}parseExpression(i,o){const h=[];for(;;){this.mode==="math"&&this.consumeSpaces();const y=this.fetch();if(Fi.endOfExpression.indexOf(y.text)!==-1||o&&y.text===o||i&&Mr[y.text]&&Mr[y.text].infix)break;const w=this.parseAtom(o);if(w){if(w.type==="internal")continue}else break;h.push(w)}return this.mode==="text"&&this.formLigatures(h),this.handleInfixNodes(h)}handleInfixNodes(i){let o=-1,h;for(let y=0;y<i.length;y++)if(i[y].type==="infix"){if(o!==-1)throw new l("only one infix operator per group",i[y].token);o=y,h=i[y].replaceWith}if(o!==-1&&h){let y,w;const z=i.slice(0,o),E=i.slice(o+1);z.length===1&&z[0].type==="ordgroup"?y=z[0]:y={type:"ordgroup",mode:this.mode,body:z},E.length===1&&E[0].type==="ordgroup"?w=E[0]:w={type:"ordgroup",mode:this.mode,body:E};let I;return h==="\\\\abovefrac"?I=this.callFunction(h,[y,i[o],w],[]):I=this.callFunction(h,[y,w],[]),[I]}else return i}handleSupSubscript(i){const o=this.fetch(),h=o.text;this.consume(),this.consumeSpaces();let y;do{var w;y=this.parseGroup(i)}while(((w=y)==null?void 0:w.type)==="internal");if(!y)throw new l("Expected group after '"+h+"'",o);return y}formatUnsupportedCmd(i){const o=[];for(let w=0;w<i.length;w++)o.push({type:"textord",mode:"text",text:i[w]});const h={type:"text",mode:this.mode,body:o};return{type:"color",mode:this.mode,color:this.settings.errorColor,body:[h]}}parseAtom(i){const o=this.parseGroup("atom",i);if((o==null?void 0:o.type)==="internal"||this.mode==="text")return o;let h,y;for(;;){this.consumeSpaces();const w=this.fetch();if(w.text==="\\limits"||w.text==="\\nolimits"){if(o&&o.type==="op"){const z=w.text==="\\limits";o.limits=z,o.alwaysHandleSupSub=!0}else if(o&&o.type==="operatorname")o.alwaysHandleSupSub&&(o.limits=w.text==="\\limits");else throw new l("Limit controls must follow a math operator",w);this.consume()}else if(w.text==="^"){if(h)throw new l("Double superscript",w);h=this.handleSupSubscript("superscript")}else if(w.text==="_"){if(y)throw new l("Double subscript",w);y=this.handleSupSubscript("subscript")}else if(w.text==="'"){if(h)throw new l("Double superscript",w);const z={type:"textord",mode:this.mode,text:"\\prime"},E=[z];for(this.consume();this.fetch().text==="'";)E.push(z),this.consume();this.fetch().text==="^"&&E.push(this.handleSupSubscript("superscript")),h={type:"ordgroup",mode:this.mode,body:E}}else if(Oi[w.text]){const z=f4.test(w.text),E=[];for(E.push(new y0(Oi[w.text])),this.consume();;){const H=this.fetch().text;if(!Oi[H]||f4.test(H)!==z)break;E.unshift(new y0(Oi[H])),this.consume()}const I=this.subparse(E);z?y={type:"ordgroup",mode:"math",body:I}:h={type:"ordgroup",mode:"math",body:I}}else break}return h||y?{type:"supsub",mode:this.mode,base:o,sup:h,sub:y}:o}parseFunction(i,o){const h=this.fetch(),y=h.text,w=Mr[y];if(!w)return null;if(this.consume(),o&&o!=="atom"&&!w.allowedInArgument)throw new l("Got function '"+y+"' with no arguments"+(o?" as "+o:""),h);if(this.mode==="text"&&!w.allowedInText)throw new l("Can't use function '"+y+"' in text mode",h);if(this.mode==="math"&&w.allowedInMath===!1)throw new l("Can't use function '"+y+"' in math mode",h);const{args:z,optArgs:E}=this.parseArguments(y,w);return this.callFunction(y,z,E,h,i)}callFunction(i,o,h,y,w){const z={funcName:i,parser:this,token:y,breakOnTokenText:w},E=Mr[i];if(E&&E.handler)return E.handler(z,o,h);throw new l("No function handler for "+i)}parseArguments(i,o){const h=o.numArgs+o.numOptionalArgs;if(h===0)return{args:[],optArgs:[]};const y=[],w=[];for(let z=0;z<h;z++){let E=o.argTypes&&o.argTypes[z];const I=z<o.numOptionalArgs;(o.primitive&&E==null||o.type==="sqrt"&&z===1&&w[0]==null)&&(E="primitive");const H=this.parseGroupOfType("argument to '"+i+"'",E,I);if(I)w.push(H);else if(H!=null)y.push(H);else throw new l("Null argument, please report this as a bug")}return{args:y,optArgs:w}}parseGroupOfType(i,o,h){switch(o){case"color":return this.parseColorGroup(h);case"size":return this.parseSizeGroup(h);case"url":return this.parseUrlGroup(h);case"math":case"text":return this.parseArgumentGroup(h,o);case"hbox":{const y=this.parseArgumentGroup(h,"text");return y!=null?{type:"styling",mode:y.mode,body:[y],style:"text"}:null}case"raw":{const y=this.parseStringGroup("raw",h);return y!=null?{type:"raw",mode:"text",string:y.text}:null}case"primitive":{if(h)throw new l("A primitive argument cannot be optional");const y=this.parseGroup(i);if(y==null)throw new l("Expected group as "+i,this.fetch());return y}case"original":case null:case void 0:return this.parseArgumentGroup(h);default:throw new l("Unknown group type as "+i,this.fetch())}}consumeSpaces(){for(;this.fetch().text===" ";)this.consume()}parseStringGroup(i,o){const h=this.gullet.scanArgument(o);if(h==null)return null;let y="",w;for(;(w=this.fetch()).text!=="EOF";)y+=w.text,this.consume();return this.consume(),h.text=y,h}parseRegexGroup(i,o){const h=this.fetch();let y=h,w="",z;for(;(z=this.fetch()).text!=="EOF"&&i.test(w+z.text);)y=z,w+=y.text,this.consume();if(w==="")throw new l("Invalid "+o+": '"+h.text+"'",h);return h.range(y,w)}parseColorGroup(i){const o=this.parseStringGroup("color",i);if(o==null)return null;const h=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(o.text);if(!h)throw new l("Invalid color: '"+o.text+"'",o);let y=h[0];return/^[0-9a-f]{6}$/i.test(y)&&(y="#"+y),{type:"color-token",mode:this.mode,color:y}}parseSizeGroup(i){let o,h=!1;if(this.gullet.consumeSpaces(),!i&&this.gullet.future().text!=="{"?o=this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,"size"):o=this.parseStringGroup("size",i),!o)return null;!i&&o.text.length===0&&(o.text="0pt",h=!0);const y=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(o.text);if(!y)throw new l("Invalid size: '"+o.text+"'",o);const w={number:+(y[1]+y[2]),unit:y[3]};if(!jt(w))throw new l("Invalid unit: '"+w.unit+"'",o);return{type:"size",mode:this.mode,value:w,isBlank:h}}parseUrlGroup(i){this.gullet.lexer.setCatcode("%",13),this.gullet.lexer.setCatcode("~",12);const o=this.parseStringGroup("url",i);if(this.gullet.lexer.setCatcode("%",14),this.gullet.lexer.setCatcode("~",13),o==null)return null;const h=o.text.replace(/\\([#$%&~_^{}])/g,"$1");return{type:"url",mode:this.mode,url:h}}parseArgumentGroup(i,o){const h=this.gullet.scanArgument(i);if(h==null)return null;const y=this.mode;o&&this.switchMode(o),this.gullet.beginGroup();const w=this.parseExpression(!1,"EOF");this.expect("EOF"),this.gullet.endGroup();const z={type:"ordgroup",mode:this.mode,loc:h.loc,body:w};return o&&this.switchMode(y),z}parseGroup(i,o){const h=this.fetch(),y=h.text;let w;if(y==="{"||y==="\\begingroup"){this.consume();const z=y==="{"?"}":"\\endgroup";this.gullet.beginGroup();const E=this.parseExpression(!1,z),I=this.fetch();this.expect(z),this.gullet.endGroup(),w={type:"ordgroup",mode:this.mode,loc:o0.range(h,I),body:E,semisimple:y==="\\begingroup"||void 0}}else if(w=this.parseFunction(o,i)||this.parseSymbol(),w==null&&y[0]==="\\"&&!p4.hasOwnProperty(y)){if(this.settings.throwOnError)throw new l("Undefined control sequence: "+y,h);w=this.formatUnsupportedCmd(y),this.consume()}return w}formLigatures(i){let o=i.length-1;for(let h=0;h<o;++h){const y=i[h],w=y.text;w==="-"&&i[h+1].text==="-"&&(h+1<o&&i[h+2].text==="-"?(i.splice(h,3,{type:"textord",mode:"text",loc:o0.range(y,i[h+2]),text:"---"}),o-=2):(i.splice(h,2,{type:"textord",mode:"text",loc:o0.range(y,i[h+1]),text:"--"}),o-=1)),(w==="'"||w==="`")&&i[h+1].text===w&&(i.splice(h,2,{type:"textord",mode:"text",loc:o0.range(y,i[h+1]),text:w+w}),o-=1)}}parseSymbol(){const i=this.fetch();let o=i.text;if(/^\\verb[^a-zA-Z]/.test(o)){this.consume();let w=o.slice(5);const z=w.charAt(0)==="*";if(z&&(w=w.slice(1)),w.length<2||w.charAt(0)!==w.slice(-1))throw new l(`\\verb assertion failed --
584
+ please report what input caused this bug`);return w=w.slice(1,-1),{type:"verb",mode:"text",body:w,star:z}}g4.hasOwnProperty(o[0])&&!dt[this.mode][o[0]]&&(this.settings.strict&&this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Accented Unicode text character "'+o[0]+'" used in math mode',i),o=g4[o[0]]+o.slice(1));const h=Nf.exec(o);h&&(o=o.substring(0,h.index),o==="i"?o="ı":o==="j"&&(o="ȷ"));let y;if(dt[this.mode][o]){this.settings.strict&&this.mode==="math"&&Bn.indexOf(o)>=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+o[0]+'" used in math mode',i);const w=dt[this.mode][o].group,z=o0.range(i);let E;if(Al.hasOwnProperty(w)){const I=w;E={type:"atom",mode:this.mode,family:I,loc:z,text:o}}else E={type:w,mode:this.mode,loc:z,text:o};y=E}else if(o.charCodeAt(0)>=128)this.settings.strict&&(Dt(o.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+o[0]+'" used in math mode',i):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+o[0]+'"'+(" ("+o.charCodeAt(0)+")"),i)),y={type:"textord",mode:"text",loc:o0.range(i),text:o};else return null;if(this.consume(),h)for(let w=0;w<h[0].length;w++){const z=h[0][w];if(!ns[z])throw new l("Unknown accent ' "+z+"'",i);const E=ns[z][this.mode]||ns[z].text;if(!E)throw new l("Accent "+z+" unsupported in "+this.mode+" mode",i);y={type:"accent",mode:this.mode,loc:o0.range(i),label:E,isStretchy:!1,isShifty:!0,base:y}}return y}}Fi.endOfExpression=["}","\\endgroup","\\end","\\right","&"];var is=function(s,i){if(!(typeof s=="string"||s instanceof String))throw new TypeError("KaTeX can only parse string typed expression");const o=new Fi(s,i);delete o.gullet.macros.current["\\df@tag"];let h=o.parse();if(delete o.gullet.macros.current["\\current@color"],delete o.gullet.macros.current["\\color"],o.gullet.macros.get("\\df@tag")){if(!i.displayMode)throw new l("\\tag works only in display equations");h=[{type:"tag",mode:"text",body:h,tag:o.subparse([new y0("\\df@tag")])}]}return h};let y4=function(s,i,o){i.textContent="";const h=as(s,o).toNode();i.appendChild(h)};typeof document<"u"&&document.compatMode!=="CSS1Compat"&&(typeof console<"u"&&console.warn("Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype."),y4=function(){throw new l("KaTeX doesn't work in quirks mode.")});const Of=function(s,i){return as(s,i).toMarkup()},Ff=function(s,i){const o=new K(i);return is(s,o)},b4=function(s,i,o){if(o.throwOnError||!(s instanceof l))throw s;const h=Z.makeSpan(["katex-error"],[new Jt(i)]);return h.setAttribute("title",s.toString()),h.setAttribute("style","color:"+o.errorColor),h},as=function(s,i){const o=new K(i);try{const h=is(s,o);return Jp(h,s,o)}catch(h){return b4(h,s,o)}};var Lf={version:"0.16.25",render:y4,renderToString:Of,ParseError:l,SETTINGS_SCHEMA:q,__parse:Ff,__renderToDomTree:as,__renderToHTMLTree:function(s,i){const o=new K(i);try{const h=is(s,o);return Qp(h,s,o)}catch(h){return b4(h,s,o)}},__setFontMetrics:Jr,__defineSymbol:x,__defineFunction:Se,__defineMacro:B,__domTree:{Span:vr,Anchor:$0,SymbolNode:Jt,SvgNode:C0,PathNode:E0,LineNode:En}},Pf=Lf;return n=n.default,n})()})})(ki)),ki.exports}var Ap=wi.exports,nc;function zp(){return nc||(nc=1,(function(e,t){(function(n,a){e.exports=a(Mp())})(typeof self<"u"?self:Ap,function(r){return(function(){var n={757:(function(d){d.exports=r})},a={};function l(d){var p=a[d];if(p!==void 0)return p.exports;var A=a[d]={exports:{}};return n[d](A,A.exports,l),A.exports}(function(){l.n=function(d){var p=d&&d.__esModule?function(){return d.default}:function(){return d};return l.d(p,{a:p}),p}})(),(function(){l.d=function(d,p){for(var A in p)l.o(p,A)&&!l.o(d,A)&&Object.defineProperty(d,A,{enumerable:!0,get:p[A]})}})(),(function(){l.o=function(d,p){return Object.prototype.hasOwnProperty.call(d,p)}})();var u={},c=l(757),m=l.n(c);m().__defineMacro("\\ce",function(d){return f(d.consumeArgs(1)[0],"ce")}),m().__defineMacro("\\pu",function(d){return f(d.consumeArgs(1)[0],"pu")}),m().__defineMacro("\\tripledash","{\\vphantom{-}\\raisebox{2.56mu}{$\\mkern2mu\\tiny\\text{-}\\mkern1mu\\text{-}\\mkern1mu\\text{-}\\mkern2mu$}}");var f=function(d,p){for(var A="",N=d.length&&d[d.length-1].loc.start,O=d.length-1;O>=0;O--)d[O].loc.start>N&&(A+=" ",N=d[O].loc.start),A+=d[O].text,N+=d[O].text.length;var q=b.go(g.go(A,p));return q},g={go:function(d,p){if(!d)return[];p===void 0&&(p="ce");var A="0",N={};N.parenthesisLevel=0,d=d.replace(/\n/g," "),d=d.replace(/[\u2212\u2013\u2014\u2010]/g,"-"),d=d.replace(/[\u2026]/g,"...");for(var O,q=10,P=[];;){O!==d?(q=10,O=d):q--;var K=g.stateMachines[p],re=K.transitions[A]||K.transitions["*"];e:for(var le=0;le<re.length;le++){var W=g.patterns.match_(re[le].pattern,d);if(W){for(var se=re[le].task,ve=0;ve<se.action_.length;ve++){var pe;if(K.actions[se.action_[ve].type_])pe=K.actions[se.action_[ve].type_](N,W.match_,se.action_[ve].option);else if(g.actions[se.action_[ve].type_])pe=g.actions[se.action_[ve].type_](N,W.match_,se.action_[ve].option);else throw["MhchemBugA","mhchem bug A. Please report. ("+se.action_[ve].type_+")"];g.concatArray(P,pe)}if(A=se.nextState||A,d.length>0){if(se.revisit||(d=W.remainder),!se.toContinue)break e}else return P}}if(q<=0)throw["MhchemBugU","mhchem bug U. Please report."]}},concatArray:function(d,p){if(p)if(Array.isArray(p))for(var A=0;A<p.length;A++)d.push(p[A]);else d.push(p)},patterns:{patterns:{empty:/^$/,else:/^./,else2:/^./,space:/^\s/,"space A":/^\s(?=[A-Z\\$])/,space$:/^\s$/,"a-z":/^[a-z]/,x:/^x/,x$:/^x$/,i$:/^i$/,letters:/^(?:[a-zA-Z\u03B1-\u03C9\u0391-\u03A9?@]|(?:\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\s+|\{\}|(?![a-zA-Z]))))+/,"\\greek":/^\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega|Gamma|Delta|Theta|Lambda|Xi|Pi|Sigma|Upsilon|Phi|Psi|Omega)(?:\s+|\{\}|(?![a-zA-Z]))/,"one lowercase latin letter $":/^(?:([a-z])(?:$|[^a-zA-Z]))$/,"$one lowercase latin letter$ $":/^\$(?:([a-z])(?:$|[^a-zA-Z]))\$$/,"one lowercase greek letter $":/^(?:\$?[\u03B1-\u03C9]\$?|\$?\\(?:alpha|beta|gamma|delta|epsilon|zeta|eta|theta|iota|kappa|lambda|mu|nu|xi|omicron|pi|rho|sigma|tau|upsilon|phi|chi|psi|omega)\s*\$?)(?:\s+|\{\}|(?![a-zA-Z]))$/,digits:/^[0-9]+/,"-9.,9":/^[+\-]?(?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))/,"-9.,9 no missing 0":/^[+\-]?[0-9]+(?:[.,][0-9]+)?/,"(-)(9.,9)(e)(99)":function(d){var p=d.match(/^(\+\-|\+\/\-|\+|\-|\\pm\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))?(\((?:[0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+))\))?(?:([eE]|\s*(\*|x|\\times|\u00D7)\s*10\^)([+\-]?[0-9]+|\{[+\-]?[0-9]+\}))?/);return p&&p[0]?{match_:p.splice(1),remainder:d.substr(p[0].length)}:null},"(-)(9)^(-9)":function(d){var p=d.match(/^(\+\-|\+\/\-|\+|\-|\\pm\s?)?([0-9]+(?:[,.][0-9]+)?|[0-9]*(?:\.[0-9]+)?)\^([+\-]?[0-9]+|\{[+\-]?[0-9]+\})/);return p&&p[0]?{match_:p.splice(1),remainder:d.substr(p[0].length)}:null},"state of aggregation $":function(d){var p=g.patterns.findObserveGroups(d,"",/^\([a-z]{1,3}(?=[\),])/,")","");if(p&&p.remainder.match(/^($|[\s,;\)\]\}])/))return p;var A=d.match(/^(?:\((?:\\ca\s?)?\$[amothc]\$\))/);return A?{match_:A[0],remainder:d.substr(A[0].length)}:null},"_{(state of aggregation)}$":/^_\{(\([a-z]{1,3}\))\}/,"{[(":/^(?:\\\{|\[|\()/,")]}":/^(?:\)|\]|\\\})/,", ":/^[,;]\s*/,",":/^[,;]/,".":/^[.]/,". ":/^([.\u22C5\u00B7\u2022])\s*/,"...":/^\.\.\.(?=$|[^.])/,"* ":/^([*])\s*/,"^{(...)}":function(d){return g.patterns.findObserveGroups(d,"^{","","","}")},"^($...$)":function(d){return g.patterns.findObserveGroups(d,"^","$","$","")},"^a":/^\^([0-9]+|[^\\_])/,"^\\x{}{}":function(d){return g.patterns.findObserveGroups(d,"^",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"^\\x{}":function(d){return g.patterns.findObserveGroups(d,"^",/^\\[a-zA-Z]+\{/,"}","")},"^\\x":/^\^(\\[a-zA-Z]+)\s*/,"^(-1)":/^\^(-?\d+)/,"'":/^'/,"_{(...)}":function(d){return g.patterns.findObserveGroups(d,"_{","","","}")},"_($...$)":function(d){return g.patterns.findObserveGroups(d,"_","$","$","")},_9:/^_([+\-]?[0-9]+|[^\\])/,"_\\x{}{}":function(d){return g.patterns.findObserveGroups(d,"_",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"_\\x{}":function(d){return g.patterns.findObserveGroups(d,"_",/^\\[a-zA-Z]+\{/,"}","")},"_\\x":/^_(\\[a-zA-Z]+)\s*/,"^_":/^(?:\^(?=_)|\_(?=\^)|[\^_]$)/,"{}":/^\{\}/,"{...}":function(d){return g.patterns.findObserveGroups(d,"","{","}","")},"{(...)}":function(d){return g.patterns.findObserveGroups(d,"{","","","}")},"$...$":function(d){return g.patterns.findObserveGroups(d,"","$","$","")},"${(...)}$":function(d){return g.patterns.findObserveGroups(d,"${","","","}$")},"$(...)$":function(d){return g.patterns.findObserveGroups(d,"$","","","$")},"=<>":/^[=<>]/,"#":/^[#\u2261]/,"+":/^\+/,"-$":/^-(?=[\s_},;\]/]|$|\([a-z]+\))/,"-9":/^-(?=[0-9])/,"- orbital overlap":/^-(?=(?:[spd]|sp)(?:$|[\s,;\)\]\}]))/,"-":/^-/,"pm-operator":/^(?:\\pm|\$\\pm\$|\+-|\+\/-)/,operator:/^(?:\+|(?:[\-=<>]|<<|>>|\\approx|\$\\approx\$)(?=\s|$|-?[0-9]))/,arrowUpDown:/^(?:v|\(v\)|\^|\(\^\))(?=$|[\s,;\)\]\}])/,"\\bond{(...)}":function(d){return g.patterns.findObserveGroups(d,"\\bond{","","","}")},"->":/^(?:<->|<-->|->|<-|<=>>|<<=>|<=>|[\u2192\u27F6\u21CC])/,CMT:/^[CMT](?=\[)/,"[(...)]":function(d){return g.patterns.findObserveGroups(d,"[","","","]")},"1st-level escape":/^(&|\\\\|\\hline)\s*/,"\\,":/^(?:\\[,\ ;:])/,"\\x{}{}":function(d){return g.patterns.findObserveGroups(d,"",/^\\[a-zA-Z]+\{/,"}","","","{","}","",!0)},"\\x{}":function(d){return g.patterns.findObserveGroups(d,"",/^\\[a-zA-Z]+\{/,"}","")},"\\ca":/^\\ca(?:\s+|(?![a-zA-Z]))/,"\\x":/^(?:\\[a-zA-Z]+\s*|\\[_&{}%])/,orbital:/^(?:[0-9]{1,2}[spdfgh]|[0-9]{0,2}sp)(?=$|[^a-zA-Z])/,others:/^[\/~|]/,"\\frac{(...)}":function(d){return g.patterns.findObserveGroups(d,"\\frac{","","","}","{","","","}")},"\\overset{(...)}":function(d){return g.patterns.findObserveGroups(d,"\\overset{","","","}","{","","","}")},"\\underset{(...)}":function(d){return g.patterns.findObserveGroups(d,"\\underset{","","","}","{","","","}")},"\\underbrace{(...)}":function(d){return g.patterns.findObserveGroups(d,"\\underbrace{","","","}_","{","","","}")},"\\color{(...)}0":function(d){return g.patterns.findObserveGroups(d,"\\color{","","","}")},"\\color{(...)}{(...)}1":function(d){return g.patterns.findObserveGroups(d,"\\color{","","","}","{","","","}")},"\\color(...){(...)}2":function(d){return g.patterns.findObserveGroups(d,"\\color","\\","",/^(?=\{)/,"{","","","}")},"\\ce{(...)}":function(d){return g.patterns.findObserveGroups(d,"\\ce{","","","}")},oxidation$:/^(?:[+-][IVX]+|\\pm\s*0|\$\\pm\$\s*0)$/,"d-oxidation$":/^(?:[+-]?\s?[IVX]+|\\pm\s*0|\$\\pm\$\s*0)$/,"roman numeral":/^[IVX]+/,"1/2$":/^[+\-]?(?:[0-9]+|\$[a-z]\$|[a-z])\/[0-9]+(?:\$[a-z]\$|[a-z])?$/,amount:function(d){var p;if(p=d.match(/^(?:(?:(?:\([+\-]?[0-9]+\/[0-9]+\)|[+\-]?(?:[0-9]+|\$[a-z]\$|[a-z])\/[0-9]+|[+\-]?[0-9]+[.,][0-9]+|[+\-]?\.[0-9]+|[+\-]?[0-9]+)(?:[a-z](?=\s*[A-Z]))?)|[+\-]?[a-z](?=\s*[A-Z])|\+(?!\s))/),p)return{match_:p[0],remainder:d.substr(p[0].length)};var A=g.patterns.findObserveGroups(d,"","$","$","");return A&&(p=A.match_.match(/^\$(?:\(?[+\-]?(?:[0-9]*[a-z]?[+\-])?[0-9]*[a-z](?:[+\-][0-9]*[a-z]?)?\)?|\+|-)\$$/),p)?{match_:p[0],remainder:d.substr(p[0].length)}:null},amount2:function(d){return this.amount(d)},"(KV letters),":/^(?:[A-Z][a-z]{0,2}|i)(?=,)/,formula$:function(d){if(d.match(/^\([a-z]+\)$/))return null;var p=d.match(/^(?:[a-z]|(?:[0-9\ \+\-\,\.\(\)]+[a-z])+[0-9\ \+\-\,\.\(\)]*|(?:[a-z][0-9\ \+\-\,\.\(\)]+)+[a-z]?)$/);return p?{match_:p[0],remainder:d.substr(p[0].length)}:null},uprightEntities:/^(?:pH|pOH|pC|pK|iPr|iBu)(?=$|[^a-zA-Z])/,"/":/^\s*(\/)\s*/,"//":/^\s*(\/\/)\s*/,"*":/^\s*[*.]\s*/},findObserveGroups:function(d,p,A,N,O,q,P,K,re,le){var W=function(ye,ue){if(typeof ue=="string")return ye.indexOf(ue)!==0?null:ue;var Me=ye.match(ue);return Me?Me[0]:null},se=function(ye,ue,Me){for(var $e=0;ue<ye.length;){var Qe=ye.charAt(ue),ht=W(ye.substr(ue),Me);if(ht!==null&&$e===0)return{endMatchBegin:ue,endMatchEnd:ue+ht.length};if(Qe==="{")$e++;else if(Qe==="}"){if($e===0)throw["ExtraCloseMissingOpen","Extra close brace or missing open brace"];$e--}ue++}return $e>0,null},ve=W(d,p);if(ve===null||(d=d.substr(ve.length),ve=W(d,A),ve===null))return null;var pe=se(d,ve.length,N||O);if(pe===null)return null;var Y=d.substring(0,N?pe.endMatchEnd:pe.endMatchBegin);if(q||P){var be=this.findObserveGroups(d.substr(pe.endMatchEnd),q,P,K,re);if(be===null)return null;var oe=[Y,be.match_];return{match_:le?oe.join(""):oe,remainder:be.remainder}}else return{match_:Y,remainder:d.substr(pe.endMatchEnd)}},match_:function(d,p){var A=g.patterns.patterns[d];if(A===void 0)throw["MhchemBugP","mhchem bug P. Please report. ("+d+")"];if(typeof A=="function")return g.patterns.patterns[d](p);var N=p.match(A);if(N){var O;return N[2]?O=[N[1],N[2]]:N[1]?O=N[1]:O=N[0],{match_:O,remainder:p.substr(N[0].length)}}return null}},actions:{"a=":function(d,p){d.a=(d.a||"")+p},"b=":function(d,p){d.b=(d.b||"")+p},"p=":function(d,p){d.p=(d.p||"")+p},"o=":function(d,p){d.o=(d.o||"")+p},"q=":function(d,p){d.q=(d.q||"")+p},"d=":function(d,p){d.d=(d.d||"")+p},"rm=":function(d,p){d.rm=(d.rm||"")+p},"text=":function(d,p){d.text_=(d.text_||"")+p},insert:function(d,p,A){return{type_:A}},"insert+p1":function(d,p,A){return{type_:A,p1:p}},"insert+p1+p2":function(d,p,A){return{type_:A,p1:p[0],p2:p[1]}},copy:function(d,p){return p},rm:function(d,p){return{type_:"rm",p1:p||""}},text:function(d,p){return g.go(p,"text")},"{text}":function(d,p){var A=["{"];return g.concatArray(A,g.go(p,"text")),A.push("}"),A},"tex-math":function(d,p){return g.go(p,"tex-math")},"tex-math tight":function(d,p){return g.go(p,"tex-math tight")},bond:function(d,p,A){return{type_:"bond",kind_:A||p}},"color0-output":function(d,p){return{type_:"color0",color:p[0]}},ce:function(d,p){return g.go(p)},"1/2":function(d,p){var A=[];p.match(/^[+\-]/)&&(A.push(p.substr(0,1)),p=p.substr(1));var N=p.match(/^([0-9]+|\$[a-z]\$|[a-z])\/([0-9]+)(\$[a-z]\$|[a-z])?$/);return N[1]=N[1].replace(/\$/g,""),A.push({type_:"frac",p1:N[1],p2:N[2]}),N[3]&&(N[3]=N[3].replace(/\$/g,""),A.push({type_:"tex-math",p1:N[3]})),A},"9,9":function(d,p){return g.go(p,"9,9")}},createTransitions:function(d){var p,A,N,O,q={};for(p in d)for(A in d[p])for(N=A.split("|"),d[p][A].stateArray=N,O=0;O<N.length;O++)q[N[O]]=[];for(p in d)for(A in d[p])for(N=d[p][A].stateArray||[],O=0;O<N.length;O++){var P=d[p][A];if(P.action_){P.action_=[].concat(P.action_);for(var K=0;K<P.action_.length;K++)typeof P.action_[K]=="string"&&(P.action_[K]={type_:P.action_[K]})}else P.action_=[];for(var re=p.split("|"),le=0;le<re.length;le++)if(N[O]==="*")for(var W in q)q[W].push({pattern:re[le],task:P});else q[N[O]].push({pattern:re[le],task:P})}return q},stateMachines:{}};g.stateMachines={ce:{transitions:g.createTransitions({empty:{"*":{action_:"output"}},else:{"0|1|2":{action_:"beginsWithBond=false",revisit:!0,toContinue:!0}},oxidation$:{0:{action_:"oxidation-output"}},CMT:{r:{action_:"rdt=",nextState:"rt"},rd:{action_:"rqt=",nextState:"rdt"}},arrowUpDown:{"0|1|2|as":{action_:["sb=false","output","operator"],nextState:"1"}},uprightEntities:{"0|1|2":{action_:["o=","output"],nextState:"1"}},orbital:{"0|1|2|3":{action_:"o=",nextState:"o"}},"->":{"0|1|2|3":{action_:"r=",nextState:"r"},"a|as":{action_:["output","r="],nextState:"r"},"*":{action_:["output","r="],nextState:"r"}},"+":{o:{action_:"d= kv",nextState:"d"},"d|D":{action_:"d=",nextState:"d"},q:{action_:"d=",nextState:"qd"},"qd|qD":{action_:"d=",nextState:"qd"},dq:{action_:["output","d="],nextState:"d"},3:{action_:["sb=false","output","operator"],nextState:"0"}},amount:{"0|2":{action_:"a=",nextState:"a"}},"pm-operator":{"0|1|2|a|as":{action_:["sb=false","output",{type_:"operator",option:"\\pm"}],nextState:"0"}},operator:{"0|1|2|a|as":{action_:["sb=false","output","operator"],nextState:"0"}},"-$":{"o|q":{action_:["charge or bond","output"],nextState:"qd"},d:{action_:"d=",nextState:"d"},D:{action_:["output",{type_:"bond",option:"-"}],nextState:"3"},q:{action_:"d=",nextState:"qd"},qd:{action_:"d=",nextState:"qd"},"qD|dq":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},"-9":{"3|o":{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"3"}},"- orbital overlap":{o:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},d:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"}},"-":{"0|1|2":{action_:[{type_:"output",option:1},"beginsWithBond=true",{type_:"bond",option:"-"}],nextState:"3"},3:{action_:{type_:"bond",option:"-"}},a:{action_:["output",{type_:"insert",option:"hyphen"}],nextState:"2"},as:{action_:[{type_:"output",option:2},{type_:"bond",option:"-"}],nextState:"3"},b:{action_:"b="},o:{action_:{type_:"- after o/d",option:!1},nextState:"2"},q:{action_:{type_:"- after o/d",option:!1},nextState:"2"},"d|qd|dq":{action_:{type_:"- after o/d",option:!0},nextState:"2"},"D|qD|p":{action_:["output",{type_:"bond",option:"-"}],nextState:"3"}},amount2:{"1|3":{action_:"a=",nextState:"a"}},letters:{"0|1|2|3|a|as|b|p|bp|o":{action_:"o=",nextState:"o"},"q|dq":{action_:["output","o="],nextState:"o"},"d|D|qd|qD":{action_:"o after d",nextState:"o"}},digits:{o:{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},q:{action_:["output","o="],nextState:"o"},a:{action_:"o=",nextState:"o"}},"space A":{"b|p|bp":{}},space:{a:{nextState:"as"},0:{action_:"sb=false"},"1|2":{action_:"sb=true"},"r|rt|rd|rdt|rdq":{action_:"output",nextState:"0"},"*":{action_:["output","sb=true"],nextState:"1"}},"1st-level escape":{"1|2":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}]},"*":{action_:["output",{type_:"insert+p1",option:"1st-level escape"}],nextState:"0"}},"[(...)]":{"r|rt":{action_:"rd=",nextState:"rd"},"rd|rdt":{action_:"rq=",nextState:"rdq"}},"...":{"o|d|D|dq|qd|qD":{action_:["output",{type_:"bond",option:"..."}],nextState:"3"},"*":{action_:[{type_:"output",option:1},{type_:"insert",option:"ellipsis"}],nextState:"1"}},". |* ":{"*":{action_:["output",{type_:"insert",option:"addition compound"}],nextState:"1"}},"state of aggregation $":{"*":{action_:["output","state of aggregation"],nextState:"1"}},"{[(":{"a|as|o":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"0|1|2|3":{action_:["o=","output","parenthesisLevel++"],nextState:"2"},"*":{action_:["output","o=","output","parenthesisLevel++"],nextState:"2"}},")]}":{"0|1|2|3|b|p|bp|o":{action_:["o=","parenthesisLevel--"],nextState:"o"},"a|as|d|D|q|qd|qD|dq":{action_:["output","o=","parenthesisLevel--"],nextState:"o"}},", ":{"*":{action_:["output","comma"],nextState:"0"}},"^_":{"*":{}},"^{(...)}|^($...$)":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"D"},q:{action_:"d=",nextState:"qD"},"d|D|qd|qD|dq":{action_:["output","d="],nextState:"D"}},"^a|^\\x{}{}|^\\x{}|^\\x|'":{"0|1|2|as":{action_:"b=",nextState:"b"},p:{action_:"b=",nextState:"bp"},"3|o":{action_:"d= kv",nextState:"d"},q:{action_:"d=",nextState:"qd"},"d|qd|D|qD":{action_:"d="},dq:{action_:["output","d="],nextState:"d"}},"_{(state of aggregation)}$":{"d|D|q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"_{(...)}|_($...$)|_9|_\\x{}{}|_\\x{}|_\\x":{"0|1|2|as":{action_:"p=",nextState:"p"},b:{action_:"p=",nextState:"bp"},"3|o":{action_:"q=",nextState:"q"},"d|D":{action_:"q=",nextState:"dq"},"q|qd|qD|dq":{action_:["output","q="],nextState:"q"}},"=<>":{"0|1|2|3|a|as|o|q|d|D|qd|qD|dq":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"#":{"0|1|2|3|a|as|o":{action_:[{type_:"output",option:2},{type_:"bond",option:"#"}],nextState:"3"}},"{}":{"*":{action_:{type_:"output",option:1},nextState:"1"}},"{...}":{"0|1|2|3|a|as|b|p|bp":{action_:"o=",nextState:"o"},"o|d|D|q|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"$...$":{a:{action_:"a="},"0|1|2|3|as|b|p|bp|o":{action_:"o=",nextState:"o"},"as|o":{action_:"o="},"q|d|D|qd|qD|dq":{action_:["output","o="],nextState:"o"}},"\\bond{(...)}":{"*":{action_:[{type_:"output",option:2},"bond"],nextState:"3"}},"\\frac{(...)}":{"*":{action_:[{type_:"output",option:1},"frac-output"],nextState:"3"}},"\\overset{(...)}":{"*":{action_:[{type_:"output",option:2},"overset-output"],nextState:"3"}},"\\underset{(...)}":{"*":{action_:[{type_:"output",option:2},"underset-output"],nextState:"3"}},"\\underbrace{(...)}":{"*":{action_:[{type_:"output",option:2},"underbrace-output"],nextState:"3"}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:[{type_:"output",option:2},"color-output"],nextState:"3"}},"\\color{(...)}0":{"*":{action_:[{type_:"output",option:2},"color0-output"]}},"\\ce{(...)}":{"*":{action_:[{type_:"output",option:2},"ce"],nextState:"3"}},"\\,":{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"1"}},"\\x{}{}|\\x{}|\\x":{"0|1|2|3|a|as|b|p|bp|o|c0":{action_:["o=","output"],nextState:"3"},"*":{action_:["output","o=","output"],nextState:"3"}},others:{"*":{action_:[{type_:"output",option:1},"copy"],nextState:"3"}},else2:{a:{action_:"a to o",nextState:"o",revisit:!0},as:{action_:["output","sb=true"],nextState:"1",revisit:!0},"r|rt|rd|rdt|rdq":{action_:["output"],nextState:"0",revisit:!0},"*":{action_:["output","copy"],nextState:"3"}}}),actions:{"o after d":function(d,p){var A;if((d.d||"").match(/^[0-9]+$/)){var N=d.d;d.d=void 0,A=this.output(d),d.b=N}else A=this.output(d);return g.actions["o="](d,p),A},"d= kv":function(d,p){d.d=p,d.dType="kv"},"charge or bond":function(d,p){if(d.beginsWithBond){var A=[];return g.concatArray(A,this.output(d)),g.concatArray(A,g.actions.bond(d,p,"-")),A}else d.d=p},"- after o/d":function(d,p,A){var N=g.patterns.match_("orbital",d.o||""),O=g.patterns.match_("one lowercase greek letter $",d.o||""),q=g.patterns.match_("one lowercase latin letter $",d.o||""),P=g.patterns.match_("$one lowercase latin letter$ $",d.o||""),K=p==="-"&&(N&&N.remainder===""||O||q||P);K&&!d.a&&!d.b&&!d.p&&!d.d&&!d.q&&!N&&q&&(d.o="$"+d.o+"$");var re=[];return K?(g.concatArray(re,this.output(d)),re.push({type_:"hyphen"})):(N=g.patterns.match_("digits",d.d||""),A&&N&&N.remainder===""?(g.concatArray(re,g.actions["d="](d,p)),g.concatArray(re,this.output(d))):(g.concatArray(re,this.output(d)),g.concatArray(re,g.actions.bond(d,p,"-")))),re},"a to o":function(d){d.o=d.a,d.a=void 0},"sb=true":function(d){d.sb=!0},"sb=false":function(d){d.sb=!1},"beginsWithBond=true":function(d){d.beginsWithBond=!0},"beginsWithBond=false":function(d){d.beginsWithBond=!1},"parenthesisLevel++":function(d){d.parenthesisLevel++},"parenthesisLevel--":function(d){d.parenthesisLevel--},"state of aggregation":function(d,p){return{type_:"state of aggregation",p1:g.go(p,"o")}},comma:function(d,p){var A=p.replace(/\s*$/,""),N=A!==p;return N&&d.parenthesisLevel===0?{type_:"comma enumeration L",p1:A}:{type_:"comma enumeration M",p1:A}},output:function(d,p,A){var N;if(!d.r)N=[],!d.a&&!d.b&&!d.p&&!d.o&&!d.q&&!d.d&&!A||(d.sb&&N.push({type_:"entitySkip"}),!d.o&&!d.q&&!d.d&&!d.b&&!d.p&&A!==2?(d.o=d.a,d.a=void 0):!d.o&&!d.q&&!d.d&&(d.b||d.p)?(d.o=d.a,d.d=d.b,d.q=d.p,d.a=d.b=d.p=void 0):d.o&&d.dType==="kv"&&g.patterns.match_("d-oxidation$",d.d||"")?d.dType="oxidation":d.o&&d.dType==="kv"&&!d.q&&(d.dType=void 0),N.push({type_:"chemfive",a:g.go(d.a,"a"),b:g.go(d.b,"bd"),p:g.go(d.p,"pq"),o:g.go(d.o,"o"),q:g.go(d.q,"pq"),d:g.go(d.d,d.dType==="oxidation"?"oxidation":"bd"),dType:d.dType}));else{var O;d.rdt==="M"?O=g.go(d.rd,"tex-math"):d.rdt==="T"?O=[{type_:"text",p1:d.rd||""}]:O=g.go(d.rd);var q;d.rqt==="M"?q=g.go(d.rq,"tex-math"):d.rqt==="T"?q=[{type_:"text",p1:d.rq||""}]:q=g.go(d.rq),N={type_:"arrow",r:d.r,rd:O,rq:q}}for(var P in d)P!=="parenthesisLevel"&&P!=="beginsWithBond"&&delete d[P];return N},"oxidation-output":function(d,p){var A=["{"];return g.concatArray(A,g.go(p,"oxidation")),A.push("}"),A},"frac-output":function(d,p){return{type_:"frac-ce",p1:g.go(p[0]),p2:g.go(p[1])}},"overset-output":function(d,p){return{type_:"overset",p1:g.go(p[0]),p2:g.go(p[1])}},"underset-output":function(d,p){return{type_:"underset",p1:g.go(p[0]),p2:g.go(p[1])}},"underbrace-output":function(d,p){return{type_:"underbrace",p1:g.go(p[0]),p2:g.go(p[1])}},"color-output":function(d,p){return{type_:"color",color1:p[0],color2:g.go(p[1])}},"r=":function(d,p){d.r=p},"rdt=":function(d,p){d.rdt=p},"rd=":function(d,p){d.rd=p},"rqt=":function(d,p){d.rqt=p},"rq=":function(d,p){d.rq=p},operator:function(d,p,A){return{type_:"operator",kind_:A||p}}}},a:{transitions:g.createTransitions({empty:{"*":{}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"1",revisit:!0}},"$(...)$":{"*":{action_:"tex-math tight",nextState:"1"}},",":{"*":{action_:{type_:"insert",option:"commaDecimal"}}},else2:{"*":{action_:"copy"}}}),actions:{}},o:{transitions:g.createTransitions({empty:{"*":{}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"1",revisit:!0}},letters:{"*":{action_:"rm"}},"\\ca":{"*":{action_:{type_:"insert",option:"circa"}}},"\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"{text}"}},else2:{"*":{action_:"copy"}}}),actions:{}},text:{transitions:g.createTransitions({empty:{"*":{action_:"output"}},"{...}":{"*":{action_:"text="}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"\\greek":{"*":{action_:["output","rm"]}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:["output","copy"]}},else:{"*":{action_:"text="}}}),actions:{output:function(d){if(d.text_){var p={type_:"text",p1:d.text_};for(var A in d)delete d[A];return p}}}},pq:{transitions:g.createTransitions({empty:{"*":{}},"state of aggregation $":{"*":{action_:"state of aggregation"}},i$:{0:{nextState:"!f",revisit:!0}},"(KV letters),":{0:{action_:"rm",nextState:"0"}},formula$:{0:{nextState:"f",revisit:!0}},"1/2$":{0:{action_:"1/2"}},else:{0:{nextState:"!f",revisit:!0}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"text"}},"a-z":{f:{action_:"tex-math"}},letters:{"*":{action_:"rm"}},"-9.,9":{"*":{action_:"9,9"}},",":{"*":{action_:{type_:"insert+p1",option:"comma enumeration S"}}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:"color-output"}},"\\color{(...)}0":{"*":{action_:"color0-output"}},"\\ce{(...)}":{"*":{action_:"ce"}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},else2:{"*":{action_:"copy"}}}),actions:{"state of aggregation":function(d,p){return{type_:"state of aggregation subscript",p1:g.go(p,"o")}},"color-output":function(d,p){return{type_:"color",color1:p[0],color2:g.go(p[1],"pq")}}}},bd:{transitions:g.createTransitions({empty:{"*":{}},x$:{0:{nextState:"!f",revisit:!0}},formula$:{0:{nextState:"f",revisit:!0}},else:{0:{nextState:"!f",revisit:!0}},"-9.,9 no missing 0":{"*":{action_:"9,9"}},".":{"*":{action_:{type_:"insert",option:"electron dot"}}},"a-z":{f:{action_:"tex-math"}},x:{"*":{action_:{type_:"insert",option:"KV x"}}},letters:{"*":{action_:"rm"}},"'":{"*":{action_:{type_:"insert",option:"prime"}}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},"{(...)}":{"*":{action_:"text"}},"\\color{(...)}{(...)}1|\\color(...){(...)}2":{"*":{action_:"color-output"}},"\\color{(...)}0":{"*":{action_:"color0-output"}},"\\ce{(...)}":{"*":{action_:"ce"}},"\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"copy"}},else2:{"*":{action_:"copy"}}}),actions:{"color-output":function(d,p){return{type_:"color",color1:p[0],color2:g.go(p[1],"bd")}}}},oxidation:{transitions:g.createTransitions({empty:{"*":{}},"roman numeral":{"*":{action_:"roman-numeral"}},"${(...)}$|$(...)$":{"*":{action_:"tex-math"}},else:{"*":{action_:"copy"}}}),actions:{"roman-numeral":function(d,p){return{type_:"roman numeral",p1:p||""}}}},"tex-math":{transitions:g.createTransitions({empty:{"*":{action_:"output"}},"\\ce{(...)}":{"*":{action_:["output","ce"]}},"{...}|\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"o="}},else:{"*":{action_:"o="}}}),actions:{output:function(d){if(d.o){var p={type_:"tex-math",p1:d.o};for(var A in d)delete d[A];return p}}}},"tex-math tight":{transitions:g.createTransitions({empty:{"*":{action_:"output"}},"\\ce{(...)}":{"*":{action_:["output","ce"]}},"{...}|\\,|\\x{}{}|\\x{}|\\x":{"*":{action_:"o="}},"-|+":{"*":{action_:"tight operator"}},else:{"*":{action_:"o="}}}),actions:{"tight operator":function(d,p){d.o=(d.o||"")+"{"+p+"}"},output:function(d){if(d.o){var p={type_:"tex-math",p1:d.o};for(var A in d)delete d[A];return p}}}},"9,9":{transitions:g.createTransitions({empty:{"*":{}},",":{"*":{action_:"comma"}},else:{"*":{action_:"copy"}}}),actions:{comma:function(){return{type_:"commaDecimal"}}}},pu:{transitions:g.createTransitions({empty:{"*":{action_:"output"}},space$:{"*":{action_:["output","space"]}},"{[(|)]}":{"0|a":{action_:"copy"}},"(-)(9)^(-9)":{0:{action_:"number^",nextState:"a"}},"(-)(9.,9)(e)(99)":{0:{action_:"enumber",nextState:"a"}},space:{"0|a":{}},"pm-operator":{"0|a":{action_:{type_:"operator",option:"\\pm"},nextState:"0"}},operator:{"0|a":{action_:"copy",nextState:"0"}},"//":{d:{action_:"o=",nextState:"/"}},"/":{d:{action_:"o=",nextState:"/"}},"{...}|else":{"0|d":{action_:"d=",nextState:"d"},a:{action_:["space","d="],nextState:"d"},"/|q":{action_:"q=",nextState:"q"}}}),actions:{enumber:function(d,p){var A=[];return p[0]==="+-"||p[0]==="+/-"?A.push("\\pm "):p[0]&&A.push(p[0]),p[1]&&(g.concatArray(A,g.go(p[1],"pu-9,9")),p[2]&&(p[2].match(/[,.]/)?g.concatArray(A,g.go(p[2],"pu-9,9")):A.push(p[2])),p[3]=p[4]||p[3],p[3]&&(p[3]=p[3].trim(),p[3]==="e"||p[3].substr(0,1)==="*"?A.push({type_:"cdot"}):A.push({type_:"times"}))),p[3]&&A.push("10^{"+p[5]+"}"),A},"number^":function(d,p){var A=[];return p[0]==="+-"||p[0]==="+/-"?A.push("\\pm "):p[0]&&A.push(p[0]),g.concatArray(A,g.go(p[1],"pu-9,9")),A.push("^{"+p[2]+"}"),A},operator:function(d,p,A){return{type_:"operator",kind_:A||p}},space:function(){return{type_:"pu-space-1"}},output:function(d){var p,A=g.patterns.match_("{(...)}",d.d||"");A&&A.remainder===""&&(d.d=A.match_);var N=g.patterns.match_("{(...)}",d.q||"");if(N&&N.remainder===""&&(d.q=N.match_),d.d&&(d.d=d.d.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),d.d=d.d.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F")),d.q){d.q=d.q.replace(/\u00B0C|\^oC|\^{o}C/g,"{}^{\\circ}C"),d.q=d.q.replace(/\u00B0F|\^oF|\^{o}F/g,"{}^{\\circ}F");var O={d:g.go(d.d,"pu"),q:g.go(d.q,"pu")};d.o==="//"?p={type_:"pu-frac",p1:O.d,p2:O.q}:(p=O.d,O.d.length>1||O.q.length>1?p.push({type_:" / "}):p.push({type_:"/"}),g.concatArray(p,O.q))}else p=g.go(d.d,"pu-2");for(var q in d)delete d[q];return p}}},"pu-2":{transitions:g.createTransitions({empty:{"*":{action_:"output"}},"*":{"*":{action_:["output","cdot"],nextState:"0"}},"\\x":{"*":{action_:"rm="}},space:{"*":{action_:["output","space"],nextState:"0"}},"^{(...)}|^(-1)":{1:{action_:"^(-1)"}},"-9.,9":{0:{action_:"rm=",nextState:"0"},1:{action_:"^(-1)",nextState:"0"}},"{...}|else":{"*":{action_:"rm=",nextState:"1"}}}),actions:{cdot:function(){return{type_:"tight cdot"}},"^(-1)":function(d,p){d.rm+="^{"+p+"}"},space:function(){return{type_:"pu-space-2"}},output:function(d){var p=[];if(d.rm){var A=g.patterns.match_("{(...)}",d.rm||"");A&&A.remainder===""?p=g.go(A.match_,"pu"):p={type_:"rm",p1:d.rm}}for(var N in d)delete d[N];return p}}},"pu-9,9":{transitions:g.createTransitions({empty:{0:{action_:"output-0"},o:{action_:"output-o"}},",":{0:{action_:["output-0","comma"],nextState:"o"}},".":{0:{action_:["output-0","copy"],nextState:"o"}},else:{"*":{action_:"text="}}}),actions:{comma:function(){return{type_:"commaDecimal"}},"output-0":function(d){var p=[];if(d.text_=d.text_||"",d.text_.length>4){var A=d.text_.length%3;A===0&&(A=3);for(var N=d.text_.length-3;N>0;N-=3)p.push(d.text_.substr(N,3)),p.push({type_:"1000 separator"});p.push(d.text_.substr(0,A)),p.reverse()}else p.push(d.text_);for(var O in d)delete d[O];return p},"output-o":function(d){var p=[];if(d.text_=d.text_||"",d.text_.length>4){for(var A=d.text_.length-3,N=0;N<A;N+=3)p.push(d.text_.substr(N,3)),p.push({type_:"1000 separator"});p.push(d.text_.substr(N))}else p.push(d.text_);for(var O in d)delete d[O];return p}}}};var b={go:function(d,p){if(!d)return"";for(var A="",N=!1,O=0;O<d.length;O++){var q=d[O];typeof q=="string"?A+=q:(A+=b._go2(q),q.type_==="1st-level escape"&&(N=!0))}return!p&&!N&&A&&(A="{"+A+"}"),A},_goInner:function(d){return d&&b.go(d,!0)},_go2:function(d){var p;switch(d.type_){case"chemfive":p="";var A={a:b._goInner(d.a),b:b._goInner(d.b),p:b._goInner(d.p),o:b._goInner(d.o),q:b._goInner(d.q),d:b._goInner(d.d)};A.a&&(A.a.match(/^[+\-]/)&&(A.a="{"+A.a+"}"),p+=A.a+"\\,"),(A.b||A.p)&&(p+="{\\vphantom{X}}",p+="^{\\hphantom{"+(A.b||"")+"}}_{\\hphantom{"+(A.p||"")+"}}",p+="{\\vphantom{X}}",p+="^{\\smash[t]{\\vphantom{2}}\\mathllap{"+(A.b||"")+"}}",p+="_{\\vphantom{2}\\mathllap{\\smash[t]{"+(A.p||"")+"}}}"),A.o&&(A.o.match(/^[+\-]/)&&(A.o="{"+A.o+"}"),p+=A.o),d.dType==="kv"?((A.d||A.q)&&(p+="{\\vphantom{X}}"),A.d&&(p+="^{"+A.d+"}"),A.q&&(p+="_{\\smash[t]{"+A.q+"}}")):d.dType==="oxidation"?(A.d&&(p+="{\\vphantom{X}}",p+="^{"+A.d+"}"),A.q&&(p+="{\\vphantom{X}}",p+="_{\\smash[t]{"+A.q+"}}")):(A.q&&(p+="{\\vphantom{X}}",p+="_{\\smash[t]{"+A.q+"}}"),A.d&&(p+="{\\vphantom{X}}",p+="^{"+A.d+"}"));break;case"rm":p="\\mathrm{"+d.p1+"}";break;case"text":d.p1.match(/[\^_]/)?(d.p1=d.p1.replace(" ","~").replace("-","\\text{-}"),p="\\mathrm{"+d.p1+"}"):p="\\text{"+d.p1+"}";break;case"roman numeral":p="\\mathrm{"+d.p1+"}";break;case"state of aggregation":p="\\mskip2mu "+b._goInner(d.p1);break;case"state of aggregation subscript":p="\\mskip1mu "+b._goInner(d.p1);break;case"bond":if(p=b._getBond(d.kind_),!p)throw["MhchemErrorBond","mhchem Error. Unknown bond type ("+d.kind_+")"];break;case"frac":var N="\\frac{"+d.p1+"}{"+d.p2+"}";p="\\mathchoice{\\textstyle"+N+"}{"+N+"}{"+N+"}{"+N+"}";break;case"pu-frac":var O="\\frac{"+b._goInner(d.p1)+"}{"+b._goInner(d.p2)+"}";p="\\mathchoice{\\textstyle"+O+"}{"+O+"}{"+O+"}{"+O+"}";break;case"tex-math":p=d.p1+" ";break;case"frac-ce":p="\\frac{"+b._goInner(d.p1)+"}{"+b._goInner(d.p2)+"}";break;case"overset":p="\\overset{"+b._goInner(d.p1)+"}{"+b._goInner(d.p2)+"}";break;case"underset":p="\\underset{"+b._goInner(d.p1)+"}{"+b._goInner(d.p2)+"}";break;case"underbrace":p="\\underbrace{"+b._goInner(d.p1)+"}_{"+b._goInner(d.p2)+"}";break;case"color":p="{\\color{"+d.color1+"}{"+b._goInner(d.color2)+"}}";break;case"color0":p="\\color{"+d.color+"}";break;case"arrow":var q={rd:b._goInner(d.rd),rq:b._goInner(d.rq)},P="\\x"+b._getArrow(d.r);q.rq&&(P+="[{"+q.rq+"}]"),q.rd?P+="{"+q.rd+"}":P+="{}",p=P;break;case"operator":p=b._getOperator(d.kind_);break;case"1st-level escape":p=d.p1+" ";break;case"space":p=" ";break;case"entitySkip":p="~";break;case"pu-space-1":p="~";break;case"pu-space-2":p="\\mkern3mu ";break;case"1000 separator":p="\\mkern2mu ";break;case"commaDecimal":p="{,}";break;case"comma enumeration L":p="{"+d.p1+"}\\mkern6mu ";break;case"comma enumeration M":p="{"+d.p1+"}\\mkern3mu ";break;case"comma enumeration S":p="{"+d.p1+"}\\mkern1mu ";break;case"hyphen":p="\\text{-}";break;case"addition compound":p="\\,{\\cdot}\\,";break;case"electron dot":p="\\mkern1mu \\bullet\\mkern1mu ";break;case"KV x":p="{\\times}";break;case"prime":p="\\prime ";break;case"cdot":p="\\cdot ";break;case"tight cdot":p="\\mkern1mu{\\cdot}\\mkern1mu ";break;case"times":p="\\times ";break;case"circa":p="{\\sim}";break;case"^":p="uparrow";break;case"v":p="downarrow";break;case"ellipsis":p="\\ldots ";break;case"/":p="/";break;case" / ":p="\\,/\\,";break;default:throw["MhchemBugT","mhchem bug T. Please report."]}return p},_getArrow:function(d){switch(d){case"->":return"rightarrow";case"→":return"rightarrow";case"⟶":return"rightarrow";case"<-":return"leftarrow";case"<->":return"leftrightarrow";case"<-->":return"rightleftarrows";case"<=>":return"rightleftharpoons";case"⇌":return"rightleftharpoons";case"<=>>":return"rightequilibrium";case"<<=>":return"leftequilibrium";default:throw["MhchemBugT","mhchem bug T. Please report."]}},_getBond:function(d){switch(d){case"-":return"{-}";case"1":return"{-}";case"=":return"{=}";case"2":return"{=}";case"#":return"{\\equiv}";case"3":return"{\\equiv}";case"~":return"{\\tripledash}";case"~-":return"{\\mathrlap{\\raisebox{-.1em}{$-$}}\\raisebox{.1em}{$\\tripledash$}}";case"~=":return"{\\mathrlap{\\raisebox{-.2em}{$-$}}\\mathrlap{\\raisebox{.2em}{$\\tripledash$}}-}";case"~--":return"{\\mathrlap{\\raisebox{-.2em}{$-$}}\\mathrlap{\\raisebox{.2em}{$\\tripledash$}}-}";case"-~-":return"{\\mathrlap{\\raisebox{-.2em}{$-$}}\\mathrlap{\\raisebox{.2em}{$-$}}\\tripledash}";case"...":return"{{\\cdot}{\\cdot}{\\cdot}}";case"....":return"{{\\cdot}{\\cdot}{\\cdot}{\\cdot}}";case"->":return"{\\rightarrow}";case"<-":return"{\\leftarrow}";case"<":return"{<}";case">":return"{>}";default:throw["MhchemBugT","mhchem bug T. Please report."]}},_getOperator:function(d){switch(d){case"+":return" {}+{} ";case"-":return" {}-{} ";case"=":return" {}={} ";case"<":return" {}<{} ";case">":return" {}>{} ";case"<<":return" {}\\ll{} ";case">>":return" {}\\gg{} ";case"\\pm":return" {}\\pm{} ";case"\\approx":return" {}\\approx{} ";case"$\\approx$":return" {}\\approx{} ";case"v":return" \\downarrow{} ";case"(v)":return" \\downarrow{} ";case"^":return" \\uparrow{} ";case"(^)":return" \\uparrow{} ";default:throw["MhchemBugT","mhchem bug T. Please report."]}}};return u=u.default,u})()})})(wi)),wi.exports}zp();function Tp(e){const t={};let r=0;return e=e.replace(/(^|\n)(```|~~~)([^\n]*)\n([\s\S]*?)\n\2(\n|$)/g,(n,a,l,u,c,m)=>{const f=`__FENCED_CODE_${r++}__`;return t[f]=`${a}${l}${u}
585
585
  ${c}
586
- ${l}${m}`,f}),e=e.replace(/`([^`]+)`/g,n=>{const a=`__INLINE_CODE_${r++}__`;return t[a]=n,a}),{masked:e,masks:t}}function zp(e,t){for(const[r,n]of Object.entries(t))e=e.replace(new RegExp(r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),n);return e}const ac=e=>{if(!e||typeof e!="string")return"";try{let t=e.replace(/\r\n/g,`
586
+ ${l}${m}`,f}),e=e.replace(/`([^`]+)`/g,n=>{const a=`__INLINE_CODE_${r++}__`;return t[a]=n,a}),{masked:e,masks:t}}function Cp(e,t){for(const[r,n]of Object.entries(t))e=e.replace(new RegExp(r.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),n);return e}const ic=e=>{if(!e||typeof e!="string")return"";try{let t=e.replace(/\r\n/g,`
587
587
  `).replace(/\r/g,`
588
- `);[/(?:^|\s)([a-zA-Z0-9]+\s*[\^_]\s*[a-zA-Z0-9{}]+(?:\s*[+\-*/]\s*[a-zA-Z0-9]+\s*[\^_]\s*[a-zA-Z0-9{}]+)*\s*=\s*[^$\n]+)(?:\s|$)/g,/(?:^|\s)(\\frac\{[^}]+\}\{[^}]+\})(?:\s|$)/g,/(?:^|\s)(\\(?:sqrt|int|sum|prod|lim|log|ln|sin|cos|tan|exp)\b[^$\n]{0,50})(?:\s|$)/g,/(?:^|\s)([A-Z][a-z]?(?:\d+)?(?:\([A-Z][a-z]?(?:\d+)?\))?(?:\d+)?(?:[+-]\d*)?)+(?:\s|$)/g].forEach(g=>{t=t.replace(g,(b,d)=>{if(b.includes("$")||b.includes("`"))return b;const p=String(d??"").trim();if(/^[A-Za-z]$/.test(p))return b;const A=/[\\^_+=<>]|\\b(?:frac|sqrt|sum|int|lim|log|ln|sin|cos|tan|exp)\b/.test(p),B=/\d/.test(p),H=/[()]/.test(p),R=(p.match(/[A-Z]/g)||[]).length,L=(p.match(/[a-z]/g)||[]).length,K=R>=2,ae=B||H||K&&L>0;return!A&&!ae?b:b.replace(d,`$${d}$`)})});const{masked:n,masks:a}=Tp(t);t=n;const l=new Map;let u=0;const c=String.raw`-?\$\(?\d{1,3}(?:,\d{3})*(?:\.\d+)?|\$-?\d+(?:\.\d+)?|\$-?\d+(?:\.\d+)?\)?(?:\s?(?:[KMBkmb]|[Kk]ilo|[Mm]illion|[Bb]illion))?`,m=new RegExp(String.raw`(${c})(\s?[–-]\s?)(${c})`,"g");t=t.replace(m,(g,b,d,p)=>{const A=`__CURRENCY_${u++}__`,B=`__CURRENCY_${u++}__`;return l.set(A,b),l.set(B,p),`${A}${d}${B}`});const f=new RegExp(c,"g");return t=t.replace(f,g=>{const b=`__CURRENCY_${u++}__`;return l.set(b,g),b}),t=t.replace(/\\\[([\s\S]*?)\\\]/g,(g,b)=>`
588
+ `);[/(?:^|\s)([a-zA-Z0-9]+\s*[\^_]\s*[a-zA-Z0-9{}]+(?:\s*[+\-*/]\s*[a-zA-Z0-9]+\s*[\^_]\s*[a-zA-Z0-9{}]+)*\s*=\s*[^$\n]+)(?:\s|$)/g,/(?:^|\s)(\\frac\{[^}]+\}\{[^}]+\})(?:\s|$)/g,/(?:^|\s)(\\(?:sqrt|int|sum|prod|lim|log|ln|sin|cos|tan|exp)\b[^$\n]{0,50})(?:\s|$)/g,/(?:^|\s)([A-Z][a-z]?(?:\d+)?(?:\([A-Z][a-z]?(?:\d+)?\))?(?:\d+)?(?:[+-]\d*)?)+(?:\s|$)/g].forEach(g=>{t=t.replace(g,(b,d)=>{if(b.includes("$")||b.includes("`"))return b;const p=String(d??"").trim();if(/^[A-Za-z]$/.test(p))return b;const A=/[\\^_+=<>]|\\b(?:frac|sqrt|sum|int|lim|log|ln|sin|cos|tan|exp)\b/.test(p),N=/\d/.test(p),O=/[()]/.test(p),q=(p.match(/[A-Z]/g)||[]).length,P=(p.match(/[a-z]/g)||[]).length,K=q>=2,re=N||O||K&&P>0;return!A&&!re?b:b.replace(d,`$${d}$`)})});const{masked:n,masks:a}=Tp(t);t=n;const l=new Map;let u=0;const c=String.raw`-?\$\(?\d{1,3}(?:,\d{3})*(?:\.\d+)?|\$-?\d+(?:\.\d+)?|\$-?\d+(?:\.\d+)?\)?(?:\s?(?:[KMBkmb]|[Kk]ilo|[Mm]illion|[Bb]illion))?`,m=new RegExp(String.raw`(${c})(\s?[–-]\s?)(${c})`,"g");t=t.replace(m,(g,b,d,p)=>{const A=`__CURRENCY_${u++}__`,N=`__CURRENCY_${u++}__`;return l.set(A,b),l.set(N,p),`${A}${d}${N}`});const f=new RegExp(c,"g");return t=t.replace(f,g=>{const b=`__CURRENCY_${u++}__`;return l.set(b,g),b}),t=t.replace(/\\\[([\s\S]*?)\\\]/g,(g,b)=>`
589
589
  $$${b}$$
590
- `),t=t.replace(/\\\(([\s\S]*?)\\\)/g,(g,b)=>`$${b}$`),t=t.replace(new RegExp("(?<!\\\\)\\$(?!\\$)([^$\\n]+?)(?<!\\\\)\\$(?!\\$)","g"),(g,b)=>{const d=/^\d+(?:,\d{3})*(?:\.\d{2})?$/.test(b.trim()),p=/\\/.test(b),A=/[+\-*/=<>^_{}()]/.test(b),B=/[a-zA-Z].*\d|\d.*[a-zA-Z]/.test(b),H=/\\(?:alpha|beta|gamma|delta|epsilon|theta|lambda|mu|pi|sigma|omega)/.test(b),R=/\\(?:frac|sqrt|sum|int|lim|log|ln|sin|cos|tan|exp)/.test(b);return!d&&(p||A||B||H||R||b.length>1)?g:`\\$${b}\\$`}),l.forEach((g,b)=>{const d=g.replace(/\$/g,"\\$");t=t.replace(new RegExp(b.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),d)}),t=zp(t,a),t=t.trimEnd()+`
591
- `,t}catch(t){return console.warn("Error preprocessing markdown:",t),e}},Cp=({children:e,href:t,...r})=>Or.jsx("a",{...r,href:t,target:"_blank",rel:"noopener noreferrer",children:e}),Ep=({content:e,className:t="",disableMath:r=!1})=>{const n=ac(e);if(!n)return null;const a=r?[rc]:[rc,[q6,{singleDollarTextMath:!0}]],l=r?[]:[[p7,{throwOnError:!1,errorColor:"#cc0000",strict:!1,trust:!0,macros:{"\\RR":"\\mathbb{R}","\\NN":"\\mathbb{N}","\\ZZ":"\\mathbb{Z}","\\QQ":"\\mathbb{Q}","\\CC":"\\mathbb{C}","\\dx":"\\,dx","\\dy":"\\,dy","\\dt":"\\,dt","\\dz":"\\,dz"}}]];return Or.jsx("div",{className:`markdown-content ${t}`,children:Or.jsx(wm,{remarkPlugins:a,rehypePlugins:l,children:n})})},Dp=e=>{const t=e.replace(/\$\s?\d+(?:,\d{3})*(?:\.\d+)?\b/gi,"");return[/\$\$[\s\S]+?\$\$/,new RegExp("(?<!\\\\)\\$[^$\\n]+?(?<!\\\\)\\$"),/\\\[[\s\S]+?\\\]/,/\\\([^)]+?\\\)/].some(n=>n.test(t))},Bp="./MarkdownStyles.css";M0.MarkdownLink=Cp,M0.MarkdownRenderer=Ep,M0.containsMathNotation=Dp,M0.preprocessMarkdown=ac,M0.stylesPath=Bp,Object.defineProperty(M0,Symbol.toStringTag,{value:"Module"})}));
590
+ `),t=t.replace(/\\\(([\s\S]*?)\\\)/g,(g,b)=>`$${b}$`),t=t.replace(new RegExp("(?<!\\\\)\\$(?!\\$)([^$\\n]+?)(?<!\\\\)\\$(?!\\$)","g"),(g,b)=>{const d=/^\d+(?:,\d{3})*(?:\.\d{2})?$/.test(b.trim()),p=/\\/.test(b),A=/[+\-*/=<>^_{}()]/.test(b),N=/[a-zA-Z].*\d|\d.*[a-zA-Z]/.test(b),O=/\\(?:alpha|beta|gamma|delta|epsilon|theta|lambda|mu|pi|sigma|omega)/.test(b),q=/\\(?:frac|sqrt|sum|int|lim|log|ln|sin|cos|tan|exp)/.test(b);return!d&&(p||A||N||O||q||b.length>1)?g:`\\$${b}\\$`}),l.forEach((g,b)=>{const d=g.replace(/\$/g,"\\$");t=t.replace(new RegExp(b.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),"g"),d)}),t=Cp(t,a),t=t.trimEnd()+`
591
+ `,t}catch(t){return console.warn("Error preprocessing markdown:",t),e}},Ep=({children:e,href:t,...r})=>Lr.jsx("a",{...r,href:t,target:"_blank",rel:"noopener noreferrer",children:e}),Dp=({content:e,className:t="",disableMath:r=!1})=>{const n=ic(e);if(!n)return null;const a=r?[tc]:[tc,[O6,{singleDollarTextMath:!0}]],l=r?[]:[[f7,{throwOnError:!1,errorColor:"#cc0000",strict:!1,trust:!0,macros:{"\\RR":"\\mathbb{R}","\\NN":"\\mathbb{N}","\\ZZ":"\\mathbb{Z}","\\QQ":"\\mathbb{Q}","\\CC":"\\mathbb{C}","\\dx":"\\,dx","\\dy":"\\,dy","\\dt":"\\,dt","\\dz":"\\,dz"}}]];return Lr.jsx("div",{className:`markdown-content ${t}`,children:Lr.jsx(S5,{remarkPlugins:a,rehypePlugins:l,children:n})})},Bp=e=>{const t=e.replace(/\$\s?\d+(?:,\d{3})*(?:\.\d+)?\b/gi,"");return[/\$\$[\s\S]+?\$\$/,new RegExp("(?<!\\\\)\\$[^$\\n]+?(?<!\\\\)\\$"),/\\\[[\s\S]+?\\\]/,/\\\([^)]+?\\\)/].some(n=>n.test(t))},ac="schmitech-markdown-renderer-styles",lc=()=>{if(typeof document>"u"||document.getElementById(ac))return;const e=document.createElement("style");e.id=ac,e.textContent=w4,document.head.appendChild(e)};lc();const Np="./MarkdownStyles.css";b0.MarkdownLink=Ep,b0.MarkdownRenderer=Dp,b0.containsMathNotation=Bp,b0.ensureStylesInjected=lc,b0.preprocessMarkdown=ic,b0.stylesPath=Np,Object.defineProperty(b0,Symbol.toStringTag,{value:"Module"})}));
592
592
  //# sourceMappingURL=markdown-renderer.umd.js.map