From 183023c1b9f683f5a34ae2f617a3338abe5b94d0 Mon Sep 17 00:00:00 2001 From: qwinsi <70425035+qwinsi@users.noreply.github.com> Date: Tue, 20 Aug 2024 03:35:59 +0800 Subject: [PATCH] Updates --- .../{index--lMcx3PL.js => index-DE6lO89l.js} | 43 +-- cheat-sheet.html | 264 +++++++++++++++++- index.html | 2 +- offline.html | 2 +- 4 files changed, 281 insertions(+), 30 deletions(-) rename assets/{index--lMcx3PL.js => index-DE6lO89l.js} (66%) diff --git a/assets/index--lMcx3PL.js b/assets/index-DE6lO89l.js similarity index 66% rename from assets/index--lMcx3PL.js rename to assets/index-DE6lO89l.js index 34085e7..26cb32d 100644 --- a/assets/index--lMcx3PL.js +++ b/assets/index-DE6lO89l.js @@ -1,20 +1,20 @@ -var r1=Object.defineProperty;var a1=(t,e,r)=>e in t?r1(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var C0=(t,e,r)=>a1(t,typeof e!="symbol"?e+"":e,r);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))a(n);new MutationObserver(n=>{for(const i of n)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&a(l)}).observe(document,{childList:!0,subtree:!0});function r(n){const i={};return n.integrity&&(i.integrity=n.integrity),n.referrerPolicy&&(i.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?i.credentials="include":n.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function a(n){if(n.ep)return;n.ep=!0;const i=r(n);fetch(n.href,i)}})();/** +var t1=Object.defineProperty;var r1=(t,e,r)=>e in t?t1(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var C0=(t,e,r)=>r1(t,typeof e!="symbol"?e+"":e,r);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))a(n);new MutationObserver(n=>{for(const i of n)if(i.type==="childList")for(const s of i.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&a(s)}).observe(document,{childList:!0,subtree:!0});function r(n){const i={};return n.integrity&&(i.integrity=n.integrity),n.referrerPolicy&&(i.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?i.credentials="include":n.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function a(n){if(n.ep)return;n.ep=!0;const i=r(n);fetch(n.href,i)}})();/** * @vue/shared v3.4.31 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function Wa(t,e){const r=new Set(t.split(","));return a=>r.has(a)}const ge={},yt=[],a0=()=>{},n1=()=>!1,Rr=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Xa=t=>t.startsWith("onUpdate:"),Re=Object.assign,Ya=(t,e)=>{const r=t.indexOf(e);r>-1&&t.splice(r,1)},i1=Object.prototype.hasOwnProperty,oe=(t,e)=>i1.call(t,e),ee=Array.isArray,xt=t=>Or(t)==="[object Map]",Qi=t=>Or(t)==="[object Set]",ne=t=>typeof t=="function",Ne=t=>typeof t=="string",rt=t=>typeof t=="symbol",Ae=t=>t!==null&&typeof t=="object",es=t=>(Ae(t)||ne(t))&&ne(t.then)&&ne(t.catch),ts=Object.prototype.toString,Or=t=>ts.call(t),s1=t=>Or(t).slice(8,-1),rs=t=>Or(t)==="[object Object]",Ka=t=>Ne(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,It=Wa(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),_r=t=>{const e=Object.create(null);return r=>e[r]||(e[r]=t(r))},l1=/-(\w)/g,kt=_r(t=>t.replace(l1,(e,r)=>r?r.toUpperCase():"")),o1=/\B([A-Z])/g,At=_r(t=>t.replace(o1,"-$1").toLowerCase()),as=_r(t=>t.charAt(0).toUpperCase()+t.slice(1)),Qr=_r(t=>t?`on${as(t)}`:""),J0=(t,e)=>!Object.is(t,e),vr=(t,...e)=>{for(let r=0;r{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:a,value:r})},Ma=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let Rn;const is=()=>Rn||(Rn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Za(t){if(ee(t)){const e={};for(let r=0;r{if(r){const a=r.split(c1);a.length>1&&(e[a[0].trim()]=a[1].trim())}}),e}function Fr(t){let e="";if(Ne(t))e=t;else if(ee(t))for(let r=0;r!!(t&&t.__v_isRef===!0),os=t=>Ne(t)?t:t==null?"":ee(t)||Ae(t)&&(t.toString===ts||!ne(t.toString))?ls(t)?os(t.value):JSON.stringify(t,us,2):String(t),us=(t,e)=>ls(e)?us(t,e.value):xt(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((r,[a,n],i)=>(r[ea(a,i)+" =>"]=n,r),{})}:Qi(e)?{[`Set(${e.size})`]:[...e.values()].map(r=>ea(r))}:rt(e)?ea(e):Ae(e)&&!ee(e)&&!rs(e)?String(e):e,ea=(t,e="")=>{var r;return rt(t)?`Symbol(${(r=t.description)!=null?r:e})`:t};/** +**//*! #__NO_SIDE_EFFECTS__ */function Wa(t,e){const r=new Set(t.split(","));return a=>r.has(a)}const ge={},yt=[],a0=()=>{},a1=()=>!1,_r=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Xa=t=>t.startsWith("onUpdate:"),_e=Object.assign,Ya=(t,e)=>{const r=t.indexOf(e);r>-1&&t.splice(r,1)},n1=Object.prototype.hasOwnProperty,oe=(t,e)=>n1.call(t,e),ee=Array.isArray,xt=t=>Rr(t)==="[object Map]",Qi=t=>Rr(t)==="[object Set]",ne=t=>typeof t=="function",Ne=t=>typeof t=="string",rt=t=>typeof t=="symbol",Ae=t=>t!==null&&typeof t=="object",es=t=>(Ae(t)||ne(t))&&ne(t.then)&&ne(t.catch),ts=Object.prototype.toString,Rr=t=>ts.call(t),i1=t=>Rr(t).slice(8,-1),rs=t=>Rr(t)==="[object Object]",Ka=t=>Ne(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,It=Wa(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),Or=t=>{const e=Object.create(null);return r=>e[r]||(e[r]=t(r))},s1=/-(\w)/g,kt=Or(t=>t.replace(s1,(e,r)=>r?r.toUpperCase():"")),l1=/\B([A-Z])/g,At=Or(t=>t.replace(l1,"-$1").toLowerCase()),as=Or(t=>t.charAt(0).toUpperCase()+t.slice(1)),Qr=Or(t=>t?`on${as(t)}`:""),J0=(t,e)=>!Object.is(t,e),vr=(t,...e)=>{for(let r=0;r{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:a,value:r})},Ma=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let _n;const is=()=>_n||(_n=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Za(t){if(ee(t)){const e={};for(let r=0;r{if(r){const a=r.split(u1);a.length>1&&(e[a[0].trim()]=a[1].trim())}}),e}function Fr(t){let e="";if(Ne(t))e=t;else if(ee(t))for(let r=0;r!!(t&&t.__v_isRef===!0),os=t=>Ne(t)?t:t==null?"":ee(t)||Ae(t)&&(t.toString===ts||!ne(t.toString))?ls(t)?os(t.value):JSON.stringify(t,us,2):String(t),us=(t,e)=>ls(e)?us(t,e.value):xt(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((r,[a,n],i)=>(r[ea(a,i)+" =>"]=n,r),{})}:Qi(e)?{[`Set(${e.size})`]:[...e.values()].map(r=>ea(r))}:rt(e)?ea(e):Ae(e)&&!ee(e)&&!rs(e)?String(e):e,ea=(t,e="")=>{var r;return rt(t)?`Symbol(${(r=t.description)!=null?r:e})`:t};/** * @vue/reactivity v3.4.31 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let m0;class p1{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=m0,!e&&m0&&(this.index=(m0.scopes||(m0.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const r=m0;try{return m0=this,e()}finally{m0=r}}}on(){m0=this}off(){m0=this.parent}stop(e){if(this._active){let r,a;for(r=0,a=this.effects.length;r=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),nt()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=K0,r=mt;try{return K0=!0,mt=this,this._runnings++,On(this),this.fn()}finally{_n(this),this._runnings--,mt=r,K0=e}}stop(){this.active&&(On(this),_n(this),this.onStop&&this.onStop(),this.active=!1)}}function b1(t){return t.value}function On(t){t._trackId++,t._depsLength=0}function _n(t){if(t.deps.length>t._depsLength){for(let e=t._depsLength;e{const r=new Map;return r.cleanup=t,r.computed=e,r},za=new WeakMap,ft=Symbol(""),Ca=Symbol("");function We(t,e,r){if(K0&&mt){let a=za.get(t);a||za.set(t,a=new Map);let n=a.get(r);n||a.set(r,n=ds(()=>a.delete(r))),ms(mt,n)}}function N0(t,e,r,a,n,i){const l=za.get(t);if(!l)return;let u=[];if(e==="clear")u=[...l.values()];else if(r==="length"&&ee(t)){const c=Number(a);l.forEach((m,d)=>{(d==="length"||!rt(d)&&d>=c)&&u.push(m)})}else switch(r!==void 0&&u.push(l.get(r)),e){case"add":ee(t)?Ka(r)&&u.push(l.get("length")):(u.push(l.get(ft)),xt(t)&&u.push(l.get(Ca)));break;case"delete":ee(t)||(u.push(l.get(ft)),xt(t)&&u.push(l.get(Ca)));break;case"set":xt(t)&&u.push(l.get(ft));break}Qa();for(const c of u)c&&fs(c,4);en()}const y1=Wa("__proto__,__v_isRef,__isVue"),ps=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(rt)),Fn=x1();function x1(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...r){const a=fe(this);for(let i=0,l=this.length;i{t[e]=function(...r){at(),Qa();const a=fe(this)[e].apply(this,r);return en(),nt(),a}}),t}function w1(t){rt(t)||(t=String(t));const e=fe(this);return We(e,"has",t),e.hasOwnProperty(t)}class vs{constructor(e=!1,r=!1){this._isReadonly=e,this._isShallow=r}get(e,r,a){const n=this._isReadonly,i=this._isShallow;if(r==="__v_isReactive")return!n;if(r==="__v_isReadonly")return n;if(r==="__v_isShallow")return i;if(r==="__v_raw")return a===(n?i?I1:xs:i?ys:bs).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(a)?e:void 0;const l=ee(e);if(!n){if(l&&oe(Fn,r))return Reflect.get(Fn,r,a);if(r==="hasOwnProperty")return w1}const u=Reflect.get(e,r,a);return(rt(r)?ps.has(r):y1(r))||(n||We(e,"get",r),i)?u:Xe(u)?l&&Ka(r)?u:u.value:Ae(u)?n?ws(u):an(u):u}}class gs extends vs{constructor(e=!1){super(!1,e)}set(e,r,a,n){let i=e[r];if(!this._isShallow){const c=Pt(i);if(!Tr(a)&&!Pt(a)&&(i=fe(i),a=fe(a)),!ee(e)&&Xe(i)&&!Xe(a))return c?!1:(i.value=a,!0)}const l=ee(e)&&Ka(r)?Number(r)t,Lr=t=>Reflect.getPrototypeOf(t);function er(t,e,r=!1,a=!1){t=t.__v_raw;const n=fe(t),i=fe(e);r||(J0(e,i)&&We(n,"get",e),We(n,"get",i));const{has:l}=Lr(n),u=a?tn:r?sn:Vt;if(l.call(n,e))return u(t.get(e));if(l.call(n,i))return u(t.get(i));t!==n&&t.get(e)}function tr(t,e=!1){const r=this.__v_raw,a=fe(r),n=fe(t);return e||(J0(t,n)&&We(a,"has",t),We(a,"has",n)),t===n?r.has(t):r.has(t)||r.has(n)}function rr(t,e=!1){return t=t.__v_raw,!e&&We(fe(t),"iterate",ft),Reflect.get(t,"size",t)}function Ln(t){t=fe(t);const e=fe(this);return Lr(e).has.call(e,t)||(e.add(t),N0(e,"add",t,t)),this}function Hn(t,e){e=fe(e);const r=fe(this),{has:a,get:n}=Lr(r);let i=a.call(r,t);i||(t=fe(t),i=a.call(r,t));const l=n.call(r,t);return r.set(t,e),i?J0(e,l)&&N0(r,"set",t,e):N0(r,"add",t,e),this}function Pn(t){const e=fe(this),{has:r,get:a}=Lr(e);let n=r.call(e,t);n||(t=fe(t),n=r.call(e,t)),a&&a.call(e,t);const i=e.delete(t);return n&&N0(e,"delete",t,void 0),i}function Vn(){const t=fe(this),e=t.size!==0,r=t.clear();return e&&N0(t,"clear",void 0,void 0),r}function ar(t,e){return function(a,n){const i=this,l=i.__v_raw,u=fe(l),c=e?tn:t?sn:Vt;return!t&&We(u,"iterate",ft),l.forEach((m,d)=>a.call(n,c(m),c(d),i))}}function nr(t,e,r){return function(...a){const n=this.__v_raw,i=fe(n),l=xt(i),u=t==="entries"||t===Symbol.iterator&&l,c=t==="keys"&&l,m=n[t](...a),d=r?tn:e?sn:Vt;return!e&&We(i,"iterate",c?Ca:ft),{next(){const{value:g,done:w}=m.next();return w?{value:g,done:w}:{value:u?[d(g[0]),d(g[1])]:d(g),done:w}},[Symbol.iterator](){return this}}}}function $0(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function A1(){const t={get(i){return er(this,i)},get size(){return rr(this)},has:tr,add:Ln,set:Hn,delete:Pn,clear:Vn,forEach:ar(!1,!1)},e={get(i){return er(this,i,!1,!0)},get size(){return rr(this)},has:tr,add:Ln,set:Hn,delete:Pn,clear:Vn,forEach:ar(!1,!0)},r={get(i){return er(this,i,!0)},get size(){return rr(this,!0)},has(i){return tr.call(this,i,!0)},add:$0("add"),set:$0("set"),delete:$0("delete"),clear:$0("clear"),forEach:ar(!0,!1)},a={get(i){return er(this,i,!0,!0)},get size(){return rr(this,!0)},has(i){return tr.call(this,i,!0)},add:$0("add"),set:$0("set"),delete:$0("delete"),clear:$0("clear"),forEach:ar(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{t[i]=nr(i,!1,!1),r[i]=nr(i,!0,!1),e[i]=nr(i,!1,!0),a[i]=nr(i,!0,!0)}),[t,r,e,a]}const[z1,C1,q1,B1]=A1();function rn(t,e){const r=e?t?B1:q1:t?C1:z1;return(a,n,i)=>n==="__v_isReactive"?!t:n==="__v_isReadonly"?t:n==="__v_raw"?a:Reflect.get(oe(r,n)&&n in a?r:a,n,i)}const D1={get:rn(!1,!1)},E1={get:rn(!1,!0)},N1={get:rn(!0,!1)};const bs=new WeakMap,ys=new WeakMap,xs=new WeakMap,I1=new WeakMap;function R1(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function O1(t){return t.__v_skip||!Object.isExtensible(t)?0:R1(s1(t))}function an(t){return Pt(t)?t:nn(t,!1,k1,D1,bs)}function _1(t){return nn(t,!1,T1,E1,ys)}function ws(t){return nn(t,!0,M1,N1,xs)}function nn(t,e,r,a,n){if(!Ae(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const i=n.get(t);if(i)return i;const l=O1(t);if(l===0)return t;const u=new Proxy(t,l===2?a:r);return n.set(t,u),u}function Rt(t){return Pt(t)?Rt(t.__v_raw):!!(t&&t.__v_isReactive)}function Pt(t){return!!(t&&t.__v_isReadonly)}function Tr(t){return!!(t&&t.__v_isShallow)}function Ss(t){return t?!!t.__v_raw:!1}function fe(t){const e=t&&t.__v_raw;return e?fe(e):t}function F1(t){return Object.isExtensible(t)&&ns(t,"__v_skip",!0),t}const Vt=t=>Ae(t)?an(t):t,sn=t=>Ae(t)?ws(t):t;class ks{constructor(e,r,a,n){this.getter=e,this._setter=r,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Ja(()=>e(this._value),()=>gr(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!n,this.__v_isReadonly=a}get value(){const e=fe(this);return(!e._cacheable||e.effect.dirty)&&J0(e._value,e._value=e.effect.run())&&gr(e,4),Ms(e),e.effect._dirtyLevel>=2&&gr(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function L1(t,e,r=!1){let a,n;const i=ne(t);return i?(a=t,n=a0):(a=t.get,n=t.set),new ks(a,n,i||!n,r)}function Ms(t){var e;K0&&mt&&(t=fe(t),ms(mt,(e=t.dep)!=null?e:t.dep=ds(()=>t.dep=void 0,t instanceof ks?t:void 0)))}function gr(t,e=4,r,a){t=fe(t);const n=t.dep;n&&fs(n,e)}function Xe(t){return!!(t&&t.__v_isRef===!0)}function ta(t){return H1(t,!1)}function H1(t,e){return Xe(t)?t:new P1(t,e)}class P1{constructor(e,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?e:fe(e),this._value=r?e:Vt(e)}get value(){return Ms(this),this._value}set value(e){const r=this.__v_isShallow||Tr(e)||Pt(e);e=r?e:fe(e),J0(e,this._rawValue)&&(this._rawValue,this._rawValue=e,this._value=r?e:Vt(e),gr(this,4))}}function Ts(t){return Xe(t)?t.value:t}const V1={get:(t,e,r)=>Ts(Reflect.get(t,e,r)),set:(t,e,r,a)=>{const n=t[e];return Xe(n)&&!Xe(r)?(n.value=r,!0):Reflect.set(t,e,r,a)}};function As(t){return Rt(t)?t:new Proxy(t,V1)}/** +**/let m0;class d1{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=m0,!e&&m0&&(this.index=(m0.scopes||(m0.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const r=m0;try{return m0=this,e()}finally{m0=r}}}on(){m0=this}off(){m0=this.parent}stop(e){if(this._active){let r,a;for(r=0,a=this.effects.length;r=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),nt()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=K0,r=mt;try{return K0=!0,mt=this,this._runnings++,Rn(this),this.fn()}finally{On(this),this._runnings--,mt=r,K0=e}}stop(){this.active&&(Rn(this),On(this),this.onStop&&this.onStop(),this.active=!1)}}function g1(t){return t.value}function Rn(t){t._trackId++,t._depsLength=0}function On(t){if(t.deps.length>t._depsLength){for(let e=t._depsLength;e{const r=new Map;return r.cleanup=t,r.computed=e,r},za=new WeakMap,ft=Symbol(""),Ca=Symbol("");function We(t,e,r){if(K0&&mt){let a=za.get(t);a||za.set(t,a=new Map);let n=a.get(r);n||a.set(r,n=ds(()=>a.delete(r))),ms(mt,n)}}function N0(t,e,r,a,n,i){const s=za.get(t);if(!s)return;let o=[];if(e==="clear")o=[...s.values()];else if(r==="length"&&ee(t)){const c=Number(a);s.forEach((m,d)=>{(d==="length"||!rt(d)&&d>=c)&&o.push(m)})}else switch(r!==void 0&&o.push(s.get(r)),e){case"add":ee(t)?Ka(r)&&o.push(s.get("length")):(o.push(s.get(ft)),xt(t)&&o.push(s.get(Ca)));break;case"delete":ee(t)||(o.push(s.get(ft)),xt(t)&&o.push(s.get(Ca)));break;case"set":xt(t)&&o.push(s.get(ft));break}Qa();for(const c of o)c&&fs(c,4);en()}const b1=Wa("__proto__,__v_isRef,__isVue"),ps=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(rt)),Fn=y1();function y1(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...r){const a=fe(this);for(let i=0,s=this.length;i{t[e]=function(...r){at(),Qa();const a=fe(this)[e].apply(this,r);return en(),nt(),a}}),t}function x1(t){rt(t)||(t=String(t));const e=fe(this);return We(e,"has",t),e.hasOwnProperty(t)}class vs{constructor(e=!1,r=!1){this._isReadonly=e,this._isShallow=r}get(e,r,a){const n=this._isReadonly,i=this._isShallow;if(r==="__v_isReactive")return!n;if(r==="__v_isReadonly")return n;if(r==="__v_isShallow")return i;if(r==="__v_raw")return a===(n?i?N1:xs:i?ys:bs).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(a)?e:void 0;const s=ee(e);if(!n){if(s&&oe(Fn,r))return Reflect.get(Fn,r,a);if(r==="hasOwnProperty")return x1}const o=Reflect.get(e,r,a);return(rt(r)?ps.has(r):b1(r))||(n||We(e,"get",r),i)?o:Xe(o)?s&&Ka(r)?o:o.value:Ae(o)?n?ws(o):an(o):o}}class gs extends vs{constructor(e=!1){super(!1,e)}set(e,r,a,n){let i=e[r];if(!this._isShallow){const c=Pt(i);if(!Tr(a)&&!Pt(a)&&(i=fe(i),a=fe(a)),!ee(e)&&Xe(i)&&!Xe(a))return c?!1:(i.value=a,!0)}const s=ee(e)&&Ka(r)?Number(r)t,Lr=t=>Reflect.getPrototypeOf(t);function er(t,e,r=!1,a=!1){t=t.__v_raw;const n=fe(t),i=fe(e);r||(J0(e,i)&&We(n,"get",e),We(n,"get",i));const{has:s}=Lr(n),o=a?tn:r?sn:Vt;if(s.call(n,e))return o(t.get(e));if(s.call(n,i))return o(t.get(i));t!==n&&t.get(e)}function tr(t,e=!1){const r=this.__v_raw,a=fe(r),n=fe(t);return e||(J0(t,n)&&We(a,"has",t),We(a,"has",n)),t===n?r.has(t):r.has(t)||r.has(n)}function rr(t,e=!1){return t=t.__v_raw,!e&&We(fe(t),"iterate",ft),Reflect.get(t,"size",t)}function Ln(t){t=fe(t);const e=fe(this);return Lr(e).has.call(e,t)||(e.add(t),N0(e,"add",t,t)),this}function Hn(t,e){e=fe(e);const r=fe(this),{has:a,get:n}=Lr(r);let i=a.call(r,t);i||(t=fe(t),i=a.call(r,t));const s=n.call(r,t);return r.set(t,e),i?J0(e,s)&&N0(r,"set",t,e):N0(r,"add",t,e),this}function Pn(t){const e=fe(this),{has:r,get:a}=Lr(e);let n=r.call(e,t);n||(t=fe(t),n=r.call(e,t)),a&&a.call(e,t);const i=e.delete(t);return n&&N0(e,"delete",t,void 0),i}function Vn(){const t=fe(this),e=t.size!==0,r=t.clear();return e&&N0(t,"clear",void 0,void 0),r}function ar(t,e){return function(a,n){const i=this,s=i.__v_raw,o=fe(s),c=e?tn:t?sn:Vt;return!t&&We(o,"iterate",ft),s.forEach((m,d)=>a.call(n,c(m),c(d),i))}}function nr(t,e,r){return function(...a){const n=this.__v_raw,i=fe(n),s=xt(i),o=t==="entries"||t===Symbol.iterator&&s,c=t==="keys"&&s,m=n[t](...a),d=r?tn:e?sn:Vt;return!e&&We(i,"iterate",c?Ca:ft),{next(){const{value:g,done:w}=m.next();return w?{value:g,done:w}:{value:o?[d(g[0]),d(g[1])]:d(g),done:w}},[Symbol.iterator](){return this}}}}function $0(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function T1(){const t={get(i){return er(this,i)},get size(){return rr(this)},has:tr,add:Ln,set:Hn,delete:Pn,clear:Vn,forEach:ar(!1,!1)},e={get(i){return er(this,i,!1,!0)},get size(){return rr(this)},has:tr,add:Ln,set:Hn,delete:Pn,clear:Vn,forEach:ar(!1,!0)},r={get(i){return er(this,i,!0)},get size(){return rr(this,!0)},has(i){return tr.call(this,i,!0)},add:$0("add"),set:$0("set"),delete:$0("delete"),clear:$0("clear"),forEach:ar(!0,!1)},a={get(i){return er(this,i,!0,!0)},get size(){return rr(this,!0)},has(i){return tr.call(this,i,!0)},add:$0("add"),set:$0("set"),delete:$0("delete"),clear:$0("clear"),forEach:ar(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{t[i]=nr(i,!1,!1),r[i]=nr(i,!0,!1),e[i]=nr(i,!1,!0),a[i]=nr(i,!0,!0)}),[t,r,e,a]}const[A1,z1,C1,q1]=T1();function rn(t,e){const r=e?t?q1:C1:t?z1:A1;return(a,n,i)=>n==="__v_isReactive"?!t:n==="__v_isReadonly"?t:n==="__v_raw"?a:Reflect.get(oe(r,n)&&n in a?r:a,n,i)}const D1={get:rn(!1,!1)},B1={get:rn(!1,!0)},E1={get:rn(!0,!1)};const bs=new WeakMap,ys=new WeakMap,xs=new WeakMap,N1=new WeakMap;function I1(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function _1(t){return t.__v_skip||!Object.isExtensible(t)?0:I1(i1(t))}function an(t){return Pt(t)?t:nn(t,!1,S1,D1,bs)}function R1(t){return nn(t,!1,M1,B1,ys)}function ws(t){return nn(t,!0,k1,E1,xs)}function nn(t,e,r,a,n){if(!Ae(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const i=n.get(t);if(i)return i;const s=_1(t);if(s===0)return t;const o=new Proxy(t,s===2?a:r);return n.set(t,o),o}function _t(t){return Pt(t)?_t(t.__v_raw):!!(t&&t.__v_isReactive)}function Pt(t){return!!(t&&t.__v_isReadonly)}function Tr(t){return!!(t&&t.__v_isShallow)}function Ss(t){return t?!!t.__v_raw:!1}function fe(t){const e=t&&t.__v_raw;return e?fe(e):t}function O1(t){return Object.isExtensible(t)&&ns(t,"__v_skip",!0),t}const Vt=t=>Ae(t)?an(t):t,sn=t=>Ae(t)?ws(t):t;class ks{constructor(e,r,a,n){this.getter=e,this._setter=r,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Ja(()=>e(this._value),()=>gr(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!n,this.__v_isReadonly=a}get value(){const e=fe(this);return(!e._cacheable||e.effect.dirty)&&J0(e._value,e._value=e.effect.run())&&gr(e,4),Ms(e),e.effect._dirtyLevel>=2&&gr(e,2),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function F1(t,e,r=!1){let a,n;const i=ne(t);return i?(a=t,n=a0):(a=t.get,n=t.set),new ks(a,n,i||!n,r)}function Ms(t){var e;K0&&mt&&(t=fe(t),ms(mt,(e=t.dep)!=null?e:t.dep=ds(()=>t.dep=void 0,t instanceof ks?t:void 0)))}function gr(t,e=4,r,a){t=fe(t);const n=t.dep;n&&fs(n,e)}function Xe(t){return!!(t&&t.__v_isRef===!0)}function ta(t){return L1(t,!1)}function L1(t,e){return Xe(t)?t:new H1(t,e)}class H1{constructor(e,r){this.__v_isShallow=r,this.dep=void 0,this.__v_isRef=!0,this._rawValue=r?e:fe(e),this._value=r?e:Vt(e)}get value(){return Ms(this),this._value}set value(e){const r=this.__v_isShallow||Tr(e)||Pt(e);e=r?e:fe(e),J0(e,this._rawValue)&&(this._rawValue,this._rawValue=e,this._value=r?e:Vt(e),gr(this,4))}}function Ts(t){return Xe(t)?t.value:t}const P1={get:(t,e,r)=>Ts(Reflect.get(t,e,r)),set:(t,e,r,a)=>{const n=t[e];return Xe(n)&&!Xe(r)?(n.value=r,!0):Reflect.set(t,e,r,a)}};function As(t){return _t(t)?t:new Proxy(t,P1)}/** * @vue/runtime-core v3.4.31 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function Z0(t,e,r,a){try{return a?t(...a):t()}catch(n){Hr(n,e,r)}}function p0(t,e,r,a){if(ne(t)){const n=Z0(t,e,r,a);return n&&es(n)&&n.catch(i=>{Hr(i,e,r)}),n}if(ee(t)){const n=[];for(let i=0;i>>1,n=_e[a],i=Ut(n);ik0&&_e.splice(e,1)}function W1(t){ee(t)?wt.push(...t):(!j0||!j0.includes(t,t.allowRecurse?ht+1:ht))&&wt.push(t),Cs()}function $n(t,e,r=$t?k0+1:0){for(;r<_e.length;r++){const a=_e[r];if(a&&a.pre){if(t&&a.id!==t.uid)continue;_e.splice(r,1),r--,a()}}}function qs(t){if(wt.length){const e=[...new Set(wt)].sort((r,a)=>Ut(r)-Ut(a));if(wt.length=0,j0){j0.push(...e);return}for(j0=e,ht=0;htt.id==null?1/0:t.id,X1=(t,e)=>{const r=Ut(t)-Ut(e);if(r===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return r};function Bs(t){qa=!1,$t=!0,_e.sort(X1);try{for(k0=0;k0<_e.length;k0++){const e=_e[k0];e&&e.active!==!1&&Z0(e,null,14)}}finally{k0=0,_e.length=0,qs(),$t=!1,ln=null,(_e.length||wt.length)&&Bs()}}function Y1(t,e,...r){if(t.isUnmounted)return;const a=t.vnode.props||ge;let n=r;const i=e.startsWith("update:"),l=i&&e.slice(7);if(l&&l in a){const d=`${l==="modelValue"?"model":l}Modifiers`,{number:g,trim:w}=a[d]||ge;w&&(n=r.map(S=>Ne(S)?S.trim():S)),g&&(n=r.map(Ma))}let u,c=a[u=Qr(e)]||a[u=Qr(kt(e))];!c&&i&&(c=a[u=Qr(At(e))]),c&&p0(c,t,6,n);const m=a[u+"Once"];if(m){if(!t.emitted)t.emitted={};else if(t.emitted[u])return;t.emitted[u]=!0,p0(m,t,6,n)}}function Ds(t,e,r=!1){const a=e.emitsCache,n=a.get(t);if(n!==void 0)return n;const i=t.emits;let l={},u=!1;if(!ne(t)){const c=m=>{const d=Ds(m,e,!0);d&&(u=!0,Re(l,d))};!r&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}return!i&&!u?(Ae(t)&&a.set(t,null),null):(ee(i)?i.forEach(c=>l[c]=null):Re(l,i),Ae(t)&&a.set(t,l),l)}function Pr(t,e){return!t||!Rr(e)?!1:(e=e.slice(2).replace(/Once$/,""),oe(t,e[0].toLowerCase()+e.slice(1))||oe(t,At(e))||oe(t,e))}let n0=null,Es=null;function Ar(t){const e=n0;return n0=t,Es=t&&t.type.__scopeId||null,e}function K1(t,e=n0,r){if(!e||t._n)return t;const a=(...n)=>{a._d&&ei(-1);const i=Ar(e);let l;try{l=t(...n)}finally{Ar(i),a._d&&ei(1)}return l};return a._n=!0,a._c=!0,a._d=!0,a}function ra(t){const{type:e,vnode:r,proxy:a,withProxy:n,propsOptions:[i],slots:l,attrs:u,emit:c,render:m,renderCache:d,props:g,data:w,setupState:S,ctx:T,inheritAttrs:A}=t,F=Ar(t);let R,U;try{if(r.shapeFlag&4){const Z=n||a,J=Z;R=w0(m.call(J,Z,d,g,S,w,T)),U=u}else{const Z=e;R=w0(Z.length>1?Z(g,{attrs:u,slots:l,emit:c}):Z(g,null)),U=e.props?u:Z1(u)}}catch(Z){Ft.length=0,Hr(Z,t,1),R=v0(dt)}let P=R;if(U&&A!==!1){const Z=Object.keys(U),{shapeFlag:J}=P;Z.length&&J&7&&(i&&Z.some(Xa)&&(U=J1(U,i)),P=Mt(P,U,!1,!0))}return r.dirs&&(P=Mt(P,null,!1,!0),P.dirs=P.dirs?P.dirs.concat(r.dirs):r.dirs),r.transition&&(P.transition=r.transition),R=P,Ar(F),R}const Z1=t=>{let e;for(const r in t)(r==="class"||r==="style"||Rr(r))&&((e||(e={}))[r]=t[r]);return e},J1=(t,e)=>{const r={};for(const a in t)(!Xa(a)||!(a.slice(9)in e))&&(r[a]=t[a]);return r};function Q1(t,e,r){const{props:a,children:n,component:i}=t,{props:l,children:u,patchFlag:c}=e,m=i.emitsOptions;if(e.dirs||e.transition)return!0;if(r&&c>=0){if(c&1024)return!0;if(c&16)return a?Un(a,l,m):!!l;if(c&8){const d=e.dynamicProps;for(let g=0;gt.__isSuspense;function ao(t,e){e&&e.pendingBranch?ee(t)?e.effects.push(...t):e.effects.push(t):W1(t)}function Vr(t,e,r=Pe,a=!1){if(r){const n=r[t]||(r[t]=[]),i=e.__weh||(e.__weh=(...l)=>{at();const u=Xt(r),c=p0(e,r,t,l);return u(),nt(),c});return a?n.unshift(i):n.push(i),i}}const L0=t=>(e,r=Pe)=>{(!Ur||t==="sp")&&Vr(t,(...a)=>e(...a),r)},no=L0("bm"),Ns=L0("m"),io=L0("bu"),so=L0("u"),lo=L0("bum"),Is=L0("um"),oo=L0("sp"),uo=L0("rtg"),co=L0("rtc");function ho(t,e=Pe){Vr("ec",t,e)}function mo(t,e){if(n0===null)return t;const r=Gr(n0),a=t.dirs||(t.dirs=[]);for(let n=0;n!!t.type.__asyncLoader,Ba=t=>t?tl(t)?Gr(t):Ba(t.parent):null,Ot=Re(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Ba(t.parent),$root:t=>Ba(t.root),$emit:t=>t.emit,$options:t=>un(t),$forceUpdate:t=>t.f||(t.f=()=>{t.effect.dirty=!0,on(t.update)}),$nextTick:t=>t.n||(t.n=U1.bind(t.proxy)),$watch:t=>Io.bind(t)}),aa=(t,e)=>t!==ge&&!t.__isScriptSetup&&oe(t,e),fo={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:r,setupState:a,data:n,props:i,accessCache:l,type:u,appContext:c}=t;let m;if(e[0]!=="$"){const S=l[e];if(S!==void 0)switch(S){case 1:return a[e];case 2:return n[e];case 4:return r[e];case 3:return i[e]}else{if(aa(a,e))return l[e]=1,a[e];if(n!==ge&&oe(n,e))return l[e]=2,n[e];if((m=t.propsOptions[0])&&oe(m,e))return l[e]=3,i[e];if(r!==ge&&oe(r,e))return l[e]=4,r[e];Da&&(l[e]=0)}}const d=Ot[e];let g,w;if(d)return e==="$attrs"&&We(t.attrs,"get",""),d(t);if((g=u.__cssModules)&&(g=g[e]))return g;if(r!==ge&&oe(r,e))return l[e]=4,r[e];if(w=c.config.globalProperties,oe(w,e))return w[e]},set({_:t},e,r){const{data:a,setupState:n,ctx:i}=t;return aa(n,e)?(n[e]=r,!0):a!==ge&&oe(a,e)?(a[e]=r,!0):oe(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(i[e]=r,!0)},has({_:{data:t,setupState:e,accessCache:r,ctx:a,appContext:n,propsOptions:i}},l){let u;return!!r[l]||t!==ge&&oe(t,l)||aa(e,l)||(u=i[0])&&oe(u,l)||oe(a,l)||oe(Ot,l)||oe(n.config.globalProperties,l)},defineProperty(t,e,r){return r.get!=null?t._.accessCache[e]=0:oe(r,"value")&&this.set(t,e,r.value,null),Reflect.defineProperty(t,e,r)}};function Gn(t){return ee(t)?t.reduce((e,r)=>(e[r]=null,e),{}):t}let Da=!0;function po(t){const e=un(t),r=t.proxy,a=t.ctx;Da=!1,e.beforeCreate&&jn(e.beforeCreate,t,"bc");const{data:n,computed:i,methods:l,watch:u,provide:c,inject:m,created:d,beforeMount:g,mounted:w,beforeUpdate:S,updated:T,activated:A,deactivated:F,beforeDestroy:R,beforeUnmount:U,destroyed:P,unmounted:Z,render:J,renderTracked:G,renderTriggered:re,errorCaptured:se,serverPrefetch:ce,expose:Ie,inheritAttrs:ze,components:be,directives:e0,filters:De}=e;if(m&&vo(m,a,null),l)for(const he in l){const le=l[he];ne(le)&&(a[he]=le.bind(r))}if(n){const he=n.call(r,r);Ae(he)&&(t.data=an(he))}if(Da=!0,i)for(const he in i){const le=i[he],u0=ne(le)?le.bind(r,r):ne(le.get)?le.get.bind(r,r):a0,Ke=!ne(le)&&ne(le.set)?le.set.bind(r):a0,Oe=_a({get:u0,set:Ke});Object.defineProperty(a,he,{enumerable:!0,configurable:!0,get:()=>Oe.value,set:we=>Oe.value=we})}if(u)for(const he in u)Rs(u[he],a,r,he);if(c){const he=ne(c)?c.call(r):c;Reflect.ownKeys(he).forEach(le=>{So(le,he[le])})}d&&jn(d,t,"c");function ye(he,le){ee(le)?le.forEach(u0=>he(u0.bind(r))):le&&he(le.bind(r))}if(ye(no,g),ye(Ns,w),ye(io,S),ye(so,T),ye(Ro,A),ye(Oo,F),ye(ho,se),ye(co,G),ye(uo,re),ye(lo,U),ye(Is,Z),ye(oo,ce),ee(Ie))if(Ie.length){const he=t.exposed||(t.exposed={});Ie.forEach(le=>{Object.defineProperty(he,le,{get:()=>r[le],set:u0=>r[le]=u0})})}else t.exposed||(t.exposed={});J&&t.render===a0&&(t.render=J),ze!=null&&(t.inheritAttrs=ze),be&&(t.components=be),e0&&(t.directives=e0)}function vo(t,e,r=a0){ee(t)&&(t=Ea(t));for(const a in t){const n=t[a];let i;Ae(n)?"default"in n?i=yr(n.from||a,n.default,!0):i=yr(n.from||a):i=yr(n),Xe(i)?Object.defineProperty(e,a,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):e[a]=i}}function jn(t,e,r){p0(ee(t)?t.map(a=>a.bind(e.proxy)):t.bind(e.proxy),e,r)}function Rs(t,e,r,a){const n=a.includes(".")?Xs(r,a):()=>r[a];if(Ne(t)){const i=e[t];ne(i)&&ia(n,i)}else if(ne(t))ia(n,t.bind(r));else if(Ae(t))if(ee(t))t.forEach(i=>Rs(i,e,r,a));else{const i=ne(t.handler)?t.handler.bind(r):e[t.handler];ne(i)&&ia(n,i,t)}}function un(t){const e=t.type,{mixins:r,extends:a}=e,{mixins:n,optionsCache:i,config:{optionMergeStrategies:l}}=t.appContext,u=i.get(e);let c;return u?c=u:!n.length&&!r&&!a?c=e:(c={},n.length&&n.forEach(m=>zr(c,m,l,!0)),zr(c,e,l)),Ae(e)&&i.set(e,c),c}function zr(t,e,r,a=!1){const{mixins:n,extends:i}=e;i&&zr(t,i,r,!0),n&&n.forEach(l=>zr(t,l,r,!0));for(const l in e)if(!(a&&l==="expose")){const u=go[l]||r&&r[l];t[l]=u?u(t[l],e[l]):e[l]}return t}const go={data:Wn,props:Xn,emits:Xn,methods:Et,computed:Et,beforeCreate:Le,created:Le,beforeMount:Le,mounted:Le,beforeUpdate:Le,updated:Le,beforeDestroy:Le,beforeUnmount:Le,destroyed:Le,unmounted:Le,activated:Le,deactivated:Le,errorCaptured:Le,serverPrefetch:Le,components:Et,directives:Et,watch:yo,provide:Wn,inject:bo};function Wn(t,e){return e?t?function(){return Re(ne(t)?t.call(this,this):t,ne(e)?e.call(this,this):e)}:e:t}function bo(t,e){return Et(Ea(t),Ea(e))}function Ea(t){if(ee(t)){const e={};for(let r=0;r1)return r&&ne(e)?e.call(a&&a.proxy):e}}const _s={},Fs=()=>Object.create(_s),Ls=t=>Object.getPrototypeOf(t)===_s;function ko(t,e,r,a=!1){const n={},i=Fs();t.propsDefaults=Object.create(null),Hs(t,e,n,i);for(const l in t.propsOptions[0])l in n||(n[l]=void 0);r?t.props=a?n:_1(n):t.type.props?t.props=n:t.props=i,t.attrs=i}function Mo(t,e,r,a){const{props:n,attrs:i,vnode:{patchFlag:l}}=t,u=fe(n),[c]=t.propsOptions;let m=!1;if((a||l>0)&&!(l&16)){if(l&8){const d=t.vnode.dynamicProps;for(let g=0;g{c=!0;const[w,S]=Ps(g,e,!0);Re(l,w),S&&u.push(...S)};!r&&e.mixins.length&&e.mixins.forEach(d),t.extends&&d(t.extends),t.mixins&&t.mixins.forEach(d)}if(!i&&!c)return Ae(t)&&a.set(t,yt),yt;if(ee(i))for(let d=0;d-1,S[1]=A<0||T-1||oe(S,"default"))&&u.push(g)}}}const m=[l,u];return Ae(t)&&a.set(t,m),m}function Yn(t){return t[0]!=="$"&&!It(t)}function Kn(t){return t===null?"null":typeof t=="function"?t.name||"":typeof t=="object"&&t.constructor&&t.constructor.name||""}function Zn(t,e){return Kn(t)===Kn(e)}function Jn(t,e){return ee(e)?e.findIndex(r=>Zn(r,t)):ne(e)&&Zn(e,t)?0:-1}const Vs=t=>t[0]==="_"||t==="$stable",cn=t=>ee(t)?t.map(w0):[w0(t)],To=(t,e,r)=>{if(e._n)return e;const a=K1((...n)=>cn(e(...n)),r);return a._c=!1,a},$s=(t,e,r)=>{const a=t._ctx;for(const n in t){if(Vs(n))continue;const i=t[n];if(ne(i))e[n]=To(n,i,a);else if(i!=null){const l=cn(i);e[n]=()=>l}}},Us=(t,e)=>{const r=cn(e);t.slots.default=()=>r},Ao=(t,e)=>{const r=t.slots=Fs();if(t.vnode.shapeFlag&32){const a=e._;a?(Re(r,e),ns(r,"_",a,!0)):$s(e,r)}else e&&Us(t,e)},zo=(t,e,r)=>{const{vnode:a,slots:n}=t;let i=!0,l=ge;if(a.shapeFlag&32){const u=e._;u?r&&u===1?i=!1:(Re(n,e),!r&&u===1&&delete n._):(i=!e.$stable,$s(e,n)),l=e}else e&&(Us(t,e),l={default:1});if(i)for(const u in n)!Vs(u)&&l[u]==null&&delete n[u]};function Ia(t,e,r,a,n=!1){if(ee(t)){t.forEach((w,S)=>Ia(w,e&&(ee(e)?e[S]:e),r,a,n));return}if(br(a)&&!n)return;const i=a.shapeFlag&4?Gr(a.component):a.el,l=n?null:i,{i:u,r:c}=t,m=e&&e.r,d=u.refs===ge?u.refs={}:u.refs,g=u.setupState;if(m!=null&&m!==c&&(Ne(m)?(d[m]=null,oe(g,m)&&(g[m]=null)):Xe(m)&&(m.value=null)),ne(c))Z0(c,u,12,[l,d]);else{const w=Ne(c),S=Xe(c);if(w||S){const T=()=>{if(t.f){const A=w?oe(g,c)?g[c]:d[c]:c.value;n?ee(A)&&Ya(A,i):ee(A)?A.includes(i)||A.push(i):w?(d[c]=[i],oe(g,c)&&(g[c]=d[c])):(c.value=[i],t.k&&(d[t.k]=c.value))}else w?(d[c]=l,oe(g,c)&&(g[c]=l)):S&&(c.value=l,t.k&&(d[t.k]=l))};l?(T.id=-1,Ge(T,r)):T()}}}const Ge=ao;function Co(t){return qo(t)}function qo(t,e){const r=is();r.__VUE__=!0;const{insert:a,remove:n,patchProp:i,createElement:l,createText:u,createComment:c,setText:m,setElementText:d,parentNode:g,nextSibling:w,setScopeId:S=a0,insertStaticContent:T}=t,A=(b,x,M,z=null,C=null,N=null,L=void 0,I=null,_=!!x.dynamicChildren)=>{if(b===x)return;b&&!Dt(b,x)&&(z=c0(b),we(b,C,N,!0),b=null),x.patchFlag===-2&&(_=!1,x.dynamicChildren=null);const{type:B,ref:$,shapeFlag:X}=x;switch(B){case $r:F(b,x,M,z);break;case dt:R(b,x,M,z);break;case xr:b==null&&U(x,M,z,L);break;case D0:be(b,x,M,z,C,N,L,I,_);break;default:X&1?J(b,x,M,z,C,N,L,I,_):X&6?e0(b,x,M,z,C,N,L,I,_):(X&64||X&128)&&B.process(b,x,M,z,C,N,L,I,_,b0)}$!=null&&C&&Ia($,b&&b.ref,N,x||b,!x)},F=(b,x,M,z)=>{if(b==null)a(x.el=u(x.children),M,z);else{const C=x.el=b.el;x.children!==b.children&&m(C,x.children)}},R=(b,x,M,z)=>{b==null?a(x.el=c(x.children||""),M,z):x.el=b.el},U=(b,x,M,z)=>{[b.el,b.anchor]=T(b.children,x,M,z,b.el,b.anchor)},P=({el:b,anchor:x},M,z)=>{let C;for(;b&&b!==x;)C=w(b),a(b,M,z),b=C;a(x,M,z)},Z=({el:b,anchor:x})=>{let M;for(;b&&b!==x;)M=w(b),n(b),b=M;n(x)},J=(b,x,M,z,C,N,L,I,_)=>{x.type==="svg"?L="svg":x.type==="math"&&(L="mathml"),b==null?G(x,M,z,C,N,L,I,_):ce(b,x,C,N,L,I,_)},G=(b,x,M,z,C,N,L,I)=>{let _,B;const{props:$,shapeFlag:X,transition:j,dirs:te}=b;if(_=b.el=l(b.type,N,$&&$.is,$),X&8?d(_,b.children):X&16&&se(b.children,_,null,z,C,na(b,N),L,I),te&<(b,null,z,"created"),re(_,b,b.scopeId,L,z),$){for(const ve in $)ve!=="value"&&!It(ve)&&i(_,ve,null,$[ve],N,b.children,z,C,t0);"value"in $&&i(_,"value",null,$.value,N),(B=$.onVnodeBeforeMount)&&x0(B,z,b)}te&<(b,null,z,"beforeMount");const ie=Bo(C,j);ie&&j.beforeEnter(_),a(_,x,M),((B=$&&$.onVnodeMounted)||ie||te)&&Ge(()=>{B&&x0(B,z,b),ie&&j.enter(_),te&<(b,null,z,"mounted")},C)},re=(b,x,M,z,C)=>{if(M&&S(b,M),z)for(let N=0;N{for(let B=_;B{const I=x.el=b.el;let{patchFlag:_,dynamicChildren:B,dirs:$}=x;_|=b.patchFlag&16;const X=b.props||ge,j=x.props||ge;let te;if(M&&ot(M,!1),(te=j.onVnodeBeforeUpdate)&&x0(te,M,x,b),$&<(x,b,M,"beforeUpdate"),M&&ot(M,!0),B?Ie(b.dynamicChildren,B,I,M,z,na(x,C),N):L||le(b,x,I,null,M,z,na(x,C),N,!1),_>0){if(_&16)ze(I,x,X,j,M,z,C);else if(_&2&&X.class!==j.class&&i(I,"class",null,j.class,C),_&4&&i(I,"style",X.style,j.style,C),_&8){const ie=x.dynamicProps;for(let ve=0;ve{te&&x0(te,M,x,b),$&<(x,b,M,"updated")},z)},Ie=(b,x,M,z,C,N,L)=>{for(let I=0;I{if(M!==z){if(M!==ge)for(const I in M)!It(I)&&!(I in z)&&i(b,I,M[I],null,L,x.children,C,N,t0);for(const I in z){if(It(I))continue;const _=z[I],B=M[I];_!==B&&I!=="value"&&i(b,I,B,_,L,x.children,C,N,t0)}"value"in z&&i(b,"value",M.value,z.value,L)}},be=(b,x,M,z,C,N,L,I,_)=>{const B=x.el=b?b.el:u(""),$=x.anchor=b?b.anchor:u("");let{patchFlag:X,dynamicChildren:j,slotScopeIds:te}=x;te&&(I=I?I.concat(te):te),b==null?(a(B,M,z),a($,M,z),se(x.children||[],M,$,C,N,L,I,_)):X>0&&X&64&&j&&b.dynamicChildren?(Ie(b.dynamicChildren,j,M,C,N,L,I),(x.key!=null||C&&x===C.subTree)&&Gs(b,x,!0)):le(b,x,M,$,C,N,L,I,_)},e0=(b,x,M,z,C,N,L,I,_)=>{x.slotScopeIds=I,b==null?x.shapeFlag&512?C.ctx.activate(x,M,z,L,_):De(x,M,z,C,N,L,_):Ue(b,x,_)},De=(b,x,M,z,C,N,L)=>{const I=b.component=Yo(b,z,C);if(Ys(b)&&(I.ctx.renderer=b0),Ko(I),I.asyncDep){if(C&&C.registerDep(I,ye,L),!b.el){const _=I.subTree=v0(dt);R(null,_,x,M)}}else ye(I,b,x,M,C,N,L)},Ue=(b,x,M)=>{const z=x.component=b.component;if(Q1(b,x,M))if(z.asyncDep&&!z.asyncResolved){he(z,x,M);return}else z.next=x,j1(z.update),z.effect.dirty=!0,z.update();else x.el=b.el,z.vnode=x},ye=(b,x,M,z,C,N,L)=>{const I=()=>{if(b.isMounted){let{next:$,bu:X,u:j,parent:te,vnode:ie}=b;{const vt=js(b);if(vt){$&&($.el=ie.el,he(b,$,L)),vt.asyncDep.then(()=>{b.isUnmounted||I()});return}}let ve=$,me;ot(b,!1),$?($.el=ie.el,he(b,$,L)):$=ie,X&&vr(X),(me=$.props&&$.props.onVnodeBeforeUpdate)&&x0(me,te,$,ie),ot(b,!0);const Ee=ra(b),h0=b.subTree;b.subTree=Ee,A(h0,Ee,g(h0.el),c0(h0),b,C,N),$.el=Ee.el,ve===null&&eo(b,Ee.el),j&&Ge(j,C),(me=$.props&&$.props.onVnodeUpdated)&&Ge(()=>x0(me,te,$,ie),C)}else{let $;const{el:X,props:j}=x,{bm:te,m:ie,parent:ve}=b,me=br(x);if(ot(b,!1),te&&vr(te),!me&&($=j&&j.onVnodeBeforeMount)&&x0($,ve,x),ot(b,!0),X&&Qt){const Ee=()=>{b.subTree=ra(b),Qt(X,b.subTree,b,C,null)};me?x.type.__asyncLoader().then(()=>!b.isUnmounted&&Ee()):Ee()}else{const Ee=b.subTree=ra(b);A(null,Ee,M,z,b,C,N),x.el=Ee.el}if(ie&&Ge(ie,C),!me&&($=j&&j.onVnodeMounted)){const Ee=x;Ge(()=>x0($,ve,Ee),C)}(x.shapeFlag&256||ve&&br(ve.vnode)&&ve.vnode.shapeFlag&256)&&b.a&&Ge(b.a,C),b.isMounted=!0,x=M=z=null}},_=b.effect=new Ja(I,a0,()=>on(B),b.scope),B=b.update=()=>{_.dirty&&_.run()};B.id=b.uid,ot(b,!0),B()},he=(b,x,M)=>{x.component=b;const z=b.vnode.props;b.vnode=x,b.next=null,Mo(b,x.props,z,M),zo(b,x.children,M),at(),$n(b),nt()},le=(b,x,M,z,C,N,L,I,_=!1)=>{const B=b&&b.children,$=b?b.shapeFlag:0,X=x.children,{patchFlag:j,shapeFlag:te}=x;if(j>0){if(j&128){Ke(B,X,M,z,C,N,L,I,_);return}else if(j&256){u0(B,X,M,z,C,N,L,I,_);return}}te&8?($&16&&t0(B,C,N),X!==B&&d(M,X)):$&16?te&16?Ke(B,X,M,z,C,N,L,I,_):t0(B,C,N,!0):($&8&&d(M,""),te&16&&se(X,M,z,C,N,L,I,_))},u0=(b,x,M,z,C,N,L,I,_)=>{b=b||yt,x=x||yt;const B=b.length,$=x.length,X=Math.min(B,$);let j;for(j=0;j$?t0(b,C,N,!0,!1,X):se(x,M,z,C,N,L,I,_,X)},Ke=(b,x,M,z,C,N,L,I,_)=>{let B=0;const $=x.length;let X=b.length-1,j=$-1;for(;B<=X&&B<=j;){const te=b[B],ie=x[B]=_?W0(x[B]):w0(x[B]);if(Dt(te,ie))A(te,ie,M,null,C,N,L,I,_);else break;B++}for(;B<=X&&B<=j;){const te=b[X],ie=x[j]=_?W0(x[j]):w0(x[j]);if(Dt(te,ie))A(te,ie,M,null,C,N,L,I,_);else break;X--,j--}if(B>X){if(B<=j){const te=j+1,ie=te<$?x[te].el:z;for(;B<=j;)A(null,x[B]=_?W0(x[B]):w0(x[B]),M,ie,C,N,L,I,_),B++}}else if(B>j)for(;B<=X;)we(b[B],C,N,!0),B++;else{const te=B,ie=B,ve=new Map;for(B=ie;B<=j;B++){const Ze=x[B]=_?W0(x[B]):w0(x[B]);Ze.key!=null&&ve.set(Ze.key,B)}let me,Ee=0;const h0=j-ie+1;let vt=!1,En=0;const Bt=new Array(h0);for(B=0;B=h0){we(Ze,C,N,!0);continue}let y0;if(Ze.key!=null)y0=ve.get(Ze.key);else for(me=ie;me<=j;me++)if(Bt[me-ie]===0&&Dt(Ze,x[me])){y0=me;break}y0===void 0?we(Ze,C,N,!0):(Bt[y0-ie]=B+1,y0>=En?En=y0:vt=!0,A(Ze,x[y0],M,null,C,N,L,I,_),Ee++)}const Nn=vt?Do(Bt):yt;for(me=Nn.length-1,B=h0-1;B>=0;B--){const Ze=ie+B,y0=x[Ze],In=Ze+1<$?x[Ze+1].el:z;Bt[B]===0?A(null,y0,M,In,C,N,L,I,_):vt&&(me<0||B!==Nn[me]?Oe(y0,M,In,2):me--)}}},Oe=(b,x,M,z,C=null)=>{const{el:N,type:L,transition:I,children:_,shapeFlag:B}=b;if(B&6){Oe(b.component.subTree,x,M,z);return}if(B&128){b.suspense.move(x,M,z);return}if(B&64){L.move(b,x,M,b0);return}if(L===D0){a(N,x,M);for(let X=0;X<_.length;X++)Oe(_[X],x,M,z);a(b.anchor,x,M);return}if(L===xr){P(b,x,M);return}if(z!==2&&B&1&&I)if(z===0)I.beforeEnter(N),a(N,x,M),Ge(()=>I.enter(N),C);else{const{leave:X,delayLeave:j,afterLeave:te}=I,ie=()=>a(N,x,M),ve=()=>{X(N,()=>{ie(),te&&te()})};j?j(N,ie,ve):ve()}else a(N,x,M)},we=(b,x,M,z=!1,C=!1)=>{const{type:N,props:L,ref:I,children:_,dynamicChildren:B,shapeFlag:$,patchFlag:X,dirs:j,memoIndex:te}=b;if(X===-2&&(C=!1),I!=null&&Ia(I,null,M,b,!0),te!=null&&(x.renderCache[te]=void 0),$&256){x.ctx.deactivate(b);return}const ie=$&1&&j,ve=!br(b);let me;if(ve&&(me=L&&L.onVnodeBeforeUnmount)&&x0(me,x,b),$&6)V0(b.component,M,z);else{if($&128){b.suspense.unmount(M,z);return}ie&<(b,null,x,"beforeUnmount"),$&64?b.type.remove(b,x,M,b0,z):B&&(N!==D0||X>0&&X&64)?t0(B,x,M,!1,!0):(N===D0&&X&384||!C&&$&16)&&t0(_,x,M),z&&P0(b)}(ve&&(me=L&&L.onVnodeUnmounted)||ie)&&Ge(()=>{me&&x0(me,x,b),ie&<(b,null,x,"unmounted")},M)},P0=b=>{const{type:x,el:M,anchor:z,transition:C}=b;if(x===D0){qt(M,z);return}if(x===xr){Z(b);return}const N=()=>{n(M),C&&!C.persisted&&C.afterLeave&&C.afterLeave()};if(b.shapeFlag&1&&C&&!C.persisted){const{leave:L,delayLeave:I}=C,_=()=>L(M,N);I?I(b.el,N,_):_()}else N()},qt=(b,x)=>{let M;for(;b!==x;)M=w(b),n(b),b=M;n(x)},V0=(b,x,M)=>{const{bum:z,scope:C,update:N,subTree:L,um:I,m:_,a:B}=b;Qn(_),Qn(B),z&&vr(z),C.stop(),N&&(N.active=!1,we(L,b,x,M)),I&&Ge(I,x),Ge(()=>{b.isUnmounted=!0},x),x&&x.pendingBranch&&!x.isUnmounted&&b.asyncDep&&!b.asyncResolved&&b.suspenseId===x.pendingId&&(x.deps--,x.deps===0&&x.resolve())},t0=(b,x,M,z=!1,C=!1,N=0)=>{for(let L=N;Lb.shapeFlag&6?c0(b.component.subTree):b.shapeFlag&128?b.suspense.next():w(b.anchor||b.el);let g0=!1;const st=(b,x,M)=>{b==null?x._vnode&&we(x._vnode,null,null,!0):A(x._vnode||null,b,x,null,null,null,M),g0||(g0=!0,$n(),qs(),g0=!1),x._vnode=b},b0={p:A,um:we,m:Oe,r:P0,mt:De,mc:se,pc:le,pbc:Ie,n:c0,o:t};let Jt,Qt;return{render:st,hydrate:Jt,createApp:wo(st,Jt)}}function na({type:t,props:e},r){return r==="svg"&&t==="foreignObject"||r==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:r}function ot({effect:t,update:e},r){t.allowRecurse=e.allowRecurse=r}function Bo(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Gs(t,e,r=!1){const a=t.children,n=e.children;if(ee(a)&&ee(n))for(let i=0;i>1,t[r[u]]0&&(e[a]=r[i-1]),r[i]=a)}}for(i=r.length,l=r[i-1];i-- >0;)r[i]=l,l=e[l];return r}function js(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:js(e)}function Qn(t){if(t)for(let e=0;eyr(Eo),ir={};function ia(t,e,r){return Ws(t,e,r)}function Ws(t,e,{immediate:r,deep:a,flush:n,once:i,onTrack:l,onTrigger:u}=ge){if(e&&i){const G=e;e=(...re)=>{G(...re),J()}}const c=Pe,m=G=>a===!0?G:X0(G,a===!1?1:void 0);let d,g=!1,w=!1;if(Xe(t)?(d=()=>t.value,g=Tr(t)):Rt(t)?(d=()=>m(t),g=!0):ee(t)?(w=!0,g=t.some(G=>Rt(G)||Tr(G)),d=()=>t.map(G=>{if(Xe(G))return G.value;if(Rt(G))return m(G);if(ne(G))return Z0(G,c,2)})):ne(t)?e?d=()=>Z0(t,c,2):d=()=>(S&&S(),p0(t,c,3,[T])):d=a0,e&&a){const G=d;d=()=>X0(G())}let S,T=G=>{S=P.onStop=()=>{Z0(G,c,4),S=P.onStop=void 0}},A;if(Ur)if(T=a0,e?r&&p0(e,c,3,[d(),w?[]:void 0,T]):d(),n==="sync"){const G=No();A=G.__watcherHandles||(G.__watcherHandles=[])}else return a0;let F=w?new Array(t.length).fill(ir):ir;const R=()=>{if(!(!P.active||!P.dirty))if(e){const G=P.run();(a||g||(w?G.some((re,se)=>J0(re,F[se])):J0(G,F)))&&(S&&S(),p0(e,c,3,[G,F===ir?void 0:w&&F[0]===ir?[]:F,T]),F=G)}else P.run()};R.allowRecurse=!!e;let U;n==="sync"?U=R:n==="post"?U=()=>Ge(R,c&&c.suspense):(R.pre=!0,c&&(R.id=c.uid),U=()=>on(R));const P=new Ja(d,a0,U),Z=g1(),J=()=>{P.stop(),Z&&Ya(Z.effects,P)};return e?r?R():F=P.run():n==="post"?Ge(P.run.bind(P),c&&c.suspense):P.run(),A&&A.push(J),J}function Io(t,e,r){const a=this.proxy,n=Ne(t)?t.includes(".")?Xs(a,t):()=>a[t]:t.bind(a,a);let i;ne(e)?i=e:(i=e.handler,r=e);const l=Xt(this),u=Ws(n,i.bind(a),r);return l(),u}function Xs(t,e){const r=e.split(".");return()=>{let a=t;for(let n=0;n{X0(a,e,r)});else if(rs(t)){for(const a in t)X0(t[a],e,r);for(const a of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,a)&&X0(t[a],e,r)}return t}const Ys=t=>t.type.__isKeepAlive;function Ro(t,e){Ks(t,"a",e)}function Oo(t,e){Ks(t,"da",e)}function Ks(t,e,r=Pe){const a=t.__wdc||(t.__wdc=()=>{let n=r;for(;n;){if(n.isDeactivated)return;n=n.parent}return t()});if(Vr(e,a,r),r){let n=r.parent;for(;n&&n.parent;)Ys(n.parent.vnode)&&_o(a,e,r,n),n=n.parent}}function _o(t,e,r,a){const n=Vr(e,t,a,!0);Is(()=>{Ya(a[e],n)},r)}function Zs(t,e){t.shapeFlag&6&&t.component?Zs(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}const Fo=t=>t.__isTeleport,D0=Symbol.for("v-fgt"),$r=Symbol.for("v-txt"),dt=Symbol.for("v-cmt"),xr=Symbol.for("v-stc"),Ft=[];let d0=null;function Cr(t=!1){Ft.push(d0=t?null:[])}function Lo(){Ft.pop(),d0=Ft[Ft.length-1]||null}let Gt=1;function ei(t){Gt+=t}function Js(t){return t.dynamicChildren=Gt>0?d0||yt:null,Lo(),Gt>0&&d0&&d0.push(t),t}function Ra(t,e,r,a,n,i){return Js(Te(t,e,r,a,n,i,!0))}function Ho(t,e,r,a,n){return Js(v0(t,e,r,a,n,!0))}function Po(t){return t?t.__v_isVNode===!0:!1}function Dt(t,e){return t.type===e.type&&t.key===e.key}const Qs=({key:t})=>t??null,wr=({ref:t,ref_key:e,ref_for:r})=>(typeof t=="number"&&(t=""+t),t!=null?Ne(t)||Xe(t)||ne(t)?{i:n0,r:t,k:e,f:!!r}:t:null);function Te(t,e=null,r=null,a=0,n=null,i=t===D0?0:1,l=!1,u=!1){const c={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Qs(e),ref:e&&wr(e),scopeId:Es,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:a,dynamicProps:n,dynamicChildren:null,appContext:null,ctx:n0};return u?(hn(c,r),i&128&&t.normalize(c)):r&&(c.shapeFlag|=Ne(r)?8:16),Gt>0&&!l&&d0&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&d0.push(c),c}const v0=Vo;function Vo(t,e=null,r=null,a=0,n=null,i=!1){if((!t||t===to)&&(t=dt),Po(t)){const u=Mt(t,e,!0);return r&&hn(u,r),Gt>0&&!i&&d0&&(u.shapeFlag&6?d0[d0.indexOf(t)]=u:d0.push(u)),u.patchFlag=-2,u}if(eu(t)&&(t=t.__vccOpts),e){e=$o(e);let{class:u,style:c}=e;u&&!Ne(u)&&(e.class=Fr(u)),Ae(c)&&(Ss(c)&&!ee(c)&&(c=Re({},c)),e.style=Za(c))}const l=Ne(t)?1:ro(t)?128:Fo(t)?64:Ae(t)?4:ne(t)?2:0;return Te(t,e,r,a,n,l,i,!0)}function $o(t){return t?Ss(t)||Ls(t)?Re({},t):t:null}function Mt(t,e,r=!1,a=!1){const{props:n,ref:i,patchFlag:l,children:u,transition:c}=t,m=e?jo(n||{},e):n,d={__v_isVNode:!0,__v_skip:!0,type:t.type,props:m,key:m&&Qs(m),ref:e&&e.ref?r&&i?ee(i)?i.concat(wr(e)):[i,wr(e)]:wr(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:u,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==D0?l===-1?16:l|16:l,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:c,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Mt(t.ssContent),ssFallback:t.ssFallback&&Mt(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return c&&a&&Zs(d,c.clone(d)),d}function el(t=" ",e=0){return v0($r,null,t,e)}function Uo(t,e){const r=v0(xr,null,t);return r.staticCount=e,r}function Go(t="",e=!1){return e?(Cr(),Ho(dt,null,t)):v0(dt,null,t)}function w0(t){return t==null||typeof t=="boolean"?v0(dt):ee(t)?v0(D0,null,t.slice()):typeof t=="object"?W0(t):v0($r,null,String(t))}function W0(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Mt(t)}function hn(t,e){let r=0;const{shapeFlag:a}=t;if(e==null)e=null;else if(ee(e))r=16;else if(typeof e=="object")if(a&65){const n=e.default;n&&(n._c&&(n._d=!1),hn(t,n()),n._c&&(n._d=!0));return}else{r=32;const n=e._;!n&&!Ls(e)?e._ctx=n0:n===3&&n0&&(n0.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else ne(e)?(e={default:e,_ctx:n0},r=32):(e=String(e),a&64?(r=16,e=[el(e)]):r=8);t.children=e,t.shapeFlag|=r}function jo(...t){const e={};for(let r=0;r{let n;return(n=t[r])||(n=t[r]=[]),n.push(a),i=>{n.length>1?n.forEach(l=>l(i)):n[0](i)}};qr=e("__VUE_INSTANCE_SETTERS__",r=>Pe=r),Oa=e("__VUE_SSR_SETTERS__",r=>Ur=r)}const Xt=t=>{const e=Pe;return qr(t),t.scope.on(),()=>{t.scope.off(),qr(e)}},ti=()=>{Pe&&Pe.scope.off(),qr(null)};function tl(t){return t.vnode.shapeFlag&4}let Ur=!1;function Ko(t,e=!1){e&&Oa(e);const{props:r,children:a}=t.vnode,n=tl(t);ko(t,r,n,e),Ao(t,a);const i=n?Zo(t,e):void 0;return e&&Oa(!1),i}function Zo(t,e){const r=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,fo);const{setup:a}=r;if(a){const n=t.setupContext=a.length>1?Qo(t):null,i=Xt(t);at();const l=Z0(a,t,0,[t.props,n]);if(nt(),i(),es(l)){if(l.then(ti,ti),e)return l.then(u=>{ri(t,u,e)}).catch(u=>{Hr(u,t,0)});t.asyncDep=l}else ri(t,l,e)}else rl(t,e)}function ri(t,e,r){ne(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Ae(e)&&(t.setupState=As(e)),rl(t,r)}let ai;function rl(t,e,r){const a=t.type;if(!t.render){if(!e&&ai&&!a.render){const n=a.template||un(t).template;if(n){const{isCustomElement:i,compilerOptions:l}=t.appContext.config,{delimiters:u,compilerOptions:c}=a,m=Re(Re({isCustomElement:i,delimiters:u},l),c);a.render=ai(n,m)}}t.render=a.render||a0}{const n=Xt(t);at();try{po(t)}finally{nt(),n()}}}const Jo={get(t,e){return We(t,"get",""),t[e]}};function Qo(t){const e=r=>{t.exposed=r||{}};return{attrs:new Proxy(t.attrs,Jo),slots:t.slots,emit:t.emit,expose:e}}function Gr(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(As(F1(t.exposed)),{get(e,r){if(r in e)return e[r];if(r in Ot)return Ot[r](t)},has(e,r){return r in e||r in Ot}})):t.proxy}function eu(t){return ne(t)&&"__vccOpts"in t}const _a=(t,e)=>L1(t,e,Ur),tu="3.4.31";/** +**/function Z0(t,e,r,a){try{return a?t(...a):t()}catch(n){Hr(n,e,r)}}function p0(t,e,r,a){if(ne(t)){const n=Z0(t,e,r,a);return n&&es(n)&&n.catch(i=>{Hr(i,e,r)}),n}if(ee(t)){const n=[];for(let i=0;i>>1,n=Oe[a],i=Ut(n);ik0&&Oe.splice(e,1)}function j1(t){ee(t)?wt.push(...t):(!j0||!j0.includes(t,t.allowRecurse?ht+1:ht))&&wt.push(t),Cs()}function $n(t,e,r=$t?k0+1:0){for(;rUt(r)-Ut(a));if(wt.length=0,j0){j0.push(...e);return}for(j0=e,ht=0;htt.id==null?1/0:t.id,W1=(t,e)=>{const r=Ut(t)-Ut(e);if(r===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return r};function Ds(t){qa=!1,$t=!0,Oe.sort(W1);try{for(k0=0;k0Ne(S)?S.trim():S)),g&&(n=r.map(Ma))}let o,c=a[o=Qr(e)]||a[o=Qr(kt(e))];!c&&i&&(c=a[o=Qr(At(e))]),c&&p0(c,t,6,n);const m=a[o+"Once"];if(m){if(!t.emitted)t.emitted={};else if(t.emitted[o])return;t.emitted[o]=!0,p0(m,t,6,n)}}function Bs(t,e,r=!1){const a=e.emitsCache,n=a.get(t);if(n!==void 0)return n;const i=t.emits;let s={},o=!1;if(!ne(t)){const c=m=>{const d=Bs(m,e,!0);d&&(o=!0,_e(s,d))};!r&&e.mixins.length&&e.mixins.forEach(c),t.extends&&c(t.extends),t.mixins&&t.mixins.forEach(c)}return!i&&!o?(Ae(t)&&a.set(t,null),null):(ee(i)?i.forEach(c=>s[c]=null):_e(s,i),Ae(t)&&a.set(t,s),s)}function Pr(t,e){return!t||!_r(e)?!1:(e=e.slice(2).replace(/Once$/,""),oe(t,e[0].toLowerCase()+e.slice(1))||oe(t,At(e))||oe(t,e))}let n0=null,Es=null;function Ar(t){const e=n0;return n0=t,Es=t&&t.type.__scopeId||null,e}function Y1(t,e=n0,r){if(!e||t._n)return t;const a=(...n)=>{a._d&&ei(-1);const i=Ar(e);let s;try{s=t(...n)}finally{Ar(i),a._d&&ei(1)}return s};return a._n=!0,a._c=!0,a._d=!0,a}function ra(t){const{type:e,vnode:r,proxy:a,withProxy:n,propsOptions:[i],slots:s,attrs:o,emit:c,render:m,renderCache:d,props:g,data:w,setupState:S,ctx:T,inheritAttrs:A}=t,F=Ar(t);let _,U;try{if(r.shapeFlag&4){const Z=n||a,J=Z;_=w0(m.call(J,Z,d,g,S,w,T)),U=o}else{const Z=e;_=w0(Z.length>1?Z(g,{attrs:o,slots:s,emit:c}):Z(g,null)),U=e.props?o:K1(o)}}catch(Z){Ft.length=0,Hr(Z,t,1),_=v0(dt)}let P=_;if(U&&A!==!1){const Z=Object.keys(U),{shapeFlag:J}=P;Z.length&&J&7&&(i&&Z.some(Xa)&&(U=Z1(U,i)),P=Mt(P,U,!1,!0))}return r.dirs&&(P=Mt(P,null,!1,!0),P.dirs=P.dirs?P.dirs.concat(r.dirs):r.dirs),r.transition&&(P.transition=r.transition),_=P,Ar(F),_}const K1=t=>{let e;for(const r in t)(r==="class"||r==="style"||_r(r))&&((e||(e={}))[r]=t[r]);return e},Z1=(t,e)=>{const r={};for(const a in t)(!Xa(a)||!(a.slice(9)in e))&&(r[a]=t[a]);return r};function J1(t,e,r){const{props:a,children:n,component:i}=t,{props:s,children:o,patchFlag:c}=e,m=i.emitsOptions;if(e.dirs||e.transition)return!0;if(r&&c>=0){if(c&1024)return!0;if(c&16)return a?Un(a,s,m):!!s;if(c&8){const d=e.dynamicProps;for(let g=0;gt.__isSuspense;function ro(t,e){e&&e.pendingBranch?ee(t)?e.effects.push(...t):e.effects.push(t):j1(t)}function Vr(t,e,r=Pe,a=!1){if(r){const n=r[t]||(r[t]=[]),i=e.__weh||(e.__weh=(...s)=>{at();const o=Xt(r),c=p0(e,r,t,s);return o(),nt(),c});return a?n.unshift(i):n.push(i),i}}const L0=t=>(e,r=Pe)=>{(!Ur||t==="sp")&&Vr(t,(...a)=>e(...a),r)},ao=L0("bm"),Ns=L0("m"),no=L0("bu"),io=L0("u"),so=L0("bum"),Is=L0("um"),lo=L0("sp"),oo=L0("rtg"),uo=L0("rtc");function co(t,e=Pe){Vr("ec",t,e)}function ho(t,e){if(n0===null)return t;const r=Gr(n0),a=t.dirs||(t.dirs=[]);for(let n=0;n!!t.type.__asyncLoader,Da=t=>t?tl(t)?Gr(t):Da(t.parent):null,Rt=_e(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Da(t.parent),$root:t=>Da(t.root),$emit:t=>t.emit,$options:t=>un(t),$forceUpdate:t=>t.f||(t.f=()=>{t.effect.dirty=!0,on(t.update)}),$nextTick:t=>t.n||(t.n=$1.bind(t.proxy)),$watch:t=>No.bind(t)}),aa=(t,e)=>t!==ge&&!t.__isScriptSetup&&oe(t,e),mo={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:r,setupState:a,data:n,props:i,accessCache:s,type:o,appContext:c}=t;let m;if(e[0]!=="$"){const S=s[e];if(S!==void 0)switch(S){case 1:return a[e];case 2:return n[e];case 4:return r[e];case 3:return i[e]}else{if(aa(a,e))return s[e]=1,a[e];if(n!==ge&&oe(n,e))return s[e]=2,n[e];if((m=t.propsOptions[0])&&oe(m,e))return s[e]=3,i[e];if(r!==ge&&oe(r,e))return s[e]=4,r[e];Ba&&(s[e]=0)}}const d=Rt[e];let g,w;if(d)return e==="$attrs"&&We(t.attrs,"get",""),d(t);if((g=o.__cssModules)&&(g=g[e]))return g;if(r!==ge&&oe(r,e))return s[e]=4,r[e];if(w=c.config.globalProperties,oe(w,e))return w[e]},set({_:t},e,r){const{data:a,setupState:n,ctx:i}=t;return aa(n,e)?(n[e]=r,!0):a!==ge&&oe(a,e)?(a[e]=r,!0):oe(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(i[e]=r,!0)},has({_:{data:t,setupState:e,accessCache:r,ctx:a,appContext:n,propsOptions:i}},s){let o;return!!r[s]||t!==ge&&oe(t,s)||aa(e,s)||(o=i[0])&&oe(o,s)||oe(a,s)||oe(Rt,s)||oe(n.config.globalProperties,s)},defineProperty(t,e,r){return r.get!=null?t._.accessCache[e]=0:oe(r,"value")&&this.set(t,e,r.value,null),Reflect.defineProperty(t,e,r)}};function Gn(t){return ee(t)?t.reduce((e,r)=>(e[r]=null,e),{}):t}let Ba=!0;function fo(t){const e=un(t),r=t.proxy,a=t.ctx;Ba=!1,e.beforeCreate&&jn(e.beforeCreate,t,"bc");const{data:n,computed:i,methods:s,watch:o,provide:c,inject:m,created:d,beforeMount:g,mounted:w,beforeUpdate:S,updated:T,activated:A,deactivated:F,beforeDestroy:_,beforeUnmount:U,destroyed:P,unmounted:Z,render:J,renderTracked:G,renderTriggered:re,errorCaptured:se,serverPrefetch:ce,expose:Ie,inheritAttrs:ze,components:be,directives:e0,filters:Be}=e;if(m&&po(m,a,null),s)for(const he in s){const le=s[he];ne(le)&&(a[he]=le.bind(r))}if(n){const he=n.call(r,r);Ae(he)&&(t.data=an(he))}if(Ba=!0,i)for(const he in i){const le=i[he],u0=ne(le)?le.bind(r,r):ne(le.get)?le.get.bind(r,r):a0,Ke=!ne(le)&&ne(le.set)?le.set.bind(r):a0,Re=Oa({get:u0,set:Ke});Object.defineProperty(a,he,{enumerable:!0,configurable:!0,get:()=>Re.value,set:we=>Re.value=we})}if(o)for(const he in o)_s(o[he],a,r,he);if(c){const he=ne(c)?c.call(r):c;Reflect.ownKeys(he).forEach(le=>{wo(le,he[le])})}d&&jn(d,t,"c");function ye(he,le){ee(le)?le.forEach(u0=>he(u0.bind(r))):le&&he(le.bind(r))}if(ye(ao,g),ye(Ns,w),ye(no,S),ye(io,T),ye(Io,A),ye(_o,F),ye(co,se),ye(uo,G),ye(oo,re),ye(so,U),ye(Is,Z),ye(lo,ce),ee(Ie))if(Ie.length){const he=t.exposed||(t.exposed={});Ie.forEach(le=>{Object.defineProperty(he,le,{get:()=>r[le],set:u0=>r[le]=u0})})}else t.exposed||(t.exposed={});J&&t.render===a0&&(t.render=J),ze!=null&&(t.inheritAttrs=ze),be&&(t.components=be),e0&&(t.directives=e0)}function po(t,e,r=a0){ee(t)&&(t=Ea(t));for(const a in t){const n=t[a];let i;Ae(n)?"default"in n?i=yr(n.from||a,n.default,!0):i=yr(n.from||a):i=yr(n),Xe(i)?Object.defineProperty(e,a,{enumerable:!0,configurable:!0,get:()=>i.value,set:s=>i.value=s}):e[a]=i}}function jn(t,e,r){p0(ee(t)?t.map(a=>a.bind(e.proxy)):t.bind(e.proxy),e,r)}function _s(t,e,r,a){const n=a.includes(".")?Xs(r,a):()=>r[a];if(Ne(t)){const i=e[t];ne(i)&&ia(n,i)}else if(ne(t))ia(n,t.bind(r));else if(Ae(t))if(ee(t))t.forEach(i=>_s(i,e,r,a));else{const i=ne(t.handler)?t.handler.bind(r):e[t.handler];ne(i)&&ia(n,i,t)}}function un(t){const e=t.type,{mixins:r,extends:a}=e,{mixins:n,optionsCache:i,config:{optionMergeStrategies:s}}=t.appContext,o=i.get(e);let c;return o?c=o:!n.length&&!r&&!a?c=e:(c={},n.length&&n.forEach(m=>zr(c,m,s,!0)),zr(c,e,s)),Ae(e)&&i.set(e,c),c}function zr(t,e,r,a=!1){const{mixins:n,extends:i}=e;i&&zr(t,i,r,!0),n&&n.forEach(s=>zr(t,s,r,!0));for(const s in e)if(!(a&&s==="expose")){const o=vo[s]||r&&r[s];t[s]=o?o(t[s],e[s]):e[s]}return t}const vo={data:Wn,props:Xn,emits:Xn,methods:Et,computed:Et,beforeCreate:Le,created:Le,beforeMount:Le,mounted:Le,beforeUpdate:Le,updated:Le,beforeDestroy:Le,beforeUnmount:Le,destroyed:Le,unmounted:Le,activated:Le,deactivated:Le,errorCaptured:Le,serverPrefetch:Le,components:Et,directives:Et,watch:bo,provide:Wn,inject:go};function Wn(t,e){return e?t?function(){return _e(ne(t)?t.call(this,this):t,ne(e)?e.call(this,this):e)}:e:t}function go(t,e){return Et(Ea(t),Ea(e))}function Ea(t){if(ee(t)){const e={};for(let r=0;r1)return r&&ne(e)?e.call(a&&a.proxy):e}}const Os={},Fs=()=>Object.create(Os),Ls=t=>Object.getPrototypeOf(t)===Os;function So(t,e,r,a=!1){const n={},i=Fs();t.propsDefaults=Object.create(null),Hs(t,e,n,i);for(const s in t.propsOptions[0])s in n||(n[s]=void 0);r?t.props=a?n:R1(n):t.type.props?t.props=n:t.props=i,t.attrs=i}function ko(t,e,r,a){const{props:n,attrs:i,vnode:{patchFlag:s}}=t,o=fe(n),[c]=t.propsOptions;let m=!1;if((a||s>0)&&!(s&16)){if(s&8){const d=t.vnode.dynamicProps;for(let g=0;g{c=!0;const[w,S]=Ps(g,e,!0);_e(s,w),S&&o.push(...S)};!r&&e.mixins.length&&e.mixins.forEach(d),t.extends&&d(t.extends),t.mixins&&t.mixins.forEach(d)}if(!i&&!c)return Ae(t)&&a.set(t,yt),yt;if(ee(i))for(let d=0;d-1,S[1]=A<0||T-1||oe(S,"default"))&&o.push(g)}}}const m=[s,o];return Ae(t)&&a.set(t,m),m}function Yn(t){return t[0]!=="$"&&!It(t)}function Kn(t){return t===null?"null":typeof t=="function"?t.name||"":typeof t=="object"&&t.constructor&&t.constructor.name||""}function Zn(t,e){return Kn(t)===Kn(e)}function Jn(t,e){return ee(e)?e.findIndex(r=>Zn(r,t)):ne(e)&&Zn(e,t)?0:-1}const Vs=t=>t[0]==="_"||t==="$stable",cn=t=>ee(t)?t.map(w0):[w0(t)],Mo=(t,e,r)=>{if(e._n)return e;const a=Y1((...n)=>cn(e(...n)),r);return a._c=!1,a},$s=(t,e,r)=>{const a=t._ctx;for(const n in t){if(Vs(n))continue;const i=t[n];if(ne(i))e[n]=Mo(n,i,a);else if(i!=null){const s=cn(i);e[n]=()=>s}}},Us=(t,e)=>{const r=cn(e);t.slots.default=()=>r},To=(t,e)=>{const r=t.slots=Fs();if(t.vnode.shapeFlag&32){const a=e._;a?(_e(r,e),ns(r,"_",a,!0)):$s(e,r)}else e&&Us(t,e)},Ao=(t,e,r)=>{const{vnode:a,slots:n}=t;let i=!0,s=ge;if(a.shapeFlag&32){const o=e._;o?r&&o===1?i=!1:(_e(n,e),!r&&o===1&&delete n._):(i=!e.$stable,$s(e,n)),s=e}else e&&(Us(t,e),s={default:1});if(i)for(const o in n)!Vs(o)&&s[o]==null&&delete n[o]};function Ia(t,e,r,a,n=!1){if(ee(t)){t.forEach((w,S)=>Ia(w,e&&(ee(e)?e[S]:e),r,a,n));return}if(br(a)&&!n)return;const i=a.shapeFlag&4?Gr(a.component):a.el,s=n?null:i,{i:o,r:c}=t,m=e&&e.r,d=o.refs===ge?o.refs={}:o.refs,g=o.setupState;if(m!=null&&m!==c&&(Ne(m)?(d[m]=null,oe(g,m)&&(g[m]=null)):Xe(m)&&(m.value=null)),ne(c))Z0(c,o,12,[s,d]);else{const w=Ne(c),S=Xe(c);if(w||S){const T=()=>{if(t.f){const A=w?oe(g,c)?g[c]:d[c]:c.value;n?ee(A)&&Ya(A,i):ee(A)?A.includes(i)||A.push(i):w?(d[c]=[i],oe(g,c)&&(g[c]=d[c])):(c.value=[i],t.k&&(d[t.k]=c.value))}else w?(d[c]=s,oe(g,c)&&(g[c]=s)):S&&(c.value=s,t.k&&(d[t.k]=s))};s?(T.id=-1,Ge(T,r)):T()}}}const Ge=ro;function zo(t){return Co(t)}function Co(t,e){const r=is();r.__VUE__=!0;const{insert:a,remove:n,patchProp:i,createElement:s,createText:o,createComment:c,setText:m,setElementText:d,parentNode:g,nextSibling:w,setScopeId:S=a0,insertStaticContent:T}=t,A=(b,x,M,z=null,C=null,N=null,L=void 0,I=null,O=!!x.dynamicChildren)=>{if(b===x)return;b&&!Bt(b,x)&&(z=c0(b),we(b,C,N,!0),b=null),x.patchFlag===-2&&(O=!1,x.dynamicChildren=null);const{type:D,ref:$,shapeFlag:X}=x;switch(D){case $r:F(b,x,M,z);break;case dt:_(b,x,M,z);break;case xr:b==null&&U(x,M,z,L);break;case B0:be(b,x,M,z,C,N,L,I,O);break;default:X&1?J(b,x,M,z,C,N,L,I,O):X&6?e0(b,x,M,z,C,N,L,I,O):(X&64||X&128)&&D.process(b,x,M,z,C,N,L,I,O,b0)}$!=null&&C&&Ia($,b&&b.ref,N,x||b,!x)},F=(b,x,M,z)=>{if(b==null)a(x.el=o(x.children),M,z);else{const C=x.el=b.el;x.children!==b.children&&m(C,x.children)}},_=(b,x,M,z)=>{b==null?a(x.el=c(x.children||""),M,z):x.el=b.el},U=(b,x,M,z)=>{[b.el,b.anchor]=T(b.children,x,M,z,b.el,b.anchor)},P=({el:b,anchor:x},M,z)=>{let C;for(;b&&b!==x;)C=w(b),a(b,M,z),b=C;a(x,M,z)},Z=({el:b,anchor:x})=>{let M;for(;b&&b!==x;)M=w(b),n(b),b=M;n(x)},J=(b,x,M,z,C,N,L,I,O)=>{x.type==="svg"?L="svg":x.type==="math"&&(L="mathml"),b==null?G(x,M,z,C,N,L,I,O):ce(b,x,C,N,L,I,O)},G=(b,x,M,z,C,N,L,I)=>{let O,D;const{props:$,shapeFlag:X,transition:j,dirs:te}=b;if(O=b.el=s(b.type,N,$&&$.is,$),X&8?d(O,b.children):X&16&&se(b.children,O,null,z,C,na(b,N),L,I),te&<(b,null,z,"created"),re(O,b,b.scopeId,L,z),$){for(const ve in $)ve!=="value"&&!It(ve)&&i(O,ve,null,$[ve],N,b.children,z,C,t0);"value"in $&&i(O,"value",null,$.value,N),(D=$.onVnodeBeforeMount)&&x0(D,z,b)}te&<(b,null,z,"beforeMount");const ie=qo(C,j);ie&&j.beforeEnter(O),a(O,x,M),((D=$&&$.onVnodeMounted)||ie||te)&&Ge(()=>{D&&x0(D,z,b),ie&&j.enter(O),te&<(b,null,z,"mounted")},C)},re=(b,x,M,z,C)=>{if(M&&S(b,M),z)for(let N=0;N{for(let D=O;D{const I=x.el=b.el;let{patchFlag:O,dynamicChildren:D,dirs:$}=x;O|=b.patchFlag&16;const X=b.props||ge,j=x.props||ge;let te;if(M&&ot(M,!1),(te=j.onVnodeBeforeUpdate)&&x0(te,M,x,b),$&<(x,b,M,"beforeUpdate"),M&&ot(M,!0),D?Ie(b.dynamicChildren,D,I,M,z,na(x,C),N):L||le(b,x,I,null,M,z,na(x,C),N,!1),O>0){if(O&16)ze(I,x,X,j,M,z,C);else if(O&2&&X.class!==j.class&&i(I,"class",null,j.class,C),O&4&&i(I,"style",X.style,j.style,C),O&8){const ie=x.dynamicProps;for(let ve=0;ve{te&&x0(te,M,x,b),$&<(x,b,M,"updated")},z)},Ie=(b,x,M,z,C,N,L)=>{for(let I=0;I{if(M!==z){if(M!==ge)for(const I in M)!It(I)&&!(I in z)&&i(b,I,M[I],null,L,x.children,C,N,t0);for(const I in z){if(It(I))continue;const O=z[I],D=M[I];O!==D&&I!=="value"&&i(b,I,D,O,L,x.children,C,N,t0)}"value"in z&&i(b,"value",M.value,z.value,L)}},be=(b,x,M,z,C,N,L,I,O)=>{const D=x.el=b?b.el:o(""),$=x.anchor=b?b.anchor:o("");let{patchFlag:X,dynamicChildren:j,slotScopeIds:te}=x;te&&(I=I?I.concat(te):te),b==null?(a(D,M,z),a($,M,z),se(x.children||[],M,$,C,N,L,I,O)):X>0&&X&64&&j&&b.dynamicChildren?(Ie(b.dynamicChildren,j,M,C,N,L,I),(x.key!=null||C&&x===C.subTree)&&Gs(b,x,!0)):le(b,x,M,$,C,N,L,I,O)},e0=(b,x,M,z,C,N,L,I,O)=>{x.slotScopeIds=I,b==null?x.shapeFlag&512?C.ctx.activate(x,M,z,L,O):Be(x,M,z,C,N,L,O):Ue(b,x,O)},Be=(b,x,M,z,C,N,L)=>{const I=b.component=Xo(b,z,C);if(Ys(b)&&(I.ctx.renderer=b0),Yo(I),I.asyncDep){if(C&&C.registerDep(I,ye,L),!b.el){const O=I.subTree=v0(dt);_(null,O,x,M)}}else ye(I,b,x,M,C,N,L)},Ue=(b,x,M)=>{const z=x.component=b.component;if(J1(b,x,M))if(z.asyncDep&&!z.asyncResolved){he(z,x,M);return}else z.next=x,G1(z.update),z.effect.dirty=!0,z.update();else x.el=b.el,z.vnode=x},ye=(b,x,M,z,C,N,L)=>{const I=()=>{if(b.isMounted){let{next:$,bu:X,u:j,parent:te,vnode:ie}=b;{const vt=js(b);if(vt){$&&($.el=ie.el,he(b,$,L)),vt.asyncDep.then(()=>{b.isUnmounted||I()});return}}let ve=$,me;ot(b,!1),$?($.el=ie.el,he(b,$,L)):$=ie,X&&vr(X),(me=$.props&&$.props.onVnodeBeforeUpdate)&&x0(me,te,$,ie),ot(b,!0);const Ee=ra(b),h0=b.subTree;b.subTree=Ee,A(h0,Ee,g(h0.el),c0(h0),b,C,N),$.el=Ee.el,ve===null&&Q1(b,Ee.el),j&&Ge(j,C),(me=$.props&&$.props.onVnodeUpdated)&&Ge(()=>x0(me,te,$,ie),C)}else{let $;const{el:X,props:j}=x,{bm:te,m:ie,parent:ve}=b,me=br(x);if(ot(b,!1),te&&vr(te),!me&&($=j&&j.onVnodeBeforeMount)&&x0($,ve,x),ot(b,!0),X&&Qt){const Ee=()=>{b.subTree=ra(b),Qt(X,b.subTree,b,C,null)};me?x.type.__asyncLoader().then(()=>!b.isUnmounted&&Ee()):Ee()}else{const Ee=b.subTree=ra(b);A(null,Ee,M,z,b,C,N),x.el=Ee.el}if(ie&&Ge(ie,C),!me&&($=j&&j.onVnodeMounted)){const Ee=x;Ge(()=>x0($,ve,Ee),C)}(x.shapeFlag&256||ve&&br(ve.vnode)&&ve.vnode.shapeFlag&256)&&b.a&&Ge(b.a,C),b.isMounted=!0,x=M=z=null}},O=b.effect=new Ja(I,a0,()=>on(D),b.scope),D=b.update=()=>{O.dirty&&O.run()};D.id=b.uid,ot(b,!0),D()},he=(b,x,M)=>{x.component=b;const z=b.vnode.props;b.vnode=x,b.next=null,ko(b,x.props,z,M),Ao(b,x.children,M),at(),$n(b),nt()},le=(b,x,M,z,C,N,L,I,O=!1)=>{const D=b&&b.children,$=b?b.shapeFlag:0,X=x.children,{patchFlag:j,shapeFlag:te}=x;if(j>0){if(j&128){Ke(D,X,M,z,C,N,L,I,O);return}else if(j&256){u0(D,X,M,z,C,N,L,I,O);return}}te&8?($&16&&t0(D,C,N),X!==D&&d(M,X)):$&16?te&16?Ke(D,X,M,z,C,N,L,I,O):t0(D,C,N,!0):($&8&&d(M,""),te&16&&se(X,M,z,C,N,L,I,O))},u0=(b,x,M,z,C,N,L,I,O)=>{b=b||yt,x=x||yt;const D=b.length,$=x.length,X=Math.min(D,$);let j;for(j=0;j$?t0(b,C,N,!0,!1,X):se(x,M,z,C,N,L,I,O,X)},Ke=(b,x,M,z,C,N,L,I,O)=>{let D=0;const $=x.length;let X=b.length-1,j=$-1;for(;D<=X&&D<=j;){const te=b[D],ie=x[D]=O?W0(x[D]):w0(x[D]);if(Bt(te,ie))A(te,ie,M,null,C,N,L,I,O);else break;D++}for(;D<=X&&D<=j;){const te=b[X],ie=x[j]=O?W0(x[j]):w0(x[j]);if(Bt(te,ie))A(te,ie,M,null,C,N,L,I,O);else break;X--,j--}if(D>X){if(D<=j){const te=j+1,ie=te<$?x[te].el:z;for(;D<=j;)A(null,x[D]=O?W0(x[D]):w0(x[D]),M,ie,C,N,L,I,O),D++}}else if(D>j)for(;D<=X;)we(b[D],C,N,!0),D++;else{const te=D,ie=D,ve=new Map;for(D=ie;D<=j;D++){const Ze=x[D]=O?W0(x[D]):w0(x[D]);Ze.key!=null&&ve.set(Ze.key,D)}let me,Ee=0;const h0=j-ie+1;let vt=!1,En=0;const Dt=new Array(h0);for(D=0;D=h0){we(Ze,C,N,!0);continue}let y0;if(Ze.key!=null)y0=ve.get(Ze.key);else for(me=ie;me<=j;me++)if(Dt[me-ie]===0&&Bt(Ze,x[me])){y0=me;break}y0===void 0?we(Ze,C,N,!0):(Dt[y0-ie]=D+1,y0>=En?En=y0:vt=!0,A(Ze,x[y0],M,null,C,N,L,I,O),Ee++)}const Nn=vt?Do(Dt):yt;for(me=Nn.length-1,D=h0-1;D>=0;D--){const Ze=ie+D,y0=x[Ze],In=Ze+1<$?x[Ze+1].el:z;Dt[D]===0?A(null,y0,M,In,C,N,L,I,O):vt&&(me<0||D!==Nn[me]?Re(y0,M,In,2):me--)}}},Re=(b,x,M,z,C=null)=>{const{el:N,type:L,transition:I,children:O,shapeFlag:D}=b;if(D&6){Re(b.component.subTree,x,M,z);return}if(D&128){b.suspense.move(x,M,z);return}if(D&64){L.move(b,x,M,b0);return}if(L===B0){a(N,x,M);for(let X=0;XI.enter(N),C);else{const{leave:X,delayLeave:j,afterLeave:te}=I,ie=()=>a(N,x,M),ve=()=>{X(N,()=>{ie(),te&&te()})};j?j(N,ie,ve):ve()}else a(N,x,M)},we=(b,x,M,z=!1,C=!1)=>{const{type:N,props:L,ref:I,children:O,dynamicChildren:D,shapeFlag:$,patchFlag:X,dirs:j,memoIndex:te}=b;if(X===-2&&(C=!1),I!=null&&Ia(I,null,M,b,!0),te!=null&&(x.renderCache[te]=void 0),$&256){x.ctx.deactivate(b);return}const ie=$&1&&j,ve=!br(b);let me;if(ve&&(me=L&&L.onVnodeBeforeUnmount)&&x0(me,x,b),$&6)V0(b.component,M,z);else{if($&128){b.suspense.unmount(M,z);return}ie&<(b,null,x,"beforeUnmount"),$&64?b.type.remove(b,x,M,b0,z):D&&(N!==B0||X>0&&X&64)?t0(D,x,M,!1,!0):(N===B0&&X&384||!C&&$&16)&&t0(O,x,M),z&&P0(b)}(ve&&(me=L&&L.onVnodeUnmounted)||ie)&&Ge(()=>{me&&x0(me,x,b),ie&<(b,null,x,"unmounted")},M)},P0=b=>{const{type:x,el:M,anchor:z,transition:C}=b;if(x===B0){qt(M,z);return}if(x===xr){Z(b);return}const N=()=>{n(M),C&&!C.persisted&&C.afterLeave&&C.afterLeave()};if(b.shapeFlag&1&&C&&!C.persisted){const{leave:L,delayLeave:I}=C,O=()=>L(M,N);I?I(b.el,N,O):O()}else N()},qt=(b,x)=>{let M;for(;b!==x;)M=w(b),n(b),b=M;n(x)},V0=(b,x,M)=>{const{bum:z,scope:C,update:N,subTree:L,um:I,m:O,a:D}=b;Qn(O),Qn(D),z&&vr(z),C.stop(),N&&(N.active=!1,we(L,b,x,M)),I&&Ge(I,x),Ge(()=>{b.isUnmounted=!0},x),x&&x.pendingBranch&&!x.isUnmounted&&b.asyncDep&&!b.asyncResolved&&b.suspenseId===x.pendingId&&(x.deps--,x.deps===0&&x.resolve())},t0=(b,x,M,z=!1,C=!1,N=0)=>{for(let L=N;Lb.shapeFlag&6?c0(b.component.subTree):b.shapeFlag&128?b.suspense.next():w(b.anchor||b.el);let g0=!1;const st=(b,x,M)=>{b==null?x._vnode&&we(x._vnode,null,null,!0):A(x._vnode||null,b,x,null,null,null,M),g0||(g0=!0,$n(),qs(),g0=!1),x._vnode=b},b0={p:A,um:we,m:Re,r:P0,mt:Be,mc:se,pc:le,pbc:Ie,n:c0,o:t};let Jt,Qt;return{render:st,hydrate:Jt,createApp:xo(st,Jt)}}function na({type:t,props:e},r){return r==="svg"&&t==="foreignObject"||r==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:r}function ot({effect:t,update:e},r){t.allowRecurse=e.allowRecurse=r}function qo(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Gs(t,e,r=!1){const a=t.children,n=e.children;if(ee(a)&&ee(n))for(let i=0;i>1,t[r[o]]0&&(e[a]=r[i-1]),r[i]=a)}}for(i=r.length,s=r[i-1];i-- >0;)r[i]=s,s=e[s];return r}function js(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:js(e)}function Qn(t){if(t)for(let e=0;eyr(Bo),ir={};function ia(t,e,r){return Ws(t,e,r)}function Ws(t,e,{immediate:r,deep:a,flush:n,once:i,onTrack:s,onTrigger:o}=ge){if(e&&i){const G=e;e=(...re)=>{G(...re),J()}}const c=Pe,m=G=>a===!0?G:X0(G,a===!1?1:void 0);let d,g=!1,w=!1;if(Xe(t)?(d=()=>t.value,g=Tr(t)):_t(t)?(d=()=>m(t),g=!0):ee(t)?(w=!0,g=t.some(G=>_t(G)||Tr(G)),d=()=>t.map(G=>{if(Xe(G))return G.value;if(_t(G))return m(G);if(ne(G))return Z0(G,c,2)})):ne(t)?e?d=()=>Z0(t,c,2):d=()=>(S&&S(),p0(t,c,3,[T])):d=a0,e&&a){const G=d;d=()=>X0(G())}let S,T=G=>{S=P.onStop=()=>{Z0(G,c,4),S=P.onStop=void 0}},A;if(Ur)if(T=a0,e?r&&p0(e,c,3,[d(),w?[]:void 0,T]):d(),n==="sync"){const G=Eo();A=G.__watcherHandles||(G.__watcherHandles=[])}else return a0;let F=w?new Array(t.length).fill(ir):ir;const _=()=>{if(!(!P.active||!P.dirty))if(e){const G=P.run();(a||g||(w?G.some((re,se)=>J0(re,F[se])):J0(G,F)))&&(S&&S(),p0(e,c,3,[G,F===ir?void 0:w&&F[0]===ir?[]:F,T]),F=G)}else P.run()};_.allowRecurse=!!e;let U;n==="sync"?U=_:n==="post"?U=()=>Ge(_,c&&c.suspense):(_.pre=!0,c&&(_.id=c.uid),U=()=>on(_));const P=new Ja(d,a0,U),Z=v1(),J=()=>{P.stop(),Z&&Ya(Z.effects,P)};return e?r?_():F=P.run():n==="post"?Ge(P.run.bind(P),c&&c.suspense):P.run(),A&&A.push(J),J}function No(t,e,r){const a=this.proxy,n=Ne(t)?t.includes(".")?Xs(a,t):()=>a[t]:t.bind(a,a);let i;ne(e)?i=e:(i=e.handler,r=e);const s=Xt(this),o=Ws(n,i.bind(a),r);return s(),o}function Xs(t,e){const r=e.split(".");return()=>{let a=t;for(let n=0;n{X0(a,e,r)});else if(rs(t)){for(const a in t)X0(t[a],e,r);for(const a of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,a)&&X0(t[a],e,r)}return t}const Ys=t=>t.type.__isKeepAlive;function Io(t,e){Ks(t,"a",e)}function _o(t,e){Ks(t,"da",e)}function Ks(t,e,r=Pe){const a=t.__wdc||(t.__wdc=()=>{let n=r;for(;n;){if(n.isDeactivated)return;n=n.parent}return t()});if(Vr(e,a,r),r){let n=r.parent;for(;n&&n.parent;)Ys(n.parent.vnode)&&Ro(a,e,r,n),n=n.parent}}function Ro(t,e,r,a){const n=Vr(e,t,a,!0);Is(()=>{Ya(a[e],n)},r)}function Zs(t,e){t.shapeFlag&6&&t.component?Zs(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}const Oo=t=>t.__isTeleport,B0=Symbol.for("v-fgt"),$r=Symbol.for("v-txt"),dt=Symbol.for("v-cmt"),xr=Symbol.for("v-stc"),Ft=[];let d0=null;function Cr(t=!1){Ft.push(d0=t?null:[])}function Fo(){Ft.pop(),d0=Ft[Ft.length-1]||null}let Gt=1;function ei(t){Gt+=t}function Js(t){return t.dynamicChildren=Gt>0?d0||yt:null,Fo(),Gt>0&&d0&&d0.push(t),t}function _a(t,e,r,a,n,i){return Js(Te(t,e,r,a,n,i,!0))}function Lo(t,e,r,a,n){return Js(v0(t,e,r,a,n,!0))}function Ho(t){return t?t.__v_isVNode===!0:!1}function Bt(t,e){return t.type===e.type&&t.key===e.key}const Qs=({key:t})=>t??null,wr=({ref:t,ref_key:e,ref_for:r})=>(typeof t=="number"&&(t=""+t),t!=null?Ne(t)||Xe(t)||ne(t)?{i:n0,r:t,k:e,f:!!r}:t:null);function Te(t,e=null,r=null,a=0,n=null,i=t===B0?0:1,s=!1,o=!1){const c={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Qs(e),ref:e&&wr(e),scopeId:Es,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:a,dynamicProps:n,dynamicChildren:null,appContext:null,ctx:n0};return o?(hn(c,r),i&128&&t.normalize(c)):r&&(c.shapeFlag|=Ne(r)?8:16),Gt>0&&!s&&d0&&(c.patchFlag>0||i&6)&&c.patchFlag!==32&&d0.push(c),c}const v0=Po;function Po(t,e=null,r=null,a=0,n=null,i=!1){if((!t||t===eo)&&(t=dt),Ho(t)){const o=Mt(t,e,!0);return r&&hn(o,r),Gt>0&&!i&&d0&&(o.shapeFlag&6?d0[d0.indexOf(t)]=o:d0.push(o)),o.patchFlag=-2,o}if(Qo(t)&&(t=t.__vccOpts),e){e=Vo(e);let{class:o,style:c}=e;o&&!Ne(o)&&(e.class=Fr(o)),Ae(c)&&(Ss(c)&&!ee(c)&&(c=_e({},c)),e.style=Za(c))}const s=Ne(t)?1:to(t)?128:Oo(t)?64:Ae(t)?4:ne(t)?2:0;return Te(t,e,r,a,n,s,i,!0)}function Vo(t){return t?Ss(t)||Ls(t)?_e({},t):t:null}function Mt(t,e,r=!1,a=!1){const{props:n,ref:i,patchFlag:s,children:o,transition:c}=t,m=e?Go(n||{},e):n,d={__v_isVNode:!0,__v_skip:!0,type:t.type,props:m,key:m&&Qs(m),ref:e&&e.ref?r&&i?ee(i)?i.concat(wr(e)):[i,wr(e)]:wr(e):i,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:o,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==B0?s===-1?16:s|16:s,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:c,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Mt(t.ssContent),ssFallback:t.ssFallback&&Mt(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return c&&a&&Zs(d,c.clone(d)),d}function el(t=" ",e=0){return v0($r,null,t,e)}function $o(t,e){const r=v0(xr,null,t);return r.staticCount=e,r}function Uo(t="",e=!1){return e?(Cr(),Lo(dt,null,t)):v0(dt,null,t)}function w0(t){return t==null||typeof t=="boolean"?v0(dt):ee(t)?v0(B0,null,t.slice()):typeof t=="object"?W0(t):v0($r,null,String(t))}function W0(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Mt(t)}function hn(t,e){let r=0;const{shapeFlag:a}=t;if(e==null)e=null;else if(ee(e))r=16;else if(typeof e=="object")if(a&65){const n=e.default;n&&(n._c&&(n._d=!1),hn(t,n()),n._c&&(n._d=!0));return}else{r=32;const n=e._;!n&&!Ls(e)?e._ctx=n0:n===3&&n0&&(n0.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else ne(e)?(e={default:e,_ctx:n0},r=32):(e=String(e),a&64?(r=16,e=[el(e)]):r=8);t.children=e,t.shapeFlag|=r}function Go(...t){const e={};for(let r=0;r{let n;return(n=t[r])||(n=t[r]=[]),n.push(a),i=>{n.length>1?n.forEach(s=>s(i)):n[0](i)}};qr=e("__VUE_INSTANCE_SETTERS__",r=>Pe=r),Ra=e("__VUE_SSR_SETTERS__",r=>Ur=r)}const Xt=t=>{const e=Pe;return qr(t),t.scope.on(),()=>{t.scope.off(),qr(e)}},ti=()=>{Pe&&Pe.scope.off(),qr(null)};function tl(t){return t.vnode.shapeFlag&4}let Ur=!1;function Yo(t,e=!1){e&&Ra(e);const{props:r,children:a}=t.vnode,n=tl(t);So(t,r,n,e),To(t,a);const i=n?Ko(t,e):void 0;return e&&Ra(!1),i}function Ko(t,e){const r=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,mo);const{setup:a}=r;if(a){const n=t.setupContext=a.length>1?Jo(t):null,i=Xt(t);at();const s=Z0(a,t,0,[t.props,n]);if(nt(),i(),es(s)){if(s.then(ti,ti),e)return s.then(o=>{ri(t,o,e)}).catch(o=>{Hr(o,t,0)});t.asyncDep=s}else ri(t,s,e)}else rl(t,e)}function ri(t,e,r){ne(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Ae(e)&&(t.setupState=As(e)),rl(t,r)}let ai;function rl(t,e,r){const a=t.type;if(!t.render){if(!e&&ai&&!a.render){const n=a.template||un(t).template;if(n){const{isCustomElement:i,compilerOptions:s}=t.appContext.config,{delimiters:o,compilerOptions:c}=a,m=_e(_e({isCustomElement:i,delimiters:o},s),c);a.render=ai(n,m)}}t.render=a.render||a0}{const n=Xt(t);at();try{fo(t)}finally{nt(),n()}}}const Zo={get(t,e){return We(t,"get",""),t[e]}};function Jo(t){const e=r=>{t.exposed=r||{}};return{attrs:new Proxy(t.attrs,Zo),slots:t.slots,emit:t.emit,expose:e}}function Gr(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(As(O1(t.exposed)),{get(e,r){if(r in e)return e[r];if(r in Rt)return Rt[r](t)},has(e,r){return r in e||r in Rt}})):t.proxy}function Qo(t){return ne(t)&&"__vccOpts"in t}const Oa=(t,e)=>F1(t,e,Ur),eu="3.4.31";/** * @vue/runtime-dom v3.4.31 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/const ru="http://www.w3.org/2000/svg",au="http://www.w3.org/1998/Math/MathML",B0=typeof document<"u"?document:null,ni=B0&&B0.createElement("template"),nu={insert:(t,e,r)=>{e.insertBefore(t,r||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,r,a)=>{const n=e==="svg"?B0.createElementNS(ru,t):e==="mathml"?B0.createElementNS(au,t):r?B0.createElement(t,{is:r}):B0.createElement(t);return t==="select"&&a&&a.multiple!=null&&n.setAttribute("multiple",a.multiple),n},createText:t=>B0.createTextNode(t),createComment:t=>B0.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>B0.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,r,a,n,i){const l=r?r.previousSibling:e.lastChild;if(n&&(n===i||n.nextSibling))for(;e.insertBefore(n.cloneNode(!0),r),!(n===i||!(n=n.nextSibling)););else{ni.innerHTML=a==="svg"?`${t}`:a==="mathml"?`${t}`:t;const u=ni.content;if(a==="svg"||a==="mathml"){const c=u.firstChild;for(;c.firstChild;)u.appendChild(c.firstChild);u.removeChild(c)}e.insertBefore(u,r)}return[l?l.nextSibling:e.firstChild,r?r.previousSibling:e.lastChild]}},iu=Symbol("_vtc");function su(t,e,r){const a=t[iu];a&&(e=(e?[e,...a]:[...a]).join(" ")),e==null?t.removeAttribute("class"):r?t.setAttribute("class",e):t.className=e}const ii=Symbol("_vod"),lu=Symbol("_vsh"),ou=Symbol(""),uu=/(^|;)\s*display\s*:/;function cu(t,e,r){const a=t.style,n=Ne(r);let i=!1;if(r&&!n){if(e)if(Ne(e))for(const l of e.split(";")){const u=l.slice(0,l.indexOf(":")).trim();r[u]==null&&Sr(a,u,"")}else for(const l in e)r[l]==null&&Sr(a,l,"");for(const l in r)l==="display"&&(i=!0),Sr(a,l,r[l])}else if(n){if(e!==r){const l=a[ou];l&&(r+=";"+l),a.cssText=r,i=uu.test(r)}}else e&&t.removeAttribute("style");ii in t&&(t[ii]=i?a.display:"",t[lu]&&(a.display="none"))}const si=/\s*!important$/;function Sr(t,e,r){if(ee(r))r.forEach(a=>Sr(t,e,a));else if(r==null&&(r=""),e.startsWith("--"))t.setProperty(e,r);else{const a=hu(t,e);si.test(r)?t.setProperty(At(a),r.replace(si,""),"important"):t[a]=r}}const li=["Webkit","Moz","ms"],sa={};function hu(t,e){const r=sa[e];if(r)return r;let a=kt(e);if(a!=="filter"&&a in t)return sa[e]=a;a=as(a);for(let n=0;nla||(vu.then(()=>la=0),la=Date.now());function bu(t,e){const r=a=>{if(!a._vts)a._vts=Date.now();else if(a._vts<=r.attached)return;p0(yu(a,r.value),e,5,[a])};return r.value=t,r.attached=gu(),r}function yu(t,e){if(ee(e)){const r=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{r.call(t),t._stopped=!0},e.map(a=>n=>!n._stopped&&a&&a(n))}else return e}const mi=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,xu=(t,e,r,a,n,i,l,u,c)=>{const m=n==="svg";e==="class"?su(t,a,m):e==="style"?cu(t,r,a):Rr(e)?Xa(e)||du(t,e,r,a,l):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):wu(t,e,a,m))?(mu(t,e,a,i,l,u,c),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&ui(t,e,a,m,l,e!=="value")):(e==="true-value"?t._trueValue=a:e==="false-value"&&(t._falseValue=a),ui(t,e,a,m))};function wu(t,e,r,a){if(a)return!!(e==="innerHTML"||e==="textContent"||e in t&&mi(e)&&ne(r));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const n=t.tagName;if(n==="IMG"||n==="VIDEO"||n==="CANVAS"||n==="SOURCE")return!1}return mi(e)&&Ne(r)?!1:e in t}const fi=t=>{const e=t.props["onUpdate:modelValue"]||!1;return ee(e)?r=>vr(e,r):e};function Su(t){t.target.composing=!0}function di(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const oa=Symbol("_assign"),ku={created(t,{modifiers:{lazy:e,trim:r,number:a}},n){t[oa]=fi(n);const i=a||n.props&&n.props.type==="number";bt(t,e?"change":"input",l=>{if(l.target.composing)return;let u=t.value;r&&(u=u.trim()),i&&(u=Ma(u)),t[oa](u)}),r&&bt(t,"change",()=>{t.value=t.value.trim()}),e||(bt(t,"compositionstart",Su),bt(t,"compositionend",di),bt(t,"change",di))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:r,modifiers:{lazy:a,trim:n,number:i}},l){if(t[oa]=fi(l),t.composing)return;const u=(i||t.type==="number")&&!/^0\d/.test(t.value)?Ma(t.value):t.value,c=e??"";u!==c&&(document.activeElement===t&&t.type!=="range"&&(a&&e===r||n&&t.value.trim()===c)||(t.value=c))}},Mu=Re({patchProp:xu},nu);let pi;function Tu(){return pi||(pi=Co(Mu))}const Au=(...t)=>{const e=Tu().createApp(...t),{mount:r}=e;return e.mount=a=>{const n=Cu(a);if(!n)return;const i=e._component;!ne(i)&&!i.render&&!i.template&&(i.template=n.innerHTML),n.innerHTML="";const l=r(n,!1,zu(n));return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),l},e};function zu(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function Cu(t){return Ne(t)?document.querySelector(t):t}const qu="data:image/svg+xml,%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20width='80'%20height='80'%20viewBox='0%200%20380.832%20380.832'%3e%3cg%3e%3cg%3e%3cpath%20d='M320.159,30.864h-47.243V12.5c0-6.904-5.597-12.5-12.5-12.5s-12.5,5.596-12.5,12.5v18.364h-45V12.5%20c0-6.904-5.597-12.5-12.5-12.5c-6.903,0-12.5,5.596-12.5,12.5v18.364h-45V12.5c0-6.904-5.597-12.5-12.5-12.5%20s-12.5,5.596-12.5,12.5v18.364H60.673c-6.903,0-12.5,5.597-12.5,12.5v324.968c0,6.903,5.597,12.5,12.5,12.5h259.486%20c6.903,0,12.5-5.597,12.5-12.5V43.364C332.659,36.461,327.062,30.864,320.159,30.864z%20M307.659,355.832H73.173V55.864h34.743%20v14.59c0,6.904,5.597,12.5,12.5,12.5s12.5-5.596,12.5-12.5v-14.59h45v14.59c0,6.904,5.597,12.5,12.5,12.5%20c6.903,0,12.5-5.596,12.5-12.5v-14.59h45v14.59c0,6.904,5.597,12.5,12.5,12.5s12.5-5.596,12.5-12.5v-14.59h34.743V355.832z'%20fill='%23fff'/%3e%3cpath%20d='M264.416,139.758h-148c-6.903,0-12.5,5.597-12.5,12.5c0,6.903,5.597,12.5,12.5,12.5h148c6.903,0,12.5-5.597,12.5-12.5%20C276.916,145.355,271.319,139.758,264.416,139.758z'%20fill='%23fff'/%3e%3cpath%20d='M264.416,209.758h-148c-6.903,0-12.5,5.598-12.5,12.5c0,6.903,5.597,12.5,12.5,12.5h148c6.903,0,12.5-5.597,12.5-12.5%20C276.916,215.355,271.319,209.758,264.416,209.758z'%20fill='%23fff'/%3e%3cpath%20d='M264.416,279.758h-148c-6.903,0-12.5,5.598-12.5,12.5c0,6.903,5.597,12.5,12.5,12.5h148c6.903,0,12.5-5.597,12.5-12.5%20C276.916,285.355,271.319,279.758,264.416,279.758z'%20fill='%23fff'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",Bu="data:image/svg+xml,%3csvg%20width='98'%20height='96'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M48.854%200C21.839%200%200%2022%200%2049.217c0%2021.756%2013.993%2040.172%2033.405%2046.69%202.427.49%203.316-1.059%203.316-2.362%200-1.141-.08-5.052-.08-9.127-13.59%202.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015%204.934.326%207.523%205.052%207.523%205.052%204.367%207.496%2011.404%205.378%2014.235%204.074.404-3.178%201.699-5.378%203.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283%200-5.378%201.94-9.778%205.014-13.2-.485-1.222-2.184-6.275.486-13.038%200%200%204.125-1.304%2013.426%205.052a46.97%2046.97%200%200%201%2012.214-1.63c4.125%200%208.33.571%2012.213%201.63%209.302-6.356%2013.427-5.052%2013.427-5.052%202.67%206.763.97%2011.816.485%2013.038%203.155%203.422%205.015%207.822%205.015%2013.2%200%2018.905-11.404%2023.06-22.324%2024.283%201.78%201.548%203.316%204.481%203.316%209.126%200%206.6-.08%2011.897-.08%2013.526%200%201.304.89%202.853%203.316%202.364%2019.412-6.52%2033.405-24.935%2033.405-46.691C97.707%2022%2075.788%200%2048.854%200z'%20fill='%23fff'/%3e%3c/svg%3e";class Je{constructor(e,r,a){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=r,this.end=a}static range(e,r){return r?!e||!e.loc||!r.loc||e.loc.lexer!==r.loc.lexer?null:new Je(e.loc.lexer,e.loc.start,r.loc.end):e&&e.loc}}class s0{constructor(e,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=r}range(e,r){return new s0(r,Je.range(this,e))}}class E{constructor(e,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var a="KaTeX parse error: "+e,n,i,l=r&&r.loc;if(l&&l.start<=l.end){var u=l.lexer.input;n=l.start,i=l.end,n===u.length?a+=" at end of input: ":a+=" at position "+(n+1)+": ";var c=u.slice(n,i).replace(/[^]/g,"$&̲"),m;n>15?m="…"+u.slice(n-15,n):m=u.slice(0,n);var d;i+15":">","<":"<",'"':""","'":"'"},Ou=/[&><"']/g;function _u(t){return String(t).replace(Ou,e=>Ru[e])}var al=function t(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?t(e.body[0]):e:e.type==="font"?t(e.body):e},Fu=function(e){var r=al(e);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},Lu=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},Hu=function(e){var r=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return r?r[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(r[1])?null:r[1].toLowerCase():"_relative"},W={contains:Du,deflt:Eu,escape:_u,hyphenate:Iu,getBaseElem:al,isCharacterBox:Fu,protocolFromUrl:Hu},kr={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 "},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 ",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:t=>"#"+t},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(t,e)=>(e.push(t),e)},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:t=>Math.max(0,t),cli:"--min-rule-thickness ",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:t=>Math.max(0,t),cli:"-s, --max-size ",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:t=>Math.max(0,t),cli:"-e, --max-expand ",cliProcessor:t=>t==="Infinity"?1/0:parseInt(t)},globalGroup:{type:"boolean",cli:!1}};function Pu(t){if(t.default)return t.default;var e=t.type,r=Array.isArray(e)?e[0]:e;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 mn{constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{};for(var r in kr)if(kr.hasOwnProperty(r)){var a=kr[r];this[r]=e[r]!==void 0?a.processor?a.processor(e[r]):e[r]:Pu(a)}}reportNonstrict(e,r,a){var n=this.strict;if(typeof n=="function"&&(n=n(e,r,a)),!(!n||n==="ignore")){if(n===!0||n==="error")throw new E("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+e+"]"),a);n==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+n+"': "+r+" ["+e+"]"))}}useStrictBehavior(e,r,a){var n=this.strict;if(typeof n=="function")try{n=n(e,r,a)}catch{n="error"}return!n||n==="ignore"?!1:n===!0||n==="error"?!0:n==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+n+"': "+r+" ["+e+"]")),!1)}isTrusted(e){if(e.url&&!e.protocol){var r=W.protocolFromUrl(e.url);if(r==null)return!1;e.protocol=r}var a=typeof this.trust=="function"?this.trust(e):this.trust;return!!a}}class U0{constructor(e,r,a){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=r,this.cramped=a}sup(){return S0[Vu[this.id]]}sub(){return S0[$u[this.id]]}fracNum(){return S0[Uu[this.id]]}fracDen(){return S0[Gu[this.id]]}cramp(){return S0[ju[this.id]]}text(){return S0[Wu[this.id]]}isTight(){return this.size>=2}}var fn=0,Br=1,St=2,I0=3,jt=4,i0=5,Tt=6,Ve=7,S0=[new U0(fn,0,!1),new U0(Br,0,!0),new U0(St,1,!1),new U0(I0,1,!0),new U0(jt,2,!1),new U0(i0,2,!0),new U0(Tt,3,!1),new U0(Ve,3,!0)],Vu=[jt,i0,jt,i0,Tt,Ve,Tt,Ve],$u=[i0,i0,i0,i0,Ve,Ve,Ve,Ve],Uu=[St,I0,jt,i0,Tt,Ve,Tt,Ve],Gu=[I0,I0,i0,i0,Ve,Ve,Ve,Ve],ju=[Br,Br,I0,I0,i0,i0,Ve,Ve],Wu=[fn,Br,St,I0,St,I0,St,I0],K={DISPLAY:S0[fn],TEXT:S0[St],SCRIPT:S0[jt],SCRIPTSCRIPT:S0[Tt]},Fa=[{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 Xu(t){for(var e=0;e=n[0]&&t<=n[1])return r.name}return null}var Mr=[];Fa.forEach(t=>t.blocks.forEach(e=>Mr.push(...e)));function nl(t){for(var e=0;e=Mr[e]&&t<=Mr[e+1])return!0;return!1}var gt=80,Yu=function(e,r){return"M95,"+(622+e+r)+` +**/const tu="http://www.w3.org/2000/svg",ru="http://www.w3.org/1998/Math/MathML",D0=typeof document<"u"?document:null,ni=D0&&D0.createElement("template"),au={insert:(t,e,r)=>{e.insertBefore(t,r||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,r,a)=>{const n=e==="svg"?D0.createElementNS(tu,t):e==="mathml"?D0.createElementNS(ru,t):r?D0.createElement(t,{is:r}):D0.createElement(t);return t==="select"&&a&&a.multiple!=null&&n.setAttribute("multiple",a.multiple),n},createText:t=>D0.createTextNode(t),createComment:t=>D0.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>D0.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,r,a,n,i){const s=r?r.previousSibling:e.lastChild;if(n&&(n===i||n.nextSibling))for(;e.insertBefore(n.cloneNode(!0),r),!(n===i||!(n=n.nextSibling)););else{ni.innerHTML=a==="svg"?`${t}`:a==="mathml"?`${t}`:t;const o=ni.content;if(a==="svg"||a==="mathml"){const c=o.firstChild;for(;c.firstChild;)o.appendChild(c.firstChild);o.removeChild(c)}e.insertBefore(o,r)}return[s?s.nextSibling:e.firstChild,r?r.previousSibling:e.lastChild]}},nu=Symbol("_vtc");function iu(t,e,r){const a=t[nu];a&&(e=(e?[e,...a]:[...a]).join(" ")),e==null?t.removeAttribute("class"):r?t.setAttribute("class",e):t.className=e}const ii=Symbol("_vod"),su=Symbol("_vsh"),lu=Symbol(""),ou=/(^|;)\s*display\s*:/;function uu(t,e,r){const a=t.style,n=Ne(r);let i=!1;if(r&&!n){if(e)if(Ne(e))for(const s of e.split(";")){const o=s.slice(0,s.indexOf(":")).trim();r[o]==null&&Sr(a,o,"")}else for(const s in e)r[s]==null&&Sr(a,s,"");for(const s in r)s==="display"&&(i=!0),Sr(a,s,r[s])}else if(n){if(e!==r){const s=a[lu];s&&(r+=";"+s),a.cssText=r,i=ou.test(r)}}else e&&t.removeAttribute("style");ii in t&&(t[ii]=i?a.display:"",t[su]&&(a.display="none"))}const si=/\s*!important$/;function Sr(t,e,r){if(ee(r))r.forEach(a=>Sr(t,e,a));else if(r==null&&(r=""),e.startsWith("--"))t.setProperty(e,r);else{const a=cu(t,e);si.test(r)?t.setProperty(At(a),r.replace(si,""),"important"):t[a]=r}}const li=["Webkit","Moz","ms"],sa={};function cu(t,e){const r=sa[e];if(r)return r;let a=kt(e);if(a!=="filter"&&a in t)return sa[e]=a;a=as(a);for(let n=0;nla||(pu.then(()=>la=0),la=Date.now());function gu(t,e){const r=a=>{if(!a._vts)a._vts=Date.now();else if(a._vts<=r.attached)return;p0(bu(a,r.value),e,5,[a])};return r.value=t,r.attached=vu(),r}function bu(t,e){if(ee(e)){const r=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{r.call(t),t._stopped=!0},e.map(a=>n=>!n._stopped&&a&&a(n))}else return e}const mi=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,yu=(t,e,r,a,n,i,s,o,c)=>{const m=n==="svg";e==="class"?iu(t,a,m):e==="style"?uu(t,r,a):_r(e)?Xa(e)||fu(t,e,r,a,s):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):xu(t,e,a,m))?(hu(t,e,a,i,s,o,c),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&ui(t,e,a,m,s,e!=="value")):(e==="true-value"?t._trueValue=a:e==="false-value"&&(t._falseValue=a),ui(t,e,a,m))};function xu(t,e,r,a){if(a)return!!(e==="innerHTML"||e==="textContent"||e in t&&mi(e)&&ne(r));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const n=t.tagName;if(n==="IMG"||n==="VIDEO"||n==="CANVAS"||n==="SOURCE")return!1}return mi(e)&&Ne(r)?!1:e in t}const fi=t=>{const e=t.props["onUpdate:modelValue"]||!1;return ee(e)?r=>vr(e,r):e};function wu(t){t.target.composing=!0}function di(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const oa=Symbol("_assign"),Su={created(t,{modifiers:{lazy:e,trim:r,number:a}},n){t[oa]=fi(n);const i=a||n.props&&n.props.type==="number";bt(t,e?"change":"input",s=>{if(s.target.composing)return;let o=t.value;r&&(o=o.trim()),i&&(o=Ma(o)),t[oa](o)}),r&&bt(t,"change",()=>{t.value=t.value.trim()}),e||(bt(t,"compositionstart",wu),bt(t,"compositionend",di),bt(t,"change",di))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:r,modifiers:{lazy:a,trim:n,number:i}},s){if(t[oa]=fi(s),t.composing)return;const o=(i||t.type==="number")&&!/^0\d/.test(t.value)?Ma(t.value):t.value,c=e??"";o!==c&&(document.activeElement===t&&t.type!=="range"&&(a&&e===r||n&&t.value.trim()===c)||(t.value=c))}},ku=_e({patchProp:yu},au);let pi;function Mu(){return pi||(pi=zo(ku))}const Tu=(...t)=>{const e=Mu().createApp(...t),{mount:r}=e;return e.mount=a=>{const n=zu(a);if(!n)return;const i=e._component;!ne(i)&&!i.render&&!i.template&&(i.template=n.innerHTML),n.innerHTML="";const s=r(n,!1,Au(n));return n instanceof Element&&(n.removeAttribute("v-cloak"),n.setAttribute("data-v-app","")),s},e};function Au(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function zu(t){return Ne(t)?document.querySelector(t):t}const Cu="data:image/svg+xml,%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20width='80'%20height='80'%20viewBox='0%200%20380.832%20380.832'%3e%3cg%3e%3cg%3e%3cpath%20d='M320.159,30.864h-47.243V12.5c0-6.904-5.597-12.5-12.5-12.5s-12.5,5.596-12.5,12.5v18.364h-45V12.5%20c0-6.904-5.597-12.5-12.5-12.5c-6.903,0-12.5,5.596-12.5,12.5v18.364h-45V12.5c0-6.904-5.597-12.5-12.5-12.5%20s-12.5,5.596-12.5,12.5v18.364H60.673c-6.903,0-12.5,5.597-12.5,12.5v324.968c0,6.903,5.597,12.5,12.5,12.5h259.486%20c6.903,0,12.5-5.597,12.5-12.5V43.364C332.659,36.461,327.062,30.864,320.159,30.864z%20M307.659,355.832H73.173V55.864h34.743%20v14.59c0,6.904,5.597,12.5,12.5,12.5s12.5-5.596,12.5-12.5v-14.59h45v14.59c0,6.904,5.597,12.5,12.5,12.5%20c6.903,0,12.5-5.596,12.5-12.5v-14.59h45v14.59c0,6.904,5.597,12.5,12.5,12.5s12.5-5.596,12.5-12.5v-14.59h34.743V355.832z'%20fill='%23fff'/%3e%3cpath%20d='M264.416,139.758h-148c-6.903,0-12.5,5.597-12.5,12.5c0,6.903,5.597,12.5,12.5,12.5h148c6.903,0,12.5-5.597,12.5-12.5%20C276.916,145.355,271.319,139.758,264.416,139.758z'%20fill='%23fff'/%3e%3cpath%20d='M264.416,209.758h-148c-6.903,0-12.5,5.598-12.5,12.5c0,6.903,5.597,12.5,12.5,12.5h148c6.903,0,12.5-5.597,12.5-12.5%20C276.916,215.355,271.319,209.758,264.416,209.758z'%20fill='%23fff'/%3e%3cpath%20d='M264.416,279.758h-148c-6.903,0-12.5,5.598-12.5,12.5c0,6.903,5.597,12.5,12.5,12.5h148c6.903,0,12.5-5.597,12.5-12.5%20C276.916,285.355,271.319,279.758,264.416,279.758z'%20fill='%23fff'/%3e%3c/g%3e%3c/g%3e%3c/svg%3e",qu="data:image/svg+xml,%3csvg%20width='98'%20height='96'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M48.854%200C21.839%200%200%2022%200%2049.217c0%2021.756%2013.993%2040.172%2033.405%2046.69%202.427.49%203.316-1.059%203.316-2.362%200-1.141-.08-5.052-.08-9.127-13.59%202.934-16.42-5.867-16.42-5.867-2.184-5.704-5.42-7.17-5.42-7.17-4.448-3.015.324-3.015.324-3.015%204.934.326%207.523%205.052%207.523%205.052%204.367%207.496%2011.404%205.378%2014.235%204.074.404-3.178%201.699-5.378%203.074-6.6-10.839-1.141-22.243-5.378-22.243-24.283%200-5.378%201.94-9.778%205.014-13.2-.485-1.222-2.184-6.275.486-13.038%200%200%204.125-1.304%2013.426%205.052a46.97%2046.97%200%200%201%2012.214-1.63c4.125%200%208.33.571%2012.213%201.63%209.302-6.356%2013.427-5.052%2013.427-5.052%202.67%206.763.97%2011.816.485%2013.038%203.155%203.422%205.015%207.822%205.015%2013.2%200%2018.905-11.404%2023.06-22.324%2024.283%201.78%201.548%203.316%204.481%203.316%209.126%200%206.6-.08%2011.897-.08%2013.526%200%201.304.89%202.853%203.316%202.364%2019.412-6.52%2033.405-24.935%2033.405-46.691C97.707%2022%2075.788%200%2048.854%200z'%20fill='%23fff'/%3e%3c/svg%3e";class Je{constructor(e,r,a){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=r,this.end=a}static range(e,r){return r?!e||!e.loc||!r.loc||e.loc.lexer!==r.loc.lexer?null:new Je(e.loc.lexer,e.loc.start,r.loc.end):e&&e.loc}}class s0{constructor(e,r){this.text=void 0,this.loc=void 0,this.noexpand=void 0,this.treatAsRelax=void 0,this.text=e,this.loc=r}range(e,r){return new s0(r,Je.range(this,e))}}class E{constructor(e,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var a="KaTeX parse error: "+e,n,i,s=r&&r.loc;if(s&&s.start<=s.end){var o=s.lexer.input;n=s.start,i=s.end,n===o.length?a+=" at end of input: ":a+=" at position "+(n+1)+": ";var c=o.slice(n,i).replace(/[^]/g,"$&̲"),m;n>15?m="…"+o.slice(n-15,n):m=o.slice(0,n);var d;i+15":">","<":"<",'"':""","'":"'"},_u=/[&><"']/g;function Ru(t){return String(t).replace(_u,e=>Iu[e])}var al=function t(e){return e.type==="ordgroup"||e.type==="color"?e.body.length===1?t(e.body[0]):e:e.type==="font"?t(e.body):e},Ou=function(e){var r=al(e);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},Fu=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},Lu=function(e){var r=/^[\x00-\x20]*([^\\/#?]*?)(:|�*58|�*3a|&colon)/i.exec(e);return r?r[2]!==":"||!/^[a-zA-Z][a-zA-Z0-9+\-.]*$/.test(r[1])?null:r[1].toLowerCase():"_relative"},W={contains:Du,deflt:Bu,escape:Ru,hyphenate:Nu,getBaseElem:al,isCharacterBox:Ou,protocolFromUrl:Lu},kr={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 "},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 ",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:t=>"#"+t},macros:{type:"object",cli:"-m, --macro ",cliDescription:"Define custom macro of the form '\\foo:expansion' (use multiple -m arguments for multiple macros).",cliDefault:[],cliProcessor:(t,e)=>(e.push(t),e)},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:t=>Math.max(0,t),cli:"--min-rule-thickness ",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:t=>Math.max(0,t),cli:"-s, --max-size ",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:t=>Math.max(0,t),cli:"-e, --max-expand ",cliProcessor:t=>t==="Infinity"?1/0:parseInt(t)},globalGroup:{type:"boolean",cli:!1}};function Hu(t){if(t.default)return t.default;var e=t.type,r=Array.isArray(e)?e[0]:e;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 mn{constructor(e){this.displayMode=void 0,this.output=void 0,this.leqno=void 0,this.fleqn=void 0,this.throwOnError=void 0,this.errorColor=void 0,this.macros=void 0,this.minRuleThickness=void 0,this.colorIsTextColor=void 0,this.strict=void 0,this.trust=void 0,this.maxSize=void 0,this.maxExpand=void 0,this.globalGroup=void 0,e=e||{};for(var r in kr)if(kr.hasOwnProperty(r)){var a=kr[r];this[r]=e[r]!==void 0?a.processor?a.processor(e[r]):e[r]:Hu(a)}}reportNonstrict(e,r,a){var n=this.strict;if(typeof n=="function"&&(n=n(e,r,a)),!(!n||n==="ignore")){if(n===!0||n==="error")throw new E("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+e+"]"),a);n==="warn"?typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")):typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+n+"': "+r+" ["+e+"]"))}}useStrictBehavior(e,r,a){var n=this.strict;if(typeof n=="function")try{n=n(e,r,a)}catch{n="error"}return!n||n==="ignore"?!1:n===!0||n==="error"?!0:n==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+n+"': "+r+" ["+e+"]")),!1)}isTrusted(e){if(e.url&&!e.protocol){var r=W.protocolFromUrl(e.url);if(r==null)return!1;e.protocol=r}var a=typeof this.trust=="function"?this.trust(e):this.trust;return!!a}}class U0{constructor(e,r,a){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=r,this.cramped=a}sup(){return S0[Pu[this.id]]}sub(){return S0[Vu[this.id]]}fracNum(){return S0[$u[this.id]]}fracDen(){return S0[Uu[this.id]]}cramp(){return S0[Gu[this.id]]}text(){return S0[ju[this.id]]}isTight(){return this.size>=2}}var fn=0,Dr=1,St=2,I0=3,jt=4,i0=5,Tt=6,Ve=7,S0=[new U0(fn,0,!1),new U0(Dr,0,!0),new U0(St,1,!1),new U0(I0,1,!0),new U0(jt,2,!1),new U0(i0,2,!0),new U0(Tt,3,!1),new U0(Ve,3,!0)],Pu=[jt,i0,jt,i0,Tt,Ve,Tt,Ve],Vu=[i0,i0,i0,i0,Ve,Ve,Ve,Ve],$u=[St,I0,jt,i0,Tt,Ve,Tt,Ve],Uu=[I0,I0,i0,i0,Ve,Ve,Ve,Ve],Gu=[Dr,Dr,I0,I0,i0,i0,Ve,Ve],ju=[fn,Dr,St,I0,St,I0,St,I0],K={DISPLAY:S0[fn],TEXT:S0[St],SCRIPT:S0[jt],SCRIPTSCRIPT:S0[Tt]},Fa=[{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 Wu(t){for(var e=0;e=n[0]&&t<=n[1])return r.name}return null}var Mr=[];Fa.forEach(t=>t.blocks.forEach(e=>Mr.push(...e)));function nl(t){for(var e=0;e=Mr[e]&&t<=Mr[e+1])return!0;return!1}var gt=80,Xu=function(e,r){return"M95,"+(622+e+r)+` c-2.7,0,-7.17,-2.7,-13.5,-8c-5.8,-5.3,-9.5,-10,-9.5,-14 c0,-2,0.3,-3.3,1,-4c1.3,-2.7,23.83,-20.7,67.5,-54 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 @@ -25,7 +25,7 @@ c5.3,-9.3,12,-14,20,-14 H400000v`+(40+e)+`H845.2724 s-225.272,467,-225.272,467s-235,486,-235,486c-2.7,4.7,-9,7,-19,7 c-6,0,-10,-1,-12,-3s-194,-422,-194,-422s-65,47,-65,47z -M`+(834+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},Ku=function(e,r){return"M263,"+(601+e+r)+`c0.7,0,18,39.7,52,119 +M`+(834+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},Yu=function(e,r){return"M263,"+(601+e+r)+`c0.7,0,18,39.7,52,119 c34,79.3,68.167,158.7,102.5,238c34.3,79.3,51.8,119.3,52.5,120 c340,-704.7,510.7,-1060.3,512,-1067 l`+e/2.084+" -"+e+` @@ -35,7 +35,7 @@ s-271.3,567,-271.3,567c-38.7,80.7,-84,175,-136,283c-52,108,-89.167,185.3,-111.5, 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 s-109,-253,-109,-253c-72.7,-168,-109.3,-252,-110,-252c-10.7,8,-22,16.7,-34,26 c-22,17.3,-33.3,26,-34,26s-26,-26,-26,-26s76,-59,76,-59s76,-60,76,-60z -M`+(1001+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},Zu=function(e,r){return"M983 "+(10+e+r)+` +M`+(1001+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},Ku=function(e,r){return"M983 "+(10+e+r)+` l`+e/3.13+" -"+e+` c4,-6.7,10,-10,18,-10 H400000v`+(40+e)+` 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 @@ -44,7 +44,7 @@ c-10,12,-21,25,-33,39s-32,39,-32,39c-6,-5.3,-15,-14,-27,-26s25,-30,25,-30 c26.7,-32.7,52,-63,76,-91s52,-60,52,-60s208,722,208,722 c56,-175.3,126.3,-397.3,211,-666c84.7,-268.7,153.8,-488.2,207.5,-658.5 c53.7,-170.3,84.5,-266.8,92.5,-289.5z -M`+(1001+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},Ju=function(e,r){return"M424,"+(2398+e+r)+` +M`+(1001+e)+" "+r+"h400000v"+(40+e)+"h-400000z"},Zu=function(e,r){return"M424,"+(2398+e+r)+` c-1.3,-0.7,-38.5,-172,-111.5,-514c-73,-342,-109.8,-513.3,-110.5,-514 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 s-5,7,-5,7c-4,-3.3,-8.3,-7.7,-13,-13s-13,-13,-13,-13s76,-122,76,-122s77,-121,77,-121 @@ -54,18 +54,18 @@ v`+(40+e)+`H1014.6 s-87.3,378.7,-272.6,1166c-185.3,787.3,-279.3,1182.3,-282,1185 c-2,6,-10,9,-24,9 c-8,0,-12,-0.7,-12,-2z M`+(1001+e)+" "+r+` -h400000v`+(40+e)+"h-400000z"},Qu=function(e,r){return"M473,"+(2713+e+r)+` +h400000v`+(40+e)+"h-400000z"},Ju=function(e,r){return"M473,"+(2713+e+r)+` c339.3,-1799.3,509.3,-2700,510,-2702 l`+e/5.298+" -"+e+` c3.3,-7.3,9.3,-11,18,-11 H400000v`+(40+e)+`H1017.7 s-90.5,478,-276.2,1466c-185.7,988,-279.5,1483,-281.5,1485c-2,6,-10,9,-24,9 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 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 s76,-153,76,-153s77,-151,77,-151c0.7,0.7,35.7,202,105,604c67.3,400.7,102,602.7,104, -606zM`+(1001+e)+" "+r+"h400000v"+(40+e)+"H1017.7z"},e4=function(e){var r=e/2;return"M400000 "+e+" H0 L"+r+" 0 l65 45 L145 "+(e-80)+" H400000z"},t4=function(e,r,a){var n=a-54-r-e;return"M702 "+(e+r)+"H400000"+(40+e)+` +606zM`+(1001+e)+" "+r+"h400000v"+(40+e)+"H1017.7z"},Qu=function(e){var r=e/2;return"M400000 "+e+" H0 L"+r+" 0 l65 45 L145 "+(e-80)+" H400000z"},e4=function(e,r,a){var n=a-54-r-e;return"M702 "+(e+r)+"H400000"+(40+e)+` H742v`+n+`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 h-12l-28-84c-16.667-52-96.667 -294.333-240-727l-212 -643 -85 170 c-4-3.333-8.333-7.667-13 -13l-13-13l77-155 77-156c66 199.333 139 419.667 -219 661 l218 661zM702 `+r+"H400000v"+(40+e)+"H742z"},r4=function(e,r,a){r=1e3*r;var n="";switch(e){case"sqrtMain":n=Yu(r,gt);break;case"sqrtSize1":n=Ku(r,gt);break;case"sqrtSize2":n=Zu(r,gt);break;case"sqrtSize3":n=Ju(r,gt);break;case"sqrtSize4":n=Qu(r,gt);break;case"sqrtTall":n=t4(r,gt,a)}return n},a4=function(e,r){switch(e){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""}},vi={doubleleftarrow:`M262 157 +219 661 l218 661zM702 `+r+"H400000v"+(40+e)+"H742z"},t4=function(e,r,a){r=1e3*r;var n="";switch(e){case"sqrtMain":n=Xu(r,gt);break;case"sqrtSize1":n=Yu(r,gt);break;case"sqrtSize2":n=Ku(r,gt);break;case"sqrtSize3":n=Zu(r,gt);break;case"sqrtSize4":n=Ju(r,gt);break;case"sqrtTall":n=e4(r,gt,a)}return n},r4=function(e,r){switch(e){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""}},vi={doubleleftarrow:`M262 157 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 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 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 @@ -240,7 +240,7 @@ M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z` 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, -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 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 -M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},n4=function(e,r){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 h347 v-84 +M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},a4=function(e,r){switch(e){case"lbrack":return"M403 1759 V84 H666 V0 H319 V1759 v"+r+` v1759 h347 v-84 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 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 c10,0,16.667,-5,20,-15 v-585 v`+-r+` v-585 c-2.667,-10,-9.667,-15,-21,-15 @@ -268,14 +268,17 @@ 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 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 c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558 l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, --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 Yt{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return W.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),r=0;rr.toText();return this.children.map(e).join("")}}var M0={"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]}},sr={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]},gi={Å:"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 i4(t,e){M0[t]=e}function dn(t,e,r){if(!M0[e])throw new Error("Font metrics not found for font: "+e+".");var a=t.charCodeAt(0),n=M0[e][a];if(!n&&t[0]in gi&&(a=gi[t[0]].charCodeAt(0),n=M0[e][a]),!n&&r==="text"&&nl(a)&&(n=M0[e][77]),n)return{depth:n[0],height:n[1],italic:n[2],skew:n[3],width:n[4]}}var ua={};function s4(t){var e;if(t>=5?e=0:t>=3?e=1:e=2,!ua[e]){var r=ua[e]={cssEmPerMu:sr.quad[e]/18};for(var a in sr)sr.hasOwnProperty(a)&&(r[a]=sr[a][e])}return ua[e]}var l4=[[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]],bi=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],yi=function(e,r){return r.size<2?e:l4[e-1][r.size-1]};class E0{constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||E0.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=bi[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){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 a in e)e.hasOwnProperty(a)&&(r[a]=e[a]);return new E0(r)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:yi(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:bi[e-1]})}havingBaseStyle(e){e=e||this.style.text();var r=yi(E0.BASESIZE,e);return this.size===r&&this.textSize===E0.BASESIZE&&this.style===e?this:this.extend({style:e,size:r})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==E0.BASESIZE?["sizing","reset-size"+this.size,"size"+E0.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=s4(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}E0.BASESIZE=6;var La={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},o4={ex:!0,em:!0,mu:!0},il=function(e){return typeof e!="string"&&(e=e.unit),e in La||e in o4||e==="ex"},ke=function(e,r){var a;if(e.unit in La)a=La[e.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(e.unit==="mu")a=r.fontMetrics().cssEmPerMu;else{var n;if(r.style.isTight()?n=r.havingStyle(r.style.text()):n=r,e.unit==="ex")a=n.fontMetrics().xHeight;else if(e.unit==="em")a=n.fontMetrics().quad;else throw new E("Invalid unit: '"+e.unit+"'");n!==r&&(a*=n.sizeMultiplier/r.sizeMultiplier)}return Math.min(e.number*a,r.maxSize)},O=function(e){return+e.toFixed(4)+"em"},Q0=function(e){return e.filter(r=>r).join(" ")},sl=function(e,r,a){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=a||{},r){r.style.isTight()&&this.classes.push("mtight");var n=r.getColor();n&&(this.style.color=n)}},ll=function(e){var r=document.createElement(e);r.className=Q0(this.classes);for(var a in this.style)this.style.hasOwnProperty(a)&&(r.style[a]=this.style[a]);for(var n in this.attributes)this.attributes.hasOwnProperty(n)&&r.setAttribute(n,this.attributes[n]);for(var i=0;i",r};class Kt{constructor(e,r,a,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,sl.call(this,e,a,n),this.children=r||[]}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return W.contains(this.classes,e)}toNode(){return ll.call(this,"span")}toMarkup(){return ol.call(this,"span")}}class pn{constructor(e,r,a,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,sl.call(this,r,n),this.children=a||[],this.setAttribute("href",e)}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return W.contains(this.classes,e)}toNode(){return ll.call(this,"a")}toMarkup(){return ol.call(this,"a")}}class u4{constructor(e,r,a){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=e,this.classes=["mord"],this.style=a}hasClass(e){return W.contains(this.classes,e)}toNode(){var e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(e.style[r]=this.style[r]);return e}toMarkup(){var e=''+W.escape(this.alt)+'0&&(r=document.createElement("span"),r.style.marginRight=O(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=Q0(this.classes));for(var a in this.style)this.style.hasOwnProperty(a)&&(r=r||document.createElement("span"),r.style[a]=this.style[a]);return r?(r.appendChild(e),r):e}toMarkup(){var e=!1,r="0&&(a+="margin-right:"+this.italic+"em;");for(var n in this.style)this.style.hasOwnProperty(n)&&(a+=W.hyphenate(n)+":"+this.style[n]+";");a&&(e=!0,r+=' style="'+W.escape(a)+'"');var i=W.escape(this.text);return e?(r+=">",r+=i,r+="",r):i}}class O0{constructor(e,r){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=r||{}}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"svg");for(var a in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,a)&&r.setAttribute(a,this.attributes[a]);for(var n=0;n':''}}class Ha{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"line");for(var a in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,a)&&r.setAttribute(a,this.attributes[a]);return r}toMarkup(){var e=" but got "+String(t)+".")}var m4={bin:1,close:1,inner:1,open:1,punct:1,rel:1},f4={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},pe={math:{},text:{}};function s(t,e,r,a,n,i){pe[t][n]={font:e,group:r,replace:a},i&&a&&(pe[t][a]=pe[t][n])}var o="math",q="text",h="main",p="ams",xe="accent-token",V="bin",$e="close",zt="inner",Y="mathord",qe="op-token",Qe="open",jr="punct",v="rel",H0="spacing",y="textord";s(o,h,v,"≡","\\equiv",!0);s(o,h,v,"≺","\\prec",!0);s(o,h,v,"≻","\\succ",!0);s(o,h,v,"∼","\\sim",!0);s(o,h,v,"⊥","\\perp");s(o,h,v,"⪯","\\preceq",!0);s(o,h,v,"⪰","\\succeq",!0);s(o,h,v,"≃","\\simeq",!0);s(o,h,v,"∣","\\mid",!0);s(o,h,v,"≪","\\ll",!0);s(o,h,v,"≫","\\gg",!0);s(o,h,v,"≍","\\asymp",!0);s(o,h,v,"∥","\\parallel");s(o,h,v,"⋈","\\bowtie",!0);s(o,h,v,"⌣","\\smile",!0);s(o,h,v,"⊑","\\sqsubseteq",!0);s(o,h,v,"⊒","\\sqsupseteq",!0);s(o,h,v,"≐","\\doteq",!0);s(o,h,v,"⌢","\\frown",!0);s(o,h,v,"∋","\\ni",!0);s(o,h,v,"∝","\\propto",!0);s(o,h,v,"⊢","\\vdash",!0);s(o,h,v,"⊣","\\dashv",!0);s(o,h,v,"∋","\\owns");s(o,h,jr,".","\\ldotp");s(o,h,jr,"⋅","\\cdotp");s(o,h,y,"#","\\#");s(q,h,y,"#","\\#");s(o,h,y,"&","\\&");s(q,h,y,"&","\\&");s(o,h,y,"ℵ","\\aleph",!0);s(o,h,y,"∀","\\forall",!0);s(o,h,y,"ℏ","\\hbar",!0);s(o,h,y,"∃","\\exists",!0);s(o,h,y,"∇","\\nabla",!0);s(o,h,y,"♭","\\flat",!0);s(o,h,y,"ℓ","\\ell",!0);s(o,h,y,"♮","\\natural",!0);s(o,h,y,"♣","\\clubsuit",!0);s(o,h,y,"℘","\\wp",!0);s(o,h,y,"♯","\\sharp",!0);s(o,h,y,"♢","\\diamondsuit",!0);s(o,h,y,"ℜ","\\Re",!0);s(o,h,y,"♡","\\heartsuit",!0);s(o,h,y,"ℑ","\\Im",!0);s(o,h,y,"♠","\\spadesuit",!0);s(o,h,y,"§","\\S",!0);s(q,h,y,"§","\\S");s(o,h,y,"¶","\\P",!0);s(q,h,y,"¶","\\P");s(o,h,y,"†","\\dag");s(q,h,y,"†","\\dag");s(q,h,y,"†","\\textdagger");s(o,h,y,"‡","\\ddag");s(q,h,y,"‡","\\ddag");s(q,h,y,"‡","\\textdaggerdbl");s(o,h,$e,"⎱","\\rmoustache",!0);s(o,h,Qe,"⎰","\\lmoustache",!0);s(o,h,$e,"⟯","\\rgroup",!0);s(o,h,Qe,"⟮","\\lgroup",!0);s(o,h,V,"∓","\\mp",!0);s(o,h,V,"⊖","\\ominus",!0);s(o,h,V,"⊎","\\uplus",!0);s(o,h,V,"⊓","\\sqcap",!0);s(o,h,V,"∗","\\ast");s(o,h,V,"⊔","\\sqcup",!0);s(o,h,V,"◯","\\bigcirc",!0);s(o,h,V,"∙","\\bullet",!0);s(o,h,V,"‡","\\ddagger");s(o,h,V,"≀","\\wr",!0);s(o,h,V,"⨿","\\amalg");s(o,h,V,"&","\\And");s(o,h,v,"⟵","\\longleftarrow",!0);s(o,h,v,"⇐","\\Leftarrow",!0);s(o,h,v,"⟸","\\Longleftarrow",!0);s(o,h,v,"⟶","\\longrightarrow",!0);s(o,h,v,"⇒","\\Rightarrow",!0);s(o,h,v,"⟹","\\Longrightarrow",!0);s(o,h,v,"↔","\\leftrightarrow",!0);s(o,h,v,"⟷","\\longleftrightarrow",!0);s(o,h,v,"⇔","\\Leftrightarrow",!0);s(o,h,v,"⟺","\\Longleftrightarrow",!0);s(o,h,v,"↦","\\mapsto",!0);s(o,h,v,"⟼","\\longmapsto",!0);s(o,h,v,"↗","\\nearrow",!0);s(o,h,v,"↩","\\hookleftarrow",!0);s(o,h,v,"↪","\\hookrightarrow",!0);s(o,h,v,"↘","\\searrow",!0);s(o,h,v,"↼","\\leftharpoonup",!0);s(o,h,v,"⇀","\\rightharpoonup",!0);s(o,h,v,"↙","\\swarrow",!0);s(o,h,v,"↽","\\leftharpoondown",!0);s(o,h,v,"⇁","\\rightharpoondown",!0);s(o,h,v,"↖","\\nwarrow",!0);s(o,h,v,"⇌","\\rightleftharpoons",!0);s(o,p,v,"≮","\\nless",!0);s(o,p,v,"","\\@nleqslant");s(o,p,v,"","\\@nleqq");s(o,p,v,"⪇","\\lneq",!0);s(o,p,v,"≨","\\lneqq",!0);s(o,p,v,"","\\@lvertneqq");s(o,p,v,"⋦","\\lnsim",!0);s(o,p,v,"⪉","\\lnapprox",!0);s(o,p,v,"⊀","\\nprec",!0);s(o,p,v,"⋠","\\npreceq",!0);s(o,p,v,"⋨","\\precnsim",!0);s(o,p,v,"⪹","\\precnapprox",!0);s(o,p,v,"≁","\\nsim",!0);s(o,p,v,"","\\@nshortmid");s(o,p,v,"∤","\\nmid",!0);s(o,p,v,"⊬","\\nvdash",!0);s(o,p,v,"⊭","\\nvDash",!0);s(o,p,v,"⋪","\\ntriangleleft");s(o,p,v,"⋬","\\ntrianglelefteq",!0);s(o,p,v,"⊊","\\subsetneq",!0);s(o,p,v,"","\\@varsubsetneq");s(o,p,v,"⫋","\\subsetneqq",!0);s(o,p,v,"","\\@varsubsetneqq");s(o,p,v,"≯","\\ngtr",!0);s(o,p,v,"","\\@ngeqslant");s(o,p,v,"","\\@ngeqq");s(o,p,v,"⪈","\\gneq",!0);s(o,p,v,"≩","\\gneqq",!0);s(o,p,v,"","\\@gvertneqq");s(o,p,v,"⋧","\\gnsim",!0);s(o,p,v,"⪊","\\gnapprox",!0);s(o,p,v,"⊁","\\nsucc",!0);s(o,p,v,"⋡","\\nsucceq",!0);s(o,p,v,"⋩","\\succnsim",!0);s(o,p,v,"⪺","\\succnapprox",!0);s(o,p,v,"≆","\\ncong",!0);s(o,p,v,"","\\@nshortparallel");s(o,p,v,"∦","\\nparallel",!0);s(o,p,v,"⊯","\\nVDash",!0);s(o,p,v,"⋫","\\ntriangleright");s(o,p,v,"⋭","\\ntrianglerighteq",!0);s(o,p,v,"","\\@nsupseteqq");s(o,p,v,"⊋","\\supsetneq",!0);s(o,p,v,"","\\@varsupsetneq");s(o,p,v,"⫌","\\supsetneqq",!0);s(o,p,v,"","\\@varsupsetneqq");s(o,p,v,"⊮","\\nVdash",!0);s(o,p,v,"⪵","\\precneqq",!0);s(o,p,v,"⪶","\\succneqq",!0);s(o,p,v,"","\\@nsubseteqq");s(o,p,V,"⊴","\\unlhd");s(o,p,V,"⊵","\\unrhd");s(o,p,v,"↚","\\nleftarrow",!0);s(o,p,v,"↛","\\nrightarrow",!0);s(o,p,v,"⇍","\\nLeftarrow",!0);s(o,p,v,"⇏","\\nRightarrow",!0);s(o,p,v,"↮","\\nleftrightarrow",!0);s(o,p,v,"⇎","\\nLeftrightarrow",!0);s(o,p,v,"△","\\vartriangle");s(o,p,y,"ℏ","\\hslash");s(o,p,y,"▽","\\triangledown");s(o,p,y,"◊","\\lozenge");s(o,p,y,"Ⓢ","\\circledS");s(o,p,y,"®","\\circledR");s(q,p,y,"®","\\circledR");s(o,p,y,"∡","\\measuredangle",!0);s(o,p,y,"∄","\\nexists");s(o,p,y,"℧","\\mho");s(o,p,y,"Ⅎ","\\Finv",!0);s(o,p,y,"⅁","\\Game",!0);s(o,p,y,"‵","\\backprime");s(o,p,y,"▲","\\blacktriangle");s(o,p,y,"▼","\\blacktriangledown");s(o,p,y,"■","\\blacksquare");s(o,p,y,"⧫","\\blacklozenge");s(o,p,y,"★","\\bigstar");s(o,p,y,"∢","\\sphericalangle",!0);s(o,p,y,"∁","\\complement",!0);s(o,p,y,"ð","\\eth",!0);s(q,h,y,"ð","ð");s(o,p,y,"╱","\\diagup");s(o,p,y,"╲","\\diagdown");s(o,p,y,"□","\\square");s(o,p,y,"□","\\Box");s(o,p,y,"◊","\\Diamond");s(o,p,y,"¥","\\yen",!0);s(q,p,y,"¥","\\yen",!0);s(o,p,y,"✓","\\checkmark",!0);s(q,p,y,"✓","\\checkmark");s(o,p,y,"ℶ","\\beth",!0);s(o,p,y,"ℸ","\\daleth",!0);s(o,p,y,"ℷ","\\gimel",!0);s(o,p,y,"ϝ","\\digamma",!0);s(o,p,y,"ϰ","\\varkappa");s(o,p,Qe,"┌","\\@ulcorner",!0);s(o,p,$e,"┐","\\@urcorner",!0);s(o,p,Qe,"└","\\@llcorner",!0);s(o,p,$e,"┘","\\@lrcorner",!0);s(o,p,v,"≦","\\leqq",!0);s(o,p,v,"⩽","\\leqslant",!0);s(o,p,v,"⪕","\\eqslantless",!0);s(o,p,v,"≲","\\lesssim",!0);s(o,p,v,"⪅","\\lessapprox",!0);s(o,p,v,"≊","\\approxeq",!0);s(o,p,V,"⋖","\\lessdot");s(o,p,v,"⋘","\\lll",!0);s(o,p,v,"≶","\\lessgtr",!0);s(o,p,v,"⋚","\\lesseqgtr",!0);s(o,p,v,"⪋","\\lesseqqgtr",!0);s(o,p,v,"≑","\\doteqdot");s(o,p,v,"≓","\\risingdotseq",!0);s(o,p,v,"≒","\\fallingdotseq",!0);s(o,p,v,"∽","\\backsim",!0);s(o,p,v,"⋍","\\backsimeq",!0);s(o,p,v,"⫅","\\subseteqq",!0);s(o,p,v,"⋐","\\Subset",!0);s(o,p,v,"⊏","\\sqsubset",!0);s(o,p,v,"≼","\\preccurlyeq",!0);s(o,p,v,"⋞","\\curlyeqprec",!0);s(o,p,v,"≾","\\precsim",!0);s(o,p,v,"⪷","\\precapprox",!0);s(o,p,v,"⊲","\\vartriangleleft");s(o,p,v,"⊴","\\trianglelefteq");s(o,p,v,"⊨","\\vDash",!0);s(o,p,v,"⊪","\\Vvdash",!0);s(o,p,v,"⌣","\\smallsmile");s(o,p,v,"⌢","\\smallfrown");s(o,p,v,"≏","\\bumpeq",!0);s(o,p,v,"≎","\\Bumpeq",!0);s(o,p,v,"≧","\\geqq",!0);s(o,p,v,"⩾","\\geqslant",!0);s(o,p,v,"⪖","\\eqslantgtr",!0);s(o,p,v,"≳","\\gtrsim",!0);s(o,p,v,"⪆","\\gtrapprox",!0);s(o,p,V,"⋗","\\gtrdot");s(o,p,v,"⋙","\\ggg",!0);s(o,p,v,"≷","\\gtrless",!0);s(o,p,v,"⋛","\\gtreqless",!0);s(o,p,v,"⪌","\\gtreqqless",!0);s(o,p,v,"≖","\\eqcirc",!0);s(o,p,v,"≗","\\circeq",!0);s(o,p,v,"≜","\\triangleq",!0);s(o,p,v,"∼","\\thicksim");s(o,p,v,"≈","\\thickapprox");s(o,p,v,"⫆","\\supseteqq",!0);s(o,p,v,"⋑","\\Supset",!0);s(o,p,v,"⊐","\\sqsupset",!0);s(o,p,v,"≽","\\succcurlyeq",!0);s(o,p,v,"⋟","\\curlyeqsucc",!0);s(o,p,v,"≿","\\succsim",!0);s(o,p,v,"⪸","\\succapprox",!0);s(o,p,v,"⊳","\\vartriangleright");s(o,p,v,"⊵","\\trianglerighteq");s(o,p,v,"⊩","\\Vdash",!0);s(o,p,v,"∣","\\shortmid");s(o,p,v,"∥","\\shortparallel");s(o,p,v,"≬","\\between",!0);s(o,p,v,"⋔","\\pitchfork",!0);s(o,p,v,"∝","\\varpropto");s(o,p,v,"◀","\\blacktriangleleft");s(o,p,v,"∴","\\therefore",!0);s(o,p,v,"∍","\\backepsilon");s(o,p,v,"▶","\\blacktriangleright");s(o,p,v,"∵","\\because",!0);s(o,p,v,"⋘","\\llless");s(o,p,v,"⋙","\\gggtr");s(o,p,V,"⊲","\\lhd");s(o,p,V,"⊳","\\rhd");s(o,p,v,"≂","\\eqsim",!0);s(o,h,v,"⋈","\\Join");s(o,p,v,"≑","\\Doteq",!0);s(o,p,V,"∔","\\dotplus",!0);s(o,p,V,"∖","\\smallsetminus");s(o,p,V,"⋒","\\Cap",!0);s(o,p,V,"⋓","\\Cup",!0);s(o,p,V,"⩞","\\doublebarwedge",!0);s(o,p,V,"⊟","\\boxminus",!0);s(o,p,V,"⊞","\\boxplus",!0);s(o,p,V,"⋇","\\divideontimes",!0);s(o,p,V,"⋉","\\ltimes",!0);s(o,p,V,"⋊","\\rtimes",!0);s(o,p,V,"⋋","\\leftthreetimes",!0);s(o,p,V,"⋌","\\rightthreetimes",!0);s(o,p,V,"⋏","\\curlywedge",!0);s(o,p,V,"⋎","\\curlyvee",!0);s(o,p,V,"⊝","\\circleddash",!0);s(o,p,V,"⊛","\\circledast",!0);s(o,p,V,"⋅","\\centerdot");s(o,p,V,"⊺","\\intercal",!0);s(o,p,V,"⋒","\\doublecap");s(o,p,V,"⋓","\\doublecup");s(o,p,V,"⊠","\\boxtimes",!0);s(o,p,v,"⇢","\\dashrightarrow",!0);s(o,p,v,"⇠","\\dashleftarrow",!0);s(o,p,v,"⇇","\\leftleftarrows",!0);s(o,p,v,"⇆","\\leftrightarrows",!0);s(o,p,v,"⇚","\\Lleftarrow",!0);s(o,p,v,"↞","\\twoheadleftarrow",!0);s(o,p,v,"↢","\\leftarrowtail",!0);s(o,p,v,"↫","\\looparrowleft",!0);s(o,p,v,"⇋","\\leftrightharpoons",!0);s(o,p,v,"↶","\\curvearrowleft",!0);s(o,p,v,"↺","\\circlearrowleft",!0);s(o,p,v,"↰","\\Lsh",!0);s(o,p,v,"⇈","\\upuparrows",!0);s(o,p,v,"↿","\\upharpoonleft",!0);s(o,p,v,"⇃","\\downharpoonleft",!0);s(o,h,v,"⊶","\\origof",!0);s(o,h,v,"⊷","\\imageof",!0);s(o,p,v,"⊸","\\multimap",!0);s(o,p,v,"↭","\\leftrightsquigarrow",!0);s(o,p,v,"⇉","\\rightrightarrows",!0);s(o,p,v,"⇄","\\rightleftarrows",!0);s(o,p,v,"↠","\\twoheadrightarrow",!0);s(o,p,v,"↣","\\rightarrowtail",!0);s(o,p,v,"↬","\\looparrowright",!0);s(o,p,v,"↷","\\curvearrowright",!0);s(o,p,v,"↻","\\circlearrowright",!0);s(o,p,v,"↱","\\Rsh",!0);s(o,p,v,"⇊","\\downdownarrows",!0);s(o,p,v,"↾","\\upharpoonright",!0);s(o,p,v,"⇂","\\downharpoonright",!0);s(o,p,v,"⇝","\\rightsquigarrow",!0);s(o,p,v,"⇝","\\leadsto");s(o,p,v,"⇛","\\Rrightarrow",!0);s(o,p,v,"↾","\\restriction");s(o,h,y,"‘","`");s(o,h,y,"$","\\$");s(q,h,y,"$","\\$");s(q,h,y,"$","\\textdollar");s(o,h,y,"%","\\%");s(q,h,y,"%","\\%");s(o,h,y,"_","\\_");s(q,h,y,"_","\\_");s(q,h,y,"_","\\textunderscore");s(o,h,y,"∠","\\angle",!0);s(o,h,y,"∞","\\infty",!0);s(o,h,y,"′","\\prime");s(o,h,y,"△","\\triangle");s(o,h,y,"Γ","\\Gamma",!0);s(o,h,y,"Δ","\\Delta",!0);s(o,h,y,"Θ","\\Theta",!0);s(o,h,y,"Λ","\\Lambda",!0);s(o,h,y,"Ξ","\\Xi",!0);s(o,h,y,"Π","\\Pi",!0);s(o,h,y,"Σ","\\Sigma",!0);s(o,h,y,"Υ","\\Upsilon",!0);s(o,h,y,"Φ","\\Phi",!0);s(o,h,y,"Ψ","\\Psi",!0);s(o,h,y,"Ω","\\Omega",!0);s(o,h,y,"A","Α");s(o,h,y,"B","Β");s(o,h,y,"E","Ε");s(o,h,y,"Z","Ζ");s(o,h,y,"H","Η");s(o,h,y,"I","Ι");s(o,h,y,"K","Κ");s(o,h,y,"M","Μ");s(o,h,y,"N","Ν");s(o,h,y,"O","Ο");s(o,h,y,"P","Ρ");s(o,h,y,"T","Τ");s(o,h,y,"X","Χ");s(o,h,y,"¬","\\neg",!0);s(o,h,y,"¬","\\lnot");s(o,h,y,"⊤","\\top");s(o,h,y,"⊥","\\bot");s(o,h,y,"∅","\\emptyset");s(o,p,y,"∅","\\varnothing");s(o,h,Y,"α","\\alpha",!0);s(o,h,Y,"β","\\beta",!0);s(o,h,Y,"γ","\\gamma",!0);s(o,h,Y,"δ","\\delta",!0);s(o,h,Y,"ϵ","\\epsilon",!0);s(o,h,Y,"ζ","\\zeta",!0);s(o,h,Y,"η","\\eta",!0);s(o,h,Y,"θ","\\theta",!0);s(o,h,Y,"ι","\\iota",!0);s(o,h,Y,"κ","\\kappa",!0);s(o,h,Y,"λ","\\lambda",!0);s(o,h,Y,"μ","\\mu",!0);s(o,h,Y,"ν","\\nu",!0);s(o,h,Y,"ξ","\\xi",!0);s(o,h,Y,"ο","\\omicron",!0);s(o,h,Y,"π","\\pi",!0);s(o,h,Y,"ρ","\\rho",!0);s(o,h,Y,"σ","\\sigma",!0);s(o,h,Y,"τ","\\tau",!0);s(o,h,Y,"υ","\\upsilon",!0);s(o,h,Y,"ϕ","\\phi",!0);s(o,h,Y,"χ","\\chi",!0);s(o,h,Y,"ψ","\\psi",!0);s(o,h,Y,"ω","\\omega",!0);s(o,h,Y,"ε","\\varepsilon",!0);s(o,h,Y,"ϑ","\\vartheta",!0);s(o,h,Y,"ϖ","\\varpi",!0);s(o,h,Y,"ϱ","\\varrho",!0);s(o,h,Y,"ς","\\varsigma",!0);s(o,h,Y,"φ","\\varphi",!0);s(o,h,V,"∗","*",!0);s(o,h,V,"+","+");s(o,h,V,"−","-",!0);s(o,h,V,"⋅","\\cdot",!0);s(o,h,V,"∘","\\circ",!0);s(o,h,V,"÷","\\div",!0);s(o,h,V,"±","\\pm",!0);s(o,h,V,"×","\\times",!0);s(o,h,V,"∩","\\cap",!0);s(o,h,V,"∪","\\cup",!0);s(o,h,V,"∖","\\setminus",!0);s(o,h,V,"∧","\\land");s(o,h,V,"∨","\\lor");s(o,h,V,"∧","\\wedge",!0);s(o,h,V,"∨","\\vee",!0);s(o,h,y,"√","\\surd");s(o,h,Qe,"⟨","\\langle",!0);s(o,h,Qe,"∣","\\lvert");s(o,h,Qe,"∥","\\lVert");s(o,h,$e,"?","?");s(o,h,$e,"!","!");s(o,h,$e,"⟩","\\rangle",!0);s(o,h,$e,"∣","\\rvert");s(o,h,$e,"∥","\\rVert");s(o,h,v,"=","=");s(o,h,v,":",":");s(o,h,v,"≈","\\approx",!0);s(o,h,v,"≅","\\cong",!0);s(o,h,v,"≥","\\ge");s(o,h,v,"≥","\\geq",!0);s(o,h,v,"←","\\gets");s(o,h,v,">","\\gt",!0);s(o,h,v,"∈","\\in",!0);s(o,h,v,"","\\@not");s(o,h,v,"⊂","\\subset",!0);s(o,h,v,"⊃","\\supset",!0);s(o,h,v,"⊆","\\subseteq",!0);s(o,h,v,"⊇","\\supseteq",!0);s(o,p,v,"⊈","\\nsubseteq",!0);s(o,p,v,"⊉","\\nsupseteq",!0);s(o,h,v,"⊨","\\models");s(o,h,v,"←","\\leftarrow",!0);s(o,h,v,"≤","\\le");s(o,h,v,"≤","\\leq",!0);s(o,h,v,"<","\\lt",!0);s(o,h,v,"→","\\rightarrow",!0);s(o,h,v,"→","\\to");s(o,p,v,"≱","\\ngeq",!0);s(o,p,v,"≰","\\nleq",!0);s(o,h,H0," ","\\ ");s(o,h,H0," ","\\space");s(o,h,H0," ","\\nobreakspace");s(q,h,H0," ","\\ ");s(q,h,H0," "," ");s(q,h,H0," ","\\space");s(q,h,H0," ","\\nobreakspace");s(o,h,H0,null,"\\nobreak");s(o,h,H0,null,"\\allowbreak");s(o,h,jr,",",",");s(o,h,jr,";",";");s(o,p,V,"⊼","\\barwedge",!0);s(o,p,V,"⊻","\\veebar",!0);s(o,h,V,"⊙","\\odot",!0);s(o,h,V,"⊕","\\oplus",!0);s(o,h,V,"⊗","\\otimes",!0);s(o,h,y,"∂","\\partial",!0);s(o,h,V,"⊘","\\oslash",!0);s(o,p,V,"⊚","\\circledcirc",!0);s(o,p,V,"⊡","\\boxdot",!0);s(o,h,V,"△","\\bigtriangleup");s(o,h,V,"▽","\\bigtriangledown");s(o,h,V,"†","\\dagger");s(o,h,V,"⋄","\\diamond");s(o,h,V,"⋆","\\star");s(o,h,V,"◃","\\triangleleft");s(o,h,V,"▹","\\triangleright");s(o,h,Qe,"{","\\{");s(q,h,y,"{","\\{");s(q,h,y,"{","\\textbraceleft");s(o,h,$e,"}","\\}");s(q,h,y,"}","\\}");s(q,h,y,"}","\\textbraceright");s(o,h,Qe,"{","\\lbrace");s(o,h,$e,"}","\\rbrace");s(o,h,Qe,"[","\\lbrack",!0);s(q,h,y,"[","\\lbrack",!0);s(o,h,$e,"]","\\rbrack",!0);s(q,h,y,"]","\\rbrack",!0);s(o,h,Qe,"(","\\lparen",!0);s(o,h,$e,")","\\rparen",!0);s(q,h,y,"<","\\textless",!0);s(q,h,y,">","\\textgreater",!0);s(o,h,Qe,"⌊","\\lfloor",!0);s(o,h,$e,"⌋","\\rfloor",!0);s(o,h,Qe,"⌈","\\lceil",!0);s(o,h,$e,"⌉","\\rceil",!0);s(o,h,y,"\\","\\backslash");s(o,h,y,"∣","|");s(o,h,y,"∣","\\vert");s(q,h,y,"|","\\textbar",!0);s(o,h,y,"∥","\\|");s(o,h,y,"∥","\\Vert");s(q,h,y,"∥","\\textbardbl");s(q,h,y,"~","\\textasciitilde");s(q,h,y,"\\","\\textbackslash");s(q,h,y,"^","\\textasciicircum");s(o,h,v,"↑","\\uparrow",!0);s(o,h,v,"⇑","\\Uparrow",!0);s(o,h,v,"↓","\\downarrow",!0);s(o,h,v,"⇓","\\Downarrow",!0);s(o,h,v,"↕","\\updownarrow",!0);s(o,h,v,"⇕","\\Updownarrow",!0);s(o,h,qe,"∐","\\coprod");s(o,h,qe,"⋁","\\bigvee");s(o,h,qe,"⋀","\\bigwedge");s(o,h,qe,"⨄","\\biguplus");s(o,h,qe,"⋂","\\bigcap");s(o,h,qe,"⋃","\\bigcup");s(o,h,qe,"∫","\\int");s(o,h,qe,"∫","\\intop");s(o,h,qe,"∬","\\iint");s(o,h,qe,"∭","\\iiint");s(o,h,qe,"∏","\\prod");s(o,h,qe,"∑","\\sum");s(o,h,qe,"⨂","\\bigotimes");s(o,h,qe,"⨁","\\bigoplus");s(o,h,qe,"⨀","\\bigodot");s(o,h,qe,"∮","\\oint");s(o,h,qe,"∯","\\oiint");s(o,h,qe,"∰","\\oiiint");s(o,h,qe,"⨆","\\bigsqcup");s(o,h,qe,"∫","\\smallint");s(q,h,zt,"…","\\textellipsis");s(o,h,zt,"…","\\mathellipsis");s(q,h,zt,"…","\\ldots",!0);s(o,h,zt,"…","\\ldots",!0);s(o,h,zt,"⋯","\\@cdots",!0);s(o,h,zt,"⋱","\\ddots",!0);s(o,h,y,"⋮","\\varvdots");s(o,h,xe,"ˊ","\\acute");s(o,h,xe,"ˋ","\\grave");s(o,h,xe,"¨","\\ddot");s(o,h,xe,"~","\\tilde");s(o,h,xe,"ˉ","\\bar");s(o,h,xe,"˘","\\breve");s(o,h,xe,"ˇ","\\check");s(o,h,xe,"^","\\hat");s(o,h,xe,"⃗","\\vec");s(o,h,xe,"˙","\\dot");s(o,h,xe,"˚","\\mathring");s(o,h,Y,"","\\@imath");s(o,h,Y,"","\\@jmath");s(o,h,y,"ı","ı");s(o,h,y,"ȷ","ȷ");s(q,h,y,"ı","\\i",!0);s(q,h,y,"ȷ","\\j",!0);s(q,h,y,"ß","\\ss",!0);s(q,h,y,"æ","\\ae",!0);s(q,h,y,"œ","\\oe",!0);s(q,h,y,"ø","\\o",!0);s(q,h,y,"Æ","\\AE",!0);s(q,h,y,"Œ","\\OE",!0);s(q,h,y,"Ø","\\O",!0);s(q,h,xe,"ˊ","\\'");s(q,h,xe,"ˋ","\\`");s(q,h,xe,"ˆ","\\^");s(q,h,xe,"˜","\\~");s(q,h,xe,"ˉ","\\=");s(q,h,xe,"˘","\\u");s(q,h,xe,"˙","\\.");s(q,h,xe,"¸","\\c");s(q,h,xe,"˚","\\r");s(q,h,xe,"ˇ","\\v");s(q,h,xe,"¨",'\\"');s(q,h,xe,"˝","\\H");s(q,h,xe,"◯","\\textcircled");var ul={"--":!0,"---":!0,"``":!0,"''":!0};s(q,h,y,"–","--",!0);s(q,h,y,"–","\\textendash");s(q,h,y,"—","---",!0);s(q,h,y,"—","\\textemdash");s(q,h,y,"‘","`",!0);s(q,h,y,"‘","\\textquoteleft");s(q,h,y,"’","'",!0);s(q,h,y,"’","\\textquoteright");s(q,h,y,"“","``",!0);s(q,h,y,"“","\\textquotedblleft");s(q,h,y,"”","''",!0);s(q,h,y,"”","\\textquotedblright");s(o,h,y,"°","\\degree",!0);s(q,h,y,"°","\\degree");s(q,h,y,"°","\\textdegree",!0);s(o,h,y,"£","\\pounds");s(o,h,y,"£","\\mathsterling",!0);s(q,h,y,"£","\\pounds");s(q,h,y,"£","\\textsterling",!0);s(o,p,y,"✠","\\maltese");s(q,p,y,"✠","\\maltese");var wi='0123456789/@."';for(var ca=0;ca0)return f0(i,m,n,r,l.concat(d));if(c){var g,w;if(c==="boldsymbol"){var S=v4(i,n,r,l,a);g=S.fontName,w=[S.fontClass]}else u?(g=ml[c].fontName,w=[c]):(g=cr(c,r.fontWeight,r.fontShape),w=[c,r.fontWeight,r.fontShape]);if(Wr(i,g,n).metrics)return f0(i,g,n,r,l.concat(w));if(ul.hasOwnProperty(i)&&g.slice(0,10)==="Typewriter"){for(var T=[],A=0;A{if(Q0(t.classes)!==Q0(e.classes)||t.skew!==e.skew||t.maxFontSize!==e.maxFontSize)return!1;if(t.classes.length===1){var r=t.classes[0];if(r==="mbin"||r==="mord")return!1}for(var a in t.style)if(t.style.hasOwnProperty(a)&&t.style[a]!==e.style[a])return!1;for(var n in e.style)if(e.style.hasOwnProperty(n)&&t.style[n]!==e.style[n])return!1;return!0},y4=t=>{for(var e=0;er&&(r=l.height),l.depth>a&&(a=l.depth),l.maxFontSize>n&&(n=l.maxFontSize)}e.height=r,e.depth=a,e.maxFontSize=n},je=function(e,r,a,n){var i=new Kt(e,r,a,n);return vn(i),i},cl=(t,e,r,a)=>new Kt(t,e,r,a),x4=function(e,r,a){var n=je([e],[],r);return n.height=Math.max(a||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),n.style.borderBottomWidth=O(n.height),n.maxFontSize=1,n},w4=function(e,r,a,n){var i=new pn(e,r,a,n);return vn(i),i},hl=function(e){var r=new Yt(e);return vn(r),r},S4=function(e,r){return e instanceof Yt?je([],[e],r):e},k4=function(e){if(e.positionType==="individualShift"){for(var r=e.children,a=[r[0]],n=-r[0].shift-r[0].elem.depth,i=n,l=1;l{var r=je(["mspace"],[],e),a=ke(t,e);return r.style.marginRight=O(a),r},cr=function(e,r,a){var n="";switch(e){case"amsrm":n="AMS";break;case"textrm":n="Main";break;case"textsf":n="SansSerif";break;case"texttt":n="Typewriter";break;default:n=e}var i;return r==="textbf"&&a==="textit"?i="BoldItalic":r==="textbf"?i="Bold":r==="textit"?i="Italic":i="Regular",n+"-"+i},ml={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"},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"}},fl={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},A4=function(e,r){var[a,n,i]=fl[e],l=new et(a),u=new O0([l],{width:O(n),height:O(i),style:"width:"+O(n),viewBox:"0 0 "+1e3*n+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),c=cl(["overlay"],[u],r);return c.height=i,c.style.height=O(i),c.style.width=O(n),c},k={fontMap:ml,makeSymbol:f0,mathsym:p4,makeSpan:je,makeSvgSpan:cl,makeLineSpan:x4,makeAnchor:w4,makeFragment:hl,wrapFragment:S4,makeVList:M4,makeOrd:g4,makeGlue:T4,staticSvg:A4,svgData:fl,tryCombineChars:y4},Se={number:3,unit:"mu"},ct={number:4,unit:"mu"},q0={number:5,unit:"mu"},z4={mord:{mop:Se,mbin:ct,mrel:q0,minner:Se},mop:{mord:Se,mop:Se,mrel:q0,minner:Se},mbin:{mord:ct,mop:ct,mopen:ct,minner:ct},mrel:{mord:q0,mop:q0,mopen:q0,minner:q0},mopen:{},mclose:{mop:Se,mbin:ct,mrel:q0,minner:Se},mpunct:{mord:Se,mop:Se,mrel:q0,mopen:Se,mclose:Se,mpunct:Se,minner:Se},minner:{mord:Se,mop:Se,mbin:ct,mrel:q0,mopen:Se,mpunct:Se,minner:Se}},C4={mord:{mop:Se},mop:{mord:Se,mop:Se},mbin:{},mrel:{},mopen:{},mclose:{mop:Se},mpunct:{},minner:{mop:Se}},dl={},Er={},Nr={};function H(t){for(var{type:e,names:r,props:a,handler:n,htmlBuilder:i,mathmlBuilder:l}=t,u={type:e,numArgs:a.numArgs,argTypes:a.argTypes,allowedInArgument:!!a.allowedInArgument,allowedInText:!!a.allowedInText,allowedInMath:a.allowedInMath===void 0?!0:a.allowedInMath,numOptionalArgs:a.numOptionalArgs||0,infix:!!a.infix,primitive:!!a.primitive,handler:n},c=0;c{var F=A.classes[0],R=T.classes[0];F==="mbin"&&W.contains(B4,R)?A.classes[0]="mord":R==="mbin"&&W.contains(q4,F)&&(T.classes[0]="mord")},{node:g},w,S),Ai(i,(T,A)=>{var F=Va(A),R=Va(T),U=F&&R?T.hasClass("mtight")?C4[F][R]:z4[F][R]:null;if(U)return k.makeGlue(U,m)},{node:g},w,S),i},Ai=function t(e,r,a,n,i){n&&e.push(n);for(var l=0;lw=>{e.splice(g+1,0,w),l++})(l)}n&&e.pop()},pl=function(e){return e instanceof Yt||e instanceof pn||e instanceof Kt&&e.hasClass("enclosing")?e:null},N4=function t(e,r){var a=pl(e);if(a){var n=a.children;if(n.length){if(r==="right")return t(n[n.length-1],"right");if(r==="left")return t(n[0],"left")}}return e},Va=function(e,r){return e?(r&&(e=N4(e,r)),E4[e.classes[0]]||null):null},Wt=function(e,r){var a=["nulldelimiter"].concat(e.baseSizingClasses());return _0(r.concat(a))},ue=function(e,r,a){if(!e)return _0();if(Er[e.type]){var n=Er[e.type](e,r);if(a&&r.size!==a.size){n=_0(r.sizingClasses(a),[n],r);var i=r.sizeMultiplier/a.sizeMultiplier;n.height*=i,n.depth*=i}return n}else throw new E("Got group of unknown type: '"+e.type+"'")};function hr(t,e){var r=_0(["base"],t,e),a=_0(["strut"]);return a.style.height=O(r.height+r.depth),r.depth&&(a.style.verticalAlign=O(-r.depth)),r.children.unshift(a),r}function $a(t,e){var r=null;t.length===1&&t[0].type==="tag"&&(r=t[0].tag,t=t[0].body);var a=Be(t,e,"root"),n;a.length===2&&a[1].hasClass("tag")&&(n=a.pop());for(var i=[],l=[],u=0;u0&&(i.push(hr(l,e)),l=[]),i.push(a[u]));l.length>0&&i.push(hr(l,e));var m;r?(m=hr(Be(r,e,!0)),m.classes=["tag"],i.push(m)):n&&i.push(n);var d=_0(["katex-html"],i);if(d.setAttribute("aria-hidden","true"),m){var g=m.children[0];g.style.height=O(d.height+d.depth),d.depth&&(g.style.verticalAlign=O(-d.depth))}return d}function vl(t){return new Yt(t)}class r0{constructor(e,r,a){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=r||[],this.classes=a||[]}setAttribute(e,r){this.attributes[e]=r}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&e.setAttribute(r,this.attributes[r]);this.classes.length>0&&(e.className=Q0(this.classes));for(var a=0;a0&&(e+=' class ="'+W.escape(Q0(this.classes))+'"'),e+=">";for(var a=0;a",e}toText(){return this.children.map(e=>e.toText()).join("")}}class Lt{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return W.escape(this.toText())}toText(){return this.text}}class I4{constructor(e){this.width=void 0,this.character=void 0,this.width=e,e>=.05555&&e<=.05556?this.character=" ":e>=.1666&&e<=.1667?this.character=" ":e>=.2222&&e<=.2223?this.character=" ":e>=.2777&&e<=.2778?this.character="  ":e>=-.05556&&e<=-.05555?this.character=" ⁣":e>=-.1667&&e<=-.1666?this.character=" ⁣":e>=-.2223&&e<=-.2222?this.character=" ⁣":e>=-.2778&&e<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",O(this.width)),e}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}}var D={MathNode:r0,TextNode:Lt,SpaceNode:I4,newDocumentFragment:vl},o0=function(e,r,a){return pe[r][e]&&pe[r][e].replace&&e.charCodeAt(0)!==55349&&!(ul.hasOwnProperty(e)&&a&&(a.fontFamily&&a.fontFamily.slice(4,6)==="tt"||a.font&&a.font.slice(4,6)==="tt"))&&(e=pe[r][e].replace),new D.TextNode(e)},gn=function(e){return e.length===1?e[0]:new D.MathNode("mrow",e)},bn=function(e,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 a=r.font;if(!a||a==="mathnormal")return null;var n=e.mode;if(a==="mathit")return"italic";if(a==="boldsymbol")return e.type==="textord"?"bold":"bold-italic";if(a==="mathbf")return"bold";if(a==="mathbb")return"double-struck";if(a==="mathfrak")return"fraktur";if(a==="mathscr"||a==="mathcal")return"script";if(a==="mathsf")return"sans-serif";if(a==="mathtt")return"monospace";var i=e.text;if(W.contains(["\\imath","\\jmath"],i))return null;pe[n][i]&&pe[n][i].replace&&(i=pe[n][i].replace);var l=k.fontMap[a].fontName;return dn(i,l,n)?k.fontMap[a].variant:null},Ye=function(e,r,a){if(e.length===1){var n=de(e[0],r);return a&&n instanceof r0&&n.type==="mo"&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var i=[],l,u=0;u0&&(g.text=g.text.slice(0,1)+"̸"+g.text.slice(1),i.pop())}}}i.push(c),l=c}return i},tt=function(e,r,a){return gn(Ye(e,r,a))},de=function(e,r){if(!e)return new D.MathNode("mrow");if(Nr[e.type]){var a=Nr[e.type](e,r);return a}else throw new E("Got group of unknown type: '"+e.type+"'")};function zi(t,e,r,a,n){var i=Ye(t,r),l;i.length===1&&i[0]instanceof r0&&W.contains(["mrow","mtable"],i[0].type)?l=i[0]:l=new D.MathNode("mrow",i);var u=new D.MathNode("annotation",[new D.TextNode(e)]);u.setAttribute("encoding","application/x-tex");var c=new D.MathNode("semantics",[l,u]),m=new D.MathNode("math",[c]);m.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),a&&m.setAttribute("display","block");var d=n?"katex":"katex-mathml";return k.makeSpan([d],[m])}var gl=function(e){return new E0({style:e.displayMode?K.DISPLAY:K.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},bl=function(e,r){if(r.displayMode){var a=["katex-display"];r.leqno&&a.push("leqno"),r.fleqn&&a.push("fleqn"),e=k.makeSpan(a,[e])}return e},R4=function(e,r,a){var n=gl(a),i;if(a.output==="mathml")return zi(e,r,n,a.displayMode,!0);if(a.output==="html"){var l=$a(e,n);i=k.makeSpan(["katex"],[l])}else{var u=zi(e,r,n,a.displayMode,!1),c=$a(e,n);i=k.makeSpan(["katex"],[u,c])}return bl(i,a)},O4=function(e,r,a){var n=gl(a),i=$a(e,n),l=k.makeSpan(["katex"],[i]);return bl(l,a)},_4={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":"="},F4=function(e){var r=new D.MathNode("mo",[new D.TextNode(_4[e.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},L4={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]},H4=function(e){return e.type==="ordgroup"?e.body.length:1},P4=function(e,r){function a(){var u=4e5,c=e.label.slice(1);if(W.contains(["widehat","widecheck","widetilde","utilde"],c)){var m=e,d=H4(m.base),g,w,S;if(d>5)c==="widehat"||c==="widecheck"?(g=420,u=2364,S=.42,w=c+"4"):(g=312,u=2340,S=.34,w="tilde4");else{var T=[1,1,2,2,3,3][d];c==="widehat"||c==="widecheck"?(u=[0,1062,2364,2364,2364][T],g=[0,239,300,360,420][T],S=[0,.24,.3,.3,.36,.42][T],w=c+T):(u=[0,600,1033,2339,2340][T],g=[0,260,286,306,312][T],S=[0,.26,.286,.3,.306,.34][T],w="tilde"+T)}var A=new et(w),F=new O0([A],{width:"100%",height:O(S),viewBox:"0 0 "+u+" "+g,preserveAspectRatio:"none"});return{span:k.makeSvgSpan([],[F],r),minWidth:0,height:S}}else{var R=[],U=L4[c],[P,Z,J]=U,G=J/1e3,re=P.length,se,ce;if(re===1){var Ie=U[3];se=["hide-tail"],ce=[Ie]}else if(re===2)se=["halfarrow-left","halfarrow-right"],ce=["xMinYMin","xMaxYMin"];else if(re===3)se=["brace-left","brace-center","brace-right"],ce=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support - `+re+" children.");for(var ze=0;ze0&&(n.style.minWidth=O(i)),n},V4=function(e,r,a,n,i){var l,u=e.height+e.depth+a+n;if(/fbox|color|angl/.test(r)){if(l=k.makeSpan(["stretchy",r],[],i),r==="fbox"){var c=i.color&&i.getColor();c&&(l.style.borderColor=c)}}else{var m=[];/^[bx]cancel$/.test(r)&&m.push(new Ha({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&m.push(new Ha({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var d=new O0(m,{width:"100%",height:O(u)});l=k.makeSvgSpan([],[d],i)}return l.height=u,l.style.height=O(u),l},F0={encloseSpan:V4,mathMLnode:F4,svgSpan:P4};function ae(t,e){if(!t||t.type!==e)throw new Error("Expected node of type "+e+", but got "+(t?"node of type "+t.type:String(t)));return t}function yn(t){var e=Xr(t);if(!e)throw new Error("Expected node of symbol group type, but got "+(t?"node of type "+t.type:String(t)));return e}function Xr(t){return t&&(t.type==="atom"||f4.hasOwnProperty(t.type))?t:null}var xn=(t,e)=>{var r,a,n;t&&t.type==="supsub"?(a=ae(t.base,"accent"),r=a.base,t.base=r,n=h4(ue(t,e)),t.base=a):(a=ae(t,"accent"),r=a.base);var i=ue(r,e.havingCrampedStyle()),l=a.isShifty&&W.isCharacterBox(r),u=0;if(l){var c=W.getBaseElem(r),m=ue(c,e.havingCrampedStyle());u=xi(m).skew}var d=a.label==="\\c",g=d?i.height+i.depth:Math.min(i.height,e.fontMetrics().xHeight),w;if(a.isStretchy)w=F0.svgSpan(a,e),w=k.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:w,wrapperClasses:["svg-align"],wrapperStyle:u>0?{width:"calc(100% - "+O(2*u)+")",marginLeft:O(2*u)}:void 0}]},e);else{var S,T;a.label==="\\vec"?(S=k.staticSvg("vec",e),T=k.svgData.vec[1]):(S=k.makeOrd({mode:a.mode,text:a.label},e,"textord"),S=xi(S),S.italic=0,T=S.width,d&&(g+=S.depth)),w=k.makeSpan(["accent-body"],[S]);var A=a.label==="\\textcircled";A&&(w.classes.push("accent-full"),g=i.height);var F=u;A||(F-=T/2),w.style.left=O(F),a.label==="\\textcircled"&&(w.style.top=".2em"),w=k.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-g},{type:"elem",elem:w}]},e)}var R=k.makeSpan(["mord","accent"],[w],e);return n?(n.children[0]=R,n.height=Math.max(R.height,n.height),n.classes[0]="mord",n):R},yl=(t,e)=>{var r=t.isStretchy?F0.mathMLnode(t.label):new D.MathNode("mo",[o0(t.label,t.mode)]),a=new D.MathNode("mover",[de(t.base,e),r]);return a.setAttribute("accent","true"),a},$4=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(t=>"\\"+t).join("|"));H({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:(t,e)=>{var r=Ir(e[0]),a=!$4.test(t.funcName),n=!a||t.funcName==="\\widehat"||t.funcName==="\\widetilde"||t.funcName==="\\widecheck";return{type:"accent",mode:t.parser.mode,label:t.funcName,isStretchy:a,isShifty:n,base:r}},htmlBuilder:xn,mathmlBuilder:yl});H({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(t,e)=>{var r=e[0],a=t.parser.mode;return a==="math"&&(t.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+t.funcName+" works only in text mode"),a="text"),{type:"accent",mode:a,label:t.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:xn,mathmlBuilder:yl});H({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(t,e)=>{var{parser:r,funcName:a}=t,n=e[0];return{type:"accentUnder",mode:r.mode,label:a,base:n}},htmlBuilder:(t,e)=>{var r=ue(t.base,e),a=F0.svgSpan(t,e),n=t.label==="\\utilde"?.12:0,i=k.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:n},{type:"elem",elem:r}]},e);return k.makeSpan(["mord","accentunder"],[i],e)},mathmlBuilder:(t,e)=>{var r=F0.mathMLnode(t.label),a=new D.MathNode("munder",[de(t.base,e),r]);return a.setAttribute("accentunder","true"),a}});var mr=t=>{var e=new D.MathNode("mpadded",t?[t]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};H({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(t,e,r){var{parser:a,funcName:n}=t;return{type:"xArrow",mode:a.mode,label:n,body:e[0],below:r[0]}},htmlBuilder(t,e){var r=e.style,a=e.havingStyle(r.sup()),n=k.wrapFragment(ue(t.body,a,e),e),i=t.label.slice(0,2)==="\\x"?"x":"cd";n.classes.push(i+"-arrow-pad");var l;t.below&&(a=e.havingStyle(r.sub()),l=k.wrapFragment(ue(t.below,a,e),e),l.classes.push(i+"-arrow-pad"));var u=F0.svgSpan(t,e),c=-e.fontMetrics().axisHeight+.5*u.height,m=-e.fontMetrics().axisHeight-.5*u.height-.111;(n.depth>.25||t.label==="\\xleftequilibrium")&&(m-=n.depth);var d;if(l){var g=-e.fontMetrics().axisHeight+l.height+.5*u.height+.111;d=k.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:m},{type:"elem",elem:u,shift:c},{type:"elem",elem:l,shift:g}]},e)}else d=k.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:m},{type:"elem",elem:u,shift:c}]},e);return d.children[0].children[0].children[1].classes.push("svg-align"),k.makeSpan(["mrel","x-arrow"],[d],e)},mathmlBuilder(t,e){var r=F0.mathMLnode(t.label);r.setAttribute("minsize",t.label.charAt(0)==="x"?"1.75em":"3.0em");var a;if(t.body){var n=mr(de(t.body,e));if(t.below){var i=mr(de(t.below,e));a=new D.MathNode("munderover",[r,i,n])}else a=new D.MathNode("mover",[r,n])}else if(t.below){var l=mr(de(t.below,e));a=new D.MathNode("munder",[r,l])}else a=mr(),a=new D.MathNode("mover",[r,a]);return a}});var U4=k.makeSpan;function xl(t,e){var r=Be(t.body,e,!0);return U4([t.mclass],r,e)}function wl(t,e){var r,a=Ye(t.body,e);return t.mclass==="minner"?r=new D.MathNode("mpadded",a):t.mclass==="mord"?t.isCharacterBox?(r=a[0],r.type="mi"):r=new D.MathNode("mi",a):(t.isCharacterBox?(r=a[0],r.type="mo"):r=new D.MathNode("mo",a),t.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):t.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):t.mclass==="mopen"||t.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):t.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}H({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(t,e){var{parser:r,funcName:a}=t,n=e[0];return{type:"mclass",mode:r.mode,mclass:"m"+a.slice(5),body:Ce(n),isCharacterBox:W.isCharacterBox(n)}},htmlBuilder:xl,mathmlBuilder:wl});var Yr=t=>{var e=t.type==="ordgroup"&&t.body.length?t.body[0]:t;return e.type==="atom"&&(e.family==="bin"||e.family==="rel")?"m"+e.family:"mord"};H({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(t,e){var{parser:r}=t;return{type:"mclass",mode:r.mode,mclass:Yr(e[0]),body:Ce(e[1]),isCharacterBox:W.isCharacterBox(e[1])}}});H({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(t,e){var{parser:r,funcName:a}=t,n=e[1],i=e[0],l;a!=="\\stackrel"?l=Yr(n):l="mrel";var u={type:"op",mode:n.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:a!=="\\stackrel",body:Ce(n)},c={type:"supsub",mode:i.mode,base:u,sup:a==="\\underset"?null:i,sub:a==="\\underset"?i:null};return{type:"mclass",mode:r.mode,mclass:l,body:[c],isCharacterBox:W.isCharacterBox(c)}},htmlBuilder:xl,mathmlBuilder:wl});H({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"pmb",mode:r.mode,mclass:Yr(e[0]),body:Ce(e[0])}},htmlBuilder(t,e){var r=Be(t.body,e,!0),a=k.makeSpan([t.mclass],r,e);return a.style.textShadow="0.02em 0.01em 0.04px",a},mathmlBuilder(t,e){var r=Ye(t.body,e),a=new D.MathNode("mstyle",r);return a.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),a}});var G4={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Ci=()=>({type:"styling",body:[],mode:"math",style:"display"}),qi=t=>t.type==="textord"&&t.text==="@",j4=(t,e)=>(t.type==="mathord"||t.type==="atom")&&t.text===e;function W4(t,e,r){var a=G4[t];switch(a){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(a,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{var n=r.callFunction("\\\\cdleft",[e[0]],[]),i={type:"atom",text:a,mode:"math",family:"rel"},l=r.callFunction("\\Big",[i],[]),u=r.callFunction("\\\\cdright",[e[1]],[]),c={type:"ordgroup",mode:"math",body:[n,l,u]};return r.callFunction("\\\\cdparent",[c],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var m={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[m],[])}default:return{type:"textord",text:" ",mode:"math"}}}function X4(t){var e=[];for(t.gullet.beginGroup(),t.gullet.macros.set("\\cr","\\\\\\relax"),t.gullet.beginGroup();;){e.push(t.parseExpression(!1,"\\\\")),t.gullet.endGroup(),t.gullet.beginGroup();var r=t.fetch().text;if(r==="&"||r==="\\\\")t.consume();else if(r==="\\end"){e[e.length-1].length===0&&e.pop();break}else throw new E("Expected \\\\ or \\cr or \\end",t.nextToken)}for(var a=[],n=[a],i=0;i-1))if("<>AV".indexOf(m)>-1)for(var g=0;g<2;g++){for(var w=!0,S=c+1;SAV=|." after @',l[c]);var T=W4(m,d,t),A={type:"styling",body:[T],mode:"math",style:"display"};a.push(A),u=Ci()}i%2===0?a.push(u):a.shift(),a=[],n.push(a)}t.gullet.endGroup(),t.gullet.endGroup();var F=new Array(n[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:n,arraystretch:1,addJot:!0,rowGaps:[null],cols:F,colSeparationType:"CD",hLinesBeforeRow:new Array(n.length+1).fill([])}}H({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:a}=t;return{type:"cdlabel",mode:r.mode,side:a.slice(4),label:e[0]}},htmlBuilder(t,e){var r=e.havingStyle(e.style.sup()),a=k.wrapFragment(ue(t.label,r,e),e);return a.classes.push("cd-label-"+t.side),a.style.bottom=O(.8-a.depth),a.height=0,a.depth=0,a},mathmlBuilder(t,e){var r=new D.MathNode("mrow",[de(t.label,e)]);return r=new D.MathNode("mpadded",[r]),r.setAttribute("width","0"),t.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new D.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});H({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(t,e){var{parser:r}=t;return{type:"cdlabelparent",mode:r.mode,fragment:e[0]}},htmlBuilder(t,e){var r=k.wrapFragment(ue(t.fragment,e),e);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(t,e){return new D.MathNode("mrow",[de(t.fragment,e)])}});H({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(t,e){for(var{parser:r}=t,a=ae(e[0],"ordgroup"),n=a.body,i="",l=0;l=1114111)throw new E("\\@char with invalid code point "+i);return c<=65535?m=String.fromCharCode(c):(c-=65536,m=String.fromCharCode((c>>10)+55296,(c&1023)+56320)),{type:"textord",mode:r.mode,text:m}}});var Sl=(t,e)=>{var r=Be(t.body,e.withColor(t.color),!1);return k.makeFragment(r)},kl=(t,e)=>{var r=Ye(t.body,e.withColor(t.color)),a=new D.MathNode("mstyle",r);return a.setAttribute("mathcolor",t.color),a};H({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(t,e){var{parser:r}=t,a=ae(e[0],"color-token").color,n=e[1];return{type:"color",mode:r.mode,color:a,body:Ce(n)}},htmlBuilder:Sl,mathmlBuilder:kl});H({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(t,e){var{parser:r,breakOnTokenText:a}=t,n=ae(e[0],"color-token").color;r.gullet.macros.set("\\current@color",n);var i=r.parseExpression(!0,a);return{type:"color",mode:r.mode,color:n,body:i}},htmlBuilder:Sl,mathmlBuilder:kl});H({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(t,e,r){var{parser:a}=t,n=a.gullet.future().text==="["?a.parseSizeGroup(!0):null,i=!a.settings.displayMode||!a.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:a.mode,newLine:i,size:n&&ae(n,"size").value}},htmlBuilder(t,e){var r=k.makeSpan(["mspace"],[],e);return t.newLine&&(r.classes.push("newline"),t.size&&(r.style.marginTop=O(ke(t.size,e)))),r},mathmlBuilder(t,e){var r=new D.MathNode("mspace");return t.newLine&&(r.setAttribute("linebreak","newline"),t.size&&r.setAttribute("height",O(ke(t.size,e)))),r}});var Ua={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Ml=t=>{var e=t.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new E("Expected a control sequence",t);return e},Y4=t=>{var e=t.gullet.popToken();return e.text==="="&&(e=t.gullet.popToken(),e.text===" "&&(e=t.gullet.popToken())),e},Tl=(t,e,r,a)=>{var n=t.gullet.macros.get(r.text);n==null&&(r.noexpand=!0,n={tokens:[r],numArgs:0,unexpandable:!t.gullet.isExpandable(r.text)}),t.gullet.macros.set(e,n,a)};H({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e,funcName:r}=t;e.consumeSpaces();var a=e.fetch();if(Ua[a.text])return(r==="\\global"||r==="\\\\globallong")&&(a.text=Ua[a.text]),ae(e.parseFunction(),"internal");throw new E("Invalid token after macro prefix",a)}});H({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,a=e.gullet.popToken(),n=a.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new E("Expected a control sequence",a);for(var i=0,l,u=[[]];e.gullet.future().text!=="{";)if(a=e.gullet.popToken(),a.text==="#"){if(e.gullet.future().text==="{"){l=e.gullet.future(),u[i].push("{");break}if(a=e.gullet.popToken(),!/^[1-9]$/.test(a.text))throw new E('Invalid argument number "'+a.text+'"');if(parseInt(a.text)!==i+1)throw new E('Argument number "'+a.text+'" out of order');i++,u.push([])}else{if(a.text==="EOF")throw new E("Expected a macro definition");u[i].push(a.text)}var{tokens:c}=e.gullet.consumeArg();return l&&c.unshift(l),(r==="\\edef"||r==="\\xdef")&&(c=e.gullet.expandTokens(c),c.reverse()),e.gullet.macros.set(n,{tokens:c,numArgs:i,delimiters:u},r===Ua[r]),{type:"internal",mode:e.mode}}});H({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,a=Ml(e.gullet.popToken());e.gullet.consumeSpaces();var n=Y4(e);return Tl(e,a,n,r==="\\\\globallet"),{type:"internal",mode:e.mode}}});H({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,a=Ml(e.gullet.popToken()),n=e.gullet.popToken(),i=e.gullet.popToken();return Tl(e,a,i,r==="\\\\globalfuture"),e.gullet.pushToken(i),e.gullet.pushToken(n),{type:"internal",mode:e.mode}}});var Nt=function(e,r,a){var n=pe.math[e]&&pe.math[e].replace,i=dn(n||e,r,a);if(!i)throw new Error("Unsupported symbol "+e+" and font size "+r+".");return i},wn=function(e,r,a,n){var i=a.havingBaseStyle(r),l=k.makeSpan(n.concat(i.sizingClasses(a)),[e],a),u=i.sizeMultiplier/a.sizeMultiplier;return l.height*=u,l.depth*=u,l.maxFontSize=i.sizeMultiplier,l},Al=function(e,r,a){var n=r.havingBaseStyle(a),i=(1-r.sizeMultiplier/n.sizeMultiplier)*r.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=O(i),e.height-=i,e.depth+=i},K4=function(e,r,a,n,i,l){var u=k.makeSymbol(e,"Main-Regular",i,n),c=wn(u,r,n,l);return a&&Al(c,n,r),c},Z4=function(e,r,a,n){return k.makeSymbol(e,"Size"+r+"-Regular",a,n)},zl=function(e,r,a,n,i,l){var u=Z4(e,r,i,n),c=wn(k.makeSpan(["delimsizing","size"+r],[u],n),K.TEXT,n,l);return a&&Al(c,n,K.TEXT),c},da=function(e,r,a){var n;r==="Size1-Regular"?n="delim-size1":n="delim-size4";var i=k.makeSpan(["delimsizinginner",n],[k.makeSpan([],[k.makeSymbol(e,r,a)])]);return{type:"elem",elem:i}},pa=function(e,r,a){var n=M0["Size4-Regular"][e.charCodeAt(0)]?M0["Size4-Regular"][e.charCodeAt(0)][4]:M0["Size1-Regular"][e.charCodeAt(0)][4],i=new et("inner",a4(e,Math.round(1e3*r))),l=new O0([i],{width:O(n),height:O(r),style:"width:"+O(n),viewBox:"0 0 "+1e3*n+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),u=k.makeSvgSpan([],[l],a);return u.height=r,u.style.height=O(r),u.style.width=O(n),{type:"elem",elem:u}},Ga=.008,fr={type:"kern",size:-1*Ga},J4=["|","\\lvert","\\rvert","\\vert"],Q4=["\\|","\\lVert","\\rVert","\\Vert"],Cl=function(e,r,a,n,i,l){var u,c,m,d,g="",w=0;u=m=d=e,c=null;var S="Size1-Regular";e==="\\uparrow"?m=d="⏐":e==="\\Uparrow"?m=d="‖":e==="\\downarrow"?u=m="⏐":e==="\\Downarrow"?u=m="‖":e==="\\updownarrow"?(u="\\uparrow",m="⏐",d="\\downarrow"):e==="\\Updownarrow"?(u="\\Uparrow",m="‖",d="\\Downarrow"):W.contains(J4,e)?(m="∣",g="vert",w=333):W.contains(Q4,e)?(m="∥",g="doublevert",w=556):e==="["||e==="\\lbrack"?(u="⎡",m="⎢",d="⎣",S="Size4-Regular",g="lbrack",w=667):e==="]"||e==="\\rbrack"?(u="⎤",m="⎥",d="⎦",S="Size4-Regular",g="rbrack",w=667):e==="\\lfloor"||e==="⌊"?(m=u="⎢",d="⎣",S="Size4-Regular",g="lfloor",w=667):e==="\\lceil"||e==="⌈"?(u="⎡",m=d="⎢",S="Size4-Regular",g="lceil",w=667):e==="\\rfloor"||e==="⌋"?(m=u="⎥",d="⎦",S="Size4-Regular",g="rfloor",w=667):e==="\\rceil"||e==="⌉"?(u="⎤",m=d="⎥",S="Size4-Regular",g="rceil",w=667):e==="("||e==="\\lparen"?(u="⎛",m="⎜",d="⎝",S="Size4-Regular",g="lparen",w=875):e===")"||e==="\\rparen"?(u="⎞",m="⎟",d="⎠",S="Size4-Regular",g="rparen",w=875):e==="\\{"||e==="\\lbrace"?(u="⎧",c="⎨",d="⎩",m="⎪",S="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(u="⎫",c="⎬",d="⎭",m="⎪",S="Size4-Regular"):e==="\\lgroup"||e==="⟮"?(u="⎧",d="⎩",m="⎪",S="Size4-Regular"):e==="\\rgroup"||e==="⟯"?(u="⎫",d="⎭",m="⎪",S="Size4-Regular"):e==="\\lmoustache"||e==="⎰"?(u="⎧",d="⎭",m="⎪",S="Size4-Regular"):(e==="\\rmoustache"||e==="⎱")&&(u="⎫",d="⎩",m="⎪",S="Size4-Regular");var T=Nt(u,S,i),A=T.height+T.depth,F=Nt(m,S,i),R=F.height+F.depth,U=Nt(d,S,i),P=U.height+U.depth,Z=0,J=1;if(c!==null){var G=Nt(c,S,i);Z=G.height+G.depth,J=2}var re=A+P+Z,se=Math.max(0,Math.ceil((r-re)/(J*R))),ce=re+se*J*R,Ie=n.fontMetrics().axisHeight;a&&(Ie*=n.sizeMultiplier);var ze=ce/2-Ie,be=[];if(g.length>0){var e0=ce-A-P,De=Math.round(ce*1e3),Ue=n4(g,Math.round(e0*1e3)),ye=new et(g,Ue),he=(w/1e3).toFixed(3)+"em",le=(De/1e3).toFixed(3)+"em",u0=new O0([ye],{width:he,height:le,viewBox:"0 0 "+w+" "+De}),Ke=k.makeSvgSpan([],[u0],n);Ke.height=De/1e3,Ke.style.width=he,Ke.style.height=le,be.push({type:"elem",elem:Ke})}else{if(be.push(da(d,S,i)),be.push(fr),c===null){var Oe=ce-A-P+2*Ga;be.push(pa(m,Oe,n))}else{var we=(ce-A-P-Z)/2+2*Ga;be.push(pa(m,we,n)),be.push(fr),be.push(da(c,S,i)),be.push(fr),be.push(pa(m,we,n))}be.push(fr),be.push(da(u,S,i))}var P0=n.havingBaseStyle(K.TEXT),qt=k.makeVList({positionType:"bottom",positionData:ze,children:be},P0);return wn(k.makeSpan(["delimsizing","mult"],[qt],P0),K.TEXT,n,l)},va=80,ga=.08,ba=function(e,r,a,n,i){var l=r4(e,n,a),u=new et(e,l),c=new O0([u],{width:"400em",height:O(r),viewBox:"0 0 400000 "+a,preserveAspectRatio:"xMinYMin slice"});return k.makeSvgSpan(["hide-tail"],[c],i)},ec=function(e,r){var a=r.havingBaseSizing(),n=El("\\surd",e*a.sizeMultiplier,Dl,a),i=a.sizeMultiplier,l=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),u,c=0,m=0,d=0,g;return n.type==="small"?(d=1e3+1e3*l+va,e<1?i=1:e<1.4&&(i=.7),c=(1+l+ga)/i,m=(1+l)/i,u=ba("sqrtMain",c,d,l,r),u.style.minWidth="0.853em",g=.833/i):n.type==="large"?(d=(1e3+va)*Ht[n.size],m=(Ht[n.size]+l)/i,c=(Ht[n.size]+l+ga)/i,u=ba("sqrtSize"+n.size,c,d,l,r),u.style.minWidth="1.02em",g=1/i):(c=e+l+ga,m=e+l,d=Math.floor(1e3*e+l)+va,u=ba("sqrtTall",c,d,l,r),u.style.minWidth="0.742em",g=1.056),u.height=m,u.style.height=O(c),{span:u,advanceWidth:g,ruleWidth:(r.fontMetrics().sqrtRuleThickness+l)*i}},ql=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],tc=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],Bl=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Ht=[0,1.2,1.8,2.4,3],rc=function(e,r,a,n,i){if(e==="<"||e==="\\lt"||e==="⟨"?e="\\langle":(e===">"||e==="\\gt"||e==="⟩")&&(e="\\rangle"),W.contains(ql,e)||W.contains(Bl,e))return zl(e,r,!1,a,n,i);if(W.contains(tc,e))return Cl(e,Ht[r],!1,a,n,i);throw new E("Illegal delimiter: '"+e+"'")},ac=[{type:"small",style:K.SCRIPTSCRIPT},{type:"small",style:K.SCRIPT},{type:"small",style:K.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],nc=[{type:"small",style:K.SCRIPTSCRIPT},{type:"small",style:K.SCRIPT},{type:"small",style:K.TEXT},{type:"stack"}],Dl=[{type:"small",style:K.SCRIPTSCRIPT},{type:"small",style:K.SCRIPT},{type:"small",style:K.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],ic=function(e){if(e.type==="small")return"Main-Regular";if(e.type==="large")return"Size"+e.size+"-Regular";if(e.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},El=function(e,r,a,n){for(var i=Math.min(2,3-n.style.size),l=i;lr)return a[l]}return a[a.length-1]},Nl=function(e,r,a,n,i,l){e==="<"||e==="\\lt"||e==="⟨"?e="\\langle":(e===">"||e==="\\gt"||e==="⟩")&&(e="\\rangle");var u;W.contains(Bl,e)?u=ac:W.contains(ql,e)?u=Dl:u=nc;var c=El(e,r,u,n);return c.type==="small"?K4(e,c.style,a,n,i,l):c.type==="large"?zl(e,c.size,a,n,i,l):Cl(e,r,a,n,i,l)},sc=function(e,r,a,n,i,l){var u=n.fontMetrics().axisHeight*n.sizeMultiplier,c=901,m=5/n.fontMetrics().ptPerEm,d=Math.max(r-u,a+u),g=Math.max(d/500*c,2*d-m);return Nl(e,g,!0,n,i,l)},R0={sqrtImage:ec,sizedDelim:rc,sizeToMaxHeight:Ht,customSizedDelim:Nl,leftRightDelim:sc},Bi={"\\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}},lc=["(","\\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 Kr(t,e){var r=Xr(t);if(r&&W.contains(lc,r.text))return r;throw r?new E("Invalid delimiter '"+r.text+"' after '"+e.funcName+"'",t):new E("Invalid delimiter type '"+t.type+"'",t)}H({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:(t,e)=>{var r=Kr(e[0],t);return{type:"delimsizing",mode:t.parser.mode,size:Bi[t.funcName].size,mclass:Bi[t.funcName].mclass,delim:r.text}},htmlBuilder:(t,e)=>t.delim==="."?k.makeSpan([t.mclass]):R0.sizedDelim(t.delim,t.size,e,t.mode,[t.mclass]),mathmlBuilder:t=>{var e=[];t.delim!=="."&&e.push(o0(t.delim,t.mode));var r=new D.MathNode("mo",e);t.mclass==="mopen"||t.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var a=O(R0.sizeToMaxHeight[t.size]);return r.setAttribute("minsize",a),r.setAttribute("maxsize",a),r}});function Di(t){if(!t.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}H({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=t.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new E("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:t.parser.mode,delim:Kr(e[0],t).text,color:r}}});H({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=Kr(e[0],t),a=t.parser;++a.leftrightDepth;var n=a.parseExpression(!1);--a.leftrightDepth,a.expect("\\right",!1);var i=ae(a.parseFunction(),"leftright-right");return{type:"leftright",mode:a.mode,body:n,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(t,e)=>{Di(t);for(var r=Be(t.body,e,!0,["mopen","mclose"]),a=0,n=0,i=!1,l=0;l{Di(t);var r=Ye(t.body,e);if(t.left!=="."){var a=new D.MathNode("mo",[o0(t.left,t.mode)]);a.setAttribute("fence","true"),r.unshift(a)}if(t.right!=="."){var n=new D.MathNode("mo",[o0(t.right,t.mode)]);n.setAttribute("fence","true"),t.rightColor&&n.setAttribute("mathcolor",t.rightColor),r.push(n)}return gn(r)}});H({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=Kr(e[0],t);if(!t.parser.leftrightDepth)throw new E("\\middle without preceding \\left",r);return{type:"middle",mode:t.parser.mode,delim:r.text}},htmlBuilder:(t,e)=>{var r;if(t.delim===".")r=Wt(e,[]);else{r=R0.sizedDelim(t.delim,1,e,t.mode,[]);var a={delim:t.delim,options:e};r.isMiddle=a}return r},mathmlBuilder:(t,e)=>{var r=t.delim==="\\vert"||t.delim==="|"?o0("|","text"):o0(t.delim,t.mode),a=new D.MathNode("mo",[r]);return a.setAttribute("fence","true"),a.setAttribute("lspace","0.05em"),a.setAttribute("rspace","0.05em"),a}});var Sn=(t,e)=>{var r=k.wrapFragment(ue(t.body,e),e),a=t.label.slice(1),n=e.sizeMultiplier,i,l=0,u=W.isCharacterBox(t.body);if(a==="sout")i=k.makeSpan(["stretchy","sout"]),i.height=e.fontMetrics().defaultRuleThickness/n,l=-.5*e.fontMetrics().xHeight;else if(a==="phase"){var c=ke({number:.6,unit:"pt"},e),m=ke({number:.35,unit:"ex"},e),d=e.havingBaseSizing();n=n/d.sizeMultiplier;var g=r.height+r.depth+c+m;r.style.paddingLeft=O(g/2+c);var w=Math.floor(1e3*g*n),S=e4(w),T=new O0([new et("phase",S)],{width:"400em",height:O(w/1e3),viewBox:"0 0 400000 "+w,preserveAspectRatio:"xMinYMin slice"});i=k.makeSvgSpan(["hide-tail"],[T],e),i.style.height=O(g),l=r.depth+c+m}else{/cancel/.test(a)?u||r.classes.push("cancel-pad"):a==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var A=0,F=0,R=0;/box/.test(a)?(R=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),A=e.fontMetrics().fboxsep+(a==="colorbox"?0:R),F=A):a==="angl"?(R=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),A=4*R,F=Math.max(0,.25-r.depth)):(A=u?.2:0,F=A),i=F0.encloseSpan(r,a,A,F,e),/fbox|boxed|fcolorbox/.test(a)?(i.style.borderStyle="solid",i.style.borderWidth=O(R)):a==="angl"&&R!==.049&&(i.style.borderTopWidth=O(R),i.style.borderRightWidth=O(R)),l=r.depth+F,t.backgroundColor&&(i.style.backgroundColor=t.backgroundColor,t.borderColor&&(i.style.borderColor=t.borderColor))}var U;if(t.backgroundColor)U=k.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:l},{type:"elem",elem:r,shift:0}]},e);else{var P=/cancel|phase/.test(a)?["svg-align"]:[];U=k.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:i,shift:l,wrapperClasses:P}]},e)}return/cancel/.test(a)&&(U.height=r.height,U.depth=r.depth),/cancel/.test(a)&&!u?k.makeSpan(["mord","cancel-lap"],[U],e):k.makeSpan(["mord"],[U],e)},kn=(t,e)=>{var r=0,a=new D.MathNode(t.label.indexOf("colorbox")>-1?"mpadded":"menclose",[de(t.body,e)]);switch(t.label){case"\\cancel":a.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":a.setAttribute("notation","downdiagonalstrike");break;case"\\phase":a.setAttribute("notation","phasorangle");break;case"\\sout":a.setAttribute("notation","horizontalstrike");break;case"\\fbox":a.setAttribute("notation","box");break;case"\\angl":a.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,a.setAttribute("width","+"+2*r+"pt"),a.setAttribute("height","+"+2*r+"pt"),a.setAttribute("lspace",r+"pt"),a.setAttribute("voffset",r+"pt"),t.label==="\\fcolorbox"){var n=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);a.setAttribute("style","border: "+n+"em solid "+String(t.borderColor))}break;case"\\xcancel":a.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return t.backgroundColor&&a.setAttribute("mathbackground",t.backgroundColor),a};H({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(t,e,r){var{parser:a,funcName:n}=t,i=ae(e[0],"color-token").color,l=e[1];return{type:"enclose",mode:a.mode,label:n,backgroundColor:i,body:l}},htmlBuilder:Sn,mathmlBuilder:kn});H({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(t,e,r){var{parser:a,funcName:n}=t,i=ae(e[0],"color-token").color,l=ae(e[1],"color-token").color,u=e[2];return{type:"enclose",mode:a.mode,label:n,backgroundColor:l,borderColor:i,body:u}},htmlBuilder:Sn,mathmlBuilder:kn});H({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"enclose",mode:r.mode,label:"\\fbox",body:e[0]}}});H({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:a}=t,n=e[0];return{type:"enclose",mode:r.mode,label:a,body:n}},htmlBuilder:Sn,mathmlBuilder:kn});H({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(t,e){var{parser:r}=t;return{type:"enclose",mode:r.mode,label:"\\angl",body:e[0]}}});var Il={};function T0(t){for(var{type:e,names:r,props:a,handler:n,htmlBuilder:i,mathmlBuilder:l}=t,u={type:e,numArgs:a.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:n},c=0;c{var e=t.parser.settings;if(!e.displayMode)throw new E("{"+t.envName+"} can be used only in display mode.")};function Mn(t){if(t.indexOf("ed")===-1)return t.indexOf("*")===-1}function it(t,e,r){var{hskipBeforeAndAfter:a,addJot:n,cols:i,arraystretch:l,colSeparationType:u,autoTag:c,singleRow:m,emptySingleRow:d,maxNumCols:g,leqno:w}=e;if(t.gullet.beginGroup(),m||t.gullet.macros.set("\\cr","\\\\\\relax"),!l){var S=t.gullet.expandMacroAsText("\\arraystretch");if(S==null)l=1;else if(l=parseFloat(S),!l||l<0)throw new E("Invalid \\arraystretch: "+S)}t.gullet.beginGroup();var T=[],A=[T],F=[],R=[],U=c!=null?[]:void 0;function P(){c&&t.gullet.macros.set("\\@eqnsw","1",!0)}function Z(){U&&(t.gullet.macros.get("\\df@tag")?(U.push(t.subparse([new s0("\\df@tag")])),t.gullet.macros.set("\\df@tag",void 0,!0)):U.push(!!c&&t.gullet.macros.get("\\@eqnsw")==="1"))}for(P(),R.push(Ei(t));;){var J=t.parseExpression(!1,m?"\\end":"\\\\");t.gullet.endGroup(),t.gullet.beginGroup(),J={type:"ordgroup",mode:t.mode,body:J},r&&(J={type:"styling",mode:t.mode,style:r,body:[J]}),T.push(J);var G=t.fetch().text;if(G==="&"){if(g&&T.length===g){if(m||u)throw new E("Too many tab characters: &",t.nextToken);t.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}t.consume()}else if(G==="\\end"){Z(),T.length===1&&J.type==="styling"&&J.body[0].body.length===0&&(A.length>1||!d)&&A.pop(),R.length0&&(P+=.25),m.push({pos:P,isDashed:N[L]})}for(Z(l[0]),a=0;a0&&(ze+=U,reN))for(a=0;a=u)){var c0=void 0;(n>0||e.hskipBeforeAndAfter)&&(c0=W.deflt(we.pregap,w),c0!==0&&(Ue=k.makeSpan(["arraycolsep"],[]),Ue.style.width=O(c0),De.push(Ue)));var g0=[];for(a=0;a0){for(var Qt=k.makeLineSpan("hline",r,d),b=k.makeLineSpan("hdashline",r,d),x=[{type:"elem",elem:c,shift:0}];m.length>0;){var M=m.pop(),z=M.pos-be;M.isDashed?x.push({type:"elem",elem:b,shift:z}):x.push({type:"elem",elem:Qt,shift:z})}c=k.makeVList({positionType:"individualShift",children:x},r)}if(he.length===0)return k.makeSpan(["mord"],[c],r);var C=k.makeVList({positionType:"individualShift",children:he},r);return C=k.makeSpan(["tag"],[C],r),k.makeFragment([c,C])},oc={c:"center ",l:"left ",r:"right "},z0=function(e,r){for(var a=[],n=new D.MathNode("mtd",[],["mtr-glue"]),i=new D.MathNode("mtd",[],["mml-eqn-num"]),l=0;l0){var T=e.cols,A="",F=!1,R=0,U=T.length;T[0].type==="separator"&&(w+="top ",R=1),T[T.length-1].type==="separator"&&(w+="bottom ",U-=1);for(var P=R;P0?"left ":"",w+=se[se.length-1].length>0?"right ":"";for(var ce=1;ce-1?"alignat":"align",i=e.envName==="split",l=it(e.parser,{cols:a,addJot:!0,autoTag:i?void 0:Mn(e.envName),emptySingleRow:!0,colSeparationType:n,maxNumCols:i?2:void 0,leqno:e.parser.settings.leqno},"display"),u,c=0,m={type:"ordgroup",mode:e.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var d="",g=0;g0&&S&&(F=1),a[T]={type:"align",align:A,pregap:F,postgap:0}}return l.colSeparationType=S?"align":"alignat",l};T0({type:"array",names:["array","darray"],props:{numArgs:1},handler(t,e){var r=Xr(e[0]),a=r?[e[0]]:ae(e[0],"ordgroup").body,n=a.map(function(l){var u=yn(l),c=u.text;if("lcr".indexOf(c)!==-1)return{type:"align",align:c};if(c==="|")return{type:"separator",separator:"|"};if(c===":")return{type:"separator",separator:":"};throw new E("Unknown column alignment: "+c,l)}),i={cols:n,hskipBeforeAndAfter:!0,maxNumCols:n.length};return it(t.parser,i,Tn(t.envName))},htmlBuilder:A0,mathmlBuilder:z0});T0({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(t){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[t.envName.replace("*","")],r="c",a={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(t.envName.charAt(t.envName.length-1)==="*"){var n=t.parser;if(n.consumeSpaces(),n.fetch().text==="["){if(n.consume(),n.consumeSpaces(),r=n.fetch().text,"lcr".indexOf(r)===-1)throw new E("Expected l or c or r",n.nextToken);n.consume(),n.consumeSpaces(),n.expect("]"),n.consume(),a.cols=[{type:"align",align:r}]}}var i=it(t.parser,a,Tn(t.envName)),l=Math.max(0,...i.body.map(u=>u.length));return i.cols=new Array(l).fill({type:"align",align:r}),e?{type:"leftright",mode:t.mode,body:[i],left:e[0],right:e[1],rightColor:void 0}:i},htmlBuilder:A0,mathmlBuilder:z0});T0({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(t){var e={arraystretch:.5},r=it(t.parser,e,"script");return r.colSeparationType="small",r},htmlBuilder:A0,mathmlBuilder:z0});T0({type:"array",names:["subarray"],props:{numArgs:1},handler(t,e){var r=Xr(e[0]),a=r?[e[0]]:ae(e[0],"ordgroup").body,n=a.map(function(l){var u=yn(l),c=u.text;if("lc".indexOf(c)!==-1)return{type:"align",align:c};throw new E("Unknown column alignment: "+c,l)});if(n.length>1)throw new E("{subarray} can contain only one column");var i={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5};if(i=it(t.parser,i,"script"),i.body.length>0&&i.body[0].length>1)throw new E("{subarray} can contain only one column");return i},htmlBuilder:A0,mathmlBuilder:z0});T0({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(t){var e={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=it(t.parser,e,Tn(t.envName));return{type:"leftright",mode:t.mode,body:[r],left:t.envName.indexOf("r")>-1?".":"\\{",right:t.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:A0,mathmlBuilder:z0});T0({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Ol,htmlBuilder:A0,mathmlBuilder:z0});T0({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(t){W.contains(["gather","gather*"],t.envName)&&Zr(t);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Mn(t.envName),emptySingleRow:!0,leqno:t.parser.settings.leqno};return it(t.parser,e,"display")},htmlBuilder:A0,mathmlBuilder:z0});T0({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Ol,htmlBuilder:A0,mathmlBuilder:z0});T0({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(t){Zr(t);var e={autoTag:Mn(t.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:t.parser.settings.leqno};return it(t.parser,e,"display")},htmlBuilder:A0,mathmlBuilder:z0});T0({type:"array",names:["CD"],props:{numArgs:0},handler(t){return Zr(t),X4(t.parser)},htmlBuilder:A0,mathmlBuilder:z0});f("\\nonumber","\\gdef\\@eqnsw{0}");f("\\notag","\\nonumber");H({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(t,e){throw new E(t.funcName+" valid only within array environment")}});var Ni=Il;H({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(t,e){var{parser:r,funcName:a}=t,n=e[0];if(n.type!=="ordgroup")throw new E("Invalid environment name",n);for(var i="",l=0;l{var r=t.font,a=e.withFont(r);return ue(t.body,a)},Fl=(t,e)=>{var r=t.font,a=e.withFont(r);return de(t.body,a)},Ii={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};H({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(t,e)=>{var{parser:r,funcName:a}=t,n=Ir(e[0]),i=a;return i in Ii&&(i=Ii[i]),{type:"font",mode:r.mode,font:i.slice(1),body:n}},htmlBuilder:_l,mathmlBuilder:Fl});H({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(t,e)=>{var{parser:r}=t,a=e[0],n=W.isCharacterBox(a);return{type:"mclass",mode:r.mode,mclass:Yr(a),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:a}],isCharacterBox:n}}});H({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:a,breakOnTokenText:n}=t,{mode:i}=r,l=r.parseExpression(!0,n),u="math"+a.slice(1);return{type:"font",mode:i,font:u,body:{type:"ordgroup",mode:r.mode,body:l}}},htmlBuilder:_l,mathmlBuilder:Fl});var Ll=(t,e)=>{var r=e;return t==="display"?r=r.id>=K.SCRIPT.id?r.text():K.DISPLAY:t==="text"&&r.size===K.DISPLAY.size?r=K.TEXT:t==="script"?r=K.SCRIPT:t==="scriptscript"&&(r=K.SCRIPTSCRIPT),r},An=(t,e)=>{var r=Ll(t.size,e.style),a=r.fracNum(),n=r.fracDen(),i;i=e.havingStyle(a);var l=ue(t.numer,i,e);if(t.continued){var u=8.5/e.fontMetrics().ptPerEm,c=3.5/e.fontMetrics().ptPerEm;l.height=l.height0?T=3*w:T=7*w,A=e.fontMetrics().denom1):(g>0?(S=e.fontMetrics().num2,T=w):(S=e.fontMetrics().num3,T=3*w),A=e.fontMetrics().denom2);var F;if(d){var U=e.fontMetrics().axisHeight;S-l.depth-(U+.5*g){var r=new D.MathNode("mfrac",[de(t.numer,e),de(t.denom,e)]);if(!t.hasBarLine)r.setAttribute("linethickness","0px");else if(t.barSize){var a=ke(t.barSize,e);r.setAttribute("linethickness",O(a))}var n=Ll(t.size,e.style);if(n.size!==e.style.size){r=new D.MathNode("mstyle",[r]);var i=n.size===K.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",i),r.setAttribute("scriptlevel","0")}if(t.leftDelim!=null||t.rightDelim!=null){var l=[];if(t.leftDelim!=null){var u=new D.MathNode("mo",[new D.TextNode(t.leftDelim.replace("\\",""))]);u.setAttribute("fence","true"),l.push(u)}if(l.push(r),t.rightDelim!=null){var c=new D.MathNode("mo",[new D.TextNode(t.rightDelim.replace("\\",""))]);c.setAttribute("fence","true"),l.push(c)}return gn(l)}return r};H({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(t,e)=>{var{parser:r,funcName:a}=t,n=e[0],i=e[1],l,u=null,c=null,m="auto";switch(a){case"\\dfrac":case"\\frac":case"\\tfrac":l=!0;break;case"\\\\atopfrac":l=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":l=!1,u="(",c=")";break;case"\\\\bracefrac":l=!1,u="\\{",c="\\}";break;case"\\\\brackfrac":l=!1,u="[",c="]";break;default:throw new Error("Unrecognized genfrac command")}switch(a){case"\\dfrac":case"\\dbinom":m="display";break;case"\\tfrac":case"\\tbinom":m="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:n,denom:i,hasBarLine:l,leftDelim:u,rightDelim:c,size:m,barSize:null}},htmlBuilder:An,mathmlBuilder:zn});H({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(t,e)=>{var{parser:r,funcName:a}=t,n=e[0],i=e[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:n,denom:i,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});H({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(t){var{parser:e,funcName:r,token:a}=t,n;switch(r){case"\\over":n="\\frac";break;case"\\choose":n="\\binom";break;case"\\atop":n="\\\\atopfrac";break;case"\\brace":n="\\\\bracefrac";break;case"\\brack":n="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:n,token:a}}});var Ri=["display","text","script","scriptscript"],Oi=function(e){var r=null;return e.length>0&&(r=e,r=r==="."?null:r),r};H({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(t,e){var{parser:r}=t,a=e[4],n=e[5],i=Ir(e[0]),l=i.type==="atom"&&i.family==="open"?Oi(i.text):null,u=Ir(e[1]),c=u.type==="atom"&&u.family==="close"?Oi(u.text):null,m=ae(e[2],"size"),d,g=null;m.isBlank?d=!0:(g=m.value,d=g.number>0);var w="auto",S=e[3];if(S.type==="ordgroup"){if(S.body.length>0){var T=ae(S.body[0],"textord");w=Ri[Number(T.text)]}}else S=ae(S,"textord"),w=Ri[Number(S.text)];return{type:"genfrac",mode:r.mode,numer:a,denom:n,continued:!1,hasBarLine:d,barSize:g,leftDelim:l,rightDelim:c,size:w}},htmlBuilder:An,mathmlBuilder:zn});H({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(t,e){var{parser:r,funcName:a,token:n}=t;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:ae(e[0],"size").value,token:n}}});H({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(t,e)=>{var{parser:r,funcName:a}=t,n=e[0],i=Lu(ae(e[1],"infix").size),l=e[2],u=i.number>0;return{type:"genfrac",mode:r.mode,numer:n,denom:l,continued:!1,hasBarLine:u,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:An,mathmlBuilder:zn});var Hl=(t,e)=>{var r=e.style,a,n;t.type==="supsub"?(a=t.sup?ue(t.sup,e.havingStyle(r.sup()),e):ue(t.sub,e.havingStyle(r.sub()),e),n=ae(t.base,"horizBrace")):n=ae(t,"horizBrace");var i=ue(n.base,e.havingBaseStyle(K.DISPLAY)),l=F0.svgSpan(n,e),u;if(n.isOver?(u=k.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:l}]},e),u.children[0].children[0].children[1].classes.push("svg-align")):(u=k.makeVList({positionType:"bottom",positionData:i.depth+.1+l.height,children:[{type:"elem",elem:l},{type:"kern",size:.1},{type:"elem",elem:i}]},e),u.children[0].children[0].children[0].classes.push("svg-align")),a){var c=k.makeSpan(["mord",n.isOver?"mover":"munder"],[u],e);n.isOver?u=k.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:c},{type:"kern",size:.2},{type:"elem",elem:a}]},e):u=k.makeVList({positionType:"bottom",positionData:c.depth+.2+a.height+a.depth,children:[{type:"elem",elem:a},{type:"kern",size:.2},{type:"elem",elem:c}]},e)}return k.makeSpan(["mord",n.isOver?"mover":"munder"],[u],e)},uc=(t,e)=>{var r=F0.mathMLnode(t.label);return new D.MathNode(t.isOver?"mover":"munder",[de(t.base,e),r])};H({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:a}=t;return{type:"horizBrace",mode:r.mode,label:a,isOver:/^\\over/.test(a),base:e[0]}},htmlBuilder:Hl,mathmlBuilder:uc});H({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,a=e[1],n=ae(e[0],"url").url;return r.settings.isTrusted({command:"\\href",url:n})?{type:"href",mode:r.mode,href:n,body:Ce(a)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(t,e)=>{var r=Be(t.body,e,!1);return k.makeAnchor(t.href,[],r,e)},mathmlBuilder:(t,e)=>{var r=tt(t.body,e);return r instanceof r0||(r=new r0("mrow",[r])),r.setAttribute("href",t.href),r}});H({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,a=ae(e[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:a}))return r.formatUnsupportedCmd("\\url");for(var n=[],i=0;i{var{parser:r,funcName:a,token:n}=t,i=ae(e[0],"raw").string,l=e[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var u,c={};switch(a){case"\\htmlClass":c.class=i,u={command:"\\htmlClass",class:i};break;case"\\htmlId":c.id=i,u={command:"\\htmlId",id:i};break;case"\\htmlStyle":c.style=i,u={command:"\\htmlStyle",style:i};break;case"\\htmlData":{for(var m=i.split(","),d=0;d{var r=Be(t.body,e,!1),a=["enclosing"];t.attributes.class&&a.push(...t.attributes.class.trim().split(/\s+/));var n=k.makeSpan(a,r,e);for(var i in t.attributes)i!=="class"&&t.attributes.hasOwnProperty(i)&&n.setAttribute(i,t.attributes[i]);return n},mathmlBuilder:(t,e)=>tt(t.body,e)});H({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t;return{type:"htmlmathml",mode:r.mode,html:Ce(e[0]),mathml:Ce(e[1])}},htmlBuilder:(t,e)=>{var r=Be(t.html,e,!1);return k.makeFragment(r)},mathmlBuilder:(t,e)=>tt(t.mathml,e)});var ya=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!r)throw new E("Invalid size: '"+e+"' in \\includegraphics");var a={number:+(r[1]+r[2]),unit:r[3]};if(!il(a))throw new E("Invalid unit: '"+a.unit+"' in \\includegraphics.");return a};H({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(t,e,r)=>{var{parser:a}=t,n={number:0,unit:"em"},i={number:.9,unit:"em"},l={number:0,unit:"em"},u="";if(r[0])for(var c=ae(r[0],"raw").string,m=c.split(","),d=0;d{var r=ke(t.height,e),a=0;t.totalheight.number>0&&(a=ke(t.totalheight,e)-r);var n=0;t.width.number>0&&(n=ke(t.width,e));var i={height:O(r+a)};n>0&&(i.width=O(n)),a>0&&(i.verticalAlign=O(-a));var l=new u4(t.src,t.alt,i);return l.height=r,l.depth=a,l},mathmlBuilder:(t,e)=>{var r=new D.MathNode("mglyph",[]);r.setAttribute("alt",t.alt);var a=ke(t.height,e),n=0;if(t.totalheight.number>0&&(n=ke(t.totalheight,e)-a,r.setAttribute("valign",O(-n))),r.setAttribute("height",O(a+n)),t.width.number>0){var i=ke(t.width,e);r.setAttribute("width",O(i))}return r.setAttribute("src",t.src),r}});H({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(t,e){var{parser:r,funcName:a}=t,n=ae(e[0],"size");if(r.settings.strict){var i=a[1]==="m",l=n.value.unit==="mu";i?(l||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" supports only mu units, "+("not "+n.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" works only in math mode")):l&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:n.value}},htmlBuilder(t,e){return k.makeGlue(t.dimension,e)},mathmlBuilder(t,e){var r=ke(t.dimension,e);return new D.SpaceNode(r)}});H({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:a}=t,n=e[0];return{type:"lap",mode:r.mode,alignment:a.slice(5),body:n}},htmlBuilder:(t,e)=>{var r;t.alignment==="clap"?(r=k.makeSpan([],[ue(t.body,e)]),r=k.makeSpan(["inner"],[r],e)):r=k.makeSpan(["inner"],[ue(t.body,e)]);var a=k.makeSpan(["fix"],[]),n=k.makeSpan([t.alignment],[r,a],e),i=k.makeSpan(["strut"]);return i.style.height=O(n.height+n.depth),n.depth&&(i.style.verticalAlign=O(-n.depth)),n.children.unshift(i),n=k.makeSpan(["thinbox"],[n],e),k.makeSpan(["mord","vbox"],[n],e)},mathmlBuilder:(t,e)=>{var r=new D.MathNode("mpadded",[de(t.body,e)]);if(t.alignment!=="rlap"){var a=t.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",a+"width")}return r.setAttribute("width","0px"),r}});H({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){var{funcName:r,parser:a}=t,n=a.mode;a.switchMode("math");var i=r==="\\("?"\\)":"$",l=a.parseExpression(!1,i);return a.expect(i),a.switchMode(n),{type:"styling",mode:a.mode,style:"text",body:l}}});H({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){throw new E("Mismatched "+t.funcName)}});var _i=(t,e)=>{switch(e.style.size){case K.DISPLAY.size:return t.display;case K.TEXT.size:return t.text;case K.SCRIPT.size:return t.script;case K.SCRIPTSCRIPT.size:return t.scriptscript;default:return t.text}};H({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(t,e)=>{var{parser:r}=t;return{type:"mathchoice",mode:r.mode,display:Ce(e[0]),text:Ce(e[1]),script:Ce(e[2]),scriptscript:Ce(e[3])}},htmlBuilder:(t,e)=>{var r=_i(t,e),a=Be(r,e,!1);return k.makeFragment(a)},mathmlBuilder:(t,e)=>{var r=_i(t,e);return tt(r,e)}});var Pl=(t,e,r,a,n,i,l)=>{t=k.makeSpan([],[t]);var u=r&&W.isCharacterBox(r),c,m;if(e){var d=ue(e,a.havingStyle(n.sup()),a);m={elem:d,kern:Math.max(a.fontMetrics().bigOpSpacing1,a.fontMetrics().bigOpSpacing3-d.depth)}}if(r){var g=ue(r,a.havingStyle(n.sub()),a);c={elem:g,kern:Math.max(a.fontMetrics().bigOpSpacing2,a.fontMetrics().bigOpSpacing4-g.height)}}var w;if(m&&c){var S=a.fontMetrics().bigOpSpacing5+c.elem.height+c.elem.depth+c.kern+t.depth+l;w=k.makeVList({positionType:"bottom",positionData:S,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:c.elem,marginLeft:O(-i)},{type:"kern",size:c.kern},{type:"elem",elem:t},{type:"kern",size:m.kern},{type:"elem",elem:m.elem,marginLeft:O(i)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else if(c){var T=t.height-l;w=k.makeVList({positionType:"top",positionData:T,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:c.elem,marginLeft:O(-i)},{type:"kern",size:c.kern},{type:"elem",elem:t}]},a)}else if(m){var A=t.depth+l;w=k.makeVList({positionType:"bottom",positionData:A,children:[{type:"elem",elem:t},{type:"kern",size:m.kern},{type:"elem",elem:m.elem,marginLeft:O(i)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else return t;var F=[w];if(c&&i!==0&&!u){var R=k.makeSpan(["mspace"],[],a);R.style.marginRight=O(i),F.unshift(R)}return k.makeSpan(["mop","op-limits"],F,a)},Vl=["\\smallint"],Ct=(t,e)=>{var r,a,n=!1,i;t.type==="supsub"?(r=t.sup,a=t.sub,i=ae(t.base,"op"),n=!0):i=ae(t,"op");var l=e.style,u=!1;l.size===K.DISPLAY.size&&i.symbol&&!W.contains(Vl,i.name)&&(u=!0);var c;if(i.symbol){var m=u?"Size2-Regular":"Size1-Regular",d="";if((i.name==="\\oiint"||i.name==="\\oiiint")&&(d=i.name.slice(1),i.name=d==="oiint"?"\\iint":"\\iiint"),c=k.makeSymbol(i.name,m,"math",e,["mop","op-symbol",u?"large-op":"small-op"]),d.length>0){var g=c.italic,w=k.staticSvg(d+"Size"+(u?"2":"1"),e);c=k.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:0},{type:"elem",elem:w,shift:u?.08:0}]},e),i.name="\\"+d,c.classes.unshift("mop"),c.italic=g}}else if(i.body){var S=Be(i.body,e,!0);S.length===1&&S[0]instanceof l0?(c=S[0],c.classes[0]="mop"):c=k.makeSpan(["mop"],S,e)}else{for(var T=[],A=1;A{var r;if(t.symbol)r=new r0("mo",[o0(t.name,t.mode)]),W.contains(Vl,t.name)&&r.setAttribute("largeop","false");else if(t.body)r=new r0("mo",Ye(t.body,e));else{r=new r0("mi",[new Lt(t.name.slice(1))]);var a=new r0("mo",[o0("⁡","text")]);t.parentIsSupSub?r=new r0("mrow",[r,a]):r=vl([r,a])}return r},cc={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};H({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(t,e)=>{var{parser:r,funcName:a}=t,n=a;return n.length===1&&(n=cc[n]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Ct,mathmlBuilder:Zt});H({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var{parser:r}=t,a=e[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Ce(a)}},htmlBuilder:Ct,mathmlBuilder:Zt});var hc={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};H({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(t){var{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Ct,mathmlBuilder:Zt});H({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Ct,mathmlBuilder:Zt});H({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t,a=r;return a.length===1&&(a=hc[a]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:Ct,mathmlBuilder:Zt});var $l=(t,e)=>{var r,a,n=!1,i;t.type==="supsub"?(r=t.sup,a=t.sub,i=ae(t.base,"operatorname"),n=!0):i=ae(t,"operatorname");var l;if(i.body.length>0){for(var u=i.body.map(g=>{var w=g.text;return typeof w=="string"?{type:"textord",mode:g.mode,text:w}:g}),c=Be(u,e.withFont("mathrm"),!0),m=0;m{for(var r=Ye(t.body,e.withFont("mathrm")),a=!0,n=0;nd.toText()).join("");r=[new D.TextNode(u)]}var c=new D.MathNode("mi",r);c.setAttribute("mathvariant","normal");var m=new D.MathNode("mo",[o0("⁡","text")]);return t.parentIsSupSub?new D.MathNode("mrow",[c,m]):D.newDocumentFragment([c,m])};H({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(t,e)=>{var{parser:r,funcName:a}=t,n=e[0];return{type:"operatorname",mode:r.mode,body:Ce(n),alwaysHandleSupSub:a==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:$l,mathmlBuilder:mc});f("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");pt({type:"ordgroup",htmlBuilder(t,e){return t.semisimple?k.makeFragment(Be(t.body,e,!1)):k.makeSpan(["mord"],Be(t.body,e,!0),e)},mathmlBuilder(t,e){return tt(t.body,e,!0)}});H({type:"overline",names:["\\overline"],props:{numArgs:1},handler(t,e){var{parser:r}=t,a=e[0];return{type:"overline",mode:r.mode,body:a}},htmlBuilder(t,e){var r=ue(t.body,e.havingCrampedStyle()),a=k.makeLineSpan("overline-line",e),n=e.fontMetrics().defaultRuleThickness,i=k.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*n},{type:"elem",elem:a},{type:"kern",size:n}]},e);return k.makeSpan(["mord","overline"],[i],e)},mathmlBuilder(t,e){var r=new D.MathNode("mo",[new D.TextNode("‾")]);r.setAttribute("stretchy","true");var a=new D.MathNode("mover",[de(t.body,e),r]);return a.setAttribute("accent","true"),a}});H({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,a=e[0];return{type:"phantom",mode:r.mode,body:Ce(a)}},htmlBuilder:(t,e)=>{var r=Be(t.body,e.withPhantom(),!1);return k.makeFragment(r)},mathmlBuilder:(t,e)=>{var r=Ye(t.body,e);return new D.MathNode("mphantom",r)}});H({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,a=e[0];return{type:"hphantom",mode:r.mode,body:a}},htmlBuilder:(t,e)=>{var r=k.makeSpan([],[ue(t.body,e.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var a=0;a{var r=Ye(Ce(t.body),e),a=new D.MathNode("mphantom",r),n=new D.MathNode("mpadded",[a]);return n.setAttribute("height","0px"),n.setAttribute("depth","0px"),n}});H({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,a=e[0];return{type:"vphantom",mode:r.mode,body:a}},htmlBuilder:(t,e)=>{var r=k.makeSpan(["inner"],[ue(t.body,e.withPhantom())]),a=k.makeSpan(["fix"],[]);return k.makeSpan(["mord","rlap"],[r,a],e)},mathmlBuilder:(t,e)=>{var r=Ye(Ce(t.body),e),a=new D.MathNode("mphantom",r),n=new D.MathNode("mpadded",[a]);return n.setAttribute("width","0px"),n}});H({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(t,e){var{parser:r}=t,a=ae(e[0],"size").value,n=e[1];return{type:"raisebox",mode:r.mode,dy:a,body:n}},htmlBuilder(t,e){var r=ue(t.body,e),a=ke(t.dy,e);return k.makeVList({positionType:"shift",positionData:-a,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){var r=new D.MathNode("mpadded",[de(t.body,e)]),a=t.dy.number+t.dy.unit;return r.setAttribute("voffset",a),r}});H({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e}=t;return{type:"internal",mode:e.mode}}});H({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(t,e,r){var{parser:a}=t,n=r[0],i=ae(e[0],"size"),l=ae(e[1],"size");return{type:"rule",mode:a.mode,shift:n&&ae(n,"size").value,width:i.value,height:l.value}},htmlBuilder(t,e){var r=k.makeSpan(["mord","rule"],[],e),a=ke(t.width,e),n=ke(t.height,e),i=t.shift?ke(t.shift,e):0;return r.style.borderRightWidth=O(a),r.style.borderTopWidth=O(n),r.style.bottom=O(i),r.width=a,r.height=n+i,r.depth=-i,r.maxFontSize=n*1.125*e.sizeMultiplier,r},mathmlBuilder(t,e){var r=ke(t.width,e),a=ke(t.height,e),n=t.shift?ke(t.shift,e):0,i=e.color&&e.getColor()||"black",l=new D.MathNode("mspace");l.setAttribute("mathbackground",i),l.setAttribute("width",O(r)),l.setAttribute("height",O(a));var u=new D.MathNode("mpadded",[l]);return n>=0?u.setAttribute("height",O(n)):(u.setAttribute("height",O(n)),u.setAttribute("depth",O(-n))),u.setAttribute("voffset",O(n)),u}});function Ul(t,e,r){for(var a=Be(t,e,!1),n=e.sizeMultiplier/r.sizeMultiplier,i=0;i{var r=e.havingSize(t.size);return Ul(t.body,r,e)};H({type:"sizing",names:Fi,props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{breakOnTokenText:r,funcName:a,parser:n}=t,i=n.parseExpression(!1,r);return{type:"sizing",mode:n.mode,size:Fi.indexOf(a)+1,body:i}},htmlBuilder:fc,mathmlBuilder:(t,e)=>{var r=e.havingSize(t.size),a=Ye(t.body,r),n=new D.MathNode("mstyle",a);return n.setAttribute("mathsize",O(r.sizeMultiplier)),n}});H({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(t,e,r)=>{var{parser:a}=t,n=!1,i=!1,l=r[0]&&ae(r[0],"ordgroup");if(l)for(var u="",c=0;c{var r=k.makeSpan([],[ue(t.body,e)]);if(!t.smashHeight&&!t.smashDepth)return r;if(t.smashHeight&&(r.height=0,r.children))for(var a=0;a{var r=new D.MathNode("mpadded",[de(t.body,e)]);return t.smashHeight&&r.setAttribute("height","0px"),t.smashDepth&&r.setAttribute("depth","0px"),r}});H({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(t,e,r){var{parser:a}=t,n=r[0],i=e[0];return{type:"sqrt",mode:a.mode,body:i,index:n}},htmlBuilder(t,e){var r=ue(t.body,e.havingCrampedStyle());r.height===0&&(r.height=e.fontMetrics().xHeight),r=k.wrapFragment(r,e);var a=e.fontMetrics(),n=a.defaultRuleThickness,i=n;e.style.idr.height+r.depth+l&&(l=(l+g-r.height-r.depth)/2);var w=c.height-r.height-l-m;r.style.paddingLeft=O(d);var S=k.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+w)},{type:"elem",elem:c},{type:"kern",size:m}]},e);if(t.index){var T=e.havingStyle(K.SCRIPTSCRIPT),A=ue(t.index,T,e),F=.6*(S.height-S.depth),R=k.makeVList({positionType:"shift",positionData:-F,children:[{type:"elem",elem:A}]},e),U=k.makeSpan(["root"],[R]);return k.makeSpan(["mord","sqrt"],[U,S],e)}else return k.makeSpan(["mord","sqrt"],[S],e)},mathmlBuilder(t,e){var{body:r,index:a}=t;return a?new D.MathNode("mroot",[de(r,e),de(a,e)]):new D.MathNode("msqrt",[de(r,e)])}});var Li={display:K.DISPLAY,text:K.TEXT,script:K.SCRIPT,scriptscript:K.SCRIPTSCRIPT};H({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t,e){var{breakOnTokenText:r,funcName:a,parser:n}=t,i=n.parseExpression(!0,r),l=a.slice(1,a.length-5);return{type:"styling",mode:n.mode,style:l,body:i}},htmlBuilder(t,e){var r=Li[t.style],a=e.havingStyle(r).withFont("");return Ul(t.body,a,e)},mathmlBuilder(t,e){var r=Li[t.style],a=e.havingStyle(r),n=Ye(t.body,a),i=new D.MathNode("mstyle",n),l={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},u=l[t.style];return i.setAttribute("scriptlevel",u[0]),i.setAttribute("displaystyle",u[1]),i}});var dc=function(e,r){var a=e.base;if(a)if(a.type==="op"){var n=a.limits&&(r.style.size===K.DISPLAY.size||a.alwaysHandleSupSub);return n?Ct:null}else if(a.type==="operatorname"){var i=a.alwaysHandleSupSub&&(r.style.size===K.DISPLAY.size||a.limits);return i?$l:null}else{if(a.type==="accent")return W.isCharacterBox(a.base)?xn:null;if(a.type==="horizBrace"){var l=!e.sub;return l===a.isOver?Hl:null}else return null}else return null};pt({type:"supsub",htmlBuilder(t,e){var r=dc(t,e);if(r)return r(t,e);var{base:a,sup:n,sub:i}=t,l=ue(a,e),u,c,m=e.fontMetrics(),d=0,g=0,w=a&&W.isCharacterBox(a);if(n){var S=e.havingStyle(e.style.sup());u=ue(n,S,e),w||(d=l.height-S.fontMetrics().supDrop*S.sizeMultiplier/e.sizeMultiplier)}if(i){var T=e.havingStyle(e.style.sub());c=ue(i,T,e),w||(g=l.depth+T.fontMetrics().subDrop*T.sizeMultiplier/e.sizeMultiplier)}var A;e.style===K.DISPLAY?A=m.sup1:e.style.cramped?A=m.sup3:A=m.sup2;var F=e.sizeMultiplier,R=O(.5/m.ptPerEm/F),U=null;if(c){var P=t.base&&t.base.type==="op"&&t.base.name&&(t.base.name==="\\oiint"||t.base.name==="\\oiiint");(l instanceof l0||P)&&(U=O(-l.italic))}var Z;if(u&&c){d=Math.max(d,A,u.depth+.25*m.xHeight),g=Math.max(g,m.sub2);var J=m.defaultRuleThickness,G=4*J;if(d-u.depth-(c.height-g)0&&(d+=re,g-=re)}var se=[{type:"elem",elem:c,shift:g,marginRight:R,marginLeft:U},{type:"elem",elem:u,shift:-d,marginRight:R}];Z=k.makeVList({positionType:"individualShift",children:se},e)}else if(c){g=Math.max(g,m.sub1,c.height-.8*m.xHeight);var ce=[{type:"elem",elem:c,marginLeft:U,marginRight:R}];Z=k.makeVList({positionType:"shift",positionData:g,children:ce},e)}else if(u)d=Math.max(d,A,u.depth+.25*m.xHeight),Z=k.makeVList({positionType:"shift",positionData:-d,children:[{type:"elem",elem:u,marginRight:R}]},e);else throw new Error("supsub must have either sup or sub.");var Ie=Va(l,"right")||"mord";return k.makeSpan([Ie],[l,k.makeSpan(["msupsub"],[Z])],e)},mathmlBuilder(t,e){var r=!1,a,n;t.base&&t.base.type==="horizBrace"&&(n=!!t.sup,n===t.base.isOver&&(r=!0,a=t.base.isOver)),t.base&&(t.base.type==="op"||t.base.type==="operatorname")&&(t.base.parentIsSupSub=!0);var i=[de(t.base,e)];t.sub&&i.push(de(t.sub,e)),t.sup&&i.push(de(t.sup,e));var l;if(r)l=a?"mover":"munder";else if(t.sub)if(t.sup){var m=t.base;m&&m.type==="op"&&m.limits&&e.style===K.DISPLAY||m&&m.type==="operatorname"&&m.alwaysHandleSupSub&&(e.style===K.DISPLAY||m.limits)?l="munderover":l="msubsup"}else{var c=t.base;c&&c.type==="op"&&c.limits&&(e.style===K.DISPLAY||c.alwaysHandleSupSub)||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(c.limits||e.style===K.DISPLAY)?l="munder":l="msub"}else{var u=t.base;u&&u.type==="op"&&u.limits&&(e.style===K.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||e.style===K.DISPLAY)?l="mover":l="msup"}return new D.MathNode(l,i)}});pt({type:"atom",htmlBuilder(t,e){return k.mathsym(t.text,t.mode,e,["m"+t.family])},mathmlBuilder(t,e){var r=new D.MathNode("mo",[o0(t.text,t.mode)]);if(t.family==="bin"){var a=bn(t,e);a==="bold-italic"&&r.setAttribute("mathvariant",a)}else t.family==="punct"?r.setAttribute("separator","true"):(t.family==="open"||t.family==="close")&&r.setAttribute("stretchy","false");return r}});var Gl={mi:"italic",mn:"normal",mtext:"normal"};pt({type:"mathord",htmlBuilder(t,e){return k.makeOrd(t,e,"mathord")},mathmlBuilder(t,e){var r=new D.MathNode("mi",[o0(t.text,t.mode,e)]),a=bn(t,e)||"italic";return a!==Gl[r.type]&&r.setAttribute("mathvariant",a),r}});pt({type:"textord",htmlBuilder(t,e){return k.makeOrd(t,e,"textord")},mathmlBuilder(t,e){var r=o0(t.text,t.mode,e),a=bn(t,e)||"normal",n;return t.mode==="text"?n=new D.MathNode("mtext",[r]):/[0-9]/.test(t.text)?n=new D.MathNode("mn",[r]):t.text==="\\prime"?n=new D.MathNode("mo",[r]):n=new D.MathNode("mi",[r]),a!==Gl[n.type]&&n.setAttribute("mathvariant",a),n}});var xa={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},wa={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};pt({type:"spacing",htmlBuilder(t,e){if(wa.hasOwnProperty(t.text)){var r=wa[t.text].className||"";if(t.mode==="text"){var a=k.makeOrd(t,e,"textord");return a.classes.push(r),a}else return k.makeSpan(["mspace",r],[k.mathsym(t.text,t.mode,e)],e)}else{if(xa.hasOwnProperty(t.text))return k.makeSpan(["mspace",xa[t.text]],[],e);throw new E('Unknown type of space "'+t.text+'"')}},mathmlBuilder(t,e){var r;if(wa.hasOwnProperty(t.text))r=new D.MathNode("mtext",[new D.TextNode(" ")]);else{if(xa.hasOwnProperty(t.text))return new D.MathNode("mspace");throw new E('Unknown type of space "'+t.text+'"')}return r}});var Hi=()=>{var t=new D.MathNode("mtd",[]);return t.setAttribute("width","50%"),t};pt({type:"tag",mathmlBuilder(t,e){var r=new D.MathNode("mtable",[new D.MathNode("mtr",[Hi(),new D.MathNode("mtd",[tt(t.body,e)]),Hi(),new D.MathNode("mtd",[tt(t.tag,e)])])]);return r.setAttribute("width","100%"),r}});var Pi={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Vi={"\\textbf":"textbf","\\textmd":"textmd"},pc={"\\textit":"textit","\\textup":"textup"},$i=(t,e)=>{var r=t.font;if(r){if(Pi[r])return e.withTextFontFamily(Pi[r]);if(Vi[r])return e.withTextFontWeight(Vi[r]);if(r==="\\emph")return e.fontShape==="textit"?e.withTextFontShape("textup"):e.withTextFontShape("textit")}else return e;return e.withTextFontShape(pc[r])};H({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(t,e){var{parser:r,funcName:a}=t,n=e[0];return{type:"text",mode:r.mode,body:Ce(n),font:a}},htmlBuilder(t,e){var r=$i(t,e),a=Be(t.body,r,!0);return k.makeSpan(["mord","text"],a,r)},mathmlBuilder(t,e){var r=$i(t,e);return tt(t.body,r)}});H({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"underline",mode:r.mode,body:e[0]}},htmlBuilder(t,e){var r=ue(t.body,e),a=k.makeLineSpan("underline-line",e),n=e.fontMetrics().defaultRuleThickness,i=k.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:n},{type:"elem",elem:a},{type:"kern",size:3*n},{type:"elem",elem:r}]},e);return k.makeSpan(["mord","underline"],[i],e)},mathmlBuilder(t,e){var r=new D.MathNode("mo",[new D.TextNode("‾")]);r.setAttribute("stretchy","true");var a=new D.MathNode("munder",[de(t.body,e),r]);return a.setAttribute("accentunder","true"),a}});H({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(t,e){var{parser:r}=t;return{type:"vcenter",mode:r.mode,body:e[0]}},htmlBuilder(t,e){var r=ue(t.body,e),a=e.fontMetrics().axisHeight,n=.5*(r.height-a-(r.depth+a));return k.makeVList({positionType:"shift",positionData:n,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){return new D.MathNode("mpadded",[de(t.body,e)],["vcenter"])}});H({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(t,e,r){throw new E("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(t,e){for(var r=Ui(t),a=[],n=e.havingStyle(e.style.text()),i=0;it.body.replace(/ /g,t.star?"␣":" "),Y0=dl,jl=`[ \r - ]`,vc="\\\\[a-zA-Z@]+",gc="\\\\[^\uD800-\uDFFF]",bc="("+vc+")"+jl+"*",yc=`\\\\( +-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 Yt{constructor(e){this.children=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return W.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),r=0;rr.toText();return this.children.map(e).join("")}}var M0={"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]}},sr={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]},gi={Å:"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 n4(t,e){M0[t]=e}function dn(t,e,r){if(!M0[e])throw new Error("Font metrics not found for font: "+e+".");var a=t.charCodeAt(0),n=M0[e][a];if(!n&&t[0]in gi&&(a=gi[t[0]].charCodeAt(0),n=M0[e][a]),!n&&r==="text"&&nl(a)&&(n=M0[e][77]),n)return{depth:n[0],height:n[1],italic:n[2],skew:n[3],width:n[4]}}var ua={};function i4(t){var e;if(t>=5?e=0:t>=3?e=1:e=2,!ua[e]){var r=ua[e]={cssEmPerMu:sr.quad[e]/18};for(var a in sr)sr.hasOwnProperty(a)&&(r[a]=sr[a][e])}return ua[e]}var s4=[[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]],bi=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],yi=function(e,r){return r.size<2?e:s4[e-1][r.size-1]};class E0{constructor(e){this.style=void 0,this.color=void 0,this.size=void 0,this.textSize=void 0,this.phantom=void 0,this.font=void 0,this.fontFamily=void 0,this.fontWeight=void 0,this.fontShape=void 0,this.sizeMultiplier=void 0,this.maxSize=void 0,this.minRuleThickness=void 0,this._fontMetrics=void 0,this.style=e.style,this.color=e.color,this.size=e.size||E0.BASESIZE,this.textSize=e.textSize||this.size,this.phantom=!!e.phantom,this.font=e.font||"",this.fontFamily=e.fontFamily||"",this.fontWeight=e.fontWeight||"",this.fontShape=e.fontShape||"",this.sizeMultiplier=bi[this.size-1],this.maxSize=e.maxSize,this.minRuleThickness=e.minRuleThickness,this._fontMetrics=void 0}extend(e){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 a in e)e.hasOwnProperty(a)&&(r[a]=e[a]);return new E0(r)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:yi(this.textSize,e)})}havingCrampedStyle(){return this.havingStyle(this.style.cramp())}havingSize(e){return this.size===e&&this.textSize===e?this:this.extend({style:this.style.text(),size:e,textSize:e,sizeMultiplier:bi[e-1]})}havingBaseStyle(e){e=e||this.style.text();var r=yi(E0.BASESIZE,e);return this.size===r&&this.textSize===E0.BASESIZE&&this.style===e?this:this.extend({style:e,size:r})}havingBaseSizing(){var e;switch(this.style.id){case 4:case 5:e=3;break;case 6:case 7:e=1;break;default:e=6}return this.extend({style:this.style.text(),size:e})}withColor(e){return this.extend({color:e})}withPhantom(){return this.extend({phantom:!0})}withFont(e){return this.extend({font:e})}withTextFontFamily(e){return this.extend({fontFamily:e,font:""})}withTextFontWeight(e){return this.extend({fontWeight:e,font:""})}withTextFontShape(e){return this.extend({fontShape:e,font:""})}sizingClasses(e){return e.size!==this.size?["sizing","reset-size"+e.size,"size"+this.size]:[]}baseSizingClasses(){return this.size!==E0.BASESIZE?["sizing","reset-size"+this.size,"size"+E0.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=i4(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}E0.BASESIZE=6;var La={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},l4={ex:!0,em:!0,mu:!0},il=function(e){return typeof e!="string"&&(e=e.unit),e in La||e in l4||e==="ex"},ke=function(e,r){var a;if(e.unit in La)a=La[e.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(e.unit==="mu")a=r.fontMetrics().cssEmPerMu;else{var n;if(r.style.isTight()?n=r.havingStyle(r.style.text()):n=r,e.unit==="ex")a=n.fontMetrics().xHeight;else if(e.unit==="em")a=n.fontMetrics().quad;else throw new E("Invalid unit: '"+e.unit+"'");n!==r&&(a*=n.sizeMultiplier/r.sizeMultiplier)}return Math.min(e.number*a,r.maxSize)},R=function(e){return+e.toFixed(4)+"em"},Q0=function(e){return e.filter(r=>r).join(" ")},sl=function(e,r,a){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=a||{},r){r.style.isTight()&&this.classes.push("mtight");var n=r.getColor();n&&(this.style.color=n)}},ll=function(e){var r=document.createElement(e);r.className=Q0(this.classes);for(var a in this.style)this.style.hasOwnProperty(a)&&(r.style[a]=this.style[a]);for(var n in this.attributes)this.attributes.hasOwnProperty(n)&&r.setAttribute(n,this.attributes[n]);for(var i=0;i",r};class Kt{constructor(e,r,a,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,sl.call(this,e,a,n),this.children=r||[]}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return W.contains(this.classes,e)}toNode(){return ll.call(this,"span")}toMarkup(){return ol.call(this,"span")}}class pn{constructor(e,r,a,n){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,sl.call(this,r,n),this.children=a||[],this.setAttribute("href",e)}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return W.contains(this.classes,e)}toNode(){return ll.call(this,"a")}toMarkup(){return ol.call(this,"a")}}class o4{constructor(e,r,a){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=e,this.classes=["mord"],this.style=a}hasClass(e){return W.contains(this.classes,e)}toNode(){var e=document.createElement("img");e.src=this.src,e.alt=this.alt,e.className="mord";for(var r in this.style)this.style.hasOwnProperty(r)&&(e.style[r]=this.style[r]);return e}toMarkup(){var e=''+W.escape(this.alt)+'0&&(r=document.createElement("span"),r.style.marginRight=R(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=Q0(this.classes));for(var a in this.style)this.style.hasOwnProperty(a)&&(r=r||document.createElement("span"),r.style[a]=this.style[a]);return r?(r.appendChild(e),r):e}toMarkup(){var e=!1,r="0&&(a+="margin-right:"+this.italic+"em;");for(var n in this.style)this.style.hasOwnProperty(n)&&(a+=W.hyphenate(n)+":"+this.style[n]+";");a&&(e=!0,r+=' style="'+W.escape(a)+'"');var i=W.escape(this.text);return e?(r+=">",r+=i,r+="",r):i}}class R0{constructor(e,r){this.children=void 0,this.attributes=void 0,this.children=e||[],this.attributes=r||{}}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"svg");for(var a in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,a)&&r.setAttribute(a,this.attributes[a]);for(var n=0;n':''}}class Ha{constructor(e){this.attributes=void 0,this.attributes=e||{}}toNode(){var e="http://www.w3.org/2000/svg",r=document.createElementNS(e,"line");for(var a in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,a)&&r.setAttribute(a,this.attributes[a]);return r}toMarkup(){var e=" but got "+String(t)+".")}var h4={bin:1,close:1,inner:1,open:1,punct:1,rel:1},m4={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},pe={math:{},text:{}};function l(t,e,r,a,n,i){pe[t][n]={font:e,group:r,replace:a},i&&a&&(pe[t][a]=pe[t][n])}var u="math",q="text",h="main",p="ams",xe="accent-token",V="bin",$e="close",zt="inner",Y="mathord",qe="op-token",Qe="open",jr="punct",v="rel",H0="spacing",y="textord";l(u,h,v,"≡","\\equiv",!0);l(u,h,v,"≺","\\prec",!0);l(u,h,v,"≻","\\succ",!0);l(u,h,v,"∼","\\sim",!0);l(u,h,v,"⊥","\\perp");l(u,h,v,"⪯","\\preceq",!0);l(u,h,v,"⪰","\\succeq",!0);l(u,h,v,"≃","\\simeq",!0);l(u,h,v,"∣","\\mid",!0);l(u,h,v,"≪","\\ll",!0);l(u,h,v,"≫","\\gg",!0);l(u,h,v,"≍","\\asymp",!0);l(u,h,v,"∥","\\parallel");l(u,h,v,"⋈","\\bowtie",!0);l(u,h,v,"⌣","\\smile",!0);l(u,h,v,"⊑","\\sqsubseteq",!0);l(u,h,v,"⊒","\\sqsupseteq",!0);l(u,h,v,"≐","\\doteq",!0);l(u,h,v,"⌢","\\frown",!0);l(u,h,v,"∋","\\ni",!0);l(u,h,v,"∝","\\propto",!0);l(u,h,v,"⊢","\\vdash",!0);l(u,h,v,"⊣","\\dashv",!0);l(u,h,v,"∋","\\owns");l(u,h,jr,".","\\ldotp");l(u,h,jr,"⋅","\\cdotp");l(u,h,y,"#","\\#");l(q,h,y,"#","\\#");l(u,h,y,"&","\\&");l(q,h,y,"&","\\&");l(u,h,y,"ℵ","\\aleph",!0);l(u,h,y,"∀","\\forall",!0);l(u,h,y,"ℏ","\\hbar",!0);l(u,h,y,"∃","\\exists",!0);l(u,h,y,"∇","\\nabla",!0);l(u,h,y,"♭","\\flat",!0);l(u,h,y,"ℓ","\\ell",!0);l(u,h,y,"♮","\\natural",!0);l(u,h,y,"♣","\\clubsuit",!0);l(u,h,y,"℘","\\wp",!0);l(u,h,y,"♯","\\sharp",!0);l(u,h,y,"♢","\\diamondsuit",!0);l(u,h,y,"ℜ","\\Re",!0);l(u,h,y,"♡","\\heartsuit",!0);l(u,h,y,"ℑ","\\Im",!0);l(u,h,y,"♠","\\spadesuit",!0);l(u,h,y,"§","\\S",!0);l(q,h,y,"§","\\S");l(u,h,y,"¶","\\P",!0);l(q,h,y,"¶","\\P");l(u,h,y,"†","\\dag");l(q,h,y,"†","\\dag");l(q,h,y,"†","\\textdagger");l(u,h,y,"‡","\\ddag");l(q,h,y,"‡","\\ddag");l(q,h,y,"‡","\\textdaggerdbl");l(u,h,$e,"⎱","\\rmoustache",!0);l(u,h,Qe,"⎰","\\lmoustache",!0);l(u,h,$e,"⟯","\\rgroup",!0);l(u,h,Qe,"⟮","\\lgroup",!0);l(u,h,V,"∓","\\mp",!0);l(u,h,V,"⊖","\\ominus",!0);l(u,h,V,"⊎","\\uplus",!0);l(u,h,V,"⊓","\\sqcap",!0);l(u,h,V,"∗","\\ast");l(u,h,V,"⊔","\\sqcup",!0);l(u,h,V,"◯","\\bigcirc",!0);l(u,h,V,"∙","\\bullet",!0);l(u,h,V,"‡","\\ddagger");l(u,h,V,"≀","\\wr",!0);l(u,h,V,"⨿","\\amalg");l(u,h,V,"&","\\And");l(u,h,v,"⟵","\\longleftarrow",!0);l(u,h,v,"⇐","\\Leftarrow",!0);l(u,h,v,"⟸","\\Longleftarrow",!0);l(u,h,v,"⟶","\\longrightarrow",!0);l(u,h,v,"⇒","\\Rightarrow",!0);l(u,h,v,"⟹","\\Longrightarrow",!0);l(u,h,v,"↔","\\leftrightarrow",!0);l(u,h,v,"⟷","\\longleftrightarrow",!0);l(u,h,v,"⇔","\\Leftrightarrow",!0);l(u,h,v,"⟺","\\Longleftrightarrow",!0);l(u,h,v,"↦","\\mapsto",!0);l(u,h,v,"⟼","\\longmapsto",!0);l(u,h,v,"↗","\\nearrow",!0);l(u,h,v,"↩","\\hookleftarrow",!0);l(u,h,v,"↪","\\hookrightarrow",!0);l(u,h,v,"↘","\\searrow",!0);l(u,h,v,"↼","\\leftharpoonup",!0);l(u,h,v,"⇀","\\rightharpoonup",!0);l(u,h,v,"↙","\\swarrow",!0);l(u,h,v,"↽","\\leftharpoondown",!0);l(u,h,v,"⇁","\\rightharpoondown",!0);l(u,h,v,"↖","\\nwarrow",!0);l(u,h,v,"⇌","\\rightleftharpoons",!0);l(u,p,v,"≮","\\nless",!0);l(u,p,v,"","\\@nleqslant");l(u,p,v,"","\\@nleqq");l(u,p,v,"⪇","\\lneq",!0);l(u,p,v,"≨","\\lneqq",!0);l(u,p,v,"","\\@lvertneqq");l(u,p,v,"⋦","\\lnsim",!0);l(u,p,v,"⪉","\\lnapprox",!0);l(u,p,v,"⊀","\\nprec",!0);l(u,p,v,"⋠","\\npreceq",!0);l(u,p,v,"⋨","\\precnsim",!0);l(u,p,v,"⪹","\\precnapprox",!0);l(u,p,v,"≁","\\nsim",!0);l(u,p,v,"","\\@nshortmid");l(u,p,v,"∤","\\nmid",!0);l(u,p,v,"⊬","\\nvdash",!0);l(u,p,v,"⊭","\\nvDash",!0);l(u,p,v,"⋪","\\ntriangleleft");l(u,p,v,"⋬","\\ntrianglelefteq",!0);l(u,p,v,"⊊","\\subsetneq",!0);l(u,p,v,"","\\@varsubsetneq");l(u,p,v,"⫋","\\subsetneqq",!0);l(u,p,v,"","\\@varsubsetneqq");l(u,p,v,"≯","\\ngtr",!0);l(u,p,v,"","\\@ngeqslant");l(u,p,v,"","\\@ngeqq");l(u,p,v,"⪈","\\gneq",!0);l(u,p,v,"≩","\\gneqq",!0);l(u,p,v,"","\\@gvertneqq");l(u,p,v,"⋧","\\gnsim",!0);l(u,p,v,"⪊","\\gnapprox",!0);l(u,p,v,"⊁","\\nsucc",!0);l(u,p,v,"⋡","\\nsucceq",!0);l(u,p,v,"⋩","\\succnsim",!0);l(u,p,v,"⪺","\\succnapprox",!0);l(u,p,v,"≆","\\ncong",!0);l(u,p,v,"","\\@nshortparallel");l(u,p,v,"∦","\\nparallel",!0);l(u,p,v,"⊯","\\nVDash",!0);l(u,p,v,"⋫","\\ntriangleright");l(u,p,v,"⋭","\\ntrianglerighteq",!0);l(u,p,v,"","\\@nsupseteqq");l(u,p,v,"⊋","\\supsetneq",!0);l(u,p,v,"","\\@varsupsetneq");l(u,p,v,"⫌","\\supsetneqq",!0);l(u,p,v,"","\\@varsupsetneqq");l(u,p,v,"⊮","\\nVdash",!0);l(u,p,v,"⪵","\\precneqq",!0);l(u,p,v,"⪶","\\succneqq",!0);l(u,p,v,"","\\@nsubseteqq");l(u,p,V,"⊴","\\unlhd");l(u,p,V,"⊵","\\unrhd");l(u,p,v,"↚","\\nleftarrow",!0);l(u,p,v,"↛","\\nrightarrow",!0);l(u,p,v,"⇍","\\nLeftarrow",!0);l(u,p,v,"⇏","\\nRightarrow",!0);l(u,p,v,"↮","\\nleftrightarrow",!0);l(u,p,v,"⇎","\\nLeftrightarrow",!0);l(u,p,v,"△","\\vartriangle");l(u,p,y,"ℏ","\\hslash");l(u,p,y,"▽","\\triangledown");l(u,p,y,"◊","\\lozenge");l(u,p,y,"Ⓢ","\\circledS");l(u,p,y,"®","\\circledR");l(q,p,y,"®","\\circledR");l(u,p,y,"∡","\\measuredangle",!0);l(u,p,y,"∄","\\nexists");l(u,p,y,"℧","\\mho");l(u,p,y,"Ⅎ","\\Finv",!0);l(u,p,y,"⅁","\\Game",!0);l(u,p,y,"‵","\\backprime");l(u,p,y,"▲","\\blacktriangle");l(u,p,y,"▼","\\blacktriangledown");l(u,p,y,"■","\\blacksquare");l(u,p,y,"⧫","\\blacklozenge");l(u,p,y,"★","\\bigstar");l(u,p,y,"∢","\\sphericalangle",!0);l(u,p,y,"∁","\\complement",!0);l(u,p,y,"ð","\\eth",!0);l(q,h,y,"ð","ð");l(u,p,y,"╱","\\diagup");l(u,p,y,"╲","\\diagdown");l(u,p,y,"□","\\square");l(u,p,y,"□","\\Box");l(u,p,y,"◊","\\Diamond");l(u,p,y,"¥","\\yen",!0);l(q,p,y,"¥","\\yen",!0);l(u,p,y,"✓","\\checkmark",!0);l(q,p,y,"✓","\\checkmark");l(u,p,y,"ℶ","\\beth",!0);l(u,p,y,"ℸ","\\daleth",!0);l(u,p,y,"ℷ","\\gimel",!0);l(u,p,y,"ϝ","\\digamma",!0);l(u,p,y,"ϰ","\\varkappa");l(u,p,Qe,"┌","\\@ulcorner",!0);l(u,p,$e,"┐","\\@urcorner",!0);l(u,p,Qe,"└","\\@llcorner",!0);l(u,p,$e,"┘","\\@lrcorner",!0);l(u,p,v,"≦","\\leqq",!0);l(u,p,v,"⩽","\\leqslant",!0);l(u,p,v,"⪕","\\eqslantless",!0);l(u,p,v,"≲","\\lesssim",!0);l(u,p,v,"⪅","\\lessapprox",!0);l(u,p,v,"≊","\\approxeq",!0);l(u,p,V,"⋖","\\lessdot");l(u,p,v,"⋘","\\lll",!0);l(u,p,v,"≶","\\lessgtr",!0);l(u,p,v,"⋚","\\lesseqgtr",!0);l(u,p,v,"⪋","\\lesseqqgtr",!0);l(u,p,v,"≑","\\doteqdot");l(u,p,v,"≓","\\risingdotseq",!0);l(u,p,v,"≒","\\fallingdotseq",!0);l(u,p,v,"∽","\\backsim",!0);l(u,p,v,"⋍","\\backsimeq",!0);l(u,p,v,"⫅","\\subseteqq",!0);l(u,p,v,"⋐","\\Subset",!0);l(u,p,v,"⊏","\\sqsubset",!0);l(u,p,v,"≼","\\preccurlyeq",!0);l(u,p,v,"⋞","\\curlyeqprec",!0);l(u,p,v,"≾","\\precsim",!0);l(u,p,v,"⪷","\\precapprox",!0);l(u,p,v,"⊲","\\vartriangleleft");l(u,p,v,"⊴","\\trianglelefteq");l(u,p,v,"⊨","\\vDash",!0);l(u,p,v,"⊪","\\Vvdash",!0);l(u,p,v,"⌣","\\smallsmile");l(u,p,v,"⌢","\\smallfrown");l(u,p,v,"≏","\\bumpeq",!0);l(u,p,v,"≎","\\Bumpeq",!0);l(u,p,v,"≧","\\geqq",!0);l(u,p,v,"⩾","\\geqslant",!0);l(u,p,v,"⪖","\\eqslantgtr",!0);l(u,p,v,"≳","\\gtrsim",!0);l(u,p,v,"⪆","\\gtrapprox",!0);l(u,p,V,"⋗","\\gtrdot");l(u,p,v,"⋙","\\ggg",!0);l(u,p,v,"≷","\\gtrless",!0);l(u,p,v,"⋛","\\gtreqless",!0);l(u,p,v,"⪌","\\gtreqqless",!0);l(u,p,v,"≖","\\eqcirc",!0);l(u,p,v,"≗","\\circeq",!0);l(u,p,v,"≜","\\triangleq",!0);l(u,p,v,"∼","\\thicksim");l(u,p,v,"≈","\\thickapprox");l(u,p,v,"⫆","\\supseteqq",!0);l(u,p,v,"⋑","\\Supset",!0);l(u,p,v,"⊐","\\sqsupset",!0);l(u,p,v,"≽","\\succcurlyeq",!0);l(u,p,v,"⋟","\\curlyeqsucc",!0);l(u,p,v,"≿","\\succsim",!0);l(u,p,v,"⪸","\\succapprox",!0);l(u,p,v,"⊳","\\vartriangleright");l(u,p,v,"⊵","\\trianglerighteq");l(u,p,v,"⊩","\\Vdash",!0);l(u,p,v,"∣","\\shortmid");l(u,p,v,"∥","\\shortparallel");l(u,p,v,"≬","\\between",!0);l(u,p,v,"⋔","\\pitchfork",!0);l(u,p,v,"∝","\\varpropto");l(u,p,v,"◀","\\blacktriangleleft");l(u,p,v,"∴","\\therefore",!0);l(u,p,v,"∍","\\backepsilon");l(u,p,v,"▶","\\blacktriangleright");l(u,p,v,"∵","\\because",!0);l(u,p,v,"⋘","\\llless");l(u,p,v,"⋙","\\gggtr");l(u,p,V,"⊲","\\lhd");l(u,p,V,"⊳","\\rhd");l(u,p,v,"≂","\\eqsim",!0);l(u,h,v,"⋈","\\Join");l(u,p,v,"≑","\\Doteq",!0);l(u,p,V,"∔","\\dotplus",!0);l(u,p,V,"∖","\\smallsetminus");l(u,p,V,"⋒","\\Cap",!0);l(u,p,V,"⋓","\\Cup",!0);l(u,p,V,"⩞","\\doublebarwedge",!0);l(u,p,V,"⊟","\\boxminus",!0);l(u,p,V,"⊞","\\boxplus",!0);l(u,p,V,"⋇","\\divideontimes",!0);l(u,p,V,"⋉","\\ltimes",!0);l(u,p,V,"⋊","\\rtimes",!0);l(u,p,V,"⋋","\\leftthreetimes",!0);l(u,p,V,"⋌","\\rightthreetimes",!0);l(u,p,V,"⋏","\\curlywedge",!0);l(u,p,V,"⋎","\\curlyvee",!0);l(u,p,V,"⊝","\\circleddash",!0);l(u,p,V,"⊛","\\circledast",!0);l(u,p,V,"⋅","\\centerdot");l(u,p,V,"⊺","\\intercal",!0);l(u,p,V,"⋒","\\doublecap");l(u,p,V,"⋓","\\doublecup");l(u,p,V,"⊠","\\boxtimes",!0);l(u,p,v,"⇢","\\dashrightarrow",!0);l(u,p,v,"⇠","\\dashleftarrow",!0);l(u,p,v,"⇇","\\leftleftarrows",!0);l(u,p,v,"⇆","\\leftrightarrows",!0);l(u,p,v,"⇚","\\Lleftarrow",!0);l(u,p,v,"↞","\\twoheadleftarrow",!0);l(u,p,v,"↢","\\leftarrowtail",!0);l(u,p,v,"↫","\\looparrowleft",!0);l(u,p,v,"⇋","\\leftrightharpoons",!0);l(u,p,v,"↶","\\curvearrowleft",!0);l(u,p,v,"↺","\\circlearrowleft",!0);l(u,p,v,"↰","\\Lsh",!0);l(u,p,v,"⇈","\\upuparrows",!0);l(u,p,v,"↿","\\upharpoonleft",!0);l(u,p,v,"⇃","\\downharpoonleft",!0);l(u,h,v,"⊶","\\origof",!0);l(u,h,v,"⊷","\\imageof",!0);l(u,p,v,"⊸","\\multimap",!0);l(u,p,v,"↭","\\leftrightsquigarrow",!0);l(u,p,v,"⇉","\\rightrightarrows",!0);l(u,p,v,"⇄","\\rightleftarrows",!0);l(u,p,v,"↠","\\twoheadrightarrow",!0);l(u,p,v,"↣","\\rightarrowtail",!0);l(u,p,v,"↬","\\looparrowright",!0);l(u,p,v,"↷","\\curvearrowright",!0);l(u,p,v,"↻","\\circlearrowright",!0);l(u,p,v,"↱","\\Rsh",!0);l(u,p,v,"⇊","\\downdownarrows",!0);l(u,p,v,"↾","\\upharpoonright",!0);l(u,p,v,"⇂","\\downharpoonright",!0);l(u,p,v,"⇝","\\rightsquigarrow",!0);l(u,p,v,"⇝","\\leadsto");l(u,p,v,"⇛","\\Rrightarrow",!0);l(u,p,v,"↾","\\restriction");l(u,h,y,"‘","`");l(u,h,y,"$","\\$");l(q,h,y,"$","\\$");l(q,h,y,"$","\\textdollar");l(u,h,y,"%","\\%");l(q,h,y,"%","\\%");l(u,h,y,"_","\\_");l(q,h,y,"_","\\_");l(q,h,y,"_","\\textunderscore");l(u,h,y,"∠","\\angle",!0);l(u,h,y,"∞","\\infty",!0);l(u,h,y,"′","\\prime");l(u,h,y,"△","\\triangle");l(u,h,y,"Γ","\\Gamma",!0);l(u,h,y,"Δ","\\Delta",!0);l(u,h,y,"Θ","\\Theta",!0);l(u,h,y,"Λ","\\Lambda",!0);l(u,h,y,"Ξ","\\Xi",!0);l(u,h,y,"Π","\\Pi",!0);l(u,h,y,"Σ","\\Sigma",!0);l(u,h,y,"Υ","\\Upsilon",!0);l(u,h,y,"Φ","\\Phi",!0);l(u,h,y,"Ψ","\\Psi",!0);l(u,h,y,"Ω","\\Omega",!0);l(u,h,y,"A","Α");l(u,h,y,"B","Β");l(u,h,y,"E","Ε");l(u,h,y,"Z","Ζ");l(u,h,y,"H","Η");l(u,h,y,"I","Ι");l(u,h,y,"K","Κ");l(u,h,y,"M","Μ");l(u,h,y,"N","Ν");l(u,h,y,"O","Ο");l(u,h,y,"P","Ρ");l(u,h,y,"T","Τ");l(u,h,y,"X","Χ");l(u,h,y,"¬","\\neg",!0);l(u,h,y,"¬","\\lnot");l(u,h,y,"⊤","\\top");l(u,h,y,"⊥","\\bot");l(u,h,y,"∅","\\emptyset");l(u,p,y,"∅","\\varnothing");l(u,h,Y,"α","\\alpha",!0);l(u,h,Y,"β","\\beta",!0);l(u,h,Y,"γ","\\gamma",!0);l(u,h,Y,"δ","\\delta",!0);l(u,h,Y,"ϵ","\\epsilon",!0);l(u,h,Y,"ζ","\\zeta",!0);l(u,h,Y,"η","\\eta",!0);l(u,h,Y,"θ","\\theta",!0);l(u,h,Y,"ι","\\iota",!0);l(u,h,Y,"κ","\\kappa",!0);l(u,h,Y,"λ","\\lambda",!0);l(u,h,Y,"μ","\\mu",!0);l(u,h,Y,"ν","\\nu",!0);l(u,h,Y,"ξ","\\xi",!0);l(u,h,Y,"ο","\\omicron",!0);l(u,h,Y,"π","\\pi",!0);l(u,h,Y,"ρ","\\rho",!0);l(u,h,Y,"σ","\\sigma",!0);l(u,h,Y,"τ","\\tau",!0);l(u,h,Y,"υ","\\upsilon",!0);l(u,h,Y,"ϕ","\\phi",!0);l(u,h,Y,"χ","\\chi",!0);l(u,h,Y,"ψ","\\psi",!0);l(u,h,Y,"ω","\\omega",!0);l(u,h,Y,"ε","\\varepsilon",!0);l(u,h,Y,"ϑ","\\vartheta",!0);l(u,h,Y,"ϖ","\\varpi",!0);l(u,h,Y,"ϱ","\\varrho",!0);l(u,h,Y,"ς","\\varsigma",!0);l(u,h,Y,"φ","\\varphi",!0);l(u,h,V,"∗","*",!0);l(u,h,V,"+","+");l(u,h,V,"−","-",!0);l(u,h,V,"⋅","\\cdot",!0);l(u,h,V,"∘","\\circ",!0);l(u,h,V,"÷","\\div",!0);l(u,h,V,"±","\\pm",!0);l(u,h,V,"×","\\times",!0);l(u,h,V,"∩","\\cap",!0);l(u,h,V,"∪","\\cup",!0);l(u,h,V,"∖","\\setminus",!0);l(u,h,V,"∧","\\land");l(u,h,V,"∨","\\lor");l(u,h,V,"∧","\\wedge",!0);l(u,h,V,"∨","\\vee",!0);l(u,h,y,"√","\\surd");l(u,h,Qe,"⟨","\\langle",!0);l(u,h,Qe,"∣","\\lvert");l(u,h,Qe,"∥","\\lVert");l(u,h,$e,"?","?");l(u,h,$e,"!","!");l(u,h,$e,"⟩","\\rangle",!0);l(u,h,$e,"∣","\\rvert");l(u,h,$e,"∥","\\rVert");l(u,h,v,"=","=");l(u,h,v,":",":");l(u,h,v,"≈","\\approx",!0);l(u,h,v,"≅","\\cong",!0);l(u,h,v,"≥","\\ge");l(u,h,v,"≥","\\geq",!0);l(u,h,v,"←","\\gets");l(u,h,v,">","\\gt",!0);l(u,h,v,"∈","\\in",!0);l(u,h,v,"","\\@not");l(u,h,v,"⊂","\\subset",!0);l(u,h,v,"⊃","\\supset",!0);l(u,h,v,"⊆","\\subseteq",!0);l(u,h,v,"⊇","\\supseteq",!0);l(u,p,v,"⊈","\\nsubseteq",!0);l(u,p,v,"⊉","\\nsupseteq",!0);l(u,h,v,"⊨","\\models");l(u,h,v,"←","\\leftarrow",!0);l(u,h,v,"≤","\\le");l(u,h,v,"≤","\\leq",!0);l(u,h,v,"<","\\lt",!0);l(u,h,v,"→","\\rightarrow",!0);l(u,h,v,"→","\\to");l(u,p,v,"≱","\\ngeq",!0);l(u,p,v,"≰","\\nleq",!0);l(u,h,H0," ","\\ ");l(u,h,H0," ","\\space");l(u,h,H0," ","\\nobreakspace");l(q,h,H0," ","\\ ");l(q,h,H0," "," ");l(q,h,H0," ","\\space");l(q,h,H0," ","\\nobreakspace");l(u,h,H0,null,"\\nobreak");l(u,h,H0,null,"\\allowbreak");l(u,h,jr,",",",");l(u,h,jr,";",";");l(u,p,V,"⊼","\\barwedge",!0);l(u,p,V,"⊻","\\veebar",!0);l(u,h,V,"⊙","\\odot",!0);l(u,h,V,"⊕","\\oplus",!0);l(u,h,V,"⊗","\\otimes",!0);l(u,h,y,"∂","\\partial",!0);l(u,h,V,"⊘","\\oslash",!0);l(u,p,V,"⊚","\\circledcirc",!0);l(u,p,V,"⊡","\\boxdot",!0);l(u,h,V,"△","\\bigtriangleup");l(u,h,V,"▽","\\bigtriangledown");l(u,h,V,"†","\\dagger");l(u,h,V,"⋄","\\diamond");l(u,h,V,"⋆","\\star");l(u,h,V,"◃","\\triangleleft");l(u,h,V,"▹","\\triangleright");l(u,h,Qe,"{","\\{");l(q,h,y,"{","\\{");l(q,h,y,"{","\\textbraceleft");l(u,h,$e,"}","\\}");l(q,h,y,"}","\\}");l(q,h,y,"}","\\textbraceright");l(u,h,Qe,"{","\\lbrace");l(u,h,$e,"}","\\rbrace");l(u,h,Qe,"[","\\lbrack",!0);l(q,h,y,"[","\\lbrack",!0);l(u,h,$e,"]","\\rbrack",!0);l(q,h,y,"]","\\rbrack",!0);l(u,h,Qe,"(","\\lparen",!0);l(u,h,$e,")","\\rparen",!0);l(q,h,y,"<","\\textless",!0);l(q,h,y,">","\\textgreater",!0);l(u,h,Qe,"⌊","\\lfloor",!0);l(u,h,$e,"⌋","\\rfloor",!0);l(u,h,Qe,"⌈","\\lceil",!0);l(u,h,$e,"⌉","\\rceil",!0);l(u,h,y,"\\","\\backslash");l(u,h,y,"∣","|");l(u,h,y,"∣","\\vert");l(q,h,y,"|","\\textbar",!0);l(u,h,y,"∥","\\|");l(u,h,y,"∥","\\Vert");l(q,h,y,"∥","\\textbardbl");l(q,h,y,"~","\\textasciitilde");l(q,h,y,"\\","\\textbackslash");l(q,h,y,"^","\\textasciicircum");l(u,h,v,"↑","\\uparrow",!0);l(u,h,v,"⇑","\\Uparrow",!0);l(u,h,v,"↓","\\downarrow",!0);l(u,h,v,"⇓","\\Downarrow",!0);l(u,h,v,"↕","\\updownarrow",!0);l(u,h,v,"⇕","\\Updownarrow",!0);l(u,h,qe,"∐","\\coprod");l(u,h,qe,"⋁","\\bigvee");l(u,h,qe,"⋀","\\bigwedge");l(u,h,qe,"⨄","\\biguplus");l(u,h,qe,"⋂","\\bigcap");l(u,h,qe,"⋃","\\bigcup");l(u,h,qe,"∫","\\int");l(u,h,qe,"∫","\\intop");l(u,h,qe,"∬","\\iint");l(u,h,qe,"∭","\\iiint");l(u,h,qe,"∏","\\prod");l(u,h,qe,"∑","\\sum");l(u,h,qe,"⨂","\\bigotimes");l(u,h,qe,"⨁","\\bigoplus");l(u,h,qe,"⨀","\\bigodot");l(u,h,qe,"∮","\\oint");l(u,h,qe,"∯","\\oiint");l(u,h,qe,"∰","\\oiiint");l(u,h,qe,"⨆","\\bigsqcup");l(u,h,qe,"∫","\\smallint");l(q,h,zt,"…","\\textellipsis");l(u,h,zt,"…","\\mathellipsis");l(q,h,zt,"…","\\ldots",!0);l(u,h,zt,"…","\\ldots",!0);l(u,h,zt,"⋯","\\@cdots",!0);l(u,h,zt,"⋱","\\ddots",!0);l(u,h,y,"⋮","\\varvdots");l(u,h,xe,"ˊ","\\acute");l(u,h,xe,"ˋ","\\grave");l(u,h,xe,"¨","\\ddot");l(u,h,xe,"~","\\tilde");l(u,h,xe,"ˉ","\\bar");l(u,h,xe,"˘","\\breve");l(u,h,xe,"ˇ","\\check");l(u,h,xe,"^","\\hat");l(u,h,xe,"⃗","\\vec");l(u,h,xe,"˙","\\dot");l(u,h,xe,"˚","\\mathring");l(u,h,Y,"","\\@imath");l(u,h,Y,"","\\@jmath");l(u,h,y,"ı","ı");l(u,h,y,"ȷ","ȷ");l(q,h,y,"ı","\\i",!0);l(q,h,y,"ȷ","\\j",!0);l(q,h,y,"ß","\\ss",!0);l(q,h,y,"æ","\\ae",!0);l(q,h,y,"œ","\\oe",!0);l(q,h,y,"ø","\\o",!0);l(q,h,y,"Æ","\\AE",!0);l(q,h,y,"Œ","\\OE",!0);l(q,h,y,"Ø","\\O",!0);l(q,h,xe,"ˊ","\\'");l(q,h,xe,"ˋ","\\`");l(q,h,xe,"ˆ","\\^");l(q,h,xe,"˜","\\~");l(q,h,xe,"ˉ","\\=");l(q,h,xe,"˘","\\u");l(q,h,xe,"˙","\\.");l(q,h,xe,"¸","\\c");l(q,h,xe,"˚","\\r");l(q,h,xe,"ˇ","\\v");l(q,h,xe,"¨",'\\"');l(q,h,xe,"˝","\\H");l(q,h,xe,"◯","\\textcircled");var ul={"--":!0,"---":!0,"``":!0,"''":!0};l(q,h,y,"–","--",!0);l(q,h,y,"–","\\textendash");l(q,h,y,"—","---",!0);l(q,h,y,"—","\\textemdash");l(q,h,y,"‘","`",!0);l(q,h,y,"‘","\\textquoteleft");l(q,h,y,"’","'",!0);l(q,h,y,"’","\\textquoteright");l(q,h,y,"“","``",!0);l(q,h,y,"“","\\textquotedblleft");l(q,h,y,"”","''",!0);l(q,h,y,"”","\\textquotedblright");l(u,h,y,"°","\\degree",!0);l(q,h,y,"°","\\degree");l(q,h,y,"°","\\textdegree",!0);l(u,h,y,"£","\\pounds");l(u,h,y,"£","\\mathsterling",!0);l(q,h,y,"£","\\pounds");l(q,h,y,"£","\\textsterling",!0);l(u,p,y,"✠","\\maltese");l(q,p,y,"✠","\\maltese");var wi='0123456789/@."';for(var ca=0;ca0)return f0(i,m,n,r,s.concat(d));if(c){var g,w;if(c==="boldsymbol"){var S=p4(i,n,r,s,a);g=S.fontName,w=[S.fontClass]}else o?(g=ml[c].fontName,w=[c]):(g=cr(c,r.fontWeight,r.fontShape),w=[c,r.fontWeight,r.fontShape]);if(Wr(i,g,n).metrics)return f0(i,g,n,r,s.concat(w));if(ul.hasOwnProperty(i)&&g.slice(0,10)==="Typewriter"){for(var T=[],A=0;A{if(Q0(t.classes)!==Q0(e.classes)||t.skew!==e.skew||t.maxFontSize!==e.maxFontSize)return!1;if(t.classes.length===1){var r=t.classes[0];if(r==="mbin"||r==="mord")return!1}for(var a in t.style)if(t.style.hasOwnProperty(a)&&t.style[a]!==e.style[a])return!1;for(var n in e.style)if(e.style.hasOwnProperty(n)&&t.style[n]!==e.style[n])return!1;return!0},b4=t=>{for(var e=0;er&&(r=s.height),s.depth>a&&(a=s.depth),s.maxFontSize>n&&(n=s.maxFontSize)}e.height=r,e.depth=a,e.maxFontSize=n},je=function(e,r,a,n){var i=new Kt(e,r,a,n);return vn(i),i},cl=(t,e,r,a)=>new Kt(t,e,r,a),y4=function(e,r,a){var n=je([e],[],r);return n.height=Math.max(a||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),n.style.borderBottomWidth=R(n.height),n.maxFontSize=1,n},x4=function(e,r,a,n){var i=new pn(e,r,a,n);return vn(i),i},hl=function(e){var r=new Yt(e);return vn(r),r},w4=function(e,r){return e instanceof Yt?je([],[e],r):e},S4=function(e){if(e.positionType==="individualShift"){for(var r=e.children,a=[r[0]],n=-r[0].shift-r[0].elem.depth,i=n,s=1;s{var r=je(["mspace"],[],e),a=ke(t,e);return r.style.marginRight=R(a),r},cr=function(e,r,a){var n="";switch(e){case"amsrm":n="AMS";break;case"textrm":n="Main";break;case"textsf":n="SansSerif";break;case"texttt":n="Typewriter";break;default:n=e}var i;return r==="textbf"&&a==="textit"?i="BoldItalic":r==="textbf"?i="Bold":r==="textit"?i="Italic":i="Regular",n+"-"+i},ml={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"},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"}},fl={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},T4=function(e,r){var[a,n,i]=fl[e],s=new et(a),o=new R0([s],{width:R(n),height:R(i),style:"width:"+R(n),viewBox:"0 0 "+1e3*n+" "+1e3*i,preserveAspectRatio:"xMinYMin"}),c=cl(["overlay"],[o],r);return c.height=i,c.style.height=R(i),c.style.width=R(n),c},k={fontMap:ml,makeSymbol:f0,mathsym:d4,makeSpan:je,makeSvgSpan:cl,makeLineSpan:y4,makeAnchor:x4,makeFragment:hl,wrapFragment:w4,makeVList:k4,makeOrd:v4,makeGlue:M4,staticSvg:T4,svgData:fl,tryCombineChars:b4},Se={number:3,unit:"mu"},ct={number:4,unit:"mu"},q0={number:5,unit:"mu"},A4={mord:{mop:Se,mbin:ct,mrel:q0,minner:Se},mop:{mord:Se,mop:Se,mrel:q0,minner:Se},mbin:{mord:ct,mop:ct,mopen:ct,minner:ct},mrel:{mord:q0,mop:q0,mopen:q0,minner:q0},mopen:{},mclose:{mop:Se,mbin:ct,mrel:q0,minner:Se},mpunct:{mord:Se,mop:Se,mrel:q0,mopen:Se,mclose:Se,mpunct:Se,minner:Se},minner:{mord:Se,mop:Se,mbin:ct,mrel:q0,mopen:Se,mpunct:Se,minner:Se}},z4={mord:{mop:Se},mop:{mord:Se,mop:Se},mbin:{},mrel:{},mopen:{},mclose:{mop:Se},mpunct:{},minner:{mop:Se}},dl={},Er={},Nr={};function H(t){for(var{type:e,names:r,props:a,handler:n,htmlBuilder:i,mathmlBuilder:s}=t,o={type:e,numArgs:a.numArgs,argTypes:a.argTypes,allowedInArgument:!!a.allowedInArgument,allowedInText:!!a.allowedInText,allowedInMath:a.allowedInMath===void 0?!0:a.allowedInMath,numOptionalArgs:a.numOptionalArgs||0,infix:!!a.infix,primitive:!!a.primitive,handler:n},c=0;c{var F=A.classes[0],_=T.classes[0];F==="mbin"&&W.contains(q4,_)?A.classes[0]="mord":_==="mbin"&&W.contains(C4,F)&&(T.classes[0]="mord")},{node:g},w,S),Ai(i,(T,A)=>{var F=Va(A),_=Va(T),U=F&&_?T.hasClass("mtight")?z4[F][_]:A4[F][_]:null;if(U)return k.makeGlue(U,m)},{node:g},w,S),i},Ai=function t(e,r,a,n,i){n&&e.push(n);for(var s=0;sw=>{e.splice(g+1,0,w),s++})(s)}n&&e.pop()},pl=function(e){return e instanceof Yt||e instanceof pn||e instanceof Kt&&e.hasClass("enclosing")?e:null},E4=function t(e,r){var a=pl(e);if(a){var n=a.children;if(n.length){if(r==="right")return t(n[n.length-1],"right");if(r==="left")return t(n[0],"left")}}return e},Va=function(e,r){return e?(r&&(e=E4(e,r)),B4[e.classes[0]]||null):null},Wt=function(e,r){var a=["nulldelimiter"].concat(e.baseSizingClasses());return O0(r.concat(a))},ue=function(e,r,a){if(!e)return O0();if(Er[e.type]){var n=Er[e.type](e,r);if(a&&r.size!==a.size){n=O0(r.sizingClasses(a),[n],r);var i=r.sizeMultiplier/a.sizeMultiplier;n.height*=i,n.depth*=i}return n}else throw new E("Got group of unknown type: '"+e.type+"'")};function hr(t,e){var r=O0(["base"],t,e),a=O0(["strut"]);return a.style.height=R(r.height+r.depth),r.depth&&(a.style.verticalAlign=R(-r.depth)),r.children.unshift(a),r}function $a(t,e){var r=null;t.length===1&&t[0].type==="tag"&&(r=t[0].tag,t=t[0].body);var a=De(t,e,"root"),n;a.length===2&&a[1].hasClass("tag")&&(n=a.pop());for(var i=[],s=[],o=0;o0&&(i.push(hr(s,e)),s=[]),i.push(a[o]));s.length>0&&i.push(hr(s,e));var m;r?(m=hr(De(r,e,!0)),m.classes=["tag"],i.push(m)):n&&i.push(n);var d=O0(["katex-html"],i);if(d.setAttribute("aria-hidden","true"),m){var g=m.children[0];g.style.height=R(d.height+d.depth),d.depth&&(g.style.verticalAlign=R(-d.depth))}return d}function vl(t){return new Yt(t)}class r0{constructor(e,r,a){this.type=void 0,this.attributes=void 0,this.children=void 0,this.classes=void 0,this.type=e,this.attributes={},this.children=r||[],this.classes=a||[]}setAttribute(e,r){this.attributes[e]=r}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS("http://www.w3.org/1998/Math/MathML",this.type);for(var r in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,r)&&e.setAttribute(r,this.attributes[r]);this.classes.length>0&&(e.className=Q0(this.classes));for(var a=0;a0&&(e+=' class ="'+W.escape(Q0(this.classes))+'"'),e+=">";for(var a=0;a",e}toText(){return this.children.map(e=>e.toText()).join("")}}class Lt{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return W.escape(this.toText())}toText(){return this.text}}class N4{constructor(e){this.width=void 0,this.character=void 0,this.width=e,e>=.05555&&e<=.05556?this.character=" ":e>=.1666&&e<=.1667?this.character=" ":e>=.2222&&e<=.2223?this.character=" ":e>=.2777&&e<=.2778?this.character="  ":e>=-.05556&&e<=-.05555?this.character=" ⁣":e>=-.1667&&e<=-.1666?this.character=" ⁣":e>=-.2223&&e<=-.2222?this.character=" ⁣":e>=-.2778&&e<=-.2777?this.character=" ⁣":this.character=null}toNode(){if(this.character)return document.createTextNode(this.character);var e=document.createElementNS("http://www.w3.org/1998/Math/MathML","mspace");return e.setAttribute("width",R(this.width)),e}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}}var B={MathNode:r0,TextNode:Lt,SpaceNode:N4,newDocumentFragment:vl},o0=function(e,r,a){return pe[r][e]&&pe[r][e].replace&&e.charCodeAt(0)!==55349&&!(ul.hasOwnProperty(e)&&a&&(a.fontFamily&&a.fontFamily.slice(4,6)==="tt"||a.font&&a.font.slice(4,6)==="tt"))&&(e=pe[r][e].replace),new B.TextNode(e)},gn=function(e){return e.length===1?e[0]:new B.MathNode("mrow",e)},bn=function(e,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 a=r.font;if(!a||a==="mathnormal")return null;var n=e.mode;if(a==="mathit")return"italic";if(a==="boldsymbol")return e.type==="textord"?"bold":"bold-italic";if(a==="mathbf")return"bold";if(a==="mathbb")return"double-struck";if(a==="mathfrak")return"fraktur";if(a==="mathscr"||a==="mathcal")return"script";if(a==="mathsf")return"sans-serif";if(a==="mathtt")return"monospace";var i=e.text;if(W.contains(["\\imath","\\jmath"],i))return null;pe[n][i]&&pe[n][i].replace&&(i=pe[n][i].replace);var s=k.fontMap[a].fontName;return dn(i,s,n)?k.fontMap[a].variant:null},Ye=function(e,r,a){if(e.length===1){var n=de(e[0],r);return a&&n instanceof r0&&n.type==="mo"&&(n.setAttribute("lspace","0em"),n.setAttribute("rspace","0em")),[n]}for(var i=[],s,o=0;o0&&(g.text=g.text.slice(0,1)+"̸"+g.text.slice(1),i.pop())}}}i.push(c),s=c}return i},tt=function(e,r,a){return gn(Ye(e,r,a))},de=function(e,r){if(!e)return new B.MathNode("mrow");if(Nr[e.type]){var a=Nr[e.type](e,r);return a}else throw new E("Got group of unknown type: '"+e.type+"'")};function zi(t,e,r,a,n){var i=Ye(t,r),s;i.length===1&&i[0]instanceof r0&&W.contains(["mrow","mtable"],i[0].type)?s=i[0]:s=new B.MathNode("mrow",i);var o=new B.MathNode("annotation",[new B.TextNode(e)]);o.setAttribute("encoding","application/x-tex");var c=new B.MathNode("semantics",[s,o]),m=new B.MathNode("math",[c]);m.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),a&&m.setAttribute("display","block");var d=n?"katex":"katex-mathml";return k.makeSpan([d],[m])}var gl=function(e){return new E0({style:e.displayMode?K.DISPLAY:K.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},bl=function(e,r){if(r.displayMode){var a=["katex-display"];r.leqno&&a.push("leqno"),r.fleqn&&a.push("fleqn"),e=k.makeSpan(a,[e])}return e},I4=function(e,r,a){var n=gl(a),i;if(a.output==="mathml")return zi(e,r,n,a.displayMode,!0);if(a.output==="html"){var s=$a(e,n);i=k.makeSpan(["katex"],[s])}else{var o=zi(e,r,n,a.displayMode,!1),c=$a(e,n);i=k.makeSpan(["katex"],[o,c])}return bl(i,a)},_4=function(e,r,a){var n=gl(a),i=$a(e,n),s=k.makeSpan(["katex"],[i]);return bl(s,a)},R4={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":"="},O4=function(e){var r=new B.MathNode("mo",[new B.TextNode(R4[e.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},F4={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]},L4=function(e){return e.type==="ordgroup"?e.body.length:1},H4=function(e,r){function a(){var o=4e5,c=e.label.slice(1);if(W.contains(["widehat","widecheck","widetilde","utilde"],c)){var m=e,d=L4(m.base),g,w,S;if(d>5)c==="widehat"||c==="widecheck"?(g=420,o=2364,S=.42,w=c+"4"):(g=312,o=2340,S=.34,w="tilde4");else{var T=[1,1,2,2,3,3][d];c==="widehat"||c==="widecheck"?(o=[0,1062,2364,2364,2364][T],g=[0,239,300,360,420][T],S=[0,.24,.3,.3,.36,.42][T],w=c+T):(o=[0,600,1033,2339,2340][T],g=[0,260,286,306,312][T],S=[0,.26,.286,.3,.306,.34][T],w="tilde"+T)}var A=new et(w),F=new R0([A],{width:"100%",height:R(S),viewBox:"0 0 "+o+" "+g,preserveAspectRatio:"none"});return{span:k.makeSvgSpan([],[F],r),minWidth:0,height:S}}else{var _=[],U=F4[c],[P,Z,J]=U,G=J/1e3,re=P.length,se,ce;if(re===1){var Ie=U[3];se=["hide-tail"],ce=[Ie]}else if(re===2)se=["halfarrow-left","halfarrow-right"],ce=["xMinYMin","xMaxYMin"];else if(re===3)se=["brace-left","brace-center","brace-right"],ce=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support + `+re+" children.");for(var ze=0;ze0&&(n.style.minWidth=R(i)),n},P4=function(e,r,a,n,i){var s,o=e.height+e.depth+a+n;if(/fbox|color|angl/.test(r)){if(s=k.makeSpan(["stretchy",r],[],i),r==="fbox"){var c=i.color&&i.getColor();c&&(s.style.borderColor=c)}}else{var m=[];/^[bx]cancel$/.test(r)&&m.push(new Ha({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&m.push(new Ha({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var d=new R0(m,{width:"100%",height:R(o)});s=k.makeSvgSpan([],[d],i)}return s.height=o,s.style.height=R(o),s},F0={encloseSpan:P4,mathMLnode:O4,svgSpan:H4};function ae(t,e){if(!t||t.type!==e)throw new Error("Expected node of type "+e+", but got "+(t?"node of type "+t.type:String(t)));return t}function yn(t){var e=Xr(t);if(!e)throw new Error("Expected node of symbol group type, but got "+(t?"node of type "+t.type:String(t)));return e}function Xr(t){return t&&(t.type==="atom"||m4.hasOwnProperty(t.type))?t:null}var xn=(t,e)=>{var r,a,n;t&&t.type==="supsub"?(a=ae(t.base,"accent"),r=a.base,t.base=r,n=c4(ue(t,e)),t.base=a):(a=ae(t,"accent"),r=a.base);var i=ue(r,e.havingCrampedStyle()),s=a.isShifty&&W.isCharacterBox(r),o=0;if(s){var c=W.getBaseElem(r),m=ue(c,e.havingCrampedStyle());o=xi(m).skew}var d=a.label==="\\c",g=d?i.height+i.depth:Math.min(i.height,e.fontMetrics().xHeight),w;if(a.isStretchy)w=F0.svgSpan(a,e),w=k.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"elem",elem:w,wrapperClasses:["svg-align"],wrapperStyle:o>0?{width:"calc(100% - "+R(2*o)+")",marginLeft:R(2*o)}:void 0}]},e);else{var S,T;a.label==="\\vec"?(S=k.staticSvg("vec",e),T=k.svgData.vec[1]):(S=k.makeOrd({mode:a.mode,text:a.label},e,"textord"),S=xi(S),S.italic=0,T=S.width,d&&(g+=S.depth)),w=k.makeSpan(["accent-body"],[S]);var A=a.label==="\\textcircled";A&&(w.classes.push("accent-full"),g=i.height);var F=o;A||(F-=T/2),w.style.left=R(F),a.label==="\\textcircled"&&(w.style.top=".2em"),w=k.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:-g},{type:"elem",elem:w}]},e)}var _=k.makeSpan(["mord","accent"],[w],e);return n?(n.children[0]=_,n.height=Math.max(_.height,n.height),n.classes[0]="mord",n):_},yl=(t,e)=>{var r=t.isStretchy?F0.mathMLnode(t.label):new B.MathNode("mo",[o0(t.label,t.mode)]),a=new B.MathNode("mover",[de(t.base,e),r]);return a.setAttribute("accent","true"),a},V4=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(t=>"\\"+t).join("|"));H({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:(t,e)=>{var r=Ir(e[0]),a=!V4.test(t.funcName),n=!a||t.funcName==="\\widehat"||t.funcName==="\\widetilde"||t.funcName==="\\widecheck";return{type:"accent",mode:t.parser.mode,label:t.funcName,isStretchy:a,isShifty:n,base:r}},htmlBuilder:xn,mathmlBuilder:yl});H({type:"accent",names:["\\'","\\`","\\^","\\~","\\=","\\u","\\.",'\\"',"\\c","\\r","\\H","\\v","\\textcircled"],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:["primitive"]},handler:(t,e)=>{var r=e[0],a=t.parser.mode;return a==="math"&&(t.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+t.funcName+" works only in text mode"),a="text"),{type:"accent",mode:a,label:t.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:xn,mathmlBuilder:yl});H({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(t,e)=>{var{parser:r,funcName:a}=t,n=e[0];return{type:"accentUnder",mode:r.mode,label:a,base:n}},htmlBuilder:(t,e)=>{var r=ue(t.base,e),a=F0.svgSpan(t,e),n=t.label==="\\utilde"?.12:0,i=k.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:a,wrapperClasses:["svg-align"]},{type:"kern",size:n},{type:"elem",elem:r}]},e);return k.makeSpan(["mord","accentunder"],[i],e)},mathmlBuilder:(t,e)=>{var r=F0.mathMLnode(t.label),a=new B.MathNode("munder",[de(t.base,e),r]);return a.setAttribute("accentunder","true"),a}});var mr=t=>{var e=new B.MathNode("mpadded",t?[t]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};H({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(t,e,r){var{parser:a,funcName:n}=t;return{type:"xArrow",mode:a.mode,label:n,body:e[0],below:r[0]}},htmlBuilder(t,e){var r=e.style,a=e.havingStyle(r.sup()),n=k.wrapFragment(ue(t.body,a,e),e),i=t.label.slice(0,2)==="\\x"?"x":"cd";n.classes.push(i+"-arrow-pad");var s;t.below&&(a=e.havingStyle(r.sub()),s=k.wrapFragment(ue(t.below,a,e),e),s.classes.push(i+"-arrow-pad"));var o=F0.svgSpan(t,e),c=-e.fontMetrics().axisHeight+.5*o.height,m=-e.fontMetrics().axisHeight-.5*o.height-.111;(n.depth>.25||t.label==="\\xleftequilibrium")&&(m-=n.depth);var d;if(s){var g=-e.fontMetrics().axisHeight+s.height+.5*o.height+.111;d=k.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:m},{type:"elem",elem:o,shift:c},{type:"elem",elem:s,shift:g}]},e)}else d=k.makeVList({positionType:"individualShift",children:[{type:"elem",elem:n,shift:m},{type:"elem",elem:o,shift:c}]},e);return d.children[0].children[0].children[1].classes.push("svg-align"),k.makeSpan(["mrel","x-arrow"],[d],e)},mathmlBuilder(t,e){var r=F0.mathMLnode(t.label);r.setAttribute("minsize",t.label.charAt(0)==="x"?"1.75em":"3.0em");var a;if(t.body){var n=mr(de(t.body,e));if(t.below){var i=mr(de(t.below,e));a=new B.MathNode("munderover",[r,i,n])}else a=new B.MathNode("mover",[r,n])}else if(t.below){var s=mr(de(t.below,e));a=new B.MathNode("munder",[r,s])}else a=mr(),a=new B.MathNode("mover",[r,a]);return a}});var $4=k.makeSpan;function xl(t,e){var r=De(t.body,e,!0);return $4([t.mclass],r,e)}function wl(t,e){var r,a=Ye(t.body,e);return t.mclass==="minner"?r=new B.MathNode("mpadded",a):t.mclass==="mord"?t.isCharacterBox?(r=a[0],r.type="mi"):r=new B.MathNode("mi",a):(t.isCharacterBox?(r=a[0],r.type="mo"):r=new B.MathNode("mo",a),t.mclass==="mbin"?(r.attributes.lspace="0.22em",r.attributes.rspace="0.22em"):t.mclass==="mpunct"?(r.attributes.lspace="0em",r.attributes.rspace="0.17em"):t.mclass==="mopen"||t.mclass==="mclose"?(r.attributes.lspace="0em",r.attributes.rspace="0em"):t.mclass==="minner"&&(r.attributes.lspace="0.0556em",r.attributes.width="+0.1111em")),r}H({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(t,e){var{parser:r,funcName:a}=t,n=e[0];return{type:"mclass",mode:r.mode,mclass:"m"+a.slice(5),body:Ce(n),isCharacterBox:W.isCharacterBox(n)}},htmlBuilder:xl,mathmlBuilder:wl});var Yr=t=>{var e=t.type==="ordgroup"&&t.body.length?t.body[0]:t;return e.type==="atom"&&(e.family==="bin"||e.family==="rel")?"m"+e.family:"mord"};H({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(t,e){var{parser:r}=t;return{type:"mclass",mode:r.mode,mclass:Yr(e[0]),body:Ce(e[1]),isCharacterBox:W.isCharacterBox(e[1])}}});H({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(t,e){var{parser:r,funcName:a}=t,n=e[1],i=e[0],s;a!=="\\stackrel"?s=Yr(n):s="mrel";var o={type:"op",mode:n.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:a!=="\\stackrel",body:Ce(n)},c={type:"supsub",mode:i.mode,base:o,sup:a==="\\underset"?null:i,sub:a==="\\underset"?i:null};return{type:"mclass",mode:r.mode,mclass:s,body:[c],isCharacterBox:W.isCharacterBox(c)}},htmlBuilder:xl,mathmlBuilder:wl});H({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"pmb",mode:r.mode,mclass:Yr(e[0]),body:Ce(e[0])}},htmlBuilder(t,e){var r=De(t.body,e,!0),a=k.makeSpan([t.mclass],r,e);return a.style.textShadow="0.02em 0.01em 0.04px",a},mathmlBuilder(t,e){var r=Ye(t.body,e),a=new B.MathNode("mstyle",r);return a.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),a}});var U4={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Ci=()=>({type:"styling",body:[],mode:"math",style:"display"}),qi=t=>t.type==="textord"&&t.text==="@",G4=(t,e)=>(t.type==="mathord"||t.type==="atom")&&t.text===e;function j4(t,e,r){var a=U4[t];switch(a){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(a,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{var n=r.callFunction("\\\\cdleft",[e[0]],[]),i={type:"atom",text:a,mode:"math",family:"rel"},s=r.callFunction("\\Big",[i],[]),o=r.callFunction("\\\\cdright",[e[1]],[]),c={type:"ordgroup",mode:"math",body:[n,s,o]};return r.callFunction("\\\\cdparent",[c],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var m={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[m],[])}default:return{type:"textord",text:" ",mode:"math"}}}function W4(t){var e=[];for(t.gullet.beginGroup(),t.gullet.macros.set("\\cr","\\\\\\relax"),t.gullet.beginGroup();;){e.push(t.parseExpression(!1,"\\\\")),t.gullet.endGroup(),t.gullet.beginGroup();var r=t.fetch().text;if(r==="&"||r==="\\\\")t.consume();else if(r==="\\end"){e[e.length-1].length===0&&e.pop();break}else throw new E("Expected \\\\ or \\cr or \\end",t.nextToken)}for(var a=[],n=[a],i=0;i-1))if("<>AV".indexOf(m)>-1)for(var g=0;g<2;g++){for(var w=!0,S=c+1;SAV=|." after @',s[c]);var T=j4(m,d,t),A={type:"styling",body:[T],mode:"math",style:"display"};a.push(A),o=Ci()}i%2===0?a.push(o):a.shift(),a=[],n.push(a)}t.gullet.endGroup(),t.gullet.endGroup();var F=new Array(n[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:n,arraystretch:1,addJot:!0,rowGaps:[null],cols:F,colSeparationType:"CD",hLinesBeforeRow:new Array(n.length+1).fill([])}}H({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:a}=t;return{type:"cdlabel",mode:r.mode,side:a.slice(4),label:e[0]}},htmlBuilder(t,e){var r=e.havingStyle(e.style.sup()),a=k.wrapFragment(ue(t.label,r,e),e);return a.classes.push("cd-label-"+t.side),a.style.bottom=R(.8-a.depth),a.height=0,a.depth=0,a},mathmlBuilder(t,e){var r=new B.MathNode("mrow",[de(t.label,e)]);return r=new B.MathNode("mpadded",[r]),r.setAttribute("width","0"),t.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new B.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});H({type:"cdlabelparent",names:["\\\\cdparent"],props:{numArgs:1},handler(t,e){var{parser:r}=t;return{type:"cdlabelparent",mode:r.mode,fragment:e[0]}},htmlBuilder(t,e){var r=k.wrapFragment(ue(t.fragment,e),e);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(t,e){return new B.MathNode("mrow",[de(t.fragment,e)])}});H({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(t,e){for(var{parser:r}=t,a=ae(e[0],"ordgroup"),n=a.body,i="",s=0;s=1114111)throw new E("\\@char with invalid code point "+i);return c<=65535?m=String.fromCharCode(c):(c-=65536,m=String.fromCharCode((c>>10)+55296,(c&1023)+56320)),{type:"textord",mode:r.mode,text:m}}});var Sl=(t,e)=>{var r=De(t.body,e.withColor(t.color),!1);return k.makeFragment(r)},kl=(t,e)=>{var r=Ye(t.body,e.withColor(t.color)),a=new B.MathNode("mstyle",r);return a.setAttribute("mathcolor",t.color),a};H({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(t,e){var{parser:r}=t,a=ae(e[0],"color-token").color,n=e[1];return{type:"color",mode:r.mode,color:a,body:Ce(n)}},htmlBuilder:Sl,mathmlBuilder:kl});H({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(t,e){var{parser:r,breakOnTokenText:a}=t,n=ae(e[0],"color-token").color;r.gullet.macros.set("\\current@color",n);var i=r.parseExpression(!0,a);return{type:"color",mode:r.mode,color:n,body:i}},htmlBuilder:Sl,mathmlBuilder:kl});H({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(t,e,r){var{parser:a}=t,n=a.gullet.future().text==="["?a.parseSizeGroup(!0):null,i=!a.settings.displayMode||!a.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:a.mode,newLine:i,size:n&&ae(n,"size").value}},htmlBuilder(t,e){var r=k.makeSpan(["mspace"],[],e);return t.newLine&&(r.classes.push("newline"),t.size&&(r.style.marginTop=R(ke(t.size,e)))),r},mathmlBuilder(t,e){var r=new B.MathNode("mspace");return t.newLine&&(r.setAttribute("linebreak","newline"),t.size&&r.setAttribute("height",R(ke(t.size,e)))),r}});var Ua={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Ml=t=>{var e=t.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new E("Expected a control sequence",t);return e},X4=t=>{var e=t.gullet.popToken();return e.text==="="&&(e=t.gullet.popToken(),e.text===" "&&(e=t.gullet.popToken())),e},Tl=(t,e,r,a)=>{var n=t.gullet.macros.get(r.text);n==null&&(r.noexpand=!0,n={tokens:[r],numArgs:0,unexpandable:!t.gullet.isExpandable(r.text)}),t.gullet.macros.set(e,n,a)};H({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e,funcName:r}=t;e.consumeSpaces();var a=e.fetch();if(Ua[a.text])return(r==="\\global"||r==="\\\\globallong")&&(a.text=Ua[a.text]),ae(e.parseFunction(),"internal");throw new E("Invalid token after macro prefix",a)}});H({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,a=e.gullet.popToken(),n=a.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new E("Expected a control sequence",a);for(var i=0,s,o=[[]];e.gullet.future().text!=="{";)if(a=e.gullet.popToken(),a.text==="#"){if(e.gullet.future().text==="{"){s=e.gullet.future(),o[i].push("{");break}if(a=e.gullet.popToken(),!/^[1-9]$/.test(a.text))throw new E('Invalid argument number "'+a.text+'"');if(parseInt(a.text)!==i+1)throw new E('Argument number "'+a.text+'" out of order');i++,o.push([])}else{if(a.text==="EOF")throw new E("Expected a macro definition");o[i].push(a.text)}var{tokens:c}=e.gullet.consumeArg();return s&&c.unshift(s),(r==="\\edef"||r==="\\xdef")&&(c=e.gullet.expandTokens(c),c.reverse()),e.gullet.macros.set(n,{tokens:c,numArgs:i,delimiters:o},r===Ua[r]),{type:"internal",mode:e.mode}}});H({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,a=Ml(e.gullet.popToken());e.gullet.consumeSpaces();var n=X4(e);return Tl(e,a,n,r==="\\\\globallet"),{type:"internal",mode:e.mode}}});H({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,a=Ml(e.gullet.popToken()),n=e.gullet.popToken(),i=e.gullet.popToken();return Tl(e,a,i,r==="\\\\globalfuture"),e.gullet.pushToken(i),e.gullet.pushToken(n),{type:"internal",mode:e.mode}}});var Nt=function(e,r,a){var n=pe.math[e]&&pe.math[e].replace,i=dn(n||e,r,a);if(!i)throw new Error("Unsupported symbol "+e+" and font size "+r+".");return i},wn=function(e,r,a,n){var i=a.havingBaseStyle(r),s=k.makeSpan(n.concat(i.sizingClasses(a)),[e],a),o=i.sizeMultiplier/a.sizeMultiplier;return s.height*=o,s.depth*=o,s.maxFontSize=i.sizeMultiplier,s},Al=function(e,r,a){var n=r.havingBaseStyle(a),i=(1-r.sizeMultiplier/n.sizeMultiplier)*r.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=R(i),e.height-=i,e.depth+=i},Y4=function(e,r,a,n,i,s){var o=k.makeSymbol(e,"Main-Regular",i,n),c=wn(o,r,n,s);return a&&Al(c,n,r),c},K4=function(e,r,a,n){return k.makeSymbol(e,"Size"+r+"-Regular",a,n)},zl=function(e,r,a,n,i,s){var o=K4(e,r,i,n),c=wn(k.makeSpan(["delimsizing","size"+r],[o],n),K.TEXT,n,s);return a&&Al(c,n,K.TEXT),c},da=function(e,r,a){var n;r==="Size1-Regular"?n="delim-size1":n="delim-size4";var i=k.makeSpan(["delimsizinginner",n],[k.makeSpan([],[k.makeSymbol(e,r,a)])]);return{type:"elem",elem:i}},pa=function(e,r,a){var n=M0["Size4-Regular"][e.charCodeAt(0)]?M0["Size4-Regular"][e.charCodeAt(0)][4]:M0["Size1-Regular"][e.charCodeAt(0)][4],i=new et("inner",r4(e,Math.round(1e3*r))),s=new R0([i],{width:R(n),height:R(r),style:"width:"+R(n),viewBox:"0 0 "+1e3*n+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),o=k.makeSvgSpan([],[s],a);return o.height=r,o.style.height=R(r),o.style.width=R(n),{type:"elem",elem:o}},Ga=.008,fr={type:"kern",size:-1*Ga},Z4=["|","\\lvert","\\rvert","\\vert"],J4=["\\|","\\lVert","\\rVert","\\Vert"],Cl=function(e,r,a,n,i,s){var o,c,m,d,g="",w=0;o=m=d=e,c=null;var S="Size1-Regular";e==="\\uparrow"?m=d="⏐":e==="\\Uparrow"?m=d="‖":e==="\\downarrow"?o=m="⏐":e==="\\Downarrow"?o=m="‖":e==="\\updownarrow"?(o="\\uparrow",m="⏐",d="\\downarrow"):e==="\\Updownarrow"?(o="\\Uparrow",m="‖",d="\\Downarrow"):W.contains(Z4,e)?(m="∣",g="vert",w=333):W.contains(J4,e)?(m="∥",g="doublevert",w=556):e==="["||e==="\\lbrack"?(o="⎡",m="⎢",d="⎣",S="Size4-Regular",g="lbrack",w=667):e==="]"||e==="\\rbrack"?(o="⎤",m="⎥",d="⎦",S="Size4-Regular",g="rbrack",w=667):e==="\\lfloor"||e==="⌊"?(m=o="⎢",d="⎣",S="Size4-Regular",g="lfloor",w=667):e==="\\lceil"||e==="⌈"?(o="⎡",m=d="⎢",S="Size4-Regular",g="lceil",w=667):e==="\\rfloor"||e==="⌋"?(m=o="⎥",d="⎦",S="Size4-Regular",g="rfloor",w=667):e==="\\rceil"||e==="⌉"?(o="⎤",m=d="⎥",S="Size4-Regular",g="rceil",w=667):e==="("||e==="\\lparen"?(o="⎛",m="⎜",d="⎝",S="Size4-Regular",g="lparen",w=875):e===")"||e==="\\rparen"?(o="⎞",m="⎟",d="⎠",S="Size4-Regular",g="rparen",w=875):e==="\\{"||e==="\\lbrace"?(o="⎧",c="⎨",d="⎩",m="⎪",S="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(o="⎫",c="⎬",d="⎭",m="⎪",S="Size4-Regular"):e==="\\lgroup"||e==="⟮"?(o="⎧",d="⎩",m="⎪",S="Size4-Regular"):e==="\\rgroup"||e==="⟯"?(o="⎫",d="⎭",m="⎪",S="Size4-Regular"):e==="\\lmoustache"||e==="⎰"?(o="⎧",d="⎭",m="⎪",S="Size4-Regular"):(e==="\\rmoustache"||e==="⎱")&&(o="⎫",d="⎩",m="⎪",S="Size4-Regular");var T=Nt(o,S,i),A=T.height+T.depth,F=Nt(m,S,i),_=F.height+F.depth,U=Nt(d,S,i),P=U.height+U.depth,Z=0,J=1;if(c!==null){var G=Nt(c,S,i);Z=G.height+G.depth,J=2}var re=A+P+Z,se=Math.max(0,Math.ceil((r-re)/(J*_))),ce=re+se*J*_,Ie=n.fontMetrics().axisHeight;a&&(Ie*=n.sizeMultiplier);var ze=ce/2-Ie,be=[];if(g.length>0){var e0=ce-A-P,Be=Math.round(ce*1e3),Ue=a4(g,Math.round(e0*1e3)),ye=new et(g,Ue),he=(w/1e3).toFixed(3)+"em",le=(Be/1e3).toFixed(3)+"em",u0=new R0([ye],{width:he,height:le,viewBox:"0 0 "+w+" "+Be}),Ke=k.makeSvgSpan([],[u0],n);Ke.height=Be/1e3,Ke.style.width=he,Ke.style.height=le,be.push({type:"elem",elem:Ke})}else{if(be.push(da(d,S,i)),be.push(fr),c===null){var Re=ce-A-P+2*Ga;be.push(pa(m,Re,n))}else{var we=(ce-A-P-Z)/2+2*Ga;be.push(pa(m,we,n)),be.push(fr),be.push(da(c,S,i)),be.push(fr),be.push(pa(m,we,n))}be.push(fr),be.push(da(o,S,i))}var P0=n.havingBaseStyle(K.TEXT),qt=k.makeVList({positionType:"bottom",positionData:ze,children:be},P0);return wn(k.makeSpan(["delimsizing","mult"],[qt],P0),K.TEXT,n,s)},va=80,ga=.08,ba=function(e,r,a,n,i){var s=t4(e,n,a),o=new et(e,s),c=new R0([o],{width:"400em",height:R(r),viewBox:"0 0 400000 "+a,preserveAspectRatio:"xMinYMin slice"});return k.makeSvgSpan(["hide-tail"],[c],i)},Q4=function(e,r){var a=r.havingBaseSizing(),n=El("\\surd",e*a.sizeMultiplier,Bl,a),i=a.sizeMultiplier,s=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),o,c=0,m=0,d=0,g;return n.type==="small"?(d=1e3+1e3*s+va,e<1?i=1:e<1.4&&(i=.7),c=(1+s+ga)/i,m=(1+s)/i,o=ba("sqrtMain",c,d,s,r),o.style.minWidth="0.853em",g=.833/i):n.type==="large"?(d=(1e3+va)*Ht[n.size],m=(Ht[n.size]+s)/i,c=(Ht[n.size]+s+ga)/i,o=ba("sqrtSize"+n.size,c,d,s,r),o.style.minWidth="1.02em",g=1/i):(c=e+s+ga,m=e+s,d=Math.floor(1e3*e+s)+va,o=ba("sqrtTall",c,d,s,r),o.style.minWidth="0.742em",g=1.056),o.height=m,o.style.height=R(c),{span:o,advanceWidth:g,ruleWidth:(r.fontMetrics().sqrtRuleThickness+s)*i}},ql=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],ec=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],Dl=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],Ht=[0,1.2,1.8,2.4,3],tc=function(e,r,a,n,i){if(e==="<"||e==="\\lt"||e==="⟨"?e="\\langle":(e===">"||e==="\\gt"||e==="⟩")&&(e="\\rangle"),W.contains(ql,e)||W.contains(Dl,e))return zl(e,r,!1,a,n,i);if(W.contains(ec,e))return Cl(e,Ht[r],!1,a,n,i);throw new E("Illegal delimiter: '"+e+"'")},rc=[{type:"small",style:K.SCRIPTSCRIPT},{type:"small",style:K.SCRIPT},{type:"small",style:K.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],ac=[{type:"small",style:K.SCRIPTSCRIPT},{type:"small",style:K.SCRIPT},{type:"small",style:K.TEXT},{type:"stack"}],Bl=[{type:"small",style:K.SCRIPTSCRIPT},{type:"small",style:K.SCRIPT},{type:"small",style:K.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],nc=function(e){if(e.type==="small")return"Main-Regular";if(e.type==="large")return"Size"+e.size+"-Regular";if(e.type==="stack")return"Size4-Regular";throw new Error("Add support for delim type '"+e.type+"' here.")},El=function(e,r,a,n){for(var i=Math.min(2,3-n.style.size),s=i;sr)return a[s]}return a[a.length-1]},Nl=function(e,r,a,n,i,s){e==="<"||e==="\\lt"||e==="⟨"?e="\\langle":(e===">"||e==="\\gt"||e==="⟩")&&(e="\\rangle");var o;W.contains(Dl,e)?o=rc:W.contains(ql,e)?o=Bl:o=ac;var c=El(e,r,o,n);return c.type==="small"?Y4(e,c.style,a,n,i,s):c.type==="large"?zl(e,c.size,a,n,i,s):Cl(e,r,a,n,i,s)},ic=function(e,r,a,n,i,s){var o=n.fontMetrics().axisHeight*n.sizeMultiplier,c=901,m=5/n.fontMetrics().ptPerEm,d=Math.max(r-o,a+o),g=Math.max(d/500*c,2*d-m);return Nl(e,g,!0,n,i,s)},_0={sqrtImage:Q4,sizedDelim:tc,sizeToMaxHeight:Ht,customSizedDelim:Nl,leftRightDelim:ic},Di={"\\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}},sc=["(","\\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 Kr(t,e){var r=Xr(t);if(r&&W.contains(sc,r.text))return r;throw r?new E("Invalid delimiter '"+r.text+"' after '"+e.funcName+"'",t):new E("Invalid delimiter type '"+t.type+"'",t)}H({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:(t,e)=>{var r=Kr(e[0],t);return{type:"delimsizing",mode:t.parser.mode,size:Di[t.funcName].size,mclass:Di[t.funcName].mclass,delim:r.text}},htmlBuilder:(t,e)=>t.delim==="."?k.makeSpan([t.mclass]):_0.sizedDelim(t.delim,t.size,e,t.mode,[t.mclass]),mathmlBuilder:t=>{var e=[];t.delim!=="."&&e.push(o0(t.delim,t.mode));var r=new B.MathNode("mo",e);t.mclass==="mopen"||t.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var a=R(_0.sizeToMaxHeight[t.size]);return r.setAttribute("minsize",a),r.setAttribute("maxsize",a),r}});function Bi(t){if(!t.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}H({type:"leftright-right",names:["\\right"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=t.parser.gullet.macros.get("\\current@color");if(r&&typeof r!="string")throw new E("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:t.parser.mode,delim:Kr(e[0],t).text,color:r}}});H({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=Kr(e[0],t),a=t.parser;++a.leftrightDepth;var n=a.parseExpression(!1);--a.leftrightDepth,a.expect("\\right",!1);var i=ae(a.parseFunction(),"leftright-right");return{type:"leftright",mode:a.mode,body:n,left:r.text,right:i.delim,rightColor:i.color}},htmlBuilder:(t,e)=>{Bi(t);for(var r=De(t.body,e,!0,["mopen","mclose"]),a=0,n=0,i=!1,s=0;s{Bi(t);var r=Ye(t.body,e);if(t.left!=="."){var a=new B.MathNode("mo",[o0(t.left,t.mode)]);a.setAttribute("fence","true"),r.unshift(a)}if(t.right!=="."){var n=new B.MathNode("mo",[o0(t.right,t.mode)]);n.setAttribute("fence","true"),t.rightColor&&n.setAttribute("mathcolor",t.rightColor),r.push(n)}return gn(r)}});H({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=Kr(e[0],t);if(!t.parser.leftrightDepth)throw new E("\\middle without preceding \\left",r);return{type:"middle",mode:t.parser.mode,delim:r.text}},htmlBuilder:(t,e)=>{var r;if(t.delim===".")r=Wt(e,[]);else{r=_0.sizedDelim(t.delim,1,e,t.mode,[]);var a={delim:t.delim,options:e};r.isMiddle=a}return r},mathmlBuilder:(t,e)=>{var r=t.delim==="\\vert"||t.delim==="|"?o0("|","text"):o0(t.delim,t.mode),a=new B.MathNode("mo",[r]);return a.setAttribute("fence","true"),a.setAttribute("lspace","0.05em"),a.setAttribute("rspace","0.05em"),a}});var Sn=(t,e)=>{var r=k.wrapFragment(ue(t.body,e),e),a=t.label.slice(1),n=e.sizeMultiplier,i,s=0,o=W.isCharacterBox(t.body);if(a==="sout")i=k.makeSpan(["stretchy","sout"]),i.height=e.fontMetrics().defaultRuleThickness/n,s=-.5*e.fontMetrics().xHeight;else if(a==="phase"){var c=ke({number:.6,unit:"pt"},e),m=ke({number:.35,unit:"ex"},e),d=e.havingBaseSizing();n=n/d.sizeMultiplier;var g=r.height+r.depth+c+m;r.style.paddingLeft=R(g/2+c);var w=Math.floor(1e3*g*n),S=Qu(w),T=new R0([new et("phase",S)],{width:"400em",height:R(w/1e3),viewBox:"0 0 400000 "+w,preserveAspectRatio:"xMinYMin slice"});i=k.makeSvgSpan(["hide-tail"],[T],e),i.style.height=R(g),s=r.depth+c+m}else{/cancel/.test(a)?o||r.classes.push("cancel-pad"):a==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var A=0,F=0,_=0;/box/.test(a)?(_=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),A=e.fontMetrics().fboxsep+(a==="colorbox"?0:_),F=A):a==="angl"?(_=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),A=4*_,F=Math.max(0,.25-r.depth)):(A=o?.2:0,F=A),i=F0.encloseSpan(r,a,A,F,e),/fbox|boxed|fcolorbox/.test(a)?(i.style.borderStyle="solid",i.style.borderWidth=R(_)):a==="angl"&&_!==.049&&(i.style.borderTopWidth=R(_),i.style.borderRightWidth=R(_)),s=r.depth+F,t.backgroundColor&&(i.style.backgroundColor=t.backgroundColor,t.borderColor&&(i.style.borderColor=t.borderColor))}var U;if(t.backgroundColor)U=k.makeVList({positionType:"individualShift",children:[{type:"elem",elem:i,shift:s},{type:"elem",elem:r,shift:0}]},e);else{var P=/cancel|phase/.test(a)?["svg-align"]:[];U=k.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:i,shift:s,wrapperClasses:P}]},e)}return/cancel/.test(a)&&(U.height=r.height,U.depth=r.depth),/cancel/.test(a)&&!o?k.makeSpan(["mord","cancel-lap"],[U],e):k.makeSpan(["mord"],[U],e)},kn=(t,e)=>{var r=0,a=new B.MathNode(t.label.indexOf("colorbox")>-1?"mpadded":"menclose",[de(t.body,e)]);switch(t.label){case"\\cancel":a.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":a.setAttribute("notation","downdiagonalstrike");break;case"\\phase":a.setAttribute("notation","phasorangle");break;case"\\sout":a.setAttribute("notation","horizontalstrike");break;case"\\fbox":a.setAttribute("notation","box");break;case"\\angl":a.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,a.setAttribute("width","+"+2*r+"pt"),a.setAttribute("height","+"+2*r+"pt"),a.setAttribute("lspace",r+"pt"),a.setAttribute("voffset",r+"pt"),t.label==="\\fcolorbox"){var n=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);a.setAttribute("style","border: "+n+"em solid "+String(t.borderColor))}break;case"\\xcancel":a.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return t.backgroundColor&&a.setAttribute("mathbackground",t.backgroundColor),a};H({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(t,e,r){var{parser:a,funcName:n}=t,i=ae(e[0],"color-token").color,s=e[1];return{type:"enclose",mode:a.mode,label:n,backgroundColor:i,body:s}},htmlBuilder:Sn,mathmlBuilder:kn});H({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(t,e,r){var{parser:a,funcName:n}=t,i=ae(e[0],"color-token").color,s=ae(e[1],"color-token").color,o=e[2];return{type:"enclose",mode:a.mode,label:n,backgroundColor:s,borderColor:i,body:o}},htmlBuilder:Sn,mathmlBuilder:kn});H({type:"enclose",names:["\\fbox"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"enclose",mode:r.mode,label:"\\fbox",body:e[0]}}});H({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:a}=t,n=e[0];return{type:"enclose",mode:r.mode,label:a,body:n}},htmlBuilder:Sn,mathmlBuilder:kn});H({type:"enclose",names:["\\angl"],props:{numArgs:1,argTypes:["hbox"],allowedInText:!1},handler(t,e){var{parser:r}=t;return{type:"enclose",mode:r.mode,label:"\\angl",body:e[0]}}});var Il={};function T0(t){for(var{type:e,names:r,props:a,handler:n,htmlBuilder:i,mathmlBuilder:s}=t,o={type:e,numArgs:a.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:n},c=0;c{var e=t.parser.settings;if(!e.displayMode)throw new E("{"+t.envName+"} can be used only in display mode.")};function Mn(t){if(t.indexOf("ed")===-1)return t.indexOf("*")===-1}function it(t,e,r){var{hskipBeforeAndAfter:a,addJot:n,cols:i,arraystretch:s,colSeparationType:o,autoTag:c,singleRow:m,emptySingleRow:d,maxNumCols:g,leqno:w}=e;if(t.gullet.beginGroup(),m||t.gullet.macros.set("\\cr","\\\\\\relax"),!s){var S=t.gullet.expandMacroAsText("\\arraystretch");if(S==null)s=1;else if(s=parseFloat(S),!s||s<0)throw new E("Invalid \\arraystretch: "+S)}t.gullet.beginGroup();var T=[],A=[T],F=[],_=[],U=c!=null?[]:void 0;function P(){c&&t.gullet.macros.set("\\@eqnsw","1",!0)}function Z(){U&&(t.gullet.macros.get("\\df@tag")?(U.push(t.subparse([new s0("\\df@tag")])),t.gullet.macros.set("\\df@tag",void 0,!0)):U.push(!!c&&t.gullet.macros.get("\\@eqnsw")==="1"))}for(P(),_.push(Ei(t));;){var J=t.parseExpression(!1,m?"\\end":"\\\\");t.gullet.endGroup(),t.gullet.beginGroup(),J={type:"ordgroup",mode:t.mode,body:J},r&&(J={type:"styling",mode:t.mode,style:r,body:[J]}),T.push(J);var G=t.fetch().text;if(G==="&"){if(g&&T.length===g){if(m||o)throw new E("Too many tab characters: &",t.nextToken);t.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}t.consume()}else if(G==="\\end"){Z(),T.length===1&&J.type==="styling"&&J.body[0].body.length===0&&(A.length>1||!d)&&A.pop(),_.length0&&(P+=.25),m.push({pos:P,isDashed:N[L]})}for(Z(s[0]),a=0;a0&&(ze+=U,reN))for(a=0;a=o)){var c0=void 0;(n>0||e.hskipBeforeAndAfter)&&(c0=W.deflt(we.pregap,w),c0!==0&&(Ue=k.makeSpan(["arraycolsep"],[]),Ue.style.width=R(c0),Be.push(Ue)));var g0=[];for(a=0;a0){for(var Qt=k.makeLineSpan("hline",r,d),b=k.makeLineSpan("hdashline",r,d),x=[{type:"elem",elem:c,shift:0}];m.length>0;){var M=m.pop(),z=M.pos-be;M.isDashed?x.push({type:"elem",elem:b,shift:z}):x.push({type:"elem",elem:Qt,shift:z})}c=k.makeVList({positionType:"individualShift",children:x},r)}if(he.length===0)return k.makeSpan(["mord"],[c],r);var C=k.makeVList({positionType:"individualShift",children:he},r);return C=k.makeSpan(["tag"],[C],r),k.makeFragment([c,C])},lc={c:"center ",l:"left ",r:"right "},z0=function(e,r){for(var a=[],n=new B.MathNode("mtd",[],["mtr-glue"]),i=new B.MathNode("mtd",[],["mml-eqn-num"]),s=0;s0){var T=e.cols,A="",F=!1,_=0,U=T.length;T[0].type==="separator"&&(w+="top ",_=1),T[T.length-1].type==="separator"&&(w+="bottom ",U-=1);for(var P=_;P0?"left ":"",w+=se[se.length-1].length>0?"right ":"";for(var ce=1;ce-1?"alignat":"align",i=e.envName==="split",s=it(e.parser,{cols:a,addJot:!0,autoTag:i?void 0:Mn(e.envName),emptySingleRow:!0,colSeparationType:n,maxNumCols:i?2:void 0,leqno:e.parser.settings.leqno},"display"),o,c=0,m={type:"ordgroup",mode:e.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var d="",g=0;g0&&S&&(F=1),a[T]={type:"align",align:A,pregap:F,postgap:0}}return s.colSeparationType=S?"align":"alignat",s};T0({type:"array",names:["array","darray"],props:{numArgs:1},handler(t,e){var r=Xr(e[0]),a=r?[e[0]]:ae(e[0],"ordgroup").body,n=a.map(function(s){var o=yn(s),c=o.text;if("lcr".indexOf(c)!==-1)return{type:"align",align:c};if(c==="|")return{type:"separator",separator:"|"};if(c===":")return{type:"separator",separator:":"};throw new E("Unknown column alignment: "+c,s)}),i={cols:n,hskipBeforeAndAfter:!0,maxNumCols:n.length};return it(t.parser,i,Tn(t.envName))},htmlBuilder:A0,mathmlBuilder:z0});T0({type:"array",names:["matrix","pmatrix","bmatrix","Bmatrix","vmatrix","Vmatrix","matrix*","pmatrix*","bmatrix*","Bmatrix*","vmatrix*","Vmatrix*"],props:{numArgs:0},handler(t){var e={matrix:null,pmatrix:["(",")"],bmatrix:["[","]"],Bmatrix:["\\{","\\}"],vmatrix:["|","|"],Vmatrix:["\\Vert","\\Vert"]}[t.envName.replace("*","")],r="c",a={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(t.envName.charAt(t.envName.length-1)==="*"){var n=t.parser;if(n.consumeSpaces(),n.fetch().text==="["){if(n.consume(),n.consumeSpaces(),r=n.fetch().text,"lcr".indexOf(r)===-1)throw new E("Expected l or c or r",n.nextToken);n.consume(),n.consumeSpaces(),n.expect("]"),n.consume(),a.cols=[{type:"align",align:r}]}}var i=it(t.parser,a,Tn(t.envName)),s=Math.max(0,...i.body.map(o=>o.length));return i.cols=new Array(s).fill({type:"align",align:r}),e?{type:"leftright",mode:t.mode,body:[i],left:e[0],right:e[1],rightColor:void 0}:i},htmlBuilder:A0,mathmlBuilder:z0});T0({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(t){var e={arraystretch:.5},r=it(t.parser,e,"script");return r.colSeparationType="small",r},htmlBuilder:A0,mathmlBuilder:z0});T0({type:"array",names:["subarray"],props:{numArgs:1},handler(t,e){var r=Xr(e[0]),a=r?[e[0]]:ae(e[0],"ordgroup").body,n=a.map(function(s){var o=yn(s),c=o.text;if("lc".indexOf(c)!==-1)return{type:"align",align:c};throw new E("Unknown column alignment: "+c,s)});if(n.length>1)throw new E("{subarray} can contain only one column");var i={cols:n,hskipBeforeAndAfter:!1,arraystretch:.5};if(i=it(t.parser,i,"script"),i.body.length>0&&i.body[0].length>1)throw new E("{subarray} can contain only one column");return i},htmlBuilder:A0,mathmlBuilder:z0});T0({type:"array",names:["cases","dcases","rcases","drcases"],props:{numArgs:0},handler(t){var e={arraystretch:1.2,cols:[{type:"align",align:"l",pregap:0,postgap:1},{type:"align",align:"l",pregap:0,postgap:0}]},r=it(t.parser,e,Tn(t.envName));return{type:"leftright",mode:t.mode,body:[r],left:t.envName.indexOf("r")>-1?".":"\\{",right:t.envName.indexOf("r")>-1?"\\}":".",rightColor:void 0}},htmlBuilder:A0,mathmlBuilder:z0});T0({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:Rl,htmlBuilder:A0,mathmlBuilder:z0});T0({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(t){W.contains(["gather","gather*"],t.envName)&&Zr(t);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Mn(t.envName),emptySingleRow:!0,leqno:t.parser.settings.leqno};return it(t.parser,e,"display")},htmlBuilder:A0,mathmlBuilder:z0});T0({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:Rl,htmlBuilder:A0,mathmlBuilder:z0});T0({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(t){Zr(t);var e={autoTag:Mn(t.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:t.parser.settings.leqno};return it(t.parser,e,"display")},htmlBuilder:A0,mathmlBuilder:z0});T0({type:"array",names:["CD"],props:{numArgs:0},handler(t){return Zr(t),W4(t.parser)},htmlBuilder:A0,mathmlBuilder:z0});f("\\nonumber","\\gdef\\@eqnsw{0}");f("\\notag","\\nonumber");H({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(t,e){throw new E(t.funcName+" valid only within array environment")}});var Ni=Il;H({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(t,e){var{parser:r,funcName:a}=t,n=e[0];if(n.type!=="ordgroup")throw new E("Invalid environment name",n);for(var i="",s=0;s{var r=t.font,a=e.withFont(r);return ue(t.body,a)},Fl=(t,e)=>{var r=t.font,a=e.withFont(r);return de(t.body,a)},Ii={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};H({type:"font",names:["\\mathrm","\\mathit","\\mathbf","\\mathnormal","\\mathbb","\\mathcal","\\mathfrak","\\mathscr","\\mathsf","\\mathtt","\\Bbb","\\bold","\\frak"],props:{numArgs:1,allowedInArgument:!0},handler:(t,e)=>{var{parser:r,funcName:a}=t,n=Ir(e[0]),i=a;return i in Ii&&(i=Ii[i]),{type:"font",mode:r.mode,font:i.slice(1),body:n}},htmlBuilder:Ol,mathmlBuilder:Fl});H({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(t,e)=>{var{parser:r}=t,a=e[0],n=W.isCharacterBox(a);return{type:"mclass",mode:r.mode,mclass:Yr(a),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:a}],isCharacterBox:n}}});H({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:a,breakOnTokenText:n}=t,{mode:i}=r,s=r.parseExpression(!0,n),o="math"+a.slice(1);return{type:"font",mode:i,font:o,body:{type:"ordgroup",mode:r.mode,body:s}}},htmlBuilder:Ol,mathmlBuilder:Fl});var Ll=(t,e)=>{var r=e;return t==="display"?r=r.id>=K.SCRIPT.id?r.text():K.DISPLAY:t==="text"&&r.size===K.DISPLAY.size?r=K.TEXT:t==="script"?r=K.SCRIPT:t==="scriptscript"&&(r=K.SCRIPTSCRIPT),r},An=(t,e)=>{var r=Ll(t.size,e.style),a=r.fracNum(),n=r.fracDen(),i;i=e.havingStyle(a);var s=ue(t.numer,i,e);if(t.continued){var o=8.5/e.fontMetrics().ptPerEm,c=3.5/e.fontMetrics().ptPerEm;s.height=s.height0?T=3*w:T=7*w,A=e.fontMetrics().denom1):(g>0?(S=e.fontMetrics().num2,T=w):(S=e.fontMetrics().num3,T=3*w),A=e.fontMetrics().denom2);var F;if(d){var U=e.fontMetrics().axisHeight;S-s.depth-(U+.5*g){var r=new B.MathNode("mfrac",[de(t.numer,e),de(t.denom,e)]);if(!t.hasBarLine)r.setAttribute("linethickness","0px");else if(t.barSize){var a=ke(t.barSize,e);r.setAttribute("linethickness",R(a))}var n=Ll(t.size,e.style);if(n.size!==e.style.size){r=new B.MathNode("mstyle",[r]);var i=n.size===K.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",i),r.setAttribute("scriptlevel","0")}if(t.leftDelim!=null||t.rightDelim!=null){var s=[];if(t.leftDelim!=null){var o=new B.MathNode("mo",[new B.TextNode(t.leftDelim.replace("\\",""))]);o.setAttribute("fence","true"),s.push(o)}if(s.push(r),t.rightDelim!=null){var c=new B.MathNode("mo",[new B.TextNode(t.rightDelim.replace("\\",""))]);c.setAttribute("fence","true"),s.push(c)}return gn(s)}return r};H({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(t,e)=>{var{parser:r,funcName:a}=t,n=e[0],i=e[1],s,o=null,c=null,m="auto";switch(a){case"\\dfrac":case"\\frac":case"\\tfrac":s=!0;break;case"\\\\atopfrac":s=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":s=!1,o="(",c=")";break;case"\\\\bracefrac":s=!1,o="\\{",c="\\}";break;case"\\\\brackfrac":s=!1,o="[",c="]";break;default:throw new Error("Unrecognized genfrac command")}switch(a){case"\\dfrac":case"\\dbinom":m="display";break;case"\\tfrac":case"\\tbinom":m="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:n,denom:i,hasBarLine:s,leftDelim:o,rightDelim:c,size:m,barSize:null}},htmlBuilder:An,mathmlBuilder:zn});H({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(t,e)=>{var{parser:r,funcName:a}=t,n=e[0],i=e[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:n,denom:i,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});H({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(t){var{parser:e,funcName:r,token:a}=t,n;switch(r){case"\\over":n="\\frac";break;case"\\choose":n="\\binom";break;case"\\atop":n="\\\\atopfrac";break;case"\\brace":n="\\\\bracefrac";break;case"\\brack":n="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:n,token:a}}});var _i=["display","text","script","scriptscript"],Ri=function(e){var r=null;return e.length>0&&(r=e,r=r==="."?null:r),r};H({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(t,e){var{parser:r}=t,a=e[4],n=e[5],i=Ir(e[0]),s=i.type==="atom"&&i.family==="open"?Ri(i.text):null,o=Ir(e[1]),c=o.type==="atom"&&o.family==="close"?Ri(o.text):null,m=ae(e[2],"size"),d,g=null;m.isBlank?d=!0:(g=m.value,d=g.number>0);var w="auto",S=e[3];if(S.type==="ordgroup"){if(S.body.length>0){var T=ae(S.body[0],"textord");w=_i[Number(T.text)]}}else S=ae(S,"textord"),w=_i[Number(S.text)];return{type:"genfrac",mode:r.mode,numer:a,denom:n,continued:!1,hasBarLine:d,barSize:g,leftDelim:s,rightDelim:c,size:w}},htmlBuilder:An,mathmlBuilder:zn});H({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(t,e){var{parser:r,funcName:a,token:n}=t;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:ae(e[0],"size").value,token:n}}});H({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(t,e)=>{var{parser:r,funcName:a}=t,n=e[0],i=Fu(ae(e[1],"infix").size),s=e[2],o=i.number>0;return{type:"genfrac",mode:r.mode,numer:n,denom:s,continued:!1,hasBarLine:o,barSize:i,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:An,mathmlBuilder:zn});var Hl=(t,e)=>{var r=e.style,a,n;t.type==="supsub"?(a=t.sup?ue(t.sup,e.havingStyle(r.sup()),e):ue(t.sub,e.havingStyle(r.sub()),e),n=ae(t.base,"horizBrace")):n=ae(t,"horizBrace");var i=ue(n.base,e.havingBaseStyle(K.DISPLAY)),s=F0.svgSpan(n,e),o;if(n.isOver?(o=k.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:s}]},e),o.children[0].children[0].children[1].classes.push("svg-align")):(o=k.makeVList({positionType:"bottom",positionData:i.depth+.1+s.height,children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:i}]},e),o.children[0].children[0].children[0].classes.push("svg-align")),a){var c=k.makeSpan(["mord",n.isOver?"mover":"munder"],[o],e);n.isOver?o=k.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:c},{type:"kern",size:.2},{type:"elem",elem:a}]},e):o=k.makeVList({positionType:"bottom",positionData:c.depth+.2+a.height+a.depth,children:[{type:"elem",elem:a},{type:"kern",size:.2},{type:"elem",elem:c}]},e)}return k.makeSpan(["mord",n.isOver?"mover":"munder"],[o],e)},oc=(t,e)=>{var r=F0.mathMLnode(t.label);return new B.MathNode(t.isOver?"mover":"munder",[de(t.base,e),r])};H({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:a}=t;return{type:"horizBrace",mode:r.mode,label:a,isOver:/^\\over/.test(a),base:e[0]}},htmlBuilder:Hl,mathmlBuilder:oc});H({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,a=e[1],n=ae(e[0],"url").url;return r.settings.isTrusted({command:"\\href",url:n})?{type:"href",mode:r.mode,href:n,body:Ce(a)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(t,e)=>{var r=De(t.body,e,!1);return k.makeAnchor(t.href,[],r,e)},mathmlBuilder:(t,e)=>{var r=tt(t.body,e);return r instanceof r0||(r=new r0("mrow",[r])),r.setAttribute("href",t.href),r}});H({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,a=ae(e[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:a}))return r.formatUnsupportedCmd("\\url");for(var n=[],i=0;i{var{parser:r,funcName:a,token:n}=t,i=ae(e[0],"raw").string,s=e[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var o,c={};switch(a){case"\\htmlClass":c.class=i,o={command:"\\htmlClass",class:i};break;case"\\htmlId":c.id=i,o={command:"\\htmlId",id:i};break;case"\\htmlStyle":c.style=i,o={command:"\\htmlStyle",style:i};break;case"\\htmlData":{for(var m=i.split(","),d=0;d{var r=De(t.body,e,!1),a=["enclosing"];t.attributes.class&&a.push(...t.attributes.class.trim().split(/\s+/));var n=k.makeSpan(a,r,e);for(var i in t.attributes)i!=="class"&&t.attributes.hasOwnProperty(i)&&n.setAttribute(i,t.attributes[i]);return n},mathmlBuilder:(t,e)=>tt(t.body,e)});H({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t;return{type:"htmlmathml",mode:r.mode,html:Ce(e[0]),mathml:Ce(e[1])}},htmlBuilder:(t,e)=>{var r=De(t.html,e,!1);return k.makeFragment(r)},mathmlBuilder:(t,e)=>tt(t.mathml,e)});var ya=function(e){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(e))return{number:+e,unit:"bp"};var r=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(e);if(!r)throw new E("Invalid size: '"+e+"' in \\includegraphics");var a={number:+(r[1]+r[2]),unit:r[3]};if(!il(a))throw new E("Invalid unit: '"+a.unit+"' in \\includegraphics.");return a};H({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(t,e,r)=>{var{parser:a}=t,n={number:0,unit:"em"},i={number:.9,unit:"em"},s={number:0,unit:"em"},o="";if(r[0])for(var c=ae(r[0],"raw").string,m=c.split(","),d=0;d{var r=ke(t.height,e),a=0;t.totalheight.number>0&&(a=ke(t.totalheight,e)-r);var n=0;t.width.number>0&&(n=ke(t.width,e));var i={height:R(r+a)};n>0&&(i.width=R(n)),a>0&&(i.verticalAlign=R(-a));var s=new o4(t.src,t.alt,i);return s.height=r,s.depth=a,s},mathmlBuilder:(t,e)=>{var r=new B.MathNode("mglyph",[]);r.setAttribute("alt",t.alt);var a=ke(t.height,e),n=0;if(t.totalheight.number>0&&(n=ke(t.totalheight,e)-a,r.setAttribute("valign",R(-n))),r.setAttribute("height",R(a+n)),t.width.number>0){var i=ke(t.width,e);r.setAttribute("width",R(i))}return r.setAttribute("src",t.src),r}});H({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(t,e){var{parser:r,funcName:a}=t,n=ae(e[0],"size");if(r.settings.strict){var i=a[1]==="m",s=n.value.unit==="mu";i?(s||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" supports only mu units, "+("not "+n.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" works only in math mode")):s&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+a+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:n.value}},htmlBuilder(t,e){return k.makeGlue(t.dimension,e)},mathmlBuilder(t,e){var r=ke(t.dimension,e);return new B.SpaceNode(r)}});H({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:a}=t,n=e[0];return{type:"lap",mode:r.mode,alignment:a.slice(5),body:n}},htmlBuilder:(t,e)=>{var r;t.alignment==="clap"?(r=k.makeSpan([],[ue(t.body,e)]),r=k.makeSpan(["inner"],[r],e)):r=k.makeSpan(["inner"],[ue(t.body,e)]);var a=k.makeSpan(["fix"],[]),n=k.makeSpan([t.alignment],[r,a],e),i=k.makeSpan(["strut"]);return i.style.height=R(n.height+n.depth),n.depth&&(i.style.verticalAlign=R(-n.depth)),n.children.unshift(i),n=k.makeSpan(["thinbox"],[n],e),k.makeSpan(["mord","vbox"],[n],e)},mathmlBuilder:(t,e)=>{var r=new B.MathNode("mpadded",[de(t.body,e)]);if(t.alignment!=="rlap"){var a=t.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",a+"width")}return r.setAttribute("width","0px"),r}});H({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){var{funcName:r,parser:a}=t,n=a.mode;a.switchMode("math");var i=r==="\\("?"\\)":"$",s=a.parseExpression(!1,i);return a.expect(i),a.switchMode(n),{type:"styling",mode:a.mode,style:"text",body:s}}});H({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){throw new E("Mismatched "+t.funcName)}});var Oi=(t,e)=>{switch(e.style.size){case K.DISPLAY.size:return t.display;case K.TEXT.size:return t.text;case K.SCRIPT.size:return t.script;case K.SCRIPTSCRIPT.size:return t.scriptscript;default:return t.text}};H({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(t,e)=>{var{parser:r}=t;return{type:"mathchoice",mode:r.mode,display:Ce(e[0]),text:Ce(e[1]),script:Ce(e[2]),scriptscript:Ce(e[3])}},htmlBuilder:(t,e)=>{var r=Oi(t,e),a=De(r,e,!1);return k.makeFragment(a)},mathmlBuilder:(t,e)=>{var r=Oi(t,e);return tt(r,e)}});var Pl=(t,e,r,a,n,i,s)=>{t=k.makeSpan([],[t]);var o=r&&W.isCharacterBox(r),c,m;if(e){var d=ue(e,a.havingStyle(n.sup()),a);m={elem:d,kern:Math.max(a.fontMetrics().bigOpSpacing1,a.fontMetrics().bigOpSpacing3-d.depth)}}if(r){var g=ue(r,a.havingStyle(n.sub()),a);c={elem:g,kern:Math.max(a.fontMetrics().bigOpSpacing2,a.fontMetrics().bigOpSpacing4-g.height)}}var w;if(m&&c){var S=a.fontMetrics().bigOpSpacing5+c.elem.height+c.elem.depth+c.kern+t.depth+s;w=k.makeVList({positionType:"bottom",positionData:S,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:c.elem,marginLeft:R(-i)},{type:"kern",size:c.kern},{type:"elem",elem:t},{type:"kern",size:m.kern},{type:"elem",elem:m.elem,marginLeft:R(i)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else if(c){var T=t.height-s;w=k.makeVList({positionType:"top",positionData:T,children:[{type:"kern",size:a.fontMetrics().bigOpSpacing5},{type:"elem",elem:c.elem,marginLeft:R(-i)},{type:"kern",size:c.kern},{type:"elem",elem:t}]},a)}else if(m){var A=t.depth+s;w=k.makeVList({positionType:"bottom",positionData:A,children:[{type:"elem",elem:t},{type:"kern",size:m.kern},{type:"elem",elem:m.elem,marginLeft:R(i)},{type:"kern",size:a.fontMetrics().bigOpSpacing5}]},a)}else return t;var F=[w];if(c&&i!==0&&!o){var _=k.makeSpan(["mspace"],[],a);_.style.marginRight=R(i),F.unshift(_)}return k.makeSpan(["mop","op-limits"],F,a)},Vl=["\\smallint"],Ct=(t,e)=>{var r,a,n=!1,i;t.type==="supsub"?(r=t.sup,a=t.sub,i=ae(t.base,"op"),n=!0):i=ae(t,"op");var s=e.style,o=!1;s.size===K.DISPLAY.size&&i.symbol&&!W.contains(Vl,i.name)&&(o=!0);var c;if(i.symbol){var m=o?"Size2-Regular":"Size1-Regular",d="";if((i.name==="\\oiint"||i.name==="\\oiiint")&&(d=i.name.slice(1),i.name=d==="oiint"?"\\iint":"\\iiint"),c=k.makeSymbol(i.name,m,"math",e,["mop","op-symbol",o?"large-op":"small-op"]),d.length>0){var g=c.italic,w=k.staticSvg(d+"Size"+(o?"2":"1"),e);c=k.makeVList({positionType:"individualShift",children:[{type:"elem",elem:c,shift:0},{type:"elem",elem:w,shift:o?.08:0}]},e),i.name="\\"+d,c.classes.unshift("mop"),c.italic=g}}else if(i.body){var S=De(i.body,e,!0);S.length===1&&S[0]instanceof l0?(c=S[0],c.classes[0]="mop"):c=k.makeSpan(["mop"],S,e)}else{for(var T=[],A=1;A{var r;if(t.symbol)r=new r0("mo",[o0(t.name,t.mode)]),W.contains(Vl,t.name)&&r.setAttribute("largeop","false");else if(t.body)r=new r0("mo",Ye(t.body,e));else{r=new r0("mi",[new Lt(t.name.slice(1))]);var a=new r0("mo",[o0("⁡","text")]);t.parentIsSupSub?r=new r0("mrow",[r,a]):r=vl([r,a])}return r},uc={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};H({type:"op",names:["\\coprod","\\bigvee","\\bigwedge","\\biguplus","\\bigcap","\\bigcup","\\intop","\\prod","\\sum","\\bigotimes","\\bigoplus","\\bigodot","\\bigsqcup","\\smallint","∏","∐","∑","⋀","⋁","⋂","⋃","⨀","⨁","⨂","⨄","⨆"],props:{numArgs:0},handler:(t,e)=>{var{parser:r,funcName:a}=t,n=a;return n.length===1&&(n=uc[n]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:Ct,mathmlBuilder:Zt});H({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var{parser:r}=t,a=e[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Ce(a)}},htmlBuilder:Ct,mathmlBuilder:Zt});var cc={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};H({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(t){var{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Ct,mathmlBuilder:Zt});H({type:"op",names:["\\det","\\gcd","\\inf","\\lim","\\max","\\min","\\Pr","\\sup"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t;return{type:"op",mode:e.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:r}},htmlBuilder:Ct,mathmlBuilder:Zt});H({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t,a=r;return a.length===1&&(a=cc[a]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:Ct,mathmlBuilder:Zt});var $l=(t,e)=>{var r,a,n=!1,i;t.type==="supsub"?(r=t.sup,a=t.sub,i=ae(t.base,"operatorname"),n=!0):i=ae(t,"operatorname");var s;if(i.body.length>0){for(var o=i.body.map(g=>{var w=g.text;return typeof w=="string"?{type:"textord",mode:g.mode,text:w}:g}),c=De(o,e.withFont("mathrm"),!0),m=0;m{for(var r=Ye(t.body,e.withFont("mathrm")),a=!0,n=0;nd.toText()).join("");r=[new B.TextNode(o)]}var c=new B.MathNode("mi",r);c.setAttribute("mathvariant","normal");var m=new B.MathNode("mo",[o0("⁡","text")]);return t.parentIsSupSub?new B.MathNode("mrow",[c,m]):B.newDocumentFragment([c,m])};H({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(t,e)=>{var{parser:r,funcName:a}=t,n=e[0];return{type:"operatorname",mode:r.mode,body:Ce(n),alwaysHandleSupSub:a==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:$l,mathmlBuilder:hc});f("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");pt({type:"ordgroup",htmlBuilder(t,e){return t.semisimple?k.makeFragment(De(t.body,e,!1)):k.makeSpan(["mord"],De(t.body,e,!0),e)},mathmlBuilder(t,e){return tt(t.body,e,!0)}});H({type:"overline",names:["\\overline"],props:{numArgs:1},handler(t,e){var{parser:r}=t,a=e[0];return{type:"overline",mode:r.mode,body:a}},htmlBuilder(t,e){var r=ue(t.body,e.havingCrampedStyle()),a=k.makeLineSpan("overline-line",e),n=e.fontMetrics().defaultRuleThickness,i=k.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*n},{type:"elem",elem:a},{type:"kern",size:n}]},e);return k.makeSpan(["mord","overline"],[i],e)},mathmlBuilder(t,e){var r=new B.MathNode("mo",[new B.TextNode("‾")]);r.setAttribute("stretchy","true");var a=new B.MathNode("mover",[de(t.body,e),r]);return a.setAttribute("accent","true"),a}});H({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,a=e[0];return{type:"phantom",mode:r.mode,body:Ce(a)}},htmlBuilder:(t,e)=>{var r=De(t.body,e.withPhantom(),!1);return k.makeFragment(r)},mathmlBuilder:(t,e)=>{var r=Ye(t.body,e);return new B.MathNode("mphantom",r)}});H({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,a=e[0];return{type:"hphantom",mode:r.mode,body:a}},htmlBuilder:(t,e)=>{var r=k.makeSpan([],[ue(t.body,e.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var a=0;a{var r=Ye(Ce(t.body),e),a=new B.MathNode("mphantom",r),n=new B.MathNode("mpadded",[a]);return n.setAttribute("height","0px"),n.setAttribute("depth","0px"),n}});H({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,a=e[0];return{type:"vphantom",mode:r.mode,body:a}},htmlBuilder:(t,e)=>{var r=k.makeSpan(["inner"],[ue(t.body,e.withPhantom())]),a=k.makeSpan(["fix"],[]);return k.makeSpan(["mord","rlap"],[r,a],e)},mathmlBuilder:(t,e)=>{var r=Ye(Ce(t.body),e),a=new B.MathNode("mphantom",r),n=new B.MathNode("mpadded",[a]);return n.setAttribute("width","0px"),n}});H({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(t,e){var{parser:r}=t,a=ae(e[0],"size").value,n=e[1];return{type:"raisebox",mode:r.mode,dy:a,body:n}},htmlBuilder(t,e){var r=ue(t.body,e),a=ke(t.dy,e);return k.makeVList({positionType:"shift",positionData:-a,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){var r=new B.MathNode("mpadded",[de(t.body,e)]),a=t.dy.number+t.dy.unit;return r.setAttribute("voffset",a),r}});H({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e}=t;return{type:"internal",mode:e.mode}}});H({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(t,e,r){var{parser:a}=t,n=r[0],i=ae(e[0],"size"),s=ae(e[1],"size");return{type:"rule",mode:a.mode,shift:n&&ae(n,"size").value,width:i.value,height:s.value}},htmlBuilder(t,e){var r=k.makeSpan(["mord","rule"],[],e),a=ke(t.width,e),n=ke(t.height,e),i=t.shift?ke(t.shift,e):0;return r.style.borderRightWidth=R(a),r.style.borderTopWidth=R(n),r.style.bottom=R(i),r.width=a,r.height=n+i,r.depth=-i,r.maxFontSize=n*1.125*e.sizeMultiplier,r},mathmlBuilder(t,e){var r=ke(t.width,e),a=ke(t.height,e),n=t.shift?ke(t.shift,e):0,i=e.color&&e.getColor()||"black",s=new B.MathNode("mspace");s.setAttribute("mathbackground",i),s.setAttribute("width",R(r)),s.setAttribute("height",R(a));var o=new B.MathNode("mpadded",[s]);return n>=0?o.setAttribute("height",R(n)):(o.setAttribute("height",R(n)),o.setAttribute("depth",R(-n))),o.setAttribute("voffset",R(n)),o}});function Ul(t,e,r){for(var a=De(t,e,!1),n=e.sizeMultiplier/r.sizeMultiplier,i=0;i{var r=e.havingSize(t.size);return Ul(t.body,r,e)};H({type:"sizing",names:Fi,props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{breakOnTokenText:r,funcName:a,parser:n}=t,i=n.parseExpression(!1,r);return{type:"sizing",mode:n.mode,size:Fi.indexOf(a)+1,body:i}},htmlBuilder:mc,mathmlBuilder:(t,e)=>{var r=e.havingSize(t.size),a=Ye(t.body,r),n=new B.MathNode("mstyle",a);return n.setAttribute("mathsize",R(r.sizeMultiplier)),n}});H({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(t,e,r)=>{var{parser:a}=t,n=!1,i=!1,s=r[0]&&ae(r[0],"ordgroup");if(s)for(var o="",c=0;c{var r=k.makeSpan([],[ue(t.body,e)]);if(!t.smashHeight&&!t.smashDepth)return r;if(t.smashHeight&&(r.height=0,r.children))for(var a=0;a{var r=new B.MathNode("mpadded",[de(t.body,e)]);return t.smashHeight&&r.setAttribute("height","0px"),t.smashDepth&&r.setAttribute("depth","0px"),r}});H({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(t,e,r){var{parser:a}=t,n=r[0],i=e[0];return{type:"sqrt",mode:a.mode,body:i,index:n}},htmlBuilder(t,e){var r=ue(t.body,e.havingCrampedStyle());r.height===0&&(r.height=e.fontMetrics().xHeight),r=k.wrapFragment(r,e);var a=e.fontMetrics(),n=a.defaultRuleThickness,i=n;e.style.idr.height+r.depth+s&&(s=(s+g-r.height-r.depth)/2);var w=c.height-r.height-s-m;r.style.paddingLeft=R(d);var S=k.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+w)},{type:"elem",elem:c},{type:"kern",size:m}]},e);if(t.index){var T=e.havingStyle(K.SCRIPTSCRIPT),A=ue(t.index,T,e),F=.6*(S.height-S.depth),_=k.makeVList({positionType:"shift",positionData:-F,children:[{type:"elem",elem:A}]},e),U=k.makeSpan(["root"],[_]);return k.makeSpan(["mord","sqrt"],[U,S],e)}else return k.makeSpan(["mord","sqrt"],[S],e)},mathmlBuilder(t,e){var{body:r,index:a}=t;return a?new B.MathNode("mroot",[de(r,e),de(a,e)]):new B.MathNode("msqrt",[de(r,e)])}});var Li={display:K.DISPLAY,text:K.TEXT,script:K.SCRIPT,scriptscript:K.SCRIPTSCRIPT};H({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t,e){var{breakOnTokenText:r,funcName:a,parser:n}=t,i=n.parseExpression(!0,r),s=a.slice(1,a.length-5);return{type:"styling",mode:n.mode,style:s,body:i}},htmlBuilder(t,e){var r=Li[t.style],a=e.havingStyle(r).withFont("");return Ul(t.body,a,e)},mathmlBuilder(t,e){var r=Li[t.style],a=e.havingStyle(r),n=Ye(t.body,a),i=new B.MathNode("mstyle",n),s={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},o=s[t.style];return i.setAttribute("scriptlevel",o[0]),i.setAttribute("displaystyle",o[1]),i}});var fc=function(e,r){var a=e.base;if(a)if(a.type==="op"){var n=a.limits&&(r.style.size===K.DISPLAY.size||a.alwaysHandleSupSub);return n?Ct:null}else if(a.type==="operatorname"){var i=a.alwaysHandleSupSub&&(r.style.size===K.DISPLAY.size||a.limits);return i?$l:null}else{if(a.type==="accent")return W.isCharacterBox(a.base)?xn:null;if(a.type==="horizBrace"){var s=!e.sub;return s===a.isOver?Hl:null}else return null}else return null};pt({type:"supsub",htmlBuilder(t,e){var r=fc(t,e);if(r)return r(t,e);var{base:a,sup:n,sub:i}=t,s=ue(a,e),o,c,m=e.fontMetrics(),d=0,g=0,w=a&&W.isCharacterBox(a);if(n){var S=e.havingStyle(e.style.sup());o=ue(n,S,e),w||(d=s.height-S.fontMetrics().supDrop*S.sizeMultiplier/e.sizeMultiplier)}if(i){var T=e.havingStyle(e.style.sub());c=ue(i,T,e),w||(g=s.depth+T.fontMetrics().subDrop*T.sizeMultiplier/e.sizeMultiplier)}var A;e.style===K.DISPLAY?A=m.sup1:e.style.cramped?A=m.sup3:A=m.sup2;var F=e.sizeMultiplier,_=R(.5/m.ptPerEm/F),U=null;if(c){var P=t.base&&t.base.type==="op"&&t.base.name&&(t.base.name==="\\oiint"||t.base.name==="\\oiiint");(s instanceof l0||P)&&(U=R(-s.italic))}var Z;if(o&&c){d=Math.max(d,A,o.depth+.25*m.xHeight),g=Math.max(g,m.sub2);var J=m.defaultRuleThickness,G=4*J;if(d-o.depth-(c.height-g)0&&(d+=re,g-=re)}var se=[{type:"elem",elem:c,shift:g,marginRight:_,marginLeft:U},{type:"elem",elem:o,shift:-d,marginRight:_}];Z=k.makeVList({positionType:"individualShift",children:se},e)}else if(c){g=Math.max(g,m.sub1,c.height-.8*m.xHeight);var ce=[{type:"elem",elem:c,marginLeft:U,marginRight:_}];Z=k.makeVList({positionType:"shift",positionData:g,children:ce},e)}else if(o)d=Math.max(d,A,o.depth+.25*m.xHeight),Z=k.makeVList({positionType:"shift",positionData:-d,children:[{type:"elem",elem:o,marginRight:_}]},e);else throw new Error("supsub must have either sup or sub.");var Ie=Va(s,"right")||"mord";return k.makeSpan([Ie],[s,k.makeSpan(["msupsub"],[Z])],e)},mathmlBuilder(t,e){var r=!1,a,n;t.base&&t.base.type==="horizBrace"&&(n=!!t.sup,n===t.base.isOver&&(r=!0,a=t.base.isOver)),t.base&&(t.base.type==="op"||t.base.type==="operatorname")&&(t.base.parentIsSupSub=!0);var i=[de(t.base,e)];t.sub&&i.push(de(t.sub,e)),t.sup&&i.push(de(t.sup,e));var s;if(r)s=a?"mover":"munder";else if(t.sub)if(t.sup){var m=t.base;m&&m.type==="op"&&m.limits&&e.style===K.DISPLAY||m&&m.type==="operatorname"&&m.alwaysHandleSupSub&&(e.style===K.DISPLAY||m.limits)?s="munderover":s="msubsup"}else{var c=t.base;c&&c.type==="op"&&c.limits&&(e.style===K.DISPLAY||c.alwaysHandleSupSub)||c&&c.type==="operatorname"&&c.alwaysHandleSupSub&&(c.limits||e.style===K.DISPLAY)?s="munder":s="msub"}else{var o=t.base;o&&o.type==="op"&&o.limits&&(e.style===K.DISPLAY||o.alwaysHandleSupSub)||o&&o.type==="operatorname"&&o.alwaysHandleSupSub&&(o.limits||e.style===K.DISPLAY)?s="mover":s="msup"}return new B.MathNode(s,i)}});pt({type:"atom",htmlBuilder(t,e){return k.mathsym(t.text,t.mode,e,["m"+t.family])},mathmlBuilder(t,e){var r=new B.MathNode("mo",[o0(t.text,t.mode)]);if(t.family==="bin"){var a=bn(t,e);a==="bold-italic"&&r.setAttribute("mathvariant",a)}else t.family==="punct"?r.setAttribute("separator","true"):(t.family==="open"||t.family==="close")&&r.setAttribute("stretchy","false");return r}});var Gl={mi:"italic",mn:"normal",mtext:"normal"};pt({type:"mathord",htmlBuilder(t,e){return k.makeOrd(t,e,"mathord")},mathmlBuilder(t,e){var r=new B.MathNode("mi",[o0(t.text,t.mode,e)]),a=bn(t,e)||"italic";return a!==Gl[r.type]&&r.setAttribute("mathvariant",a),r}});pt({type:"textord",htmlBuilder(t,e){return k.makeOrd(t,e,"textord")},mathmlBuilder(t,e){var r=o0(t.text,t.mode,e),a=bn(t,e)||"normal",n;return t.mode==="text"?n=new B.MathNode("mtext",[r]):/[0-9]/.test(t.text)?n=new B.MathNode("mn",[r]):t.text==="\\prime"?n=new B.MathNode("mo",[r]):n=new B.MathNode("mi",[r]),a!==Gl[n.type]&&n.setAttribute("mathvariant",a),n}});var xa={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},wa={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};pt({type:"spacing",htmlBuilder(t,e){if(wa.hasOwnProperty(t.text)){var r=wa[t.text].className||"";if(t.mode==="text"){var a=k.makeOrd(t,e,"textord");return a.classes.push(r),a}else return k.makeSpan(["mspace",r],[k.mathsym(t.text,t.mode,e)],e)}else{if(xa.hasOwnProperty(t.text))return k.makeSpan(["mspace",xa[t.text]],[],e);throw new E('Unknown type of space "'+t.text+'"')}},mathmlBuilder(t,e){var r;if(wa.hasOwnProperty(t.text))r=new B.MathNode("mtext",[new B.TextNode(" ")]);else{if(xa.hasOwnProperty(t.text))return new B.MathNode("mspace");throw new E('Unknown type of space "'+t.text+'"')}return r}});var Hi=()=>{var t=new B.MathNode("mtd",[]);return t.setAttribute("width","50%"),t};pt({type:"tag",mathmlBuilder(t,e){var r=new B.MathNode("mtable",[new B.MathNode("mtr",[Hi(),new B.MathNode("mtd",[tt(t.body,e)]),Hi(),new B.MathNode("mtd",[tt(t.tag,e)])])]);return r.setAttribute("width","100%"),r}});var Pi={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Vi={"\\textbf":"textbf","\\textmd":"textmd"},dc={"\\textit":"textit","\\textup":"textup"},$i=(t,e)=>{var r=t.font;if(r){if(Pi[r])return e.withTextFontFamily(Pi[r]);if(Vi[r])return e.withTextFontWeight(Vi[r]);if(r==="\\emph")return e.fontShape==="textit"?e.withTextFontShape("textup"):e.withTextFontShape("textit")}else return e;return e.withTextFontShape(dc[r])};H({type:"text",names:["\\text","\\textrm","\\textsf","\\texttt","\\textnormal","\\textbf","\\textmd","\\textit","\\textup","\\emph"],props:{numArgs:1,argTypes:["text"],allowedInArgument:!0,allowedInText:!0},handler(t,e){var{parser:r,funcName:a}=t,n=e[0];return{type:"text",mode:r.mode,body:Ce(n),font:a}},htmlBuilder(t,e){var r=$i(t,e),a=De(t.body,r,!0);return k.makeSpan(["mord","text"],a,r)},mathmlBuilder(t,e){var r=$i(t,e);return tt(t.body,r)}});H({type:"underline",names:["\\underline"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"underline",mode:r.mode,body:e[0]}},htmlBuilder(t,e){var r=ue(t.body,e),a=k.makeLineSpan("underline-line",e),n=e.fontMetrics().defaultRuleThickness,i=k.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:n},{type:"elem",elem:a},{type:"kern",size:3*n},{type:"elem",elem:r}]},e);return k.makeSpan(["mord","underline"],[i],e)},mathmlBuilder(t,e){var r=new B.MathNode("mo",[new B.TextNode("‾")]);r.setAttribute("stretchy","true");var a=new B.MathNode("munder",[de(t.body,e),r]);return a.setAttribute("accentunder","true"),a}});H({type:"vcenter",names:["\\vcenter"],props:{numArgs:1,argTypes:["original"],allowedInText:!1},handler(t,e){var{parser:r}=t;return{type:"vcenter",mode:r.mode,body:e[0]}},htmlBuilder(t,e){var r=ue(t.body,e),a=e.fontMetrics().axisHeight,n=.5*(r.height-a-(r.depth+a));return k.makeVList({positionType:"shift",positionData:n,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){return new B.MathNode("mpadded",[de(t.body,e)],["vcenter"])}});H({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(t,e,r){throw new E("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(t,e){for(var r=Ui(t),a=[],n=e.havingStyle(e.style.text()),i=0;it.body.replace(/ /g,t.star?"␣":" "),Y0=dl,jl=`[ \r + ]`,pc="\\\\[a-zA-Z@]+",vc="\\\\[^\uD800-\uDFFF]",gc="("+pc+")"+jl+"*",bc=`\\\\( |[ \r ]+ -?)[ \r ]*`,ja="[̀-ͯ]",xc=new RegExp(ja+"+$"),wc="("+jl+"+)|"+(yc+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(ja+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(ja+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+bc)+("|"+gc+")");class Gi{constructor(e,r){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=r,this.tokenRegex=new RegExp(wc,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,r){this.catcodes[e]=r}lex(){var e=this.input,r=this.tokenRegex.lastIndex;if(r===e.length)return new s0("EOF",new Je(this,r,r));var a=this.tokenRegex.exec(e);if(a===null||a.index!==r)throw new E("Unexpected character: '"+e[r]+"'",new s0(e[r],new Je(this,r,r+1)));var n=a[6]||a[3]||(a[2]?"\\ ":" ");if(this.catcodes[n]===14){var i=e.indexOf(` -`,this.tokenRegex.lastIndex);return i===-1?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=i+1,this.lex()}return new s0(n,new Je(this,r,this.tokenRegex.lastIndex))}}class Sc{constructor(e,r){e===void 0&&(e={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new E("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var r in e)e.hasOwnProperty(r)&&(e[r]==null?delete this.current[r]:this.current[r]=e[r])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,r,a){if(a===void 0&&(a=!1),a){for(var n=0;n0&&(this.undefStack[this.undefStack.length-1][e]=r)}else{var i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(e)&&(i[e]=this.current[e])}r==null?delete this.current[e]:this.current[e]=r}}var kc=Rl;f("\\noexpand",function(t){var e=t.popToken();return t.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}});f("\\expandafter",function(t){var e=t.popToken();return t.expandOnce(!0),{tokens:[e],numArgs:0}});f("\\@firstoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[0],numArgs:0}});f("\\@secondoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[1],numArgs:0}});f("\\@ifnextchar",function(t){var e=t.consumeArgs(3);t.consumeSpaces();var r=t.future();return e[0].length===1&&e[0][0].text===r.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}});f("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");f("\\TextOrMath",function(t){var e=t.consumeArgs(2);return t.mode==="text"?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});var ji={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};f("\\char",function(t){var e=t.popToken(),r,a="";if(e.text==="'")r=8,e=t.popToken();else if(e.text==='"')r=16,e=t.popToken();else if(e.text==="`")if(e=t.popToken(),e.text[0]==="\\")a=e.text.charCodeAt(1);else{if(e.text==="EOF")throw new E("\\char` missing argument");a=e.text.charCodeAt(0)}else r=10;if(r){if(a=ji[e.text],a==null||a>=r)throw new E("Invalid base-"+r+" digit "+e.text);for(var n;(n=ji[t.future().text])!=null&&n{var a=t.consumeArg().tokens;if(a.length!==1)throw new E("\\newcommand's first argument must be a macro name");var n=a[0].text,i=t.isDefined(n);if(i&&!e)throw new E("\\newcommand{"+n+"} attempting to redefine "+(n+"; use \\renewcommand"));if(!i&&!r)throw new E("\\renewcommand{"+n+"} when command "+n+" does not yet exist; use \\newcommand");var l=0;if(a=t.consumeArg().tokens,a.length===1&&a[0].text==="["){for(var u="",c=t.expandNextToken();c.text!=="]"&&c.text!=="EOF";)u+=c.text,c=t.expandNextToken();if(!u.match(/^\s*[0-9]+\s*$/))throw new E("Invalid number of arguments: "+u);l=parseInt(u),a=t.consumeArg().tokens}return t.macros.set(n,{tokens:a,numArgs:l}),""};f("\\newcommand",t=>Cn(t,!1,!0));f("\\renewcommand",t=>Cn(t,!0,!1));f("\\providecommand",t=>Cn(t,!0,!0));f("\\message",t=>{var e=t.consumeArgs(1)[0];return console.log(e.reverse().map(r=>r.text).join("")),""});f("\\errmessage",t=>{var e=t.consumeArgs(1)[0];return console.error(e.reverse().map(r=>r.text).join("")),""});f("\\show",t=>{var e=t.popToken(),r=e.text;return console.log(e,t.macros.get(r),Y0[r],pe.math[r],pe.text[r]),""});f("\\bgroup","{");f("\\egroup","}");f("~","\\nobreakspace");f("\\lq","`");f("\\rq","'");f("\\aa","\\r a");f("\\AA","\\r A");f("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");f("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");f("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");f("ℬ","\\mathscr{B}");f("ℰ","\\mathscr{E}");f("ℱ","\\mathscr{F}");f("ℋ","\\mathscr{H}");f("ℐ","\\mathscr{I}");f("ℒ","\\mathscr{L}");f("ℳ","\\mathscr{M}");f("ℛ","\\mathscr{R}");f("ℭ","\\mathfrak{C}");f("ℌ","\\mathfrak{H}");f("ℨ","\\mathfrak{Z}");f("\\Bbbk","\\Bbb{k}");f("·","\\cdotp");f("\\llap","\\mathllap{\\textrm{#1}}");f("\\rlap","\\mathrlap{\\textrm{#1}}");f("\\clap","\\mathclap{\\textrm{#1}}");f("\\mathstrut","\\vphantom{(}");f("\\underbar","\\underline{\\text{#1}}");f("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');f("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");f("\\ne","\\neq");f("≠","\\neq");f("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");f("∉","\\notin");f("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");f("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");f("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");f("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");f("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");f("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");f("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");f("⟂","\\perp");f("‼","\\mathclose{!\\mkern-0.8mu!}");f("∌","\\notni");f("⌜","\\ulcorner");f("⌝","\\urcorner");f("⌞","\\llcorner");f("⌟","\\lrcorner");f("©","\\copyright");f("®","\\textregistered");f("️","\\textregistered");f("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');f("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');f("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');f("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');f("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}");f("⋮","\\vdots");f("\\varGamma","\\mathit{\\Gamma}");f("\\varDelta","\\mathit{\\Delta}");f("\\varTheta","\\mathit{\\Theta}");f("\\varLambda","\\mathit{\\Lambda}");f("\\varXi","\\mathit{\\Xi}");f("\\varPi","\\mathit{\\Pi}");f("\\varSigma","\\mathit{\\Sigma}");f("\\varUpsilon","\\mathit{\\Upsilon}");f("\\varPhi","\\mathit{\\Phi}");f("\\varPsi","\\mathit{\\Psi}");f("\\varOmega","\\mathit{\\Omega}");f("\\substack","\\begin{subarray}{c}#1\\end{subarray}");f("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");f("\\boxed","\\fbox{$\\displaystyle{#1}$}");f("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");f("\\implies","\\DOTSB\\;\\Longrightarrow\\;");f("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Wi={",":"\\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"};f("\\dots",function(t){var e="\\dotso",r=t.expandAfterFuture().text;return r in Wi?e=Wi[r]:(r.slice(0,4)==="\\not"||r in pe.math&&W.contains(["bin","rel"],pe.math[r].group))&&(e="\\dotsb"),e});var qn={")":!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};f("\\dotso",function(t){var e=t.future().text;return e in qn?"\\ldots\\,":"\\ldots"});f("\\dotsc",function(t){var e=t.future().text;return e in qn&&e!==","?"\\ldots\\,":"\\ldots"});f("\\cdots",function(t){var e=t.future().text;return e in qn?"\\@cdots\\,":"\\@cdots"});f("\\dotsb","\\cdots");f("\\dotsm","\\cdots");f("\\dotsi","\\!\\cdots");f("\\dotsx","\\ldots\\,");f("\\DOTSI","\\relax");f("\\DOTSB","\\relax");f("\\DOTSX","\\relax");f("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");f("\\,","\\tmspace+{3mu}{.1667em}");f("\\thinspace","\\,");f("\\>","\\mskip{4mu}");f("\\:","\\tmspace+{4mu}{.2222em}");f("\\medspace","\\:");f("\\;","\\tmspace+{5mu}{.2777em}");f("\\thickspace","\\;");f("\\!","\\tmspace-{3mu}{.1667em}");f("\\negthinspace","\\!");f("\\negmedspace","\\tmspace-{4mu}{.2222em}");f("\\negthickspace","\\tmspace-{5mu}{.277em}");f("\\enspace","\\kern.5em ");f("\\enskip","\\hskip.5em\\relax");f("\\quad","\\hskip1em\\relax");f("\\qquad","\\hskip2em\\relax");f("\\tag","\\@ifstar\\tag@literal\\tag@paren");f("\\tag@paren","\\tag@literal{({#1})}");f("\\tag@literal",t=>{if(t.macros.get("\\df@tag"))throw new E("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});f("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");f("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");f("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");f("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");f("\\newline","\\\\\\relax");f("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Wl=O(M0["Main-Regular"][84][1]-.7*M0["Main-Regular"][65][1]);f("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Wl+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");f("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Wl+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");f("\\hspace","\\@ifstar\\@hspacer\\@hspace");f("\\@hspace","\\hskip #1\\relax");f("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");f("\\ordinarycolon",":");f("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");f("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');f("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');f("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');f("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');f("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');f("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');f("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');f("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');f("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');f("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');f("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');f("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');f("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');f("∷","\\dblcolon");f("∹","\\eqcolon");f("≔","\\coloneqq");f("≕","\\eqqcolon");f("⩴","\\Coloneqq");f("\\ratio","\\vcentcolon");f("\\coloncolon","\\dblcolon");f("\\colonequals","\\coloneqq");f("\\coloncolonequals","\\Coloneqq");f("\\equalscolon","\\eqqcolon");f("\\equalscoloncolon","\\Eqqcolon");f("\\colonminus","\\coloneq");f("\\coloncolonminus","\\Coloneq");f("\\minuscolon","\\eqcolon");f("\\minuscoloncolon","\\Eqcolon");f("\\coloncolonapprox","\\Colonapprox");f("\\coloncolonsim","\\Colonsim");f("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");f("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");f("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");f("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");f("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");f("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");f("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");f("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");f("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");f("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");f("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");f("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");f("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");f("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");f("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");f("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");f("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");f("\\nleqq","\\html@mathml{\\@nleqq}{≰}");f("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");f("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");f("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");f("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");f("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");f("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");f("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");f("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");f("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");f("\\imath","\\html@mathml{\\@imath}{ı}");f("\\jmath","\\html@mathml{\\@jmath}{ȷ}");f("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");f("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");f("⟦","\\llbracket");f("⟧","\\rrbracket");f("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");f("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");f("⦃","\\lBrace");f("⦄","\\rBrace");f("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");f("⦵","\\minuso");f("\\darr","\\downarrow");f("\\dArr","\\Downarrow");f("\\Darr","\\Downarrow");f("\\lang","\\langle");f("\\rang","\\rangle");f("\\uarr","\\uparrow");f("\\uArr","\\Uparrow");f("\\Uarr","\\Uparrow");f("\\N","\\mathbb{N}");f("\\R","\\mathbb{R}");f("\\Z","\\mathbb{Z}");f("\\alef","\\aleph");f("\\alefsym","\\aleph");f("\\Alpha","\\mathrm{A}");f("\\Beta","\\mathrm{B}");f("\\bull","\\bullet");f("\\Chi","\\mathrm{X}");f("\\clubs","\\clubsuit");f("\\cnums","\\mathbb{C}");f("\\Complex","\\mathbb{C}");f("\\Dagger","\\ddagger");f("\\diamonds","\\diamondsuit");f("\\empty","\\emptyset");f("\\Epsilon","\\mathrm{E}");f("\\Eta","\\mathrm{H}");f("\\exist","\\exists");f("\\harr","\\leftrightarrow");f("\\hArr","\\Leftrightarrow");f("\\Harr","\\Leftrightarrow");f("\\hearts","\\heartsuit");f("\\image","\\Im");f("\\infin","\\infty");f("\\Iota","\\mathrm{I}");f("\\isin","\\in");f("\\Kappa","\\mathrm{K}");f("\\larr","\\leftarrow");f("\\lArr","\\Leftarrow");f("\\Larr","\\Leftarrow");f("\\lrarr","\\leftrightarrow");f("\\lrArr","\\Leftrightarrow");f("\\Lrarr","\\Leftrightarrow");f("\\Mu","\\mathrm{M}");f("\\natnums","\\mathbb{N}");f("\\Nu","\\mathrm{N}");f("\\Omicron","\\mathrm{O}");f("\\plusmn","\\pm");f("\\rarr","\\rightarrow");f("\\rArr","\\Rightarrow");f("\\Rarr","\\Rightarrow");f("\\real","\\Re");f("\\reals","\\mathbb{R}");f("\\Reals","\\mathbb{R}");f("\\Rho","\\mathrm{P}");f("\\sdot","\\cdot");f("\\sect","\\S");f("\\spades","\\spadesuit");f("\\sub","\\subset");f("\\sube","\\subseteq");f("\\supe","\\supseteq");f("\\Tau","\\mathrm{T}");f("\\thetasym","\\vartheta");f("\\weierp","\\wp");f("\\Zeta","\\mathrm{Z}");f("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");f("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");f("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");f("\\bra","\\mathinner{\\langle{#1}|}");f("\\ket","\\mathinner{|{#1}\\rangle}");f("\\braket","\\mathinner{\\langle{#1}\\rangle}");f("\\Bra","\\left\\langle#1\\right|");f("\\Ket","\\left|#1\\right\\rangle");var Xl=t=>e=>{var r=e.consumeArg().tokens,a=e.consumeArg().tokens,n=e.consumeArg().tokens,i=e.consumeArg().tokens,l=e.macros.get("|"),u=e.macros.get("\\|");e.macros.beginGroup();var c=g=>w=>{t&&(w.macros.set("|",l),n.length&&w.macros.set("\\|",u));var S=g;if(!g&&n.length){var T=w.future();T.text==="|"&&(w.popToken(),S=!0)}return{tokens:S?n:a,numArgs:0}};e.macros.set("|",c(!1)),n.length&&e.macros.set("\\|",c(!0));var m=e.consumeArg().tokens,d=e.expandTokens([...i,...m,...r]);return e.macros.endGroup(),{tokens:d.reverse(),numArgs:0}};f("\\bra@ket",Xl(!1));f("\\bra@set",Xl(!0));f("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");f("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");f("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");f("\\angln","{\\angl n}");f("\\blue","\\textcolor{##6495ed}{#1}");f("\\orange","\\textcolor{##ffa500}{#1}");f("\\pink","\\textcolor{##ff00af}{#1}");f("\\red","\\textcolor{##df0030}{#1}");f("\\green","\\textcolor{##28ae7b}{#1}");f("\\gray","\\textcolor{gray}{#1}");f("\\purple","\\textcolor{##9d38bd}{#1}");f("\\blueA","\\textcolor{##ccfaff}{#1}");f("\\blueB","\\textcolor{##80f6ff}{#1}");f("\\blueC","\\textcolor{##63d9ea}{#1}");f("\\blueD","\\textcolor{##11accd}{#1}");f("\\blueE","\\textcolor{##0c7f99}{#1}");f("\\tealA","\\textcolor{##94fff5}{#1}");f("\\tealB","\\textcolor{##26edd5}{#1}");f("\\tealC","\\textcolor{##01d1c1}{#1}");f("\\tealD","\\textcolor{##01a995}{#1}");f("\\tealE","\\textcolor{##208170}{#1}");f("\\greenA","\\textcolor{##b6ffb0}{#1}");f("\\greenB","\\textcolor{##8af281}{#1}");f("\\greenC","\\textcolor{##74cf70}{#1}");f("\\greenD","\\textcolor{##1fab54}{#1}");f("\\greenE","\\textcolor{##0d923f}{#1}");f("\\goldA","\\textcolor{##ffd0a9}{#1}");f("\\goldB","\\textcolor{##ffbb71}{#1}");f("\\goldC","\\textcolor{##ff9c39}{#1}");f("\\goldD","\\textcolor{##e07d10}{#1}");f("\\goldE","\\textcolor{##a75a05}{#1}");f("\\redA","\\textcolor{##fca9a9}{#1}");f("\\redB","\\textcolor{##ff8482}{#1}");f("\\redC","\\textcolor{##f9685d}{#1}");f("\\redD","\\textcolor{##e84d39}{#1}");f("\\redE","\\textcolor{##bc2612}{#1}");f("\\maroonA","\\textcolor{##ffbde0}{#1}");f("\\maroonB","\\textcolor{##ff92c6}{#1}");f("\\maroonC","\\textcolor{##ed5fa6}{#1}");f("\\maroonD","\\textcolor{##ca337c}{#1}");f("\\maroonE","\\textcolor{##9e034e}{#1}");f("\\purpleA","\\textcolor{##ddd7ff}{#1}");f("\\purpleB","\\textcolor{##c6b9fc}{#1}");f("\\purpleC","\\textcolor{##aa87ff}{#1}");f("\\purpleD","\\textcolor{##7854ab}{#1}");f("\\purpleE","\\textcolor{##543b78}{#1}");f("\\mintA","\\textcolor{##f5f9e8}{#1}");f("\\mintB","\\textcolor{##edf2df}{#1}");f("\\mintC","\\textcolor{##e0e5cc}{#1}");f("\\grayA","\\textcolor{##f6f7f7}{#1}");f("\\grayB","\\textcolor{##f0f1f2}{#1}");f("\\grayC","\\textcolor{##e3e5e6}{#1}");f("\\grayD","\\textcolor{##d6d8da}{#1}");f("\\grayE","\\textcolor{##babec2}{#1}");f("\\grayF","\\textcolor{##888d93}{#1}");f("\\grayG","\\textcolor{##626569}{#1}");f("\\grayH","\\textcolor{##3b3e40}{#1}");f("\\grayI","\\textcolor{##21242c}{#1}");f("\\kaBlue","\\textcolor{##314453}{#1}");f("\\kaGreen","\\textcolor{##71B307}{#1}");var Yl={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class Mc{constructor(e,r,a){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(e),this.macros=new Sc(kc,r.macros),this.mode=a,this.stack=[]}feed(e){this.lexer=new Gi(e,this.settings)}switchMode(e){this.mode=e}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(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var r,a,n;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:n,end:a}=this.consumeArg(["]"])}else({tokens:n,start:r,end:a}=this.consumeArg());return this.pushToken(new s0("EOF",a.loc)),this.pushTokens(n),r.range(a,"")}consumeSpaces(){for(;;){var e=this.future();if(e.text===" ")this.stack.pop();else break}}consumeArg(e){var r=[],a=e&&e.length>0;a||this.consumeSpaces();var n=this.future(),i,l=0,u=0;do{if(i=this.popToken(),r.push(i),i.text==="{")++l;else if(i.text==="}"){if(--l,l===-1)throw new E("Extra }",i)}else if(i.text==="EOF")throw new E("Unexpected end of input in a macro argument, expected '"+(e&&a?e[u]:"}")+"'",i);if(e&&a)if((l===0||l===1&&e[u]==="{")&&i.text===e[u]){if(++u,u===e.length){r.splice(-u,u);break}}else u=0}while(l!==0||a);return n.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:n,end:i}}consumeArgs(e,r){if(r){if(r.length!==e+1)throw new E("The length of delimiters doesn't match the number of args!");for(var a=r[0],n=0;nthis.settings.maxExpand)throw new E("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var r=this.popToken(),a=r.text,n=r.noexpand?null:this._getExpansion(a);if(n==null||e&&n.unexpandable){if(e&&n==null&&a[0]==="\\"&&!this.isDefined(a))throw new E("Undefined control sequence: "+a);return this.pushToken(r),!1}this.countExpansion(1);var i=n.tokens,l=this.consumeArgs(n.numArgs,n.delimiters);if(n.numArgs){i=i.slice();for(var u=i.length-1;u>=0;--u){var c=i[u];if(c.text==="#"){if(u===0)throw new E("Incomplete placeholder at end of macro body",c);if(c=i[--u],c.text==="#")i.splice(u+1,1);else if(/^[1-9]$/.test(c.text))i.splice(u,2,...l[+c.text-1]);else throw new E("Not a valid argument number",c)}}}return this.pushTokens(i),i.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new s0(e)]):void 0}expandTokens(e){var r=[],a=this.stack.length;for(this.pushTokens(e);this.stack.length>a;)if(this.expandOnce(!0)===!1){var n=this.stack.pop();n.treatAsRelax&&(n.noexpand=!1,n.treatAsRelax=!1),r.push(n)}return this.countExpansion(r.length),r}expandMacroAsText(e){var r=this.expandMacro(e);return r&&r.map(a=>a.text).join("")}_getExpansion(e){var r=this.macros.get(e);if(r==null)return r;if(e.length===1){var a=this.lexer.catcodes[e];if(a!=null&&a!==13)return}var n=typeof r=="function"?r(this):r;if(typeof n=="string"){var i=0;if(n.indexOf("#")!==-1)for(var l=n.replace(/##/g,"");l.indexOf("#"+(i+1))!==-1;)++i;for(var u=new Gi(n,this.settings),c=[],m=u.lex();m.text!=="EOF";)c.push(m),m=u.lex();c.reverse();var d={tokens:c,numArgs:i};return d}return n}isDefined(e){return this.macros.has(e)||Y0.hasOwnProperty(e)||pe.math.hasOwnProperty(e)||pe.text.hasOwnProperty(e)||Yl.hasOwnProperty(e)}isExpandable(e){var r=this.macros.get(e);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:Y0.hasOwnProperty(e)&&!Y0[e].primitive}}var Xi=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,dr=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),Sa={"́":{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"}},Yi={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class Jr{constructor(e,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 Mc(e,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(e,r){if(r===void 0&&(r=!0),this.fetch().text!==e)throw new E("Expected '"+e+"', 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(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var r=this.nextToken;this.consume(),this.gullet.pushToken(new s0("}")),this.gullet.pushTokens(e);var a=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,a}parseExpression(e,r){for(var a=[];;){this.mode==="math"&&this.consumeSpaces();var n=this.fetch();if(Jr.endOfExpression.indexOf(n.text)!==-1||r&&n.text===r||e&&Y0[n.text]&&Y0[n.text].infix)break;var i=this.parseAtom(r);if(i){if(i.type==="internal")continue}else break;a.push(i)}return this.mode==="text"&&this.formLigatures(a),this.handleInfixNodes(a)}handleInfixNodes(e){for(var r=-1,a,n=0;n=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',e);var u=pe[this.mode][r].group,c=Je.range(e),m;if(m4.hasOwnProperty(u)){var d=u;m={type:"atom",mode:this.mode,family:d,loc:c,text:r}}else m={type:u,mode:this.mode,loc:c,text:r};l=m}else if(r.charCodeAt(0)>=128)this.settings.strict&&(nl(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),e)),l={type:"textord",mode:"text",loc:Je.range(e),text:r};else return null;if(this.consume(),i)for(var g=0;gHe(r)),e.args.length===1&&(e=e.args[0]);break;case"leftright":{const r=He({type:"ordgroup",mode:"math",body:t.body});e.type="leftright";let a=t.left;a==="\\{"&&(a="{");let n=t.right;n==="\\}"&&(n="}");const i=l=>["(",")","[","]","{","}"].includes(l);e.args=[{type:i(a)?"atom":"symbol",content:a},r,{type:i(n)?"atom":"symbol",content:n}];break}case"underline":case"overline":e.type="unaryFunc",e.content="\\"+t.type,e.args=[He(t.body)];break;case"accent":{e.type="unaryFunc",e.content=t.label,e.args=[He(t.base)];break}case"sqrt":t.index&&(e.irregularData=He(t.index));case"font":case"operatorname":if(e.type="unaryFunc",e.content="\\"+t.type,t.type==="font"&&(e.content="\\"+t.font),Array.isArray(t.body)){const r={type:"ordgroup",mode:"math",body:t.body};e.args=[He(r)]}else e.args=[He(t.body)];break;case"horizBrace":e.type="unaryFunc",e.content=t.label,e.args=[He(t.base)];break;case"array":t.colSeparationType==="align"?e.type="align":e.type="matrix",e.irregularData=t.body.map(r=>r.map(a=>{if(a.type!=="styling"||a.body.length!==1)throw new pr("Expecting cell.type==='\\styling' and cell.body.length===1",a);return He(a.body[0])}));break;case"text":{e.type="text";let r="";t.body.forEach(a=>{if(a.mode!=="text")throw new pr("Expecting node.mode==='text'",t);r+=a.text}),e.content=r;break}case"spacing":case"kern":e.type="empty",e.content=" ";break;case"htmlmathml":{const r=t.mathml[0].body[0];if(r&&r.type==="textord"&&r.text==="≠"){e.type="symbol",e.content="\\neq";break}}case"color":if(Array.isArray(t.body)&&t.body.length===1){const r=t.body[0];if(r.type==="text"){e.type="unknownMacro";const a=r.body.map(n=>n.text).join("");if(/^\\[a-zA-Z]+$/.test(a)){e.content=a.substring(1);break}}}throw new pr("Unknown error type in parsed result:",t);default:throw new pr(`Unknown node type: ${t.type}`,t)}return e}catch(e){throw e}}function Cc(t,e){const a={macros:{"\\mod":"\\operatorname{SyMb01-mod}","\\liminf":"\\operatorname{SyMb01-liminf}","\\limsup":"\\operatorname{SyMb01-limsup}","\\qquad":"\\operatorname{SyMb01-qquad}","\\quad":"\\operatorname{SyMb01-quad}","\\cdots":"\\operatorname{SyMb01-cdots}","\\colon":"\\operatorname{SyMb01-colon}","\\imath":"\\operatorname{SyMb01-imath}","\\iiiint":"\\operatorname{SyMb01-iiiint}","\\jmath":"\\operatorname{SyMb01-jmath}","\\vdots":"\\operatorname{SyMb01-vdots}","\\notin":"\\operatorname{SyMb01-notin}","\\slash":"\\operatorname{SyMb01-slash}","\\LaTeX":"\\operatorname{SyMb01-LaTeX}","\\TeX":"\\operatorname{SyMb01-TeX}",...e},displayMode:!0,strict:"ignore",throwOnError:!1};let i={type:"ordgroup",mode:"math",body:qc(t,a),loc:{}};return He(i)}var qc=Jl.__parse;class pr extends Error{constructor(r,a){super(r);C0(this,"node");this.name="KatexNodeToTexNodeError",this.node=a}}var Ki=new Map([["gets","arrow.l"],["nonumber",""],["vec","arrow"],["mathbf","bold"],["boldsymbol","bold"],["mathfrak","frak"],["neq","eq.not"],["dot","dot"],["ddot","dot.double"],["doteq","dot(eq)"],["dots","dots.h"],["ldots","dots.h"],["vdots","dots.v"],["ddots","dots.down"],["widehat","hat"],["widetilde","tilde"],["quad","quad"],["qquad","wide"],["overbrace","overbrace"],["underbrace","underbrace"],["overline","overline"],["underline","underline"],["bar","macron"],["mathbb","bb"],["mathcal","cal"],["mathrm","upright"],["rm","upright"],["pmb","bold"],["pm","plus.minus"],["mp","minus.plus"],["oplus","xor"],["boxplus","plus.square"],["otimes","times.circle"],["boxtimes","times.square"],["sim","tilde"],["approx","approx"],["cong","tilde.equiv"],["simeq","tilde.eq"],["asymp","≍"],["equiv","equiv"],["propto","prop"],["implies","arrow.r.double.long"],["Longrightarrow","arrow.r.double.long"],["iff","arrow.l.r.double.long"],["Longleftrightarrow","arrow.l.r.double.long"],["leftrightarrow","arrow.l.r"],["longleftrightarrow","arrow.l.r.long"],["rightrightarrows","arrows.rr"],["lfloor","⌊"],["rfloor","⌋"],["lceil","⌈"],["rceil","⌉"],["Cap","sect.double"],["Cup","union.double"],["Delta","Delta"],["Gamma","Gamma"],["Join","join"],["Lambda","Lambda"],["Longrightarrow","arrow.r.double.long"],["Omega","Omega"],["Phi","Phi"],["Pi","Pi"],["Psi","Psi"],["Rightarrow","arrow.double"],["Sigma","Sigma"],["Theta","Theta"],["aleph","alef"],["alpha","alpha"],["angle","angle"],["approx","approx"],["approxeq","approx.eq"],["ast","ast"],["beta","beta"],["bigcap","sect.big"],["bigcirc","circle.big"],["bigcup","union.big"],["bigodot","dot.circle.big"],["bigoplus","xor.big"],["bigotimes","times.circle.big"],["bigsqcup","union.sq.big"],["bigtriangledown","triangle.b"],["bigtriangleup","triangle.t"],["biguplus","union.plus.big"],["bigvee","or.big"],["bigwedge","and.big"],["bullet","bullet"],["cap","sect"],["cdot","dot.op"],["cdots","dots.c"],["checkmark","checkmark"],["chi","chi"],["circ","circle.small"],["colon","colon"],["cong","tilde.equiv"],["coprod","product.co"],["cup","union"],["curlyvee","or.curly"],["curlywedge","and.curly"],["dagger","dagger"],["dashv","tack.l"],["ddagger","dagger.double"],["delta","delta"],["ddots","dots.down"],["diamond","diamond"],["div","div"],["divideontimes","times.div"],["dotplus","plus.dot"],["downarrow","arrow.b"],["ell","ell"],["emptyset","nothing"],["epsilon","epsilon.alt"],["equiv","equiv"],["eta","eta"],["exists","exists"],["forall","forall"],["gamma","gamma"],["ge","gt.eq"],["geq","gt.eq"],["geqslant","gt.eq.slant"],["gg","gt.double"],["hbar","planck.reduce"],["imath","dotless.i"],["iiiint","intgral.quad"],["iiint","integral.triple"],["iint","integral.double"],["in","in"],["infty","infinity"],["int","integral"],["intercal","top"],["iota","iota"],["jmath","dotless.j"],["kappa","kappa"],["lambda","lambda"],["land","and"],["langle","angle.l"],["lbrace","brace.l"],["lbrack","bracket.l"],["ldots","dots.l"],["le","lt.eq"],["leadsto","arrow.squiggly"],["leftarrow","arrow.l"],["leftthreetimes","times.three.l"],["leftrightarrow","arrow.l.r"],["leq","lt.eq"],["leqslant","lt.eq.slant"],["lhd","triangle.l"],["ll","lt.double"],["longmapsto","arrow.long.bar"],["longrightarrow","arrow.long"],["lor","or"],["ltimes","times.l"],["mapsto","arrow.bar"],["measuredangle","angle.arc"],["mid","divides"],["models","models"],["mp","minus.plus"],["mu","mu"],["nRightarrow","arrow.double.not"],["nabla","nabla"],["ncong","tilde.nequiv"],["ne","eq.not"],["neg","not"],["neq","eq.not"],["nexists","exists.not"],["ni","in.rev"],["nleftarrow","arrow.l.not"],["nleq","lt.eq.not"],["nparallel","parallel.not"],["ngeq","gt.eq.not"],["nmid","divides.not"],["notin","in.not"],["nrightarrow","arrow.not"],["nsim","tilde.not"],["nsubseteq","subset.eq.not"],["nu","nu"],["ntriangleleft","lt.tri.not"],["ntriangleright","gt.tri.not"],["nwarrow","arrow.tl"],["odot","dot.circle"],["oint","integral.cont"],["oiint","integral.surf"],["oiiint","integral.vol"],["omega","omega"],["ominus","minus.circle"],["oplus","xor"],["otimes","times.circle"],["parallel","parallel"],["partial","diff"],["perp","perp"],["phi","phi.alt"],["pi","pi"],["pm","plus.minus"],["pounds","pound"],["prec","prec"],["preceq","prec.eq"],["prime","prime"],["prod","product"],["propto","prop"],["psi","psi"],["rangle","angle.r"],["rbrace","brace.r"],["rbrack","bracket.r"],["rhd","triangle"],["rho","rho"],["rightarrow","arrow.r"],["rightthreetimes","times.three.r"],["rtimes","times.r"],["setminus","without"],["sigma","sigma"],["sim","tilde"],["simeq","tilde.eq"],["slash","slash"],["smallsetminus","without"],["spadesuit","suit.spade"],["sqcap","sect.sq"],["sqcup","union.sq"],["sqsubseteq","subset.eq.sq"],["sqsupseteq","supset.eq.sq"],["star","star"],["subset","subset"],["subseteq","subset.eq"],["subsetneq","subset.neq"],["succ","succ"],["succeq","succ.eq"],["sum","sum"],["supset","supset"],["supseteq","supset.eq"],["supsetneq","supset.neq"],["swarrow","arrow.bl"],["tau","tau"],["theta","theta"],["times","times"],["to","arrow.r"],["top","top"],["triangle","triangle.t"],["triangledown","triangle.b.small"],["triangleleft","triangle.l.small"],["triangleright","triangle.r.small"],["twoheadrightarrow","arrow.r.twohead"],["uparrow","arrow.t"],["updownarrow","arrow.t.b"],["upharpoonright","harpoon.tr"],["uplus","union.plus"],["upsilon","upsilon"],["varepsilon","epsilon"],["varnothing","diameter"],["varphi","phi"],["varpi","pi.alt"],["varrho","rho.alt"],["varsigma","sigma.alt"],["vartheta","theta.alt"],["vdash","tack.r"],["vdots","dots.v"],["vee","or"],["wedge","and"],["wr","wreath"],["xi","xi"],["yen","yen"],["zeta","zeta"],["mathscr","scr"],["LaTeX","#LaTeX"],["TeX","#TeX"]]);function Zi(t){if(/^[a-zA-Z0-9]$/.test(t))return t;if(t==="\\\\")return`\\ -`;if(["\\$","\\#","\\&","\\_"].includes(t))return t;if(t.startsWith("\\")){const e=t.slice(1);return Ki.has(e)?Ki.get(e):e}return t}var Bc=["dim","id","im","mod","Pr","sech","csch"];class ka extends Error{constructor(r,a){super(r);C0(this,"node");this.name="TypstWriterError",this.node=a}}class Dc{constructor(e,r){C0(this,"nonStrict");C0(this,"preferTypstIntrinsic");C0(this,"buffer","");C0(this,"queue",[]);C0(this,"needSpaceAfterSingleItemScript",!1);C0(this,"insideFunctionDepth",0);this.nonStrict=e,this.preferTypstIntrinsic=r}writeBuffer(e){if(this.needSpaceAfterSingleItemScript&&/^[0-9a-zA-Z\(]/.test(e))this.buffer+=" ";else{let r=!1;r||(r=/[\(\|]$/.test(this.buffer)&&/^\w/.test(e)),r||(r=/^[}()_^,;!\|]$/.test(e)),r||(r=e==="'"),r||(r=/[0-9]$/.test(this.buffer)&&/^[0-9]/.test(e)),r||(r=/[\(\[{]\s*(-|\+)$/.test(this.buffer)||this.buffer==="-"||this.buffer==="+"),r||(r=this.buffer===""),r||(r=/[\s"_^{\(]$/.test(this.buffer)),r||(this.buffer+=" ")}this.needSpaceAfterSingleItemScript&&(this.needSpaceAfterSingleItemScript=!1),this.buffer+=e}append(e){if(e.type!=="empty")if(e.type==="ordgroup")e.args.forEach(r=>this.append(r));else if(e.type==="atom"){let r=e.content;e.content===","&&this.insideFunctionDepth>0&&(r="comma"),this.queue.push({type:"atom",content:r})}else if(e.type==="symbol")this.queue.push({type:"symbol",content:e.content});else if(e.type==="text")this.queue.push(e);else if(e.type==="supsub"){let{base:r,sup:a,sub:n}=e.irregularData;if(r&&r.type==="unaryFunc"&&r.content==="\\overbrace"&&a){this.append({type:"binaryFunc",content:"\\overbrace",args:[r.args[0],a]});return}else if(r&&r.type==="unaryFunc"&&r.content==="\\underbrace"&&n){this.append({type:"binaryFunc",content:"\\underbrace",args:[r.args[0],n]});return}r?this.appendWithBracketsIfNeeded(r):this.queue.push({type:"text",content:""});let i=!1;const l=a&&a.type==="symbol"&&a.content==="\\prime";l&&(this.queue.push({type:"atom",content:"'"}),i=!1),n&&(this.queue.push({type:"atom",content:"_"}),i=this.appendWithBracketsIfNeeded(n)),a&&!l&&(this.queue.push({type:"atom",content:"^"}),i=this.appendWithBracketsIfNeeded(a)),i&&this.queue.push({type:"softSpace",content:""})}else if(e.type==="leftright"){const[r,a,n]=e.args;if(["[]","()","{}","\\lfloor\\rfloor","\\lceil\\rceil"].includes(r.content+n.content)){this.append(r),this.append(a),this.append(n);return}const i={type:"symbol",content:"lr"};this.queue.push(i),this.insideFunctionDepth++,this.queue.push({type:"atom",content:"("}),this.append(r),this.append(a),this.append(n),this.queue.push({type:"atom",content:")"}),this.insideFunctionDepth--}else if(e.type==="binaryFunc"){const r={type:"symbol",content:e.content},[a,n]=e.args;this.queue.push(r),this.insideFunctionDepth++,this.queue.push({type:"atom",content:"("}),this.append(a),this.queue.push({type:"atom",content:","}),this.append(n),this.queue.push({type:"atom",content:")"}),this.insideFunctionDepth--}else if(e.type==="unaryFunc"){const r={type:"symbol",content:e.content},a=e.args[0];if(e.content==="\\sqrt"&&e.irregularData){r.content="root",this.queue.push(r),this.insideFunctionDepth++,this.queue.push({type:"atom",content:"("}),this.append(e.irregularData),this.queue.push({type:"atom",content:","}),this.append(a),this.queue.push({type:"atom",content:")"}),this.insideFunctionDepth--;return}else if(e.content==="\\mathbb"){const n=e.args[0];if(n.type==="symbol"&&/^[A-Z]$/.test(n.content)){this.queue.push({type:"symbol",content:n.content+n.content});return}}else if(e.content==="\\operatorname"){let n=e.args;n.length===1&&n[0].type=="ordgroup"&&(n=n[0].args);const i=n.reduce((l,u)=>(l+=Zi(u.content),l),"");this.preferTypstIntrinsic&&Bc.includes(i)?this.queue.push({type:"symbol",content:i}):i.startsWith("SyMb01-")?this.queue.push({type:"symbol",content:"\\"+i.substring(7)}):(this.queue.push({type:"symbol",content:"op"}),this.queue.push({type:"atom",content:"("}),this.queue.push({type:"text",content:i}),this.queue.push({type:"atom",content:")"}));return}this.queue.push(r),this.insideFunctionDepth++,this.queue.push({type:"atom",content:"("}),this.append(a),this.queue.push({type:"atom",content:")"}),this.insideFunctionDepth--}else if(e.type==="align"){const r=e.irregularData;r.forEach((a,n)=>{a.forEach((i,l)=>{l>0&&this.queue.push({type:"atom",content:"&"}),this.append(i)}),n{a.forEach((i,l)=>{i.type==="ordgroup"&&i.args.length===0||(this.append(i),l{let r="";switch(e.type){case"atom":r=e.content;break;case"symbol":r=Zi(e.content);break;case"text":r=`"${e.content}"`;break;case"softSpace":this.needSpaceAfterSingleItemScript=!0,r="";break;default:throw new ka(`Unexpected node type to stringify: ${e.type}`,e)}r!==""&&this.writeBuffer(r)}),this.queue=[]}appendWithBracketsIfNeeded(e){e.type,e.type==="unaryFunc"||e.type==="binaryFunc"||e.type;const r=["atom","symbol","unaryFunc","binaryFunc","leftright"].includes(e.type);return r?this.append(e):(this.queue.push({type:"atom",content:"("}),this.append(e),this.queue.push({type:"atom",content:")"})),r}finalize(){this.flushQueue();const e=function(a){let n=a.replace(/⌊\s*(.*?)\s*⌋/g,"floor($1)");return n=n.replace(/floor\(\)/g,'floor("")'),n},r=function(a){let n=a.replace(/⌈\s*(.*?)\s*⌉/g,"ceil($1)");return n=n.replace(/ceil\(\)/g,'ceil("")'),n};return this.buffer=e(this.buffer),this.buffer=r(this.buffer),this.buffer}}function Ql(t,e){const r={nonStrict:!1,preferTypstIntrinsic:!0,customTexMacros:{}};e&&(e.nonStrict&&(r.nonStrict=e.nonStrict),e.preferTypstIntrinsic&&(r.preferTypstIntrinsic=e.preferTypstIntrinsic),e.customTexMacros&&(r.customTexMacros=e.customTexMacros));const a=Cc(t,r.customTexMacros),n=new Dc(r.nonStrict,r.preferTypstIntrinsic);return n.append(a),n.finalize()}typeof window<"u"&&(window.tex2typst=Ql);const e1={"\\RR":"\\mathbb{R}","\\NN":"\\mathbb{N}","\\ZZ":"\\mathbb{Z}","\\QQ":"\\mathbb{Q}","\\CC":"\\mathbb{C}","\\sech":"\\operatorname{sech}","\\csch":"\\operatorname{csch}","\\dim":"\\operatorname{dim}","\\id":"\\operatorname{id}","\\im":"\\operatorname{im}","\\Pr":"\\operatorname{Pr}"};function Ec(t){let r=Ql(t,{nonStrict:!0,preferTypstIntrinsic:!0,customTexMacros:e1});return r=r.replaceAll("upright(d)","dif"),r=r.replaceAll('op("d")',"dif"),r=r.replaceAll("⌊","lfloor"),r=r.replaceAll("⌋","rfloor"),r=r.replaceAll("⌈","lceil"),r=r.replaceAll("⌉","rceil"),r}function Nc(t){const e=document.createElement("textarea");e.value=t,e.style.top="0",e.style.left="0",e.style.position="fixed",e.style.zIndex="-1",e.setAttribute("readonly",!0),document.body.appendChild(e),e.focus(),e.select();let r;try{r=document.execCommand("copy"),r||console.log("Fallback: Error on copying text command")}catch(a){console.error("Fallback: Oops, unable to copy",a),r=!1}return document.body.removeChild(e),r}function Ic(t){if(!navigator.clipboard){const e=Nc(t);return Promise.resolve(e)}return navigator.clipboard.writeText(t).then(function(){return!0},function(e){return console.error("Async: Could not copy text: ",e),!1})}const Rc=(t,e)=>{const r=t.__vccOpts||t;for(const[a,n]of e)r[a]=n;return r},Oc={name:"CopiedToast",props:{showing:{type:Boolean,default:!1}}},_c=1300;function Fc(t,e,r,a,n,i){return Cr(),Ra("div",{class:Fr(r.showing?"snackbar show":"snackbar hide")},"Copied!",2)}const Lc=Rc(Oc,[["render",Fc],["__scopeId","data-v-442d6127"]]);function Hc(t){let e=Math.floor(Math.random()*t);return e===t&&(e=0),e}const t1=[String.raw`e = \lim_{{n \to \infty}} \left(1 + \frac{1}{n}\right)^n`,String.raw`\prod_{p} \frac{1}{1-p^{-s}}= \sum _{n=1}^{\infty} \frac{1}{n^s}`,String.raw`a^{p-1} \equiv 1 \mod{p}`,String.raw`\begin{aligned} +?)[ \r ]*`,ja="[̀-ͯ]",yc=new RegExp(ja+"+$"),xc="("+jl+"+)|"+(bc+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(ja+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(ja+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+gc)+("|"+vc+")");class Gi{constructor(e,r){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=r,this.tokenRegex=new RegExp(xc,"g"),this.catcodes={"%":14,"~":13}}setCatcode(e,r){this.catcodes[e]=r}lex(){var e=this.input,r=this.tokenRegex.lastIndex;if(r===e.length)return new s0("EOF",new Je(this,r,r));var a=this.tokenRegex.exec(e);if(a===null||a.index!==r)throw new E("Unexpected character: '"+e[r]+"'",new s0(e[r],new Je(this,r,r+1)));var n=a[6]||a[3]||(a[2]?"\\ ":" ");if(this.catcodes[n]===14){var i=e.indexOf(` +`,this.tokenRegex.lastIndex);return i===-1?(this.tokenRegex.lastIndex=e.length,this.settings.reportNonstrict("commentAtEnd","% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)")):this.tokenRegex.lastIndex=i+1,this.lex()}return new s0(n,new Je(this,r,this.tokenRegex.lastIndex))}}class wc{constructor(e,r){e===void 0&&(e={}),r===void 0&&(r={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,this.current=r,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new E("Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug");var e=this.undefStack.pop();for(var r in e)e.hasOwnProperty(r)&&(e[r]==null?delete this.current[r]:this.current[r]=e[r])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,r,a){if(a===void 0&&(a=!1),a){for(var n=0;n0&&(this.undefStack[this.undefStack.length-1][e]=r)}else{var i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(e)&&(i[e]=this.current[e])}r==null?delete this.current[e]:this.current[e]=r}}var Sc=_l;f("\\noexpand",function(t){var e=t.popToken();return t.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}});f("\\expandafter",function(t){var e=t.popToken();return t.expandOnce(!0),{tokens:[e],numArgs:0}});f("\\@firstoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[0],numArgs:0}});f("\\@secondoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[1],numArgs:0}});f("\\@ifnextchar",function(t){var e=t.consumeArgs(3);t.consumeSpaces();var r=t.future();return e[0].length===1&&e[0][0].text===r.text?{tokens:e[1],numArgs:0}:{tokens:e[2],numArgs:0}});f("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");f("\\TextOrMath",function(t){var e=t.consumeArgs(2);return t.mode==="text"?{tokens:e[0],numArgs:0}:{tokens:e[1],numArgs:0}});var ji={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};f("\\char",function(t){var e=t.popToken(),r,a="";if(e.text==="'")r=8,e=t.popToken();else if(e.text==='"')r=16,e=t.popToken();else if(e.text==="`")if(e=t.popToken(),e.text[0]==="\\")a=e.text.charCodeAt(1);else{if(e.text==="EOF")throw new E("\\char` missing argument");a=e.text.charCodeAt(0)}else r=10;if(r){if(a=ji[e.text],a==null||a>=r)throw new E("Invalid base-"+r+" digit "+e.text);for(var n;(n=ji[t.future().text])!=null&&n{var a=t.consumeArg().tokens;if(a.length!==1)throw new E("\\newcommand's first argument must be a macro name");var n=a[0].text,i=t.isDefined(n);if(i&&!e)throw new E("\\newcommand{"+n+"} attempting to redefine "+(n+"; use \\renewcommand"));if(!i&&!r)throw new E("\\renewcommand{"+n+"} when command "+n+" does not yet exist; use \\newcommand");var s=0;if(a=t.consumeArg().tokens,a.length===1&&a[0].text==="["){for(var o="",c=t.expandNextToken();c.text!=="]"&&c.text!=="EOF";)o+=c.text,c=t.expandNextToken();if(!o.match(/^\s*[0-9]+\s*$/))throw new E("Invalid number of arguments: "+o);s=parseInt(o),a=t.consumeArg().tokens}return t.macros.set(n,{tokens:a,numArgs:s}),""};f("\\newcommand",t=>Cn(t,!1,!0));f("\\renewcommand",t=>Cn(t,!0,!1));f("\\providecommand",t=>Cn(t,!0,!0));f("\\message",t=>{var e=t.consumeArgs(1)[0];return console.log(e.reverse().map(r=>r.text).join("")),""});f("\\errmessage",t=>{var e=t.consumeArgs(1)[0];return console.error(e.reverse().map(r=>r.text).join("")),""});f("\\show",t=>{var e=t.popToken(),r=e.text;return console.log(e,t.macros.get(r),Y0[r],pe.math[r],pe.text[r]),""});f("\\bgroup","{");f("\\egroup","}");f("~","\\nobreakspace");f("\\lq","`");f("\\rq","'");f("\\aa","\\r a");f("\\AA","\\r A");f("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");f("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");f("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");f("ℬ","\\mathscr{B}");f("ℰ","\\mathscr{E}");f("ℱ","\\mathscr{F}");f("ℋ","\\mathscr{H}");f("ℐ","\\mathscr{I}");f("ℒ","\\mathscr{L}");f("ℳ","\\mathscr{M}");f("ℛ","\\mathscr{R}");f("ℭ","\\mathfrak{C}");f("ℌ","\\mathfrak{H}");f("ℨ","\\mathfrak{Z}");f("\\Bbbk","\\Bbb{k}");f("·","\\cdotp");f("\\llap","\\mathllap{\\textrm{#1}}");f("\\rlap","\\mathrlap{\\textrm{#1}}");f("\\clap","\\mathclap{\\textrm{#1}}");f("\\mathstrut","\\vphantom{(}");f("\\underbar","\\underline{\\text{#1}}");f("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');f("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");f("\\ne","\\neq");f("≠","\\neq");f("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");f("∉","\\notin");f("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");f("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");f("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");f("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");f("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");f("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");f("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");f("⟂","\\perp");f("‼","\\mathclose{!\\mkern-0.8mu!}");f("∌","\\notni");f("⌜","\\ulcorner");f("⌝","\\urcorner");f("⌞","\\llcorner");f("⌟","\\lrcorner");f("©","\\copyright");f("®","\\textregistered");f("️","\\textregistered");f("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');f("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');f("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');f("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');f("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}");f("⋮","\\vdots");f("\\varGamma","\\mathit{\\Gamma}");f("\\varDelta","\\mathit{\\Delta}");f("\\varTheta","\\mathit{\\Theta}");f("\\varLambda","\\mathit{\\Lambda}");f("\\varXi","\\mathit{\\Xi}");f("\\varPi","\\mathit{\\Pi}");f("\\varSigma","\\mathit{\\Sigma}");f("\\varUpsilon","\\mathit{\\Upsilon}");f("\\varPhi","\\mathit{\\Phi}");f("\\varPsi","\\mathit{\\Psi}");f("\\varOmega","\\mathit{\\Omega}");f("\\substack","\\begin{subarray}{c}#1\\end{subarray}");f("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");f("\\boxed","\\fbox{$\\displaystyle{#1}$}");f("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");f("\\implies","\\DOTSB\\;\\Longrightarrow\\;");f("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Wi={",":"\\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"};f("\\dots",function(t){var e="\\dotso",r=t.expandAfterFuture().text;return r in Wi?e=Wi[r]:(r.slice(0,4)==="\\not"||r in pe.math&&W.contains(["bin","rel"],pe.math[r].group))&&(e="\\dotsb"),e});var qn={")":!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};f("\\dotso",function(t){var e=t.future().text;return e in qn?"\\ldots\\,":"\\ldots"});f("\\dotsc",function(t){var e=t.future().text;return e in qn&&e!==","?"\\ldots\\,":"\\ldots"});f("\\cdots",function(t){var e=t.future().text;return e in qn?"\\@cdots\\,":"\\@cdots"});f("\\dotsb","\\cdots");f("\\dotsm","\\cdots");f("\\dotsi","\\!\\cdots");f("\\dotsx","\\ldots\\,");f("\\DOTSI","\\relax");f("\\DOTSB","\\relax");f("\\DOTSX","\\relax");f("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");f("\\,","\\tmspace+{3mu}{.1667em}");f("\\thinspace","\\,");f("\\>","\\mskip{4mu}");f("\\:","\\tmspace+{4mu}{.2222em}");f("\\medspace","\\:");f("\\;","\\tmspace+{5mu}{.2777em}");f("\\thickspace","\\;");f("\\!","\\tmspace-{3mu}{.1667em}");f("\\negthinspace","\\!");f("\\negmedspace","\\tmspace-{4mu}{.2222em}");f("\\negthickspace","\\tmspace-{5mu}{.277em}");f("\\enspace","\\kern.5em ");f("\\enskip","\\hskip.5em\\relax");f("\\quad","\\hskip1em\\relax");f("\\qquad","\\hskip2em\\relax");f("\\tag","\\@ifstar\\tag@literal\\tag@paren");f("\\tag@paren","\\tag@literal{({#1})}");f("\\tag@literal",t=>{if(t.macros.get("\\df@tag"))throw new E("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});f("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");f("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");f("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");f("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");f("\\newline","\\\\\\relax");f("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var Wl=R(M0["Main-Regular"][84][1]-.7*M0["Main-Regular"][65][1]);f("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+Wl+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");f("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+Wl+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");f("\\hspace","\\@ifstar\\@hspacer\\@hspace");f("\\@hspace","\\hskip #1\\relax");f("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");f("\\ordinarycolon",":");f("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");f("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');f("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');f("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');f("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');f("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');f("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');f("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');f("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');f("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');f("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');f("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');f("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');f("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');f("∷","\\dblcolon");f("∹","\\eqcolon");f("≔","\\coloneqq");f("≕","\\eqqcolon");f("⩴","\\Coloneqq");f("\\ratio","\\vcentcolon");f("\\coloncolon","\\dblcolon");f("\\colonequals","\\coloneqq");f("\\coloncolonequals","\\Coloneqq");f("\\equalscolon","\\eqqcolon");f("\\equalscoloncolon","\\Eqqcolon");f("\\colonminus","\\coloneq");f("\\coloncolonminus","\\Coloneq");f("\\minuscolon","\\eqcolon");f("\\minuscoloncolon","\\Eqcolon");f("\\coloncolonapprox","\\Colonapprox");f("\\coloncolonsim","\\Colonsim");f("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");f("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");f("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");f("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");f("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");f("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");f("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");f("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");f("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");f("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");f("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");f("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");f("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");f("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");f("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");f("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");f("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");f("\\nleqq","\\html@mathml{\\@nleqq}{≰}");f("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");f("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");f("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");f("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");f("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");f("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");f("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");f("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");f("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");f("\\imath","\\html@mathml{\\@imath}{ı}");f("\\jmath","\\html@mathml{\\@jmath}{ȷ}");f("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");f("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");f("⟦","\\llbracket");f("⟧","\\rrbracket");f("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");f("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");f("⦃","\\lBrace");f("⦄","\\rBrace");f("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");f("⦵","\\minuso");f("\\darr","\\downarrow");f("\\dArr","\\Downarrow");f("\\Darr","\\Downarrow");f("\\lang","\\langle");f("\\rang","\\rangle");f("\\uarr","\\uparrow");f("\\uArr","\\Uparrow");f("\\Uarr","\\Uparrow");f("\\N","\\mathbb{N}");f("\\R","\\mathbb{R}");f("\\Z","\\mathbb{Z}");f("\\alef","\\aleph");f("\\alefsym","\\aleph");f("\\Alpha","\\mathrm{A}");f("\\Beta","\\mathrm{B}");f("\\bull","\\bullet");f("\\Chi","\\mathrm{X}");f("\\clubs","\\clubsuit");f("\\cnums","\\mathbb{C}");f("\\Complex","\\mathbb{C}");f("\\Dagger","\\ddagger");f("\\diamonds","\\diamondsuit");f("\\empty","\\emptyset");f("\\Epsilon","\\mathrm{E}");f("\\Eta","\\mathrm{H}");f("\\exist","\\exists");f("\\harr","\\leftrightarrow");f("\\hArr","\\Leftrightarrow");f("\\Harr","\\Leftrightarrow");f("\\hearts","\\heartsuit");f("\\image","\\Im");f("\\infin","\\infty");f("\\Iota","\\mathrm{I}");f("\\isin","\\in");f("\\Kappa","\\mathrm{K}");f("\\larr","\\leftarrow");f("\\lArr","\\Leftarrow");f("\\Larr","\\Leftarrow");f("\\lrarr","\\leftrightarrow");f("\\lrArr","\\Leftrightarrow");f("\\Lrarr","\\Leftrightarrow");f("\\Mu","\\mathrm{M}");f("\\natnums","\\mathbb{N}");f("\\Nu","\\mathrm{N}");f("\\Omicron","\\mathrm{O}");f("\\plusmn","\\pm");f("\\rarr","\\rightarrow");f("\\rArr","\\Rightarrow");f("\\Rarr","\\Rightarrow");f("\\real","\\Re");f("\\reals","\\mathbb{R}");f("\\Reals","\\mathbb{R}");f("\\Rho","\\mathrm{P}");f("\\sdot","\\cdot");f("\\sect","\\S");f("\\spades","\\spadesuit");f("\\sub","\\subset");f("\\sube","\\subseteq");f("\\supe","\\supseteq");f("\\Tau","\\mathrm{T}");f("\\thetasym","\\vartheta");f("\\weierp","\\wp");f("\\Zeta","\\mathrm{Z}");f("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");f("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");f("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");f("\\bra","\\mathinner{\\langle{#1}|}");f("\\ket","\\mathinner{|{#1}\\rangle}");f("\\braket","\\mathinner{\\langle{#1}\\rangle}");f("\\Bra","\\left\\langle#1\\right|");f("\\Ket","\\left|#1\\right\\rangle");var Xl=t=>e=>{var r=e.consumeArg().tokens,a=e.consumeArg().tokens,n=e.consumeArg().tokens,i=e.consumeArg().tokens,s=e.macros.get("|"),o=e.macros.get("\\|");e.macros.beginGroup();var c=g=>w=>{t&&(w.macros.set("|",s),n.length&&w.macros.set("\\|",o));var S=g;if(!g&&n.length){var T=w.future();T.text==="|"&&(w.popToken(),S=!0)}return{tokens:S?n:a,numArgs:0}};e.macros.set("|",c(!1)),n.length&&e.macros.set("\\|",c(!0));var m=e.consumeArg().tokens,d=e.expandTokens([...i,...m,...r]);return e.macros.endGroup(),{tokens:d.reverse(),numArgs:0}};f("\\bra@ket",Xl(!1));f("\\bra@set",Xl(!0));f("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");f("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");f("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");f("\\angln","{\\angl n}");f("\\blue","\\textcolor{##6495ed}{#1}");f("\\orange","\\textcolor{##ffa500}{#1}");f("\\pink","\\textcolor{##ff00af}{#1}");f("\\red","\\textcolor{##df0030}{#1}");f("\\green","\\textcolor{##28ae7b}{#1}");f("\\gray","\\textcolor{gray}{#1}");f("\\purple","\\textcolor{##9d38bd}{#1}");f("\\blueA","\\textcolor{##ccfaff}{#1}");f("\\blueB","\\textcolor{##80f6ff}{#1}");f("\\blueC","\\textcolor{##63d9ea}{#1}");f("\\blueD","\\textcolor{##11accd}{#1}");f("\\blueE","\\textcolor{##0c7f99}{#1}");f("\\tealA","\\textcolor{##94fff5}{#1}");f("\\tealB","\\textcolor{##26edd5}{#1}");f("\\tealC","\\textcolor{##01d1c1}{#1}");f("\\tealD","\\textcolor{##01a995}{#1}");f("\\tealE","\\textcolor{##208170}{#1}");f("\\greenA","\\textcolor{##b6ffb0}{#1}");f("\\greenB","\\textcolor{##8af281}{#1}");f("\\greenC","\\textcolor{##74cf70}{#1}");f("\\greenD","\\textcolor{##1fab54}{#1}");f("\\greenE","\\textcolor{##0d923f}{#1}");f("\\goldA","\\textcolor{##ffd0a9}{#1}");f("\\goldB","\\textcolor{##ffbb71}{#1}");f("\\goldC","\\textcolor{##ff9c39}{#1}");f("\\goldD","\\textcolor{##e07d10}{#1}");f("\\goldE","\\textcolor{##a75a05}{#1}");f("\\redA","\\textcolor{##fca9a9}{#1}");f("\\redB","\\textcolor{##ff8482}{#1}");f("\\redC","\\textcolor{##f9685d}{#1}");f("\\redD","\\textcolor{##e84d39}{#1}");f("\\redE","\\textcolor{##bc2612}{#1}");f("\\maroonA","\\textcolor{##ffbde0}{#1}");f("\\maroonB","\\textcolor{##ff92c6}{#1}");f("\\maroonC","\\textcolor{##ed5fa6}{#1}");f("\\maroonD","\\textcolor{##ca337c}{#1}");f("\\maroonE","\\textcolor{##9e034e}{#1}");f("\\purpleA","\\textcolor{##ddd7ff}{#1}");f("\\purpleB","\\textcolor{##c6b9fc}{#1}");f("\\purpleC","\\textcolor{##aa87ff}{#1}");f("\\purpleD","\\textcolor{##7854ab}{#1}");f("\\purpleE","\\textcolor{##543b78}{#1}");f("\\mintA","\\textcolor{##f5f9e8}{#1}");f("\\mintB","\\textcolor{##edf2df}{#1}");f("\\mintC","\\textcolor{##e0e5cc}{#1}");f("\\grayA","\\textcolor{##f6f7f7}{#1}");f("\\grayB","\\textcolor{##f0f1f2}{#1}");f("\\grayC","\\textcolor{##e3e5e6}{#1}");f("\\grayD","\\textcolor{##d6d8da}{#1}");f("\\grayE","\\textcolor{##babec2}{#1}");f("\\grayF","\\textcolor{##888d93}{#1}");f("\\grayG","\\textcolor{##626569}{#1}");f("\\grayH","\\textcolor{##3b3e40}{#1}");f("\\grayI","\\textcolor{##21242c}{#1}");f("\\kaBlue","\\textcolor{##314453}{#1}");f("\\kaGreen","\\textcolor{##71B307}{#1}");var Yl={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class kc{constructor(e,r,a){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(e),this.macros=new wc(Sc,r.macros),this.mode=a,this.stack=[]}feed(e){this.lexer=new Gi(e,this.settings)}switchMode(e){this.mode=e}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(e){this.stack.push(e)}pushTokens(e){this.stack.push(...e)}scanArgument(e){var r,a,n;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:n,end:a}=this.consumeArg(["]"])}else({tokens:n,start:r,end:a}=this.consumeArg());return this.pushToken(new s0("EOF",a.loc)),this.pushTokens(n),r.range(a,"")}consumeSpaces(){for(;;){var e=this.future();if(e.text===" ")this.stack.pop();else break}}consumeArg(e){var r=[],a=e&&e.length>0;a||this.consumeSpaces();var n=this.future(),i,s=0,o=0;do{if(i=this.popToken(),r.push(i),i.text==="{")++s;else if(i.text==="}"){if(--s,s===-1)throw new E("Extra }",i)}else if(i.text==="EOF")throw new E("Unexpected end of input in a macro argument, expected '"+(e&&a?e[o]:"}")+"'",i);if(e&&a)if((s===0||s===1&&e[o]==="{")&&i.text===e[o]){if(++o,o===e.length){r.splice(-o,o);break}}else o=0}while(s!==0||a);return n.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:n,end:i}}consumeArgs(e,r){if(r){if(r.length!==e+1)throw new E("The length of delimiters doesn't match the number of args!");for(var a=r[0],n=0;nthis.settings.maxExpand)throw new E("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var r=this.popToken(),a=r.text,n=r.noexpand?null:this._getExpansion(a);if(n==null||e&&n.unexpandable){if(e&&n==null&&a[0]==="\\"&&!this.isDefined(a))throw new E("Undefined control sequence: "+a);return this.pushToken(r),!1}this.countExpansion(1);var i=n.tokens,s=this.consumeArgs(n.numArgs,n.delimiters);if(n.numArgs){i=i.slice();for(var o=i.length-1;o>=0;--o){var c=i[o];if(c.text==="#"){if(o===0)throw new E("Incomplete placeholder at end of macro body",c);if(c=i[--o],c.text==="#")i.splice(o+1,1);else if(/^[1-9]$/.test(c.text))i.splice(o,2,...s[+c.text-1]);else throw new E("Not a valid argument number",c)}}}return this.pushTokens(i),i.length}expandAfterFuture(){return this.expandOnce(),this.future()}expandNextToken(){for(;;)if(this.expandOnce()===!1){var e=this.stack.pop();return e.treatAsRelax&&(e.text="\\relax"),e}throw new Error}expandMacro(e){return this.macros.has(e)?this.expandTokens([new s0(e)]):void 0}expandTokens(e){var r=[],a=this.stack.length;for(this.pushTokens(e);this.stack.length>a;)if(this.expandOnce(!0)===!1){var n=this.stack.pop();n.treatAsRelax&&(n.noexpand=!1,n.treatAsRelax=!1),r.push(n)}return this.countExpansion(r.length),r}expandMacroAsText(e){var r=this.expandMacro(e);return r&&r.map(a=>a.text).join("")}_getExpansion(e){var r=this.macros.get(e);if(r==null)return r;if(e.length===1){var a=this.lexer.catcodes[e];if(a!=null&&a!==13)return}var n=typeof r=="function"?r(this):r;if(typeof n=="string"){var i=0;if(n.indexOf("#")!==-1)for(var s=n.replace(/##/g,"");s.indexOf("#"+(i+1))!==-1;)++i;for(var o=new Gi(n,this.settings),c=[],m=o.lex();m.text!=="EOF";)c.push(m),m=o.lex();c.reverse();var d={tokens:c,numArgs:i};return d}return n}isDefined(e){return this.macros.has(e)||Y0.hasOwnProperty(e)||pe.math.hasOwnProperty(e)||pe.text.hasOwnProperty(e)||Yl.hasOwnProperty(e)}isExpandable(e){var r=this.macros.get(e);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:Y0.hasOwnProperty(e)&&!Y0[e].primitive}}var Xi=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,dr=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),Sa={"́":{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"}},Yi={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class Jr{constructor(e,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 kc(e,r,this.mode),this.settings=r,this.leftrightDepth=0}expect(e,r){if(r===void 0&&(r=!0),this.fetch().text!==e)throw new E("Expected '"+e+"', 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(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set("\\color","\\textcolor");try{var e=this.parseExpression(!1);return this.expect("EOF"),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var r=this.nextToken;this.consume(),this.gullet.pushToken(new s0("}")),this.gullet.pushTokens(e);var a=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,a}parseExpression(e,r){for(var a=[];;){this.mode==="math"&&this.consumeSpaces();var n=this.fetch();if(Jr.endOfExpression.indexOf(n.text)!==-1||r&&n.text===r||e&&Y0[n.text]&&Y0[n.text].infix)break;var i=this.parseAtom(r);if(i){if(i.type==="internal")continue}else break;a.push(i)}return this.mode==="text"&&this.formLigatures(a),this.handleInfixNodes(a)}handleInfixNodes(e){for(var r=-1,a,n=0;n=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',e);var o=pe[this.mode][r].group,c=Je.range(e),m;if(h4.hasOwnProperty(o)){var d=o;m={type:"atom",mode:this.mode,family:d,loc:c,text:r}}else m={type:o,mode:this.mode,loc:c,text:r};s=m}else if(r.charCodeAt(0)>=128)this.settings.strict&&(nl(r.charCodeAt(0))?this.mode==="math"&&this.settings.reportNonstrict("unicodeTextInMathMode",'Unicode text character "'+r[0]+'" used in math mode',e):this.settings.reportNonstrict("unknownSymbol",'Unrecognized Unicode character "'+r[0]+'"'+(" ("+r.charCodeAt(0)+")"),e)),s={type:"textord",mode:"text",loc:Je.range(e),text:r};else return null;if(this.consume(),i)for(var g=0;gHe(r)),e.args.length===1&&(e=e.args[0]);break;case"leftright":{const r=He({type:"ordgroup",mode:"math",body:t.body});e.type="leftright";let a=t.left;a==="\\{"&&(a="{");let n=t.right;n==="\\}"&&(n="}");const i=s=>["(",")","[","]","{","}"].includes(s);e.args=[{type:i(a)?"atom":"symbol",content:a},r,{type:i(n)?"atom":"symbol",content:n}];break}case"underline":case"overline":e.type="unaryFunc",e.content="\\"+t.type,e.args=[He(t.body)];break;case"accent":{e.type="unaryFunc",e.content=t.label,e.args=[He(t.base)];break}case"sqrt":t.index&&(e.irregularData=He(t.index));case"font":case"operatorname":if(e.type="unaryFunc",e.content="\\"+t.type,t.type==="font"&&(e.content="\\"+t.font),Array.isArray(t.body)){const r={type:"ordgroup",mode:"math",body:t.body};e.args=[He(r)]}else e.args=[He(t.body)];break;case"horizBrace":e.type="unaryFunc",e.content=t.label,e.args=[He(t.base)];break;case"array":t.colSeparationType==="align"?e.type="align":e.type="matrix",e.irregularData=t.body.map(r=>r.map(a=>{if(a.type!=="styling"||a.body.length!==1)throw new pr("Expecting cell.type==='\\styling' and cell.body.length===1",a);return He(a.body[0])}));break;case"text":{e.type="text";let r="";t.body.forEach(a=>{if(a.mode!=="text")throw new pr("Expecting node.mode==='text'",t);r+=a.text}),e.content=r;break}case"spacing":case"kern":e.type="empty",e.content=" ";break;case"htmlmathml":{const r=t.mathml[0].body[0];if(r&&r.type==="textord"&&r.text==="≠"){e.type="symbol",e.content="\\neq";break}}case"color":if(Array.isArray(t.body)&&t.body.length===1){const r=t.body[0];if(r.type==="text"){e.type="unknownMacro";const a=r.body.map(n=>n.text).join("");if(/^\\[a-zA-Z]+$/.test(a)){e.content=a.substring(1);break}}}throw new pr("Unknown error type in parsed result:",t);case"comment":e.type="comment",e.content=t.text;break;default:throw new pr(`Unknown node type: ${t.type}`,t)}return e}catch(e){throw e}}function zc(t){const e=t.split(` +`),r=[];let a="";for(let n=0;n0&&r.push(a),r}function Cc(t,e){const a={macros:{"\\mod":"\\operatorname{SyMb01-mod}","\\liminf":"\\operatorname{SyMb01-liminf}","\\limsup":"\\operatorname{SyMb01-limsup}","\\qquad":"\\operatorname{SyMb01-qquad}","\\quad":"\\operatorname{SyMb01-quad}","\\cdots":"\\operatorname{SyMb01-cdots}","\\colon":"\\operatorname{SyMb01-colon}","\\imath":"\\operatorname{SyMb01-imath}","\\iiiint":"\\operatorname{SyMb01-iiiint}","\\jmath":"\\operatorname{SyMb01-jmath}","\\vdots":"\\operatorname{SyMb01-vdots}","\\notin":"\\operatorname{SyMb01-notin}","\\slash":"\\operatorname{SyMb01-slash}","\\LaTeX":"\\operatorname{SyMb01-LaTeX}","\\TeX":"\\operatorname{SyMb01-TeX}","\\SyMbOlNeWlInE":"\\operatorname{SyMb01-newline}",...e},displayMode:!0,strict:"ignore",throwOnError:!1},n=zc(t);let i=[];for(const o of n){if(o.startsWith("%")){const m={type:"comment",mode:"math",text:o.substring(1)};i.push(m);continue}const c=qc(o,a);i=i.concat(c)}return He({type:"ordgroup",mode:"math",body:i,loc:{}})}var qc=Jl.__parse;class pr extends Error{constructor(r,a){super(r);C0(this,"node");this.name="KatexNodeToTexNodeError",this.node=a}}var Ki=new Map([["gets","arrow.l"],["nonumber",""],["vec","arrow"],["neq","eq.not"],["dot","dot"],["ddot","dot.double"],["doteq","dot(eq)"],["dots","dots.h"],["ldots","dots.h"],["vdots","dots.v"],["ddots","dots.down"],["widehat","hat"],["widetilde","tilde"],["quad","quad"],["qquad","wide"],["overbrace","overbrace"],["underbrace","underbrace"],["overline","overline"],["underline","underline"],["bar","macron"],["boldsymbol","bold"],["mathbf","bold"],["mathbb","bb"],["mathcal","cal"],["mathfrak","frak"],["mathsf","sans"],["mathtt","mono"],["mathrm","upright"],["rm","upright"],["pmb","bold"],["pm","plus.minus"],["mp","minus.plus"],["oplus","xor"],["boxplus","plus.square"],["otimes","times.circle"],["boxtimes","times.square"],["sim","tilde"],["approx","approx"],["cong","tilde.equiv"],["simeq","tilde.eq"],["asymp","≍"],["equiv","equiv"],["propto","prop"],["implies","arrow.r.double.long"],["Longrightarrow","arrow.r.double.long"],["iff","arrow.l.r.double.long"],["Longleftrightarrow","arrow.l.r.double.long"],["leftrightarrow","arrow.l.r"],["longleftrightarrow","arrow.l.r.long"],["rightrightarrows","arrows.rr"],["lfloor","⌊"],["rfloor","⌋"],["lceil","⌈"],["rceil","⌉"],["Cap","sect.double"],["Cup","union.double"],["Delta","Delta"],["Gamma","Gamma"],["Join","join"],["Lambda","Lambda"],["Longrightarrow","arrow.r.double.long"],["Omega","Omega"],["Phi","Phi"],["Pi","Pi"],["Psi","Psi"],["Rightarrow","arrow.double"],["Sigma","Sigma"],["Theta","Theta"],["aleph","alef"],["alpha","alpha"],["angle","angle"],["approx","approx"],["approxeq","approx.eq"],["ast","ast"],["beta","beta"],["bigcap","sect.big"],["bigcirc","circle.big"],["bigcup","union.big"],["bigodot","dot.circle.big"],["bigoplus","xor.big"],["bigotimes","times.circle.big"],["bigsqcup","union.sq.big"],["bigtriangledown","triangle.b"],["bigtriangleup","triangle.t"],["biguplus","union.plus.big"],["bigvee","or.big"],["bigwedge","and.big"],["bullet","bullet"],["cap","sect"],["cdot","dot.op"],["cdots","dots.c"],["checkmark","checkmark"],["chi","chi"],["circ","circle.small"],["colon","colon"],["cong","tilde.equiv"],["coprod","product.co"],["cup","union"],["curlyvee","or.curly"],["curlywedge","and.curly"],["dagger","dagger"],["dashv","tack.l"],["ddagger","dagger.double"],["delta","delta"],["ddots","dots.down"],["diamond","diamond"],["div","div"],["divideontimes","times.div"],["dotplus","plus.dot"],["downarrow","arrow.b"],["ell","ell"],["emptyset","nothing"],["epsilon","epsilon.alt"],["equiv","equiv"],["eta","eta"],["exists","exists"],["forall","forall"],["gamma","gamma"],["ge","gt.eq"],["geq","gt.eq"],["geqslant","gt.eq.slant"],["gg","gt.double"],["hbar","planck.reduce"],["imath","dotless.i"],["iiiint","intgral.quad"],["iiint","integral.triple"],["iint","integral.double"],["in","in"],["infty","infinity"],["int","integral"],["intercal","top"],["iota","iota"],["jmath","dotless.j"],["kappa","kappa"],["lambda","lambda"],["land","and"],["langle","angle.l"],["lbrace","brace.l"],["lbrack","bracket.l"],["ldots","dots.l"],["le","lt.eq"],["leadsto","arrow.squiggly"],["leftarrow","arrow.l"],["leftthreetimes","times.three.l"],["leftrightarrow","arrow.l.r"],["leq","lt.eq"],["leqslant","lt.eq.slant"],["lhd","triangle.l"],["ll","lt.double"],["longmapsto","arrow.long.bar"],["longrightarrow","arrow.long"],["lor","or"],["ltimes","times.l"],["mapsto","arrow.bar"],["measuredangle","angle.arc"],["mid","divides"],["models","models"],["mp","minus.plus"],["mu","mu"],["nRightarrow","arrow.double.not"],["nabla","nabla"],["ncong","tilde.nequiv"],["ne","eq.not"],["neg","not"],["neq","eq.not"],["nexists","exists.not"],["ni","in.rev"],["nleftarrow","arrow.l.not"],["nleq","lt.eq.not"],["nparallel","parallel.not"],["ngeq","gt.eq.not"],["nmid","divides.not"],["notin","in.not"],["nrightarrow","arrow.not"],["nsim","tilde.not"],["nsubseteq","subset.eq.not"],["nu","nu"],["ntriangleleft","lt.tri.not"],["ntriangleright","gt.tri.not"],["nwarrow","arrow.tl"],["odot","dot.circle"],["oint","integral.cont"],["oiint","integral.surf"],["oiiint","integral.vol"],["omega","omega"],["ominus","minus.circle"],["oplus","xor"],["otimes","times.circle"],["parallel","parallel"],["partial","diff"],["perp","perp"],["phi","phi.alt"],["pi","pi"],["pm","plus.minus"],["pounds","pound"],["prec","prec"],["preceq","prec.eq"],["prime","prime"],["prod","product"],["propto","prop"],["psi","psi"],["rangle","angle.r"],["rbrace","brace.r"],["rbrack","bracket.r"],["rhd","triangle"],["rho","rho"],["rightarrow","arrow.r"],["rightthreetimes","times.three.r"],["rtimes","times.r"],["setminus","without"],["sigma","sigma"],["sim","tilde"],["simeq","tilde.eq"],["slash","slash"],["smallsetminus","without"],["spadesuit","suit.spade"],["sqcap","sect.sq"],["sqcup","union.sq"],["sqsubseteq","subset.eq.sq"],["sqsupseteq","supset.eq.sq"],["star","star"],["subset","subset"],["subseteq","subset.eq"],["subsetneq","subset.neq"],["succ","succ"],["succeq","succ.eq"],["sum","sum"],["supset","supset"],["supseteq","supset.eq"],["supsetneq","supset.neq"],["swarrow","arrow.bl"],["tau","tau"],["theta","theta"],["times","times"],["to","arrow.r"],["top","top"],["triangle","triangle.t"],["triangledown","triangle.b.small"],["triangleleft","triangle.l.small"],["triangleright","triangle.r.small"],["twoheadrightarrow","arrow.r.twohead"],["uparrow","arrow.t"],["updownarrow","arrow.t.b"],["upharpoonright","harpoon.tr"],["uplus","union.plus"],["upsilon","upsilon"],["varepsilon","epsilon"],["varnothing","diameter"],["varphi","phi"],["varpi","pi.alt"],["varrho","rho.alt"],["varsigma","sigma.alt"],["vartheta","theta.alt"],["vdash","tack.r"],["vdots","dots.v"],["vee","or"],["wedge","and"],["wr","wreath"],["xi","xi"],["yen","yen"],["zeta","zeta"],["mathscr","scr"],["LaTeX","#LaTeX"],["TeX","#TeX"]]);function Zi(t){if(/^[a-zA-Z0-9]$/.test(t))return t;if(t==="\\\\")return"\\";if(t=="/")return"\\/";if(["\\$","\\#","\\&","\\_"].includes(t))return t;if(t.startsWith("\\")){const e=t.slice(1);return Ki.has(e)?Ki.get(e):e}return t}var Dc=["dim","id","im","mod","Pr","sech","csch"];class ka extends Error{constructor(r,a){super(r);C0(this,"node");this.name="TypstWriterError",this.node=a}}class Bc{constructor(e,r){C0(this,"nonStrict");C0(this,"preferTypstIntrinsic");C0(this,"buffer","");C0(this,"queue",[]);C0(this,"needSpaceAfterSingleItemScript",!1);C0(this,"insideFunctionDepth",0);this.nonStrict=e,this.preferTypstIntrinsic=r}writeBuffer(e){if(this.needSpaceAfterSingleItemScript&&/^[0-9a-zA-Z\(]/.test(e))this.buffer+=" ";else{let r=!1;r||(r=/[\(\|]$/.test(this.buffer)&&/^\w/.test(e)),r||(r=/^[}()_^,;!\|]$/.test(e)),r||(r=e==="'"),r||(r=/[0-9]$/.test(this.buffer)&&/^[0-9]/.test(e)),r||(r=/[\(\[{]\s*(-|\+)$/.test(this.buffer)||this.buffer==="-"||this.buffer==="+"),r||(r=e.startsWith(` +`)),r||(r=this.buffer===""),r||(r=/[\s"_^{\(]$/.test(this.buffer)),r||(this.buffer+=" ")}this.needSpaceAfterSingleItemScript&&(this.needSpaceAfterSingleItemScript=!1),this.buffer+=e}append(e){if(e.type!=="empty")if(e.type==="ordgroup")e.args.forEach(r=>this.append(r));else if(e.type==="atom"){let r=e.content;e.content===","&&this.insideFunctionDepth>0&&(r="comma"),this.queue.push({type:"atom",content:r})}else if(e.type==="symbol")this.queue.push({type:"symbol",content:e.content});else if(e.type==="text")this.queue.push(e);else if(e.type==="supsub"){let{base:r,sup:a,sub:n}=e.irregularData;if(r&&r.type==="unaryFunc"&&r.content==="\\overbrace"&&a){this.append({type:"binaryFunc",content:"\\overbrace",args:[r.args[0],a]});return}else if(r&&r.type==="unaryFunc"&&r.content==="\\underbrace"&&n){this.append({type:"binaryFunc",content:"\\underbrace",args:[r.args[0],n]});return}r?this.appendWithBracketsIfNeeded(r):this.queue.push({type:"text",content:""});let i=!1;const s=a&&a.type==="symbol"&&a.content==="\\prime";s&&(this.queue.push({type:"atom",content:"'"}),i=!1),n&&(this.queue.push({type:"atom",content:"_"}),i=this.appendWithBracketsIfNeeded(n)),a&&!s&&(this.queue.push({type:"atom",content:"^"}),i=this.appendWithBracketsIfNeeded(a)),i&&this.queue.push({type:"softSpace",content:""})}else if(e.type==="leftright"){const[r,a,n]=e.args;if(["[]","()","{}","\\lfloor\\rfloor","\\lceil\\rceil"].includes(r.content+n.content)){this.append(r),this.append(a),this.append(n);return}const i={type:"symbol",content:"lr"};this.queue.push(i),this.insideFunctionDepth++,this.queue.push({type:"atom",content:"("}),this.append(r),this.append(a),this.append(n),this.queue.push({type:"atom",content:")"}),this.insideFunctionDepth--}else if(e.type==="binaryFunc"){const r={type:"symbol",content:e.content},[a,n]=e.args;this.queue.push(r),this.insideFunctionDepth++,this.queue.push({type:"atom",content:"("}),this.append(a),this.queue.push({type:"atom",content:","}),this.append(n),this.queue.push({type:"atom",content:")"}),this.insideFunctionDepth--}else if(e.type==="unaryFunc"){const r={type:"symbol",content:e.content},a=e.args[0];if(e.content==="\\sqrt"&&e.irregularData){r.content="root",this.queue.push(r),this.insideFunctionDepth++,this.queue.push({type:"atom",content:"("}),this.append(e.irregularData),this.queue.push({type:"atom",content:","}),this.append(a),this.queue.push({type:"atom",content:")"}),this.insideFunctionDepth--;return}else if(e.content==="\\mathbf"){this.append({type:"symbol",content:"upright"}),this.insideFunctionDepth++,this.queue.push({type:"atom",content:"("}),this.queue.push(r),this.insideFunctionDepth++,this.queue.push({type:"atom",content:"("}),this.append(a),this.queue.push({type:"atom",content:")"}),this.insideFunctionDepth--,this.queue.push({type:"atom",content:")"}),this.insideFunctionDepth--;return}else if(e.content==="\\mathbb"){const n=e.args[0];if(n.type==="symbol"&&/^[A-Z]$/.test(n.content)){this.queue.push({type:"symbol",content:n.content+n.content});return}}else if(e.content==="\\operatorname"){let n=e.args;n.length===1&&n[0].type=="ordgroup"&&(n=n[0].args);const i=n.reduce((s,o)=>(s+=Zi(o.content),s),"");if(this.preferTypstIntrinsic&&Dc.includes(i))this.queue.push({type:"symbol",content:i});else if(i.startsWith("SyMb01-")){const s=i.substring(7);if(s==="newline"){this.queue.push({type:"newline",content:` +`});return}this.queue.push({type:"symbol",content:"\\"+s})}else this.queue.push({type:"symbol",content:"op"}),this.queue.push({type:"atom",content:"("}),this.queue.push({type:"text",content:i}),this.queue.push({type:"atom",content:")"});return}this.queue.push(r),this.insideFunctionDepth++,this.queue.push({type:"atom",content:"("}),this.append(a),this.queue.push({type:"atom",content:")"}),this.insideFunctionDepth--}else if(e.type==="align"){const r=e.irregularData;r.forEach((a,n)=>{a.forEach((i,s)=>{s>0&&this.queue.push({type:"atom",content:"&"}),this.append(i)}),n{a.forEach((i,s)=>{if(i.type==="ordgroup"&&i.args.length===0){this.queue.push({type:"atom",content:","});return}this.append(i),s{let r="";switch(e.type){case"atom":r=e.content;break;case"symbol":r=Zi(e.content);break;case"text":r=`"${e.content}"`;break;case"softSpace":this.needSpaceAfterSingleItemScript=!0,r="";break;case"comment":r=`//${e.content}`;break;case"newline":r=` +`;break;default:throw new ka(`Unexpected node type to stringify: ${e.type}`,e)}r!==""&&this.writeBuffer(r)}),this.queue=[]}appendWithBracketsIfNeeded(e){e.type,e.type==="unaryFunc"||e.type==="binaryFunc"||e.type;const r=["atom","symbol","unaryFunc","binaryFunc","leftright"].includes(e.type);return r?this.append(e):(this.queue.push({type:"atom",content:"("}),this.append(e),this.queue.push({type:"atom",content:")"})),r}finalize(){this.flushQueue();const e=function(a){let n=a.replace(/⌊\s*(.*?)\s*⌋/g,"floor($1)");return n=n.replace(/floor\(\)/g,'floor("")'),n},r=function(a){let n=a.replace(/⌈\s*(.*?)\s*⌉/g,"ceil($1)");return n=n.replace(/ceil\(\)/g,'ceil("")'),n};return this.buffer=e(this.buffer),this.buffer=r(this.buffer),this.buffer}}function Ec(t,e){const r={nonStrict:!1,preferTypstIntrinsic:!0,customTexMacros:{}};e&&(e.nonStrict&&(r.nonStrict=e.nonStrict),e.preferTypstIntrinsic&&(r.preferTypstIntrinsic=e.preferTypstIntrinsic),e.customTexMacros&&(r.customTexMacros=e.customTexMacros));const a=Cc(t,r.customTexMacros),n=new Bc(r.nonStrict,r.preferTypstIntrinsic);return n.append(a),n.finalize()}const Ql={"\\RR":"\\mathbb{R}","\\NN":"\\mathbb{N}","\\ZZ":"\\mathbb{Z}","\\QQ":"\\mathbb{Q}","\\CC":"\\mathbb{C}","\\sech":"\\operatorname{sech}","\\csch":"\\operatorname{csch}","\\dim":"\\operatorname{dim}","\\id":"\\operatorname{id}","\\im":"\\operatorname{im}","\\Pr":"\\operatorname{Pr}"};function Nc(t){let r=Ec(t,{nonStrict:!0,preferTypstIntrinsic:!0,customTexMacros:Ql});return r=r.replaceAll("upright(d)","dif"),r=r.replaceAll('op("d")',"dif"),r=r.replaceAll("⌊","lfloor"),r=r.replaceAll("⌋","rfloor"),r=r.replaceAll("⌈","lceil"),r=r.replaceAll("⌉","rceil"),r}function Ic(t){const e=document.createElement("textarea");e.value=t,e.style.top="0",e.style.left="0",e.style.position="fixed",e.style.zIndex="-1",e.setAttribute("readonly",!0),document.body.appendChild(e),e.focus(),e.select();let r;try{r=document.execCommand("copy"),r||console.log("Fallback: Error on copying text command")}catch(a){console.error("Fallback: Oops, unable to copy",a),r=!1}return document.body.removeChild(e),r}function _c(t){if(!navigator.clipboard){const e=Ic(t);return Promise.resolve(e)}return navigator.clipboard.writeText(t).then(function(){return!0},function(e){return console.error("Async: Could not copy text: ",e),!1})}const Rc=(t,e)=>{const r=t.__vccOpts||t;for(const[a,n]of e)r[a]=n;return r},Oc={name:"CopiedToast",props:{showing:{type:Boolean,default:!1}}},Fc=1300;function Lc(t,e,r,a,n,i){return Cr(),_a("div",{class:Fr(r.showing?"snackbar show":"snackbar hide")},"Copied!",2)}const Hc=Rc(Oc,[["render",Lc],["__scopeId","data-v-442d6127"]]);function Pc(t){let e=Math.floor(Math.random()*t);return e===t&&(e=0),e}const e1=[String.raw`e = \lim_{{n \to \infty}} \left(1 + \frac{1}{n}\right)^n`,String.raw`\prod_{p} \frac{1}{1-p^{-s}}= \sum _{n=1}^{\infty} \frac{1}{n^s}`,String.raw`a^{p-1} \equiv 1 \mod{p}`,String.raw`\begin{aligned} \nabla \cdot \boldsymbol{E} &= \frac{\rho}{\varepsilon_0} \\ \nabla \cdot \boldsymbol{B} &= 0 \\ \nabla \times \boldsymbol{E} &= -\frac{\partial \boldsymbol{B}}{\partial t} \\ @@ -284,4 +287,4 @@ l0,-`+(r+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7, C &= N(d_1) S_t - N(d_2) K e^{-rt} \\ d_1 &= \frac{\ln \frac{S_t}{K} + (r + \frac{\sigma^2}{2}) t}{\sigma \sqrt{t}} \\ d_2 &= d_1-\sigma\sqrt{t} -\end{aligned}`,String.raw`f(z_0) = \frac{1}{2\pi \mathrm{i}} \oint_{C} \frac{f(z)}{z-z_0}\, \mathrm{d} z`],Pc=t1.length;let Ji=null;function Vc(){let t;do t=Hc(Pc);while(t===Ji);return Ji=t,t1[t]}const $c={class:"bg-app text-app-blue min-h-screen flex flex-col"},Uc=Uo('
Convert LaTeX math formula code to Typst code!
This tool runs locally in your browser. Nothing is uploaded.
',2),Gc={class:"flex-1 flex md:flex-row flex-col p-4"},jc={class:"flex-1 flex flex-col border border-gray-700 min-h-[200px] rounded-lg m-2"},Wc={class:"flex justify-between p-2 border-b border-gray-700"},Xc=Te("span",{class:"text-app-blue p-2"},"LaTeX code",-1),Yc={class:"flex-1 flex flex-col border border-gray-700 min-h-[200px] rounded-lg m-2"},Kc={class:"flex justify-between p-2 border-b border-gray-700"},Zc=Te("span",{class:"text-app-blue p-2"},"Typst code",-1),Jc={class:"relative"},Qc={class:"flex-1 flex flex-col",id:"typst"},e2={class:"flex-1 text-app-light-black p-4"},t2=["innerHTML"],r2={class:"flex items-center text-center text-app-light-black pb-4 min-h-28"},a2=["innerHTML"],n2=Te("footer",{class:"theme-app text-center p-4"},[Te("p",{class:"text-white"},[el("Powered by "),Te("a",{href:"https://github.com/qwinsi/tex2typst",target:"_blank"},"tex2typst.js")])],-1),i2={__name:"App",setup(t){const e=ta(""),r=_a(()=>{try{const c=e.value,m=Ec(c),d=[];c.includes("\\mathscr")&&d.push("scr"),c.includes("\\LaTeX")&&d.push("#LaTeX"),c.includes("\\TeX")&&d.push("#TeX"),m.includes("lfloor")&&d.push("unpaired lfloor"),m.includes("rfloor")&&d.push("unpaired rfloor"),m.includes("lceil")&&d.push("unpaired lceil"),m.includes("rceil")&&d.push("unpaired rceil");let g="";if(d.length>0){const w=new Map([["scr","mathscr"],["#LaTeX","latex-and-tex"],["#TeX","latex-and-tex"],["unpaired lfloor","floor-and-ceil"],["unpaired rfloor","floor-and-ceil"],["unpaired lceil","floor-and-ceil"],["unpaired rceil","floor-and-ceil"]]);if(d.length===1){const S=d[0];g=`ⓘ Define ${`${S}`} yourself as it's not supported in Typst. Click the link to see the definition code.`}else g=`ⓘ Define ${d.map(T=>`${T}`).join(", ")} yourself as they're not supported in Typst. Click the link for the definition code.`}return{typst:m,message:g}}catch{return{typst:"",message:"ⓘ [ERROR: Invalid LaTeX code]"}}}),a=_a(()=>{if(e.value==="")return'
Math formula will be rendered here.
';{const c={macros:e1,displayMode:!0,throwOnError:!1,errorColor:"#bc6f17"};return Jl.renderToString(e.value,c)}}),n=ta(!1);function i(){n.value=!0,setTimeout(()=>{n.value=!1},_c)}async function l(){if(e.value==="")return;await Ic(r.value.typst)?i():alert("Failed to copy to clipboard. Please report this issue.")}const u=ta(null);return Ns(function(){u.value&&u.value.focus(),/iPad|iPhone|iPod/.test(window.navigator.userAgent)&&document.querySelectorAll("button").forEach(m=>{m.addEventListener("touchstart",function(){},{passive:!1})})}),(c,m)=>(Cr(),Ra("div",$c,[Uc,Te("main",Gc,[Te("div",jc,[Te("div",Wc,[Xc,Te("div",null,[Te("button",{class:"text-app-light-black p-2 mr-2 rounded-lg hover:bg-gray-300 active:bg-gray-400",onClick:m[0]||(m[0]=d=>e.value=Ts(Vc)())},"Random"),Te("button",{class:"text-app-light-black p-2 rounded-lg hover:bg-gray-300 active:bg-gray-400",onClick:m[1]||(m[1]=d=>e.value="")},"Clear")])]),mo(Te("textarea",{ref_key:"inputArea",ref:u,class:"flex-1 text-app-light-black p-4","onUpdate:modelValue":m[2]||(m[2]=d=>e.value=d),spellcheck:"false"},null,512),[[ku,e.value]])]),Te("div",Yc,[Te("div",Kc,[Zc,Te("div",Jc,[Te("button",{class:"text-app-light-black p-2 rounded-lg hover:bg-gray-300 active:bg-gray-400",onClick:l},"Copy"),v0(Lc,{id:"copiedToast",showing:n.value},null,8,["showing"])])]),Te("div",Qc,[Te("div",e2,os(r.value.typst),1),r.value.message?(Cr(),Ra("div",{key:0,class:"h-20 text-sm text-app-light-black theme-warning border-t rounded border-yellow-700 p-4",innerHTML:r.value.message},null,8,t2)):Go("",!0)])])]),Te("div",r2,[Te("div",{class:"flex-1",innerHTML:a.value},null,8,a2)]),n2]))}};Au(i2).mount("#app"); +\end{aligned}`,String.raw`f(z_0) = \frac{1}{2\pi \mathrm{i}} \oint_{C} \frac{f(z)}{z-z_0}\, \mathrm{d} z`],Vc=e1.length;let Ji=null;function $c(){let t;do t=Pc(Vc);while(t===Ji);return Ji=t,e1[t]}const Uc={class:"bg-app text-app-blue min-h-screen flex flex-col"},Gc=$o('
Convert LaTeX math formula code to Typst code!
This tool runs locally in your browser. Nothing is uploaded.
',2),jc={class:"flex-1 flex md:flex-row flex-col p-4"},Wc={class:"flex-1 flex flex-col border border-gray-700 min-h-[200px] rounded-lg m-2"},Xc={class:"flex justify-between p-2 border-b border-gray-700"},Yc=Te("span",{class:"text-app-blue p-2"},"LaTeX code",-1),Kc={class:"flex-1 flex flex-col border border-gray-700 min-h-[200px] rounded-lg m-2"},Zc={class:"flex justify-between p-2 border-b border-gray-700"},Jc=Te("span",{class:"text-app-blue p-2"},"Typst code",-1),Qc={class:"relative"},e2={class:"flex-1 flex flex-col",id:"typst"},t2={class:"flex-1 text-app-light-black p-4"},r2=["innerHTML"],a2={class:"flex items-center text-center text-app-light-black pb-4 min-h-28"},n2=["innerHTML"],i2=Te("footer",{class:"theme-app text-center p-4"},[Te("p",{class:"text-white"},[el("Powered by "),Te("a",{href:"https://github.com/qwinsi/tex2typst",target:"_blank"},"tex2typst.js")])],-1),s2={__name:"App",setup(t){const e=ta(""),r=Oa(()=>{try{const c=e.value,m=Nc(c),d=[];c.includes("\\mathscr")&&d.push("scr"),c.includes("\\LaTeX")&&d.push("#LaTeX"),c.includes("\\TeX")&&d.push("#TeX"),m.includes("lfloor")&&d.push("unpaired lfloor"),m.includes("rfloor")&&d.push("unpaired rfloor"),m.includes("lceil")&&d.push("unpaired lceil"),m.includes("rceil")&&d.push("unpaired rceil");let g="";if(d.length>0){const w=new Map([["scr","mathscr"],["#LaTeX","latex-and-tex"],["#TeX","latex-and-tex"],["unpaired lfloor","floor-and-ceil"],["unpaired rfloor","floor-and-ceil"],["unpaired lceil","floor-and-ceil"],["unpaired rceil","floor-and-ceil"]]);if(d.length===1){const S=d[0];g=`ⓘ Define ${`${S}`} yourself as it's not supported in Typst. Click the link to see the definition code.`}else g=`ⓘ Define ${d.map(T=>`${T}`).join(", ")} yourself as they're not supported in Typst. Click the link for the definition code.`}return{typst:m,message:g}}catch{return{typst:"",message:"ⓘ [ERROR: Invalid LaTeX code]"}}}),a=Oa(()=>{if(e.value==="")return'
Math formula will be rendered here.
';{const c={macros:Ql,displayMode:!0,throwOnError:!1,errorColor:"#bc6f17"};return Jl.renderToString(e.value,c)}}),n=ta(!1);function i(){n.value=!0,setTimeout(()=>{n.value=!1},Fc)}async function s(){if(e.value==="")return;await _c(r.value.typst)?i():alert("Failed to copy to clipboard. Please report this issue.")}const o=ta(null);return Ns(function(){o.value&&o.value.focus(),/iPad|iPhone|iPod/.test(window.navigator.userAgent)&&document.querySelectorAll("button").forEach(m=>{m.addEventListener("touchstart",function(){},{passive:!1})})}),(c,m)=>(Cr(),_a("div",Uc,[Gc,Te("main",jc,[Te("div",Wc,[Te("div",Xc,[Yc,Te("div",null,[Te("button",{class:"text-app-light-black p-2 mr-2 rounded-lg hover:bg-gray-300 active:bg-gray-400",onClick:m[0]||(m[0]=d=>e.value=Ts($c)())},"Random"),Te("button",{class:"text-app-light-black p-2 rounded-lg hover:bg-gray-300 active:bg-gray-400",onClick:m[1]||(m[1]=d=>e.value="")},"Clear")])]),ho(Te("textarea",{ref_key:"inputArea",ref:o,class:"flex-1 text-app-light-black p-4","onUpdate:modelValue":m[2]||(m[2]=d=>e.value=d),spellcheck:"false"},null,512),[[Su,e.value]])]),Te("div",Kc,[Te("div",Zc,[Jc,Te("div",Qc,[Te("button",{class:"text-app-light-black p-2 rounded-lg hover:bg-gray-300 active:bg-gray-400",onClick:s},"Copy"),v0(Hc,{id:"copiedToast",showing:n.value},null,8,["showing"])])]),Te("div",e2,[Te("div",t2,os(r.value.typst),1),r.value.message?(Cr(),_a("div",{key:0,class:"h-20 text-sm text-app-light-black theme-warning border-t rounded border-yellow-700 p-4",innerHTML:r.value.message},null,8,r2)):Uo("",!0)])])]),Te("div",a2,[Te("div",{class:"flex-1",innerHTML:a.value},null,8,n2)]),i2]))}};Tu(s2).mount("#app"); diff --git a/cheat-sheet.html b/cheat-sheet.html index a5ce018..0ce3205 100644 --- a/cheat-sheet.html +++ b/cheat-sheet.html @@ -66,6 +66,14 @@ display: none; } + .v-table.hide-preview tr:nth-child(2) { + display: none; + } + + .v-table.hide-typst tr:nth-child(3) { + display: none; + } + .toggle-panel { position: fixed; margin: 1em; @@ -96,6 +104,13 @@ margin: 0.5em; background-color: #f0f0f0; } + + /* hide