From 94be7ffe8ec0f87cbbd93b1605988346bc3662f9 Mon Sep 17 00:00:00 2001 From: qwinsi <70425035+qwinsi@users.noreply.github.com> Date: Sun, 8 Dec 2024 15:39:30 +0800 Subject: [PATCH] Updates --- assets/{app-BhnUpJAR.js => app-DmiDX2f2.js} | 44 ++++++++++----------- cheat-sheet.html | 6 +-- impl-in-typst.html | 37 ----------------- index.html | 2 +- offline.html | 2 +- 5 files changed, 27 insertions(+), 64 deletions(-) rename assets/{app-BhnUpJAR.js => app-DmiDX2f2.js} (71%) diff --git a/assets/app-BhnUpJAR.js b/assets/app-DmiDX2f2.js similarity index 71% rename from assets/app-BhnUpJAR.js rename to assets/app-DmiDX2f2.js index 3c19ff7..da53f64 100644 --- a/assets/app-BhnUpJAR.js +++ b/assets/app-DmiDX2f2.js @@ -1,20 +1,20 @@ -var T1=Object.defineProperty;var M1=(t,e,r)=>e in t?T1(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var dt=(t,e,r)=>M1(t,typeof e!="symbol"?e+"":e,r);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const s of a)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(a){const s={};return a.integrity&&(s.integrity=a.integrity),a.referrerPolicy&&(s.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?s.credentials="include":a.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(a){if(a.ep)return;a.ep=!0;const s=r(a);fetch(a.href,s)}})();const A1=new Set(["title","titleTemplate","script","style","noscript"]),Xr=new Set(["base","meta","link","style","script","noscript"]),C1=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),z1=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),il=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),_1=typeof window<"u";function nn(t){let e=9;for(let r=0;r>>9)+65536).toString(16).substring(1,8).toLowerCase()}function ca(t){if(t._h)return t._h;if(t._d)return nn(t._d);let e=`${t.tag}:${t.textContent||t.innerHTML||""}:`;for(const r in t.props)e+=`${r}:${String(t.props[r])},`;return nn(e)}function E1(t,e){return t instanceof Promise?t.then(e):e(t)}function ha(t,e,r,n){const a=n||ol(typeof e=="object"&&typeof e!="function"&&!(e instanceof Promise)?{...e}:{[t==="script"||t==="noscript"||t==="style"?"innerHTML":"textContent"]:e},t==="templateParams"||t==="titleTemplate");if(a instanceof Promise)return a.then(i=>ha(t,e,r,i));const s={tag:t,props:a};for(const i of il){const l=s.props[i]!==void 0?s.props[i]:r[i];l!==void 0&&((!(i==="innerHTML"||i==="textContent"||i==="children")||A1.has(s.tag))&&(s[i==="children"?"innerHTML":i]=l),delete s.props[i])}return s.props.body&&(s.tagPosition="bodyClose",delete s.props.body),s.tag==="script"&&typeof s.innerHTML=="object"&&(s.innerHTML=JSON.stringify(s.innerHTML),s.props.type=s.props.type||"application/json"),Array.isArray(s.props.content)?s.props.content.map(i=>({...s,props:{...s.props,content:i}})):s}function D1(t,e){var n;const r=t==="class"?" ":";";return e&&typeof e=="object"&&!Array.isArray(e)&&(e=Object.entries(e).filter(([,a])=>a).map(([a,s])=>t==="style"?`${a}:${s}`:a)),(n=String(Array.isArray(e)?e.join(r):e))==null?void 0:n.split(r).filter(a=>!!a.trim()).join(r)}function ll(t,e,r,n){for(let a=n;a(t[s]=i,ll(t,e,r,a)));if(!e&&!il.has(s)){const i=String(t[s]),l=s.startsWith("data-");i==="true"||i===""?t[s]=l?"true":!0:t[s]||(l&&i==="false"?t[s]="false":delete t[s])}}}function ol(t,e=!1){const r=ll(t,e,Object.keys(t),0);return r instanceof Promise?r.then(()=>t):t}const q1=10;function ul(t,e,r){for(let n=r;n(e[n]=s,ul(t,e,n)));Array.isArray(a)?t.push(...a):t.push(a)}}function B1(t){const e=[],r=t.resolvedInput;for(const a in r){if(!Object.prototype.hasOwnProperty.call(r,a))continue;const s=r[a];if(!(s===void 0||!C1.has(a))){if(Array.isArray(s)){for(const i of s)e.push(ha(a,i,t));continue}e.push(ha(a,s,t))}}if(e.length===0)return[];const n=[];return E1(ul(n,e,0),()=>n.map((a,s)=>(a._e=t._i,t.mode&&(a._m=t.mode),a._p=(t._i<{if(l===i0||!s.includes(l))return l;const u=R1(e,l.slice(1),n);return u!==void 0?u:l}).trim(),i&&(t.endsWith(i0)&&(t=t.slice(0,-i0.length)),t.startsWith(i0)&&(t=t.slice(i0.length)),t=t.replace(I1,r).trim()),t}function Is(t,e){return t==null?e||null:typeof t=="function"?t(e):t}async function H1(t,e={}){const r=e.document||t.resolvedOptions.document;if(!r||!t.dirty)return;const n={shouldRender:!0,tags:[]};if(await t.hooks.callHook("dom:beforeRender",n),!!n.shouldRender)return t._domUpdatePromise||(t._domUpdatePromise=new Promise(async a=>{var p;const s=(await t.resolveTags()).map(g=>({tag:g,id:Xr.has(g.tag)?ca(g):g.tag,shouldRender:!0}));let i=t._dom;if(!i){i={elMap:{htmlAttrs:r.documentElement,bodyAttrs:r.body}};const g=new Set;for(const w of["body","head"]){const A=(p=r[w])==null?void 0:p.children;for(const C of A){const E=C.tagName.toLowerCase();if(!Xr.has(E))continue;const _={tag:E,props:await ol(C.getAttributeNames().reduce((N,W)=>({...N,[W]:C.getAttribute(W)}),{})),innerHTML:C.innerHTML},L=cl(_);let k=L,M=1;for(;k&&g.has(k);)k=`${L}:${M++}`;k&&(_._d=k,g.add(k)),i.elMap[C.getAttribute("data-hid")||ca(_)]=C}}}i.pendingSideEffects={...i.sideEffects},i.sideEffects={};function l(g,w,A){const C=`${g}:${w}`;i.sideEffects[C]=A,delete i.pendingSideEffects[C]}function u({id:g,$el:w,tag:A}){const C=A.tag.endsWith("Attrs");if(i.elMap[g]=w,C||(A.textContent&&A.textContent!==w.textContent&&(w.textContent=A.textContent),A.innerHTML&&A.innerHTML!==w.innerHTML&&(w.innerHTML=A.innerHTML),l(g,"el",()=>{var E;(E=i.elMap[g])==null||E.remove(),delete i.elMap[g]})),A._eventHandlers)for(const E in A._eventHandlers)Object.prototype.hasOwnProperty.call(A._eventHandlers,E)&&w.getAttribute(`data-${E}`)!==""&&((A.tag==="bodyAttrs"?r.defaultView:w).addEventListener(E.substring(2),A._eventHandlers[E].bind(w)),w.setAttribute(`data-${E}`,""));for(const E in A.props){if(!Object.prototype.hasOwnProperty.call(A.props,E))continue;const _=A.props[E],L=`attr:${E}`;if(E==="class"){if(!_)continue;for(const k of _.split(" "))C&&l(g,`${L}:${k}`,()=>w.classList.remove(k)),!w.classList.contains(k)&&w.classList.add(k)}else if(E==="style"){if(!_)continue;for(const k of _.split(";")){const M=k.indexOf(":"),N=k.substring(0,M).trim(),W=k.substring(M+1).trim();l(g,`${L}:${N}`,()=>{w.style.removeProperty(N)}),w.style.setProperty(N,W)}}else w.getAttribute(E)!==_&&w.setAttribute(E,_===!0?"":String(_)),C&&l(g,L,()=>w.removeAttribute(E))}}const f=[],d={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const g of s){const{tag:w,shouldRender:A,id:C}=g;if(A){if(w.tag==="title"){r.title=w.textContent;continue}g.$el=g.$el||i.elMap[C],g.$el?u(g):Xr.has(w.tag)&&f.push(g)}}for(const g of f){const w=g.tag.tagPosition||"head";g.$el=r.createElement(g.tag.tag),u(g),d[w]=d[w]||r.createDocumentFragment(),d[w].appendChild(g.$el)}for(const g of s)await t.hooks.callHook("dom:renderTag",g,r,l);d.head&&r.head.appendChild(d.head),d.bodyOpen&&r.body.insertBefore(d.bodyOpen,r.body.firstChild),d.bodyClose&&r.body.appendChild(d.bodyClose);for(const g in i.pendingSideEffects)i.pendingSideEffects[g]();t._dom=i,await t.hooks.callHook("dom:rendered",{renders:s}),a()}).finally(()=>{t._domUpdatePromise=void 0,t.dirty=!1})),t._domUpdatePromise}function P1(t,e={}){const r=e.delayFn||(n=>setTimeout(n,10));return t._domDebouncedUpdatePromise=t._domDebouncedUpdatePromise||new Promise(n=>r(()=>H1(t,e).then(()=>{delete t._domDebouncedUpdatePromise,n()})))}function L1(t){return e=>{var n,a;const r=((a=(n=e.resolvedOptions.document)==null?void 0:n.head.querySelector('script[id="unhead:payload"]'))==null?void 0:a.innerHTML)||!1;return r&&e.push(JSON.parse(r)),{mode:"client",hooks:{"entries:updated":s=>{P1(s,t)}}}}}function fa(t,e={},r){for(const n in t){const a=t[n],s=r?`${r}:${n}`:n;typeof a=="object"&&a!==null?fa(a,e,s):typeof a=="function"&&(e[s]=a)}return e}const F1={run:t=>t()},$1=()=>F1,hl=typeof console.createTask<"u"?console.createTask:$1;function V1(t,e){const r=e.shift(),n=hl(r);return t.reduce((a,s)=>a.then(()=>n.run(()=>s(...e))),Promise.resolve())}function U1(t,e){const r=e.shift(),n=hl(r);return Promise.all(t.map(a=>n.run(()=>a(...e))))}function In(t,e){for(const r of[...t])r(e)}class W1{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,r,n={}){if(!e||typeof r!="function")return()=>{};const a=e;let s;for(;this._deprecatedHooks[e];)s=this._deprecatedHooks[e],e=s.to;if(s&&!n.allowDeprecated){let i=s.message;i||(i=`${a} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!r.name)try{Object.defineProperty(r,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(r),()=>{r&&(this.removeHook(e,r),r=void 0)}}hookOnce(e,r){let n,a=(...s)=>(typeof n=="function"&&n(),n=void 0,a=void 0,r(...s));return n=this.hook(e,a),n}removeHook(e,r){if(this._hooks[e]){const n=this._hooks[e].indexOf(r);n!==-1&&this._hooks[e].splice(n,1),this._hooks[e].length===0&&delete this._hooks[e]}}deprecateHook(e,r){this._deprecatedHooks[e]=typeof r=="string"?{to:r}:r;const n=this._hooks[e]||[];delete this._hooks[e];for(const a of n)this.hook(e,a)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const r in e)this.deprecateHook(r,e[r])}addHooks(e){const r=fa(e),n=Object.keys(r).map(a=>this.hook(a,r[a]));return()=>{for(const a of n.splice(0,n.length))a()}}removeHooks(e){const r=fa(e);for(const n in r)this.removeHook(n,r[n])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...r){return r.unshift(e),this.callHookWith(V1,e,...r)}callHookParallel(e,...r){return r.unshift(e),this.callHookWith(U1,e,...r)}callHookWith(e,r,...n){const a=this._before||this._after?{name:r,args:n,context:{}}:void 0;this._before&&In(this._before,a);const s=e(r in this._hooks?[...this._hooks[r]]:[],n);return s instanceof Promise?s.finally(()=>{this._after&&a&&In(this._after,a)}):(this._after&&a&&In(this._after,a),s)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const r=this._before.indexOf(e);r!==-1&&this._before.splice(r,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const r=this._after.indexOf(e);r!==-1&&this._after.splice(r,1)}}}}function G1(){return new W1}const j1=new Set(["templateParams","htmlAttrs","bodyAttrs"]),K1={hooks:{"tag:normalise":({tag:t})=>{t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),t.props.key&&(t.key=t.props.key,delete t.props.key);const e=cl(t);e&&!e.startsWith("meta:og:")&&!e.startsWith("meta:twitter:")&&delete t.key;const r=e||(t.key?`${t.tag}:${t.key}`:!1);r&&(t._d=r)},"tags:resolve":t=>{const e=Object.create(null);for(const n of t.tags){const a=(n.key?`${n.tag}:${n.key}`:n._d)||ca(n),s=e[a];if(s){let l=n==null?void 0:n.tagDuplicateStrategy;if(!l&&j1.has(n.tag)&&(l="merge"),l==="merge"){const u=s.props;u.style&&n.props.style&&(u.style[u.style.length-1]!==";"&&(u.style+=";"),n.props.style=`${u.style} ${n.props.style}`),u.class&&n.props.class?n.props.class=`${u.class} ${n.props.class}`:u.class&&(n.props.class=u.class),e[a].props={...u,...n.props};continue}else if(n._e===s._e){s._duped=s._duped||[],n._d=`${s._d}:${s._duped.length+1}`,s._duped.push(n);continue}else if(an(n)>an(s))continue}if(!(n.innerHTML||n.textContent||Object.keys(n.props).length!==0)&&Xr.has(n.tag)){delete e[a];continue}e[a]=n}const r=[];for(const n in e){const a=e[n],s=a._duped;r.push(a),s&&(delete a._duped,r.push(...s))}t.tags=r,t.tags=t.tags.filter(n=>!(n.tag==="meta"&&(n.props.name||n.props.property)&&!n.props.content))}}},X1=new Set(["script","link","bodyAttrs"]),Y1=t=>({hooks:{"tags:resolve":e=>{for(const r of e.tags){if(!X1.has(r.tag))continue;const n=r.props;for(const a in n){if(a[0]!=="o"||a[1]!=="n"||!Object.prototype.hasOwnProperty.call(n,a))continue;const s=n[a];typeof s=="function"&&(t.ssr&&Ns.has(a)?n[a]=`this.dataset.${a}fired = true`:delete n[a],r._eventHandlers=r._eventHandlers||{},r._eventHandlers[a]=s)}t.ssr&&r._eventHandlers&&(r.props.src||r.props.href)&&(r.key=r.key||nn(r.props.src||r.props.href))}},"dom:renderTag":({$el:e,tag:r})=>{var a,s;const n=e==null?void 0:e.dataset;if(n)for(const i in n){if(!i.endsWith("fired"))continue;const l=i.slice(0,-5);Ns.has(l)&&((s=(a=r._eventHandlers)==null?void 0:a[l])==null||s.call(e,new Event(l.substring(2))))}}}}),Z1=new Set(["link","style","script","noscript"]),J1={hooks:{"tag:normalise":({tag:t})=>{t.key&&Z1.has(t.tag)&&(t.props["data-hid"]=t._h=nn(t.key))}}},Q1={mode:"server",hooks:{"tags:beforeResolve":t=>{const e={};let r=!1;for(const n of t.tags)n._m!=="server"||n.tag!=="titleTemplate"&&n.tag!=="templateParams"&&n.tag!=="title"||(e[n.tag]=n.tag==="title"||n.tag==="titleTemplate"?n.textContent:n.props,r=!0);r&&t.tags.push({tag:"script",innerHTML:JSON.stringify(e),props:{id:"unhead:payload",type:"application/json"}})}}},eu={hooks:{"tags:resolve":t=>{var e;for(const r of t.tags)if(typeof r.tagPriority=="string")for(const{prefix:n,offset:a}of N1){if(!r.tagPriority.startsWith(n))continue;const s=r.tagPriority.substring(n.length),i=(e=t.tags.find(l=>l._d===s))==null?void 0:e._p;if(i!==void 0){r._p=i+a;break}}t.tags.sort((r,n)=>{const a=an(r),s=an(n);return as?1:r._p-n._p})}}},tu={meta:"content",link:"href",htmlAttrs:"lang"},ru=["innerHTML","textContent"],nu=t=>({hooks:{"tags:resolve":e=>{var i;const{tags:r}=e;let n;for(let l=0;ll.tag==="title"))==null?void 0:i.textContent)||"",a,s);for(const l of r){if(l.processTemplateParams===!1)continue;const u=tu[l.tag];if(u&&typeof l.props[u]=="string")l.props[u]=_r(l.props[u],a,s);else if(l.processTemplateParams||l.tag==="titleTemplate"||l.tag==="title")for(const f of ru)typeof l[f]=="string"&&(l[f]=_r(l[f],a,s,l.tag==="script"&&l.props.type.endsWith("json")))}t._templateParams=a,t._separator=s},"tags:afterResolve":({tags:e})=>{let r;for(let n=0;n{const{tags:e}=t;let r,n;for(let a=0;a{for(const e of t.tags)typeof e.innerHTML=="string"&&(e.innerHTML&&(e.props.type==="application/ld+json"||e.props.type==="application/json")?e.innerHTML=e.innerHTML.replace(/{l.dirty=!0,e.callHook("entries:updated",l)};let a=0,s=[];const i=[],l={plugins:i,dirty:!1,resolvedOptions:t,hooks:e,headEntries(){return s},use(u){const f=typeof u=="function"?u(l):u;(!f.key||!i.some(d=>d.key===f.key))&&(i.push(f),Hs(f.mode,r)&&e.addHooks(f.hooks||{}))},push(u,f){f==null||delete f.head;const d={_i:a++,input:u,...f};return Hs(d.mode,r)&&(s.push(d),n()),{dispose(){s=s.filter(p=>p._i!==d._i),n()},patch(p){for(const g of s)g._i===d._i&&(g.input=d.input=p);n()}}},async resolveTags(){const u={tags:[],entries:[...s]};await e.callHook("entries:resolve",u);for(const f of u.entries){const d=f.resolvedInput||f.input;if(f.resolvedInput=await(f.transform?f.transform(d):d),f.resolvedInput)for(const p of await B1(f)){const g={tag:p,entry:f,resolvedOptions:l.resolvedOptions};await e.callHook("tag:normalise",g),u.tags.push(g.tag)}}return await e.callHook("tags:beforeResolve",u),await e.callHook("tags:resolve",u),await e.callHook("tags:afterResolve",u),u.tags},ssr:r};return[K1,Q1,Y1,J1,eu,nu,au,su,...(t==null?void 0:t.plugins)||[]].forEach(u=>l.use(u)),l.hooks.callHook("init",l),l}/** +var T1=Object.defineProperty;var M1=(t,e,r)=>e in t?T1(t,e,{enumerable:!0,configurable:!0,writable:!0,value:r}):t[e]=r;var dt=(t,e,r)=>M1(t,typeof e!="symbol"?e+"":e,r);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const a of document.querySelectorAll('link[rel="modulepreload"]'))n(a);new MutationObserver(a=>{for(const s of a)if(s.type==="childList")for(const i of s.addedNodes)i.tagName==="LINK"&&i.rel==="modulepreload"&&n(i)}).observe(document,{childList:!0,subtree:!0});function r(a){const s={};return a.integrity&&(s.integrity=a.integrity),a.referrerPolicy&&(s.referrerPolicy=a.referrerPolicy),a.crossOrigin==="use-credentials"?s.credentials="include":a.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function n(a){if(a.ep)return;a.ep=!0;const s=r(a);fetch(a.href,s)}})();const A1=new Set(["title","titleTemplate","script","style","noscript"]),Yr=new Set(["base","meta","link","style","script","noscript"]),q1=new Set(["title","titleTemplate","templateParams","base","htmlAttrs","bodyAttrs","meta","link","style","script","noscript"]),z1=new Set(["base","title","titleTemplate","bodyAttrs","htmlAttrs","templateParams"]),il=new Set(["tagPosition","tagPriority","tagDuplicateStrategy","children","innerHTML","textContent","processTemplateParams"]),C1=typeof window<"u";function an(t){let e=9;for(let r=0;r>>9)+65536).toString(16).substring(1,8).toLowerCase()}function ha(t){if(t._h)return t._h;if(t._d)return an(t._d);let e=`${t.tag}:${t.textContent||t.innerHTML||""}:`;for(const r in t.props)e+=`${r}:${String(t.props[r])},`;return an(e)}function E1(t,e){return t instanceof Promise?t.then(e):e(t)}function fa(t,e,r,n){const a=n||ol(typeof e=="object"&&typeof e!="function"&&!(e instanceof Promise)?{...e}:{[t==="script"||t==="noscript"||t==="style"?"innerHTML":"textContent"]:e},t==="templateParams"||t==="titleTemplate");if(a instanceof Promise)return a.then(i=>fa(t,e,r,i));const s={tag:t,props:a};for(const i of il){const l=s.props[i]!==void 0?s.props[i]:r[i];l!==void 0&&((!(i==="innerHTML"||i==="textContent"||i==="children")||A1.has(s.tag))&&(s[i==="children"?"innerHTML":i]=l),delete s.props[i])}return s.props.body&&(s.tagPosition="bodyClose",delete s.props.body),s.tag==="script"&&typeof s.innerHTML=="object"&&(s.innerHTML=JSON.stringify(s.innerHTML),s.props.type=s.props.type||"application/json"),Array.isArray(s.props.content)?s.props.content.map(i=>({...s,props:{...s.props,content:i}})):s}function _1(t,e){var n;const r=t==="class"?" ":";";return e&&typeof e=="object"&&!Array.isArray(e)&&(e=Object.entries(e).filter(([,a])=>a).map(([a,s])=>t==="style"?`${a}:${s}`:a)),(n=String(Array.isArray(e)?e.join(r):e))==null?void 0:n.split(r).filter(a=>!!a.trim()).join(r)}function ll(t,e,r,n){for(let a=n;a(t[s]=i,ll(t,e,r,a)));if(!e&&!il.has(s)){const i=String(t[s]),l=s.startsWith("data-");i==="true"||i===""?t[s]=l?"true":!0:t[s]||(l&&i==="false"?t[s]="false":delete t[s])}}}function ol(t,e=!1){const r=ll(t,e,Object.keys(t),0);return r instanceof Promise?r.then(()=>t):t}const D1=10;function ul(t,e,r){for(let n=r;n(e[n]=s,ul(t,e,n)));Array.isArray(a)?t.push(...a):t.push(a)}}function B1(t){const e=[],r=t.resolvedInput;for(const a in r){if(!Object.prototype.hasOwnProperty.call(r,a))continue;const s=r[a];if(!(s===void 0||!q1.has(a))){if(Array.isArray(s)){for(const i of s)e.push(fa(a,i,t));continue}e.push(fa(a,s,t))}}if(e.length===0)return[];const n=[];return E1(ul(n,e,0),()=>n.map((a,s)=>(a._e=t._i,t.mode&&(a._m=t.mode),a._p=(t._i<{if(l===i0||!s.includes(l))return l;const u=R1(e,l.slice(1),n);return u!==void 0?u:l}).trim(),i&&(t.endsWith(i0)&&(t=t.slice(0,-i0.length)),t.startsWith(i0)&&(t=t.slice(i0.length)),t=t.replace(I1,r).trim()),t}function Is(t,e){return t==null?e||null:typeof t=="function"?t(e):t}async function P1(t,e={}){const r=e.document||t.resolvedOptions.document;if(!r||!t.dirty)return;const n={shouldRender:!0,tags:[]};if(await t.hooks.callHook("dom:beforeRender",n),!!n.shouldRender)return t._domUpdatePromise||(t._domUpdatePromise=new Promise(async a=>{var p;const s=(await t.resolveTags()).map(g=>({tag:g,id:Yr.has(g.tag)?ha(g):g.tag,shouldRender:!0}));let i=t._dom;if(!i){i={elMap:{htmlAttrs:r.documentElement,bodyAttrs:r.body}};const g=new Set;for(const w of["body","head"]){const A=(p=r[w])==null?void 0:p.children;for(const q of A){const E=q.tagName.toLowerCase();if(!Yr.has(E))continue;const C={tag:E,props:await ol(q.getAttributeNames().reduce((N,G)=>({...N,[G]:q.getAttribute(G)}),{})),innerHTML:q.innerHTML},L=cl(C);let S=L,M=1;for(;S&&g.has(S);)S=`${L}:${M++}`;S&&(C._d=S,g.add(S)),i.elMap[q.getAttribute("data-hid")||ha(C)]=q}}}i.pendingSideEffects={...i.sideEffects},i.sideEffects={};function l(g,w,A){const q=`${g}:${w}`;i.sideEffects[q]=A,delete i.pendingSideEffects[q]}function u({id:g,$el:w,tag:A}){const q=A.tag.endsWith("Attrs");if(i.elMap[g]=w,q||(A.textContent&&A.textContent!==w.textContent&&(w.textContent=A.textContent),A.innerHTML&&A.innerHTML!==w.innerHTML&&(w.innerHTML=A.innerHTML),l(g,"el",()=>{var E;(E=i.elMap[g])==null||E.remove(),delete i.elMap[g]})),A._eventHandlers)for(const E in A._eventHandlers)Object.prototype.hasOwnProperty.call(A._eventHandlers,E)&&w.getAttribute(`data-${E}`)!==""&&((A.tag==="bodyAttrs"?r.defaultView:w).addEventListener(E.substring(2),A._eventHandlers[E].bind(w)),w.setAttribute(`data-${E}`,""));for(const E in A.props){if(!Object.prototype.hasOwnProperty.call(A.props,E))continue;const C=A.props[E],L=`attr:${E}`;if(E==="class"){if(!C)continue;for(const S of C.split(" "))q&&l(g,`${L}:${S}`,()=>w.classList.remove(S)),!w.classList.contains(S)&&w.classList.add(S)}else if(E==="style"){if(!C)continue;for(const S of C.split(";")){const M=S.indexOf(":"),N=S.substring(0,M).trim(),G=S.substring(M+1).trim();l(g,`${L}:${N}`,()=>{w.style.removeProperty(N)}),w.style.setProperty(N,G)}}else w.getAttribute(E)!==C&&w.setAttribute(E,C===!0?"":String(C)),q&&l(g,L,()=>w.removeAttribute(E))}}const f=[],d={bodyClose:void 0,bodyOpen:void 0,head:void 0};for(const g of s){const{tag:w,shouldRender:A,id:q}=g;if(A){if(w.tag==="title"){r.title=w.textContent;continue}g.$el=g.$el||i.elMap[q],g.$el?u(g):Yr.has(w.tag)&&f.push(g)}}for(const g of f){const w=g.tag.tagPosition||"head";g.$el=r.createElement(g.tag.tag),u(g),d[w]=d[w]||r.createDocumentFragment(),d[w].appendChild(g.$el)}for(const g of s)await t.hooks.callHook("dom:renderTag",g,r,l);d.head&&r.head.appendChild(d.head),d.bodyOpen&&r.body.insertBefore(d.bodyOpen,r.body.firstChild),d.bodyClose&&r.body.appendChild(d.bodyClose);for(const g in i.pendingSideEffects)i.pendingSideEffects[g]();t._dom=i,await t.hooks.callHook("dom:rendered",{renders:s}),a()}).finally(()=>{t._domUpdatePromise=void 0,t.dirty=!1})),t._domUpdatePromise}function H1(t,e={}){const r=e.delayFn||(n=>setTimeout(n,10));return t._domDebouncedUpdatePromise=t._domDebouncedUpdatePromise||new Promise(n=>r(()=>P1(t,e).then(()=>{delete t._domDebouncedUpdatePromise,n()})))}function L1(t){return e=>{var n,a;const r=((a=(n=e.resolvedOptions.document)==null?void 0:n.head.querySelector('script[id="unhead:payload"]'))==null?void 0:a.innerHTML)||!1;return r&&e.push(JSON.parse(r)),{mode:"client",hooks:{"entries:updated":s=>{H1(s,t)}}}}}function da(t,e={},r){for(const n in t){const a=t[n],s=r?`${r}:${n}`:n;typeof a=="object"&&a!==null?da(a,e,s):typeof a=="function"&&(e[s]=a)}return e}const F1={run:t=>t()},$1=()=>F1,hl=typeof console.createTask<"u"?console.createTask:$1;function V1(t,e){const r=e.shift(),n=hl(r);return t.reduce((a,s)=>a.then(()=>n.run(()=>s(...e))),Promise.resolve())}function U1(t,e){const r=e.shift(),n=hl(r);return Promise.all(t.map(a=>n.run(()=>a(...e))))}function Pn(t,e){for(const r of[...t])r(e)}class G1{constructor(){this._hooks={},this._before=void 0,this._after=void 0,this._deprecatedMessages=void 0,this._deprecatedHooks={},this.hook=this.hook.bind(this),this.callHook=this.callHook.bind(this),this.callHookWith=this.callHookWith.bind(this)}hook(e,r,n={}){if(!e||typeof r!="function")return()=>{};const a=e;let s;for(;this._deprecatedHooks[e];)s=this._deprecatedHooks[e],e=s.to;if(s&&!n.allowDeprecated){let i=s.message;i||(i=`${a} hook has been deprecated`+(s.to?`, please use ${s.to}`:"")),this._deprecatedMessages||(this._deprecatedMessages=new Set),this._deprecatedMessages.has(i)||(console.warn(i),this._deprecatedMessages.add(i))}if(!r.name)try{Object.defineProperty(r,"name",{get:()=>"_"+e.replace(/\W+/g,"_")+"_hook_cb",configurable:!0})}catch{}return this._hooks[e]=this._hooks[e]||[],this._hooks[e].push(r),()=>{r&&(this.removeHook(e,r),r=void 0)}}hookOnce(e,r){let n,a=(...s)=>(typeof n=="function"&&n(),n=void 0,a=void 0,r(...s));return n=this.hook(e,a),n}removeHook(e,r){if(this._hooks[e]){const n=this._hooks[e].indexOf(r);n!==-1&&this._hooks[e].splice(n,1),this._hooks[e].length===0&&delete this._hooks[e]}}deprecateHook(e,r){this._deprecatedHooks[e]=typeof r=="string"?{to:r}:r;const n=this._hooks[e]||[];delete this._hooks[e];for(const a of n)this.hook(e,a)}deprecateHooks(e){Object.assign(this._deprecatedHooks,e);for(const r in e)this.deprecateHook(r,e[r])}addHooks(e){const r=da(e),n=Object.keys(r).map(a=>this.hook(a,r[a]));return()=>{for(const a of n.splice(0,n.length))a()}}removeHooks(e){const r=da(e);for(const n in r)this.removeHook(n,r[n])}removeAllHooks(){for(const e in this._hooks)delete this._hooks[e]}callHook(e,...r){return r.unshift(e),this.callHookWith(V1,e,...r)}callHookParallel(e,...r){return r.unshift(e),this.callHookWith(U1,e,...r)}callHookWith(e,r,...n){const a=this._before||this._after?{name:r,args:n,context:{}}:void 0;this._before&&Pn(this._before,a);const s=e(r in this._hooks?[...this._hooks[r]]:[],n);return s instanceof Promise?s.finally(()=>{this._after&&a&&Pn(this._after,a)}):(this._after&&a&&Pn(this._after,a),s)}beforeEach(e){return this._before=this._before||[],this._before.push(e),()=>{if(this._before!==void 0){const r=this._before.indexOf(e);r!==-1&&this._before.splice(r,1)}}}afterEach(e){return this._after=this._after||[],this._after.push(e),()=>{if(this._after!==void 0){const r=this._after.indexOf(e);r!==-1&&this._after.splice(r,1)}}}}function W1(){return new G1}const j1=new Set(["templateParams","htmlAttrs","bodyAttrs"]),K1={hooks:{"tag:normalise":({tag:t})=>{t.props.hid&&(t.key=t.props.hid,delete t.props.hid),t.props.vmid&&(t.key=t.props.vmid,delete t.props.vmid),t.props.key&&(t.key=t.props.key,delete t.props.key);const e=cl(t);e&&!e.startsWith("meta:og:")&&!e.startsWith("meta:twitter:")&&delete t.key;const r=e||(t.key?`${t.tag}:${t.key}`:!1);r&&(t._d=r)},"tags:resolve":t=>{const e=Object.create(null);for(const n of t.tags){const a=(n.key?`${n.tag}:${n.key}`:n._d)||ha(n),s=e[a];if(s){let l=n==null?void 0:n.tagDuplicateStrategy;if(!l&&j1.has(n.tag)&&(l="merge"),l==="merge"){const u=s.props;u.style&&n.props.style&&(u.style[u.style.length-1]!==";"&&(u.style+=";"),n.props.style=`${u.style} ${n.props.style}`),u.class&&n.props.class?n.props.class=`${u.class} ${n.props.class}`:u.class&&(n.props.class=u.class),e[a].props={...u,...n.props};continue}else if(n._e===s._e){s._duped=s._duped||[],n._d=`${s._d}:${s._duped.length+1}`,s._duped.push(n);continue}else if(sn(n)>sn(s))continue}if(!(n.innerHTML||n.textContent||Object.keys(n.props).length!==0)&&Yr.has(n.tag)){delete e[a];continue}e[a]=n}const r=[];for(const n in e){const a=e[n],s=a._duped;r.push(a),s&&(delete a._duped,r.push(...s))}t.tags=r,t.tags=t.tags.filter(n=>!(n.tag==="meta"&&(n.props.name||n.props.property)&&!n.props.content))}}},X1=new Set(["script","link","bodyAttrs"]),Y1=t=>({hooks:{"tags:resolve":e=>{for(const r of e.tags){if(!X1.has(r.tag))continue;const n=r.props;for(const a in n){if(a[0]!=="o"||a[1]!=="n"||!Object.prototype.hasOwnProperty.call(n,a))continue;const s=n[a];typeof s=="function"&&(t.ssr&&Ns.has(a)?n[a]=`this.dataset.${a}fired = true`:delete n[a],r._eventHandlers=r._eventHandlers||{},r._eventHandlers[a]=s)}t.ssr&&r._eventHandlers&&(r.props.src||r.props.href)&&(r.key=r.key||an(r.props.src||r.props.href))}},"dom:renderTag":({$el:e,tag:r})=>{var a,s;const n=e==null?void 0:e.dataset;if(n)for(const i in n){if(!i.endsWith("fired"))continue;const l=i.slice(0,-5);Ns.has(l)&&((s=(a=r._eventHandlers)==null?void 0:a[l])==null||s.call(e,new Event(l.substring(2))))}}}}),Z1=new Set(["link","style","script","noscript"]),J1={hooks:{"tag:normalise":({tag:t})=>{t.key&&Z1.has(t.tag)&&(t.props["data-hid"]=t._h=an(t.key))}}},Q1={mode:"server",hooks:{"tags:beforeResolve":t=>{const e={};let r=!1;for(const n of t.tags)n._m!=="server"||n.tag!=="titleTemplate"&&n.tag!=="templateParams"&&n.tag!=="title"||(e[n.tag]=n.tag==="title"||n.tag==="titleTemplate"?n.textContent:n.props,r=!0);r&&t.tags.push({tag:"script",innerHTML:JSON.stringify(e),props:{id:"unhead:payload",type:"application/json"}})}}},eu={hooks:{"tags:resolve":t=>{var e;for(const r of t.tags)if(typeof r.tagPriority=="string")for(const{prefix:n,offset:a}of N1){if(!r.tagPriority.startsWith(n))continue;const s=r.tagPriority.substring(n.length),i=(e=t.tags.find(l=>l._d===s))==null?void 0:e._p;if(i!==void 0){r._p=i+a;break}}t.tags.sort((r,n)=>{const a=sn(r),s=sn(n);return as?1:r._p-n._p})}}},tu={meta:"content",link:"href",htmlAttrs:"lang"},ru=["innerHTML","textContent"],nu=t=>({hooks:{"tags:resolve":e=>{var i;const{tags:r}=e;let n;for(let l=0;ll.tag==="title"))==null?void 0:i.textContent)||"",a,s);for(const l of r){if(l.processTemplateParams===!1)continue;const u=tu[l.tag];if(u&&typeof l.props[u]=="string")l.props[u]=Er(l.props[u],a,s);else if(l.processTemplateParams||l.tag==="titleTemplate"||l.tag==="title")for(const f of ru)typeof l[f]=="string"&&(l[f]=Er(l[f],a,s,l.tag==="script"&&l.props.type.endsWith("json")))}t._templateParams=a,t._separator=s},"tags:afterResolve":({tags:e})=>{let r;for(let n=0;n{const{tags:e}=t;let r,n;for(let a=0;a{for(const e of t.tags)typeof e.innerHTML=="string"&&(e.innerHTML&&(e.props.type==="application/ld+json"||e.props.type==="application/json")?e.innerHTML=e.innerHTML.replace(/{l.dirty=!0,e.callHook("entries:updated",l)};let a=0,s=[];const i=[],l={plugins:i,dirty:!1,resolvedOptions:t,hooks:e,headEntries(){return s},use(u){const f=typeof u=="function"?u(l):u;(!f.key||!i.some(d=>d.key===f.key))&&(i.push(f),Ps(f.mode,r)&&e.addHooks(f.hooks||{}))},push(u,f){f==null||delete f.head;const d={_i:a++,input:u,...f};return Ps(d.mode,r)&&(s.push(d),n()),{dispose(){s=s.filter(p=>p._i!==d._i),n()},patch(p){for(const g of s)g._i===d._i&&(g.input=d.input=p);n()}}},async resolveTags(){const u={tags:[],entries:[...s]};await e.callHook("entries:resolve",u);for(const f of u.entries){const d=f.resolvedInput||f.input;if(f.resolvedInput=await(f.transform?f.transform(d):d),f.resolvedInput)for(const p of await B1(f)){const g={tag:p,entry:f,resolvedOptions:l.resolvedOptions};await e.callHook("tag:normalise",g),u.tags.push(g.tag)}}return await e.callHook("tags:beforeResolve",u),await e.callHook("tags:resolve",u),await e.callHook("tags:afterResolve",u),u.tags},ssr:r};return[K1,Q1,Y1,J1,eu,nu,au,su,...(t==null?void 0:t.plugins)||[]].forEach(u=>l.use(u)),l.hooks.callHook("init",l),l}/** * @vue/shared v3.5.4 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**//*! #__NO_SIDE_EFFECTS__ */function Fa(t){const e=Object.create(null);for(const r of t.split(","))e[r]=1;return r=>r in e}const ke={},O0=[],Nt=()=>{},ou=()=>!1,Sr=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),$a=t=>t.startsWith("onUpdate:"),Le=Object.assign,Va=(t,e)=>{const r=t.indexOf(e);r>-1&&t.splice(r,1)},uu=Object.prototype.hasOwnProperty,ve=(t,e)=>uu.call(t,e),ie=Array.isArray,R0=t=>kr(t)==="[object Map]",bn=t=>kr(t)==="[object Set]",Ps=t=>kr(t)==="[object Date]",ue=t=>typeof t=="function",He=t=>typeof t=="string",Rt=t=>typeof t=="symbol",ze=t=>t!==null&&typeof t=="object",fl=t=>(ze(t)||ue(t))&&ue(t.then)&&ue(t.catch),dl=Object.prototype.toString,kr=t=>dl.call(t),cu=t=>kr(t).slice(8,-1),ml=t=>kr(t)==="[object Object]",Ua=t=>He(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,I0=Fa(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),yn=t=>{const e=Object.create(null);return r=>e[r]||(e[r]=t(r))},hu=/-(\w)/g,Ct=yn(t=>t.replace(hu,(e,r)=>r?r.toUpperCase():"")),fu=/\B([A-Z])/g,z0=yn(t=>t.replace(fu,"-$1").toLowerCase()),wn=yn(t=>t.charAt(0).toUpperCase()+t.slice(1)),Hn=yn(t=>t?`on${wn(t)}`:""),c0=(t,e)=>!Object.is(t,e),Yr=(t,...e)=>{for(let r=0;r{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:r})},da=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let Ls;const gl=()=>Ls||(Ls=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Wa(t){if(ie(t)){const e={};for(let r=0;r{if(r){const n=r.split(mu);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function xn(t){let e="";if(He(t))e=t;else if(ie(t))for(let r=0;rSn(r,e))}const yl=t=>!!(t&&t.__v_isRef===!0),Ga=t=>He(t)?t:t==null?"":ie(t)||ze(t)&&(t.toString===dl||!ue(t.toString))?yl(t)?Ga(t.value):JSON.stringify(t,wl,2):String(t),wl=(t,e)=>yl(e)?wl(t,e.value):R0(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((r,[n,a],s)=>(r[Pn(n,s)+" =>"]=a,r),{})}:bn(e)?{[`Set(${e.size})`]:[...e.values()].map(r=>Pn(r))}:Rt(e)?Pn(e):ze(e)&&!ie(e)&&!ml(e)?String(e):e,Pn=(t,e="")=>{var r;return Rt(t)?`Symbol(${(r=t.description)!=null?r:e})`:t};/** +**//*! #__NO_SIDE_EFFECTS__ */function Fa(t){const e=Object.create(null);for(const r of t.split(","))e[r]=1;return r=>r in e}const Se={},O0=[],Nt=()=>{},ou=()=>!1,Sr=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),$a=t=>t.startsWith("onUpdate:"),Le=Object.assign,Va=(t,e)=>{const r=t.indexOf(e);r>-1&&t.splice(r,1)},uu=Object.prototype.hasOwnProperty,ve=(t,e)=>uu.call(t,e),ie=Array.isArray,R0=t=>Tr(t)==="[object Map]",yn=t=>Tr(t)==="[object Set]",Hs=t=>Tr(t)==="[object Date]",ue=t=>typeof t=="function",Pe=t=>typeof t=="string",Rt=t=>typeof t=="symbol",ze=t=>t!==null&&typeof t=="object",fl=t=>(ze(t)||ue(t))&&ue(t.then)&&ue(t.catch),dl=Object.prototype.toString,Tr=t=>dl.call(t),cu=t=>Tr(t).slice(8,-1),ml=t=>Tr(t)==="[object Object]",Ua=t=>Pe(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,I0=Fa(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),wn=t=>{const e=Object.create(null);return r=>e[r]||(e[r]=t(r))},hu=/-(\w)/g,qt=wn(t=>t.replace(hu,(e,r)=>r?r.toUpperCase():"")),fu=/\B([A-Z])/g,z0=wn(t=>t.replace(fu,"-$1").toLowerCase()),xn=wn(t=>t.charAt(0).toUpperCase()+t.slice(1)),Hn=wn(t=>t?`on${xn(t)}`:""),c0=(t,e)=>!Object.is(t,e),Zr=(t,...e)=>{for(let r=0;r{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:n,value:r})},ma=t=>{const e=parseFloat(t);return isNaN(e)?t:e};let Ls;const gl=()=>Ls||(Ls=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Ga(t){if(ie(t)){const e={};for(let r=0;r{if(r){const n=r.split(mu);n.length>1&&(e[n[0].trim()]=n[1].trim())}}),e}function kn(t){let e="";if(Pe(t))e=t;else if(ie(t))for(let r=0;rSn(r,e))}const yl=t=>!!(t&&t.__v_isRef===!0),Wa=t=>Pe(t)?t:t==null?"":ie(t)||ze(t)&&(t.toString===dl||!ue(t.toString))?yl(t)?Wa(t.value):JSON.stringify(t,wl,2):String(t),wl=(t,e)=>yl(e)?wl(t,e.value):R0(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((r,[n,a],s)=>(r[Ln(n,s)+" =>"]=a,r),{})}:yn(e)?{[`Set(${e.size})`]:[...e.values()].map(r=>Ln(r))}:Rt(e)?Ln(e):ze(e)&&!ie(e)&&!ml(e)?String(e):e,Ln=(t,e="")=>{var r;return Rt(t)?`Symbol(${(r=t.description)!=null?r:e})`:t};/** * @vue/reactivity v3.5.4 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let ot;class wu{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ot,!e&&ot&&(this.index=(ot.scopes||(ot.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,r;if(this.scopes)for(e=0,r=this.scopes.length;e0)return;let t;for(;ir;){let e=ir;for(ir=void 0;e;){const r=e.nextEffect;if(e.nextEffect=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(n){t||(t=n)}e=r}}if(t)throw t}function kl(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function Tl(t){let e,r=t.depsTail;for(let n=r;n;n=n.prevDep)n.version===-1?(n===r&&(r=n.prevDep),Xa(n),Su(n)):e=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0;t.deps=e,t.depsTail=r}function ma(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&Ml(e.dep.computed)||e.dep.version!==e.version)return!0;return!!t._dirty}function Ml(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===pr))return;t.globalVersion=pr;const e=t.dep;if(t.flags|=2,e.version>0&&!t.isSSR&&!ma(t)){t.flags&=-3;return}const r=xe,n=Mt;xe=t,Mt=!0;try{kl(t);const a=t.fn(t._value);(e.version===0||c0(a,t._value))&&(t._value=a,e.version++)}catch(a){throw e.version++,a}finally{xe=r,Mt=n,Tl(t),t.flags&=-3}}function Xa(t){const{dep:e,prevSub:r,nextSub:n}=t;if(r&&(r.nextSub=n,t.prevSub=void 0),n&&(n.prevSub=r,t.nextSub=void 0),e.subs===t&&(e.subs=r),!e.subs&&e.computed){e.computed.flags&=-5;for(let a=e.computed.deps;a;a=a.nextDep)Xa(a)}}function Su(t){const{prevDep:e,nextDep:r}=t;e&&(e.nextDep=r,t.prevDep=void 0),r&&(r.prevDep=e,t.nextDep=void 0)}let Mt=!0;const Al=[];function p0(){Al.push(Mt),Mt=!1}function g0(){const t=Al.pop();Mt=t===void 0?!0:t}function Fs(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const r=xe;xe=void 0;try{e()}finally{xe=r}}}let pr=0;class Ya{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0}track(e){if(!xe||!Mt||xe===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==xe)r=this.activeLink={dep:this,sub:xe,version:this.version,nextDep:void 0,prevDep:void 0,nextSub:void 0,prevSub:void 0,prevActiveLink:void 0},xe.deps?(r.prevDep=xe.depsTail,xe.depsTail.nextDep=r,xe.depsTail=r):xe.deps=xe.depsTail=r,xe.flags&4&&Cl(r);else if(r.version===-1&&(r.version=this.version,r.nextDep)){const n=r.nextDep;n.prevDep=r.prevDep,r.prevDep&&(r.prevDep.nextDep=n),r.prevDep=xe.depsTail,r.nextDep=void 0,xe.depsTail.nextDep=r,xe.depsTail=r,xe.deps===r&&(xe.deps=n)}return r}trigger(e){this.version++,pr++,this.notify(e)}notify(e){ja();try{for(let r=this.subs;r;r=r.prevSub)r.sub.notify()}finally{Ka()}}}function Cl(t){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let n=e.deps;n;n=n.nextDep)Cl(n)}const r=t.dep.subs;r!==t&&(t.prevSub=r,r&&(r.nextSub=t)),t.dep.subs=t}const pa=new WeakMap,T0=Symbol(""),ga=Symbol(""),gr=Symbol("");function We(t,e,r){if(Mt&&xe){let n=pa.get(t);n||pa.set(t,n=new Map);let a=n.get(r);a||n.set(r,a=new Ya),a.track()}}function Gt(t,e,r,n,a,s){const i=pa.get(t);if(!i){pr++;return}const l=u=>{u&&u.trigger()};if(ja(),e==="clear")i.forEach(l);else{const u=ie(t),f=u&&Ua(r);if(u&&r==="length"){const d=Number(n);i.forEach((p,g)=>{(g==="length"||g===gr||!Rt(g)&&g>=d)&&l(p)})}else switch(r!==void 0&&l(i.get(r)),f&&l(i.get(gr)),e){case"add":u?f&&l(i.get("length")):(l(i.get(T0)),R0(t)&&l(i.get(ga)));break;case"delete":u||(l(i.get(T0)),R0(t)&&l(i.get(ga)));break;case"set":R0(t)&&l(i.get(T0));break}}Ka()}function E0(t){const e=be(t);return e===t?e:(We(e,"iterate",gr),At(t)?e:e.map(Ye))}function Za(t){return We(t=be(t),"iterate",gr),t}const ku={__proto__:null,[Symbol.iterator](){return Fn(this,Symbol.iterator,Ye)},concat(...t){return E0(this).concat(...t.map(e=>ie(e)?E0(e):e))},entries(){return Fn(this,"entries",t=>(t[1]=Ye(t[1]),t))},every(t,e){return Ft(this,"every",t,e,void 0,arguments)},filter(t,e){return Ft(this,"filter",t,e,r=>r.map(Ye),arguments)},find(t,e){return Ft(this,"find",t,e,Ye,arguments)},findIndex(t,e){return Ft(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return Ft(this,"findLast",t,e,Ye,arguments)},findLastIndex(t,e){return Ft(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return Ft(this,"forEach",t,e,void 0,arguments)},includes(...t){return $n(this,"includes",t)},indexOf(...t){return $n(this,"indexOf",t)},join(t){return E0(this).join(t)},lastIndexOf(...t){return $n(this,"lastIndexOf",t)},map(t,e){return Ft(this,"map",t,e,void 0,arguments)},pop(){return er(this,"pop")},push(...t){return er(this,"push",t)},reduce(t,...e){return $s(this,"reduce",t,e)},reduceRight(t,...e){return $s(this,"reduceRight",t,e)},shift(){return er(this,"shift")},some(t,e){return Ft(this,"some",t,e,void 0,arguments)},splice(...t){return er(this,"splice",t)},toReversed(){return E0(this).toReversed()},toSorted(t){return E0(this).toSorted(t)},toSpliced(...t){return E0(this).toSpliced(...t)},unshift(...t){return er(this,"unshift",t)},values(){return Fn(this,"values",Ye)}};function Fn(t,e,r){const n=Za(t),a=n[e]();return n!==t&&!At(t)&&(a._next=a.next,a.next=()=>{const s=a._next();return s.value&&(s.value=r(s.value)),s}),a}const Tu=Array.prototype;function Ft(t,e,r,n,a,s){const i=Za(t),l=i!==t&&!At(t),u=i[e];if(u!==Tu[e]){const p=u.apply(t,s);return l?Ye(p):p}let f=r;i!==t&&(l?f=function(p,g){return r.call(this,Ye(p),g,t)}:r.length>2&&(f=function(p,g){return r.call(this,p,g,t)}));const d=u.call(i,f,n);return l&&a?a(d):d}function $s(t,e,r,n){const a=Za(t);let s=r;return a!==t&&(At(t)?r.length>3&&(s=function(i,l,u){return r.call(this,i,l,u,t)}):s=function(i,l,u){return r.call(this,i,Ye(l),u,t)}),a[e](s,...n)}function $n(t,e,r){const n=be(t);We(n,"iterate",gr);const a=n[e](...r);return(a===-1||a===!1)&&rs(r[0])?(r[0]=be(r[0]),n[e](...r)):a}function er(t,e,r=[]){p0(),ja();const n=be(t)[e].apply(t,r);return Ka(),g0(),n}const Mu=Fa("__proto__,__v_isRef,__isVue"),zl=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Rt));function Au(t){Rt(t)||(t=String(t));const e=be(this);return We(e,"has",t),e.hasOwnProperty(t)}class _l{constructor(e=!1,r=!1){this._isReadonly=e,this._isShallow=r}get(e,r,n){const a=this._isReadonly,s=this._isShallow;if(r==="__v_isReactive")return!a;if(r==="__v_isReadonly")return a;if(r==="__v_isShallow")return s;if(r==="__v_raw")return n===(a?s?Pu:Bl:s?ql:Dl).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=ie(e);if(!a){let u;if(i&&(u=ku[r]))return u;if(r==="hasOwnProperty")return Au}const l=Reflect.get(e,r,Ue(e)?e:n);return(Rt(r)?zl.has(r):Mu(r))||(a||We(e,"get",r),s)?l:Ue(l)?i&&Ua(r)?l:l.value:ze(l)?a?Nl(l):es(l):l}}class El extends _l{constructor(e=!1){super(!1,e)}set(e,r,n,a){let s=e[r];if(!this._isShallow){const u=C0(s);if(!At(n)&&!C0(n)&&(s=be(s),n=be(n)),!ie(e)&&Ue(s)&&!Ue(n))return u?!1:(s.value=n,!0)}const i=ie(e)&&Ua(r)?Number(r)t,kn=t=>Reflect.getPrototypeOf(t);function Er(t,e,r=!1,n=!1){t=t.__v_raw;const a=be(t),s=be(e);r||(c0(e,s)&&We(a,"get",e),We(a,"get",s));const{has:i}=kn(a),l=n?Ja:r?ns:Ye;if(i.call(a,e))return l(t.get(e));if(i.call(a,s))return l(t.get(s));t!==a&&t.get(e)}function Dr(t,e=!1){const r=this.__v_raw,n=be(r),a=be(t);return e||(c0(t,a)&&We(n,"has",t),We(n,"has",a)),t===a?r.has(t):r.has(t)||r.has(a)}function qr(t,e=!1){return t=t.__v_raw,!e&&We(be(t),"iterate",T0),Reflect.get(t,"size",t)}function Vs(t,e=!1){!e&&!At(t)&&!C0(t)&&(t=be(t));const r=be(this);return kn(r).has.call(r,t)||(r.add(t),Gt(r,"add",t,t)),this}function Us(t,e,r=!1){!r&&!At(e)&&!C0(e)&&(e=be(e));const n=be(this),{has:a,get:s}=kn(n);let i=a.call(n,t);i||(t=be(t),i=a.call(n,t));const l=s.call(n,t);return n.set(t,e),i?c0(e,l)&&Gt(n,"set",t,e):Gt(n,"add",t,e),this}function Ws(t){const e=be(this),{has:r,get:n}=kn(e);let a=r.call(e,t);a||(t=be(t),a=r.call(e,t)),n&&n.call(e,t);const s=e.delete(t);return a&&Gt(e,"delete",t,void 0),s}function Gs(){const t=be(this),e=t.size!==0,r=t.clear();return e&&Gt(t,"clear",void 0,void 0),r}function Br(t,e){return function(n,a){const s=this,i=s.__v_raw,l=be(i),u=e?Ja:t?ns:Ye;return!t&&We(l,"iterate",T0),i.forEach((f,d)=>n.call(a,u(f),u(d),s))}}function Nr(t,e,r){return function(...n){const a=this.__v_raw,s=be(a),i=R0(s),l=t==="entries"||t===Symbol.iterator&&i,u=t==="keys"&&i,f=a[t](...n),d=r?Ja:e?ns:Ye;return!e&&We(s,"iterate",u?ga:T0),{next(){const{value:p,done:g}=f.next();return g?{value:p,done:g}:{value:l?[d(p[0]),d(p[1])]:d(p),done:g}},[Symbol.iterator](){return this}}}}function n0(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function Du(){const t={get(s){return Er(this,s)},get size(){return qr(this)},has:Dr,add:Vs,set:Us,delete:Ws,clear:Gs,forEach:Br(!1,!1)},e={get(s){return Er(this,s,!1,!0)},get size(){return qr(this)},has:Dr,add(s){return Vs.call(this,s,!0)},set(s,i){return Us.call(this,s,i,!0)},delete:Ws,clear:Gs,forEach:Br(!1,!0)},r={get(s){return Er(this,s,!0)},get size(){return qr(this,!0)},has(s){return Dr.call(this,s,!0)},add:n0("add"),set:n0("set"),delete:n0("delete"),clear:n0("clear"),forEach:Br(!0,!1)},n={get(s){return Er(this,s,!0,!0)},get size(){return qr(this,!0)},has(s){return Dr.call(this,s,!0)},add:n0("add"),set:n0("set"),delete:n0("delete"),clear:n0("clear"),forEach:Br(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{t[s]=Nr(s,!1,!1),r[s]=Nr(s,!0,!1),e[s]=Nr(s,!1,!0),n[s]=Nr(s,!0,!0)}),[t,r,e,n]}const[qu,Bu,Nu,Ou]=Du();function Qa(t,e){const r=e?t?Ou:Nu:t?Bu:qu;return(n,a,s)=>a==="__v_isReactive"?!t:a==="__v_isReadonly"?t:a==="__v_raw"?n:Reflect.get(ve(r,a)&&a in n?r:n,a,s)}const Ru={get:Qa(!1,!1)},Iu={get:Qa(!1,!0)},Hu={get:Qa(!0,!1)};const Dl=new WeakMap,ql=new WeakMap,Bl=new WeakMap,Pu=new WeakMap;function Lu(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Fu(t){return t.__v_skip||!Object.isExtensible(t)?0:Lu(cu(t))}function es(t){return C0(t)?t:ts(t,!1,zu,Ru,Dl)}function $u(t){return ts(t,!1,Eu,Iu,ql)}function Nl(t){return ts(t,!0,_u,Hu,Bl)}function ts(t,e,r,n,a){if(!ze(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const s=a.get(t);if(s)return s;const i=Fu(t);if(i===0)return t;const l=new Proxy(t,i===2?n:r);return a.set(t,l),l}function H0(t){return C0(t)?H0(t.__v_raw):!!(t&&t.__v_isReactive)}function C0(t){return!!(t&&t.__v_isReadonly)}function At(t){return!!(t&&t.__v_isShallow)}function rs(t){return t?!!t.__v_raw:!1}function be(t){const e=t&&t.__v_raw;return e?be(e):t}function Vu(t){return!ve(t,"__v_skip")&&Object.isExtensible(t)&&pl(t,"__v_skip",!0),t}const Ye=t=>ze(t)?es(t):t,ns=t=>ze(t)?Nl(t):t;function Ue(t){return t?t.__v_isRef===!0:!1}function B0(t){return Uu(t,!1)}function Uu(t,e){return Ue(t)?t:new Wu(t,e)}class Wu{constructor(e,r){this.dep=new Ya,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=r?e:be(e),this._value=r?e:Ye(e),this.__v_isShallow=r}get value(){return this.dep.track(),this._value}set value(e){const r=this._rawValue,n=this.__v_isShallow||At(e)||C0(e);e=n?e:be(e),c0(e,r)&&(this._rawValue=e,this._value=n?e:Ye(e),this.dep.trigger())}}function Tn(t){return Ue(t)?t.value:t}const Gu={get:(t,e,r)=>e==="__v_raw"?t:Tn(Reflect.get(t,e,r)),set:(t,e,r,n)=>{const a=t[e];return Ue(a)&&!Ue(r)?(a.value=r,!0):Reflect.set(t,e,r,n)}};function Ol(t){return H0(t)?t:new Proxy(t,Gu)}class ju{constructor(e,r,n){this.fn=e,this.setter=r,this._value=void 0,this.dep=new Ya(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=pr-1,this.effect=this,this.__v_isReadonly=!r,this.isSSR=n}notify(){this.flags|=16,xe!==this&&this.dep.notify()}get value(){const e=this.dep.track();return Ml(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Ku(t,e,r=!1){let n,a;return ue(t)?n=t:(n=t.get,a=t.set),new ju(n,a,r)}const Or={},sn=new WeakMap;let S0;function Xu(t,e=!1,r=S0){if(r){let n=sn.get(r);n||sn.set(r,n=[]),n.push(t)}}function Yu(t,e,r=ke){const{immediate:n,deep:a,once:s,scheduler:i,augmentJob:l,call:u}=r,f=M=>a?M:At(M)||a===!1||a===0?Wt(M,1):Wt(M);let d,p,g,w,A=!1,C=!1;if(Ue(t)?(p=()=>t.value,A=At(t)):H0(t)?(p=()=>f(t),A=!0):ie(t)?(C=!0,A=t.some(M=>H0(M)||At(M)),p=()=>t.map(M=>{if(Ue(M))return M.value;if(H0(M))return f(M);if(ue(M))return u?u(M,2):M()})):ue(t)?e?p=u?()=>u(t,2):t:p=()=>{if(g){p0();try{g()}finally{g0()}}const M=S0;S0=d;try{return u?u(t,3,[w]):t(w)}finally{S0=M}}:p=Nt,e&&a){const M=p,N=a===!0?1/0:a;p=()=>Wt(M(),N)}const E=xu(),_=()=>{d.stop(),E&&Va(E.effects,d)};if(s)if(e){const M=e;e=(...N)=>{M(...N),_()}}else{const M=p;p=()=>{M(),_()}}let L=C?new Array(t.length).fill(Or):Or;const k=M=>{if(!(!(d.flags&1)||!d.dirty&&!M))if(e){const N=d.run();if(a||A||(C?N.some((W,G)=>c0(W,L[G])):c0(N,L))){g&&g();const W=S0;S0=d;try{const G=[N,L===Or?void 0:C&&L[0]===Or?[]:L,w];u?u(e,3,G):e(...G),L=N}finally{S0=W}}}else d.run()};return l&&l(k),d=new xl(p),d.scheduler=i?()=>i(k,!1):k,w=M=>Xu(M,!1,d),g=d.onStop=()=>{const M=sn.get(d);if(M){if(u)u(M,4);else for(const N of M)N();sn.delete(d)}},e?n?k(!0):L=d.run():i?i(k.bind(null,!0),!0):d.run(),_.pause=d.pause.bind(d),_.resume=d.resume.bind(d),_.stop=_,_}function Wt(t,e=1/0,r){if(e<=0||!ze(t)||t.__v_skip||(r=r||new Set,r.has(t)))return t;if(r.add(t),e--,Ue(t))Wt(t.value,e,r);else if(ie(t))for(let n=0;n{Wt(n,e,r)});else if(ml(t)){for(const n in t)Wt(t[n],e,r);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&Wt(t[n],e,r)}return t}/** +**/let ot;class wu{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=ot,!e&&ot&&(this.index=(ot.scopes||(ot.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,r;if(this.scopes)for(e=0,r=this.scopes.length;e0)return;let t;for(;ir;){let e=ir;for(ir=void 0;e;){const r=e.nextEffect;if(e.nextEffect=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(n){t||(t=n)}e=r}}if(t)throw t}function Sl(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function Tl(t){let e,r=t.depsTail;for(let n=r;n;n=n.prevDep)n.version===-1?(n===r&&(r=n.prevDep),Xa(n),ku(n)):e=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0;t.deps=e,t.depsTail=r}function pa(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&Ml(e.dep.computed)||e.dep.version!==e.version)return!0;return!!t._dirty}function Ml(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===pr))return;t.globalVersion=pr;const e=t.dep;if(t.flags|=2,e.version>0&&!t.isSSR&&!pa(t)){t.flags&=-3;return}const r=xe,n=Mt;xe=t,Mt=!0;try{Sl(t);const a=t.fn(t._value);(e.version===0||c0(a,t._value))&&(t._value=a,e.version++)}catch(a){throw e.version++,a}finally{xe=r,Mt=n,Tl(t),t.flags&=-3}}function Xa(t){const{dep:e,prevSub:r,nextSub:n}=t;if(r&&(r.nextSub=n,t.prevSub=void 0),n&&(n.prevSub=r,t.nextSub=void 0),e.subs===t&&(e.subs=r),!e.subs&&e.computed){e.computed.flags&=-5;for(let a=e.computed.deps;a;a=a.nextDep)Xa(a)}}function ku(t){const{prevDep:e,nextDep:r}=t;e&&(e.nextDep=r,t.prevDep=void 0),r&&(r.prevDep=e,t.nextDep=void 0)}let Mt=!0;const Al=[];function p0(){Al.push(Mt),Mt=!1}function g0(){const t=Al.pop();Mt=t===void 0?!0:t}function Fs(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const r=xe;xe=void 0;try{e()}finally{xe=r}}}let pr=0;class Ya{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0}track(e){if(!xe||!Mt||xe===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==xe)r=this.activeLink={dep:this,sub:xe,version:this.version,nextDep:void 0,prevDep:void 0,nextSub:void 0,prevSub:void 0,prevActiveLink:void 0},xe.deps?(r.prevDep=xe.depsTail,xe.depsTail.nextDep=r,xe.depsTail=r):xe.deps=xe.depsTail=r,xe.flags&4&&ql(r);else if(r.version===-1&&(r.version=this.version,r.nextDep)){const n=r.nextDep;n.prevDep=r.prevDep,r.prevDep&&(r.prevDep.nextDep=n),r.prevDep=xe.depsTail,r.nextDep=void 0,xe.depsTail.nextDep=r,xe.depsTail=r,xe.deps===r&&(xe.deps=n)}return r}trigger(e){this.version++,pr++,this.notify(e)}notify(e){ja();try{for(let r=this.subs;r;r=r.prevSub)r.sub.notify()}finally{Ka()}}}function ql(t){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let n=e.deps;n;n=n.nextDep)ql(n)}const r=t.dep.subs;r!==t&&(t.prevSub=r,r&&(r.nextSub=t)),t.dep.subs=t}const ga=new WeakMap,T0=Symbol(""),va=Symbol(""),gr=Symbol("");function Ge(t,e,r){if(Mt&&xe){let n=ga.get(t);n||ga.set(t,n=new Map);let a=n.get(r);a||n.set(r,a=new Ya),a.track()}}function Wt(t,e,r,n,a,s){const i=ga.get(t);if(!i){pr++;return}const l=u=>{u&&u.trigger()};if(ja(),e==="clear")i.forEach(l);else{const u=ie(t),f=u&&Ua(r);if(u&&r==="length"){const d=Number(n);i.forEach((p,g)=>{(g==="length"||g===gr||!Rt(g)&&g>=d)&&l(p)})}else switch(r!==void 0&&l(i.get(r)),f&&l(i.get(gr)),e){case"add":u?f&&l(i.get("length")):(l(i.get(T0)),R0(t)&&l(i.get(va)));break;case"delete":u||(l(i.get(T0)),R0(t)&&l(i.get(va)));break;case"set":R0(t)&&l(i.get(T0));break}}Ka()}function E0(t){const e=be(t);return e===t?e:(Ge(e,"iterate",gr),At(t)?e:e.map(Ye))}function Za(t){return Ge(t=be(t),"iterate",gr),t}const Su={__proto__:null,[Symbol.iterator](){return $n(this,Symbol.iterator,Ye)},concat(...t){return E0(this).concat(...t.map(e=>ie(e)?E0(e):e))},entries(){return $n(this,"entries",t=>(t[1]=Ye(t[1]),t))},every(t,e){return Ft(this,"every",t,e,void 0,arguments)},filter(t,e){return Ft(this,"filter",t,e,r=>r.map(Ye),arguments)},find(t,e){return Ft(this,"find",t,e,Ye,arguments)},findIndex(t,e){return Ft(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return Ft(this,"findLast",t,e,Ye,arguments)},findLastIndex(t,e){return Ft(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return Ft(this,"forEach",t,e,void 0,arguments)},includes(...t){return Vn(this,"includes",t)},indexOf(...t){return Vn(this,"indexOf",t)},join(t){return E0(this).join(t)},lastIndexOf(...t){return Vn(this,"lastIndexOf",t)},map(t,e){return Ft(this,"map",t,e,void 0,arguments)},pop(){return er(this,"pop")},push(...t){return er(this,"push",t)},reduce(t,...e){return $s(this,"reduce",t,e)},reduceRight(t,...e){return $s(this,"reduceRight",t,e)},shift(){return er(this,"shift")},some(t,e){return Ft(this,"some",t,e,void 0,arguments)},splice(...t){return er(this,"splice",t)},toReversed(){return E0(this).toReversed()},toSorted(t){return E0(this).toSorted(t)},toSpliced(...t){return E0(this).toSpliced(...t)},unshift(...t){return er(this,"unshift",t)},values(){return $n(this,"values",Ye)}};function $n(t,e,r){const n=Za(t),a=n[e]();return n!==t&&!At(t)&&(a._next=a.next,a.next=()=>{const s=a._next();return s.value&&(s.value=r(s.value)),s}),a}const Tu=Array.prototype;function Ft(t,e,r,n,a,s){const i=Za(t),l=i!==t&&!At(t),u=i[e];if(u!==Tu[e]){const p=u.apply(t,s);return l?Ye(p):p}let f=r;i!==t&&(l?f=function(p,g){return r.call(this,Ye(p),g,t)}:r.length>2&&(f=function(p,g){return r.call(this,p,g,t)}));const d=u.call(i,f,n);return l&&a?a(d):d}function $s(t,e,r,n){const a=Za(t);let s=r;return a!==t&&(At(t)?r.length>3&&(s=function(i,l,u){return r.call(this,i,l,u,t)}):s=function(i,l,u){return r.call(this,i,Ye(l),u,t)}),a[e](s,...n)}function Vn(t,e,r){const n=be(t);Ge(n,"iterate",gr);const a=n[e](...r);return(a===-1||a===!1)&&rs(r[0])?(r[0]=be(r[0]),n[e](...r)):a}function er(t,e,r=[]){p0(),ja();const n=be(t)[e].apply(t,r);return Ka(),g0(),n}const Mu=Fa("__proto__,__v_isRef,__isVue"),zl=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Rt));function Au(t){Rt(t)||(t=String(t));const e=be(this);return Ge(e,"has",t),e.hasOwnProperty(t)}class Cl{constructor(e=!1,r=!1){this._isReadonly=e,this._isShallow=r}get(e,r,n){const a=this._isReadonly,s=this._isShallow;if(r==="__v_isReactive")return!a;if(r==="__v_isReadonly")return a;if(r==="__v_isShallow")return s;if(r==="__v_raw")return n===(a?s?Hu:Bl:s?Dl:_l).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(n)?e:void 0;const i=ie(e);if(!a){let u;if(i&&(u=Su[r]))return u;if(r==="hasOwnProperty")return Au}const l=Reflect.get(e,r,Ue(e)?e:n);return(Rt(r)?zl.has(r):Mu(r))||(a||Ge(e,"get",r),s)?l:Ue(l)?i&&Ua(r)?l:l.value:ze(l)?a?Nl(l):es(l):l}}class El extends Cl{constructor(e=!1){super(!1,e)}set(e,r,n,a){let s=e[r];if(!this._isShallow){const u=q0(s);if(!At(n)&&!q0(n)&&(s=be(s),n=be(n)),!ie(e)&&Ue(s)&&!Ue(n))return u?!1:(s.value=n,!0)}const i=ie(e)&&Ua(r)?Number(r)t,Tn=t=>Reflect.getPrototypeOf(t);function _r(t,e,r=!1,n=!1){t=t.__v_raw;const a=be(t),s=be(e);r||(c0(e,s)&&Ge(a,"get",e),Ge(a,"get",s));const{has:i}=Tn(a),l=n?Ja:r?ns:Ye;if(i.call(a,e))return l(t.get(e));if(i.call(a,s))return l(t.get(s));t!==a&&t.get(e)}function Dr(t,e=!1){const r=this.__v_raw,n=be(r),a=be(t);return e||(c0(t,a)&&Ge(n,"has",t),Ge(n,"has",a)),t===a?r.has(t):r.has(t)||r.has(a)}function Br(t,e=!1){return t=t.__v_raw,!e&&Ge(be(t),"iterate",T0),Reflect.get(t,"size",t)}function Vs(t,e=!1){!e&&!At(t)&&!q0(t)&&(t=be(t));const r=be(this);return Tn(r).has.call(r,t)||(r.add(t),Wt(r,"add",t,t)),this}function Us(t,e,r=!1){!r&&!At(e)&&!q0(e)&&(e=be(e));const n=be(this),{has:a,get:s}=Tn(n);let i=a.call(n,t);i||(t=be(t),i=a.call(n,t));const l=s.call(n,t);return n.set(t,e),i?c0(e,l)&&Wt(n,"set",t,e):Wt(n,"add",t,e),this}function Gs(t){const e=be(this),{has:r,get:n}=Tn(e);let a=r.call(e,t);a||(t=be(t),a=r.call(e,t)),n&&n.call(e,t);const s=e.delete(t);return a&&Wt(e,"delete",t,void 0),s}function Ws(){const t=be(this),e=t.size!==0,r=t.clear();return e&&Wt(t,"clear",void 0,void 0),r}function Nr(t,e){return function(n,a){const s=this,i=s.__v_raw,l=be(i),u=e?Ja:t?ns:Ye;return!t&&Ge(l,"iterate",T0),i.forEach((f,d)=>n.call(a,u(f),u(d),s))}}function Or(t,e,r){return function(...n){const a=this.__v_raw,s=be(a),i=R0(s),l=t==="entries"||t===Symbol.iterator&&i,u=t==="keys"&&i,f=a[t](...n),d=r?Ja:e?ns:Ye;return!e&&Ge(s,"iterate",u?va:T0),{next(){const{value:p,done:g}=f.next();return g?{value:p,done:g}:{value:l?[d(p[0]),d(p[1])]:d(p),done:g}},[Symbol.iterator](){return this}}}}function n0(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function _u(){const t={get(s){return _r(this,s)},get size(){return Br(this)},has:Dr,add:Vs,set:Us,delete:Gs,clear:Ws,forEach:Nr(!1,!1)},e={get(s){return _r(this,s,!1,!0)},get size(){return Br(this)},has:Dr,add(s){return Vs.call(this,s,!0)},set(s,i){return Us.call(this,s,i,!0)},delete:Gs,clear:Ws,forEach:Nr(!1,!0)},r={get(s){return _r(this,s,!0)},get size(){return Br(this,!0)},has(s){return Dr.call(this,s,!0)},add:n0("add"),set:n0("set"),delete:n0("delete"),clear:n0("clear"),forEach:Nr(!0,!1)},n={get(s){return _r(this,s,!0,!0)},get size(){return Br(this,!0)},has(s){return Dr.call(this,s,!0)},add:n0("add"),set:n0("set"),delete:n0("delete"),clear:n0("clear"),forEach:Nr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(s=>{t[s]=Or(s,!1,!1),r[s]=Or(s,!0,!1),e[s]=Or(s,!1,!0),n[s]=Or(s,!0,!0)}),[t,r,e,n]}const[Du,Bu,Nu,Ou]=_u();function Qa(t,e){const r=e?t?Ou:Nu:t?Bu:Du;return(n,a,s)=>a==="__v_isReactive"?!t:a==="__v_isReadonly"?t:a==="__v_raw"?n:Reflect.get(ve(r,a)&&a in n?r:n,a,s)}const Ru={get:Qa(!1,!1)},Iu={get:Qa(!1,!0)},Pu={get:Qa(!0,!1)};const _l=new WeakMap,Dl=new WeakMap,Bl=new WeakMap,Hu=new WeakMap;function Lu(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function Fu(t){return t.__v_skip||!Object.isExtensible(t)?0:Lu(cu(t))}function es(t){return q0(t)?t:ts(t,!1,zu,Ru,_l)}function $u(t){return ts(t,!1,Eu,Iu,Dl)}function Nl(t){return ts(t,!0,Cu,Pu,Bl)}function ts(t,e,r,n,a){if(!ze(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const s=a.get(t);if(s)return s;const i=Fu(t);if(i===0)return t;const l=new Proxy(t,i===2?n:r);return a.set(t,l),l}function P0(t){return q0(t)?P0(t.__v_raw):!!(t&&t.__v_isReactive)}function q0(t){return!!(t&&t.__v_isReadonly)}function At(t){return!!(t&&t.__v_isShallow)}function rs(t){return t?!!t.__v_raw:!1}function be(t){const e=t&&t.__v_raw;return e?be(e):t}function Vu(t){return!ve(t,"__v_skip")&&Object.isExtensible(t)&&pl(t,"__v_skip",!0),t}const Ye=t=>ze(t)?es(t):t,ns=t=>ze(t)?Nl(t):t;function Ue(t){return t?t.__v_isRef===!0:!1}function B0(t){return Uu(t,!1)}function Uu(t,e){return Ue(t)?t:new Gu(t,e)}class Gu{constructor(e,r){this.dep=new Ya,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=r?e:be(e),this._value=r?e:Ye(e),this.__v_isShallow=r}get value(){return this.dep.track(),this._value}set value(e){const r=this._rawValue,n=this.__v_isShallow||At(e)||q0(e);e=n?e:be(e),c0(e,r)&&(this._rawValue=e,this._value=n?e:Ye(e),this.dep.trigger())}}function Mn(t){return Ue(t)?t.value:t}const Wu={get:(t,e,r)=>e==="__v_raw"?t:Mn(Reflect.get(t,e,r)),set:(t,e,r,n)=>{const a=t[e];return Ue(a)&&!Ue(r)?(a.value=r,!0):Reflect.set(t,e,r,n)}};function Ol(t){return P0(t)?t:new Proxy(t,Wu)}class ju{constructor(e,r,n){this.fn=e,this.setter=r,this._value=void 0,this.dep=new Ya(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=pr-1,this.effect=this,this.__v_isReadonly=!r,this.isSSR=n}notify(){this.flags|=16,xe!==this&&this.dep.notify()}get value(){const e=this.dep.track();return Ml(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function Ku(t,e,r=!1){let n,a;return ue(t)?n=t:(n=t.get,a=t.set),new ju(n,a,r)}const Rr={},ln=new WeakMap;let k0;function Xu(t,e=!1,r=k0){if(r){let n=ln.get(r);n||ln.set(r,n=[]),n.push(t)}}function Yu(t,e,r=Se){const{immediate:n,deep:a,once:s,scheduler:i,augmentJob:l,call:u}=r,f=M=>a?M:At(M)||a===!1||a===0?Gt(M,1):Gt(M);let d,p,g,w,A=!1,q=!1;if(Ue(t)?(p=()=>t.value,A=At(t)):P0(t)?(p=()=>f(t),A=!0):ie(t)?(q=!0,A=t.some(M=>P0(M)||At(M)),p=()=>t.map(M=>{if(Ue(M))return M.value;if(P0(M))return f(M);if(ue(M))return u?u(M,2):M()})):ue(t)?e?p=u?()=>u(t,2):t:p=()=>{if(g){p0();try{g()}finally{g0()}}const M=k0;k0=d;try{return u?u(t,3,[w]):t(w)}finally{k0=M}}:p=Nt,e&&a){const M=p,N=a===!0?1/0:a;p=()=>Gt(M(),N)}const E=xu(),C=()=>{d.stop(),E&&Va(E.effects,d)};if(s)if(e){const M=e;e=(...N)=>{M(...N),C()}}else{const M=p;p=()=>{M(),C()}}let L=q?new Array(t.length).fill(Rr):Rr;const S=M=>{if(!(!(d.flags&1)||!d.dirty&&!M))if(e){const N=d.run();if(a||A||(q?N.some((G,W)=>c0(G,L[W])):c0(N,L))){g&&g();const G=k0;k0=d;try{const W=[N,L===Rr?void 0:q&&L[0]===Rr?[]:L,w];u?u(e,3,W):e(...W),L=N}finally{k0=G}}}else d.run()};return l&&l(S),d=new xl(p),d.scheduler=i?()=>i(S,!1):S,w=M=>Xu(M,!1,d),g=d.onStop=()=>{const M=ln.get(d);if(M){if(u)u(M,4);else for(const N of M)N();ln.delete(d)}},e?n?S(!0):L=d.run():i?i(S.bind(null,!0),!0):d.run(),C.pause=d.pause.bind(d),C.resume=d.resume.bind(d),C.stop=C,C}function Gt(t,e=1/0,r){if(e<=0||!ze(t)||t.__v_skip||(r=r||new Set,r.has(t)))return t;if(r.add(t),e--,Ue(t))Gt(t.value,e,r);else if(ie(t))for(let n=0;n{Gt(n,e,r)});else if(ml(t)){for(const n in t)Gt(t[n],e,r);for(const n of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,n)&&Gt(t[n],e,r)}return t}/** * @vue/runtime-core v3.5.4 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/function Tr(t,e,r,n){try{return n?t(...n):t()}catch(a){Mn(a,e,r)}}function It(t,e,r,n){if(ue(t)){const a=Tr(t,e,r,n);return a&&fl(a)&&a.catch(s=>{Mn(s,e,r)}),a}if(ie(t)){const a=[];for(let s=0;s>>1,a=Ze[n],s=br(a);s=br(r)?Ze.push(t):Ze.splice(Ju(e),0,t),t.flags|=1,Hl()}}function Hl(){!vr&&!va&&(va=!0,as=Rl.then(Pl))}function Qu(t){ie(t)?P0.push(...t):l0&&t.id===-1?l0.splice(N0+1,0,t):t.flags&1||(P0.push(t),t.flags|=1),Hl()}function js(t,e,r=vr?Et+1:0){for(;rbr(r)-br(n));if(P0.length=0,l0){l0.push(...e);return}for(l0=e,N0=0;N0t.id==null?t.flags&2?-1:1/0:t.id;function Pl(t){va=!1,vr=!0;try{for(Et=0;Et{n._d&&ai(-1);const s=on(e);let i;try{i=t(...a)}finally{on(s),n._d&&ai(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function Fl(t,e){if(ct===null)return t;const r=_n(ct),n=t.dirs||(t.dirs=[]);for(let a=0;at.__isTeleport;function is(t,e){t.shapeFlag&6&&t.component?(t.transition=e,is(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}/*! #__NO_SIDE_EFFECTS__ */function nc(t,e){return ue(t)?Le({name:t.name},e,{setup:t}):t}function $l(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function un(t,e,r,n,a=!1){if(ie(t)){t.forEach((A,C)=>un(A,e&&(ie(e)?e[C]:e),r,n,a));return}if(L0(n)&&!a)return;const s=n.shapeFlag&4?_n(n.component):n.el,i=a?null:s,{i:l,r:u}=t,f=e&&e.r,d=l.refs===ke?l.refs={}:l.refs,p=l.setupState,g=be(p),w=p===ke?()=>!1:A=>ve(g,A);if(f!=null&&f!==u&&(He(f)?(d[f]=null,w(f)&&(p[f]=null)):Ue(f)&&(f.value=null)),ue(u))Tr(u,l,12,[i,d]);else{const A=He(u),C=Ue(u);if(A||C){const E=()=>{if(t.f){const _=A?w(u)?p[u]:d[u]:u.value;a?ie(_)&&Va(_,s):ie(_)?_.includes(s)||_.push(s):A?(d[u]=[s],w(u)&&(p[u]=d[u])):(u.value=[s],t.k&&(d[t.k]=u.value))}else A?(d[u]=i,w(u)&&(p[u]=i)):C&&(u.value=i,t.k&&(d[t.k]=i))};i?(E.id=-1,lt(E,r)):E()}}}let Ks=!1;const D0=()=>{Ks||(console.error("Hydration completed but contains mismatches."),Ks=!0)},ac=t=>t.namespaceURI.includes("svg")&&t.tagName!=="foreignObject",sc=t=>t.namespaceURI.includes("MathML"),Rr=t=>{if(t.nodeType===1){if(ac(t))return"svg";if(sc(t))return"mathml"}},Ir=t=>t.nodeType===8;function ic(t){const{mt:e,p:r,o:{patchProp:n,createText:a,nextSibling:s,parentNode:i,remove:l,insert:u,createComment:f}}=t,d=(k,M)=>{if(!M.hasChildNodes()){r(null,k,M),ln(),M._vnode=k;return}p(M.firstChild,k,null,null,null),ln(),M._vnode=k},p=(k,M,N,W,G,ee=!1)=>{ee=ee||!!M.dynamicChildren;const Y=Ir(k)&&k.data==="[",te=()=>C(k,M,N,W,G,Y),{type:de,ref:ce,shapeFlag:ge,patchFlag:we}=M;let Me=k.nodeType;M.el=k,we===-2&&(ee=!1,M.dynamicChildren=null);let X=null;switch(de){case M0:Me!==3?M.children===""?(u(M.el=a(""),i(k),k),X=k):X=te():(k.data!==M.children&&(D0(),k.data=M.children),X=s(k));break;case h0:L(k)?(X=s(k),_(M.el=k.content.firstChild,k,N)):Me!==8||Y?X=te():X=s(k);break;case or:if(Y&&(k=s(k),Me=k.nodeType),Me===1||Me===3){X=k;const he=!M.children.length;for(let Z=0;Z{ee=ee||!!M.dynamicChildren;const{type:Y,props:te,patchFlag:de,shapeFlag:ce,dirs:ge,transition:we}=M,Me=Y==="input"||Y==="option";if(Me||de!==-1){ge&&Dt(M,null,N,"created");let X=!1;if(L(k)){X=so(W,we)&&N&&N.vnode.props&&N.vnode.props.appear;const Z=k.content.firstChild;X&&we.beforeEnter(Z),_(Z,k,N),M.el=k=Z}if(ce&16&&!(te&&(te.innerHTML||te.textContent))){let Z=w(k.firstChild,M,k,N,W,G,ee);for(;Z;){Hr(k,1)||D0();const Oe=Z;Z=Z.nextSibling,l(Oe)}}else ce&8&&k.textContent!==M.children&&(Hr(k,0)||D0(),k.textContent=M.children);if(te){if(Me||!ee||de&48){const Z=k.tagName.includes("-");for(const Oe in te)(Me&&(Oe.endsWith("value")||Oe==="indeterminate")||Sr(Oe)&&!I0(Oe)||Oe[0]==="."||Z)&&n(k,Oe,null,te[Oe],void 0,N)}else if(te.onClick)n(k,"onClick",null,te.onClick,void 0,N);else if(de&4&&H0(te.style))for(const Z in te.style)te.style[Z]}let he;(he=te&&te.onVnodeBeforeMount)&&mt(he,N,M),ge&&Dt(M,null,N,"beforeMount"),((he=te&&te.onVnodeMounted)||ge||X)&&fo(()=>{he&&mt(he,N,M),X&&we.enter(k),ge&&Dt(M,null,N,"mounted")},W)}return k.nextSibling},w=(k,M,N,W,G,ee,Y)=>{Y=Y||!!M.dynamicChildren;const te=M.children,de=te.length;for(let ce=0;ce{const{slotScopeIds:Y}=M;Y&&(G=G?G.concat(Y):Y);const te=i(k),de=w(s(k),M,te,N,W,G,ee);return de&&Ir(de)&&de.data==="]"?s(M.anchor=de):(D0(),u(M.anchor=f("]"),te,de),de)},C=(k,M,N,W,G,ee)=>{if(Hr(k.parentElement,1)||D0(),M.el=null,ee){const de=E(k);for(;;){const ce=s(k);if(ce&&ce!==de)l(ce);else break}}const Y=s(k),te=i(k);return l(k),r(null,M,te,Y,N,W,Rr(te),G),Y},E=(k,M="[",N="]")=>{let W=0;for(;k;)if(k=s(k),k&&Ir(k)&&(k.data===M&&W++,k.data===N)){if(W===0)return s(k);W--}return k},_=(k,M,N)=>{const W=M.parentNode;W&&W.replaceChild(k,M);let G=N;for(;G;)G.vnode.el===M&&(G.vnode.el=G.subTree.el=k),G=G.parent},L=k=>k.nodeType===1&&k.tagName.toLowerCase()==="template";return[d,p]}const Xs="data-allow-mismatch",lc={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Hr(t,e){if(e===0||e===1)for(;t&&!t.hasAttribute(Xs);)t=t.parentElement;const r=t&&t.getAttribute(Xs);if(r==null)return!1;if(r==="")return!0;{const n=r.split(",");return e===0&&n.includes("children")?!0:r.split(",").includes(lc[e])}}const L0=t=>!!t.type.__asyncLoader,Vl=t=>t.type.__isKeepAlive;function oc(t,e){Ul(t,"a",e)}function uc(t,e){Ul(t,"da",e)}function Ul(t,e,r=Ve){const n=t.__wdc||(t.__wdc=()=>{let a=r;for(;a;){if(a.isDeactivated)return;a=a.parent}return t()});if(An(e,n,r),r){let a=r.parent;for(;a&&a.parent;)Vl(a.parent.vnode)&&cc(n,e,r,a),a=a.parent}}function cc(t,e,r,n){const a=An(e,t,n,!0);Gl(()=>{Va(n[e],a)},r)}function An(t,e,r=Ve,n=!1){if(r){const a=r[t]||(r[t]=[]),s=e.__weh||(e.__weh=(...i)=>{p0();const l=Mr(r),u=It(e,r,t,i);return l(),g0(),u});return n?a.unshift(s):a.push(s),s}}const Jt=t=>(e,r=Ve)=>{(!zn||t==="sp")&&An(t,(...n)=>e(...n),r)},Wl=Jt("bm"),ls=Jt("m"),hc=Jt("bu"),fc=Jt("u"),dc=Jt("bum"),Gl=Jt("um"),mc=Jt("sp"),pc=Jt("rtg"),gc=Jt("rtc");function vc(t,e=Ve){An("ec",t,e)}const bc="components";function yc(t,e){return xc(bc,t,!0,e)||t}const wc=Symbol.for("v-ndc");function xc(t,e,r=!0,n=!1){const a=ct||Ve;if(a){const s=a.type;{const l=u4(s,!1);if(l&&(l===e||l===Ct(e)||l===wn(Ct(e))))return s}const i=Ys(a[t]||s[t],e)||Ys(a.appContext[t],e);return!i&&n?s:i}}function Ys(t,e){return t&&(t[e]||t[Ct(e)]||t[wn(Ct(e))])}const ba=t=>t?go(t)?_n(t):ba(t.parent):null,lr=Le(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),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>os(t),$forceUpdate:t=>t.f||(t.f=()=>{ss(t.update)}),$nextTick:t=>t.n||(t.n=Il.bind(t.proxy)),$watch:t=>$c.bind(t)}),Vn=(t,e)=>t!==ke&&!t.__isScriptSetup&&ve(t,e),Sc={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:r,setupState:n,data:a,props:s,accessCache:i,type:l,appContext:u}=t;let f;if(e[0]!=="$"){const w=i[e];if(w!==void 0)switch(w){case 1:return n[e];case 2:return a[e];case 4:return r[e];case 3:return s[e]}else{if(Vn(n,e))return i[e]=1,n[e];if(a!==ke&&ve(a,e))return i[e]=2,a[e];if((f=t.propsOptions[0])&&ve(f,e))return i[e]=3,s[e];if(r!==ke&&ve(r,e))return i[e]=4,r[e];ya&&(i[e]=0)}}const d=lr[e];let p,g;if(d)return e==="$attrs"&&We(t.attrs,"get",""),d(t);if((p=l.__cssModules)&&(p=p[e]))return p;if(r!==ke&&ve(r,e))return i[e]=4,r[e];if(g=u.config.globalProperties,ve(g,e))return g[e]},set({_:t},e,r){const{data:n,setupState:a,ctx:s}=t;return Vn(a,e)?(a[e]=r,!0):n!==ke&&ve(n,e)?(n[e]=r,!0):ve(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(s[e]=r,!0)},has({_:{data:t,setupState:e,accessCache:r,ctx:n,appContext:a,propsOptions:s}},i){let l;return!!r[i]||t!==ke&&ve(t,i)||Vn(e,i)||(l=s[0])&&ve(l,i)||ve(n,i)||ve(lr,i)||ve(a.config.globalProperties,i)},defineProperty(t,e,r){return r.get!=null?t._.accessCache[e]=0:ve(r,"value")&&this.set(t,e,r.value,null),Reflect.defineProperty(t,e,r)}};function Zs(t){return ie(t)?t.reduce((e,r)=>(e[r]=null,e),{}):t}let ya=!0;function kc(t){const e=os(t),r=t.proxy,n=t.ctx;ya=!1,e.beforeCreate&&Js(e.beforeCreate,t,"bc");const{data:a,computed:s,methods:i,watch:l,provide:u,inject:f,created:d,beforeMount:p,mounted:g,beforeUpdate:w,updated:A,activated:C,deactivated:E,beforeDestroy:_,beforeUnmount:L,destroyed:k,unmounted:M,render:N,renderTracked:W,renderTriggered:G,errorCaptured:ee,serverPrefetch:Y,expose:te,inheritAttrs:de,components:ce,directives:ge,filters:we}=e;if(f&&Tc(f,n,null),i)for(const he in i){const Z=i[he];ue(Z)&&(n[he]=Z.bind(r))}if(a){const he=a.call(r,r);ze(he)&&(t.data=es(he))}if(ya=!0,s)for(const he in s){const Z=s[he],Oe=ue(Z)?Z.bind(r,r):ue(Z.get)?Z.get.bind(r,r):Nt,nt=!ue(Z)&&ue(Z.set)?Z.set.bind(r):Nt,Fe=ka({get:Oe,set:nt});Object.defineProperty(n,he,{enumerable:!0,configurable:!0,get:()=>Fe.value,set:Ee=>Fe.value=Ee})}if(l)for(const he in l)jl(l[he],n,r,he);if(u){const he=ue(u)?u.call(r):u;Reflect.ownKeys(he).forEach(Z=>{Ec(Z,he[Z])})}d&&Js(d,t,"c");function X(he,Z){ie(Z)?Z.forEach(Oe=>he(Oe.bind(r))):Z&&he(Z.bind(r))}if(X(Wl,p),X(ls,g),X(hc,w),X(fc,A),X(oc,C),X(uc,E),X(vc,ee),X(gc,W),X(pc,G),X(dc,L),X(Gl,M),X(mc,Y),ie(te))if(te.length){const he=t.exposed||(t.exposed={});te.forEach(Z=>{Object.defineProperty(he,Z,{get:()=>r[Z],set:Oe=>r[Z]=Oe})})}else t.exposed||(t.exposed={});N&&t.render===Nt&&(t.render=N),de!=null&&(t.inheritAttrs=de),ce&&(t.components=ce),ge&&(t.directives=ge),Y&&$l(t)}function Tc(t,e,r=Nt){ie(t)&&(t=wa(t));for(const n in t){const a=t[n];let s;ze(a)?"default"in a?s=Zr(a.from||n,a.default,!0):s=Zr(a.from||n):s=Zr(a),Ue(s)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):e[n]=s}}function Js(t,e,r){It(ie(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,r)}function jl(t,e,r,n){let a=n.includes(".")?uo(r,n):()=>r[n];if(He(t)){const s=e[t];ue(s)&&Wn(a,s)}else if(ue(t))Wn(a,t.bind(r));else if(ze(t))if(ie(t))t.forEach(s=>jl(s,e,r,n));else{const s=ue(t.handler)?t.handler.bind(r):e[t.handler];ue(s)&&Wn(a,s,t)}}function os(t){const e=t.type,{mixins:r,extends:n}=e,{mixins:a,optionsCache:s,config:{optionMergeStrategies:i}}=t.appContext,l=s.get(e);let u;return l?u=l:!a.length&&!r&&!n?u=e:(u={},a.length&&a.forEach(f=>cn(u,f,i,!0)),cn(u,e,i)),ze(e)&&s.set(e,u),u}function cn(t,e,r,n=!1){const{mixins:a,extends:s}=e;s&&cn(t,s,r,!0),a&&a.forEach(i=>cn(t,i,r,!0));for(const i in e)if(!(n&&i==="expose")){const l=Mc[i]||r&&r[i];t[i]=l?l(t[i],e[i]):e[i]}return t}const Mc={data:Qs,props:ei,emits:ei,methods:ar,computed:ar,beforeCreate:je,created:je,beforeMount:je,mounted:je,beforeUpdate:je,updated:je,beforeDestroy:je,beforeUnmount:je,destroyed:je,unmounted:je,activated:je,deactivated:je,errorCaptured:je,serverPrefetch:je,components:ar,directives:ar,watch:Cc,provide:Qs,inject:Ac};function Qs(t,e){return e?t?function(){return Le(ue(t)?t.call(this,this):t,ue(e)?e.call(this,this):e)}:e:t}function Ac(t,e){return ar(wa(t),wa(e))}function wa(t){if(ie(t)){const e={};for(let r=0;r1)return r&&ue(e)?e.call(n&&n.proxy):e}}const Xl={},Yl=()=>Object.create(Xl),Zl=t=>Object.getPrototypeOf(t)===Xl;function Dc(t,e,r,n=!1){const a={},s=Yl();t.propsDefaults=Object.create(null),Jl(t,e,a,s);for(const i in t.propsOptions[0])i in a||(a[i]=void 0);r?t.props=n?a:$u(a):t.type.props?t.props=a:t.props=s,t.attrs=s}function qc(t,e,r,n){const{props:a,attrs:s,vnode:{patchFlag:i}}=t,l=be(a),[u]=t.propsOptions;let f=!1;if((n||i>0)&&!(i&16)){if(i&8){const d=t.vnode.dynamicProps;for(let p=0;p{u=!0;const[g,w]=Ql(p,e,!0);Le(i,g),w&&l.push(...w)};!r&&e.mixins.length&&e.mixins.forEach(d),t.extends&&d(t.extends),t.mixins&&t.mixins.forEach(d)}if(!s&&!u)return ze(t)&&n.set(t,O0),O0;if(ie(s))for(let d=0;dt[0]==="_"||t==="$stable",us=t=>ie(t)?t.map(gt):[gt(t)],Nc=(t,e,r)=>{if(e._n)return e;const n=ec((...a)=>us(e(...a)),r);return n._c=!1,n},to=(t,e,r)=>{const n=t._ctx;for(const a in t){if(eo(a))continue;const s=t[a];if(ue(s))e[a]=Nc(a,s,n);else if(s!=null){const i=us(s);e[a]=()=>i}}},ro=(t,e)=>{const r=us(e);t.slots.default=()=>r},no=(t,e,r)=>{for(const n in e)(r||n!=="_")&&(t[n]=e[n])},Oc=(t,e,r)=>{const n=t.slots=Yl();if(t.vnode.shapeFlag&32){const a=e._;a?(no(n,e,r),r&&pl(n,"_",a,!0)):to(e,n)}else e&&ro(t,e)},Rc=(t,e,r)=>{const{vnode:n,slots:a}=t;let s=!0,i=ke;if(n.shapeFlag&32){const l=e._;l?r&&l===1?s=!1:no(a,e,r):(s=!e.$stable,to(e,a)),i=e}else e&&(ro(t,e),i={default:1});if(s)for(const l in a)!eo(l)&&i[l]==null&&delete a[l]},lt=fo;function Ic(t){return ao(t)}function Hc(t){return ao(t,ic)}function ao(t,e){const r=gl();r.__VUE__=!0;const{insert:n,remove:a,patchProp:s,createElement:i,createText:l,createComment:u,setText:f,setElementText:d,parentNode:p,nextSibling:g,setScopeId:w=Nt,insertStaticContent:A}=t,C=(y,S,z,R=null,D=null,B=null,$=void 0,V=null,F=!!S.dynamicChildren)=>{if(y===S)return;y&&!tr(y,S)&&(R=xt(y),Ee(y,D,B,!0),y=null),S.patchFlag===-2&&(F=!1,S.dynamicChildren=null);const{type:I,ref:ae,shapeFlag:j}=S;switch(I){case M0:E(y,S,z,R);break;case h0:_(y,S,z,R);break;case or:y==null&&L(S,z,R,$);break;case pt:ce(y,S,z,R,D,B,$,V,F);break;default:j&1?N(y,S,z,R,D,B,$,V,F):j&6?ge(y,S,z,R,D,B,$,V,F):(j&64||j&128)&&I.process(y,S,z,R,D,B,$,V,F,St)}ae!=null&&D&&un(ae,y&&y.ref,B,S||y,!S)},E=(y,S,z,R)=>{if(y==null)n(S.el=l(S.children),z,R);else{const D=S.el=y.el;S.children!==y.children&&f(D,S.children)}},_=(y,S,z,R)=>{y==null?n(S.el=u(S.children||""),z,R):S.el=y.el},L=(y,S,z,R)=>{[y.el,y.anchor]=A(y.children,S,z,R,y.el,y.anchor)},k=({el:y,anchor:S},z,R)=>{let D;for(;y&&y!==S;)D=g(y),n(y,z,R),y=D;n(S,z,R)},M=({el:y,anchor:S})=>{let z;for(;y&&y!==S;)z=g(y),a(y),y=z;a(S)},N=(y,S,z,R,D,B,$,V,F)=>{S.type==="svg"?$="svg":S.type==="math"&&($="mathml"),y==null?W(S,z,R,D,B,$,V,F):Y(y,S,D,B,$,V,F)},W=(y,S,z,R,D,B,$,V)=>{let F,I;const{props:ae,shapeFlag:j,transition:J,dirs:le}=y;if(F=y.el=i(y.type,B,ae&&ae.is,ae),j&8?d(F,y.children):j&16&&ee(y.children,F,null,R,D,Un(y,B),$,V),le&&Dt(y,null,R,"created"),G(F,y,y.scopeId,$,R),ae){for(const Ae in ae)Ae!=="value"&&!I0(Ae)&&s(F,Ae,null,ae[Ae],B,R);"value"in ae&&s(F,"value",null,ae.value,B),(I=ae.onVnodeBeforeMount)&&mt(I,R,y)}le&&Dt(y,null,R,"beforeMount");const me=so(D,J);me&&J.beforeEnter(F),n(F,S,z),((I=ae&&ae.onVnodeMounted)||me||le)&<(()=>{I&&mt(I,R,y),me&&J.enter(F),le&&Dt(y,null,R,"mounted")},D)},G=(y,S,z,R,D)=>{if(z&&w(y,z),R)for(let B=0;B{for(let I=F;I{const V=S.el=y.el;let{patchFlag:F,dynamicChildren:I,dirs:ae}=S;F|=y.patchFlag&16;const j=y.props||ke,J=S.props||ke;let le;if(z&&y0(z,!1),(le=J.onVnodeBeforeUpdate)&&mt(le,z,S,y),ae&&Dt(S,y,z,"beforeUpdate"),z&&y0(z,!0),(j.innerHTML&&J.innerHTML==null||j.textContent&&J.textContent==null)&&d(V,""),I?te(y.dynamicChildren,I,V,z,R,Un(S,D),B):$||Z(y,S,V,null,z,R,Un(S,D),B,!1),F>0){if(F&16)de(V,j,J,z,D);else if(F&2&&j.class!==J.class&&s(V,"class",null,J.class,D),F&4&&s(V,"style",j.style,J.style,D),F&8){const me=S.dynamicProps;for(let Ae=0;Ae{le&&mt(le,z,S,y),ae&&Dt(S,y,z,"updated")},R)},te=(y,S,z,R,D,B,$)=>{for(let V=0;V{if(S!==z){if(S!==ke)for(const B in S)!I0(B)&&!(B in z)&&s(y,B,S[B],null,D,R);for(const B in z){if(I0(B))continue;const $=z[B],V=S[B];$!==V&&B!=="value"&&s(y,B,V,$,D,R)}"value"in z&&s(y,"value",S.value,z.value,D)}},ce=(y,S,z,R,D,B,$,V,F)=>{const I=S.el=y?y.el:l(""),ae=S.anchor=y?y.anchor:l("");let{patchFlag:j,dynamicChildren:J,slotScopeIds:le}=S;le&&(V=V?V.concat(le):le),y==null?(n(I,z,R),n(ae,z,R),ee(S.children||[],z,ae,D,B,$,V,F)):j>0&&j&64&&J&&y.dynamicChildren?(te(y.dynamicChildren,J,z,D,B,$,V),(S.key!=null||D&&S===D.subTree)&&io(y,S,!0)):Z(y,S,z,ae,D,B,$,V,F)},ge=(y,S,z,R,D,B,$,V,F)=>{S.slotScopeIds=V,y==null?S.shapeFlag&512?D.ctx.activate(S,z,R,$,F):we(S,z,R,D,B,$,F):Me(y,S,F)},we=(y,S,z,R,D,B,$)=>{const V=y.component=a4(y,R,D);if(Vl(y)&&(V.ctx.renderer=St),s4(V,!1,$),V.asyncDep){if(D&&D.registerDep(V,X,$),!y.el){const F=V.subTree=Qe(h0);_(null,F,S,z)}}else X(V,y,S,z,D,B,$)},Me=(y,S,z)=>{const R=S.component=y.component;if(jc(y,S,z))if(R.asyncDep&&!R.asyncResolved){he(R,S,z);return}else R.next=S,R.update();else S.el=y.el,R.vnode=S},X=(y,S,z,R,D,B,$)=>{const V=()=>{if(y.isMounted){let{next:j,bu:J,u:le,parent:me,vnode:Ae}=y;{const st=lo(y);if(st){j&&(j.el=Ae.el,he(y,j,$)),st.asyncDep.then(()=>{y.isUnmounted||V()});return}}let ye=j,at;y0(y,!1),j?(j.el=Ae.el,he(y,j,$)):j=Ae,J&&Yr(J),(at=j.props&&j.props.onVnodeBeforeUpdate)&&mt(at,me,j,Ae),y0(y,!0);const $e=Gn(y),kt=y.subTree;y.subTree=$e,C(kt,$e,p(kt.el),xt(kt),y,D,B),j.el=$e.el,ye===null&&Kc(y,$e.el),le&<(le,D),(at=j.props&&j.props.onVnodeUpdated)&<(()=>mt(at,me,j,Ae),D)}else{let j;const{el:J,props:le}=S,{bm:me,m:Ae,parent:ye,root:at,type:$e}=y,kt=L0(S);if(y0(y,!1),me&&Yr(me),!kt&&(j=le&&le.onVnodeBeforeMount)&&mt(j,ye,S),y0(y,!0),J&&J0){const st=()=>{y.subTree=Gn(y),J0(J,y.subTree,y,D,null)};kt&&$e.__asyncHydrate?$e.__asyncHydrate(J,y,st):st()}else{at.ce&&at.ce._injectChildStyle($e);const st=y.subTree=Gn(y);C(null,st,z,R,y,D,B),S.el=st.el}if(Ae&<(Ae,D),!kt&&(j=le&&le.onVnodeMounted)){const st=S;lt(()=>mt(j,ye,st),D)}(S.shapeFlag&256||ye&&L0(ye.vnode)&&ye.vnode.shapeFlag&256)&&y.a&<(y.a,D),y.isMounted=!0,S=z=R=null}};y.scope.on();const F=y.effect=new xl(V);y.scope.off();const I=y.update=F.run.bind(F),ae=y.job=F.runIfDirty.bind(F);ae.i=y,ae.id=y.uid,F.scheduler=()=>ss(ae),y0(y,!0),I()},he=(y,S,z)=>{S.component=y;const R=y.vnode.props;y.vnode=S,y.next=null,qc(y,S.props,R,z),Rc(y,S.children,z),p0(),js(y),g0()},Z=(y,S,z,R,D,B,$,V,F=!1)=>{const I=y&&y.children,ae=y?y.shapeFlag:0,j=S.children,{patchFlag:J,shapeFlag:le}=S;if(J>0){if(J&128){nt(I,j,z,R,D,B,$,V,F);return}else if(J&256){Oe(I,j,z,R,D,B,$,V,F);return}}le&8?(ae&16&&r0(I,D,B),j!==I&&d(z,j)):ae&16?le&16?nt(I,j,z,R,D,B,$,V,F):r0(I,D,B,!0):(ae&8&&d(z,""),le&16&&ee(j,z,R,D,B,$,V,F))},Oe=(y,S,z,R,D,B,$,V,F)=>{y=y||O0,S=S||O0;const I=y.length,ae=S.length,j=Math.min(I,ae);let J;for(J=0;Jae?r0(y,D,B,!0,!1,j):ee(S,z,R,D,B,$,V,F,j)},nt=(y,S,z,R,D,B,$,V,F)=>{let I=0;const ae=S.length;let j=y.length-1,J=ae-1;for(;I<=j&&I<=J;){const le=y[I],me=S[I]=F?o0(S[I]):gt(S[I]);if(tr(le,me))C(le,me,z,null,D,B,$,V,F);else break;I++}for(;I<=j&&I<=J;){const le=y[j],me=S[J]=F?o0(S[J]):gt(S[J]);if(tr(le,me))C(le,me,z,null,D,B,$,V,F);else break;j--,J--}if(I>j){if(I<=J){const le=J+1,me=leJ)for(;I<=j;)Ee(y[I],D,B,!0),I++;else{const le=I,me=I,Ae=new Map;for(I=me;I<=J;I++){const it=S[I]=F?o0(S[I]):gt(S[I]);it.key!=null&&Ae.set(it.key,I)}let ye,at=0;const $e=J-me+1;let kt=!1,st=0;const Q0=new Array($e);for(I=0;I<$e;I++)Q0[I]=0;for(I=le;I<=j;I++){const it=y[I];if(at>=$e){Ee(it,D,B,!0);continue}let _t;if(it.key!=null)_t=Ae.get(it.key);else for(ye=me;ye<=J;ye++)if(Q0[ye-me]===0&&tr(it,S[ye])){_t=ye;break}_t===void 0?Ee(it,D,B,!0):(Q0[_t-me]=I+1,_t>=st?st=_t:kt=!0,C(it,S[_t],z,null,D,B,$,V,F),at++)}const qs=kt?Pc(Q0):O0;for(ye=qs.length-1,I=$e-1;I>=0;I--){const it=me+I,_t=S[it],Bs=it+1{const{el:B,type:$,transition:V,children:F,shapeFlag:I}=y;if(I&6){Fe(y.component.subTree,S,z,R);return}if(I&128){y.suspense.move(S,z,R);return}if(I&64){$.move(y,S,z,St);return}if($===pt){n(B,S,z);for(let j=0;jV.enter(B),D);else{const{leave:j,delayLeave:J,afterLeave:le}=V,me=()=>n(B,S,z),Ae=()=>{j(B,()=>{me(),le&&le()})};J?J(B,me,Ae):Ae()}else n(B,S,z)},Ee=(y,S,z,R=!1,D=!1)=>{const{type:B,props:$,ref:V,children:F,dynamicChildren:I,shapeFlag:ae,patchFlag:j,dirs:J,cacheIndex:le}=y;if(j===-2&&(D=!1),V!=null&&un(V,null,z,y,!0),le!=null&&(S.renderCache[le]=void 0),ae&256){S.ctx.deactivate(y);return}const me=ae&1&&J,Ae=!L0(y);let ye;if(Ae&&(ye=$&&$.onVnodeBeforeUnmount)&&mt(ye,S,y),ae&6)t0(y.component,z,R);else{if(ae&128){y.suspense.unmount(z,R);return}me&&Dt(y,null,S,"beforeUnmount"),ae&64?y.type.remove(y,S,z,St,R):I&&!I.hasOnce&&(B!==pt||j>0&&j&64)?r0(I,S,z,!1,!0):(B===pt&&j&384||!D&&ae&16)&&r0(F,S,z),R&&e0(y)}(Ae&&(ye=$&&$.onVnodeUnmounted)||me)&<(()=>{ye&&mt(ye,S,y),me&&Dt(y,null,S,"unmounted")},z)},e0=y=>{const{type:S,el:z,anchor:R,transition:D}=y;if(S===pt){Y0(z,R);return}if(S===or){M(y);return}const B=()=>{a(z),D&&!D.persisted&&D.afterLeave&&D.afterLeave()};if(y.shapeFlag&1&&D&&!D.persisted){const{leave:$,delayLeave:V}=D,F=()=>$(z,B);V?V(y.el,B,F):F()}else B()},Y0=(y,S)=>{let z;for(;y!==S;)z=g(y),a(y),y=z;a(S)},t0=(y,S,z)=>{const{bum:R,scope:D,job:B,subTree:$,um:V,m:F,a:I}=y;ri(F),ri(I),R&&Yr(R),D.stop(),B&&(B.flags|=8,Ee($,y,S,z)),V&<(V,S),lt(()=>{y.isUnmounted=!0},S),S&&S.pendingBranch&&!S.isUnmounted&&y.asyncDep&&!y.asyncResolved&&y.suspenseId===S.pendingId&&(S.deps--,S.deps===0&&S.resolve())},r0=(y,S,z,R=!1,D=!1,B=0)=>{for(let $=B;${if(y.shapeFlag&6)return xt(y.component.subTree);if(y.shapeFlag&128)return y.suspense.next();const S=g(y.anchor||y.el),z=S&&S[tc];return z?g(z):S};let zt=!1;const b0=(y,S,z)=>{y==null?S._vnode&&Ee(S._vnode,null,null,!0):C(S._vnode||null,y,S,null,null,null,z),S._vnode=y,zt||(zt=!0,js(),ln(),zt=!1)},St={p:C,um:Ee,m:Fe,r:e0,mt:we,mc:ee,pc:Z,pbc:te,n:xt,o:t};let Z0,J0;return e&&([Z0,J0]=e(St)),{render:b0,hydrate:Z0,createApp:_c(b0,Z0)}}function Un({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 y0({effect:t,job:e},r){r?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function so(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function io(t,e,r=!1){const n=t.children,a=e.children;if(ie(n)&&ie(a))for(let s=0;s>1,t[r[l]]0&&(e[n]=r[s-1]),r[s]=n)}}for(s=r.length,i=r[s-1];s-- >0;)r[s]=i,i=e[i];return r}function lo(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:lo(e)}function ri(t){if(t)for(let e=0;eZr(Lc);function Wn(t,e,r){return oo(t,e,r)}function oo(t,e,r=ke){const{immediate:n,deep:a,flush:s,once:i}=r,l=Le({},r);let u;if(zn)if(s==="sync"){const g=Fc();u=g.__watcherHandles||(g.__watcherHandles=[])}else if(!e||n)l.once=!0;else return{stop:Nt,resume:Nt,pause:Nt};const f=Ve;l.call=(g,w,A)=>It(g,f,w,A);let d=!1;s==="post"?l.scheduler=g=>{lt(g,f&&f.suspense)}:s!=="sync"&&(d=!0,l.scheduler=(g,w)=>{w?g():ss(g)}),l.augmentJob=g=>{e&&(g.flags|=4),d&&(g.flags|=2,f&&(g.id=f.uid,g.i=f))};const p=Yu(t,e,l);return u&&u.push(p),p}function $c(t,e,r){const n=this.proxy,a=He(t)?t.includes(".")?uo(n,t):()=>n[t]:t.bind(n,n);let s;ue(e)?s=e:(s=e.handler,r=e);const i=Mr(this),l=oo(a,s.bind(n),r);return i(),l}function uo(t,e){const r=e.split(".");return()=>{let n=t;for(let a=0;ae==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Ct(e)}Modifiers`]||t[`${z0(e)}Modifiers`];function Uc(t,e,...r){if(t.isUnmounted)return;const n=t.vnode.props||ke;let a=r;const s=e.startsWith("update:"),i=s&&Vc(n,e.slice(7));i&&(i.trim&&(a=r.map(d=>He(d)?d.trim():d)),i.number&&(a=r.map(da)));let l,u=n[l=Hn(e)]||n[l=Hn(Ct(e))];!u&&s&&(u=n[l=Hn(z0(e))]),u&&It(u,t,6,a);const f=n[l+"Once"];if(f){if(!t.emitted)t.emitted={};else if(t.emitted[l])return;t.emitted[l]=!0,It(f,t,6,a)}}function co(t,e,r=!1){const n=e.emitsCache,a=n.get(t);if(a!==void 0)return a;const s=t.emits;let i={},l=!1;if(!ue(t)){const u=f=>{const d=co(f,e,!0);d&&(l=!0,Le(i,d))};!r&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}return!s&&!l?(ze(t)&&n.set(t,null),null):(ie(s)?s.forEach(u=>i[u]=null):Le(i,s),ze(t)&&n.set(t,i),i)}function Cn(t,e){return!t||!Sr(e)?!1:(e=e.slice(2).replace(/Once$/,""),ve(t,e[0].toLowerCase()+e.slice(1))||ve(t,z0(e))||ve(t,e))}function Gn(t){const{type:e,vnode:r,proxy:n,withProxy:a,propsOptions:[s],slots:i,attrs:l,emit:u,render:f,renderCache:d,props:p,data:g,setupState:w,ctx:A,inheritAttrs:C}=t,E=on(t);let _,L;try{if(r.shapeFlag&4){const M=a||n,N=M;_=gt(f.call(N,M,d,p,w,g,A)),L=l}else{const M=e;_=gt(M.length>1?M(p,{attrs:l,slots:i,emit:u}):M(p,null)),L=e.props?l:Wc(l)}}catch(M){ur.length=0,Mn(M,t,1),_=Qe(h0)}let k=_;if(L&&C!==!1){const M=Object.keys(L),{shapeFlag:N}=k;M.length&&N&7&&(s&&M.some($a)&&(L=Gc(L,s)),k=G0(k,L,!1,!0))}return r.dirs&&(k=G0(k,null,!1,!0),k.dirs=k.dirs?k.dirs.concat(r.dirs):r.dirs),r.transition&&is(k,r.transition),_=k,on(E),_}const Wc=t=>{let e;for(const r in t)(r==="class"||r==="style"||Sr(r))&&((e||(e={}))[r]=t[r]);return e},Gc=(t,e)=>{const r={};for(const n in t)(!$a(n)||!(n.slice(9)in e))&&(r[n]=t[n]);return r};function jc(t,e,r){const{props:n,children:a,component:s}=t,{props:i,children:l,patchFlag:u}=e,f=s.emitsOptions;if(e.dirs||e.transition)return!0;if(r&&u>=0){if(u&1024)return!0;if(u&16)return n?ni(n,i,f):!!i;if(u&8){const d=e.dynamicProps;for(let p=0;pt.__isSuspense;function fo(t,e){e&&e.pendingBranch?ie(t)?e.effects.push(...t):e.effects.push(t):Qu(t)}const pt=Symbol.for("v-fgt"),M0=Symbol.for("v-txt"),h0=Symbol.for("v-cmt"),or=Symbol.for("v-stc"),ur=[];let ht=null;function A0(t=!1){ur.push(ht=t?null:[])}function Xc(){ur.pop(),ht=ur[ur.length-1]||null}let yr=1;function ai(t){yr+=t,t<0&&ht&&(ht.hasOnce=!0)}function mo(t){return t.dynamicChildren=yr>0?ht||O0:null,Xc(),yr>0&&ht&&ht.push(t),t}function $0(t,e,r,n,a,s){return mo(oe(t,e,r,n,a,s,!0))}function Yc(t,e,r,n,a){return mo(Qe(t,e,r,n,a,!0))}function Zc(t){return t?t.__v_isVNode===!0:!1}function tr(t,e){return t.type===e.type&&t.key===e.key}const po=({key:t})=>t??null,Jr=({ref:t,ref_key:e,ref_for:r})=>(typeof t=="number"&&(t=""+t),t!=null?He(t)||Ue(t)||ue(t)?{i:ct,r:t,k:e,f:!!r}:t:null);function oe(t,e=null,r=null,n=0,a=null,s=t===pt?0:1,i=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&po(e),ref:e&&Jr(e),scopeId:Ll,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:n,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:ct};return l?(cs(u,r),s&128&&t.normalize(u)):r&&(u.shapeFlag|=He(r)?8:16),yr>0&&!i&&ht&&(u.patchFlag>0||s&6)&&u.patchFlag!==32&&ht.push(u),u}const Qe=Jc;function Jc(t,e=null,r=null,n=0,a=null,s=!1){if((!t||t===wc)&&(t=h0),Zc(t)){const l=G0(t,e,!0);return r&&cs(l,r),yr>0&&!s&&ht&&(l.shapeFlag&6?ht[ht.indexOf(t)]=l:ht.push(l)),l.patchFlag=-2,l}if(c4(t)&&(t=t.__vccOpts),e){e=Qc(e);let{class:l,style:u}=e;l&&!He(l)&&(e.class=xn(l)),ze(u)&&(rs(u)&&!ie(u)&&(u=Le({},u)),e.style=Wa(u))}const i=He(t)?1:ho(t)?128:rc(t)?64:ze(t)?4:ue(t)?2:0;return oe(t,e,r,n,a,i,s,!0)}function Qc(t){return t?rs(t)||Zl(t)?Le({},t):t:null}function G0(t,e,r=!1,n=!1){const{props:a,ref:s,patchFlag:i,children:l,transition:u}=t,f=e?t4(a||{},e):a,d={__v_isVNode:!0,__v_skip:!0,type:t.type,props:f,key:f&&po(f),ref:e&&e.ref?r&&s?ie(s)?s.concat(Jr(e)):[s,Jr(e)]:Jr(e):s,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:l,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==pt?i===-1?16:i|16:i,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:u,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&G0(t.ssContent),ssFallback:t.ssFallback&&G0(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return u&&n&&is(d,u.clone(d)),d}function cr(t=" ",e=0){return Qe(M0,null,t,e)}function e4(t,e){const r=Qe(or,null,t);return r.staticCount=e,r}function si(t="",e=!1){return e?(A0(),Yc(h0,null,t)):Qe(h0,null,t)}function gt(t){return t==null||typeof t=="boolean"?Qe(h0):ie(t)?Qe(pt,null,t.slice()):typeof t=="object"?o0(t):Qe(M0,null,String(t))}function o0(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:G0(t)}function cs(t,e){let r=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(ie(e))r=16;else if(typeof e=="object")if(n&65){const a=e.default;a&&(a._c&&(a._d=!1),cs(t,a()),a._c&&(a._d=!0));return}else{r=32;const a=e._;!a&&!Zl(e)?e._ctx=ct:a===3&&ct&&(ct.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else ue(e)?(e={default:e,_ctx:ct},r=32):(e=String(e),n&64?(r=16,e=[cr(e)]):r=8);t.children=e,t.shapeFlag|=r}function t4(...t){const e={};for(let r=0;r{let a;return(a=t[r])||(a=t[r]=[]),a.push(n),s=>{a.length>1?a.forEach(i=>i(s)):a[0](s)}};hn=e("__VUE_INSTANCE_SETTERS__",r=>Ve=r),Sa=e("__VUE_SSR_SETTERS__",r=>zn=r)}const Mr=t=>{const e=Ve;return hn(t),t.scope.on(),()=>{t.scope.off(),hn(e)}},ii=()=>{Ve&&Ve.scope.off(),hn(null)};function go(t){return t.vnode.shapeFlag&4}let zn=!1;function s4(t,e=!1,r=!1){e&&Sa(e);const{props:n,children:a}=t.vnode,s=go(t);Dc(t,n,s,e),Oc(t,a,r);const i=s?i4(t,e):void 0;return e&&Sa(!1),i}function i4(t,e){const r=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,Sc);const{setup:n}=r;if(n){const a=t.setupContext=n.length>1?o4(t):null,s=Mr(t);p0();const i=Tr(n,t,0,[t.props,a]);if(g0(),s(),fl(i)){if(L0(t)||$l(t),i.then(ii,ii),e)return i.then(l=>{li(t,l,e)}).catch(l=>{Mn(l,t,0)});t.asyncDep=i}else li(t,i,e)}else vo(t,e)}function li(t,e,r){ue(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:ze(e)&&(t.setupState=Ol(e)),vo(t,r)}let oi;function vo(t,e,r){const n=t.type;if(!t.render){if(!e&&oi&&!n.render){const a=n.template||os(t).template;if(a){const{isCustomElement:s,compilerOptions:i}=t.appContext.config,{delimiters:l,compilerOptions:u}=n,f=Le(Le({isCustomElement:s,delimiters:l},i),u);n.render=oi(a,f)}}t.render=n.render||Nt}{const a=Mr(t);p0();try{kc(t)}finally{g0(),a()}}}const l4={get(t,e){return We(t,"get",""),t[e]}};function o4(t){const e=r=>{t.exposed=r||{}};return{attrs:new Proxy(t.attrs,l4),slots:t.slots,emit:t.emit,expose:e}}function _n(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Ol(Vu(t.exposed)),{get(e,r){if(r in e)return e[r];if(r in lr)return lr[r](t)},has(e,r){return r in e||r in lr}})):t.proxy}function u4(t,e=!0){return ue(t)?t.displayName||t.name:t.name||e&&t.__name}function c4(t){return ue(t)&&"__vccOpts"in t}const ka=(t,e)=>Ku(t,e,zn),bo="3.5.4";/** +**/function Mr(t,e,r,n){try{return n?t(...n):t()}catch(a){An(a,e,r)}}function It(t,e,r,n){if(ue(t)){const a=Mr(t,e,r,n);return a&&fl(a)&&a.catch(s=>{An(s,e,r)}),a}if(ie(t)){const a=[];for(let s=0;s>>1,a=Ze[n],s=br(a);s=br(r)?Ze.push(t):Ze.splice(Ju(e),0,t),t.flags|=1,Pl()}}function Pl(){!vr&&!ba&&(ba=!0,as=Rl.then(Hl))}function Qu(t){ie(t)?H0.push(...t):l0&&t.id===-1?l0.splice(N0+1,0,t):t.flags&1||(H0.push(t),t.flags|=1),Pl()}function js(t,e,r=vr?Et+1:0){for(;rbr(r)-br(n));if(H0.length=0,l0){l0.push(...e);return}for(l0=e,N0=0;N0t.id==null?t.flags&2?-1:1/0:t.id;function Hl(t){ba=!1,vr=!0;try{for(Et=0;Et{n._d&&ai(-1);const s=un(e);let i;try{i=t(...a)}finally{un(s),n._d&&ai(1)}return i};return n._n=!0,n._c=!0,n._d=!0,n}function Fl(t,e){if(ct===null)return t;const r=En(ct),n=t.dirs||(t.dirs=[]);for(let a=0;at.__isTeleport;function is(t,e){t.shapeFlag&6&&t.component?(t.transition=e,is(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}/*! #__NO_SIDE_EFFECTS__ */function nc(t,e){return ue(t)?Le({name:t.name},e,{setup:t}):t}function $l(t){t.ids=[t.ids[0]+t.ids[2]+++"-",0,0]}function cn(t,e,r,n,a=!1){if(ie(t)){t.forEach((A,q)=>cn(A,e&&(ie(e)?e[q]:e),r,n,a));return}if(L0(n)&&!a)return;const s=n.shapeFlag&4?En(n.component):n.el,i=a?null:s,{i:l,r:u}=t,f=e&&e.r,d=l.refs===Se?l.refs={}:l.refs,p=l.setupState,g=be(p),w=p===Se?()=>!1:A=>ve(g,A);if(f!=null&&f!==u&&(Pe(f)?(d[f]=null,w(f)&&(p[f]=null)):Ue(f)&&(f.value=null)),ue(u))Mr(u,l,12,[i,d]);else{const A=Pe(u),q=Ue(u);if(A||q){const E=()=>{if(t.f){const C=A?w(u)?p[u]:d[u]:u.value;a?ie(C)&&Va(C,s):ie(C)?C.includes(s)||C.push(s):A?(d[u]=[s],w(u)&&(p[u]=d[u])):(u.value=[s],t.k&&(d[t.k]=u.value))}else A?(d[u]=i,w(u)&&(p[u]=i)):q&&(u.value=i,t.k&&(d[t.k]=i))};i?(E.id=-1,lt(E,r)):E()}}}let Ks=!1;const _0=()=>{Ks||(console.error("Hydration completed but contains mismatches."),Ks=!0)},ac=t=>t.namespaceURI.includes("svg")&&t.tagName!=="foreignObject",sc=t=>t.namespaceURI.includes("MathML"),Ir=t=>{if(t.nodeType===1){if(ac(t))return"svg";if(sc(t))return"mathml"}},Pr=t=>t.nodeType===8;function ic(t){const{mt:e,p:r,o:{patchProp:n,createText:a,nextSibling:s,parentNode:i,remove:l,insert:u,createComment:f}}=t,d=(S,M)=>{if(!M.hasChildNodes()){r(null,S,M),on(),M._vnode=S;return}p(M.firstChild,S,null,null,null),on(),M._vnode=S},p=(S,M,N,G,W,ee=!1)=>{ee=ee||!!M.dynamicChildren;const Y=Pr(S)&&S.data==="[",te=()=>q(S,M,N,G,W,Y),{type:de,ref:ce,shapeFlag:ge,patchFlag:we}=M;let Me=S.nodeType;M.el=S,we===-2&&(ee=!1,M.dynamicChildren=null);let X=null;switch(de){case M0:Me!==3?M.children===""?(u(M.el=a(""),i(S),S),X=S):X=te():(S.data!==M.children&&(_0(),S.data=M.children),X=s(S));break;case h0:L(S)?(X=s(S),C(M.el=S.content.firstChild,S,N)):Me!==8||Y?X=te():X=s(S);break;case or:if(Y&&(S=s(S),Me=S.nodeType),Me===1||Me===3){X=S;const he=!M.children.length;for(let Z=0;Z{ee=ee||!!M.dynamicChildren;const{type:Y,props:te,patchFlag:de,shapeFlag:ce,dirs:ge,transition:we}=M,Me=Y==="input"||Y==="option";if(Me||de!==-1){ge&&_t(M,null,N,"created");let X=!1;if(L(S)){X=so(G,we)&&N&&N.vnode.props&&N.vnode.props.appear;const Z=S.content.firstChild;X&&we.beforeEnter(Z),C(Z,S,N),M.el=S=Z}if(ce&16&&!(te&&(te.innerHTML||te.textContent))){let Z=w(S.firstChild,M,S,N,G,W,ee);for(;Z;){Hr(S,1)||_0();const Oe=Z;Z=Z.nextSibling,l(Oe)}}else ce&8&&S.textContent!==M.children&&(Hr(S,0)||_0(),S.textContent=M.children);if(te){if(Me||!ee||de&48){const Z=S.tagName.includes("-");for(const Oe in te)(Me&&(Oe.endsWith("value")||Oe==="indeterminate")||Sr(Oe)&&!I0(Oe)||Oe[0]==="."||Z)&&n(S,Oe,null,te[Oe],void 0,N)}else if(te.onClick)n(S,"onClick",null,te.onClick,void 0,N);else if(de&4&&P0(te.style))for(const Z in te.style)te.style[Z]}let he;(he=te&&te.onVnodeBeforeMount)&&mt(he,N,M),ge&&_t(M,null,N,"beforeMount"),((he=te&&te.onVnodeMounted)||ge||X)&&fo(()=>{he&&mt(he,N,M),X&&we.enter(S),ge&&_t(M,null,N,"mounted")},G)}return S.nextSibling},w=(S,M,N,G,W,ee,Y)=>{Y=Y||!!M.dynamicChildren;const te=M.children,de=te.length;for(let ce=0;ce{const{slotScopeIds:Y}=M;Y&&(W=W?W.concat(Y):Y);const te=i(S),de=w(s(S),M,te,N,G,W,ee);return de&&Pr(de)&&de.data==="]"?s(M.anchor=de):(_0(),u(M.anchor=f("]"),te,de),de)},q=(S,M,N,G,W,ee)=>{if(Hr(S.parentElement,1)||_0(),M.el=null,ee){const de=E(S);for(;;){const ce=s(S);if(ce&&ce!==de)l(ce);else break}}const Y=s(S),te=i(S);return l(S),r(null,M,te,Y,N,G,Ir(te),W),Y},E=(S,M="[",N="]")=>{let G=0;for(;S;)if(S=s(S),S&&Pr(S)&&(S.data===M&&G++,S.data===N)){if(G===0)return s(S);G--}return S},C=(S,M,N)=>{const G=M.parentNode;G&&G.replaceChild(S,M);let W=N;for(;W;)W.vnode.el===M&&(W.vnode.el=W.subTree.el=S),W=W.parent},L=S=>S.nodeType===1&&S.tagName.toLowerCase()==="template";return[d,p]}const Xs="data-allow-mismatch",lc={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Hr(t,e){if(e===0||e===1)for(;t&&!t.hasAttribute(Xs);)t=t.parentElement;const r=t&&t.getAttribute(Xs);if(r==null)return!1;if(r==="")return!0;{const n=r.split(",");return e===0&&n.includes("children")?!0:r.split(",").includes(lc[e])}}const L0=t=>!!t.type.__asyncLoader,Vl=t=>t.type.__isKeepAlive;function oc(t,e){Ul(t,"a",e)}function uc(t,e){Ul(t,"da",e)}function Ul(t,e,r=Ve){const n=t.__wdc||(t.__wdc=()=>{let a=r;for(;a;){if(a.isDeactivated)return;a=a.parent}return t()});if(qn(e,n,r),r){let a=r.parent;for(;a&&a.parent;)Vl(a.parent.vnode)&&cc(n,e,r,a),a=a.parent}}function cc(t,e,r,n){const a=qn(e,t,n,!0);Wl(()=>{Va(n[e],a)},r)}function qn(t,e,r=Ve,n=!1){if(r){const a=r[t]||(r[t]=[]),s=e.__weh||(e.__weh=(...i)=>{p0();const l=Ar(r),u=It(e,r,t,i);return l(),g0(),u});return n?a.unshift(s):a.push(s),s}}const Jt=t=>(e,r=Ve)=>{(!Cn||t==="sp")&&qn(t,(...n)=>e(...n),r)},Gl=Jt("bm"),ls=Jt("m"),hc=Jt("bu"),fc=Jt("u"),dc=Jt("bum"),Wl=Jt("um"),mc=Jt("sp"),pc=Jt("rtg"),gc=Jt("rtc");function vc(t,e=Ve){qn("ec",t,e)}const bc="components";function yc(t,e){return xc(bc,t,!0,e)||t}const wc=Symbol.for("v-ndc");function xc(t,e,r=!0,n=!1){const a=ct||Ve;if(a){const s=a.type;{const l=u4(s,!1);if(l&&(l===e||l===qt(e)||l===xn(qt(e))))return s}const i=Ys(a[t]||s[t],e)||Ys(a.appContext[t],e);return!i&&n?s:i}}function Ys(t,e){return t&&(t[e]||t[qt(e)]||t[xn(qt(e))])}const ya=t=>t?go(t)?En(t):ya(t.parent):null,lr=Le(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=>ya(t.parent),$root:t=>ya(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>os(t),$forceUpdate:t=>t.f||(t.f=()=>{ss(t.update)}),$nextTick:t=>t.n||(t.n=Il.bind(t.proxy)),$watch:t=>$c.bind(t)}),Un=(t,e)=>t!==Se&&!t.__isScriptSetup&&ve(t,e),kc={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:r,setupState:n,data:a,props:s,accessCache:i,type:l,appContext:u}=t;let f;if(e[0]!=="$"){const w=i[e];if(w!==void 0)switch(w){case 1:return n[e];case 2:return a[e];case 4:return r[e];case 3:return s[e]}else{if(Un(n,e))return i[e]=1,n[e];if(a!==Se&&ve(a,e))return i[e]=2,a[e];if((f=t.propsOptions[0])&&ve(f,e))return i[e]=3,s[e];if(r!==Se&&ve(r,e))return i[e]=4,r[e];wa&&(i[e]=0)}}const d=lr[e];let p,g;if(d)return e==="$attrs"&&Ge(t.attrs,"get",""),d(t);if((p=l.__cssModules)&&(p=p[e]))return p;if(r!==Se&&ve(r,e))return i[e]=4,r[e];if(g=u.config.globalProperties,ve(g,e))return g[e]},set({_:t},e,r){const{data:n,setupState:a,ctx:s}=t;return Un(a,e)?(a[e]=r,!0):n!==Se&&ve(n,e)?(n[e]=r,!0):ve(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(s[e]=r,!0)},has({_:{data:t,setupState:e,accessCache:r,ctx:n,appContext:a,propsOptions:s}},i){let l;return!!r[i]||t!==Se&&ve(t,i)||Un(e,i)||(l=s[0])&&ve(l,i)||ve(n,i)||ve(lr,i)||ve(a.config.globalProperties,i)},defineProperty(t,e,r){return r.get!=null?t._.accessCache[e]=0:ve(r,"value")&&this.set(t,e,r.value,null),Reflect.defineProperty(t,e,r)}};function Zs(t){return ie(t)?t.reduce((e,r)=>(e[r]=null,e),{}):t}let wa=!0;function Sc(t){const e=os(t),r=t.proxy,n=t.ctx;wa=!1,e.beforeCreate&&Js(e.beforeCreate,t,"bc");const{data:a,computed:s,methods:i,watch:l,provide:u,inject:f,created:d,beforeMount:p,mounted:g,beforeUpdate:w,updated:A,activated:q,deactivated:E,beforeDestroy:C,beforeUnmount:L,destroyed:S,unmounted:M,render:N,renderTracked:G,renderTriggered:W,errorCaptured:ee,serverPrefetch:Y,expose:te,inheritAttrs:de,components:ce,directives:ge,filters:we}=e;if(f&&Tc(f,n,null),i)for(const he in i){const Z=i[he];ue(Z)&&(n[he]=Z.bind(r))}if(a){const he=a.call(r,r);ze(he)&&(t.data=es(he))}if(wa=!0,s)for(const he in s){const Z=s[he],Oe=ue(Z)?Z.bind(r,r):ue(Z.get)?Z.get.bind(r,r):Nt,nt=!ue(Z)&&ue(Z.set)?Z.set.bind(r):Nt,Fe=Ta({get:Oe,set:nt});Object.defineProperty(n,he,{enumerable:!0,configurable:!0,get:()=>Fe.value,set:Ee=>Fe.value=Ee})}if(l)for(const he in l)jl(l[he],n,r,he);if(u){const he=ue(u)?u.call(r):u;Reflect.ownKeys(he).forEach(Z=>{Ec(Z,he[Z])})}d&&Js(d,t,"c");function X(he,Z){ie(Z)?Z.forEach(Oe=>he(Oe.bind(r))):Z&&he(Z.bind(r))}if(X(Gl,p),X(ls,g),X(hc,w),X(fc,A),X(oc,q),X(uc,E),X(vc,ee),X(gc,G),X(pc,W),X(dc,L),X(Wl,M),X(mc,Y),ie(te))if(te.length){const he=t.exposed||(t.exposed={});te.forEach(Z=>{Object.defineProperty(he,Z,{get:()=>r[Z],set:Oe=>r[Z]=Oe})})}else t.exposed||(t.exposed={});N&&t.render===Nt&&(t.render=N),de!=null&&(t.inheritAttrs=de),ce&&(t.components=ce),ge&&(t.directives=ge),Y&&$l(t)}function Tc(t,e,r=Nt){ie(t)&&(t=xa(t));for(const n in t){const a=t[n];let s;ze(a)?"default"in a?s=Jr(a.from||n,a.default,!0):s=Jr(a.from||n):s=Jr(a),Ue(s)?Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:()=>s.value,set:i=>s.value=i}):e[n]=s}}function Js(t,e,r){It(ie(t)?t.map(n=>n.bind(e.proxy)):t.bind(e.proxy),e,r)}function jl(t,e,r,n){let a=n.includes(".")?uo(r,n):()=>r[n];if(Pe(t)){const s=e[t];ue(s)&&Wn(a,s)}else if(ue(t))Wn(a,t.bind(r));else if(ze(t))if(ie(t))t.forEach(s=>jl(s,e,r,n));else{const s=ue(t.handler)?t.handler.bind(r):e[t.handler];ue(s)&&Wn(a,s,t)}}function os(t){const e=t.type,{mixins:r,extends:n}=e,{mixins:a,optionsCache:s,config:{optionMergeStrategies:i}}=t.appContext,l=s.get(e);let u;return l?u=l:!a.length&&!r&&!n?u=e:(u={},a.length&&a.forEach(f=>hn(u,f,i,!0)),hn(u,e,i)),ze(e)&&s.set(e,u),u}function hn(t,e,r,n=!1){const{mixins:a,extends:s}=e;s&&hn(t,s,r,!0),a&&a.forEach(i=>hn(t,i,r,!0));for(const i in e)if(!(n&&i==="expose")){const l=Mc[i]||r&&r[i];t[i]=l?l(t[i],e[i]):e[i]}return t}const Mc={data:Qs,props:ei,emits:ei,methods:ar,computed:ar,beforeCreate:je,created:je,beforeMount:je,mounted:je,beforeUpdate:je,updated:je,beforeDestroy:je,beforeUnmount:je,destroyed:je,unmounted:je,activated:je,deactivated:je,errorCaptured:je,serverPrefetch:je,components:ar,directives:ar,watch:qc,provide:Qs,inject:Ac};function Qs(t,e){return e?t?function(){return Le(ue(t)?t.call(this,this):t,ue(e)?e.call(this,this):e)}:e:t}function Ac(t,e){return ar(xa(t),xa(e))}function xa(t){if(ie(t)){const e={};for(let r=0;r1)return r&&ue(e)?e.call(n&&n.proxy):e}}const Xl={},Yl=()=>Object.create(Xl),Zl=t=>Object.getPrototypeOf(t)===Xl;function _c(t,e,r,n=!1){const a={},s=Yl();t.propsDefaults=Object.create(null),Jl(t,e,a,s);for(const i in t.propsOptions[0])i in a||(a[i]=void 0);r?t.props=n?a:$u(a):t.type.props?t.props=a:t.props=s,t.attrs=s}function Dc(t,e,r,n){const{props:a,attrs:s,vnode:{patchFlag:i}}=t,l=be(a),[u]=t.propsOptions;let f=!1;if((n||i>0)&&!(i&16)){if(i&8){const d=t.vnode.dynamicProps;for(let p=0;p{u=!0;const[g,w]=Ql(p,e,!0);Le(i,g),w&&l.push(...w)};!r&&e.mixins.length&&e.mixins.forEach(d),t.extends&&d(t.extends),t.mixins&&t.mixins.forEach(d)}if(!s&&!u)return ze(t)&&n.set(t,O0),O0;if(ie(s))for(let d=0;dt[0]==="_"||t==="$stable",us=t=>ie(t)?t.map(gt):[gt(t)],Nc=(t,e,r)=>{if(e._n)return e;const n=ec((...a)=>us(e(...a)),r);return n._c=!1,n},to=(t,e,r)=>{const n=t._ctx;for(const a in t){if(eo(a))continue;const s=t[a];if(ue(s))e[a]=Nc(a,s,n);else if(s!=null){const i=us(s);e[a]=()=>i}}},ro=(t,e)=>{const r=us(e);t.slots.default=()=>r},no=(t,e,r)=>{for(const n in e)(r||n!=="_")&&(t[n]=e[n])},Oc=(t,e,r)=>{const n=t.slots=Yl();if(t.vnode.shapeFlag&32){const a=e._;a?(no(n,e,r),r&&pl(n,"_",a,!0)):to(e,n)}else e&&ro(t,e)},Rc=(t,e,r)=>{const{vnode:n,slots:a}=t;let s=!0,i=Se;if(n.shapeFlag&32){const l=e._;l?r&&l===1?s=!1:no(a,e,r):(s=!e.$stable,to(e,a)),i=e}else e&&(ro(t,e),i={default:1});if(s)for(const l in a)!eo(l)&&i[l]==null&&delete a[l]},lt=fo;function Ic(t){return ao(t)}function Pc(t){return ao(t,ic)}function ao(t,e){const r=gl();r.__VUE__=!0;const{insert:n,remove:a,patchProp:s,createElement:i,createText:l,createComment:u,setText:f,setElementText:d,parentNode:p,nextSibling:g,setScopeId:w=Nt,insertStaticContent:A}=t,q=(y,k,z,R=null,_=null,B=null,$=void 0,V=null,F=!!k.dynamicChildren)=>{if(y===k)return;y&&!tr(y,k)&&(R=xt(y),Ee(y,_,B,!0),y=null),k.patchFlag===-2&&(F=!1,k.dynamicChildren=null);const{type:I,ref:ae,shapeFlag:j}=k;switch(I){case M0:E(y,k,z,R);break;case h0:C(y,k,z,R);break;case or:y==null&&L(k,z,R,$);break;case pt:ce(y,k,z,R,_,B,$,V,F);break;default:j&1?N(y,k,z,R,_,B,$,V,F):j&6?ge(y,k,z,R,_,B,$,V,F):(j&64||j&128)&&I.process(y,k,z,R,_,B,$,V,F,kt)}ae!=null&&_&&cn(ae,y&&y.ref,B,k||y,!k)},E=(y,k,z,R)=>{if(y==null)n(k.el=l(k.children),z,R);else{const _=k.el=y.el;k.children!==y.children&&f(_,k.children)}},C=(y,k,z,R)=>{y==null?n(k.el=u(k.children||""),z,R):k.el=y.el},L=(y,k,z,R)=>{[y.el,y.anchor]=A(y.children,k,z,R,y.el,y.anchor)},S=({el:y,anchor:k},z,R)=>{let _;for(;y&&y!==k;)_=g(y),n(y,z,R),y=_;n(k,z,R)},M=({el:y,anchor:k})=>{let z;for(;y&&y!==k;)z=g(y),a(y),y=z;a(k)},N=(y,k,z,R,_,B,$,V,F)=>{k.type==="svg"?$="svg":k.type==="math"&&($="mathml"),y==null?G(k,z,R,_,B,$,V,F):Y(y,k,_,B,$,V,F)},G=(y,k,z,R,_,B,$,V)=>{let F,I;const{props:ae,shapeFlag:j,transition:J,dirs:le}=y;if(F=y.el=i(y.type,B,ae&&ae.is,ae),j&8?d(F,y.children):j&16&&ee(y.children,F,null,R,_,Gn(y,B),$,V),le&&_t(y,null,R,"created"),W(F,y,y.scopeId,$,R),ae){for(const Ae in ae)Ae!=="value"&&!I0(Ae)&&s(F,Ae,null,ae[Ae],B,R);"value"in ae&&s(F,"value",null,ae.value,B),(I=ae.onVnodeBeforeMount)&&mt(I,R,y)}le&&_t(y,null,R,"beforeMount");const me=so(_,J);me&&J.beforeEnter(F),n(F,k,z),((I=ae&&ae.onVnodeMounted)||me||le)&<(()=>{I&&mt(I,R,y),me&&J.enter(F),le&&_t(y,null,R,"mounted")},_)},W=(y,k,z,R,_)=>{if(z&&w(y,z),R)for(let B=0;B{for(let I=F;I{const V=k.el=y.el;let{patchFlag:F,dynamicChildren:I,dirs:ae}=k;F|=y.patchFlag&16;const j=y.props||Se,J=k.props||Se;let le;if(z&&y0(z,!1),(le=J.onVnodeBeforeUpdate)&&mt(le,z,k,y),ae&&_t(k,y,z,"beforeUpdate"),z&&y0(z,!0),(j.innerHTML&&J.innerHTML==null||j.textContent&&J.textContent==null)&&d(V,""),I?te(y.dynamicChildren,I,V,z,R,Gn(k,_),B):$||Z(y,k,V,null,z,R,Gn(k,_),B,!1),F>0){if(F&16)de(V,j,J,z,_);else if(F&2&&j.class!==J.class&&s(V,"class",null,J.class,_),F&4&&s(V,"style",j.style,J.style,_),F&8){const me=k.dynamicProps;for(let Ae=0;Ae{le&&mt(le,z,k,y),ae&&_t(k,y,z,"updated")},R)},te=(y,k,z,R,_,B,$)=>{for(let V=0;V{if(k!==z){if(k!==Se)for(const B in k)!I0(B)&&!(B in z)&&s(y,B,k[B],null,_,R);for(const B in z){if(I0(B))continue;const $=z[B],V=k[B];$!==V&&B!=="value"&&s(y,B,V,$,_,R)}"value"in z&&s(y,"value",k.value,z.value,_)}},ce=(y,k,z,R,_,B,$,V,F)=>{const I=k.el=y?y.el:l(""),ae=k.anchor=y?y.anchor:l("");let{patchFlag:j,dynamicChildren:J,slotScopeIds:le}=k;le&&(V=V?V.concat(le):le),y==null?(n(I,z,R),n(ae,z,R),ee(k.children||[],z,ae,_,B,$,V,F)):j>0&&j&64&&J&&y.dynamicChildren?(te(y.dynamicChildren,J,z,_,B,$,V),(k.key!=null||_&&k===_.subTree)&&io(y,k,!0)):Z(y,k,z,ae,_,B,$,V,F)},ge=(y,k,z,R,_,B,$,V,F)=>{k.slotScopeIds=V,y==null?k.shapeFlag&512?_.ctx.activate(k,z,R,$,F):we(k,z,R,_,B,$,F):Me(y,k,F)},we=(y,k,z,R,_,B,$)=>{const V=y.component=a4(y,R,_);if(Vl(y)&&(V.ctx.renderer=kt),s4(V,!1,$),V.asyncDep){if(_&&_.registerDep(V,X,$),!y.el){const F=V.subTree=Qe(h0);C(null,F,k,z)}}else X(V,y,k,z,_,B,$)},Me=(y,k,z)=>{const R=k.component=y.component;if(jc(y,k,z))if(R.asyncDep&&!R.asyncResolved){he(R,k,z);return}else R.next=k,R.update();else k.el=y.el,R.vnode=k},X=(y,k,z,R,_,B,$)=>{const V=()=>{if(y.isMounted){let{next:j,bu:J,u:le,parent:me,vnode:Ae}=y;{const st=lo(y);if(st){j&&(j.el=Ae.el,he(y,j,$)),st.asyncDep.then(()=>{y.isUnmounted||V()});return}}let ye=j,at;y0(y,!1),j?(j.el=Ae.el,he(y,j,$)):j=Ae,J&&Zr(J),(at=j.props&&j.props.onVnodeBeforeUpdate)&&mt(at,me,j,Ae),y0(y,!0);const $e=jn(y),St=y.subTree;y.subTree=$e,q(St,$e,p(St.el),xt(St),y,_,B),j.el=$e.el,ye===null&&Kc(y,$e.el),le&<(le,_),(at=j.props&&j.props.onVnodeUpdated)&<(()=>mt(at,me,j,Ae),_)}else{let j;const{el:J,props:le}=k,{bm:me,m:Ae,parent:ye,root:at,type:$e}=y,St=L0(k);if(y0(y,!1),me&&Zr(me),!St&&(j=le&&le.onVnodeBeforeMount)&&mt(j,ye,k),y0(y,!0),J&&J0){const st=()=>{y.subTree=jn(y),J0(J,y.subTree,y,_,null)};St&&$e.__asyncHydrate?$e.__asyncHydrate(J,y,st):st()}else{at.ce&&at.ce._injectChildStyle($e);const st=y.subTree=jn(y);q(null,st,z,R,y,_,B),k.el=st.el}if(Ae&<(Ae,_),!St&&(j=le&&le.onVnodeMounted)){const st=k;lt(()=>mt(j,ye,st),_)}(k.shapeFlag&256||ye&&L0(ye.vnode)&&ye.vnode.shapeFlag&256)&&y.a&<(y.a,_),y.isMounted=!0,k=z=R=null}};y.scope.on();const F=y.effect=new xl(V);y.scope.off();const I=y.update=F.run.bind(F),ae=y.job=F.runIfDirty.bind(F);ae.i=y,ae.id=y.uid,F.scheduler=()=>ss(ae),y0(y,!0),I()},he=(y,k,z)=>{k.component=y;const R=y.vnode.props;y.vnode=k,y.next=null,Dc(y,k.props,R,z),Rc(y,k.children,z),p0(),js(y),g0()},Z=(y,k,z,R,_,B,$,V,F=!1)=>{const I=y&&y.children,ae=y?y.shapeFlag:0,j=k.children,{patchFlag:J,shapeFlag:le}=k;if(J>0){if(J&128){nt(I,j,z,R,_,B,$,V,F);return}else if(J&256){Oe(I,j,z,R,_,B,$,V,F);return}}le&8?(ae&16&&r0(I,_,B),j!==I&&d(z,j)):ae&16?le&16?nt(I,j,z,R,_,B,$,V,F):r0(I,_,B,!0):(ae&8&&d(z,""),le&16&&ee(j,z,R,_,B,$,V,F))},Oe=(y,k,z,R,_,B,$,V,F)=>{y=y||O0,k=k||O0;const I=y.length,ae=k.length,j=Math.min(I,ae);let J;for(J=0;Jae?r0(y,_,B,!0,!1,j):ee(k,z,R,_,B,$,V,F,j)},nt=(y,k,z,R,_,B,$,V,F)=>{let I=0;const ae=k.length;let j=y.length-1,J=ae-1;for(;I<=j&&I<=J;){const le=y[I],me=k[I]=F?o0(k[I]):gt(k[I]);if(tr(le,me))q(le,me,z,null,_,B,$,V,F);else break;I++}for(;I<=j&&I<=J;){const le=y[j],me=k[J]=F?o0(k[J]):gt(k[J]);if(tr(le,me))q(le,me,z,null,_,B,$,V,F);else break;j--,J--}if(I>j){if(I<=J){const le=J+1,me=leJ)for(;I<=j;)Ee(y[I],_,B,!0),I++;else{const le=I,me=I,Ae=new Map;for(I=me;I<=J;I++){const it=k[I]=F?o0(k[I]):gt(k[I]);it.key!=null&&Ae.set(it.key,I)}let ye,at=0;const $e=J-me+1;let St=!1,st=0;const Q0=new Array($e);for(I=0;I<$e;I++)Q0[I]=0;for(I=le;I<=j;I++){const it=y[I];if(at>=$e){Ee(it,_,B,!0);continue}let Ct;if(it.key!=null)Ct=Ae.get(it.key);else for(ye=me;ye<=J;ye++)if(Q0[ye-me]===0&&tr(it,k[ye])){Ct=ye;break}Ct===void 0?Ee(it,_,B,!0):(Q0[Ct-me]=I+1,Ct>=st?st=Ct:St=!0,q(it,k[Ct],z,null,_,B,$,V,F),at++)}const Ds=St?Hc(Q0):O0;for(ye=Ds.length-1,I=$e-1;I>=0;I--){const it=me+I,Ct=k[it],Bs=it+1{const{el:B,type:$,transition:V,children:F,shapeFlag:I}=y;if(I&6){Fe(y.component.subTree,k,z,R);return}if(I&128){y.suspense.move(k,z,R);return}if(I&64){$.move(y,k,z,kt);return}if($===pt){n(B,k,z);for(let j=0;jV.enter(B),_);else{const{leave:j,delayLeave:J,afterLeave:le}=V,me=()=>n(B,k,z),Ae=()=>{j(B,()=>{me(),le&&le()})};J?J(B,me,Ae):Ae()}else n(B,k,z)},Ee=(y,k,z,R=!1,_=!1)=>{const{type:B,props:$,ref:V,children:F,dynamicChildren:I,shapeFlag:ae,patchFlag:j,dirs:J,cacheIndex:le}=y;if(j===-2&&(_=!1),V!=null&&cn(V,null,z,y,!0),le!=null&&(k.renderCache[le]=void 0),ae&256){k.ctx.deactivate(y);return}const me=ae&1&&J,Ae=!L0(y);let ye;if(Ae&&(ye=$&&$.onVnodeBeforeUnmount)&&mt(ye,k,y),ae&6)t0(y.component,z,R);else{if(ae&128){y.suspense.unmount(z,R);return}me&&_t(y,null,k,"beforeUnmount"),ae&64?y.type.remove(y,k,z,kt,R):I&&!I.hasOnce&&(B!==pt||j>0&&j&64)?r0(I,k,z,!1,!0):(B===pt&&j&384||!_&&ae&16)&&r0(F,k,z),R&&e0(y)}(Ae&&(ye=$&&$.onVnodeUnmounted)||me)&<(()=>{ye&&mt(ye,k,y),me&&_t(y,null,k,"unmounted")},z)},e0=y=>{const{type:k,el:z,anchor:R,transition:_}=y;if(k===pt){Y0(z,R);return}if(k===or){M(y);return}const B=()=>{a(z),_&&!_.persisted&&_.afterLeave&&_.afterLeave()};if(y.shapeFlag&1&&_&&!_.persisted){const{leave:$,delayLeave:V}=_,F=()=>$(z,B);V?V(y.el,B,F):F()}else B()},Y0=(y,k)=>{let z;for(;y!==k;)z=g(y),a(y),y=z;a(k)},t0=(y,k,z)=>{const{bum:R,scope:_,job:B,subTree:$,um:V,m:F,a:I}=y;ri(F),ri(I),R&&Zr(R),_.stop(),B&&(B.flags|=8,Ee($,y,k,z)),V&<(V,k),lt(()=>{y.isUnmounted=!0},k),k&&k.pendingBranch&&!k.isUnmounted&&y.asyncDep&&!y.asyncResolved&&y.suspenseId===k.pendingId&&(k.deps--,k.deps===0&&k.resolve())},r0=(y,k,z,R=!1,_=!1,B=0)=>{for(let $=B;${if(y.shapeFlag&6)return xt(y.component.subTree);if(y.shapeFlag&128)return y.suspense.next();const k=g(y.anchor||y.el),z=k&&k[tc];return z?g(z):k};let zt=!1;const b0=(y,k,z)=>{y==null?k._vnode&&Ee(k._vnode,null,null,!0):q(k._vnode||null,y,k,null,null,null,z),k._vnode=y,zt||(zt=!0,js(),on(),zt=!1)},kt={p:q,um:Ee,m:Fe,r:e0,mt:we,mc:ee,pc:Z,pbc:te,n:xt,o:t};let Z0,J0;return e&&([Z0,J0]=e(kt)),{render:b0,hydrate:Z0,createApp:Cc(b0,Z0)}}function Gn({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 y0({effect:t,job:e},r){r?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function so(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function io(t,e,r=!1){const n=t.children,a=e.children;if(ie(n)&&ie(a))for(let s=0;s>1,t[r[l]]0&&(e[n]=r[s-1]),r[s]=n)}}for(s=r.length,i=r[s-1];s-- >0;)r[s]=i,i=e[i];return r}function lo(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:lo(e)}function ri(t){if(t)for(let e=0;eJr(Lc);function Wn(t,e,r){return oo(t,e,r)}function oo(t,e,r=Se){const{immediate:n,deep:a,flush:s,once:i}=r,l=Le({},r);let u;if(Cn)if(s==="sync"){const g=Fc();u=g.__watcherHandles||(g.__watcherHandles=[])}else if(!e||n)l.once=!0;else return{stop:Nt,resume:Nt,pause:Nt};const f=Ve;l.call=(g,w,A)=>It(g,f,w,A);let d=!1;s==="post"?l.scheduler=g=>{lt(g,f&&f.suspense)}:s!=="sync"&&(d=!0,l.scheduler=(g,w)=>{w?g():ss(g)}),l.augmentJob=g=>{e&&(g.flags|=4),d&&(g.flags|=2,f&&(g.id=f.uid,g.i=f))};const p=Yu(t,e,l);return u&&u.push(p),p}function $c(t,e,r){const n=this.proxy,a=Pe(t)?t.includes(".")?uo(n,t):()=>n[t]:t.bind(n,n);let s;ue(e)?s=e:(s=e.handler,r=e);const i=Ar(this),l=oo(a,s.bind(n),r);return i(),l}function uo(t,e){const r=e.split(".");return()=>{let n=t;for(let a=0;ae==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${qt(e)}Modifiers`]||t[`${z0(e)}Modifiers`];function Uc(t,e,...r){if(t.isUnmounted)return;const n=t.vnode.props||Se;let a=r;const s=e.startsWith("update:"),i=s&&Vc(n,e.slice(7));i&&(i.trim&&(a=r.map(d=>Pe(d)?d.trim():d)),i.number&&(a=r.map(ma)));let l,u=n[l=Hn(e)]||n[l=Hn(qt(e))];!u&&s&&(u=n[l=Hn(z0(e))]),u&&It(u,t,6,a);const f=n[l+"Once"];if(f){if(!t.emitted)t.emitted={};else if(t.emitted[l])return;t.emitted[l]=!0,It(f,t,6,a)}}function co(t,e,r=!1){const n=e.emitsCache,a=n.get(t);if(a!==void 0)return a;const s=t.emits;let i={},l=!1;if(!ue(t)){const u=f=>{const d=co(f,e,!0);d&&(l=!0,Le(i,d))};!r&&e.mixins.length&&e.mixins.forEach(u),t.extends&&u(t.extends),t.mixins&&t.mixins.forEach(u)}return!s&&!l?(ze(t)&&n.set(t,null),null):(ie(s)?s.forEach(u=>i[u]=null):Le(i,s),ze(t)&&n.set(t,i),i)}function zn(t,e){return!t||!Sr(e)?!1:(e=e.slice(2).replace(/Once$/,""),ve(t,e[0].toLowerCase()+e.slice(1))||ve(t,z0(e))||ve(t,e))}function jn(t){const{type:e,vnode:r,proxy:n,withProxy:a,propsOptions:[s],slots:i,attrs:l,emit:u,render:f,renderCache:d,props:p,data:g,setupState:w,ctx:A,inheritAttrs:q}=t,E=un(t);let C,L;try{if(r.shapeFlag&4){const M=a||n,N=M;C=gt(f.call(N,M,d,p,w,g,A)),L=l}else{const M=e;C=gt(M.length>1?M(p,{attrs:l,slots:i,emit:u}):M(p,null)),L=e.props?l:Gc(l)}}catch(M){ur.length=0,An(M,t,1),C=Qe(h0)}let S=C;if(L&&q!==!1){const M=Object.keys(L),{shapeFlag:N}=S;M.length&&N&7&&(s&&M.some($a)&&(L=Wc(L,s)),S=W0(S,L,!1,!0))}return r.dirs&&(S=W0(S,null,!1,!0),S.dirs=S.dirs?S.dirs.concat(r.dirs):r.dirs),r.transition&&is(S,r.transition),C=S,un(E),C}const Gc=t=>{let e;for(const r in t)(r==="class"||r==="style"||Sr(r))&&((e||(e={}))[r]=t[r]);return e},Wc=(t,e)=>{const r={};for(const n in t)(!$a(n)||!(n.slice(9)in e))&&(r[n]=t[n]);return r};function jc(t,e,r){const{props:n,children:a,component:s}=t,{props:i,children:l,patchFlag:u}=e,f=s.emitsOptions;if(e.dirs||e.transition)return!0;if(r&&u>=0){if(u&1024)return!0;if(u&16)return n?ni(n,i,f):!!i;if(u&8){const d=e.dynamicProps;for(let p=0;pt.__isSuspense;function fo(t,e){e&&e.pendingBranch?ie(t)?e.effects.push(...t):e.effects.push(t):Qu(t)}const pt=Symbol.for("v-fgt"),M0=Symbol.for("v-txt"),h0=Symbol.for("v-cmt"),or=Symbol.for("v-stc"),ur=[];let ht=null;function A0(t=!1){ur.push(ht=t?null:[])}function Xc(){ur.pop(),ht=ur[ur.length-1]||null}let yr=1;function ai(t){yr+=t,t<0&&ht&&(ht.hasOnce=!0)}function mo(t){return t.dynamicChildren=yr>0?ht||O0:null,Xc(),yr>0&&ht&&ht.push(t),t}function $0(t,e,r,n,a,s){return mo(oe(t,e,r,n,a,s,!0))}function Yc(t,e,r,n,a){return mo(Qe(t,e,r,n,a,!0))}function Zc(t){return t?t.__v_isVNode===!0:!1}function tr(t,e){return t.type===e.type&&t.key===e.key}const po=({key:t})=>t??null,Qr=({ref:t,ref_key:e,ref_for:r})=>(typeof t=="number"&&(t=""+t),t!=null?Pe(t)||Ue(t)||ue(t)?{i:ct,r:t,k:e,f:!!r}:t:null);function oe(t,e=null,r=null,n=0,a=null,s=t===pt?0:1,i=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&po(e),ref:e&&Qr(e),scopeId:Ll,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:n,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:ct};return l?(cs(u,r),s&128&&t.normalize(u)):r&&(u.shapeFlag|=Pe(r)?8:16),yr>0&&!i&&ht&&(u.patchFlag>0||s&6)&&u.patchFlag!==32&&ht.push(u),u}const Qe=Jc;function Jc(t,e=null,r=null,n=0,a=null,s=!1){if((!t||t===wc)&&(t=h0),Zc(t)){const l=W0(t,e,!0);return r&&cs(l,r),yr>0&&!s&&ht&&(l.shapeFlag&6?ht[ht.indexOf(t)]=l:ht.push(l)),l.patchFlag=-2,l}if(c4(t)&&(t=t.__vccOpts),e){e=Qc(e);let{class:l,style:u}=e;l&&!Pe(l)&&(e.class=kn(l)),ze(u)&&(rs(u)&&!ie(u)&&(u=Le({},u)),e.style=Ga(u))}const i=Pe(t)?1:ho(t)?128:rc(t)?64:ze(t)?4:ue(t)?2:0;return oe(t,e,r,n,a,i,s,!0)}function Qc(t){return t?rs(t)||Zl(t)?Le({},t):t:null}function W0(t,e,r=!1,n=!1){const{props:a,ref:s,patchFlag:i,children:l,transition:u}=t,f=e?t4(a||{},e):a,d={__v_isVNode:!0,__v_skip:!0,type:t.type,props:f,key:f&&po(f),ref:e&&e.ref?r&&s?ie(s)?s.concat(Qr(e)):[s,Qr(e)]:Qr(e):s,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:l,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==pt?i===-1?16:i|16:i,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:u,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&W0(t.ssContent),ssFallback:t.ssFallback&&W0(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return u&&n&&is(d,u.clone(d)),d}function cr(t=" ",e=0){return Qe(M0,null,t,e)}function e4(t,e){const r=Qe(or,null,t);return r.staticCount=e,r}function si(t="",e=!1){return e?(A0(),Yc(h0,null,t)):Qe(h0,null,t)}function gt(t){return t==null||typeof t=="boolean"?Qe(h0):ie(t)?Qe(pt,null,t.slice()):typeof t=="object"?o0(t):Qe(M0,null,String(t))}function o0(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:W0(t)}function cs(t,e){let r=0;const{shapeFlag:n}=t;if(e==null)e=null;else if(ie(e))r=16;else if(typeof e=="object")if(n&65){const a=e.default;a&&(a._c&&(a._d=!1),cs(t,a()),a._c&&(a._d=!0));return}else{r=32;const a=e._;!a&&!Zl(e)?e._ctx=ct:a===3&&ct&&(ct.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else ue(e)?(e={default:e,_ctx:ct},r=32):(e=String(e),n&64?(r=16,e=[cr(e)]):r=8);t.children=e,t.shapeFlag|=r}function t4(...t){const e={};for(let r=0;r{let a;return(a=t[r])||(a=t[r]=[]),a.push(n),s=>{a.length>1?a.forEach(i=>i(s)):a[0](s)}};fn=e("__VUE_INSTANCE_SETTERS__",r=>Ve=r),Sa=e("__VUE_SSR_SETTERS__",r=>Cn=r)}const Ar=t=>{const e=Ve;return fn(t),t.scope.on(),()=>{t.scope.off(),fn(e)}},ii=()=>{Ve&&Ve.scope.off(),fn(null)};function go(t){return t.vnode.shapeFlag&4}let Cn=!1;function s4(t,e=!1,r=!1){e&&Sa(e);const{props:n,children:a}=t.vnode,s=go(t);_c(t,n,s,e),Oc(t,a,r);const i=s?i4(t,e):void 0;return e&&Sa(!1),i}function i4(t,e){const r=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,kc);const{setup:n}=r;if(n){const a=t.setupContext=n.length>1?o4(t):null,s=Ar(t);p0();const i=Mr(n,t,0,[t.props,a]);if(g0(),s(),fl(i)){if(L0(t)||$l(t),i.then(ii,ii),e)return i.then(l=>{li(t,l,e)}).catch(l=>{An(l,t,0)});t.asyncDep=i}else li(t,i,e)}else vo(t,e)}function li(t,e,r){ue(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:ze(e)&&(t.setupState=Ol(e)),vo(t,r)}let oi;function vo(t,e,r){const n=t.type;if(!t.render){if(!e&&oi&&!n.render){const a=n.template||os(t).template;if(a){const{isCustomElement:s,compilerOptions:i}=t.appContext.config,{delimiters:l,compilerOptions:u}=n,f=Le(Le({isCustomElement:s,delimiters:l},i),u);n.render=oi(a,f)}}t.render=n.render||Nt}{const a=Ar(t);p0();try{Sc(t)}finally{g0(),a()}}}const l4={get(t,e){return Ge(t,"get",""),t[e]}};function o4(t){const e=r=>{t.exposed=r||{}};return{attrs:new Proxy(t.attrs,l4),slots:t.slots,emit:t.emit,expose:e}}function En(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(Ol(Vu(t.exposed)),{get(e,r){if(r in e)return e[r];if(r in lr)return lr[r](t)},has(e,r){return r in e||r in lr}})):t.proxy}function u4(t,e=!0){return ue(t)?t.displayName||t.name:t.name||e&&t.__name}function c4(t){return ue(t)&&"__vccOpts"in t}const Ta=(t,e)=>Ku(t,e,Cn),bo="3.5.4";/** * @vue/runtime-dom v3.5.4 * (c) 2018-present Yuxi (Evan) You and Vue contributors * @license MIT -**/let Ta;const ui=typeof window<"u"&&window.trustedTypes;if(ui)try{Ta=ui.createPolicy("vue",{createHTML:t=>t})}catch{}const yo=Ta?t=>Ta.createHTML(t):t=>t,h4="http://www.w3.org/2000/svg",f4="http://www.w3.org/1998/Math/MathML",Vt=typeof document<"u"?document:null,ci=Vt&&Vt.createElement("template"),d4={insert:(t,e,r)=>{e.insertBefore(t,r||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,r,n)=>{const a=e==="svg"?Vt.createElementNS(h4,t):e==="mathml"?Vt.createElementNS(f4,t):r?Vt.createElement(t,{is:r}):Vt.createElement(t);return t==="select"&&n&&n.multiple!=null&&a.setAttribute("multiple",n.multiple),a},createText:t=>Vt.createTextNode(t),createComment:t=>Vt.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Vt.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,r,n,a,s){const i=r?r.previousSibling:e.lastChild;if(a&&(a===s||a.nextSibling))for(;e.insertBefore(a.cloneNode(!0),r),!(a===s||!(a=a.nextSibling)););else{ci.innerHTML=yo(n==="svg"?`${t}`:n==="mathml"?`${t}`:t);const l=ci.content;if(n==="svg"||n==="mathml"){const u=l.firstChild;for(;u.firstChild;)l.appendChild(u.firstChild);l.removeChild(u)}e.insertBefore(l,r)}return[i?i.nextSibling:e.firstChild,r?r.previousSibling:e.lastChild]}},m4=Symbol("_vtc");function p4(t,e,r){const n=t[m4];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):r?t.setAttribute("class",e):t.className=e}const hi=Symbol("_vod"),g4=Symbol("_vsh"),v4=Symbol(""),b4=/(^|;)\s*display\s*:/;function y4(t,e,r){const n=t.style,a=He(r);let s=!1;if(r&&!a){if(e)if(He(e))for(const i of e.split(";")){const l=i.slice(0,i.indexOf(":")).trim();r[l]==null&&Qr(n,l,"")}else for(const i in e)r[i]==null&&Qr(n,i,"");for(const i in r)i==="display"&&(s=!0),Qr(n,i,r[i])}else if(a){if(e!==r){const i=n[v4];i&&(r+=";"+i),n.cssText=r,s=b4.test(r)}}else e&&t.removeAttribute("style");hi in t&&(t[hi]=s?n.display:"",t[g4]&&(n.display="none"))}const fi=/\s*!important$/;function Qr(t,e,r){if(ie(r))r.forEach(n=>Qr(t,e,n));else if(r==null&&(r=""),e.startsWith("--"))t.setProperty(e,r);else{const n=w4(t,e);fi.test(r)?t.setProperty(z0(n),r.replace(fi,""),"important"):t[n]=r}}const di=["Webkit","Moz","ms"],jn={};function w4(t,e){const r=jn[e];if(r)return r;let n=Ct(e);if(n!=="filter"&&n in t)return jn[e]=n;n=wn(n);for(let a=0;aKn||(M4.then(()=>Kn=0),Kn=Date.now());function C4(t,e){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;It(z4(n,r.value),e,5,[n])};return r.value=t,r.attached=A4(),r}function z4(t,e){if(ie(e)){const r=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{r.call(t),t._stopped=!0},e.map(n=>a=>!a._stopped&&n&&n(a))}else return e}const bi=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,_4=(t,e,r,n,a,s)=>{const i=a==="svg";e==="class"?p4(t,n,i):e==="style"?y4(t,r,n):Sr(e)?$a(e)||k4(t,e,r,n,s):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):E4(t,e,n,i))?(x4(t,e,n),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&pi(t,e,n,i,s,e!=="value")):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),pi(t,e,n,i))};function E4(t,e,r,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&bi(e)&&ue(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 a=t.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return bi(e)&&He(r)?!1:!!(e in t||t._isVueCE&&(/[A-Z]/.test(e)||!He(r)))}const fn=t=>{const e=t.props["onUpdate:modelValue"]||!1;return ie(e)?r=>Yr(e,r):e};function D4(t){t.target.composing=!0}function yi(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const V0=Symbol("_assign"),q4={created(t,{modifiers:{lazy:e,trim:r,number:n}},a){t[V0]=fn(a);const s=n||a.props&&a.props.type==="number";k0(t,e?"change":"input",i=>{if(i.target.composing)return;let l=t.value;r&&(l=l.trim()),s&&(l=da(l)),t[V0](l)}),r&&k0(t,"change",()=>{t.value=t.value.trim()}),e||(k0(t,"compositionstart",D4),k0(t,"compositionend",yi),k0(t,"change",yi))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:r,modifiers:{lazy:n,trim:a,number:s}},i){if(t[V0]=fn(i),t.composing)return;const l=(s||t.type==="number")&&!/^0\d/.test(t.value)?da(t.value):t.value,u=e??"";l!==u&&(document.activeElement===t&&t.type!=="range"&&(n&&e===r||a&&t.value.trim()===u)||(t.value=u))}},B4={deep:!0,created(t,e,r){t[V0]=fn(r),k0(t,"change",()=>{const n=t._modelValue,a=N4(t),s=t.checked,i=t[V0];if(ie(n)){const l=bl(n,a),u=l!==-1;if(s&&!u)i(n.concat(a));else if(!s&&u){const f=[...n];f.splice(l,1),i(f)}}else if(bn(n)){const l=new Set(n);s?l.add(a):l.delete(a),i(l)}else i(wo(t,s))})},mounted:wi,beforeUpdate(t,e,r){t[V0]=fn(r),wi(t,e,r)}};function wi(t,{value:e,oldValue:r},n){t._modelValue=e;let a;ie(e)?a=bl(e,n.props.value)>-1:bn(e)?a=e.has(n.props.value):a=Sn(e,wo(t,!0)),t.checked!==a&&(t.checked=a)}function N4(t){return"_value"in t?t._value:t.value}function wo(t,e){const r=e?"_trueValue":"_falseValue";return r in t?t[r]:e}const xo=Le({patchProp:_4},d4);let hr,xi=!1;function O4(){return hr||(hr=Ic(xo))}function R4(){return hr=xi?hr:Hc(xo),xi=!0,hr}const I4=(...t)=>{const e=O4().createApp(...t),{mount:r}=e;return e.mount=n=>{const a=ko(n);if(!a)return;const s=e._component;!ue(s)&&!s.render&&!s.template&&(s.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const i=r(a,!1,So(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),i},e},H4=(...t)=>{const e=R4().createApp(...t),{mount:r}=e;return e.mount=n=>{const a=ko(n);if(a)return r(a,!0,So(a))},e};function So(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function ko(t){return He(t)?document.querySelector(t):t}const P4=bo[0]==="3";function L4(t){return typeof t=="function"?t():Tn(t)}function Ma(t){if(t instanceof Promise||t instanceof Date||t instanceof RegExp)return t;const e=L4(t);if(!t||!e)return e;if(Array.isArray(e))return e.map(r=>Ma(r));if(typeof e=="object"){const r={};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(n==="titleTemplate"||n[0]==="o"&&n[1]==="n"){r[n]=Tn(e[n]);continue}r[n]=Ma(e[n])}return r}return e}const F4={hooks:{"entries:resolve":t=>{for(const e of t.entries)e.resolvedInput=Ma(e.input)}}},$4="usehead";function V4(t){return{install(r){P4&&(r.config.globalProperties.$unhead=t,r.config.globalProperties.$head=t,r.provide($4,t))}}.install}function U4(t={}){t.domDelayFn=t.domDelayFn||(r=>Il(()=>setTimeout(()=>r(),0)));const e=iu(t);return e.use(F4),e.install=V4(e),e}function W4(t){return document.readyState==="loading"?new Promise(e=>{document.addEventListener("DOMContentLoaded",()=>e(t))}):Promise.resolve(t)}const G4=nc({setup(t,{slots:e}){const r=B0(!1);return ls(()=>r.value=!0),()=>r.value?e.default&&e.default({}):e.placeholder&&e.placeholder({})}});function j4(t){try{return JSON.parse(t||"{}")}catch(e){return console.error("[SSG] On state deserialization -",e,t),{}}}function K4(t,e,r={}){const{transformState:n,registerComponents:a=!0,useHead:s=!0,rootContainer:i="#app"}=r,l=typeof window<"u";async function u(f=!1){const d=f?I4(t):H4(t);let p;s&&(p=U4(),d.use(p));const g=[],C={app:d,head:p,isClient:l,router:void 0,routes:void 0,initialState:{},onSSRAppRendered:f?()=>{}:_=>g.push(_),triggerOnSSRAppRendered:()=>Promise.all(g.map(_=>_())),transformState:n};a&&d.component("ClientOnly",G4),f&&(await W4(),C.initialState=(n==null?void 0:n(window.__INITIAL_STATE__||{}))||j4(window.__INITIAL_STATE__)),await(e==null?void 0:e(C));const E=C.initialState;return{...C,initialState:E}}return l&&(async()=>{const{app:f}=await u(!0);f.mount(i,!0)})(),u}const X4="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",Y4="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",Z4="data:image/svg+xml,%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20height='32px'%20viewBox='0%200%2032%2032'%20width='32px'%3e%3cg%3e%3cpath%20d='M30.391,12.68l-3.064-0.614c-0.154-0.443-0.336-0.873-0.537-1.289l1.736-2.604%20c0.529-0.793,0.424-1.85-0.25-2.523l-1.924-1.924c-0.387-0.387-0.898-0.586-1.416-0.586c-0.383,0-0.77,0.11-1.107,0.336%20l-2.604,1.735c-0.418-0.202-0.848-0.382-1.291-0.536L19.32,1.61c-0.186-0.936-1.008-1.608-1.961-1.608h-2.72%20c-0.953,0-1.774,0.673-1.961,1.608l-0.614,3.065c-0.443,0.154-0.873,0.335-1.289,0.536L8.172,3.476%20C7.833,3.25,7.447,3.14,7.063,3.14c-0.517,0-1.028,0.199-1.415,0.586L3.725,5.65c-0.674,0.674-0.779,1.73-0.25,2.523l1.735,2.604%20c-0.202,0.417-0.382,0.847-0.536,1.29L1.608,12.68C0.673,12.867,0,13.688,0,14.641v2.72c0,0.953,0.673,1.775,1.608,1.961%20l3.065,0.615c0.154,0.443,0.335,0.873,0.536,1.289L3.475,23.83c-0.529,0.793-0.424,1.85,0.25,2.523l1.924,1.924%20c0.387,0.387,0.898,0.586,1.415,0.586c0.384,0,0.771-0.111,1.108-0.336l2.604-1.736c0.417,0.203,0.847,0.383,1.29,0.537%20l0.613,3.064c0.187,0.936,1.008,1.609,1.961,1.609h2.72c0.953,0,1.775-0.674,1.961-1.609l0.615-3.064%20c0.443-0.154,0.873-0.336,1.289-0.537l2.604,1.736c0.338,0.225,0.725,0.336,1.107,0.336c0.518,0,1.029-0.199,1.416-0.586%20l1.924-1.924c0.674-0.674,0.779-1.73,0.25-2.523l-1.736-2.604c0.203-0.418,0.383-0.848,0.537-1.291l3.064-0.613%20C31.326,19.137,32,18.314,32,17.361v-2.72C32,13.688,31.326,12.867,30.391,12.68z%20M26.934,17.975%20c-0.695,0.139-1.264,0.635-1.496,1.305c-0.129,0.369-0.279,0.727-0.447,1.074c-0.311,0.639-0.258,1.393,0.135,1.982l1.736,2.604%20l-1.924,1.924l-2.604-1.736c-0.334-0.223-0.721-0.336-1.109-0.336c-0.297,0-0.596,0.066-0.871,0.199%20c-0.348,0.168-0.705,0.32-1.076,0.449c-0.668,0.232-1.164,0.801-1.303,1.496l-0.615,3.066h-2.72l-0.613-3.066%20c-0.139-0.695-0.635-1.264-1.304-1.496c-0.369-0.129-0.728-0.279-1.075-0.447c-0.276-0.135-0.574-0.201-0.872-0.201%20c-0.389,0-0.775,0.113-1.109,0.336l-2.604,1.736l-1.924-1.924l1.735-2.604c0.393-0.59,0.444-1.344,0.137-1.98%20c-0.168-0.348-0.319-0.705-0.448-1.076c-0.232-0.668-0.802-1.164-1.496-1.303l-3.065-0.615L2,14.641l3.066-0.613%20c0.694-0.139,1.264-0.635,1.496-1.304c0.129-0.369,0.278-0.728,0.447-1.075c0.31-0.638,0.258-1.392-0.136-1.981L5.139,7.064%20L7.062,5.14l2.604,1.735C10,7.098,10.387,7.211,10.775,7.211c0.297,0,0.595-0.066,0.871-0.199c0.347-0.168,0.705-0.319,1.075-0.448%20c0.669-0.232,1.165-0.802,1.304-1.496l0.614-3.065l2.72-0.001l0.613,3.066c0.139,0.694,0.635,1.264,1.305,1.496%20c0.369,0.129,0.727,0.278,1.074,0.447c0.277,0.134,0.574,0.2,0.873,0.2c0.389,0,0.775-0.113,1.109-0.336l2.604-1.735l1.924,1.924%20l-1.736,2.604c-0.393,0.59-0.443,1.343-0.137,1.98c0.168,0.347,0.32,0.705,0.449,1.075c0.232,0.669,0.801,1.165,1.496,1.304%20l3.064,0.614L30,17.361L26.934,17.975z'%20fill='white'%20/%3e%3ccircle%20cx='16'%20cy='16'%20r='5'%20stroke='white'%20stroke-width='2'%20/%3e%3c/g%3e%3c/svg%3e";class ut{constructor(e,r,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=r,this.end=n}static range(e,r){return r?!e||!e.loc||!r.loc||e.loc.lexer!==r.loc.lexer?null:new ut(e.loc.lexer,e.loc.start,r.loc.end):e&&e.loc}}let Ot=class To{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 To(r,ut.range(this,e))}};class H{constructor(e,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n="KaTeX parse error: "+e,a,s,i=r&&r.loc;if(i&&i.start<=i.end){var l=i.lexer.input;a=i.start,s=i.end,a===l.length?n+=" at end of input: ":n+=" at position "+(a+1)+": ";var u=l.slice(a,s).replace(/[^]/g,"$&̲"),f;a>15?f="…"+l.slice(a-15,a):f=l.slice(0,a);var d;s+15":">","<":"<",'"':""","'":"'"},nh=/[&><"']/g;function ah(t){return String(t).replace(nh,e=>rh[e])}var Mo=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},sh=function(e){var r=Mo(e);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},ih=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},lh=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"},Q={contains:J4,deflt:Q4,escape:ah,hyphenate:th,getBaseElem:Mo,isCharacterBox:sh,protocolFromUrl:lh},en={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 oh(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 hs{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 en)if(en.hasOwnProperty(r)){var n=en[r];this[r]=e[r]!==void 0?n.processor?n.processor(e[r]):e[r]:oh(n)}}reportNonstrict(e,r,n){var a=this.strict;if(typeof a=="function"&&(a=a(e,r,n)),!(!a||a==="ignore")){if(a===!0||a==="error")throw new H("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+e+"]"),n);a==="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 '"+a+"': "+r+" ["+e+"]"))}}useStrictBehavior(e,r,n){var a=this.strict;if(typeof a=="function")try{a=a(e,r,n)}catch{a="error"}return!a||a==="ignore"?!1:a===!0||a==="error"?!0:a==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+r+" ["+e+"]")),!1)}isTrusted(e){if(e.url&&!e.protocol){var r=Q.protocolFromUrl(e.url);if(r==null)return!1;e.protocol=r}var n=typeof this.trust=="function"?this.trust(e):this.trust;return!!n}}class a0{constructor(e,r,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=r,this.cramped=n}sup(){return qt[uh[this.id]]}sub(){return qt[ch[this.id]]}fracNum(){return qt[hh[this.id]]}fracDen(){return qt[fh[this.id]]}cramp(){return qt[dh[this.id]]}text(){return qt[mh[this.id]]}isTight(){return this.size>=2}}var fs=0,dn=1,U0=2,jt=3,wr=4,bt=5,j0=6,Je=7,qt=[new a0(fs,0,!1),new a0(dn,0,!0),new a0(U0,1,!1),new a0(jt,1,!0),new a0(wr,2,!1),new a0(bt,2,!0),new a0(j0,3,!1),new a0(Je,3,!0)],uh=[wr,bt,wr,bt,j0,Je,j0,Je],ch=[bt,bt,bt,bt,Je,Je,Je,Je],hh=[U0,jt,wr,bt,j0,Je,j0,Je],fh=[jt,jt,bt,bt,Je,Je,Je,Je],dh=[dn,dn,jt,jt,bt,bt,Je,Je],mh=[fs,dn,U0,jt,U0,jt,U0,jt],ne={DISPLAY:qt[fs],TEXT:qt[U0],SCRIPT:qt[wr],SCRIPTSCRIPT:qt[j0]},Aa=[{name:"latin",blocks:[[256,591],[768,879]]},{name:"cyrillic",blocks:[[1024,1279]]},{name:"armenian",blocks:[[1328,1423]]},{name:"brahmic",blocks:[[2304,4255]]},{name:"georgian",blocks:[[4256,4351]]},{name:"cjk",blocks:[[12288,12543],[19968,40879],[65280,65376]]},{name:"hangul",blocks:[[44032,55215]]}];function ph(t){for(var e=0;e=a[0]&&t<=a[1])return r.name}return null}var tn=[];Aa.forEach(t=>t.blocks.forEach(e=>tn.push(...e)));function Ao(t){for(var e=0;e=tn[e]&&t<=tn[e+1])return!0;return!1}var q0=80,gh=function(e,r){return"M95,"+(622+e+r)+` +**/let Ma;const ui=typeof window<"u"&&window.trustedTypes;if(ui)try{Ma=ui.createPolicy("vue",{createHTML:t=>t})}catch{}const yo=Ma?t=>Ma.createHTML(t):t=>t,h4="http://www.w3.org/2000/svg",f4="http://www.w3.org/1998/Math/MathML",Vt=typeof document<"u"?document:null,ci=Vt&&Vt.createElement("template"),d4={insert:(t,e,r)=>{e.insertBefore(t,r||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,r,n)=>{const a=e==="svg"?Vt.createElementNS(h4,t):e==="mathml"?Vt.createElementNS(f4,t):r?Vt.createElement(t,{is:r}):Vt.createElement(t);return t==="select"&&n&&n.multiple!=null&&a.setAttribute("multiple",n.multiple),a},createText:t=>Vt.createTextNode(t),createComment:t=>Vt.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>Vt.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,r,n,a,s){const i=r?r.previousSibling:e.lastChild;if(a&&(a===s||a.nextSibling))for(;e.insertBefore(a.cloneNode(!0),r),!(a===s||!(a=a.nextSibling)););else{ci.innerHTML=yo(n==="svg"?`${t}`:n==="mathml"?`${t}`:t);const l=ci.content;if(n==="svg"||n==="mathml"){const u=l.firstChild;for(;u.firstChild;)l.appendChild(u.firstChild);l.removeChild(u)}e.insertBefore(l,r)}return[i?i.nextSibling:e.firstChild,r?r.previousSibling:e.lastChild]}},m4=Symbol("_vtc");function p4(t,e,r){const n=t[m4];n&&(e=(e?[e,...n]:[...n]).join(" ")),e==null?t.removeAttribute("class"):r?t.setAttribute("class",e):t.className=e}const hi=Symbol("_vod"),g4=Symbol("_vsh"),v4=Symbol(""),b4=/(^|;)\s*display\s*:/;function y4(t,e,r){const n=t.style,a=Pe(r);let s=!1;if(r&&!a){if(e)if(Pe(e))for(const i of e.split(";")){const l=i.slice(0,i.indexOf(":")).trim();r[l]==null&&en(n,l,"")}else for(const i in e)r[i]==null&&en(n,i,"");for(const i in r)i==="display"&&(s=!0),en(n,i,r[i])}else if(a){if(e!==r){const i=n[v4];i&&(r+=";"+i),n.cssText=r,s=b4.test(r)}}else e&&t.removeAttribute("style");hi in t&&(t[hi]=s?n.display:"",t[g4]&&(n.display="none"))}const fi=/\s*!important$/;function en(t,e,r){if(ie(r))r.forEach(n=>en(t,e,n));else if(r==null&&(r=""),e.startsWith("--"))t.setProperty(e,r);else{const n=w4(t,e);fi.test(r)?t.setProperty(z0(n),r.replace(fi,""),"important"):t[n]=r}}const di=["Webkit","Moz","ms"],Kn={};function w4(t,e){const r=Kn[e];if(r)return r;let n=qt(e);if(n!=="filter"&&n in t)return Kn[e]=n;n=xn(n);for(let a=0;aXn||(M4.then(()=>Xn=0),Xn=Date.now());function q4(t,e){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;It(z4(n,r.value),e,5,[n])};return r.value=t,r.attached=A4(),r}function z4(t,e){if(ie(e)){const r=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{r.call(t),t._stopped=!0},e.map(n=>a=>!a._stopped&&n&&n(a))}else return e}const bi=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,C4=(t,e,r,n,a,s)=>{const i=a==="svg";e==="class"?p4(t,n,i):e==="style"?y4(t,r,n):Sr(e)?$a(e)||S4(t,e,r,n,s):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):E4(t,e,n,i))?(x4(t,e,n),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&pi(t,e,n,i,s,e!=="value")):(e==="true-value"?t._trueValue=n:e==="false-value"&&(t._falseValue=n),pi(t,e,n,i))};function E4(t,e,r,n){if(n)return!!(e==="innerHTML"||e==="textContent"||e in t&&bi(e)&&ue(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 a=t.tagName;if(a==="IMG"||a==="VIDEO"||a==="CANVAS"||a==="SOURCE")return!1}return bi(e)&&Pe(r)?!1:!!(e in t||t._isVueCE&&(/[A-Z]/.test(e)||!Pe(r)))}const dn=t=>{const e=t.props["onUpdate:modelValue"]||!1;return ie(e)?r=>Zr(e,r):e};function _4(t){t.target.composing=!0}function yi(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const V0=Symbol("_assign"),D4={created(t,{modifiers:{lazy:e,trim:r,number:n}},a){t[V0]=dn(a);const s=n||a.props&&a.props.type==="number";S0(t,e?"change":"input",i=>{if(i.target.composing)return;let l=t.value;r&&(l=l.trim()),s&&(l=ma(l)),t[V0](l)}),r&&S0(t,"change",()=>{t.value=t.value.trim()}),e||(S0(t,"compositionstart",_4),S0(t,"compositionend",yi),S0(t,"change",yi))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:r,modifiers:{lazy:n,trim:a,number:s}},i){if(t[V0]=dn(i),t.composing)return;const l=(s||t.type==="number")&&!/^0\d/.test(t.value)?ma(t.value):t.value,u=e??"";l!==u&&(document.activeElement===t&&t.type!=="range"&&(n&&e===r||a&&t.value.trim()===u)||(t.value=u))}},B4={deep:!0,created(t,e,r){t[V0]=dn(r),S0(t,"change",()=>{const n=t._modelValue,a=N4(t),s=t.checked,i=t[V0];if(ie(n)){const l=bl(n,a),u=l!==-1;if(s&&!u)i(n.concat(a));else if(!s&&u){const f=[...n];f.splice(l,1),i(f)}}else if(yn(n)){const l=new Set(n);s?l.add(a):l.delete(a),i(l)}else i(wo(t,s))})},mounted:wi,beforeUpdate(t,e,r){t[V0]=dn(r),wi(t,e,r)}};function wi(t,{value:e,oldValue:r},n){t._modelValue=e;let a;ie(e)?a=bl(e,n.props.value)>-1:yn(e)?a=e.has(n.props.value):a=Sn(e,wo(t,!0)),t.checked!==a&&(t.checked=a)}function N4(t){return"_value"in t?t._value:t.value}function wo(t,e){const r=e?"_trueValue":"_falseValue";return r in t?t[r]:e}const xo=Le({patchProp:C4},d4);let hr,xi=!1;function O4(){return hr||(hr=Ic(xo))}function R4(){return hr=xi?hr:Pc(xo),xi=!0,hr}const I4=(...t)=>{const e=O4().createApp(...t),{mount:r}=e;return e.mount=n=>{const a=So(n);if(!a)return;const s=e._component;!ue(s)&&!s.render&&!s.template&&(s.template=a.innerHTML),a.nodeType===1&&(a.textContent="");const i=r(a,!1,ko(a));return a instanceof Element&&(a.removeAttribute("v-cloak"),a.setAttribute("data-v-app","")),i},e},P4=(...t)=>{const e=R4().createApp(...t),{mount:r}=e;return e.mount=n=>{const a=So(n);if(a)return r(a,!0,ko(a))},e};function ko(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function So(t){return Pe(t)?document.querySelector(t):t}const H4=bo[0]==="3";function L4(t){return typeof t=="function"?t():Mn(t)}function Aa(t){if(t instanceof Promise||t instanceof Date||t instanceof RegExp)return t;const e=L4(t);if(!t||!e)return e;if(Array.isArray(e))return e.map(r=>Aa(r));if(typeof e=="object"){const r={};for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)){if(n==="titleTemplate"||n[0]==="o"&&n[1]==="n"){r[n]=Mn(e[n]);continue}r[n]=Aa(e[n])}return r}return e}const F4={hooks:{"entries:resolve":t=>{for(const e of t.entries)e.resolvedInput=Aa(e.input)}}},$4="usehead";function V4(t){return{install(r){H4&&(r.config.globalProperties.$unhead=t,r.config.globalProperties.$head=t,r.provide($4,t))}}.install}function U4(t={}){t.domDelayFn=t.domDelayFn||(r=>Il(()=>setTimeout(()=>r(),0)));const e=iu(t);return e.use(F4),e.install=V4(e),e}function G4(t){return document.readyState==="loading"?new Promise(e=>{document.addEventListener("DOMContentLoaded",()=>e(t))}):Promise.resolve(t)}const W4=nc({setup(t,{slots:e}){const r=B0(!1);return ls(()=>r.value=!0),()=>r.value?e.default&&e.default({}):e.placeholder&&e.placeholder({})}});function j4(t){try{return JSON.parse(t||"{}")}catch(e){return console.error("[SSG] On state deserialization -",e,t),{}}}function K4(t,e,r={}){const{transformState:n,registerComponents:a=!0,useHead:s=!0,rootContainer:i="#app"}=r,l=typeof window<"u";async function u(f=!1){const d=f?I4(t):P4(t);let p;s&&(p=U4(),d.use(p));const g=[],q={app:d,head:p,isClient:l,router:void 0,routes:void 0,initialState:{},onSSRAppRendered:f?()=>{}:C=>g.push(C),triggerOnSSRAppRendered:()=>Promise.all(g.map(C=>C())),transformState:n};a&&d.component("ClientOnly",W4),f&&(await G4(),q.initialState=(n==null?void 0:n(window.__INITIAL_STATE__||{}))||j4(window.__INITIAL_STATE__)),await(e==null?void 0:e(q));const E=q.initialState;return{...q,initialState:E}}return l&&(async()=>{const{app:f}=await u(!0);f.mount(i,!0)})(),u}const X4="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",Y4="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",Z4="data:image/svg+xml,%3csvg%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20height='32px'%20viewBox='0%200%2032%2032'%20width='32px'%3e%3cg%3e%3cpath%20d='M30.391,12.68l-3.064-0.614c-0.154-0.443-0.336-0.873-0.537-1.289l1.736-2.604%20c0.529-0.793,0.424-1.85-0.25-2.523l-1.924-1.924c-0.387-0.387-0.898-0.586-1.416-0.586c-0.383,0-0.77,0.11-1.107,0.336%20l-2.604,1.735c-0.418-0.202-0.848-0.382-1.291-0.536L19.32,1.61c-0.186-0.936-1.008-1.608-1.961-1.608h-2.72%20c-0.953,0-1.774,0.673-1.961,1.608l-0.614,3.065c-0.443,0.154-0.873,0.335-1.289,0.536L8.172,3.476%20C7.833,3.25,7.447,3.14,7.063,3.14c-0.517,0-1.028,0.199-1.415,0.586L3.725,5.65c-0.674,0.674-0.779,1.73-0.25,2.523l1.735,2.604%20c-0.202,0.417-0.382,0.847-0.536,1.29L1.608,12.68C0.673,12.867,0,13.688,0,14.641v2.72c0,0.953,0.673,1.775,1.608,1.961%20l3.065,0.615c0.154,0.443,0.335,0.873,0.536,1.289L3.475,23.83c-0.529,0.793-0.424,1.85,0.25,2.523l1.924,1.924%20c0.387,0.387,0.898,0.586,1.415,0.586c0.384,0,0.771-0.111,1.108-0.336l2.604-1.736c0.417,0.203,0.847,0.383,1.29,0.537%20l0.613,3.064c0.187,0.936,1.008,1.609,1.961,1.609h2.72c0.953,0,1.775-0.674,1.961-1.609l0.615-3.064%20c0.443-0.154,0.873-0.336,1.289-0.537l2.604,1.736c0.338,0.225,0.725,0.336,1.107,0.336c0.518,0,1.029-0.199,1.416-0.586%20l1.924-1.924c0.674-0.674,0.779-1.73,0.25-2.523l-1.736-2.604c0.203-0.418,0.383-0.848,0.537-1.291l3.064-0.613%20C31.326,19.137,32,18.314,32,17.361v-2.72C32,13.688,31.326,12.867,30.391,12.68z%20M26.934,17.975%20c-0.695,0.139-1.264,0.635-1.496,1.305c-0.129,0.369-0.279,0.727-0.447,1.074c-0.311,0.639-0.258,1.393,0.135,1.982l1.736,2.604%20l-1.924,1.924l-2.604-1.736c-0.334-0.223-0.721-0.336-1.109-0.336c-0.297,0-0.596,0.066-0.871,0.199%20c-0.348,0.168-0.705,0.32-1.076,0.449c-0.668,0.232-1.164,0.801-1.303,1.496l-0.615,3.066h-2.72l-0.613-3.066%20c-0.139-0.695-0.635-1.264-1.304-1.496c-0.369-0.129-0.728-0.279-1.075-0.447c-0.276-0.135-0.574-0.201-0.872-0.201%20c-0.389,0-0.775,0.113-1.109,0.336l-2.604,1.736l-1.924-1.924l1.735-2.604c0.393-0.59,0.444-1.344,0.137-1.98%20c-0.168-0.348-0.319-0.705-0.448-1.076c-0.232-0.668-0.802-1.164-1.496-1.303l-3.065-0.615L2,14.641l3.066-0.613%20c0.694-0.139,1.264-0.635,1.496-1.304c0.129-0.369,0.278-0.728,0.447-1.075c0.31-0.638,0.258-1.392-0.136-1.981L5.139,7.064%20L7.062,5.14l2.604,1.735C10,7.098,10.387,7.211,10.775,7.211c0.297,0,0.595-0.066,0.871-0.199c0.347-0.168,0.705-0.319,1.075-0.448%20c0.669-0.232,1.165-0.802,1.304-1.496l0.614-3.065l2.72-0.001l0.613,3.066c0.139,0.694,0.635,1.264,1.305,1.496%20c0.369,0.129,0.727,0.278,1.074,0.447c0.277,0.134,0.574,0.2,0.873,0.2c0.389,0,0.775-0.113,1.109-0.336l2.604-1.735l1.924,1.924%20l-1.736,2.604c-0.393,0.59-0.443,1.343-0.137,1.98c0.168,0.347,0.32,0.705,0.449,1.075c0.232,0.669,0.801,1.165,1.496,1.304%20l3.064,0.614L30,17.361L26.934,17.975z'%20fill='white'%20/%3e%3ccircle%20cx='16'%20cy='16'%20r='5'%20stroke='white'%20stroke-width='2'%20/%3e%3c/g%3e%3c/svg%3e";class ut{constructor(e,r,n){this.lexer=void 0,this.start=void 0,this.end=void 0,this.lexer=e,this.start=r,this.end=n}static range(e,r){return r?!e||!e.loc||!r.loc||e.loc.lexer!==r.loc.lexer?null:new ut(e.loc.lexer,e.loc.start,r.loc.end):e&&e.loc}}let Ot=class To{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 To(r,ut.range(this,e))}};class P{constructor(e,r){this.name=void 0,this.position=void 0,this.length=void 0,this.rawMessage=void 0;var n="KaTeX parse error: "+e,a,s,i=r&&r.loc;if(i&&i.start<=i.end){var l=i.lexer.input;a=i.start,s=i.end,a===l.length?n+=" at end of input: ":n+=" at position "+(a+1)+": ";var u=l.slice(a,s).replace(/[^]/g,"$&̲"),f;a>15?f="…"+l.slice(a-15,a):f=l.slice(0,a);var d;s+15":">","<":"<",'"':""","'":"'"},nh=/[&><"']/g;function ah(t){return String(t).replace(nh,e=>rh[e])}var Mo=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},sh=function(e){var r=Mo(e);return r.type==="mathord"||r.type==="textord"||r.type==="atom"},ih=function(e){if(!e)throw new Error("Expected non-null, but got "+String(e));return e},lh=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"},Q={contains:J4,deflt:Q4,escape:ah,hyphenate:th,getBaseElem:Mo,isCharacterBox:sh,protocolFromUrl:lh},tn={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 oh(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 hs{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 tn)if(tn.hasOwnProperty(r)){var n=tn[r];this[r]=e[r]!==void 0?n.processor?n.processor(e[r]):e[r]:oh(n)}}reportNonstrict(e,r,n){var a=this.strict;if(typeof a=="function"&&(a=a(e,r,n)),!(!a||a==="ignore")){if(a===!0||a==="error")throw new P("LaTeX-incompatible input and strict mode is set to 'error': "+(r+" ["+e+"]"),n);a==="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 '"+a+"': "+r+" ["+e+"]"))}}useStrictBehavior(e,r,n){var a=this.strict;if(typeof a=="function")try{a=a(e,r,n)}catch{a="error"}return!a||a==="ignore"?!1:a===!0||a==="error"?!0:a==="warn"?(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to 'warn': "+(r+" ["+e+"]")),!1):(typeof console<"u"&&console.warn("LaTeX-incompatible input and strict mode is set to "+("unrecognized '"+a+"': "+r+" ["+e+"]")),!1)}isTrusted(e){if(e.url&&!e.protocol){var r=Q.protocolFromUrl(e.url);if(r==null)return!1;e.protocol=r}var n=typeof this.trust=="function"?this.trust(e):this.trust;return!!n}}class a0{constructor(e,r,n){this.id=void 0,this.size=void 0,this.cramped=void 0,this.id=e,this.size=r,this.cramped=n}sup(){return Dt[uh[this.id]]}sub(){return Dt[ch[this.id]]}fracNum(){return Dt[hh[this.id]]}fracDen(){return Dt[fh[this.id]]}cramp(){return Dt[dh[this.id]]}text(){return Dt[mh[this.id]]}isTight(){return this.size>=2}}var fs=0,mn=1,U0=2,jt=3,wr=4,bt=5,j0=6,Je=7,Dt=[new a0(fs,0,!1),new a0(mn,0,!0),new a0(U0,1,!1),new a0(jt,1,!0),new a0(wr,2,!1),new a0(bt,2,!0),new a0(j0,3,!1),new a0(Je,3,!0)],uh=[wr,bt,wr,bt,j0,Je,j0,Je],ch=[bt,bt,bt,bt,Je,Je,Je,Je],hh=[U0,jt,wr,bt,j0,Je,j0,Je],fh=[jt,jt,bt,bt,Je,Je,Je,Je],dh=[mn,mn,jt,jt,bt,bt,Je,Je],mh=[fs,mn,U0,jt,U0,jt,U0,jt],ne={DISPLAY:Dt[fs],TEXT:Dt[U0],SCRIPT:Dt[wr],SCRIPTSCRIPT:Dt[j0]},qa=[{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 ph(t){for(var e=0;e=a[0]&&t<=a[1])return r.name}return null}var rn=[];qa.forEach(t=>t.blocks.forEach(e=>rn.push(...e)));function Ao(t){for(var e=0;e=rn[e]&&t<=rn[e+1])return!0;return!1}var D0=80,gh=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 @@ -61,11 +61,11 @@ 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"},xh=function(e){var r=e/2;return"M400000 "+e+" H0 L"+r+" 0 l65 45 L145 "+(e-80)+" H400000z"},Sh=function(e,r,n){var a=n-54-r-e;return"M702 "+(e+r)+"H400000"+(40+e)+` +606zM`+(1001+e)+" "+r+"h400000v"+(40+e)+"H1017.7z"},xh=function(e){var r=e/2;return"M400000 "+e+" H0 L"+r+" 0 l65 45 L145 "+(e-80)+" H400000z"},kh=function(e,r,n){var a=n-54-r-e;return"M702 "+(e+r)+"H400000"+(40+e)+` H742v`+a+`l-4 4-4 4c-.667.7 -2 1.5-4 2.5s-4.167 1.833-6.5 2.5-5.5 1-9.5 1 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"},kh=function(e,r,n){r=1e3*r;var a="";switch(e){case"sqrtMain":a=gh(r,q0);break;case"sqrtSize1":a=vh(r,q0);break;case"sqrtSize2":a=bh(r,q0);break;case"sqrtSize3":a=yh(r,q0);break;case"sqrtSize4":a=wh(r,q0);break;case"sqrtTall":a=Sh(r,q0,n)}return a},Th=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""}},Si={doubleleftarrow:`M262 157 +219 661 l218 661zM702 `+r+"H400000v"+(40+e)+"H742z"},Sh=function(e,r,n){r=1e3*r;var a="";switch(e){case"sqrtMain":a=gh(r,D0);break;case"sqrtSize1":a=vh(r,D0);break;case"sqrtSize2":a=bh(r,D0);break;case"sqrtSize3":a=yh(r,D0);break;case"sqrtSize4":a=wh(r,D0);break;case"sqrtTall":a=kh(r,D0,n)}return a},Th=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""}},ki={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 @@ -268,21 +268,21 @@ 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 Ar{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 Q.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),r=0;rr.toText();return this.children.map(e).join("")}}var Bt={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},Pr={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]},ki={Å:"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 Ah(t,e){Bt[t]=e}function ds(t,e,r){if(!Bt[e])throw new Error("Font metrics not found for font: "+e+".");var n=t.charCodeAt(0),a=Bt[e][n];if(!a&&t[0]in ki&&(n=ki[t[0]].charCodeAt(0),a=Bt[e][n]),!a&&r==="text"&&Ao(n)&&(a=Bt[e][77]),a)return{depth:a[0],height:a[1],italic:a[2],skew:a[3],width:a[4]}}var Xn={};function Ch(t){var e;if(t>=5?e=0:t>=3?e=1:e=2,!Xn[e]){var r=Xn[e]={cssEmPerMu:Pr.quad[e]/18};for(var n in Pr)Pr.hasOwnProperty(n)&&(r[n]=Pr[n][e])}return Xn[e]}var zh=[[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]],Ti=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Mi=function(e,r){return r.size<2?e:zh[e-1][r.size-1]};class Ut{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||Ut.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=Ti[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 n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return new Ut(r)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:Mi(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:Ti[e-1]})}havingBaseStyle(e){e=e||this.style.text();var r=Mi(Ut.BASESIZE,e);return this.size===r&&this.textSize===Ut.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!==Ut.BASESIZE?["sizing","reset-size"+this.size,"size"+Ut.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=Ch(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Ut.BASESIZE=6;var Ca={pt:1,mm:7227/2540,cm:7227/254,in:72.27,bp:803/800,pc:12,dd:1238/1157,cc:14856/1157,nd:685/642,nc:1370/107,sp:1/65536,px:803/800},_h={ex:!0,em:!0,mu:!0},Co=function(e){return typeof e!="string"&&(e=e.unit),e in Ca||e in _h||e==="ex"},qe=function(e,r){var n;if(e.unit in Ca)n=Ca[e.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(e.unit==="mu")n=r.fontMetrics().cssEmPerMu;else{var a;if(r.style.isTight()?a=r.havingStyle(r.style.text()):a=r,e.unit==="ex")n=a.fontMetrics().xHeight;else if(e.unit==="em")n=a.fontMetrics().quad;else throw new H("Invalid unit: '"+e.unit+"'");a!==r&&(n*=a.sizeMultiplier/r.sizeMultiplier)}return Math.min(e.number*n,r.maxSize)},P=function(e){return+e.toFixed(4)+"em"},f0=function(e){return e.filter(r=>r).join(" ")},zo=function(e,r,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},r){r.style.isTight()&&this.classes.push("mtight");var a=r.getColor();a&&(this.style.color=a)}},_o=function(e){var r=document.createElement(e);r.className=f0(this.classes);for(var n in this.style)this.style.hasOwnProperty(n)&&(r.style[n]=this.style[n]);for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&r.setAttribute(a,this.attributes[a]);for(var s=0;s",r};class Cr{constructor(e,r,n,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,zo.call(this,e,n,a),this.children=r||[]}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return Q.contains(this.classes,e)}toNode(){return _o.call(this,"span")}toMarkup(){return Eo.call(this,"span")}}class ms{constructor(e,r,n,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,zo.call(this,r,a),this.children=n||[],this.setAttribute("href",e)}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return Q.contains(this.classes,e)}toNode(){return _o.call(this,"a")}toMarkup(){return Eo.call(this,"a")}}class Eh{constructor(e,r,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=r,this.src=e,this.classes=["mord"],this.style=n}hasClass(e){return Q.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=''+Q.escape(this.alt)+'0&&(r=document.createElement("span"),r.style.marginRight=P(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=f0(this.classes));for(var n in this.style)this.style.hasOwnProperty(n)&&(r=r||document.createElement("span"),r.style[n]=this.style[n]);return r?(r.appendChild(e),r):e}toMarkup(){var e=!1,r="0&&(n+="margin-right:"+this.italic+"em;");for(var a in this.style)this.style.hasOwnProperty(a)&&(n+=Q.hyphenate(a)+":"+this.style[a]+";");n&&(e=!0,r+=' style="'+Q.escape(n)+'"');var s=Q.escape(this.text);return e?(r+=">",r+=s,r+="",r):s}}class Xt{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 n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);for(var a=0;a':''}}class za{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 n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);return r}toMarkup(){var e=" but got "+String(t)+".")}var Bh={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Nh={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},Ce={math:{},text:{}};function o(t,e,r,n,a,s){Ce[t][a]={font:e,group:r,replace:n},s&&n&&(Ce[t][n]=Ce[t][a])}var c="math",q="text",h="main",v="ams",_e="accent-token",K="bin",et="close",K0="inner",re="mathord",Ie="op-token",ft="open",En="punct",b="rel",Qt="spacing",x="textord";o(c,h,b,"≡","\\equiv",!0);o(c,h,b,"≺","\\prec",!0);o(c,h,b,"≻","\\succ",!0);o(c,h,b,"∼","\\sim",!0);o(c,h,b,"⊥","\\perp");o(c,h,b,"⪯","\\preceq",!0);o(c,h,b,"⪰","\\succeq",!0);o(c,h,b,"≃","\\simeq",!0);o(c,h,b,"∣","\\mid",!0);o(c,h,b,"≪","\\ll",!0);o(c,h,b,"≫","\\gg",!0);o(c,h,b,"≍","\\asymp",!0);o(c,h,b,"∥","\\parallel");o(c,h,b,"⋈","\\bowtie",!0);o(c,h,b,"⌣","\\smile",!0);o(c,h,b,"⊑","\\sqsubseteq",!0);o(c,h,b,"⊒","\\sqsupseteq",!0);o(c,h,b,"≐","\\doteq",!0);o(c,h,b,"⌢","\\frown",!0);o(c,h,b,"∋","\\ni",!0);o(c,h,b,"∝","\\propto",!0);o(c,h,b,"⊢","\\vdash",!0);o(c,h,b,"⊣","\\dashv",!0);o(c,h,b,"∋","\\owns");o(c,h,En,".","\\ldotp");o(c,h,En,"⋅","\\cdotp");o(c,h,x,"#","\\#");o(q,h,x,"#","\\#");o(c,h,x,"&","\\&");o(q,h,x,"&","\\&");o(c,h,x,"ℵ","\\aleph",!0);o(c,h,x,"∀","\\forall",!0);o(c,h,x,"ℏ","\\hbar",!0);o(c,h,x,"∃","\\exists",!0);o(c,h,x,"∇","\\nabla",!0);o(c,h,x,"♭","\\flat",!0);o(c,h,x,"ℓ","\\ell",!0);o(c,h,x,"♮","\\natural",!0);o(c,h,x,"♣","\\clubsuit",!0);o(c,h,x,"℘","\\wp",!0);o(c,h,x,"♯","\\sharp",!0);o(c,h,x,"♢","\\diamondsuit",!0);o(c,h,x,"ℜ","\\Re",!0);o(c,h,x,"♡","\\heartsuit",!0);o(c,h,x,"ℑ","\\Im",!0);o(c,h,x,"♠","\\spadesuit",!0);o(c,h,x,"§","\\S",!0);o(q,h,x,"§","\\S");o(c,h,x,"¶","\\P",!0);o(q,h,x,"¶","\\P");o(c,h,x,"†","\\dag");o(q,h,x,"†","\\dag");o(q,h,x,"†","\\textdagger");o(c,h,x,"‡","\\ddag");o(q,h,x,"‡","\\ddag");o(q,h,x,"‡","\\textdaggerdbl");o(c,h,et,"⎱","\\rmoustache",!0);o(c,h,ft,"⎰","\\lmoustache",!0);o(c,h,et,"⟯","\\rgroup",!0);o(c,h,ft,"⟮","\\lgroup",!0);o(c,h,K,"∓","\\mp",!0);o(c,h,K,"⊖","\\ominus",!0);o(c,h,K,"⊎","\\uplus",!0);o(c,h,K,"⊓","\\sqcap",!0);o(c,h,K,"∗","\\ast");o(c,h,K,"⊔","\\sqcup",!0);o(c,h,K,"◯","\\bigcirc",!0);o(c,h,K,"∙","\\bullet",!0);o(c,h,K,"‡","\\ddagger");o(c,h,K,"≀","\\wr",!0);o(c,h,K,"⨿","\\amalg");o(c,h,K,"&","\\And");o(c,h,b,"⟵","\\longleftarrow",!0);o(c,h,b,"⇐","\\Leftarrow",!0);o(c,h,b,"⟸","\\Longleftarrow",!0);o(c,h,b,"⟶","\\longrightarrow",!0);o(c,h,b,"⇒","\\Rightarrow",!0);o(c,h,b,"⟹","\\Longrightarrow",!0);o(c,h,b,"↔","\\leftrightarrow",!0);o(c,h,b,"⟷","\\longleftrightarrow",!0);o(c,h,b,"⇔","\\Leftrightarrow",!0);o(c,h,b,"⟺","\\Longleftrightarrow",!0);o(c,h,b,"↦","\\mapsto",!0);o(c,h,b,"⟼","\\longmapsto",!0);o(c,h,b,"↗","\\nearrow",!0);o(c,h,b,"↩","\\hookleftarrow",!0);o(c,h,b,"↪","\\hookrightarrow",!0);o(c,h,b,"↘","\\searrow",!0);o(c,h,b,"↼","\\leftharpoonup",!0);o(c,h,b,"⇀","\\rightharpoonup",!0);o(c,h,b,"↙","\\swarrow",!0);o(c,h,b,"↽","\\leftharpoondown",!0);o(c,h,b,"⇁","\\rightharpoondown",!0);o(c,h,b,"↖","\\nwarrow",!0);o(c,h,b,"⇌","\\rightleftharpoons",!0);o(c,v,b,"≮","\\nless",!0);o(c,v,b,"","\\@nleqslant");o(c,v,b,"","\\@nleqq");o(c,v,b,"⪇","\\lneq",!0);o(c,v,b,"≨","\\lneqq",!0);o(c,v,b,"","\\@lvertneqq");o(c,v,b,"⋦","\\lnsim",!0);o(c,v,b,"⪉","\\lnapprox",!0);o(c,v,b,"⊀","\\nprec",!0);o(c,v,b,"⋠","\\npreceq",!0);o(c,v,b,"⋨","\\precnsim",!0);o(c,v,b,"⪹","\\precnapprox",!0);o(c,v,b,"≁","\\nsim",!0);o(c,v,b,"","\\@nshortmid");o(c,v,b,"∤","\\nmid",!0);o(c,v,b,"⊬","\\nvdash",!0);o(c,v,b,"⊭","\\nvDash",!0);o(c,v,b,"⋪","\\ntriangleleft");o(c,v,b,"⋬","\\ntrianglelefteq",!0);o(c,v,b,"⊊","\\subsetneq",!0);o(c,v,b,"","\\@varsubsetneq");o(c,v,b,"⫋","\\subsetneqq",!0);o(c,v,b,"","\\@varsubsetneqq");o(c,v,b,"≯","\\ngtr",!0);o(c,v,b,"","\\@ngeqslant");o(c,v,b,"","\\@ngeqq");o(c,v,b,"⪈","\\gneq",!0);o(c,v,b,"≩","\\gneqq",!0);o(c,v,b,"","\\@gvertneqq");o(c,v,b,"⋧","\\gnsim",!0);o(c,v,b,"⪊","\\gnapprox",!0);o(c,v,b,"⊁","\\nsucc",!0);o(c,v,b,"⋡","\\nsucceq",!0);o(c,v,b,"⋩","\\succnsim",!0);o(c,v,b,"⪺","\\succnapprox",!0);o(c,v,b,"≆","\\ncong",!0);o(c,v,b,"","\\@nshortparallel");o(c,v,b,"∦","\\nparallel",!0);o(c,v,b,"⊯","\\nVDash",!0);o(c,v,b,"⋫","\\ntriangleright");o(c,v,b,"⋭","\\ntrianglerighteq",!0);o(c,v,b,"","\\@nsupseteqq");o(c,v,b,"⊋","\\supsetneq",!0);o(c,v,b,"","\\@varsupsetneq");o(c,v,b,"⫌","\\supsetneqq",!0);o(c,v,b,"","\\@varsupsetneqq");o(c,v,b,"⊮","\\nVdash",!0);o(c,v,b,"⪵","\\precneqq",!0);o(c,v,b,"⪶","\\succneqq",!0);o(c,v,b,"","\\@nsubseteqq");o(c,v,K,"⊴","\\unlhd");o(c,v,K,"⊵","\\unrhd");o(c,v,b,"↚","\\nleftarrow",!0);o(c,v,b,"↛","\\nrightarrow",!0);o(c,v,b,"⇍","\\nLeftarrow",!0);o(c,v,b,"⇏","\\nRightarrow",!0);o(c,v,b,"↮","\\nleftrightarrow",!0);o(c,v,b,"⇎","\\nLeftrightarrow",!0);o(c,v,b,"△","\\vartriangle");o(c,v,x,"ℏ","\\hslash");o(c,v,x,"▽","\\triangledown");o(c,v,x,"◊","\\lozenge");o(c,v,x,"Ⓢ","\\circledS");o(c,v,x,"®","\\circledR");o(q,v,x,"®","\\circledR");o(c,v,x,"∡","\\measuredangle",!0);o(c,v,x,"∄","\\nexists");o(c,v,x,"℧","\\mho");o(c,v,x,"Ⅎ","\\Finv",!0);o(c,v,x,"⅁","\\Game",!0);o(c,v,x,"‵","\\backprime");o(c,v,x,"▲","\\blacktriangle");o(c,v,x,"▼","\\blacktriangledown");o(c,v,x,"■","\\blacksquare");o(c,v,x,"⧫","\\blacklozenge");o(c,v,x,"★","\\bigstar");o(c,v,x,"∢","\\sphericalangle",!0);o(c,v,x,"∁","\\complement",!0);o(c,v,x,"ð","\\eth",!0);o(q,h,x,"ð","ð");o(c,v,x,"╱","\\diagup");o(c,v,x,"╲","\\diagdown");o(c,v,x,"□","\\square");o(c,v,x,"□","\\Box");o(c,v,x,"◊","\\Diamond");o(c,v,x,"¥","\\yen",!0);o(q,v,x,"¥","\\yen",!0);o(c,v,x,"✓","\\checkmark",!0);o(q,v,x,"✓","\\checkmark");o(c,v,x,"ℶ","\\beth",!0);o(c,v,x,"ℸ","\\daleth",!0);o(c,v,x,"ℷ","\\gimel",!0);o(c,v,x,"ϝ","\\digamma",!0);o(c,v,x,"ϰ","\\varkappa");o(c,v,ft,"┌","\\@ulcorner",!0);o(c,v,et,"┐","\\@urcorner",!0);o(c,v,ft,"└","\\@llcorner",!0);o(c,v,et,"┘","\\@lrcorner",!0);o(c,v,b,"≦","\\leqq",!0);o(c,v,b,"⩽","\\leqslant",!0);o(c,v,b,"⪕","\\eqslantless",!0);o(c,v,b,"≲","\\lesssim",!0);o(c,v,b,"⪅","\\lessapprox",!0);o(c,v,b,"≊","\\approxeq",!0);o(c,v,K,"⋖","\\lessdot");o(c,v,b,"⋘","\\lll",!0);o(c,v,b,"≶","\\lessgtr",!0);o(c,v,b,"⋚","\\lesseqgtr",!0);o(c,v,b,"⪋","\\lesseqqgtr",!0);o(c,v,b,"≑","\\doteqdot");o(c,v,b,"≓","\\risingdotseq",!0);o(c,v,b,"≒","\\fallingdotseq",!0);o(c,v,b,"∽","\\backsim",!0);o(c,v,b,"⋍","\\backsimeq",!0);o(c,v,b,"⫅","\\subseteqq",!0);o(c,v,b,"⋐","\\Subset",!0);o(c,v,b,"⊏","\\sqsubset",!0);o(c,v,b,"≼","\\preccurlyeq",!0);o(c,v,b,"⋞","\\curlyeqprec",!0);o(c,v,b,"≾","\\precsim",!0);o(c,v,b,"⪷","\\precapprox",!0);o(c,v,b,"⊲","\\vartriangleleft");o(c,v,b,"⊴","\\trianglelefteq");o(c,v,b,"⊨","\\vDash",!0);o(c,v,b,"⊪","\\Vvdash",!0);o(c,v,b,"⌣","\\smallsmile");o(c,v,b,"⌢","\\smallfrown");o(c,v,b,"≏","\\bumpeq",!0);o(c,v,b,"≎","\\Bumpeq",!0);o(c,v,b,"≧","\\geqq",!0);o(c,v,b,"⩾","\\geqslant",!0);o(c,v,b,"⪖","\\eqslantgtr",!0);o(c,v,b,"≳","\\gtrsim",!0);o(c,v,b,"⪆","\\gtrapprox",!0);o(c,v,K,"⋗","\\gtrdot");o(c,v,b,"⋙","\\ggg",!0);o(c,v,b,"≷","\\gtrless",!0);o(c,v,b,"⋛","\\gtreqless",!0);o(c,v,b,"⪌","\\gtreqqless",!0);o(c,v,b,"≖","\\eqcirc",!0);o(c,v,b,"≗","\\circeq",!0);o(c,v,b,"≜","\\triangleq",!0);o(c,v,b,"∼","\\thicksim");o(c,v,b,"≈","\\thickapprox");o(c,v,b,"⫆","\\supseteqq",!0);o(c,v,b,"⋑","\\Supset",!0);o(c,v,b,"⊐","\\sqsupset",!0);o(c,v,b,"≽","\\succcurlyeq",!0);o(c,v,b,"⋟","\\curlyeqsucc",!0);o(c,v,b,"≿","\\succsim",!0);o(c,v,b,"⪸","\\succapprox",!0);o(c,v,b,"⊳","\\vartriangleright");o(c,v,b,"⊵","\\trianglerighteq");o(c,v,b,"⊩","\\Vdash",!0);o(c,v,b,"∣","\\shortmid");o(c,v,b,"∥","\\shortparallel");o(c,v,b,"≬","\\between",!0);o(c,v,b,"⋔","\\pitchfork",!0);o(c,v,b,"∝","\\varpropto");o(c,v,b,"◀","\\blacktriangleleft");o(c,v,b,"∴","\\therefore",!0);o(c,v,b,"∍","\\backepsilon");o(c,v,b,"▶","\\blacktriangleright");o(c,v,b,"∵","\\because",!0);o(c,v,b,"⋘","\\llless");o(c,v,b,"⋙","\\gggtr");o(c,v,K,"⊲","\\lhd");o(c,v,K,"⊳","\\rhd");o(c,v,b,"≂","\\eqsim",!0);o(c,h,b,"⋈","\\Join");o(c,v,b,"≑","\\Doteq",!0);o(c,v,K,"∔","\\dotplus",!0);o(c,v,K,"∖","\\smallsetminus");o(c,v,K,"⋒","\\Cap",!0);o(c,v,K,"⋓","\\Cup",!0);o(c,v,K,"⩞","\\doublebarwedge",!0);o(c,v,K,"⊟","\\boxminus",!0);o(c,v,K,"⊞","\\boxplus",!0);o(c,v,K,"⋇","\\divideontimes",!0);o(c,v,K,"⋉","\\ltimes",!0);o(c,v,K,"⋊","\\rtimes",!0);o(c,v,K,"⋋","\\leftthreetimes",!0);o(c,v,K,"⋌","\\rightthreetimes",!0);o(c,v,K,"⋏","\\curlywedge",!0);o(c,v,K,"⋎","\\curlyvee",!0);o(c,v,K,"⊝","\\circleddash",!0);o(c,v,K,"⊛","\\circledast",!0);o(c,v,K,"⋅","\\centerdot");o(c,v,K,"⊺","\\intercal",!0);o(c,v,K,"⋒","\\doublecap");o(c,v,K,"⋓","\\doublecup");o(c,v,K,"⊠","\\boxtimes",!0);o(c,v,b,"⇢","\\dashrightarrow",!0);o(c,v,b,"⇠","\\dashleftarrow",!0);o(c,v,b,"⇇","\\leftleftarrows",!0);o(c,v,b,"⇆","\\leftrightarrows",!0);o(c,v,b,"⇚","\\Lleftarrow",!0);o(c,v,b,"↞","\\twoheadleftarrow",!0);o(c,v,b,"↢","\\leftarrowtail",!0);o(c,v,b,"↫","\\looparrowleft",!0);o(c,v,b,"⇋","\\leftrightharpoons",!0);o(c,v,b,"↶","\\curvearrowleft",!0);o(c,v,b,"↺","\\circlearrowleft",!0);o(c,v,b,"↰","\\Lsh",!0);o(c,v,b,"⇈","\\upuparrows",!0);o(c,v,b,"↿","\\upharpoonleft",!0);o(c,v,b,"⇃","\\downharpoonleft",!0);o(c,h,b,"⊶","\\origof",!0);o(c,h,b,"⊷","\\imageof",!0);o(c,v,b,"⊸","\\multimap",!0);o(c,v,b,"↭","\\leftrightsquigarrow",!0);o(c,v,b,"⇉","\\rightrightarrows",!0);o(c,v,b,"⇄","\\rightleftarrows",!0);o(c,v,b,"↠","\\twoheadrightarrow",!0);o(c,v,b,"↣","\\rightarrowtail",!0);o(c,v,b,"↬","\\looparrowright",!0);o(c,v,b,"↷","\\curvearrowright",!0);o(c,v,b,"↻","\\circlearrowright",!0);o(c,v,b,"↱","\\Rsh",!0);o(c,v,b,"⇊","\\downdownarrows",!0);o(c,v,b,"↾","\\upharpoonright",!0);o(c,v,b,"⇂","\\downharpoonright",!0);o(c,v,b,"⇝","\\rightsquigarrow",!0);o(c,v,b,"⇝","\\leadsto");o(c,v,b,"⇛","\\Rrightarrow",!0);o(c,v,b,"↾","\\restriction");o(c,h,x,"‘","`");o(c,h,x,"$","\\$");o(q,h,x,"$","\\$");o(q,h,x,"$","\\textdollar");o(c,h,x,"%","\\%");o(q,h,x,"%","\\%");o(c,h,x,"_","\\_");o(q,h,x,"_","\\_");o(q,h,x,"_","\\textunderscore");o(c,h,x,"∠","\\angle",!0);o(c,h,x,"∞","\\infty",!0);o(c,h,x,"′","\\prime");o(c,h,x,"△","\\triangle");o(c,h,x,"Γ","\\Gamma",!0);o(c,h,x,"Δ","\\Delta",!0);o(c,h,x,"Θ","\\Theta",!0);o(c,h,x,"Λ","\\Lambda",!0);o(c,h,x,"Ξ","\\Xi",!0);o(c,h,x,"Π","\\Pi",!0);o(c,h,x,"Σ","\\Sigma",!0);o(c,h,x,"Υ","\\Upsilon",!0);o(c,h,x,"Φ","\\Phi",!0);o(c,h,x,"Ψ","\\Psi",!0);o(c,h,x,"Ω","\\Omega",!0);o(c,h,x,"A","Α");o(c,h,x,"B","Β");o(c,h,x,"E","Ε");o(c,h,x,"Z","Ζ");o(c,h,x,"H","Η");o(c,h,x,"I","Ι");o(c,h,x,"K","Κ");o(c,h,x,"M","Μ");o(c,h,x,"N","Ν");o(c,h,x,"O","Ο");o(c,h,x,"P","Ρ");o(c,h,x,"T","Τ");o(c,h,x,"X","Χ");o(c,h,x,"¬","\\neg",!0);o(c,h,x,"¬","\\lnot");o(c,h,x,"⊤","\\top");o(c,h,x,"⊥","\\bot");o(c,h,x,"∅","\\emptyset");o(c,v,x,"∅","\\varnothing");o(c,h,re,"α","\\alpha",!0);o(c,h,re,"β","\\beta",!0);o(c,h,re,"γ","\\gamma",!0);o(c,h,re,"δ","\\delta",!0);o(c,h,re,"ϵ","\\epsilon",!0);o(c,h,re,"ζ","\\zeta",!0);o(c,h,re,"η","\\eta",!0);o(c,h,re,"θ","\\theta",!0);o(c,h,re,"ι","\\iota",!0);o(c,h,re,"κ","\\kappa",!0);o(c,h,re,"λ","\\lambda",!0);o(c,h,re,"μ","\\mu",!0);o(c,h,re,"ν","\\nu",!0);o(c,h,re,"ξ","\\xi",!0);o(c,h,re,"ο","\\omicron",!0);o(c,h,re,"π","\\pi",!0);o(c,h,re,"ρ","\\rho",!0);o(c,h,re,"σ","\\sigma",!0);o(c,h,re,"τ","\\tau",!0);o(c,h,re,"υ","\\upsilon",!0);o(c,h,re,"ϕ","\\phi",!0);o(c,h,re,"χ","\\chi",!0);o(c,h,re,"ψ","\\psi",!0);o(c,h,re,"ω","\\omega",!0);o(c,h,re,"ε","\\varepsilon",!0);o(c,h,re,"ϑ","\\vartheta",!0);o(c,h,re,"ϖ","\\varpi",!0);o(c,h,re,"ϱ","\\varrho",!0);o(c,h,re,"ς","\\varsigma",!0);o(c,h,re,"φ","\\varphi",!0);o(c,h,K,"∗","*",!0);o(c,h,K,"+","+");o(c,h,K,"−","-",!0);o(c,h,K,"⋅","\\cdot",!0);o(c,h,K,"∘","\\circ",!0);o(c,h,K,"÷","\\div",!0);o(c,h,K,"±","\\pm",!0);o(c,h,K,"×","\\times",!0);o(c,h,K,"∩","\\cap",!0);o(c,h,K,"∪","\\cup",!0);o(c,h,K,"∖","\\setminus",!0);o(c,h,K,"∧","\\land");o(c,h,K,"∨","\\lor");o(c,h,K,"∧","\\wedge",!0);o(c,h,K,"∨","\\vee",!0);o(c,h,x,"√","\\surd");o(c,h,ft,"⟨","\\langle",!0);o(c,h,ft,"∣","\\lvert");o(c,h,ft,"∥","\\lVert");o(c,h,et,"?","?");o(c,h,et,"!","!");o(c,h,et,"⟩","\\rangle",!0);o(c,h,et,"∣","\\rvert");o(c,h,et,"∥","\\rVert");o(c,h,b,"=","=");o(c,h,b,":",":");o(c,h,b,"≈","\\approx",!0);o(c,h,b,"≅","\\cong",!0);o(c,h,b,"≥","\\ge");o(c,h,b,"≥","\\geq",!0);o(c,h,b,"←","\\gets");o(c,h,b,">","\\gt",!0);o(c,h,b,"∈","\\in",!0);o(c,h,b,"","\\@not");o(c,h,b,"⊂","\\subset",!0);o(c,h,b,"⊃","\\supset",!0);o(c,h,b,"⊆","\\subseteq",!0);o(c,h,b,"⊇","\\supseteq",!0);o(c,v,b,"⊈","\\nsubseteq",!0);o(c,v,b,"⊉","\\nsupseteq",!0);o(c,h,b,"⊨","\\models");o(c,h,b,"←","\\leftarrow",!0);o(c,h,b,"≤","\\le");o(c,h,b,"≤","\\leq",!0);o(c,h,b,"<","\\lt",!0);o(c,h,b,"→","\\rightarrow",!0);o(c,h,b,"→","\\to");o(c,v,b,"≱","\\ngeq",!0);o(c,v,b,"≰","\\nleq",!0);o(c,h,Qt," ","\\ ");o(c,h,Qt," ","\\space");o(c,h,Qt," ","\\nobreakspace");o(q,h,Qt," ","\\ ");o(q,h,Qt," "," ");o(q,h,Qt," ","\\space");o(q,h,Qt," ","\\nobreakspace");o(c,h,Qt,null,"\\nobreak");o(c,h,Qt,null,"\\allowbreak");o(c,h,En,",",",");o(c,h,En,";",";");o(c,v,K,"⊼","\\barwedge",!0);o(c,v,K,"⊻","\\veebar",!0);o(c,h,K,"⊙","\\odot",!0);o(c,h,K,"⊕","\\oplus",!0);o(c,h,K,"⊗","\\otimes",!0);o(c,h,x,"∂","\\partial",!0);o(c,h,K,"⊘","\\oslash",!0);o(c,v,K,"⊚","\\circledcirc",!0);o(c,v,K,"⊡","\\boxdot",!0);o(c,h,K,"△","\\bigtriangleup");o(c,h,K,"▽","\\bigtriangledown");o(c,h,K,"†","\\dagger");o(c,h,K,"⋄","\\diamond");o(c,h,K,"⋆","\\star");o(c,h,K,"◃","\\triangleleft");o(c,h,K,"▹","\\triangleright");o(c,h,ft,"{","\\{");o(q,h,x,"{","\\{");o(q,h,x,"{","\\textbraceleft");o(c,h,et,"}","\\}");o(q,h,x,"}","\\}");o(q,h,x,"}","\\textbraceright");o(c,h,ft,"{","\\lbrace");o(c,h,et,"}","\\rbrace");o(c,h,ft,"[","\\lbrack",!0);o(q,h,x,"[","\\lbrack",!0);o(c,h,et,"]","\\rbrack",!0);o(q,h,x,"]","\\rbrack",!0);o(c,h,ft,"(","\\lparen",!0);o(c,h,et,")","\\rparen",!0);o(q,h,x,"<","\\textless",!0);o(q,h,x,">","\\textgreater",!0);o(c,h,ft,"⌊","\\lfloor",!0);o(c,h,et,"⌋","\\rfloor",!0);o(c,h,ft,"⌈","\\lceil",!0);o(c,h,et,"⌉","\\rceil",!0);o(c,h,x,"\\","\\backslash");o(c,h,x,"∣","|");o(c,h,x,"∣","\\vert");o(q,h,x,"|","\\textbar",!0);o(c,h,x,"∥","\\|");o(c,h,x,"∥","\\Vert");o(q,h,x,"∥","\\textbardbl");o(q,h,x,"~","\\textasciitilde");o(q,h,x,"\\","\\textbackslash");o(q,h,x,"^","\\textasciicircum");o(c,h,b,"↑","\\uparrow",!0);o(c,h,b,"⇑","\\Uparrow",!0);o(c,h,b,"↓","\\downarrow",!0);o(c,h,b,"⇓","\\Downarrow",!0);o(c,h,b,"↕","\\updownarrow",!0);o(c,h,b,"⇕","\\Updownarrow",!0);o(c,h,Ie,"∐","\\coprod");o(c,h,Ie,"⋁","\\bigvee");o(c,h,Ie,"⋀","\\bigwedge");o(c,h,Ie,"⨄","\\biguplus");o(c,h,Ie,"⋂","\\bigcap");o(c,h,Ie,"⋃","\\bigcup");o(c,h,Ie,"∫","\\int");o(c,h,Ie,"∫","\\intop");o(c,h,Ie,"∬","\\iint");o(c,h,Ie,"∭","\\iiint");o(c,h,Ie,"∏","\\prod");o(c,h,Ie,"∑","\\sum");o(c,h,Ie,"⨂","\\bigotimes");o(c,h,Ie,"⨁","\\bigoplus");o(c,h,Ie,"⨀","\\bigodot");o(c,h,Ie,"∮","\\oint");o(c,h,Ie,"∯","\\oiint");o(c,h,Ie,"∰","\\oiiint");o(c,h,Ie,"⨆","\\bigsqcup");o(c,h,Ie,"∫","\\smallint");o(q,h,K0,"…","\\textellipsis");o(c,h,K0,"…","\\mathellipsis");o(q,h,K0,"…","\\ldots",!0);o(c,h,K0,"…","\\ldots",!0);o(c,h,K0,"⋯","\\@cdots",!0);o(c,h,K0,"⋱","\\ddots",!0);o(c,h,x,"⋮","\\varvdots");o(c,h,_e,"ˊ","\\acute");o(c,h,_e,"ˋ","\\grave");o(c,h,_e,"¨","\\ddot");o(c,h,_e,"~","\\tilde");o(c,h,_e,"ˉ","\\bar");o(c,h,_e,"˘","\\breve");o(c,h,_e,"ˇ","\\check");o(c,h,_e,"^","\\hat");o(c,h,_e,"⃗","\\vec");o(c,h,_e,"˙","\\dot");o(c,h,_e,"˚","\\mathring");o(c,h,re,"","\\@imath");o(c,h,re,"","\\@jmath");o(c,h,x,"ı","ı");o(c,h,x,"ȷ","ȷ");o(q,h,x,"ı","\\i",!0);o(q,h,x,"ȷ","\\j",!0);o(q,h,x,"ß","\\ss",!0);o(q,h,x,"æ","\\ae",!0);o(q,h,x,"œ","\\oe",!0);o(q,h,x,"ø","\\o",!0);o(q,h,x,"Æ","\\AE",!0);o(q,h,x,"Œ","\\OE",!0);o(q,h,x,"Ø","\\O",!0);o(q,h,_e,"ˊ","\\'");o(q,h,_e,"ˋ","\\`");o(q,h,_e,"ˆ","\\^");o(q,h,_e,"˜","\\~");o(q,h,_e,"ˉ","\\=");o(q,h,_e,"˘","\\u");o(q,h,_e,"˙","\\.");o(q,h,_e,"¸","\\c");o(q,h,_e,"˚","\\r");o(q,h,_e,"ˇ","\\v");o(q,h,_e,"¨",'\\"');o(q,h,_e,"˝","\\H");o(q,h,_e,"◯","\\textcircled");var Do={"--":!0,"---":!0,"``":!0,"''":!0};o(q,h,x,"–","--",!0);o(q,h,x,"–","\\textendash");o(q,h,x,"—","---",!0);o(q,h,x,"—","\\textemdash");o(q,h,x,"‘","`",!0);o(q,h,x,"‘","\\textquoteleft");o(q,h,x,"’","'",!0);o(q,h,x,"’","\\textquoteright");o(q,h,x,"“","``",!0);o(q,h,x,"“","\\textquotedblleft");o(q,h,x,"”","''",!0);o(q,h,x,"”","\\textquotedblright");o(c,h,x,"°","\\degree",!0);o(q,h,x,"°","\\degree");o(q,h,x,"°","\\textdegree",!0);o(c,h,x,"£","\\pounds");o(c,h,x,"£","\\mathsterling",!0);o(q,h,x,"£","\\pounds");o(q,h,x,"£","\\textsterling",!0);o(c,v,x,"✠","\\maltese");o(q,v,x,"✠","\\maltese");var Ci='0123456789/@."';for(var Yn=0;Yn0)return Tt(s,f,a,r,i.concat(d));if(u){var p,g;if(u==="boldsymbol"){var w=Ih(s,a,r,i,n);p=w.fontName,g=[w.fontClass]}else l?(p=No[u].fontName,g=[u]):(p=Vr(u,r.fontWeight,r.fontShape),g=[u,r.fontWeight,r.fontShape]);if(Dn(s,p,a).metrics)return Tt(s,p,a,r,i.concat(g));if(Do.hasOwnProperty(s)&&p.slice(0,10)==="Typewriter"){for(var A=[],C=0;C{if(f0(t.classes)!==f0(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 n in t.style)if(t.style.hasOwnProperty(n)&&t.style[n]!==e.style[n])return!1;for(var a in e.style)if(e.style.hasOwnProperty(a)&&t.style[a]!==e.style[a])return!1;return!0},Lh=t=>{for(var e=0;er&&(r=i.height),i.depth>n&&(n=i.depth),i.maxFontSize>a&&(a=i.maxFontSize)}e.height=r,e.depth=n,e.maxFontSize=a},tt=function(e,r,n,a){var s=new Cr(e,r,n,a);return ps(s),s},qo=(t,e,r,n)=>new Cr(t,e,r,n),Fh=function(e,r,n){var a=tt([e],[],r);return a.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),a.style.borderBottomWidth=P(a.height),a.maxFontSize=1,a},$h=function(e,r,n,a){var s=new ms(e,r,n,a);return ps(s),s},Bo=function(e){var r=new Ar(e);return ps(r),r},Vh=function(e,r){return e instanceof Ar?tt([],[e],r):e},Uh=function(e){if(e.positionType==="individualShift"){for(var r=e.children,n=[r[0]],a=-r[0].shift-r[0].elem.depth,s=a,i=1;i{var r=tt(["mspace"],[],e),n=qe(t,e);return r.style.marginRight=P(n),r},Vr=function(e,r,n){var a="";switch(e){case"amsrm":a="AMS";break;case"textrm":a="Main";break;case"textsf":a="SansSerif";break;case"texttt":a="Typewriter";break;default:a=e}var s;return r==="textbf"&&n==="textit"?s="BoldItalic":r==="textbf"?s="Bold":r==="textit"?s="Italic":s="Regular",a+"-"+s},No={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"}},Oo={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},jh=function(e,r){var[n,a,s]=Oo[e],i=new d0(n),l=new Xt([i],{width:P(a),height:P(s),style:"width:"+P(a),viewBox:"0 0 "+1e3*a+" "+1e3*s,preserveAspectRatio:"xMinYMin"}),u=qo(["overlay"],[l],r);return u.height=s,u.style.height=P(s),u.style.width=P(a),u},T={fontMap:No,makeSymbol:Tt,mathsym:Rh,makeSpan:tt,makeSvgSpan:qo,makeLineSpan:Fh,makeAnchor:$h,makeFragment:Bo,wrapFragment:Vh,makeVList:Wh,makeOrd:Hh,makeGlue:Gh,staticSvg:jh,svgData:Oo,tryCombineChars:Lh},De={number:3,unit:"mu"},x0={number:4,unit:"mu"},$t={number:5,unit:"mu"},Kh={mord:{mop:De,mbin:x0,mrel:$t,minner:De},mop:{mord:De,mop:De,mrel:$t,minner:De},mbin:{mord:x0,mop:x0,mopen:x0,minner:x0},mrel:{mord:$t,mop:$t,mopen:$t,minner:$t},mopen:{},mclose:{mop:De,mbin:x0,mrel:$t,minner:De},mpunct:{mord:De,mop:De,mrel:$t,mopen:De,mclose:De,mpunct:De,minner:De},minner:{mord:De,mop:De,mbin:x0,mrel:$t,mopen:De,mpunct:De,minner:De}},Xh={mord:{mop:De},mop:{mord:De,mop:De},mbin:{},mrel:{},mopen:{},mclose:{mop:De},mpunct:{},minner:{mop:De}},Ro={},pn={},gn={};function U(t){for(var{type:e,names:r,props:n,handler:a,htmlBuilder:s,mathmlBuilder:i}=t,l={type:e,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:n.allowedInMath===void 0?!0:n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:a},u=0;u{var E=C.classes[0],_=A.classes[0];E==="mbin"&&Q.contains(Zh,_)?C.classes[0]="mord":_==="mbin"&&Q.contains(Yh,E)&&(A.classes[0]="mord")},{node:p},g,w),qi(s,(A,C)=>{var E=Ea(C),_=Ea(A),L=E&&_?A.hasClass("mtight")?Xh[E][_]:Kh[E][_]:null;if(L)return T.makeGlue(L,f)},{node:p},g,w),s},qi=function t(e,r,n,a,s){a&&e.push(a);for(var i=0;ig=>{e.splice(p+1,0,g),i++})(i)}a&&e.pop()},Io=function(e){return e instanceof Ar||e instanceof ms||e instanceof Cr&&e.hasClass("enclosing")?e:null},e2=function t(e,r){var n=Io(e);if(n){var a=n.children;if(a.length){if(r==="right")return t(a[a.length-1],"right");if(r==="left")return t(a[0],"left")}}return e},Ea=function(e,r){return e?(r&&(e=e2(e,r)),Qh[e.classes[0]]||null):null},xr=function(e,r){var n=["nulldelimiter"].concat(e.baseSizingClasses());return Yt(r.concat(n))},pe=function(e,r,n){if(!e)return Yt();if(pn[e.type]){var a=pn[e.type](e,r);if(n&&r.size!==n.size){a=Yt(r.sizingClasses(n),[a],r);var s=r.sizeMultiplier/n.sizeMultiplier;a.height*=s,a.depth*=s}return a}else throw new H("Got group of unknown type: '"+e.type+"'")};function Ur(t,e){var r=Yt(["base"],t,e),n=Yt(["strut"]);return n.style.height=P(r.height+r.depth),r.depth&&(n.style.verticalAlign=P(-r.depth)),r.children.unshift(n),r}function Da(t,e){var r=null;t.length===1&&t[0].type==="tag"&&(r=t[0].tag,t=t[0].body);var n=Pe(t,e,"root"),a;n.length===2&&n[1].hasClass("tag")&&(a=n.pop());for(var s=[],i=[],l=0;l0&&(s.push(Ur(i,e)),i=[]),s.push(n[l]));i.length>0&&s.push(Ur(i,e));var f;r?(f=Ur(Pe(r,e,!0)),f.classes=["tag"],s.push(f)):a&&s.push(a);var d=Yt(["katex-html"],s);if(d.setAttribute("aria-hidden","true"),f){var p=f.children[0];p.style.height=P(d.height+d.depth),d.depth&&(p.style.verticalAlign=P(-d.depth))}return d}function Ho(t){return new Ar(t)}class vt{constructor(e,r,n){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=n||[]}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=f0(this.classes));for(var n=0;n0&&(e+=' class ="'+Q.escape(f0(this.classes))+'"'),e+=">";for(var n=0;n",e}toText(){return this.children.map(e=>e.toText()).join("")}}class fr{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return Q.escape(this.toText())}toText(){return this.text}}class t2{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",P(this.width)),e}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}}var O={MathNode:vt,TextNode:fr,SpaceNode:t2,newDocumentFragment:Ho},wt=function(e,r,n){return Ce[r][e]&&Ce[r][e].replace&&e.charCodeAt(0)!==55349&&!(Do.hasOwnProperty(e)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(e=Ce[r][e].replace),new O.TextNode(e)},gs=function(e){return e.length===1?e[0]:new O.MathNode("mrow",e)},vs=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 n=r.font;if(!n||n==="mathnormal")return null;var a=e.mode;if(n==="mathit")return"italic";if(n==="boldsymbol")return e.type==="textord"?"bold":"bold-italic";if(n==="mathbf")return"bold";if(n==="mathbb")return"double-struck";if(n==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var s=e.text;if(Q.contains(["\\imath","\\jmath"],s))return null;Ce[a][s]&&Ce[a][s].replace&&(s=Ce[a][s].replace);var i=T.fontMap[n].fontName;return ds(s,i,a)?T.fontMap[n].variant:null},rt=function(e,r,n){if(e.length===1){var a=Te(e[0],r);return n&&a instanceof vt&&a.type==="mo"&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var s=[],i,l=0;l0&&(p.text=p.text.slice(0,1)+"̸"+p.text.slice(1),s.pop())}}}s.push(u),i=u}return s},m0=function(e,r,n){return gs(rt(e,r,n))},Te=function(e,r){if(!e)return new O.MathNode("mrow");if(gn[e.type]){var n=gn[e.type](e,r);return n}else throw new H("Got group of unknown type: '"+e.type+"'")};function Bi(t,e,r,n,a){var s=rt(t,r),i;s.length===1&&s[0]instanceof vt&&Q.contains(["mrow","mtable"],s[0].type)?i=s[0]:i=new O.MathNode("mrow",s);var l=new O.MathNode("annotation",[new O.TextNode(e)]);l.setAttribute("encoding","application/x-tex");var u=new O.MathNode("semantics",[i,l]),f=new O.MathNode("math",[u]);f.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&f.setAttribute("display","block");var d=a?"katex":"katex-mathml";return T.makeSpan([d],[f])}var Po=function(e){return new Ut({style:e.displayMode?ne.DISPLAY:ne.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Lo=function(e,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),e=T.makeSpan(n,[e])}return e},r2=function(e,r,n){var a=Po(n),s;if(n.output==="mathml")return Bi(e,r,a,n.displayMode,!0);if(n.output==="html"){var i=Da(e,a);s=T.makeSpan(["katex"],[i])}else{var l=Bi(e,r,a,n.displayMode,!1),u=Da(e,a);s=T.makeSpan(["katex"],[l,u])}return Lo(s,n)},n2=function(e,r,n){var a=Po(n),s=Da(e,a),i=T.makeSpan(["katex"],[s]);return Lo(i,n)},a2={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":"="},s2=function(e){var r=new O.MathNode("mo",[new O.TextNode(a2[e.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},i2={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]},l2=function(e){return e.type==="ordgroup"?e.body.length:1},o2=function(e,r){function n(){var l=4e5,u=e.label.slice(1);if(Q.contains(["widehat","widecheck","widetilde","utilde"],u)){var f=e,d=l2(f.base),p,g,w;if(d>5)u==="widehat"||u==="widecheck"?(p=420,l=2364,w=.42,g=u+"4"):(p=312,l=2340,w=.34,g="tilde4");else{var A=[1,1,2,2,3,3][d];u==="widehat"||u==="widecheck"?(l=[0,1062,2364,2364,2364][A],p=[0,239,300,360,420][A],w=[0,.24,.3,.3,.36,.42][A],g=u+A):(l=[0,600,1033,2339,2340][A],p=[0,260,286,306,312][A],w=[0,.26,.286,.3,.306,.34][A],g="tilde"+A)}var C=new d0(g),E=new Xt([C],{width:"100%",height:P(w),viewBox:"0 0 "+l+" "+p,preserveAspectRatio:"none"});return{span:T.makeSvgSpan([],[E],r),minWidth:0,height:w}}else{var _=[],L=i2[u],[k,M,N]=L,W=N/1e3,G=k.length,ee,Y;if(G===1){var te=L[3];ee=["hide-tail"],Y=[te]}else if(G===2)ee=["halfarrow-left","halfarrow-right"],Y=["xMinYMin","xMaxYMin"];else if(G===3)ee=["brace-left","brace-center","brace-right"],Y=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support - `+G+" children.");for(var de=0;de0&&(a.style.minWidth=P(s)),a},u2=function(e,r,n,a,s){var i,l=e.height+e.depth+n+a;if(/fbox|color|angl/.test(r)){if(i=T.makeSpan(["stretchy",r],[],s),r==="fbox"){var u=s.color&&s.getColor();u&&(i.style.borderColor=u)}}else{var f=[];/^[bx]cancel$/.test(r)&&f.push(new za({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&f.push(new za({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var d=new Xt(f,{width:"100%",height:P(l)});i=T.makeSvgSpan([],[d],s)}return i.height=l,i.style.height=P(l),i},Zt={encloseSpan:u2,mathMLnode:s2,svgSpan:o2};function fe(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 bs(t){var e=qn(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 qn(t){return t&&(t.type==="atom"||Nh.hasOwnProperty(t.type))?t:null}var ys=(t,e)=>{var r,n,a;t&&t.type==="supsub"?(n=fe(t.base,"accent"),r=n.base,t.base=r,a=qh(pe(t,e)),t.base=n):(n=fe(t,"accent"),r=n.base);var s=pe(r,e.havingCrampedStyle()),i=n.isShifty&&Q.isCharacterBox(r),l=0;if(i){var u=Q.getBaseElem(r),f=pe(u,e.havingCrampedStyle());l=Ai(f).skew}var d=n.label==="\\c",p=d?s.height+s.depth:Math.min(s.height,e.fontMetrics().xHeight),g;if(n.isStretchy)g=Zt.svgSpan(n,e),g=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"elem",elem:g,wrapperClasses:["svg-align"],wrapperStyle:l>0?{width:"calc(100% - "+P(2*l)+")",marginLeft:P(2*l)}:void 0}]},e);else{var w,A;n.label==="\\vec"?(w=T.staticSvg("vec",e),A=T.svgData.vec[1]):(w=T.makeOrd({mode:n.mode,text:n.label},e,"textord"),w=Ai(w),w.italic=0,A=w.width,d&&(p+=w.depth)),g=T.makeSpan(["accent-body"],[w]);var C=n.label==="\\textcircled";C&&(g.classes.push("accent-full"),p=s.height);var E=l;C||(E-=A/2),g.style.left=P(E),n.label==="\\textcircled"&&(g.style.top=".2em"),g=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:-p},{type:"elem",elem:g}]},e)}var _=T.makeSpan(["mord","accent"],[g],e);return a?(a.children[0]=_,a.height=Math.max(_.height,a.height),a.classes[0]="mord",a):_},Fo=(t,e)=>{var r=t.isStretchy?Zt.mathMLnode(t.label):new O.MathNode("mo",[wt(t.label,t.mode)]),n=new O.MathNode("mover",[Te(t.base,e),r]);return n.setAttribute("accent","true"),n},c2=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(t=>"\\"+t).join("|"));U({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=vn(e[0]),n=!c2.test(t.funcName),a=!n||t.funcName==="\\widehat"||t.funcName==="\\widetilde"||t.funcName==="\\widecheck";return{type:"accent",mode:t.parser.mode,label:t.funcName,isStretchy:n,isShifty:a,base:r}},htmlBuilder:ys,mathmlBuilder:Fo});U({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],n=t.parser.mode;return n==="math"&&(t.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+t.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:t.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:ys,mathmlBuilder:Fo});U({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(t,e)=>{var{parser:r,funcName:n}=t,a=e[0];return{type:"accentUnder",mode:r.mode,label:n,base:a}},htmlBuilder:(t,e)=>{var r=pe(t.base,e),n=Zt.svgSpan(t,e),a=t.label==="\\utilde"?.12:0,s=T.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:r}]},e);return T.makeSpan(["mord","accentunder"],[s],e)},mathmlBuilder:(t,e)=>{var r=Zt.mathMLnode(t.label),n=new O.MathNode("munder",[Te(t.base,e),r]);return n.setAttribute("accentunder","true"),n}});var Wr=t=>{var e=new O.MathNode("mpadded",t?[t]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};U({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:n,funcName:a}=t;return{type:"xArrow",mode:n.mode,label:a,body:e[0],below:r[0]}},htmlBuilder(t,e){var r=e.style,n=e.havingStyle(r.sup()),a=T.wrapFragment(pe(t.body,n,e),e),s=t.label.slice(0,2)==="\\x"?"x":"cd";a.classes.push(s+"-arrow-pad");var i;t.below&&(n=e.havingStyle(r.sub()),i=T.wrapFragment(pe(t.below,n,e),e),i.classes.push(s+"-arrow-pad"));var l=Zt.svgSpan(t,e),u=-e.fontMetrics().axisHeight+.5*l.height,f=-e.fontMetrics().axisHeight-.5*l.height-.111;(a.depth>.25||t.label==="\\xleftequilibrium")&&(f-=a.depth);var d;if(i){var p=-e.fontMetrics().axisHeight+i.height+.5*l.height+.111;d=T.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:f},{type:"elem",elem:l,shift:u},{type:"elem",elem:i,shift:p}]},e)}else d=T.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:f},{type:"elem",elem:l,shift:u}]},e);return d.children[0].children[0].children[1].classes.push("svg-align"),T.makeSpan(["mrel","x-arrow"],[d],e)},mathmlBuilder(t,e){var r=Zt.mathMLnode(t.label);r.setAttribute("minsize",t.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(t.body){var a=Wr(Te(t.body,e));if(t.below){var s=Wr(Te(t.below,e));n=new O.MathNode("munderover",[r,s,a])}else n=new O.MathNode("mover",[r,a])}else if(t.below){var i=Wr(Te(t.below,e));n=new O.MathNode("munder",[r,i])}else n=Wr(),n=new O.MathNode("mover",[r,n]);return n}});var h2=T.makeSpan;function $o(t,e){var r=Pe(t.body,e,!0);return h2([t.mclass],r,e)}function Vo(t,e){var r,n=rt(t.body,e);return t.mclass==="minner"?r=new O.MathNode("mpadded",n):t.mclass==="mord"?t.isCharacterBox?(r=n[0],r.type="mi"):r=new O.MathNode("mi",n):(t.isCharacterBox?(r=n[0],r.type="mo"):r=new O.MathNode("mo",n),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}U({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(t,e){var{parser:r,funcName:n}=t,a=e[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:Re(a),isCharacterBox:Q.isCharacterBox(a)}},htmlBuilder:$o,mathmlBuilder:Vo});var Bn=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"};U({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(t,e){var{parser:r}=t;return{type:"mclass",mode:r.mode,mclass:Bn(e[0]),body:Re(e[1]),isCharacterBox:Q.isCharacterBox(e[1])}}});U({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(t,e){var{parser:r,funcName:n}=t,a=e[1],s=e[0],i;n!=="\\stackrel"?i=Bn(a):i="mrel";var l={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:Re(a)},u={type:"supsub",mode:s.mode,base:l,sup:n==="\\underset"?null:s,sub:n==="\\underset"?s:null};return{type:"mclass",mode:r.mode,mclass:i,body:[u],isCharacterBox:Q.isCharacterBox(u)}},htmlBuilder:$o,mathmlBuilder:Vo});U({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"pmb",mode:r.mode,mclass:Bn(e[0]),body:Re(e[0])}},htmlBuilder(t,e){var r=Pe(t.body,e,!0),n=T.makeSpan([t.mclass],r,e);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(t,e){var r=rt(t.body,e),n=new O.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var f2={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Ni=()=>({type:"styling",body:[],mode:"math",style:"display"}),Oi=t=>t.type==="textord"&&t.text==="@",d2=(t,e)=>(t.type==="mathord"||t.type==="atom")&&t.text===e;function m2(t,e,r){var n=f2[t];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{var a=r.callFunction("\\\\cdleft",[e[0]],[]),s={type:"atom",text:n,mode:"math",family:"rel"},i=r.callFunction("\\Big",[s],[]),l=r.callFunction("\\\\cdright",[e[1]],[]),u={type:"ordgroup",mode:"math",body:[a,i,l]};return r.callFunction("\\\\cdparent",[u],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var f={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[f],[])}default:return{type:"textord",text:" ",mode:"math"}}}function p2(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 H("Expected \\\\ or \\cr or \\end",t.nextToken)}for(var n=[],a=[n],s=0;s-1))if("<>AV".indexOf(f)>-1)for(var p=0;p<2;p++){for(var g=!0,w=u+1;wAV=|." after @',i[u]);var A=m2(f,d,t),C={type:"styling",body:[A],mode:"math",style:"display"};n.push(C),l=Ni()}s%2===0?n.push(l):n.shift(),n=[],a.push(n)}t.gullet.endGroup(),t.gullet.endGroup();var E=new Array(a[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:a,arraystretch:1,addJot:!0,rowGaps:[null],cols:E,colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}U({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:n}=t;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:e[0]}},htmlBuilder(t,e){var r=e.havingStyle(e.style.sup()),n=T.wrapFragment(pe(t.label,r,e),e);return n.classes.push("cd-label-"+t.side),n.style.bottom=P(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(t,e){var r=new O.MathNode("mrow",[Te(t.label,e)]);return r=new O.MathNode("mpadded",[r]),r.setAttribute("width","0"),t.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new O.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});U({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=T.wrapFragment(pe(t.fragment,e),e);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(t,e){return new O.MathNode("mrow",[Te(t.fragment,e)])}});U({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(t,e){for(var{parser:r}=t,n=fe(e[0],"ordgroup"),a=n.body,s="",i=0;i=1114111)throw new H("\\@char with invalid code point "+s);return u<=65535?f=String.fromCharCode(u):(u-=65536,f=String.fromCharCode((u>>10)+55296,(u&1023)+56320)),{type:"textord",mode:r.mode,text:f}}});var Uo=(t,e)=>{var r=Pe(t.body,e.withColor(t.color),!1);return T.makeFragment(r)},Wo=(t,e)=>{var r=rt(t.body,e.withColor(t.color)),n=new O.MathNode("mstyle",r);return n.setAttribute("mathcolor",t.color),n};U({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(t,e){var{parser:r}=t,n=fe(e[0],"color-token").color,a=e[1];return{type:"color",mode:r.mode,color:n,body:Re(a)}},htmlBuilder:Uo,mathmlBuilder:Wo});U({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(t,e){var{parser:r,breakOnTokenText:n}=t,a=fe(e[0],"color-token").color;r.gullet.macros.set("\\current@color",a);var s=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:a,body:s}},htmlBuilder:Uo,mathmlBuilder:Wo});U({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(t,e,r){var{parser:n}=t,a=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,s=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:s,size:a&&fe(a,"size").value}},htmlBuilder(t,e){var r=T.makeSpan(["mspace"],[],e);return t.newLine&&(r.classes.push("newline"),t.size&&(r.style.marginTop=P(qe(t.size,e)))),r},mathmlBuilder(t,e){var r=new O.MathNode("mspace");return t.newLine&&(r.setAttribute("linebreak","newline"),t.size&&r.setAttribute("height",P(qe(t.size,e)))),r}});var qa={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Go=t=>{var e=t.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new H("Expected a control sequence",t);return e},g2=t=>{var e=t.gullet.popToken();return e.text==="="&&(e=t.gullet.popToken(),e.text===" "&&(e=t.gullet.popToken())),e},jo=(t,e,r,n)=>{var a=t.gullet.macros.get(r.text);a==null&&(r.noexpand=!0,a={tokens:[r],numArgs:0,unexpandable:!t.gullet.isExpandable(r.text)}),t.gullet.macros.set(e,a,n)};U({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e,funcName:r}=t;e.consumeSpaces();var n=e.fetch();if(qa[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=qa[n.text]),fe(e.parseFunction(),"internal");throw new H("Invalid token after macro prefix",n)}});U({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,n=e.gullet.popToken(),a=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new H("Expected a control sequence",n);for(var s=0,i,l=[[]];e.gullet.future().text!=="{";)if(n=e.gullet.popToken(),n.text==="#"){if(e.gullet.future().text==="{"){i=e.gullet.future(),l[s].push("{");break}if(n=e.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new H('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==s+1)throw new H('Argument number "'+n.text+'" out of order');s++,l.push([])}else{if(n.text==="EOF")throw new H("Expected a macro definition");l[s].push(n.text)}var{tokens:u}=e.gullet.consumeArg();return i&&u.unshift(i),(r==="\\edef"||r==="\\xdef")&&(u=e.gullet.expandTokens(u),u.reverse()),e.gullet.macros.set(a,{tokens:u,numArgs:s,delimiters:l},r===qa[r]),{type:"internal",mode:e.mode}}});U({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,n=Go(e.gullet.popToken());e.gullet.consumeSpaces();var a=g2(e);return jo(e,n,a,r==="\\\\globallet"),{type:"internal",mode:e.mode}}});U({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,n=Go(e.gullet.popToken()),a=e.gullet.popToken(),s=e.gullet.popToken();return jo(e,n,s,r==="\\\\globalfuture"),e.gullet.pushToken(s),e.gullet.pushToken(a),{type:"internal",mode:e.mode}}});var sr=function(e,r,n){var a=Ce.math[e]&&Ce.math[e].replace,s=ds(a||e,r,n);if(!s)throw new Error("Unsupported symbol "+e+" and font size "+r+".");return s},ws=function(e,r,n,a){var s=n.havingBaseStyle(r),i=T.makeSpan(a.concat(s.sizingClasses(n)),[e],n),l=s.sizeMultiplier/n.sizeMultiplier;return i.height*=l,i.depth*=l,i.maxFontSize=s.sizeMultiplier,i},Ko=function(e,r,n){var a=r.havingBaseStyle(n),s=(1-r.sizeMultiplier/a.sizeMultiplier)*r.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=P(s),e.height-=s,e.depth+=s},v2=function(e,r,n,a,s,i){var l=T.makeSymbol(e,"Main-Regular",s,a),u=ws(l,r,a,i);return n&&Ko(u,a,r),u},b2=function(e,r,n,a){return T.makeSymbol(e,"Size"+r+"-Regular",n,a)},Xo=function(e,r,n,a,s,i){var l=b2(e,r,s,a),u=ws(T.makeSpan(["delimsizing","size"+r],[l],a),ne.TEXT,a,i);return n&&Ko(u,a,ne.TEXT),u},ea=function(e,r,n){var a;r==="Size1-Regular"?a="delim-size1":a="delim-size4";var s=T.makeSpan(["delimsizinginner",a],[T.makeSpan([],[T.makeSymbol(e,r,n)])]);return{type:"elem",elem:s}},ta=function(e,r,n){var a=Bt["Size4-Regular"][e.charCodeAt(0)]?Bt["Size4-Regular"][e.charCodeAt(0)][4]:Bt["Size1-Regular"][e.charCodeAt(0)][4],s=new d0("inner",Th(e,Math.round(1e3*r))),i=new Xt([s],{width:P(a),height:P(r),style:"width:"+P(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),l=T.makeSvgSpan([],[i],n);return l.height=r,l.style.height=P(r),l.style.width=P(a),{type:"elem",elem:l}},Ba=.008,Gr={type:"kern",size:-1*Ba},y2=["|","\\lvert","\\rvert","\\vert"],w2=["\\|","\\lVert","\\rVert","\\Vert"],Yo=function(e,r,n,a,s,i){var l,u,f,d,p="",g=0;l=f=d=e,u=null;var w="Size1-Regular";e==="\\uparrow"?f=d="⏐":e==="\\Uparrow"?f=d="‖":e==="\\downarrow"?l=f="⏐":e==="\\Downarrow"?l=f="‖":e==="\\updownarrow"?(l="\\uparrow",f="⏐",d="\\downarrow"):e==="\\Updownarrow"?(l="\\Uparrow",f="‖",d="\\Downarrow"):Q.contains(y2,e)?(f="∣",p="vert",g=333):Q.contains(w2,e)?(f="∥",p="doublevert",g=556):e==="["||e==="\\lbrack"?(l="⎡",f="⎢",d="⎣",w="Size4-Regular",p="lbrack",g=667):e==="]"||e==="\\rbrack"?(l="⎤",f="⎥",d="⎦",w="Size4-Regular",p="rbrack",g=667):e==="\\lfloor"||e==="⌊"?(f=l="⎢",d="⎣",w="Size4-Regular",p="lfloor",g=667):e==="\\lceil"||e==="⌈"?(l="⎡",f=d="⎢",w="Size4-Regular",p="lceil",g=667):e==="\\rfloor"||e==="⌋"?(f=l="⎥",d="⎦",w="Size4-Regular",p="rfloor",g=667):e==="\\rceil"||e==="⌉"?(l="⎤",f=d="⎥",w="Size4-Regular",p="rceil",g=667):e==="("||e==="\\lparen"?(l="⎛",f="⎜",d="⎝",w="Size4-Regular",p="lparen",g=875):e===")"||e==="\\rparen"?(l="⎞",f="⎟",d="⎠",w="Size4-Regular",p="rparen",g=875):e==="\\{"||e==="\\lbrace"?(l="⎧",u="⎨",d="⎩",f="⎪",w="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(l="⎫",u="⎬",d="⎭",f="⎪",w="Size4-Regular"):e==="\\lgroup"||e==="⟮"?(l="⎧",d="⎩",f="⎪",w="Size4-Regular"):e==="\\rgroup"||e==="⟯"?(l="⎫",d="⎭",f="⎪",w="Size4-Regular"):e==="\\lmoustache"||e==="⎰"?(l="⎧",d="⎭",f="⎪",w="Size4-Regular"):(e==="\\rmoustache"||e==="⎱")&&(l="⎫",d="⎩",f="⎪",w="Size4-Regular");var A=sr(l,w,s),C=A.height+A.depth,E=sr(f,w,s),_=E.height+E.depth,L=sr(d,w,s),k=L.height+L.depth,M=0,N=1;if(u!==null){var W=sr(u,w,s);M=W.height+W.depth,N=2}var G=C+k+M,ee=Math.max(0,Math.ceil((r-G)/(N*_))),Y=G+ee*N*_,te=a.fontMetrics().axisHeight;n&&(te*=a.sizeMultiplier);var de=Y/2-te,ce=[];if(p.length>0){var ge=Y-C-k,we=Math.round(Y*1e3),Me=Mh(p,Math.round(ge*1e3)),X=new d0(p,Me),he=(g/1e3).toFixed(3)+"em",Z=(we/1e3).toFixed(3)+"em",Oe=new Xt([X],{width:he,height:Z,viewBox:"0 0 "+g+" "+we}),nt=T.makeSvgSpan([],[Oe],a);nt.height=we/1e3,nt.style.width=he,nt.style.height=Z,ce.push({type:"elem",elem:nt})}else{if(ce.push(ea(d,w,s)),ce.push(Gr),u===null){var Fe=Y-C-k+2*Ba;ce.push(ta(f,Fe,a))}else{var Ee=(Y-C-k-M)/2+2*Ba;ce.push(ta(f,Ee,a)),ce.push(Gr),ce.push(ea(u,w,s)),ce.push(Gr),ce.push(ta(f,Ee,a))}ce.push(Gr),ce.push(ea(l,w,s))}var e0=a.havingBaseStyle(ne.TEXT),Y0=T.makeVList({positionType:"bottom",positionData:de,children:ce},e0);return ws(T.makeSpan(["delimsizing","mult"],[Y0],e0),ne.TEXT,a,i)},ra=80,na=.08,aa=function(e,r,n,a,s){var i=kh(e,a,n),l=new d0(e,i),u=new Xt([l],{width:"400em",height:P(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return T.makeSvgSpan(["hide-tail"],[u],s)},x2=function(e,r){var n=r.havingBaseSizing(),a=e1("\\surd",e*n.sizeMultiplier,Qo,n),s=n.sizeMultiplier,i=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),l,u=0,f=0,d=0,p;return a.type==="small"?(d=1e3+1e3*i+ra,e<1?s=1:e<1.4&&(s=.7),u=(1+i+na)/s,f=(1+i)/s,l=aa("sqrtMain",u,d,i,r),l.style.minWidth="0.853em",p=.833/s):a.type==="large"?(d=(1e3+ra)*dr[a.size],f=(dr[a.size]+i)/s,u=(dr[a.size]+i+na)/s,l=aa("sqrtSize"+a.size,u,d,i,r),l.style.minWidth="1.02em",p=1/s):(u=e+i+na,f=e+i,d=Math.floor(1e3*e+i)+ra,l=aa("sqrtTall",u,d,i,r),l.style.minWidth="0.742em",p=1.056),l.height=f,l.style.height=P(u),{span:l,advanceWidth:p,ruleWidth:(r.fontMetrics().sqrtRuleThickness+i)*s}},Zo=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],S2=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],Jo=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],dr=[0,1.2,1.8,2.4,3],k2=function(e,r,n,a,s){if(e==="<"||e==="\\lt"||e==="⟨"?e="\\langle":(e===">"||e==="\\gt"||e==="⟩")&&(e="\\rangle"),Q.contains(Zo,e)||Q.contains(Jo,e))return Xo(e,r,!1,n,a,s);if(Q.contains(S2,e))return Yo(e,dr[r],!1,n,a,s);throw new H("Illegal delimiter: '"+e+"'")},T2=[{type:"small",style:ne.SCRIPTSCRIPT},{type:"small",style:ne.SCRIPT},{type:"small",style:ne.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],M2=[{type:"small",style:ne.SCRIPTSCRIPT},{type:"small",style:ne.SCRIPT},{type:"small",style:ne.TEXT},{type:"stack"}],Qo=[{type:"small",style:ne.SCRIPTSCRIPT},{type:"small",style:ne.SCRIPT},{type:"small",style:ne.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],A2=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.")},e1=function(e,r,n,a){for(var s=Math.min(2,3-a.style.size),i=s;ir)return n[i]}return n[n.length-1]},t1=function(e,r,n,a,s,i){e==="<"||e==="\\lt"||e==="⟨"?e="\\langle":(e===">"||e==="\\gt"||e==="⟩")&&(e="\\rangle");var l;Q.contains(Jo,e)?l=T2:Q.contains(Zo,e)?l=Qo:l=M2;var u=e1(e,r,l,a);return u.type==="small"?v2(e,u.style,n,a,s,i):u.type==="large"?Xo(e,u.size,n,a,s,i):Yo(e,r,n,a,s,i)},C2=function(e,r,n,a,s,i){var l=a.fontMetrics().axisHeight*a.sizeMultiplier,u=901,f=5/a.fontMetrics().ptPerEm,d=Math.max(r-l,n+l),p=Math.max(d/500*u,2*d-f);return t1(e,p,!0,a,s,i)},Kt={sqrtImage:x2,sizedDelim:k2,sizeToMaxHeight:dr,customSizedDelim:t1,leftRightDelim:C2},Ri={"\\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}},z2=["(","\\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 Nn(t,e){var r=qn(t);if(r&&Q.contains(z2,r.text))return r;throw r?new H("Invalid delimiter '"+r.text+"' after '"+e.funcName+"'",t):new H("Invalid delimiter type '"+t.type+"'",t)}U({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=Nn(e[0],t);return{type:"delimsizing",mode:t.parser.mode,size:Ri[t.funcName].size,mclass:Ri[t.funcName].mclass,delim:r.text}},htmlBuilder:(t,e)=>t.delim==="."?T.makeSpan([t.mclass]):Kt.sizedDelim(t.delim,t.size,e,t.mode,[t.mclass]),mathmlBuilder:t=>{var e=[];t.delim!=="."&&e.push(wt(t.delim,t.mode));var r=new O.MathNode("mo",e);t.mclass==="mopen"||t.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=P(Kt.sizeToMaxHeight[t.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function Ii(t){if(!t.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}U({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 H("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:t.parser.mode,delim:Nn(e[0],t).text,color:r}}});U({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=Nn(e[0],t),n=t.parser;++n.leftrightDepth;var a=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var s=fe(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:a,left:r.text,right:s.delim,rightColor:s.color}},htmlBuilder:(t,e)=>{Ii(t);for(var r=Pe(t.body,e,!0,["mopen","mclose"]),n=0,a=0,s=!1,i=0;i{Ii(t);var r=rt(t.body,e);if(t.left!=="."){var n=new O.MathNode("mo",[wt(t.left,t.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(t.right!=="."){var a=new O.MathNode("mo",[wt(t.right,t.mode)]);a.setAttribute("fence","true"),t.rightColor&&a.setAttribute("mathcolor",t.rightColor),r.push(a)}return gs(r)}});U({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=Nn(e[0],t);if(!t.parser.leftrightDepth)throw new H("\\middle without preceding \\left",r);return{type:"middle",mode:t.parser.mode,delim:r.text}},htmlBuilder:(t,e)=>{var r;if(t.delim===".")r=xr(e,[]);else{r=Kt.sizedDelim(t.delim,1,e,t.mode,[]);var n={delim:t.delim,options:e};r.isMiddle=n}return r},mathmlBuilder:(t,e)=>{var r=t.delim==="\\vert"||t.delim==="|"?wt("|","text"):wt(t.delim,t.mode),n=new O.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var xs=(t,e)=>{var r=T.wrapFragment(pe(t.body,e),e),n=t.label.slice(1),a=e.sizeMultiplier,s,i=0,l=Q.isCharacterBox(t.body);if(n==="sout")s=T.makeSpan(["stretchy","sout"]),s.height=e.fontMetrics().defaultRuleThickness/a,i=-.5*e.fontMetrics().xHeight;else if(n==="phase"){var u=qe({number:.6,unit:"pt"},e),f=qe({number:.35,unit:"ex"},e),d=e.havingBaseSizing();a=a/d.sizeMultiplier;var p=r.height+r.depth+u+f;r.style.paddingLeft=P(p/2+u);var g=Math.floor(1e3*p*a),w=xh(g),A=new Xt([new d0("phase",w)],{width:"400em",height:P(g/1e3),viewBox:"0 0 400000 "+g,preserveAspectRatio:"xMinYMin slice"});s=T.makeSvgSpan(["hide-tail"],[A],e),s.style.height=P(p),i=r.depth+u+f}else{/cancel/.test(n)?l||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var C=0,E=0,_=0;/box/.test(n)?(_=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),C=e.fontMetrics().fboxsep+(n==="colorbox"?0:_),E=C):n==="angl"?(_=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),C=4*_,E=Math.max(0,.25-r.depth)):(C=l?.2:0,E=C),s=Zt.encloseSpan(r,n,C,E,e),/fbox|boxed|fcolorbox/.test(n)?(s.style.borderStyle="solid",s.style.borderWidth=P(_)):n==="angl"&&_!==.049&&(s.style.borderTopWidth=P(_),s.style.borderRightWidth=P(_)),i=r.depth+E,t.backgroundColor&&(s.style.backgroundColor=t.backgroundColor,t.borderColor&&(s.style.borderColor=t.borderColor))}var L;if(t.backgroundColor)L=T.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:i},{type:"elem",elem:r,shift:0}]},e);else{var k=/cancel|phase/.test(n)?["svg-align"]:[];L=T.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:s,shift:i,wrapperClasses:k}]},e)}return/cancel/.test(n)&&(L.height=r.height,L.depth=r.depth),/cancel/.test(n)&&!l?T.makeSpan(["mord","cancel-lap"],[L],e):T.makeSpan(["mord"],[L],e)},Ss=(t,e)=>{var r=0,n=new O.MathNode(t.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Te(t.body,e)]);switch(t.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),t.label==="\\fcolorbox"){var a=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);n.setAttribute("style","border: "+a+"em solid "+String(t.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return t.backgroundColor&&n.setAttribute("mathbackground",t.backgroundColor),n};U({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(t,e,r){var{parser:n,funcName:a}=t,s=fe(e[0],"color-token").color,i=e[1];return{type:"enclose",mode:n.mode,label:a,backgroundColor:s,body:i}},htmlBuilder:xs,mathmlBuilder:Ss});U({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(t,e,r){var{parser:n,funcName:a}=t,s=fe(e[0],"color-token").color,i=fe(e[1],"color-token").color,l=e[2];return{type:"enclose",mode:n.mode,label:a,backgroundColor:i,borderColor:s,body:l}},htmlBuilder:xs,mathmlBuilder:Ss});U({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]}}});U({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:n}=t,a=e[0];return{type:"enclose",mode:r.mode,label:n,body:a}},htmlBuilder:xs,mathmlBuilder:Ss});U({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 r1={};function Ht(t){for(var{type:e,names:r,props:n,handler:a,htmlBuilder:s,mathmlBuilder:i}=t,l={type:e,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},u=0;u{var e=t.parser.settings;if(!e.displayMode)throw new H("{"+t.envName+"} can be used only in display mode.")};function ks(t){if(t.indexOf("ed")===-1)return t.indexOf("*")===-1}function v0(t,e,r){var{hskipBeforeAndAfter:n,addJot:a,cols:s,arraystretch:i,colSeparationType:l,autoTag:u,singleRow:f,emptySingleRow:d,maxNumCols:p,leqno:g}=e;if(t.gullet.beginGroup(),f||t.gullet.macros.set("\\cr","\\\\\\relax"),!i){var w=t.gullet.expandMacroAsText("\\arraystretch");if(w==null)i=1;else if(i=parseFloat(w),!i||i<0)throw new H("Invalid \\arraystretch: "+w)}t.gullet.beginGroup();var A=[],C=[A],E=[],_=[],L=u!=null?[]:void 0;function k(){u&&t.gullet.macros.set("\\@eqnsw","1",!0)}function M(){L&&(t.gullet.macros.get("\\df@tag")?(L.push(t.subparse([new Ot("\\df@tag")])),t.gullet.macros.set("\\df@tag",void 0,!0)):L.push(!!u&&t.gullet.macros.get("\\@eqnsw")==="1"))}for(k(),_.push(Hi(t));;){var N=t.parseExpression(!1,f?"\\end":"\\\\");t.gullet.endGroup(),t.gullet.beginGroup(),N={type:"ordgroup",mode:t.mode,body:N},r&&(N={type:"styling",mode:t.mode,style:r,body:[N]}),A.push(N);var W=t.fetch().text;if(W==="&"){if(p&&A.length===p){if(f||l)throw new H("Too many tab characters: &",t.nextToken);t.settings.reportNonstrict("textEnv","Too few columns specified in the {array} column argument.")}t.consume()}else if(W==="\\end"){M(),A.length===1&&N.type==="styling"&&N.body[0].body.length===0&&(C.length>1||!d)&&C.pop(),_.length0&&(k+=.25),f.push({pos:k,isDashed:B[$]})}for(M(i[0]),n=0;n0&&(de+=L,GB))for(n=0;n=l)){var xt=void 0;(a>0||e.hskipBeforeAndAfter)&&(xt=Q.deflt(Ee.pregap,g),xt!==0&&(Me=T.makeSpan(["arraycolsep"],[]),Me.style.width=P(xt),we.push(Me)));var zt=[];for(n=0;n0){for(var J0=T.makeLineSpan("hline",r,d),y=T.makeLineSpan("hdashline",r,d),S=[{type:"elem",elem:u,shift:0}];f.length>0;){var z=f.pop(),R=z.pos-ce;z.isDashed?S.push({type:"elem",elem:y,shift:R}):S.push({type:"elem",elem:J0,shift:R})}u=T.makeVList({positionType:"individualShift",children:S},r)}if(he.length===0)return T.makeSpan(["mord"],[u],r);var D=T.makeVList({positionType:"individualShift",children:he},r);return D=T.makeSpan(["tag"],[D],r),T.makeFragment([u,D])},_2={c:"center ",l:"left ",r:"right "},Lt=function(e,r){for(var n=[],a=new O.MathNode("mtd",[],["mtr-glue"]),s=new O.MathNode("mtd",[],["mml-eqn-num"]),i=0;i0){var A=e.cols,C="",E=!1,_=0,L=A.length;A[0].type==="separator"&&(g+="top ",_=1),A[A.length-1].type==="separator"&&(g+="bottom ",L-=1);for(var k=_;k0?"left ":"",g+=ee[ee.length-1].length>0?"right ":"";for(var Y=1;Y-1?"alignat":"align",s=e.envName==="split",i=v0(e.parser,{cols:n,addJot:!0,autoTag:s?void 0:ks(e.envName),emptySingleRow:!0,colSeparationType:a,maxNumCols:s?2:void 0,leqno:e.parser.settings.leqno},"display"),l,u=0,f={type:"ordgroup",mode:e.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var d="",p=0;p0&&w&&(E=1),n[A]={type:"align",align:C,pregap:E,postgap:0}}return i.colSeparationType=w?"align":"alignat",i};Ht({type:"array",names:["array","darray"],props:{numArgs:1},handler(t,e){var r=qn(e[0]),n=r?[e[0]]:fe(e[0],"ordgroup").body,a=n.map(function(i){var l=bs(i),u=l.text;if("lcr".indexOf(u)!==-1)return{type:"align",align:u};if(u==="|")return{type:"separator",separator:"|"};if(u===":")return{type:"separator",separator:":"};throw new H("Unknown column alignment: "+u,i)}),s={cols:a,hskipBeforeAndAfter:!0,maxNumCols:a.length};return v0(t.parser,s,Ts(t.envName))},htmlBuilder:Pt,mathmlBuilder:Lt});Ht({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",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(t.envName.charAt(t.envName.length-1)==="*"){var a=t.parser;if(a.consumeSpaces(),a.fetch().text==="["){if(a.consume(),a.consumeSpaces(),r=a.fetch().text,"lcr".indexOf(r)===-1)throw new H("Expected l or c or r",a.nextToken);a.consume(),a.consumeSpaces(),a.expect("]"),a.consume(),n.cols=[{type:"align",align:r}]}}var s=v0(t.parser,n,Ts(t.envName)),i=Math.max(0,...s.body.map(l=>l.length));return s.cols=new Array(i).fill({type:"align",align:r}),e?{type:"leftright",mode:t.mode,body:[s],left:e[0],right:e[1],rightColor:void 0}:s},htmlBuilder:Pt,mathmlBuilder:Lt});Ht({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(t){var e={arraystretch:.5},r=v0(t.parser,e,"script");return r.colSeparationType="small",r},htmlBuilder:Pt,mathmlBuilder:Lt});Ht({type:"array",names:["subarray"],props:{numArgs:1},handler(t,e){var r=qn(e[0]),n=r?[e[0]]:fe(e[0],"ordgroup").body,a=n.map(function(i){var l=bs(i),u=l.text;if("lc".indexOf(u)!==-1)return{type:"align",align:u};throw new H("Unknown column alignment: "+u,i)});if(a.length>1)throw new H("{subarray} can contain only one column");var s={cols:a,hskipBeforeAndAfter:!1,arraystretch:.5};if(s=v0(t.parser,s,"script"),s.body.length>0&&s.body[0].length>1)throw new H("{subarray} can contain only one column");return s},htmlBuilder:Pt,mathmlBuilder:Lt});Ht({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=v0(t.parser,e,Ts(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:Pt,mathmlBuilder:Lt});Ht({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:a1,htmlBuilder:Pt,mathmlBuilder:Lt});Ht({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(t){Q.contains(["gather","gather*"],t.envName)&&On(t);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:ks(t.envName),emptySingleRow:!0,leqno:t.parser.settings.leqno};return v0(t.parser,e,"display")},htmlBuilder:Pt,mathmlBuilder:Lt});Ht({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:a1,htmlBuilder:Pt,mathmlBuilder:Lt});Ht({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(t){On(t);var e={autoTag:ks(t.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:t.parser.settings.leqno};return v0(t.parser,e,"display")},htmlBuilder:Pt,mathmlBuilder:Lt});Ht({type:"array",names:["CD"],props:{numArgs:0},handler(t){return On(t),p2(t.parser)},htmlBuilder:Pt,mathmlBuilder:Lt});m("\\nonumber","\\gdef\\@eqnsw{0}");m("\\notag","\\nonumber");U({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(t,e){throw new H(t.funcName+" valid only within array environment")}});var Pi=r1;U({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(t,e){var{parser:r,funcName:n}=t,a=e[0];if(a.type!=="ordgroup")throw new H("Invalid environment name",a);for(var s="",i=0;i{var r=t.font,n=e.withFont(r);return pe(t.body,n)},i1=(t,e)=>{var r=t.font,n=e.withFont(r);return Te(t.body,n)},Li={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};U({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:n}=t,a=vn(e[0]),s=n;return s in Li&&(s=Li[s]),{type:"font",mode:r.mode,font:s.slice(1),body:a}},htmlBuilder:s1,mathmlBuilder:i1});U({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(t,e)=>{var{parser:r}=t,n=e[0],a=Q.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:Bn(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:a}}});U({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:n,breakOnTokenText:a}=t,{mode:s}=r,i=r.parseExpression(!0,a),l="math"+n.slice(1);return{type:"font",mode:s,font:l,body:{type:"ordgroup",mode:r.mode,body:i}}},htmlBuilder:s1,mathmlBuilder:i1});var l1=(t,e)=>{var r=e;return t==="display"?r=r.id>=ne.SCRIPT.id?r.text():ne.DISPLAY:t==="text"&&r.size===ne.DISPLAY.size?r=ne.TEXT:t==="script"?r=ne.SCRIPT:t==="scriptscript"&&(r=ne.SCRIPTSCRIPT),r},Ms=(t,e)=>{var r=l1(t.size,e.style),n=r.fracNum(),a=r.fracDen(),s;s=e.havingStyle(n);var i=pe(t.numer,s,e);if(t.continued){var l=8.5/e.fontMetrics().ptPerEm,u=3.5/e.fontMetrics().ptPerEm;i.height=i.height0?A=3*g:A=7*g,C=e.fontMetrics().denom1):(p>0?(w=e.fontMetrics().num2,A=g):(w=e.fontMetrics().num3,A=3*g),C=e.fontMetrics().denom2);var E;if(d){var L=e.fontMetrics().axisHeight;w-i.depth-(L+.5*p){var r=new O.MathNode("mfrac",[Te(t.numer,e),Te(t.denom,e)]);if(!t.hasBarLine)r.setAttribute("linethickness","0px");else if(t.barSize){var n=qe(t.barSize,e);r.setAttribute("linethickness",P(n))}var a=l1(t.size,e.style);if(a.size!==e.style.size){r=new O.MathNode("mstyle",[r]);var s=a.size===ne.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",s),r.setAttribute("scriptlevel","0")}if(t.leftDelim!=null||t.rightDelim!=null){var i=[];if(t.leftDelim!=null){var l=new O.MathNode("mo",[new O.TextNode(t.leftDelim.replace("\\",""))]);l.setAttribute("fence","true"),i.push(l)}if(i.push(r),t.rightDelim!=null){var u=new O.MathNode("mo",[new O.TextNode(t.rightDelim.replace("\\",""))]);u.setAttribute("fence","true"),i.push(u)}return gs(i)}return r};U({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(t,e)=>{var{parser:r,funcName:n}=t,a=e[0],s=e[1],i,l=null,u=null,f="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":i=!0;break;case"\\\\atopfrac":i=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":i=!1,l="(",u=")";break;case"\\\\bracefrac":i=!1,l="\\{",u="\\}";break;case"\\\\brackfrac":i=!1,l="[",u="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":f="display";break;case"\\tfrac":case"\\tbinom":f="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:a,denom:s,hasBarLine:i,leftDelim:l,rightDelim:u,size:f,barSize:null}},htmlBuilder:Ms,mathmlBuilder:As});U({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(t,e)=>{var{parser:r,funcName:n}=t,a=e[0],s=e[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:a,denom:s,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});U({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(t){var{parser:e,funcName:r,token:n}=t,a;switch(r){case"\\over":a="\\frac";break;case"\\choose":a="\\binom";break;case"\\atop":a="\\\\atopfrac";break;case"\\brace":a="\\\\bracefrac";break;case"\\brack":a="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:a,token:n}}});var Fi=["display","text","script","scriptscript"],$i=function(e){var r=null;return e.length>0&&(r=e,r=r==="."?null:r),r};U({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(t,e){var{parser:r}=t,n=e[4],a=e[5],s=vn(e[0]),i=s.type==="atom"&&s.family==="open"?$i(s.text):null,l=vn(e[1]),u=l.type==="atom"&&l.family==="close"?$i(l.text):null,f=fe(e[2],"size"),d,p=null;f.isBlank?d=!0:(p=f.value,d=p.number>0);var g="auto",w=e[3];if(w.type==="ordgroup"){if(w.body.length>0){var A=fe(w.body[0],"textord");g=Fi[Number(A.text)]}}else w=fe(w,"textord"),g=Fi[Number(w.text)];return{type:"genfrac",mode:r.mode,numer:n,denom:a,continued:!1,hasBarLine:d,barSize:p,leftDelim:i,rightDelim:u,size:g}},htmlBuilder:Ms,mathmlBuilder:As});U({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(t,e){var{parser:r,funcName:n,token:a}=t;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:fe(e[0],"size").value,token:a}}});U({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(t,e)=>{var{parser:r,funcName:n}=t,a=e[0],s=ih(fe(e[1],"infix").size),i=e[2],l=s.number>0;return{type:"genfrac",mode:r.mode,numer:a,denom:i,continued:!1,hasBarLine:l,barSize:s,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Ms,mathmlBuilder:As});var o1=(t,e)=>{var r=e.style,n,a;t.type==="supsub"?(n=t.sup?pe(t.sup,e.havingStyle(r.sup()),e):pe(t.sub,e.havingStyle(r.sub()),e),a=fe(t.base,"horizBrace")):a=fe(t,"horizBrace");var s=pe(a.base,e.havingBaseStyle(ne.DISPLAY)),i=Zt.svgSpan(a,e),l;if(a.isOver?(l=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:i}]},e),l.children[0].children[0].children[1].classes.push("svg-align")):(l=T.makeVList({positionType:"bottom",positionData:s.depth+.1+i.height,children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:s}]},e),l.children[0].children[0].children[0].classes.push("svg-align")),n){var u=T.makeSpan(["mord",a.isOver?"mover":"munder"],[l],e);a.isOver?l=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:u},{type:"kern",size:.2},{type:"elem",elem:n}]},e):l=T.makeVList({positionType:"bottom",positionData:u.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:u}]},e)}return T.makeSpan(["mord",a.isOver?"mover":"munder"],[l],e)},E2=(t,e)=>{var r=Zt.mathMLnode(t.label);return new O.MathNode(t.isOver?"mover":"munder",[Te(t.base,e),r])};U({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:n}=t;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:e[0]}},htmlBuilder:o1,mathmlBuilder:E2});U({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,n=e[1],a=fe(e[0],"url").url;return r.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:r.mode,href:a,body:Re(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(t,e)=>{var r=Pe(t.body,e,!1);return T.makeAnchor(t.href,[],r,e)},mathmlBuilder:(t,e)=>{var r=m0(t.body,e);return r instanceof vt||(r=new vt("mrow",[r])),r.setAttribute("href",t.href),r}});U({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,n=fe(e[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var a=[],s=0;s{var{parser:r,funcName:n,token:a}=t,s=fe(e[0],"raw").string,i=e[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var l,u={};switch(n){case"\\htmlClass":u.class=s,l={command:"\\htmlClass",class:s};break;case"\\htmlId":u.id=s,l={command:"\\htmlId",id:s};break;case"\\htmlStyle":u.style=s,l={command:"\\htmlStyle",style:s};break;case"\\htmlData":{for(var f=s.split(","),d=0;d{var r=Pe(t.body,e,!1),n=["enclosing"];t.attributes.class&&n.push(...t.attributes.class.trim().split(/\s+/));var a=T.makeSpan(n,r,e);for(var s in t.attributes)s!=="class"&&t.attributes.hasOwnProperty(s)&&a.setAttribute(s,t.attributes[s]);return a},mathmlBuilder:(t,e)=>m0(t.body,e)});U({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t;return{type:"htmlmathml",mode:r.mode,html:Re(e[0]),mathml:Re(e[1])}},htmlBuilder:(t,e)=>{var r=Pe(t.html,e,!1);return T.makeFragment(r)},mathmlBuilder:(t,e)=>m0(t.mathml,e)});var sa=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 H("Invalid size: '"+e+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!Co(n))throw new H("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};U({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(t,e,r)=>{var{parser:n}=t,a={number:0,unit:"em"},s={number:.9,unit:"em"},i={number:0,unit:"em"},l="";if(r[0])for(var u=fe(r[0],"raw").string,f=u.split(","),d=0;d{var r=qe(t.height,e),n=0;t.totalheight.number>0&&(n=qe(t.totalheight,e)-r);var a=0;t.width.number>0&&(a=qe(t.width,e));var s={height:P(r+n)};a>0&&(s.width=P(a)),n>0&&(s.verticalAlign=P(-n));var i=new Eh(t.src,t.alt,s);return i.height=r,i.depth=n,i},mathmlBuilder:(t,e)=>{var r=new O.MathNode("mglyph",[]);r.setAttribute("alt",t.alt);var n=qe(t.height,e),a=0;if(t.totalheight.number>0&&(a=qe(t.totalheight,e)-n,r.setAttribute("valign",P(-a))),r.setAttribute("height",P(n+a)),t.width.number>0){var s=qe(t.width,e);r.setAttribute("width",P(s))}return r.setAttribute("src",t.src),r}});U({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(t,e){var{parser:r,funcName:n}=t,a=fe(e[0],"size");if(r.settings.strict){var s=n[1]==="m",i=a.value.unit==="mu";s?(i||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+a.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):i&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:a.value}},htmlBuilder(t,e){return T.makeGlue(t.dimension,e)},mathmlBuilder(t,e){var r=qe(t.dimension,e);return new O.SpaceNode(r)}});U({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:n}=t,a=e[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:a}},htmlBuilder:(t,e)=>{var r;t.alignment==="clap"?(r=T.makeSpan([],[pe(t.body,e)]),r=T.makeSpan(["inner"],[r],e)):r=T.makeSpan(["inner"],[pe(t.body,e)]);var n=T.makeSpan(["fix"],[]),a=T.makeSpan([t.alignment],[r,n],e),s=T.makeSpan(["strut"]);return s.style.height=P(a.height+a.depth),a.depth&&(s.style.verticalAlign=P(-a.depth)),a.children.unshift(s),a=T.makeSpan(["thinbox"],[a],e),T.makeSpan(["mord","vbox"],[a],e)},mathmlBuilder:(t,e)=>{var r=new O.MathNode("mpadded",[Te(t.body,e)]);if(t.alignment!=="rlap"){var n=t.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}});U({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){var{funcName:r,parser:n}=t,a=n.mode;n.switchMode("math");var s=r==="\\("?"\\)":"$",i=n.parseExpression(!1,s);return n.expect(s),n.switchMode(a),{type:"styling",mode:n.mode,style:"text",body:i}}});U({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){throw new H("Mismatched "+t.funcName)}});var Vi=(t,e)=>{switch(e.style.size){case ne.DISPLAY.size:return t.display;case ne.TEXT.size:return t.text;case ne.SCRIPT.size:return t.script;case ne.SCRIPTSCRIPT.size:return t.scriptscript;default:return t.text}};U({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(t,e)=>{var{parser:r}=t;return{type:"mathchoice",mode:r.mode,display:Re(e[0]),text:Re(e[1]),script:Re(e[2]),scriptscript:Re(e[3])}},htmlBuilder:(t,e)=>{var r=Vi(t,e),n=Pe(r,e,!1);return T.makeFragment(n)},mathmlBuilder:(t,e)=>{var r=Vi(t,e);return m0(r,e)}});var u1=(t,e,r,n,a,s,i)=>{t=T.makeSpan([],[t]);var l=r&&Q.isCharacterBox(r),u,f;if(e){var d=pe(e,n.havingStyle(a.sup()),n);f={elem:d,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-d.depth)}}if(r){var p=pe(r,n.havingStyle(a.sub()),n);u={elem:p,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-p.height)}}var g;if(f&&u){var w=n.fontMetrics().bigOpSpacing5+u.elem.height+u.elem.depth+u.kern+t.depth+i;g=T.makeVList({positionType:"bottom",positionData:w,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:P(-s)},{type:"kern",size:u.kern},{type:"elem",elem:t},{type:"kern",size:f.kern},{type:"elem",elem:f.elem,marginLeft:P(s)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(u){var A=t.height-i;g=T.makeVList({positionType:"top",positionData:A,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:P(-s)},{type:"kern",size:u.kern},{type:"elem",elem:t}]},n)}else if(f){var C=t.depth+i;g=T.makeVList({positionType:"bottom",positionData:C,children:[{type:"elem",elem:t},{type:"kern",size:f.kern},{type:"elem",elem:f.elem,marginLeft:P(s)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else return t;var E=[g];if(u&&s!==0&&!l){var _=T.makeSpan(["mspace"],[],n);_.style.marginRight=P(s),E.unshift(_)}return T.makeSpan(["mop","op-limits"],E,n)},c1=["\\smallint"],X0=(t,e)=>{var r,n,a=!1,s;t.type==="supsub"?(r=t.sup,n=t.sub,s=fe(t.base,"op"),a=!0):s=fe(t,"op");var i=e.style,l=!1;i.size===ne.DISPLAY.size&&s.symbol&&!Q.contains(c1,s.name)&&(l=!0);var u;if(s.symbol){var f=l?"Size2-Regular":"Size1-Regular",d="";if((s.name==="\\oiint"||s.name==="\\oiiint")&&(d=s.name.slice(1),s.name=d==="oiint"?"\\iint":"\\iiint"),u=T.makeSymbol(s.name,f,"math",e,["mop","op-symbol",l?"large-op":"small-op"]),d.length>0){var p=u.italic,g=T.staticSvg(d+"Size"+(l?"2":"1"),e);u=T.makeVList({positionType:"individualShift",children:[{type:"elem",elem:u,shift:0},{type:"elem",elem:g,shift:l?.08:0}]},e),s.name="\\"+d,u.classes.unshift("mop"),u.italic=p}}else if(s.body){var w=Pe(s.body,e,!0);w.length===1&&w[0]instanceof yt?(u=w[0],u.classes[0]="mop"):u=T.makeSpan(["mop"],w,e)}else{for(var A=[],C=1;C{var r;if(t.symbol)r=new vt("mo",[wt(t.name,t.mode)]),Q.contains(c1,t.name)&&r.setAttribute("largeop","false");else if(t.body)r=new vt("mo",rt(t.body,e));else{r=new vt("mi",[new fr(t.name.slice(1))]);var n=new vt("mo",[wt("⁡","text")]);t.parentIsSupSub?r=new vt("mrow",[r,n]):r=Ho([r,n])}return r},D2={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};U({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:n}=t,a=n;return a.length===1&&(a=D2[a]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:X0,mathmlBuilder:zr});U({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var{parser:r}=t,n=e[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Re(n)}},htmlBuilder:X0,mathmlBuilder:zr});var q2={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};U({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:X0,mathmlBuilder:zr});U({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:X0,mathmlBuilder:zr});U({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t,n=r;return n.length===1&&(n=q2[n]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:X0,mathmlBuilder:zr});var h1=(t,e)=>{var r,n,a=!1,s;t.type==="supsub"?(r=t.sup,n=t.sub,s=fe(t.base,"operatorname"),a=!0):s=fe(t,"operatorname");var i;if(s.body.length>0){for(var l=s.body.map(p=>{var g=p.text;return typeof g=="string"?{type:"textord",mode:p.mode,text:g}:p}),u=Pe(l,e.withFont("mathrm"),!0),f=0;f{for(var r=rt(t.body,e.withFont("mathrm")),n=!0,a=0;ad.toText()).join("");r=[new O.TextNode(l)]}var u=new O.MathNode("mi",r);u.setAttribute("mathvariant","normal");var f=new O.MathNode("mo",[wt("⁡","text")]);return t.parentIsSupSub?new O.MathNode("mrow",[u,f]):O.newDocumentFragment([u,f])};U({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(t,e)=>{var{parser:r,funcName:n}=t,a=e[0];return{type:"operatorname",mode:r.mode,body:Re(a),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:h1,mathmlBuilder:B2});m("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");_0({type:"ordgroup",htmlBuilder(t,e){return t.semisimple?T.makeFragment(Pe(t.body,e,!1)):T.makeSpan(["mord"],Pe(t.body,e,!0),e)},mathmlBuilder(t,e){return m0(t.body,e,!0)}});U({type:"overline",names:["\\overline"],props:{numArgs:1},handler(t,e){var{parser:r}=t,n=e[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder(t,e){var r=pe(t.body,e.havingCrampedStyle()),n=T.makeLineSpan("overline-line",e),a=e.fontMetrics().defaultRuleThickness,s=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*a},{type:"elem",elem:n},{type:"kern",size:a}]},e);return T.makeSpan(["mord","overline"],[s],e)},mathmlBuilder(t,e){var r=new O.MathNode("mo",[new O.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new O.MathNode("mover",[Te(t.body,e),r]);return n.setAttribute("accent","true"),n}});U({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,n=e[0];return{type:"phantom",mode:r.mode,body:Re(n)}},htmlBuilder:(t,e)=>{var r=Pe(t.body,e.withPhantom(),!1);return T.makeFragment(r)},mathmlBuilder:(t,e)=>{var r=rt(t.body,e);return new O.MathNode("mphantom",r)}});U({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,n=e[0];return{type:"hphantom",mode:r.mode,body:n}},htmlBuilder:(t,e)=>{var r=T.makeSpan([],[pe(t.body,e.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var n=0;n{var r=rt(Re(t.body),e),n=new O.MathNode("mphantom",r),a=new O.MathNode("mpadded",[n]);return a.setAttribute("height","0px"),a.setAttribute("depth","0px"),a}});U({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,n=e[0];return{type:"vphantom",mode:r.mode,body:n}},htmlBuilder:(t,e)=>{var r=T.makeSpan(["inner"],[pe(t.body,e.withPhantom())]),n=T.makeSpan(["fix"],[]);return T.makeSpan(["mord","rlap"],[r,n],e)},mathmlBuilder:(t,e)=>{var r=rt(Re(t.body),e),n=new O.MathNode("mphantom",r),a=new O.MathNode("mpadded",[n]);return a.setAttribute("width","0px"),a}});U({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(t,e){var{parser:r}=t,n=fe(e[0],"size").value,a=e[1];return{type:"raisebox",mode:r.mode,dy:n,body:a}},htmlBuilder(t,e){var r=pe(t.body,e),n=qe(t.dy,e);return T.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){var r=new O.MathNode("mpadded",[Te(t.body,e)]),n=t.dy.number+t.dy.unit;return r.setAttribute("voffset",n),r}});U({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e}=t;return{type:"internal",mode:e.mode}}});U({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(t,e,r){var{parser:n}=t,a=r[0],s=fe(e[0],"size"),i=fe(e[1],"size");return{type:"rule",mode:n.mode,shift:a&&fe(a,"size").value,width:s.value,height:i.value}},htmlBuilder(t,e){var r=T.makeSpan(["mord","rule"],[],e),n=qe(t.width,e),a=qe(t.height,e),s=t.shift?qe(t.shift,e):0;return r.style.borderRightWidth=P(n),r.style.borderTopWidth=P(a),r.style.bottom=P(s),r.width=n,r.height=a+s,r.depth=-s,r.maxFontSize=a*1.125*e.sizeMultiplier,r},mathmlBuilder(t,e){var r=qe(t.width,e),n=qe(t.height,e),a=t.shift?qe(t.shift,e):0,s=e.color&&e.getColor()||"black",i=new O.MathNode("mspace");i.setAttribute("mathbackground",s),i.setAttribute("width",P(r)),i.setAttribute("height",P(n));var l=new O.MathNode("mpadded",[i]);return a>=0?l.setAttribute("height",P(a)):(l.setAttribute("height",P(a)),l.setAttribute("depth",P(-a))),l.setAttribute("voffset",P(a)),l}});function f1(t,e,r){for(var n=Pe(t,e,!1),a=e.sizeMultiplier/r.sizeMultiplier,s=0;s{var r=e.havingSize(t.size);return f1(t.body,r,e)};U({type:"sizing",names:Ui,props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{breakOnTokenText:r,funcName:n,parser:a}=t,s=a.parseExpression(!1,r);return{type:"sizing",mode:a.mode,size:Ui.indexOf(n)+1,body:s}},htmlBuilder:N2,mathmlBuilder:(t,e)=>{var r=e.havingSize(t.size),n=rt(t.body,r),a=new O.MathNode("mstyle",n);return a.setAttribute("mathsize",P(r.sizeMultiplier)),a}});U({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(t,e,r)=>{var{parser:n}=t,a=!1,s=!1,i=r[0]&&fe(r[0],"ordgroup");if(i)for(var l="",u=0;u{var r=T.makeSpan([],[pe(t.body,e)]);if(!t.smashHeight&&!t.smashDepth)return r;if(t.smashHeight&&(r.height=0,r.children))for(var n=0;n{var r=new O.MathNode("mpadded",[Te(t.body,e)]);return t.smashHeight&&r.setAttribute("height","0px"),t.smashDepth&&r.setAttribute("depth","0px"),r}});U({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(t,e,r){var{parser:n}=t,a=r[0],s=e[0];return{type:"sqrt",mode:n.mode,body:s,index:a}},htmlBuilder(t,e){var r=pe(t.body,e.havingCrampedStyle());r.height===0&&(r.height=e.fontMetrics().xHeight),r=T.wrapFragment(r,e);var n=e.fontMetrics(),a=n.defaultRuleThickness,s=a;e.style.idr.height+r.depth+i&&(i=(i+p-r.height-r.depth)/2);var g=u.height-r.height-i-f;r.style.paddingLeft=P(d);var w=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+g)},{type:"elem",elem:u},{type:"kern",size:f}]},e);if(t.index){var A=e.havingStyle(ne.SCRIPTSCRIPT),C=pe(t.index,A,e),E=.6*(w.height-w.depth),_=T.makeVList({positionType:"shift",positionData:-E,children:[{type:"elem",elem:C}]},e),L=T.makeSpan(["root"],[_]);return T.makeSpan(["mord","sqrt"],[L,w],e)}else return T.makeSpan(["mord","sqrt"],[w],e)},mathmlBuilder(t,e){var{body:r,index:n}=t;return n?new O.MathNode("mroot",[Te(r,e),Te(n,e)]):new O.MathNode("msqrt",[Te(r,e)])}});var Wi={display:ne.DISPLAY,text:ne.TEXT,script:ne.SCRIPT,scriptscript:ne.SCRIPTSCRIPT};U({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t,e){var{breakOnTokenText:r,funcName:n,parser:a}=t,s=a.parseExpression(!0,r),i=n.slice(1,n.length-5);return{type:"styling",mode:a.mode,style:i,body:s}},htmlBuilder(t,e){var r=Wi[t.style],n=e.havingStyle(r).withFont("");return f1(t.body,n,e)},mathmlBuilder(t,e){var r=Wi[t.style],n=e.havingStyle(r),a=rt(t.body,n),s=new O.MathNode("mstyle",a),i={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},l=i[t.style];return s.setAttribute("scriptlevel",l[0]),s.setAttribute("displaystyle",l[1]),s}});var O2=function(e,r){var n=e.base;if(n)if(n.type==="op"){var a=n.limits&&(r.style.size===ne.DISPLAY.size||n.alwaysHandleSupSub);return a?X0:null}else if(n.type==="operatorname"){var s=n.alwaysHandleSupSub&&(r.style.size===ne.DISPLAY.size||n.limits);return s?h1:null}else{if(n.type==="accent")return Q.isCharacterBox(n.base)?ys:null;if(n.type==="horizBrace"){var i=!e.sub;return i===n.isOver?o1:null}else return null}else return null};_0({type:"supsub",htmlBuilder(t,e){var r=O2(t,e);if(r)return r(t,e);var{base:n,sup:a,sub:s}=t,i=pe(n,e),l,u,f=e.fontMetrics(),d=0,p=0,g=n&&Q.isCharacterBox(n);if(a){var w=e.havingStyle(e.style.sup());l=pe(a,w,e),g||(d=i.height-w.fontMetrics().supDrop*w.sizeMultiplier/e.sizeMultiplier)}if(s){var A=e.havingStyle(e.style.sub());u=pe(s,A,e),g||(p=i.depth+A.fontMetrics().subDrop*A.sizeMultiplier/e.sizeMultiplier)}var C;e.style===ne.DISPLAY?C=f.sup1:e.style.cramped?C=f.sup3:C=f.sup2;var E=e.sizeMultiplier,_=P(.5/f.ptPerEm/E),L=null;if(u){var k=t.base&&t.base.type==="op"&&t.base.name&&(t.base.name==="\\oiint"||t.base.name==="\\oiiint");(i instanceof yt||k)&&(L=P(-i.italic))}var M;if(l&&u){d=Math.max(d,C,l.depth+.25*f.xHeight),p=Math.max(p,f.sub2);var N=f.defaultRuleThickness,W=4*N;if(d-l.depth-(u.height-p)0&&(d+=G,p-=G)}var ee=[{type:"elem",elem:u,shift:p,marginRight:_,marginLeft:L},{type:"elem",elem:l,shift:-d,marginRight:_}];M=T.makeVList({positionType:"individualShift",children:ee},e)}else if(u){p=Math.max(p,f.sub1,u.height-.8*f.xHeight);var Y=[{type:"elem",elem:u,marginLeft:L,marginRight:_}];M=T.makeVList({positionType:"shift",positionData:p,children:Y},e)}else if(l)d=Math.max(d,C,l.depth+.25*f.xHeight),M=T.makeVList({positionType:"shift",positionData:-d,children:[{type:"elem",elem:l,marginRight:_}]},e);else throw new Error("supsub must have either sup or sub.");var te=Ea(i,"right")||"mord";return T.makeSpan([te],[i,T.makeSpan(["msupsub"],[M])],e)},mathmlBuilder(t,e){var r=!1,n,a;t.base&&t.base.type==="horizBrace"&&(a=!!t.sup,a===t.base.isOver&&(r=!0,n=t.base.isOver)),t.base&&(t.base.type==="op"||t.base.type==="operatorname")&&(t.base.parentIsSupSub=!0);var s=[Te(t.base,e)];t.sub&&s.push(Te(t.sub,e)),t.sup&&s.push(Te(t.sup,e));var i;if(r)i=n?"mover":"munder";else if(t.sub)if(t.sup){var f=t.base;f&&f.type==="op"&&f.limits&&e.style===ne.DISPLAY||f&&f.type==="operatorname"&&f.alwaysHandleSupSub&&(e.style===ne.DISPLAY||f.limits)?i="munderover":i="msubsup"}else{var u=t.base;u&&u.type==="op"&&u.limits&&(e.style===ne.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||e.style===ne.DISPLAY)?i="munder":i="msub"}else{var l=t.base;l&&l.type==="op"&&l.limits&&(e.style===ne.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||e.style===ne.DISPLAY)?i="mover":i="msup"}return new O.MathNode(i,s)}});_0({type:"atom",htmlBuilder(t,e){return T.mathsym(t.text,t.mode,e,["m"+t.family])},mathmlBuilder(t,e){var r=new O.MathNode("mo",[wt(t.text,t.mode)]);if(t.family==="bin"){var n=vs(t,e);n==="bold-italic"&&r.setAttribute("mathvariant",n)}else t.family==="punct"?r.setAttribute("separator","true"):(t.family==="open"||t.family==="close")&&r.setAttribute("stretchy","false");return r}});var d1={mi:"italic",mn:"normal",mtext:"normal"};_0({type:"mathord",htmlBuilder(t,e){return T.makeOrd(t,e,"mathord")},mathmlBuilder(t,e){var r=new O.MathNode("mi",[wt(t.text,t.mode,e)]),n=vs(t,e)||"italic";return n!==d1[r.type]&&r.setAttribute("mathvariant",n),r}});_0({type:"textord",htmlBuilder(t,e){return T.makeOrd(t,e,"textord")},mathmlBuilder(t,e){var r=wt(t.text,t.mode,e),n=vs(t,e)||"normal",a;return t.mode==="text"?a=new O.MathNode("mtext",[r]):/[0-9]/.test(t.text)?a=new O.MathNode("mn",[r]):t.text==="\\prime"?a=new O.MathNode("mo",[r]):a=new O.MathNode("mi",[r]),n!==d1[a.type]&&a.setAttribute("mathvariant",n),a}});var ia={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},la={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};_0({type:"spacing",htmlBuilder(t,e){if(la.hasOwnProperty(t.text)){var r=la[t.text].className||"";if(t.mode==="text"){var n=T.makeOrd(t,e,"textord");return n.classes.push(r),n}else return T.makeSpan(["mspace",r],[T.mathsym(t.text,t.mode,e)],e)}else{if(ia.hasOwnProperty(t.text))return T.makeSpan(["mspace",ia[t.text]],[],e);throw new H('Unknown type of space "'+t.text+'"')}},mathmlBuilder(t,e){var r;if(la.hasOwnProperty(t.text))r=new O.MathNode("mtext",[new O.TextNode(" ")]);else{if(ia.hasOwnProperty(t.text))return new O.MathNode("mspace");throw new H('Unknown type of space "'+t.text+'"')}return r}});var Gi=()=>{var t=new O.MathNode("mtd",[]);return t.setAttribute("width","50%"),t};_0({type:"tag",mathmlBuilder(t,e){var r=new O.MathNode("mtable",[new O.MathNode("mtr",[Gi(),new O.MathNode("mtd",[m0(t.body,e)]),Gi(),new O.MathNode("mtd",[m0(t.tag,e)])])]);return r.setAttribute("width","100%"),r}});var ji={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Ki={"\\textbf":"textbf","\\textmd":"textmd"},R2={"\\textit":"textit","\\textup":"textup"},Xi=(t,e)=>{var r=t.font;if(r){if(ji[r])return e.withTextFontFamily(ji[r]);if(Ki[r])return e.withTextFontWeight(Ki[r]);if(r==="\\emph")return e.fontShape==="textit"?e.withTextFontShape("textup"):e.withTextFontShape("textit")}else return e;return e.withTextFontShape(R2[r])};U({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:n}=t,a=e[0];return{type:"text",mode:r.mode,body:Re(a),font:n}},htmlBuilder(t,e){var r=Xi(t,e),n=Pe(t.body,r,!0);return T.makeSpan(["mord","text"],n,r)},mathmlBuilder(t,e){var r=Xi(t,e);return m0(t.body,r)}});U({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=pe(t.body,e),n=T.makeLineSpan("underline-line",e),a=e.fontMetrics().defaultRuleThickness,s=T.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:a},{type:"elem",elem:n},{type:"kern",size:3*a},{type:"elem",elem:r}]},e);return T.makeSpan(["mord","underline"],[s],e)},mathmlBuilder(t,e){var r=new O.MathNode("mo",[new O.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new O.MathNode("munder",[Te(t.body,e),r]);return n.setAttribute("accentunder","true"),n}});U({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=pe(t.body,e),n=e.fontMetrics().axisHeight,a=.5*(r.height-n-(r.depth+n));return T.makeVList({positionType:"shift",positionData:a,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){return new O.MathNode("mpadded",[Te(t.body,e)],["vcenter"])}});U({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(t,e,r){throw new H("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(t,e){for(var r=Yi(t),n=[],a=e.havingStyle(e.style.text()),s=0;st.body.replace(/ /g,t.star?"␣":" "),u0=Ro,m1=`[ \r - ]`,I2="\\\\[a-zA-Z@]+",H2="\\\\[^\uD800-\uDFFF]",P2="("+I2+")"+m1+"*",L2=`\\\\( +-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 qr{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 Q.contains(this.classes,e)}toNode(){for(var e=document.createDocumentFragment(),r=0;rr.toText();return this.children.map(e).join("")}}var Bt={"AMS-Regular":{32:[0,0,0,0,.25],65:[0,.68889,0,0,.72222],66:[0,.68889,0,0,.66667],67:[0,.68889,0,0,.72222],68:[0,.68889,0,0,.72222],69:[0,.68889,0,0,.66667],70:[0,.68889,0,0,.61111],71:[0,.68889,0,0,.77778],72:[0,.68889,0,0,.77778],73:[0,.68889,0,0,.38889],74:[.16667,.68889,0,0,.5],75:[0,.68889,0,0,.77778],76:[0,.68889,0,0,.66667],77:[0,.68889,0,0,.94445],78:[0,.68889,0,0,.72222],79:[.16667,.68889,0,0,.77778],80:[0,.68889,0,0,.61111],81:[.16667,.68889,0,0,.77778],82:[0,.68889,0,0,.72222],83:[0,.68889,0,0,.55556],84:[0,.68889,0,0,.66667],85:[0,.68889,0,0,.72222],86:[0,.68889,0,0,.72222],87:[0,.68889,0,0,1],88:[0,.68889,0,0,.72222],89:[0,.68889,0,0,.72222],90:[0,.68889,0,0,.66667],107:[0,.68889,0,0,.55556],160:[0,0,0,0,.25],165:[0,.675,.025,0,.75],174:[.15559,.69224,0,0,.94666],240:[0,.68889,0,0,.55556],295:[0,.68889,0,0,.54028],710:[0,.825,0,0,2.33334],732:[0,.9,0,0,2.33334],770:[0,.825,0,0,2.33334],771:[0,.9,0,0,2.33334],989:[.08167,.58167,0,0,.77778],1008:[0,.43056,.04028,0,.66667],8245:[0,.54986,0,0,.275],8463:[0,.68889,0,0,.54028],8487:[0,.68889,0,0,.72222],8498:[0,.68889,0,0,.55556],8502:[0,.68889,0,0,.66667],8503:[0,.68889,0,0,.44445],8504:[0,.68889,0,0,.66667],8513:[0,.68889,0,0,.63889],8592:[-.03598,.46402,0,0,.5],8594:[-.03598,.46402,0,0,.5],8602:[-.13313,.36687,0,0,1],8603:[-.13313,.36687,0,0,1],8606:[.01354,.52239,0,0,1],8608:[.01354,.52239,0,0,1],8610:[.01354,.52239,0,0,1.11111],8611:[.01354,.52239,0,0,1.11111],8619:[0,.54986,0,0,1],8620:[0,.54986,0,0,1],8621:[-.13313,.37788,0,0,1.38889],8622:[-.13313,.36687,0,0,1],8624:[0,.69224,0,0,.5],8625:[0,.69224,0,0,.5],8630:[0,.43056,0,0,1],8631:[0,.43056,0,0,1],8634:[.08198,.58198,0,0,.77778],8635:[.08198,.58198,0,0,.77778],8638:[.19444,.69224,0,0,.41667],8639:[.19444,.69224,0,0,.41667],8642:[.19444,.69224,0,0,.41667],8643:[.19444,.69224,0,0,.41667],8644:[.1808,.675,0,0,1],8646:[.1808,.675,0,0,1],8647:[.1808,.675,0,0,1],8648:[.19444,.69224,0,0,.83334],8649:[.1808,.675,0,0,1],8650:[.19444,.69224,0,0,.83334],8651:[.01354,.52239,0,0,1],8652:[.01354,.52239,0,0,1],8653:[-.13313,.36687,0,0,1],8654:[-.13313,.36687,0,0,1],8655:[-.13313,.36687,0,0,1],8666:[.13667,.63667,0,0,1],8667:[.13667,.63667,0,0,1],8669:[-.13313,.37788,0,0,1],8672:[-.064,.437,0,0,1.334],8674:[-.064,.437,0,0,1.334],8705:[0,.825,0,0,.5],8708:[0,.68889,0,0,.55556],8709:[.08167,.58167,0,0,.77778],8717:[0,.43056,0,0,.42917],8722:[-.03598,.46402,0,0,.5],8724:[.08198,.69224,0,0,.77778],8726:[.08167,.58167,0,0,.77778],8733:[0,.69224,0,0,.77778],8736:[0,.69224,0,0,.72222],8737:[0,.69224,0,0,.72222],8738:[.03517,.52239,0,0,.72222],8739:[.08167,.58167,0,0,.22222],8740:[.25142,.74111,0,0,.27778],8741:[.08167,.58167,0,0,.38889],8742:[.25142,.74111,0,0,.5],8756:[0,.69224,0,0,.66667],8757:[0,.69224,0,0,.66667],8764:[-.13313,.36687,0,0,.77778],8765:[-.13313,.37788,0,0,.77778],8769:[-.13313,.36687,0,0,.77778],8770:[-.03625,.46375,0,0,.77778],8774:[.30274,.79383,0,0,.77778],8776:[-.01688,.48312,0,0,.77778],8778:[.08167,.58167,0,0,.77778],8782:[.06062,.54986,0,0,.77778],8783:[.06062,.54986,0,0,.77778],8785:[.08198,.58198,0,0,.77778],8786:[.08198,.58198,0,0,.77778],8787:[.08198,.58198,0,0,.77778],8790:[0,.69224,0,0,.77778],8791:[.22958,.72958,0,0,.77778],8796:[.08198,.91667,0,0,.77778],8806:[.25583,.75583,0,0,.77778],8807:[.25583,.75583,0,0,.77778],8808:[.25142,.75726,0,0,.77778],8809:[.25142,.75726,0,0,.77778],8812:[.25583,.75583,0,0,.5],8814:[.20576,.70576,0,0,.77778],8815:[.20576,.70576,0,0,.77778],8816:[.30274,.79383,0,0,.77778],8817:[.30274,.79383,0,0,.77778],8818:[.22958,.72958,0,0,.77778],8819:[.22958,.72958,0,0,.77778],8822:[.1808,.675,0,0,.77778],8823:[.1808,.675,0,0,.77778],8828:[.13667,.63667,0,0,.77778],8829:[.13667,.63667,0,0,.77778],8830:[.22958,.72958,0,0,.77778],8831:[.22958,.72958,0,0,.77778],8832:[.20576,.70576,0,0,.77778],8833:[.20576,.70576,0,0,.77778],8840:[.30274,.79383,0,0,.77778],8841:[.30274,.79383,0,0,.77778],8842:[.13597,.63597,0,0,.77778],8843:[.13597,.63597,0,0,.77778],8847:[.03517,.54986,0,0,.77778],8848:[.03517,.54986,0,0,.77778],8858:[.08198,.58198,0,0,.77778],8859:[.08198,.58198,0,0,.77778],8861:[.08198,.58198,0,0,.77778],8862:[0,.675,0,0,.77778],8863:[0,.675,0,0,.77778],8864:[0,.675,0,0,.77778],8865:[0,.675,0,0,.77778],8872:[0,.69224,0,0,.61111],8873:[0,.69224,0,0,.72222],8874:[0,.69224,0,0,.88889],8876:[0,.68889,0,0,.61111],8877:[0,.68889,0,0,.61111],8878:[0,.68889,0,0,.72222],8879:[0,.68889,0,0,.72222],8882:[.03517,.54986,0,0,.77778],8883:[.03517,.54986,0,0,.77778],8884:[.13667,.63667,0,0,.77778],8885:[.13667,.63667,0,0,.77778],8888:[0,.54986,0,0,1.11111],8890:[.19444,.43056,0,0,.55556],8891:[.19444,.69224,0,0,.61111],8892:[.19444,.69224,0,0,.61111],8901:[0,.54986,0,0,.27778],8903:[.08167,.58167,0,0,.77778],8905:[.08167,.58167,0,0,.77778],8906:[.08167,.58167,0,0,.77778],8907:[0,.69224,0,0,.77778],8908:[0,.69224,0,0,.77778],8909:[-.03598,.46402,0,0,.77778],8910:[0,.54986,0,0,.76042],8911:[0,.54986,0,0,.76042],8912:[.03517,.54986,0,0,.77778],8913:[.03517,.54986,0,0,.77778],8914:[0,.54986,0,0,.66667],8915:[0,.54986,0,0,.66667],8916:[0,.69224,0,0,.66667],8918:[.0391,.5391,0,0,.77778],8919:[.0391,.5391,0,0,.77778],8920:[.03517,.54986,0,0,1.33334],8921:[.03517,.54986,0,0,1.33334],8922:[.38569,.88569,0,0,.77778],8923:[.38569,.88569,0,0,.77778],8926:[.13667,.63667,0,0,.77778],8927:[.13667,.63667,0,0,.77778],8928:[.30274,.79383,0,0,.77778],8929:[.30274,.79383,0,0,.77778],8934:[.23222,.74111,0,0,.77778],8935:[.23222,.74111,0,0,.77778],8936:[.23222,.74111,0,0,.77778],8937:[.23222,.74111,0,0,.77778],8938:[.20576,.70576,0,0,.77778],8939:[.20576,.70576,0,0,.77778],8940:[.30274,.79383,0,0,.77778],8941:[.30274,.79383,0,0,.77778],8994:[.19444,.69224,0,0,.77778],8995:[.19444,.69224,0,0,.77778],9416:[.15559,.69224,0,0,.90222],9484:[0,.69224,0,0,.5],9488:[0,.69224,0,0,.5],9492:[0,.37788,0,0,.5],9496:[0,.37788,0,0,.5],9585:[.19444,.68889,0,0,.88889],9586:[.19444,.74111,0,0,.88889],9632:[0,.675,0,0,.77778],9633:[0,.675,0,0,.77778],9650:[0,.54986,0,0,.72222],9651:[0,.54986,0,0,.72222],9654:[.03517,.54986,0,0,.77778],9660:[0,.54986,0,0,.72222],9661:[0,.54986,0,0,.72222],9664:[.03517,.54986,0,0,.77778],9674:[.11111,.69224,0,0,.66667],9733:[.19444,.69224,0,0,.94445],10003:[0,.69224,0,0,.83334],10016:[0,.69224,0,0,.83334],10731:[.11111,.69224,0,0,.66667],10846:[.19444,.75583,0,0,.61111],10877:[.13667,.63667,0,0,.77778],10878:[.13667,.63667,0,0,.77778],10885:[.25583,.75583,0,0,.77778],10886:[.25583,.75583,0,0,.77778],10887:[.13597,.63597,0,0,.77778],10888:[.13597,.63597,0,0,.77778],10889:[.26167,.75726,0,0,.77778],10890:[.26167,.75726,0,0,.77778],10891:[.48256,.98256,0,0,.77778],10892:[.48256,.98256,0,0,.77778],10901:[.13667,.63667,0,0,.77778],10902:[.13667,.63667,0,0,.77778],10933:[.25142,.75726,0,0,.77778],10934:[.25142,.75726,0,0,.77778],10935:[.26167,.75726,0,0,.77778],10936:[.26167,.75726,0,0,.77778],10937:[.26167,.75726,0,0,.77778],10938:[.26167,.75726,0,0,.77778],10949:[.25583,.75583,0,0,.77778],10950:[.25583,.75583,0,0,.77778],10955:[.28481,.79383,0,0,.77778],10956:[.28481,.79383,0,0,.77778],57350:[.08167,.58167,0,0,.22222],57351:[.08167,.58167,0,0,.38889],57352:[.08167,.58167,0,0,.77778],57353:[0,.43056,.04028,0,.66667],57356:[.25142,.75726,0,0,.77778],57357:[.25142,.75726,0,0,.77778],57358:[.41951,.91951,0,0,.77778],57359:[.30274,.79383,0,0,.77778],57360:[.30274,.79383,0,0,.77778],57361:[.41951,.91951,0,0,.77778],57366:[.25142,.75726,0,0,.77778],57367:[.25142,.75726,0,0,.77778],57368:[.25142,.75726,0,0,.77778],57369:[.25142,.75726,0,0,.77778],57370:[.13597,.63597,0,0,.77778],57371:[.13597,.63597,0,0,.77778]},"Caligraphic-Regular":{32:[0,0,0,0,.25],65:[0,.68333,0,.19445,.79847],66:[0,.68333,.03041,.13889,.65681],67:[0,.68333,.05834,.13889,.52653],68:[0,.68333,.02778,.08334,.77139],69:[0,.68333,.08944,.11111,.52778],70:[0,.68333,.09931,.11111,.71875],71:[.09722,.68333,.0593,.11111,.59487],72:[0,.68333,.00965,.11111,.84452],73:[0,.68333,.07382,0,.54452],74:[.09722,.68333,.18472,.16667,.67778],75:[0,.68333,.01445,.05556,.76195],76:[0,.68333,0,.13889,.68972],77:[0,.68333,0,.13889,1.2009],78:[0,.68333,.14736,.08334,.82049],79:[0,.68333,.02778,.11111,.79611],80:[0,.68333,.08222,.08334,.69556],81:[.09722,.68333,0,.11111,.81667],82:[0,.68333,0,.08334,.8475],83:[0,.68333,.075,.13889,.60556],84:[0,.68333,.25417,0,.54464],85:[0,.68333,.09931,.08334,.62583],86:[0,.68333,.08222,0,.61278],87:[0,.68333,.08222,.08334,.98778],88:[0,.68333,.14643,.13889,.7133],89:[.09722,.68333,.08222,.08334,.66834],90:[0,.68333,.07944,.13889,.72473],160:[0,0,0,0,.25]},"Fraktur-Regular":{32:[0,0,0,0,.25],33:[0,.69141,0,0,.29574],34:[0,.69141,0,0,.21471],38:[0,.69141,0,0,.73786],39:[0,.69141,0,0,.21201],40:[.24982,.74947,0,0,.38865],41:[.24982,.74947,0,0,.38865],42:[0,.62119,0,0,.27764],43:[.08319,.58283,0,0,.75623],44:[0,.10803,0,0,.27764],45:[.08319,.58283,0,0,.75623],46:[0,.10803,0,0,.27764],47:[.24982,.74947,0,0,.50181],48:[0,.47534,0,0,.50181],49:[0,.47534,0,0,.50181],50:[0,.47534,0,0,.50181],51:[.18906,.47534,0,0,.50181],52:[.18906,.47534,0,0,.50181],53:[.18906,.47534,0,0,.50181],54:[0,.69141,0,0,.50181],55:[.18906,.47534,0,0,.50181],56:[0,.69141,0,0,.50181],57:[.18906,.47534,0,0,.50181],58:[0,.47534,0,0,.21606],59:[.12604,.47534,0,0,.21606],61:[-.13099,.36866,0,0,.75623],63:[0,.69141,0,0,.36245],65:[0,.69141,0,0,.7176],66:[0,.69141,0,0,.88397],67:[0,.69141,0,0,.61254],68:[0,.69141,0,0,.83158],69:[0,.69141,0,0,.66278],70:[.12604,.69141,0,0,.61119],71:[0,.69141,0,0,.78539],72:[.06302,.69141,0,0,.7203],73:[0,.69141,0,0,.55448],74:[.12604,.69141,0,0,.55231],75:[0,.69141,0,0,.66845],76:[0,.69141,0,0,.66602],77:[0,.69141,0,0,1.04953],78:[0,.69141,0,0,.83212],79:[0,.69141,0,0,.82699],80:[.18906,.69141,0,0,.82753],81:[.03781,.69141,0,0,.82699],82:[0,.69141,0,0,.82807],83:[0,.69141,0,0,.82861],84:[0,.69141,0,0,.66899],85:[0,.69141,0,0,.64576],86:[0,.69141,0,0,.83131],87:[0,.69141,0,0,1.04602],88:[0,.69141,0,0,.71922],89:[.18906,.69141,0,0,.83293],90:[.12604,.69141,0,0,.60201],91:[.24982,.74947,0,0,.27764],93:[.24982,.74947,0,0,.27764],94:[0,.69141,0,0,.49965],97:[0,.47534,0,0,.50046],98:[0,.69141,0,0,.51315],99:[0,.47534,0,0,.38946],100:[0,.62119,0,0,.49857],101:[0,.47534,0,0,.40053],102:[.18906,.69141,0,0,.32626],103:[.18906,.47534,0,0,.5037],104:[.18906,.69141,0,0,.52126],105:[0,.69141,0,0,.27899],106:[0,.69141,0,0,.28088],107:[0,.69141,0,0,.38946],108:[0,.69141,0,0,.27953],109:[0,.47534,0,0,.76676],110:[0,.47534,0,0,.52666],111:[0,.47534,0,0,.48885],112:[.18906,.52396,0,0,.50046],113:[.18906,.47534,0,0,.48912],114:[0,.47534,0,0,.38919],115:[0,.47534,0,0,.44266],116:[0,.62119,0,0,.33301],117:[0,.47534,0,0,.5172],118:[0,.52396,0,0,.5118],119:[0,.52396,0,0,.77351],120:[.18906,.47534,0,0,.38865],121:[.18906,.47534,0,0,.49884],122:[.18906,.47534,0,0,.39054],160:[0,0,0,0,.25],8216:[0,.69141,0,0,.21471],8217:[0,.69141,0,0,.21471],58112:[0,.62119,0,0,.49749],58113:[0,.62119,0,0,.4983],58114:[.18906,.69141,0,0,.33328],58115:[.18906,.69141,0,0,.32923],58116:[.18906,.47534,0,0,.50343],58117:[0,.69141,0,0,.33301],58118:[0,.62119,0,0,.33409],58119:[0,.47534,0,0,.50073]},"Main-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.35],34:[0,.69444,0,0,.60278],35:[.19444,.69444,0,0,.95833],36:[.05556,.75,0,0,.575],37:[.05556,.75,0,0,.95833],38:[0,.69444,0,0,.89444],39:[0,.69444,0,0,.31944],40:[.25,.75,0,0,.44722],41:[.25,.75,0,0,.44722],42:[0,.75,0,0,.575],43:[.13333,.63333,0,0,.89444],44:[.19444,.15556,0,0,.31944],45:[0,.44444,0,0,.38333],46:[0,.15556,0,0,.31944],47:[.25,.75,0,0,.575],48:[0,.64444,0,0,.575],49:[0,.64444,0,0,.575],50:[0,.64444,0,0,.575],51:[0,.64444,0,0,.575],52:[0,.64444,0,0,.575],53:[0,.64444,0,0,.575],54:[0,.64444,0,0,.575],55:[0,.64444,0,0,.575],56:[0,.64444,0,0,.575],57:[0,.64444,0,0,.575],58:[0,.44444,0,0,.31944],59:[.19444,.44444,0,0,.31944],60:[.08556,.58556,0,0,.89444],61:[-.10889,.39111,0,0,.89444],62:[.08556,.58556,0,0,.89444],63:[0,.69444,0,0,.54305],64:[0,.69444,0,0,.89444],65:[0,.68611,0,0,.86944],66:[0,.68611,0,0,.81805],67:[0,.68611,0,0,.83055],68:[0,.68611,0,0,.88194],69:[0,.68611,0,0,.75555],70:[0,.68611,0,0,.72361],71:[0,.68611,0,0,.90416],72:[0,.68611,0,0,.9],73:[0,.68611,0,0,.43611],74:[0,.68611,0,0,.59444],75:[0,.68611,0,0,.90138],76:[0,.68611,0,0,.69166],77:[0,.68611,0,0,1.09166],78:[0,.68611,0,0,.9],79:[0,.68611,0,0,.86388],80:[0,.68611,0,0,.78611],81:[.19444,.68611,0,0,.86388],82:[0,.68611,0,0,.8625],83:[0,.68611,0,0,.63889],84:[0,.68611,0,0,.8],85:[0,.68611,0,0,.88472],86:[0,.68611,.01597,0,.86944],87:[0,.68611,.01597,0,1.18888],88:[0,.68611,0,0,.86944],89:[0,.68611,.02875,0,.86944],90:[0,.68611,0,0,.70277],91:[.25,.75,0,0,.31944],92:[.25,.75,0,0,.575],93:[.25,.75,0,0,.31944],94:[0,.69444,0,0,.575],95:[.31,.13444,.03194,0,.575],97:[0,.44444,0,0,.55902],98:[0,.69444,0,0,.63889],99:[0,.44444,0,0,.51111],100:[0,.69444,0,0,.63889],101:[0,.44444,0,0,.52708],102:[0,.69444,.10903,0,.35139],103:[.19444,.44444,.01597,0,.575],104:[0,.69444,0,0,.63889],105:[0,.69444,0,0,.31944],106:[.19444,.69444,0,0,.35139],107:[0,.69444,0,0,.60694],108:[0,.69444,0,0,.31944],109:[0,.44444,0,0,.95833],110:[0,.44444,0,0,.63889],111:[0,.44444,0,0,.575],112:[.19444,.44444,0,0,.63889],113:[.19444,.44444,0,0,.60694],114:[0,.44444,0,0,.47361],115:[0,.44444,0,0,.45361],116:[0,.63492,0,0,.44722],117:[0,.44444,0,0,.63889],118:[0,.44444,.01597,0,.60694],119:[0,.44444,.01597,0,.83055],120:[0,.44444,0,0,.60694],121:[.19444,.44444,.01597,0,.60694],122:[0,.44444,0,0,.51111],123:[.25,.75,0,0,.575],124:[.25,.75,0,0,.31944],125:[.25,.75,0,0,.575],126:[.35,.34444,0,0,.575],160:[0,0,0,0,.25],163:[0,.69444,0,0,.86853],168:[0,.69444,0,0,.575],172:[0,.44444,0,0,.76666],176:[0,.69444,0,0,.86944],177:[.13333,.63333,0,0,.89444],184:[.17014,0,0,0,.51111],198:[0,.68611,0,0,1.04166],215:[.13333,.63333,0,0,.89444],216:[.04861,.73472,0,0,.89444],223:[0,.69444,0,0,.59722],230:[0,.44444,0,0,.83055],247:[.13333,.63333,0,0,.89444],248:[.09722,.54167,0,0,.575],305:[0,.44444,0,0,.31944],338:[0,.68611,0,0,1.16944],339:[0,.44444,0,0,.89444],567:[.19444,.44444,0,0,.35139],710:[0,.69444,0,0,.575],711:[0,.63194,0,0,.575],713:[0,.59611,0,0,.575],714:[0,.69444,0,0,.575],715:[0,.69444,0,0,.575],728:[0,.69444,0,0,.575],729:[0,.69444,0,0,.31944],730:[0,.69444,0,0,.86944],732:[0,.69444,0,0,.575],733:[0,.69444,0,0,.575],915:[0,.68611,0,0,.69166],916:[0,.68611,0,0,.95833],920:[0,.68611,0,0,.89444],923:[0,.68611,0,0,.80555],926:[0,.68611,0,0,.76666],928:[0,.68611,0,0,.9],931:[0,.68611,0,0,.83055],933:[0,.68611,0,0,.89444],934:[0,.68611,0,0,.83055],936:[0,.68611,0,0,.89444],937:[0,.68611,0,0,.83055],8211:[0,.44444,.03194,0,.575],8212:[0,.44444,.03194,0,1.14999],8216:[0,.69444,0,0,.31944],8217:[0,.69444,0,0,.31944],8220:[0,.69444,0,0,.60278],8221:[0,.69444,0,0,.60278],8224:[.19444,.69444,0,0,.51111],8225:[.19444,.69444,0,0,.51111],8242:[0,.55556,0,0,.34444],8407:[0,.72444,.15486,0,.575],8463:[0,.69444,0,0,.66759],8465:[0,.69444,0,0,.83055],8467:[0,.69444,0,0,.47361],8472:[.19444,.44444,0,0,.74027],8476:[0,.69444,0,0,.83055],8501:[0,.69444,0,0,.70277],8592:[-.10889,.39111,0,0,1.14999],8593:[.19444,.69444,0,0,.575],8594:[-.10889,.39111,0,0,1.14999],8595:[.19444,.69444,0,0,.575],8596:[-.10889,.39111,0,0,1.14999],8597:[.25,.75,0,0,.575],8598:[.19444,.69444,0,0,1.14999],8599:[.19444,.69444,0,0,1.14999],8600:[.19444,.69444,0,0,1.14999],8601:[.19444,.69444,0,0,1.14999],8636:[-.10889,.39111,0,0,1.14999],8637:[-.10889,.39111,0,0,1.14999],8640:[-.10889,.39111,0,0,1.14999],8641:[-.10889,.39111,0,0,1.14999],8656:[-.10889,.39111,0,0,1.14999],8657:[.19444,.69444,0,0,.70277],8658:[-.10889,.39111,0,0,1.14999],8659:[.19444,.69444,0,0,.70277],8660:[-.10889,.39111,0,0,1.14999],8661:[.25,.75,0,0,.70277],8704:[0,.69444,0,0,.63889],8706:[0,.69444,.06389,0,.62847],8707:[0,.69444,0,0,.63889],8709:[.05556,.75,0,0,.575],8711:[0,.68611,0,0,.95833],8712:[.08556,.58556,0,0,.76666],8715:[.08556,.58556,0,0,.76666],8722:[.13333,.63333,0,0,.89444],8723:[.13333,.63333,0,0,.89444],8725:[.25,.75,0,0,.575],8726:[.25,.75,0,0,.575],8727:[-.02778,.47222,0,0,.575],8728:[-.02639,.47361,0,0,.575],8729:[-.02639,.47361,0,0,.575],8730:[.18,.82,0,0,.95833],8733:[0,.44444,0,0,.89444],8734:[0,.44444,0,0,1.14999],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.31944],8741:[.25,.75,0,0,.575],8743:[0,.55556,0,0,.76666],8744:[0,.55556,0,0,.76666],8745:[0,.55556,0,0,.76666],8746:[0,.55556,0,0,.76666],8747:[.19444,.69444,.12778,0,.56875],8764:[-.10889,.39111,0,0,.89444],8768:[.19444,.69444,0,0,.31944],8771:[.00222,.50222,0,0,.89444],8773:[.027,.638,0,0,.894],8776:[.02444,.52444,0,0,.89444],8781:[.00222,.50222,0,0,.89444],8801:[.00222,.50222,0,0,.89444],8804:[.19667,.69667,0,0,.89444],8805:[.19667,.69667,0,0,.89444],8810:[.08556,.58556,0,0,1.14999],8811:[.08556,.58556,0,0,1.14999],8826:[.08556,.58556,0,0,.89444],8827:[.08556,.58556,0,0,.89444],8834:[.08556,.58556,0,0,.89444],8835:[.08556,.58556,0,0,.89444],8838:[.19667,.69667,0,0,.89444],8839:[.19667,.69667,0,0,.89444],8846:[0,.55556,0,0,.76666],8849:[.19667,.69667,0,0,.89444],8850:[.19667,.69667,0,0,.89444],8851:[0,.55556,0,0,.76666],8852:[0,.55556,0,0,.76666],8853:[.13333,.63333,0,0,.89444],8854:[.13333,.63333,0,0,.89444],8855:[.13333,.63333,0,0,.89444],8856:[.13333,.63333,0,0,.89444],8857:[.13333,.63333,0,0,.89444],8866:[0,.69444,0,0,.70277],8867:[0,.69444,0,0,.70277],8868:[0,.69444,0,0,.89444],8869:[0,.69444,0,0,.89444],8900:[-.02639,.47361,0,0,.575],8901:[-.02639,.47361,0,0,.31944],8902:[-.02778,.47222,0,0,.575],8968:[.25,.75,0,0,.51111],8969:[.25,.75,0,0,.51111],8970:[.25,.75,0,0,.51111],8971:[.25,.75,0,0,.51111],8994:[-.13889,.36111,0,0,1.14999],8995:[-.13889,.36111,0,0,1.14999],9651:[.19444,.69444,0,0,1.02222],9657:[-.02778,.47222,0,0,.575],9661:[.19444,.69444,0,0,1.02222],9667:[-.02778,.47222,0,0,.575],9711:[.19444,.69444,0,0,1.14999],9824:[.12963,.69444,0,0,.89444],9825:[.12963,.69444,0,0,.89444],9826:[.12963,.69444,0,0,.89444],9827:[.12963,.69444,0,0,.89444],9837:[0,.75,0,0,.44722],9838:[.19444,.69444,0,0,.44722],9839:[.19444,.69444,0,0,.44722],10216:[.25,.75,0,0,.44722],10217:[.25,.75,0,0,.44722],10815:[0,.68611,0,0,.9],10927:[.19667,.69667,0,0,.89444],10928:[.19667,.69667,0,0,.89444],57376:[.19444,.69444,0,0,0]},"Main-BoldItalic":{32:[0,0,0,0,.25],33:[0,.69444,.11417,0,.38611],34:[0,.69444,.07939,0,.62055],35:[.19444,.69444,.06833,0,.94444],37:[.05556,.75,.12861,0,.94444],38:[0,.69444,.08528,0,.88555],39:[0,.69444,.12945,0,.35555],40:[.25,.75,.15806,0,.47333],41:[.25,.75,.03306,0,.47333],42:[0,.75,.14333,0,.59111],43:[.10333,.60333,.03306,0,.88555],44:[.19444,.14722,0,0,.35555],45:[0,.44444,.02611,0,.41444],46:[0,.14722,0,0,.35555],47:[.25,.75,.15806,0,.59111],48:[0,.64444,.13167,0,.59111],49:[0,.64444,.13167,0,.59111],50:[0,.64444,.13167,0,.59111],51:[0,.64444,.13167,0,.59111],52:[.19444,.64444,.13167,0,.59111],53:[0,.64444,.13167,0,.59111],54:[0,.64444,.13167,0,.59111],55:[.19444,.64444,.13167,0,.59111],56:[0,.64444,.13167,0,.59111],57:[0,.64444,.13167,0,.59111],58:[0,.44444,.06695,0,.35555],59:[.19444,.44444,.06695,0,.35555],61:[-.10889,.39111,.06833,0,.88555],63:[0,.69444,.11472,0,.59111],64:[0,.69444,.09208,0,.88555],65:[0,.68611,0,0,.86555],66:[0,.68611,.0992,0,.81666],67:[0,.68611,.14208,0,.82666],68:[0,.68611,.09062,0,.87555],69:[0,.68611,.11431,0,.75666],70:[0,.68611,.12903,0,.72722],71:[0,.68611,.07347,0,.89527],72:[0,.68611,.17208,0,.8961],73:[0,.68611,.15681,0,.47166],74:[0,.68611,.145,0,.61055],75:[0,.68611,.14208,0,.89499],76:[0,.68611,0,0,.69777],77:[0,.68611,.17208,0,1.07277],78:[0,.68611,.17208,0,.8961],79:[0,.68611,.09062,0,.85499],80:[0,.68611,.0992,0,.78721],81:[.19444,.68611,.09062,0,.85499],82:[0,.68611,.02559,0,.85944],83:[0,.68611,.11264,0,.64999],84:[0,.68611,.12903,0,.7961],85:[0,.68611,.17208,0,.88083],86:[0,.68611,.18625,0,.86555],87:[0,.68611,.18625,0,1.15999],88:[0,.68611,.15681,0,.86555],89:[0,.68611,.19803,0,.86555],90:[0,.68611,.14208,0,.70888],91:[.25,.75,.1875,0,.35611],93:[.25,.75,.09972,0,.35611],94:[0,.69444,.06709,0,.59111],95:[.31,.13444,.09811,0,.59111],97:[0,.44444,.09426,0,.59111],98:[0,.69444,.07861,0,.53222],99:[0,.44444,.05222,0,.53222],100:[0,.69444,.10861,0,.59111],101:[0,.44444,.085,0,.53222],102:[.19444,.69444,.21778,0,.4],103:[.19444,.44444,.105,0,.53222],104:[0,.69444,.09426,0,.59111],105:[0,.69326,.11387,0,.35555],106:[.19444,.69326,.1672,0,.35555],107:[0,.69444,.11111,0,.53222],108:[0,.69444,.10861,0,.29666],109:[0,.44444,.09426,0,.94444],110:[0,.44444,.09426,0,.64999],111:[0,.44444,.07861,0,.59111],112:[.19444,.44444,.07861,0,.59111],113:[.19444,.44444,.105,0,.53222],114:[0,.44444,.11111,0,.50167],115:[0,.44444,.08167,0,.48694],116:[0,.63492,.09639,0,.385],117:[0,.44444,.09426,0,.62055],118:[0,.44444,.11111,0,.53222],119:[0,.44444,.11111,0,.76777],120:[0,.44444,.12583,0,.56055],121:[.19444,.44444,.105,0,.56166],122:[0,.44444,.13889,0,.49055],126:[.35,.34444,.11472,0,.59111],160:[0,0,0,0,.25],168:[0,.69444,.11473,0,.59111],176:[0,.69444,0,0,.94888],184:[.17014,0,0,0,.53222],198:[0,.68611,.11431,0,1.02277],216:[.04861,.73472,.09062,0,.88555],223:[.19444,.69444,.09736,0,.665],230:[0,.44444,.085,0,.82666],248:[.09722,.54167,.09458,0,.59111],305:[0,.44444,.09426,0,.35555],338:[0,.68611,.11431,0,1.14054],339:[0,.44444,.085,0,.82666],567:[.19444,.44444,.04611,0,.385],710:[0,.69444,.06709,0,.59111],711:[0,.63194,.08271,0,.59111],713:[0,.59444,.10444,0,.59111],714:[0,.69444,.08528,0,.59111],715:[0,.69444,0,0,.59111],728:[0,.69444,.10333,0,.59111],729:[0,.69444,.12945,0,.35555],730:[0,.69444,0,0,.94888],732:[0,.69444,.11472,0,.59111],733:[0,.69444,.11472,0,.59111],915:[0,.68611,.12903,0,.69777],916:[0,.68611,0,0,.94444],920:[0,.68611,.09062,0,.88555],923:[0,.68611,0,0,.80666],926:[0,.68611,.15092,0,.76777],928:[0,.68611,.17208,0,.8961],931:[0,.68611,.11431,0,.82666],933:[0,.68611,.10778,0,.88555],934:[0,.68611,.05632,0,.82666],936:[0,.68611,.10778,0,.88555],937:[0,.68611,.0992,0,.82666],8211:[0,.44444,.09811,0,.59111],8212:[0,.44444,.09811,0,1.18221],8216:[0,.69444,.12945,0,.35555],8217:[0,.69444,.12945,0,.35555],8220:[0,.69444,.16772,0,.62055],8221:[0,.69444,.07939,0,.62055]},"Main-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.12417,0,.30667],34:[0,.69444,.06961,0,.51444],35:[.19444,.69444,.06616,0,.81777],37:[.05556,.75,.13639,0,.81777],38:[0,.69444,.09694,0,.76666],39:[0,.69444,.12417,0,.30667],40:[.25,.75,.16194,0,.40889],41:[.25,.75,.03694,0,.40889],42:[0,.75,.14917,0,.51111],43:[.05667,.56167,.03694,0,.76666],44:[.19444,.10556,0,0,.30667],45:[0,.43056,.02826,0,.35778],46:[0,.10556,0,0,.30667],47:[.25,.75,.16194,0,.51111],48:[0,.64444,.13556,0,.51111],49:[0,.64444,.13556,0,.51111],50:[0,.64444,.13556,0,.51111],51:[0,.64444,.13556,0,.51111],52:[.19444,.64444,.13556,0,.51111],53:[0,.64444,.13556,0,.51111],54:[0,.64444,.13556,0,.51111],55:[.19444,.64444,.13556,0,.51111],56:[0,.64444,.13556,0,.51111],57:[0,.64444,.13556,0,.51111],58:[0,.43056,.0582,0,.30667],59:[.19444,.43056,.0582,0,.30667],61:[-.13313,.36687,.06616,0,.76666],63:[0,.69444,.1225,0,.51111],64:[0,.69444,.09597,0,.76666],65:[0,.68333,0,0,.74333],66:[0,.68333,.10257,0,.70389],67:[0,.68333,.14528,0,.71555],68:[0,.68333,.09403,0,.755],69:[0,.68333,.12028,0,.67833],70:[0,.68333,.13305,0,.65277],71:[0,.68333,.08722,0,.77361],72:[0,.68333,.16389,0,.74333],73:[0,.68333,.15806,0,.38555],74:[0,.68333,.14028,0,.525],75:[0,.68333,.14528,0,.76888],76:[0,.68333,0,0,.62722],77:[0,.68333,.16389,0,.89666],78:[0,.68333,.16389,0,.74333],79:[0,.68333,.09403,0,.76666],80:[0,.68333,.10257,0,.67833],81:[.19444,.68333,.09403,0,.76666],82:[0,.68333,.03868,0,.72944],83:[0,.68333,.11972,0,.56222],84:[0,.68333,.13305,0,.71555],85:[0,.68333,.16389,0,.74333],86:[0,.68333,.18361,0,.74333],87:[0,.68333,.18361,0,.99888],88:[0,.68333,.15806,0,.74333],89:[0,.68333,.19383,0,.74333],90:[0,.68333,.14528,0,.61333],91:[.25,.75,.1875,0,.30667],93:[.25,.75,.10528,0,.30667],94:[0,.69444,.06646,0,.51111],95:[.31,.12056,.09208,0,.51111],97:[0,.43056,.07671,0,.51111],98:[0,.69444,.06312,0,.46],99:[0,.43056,.05653,0,.46],100:[0,.69444,.10333,0,.51111],101:[0,.43056,.07514,0,.46],102:[.19444,.69444,.21194,0,.30667],103:[.19444,.43056,.08847,0,.46],104:[0,.69444,.07671,0,.51111],105:[0,.65536,.1019,0,.30667],106:[.19444,.65536,.14467,0,.30667],107:[0,.69444,.10764,0,.46],108:[0,.69444,.10333,0,.25555],109:[0,.43056,.07671,0,.81777],110:[0,.43056,.07671,0,.56222],111:[0,.43056,.06312,0,.51111],112:[.19444,.43056,.06312,0,.51111],113:[.19444,.43056,.08847,0,.46],114:[0,.43056,.10764,0,.42166],115:[0,.43056,.08208,0,.40889],116:[0,.61508,.09486,0,.33222],117:[0,.43056,.07671,0,.53666],118:[0,.43056,.10764,0,.46],119:[0,.43056,.10764,0,.66444],120:[0,.43056,.12042,0,.46389],121:[.19444,.43056,.08847,0,.48555],122:[0,.43056,.12292,0,.40889],126:[.35,.31786,.11585,0,.51111],160:[0,0,0,0,.25],168:[0,.66786,.10474,0,.51111],176:[0,.69444,0,0,.83129],184:[.17014,0,0,0,.46],198:[0,.68333,.12028,0,.88277],216:[.04861,.73194,.09403,0,.76666],223:[.19444,.69444,.10514,0,.53666],230:[0,.43056,.07514,0,.71555],248:[.09722,.52778,.09194,0,.51111],338:[0,.68333,.12028,0,.98499],339:[0,.43056,.07514,0,.71555],710:[0,.69444,.06646,0,.51111],711:[0,.62847,.08295,0,.51111],713:[0,.56167,.10333,0,.51111],714:[0,.69444,.09694,0,.51111],715:[0,.69444,0,0,.51111],728:[0,.69444,.10806,0,.51111],729:[0,.66786,.11752,0,.30667],730:[0,.69444,0,0,.83129],732:[0,.66786,.11585,0,.51111],733:[0,.69444,.1225,0,.51111],915:[0,.68333,.13305,0,.62722],916:[0,.68333,0,0,.81777],920:[0,.68333,.09403,0,.76666],923:[0,.68333,0,0,.69222],926:[0,.68333,.15294,0,.66444],928:[0,.68333,.16389,0,.74333],931:[0,.68333,.12028,0,.71555],933:[0,.68333,.11111,0,.76666],934:[0,.68333,.05986,0,.71555],936:[0,.68333,.11111,0,.76666],937:[0,.68333,.10257,0,.71555],8211:[0,.43056,.09208,0,.51111],8212:[0,.43056,.09208,0,1.02222],8216:[0,.69444,.12417,0,.30667],8217:[0,.69444,.12417,0,.30667],8220:[0,.69444,.1685,0,.51444],8221:[0,.69444,.06961,0,.51444],8463:[0,.68889,0,0,.54028]},"Main-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.27778],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.77778],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.19444,.10556,0,0,.27778],45:[0,.43056,0,0,.33333],46:[0,.10556,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.64444,0,0,.5],49:[0,.64444,0,0,.5],50:[0,.64444,0,0,.5],51:[0,.64444,0,0,.5],52:[0,.64444,0,0,.5],53:[0,.64444,0,0,.5],54:[0,.64444,0,0,.5],55:[0,.64444,0,0,.5],56:[0,.64444,0,0,.5],57:[0,.64444,0,0,.5],58:[0,.43056,0,0,.27778],59:[.19444,.43056,0,0,.27778],60:[.0391,.5391,0,0,.77778],61:[-.13313,.36687,0,0,.77778],62:[.0391,.5391,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.77778],65:[0,.68333,0,0,.75],66:[0,.68333,0,0,.70834],67:[0,.68333,0,0,.72222],68:[0,.68333,0,0,.76389],69:[0,.68333,0,0,.68056],70:[0,.68333,0,0,.65278],71:[0,.68333,0,0,.78472],72:[0,.68333,0,0,.75],73:[0,.68333,0,0,.36111],74:[0,.68333,0,0,.51389],75:[0,.68333,0,0,.77778],76:[0,.68333,0,0,.625],77:[0,.68333,0,0,.91667],78:[0,.68333,0,0,.75],79:[0,.68333,0,0,.77778],80:[0,.68333,0,0,.68056],81:[.19444,.68333,0,0,.77778],82:[0,.68333,0,0,.73611],83:[0,.68333,0,0,.55556],84:[0,.68333,0,0,.72222],85:[0,.68333,0,0,.75],86:[0,.68333,.01389,0,.75],87:[0,.68333,.01389,0,1.02778],88:[0,.68333,0,0,.75],89:[0,.68333,.025,0,.75],90:[0,.68333,0,0,.61111],91:[.25,.75,0,0,.27778],92:[.25,.75,0,0,.5],93:[.25,.75,0,0,.27778],94:[0,.69444,0,0,.5],95:[.31,.12056,.02778,0,.5],97:[0,.43056,0,0,.5],98:[0,.69444,0,0,.55556],99:[0,.43056,0,0,.44445],100:[0,.69444,0,0,.55556],101:[0,.43056,0,0,.44445],102:[0,.69444,.07778,0,.30556],103:[.19444,.43056,.01389,0,.5],104:[0,.69444,0,0,.55556],105:[0,.66786,0,0,.27778],106:[.19444,.66786,0,0,.30556],107:[0,.69444,0,0,.52778],108:[0,.69444,0,0,.27778],109:[0,.43056,0,0,.83334],110:[0,.43056,0,0,.55556],111:[0,.43056,0,0,.5],112:[.19444,.43056,0,0,.55556],113:[.19444,.43056,0,0,.52778],114:[0,.43056,0,0,.39167],115:[0,.43056,0,0,.39445],116:[0,.61508,0,0,.38889],117:[0,.43056,0,0,.55556],118:[0,.43056,.01389,0,.52778],119:[0,.43056,.01389,0,.72222],120:[0,.43056,0,0,.52778],121:[.19444,.43056,.01389,0,.52778],122:[0,.43056,0,0,.44445],123:[.25,.75,0,0,.5],124:[.25,.75,0,0,.27778],125:[.25,.75,0,0,.5],126:[.35,.31786,0,0,.5],160:[0,0,0,0,.25],163:[0,.69444,0,0,.76909],167:[.19444,.69444,0,0,.44445],168:[0,.66786,0,0,.5],172:[0,.43056,0,0,.66667],176:[0,.69444,0,0,.75],177:[.08333,.58333,0,0,.77778],182:[.19444,.69444,0,0,.61111],184:[.17014,0,0,0,.44445],198:[0,.68333,0,0,.90278],215:[.08333,.58333,0,0,.77778],216:[.04861,.73194,0,0,.77778],223:[0,.69444,0,0,.5],230:[0,.43056,0,0,.72222],247:[.08333,.58333,0,0,.77778],248:[.09722,.52778,0,0,.5],305:[0,.43056,0,0,.27778],338:[0,.68333,0,0,1.01389],339:[0,.43056,0,0,.77778],567:[.19444,.43056,0,0,.30556],710:[0,.69444,0,0,.5],711:[0,.62847,0,0,.5],713:[0,.56778,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.66786,0,0,.27778],730:[0,.69444,0,0,.75],732:[0,.66786,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.68333,0,0,.625],916:[0,.68333,0,0,.83334],920:[0,.68333,0,0,.77778],923:[0,.68333,0,0,.69445],926:[0,.68333,0,0,.66667],928:[0,.68333,0,0,.75],931:[0,.68333,0,0,.72222],933:[0,.68333,0,0,.77778],934:[0,.68333,0,0,.72222],936:[0,.68333,0,0,.77778],937:[0,.68333,0,0,.72222],8211:[0,.43056,.02778,0,.5],8212:[0,.43056,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5],8224:[.19444,.69444,0,0,.44445],8225:[.19444,.69444,0,0,.44445],8230:[0,.123,0,0,1.172],8242:[0,.55556,0,0,.275],8407:[0,.71444,.15382,0,.5],8463:[0,.68889,0,0,.54028],8465:[0,.69444,0,0,.72222],8467:[0,.69444,0,.11111,.41667],8472:[.19444,.43056,0,.11111,.63646],8476:[0,.69444,0,0,.72222],8501:[0,.69444,0,0,.61111],8592:[-.13313,.36687,0,0,1],8593:[.19444,.69444,0,0,.5],8594:[-.13313,.36687,0,0,1],8595:[.19444,.69444,0,0,.5],8596:[-.13313,.36687,0,0,1],8597:[.25,.75,0,0,.5],8598:[.19444,.69444,0,0,1],8599:[.19444,.69444,0,0,1],8600:[.19444,.69444,0,0,1],8601:[.19444,.69444,0,0,1],8614:[.011,.511,0,0,1],8617:[.011,.511,0,0,1.126],8618:[.011,.511,0,0,1.126],8636:[-.13313,.36687,0,0,1],8637:[-.13313,.36687,0,0,1],8640:[-.13313,.36687,0,0,1],8641:[-.13313,.36687,0,0,1],8652:[.011,.671,0,0,1],8656:[-.13313,.36687,0,0,1],8657:[.19444,.69444,0,0,.61111],8658:[-.13313,.36687,0,0,1],8659:[.19444,.69444,0,0,.61111],8660:[-.13313,.36687,0,0,1],8661:[.25,.75,0,0,.61111],8704:[0,.69444,0,0,.55556],8706:[0,.69444,.05556,.08334,.5309],8707:[0,.69444,0,0,.55556],8709:[.05556,.75,0,0,.5],8711:[0,.68333,0,0,.83334],8712:[.0391,.5391,0,0,.66667],8715:[.0391,.5391,0,0,.66667],8722:[.08333,.58333,0,0,.77778],8723:[.08333,.58333,0,0,.77778],8725:[.25,.75,0,0,.5],8726:[.25,.75,0,0,.5],8727:[-.03472,.46528,0,0,.5],8728:[-.05555,.44445,0,0,.5],8729:[-.05555,.44445,0,0,.5],8730:[.2,.8,0,0,.83334],8733:[0,.43056,0,0,.77778],8734:[0,.43056,0,0,1],8736:[0,.69224,0,0,.72222],8739:[.25,.75,0,0,.27778],8741:[.25,.75,0,0,.5],8743:[0,.55556,0,0,.66667],8744:[0,.55556,0,0,.66667],8745:[0,.55556,0,0,.66667],8746:[0,.55556,0,0,.66667],8747:[.19444,.69444,.11111,0,.41667],8764:[-.13313,.36687,0,0,.77778],8768:[.19444,.69444,0,0,.27778],8771:[-.03625,.46375,0,0,.77778],8773:[-.022,.589,0,0,.778],8776:[-.01688,.48312,0,0,.77778],8781:[-.03625,.46375,0,0,.77778],8784:[-.133,.673,0,0,.778],8801:[-.03625,.46375,0,0,.77778],8804:[.13597,.63597,0,0,.77778],8805:[.13597,.63597,0,0,.77778],8810:[.0391,.5391,0,0,1],8811:[.0391,.5391,0,0,1],8826:[.0391,.5391,0,0,.77778],8827:[.0391,.5391,0,0,.77778],8834:[.0391,.5391,0,0,.77778],8835:[.0391,.5391,0,0,.77778],8838:[.13597,.63597,0,0,.77778],8839:[.13597,.63597,0,0,.77778],8846:[0,.55556,0,0,.66667],8849:[.13597,.63597,0,0,.77778],8850:[.13597,.63597,0,0,.77778],8851:[0,.55556,0,0,.66667],8852:[0,.55556,0,0,.66667],8853:[.08333,.58333,0,0,.77778],8854:[.08333,.58333,0,0,.77778],8855:[.08333,.58333,0,0,.77778],8856:[.08333,.58333,0,0,.77778],8857:[.08333,.58333,0,0,.77778],8866:[0,.69444,0,0,.61111],8867:[0,.69444,0,0,.61111],8868:[0,.69444,0,0,.77778],8869:[0,.69444,0,0,.77778],8872:[.249,.75,0,0,.867],8900:[-.05555,.44445,0,0,.5],8901:[-.05555,.44445,0,0,.27778],8902:[-.03472,.46528,0,0,.5],8904:[.005,.505,0,0,.9],8942:[.03,.903,0,0,.278],8943:[-.19,.313,0,0,1.172],8945:[-.1,.823,0,0,1.282],8968:[.25,.75,0,0,.44445],8969:[.25,.75,0,0,.44445],8970:[.25,.75,0,0,.44445],8971:[.25,.75,0,0,.44445],8994:[-.14236,.35764,0,0,1],8995:[-.14236,.35764,0,0,1],9136:[.244,.744,0,0,.412],9137:[.244,.745,0,0,.412],9651:[.19444,.69444,0,0,.88889],9657:[-.03472,.46528,0,0,.5],9661:[.19444,.69444,0,0,.88889],9667:[-.03472,.46528,0,0,.5],9711:[.19444,.69444,0,0,1],9824:[.12963,.69444,0,0,.77778],9825:[.12963,.69444,0,0,.77778],9826:[.12963,.69444,0,0,.77778],9827:[.12963,.69444,0,0,.77778],9837:[0,.75,0,0,.38889],9838:[.19444,.69444,0,0,.38889],9839:[.19444,.69444,0,0,.38889],10216:[.25,.75,0,0,.38889],10217:[.25,.75,0,0,.38889],10222:[.244,.744,0,0,.412],10223:[.244,.745,0,0,.412],10229:[.011,.511,0,0,1.609],10230:[.011,.511,0,0,1.638],10231:[.011,.511,0,0,1.859],10232:[.024,.525,0,0,1.609],10233:[.024,.525,0,0,1.638],10234:[.024,.525,0,0,1.858],10236:[.011,.511,0,0,1.638],10815:[0,.68333,0,0,.75],10927:[.13597,.63597,0,0,.77778],10928:[.13597,.63597,0,0,.77778],57376:[.19444,.69444,0,0,0]},"Math-BoldItalic":{32:[0,0,0,0,.25],48:[0,.44444,0,0,.575],49:[0,.44444,0,0,.575],50:[0,.44444,0,0,.575],51:[.19444,.44444,0,0,.575],52:[.19444,.44444,0,0,.575],53:[.19444,.44444,0,0,.575],54:[0,.64444,0,0,.575],55:[.19444,.44444,0,0,.575],56:[0,.64444,0,0,.575],57:[.19444,.44444,0,0,.575],65:[0,.68611,0,0,.86944],66:[0,.68611,.04835,0,.8664],67:[0,.68611,.06979,0,.81694],68:[0,.68611,.03194,0,.93812],69:[0,.68611,.05451,0,.81007],70:[0,.68611,.15972,0,.68889],71:[0,.68611,0,0,.88673],72:[0,.68611,.08229,0,.98229],73:[0,.68611,.07778,0,.51111],74:[0,.68611,.10069,0,.63125],75:[0,.68611,.06979,0,.97118],76:[0,.68611,0,0,.75555],77:[0,.68611,.11424,0,1.14201],78:[0,.68611,.11424,0,.95034],79:[0,.68611,.03194,0,.83666],80:[0,.68611,.15972,0,.72309],81:[.19444,.68611,0,0,.86861],82:[0,.68611,.00421,0,.87235],83:[0,.68611,.05382,0,.69271],84:[0,.68611,.15972,0,.63663],85:[0,.68611,.11424,0,.80027],86:[0,.68611,.25555,0,.67778],87:[0,.68611,.15972,0,1.09305],88:[0,.68611,.07778,0,.94722],89:[0,.68611,.25555,0,.67458],90:[0,.68611,.06979,0,.77257],97:[0,.44444,0,0,.63287],98:[0,.69444,0,0,.52083],99:[0,.44444,0,0,.51342],100:[0,.69444,0,0,.60972],101:[0,.44444,0,0,.55361],102:[.19444,.69444,.11042,0,.56806],103:[.19444,.44444,.03704,0,.5449],104:[0,.69444,0,0,.66759],105:[0,.69326,0,0,.4048],106:[.19444,.69326,.0622,0,.47083],107:[0,.69444,.01852,0,.6037],108:[0,.69444,.0088,0,.34815],109:[0,.44444,0,0,1.0324],110:[0,.44444,0,0,.71296],111:[0,.44444,0,0,.58472],112:[.19444,.44444,0,0,.60092],113:[.19444,.44444,.03704,0,.54213],114:[0,.44444,.03194,0,.5287],115:[0,.44444,0,0,.53125],116:[0,.63492,0,0,.41528],117:[0,.44444,0,0,.68102],118:[0,.44444,.03704,0,.56666],119:[0,.44444,.02778,0,.83148],120:[0,.44444,0,0,.65903],121:[.19444,.44444,.03704,0,.59028],122:[0,.44444,.04213,0,.55509],160:[0,0,0,0,.25],915:[0,.68611,.15972,0,.65694],916:[0,.68611,0,0,.95833],920:[0,.68611,.03194,0,.86722],923:[0,.68611,0,0,.80555],926:[0,.68611,.07458,0,.84125],928:[0,.68611,.08229,0,.98229],931:[0,.68611,.05451,0,.88507],933:[0,.68611,.15972,0,.67083],934:[0,.68611,0,0,.76666],936:[0,.68611,.11653,0,.71402],937:[0,.68611,.04835,0,.8789],945:[0,.44444,0,0,.76064],946:[.19444,.69444,.03403,0,.65972],947:[.19444,.44444,.06389,0,.59003],948:[0,.69444,.03819,0,.52222],949:[0,.44444,0,0,.52882],950:[.19444,.69444,.06215,0,.50833],951:[.19444,.44444,.03704,0,.6],952:[0,.69444,.03194,0,.5618],953:[0,.44444,0,0,.41204],954:[0,.44444,0,0,.66759],955:[0,.69444,0,0,.67083],956:[.19444,.44444,0,0,.70787],957:[0,.44444,.06898,0,.57685],958:[.19444,.69444,.03021,0,.50833],959:[0,.44444,0,0,.58472],960:[0,.44444,.03704,0,.68241],961:[.19444,.44444,0,0,.6118],962:[.09722,.44444,.07917,0,.42361],963:[0,.44444,.03704,0,.68588],964:[0,.44444,.13472,0,.52083],965:[0,.44444,.03704,0,.63055],966:[.19444,.44444,0,0,.74722],967:[.19444,.44444,0,0,.71805],968:[.19444,.69444,.03704,0,.75833],969:[0,.44444,.03704,0,.71782],977:[0,.69444,0,0,.69155],981:[.19444,.69444,0,0,.7125],982:[0,.44444,.03194,0,.975],1009:[.19444,.44444,0,0,.6118],1013:[0,.44444,0,0,.48333],57649:[0,.44444,0,0,.39352],57911:[.19444,.44444,0,0,.43889]},"Math-Italic":{32:[0,0,0,0,.25],48:[0,.43056,0,0,.5],49:[0,.43056,0,0,.5],50:[0,.43056,0,0,.5],51:[.19444,.43056,0,0,.5],52:[.19444,.43056,0,0,.5],53:[.19444,.43056,0,0,.5],54:[0,.64444,0,0,.5],55:[.19444,.43056,0,0,.5],56:[0,.64444,0,0,.5],57:[.19444,.43056,0,0,.5],65:[0,.68333,0,.13889,.75],66:[0,.68333,.05017,.08334,.75851],67:[0,.68333,.07153,.08334,.71472],68:[0,.68333,.02778,.05556,.82792],69:[0,.68333,.05764,.08334,.7382],70:[0,.68333,.13889,.08334,.64306],71:[0,.68333,0,.08334,.78625],72:[0,.68333,.08125,.05556,.83125],73:[0,.68333,.07847,.11111,.43958],74:[0,.68333,.09618,.16667,.55451],75:[0,.68333,.07153,.05556,.84931],76:[0,.68333,0,.02778,.68056],77:[0,.68333,.10903,.08334,.97014],78:[0,.68333,.10903,.08334,.80347],79:[0,.68333,.02778,.08334,.76278],80:[0,.68333,.13889,.08334,.64201],81:[.19444,.68333,0,.08334,.79056],82:[0,.68333,.00773,.08334,.75929],83:[0,.68333,.05764,.08334,.6132],84:[0,.68333,.13889,.08334,.58438],85:[0,.68333,.10903,.02778,.68278],86:[0,.68333,.22222,0,.58333],87:[0,.68333,.13889,0,.94445],88:[0,.68333,.07847,.08334,.82847],89:[0,.68333,.22222,0,.58056],90:[0,.68333,.07153,.08334,.68264],97:[0,.43056,0,0,.52859],98:[0,.69444,0,0,.42917],99:[0,.43056,0,.05556,.43276],100:[0,.69444,0,.16667,.52049],101:[0,.43056,0,.05556,.46563],102:[.19444,.69444,.10764,.16667,.48959],103:[.19444,.43056,.03588,.02778,.47697],104:[0,.69444,0,0,.57616],105:[0,.65952,0,0,.34451],106:[.19444,.65952,.05724,0,.41181],107:[0,.69444,.03148,0,.5206],108:[0,.69444,.01968,.08334,.29838],109:[0,.43056,0,0,.87801],110:[0,.43056,0,0,.60023],111:[0,.43056,0,.05556,.48472],112:[.19444,.43056,0,.08334,.50313],113:[.19444,.43056,.03588,.08334,.44641],114:[0,.43056,.02778,.05556,.45116],115:[0,.43056,0,.05556,.46875],116:[0,.61508,0,.08334,.36111],117:[0,.43056,0,.02778,.57246],118:[0,.43056,.03588,.02778,.48472],119:[0,.43056,.02691,.08334,.71592],120:[0,.43056,0,.02778,.57153],121:[.19444,.43056,.03588,.05556,.49028],122:[0,.43056,.04398,.05556,.46505],160:[0,0,0,0,.25],915:[0,.68333,.13889,.08334,.61528],916:[0,.68333,0,.16667,.83334],920:[0,.68333,.02778,.08334,.76278],923:[0,.68333,0,.16667,.69445],926:[0,.68333,.07569,.08334,.74236],928:[0,.68333,.08125,.05556,.83125],931:[0,.68333,.05764,.08334,.77986],933:[0,.68333,.13889,.05556,.58333],934:[0,.68333,0,.08334,.66667],936:[0,.68333,.11,.05556,.61222],937:[0,.68333,.05017,.08334,.7724],945:[0,.43056,.0037,.02778,.6397],946:[.19444,.69444,.05278,.08334,.56563],947:[.19444,.43056,.05556,0,.51773],948:[0,.69444,.03785,.05556,.44444],949:[0,.43056,0,.08334,.46632],950:[.19444,.69444,.07378,.08334,.4375],951:[.19444,.43056,.03588,.05556,.49653],952:[0,.69444,.02778,.08334,.46944],953:[0,.43056,0,.05556,.35394],954:[0,.43056,0,0,.57616],955:[0,.69444,0,0,.58334],956:[.19444,.43056,0,.02778,.60255],957:[0,.43056,.06366,.02778,.49398],958:[.19444,.69444,.04601,.11111,.4375],959:[0,.43056,0,.05556,.48472],960:[0,.43056,.03588,0,.57003],961:[.19444,.43056,0,.08334,.51702],962:[.09722,.43056,.07986,.08334,.36285],963:[0,.43056,.03588,0,.57141],964:[0,.43056,.1132,.02778,.43715],965:[0,.43056,.03588,.02778,.54028],966:[.19444,.43056,0,.08334,.65417],967:[.19444,.43056,0,.05556,.62569],968:[.19444,.69444,.03588,.11111,.65139],969:[0,.43056,.03588,0,.62245],977:[0,.69444,0,.08334,.59144],981:[.19444,.69444,0,.08334,.59583],982:[0,.43056,.02778,0,.82813],1009:[.19444,.43056,0,.08334,.51702],1013:[0,.43056,0,.05556,.4059],57649:[0,.43056,0,.02778,.32246],57911:[.19444,.43056,0,.08334,.38403]},"SansSerif-Bold":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.36667],34:[0,.69444,0,0,.55834],35:[.19444,.69444,0,0,.91667],36:[.05556,.75,0,0,.55],37:[.05556,.75,0,0,1.02912],38:[0,.69444,0,0,.83056],39:[0,.69444,0,0,.30556],40:[.25,.75,0,0,.42778],41:[.25,.75,0,0,.42778],42:[0,.75,0,0,.55],43:[.11667,.61667,0,0,.85556],44:[.10556,.13056,0,0,.30556],45:[0,.45833,0,0,.36667],46:[0,.13056,0,0,.30556],47:[.25,.75,0,0,.55],48:[0,.69444,0,0,.55],49:[0,.69444,0,0,.55],50:[0,.69444,0,0,.55],51:[0,.69444,0,0,.55],52:[0,.69444,0,0,.55],53:[0,.69444,0,0,.55],54:[0,.69444,0,0,.55],55:[0,.69444,0,0,.55],56:[0,.69444,0,0,.55],57:[0,.69444,0,0,.55],58:[0,.45833,0,0,.30556],59:[.10556,.45833,0,0,.30556],61:[-.09375,.40625,0,0,.85556],63:[0,.69444,0,0,.51945],64:[0,.69444,0,0,.73334],65:[0,.69444,0,0,.73334],66:[0,.69444,0,0,.73334],67:[0,.69444,0,0,.70278],68:[0,.69444,0,0,.79445],69:[0,.69444,0,0,.64167],70:[0,.69444,0,0,.61111],71:[0,.69444,0,0,.73334],72:[0,.69444,0,0,.79445],73:[0,.69444,0,0,.33056],74:[0,.69444,0,0,.51945],75:[0,.69444,0,0,.76389],76:[0,.69444,0,0,.58056],77:[0,.69444,0,0,.97778],78:[0,.69444,0,0,.79445],79:[0,.69444,0,0,.79445],80:[0,.69444,0,0,.70278],81:[.10556,.69444,0,0,.79445],82:[0,.69444,0,0,.70278],83:[0,.69444,0,0,.61111],84:[0,.69444,0,0,.73334],85:[0,.69444,0,0,.76389],86:[0,.69444,.01528,0,.73334],87:[0,.69444,.01528,0,1.03889],88:[0,.69444,0,0,.73334],89:[0,.69444,.0275,0,.73334],90:[0,.69444,0,0,.67223],91:[.25,.75,0,0,.34306],93:[.25,.75,0,0,.34306],94:[0,.69444,0,0,.55],95:[.35,.10833,.03056,0,.55],97:[0,.45833,0,0,.525],98:[0,.69444,0,0,.56111],99:[0,.45833,0,0,.48889],100:[0,.69444,0,0,.56111],101:[0,.45833,0,0,.51111],102:[0,.69444,.07639,0,.33611],103:[.19444,.45833,.01528,0,.55],104:[0,.69444,0,0,.56111],105:[0,.69444,0,0,.25556],106:[.19444,.69444,0,0,.28611],107:[0,.69444,0,0,.53056],108:[0,.69444,0,0,.25556],109:[0,.45833,0,0,.86667],110:[0,.45833,0,0,.56111],111:[0,.45833,0,0,.55],112:[.19444,.45833,0,0,.56111],113:[.19444,.45833,0,0,.56111],114:[0,.45833,.01528,0,.37222],115:[0,.45833,0,0,.42167],116:[0,.58929,0,0,.40417],117:[0,.45833,0,0,.56111],118:[0,.45833,.01528,0,.5],119:[0,.45833,.01528,0,.74445],120:[0,.45833,0,0,.5],121:[.19444,.45833,.01528,0,.5],122:[0,.45833,0,0,.47639],126:[.35,.34444,0,0,.55],160:[0,0,0,0,.25],168:[0,.69444,0,0,.55],176:[0,.69444,0,0,.73334],180:[0,.69444,0,0,.55],184:[.17014,0,0,0,.48889],305:[0,.45833,0,0,.25556],567:[.19444,.45833,0,0,.28611],710:[0,.69444,0,0,.55],711:[0,.63542,0,0,.55],713:[0,.63778,0,0,.55],728:[0,.69444,0,0,.55],729:[0,.69444,0,0,.30556],730:[0,.69444,0,0,.73334],732:[0,.69444,0,0,.55],733:[0,.69444,0,0,.55],915:[0,.69444,0,0,.58056],916:[0,.69444,0,0,.91667],920:[0,.69444,0,0,.85556],923:[0,.69444,0,0,.67223],926:[0,.69444,0,0,.73334],928:[0,.69444,0,0,.79445],931:[0,.69444,0,0,.79445],933:[0,.69444,0,0,.85556],934:[0,.69444,0,0,.79445],936:[0,.69444,0,0,.85556],937:[0,.69444,0,0,.79445],8211:[0,.45833,.03056,0,.55],8212:[0,.45833,.03056,0,1.10001],8216:[0,.69444,0,0,.30556],8217:[0,.69444,0,0,.30556],8220:[0,.69444,0,0,.55834],8221:[0,.69444,0,0,.55834]},"SansSerif-Italic":{32:[0,0,0,0,.25],33:[0,.69444,.05733,0,.31945],34:[0,.69444,.00316,0,.5],35:[.19444,.69444,.05087,0,.83334],36:[.05556,.75,.11156,0,.5],37:[.05556,.75,.03126,0,.83334],38:[0,.69444,.03058,0,.75834],39:[0,.69444,.07816,0,.27778],40:[.25,.75,.13164,0,.38889],41:[.25,.75,.02536,0,.38889],42:[0,.75,.11775,0,.5],43:[.08333,.58333,.02536,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,.01946,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,.13164,0,.5],48:[0,.65556,.11156,0,.5],49:[0,.65556,.11156,0,.5],50:[0,.65556,.11156,0,.5],51:[0,.65556,.11156,0,.5],52:[0,.65556,.11156,0,.5],53:[0,.65556,.11156,0,.5],54:[0,.65556,.11156,0,.5],55:[0,.65556,.11156,0,.5],56:[0,.65556,.11156,0,.5],57:[0,.65556,.11156,0,.5],58:[0,.44444,.02502,0,.27778],59:[.125,.44444,.02502,0,.27778],61:[-.13,.37,.05087,0,.77778],63:[0,.69444,.11809,0,.47222],64:[0,.69444,.07555,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,.08293,0,.66667],67:[0,.69444,.11983,0,.63889],68:[0,.69444,.07555,0,.72223],69:[0,.69444,.11983,0,.59722],70:[0,.69444,.13372,0,.56945],71:[0,.69444,.11983,0,.66667],72:[0,.69444,.08094,0,.70834],73:[0,.69444,.13372,0,.27778],74:[0,.69444,.08094,0,.47222],75:[0,.69444,.11983,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,.08094,0,.875],78:[0,.69444,.08094,0,.70834],79:[0,.69444,.07555,0,.73611],80:[0,.69444,.08293,0,.63889],81:[.125,.69444,.07555,0,.73611],82:[0,.69444,.08293,0,.64584],83:[0,.69444,.09205,0,.55556],84:[0,.69444,.13372,0,.68056],85:[0,.69444,.08094,0,.6875],86:[0,.69444,.1615,0,.66667],87:[0,.69444,.1615,0,.94445],88:[0,.69444,.13372,0,.66667],89:[0,.69444,.17261,0,.66667],90:[0,.69444,.11983,0,.61111],91:[.25,.75,.15942,0,.28889],93:[.25,.75,.08719,0,.28889],94:[0,.69444,.0799,0,.5],95:[.35,.09444,.08616,0,.5],97:[0,.44444,.00981,0,.48056],98:[0,.69444,.03057,0,.51667],99:[0,.44444,.08336,0,.44445],100:[0,.69444,.09483,0,.51667],101:[0,.44444,.06778,0,.44445],102:[0,.69444,.21705,0,.30556],103:[.19444,.44444,.10836,0,.5],104:[0,.69444,.01778,0,.51667],105:[0,.67937,.09718,0,.23889],106:[.19444,.67937,.09162,0,.26667],107:[0,.69444,.08336,0,.48889],108:[0,.69444,.09483,0,.23889],109:[0,.44444,.01778,0,.79445],110:[0,.44444,.01778,0,.51667],111:[0,.44444,.06613,0,.5],112:[.19444,.44444,.0389,0,.51667],113:[.19444,.44444,.04169,0,.51667],114:[0,.44444,.10836,0,.34167],115:[0,.44444,.0778,0,.38333],116:[0,.57143,.07225,0,.36111],117:[0,.44444,.04169,0,.51667],118:[0,.44444,.10836,0,.46111],119:[0,.44444,.10836,0,.68334],120:[0,.44444,.09169,0,.46111],121:[.19444,.44444,.10836,0,.46111],122:[0,.44444,.08752,0,.43472],126:[.35,.32659,.08826,0,.5],160:[0,0,0,0,.25],168:[0,.67937,.06385,0,.5],176:[0,.69444,0,0,.73752],184:[.17014,0,0,0,.44445],305:[0,.44444,.04169,0,.23889],567:[.19444,.44444,.04169,0,.26667],710:[0,.69444,.0799,0,.5],711:[0,.63194,.08432,0,.5],713:[0,.60889,.08776,0,.5],714:[0,.69444,.09205,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,.09483,0,.5],729:[0,.67937,.07774,0,.27778],730:[0,.69444,0,0,.73752],732:[0,.67659,.08826,0,.5],733:[0,.69444,.09205,0,.5],915:[0,.69444,.13372,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,.07555,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,.12816,0,.66667],928:[0,.69444,.08094,0,.70834],931:[0,.69444,.11983,0,.72222],933:[0,.69444,.09031,0,.77778],934:[0,.69444,.04603,0,.72222],936:[0,.69444,.09031,0,.77778],937:[0,.69444,.08293,0,.72222],8211:[0,.44444,.08616,0,.5],8212:[0,.44444,.08616,0,1],8216:[0,.69444,.07816,0,.27778],8217:[0,.69444,.07816,0,.27778],8220:[0,.69444,.14205,0,.5],8221:[0,.69444,.00316,0,.5]},"SansSerif-Regular":{32:[0,0,0,0,.25],33:[0,.69444,0,0,.31945],34:[0,.69444,0,0,.5],35:[.19444,.69444,0,0,.83334],36:[.05556,.75,0,0,.5],37:[.05556,.75,0,0,.83334],38:[0,.69444,0,0,.75834],39:[0,.69444,0,0,.27778],40:[.25,.75,0,0,.38889],41:[.25,.75,0,0,.38889],42:[0,.75,0,0,.5],43:[.08333,.58333,0,0,.77778],44:[.125,.08333,0,0,.27778],45:[0,.44444,0,0,.33333],46:[0,.08333,0,0,.27778],47:[.25,.75,0,0,.5],48:[0,.65556,0,0,.5],49:[0,.65556,0,0,.5],50:[0,.65556,0,0,.5],51:[0,.65556,0,0,.5],52:[0,.65556,0,0,.5],53:[0,.65556,0,0,.5],54:[0,.65556,0,0,.5],55:[0,.65556,0,0,.5],56:[0,.65556,0,0,.5],57:[0,.65556,0,0,.5],58:[0,.44444,0,0,.27778],59:[.125,.44444,0,0,.27778],61:[-.13,.37,0,0,.77778],63:[0,.69444,0,0,.47222],64:[0,.69444,0,0,.66667],65:[0,.69444,0,0,.66667],66:[0,.69444,0,0,.66667],67:[0,.69444,0,0,.63889],68:[0,.69444,0,0,.72223],69:[0,.69444,0,0,.59722],70:[0,.69444,0,0,.56945],71:[0,.69444,0,0,.66667],72:[0,.69444,0,0,.70834],73:[0,.69444,0,0,.27778],74:[0,.69444,0,0,.47222],75:[0,.69444,0,0,.69445],76:[0,.69444,0,0,.54167],77:[0,.69444,0,0,.875],78:[0,.69444,0,0,.70834],79:[0,.69444,0,0,.73611],80:[0,.69444,0,0,.63889],81:[.125,.69444,0,0,.73611],82:[0,.69444,0,0,.64584],83:[0,.69444,0,0,.55556],84:[0,.69444,0,0,.68056],85:[0,.69444,0,0,.6875],86:[0,.69444,.01389,0,.66667],87:[0,.69444,.01389,0,.94445],88:[0,.69444,0,0,.66667],89:[0,.69444,.025,0,.66667],90:[0,.69444,0,0,.61111],91:[.25,.75,0,0,.28889],93:[.25,.75,0,0,.28889],94:[0,.69444,0,0,.5],95:[.35,.09444,.02778,0,.5],97:[0,.44444,0,0,.48056],98:[0,.69444,0,0,.51667],99:[0,.44444,0,0,.44445],100:[0,.69444,0,0,.51667],101:[0,.44444,0,0,.44445],102:[0,.69444,.06944,0,.30556],103:[.19444,.44444,.01389,0,.5],104:[0,.69444,0,0,.51667],105:[0,.67937,0,0,.23889],106:[.19444,.67937,0,0,.26667],107:[0,.69444,0,0,.48889],108:[0,.69444,0,0,.23889],109:[0,.44444,0,0,.79445],110:[0,.44444,0,0,.51667],111:[0,.44444,0,0,.5],112:[.19444,.44444,0,0,.51667],113:[.19444,.44444,0,0,.51667],114:[0,.44444,.01389,0,.34167],115:[0,.44444,0,0,.38333],116:[0,.57143,0,0,.36111],117:[0,.44444,0,0,.51667],118:[0,.44444,.01389,0,.46111],119:[0,.44444,.01389,0,.68334],120:[0,.44444,0,0,.46111],121:[.19444,.44444,.01389,0,.46111],122:[0,.44444,0,0,.43472],126:[.35,.32659,0,0,.5],160:[0,0,0,0,.25],168:[0,.67937,0,0,.5],176:[0,.69444,0,0,.66667],184:[.17014,0,0,0,.44445],305:[0,.44444,0,0,.23889],567:[.19444,.44444,0,0,.26667],710:[0,.69444,0,0,.5],711:[0,.63194,0,0,.5],713:[0,.60889,0,0,.5],714:[0,.69444,0,0,.5],715:[0,.69444,0,0,.5],728:[0,.69444,0,0,.5],729:[0,.67937,0,0,.27778],730:[0,.69444,0,0,.66667],732:[0,.67659,0,0,.5],733:[0,.69444,0,0,.5],915:[0,.69444,0,0,.54167],916:[0,.69444,0,0,.83334],920:[0,.69444,0,0,.77778],923:[0,.69444,0,0,.61111],926:[0,.69444,0,0,.66667],928:[0,.69444,0,0,.70834],931:[0,.69444,0,0,.72222],933:[0,.69444,0,0,.77778],934:[0,.69444,0,0,.72222],936:[0,.69444,0,0,.77778],937:[0,.69444,0,0,.72222],8211:[0,.44444,.02778,0,.5],8212:[0,.44444,.02778,0,1],8216:[0,.69444,0,0,.27778],8217:[0,.69444,0,0,.27778],8220:[0,.69444,0,0,.5],8221:[0,.69444,0,0,.5]},"Script-Regular":{32:[0,0,0,0,.25],65:[0,.7,.22925,0,.80253],66:[0,.7,.04087,0,.90757],67:[0,.7,.1689,0,.66619],68:[0,.7,.09371,0,.77443],69:[0,.7,.18583,0,.56162],70:[0,.7,.13634,0,.89544],71:[0,.7,.17322,0,.60961],72:[0,.7,.29694,0,.96919],73:[0,.7,.19189,0,.80907],74:[.27778,.7,.19189,0,1.05159],75:[0,.7,.31259,0,.91364],76:[0,.7,.19189,0,.87373],77:[0,.7,.15981,0,1.08031],78:[0,.7,.3525,0,.9015],79:[0,.7,.08078,0,.73787],80:[0,.7,.08078,0,1.01262],81:[0,.7,.03305,0,.88282],82:[0,.7,.06259,0,.85],83:[0,.7,.19189,0,.86767],84:[0,.7,.29087,0,.74697],85:[0,.7,.25815,0,.79996],86:[0,.7,.27523,0,.62204],87:[0,.7,.27523,0,.80532],88:[0,.7,.26006,0,.94445],89:[0,.7,.2939,0,.70961],90:[0,.7,.24037,0,.8212],160:[0,0,0,0,.25]},"Size1-Regular":{32:[0,0,0,0,.25],40:[.35001,.85,0,0,.45834],41:[.35001,.85,0,0,.45834],47:[.35001,.85,0,0,.57778],91:[.35001,.85,0,0,.41667],92:[.35001,.85,0,0,.57778],93:[.35001,.85,0,0,.41667],123:[.35001,.85,0,0,.58334],125:[.35001,.85,0,0,.58334],160:[0,0,0,0,.25],710:[0,.72222,0,0,.55556],732:[0,.72222,0,0,.55556],770:[0,.72222,0,0,.55556],771:[0,.72222,0,0,.55556],8214:[-99e-5,.601,0,0,.77778],8593:[1e-5,.6,0,0,.66667],8595:[1e-5,.6,0,0,.66667],8657:[1e-5,.6,0,0,.77778],8659:[1e-5,.6,0,0,.77778],8719:[.25001,.75,0,0,.94445],8720:[.25001,.75,0,0,.94445],8721:[.25001,.75,0,0,1.05556],8730:[.35001,.85,0,0,1],8739:[-.00599,.606,0,0,.33333],8741:[-.00599,.606,0,0,.55556],8747:[.30612,.805,.19445,0,.47222],8748:[.306,.805,.19445,0,.47222],8749:[.306,.805,.19445,0,.47222],8750:[.30612,.805,.19445,0,.47222],8896:[.25001,.75,0,0,.83334],8897:[.25001,.75,0,0,.83334],8898:[.25001,.75,0,0,.83334],8899:[.25001,.75,0,0,.83334],8968:[.35001,.85,0,0,.47222],8969:[.35001,.85,0,0,.47222],8970:[.35001,.85,0,0,.47222],8971:[.35001,.85,0,0,.47222],9168:[-99e-5,.601,0,0,.66667],10216:[.35001,.85,0,0,.47222],10217:[.35001,.85,0,0,.47222],10752:[.25001,.75,0,0,1.11111],10753:[.25001,.75,0,0,1.11111],10754:[.25001,.75,0,0,1.11111],10756:[.25001,.75,0,0,.83334],10758:[.25001,.75,0,0,.83334]},"Size2-Regular":{32:[0,0,0,0,.25],40:[.65002,1.15,0,0,.59722],41:[.65002,1.15,0,0,.59722],47:[.65002,1.15,0,0,.81111],91:[.65002,1.15,0,0,.47222],92:[.65002,1.15,0,0,.81111],93:[.65002,1.15,0,0,.47222],123:[.65002,1.15,0,0,.66667],125:[.65002,1.15,0,0,.66667],160:[0,0,0,0,.25],710:[0,.75,0,0,1],732:[0,.75,0,0,1],770:[0,.75,0,0,1],771:[0,.75,0,0,1],8719:[.55001,1.05,0,0,1.27778],8720:[.55001,1.05,0,0,1.27778],8721:[.55001,1.05,0,0,1.44445],8730:[.65002,1.15,0,0,1],8747:[.86225,1.36,.44445,0,.55556],8748:[.862,1.36,.44445,0,.55556],8749:[.862,1.36,.44445,0,.55556],8750:[.86225,1.36,.44445,0,.55556],8896:[.55001,1.05,0,0,1.11111],8897:[.55001,1.05,0,0,1.11111],8898:[.55001,1.05,0,0,1.11111],8899:[.55001,1.05,0,0,1.11111],8968:[.65002,1.15,0,0,.52778],8969:[.65002,1.15,0,0,.52778],8970:[.65002,1.15,0,0,.52778],8971:[.65002,1.15,0,0,.52778],10216:[.65002,1.15,0,0,.61111],10217:[.65002,1.15,0,0,.61111],10752:[.55001,1.05,0,0,1.51112],10753:[.55001,1.05,0,0,1.51112],10754:[.55001,1.05,0,0,1.51112],10756:[.55001,1.05,0,0,1.11111],10758:[.55001,1.05,0,0,1.11111]},"Size3-Regular":{32:[0,0,0,0,.25],40:[.95003,1.45,0,0,.73611],41:[.95003,1.45,0,0,.73611],47:[.95003,1.45,0,0,1.04445],91:[.95003,1.45,0,0,.52778],92:[.95003,1.45,0,0,1.04445],93:[.95003,1.45,0,0,.52778],123:[.95003,1.45,0,0,.75],125:[.95003,1.45,0,0,.75],160:[0,0,0,0,.25],710:[0,.75,0,0,1.44445],732:[0,.75,0,0,1.44445],770:[0,.75,0,0,1.44445],771:[0,.75,0,0,1.44445],8730:[.95003,1.45,0,0,1],8968:[.95003,1.45,0,0,.58334],8969:[.95003,1.45,0,0,.58334],8970:[.95003,1.45,0,0,.58334],8971:[.95003,1.45,0,0,.58334],10216:[.95003,1.45,0,0,.75],10217:[.95003,1.45,0,0,.75]},"Size4-Regular":{32:[0,0,0,0,.25],40:[1.25003,1.75,0,0,.79167],41:[1.25003,1.75,0,0,.79167],47:[1.25003,1.75,0,0,1.27778],91:[1.25003,1.75,0,0,.58334],92:[1.25003,1.75,0,0,1.27778],93:[1.25003,1.75,0,0,.58334],123:[1.25003,1.75,0,0,.80556],125:[1.25003,1.75,0,0,.80556],160:[0,0,0,0,.25],710:[0,.825,0,0,1.8889],732:[0,.825,0,0,1.8889],770:[0,.825,0,0,1.8889],771:[0,.825,0,0,1.8889],8730:[1.25003,1.75,0,0,1],8968:[1.25003,1.75,0,0,.63889],8969:[1.25003,1.75,0,0,.63889],8970:[1.25003,1.75,0,0,.63889],8971:[1.25003,1.75,0,0,.63889],9115:[.64502,1.155,0,0,.875],9116:[1e-5,.6,0,0,.875],9117:[.64502,1.155,0,0,.875],9118:[.64502,1.155,0,0,.875],9119:[1e-5,.6,0,0,.875],9120:[.64502,1.155,0,0,.875],9121:[.64502,1.155,0,0,.66667],9122:[-99e-5,.601,0,0,.66667],9123:[.64502,1.155,0,0,.66667],9124:[.64502,1.155,0,0,.66667],9125:[-99e-5,.601,0,0,.66667],9126:[.64502,1.155,0,0,.66667],9127:[1e-5,.9,0,0,.88889],9128:[.65002,1.15,0,0,.88889],9129:[.90001,0,0,0,.88889],9130:[0,.3,0,0,.88889],9131:[1e-5,.9,0,0,.88889],9132:[.65002,1.15,0,0,.88889],9133:[.90001,0,0,0,.88889],9143:[.88502,.915,0,0,1.05556],10216:[1.25003,1.75,0,0,.80556],10217:[1.25003,1.75,0,0,.80556],57344:[-.00499,.605,0,0,1.05556],57345:[-.00499,.605,0,0,1.05556],57680:[0,.12,0,0,.45],57681:[0,.12,0,0,.45],57682:[0,.12,0,0,.45],57683:[0,.12,0,0,.45]},"Typewriter-Regular":{32:[0,0,0,0,.525],33:[0,.61111,0,0,.525],34:[0,.61111,0,0,.525],35:[0,.61111,0,0,.525],36:[.08333,.69444,0,0,.525],37:[.08333,.69444,0,0,.525],38:[0,.61111,0,0,.525],39:[0,.61111,0,0,.525],40:[.08333,.69444,0,0,.525],41:[.08333,.69444,0,0,.525],42:[0,.52083,0,0,.525],43:[-.08056,.53055,0,0,.525],44:[.13889,.125,0,0,.525],45:[-.08056,.53055,0,0,.525],46:[0,.125,0,0,.525],47:[.08333,.69444,0,0,.525],48:[0,.61111,0,0,.525],49:[0,.61111,0,0,.525],50:[0,.61111,0,0,.525],51:[0,.61111,0,0,.525],52:[0,.61111,0,0,.525],53:[0,.61111,0,0,.525],54:[0,.61111,0,0,.525],55:[0,.61111,0,0,.525],56:[0,.61111,0,0,.525],57:[0,.61111,0,0,.525],58:[0,.43056,0,0,.525],59:[.13889,.43056,0,0,.525],60:[-.05556,.55556,0,0,.525],61:[-.19549,.41562,0,0,.525],62:[-.05556,.55556,0,0,.525],63:[0,.61111,0,0,.525],64:[0,.61111,0,0,.525],65:[0,.61111,0,0,.525],66:[0,.61111,0,0,.525],67:[0,.61111,0,0,.525],68:[0,.61111,0,0,.525],69:[0,.61111,0,0,.525],70:[0,.61111,0,0,.525],71:[0,.61111,0,0,.525],72:[0,.61111,0,0,.525],73:[0,.61111,0,0,.525],74:[0,.61111,0,0,.525],75:[0,.61111,0,0,.525],76:[0,.61111,0,0,.525],77:[0,.61111,0,0,.525],78:[0,.61111,0,0,.525],79:[0,.61111,0,0,.525],80:[0,.61111,0,0,.525],81:[.13889,.61111,0,0,.525],82:[0,.61111,0,0,.525],83:[0,.61111,0,0,.525],84:[0,.61111,0,0,.525],85:[0,.61111,0,0,.525],86:[0,.61111,0,0,.525],87:[0,.61111,0,0,.525],88:[0,.61111,0,0,.525],89:[0,.61111,0,0,.525],90:[0,.61111,0,0,.525],91:[.08333,.69444,0,0,.525],92:[.08333,.69444,0,0,.525],93:[.08333,.69444,0,0,.525],94:[0,.61111,0,0,.525],95:[.09514,0,0,0,.525],96:[0,.61111,0,0,.525],97:[0,.43056,0,0,.525],98:[0,.61111,0,0,.525],99:[0,.43056,0,0,.525],100:[0,.61111,0,0,.525],101:[0,.43056,0,0,.525],102:[0,.61111,0,0,.525],103:[.22222,.43056,0,0,.525],104:[0,.61111,0,0,.525],105:[0,.61111,0,0,.525],106:[.22222,.61111,0,0,.525],107:[0,.61111,0,0,.525],108:[0,.61111,0,0,.525],109:[0,.43056,0,0,.525],110:[0,.43056,0,0,.525],111:[0,.43056,0,0,.525],112:[.22222,.43056,0,0,.525],113:[.22222,.43056,0,0,.525],114:[0,.43056,0,0,.525],115:[0,.43056,0,0,.525],116:[0,.55358,0,0,.525],117:[0,.43056,0,0,.525],118:[0,.43056,0,0,.525],119:[0,.43056,0,0,.525],120:[0,.43056,0,0,.525],121:[.22222,.43056,0,0,.525],122:[0,.43056,0,0,.525],123:[.08333,.69444,0,0,.525],124:[.08333,.69444,0,0,.525],125:[.08333,.69444,0,0,.525],126:[0,.61111,0,0,.525],127:[0,.61111,0,0,.525],160:[0,0,0,0,.525],176:[0,.61111,0,0,.525],184:[.19445,0,0,0,.525],305:[0,.43056,0,0,.525],567:[.22222,.43056,0,0,.525],711:[0,.56597,0,0,.525],713:[0,.56555,0,0,.525],714:[0,.61111,0,0,.525],715:[0,.61111,0,0,.525],728:[0,.61111,0,0,.525],730:[0,.61111,0,0,.525],770:[0,.61111,0,0,.525],771:[0,.61111,0,0,.525],776:[0,.61111,0,0,.525],915:[0,.61111,0,0,.525],916:[0,.61111,0,0,.525],920:[0,.61111,0,0,.525],923:[0,.61111,0,0,.525],926:[0,.61111,0,0,.525],928:[0,.61111,0,0,.525],931:[0,.61111,0,0,.525],933:[0,.61111,0,0,.525],934:[0,.61111,0,0,.525],936:[0,.61111,0,0,.525],937:[0,.61111,0,0,.525],8216:[0,.61111,0,0,.525],8217:[0,.61111,0,0,.525],8242:[0,.61111,0,0,.525],9251:[.11111,.21944,0,0,.525]}},Lr={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]},Si={Å:"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 Ah(t,e){Bt[t]=e}function ds(t,e,r){if(!Bt[e])throw new Error("Font metrics not found for font: "+e+".");var n=t.charCodeAt(0),a=Bt[e][n];if(!a&&t[0]in Si&&(n=Si[t[0]].charCodeAt(0),a=Bt[e][n]),!a&&r==="text"&&Ao(n)&&(a=Bt[e][77]),a)return{depth:a[0],height:a[1],italic:a[2],skew:a[3],width:a[4]}}var Yn={};function qh(t){var e;if(t>=5?e=0:t>=3?e=1:e=2,!Yn[e]){var r=Yn[e]={cssEmPerMu:Lr.quad[e]/18};for(var n in Lr)Lr.hasOwnProperty(n)&&(r[n]=Lr[n][e])}return Yn[e]}var zh=[[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]],Ti=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],Mi=function(e,r){return r.size<2?e:zh[e-1][r.size-1]};class Ut{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||Ut.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=Ti[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 n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return new Ut(r)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:Mi(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:Ti[e-1]})}havingBaseStyle(e){e=e||this.style.text();var r=Mi(Ut.BASESIZE,e);return this.size===r&&this.textSize===Ut.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!==Ut.BASESIZE?["sizing","reset-size"+this.size,"size"+Ut.BASESIZE]:[]}fontMetrics(){return this._fontMetrics||(this._fontMetrics=qh(this.size)),this._fontMetrics}getColor(){return this.phantom?"transparent":this.color}}Ut.BASESIZE=6;var za={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},Ch={ex:!0,em:!0,mu:!0},qo=function(e){return typeof e!="string"&&(e=e.unit),e in za||e in Ch||e==="ex"},De=function(e,r){var n;if(e.unit in za)n=za[e.unit]/r.fontMetrics().ptPerEm/r.sizeMultiplier;else if(e.unit==="mu")n=r.fontMetrics().cssEmPerMu;else{var a;if(r.style.isTight()?a=r.havingStyle(r.style.text()):a=r,e.unit==="ex")n=a.fontMetrics().xHeight;else if(e.unit==="em")n=a.fontMetrics().quad;else throw new P("Invalid unit: '"+e.unit+"'");a!==r&&(n*=a.sizeMultiplier/r.sizeMultiplier)}return Math.min(e.number*n,r.maxSize)},H=function(e){return+e.toFixed(4)+"em"},f0=function(e){return e.filter(r=>r).join(" ")},zo=function(e,r,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},r){r.style.isTight()&&this.classes.push("mtight");var a=r.getColor();a&&(this.style.color=a)}},Co=function(e){var r=document.createElement(e);r.className=f0(this.classes);for(var n in this.style)this.style.hasOwnProperty(n)&&(r.style[n]=this.style[n]);for(var a in this.attributes)this.attributes.hasOwnProperty(a)&&r.setAttribute(a,this.attributes[a]);for(var s=0;s",r};class zr{constructor(e,r,n,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.width=void 0,this.maxFontSize=void 0,this.style=void 0,zo.call(this,e,n,a),this.children=r||[]}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return Q.contains(this.classes,e)}toNode(){return Co.call(this,"span")}toMarkup(){return Eo.call(this,"span")}}class ms{constructor(e,r,n,a){this.children=void 0,this.attributes=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,zo.call(this,r,a),this.children=n||[],this.setAttribute("href",e)}setAttribute(e,r){this.attributes[e]=r}hasClass(e){return Q.contains(this.classes,e)}toNode(){return Co.call(this,"a")}toMarkup(){return Eo.call(this,"a")}}class Eh{constructor(e,r,n){this.src=void 0,this.alt=void 0,this.classes=void 0,this.height=void 0,this.depth=void 0,this.maxFontSize=void 0,this.style=void 0,this.alt=r,this.src=e,this.classes=["mord"],this.style=n}hasClass(e){return Q.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=''+Q.escape(this.alt)+'0&&(r=document.createElement("span"),r.style.marginRight=H(this.italic)),this.classes.length>0&&(r=r||document.createElement("span"),r.className=f0(this.classes));for(var n in this.style)this.style.hasOwnProperty(n)&&(r=r||document.createElement("span"),r.style[n]=this.style[n]);return r?(r.appendChild(e),r):e}toMarkup(){var e=!1,r="0&&(n+="margin-right:"+this.italic+"em;");for(var a in this.style)this.style.hasOwnProperty(a)&&(n+=Q.hyphenate(a)+":"+this.style[a]+";");n&&(e=!0,r+=' style="'+Q.escape(n)+'"');var s=Q.escape(this.text);return e?(r+=">",r+=s,r+="",r):s}}class Xt{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 n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);for(var a=0;a':''}}class Ca{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 n in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,n)&&r.setAttribute(n,this.attributes[n]);return r}toMarkup(){var e=" but got "+String(t)+".")}var Bh={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Nh={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},qe={math:{},text:{}};function o(t,e,r,n,a,s){qe[t][a]={font:e,group:r,replace:n},s&&n&&(qe[t][n]=qe[t][a])}var c="math",D="text",h="main",v="ams",Ce="accent-token",K="bin",et="close",K0="inner",re="mathord",Ie="op-token",ft="open",_n="punct",b="rel",Qt="spacing",x="textord";o(c,h,b,"≡","\\equiv",!0);o(c,h,b,"≺","\\prec",!0);o(c,h,b,"≻","\\succ",!0);o(c,h,b,"∼","\\sim",!0);o(c,h,b,"⊥","\\perp");o(c,h,b,"⪯","\\preceq",!0);o(c,h,b,"⪰","\\succeq",!0);o(c,h,b,"≃","\\simeq",!0);o(c,h,b,"∣","\\mid",!0);o(c,h,b,"≪","\\ll",!0);o(c,h,b,"≫","\\gg",!0);o(c,h,b,"≍","\\asymp",!0);o(c,h,b,"∥","\\parallel");o(c,h,b,"⋈","\\bowtie",!0);o(c,h,b,"⌣","\\smile",!0);o(c,h,b,"⊑","\\sqsubseteq",!0);o(c,h,b,"⊒","\\sqsupseteq",!0);o(c,h,b,"≐","\\doteq",!0);o(c,h,b,"⌢","\\frown",!0);o(c,h,b,"∋","\\ni",!0);o(c,h,b,"∝","\\propto",!0);o(c,h,b,"⊢","\\vdash",!0);o(c,h,b,"⊣","\\dashv",!0);o(c,h,b,"∋","\\owns");o(c,h,_n,".","\\ldotp");o(c,h,_n,"⋅","\\cdotp");o(c,h,x,"#","\\#");o(D,h,x,"#","\\#");o(c,h,x,"&","\\&");o(D,h,x,"&","\\&");o(c,h,x,"ℵ","\\aleph",!0);o(c,h,x,"∀","\\forall",!0);o(c,h,x,"ℏ","\\hbar",!0);o(c,h,x,"∃","\\exists",!0);o(c,h,x,"∇","\\nabla",!0);o(c,h,x,"♭","\\flat",!0);o(c,h,x,"ℓ","\\ell",!0);o(c,h,x,"♮","\\natural",!0);o(c,h,x,"♣","\\clubsuit",!0);o(c,h,x,"℘","\\wp",!0);o(c,h,x,"♯","\\sharp",!0);o(c,h,x,"♢","\\diamondsuit",!0);o(c,h,x,"ℜ","\\Re",!0);o(c,h,x,"♡","\\heartsuit",!0);o(c,h,x,"ℑ","\\Im",!0);o(c,h,x,"♠","\\spadesuit",!0);o(c,h,x,"§","\\S",!0);o(D,h,x,"§","\\S");o(c,h,x,"¶","\\P",!0);o(D,h,x,"¶","\\P");o(c,h,x,"†","\\dag");o(D,h,x,"†","\\dag");o(D,h,x,"†","\\textdagger");o(c,h,x,"‡","\\ddag");o(D,h,x,"‡","\\ddag");o(D,h,x,"‡","\\textdaggerdbl");o(c,h,et,"⎱","\\rmoustache",!0);o(c,h,ft,"⎰","\\lmoustache",!0);o(c,h,et,"⟯","\\rgroup",!0);o(c,h,ft,"⟮","\\lgroup",!0);o(c,h,K,"∓","\\mp",!0);o(c,h,K,"⊖","\\ominus",!0);o(c,h,K,"⊎","\\uplus",!0);o(c,h,K,"⊓","\\sqcap",!0);o(c,h,K,"∗","\\ast");o(c,h,K,"⊔","\\sqcup",!0);o(c,h,K,"◯","\\bigcirc",!0);o(c,h,K,"∙","\\bullet",!0);o(c,h,K,"‡","\\ddagger");o(c,h,K,"≀","\\wr",!0);o(c,h,K,"⨿","\\amalg");o(c,h,K,"&","\\And");o(c,h,b,"⟵","\\longleftarrow",!0);o(c,h,b,"⇐","\\Leftarrow",!0);o(c,h,b,"⟸","\\Longleftarrow",!0);o(c,h,b,"⟶","\\longrightarrow",!0);o(c,h,b,"⇒","\\Rightarrow",!0);o(c,h,b,"⟹","\\Longrightarrow",!0);o(c,h,b,"↔","\\leftrightarrow",!0);o(c,h,b,"⟷","\\longleftrightarrow",!0);o(c,h,b,"⇔","\\Leftrightarrow",!0);o(c,h,b,"⟺","\\Longleftrightarrow",!0);o(c,h,b,"↦","\\mapsto",!0);o(c,h,b,"⟼","\\longmapsto",!0);o(c,h,b,"↗","\\nearrow",!0);o(c,h,b,"↩","\\hookleftarrow",!0);o(c,h,b,"↪","\\hookrightarrow",!0);o(c,h,b,"↘","\\searrow",!0);o(c,h,b,"↼","\\leftharpoonup",!0);o(c,h,b,"⇀","\\rightharpoonup",!0);o(c,h,b,"↙","\\swarrow",!0);o(c,h,b,"↽","\\leftharpoondown",!0);o(c,h,b,"⇁","\\rightharpoondown",!0);o(c,h,b,"↖","\\nwarrow",!0);o(c,h,b,"⇌","\\rightleftharpoons",!0);o(c,v,b,"≮","\\nless",!0);o(c,v,b,"","\\@nleqslant");o(c,v,b,"","\\@nleqq");o(c,v,b,"⪇","\\lneq",!0);o(c,v,b,"≨","\\lneqq",!0);o(c,v,b,"","\\@lvertneqq");o(c,v,b,"⋦","\\lnsim",!0);o(c,v,b,"⪉","\\lnapprox",!0);o(c,v,b,"⊀","\\nprec",!0);o(c,v,b,"⋠","\\npreceq",!0);o(c,v,b,"⋨","\\precnsim",!0);o(c,v,b,"⪹","\\precnapprox",!0);o(c,v,b,"≁","\\nsim",!0);o(c,v,b,"","\\@nshortmid");o(c,v,b,"∤","\\nmid",!0);o(c,v,b,"⊬","\\nvdash",!0);o(c,v,b,"⊭","\\nvDash",!0);o(c,v,b,"⋪","\\ntriangleleft");o(c,v,b,"⋬","\\ntrianglelefteq",!0);o(c,v,b,"⊊","\\subsetneq",!0);o(c,v,b,"","\\@varsubsetneq");o(c,v,b,"⫋","\\subsetneqq",!0);o(c,v,b,"","\\@varsubsetneqq");o(c,v,b,"≯","\\ngtr",!0);o(c,v,b,"","\\@ngeqslant");o(c,v,b,"","\\@ngeqq");o(c,v,b,"⪈","\\gneq",!0);o(c,v,b,"≩","\\gneqq",!0);o(c,v,b,"","\\@gvertneqq");o(c,v,b,"⋧","\\gnsim",!0);o(c,v,b,"⪊","\\gnapprox",!0);o(c,v,b,"⊁","\\nsucc",!0);o(c,v,b,"⋡","\\nsucceq",!0);o(c,v,b,"⋩","\\succnsim",!0);o(c,v,b,"⪺","\\succnapprox",!0);o(c,v,b,"≆","\\ncong",!0);o(c,v,b,"","\\@nshortparallel");o(c,v,b,"∦","\\nparallel",!0);o(c,v,b,"⊯","\\nVDash",!0);o(c,v,b,"⋫","\\ntriangleright");o(c,v,b,"⋭","\\ntrianglerighteq",!0);o(c,v,b,"","\\@nsupseteqq");o(c,v,b,"⊋","\\supsetneq",!0);o(c,v,b,"","\\@varsupsetneq");o(c,v,b,"⫌","\\supsetneqq",!0);o(c,v,b,"","\\@varsupsetneqq");o(c,v,b,"⊮","\\nVdash",!0);o(c,v,b,"⪵","\\precneqq",!0);o(c,v,b,"⪶","\\succneqq",!0);o(c,v,b,"","\\@nsubseteqq");o(c,v,K,"⊴","\\unlhd");o(c,v,K,"⊵","\\unrhd");o(c,v,b,"↚","\\nleftarrow",!0);o(c,v,b,"↛","\\nrightarrow",!0);o(c,v,b,"⇍","\\nLeftarrow",!0);o(c,v,b,"⇏","\\nRightarrow",!0);o(c,v,b,"↮","\\nleftrightarrow",!0);o(c,v,b,"⇎","\\nLeftrightarrow",!0);o(c,v,b,"△","\\vartriangle");o(c,v,x,"ℏ","\\hslash");o(c,v,x,"▽","\\triangledown");o(c,v,x,"◊","\\lozenge");o(c,v,x,"Ⓢ","\\circledS");o(c,v,x,"®","\\circledR");o(D,v,x,"®","\\circledR");o(c,v,x,"∡","\\measuredangle",!0);o(c,v,x,"∄","\\nexists");o(c,v,x,"℧","\\mho");o(c,v,x,"Ⅎ","\\Finv",!0);o(c,v,x,"⅁","\\Game",!0);o(c,v,x,"‵","\\backprime");o(c,v,x,"▲","\\blacktriangle");o(c,v,x,"▼","\\blacktriangledown");o(c,v,x,"■","\\blacksquare");o(c,v,x,"⧫","\\blacklozenge");o(c,v,x,"★","\\bigstar");o(c,v,x,"∢","\\sphericalangle",!0);o(c,v,x,"∁","\\complement",!0);o(c,v,x,"ð","\\eth",!0);o(D,h,x,"ð","ð");o(c,v,x,"╱","\\diagup");o(c,v,x,"╲","\\diagdown");o(c,v,x,"□","\\square");o(c,v,x,"□","\\Box");o(c,v,x,"◊","\\Diamond");o(c,v,x,"¥","\\yen",!0);o(D,v,x,"¥","\\yen",!0);o(c,v,x,"✓","\\checkmark",!0);o(D,v,x,"✓","\\checkmark");o(c,v,x,"ℶ","\\beth",!0);o(c,v,x,"ℸ","\\daleth",!0);o(c,v,x,"ℷ","\\gimel",!0);o(c,v,x,"ϝ","\\digamma",!0);o(c,v,x,"ϰ","\\varkappa");o(c,v,ft,"┌","\\@ulcorner",!0);o(c,v,et,"┐","\\@urcorner",!0);o(c,v,ft,"└","\\@llcorner",!0);o(c,v,et,"┘","\\@lrcorner",!0);o(c,v,b,"≦","\\leqq",!0);o(c,v,b,"⩽","\\leqslant",!0);o(c,v,b,"⪕","\\eqslantless",!0);o(c,v,b,"≲","\\lesssim",!0);o(c,v,b,"⪅","\\lessapprox",!0);o(c,v,b,"≊","\\approxeq",!0);o(c,v,K,"⋖","\\lessdot");o(c,v,b,"⋘","\\lll",!0);o(c,v,b,"≶","\\lessgtr",!0);o(c,v,b,"⋚","\\lesseqgtr",!0);o(c,v,b,"⪋","\\lesseqqgtr",!0);o(c,v,b,"≑","\\doteqdot");o(c,v,b,"≓","\\risingdotseq",!0);o(c,v,b,"≒","\\fallingdotseq",!0);o(c,v,b,"∽","\\backsim",!0);o(c,v,b,"⋍","\\backsimeq",!0);o(c,v,b,"⫅","\\subseteqq",!0);o(c,v,b,"⋐","\\Subset",!0);o(c,v,b,"⊏","\\sqsubset",!0);o(c,v,b,"≼","\\preccurlyeq",!0);o(c,v,b,"⋞","\\curlyeqprec",!0);o(c,v,b,"≾","\\precsim",!0);o(c,v,b,"⪷","\\precapprox",!0);o(c,v,b,"⊲","\\vartriangleleft");o(c,v,b,"⊴","\\trianglelefteq");o(c,v,b,"⊨","\\vDash",!0);o(c,v,b,"⊪","\\Vvdash",!0);o(c,v,b,"⌣","\\smallsmile");o(c,v,b,"⌢","\\smallfrown");o(c,v,b,"≏","\\bumpeq",!0);o(c,v,b,"≎","\\Bumpeq",!0);o(c,v,b,"≧","\\geqq",!0);o(c,v,b,"⩾","\\geqslant",!0);o(c,v,b,"⪖","\\eqslantgtr",!0);o(c,v,b,"≳","\\gtrsim",!0);o(c,v,b,"⪆","\\gtrapprox",!0);o(c,v,K,"⋗","\\gtrdot");o(c,v,b,"⋙","\\ggg",!0);o(c,v,b,"≷","\\gtrless",!0);o(c,v,b,"⋛","\\gtreqless",!0);o(c,v,b,"⪌","\\gtreqqless",!0);o(c,v,b,"≖","\\eqcirc",!0);o(c,v,b,"≗","\\circeq",!0);o(c,v,b,"≜","\\triangleq",!0);o(c,v,b,"∼","\\thicksim");o(c,v,b,"≈","\\thickapprox");o(c,v,b,"⫆","\\supseteqq",!0);o(c,v,b,"⋑","\\Supset",!0);o(c,v,b,"⊐","\\sqsupset",!0);o(c,v,b,"≽","\\succcurlyeq",!0);o(c,v,b,"⋟","\\curlyeqsucc",!0);o(c,v,b,"≿","\\succsim",!0);o(c,v,b,"⪸","\\succapprox",!0);o(c,v,b,"⊳","\\vartriangleright");o(c,v,b,"⊵","\\trianglerighteq");o(c,v,b,"⊩","\\Vdash",!0);o(c,v,b,"∣","\\shortmid");o(c,v,b,"∥","\\shortparallel");o(c,v,b,"≬","\\between",!0);o(c,v,b,"⋔","\\pitchfork",!0);o(c,v,b,"∝","\\varpropto");o(c,v,b,"◀","\\blacktriangleleft");o(c,v,b,"∴","\\therefore",!0);o(c,v,b,"∍","\\backepsilon");o(c,v,b,"▶","\\blacktriangleright");o(c,v,b,"∵","\\because",!0);o(c,v,b,"⋘","\\llless");o(c,v,b,"⋙","\\gggtr");o(c,v,K,"⊲","\\lhd");o(c,v,K,"⊳","\\rhd");o(c,v,b,"≂","\\eqsim",!0);o(c,h,b,"⋈","\\Join");o(c,v,b,"≑","\\Doteq",!0);o(c,v,K,"∔","\\dotplus",!0);o(c,v,K,"∖","\\smallsetminus");o(c,v,K,"⋒","\\Cap",!0);o(c,v,K,"⋓","\\Cup",!0);o(c,v,K,"⩞","\\doublebarwedge",!0);o(c,v,K,"⊟","\\boxminus",!0);o(c,v,K,"⊞","\\boxplus",!0);o(c,v,K,"⋇","\\divideontimes",!0);o(c,v,K,"⋉","\\ltimes",!0);o(c,v,K,"⋊","\\rtimes",!0);o(c,v,K,"⋋","\\leftthreetimes",!0);o(c,v,K,"⋌","\\rightthreetimes",!0);o(c,v,K,"⋏","\\curlywedge",!0);o(c,v,K,"⋎","\\curlyvee",!0);o(c,v,K,"⊝","\\circleddash",!0);o(c,v,K,"⊛","\\circledast",!0);o(c,v,K,"⋅","\\centerdot");o(c,v,K,"⊺","\\intercal",!0);o(c,v,K,"⋒","\\doublecap");o(c,v,K,"⋓","\\doublecup");o(c,v,K,"⊠","\\boxtimes",!0);o(c,v,b,"⇢","\\dashrightarrow",!0);o(c,v,b,"⇠","\\dashleftarrow",!0);o(c,v,b,"⇇","\\leftleftarrows",!0);o(c,v,b,"⇆","\\leftrightarrows",!0);o(c,v,b,"⇚","\\Lleftarrow",!0);o(c,v,b,"↞","\\twoheadleftarrow",!0);o(c,v,b,"↢","\\leftarrowtail",!0);o(c,v,b,"↫","\\looparrowleft",!0);o(c,v,b,"⇋","\\leftrightharpoons",!0);o(c,v,b,"↶","\\curvearrowleft",!0);o(c,v,b,"↺","\\circlearrowleft",!0);o(c,v,b,"↰","\\Lsh",!0);o(c,v,b,"⇈","\\upuparrows",!0);o(c,v,b,"↿","\\upharpoonleft",!0);o(c,v,b,"⇃","\\downharpoonleft",!0);o(c,h,b,"⊶","\\origof",!0);o(c,h,b,"⊷","\\imageof",!0);o(c,v,b,"⊸","\\multimap",!0);o(c,v,b,"↭","\\leftrightsquigarrow",!0);o(c,v,b,"⇉","\\rightrightarrows",!0);o(c,v,b,"⇄","\\rightleftarrows",!0);o(c,v,b,"↠","\\twoheadrightarrow",!0);o(c,v,b,"↣","\\rightarrowtail",!0);o(c,v,b,"↬","\\looparrowright",!0);o(c,v,b,"↷","\\curvearrowright",!0);o(c,v,b,"↻","\\circlearrowright",!0);o(c,v,b,"↱","\\Rsh",!0);o(c,v,b,"⇊","\\downdownarrows",!0);o(c,v,b,"↾","\\upharpoonright",!0);o(c,v,b,"⇂","\\downharpoonright",!0);o(c,v,b,"⇝","\\rightsquigarrow",!0);o(c,v,b,"⇝","\\leadsto");o(c,v,b,"⇛","\\Rrightarrow",!0);o(c,v,b,"↾","\\restriction");o(c,h,x,"‘","`");o(c,h,x,"$","\\$");o(D,h,x,"$","\\$");o(D,h,x,"$","\\textdollar");o(c,h,x,"%","\\%");o(D,h,x,"%","\\%");o(c,h,x,"_","\\_");o(D,h,x,"_","\\_");o(D,h,x,"_","\\textunderscore");o(c,h,x,"∠","\\angle",!0);o(c,h,x,"∞","\\infty",!0);o(c,h,x,"′","\\prime");o(c,h,x,"△","\\triangle");o(c,h,x,"Γ","\\Gamma",!0);o(c,h,x,"Δ","\\Delta",!0);o(c,h,x,"Θ","\\Theta",!0);o(c,h,x,"Λ","\\Lambda",!0);o(c,h,x,"Ξ","\\Xi",!0);o(c,h,x,"Π","\\Pi",!0);o(c,h,x,"Σ","\\Sigma",!0);o(c,h,x,"Υ","\\Upsilon",!0);o(c,h,x,"Φ","\\Phi",!0);o(c,h,x,"Ψ","\\Psi",!0);o(c,h,x,"Ω","\\Omega",!0);o(c,h,x,"A","Α");o(c,h,x,"B","Β");o(c,h,x,"E","Ε");o(c,h,x,"Z","Ζ");o(c,h,x,"H","Η");o(c,h,x,"I","Ι");o(c,h,x,"K","Κ");o(c,h,x,"M","Μ");o(c,h,x,"N","Ν");o(c,h,x,"O","Ο");o(c,h,x,"P","Ρ");o(c,h,x,"T","Τ");o(c,h,x,"X","Χ");o(c,h,x,"¬","\\neg",!0);o(c,h,x,"¬","\\lnot");o(c,h,x,"⊤","\\top");o(c,h,x,"⊥","\\bot");o(c,h,x,"∅","\\emptyset");o(c,v,x,"∅","\\varnothing");o(c,h,re,"α","\\alpha",!0);o(c,h,re,"β","\\beta",!0);o(c,h,re,"γ","\\gamma",!0);o(c,h,re,"δ","\\delta",!0);o(c,h,re,"ϵ","\\epsilon",!0);o(c,h,re,"ζ","\\zeta",!0);o(c,h,re,"η","\\eta",!0);o(c,h,re,"θ","\\theta",!0);o(c,h,re,"ι","\\iota",!0);o(c,h,re,"κ","\\kappa",!0);o(c,h,re,"λ","\\lambda",!0);o(c,h,re,"μ","\\mu",!0);o(c,h,re,"ν","\\nu",!0);o(c,h,re,"ξ","\\xi",!0);o(c,h,re,"ο","\\omicron",!0);o(c,h,re,"π","\\pi",!0);o(c,h,re,"ρ","\\rho",!0);o(c,h,re,"σ","\\sigma",!0);o(c,h,re,"τ","\\tau",!0);o(c,h,re,"υ","\\upsilon",!0);o(c,h,re,"ϕ","\\phi",!0);o(c,h,re,"χ","\\chi",!0);o(c,h,re,"ψ","\\psi",!0);o(c,h,re,"ω","\\omega",!0);o(c,h,re,"ε","\\varepsilon",!0);o(c,h,re,"ϑ","\\vartheta",!0);o(c,h,re,"ϖ","\\varpi",!0);o(c,h,re,"ϱ","\\varrho",!0);o(c,h,re,"ς","\\varsigma",!0);o(c,h,re,"φ","\\varphi",!0);o(c,h,K,"∗","*",!0);o(c,h,K,"+","+");o(c,h,K,"−","-",!0);o(c,h,K,"⋅","\\cdot",!0);o(c,h,K,"∘","\\circ",!0);o(c,h,K,"÷","\\div",!0);o(c,h,K,"±","\\pm",!0);o(c,h,K,"×","\\times",!0);o(c,h,K,"∩","\\cap",!0);o(c,h,K,"∪","\\cup",!0);o(c,h,K,"∖","\\setminus",!0);o(c,h,K,"∧","\\land");o(c,h,K,"∨","\\lor");o(c,h,K,"∧","\\wedge",!0);o(c,h,K,"∨","\\vee",!0);o(c,h,x,"√","\\surd");o(c,h,ft,"⟨","\\langle",!0);o(c,h,ft,"∣","\\lvert");o(c,h,ft,"∥","\\lVert");o(c,h,et,"?","?");o(c,h,et,"!","!");o(c,h,et,"⟩","\\rangle",!0);o(c,h,et,"∣","\\rvert");o(c,h,et,"∥","\\rVert");o(c,h,b,"=","=");o(c,h,b,":",":");o(c,h,b,"≈","\\approx",!0);o(c,h,b,"≅","\\cong",!0);o(c,h,b,"≥","\\ge");o(c,h,b,"≥","\\geq",!0);o(c,h,b,"←","\\gets");o(c,h,b,">","\\gt",!0);o(c,h,b,"∈","\\in",!0);o(c,h,b,"","\\@not");o(c,h,b,"⊂","\\subset",!0);o(c,h,b,"⊃","\\supset",!0);o(c,h,b,"⊆","\\subseteq",!0);o(c,h,b,"⊇","\\supseteq",!0);o(c,v,b,"⊈","\\nsubseteq",!0);o(c,v,b,"⊉","\\nsupseteq",!0);o(c,h,b,"⊨","\\models");o(c,h,b,"←","\\leftarrow",!0);o(c,h,b,"≤","\\le");o(c,h,b,"≤","\\leq",!0);o(c,h,b,"<","\\lt",!0);o(c,h,b,"→","\\rightarrow",!0);o(c,h,b,"→","\\to");o(c,v,b,"≱","\\ngeq",!0);o(c,v,b,"≰","\\nleq",!0);o(c,h,Qt," ","\\ ");o(c,h,Qt," ","\\space");o(c,h,Qt," ","\\nobreakspace");o(D,h,Qt," ","\\ ");o(D,h,Qt," "," ");o(D,h,Qt," ","\\space");o(D,h,Qt," ","\\nobreakspace");o(c,h,Qt,null,"\\nobreak");o(c,h,Qt,null,"\\allowbreak");o(c,h,_n,",",",");o(c,h,_n,";",";");o(c,v,K,"⊼","\\barwedge",!0);o(c,v,K,"⊻","\\veebar",!0);o(c,h,K,"⊙","\\odot",!0);o(c,h,K,"⊕","\\oplus",!0);o(c,h,K,"⊗","\\otimes",!0);o(c,h,x,"∂","\\partial",!0);o(c,h,K,"⊘","\\oslash",!0);o(c,v,K,"⊚","\\circledcirc",!0);o(c,v,K,"⊡","\\boxdot",!0);o(c,h,K,"△","\\bigtriangleup");o(c,h,K,"▽","\\bigtriangledown");o(c,h,K,"†","\\dagger");o(c,h,K,"⋄","\\diamond");o(c,h,K,"⋆","\\star");o(c,h,K,"◃","\\triangleleft");o(c,h,K,"▹","\\triangleright");o(c,h,ft,"{","\\{");o(D,h,x,"{","\\{");o(D,h,x,"{","\\textbraceleft");o(c,h,et,"}","\\}");o(D,h,x,"}","\\}");o(D,h,x,"}","\\textbraceright");o(c,h,ft,"{","\\lbrace");o(c,h,et,"}","\\rbrace");o(c,h,ft,"[","\\lbrack",!0);o(D,h,x,"[","\\lbrack",!0);o(c,h,et,"]","\\rbrack",!0);o(D,h,x,"]","\\rbrack",!0);o(c,h,ft,"(","\\lparen",!0);o(c,h,et,")","\\rparen",!0);o(D,h,x,"<","\\textless",!0);o(D,h,x,">","\\textgreater",!0);o(c,h,ft,"⌊","\\lfloor",!0);o(c,h,et,"⌋","\\rfloor",!0);o(c,h,ft,"⌈","\\lceil",!0);o(c,h,et,"⌉","\\rceil",!0);o(c,h,x,"\\","\\backslash");o(c,h,x,"∣","|");o(c,h,x,"∣","\\vert");o(D,h,x,"|","\\textbar",!0);o(c,h,x,"∥","\\|");o(c,h,x,"∥","\\Vert");o(D,h,x,"∥","\\textbardbl");o(D,h,x,"~","\\textasciitilde");o(D,h,x,"\\","\\textbackslash");o(D,h,x,"^","\\textasciicircum");o(c,h,b,"↑","\\uparrow",!0);o(c,h,b,"⇑","\\Uparrow",!0);o(c,h,b,"↓","\\downarrow",!0);o(c,h,b,"⇓","\\Downarrow",!0);o(c,h,b,"↕","\\updownarrow",!0);o(c,h,b,"⇕","\\Updownarrow",!0);o(c,h,Ie,"∐","\\coprod");o(c,h,Ie,"⋁","\\bigvee");o(c,h,Ie,"⋀","\\bigwedge");o(c,h,Ie,"⨄","\\biguplus");o(c,h,Ie,"⋂","\\bigcap");o(c,h,Ie,"⋃","\\bigcup");o(c,h,Ie,"∫","\\int");o(c,h,Ie,"∫","\\intop");o(c,h,Ie,"∬","\\iint");o(c,h,Ie,"∭","\\iiint");o(c,h,Ie,"∏","\\prod");o(c,h,Ie,"∑","\\sum");o(c,h,Ie,"⨂","\\bigotimes");o(c,h,Ie,"⨁","\\bigoplus");o(c,h,Ie,"⨀","\\bigodot");o(c,h,Ie,"∮","\\oint");o(c,h,Ie,"∯","\\oiint");o(c,h,Ie,"∰","\\oiiint");o(c,h,Ie,"⨆","\\bigsqcup");o(c,h,Ie,"∫","\\smallint");o(D,h,K0,"…","\\textellipsis");o(c,h,K0,"…","\\mathellipsis");o(D,h,K0,"…","\\ldots",!0);o(c,h,K0,"…","\\ldots",!0);o(c,h,K0,"⋯","\\@cdots",!0);o(c,h,K0,"⋱","\\ddots",!0);o(c,h,x,"⋮","\\varvdots");o(c,h,Ce,"ˊ","\\acute");o(c,h,Ce,"ˋ","\\grave");o(c,h,Ce,"¨","\\ddot");o(c,h,Ce,"~","\\tilde");o(c,h,Ce,"ˉ","\\bar");o(c,h,Ce,"˘","\\breve");o(c,h,Ce,"ˇ","\\check");o(c,h,Ce,"^","\\hat");o(c,h,Ce,"⃗","\\vec");o(c,h,Ce,"˙","\\dot");o(c,h,Ce,"˚","\\mathring");o(c,h,re,"","\\@imath");o(c,h,re,"","\\@jmath");o(c,h,x,"ı","ı");o(c,h,x,"ȷ","ȷ");o(D,h,x,"ı","\\i",!0);o(D,h,x,"ȷ","\\j",!0);o(D,h,x,"ß","\\ss",!0);o(D,h,x,"æ","\\ae",!0);o(D,h,x,"œ","\\oe",!0);o(D,h,x,"ø","\\o",!0);o(D,h,x,"Æ","\\AE",!0);o(D,h,x,"Œ","\\OE",!0);o(D,h,x,"Ø","\\O",!0);o(D,h,Ce,"ˊ","\\'");o(D,h,Ce,"ˋ","\\`");o(D,h,Ce,"ˆ","\\^");o(D,h,Ce,"˜","\\~");o(D,h,Ce,"ˉ","\\=");o(D,h,Ce,"˘","\\u");o(D,h,Ce,"˙","\\.");o(D,h,Ce,"¸","\\c");o(D,h,Ce,"˚","\\r");o(D,h,Ce,"ˇ","\\v");o(D,h,Ce,"¨",'\\"');o(D,h,Ce,"˝","\\H");o(D,h,Ce,"◯","\\textcircled");var _o={"--":!0,"---":!0,"``":!0,"''":!0};o(D,h,x,"–","--",!0);o(D,h,x,"–","\\textendash");o(D,h,x,"—","---",!0);o(D,h,x,"—","\\textemdash");o(D,h,x,"‘","`",!0);o(D,h,x,"‘","\\textquoteleft");o(D,h,x,"’","'",!0);o(D,h,x,"’","\\textquoteright");o(D,h,x,"“","``",!0);o(D,h,x,"“","\\textquotedblleft");o(D,h,x,"”","''",!0);o(D,h,x,"”","\\textquotedblright");o(c,h,x,"°","\\degree",!0);o(D,h,x,"°","\\degree");o(D,h,x,"°","\\textdegree",!0);o(c,h,x,"£","\\pounds");o(c,h,x,"£","\\mathsterling",!0);o(D,h,x,"£","\\pounds");o(D,h,x,"£","\\textsterling",!0);o(c,v,x,"✠","\\maltese");o(D,v,x,"✠","\\maltese");var qi='0123456789/@."';for(var Zn=0;Zn0)return Tt(s,f,a,r,i.concat(d));if(u){var p,g;if(u==="boldsymbol"){var w=Ih(s,a,r,i,n);p=w.fontName,g=[w.fontClass]}else l?(p=No[u].fontName,g=[u]):(p=Ur(u,r.fontWeight,r.fontShape),g=[u,r.fontWeight,r.fontShape]);if(Dn(s,p,a).metrics)return Tt(s,p,a,r,i.concat(g));if(_o.hasOwnProperty(s)&&p.slice(0,10)==="Typewriter"){for(var A=[],q=0;q{if(f0(t.classes)!==f0(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 n in t.style)if(t.style.hasOwnProperty(n)&&t.style[n]!==e.style[n])return!1;for(var a in e.style)if(e.style.hasOwnProperty(a)&&t.style[a]!==e.style[a])return!1;return!0},Lh=t=>{for(var e=0;er&&(r=i.height),i.depth>n&&(n=i.depth),i.maxFontSize>a&&(a=i.maxFontSize)}e.height=r,e.depth=n,e.maxFontSize=a},tt=function(e,r,n,a){var s=new zr(e,r,n,a);return ps(s),s},Do=(t,e,r,n)=>new zr(t,e,r,n),Fh=function(e,r,n){var a=tt([e],[],r);return a.height=Math.max(n||r.fontMetrics().defaultRuleThickness,r.minRuleThickness),a.style.borderBottomWidth=H(a.height),a.maxFontSize=1,a},$h=function(e,r,n,a){var s=new ms(e,r,n,a);return ps(s),s},Bo=function(e){var r=new qr(e);return ps(r),r},Vh=function(e,r){return e instanceof qr?tt([],[e],r):e},Uh=function(e){if(e.positionType==="individualShift"){for(var r=e.children,n=[r[0]],a=-r[0].shift-r[0].elem.depth,s=a,i=1;i{var r=tt(["mspace"],[],e),n=De(t,e);return r.style.marginRight=H(n),r},Ur=function(e,r,n){var a="";switch(e){case"amsrm":a="AMS";break;case"textrm":a="Main";break;case"textsf":a="SansSerif";break;case"texttt":a="Typewriter";break;default:a=e}var s;return r==="textbf"&&n==="textit"?s="BoldItalic":r==="textbf"?s="Bold":r==="textit"?s="Italic":s="Regular",a+"-"+s},No={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"}},Oo={vec:["vec",.471,.714],oiintSize1:["oiintSize1",.957,.499],oiintSize2:["oiintSize2",1.472,.659],oiiintSize1:["oiiintSize1",1.304,.499],oiiintSize2:["oiiintSize2",1.98,.659]},jh=function(e,r){var[n,a,s]=Oo[e],i=new d0(n),l=new Xt([i],{width:H(a),height:H(s),style:"width:"+H(a),viewBox:"0 0 "+1e3*a+" "+1e3*s,preserveAspectRatio:"xMinYMin"}),u=Do(["overlay"],[l],r);return u.height=s,u.style.height=H(s),u.style.width=H(a),u},T={fontMap:No,makeSymbol:Tt,mathsym:Rh,makeSpan:tt,makeSvgSpan:Do,makeLineSpan:Fh,makeAnchor:$h,makeFragment:Bo,wrapFragment:Vh,makeVList:Gh,makeOrd:Ph,makeGlue:Wh,staticSvg:jh,svgData:Oo,tryCombineChars:Lh},_e={number:3,unit:"mu"},x0={number:4,unit:"mu"},$t={number:5,unit:"mu"},Kh={mord:{mop:_e,mbin:x0,mrel:$t,minner:_e},mop:{mord:_e,mop:_e,mrel:$t,minner:_e},mbin:{mord:x0,mop:x0,mopen:x0,minner:x0},mrel:{mord:$t,mop:$t,mopen:$t,minner:$t},mopen:{},mclose:{mop:_e,mbin:x0,mrel:$t,minner:_e},mpunct:{mord:_e,mop:_e,mrel:$t,mopen:_e,mclose:_e,mpunct:_e,minner:_e},minner:{mord:_e,mop:_e,mbin:x0,mrel:$t,mopen:_e,mpunct:_e,minner:_e}},Xh={mord:{mop:_e},mop:{mord:_e,mop:_e},mbin:{},mrel:{},mopen:{},mclose:{mop:_e},mpunct:{},minner:{mop:_e}},Ro={},gn={},vn={};function U(t){for(var{type:e,names:r,props:n,handler:a,htmlBuilder:s,mathmlBuilder:i}=t,l={type:e,numArgs:n.numArgs,argTypes:n.argTypes,allowedInArgument:!!n.allowedInArgument,allowedInText:!!n.allowedInText,allowedInMath:n.allowedInMath===void 0?!0:n.allowedInMath,numOptionalArgs:n.numOptionalArgs||0,infix:!!n.infix,primitive:!!n.primitive,handler:a},u=0;u{var E=q.classes[0],C=A.classes[0];E==="mbin"&&Q.contains(Zh,C)?q.classes[0]="mord":C==="mbin"&&Q.contains(Yh,E)&&(A.classes[0]="mord")},{node:p},g,w),Di(s,(A,q)=>{var E=_a(q),C=_a(A),L=E&&C?A.hasClass("mtight")?Xh[E][C]:Kh[E][C]:null;if(L)return T.makeGlue(L,f)},{node:p},g,w),s},Di=function t(e,r,n,a,s){a&&e.push(a);for(var i=0;ig=>{e.splice(p+1,0,g),i++})(i)}a&&e.pop()},Io=function(e){return e instanceof qr||e instanceof ms||e instanceof zr&&e.hasClass("enclosing")?e:null},e2=function t(e,r){var n=Io(e);if(n){var a=n.children;if(a.length){if(r==="right")return t(a[a.length-1],"right");if(r==="left")return t(a[0],"left")}}return e},_a=function(e,r){return e?(r&&(e=e2(e,r)),Qh[e.classes[0]]||null):null},xr=function(e,r){var n=["nulldelimiter"].concat(e.baseSizingClasses());return Yt(r.concat(n))},pe=function(e,r,n){if(!e)return Yt();if(gn[e.type]){var a=gn[e.type](e,r);if(n&&r.size!==n.size){a=Yt(r.sizingClasses(n),[a],r);var s=r.sizeMultiplier/n.sizeMultiplier;a.height*=s,a.depth*=s}return a}else throw new P("Got group of unknown type: '"+e.type+"'")};function Gr(t,e){var r=Yt(["base"],t,e),n=Yt(["strut"]);return n.style.height=H(r.height+r.depth),r.depth&&(n.style.verticalAlign=H(-r.depth)),r.children.unshift(n),r}function Da(t,e){var r=null;t.length===1&&t[0].type==="tag"&&(r=t[0].tag,t=t[0].body);var n=He(t,e,"root"),a;n.length===2&&n[1].hasClass("tag")&&(a=n.pop());for(var s=[],i=[],l=0;l0&&(s.push(Gr(i,e)),i=[]),s.push(n[l]));i.length>0&&s.push(Gr(i,e));var f;r?(f=Gr(He(r,e,!0)),f.classes=["tag"],s.push(f)):a&&s.push(a);var d=Yt(["katex-html"],s);if(d.setAttribute("aria-hidden","true"),f){var p=f.children[0];p.style.height=H(d.height+d.depth),d.depth&&(p.style.verticalAlign=H(-d.depth))}return d}function Po(t){return new qr(t)}class vt{constructor(e,r,n){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=n||[]}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=f0(this.classes));for(var n=0;n0&&(e+=' class ="'+Q.escape(f0(this.classes))+'"'),e+=">";for(var n=0;n",e}toText(){return this.children.map(e=>e.toText()).join("")}}class fr{constructor(e){this.text=void 0,this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return Q.escape(this.toText())}toText(){return this.text}}class t2{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",H(this.width)),e}toMarkup(){return this.character?""+this.character+"":''}toText(){return this.character?this.character:" "}}var O={MathNode:vt,TextNode:fr,SpaceNode:t2,newDocumentFragment:Po},wt=function(e,r,n){return qe[r][e]&&qe[r][e].replace&&e.charCodeAt(0)!==55349&&!(_o.hasOwnProperty(e)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)==="tt"||n.font&&n.font.slice(4,6)==="tt"))&&(e=qe[r][e].replace),new O.TextNode(e)},gs=function(e){return e.length===1?e[0]:new O.MathNode("mrow",e)},vs=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 n=r.font;if(!n||n==="mathnormal")return null;var a=e.mode;if(n==="mathit")return"italic";if(n==="boldsymbol")return e.type==="textord"?"bold":"bold-italic";if(n==="mathbf")return"bold";if(n==="mathbb")return"double-struck";if(n==="mathfrak")return"fraktur";if(n==="mathscr"||n==="mathcal")return"script";if(n==="mathsf")return"sans-serif";if(n==="mathtt")return"monospace";var s=e.text;if(Q.contains(["\\imath","\\jmath"],s))return null;qe[a][s]&&qe[a][s].replace&&(s=qe[a][s].replace);var i=T.fontMap[n].fontName;return ds(s,i,a)?T.fontMap[n].variant:null},rt=function(e,r,n){if(e.length===1){var a=Te(e[0],r);return n&&a instanceof vt&&a.type==="mo"&&(a.setAttribute("lspace","0em"),a.setAttribute("rspace","0em")),[a]}for(var s=[],i,l=0;l0&&(p.text=p.text.slice(0,1)+"̸"+p.text.slice(1),s.pop())}}}s.push(u),i=u}return s},m0=function(e,r,n){return gs(rt(e,r,n))},Te=function(e,r){if(!e)return new O.MathNode("mrow");if(vn[e.type]){var n=vn[e.type](e,r);return n}else throw new P("Got group of unknown type: '"+e.type+"'")};function Bi(t,e,r,n,a){var s=rt(t,r),i;s.length===1&&s[0]instanceof vt&&Q.contains(["mrow","mtable"],s[0].type)?i=s[0]:i=new O.MathNode("mrow",s);var l=new O.MathNode("annotation",[new O.TextNode(e)]);l.setAttribute("encoding","application/x-tex");var u=new O.MathNode("semantics",[i,l]),f=new O.MathNode("math",[u]);f.setAttribute("xmlns","http://www.w3.org/1998/Math/MathML"),n&&f.setAttribute("display","block");var d=a?"katex":"katex-mathml";return T.makeSpan([d],[f])}var Ho=function(e){return new Ut({style:e.displayMode?ne.DISPLAY:ne.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},Lo=function(e,r){if(r.displayMode){var n=["katex-display"];r.leqno&&n.push("leqno"),r.fleqn&&n.push("fleqn"),e=T.makeSpan(n,[e])}return e},r2=function(e,r,n){var a=Ho(n),s;if(n.output==="mathml")return Bi(e,r,a,n.displayMode,!0);if(n.output==="html"){var i=Da(e,a);s=T.makeSpan(["katex"],[i])}else{var l=Bi(e,r,a,n.displayMode,!1),u=Da(e,a);s=T.makeSpan(["katex"],[l,u])}return Lo(s,n)},n2=function(e,r,n){var a=Ho(n),s=Da(e,a),i=T.makeSpan(["katex"],[s]);return Lo(i,n)},a2={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":"="},s2=function(e){var r=new O.MathNode("mo",[new O.TextNode(a2[e.replace(/^\\/,"")])]);return r.setAttribute("stretchy","true"),r},i2={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]},l2=function(e){return e.type==="ordgroup"?e.body.length:1},o2=function(e,r){function n(){var l=4e5,u=e.label.slice(1);if(Q.contains(["widehat","widecheck","widetilde","utilde"],u)){var f=e,d=l2(f.base),p,g,w;if(d>5)u==="widehat"||u==="widecheck"?(p=420,l=2364,w=.42,g=u+"4"):(p=312,l=2340,w=.34,g="tilde4");else{var A=[1,1,2,2,3,3][d];u==="widehat"||u==="widecheck"?(l=[0,1062,2364,2364,2364][A],p=[0,239,300,360,420][A],w=[0,.24,.3,.3,.36,.42][A],g=u+A):(l=[0,600,1033,2339,2340][A],p=[0,260,286,306,312][A],w=[0,.26,.286,.3,.306,.34][A],g="tilde"+A)}var q=new d0(g),E=new Xt([q],{width:"100%",height:H(w),viewBox:"0 0 "+l+" "+p,preserveAspectRatio:"none"});return{span:T.makeSvgSpan([],[E],r),minWidth:0,height:w}}else{var C=[],L=i2[u],[S,M,N]=L,G=N/1e3,W=S.length,ee,Y;if(W===1){var te=L[3];ee=["hide-tail"],Y=[te]}else if(W===2)ee=["halfarrow-left","halfarrow-right"],Y=["xMinYMin","xMaxYMin"];else if(W===3)ee=["brace-left","brace-center","brace-right"],Y=["xMinYMin","xMidYMin","xMaxYMin"];else throw new Error(`Correct katexImagesData or update code here to support + `+W+" children.");for(var de=0;de0&&(a.style.minWidth=H(s)),a},u2=function(e,r,n,a,s){var i,l=e.height+e.depth+n+a;if(/fbox|color|angl/.test(r)){if(i=T.makeSpan(["stretchy",r],[],s),r==="fbox"){var u=s.color&&s.getColor();u&&(i.style.borderColor=u)}}else{var f=[];/^[bx]cancel$/.test(r)&&f.push(new Ca({x1:"0",y1:"0",x2:"100%",y2:"100%","stroke-width":"0.046em"})),/^x?cancel$/.test(r)&&f.push(new Ca({x1:"0",y1:"100%",x2:"100%",y2:"0","stroke-width":"0.046em"}));var d=new Xt(f,{width:"100%",height:H(l)});i=T.makeSvgSpan([],[d],s)}return i.height=l,i.style.height=H(l),i},Zt={encloseSpan:u2,mathMLnode:s2,svgSpan:o2};function fe(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 bs(t){var e=Bn(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 Bn(t){return t&&(t.type==="atom"||Nh.hasOwnProperty(t.type))?t:null}var ys=(t,e)=>{var r,n,a;t&&t.type==="supsub"?(n=fe(t.base,"accent"),r=n.base,t.base=r,a=Dh(pe(t,e)),t.base=n):(n=fe(t,"accent"),r=n.base);var s=pe(r,e.havingCrampedStyle()),i=n.isShifty&&Q.isCharacterBox(r),l=0;if(i){var u=Q.getBaseElem(r),f=pe(u,e.havingCrampedStyle());l=Ai(f).skew}var d=n.label==="\\c",p=d?s.height+s.depth:Math.min(s.height,e.fontMetrics().xHeight),g;if(n.isStretchy)g=Zt.svgSpan(n,e),g=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"elem",elem:g,wrapperClasses:["svg-align"],wrapperStyle:l>0?{width:"calc(100% - "+H(2*l)+")",marginLeft:H(2*l)}:void 0}]},e);else{var w,A;n.label==="\\vec"?(w=T.staticSvg("vec",e),A=T.svgData.vec[1]):(w=T.makeOrd({mode:n.mode,text:n.label},e,"textord"),w=Ai(w),w.italic=0,A=w.width,d&&(p+=w.depth)),g=T.makeSpan(["accent-body"],[w]);var q=n.label==="\\textcircled";q&&(g.classes.push("accent-full"),p=s.height);var E=l;q||(E-=A/2),g.style.left=H(E),n.label==="\\textcircled"&&(g.style.top=".2em"),g=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:-p},{type:"elem",elem:g}]},e)}var C=T.makeSpan(["mord","accent"],[g],e);return a?(a.children[0]=C,a.height=Math.max(C.height,a.height),a.classes[0]="mord",a):C},Fo=(t,e)=>{var r=t.isStretchy?Zt.mathMLnode(t.label):new O.MathNode("mo",[wt(t.label,t.mode)]),n=new O.MathNode("mover",[Te(t.base,e),r]);return n.setAttribute("accent","true"),n},c2=new RegExp(["\\acute","\\grave","\\ddot","\\tilde","\\bar","\\breve","\\check","\\hat","\\vec","\\dot","\\mathring"].map(t=>"\\"+t).join("|"));U({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=bn(e[0]),n=!c2.test(t.funcName),a=!n||t.funcName==="\\widehat"||t.funcName==="\\widetilde"||t.funcName==="\\widecheck";return{type:"accent",mode:t.parser.mode,label:t.funcName,isStretchy:n,isShifty:a,base:r}},htmlBuilder:ys,mathmlBuilder:Fo});U({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],n=t.parser.mode;return n==="math"&&(t.parser.settings.reportNonstrict("mathVsTextAccents","LaTeX's accent "+t.funcName+" works only in text mode"),n="text"),{type:"accent",mode:n,label:t.funcName,isStretchy:!1,isShifty:!0,base:r}},htmlBuilder:ys,mathmlBuilder:Fo});U({type:"accentUnder",names:["\\underleftarrow","\\underrightarrow","\\underleftrightarrow","\\undergroup","\\underlinesegment","\\utilde"],props:{numArgs:1},handler:(t,e)=>{var{parser:r,funcName:n}=t,a=e[0];return{type:"accentUnder",mode:r.mode,label:n,base:a}},htmlBuilder:(t,e)=>{var r=pe(t.base,e),n=Zt.svgSpan(t,e),a=t.label==="\\utilde"?.12:0,s=T.makeVList({positionType:"top",positionData:r.height,children:[{type:"elem",elem:n,wrapperClasses:["svg-align"]},{type:"kern",size:a},{type:"elem",elem:r}]},e);return T.makeSpan(["mord","accentunder"],[s],e)},mathmlBuilder:(t,e)=>{var r=Zt.mathMLnode(t.label),n=new O.MathNode("munder",[Te(t.base,e),r]);return n.setAttribute("accentunder","true"),n}});var Wr=t=>{var e=new O.MathNode("mpadded",t?[t]:[]);return e.setAttribute("width","+0.6em"),e.setAttribute("lspace","0.3em"),e};U({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:n,funcName:a}=t;return{type:"xArrow",mode:n.mode,label:a,body:e[0],below:r[0]}},htmlBuilder(t,e){var r=e.style,n=e.havingStyle(r.sup()),a=T.wrapFragment(pe(t.body,n,e),e),s=t.label.slice(0,2)==="\\x"?"x":"cd";a.classes.push(s+"-arrow-pad");var i;t.below&&(n=e.havingStyle(r.sub()),i=T.wrapFragment(pe(t.below,n,e),e),i.classes.push(s+"-arrow-pad"));var l=Zt.svgSpan(t,e),u=-e.fontMetrics().axisHeight+.5*l.height,f=-e.fontMetrics().axisHeight-.5*l.height-.111;(a.depth>.25||t.label==="\\xleftequilibrium")&&(f-=a.depth);var d;if(i){var p=-e.fontMetrics().axisHeight+i.height+.5*l.height+.111;d=T.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:f},{type:"elem",elem:l,shift:u},{type:"elem",elem:i,shift:p}]},e)}else d=T.makeVList({positionType:"individualShift",children:[{type:"elem",elem:a,shift:f},{type:"elem",elem:l,shift:u}]},e);return d.children[0].children[0].children[1].classes.push("svg-align"),T.makeSpan(["mrel","x-arrow"],[d],e)},mathmlBuilder(t,e){var r=Zt.mathMLnode(t.label);r.setAttribute("minsize",t.label.charAt(0)==="x"?"1.75em":"3.0em");var n;if(t.body){var a=Wr(Te(t.body,e));if(t.below){var s=Wr(Te(t.below,e));n=new O.MathNode("munderover",[r,s,a])}else n=new O.MathNode("mover",[r,a])}else if(t.below){var i=Wr(Te(t.below,e));n=new O.MathNode("munder",[r,i])}else n=Wr(),n=new O.MathNode("mover",[r,n]);return n}});var h2=T.makeSpan;function $o(t,e){var r=He(t.body,e,!0);return h2([t.mclass],r,e)}function Vo(t,e){var r,n=rt(t.body,e);return t.mclass==="minner"?r=new O.MathNode("mpadded",n):t.mclass==="mord"?t.isCharacterBox?(r=n[0],r.type="mi"):r=new O.MathNode("mi",n):(t.isCharacterBox?(r=n[0],r.type="mo"):r=new O.MathNode("mo",n),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}U({type:"mclass",names:["\\mathord","\\mathbin","\\mathrel","\\mathopen","\\mathclose","\\mathpunct","\\mathinner"],props:{numArgs:1,primitive:!0},handler(t,e){var{parser:r,funcName:n}=t,a=e[0];return{type:"mclass",mode:r.mode,mclass:"m"+n.slice(5),body:Re(a),isCharacterBox:Q.isCharacterBox(a)}},htmlBuilder:$o,mathmlBuilder:Vo});var Nn=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"};U({type:"mclass",names:["\\@binrel"],props:{numArgs:2},handler(t,e){var{parser:r}=t;return{type:"mclass",mode:r.mode,mclass:Nn(e[0]),body:Re(e[1]),isCharacterBox:Q.isCharacterBox(e[1])}}});U({type:"mclass",names:["\\stackrel","\\overset","\\underset"],props:{numArgs:2},handler(t,e){var{parser:r,funcName:n}=t,a=e[1],s=e[0],i;n!=="\\stackrel"?i=Nn(a):i="mrel";var l={type:"op",mode:a.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:n!=="\\stackrel",body:Re(a)},u={type:"supsub",mode:s.mode,base:l,sup:n==="\\underset"?null:s,sub:n==="\\underset"?s:null};return{type:"mclass",mode:r.mode,mclass:i,body:[u],isCharacterBox:Q.isCharacterBox(u)}},htmlBuilder:$o,mathmlBuilder:Vo});U({type:"pmb",names:["\\pmb"],props:{numArgs:1,allowedInText:!0},handler(t,e){var{parser:r}=t;return{type:"pmb",mode:r.mode,mclass:Nn(e[0]),body:Re(e[0])}},htmlBuilder(t,e){var r=He(t.body,e,!0),n=T.makeSpan([t.mclass],r,e);return n.style.textShadow="0.02em 0.01em 0.04px",n},mathmlBuilder(t,e){var r=rt(t.body,e),n=new O.MathNode("mstyle",r);return n.setAttribute("style","text-shadow: 0.02em 0.01em 0.04px"),n}});var f2={">":"\\\\cdrightarrow","<":"\\\\cdleftarrow","=":"\\\\cdlongequal",A:"\\uparrow",V:"\\downarrow","|":"\\Vert",".":"no arrow"},Ni=()=>({type:"styling",body:[],mode:"math",style:"display"}),Oi=t=>t.type==="textord"&&t.text==="@",d2=(t,e)=>(t.type==="mathord"||t.type==="atom")&&t.text===e;function m2(t,e,r){var n=f2[t];switch(n){case"\\\\cdrightarrow":case"\\\\cdleftarrow":return r.callFunction(n,[e[0]],[e[1]]);case"\\uparrow":case"\\downarrow":{var a=r.callFunction("\\\\cdleft",[e[0]],[]),s={type:"atom",text:n,mode:"math",family:"rel"},i=r.callFunction("\\Big",[s],[]),l=r.callFunction("\\\\cdright",[e[1]],[]),u={type:"ordgroup",mode:"math",body:[a,i,l]};return r.callFunction("\\\\cdparent",[u],[])}case"\\\\cdlongequal":return r.callFunction("\\\\cdlongequal",[],[]);case"\\Vert":{var f={type:"textord",text:"\\Vert",mode:"math"};return r.callFunction("\\Big",[f],[])}default:return{type:"textord",text:" ",mode:"math"}}}function p2(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 P("Expected \\\\ or \\cr or \\end",t.nextToken)}for(var n=[],a=[n],s=0;s-1))if("<>AV".indexOf(f)>-1)for(var p=0;p<2;p++){for(var g=!0,w=u+1;wAV=|." after @',i[u]);var A=m2(f,d,t),q={type:"styling",body:[A],mode:"math",style:"display"};n.push(q),l=Ni()}s%2===0?n.push(l):n.shift(),n=[],a.push(n)}t.gullet.endGroup(),t.gullet.endGroup();var E=new Array(a[0].length).fill({type:"align",align:"c",pregap:.25,postgap:.25});return{type:"array",mode:"math",body:a,arraystretch:1,addJot:!0,rowGaps:[null],cols:E,colSeparationType:"CD",hLinesBeforeRow:new Array(a.length+1).fill([])}}U({type:"cdlabel",names:["\\\\cdleft","\\\\cdright"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:n}=t;return{type:"cdlabel",mode:r.mode,side:n.slice(4),label:e[0]}},htmlBuilder(t,e){var r=e.havingStyle(e.style.sup()),n=T.wrapFragment(pe(t.label,r,e),e);return n.classes.push("cd-label-"+t.side),n.style.bottom=H(.8-n.depth),n.height=0,n.depth=0,n},mathmlBuilder(t,e){var r=new O.MathNode("mrow",[Te(t.label,e)]);return r=new O.MathNode("mpadded",[r]),r.setAttribute("width","0"),t.side==="left"&&r.setAttribute("lspace","-1width"),r.setAttribute("voffset","0.7em"),r=new O.MathNode("mstyle",[r]),r.setAttribute("displaystyle","false"),r.setAttribute("scriptlevel","1"),r}});U({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=T.wrapFragment(pe(t.fragment,e),e);return r.classes.push("cd-vert-arrow"),r},mathmlBuilder(t,e){return new O.MathNode("mrow",[Te(t.fragment,e)])}});U({type:"textord",names:["\\@char"],props:{numArgs:1,allowedInText:!0},handler(t,e){for(var{parser:r}=t,n=fe(e[0],"ordgroup"),a=n.body,s="",i=0;i=1114111)throw new P("\\@char with invalid code point "+s);return u<=65535?f=String.fromCharCode(u):(u-=65536,f=String.fromCharCode((u>>10)+55296,(u&1023)+56320)),{type:"textord",mode:r.mode,text:f}}});var Uo=(t,e)=>{var r=He(t.body,e.withColor(t.color),!1);return T.makeFragment(r)},Go=(t,e)=>{var r=rt(t.body,e.withColor(t.color)),n=new O.MathNode("mstyle",r);return n.setAttribute("mathcolor",t.color),n};U({type:"color",names:["\\textcolor"],props:{numArgs:2,allowedInText:!0,argTypes:["color","original"]},handler(t,e){var{parser:r}=t,n=fe(e[0],"color-token").color,a=e[1];return{type:"color",mode:r.mode,color:n,body:Re(a)}},htmlBuilder:Uo,mathmlBuilder:Go});U({type:"color",names:["\\color"],props:{numArgs:1,allowedInText:!0,argTypes:["color"]},handler(t,e){var{parser:r,breakOnTokenText:n}=t,a=fe(e[0],"color-token").color;r.gullet.macros.set("\\current@color",a);var s=r.parseExpression(!0,n);return{type:"color",mode:r.mode,color:a,body:s}},htmlBuilder:Uo,mathmlBuilder:Go});U({type:"cr",names:["\\\\"],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(t,e,r){var{parser:n}=t,a=n.gullet.future().text==="["?n.parseSizeGroup(!0):null,s=!n.settings.displayMode||!n.settings.useStrictBehavior("newLineInDisplayMode","In LaTeX, \\\\ or \\newline does nothing in display mode");return{type:"cr",mode:n.mode,newLine:s,size:a&&fe(a,"size").value}},htmlBuilder(t,e){var r=T.makeSpan(["mspace"],[],e);return t.newLine&&(r.classes.push("newline"),t.size&&(r.style.marginTop=H(De(t.size,e)))),r},mathmlBuilder(t,e){var r=new O.MathNode("mspace");return t.newLine&&(r.setAttribute("linebreak","newline"),t.size&&r.setAttribute("height",H(De(t.size,e)))),r}});var Ba={"\\global":"\\global","\\long":"\\\\globallong","\\\\globallong":"\\\\globallong","\\def":"\\gdef","\\gdef":"\\gdef","\\edef":"\\xdef","\\xdef":"\\xdef","\\let":"\\\\globallet","\\futurelet":"\\\\globalfuture"},Wo=t=>{var e=t.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(e))throw new P("Expected a control sequence",t);return e},g2=t=>{var e=t.gullet.popToken();return e.text==="="&&(e=t.gullet.popToken(),e.text===" "&&(e=t.gullet.popToken())),e},jo=(t,e,r,n)=>{var a=t.gullet.macros.get(r.text);a==null&&(r.noexpand=!0,a={tokens:[r],numArgs:0,unexpandable:!t.gullet.isExpandable(r.text)}),t.gullet.macros.set(e,a,n)};U({type:"internal",names:["\\global","\\long","\\\\globallong"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e,funcName:r}=t;e.consumeSpaces();var n=e.fetch();if(Ba[n.text])return(r==="\\global"||r==="\\\\globallong")&&(n.text=Ba[n.text]),fe(e.parseFunction(),"internal");throw new P("Invalid token after macro prefix",n)}});U({type:"internal",names:["\\def","\\gdef","\\edef","\\xdef"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,n=e.gullet.popToken(),a=n.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new P("Expected a control sequence",n);for(var s=0,i,l=[[]];e.gullet.future().text!=="{";)if(n=e.gullet.popToken(),n.text==="#"){if(e.gullet.future().text==="{"){i=e.gullet.future(),l[s].push("{");break}if(n=e.gullet.popToken(),!/^[1-9]$/.test(n.text))throw new P('Invalid argument number "'+n.text+'"');if(parseInt(n.text)!==s+1)throw new P('Argument number "'+n.text+'" out of order');s++,l.push([])}else{if(n.text==="EOF")throw new P("Expected a macro definition");l[s].push(n.text)}var{tokens:u}=e.gullet.consumeArg();return i&&u.unshift(i),(r==="\\edef"||r==="\\xdef")&&(u=e.gullet.expandTokens(u),u.reverse()),e.gullet.macros.set(a,{tokens:u,numArgs:s,delimiters:l},r===Ba[r]),{type:"internal",mode:e.mode}}});U({type:"internal",names:["\\let","\\\\globallet"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,n=Wo(e.gullet.popToken());e.gullet.consumeSpaces();var a=g2(e);return jo(e,n,a,r==="\\\\globallet"),{type:"internal",mode:e.mode}}});U({type:"internal",names:["\\futurelet","\\\\globalfuture"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:e,funcName:r}=t,n=Wo(e.gullet.popToken()),a=e.gullet.popToken(),s=e.gullet.popToken();return jo(e,n,s,r==="\\\\globalfuture"),e.gullet.pushToken(s),e.gullet.pushToken(a),{type:"internal",mode:e.mode}}});var sr=function(e,r,n){var a=qe.math[e]&&qe.math[e].replace,s=ds(a||e,r,n);if(!s)throw new Error("Unsupported symbol "+e+" and font size "+r+".");return s},ws=function(e,r,n,a){var s=n.havingBaseStyle(r),i=T.makeSpan(a.concat(s.sizingClasses(n)),[e],n),l=s.sizeMultiplier/n.sizeMultiplier;return i.height*=l,i.depth*=l,i.maxFontSize=s.sizeMultiplier,i},Ko=function(e,r,n){var a=r.havingBaseStyle(n),s=(1-r.sizeMultiplier/a.sizeMultiplier)*r.fontMetrics().axisHeight;e.classes.push("delimcenter"),e.style.top=H(s),e.height-=s,e.depth+=s},v2=function(e,r,n,a,s,i){var l=T.makeSymbol(e,"Main-Regular",s,a),u=ws(l,r,a,i);return n&&Ko(u,a,r),u},b2=function(e,r,n,a){return T.makeSymbol(e,"Size"+r+"-Regular",n,a)},Xo=function(e,r,n,a,s,i){var l=b2(e,r,s,a),u=ws(T.makeSpan(["delimsizing","size"+r],[l],a),ne.TEXT,a,i);return n&&Ko(u,a,ne.TEXT),u},ta=function(e,r,n){var a;r==="Size1-Regular"?a="delim-size1":a="delim-size4";var s=T.makeSpan(["delimsizinginner",a],[T.makeSpan([],[T.makeSymbol(e,r,n)])]);return{type:"elem",elem:s}},ra=function(e,r,n){var a=Bt["Size4-Regular"][e.charCodeAt(0)]?Bt["Size4-Regular"][e.charCodeAt(0)][4]:Bt["Size1-Regular"][e.charCodeAt(0)][4],s=new d0("inner",Th(e,Math.round(1e3*r))),i=new Xt([s],{width:H(a),height:H(r),style:"width:"+H(a),viewBox:"0 0 "+1e3*a+" "+Math.round(1e3*r),preserveAspectRatio:"xMinYMin"}),l=T.makeSvgSpan([],[i],n);return l.height=r,l.style.height=H(r),l.style.width=H(a),{type:"elem",elem:l}},Na=.008,jr={type:"kern",size:-1*Na},y2=["|","\\lvert","\\rvert","\\vert"],w2=["\\|","\\lVert","\\rVert","\\Vert"],Yo=function(e,r,n,a,s,i){var l,u,f,d,p="",g=0;l=f=d=e,u=null;var w="Size1-Regular";e==="\\uparrow"?f=d="⏐":e==="\\Uparrow"?f=d="‖":e==="\\downarrow"?l=f="⏐":e==="\\Downarrow"?l=f="‖":e==="\\updownarrow"?(l="\\uparrow",f="⏐",d="\\downarrow"):e==="\\Updownarrow"?(l="\\Uparrow",f="‖",d="\\Downarrow"):Q.contains(y2,e)?(f="∣",p="vert",g=333):Q.contains(w2,e)?(f="∥",p="doublevert",g=556):e==="["||e==="\\lbrack"?(l="⎡",f="⎢",d="⎣",w="Size4-Regular",p="lbrack",g=667):e==="]"||e==="\\rbrack"?(l="⎤",f="⎥",d="⎦",w="Size4-Regular",p="rbrack",g=667):e==="\\lfloor"||e==="⌊"?(f=l="⎢",d="⎣",w="Size4-Regular",p="lfloor",g=667):e==="\\lceil"||e==="⌈"?(l="⎡",f=d="⎢",w="Size4-Regular",p="lceil",g=667):e==="\\rfloor"||e==="⌋"?(f=l="⎥",d="⎦",w="Size4-Regular",p="rfloor",g=667):e==="\\rceil"||e==="⌉"?(l="⎤",f=d="⎥",w="Size4-Regular",p="rceil",g=667):e==="("||e==="\\lparen"?(l="⎛",f="⎜",d="⎝",w="Size4-Regular",p="lparen",g=875):e===")"||e==="\\rparen"?(l="⎞",f="⎟",d="⎠",w="Size4-Regular",p="rparen",g=875):e==="\\{"||e==="\\lbrace"?(l="⎧",u="⎨",d="⎩",f="⎪",w="Size4-Regular"):e==="\\}"||e==="\\rbrace"?(l="⎫",u="⎬",d="⎭",f="⎪",w="Size4-Regular"):e==="\\lgroup"||e==="⟮"?(l="⎧",d="⎩",f="⎪",w="Size4-Regular"):e==="\\rgroup"||e==="⟯"?(l="⎫",d="⎭",f="⎪",w="Size4-Regular"):e==="\\lmoustache"||e==="⎰"?(l="⎧",d="⎭",f="⎪",w="Size4-Regular"):(e==="\\rmoustache"||e==="⎱")&&(l="⎫",d="⎩",f="⎪",w="Size4-Regular");var A=sr(l,w,s),q=A.height+A.depth,E=sr(f,w,s),C=E.height+E.depth,L=sr(d,w,s),S=L.height+L.depth,M=0,N=1;if(u!==null){var G=sr(u,w,s);M=G.height+G.depth,N=2}var W=q+S+M,ee=Math.max(0,Math.ceil((r-W)/(N*C))),Y=W+ee*N*C,te=a.fontMetrics().axisHeight;n&&(te*=a.sizeMultiplier);var de=Y/2-te,ce=[];if(p.length>0){var ge=Y-q-S,we=Math.round(Y*1e3),Me=Mh(p,Math.round(ge*1e3)),X=new d0(p,Me),he=(g/1e3).toFixed(3)+"em",Z=(we/1e3).toFixed(3)+"em",Oe=new Xt([X],{width:he,height:Z,viewBox:"0 0 "+g+" "+we}),nt=T.makeSvgSpan([],[Oe],a);nt.height=we/1e3,nt.style.width=he,nt.style.height=Z,ce.push({type:"elem",elem:nt})}else{if(ce.push(ta(d,w,s)),ce.push(jr),u===null){var Fe=Y-q-S+2*Na;ce.push(ra(f,Fe,a))}else{var Ee=(Y-q-S-M)/2+2*Na;ce.push(ra(f,Ee,a)),ce.push(jr),ce.push(ta(u,w,s)),ce.push(jr),ce.push(ra(f,Ee,a))}ce.push(jr),ce.push(ta(l,w,s))}var e0=a.havingBaseStyle(ne.TEXT),Y0=T.makeVList({positionType:"bottom",positionData:de,children:ce},e0);return ws(T.makeSpan(["delimsizing","mult"],[Y0],e0),ne.TEXT,a,i)},na=80,aa=.08,sa=function(e,r,n,a,s){var i=Sh(e,a,n),l=new d0(e,i),u=new Xt([l],{width:"400em",height:H(r),viewBox:"0 0 400000 "+n,preserveAspectRatio:"xMinYMin slice"});return T.makeSvgSpan(["hide-tail"],[u],s)},x2=function(e,r){var n=r.havingBaseSizing(),a=e1("\\surd",e*n.sizeMultiplier,Qo,n),s=n.sizeMultiplier,i=Math.max(0,r.minRuleThickness-r.fontMetrics().sqrtRuleThickness),l,u=0,f=0,d=0,p;return a.type==="small"?(d=1e3+1e3*i+na,e<1?s=1:e<1.4&&(s=.7),u=(1+i+aa)/s,f=(1+i)/s,l=sa("sqrtMain",u,d,i,r),l.style.minWidth="0.853em",p=.833/s):a.type==="large"?(d=(1e3+na)*dr[a.size],f=(dr[a.size]+i)/s,u=(dr[a.size]+i+aa)/s,l=sa("sqrtSize"+a.size,u,d,i,r),l.style.minWidth="1.02em",p=1/s):(u=e+i+aa,f=e+i,d=Math.floor(1e3*e+i)+na,l=sa("sqrtTall",u,d,i,r),l.style.minWidth="0.742em",p=1.056),l.height=f,l.style.height=H(u),{span:l,advanceWidth:p,ruleWidth:(r.fontMetrics().sqrtRuleThickness+i)*s}},Zo=["(","\\lparen",")","\\rparen","[","\\lbrack","]","\\rbrack","\\{","\\lbrace","\\}","\\rbrace","\\lfloor","\\rfloor","⌊","⌋","\\lceil","\\rceil","⌈","⌉","\\surd"],k2=["\\uparrow","\\downarrow","\\updownarrow","\\Uparrow","\\Downarrow","\\Updownarrow","|","\\|","\\vert","\\Vert","\\lvert","\\rvert","\\lVert","\\rVert","\\lgroup","\\rgroup","⟮","⟯","\\lmoustache","\\rmoustache","⎰","⎱"],Jo=["<",">","\\langle","\\rangle","/","\\backslash","\\lt","\\gt"],dr=[0,1.2,1.8,2.4,3],S2=function(e,r,n,a,s){if(e==="<"||e==="\\lt"||e==="⟨"?e="\\langle":(e===">"||e==="\\gt"||e==="⟩")&&(e="\\rangle"),Q.contains(Zo,e)||Q.contains(Jo,e))return Xo(e,r,!1,n,a,s);if(Q.contains(k2,e))return Yo(e,dr[r],!1,n,a,s);throw new P("Illegal delimiter: '"+e+"'")},T2=[{type:"small",style:ne.SCRIPTSCRIPT},{type:"small",style:ne.SCRIPT},{type:"small",style:ne.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4}],M2=[{type:"small",style:ne.SCRIPTSCRIPT},{type:"small",style:ne.SCRIPT},{type:"small",style:ne.TEXT},{type:"stack"}],Qo=[{type:"small",style:ne.SCRIPTSCRIPT},{type:"small",style:ne.SCRIPT},{type:"small",style:ne.TEXT},{type:"large",size:1},{type:"large",size:2},{type:"large",size:3},{type:"large",size:4},{type:"stack"}],A2=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.")},e1=function(e,r,n,a){for(var s=Math.min(2,3-a.style.size),i=s;ir)return n[i]}return n[n.length-1]},t1=function(e,r,n,a,s,i){e==="<"||e==="\\lt"||e==="⟨"?e="\\langle":(e===">"||e==="\\gt"||e==="⟩")&&(e="\\rangle");var l;Q.contains(Jo,e)?l=T2:Q.contains(Zo,e)?l=Qo:l=M2;var u=e1(e,r,l,a);return u.type==="small"?v2(e,u.style,n,a,s,i):u.type==="large"?Xo(e,u.size,n,a,s,i):Yo(e,r,n,a,s,i)},q2=function(e,r,n,a,s,i){var l=a.fontMetrics().axisHeight*a.sizeMultiplier,u=901,f=5/a.fontMetrics().ptPerEm,d=Math.max(r-l,n+l),p=Math.max(d/500*u,2*d-f);return t1(e,p,!0,a,s,i)},Kt={sqrtImage:x2,sizedDelim:S2,sizeToMaxHeight:dr,customSizedDelim:t1,leftRightDelim:q2},Ri={"\\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}},z2=["(","\\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 On(t,e){var r=Bn(t);if(r&&Q.contains(z2,r.text))return r;throw r?new P("Invalid delimiter '"+r.text+"' after '"+e.funcName+"'",t):new P("Invalid delimiter type '"+t.type+"'",t)}U({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=On(e[0],t);return{type:"delimsizing",mode:t.parser.mode,size:Ri[t.funcName].size,mclass:Ri[t.funcName].mclass,delim:r.text}},htmlBuilder:(t,e)=>t.delim==="."?T.makeSpan([t.mclass]):Kt.sizedDelim(t.delim,t.size,e,t.mode,[t.mclass]),mathmlBuilder:t=>{var e=[];t.delim!=="."&&e.push(wt(t.delim,t.mode));var r=new O.MathNode("mo",e);t.mclass==="mopen"||t.mclass==="mclose"?r.setAttribute("fence","true"):r.setAttribute("fence","false"),r.setAttribute("stretchy","true");var n=H(Kt.sizeToMaxHeight[t.size]);return r.setAttribute("minsize",n),r.setAttribute("maxsize",n),r}});function Ii(t){if(!t.body)throw new Error("Bug: The leftright ParseNode wasn't fully parsed.")}U({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 P("\\current@color set to non-string in \\right");return{type:"leftright-right",mode:t.parser.mode,delim:On(e[0],t).text,color:r}}});U({type:"leftright",names:["\\left"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=On(e[0],t),n=t.parser;++n.leftrightDepth;var a=n.parseExpression(!1);--n.leftrightDepth,n.expect("\\right",!1);var s=fe(n.parseFunction(),"leftright-right");return{type:"leftright",mode:n.mode,body:a,left:r.text,right:s.delim,rightColor:s.color}},htmlBuilder:(t,e)=>{Ii(t);for(var r=He(t.body,e,!0,["mopen","mclose"]),n=0,a=0,s=!1,i=0;i{Ii(t);var r=rt(t.body,e);if(t.left!=="."){var n=new O.MathNode("mo",[wt(t.left,t.mode)]);n.setAttribute("fence","true"),r.unshift(n)}if(t.right!=="."){var a=new O.MathNode("mo",[wt(t.right,t.mode)]);a.setAttribute("fence","true"),t.rightColor&&a.setAttribute("mathcolor",t.rightColor),r.push(a)}return gs(r)}});U({type:"middle",names:["\\middle"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var r=On(e[0],t);if(!t.parser.leftrightDepth)throw new P("\\middle without preceding \\left",r);return{type:"middle",mode:t.parser.mode,delim:r.text}},htmlBuilder:(t,e)=>{var r;if(t.delim===".")r=xr(e,[]);else{r=Kt.sizedDelim(t.delim,1,e,t.mode,[]);var n={delim:t.delim,options:e};r.isMiddle=n}return r},mathmlBuilder:(t,e)=>{var r=t.delim==="\\vert"||t.delim==="|"?wt("|","text"):wt(t.delim,t.mode),n=new O.MathNode("mo",[r]);return n.setAttribute("fence","true"),n.setAttribute("lspace","0.05em"),n.setAttribute("rspace","0.05em"),n}});var xs=(t,e)=>{var r=T.wrapFragment(pe(t.body,e),e),n=t.label.slice(1),a=e.sizeMultiplier,s,i=0,l=Q.isCharacterBox(t.body);if(n==="sout")s=T.makeSpan(["stretchy","sout"]),s.height=e.fontMetrics().defaultRuleThickness/a,i=-.5*e.fontMetrics().xHeight;else if(n==="phase"){var u=De({number:.6,unit:"pt"},e),f=De({number:.35,unit:"ex"},e),d=e.havingBaseSizing();a=a/d.sizeMultiplier;var p=r.height+r.depth+u+f;r.style.paddingLeft=H(p/2+u);var g=Math.floor(1e3*p*a),w=xh(g),A=new Xt([new d0("phase",w)],{width:"400em",height:H(g/1e3),viewBox:"0 0 400000 "+g,preserveAspectRatio:"xMinYMin slice"});s=T.makeSvgSpan(["hide-tail"],[A],e),s.style.height=H(p),i=r.depth+u+f}else{/cancel/.test(n)?l||r.classes.push("cancel-pad"):n==="angl"?r.classes.push("anglpad"):r.classes.push("boxpad");var q=0,E=0,C=0;/box/.test(n)?(C=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness),q=e.fontMetrics().fboxsep+(n==="colorbox"?0:C),E=q):n==="angl"?(C=Math.max(e.fontMetrics().defaultRuleThickness,e.minRuleThickness),q=4*C,E=Math.max(0,.25-r.depth)):(q=l?.2:0,E=q),s=Zt.encloseSpan(r,n,q,E,e),/fbox|boxed|fcolorbox/.test(n)?(s.style.borderStyle="solid",s.style.borderWidth=H(C)):n==="angl"&&C!==.049&&(s.style.borderTopWidth=H(C),s.style.borderRightWidth=H(C)),i=r.depth+E,t.backgroundColor&&(s.style.backgroundColor=t.backgroundColor,t.borderColor&&(s.style.borderColor=t.borderColor))}var L;if(t.backgroundColor)L=T.makeVList({positionType:"individualShift",children:[{type:"elem",elem:s,shift:i},{type:"elem",elem:r,shift:0}]},e);else{var S=/cancel|phase/.test(n)?["svg-align"]:[];L=T.makeVList({positionType:"individualShift",children:[{type:"elem",elem:r,shift:0},{type:"elem",elem:s,shift:i,wrapperClasses:S}]},e)}return/cancel/.test(n)&&(L.height=r.height,L.depth=r.depth),/cancel/.test(n)&&!l?T.makeSpan(["mord","cancel-lap"],[L],e):T.makeSpan(["mord"],[L],e)},ks=(t,e)=>{var r=0,n=new O.MathNode(t.label.indexOf("colorbox")>-1?"mpadded":"menclose",[Te(t.body,e)]);switch(t.label){case"\\cancel":n.setAttribute("notation","updiagonalstrike");break;case"\\bcancel":n.setAttribute("notation","downdiagonalstrike");break;case"\\phase":n.setAttribute("notation","phasorangle");break;case"\\sout":n.setAttribute("notation","horizontalstrike");break;case"\\fbox":n.setAttribute("notation","box");break;case"\\angl":n.setAttribute("notation","actuarial");break;case"\\fcolorbox":case"\\colorbox":if(r=e.fontMetrics().fboxsep*e.fontMetrics().ptPerEm,n.setAttribute("width","+"+2*r+"pt"),n.setAttribute("height","+"+2*r+"pt"),n.setAttribute("lspace",r+"pt"),n.setAttribute("voffset",r+"pt"),t.label==="\\fcolorbox"){var a=Math.max(e.fontMetrics().fboxrule,e.minRuleThickness);n.setAttribute("style","border: "+a+"em solid "+String(t.borderColor))}break;case"\\xcancel":n.setAttribute("notation","updiagonalstrike downdiagonalstrike");break}return t.backgroundColor&&n.setAttribute("mathbackground",t.backgroundColor),n};U({type:"enclose",names:["\\colorbox"],props:{numArgs:2,allowedInText:!0,argTypes:["color","text"]},handler(t,e,r){var{parser:n,funcName:a}=t,s=fe(e[0],"color-token").color,i=e[1];return{type:"enclose",mode:n.mode,label:a,backgroundColor:s,body:i}},htmlBuilder:xs,mathmlBuilder:ks});U({type:"enclose",names:["\\fcolorbox"],props:{numArgs:3,allowedInText:!0,argTypes:["color","color","text"]},handler(t,e,r){var{parser:n,funcName:a}=t,s=fe(e[0],"color-token").color,i=fe(e[1],"color-token").color,l=e[2];return{type:"enclose",mode:n.mode,label:a,backgroundColor:i,borderColor:s,body:l}},htmlBuilder:xs,mathmlBuilder:ks});U({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]}}});U({type:"enclose",names:["\\cancel","\\bcancel","\\xcancel","\\sout","\\phase"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:n}=t,a=e[0];return{type:"enclose",mode:r.mode,label:n,body:a}},htmlBuilder:xs,mathmlBuilder:ks});U({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 r1={};function Pt(t){for(var{type:e,names:r,props:n,handler:a,htmlBuilder:s,mathmlBuilder:i}=t,l={type:e,numArgs:n.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:a},u=0;u{var e=t.parser.settings;if(!e.displayMode)throw new P("{"+t.envName+"} can be used only in display mode.")};function Ss(t){if(t.indexOf("ed")===-1)return t.indexOf("*")===-1}function v0(t,e,r){var{hskipBeforeAndAfter:n,addJot:a,cols:s,arraystretch:i,colSeparationType:l,autoTag:u,singleRow:f,emptySingleRow:d,maxNumCols:p,leqno:g}=e;if(t.gullet.beginGroup(),f||t.gullet.macros.set("\\cr","\\\\\\relax"),!i){var w=t.gullet.expandMacroAsText("\\arraystretch");if(w==null)i=1;else if(i=parseFloat(w),!i||i<0)throw new P("Invalid \\arraystretch: "+w)}t.gullet.beginGroup();var A=[],q=[A],E=[],C=[],L=u!=null?[]:void 0;function S(){u&&t.gullet.macros.set("\\@eqnsw","1",!0)}function M(){L&&(t.gullet.macros.get("\\df@tag")?(L.push(t.subparse([new Ot("\\df@tag")])),t.gullet.macros.set("\\df@tag",void 0,!0)):L.push(!!u&&t.gullet.macros.get("\\@eqnsw")==="1"))}for(S(),C.push(Pi(t));;){var N=t.parseExpression(!1,f?"\\end":"\\\\");t.gullet.endGroup(),t.gullet.beginGroup(),N={type:"ordgroup",mode:t.mode,body:N},r&&(N={type:"styling",mode:t.mode,style:r,body:[N]}),A.push(N);var G=t.fetch().text;if(G==="&"){if(p&&A.length===p){if(f||l)throw new P("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"){M(),A.length===1&&N.type==="styling"&&N.body[0].body.length===0&&(q.length>1||!d)&&q.pop(),C.length0&&(S+=.25),f.push({pos:S,isDashed:B[$]})}for(M(i[0]),n=0;n0&&(de+=L,WB))for(n=0;n=l)){var xt=void 0;(a>0||e.hskipBeforeAndAfter)&&(xt=Q.deflt(Ee.pregap,g),xt!==0&&(Me=T.makeSpan(["arraycolsep"],[]),Me.style.width=H(xt),we.push(Me)));var zt=[];for(n=0;n0){for(var J0=T.makeLineSpan("hline",r,d),y=T.makeLineSpan("hdashline",r,d),k=[{type:"elem",elem:u,shift:0}];f.length>0;){var z=f.pop(),R=z.pos-ce;z.isDashed?k.push({type:"elem",elem:y,shift:R}):k.push({type:"elem",elem:J0,shift:R})}u=T.makeVList({positionType:"individualShift",children:k},r)}if(he.length===0)return T.makeSpan(["mord"],[u],r);var _=T.makeVList({positionType:"individualShift",children:he},r);return _=T.makeSpan(["tag"],[_],r),T.makeFragment([u,_])},C2={c:"center ",l:"left ",r:"right "},Lt=function(e,r){for(var n=[],a=new O.MathNode("mtd",[],["mtr-glue"]),s=new O.MathNode("mtd",[],["mml-eqn-num"]),i=0;i0){var A=e.cols,q="",E=!1,C=0,L=A.length;A[0].type==="separator"&&(g+="top ",C=1),A[A.length-1].type==="separator"&&(g+="bottom ",L-=1);for(var S=C;S0?"left ":"",g+=ee[ee.length-1].length>0?"right ":"";for(var Y=1;Y-1?"alignat":"align",s=e.envName==="split",i=v0(e.parser,{cols:n,addJot:!0,autoTag:s?void 0:Ss(e.envName),emptySingleRow:!0,colSeparationType:a,maxNumCols:s?2:void 0,leqno:e.parser.settings.leqno},"display"),l,u=0,f={type:"ordgroup",mode:e.mode,body:[]};if(r[0]&&r[0].type==="ordgroup"){for(var d="",p=0;p0&&w&&(E=1),n[A]={type:"align",align:q,pregap:E,postgap:0}}return i.colSeparationType=w?"align":"alignat",i};Pt({type:"array",names:["array","darray"],props:{numArgs:1},handler(t,e){var r=Bn(e[0]),n=r?[e[0]]:fe(e[0],"ordgroup").body,a=n.map(function(i){var l=bs(i),u=l.text;if("lcr".indexOf(u)!==-1)return{type:"align",align:u};if(u==="|")return{type:"separator",separator:"|"};if(u===":")return{type:"separator",separator:":"};throw new P("Unknown column alignment: "+u,i)}),s={cols:a,hskipBeforeAndAfter:!0,maxNumCols:a.length};return v0(t.parser,s,Ts(t.envName))},htmlBuilder:Ht,mathmlBuilder:Lt});Pt({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",n={hskipBeforeAndAfter:!1,cols:[{type:"align",align:r}]};if(t.envName.charAt(t.envName.length-1)==="*"){var a=t.parser;if(a.consumeSpaces(),a.fetch().text==="["){if(a.consume(),a.consumeSpaces(),r=a.fetch().text,"lcr".indexOf(r)===-1)throw new P("Expected l or c or r",a.nextToken);a.consume(),a.consumeSpaces(),a.expect("]"),a.consume(),n.cols=[{type:"align",align:r}]}}var s=v0(t.parser,n,Ts(t.envName)),i=Math.max(0,...s.body.map(l=>l.length));return s.cols=new Array(i).fill({type:"align",align:r}),e?{type:"leftright",mode:t.mode,body:[s],left:e[0],right:e[1],rightColor:void 0}:s},htmlBuilder:Ht,mathmlBuilder:Lt});Pt({type:"array",names:["smallmatrix"],props:{numArgs:0},handler(t){var e={arraystretch:.5},r=v0(t.parser,e,"script");return r.colSeparationType="small",r},htmlBuilder:Ht,mathmlBuilder:Lt});Pt({type:"array",names:["subarray"],props:{numArgs:1},handler(t,e){var r=Bn(e[0]),n=r?[e[0]]:fe(e[0],"ordgroup").body,a=n.map(function(i){var l=bs(i),u=l.text;if("lc".indexOf(u)!==-1)return{type:"align",align:u};throw new P("Unknown column alignment: "+u,i)});if(a.length>1)throw new P("{subarray} can contain only one column");var s={cols:a,hskipBeforeAndAfter:!1,arraystretch:.5};if(s=v0(t.parser,s,"script"),s.body.length>0&&s.body[0].length>1)throw new P("{subarray} can contain only one column");return s},htmlBuilder:Ht,mathmlBuilder:Lt});Pt({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=v0(t.parser,e,Ts(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:Ht,mathmlBuilder:Lt});Pt({type:"array",names:["align","align*","aligned","split"],props:{numArgs:0},handler:a1,htmlBuilder:Ht,mathmlBuilder:Lt});Pt({type:"array",names:["gathered","gather","gather*"],props:{numArgs:0},handler(t){Q.contains(["gather","gather*"],t.envName)&&Rn(t);var e={cols:[{type:"align",align:"c"}],addJot:!0,colSeparationType:"gather",autoTag:Ss(t.envName),emptySingleRow:!0,leqno:t.parser.settings.leqno};return v0(t.parser,e,"display")},htmlBuilder:Ht,mathmlBuilder:Lt});Pt({type:"array",names:["alignat","alignat*","alignedat"],props:{numArgs:1},handler:a1,htmlBuilder:Ht,mathmlBuilder:Lt});Pt({type:"array",names:["equation","equation*"],props:{numArgs:0},handler(t){Rn(t);var e={autoTag:Ss(t.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:t.parser.settings.leqno};return v0(t.parser,e,"display")},htmlBuilder:Ht,mathmlBuilder:Lt});Pt({type:"array",names:["CD"],props:{numArgs:0},handler(t){return Rn(t),p2(t.parser)},htmlBuilder:Ht,mathmlBuilder:Lt});m("\\nonumber","\\gdef\\@eqnsw{0}");m("\\notag","\\nonumber");U({type:"text",names:["\\hline","\\hdashline"],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(t,e){throw new P(t.funcName+" valid only within array environment")}});var Hi=r1;U({type:"environment",names:["\\begin","\\end"],props:{numArgs:1,argTypes:["text"]},handler(t,e){var{parser:r,funcName:n}=t,a=e[0];if(a.type!=="ordgroup")throw new P("Invalid environment name",a);for(var s="",i=0;i{var r=t.font,n=e.withFont(r);return pe(t.body,n)},i1=(t,e)=>{var r=t.font,n=e.withFont(r);return Te(t.body,n)},Li={"\\Bbb":"\\mathbb","\\bold":"\\mathbf","\\frak":"\\mathfrak","\\bm":"\\boldsymbol"};U({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:n}=t,a=bn(e[0]),s=n;return s in Li&&(s=Li[s]),{type:"font",mode:r.mode,font:s.slice(1),body:a}},htmlBuilder:s1,mathmlBuilder:i1});U({type:"mclass",names:["\\boldsymbol","\\bm"],props:{numArgs:1},handler:(t,e)=>{var{parser:r}=t,n=e[0],a=Q.isCharacterBox(n);return{type:"mclass",mode:r.mode,mclass:Nn(n),body:[{type:"font",mode:r.mode,font:"boldsymbol",body:n}],isCharacterBox:a}}});U({type:"font",names:["\\rm","\\sf","\\tt","\\bf","\\it","\\cal"],props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:n,breakOnTokenText:a}=t,{mode:s}=r,i=r.parseExpression(!0,a),l="math"+n.slice(1);return{type:"font",mode:s,font:l,body:{type:"ordgroup",mode:r.mode,body:i}}},htmlBuilder:s1,mathmlBuilder:i1});var l1=(t,e)=>{var r=e;return t==="display"?r=r.id>=ne.SCRIPT.id?r.text():ne.DISPLAY:t==="text"&&r.size===ne.DISPLAY.size?r=ne.TEXT:t==="script"?r=ne.SCRIPT:t==="scriptscript"&&(r=ne.SCRIPTSCRIPT),r},Ms=(t,e)=>{var r=l1(t.size,e.style),n=r.fracNum(),a=r.fracDen(),s;s=e.havingStyle(n);var i=pe(t.numer,s,e);if(t.continued){var l=8.5/e.fontMetrics().ptPerEm,u=3.5/e.fontMetrics().ptPerEm;i.height=i.height0?A=3*g:A=7*g,q=e.fontMetrics().denom1):(p>0?(w=e.fontMetrics().num2,A=g):(w=e.fontMetrics().num3,A=3*g),q=e.fontMetrics().denom2);var E;if(d){var L=e.fontMetrics().axisHeight;w-i.depth-(L+.5*p){var r=new O.MathNode("mfrac",[Te(t.numer,e),Te(t.denom,e)]);if(!t.hasBarLine)r.setAttribute("linethickness","0px");else if(t.barSize){var n=De(t.barSize,e);r.setAttribute("linethickness",H(n))}var a=l1(t.size,e.style);if(a.size!==e.style.size){r=new O.MathNode("mstyle",[r]);var s=a.size===ne.DISPLAY.size?"true":"false";r.setAttribute("displaystyle",s),r.setAttribute("scriptlevel","0")}if(t.leftDelim!=null||t.rightDelim!=null){var i=[];if(t.leftDelim!=null){var l=new O.MathNode("mo",[new O.TextNode(t.leftDelim.replace("\\",""))]);l.setAttribute("fence","true"),i.push(l)}if(i.push(r),t.rightDelim!=null){var u=new O.MathNode("mo",[new O.TextNode(t.rightDelim.replace("\\",""))]);u.setAttribute("fence","true"),i.push(u)}return gs(i)}return r};U({type:"genfrac",names:["\\dfrac","\\frac","\\tfrac","\\dbinom","\\binom","\\tbinom","\\\\atopfrac","\\\\bracefrac","\\\\brackfrac"],props:{numArgs:2,allowedInArgument:!0},handler:(t,e)=>{var{parser:r,funcName:n}=t,a=e[0],s=e[1],i,l=null,u=null,f="auto";switch(n){case"\\dfrac":case"\\frac":case"\\tfrac":i=!0;break;case"\\\\atopfrac":i=!1;break;case"\\dbinom":case"\\binom":case"\\tbinom":i=!1,l="(",u=")";break;case"\\\\bracefrac":i=!1,l="\\{",u="\\}";break;case"\\\\brackfrac":i=!1,l="[",u="]";break;default:throw new Error("Unrecognized genfrac command")}switch(n){case"\\dfrac":case"\\dbinom":f="display";break;case"\\tfrac":case"\\tbinom":f="text";break}return{type:"genfrac",mode:r.mode,continued:!1,numer:a,denom:s,hasBarLine:i,leftDelim:l,rightDelim:u,size:f,barSize:null}},htmlBuilder:Ms,mathmlBuilder:As});U({type:"genfrac",names:["\\cfrac"],props:{numArgs:2},handler:(t,e)=>{var{parser:r,funcName:n}=t,a=e[0],s=e[1];return{type:"genfrac",mode:r.mode,continued:!0,numer:a,denom:s,hasBarLine:!0,leftDelim:null,rightDelim:null,size:"display",barSize:null}}});U({type:"infix",names:["\\over","\\choose","\\atop","\\brace","\\brack"],props:{numArgs:0,infix:!0},handler(t){var{parser:e,funcName:r,token:n}=t,a;switch(r){case"\\over":a="\\frac";break;case"\\choose":a="\\binom";break;case"\\atop":a="\\\\atopfrac";break;case"\\brace":a="\\\\bracefrac";break;case"\\brack":a="\\\\brackfrac";break;default:throw new Error("Unrecognized infix genfrac command")}return{type:"infix",mode:e.mode,replaceWith:a,token:n}}});var Fi=["display","text","script","scriptscript"],$i=function(e){var r=null;return e.length>0&&(r=e,r=r==="."?null:r),r};U({type:"genfrac",names:["\\genfrac"],props:{numArgs:6,allowedInArgument:!0,argTypes:["math","math","size","text","math","math"]},handler(t,e){var{parser:r}=t,n=e[4],a=e[5],s=bn(e[0]),i=s.type==="atom"&&s.family==="open"?$i(s.text):null,l=bn(e[1]),u=l.type==="atom"&&l.family==="close"?$i(l.text):null,f=fe(e[2],"size"),d,p=null;f.isBlank?d=!0:(p=f.value,d=p.number>0);var g="auto",w=e[3];if(w.type==="ordgroup"){if(w.body.length>0){var A=fe(w.body[0],"textord");g=Fi[Number(A.text)]}}else w=fe(w,"textord"),g=Fi[Number(w.text)];return{type:"genfrac",mode:r.mode,numer:n,denom:a,continued:!1,hasBarLine:d,barSize:p,leftDelim:i,rightDelim:u,size:g}},htmlBuilder:Ms,mathmlBuilder:As});U({type:"infix",names:["\\above"],props:{numArgs:1,argTypes:["size"],infix:!0},handler(t,e){var{parser:r,funcName:n,token:a}=t;return{type:"infix",mode:r.mode,replaceWith:"\\\\abovefrac",size:fe(e[0],"size").value,token:a}}});U({type:"genfrac",names:["\\\\abovefrac"],props:{numArgs:3,argTypes:["math","size","math"]},handler:(t,e)=>{var{parser:r,funcName:n}=t,a=e[0],s=ih(fe(e[1],"infix").size),i=e[2],l=s.number>0;return{type:"genfrac",mode:r.mode,numer:a,denom:i,continued:!1,hasBarLine:l,barSize:s,leftDelim:null,rightDelim:null,size:"auto"}},htmlBuilder:Ms,mathmlBuilder:As});var o1=(t,e)=>{var r=e.style,n,a;t.type==="supsub"?(n=t.sup?pe(t.sup,e.havingStyle(r.sup()),e):pe(t.sub,e.havingStyle(r.sub()),e),a=fe(t.base,"horizBrace")):a=fe(t,"horizBrace");var s=pe(a.base,e.havingBaseStyle(ne.DISPLAY)),i=Zt.svgSpan(a,e),l;if(a.isOver?(l=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:s},{type:"kern",size:.1},{type:"elem",elem:i}]},e),l.children[0].children[0].children[1].classes.push("svg-align")):(l=T.makeVList({positionType:"bottom",positionData:s.depth+.1+i.height,children:[{type:"elem",elem:i},{type:"kern",size:.1},{type:"elem",elem:s}]},e),l.children[0].children[0].children[0].classes.push("svg-align")),n){var u=T.makeSpan(["mord",a.isOver?"mover":"munder"],[l],e);a.isOver?l=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:u},{type:"kern",size:.2},{type:"elem",elem:n}]},e):l=T.makeVList({positionType:"bottom",positionData:u.depth+.2+n.height+n.depth,children:[{type:"elem",elem:n},{type:"kern",size:.2},{type:"elem",elem:u}]},e)}return T.makeSpan(["mord",a.isOver?"mover":"munder"],[l],e)},E2=(t,e)=>{var r=Zt.mathMLnode(t.label);return new O.MathNode(t.isOver?"mover":"munder",[Te(t.base,e),r])};U({type:"horizBrace",names:["\\overbrace","\\underbrace"],props:{numArgs:1},handler(t,e){var{parser:r,funcName:n}=t;return{type:"horizBrace",mode:r.mode,label:n,isOver:/^\\over/.test(n),base:e[0]}},htmlBuilder:o1,mathmlBuilder:E2});U({type:"href",names:["\\href"],props:{numArgs:2,argTypes:["url","original"],allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,n=e[1],a=fe(e[0],"url").url;return r.settings.isTrusted({command:"\\href",url:a})?{type:"href",mode:r.mode,href:a,body:Re(n)}:r.formatUnsupportedCmd("\\href")},htmlBuilder:(t,e)=>{var r=He(t.body,e,!1);return T.makeAnchor(t.href,[],r,e)},mathmlBuilder:(t,e)=>{var r=m0(t.body,e);return r instanceof vt||(r=new vt("mrow",[r])),r.setAttribute("href",t.href),r}});U({type:"href",names:["\\url"],props:{numArgs:1,argTypes:["url"],allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,n=fe(e[0],"url").url;if(!r.settings.isTrusted({command:"\\url",url:n}))return r.formatUnsupportedCmd("\\url");for(var a=[],s=0;s{var{parser:r,funcName:n,token:a}=t,s=fe(e[0],"raw").string,i=e[1];r.settings.strict&&r.settings.reportNonstrict("htmlExtension","HTML extension is disabled on strict mode");var l,u={};switch(n){case"\\htmlClass":u.class=s,l={command:"\\htmlClass",class:s};break;case"\\htmlId":u.id=s,l={command:"\\htmlId",id:s};break;case"\\htmlStyle":u.style=s,l={command:"\\htmlStyle",style:s};break;case"\\htmlData":{for(var f=s.split(","),d=0;d{var r=He(t.body,e,!1),n=["enclosing"];t.attributes.class&&n.push(...t.attributes.class.trim().split(/\s+/));var a=T.makeSpan(n,r,e);for(var s in t.attributes)s!=="class"&&t.attributes.hasOwnProperty(s)&&a.setAttribute(s,t.attributes[s]);return a},mathmlBuilder:(t,e)=>m0(t.body,e)});U({type:"htmlmathml",names:["\\html@mathml"],props:{numArgs:2,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t;return{type:"htmlmathml",mode:r.mode,html:Re(e[0]),mathml:Re(e[1])}},htmlBuilder:(t,e)=>{var r=He(t.html,e,!1);return T.makeFragment(r)},mathmlBuilder:(t,e)=>m0(t.mathml,e)});var ia=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 P("Invalid size: '"+e+"' in \\includegraphics");var n={number:+(r[1]+r[2]),unit:r[3]};if(!qo(n))throw new P("Invalid unit: '"+n.unit+"' in \\includegraphics.");return n};U({type:"includegraphics",names:["\\includegraphics"],props:{numArgs:1,numOptionalArgs:1,argTypes:["raw","url"],allowedInText:!1},handler:(t,e,r)=>{var{parser:n}=t,a={number:0,unit:"em"},s={number:.9,unit:"em"},i={number:0,unit:"em"},l="";if(r[0])for(var u=fe(r[0],"raw").string,f=u.split(","),d=0;d{var r=De(t.height,e),n=0;t.totalheight.number>0&&(n=De(t.totalheight,e)-r);var a=0;t.width.number>0&&(a=De(t.width,e));var s={height:H(r+n)};a>0&&(s.width=H(a)),n>0&&(s.verticalAlign=H(-n));var i=new Eh(t.src,t.alt,s);return i.height=r,i.depth=n,i},mathmlBuilder:(t,e)=>{var r=new O.MathNode("mglyph",[]);r.setAttribute("alt",t.alt);var n=De(t.height,e),a=0;if(t.totalheight.number>0&&(a=De(t.totalheight,e)-n,r.setAttribute("valign",H(-a))),r.setAttribute("height",H(n+a)),t.width.number>0){var s=De(t.width,e);r.setAttribute("width",H(s))}return r.setAttribute("src",t.src),r}});U({type:"kern",names:["\\kern","\\mkern","\\hskip","\\mskip"],props:{numArgs:1,argTypes:["size"],primitive:!0,allowedInText:!0},handler(t,e){var{parser:r,funcName:n}=t,a=fe(e[0],"size");if(r.settings.strict){var s=n[1]==="m",i=a.value.unit==="mu";s?(i||r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" supports only mu units, "+("not "+a.value.unit+" units")),r.mode!=="math"&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" works only in math mode")):i&&r.settings.reportNonstrict("mathVsTextUnits","LaTeX's "+n+" doesn't support mu units")}return{type:"kern",mode:r.mode,dimension:a.value}},htmlBuilder(t,e){return T.makeGlue(t.dimension,e)},mathmlBuilder(t,e){var r=De(t.dimension,e);return new O.SpaceNode(r)}});U({type:"lap",names:["\\mathllap","\\mathrlap","\\mathclap"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r,funcName:n}=t,a=e[0];return{type:"lap",mode:r.mode,alignment:n.slice(5),body:a}},htmlBuilder:(t,e)=>{var r;t.alignment==="clap"?(r=T.makeSpan([],[pe(t.body,e)]),r=T.makeSpan(["inner"],[r],e)):r=T.makeSpan(["inner"],[pe(t.body,e)]);var n=T.makeSpan(["fix"],[]),a=T.makeSpan([t.alignment],[r,n],e),s=T.makeSpan(["strut"]);return s.style.height=H(a.height+a.depth),a.depth&&(s.style.verticalAlign=H(-a.depth)),a.children.unshift(s),a=T.makeSpan(["thinbox"],[a],e),T.makeSpan(["mord","vbox"],[a],e)},mathmlBuilder:(t,e)=>{var r=new O.MathNode("mpadded",[Te(t.body,e)]);if(t.alignment!=="rlap"){var n=t.alignment==="llap"?"-1":"-0.5";r.setAttribute("lspace",n+"width")}return r.setAttribute("width","0px"),r}});U({type:"styling",names:["\\(","$"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){var{funcName:r,parser:n}=t,a=n.mode;n.switchMode("math");var s=r==="\\("?"\\)":"$",i=n.parseExpression(!1,s);return n.expect(s),n.switchMode(a),{type:"styling",mode:n.mode,style:"text",body:i}}});U({type:"text",names:["\\)","\\]"],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,e){throw new P("Mismatched "+t.funcName)}});var Vi=(t,e)=>{switch(e.style.size){case ne.DISPLAY.size:return t.display;case ne.TEXT.size:return t.text;case ne.SCRIPT.size:return t.script;case ne.SCRIPTSCRIPT.size:return t.scriptscript;default:return t.text}};U({type:"mathchoice",names:["\\mathchoice"],props:{numArgs:4,primitive:!0},handler:(t,e)=>{var{parser:r}=t;return{type:"mathchoice",mode:r.mode,display:Re(e[0]),text:Re(e[1]),script:Re(e[2]),scriptscript:Re(e[3])}},htmlBuilder:(t,e)=>{var r=Vi(t,e),n=He(r,e,!1);return T.makeFragment(n)},mathmlBuilder:(t,e)=>{var r=Vi(t,e);return m0(r,e)}});var u1=(t,e,r,n,a,s,i)=>{t=T.makeSpan([],[t]);var l=r&&Q.isCharacterBox(r),u,f;if(e){var d=pe(e,n.havingStyle(a.sup()),n);f={elem:d,kern:Math.max(n.fontMetrics().bigOpSpacing1,n.fontMetrics().bigOpSpacing3-d.depth)}}if(r){var p=pe(r,n.havingStyle(a.sub()),n);u={elem:p,kern:Math.max(n.fontMetrics().bigOpSpacing2,n.fontMetrics().bigOpSpacing4-p.height)}}var g;if(f&&u){var w=n.fontMetrics().bigOpSpacing5+u.elem.height+u.elem.depth+u.kern+t.depth+i;g=T.makeVList({positionType:"bottom",positionData:w,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:H(-s)},{type:"kern",size:u.kern},{type:"elem",elem:t},{type:"kern",size:f.kern},{type:"elem",elem:f.elem,marginLeft:H(s)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else if(u){var A=t.height-i;g=T.makeVList({positionType:"top",positionData:A,children:[{type:"kern",size:n.fontMetrics().bigOpSpacing5},{type:"elem",elem:u.elem,marginLeft:H(-s)},{type:"kern",size:u.kern},{type:"elem",elem:t}]},n)}else if(f){var q=t.depth+i;g=T.makeVList({positionType:"bottom",positionData:q,children:[{type:"elem",elem:t},{type:"kern",size:f.kern},{type:"elem",elem:f.elem,marginLeft:H(s)},{type:"kern",size:n.fontMetrics().bigOpSpacing5}]},n)}else return t;var E=[g];if(u&&s!==0&&!l){var C=T.makeSpan(["mspace"],[],n);C.style.marginRight=H(s),E.unshift(C)}return T.makeSpan(["mop","op-limits"],E,n)},c1=["\\smallint"],X0=(t,e)=>{var r,n,a=!1,s;t.type==="supsub"?(r=t.sup,n=t.sub,s=fe(t.base,"op"),a=!0):s=fe(t,"op");var i=e.style,l=!1;i.size===ne.DISPLAY.size&&s.symbol&&!Q.contains(c1,s.name)&&(l=!0);var u;if(s.symbol){var f=l?"Size2-Regular":"Size1-Regular",d="";if((s.name==="\\oiint"||s.name==="\\oiiint")&&(d=s.name.slice(1),s.name=d==="oiint"?"\\iint":"\\iiint"),u=T.makeSymbol(s.name,f,"math",e,["mop","op-symbol",l?"large-op":"small-op"]),d.length>0){var p=u.italic,g=T.staticSvg(d+"Size"+(l?"2":"1"),e);u=T.makeVList({positionType:"individualShift",children:[{type:"elem",elem:u,shift:0},{type:"elem",elem:g,shift:l?.08:0}]},e),s.name="\\"+d,u.classes.unshift("mop"),u.italic=p}}else if(s.body){var w=He(s.body,e,!0);w.length===1&&w[0]instanceof yt?(u=w[0],u.classes[0]="mop"):u=T.makeSpan(["mop"],w,e)}else{for(var A=[],q=1;q{var r;if(t.symbol)r=new vt("mo",[wt(t.name,t.mode)]),Q.contains(c1,t.name)&&r.setAttribute("largeop","false");else if(t.body)r=new vt("mo",rt(t.body,e));else{r=new vt("mi",[new fr(t.name.slice(1))]);var n=new vt("mo",[wt("⁡","text")]);t.parentIsSupSub?r=new vt("mrow",[r,n]):r=Po([r,n])}return r},_2={"∏":"\\prod","∐":"\\coprod","∑":"\\sum","⋀":"\\bigwedge","⋁":"\\bigvee","⋂":"\\bigcap","⋃":"\\bigcup","⨀":"\\bigodot","⨁":"\\bigoplus","⨂":"\\bigotimes","⨄":"\\biguplus","⨆":"\\bigsqcup"};U({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:n}=t,a=n;return a.length===1&&(a=_2[a]),{type:"op",mode:r.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:a}},htmlBuilder:X0,mathmlBuilder:Cr});U({type:"op",names:["\\mathop"],props:{numArgs:1,primitive:!0},handler:(t,e)=>{var{parser:r}=t,n=e[0];return{type:"op",mode:r.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:Re(n)}},htmlBuilder:X0,mathmlBuilder:Cr});var D2={"∫":"\\int","∬":"\\iint","∭":"\\iiint","∮":"\\oint","∯":"\\oiint","∰":"\\oiiint"};U({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:X0,mathmlBuilder:Cr});U({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:X0,mathmlBuilder:Cr});U({type:"op",names:["\\int","\\iint","\\iiint","\\oint","\\oiint","\\oiiint","∫","∬","∭","∮","∯","∰"],props:{numArgs:0},handler(t){var{parser:e,funcName:r}=t,n=r;return n.length===1&&(n=D2[n]),{type:"op",mode:e.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:n}},htmlBuilder:X0,mathmlBuilder:Cr});var h1=(t,e)=>{var r,n,a=!1,s;t.type==="supsub"?(r=t.sup,n=t.sub,s=fe(t.base,"operatorname"),a=!0):s=fe(t,"operatorname");var i;if(s.body.length>0){for(var l=s.body.map(p=>{var g=p.text;return typeof g=="string"?{type:"textord",mode:p.mode,text:g}:p}),u=He(l,e.withFont("mathrm"),!0),f=0;f{for(var r=rt(t.body,e.withFont("mathrm")),n=!0,a=0;ad.toText()).join("");r=[new O.TextNode(l)]}var u=new O.MathNode("mi",r);u.setAttribute("mathvariant","normal");var f=new O.MathNode("mo",[wt("⁡","text")]);return t.parentIsSupSub?new O.MathNode("mrow",[u,f]):O.newDocumentFragment([u,f])};U({type:"operatorname",names:["\\operatorname@","\\operatornamewithlimits"],props:{numArgs:1},handler:(t,e)=>{var{parser:r,funcName:n}=t,a=e[0];return{type:"operatorname",mode:r.mode,body:Re(a),alwaysHandleSupSub:n==="\\operatornamewithlimits",limits:!1,parentIsSupSub:!1}},htmlBuilder:h1,mathmlBuilder:B2});m("\\operatorname","\\@ifstar\\operatornamewithlimits\\operatorname@");C0({type:"ordgroup",htmlBuilder(t,e){return t.semisimple?T.makeFragment(He(t.body,e,!1)):T.makeSpan(["mord"],He(t.body,e,!0),e)},mathmlBuilder(t,e){return m0(t.body,e,!0)}});U({type:"overline",names:["\\overline"],props:{numArgs:1},handler(t,e){var{parser:r}=t,n=e[0];return{type:"overline",mode:r.mode,body:n}},htmlBuilder(t,e){var r=pe(t.body,e.havingCrampedStyle()),n=T.makeLineSpan("overline-line",e),a=e.fontMetrics().defaultRuleThickness,s=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r},{type:"kern",size:3*a},{type:"elem",elem:n},{type:"kern",size:a}]},e);return T.makeSpan(["mord","overline"],[s],e)},mathmlBuilder(t,e){var r=new O.MathNode("mo",[new O.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new O.MathNode("mover",[Te(t.body,e),r]);return n.setAttribute("accent","true"),n}});U({type:"phantom",names:["\\phantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,n=e[0];return{type:"phantom",mode:r.mode,body:Re(n)}},htmlBuilder:(t,e)=>{var r=He(t.body,e.withPhantom(),!1);return T.makeFragment(r)},mathmlBuilder:(t,e)=>{var r=rt(t.body,e);return new O.MathNode("mphantom",r)}});U({type:"hphantom",names:["\\hphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,n=e[0];return{type:"hphantom",mode:r.mode,body:n}},htmlBuilder:(t,e)=>{var r=T.makeSpan([],[pe(t.body,e.withPhantom())]);if(r.height=0,r.depth=0,r.children)for(var n=0;n{var r=rt(Re(t.body),e),n=new O.MathNode("mphantom",r),a=new O.MathNode("mpadded",[n]);return a.setAttribute("height","0px"),a.setAttribute("depth","0px"),a}});U({type:"vphantom",names:["\\vphantom"],props:{numArgs:1,allowedInText:!0},handler:(t,e)=>{var{parser:r}=t,n=e[0];return{type:"vphantom",mode:r.mode,body:n}},htmlBuilder:(t,e)=>{var r=T.makeSpan(["inner"],[pe(t.body,e.withPhantom())]),n=T.makeSpan(["fix"],[]);return T.makeSpan(["mord","rlap"],[r,n],e)},mathmlBuilder:(t,e)=>{var r=rt(Re(t.body),e),n=new O.MathNode("mphantom",r),a=new O.MathNode("mpadded",[n]);return a.setAttribute("width","0px"),a}});U({type:"raisebox",names:["\\raisebox"],props:{numArgs:2,argTypes:["size","hbox"],allowedInText:!0},handler(t,e){var{parser:r}=t,n=fe(e[0],"size").value,a=e[1];return{type:"raisebox",mode:r.mode,dy:n,body:a}},htmlBuilder(t,e){var r=pe(t.body,e),n=De(t.dy,e);return T.makeVList({positionType:"shift",positionData:-n,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){var r=new O.MathNode("mpadded",[Te(t.body,e)]),n=t.dy.number+t.dy.unit;return r.setAttribute("voffset",n),r}});U({type:"internal",names:["\\relax"],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:e}=t;return{type:"internal",mode:e.mode}}});U({type:"rule",names:["\\rule"],props:{numArgs:2,numOptionalArgs:1,argTypes:["size","size","size"]},handler(t,e,r){var{parser:n}=t,a=r[0],s=fe(e[0],"size"),i=fe(e[1],"size");return{type:"rule",mode:n.mode,shift:a&&fe(a,"size").value,width:s.value,height:i.value}},htmlBuilder(t,e){var r=T.makeSpan(["mord","rule"],[],e),n=De(t.width,e),a=De(t.height,e),s=t.shift?De(t.shift,e):0;return r.style.borderRightWidth=H(n),r.style.borderTopWidth=H(a),r.style.bottom=H(s),r.width=n,r.height=a+s,r.depth=-s,r.maxFontSize=a*1.125*e.sizeMultiplier,r},mathmlBuilder(t,e){var r=De(t.width,e),n=De(t.height,e),a=t.shift?De(t.shift,e):0,s=e.color&&e.getColor()||"black",i=new O.MathNode("mspace");i.setAttribute("mathbackground",s),i.setAttribute("width",H(r)),i.setAttribute("height",H(n));var l=new O.MathNode("mpadded",[i]);return a>=0?l.setAttribute("height",H(a)):(l.setAttribute("height",H(a)),l.setAttribute("depth",H(-a))),l.setAttribute("voffset",H(a)),l}});function f1(t,e,r){for(var n=He(t,e,!1),a=e.sizeMultiplier/r.sizeMultiplier,s=0;s{var r=e.havingSize(t.size);return f1(t.body,r,e)};U({type:"sizing",names:Ui,props:{numArgs:0,allowedInText:!0},handler:(t,e)=>{var{breakOnTokenText:r,funcName:n,parser:a}=t,s=a.parseExpression(!1,r);return{type:"sizing",mode:a.mode,size:Ui.indexOf(n)+1,body:s}},htmlBuilder:N2,mathmlBuilder:(t,e)=>{var r=e.havingSize(t.size),n=rt(t.body,r),a=new O.MathNode("mstyle",n);return a.setAttribute("mathsize",H(r.sizeMultiplier)),a}});U({type:"smash",names:["\\smash"],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(t,e,r)=>{var{parser:n}=t,a=!1,s=!1,i=r[0]&&fe(r[0],"ordgroup");if(i)for(var l="",u=0;u{var r=T.makeSpan([],[pe(t.body,e)]);if(!t.smashHeight&&!t.smashDepth)return r;if(t.smashHeight&&(r.height=0,r.children))for(var n=0;n{var r=new O.MathNode("mpadded",[Te(t.body,e)]);return t.smashHeight&&r.setAttribute("height","0px"),t.smashDepth&&r.setAttribute("depth","0px"),r}});U({type:"sqrt",names:["\\sqrt"],props:{numArgs:1,numOptionalArgs:1},handler(t,e,r){var{parser:n}=t,a=r[0],s=e[0];return{type:"sqrt",mode:n.mode,body:s,index:a}},htmlBuilder(t,e){var r=pe(t.body,e.havingCrampedStyle());r.height===0&&(r.height=e.fontMetrics().xHeight),r=T.wrapFragment(r,e);var n=e.fontMetrics(),a=n.defaultRuleThickness,s=a;e.style.idr.height+r.depth+i&&(i=(i+p-r.height-r.depth)/2);var g=u.height-r.height-i-f;r.style.paddingLeft=H(d);var w=T.makeVList({positionType:"firstBaseline",children:[{type:"elem",elem:r,wrapperClasses:["svg-align"]},{type:"kern",size:-(r.height+g)},{type:"elem",elem:u},{type:"kern",size:f}]},e);if(t.index){var A=e.havingStyle(ne.SCRIPTSCRIPT),q=pe(t.index,A,e),E=.6*(w.height-w.depth),C=T.makeVList({positionType:"shift",positionData:-E,children:[{type:"elem",elem:q}]},e),L=T.makeSpan(["root"],[C]);return T.makeSpan(["mord","sqrt"],[L,w],e)}else return T.makeSpan(["mord","sqrt"],[w],e)},mathmlBuilder(t,e){var{body:r,index:n}=t;return n?new O.MathNode("mroot",[Te(r,e),Te(n,e)]):new O.MathNode("msqrt",[Te(r,e)])}});var Gi={display:ne.DISPLAY,text:ne.TEXT,script:ne.SCRIPT,scriptscript:ne.SCRIPTSCRIPT};U({type:"styling",names:["\\displaystyle","\\textstyle","\\scriptstyle","\\scriptscriptstyle"],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t,e){var{breakOnTokenText:r,funcName:n,parser:a}=t,s=a.parseExpression(!0,r),i=n.slice(1,n.length-5);return{type:"styling",mode:a.mode,style:i,body:s}},htmlBuilder(t,e){var r=Gi[t.style],n=e.havingStyle(r).withFont("");return f1(t.body,n,e)},mathmlBuilder(t,e){var r=Gi[t.style],n=e.havingStyle(r),a=rt(t.body,n),s=new O.MathNode("mstyle",a),i={display:["0","true"],text:["0","false"],script:["1","false"],scriptscript:["2","false"]},l=i[t.style];return s.setAttribute("scriptlevel",l[0]),s.setAttribute("displaystyle",l[1]),s}});var O2=function(e,r){var n=e.base;if(n)if(n.type==="op"){var a=n.limits&&(r.style.size===ne.DISPLAY.size||n.alwaysHandleSupSub);return a?X0:null}else if(n.type==="operatorname"){var s=n.alwaysHandleSupSub&&(r.style.size===ne.DISPLAY.size||n.limits);return s?h1:null}else{if(n.type==="accent")return Q.isCharacterBox(n.base)?ys:null;if(n.type==="horizBrace"){var i=!e.sub;return i===n.isOver?o1:null}else return null}else return null};C0({type:"supsub",htmlBuilder(t,e){var r=O2(t,e);if(r)return r(t,e);var{base:n,sup:a,sub:s}=t,i=pe(n,e),l,u,f=e.fontMetrics(),d=0,p=0,g=n&&Q.isCharacterBox(n);if(a){var w=e.havingStyle(e.style.sup());l=pe(a,w,e),g||(d=i.height-w.fontMetrics().supDrop*w.sizeMultiplier/e.sizeMultiplier)}if(s){var A=e.havingStyle(e.style.sub());u=pe(s,A,e),g||(p=i.depth+A.fontMetrics().subDrop*A.sizeMultiplier/e.sizeMultiplier)}var q;e.style===ne.DISPLAY?q=f.sup1:e.style.cramped?q=f.sup3:q=f.sup2;var E=e.sizeMultiplier,C=H(.5/f.ptPerEm/E),L=null;if(u){var S=t.base&&t.base.type==="op"&&t.base.name&&(t.base.name==="\\oiint"||t.base.name==="\\oiiint");(i instanceof yt||S)&&(L=H(-i.italic))}var M;if(l&&u){d=Math.max(d,q,l.depth+.25*f.xHeight),p=Math.max(p,f.sub2);var N=f.defaultRuleThickness,G=4*N;if(d-l.depth-(u.height-p)0&&(d+=W,p-=W)}var ee=[{type:"elem",elem:u,shift:p,marginRight:C,marginLeft:L},{type:"elem",elem:l,shift:-d,marginRight:C}];M=T.makeVList({positionType:"individualShift",children:ee},e)}else if(u){p=Math.max(p,f.sub1,u.height-.8*f.xHeight);var Y=[{type:"elem",elem:u,marginLeft:L,marginRight:C}];M=T.makeVList({positionType:"shift",positionData:p,children:Y},e)}else if(l)d=Math.max(d,q,l.depth+.25*f.xHeight),M=T.makeVList({positionType:"shift",positionData:-d,children:[{type:"elem",elem:l,marginRight:C}]},e);else throw new Error("supsub must have either sup or sub.");var te=_a(i,"right")||"mord";return T.makeSpan([te],[i,T.makeSpan(["msupsub"],[M])],e)},mathmlBuilder(t,e){var r=!1,n,a;t.base&&t.base.type==="horizBrace"&&(a=!!t.sup,a===t.base.isOver&&(r=!0,n=t.base.isOver)),t.base&&(t.base.type==="op"||t.base.type==="operatorname")&&(t.base.parentIsSupSub=!0);var s=[Te(t.base,e)];t.sub&&s.push(Te(t.sub,e)),t.sup&&s.push(Te(t.sup,e));var i;if(r)i=n?"mover":"munder";else if(t.sub)if(t.sup){var f=t.base;f&&f.type==="op"&&f.limits&&e.style===ne.DISPLAY||f&&f.type==="operatorname"&&f.alwaysHandleSupSub&&(e.style===ne.DISPLAY||f.limits)?i="munderover":i="msubsup"}else{var u=t.base;u&&u.type==="op"&&u.limits&&(e.style===ne.DISPLAY||u.alwaysHandleSupSub)||u&&u.type==="operatorname"&&u.alwaysHandleSupSub&&(u.limits||e.style===ne.DISPLAY)?i="munder":i="msub"}else{var l=t.base;l&&l.type==="op"&&l.limits&&(e.style===ne.DISPLAY||l.alwaysHandleSupSub)||l&&l.type==="operatorname"&&l.alwaysHandleSupSub&&(l.limits||e.style===ne.DISPLAY)?i="mover":i="msup"}return new O.MathNode(i,s)}});C0({type:"atom",htmlBuilder(t,e){return T.mathsym(t.text,t.mode,e,["m"+t.family])},mathmlBuilder(t,e){var r=new O.MathNode("mo",[wt(t.text,t.mode)]);if(t.family==="bin"){var n=vs(t,e);n==="bold-italic"&&r.setAttribute("mathvariant",n)}else t.family==="punct"?r.setAttribute("separator","true"):(t.family==="open"||t.family==="close")&&r.setAttribute("stretchy","false");return r}});var d1={mi:"italic",mn:"normal",mtext:"normal"};C0({type:"mathord",htmlBuilder(t,e){return T.makeOrd(t,e,"mathord")},mathmlBuilder(t,e){var r=new O.MathNode("mi",[wt(t.text,t.mode,e)]),n=vs(t,e)||"italic";return n!==d1[r.type]&&r.setAttribute("mathvariant",n),r}});C0({type:"textord",htmlBuilder(t,e){return T.makeOrd(t,e,"textord")},mathmlBuilder(t,e){var r=wt(t.text,t.mode,e),n=vs(t,e)||"normal",a;return t.mode==="text"?a=new O.MathNode("mtext",[r]):/[0-9]/.test(t.text)?a=new O.MathNode("mn",[r]):t.text==="\\prime"?a=new O.MathNode("mo",[r]):a=new O.MathNode("mi",[r]),n!==d1[a.type]&&a.setAttribute("mathvariant",n),a}});var la={"\\nobreak":"nobreak","\\allowbreak":"allowbreak"},oa={" ":{},"\\ ":{},"~":{className:"nobreak"},"\\space":{},"\\nobreakspace":{className:"nobreak"}};C0({type:"spacing",htmlBuilder(t,e){if(oa.hasOwnProperty(t.text)){var r=oa[t.text].className||"";if(t.mode==="text"){var n=T.makeOrd(t,e,"textord");return n.classes.push(r),n}else return T.makeSpan(["mspace",r],[T.mathsym(t.text,t.mode,e)],e)}else{if(la.hasOwnProperty(t.text))return T.makeSpan(["mspace",la[t.text]],[],e);throw new P('Unknown type of space "'+t.text+'"')}},mathmlBuilder(t,e){var r;if(oa.hasOwnProperty(t.text))r=new O.MathNode("mtext",[new O.TextNode(" ")]);else{if(la.hasOwnProperty(t.text))return new O.MathNode("mspace");throw new P('Unknown type of space "'+t.text+'"')}return r}});var Wi=()=>{var t=new O.MathNode("mtd",[]);return t.setAttribute("width","50%"),t};C0({type:"tag",mathmlBuilder(t,e){var r=new O.MathNode("mtable",[new O.MathNode("mtr",[Wi(),new O.MathNode("mtd",[m0(t.body,e)]),Wi(),new O.MathNode("mtd",[m0(t.tag,e)])])]);return r.setAttribute("width","100%"),r}});var ji={"\\text":void 0,"\\textrm":"textrm","\\textsf":"textsf","\\texttt":"texttt","\\textnormal":"textrm"},Ki={"\\textbf":"textbf","\\textmd":"textmd"},R2={"\\textit":"textit","\\textup":"textup"},Xi=(t,e)=>{var r=t.font;if(r){if(ji[r])return e.withTextFontFamily(ji[r]);if(Ki[r])return e.withTextFontWeight(Ki[r]);if(r==="\\emph")return e.fontShape==="textit"?e.withTextFontShape("textup"):e.withTextFontShape("textit")}else return e;return e.withTextFontShape(R2[r])};U({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:n}=t,a=e[0];return{type:"text",mode:r.mode,body:Re(a),font:n}},htmlBuilder(t,e){var r=Xi(t,e),n=He(t.body,r,!0);return T.makeSpan(["mord","text"],n,r)},mathmlBuilder(t,e){var r=Xi(t,e);return m0(t.body,r)}});U({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=pe(t.body,e),n=T.makeLineSpan("underline-line",e),a=e.fontMetrics().defaultRuleThickness,s=T.makeVList({positionType:"top",positionData:r.height,children:[{type:"kern",size:a},{type:"elem",elem:n},{type:"kern",size:3*a},{type:"elem",elem:r}]},e);return T.makeSpan(["mord","underline"],[s],e)},mathmlBuilder(t,e){var r=new O.MathNode("mo",[new O.TextNode("‾")]);r.setAttribute("stretchy","true");var n=new O.MathNode("munder",[Te(t.body,e),r]);return n.setAttribute("accentunder","true"),n}});U({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=pe(t.body,e),n=e.fontMetrics().axisHeight,a=.5*(r.height-n-(r.depth+n));return T.makeVList({positionType:"shift",positionData:a,children:[{type:"elem",elem:r}]},e)},mathmlBuilder(t,e){return new O.MathNode("mpadded",[Te(t.body,e)],["vcenter"])}});U({type:"verb",names:["\\verb"],props:{numArgs:0,allowedInText:!0},handler(t,e,r){throw new P("\\verb ended by end of line instead of matching delimiter")},htmlBuilder(t,e){for(var r=Yi(t),n=[],a=e.havingStyle(e.style.text()),s=0;st.body.replace(/ /g,t.star?"␣":" "),u0=Ro,m1=`[ \r + ]`,I2="\\\\[a-zA-Z@]+",P2="\\\\[^\uD800-\uDFFF]",H2="("+I2+")"+m1+"*",L2=`\\\\( |[ \r ]+ -?)[ \r ]*`,Na="[̀-ͯ]",F2=new RegExp(Na+"+$"),$2="("+m1+"+)|"+(L2+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(Na+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Na+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+P2)+("|"+H2+")");class Zi{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($2,"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 Ot("EOF",new ut(this,r,r));var n=this.tokenRegex.exec(e);if(n===null||n.index!==r)throw new H("Unexpected character: '"+e[r]+"'",new Ot(e[r],new ut(this,r,r+1)));var a=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[a]===14){var s=e.indexOf(` -`,this.tokenRegex.lastIndex);return s===-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=s+1,this.lex()}return new Ot(a,new ut(this,r,this.tokenRegex.lastIndex))}}class V2{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 H("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,n){if(n===void 0&&(n=!1),n){for(var a=0;a0&&(this.undefStack[this.undefStack.length-1][e]=r)}else{var s=this.undefStack[this.undefStack.length-1];s&&!s.hasOwnProperty(e)&&(s[e]=this.current[e])}r==null?delete this.current[e]:this.current[e]=r}}var U2=n1;m("\\noexpand",function(t){var e=t.popToken();return t.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}});m("\\expandafter",function(t){var e=t.popToken();return t.expandOnce(!0),{tokens:[e],numArgs:0}});m("\\@firstoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[0],numArgs:0}});m("\\@secondoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[1],numArgs:0}});m("\\@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}});m("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");m("\\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};m("\\char",function(t){var e=t.popToken(),r,n="";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]==="\\")n=e.text.charCodeAt(1);else{if(e.text==="EOF")throw new H("\\char` missing argument");n=e.text.charCodeAt(0)}else r=10;if(r){if(n=Ji[e.text],n==null||n>=r)throw new H("Invalid base-"+r+" digit "+e.text);for(var a;(a=Ji[t.future().text])!=null&&a{var n=t.consumeArg().tokens;if(n.length!==1)throw new H("\\newcommand's first argument must be a macro name");var a=n[0].text,s=t.isDefined(a);if(s&&!e)throw new H("\\newcommand{"+a+"} attempting to redefine "+(a+"; use \\renewcommand"));if(!s&&!r)throw new H("\\renewcommand{"+a+"} when command "+a+" does not yet exist; use \\newcommand");var i=0;if(n=t.consumeArg().tokens,n.length===1&&n[0].text==="["){for(var l="",u=t.expandNextToken();u.text!=="]"&&u.text!=="EOF";)l+=u.text,u=t.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new H("Invalid number of arguments: "+l);i=parseInt(l),n=t.consumeArg().tokens}return t.macros.set(a,{tokens:n,numArgs:i}),""};m("\\newcommand",t=>Cs(t,!1,!0));m("\\renewcommand",t=>Cs(t,!0,!1));m("\\providecommand",t=>Cs(t,!0,!0));m("\\message",t=>{var e=t.consumeArgs(1)[0];return console.log(e.reverse().map(r=>r.text).join("")),""});m("\\errmessage",t=>{var e=t.consumeArgs(1)[0];return console.error(e.reverse().map(r=>r.text).join("")),""});m("\\show",t=>{var e=t.popToken(),r=e.text;return console.log(e,t.macros.get(r),u0[r],Ce.math[r],Ce.text[r]),""});m("\\bgroup","{");m("\\egroup","}");m("~","\\nobreakspace");m("\\lq","`");m("\\rq","'");m("\\aa","\\r a");m("\\AA","\\r A");m("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");m("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");m("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");m("ℬ","\\mathscr{B}");m("ℰ","\\mathscr{E}");m("ℱ","\\mathscr{F}");m("ℋ","\\mathscr{H}");m("ℐ","\\mathscr{I}");m("ℒ","\\mathscr{L}");m("ℳ","\\mathscr{M}");m("ℛ","\\mathscr{R}");m("ℭ","\\mathfrak{C}");m("ℌ","\\mathfrak{H}");m("ℨ","\\mathfrak{Z}");m("\\Bbbk","\\Bbb{k}");m("·","\\cdotp");m("\\llap","\\mathllap{\\textrm{#1}}");m("\\rlap","\\mathrlap{\\textrm{#1}}");m("\\clap","\\mathclap{\\textrm{#1}}");m("\\mathstrut","\\vphantom{(}");m("\\underbar","\\underline{\\text{#1}}");m("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');m("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");m("\\ne","\\neq");m("≠","\\neq");m("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");m("∉","\\notin");m("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");m("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");m("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");m("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");m("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");m("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");m("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");m("⟂","\\perp");m("‼","\\mathclose{!\\mkern-0.8mu!}");m("∌","\\notni");m("⌜","\\ulcorner");m("⌝","\\urcorner");m("⌞","\\llcorner");m("⌟","\\lrcorner");m("©","\\copyright");m("®","\\textregistered");m("️","\\textregistered");m("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');m("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');m("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');m("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');m("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}");m("⋮","\\vdots");m("\\varGamma","\\mathit{\\Gamma}");m("\\varDelta","\\mathit{\\Delta}");m("\\varTheta","\\mathit{\\Theta}");m("\\varLambda","\\mathit{\\Lambda}");m("\\varXi","\\mathit{\\Xi}");m("\\varPi","\\mathit{\\Pi}");m("\\varSigma","\\mathit{\\Sigma}");m("\\varUpsilon","\\mathit{\\Upsilon}");m("\\varPhi","\\mathit{\\Phi}");m("\\varPsi","\\mathit{\\Psi}");m("\\varOmega","\\mathit{\\Omega}");m("\\substack","\\begin{subarray}{c}#1\\end{subarray}");m("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");m("\\boxed","\\fbox{$\\displaystyle{#1}$}");m("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");m("\\implies","\\DOTSB\\;\\Longrightarrow\\;");m("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Qi={",":"\\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"};m("\\dots",function(t){var e="\\dotso",r=t.expandAfterFuture().text;return r in Qi?e=Qi[r]:(r.slice(0,4)==="\\not"||r in Ce.math&&Q.contains(["bin","rel"],Ce.math[r].group))&&(e="\\dotsb"),e});var zs={")":!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};m("\\dotso",function(t){var e=t.future().text;return e in zs?"\\ldots\\,":"\\ldots"});m("\\dotsc",function(t){var e=t.future().text;return e in zs&&e!==","?"\\ldots\\,":"\\ldots"});m("\\cdots",function(t){var e=t.future().text;return e in zs?"\\@cdots\\,":"\\@cdots"});m("\\dotsb","\\cdots");m("\\dotsm","\\cdots");m("\\dotsi","\\!\\cdots");m("\\dotsx","\\ldots\\,");m("\\DOTSI","\\relax");m("\\DOTSB","\\relax");m("\\DOTSX","\\relax");m("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");m("\\,","\\tmspace+{3mu}{.1667em}");m("\\thinspace","\\,");m("\\>","\\mskip{4mu}");m("\\:","\\tmspace+{4mu}{.2222em}");m("\\medspace","\\:");m("\\;","\\tmspace+{5mu}{.2777em}");m("\\thickspace","\\;");m("\\!","\\tmspace-{3mu}{.1667em}");m("\\negthinspace","\\!");m("\\negmedspace","\\tmspace-{4mu}{.2222em}");m("\\negthickspace","\\tmspace-{5mu}{.277em}");m("\\enspace","\\kern.5em ");m("\\enskip","\\hskip.5em\\relax");m("\\quad","\\hskip1em\\relax");m("\\qquad","\\hskip2em\\relax");m("\\tag","\\@ifstar\\tag@literal\\tag@paren");m("\\tag@paren","\\tag@literal{({#1})}");m("\\tag@literal",t=>{if(t.macros.get("\\df@tag"))throw new H("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});m("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");m("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");m("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");m("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");m("\\newline","\\\\\\relax");m("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var p1=P(Bt["Main-Regular"][84][1]-.7*Bt["Main-Regular"][65][1]);m("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+p1+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");m("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+p1+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");m("\\hspace","\\@ifstar\\@hspacer\\@hspace");m("\\@hspace","\\hskip #1\\relax");m("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");m("\\ordinarycolon",":");m("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");m("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');m("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');m("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');m("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');m("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');m("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');m("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');m("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');m("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');m("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');m("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');m("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');m("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');m("∷","\\dblcolon");m("∹","\\eqcolon");m("≔","\\coloneqq");m("≕","\\eqqcolon");m("⩴","\\Coloneqq");m("\\ratio","\\vcentcolon");m("\\coloncolon","\\dblcolon");m("\\colonequals","\\coloneqq");m("\\coloncolonequals","\\Coloneqq");m("\\equalscolon","\\eqqcolon");m("\\equalscoloncolon","\\Eqqcolon");m("\\colonminus","\\coloneq");m("\\coloncolonminus","\\Coloneq");m("\\minuscolon","\\eqcolon");m("\\minuscoloncolon","\\Eqcolon");m("\\coloncolonapprox","\\Colonapprox");m("\\coloncolonsim","\\Colonsim");m("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");m("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");m("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");m("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");m("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");m("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");m("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");m("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");m("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");m("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");m("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");m("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");m("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");m("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");m("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");m("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");m("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");m("\\nleqq","\\html@mathml{\\@nleqq}{≰}");m("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");m("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");m("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");m("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");m("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");m("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");m("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");m("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");m("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");m("\\imath","\\html@mathml{\\@imath}{ı}");m("\\jmath","\\html@mathml{\\@jmath}{ȷ}");m("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");m("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");m("⟦","\\llbracket");m("⟧","\\rrbracket");m("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");m("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");m("⦃","\\lBrace");m("⦄","\\rBrace");m("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");m("⦵","\\minuso");m("\\darr","\\downarrow");m("\\dArr","\\Downarrow");m("\\Darr","\\Downarrow");m("\\lang","\\langle");m("\\rang","\\rangle");m("\\uarr","\\uparrow");m("\\uArr","\\Uparrow");m("\\Uarr","\\Uparrow");m("\\N","\\mathbb{N}");m("\\R","\\mathbb{R}");m("\\Z","\\mathbb{Z}");m("\\alef","\\aleph");m("\\alefsym","\\aleph");m("\\Alpha","\\mathrm{A}");m("\\Beta","\\mathrm{B}");m("\\bull","\\bullet");m("\\Chi","\\mathrm{X}");m("\\clubs","\\clubsuit");m("\\cnums","\\mathbb{C}");m("\\Complex","\\mathbb{C}");m("\\Dagger","\\ddagger");m("\\diamonds","\\diamondsuit");m("\\empty","\\emptyset");m("\\Epsilon","\\mathrm{E}");m("\\Eta","\\mathrm{H}");m("\\exist","\\exists");m("\\harr","\\leftrightarrow");m("\\hArr","\\Leftrightarrow");m("\\Harr","\\Leftrightarrow");m("\\hearts","\\heartsuit");m("\\image","\\Im");m("\\infin","\\infty");m("\\Iota","\\mathrm{I}");m("\\isin","\\in");m("\\Kappa","\\mathrm{K}");m("\\larr","\\leftarrow");m("\\lArr","\\Leftarrow");m("\\Larr","\\Leftarrow");m("\\lrarr","\\leftrightarrow");m("\\lrArr","\\Leftrightarrow");m("\\Lrarr","\\Leftrightarrow");m("\\Mu","\\mathrm{M}");m("\\natnums","\\mathbb{N}");m("\\Nu","\\mathrm{N}");m("\\Omicron","\\mathrm{O}");m("\\plusmn","\\pm");m("\\rarr","\\rightarrow");m("\\rArr","\\Rightarrow");m("\\Rarr","\\Rightarrow");m("\\real","\\Re");m("\\reals","\\mathbb{R}");m("\\Reals","\\mathbb{R}");m("\\Rho","\\mathrm{P}");m("\\sdot","\\cdot");m("\\sect","\\S");m("\\spades","\\spadesuit");m("\\sub","\\subset");m("\\sube","\\subseteq");m("\\supe","\\supseteq");m("\\Tau","\\mathrm{T}");m("\\thetasym","\\vartheta");m("\\weierp","\\wp");m("\\Zeta","\\mathrm{Z}");m("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");m("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");m("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");m("\\bra","\\mathinner{\\langle{#1}|}");m("\\ket","\\mathinner{|{#1}\\rangle}");m("\\braket","\\mathinner{\\langle{#1}\\rangle}");m("\\Bra","\\left\\langle#1\\right|");m("\\Ket","\\left|#1\\right\\rangle");var g1=t=>e=>{var r=e.consumeArg().tokens,n=e.consumeArg().tokens,a=e.consumeArg().tokens,s=e.consumeArg().tokens,i=e.macros.get("|"),l=e.macros.get("\\|");e.macros.beginGroup();var u=p=>g=>{t&&(g.macros.set("|",i),a.length&&g.macros.set("\\|",l));var w=p;if(!p&&a.length){var A=g.future();A.text==="|"&&(g.popToken(),w=!0)}return{tokens:w?a:n,numArgs:0}};e.macros.set("|",u(!1)),a.length&&e.macros.set("\\|",u(!0));var f=e.consumeArg().tokens,d=e.expandTokens([...s,...f,...r]);return e.macros.endGroup(),{tokens:d.reverse(),numArgs:0}};m("\\bra@ket",g1(!1));m("\\bra@set",g1(!0));m("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");m("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");m("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");m("\\angln","{\\angl n}");m("\\blue","\\textcolor{##6495ed}{#1}");m("\\orange","\\textcolor{##ffa500}{#1}");m("\\pink","\\textcolor{##ff00af}{#1}");m("\\red","\\textcolor{##df0030}{#1}");m("\\green","\\textcolor{##28ae7b}{#1}");m("\\gray","\\textcolor{gray}{#1}");m("\\purple","\\textcolor{##9d38bd}{#1}");m("\\blueA","\\textcolor{##ccfaff}{#1}");m("\\blueB","\\textcolor{##80f6ff}{#1}");m("\\blueC","\\textcolor{##63d9ea}{#1}");m("\\blueD","\\textcolor{##11accd}{#1}");m("\\blueE","\\textcolor{##0c7f99}{#1}");m("\\tealA","\\textcolor{##94fff5}{#1}");m("\\tealB","\\textcolor{##26edd5}{#1}");m("\\tealC","\\textcolor{##01d1c1}{#1}");m("\\tealD","\\textcolor{##01a995}{#1}");m("\\tealE","\\textcolor{##208170}{#1}");m("\\greenA","\\textcolor{##b6ffb0}{#1}");m("\\greenB","\\textcolor{##8af281}{#1}");m("\\greenC","\\textcolor{##74cf70}{#1}");m("\\greenD","\\textcolor{##1fab54}{#1}");m("\\greenE","\\textcolor{##0d923f}{#1}");m("\\goldA","\\textcolor{##ffd0a9}{#1}");m("\\goldB","\\textcolor{##ffbb71}{#1}");m("\\goldC","\\textcolor{##ff9c39}{#1}");m("\\goldD","\\textcolor{##e07d10}{#1}");m("\\goldE","\\textcolor{##a75a05}{#1}");m("\\redA","\\textcolor{##fca9a9}{#1}");m("\\redB","\\textcolor{##ff8482}{#1}");m("\\redC","\\textcolor{##f9685d}{#1}");m("\\redD","\\textcolor{##e84d39}{#1}");m("\\redE","\\textcolor{##bc2612}{#1}");m("\\maroonA","\\textcolor{##ffbde0}{#1}");m("\\maroonB","\\textcolor{##ff92c6}{#1}");m("\\maroonC","\\textcolor{##ed5fa6}{#1}");m("\\maroonD","\\textcolor{##ca337c}{#1}");m("\\maroonE","\\textcolor{##9e034e}{#1}");m("\\purpleA","\\textcolor{##ddd7ff}{#1}");m("\\purpleB","\\textcolor{##c6b9fc}{#1}");m("\\purpleC","\\textcolor{##aa87ff}{#1}");m("\\purpleD","\\textcolor{##7854ab}{#1}");m("\\purpleE","\\textcolor{##543b78}{#1}");m("\\mintA","\\textcolor{##f5f9e8}{#1}");m("\\mintB","\\textcolor{##edf2df}{#1}");m("\\mintC","\\textcolor{##e0e5cc}{#1}");m("\\grayA","\\textcolor{##f6f7f7}{#1}");m("\\grayB","\\textcolor{##f0f1f2}{#1}");m("\\grayC","\\textcolor{##e3e5e6}{#1}");m("\\grayD","\\textcolor{##d6d8da}{#1}");m("\\grayE","\\textcolor{##babec2}{#1}");m("\\grayF","\\textcolor{##888d93}{#1}");m("\\grayG","\\textcolor{##626569}{#1}");m("\\grayH","\\textcolor{##3b3e40}{#1}");m("\\grayI","\\textcolor{##21242c}{#1}");m("\\kaBlue","\\textcolor{##314453}{#1}");m("\\kaGreen","\\textcolor{##71B307}{#1}");var v1={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class W2{constructor(e,r,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=r,this.expansionCount=0,this.feed(e),this.macros=new V2(U2,r.macros),this.mode=n,this.stack=[]}feed(e){this.lexer=new Zi(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,n,a;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:a,end:n}=this.consumeArg(["]"])}else({tokens:a,start:r,end:n}=this.consumeArg());return this.pushToken(new Ot("EOF",n.loc)),this.pushTokens(a),r.range(n,"")}consumeSpaces(){for(;;){var e=this.future();if(e.text===" ")this.stack.pop();else break}}consumeArg(e){var r=[],n=e&&e.length>0;n||this.consumeSpaces();var a=this.future(),s,i=0,l=0;do{if(s=this.popToken(),r.push(s),s.text==="{")++i;else if(s.text==="}"){if(--i,i===-1)throw new H("Extra }",s)}else if(s.text==="EOF")throw new H("Unexpected end of input in a macro argument, expected '"+(e&&n?e[l]:"}")+"'",s);if(e&&n)if((i===0||i===1&&e[l]==="{")&&s.text===e[l]){if(++l,l===e.length){r.splice(-l,l);break}}else l=0}while(i!==0||n);return a.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:a,end:s}}consumeArgs(e,r){if(r){if(r.length!==e+1)throw new H("The length of delimiters doesn't match the number of args!");for(var n=r[0],a=0;athis.settings.maxExpand)throw new H("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var r=this.popToken(),n=r.text,a=r.noexpand?null:this._getExpansion(n);if(a==null||e&&a.unexpandable){if(e&&a==null&&n[0]==="\\"&&!this.isDefined(n))throw new H("Undefined control sequence: "+n);return this.pushToken(r),!1}this.countExpansion(1);var s=a.tokens,i=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs){s=s.slice();for(var l=s.length-1;l>=0;--l){var u=s[l];if(u.text==="#"){if(l===0)throw new H("Incomplete placeholder at end of macro body",u);if(u=s[--l],u.text==="#")s.splice(l+1,1);else if(/^[1-9]$/.test(u.text))s.splice(l,2,...i[+u.text-1]);else throw new H("Not a valid argument number",u)}}}return this.pushTokens(s),s.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 Ot(e)]):void 0}expandTokens(e){var r=[],n=this.stack.length;for(this.pushTokens(e);this.stack.length>n;)if(this.expandOnce(!0)===!1){var a=this.stack.pop();a.treatAsRelax&&(a.noexpand=!1,a.treatAsRelax=!1),r.push(a)}return this.countExpansion(r.length),r}expandMacroAsText(e){var r=this.expandMacro(e);return r&&r.map(n=>n.text).join("")}_getExpansion(e){var r=this.macros.get(e);if(r==null)return r;if(e.length===1){var n=this.lexer.catcodes[e];if(n!=null&&n!==13)return}var a=typeof r=="function"?r(this):r;if(typeof a=="string"){var s=0;if(a.indexOf("#")!==-1)for(var i=a.replace(/##/g,"");i.indexOf("#"+(s+1))!==-1;)++s;for(var l=new Zi(a,this.settings),u=[],f=l.lex();f.text!=="EOF";)u.push(f),f=l.lex();u.reverse();var d={tokens:u,numArgs:s};return d}return a}isDefined(e){return this.macros.has(e)||u0.hasOwnProperty(e)||Ce.math.hasOwnProperty(e)||Ce.text.hasOwnProperty(e)||v1.hasOwnProperty(e)}isExpandable(e){var r=this.macros.get(e);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:u0.hasOwnProperty(e)&&!u0[e].primitive}}var el=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,jr=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),oa={"́":{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"}},tl={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class Rn{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 W2(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 H("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 Ot("}")),this.gullet.pushTokens(e);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,n}parseExpression(e,r){for(var n=[];;){this.mode==="math"&&this.consumeSpaces();var a=this.fetch();if(Rn.endOfExpression.indexOf(a.text)!==-1||r&&a.text===r||e&&u0[a.text]&&u0[a.text].infix)break;var s=this.parseAtom(r);if(s){if(s.type==="internal")continue}else break;n.push(s)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(e){for(var r=-1,n,a=0;a=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',e);var l=Ce[this.mode][r].group,u=ut.range(e),f;if(Bh.hasOwnProperty(l)){var d=l;f={type:"atom",mode:this.mode,family:d,loc:u,text:r}}else f={type:l,mode:this.mode,loc:u,text:r};i=f}else if(r.charCodeAt(0)>=128)this.settings.strict&&(Ao(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)),i={type:"textord",mode:"text",loc:ut.range(e),text:r};else return null;if(this.consume(),s)for(var p=0;p0;){if(n>=t.length)throw new Ne("Unmatched curly brackets");t[n].eq(mr)?r+=1:t[n].eq(rn)&&(r-=1),n+=1}return n-1}function J2(t,e){Xe(t[e].eq(Ra));let r=1,n=e+1;for(;r>0;){if(n>=t.length)throw new Ne("Unmatched square brackets");t[n].eq(Ra)?r+=1:t[n].eq(uf)&&(r-=1),n+=1}return n-1}function w1(t){return"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".includes(t)}function rl(t){return"0123456789".includes(t)}function ua(t,e){let r=e;for(;r0;){if(n>=t.length)return-1;t[n].eq(Ia)?r+=1:t[n].eq(cf)&&(r-=1),n+=1}return n-1}function tf(t,e){let r=1,n=e;for(;r>0;){if(n>=t.length)return-1;t[n].eq(Ha)?r+=1:t[n].eq(hf)&&(r-=1),n+=1}return n-1}function rf(t,e){Xe(t[e]==="{");let r=1,n=e+1;for(;r>0;){if(n>=t.length)throw new Ne("Unmatched curly brackets");if(n+1=t.length)throw new Ne("Expecting command name after \\");const s=t.slice(r,r+2);if(["\\\\","\\,"].includes(s))a=new Se(6,s);else if(["\\{","\\}","\\%","\\$","\\&","\\#","\\_"].includes(s))a=new Se(0,s);else{const i=Q2(t,r+1);a=new Se(1,"\\"+i)}r+=a.value.length;break}default:{if(rl(n)){let s=r;for(;s!.,;?()[]|".includes(n)?a=new Se(0,n):a=new Se(7,n);r+=a.value.length}}if(e.push(a),a.type===1&&["\\text","\\operatorname","\\begin","\\end"].includes(a.value)){if(r>=t.length||t[r]!=="{")throw new Ne(`No content for ${a.value} command`);e.push(new Se(6,"{"));const s=rf(t,r);r++;let i=t.slice(r,s);const l=["{","}","\\","$","&","#","_","%"];for(const u of l)i=i.replaceAll("\\"+u,u);e.push(new Se(2,i)),e.push(new Se(6,"}")),r=s+1}}return e}function nf(t){const e=n=>n.eq(Pa)||n.eq(La);let r=[];for(let n=0;n=0&&e(t[n-1])||r.push(t[n]);return r}function af(t,e){let r=[];for(const n of t)if(n.type===1&&e[n.value]){const a=x1(e[n.value]);r=r.concat(a)}else r.push(n);return r}function sf(t,e){const r=new ff;let n=x1(t);return n=nf(n),n=af(n,e),r.parse(n)}var lf=["sqrt","text","bar","bold","boldsymbol","ddot","dot","hat","mathbb","mathbf","mathcal","mathfrak","mathit","mathrm","mathscr","mathsf","mathtt","operatorname","overbrace","overline","pmb","rm","tilde","underbrace","underline","vec","widehat","widetilde"],of=["frac","tfrac","binom","dbinom","dfrac","tbinom"];class Se{constructor(e,r){dt(this,"type");dt(this,"value");this.type=e,this.value=r}eq(e){return this.type===e.type&&this.value===e.value}}var Kr={type:"empty",content:""},mr=new Se(6,"{"),rn=new Se(6,"}"),Ra=new Se(0,"["),uf=new Se(0,"]"),Ia=new Se(1,"\\left"),cf=new Se(1,"\\right"),Ha=new Se(1,"\\begin"),hf=new Se(1,"\\end");class Ne extends Error{constructor(e){super(e),this.name="LatexParserError"}}var Pa=new Se(6,"_"),La=new Se(6,"^");class ff{constructor(e=!1,r=!0){dt(this,"space_sensitive");dt(this,"newline_sensitive");this.space_sensitive=e,this.newline_sensitive=r}parse(e){const r=[];let n=0;for(;n0))throw new Ne("Double superscript")}else if(a0)throw new Ne("Double superscript");if(a0))throw new Ne("Double superscript")}if(s!==null||i!==null||l>0){const u={base:n};if(s&&(u.sub=s),l>0){u.sup={type:"ordgroup",content:"",args:[]};for(let f=0;f=e.length)throw new Ne("Expecting content for \\text command");return Xe(e[a].eq(mr)),Xe(e[a+1].type===2),Xe(e[a+2].eq(rn)),[{type:"text",content:e[a+1].value},a+3]}let[i,l]=this.parseNextExprWithoutSupSub(e,a);return[{type:"unaryFunc",content:n,args:[i]},l]}case 2:{const[i,l]=this.parseNextExprWithoutSupSub(e,a),[u,f]=this.parseNextExprWithoutSupSub(e,l);return[{type:"binaryFunc",content:n,args:[i,u]},f]}default:throw new Error("Invalid number of parameters")}}parseLeftRightExpr(e,r){Xe(e[r].eq(Ia));let n=r+1;if(n+=ua(e,n).length,n>=e.length)throw new Ne("Expecting delimiter after \\left");const a=nl(e,n);if(a===null)throw new Ne("Invalid delimiter after \\left");n++;const s=n,i=ef(e,n);if(i===-1)throw new Ne("No matching \\right");const l=i;if(n=i+1,n+=ua(e,n).length,n>=e.length)throw new Ne("Expecting \\right after \\left");const u=nl(e,n);if(u===null)throw new Ne("Invalid delimiter after \\right");n++;const f=e.slice(s,l),d=this.parse(f);return[{type:"leftright",content:"",args:[{type:"element",content:a.value},d,{type:"element",content:u.value}]},n]}parseBeginEndExpr(e,r){Xe(e[r].eq(Ha));let n=r+1;Xe(e[n].eq(mr)),Xe(e[n+1].type===2),Xe(e[n+2].eq(rn));const a=e[n+1].value;n+=3,n+=ua(e,n).length;const s=n,i=tf(e,n);if(i===-1)throw new Ne("No matching \\end");const l=i;if(n=i+1,Xe(e[n].eq(mr)),Xe(e[n+1].type===2),Xe(e[n+2].eq(rn)),e[n+1].value!==a)throw new Ne("Mismatched \\begin and \\end environments");n+=3;const u=e.slice(s,l);for(;u.length>0&&[4,5].includes(u[u.length-1].type);)u.pop();const f=this.parseAligned(u);return[{type:"beginend",content:a,data:f},n]}parseAligned(e){let r=0;const n=[];let a=[];n.push(a);let s={type:"ordgroup",content:"",args:[]};for(a.push(s);rn.map(Ke));return t.content.startsWith("align")?{type:"align",content:"",data:r}:{type:"matrix",content:"mat",data:r}}case"unknownMacro":return{type:"unknown",content:nr(t.content)};case"control":if(t.content==="\\\\")return{type:"symbol",content:"\\"};if(t.content==="\\,")return{type:"symbol",content:"thin"};throw new W0(`Unknown control sequence: ${t.content}`,t);default:throw new W0(`Unimplemented node type: ${t.type}`,t)}}function nr(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 Oa.has(e)?Oa.get(e):e}return t}var df=["dim","id","im","mod","Pr","sech","csch"];class W0 extends Error{constructor(r,n){super(r);dt(this,"node");this.name="TypstWriterError",this.node=n}}class mf{constructor(e,r){dt(this,"nonStrict");dt(this,"preferTypstIntrinsic");dt(this,"buffer","");dt(this,"queue",[]);dt(this,"needSpaceAfterSingleItemScript",!1);dt(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){switch(e.type){case"empty":break;case"atom":{e.content===","&&this.insideFunctionDepth>0?this.queue.push({type:"symbol",content:"comma"}):this.queue.push({type:"atom",content:e.content});break}case"symbol":case"text":case"comment":case"newline":this.queue.push(e);break;case"group":for(const r of e.args)this.append(r);break;case"supsub":{let{base:r,sup:n,sub:a}=e.data;this.appendWithBracketsIfNeeded(r);let s=!1;const i=n&&n.type==="atom"&&n.content==="'";i&&(this.queue.push({type:"atom",content:"'"}),s=!1),a&&(this.queue.push({type:"atom",content:"_"}),s=this.appendWithBracketsIfNeeded(a)),n&&!i&&(this.queue.push({type:"atom",content:"^"}),s=this.appendWithBracketsIfNeeded(n)),s&&this.queue.push({type:"softSpace",content:""});break}case"binaryFunc":{const r={type:"symbol",content:e.content},[n,a]=e.args;this.queue.push(r),this.insideFunctionDepth++,this.queue.push({type:"atom",content:"("}),this.append(n),this.queue.push({type:"atom",content:","}),this.append(a),this.queue.push({type:"atom",content:")"}),this.insideFunctionDepth--;break}case"unaryFunc":{const r={type:"symbol",content:e.content},n=e.args[0];this.queue.push(r),this.insideFunctionDepth++,this.queue.push({type:"atom",content:"("}),this.append(n),this.queue.push({type:"atom",content:")"}),this.insideFunctionDepth--;break}case"align":{const r=e.data;r.forEach((n,a)=>{n.forEach((s,i)=>{i>0&&this.queue.push({type:"atom",content:"&"}),this.append(s)}),a{n.forEach((s,i)=>{this.append(s),i{let r="";switch(e.type){case"atom":case"symbol":r=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 W0(`Unexpected node type to stringify: ${e.type}`,e)}r!==""&&this.writeBuffer(r)}),this.queue=[]}finalize(){this.flushQueue();const a=[function(s){let i=s.replace(/⌊\s*(.*?)\s*⌋/g,"floor($1)");return i=i.replace(/floor\(\)/g,'floor("")'),i},function(s){let i=s.replace(/⌈\s*(.*?)\s*⌉/g,"ceil($1)");return i=i.replace(/ceil\(\)/g,'ceil("")'),i},function(s){let i=s.replace(/⌊\s*(.*?)\s*⌉/g,"round($1)");return i=i.replace(/round\(\)/g,'round("")'),i}];for(const s of a)this.buffer=s(this.buffer);return this.buffer}}function pf(t,e){const r={nonStrict:!0,preferTypstIntrinsic:!0,customTexMacros:{}};e&&(e.nonStrict&&(r.nonStrict=e.nonStrict),e.preferTypstIntrinsic&&(r.preferTypstIntrinsic=e.preferTypstIntrinsic),e.customTexMacros&&(r.customTexMacros=e.customTexMacros));const n=sf(t,r.customTexMacros),a=Ke(n),s=new mf(r.nonStrict,r.preferTypstIntrinsic);return s.append(a),s.finalize()}const S1={"\\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 gf(t){let r=pf(t,{nonStrict:!0,preferTypstIntrinsic:!0,customTexMacros:S1});return r=r.replaceAll("upright(d)","dif"),r=r.replaceAll(" thin dif"," 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 vf(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(n){console.error("Fallback: Oops, unable to copy",n),r=!1}return document.body.removeChild(e),r}function bf(t){if(!navigator.clipboard){const e=vf(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 Ds=(t,e)=>{const r=t.__vccOpts||t;for(const[n,a]of e)r[n]=a;return r},yf=1300,wf={name:"CopiedToast",props:["msg"],data(){return{visible:!1}},methods:{trigger(){this.visible=!0,setTimeout(()=>{this.visible=!1},yf)}},expose:["trigger"]};function xf(t,e,r,n,a,s){return A0(),$0("div",{class:xn(a.visible?"snackbar show":"snackbar hide")},Ga(r.msg),3)}const Sf=Ds(wf,[["render",xf],["__scopeId","data-v-15e96db2"]]),kf={name:"ToggleSwitch",props:{initial:{type:Boolean,default:!1}},data(){return{checked:!1}},created(){this.checked=this.initial},expose:["checked"]},Tf={class:"switch"};function Mf(t,e,r,n,a,s){return A0(),$0("label",Tf,[Fl(oe("input",{type:"checkbox","onUpdate:modelValue":e[0]||(e[0]=i=>a.checked=i)},null,512),[[B4,a.checked]]),e[1]||(e[1]=oe("span",{class:"slider round"},null,-1))])}const Af=Ds(kf,[["render",Mf],["__scopeId","data-v-4ea9372f"]]),Cf={name:"SettingsDialog",props:{initial:{type:Object,default:()=>({optionShowPreview:!0})}},methods:{open(){this.$el.showModal()},close(){const t=this.$refs.toggleSwitch.checked;this.$el.close(),this.$emit("newSettings",{optionShowPreview:t})}},expose:["open","close"],emits:["newSettings"],components:{ToggleSwitch:Af}},zf={class:"min-h-80 min-w-80 bg-white rounded-lg shadow-lg"},_f={class:"flex justify-between items-center p-4"},Ef={class:"flex justify-between items-center p-4"};function Df(t,e,r,n,a,s){const i=yc("ToggleSwitch");return A0(),$0("dialog",zf,[oe("div",_f,[e[1]||(e[1]=oe("h2",null,"Settings",-1)),oe("button",{class:"text-xl",onClick:e[0]||(e[0]=l=>s.close())},"✕")]),oe("div",Ef,[e[2]||(e[2]=oe("span",null,"Show Preview",-1)),Qe(i,{ref:"toggleSwitch",initial:r.initial.optionShowPreview},null,8,["initial"])]),e[3]||(e[3]=oe("br",null,null,-1)),e[4]||(e[4]=oe("br",null,null,-1)),e[5]||(e[5]=oe("br",null,null,-1)),e[6]||(e[6]=oe("br",null,null,-1)),e[7]||(e[7]=oe("br",null,null,-1)),e[8]||(e[8]=oe("div",{style:{"max-width":"90%","text-align":"left",color:"gray","font-size":"small","margin-left":"10%"}}," (More customization features are under development...) ",-1))])}const qf=Ds(Cf,[["render",Df],["__scopeId","data-v-27ec7f90"]]);function Bf(t){let e=Math.floor(Math.random()*t);return e===t&&(e=0),e}const k1=[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 ]*`,Oa="[̀-ͯ]",F2=new RegExp(Oa+"+$"),$2="("+m1+"+)|"+(L2+"|")+"([!-\\[\\]-‧‪-퟿豈-￿]"+(Oa+"*")+"|[\uD800-\uDBFF][\uDC00-\uDFFF]"+(Oa+"*")+"|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5"+("|"+H2)+("|"+P2+")");class Zi{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($2,"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 Ot("EOF",new ut(this,r,r));var n=this.tokenRegex.exec(e);if(n===null||n.index!==r)throw new P("Unexpected character: '"+e[r]+"'",new Ot(e[r],new ut(this,r,r+1)));var a=n[6]||n[3]||(n[2]?"\\ ":" ");if(this.catcodes[a]===14){var s=e.indexOf(` +`,this.tokenRegex.lastIndex);return s===-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=s+1,this.lex()}return new Ot(a,new ut(this,r,this.tokenRegex.lastIndex))}}class V2{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 P("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,n){if(n===void 0&&(n=!1),n){for(var a=0;a0&&(this.undefStack[this.undefStack.length-1][e]=r)}else{var s=this.undefStack[this.undefStack.length-1];s&&!s.hasOwnProperty(e)&&(s[e]=this.current[e])}r==null?delete this.current[e]:this.current[e]=r}}var U2=n1;m("\\noexpand",function(t){var e=t.popToken();return t.isExpandable(e.text)&&(e.noexpand=!0,e.treatAsRelax=!0),{tokens:[e],numArgs:0}});m("\\expandafter",function(t){var e=t.popToken();return t.expandOnce(!0),{tokens:[e],numArgs:0}});m("\\@firstoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[0],numArgs:0}});m("\\@secondoftwo",function(t){var e=t.consumeArgs(2);return{tokens:e[1],numArgs:0}});m("\\@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}});m("\\@ifstar","\\@ifnextchar *{\\@firstoftwo{#1}}");m("\\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};m("\\char",function(t){var e=t.popToken(),r,n="";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]==="\\")n=e.text.charCodeAt(1);else{if(e.text==="EOF")throw new P("\\char` missing argument");n=e.text.charCodeAt(0)}else r=10;if(r){if(n=Ji[e.text],n==null||n>=r)throw new P("Invalid base-"+r+" digit "+e.text);for(var a;(a=Ji[t.future().text])!=null&&a{var n=t.consumeArg().tokens;if(n.length!==1)throw new P("\\newcommand's first argument must be a macro name");var a=n[0].text,s=t.isDefined(a);if(s&&!e)throw new P("\\newcommand{"+a+"} attempting to redefine "+(a+"; use \\renewcommand"));if(!s&&!r)throw new P("\\renewcommand{"+a+"} when command "+a+" does not yet exist; use \\newcommand");var i=0;if(n=t.consumeArg().tokens,n.length===1&&n[0].text==="["){for(var l="",u=t.expandNextToken();u.text!=="]"&&u.text!=="EOF";)l+=u.text,u=t.expandNextToken();if(!l.match(/^\s*[0-9]+\s*$/))throw new P("Invalid number of arguments: "+l);i=parseInt(l),n=t.consumeArg().tokens}return t.macros.set(a,{tokens:n,numArgs:i}),""};m("\\newcommand",t=>qs(t,!1,!0));m("\\renewcommand",t=>qs(t,!0,!1));m("\\providecommand",t=>qs(t,!0,!0));m("\\message",t=>{var e=t.consumeArgs(1)[0];return console.log(e.reverse().map(r=>r.text).join("")),""});m("\\errmessage",t=>{var e=t.consumeArgs(1)[0];return console.error(e.reverse().map(r=>r.text).join("")),""});m("\\show",t=>{var e=t.popToken(),r=e.text;return console.log(e,t.macros.get(r),u0[r],qe.math[r],qe.text[r]),""});m("\\bgroup","{");m("\\egroup","}");m("~","\\nobreakspace");m("\\lq","`");m("\\rq","'");m("\\aa","\\r a");m("\\AA","\\r A");m("\\textcopyright","\\html@mathml{\\textcircled{c}}{\\char`©}");m("\\copyright","\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}");m("\\textregistered","\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}");m("ℬ","\\mathscr{B}");m("ℰ","\\mathscr{E}");m("ℱ","\\mathscr{F}");m("ℋ","\\mathscr{H}");m("ℐ","\\mathscr{I}");m("ℒ","\\mathscr{L}");m("ℳ","\\mathscr{M}");m("ℛ","\\mathscr{R}");m("ℭ","\\mathfrak{C}");m("ℌ","\\mathfrak{H}");m("ℨ","\\mathfrak{Z}");m("\\Bbbk","\\Bbb{k}");m("·","\\cdotp");m("\\llap","\\mathllap{\\textrm{#1}}");m("\\rlap","\\mathrlap{\\textrm{#1}}");m("\\clap","\\mathclap{\\textrm{#1}}");m("\\mathstrut","\\vphantom{(}");m("\\underbar","\\underline{\\text{#1}}");m("\\not",'\\html@mathml{\\mathrel{\\mathrlap\\@not}}{\\char"338}');m("\\neq","\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}");m("\\ne","\\neq");m("≠","\\neq");m("\\notin","\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}");m("∉","\\notin");m("≘","\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}");m("≙","\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}");m("≚","\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}");m("≛","\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}");m("≝","\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}");m("≞","\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}");m("≟","\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}");m("⟂","\\perp");m("‼","\\mathclose{!\\mkern-0.8mu!}");m("∌","\\notni");m("⌜","\\ulcorner");m("⌝","\\urcorner");m("⌞","\\llcorner");m("⌟","\\lrcorner");m("©","\\copyright");m("®","\\textregistered");m("️","\\textregistered");m("\\ulcorner",'\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}');m("\\urcorner",'\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}');m("\\llcorner",'\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}');m("\\lrcorner",'\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}');m("\\vdots","\\mathord{\\varvdots\\rule{0pt}{15pt}}");m("⋮","\\vdots");m("\\varGamma","\\mathit{\\Gamma}");m("\\varDelta","\\mathit{\\Delta}");m("\\varTheta","\\mathit{\\Theta}");m("\\varLambda","\\mathit{\\Lambda}");m("\\varXi","\\mathit{\\Xi}");m("\\varPi","\\mathit{\\Pi}");m("\\varSigma","\\mathit{\\Sigma}");m("\\varUpsilon","\\mathit{\\Upsilon}");m("\\varPhi","\\mathit{\\Phi}");m("\\varPsi","\\mathit{\\Psi}");m("\\varOmega","\\mathit{\\Omega}");m("\\substack","\\begin{subarray}{c}#1\\end{subarray}");m("\\colon","\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax");m("\\boxed","\\fbox{$\\displaystyle{#1}$}");m("\\iff","\\DOTSB\\;\\Longleftrightarrow\\;");m("\\implies","\\DOTSB\\;\\Longrightarrow\\;");m("\\impliedby","\\DOTSB\\;\\Longleftarrow\\;");var Qi={",":"\\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"};m("\\dots",function(t){var e="\\dotso",r=t.expandAfterFuture().text;return r in Qi?e=Qi[r]:(r.slice(0,4)==="\\not"||r in qe.math&&Q.contains(["bin","rel"],qe.math[r].group))&&(e="\\dotsb"),e});var zs={")":!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};m("\\dotso",function(t){var e=t.future().text;return e in zs?"\\ldots\\,":"\\ldots"});m("\\dotsc",function(t){var e=t.future().text;return e in zs&&e!==","?"\\ldots\\,":"\\ldots"});m("\\cdots",function(t){var e=t.future().text;return e in zs?"\\@cdots\\,":"\\@cdots"});m("\\dotsb","\\cdots");m("\\dotsm","\\cdots");m("\\dotsi","\\!\\cdots");m("\\dotsx","\\ldots\\,");m("\\DOTSI","\\relax");m("\\DOTSB","\\relax");m("\\DOTSX","\\relax");m("\\tmspace","\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax");m("\\,","\\tmspace+{3mu}{.1667em}");m("\\thinspace","\\,");m("\\>","\\mskip{4mu}");m("\\:","\\tmspace+{4mu}{.2222em}");m("\\medspace","\\:");m("\\;","\\tmspace+{5mu}{.2777em}");m("\\thickspace","\\;");m("\\!","\\tmspace-{3mu}{.1667em}");m("\\negthinspace","\\!");m("\\negmedspace","\\tmspace-{4mu}{.2222em}");m("\\negthickspace","\\tmspace-{5mu}{.277em}");m("\\enspace","\\kern.5em ");m("\\enskip","\\hskip.5em\\relax");m("\\quad","\\hskip1em\\relax");m("\\qquad","\\hskip2em\\relax");m("\\tag","\\@ifstar\\tag@literal\\tag@paren");m("\\tag@paren","\\tag@literal{({#1})}");m("\\tag@literal",t=>{if(t.macros.get("\\df@tag"))throw new P("Multiple \\tag");return"\\gdef\\df@tag{\\text{#1}}"});m("\\bmod","\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}");m("\\pod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)");m("\\pmod","\\pod{{\\rm mod}\\mkern6mu#1}");m("\\mod","\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1");m("\\newline","\\\\\\relax");m("\\TeX","\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}");var p1=H(Bt["Main-Regular"][84][1]-.7*Bt["Main-Regular"][65][1]);m("\\LaTeX","\\textrm{\\html@mathml{"+("L\\kern-.36em\\raisebox{"+p1+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{LaTeX}}");m("\\KaTeX","\\textrm{\\html@mathml{"+("K\\kern-.17em\\raisebox{"+p1+"}{\\scriptstyle A}")+"\\kern-.15em\\TeX}{KaTeX}}");m("\\hspace","\\@ifstar\\@hspacer\\@hspace");m("\\@hspace","\\hskip #1\\relax");m("\\@hspacer","\\rule{0pt}{0pt}\\hskip #1\\relax");m("\\ordinarycolon",":");m("\\vcentcolon","\\mathrel{\\mathop\\ordinarycolon}");m("\\dblcolon",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}');m("\\coloneqq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}');m("\\Coloneqq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}');m("\\coloneq",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}');m("\\Coloneq",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}');m("\\eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}');m("\\Eqqcolon",'\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}');m("\\eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}');m("\\Eqcolon",'\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}');m("\\colonapprox",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}');m("\\Colonapprox",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}');m("\\colonsim",'\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}');m("\\Colonsim",'\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}');m("∷","\\dblcolon");m("∹","\\eqcolon");m("≔","\\coloneqq");m("≕","\\eqqcolon");m("⩴","\\Coloneqq");m("\\ratio","\\vcentcolon");m("\\coloncolon","\\dblcolon");m("\\colonequals","\\coloneqq");m("\\coloncolonequals","\\Coloneqq");m("\\equalscolon","\\eqqcolon");m("\\equalscoloncolon","\\Eqqcolon");m("\\colonminus","\\coloneq");m("\\coloncolonminus","\\Coloneq");m("\\minuscolon","\\eqcolon");m("\\minuscoloncolon","\\Eqcolon");m("\\coloncolonapprox","\\Colonapprox");m("\\coloncolonsim","\\Colonsim");m("\\simcolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}");m("\\simcoloncolon","\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}");m("\\approxcolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}");m("\\approxcoloncolon","\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}");m("\\notni","\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}");m("\\limsup","\\DOTSB\\operatorname*{lim\\,sup}");m("\\liminf","\\DOTSB\\operatorname*{lim\\,inf}");m("\\injlim","\\DOTSB\\operatorname*{inj\\,lim}");m("\\projlim","\\DOTSB\\operatorname*{proj\\,lim}");m("\\varlimsup","\\DOTSB\\operatorname*{\\overline{lim}}");m("\\varliminf","\\DOTSB\\operatorname*{\\underline{lim}}");m("\\varinjlim","\\DOTSB\\operatorname*{\\underrightarrow{lim}}");m("\\varprojlim","\\DOTSB\\operatorname*{\\underleftarrow{lim}}");m("\\gvertneqq","\\html@mathml{\\@gvertneqq}{≩}");m("\\lvertneqq","\\html@mathml{\\@lvertneqq}{≨}");m("\\ngeqq","\\html@mathml{\\@ngeqq}{≱}");m("\\ngeqslant","\\html@mathml{\\@ngeqslant}{≱}");m("\\nleqq","\\html@mathml{\\@nleqq}{≰}");m("\\nleqslant","\\html@mathml{\\@nleqslant}{≰}");m("\\nshortmid","\\html@mathml{\\@nshortmid}{∤}");m("\\nshortparallel","\\html@mathml{\\@nshortparallel}{∦}");m("\\nsubseteqq","\\html@mathml{\\@nsubseteqq}{⊈}");m("\\nsupseteqq","\\html@mathml{\\@nsupseteqq}{⊉}");m("\\varsubsetneq","\\html@mathml{\\@varsubsetneq}{⊊}");m("\\varsubsetneqq","\\html@mathml{\\@varsubsetneqq}{⫋}");m("\\varsupsetneq","\\html@mathml{\\@varsupsetneq}{⊋}");m("\\varsupsetneqq","\\html@mathml{\\@varsupsetneqq}{⫌}");m("\\imath","\\html@mathml{\\@imath}{ı}");m("\\jmath","\\html@mathml{\\@jmath}{ȷ}");m("\\llbracket","\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}");m("\\rrbracket","\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}");m("⟦","\\llbracket");m("⟧","\\rrbracket");m("\\lBrace","\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}");m("\\rBrace","\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}");m("⦃","\\lBrace");m("⦄","\\rBrace");m("\\minuso","\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}");m("⦵","\\minuso");m("\\darr","\\downarrow");m("\\dArr","\\Downarrow");m("\\Darr","\\Downarrow");m("\\lang","\\langle");m("\\rang","\\rangle");m("\\uarr","\\uparrow");m("\\uArr","\\Uparrow");m("\\Uarr","\\Uparrow");m("\\N","\\mathbb{N}");m("\\R","\\mathbb{R}");m("\\Z","\\mathbb{Z}");m("\\alef","\\aleph");m("\\alefsym","\\aleph");m("\\Alpha","\\mathrm{A}");m("\\Beta","\\mathrm{B}");m("\\bull","\\bullet");m("\\Chi","\\mathrm{X}");m("\\clubs","\\clubsuit");m("\\cnums","\\mathbb{C}");m("\\Complex","\\mathbb{C}");m("\\Dagger","\\ddagger");m("\\diamonds","\\diamondsuit");m("\\empty","\\emptyset");m("\\Epsilon","\\mathrm{E}");m("\\Eta","\\mathrm{H}");m("\\exist","\\exists");m("\\harr","\\leftrightarrow");m("\\hArr","\\Leftrightarrow");m("\\Harr","\\Leftrightarrow");m("\\hearts","\\heartsuit");m("\\image","\\Im");m("\\infin","\\infty");m("\\Iota","\\mathrm{I}");m("\\isin","\\in");m("\\Kappa","\\mathrm{K}");m("\\larr","\\leftarrow");m("\\lArr","\\Leftarrow");m("\\Larr","\\Leftarrow");m("\\lrarr","\\leftrightarrow");m("\\lrArr","\\Leftrightarrow");m("\\Lrarr","\\Leftrightarrow");m("\\Mu","\\mathrm{M}");m("\\natnums","\\mathbb{N}");m("\\Nu","\\mathrm{N}");m("\\Omicron","\\mathrm{O}");m("\\plusmn","\\pm");m("\\rarr","\\rightarrow");m("\\rArr","\\Rightarrow");m("\\Rarr","\\Rightarrow");m("\\real","\\Re");m("\\reals","\\mathbb{R}");m("\\Reals","\\mathbb{R}");m("\\Rho","\\mathrm{P}");m("\\sdot","\\cdot");m("\\sect","\\S");m("\\spades","\\spadesuit");m("\\sub","\\subset");m("\\sube","\\subseteq");m("\\supe","\\supseteq");m("\\Tau","\\mathrm{T}");m("\\thetasym","\\vartheta");m("\\weierp","\\wp");m("\\Zeta","\\mathrm{Z}");m("\\argmin","\\DOTSB\\operatorname*{arg\\,min}");m("\\argmax","\\DOTSB\\operatorname*{arg\\,max}");m("\\plim","\\DOTSB\\mathop{\\operatorname{plim}}\\limits");m("\\bra","\\mathinner{\\langle{#1}|}");m("\\ket","\\mathinner{|{#1}\\rangle}");m("\\braket","\\mathinner{\\langle{#1}\\rangle}");m("\\Bra","\\left\\langle#1\\right|");m("\\Ket","\\left|#1\\right\\rangle");var g1=t=>e=>{var r=e.consumeArg().tokens,n=e.consumeArg().tokens,a=e.consumeArg().tokens,s=e.consumeArg().tokens,i=e.macros.get("|"),l=e.macros.get("\\|");e.macros.beginGroup();var u=p=>g=>{t&&(g.macros.set("|",i),a.length&&g.macros.set("\\|",l));var w=p;if(!p&&a.length){var A=g.future();A.text==="|"&&(g.popToken(),w=!0)}return{tokens:w?a:n,numArgs:0}};e.macros.set("|",u(!1)),a.length&&e.macros.set("\\|",u(!0));var f=e.consumeArg().tokens,d=e.expandTokens([...s,...f,...r]);return e.macros.endGroup(),{tokens:d.reverse(),numArgs:0}};m("\\bra@ket",g1(!1));m("\\bra@set",g1(!0));m("\\Braket","\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}");m("\\Set","\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}");m("\\set","\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}");m("\\angln","{\\angl n}");m("\\blue","\\textcolor{##6495ed}{#1}");m("\\orange","\\textcolor{##ffa500}{#1}");m("\\pink","\\textcolor{##ff00af}{#1}");m("\\red","\\textcolor{##df0030}{#1}");m("\\green","\\textcolor{##28ae7b}{#1}");m("\\gray","\\textcolor{gray}{#1}");m("\\purple","\\textcolor{##9d38bd}{#1}");m("\\blueA","\\textcolor{##ccfaff}{#1}");m("\\blueB","\\textcolor{##80f6ff}{#1}");m("\\blueC","\\textcolor{##63d9ea}{#1}");m("\\blueD","\\textcolor{##11accd}{#1}");m("\\blueE","\\textcolor{##0c7f99}{#1}");m("\\tealA","\\textcolor{##94fff5}{#1}");m("\\tealB","\\textcolor{##26edd5}{#1}");m("\\tealC","\\textcolor{##01d1c1}{#1}");m("\\tealD","\\textcolor{##01a995}{#1}");m("\\tealE","\\textcolor{##208170}{#1}");m("\\greenA","\\textcolor{##b6ffb0}{#1}");m("\\greenB","\\textcolor{##8af281}{#1}");m("\\greenC","\\textcolor{##74cf70}{#1}");m("\\greenD","\\textcolor{##1fab54}{#1}");m("\\greenE","\\textcolor{##0d923f}{#1}");m("\\goldA","\\textcolor{##ffd0a9}{#1}");m("\\goldB","\\textcolor{##ffbb71}{#1}");m("\\goldC","\\textcolor{##ff9c39}{#1}");m("\\goldD","\\textcolor{##e07d10}{#1}");m("\\goldE","\\textcolor{##a75a05}{#1}");m("\\redA","\\textcolor{##fca9a9}{#1}");m("\\redB","\\textcolor{##ff8482}{#1}");m("\\redC","\\textcolor{##f9685d}{#1}");m("\\redD","\\textcolor{##e84d39}{#1}");m("\\redE","\\textcolor{##bc2612}{#1}");m("\\maroonA","\\textcolor{##ffbde0}{#1}");m("\\maroonB","\\textcolor{##ff92c6}{#1}");m("\\maroonC","\\textcolor{##ed5fa6}{#1}");m("\\maroonD","\\textcolor{##ca337c}{#1}");m("\\maroonE","\\textcolor{##9e034e}{#1}");m("\\purpleA","\\textcolor{##ddd7ff}{#1}");m("\\purpleB","\\textcolor{##c6b9fc}{#1}");m("\\purpleC","\\textcolor{##aa87ff}{#1}");m("\\purpleD","\\textcolor{##7854ab}{#1}");m("\\purpleE","\\textcolor{##543b78}{#1}");m("\\mintA","\\textcolor{##f5f9e8}{#1}");m("\\mintB","\\textcolor{##edf2df}{#1}");m("\\mintC","\\textcolor{##e0e5cc}{#1}");m("\\grayA","\\textcolor{##f6f7f7}{#1}");m("\\grayB","\\textcolor{##f0f1f2}{#1}");m("\\grayC","\\textcolor{##e3e5e6}{#1}");m("\\grayD","\\textcolor{##d6d8da}{#1}");m("\\grayE","\\textcolor{##babec2}{#1}");m("\\grayF","\\textcolor{##888d93}{#1}");m("\\grayG","\\textcolor{##626569}{#1}");m("\\grayH","\\textcolor{##3b3e40}{#1}");m("\\grayI","\\textcolor{##21242c}{#1}");m("\\kaBlue","\\textcolor{##314453}{#1}");m("\\kaGreen","\\textcolor{##71B307}{#1}");var v1={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0};class G2{constructor(e,r,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=r,this.expansionCount=0,this.feed(e),this.macros=new V2(U2,r.macros),this.mode=n,this.stack=[]}feed(e){this.lexer=new Zi(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,n,a;if(e){if(this.consumeSpaces(),this.future().text!=="[")return null;r=this.popToken(),{tokens:a,end:n}=this.consumeArg(["]"])}else({tokens:a,start:r,end:n}=this.consumeArg());return this.pushToken(new Ot("EOF",n.loc)),this.pushTokens(a),r.range(n,"")}consumeSpaces(){for(;;){var e=this.future();if(e.text===" ")this.stack.pop();else break}}consumeArg(e){var r=[],n=e&&e.length>0;n||this.consumeSpaces();var a=this.future(),s,i=0,l=0;do{if(s=this.popToken(),r.push(s),s.text==="{")++i;else if(s.text==="}"){if(--i,i===-1)throw new P("Extra }",s)}else if(s.text==="EOF")throw new P("Unexpected end of input in a macro argument, expected '"+(e&&n?e[l]:"}")+"'",s);if(e&&n)if((i===0||i===1&&e[l]==="{")&&s.text===e[l]){if(++l,l===e.length){r.splice(-l,l);break}}else l=0}while(i!==0||n);return a.text==="{"&&r[r.length-1].text==="}"&&(r.pop(),r.shift()),r.reverse(),{tokens:r,start:a,end:s}}consumeArgs(e,r){if(r){if(r.length!==e+1)throw new P("The length of delimiters doesn't match the number of args!");for(var n=r[0],a=0;athis.settings.maxExpand)throw new P("Too many expansions: infinite loop or need to increase maxExpand setting")}expandOnce(e){var r=this.popToken(),n=r.text,a=r.noexpand?null:this._getExpansion(n);if(a==null||e&&a.unexpandable){if(e&&a==null&&n[0]==="\\"&&!this.isDefined(n))throw new P("Undefined control sequence: "+n);return this.pushToken(r),!1}this.countExpansion(1);var s=a.tokens,i=this.consumeArgs(a.numArgs,a.delimiters);if(a.numArgs){s=s.slice();for(var l=s.length-1;l>=0;--l){var u=s[l];if(u.text==="#"){if(l===0)throw new P("Incomplete placeholder at end of macro body",u);if(u=s[--l],u.text==="#")s.splice(l+1,1);else if(/^[1-9]$/.test(u.text))s.splice(l,2,...i[+u.text-1]);else throw new P("Not a valid argument number",u)}}}return this.pushTokens(s),s.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 Ot(e)]):void 0}expandTokens(e){var r=[],n=this.stack.length;for(this.pushTokens(e);this.stack.length>n;)if(this.expandOnce(!0)===!1){var a=this.stack.pop();a.treatAsRelax&&(a.noexpand=!1,a.treatAsRelax=!1),r.push(a)}return this.countExpansion(r.length),r}expandMacroAsText(e){var r=this.expandMacro(e);return r&&r.map(n=>n.text).join("")}_getExpansion(e){var r=this.macros.get(e);if(r==null)return r;if(e.length===1){var n=this.lexer.catcodes[e];if(n!=null&&n!==13)return}var a=typeof r=="function"?r(this):r;if(typeof a=="string"){var s=0;if(a.indexOf("#")!==-1)for(var i=a.replace(/##/g,"");i.indexOf("#"+(s+1))!==-1;)++s;for(var l=new Zi(a,this.settings),u=[],f=l.lex();f.text!=="EOF";)u.push(f),f=l.lex();u.reverse();var d={tokens:u,numArgs:s};return d}return a}isDefined(e){return this.macros.has(e)||u0.hasOwnProperty(e)||qe.math.hasOwnProperty(e)||qe.text.hasOwnProperty(e)||v1.hasOwnProperty(e)}isExpandable(e){var r=this.macros.get(e);return r!=null?typeof r=="string"||typeof r=="function"||!r.unexpandable:u0.hasOwnProperty(e)&&!u0[e].primitive}}var el=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Kr=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","ᵝ":"β","ᵞ":"γ","ᵟ":"δ","ᵠ":"ϕ","ᵡ":"χ","ᶿ":"θ"}),ua={"́":{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"}},tl={á:"á",à:"à",ä:"ä",ǟ:"ǟ",ã:"ã",ā:"ā",ă:"ă",ắ:"ắ",ằ:"ằ",ẵ:"ẵ",ǎ:"ǎ",â:"â",ấ:"ấ",ầ:"ầ",ẫ:"ẫ",ȧ:"ȧ",ǡ:"ǡ",å:"å",ǻ:"ǻ",ḃ:"ḃ",ć:"ć",ḉ:"ḉ",č:"č",ĉ:"ĉ",ċ:"ċ",ç:"ç",ď:"ď",ḋ:"ḋ",ḑ:"ḑ",é:"é",è:"è",ë:"ë",ẽ:"ẽ",ē:"ē",ḗ:"ḗ",ḕ:"ḕ",ĕ:"ĕ",ḝ:"ḝ",ě:"ě",ê:"ê",ế:"ế",ề:"ề",ễ:"ễ",ė:"ė",ȩ:"ȩ",ḟ:"ḟ",ǵ:"ǵ",ḡ:"ḡ",ğ:"ğ",ǧ:"ǧ",ĝ:"ĝ",ġ:"ġ",ģ:"ģ",ḧ:"ḧ",ȟ:"ȟ",ĥ:"ĥ",ḣ:"ḣ",ḩ:"ḩ",í:"í",ì:"ì",ï:"ï",ḯ:"ḯ",ĩ:"ĩ",ī:"ī",ĭ:"ĭ",ǐ:"ǐ",î:"î",ǰ:"ǰ",ĵ:"ĵ",ḱ:"ḱ",ǩ:"ǩ",ķ:"ķ",ĺ:"ĺ",ľ:"ľ",ļ:"ļ",ḿ:"ḿ",ṁ:"ṁ",ń:"ń",ǹ:"ǹ",ñ:"ñ",ň:"ň",ṅ:"ṅ",ņ:"ņ",ó:"ó",ò:"ò",ö:"ö",ȫ:"ȫ",õ:"õ",ṍ:"ṍ",ṏ:"ṏ",ȭ:"ȭ",ō:"ō",ṓ:"ṓ",ṑ:"ṑ",ŏ:"ŏ",ǒ:"ǒ",ô:"ô",ố:"ố",ồ:"ồ",ỗ:"ỗ",ȯ:"ȯ",ȱ:"ȱ",ő:"ő",ṕ:"ṕ",ṗ:"ṗ",ŕ:"ŕ",ř:"ř",ṙ:"ṙ",ŗ:"ŗ",ś:"ś",ṥ:"ṥ",š:"š",ṧ:"ṧ",ŝ:"ŝ",ṡ:"ṡ",ş:"ş",ẗ:"ẗ",ť:"ť",ṫ:"ṫ",ţ:"ţ",ú:"ú",ù:"ù",ü:"ü",ǘ:"ǘ",ǜ:"ǜ",ǖ:"ǖ",ǚ:"ǚ",ũ:"ũ",ṹ:"ṹ",ū:"ū",ṻ:"ṻ",ŭ:"ŭ",ǔ:"ǔ",û:"û",ů:"ů",ű:"ű",ṽ:"ṽ",ẃ:"ẃ",ẁ:"ẁ",ẅ:"ẅ",ŵ:"ŵ",ẇ:"ẇ",ẘ:"ẘ",ẍ:"ẍ",ẋ:"ẋ",ý:"ý",ỳ:"ỳ",ÿ:"ÿ",ỹ:"ỹ",ȳ:"ȳ",ŷ:"ŷ",ẏ:"ẏ",ẙ:"ẙ",ź:"ź",ž:"ž",ẑ:"ẑ",ż:"ż",Á:"Á",À:"À",Ä:"Ä",Ǟ:"Ǟ",Ã:"Ã",Ā:"Ā",Ă:"Ă",Ắ:"Ắ",Ằ:"Ằ",Ẵ:"Ẵ",Ǎ:"Ǎ",Â:"Â",Ấ:"Ấ",Ầ:"Ầ",Ẫ:"Ẫ",Ȧ:"Ȧ",Ǡ:"Ǡ",Å:"Å",Ǻ:"Ǻ",Ḃ:"Ḃ",Ć:"Ć",Ḉ:"Ḉ",Č:"Č",Ĉ:"Ĉ",Ċ:"Ċ",Ç:"Ç",Ď:"Ď",Ḋ:"Ḋ",Ḑ:"Ḑ",É:"É",È:"È",Ë:"Ë",Ẽ:"Ẽ",Ē:"Ē",Ḗ:"Ḗ",Ḕ:"Ḕ",Ĕ:"Ĕ",Ḝ:"Ḝ",Ě:"Ě",Ê:"Ê",Ế:"Ế",Ề:"Ề",Ễ:"Ễ",Ė:"Ė",Ȩ:"Ȩ",Ḟ:"Ḟ",Ǵ:"Ǵ",Ḡ:"Ḡ",Ğ:"Ğ",Ǧ:"Ǧ",Ĝ:"Ĝ",Ġ:"Ġ",Ģ:"Ģ",Ḧ:"Ḧ",Ȟ:"Ȟ",Ĥ:"Ĥ",Ḣ:"Ḣ",Ḩ:"Ḩ",Í:"Í",Ì:"Ì",Ï:"Ï",Ḯ:"Ḯ",Ĩ:"Ĩ",Ī:"Ī",Ĭ:"Ĭ",Ǐ:"Ǐ",Î:"Î",İ:"İ",Ĵ:"Ĵ",Ḱ:"Ḱ",Ǩ:"Ǩ",Ķ:"Ķ",Ĺ:"Ĺ",Ľ:"Ľ",Ļ:"Ļ",Ḿ:"Ḿ",Ṁ:"Ṁ",Ń:"Ń",Ǹ:"Ǹ",Ñ:"Ñ",Ň:"Ň",Ṅ:"Ṅ",Ņ:"Ņ",Ó:"Ó",Ò:"Ò",Ö:"Ö",Ȫ:"Ȫ",Õ:"Õ",Ṍ:"Ṍ",Ṏ:"Ṏ",Ȭ:"Ȭ",Ō:"Ō",Ṓ:"Ṓ",Ṑ:"Ṑ",Ŏ:"Ŏ",Ǒ:"Ǒ",Ô:"Ô",Ố:"Ố",Ồ:"Ồ",Ỗ:"Ỗ",Ȯ:"Ȯ",Ȱ:"Ȱ",Ő:"Ő",Ṕ:"Ṕ",Ṗ:"Ṗ",Ŕ:"Ŕ",Ř:"Ř",Ṙ:"Ṙ",Ŗ:"Ŗ",Ś:"Ś",Ṥ:"Ṥ",Š:"Š",Ṧ:"Ṧ",Ŝ:"Ŝ",Ṡ:"Ṡ",Ş:"Ş",Ť:"Ť",Ṫ:"Ṫ",Ţ:"Ţ",Ú:"Ú",Ù:"Ù",Ü:"Ü",Ǘ:"Ǘ",Ǜ:"Ǜ",Ǖ:"Ǖ",Ǚ:"Ǚ",Ũ:"Ũ",Ṹ:"Ṹ",Ū:"Ū",Ṻ:"Ṻ",Ŭ:"Ŭ",Ǔ:"Ǔ",Û:"Û",Ů:"Ů",Ű:"Ű",Ṽ:"Ṽ",Ẃ:"Ẃ",Ẁ:"Ẁ",Ẅ:"Ẅ",Ŵ:"Ŵ",Ẇ:"Ẇ",Ẍ:"Ẍ",Ẋ:"Ẋ",Ý:"Ý",Ỳ:"Ỳ",Ÿ:"Ÿ",Ỹ:"Ỹ",Ȳ:"Ȳ",Ŷ:"Ŷ",Ẏ:"Ẏ",Ź:"Ź",Ž:"Ž",Ẑ:"Ẑ",Ż:"Ż",ά:"ά",ὰ:"ὰ",ᾱ:"ᾱ",ᾰ:"ᾰ",έ:"έ",ὲ:"ὲ",ή:"ή",ὴ:"ὴ",ί:"ί",ὶ:"ὶ",ϊ:"ϊ",ΐ:"ΐ",ῒ:"ῒ",ῑ:"ῑ",ῐ:"ῐ",ό:"ό",ὸ:"ὸ",ύ:"ύ",ὺ:"ὺ",ϋ:"ϋ",ΰ:"ΰ",ῢ:"ῢ",ῡ:"ῡ",ῠ:"ῠ",ώ:"ώ",ὼ:"ὼ",Ύ:"Ύ",Ὺ:"Ὺ",Ϋ:"Ϋ",Ῡ:"Ῡ",Ῠ:"Ῠ",Ώ:"Ώ",Ὼ:"Ὼ"};class In{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 G2(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 P("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 Ot("}")),this.gullet.pushTokens(e);var n=this.parseExpression(!1);return this.expect("}"),this.nextToken=r,n}parseExpression(e,r){for(var n=[];;){this.mode==="math"&&this.consumeSpaces();var a=this.fetch();if(In.endOfExpression.indexOf(a.text)!==-1||r&&a.text===r||e&&u0[a.text]&&u0[a.text].infix)break;var s=this.parseAtom(r);if(s){if(s.type==="internal")continue}else break;n.push(s)}return this.mode==="text"&&this.formLigatures(n),this.handleInfixNodes(n)}handleInfixNodes(e){for(var r=-1,n,a=0;a=0&&this.settings.reportNonstrict("unicodeTextInMathMode",'Latin-1/Unicode text character "'+r[0]+'" used in math mode',e);var l=qe[this.mode][r].group,u=ut.range(e),f;if(Bh.hasOwnProperty(l)){var d=l;f={type:"atom",mode:this.mode,family:d,loc:u,text:r}}else f={type:l,mode:this.mode,loc:u,text:r};i=f}else if(r.charCodeAt(0)>=128)this.settings.strict&&(Ao(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)),i={type:"textord",mode:"text",loc:ut.range(e),text:r};else return null;if(this.consume(),s)for(var p=0;p0;){if(n>=t.length)throw new Ne("Unmatched curly brackets");t[n].eq(mr)?r+=1:t[n].eq(nn)&&(r-=1),n+=1}return n-1}function Q2(t,e){Xe(t[e].eq(Ra));let r=1,n=e+1;for(;r>0;){if(n>=t.length)throw new Ne("Unmatched square brackets");t[n].eq(Ra)?r+=1:t[n].eq(cf)&&(r-=1),n+=1}return n-1}function w1(t){return"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ".includes(t)}function rl(t){return"0123456789".includes(t)}function ca(t,e){let r=e;for(;r0;){if(n>=t.length)return-1;t[n].eq(Ia)?r+=1:t[n].eq(hf)&&(r-=1),n+=1}return n-1}function rf(t,e){let r=1,n=e;for(;r>0;){if(n>=t.length)return-1;t[n].eq(Pa)?r+=1:t[n].eq(ff)&&(r-=1),n+=1}return n-1}function nf(t,e){Xe(t[e]==="{");let r=1,n=e+1;for(;r>0;){if(n>=t.length)throw new Ne("Unmatched curly brackets");if(n+1=t.length)throw new Ne("Expecting command name after \\");const s=t.slice(r,r+2);if(["\\\\","\\,"].includes(s))a=new ke(6,s);else if(["\\{","\\}","\\%","\\$","\\&","\\#","\\_"].includes(s))a=new ke(0,s);else{const i=ef(t,r+1);a=new ke(1,"\\"+i)}r+=a.value.length;break}default:{if(rl(n)){let s=r;for(;s!.,;?()[]|".includes(n)?a=new ke(0,n):a=new ke(7,n);r+=a.value.length}}if(e.push(a),a.type===1&&["\\text","\\operatorname","\\begin","\\end"].includes(a.value)){if(r>=t.length||t[r]!=="{")throw new Ne(`No content for ${a.value} command`);e.push(new ke(6,"{"));const s=nf(t,r);r++;let i=t.slice(r,s);const l=["{","}","\\","$","&","#","_","%"];for(const u of l)i=i.replaceAll("\\"+u,u);e.push(new ke(2,i)),e.push(new ke(6,"}")),r=s+1}}return e}function af(t){const e=n=>n.eq(Ha)||n.eq(La);let r=[];for(let n=0;n=0&&e(t[n-1])||r.push(t[n]);return r}function sf(t,e){let r=[];for(const n of t)if(n.type===1&&e[n.value]){const a=x1(e[n.value]);r=r.concat(a)}else r.push(n);return r}function lf(t,e){const r=new df;let n=x1(t);return n=af(n),n=sf(n,e),r.parse(n)}var of=["sqrt","text","bar","bold","boldsymbol","ddot","dot","hat","mathbb","mathbf","mathcal","mathfrak","mathit","mathrm","mathscr","mathsf","mathtt","operatorname","overbrace","overline","pmb","rm","tilde","underbrace","underline","vec","widehat","widetilde"],uf=["frac","tfrac","binom","dbinom","dfrac","tbinom"];class ke{constructor(e,r){dt(this,"type");dt(this,"value");this.type=e,this.value=r}eq(e){return this.type===e.type&&this.value===e.value}}var Xr={type:"empty",content:""},mr=new ke(6,"{"),nn=new ke(6,"}"),Ra=new ke(0,"["),cf=new ke(0,"]"),Ia=new ke(1,"\\left"),hf=new ke(1,"\\right"),Pa=new ke(1,"\\begin"),ff=new ke(1,"\\end");class Ne extends Error{constructor(e){super(e),this.name="LatexParserError"}}var Ha=new ke(6,"_"),La=new ke(6,"^");class df{constructor(e=!1,r=!0){dt(this,"space_sensitive");dt(this,"newline_sensitive");this.space_sensitive=e,this.newline_sensitive=r}parse(e){const r=[];let n=0;for(;n0))throw new Ne("Double superscript")}else if(a0)throw new Ne("Double superscript");if(a0))throw new Ne("Double superscript")}if(s!==null||i!==null||l>0){const u={base:n};if(s&&(u.sub=s),l>0){u.sup={type:"ordgroup",content:"",args:[]};for(let f=0;f=e.length)throw new Ne("Expecting content for \\text command");return Xe(e[a].eq(mr)),Xe(e[a+1].type===2),Xe(e[a+2].eq(nn)),[{type:"text",content:e[a+1].value},a+3]}let[i,l]=this.parseNextExprWithoutSupSub(e,a);return[{type:"unaryFunc",content:n,args:[i]},l]}case 2:{const[i,l]=this.parseNextExprWithoutSupSub(e,a),[u,f]=this.parseNextExprWithoutSupSub(e,l);return[{type:"binaryFunc",content:n,args:[i,u]},f]}default:throw new Error("Invalid number of parameters")}}parseLeftRightExpr(e,r){Xe(e[r].eq(Ia));let n=r+1;if(n+=ca(e,n).length,n>=e.length)throw new Ne("Expecting delimiter after \\left");const a=nl(e,n);if(a===null)throw new Ne("Invalid delimiter after \\left");n++;const s=n,i=tf(e,n);if(i===-1)throw new Ne("No matching \\right");const l=i;if(n=i+1,n+=ca(e,n).length,n>=e.length)throw new Ne("Expecting \\right after \\left");const u=nl(e,n);if(u===null)throw new Ne("Invalid delimiter after \\right");n++;const f=e.slice(s,l),d=this.parse(f);return[{type:"leftright",content:"",args:[{type:"element",content:a.value},d,{type:"element",content:u.value}]},n]}parseBeginEndExpr(e,r){Xe(e[r].eq(Pa));let n=r+1;Xe(e[n].eq(mr)),Xe(e[n+1].type===2),Xe(e[n+2].eq(nn));const a=e[n+1].value;n+=3,n+=ca(e,n).length;const s=n,i=rf(e,n);if(i===-1)throw new Ne("No matching \\end");const l=i;if(n=i+1,Xe(e[n].eq(mr)),Xe(e[n+1].type===2),Xe(e[n+2].eq(nn)),e[n+1].value!==a)throw new Ne("Mismatched \\begin and \\end environments");n+=3;const u=e.slice(s,l);for(;u.length>0&&[4,5].includes(u[u.length-1].type);)u.pop();const f=this.parseAligned(u);return[{type:"beginend",content:a,data:f},n]}parseAligned(e){let r=0;const n=[];let a=[];n.push(a);let s={type:"ordgroup",content:"",args:[]};for(a.push(s);rn.map(Ke));return t.content.startsWith("align")?{type:"align",content:"",data:r}:{type:"matrix",content:"mat",data:r}}case"unknownMacro":return{type:"unknown",content:nr(t.content)};case"control":if(t.content==="\\\\")return{type:"symbol",content:"\\"};if(t.content==="\\,")return{type:"symbol",content:"thin"};throw new G0(`Unknown control sequence: ${t.content}`,t);default:throw new G0(`Unimplemented node type: ${t.type}`,t)}}function nr(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 kr.has(e)?kr.get(e):e}return t}var mf=["dim","id","im","mod","Pr","sech","csch"];class G0 extends Error{constructor(r,n){super(r);dt(this,"node");this.name="TypstWriterError",this.node=n}}class pf{constructor(e,r){dt(this,"nonStrict");dt(this,"preferTypstIntrinsic");dt(this,"buffer","");dt(this,"queue",[]);dt(this,"needSpaceAfterSingleItemScript",!1);dt(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){switch(e.type){case"empty":break;case"atom":{e.content===","&&this.insideFunctionDepth>0?this.queue.push({type:"symbol",content:"comma"}):this.queue.push({type:"atom",content:e.content});break}case"symbol":case"text":case"comment":case"newline":this.queue.push(e);break;case"group":for(const r of e.args)this.append(r);break;case"supsub":{let{base:r,sup:n,sub:a}=e.data;this.appendWithBracketsIfNeeded(r);let s=!1;const i=n&&n.type==="atom"&&n.content==="'";i&&(this.queue.push({type:"atom",content:"'"}),s=!1),a&&(this.queue.push({type:"atom",content:"_"}),s=this.appendWithBracketsIfNeeded(a)),n&&!i&&(this.queue.push({type:"atom",content:"^"}),s=this.appendWithBracketsIfNeeded(n)),s&&this.queue.push({type:"softSpace",content:""});break}case"binaryFunc":{const r={type:"symbol",content:e.content},[n,a]=e.args;this.queue.push(r),this.insideFunctionDepth++,this.queue.push({type:"atom",content:"("}),this.append(n),this.queue.push({type:"atom",content:","}),this.append(a),this.queue.push({type:"atom",content:")"}),this.insideFunctionDepth--;break}case"unaryFunc":{const r={type:"symbol",content:e.content},n=e.args[0];this.queue.push(r),this.insideFunctionDepth++,this.queue.push({type:"atom",content:"("}),this.append(n),this.queue.push({type:"atom",content:")"}),this.insideFunctionDepth--;break}case"align":{const r=e.data;r.forEach((n,a)=>{n.forEach((s,i)=>{i>0&&this.queue.push({type:"atom",content:"&"}),this.append(s)}),a{n.forEach((s,i)=>{this.append(s),i{let r="";switch(e.type){case"atom":case"symbol":r=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 G0(`Unexpected node type to stringify: ${e.type}`,e)}r!==""&&this.writeBuffer(r)}),this.queue=[]}finalize(){this.flushQueue();const a=[function(s){let i=s.replace(/floor\.l\s*(.*?)\s*floor\.r/g,"floor($1)");return i=i.replace(/floor\(\)/g,'floor("")'),i},function(s){let i=s.replace(/ceil\.l\s*(.*?)\s*ceil\.r/g,"ceil($1)");return i=i.replace(/ceil\(\)/g,'ceil("")'),i},function(s){let i=s.replace(/floor\.l\s*(.*?)\s*ceil\.r/g,"round($1)");return i=i.replace(/round\(\)/g,'round("")'),i}];for(const s of a)this.buffer=s(this.buffer);return this.buffer}}function gf(t,e){const r={nonStrict:!0,preferTypstIntrinsic:!0,customTexMacros:{}};e&&(e.nonStrict&&(r.nonStrict=e.nonStrict),e.preferTypstIntrinsic&&(r.preferTypstIntrinsic=e.preferTypstIntrinsic),e.customTexMacros&&(r.customTexMacros=e.customTexMacros));const n=lf(t,r.customTexMacros),a=Ke(n),s=new pf(r.nonStrict,r.preferTypstIntrinsic);return s.append(a),s.finalize()}const k1={"\\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 vf(t){let r=gf(t,{nonStrict:!0,preferTypstIntrinsic:!0,customTexMacros:k1});return r=r.replaceAll("upright(d)","dif"),r=r.replaceAll(" thin dif"," 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 bf(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(n){console.error("Fallback: Oops, unable to copy",n),r=!1}return document.body.removeChild(e),r}function yf(t){if(!navigator.clipboard){const e=bf(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 _s=(t,e)=>{const r=t.__vccOpts||t;for(const[n,a]of e)r[n]=a;return r},wf=1300,xf={name:"CopiedToast",props:["msg"],data(){return{visible:!1}},methods:{trigger(){this.visible=!0,setTimeout(()=>{this.visible=!1},wf)}},expose:["trigger"]};function kf(t,e,r,n,a,s){return A0(),$0("div",{class:kn(a.visible?"snackbar show":"snackbar hide")},Wa(r.msg),3)}const Sf=_s(xf,[["render",kf],["__scopeId","data-v-15e96db2"]]),Tf={name:"ToggleSwitch",props:{initial:{type:Boolean,default:!1}},data(){return{checked:!1}},created(){this.checked=this.initial},expose:["checked"]},Mf={class:"switch"};function Af(t,e,r,n,a,s){return A0(),$0("label",Mf,[Fl(oe("input",{type:"checkbox","onUpdate:modelValue":e[0]||(e[0]=i=>a.checked=i)},null,512),[[B4,a.checked]]),e[1]||(e[1]=oe("span",{class:"slider round"},null,-1))])}const qf=_s(Tf,[["render",Af],["__scopeId","data-v-4ea9372f"]]),zf={name:"SettingsDialog",props:{initial:{type:Object,default:()=>({optionShowPreview:!0})}},methods:{open(){this.$el.showModal()},close(){const t=this.$refs.toggleSwitch.checked;this.$el.close(),this.$emit("newSettings",{optionShowPreview:t})}},expose:["open","close"],emits:["newSettings"],components:{ToggleSwitch:qf}},Cf={class:"min-h-80 min-w-80 bg-white rounded-lg shadow-lg"},Ef={class:"flex justify-between items-center p-4"},_f={class:"flex justify-between items-center p-4"};function Df(t,e,r,n,a,s){const i=yc("ToggleSwitch");return A0(),$0("dialog",Cf,[oe("div",Ef,[e[1]||(e[1]=oe("h2",null,"Settings",-1)),oe("button",{class:"text-xl",onClick:e[0]||(e[0]=l=>s.close())},"✕")]),oe("div",_f,[e[2]||(e[2]=oe("span",null,"Show Preview",-1)),Qe(i,{ref:"toggleSwitch",initial:r.initial.optionShowPreview},null,8,["initial"])]),e[3]||(e[3]=oe("br",null,null,-1)),e[4]||(e[4]=oe("br",null,null,-1)),e[5]||(e[5]=oe("br",null,null,-1)),e[6]||(e[6]=oe("br",null,null,-1)),e[7]||(e[7]=oe("br",null,null,-1)),e[8]||(e[8]=oe("div",{style:{"max-width":"90%","text-align":"left",color:"gray","font-size":"small","margin-left":"10%"}}," (More customization features are under development...) ",-1))])}const Bf=_s(zf,[["render",Df],["__scopeId","data-v-27ec7f90"]]);function Nf(t){let e=Math.floor(Math.random()*t);return e===t&&(e=0),e}const S1=[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} \\ @@ -291,4 +291,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`],Nf=k1.length;let sl=null;function Of(){let t;do t=Bf(Nf);while(t===sl);return sl=t,k1[t]}const Rf={class:"bg-app text-app-blue min-h-screen flex flex-col"},If={class:"flex-1 flex md:flex-row flex-col p-4"},Hf={class:"flex-1 flex flex-col border border-gray-700 min-h-[200px] rounded-lg m-2"},Pf={class:"flex justify-between p-2 border-b border-gray-700"},Lf={class:"flex-1 flex flex-col border border-gray-700 min-h-[200px] rounded-lg m-2"},Ff={class:"flex justify-between p-2 border-b border-gray-700"},$f={class:"relative"},Vf={class:"flex-1 flex flex-col",id:"typst"},Uf={class:"flex-1 text-app-light-black p-4"},Wf=["innerHTML"],Gf={class:"flex items-center text-center text-app-light-black pb-4 min-h-28"},jf=["innerHTML"],Kf={__name:"App",setup(t){const e=B0(""),r=ka(()=>{try{const p=e.value,g=gf(p),w=[];p.includes("\\mathscr")&&w.push("scr"),p.includes("\\LaTeX")&&w.push("#LaTeX"),p.includes("\\TeX")&&w.push("#TeX"),g.includes("lfloor")&&w.push("unpaired lfloor"),g.includes("rfloor")&&w.push("unpaired rfloor"),g.includes("lceil")&&w.push("unpaired lceil"),g.includes("rceil")&&w.push("unpaired rceil");let A=[];if(w.length>0){const E=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"]]);for(const _ of w){const k=`ⓘ Define ${`${_}`} yourself as it's not supported in Typst.`;A.push(k)}}/\\bigg\s*(\\rvert|\\vert|\|)\s*_/.test(p)&&A.push('ⓘ Did you mean vertical bar for evaluation?');let C="";return A.length>0&&(A.push("Click the link for the details."),C=A.join("
")),{typst:g,message:C}}catch(p){return console.error(p),{typst:"",message:"ⓘ [ERROR: Invalid LaTeX code]"}}}),n=ka(()=>{if(e.value==="")return'
Math formula will be rendered here.
';{const p={macros:S1,displayMode:!0,throwOnError:!1,errorColor:"#bc6f17"};return X2.renderToString(e.value,p)}}),a=B0(null);async function s(){if(e.value==="")return;await bf(r.value.typst)?a.value.trigger():alert("Failed to copy to clipboard. Please report this issue.")}const i=B0(null),l=B0(null);function u(){i.value.open()}const f=B0({optionShowPreview:!0});function d(p){f.value=p,localStorage.setItem("settings",JSON.stringify(p))}return Wl(()=>{const p=localStorage.getItem("settings");f.value=p?JSON.parse(p):{optionShowPreview:!0}}),ls(()=>{l.value&&l.value.focus(),/iPad|iPhone|iPod/.test(window.navigator.userAgent)&&document.querySelectorAll("button").forEach(g=>{g.addEventListener("touchstart",function(){},{passive:!1})})}),(p,g)=>(A0(),$0(pt,null,[oe("div",Rf,[oe("nav",{class:"theme-app flex justify-between text-white"},[g[5]||(g[5]=oe("h1",{class:"flex items-center h-16 ml-4 select-none"},[oe("span",{class:"text-4xl"},"tex2typst")],-1)),oe("div",{class:"flex"},[g[4]||(g[4]=e4('Cheat sheet iconCheat SheetGithub logoOpen-source',2)),oe("button",{class:"flex items-center font-medium p-2 mr-2 hover:bg-gray-900",onClick:u},g[3]||(g[3]=[oe("img",{class:"inline h-9",src:Z4,alt:"Settings icon"},null,-1),oe("span",{class:"text-lg ml-2 mr-4 hide-on-mobile"},"Settings",-1)]))])]),g[8]||(g[8]=oe("div",{class:"text-center text-app-blue p-4"},[cr(" Convert LaTeX math formula code to Typst code! "),oe("br"),cr(" This tool runs locally in your browser. Nothing is uploaded. ")],-1)),oe("main",If,[oe("div",Hf,[oe("div",Pf,[g[6]||(g[6]=oe("span",{class:"text-app-blue p-2"},"LaTeX code",-1)),oe("div",null,[oe("button",{class:"text-app-light-black p-2 mr-2 rounded-lg hover:bg-gray-300 active:bg-gray-400",onClick:g[0]||(g[0]=w=>e.value=Tn(Of)())},"Random"),oe("button",{class:"text-app-light-black p-2 rounded-lg hover:bg-gray-300 active:bg-gray-400",onClick:g[1]||(g[1]=w=>e.value="")},"Clear")])]),Fl(oe("textarea",{ref_key:"inputArea",ref:l,class:"flex-1 text-app-light-black p-4","onUpdate:modelValue":g[2]||(g[2]=w=>e.value=w),spellcheck:"false"},null,512),[[q4,e.value]])]),oe("div",Lf,[oe("div",Ff,[g[7]||(g[7]=oe("span",{class:"text-app-blue p-2"},"Typst code",-1)),oe("div",$f,[oe("button",{class:"text-app-light-black p-2 rounded-lg hover:bg-gray-300 active:bg-gray-400",onClick:s},"Copy"),Qe(Sf,{ref_key:"copiedToast",ref:a,id:"copiedToast",msg:"Copied!"},null,512)])]),oe("div",Vf,[oe("div",Uf,Ga(r.value.typst),1),r.value.message?(A0(),$0("div",{key:0,class:"min-h-20 text-sm text-app-light-black theme-warning border-t rounded border-yellow-700 p-4",innerHTML:r.value.message},null,8,Wf)):si("",!0)])])]),oe("div",Gf,[f.value.optionShowPreview?(A0(),$0("div",{key:0,class:"flex-1",innerHTML:n.value},null,8,jf)):si("",!0)]),g[9]||(g[9]=oe("footer",{class:"theme-app text-center p-4"},[oe("p",{class:"text-white"},[cr("Powered by "),oe("a",{href:"https://github.com/qwinsi/tex2typst",target:"_blank"},"tex2typst.js")])],-1))]),Qe(qf,{ref_key:"settingsDialog",ref:i,onNewSettings:d,initial:f.value},null,8,["initial"])],64))}};K4(Kf); +\end{aligned}`,String.raw`f(z_0) = \frac{1}{2\pi \mathrm{i}} \oint_{C} \frac{f(z)}{z-z_0}\, \mathrm{d} z`],Of=S1.length;let sl=null;function Rf(){let t;do t=Nf(Of);while(t===sl);return sl=t,S1[t]}const If={class:"bg-app text-app-blue min-h-screen flex flex-col"},Pf={class:"flex-1 flex md:flex-row flex-col p-4"},Hf={class:"flex-1 flex flex-col border border-gray-700 min-h-[200px] rounded-lg m-2"},Lf={class:"flex justify-between p-2 border-b border-gray-700"},Ff={class:"flex-1 flex flex-col border border-gray-700 min-h-[200px] rounded-lg m-2"},$f={class:"flex justify-between p-2 border-b border-gray-700"},Vf={class:"relative"},Uf={class:"flex-1 flex flex-col",id:"typst"},Gf={class:"flex-1 text-app-light-black p-4"},Wf=["innerHTML"],jf={class:"flex items-center text-center text-app-light-black pb-4 min-h-28"},Kf=["innerHTML"],Xf={__name:"App",setup(t){const e=B0(""),r=Ta(()=>{try{const p=e.value,g=vf(p),w=[];p.includes("\\mathscr")&&w.push("scr"),p.includes("\\LaTeX")&&w.push("#LaTeX"),p.includes("\\TeX")&&w.push("#TeX");let A=[];if(w.length>0){const E=new Map([["scr","mathscr"],["#LaTeX","latex-and-tex"],["#TeX","latex-and-tex"]]);for(const C of w){const S=`ⓘ Define ${`${C}`} yourself as it's not supported in Typst.`;A.push(S)}}/\\bigg\s*(\\rvert|\\vert|\|)\s*_/.test(p)&&A.push('ⓘ Did you mean vertical bar for evaluation?');let q="";return A.length>0&&(A.push("Click the link for the details."),q=A.join("
")),{typst:g,message:q}}catch(p){return console.error(p),{typst:"",message:"ⓘ [ERROR: Invalid LaTeX code]"}}}),n=Ta(()=>{if(e.value==="")return'
Math formula will be rendered here.
';{const p={macros:k1,displayMode:!0,throwOnError:!1,errorColor:"#bc6f17"};return X2.renderToString(e.value,p)}}),a=B0(null);async function s(){if(e.value==="")return;await yf(r.value.typst)?a.value.trigger():alert("Failed to copy to clipboard. Please report this issue.")}const i=B0(null),l=B0(null);function u(){i.value.open()}const f=B0({optionShowPreview:!0});function d(p){f.value=p,localStorage.setItem("settings",JSON.stringify(p))}return Gl(()=>{const p=localStorage.getItem("settings");f.value=p?JSON.parse(p):{optionShowPreview:!0}}),ls(()=>{l.value&&l.value.focus(),/iPad|iPhone|iPod/.test(window.navigator.userAgent)&&document.querySelectorAll("button").forEach(g=>{g.addEventListener("touchstart",function(){},{passive:!1})})}),(p,g)=>(A0(),$0(pt,null,[oe("div",If,[oe("nav",{class:"theme-app flex justify-between text-white"},[g[5]||(g[5]=oe("h1",{class:"flex items-center h-16 ml-4 select-none"},[oe("span",{class:"text-4xl"},"tex2typst")],-1)),oe("div",{class:"flex"},[g[4]||(g[4]=e4('Cheat sheet iconCheat SheetGithub logoOpen-source',2)),oe("button",{class:"flex items-center font-medium p-2 mr-2 hover:bg-gray-900",onClick:u},g[3]||(g[3]=[oe("img",{class:"inline h-9",src:Z4,alt:"Settings icon"},null,-1),oe("span",{class:"text-lg ml-2 mr-4 hide-on-mobile"},"Settings",-1)]))])]),g[8]||(g[8]=oe("div",{class:"text-center text-app-blue p-4"},[cr(" Convert LaTeX math formula code to Typst code! "),oe("br"),cr(" This tool runs locally in your browser. Nothing is uploaded. ")],-1)),oe("main",Pf,[oe("div",Hf,[oe("div",Lf,[g[6]||(g[6]=oe("span",{class:"text-app-blue p-2"},"LaTeX code",-1)),oe("div",null,[oe("button",{class:"text-app-light-black p-2 mr-2 rounded-lg hover:bg-gray-300 active:bg-gray-400",onClick:g[0]||(g[0]=w=>e.value=Mn(Rf)())},"Random"),oe("button",{class:"text-app-light-black p-2 rounded-lg hover:bg-gray-300 active:bg-gray-400",onClick:g[1]||(g[1]=w=>e.value="")},"Clear")])]),Fl(oe("textarea",{ref_key:"inputArea",ref:l,class:"flex-1 text-app-light-black p-4","onUpdate:modelValue":g[2]||(g[2]=w=>e.value=w),spellcheck:"false"},null,512),[[D4,e.value]])]),oe("div",Ff,[oe("div",$f,[g[7]||(g[7]=oe("span",{class:"text-app-blue p-2"},"Typst code",-1)),oe("div",Vf,[oe("button",{class:"text-app-light-black p-2 rounded-lg hover:bg-gray-300 active:bg-gray-400",onClick:s},"Copy"),Qe(Sf,{ref_key:"copiedToast",ref:a,id:"copiedToast",msg:"Copied!"},null,512)])]),oe("div",Uf,[oe("div",Gf,Wa(r.value.typst),1),r.value.message?(A0(),$0("div",{key:0,class:"min-h-20 text-sm text-app-light-black theme-warning border-t rounded border-yellow-700 p-4",innerHTML:r.value.message},null,8,Wf)):si("",!0)])])]),oe("div",jf,[f.value.optionShowPreview?(A0(),$0("div",{key:0,class:"flex-1",innerHTML:n.value},null,8,Kf)):si("",!0)]),g[9]||(g[9]=oe("footer",{class:"theme-app text-center p-4"},[oe("p",{class:"text-white"},[cr("Powered by "),oe("a",{href:"https://github.com/qwinsi/tex2typst",target:"_blank"},"tex2typst.js")])],-1))]),Qe(Bf,{ref_key:"settingsDialog",ref:i,onNewSettings:d,initial:f.value},null,8,["initial"])],64))}};K4(Xf); diff --git a/cheat-sheet.html b/cheat-sheet.html index 2c5e2f4..131bf79 100644 --- a/cheat-sheet.html +++ b/cheat-sheet.html @@ -356,18 +356,18 @@

Arrows

\Leftarrow\Leftarrowarrow.l.double \Rightarrow\Rightarrowarrow.r.double \Leftrightarrow\Leftrightarrowarrow.l.r.double - \mapsto\mapstoarrow.bar + \mapsto\mapstoarrow.r.bar \hookleftarrow\hookleftarrowarrow.l.hook \leftharpoonup\leftharpoonupharpoon.lt \leftharpoondown\leftharpoondownharpoon.lb \rightleftharpoons\rightleftharpoonsharpoons.rtlb \longleftarrow\longleftarrowarrow.l.long - \longrightarrow\longrightarrowarrow.long + \longrightarrow\longrightarrowarrow.r.long \longleftrightarrow\longleftrightarrowarrow.l.r.long \Longleftarrow\Longleftarrowarrow.l.double.long \Longrightarrow\Longrightarrowarrow.r.double.long \Longleftrightarrow\Longleftrightarrowarrow.l.r.double.long - \longmapsto\longmapstoarrow.bar.long + \longmapsto\longmapstoarrow.r.long.bar \hookrightarrow\hookrightarrowarrow.r.hook \rightharpoonup\rightharpoonupharpoon.rt \rightharpoondown\rightharpoondownharpoon.rb diff --git a/impl-in-typst.html b/impl-in-typst.html index 8ca4d1a..1d712da 100644 --- a/impl-in-typst.html +++ b/impl-in-typst.html @@ -111,44 +111,7 @@

The \LaTeX and \TeX macro

-

The \lfloor, \rfloor, \lceil, and \rceil macros

-

- In Typst, there are floor and ceil functions to make the floor and ceiling symbols, respectively. -

-
    -
  • LaTeX: \lfloor x \rfloor
  • -
  • Typst: floor(x)
  • -
  • LaTeX: \lceil x \rceil
  • -
  • Typst: ceil(x)
  • -
- -

-However, you cannot use a separated left or right version of the symbols. e.g. There is no lfloor function in Typst. -If you really need them, you may define them directly using their Unicode characters as the following: -

- - - -
    -
  • - Implementation in Typst -
    
    -#let lfloor = $⌊$;
    -#let rfloor = $⌋$;
    -#let lceil = $⌈$;
    -#let rceil = $⌉$;
    -      
    -
  • -
  • - Usage example: -
    
    -$
    -y = lfloor x rceil
    -$
    -
    -
  • -

Using the op function to define custom operators

diff --git a/index.html b/index.html index f43cbb4..76005be 100644 --- a/index.html +++ b/index.html @@ -5,7 +5,7 @@ tex2typst Web App - Convert LaTex formula code to Typst - + diff --git a/offline.html b/offline.html index f43cbb4..76005be 100644 --- a/offline.html +++ b/offline.html @@ -5,7 +5,7 @@ tex2typst Web App - Convert LaTex formula code to Typst - +