@skaldapp/runtime 3.3.1 → 3.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"_esprima-DkgNhTNr.js":{"file":"assets/esprima-DkgNhTNr.js","name":"esprima","imports":["_rolldown-runtime-Bhmf7a9N.js"]},"_katex-C_wfUVen.js":{"file":"assets/katex-C_wfUVen.js","name":"katex"},"_markdown-DVKQPuW4.js":{"file":"assets/markdown-DVKQPuW4.js","name":"markdown","imports":["_rolldown-runtime-Bhmf7a9N.js"]},"_ofetch-XPJe_o5P.js":{"file":"assets/ofetch-XPJe_o5P.js","name":"ofetch","imports":["_rolldown-runtime-Bhmf7a9N.js"]},"_rolldown-runtime-Bhmf7a9N.js":{"file":"assets/rolldown-runtime-Bhmf7a9N.js","name":"rolldown-runtime"},"_sucrase-Dj-lYtX4.js":{"file":"assets/sucrase-Dj-lYtX4.js","name":"sucrase","imports":["_rolldown-runtime-Bhmf7a9N.js","_markdown-DVKQPuW4.js"]},"_unocss-DRV4IS89.js":{"file":"assets/unocss-DRV4IS89.js","name":"unocss","imports":["_rolldown-runtime-Bhmf7a9N.js","_sucrase-Dj-lYtX4.js","_markdown-DVKQPuW4.js"],"dynamicImports":["_ofetch-XPJe_o5P.js"]},"_vue-DDdLucjR.js":{"file":"assets/vue-DDdLucjR.js","name":"vue","imports":["_rolldown-runtime-Bhmf7a9N.js","_markdown-DVKQPuW4.js"]},"index.html":{"file":"assets/index-BTwxgQqb.js","name":"index","src":"index.html","isEntry":true,"imports":["_rolldown-runtime-Bhmf7a9N.js","_unocss-DRV4IS89.js","_sucrase-Dj-lYtX4.js","_vue-DDdLucjR.js","_markdown-DVKQPuW4.js","_ofetch-XPJe_o5P.js","_esprima-DkgNhTNr.js","_katex-C_wfUVen.js"],"css":["assets/index-DYiWZXWz.css"]},"node_modules/es-module-shims/dist/es-module-shims.js":{"file":"assets/es-module-shims-2.8.0.js","isStaticEntry":true,"name":"es-module-shims"},"node_modules/vue/dist/vue.esm-browser.prod.js":{"file":"assets/vue.esm-browser.prod-3.5.31.js","isStaticEntry":true,"name":"vue"},"node_modules/vue-router/dist/vue-router.esm-browser.prod.js":{"file":"assets/vue-router.esm-browser.prod-5.0.4.js","isStaticEntry":true,"name":"vue-router"}}
1
+ {"_esprima-DkgNhTNr.js":{"file":"assets/esprima-DkgNhTNr.js","name":"esprima","imports":["_rolldown-runtime-Bhmf7a9N.js"]},"_katex-Ct-b5Mz7.js":{"file":"assets/katex-Ct-b5Mz7.js","name":"katex"},"_markdown-DVKQPuW4.js":{"file":"assets/markdown-DVKQPuW4.js","name":"markdown","imports":["_rolldown-runtime-Bhmf7a9N.js"]},"_ofetch-XPJe_o5P.js":{"file":"assets/ofetch-XPJe_o5P.js","name":"ofetch","imports":["_rolldown-runtime-Bhmf7a9N.js"]},"_rolldown-runtime-Bhmf7a9N.js":{"file":"assets/rolldown-runtime-Bhmf7a9N.js","name":"rolldown-runtime"},"_sucrase-Dj-lYtX4.js":{"file":"assets/sucrase-Dj-lYtX4.js","name":"sucrase","imports":["_rolldown-runtime-Bhmf7a9N.js","_markdown-DVKQPuW4.js"]},"_unocss-DRV4IS89.js":{"file":"assets/unocss-DRV4IS89.js","name":"unocss","imports":["_rolldown-runtime-Bhmf7a9N.js","_sucrase-Dj-lYtX4.js","_markdown-DVKQPuW4.js"],"dynamicImports":["_ofetch-XPJe_o5P.js"]},"_vue-DDdLucjR.js":{"file":"assets/vue-DDdLucjR.js","name":"vue","imports":["_rolldown-runtime-Bhmf7a9N.js","_markdown-DVKQPuW4.js"]},"index.html":{"file":"assets/index-B_nrW9wm.js","name":"index","src":"index.html","isEntry":true,"imports":["_rolldown-runtime-Bhmf7a9N.js","_unocss-DRV4IS89.js","_sucrase-Dj-lYtX4.js","_vue-DDdLucjR.js","_markdown-DVKQPuW4.js","_ofetch-XPJe_o5P.js","_esprima-DkgNhTNr.js","_katex-Ct-b5Mz7.js"],"css":["assets/index-DYiWZXWz.css"]},"node_modules/es-module-shims/dist/es-module-shims.js":{"file":"assets/es-module-shims-2.8.0.js","isStaticEntry":true,"name":"es-module-shims"},"node_modules/vue/dist/vue.esm-browser.prod.js":{"file":"assets/vue.esm-browser.prod-3.5.31.js","isStaticEntry":true,"name":"vue"},"node_modules/vue-router/dist/vue-router.esm-browser.prod.js":{"file":"assets/vue-router.esm-browser.prod-5.0.4.js","isStaticEntry":true,"name":"vue-router"}}
@@ -1,4 +1,4 @@
1
- import{a as __toCommonJS,n as __esmMin,o as __toESM,r as __exportAll,t as __commonJSMin}from"./rolldown-runtime-Bhmf7a9N.js";import{a as presetTypography,c as presetIcons,i as presetWebFonts,l as __vitePreload,n as init,o as MagicString,r as presetWind4,s as presetTagify,t as transformerDirectives,u as presetAttributify}from"./unocss-DRV4IS89.js";import{i as require_buffer,n as createMarkdownExit,r as Token$1,t as b}from"./markdown-DVKQPuW4.js";import{t as transform$1}from"./sucrase-Dj-lYtX4.js";import{a as parse$2,i as compileTemplate,n as compileScript,o as useFetch,r as compileStyleAsync,s as toReactive,t as ssrRenderAttrs}from"./vue-DDdLucjR.js";import{n as ofetch}from"./ofetch-XPJe_o5P.js";import{t as require_esprima}from"./esprima-DkgNhTNr.js";import{t as katex}from"./katex-C_wfUVen.js";import{Fragment,Suspense,computed,createApp,createBlock,createElementBlock,createElementVNode,createVNode,defineAsyncComponent,defineComponent,getCurrentInstance,hasInjectionContext,inject,isRef,nextTick,onActivated,onBeforeUnmount,onDeactivated,openBlock,reactive,ref,resolveComponent,toRef,toRefs,toValue,unref,watch,watchEffect,withCtx}from"vue";import{createRouter,createWebHistory}from"vue-router";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var cdn=`https://cdn.jsdelivr.net/npm/`,preflights={reset:!0},uno_presets_default=({attributifyOptions:e,iconsOptions:t,tagifyOptions:n,typographyOptions:a,webFontsOptions:o,wind4Options:l}={})=>[presetWind4({preflights,...l}),presetAttributify(e),presetTagify(n),presetIcons({cdn,...t}),presetWebFonts(o),presetTypography(a)],require_words=__commonJSMin((e=>{var t=e&&e.__values||function(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],a=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&a>=e.length&&(e=void 0),{value:e&&e[a++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)};Object.defineProperty(e,`__esModule`,{value:!0}),e.getWordsByCategory=e.wordList=void 0,e.wordList={noun:[{word:`accountant`,categories:[`profession`]},{word:`ability`,categories:[`thing`]},{word:`accident`,categories:[`thing`]},{word:`account`,categories:[`thing`]},{word:`action`,categories:[`thing`]},{word:`activity`,categories:[`thing`]},{word:`actor`,categories:[`profession`]},{word:`ad`,categories:[`media`]},{word:`addition`,categories:[`thing`]},{word:`address`,categories:[`thing`]},{word:`adult`,categories:[`people`]},{word:`advantage`,categories:[`thing`]},{word:`advertisement`,categories:[`media`]},{word:`afternoon`,categories:[`time`]},{word:`agency`,categories:[`thing`]},{word:`agent`,categories:[`people`]},{word:`air`,categories:[`thing`]},{word:`airline`,categories:[`transportation`]},{word:`airplane`,categories:[`transportation`]},{word:`airport`,categories:[`transportation`,`place`]},{word:`alarm`,categories:[`thing`]},{word:`alligator`,categories:[`animals`]},{word:`ambulance`,categories:[`health`]},{word:`analyst`,categories:[`profession`]},{word:`angle`,categories:[`thing`]},{word:`animal`,categories:[`animals`]},{word:`answer`,categories:[`thing`]},{word:`apartment`,categories:[`place`]},{word:`apple`,categories:[`food`]},{word:`application`,categories:[`thing`]},{word:`appointment`,categories:[`thing`]},{word:`architect`,categories:[`profession`]},{word:`argument`,categories:[`thing`]},{word:`area`,categories:[`thing`]},{word:`arm`,categories:[`thing`]},{word:`army`,categories:[`thing`]},{word:`art`,categories:[`thing`]},{word:`article`,categories:[`thing`]},{word:`artist`,categories:[`profession`]},{word:`australia`,categories:[`place`]},{word:`author`,categories:[`profession`]},{word:`autumn`,categories:[`time`]},{word:`baby`,categories:[`people`,`family`]},{word:`baker`,categories:[`profession`]},{word:`balloon`,categories:[`thing`]},{word:`banana`,categories:[`food`]},{word:`barista`,categories:[`profession`]},{word:`battery`,categories:[`thing`]},{word:`beach`,categories:[`place`]},{word:`bear`,categories:[`animals`]},{word:`beard`,categories:[`thing`]},{word:`bed`,categories:[`thing`]},{word:`belgium`,categories:[`place`]},{word:`bird`,categories:[`animals`]},{word:`bit`,categories:[`thing`,`technology`]},{word:`book`,categories:[`thing`,`education`]},{word:`boots`,categories:[`thing`]},{word:`boy`,categories:[`people`]},{word:`branch`,categories:[`thing`]},{word:`breakfast`,categories:[`thing`]},{word:`brother`,categories:[`family`]},{word:`businessperson`,categories:[`people`,`business`]},{word:`butcher`,categories:[`profession`]},{word:`byte`,categories:[`thing`,`technology`]},{word:`camera`,categories:[`thing`]},{word:`candle`,categories:[`thing`]},{word:`car`,categories:[`transportation`]},{word:`caravan`,categories:[`transportation`]},{word:`carpenter`,categories:[`profession`]},{word:`carpet`,categories:[`thing`]},{word:`cartoon`,categories:[`media`]},{word:`cat`,categories:[`animals`]},{word:`chef`,categories:[`profession`]},{word:`child`,categories:[`people`,`family`]},{word:`china`,categories:[`place`]},{word:`church`,categories:[`religion`]},{word:`city`,categories:[`place`]},{word:`coat`,categories:[`thing`]},{word:`coffeeshop`,categories:[`place`]},{word:`computer`,categories:[`thing`,`technology`]},{word:`continent`,categories:[`place`]},{word:`controller`,categories:[`thing`,`technology`]},{word:`country`,categories:[`place`]},{word:`cpu`,categories:[`thing`,`technology`]},{word:`crayon`,categories:[`thing`]},{word:`cricket`,categories:[`animals`]},{word:`crowd`,categories:[`people`]},{word:`daughter`,categories:[`family`]},{word:`dawn`,categories:[`time`]},{word:`daybreak`,categories:[`time`]},{word:`death`,categories:[`thing`]},{word:`denmark`,categories:[`place`]},{word:`dentist`,categories:[`profession`]},{word:`diamond`,categories:[`thing`]},{word:`dinner`,categories:[`food`]},{word:`disease`,categories:[`thing`]},{word:`doctor`,categories:[`profession`]},{word:`dog`,categories:[`animals`]},{word:`dream`,categories:[`thing`]},{word:`dress`,categories:[`thing`]},{word:`dusk`,categories:[`time`]},{word:`easter`,categories:[`religion`]},{word:`egg`,categories:[`food`]},{word:`eggplant`,categories:[`food`]},{word:`egypt`,categories:[`place`]},{word:`electrician`,categories:[`profession`]},{word:`elephant`,categories:[`animals`]},{word:`energy`,categories:[`thing`]},{word:`engine`,categories:[`transportation`]},{word:`engineer`,categories:[`profession`]},{word:`england`,categories:[`place`]},{word:`eve`,categories:[`time`]},{word:`evening`,categories:[`time`]},{word:`eventide`,categories:[`time`]},{word:`exabyte`,categories:[`thing`,`technology`]},{word:`eye`,categories:[`thing`]},{word:`fall`,categories:[`time`]},{word:`family`,categories:[`family`]},{word:`farmer`,categories:[`profession`]},{word:`father`,categories:[`people`,`family`]},{word:`finland`,categories:[`place`]},{word:`fireman`,categories:[`profession`]},{word:`fish`,categories:[`animals`]},{word:`flag`,categories:[`thing`]},{word:`florist`,categories:[`profession`]},{word:`flower`,categories:[`thing`]},{word:`football`,categories:[`sports`]},{word:`forest`,categories:[`place`]},{word:`fountain`,categories:[`thing`]},{word:`france`,categories:[`place`]},{word:`furniture`,categories:[`thing`]},{word:`garage`,categories:[`place`]},{word:`garden`,categories:[`food`]},{word:`gas`,categories:[`transportation`]},{word:`ghost`,categories:[`thing`]},{word:`gigabyte`,categories:[`thing`,`technology`]},{word:`girl`,categories:[`people`]},{word:`glass`,categories:[`thing`]},{word:`gold`,categories:[`thing`]},{word:`gpu`,categories:[`thing`,`technology`]},{word:`grandmother`,categories:[`people`,`family`]},{word:`grass`,categories:[`thing`]},{word:`greece`,categories:[`place`]},{word:`guitar`,categories:[`thing`]},{word:`hair`,categories:[`thing`]},{word:`hairdresser`,categories:[`profession`]},{word:`hamburger`,categories:[`food`]},{word:`helicopter`,categories:[`transportation`]},{word:`helmet`,categories:[`thing`]},{word:`holiday`,categories:[`thing`]},{word:`honey`,categories:[`food`]},{word:`horse`,categories:[`animals`]},{word:`hospital`,categories:[`place`]},{word:`house`,categories:[`place`]},{word:`hydrogen`,categories:[`science`]},{word:`ice`,categories:[`science`]},{word:`insect`,categories:[`animals`]},{word:`insurance`,categories:[`thing`]},{word:`intern`,categories:[`profession`]},{word:`iron`,categories:[`science`]},{word:`island`,categories:[`place`]},{word:`jackal`,categories:[`animals`]},{word:`jelly`,categories:[`food`]},{word:`jewellery`,categories:[`thing`]},{word:`jordan`,categories:[`place`]},{word:`journalist`,categories:[`profession`]},{word:`joystick`,categories:[`thing`,`technology`]},{word:`judge`,categories:[`profession`]},{word:`juice`,categories:[`food`]},{word:`kangaroo`,categories:[`animals`]},{word:`keyboard`,categories:[`thing`,`technology`]},{word:`kilobyte`,categories:[`thing`,`technology`]},{word:`king`,categories:[`people`]},{word:`kitchen`,categories:[`place`]},{word:`kite`,categories:[`thing`]},{word:`knife`,categories:[`thing`]},{word:`lamp`,categories:[`thing`]},{word:`laptop`,categories:[`thing`,`technology`]},{word:`lawyer`,categories:[`profession`]},{word:`leather`,categories:[`thing`]},{word:`librarian`,categories:[`profession`]},{word:`library`,categories:[`place`]},{word:`lifeguard`,categories:[`profession`]},{word:`lighter`,categories:[`thing`]},{word:`lion`,categories:[`animals`]},{word:`lizard`,categories:[`animals`]},{word:`lock`,categories:[`thing`]},{word:`london`,categories:[`place`]},{word:`lunch`,categories:[`food`]},{word:`machine`,categories:[`science`]},{word:`magazine`,categories:[`media`]},{word:`magician`,categories:[`people`]},{word:`man`,categories:[`people`]},{word:`manchester`,categories:[`place`]},{word:`market`,categories:[`place`]},{word:`match`,categories:[`thing`]},{word:`mechanic`,categories:[`profession`]},{word:`megabyte`,categories:[`thing`,`technology`]},{word:`memory`,categories:[`thing`,`technology`]},{word:`microphone`,categories:[`thing`]},{word:`midnight`,categories:[`time`]},{word:`minister`,categories:[`people`,`religion`]},{word:`monitor`,categories:[`thing`,`technology`]},{word:`monkey`,categories:[`animals`]},{word:`morn`,categories:[`time`]},{word:`morning`,categories:[`time`]},{word:`mother`,categories:[`people`,`family`]},{word:`motherboard`,categories:[`thing`,`technology`]},{word:`motorcycle`,categories:[`transportation`]},{word:`mouse`,categories:[`thing`,`technology`,`animals`]},{word:`musician`,categories:[`profession`]},{word:`nail`,categories:[`thing`]},{word:`napkin`,categories:[`thing`]},{word:`needle`,categories:[`thing`]},{word:`nest`,categories:[`thing`]},{word:`nigeria`,categories:[`place`]},{word:`night`,categories:[`time`]},{word:`nightfall`,categories:[`time`]},{word:`noon`,categories:[`time`]},{word:`notebook`,categories:[`thing`]},{word:`nurse`,categories:[`profession`]},{word:`ocean`,categories:[`place`]},{word:`oil`,categories:[`thing`]},{word:`optician`,categories:[`profession`]},{word:`orange`,categories:[`food`]},{word:`oxygen`,categories:[`science`]},{word:`oyster`,categories:[`animals`]},{word:`pager`,categories:[`thing`,`technology`]},{word:`painter`,categories:[`profession`]},{word:`painting`,categories:[`media`]},{word:`park`,categories:[`place`]},{word:`parrot`,categories:[`animals`]},{word:`pencil`,categories:[`thing`,`education`]},{word:`petabyte`,categories:[`thing`,`technology`]},{word:`pharmacist`,categories:[`profession`]},{word:`photographer`,categories:[`profession`]},{word:`piano`,categories:[`thing`]},{word:`pillow`,categories:[`thing`]},{word:`pilot`,categories:[`profession`]},{word:`pizza`,categories:[`food`]},{word:`planet`,categories:[`science`]},{word:`plastic`,categories:[`thing`]},{word:`plumber`,categories:[`profession`]},{word:`policeman`,categories:[`profession`]},{word:`portugal`,categories:[`place`]},{word:`postman`,categories:[`profession`]},{word:`potato`,categories:[`food`]},{word:`printer`,categories:[`thing`,`technology`]},{word:`processor`,categories:[`thing`,`technology`]},{word:`psychiatrist`,categories:[`profession`]},{word:`queen`,categories:[`people`]},{word:`quill`,categories:[`thing`]},{word:`rain`,categories:[`thing`]},{word:`rainbow`,categories:[`science`]},{word:`raincoat`,categories:[`thing`]},{word:`ram`,categories:[`thing`,`technology`]},{word:`receptionist`,categories:[`profession`]},{word:`refrigerator`,categories:[`food`]},{word:`restaurant`,categories:[`place`]},{word:`river`,categories:[`thing`]},{word:`rocket`,categories:[`science`]},{word:`room`,categories:[`place`]},{word:`rose`,categories:[`thing`]},{word:`russia`,categories:[`place`]},{word:`salesclerk`,categories:[`people`,`business`]},{word:`salesmen`,categories:[`profession`]},{word:`sandwich`,categories:[`food`]},{word:`school`,categories:[`education`]},{word:`scientist`,categories:[`profession`]},{word:`scooter`,categories:[`transportation`]},{word:`secretary`,categories:[`profession`]},{word:`shampoo`,categories:[`thing`]},{word:`shoe`,categories:[`thing`]},{word:`smartphone`,categories:[`thing`,`technology`]},{word:`soccer`,categories:[`sports`]},{word:`solstice`,categories:[`time`]},{word:`spoon`,categories:[`thing`]},{word:`spring`,categories:[`time`]},{word:`state`,categories:[`place`]},{word:`stone`,categories:[`thing`]},{word:`student`,categories:[`people`,`education`]},{word:`sugar`,categories:[`food`]},{word:`summer`,categories:[`time`]},{word:`sundown`,categories:[`time`]},{word:`sunset`,categories:[`time`]},{word:`sweden`,categories:[`place`]},{word:`table`,categories:[`thing`]},{word:`tailor`,categories:[`profession`]},{word:`teacher`,categories:[`people`,`education`,`profession`]},{word:`teenager`,categories:[`people`,`family`]},{word:`telephone`,categories:[`thing`]},{word:`television`,categories:[`media`]},{word:`tent`,categories:[`thing`]},{word:`terabyte`,categories:[`thing`,`technology`]},{word:`thailand`,categories:[`place`]},{word:`tiger`,categories:[`animals`]},{word:`toddler`,categories:[`people`,`family`]},{word:`tomato`,categories:[`food`]},{word:`toothbrush`,categories:[`thing`]},{word:`traffic`,categories:[`thing`]},{word:`train`,categories:[`transportation`]},{word:`translator`,categories:[`profession`]},{word:`truck`,categories:[`thing`,`transportation`]},{word:`twilight`,categories:[`time`]},{word:`uganda`,categories:[`place`]},{word:`umbrella`,categories:[`thing`]},{word:`van`,categories:[`transportation`]},{word:`vase`,categories:[`thing`]},{word:`vegetable`,categories:[`food`]},{word:`vr`,categories:[`thing`,`technology`]},{word:`vulture`,categories:[`animals`]},{word:`waiter`,categories:[`profession`]},{word:`waitress`,categories:[`profession`]},{word:`wall`,categories:[`thing`]},{word:`whale`,categories:[`animals`]},{word:`window`,categories:[`thing`]},{word:`winter`,categories:[`time`]},{word:`wire`,categories:[`thing`]},{word:`wolf`,categories:[`animals`]},{word:`woman`,categories:[`people`]},{word:`xylophone`,categories:[`thing`]},{word:`yacht`,categories:[`transportation`]},{word:`yak`,categories:[`animals`]},{word:`yottabyte`,categories:[`thing`,`technology`]},{word:`zebra`,categories:[`animals`]},{word:`zettabyte`,categories:[`thing`,`technology`]},{word:`zoo`,categories:[`animals`]}],adjective:[{word:`abandoned`,categories:[`condition`]},{word:`abiding`,categories:[`personality`]},{word:`able`,categories:[`condition`]},{word:`abrasive`,categories:[`condition`,`personality`]},{word:`abnormal`,categories:[`condition`]},{word:`absurd`,categories:[`condition`]},{word:`abundant`,categories:[`quantity`]},{word:`acceptable`,categories:[`condition`]},{word:`acidic`,categories:[`taste`]},{word:`acoustic`,categories:[`sounds`]},{word:`acrid`,categories:[`condition`]},{word:`adamant`,categories:[`personality`]},{word:`adorable`,categories:[`personality`]},{word:`adventurous`,categories:[`personality`]},{word:`aggressive`,categories:[`personality`]},{word:`agitated`,categories:[`personality`]},{word:`agreeable`,categories:[`personality`]},{word:`alert`,categories:[`condition`]},{word:`alive`,categories:[`condition`]},{word:`aloof`,categories:[`personality`]},{word:`ambitious`,categories:[`personality`]},{word:`ancient`,categories:[`time`]},{word:`angry`,categories:[`personality`]},{word:`annoyed`,categories:[`personality`]},{word:`antsy`,categories:[`personality`]},{word:`anxious`,categories:[`personality`]},{word:`appalling`,categories:[`personality`]},{word:`appetizing`,categories:[`taste`]},{word:`apprehensive`,categories:[`personality`]},{word:`arrogant`,categories:[`personality`]},{word:`ashamed`,categories:[`personality`]},{word:`astonishing`,categories:[`personality`]},{word:`attractive`,categories:[`appearance`]},{word:`average`,categories:[`appearance`]},{word:`bad`,categories:[`condition`]},{word:`bald`,categories:[`appearance`]},{word:`bashful`,categories:[`personality`]},{word:`beautiful`,categories:[`appearance`]},{word:`beefy`,categories:[`appearance`]},{word:`belligerent`,categories:[`personality`]},{word:`bent`,categories:[`condition`]},{word:`best`,categories:[`condition`]},{word:`better`,categories:[`condition`]},{word:`bewildered`,categories:[`personality`]},{word:`big`,categories:[`size`]},{word:`billions`,categories:[`quantity`]},{word:`billowy`,categories:[`appearance`]},{word:`bitter`,categories:[`taste`]},{word:`black`,categories:[`color`]},{word:`bland`,categories:[`taste`]},{word:`blue`,categories:[`color`]},{word:`blushing`,categories:[`appearance`]},{word:`bored`,categories:[`personality`]},{word:`boring`,categories:[`personality`]},{word:`boundless`,categories:[`personality`]},{word:`brainy`,categories:[`personality`]},{word:`brash`,categories:[`personality`]},{word:`brave`,categories:[`personality`]},{word:`breezy`,categories:[`touch`]},{word:`brief`,categories:[`time`]},{word:`bright`,categories:[`appearance`]},{word:`broad`,categories:[`shapes`]},{word:`broken`,categories:[`condition`]},{word:`brown`,categories:[`color`]},{word:`bulky`,categories:[`appearance`]},{word:`bumpy`,categories:[`touch`]},{word:`burly`,categories:[`appearance`]},{word:`busy`,categories:[`personality`]},{word:`cagey`,categories:[`personality`]},{word:`calm`,categories:[`personality`]},{word:`callous`,categories:[`personality`]},{word:`careful`,categories:[`condition`]},{word:`chilly`,categories:[`touch`]},{word:`chubby`,categories:[`appearance`]},{word:`clean`,categories:[`appearance`]},{word:`clever`,categories:[`condition`]},{word:`clumsy`,categories:[`personality`]},{word:`cold`,categories:[`touch`]},{word:`colossal`,categories:[`size`]},{word:`cool`,categories:[`touch`]},{word:`crashing`,categories:[`sounds`]},{word:`creamy`,categories:[`taste`]},{word:`crooked`,categories:[`shapes`]},{word:`cuddly`,categories:[`touch`]},{word:`curved`,categories:[`shapes`]},{word:`damaged`,categories:[`touch`]},{word:`damp`,categories:[`touch`]},{word:`dazzling`,categories:[`appearance`]},{word:`dead`,categories:[`condition`]},{word:`deafening`,categories:[`sounds`]},{word:`deep`,categories:[`shapes`]},{word:`defeated`,categories:[`personality`]},{word:`delicious`,categories:[`taste`]},{word:`delightful`,categories:[`personality`]},{word:`dirty`,categories:[`touch`]},{word:`disgusting`,categories:[`taste`]},{word:`drab`,categories:[`appearance`]},{word:`dry`,categories:[`touch`]},{word:`eager`,categories:[`personality`]},{word:`early`,categories:[`time`]},{word:`easy`,categories:[`condition`]},{word:`echoing`,categories:[`sounds`]},{word:`elegant`,categories:[`appearance`]},{word:`embarrassed`,categories:[`personality`]},{word:`enough`,categories:[`quantity`]},{word:`faint`,categories:[`sounds`]},{word:`faithful`,categories:[`personality`]},{word:`famous`,categories:[`condition`]},{word:`fancy`,categories:[`appearance`]},{word:`fast`,categories:[`time`]},{word:`fat`,categories:[`size`]},{word:`few`,categories:[`quantity`]},{word:`fierce`,categories:[`personality`]},{word:`fit`,categories:[`appearance`]},{word:`flabby`,categories:[`appearance`]},{word:`flaky`,categories:[`touch`]},{word:`flat`,categories:[`shapes`]},{word:`fluffy`,categories:[`touch`]},{word:`freezing`,categories:[`touch`]},{word:`fresh`,categories:[`taste`]},{word:`full`,categories:[`quantity`]},{word:`future`,categories:[`time`]},{word:`gentle`,categories:[`personality`]},{word:`gifted`,categories:[`condition`]},{word:`gigantic`,categories:[`size`]},{word:`glamorous`,categories:[`appearance`]},{word:`gorgeous`,categories:[`appearance`]},{word:`gray`,categories:[`color`]},{word:`greasy`,categories:[`touch`,`taste`]},{word:`great`,categories:[`size`]},{word:`green`,categories:[`color`]},{word:`grumpy`,categories:[`personality`]},{word:`hallowed`,categories:[`condition`]},{word:`handsome`,categories:[`appearance`]},{word:`happy`,categories:[`personality`]},{word:`harsh`,categories:[`sounds`]},{word:`helpful`,categories:[`condition`]},{word:`helpless`,categories:[`personality`]},{word:`high`,categories:[`shapes`]},{word:`hissing`,categories:[`sounds`]},{word:`hollow`,categories:[`shapes`]},{word:`hot`,categories:[`touch`,`taste`]},{word:`howling`,categories:[`sounds`]},{word:`huge`,categories:[`size`]},{word:`hundreds`,categories:[`quantity`]},{word:`icy`,categories:[`touch`]},{word:`immense`,categories:[`size`]},{word:`important`,categories:[`condition`]},{word:`incalculable`,categories:[`quantity`]},{word:`inexpensive`,categories:[`condition`]},{word:`itchy`,categories:[`personality`]},{word:`jealous`,categories:[`personality`]},{word:`jolly`,categories:[`personality`]},{word:`juicy`,categories:[`taste`]},{word:`kind`,categories:[`personality`]},{word:`large`,categories:[`size`]},{word:`late`,categories:[`time`]},{word:`lazy`,categories:[`personality`]},{word:`lemon`,categories:[`color`]},{word:`limited`,categories:[`quantity`]},{word:`little`,categories:[`size`,`quantity`]},{word:`lively`,categories:[`personality`]},{word:`long`,categories:[`time`,`appearance`]},{word:`loose`,categories:[`touch`]},{word:`loud`,categories:[`sounds`]},{word:`low`,categories:[`shapes`]},{word:`magnificent`,categories:[`appearance`]},{word:`mammoth`,categories:[`size`]},{word:`mango`,categories:[`color`]},{word:`many`,categories:[`quantity`]},{word:`massive`,categories:[`size`]},{word:`mealy`,categories:[`condition`]},{word:`melodic`,categories:[`sounds`]},{word:`melted`,categories:[`touch`]},{word:`microscopic`,categories:[`size`]},{word:`millions`,categories:[`quantity`]},{word:`miniature`,categories:[`size`]},{word:`modern`,categories:[`time`]},{word:`moldy`,categories:[`taste`]},{word:`most`,categories:[`quantity`]},{word:`muscular`,categories:[`appearance`]},{word:`mushy`,categories:[`condition`]},{word:`mysterious`,categories:[`personality`]},{word:`narrow`,categories:[`shapes`]},{word:`nervous`,categories:[`personality`]},{word:`nice`,categories:[`personality`]},{word:`noisy`,categories:[`sounds`]},{word:`numerous`,categories:[`quantity`]},{word:`nutritious`,categories:[`taste`]},{word:`nutty`,categories:[`taste`]},{word:`obedient`,categories:[`personality`]},{word:`obnoxious`,categories:[`personality`]},{word:`odd`,categories:[`condition`]},{word:`old`,categories:[`time`]},{word:`orange`,categories:[`color`]},{word:`panicky`,categories:[`personality`]},{word:`petite`,categories:[`size`]},{word:`pitiful`,categories:[`personality`]},{word:`plain`,categories:[`appearance`]},{word:`plump`,categories:[`appearance`]},{word:`polite`,categories:[`personality`]},{word:`poor`,categories:[`condition`]},{word:`powerful`,categories:[`condition`]},{word:`prehistoric`,categories:[`time`]},{word:`prickly`,categories:[`touch`]},{word:`proud`,categories:[`personality`]},{word:`puny`,categories:[`size`]},{word:`purple`,categories:[`color`]},{word:`purring`,categories:[`sounds`]},{word:`putrid`,categories:[`taste`]},{word:`quaint`,categories:[`appearance`]},{word:`quick`,categories:[`time`]},{word:`quiet`,categories:[`sounds`]},{word:`rancid`,categories:[`taste`]},{word:`rapid`,categories:[`time`]},{word:`rapping`,categories:[`sounds`]},{word:`raspy`,categories:[`sounds`]},{word:`red`,categories:[`color`]},{word:`refined`,categories:[`shapes`]},{word:`repulsive`,categories:[`personality`]},{word:`rhythmic`,categories:[`sounds`]},{word:`rich`,categories:[`condition`]},{word:`ripe`,categories:[`taste`]},{word:`rotten`,categories:[`taste`]},{word:`rough`,categories:[`touch`]},{word:`round`,categories:[`shapes`]},{word:`salmon`,categories:[`color`]},{word:`salty`,categories:[`taste`]},{word:`savory`,categories:[`taste`]},{word:`scarce`,categories:[`quantity`]},{word:`scary`,categories:[`personality`]},{word:`scrawny`,categories:[`size`]},{word:`screeching`,categories:[`sounds`]},{word:`scruffy`,categories:[`appearance`]},{word:`shaggy`,categories:[`touch`]},{word:`shallow`,categories:[`shapes`]},{word:`shapely`,categories:[`appearance`]},{word:`sharp`,categories:[`touch`]},{word:`short`,categories:[`size`,`appearance`,`time`]},{word:`shrilling`,categories:[`sounds`]},{word:`shy`,categories:[`condition`]},{word:`silly`,categories:[`personality`]},{word:`skinny`,categories:[`appearance`,`shapes`]},{word:`slimy`,categories:[`touch`]},{word:`slow`,categories:[`time`]},{word:`small`,categories:[`size`]},{word:`some`,categories:[`quantity`]},{word:`sour`,categories:[`taste`]},{word:`sparse`,categories:[`quantity`]},{word:`spicy`,categories:[`taste`]},{word:`spoiled`,categories:[`taste`]},{word:`square`,categories:[`shapes`]},{word:`squeaking`,categories:[`sounds`]},{word:`stale`,categories:[`taste`]},{word:`steep`,categories:[`shapes`]},{word:`sticky`,categories:[`touch`]},{word:`stocky`,categories:[`appearance`]},{word:`straight`,categories:[`shapes`]},{word:`strong`,categories:[`touch`]},{word:`substantial`,categories:[`quantity`]},{word:`sweet`,categories:[`taste`]},{word:`swift`,categories:[`time`]},{word:`tall`,categories:[`size`]},{word:`tangy`,categories:[`taste`]},{word:`tart`,categories:[`taste`]},{word:`tasteless`,categories:[`taste`]},{word:`tasty`,categories:[`taste`]},{word:`teeny`,categories:[`size`]},{word:`tender`,categories:[`condition`]},{word:`thankful`,categories:[`personality`]},{word:`thoughtless`,categories:[`personality`]},{word:`thousands`,categories:[`quantity`]},{word:`thundering`,categories:[`sounds`]},{word:`tight`,categories:[`touch`]},{word:`tinkling`,categories:[`sounds`]},{word:`tiny`,categories:[`size`]},{word:`ugly`,categories:[`appearance`]},{word:`uneven`,categories:[`touch`]},{word:`unimportant`,categories:[`condition`]},{word:`uninterested`,categories:[`condition`]},{word:`unkempt`,categories:[`appearance`]},{word:`unsightly`,categories:[`appearance`]},{word:`uptight`,categories:[`personality`]},{word:`vast`,categories:[`condition`]},{word:`victorious`,categories:[`personality`]},{word:`wailing`,categories:[`sounds`]},{word:`warm`,categories:[`touch`]},{word:`weak`,categories:[`touch`]},{word:`wet`,categories:[`touch`]},{word:`whining`,categories:[`sounds`]},{word:`whispering`,categories:[`sounds`]},{word:`white`,categories:[`color`]},{word:`wide`,categories:[`shapes`]},{word:`witty`,categories:[`personality`]},{word:`wonderful`,categories:[`personality`]},{word:`wooden`,categories:[`touch`]},{word:`worried`,categories:[`personality`]},{word:`wrong`,categories:[`condition`]},{word:`yellow`,categories:[`color`]},{word:`young`,categories:[`time`]},{word:`yummy`,categories:[`taste`]},{word:`zealous`,categories:[`personality`]}]};function n(n,a){var o,l;a===void 0&&(a=[]);var u=new Set(a),d=[];try{for(var f=t(e.wordList[n]),m=f.next();!m.done;m=f.next()){var g=m.value;(a.length===0||g.categories.some(function(e){return u.has(e)}))&&d.push(g.word)}}catch(e){o={error:e}}finally{try{m&&!m.done&&(l=f.return)&&l.call(f)}finally{if(o)throw o.error}}return d}e.getWordsByCategory=n})),require_dist=__commonJSMin((e=>{var t=e&&e.__assign||function(){return t=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},t.apply(this,arguments)};Object.defineProperty(e,`__esModule`,{value:!0}),e.totalUniqueSlugs=e.generateSlug=void 0;var n=require_words(),a=3;function o(e,o){for(var d=e||a,f={partsOfSpeech:l(d),categories:{},format:`kebab`},m=t(t({},f),o),g=[],v=0;v<d;v++){var y=m.partsOfSpeech[v],x=n.getWordsByCategory(m.partsOfSpeech[v],m.categories[y]),S=x[Math.floor(Math.random()*x.length)];g.push(S)}return u(g,m.format)}e.generateSlug=o;function l(e){for(var t=[],n=0;n<e-1;n++)t.push(`adjective`);return t.push(`noun`),t}function u(e,t){return t===`kebab`?e.join(`-`).toLowerCase():t===`camel`?e.map(function(e,t){return t===0?e.toLowerCase():e[0].toUpperCase()+e.slice(1).toLowerCase()}).join(``):t===`lower`?e.join(` `).toLowerCase():t===`sentence`?e.map(function(e,t){return t===0?e[0].toUpperCase()+e.slice(1).toLowerCase():e}).join(` `):e.map(function(e){return e[0].toUpperCase()+e.slice(1).toLowerCase()}).join(` `)}function d(e,t){for(var o,u,d={adjective:n.getWordsByCategory(`adjective`,t?.categories?.adjective).length,noun:n.getWordsByCategory(`noun`,t?.categories?.noun).length},f=e||a,m=t?.partsOfSpeech||l(f),g=1,v=0;v<f;v++)g*=d[m[v]];return g}e.totalUniqueSlugs=d})),import_dist=require_dist(),configurable=!0,getItems=(e,t)=>[...e].reverse().map(n=>({node:n,parent:t,siblings:e})),dist_default=(e,{branch:t=`branch`,children:n=`children`,id:a=`id`,index:o=`index`,next:l=`next`,parent:u=`parent`,prev:d=`prev`,siblings:f=`siblings`}={})=>{let m={[t]:{get(){let e=[this];for(;e[0]?.[u];)e.unshift(e[0][u]);return e}},[o]:{get(){return this[f].findIndex(e=>this[a]===e[a])}},[l]:{get(){return this[f][this[o]+1]}},[d]:{get(){return this[f][this[o]-1]}}},g=function*(e){let t=getItems(e.value);for(;t.length;){let{node:e,parent:a,siblings:o}=t.pop()??{};e&&(e[u]!==a&&Object.defineProperty(e,u,{configurable,value:a}),e[f]!==o&&Object.defineProperty(e,f,{configurable,value:o}),Object.keys(m).some(t=>!(t in e))&&Object.defineProperties(e,m),yield e,t.push(...getItems(e[n]??[],e)))}},v=computed(()=>[...g(toRef(e))]),y=computed(()=>Object.fromEntries(v.value.map(e=>[e[a],e]))),x=(e,t)=>{let m=y.value[e];if(m){let[e]=v.value,g=m[o],y=m[l],x=g+1,S=m[u],C=m[d],w=g-1,T=m[f];switch(t){case`add`:{let e=(0,import_dist.generateSlug)();return T.splice(x,0,{[a]:e}),e}case`addChild`:{let e=(0,import_dist.generateSlug)();return Array.isArray(m[n])||(m[n]=[]),m[n].unshift({[a]:e}),e}case`down`:g<T.length-1&&T[g]&&T[x]&&([T[g],T[x]]=[T[x],T[g]]);break;case`left`:if(S?.[u])return S[f].splice(S[o]+1,0,...T.splice(g,1)),S[a];break;case`remove`:{let t=y?.[a]??C?.[a]??S?.[a]??e?.[a];return T.splice(g,1),t}case`right`:if(C){let e=C[n]??[],t=C[a];return C[n]=[...e,...T.splice(g,1)],t}break;case`up`:g&&T[g]&&T[w]&&([T[w],T[g]]=[T[g],T[w]]);break}}};return{add:e=>x(e,`add`),addChild:e=>x(e,`addChild`),down:e=>x(e,`down`),kvNodes:y,left:e=>x(e,`left`),nodes:v,remove:e=>x(e,`remove`),right:e=>x(e,`right`),up:e=>x(e,`up`)}},require_code$1=__commonJSMin((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;var t=class{};e._CodeOrName=t,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var n=class extends t{constructor(t){if(super(),!e.IDENTIFIER.test(t))throw Error(`CodeGen: name must be a valid identifier`);this.str=t}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}};e.Name=n;var a=class extends t{constructor(e){super(),this._items=typeof e==`string`?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let e=this._items[0];return e===``||e===`""`}get str(){var e;return this._str??=this._items.reduce((e,t)=>`${e}${t}`,``)}get names(){var e;return this._names??=this._items.reduce((e,t)=>(t instanceof n&&(e[t.str]=(e[t.str]||0)+1),e),{})}};e._Code=a,e.nil=new a(``);function o(e,...t){let n=[e[0]],o=0;for(;o<t.length;)d(n,t[o]),n.push(e[++o]);return new a(n)}e._=o;var l=new a(`+`);function u(e,...t){let n=[x(e[0])],o=0;for(;o<t.length;)n.push(l),d(n,t[o]),n.push(l,x(e[++o]));return f(n),new a(n)}e.str=u;function d(e,t){t instanceof a?e.push(...t._items):t instanceof n?e.push(t):e.push(v(t))}e.addCodeArg=d;function f(e){let t=1;for(;t<e.length-1;){if(e[t]===l){let n=m(e[t-1],e[t+1]);if(n!==void 0){e.splice(t-1,3,n);continue}e[t++]=`+`}t++}}function m(e,t){if(t===`""`)return e;if(e===`""`)return t;if(typeof e==`string`)return t instanceof n||e[e.length-1]!==`"`?void 0:typeof t==`string`?t[0]===`"`?e.slice(0,-1)+t.slice(1):void 0:`${e.slice(0,-1)}${t}"`;if(typeof t==`string`&&t[0]===`"`&&!(e instanceof n))return`"${e}${t.slice(1)}`}function g(e,t){return t.emptyStr()?e:e.emptyStr()?t:u`${e}${t}`}e.strConcat=g;function v(e){return typeof e==`number`||typeof e==`boolean`||e===null?e:x(Array.isArray(e)?e.join(`,`):e)}function y(e){return new a(x(e))}e.stringify=y;function x(e){return JSON.stringify(e).replace(/\u2028/g,`\\u2028`).replace(/\u2029/g,`\\u2029`)}e.safeStringify=x;function S(t){return typeof t==`string`&&e.IDENTIFIER.test(t)?new a(`.${t}`):o`[${t}]`}e.getProperty=S;function C(t){if(typeof t==`string`&&e.IDENTIFIER.test(t))return new a(`${t}`);throw Error(`CodeGen: invalid export name: ${t}, use explicit $id name mapping`)}e.getEsmExportName=C;function w(e){return new a(e.toString())}e.regexpCode=w})),require_scope=__commonJSMin((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;var t=require_code$1(),n=class extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}},a;(function(e){e[e.Started=0]=`Started`,e[e.Completed=1]=`Completed`})(a||(e.UsedValueState=a={})),e.varKinds={const:new t.Name(`const`),let:new t.Name(`let`),var:new t.Name(`var`)};var o=class{constructor({prefixes:e,parent:t}={}){this._names={},this._prefixes=e,this._parent=t}toName(e){return e instanceof t.Name?e:this.name(e)}name(e){return new t.Name(this._newName(e))}_newName(e){let t=this._names[e]||this._nameGroup(e);return`${e}${t.index++}`}_nameGroup(e){var t,n;if((this._parent?._prefixes)?.has(e)||this._prefixes&&!this._prefixes.has(e))throw Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}};e.Scope=o;var l=class extends t.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:n,itemIndex:a}){this.value=e,this.scopePath=(0,t._)`.${new t.Name(n)}[${a}]`}};e.ValueScopeName=l;var u=(0,t._)`\n`;e.ValueScope=class extends o{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?u:t.nil}}get(){return this._scope}name(e){return new l(e,this._newName(e))}value(e,t){var n;if(t.ref===void 0)throw Error(`CodeGen: ref must be passed in value`);let a=this.toName(e),{prefix:o}=a,l=t.key??t.ref,u=this._values[o];if(u){let e=u.get(l);if(e)return e}else u=this._values[o]=new Map;u.set(l,a);let d=this._scope[o]||(this._scope[o]=[]),f=d.length;return d[f]=t.ref,a.setValue(t,{property:o,itemIndex:f}),a}getValue(e,t){let n=this._values[e];if(n)return n.get(t)}scopeRefs(e,n=this._values){return this._reduceValues(n,n=>{if(n.scopePath===void 0)throw Error(`CodeGen: name "${n}" has no value`);return(0,t._)`${e}${n.scopePath}`})}scopeCode(e=this._values,t,n){return this._reduceValues(e,e=>{if(e.value===void 0)throw Error(`CodeGen: name "${e}" has no value`);return e.value.code},t,n)}_reduceValues(o,l,u={},d){let f=t.nil;for(let m in o){let g=o[m];if(!g)continue;let v=u[m]=u[m]||new Map;g.forEach(o=>{if(v.has(o))return;v.set(o,a.Started);let u=l(o);if(u){let n=this.opts.es5?e.varKinds.var:e.varKinds.const;f=(0,t._)`${f}${n} ${o} = ${u};${this.opts._n}`}else if(u=d?.(o))f=(0,t._)`${f}${u}${this.opts._n}`;else throw new n(o);v.set(o,a.Completed)})}return f}}})),require_codegen=__commonJSMin((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;var t=require_code$1(),n=require_scope(),a=require_code$1();Object.defineProperty(e,`_`,{enumerable:!0,get:function(){return a._}}),Object.defineProperty(e,`str`,{enumerable:!0,get:function(){return a.str}}),Object.defineProperty(e,`strConcat`,{enumerable:!0,get:function(){return a.strConcat}}),Object.defineProperty(e,`nil`,{enumerable:!0,get:function(){return a.nil}}),Object.defineProperty(e,`getProperty`,{enumerable:!0,get:function(){return a.getProperty}}),Object.defineProperty(e,`stringify`,{enumerable:!0,get:function(){return a.stringify}}),Object.defineProperty(e,`regexpCode`,{enumerable:!0,get:function(){return a.regexpCode}}),Object.defineProperty(e,`Name`,{enumerable:!0,get:function(){return a.Name}});var o=require_scope();Object.defineProperty(e,`Scope`,{enumerable:!0,get:function(){return o.Scope}}),Object.defineProperty(e,`ValueScope`,{enumerable:!0,get:function(){return o.ValueScope}}),Object.defineProperty(e,`ValueScopeName`,{enumerable:!0,get:function(){return o.ValueScopeName}}),Object.defineProperty(e,`varKinds`,{enumerable:!0,get:function(){return o.varKinds}}),e.operators={GT:new t._Code(`>`),GTE:new t._Code(`>=`),LT:new t._Code(`<`),LTE:new t._Code(`<=`),EQ:new t._Code(`===`),NEQ:new t._Code(`!==`),NOT:new t._Code(`!`),OR:new t._Code(`||`),AND:new t._Code(`&&`),ADD:new t._Code(`+`)};var l=class{optimizeNodes(){return this}optimizeNames(e,t){return this}},u=class extends l{constructor(e,t,n){super(),this.varKind=e,this.name=t,this.rhs=n}render({es5:e,_n:t}){let a=e?n.varKinds.var:this.varKind,o=this.rhs===void 0?``:` = ${this.rhs}`;return`${a} ${this.name}${o};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&=L(this.rhs,e,t),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}},d=class extends l{constructor(e,t,n){super(),this.lhs=e,this.rhs=t,this.sideEffects=n}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,n){if(!(this.lhs instanceof t.Name&&!e[this.lhs.str]&&!this.sideEffects))return this.rhs=L(this.rhs,e,n),this}get names(){return I(this.lhs instanceof t.Name?{}:{...this.lhs.names},this.rhs)}},f=class extends d{constructor(e,t,n,a){super(e,n,a),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}},m=class extends l{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}},g=class extends l{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:``};`+e}},v=class extends l{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}},y=class extends l{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=L(this.code,e,t),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}},x=class extends l{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce((t,n)=>t+n.render(e),``)}optimizeNodes(){let{nodes:e}=this,t=e.length;for(;t--;){let n=e[t].optimizeNodes();Array.isArray(n)?e.splice(t,1,...n):n?e[t]=n:e.splice(t,1)}return e.length>0?this:void 0}optimizeNames(e,t){let{nodes:n}=this,a=n.length;for(;a--;){let o=n[a];o.optimizeNames(e,t)||(R(e,o.names),n.splice(a,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce((e,t)=>F(e,t.names),{})}},S=class extends x{render(e){return`{`+e._n+super.render(e)+`}`+e._n}},C=class extends x{},w=class extends S{};w.kind=`else`;var T=class e extends S{constructor(e,t){super(t),this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);return this.else&&(t+=`else `+this.else.render(e)),t}optimizeNodes(){super.optimizeNodes();let t=this.condition;if(t===!0)return this.nodes;let n=this.else;if(n){let e=n.optimizeNodes();n=this.else=Array.isArray(e)?new w(e):e}if(n)return t===!1?n instanceof e?n:n.nodes:this.nodes.length?this:new e(z(t),n instanceof e?[n]:n.nodes);if(!(t===!1||!this.nodes.length))return this}optimizeNames(e,t){var n;if(this.else=this.else?.optimizeNames(e,t),super.optimizeNames(e,t)||this.else)return this.condition=L(this.condition,e,t),this}get names(){let e=super.names;return I(e,this.condition),this.else&&F(e,this.else.names),e}};T.kind=`if`;var E=class extends S{};E.kind=`for`;var D=class extends E{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=L(this.iteration,e,t),this}get names(){return F(super.names,this.iteration.names)}},O=class extends E{constructor(e,t,n,a){super(),this.varKind=e,this.name=t,this.from=n,this.to=a}render(e){let t=e.es5?n.varKinds.var:this.varKind,{name:a,from:o,to:l}=this;return`for(${t} ${a}=${o}; ${a}<${l}; ${a}++)`+super.render(e)}get names(){return I(I(super.names,this.from),this.to)}},k=class extends E{constructor(e,t,n,a){super(),this.loop=e,this.varKind=t,this.name=n,this.iterable=a}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=L(this.iterable,e,t),this}get names(){return F(super.names,this.iterable.names)}},A=class extends S{constructor(e,t,n){super(),this.name=e,this.args=t,this.async=n}render(e){return`${this.async?`async `:``}function ${this.name}(${this.args})`+super.render(e)}};A.kind=`func`;var j=class extends x{render(e){return`return `+super.render(e)}};j.kind=`return`;var M=class extends S{render(e){let t=`try`+super.render(e);return this.catch&&(t+=this.catch.render(e)),this.finally&&(t+=this.finally.render(e)),t}optimizeNodes(){var e,t;return super.optimizeNodes(),(e=this.catch)==null||e.optimizeNodes(),(t=this.finally)==null||t.optimizeNodes(),this}optimizeNames(e,t){var n,a;return super.optimizeNames(e,t),(n=this.catch)==null||n.optimizeNames(e,t),(a=this.finally)==null||a.optimizeNames(e,t),this}get names(){let e=super.names;return this.catch&&F(e,this.catch.names),this.finally&&F(e,this.finally.names),e}},N=class extends S{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}};N.kind=`catch`;var P=class extends S{render(e){return`finally`+super.render(e)}};P.kind=`finally`,e.CodeGen=class{constructor(e,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...t,_n:t.lines?`
1
+ import{a as __toCommonJS,n as __esmMin,o as __toESM,r as __exportAll,t as __commonJSMin}from"./rolldown-runtime-Bhmf7a9N.js";import{a as presetTypography,c as presetIcons,i as presetWebFonts,l as __vitePreload,n as init,o as MagicString,r as presetWind4,s as presetTagify,t as transformerDirectives,u as presetAttributify}from"./unocss-DRV4IS89.js";import{i as require_buffer,n as createMarkdownExit,r as Token$1,t as b}from"./markdown-DVKQPuW4.js";import{t as transform$1}from"./sucrase-Dj-lYtX4.js";import{a as parse$2,i as compileTemplate,n as compileScript,o as useFetch,r as compileStyleAsync,s as toReactive,t as ssrRenderAttrs}from"./vue-DDdLucjR.js";import{n as ofetch}from"./ofetch-XPJe_o5P.js";import{t as require_esprima}from"./esprima-DkgNhTNr.js";import{t as katex}from"./katex-Ct-b5Mz7.js";import{Fragment,Suspense,computed,createApp,createBlock,createElementBlock,createElementVNode,createVNode,defineAsyncComponent,defineComponent,getCurrentInstance,hasInjectionContext,inject,isRef,nextTick,onActivated,onBeforeUnmount,onDeactivated,openBlock,reactive,ref,resolveComponent,toRef,toRefs,toValue,unref,watch,watchEffect,withCtx}from"vue";import{createRouter,createWebHistory}from"vue-router";(function(){let e=document.createElement(`link`).relList;if(e&&e.supports&&e.supports(`modulepreload`))return;for(let e of document.querySelectorAll(`link[rel="modulepreload"]`))n(e);new MutationObserver(e=>{for(let t of e)if(t.type===`childList`)for(let e of t.addedNodes)e.tagName===`LINK`&&e.rel===`modulepreload`&&n(e)}).observe(document,{childList:!0,subtree:!0});function t(e){let t={};return e.integrity&&(t.integrity=e.integrity),e.referrerPolicy&&(t.referrerPolicy=e.referrerPolicy),e.crossOrigin===`use-credentials`?t.credentials=`include`:e.crossOrigin===`anonymous`?t.credentials=`omit`:t.credentials=`same-origin`,t}function n(e){if(e.ep)return;e.ep=!0;let n=t(e);fetch(e.href,n)}})();var cdn=`https://cdn.jsdelivr.net/npm/`,preflights={reset:!0},uno_presets_default=({attributifyOptions:e,iconsOptions:t,tagifyOptions:n,typographyOptions:a,webFontsOptions:o,wind4Options:l}={})=>[presetWind4({preflights,...l}),presetAttributify(e),presetTagify(n),presetIcons({cdn,...t}),presetWebFonts(o),presetTypography(a)],require_words=__commonJSMin((e=>{var t=e&&e.__values||function(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],a=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&a>=e.length&&(e=void 0),{value:e&&e[a++],done:!e}}};throw TypeError(t?`Object is not iterable.`:`Symbol.iterator is not defined.`)};Object.defineProperty(e,`__esModule`,{value:!0}),e.getWordsByCategory=e.wordList=void 0,e.wordList={noun:[{word:`accountant`,categories:[`profession`]},{word:`ability`,categories:[`thing`]},{word:`accident`,categories:[`thing`]},{word:`account`,categories:[`thing`]},{word:`action`,categories:[`thing`]},{word:`activity`,categories:[`thing`]},{word:`actor`,categories:[`profession`]},{word:`ad`,categories:[`media`]},{word:`addition`,categories:[`thing`]},{word:`address`,categories:[`thing`]},{word:`adult`,categories:[`people`]},{word:`advantage`,categories:[`thing`]},{word:`advertisement`,categories:[`media`]},{word:`afternoon`,categories:[`time`]},{word:`agency`,categories:[`thing`]},{word:`agent`,categories:[`people`]},{word:`air`,categories:[`thing`]},{word:`airline`,categories:[`transportation`]},{word:`airplane`,categories:[`transportation`]},{word:`airport`,categories:[`transportation`,`place`]},{word:`alarm`,categories:[`thing`]},{word:`alligator`,categories:[`animals`]},{word:`ambulance`,categories:[`health`]},{word:`analyst`,categories:[`profession`]},{word:`angle`,categories:[`thing`]},{word:`animal`,categories:[`animals`]},{word:`answer`,categories:[`thing`]},{word:`apartment`,categories:[`place`]},{word:`apple`,categories:[`food`]},{word:`application`,categories:[`thing`]},{word:`appointment`,categories:[`thing`]},{word:`architect`,categories:[`profession`]},{word:`argument`,categories:[`thing`]},{word:`area`,categories:[`thing`]},{word:`arm`,categories:[`thing`]},{word:`army`,categories:[`thing`]},{word:`art`,categories:[`thing`]},{word:`article`,categories:[`thing`]},{word:`artist`,categories:[`profession`]},{word:`australia`,categories:[`place`]},{word:`author`,categories:[`profession`]},{word:`autumn`,categories:[`time`]},{word:`baby`,categories:[`people`,`family`]},{word:`baker`,categories:[`profession`]},{word:`balloon`,categories:[`thing`]},{word:`banana`,categories:[`food`]},{word:`barista`,categories:[`profession`]},{word:`battery`,categories:[`thing`]},{word:`beach`,categories:[`place`]},{word:`bear`,categories:[`animals`]},{word:`beard`,categories:[`thing`]},{word:`bed`,categories:[`thing`]},{word:`belgium`,categories:[`place`]},{word:`bird`,categories:[`animals`]},{word:`bit`,categories:[`thing`,`technology`]},{word:`book`,categories:[`thing`,`education`]},{word:`boots`,categories:[`thing`]},{word:`boy`,categories:[`people`]},{word:`branch`,categories:[`thing`]},{word:`breakfast`,categories:[`thing`]},{word:`brother`,categories:[`family`]},{word:`businessperson`,categories:[`people`,`business`]},{word:`butcher`,categories:[`profession`]},{word:`byte`,categories:[`thing`,`technology`]},{word:`camera`,categories:[`thing`]},{word:`candle`,categories:[`thing`]},{word:`car`,categories:[`transportation`]},{word:`caravan`,categories:[`transportation`]},{word:`carpenter`,categories:[`profession`]},{word:`carpet`,categories:[`thing`]},{word:`cartoon`,categories:[`media`]},{word:`cat`,categories:[`animals`]},{word:`chef`,categories:[`profession`]},{word:`child`,categories:[`people`,`family`]},{word:`china`,categories:[`place`]},{word:`church`,categories:[`religion`]},{word:`city`,categories:[`place`]},{word:`coat`,categories:[`thing`]},{word:`coffeeshop`,categories:[`place`]},{word:`computer`,categories:[`thing`,`technology`]},{word:`continent`,categories:[`place`]},{word:`controller`,categories:[`thing`,`technology`]},{word:`country`,categories:[`place`]},{word:`cpu`,categories:[`thing`,`technology`]},{word:`crayon`,categories:[`thing`]},{word:`cricket`,categories:[`animals`]},{word:`crowd`,categories:[`people`]},{word:`daughter`,categories:[`family`]},{word:`dawn`,categories:[`time`]},{word:`daybreak`,categories:[`time`]},{word:`death`,categories:[`thing`]},{word:`denmark`,categories:[`place`]},{word:`dentist`,categories:[`profession`]},{word:`diamond`,categories:[`thing`]},{word:`dinner`,categories:[`food`]},{word:`disease`,categories:[`thing`]},{word:`doctor`,categories:[`profession`]},{word:`dog`,categories:[`animals`]},{word:`dream`,categories:[`thing`]},{word:`dress`,categories:[`thing`]},{word:`dusk`,categories:[`time`]},{word:`easter`,categories:[`religion`]},{word:`egg`,categories:[`food`]},{word:`eggplant`,categories:[`food`]},{word:`egypt`,categories:[`place`]},{word:`electrician`,categories:[`profession`]},{word:`elephant`,categories:[`animals`]},{word:`energy`,categories:[`thing`]},{word:`engine`,categories:[`transportation`]},{word:`engineer`,categories:[`profession`]},{word:`england`,categories:[`place`]},{word:`eve`,categories:[`time`]},{word:`evening`,categories:[`time`]},{word:`eventide`,categories:[`time`]},{word:`exabyte`,categories:[`thing`,`technology`]},{word:`eye`,categories:[`thing`]},{word:`fall`,categories:[`time`]},{word:`family`,categories:[`family`]},{word:`farmer`,categories:[`profession`]},{word:`father`,categories:[`people`,`family`]},{word:`finland`,categories:[`place`]},{word:`fireman`,categories:[`profession`]},{word:`fish`,categories:[`animals`]},{word:`flag`,categories:[`thing`]},{word:`florist`,categories:[`profession`]},{word:`flower`,categories:[`thing`]},{word:`football`,categories:[`sports`]},{word:`forest`,categories:[`place`]},{word:`fountain`,categories:[`thing`]},{word:`france`,categories:[`place`]},{word:`furniture`,categories:[`thing`]},{word:`garage`,categories:[`place`]},{word:`garden`,categories:[`food`]},{word:`gas`,categories:[`transportation`]},{word:`ghost`,categories:[`thing`]},{word:`gigabyte`,categories:[`thing`,`technology`]},{word:`girl`,categories:[`people`]},{word:`glass`,categories:[`thing`]},{word:`gold`,categories:[`thing`]},{word:`gpu`,categories:[`thing`,`technology`]},{word:`grandmother`,categories:[`people`,`family`]},{word:`grass`,categories:[`thing`]},{word:`greece`,categories:[`place`]},{word:`guitar`,categories:[`thing`]},{word:`hair`,categories:[`thing`]},{word:`hairdresser`,categories:[`profession`]},{word:`hamburger`,categories:[`food`]},{word:`helicopter`,categories:[`transportation`]},{word:`helmet`,categories:[`thing`]},{word:`holiday`,categories:[`thing`]},{word:`honey`,categories:[`food`]},{word:`horse`,categories:[`animals`]},{word:`hospital`,categories:[`place`]},{word:`house`,categories:[`place`]},{word:`hydrogen`,categories:[`science`]},{word:`ice`,categories:[`science`]},{word:`insect`,categories:[`animals`]},{word:`insurance`,categories:[`thing`]},{word:`intern`,categories:[`profession`]},{word:`iron`,categories:[`science`]},{word:`island`,categories:[`place`]},{word:`jackal`,categories:[`animals`]},{word:`jelly`,categories:[`food`]},{word:`jewellery`,categories:[`thing`]},{word:`jordan`,categories:[`place`]},{word:`journalist`,categories:[`profession`]},{word:`joystick`,categories:[`thing`,`technology`]},{word:`judge`,categories:[`profession`]},{word:`juice`,categories:[`food`]},{word:`kangaroo`,categories:[`animals`]},{word:`keyboard`,categories:[`thing`,`technology`]},{word:`kilobyte`,categories:[`thing`,`technology`]},{word:`king`,categories:[`people`]},{word:`kitchen`,categories:[`place`]},{word:`kite`,categories:[`thing`]},{word:`knife`,categories:[`thing`]},{word:`lamp`,categories:[`thing`]},{word:`laptop`,categories:[`thing`,`technology`]},{word:`lawyer`,categories:[`profession`]},{word:`leather`,categories:[`thing`]},{word:`librarian`,categories:[`profession`]},{word:`library`,categories:[`place`]},{word:`lifeguard`,categories:[`profession`]},{word:`lighter`,categories:[`thing`]},{word:`lion`,categories:[`animals`]},{word:`lizard`,categories:[`animals`]},{word:`lock`,categories:[`thing`]},{word:`london`,categories:[`place`]},{word:`lunch`,categories:[`food`]},{word:`machine`,categories:[`science`]},{word:`magazine`,categories:[`media`]},{word:`magician`,categories:[`people`]},{word:`man`,categories:[`people`]},{word:`manchester`,categories:[`place`]},{word:`market`,categories:[`place`]},{word:`match`,categories:[`thing`]},{word:`mechanic`,categories:[`profession`]},{word:`megabyte`,categories:[`thing`,`technology`]},{word:`memory`,categories:[`thing`,`technology`]},{word:`microphone`,categories:[`thing`]},{word:`midnight`,categories:[`time`]},{word:`minister`,categories:[`people`,`religion`]},{word:`monitor`,categories:[`thing`,`technology`]},{word:`monkey`,categories:[`animals`]},{word:`morn`,categories:[`time`]},{word:`morning`,categories:[`time`]},{word:`mother`,categories:[`people`,`family`]},{word:`motherboard`,categories:[`thing`,`technology`]},{word:`motorcycle`,categories:[`transportation`]},{word:`mouse`,categories:[`thing`,`technology`,`animals`]},{word:`musician`,categories:[`profession`]},{word:`nail`,categories:[`thing`]},{word:`napkin`,categories:[`thing`]},{word:`needle`,categories:[`thing`]},{word:`nest`,categories:[`thing`]},{word:`nigeria`,categories:[`place`]},{word:`night`,categories:[`time`]},{word:`nightfall`,categories:[`time`]},{word:`noon`,categories:[`time`]},{word:`notebook`,categories:[`thing`]},{word:`nurse`,categories:[`profession`]},{word:`ocean`,categories:[`place`]},{word:`oil`,categories:[`thing`]},{word:`optician`,categories:[`profession`]},{word:`orange`,categories:[`food`]},{word:`oxygen`,categories:[`science`]},{word:`oyster`,categories:[`animals`]},{word:`pager`,categories:[`thing`,`technology`]},{word:`painter`,categories:[`profession`]},{word:`painting`,categories:[`media`]},{word:`park`,categories:[`place`]},{word:`parrot`,categories:[`animals`]},{word:`pencil`,categories:[`thing`,`education`]},{word:`petabyte`,categories:[`thing`,`technology`]},{word:`pharmacist`,categories:[`profession`]},{word:`photographer`,categories:[`profession`]},{word:`piano`,categories:[`thing`]},{word:`pillow`,categories:[`thing`]},{word:`pilot`,categories:[`profession`]},{word:`pizza`,categories:[`food`]},{word:`planet`,categories:[`science`]},{word:`plastic`,categories:[`thing`]},{word:`plumber`,categories:[`profession`]},{word:`policeman`,categories:[`profession`]},{word:`portugal`,categories:[`place`]},{word:`postman`,categories:[`profession`]},{word:`potato`,categories:[`food`]},{word:`printer`,categories:[`thing`,`technology`]},{word:`processor`,categories:[`thing`,`technology`]},{word:`psychiatrist`,categories:[`profession`]},{word:`queen`,categories:[`people`]},{word:`quill`,categories:[`thing`]},{word:`rain`,categories:[`thing`]},{word:`rainbow`,categories:[`science`]},{word:`raincoat`,categories:[`thing`]},{word:`ram`,categories:[`thing`,`technology`]},{word:`receptionist`,categories:[`profession`]},{word:`refrigerator`,categories:[`food`]},{word:`restaurant`,categories:[`place`]},{word:`river`,categories:[`thing`]},{word:`rocket`,categories:[`science`]},{word:`room`,categories:[`place`]},{word:`rose`,categories:[`thing`]},{word:`russia`,categories:[`place`]},{word:`salesclerk`,categories:[`people`,`business`]},{word:`salesmen`,categories:[`profession`]},{word:`sandwich`,categories:[`food`]},{word:`school`,categories:[`education`]},{word:`scientist`,categories:[`profession`]},{word:`scooter`,categories:[`transportation`]},{word:`secretary`,categories:[`profession`]},{word:`shampoo`,categories:[`thing`]},{word:`shoe`,categories:[`thing`]},{word:`smartphone`,categories:[`thing`,`technology`]},{word:`soccer`,categories:[`sports`]},{word:`solstice`,categories:[`time`]},{word:`spoon`,categories:[`thing`]},{word:`spring`,categories:[`time`]},{word:`state`,categories:[`place`]},{word:`stone`,categories:[`thing`]},{word:`student`,categories:[`people`,`education`]},{word:`sugar`,categories:[`food`]},{word:`summer`,categories:[`time`]},{word:`sundown`,categories:[`time`]},{word:`sunset`,categories:[`time`]},{word:`sweden`,categories:[`place`]},{word:`table`,categories:[`thing`]},{word:`tailor`,categories:[`profession`]},{word:`teacher`,categories:[`people`,`education`,`profession`]},{word:`teenager`,categories:[`people`,`family`]},{word:`telephone`,categories:[`thing`]},{word:`television`,categories:[`media`]},{word:`tent`,categories:[`thing`]},{word:`terabyte`,categories:[`thing`,`technology`]},{word:`thailand`,categories:[`place`]},{word:`tiger`,categories:[`animals`]},{word:`toddler`,categories:[`people`,`family`]},{word:`tomato`,categories:[`food`]},{word:`toothbrush`,categories:[`thing`]},{word:`traffic`,categories:[`thing`]},{word:`train`,categories:[`transportation`]},{word:`translator`,categories:[`profession`]},{word:`truck`,categories:[`thing`,`transportation`]},{word:`twilight`,categories:[`time`]},{word:`uganda`,categories:[`place`]},{word:`umbrella`,categories:[`thing`]},{word:`van`,categories:[`transportation`]},{word:`vase`,categories:[`thing`]},{word:`vegetable`,categories:[`food`]},{word:`vr`,categories:[`thing`,`technology`]},{word:`vulture`,categories:[`animals`]},{word:`waiter`,categories:[`profession`]},{word:`waitress`,categories:[`profession`]},{word:`wall`,categories:[`thing`]},{word:`whale`,categories:[`animals`]},{word:`window`,categories:[`thing`]},{word:`winter`,categories:[`time`]},{word:`wire`,categories:[`thing`]},{word:`wolf`,categories:[`animals`]},{word:`woman`,categories:[`people`]},{word:`xylophone`,categories:[`thing`]},{word:`yacht`,categories:[`transportation`]},{word:`yak`,categories:[`animals`]},{word:`yottabyte`,categories:[`thing`,`technology`]},{word:`zebra`,categories:[`animals`]},{word:`zettabyte`,categories:[`thing`,`technology`]},{word:`zoo`,categories:[`animals`]}],adjective:[{word:`abandoned`,categories:[`condition`]},{word:`abiding`,categories:[`personality`]},{word:`able`,categories:[`condition`]},{word:`abrasive`,categories:[`condition`,`personality`]},{word:`abnormal`,categories:[`condition`]},{word:`absurd`,categories:[`condition`]},{word:`abundant`,categories:[`quantity`]},{word:`acceptable`,categories:[`condition`]},{word:`acidic`,categories:[`taste`]},{word:`acoustic`,categories:[`sounds`]},{word:`acrid`,categories:[`condition`]},{word:`adamant`,categories:[`personality`]},{word:`adorable`,categories:[`personality`]},{word:`adventurous`,categories:[`personality`]},{word:`aggressive`,categories:[`personality`]},{word:`agitated`,categories:[`personality`]},{word:`agreeable`,categories:[`personality`]},{word:`alert`,categories:[`condition`]},{word:`alive`,categories:[`condition`]},{word:`aloof`,categories:[`personality`]},{word:`ambitious`,categories:[`personality`]},{word:`ancient`,categories:[`time`]},{word:`angry`,categories:[`personality`]},{word:`annoyed`,categories:[`personality`]},{word:`antsy`,categories:[`personality`]},{word:`anxious`,categories:[`personality`]},{word:`appalling`,categories:[`personality`]},{word:`appetizing`,categories:[`taste`]},{word:`apprehensive`,categories:[`personality`]},{word:`arrogant`,categories:[`personality`]},{word:`ashamed`,categories:[`personality`]},{word:`astonishing`,categories:[`personality`]},{word:`attractive`,categories:[`appearance`]},{word:`average`,categories:[`appearance`]},{word:`bad`,categories:[`condition`]},{word:`bald`,categories:[`appearance`]},{word:`bashful`,categories:[`personality`]},{word:`beautiful`,categories:[`appearance`]},{word:`beefy`,categories:[`appearance`]},{word:`belligerent`,categories:[`personality`]},{word:`bent`,categories:[`condition`]},{word:`best`,categories:[`condition`]},{word:`better`,categories:[`condition`]},{word:`bewildered`,categories:[`personality`]},{word:`big`,categories:[`size`]},{word:`billions`,categories:[`quantity`]},{word:`billowy`,categories:[`appearance`]},{word:`bitter`,categories:[`taste`]},{word:`black`,categories:[`color`]},{word:`bland`,categories:[`taste`]},{word:`blue`,categories:[`color`]},{word:`blushing`,categories:[`appearance`]},{word:`bored`,categories:[`personality`]},{word:`boring`,categories:[`personality`]},{word:`boundless`,categories:[`personality`]},{word:`brainy`,categories:[`personality`]},{word:`brash`,categories:[`personality`]},{word:`brave`,categories:[`personality`]},{word:`breezy`,categories:[`touch`]},{word:`brief`,categories:[`time`]},{word:`bright`,categories:[`appearance`]},{word:`broad`,categories:[`shapes`]},{word:`broken`,categories:[`condition`]},{word:`brown`,categories:[`color`]},{word:`bulky`,categories:[`appearance`]},{word:`bumpy`,categories:[`touch`]},{word:`burly`,categories:[`appearance`]},{word:`busy`,categories:[`personality`]},{word:`cagey`,categories:[`personality`]},{word:`calm`,categories:[`personality`]},{word:`callous`,categories:[`personality`]},{word:`careful`,categories:[`condition`]},{word:`chilly`,categories:[`touch`]},{word:`chubby`,categories:[`appearance`]},{word:`clean`,categories:[`appearance`]},{word:`clever`,categories:[`condition`]},{word:`clumsy`,categories:[`personality`]},{word:`cold`,categories:[`touch`]},{word:`colossal`,categories:[`size`]},{word:`cool`,categories:[`touch`]},{word:`crashing`,categories:[`sounds`]},{word:`creamy`,categories:[`taste`]},{word:`crooked`,categories:[`shapes`]},{word:`cuddly`,categories:[`touch`]},{word:`curved`,categories:[`shapes`]},{word:`damaged`,categories:[`touch`]},{word:`damp`,categories:[`touch`]},{word:`dazzling`,categories:[`appearance`]},{word:`dead`,categories:[`condition`]},{word:`deafening`,categories:[`sounds`]},{word:`deep`,categories:[`shapes`]},{word:`defeated`,categories:[`personality`]},{word:`delicious`,categories:[`taste`]},{word:`delightful`,categories:[`personality`]},{word:`dirty`,categories:[`touch`]},{word:`disgusting`,categories:[`taste`]},{word:`drab`,categories:[`appearance`]},{word:`dry`,categories:[`touch`]},{word:`eager`,categories:[`personality`]},{word:`early`,categories:[`time`]},{word:`easy`,categories:[`condition`]},{word:`echoing`,categories:[`sounds`]},{word:`elegant`,categories:[`appearance`]},{word:`embarrassed`,categories:[`personality`]},{word:`enough`,categories:[`quantity`]},{word:`faint`,categories:[`sounds`]},{word:`faithful`,categories:[`personality`]},{word:`famous`,categories:[`condition`]},{word:`fancy`,categories:[`appearance`]},{word:`fast`,categories:[`time`]},{word:`fat`,categories:[`size`]},{word:`few`,categories:[`quantity`]},{word:`fierce`,categories:[`personality`]},{word:`fit`,categories:[`appearance`]},{word:`flabby`,categories:[`appearance`]},{word:`flaky`,categories:[`touch`]},{word:`flat`,categories:[`shapes`]},{word:`fluffy`,categories:[`touch`]},{word:`freezing`,categories:[`touch`]},{word:`fresh`,categories:[`taste`]},{word:`full`,categories:[`quantity`]},{word:`future`,categories:[`time`]},{word:`gentle`,categories:[`personality`]},{word:`gifted`,categories:[`condition`]},{word:`gigantic`,categories:[`size`]},{word:`glamorous`,categories:[`appearance`]},{word:`gorgeous`,categories:[`appearance`]},{word:`gray`,categories:[`color`]},{word:`greasy`,categories:[`touch`,`taste`]},{word:`great`,categories:[`size`]},{word:`green`,categories:[`color`]},{word:`grumpy`,categories:[`personality`]},{word:`hallowed`,categories:[`condition`]},{word:`handsome`,categories:[`appearance`]},{word:`happy`,categories:[`personality`]},{word:`harsh`,categories:[`sounds`]},{word:`helpful`,categories:[`condition`]},{word:`helpless`,categories:[`personality`]},{word:`high`,categories:[`shapes`]},{word:`hissing`,categories:[`sounds`]},{word:`hollow`,categories:[`shapes`]},{word:`hot`,categories:[`touch`,`taste`]},{word:`howling`,categories:[`sounds`]},{word:`huge`,categories:[`size`]},{word:`hundreds`,categories:[`quantity`]},{word:`icy`,categories:[`touch`]},{word:`immense`,categories:[`size`]},{word:`important`,categories:[`condition`]},{word:`incalculable`,categories:[`quantity`]},{word:`inexpensive`,categories:[`condition`]},{word:`itchy`,categories:[`personality`]},{word:`jealous`,categories:[`personality`]},{word:`jolly`,categories:[`personality`]},{word:`juicy`,categories:[`taste`]},{word:`kind`,categories:[`personality`]},{word:`large`,categories:[`size`]},{word:`late`,categories:[`time`]},{word:`lazy`,categories:[`personality`]},{word:`lemon`,categories:[`color`]},{word:`limited`,categories:[`quantity`]},{word:`little`,categories:[`size`,`quantity`]},{word:`lively`,categories:[`personality`]},{word:`long`,categories:[`time`,`appearance`]},{word:`loose`,categories:[`touch`]},{word:`loud`,categories:[`sounds`]},{word:`low`,categories:[`shapes`]},{word:`magnificent`,categories:[`appearance`]},{word:`mammoth`,categories:[`size`]},{word:`mango`,categories:[`color`]},{word:`many`,categories:[`quantity`]},{word:`massive`,categories:[`size`]},{word:`mealy`,categories:[`condition`]},{word:`melodic`,categories:[`sounds`]},{word:`melted`,categories:[`touch`]},{word:`microscopic`,categories:[`size`]},{word:`millions`,categories:[`quantity`]},{word:`miniature`,categories:[`size`]},{word:`modern`,categories:[`time`]},{word:`moldy`,categories:[`taste`]},{word:`most`,categories:[`quantity`]},{word:`muscular`,categories:[`appearance`]},{word:`mushy`,categories:[`condition`]},{word:`mysterious`,categories:[`personality`]},{word:`narrow`,categories:[`shapes`]},{word:`nervous`,categories:[`personality`]},{word:`nice`,categories:[`personality`]},{word:`noisy`,categories:[`sounds`]},{word:`numerous`,categories:[`quantity`]},{word:`nutritious`,categories:[`taste`]},{word:`nutty`,categories:[`taste`]},{word:`obedient`,categories:[`personality`]},{word:`obnoxious`,categories:[`personality`]},{word:`odd`,categories:[`condition`]},{word:`old`,categories:[`time`]},{word:`orange`,categories:[`color`]},{word:`panicky`,categories:[`personality`]},{word:`petite`,categories:[`size`]},{word:`pitiful`,categories:[`personality`]},{word:`plain`,categories:[`appearance`]},{word:`plump`,categories:[`appearance`]},{word:`polite`,categories:[`personality`]},{word:`poor`,categories:[`condition`]},{word:`powerful`,categories:[`condition`]},{word:`prehistoric`,categories:[`time`]},{word:`prickly`,categories:[`touch`]},{word:`proud`,categories:[`personality`]},{word:`puny`,categories:[`size`]},{word:`purple`,categories:[`color`]},{word:`purring`,categories:[`sounds`]},{word:`putrid`,categories:[`taste`]},{word:`quaint`,categories:[`appearance`]},{word:`quick`,categories:[`time`]},{word:`quiet`,categories:[`sounds`]},{word:`rancid`,categories:[`taste`]},{word:`rapid`,categories:[`time`]},{word:`rapping`,categories:[`sounds`]},{word:`raspy`,categories:[`sounds`]},{word:`red`,categories:[`color`]},{word:`refined`,categories:[`shapes`]},{word:`repulsive`,categories:[`personality`]},{word:`rhythmic`,categories:[`sounds`]},{word:`rich`,categories:[`condition`]},{word:`ripe`,categories:[`taste`]},{word:`rotten`,categories:[`taste`]},{word:`rough`,categories:[`touch`]},{word:`round`,categories:[`shapes`]},{word:`salmon`,categories:[`color`]},{word:`salty`,categories:[`taste`]},{word:`savory`,categories:[`taste`]},{word:`scarce`,categories:[`quantity`]},{word:`scary`,categories:[`personality`]},{word:`scrawny`,categories:[`size`]},{word:`screeching`,categories:[`sounds`]},{word:`scruffy`,categories:[`appearance`]},{word:`shaggy`,categories:[`touch`]},{word:`shallow`,categories:[`shapes`]},{word:`shapely`,categories:[`appearance`]},{word:`sharp`,categories:[`touch`]},{word:`short`,categories:[`size`,`appearance`,`time`]},{word:`shrilling`,categories:[`sounds`]},{word:`shy`,categories:[`condition`]},{word:`silly`,categories:[`personality`]},{word:`skinny`,categories:[`appearance`,`shapes`]},{word:`slimy`,categories:[`touch`]},{word:`slow`,categories:[`time`]},{word:`small`,categories:[`size`]},{word:`some`,categories:[`quantity`]},{word:`sour`,categories:[`taste`]},{word:`sparse`,categories:[`quantity`]},{word:`spicy`,categories:[`taste`]},{word:`spoiled`,categories:[`taste`]},{word:`square`,categories:[`shapes`]},{word:`squeaking`,categories:[`sounds`]},{word:`stale`,categories:[`taste`]},{word:`steep`,categories:[`shapes`]},{word:`sticky`,categories:[`touch`]},{word:`stocky`,categories:[`appearance`]},{word:`straight`,categories:[`shapes`]},{word:`strong`,categories:[`touch`]},{word:`substantial`,categories:[`quantity`]},{word:`sweet`,categories:[`taste`]},{word:`swift`,categories:[`time`]},{word:`tall`,categories:[`size`]},{word:`tangy`,categories:[`taste`]},{word:`tart`,categories:[`taste`]},{word:`tasteless`,categories:[`taste`]},{word:`tasty`,categories:[`taste`]},{word:`teeny`,categories:[`size`]},{word:`tender`,categories:[`condition`]},{word:`thankful`,categories:[`personality`]},{word:`thoughtless`,categories:[`personality`]},{word:`thousands`,categories:[`quantity`]},{word:`thundering`,categories:[`sounds`]},{word:`tight`,categories:[`touch`]},{word:`tinkling`,categories:[`sounds`]},{word:`tiny`,categories:[`size`]},{word:`ugly`,categories:[`appearance`]},{word:`uneven`,categories:[`touch`]},{word:`unimportant`,categories:[`condition`]},{word:`uninterested`,categories:[`condition`]},{word:`unkempt`,categories:[`appearance`]},{word:`unsightly`,categories:[`appearance`]},{word:`uptight`,categories:[`personality`]},{word:`vast`,categories:[`condition`]},{word:`victorious`,categories:[`personality`]},{word:`wailing`,categories:[`sounds`]},{word:`warm`,categories:[`touch`]},{word:`weak`,categories:[`touch`]},{word:`wet`,categories:[`touch`]},{word:`whining`,categories:[`sounds`]},{word:`whispering`,categories:[`sounds`]},{word:`white`,categories:[`color`]},{word:`wide`,categories:[`shapes`]},{word:`witty`,categories:[`personality`]},{word:`wonderful`,categories:[`personality`]},{word:`wooden`,categories:[`touch`]},{word:`worried`,categories:[`personality`]},{word:`wrong`,categories:[`condition`]},{word:`yellow`,categories:[`color`]},{word:`young`,categories:[`time`]},{word:`yummy`,categories:[`taste`]},{word:`zealous`,categories:[`personality`]}]};function n(n,a){var o,l;a===void 0&&(a=[]);var u=new Set(a),d=[];try{for(var f=t(e.wordList[n]),m=f.next();!m.done;m=f.next()){var g=m.value;(a.length===0||g.categories.some(function(e){return u.has(e)}))&&d.push(g.word)}}catch(e){o={error:e}}finally{try{m&&!m.done&&(l=f.return)&&l.call(f)}finally{if(o)throw o.error}}return d}e.getWordsByCategory=n})),require_dist=__commonJSMin((e=>{var t=e&&e.__assign||function(){return t=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var o in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},t.apply(this,arguments)};Object.defineProperty(e,`__esModule`,{value:!0}),e.totalUniqueSlugs=e.generateSlug=void 0;var n=require_words(),a=3;function o(e,o){for(var d=e||a,f={partsOfSpeech:l(d),categories:{},format:`kebab`},m=t(t({},f),o),g=[],v=0;v<d;v++){var y=m.partsOfSpeech[v],x=n.getWordsByCategory(m.partsOfSpeech[v],m.categories[y]),S=x[Math.floor(Math.random()*x.length)];g.push(S)}return u(g,m.format)}e.generateSlug=o;function l(e){for(var t=[],n=0;n<e-1;n++)t.push(`adjective`);return t.push(`noun`),t}function u(e,t){return t===`kebab`?e.join(`-`).toLowerCase():t===`camel`?e.map(function(e,t){return t===0?e.toLowerCase():e[0].toUpperCase()+e.slice(1).toLowerCase()}).join(``):t===`lower`?e.join(` `).toLowerCase():t===`sentence`?e.map(function(e,t){return t===0?e[0].toUpperCase()+e.slice(1).toLowerCase():e}).join(` `):e.map(function(e){return e[0].toUpperCase()+e.slice(1).toLowerCase()}).join(` `)}function d(e,t){for(var o,u,d={adjective:n.getWordsByCategory(`adjective`,t?.categories?.adjective).length,noun:n.getWordsByCategory(`noun`,t?.categories?.noun).length},f=e||a,m=t?.partsOfSpeech||l(f),g=1,v=0;v<f;v++)g*=d[m[v]];return g}e.totalUniqueSlugs=d})),import_dist=require_dist(),configurable=!0,getItems=(e,t)=>[...e].reverse().map(n=>({node:n,parent:t,siblings:e})),dist_default=(e,{branch:t=`branch`,children:n=`children`,id:a=`id`,index:o=`index`,next:l=`next`,parent:u=`parent`,prev:d=`prev`,siblings:f=`siblings`}={})=>{let m={[t]:{get(){let e=[this];for(;e[0]?.[u];)e.unshift(e[0][u]);return e}},[o]:{get(){return this[f].findIndex(e=>this[a]===e[a])}},[l]:{get(){return this[f][this[o]+1]}},[d]:{get(){return this[f][this[o]-1]}}},g=function*(e){let t=getItems(e.value);for(;t.length;){let{node:e,parent:a,siblings:o}=t.pop()??{};e&&(e[u]!==a&&Object.defineProperty(e,u,{configurable,value:a}),e[f]!==o&&Object.defineProperty(e,f,{configurable,value:o}),Object.keys(m).some(t=>!(t in e))&&Object.defineProperties(e,m),yield e,t.push(...getItems(e[n]??[],e)))}},v=computed(()=>[...g(toRef(e))]),y=computed(()=>Object.fromEntries(v.value.map(e=>[e[a],e]))),x=(e,t)=>{let m=y.value[e];if(m){let[e]=v.value,g=m[o],y=m[l],x=g+1,S=m[u],C=m[d],w=g-1,T=m[f];switch(t){case`add`:{let e=(0,import_dist.generateSlug)();return T.splice(x,0,{[a]:e}),e}case`addChild`:{let e=(0,import_dist.generateSlug)();return Array.isArray(m[n])||(m[n]=[]),m[n].unshift({[a]:e}),e}case`down`:g<T.length-1&&T[g]&&T[x]&&([T[g],T[x]]=[T[x],T[g]]);break;case`left`:if(S?.[u])return S[f].splice(S[o]+1,0,...T.splice(g,1)),S[a];break;case`remove`:{let t=y?.[a]??C?.[a]??S?.[a]??e?.[a];return T.splice(g,1),t}case`right`:if(C){let e=C[n]??[],t=C[a];return C[n]=[...e,...T.splice(g,1)],t}break;case`up`:g&&T[g]&&T[w]&&([T[w],T[g]]=[T[g],T[w]]);break}}};return{add:e=>x(e,`add`),addChild:e=>x(e,`addChild`),down:e=>x(e,`down`),kvNodes:y,left:e=>x(e,`left`),nodes:v,remove:e=>x(e,`remove`),right:e=>x(e,`right`),up:e=>x(e,`up`)}},require_code$1=__commonJSMin((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.regexpCode=e.getEsmExportName=e.getProperty=e.safeStringify=e.stringify=e.strConcat=e.addCodeArg=e.str=e._=e.nil=e._Code=e.Name=e.IDENTIFIER=e._CodeOrName=void 0;var t=class{};e._CodeOrName=t,e.IDENTIFIER=/^[a-z$_][a-z$_0-9]*$/i;var n=class extends t{constructor(t){if(super(),!e.IDENTIFIER.test(t))throw Error(`CodeGen: name must be a valid identifier`);this.str=t}toString(){return this.str}emptyStr(){return!1}get names(){return{[this.str]:1}}};e.Name=n;var a=class extends t{constructor(e){super(),this._items=typeof e==`string`?[e]:e}toString(){return this.str}emptyStr(){if(this._items.length>1)return!1;let e=this._items[0];return e===``||e===`""`}get str(){var e;return this._str??=this._items.reduce((e,t)=>`${e}${t}`,``)}get names(){var e;return this._names??=this._items.reduce((e,t)=>(t instanceof n&&(e[t.str]=(e[t.str]||0)+1),e),{})}};e._Code=a,e.nil=new a(``);function o(e,...t){let n=[e[0]],o=0;for(;o<t.length;)d(n,t[o]),n.push(e[++o]);return new a(n)}e._=o;var l=new a(`+`);function u(e,...t){let n=[x(e[0])],o=0;for(;o<t.length;)n.push(l),d(n,t[o]),n.push(l,x(e[++o]));return f(n),new a(n)}e.str=u;function d(e,t){t instanceof a?e.push(...t._items):t instanceof n?e.push(t):e.push(v(t))}e.addCodeArg=d;function f(e){let t=1;for(;t<e.length-1;){if(e[t]===l){let n=m(e[t-1],e[t+1]);if(n!==void 0){e.splice(t-1,3,n);continue}e[t++]=`+`}t++}}function m(e,t){if(t===`""`)return e;if(e===`""`)return t;if(typeof e==`string`)return t instanceof n||e[e.length-1]!==`"`?void 0:typeof t==`string`?t[0]===`"`?e.slice(0,-1)+t.slice(1):void 0:`${e.slice(0,-1)}${t}"`;if(typeof t==`string`&&t[0]===`"`&&!(e instanceof n))return`"${e}${t.slice(1)}`}function g(e,t){return t.emptyStr()?e:e.emptyStr()?t:u`${e}${t}`}e.strConcat=g;function v(e){return typeof e==`number`||typeof e==`boolean`||e===null?e:x(Array.isArray(e)?e.join(`,`):e)}function y(e){return new a(x(e))}e.stringify=y;function x(e){return JSON.stringify(e).replace(/\u2028/g,`\\u2028`).replace(/\u2029/g,`\\u2029`)}e.safeStringify=x;function S(t){return typeof t==`string`&&e.IDENTIFIER.test(t)?new a(`.${t}`):o`[${t}]`}e.getProperty=S;function C(t){if(typeof t==`string`&&e.IDENTIFIER.test(t))return new a(`${t}`);throw Error(`CodeGen: invalid export name: ${t}, use explicit $id name mapping`)}e.getEsmExportName=C;function w(e){return new a(e.toString())}e.regexpCode=w})),require_scope=__commonJSMin((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.ValueScope=e.ValueScopeName=e.Scope=e.varKinds=e.UsedValueState=void 0;var t=require_code$1(),n=class extends Error{constructor(e){super(`CodeGen: "code" for ${e} not defined`),this.value=e.value}},a;(function(e){e[e.Started=0]=`Started`,e[e.Completed=1]=`Completed`})(a||(e.UsedValueState=a={})),e.varKinds={const:new t.Name(`const`),let:new t.Name(`let`),var:new t.Name(`var`)};var o=class{constructor({prefixes:e,parent:t}={}){this._names={},this._prefixes=e,this._parent=t}toName(e){return e instanceof t.Name?e:this.name(e)}name(e){return new t.Name(this._newName(e))}_newName(e){let t=this._names[e]||this._nameGroup(e);return`${e}${t.index++}`}_nameGroup(e){var t,n;if((this._parent?._prefixes)?.has(e)||this._prefixes&&!this._prefixes.has(e))throw Error(`CodeGen: prefix "${e}" is not allowed in this scope`);return this._names[e]={prefix:e,index:0}}};e.Scope=o;var l=class extends t.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:n,itemIndex:a}){this.value=e,this.scopePath=(0,t._)`.${new t.Name(n)}[${a}]`}};e.ValueScopeName=l;var u=(0,t._)`\n`;e.ValueScope=class extends o{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?u:t.nil}}get(){return this._scope}name(e){return new l(e,this._newName(e))}value(e,t){var n;if(t.ref===void 0)throw Error(`CodeGen: ref must be passed in value`);let a=this.toName(e),{prefix:o}=a,l=t.key??t.ref,u=this._values[o];if(u){let e=u.get(l);if(e)return e}else u=this._values[o]=new Map;u.set(l,a);let d=this._scope[o]||(this._scope[o]=[]),f=d.length;return d[f]=t.ref,a.setValue(t,{property:o,itemIndex:f}),a}getValue(e,t){let n=this._values[e];if(n)return n.get(t)}scopeRefs(e,n=this._values){return this._reduceValues(n,n=>{if(n.scopePath===void 0)throw Error(`CodeGen: name "${n}" has no value`);return(0,t._)`${e}${n.scopePath}`})}scopeCode(e=this._values,t,n){return this._reduceValues(e,e=>{if(e.value===void 0)throw Error(`CodeGen: name "${e}" has no value`);return e.value.code},t,n)}_reduceValues(o,l,u={},d){let f=t.nil;for(let m in o){let g=o[m];if(!g)continue;let v=u[m]=u[m]||new Map;g.forEach(o=>{if(v.has(o))return;v.set(o,a.Started);let u=l(o);if(u){let n=this.opts.es5?e.varKinds.var:e.varKinds.const;f=(0,t._)`${f}${n} ${o} = ${u};${this.opts._n}`}else if(u=d?.(o))f=(0,t._)`${f}${u}${this.opts._n}`;else throw new n(o);v.set(o,a.Completed)})}return f}}})),require_codegen=__commonJSMin((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.or=e.and=e.not=e.CodeGen=e.operators=e.varKinds=e.ValueScopeName=e.ValueScope=e.Scope=e.Name=e.regexpCode=e.stringify=e.getProperty=e.nil=e.strConcat=e.str=e._=void 0;var t=require_code$1(),n=require_scope(),a=require_code$1();Object.defineProperty(e,`_`,{enumerable:!0,get:function(){return a._}}),Object.defineProperty(e,`str`,{enumerable:!0,get:function(){return a.str}}),Object.defineProperty(e,`strConcat`,{enumerable:!0,get:function(){return a.strConcat}}),Object.defineProperty(e,`nil`,{enumerable:!0,get:function(){return a.nil}}),Object.defineProperty(e,`getProperty`,{enumerable:!0,get:function(){return a.getProperty}}),Object.defineProperty(e,`stringify`,{enumerable:!0,get:function(){return a.stringify}}),Object.defineProperty(e,`regexpCode`,{enumerable:!0,get:function(){return a.regexpCode}}),Object.defineProperty(e,`Name`,{enumerable:!0,get:function(){return a.Name}});var o=require_scope();Object.defineProperty(e,`Scope`,{enumerable:!0,get:function(){return o.Scope}}),Object.defineProperty(e,`ValueScope`,{enumerable:!0,get:function(){return o.ValueScope}}),Object.defineProperty(e,`ValueScopeName`,{enumerable:!0,get:function(){return o.ValueScopeName}}),Object.defineProperty(e,`varKinds`,{enumerable:!0,get:function(){return o.varKinds}}),e.operators={GT:new t._Code(`>`),GTE:new t._Code(`>=`),LT:new t._Code(`<`),LTE:new t._Code(`<=`),EQ:new t._Code(`===`),NEQ:new t._Code(`!==`),NOT:new t._Code(`!`),OR:new t._Code(`||`),AND:new t._Code(`&&`),ADD:new t._Code(`+`)};var l=class{optimizeNodes(){return this}optimizeNames(e,t){return this}},u=class extends l{constructor(e,t,n){super(),this.varKind=e,this.name=t,this.rhs=n}render({es5:e,_n:t}){let a=e?n.varKinds.var:this.varKind,o=this.rhs===void 0?``:` = ${this.rhs}`;return`${a} ${this.name}${o};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&=L(this.rhs,e,t),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}},d=class extends l{constructor(e,t,n){super(),this.lhs=e,this.rhs=t,this.sideEffects=n}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,n){if(!(this.lhs instanceof t.Name&&!e[this.lhs.str]&&!this.sideEffects))return this.rhs=L(this.rhs,e,n),this}get names(){return I(this.lhs instanceof t.Name?{}:{...this.lhs.names},this.rhs)}},f=class extends d{constructor(e,t,n,a){super(e,n,a),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}},m=class extends l{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}},g=class extends l{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:``};`+e}},v=class extends l{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}},y=class extends l{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=L(this.code,e,t),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}},x=class extends l{constructor(e=[]){super(),this.nodes=e}render(e){return this.nodes.reduce((t,n)=>t+n.render(e),``)}optimizeNodes(){let{nodes:e}=this,t=e.length;for(;t--;){let n=e[t].optimizeNodes();Array.isArray(n)?e.splice(t,1,...n):n?e[t]=n:e.splice(t,1)}return e.length>0?this:void 0}optimizeNames(e,t){let{nodes:n}=this,a=n.length;for(;a--;){let o=n[a];o.optimizeNames(e,t)||(R(e,o.names),n.splice(a,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce((e,t)=>F(e,t.names),{})}},S=class extends x{render(e){return`{`+e._n+super.render(e)+`}`+e._n}},C=class extends x{},w=class extends S{};w.kind=`else`;var T=class e extends S{constructor(e,t){super(t),this.condition=e}render(e){let t=`if(${this.condition})`+super.render(e);return this.else&&(t+=`else `+this.else.render(e)),t}optimizeNodes(){super.optimizeNodes();let t=this.condition;if(t===!0)return this.nodes;let n=this.else;if(n){let e=n.optimizeNodes();n=this.else=Array.isArray(e)?new w(e):e}if(n)return t===!1?n instanceof e?n:n.nodes:this.nodes.length?this:new e(z(t),n instanceof e?[n]:n.nodes);if(!(t===!1||!this.nodes.length))return this}optimizeNames(e,t){var n;if(this.else=this.else?.optimizeNames(e,t),super.optimizeNames(e,t)||this.else)return this.condition=L(this.condition,e,t),this}get names(){let e=super.names;return I(e,this.condition),this.else&&F(e,this.else.names),e}};T.kind=`if`;var E=class extends S{};E.kind=`for`;var D=class extends E{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=L(this.iteration,e,t),this}get names(){return F(super.names,this.iteration.names)}},O=class extends E{constructor(e,t,n,a){super(),this.varKind=e,this.name=t,this.from=n,this.to=a}render(e){let t=e.es5?n.varKinds.var:this.varKind,{name:a,from:o,to:l}=this;return`for(${t} ${a}=${o}; ${a}<${l}; ${a}++)`+super.render(e)}get names(){return I(I(super.names,this.from),this.to)}},k=class extends E{constructor(e,t,n,a){super(),this.loop=e,this.varKind=t,this.name=n,this.iterable=a}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=L(this.iterable,e,t),this}get names(){return F(super.names,this.iterable.names)}},A=class extends S{constructor(e,t,n){super(),this.name=e,this.args=t,this.async=n}render(e){return`${this.async?`async `:``}function ${this.name}(${this.args})`+super.render(e)}};A.kind=`func`;var j=class extends x{render(e){return`return `+super.render(e)}};j.kind=`return`;var M=class extends S{render(e){let t=`try`+super.render(e);return this.catch&&(t+=this.catch.render(e)),this.finally&&(t+=this.finally.render(e)),t}optimizeNodes(){var e,t;return super.optimizeNodes(),(e=this.catch)==null||e.optimizeNodes(),(t=this.finally)==null||t.optimizeNodes(),this}optimizeNames(e,t){var n,a;return super.optimizeNames(e,t),(n=this.catch)==null||n.optimizeNames(e,t),(a=this.finally)==null||a.optimizeNames(e,t),this}get names(){let e=super.names;return this.catch&&F(e,this.catch.names),this.finally&&F(e,this.finally.names),e}},N=class extends S{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}};N.kind=`catch`;var P=class extends S{render(e){return`finally`+super.render(e)}};P.kind=`finally`,e.CodeGen=class{constructor(e,t={}){this._values={},this._blockStarts=[],this._constants={},this.opts={...t,_n:t.lines?`
2
2
  `:``},this._extScope=e,this._scope=new n.Scope({parent:e}),this._nodes=[new C]}toString(){return this._root.render(this.opts)}name(e){return this._scope.name(e)}scopeName(e){return this._extScope.name(e)}scopeValue(e,t){let n=this._extScope.value(e,t);return(this._values[n.prefix]||(this._values[n.prefix]=new Set)).add(n),n}getScopeValue(e,t){return this._extScope.getValue(e,t)}scopeRefs(e){return this._extScope.scopeRefs(e,this._values)}scopeCode(){return this._extScope.scopeCode(this._values)}_def(e,t,n,a){let o=this._scope.toName(t);return n!==void 0&&a&&(this._constants[o.str]=n),this._leafNode(new u(e,o,n)),o}const(e,t,a){return this._def(n.varKinds.const,e,t,a)}let(e,t,a){return this._def(n.varKinds.let,e,t,a)}var(e,t,a){return this._def(n.varKinds.var,e,t,a)}assign(e,t,n){return this._leafNode(new d(e,t,n))}add(t,n){return this._leafNode(new f(t,e.operators.ADD,n))}code(e){return typeof e==`function`?e():e!==t.nil&&this._leafNode(new y(e)),this}object(...e){let n=[`{`];for(let[a,o]of e)n.length>1&&n.push(`,`),n.push(a),(a!==o||this.opts.es5)&&(n.push(`:`),(0,t.addCodeArg)(n,o));return n.push(`}`),new t._Code(n)}if(e,t,n){if(this._blockNode(new T(e)),t&&n)this.code(t).else().code(n).endIf();else if(t)this.code(t).endIf();else if(n)throw Error(`CodeGen: "else" body without "then" body`);return this}elseIf(e){return this._elseNode(new T(e))}else(){return this._elseNode(new w)}endIf(){return this._endBlockNode(T,w)}_for(e,t){return this._blockNode(e),t&&this.code(t).endFor(),this}for(e,t){return this._for(new D(e),t)}forRange(e,t,a,o,l=this.opts.es5?n.varKinds.var:n.varKinds.let){let u=this._scope.toName(e);return this._for(new O(l,u,t,a),()=>o(u))}forOf(e,a,o,l=n.varKinds.const){let u=this._scope.toName(e);if(this.opts.es5){let e=a instanceof t.Name?a:this.var(`_arr`,a);return this.forRange(`_i`,0,(0,t._)`${e}.length`,n=>{this.var(u,(0,t._)`${e}[${n}]`),o(u)})}return this._for(new k(`of`,l,u,a),()=>o(u))}forIn(e,a,o,l=this.opts.es5?n.varKinds.var:n.varKinds.const){if(this.opts.ownProperties)return this.forOf(e,(0,t._)`Object.keys(${a})`,o);let u=this._scope.toName(e);return this._for(new k(`in`,l,u,a),()=>o(u))}endFor(){return this._endBlockNode(E)}label(e){return this._leafNode(new m(e))}break(e){return this._leafNode(new g(e))}return(e){let t=new j;if(this._blockNode(t),this.code(e),t.nodes.length!==1)throw Error(`CodeGen: "return" should have one node`);return this._endBlockNode(j)}try(e,t,n){if(!t&&!n)throw Error(`CodeGen: "try" without "catch" and "finally"`);let a=new M;if(this._blockNode(a),this.code(e),t){let e=this.name(`e`);this._currNode=a.catch=new N(e),t(e)}return n&&(this._currNode=a.finally=new P,this.code(n)),this._endBlockNode(N,P)}throw(e){return this._leafNode(new v(e))}block(e,t){return this._blockStarts.push(this._nodes.length),e&&this.code(e).endBlock(t),this}endBlock(e){let t=this._blockStarts.pop();if(t===void 0)throw Error(`CodeGen: not in self-balancing block`);let n=this._nodes.length-t;if(n<0||e!==void 0&&n!==e)throw Error(`CodeGen: wrong number of nodes: ${n} vs ${e} expected`);return this._nodes.length=t,this}func(e,n=t.nil,a,o){return this._blockNode(new A(e,n,a)),o&&this.code(o).endFunc(),this}endFunc(){return this._endBlockNode(A)}optimize(e=1){for(;e-- >0;)this._root.optimizeNodes(),this._root.optimizeNames(this._root.names,this._constants)}_leafNode(e){return this._currNode.nodes.push(e),this}_blockNode(e){this._currNode.nodes.push(e),this._nodes.push(e)}_endBlockNode(e,t){let n=this._currNode;if(n instanceof e||t&&n instanceof t)return this._nodes.pop(),this;throw Error(`CodeGen: not in block "${t?`${e.kind}/${t.kind}`:e.kind}"`)}_elseNode(e){let t=this._currNode;if(!(t instanceof T))throw Error(`CodeGen: "else" without "if"`);return this._currNode=t.else=e,this}get _root(){return this._nodes[0]}get _currNode(){let e=this._nodes;return e[e.length-1]}set _currNode(e){let t=this._nodes;t[t.length-1]=e}};function F(e,t){for(let n in t)e[n]=(e[n]||0)+(t[n]||0);return e}function I(e,n){return n instanceof t._CodeOrName?F(e,n.names):e}function L(e,n,a){if(e instanceof t.Name)return o(e);if(!l(e))return e;return new t._Code(e._items.reduce((e,n)=>(n instanceof t.Name&&(n=o(n)),n instanceof t._Code?e.push(...n._items):e.push(n),e),[]));function o(e){let t=a[e.str];return t===void 0||n[e.str]!==1?e:(delete n[e.str],t)}function l(e){return e instanceof t._Code&&e._items.some(e=>e instanceof t.Name&&n[e.str]===1&&a[e.str]!==void 0)}}function R(e,t){for(let n in t)e[n]=(e[n]||0)-(t[n]||0)}function z(e){return typeof e==`boolean`||typeof e==`number`||e===null?!e:(0,t._)`!${G(e)}`}e.not=z;var B=W(e.operators.AND);function V(...e){return e.reduce(B)}e.and=V;var H=W(e.operators.OR);function U(...e){return e.reduce(H)}e.or=U;function W(e){return(n,a)=>n===t.nil?a:a===t.nil?n:(0,t._)`${G(n)} ${e} ${G(a)}`}function G(e){return e instanceof t.Name?e:(0,t._)`(${e})`}})),require_util=__commonJSMin((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.checkStrictMode=e.getErrorPath=e.Type=e.useFunc=e.setEvaluated=e.evaluatedPropsToName=e.mergeEvaluated=e.eachItem=e.unescapeJsonPointer=e.escapeJsonPointer=e.escapeFragment=e.unescapeFragment=e.schemaRefOrVal=e.schemaHasRulesButRef=e.schemaHasRules=e.checkUnknownRules=e.alwaysValidSchema=e.toHash=void 0;var t=require_codegen(),n=require_code$1();function a(e){let t={};for(let n of e)t[n]=!0;return t}e.toHash=a;function o(e,t){return typeof t==`boolean`?t:Object.keys(t).length===0?!0:(l(e,t),!u(t,e.self.RULES.all))}e.alwaysValidSchema=o;function l(e,t=e.schema){let{opts:n,self:a}=e;if(!n.strictSchema||typeof t==`boolean`)return;let o=a.RULES.keywords;for(let n in t)o[n]||k(e,`unknown keyword: "${n}"`)}e.checkUnknownRules=l;function u(e,t){if(typeof e==`boolean`)return!e;for(let n in e)if(t[n])return!0;return!1}e.schemaHasRules=u;function d(e,t){if(typeof e==`boolean`)return!e;for(let n in e)if(n!==`$ref`&&t.all[n])return!0;return!1}e.schemaHasRulesButRef=d;function f({topSchemaRef:e,schemaPath:n},a,o,l){if(!l){if(typeof a==`number`||typeof a==`boolean`)return a;if(typeof a==`string`)return(0,t._)`${a}`}return(0,t._)`${e}${n}${(0,t.getProperty)(o)}`}e.schemaRefOrVal=f;function m(e){return y(decodeURIComponent(e))}e.unescapeFragment=m;function g(e){return encodeURIComponent(v(e))}e.escapeFragment=g;function v(e){return typeof e==`number`?`${e}`:e.replace(/~/g,`~0`).replace(/\//g,`~1`)}e.escapeJsonPointer=v;function y(e){return e.replace(/~1/g,`/`).replace(/~0/g,`~`)}e.unescapeJsonPointer=y;function x(e,t){if(Array.isArray(e))for(let n of e)t(n);else t(e)}e.eachItem=x;function S({mergeNames:e,mergeToName:n,mergeValues:a,resultToName:o}){return(l,u,d,f)=>{let m=d===void 0?u:d instanceof t.Name?(u instanceof t.Name?e(l,u,d):n(l,u,d),d):u instanceof t.Name?(n(l,d,u),u):a(u,d);return f===t.Name&&!(m instanceof t.Name)?o(l,m):m}}e.mergeEvaluated={props:S({mergeNames:(e,n,a)=>e.if((0,t._)`${a} !== true && ${n} !== undefined`,()=>{e.if((0,t._)`${n} === true`,()=>e.assign(a,!0),()=>e.assign(a,(0,t._)`${a} || {}`).code((0,t._)`Object.assign(${a}, ${n})`))}),mergeToName:(e,n,a)=>e.if((0,t._)`${a} !== true`,()=>{n===!0?e.assign(a,!0):(e.assign(a,(0,t._)`${a} || {}`),w(e,a,n))}),mergeValues:(e,t)=>e===!0?!0:{...e,...t},resultToName:C}),items:S({mergeNames:(e,n,a)=>e.if((0,t._)`${a} !== true && ${n} !== undefined`,()=>e.assign(a,(0,t._)`${n} === true ? true : ${a} > ${n} ? ${a} : ${n}`)),mergeToName:(e,n,a)=>e.if((0,t._)`${a} !== true`,()=>e.assign(a,n===!0?!0:(0,t._)`${a} > ${n} ? ${a} : ${n}`)),mergeValues:(e,t)=>e===!0?!0:Math.max(e,t),resultToName:(e,t)=>e.var(`items`,t)})};function C(e,n){if(n===!0)return e.var(`props`,!0);let a=e.var(`props`,(0,t._)`{}`);return n!==void 0&&w(e,a,n),a}e.evaluatedPropsToName=C;function w(e,n,a){Object.keys(a).forEach(a=>e.assign((0,t._)`${n}${(0,t.getProperty)(a)}`,!0))}e.setEvaluated=w;var T={};function E(e,t){return e.scopeValue(`func`,{ref:t,code:T[t.code]||(T[t.code]=new n._Code(t.code))})}e.useFunc=E;var D;(function(e){e[e.Num=0]=`Num`,e[e.Str=1]=`Str`})(D||(e.Type=D={}));function O(e,n,a){if(e instanceof t.Name){let o=n===D.Num;return a?o?(0,t._)`"[" + ${e} + "]"`:(0,t._)`"['" + ${e} + "']"`:o?(0,t._)`"/" + ${e}`:(0,t._)`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return a?(0,t.getProperty)(e).toString():`/`+v(e)}e.getErrorPath=O;function k(e,t,n=e.opts.strictSchema){if(n){if(t=`strict mode: ${t}`,n===!0)throw Error(t);e.self.logger.warn(t)}}e.checkStrictMode=k})),require_names=__commonJSMin((e=>{Object.defineProperty(e,`__esModule`,{value:!0});var t=require_codegen();e.default={data:new t.Name(`data`),valCxt:new t.Name(`valCxt`),instancePath:new t.Name(`instancePath`),parentData:new t.Name(`parentData`),parentDataProperty:new t.Name(`parentDataProperty`),rootData:new t.Name(`rootData`),dynamicAnchors:new t.Name(`dynamicAnchors`),vErrors:new t.Name(`vErrors`),errors:new t.Name(`errors`),this:new t.Name(`this`),self:new t.Name(`self`),scope:new t.Name(`scope`),json:new t.Name(`json`),jsonPos:new t.Name(`jsonPos`),jsonLen:new t.Name(`jsonLen`),jsonPart:new t.Name(`jsonPart`)}})),require_errors=__commonJSMin((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.extendErrors=e.resetErrorsCount=e.reportExtraError=e.reportError=e.keyword$DataError=e.keywordError=void 0;var t=require_codegen(),n=require_util(),a=require_names();e.keywordError={message:({keyword:e})=>(0,t.str)`must pass "${e}" keyword validation`},e.keyword$DataError={message:({keyword:e,schemaType:n})=>n?(0,t.str)`"${e}" keyword must be ${n} ($data)`:(0,t.str)`"${e}" keyword is invalid ($data)`};function o(n,a=e.keywordError,o,l){let{it:u}=n,{gen:d,compositeRule:g,allErrors:y}=u,x=v(n,a,o);l??(g||y)?f(d,x):m(u,(0,t._)`[${x}]`)}e.reportError=o;function l(t,n=e.keywordError,o){let{it:l}=t,{gen:u,compositeRule:d,allErrors:g}=l;f(u,v(t,n,o)),d||g||m(l,a.default.vErrors)}e.reportExtraError=l;function u(e,n){e.assign(a.default.errors,n),e.if((0,t._)`${a.default.vErrors} !== null`,()=>e.if(n,()=>e.assign((0,t._)`${a.default.vErrors}.length`,n),()=>e.assign(a.default.vErrors,null)))}e.resetErrorsCount=u;function d({gen:e,keyword:n,schemaValue:o,data:l,errsCount:u,it:d}){if(u===void 0)throw Error(`ajv implementation error`);let f=e.name(`err`);e.forRange(`i`,u,a.default.errors,u=>{e.const(f,(0,t._)`${a.default.vErrors}[${u}]`),e.if((0,t._)`${f}.instancePath === undefined`,()=>e.assign((0,t._)`${f}.instancePath`,(0,t.strConcat)(a.default.instancePath,d.errorPath))),e.assign((0,t._)`${f}.schemaPath`,(0,t.str)`${d.errSchemaPath}/${n}`),d.opts.verbose&&(e.assign((0,t._)`${f}.schema`,o),e.assign((0,t._)`${f}.data`,l))})}e.extendErrors=d;function f(e,n){let o=e.const(`err`,n);e.if((0,t._)`${a.default.vErrors} === null`,()=>e.assign(a.default.vErrors,(0,t._)`[${o}]`),(0,t._)`${a.default.vErrors}.push(${o})`),e.code((0,t._)`${a.default.errors}++`)}function m(e,n){let{gen:a,validateName:o,schemaEnv:l}=e;l.$async?a.throw((0,t._)`new ${e.ValidationError}(${n})`):(a.assign((0,t._)`${o}.errors`,n),a.return(!1))}var g={keyword:new t.Name(`keyword`),schemaPath:new t.Name(`schemaPath`),params:new t.Name(`params`),propertyName:new t.Name(`propertyName`),message:new t.Name(`message`),schema:new t.Name(`schema`),parentSchema:new t.Name(`parentSchema`)};function v(e,n,a){let{createErrors:o}=e.it;return o===!1?(0,t._)`{}`:y(e,n,a)}function y(e,t,n={}){let{gen:a,it:o}=e,l=[x(o,n),S(e,n)];return C(e,t,l),a.object(...l)}function x({errorPath:e},{instancePath:o}){let l=o?(0,t.str)`${e}${(0,n.getErrorPath)(o,n.Type.Str)}`:e;return[a.default.instancePath,(0,t.strConcat)(a.default.instancePath,l)]}function S({keyword:e,it:{errSchemaPath:a}},{schemaPath:o,parentSchema:l}){let u=l?a:(0,t.str)`${a}/${e}`;return o&&(u=(0,t.str)`${u}${(0,n.getErrorPath)(o,n.Type.Str)}`),[g.schemaPath,u]}function C(e,{params:n,message:o},l){let{keyword:u,data:d,schemaValue:f,it:m}=e,{opts:v,propertyName:y,topSchemaRef:x,schemaPath:S}=m;l.push([g.keyword,u],[g.params,typeof n==`function`?n(e):n||(0,t._)`{}`]),v.messages&&l.push([g.message,typeof o==`function`?o(e):o]),v.verbose&&l.push([g.schema,f],[g.parentSchema,(0,t._)`${x}${S}`],[a.default.data,d]),y&&l.push([g.propertyName,y])}})),require_boolSchema=__commonJSMin((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.boolOrEmptySchema=e.topBoolOrEmptySchema=void 0;var t=require_errors(),n=require_codegen(),a=require_names(),o={message:`boolean schema is false`};function l(e){let{gen:t,schema:o,validateName:l}=e;o===!1?d(e,!1):typeof o==`object`&&o.$async===!0?t.return(a.default.data):(t.assign((0,n._)`${l}.errors`,null),t.return(!0))}e.topBoolOrEmptySchema=l;function u(e,t){let{gen:n,schema:a}=e;a===!1?(n.var(t,!1),d(e)):n.var(t,!0)}e.boolOrEmptySchema=u;function d(e,n){let{gen:a,data:l}=e,u={gen:a,keyword:`false schema`,data:l,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,t.reportError)(u,o,void 0,n)}})),require_rules=__commonJSMin((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.getRules=e.isJSONType=void 0;var t=new Set([`string`,`number`,`integer`,`boolean`,`null`,`object`,`array`]);function n(e){return typeof e==`string`&&t.has(e)}e.isJSONType=n;function a(){let e={number:{type:`number`,rules:[]},string:{type:`string`,rules:[]},array:{type:`array`,rules:[]},object:{type:`object`,rules:[]}};return{types:{...e,integer:!0,boolean:!0,null:!0},rules:[{rules:[]},e.number,e.string,e.array,e.object],post:{rules:[]},all:{},keywords:{}}}e.getRules=a})),require_applicability=__commonJSMin((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.shouldUseRule=e.shouldUseGroup=e.schemaHasRulesForType=void 0;function t({schema:e,self:t},a){let o=t.RULES.types[a];return o&&o!==!0&&n(e,o)}e.schemaHasRulesForType=t;function n(e,t){return t.rules.some(t=>a(e,t))}e.shouldUseGroup=n;function a(e,t){var n;return e[t.keyword]!==void 0||t.definition.implements?.some(t=>e[t]!==void 0)}e.shouldUseRule=a})),require_dataType=__commonJSMin((e=>{Object.defineProperty(e,`__esModule`,{value:!0}),e.reportTypeError=e.checkDataTypes=e.checkDataType=e.coerceAndCheckDataType=e.getJSONTypes=e.getSchemaTypes=e.DataType=void 0;var t=require_rules(),n=require_applicability(),a=require_errors(),o=require_codegen(),l=require_util(),u;(function(e){e[e.Correct=0]=`Correct`,e[e.Wrong=1]=`Wrong`})(u||(e.DataType=u={}));function d(e){let t=f(e.type);if(t.includes(`null`)){if(e.nullable===!1)throw Error(`type: null contradicts nullable: false`)}else{if(!t.length&&e.nullable!==void 0)throw Error(`"nullable" cannot be used without "type"`);e.nullable===!0&&t.push(`null`)}return t}e.getSchemaTypes=d;function f(e){let n=Array.isArray(e)?e:e?[e]:[];if(n.every(t.isJSONType))return n;throw Error(`type must be JSONType or JSONType[]: `+n.join(`,`))}e.getJSONTypes=f;function m(e,t){let{gen:a,data:o,opts:l}=e,d=v(t,l.coerceTypes),f=t.length>0&&!(d.length===0&&t.length===1&&(0,n.schemaHasRulesForType)(e,t[0]));if(f){let n=C(t,o,l.strictNumbers,u.Wrong);a.if(n,()=>{d.length?y(e,t,d):T(e)})}return f}e.coerceAndCheckDataType=m;var g=new Set([`string`,`number`,`integer`,`boolean`,`null`]);function v(e,t){return t?e.filter(e=>g.has(e)||t===`array`&&e===`array`):[]}function y(e,t,n){let{gen:a,data:l,opts:u}=e,d=a.let(`dataType`,(0,o._)`typeof ${l}`),f=a.let(`coerced`,(0,o._)`undefined`);u.coerceTypes===`array`&&a.if((0,o._)`${d} == 'object' && Array.isArray(${l}) && ${l}.length == 1`,()=>a.assign(l,(0,o._)`${l}[0]`).assign(d,(0,o._)`typeof ${l}`).if(C(t,l,u.strictNumbers),()=>a.assign(f,l))),a.if((0,o._)`${f} !== undefined`);for(let e of n)(g.has(e)||e===`array`&&u.coerceTypes===`array`)&&m(e);a.else(),T(e),a.endIf(),a.if((0,o._)`${f} !== undefined`,()=>{a.assign(l,f),x(e,f)});function m(e){switch(e){case`string`:a.elseIf((0,o._)`${d} == "number" || ${d} == "boolean"`).assign(f,(0,o._)`"" + ${l}`).elseIf((0,o._)`${l} === null`).assign(f,(0,o._)`""`);return;case`number`:a.elseIf((0,o._)`${d} == "boolean" || ${l} === null
3
3
  || (${d} == "string" && ${l} && ${l} == +${l})`).assign(f,(0,o._)`+${l}`);return;case`integer`:a.elseIf((0,o._)`${d} === "boolean" || ${l} === null
4
4
  || (${d} === "string" && ${l} && ${l} == +${l} && !(${l} % 1))`).assign(f,(0,o._)`+${l}`);return;case`boolean`:a.elseIf((0,o._)`${l} === "false" || ${l} === 0 || ${l} === null`).assign(f,!1).elseIf((0,o._)`${l} === "true" || ${l} === 1`).assign(f,!0);return;case`null`:a.elseIf((0,o._)`${l} === "" || ${l} === 0 || ${l} === false`),a.assign(f,null);return;case`array`:a.elseIf((0,o._)`${d} === "string" || ${d} === "number"
@@ -113,4 +113,4 @@ ${o?.script?.content??``}
113
113
  ${o?.scriptSetup?`${o.scriptSetup.tagOpen}${l}${o.scriptSetup.contentStripped}${o.scriptSetup.tagClose}`:`<script setup>${l}<\/script>`}
114
114
  ${u.map(({contentStripped:e,tagClose:t,tagOpen:n})=>`${n}${e.toString()}${t}}`).join(`
115
115
  `)}
116
- `,{scriptOptions})}),promises=new Map,promiseWithResolvers=()=>{let e,t;return{promise:new Promise((n,a)=>{e=n,t=a}),reject:t,resolve:e}},setUno=e=>{uno=e};function addVNodeToHeadObj(e,t){let n=e.type,a=n===`html`?`htmlAttrs`:n===`body`?`bodyAttrs`:n;if(typeof a!=`string`||!(a in t))return;let o=e.props||{};if(e.children){let t=`children`;o.children=Array.isArray(e.children)?e.children[0][t]:e[t]}Array.isArray(t[a])?t[a].push(o):a===`title`?t.title=o.children:t[a]=o}function vnodesToHeadObj(e){let t={title:void 0,htmlAttrs:void 0,bodyAttrs:void 0,base:void 0,meta:[],link:[],style:[],script:[],noscript:[]};for(let n of e)if(typeof n.type==`symbol`&&Array.isArray(n.children))for(let e of n.children)addVNodeToHeadObj(e,t);else addVNodeToHeadObj(n,t);return t}var Head=defineComponent({name:`Head`,setup(e,{slots:t}){let n=useHead(ref({}));return onBeforeUnmount(()=>{n.dispose()}),()=>(watchEffect(()=>{t.default&&n.patch(vnodesToHeadObj(t.default()))}),null)}}),NotFoundView_vue_vue_type_script_setup_true_lang_default=defineComponent({__name:`NotFoundView`,setup(e){return(e,t)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(Head),null,{default:withCtx(()=>[...t[0]||=[createElementVNode(`title`,null,`Page Not Found`,-1)]]),_:1}),t[1]||=createElementVNode(`div`,{class:`absolute inset-0 grid place-items-center`,"un-cloak":``},[createElementVNode(`div`,{class:`text-center`},[createElementVNode(`div`,{class:`text-9xl`},`404`),createElementVNode(`p`,null,`Oops. Nothing here...`)])],-1)],64))}}),NotFoundView_default=NotFoundView_vue_vue_type_script_setup_true_lang_default,PageView_vue_vue_type_script_setup_true_lang_default=defineComponent({__name:`PageView`,props:{id:{}},setup(e){let t=computed(()=>module$1(e.id)),{kvNodes:n}=toRefs(sharedStore);return useHead(computed(()=>{if(n.value[e.id]){let{frontmatter:{attrs:t,hidden:a,icon:o,template:l,...u}}=n.value[e.id],{base:d,bodyAttrs:f,htmlAttrs:m,link:g,meta:v,noscript:y,script:x,style:S,templateParams:C,title:w,titleTemplate:T,...E}=u;return{_flatMeta:E,...f&&{bodyAttrs:f},...m&&{htmlAttrs:m},link:g,meta:v,noscript:y,script:x,style:S,...C&&{templateParams:C},title:w,...T&&{titleTemplate:T}}}else return}),{mode:`client`}),watchEffect(()=>{promises.set(e.id,promiseWithResolvers())}),(n,a)=>(openBlock(),createBlock(unref(t),{onVnodeMounted:a[0]||=t=>unref(promises).get(e.id)?.resolve(void 0)},null,512))}}),PageView_default=PageView_vue_vue_type_script_setup_true_lang_default,app=createApp(App_default),behavior=`smooth`,extraProperties={display:`inline-block`},{pathname}=new URL(document.baseURI),history=createWebHistory(pathname),iconsOptions={extraProperties},index=ofetch(`./docs/index.json`,{responseType:`text`}),routes=[],top=0,{isRedirect,LEAD_TRAIL_SLASH_RE}=sharedStore,{kvNodes,tree}=toRefs(sharedStore),getRoutes=e=>e.map(({$children:e,branch:t,children:n,frontmatter:{hidden:a,template:o},id:l,name:u,parent:d,path:f,to:m})=>{let g=[...o||a||!e.length?[]:[{component:PageView_default,name:l,path:``,props:{id:l}}],...getRoutes(n)],v=isRedirect(t),y=v?``:u?.replace(/ /g,`_`)??``;return f!==void 0&&m&&v&&routes.unshift({path:f.replace(LEAD_TRAIL_SLASH_RE,`/`),redirect:m}),{...(!o||a)&&e.length?void 0:{component:PageView_default,name:l,props:{id:l}},...g.length?{children:g}:void 0,path:d?y:`/`}}),ready=async({extractAll:e,toggleObserver:t,uno:n})=>{tree.value=JSON.parse(jsonrepair(await index||`[{}]`)),await nextTick();let a=async({hash:n,name:a},{name:o})=>{if(o!==a){let n=0;for(;promises.size>n;)n=promises.size,await Promise.all([...promises.values()].map(({promise:e})=>e));promises.clear(),await e(),`requestIdleCallback`in window?await new Promise(e=>requestIdleCallback(e)):(await new Promise(e=>requestAnimationFrame(e)),await new Promise(e=>setTimeout(e))),t(!1)}return{...n?{el:n}:{top},behavior}};setUno(n),routes.push(...getRoutes(tree.value),{component:NotFoundView_default,name:`404`,path:`/:pathMatch(.*)*`});let o=createRouter({history,routes,scrollBehavior:a});o.beforeEach(({name:e,path:n},a)=>{let o=decodeURI(n);return e!==a.name&&t(!0),n===o?void 0:o}),app.use(o),app.mount(`#app`)};window.__vue_app__=app,app.use(createHead({plugins:[TemplateParamsPlugin,AliasSortingPlugin,FlatMetaPlugin,CanonicalPlugin({}),InferSeoMetaPlugin()]})).provide(`docs`,toReactive(kvNodes)),init({defaults:{presets:uno_presets_default({iconsOptions})},ready}),console.info(`Skald / https://github.com/skaldapp / runtime ver.:`,`3.3.1`);
116
+ `,{scriptOptions})}),promises=new Map,promiseWithResolvers=()=>{let e,t;return{promise:new Promise((n,a)=>{e=n,t=a}),reject:t,resolve:e}},setUno=e=>{uno=e};function addVNodeToHeadObj(e,t){let n=e.type,a=n===`html`?`htmlAttrs`:n===`body`?`bodyAttrs`:n;if(typeof a!=`string`||!(a in t))return;let o=e.props||{};if(e.children){let t=`children`;o.children=Array.isArray(e.children)?e.children[0][t]:e[t]}Array.isArray(t[a])?t[a].push(o):a===`title`?t.title=o.children:t[a]=o}function vnodesToHeadObj(e){let t={title:void 0,htmlAttrs:void 0,bodyAttrs:void 0,base:void 0,meta:[],link:[],style:[],script:[],noscript:[]};for(let n of e)if(typeof n.type==`symbol`&&Array.isArray(n.children))for(let e of n.children)addVNodeToHeadObj(e,t);else addVNodeToHeadObj(n,t);return t}var Head=defineComponent({name:`Head`,setup(e,{slots:t}){let n=useHead(ref({}));return onBeforeUnmount(()=>{n.dispose()}),()=>(watchEffect(()=>{t.default&&n.patch(vnodesToHeadObj(t.default()))}),null)}}),NotFoundView_vue_vue_type_script_setup_true_lang_default=defineComponent({__name:`NotFoundView`,setup(e){return(e,t)=>(openBlock(),createElementBlock(Fragment,null,[createVNode(unref(Head),null,{default:withCtx(()=>[...t[0]||=[createElementVNode(`title`,null,`Page Not Found`,-1)]]),_:1}),t[1]||=createElementVNode(`div`,{class:`absolute inset-0 grid place-items-center`,"un-cloak":``},[createElementVNode(`div`,{class:`text-center`},[createElementVNode(`div`,{class:`text-9xl`},`404`),createElementVNode(`p`,null,`Oops. Nothing here...`)])],-1)],64))}}),NotFoundView_default=NotFoundView_vue_vue_type_script_setup_true_lang_default,PageView_vue_vue_type_script_setup_true_lang_default=defineComponent({__name:`PageView`,props:{id:{}},setup(e){let t=computed(()=>module$1(e.id)),{kvNodes:n}=toRefs(sharedStore);return useHead(computed(()=>{if(n.value[e.id]){let{frontmatter:{attrs:t,hidden:a,icon:o,template:l,...u}}=n.value[e.id],{base:d,bodyAttrs:f,htmlAttrs:m,link:g,meta:v,noscript:y,script:x,style:S,templateParams:C,title:w,titleTemplate:T,...E}=u;return{_flatMeta:E,...f&&{bodyAttrs:f},...m&&{htmlAttrs:m},link:g,meta:v,noscript:y,script:x,style:S,...C&&{templateParams:C},title:w,...T&&{titleTemplate:T}}}else return}),{mode:`client`}),watchEffect(()=>{promises.set(e.id,promiseWithResolvers())}),(n,a)=>(openBlock(),createBlock(unref(t),{onVnodeMounted:a[0]||=t=>unref(promises).get(e.id)?.resolve(void 0)},null,512))}}),PageView_default=PageView_vue_vue_type_script_setup_true_lang_default,app=createApp(App_default),behavior=`smooth`,extraProperties={display:`inline-block`},{pathname}=new URL(document.baseURI),history=createWebHistory(pathname),iconsOptions={extraProperties},index=ofetch(`./docs/index.json`,{responseType:`text`}),routes=[],top=0,{isRedirect,LEAD_TRAIL_SLASH_RE}=sharedStore,{kvNodes,tree}=toRefs(sharedStore),getRoutes=e=>e.map(({$children:e,branch:t,children:n,frontmatter:{hidden:a,template:o},id:l,name:u,parent:d,path:f,to:m})=>{let g=[...o||a||!e.length?[]:[{component:PageView_default,name:l,path:``,props:{id:l}}],...getRoutes(n)],v=isRedirect(t),y=v?``:u?.replace(/ /g,`_`)??``;return f!==void 0&&m&&v&&routes.unshift({path:f.replace(LEAD_TRAIL_SLASH_RE,`/`),redirect:m}),{...(!o||a)&&e.length?void 0:{component:PageView_default,name:l,props:{id:l}},...g.length?{children:g}:void 0,path:d?y:`/`}}),ready=async({extractAll:e,toggleObserver:t,uno:n})=>{tree.value=JSON.parse(jsonrepair(await index||`[{}]`)),await nextTick();let a=async({hash:n,name:a},{name:o})=>{if(o!==a){let n=0;for(;promises.size>n;)n=promises.size,await Promise.all([...promises.values()].map(({promise:e})=>e));promises.clear(),await e(),`requestIdleCallback`in window?await new Promise(e=>requestIdleCallback(e)):(await new Promise(e=>requestAnimationFrame(e)),await new Promise(e=>setTimeout(e))),t(!1)}return{...n?{el:n}:{top},behavior}};setUno(n),routes.push(...getRoutes(tree.value),{component:NotFoundView_default,name:`404`,path:`/:pathMatch(.*)*`});let o=createRouter({history,routes,scrollBehavior:a});o.beforeEach(({name:e,path:n},a)=>{let o=decodeURI(n);return e!==a.name&&t(!0),n===o?void 0:o}),app.use(o),app.mount(`#app`)};window.__vue_app__=app,app.use(createHead({plugins:[TemplateParamsPlugin,AliasSortingPlugin,FlatMetaPlugin,CanonicalPlugin({}),InferSeoMetaPlugin()]})).provide(`docs`,toReactive(kvNodes)),init({defaults:{presets:uno_presets_default({iconsOptions})},ready}),console.info(`Skald / https://github.com/skaldapp / runtime ver.:`,`3.3.2`);
@@ -257,9 +257,9 @@ 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
257
257
  c242.7,-294.7,395.3,-681.7,458,-1161c21.3,-164.7,33.3,-350.7,36,-558
258
258
  l0,-`+(t+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
259
259
  -470,-1265c-4.7,-6,-9.7,-11.7,-15,-17c-0.7,-0.7,-6.7,-1,-18,-1z`;default:throw Error(`Unknown stretchy delimiter.`)}},be=class{constructor(e){this.children=e,this.classes=[],this.height=0,this.depth=0,this.maxFontSize=0,this.style={}}hasClass(e){return this.classes.includes(e)}toNode(){for(var e=document.createDocumentFragment(),t=0;t<this.children.length;t++)e.appendChild(this.children[t].toNode());return e}toMarkup(){for(var e=``,t=0;t<this.children.length;t++)e+=this.children[t].toMarkup();return e}toText(){return this.children.map(e=>e.toText()).join(``)}},xe={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},Se={ex:!0,em:!0,mu:!0},Ce=function(e){return typeof e!=`string`&&(e=e.unit),e in xe||e in Se||e===`ex`},E=function(t,n){var r;if(t.unit in xe)r=xe[t.unit]/n.fontMetrics().ptPerEm/n.sizeMultiplier;else if(t.unit===`mu`)r=n.fontMetrics().cssEmPerMu;else{var i=n.style.isTight()?n.havingStyle(n.style.text()):n;if(t.unit===`ex`)r=i.fontMetrics().xHeight;else if(t.unit===`em`)r=i.fontMetrics().quad;else throw new e(`Invalid unit: '`+t.unit+`'`);i!==n&&(r*=i.sizeMultiplier/n.sizeMultiplier)}return Math.min(t.number*r,n.maxSize)},D=function(e){return+e.toFixed(4)+`em`},we=function(e){return e.filter(e=>e).join(` `)},Te=function(e,t,n){if(this.classes=e||[],this.attributes={},this.height=0,this.depth=0,this.maxFontSize=0,this.style=n||{},t){t.style.isTight()&&this.classes.push(`mtight`);var r=t.getColor();r&&(this.style.color=r)}},Ee=function(e){var t=document.createElement(e);t.className=we(this.classes);for(var n of Object.keys(this.style))t.style[n]=this.style[n];for(var r of Object.keys(this.attributes))t.setAttribute(r,this.attributes[r]);for(var i=0;i<this.children.length;i++)t.appendChild(this.children[i].toNode());return t},De=/[\s"'>/=\x00-\x1f]/,Oe=function(t){var r=`<`+t;this.classes.length&&(r+=` class="`+a(we(this.classes))+`"`);var i=``;for(var o of Object.keys(this.style))i+=n(o)+`:`+this.style[o]+`;`;i&&(r+=` style="`+a(i)+`"`);for(var s of Object.keys(this.attributes)){if(De.test(s))throw new e(`Invalid attribute name '`+s+`'`);r+=` `+s+`="`+a(this.attributes[s])+`"`}r+=`>`;for(var c=0;c<this.children.length;c++)r+=this.children[c].toMarkup();return r+=`</`+t+`>`,r},ke=class{constructor(e,t,n,r){Te.call(this,e,n,r),this.children=t||[]}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return Ee.call(this,`span`)}toMarkup(){return Oe.call(this,`span`)}},Ae=class{constructor(e,t,n,r){Te.call(this,t,r),this.children=n||[],this.setAttribute(`href`,e)}setAttribute(e,t){this.attributes[e]=t}hasClass(e){return this.classes.includes(e)}toNode(){return Ee.call(this,`a`)}toMarkup(){return Oe.call(this,`a`)}},je=class{constructor(e,t,n){this.alt=t,this.src=e,this.classes=[`mord`],this.height=0,this.depth=0,this.maxFontSize=0,this.style=n}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createElement(`img`);e.src=this.src,e.alt=this.alt,e.className=`mord`;for(var t of Object.keys(this.style))e.style[t]=this.style[t];return e}toMarkup(){var e=`<img src="`+a(this.src)+`"`+(` alt="`+a(this.alt)+`"`),t=``;for(var r of Object.keys(this.style))t+=n(r)+`:`+this.style[r]+`;`;return t&&(e+=` style="`+a(t)+`"`),e+=`'/>`,e}},Me={î:`ı̂`,ï:`ı̈`,í:`ı́`,ì:`ı̀`},Ne=class{constructor(e,t,n,r,i,a,o,s){this.text=e,this.height=t||0,this.depth=n||0,this.italic=r||0,this.skew=i||0,this.width=a||0,this.classes=o||[],this.style=s||{},this.maxFontSize=0;var c=ae(this.text.charCodeAt(0));c&&this.classes.push(c+`_fallback`),/[îïíì]/.test(this.text)&&(this.text=Me[this.text])}hasClass(e){return this.classes.includes(e)}toNode(){var e=document.createTextNode(this.text),t=null;this.italic>0&&(t=document.createElement(`span`),t.style.marginRight=D(this.italic)),this.classes.length>0&&(t||=document.createElement(`span`),t.className=we(this.classes));for(var n of Object.keys(this.style))t||=document.createElement(`span`),t.style[n]=this.style[n];return t?(t.appendChild(e),t):e}toMarkup(){var e=!1,t=`<span`;this.classes.length&&(e=!0,t+=` class="`,t+=a(we(this.classes)),t+=`"`);var r=``;this.italic>0&&(r+=`margin-right:`+D(this.italic)+`;`);for(var i of Object.keys(this.style))r+=n(i)+`:`+this.style[i]+`;`;r&&(e=!0,t+=` style="`+a(r)+`"`);var o=a(this.text);return e?(t+=`>`,t+=o,t+=`</span>`,t):o}},Pe=class{constructor(e,t){this.children=e||[],this.attributes=t||{}}toNode(){var e=document.createElementNS(`http://www.w3.org/2000/svg`,`svg`);for(var t of Object.keys(this.attributes))e.setAttribute(t,this.attributes[t]);for(var n=0;n<this.children.length;n++)e.appendChild(this.children[n].toNode());return e}toMarkup(){var e=`<svg xmlns="http://www.w3.org/2000/svg"`;for(var t of Object.keys(this.attributes))e+=` `+t+`="`+a(this.attributes[t])+`"`;e+=`>`;for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+=`</svg>`,e}},Fe=class{constructor(e,t){this.pathName=e,this.alternate=t}toNode(){var e=document.createElementNS(`http://www.w3.org/2000/svg`,`path`);return this.alternate?e.setAttribute(`d`,this.alternate):e.setAttribute(`d`,ve[this.pathName]),e}toMarkup(){return this.alternate?`<path d="`+a(this.alternate)+`"/>`:`<path d="`+a(ve[this.pathName])+`"/>`}},Ie=class{constructor(e){this.attributes=e||{}}toNode(){var e=document.createElementNS(`http://www.w3.org/2000/svg`,`line`);for(var t of Object.keys(this.attributes))e.setAttribute(t,this.attributes[t]);return e}toMarkup(){var e=`<line`;for(var t of Object.keys(this.attributes))e+=` `+t+`="`+a(this.attributes[t])+`"`;return e+=`/>`,e}};function Le(e){if(e instanceof Ne)return e;throw Error(`Expected symbolNode but got `+String(e)+`.`)}function Re(e){if(e instanceof ke)return e;throw Error(`Expected span<HtmlDomNode> but got `+String(e)+`.`)}var ze=e=>e instanceof ke||e instanceof Ae||e instanceof be,Be={"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]}},Ve={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]},He={Å:`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 Ue(e,t){Be[e]=t}function We(e,t,n){if(!Be[t])throw Error(`Font metrics not found for font: `+t+`.`);var r=e.charCodeAt(0),i=Be[t][r];if(!i&&e[0]in He&&(r=He[e[0]].charCodeAt(0),i=Be[t][r]),!i&&n===`text`&&se(r)&&(i=Be[t][77]),i)return{depth:i[0],height:i[1],italic:i[2],skew:i[3],width:i[4]}}var Ge={};function Ke(e){var t=e>=5?0:e>=3?1:2;if(!Ge[t]){var n=Ge[t]={cssEmPerMu:Ve.quad[t]/18};for(var r in Ve)Ve.hasOwnProperty(r)&&(n[r]=Ve[r][t])}return Ge[t]}var qe={bin:1,close:1,inner:1,open:1,punct:1,rel:1},Je={"accent-token":1,mathord:1,"op-token":1,spacing:1,textord:1},O={math:{},text:{}};function k(e,t,n,r,i,a){O[e][i]={font:t,group:n,replace:r},a&&r&&(O[e][r]=O[e][i])}var A=`math`,j=`text`,M=`main`,N=`ams`,P=`accent-token`,F=`bin`,Ye=`close`,Xe=`inner`,I=`mathord`,L=`op-token`,Ze=`open`,Qe=`punct`,R=`rel`,$e=`spacing`,z=`textord`;k(A,M,R,`≡`,`\\equiv`,!0),k(A,M,R,`≺`,`\\prec`,!0),k(A,M,R,`≻`,`\\succ`,!0),k(A,M,R,`∼`,`\\sim`,!0),k(A,M,R,`⊥`,`\\perp`),k(A,M,R,`⪯`,`\\preceq`,!0),k(A,M,R,`⪰`,`\\succeq`,!0),k(A,M,R,`≃`,`\\simeq`,!0),k(A,M,R,`∣`,`\\mid`,!0),k(A,M,R,`≪`,`\\ll`,!0),k(A,M,R,`≫`,`\\gg`,!0),k(A,M,R,`≍`,`\\asymp`,!0),k(A,M,R,`∥`,`\\parallel`),k(A,M,R,`⋈`,`\\bowtie`,!0),k(A,M,R,`⌣`,`\\smile`,!0),k(A,M,R,`⊑`,`\\sqsubseteq`,!0),k(A,M,R,`⊒`,`\\sqsupseteq`,!0),k(A,M,R,`≐`,`\\doteq`,!0),k(A,M,R,`⌢`,`\\frown`,!0),k(A,M,R,`∋`,`\\ni`,!0),k(A,M,R,`∝`,`\\propto`,!0),k(A,M,R,`⊢`,`\\vdash`,!0),k(A,M,R,`⊣`,`\\dashv`,!0),k(A,M,R,`∋`,`\\owns`),k(A,M,Qe,`.`,`\\ldotp`),k(A,M,Qe,`⋅`,`\\cdotp`),k(A,M,Qe,`⋅`,`·`),k(j,M,z,`⋅`,`·`),k(A,M,z,`#`,`\\#`),k(j,M,z,`#`,`\\#`),k(A,M,z,`&`,`\\&`),k(j,M,z,`&`,`\\&`),k(A,M,z,`ℵ`,`\\aleph`,!0),k(A,M,z,`∀`,`\\forall`,!0),k(A,M,z,`ℏ`,`\\hbar`,!0),k(A,M,z,`∃`,`\\exists`,!0),k(A,M,z,`∇`,`\\nabla`,!0),k(A,M,z,`♭`,`\\flat`,!0),k(A,M,z,`ℓ`,`\\ell`,!0),k(A,M,z,`♮`,`\\natural`,!0),k(A,M,z,`♣`,`\\clubsuit`,!0),k(A,M,z,`℘`,`\\wp`,!0),k(A,M,z,`♯`,`\\sharp`,!0),k(A,M,z,`♢`,`\\diamondsuit`,!0),k(A,M,z,`ℜ`,`\\Re`,!0),k(A,M,z,`♡`,`\\heartsuit`,!0),k(A,M,z,`ℑ`,`\\Im`,!0),k(A,M,z,`♠`,`\\spadesuit`,!0),k(A,M,z,`§`,`\\S`,!0),k(j,M,z,`§`,`\\S`),k(A,M,z,`¶`,`\\P`,!0),k(j,M,z,`¶`,`\\P`),k(A,M,z,`†`,`\\dag`),k(j,M,z,`†`,`\\dag`),k(j,M,z,`†`,`\\textdagger`),k(A,M,z,`‡`,`\\ddag`),k(j,M,z,`‡`,`\\ddag`),k(j,M,z,`‡`,`\\textdaggerdbl`),k(A,M,Ye,`⎱`,`\\rmoustache`,!0),k(A,M,Ze,`⎰`,`\\lmoustache`,!0),k(A,M,Ye,`⟯`,`\\rgroup`,!0),k(A,M,Ze,`⟮`,`\\lgroup`,!0),k(A,M,F,`∓`,`\\mp`,!0),k(A,M,F,`⊖`,`\\ominus`,!0),k(A,M,F,`⊎`,`\\uplus`,!0),k(A,M,F,`⊓`,`\\sqcap`,!0),k(A,M,F,`∗`,`\\ast`),k(A,M,F,`⊔`,`\\sqcup`,!0),k(A,M,F,`◯`,`\\bigcirc`,!0),k(A,M,F,`∙`,`\\bullet`,!0),k(A,M,F,`‡`,`\\ddagger`),k(A,M,F,`≀`,`\\wr`,!0),k(A,M,F,`⨿`,`\\amalg`),k(A,M,F,`&`,`\\And`),k(A,M,R,`⟵`,`\\longleftarrow`,!0),k(A,M,R,`⇐`,`\\Leftarrow`,!0),k(A,M,R,`⟸`,`\\Longleftarrow`,!0),k(A,M,R,`⟶`,`\\longrightarrow`,!0),k(A,M,R,`⇒`,`\\Rightarrow`,!0),k(A,M,R,`⟹`,`\\Longrightarrow`,!0),k(A,M,R,`↔`,`\\leftrightarrow`,!0),k(A,M,R,`⟷`,`\\longleftrightarrow`,!0),k(A,M,R,`⇔`,`\\Leftrightarrow`,!0),k(A,M,R,`⟺`,`\\Longleftrightarrow`,!0),k(A,M,R,`↦`,`\\mapsto`,!0),k(A,M,R,`⟼`,`\\longmapsto`,!0),k(A,M,R,`↗`,`\\nearrow`,!0),k(A,M,R,`↩`,`\\hookleftarrow`,!0),k(A,M,R,`↪`,`\\hookrightarrow`,!0),k(A,M,R,`↘`,`\\searrow`,!0),k(A,M,R,`↼`,`\\leftharpoonup`,!0),k(A,M,R,`⇀`,`\\rightharpoonup`,!0),k(A,M,R,`↙`,`\\swarrow`,!0),k(A,M,R,`↽`,`\\leftharpoondown`,!0),k(A,M,R,`⇁`,`\\rightharpoondown`,!0),k(A,M,R,`↖`,`\\nwarrow`,!0),k(A,M,R,`⇌`,`\\rightleftharpoons`,!0),k(A,N,R,`≮`,`\\nless`,!0),k(A,N,R,``,`\\@nleqslant`),k(A,N,R,``,`\\@nleqq`),k(A,N,R,`⪇`,`\\lneq`,!0),k(A,N,R,`≨`,`\\lneqq`,!0),k(A,N,R,``,`\\@lvertneqq`),k(A,N,R,`⋦`,`\\lnsim`,!0),k(A,N,R,`⪉`,`\\lnapprox`,!0),k(A,N,R,`⊀`,`\\nprec`,!0),k(A,N,R,`⋠`,`\\npreceq`,!0),k(A,N,R,`⋨`,`\\precnsim`,!0),k(A,N,R,`⪹`,`\\precnapprox`,!0),k(A,N,R,`≁`,`\\nsim`,!0),k(A,N,R,``,`\\@nshortmid`),k(A,N,R,`∤`,`\\nmid`,!0),k(A,N,R,`⊬`,`\\nvdash`,!0),k(A,N,R,`⊭`,`\\nvDash`,!0),k(A,N,R,`⋪`,`\\ntriangleleft`),k(A,N,R,`⋬`,`\\ntrianglelefteq`,!0),k(A,N,R,`⊊`,`\\subsetneq`,!0),k(A,N,R,``,`\\@varsubsetneq`),k(A,N,R,`⫋`,`\\subsetneqq`,!0),k(A,N,R,``,`\\@varsubsetneqq`),k(A,N,R,`≯`,`\\ngtr`,!0),k(A,N,R,``,`\\@ngeqslant`),k(A,N,R,``,`\\@ngeqq`),k(A,N,R,`⪈`,`\\gneq`,!0),k(A,N,R,`≩`,`\\gneqq`,!0),k(A,N,R,``,`\\@gvertneqq`),k(A,N,R,`⋧`,`\\gnsim`,!0),k(A,N,R,`⪊`,`\\gnapprox`,!0),k(A,N,R,`⊁`,`\\nsucc`,!0),k(A,N,R,`⋡`,`\\nsucceq`,!0),k(A,N,R,`⋩`,`\\succnsim`,!0),k(A,N,R,`⪺`,`\\succnapprox`,!0),k(A,N,R,`≆`,`\\ncong`,!0),k(A,N,R,``,`\\@nshortparallel`),k(A,N,R,`∦`,`\\nparallel`,!0),k(A,N,R,`⊯`,`\\nVDash`,!0),k(A,N,R,`⋫`,`\\ntriangleright`),k(A,N,R,`⋭`,`\\ntrianglerighteq`,!0),k(A,N,R,``,`\\@nsupseteqq`),k(A,N,R,`⊋`,`\\supsetneq`,!0),k(A,N,R,``,`\\@varsupsetneq`),k(A,N,R,`⫌`,`\\supsetneqq`,!0),k(A,N,R,``,`\\@varsupsetneqq`),k(A,N,R,`⊮`,`\\nVdash`,!0),k(A,N,R,`⪵`,`\\precneqq`,!0),k(A,N,R,`⪶`,`\\succneqq`,!0),k(A,N,R,``,`\\@nsubseteqq`),k(A,N,F,`⊴`,`\\unlhd`),k(A,N,F,`⊵`,`\\unrhd`),k(A,N,R,`↚`,`\\nleftarrow`,!0),k(A,N,R,`↛`,`\\nrightarrow`,!0),k(A,N,R,`⇍`,`\\nLeftarrow`,!0),k(A,N,R,`⇏`,`\\nRightarrow`,!0),k(A,N,R,`↮`,`\\nleftrightarrow`,!0),k(A,N,R,`⇎`,`\\nLeftrightarrow`,!0),k(A,N,R,`△`,`\\vartriangle`),k(A,N,z,`ℏ`,`\\hslash`),k(A,N,z,`▽`,`\\triangledown`),k(A,N,z,`◊`,`\\lozenge`),k(A,N,z,`Ⓢ`,`\\circledS`),k(A,N,z,`®`,`\\circledR`),k(j,N,z,`®`,`\\circledR`),k(A,N,z,`∡`,`\\measuredangle`,!0),k(A,N,z,`∄`,`\\nexists`),k(A,N,z,`℧`,`\\mho`),k(A,N,z,`Ⅎ`,`\\Finv`,!0),k(A,N,z,`⅁`,`\\Game`,!0),k(A,N,z,`‵`,`\\backprime`),k(A,N,z,`▲`,`\\blacktriangle`),k(A,N,z,`▼`,`\\blacktriangledown`),k(A,N,z,`■`,`\\blacksquare`),k(A,N,z,`⧫`,`\\blacklozenge`),k(A,N,z,`★`,`\\bigstar`),k(A,N,z,`∢`,`\\sphericalangle`,!0),k(A,N,z,`∁`,`\\complement`,!0),k(A,N,z,`ð`,`\\eth`,!0),k(j,M,z,`ð`,`ð`),k(A,N,z,`╱`,`\\diagup`),k(A,N,z,`╲`,`\\diagdown`),k(A,N,z,`□`,`\\square`),k(A,N,z,`□`,`\\Box`),k(A,N,z,`◊`,`\\Diamond`),k(A,N,z,`¥`,`\\yen`,!0),k(j,N,z,`¥`,`\\yen`,!0),k(A,N,z,`✓`,`\\checkmark`,!0),k(j,N,z,`✓`,`\\checkmark`),k(A,N,z,`ℶ`,`\\beth`,!0),k(A,N,z,`ℸ`,`\\daleth`,!0),k(A,N,z,`ℷ`,`\\gimel`,!0),k(A,N,z,`ϝ`,`\\digamma`,!0),k(A,N,z,`ϰ`,`\\varkappa`),k(A,N,Ze,`┌`,`\\@ulcorner`,!0),k(A,N,Ye,`┐`,`\\@urcorner`,!0),k(A,N,Ze,`└`,`\\@llcorner`,!0),k(A,N,Ye,`┘`,`\\@lrcorner`,!0),k(A,N,R,`≦`,`\\leqq`,!0),k(A,N,R,`⩽`,`\\leqslant`,!0),k(A,N,R,`⪕`,`\\eqslantless`,!0),k(A,N,R,`≲`,`\\lesssim`,!0),k(A,N,R,`⪅`,`\\lessapprox`,!0),k(A,N,R,`≊`,`\\approxeq`,!0),k(A,N,F,`⋖`,`\\lessdot`),k(A,N,R,`⋘`,`\\lll`,!0),k(A,N,R,`≶`,`\\lessgtr`,!0),k(A,N,R,`⋚`,`\\lesseqgtr`,!0),k(A,N,R,`⪋`,`\\lesseqqgtr`,!0),k(A,N,R,`≑`,`\\doteqdot`),k(A,N,R,`≓`,`\\risingdotseq`,!0),k(A,N,R,`≒`,`\\fallingdotseq`,!0),k(A,N,R,`∽`,`\\backsim`,!0),k(A,N,R,`⋍`,`\\backsimeq`,!0),k(A,N,R,`⫅`,`\\subseteqq`,!0),k(A,N,R,`⋐`,`\\Subset`,!0),k(A,N,R,`⊏`,`\\sqsubset`,!0),k(A,N,R,`≼`,`\\preccurlyeq`,!0),k(A,N,R,`⋞`,`\\curlyeqprec`,!0),k(A,N,R,`≾`,`\\precsim`,!0),k(A,N,R,`⪷`,`\\precapprox`,!0),k(A,N,R,`⊲`,`\\vartriangleleft`),k(A,N,R,`⊴`,`\\trianglelefteq`),k(A,N,R,`⊨`,`\\vDash`,!0),k(A,N,R,`⊪`,`\\Vvdash`,!0),k(A,N,R,`⌣`,`\\smallsmile`),k(A,N,R,`⌢`,`\\smallfrown`),k(A,N,R,`≏`,`\\bumpeq`,!0),k(A,N,R,`≎`,`\\Bumpeq`,!0),k(A,N,R,`≧`,`\\geqq`,!0),k(A,N,R,`⩾`,`\\geqslant`,!0),k(A,N,R,`⪖`,`\\eqslantgtr`,!0),k(A,N,R,`≳`,`\\gtrsim`,!0),k(A,N,R,`⪆`,`\\gtrapprox`,!0),k(A,N,F,`⋗`,`\\gtrdot`),k(A,N,R,`⋙`,`\\ggg`,!0),k(A,N,R,`≷`,`\\gtrless`,!0),k(A,N,R,`⋛`,`\\gtreqless`,!0),k(A,N,R,`⪌`,`\\gtreqqless`,!0),k(A,N,R,`≖`,`\\eqcirc`,!0),k(A,N,R,`≗`,`\\circeq`,!0),k(A,N,R,`≜`,`\\triangleq`,!0),k(A,N,R,`∼`,`\\thicksim`),k(A,N,R,`≈`,`\\thickapprox`),k(A,N,R,`⫆`,`\\supseteqq`,!0),k(A,N,R,`⋑`,`\\Supset`,!0),k(A,N,R,`⊐`,`\\sqsupset`,!0),k(A,N,R,`≽`,`\\succcurlyeq`,!0),k(A,N,R,`⋟`,`\\curlyeqsucc`,!0),k(A,N,R,`≿`,`\\succsim`,!0),k(A,N,R,`⪸`,`\\succapprox`,!0),k(A,N,R,`⊳`,`\\vartriangleright`),k(A,N,R,`⊵`,`\\trianglerighteq`),k(A,N,R,`⊩`,`\\Vdash`,!0),k(A,N,R,`∣`,`\\shortmid`),k(A,N,R,`∥`,`\\shortparallel`),k(A,N,R,`≬`,`\\between`,!0),k(A,N,R,`⋔`,`\\pitchfork`,!0),k(A,N,R,`∝`,`\\varpropto`),k(A,N,R,`◀`,`\\blacktriangleleft`),k(A,N,R,`∴`,`\\therefore`,!0),k(A,N,R,`∍`,`\\backepsilon`),k(A,N,R,`▶`,`\\blacktriangleright`),k(A,N,R,`∵`,`\\because`,!0),k(A,N,R,`⋘`,`\\llless`),k(A,N,R,`⋙`,`\\gggtr`),k(A,N,F,`⊲`,`\\lhd`),k(A,N,F,`⊳`,`\\rhd`),k(A,N,R,`≂`,`\\eqsim`,!0),k(A,M,R,`⋈`,`\\Join`),k(A,N,R,`≑`,`\\Doteq`,!0),k(A,N,F,`∔`,`\\dotplus`,!0),k(A,N,F,`∖`,`\\smallsetminus`),k(A,N,F,`⋒`,`\\Cap`,!0),k(A,N,F,`⋓`,`\\Cup`,!0),k(A,N,F,`⩞`,`\\doublebarwedge`,!0),k(A,N,F,`⊟`,`\\boxminus`,!0),k(A,N,F,`⊞`,`\\boxplus`,!0),k(A,N,F,`⋇`,`\\divideontimes`,!0),k(A,N,F,`⋉`,`\\ltimes`,!0),k(A,N,F,`⋊`,`\\rtimes`,!0),k(A,N,F,`⋋`,`\\leftthreetimes`,!0),k(A,N,F,`⋌`,`\\rightthreetimes`,!0),k(A,N,F,`⋏`,`\\curlywedge`,!0),k(A,N,F,`⋎`,`\\curlyvee`,!0),k(A,N,F,`⊝`,`\\circleddash`,!0),k(A,N,F,`⊛`,`\\circledast`,!0),k(A,N,F,`⋅`,`\\centerdot`),k(A,N,F,`⊺`,`\\intercal`,!0),k(A,N,F,`⋒`,`\\doublecap`),k(A,N,F,`⋓`,`\\doublecup`),k(A,N,F,`⊠`,`\\boxtimes`,!0),k(A,N,R,`⇢`,`\\dashrightarrow`,!0),k(A,N,R,`⇠`,`\\dashleftarrow`,!0),k(A,N,R,`⇇`,`\\leftleftarrows`,!0),k(A,N,R,`⇆`,`\\leftrightarrows`,!0),k(A,N,R,`⇚`,`\\Lleftarrow`,!0),k(A,N,R,`↞`,`\\twoheadleftarrow`,!0),k(A,N,R,`↢`,`\\leftarrowtail`,!0),k(A,N,R,`↫`,`\\looparrowleft`,!0),k(A,N,R,`⇋`,`\\leftrightharpoons`,!0),k(A,N,R,`↶`,`\\curvearrowleft`,!0),k(A,N,R,`↺`,`\\circlearrowleft`,!0),k(A,N,R,`↰`,`\\Lsh`,!0),k(A,N,R,`⇈`,`\\upuparrows`,!0),k(A,N,R,`↿`,`\\upharpoonleft`,!0),k(A,N,R,`⇃`,`\\downharpoonleft`,!0),k(A,M,R,`⊶`,`\\origof`,!0),k(A,M,R,`⊷`,`\\imageof`,!0),k(A,N,R,`⊸`,`\\multimap`,!0),k(A,N,R,`↭`,`\\leftrightsquigarrow`,!0),k(A,N,R,`⇉`,`\\rightrightarrows`,!0),k(A,N,R,`⇄`,`\\rightleftarrows`,!0),k(A,N,R,`↠`,`\\twoheadrightarrow`,!0),k(A,N,R,`↣`,`\\rightarrowtail`,!0),k(A,N,R,`↬`,`\\looparrowright`,!0),k(A,N,R,`↷`,`\\curvearrowright`,!0),k(A,N,R,`↻`,`\\circlearrowright`,!0),k(A,N,R,`↱`,`\\Rsh`,!0),k(A,N,R,`⇊`,`\\downdownarrows`,!0),k(A,N,R,`↾`,`\\upharpoonright`,!0),k(A,N,R,`⇂`,`\\downharpoonright`,!0),k(A,N,R,`⇝`,`\\rightsquigarrow`,!0),k(A,N,R,`⇝`,`\\leadsto`),k(A,N,R,`⇛`,`\\Rrightarrow`,!0),k(A,N,R,`↾`,`\\restriction`),k(A,M,z,`‘`,"`"),k(A,M,z,`$`,`\\$`),k(j,M,z,`$`,`\\$`),k(j,M,z,`$`,`\\textdollar`),k(A,M,z,`%`,`\\%`),k(j,M,z,`%`,`\\%`),k(A,M,z,`_`,`\\_`),k(j,M,z,`_`,`\\_`),k(j,M,z,`_`,`\\textunderscore`),k(A,M,z,`∠`,`\\angle`,!0),k(A,M,z,`∞`,`\\infty`,!0),k(A,M,z,`′`,`\\prime`),k(A,M,z,`△`,`\\triangle`),k(A,M,z,`Γ`,`\\Gamma`,!0),k(A,M,z,`Δ`,`\\Delta`,!0),k(A,M,z,`Θ`,`\\Theta`,!0),k(A,M,z,`Λ`,`\\Lambda`,!0),k(A,M,z,`Ξ`,`\\Xi`,!0),k(A,M,z,`Π`,`\\Pi`,!0),k(A,M,z,`Σ`,`\\Sigma`,!0),k(A,M,z,`Υ`,`\\Upsilon`,!0),k(A,M,z,`Φ`,`\\Phi`,!0),k(A,M,z,`Ψ`,`\\Psi`,!0),k(A,M,z,`Ω`,`\\Omega`,!0),k(A,M,z,`A`,`Α`),k(A,M,z,`B`,`Β`),k(A,M,z,`E`,`Ε`),k(A,M,z,`Z`,`Ζ`),k(A,M,z,`H`,`Η`),k(A,M,z,`I`,`Ι`),k(A,M,z,`K`,`Κ`),k(A,M,z,`M`,`Μ`),k(A,M,z,`N`,`Ν`),k(A,M,z,`O`,`Ο`),k(A,M,z,`P`,`Ρ`),k(A,M,z,`T`,`Τ`),k(A,M,z,`X`,`Χ`),k(A,M,z,`¬`,`\\neg`,!0),k(A,M,z,`¬`,`\\lnot`),k(A,M,z,`⊤`,`\\top`),k(A,M,z,`⊥`,`\\bot`),k(A,M,z,`∅`,`\\emptyset`),k(A,N,z,`∅`,`\\varnothing`),k(A,M,I,`α`,`\\alpha`,!0),k(A,M,I,`β`,`\\beta`,!0),k(A,M,I,`γ`,`\\gamma`,!0),k(A,M,I,`δ`,`\\delta`,!0),k(A,M,I,`ϵ`,`\\epsilon`,!0),k(A,M,I,`ζ`,`\\zeta`,!0),k(A,M,I,`η`,`\\eta`,!0),k(A,M,I,`θ`,`\\theta`,!0),k(A,M,I,`ι`,`\\iota`,!0),k(A,M,I,`κ`,`\\kappa`,!0),k(A,M,I,`λ`,`\\lambda`,!0),k(A,M,I,`μ`,`\\mu`,!0),k(A,M,I,`ν`,`\\nu`,!0),k(A,M,I,`ξ`,`\\xi`,!0),k(A,M,I,`ο`,`\\omicron`,!0),k(A,M,I,`π`,`\\pi`,!0),k(A,M,I,`ρ`,`\\rho`,!0),k(A,M,I,`σ`,`\\sigma`,!0),k(A,M,I,`τ`,`\\tau`,!0),k(A,M,I,`υ`,`\\upsilon`,!0),k(A,M,I,`ϕ`,`\\phi`,!0),k(A,M,I,`χ`,`\\chi`,!0),k(A,M,I,`ψ`,`\\psi`,!0),k(A,M,I,`ω`,`\\omega`,!0),k(A,M,I,`ε`,`\\varepsilon`,!0),k(A,M,I,`ϑ`,`\\vartheta`,!0),k(A,M,I,`ϖ`,`\\varpi`,!0),k(A,M,I,`ϱ`,`\\varrho`,!0),k(A,M,I,`ς`,`\\varsigma`,!0),k(A,M,I,`φ`,`\\varphi`,!0),k(A,M,F,`∗`,`*`,!0),k(A,M,F,`+`,`+`),k(A,M,F,`−`,`-`,!0),k(A,M,F,`⋅`,`\\cdot`,!0),k(A,M,F,`∘`,`\\circ`,!0),k(A,M,F,`÷`,`\\div`,!0),k(A,M,F,`±`,`\\pm`,!0),k(A,M,F,`×`,`\\times`,!0),k(A,M,F,`∩`,`\\cap`,!0),k(A,M,F,`∪`,`\\cup`,!0),k(A,M,F,`∖`,`\\setminus`,!0),k(A,M,F,`∧`,`\\land`),k(A,M,F,`∨`,`\\lor`),k(A,M,F,`∧`,`\\wedge`,!0),k(A,M,F,`∨`,`\\vee`,!0),k(A,M,z,`√`,`\\surd`),k(A,M,Ze,`⟨`,`\\langle`,!0),k(A,M,Ze,`∣`,`\\lvert`),k(A,M,Ze,`∥`,`\\lVert`),k(A,M,Ye,`?`,`?`),k(A,M,Ye,`!`,`!`),k(A,M,Ye,`⟩`,`\\rangle`,!0),k(A,M,Ye,`∣`,`\\rvert`),k(A,M,Ye,`∥`,`\\rVert`),k(A,M,R,`=`,`=`),k(A,M,R,`:`,`:`),k(A,M,R,`≈`,`\\approx`,!0),k(A,M,R,`≅`,`\\cong`,!0),k(A,M,R,`≥`,`\\ge`),k(A,M,R,`≥`,`\\geq`,!0),k(A,M,R,`←`,`\\gets`),k(A,M,R,`>`,`\\gt`,!0),k(A,M,R,`∈`,`\\in`,!0),k(A,M,R,``,`\\@not`),k(A,M,R,`⊂`,`\\subset`,!0),k(A,M,R,`⊃`,`\\supset`,!0),k(A,M,R,`⊆`,`\\subseteq`,!0),k(A,M,R,`⊇`,`\\supseteq`,!0),k(A,N,R,`⊈`,`\\nsubseteq`,!0),k(A,N,R,`⊉`,`\\nsupseteq`,!0),k(A,M,R,`⊨`,`\\models`),k(A,M,R,`←`,`\\leftarrow`,!0),k(A,M,R,`≤`,`\\le`),k(A,M,R,`≤`,`\\leq`,!0),k(A,M,R,`<`,`\\lt`,!0),k(A,M,R,`→`,`\\rightarrow`,!0),k(A,M,R,`→`,`\\to`),k(A,N,R,`≱`,`\\ngeq`,!0),k(A,N,R,`≰`,`\\nleq`,!0),k(A,M,$e,`\xA0`,`\\ `),k(A,M,$e,`\xA0`,`\\space`),k(A,M,$e,`\xA0`,`\\nobreakspace`),k(j,M,$e,`\xA0`,`\\ `),k(j,M,$e,`\xA0`,` `),k(j,M,$e,`\xA0`,`\\space`),k(j,M,$e,`\xA0`,`\\nobreakspace`),k(A,M,$e,null,`\\nobreak`),k(A,M,$e,null,`\\allowbreak`),k(A,M,Qe,`,`,`,`),k(A,M,Qe,`;`,`;`),k(A,N,F,`⊼`,`\\barwedge`,!0),k(A,N,F,`⊻`,`\\veebar`,!0),k(A,M,F,`⊙`,`\\odot`,!0),k(A,M,F,`⊕`,`\\oplus`,!0),k(A,M,F,`⊗`,`\\otimes`,!0),k(A,M,z,`∂`,`\\partial`,!0),k(A,M,F,`⊘`,`\\oslash`,!0),k(A,N,F,`⊚`,`\\circledcirc`,!0),k(A,N,F,`⊡`,`\\boxdot`,!0),k(A,M,F,`△`,`\\bigtriangleup`),k(A,M,F,`▽`,`\\bigtriangledown`),k(A,M,F,`†`,`\\dagger`),k(A,M,F,`⋄`,`\\diamond`),k(A,M,F,`⋆`,`\\star`),k(A,M,F,`◃`,`\\triangleleft`),k(A,M,F,`▹`,`\\triangleright`),k(A,M,Ze,`{`,`\\{`),k(j,M,z,`{`,`\\{`),k(j,M,z,`{`,`\\textbraceleft`),k(A,M,Ye,`}`,`\\}`),k(j,M,z,`}`,`\\}`),k(j,M,z,`}`,`\\textbraceright`),k(A,M,Ze,`{`,`\\lbrace`),k(A,M,Ye,`}`,`\\rbrace`),k(A,M,Ze,`[`,`\\lbrack`,!0),k(j,M,z,`[`,`\\lbrack`,!0),k(A,M,Ye,`]`,`\\rbrack`,!0),k(j,M,z,`]`,`\\rbrack`,!0),k(A,M,Ze,`(`,`\\lparen`,!0),k(A,M,Ye,`)`,`\\rparen`,!0),k(j,M,z,`<`,`\\textless`,!0),k(j,M,z,`>`,`\\textgreater`,!0),k(A,M,Ze,`⌊`,`\\lfloor`,!0),k(A,M,Ye,`⌋`,`\\rfloor`,!0),k(A,M,Ze,`⌈`,`\\lceil`,!0),k(A,M,Ye,`⌉`,`\\rceil`,!0),k(A,M,z,`\\`,`\\backslash`),k(A,M,z,`∣`,`|`),k(A,M,z,`∣`,`\\vert`),k(j,M,z,`|`,`\\textbar`,!0),k(A,M,z,`∥`,`\\|`),k(A,M,z,`∥`,`\\Vert`),k(j,M,z,`∥`,`\\textbardbl`),k(j,M,z,`~`,`\\textasciitilde`),k(j,M,z,`\\`,`\\textbackslash`),k(j,M,z,`^`,`\\textasciicircum`),k(A,M,R,`↑`,`\\uparrow`,!0),k(A,M,R,`⇑`,`\\Uparrow`,!0),k(A,M,R,`↓`,`\\downarrow`,!0),k(A,M,R,`⇓`,`\\Downarrow`,!0),k(A,M,R,`↕`,`\\updownarrow`,!0),k(A,M,R,`⇕`,`\\Updownarrow`,!0),k(A,M,L,`∐`,`\\coprod`),k(A,M,L,`⋁`,`\\bigvee`),k(A,M,L,`⋀`,`\\bigwedge`),k(A,M,L,`⨄`,`\\biguplus`),k(A,M,L,`⋂`,`\\bigcap`),k(A,M,L,`⋃`,`\\bigcup`),k(A,M,L,`∫`,`\\int`),k(A,M,L,`∫`,`\\intop`),k(A,M,L,`∬`,`\\iint`),k(A,M,L,`∭`,`\\iiint`),k(A,M,L,`∏`,`\\prod`),k(A,M,L,`∑`,`\\sum`),k(A,M,L,`⨂`,`\\bigotimes`),k(A,M,L,`⨁`,`\\bigoplus`),k(A,M,L,`⨀`,`\\bigodot`),k(A,M,L,`∮`,`\\oint`),k(A,M,L,`∯`,`\\oiint`),k(A,M,L,`∰`,`\\oiiint`),k(A,M,L,`⨆`,`\\bigsqcup`),k(A,M,L,`∫`,`\\smallint`),k(j,M,Xe,`…`,`\\textellipsis`),k(A,M,Xe,`…`,`\\mathellipsis`),k(j,M,Xe,`…`,`\\ldots`,!0),k(A,M,Xe,`…`,`\\ldots`,!0),k(A,M,Xe,`⋯`,`\\@cdots`,!0),k(A,M,Xe,`⋱`,`\\ddots`,!0),k(A,M,z,`⋮`,`\\varvdots`),k(j,M,z,`⋮`,`\\varvdots`),k(A,M,P,`ˊ`,`\\acute`),k(A,M,P,`ˋ`,`\\grave`),k(A,M,P,`¨`,`\\ddot`),k(A,M,P,`~`,`\\tilde`),k(A,M,P,`ˉ`,`\\bar`),k(A,M,P,`˘`,`\\breve`),k(A,M,P,`ˇ`,`\\check`),k(A,M,P,`^`,`\\hat`),k(A,M,P,`⃗`,`\\vec`),k(A,M,P,`˙`,`\\dot`),k(A,M,P,`˚`,`\\mathring`),k(A,M,I,``,`\\@imath`),k(A,M,I,``,`\\@jmath`),k(A,M,z,`ı`,`ı`),k(A,M,z,`ȷ`,`ȷ`),k(j,M,z,`ı`,`\\i`,!0),k(j,M,z,`ȷ`,`\\j`,!0),k(j,M,z,`ß`,`\\ss`,!0),k(j,M,z,`æ`,`\\ae`,!0),k(j,M,z,`œ`,`\\oe`,!0),k(j,M,z,`ø`,`\\o`,!0),k(j,M,z,`Æ`,`\\AE`,!0),k(j,M,z,`Œ`,`\\OE`,!0),k(j,M,z,`Ø`,`\\O`,!0),k(j,M,P,`ˊ`,`\\'`),k(j,M,P,`ˋ`,"\\`"),k(j,M,P,`ˆ`,`\\^`),k(j,M,P,`˜`,`\\~`),k(j,M,P,`ˉ`,`\\=`),k(j,M,P,`˘`,`\\u`),k(j,M,P,`˙`,`\\.`),k(j,M,P,`¸`,`\\c`),k(j,M,P,`˚`,`\\r`),k(j,M,P,`ˇ`,`\\v`),k(j,M,P,`¨`,`\\"`),k(j,M,P,`˝`,`\\H`),k(j,M,P,`◯`,`\\textcircled`);var et={"--":!0,"---":!0,"``":!0,"''":!0};k(j,M,z,`–`,`--`,!0),k(j,M,z,`–`,`\\textendash`),k(j,M,z,`—`,`---`,!0),k(j,M,z,`—`,`\\textemdash`),k(j,M,z,`‘`,"`",!0),k(j,M,z,`‘`,`\\textquoteleft`),k(j,M,z,`’`,`'`,!0),k(j,M,z,`’`,`\\textquoteright`),k(j,M,z,`“`,"``",!0),k(j,M,z,`“`,`\\textquotedblleft`),k(j,M,z,`”`,`''`,!0),k(j,M,z,`”`,`\\textquotedblright`),k(A,M,z,`°`,`\\degree`,!0),k(j,M,z,`°`,`\\degree`),k(j,M,z,`°`,`\\textdegree`,!0),k(A,M,z,`£`,`\\pounds`),k(A,M,z,`£`,`\\mathsterling`,!0),k(j,M,z,`£`,`\\pounds`),k(j,M,z,`£`,`\\textsterling`,!0),k(A,N,z,`✠`,`\\maltese`),k(j,N,z,`✠`,`\\maltese`);for(var tt=`0123456789/@."`,nt=0;nt<tt.length;nt++){var rt=tt.charAt(nt);k(A,M,z,rt,rt)}for(var it=`0123456789!@*()-=+";:?/.,`,at=0;at<it.length;at++){var ot=it.charAt(at);k(j,M,z,ot,ot)}for(var st=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz`,ct=0;ct<st.length;ct++){var lt=st.charAt(ct);k(A,M,I,lt,lt),k(j,M,z,lt,lt)}k(A,N,z,`C`,`ℂ`),k(j,N,z,`C`,`ℂ`),k(A,N,z,`H`,`ℍ`),k(j,N,z,`H`,`ℍ`),k(A,N,z,`N`,`ℕ`),k(j,N,z,`N`,`ℕ`),k(A,N,z,`P`,`ℙ`),k(j,N,z,`P`,`ℙ`),k(A,N,z,`Q`,`ℚ`),k(j,N,z,`Q`,`ℚ`),k(A,N,z,`R`,`ℝ`),k(j,N,z,`R`,`ℝ`),k(A,N,z,`Z`,`ℤ`),k(j,N,z,`Z`,`ℤ`),k(A,M,I,`h`,`ℎ`),k(j,M,I,`h`,`ℎ`);for(var B=``,ut=0;ut<st.length;ut++){var V=st.charAt(ut);B=String.fromCharCode(55349,56320+ut),k(A,M,I,V,B),k(j,M,z,V,B),B=String.fromCharCode(55349,56372+ut),k(A,M,I,V,B),k(j,M,z,V,B),B=String.fromCharCode(55349,56424+ut),k(A,M,I,V,B),k(j,M,z,V,B),B=String.fromCharCode(55349,56580+ut),k(A,M,I,V,B),k(j,M,z,V,B),B=String.fromCharCode(55349,56684+ut),k(A,M,I,V,B),k(j,M,z,V,B),B=String.fromCharCode(55349,56736+ut),k(A,M,I,V,B),k(j,M,z,V,B),B=String.fromCharCode(55349,56788+ut),k(A,M,I,V,B),k(j,M,z,V,B),B=String.fromCharCode(55349,56840+ut),k(A,M,I,V,B),k(j,M,z,V,B),B=String.fromCharCode(55349,56944+ut),k(A,M,I,V,B),k(j,M,z,V,B),ut<26&&(B=String.fromCharCode(55349,56632+ut),k(A,M,I,V,B),k(j,M,z,V,B),B=String.fromCharCode(55349,56476+ut),k(A,M,I,V,B),k(j,M,z,V,B))}B=String.fromCharCode(55349,56668),k(A,M,I,`k`,B),k(j,M,z,`k`,B);for(var dt=0;dt<10;dt++){var ft=dt.toString();B=String.fromCharCode(55349,57294+dt),k(A,M,I,ft,B),k(j,M,z,ft,B),B=String.fromCharCode(55349,57314+dt),k(A,M,I,ft,B),k(j,M,z,ft,B),B=String.fromCharCode(55349,57324+dt),k(A,M,I,ft,B),k(j,M,z,ft,B),B=String.fromCharCode(55349,57334+dt),k(A,M,I,ft,B),k(j,M,z,ft,B)}for(var pt=`ÐÞþ`,mt=0;mt<pt.length;mt++){var ht=pt.charAt(mt);k(A,M,I,ht,ht),k(j,M,z,ht,ht)}var gt=[[`mathbf`,`textbf`,`Main-Bold`],[`mathbf`,`textbf`,`Main-Bold`],[`mathnormal`,`textit`,`Math-Italic`],[`mathnormal`,`textit`,`Math-Italic`],[`boldsymbol`,`boldsymbol`,`Main-BoldItalic`],[`boldsymbol`,`boldsymbol`,`Main-BoldItalic`],[`mathscr`,`textscr`,`Script-Regular`],[``,``,``],[``,``,``],[``,``,``],[`mathfrak`,`textfrak`,`Fraktur-Regular`],[`mathfrak`,`textfrak`,`Fraktur-Regular`],[`mathbb`,`textbb`,`AMS-Regular`],[`mathbb`,`textbb`,`AMS-Regular`],[`mathboldfrak`,`textboldfrak`,`Fraktur-Regular`],[`mathboldfrak`,`textboldfrak`,`Fraktur-Regular`],[`mathsf`,`textsf`,`SansSerif-Regular`],[`mathsf`,`textsf`,`SansSerif-Regular`],[`mathboldsf`,`textboldsf`,`SansSerif-Bold`],[`mathboldsf`,`textboldsf`,`SansSerif-Bold`],[`mathitsf`,`textitsf`,`SansSerif-Italic`],[`mathitsf`,`textitsf`,`SansSerif-Italic`],[``,``,``],[``,``,``],[`mathtt`,`texttt`,`Typewriter-Regular`],[`mathtt`,`texttt`,`Typewriter-Regular`]],_t=[[`mathbf`,`textbf`,`Main-Bold`],[``,``,``],[`mathsf`,`textsf`,`SansSerif-Regular`],[`mathboldsf`,`textboldsf`,`SansSerif-Bold`],[`mathtt`,`texttt`,`Typewriter-Regular`]],vt=(t,n)=>{var r=t.charCodeAt(0),i=t.charCodeAt(1),a=(r-55296)*1024+(i-56320)+65536,o=n===`math`?0:1;if(119808<=a&&a<120484){var s=Math.floor((a-119808)/26);return[gt[s][2],gt[s][o]]}else if(120782<=a&&a<=120831){var c=Math.floor((a-120782)/10);return[_t[c][2],_t[c][o]]}else if(a===120485||a===120486)return[gt[0][2],gt[0][o]];else if(120486<a&&a<120782)return[``,``];else throw new e(`Unsupported character: `+t)},yt=function(e,t,n){if(O[n][e]){var r=O[n][e].replace;r&&(e=r)}return{value:e,metrics:We(e,t,n)}},bt=function(e,t,n,r,i){var a=yt(e,t,n),o=a.metrics;e=a.value;var s;if(o){var c=o.italic;(n===`text`||r&&r.font===`mathit`)&&(c=0),s=new Ne(e,o.height,o.depth,c,o.skew,o.width,i)}else typeof console<`u`&&console.warn(`No character metrics `+(`for '`+e+`' in style '`+t+`' and mode '`+n+`'`)),s=new Ne(e,0,0,0,0,0,i);if(r){s.maxFontSize=r.sizeMultiplier,r.style.isTight()&&s.classes.push(`mtight`);var l=r.getColor();l&&(s.style.color=l)}return s},xt=function(e,t,n,r){return r===void 0&&(r=[]),n.font===`boldsymbol`&&yt(e,`Main-Bold`,t).metrics?bt(e,`Main-Bold`,t,n,r.concat([`mathbf`])):e===`\\`||O[t][e].font===`main`?bt(e,`Main-Regular`,t,n,r):bt(e,`AMS-Regular`,t,n,r.concat([`amsrm`]))},St=function(e,t,n,r,i){return i!==`textord`&&yt(e,`Math-BoldItalic`,t).metrics?{fontName:`Math-BoldItalic`,fontClass:`boldsymbol`}:{fontName:`Main-Bold`,fontClass:`mathbf`}},Ct=function(e,t,n){var r=e.mode,i=e.text,a=[`mord`],o=r===`math`||r===`text`&&t.font,s=o?t.font:t.fontFamily,c=``,l=``;if(i.charCodeAt(0)===55349&&([c,l]=vt(i,r)),c.length>0)return bt(i,c,r,t,a.concat(l));if(s){var u,d;if(s===`boldsymbol`){var f=St(i,r,t,a,n);u=f.fontName,d=[f.fontClass]}else o?(u=Ft[s].fontName,d=[s]):(u=Pt(s,t.fontWeight,t.fontShape),d=[s,t.fontWeight,t.fontShape]);if(yt(i,u,r).metrics)return bt(i,u,r,t,a.concat(d));if(et.hasOwnProperty(i)&&u.slice(0,10)===`Typewriter`){for(var p=[],m=0;m<i.length;m++)p.push(bt(i[m],u,r,t,a.concat(d)));return At(p)}}if(n===`mathord`)return bt(i,`Math-Italic`,r,t,a.concat([`mathnormal`]));if(n===`textord`){var h=O[r][i]&&O[r][i].font;if(h===`ams`)return bt(i,Pt(`amsrm`,t.fontWeight,t.fontShape),r,t,a.concat(`amsrm`,t.fontWeight,t.fontShape));if(h===`main`||!h)return bt(i,Pt(`textrm`,t.fontWeight,t.fontShape),r,t,a.concat(t.fontWeight,t.fontShape));var g=Pt(h,t.fontWeight,t.fontShape);return bt(i,g,r,t,a.concat(g,t.fontWeight,t.fontShape))}else throw Error(`unexpected type: `+n+` in makeOrd`)},wt=(e,t)=>{if(we(e.classes)!==we(t.classes)||e.skew!==t.skew||e.maxFontSize!==t.maxFontSize||e.italic!==0&&e.hasClass(`mathnormal`))return!1;if(e.classes.length===1){var n=e.classes[0];if(n===`mbin`||n===`mord`)return!1}for(var r of Object.keys(e.style))if(e.style[r]!==t.style[r])return!1;for(var i of Object.keys(t.style))if(e.style[i]!==t.style[i])return!1;return!0},Tt=e=>{for(var t=0;t<e.length-1;t++){var n=e[t],r=e[t+1];n instanceof Ne&&r instanceof Ne&&wt(n,r)&&(n.text+=r.text,n.height=Math.max(n.height,r.height),n.depth=Math.max(n.depth,r.depth),n.italic=r.italic,e.splice(t+1,1),t--)}return e},Et=function(e){for(var t=0,n=0,r=0,i=0;i<e.children.length;i++){var a=e.children[i];a.height>t&&(t=a.height),a.depth>n&&(n=a.depth),a.maxFontSize>r&&(r=a.maxFontSize)}e.height=t,e.depth=n,e.maxFontSize=r},H=function(e,t,n,r){var i=new ke(e,t,n,r);return Et(i),i},Dt=(e,t,n,r)=>new ke(e,t,n,r),Ot=function(e,t,n){var r=H([e],[],t);return r.height=Math.max(n||t.fontMetrics().defaultRuleThickness,t.minRuleThickness),r.style.borderBottomWidth=D(r.height),r.maxFontSize=1,r},kt=function(e,t,n,r){var i=new Ae(e,t,n,r);return Et(i),i},At=function(e){var t=new be(e);return Et(t),t},jt=function(e,t){return e instanceof be?H([],[e],t):e},Mt=function(e){if(e.positionType===`individualShift`){for(var t=e.children,n=[t[0]],r=-t[0].shift-t[0].elem.depth,i=r,a=1;a<t.length;a++){var o=-t[a].shift-i-t[a].elem.depth,s=o-(t[a-1].elem.height+t[a-1].elem.depth);i+=o,n.push({type:`kern`,size:s}),n.push(t[a])}return{children:n,depth:r}}var c;if(e.positionType===`top`){for(var l=e.positionData,u=0;u<e.children.length;u++){var d=e.children[u];l-=d.type===`kern`?d.size:d.elem.height+d.elem.depth}c=l}else if(e.positionType===`bottom`)c=-e.positionData;else{var f=e.children[0];if(f.type!==`elem`)throw Error(`First child must have type "elem".`);if(e.positionType===`shift`)c=-f.elem.depth-e.positionData;else if(e.positionType===`firstBaseline`)c=-f.elem.depth;else throw Error(`Invalid positionType `+e.positionType+`.`)}return{children:e.children,depth:c}},U=function(e,t){for(var{children:n,depth:r}=Mt(e),i=0,a=0;a<n.length;a++){var o=n[a];if(o.type===`elem`){var s=o.elem;i=Math.max(i,s.maxFontSize,s.height)}}i+=2;var c=H([`pstrut`],[]);c.style.height=D(i);for(var l=[],u=r,d=r,f=r,p=0;p<n.length;p++){var m=n[p];if(m.type===`kern`)f+=m.size;else{var h=m.elem,g=m.wrapperClasses||[],_=m.wrapperStyle||{},v=H(g,[c,h],void 0,_);v.style.top=D(-i-f-h.depth),m.marginLeft&&(v.style.marginLeft=m.marginLeft),m.marginRight&&(v.style.marginRight=m.marginRight),l.push(v),f+=h.height+h.depth}u=Math.min(u,f),d=Math.max(d,f)}var y=H([`vlist`],l);y.style.height=D(d);var b;if(u<0){var x=H([`vlist`],[H([],[])]);x.style.height=D(-u),b=[H([`vlist-r`],[y,H([`vlist-s`],[new Ne(`​`)])]),H([`vlist-r`],[x])]}else b=[H([`vlist-r`],[y])];var S=H([`vlist-t`],b);return b.length===2&&S.classes.push(`vlist-t2`),S.height=d,S.depth=-u,S},Nt=(e,t)=>{var n=H([`mspace`],[],t),r=E(e,t);return n.style.marginRight=D(r),n},Pt=function(e,t,n){var r=``;switch(e){case`amsrm`:r=`AMS`;break;case`textrm`:r=`Main`;break;case`textsf`:r=`SansSerif`;break;case`texttt`:r=`Typewriter`;break;default:r=e}var i=t===`textbf`&&n===`textit`?`BoldItalic`:t===`textbf`?`Bold`:t===`textit`?`Italic`:`Regular`;return r+`-`+i},Ft={mathbf:{variant:`bold`,fontName:`Main-Bold`},mathrm:{variant:`normal`,fontName:`Main-Regular`},textit:{variant:`italic`,fontName:`Main-Italic`},mathit:{variant:`italic`,fontName:`Main-Italic`},mathnormal:{variant:`italic`,fontName:`Math-Italic`},mathsfit:{variant:`sans-serif-italic`,fontName:`SansSerif-Italic`},mathbb:{variant:`double-struck`,fontName:`AMS-Regular`},mathcal:{variant:`script`,fontName:`Caligraphic-Regular`},mathfrak:{variant:`fraktur`,fontName:`Fraktur-Regular`},mathscr:{variant:`script`,fontName:`Script-Regular`},mathsf:{variant:`sans-serif`,fontName:`SansSerif-Regular`},mathtt:{variant:`monospace`,fontName:`Typewriter-Regular`}},It={vec:[`vec`,.471,.714],oiintSize1:[`oiintSize1`,.957,.499],oiintSize2:[`oiintSize2`,1.472,.659],oiiintSize1:[`oiiintSize1`,1.304,.499],oiiintSize2:[`oiiintSize2`,1.98,.659]},Lt=function(e,t){var[n,r,i]=It[e],a=Dt([`overlay`],[new Pe([new Fe(n)],{width:D(r),height:D(i),style:`width:`+D(r),viewBox:`0 0 `+1e3*r+` `+1e3*i,preserveAspectRatio:`xMinYMin`})],t);return a.height=i,a.style.height=D(i),a.style.width=D(r),a},W={number:3,unit:`mu`},Rt={number:4,unit:`mu`},zt={number:5,unit:`mu`},Bt={mord:{mop:W,mbin:Rt,mrel:zt,minner:W},mop:{mord:W,mop:W,mrel:zt,minner:W},mbin:{mord:Rt,mop:Rt,mopen:Rt,minner:Rt},mrel:{mord:zt,mop:zt,mopen:zt,minner:zt},mopen:{},mclose:{mop:W,mbin:Rt,mrel:zt,minner:W},mpunct:{mord:W,mop:W,mrel:zt,mopen:W,mclose:W,mpunct:W,minner:W},minner:{mord:W,mop:W,mbin:Rt,mrel:zt,mopen:W,mpunct:W,minner:W}},Vt={mord:{mop:W},mop:{mord:W,mop:W},mbin:{},mrel:{},mopen:{},mclose:{mop:W},mpunct:{},minner:{mop:W}},Ht={},Ut={},Wt={};function G(e){for(var{type:t,names:n,props:r,handler:i,htmlBuilder:a,mathmlBuilder:o}=e,s={type:t,numArgs:r.numArgs,argTypes:r.argTypes,allowedInArgument:!!r.allowedInArgument,allowedInText:!!r.allowedInText,allowedInMath:r.allowedInMath===void 0?!0:r.allowedInMath,numOptionalArgs:r.numOptionalArgs||0,infix:!!r.infix,primitive:!!r.primitive,handler:i},c=0;c<n.length;++c)Ht[n[c]]=s;t&&(a&&(Ut[t]=a),o&&(Wt[t]=o))}function Gt(e){var{type:t,htmlBuilder:n,mathmlBuilder:r}=e;G({type:t,names:[],props:{numArgs:0},handler(){throw Error(`Should never be called.`)},htmlBuilder:n,mathmlBuilder:r})}var Kt=function(e){return e.type===`ordgroup`&&e.body.length===1?e.body[0]:e},K=function(e){return e.type===`ordgroup`?e.body:[e]},qt=new Set([`leftmost`,`mbin`,`mopen`,`mrel`,`mop`,`mpunct`]),Jt=new Set([`rightmost`,`mrel`,`mclose`,`mpunct`]),Yt={display:T.DISPLAY,text:T.TEXT,script:T.SCRIPT,scriptscript:T.SCRIPTSCRIPT},Xt={mord:`mord`,mop:`mop`,mbin:`mbin`,mrel:`mrel`,mopen:`mopen`,mclose:`mclose`,mpunct:`mpunct`,minner:`minner`},q=function(e,t,n,r){r===void 0&&(r=[null,null]);for(var i=[],a=0;a<e.length;a++){var o=J(e[a],t);if(o instanceof be){var s=o.children;i.push(...s)}else i.push(o)}if(Tt(i),!n)return i;var c=t;if(e.length===1){var l=e[0];l.type===`sizing`?c=t.havingSize(l.size):l.type===`styling`&&(c=t.havingStyle(Yt[l.style]))}var u=H([r[0]||`leftmost`],[],t),d=H([r[1]||`rightmost`],[],t),f=n===`root`;return Zt(i,(e,t)=>{var n=t.classes[0],r=e.classes[0];n===`mbin`&&Jt.has(r)?t.classes[0]=`mord`:r===`mbin`&&qt.has(n)&&(e.classes[0]=`mord`)},{node:u},d,f),Zt(i,(e,t)=>{var n=en(t),r=en(e),i=n&&r?e.hasClass(`mtight`)?Vt[n]?.[r]:Bt[n]?.[r]:null;if(i)return Nt(i,c)},{node:u},d,f),i},Zt=function(e,t,n,r,i){r&&e.push(r);for(var a=0;a<e.length;a++){var o=e[a],s=Qt(o);if(s){Zt(s.children,t,n,null,i);continue}var c=!o.hasClass(`mspace`);if(c){var l=t(o,n.node);l&&(n.insertAfter?n.insertAfter(l):(e.unshift(l),a++))}c?n.node=o:i&&o.hasClass(`newline`)&&(n.node=H([`leftmost`])),n.insertAfter=(t=>n=>{e.splice(t+1,0,n),a++})(a)}r&&e.pop()},Qt=function(e){return e instanceof be||e instanceof Ae||e instanceof ke&&e.hasClass(`enclosing`)?e:null},$t=function(e,t){var n=Qt(e);if(n){var r=n.children;if(r.length){if(t===`right`)return $t(r[r.length-1],`right`);if(t===`left`)return $t(r[0],`left`)}}return e},en=function(e,t){return e?(t&&(e=$t(e,t)),Xt[e.classes[0]]||null):null},tn=function(e,t){var n=[`nulldelimiter`].concat(e.baseSizingClasses());return H(t.concat(n))},J=function(t,n,r){if(!t)return H();if(Ut[t.type]){var i=Ut[t.type](t,n);if(r&&n.size!==r.size){i=H(n.sizingClasses(r),[i],n);var a=n.sizeMultiplier/r.sizeMultiplier;i.height*=a,i.depth*=a}return i}else throw new e(`Got group of unknown type: '`+t.type+`'`)};function nn(e,t){var n=H([`base`],e,t),r=H([`strut`]);return r.style.height=D(n.height+n.depth),n.depth&&(r.style.verticalAlign=D(-n.depth)),n.children.unshift(r),n}function rn(e,t){var n=null;e.length===1&&e[0].type===`tag`&&(n=e[0].tag,e=e[0].body);var r=q(e,t,`root`),i;r.length===2&&r[1].hasClass(`tag`)&&(i=r.pop());for(var a=[],o=[],s=0;s<r.length;s++)if(o.push(r[s]),r[s].hasClass(`mbin`)||r[s].hasClass(`mrel`)||r[s].hasClass(`allowbreak`)){for(var c=!1;s<r.length-1&&r[s+1].hasClass(`mspace`)&&!r[s+1].hasClass(`newline`);)s++,o.push(r[s]),r[s].hasClass(`nobreak`)&&(c=!0);c||(a.push(nn(o,t)),o=[])}else r[s].hasClass(`newline`)&&(o.pop(),o.length>0&&(a.push(nn(o,t)),o=[]),a.push(r[s]));o.length>0&&a.push(nn(o,t));var l;n?(l=nn(q(n,t,!0),t),l.classes=[`tag`],a.push(l)):i&&a.push(i);var u=H([`katex-html`],a);if(u.setAttribute(`aria-hidden`,`true`),l){var d=l.children[0];d.style.height=D(u.height+u.depth),u.depth&&(d.style.verticalAlign=D(-u.depth))}return u}function an(e){return new be(e)}var Y=class{constructor(e,t,n){this.type=e,this.attributes={},this.children=t||[],this.classes=n||[]}setAttribute(e,t){this.attributes[e]=t}getAttribute(e){return this.attributes[e]}toNode(){var e=document.createElementNS(`http://www.w3.org/1998/Math/MathML`,this.type);for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&e.setAttribute(t,this.attributes[t]);this.classes.length>0&&(e.className=we(this.classes));for(var n=0;n<this.children.length;n++)if(this.children[n]instanceof X&&this.children[n+1]instanceof X){for(var r=this.children[n].toText()+this.children[++n].toText();this.children[n+1]instanceof X;)r+=this.children[++n].toText();e.appendChild(new X(r).toNode())}else e.appendChild(this.children[n].toNode());return e}toMarkup(){var e=`<`+this.type;for(var t in this.attributes)Object.prototype.hasOwnProperty.call(this.attributes,t)&&(e+=` `+t+`="`,e+=a(this.attributes[t]),e+=`"`);this.classes.length>0&&(e+=` class ="`+a(we(this.classes))+`"`),e+=`>`;for(var n=0;n<this.children.length;n++)e+=this.children[n].toMarkup();return e+=`</`+this.type+`>`,e}toText(){return this.children.map(e=>e.toText()).join(``)}},X=class{constructor(e){this.text=e}toNode(){return document.createTextNode(this.text)}toMarkup(){return a(this.toText())}toText(){return this.text}},on=class{constructor(e){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`,D(this.width)),e}toMarkup(){return this.character?`<mtext>`+this.character+`</mtext>`:`<mspace width="`+D(this.width)+`"/>`}toText(){return this.character?this.character:` `}},sn=new Set([`\\imath`,`\\jmath`]),cn=new Set([`mrow`,`mtable`]),ln=function(e,t,n){return O[t][e]&&O[t][e].replace&&e.charCodeAt(0)!==55349&&!(et.hasOwnProperty(e)&&n&&(n.fontFamily&&n.fontFamily.slice(4,6)===`tt`||n.font&&n.font.slice(4,6)===`tt`))&&(e=O[t][e].replace),new X(e)},un=function(e){return e.length===1?e[0]:new Y(`mrow`,e)},dn=function(e,t){if(t.fontFamily===`texttt`)return`monospace`;if(t.fontFamily===`textsf`)return t.fontShape===`textit`&&t.fontWeight===`textbf`?`sans-serif-bold-italic`:t.fontShape===`textit`?`sans-serif-italic`:t.fontWeight===`textbf`?`bold-sans-serif`:`sans-serif`;if(t.fontShape===`textit`&&t.fontWeight===`textbf`)return`bold-italic`;if(t.fontShape===`textit`)return`italic`;if(t.fontWeight===`textbf`)return`bold`;var n=t.font;if(!n||n===`mathnormal`)return null;var r=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===`mathsfit`)return`sans-serif-italic`;if(n===`mathfrak`)return`fraktur`;if(n===`mathscr`||n===`mathcal`)return`script`;if(n===`mathsf`)return`sans-serif`;if(n===`mathtt`)return`monospace`;var i=e.text;if(sn.has(i))return null;if(O[r][i]){var a=O[r][i].replace;a&&(i=a)}var o=Ft[n].fontName;return We(i,o,r)?Ft[n].variant:null};function fn(e){if(!e)return!1;if(e.type===`mi`&&e.children.length===1){var t=e.children[0];return t instanceof X&&t.text===`.`}else if(e.type===`mo`&&e.children.length===1&&e.getAttribute(`separator`)===`true`&&e.getAttribute(`lspace`)===`0em`&&e.getAttribute(`rspace`)===`0em`){var n=e.children[0];return n instanceof X&&n.text===`,`}else return!1}var pn=function(e,t,n){if(e.length===1){var r=Z(e[0],t);return n&&r instanceof Y&&r.type===`mo`&&(r.setAttribute(`lspace`,`0em`),r.setAttribute(`rspace`,`0em`)),[r]}for(var i=[],a,o=0;o<e.length;o++){var s=Z(e[o],t);if(s instanceof Y&&a instanceof Y){if(s.type===`mtext`&&a.type===`mtext`&&s.getAttribute(`mathvariant`)===a.getAttribute(`mathvariant`)){a.children.push(...s.children);continue}else if(s.type===`mn`&&a.type===`mn`){a.children.push(...s.children);continue}else if(fn(s)&&a.type===`mn`){a.children.push(...s.children);continue}else if(s.type===`mn`&&fn(a))s.children=[...a.children,...s.children],i.pop();else if((s.type===`msup`||s.type===`msub`)&&s.children.length>=1&&(a.type===`mn`||fn(a))){var c=s.children[0];c instanceof Y&&c.type===`mn`&&(c.children=[...a.children,...c.children],i.pop())}else if(a.type===`mi`&&a.children.length===1){var l=a.children[0];if(l instanceof X&&l.text===`̸`&&(s.type===`mo`||s.type===`mi`||s.type===`mn`)){var u=s.children[0];u instanceof X&&u.text.length>0&&(u.text=u.text.slice(0,1)+`̸`+u.text.slice(1),i.pop())}}}i.push(s),a=s}return i},mn=function(e,t,n){return un(pn(e,t,n))},Z=function(t,n){if(!t)return new Y(`mrow`);if(Wt[t.type])return Wt[t.type](t,n);throw new e(`Got group of unknown type: '`+t.type+`'`)};function hn(e,t,n,r,i){var a=pn(e,n),o=a.length===1&&a[0]instanceof Y&&cn.has(a[0].type)?a[0]:new Y(`mrow`,a),s=new Y(`annotation`,[new X(t)]);s.setAttribute(`encoding`,`application/x-tex`);var c=new Y(`math`,[new Y(`semantics`,[o,s])]);return c.setAttribute(`xmlns`,`http://www.w3.org/1998/Math/MathML`),r&&c.setAttribute(`display`,`block`),H([i?`katex`:`katex-mathml`],[c])}var gn=[[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]],_n=[.5,.6,.7,.8,.9,1,1.2,1.44,1.728,2.074,2.488],vn=function(e,t){return t.size<2?e:gn[e-1][t.size-1]},yn=class e{constructor(t){this.style=t.style,this.color=t.color,this.size=t.size||e.BASESIZE,this.textSize=t.textSize||this.size,this.phantom=!!t.phantom,this.font=t.font||``,this.fontFamily=t.fontFamily||``,this.fontWeight=t.fontWeight||``,this.fontShape=t.fontShape||``,this.sizeMultiplier=_n[this.size-1],this.maxSize=t.maxSize,this.minRuleThickness=t.minRuleThickness,this._fontMetrics=void 0}extend(t){var n={style:this.style,size:this.size,textSize:this.textSize,color:this.color,phantom:this.phantom,font:this.font,fontFamily:this.fontFamily,fontWeight:this.fontWeight,fontShape:this.fontShape,maxSize:this.maxSize,minRuleThickness:this.minRuleThickness};return Object.assign(n,t),new e(n)}havingStyle(e){return this.style===e?this:this.extend({style:e,size:vn(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:_n[e-1]})}havingBaseStyle(t){t||=this.style.text();var n=vn(e.BASESIZE,t);return this.size===n&&this.textSize===e.BASESIZE&&this.style===t?this:this.extend({style:t,size:n})}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===e.BASESIZE?[]:[`sizing`,`reset-size`+this.size,`size`+e.BASESIZE]}fontMetrics(){return this._fontMetrics||=Ke(this.size),this._fontMetrics}getColor(){return this.phantom?`transparent`:this.color}};yn.BASESIZE=6;var bn=function(e){return new yn({style:e.displayMode?T.DISPLAY:T.TEXT,maxSize:e.maxSize,minRuleThickness:e.minRuleThickness})},xn=function(e,t){if(t.displayMode){var n=[`katex-display`];t.leqno&&n.push(`leqno`),t.fleqn&&n.push(`fleqn`),e=H(n,[e])}return e},Sn=function(e,t,n){var r=bn(n),i;return n.output===`mathml`?hn(e,t,r,n.displayMode,!0):(i=n.output===`html`?H([`katex`],[rn(e,r)]):H([`katex`],[hn(e,t,r,n.displayMode,!1),rn(e,r)]),xn(i,n))},Cn=function(e,t,n){return xn(H([`katex`],[rn(e,bn(n))]),n)},wn={widehat:`^`,widecheck:`ˇ`,widetilde:`~`,utilde:`~`,overleftarrow:`←`,underleftarrow:`←`,xleftarrow:`←`,overrightarrow:`→`,underrightarrow:`→`,xrightarrow:`→`,underbrace:`⏟`,overbrace:`⏞`,underbracket:`⎵`,overbracket:`⎴`,overgroup:`⏠`,undergroup:`⏡`,overleftrightarrow:`↔`,underleftrightarrow:`↔`,xleftrightarrow:`↔`,Overrightarrow:`⇒`,xRightarrow:`⇒`,overleftharpoon:`↼`,xleftharpoonup:`↼`,overrightharpoon:`⇀`,xrightharpoonup:`⇀`,xLeftarrow:`⇐`,xLeftrightarrow:`⇔`,xhookleftarrow:`↩`,xhookrightarrow:`↪`,xmapsto:`↦`,xrightharpoondown:`⇁`,xleftharpoondown:`↽`,xrightleftharpoons:`⇌`,xleftrightharpoons:`⇋`,xtwoheadleftarrow:`↞`,xtwoheadrightarrow:`↠`,xlongequal:`=`,xtofrom:`⇄`,xrightleftarrows:`⇄`,xrightequilibrium:`⇌`,xleftequilibrium:`⇋`,"\\cdrightarrow":`→`,"\\cdleftarrow":`←`,"\\cdlongequal":`=`},Tn=function(e){var t=new Y(`mo`,[new X(wn[e.replace(/^\\/,``)])]);return t.setAttribute(`stretchy`,`true`),t},En={overrightarrow:[[`rightarrow`],.888,522,`xMaxYMin`],overleftarrow:[[`leftarrow`],.888,522,`xMinYMin`],underrightarrow:[[`rightarrow`],.888,522,`xMaxYMin`],underleftarrow:[[`leftarrow`],.888,522,`xMinYMin`],xrightarrow:[[`rightarrow`],1.469,522,`xMaxYMin`],"\\cdrightarrow":[[`rightarrow`],3,522,`xMaxYMin`],xleftarrow:[[`leftarrow`],1.469,522,`xMinYMin`],"\\cdleftarrow":[[`leftarrow`],3,522,`xMinYMin`],Overrightarrow:[[`doublerightarrow`],.888,560,`xMaxYMin`],xRightarrow:[[`doublerightarrow`],1.526,560,`xMaxYMin`],xLeftarrow:[[`doubleleftarrow`],1.526,560,`xMinYMin`],overleftharpoon:[[`leftharpoon`],.888,522,`xMinYMin`],xleftharpoonup:[[`leftharpoon`],.888,522,`xMinYMin`],xleftharpoondown:[[`leftharpoondown`],.888,522,`xMinYMin`],overrightharpoon:[[`rightharpoon`],.888,522,`xMaxYMin`],xrightharpoonup:[[`rightharpoon`],.888,522,`xMaxYMin`],xrightharpoondown:[[`rightharpoondown`],.888,522,`xMaxYMin`],xlongequal:[[`longequal`],.888,334,`xMinYMin`],"\\cdlongequal":[[`longequal`],3,334,`xMinYMin`],xtwoheadleftarrow:[[`twoheadleftarrow`],.888,334,`xMinYMin`],xtwoheadrightarrow:[[`twoheadrightarrow`],.888,334,`xMaxYMin`],overleftrightarrow:[[`leftarrow`,`rightarrow`],.888,522],overbrace:[[`leftbrace`,`midbrace`,`rightbrace`],1.6,548],underbrace:[[`leftbraceunder`,`midbraceunder`,`rightbraceunder`],1.6,548],underleftrightarrow:[[`leftarrow`,`rightarrow`],.888,522],xleftrightarrow:[[`leftarrow`,`rightarrow`],1.75,522],xLeftrightarrow:[[`doubleleftarrow`,`doublerightarrow`],1.75,560],xrightleftharpoons:[[`leftharpoondownplus`,`rightharpoonplus`],1.75,716],xleftrightharpoons:[[`leftharpoonplus`,`rightharpoondownplus`],1.75,716],xhookleftarrow:[[`leftarrow`,`righthook`],1.08,522],xhookrightarrow:[[`lefthook`,`rightarrow`],1.08,522],overlinesegment:[[`leftlinesegment`,`rightlinesegment`],.888,522],underlinesegment:[[`leftlinesegment`,`rightlinesegment`],.888,522],overbracket:[[`leftbracketover`,`rightbracketover`],1.6,440],underbracket:[[`leftbracketunder`,`rightbracketunder`],1.6,410],overgroup:[[`leftgroup`,`rightgroup`],.888,342],undergroup:[[`leftgroupunder`,`rightgroupunder`],.888,342],xmapsto:[[`leftmapsto`,`rightarrow`],1.5,522],xtofrom:[[`leftToFrom`,`rightToFrom`],1.75,528],xrightleftarrows:[[`baraboveleftarrow`,`rightarrowabovebar`],1.75,901],xrightequilibrium:[[`baraboveshortleftharpoon`,`rightharpoonaboveshortbar`],1.75,716],xleftequilibrium:[[`shortbaraboveleftharpoon`,`shortrightharpoonabovebar`],1.75,716]},Dn=new Set([`widehat`,`widecheck`,`widetilde`,`utilde`]),On=function(e,t){function n(){var n=4e5,r=e.label.slice(1);if(Dn.has(r)){var i=e,a=i.base.type===`ordgroup`?i.base.body.length:1,o,s,c;if(a>5)r===`widehat`||r===`widecheck`?(o=420,n=2364,c=.42,s=r+`4`):(o=312,n=2340,c=.34,s=`tilde4`);else{var l=[1,1,2,2,3,3][a];r===`widehat`||r===`widecheck`?(n=[0,1062,2364,2364,2364][l],o=[0,239,300,360,420][l],c=[0,.24,.3,.3,.36,.42][l],s=r+l):(n=[0,600,1033,2339,2340][l],o=[0,260,286,306,312][l],c=[0,.26,.286,.3,.306,.34][l],s=`tilde`+l)}return{span:Dt([],[new Pe([new Fe(s)],{width:`100%`,height:D(c),viewBox:`0 0 `+n+` `+o,preserveAspectRatio:`none`})],t),minWidth:0,height:c}}else{var u=[],d=En[r],[f,p,m]=d,h=m/1e3,g=f.length,_,v;if(g===1){var y=d[3];_=[`hide-tail`],v=[y]}else if(g===2)_=[`halfarrow-left`,`halfarrow-right`],v=[`xMinYMin`,`xMaxYMin`];else if(g===3)_=[`brace-left`,`brace-center`,`brace-right`],v=[`xMinYMin`,`xMidYMin`,`xMaxYMin`];else throw Error(`Correct katexImagesData or update code here to support
260
- `+g+` children.`);for(var b=0;b<g;b++){var x=new Pe([new Fe(f[b])],{width:`400em`,height:D(h),viewBox:`0 0 `+n+` `+m,preserveAspectRatio:v[b]+` slice`}),S=Dt([_[b]],[x],t);if(g===1)return{span:S,minWidth:p,height:h};S.style.height=D(h),u.push(S)}return{span:H([`stretchy`],u,t),minWidth:p,height:h}}}var{span:r,minWidth:i,height:a}=n();return r.height=a,r.style.height=D(a),i>0&&(r.style.minWidth=D(i)),r},kn=function(e,t,n,r,i){var a,o=e.height+e.depth+n+r;if(/fbox|color|angl/.test(t)){if(a=H([`stretchy`,t],[],i),t===`fbox`){var s=i.color&&i.getColor();s&&(a.style.borderColor=s)}}else{var c=[];/^[bx]cancel$/.test(t)&&c.push(new Ie({x1:`0`,y1:`0`,x2:`100%`,y2:`100%`,"stroke-width":`0.046em`})),/^x?cancel$/.test(t)&&c.push(new Ie({x1:`0`,y1:`100%`,x2:`100%`,y2:`0`,"stroke-width":`0.046em`})),a=Dt([],[new Pe(c,{width:`100%`,height:D(o)})],i)}return a.height=o,a.style.height=D(o),a};function Q(e,t){if(!e||e.type!==t)throw Error(`Expected node of type `+t+`, but got `+(e?`node of type `+e.type:String(e)));return e}function An(e){var t=jn(e);if(!t)throw Error(`Expected node of symbol group type, but got `+(e?`node of type `+e.type:String(e)));return t}function jn(e){return e&&(e.type===`atom`||Je.hasOwnProperty(e.type))?e:null}var Mn=e=>{if(e instanceof Ne)return e;if(ze(e)&&e.children.length===1)return Mn(e.children[0])},Nn=(e,t)=>{var n,r,i;e&&e.type===`supsub`?(r=Q(e.base,`accent`),n=r.base,e.base=n,i=Re(J(e,t)),e.base=r):(r=Q(e,`accent`),n=r.base);var a=J(n,t.havingCrampedStyle()),o=r.isShifty&&c(n),s=0;o&&(s=Mn(a)?.skew??0);var l=r.label===`\\c`,u=l?a.height+a.depth:Math.min(a.height,t.fontMetrics().xHeight),d;if(r.isStretchy)d=On(r,t),d=U({positionType:`firstBaseline`,children:[{type:`elem`,elem:a},{type:`elem`,elem:d,wrapperClasses:[`svg-align`],wrapperStyle:s>0?{width:`calc(100% - `+D(2*s)+`)`,marginLeft:D(2*s)}:void 0}]});else{var f,p;r.label===`\\vec`?(f=Lt(`vec`,t),p=It.vec[1]):(f=Ct({type:`textord`,mode:r.mode,text:r.label},t,`textord`),f=Le(f),f.italic=0,p=f.width,l&&(u+=f.depth)),d=H([`accent-body`],[f]);var m=r.label===`\\textcircled`;m&&(d.classes.push(`accent-full`),u=a.height);var h=s;m||(h-=p/2),d.style.left=D(h),r.label===`\\textcircled`&&(d.style.top=`.2em`),d=U({positionType:`firstBaseline`,children:[{type:`elem`,elem:a},{type:`kern`,size:-u},{type:`elem`,elem:d}]})}var g=H([`mord`,`accent`],[d],t);return i?(i.children[0]=g,i.height=Math.max(g.height,i.height),i.classes[0]=`mord`,i):g},Pn=(e,t)=>{var n=e.isStretchy?Tn(e.label):new Y(`mo`,[ln(e.label,e.mode)]),r=new Y(`mover`,[Z(e.base,t),n]);return r.setAttribute(`accent`,`true`),r},Fn=new RegExp([`\\acute`,`\\grave`,`\\ddot`,`\\tilde`,`\\bar`,`\\breve`,`\\check`,`\\hat`,`\\vec`,`\\dot`,`\\mathring`].map(e=>`\\`+e).join(`|`));G({type:`accent`,names:[`\\acute`,`\\grave`,`\\ddot`,`\\tilde`,`\\bar`,`\\breve`,`\\check`,`\\hat`,`\\vec`,`\\dot`,`\\mathring`,`\\widecheck`,`\\widehat`,`\\widetilde`,`\\overrightarrow`,`\\overleftarrow`,`\\Overrightarrow`,`\\overleftrightarrow`,`\\overgroup`,`\\overlinesegment`,`\\overleftharpoon`,`\\overrightharpoon`],props:{numArgs:1},handler:(e,t)=>{var n=Kt(t[0]),r=!Fn.test(e.funcName),i=!r||e.funcName===`\\widehat`||e.funcName===`\\widetilde`||e.funcName===`\\widecheck`;return{type:`accent`,mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:i,base:n}},htmlBuilder:Nn,mathmlBuilder:Pn}),G({type:`accent`,names:[`\\'`,"\\`",`\\^`,`\\~`,`\\=`,`\\u`,`\\.`,`\\"`,`\\c`,`\\r`,`\\H`,`\\v`,`\\textcircled`],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:[`primitive`]},handler:(e,t)=>{var n=t[0],r=e.parser.mode;return r===`math`&&(e.parser.settings.reportNonstrict(`mathVsTextAccents`,`LaTeX's accent `+e.funcName+` works only in text mode`),r=`text`),{type:`accent`,mode:r,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:Nn,mathmlBuilder:Pn}),G({type:`accentUnder`,names:[`\\underleftarrow`,`\\underrightarrow`,`\\underleftrightarrow`,`\\undergroup`,`\\underlinesegment`,`\\utilde`],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:`accentUnder`,mode:n.mode,label:r,base:i}},htmlBuilder:(e,t)=>{var n=J(e.base,t),r=On(e,t),i=e.label===`\\utilde`?.12:0;return H([`mord`,`accentunder`],[U({positionType:`top`,positionData:n.height,children:[{type:`elem`,elem:r,wrapperClasses:[`svg-align`]},{type:`kern`,size:i},{type:`elem`,elem:n}]})],t)},mathmlBuilder:(e,t)=>{var n=Tn(e.label),r=new Y(`munder`,[Z(e.base,t),n]);return r.setAttribute(`accentunder`,`true`),r}});var In=e=>{var t=new Y(`mpadded`,e?[e]:[]);return t.setAttribute(`width`,`+0.6em`),t.setAttribute(`lspace`,`0.3em`),t};G({type:`xArrow`,names:[`\\xleftarrow`,`\\xrightarrow`,`\\xLeftarrow`,`\\xRightarrow`,`\\xleftrightarrow`,`\\xLeftrightarrow`,`\\xhookleftarrow`,`\\xhookrightarrow`,`\\xmapsto`,`\\xrightharpoondown`,`\\xrightharpoonup`,`\\xleftharpoondown`,`\\xleftharpoonup`,`\\xrightleftharpoons`,`\\xleftrightharpoons`,`\\xlongequal`,`\\xtwoheadrightarrow`,`\\xtwoheadleftarrow`,`\\xtofrom`,`\\xrightleftarrows`,`\\xrightequilibrium`,`\\xleftequilibrium`,`\\\\cdrightarrow`,`\\\\cdleftarrow`,`\\\\cdlongequal`],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r,funcName:i}=e;return{type:`xArrow`,mode:r.mode,label:i,body:t[0],below:n[0]}},htmlBuilder(e,t){var n=t.style,r=t.havingStyle(n.sup()),i=jt(J(e.body,r,t),t),a=e.label.slice(0,2)===`\\x`?`x`:`cd`;i.classes.push(a+`-arrow-pad`);var o;e.below&&(r=t.havingStyle(n.sub()),o=jt(J(e.below,r,t),t),o.classes.push(a+`-arrow-pad`));var s=On(e,t),c=-t.fontMetrics().axisHeight+.5*s.height,l=-t.fontMetrics().axisHeight-.5*s.height-.111;(i.depth>.25||e.label===`\\xleftequilibrium`)&&(l-=i.depth);var u;if(o){var d=-t.fontMetrics().axisHeight+o.height+.5*s.height+.111;u=U({positionType:`individualShift`,children:[{type:`elem`,elem:i,shift:l},{type:`elem`,elem:s,shift:c},{type:`elem`,elem:o,shift:d}]})}else u=U({positionType:`individualShift`,children:[{type:`elem`,elem:i,shift:l},{type:`elem`,elem:s,shift:c}]});return u.children[0].children[0].children[1].classes.push(`svg-align`),H([`mrel`,`x-arrow`],[u],t)},mathmlBuilder(e,t){var n=Tn(e.label);n.setAttribute(`minsize`,e.label.charAt(0)===`x`?`1.75em`:`3.0em`);var r;if(e.body){var i=In(Z(e.body,t));r=e.below?new Y(`munderover`,[n,In(Z(e.below,t)),i]):new Y(`mover`,[n,i])}else e.below?r=new Y(`munder`,[n,In(Z(e.below,t))]):(r=In(),r=new Y(`mover`,[n,r]));return r}});function Ln(e,t){var n=q(e.body,t,!0);return H([e.mclass],n,t)}function Rn(e,t){var n,r=pn(e.body,t);return e.mclass===`minner`?n=new Y(`mpadded`,r):e.mclass===`mord`?e.isCharacterBox?(n=r[0],n.type=`mi`):n=new Y(`mi`,r):(e.isCharacterBox?(n=r[0],n.type=`mo`):n=new Y(`mo`,r),e.mclass===`mbin`?(n.attributes.lspace=`0.22em`,n.attributes.rspace=`0.22em`):e.mclass===`mpunct`?(n.attributes.lspace=`0em`,n.attributes.rspace=`0.17em`):e.mclass===`mopen`||e.mclass===`mclose`?(n.attributes.lspace=`0em`,n.attributes.rspace=`0em`):e.mclass===`minner`&&(n.attributes.lspace=`0.0556em`,n.attributes.width=`+0.1111em`)),n}G({type:`mclass`,names:[`\\mathord`,`\\mathbin`,`\\mathrel`,`\\mathopen`,`\\mathclose`,`\\mathpunct`,`\\mathinner`],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:`mclass`,mode:n.mode,mclass:`m`+r.slice(5),body:K(i),isCharacterBox:c(i)}},htmlBuilder:Ln,mathmlBuilder:Rn});var zn=e=>{var t=e.type===`ordgroup`&&e.body.length?e.body[0]:e;return t.type===`atom`&&(t.family===`bin`||t.family===`rel`)?`m`+t.family:`mord`};G({type:`mclass`,names:[`\\@binrel`],props:{numArgs:2},handler(e,t){var{parser:n}=e;return{type:`mclass`,mode:n.mode,mclass:zn(t[0]),body:K(t[1]),isCharacterBox:c(t[1])}}}),G({type:`mclass`,names:[`\\stackrel`,`\\overset`,`\\underset`],props:{numArgs:2},handler(e,t){var{parser:n,funcName:r}=e,i=t[1],a=t[0],o=r===`\\stackrel`?`mrel`:zn(i),s={type:`op`,mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:r!==`\\stackrel`,body:K(i)},l={type:`supsub`,mode:a.mode,base:s,sup:r===`\\underset`?null:a,sub:r===`\\underset`?a:null};return{type:`mclass`,mode:n.mode,mclass:o,body:[l],isCharacterBox:c(l)}},htmlBuilder:Ln,mathmlBuilder:Rn}),G({type:`pmb`,names:[`\\pmb`],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:`pmb`,mode:n.mode,mclass:zn(t[0]),body:K(t[0])}},htmlBuilder(e,t){var n=q(e.body,t,!0),r=H([e.mclass],n,t);return r.style.textShadow=`0.02em 0.01em 0.04px`,r},mathmlBuilder(e,t){var n=new Y(`mstyle`,pn(e.body,t));return n.setAttribute(`style`,`text-shadow: 0.02em 0.01em 0.04px`),n}});var Bn={">":`\\\\cdrightarrow`,"<":`\\\\cdleftarrow`,"=":`\\\\cdlongequal`,A:`\\uparrow`,V:`\\downarrow`,"|":`\\Vert`,".":`no arrow`},Vn=()=>({type:`styling`,body:[],mode:`math`,style:`display`}),Hn=e=>e.type===`textord`&&e.text===`@`,Un=(e,t)=>(e.type===`mathord`||e.type===`atom`)&&e.text===t;function Wn(e,t,n){var r=Bn[e];switch(r){case`\\\\cdrightarrow`:case`\\\\cdleftarrow`:return n.callFunction(r,[t[0]],[t[1]]);case`\\uparrow`:case`\\downarrow`:var i=n.callFunction(`\\\\cdleft`,[t[0]],[]),a={type:`atom`,text:r,mode:`math`,family:`rel`},o={type:`ordgroup`,mode:`math`,body:[i,n.callFunction(`\\Big`,[a],[]),n.callFunction(`\\\\cdright`,[t[1]],[])]};return n.callFunction(`\\\\cdparent`,[o],[]);case`\\\\cdlongequal`:return n.callFunction(`\\\\cdlongequal`,[],[]);case`\\Vert`:return n.callFunction(`\\Big`,[{type:`textord`,text:`\\Vert`,mode:`math`}],[]);default:return{type:`textord`,text:` `,mode:`math`}}}function Gn(t){var n=[];for(t.gullet.beginGroup(),t.gullet.macros.set(`\\cr`,`\\\\\\relax`),t.gullet.beginGroup();;){n.push(t.parseExpression(!1,`\\\\`)),t.gullet.endGroup(),t.gullet.beginGroup();var r=t.fetch().text;if(r===`&`||r===`\\\\`)t.consume();else if(r===`\\end`){n[n.length-1].length===0&&n.pop();break}else throw new e(`Expected \\\\ or \\cr or \\end`,t.nextToken)}for(var i=[],a=[i],o=0;o<n.length;o++){for(var s=n[o],c=Vn(),l=0;l<s.length;l++)if(!Hn(s[l]))c.body.push(s[l]);else{i.push(c),l+=1;var u=An(s[l]).text,d=[,,];if(d[0]={type:`ordgroup`,mode:`math`,body:[]},d[1]={type:`ordgroup`,mode:`math`,body:[]},!`=|.`.includes(u))if(`<>AV`.includes(u))for(var f=0;f<2;f++){for(var p=!0,m=l+1;m<s.length;m++){if(Un(s[m],u)){p=!1,l=m;break}if(Hn(s[m]))throw new e(`Missing a `+u+` character to complete a CD arrow.`,s[m]);d[f].body.push(s[m])}if(p)throw new e(`Missing a `+u+` character to complete a CD arrow.`,s[l])}else throw new e(`Expected one of "<>AV=|." after @`,s[l]);var h={type:`styling`,body:[Wn(u,d,t)],mode:`math`,style:`display`};i.push(h),c=Vn()}o%2==0?i.push(c):i.shift(),i=[],a.push(i)}return t.gullet.endGroup(),t.gullet.endGroup(),{type:`array`,mode:`math`,body:a,arraystretch:1,addJot:!0,rowGaps:[null],cols:Array(a[0].length).fill({type:`align`,align:`c`,pregap:.25,postgap:.25}),colSeparationType:`CD`,hLinesBeforeRow:Array(a.length+1).fill([])}}G({type:`cdlabel`,names:[`\\\\cdleft`,`\\\\cdright`],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:`cdlabel`,mode:n.mode,side:r.slice(4),label:t[0]}},htmlBuilder(e,t){var n=t.havingStyle(t.style.sup()),r=jt(J(e.label,n,t),t);return r.classes.push(`cd-label-`+e.side),r.style.bottom=D(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){var n=new Y(`mrow`,[Z(e.label,t)]);return n=new Y(`mpadded`,[n]),n.setAttribute(`width`,`0`),e.side===`left`&&n.setAttribute(`lspace`,`-1width`),n.setAttribute(`voffset`,`0.7em`),n=new Y(`mstyle`,[n]),n.setAttribute(`displaystyle`,`false`),n.setAttribute(`scriptlevel`,`1`),n}}),G({type:`cdlabelparent`,names:[`\\\\cdparent`],props:{numArgs:1},handler(e,t){var{parser:n}=e;return{type:`cdlabelparent`,mode:n.mode,fragment:t[0]}},htmlBuilder(e,t){var n=jt(J(e.fragment,t),t);return n.classes.push(`cd-vert-arrow`),n},mathmlBuilder(e,t){return new Y(`mrow`,[Z(e.fragment,t)])}}),G({type:`textord`,names:[`\\@char`],props:{numArgs:1,allowedInText:!0},handler(t,n){for(var{parser:r}=t,i=Q(n[0],`ordgroup`).body,a=``,o=0;o<i.length;o++){var s=Q(i[o],`textord`);a+=s.text}var c=parseInt(a),l;if(isNaN(c))throw new e(`\\@char has non-numeric argument `+a);if(c<0||c>=1114111)throw new e(`\\@char with invalid code point `+a);return c<=65535?l=String.fromCharCode(c):(c-=65536,l=String.fromCharCode((c>>10)+55296,(c&1023)+56320)),{type:`textord`,mode:r.mode,text:l}}});var Kn=(e,t)=>At(q(e.body,t.withColor(e.color),!1)),qn=(e,t)=>{var n=new Y(`mstyle`,pn(e.body,t.withColor(e.color)));return n.setAttribute(`mathcolor`,e.color),n};G({type:`color`,names:[`\\textcolor`],props:{numArgs:2,allowedInText:!0,argTypes:[`color`,`original`]},handler(e,t){var{parser:n}=e,r=Q(t[0],`color-token`).color,i=t[1];return{type:`color`,mode:n.mode,color:r,body:K(i)}},htmlBuilder:Kn,mathmlBuilder:qn}),G({type:`color`,names:[`\\color`],props:{numArgs:1,allowedInText:!0,argTypes:[`color`]},handler(e,t){var{parser:n,breakOnTokenText:r}=e,i=Q(t[0],`color-token`).color;n.gullet.macros.set(`\\current@color`,i);var a=n.parseExpression(!0,r);return{type:`color`,mode:n.mode,color:i,body:a}},htmlBuilder:Kn,mathmlBuilder:qn}),G({type:`cr`,names:[`\\\\`],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,n){var{parser:r}=e,i=r.gullet.future().text===`[`?r.parseSizeGroup(!0):null,a=!r.settings.displayMode||!r.settings.useStrictBehavior(`newLineInDisplayMode`,`In LaTeX, \\\\ or \\newline does nothing in display mode`);return{type:`cr`,mode:r.mode,newLine:a,size:i&&Q(i,`size`).value}},htmlBuilder(e,t){var n=H([`mspace`],[],t);return e.newLine&&(n.classes.push(`newline`),e.size&&(n.style.marginTop=D(E(e.size,t)))),n},mathmlBuilder(e,t){var n=new Y(`mspace`);return e.newLine&&(n.setAttribute(`linebreak`,`newline`),e.size&&n.setAttribute(`height`,D(E(e.size,t)))),n}});var Jn={"\\global":`\\global`,"\\long":`\\\\globallong`,"\\\\globallong":`\\\\globallong`,"\\def":`\\gdef`,"\\gdef":`\\gdef`,"\\edef":`\\xdef`,"\\xdef":`\\xdef`,"\\let":`\\\\globallet`,"\\futurelet":`\\\\globalfuture`},Yn=t=>{var n=t.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new e(`Expected a control sequence`,t);return n},Xn=e=>{var t=e.gullet.popToken();return t.text===`=`&&(t=e.gullet.popToken(),t.text===` `&&(t=e.gullet.popToken())),t},Zn=(e,t,n,r)=>{var i=e.gullet.macros.get(n.text);i??=(n.noexpand=!0,{tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,i,r)};G({type:`internal`,names:[`\\global`,`\\long`,`\\\\globallong`],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:n,funcName:r}=t;n.consumeSpaces();var i=n.fetch();if(Jn[i.text])return(r===`\\global`||r===`\\\\globallong`)&&(i.text=Jn[i.text]),Q(n.parseFunction(),`internal`);throw new e(`Invalid token after macro prefix`,i)}}),G({type:`internal`,names:[`\\def`,`\\gdef`,`\\edef`,`\\xdef`],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:n,funcName:r}=t,i=n.gullet.popToken(),a=i.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new e(`Expected a control sequence`,i);for(var o=0,s,c=[[]];n.gullet.future().text!==`{`;)if(i=n.gullet.popToken(),i.text===`#`){if(n.gullet.future().text===`{`){s=n.gullet.future(),c[o].push(`{`);break}if(i=n.gullet.popToken(),!/^[1-9]$/.test(i.text))throw new e(`Invalid argument number "`+i.text+`"`);if(parseInt(i.text)!==o+1)throw new e(`Argument number "`+i.text+`" out of order`);o++,c.push([])}else if(i.text===`EOF`)throw new e(`Expected a macro definition`);else c[o].push(i.text);var{tokens:l}=n.gullet.consumeArg();return s&&l.unshift(s),(r===`\\edef`||r===`\\xdef`)&&(l=n.gullet.expandTokens(l),l.reverse()),n.gullet.macros.set(a,{tokens:l,numArgs:o,delimiters:c},r===Jn[r]),{type:`internal`,mode:n.mode}}}),G({type:`internal`,names:[`\\let`,`\\\\globallet`],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=Yn(t.gullet.popToken());return t.gullet.consumeSpaces(),Zn(t,r,Xn(t),n===`\\\\globallet`),{type:`internal`,mode:t.mode}}}),G({type:`internal`,names:[`\\futurelet`,`\\\\globalfuture`],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=Yn(t.gullet.popToken()),i=t.gullet.popToken(),a=t.gullet.popToken();return Zn(t,r,a,n===`\\\\globalfuture`),t.gullet.pushToken(a),t.gullet.pushToken(i),{type:`internal`,mode:t.mode}}});var Qn=function(e,t,n){var r=We(O.math[e]&&O.math[e].replace||e,t,n);if(!r)throw Error(`Unsupported symbol `+e+` and font size `+t+`.`);return r},$n=function(e,t,n,r){var i=n.havingBaseStyle(t),a=H(r.concat(i.sizingClasses(n)),[e],n),o=i.sizeMultiplier/n.sizeMultiplier;return a.height*=o,a.depth*=o,a.maxFontSize=i.sizeMultiplier,a},er=function(e,t,n){var r=t.havingBaseStyle(n),i=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push(`delimcenter`),e.style.top=D(i),e.height-=i,e.depth+=i},tr=function(e,t,n,r,i,a){var o=$n(bt(e,`Main-Regular`,i,r),t,r,a);return n&&er(o,r,t),o},nr=function(e,t,n,r){return bt(e,`Size`+t+`-Regular`,n,r)},rr=function(e,t,n,r,i,a){var o=nr(e,t,i,r),s=$n(H([`delimsizing`,`size`+t],[o],r),T.TEXT,r,a);return n&&er(s,r,T.TEXT),s},ir=function(e,t,n){return{type:`elem`,elem:H([`delimsizinginner`,t===`Size1-Regular`?`delim-size1`:`delim-size4`],[H([],[bt(e,t,n)])])}},ar=function(e,t,n){var r=Be[`Size4-Regular`][e.charCodeAt(0)]?Be[`Size4-Regular`][e.charCodeAt(0)][4]:Be[`Size1-Regular`][e.charCodeAt(0)][4],i=Dt([],[new Pe([new Fe(`inner`,_e(e,Math.round(1e3*t)))],{width:D(r),height:D(t),style:`width:`+D(r),viewBox:`0 0 `+1e3*r+` `+Math.round(1e3*t),preserveAspectRatio:`xMinYMin`})],n);return i.height=t,i.style.height=D(t),i.style.width=D(r),{type:`elem`,elem:i}},or=.008,sr={type:`kern`,size:-1*or},cr=new Set([`|`,`\\lvert`,`\\rvert`,`\\vert`]),lr=new Set([`\\|`,`\\lVert`,`\\rVert`,`\\Vert`]),ur=function(e,t,n,r,i,a){var o,s,c,l,u=``,d=0;o=c=l=e,s=null;var f=`Size1-Regular`;e===`\\uparrow`?c=l=`⏐`:e===`\\Uparrow`?c=l=`‖`:e===`\\downarrow`?o=c=`⏐`:e===`\\Downarrow`?o=c=`‖`:e===`\\updownarrow`?(o=`\\uparrow`,c=`⏐`,l=`\\downarrow`):e===`\\Updownarrow`?(o=`\\Uparrow`,c=`‖`,l=`\\Downarrow`):cr.has(e)?(c=`∣`,u=`vert`,d=333):lr.has(e)?(c=`∥`,u=`doublevert`,d=556):e===`[`||e===`\\lbrack`?(o=`⎡`,c=`⎢`,l=`⎣`,f=`Size4-Regular`,u=`lbrack`,d=667):e===`]`||e===`\\rbrack`?(o=`⎤`,c=`⎥`,l=`⎦`,f=`Size4-Regular`,u=`rbrack`,d=667):e===`\\lfloor`||e===`⌊`?(c=o=`⎢`,l=`⎣`,f=`Size4-Regular`,u=`lfloor`,d=667):e===`\\lceil`||e===`⌈`?(o=`⎡`,c=l=`⎢`,f=`Size4-Regular`,u=`lceil`,d=667):e===`\\rfloor`||e===`⌋`?(c=o=`⎥`,l=`⎦`,f=`Size4-Regular`,u=`rfloor`,d=667):e===`\\rceil`||e===`⌉`?(o=`⎤`,c=l=`⎥`,f=`Size4-Regular`,u=`rceil`,d=667):e===`(`||e===`\\lparen`?(o=`⎛`,c=`⎜`,l=`⎝`,f=`Size4-Regular`,u=`lparen`,d=875):e===`)`||e===`\\rparen`?(o=`⎞`,c=`⎟`,l=`⎠`,f=`Size4-Regular`,u=`rparen`,d=875):e===`\\{`||e===`\\lbrace`?(o=`⎧`,s=`⎨`,l=`⎩`,c=`⎪`,f=`Size4-Regular`):e===`\\}`||e===`\\rbrace`?(o=`⎫`,s=`⎬`,l=`⎭`,c=`⎪`,f=`Size4-Regular`):e===`\\lgroup`||e===`⟮`?(o=`⎧`,l=`⎩`,c=`⎪`,f=`Size4-Regular`):e===`\\rgroup`||e===`⟯`?(o=`⎫`,l=`⎭`,c=`⎪`,f=`Size4-Regular`):e===`\\lmoustache`||e===`⎰`?(o=`⎧`,l=`⎭`,c=`⎪`,f=`Size4-Regular`):(e===`\\rmoustache`||e===`⎱`)&&(o=`⎫`,l=`⎩`,c=`⎪`,f=`Size4-Regular`);var p=Qn(o,f,i),m=p.height+p.depth,h=Qn(c,f,i),g=h.height+h.depth,_=Qn(l,f,i),v=_.height+_.depth,y=0,b=1;if(s!==null){var x=Qn(s,f,i);y=x.height+x.depth,b=2}var S=m+v+y,C=S+Math.max(0,Math.ceil((t-S)/(b*g)))*b*g,ee=r.fontMetrics().axisHeight;n&&(ee*=r.sizeMultiplier);var te=C/2-ee,w=[];if(u.length>0){var ne=C-m-v,re=Math.round(C*1e3),ie=ye(u,Math.round(ne*1e3)),ae=new Fe(u,ie),oe=D(d/1e3),se=D(re/1e3),ce=Dt([],[new Pe([ae],{width:oe,height:se,viewBox:`0 0 `+d+` `+re})],r);ce.height=re/1e3,ce.style.width=oe,ce.style.height=se,w.push({type:`elem`,elem:ce})}else{if(w.push(ir(l,f,i)),w.push(sr),s===null){var le=C-m-v+2*or;w.push(ar(c,le,r))}else{var ue=(C-m-v-y)/2+2*or;w.push(ar(c,ue,r)),w.push(sr),w.push(ir(s,f,i)),w.push(sr),w.push(ar(c,ue,r))}w.push(sr),w.push(ir(o,f,i))}var de=r.havingBaseStyle(T.TEXT);return $n(H([`delimsizing`,`mult`],[U({positionType:`bottom`,positionData:te,children:w})],de),T.TEXT,r,a)},dr=80,fr=.08,pr=function(e,t,n,r,i){return Dt([`hide-tail`],[new Pe([new Fe(e,ge(e,r,n))],{width:`400em`,height:D(t),viewBox:`0 0 400000 `+n,preserveAspectRatio:`xMinYMin slice`})],i)},mr=function(e,t){var n=t.havingBaseSizing(),r=wr(`\\surd`,e*n.sizeMultiplier,Sr,n),i=n.sizeMultiplier,a=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),o,s=0,c=0,l=0,u;return r.type===`small`?(l=1e3+1e3*a+dr,e<1?i=1:e<1.4&&(i=.7),s=(1+a+fr)/i,c=(1+a)/i,o=pr(`sqrtMain`,s,l,a,t),o.style.minWidth=`0.853em`,u=.833/i):r.type===`large`?(l=(1e3+dr)*vr[r.size],c=(vr[r.size]+a)/i,s=(vr[r.size]+a+fr)/i,o=pr(`sqrtSize`+r.size,s,l,a,t),o.style.minWidth=`1.02em`,u=1/i):(s=e+a+fr,c=e+a,l=Math.floor(1e3*e+a)+dr,o=pr(`sqrtTall`,s,l,a,t),o.style.minWidth=`0.742em`,u=1.056),o.height=c,o.style.height=D(s),{span:o,advanceWidth:u,ruleWidth:(t.fontMetrics().sqrtRuleThickness+a)*i}},hr=new Set([`(`,`\\lparen`,`)`,`\\rparen`,`[`,`\\lbrack`,`]`,`\\rbrack`,`\\{`,`\\lbrace`,`\\}`,`\\rbrace`,`\\lfloor`,`\\rfloor`,`⌊`,`⌋`,`\\lceil`,`\\rceil`,`⌈`,`⌉`,`\\surd`]),gr=new Set([`\\uparrow`,`\\downarrow`,`\\updownarrow`,`\\Uparrow`,`\\Downarrow`,`\\Updownarrow`,`|`,`\\|`,`\\vert`,`\\Vert`,`\\lvert`,`\\rvert`,`\\lVert`,`\\rVert`,`\\lgroup`,`\\rgroup`,`⟮`,`⟯`,`\\lmoustache`,`\\rmoustache`,`⎰`,`⎱`]),_r=new Set([`<`,`>`,`\\langle`,`\\rangle`,`/`,`\\backslash`,`\\lt`,`\\gt`]),vr=[0,1.2,1.8,2.4,3],yr=function(t,n,r,i,a){if(t===`<`||t===`\\lt`||t===`⟨`?t=`\\langle`:(t===`>`||t===`\\gt`||t===`⟩`)&&(t=`\\rangle`),hr.has(t)||_r.has(t))return rr(t,n,!1,r,i,a);if(gr.has(t))return ur(t,vr[n],!1,r,i,a);throw new e(`Illegal delimiter: '`+t+`'`)},br=[{type:`small`,style:T.SCRIPTSCRIPT},{type:`small`,style:T.SCRIPT},{type:`small`,style:T.TEXT},{type:`large`,size:1},{type:`large`,size:2},{type:`large`,size:3},{type:`large`,size:4}],xr=[{type:`small`,style:T.SCRIPTSCRIPT},{type:`small`,style:T.SCRIPT},{type:`small`,style:T.TEXT},{type:`stack`}],Sr=[{type:`small`,style:T.SCRIPTSCRIPT},{type:`small`,style:T.SCRIPT},{type:`small`,style:T.TEXT},{type:`large`,size:1},{type:`large`,size:2},{type:`large`,size:3},{type:`large`,size:4},{type:`stack`}],Cr=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`;var t=e.type;throw Error(`Add support for delim type '`+t+`' here.`)},wr=function(e,t,n,r){for(var i=Math.min(2,3-r.style.size);i<n.length;i++){var a=n[i];if(a.type===`stack`)break;var o=Qn(e,Cr(a),`math`),s=o.height+o.depth;if(a.type===`small`){var c=r.havingBaseStyle(a.style);s*=c.sizeMultiplier}if(s>t)return a}return n[n.length-1]},Tr=function(e,t,n,r,i,a){e===`<`||e===`\\lt`||e===`⟨`?e=`\\langle`:(e===`>`||e===`\\gt`||e===`⟩`)&&(e=`\\rangle`);var o=_r.has(e)?br:hr.has(e)?Sr:xr,s=wr(e,t,o,r);return s.type===`small`?tr(e,s.style,n,r,i,a):s.type===`large`?rr(e,s.size,n,r,i,a):ur(e,t,n,r,i,a)},Er=function(e,t,n,r,i,a){var o=r.fontMetrics().axisHeight*r.sizeMultiplier,s=901,c=5/r.fontMetrics().ptPerEm,l=Math.max(t-o,n+o);return Tr(e,Math.max(l/500*s,2*l-c),!0,r,i,a)},Dr={"\\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}},Or=new Set(`(,\\lparen,),\\rparen,[,\\lbrack,],\\rbrack,\\{,\\lbrace,\\},\\rbrace,\\lfloor,\\rfloor,⌊,⌋,\\lceil,\\rceil,⌈,⌉,<,>,\\langle,⟨,\\rangle,⟩,\\lt,\\gt,\\lvert,\\rvert,\\lVert,\\rVert,\\lgroup,\\rgroup,⟮,⟯,\\lmoustache,\\rmoustache,⎰,⎱,/,\\backslash,|,\\vert,\\|,\\Vert,\\uparrow,\\Uparrow,\\downarrow,\\Downarrow,\\updownarrow,\\Updownarrow,.`.split(`,`));function kr(t,n){var r=jn(t);if(r&&Or.has(r.text))return r;throw r?new e(`Invalid delimiter '`+r.text+`' after '`+n.funcName+`'`,t):new e(`Invalid delimiter type '`+t.type+`'`,t)}G({type:`delimsizing`,names:[`\\bigl`,`\\Bigl`,`\\biggl`,`\\Biggl`,`\\bigr`,`\\Bigr`,`\\biggr`,`\\Biggr`,`\\bigm`,`\\Bigm`,`\\biggm`,`\\Biggm`,`\\big`,`\\Big`,`\\bigg`,`\\Bigg`],props:{numArgs:1,argTypes:[`primitive`]},handler:(e,t)=>{var n=kr(t[0],e);return{type:`delimsizing`,mode:e.parser.mode,size:Dr[e.funcName].size,mclass:Dr[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>e.delim===`.`?H([e.mclass]):yr(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!==`.`&&t.push(ln(e.delim,e.mode));var n=new Y(`mo`,t);e.mclass===`mopen`||e.mclass===`mclose`?n.setAttribute(`fence`,`true`):n.setAttribute(`fence`,`false`),n.setAttribute(`stretchy`,`true`);var r=D(vr[e.size]);return n.setAttribute(`minsize`,r),n.setAttribute(`maxsize`,r),n}});function Ar(e){if(!e.body)throw Error(`Bug: The leftright ParseNode wasn't fully parsed.`)}G({type:`leftright-right`,names:[`\\right`],props:{numArgs:1,primitive:!0},handler:(t,n)=>{var r=t.parser.gullet.macros.get(`\\current@color`);if(r&&typeof r!=`string`)throw new e(`\\current@color set to non-string in \\right`);return{type:`leftright-right`,mode:t.parser.mode,delim:kr(n[0],t).text,color:r}}}),G({type:`leftright`,names:[`\\left`],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=kr(t[0],e),r=e.parser;++r.leftrightDepth;var i=r.parseExpression(!1);--r.leftrightDepth,r.expect(`\\right`,!1);var a=Q(r.parseFunction(),`leftright-right`);return{type:`leftright`,mode:r.mode,body:i,left:n.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,t)=>{Ar(e);for(var n=q(e.body,t,!0,[`mopen`,`mclose`]),r=0,i=0,a=!1,o=0;o<n.length;o++)n[o].isMiddle?a=!0:(r=Math.max(n[o].height,r),i=Math.max(n[o].depth,i));r*=t.sizeMultiplier,i*=t.sizeMultiplier;var s=e.left===`.`?tn(t,[`mopen`]):Er(e.left,r,i,t,e.mode,[`mopen`]);if(n.unshift(s),a)for(var c=1;c<n.length;c++){var l=n[c].isMiddle;l&&(n[c]=Er(l.delim,r,i,l.options,e.mode,[]))}var u;if(e.right===`.`)u=tn(t,[`mclose`]);else{var d=e.rightColor?t.withColor(e.rightColor):t;u=Er(e.right,r,i,d,e.mode,[`mclose`])}return n.push(u),H([`minner`],n,t)},mathmlBuilder:(e,t)=>{Ar(e);var n=pn(e.body,t);if(e.left!==`.`){var r=new Y(`mo`,[ln(e.left,e.mode)]);r.setAttribute(`fence`,`true`),n.unshift(r)}if(e.right!==`.`){var i=new Y(`mo`,[ln(e.right,e.mode)]);i.setAttribute(`fence`,`true`),e.rightColor&&i.setAttribute(`mathcolor`,e.rightColor),n.push(i)}return un(n)}}),G({type:`middle`,names:[`\\middle`],props:{numArgs:1,primitive:!0},handler:(t,n)=>{var r=kr(n[0],t);if(!t.parser.leftrightDepth)throw new e(`\\middle without preceding \\left`,r);return{type:`middle`,mode:t.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var n;if(e.delim===`.`)n=tn(t,[]);else{n=yr(e.delim,1,t,e.mode,[]);var r={delim:e.delim,options:t};n.isMiddle=r}return n},mathmlBuilder:(e,t)=>{var n=new Y(`mo`,[e.delim===`\\vert`||e.delim===`|`?ln(`|`,`text`):ln(e.delim,e.mode)]);return n.setAttribute(`fence`,`true`),n.setAttribute(`lspace`,`0.05em`),n.setAttribute(`rspace`,`0.05em`),n}});var jr=(e,t)=>{var n=jt(J(e.body,t),t),r=e.label.slice(1),i=t.sizeMultiplier,a,o=0,s=c(e.body);if(r===`sout`)a=H([`stretchy`,`sout`]),a.height=t.fontMetrics().defaultRuleThickness/i,o=-.5*t.fontMetrics().xHeight;else if(r===`phase`){var l=E({number:.6,unit:`pt`},t),u=E({number:.35,unit:`ex`},t),d=t.havingBaseSizing();i/=d.sizeMultiplier;var f=n.height+n.depth+l+u;n.style.paddingLeft=D(f/2+l);var p=Math.floor(1e3*f*i);a=Dt([`hide-tail`],[new Pe([new Fe(`phase`,me(p))],{width:`400em`,height:D(p/1e3),viewBox:`0 0 400000 `+p,preserveAspectRatio:`xMinYMin slice`})],t),a.style.height=D(f),o=n.depth+l+u}else{/cancel/.test(r)?s||n.classes.push(`cancel-pad`):r===`angl`?n.classes.push(`anglpad`):n.classes.push(`boxpad`);var m=0,h=0,g=0;/box/.test(r)?(g=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),m=t.fontMetrics().fboxsep+(r===`colorbox`?0:g),h=m):r===`angl`?(g=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),m=4*g,h=Math.max(0,.25-n.depth)):(m=s?.2:0,h=m),a=kn(n,r,m,h,t),/fbox|boxed|fcolorbox/.test(r)?(a.style.borderStyle=`solid`,a.style.borderWidth=D(g)):r===`angl`&&g!==.049&&(a.style.borderTopWidth=D(g),a.style.borderRightWidth=D(g)),o=n.depth+h,e.backgroundColor&&(a.style.backgroundColor=e.backgroundColor,e.borderColor&&(a.style.borderColor=e.borderColor))}var _;if(e.backgroundColor)_=U({positionType:`individualShift`,children:[{type:`elem`,elem:a,shift:o},{type:`elem`,elem:n,shift:0}]});else{var v=/cancel|phase/.test(r)?[`svg-align`]:[];_=U({positionType:`individualShift`,children:[{type:`elem`,elem:n,shift:0},{type:`elem`,elem:a,shift:o,wrapperClasses:v}]})}return/cancel/.test(r)&&(_.height=n.height,_.depth=n.depth),/cancel/.test(r)&&!s?H([`mord`,`cancel-lap`],[_],t):H([`mord`],[_],t)},Mr=(e,t)=>{var n=0,r=new Y(e.label.includes(`colorbox`)?`mpadded`:`menclose`,[Z(e.body,t)]);switch(e.label){case`\\cancel`:r.setAttribute(`notation`,`updiagonalstrike`);break;case`\\bcancel`:r.setAttribute(`notation`,`downdiagonalstrike`);break;case`\\phase`:r.setAttribute(`notation`,`phasorangle`);break;case`\\sout`:r.setAttribute(`notation`,`horizontalstrike`);break;case`\\fbox`:r.setAttribute(`notation`,`box`);break;case`\\angl`:r.setAttribute(`notation`,`actuarial`);break;case`\\fcolorbox`:case`\\colorbox`:if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute(`width`,`+`+2*n+`pt`),r.setAttribute(`height`,`+`+2*n+`pt`),r.setAttribute(`lspace`,n+`pt`),r.setAttribute(`voffset`,n+`pt`),e.label===`\\fcolorbox`){var i=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute(`style`,`border: `+D(i)+` solid `+e.borderColor)}break;case`\\xcancel`:r.setAttribute(`notation`,`updiagonalstrike downdiagonalstrike`);break}return e.backgroundColor&&r.setAttribute(`mathbackground`,e.backgroundColor),r};G({type:`enclose`,names:[`\\colorbox`],props:{numArgs:2,allowedInText:!0,argTypes:[`color`,`text`]},handler(e,t,n){var{parser:r,funcName:i}=e,a=Q(t[0],`color-token`).color,o=t[1];return{type:`enclose`,mode:r.mode,label:i,backgroundColor:a,body:o}},htmlBuilder:jr,mathmlBuilder:Mr}),G({type:`enclose`,names:[`\\fcolorbox`],props:{numArgs:3,allowedInText:!0,argTypes:[`color`,`color`,`text`]},handler(e,t,n){var{parser:r,funcName:i}=e,a=Q(t[0],`color-token`).color,o=Q(t[1],`color-token`).color,s=t[2];return{type:`enclose`,mode:r.mode,label:i,backgroundColor:o,borderColor:a,body:s}},htmlBuilder:jr,mathmlBuilder:Mr}),G({type:`enclose`,names:[`\\fbox`],props:{numArgs:1,argTypes:[`hbox`],allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:`enclose`,mode:n.mode,label:`\\fbox`,body:t[0]}}}),G({type:`enclose`,names:[`\\cancel`,`\\bcancel`,`\\xcancel`,`\\phase`],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:`enclose`,mode:n.mode,label:r,body:i}},htmlBuilder:jr,mathmlBuilder:Mr}),G({type:`enclose`,names:[`\\sout`],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e;n.mode===`math`&&n.settings.reportNonstrict(`mathVsSout`,`LaTeX's \\sout works only in text mode`);var i=t[0];return{type:`enclose`,mode:n.mode,label:r,body:i}},htmlBuilder:jr,mathmlBuilder:Mr}),G({type:`enclose`,names:[`\\angl`],props:{numArgs:1,argTypes:[`hbox`],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:`enclose`,mode:n.mode,label:`\\angl`,body:t[0]}}});var Nr={};function Pr(e){for(var{type:t,names:n,props:r,handler:i,htmlBuilder:a,mathmlBuilder:o}=e,s={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},c=0;c<n.length;++c)Nr[n[c]]=s;a&&(Ut[t]=a),o&&(Wt[t]=o)}var Fr={};function $(e,t){Fr[e]=t}var Ir=class e{constructor(e,t,n){this.lexer=e,this.start=t,this.end=n}static range(t,n){return n?!t||!t.loc||!n.loc||t.loc.lexer!==n.loc.lexer?null:new e(t.loc.lexer,t.loc.start,n.loc.end):t&&t.loc}},Lr=class e{constructor(e,t){this.text=e,this.loc=t}range(t,n){return new e(n,Ir.range(this,t))}};function Rr(e){var t=[];e.consumeSpaces();var n=e.fetch().text;for(n===`\\relax`&&(e.consume(),e.consumeSpaces(),n=e.fetch().text);n===`\\hline`||n===`\\hdashline`;)e.consume(),t.push(n===`\\hdashline`),e.consumeSpaces(),n=e.fetch().text;return t}var zr=t=>{if(!t.parser.settings.displayMode)throw new e(`{`+t.envName+`} can be used only in display mode.`)},Br=new Set([`gather`,`gather*`]);function Vr(e){if(!e.includes(`ed`))return!e.includes(`*`)}function Hr(t,n,r){var{hskipBeforeAndAfter:i,addJot:a,cols:o,arraystretch:s,colSeparationType:c,autoTag:l,singleRow:u,emptySingleRow:d,maxNumCols:f,leqno:p}=n;if(t.gullet.beginGroup(),u||t.gullet.macros.set(`\\cr`,`\\\\\\relax`),!s){var m=t.gullet.expandMacroAsText(`\\arraystretch`);if(m==null)s=1;else if(s=parseFloat(m),!s||s<0)throw new e(`Invalid \\arraystretch: `+m)}t.gullet.beginGroup();var h=[],g=[h],_=[],v=[],y=l==null?void 0:[];function b(){l&&t.gullet.macros.set(`\\@eqnsw`,`1`,!0)}function x(){y&&(t.gullet.macros.get(`\\df@tag`)?(y.push(t.subparse([new Lr(`\\df@tag`)])),t.gullet.macros.set(`\\df@tag`,void 0,!0)):y.push(!!l&&t.gullet.macros.get(`\\@eqnsw`)===`1`))}for(b(),v.push(Rr(t));;){var S=t.parseExpression(!1,u?`\\end`:`\\\\`);t.gullet.endGroup(),t.gullet.beginGroup();var C={type:`ordgroup`,mode:t.mode,body:S};r&&(C={type:`styling`,mode:t.mode,style:r,body:[C]}),h.push(C);var ee=t.fetch().text;if(ee===`&`){if(f&&h.length===f){if(u||c)throw new e(`Too many tab characters: &`,t.nextToken);t.settings.reportNonstrict(`textEnv`,`Too few columns specified in the {array} column argument.`)}t.consume()}else if(ee===`\\end`){x(),h.length===1&&C.type===`styling`&&C.body.length===1&&C.body[0].type===`ordgroup`&&C.body[0].body.length===0&&(g.length>1||!d)&&g.pop(),v.length<g.length+1&&v.push([]);break}else if(ee===`\\\\`){t.consume();var te=void 0;t.gullet.future().text!==` `&&(te=t.parseSizeGroup(!0)),_.push(te?te.value:null),x(),v.push(Rr(t)),h=[],g.push(h),b()}else throw new e(`Expected & or \\\\ or \\cr or \\end`,t.nextToken)}return t.gullet.endGroup(),t.gullet.endGroup(),{type:`array`,mode:t.mode,addJot:a,arraystretch:s,body:g,cols:o,rowGaps:_,hskipBeforeAndAfter:i,hLinesBeforeRow:v,colSeparationType:c,tags:y,leqno:p}}function Ur(e){return e.slice(0,1)===`d`?`display`:`text`}var Wr=function(t,n){var r,i,a=t.body.length,o=t.hLinesBeforeRow,s=0,c=Array(a),l=[],u=Math.max(n.fontMetrics().arrayRuleWidth,n.minRuleThickness),d=1/n.fontMetrics().ptPerEm,f=5*d;t.colSeparationType&&t.colSeparationType===`small`&&(f=.2778*(n.havingStyle(T.SCRIPT).sizeMultiplier/n.sizeMultiplier));var p=t.colSeparationType===`CD`?E({number:3,unit:`ex`},n):12*d,m=3*d,h=t.arraystretch*p,g=.7*h,_=.3*h,v=0;function y(e){for(var t=0;t<e.length;++t)t>0&&(v+=.25),l.push({pos:v,isDashed:e[t]})}for(y(o[0]),r=0;r<t.body.length;++r){var b=t.body[r],x=g,S=_;s<b.length&&(s=b.length);var C=Array(b.length);for(i=0;i<b.length;++i){var ee=J(b[i],n);S<ee.depth&&(S=ee.depth),x<ee.height&&(x=ee.height),C[i]=ee}var te=t.rowGaps[r],w=0;te&&(w=E(te,n),w>0&&(w+=_,S<w&&(S=w),w=0)),t.addJot&&(S+=m),C.height=x,C.depth=S,v+=x,C.pos=v,v+=S+w,c[r]=C,y(o[r+1])}var ne=v/2+n.fontMetrics().axisHeight,re=t.cols||[],ie=[],ae,oe,se=[];if(t.tags&&t.tags.some(e=>e))for(r=0;r<a;++r){var ce=c[r],le=ce.pos-ne,ue=t.tags[r],de=void 0;de=ue===!0?H([`eqn-num`],[],n):ue===!1?H([],[],n):H([],q(ue,n,!0),n),de.depth=ce.depth,de.height=ce.height,se.push({type:`elem`,elem:de,shift:le})}for(i=0,oe=0;i<s||oe<re.length;++i,++oe){for(var fe=re[oe],pe=!0;(me=fe)?.type===`separator`;){var me;if(pe||(ae=H([`arraycolsep`],[]),ae.style.width=D(n.fontMetrics().doubleRuleSep),ie.push(ae)),fe.separator===`|`||fe.separator===`:`){var he=fe.separator===`|`?`solid`:`dashed`,ge=H([`vertical-separator`],[],n);ge.style.height=D(v),ge.style.borderRightWidth=D(u),ge.style.borderRightStyle=he,ge.style.margin=`0 `+D(-u/2);var _e=v-ne;_e&&(ge.style.verticalAlign=D(-_e)),ie.push(ge)}else throw new e(`Invalid separator type: `+fe.separator);oe++,fe=re[oe],pe=!1}if(!(i>=s)){var ve=void 0;(i>0||t.hskipBeforeAndAfter)&&(ve=fe?.pregap??f,ve!==0&&(ae=H([`arraycolsep`],[]),ae.style.width=D(ve),ie.push(ae)));var ye=[];for(r=0;r<a;++r){var be=c[r],xe=be[i];if(xe){var Se=be.pos-ne;xe.depth=be.depth,xe.height=be.height,ye.push({type:`elem`,elem:xe,shift:Se})}}var Ce=U({positionType:`individualShift`,children:ye}),we=H([`col-align-`+(fe?.align||`c`)],[Ce]);ie.push(we),(i<s-1||t.hskipBeforeAndAfter)&&(ve=fe?.postgap??f,ve!==0&&(ae=H([`arraycolsep`],[]),ae.style.width=D(ve),ie.push(ae)))}}var Te=H([`mtable`],ie);if(l.length>0){for(var Ee=Ot(`hline`,n,u),De=Ot(`hdashline`,n,u),Oe=[{type:`elem`,elem:Te,shift:0}];l.length>0;){var ke=l.pop(),Ae=ke.pos-ne;ke.isDashed?Oe.push({type:`elem`,elem:De,shift:Ae}):Oe.push({type:`elem`,elem:Ee,shift:Ae})}Te=U({positionType:`individualShift`,children:Oe})}if(se.length===0)return H([`mord`],[Te],n);var je=H([`tag`],[U({positionType:`individualShift`,children:se})],n);return At([Te,je])},Gr={c:`center `,l:`left `,r:`right `},Kr=function(e,t){for(var n=[],r=new Y(`mtd`,[],[`mtr-glue`]),i=new Y(`mtd`,[],[`mml-eqn-num`]),a=0;a<e.body.length;a++){for(var o=e.body[a],s=[],c=0;c<o.length;c++)s.push(new Y(`mtd`,[Z(o[c],t)]));e.tags&&e.tags[a]&&(s.unshift(r),s.push(r),e.leqno?s.unshift(i):s.push(i)),n.push(new Y(`mtr`,s))}var l=new Y(`mtable`,n),u=e.arraystretch===.5?.1:.16+e.arraystretch-1+(e.addJot?.09:0);l.setAttribute(`rowspacing`,D(u));var d=``,f=``;if(e.cols&&e.cols.length>0){var p=e.cols,m=``,h=!1,g=0,_=p.length;p[0].type===`separator`&&(d+=`top `,g=1),p[p.length-1].type===`separator`&&(d+=`bottom `,--_);for(var v=g;v<_;v++){var y=p[v];y.type===`align`?(f+=Gr[y.align],h&&(m+=`none `),h=!0):y.type===`separator`&&(h&&=(m+=y.separator===`|`?`solid `:`dashed `,!1))}l.setAttribute(`columnalign`,f.trim()),/[sd]/.test(m)&&l.setAttribute(`columnlines`,m.trim())}if(e.colSeparationType===`align`){for(var b=e.cols||[],x=``,S=1;S<b.length;S++)x+=S%2?`0em `:`1em `;l.setAttribute(`columnspacing`,x.trim())}else e.colSeparationType===`alignat`||e.colSeparationType===`gather`?l.setAttribute(`columnspacing`,`0em`):e.colSeparationType===`small`?l.setAttribute(`columnspacing`,`0.2778em`):e.colSeparationType===`CD`?l.setAttribute(`columnspacing`,`0.5em`):l.setAttribute(`columnspacing`,`1em`);var C=``,ee=e.hLinesBeforeRow;d+=ee[0].length>0?`left `:``,d+=ee[ee.length-1].length>0?`right `:``;for(var te=1;te<ee.length-1;te++)C+=ee[te].length===0?`none `:ee[te][0]?`dashed `:`solid `;return/[sd]/.test(C)&&l.setAttribute(`rowlines`,C.trim()),d!==``&&(l=new Y(`menclose`,[l]),l.setAttribute(`notation`,d.trim())),e.arraystretch&&e.arraystretch<1&&(l=new Y(`mstyle`,[l]),l.setAttribute(`scriptlevel`,`1`)),l},qr=function(t,n){t.envName.includes(`ed`)||zr(t);var r=[],i=t.envName.includes(`at`)?`alignat`:`align`,a=t.envName===`split`,o=Hr(t.parser,{cols:r,addJot:!0,autoTag:a?void 0:Vr(t.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:a?2:void 0,leqno:t.parser.settings.leqno},`display`),s=0,c=0,l={type:`ordgroup`,mode:t.mode,body:[]};if(n[0]&&n[0].type===`ordgroup`){for(var u=``,d=0;d<n[0].body.length;d++){var f=Q(n[0].body[d],`textord`);u+=f.text}s=Number(u),c=s*2}var p=!c;o.body.forEach(function(t){for(var n=1;n<t.length;n+=2)Q(Q(t[n],`styling`).body[0],`ordgroup`).body.unshift(l);if(p)c<t.length&&(c=t.length);else{var r=t.length/2;if(s<r)throw new e(`Too many math in a row: `+(`expected `+s+`, but got `+r),t[0])}});for(var m=0;m<c;++m){var h=`r`,g=0;m%2==1?h=`l`:m>0&&p&&(g=1),r[m]={type:`align`,align:h,pregap:g,postgap:0}}return o.colSeparationType=p?`align`:`alignat`,o};Pr({type:`array`,names:[`array`,`darray`],props:{numArgs:1},handler(t,n){var r=(jn(n[0])?[n[0]]:Q(n[0],`ordgroup`).body).map(function(t){var n=An(t).text;if(`lcr`.includes(n))return{type:`align`,align:n};if(n===`|`)return{type:`separator`,separator:`|`};if(n===`:`)return{type:`separator`,separator:`:`};throw new e(`Unknown column alignment: `+n,t)}),i={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return Hr(t.parser,i,Ur(t.envName))},htmlBuilder:Wr,mathmlBuilder:Kr}),Pr({type:`array`,names:[`matrix`,`pmatrix`,`bmatrix`,`Bmatrix`,`vmatrix`,`Vmatrix`,`matrix*`,`pmatrix*`,`bmatrix*`,`Bmatrix*`,`vmatrix*`,`Vmatrix*`],props:{numArgs:0},handler(t){var n={matrix:null,pmatrix:[`(`,`)`],bmatrix:[`[`,`]`],Bmatrix:[`\\{`,`\\}`],vmatrix:[`|`,`|`],Vmatrix:[`\\Vert`,`\\Vert`]}[t.envName.replace(`*`,``)],r=`c`,i={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`.includes(r))throw new e(`Expected l or c or r`,a.nextToken);a.consume(),a.consumeSpaces(),a.expect(`]`),a.consume(),i.cols=[{type:`align`,align:r}]}}var o=Hr(t.parser,i,Ur(t.envName)),s=Math.max(0,...o.body.map(e=>e.length));return o.cols=Array(s).fill({type:`align`,align:r}),n?{type:`leftright`,mode:t.mode,body:[o],left:n[0],right:n[1],rightColor:void 0}:o},htmlBuilder:Wr,mathmlBuilder:Kr}),Pr({type:`array`,names:[`smallmatrix`],props:{numArgs:0},handler(e){var t=Hr(e.parser,{arraystretch:.5},`script`);return t.colSeparationType=`small`,t},htmlBuilder:Wr,mathmlBuilder:Kr}),Pr({type:`array`,names:[`subarray`],props:{numArgs:1},handler(t,n){var r=(jn(n[0])?[n[0]]:Q(n[0],`ordgroup`).body).map(function(t){var n=An(t).text;if(`lc`.includes(n))return{type:`align`,align:n};throw new e(`Unknown column alignment: `+n,t)});if(r.length>1)throw new e(`{subarray} can contain only one column`);var i={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5},a=Hr(t.parser,i,`script`);if(a.body.length>0&&a.body[0].length>1)throw new e(`{subarray} can contain only one column`);return a},htmlBuilder:Wr,mathmlBuilder:Kr}),Pr({type:`array`,names:[`cases`,`dcases`,`rcases`,`drcases`],props:{numArgs:0},handler(e){var t=Hr(e.parser,{arraystretch:1.2,cols:[{type:`align`,align:`l`,pregap:0,postgap:1},{type:`align`,align:`l`,pregap:0,postgap:0}]},Ur(e.envName));return{type:`leftright`,mode:e.mode,body:[t],left:e.envName.includes(`r`)?`.`:`\\{`,right:e.envName.includes(`r`)?`\\}`:`.`,rightColor:void 0}},htmlBuilder:Wr,mathmlBuilder:Kr}),Pr({type:`array`,names:[`align`,`align*`,`aligned`,`split`],props:{numArgs:0},handler:qr,htmlBuilder:Wr,mathmlBuilder:Kr}),Pr({type:`array`,names:[`gathered`,`gather`,`gather*`],props:{numArgs:0},handler(e){Br.has(e.envName)&&zr(e);var t={cols:[{type:`align`,align:`c`}],addJot:!0,colSeparationType:`gather`,autoTag:Vr(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Hr(e.parser,t,`display`)},htmlBuilder:Wr,mathmlBuilder:Kr}),Pr({type:`array`,names:[`alignat`,`alignat*`,`alignedat`],props:{numArgs:1},handler:qr,htmlBuilder:Wr,mathmlBuilder:Kr}),Pr({type:`array`,names:[`equation`,`equation*`],props:{numArgs:0},handler(e){zr(e);var t={autoTag:Vr(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Hr(e.parser,t,`display`)},htmlBuilder:Wr,mathmlBuilder:Kr}),Pr({type:`array`,names:[`CD`],props:{numArgs:0},handler(e){return zr(e),Gn(e.parser)},htmlBuilder:Wr,mathmlBuilder:Kr}),$(`\\nonumber`,`\\gdef\\@eqnsw{0}`),$(`\\notag`,`\\nonumber`),G({type:`text`,names:[`\\hline`,`\\hdashline`],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(t,n){throw new e(t.funcName+` valid only within array environment`)}});var Jr=Nr;G({type:`environment`,names:[`\\begin`,`\\end`],props:{numArgs:1,argTypes:[`text`]},handler(t,n){var{parser:r,funcName:i}=t,a=n[0];if(a.type!==`ordgroup`)throw new e(`Invalid environment name`,a);for(var o=``,s=0;s<a.body.length;++s)o+=Q(a.body[s],`textord`).text;if(i===`\\begin`){if(!Jr.hasOwnProperty(o))throw new e(`No such environment: `+o,a);var c=Jr[o],{args:l,optArgs:u}=r.parseArguments(`\\begin{`+o+`}`,c),d={mode:r.mode,envName:o,parser:r},f=c.handler(d,l,u);r.expect(`\\end`,!1);var p=r.nextToken,m=Q(r.parseFunction(),`environment`);if(m.name!==o)throw new e(`Mismatch: \\begin{`+o+`} matched by \\end{`+m.name+`}`,p);return f}return{type:`environment`,mode:r.mode,name:o,nameGroup:a}}});var Yr=(e,t)=>{var n=e.font,r=t.withFont(n);return J(e.body,r)},Xr=(e,t)=>{var n=e.font,r=t.withFont(n);return Z(e.body,r)},Zr={"\\Bbb":`\\mathbb`,"\\bold":`\\mathbf`,"\\frak":`\\mathfrak`,"\\bm":`\\boldsymbol`};G({type:`font`,names:[`\\mathrm`,`\\mathit`,`\\mathbf`,`\\mathnormal`,`\\mathsfit`,`\\mathbb`,`\\mathcal`,`\\mathfrak`,`\\mathscr`,`\\mathsf`,`\\mathtt`,`\\Bbb`,`\\bold`,`\\frak`],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=Kt(t[0]),a=r;return a in Zr&&(a=Zr[a]),{type:`font`,mode:n.mode,font:a.slice(1),body:i}},htmlBuilder:Yr,mathmlBuilder:Xr}),G({type:`mclass`,names:[`\\boldsymbol`,`\\bm`],props:{numArgs:1},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:`mclass`,mode:n.mode,mclass:zn(r),body:[{type:`font`,mode:n.mode,font:`boldsymbol`,body:r}],isCharacterBox:c(r)}}}),G({type:`font`,names:[`\\rm`,`\\sf`,`\\tt`,`\\bf`,`\\it`,`\\cal`],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r,breakOnTokenText:i}=e,{mode:a}=n,o=n.parseExpression(!0,i);return{type:`font`,mode:a,font:`math`+r.slice(1),body:{type:`ordgroup`,mode:n.mode,body:o}}},htmlBuilder:Yr,mathmlBuilder:Xr});var Qr=(e,t)=>{var n=t.style,r=n.fracNum(),i=n.fracDen(),a=t.havingStyle(r),o=J(e.numer,a,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,c=3.5/t.fontMetrics().ptPerEm;o.height=o.height<s?s:o.height,o.depth=o.depth<c?c:o.depth}a=t.havingStyle(i);var l=J(e.denom,a,t),u,d,f;e.hasBarLine?(e.barSize?(d=E(e.barSize,t),u=Ot(`frac-line`,t,d)):u=Ot(`frac-line`,t),d=u.height,f=u.height):(u=null,d=0,f=t.fontMetrics().defaultRuleThickness);var p,m,h;n.size===T.DISPLAY.size?(p=t.fontMetrics().num1,m=d>0?3*f:7*f,h=t.fontMetrics().denom1):(d>0?(p=t.fontMetrics().num2,m=f):(p=t.fontMetrics().num3,m=3*f),h=t.fontMetrics().denom2);var g;if(u){var _=t.fontMetrics().axisHeight;p-o.depth-(_+.5*d)<m&&(p+=m-(p-o.depth-(_+.5*d))),_-.5*d-(l.height-h)<m&&(h+=m-(_-.5*d-(l.height-h)));var v=-(_-.5*d);g=U({positionType:`individualShift`,children:[{type:`elem`,elem:l,shift:h},{type:`elem`,elem:u,shift:v},{type:`elem`,elem:o,shift:-p}]})}else{var y=p-o.depth-(l.height-h);y<m&&(p+=.5*(m-y),h+=.5*(m-y)),g=U({positionType:`individualShift`,children:[{type:`elem`,elem:l,shift:h},{type:`elem`,elem:o,shift:-p}]})}a=t.havingStyle(n),g.height*=a.sizeMultiplier/t.sizeMultiplier,g.depth*=a.sizeMultiplier/t.sizeMultiplier;var b=n.size===T.DISPLAY.size?t.fontMetrics().delim1:n.size===T.SCRIPTSCRIPT.size?t.havingStyle(T.SCRIPT).fontMetrics().delim2:t.fontMetrics().delim2,x=e.leftDelim==null?tn(t,[`mopen`]):Tr(e.leftDelim,b,!0,t.havingStyle(n),e.mode,[`mopen`]),S=e.continued?H([]):e.rightDelim==null?tn(t,[`mclose`]):Tr(e.rightDelim,b,!0,t.havingStyle(n),e.mode,[`mclose`]);return H([`mord`].concat(a.sizingClasses(t)),[x,H([`mfrac`],[g]),S],t)},$r=(e,t)=>{var n=new Y(`mfrac`,[Z(e.numer,t),Z(e.denom,t)]);if(!e.hasBarLine)n.setAttribute(`linethickness`,`0px`);else if(e.barSize){var r=E(e.barSize,t);n.setAttribute(`linethickness`,D(r))}if(e.leftDelim!=null||e.rightDelim!=null){var i=[];if(e.leftDelim!=null){var a=new Y(`mo`,[new X(e.leftDelim.replace(`\\`,``))]);a.setAttribute(`fence`,`true`),i.push(a)}if(i.push(n),e.rightDelim!=null){var o=new Y(`mo`,[new X(e.rightDelim.replace(`\\`,``))]);o.setAttribute(`fence`,`true`),i.push(o)}return un(i)}return n},ei=(e,t)=>t?{type:`styling`,mode:e.mode,style:t,body:[e]}:e;G({type:`genfrac`,names:[`\\cfrac`,`\\dfrac`,`\\frac`,`\\tfrac`,`\\dbinom`,`\\binom`,`\\tbinom`,`\\\\atopfrac`,`\\\\bracefrac`,`\\\\brackfrac`],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0],a=t[1],o,s=null,c=null;switch(r){case`\\cfrac`:case`\\dfrac`:case`\\frac`:case`\\tfrac`:o=!0;break;case`\\\\atopfrac`:o=!1;break;case`\\dbinom`:case`\\binom`:case`\\tbinom`:o=!1,s=`(`,c=`)`;break;case`\\\\bracefrac`:o=!1,s=`\\{`,c=`\\}`;break;case`\\\\brackfrac`:o=!1,s=`[`,c=`]`;break;default:throw Error(`Unrecognized genfrac command`)}var l=r===`\\cfrac`,u=null;return l||r.startsWith(`\\d`)?u=`display`:r.startsWith(`\\t`)&&(u=`text`),ei({type:`genfrac`,mode:n.mode,numer:i,denom:a,continued:l,hasBarLine:o,leftDelim:s,rightDelim:c,barSize:null},u)},htmlBuilder:Qr,mathmlBuilder:$r}),G({type:`infix`,names:[`\\over`,`\\choose`,`\\atop`,`\\brace`,`\\brack`],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:n,token:r}=e,i;switch(n){case`\\over`:i=`\\frac`;break;case`\\choose`:i=`\\binom`;break;case`\\atop`:i=`\\\\atopfrac`;break;case`\\brace`:i=`\\\\bracefrac`;break;case`\\brack`:i=`\\\\brackfrac`;break;default:throw Error(`Unrecognized infix genfrac command`)}return{type:`infix`,mode:t.mode,replaceWith:i,token:r}}});var ti=[`display`,`text`,`script`,`scriptscript`],ni=function(e){var t=null;return e.length>0&&(t=e,t=t===`.`?null:t),t};G({type:`genfrac`,names:[`\\genfrac`],props:{numArgs:6,allowedInArgument:!0,argTypes:[`math`,`math`,`size`,`text`,`math`,`math`]},handler(e,t){var{parser:n}=e,r=t[4],i=t[5],a=Kt(t[0]),o=a.type===`atom`&&a.family===`open`?ni(a.text):null,s=Kt(t[1]),c=s.type===`atom`&&s.family===`close`?ni(s.text):null,l=Q(t[2],`size`),u,d=null;l.isBlank?u=!0:(d=l.value,u=d.number>0);var f=null,p=t[3];if(p.type===`ordgroup`){if(p.body.length>0){var m=Q(p.body[0],`textord`);f=ti[Number(m.text)]}}else p=Q(p,`textord`),f=ti[Number(p.text)];return ei({type:`genfrac`,mode:n.mode,numer:r,denom:i,continued:!1,hasBarLine:u,barSize:d,leftDelim:o,rightDelim:c},f)}}),G({type:`infix`,names:[`\\above`],props:{numArgs:1,argTypes:[`size`],infix:!0},handler(e,t){var{parser:n,funcName:r,token:i}=e;return{type:`infix`,mode:n.mode,replaceWith:`\\\\abovefrac`,size:Q(t[0],`size`).value,token:i}}}),G({type:`genfrac`,names:[`\\\\abovefrac`],props:{numArgs:3,argTypes:[`math`,`size`,`math`]},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0],a=Q(t[1],`infix`).size;if(!a)throw Error(`\\\\abovefrac expected size, but got `+String(a));var o=t[2],s=a.number>0;return{type:`genfrac`,mode:n.mode,numer:i,denom:o,continued:!1,hasBarLine:s,barSize:a,leftDelim:null,rightDelim:null}}});var ri=(e,t)=>{var n=t.style,r,i;e.type===`supsub`?(r=e.sup?J(e.sup,t.havingStyle(n.sup()),t):J(e.sub,t.havingStyle(n.sub()),t),i=Q(e.base,`horizBrace`)):i=Q(e,`horizBrace`);var a=J(i.base,t.havingBaseStyle(T.DISPLAY)),o=On(i,t),s;if(i.isOver?(s=U({positionType:`firstBaseline`,children:[{type:`elem`,elem:a},{type:`kern`,size:.1},{type:`elem`,elem:o}]}),s.children[0].children[0].children[1].classes.push(`svg-align`)):(s=U({positionType:`bottom`,positionData:a.depth+.1+o.height,children:[{type:`elem`,elem:o},{type:`kern`,size:.1},{type:`elem`,elem:a}]}),s.children[0].children[0].children[0].classes.push(`svg-align`)),r){var c=H([`minner`,i.isOver?`mover`:`munder`],[s],t);s=i.isOver?U({positionType:`firstBaseline`,children:[{type:`elem`,elem:c},{type:`kern`,size:.2},{type:`elem`,elem:r}]}):U({positionType:`bottom`,positionData:c.depth+.2+r.height+r.depth,children:[{type:`elem`,elem:r},{type:`kern`,size:.2},{type:`elem`,elem:c}]})}return H([`minner`,i.isOver?`mover`:`munder`],[s],t)};G({type:`horizBrace`,names:[`\\overbrace`,`\\underbrace`,`\\overbracket`,`\\underbracket`],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:`horizBrace`,mode:n.mode,label:r,isOver:r.includes(`\\over`),base:t[0]}},htmlBuilder:ri,mathmlBuilder:(e,t)=>{var n=Tn(e.label);return new Y(e.isOver?`mover`:`munder`,[Z(e.base,t),n])}}),G({type:`href`,names:[`\\href`],props:{numArgs:2,argTypes:[`url`,`original`],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[1],i=Q(t[0],`url`).url;return n.settings.isTrusted({command:`\\href`,url:i})?{type:`href`,mode:n.mode,href:i,body:K(r)}:n.formatUnsupportedCmd(`\\href`)},htmlBuilder:(e,t)=>{var n=q(e.body,t,!1);return kt(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=mn(e.body,t);return n instanceof Y||(n=new Y(`mrow`,[n])),n.setAttribute(`href`,e.href),n}}),G({type:`href`,names:[`\\url`],props:{numArgs:1,argTypes:[`url`],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=Q(t[0],`url`).url;if(!n.settings.isTrusted({command:`\\url`,url:r}))return n.formatUnsupportedCmd(`\\url`);for(var i=[],a=0;a<r.length;a++){var o=r[a];o===`~`&&(o=`\\textasciitilde`),i.push({type:`textord`,mode:`text`,text:o})}var s={type:`text`,mode:n.mode,font:`\\texttt`,body:i};return{type:`href`,mode:n.mode,href:r,body:K(s)}}}),G({type:`hbox`,names:[`\\hbox`],props:{numArgs:1,argTypes:[`text`],allowedInText:!0,primitive:!0},handler(e,t){var{parser:n}=e;return{type:`hbox`,mode:n.mode,body:K(t[0])}},htmlBuilder(e,t){return At(q(e.body,t,!1))},mathmlBuilder(e,t){return new Y(`mrow`,pn(e.body,t))}}),G({type:`html`,names:[`\\htmlClass`,`\\htmlId`,`\\htmlStyle`,`\\htmlData`],props:{numArgs:2,argTypes:[`raw`,`original`],allowedInText:!0},handler:(t,n)=>{var{parser:r,funcName:i,token:a}=t,o=Q(n[0],`raw`).string,s=n[1];r.settings.strict&&r.settings.reportNonstrict(`htmlExtension`,`HTML extension is disabled on strict mode`);var c,l={};switch(i){case`\\htmlClass`:l.class=o,c={command:`\\htmlClass`,class:o};break;case`\\htmlId`:l.id=o,c={command:`\\htmlId`,id:o};break;case`\\htmlStyle`:l.style=o,c={command:`\\htmlStyle`,style:o};break;case`\\htmlData`:for(var u=o.split(`,`),d=0;d<u.length;d++){var f=u[d],p=f.indexOf(`=`);if(p<0)throw new e(`\\htmlData key/value '`+f+`' missing equals sign`);var m=f.slice(0,p),h=f.slice(p+1);l[`data-`+m.trim()]=h}c={command:`\\htmlData`,attributes:l};break;default:throw Error(`Unrecognized html command`)}return r.settings.isTrusted(c)?{type:`html`,mode:r.mode,attributes:l,body:K(s)}:r.formatUnsupportedCmd(i)},htmlBuilder:(e,t)=>{var n=q(e.body,t,!1),r=[`enclosing`];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));var i=H(r,n,t);for(var a in e.attributes)a!==`class`&&e.attributes.hasOwnProperty(a)&&i.setAttribute(a,e.attributes[a]);return i},mathmlBuilder:(e,t)=>mn(e.body,t)}),G({type:`htmlmathml`,names:[`\\html@mathml`],props:{numArgs:2,allowedInArgument:!0,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e;return{type:`htmlmathml`,mode:n.mode,html:K(t[0]),mathml:K(t[1])}},htmlBuilder:(e,t)=>At(q(e.html,t,!1)),mathmlBuilder:(e,t)=>mn(e.mathml,t)});var ii=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:`bp`};var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!n)throw new e(`Invalid size: '`+t+`' in \\includegraphics`);var r={number:+(n[1]+n[2]),unit:n[3]};if(!Ce(r))throw new e(`Invalid unit: '`+r.unit+`' in \\includegraphics.`);return r};G({type:`includegraphics`,names:[`\\includegraphics`],props:{numArgs:1,numOptionalArgs:1,argTypes:[`raw`,`url`],allowedInText:!1},handler:(t,n,r)=>{var{parser:i}=t,a={number:0,unit:`em`},o={number:.9,unit:`em`},s={number:0,unit:`em`},c=``;if(r[0])for(var l=Q(r[0],`raw`).string.split(`,`),u=0;u<l.length;u++){var d=l[u].split(`=`);if(d.length===2){var f=d[1].trim();switch(d[0].trim()){case`alt`:c=f;break;case`width`:a=ii(f);break;case`height`:o=ii(f);break;case`totalheight`:s=ii(f);break;default:throw new e(`Invalid key: '`+d[0]+`' in \\includegraphics.`)}}}var p=Q(n[0],`url`).url;return c===``&&(c=p,c=c.replace(/^.*[\\/]/,``),c=c.substring(0,c.lastIndexOf(`.`))),i.settings.isTrusted({command:`\\includegraphics`,url:p})?{type:`includegraphics`,mode:i.mode,alt:c,width:a,height:o,totalheight:s,src:p}:i.formatUnsupportedCmd(`\\includegraphics`)},htmlBuilder:(e,t)=>{var n=E(e.height,t),r=0;e.totalheight.number>0&&(r=E(e.totalheight,t)-n);var i=0;e.width.number>0&&(i=E(e.width,t));var a={height:D(n+r)};i>0&&(a.width=D(i)),r>0&&(a.verticalAlign=D(-r));var o=new je(e.src,e.alt,a);return o.height=n,o.depth=r,o},mathmlBuilder:(e,t)=>{var n=new Y(`mglyph`,[]);n.setAttribute(`alt`,e.alt);var r=E(e.height,t),i=0;if(e.totalheight.number>0&&(i=E(e.totalheight,t)-r,n.setAttribute(`valign`,D(-i))),n.setAttribute(`height`,D(r+i)),e.width.number>0){var a=E(e.width,t);n.setAttribute(`width`,D(a))}return n.setAttribute(`src`,e.src),n}}),G({type:`kern`,names:[`\\kern`,`\\mkern`,`\\hskip`,`\\mskip`],props:{numArgs:1,argTypes:[`size`],primitive:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,i=Q(t[0],`size`);if(n.settings.strict){var a=r[1]===`m`,o=i.value.unit===`mu`;a?(o||n.settings.reportNonstrict(`mathVsTextUnits`,`LaTeX's `+r+` supports only mu units, `+(`not `+i.value.unit+` units`)),n.mode!==`math`&&n.settings.reportNonstrict(`mathVsTextUnits`,`LaTeX's `+r+` works only in math mode`)):o&&n.settings.reportNonstrict(`mathVsTextUnits`,`LaTeX's `+r+` doesn't support mu units`)}return{type:`kern`,mode:n.mode,dimension:i.value}},htmlBuilder(e,t){return Nt(e.dimension,t)},mathmlBuilder(e,t){return new on(E(e.dimension,t))}}),G({type:`lap`,names:[`\\mathllap`,`\\mathrlap`,`\\mathclap`],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:`lap`,mode:n.mode,alignment:r.slice(5),body:i}},htmlBuilder:(e,t)=>{var n;e.alignment===`clap`?(n=H([],[J(e.body,t)]),n=H([`inner`],[n],t)):n=H([`inner`],[J(e.body,t)]);var r=H([`fix`],[]),i=H([e.alignment],[n,r],t),a=H([`strut`]);return a.style.height=D(i.height+i.depth),i.depth&&(a.style.verticalAlign=D(-i.depth)),i.children.unshift(a),i=H([`thinbox`],[i],t),H([`mord`,`vbox`],[i],t)},mathmlBuilder:(e,t)=>{var n=new Y(`mpadded`,[Z(e.body,t)]);if(e.alignment!==`rlap`){var r=e.alignment===`llap`?`-1`:`-0.5`;n.setAttribute(`lspace`,r+`width`)}return n.setAttribute(`width`,`0px`),n}}),G({type:`styling`,names:[`\\(`,`$`],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:n,parser:r}=e,i=r.mode;r.switchMode(`math`);var a=n===`\\(`?`\\)`:`$`,o=r.parseExpression(!1,a);return r.expect(a),r.switchMode(i),{type:`styling`,mode:r.mode,style:`text`,body:o}}}),G({type:`text`,names:[`\\)`,`\\]`],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,n){throw new e(`Mismatched `+t.funcName)}});var ai=(e,t)=>{switch(t.style.size){case T.DISPLAY.size:return e.display;case T.TEXT.size:return e.text;case T.SCRIPT.size:return e.script;case T.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};G({type:`mathchoice`,names:[`\\mathchoice`],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:n}=e;return{type:`mathchoice`,mode:n.mode,display:K(t[0]),text:K(t[1]),script:K(t[2]),scriptscript:K(t[3])}},htmlBuilder:(e,t)=>At(q(ai(e,t),t,!1)),mathmlBuilder:(e,t)=>mn(ai(e,t),t)});var oi=(e,t,n,r,i,a,o)=>{e=H([],[e]);var s=n&&c(n),l,u;if(t){var d=J(t,r.havingStyle(i.sup()),r);u={elem:d,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-d.depth)}}if(n){var f=J(n,r.havingStyle(i.sub()),r);l={elem:f,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-f.height)}}var p;if(u&&l)p=U({positionType:`bottom`,positionData:r.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+o,children:[{type:`kern`,size:r.fontMetrics().bigOpSpacing5},{type:`elem`,elem:l.elem,marginLeft:D(-a)},{type:`kern`,size:l.kern},{type:`elem`,elem:e},{type:`kern`,size:u.kern},{type:`elem`,elem:u.elem,marginLeft:D(a)},{type:`kern`,size:r.fontMetrics().bigOpSpacing5}]});else if(l)p=U({positionType:`top`,positionData:e.height-o,children:[{type:`kern`,size:r.fontMetrics().bigOpSpacing5},{type:`elem`,elem:l.elem,marginLeft:D(-a)},{type:`kern`,size:l.kern},{type:`elem`,elem:e}]});else if(u)p=U({positionType:`bottom`,positionData:e.depth+o,children:[{type:`elem`,elem:e},{type:`kern`,size:u.kern},{type:`elem`,elem:u.elem,marginLeft:D(a)},{type:`kern`,size:r.fontMetrics().bigOpSpacing5}]});else return e;var m=[p];if(l&&a!==0&&!s){var h=H([`mspace`],[],r);h.style.marginRight=D(a),m.unshift(h)}return H([`mop`,`op-limits`],m,r)},si=new Set([`\\smallint`]),ci=(e,t)=>{var n,r,i=!1,a;e.type===`supsub`?(n=e.sup,r=e.sub,a=Q(e.base,`op`),i=!0):a=Q(e,`op`);var o=t.style,s=!1;o.size===T.DISPLAY.size&&a.symbol&&!si.has(a.name)&&(s=!0);var c;if(a.symbol){var l=s?`Size2-Regular`:`Size1-Regular`,u=``;if((a.name===`\\oiint`||a.name===`\\oiiint`)&&(u=a.name.slice(1),a.name=u===`oiint`?`\\iint`:`\\iiint`),c=bt(a.name,l,`math`,t,[`mop`,`op-symbol`,s?`large-op`:`small-op`]),u.length>0){var d=c.italic,f=Lt(u+`Size`+(s?`2`:`1`),t);c=U({positionType:`individualShift`,children:[{type:`elem`,elem:c,shift:0},{type:`elem`,elem:f,shift:s?.08:0}]}),a.name=`\\`+u,c.classes.unshift(`mop`),c.italic=d}}else if(a.body){var p=q(a.body,t,!0);p.length===1&&p[0]instanceof Ne?(c=p[0],c.classes[0]=`mop`):c=H([`mop`],p,t)}else{for(var m=[],h=1;h<a.name.length;h++)m.push(xt(a.name[h],a.mode,t));c=H([`mop`],m,t)}var g=0,_=0;return(c instanceof Ne||a.name===`\\oiint`||a.name===`\\oiiint`)&&!a.suppressBaseShift&&(g=(c.height-c.depth)/2-t.fontMetrics().axisHeight,_=c.italic||0),i?oi(c,n,r,t,o,_,g):(g&&(c.style.position=`relative`,c.style.top=D(g)),c)},li=(e,t)=>{var n;if(e.symbol)n=new Y(`mo`,[ln(e.name,e.mode)]),si.has(e.name)&&n.setAttribute(`largeop`,`false`);else if(e.body)n=new Y(`mo`,pn(e.body,t));else{n=new Y(`mi`,[new X(e.name.slice(1))]);var r=new Y(`mo`,[ln(`⁡`,`text`)]);n=e.parentIsSupSub?new Y(`mrow`,[n,r]):an([n,r])}return n},ui={"∏":`\\prod`,"∐":`\\coprod`,"∑":`\\sum`,"⋀":`\\bigwedge`,"⋁":`\\bigvee`,"⋂":`\\bigcap`,"⋃":`\\bigcup`,"⨀":`\\bigodot`,"⨁":`\\bigoplus`,"⨂":`\\bigotimes`,"⨄":`\\biguplus`,"⨆":`\\bigsqcup`};G({type:`op`,names:`\\coprod.\\bigvee.\\bigwedge.\\biguplus.\\bigcap.\\bigcup.\\intop.\\prod.\\sum.\\bigotimes.\\bigoplus.\\bigodot.\\bigsqcup.\\smallint.∏.∐.∑.⋀.⋁.⋂.⋃.⨀.⨁.⨂.⨄.⨆`.split(`.`),props:{numArgs:0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=r;return i.length===1&&(i=ui[i]),{type:`op`,mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:ci,mathmlBuilder:li}),G({type:`op`,names:[`\\mathop`],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:`op`,mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:K(r)}},htmlBuilder:ci,mathmlBuilder:li});var di={"∫":`\\int`,"∬":`\\iint`,"∭":`\\iiint`,"∮":`\\oint`,"∯":`\\oiint`,"∰":`\\oiiint`};G({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`.split(`.`),props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:`op`,mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:ci,mathmlBuilder:li}),G({type:`op`,names:[`\\det`,`\\gcd`,`\\inf`,`\\lim`,`\\max`,`\\min`,`\\Pr`,`\\sup`],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:`op`,mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:ci,mathmlBuilder:li}),G({type:`op`,names:[`\\int`,`\\iint`,`\\iiint`,`\\oint`,`\\oiint`,`\\oiiint`,`∫`,`∬`,`∭`,`∮`,`∯`,`∰`],props:{numArgs:0,allowedInArgument:!0},handler(e){var{parser:t,funcName:n}=e,r=n;return r.length===1&&(r=di[r]),{type:`op`,mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:ci,mathmlBuilder:li});var fi=(e,t)=>{var n,r,i=!1,a;e.type===`supsub`?(n=e.sup,r=e.sub,a=Q(e.base,`operatorname`),i=!0):a=Q(e,`operatorname`);var o;if(a.body.length>0){for(var s=q(a.body.map(e=>{var t=`text`in e?e.text:void 0;return typeof t==`string`?{type:`textord`,mode:e.mode,text:t}:e}),t.withFont(`mathrm`),!0),c=0;c<s.length;c++){var l=s[c];l instanceof Ne&&(l.text=l.text.replace(/\u2212/,`-`).replace(/\u2217/,`*`))}o=H([`mop`],s,t)}else o=H([`mop`],[],t);return i?oi(o,n,r,t,t.style,0,0):o};G({type:`operatorname`,names:[`\\operatorname@`,`\\operatornamewithlimits`],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:`operatorname`,mode:n.mode,body:K(i),alwaysHandleSupSub:r===`\\operatornamewithlimits`,limits:!1,parentIsSupSub:!1}},htmlBuilder:fi,mathmlBuilder:(e,t)=>{for(var n=pn(e.body,t.withFont(`mathrm`)),r=!0,i=0;i<n.length;i++){var a=n[i];if(!(a instanceof on))if(a instanceof Y)switch(a.type){case`mi`:case`mn`:case`mspace`:case`mtext`:break;case`mo`:var o=a.children[0];a.children.length===1&&o instanceof X?o.text=o.text.replace(/\u2212/,`-`).replace(/\u2217/,`*`):r=!1;break;default:r=!1}else r=!1}r&&(n=[new X(n.map(e=>e.toText()).join(``))]);var s=new Y(`mi`,n);s.setAttribute(`mathvariant`,`normal`);var c=new Y(`mo`,[ln(`⁡`,`text`)]);return e.parentIsSupSub?new Y(`mrow`,[s,c]):an([s,c])}}),$(`\\operatorname`,`\\@ifstar\\operatornamewithlimits\\operatorname@`),Gt({type:`ordgroup`,htmlBuilder(e,t){return e.semisimple?At(q(e.body,t,!1)):H([`mord`],q(e.body,t,!0),t)},mathmlBuilder(e,t){return mn(e.body,t,!0)}}),G({type:`overline`,names:[`\\overline`],props:{numArgs:1},handler(e,t){var{parser:n}=e,r=t[0];return{type:`overline`,mode:n.mode,body:r}},htmlBuilder(e,t){var n=J(e.body,t.havingCrampedStyle()),r=Ot(`overline-line`,t),i=t.fontMetrics().defaultRuleThickness;return H([`mord`,`overline`],[U({positionType:`firstBaseline`,children:[{type:`elem`,elem:n},{type:`kern`,size:3*i},{type:`elem`,elem:r},{type:`kern`,size:i}]})],t)},mathmlBuilder(e,t){var n=new Y(`mo`,[new X(`‾`)]);n.setAttribute(`stretchy`,`true`);var r=new Y(`mover`,[Z(e.body,t),n]);return r.setAttribute(`accent`,`true`),r}}),G({type:`phantom`,names:[`\\phantom`],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:`phantom`,mode:n.mode,body:K(r)}},htmlBuilder:(e,t)=>At(q(e.body,t.withPhantom(),!1)),mathmlBuilder:(e,t)=>new Y(`mphantom`,pn(e.body,t))}),$(`\\hphantom`,`\\smash{\\phantom{#1}}`),G({type:`vphantom`,names:[`\\vphantom`],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:`vphantom`,mode:n.mode,body:r}},htmlBuilder:(e,t)=>H([`mord`,`rlap`],[H([`inner`],[J(e.body,t.withPhantom())]),H([`fix`],[])],t),mathmlBuilder:(e,t)=>{var n=new Y(`mpadded`,[new Y(`mphantom`,pn(K(e.body),t))]);return n.setAttribute(`width`,`0px`),n}}),G({type:`raisebox`,names:[`\\raisebox`],props:{numArgs:2,argTypes:[`size`,`hbox`],allowedInText:!0},handler(e,t){var{parser:n}=e,r=Q(t[0],`size`).value,i=t[1];return{type:`raisebox`,mode:n.mode,dy:r,body:i}},htmlBuilder(e,t){var n=J(e.body,t);return U({positionType:`shift`,positionData:-E(e.dy,t),children:[{type:`elem`,elem:n}]})},mathmlBuilder(e,t){var n=new Y(`mpadded`,[Z(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute(`voffset`,r),n}}),G({type:`internal`,names:[`\\relax`],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:`internal`,mode:t.mode}}}),G({type:`rule`,names:[`\\rule`],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:[`size`,`size`,`size`]},handler(e,t,n){var{parser:r}=e,i=n[0],a=Q(t[0],`size`),o=Q(t[1],`size`);return{type:`rule`,mode:r.mode,shift:i&&Q(i,`size`).value,width:a.value,height:o.value}},htmlBuilder(e,t){var n=H([`mord`,`rule`],[],t),r=E(e.width,t),i=E(e.height,t),a=e.shift?E(e.shift,t):0;return n.style.borderRightWidth=D(r),n.style.borderTopWidth=D(i),n.style.bottom=D(a),n.width=r,n.height=i+a,n.depth=-a,n.maxFontSize=i*1.125*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=E(e.width,t),r=E(e.height,t),i=e.shift?E(e.shift,t):0,a=t.color&&t.getColor()||`black`,o=new Y(`mspace`);o.setAttribute(`mathbackground`,a),o.setAttribute(`width`,D(n)),o.setAttribute(`height`,D(r));var s=new Y(`mpadded`,[o]);return i>=0?s.setAttribute(`height`,D(i)):(s.setAttribute(`height`,D(i)),s.setAttribute(`depth`,D(-i))),s.setAttribute(`voffset`,D(i)),s}});function pi(e,t,n){for(var r=q(e,t,!1),i=t.sizeMultiplier/n.sizeMultiplier,a=0;a<r.length;a++){var o=r[a].classes.indexOf(`sizing`);o<0?Array.prototype.push.apply(r[a].classes,t.sizingClasses(n)):r[a].classes[o+1]===`reset-size`+t.size&&(r[a].classes[o+1]=`reset-size`+n.size),r[a].height*=i,r[a].depth*=i}return At(r)}var mi=[`\\tiny`,`\\sixptsize`,`\\scriptsize`,`\\footnotesize`,`\\small`,`\\normalsize`,`\\large`,`\\Large`,`\\LARGE`,`\\huge`,`\\Huge`];G({type:`sizing`,names:mi,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:n,funcName:r,parser:i}=e,a=i.parseExpression(!1,n);return{type:`sizing`,mode:i.mode,size:mi.indexOf(r)+1,body:a}},htmlBuilder:(e,t)=>{var n=t.havingSize(e.size);return pi(e.body,n,t)},mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),r=new Y(`mstyle`,pn(e.body,n));return r.setAttribute(`mathsize`,D(n.sizeMultiplier)),r}}),G({type:`smash`,names:[`\\smash`],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{var{parser:r}=e,i=!1,a=!1,o=n[0]&&Q(n[0],`ordgroup`);if(o)for(var s=``,c=0;c<o.body.length;++c){var l=o.body[c];if(s=An(l).text,s===`t`)i=!0;else if(s===`b`)a=!0;else{i=!1,a=!1;break}}else i=!0,a=!0;var u=t[0];return{type:`smash`,mode:r.mode,body:u,smashHeight:i,smashDepth:a}},htmlBuilder:(e,t)=>{var n=H([],[J(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0),e.smashDepth&&(n.depth=0),e.smashHeight&&e.smashDepth)return H([`mord`,`smash`],[n],t);if(n.children)for(var r=0;r<n.children.length;r++)e.smashHeight&&(n.children[r].height=0),e.smashDepth&&(n.children[r].depth=0);return H([`mord`],[U({positionType:`firstBaseline`,children:[{type:`elem`,elem:n}]})],t)},mathmlBuilder:(e,t)=>{var n=new Y(`mpadded`,[Z(e.body,t)]);return e.smashHeight&&n.setAttribute(`height`,`0px`),e.smashDepth&&n.setAttribute(`depth`,`0px`),n}}),G({type:`sqrt`,names:[`\\sqrt`],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r}=e,i=n[0],a=t[0];return{type:`sqrt`,mode:r.mode,body:a,index:i}},htmlBuilder(e,t){var n=J(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=jt(n,t);var r=t.fontMetrics().defaultRuleThickness,i=r;t.style.id<T.TEXT.id&&(i=t.fontMetrics().xHeight);var a=r+i/4,{span:o,ruleWidth:s,advanceWidth:c}=mr(n.height+n.depth+a+r,t),l=o.height-s;l>n.height+n.depth+a&&(a=(a+l-n.height-n.depth)/2);var u=o.height-n.height-a-s;n.style.paddingLeft=D(c);var d=U({positionType:`firstBaseline`,children:[{type:`elem`,elem:n,wrapperClasses:[`svg-align`]},{type:`kern`,size:-(n.height+u)},{type:`elem`,elem:o},{type:`kern`,size:s}]});if(e.index){var f=t.havingStyle(T.SCRIPTSCRIPT),p=J(e.index,f,t);return H([`mord`,`sqrt`],[H([`root`],[U({positionType:`shift`,positionData:-(.6*(d.height-d.depth)),children:[{type:`elem`,elem:p}]})]),d],t)}else return H([`mord`,`sqrt`],[d],t)},mathmlBuilder(e,t){var{body:n,index:r}=e;return r?new Y(`mroot`,[Z(n,t),Z(r,t)]):new Y(`msqrt`,[Z(n,t)])}});var hi={display:T.DISPLAY,text:T.TEXT,script:T.SCRIPT,scriptscript:T.SCRIPTSCRIPT};G({type:`styling`,names:[`\\displaystyle`,`\\textstyle`,`\\scriptstyle`,`\\scriptscriptstyle`],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:n,funcName:r,parser:i}=e,a=i.parseExpression(!0,n),o=r.slice(1,r.length-5);return{type:`styling`,mode:i.mode,style:o,body:a}},htmlBuilder(e,t){var n=hi[e.style],r=t.havingStyle(n).withFont(``);return pi(e.body,r,t)},mathmlBuilder(e,t){var n=hi[e.style],r=t.havingStyle(n),i=new Y(`mstyle`,pn(e.body,r)),a={display:[`0`,`true`],text:[`0`,`false`],script:[`1`,`false`],scriptscript:[`2`,`false`]}[e.style];return i.setAttribute(`scriptlevel`,a[0]),i.setAttribute(`displaystyle`,a[1]),i}});var gi=function(e,t){var n=e.base;return n?n.type===`op`?n.limits&&(t.style.size===T.DISPLAY.size||n.alwaysHandleSupSub)?ci:null:n.type===`operatorname`?n.alwaysHandleSupSub&&(t.style.size===T.DISPLAY.size||n.limits)?fi:null:n.type===`accent`?c(n.base)?Nn:null:n.type===`horizBrace`&&!e.sub===n.isOver?ri:null:null};Gt({type:`supsub`,htmlBuilder(e,t){var n=gi(e,t);if(n)return n(e,t);var{base:r,sup:i,sub:a}=e,o=J(r,t),s,l,u=t.fontMetrics(),d=0,f=0,p=r&&c(r);if(i){var m=t.havingStyle(t.style.sup());s=J(i,m,t),p||(d=o.height-m.fontMetrics().supDrop*m.sizeMultiplier/t.sizeMultiplier)}if(a){var h=t.havingStyle(t.style.sub());l=J(a,h,t),p||(f=o.depth+h.fontMetrics().subDrop*h.sizeMultiplier/t.sizeMultiplier)}var g=t.style===T.DISPLAY?u.sup1:t.style.cramped?u.sup3:u.sup2,_=t.sizeMultiplier,v=D(.5/u.ptPerEm/_),y=null;if(l){var b=e.base&&e.base.type===`op`&&e.base.name&&(e.base.name===`\\oiint`||e.base.name===`\\oiiint`);(o instanceof Ne||b)&&(y=D(-o.italic))}var x;if(s&&l){d=Math.max(d,g,s.depth+.25*u.xHeight),f=Math.max(f,u.sub2);var S=4*u.defaultRuleThickness;if(d-s.depth-(l.height-f)<S){f=S-(d-s.depth)+l.height;var C=.8*u.xHeight-(d-s.depth);C>0&&(d+=C,f-=C)}x=U({positionType:`individualShift`,children:[{type:`elem`,elem:l,shift:f,marginRight:v,marginLeft:y},{type:`elem`,elem:s,shift:-d,marginRight:v}]})}else if(l)f=Math.max(f,u.sub1,l.height-.8*u.xHeight),x=U({positionType:`shift`,positionData:f,children:[{type:`elem`,elem:l,marginLeft:y,marginRight:v}]});else if(s)d=Math.max(d,g,s.depth+.25*u.xHeight),x=U({positionType:`shift`,positionData:-d,children:[{type:`elem`,elem:s,marginRight:v}]});else throw Error(`supsub must have either sup or sub.`);return H([en(o,`right`)||`mord`],[o,H([`msupsub`],[x])],t)},mathmlBuilder(e,t){var n=!1,r,i;e.base&&e.base.type===`horizBrace`&&(i=!!e.sup,i===e.base.isOver&&(n=!0,r=e.base.isOver)),e.base&&(e.base.type===`op`||e.base.type===`operatorname`)&&(e.base.parentIsSupSub=!0);var a=[Z(e.base,t)];e.sub&&a.push(Z(e.sub,t)),e.sup&&a.push(Z(e.sup,t));var o;if(n)o=r?`mover`:`munder`;else if(!e.sub){var s=e.base;o=s&&s.type===`op`&&s.limits&&(t.style===T.DISPLAY||s.alwaysHandleSupSub)||s&&s.type===`operatorname`&&s.alwaysHandleSupSub&&(s.limits||t.style===T.DISPLAY)?`mover`:`msup`}else if(e.sup){var c=e.base;o=c&&c.type===`op`&&c.limits&&t.style===T.DISPLAY||c&&c.type===`operatorname`&&c.alwaysHandleSupSub&&(t.style===T.DISPLAY||c.limits)?`munderover`:`msubsup`}else{var l=e.base;o=l&&l.type===`op`&&l.limits&&(t.style===T.DISPLAY||l.alwaysHandleSupSub)||l&&l.type===`operatorname`&&l.alwaysHandleSupSub&&(l.limits||t.style===T.DISPLAY)?`munder`:`msub`}return new Y(o,a)}}),Gt({type:`atom`,htmlBuilder(e,t){return xt(e.text,e.mode,t,[`m`+e.family])},mathmlBuilder(e,t){var n=new Y(`mo`,[ln(e.text,e.mode)]);if(e.family===`bin`){var r=dn(e,t);r===`bold-italic`&&n.setAttribute(`mathvariant`,r)}else e.family===`punct`?n.setAttribute(`separator`,`true`):(e.family===`open`||e.family===`close`)&&n.setAttribute(`stretchy`,`false`);return n}});var _i={mi:`italic`,mn:`normal`,mtext:`normal`};Gt({type:`mathord`,htmlBuilder(e,t){return Ct(e,t,`mathord`)},mathmlBuilder(e,t){var n=new Y(`mi`,[ln(e.text,e.mode,t)]),r=dn(e,t)||`italic`;return r!==_i[n.type]&&n.setAttribute(`mathvariant`,r),n}}),Gt({type:`textord`,htmlBuilder(e,t){return Ct(e,t,`textord`)},mathmlBuilder(e,t){var n=ln(e.text,e.mode,t),r=dn(e,t)||`normal`,i=e.mode===`text`?new Y(`mtext`,[n]):/[0-9]/.test(e.text)?new Y(`mn`,[n]):e.text===`\\prime`?new Y(`mo`,[n]):new Y(`mi`,[n]);return r!==_i[i.type]&&i.setAttribute(`mathvariant`,r),i}});var vi={"\\nobreak":`nobreak`,"\\allowbreak":`allowbreak`},yi={" ":{},"\\ ":{},"~":{className:`nobreak`},"\\space":{},"\\nobreakspace":{className:`nobreak`}};Gt({type:`spacing`,htmlBuilder(t,n){if(yi.hasOwnProperty(t.text)){var r=yi[t.text].className||``;if(t.mode===`text`){var i=Ct(t,n,`textord`);return i.classes.push(r),i}else return H([`mspace`,r],[xt(t.text,t.mode,n)],n)}else if(vi.hasOwnProperty(t.text))return H([`mspace`,vi[t.text]],[],n);else throw new e(`Unknown type of space "`+t.text+`"`)},mathmlBuilder(t,n){var r;if(yi.hasOwnProperty(t.text))r=new Y(`mtext`,[new X(`\xA0`)]);else if(vi.hasOwnProperty(t.text))return new Y(`mspace`);else throw new e(`Unknown type of space "`+t.text+`"`);return r}});var bi=()=>{var e=new Y(`mtd`,[]);return e.setAttribute(`width`,`50%`),e};Gt({type:`tag`,mathmlBuilder(e,t){var n=new Y(`mtable`,[new Y(`mtr`,[bi(),new Y(`mtd`,[mn(e.body,t)]),bi(),new Y(`mtd`,[mn(e.tag,t)])])]);return n.setAttribute(`width`,`100%`),n}});var xi={"\\text":void 0,"\\textrm":`textrm`,"\\textsf":`textsf`,"\\texttt":`texttt`,"\\textnormal":`textrm`},Si={"\\textbf":`textbf`,"\\textmd":`textmd`},Ci={"\\textit":`textit`,"\\textup":`textup`},wi=(e,t)=>{var n=e.font;return n?xi[n]?t.withTextFontFamily(xi[n]):Si[n]?t.withTextFontWeight(Si[n]):n===`\\emph`?t.fontShape===`textit`?t.withTextFontShape(`textup`):t.withTextFontShape(`textit`):t.withTextFontShape(Ci[n]):t};G({type:`text`,names:[`\\text`,`\\textrm`,`\\textsf`,`\\texttt`,`\\textnormal`,`\\textbf`,`\\textmd`,`\\textit`,`\\textup`,`\\emph`],props:{numArgs:1,argTypes:[`text`],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:`text`,mode:n.mode,body:K(i),font:r}},htmlBuilder(e,t){var n=wi(e,t);return H([`mord`,`text`],q(e.body,n,!0),n)},mathmlBuilder(e,t){var n=wi(e,t);return mn(e.body,n)}}),G({type:`underline`,names:[`\\underline`],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:`underline`,mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=J(e.body,t),r=Ot(`underline-line`,t),i=t.fontMetrics().defaultRuleThickness;return H([`mord`,`underline`],[U({positionType:`top`,positionData:n.height,children:[{type:`kern`,size:i},{type:`elem`,elem:r},{type:`kern`,size:3*i},{type:`elem`,elem:n}]})],t)},mathmlBuilder(e,t){var n=new Y(`mo`,[new X(`‾`)]);n.setAttribute(`stretchy`,`true`);var r=new Y(`munder`,[Z(e.body,t),n]);return r.setAttribute(`accentunder`,`true`),r}}),G({type:`vcenter`,names:[`\\vcenter`],props:{numArgs:1,argTypes:[`original`],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:`vcenter`,mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=J(e.body,t),r=t.fontMetrics().axisHeight;return U({positionType:`shift`,positionData:.5*(n.height-r-(n.depth+r)),children:[{type:`elem`,elem:n}]})},mathmlBuilder(e,t){return new Y(`mpadded`,[Z(e.body,t)],[`vcenter`])}}),G({type:`verb`,names:[`\\verb`],props:{numArgs:0,allowedInText:!0},handler(t,n,r){throw new e(`\\verb ended by end of line instead of matching delimiter`)},htmlBuilder(e,t){for(var n=Ti(e),r=[],i=t.havingStyle(t.style.text()),a=0;a<n.length;a++){var o=n[a];o===`~`&&(o=`\\textasciitilde`),r.push(bt(o,`Typewriter-Regular`,e.mode,i,[`mord`,`texttt`]))}return H([`mord`,`text`].concat(i.sizingClasses(t)),Tt(r),i)},mathmlBuilder(e,t){var n=new Y(`mtext`,[new X(Ti(e))]);return n.setAttribute(`mathvariant`,`monospace`),n}});var Ti=e=>e.body.replace(/ /g,e.star?`␣`:`\xA0`),Ei=Ht,Di=`[ \r
260
+ `+g+` children.`);for(var b=0;b<g;b++){var x=new Pe([new Fe(f[b])],{width:`400em`,height:D(h),viewBox:`0 0 `+n+` `+m,preserveAspectRatio:v[b]+` slice`}),S=Dt([_[b]],[x],t);if(g===1)return{span:S,minWidth:p,height:h};S.style.height=D(h),u.push(S)}return{span:H([`stretchy`],u,t),minWidth:p,height:h}}}var{span:r,minWidth:i,height:a}=n();return r.height=a,r.style.height=D(a),i>0&&(r.style.minWidth=D(i)),r},kn=function(e,t,n,r,i){var a,o=e.height+e.depth+n+r;if(/fbox|color|angl/.test(t)){if(a=H([`stretchy`,t],[],i),t===`fbox`){var s=i.color&&i.getColor();s&&(a.style.borderColor=s)}}else{var c=[];/^[bx]cancel$/.test(t)&&c.push(new Ie({x1:`0`,y1:`0`,x2:`100%`,y2:`100%`,"stroke-width":`0.046em`})),/^x?cancel$/.test(t)&&c.push(new Ie({x1:`0`,y1:`100%`,x2:`100%`,y2:`0`,"stroke-width":`0.046em`})),a=Dt([],[new Pe(c,{width:`100%`,height:D(o)})],i)}return a.height=o,a.style.height=D(o),a};function Q(e,t){if(!e||e.type!==t)throw Error(`Expected node of type `+t+`, but got `+(e?`node of type `+e.type:String(e)));return e}function An(e){var t=jn(e);if(!t)throw Error(`Expected node of symbol group type, but got `+(e?`node of type `+e.type:String(e)));return t}function jn(e){return e&&(e.type===`atom`||Je.hasOwnProperty(e.type))?e:null}var Mn=e=>{if(e instanceof Ne)return e;if(ze(e)&&e.children.length===1)return Mn(e.children[0])},Nn=(e,t)=>{var n,r,i;e&&e.type===`supsub`?(r=Q(e.base,`accent`),n=r.base,e.base=n,i=Re(J(e,t)),e.base=r):(r=Q(e,`accent`),n=r.base);var a=J(n,t.havingCrampedStyle()),o=r.isShifty&&c(n),s=0;o&&(s=Mn(a)?.skew??0);var l=r.label===`\\c`,u=l?a.height+a.depth:Math.min(a.height,t.fontMetrics().xHeight),d;if(r.isStretchy)d=On(r,t),d=U({positionType:`firstBaseline`,children:[{type:`elem`,elem:a},{type:`elem`,elem:d,wrapperClasses:[`svg-align`],wrapperStyle:s>0?{width:`calc(100% - `+D(2*s)+`)`,marginLeft:D(2*s)}:void 0}]});else{var f,p;r.label===`\\vec`?(f=Lt(`vec`,t),p=It.vec[1]):(f=Ct({type:`textord`,mode:r.mode,text:r.label},t,`textord`),f=Le(f),f.italic=0,p=f.width,l&&(u+=f.depth)),d=H([`accent-body`],[f]);var m=r.label===`\\textcircled`;m&&(d.classes.push(`accent-full`),u=a.height);var h=s;m||(h-=p/2),d.style.left=D(h),r.label===`\\textcircled`&&(d.style.top=`.2em`),d=U({positionType:`firstBaseline`,children:[{type:`elem`,elem:a},{type:`kern`,size:-u},{type:`elem`,elem:d}]})}var g=H([`mord`,`accent`],[d],t);return i?(i.children[0]=g,i.height=Math.max(g.height,i.height),i.classes[0]=`mord`,i):g},Pn=(e,t)=>{var n=e.isStretchy?Tn(e.label):new Y(`mo`,[ln(e.label,e.mode)]),r=new Y(`mover`,[Z(e.base,t),n]);return r.setAttribute(`accent`,`true`),r},Fn=new RegExp([`\\acute`,`\\grave`,`\\ddot`,`\\tilde`,`\\bar`,`\\breve`,`\\check`,`\\hat`,`\\vec`,`\\dot`,`\\mathring`].map(e=>`\\`+e).join(`|`));G({type:`accent`,names:[`\\acute`,`\\grave`,`\\ddot`,`\\tilde`,`\\bar`,`\\breve`,`\\check`,`\\hat`,`\\vec`,`\\dot`,`\\mathring`,`\\widecheck`,`\\widehat`,`\\widetilde`,`\\overrightarrow`,`\\overleftarrow`,`\\Overrightarrow`,`\\overleftrightarrow`,`\\overgroup`,`\\overlinesegment`,`\\overleftharpoon`,`\\overrightharpoon`],props:{numArgs:1},handler:(e,t)=>{var n=Kt(t[0]),r=!Fn.test(e.funcName),i=!r||e.funcName===`\\widehat`||e.funcName===`\\widetilde`||e.funcName===`\\widecheck`;return{type:`accent`,mode:e.parser.mode,label:e.funcName,isStretchy:r,isShifty:i,base:n}},htmlBuilder:Nn,mathmlBuilder:Pn}),G({type:`accent`,names:[`\\'`,"\\`",`\\^`,`\\~`,`\\=`,`\\u`,`\\.`,`\\"`,`\\c`,`\\r`,`\\H`,`\\v`,`\\textcircled`],props:{numArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:[`primitive`]},handler:(e,t)=>{var n=t[0],r=e.parser.mode;return r===`math`&&(e.parser.settings.reportNonstrict(`mathVsTextAccents`,`LaTeX's accent `+e.funcName+` works only in text mode`),r=`text`),{type:`accent`,mode:r,label:e.funcName,isStretchy:!1,isShifty:!0,base:n}},htmlBuilder:Nn,mathmlBuilder:Pn}),G({type:`accentUnder`,names:[`\\underleftarrow`,`\\underrightarrow`,`\\underleftrightarrow`,`\\undergroup`,`\\underlinesegment`,`\\utilde`],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:`accentUnder`,mode:n.mode,label:r,base:i}},htmlBuilder:(e,t)=>{var n=J(e.base,t),r=On(e,t),i=e.label===`\\utilde`?.12:0;return H([`mord`,`accentunder`],[U({positionType:`top`,positionData:n.height,children:[{type:`elem`,elem:r,wrapperClasses:[`svg-align`]},{type:`kern`,size:i},{type:`elem`,elem:n}]})],t)},mathmlBuilder:(e,t)=>{var n=Tn(e.label),r=new Y(`munder`,[Z(e.base,t),n]);return r.setAttribute(`accentunder`,`true`),r}});var In=e=>{var t=new Y(`mpadded`,e?[e]:[]);return t.setAttribute(`width`,`+0.6em`),t.setAttribute(`lspace`,`0.3em`),t};G({type:`xArrow`,names:[`\\xleftarrow`,`\\xrightarrow`,`\\xLeftarrow`,`\\xRightarrow`,`\\xleftrightarrow`,`\\xLeftrightarrow`,`\\xhookleftarrow`,`\\xhookrightarrow`,`\\xmapsto`,`\\xrightharpoondown`,`\\xrightharpoonup`,`\\xleftharpoondown`,`\\xleftharpoonup`,`\\xrightleftharpoons`,`\\xleftrightharpoons`,`\\xlongequal`,`\\xtwoheadrightarrow`,`\\xtwoheadleftarrow`,`\\xtofrom`,`\\xrightleftarrows`,`\\xrightequilibrium`,`\\xleftequilibrium`,`\\\\cdrightarrow`,`\\\\cdleftarrow`,`\\\\cdlongequal`],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r,funcName:i}=e;return{type:`xArrow`,mode:r.mode,label:i,body:t[0],below:n[0]}},htmlBuilder(e,t){var n=t.style,r=t.havingStyle(n.sup()),i=jt(J(e.body,r,t),t),a=e.label.slice(0,2)===`\\x`?`x`:`cd`;i.classes.push(a+`-arrow-pad`);var o;e.below&&(r=t.havingStyle(n.sub()),o=jt(J(e.below,r,t),t),o.classes.push(a+`-arrow-pad`));var s=On(e,t),c=-t.fontMetrics().axisHeight+.5*s.height,l=-t.fontMetrics().axisHeight-.5*s.height-.111;(i.depth>.25||e.label===`\\xleftequilibrium`)&&(l-=i.depth);var u;if(o){var d=-t.fontMetrics().axisHeight+o.height+.5*s.height+.111;u=U({positionType:`individualShift`,children:[{type:`elem`,elem:i,shift:l},{type:`elem`,elem:s,shift:c},{type:`elem`,elem:o,shift:d}]})}else u=U({positionType:`individualShift`,children:[{type:`elem`,elem:i,shift:l},{type:`elem`,elem:s,shift:c}]});return u.children[0].children[0].children[1].classes.push(`svg-align`),H([`mrel`,`x-arrow`],[u],t)},mathmlBuilder(e,t){var n=Tn(e.label);n.setAttribute(`minsize`,e.label.charAt(0)===`x`?`1.75em`:`3.0em`);var r;if(e.body){var i=In(Z(e.body,t));r=e.below?new Y(`munderover`,[n,In(Z(e.below,t)),i]):new Y(`mover`,[n,i])}else e.below?r=new Y(`munder`,[n,In(Z(e.below,t))]):(r=In(),r=new Y(`mover`,[n,r]));return r}});function Ln(e,t){var n=q(e.body,t,!0);return H([e.mclass],n,t)}function Rn(e,t){var n,r=pn(e.body,t);return e.mclass===`minner`?n=new Y(`mpadded`,r):e.mclass===`mord`?e.isCharacterBox?(n=r[0],n.type=`mi`):n=new Y(`mi`,r):(e.isCharacterBox?(n=r[0],n.type=`mo`):n=new Y(`mo`,r),e.mclass===`mbin`?(n.attributes.lspace=`0.22em`,n.attributes.rspace=`0.22em`):e.mclass===`mpunct`?(n.attributes.lspace=`0em`,n.attributes.rspace=`0.17em`):e.mclass===`mopen`||e.mclass===`mclose`?(n.attributes.lspace=`0em`,n.attributes.rspace=`0em`):e.mclass===`minner`&&(n.attributes.lspace=`0.0556em`,n.attributes.width=`+0.1111em`)),n}G({type:`mclass`,names:[`\\mathord`,`\\mathbin`,`\\mathrel`,`\\mathopen`,`\\mathclose`,`\\mathpunct`,`\\mathinner`],props:{numArgs:1,primitive:!0},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:`mclass`,mode:n.mode,mclass:`m`+r.slice(5),body:K(i),isCharacterBox:c(i)}},htmlBuilder:Ln,mathmlBuilder:Rn});var zn=e=>{var t=e.type===`ordgroup`&&e.body.length?e.body[0]:e;return t.type===`atom`&&(t.family===`bin`||t.family===`rel`)?`m`+t.family:`mord`};G({type:`mclass`,names:[`\\@binrel`],props:{numArgs:2},handler(e,t){var{parser:n}=e;return{type:`mclass`,mode:n.mode,mclass:zn(t[0]),body:K(t[1]),isCharacterBox:c(t[1])}}}),G({type:`mclass`,names:[`\\stackrel`,`\\overset`,`\\underset`],props:{numArgs:2},handler(e,t){var{parser:n,funcName:r}=e,i=t[1],a=t[0],o=r===`\\stackrel`?`mrel`:zn(i),s={type:`op`,mode:i.mode,limits:!0,alwaysHandleSupSub:!0,parentIsSupSub:!1,symbol:!1,suppressBaseShift:r!==`\\stackrel`,body:K(i)},l={type:`supsub`,mode:a.mode,base:s,sup:r===`\\underset`?null:a,sub:r===`\\underset`?a:null};return{type:`mclass`,mode:n.mode,mclass:o,body:[l],isCharacterBox:c(l)}},htmlBuilder:Ln,mathmlBuilder:Rn}),G({type:`pmb`,names:[`\\pmb`],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:`pmb`,mode:n.mode,mclass:zn(t[0]),body:K(t[0])}},htmlBuilder(e,t){var n=q(e.body,t,!0),r=H([e.mclass],n,t);return r.style.textShadow=`0.02em 0.01em 0.04px`,r},mathmlBuilder(e,t){var n=new Y(`mstyle`,pn(e.body,t));return n.setAttribute(`style`,`text-shadow: 0.02em 0.01em 0.04px`),n}});var Bn={">":`\\\\cdrightarrow`,"<":`\\\\cdleftarrow`,"=":`\\\\cdlongequal`,A:`\\uparrow`,V:`\\downarrow`,"|":`\\Vert`,".":`no arrow`},Vn=()=>({type:`styling`,body:[],mode:`math`,style:`display`}),Hn=e=>e.type===`textord`&&e.text===`@`,Un=(e,t)=>(e.type===`mathord`||e.type===`atom`)&&e.text===t;function Wn(e,t,n){var r=Bn[e];switch(r){case`\\\\cdrightarrow`:case`\\\\cdleftarrow`:return n.callFunction(r,[t[0]],[t[1]]);case`\\uparrow`:case`\\downarrow`:var i=n.callFunction(`\\\\cdleft`,[t[0]],[]),a={type:`atom`,text:r,mode:`math`,family:`rel`},o={type:`ordgroup`,mode:`math`,body:[i,n.callFunction(`\\Big`,[a],[]),n.callFunction(`\\\\cdright`,[t[1]],[])]};return n.callFunction(`\\\\cdparent`,[o],[]);case`\\\\cdlongequal`:return n.callFunction(`\\\\cdlongequal`,[],[]);case`\\Vert`:return n.callFunction(`\\Big`,[{type:`textord`,text:`\\Vert`,mode:`math`}],[]);default:return{type:`textord`,text:` `,mode:`math`}}}function Gn(t){var n=[];for(t.gullet.beginGroup(),t.gullet.macros.set(`\\cr`,`\\\\\\relax`),t.gullet.beginGroup();;){n.push(t.parseExpression(!1,`\\\\`)),t.gullet.endGroup(),t.gullet.beginGroup();var r=t.fetch().text;if(r===`&`||r===`\\\\`)t.consume();else if(r===`\\end`){n[n.length-1].length===0&&n.pop();break}else throw new e(`Expected \\\\ or \\cr or \\end`,t.nextToken)}for(var i=[],a=[i],o=0;o<n.length;o++){for(var s=n[o],c=Vn(),l=0;l<s.length;l++)if(!Hn(s[l]))c.body.push(s[l]);else{i.push(c),l+=1;var u=An(s[l]).text,d=[,,];if(d[0]={type:`ordgroup`,mode:`math`,body:[]},d[1]={type:`ordgroup`,mode:`math`,body:[]},!`=|.`.includes(u))if(`<>AV`.includes(u))for(var f=0;f<2;f++){for(var p=!0,m=l+1;m<s.length;m++){if(Un(s[m],u)){p=!1,l=m;break}if(Hn(s[m]))throw new e(`Missing a `+u+` character to complete a CD arrow.`,s[m]);d[f].body.push(s[m])}if(p)throw new e(`Missing a `+u+` character to complete a CD arrow.`,s[l])}else throw new e(`Expected one of "<>AV=|." after @`,s[l]);var h={type:`styling`,body:[Wn(u,d,t)],mode:`math`,style:`display`};i.push(h),c=Vn()}o%2==0?i.push(c):i.shift(),i=[],a.push(i)}return t.gullet.endGroup(),t.gullet.endGroup(),{type:`array`,mode:`math`,body:a,arraystretch:1,addJot:!0,rowGaps:[null],cols:Array(a[0].length).fill({type:`align`,align:`c`,pregap:.25,postgap:.25}),colSeparationType:`CD`,hLinesBeforeRow:Array(a.length+1).fill([])}}G({type:`cdlabel`,names:[`\\\\cdleft`,`\\\\cdright`],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:`cdlabel`,mode:n.mode,side:r.slice(4),label:t[0]}},htmlBuilder(e,t){var n=t.havingStyle(t.style.sup()),r=jt(J(e.label,n,t),t);return r.classes.push(`cd-label-`+e.side),r.style.bottom=D(.8-r.depth),r.height=0,r.depth=0,r},mathmlBuilder(e,t){var n=new Y(`mrow`,[Z(e.label,t)]);return n=new Y(`mpadded`,[n]),n.setAttribute(`width`,`0`),e.side===`left`&&n.setAttribute(`lspace`,`-1width`),n.setAttribute(`voffset`,`0.7em`),n=new Y(`mstyle`,[n]),n.setAttribute(`displaystyle`,`false`),n.setAttribute(`scriptlevel`,`1`),n}}),G({type:`cdlabelparent`,names:[`\\\\cdparent`],props:{numArgs:1},handler(e,t){var{parser:n}=e;return{type:`cdlabelparent`,mode:n.mode,fragment:t[0]}},htmlBuilder(e,t){var n=jt(J(e.fragment,t),t);return n.classes.push(`cd-vert-arrow`),n},mathmlBuilder(e,t){return new Y(`mrow`,[Z(e.fragment,t)])}}),G({type:`textord`,names:[`\\@char`],props:{numArgs:1,allowedInText:!0},handler(t,n){for(var{parser:r}=t,i=Q(n[0],`ordgroup`).body,a=``,o=0;o<i.length;o++){var s=Q(i[o],`textord`);a+=s.text}var c=parseInt(a),l;if(isNaN(c))throw new e(`\\@char has non-numeric argument `+a);if(c<0||c>=1114111)throw new e(`\\@char with invalid code point `+a);return c<=65535?l=String.fromCharCode(c):(c-=65536,l=String.fromCharCode((c>>10)+55296,(c&1023)+56320)),{type:`textord`,mode:r.mode,text:l}}});var Kn=(e,t)=>At(q(e.body,t.withColor(e.color),!1)),qn=(e,t)=>{var n=new Y(`mstyle`,pn(e.body,t.withColor(e.color)));return n.setAttribute(`mathcolor`,e.color),n};G({type:`color`,names:[`\\textcolor`],props:{numArgs:2,allowedInText:!0,argTypes:[`color`,`original`]},handler(e,t){var{parser:n}=e,r=Q(t[0],`color-token`).color,i=t[1];return{type:`color`,mode:n.mode,color:r,body:K(i)}},htmlBuilder:Kn,mathmlBuilder:qn}),G({type:`color`,names:[`\\color`],props:{numArgs:1,allowedInText:!0,argTypes:[`color`]},handler(e,t){var{parser:n,breakOnTokenText:r}=e,i=Q(t[0],`color-token`).color;n.gullet.macros.set(`\\current@color`,i);var a=n.parseExpression(!0,r);return{type:`color`,mode:n.mode,color:i,body:a}},htmlBuilder:Kn,mathmlBuilder:qn}),G({type:`cr`,names:[`\\\\`],props:{numArgs:0,numOptionalArgs:0,allowedInText:!0},handler(e,t,n){var{parser:r}=e,i=r.gullet.future().text===`[`?r.parseSizeGroup(!0):null,a=!r.settings.displayMode||!r.settings.useStrictBehavior(`newLineInDisplayMode`,`In LaTeX, \\\\ or \\newline does nothing in display mode`);return{type:`cr`,mode:r.mode,newLine:a,size:i&&Q(i,`size`).value}},htmlBuilder(e,t){var n=H([`mspace`],[],t);return e.newLine&&(n.classes.push(`newline`),e.size&&(n.style.marginTop=D(E(e.size,t)))),n},mathmlBuilder(e,t){var n=new Y(`mspace`);return e.newLine&&(n.setAttribute(`linebreak`,`newline`),e.size&&n.setAttribute(`height`,D(E(e.size,t)))),n}});var Jn={"\\global":`\\global`,"\\long":`\\\\globallong`,"\\\\globallong":`\\\\globallong`,"\\def":`\\gdef`,"\\gdef":`\\gdef`,"\\edef":`\\xdef`,"\\xdef":`\\xdef`,"\\let":`\\\\globallet`,"\\futurelet":`\\\\globalfuture`},Yn=t=>{var n=t.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(n))throw new e(`Expected a control sequence`,t);return n},Xn=e=>{var t=e.gullet.popToken();return t.text===`=`&&(t=e.gullet.popToken(),t.text===` `&&(t=e.gullet.popToken())),t},Zn=(e,t,n,r)=>{var i=e.gullet.macros.get(n.text);i??=(n.noexpand=!0,{tokens:[n],numArgs:0,unexpandable:!e.gullet.isExpandable(n.text)}),e.gullet.macros.set(t,i,r)};G({type:`internal`,names:[`\\global`,`\\long`,`\\\\globallong`],props:{numArgs:0,allowedInText:!0},handler(t){var{parser:n,funcName:r}=t;n.consumeSpaces();var i=n.fetch();if(Jn[i.text])return(r===`\\global`||r===`\\\\globallong`)&&(i.text=Jn[i.text]),Q(n.parseFunction(),`internal`);throw new e(`Invalid token after macro prefix`,i)}}),G({type:`internal`,names:[`\\def`,`\\gdef`,`\\edef`,`\\xdef`],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(t){var{parser:n,funcName:r}=t,i=n.gullet.popToken(),a=i.text;if(/^(?:[\\{}$&#^_]|EOF)$/.test(a))throw new e(`Expected a control sequence`,i);for(var o=0,s,c=[[]];n.gullet.future().text!==`{`;)if(i=n.gullet.popToken(),i.text===`#`){if(n.gullet.future().text===`{`){s=n.gullet.future(),c[o].push(`{`);break}if(i=n.gullet.popToken(),!/^[1-9]$/.test(i.text))throw new e(`Invalid argument number "`+i.text+`"`);if(parseInt(i.text)!==o+1)throw new e(`Argument number "`+i.text+`" out of order`);o++,c.push([])}else if(i.text===`EOF`)throw new e(`Expected a macro definition`);else c[o].push(i.text);var{tokens:l}=n.gullet.consumeArg();return s&&l.unshift(s),(r===`\\edef`||r===`\\xdef`)&&(l=n.gullet.expandTokens(l),l.reverse()),n.gullet.macros.set(a,{tokens:l,numArgs:o,delimiters:c},r===Jn[r]),{type:`internal`,mode:n.mode}}}),G({type:`internal`,names:[`\\let`,`\\\\globallet`],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=Yn(t.gullet.popToken());return t.gullet.consumeSpaces(),Zn(t,r,Xn(t),n===`\\\\globallet`),{type:`internal`,mode:t.mode}}}),G({type:`internal`,names:[`\\futurelet`,`\\\\globalfuture`],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e){var{parser:t,funcName:n}=e,r=Yn(t.gullet.popToken()),i=t.gullet.popToken(),a=t.gullet.popToken();return Zn(t,r,a,n===`\\\\globalfuture`),t.gullet.pushToken(a),t.gullet.pushToken(i),{type:`internal`,mode:t.mode}}});var Qn=function(e,t,n){var r=We(O.math[e]&&O.math[e].replace||e,t,n);if(!r)throw Error(`Unsupported symbol `+e+` and font size `+t+`.`);return r},$n=function(e,t,n,r){var i=n.havingBaseStyle(t),a=H(r.concat(i.sizingClasses(n)),[e],n),o=i.sizeMultiplier/n.sizeMultiplier;return a.height*=o,a.depth*=o,a.maxFontSize=i.sizeMultiplier,a},er=function(e,t,n){var r=t.havingBaseStyle(n),i=(1-t.sizeMultiplier/r.sizeMultiplier)*t.fontMetrics().axisHeight;e.classes.push(`delimcenter`),e.style.top=D(i),e.height-=i,e.depth+=i},tr=function(e,t,n,r,i,a){var o=$n(bt(e,`Main-Regular`,i,r),t,r,a);return n&&er(o,r,t),o},nr=function(e,t,n,r){return bt(e,`Size`+t+`-Regular`,n,r)},rr=function(e,t,n,r,i,a){var o=nr(e,t,i,r),s=$n(H([`delimsizing`,`size`+t],[o],r),T.TEXT,r,a);return n&&er(s,r,T.TEXT),s},ir=function(e,t,n){return{type:`elem`,elem:H([`delimsizinginner`,t===`Size1-Regular`?`delim-size1`:`delim-size4`],[H([],[bt(e,t,n)])])}},ar=function(e,t,n){var r=Be[`Size4-Regular`][e.charCodeAt(0)]?Be[`Size4-Regular`][e.charCodeAt(0)][4]:Be[`Size1-Regular`][e.charCodeAt(0)][4],i=Dt([],[new Pe([new Fe(`inner`,_e(e,Math.round(1e3*t)))],{width:D(r),height:D(t),style:`width:`+D(r),viewBox:`0 0 `+1e3*r+` `+Math.round(1e3*t),preserveAspectRatio:`xMinYMin`})],n);return i.height=t,i.style.height=D(t),i.style.width=D(r),{type:`elem`,elem:i}},or=.008,sr={type:`kern`,size:-1*or},cr=new Set([`|`,`\\lvert`,`\\rvert`,`\\vert`]),lr=new Set([`\\|`,`\\lVert`,`\\rVert`,`\\Vert`]),ur=function(e,t,n,r,i,a){var o,s,c,l,u=``,d=0;o=c=l=e,s=null;var f=`Size1-Regular`;e===`\\uparrow`?c=l=`⏐`:e===`\\Uparrow`?c=l=`‖`:e===`\\downarrow`?o=c=`⏐`:e===`\\Downarrow`?o=c=`‖`:e===`\\updownarrow`?(o=`\\uparrow`,c=`⏐`,l=`\\downarrow`):e===`\\Updownarrow`?(o=`\\Uparrow`,c=`‖`,l=`\\Downarrow`):cr.has(e)?(c=`∣`,u=`vert`,d=333):lr.has(e)?(c=`∥`,u=`doublevert`,d=556):e===`[`||e===`\\lbrack`?(o=`⎡`,c=`⎢`,l=`⎣`,f=`Size4-Regular`,u=`lbrack`,d=667):e===`]`||e===`\\rbrack`?(o=`⎤`,c=`⎥`,l=`⎦`,f=`Size4-Regular`,u=`rbrack`,d=667):e===`\\lfloor`||e===`⌊`?(c=o=`⎢`,l=`⎣`,f=`Size4-Regular`,u=`lfloor`,d=667):e===`\\lceil`||e===`⌈`?(o=`⎡`,c=l=`⎢`,f=`Size4-Regular`,u=`lceil`,d=667):e===`\\rfloor`||e===`⌋`?(c=o=`⎥`,l=`⎦`,f=`Size4-Regular`,u=`rfloor`,d=667):e===`\\rceil`||e===`⌉`?(o=`⎤`,c=l=`⎥`,f=`Size4-Regular`,u=`rceil`,d=667):e===`(`||e===`\\lparen`?(o=`⎛`,c=`⎜`,l=`⎝`,f=`Size4-Regular`,u=`lparen`,d=875):e===`)`||e===`\\rparen`?(o=`⎞`,c=`⎟`,l=`⎠`,f=`Size4-Regular`,u=`rparen`,d=875):e===`\\{`||e===`\\lbrace`?(o=`⎧`,s=`⎨`,l=`⎩`,c=`⎪`,f=`Size4-Regular`):e===`\\}`||e===`\\rbrace`?(o=`⎫`,s=`⎬`,l=`⎭`,c=`⎪`,f=`Size4-Regular`):e===`\\lgroup`||e===`⟮`?(o=`⎧`,l=`⎩`,c=`⎪`,f=`Size4-Regular`):e===`\\rgroup`||e===`⟯`?(o=`⎫`,l=`⎭`,c=`⎪`,f=`Size4-Regular`):e===`\\lmoustache`||e===`⎰`?(o=`⎧`,l=`⎭`,c=`⎪`,f=`Size4-Regular`):(e===`\\rmoustache`||e===`⎱`)&&(o=`⎫`,l=`⎩`,c=`⎪`,f=`Size4-Regular`);var p=Qn(o,f,i),m=p.height+p.depth,h=Qn(c,f,i),g=h.height+h.depth,_=Qn(l,f,i),v=_.height+_.depth,y=0,b=1;if(s!==null){var x=Qn(s,f,i);y=x.height+x.depth,b=2}var S=m+v+y,C=S+Math.max(0,Math.ceil((t-S)/(b*g)))*b*g,ee=r.fontMetrics().axisHeight;n&&(ee*=r.sizeMultiplier);var te=C/2-ee,w=[];if(u.length>0){var ne=C-m-v,re=Math.round(C*1e3),ie=ye(u,Math.round(ne*1e3)),ae=new Fe(u,ie),oe=D(d/1e3),se=D(re/1e3),ce=Dt([],[new Pe([ae],{width:oe,height:se,viewBox:`0 0 `+d+` `+re})],r);ce.height=re/1e3,ce.style.width=oe,ce.style.height=se,w.push({type:`elem`,elem:ce})}else{if(w.push(ir(l,f,i)),w.push(sr),s===null){var le=C-m-v+2*or;w.push(ar(c,le,r))}else{var ue=(C-m-v-y)/2+2*or;w.push(ar(c,ue,r)),w.push(sr),w.push(ir(s,f,i)),w.push(sr),w.push(ar(c,ue,r))}w.push(sr),w.push(ir(o,f,i))}var de=r.havingBaseStyle(T.TEXT);return $n(H([`delimsizing`,`mult`],[U({positionType:`bottom`,positionData:te,children:w})],de),T.TEXT,r,a)},dr=80,fr=.08,pr=function(e,t,n,r,i){return Dt([`hide-tail`],[new Pe([new Fe(e,ge(e,r,n))],{width:`400em`,height:D(t),viewBox:`0 0 400000 `+n,preserveAspectRatio:`xMinYMin slice`})],i)},mr=function(e,t){var n=t.havingBaseSizing(),r=wr(`\\surd`,e*n.sizeMultiplier,Sr,n),i=n.sizeMultiplier,a=Math.max(0,t.minRuleThickness-t.fontMetrics().sqrtRuleThickness),o,s=0,c=0,l=0,u;return r.type===`small`?(l=1e3+1e3*a+dr,e<1?i=1:e<1.4&&(i=.7),s=(1+a+fr)/i,c=(1+a)/i,o=pr(`sqrtMain`,s,l,a,t),o.style.minWidth=`0.853em`,u=.833/i):r.type===`large`?(l=(1e3+dr)*vr[r.size],c=(vr[r.size]+a)/i,s=(vr[r.size]+a+fr)/i,o=pr(`sqrtSize`+r.size,s,l,a,t),o.style.minWidth=`1.02em`,u=1/i):(s=e+a+fr,c=e+a,l=Math.floor(1e3*e+a)+dr,o=pr(`sqrtTall`,s,l,a,t),o.style.minWidth=`0.742em`,u=1.056),o.height=c,o.style.height=D(s),{span:o,advanceWidth:u,ruleWidth:(t.fontMetrics().sqrtRuleThickness+a)*i}},hr=new Set([`(`,`\\lparen`,`)`,`\\rparen`,`[`,`\\lbrack`,`]`,`\\rbrack`,`\\{`,`\\lbrace`,`\\}`,`\\rbrace`,`\\lfloor`,`\\rfloor`,`⌊`,`⌋`,`\\lceil`,`\\rceil`,`⌈`,`⌉`,`\\surd`]),gr=new Set([`\\uparrow`,`\\downarrow`,`\\updownarrow`,`\\Uparrow`,`\\Downarrow`,`\\Updownarrow`,`|`,`\\|`,`\\vert`,`\\Vert`,`\\lvert`,`\\rvert`,`\\lVert`,`\\rVert`,`\\lgroup`,`\\rgroup`,`⟮`,`⟯`,`\\lmoustache`,`\\rmoustache`,`⎰`,`⎱`]),_r=new Set([`<`,`>`,`\\langle`,`\\rangle`,`/`,`\\backslash`,`\\lt`,`\\gt`]),vr=[0,1.2,1.8,2.4,3],yr=function(t,n,r,i,a){if(t===`<`||t===`\\lt`||t===`⟨`?t=`\\langle`:(t===`>`||t===`\\gt`||t===`⟩`)&&(t=`\\rangle`),hr.has(t)||_r.has(t))return rr(t,n,!1,r,i,a);if(gr.has(t))return ur(t,vr[n],!1,r,i,a);throw new e(`Illegal delimiter: '`+t+`'`)},br=[{type:`small`,style:T.SCRIPTSCRIPT},{type:`small`,style:T.SCRIPT},{type:`small`,style:T.TEXT},{type:`large`,size:1},{type:`large`,size:2},{type:`large`,size:3},{type:`large`,size:4}],xr=[{type:`small`,style:T.SCRIPTSCRIPT},{type:`small`,style:T.SCRIPT},{type:`small`,style:T.TEXT},{type:`stack`}],Sr=[{type:`small`,style:T.SCRIPTSCRIPT},{type:`small`,style:T.SCRIPT},{type:`small`,style:T.TEXT},{type:`large`,size:1},{type:`large`,size:2},{type:`large`,size:3},{type:`large`,size:4},{type:`stack`}],Cr=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`;var t=e.type;throw Error(`Add support for delim type '`+t+`' here.`)},wr=function(e,t,n,r){for(var i=Math.min(2,3-r.style.size);i<n.length;i++){var a=n[i];if(a.type===`stack`)break;var o=Qn(e,Cr(a),`math`),s=o.height+o.depth;if(a.type===`small`){var c=r.havingBaseStyle(a.style);s*=c.sizeMultiplier}if(s>t)return a}return n[n.length-1]},Tr=function(e,t,n,r,i,a){e===`<`||e===`\\lt`||e===`⟨`?e=`\\langle`:(e===`>`||e===`\\gt`||e===`⟩`)&&(e=`\\rangle`);var o=_r.has(e)?br:hr.has(e)?Sr:xr,s=wr(e,t,o,r);return s.type===`small`?tr(e,s.style,n,r,i,a):s.type===`large`?rr(e,s.size,n,r,i,a):ur(e,t,n,r,i,a)},Er=function(e,t,n,r,i,a){var o=r.fontMetrics().axisHeight*r.sizeMultiplier,s=901,c=5/r.fontMetrics().ptPerEm,l=Math.max(t-o,n+o);return Tr(e,Math.max(l/500*s,2*l-c),!0,r,i,a)},Dr={"\\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}},Or=new Set(`(,\\lparen,),\\rparen,[,\\lbrack,],\\rbrack,\\{,\\lbrace,\\},\\rbrace,\\lfloor,\\rfloor,⌊,⌋,\\lceil,\\rceil,⌈,⌉,<,>,\\langle,⟨,\\rangle,⟩,\\lt,\\gt,\\lvert,\\rvert,\\lVert,\\rVert,\\lgroup,\\rgroup,⟮,⟯,\\lmoustache,\\rmoustache,⎰,⎱,/,\\backslash,|,\\vert,\\|,\\Vert,\\uparrow,\\Uparrow,\\downarrow,\\Downarrow,\\updownarrow,\\Updownarrow,.`.split(`,`));function kr(t,n){var r=jn(t);if(r&&Or.has(r.text))return r;throw r?new e(`Invalid delimiter '`+r.text+`' after '`+n.funcName+`'`,t):new e(`Invalid delimiter type '`+t.type+`'`,t)}G({type:`delimsizing`,names:[`\\bigl`,`\\Bigl`,`\\biggl`,`\\Biggl`,`\\bigr`,`\\Bigr`,`\\biggr`,`\\Biggr`,`\\bigm`,`\\Bigm`,`\\biggm`,`\\Biggm`,`\\big`,`\\Big`,`\\bigg`,`\\Bigg`],props:{numArgs:1,argTypes:[`primitive`]},handler:(e,t)=>{var n=kr(t[0],e);return{type:`delimsizing`,mode:e.parser.mode,size:Dr[e.funcName].size,mclass:Dr[e.funcName].mclass,delim:n.text}},htmlBuilder:(e,t)=>e.delim===`.`?H([e.mclass]):yr(e.delim,e.size,t,e.mode,[e.mclass]),mathmlBuilder:e=>{var t=[];e.delim!==`.`&&t.push(ln(e.delim,e.mode));var n=new Y(`mo`,t);e.mclass===`mopen`||e.mclass===`mclose`?n.setAttribute(`fence`,`true`):n.setAttribute(`fence`,`false`),n.setAttribute(`stretchy`,`true`);var r=D(vr[e.size]);return n.setAttribute(`minsize`,r),n.setAttribute(`maxsize`,r),n}});function Ar(e){if(!e.body)throw Error(`Bug: The leftright ParseNode wasn't fully parsed.`)}G({type:`leftright-right`,names:[`\\right`],props:{numArgs:1,primitive:!0},handler:(t,n)=>{var r=t.parser.gullet.macros.get(`\\current@color`);if(r&&typeof r!=`string`)throw new e(`\\current@color set to non-string in \\right`);return{type:`leftright-right`,mode:t.parser.mode,delim:kr(n[0],t).text,color:r}}}),G({type:`leftright`,names:[`\\left`],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var n=kr(t[0],e),r=e.parser;++r.leftrightDepth;var i=r.parseExpression(!1);--r.leftrightDepth,r.expect(`\\right`,!1);var a=Q(r.parseFunction(),`leftright-right`);return{type:`leftright`,mode:r.mode,body:i,left:n.text,right:a.delim,rightColor:a.color}},htmlBuilder:(e,t)=>{Ar(e);for(var n=q(e.body,t,!0,[`mopen`,`mclose`]),r=0,i=0,a=!1,o=0;o<n.length;o++)n[o].isMiddle?a=!0:(r=Math.max(n[o].height,r),i=Math.max(n[o].depth,i));r*=t.sizeMultiplier,i*=t.sizeMultiplier;var s=e.left===`.`?tn(t,[`mopen`]):Er(e.left,r,i,t,e.mode,[`mopen`]);if(n.unshift(s),a)for(var c=1;c<n.length;c++){var l=n[c].isMiddle;l&&(n[c]=Er(l.delim,r,i,l.options,e.mode,[]))}var u;if(e.right===`.`)u=tn(t,[`mclose`]);else{var d=e.rightColor?t.withColor(e.rightColor):t;u=Er(e.right,r,i,d,e.mode,[`mclose`])}return n.push(u),H([`minner`],n,t)},mathmlBuilder:(e,t)=>{Ar(e);var n=pn(e.body,t);if(e.left!==`.`){var r=new Y(`mo`,[ln(e.left,e.mode)]);r.setAttribute(`fence`,`true`),n.unshift(r)}if(e.right!==`.`){var i=new Y(`mo`,[ln(e.right,e.mode)]);i.setAttribute(`fence`,`true`),e.rightColor&&i.setAttribute(`mathcolor`,e.rightColor),n.push(i)}return un(n)}}),G({type:`middle`,names:[`\\middle`],props:{numArgs:1,primitive:!0},handler:(t,n)=>{var r=kr(n[0],t);if(!t.parser.leftrightDepth)throw new e(`\\middle without preceding \\left`,r);return{type:`middle`,mode:t.parser.mode,delim:r.text}},htmlBuilder:(e,t)=>{var n;if(e.delim===`.`)n=tn(t,[]);else{n=yr(e.delim,1,t,e.mode,[]);var r={delim:e.delim,options:t};n.isMiddle=r}return n},mathmlBuilder:(e,t)=>{var n=new Y(`mo`,[e.delim===`\\vert`||e.delim===`|`?ln(`|`,`text`):ln(e.delim,e.mode)]);return n.setAttribute(`fence`,`true`),n.setAttribute(`lspace`,`0.05em`),n.setAttribute(`rspace`,`0.05em`),n}});var jr=(e,t)=>{var n=jt(J(e.body,t),t),r=e.label.slice(1),i=t.sizeMultiplier,a,o=0,s=c(e.body);if(r===`sout`)a=H([`stretchy`,`sout`]),a.height=t.fontMetrics().defaultRuleThickness/i,o=-.5*t.fontMetrics().xHeight;else if(r===`phase`){var l=E({number:.6,unit:`pt`},t),u=E({number:.35,unit:`ex`},t),d=t.havingBaseSizing();i/=d.sizeMultiplier;var f=n.height+n.depth+l+u;n.style.paddingLeft=D(f/2+l);var p=Math.floor(1e3*f*i);a=Dt([`hide-tail`],[new Pe([new Fe(`phase`,me(p))],{width:`400em`,height:D(p/1e3),viewBox:`0 0 400000 `+p,preserveAspectRatio:`xMinYMin slice`})],t),a.style.height=D(f),o=n.depth+l+u}else{/cancel/.test(r)?s||n.classes.push(`cancel-pad`):r===`angl`?n.classes.push(`anglpad`):n.classes.push(`boxpad`);var m=0,h=0,g=0;/box/.test(r)?(g=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness),m=t.fontMetrics().fboxsep+(r===`colorbox`?0:g),h=m):r===`angl`?(g=Math.max(t.fontMetrics().defaultRuleThickness,t.minRuleThickness),m=4*g,h=Math.max(0,.25-n.depth)):(m=s?.2:0,h=m),a=kn(n,r,m,h,t),/fbox|boxed|fcolorbox/.test(r)?(a.style.borderStyle=`solid`,a.style.borderWidth=D(g)):r===`angl`&&g!==.049&&(a.style.borderTopWidth=D(g),a.style.borderRightWidth=D(g)),o=n.depth+h,e.backgroundColor&&(a.style.backgroundColor=e.backgroundColor,e.borderColor&&(a.style.borderColor=e.borderColor))}var _;if(e.backgroundColor)_=U({positionType:`individualShift`,children:[{type:`elem`,elem:a,shift:o},{type:`elem`,elem:n,shift:0}]});else{var v=/cancel|phase/.test(r)?[`svg-align`]:[];_=U({positionType:`individualShift`,children:[{type:`elem`,elem:n,shift:0},{type:`elem`,elem:a,shift:o,wrapperClasses:v}]})}return/cancel/.test(r)&&(_.height=n.height,_.depth=n.depth),/cancel/.test(r)&&!s?H([`mord`,`cancel-lap`],[_],t):H([`mord`],[_],t)},Mr=(e,t)=>{var n=0,r=new Y(e.label.includes(`colorbox`)?`mpadded`:`menclose`,[Z(e.body,t)]);switch(e.label){case`\\cancel`:r.setAttribute(`notation`,`updiagonalstrike`);break;case`\\bcancel`:r.setAttribute(`notation`,`downdiagonalstrike`);break;case`\\phase`:r.setAttribute(`notation`,`phasorangle`);break;case`\\sout`:r.setAttribute(`notation`,`horizontalstrike`);break;case`\\fbox`:r.setAttribute(`notation`,`box`);break;case`\\angl`:r.setAttribute(`notation`,`actuarial`);break;case`\\fcolorbox`:case`\\colorbox`:if(n=t.fontMetrics().fboxsep*t.fontMetrics().ptPerEm,r.setAttribute(`width`,`+`+2*n+`pt`),r.setAttribute(`height`,`+`+2*n+`pt`),r.setAttribute(`lspace`,n+`pt`),r.setAttribute(`voffset`,n+`pt`),e.label===`\\fcolorbox`){var i=Math.max(t.fontMetrics().fboxrule,t.minRuleThickness);r.setAttribute(`style`,`border: `+D(i)+` solid `+e.borderColor)}break;case`\\xcancel`:r.setAttribute(`notation`,`updiagonalstrike downdiagonalstrike`);break}return e.backgroundColor&&r.setAttribute(`mathbackground`,e.backgroundColor),r};G({type:`enclose`,names:[`\\colorbox`],props:{numArgs:2,allowedInText:!0,argTypes:[`color`,`text`]},handler(e,t,n){var{parser:r,funcName:i}=e,a=Q(t[0],`color-token`).color,o=t[1];return{type:`enclose`,mode:r.mode,label:i,backgroundColor:a,body:o}},htmlBuilder:jr,mathmlBuilder:Mr}),G({type:`enclose`,names:[`\\fcolorbox`],props:{numArgs:3,allowedInText:!0,argTypes:[`color`,`color`,`text`]},handler(e,t,n){var{parser:r,funcName:i}=e,a=Q(t[0],`color-token`).color,o=Q(t[1],`color-token`).color,s=t[2];return{type:`enclose`,mode:r.mode,label:i,backgroundColor:o,borderColor:a,body:s}},htmlBuilder:jr,mathmlBuilder:Mr}),G({type:`enclose`,names:[`\\fbox`],props:{numArgs:1,argTypes:[`hbox`],allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:`enclose`,mode:n.mode,label:`\\fbox`,body:t[0]}}}),G({type:`enclose`,names:[`\\cancel`,`\\bcancel`,`\\xcancel`,`\\phase`],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:`enclose`,mode:n.mode,label:r,body:i}},htmlBuilder:jr,mathmlBuilder:Mr}),G({type:`enclose`,names:[`\\sout`],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e;n.mode===`math`&&n.settings.reportNonstrict(`mathVsSout`,`LaTeX's \\sout works only in text mode`);var i=t[0];return{type:`enclose`,mode:n.mode,label:r,body:i}},htmlBuilder:jr,mathmlBuilder:Mr}),G({type:`enclose`,names:[`\\angl`],props:{numArgs:1,argTypes:[`hbox`],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:`enclose`,mode:n.mode,label:`\\angl`,body:t[0]}}});var Nr={};function Pr(e){for(var{type:t,names:n,props:r,handler:i,htmlBuilder:a,mathmlBuilder:o}=e,s={type:t,numArgs:r.numArgs||0,allowedInText:!1,numOptionalArgs:0,handler:i},c=0;c<n.length;++c)Nr[n[c]]=s;a&&(Ut[t]=a),o&&(Wt[t]=o)}var Fr={};function $(e,t){Fr[e]=t}var Ir=class e{constructor(e,t,n){this.lexer=e,this.start=t,this.end=n}static range(t,n){return n?!t||!t.loc||!n.loc||t.loc.lexer!==n.loc.lexer?null:new e(t.loc.lexer,t.loc.start,n.loc.end):t&&t.loc}},Lr=class e{constructor(e,t){this.text=e,this.loc=t}range(t,n){return new e(n,Ir.range(this,t))}};function Rr(e){var t=[];e.consumeSpaces();var n=e.fetch().text;for(n===`\\relax`&&(e.consume(),e.consumeSpaces(),n=e.fetch().text);n===`\\hline`||n===`\\hdashline`;)e.consume(),t.push(n===`\\hdashline`),e.consumeSpaces(),n=e.fetch().text;return t}var zr=t=>{if(!t.parser.settings.displayMode)throw new e(`{`+t.envName+`} can be used only in display mode.`)},Br=new Set([`gather`,`gather*`]);function Vr(e){if(!e.includes(`ed`))return!e.includes(`*`)}function Hr(t,n,r){var{hskipBeforeAndAfter:i,addJot:a,cols:o,arraystretch:s,colSeparationType:c,autoTag:l,singleRow:u,emptySingleRow:d,maxNumCols:f,leqno:p}=n;if(t.gullet.beginGroup(),u||t.gullet.macros.set(`\\cr`,`\\\\\\relax`),!s){var m=t.gullet.expandMacroAsText(`\\arraystretch`);if(m==null)s=1;else if(s=parseFloat(m),!s||s<0)throw new e(`Invalid \\arraystretch: `+m)}t.gullet.beginGroup();var h=[],g=[h],_=[],v=[],y=l==null?void 0:[];function b(){l&&t.gullet.macros.set(`\\@eqnsw`,`1`,!0)}function x(){y&&(t.gullet.macros.get(`\\df@tag`)?(y.push(t.subparse([new Lr(`\\df@tag`)])),t.gullet.macros.set(`\\df@tag`,void 0,!0)):y.push(!!l&&t.gullet.macros.get(`\\@eqnsw`)===`1`))}for(b(),v.push(Rr(t));;){var S=t.parseExpression(!1,u?`\\end`:`\\\\`);t.gullet.endGroup(),t.gullet.beginGroup();var C={type:`ordgroup`,mode:t.mode,body:S};r&&(C={type:`styling`,mode:t.mode,style:r,body:[C]}),h.push(C);var ee=t.fetch().text;if(ee===`&`){if(f&&h.length===f){if(u||c)throw new e(`Too many tab characters: &`,t.nextToken);t.settings.reportNonstrict(`textEnv`,`Too few columns specified in the {array} column argument.`)}t.consume()}else if(ee===`\\end`){x(),h.length===1&&C.type===`styling`&&C.body.length===1&&C.body[0].type===`ordgroup`&&C.body[0].body.length===0&&(g.length>1||!d)&&g.pop(),v.length<g.length+1&&v.push([]);break}else if(ee===`\\\\`){t.consume();var te=void 0;t.gullet.future().text!==` `&&(te=t.parseSizeGroup(!0)),_.push(te?te.value:null),x(),v.push(Rr(t)),h=[],g.push(h),b()}else throw new e(`Expected & or \\\\ or \\cr or \\end`,t.nextToken)}return t.gullet.endGroup(),t.gullet.endGroup(),{type:`array`,mode:t.mode,addJot:a,arraystretch:s,body:g,cols:o,rowGaps:_,hskipBeforeAndAfter:i,hLinesBeforeRow:v,colSeparationType:c,tags:y,leqno:p}}function Ur(e){return e.slice(0,1)===`d`?`display`:`text`}var Wr=function(t,n){var r,i,a=t.body.length,o=t.hLinesBeforeRow,s=0,c=Array(a),l=[],u=Math.max(n.fontMetrics().arrayRuleWidth,n.minRuleThickness),d=1/n.fontMetrics().ptPerEm,f=5*d;t.colSeparationType&&t.colSeparationType===`small`&&(f=.2778*(n.havingStyle(T.SCRIPT).sizeMultiplier/n.sizeMultiplier));var p=t.colSeparationType===`CD`?E({number:3,unit:`ex`},n):12*d,m=3*d,h=t.arraystretch*p,g=.7*h,_=.3*h,v=0;function y(e){for(var t=0;t<e.length;++t)t>0&&(v+=.25),l.push({pos:v,isDashed:e[t]})}for(y(o[0]),r=0;r<t.body.length;++r){var b=t.body[r],x=g,S=_;s<b.length&&(s=b.length);var C=Array(b.length);for(i=0;i<b.length;++i){var ee=J(b[i],n);S<ee.depth&&(S=ee.depth),x<ee.height&&(x=ee.height),C[i]=ee}var te=t.rowGaps[r],w=0;te&&(w=E(te,n),w>0&&(w+=_,S<w&&(S=w),w=0)),t.addJot&&r<t.body.length-1&&(S+=m),C.height=x,C.depth=S,v+=x,C.pos=v,v+=S+w,c[r]=C,y(o[r+1])}var ne=v/2+n.fontMetrics().axisHeight,re=t.cols||[],ie=[],ae,oe,se=[];if(t.tags&&t.tags.some(e=>e))for(r=0;r<a;++r){var ce=c[r],le=ce.pos-ne,ue=t.tags[r],de=void 0;de=ue===!0?H([`eqn-num`],[],n):ue===!1?H([],[],n):H([],q(ue,n,!0),n),de.depth=ce.depth,de.height=ce.height,se.push({type:`elem`,elem:de,shift:le})}for(i=0,oe=0;i<s||oe<re.length;++i,++oe){for(var fe=re[oe],pe=!0;(me=fe)?.type===`separator`;){var me;if(pe||(ae=H([`arraycolsep`],[]),ae.style.width=D(n.fontMetrics().doubleRuleSep),ie.push(ae)),fe.separator===`|`||fe.separator===`:`){var he=fe.separator===`|`?`solid`:`dashed`,ge=H([`vertical-separator`],[],n);ge.style.height=D(v),ge.style.borderRightWidth=D(u),ge.style.borderRightStyle=he,ge.style.margin=`0 `+D(-u/2);var _e=v-ne;_e&&(ge.style.verticalAlign=D(-_e)),ie.push(ge)}else throw new e(`Invalid separator type: `+fe.separator);oe++,fe=re[oe],pe=!1}if(!(i>=s)){var ve=void 0;(i>0||t.hskipBeforeAndAfter)&&(ve=fe?.pregap??f,ve!==0&&(ae=H([`arraycolsep`],[]),ae.style.width=D(ve),ie.push(ae)));var ye=[];for(r=0;r<a;++r){var be=c[r],xe=be[i];if(xe){var Se=be.pos-ne;xe.depth=be.depth,xe.height=be.height,ye.push({type:`elem`,elem:xe,shift:Se})}}var Ce=U({positionType:`individualShift`,children:ye}),we=H([`col-align-`+(fe?.align||`c`)],[Ce]);ie.push(we),(i<s-1||t.hskipBeforeAndAfter)&&(ve=fe?.postgap??f,ve!==0&&(ae=H([`arraycolsep`],[]),ae.style.width=D(ve),ie.push(ae)))}}var Te=H([`mtable`],ie);if(l.length>0){for(var Ee=Ot(`hline`,n,u),De=Ot(`hdashline`,n,u),Oe=[{type:`elem`,elem:Te,shift:0}];l.length>0;){var ke=l.pop(),Ae=ke.pos-ne;ke.isDashed?Oe.push({type:`elem`,elem:De,shift:Ae}):Oe.push({type:`elem`,elem:Ee,shift:Ae})}Te=U({positionType:`individualShift`,children:Oe})}if(se.length===0)return H([`mord`],[Te],n);var je=H([`tag`],[U({positionType:`individualShift`,children:se})],n);return At([Te,je])},Gr={c:`center `,l:`left `,r:`right `},Kr=function(e,t){for(var n=[],r=new Y(`mtd`,[],[`mtr-glue`]),i=new Y(`mtd`,[],[`mml-eqn-num`]),a=0;a<e.body.length;a++){for(var o=e.body[a],s=[],c=0;c<o.length;c++)s.push(new Y(`mtd`,[Z(o[c],t)]));e.tags&&e.tags[a]&&(s.unshift(r),s.push(r),e.leqno?s.unshift(i):s.push(i)),n.push(new Y(`mtr`,s))}var l=new Y(`mtable`,n),u=e.arraystretch===.5?.1:.16+e.arraystretch-1+(e.addJot?.09:0);l.setAttribute(`rowspacing`,D(u));var d=``,f=``;if(e.cols&&e.cols.length>0){var p=e.cols,m=``,h=!1,g=0,_=p.length;p[0].type===`separator`&&(d+=`top `,g=1),p[p.length-1].type===`separator`&&(d+=`bottom `,--_);for(var v=g;v<_;v++){var y=p[v];y.type===`align`?(f+=Gr[y.align],h&&(m+=`none `),h=!0):y.type===`separator`&&(h&&=(m+=y.separator===`|`?`solid `:`dashed `,!1))}l.setAttribute(`columnalign`,f.trim()),/[sd]/.test(m)&&l.setAttribute(`columnlines`,m.trim())}if(e.colSeparationType===`align`){for(var b=e.cols||[],x=``,S=1;S<b.length;S++)x+=S%2?`0em `:`1em `;l.setAttribute(`columnspacing`,x.trim())}else e.colSeparationType===`alignat`||e.colSeparationType===`gather`?l.setAttribute(`columnspacing`,`0em`):e.colSeparationType===`small`?l.setAttribute(`columnspacing`,`0.2778em`):e.colSeparationType===`CD`?l.setAttribute(`columnspacing`,`0.5em`):l.setAttribute(`columnspacing`,`1em`);var C=``,ee=e.hLinesBeforeRow;d+=ee[0].length>0?`left `:``,d+=ee[ee.length-1].length>0?`right `:``;for(var te=1;te<ee.length-1;te++)C+=ee[te].length===0?`none `:ee[te][0]?`dashed `:`solid `;return/[sd]/.test(C)&&l.setAttribute(`rowlines`,C.trim()),d!==``&&(l=new Y(`menclose`,[l]),l.setAttribute(`notation`,d.trim())),e.arraystretch&&e.arraystretch<1&&(l=new Y(`mstyle`,[l]),l.setAttribute(`scriptlevel`,`1`)),l},qr=function(t,n){t.envName.includes(`ed`)||zr(t);var r=[],i=t.envName.includes(`at`)?`alignat`:`align`,a=t.envName===`split`,o=Hr(t.parser,{cols:r,addJot:!0,autoTag:a?void 0:Vr(t.envName),emptySingleRow:!0,colSeparationType:i,maxNumCols:a?2:void 0,leqno:t.parser.settings.leqno},`display`),s=0,c=0,l={type:`ordgroup`,mode:t.mode,body:[]};if(n[0]&&n[0].type===`ordgroup`){for(var u=``,d=0;d<n[0].body.length;d++){var f=Q(n[0].body[d],`textord`);u+=f.text}s=Number(u),c=s*2}var p=!c;o.body.forEach(function(t){for(var n=1;n<t.length;n+=2)Q(Q(t[n],`styling`).body[0],`ordgroup`).body.unshift(l);if(p)c<t.length&&(c=t.length);else{var r=t.length/2;if(s<r)throw new e(`Too many math in a row: `+(`expected `+s+`, but got `+r),t[0])}});for(var m=0;m<c;++m){var h=`r`,g=0;m%2==1?h=`l`:m>0&&p&&(g=1),r[m]={type:`align`,align:h,pregap:g,postgap:0}}return o.colSeparationType=p?`align`:`alignat`,o};Pr({type:`array`,names:[`array`,`darray`],props:{numArgs:1},handler(t,n){var r=(jn(n[0])?[n[0]]:Q(n[0],`ordgroup`).body).map(function(t){var n=An(t).text;if(`lcr`.includes(n))return{type:`align`,align:n};if(n===`|`)return{type:`separator`,separator:`|`};if(n===`:`)return{type:`separator`,separator:`:`};throw new e(`Unknown column alignment: `+n,t)}),i={cols:r,hskipBeforeAndAfter:!0,maxNumCols:r.length};return Hr(t.parser,i,Ur(t.envName))},htmlBuilder:Wr,mathmlBuilder:Kr}),Pr({type:`array`,names:[`matrix`,`pmatrix`,`bmatrix`,`Bmatrix`,`vmatrix`,`Vmatrix`,`matrix*`,`pmatrix*`,`bmatrix*`,`Bmatrix*`,`vmatrix*`,`Vmatrix*`],props:{numArgs:0},handler(t){var n={matrix:null,pmatrix:[`(`,`)`],bmatrix:[`[`,`]`],Bmatrix:[`\\{`,`\\}`],vmatrix:[`|`,`|`],Vmatrix:[`\\Vert`,`\\Vert`]}[t.envName.replace(`*`,``)],r=`c`,i={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`.includes(r))throw new e(`Expected l or c or r`,a.nextToken);a.consume(),a.consumeSpaces(),a.expect(`]`),a.consume(),i.cols=[{type:`align`,align:r}]}}var o=Hr(t.parser,i,Ur(t.envName)),s=Math.max(0,...o.body.map(e=>e.length));return o.cols=Array(s).fill({type:`align`,align:r}),n?{type:`leftright`,mode:t.mode,body:[o],left:n[0],right:n[1],rightColor:void 0}:o},htmlBuilder:Wr,mathmlBuilder:Kr}),Pr({type:`array`,names:[`smallmatrix`],props:{numArgs:0},handler(e){var t=Hr(e.parser,{arraystretch:.5},`script`);return t.colSeparationType=`small`,t},htmlBuilder:Wr,mathmlBuilder:Kr}),Pr({type:`array`,names:[`subarray`],props:{numArgs:1},handler(t,n){var r=(jn(n[0])?[n[0]]:Q(n[0],`ordgroup`).body).map(function(t){var n=An(t).text;if(`lc`.includes(n))return{type:`align`,align:n};throw new e(`Unknown column alignment: `+n,t)});if(r.length>1)throw new e(`{subarray} can contain only one column`);var i={cols:r,hskipBeforeAndAfter:!1,arraystretch:.5},a=Hr(t.parser,i,`script`);if(a.body.length>0&&a.body[0].length>1)throw new e(`{subarray} can contain only one column`);return a},htmlBuilder:Wr,mathmlBuilder:Kr}),Pr({type:`array`,names:[`cases`,`dcases`,`rcases`,`drcases`],props:{numArgs:0},handler(e){var t=Hr(e.parser,{arraystretch:1.2,cols:[{type:`align`,align:`l`,pregap:0,postgap:1},{type:`align`,align:`l`,pregap:0,postgap:0}]},Ur(e.envName));return{type:`leftright`,mode:e.mode,body:[t],left:e.envName.includes(`r`)?`.`:`\\{`,right:e.envName.includes(`r`)?`\\}`:`.`,rightColor:void 0}},htmlBuilder:Wr,mathmlBuilder:Kr}),Pr({type:`array`,names:[`align`,`align*`,`aligned`,`split`],props:{numArgs:0},handler:qr,htmlBuilder:Wr,mathmlBuilder:Kr}),Pr({type:`array`,names:[`gathered`,`gather`,`gather*`],props:{numArgs:0},handler(e){Br.has(e.envName)&&zr(e);var t={cols:[{type:`align`,align:`c`}],addJot:!0,colSeparationType:`gather`,autoTag:Vr(e.envName),emptySingleRow:!0,leqno:e.parser.settings.leqno};return Hr(e.parser,t,`display`)},htmlBuilder:Wr,mathmlBuilder:Kr}),Pr({type:`array`,names:[`alignat`,`alignat*`,`alignedat`],props:{numArgs:1},handler:qr,htmlBuilder:Wr,mathmlBuilder:Kr}),Pr({type:`array`,names:[`equation`,`equation*`],props:{numArgs:0},handler(e){zr(e);var t={autoTag:Vr(e.envName),emptySingleRow:!0,singleRow:!0,maxNumCols:1,leqno:e.parser.settings.leqno};return Hr(e.parser,t,`display`)},htmlBuilder:Wr,mathmlBuilder:Kr}),Pr({type:`array`,names:[`CD`],props:{numArgs:0},handler(e){return zr(e),Gn(e.parser)},htmlBuilder:Wr,mathmlBuilder:Kr}),$(`\\nonumber`,`\\gdef\\@eqnsw{0}`),$(`\\notag`,`\\nonumber`),G({type:`text`,names:[`\\hline`,`\\hdashline`],props:{numArgs:0,allowedInText:!0,allowedInMath:!0},handler(t,n){throw new e(t.funcName+` valid only within array environment`)}});var Jr=Nr;G({type:`environment`,names:[`\\begin`,`\\end`],props:{numArgs:1,argTypes:[`text`]},handler(t,n){var{parser:r,funcName:i}=t,a=n[0];if(a.type!==`ordgroup`)throw new e(`Invalid environment name`,a);for(var o=``,s=0;s<a.body.length;++s)o+=Q(a.body[s],`textord`).text;if(i===`\\begin`){if(!Jr.hasOwnProperty(o))throw new e(`No such environment: `+o,a);var c=Jr[o],{args:l,optArgs:u}=r.parseArguments(`\\begin{`+o+`}`,c),d={mode:r.mode,envName:o,parser:r},f=c.handler(d,l,u);r.expect(`\\end`,!1);var p=r.nextToken,m=Q(r.parseFunction(),`environment`);if(m.name!==o)throw new e(`Mismatch: \\begin{`+o+`} matched by \\end{`+m.name+`}`,p);return f}return{type:`environment`,mode:r.mode,name:o,nameGroup:a}}});var Yr=(e,t)=>{var n=e.font,r=t.withFont(n);return J(e.body,r)},Xr=(e,t)=>{var n=e.font,r=t.withFont(n);return Z(e.body,r)},Zr={"\\Bbb":`\\mathbb`,"\\bold":`\\mathbf`,"\\frak":`\\mathfrak`,"\\bm":`\\boldsymbol`};G({type:`font`,names:[`\\mathrm`,`\\mathit`,`\\mathbf`,`\\mathnormal`,`\\mathsfit`,`\\mathbb`,`\\mathcal`,`\\mathfrak`,`\\mathscr`,`\\mathsf`,`\\mathtt`,`\\Bbb`,`\\bold`,`\\frak`],props:{numArgs:1,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=Kt(t[0]),a=r;return a in Zr&&(a=Zr[a]),{type:`font`,mode:n.mode,font:a.slice(1),body:i}},htmlBuilder:Yr,mathmlBuilder:Xr}),G({type:`mclass`,names:[`\\boldsymbol`,`\\bm`],props:{numArgs:1},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:`mclass`,mode:n.mode,mclass:zn(r),body:[{type:`font`,mode:n.mode,font:`boldsymbol`,body:r}],isCharacterBox:c(r)}}}),G({type:`font`,names:[`\\rm`,`\\sf`,`\\tt`,`\\bf`,`\\it`,`\\cal`],props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r,breakOnTokenText:i}=e,{mode:a}=n,o=n.parseExpression(!0,i);return{type:`font`,mode:a,font:`math`+r.slice(1),body:{type:`ordgroup`,mode:n.mode,body:o}}},htmlBuilder:Yr,mathmlBuilder:Xr});var Qr=(e,t)=>{var n=t.style,r=n.fracNum(),i=n.fracDen(),a=t.havingStyle(r),o=J(e.numer,a,t);if(e.continued){var s=8.5/t.fontMetrics().ptPerEm,c=3.5/t.fontMetrics().ptPerEm;o.height=o.height<s?s:o.height,o.depth=o.depth<c?c:o.depth}a=t.havingStyle(i);var l=J(e.denom,a,t),u,d,f;e.hasBarLine?(e.barSize?(d=E(e.barSize,t),u=Ot(`frac-line`,t,d)):u=Ot(`frac-line`,t),d=u.height,f=u.height):(u=null,d=0,f=t.fontMetrics().defaultRuleThickness);var p,m,h;n.size===T.DISPLAY.size?(p=t.fontMetrics().num1,m=d>0?3*f:7*f,h=t.fontMetrics().denom1):(d>0?(p=t.fontMetrics().num2,m=f):(p=t.fontMetrics().num3,m=3*f),h=t.fontMetrics().denom2);var g;if(u){var _=t.fontMetrics().axisHeight;p-o.depth-(_+.5*d)<m&&(p+=m-(p-o.depth-(_+.5*d))),_-.5*d-(l.height-h)<m&&(h+=m-(_-.5*d-(l.height-h)));var v=-(_-.5*d);g=U({positionType:`individualShift`,children:[{type:`elem`,elem:l,shift:h},{type:`elem`,elem:u,shift:v},{type:`elem`,elem:o,shift:-p}]})}else{var y=p-o.depth-(l.height-h);y<m&&(p+=.5*(m-y),h+=.5*(m-y)),g=U({positionType:`individualShift`,children:[{type:`elem`,elem:l,shift:h},{type:`elem`,elem:o,shift:-p}]})}a=t.havingStyle(n),g.height*=a.sizeMultiplier/t.sizeMultiplier,g.depth*=a.sizeMultiplier/t.sizeMultiplier;var b=n.size===T.DISPLAY.size?t.fontMetrics().delim1:n.size===T.SCRIPTSCRIPT.size?t.havingStyle(T.SCRIPT).fontMetrics().delim2:t.fontMetrics().delim2,x=e.leftDelim==null?tn(t,[`mopen`]):Tr(e.leftDelim,b,!0,t.havingStyle(n),e.mode,[`mopen`]),S=e.continued?H([]):e.rightDelim==null?tn(t,[`mclose`]):Tr(e.rightDelim,b,!0,t.havingStyle(n),e.mode,[`mclose`]);return H([`mord`].concat(a.sizingClasses(t)),[x,H([`mfrac`],[g]),S],t)},$r=(e,t)=>{var n=new Y(`mfrac`,[Z(e.numer,t),Z(e.denom,t)]);if(!e.hasBarLine)n.setAttribute(`linethickness`,`0px`);else if(e.barSize){var r=E(e.barSize,t);n.setAttribute(`linethickness`,D(r))}if(e.leftDelim!=null||e.rightDelim!=null){var i=[];if(e.leftDelim!=null){var a=new Y(`mo`,[new X(e.leftDelim.replace(`\\`,``))]);a.setAttribute(`fence`,`true`),i.push(a)}if(i.push(n),e.rightDelim!=null){var o=new Y(`mo`,[new X(e.rightDelim.replace(`\\`,``))]);o.setAttribute(`fence`,`true`),i.push(o)}return un(i)}return n},ei=(e,t)=>t?{type:`styling`,mode:e.mode,style:t,body:[e]}:e;G({type:`genfrac`,names:[`\\cfrac`,`\\dfrac`,`\\frac`,`\\tfrac`,`\\dbinom`,`\\binom`,`\\tbinom`,`\\\\atopfrac`,`\\\\bracefrac`,`\\\\brackfrac`],props:{numArgs:2,allowedInArgument:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0],a=t[1],o,s=null,c=null;switch(r){case`\\cfrac`:case`\\dfrac`:case`\\frac`:case`\\tfrac`:o=!0;break;case`\\\\atopfrac`:o=!1;break;case`\\dbinom`:case`\\binom`:case`\\tbinom`:o=!1,s=`(`,c=`)`;break;case`\\\\bracefrac`:o=!1,s=`\\{`,c=`\\}`;break;case`\\\\brackfrac`:o=!1,s=`[`,c=`]`;break;default:throw Error(`Unrecognized genfrac command`)}var l=r===`\\cfrac`,u=null;return l||r.startsWith(`\\d`)?u=`display`:r.startsWith(`\\t`)&&(u=`text`),ei({type:`genfrac`,mode:n.mode,numer:i,denom:a,continued:l,hasBarLine:o,leftDelim:s,rightDelim:c,barSize:null},u)},htmlBuilder:Qr,mathmlBuilder:$r}),G({type:`infix`,names:[`\\over`,`\\choose`,`\\atop`,`\\brace`,`\\brack`],props:{numArgs:0,infix:!0},handler(e){var{parser:t,funcName:n,token:r}=e,i;switch(n){case`\\over`:i=`\\frac`;break;case`\\choose`:i=`\\binom`;break;case`\\atop`:i=`\\\\atopfrac`;break;case`\\brace`:i=`\\\\bracefrac`;break;case`\\brack`:i=`\\\\brackfrac`;break;default:throw Error(`Unrecognized infix genfrac command`)}return{type:`infix`,mode:t.mode,replaceWith:i,token:r}}});var ti=[`display`,`text`,`script`,`scriptscript`],ni=function(e){var t=null;return e.length>0&&(t=e,t=t===`.`?null:t),t};G({type:`genfrac`,names:[`\\genfrac`],props:{numArgs:6,allowedInArgument:!0,argTypes:[`math`,`math`,`size`,`text`,`math`,`math`]},handler(e,t){var{parser:n}=e,r=t[4],i=t[5],a=Kt(t[0]),o=a.type===`atom`&&a.family===`open`?ni(a.text):null,s=Kt(t[1]),c=s.type===`atom`&&s.family===`close`?ni(s.text):null,l=Q(t[2],`size`),u,d=null;l.isBlank?u=!0:(d=l.value,u=d.number>0);var f=null,p=t[3];if(p.type===`ordgroup`){if(p.body.length>0){var m=Q(p.body[0],`textord`);f=ti[Number(m.text)]}}else p=Q(p,`textord`),f=ti[Number(p.text)];return ei({type:`genfrac`,mode:n.mode,numer:r,denom:i,continued:!1,hasBarLine:u,barSize:d,leftDelim:o,rightDelim:c},f)}}),G({type:`infix`,names:[`\\above`],props:{numArgs:1,argTypes:[`size`],infix:!0},handler(e,t){var{parser:n,funcName:r,token:i}=e;return{type:`infix`,mode:n.mode,replaceWith:`\\\\abovefrac`,size:Q(t[0],`size`).value,token:i}}}),G({type:`genfrac`,names:[`\\\\abovefrac`],props:{numArgs:3,argTypes:[`math`,`size`,`math`]},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0],a=Q(t[1],`infix`).size;if(!a)throw Error(`\\\\abovefrac expected size, but got `+String(a));var o=t[2],s=a.number>0;return{type:`genfrac`,mode:n.mode,numer:i,denom:o,continued:!1,hasBarLine:s,barSize:a,leftDelim:null,rightDelim:null}}});var ri=(e,t)=>{var n=t.style,r,i;e.type===`supsub`?(r=e.sup?J(e.sup,t.havingStyle(n.sup()),t):J(e.sub,t.havingStyle(n.sub()),t),i=Q(e.base,`horizBrace`)):i=Q(e,`horizBrace`);var a=J(i.base,t.havingBaseStyle(T.DISPLAY)),o=On(i,t),s;if(i.isOver?(s=U({positionType:`firstBaseline`,children:[{type:`elem`,elem:a},{type:`kern`,size:.1},{type:`elem`,elem:o}]}),s.children[0].children[0].children[1].classes.push(`svg-align`)):(s=U({positionType:`bottom`,positionData:a.depth+.1+o.height,children:[{type:`elem`,elem:o},{type:`kern`,size:.1},{type:`elem`,elem:a}]}),s.children[0].children[0].children[0].classes.push(`svg-align`)),r){var c=H([`minner`,i.isOver?`mover`:`munder`],[s],t);s=i.isOver?U({positionType:`firstBaseline`,children:[{type:`elem`,elem:c},{type:`kern`,size:.2},{type:`elem`,elem:r}]}):U({positionType:`bottom`,positionData:c.depth+.2+r.height+r.depth,children:[{type:`elem`,elem:r},{type:`kern`,size:.2},{type:`elem`,elem:c}]})}return H([`minner`,i.isOver?`mover`:`munder`],[s],t)};G({type:`horizBrace`,names:[`\\overbrace`,`\\underbrace`,`\\overbracket`,`\\underbracket`],props:{numArgs:1},handler(e,t){var{parser:n,funcName:r}=e;return{type:`horizBrace`,mode:n.mode,label:r,isOver:r.includes(`\\over`),base:t[0]}},htmlBuilder:ri,mathmlBuilder:(e,t)=>{var n=Tn(e.label);return new Y(e.isOver?`mover`:`munder`,[Z(e.base,t),n])}}),G({type:`href`,names:[`\\href`],props:{numArgs:2,argTypes:[`url`,`original`],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[1],i=Q(t[0],`url`).url;return n.settings.isTrusted({command:`\\href`,url:i})?{type:`href`,mode:n.mode,href:i,body:K(r)}:n.formatUnsupportedCmd(`\\href`)},htmlBuilder:(e,t)=>{var n=q(e.body,t,!1);return kt(e.href,[],n,t)},mathmlBuilder:(e,t)=>{var n=mn(e.body,t);return n instanceof Y||(n=new Y(`mrow`,[n])),n.setAttribute(`href`,e.href),n}}),G({type:`href`,names:[`\\url`],props:{numArgs:1,argTypes:[`url`],allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=Q(t[0],`url`).url;if(!n.settings.isTrusted({command:`\\url`,url:r}))return n.formatUnsupportedCmd(`\\url`);for(var i=[],a=0;a<r.length;a++){var o=r[a];o===`~`&&(o=`\\textasciitilde`),i.push({type:`textord`,mode:`text`,text:o})}var s={type:`text`,mode:n.mode,font:`\\texttt`,body:i};return{type:`href`,mode:n.mode,href:r,body:K(s)}}}),G({type:`hbox`,names:[`\\hbox`],props:{numArgs:1,argTypes:[`text`],allowedInText:!0,primitive:!0},handler(e,t){var{parser:n}=e;return{type:`hbox`,mode:n.mode,body:K(t[0])}},htmlBuilder(e,t){return At(q(e.body,t,!1))},mathmlBuilder(e,t){return new Y(`mrow`,pn(e.body,t))}}),G({type:`html`,names:[`\\htmlClass`,`\\htmlId`,`\\htmlStyle`,`\\htmlData`],props:{numArgs:2,argTypes:[`raw`,`original`],allowedInText:!0},handler:(t,n)=>{var{parser:r,funcName:i,token:a}=t,o=Q(n[0],`raw`).string,s=n[1];r.settings.strict&&r.settings.reportNonstrict(`htmlExtension`,`HTML extension is disabled on strict mode`);var c,l={};switch(i){case`\\htmlClass`:l.class=o,c={command:`\\htmlClass`,class:o};break;case`\\htmlId`:l.id=o,c={command:`\\htmlId`,id:o};break;case`\\htmlStyle`:l.style=o,c={command:`\\htmlStyle`,style:o};break;case`\\htmlData`:for(var u=o.split(`,`),d=0;d<u.length;d++){var f=u[d],p=f.indexOf(`=`);if(p<0)throw new e(`\\htmlData key/value '`+f+`' missing equals sign`);var m=f.slice(0,p),h=f.slice(p+1);l[`data-`+m.trim()]=h}c={command:`\\htmlData`,attributes:l};break;default:throw Error(`Unrecognized html command`)}return r.settings.isTrusted(c)?{type:`html`,mode:r.mode,attributes:l,body:K(s)}:r.formatUnsupportedCmd(i)},htmlBuilder:(e,t)=>{var n=q(e.body,t,!1),r=[`enclosing`];e.attributes.class&&r.push(...e.attributes.class.trim().split(/\s+/));var i=H(r,n,t);for(var a in e.attributes)a!==`class`&&e.attributes.hasOwnProperty(a)&&i.setAttribute(a,e.attributes[a]);return i},mathmlBuilder:(e,t)=>mn(e.body,t)}),G({type:`htmlmathml`,names:[`\\html@mathml`],props:{numArgs:2,allowedInArgument:!0,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e;return{type:`htmlmathml`,mode:n.mode,html:K(t[0]),mathml:K(t[1])}},htmlBuilder:(e,t)=>At(q(e.html,t,!1)),mathmlBuilder:(e,t)=>mn(e.mathml,t)});var ii=function(t){if(/^[-+]? *(\d+(\.\d*)?|\.\d+)$/.test(t))return{number:+t,unit:`bp`};var n=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(t);if(!n)throw new e(`Invalid size: '`+t+`' in \\includegraphics`);var r={number:+(n[1]+n[2]),unit:n[3]};if(!Ce(r))throw new e(`Invalid unit: '`+r.unit+`' in \\includegraphics.`);return r};G({type:`includegraphics`,names:[`\\includegraphics`],props:{numArgs:1,numOptionalArgs:1,argTypes:[`raw`,`url`],allowedInText:!1},handler:(t,n,r)=>{var{parser:i}=t,a={number:0,unit:`em`},o={number:.9,unit:`em`},s={number:0,unit:`em`},c=``;if(r[0])for(var l=Q(r[0],`raw`).string.split(`,`),u=0;u<l.length;u++){var d=l[u].split(`=`);if(d.length===2){var f=d[1].trim();switch(d[0].trim()){case`alt`:c=f;break;case`width`:a=ii(f);break;case`height`:o=ii(f);break;case`totalheight`:s=ii(f);break;default:throw new e(`Invalid key: '`+d[0]+`' in \\includegraphics.`)}}}var p=Q(n[0],`url`).url;return c===``&&(c=p,c=c.replace(/^.*[\\/]/,``),c=c.substring(0,c.lastIndexOf(`.`))),i.settings.isTrusted({command:`\\includegraphics`,url:p})?{type:`includegraphics`,mode:i.mode,alt:c,width:a,height:o,totalheight:s,src:p}:i.formatUnsupportedCmd(`\\includegraphics`)},htmlBuilder:(e,t)=>{var n=E(e.height,t),r=0;e.totalheight.number>0&&(r=E(e.totalheight,t)-n);var i=0;e.width.number>0&&(i=E(e.width,t));var a={height:D(n+r)};i>0&&(a.width=D(i)),r>0&&(a.verticalAlign=D(-r));var o=new je(e.src,e.alt,a);return o.height=n,o.depth=r,o},mathmlBuilder:(e,t)=>{var n=new Y(`mglyph`,[]);n.setAttribute(`alt`,e.alt);var r=E(e.height,t),i=0;if(e.totalheight.number>0&&(i=E(e.totalheight,t)-r,n.setAttribute(`valign`,D(-i))),n.setAttribute(`height`,D(r+i)),e.width.number>0){var a=E(e.width,t);n.setAttribute(`width`,D(a))}return n.setAttribute(`src`,e.src),n}}),G({type:`kern`,names:[`\\kern`,`\\mkern`,`\\hskip`,`\\mskip`],props:{numArgs:1,argTypes:[`size`],primitive:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,i=Q(t[0],`size`);if(n.settings.strict){var a=r[1]===`m`,o=i.value.unit===`mu`;a?(o||n.settings.reportNonstrict(`mathVsTextUnits`,`LaTeX's `+r+` supports only mu units, `+(`not `+i.value.unit+` units`)),n.mode!==`math`&&n.settings.reportNonstrict(`mathVsTextUnits`,`LaTeX's `+r+` works only in math mode`)):o&&n.settings.reportNonstrict(`mathVsTextUnits`,`LaTeX's `+r+` doesn't support mu units`)}return{type:`kern`,mode:n.mode,dimension:i.value}},htmlBuilder(e,t){return Nt(e.dimension,t)},mathmlBuilder(e,t){return new on(E(e.dimension,t))}}),G({type:`lap`,names:[`\\mathllap`,`\\mathrlap`,`\\mathclap`],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:`lap`,mode:n.mode,alignment:r.slice(5),body:i}},htmlBuilder:(e,t)=>{var n;e.alignment===`clap`?(n=H([],[J(e.body,t)]),n=H([`inner`],[n],t)):n=H([`inner`],[J(e.body,t)]);var r=H([`fix`],[]),i=H([e.alignment],[n,r],t),a=H([`strut`]);return a.style.height=D(i.height+i.depth),i.depth&&(a.style.verticalAlign=D(-i.depth)),i.children.unshift(a),i=H([`thinbox`],[i],t),H([`mord`,`vbox`],[i],t)},mathmlBuilder:(e,t)=>{var n=new Y(`mpadded`,[Z(e.body,t)]);if(e.alignment!==`rlap`){var r=e.alignment===`llap`?`-1`:`-0.5`;n.setAttribute(`lspace`,r+`width`)}return n.setAttribute(`width`,`0px`),n}}),G({type:`styling`,names:[`\\(`,`$`],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(e,t){var{funcName:n,parser:r}=e,i=r.mode;r.switchMode(`math`);var a=n===`\\(`?`\\)`:`$`,o=r.parseExpression(!1,a);return r.expect(a),r.switchMode(i),{type:`styling`,mode:r.mode,style:`text`,body:o}}}),G({type:`text`,names:[`\\)`,`\\]`],props:{numArgs:0,allowedInText:!0,allowedInMath:!1},handler(t,n){throw new e(`Mismatched `+t.funcName)}});var ai=(e,t)=>{switch(t.style.size){case T.DISPLAY.size:return e.display;case T.TEXT.size:return e.text;case T.SCRIPT.size:return e.script;case T.SCRIPTSCRIPT.size:return e.scriptscript;default:return e.text}};G({type:`mathchoice`,names:[`\\mathchoice`],props:{numArgs:4,primitive:!0},handler:(e,t)=>{var{parser:n}=e;return{type:`mathchoice`,mode:n.mode,display:K(t[0]),text:K(t[1]),script:K(t[2]),scriptscript:K(t[3])}},htmlBuilder:(e,t)=>At(q(ai(e,t),t,!1)),mathmlBuilder:(e,t)=>mn(ai(e,t),t)});var oi=(e,t,n,r,i,a,o)=>{e=H([],[e]);var s=n&&c(n),l,u;if(t){var d=J(t,r.havingStyle(i.sup()),r);u={elem:d,kern:Math.max(r.fontMetrics().bigOpSpacing1,r.fontMetrics().bigOpSpacing3-d.depth)}}if(n){var f=J(n,r.havingStyle(i.sub()),r);l={elem:f,kern:Math.max(r.fontMetrics().bigOpSpacing2,r.fontMetrics().bigOpSpacing4-f.height)}}var p;if(u&&l)p=U({positionType:`bottom`,positionData:r.fontMetrics().bigOpSpacing5+l.elem.height+l.elem.depth+l.kern+e.depth+o,children:[{type:`kern`,size:r.fontMetrics().bigOpSpacing5},{type:`elem`,elem:l.elem,marginLeft:D(-a)},{type:`kern`,size:l.kern},{type:`elem`,elem:e},{type:`kern`,size:u.kern},{type:`elem`,elem:u.elem,marginLeft:D(a)},{type:`kern`,size:r.fontMetrics().bigOpSpacing5}]});else if(l)p=U({positionType:`top`,positionData:e.height-o,children:[{type:`kern`,size:r.fontMetrics().bigOpSpacing5},{type:`elem`,elem:l.elem,marginLeft:D(-a)},{type:`kern`,size:l.kern},{type:`elem`,elem:e}]});else if(u)p=U({positionType:`bottom`,positionData:e.depth+o,children:[{type:`elem`,elem:e},{type:`kern`,size:u.kern},{type:`elem`,elem:u.elem,marginLeft:D(a)},{type:`kern`,size:r.fontMetrics().bigOpSpacing5}]});else return e;var m=[p];if(l&&a!==0&&!s){var h=H([`mspace`],[],r);h.style.marginRight=D(a),m.unshift(h)}return H([`mop`,`op-limits`],m,r)},si=new Set([`\\smallint`]),ci=(e,t)=>{var n,r,i=!1,a;e.type===`supsub`?(n=e.sup,r=e.sub,a=Q(e.base,`op`),i=!0):a=Q(e,`op`);var o=t.style,s=!1;o.size===T.DISPLAY.size&&a.symbol&&!si.has(a.name)&&(s=!0);var c;if(a.symbol){var l=s?`Size2-Regular`:`Size1-Regular`,u=``;if((a.name===`\\oiint`||a.name===`\\oiiint`)&&(u=a.name.slice(1),a.name=u===`oiint`?`\\iint`:`\\iiint`),c=bt(a.name,l,`math`,t,[`mop`,`op-symbol`,s?`large-op`:`small-op`]),u.length>0){var d=c.italic,f=Lt(u+`Size`+(s?`2`:`1`),t);c=U({positionType:`individualShift`,children:[{type:`elem`,elem:c,shift:0},{type:`elem`,elem:f,shift:s?.08:0}]}),a.name=`\\`+u,c.classes.unshift(`mop`),c.italic=d}}else if(a.body){var p=q(a.body,t,!0);p.length===1&&p[0]instanceof Ne?(c=p[0],c.classes[0]=`mop`):c=H([`mop`],p,t)}else{for(var m=[],h=1;h<a.name.length;h++)m.push(xt(a.name[h],a.mode,t));c=H([`mop`],m,t)}var g=0,_=0;return(c instanceof Ne||a.name===`\\oiint`||a.name===`\\oiiint`)&&!a.suppressBaseShift&&(g=(c.height-c.depth)/2-t.fontMetrics().axisHeight,_=c.italic||0),i?oi(c,n,r,t,o,_,g):(g&&(c.style.position=`relative`,c.style.top=D(g)),c)},li=(e,t)=>{var n;if(e.symbol)n=new Y(`mo`,[ln(e.name,e.mode)]),si.has(e.name)&&n.setAttribute(`largeop`,`false`);else if(e.body)n=new Y(`mo`,pn(e.body,t));else{n=new Y(`mi`,[new X(e.name.slice(1))]);var r=new Y(`mo`,[ln(`⁡`,`text`)]);n=e.parentIsSupSub?new Y(`mrow`,[n,r]):an([n,r])}return n},ui={"∏":`\\prod`,"∐":`\\coprod`,"∑":`\\sum`,"⋀":`\\bigwedge`,"⋁":`\\bigvee`,"⋂":`\\bigcap`,"⋃":`\\bigcup`,"⨀":`\\bigodot`,"⨁":`\\bigoplus`,"⨂":`\\bigotimes`,"⨄":`\\biguplus`,"⨆":`\\bigsqcup`};G({type:`op`,names:`\\coprod.\\bigvee.\\bigwedge.\\biguplus.\\bigcap.\\bigcup.\\intop.\\prod.\\sum.\\bigotimes.\\bigoplus.\\bigodot.\\bigsqcup.\\smallint.∏.∐.∑.⋀.⋁.⋂.⋃.⨀.⨁.⨂.⨄.⨆`.split(`.`),props:{numArgs:0},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=r;return i.length===1&&(i=ui[i]),{type:`op`,mode:n.mode,limits:!0,parentIsSupSub:!1,symbol:!0,name:i}},htmlBuilder:ci,mathmlBuilder:li}),G({type:`op`,names:[`\\mathop`],props:{numArgs:1,primitive:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:`op`,mode:n.mode,limits:!1,parentIsSupSub:!1,symbol:!1,body:K(r)}},htmlBuilder:ci,mathmlBuilder:li});var di={"∫":`\\int`,"∬":`\\iint`,"∭":`\\iiint`,"∮":`\\oint`,"∯":`\\oiint`,"∰":`\\oiiint`};G({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`.split(`.`),props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:`op`,mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:ci,mathmlBuilder:li}),G({type:`op`,names:[`\\det`,`\\gcd`,`\\inf`,`\\lim`,`\\max`,`\\min`,`\\Pr`,`\\sup`],props:{numArgs:0},handler(e){var{parser:t,funcName:n}=e;return{type:`op`,mode:t.mode,limits:!0,parentIsSupSub:!1,symbol:!1,name:n}},htmlBuilder:ci,mathmlBuilder:li}),G({type:`op`,names:[`\\int`,`\\iint`,`\\iiint`,`\\oint`,`\\oiint`,`\\oiiint`,`∫`,`∬`,`∭`,`∮`,`∯`,`∰`],props:{numArgs:0,allowedInArgument:!0},handler(e){var{parser:t,funcName:n}=e,r=n;return r.length===1&&(r=di[r]),{type:`op`,mode:t.mode,limits:!1,parentIsSupSub:!1,symbol:!0,name:r}},htmlBuilder:ci,mathmlBuilder:li});var fi=(e,t)=>{var n,r,i=!1,a;e.type===`supsub`?(n=e.sup,r=e.sub,a=Q(e.base,`operatorname`),i=!0):a=Q(e,`operatorname`);var o;if(a.body.length>0){for(var s=q(a.body.map(e=>{var t=`text`in e?e.text:void 0;return typeof t==`string`?{type:`textord`,mode:e.mode,text:t}:e}),t.withFont(`mathrm`),!0),c=0;c<s.length;c++){var l=s[c];l instanceof Ne&&(l.text=l.text.replace(/\u2212/,`-`).replace(/\u2217/,`*`))}o=H([`mop`],s,t)}else o=H([`mop`],[],t);return i?oi(o,n,r,t,t.style,0,0):o};G({type:`operatorname`,names:[`\\operatorname@`,`\\operatornamewithlimits`],props:{numArgs:1},handler:(e,t)=>{var{parser:n,funcName:r}=e,i=t[0];return{type:`operatorname`,mode:n.mode,body:K(i),alwaysHandleSupSub:r===`\\operatornamewithlimits`,limits:!1,parentIsSupSub:!1}},htmlBuilder:fi,mathmlBuilder:(e,t)=>{for(var n=pn(e.body,t.withFont(`mathrm`)),r=!0,i=0;i<n.length;i++){var a=n[i];if(!(a instanceof on))if(a instanceof Y)switch(a.type){case`mi`:case`mn`:case`mspace`:case`mtext`:break;case`mo`:var o=a.children[0];a.children.length===1&&o instanceof X?o.text=o.text.replace(/\u2212/,`-`).replace(/\u2217/,`*`):r=!1;break;default:r=!1}else r=!1}r&&(n=[new X(n.map(e=>e.toText()).join(``))]);var s=new Y(`mi`,n);s.setAttribute(`mathvariant`,`normal`);var c=new Y(`mo`,[ln(`⁡`,`text`)]);return e.parentIsSupSub?new Y(`mrow`,[s,c]):an([s,c])}}),$(`\\operatorname`,`\\@ifstar\\operatornamewithlimits\\operatorname@`),Gt({type:`ordgroup`,htmlBuilder(e,t){return e.semisimple?At(q(e.body,t,!1)):H([`mord`],q(e.body,t,!0),t)},mathmlBuilder(e,t){return mn(e.body,t,!0)}}),G({type:`overline`,names:[`\\overline`],props:{numArgs:1},handler(e,t){var{parser:n}=e,r=t[0];return{type:`overline`,mode:n.mode,body:r}},htmlBuilder(e,t){var n=J(e.body,t.havingCrampedStyle()),r=Ot(`overline-line`,t),i=t.fontMetrics().defaultRuleThickness;return H([`mord`,`overline`],[U({positionType:`firstBaseline`,children:[{type:`elem`,elem:n},{type:`kern`,size:3*i},{type:`elem`,elem:r},{type:`kern`,size:i}]})],t)},mathmlBuilder(e,t){var n=new Y(`mo`,[new X(`‾`)]);n.setAttribute(`stretchy`,`true`);var r=new Y(`mover`,[Z(e.body,t),n]);return r.setAttribute(`accent`,`true`),r}}),G({type:`phantom`,names:[`\\phantom`],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:`phantom`,mode:n.mode,body:K(r)}},htmlBuilder:(e,t)=>At(q(e.body,t.withPhantom(),!1)),mathmlBuilder:(e,t)=>new Y(`mphantom`,pn(e.body,t))}),$(`\\hphantom`,`\\smash{\\phantom{#1}}`),G({type:`vphantom`,names:[`\\vphantom`],props:{numArgs:1,allowedInText:!0},handler:(e,t)=>{var{parser:n}=e,r=t[0];return{type:`vphantom`,mode:n.mode,body:r}},htmlBuilder:(e,t)=>H([`mord`,`rlap`],[H([`inner`],[J(e.body,t.withPhantom())]),H([`fix`],[])],t),mathmlBuilder:(e,t)=>{var n=new Y(`mpadded`,[new Y(`mphantom`,pn(K(e.body),t))]);return n.setAttribute(`width`,`0px`),n}}),G({type:`raisebox`,names:[`\\raisebox`],props:{numArgs:2,argTypes:[`size`,`hbox`],allowedInText:!0},handler(e,t){var{parser:n}=e,r=Q(t[0],`size`).value,i=t[1];return{type:`raisebox`,mode:n.mode,dy:r,body:i}},htmlBuilder(e,t){var n=J(e.body,t);return U({positionType:`shift`,positionData:-E(e.dy,t),children:[{type:`elem`,elem:n}]})},mathmlBuilder(e,t){var n=new Y(`mpadded`,[Z(e.body,t)]),r=e.dy.number+e.dy.unit;return n.setAttribute(`voffset`,r),n}}),G({type:`internal`,names:[`\\relax`],props:{numArgs:0,allowedInText:!0,allowedInArgument:!0},handler(e){var{parser:t}=e;return{type:`internal`,mode:t.mode}}}),G({type:`rule`,names:[`\\rule`],props:{numArgs:2,numOptionalArgs:1,allowedInText:!0,allowedInMath:!0,argTypes:[`size`,`size`,`size`]},handler(e,t,n){var{parser:r}=e,i=n[0],a=Q(t[0],`size`),o=Q(t[1],`size`);return{type:`rule`,mode:r.mode,shift:i&&Q(i,`size`).value,width:a.value,height:o.value}},htmlBuilder(e,t){var n=H([`mord`,`rule`],[],t),r=E(e.width,t),i=E(e.height,t),a=e.shift?E(e.shift,t):0;return n.style.borderRightWidth=D(r),n.style.borderTopWidth=D(i),n.style.bottom=D(a),n.width=r,n.height=i+a,n.depth=-a,n.maxFontSize=i*1.125*t.sizeMultiplier,n},mathmlBuilder(e,t){var n=E(e.width,t),r=E(e.height,t),i=e.shift?E(e.shift,t):0,a=t.color&&t.getColor()||`black`,o=new Y(`mspace`);o.setAttribute(`mathbackground`,a),o.setAttribute(`width`,D(n)),o.setAttribute(`height`,D(r));var s=new Y(`mpadded`,[o]);return i>=0?s.setAttribute(`height`,D(i)):(s.setAttribute(`height`,D(i)),s.setAttribute(`depth`,D(-i))),s.setAttribute(`voffset`,D(i)),s}});function pi(e,t,n){for(var r=q(e,t,!1),i=t.sizeMultiplier/n.sizeMultiplier,a=0;a<r.length;a++){var o=r[a].classes.indexOf(`sizing`);o<0?Array.prototype.push.apply(r[a].classes,t.sizingClasses(n)):r[a].classes[o+1]===`reset-size`+t.size&&(r[a].classes[o+1]=`reset-size`+n.size),r[a].height*=i,r[a].depth*=i}return At(r)}var mi=[`\\tiny`,`\\sixptsize`,`\\scriptsize`,`\\footnotesize`,`\\small`,`\\normalsize`,`\\large`,`\\Large`,`\\LARGE`,`\\huge`,`\\Huge`];G({type:`sizing`,names:mi,props:{numArgs:0,allowedInText:!0},handler:(e,t)=>{var{breakOnTokenText:n,funcName:r,parser:i}=e,a=i.parseExpression(!1,n);return{type:`sizing`,mode:i.mode,size:mi.indexOf(r)+1,body:a}},htmlBuilder:(e,t)=>{var n=t.havingSize(e.size);return pi(e.body,n,t)},mathmlBuilder:(e,t)=>{var n=t.havingSize(e.size),r=new Y(`mstyle`,pn(e.body,n));return r.setAttribute(`mathsize`,D(n.sizeMultiplier)),r}}),G({type:`smash`,names:[`\\smash`],props:{numArgs:1,numOptionalArgs:1,allowedInText:!0},handler:(e,t,n)=>{var{parser:r}=e,i=!1,a=!1,o=n[0]&&Q(n[0],`ordgroup`);if(o)for(var s=``,c=0;c<o.body.length;++c){var l=o.body[c];if(s=An(l).text,s===`t`)i=!0;else if(s===`b`)a=!0;else{i=!1,a=!1;break}}else i=!0,a=!0;var u=t[0];return{type:`smash`,mode:r.mode,body:u,smashHeight:i,smashDepth:a}},htmlBuilder:(e,t)=>{var n=H([],[J(e.body,t)]);if(!e.smashHeight&&!e.smashDepth)return n;if(e.smashHeight&&(n.height=0),e.smashDepth&&(n.depth=0),e.smashHeight&&e.smashDepth)return H([`mord`,`smash`],[n],t);if(n.children)for(var r=0;r<n.children.length;r++)e.smashHeight&&(n.children[r].height=0),e.smashDepth&&(n.children[r].depth=0);return H([`mord`],[U({positionType:`firstBaseline`,children:[{type:`elem`,elem:n}]})],t)},mathmlBuilder:(e,t)=>{var n=new Y(`mpadded`,[Z(e.body,t)]);return e.smashHeight&&n.setAttribute(`height`,`0px`),e.smashDepth&&n.setAttribute(`depth`,`0px`),n}}),G({type:`sqrt`,names:[`\\sqrt`],props:{numArgs:1,numOptionalArgs:1},handler(e,t,n){var{parser:r}=e,i=n[0],a=t[0];return{type:`sqrt`,mode:r.mode,body:a,index:i}},htmlBuilder(e,t){var n=J(e.body,t.havingCrampedStyle());n.height===0&&(n.height=t.fontMetrics().xHeight),n=jt(n,t);var r=t.fontMetrics().defaultRuleThickness,i=r;t.style.id<T.TEXT.id&&(i=t.fontMetrics().xHeight);var a=r+i/4,{span:o,ruleWidth:s,advanceWidth:c}=mr(n.height+n.depth+a+r,t),l=o.height-s;l>n.height+n.depth+a&&(a=(a+l-n.height-n.depth)/2);var u=o.height-n.height-a-s;n.style.paddingLeft=D(c);var d=U({positionType:`firstBaseline`,children:[{type:`elem`,elem:n,wrapperClasses:[`svg-align`]},{type:`kern`,size:-(n.height+u)},{type:`elem`,elem:o},{type:`kern`,size:s}]});if(e.index){var f=t.havingStyle(T.SCRIPTSCRIPT),p=J(e.index,f,t);return H([`mord`,`sqrt`],[H([`root`],[U({positionType:`shift`,positionData:-(.6*(d.height-d.depth)),children:[{type:`elem`,elem:p}]})]),d],t)}else return H([`mord`,`sqrt`],[d],t)},mathmlBuilder(e,t){var{body:n,index:r}=e;return r?new Y(`mroot`,[Z(n,t),Z(r,t)]):new Y(`msqrt`,[Z(n,t)])}});var hi={display:T.DISPLAY,text:T.TEXT,script:T.SCRIPT,scriptscript:T.SCRIPTSCRIPT};G({type:`styling`,names:[`\\displaystyle`,`\\textstyle`,`\\scriptstyle`,`\\scriptscriptstyle`],props:{numArgs:0,allowedInText:!0,primitive:!0},handler(e,t){var{breakOnTokenText:n,funcName:r,parser:i}=e,a=i.parseExpression(!0,n),o=r.slice(1,r.length-5);return{type:`styling`,mode:i.mode,style:o,body:a}},htmlBuilder(e,t){var n=hi[e.style],r=t.havingStyle(n).withFont(``);return pi(e.body,r,t)},mathmlBuilder(e,t){var n=hi[e.style],r=t.havingStyle(n),i=new Y(`mstyle`,pn(e.body,r)),a={display:[`0`,`true`],text:[`0`,`false`],script:[`1`,`false`],scriptscript:[`2`,`false`]}[e.style];return i.setAttribute(`scriptlevel`,a[0]),i.setAttribute(`displaystyle`,a[1]),i}});var gi=function(e,t){var n=e.base;return n?n.type===`op`?n.limits&&(t.style.size===T.DISPLAY.size||n.alwaysHandleSupSub)?ci:null:n.type===`operatorname`?n.alwaysHandleSupSub&&(t.style.size===T.DISPLAY.size||n.limits)?fi:null:n.type===`accent`?c(n.base)?Nn:null:n.type===`horizBrace`&&!e.sub===n.isOver?ri:null:null};Gt({type:`supsub`,htmlBuilder(e,t){var n=gi(e,t);if(n)return n(e,t);var{base:r,sup:i,sub:a}=e,o=J(r,t),s,l,u=t.fontMetrics(),d=0,f=0,p=r&&c(r);if(i){var m=t.havingStyle(t.style.sup());s=J(i,m,t),p||(d=o.height-m.fontMetrics().supDrop*m.sizeMultiplier/t.sizeMultiplier)}if(a){var h=t.havingStyle(t.style.sub());l=J(a,h,t),p||(f=o.depth+h.fontMetrics().subDrop*h.sizeMultiplier/t.sizeMultiplier)}var g=t.style===T.DISPLAY?u.sup1:t.style.cramped?u.sup3:u.sup2,_=t.sizeMultiplier,v=D(.5/u.ptPerEm/_),y=null;if(l){var b=e.base&&e.base.type===`op`&&e.base.name&&(e.base.name===`\\oiint`||e.base.name===`\\oiiint`);(o instanceof Ne||b)&&(y=D(-o.italic))}var x;if(s&&l){d=Math.max(d,g,s.depth+.25*u.xHeight),f=Math.max(f,u.sub2);var S=4*u.defaultRuleThickness;if(d-s.depth-(l.height-f)<S){f=S-(d-s.depth)+l.height;var C=.8*u.xHeight-(d-s.depth);C>0&&(d+=C,f-=C)}x=U({positionType:`individualShift`,children:[{type:`elem`,elem:l,shift:f,marginRight:v,marginLeft:y},{type:`elem`,elem:s,shift:-d,marginRight:v}]})}else if(l)f=Math.max(f,u.sub1,l.height-.8*u.xHeight),x=U({positionType:`shift`,positionData:f,children:[{type:`elem`,elem:l,marginLeft:y,marginRight:v}]});else if(s)d=Math.max(d,g,s.depth+.25*u.xHeight),x=U({positionType:`shift`,positionData:-d,children:[{type:`elem`,elem:s,marginRight:v}]});else throw Error(`supsub must have either sup or sub.`);return H([en(o,`right`)||`mord`],[o,H([`msupsub`],[x])],t)},mathmlBuilder(e,t){var n=!1,r,i;e.base&&e.base.type===`horizBrace`&&(i=!!e.sup,i===e.base.isOver&&(n=!0,r=e.base.isOver)),e.base&&(e.base.type===`op`||e.base.type===`operatorname`)&&(e.base.parentIsSupSub=!0);var a=[Z(e.base,t)];e.sub&&a.push(Z(e.sub,t)),e.sup&&a.push(Z(e.sup,t));var o;if(n)o=r?`mover`:`munder`;else if(!e.sub){var s=e.base;o=s&&s.type===`op`&&s.limits&&(t.style===T.DISPLAY||s.alwaysHandleSupSub)||s&&s.type===`operatorname`&&s.alwaysHandleSupSub&&(s.limits||t.style===T.DISPLAY)?`mover`:`msup`}else if(e.sup){var c=e.base;o=c&&c.type===`op`&&c.limits&&t.style===T.DISPLAY||c&&c.type===`operatorname`&&c.alwaysHandleSupSub&&(t.style===T.DISPLAY||c.limits)?`munderover`:`msubsup`}else{var l=e.base;o=l&&l.type===`op`&&l.limits&&(t.style===T.DISPLAY||l.alwaysHandleSupSub)||l&&l.type===`operatorname`&&l.alwaysHandleSupSub&&(l.limits||t.style===T.DISPLAY)?`munder`:`msub`}return new Y(o,a)}}),Gt({type:`atom`,htmlBuilder(e,t){return xt(e.text,e.mode,t,[`m`+e.family])},mathmlBuilder(e,t){var n=new Y(`mo`,[ln(e.text,e.mode)]);if(e.family===`bin`){var r=dn(e,t);r===`bold-italic`&&n.setAttribute(`mathvariant`,r)}else e.family===`punct`?n.setAttribute(`separator`,`true`):(e.family===`open`||e.family===`close`)&&n.setAttribute(`stretchy`,`false`);return n}});var _i={mi:`italic`,mn:`normal`,mtext:`normal`};Gt({type:`mathord`,htmlBuilder(e,t){return Ct(e,t,`mathord`)},mathmlBuilder(e,t){var n=new Y(`mi`,[ln(e.text,e.mode,t)]),r=dn(e,t)||`italic`;return r!==_i[n.type]&&n.setAttribute(`mathvariant`,r),n}}),Gt({type:`textord`,htmlBuilder(e,t){return Ct(e,t,`textord`)},mathmlBuilder(e,t){var n=ln(e.text,e.mode,t),r=dn(e,t)||`normal`,i=e.mode===`text`?new Y(`mtext`,[n]):/[0-9]/.test(e.text)?new Y(`mn`,[n]):e.text===`\\prime`?new Y(`mo`,[n]):new Y(`mi`,[n]);return r!==_i[i.type]&&i.setAttribute(`mathvariant`,r),i}});var vi={"\\nobreak":`nobreak`,"\\allowbreak":`allowbreak`},yi={" ":{},"\\ ":{},"~":{className:`nobreak`},"\\space":{},"\\nobreakspace":{className:`nobreak`}};Gt({type:`spacing`,htmlBuilder(t,n){if(yi.hasOwnProperty(t.text)){var r=yi[t.text].className||``;if(t.mode===`text`){var i=Ct(t,n,`textord`);return i.classes.push(r),i}else return H([`mspace`,r],[xt(t.text,t.mode,n)],n)}else if(vi.hasOwnProperty(t.text))return H([`mspace`,vi[t.text]],[],n);else throw new e(`Unknown type of space "`+t.text+`"`)},mathmlBuilder(t,n){var r;if(yi.hasOwnProperty(t.text))r=new Y(`mtext`,[new X(`\xA0`)]);else if(vi.hasOwnProperty(t.text))return new Y(`mspace`);else throw new e(`Unknown type of space "`+t.text+`"`);return r}});var bi=()=>{var e=new Y(`mtd`,[]);return e.setAttribute(`width`,`50%`),e};Gt({type:`tag`,mathmlBuilder(e,t){var n=new Y(`mtable`,[new Y(`mtr`,[bi(),new Y(`mtd`,[mn(e.body,t)]),bi(),new Y(`mtd`,[mn(e.tag,t)])])]);return n.setAttribute(`width`,`100%`),n}});var xi={"\\text":void 0,"\\textrm":`textrm`,"\\textsf":`textsf`,"\\texttt":`texttt`,"\\textnormal":`textrm`},Si={"\\textbf":`textbf`,"\\textmd":`textmd`},Ci={"\\textit":`textit`,"\\textup":`textup`},wi=(e,t)=>{var n=e.font;return n?xi[n]?t.withTextFontFamily(xi[n]):Si[n]?t.withTextFontWeight(Si[n]):n===`\\emph`?t.fontShape===`textit`?t.withTextFontShape(`textup`):t.withTextFontShape(`textit`):t.withTextFontShape(Ci[n]):t};G({type:`text`,names:[`\\text`,`\\textrm`,`\\textsf`,`\\texttt`,`\\textnormal`,`\\textbf`,`\\textmd`,`\\textit`,`\\textup`,`\\emph`],props:{numArgs:1,argTypes:[`text`],allowedInArgument:!0,allowedInText:!0},handler(e,t){var{parser:n,funcName:r}=e,i=t[0];return{type:`text`,mode:n.mode,body:K(i),font:r}},htmlBuilder(e,t){var n=wi(e,t);return H([`mord`,`text`],q(e.body,n,!0),n)},mathmlBuilder(e,t){var n=wi(e,t);return mn(e.body,n)}}),G({type:`underline`,names:[`\\underline`],props:{numArgs:1,allowedInText:!0},handler(e,t){var{parser:n}=e;return{type:`underline`,mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=J(e.body,t),r=Ot(`underline-line`,t),i=t.fontMetrics().defaultRuleThickness;return H([`mord`,`underline`],[U({positionType:`top`,positionData:n.height,children:[{type:`kern`,size:i},{type:`elem`,elem:r},{type:`kern`,size:3*i},{type:`elem`,elem:n}]})],t)},mathmlBuilder(e,t){var n=new Y(`mo`,[new X(`‾`)]);n.setAttribute(`stretchy`,`true`);var r=new Y(`munder`,[Z(e.body,t),n]);return r.setAttribute(`accentunder`,`true`),r}}),G({type:`vcenter`,names:[`\\vcenter`],props:{numArgs:1,argTypes:[`original`],allowedInText:!1},handler(e,t){var{parser:n}=e;return{type:`vcenter`,mode:n.mode,body:t[0]}},htmlBuilder(e,t){var n=J(e.body,t),r=t.fontMetrics().axisHeight;return U({positionType:`shift`,positionData:.5*(n.height-r-(n.depth+r)),children:[{type:`elem`,elem:n}]})},mathmlBuilder(e,t){return new Y(`mpadded`,[Z(e.body,t)],[`vcenter`])}}),G({type:`verb`,names:[`\\verb`],props:{numArgs:0,allowedInText:!0},handler(t,n,r){throw new e(`\\verb ended by end of line instead of matching delimiter`)},htmlBuilder(e,t){for(var n=Ti(e),r=[],i=t.havingStyle(t.style.text()),a=0;a<n.length;a++){var o=n[a];o===`~`&&(o=`\\textasciitilde`),r.push(bt(o,`Typewriter-Regular`,e.mode,i,[`mord`,`texttt`]))}return H([`mord`,`text`].concat(i.sizingClasses(t)),Tt(r),i)},mathmlBuilder(e,t){var n=new Y(`mtext`,[new X(Ti(e))]);return n.setAttribute(`mathvariant`,`monospace`),n}});var Ti=e=>e.body.replace(/ /g,e.star?`␣`:`\xA0`),Ei=Ht,Di=`[ \r
261
261
  ]`,Oi=`\\\\[a-zA-Z@]+`,ki=`\\\\[^\ud800-\udfff]`,Ai=`(`+Oi+`)`+Di+`*`,ji=`\\\\(
262
262
  |[ \r ]+
263
263
  ?)[ \r ]*`,Mi=`[̀-ͯ]`,Ni=RegExp(Mi+`+$`),Pi=`(`+Di+`+)|`+(ji+`|`)+`([!-\\[\\]-‧‪-퟿豈-￿]`+(Mi+`*`)+`|[\ud800-\udbff][\udc00-\udfff]`+(Mi+`*`)+`|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5`+(`|`+Ai)+(`|`+ki+`)`),Fi=class{constructor(e,t){this.input=e,this.settings=t,this.tokenRegex=new RegExp(Pi,`g`),this.catcodes={"%":14,"~":13}}setCatcode(e,t){this.catcodes[e]=t}lex(){var t=this.input,n=this.tokenRegex.lastIndex;if(n===t.length)return new Lr(`EOF`,new Ir(this,n,n));var r=this.tokenRegex.exec(t);if(r===null||r.index!==n)throw new e(`Unexpected character: '`+t[n]+`'`,new Lr(t[n],new Ir(this,n,n+1)));var i=r[6]||r[3]||(r[2]?`\\ `:` `);if(this.catcodes[i]===14){var a=t.indexOf(`
264
264
  `,this.tokenRegex.lastIndex);return a===-1?(this.tokenRegex.lastIndex=t.length,this.settings.reportNonstrict(`commentAtEnd`,`% comment has no terminating newline; LaTeX would fail because of commenting the end of math mode (e.g. $)`)):this.tokenRegex.lastIndex=a+1,this.lex()}return new Lr(i,new Ir(this,n,this.tokenRegex.lastIndex))}},Ii=class{constructor(e,t){e===void 0&&(e={}),t===void 0&&(t={}),this.current=t,this.builtins=e,this.undefStack=[]}beginGroup(){this.undefStack.push({})}endGroup(){if(this.undefStack.length===0)throw new e(`Unbalanced namespace destruction: attempt to pop global namespace; please report this as a bug`);var t=this.undefStack.pop();for(var n in t)t.hasOwnProperty(n)&&(t[n]==null?delete this.current[n]:this.current[n]=t[n])}endGroups(){for(;this.undefStack.length>0;)this.endGroup()}has(e){return this.current.hasOwnProperty(e)||this.builtins.hasOwnProperty(e)}get(e){return this.current.hasOwnProperty(e)?this.current[e]:this.builtins[e]}set(e,t,n){if(n===void 0&&(n=!1),n){for(var r=0;r<this.undefStack.length;r++)delete this.undefStack[r][e];this.undefStack.length>0&&(this.undefStack[this.undefStack.length-1][e]=t)}else{var i=this.undefStack[this.undefStack.length-1];i&&!i.hasOwnProperty(e)&&(i[e]=this.current[e])}t==null?delete this.current[e]:this.current[e]=t}},Li=Fr;$(`\\noexpand`,function(e){var t=e.popToken();return e.isExpandable(t.text)&&(t.noexpand=!0,t.treatAsRelax=!0),{tokens:[t],numArgs:0}}),$(`\\expandafter`,function(e){var t=e.popToken();return e.expandOnce(!0),{tokens:[t],numArgs:0}}),$(`\\@firstoftwo`,function(e){return{tokens:e.consumeArgs(2)[0],numArgs:0}}),$(`\\@secondoftwo`,function(e){return{tokens:e.consumeArgs(2)[1],numArgs:0}}),$(`\\@ifnextchar`,function(e){var t=e.consumeArgs(3);e.consumeSpaces();var n=e.future();return t[0].length===1&&t[0][0].text===n.text?{tokens:t[1],numArgs:0}:{tokens:t[2],numArgs:0}}),$(`\\@ifstar`,`\\@ifnextchar *{\\@firstoftwo{#1}}`),$(`\\TextOrMath`,function(e){var t=e.consumeArgs(2);return e.mode===`text`?{tokens:t[0],numArgs:0}:{tokens:t[1],numArgs:0}});var Ri={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};$(`\\char`,function(t){var n=t.popToken(),r,i=0;if(n.text===`'`)r=8,n=t.popToken();else if(n.text===`"`)r=16,n=t.popToken();else if(n.text==="`")if(n=t.popToken(),n.text[0]===`\\`)i=n.text.charCodeAt(1);else if(n.text===`EOF`)throw new e("\\char` missing argument");else i=n.text.charCodeAt(0);else r=10;if(r){if(i=Ri[n.text],i==null||i>=r)throw new e(`Invalid base-`+r+` digit `+n.text);for(var a;(a=Ri[t.future().text])!=null&&a<r;)i*=r,i+=a,t.popToken()}return`\\@char{`+i+`}`});var zi=(t,n,r,i)=>{var a=t.consumeArg().tokens;if(a.length!==1)throw new e(`\\newcommand's first argument must be a macro name`);var o=a[0].text,s=t.isDefined(o);if(s&&!n)throw new e(`\\newcommand{`+o+`} attempting to redefine `+(o+`; use \\renewcommand`));if(!s&&!r)throw new e(`\\renewcommand{`+o+`} when command `+o+` does not yet exist; use \\newcommand`);var c=0;if(a=t.consumeArg().tokens,a.length===1&&a[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 e(`Invalid number of arguments: `+l);c=parseInt(l),a=t.consumeArg().tokens}return s&&i||t.macros.set(o,{tokens:a,numArgs:c}),``};$(`\\newcommand`,e=>zi(e,!1,!0,!1)),$(`\\renewcommand`,e=>zi(e,!0,!1,!1)),$(`\\providecommand`,e=>zi(e,!0,!0,!0)),$(`\\message`,e=>{var t=e.consumeArgs(1)[0];return console.log(t.reverse().map(e=>e.text).join(``)),``}),$(`\\errmessage`,e=>{var t=e.consumeArgs(1)[0];return console.error(t.reverse().map(e=>e.text).join(``)),``}),$(`\\show`,e=>{var t=e.popToken(),n=t.text;return console.log(t,e.macros.get(n),Ei[n],O.math[n],O.text[n]),``}),$(`\\bgroup`,`{`),$(`\\egroup`,`}`),$(`~`,`\\nobreakspace`),$(`\\lq`,"`"),$(`\\rq`,`'`),$(`\\aa`,`\\r a`),$(`\\AA`,`\\r A`),$(`\\textcopyright`,"\\html@mathml{\\textcircled{c}}{\\char`©}"),$(`\\copyright`,`\\TextOrMath{\\textcopyright}{\\text{\\textcopyright}}`),$(`\\textregistered`,"\\html@mathml{\\textcircled{\\scriptsize R}}{\\char`®}"),$(`ℬ`,`\\mathscr{B}`),$(`ℰ`,`\\mathscr{E}`),$(`ℱ`,`\\mathscr{F}`),$(`ℋ`,`\\mathscr{H}`),$(`ℐ`,`\\mathscr{I}`),$(`ℒ`,`\\mathscr{L}`),$(`ℳ`,`\\mathscr{M}`),$(`ℛ`,`\\mathscr{R}`),$(`ℭ`,`\\mathfrak{C}`),$(`ℌ`,`\\mathfrak{H}`),$(`ℨ`,`\\mathfrak{Z}`),$(`\\Bbbk`,`\\Bbb{k}`),$(`\\llap`,`\\mathllap{\\textrm{#1}}`),$(`\\rlap`,`\\mathrlap{\\textrm{#1}}`),$(`\\clap`,`\\mathclap{\\textrm{#1}}`),$(`\\mathstrut`,`\\vphantom{(}`),$(`\\underbar`,`\\underline{\\text{#1}}`),$(`\\not`,`\\html@mathml{\\mathrel{\\mathrlap\\@not}\\nobreak}{\\char"338}`),$(`\\neq`,"\\html@mathml{\\mathrel{\\not=}}{\\mathrel{\\char`≠}}"),$(`\\ne`,`\\neq`),$(`≠`,`\\neq`),$(`\\notin`,"\\html@mathml{\\mathrel{{\\in}\\mathllap{/\\mskip1mu}}}{\\mathrel{\\char`∉}}"),$(`∉`,`\\notin`),$(`≘`,"\\html@mathml{\\mathrel{=\\kern{-1em}\\raisebox{0.4em}{$\\scriptsize\\frown$}}}{\\mathrel{\\char`≘}}"),$(`≙`,"\\html@mathml{\\stackrel{\\tiny\\wedge}{=}}{\\mathrel{\\char`≘}}"),$(`≚`,"\\html@mathml{\\stackrel{\\tiny\\vee}{=}}{\\mathrel{\\char`≚}}"),$(`≛`,"\\html@mathml{\\stackrel{\\scriptsize\\star}{=}}{\\mathrel{\\char`≛}}"),$(`≝`,"\\html@mathml{\\stackrel{\\tiny\\mathrm{def}}{=}}{\\mathrel{\\char`≝}}"),$(`≞`,"\\html@mathml{\\stackrel{\\tiny\\mathrm{m}}{=}}{\\mathrel{\\char`≞}}"),$(`≟`,"\\html@mathml{\\stackrel{\\tiny?}{=}}{\\mathrel{\\char`≟}}"),$(`⟂`,`\\perp`),$(`‼`,`\\mathclose{!\\mkern-0.8mu!}`),$(`∌`,`\\notni`),$(`⌜`,`\\ulcorner`),$(`⌝`,`\\urcorner`),$(`⌞`,`\\llcorner`),$(`⌟`,`\\lrcorner`),$(`©`,`\\copyright`),$(`®`,`\\textregistered`),$(`\\ulcorner`,`\\html@mathml{\\@ulcorner}{\\mathop{\\char"231c}}`),$(`\\urcorner`,`\\html@mathml{\\@urcorner}{\\mathop{\\char"231d}}`),$(`\\llcorner`,`\\html@mathml{\\@llcorner}{\\mathop{\\char"231e}}`),$(`\\lrcorner`,`\\html@mathml{\\@lrcorner}{\\mathop{\\char"231f}}`),$(`\\vdots`,`{\\varvdots\\rule{0pt}{15pt}}`),$(`⋮`,`\\vdots`),$(`\\varGamma`,`\\mathit{\\Gamma}`),$(`\\varDelta`,`\\mathit{\\Delta}`),$(`\\varTheta`,`\\mathit{\\Theta}`),$(`\\varLambda`,`\\mathit{\\Lambda}`),$(`\\varXi`,`\\mathit{\\Xi}`),$(`\\varPi`,`\\mathit{\\Pi}`),$(`\\varSigma`,`\\mathit{\\Sigma}`),$(`\\varUpsilon`,`\\mathit{\\Upsilon}`),$(`\\varPhi`,`\\mathit{\\Phi}`),$(`\\varPsi`,`\\mathit{\\Psi}`),$(`\\varOmega`,`\\mathit{\\Omega}`),$(`\\substack`,`\\begin{subarray}{c}#1\\end{subarray}`),$(`\\colon`,`\\nobreak\\mskip2mu\\mathpunct{}\\mathchoice{\\mkern-3mu}{\\mkern-3mu}{}{}{:}\\mskip6mu\\relax`),$(`\\boxed`,`\\fbox{$\\displaystyle{#1}$}`),$(`\\iff`,`\\DOTSB\\;\\Longleftrightarrow\\;`),$(`\\implies`,`\\DOTSB\\;\\Longrightarrow\\;`),$(`\\impliedby`,`\\DOTSB\\;\\Longleftarrow\\;`),$(`\\dddot`,`{\\overset{\\raisebox{-0.1ex}{\\normalsize ...}}{#1}}`),$(`\\ddddot`,`{\\overset{\\raisebox{-0.1ex}{\\normalsize ....}}{#1}}`);var Bi={",":`\\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`},Vi=new Set([`bin`,`rel`]);$(`\\dots`,function(e){var t=`\\dotso`,n=e.expandAfterFuture().text;return n in Bi?t=Bi[n]:(n.slice(0,4)===`\\not`||n in O.math&&Vi.has(O.math[n].group))&&(t=`\\dotsb`),t});var Hi={")":!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};$(`\\dotso`,function(e){return e.future().text in Hi?`\\ldots\\,`:`\\ldots`}),$(`\\dotsc`,function(e){var t=e.future().text;return t in Hi&&t!==`,`?`\\ldots\\,`:`\\ldots`}),$(`\\cdots`,function(e){return e.future().text in Hi?`\\@cdots\\,`:`\\@cdots`}),$(`\\dotsb`,`\\cdots`),$(`\\dotsm`,`\\cdots`),$(`\\dotsi`,`\\!\\cdots`),$(`\\dotsx`,`\\ldots\\,`),$(`\\DOTSI`,`\\relax`),$(`\\DOTSB`,`\\relax`),$(`\\DOTSX`,`\\relax`),$(`\\tmspace`,`\\TextOrMath{\\kern#1#3}{\\mskip#1#2}\\relax`),$(`\\,`,`\\tmspace+{3mu}{.1667em}`),$(`\\thinspace`,`\\,`),$(`\\>`,`\\mskip{4mu}`),$(`\\:`,`\\tmspace+{4mu}{.2222em}`),$(`\\medspace`,`\\:`),$(`\\;`,`\\tmspace+{5mu}{.2777em}`),$(`\\thickspace`,`\\;`),$(`\\!`,`\\tmspace-{3mu}{.1667em}`),$(`\\negthinspace`,`\\!`),$(`\\negmedspace`,`\\tmspace-{4mu}{.2222em}`),$(`\\negthickspace`,`\\tmspace-{5mu}{.277em}`),$(`\\enspace`,`\\kern.5em `),$(`\\enskip`,`\\hskip.5em\\relax`),$(`\\quad`,`\\hskip1em\\relax`),$(`\\qquad`,`\\hskip2em\\relax`),$(`\\tag`,`\\@ifstar\\tag@literal\\tag@paren`),$(`\\tag@paren`,`\\tag@literal{({#1})}`),$(`\\tag@literal`,t=>{if(t.macros.get(`\\df@tag`))throw new e(`Multiple \\tag`);return`\\gdef\\df@tag{\\text{#1}}`}),$(`\\bmod`,`\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}\\mathbin{\\rm mod}\\mathchoice{\\mskip1mu}{\\mskip1mu}{\\mskip5mu}{\\mskip5mu}`),$(`\\pod`,`\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern8mu}{\\mkern8mu}{\\mkern8mu}(#1)`),$(`\\pmod`,`\\pod{{\\rm mod}\\mkern6mu#1}`),$(`\\mod`,`\\allowbreak\\mathchoice{\\mkern18mu}{\\mkern12mu}{\\mkern12mu}{\\mkern12mu}{\\rm mod}\\,\\,#1`),$(`\\newline`,`\\\\\\relax`),$(`\\TeX`,`\\textrm{\\html@mathml{T\\kern-.1667em\\raisebox{-.5ex}{E}\\kern-.125emX}{TeX}}`);var Ui=D(Be[`Main-Regular`][84][1]-.7*Be[`Main-Regular`][65][1]);$(`\\LaTeX`,`\\textrm{\\html@mathml{`+(`L\\kern-.36em\\raisebox{`+Ui+`}{\\scriptstyle A}`)+`\\kern-.15em\\TeX}{LaTeX}}`),$(`\\KaTeX`,`\\textrm{\\html@mathml{`+(`K\\kern-.17em\\raisebox{`+Ui+`}{\\scriptstyle A}`)+`\\kern-.15em\\TeX}{KaTeX}}`),$(`\\hspace`,`\\@ifstar\\@hspacer\\@hspace`),$(`\\@hspace`,`\\hskip #1\\relax`),$(`\\@hspacer`,`\\rule{0pt}{0pt}\\hskip #1\\relax`),$(`\\ordinarycolon`,`:`),$(`\\vcentcolon`,`\\mathrel{\\mathop\\ordinarycolon}`),$(`\\dblcolon`,`\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-.9mu}\\vcentcolon}}{\\mathop{\\char"2237}}`),$(`\\coloneqq`,`\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2254}}`),$(`\\Coloneqq`,`\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}=}}{\\mathop{\\char"2237\\char"3d}}`),$(`\\coloneq`,`\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"3a\\char"2212}}`),$(`\\Coloneq`,`\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\mathrel{-}}}{\\mathop{\\char"2237\\char"2212}}`),$(`\\eqqcolon`,`\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2255}}`),$(`\\Eqqcolon`,`\\html@mathml{\\mathrel{=\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"3d\\char"2237}}`),$(`\\eqcolon`,`\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\vcentcolon}}{\\mathop{\\char"2239}}`),$(`\\Eqcolon`,`\\html@mathml{\\mathrel{\\mathrel{-}\\mathrel{\\mkern-1.2mu}\\dblcolon}}{\\mathop{\\char"2212\\char"2237}}`),$(`\\colonapprox`,`\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"3a\\char"2248}}`),$(`\\Colonapprox`,`\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\approx}}{\\mathop{\\char"2237\\char"2248}}`),$(`\\colonsim`,`\\html@mathml{\\mathrel{\\vcentcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"3a\\char"223c}}`),$(`\\Colonsim`,`\\html@mathml{\\mathrel{\\dblcolon\\mathrel{\\mkern-1.2mu}\\sim}}{\\mathop{\\char"2237\\char"223c}}`),$(`∷`,`\\dblcolon`),$(`∹`,`\\eqcolon`),$(`≔`,`\\coloneqq`),$(`≕`,`\\eqqcolon`),$(`⩴`,`\\Coloneqq`),$(`\\ratio`,`\\vcentcolon`),$(`\\coloncolon`,`\\dblcolon`),$(`\\colonequals`,`\\coloneqq`),$(`\\coloncolonequals`,`\\Coloneqq`),$(`\\equalscolon`,`\\eqqcolon`),$(`\\equalscoloncolon`,`\\Eqqcolon`),$(`\\colonminus`,`\\coloneq`),$(`\\coloncolonminus`,`\\Coloneq`),$(`\\minuscolon`,`\\eqcolon`),$(`\\minuscoloncolon`,`\\Eqcolon`),$(`\\coloncolonapprox`,`\\Colonapprox`),$(`\\coloncolonsim`,`\\Colonsim`),$(`\\simcolon`,`\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\vcentcolon}`),$(`\\simcoloncolon`,`\\mathrel{\\sim\\mathrel{\\mkern-1.2mu}\\dblcolon}`),$(`\\approxcolon`,`\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\vcentcolon}`),$(`\\approxcoloncolon`,`\\mathrel{\\approx\\mathrel{\\mkern-1.2mu}\\dblcolon}`),$(`\\notni`,"\\html@mathml{\\not\\ni}{\\mathrel{\\char`∌}}"),$(`\\limsup`,`\\DOTSB\\operatorname*{lim\\,sup}`),$(`\\liminf`,`\\DOTSB\\operatorname*{lim\\,inf}`),$(`\\injlim`,`\\DOTSB\\operatorname*{inj\\,lim}`),$(`\\projlim`,`\\DOTSB\\operatorname*{proj\\,lim}`),$(`\\varlimsup`,`\\DOTSB\\operatorname*{\\overline{lim}}`),$(`\\varliminf`,`\\DOTSB\\operatorname*{\\underline{lim}}`),$(`\\varinjlim`,`\\DOTSB\\operatorname*{\\underrightarrow{lim}}`),$(`\\varprojlim`,`\\DOTSB\\operatorname*{\\underleftarrow{lim}}`),$(`\\gvertneqq`,`\\html@mathml{\\@gvertneqq}{≩}`),$(`\\lvertneqq`,`\\html@mathml{\\@lvertneqq}{≨}`),$(`\\ngeqq`,`\\html@mathml{\\@ngeqq}{≱}`),$(`\\ngeqslant`,`\\html@mathml{\\@ngeqslant}{≱}`),$(`\\nleqq`,`\\html@mathml{\\@nleqq}{≰}`),$(`\\nleqslant`,`\\html@mathml{\\@nleqslant}{≰}`),$(`\\nshortmid`,`\\html@mathml{\\@nshortmid}{∤}`),$(`\\nshortparallel`,`\\html@mathml{\\@nshortparallel}{∦}`),$(`\\nsubseteqq`,`\\html@mathml{\\@nsubseteqq}{⊈}`),$(`\\nsupseteqq`,`\\html@mathml{\\@nsupseteqq}{⊉}`),$(`\\varsubsetneq`,`\\html@mathml{\\@varsubsetneq}{⊊}`),$(`\\varsubsetneqq`,`\\html@mathml{\\@varsubsetneqq}{⫋}`),$(`\\varsupsetneq`,`\\html@mathml{\\@varsupsetneq}{⊋}`),$(`\\varsupsetneqq`,`\\html@mathml{\\@varsupsetneqq}{⫌}`),$(`\\imath`,`\\html@mathml{\\@imath}{ı}`),$(`\\jmath`,`\\html@mathml{\\@jmath}{ȷ}`),$(`\\llbracket`,"\\html@mathml{\\mathopen{[\\mkern-3.2mu[}}{\\mathopen{\\char`⟦}}"),$(`\\rrbracket`,"\\html@mathml{\\mathclose{]\\mkern-3.2mu]}}{\\mathclose{\\char`⟧}}"),$(`⟦`,`\\llbracket`),$(`⟧`,`\\rrbracket`),$(`\\lBrace`,"\\html@mathml{\\mathopen{\\{\\mkern-3.2mu[}}{\\mathopen{\\char`⦃}}"),$(`\\rBrace`,"\\html@mathml{\\mathclose{]\\mkern-3.2mu\\}}}{\\mathclose{\\char`⦄}}"),$(`⦃`,`\\lBrace`),$(`⦄`,`\\rBrace`),$(`\\minuso`,"\\mathbin{\\html@mathml{{\\mathrlap{\\mathchoice{\\kern{0.145em}}{\\kern{0.145em}}{\\kern{0.1015em}}{\\kern{0.0725em}}\\circ}{-}}}{\\char`⦵}}"),$(`⦵`,`\\minuso`),$(`\\darr`,`\\downarrow`),$(`\\dArr`,`\\Downarrow`),$(`\\Darr`,`\\Downarrow`),$(`\\lang`,`\\langle`),$(`\\rang`,`\\rangle`),$(`\\uarr`,`\\uparrow`),$(`\\uArr`,`\\Uparrow`),$(`\\Uarr`,`\\Uparrow`),$(`\\N`,`\\mathbb{N}`),$(`\\R`,`\\mathbb{R}`),$(`\\Z`,`\\mathbb{Z}`),$(`\\alef`,`\\aleph`),$(`\\alefsym`,`\\aleph`),$(`\\Alpha`,`\\mathrm{A}`),$(`\\Beta`,`\\mathrm{B}`),$(`\\bull`,`\\bullet`),$(`\\Chi`,`\\mathrm{X}`),$(`\\clubs`,`\\clubsuit`),$(`\\cnums`,`\\mathbb{C}`),$(`\\Complex`,`\\mathbb{C}`),$(`\\Dagger`,`\\ddagger`),$(`\\diamonds`,`\\diamondsuit`),$(`\\empty`,`\\emptyset`),$(`\\Epsilon`,`\\mathrm{E}`),$(`\\Eta`,`\\mathrm{H}`),$(`\\exist`,`\\exists`),$(`\\harr`,`\\leftrightarrow`),$(`\\hArr`,`\\Leftrightarrow`),$(`\\Harr`,`\\Leftrightarrow`),$(`\\hearts`,`\\heartsuit`),$(`\\image`,`\\Im`),$(`\\infin`,`\\infty`),$(`\\Iota`,`\\mathrm{I}`),$(`\\isin`,`\\in`),$(`\\Kappa`,`\\mathrm{K}`),$(`\\larr`,`\\leftarrow`),$(`\\lArr`,`\\Leftarrow`),$(`\\Larr`,`\\Leftarrow`),$(`\\lrarr`,`\\leftrightarrow`),$(`\\lrArr`,`\\Leftrightarrow`),$(`\\Lrarr`,`\\Leftrightarrow`),$(`\\Mu`,`\\mathrm{M}`),$(`\\natnums`,`\\mathbb{N}`),$(`\\Nu`,`\\mathrm{N}`),$(`\\Omicron`,`\\mathrm{O}`),$(`\\plusmn`,`\\pm`),$(`\\rarr`,`\\rightarrow`),$(`\\rArr`,`\\Rightarrow`),$(`\\Rarr`,`\\Rightarrow`),$(`\\real`,`\\Re`),$(`\\reals`,`\\mathbb{R}`),$(`\\Reals`,`\\mathbb{R}`),$(`\\Rho`,`\\mathrm{P}`),$(`\\sdot`,`\\cdot`),$(`\\sect`,`\\S`),$(`\\spades`,`\\spadesuit`),$(`\\sub`,`\\subset`),$(`\\sube`,`\\subseteq`),$(`\\supe`,`\\supseteq`),$(`\\Tau`,`\\mathrm{T}`),$(`\\thetasym`,`\\vartheta`),$(`\\weierp`,`\\wp`),$(`\\Zeta`,`\\mathrm{Z}`),$(`\\argmin`,`\\DOTSB\\operatorname*{arg\\,min}`),$(`\\argmax`,`\\DOTSB\\operatorname*{arg\\,max}`),$(`\\plim`,`\\DOTSB\\mathop{\\operatorname{plim}}\\limits`),$(`\\bra`,`\\mathinner{\\langle{#1}|}`),$(`\\ket`,`\\mathinner{|{#1}\\rangle}`),$(`\\braket`,`\\mathinner{\\langle{#1}\\rangle}`),$(`\\Bra`,`\\left\\langle#1\\right|`),$(`\\Ket`,`\\left|#1\\right\\rangle`);var Wi=e=>t=>{var n=t.consumeArg().tokens,r=t.consumeArg().tokens,i=t.consumeArg().tokens,a=t.consumeArg().tokens,o=t.macros.get(`|`),s=t.macros.get(`\\|`);t.macros.beginGroup();var c=t=>n=>{e&&(n.macros.set(`|`,o),i.length&&n.macros.set(`\\|`,s));var a=t;return!t&&i.length&&n.future().text===`|`&&(n.popToken(),a=!0),{tokens:a?i:r,numArgs:0}};t.macros.set(`|`,c(!1)),i.length&&t.macros.set(`\\|`,c(!0));var l=t.consumeArg().tokens,u=t.expandTokens([...a,...l,...n]);return t.macros.endGroup(),{tokens:u.reverse(),numArgs:0}};$(`\\bra@ket`,Wi(!1)),$(`\\bra@set`,Wi(!0)),$(`\\Braket`,`\\bra@ket{\\left\\langle}{\\,\\middle\\vert\\,}{\\,\\middle\\vert\\,}{\\right\\rangle}`),$(`\\Set`,`\\bra@set{\\left\\{\\:}{\\;\\middle\\vert\\;}{\\;\\middle\\Vert\\;}{\\:\\right\\}}`),$(`\\set`,`\\bra@set{\\{\\,}{\\mid}{}{\\,\\}}`),$(`\\angln`,`{\\angl n}`),$(`\\blue`,`\\textcolor{##6495ed}{#1}`),$(`\\orange`,`\\textcolor{##ffa500}{#1}`),$(`\\pink`,`\\textcolor{##ff00af}{#1}`),$(`\\red`,`\\textcolor{##df0030}{#1}`),$(`\\green`,`\\textcolor{##28ae7b}{#1}`),$(`\\gray`,`\\textcolor{gray}{#1}`),$(`\\purple`,`\\textcolor{##9d38bd}{#1}`),$(`\\blueA`,`\\textcolor{##ccfaff}{#1}`),$(`\\blueB`,`\\textcolor{##80f6ff}{#1}`),$(`\\blueC`,`\\textcolor{##63d9ea}{#1}`),$(`\\blueD`,`\\textcolor{##11accd}{#1}`),$(`\\blueE`,`\\textcolor{##0c7f99}{#1}`),$(`\\tealA`,`\\textcolor{##94fff5}{#1}`),$(`\\tealB`,`\\textcolor{##26edd5}{#1}`),$(`\\tealC`,`\\textcolor{##01d1c1}{#1}`),$(`\\tealD`,`\\textcolor{##01a995}{#1}`),$(`\\tealE`,`\\textcolor{##208170}{#1}`),$(`\\greenA`,`\\textcolor{##b6ffb0}{#1}`),$(`\\greenB`,`\\textcolor{##8af281}{#1}`),$(`\\greenC`,`\\textcolor{##74cf70}{#1}`),$(`\\greenD`,`\\textcolor{##1fab54}{#1}`),$(`\\greenE`,`\\textcolor{##0d923f}{#1}`),$(`\\goldA`,`\\textcolor{##ffd0a9}{#1}`),$(`\\goldB`,`\\textcolor{##ffbb71}{#1}`),$(`\\goldC`,`\\textcolor{##ff9c39}{#1}`),$(`\\goldD`,`\\textcolor{##e07d10}{#1}`),$(`\\goldE`,`\\textcolor{##a75a05}{#1}`),$(`\\redA`,`\\textcolor{##fca9a9}{#1}`),$(`\\redB`,`\\textcolor{##ff8482}{#1}`),$(`\\redC`,`\\textcolor{##f9685d}{#1}`),$(`\\redD`,`\\textcolor{##e84d39}{#1}`),$(`\\redE`,`\\textcolor{##bc2612}{#1}`),$(`\\maroonA`,`\\textcolor{##ffbde0}{#1}`),$(`\\maroonB`,`\\textcolor{##ff92c6}{#1}`),$(`\\maroonC`,`\\textcolor{##ed5fa6}{#1}`),$(`\\maroonD`,`\\textcolor{##ca337c}{#1}`),$(`\\maroonE`,`\\textcolor{##9e034e}{#1}`),$(`\\purpleA`,`\\textcolor{##ddd7ff}{#1}`),$(`\\purpleB`,`\\textcolor{##c6b9fc}{#1}`),$(`\\purpleC`,`\\textcolor{##aa87ff}{#1}`),$(`\\purpleD`,`\\textcolor{##7854ab}{#1}`),$(`\\purpleE`,`\\textcolor{##543b78}{#1}`),$(`\\mintA`,`\\textcolor{##f5f9e8}{#1}`),$(`\\mintB`,`\\textcolor{##edf2df}{#1}`),$(`\\mintC`,`\\textcolor{##e0e5cc}{#1}`),$(`\\grayA`,`\\textcolor{##f6f7f7}{#1}`),$(`\\grayB`,`\\textcolor{##f0f1f2}{#1}`),$(`\\grayC`,`\\textcolor{##e3e5e6}{#1}`),$(`\\grayD`,`\\textcolor{##d6d8da}{#1}`),$(`\\grayE`,`\\textcolor{##babec2}{#1}`),$(`\\grayF`,`\\textcolor{##888d93}{#1}`),$(`\\grayG`,`\\textcolor{##626569}{#1}`),$(`\\grayH`,`\\textcolor{##3b3e40}{#1}`),$(`\\grayI`,`\\textcolor{##21242c}{#1}`),$(`\\kaBlue`,`\\textcolor{##314453}{#1}`),$(`\\kaGreen`,`\\textcolor{##71B307}{#1}`);var Gi={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},Ki=class{constructor(e,t,n){this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new Ii(Li,t.macros),this.mode=n,this.stack=[]}feed(e){this.lexer=new Fi(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 t,n,r;if(e){if(this.consumeSpaces(),this.future().text!==`[`)return null;t=this.popToken(),{tokens:r,end:n}=this.consumeArg([`]`])}else ({tokens:r,start:t,end:n}=this.consumeArg());return this.pushToken(new Lr(`EOF`,n.loc)),this.pushTokens(r),new Lr(``,Ir.range(t,n))}consumeSpaces(){for(;this.future().text===` `;)this.stack.pop()}consumeArg(t){var n=[],r=t&&t.length>0;r||this.consumeSpaces();var i=this.future(),a,o=0,s=0;do{if(a=this.popToken(),n.push(a),a.text===`{`)++o;else if(a.text===`}`){if(--o,o===-1)throw new e(`Extra }`,a)}else if(a.text===`EOF`)throw new e(`Unexpected end of input in a macro argument, expected '`+(t&&r?t[s]:`}`)+`'`,a);if(t&&r)if((o===0||o===1&&t[s]===`{`)&&a.text===t[s]){if(++s,s===t.length){n.splice(-s,s);break}}else s=0}while(o!==0||r);return i.text===`{`&&n[n.length-1].text===`}`&&(n.pop(),n.shift()),n.reverse(),{tokens:n,start:i,end:a}}consumeArgs(t,n){if(n){if(n.length!==t+1)throw new e(`The length of delimiters doesn't match the number of args!`);for(var r=n[0],i=0;i<r.length;i++){var a=this.popToken();if(r[i]!==a.text)throw new e(`Use of the macro doesn't match its definition`,a)}}for(var o=[],s=0;s<t;s++)o.push(this.consumeArg(n&&n[s+1]).tokens);return o}countExpansion(t){if(this.expansionCount+=t,this.expansionCount>this.settings.maxExpand)throw new e(`Too many expansions: infinite loop or need to increase maxExpand setting`)}expandOnce(t){var n=this.popToken(),r=n.text,i=n.noexpand?null:this._getExpansion(r);if(i==null||t&&i.unexpandable){if(t&&i==null&&r[0]===`\\`&&!this.isDefined(r))throw new e(`Undefined control sequence: `+r);return this.pushToken(n),!1}this.countExpansion(1);var a=i.tokens,o=this.consumeArgs(i.numArgs,i.delimiters);if(i.numArgs){a=a.slice();for(var s=a.length-1;s>=0;--s){var c=a[s];if(c.text===`#`){if(s===0)throw new e(`Incomplete placeholder at end of macro body`,c);if(c=a[--s],c.text===`#`)a.splice(s+1,1);else if(/^[1-9]$/.test(c.text))a.splice(s,2,...o[c.text-1]);else throw new e(`Not a valid argument number`,c)}}}return this.pushTokens(a),a.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}}expandMacro(e){return this.macros.has(e)?this.expandTokens([new Lr(e)]):void 0}expandTokens(e){var t=[],n=this.stack.length;for(this.pushTokens(e);this.stack.length>n;)if(this.expandOnce(!0)===!1){var r=this.stack.pop();r.treatAsRelax&&=(r.noexpand=!1,!1),t.push(r)}return this.countExpansion(t.length),t}expandMacroAsText(e){var t=this.expandMacro(e);return t&&t.map(e=>e.text).join(``)}_getExpansion(e){var t=this.macros.get(e);if(t==null)return t;if(e.length===1){var n=this.lexer.catcodes[e];if(n!=null&&n!==13)return}var r=typeof t==`function`?t(this):t;if(typeof r==`string`){var i=0;if(r.includes(`#`))for(var a=r.replace(/##/g,``);a.includes(`#`+(i+1));)++i;for(var o=new Fi(r,this.settings),s=[],c=o.lex();c.text!==`EOF`;)s.push(c),c=o.lex();return s.reverse(),{tokens:s,numArgs:i}}return r}isDefined(e){return this.macros.has(e)||Ei.hasOwnProperty(e)||O.math.hasOwnProperty(e)||O.text.hasOwnProperty(e)||Gi.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return t==null?Ei.hasOwnProperty(e)&&!Ei[e].primitive:typeof t==`string`||typeof t==`function`||!t.unexpandable}},qi=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,Ji=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`,ᵝ:`β`,ᵞ:`γ`,ᵟ:`δ`,ᵠ:`ϕ`,ᵡ:`χ`,ᶿ:`θ`}),Yi={"́":{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`}},Xi={á:`á`,à:`à`,ä:`ä`,ǟ:`ǟ`,ã:`ã`,ā:`ā`,ă:`ă`,ắ:`ắ`,ằ:`ằ`,ẵ:`ẵ`,ǎ:`ǎ`,â:`â`,ấ:`ấ`,ầ:`ầ`,ẫ:`ẫ`,ȧ:`ȧ`,ǡ:`ǡ`,å:`å`,ǻ:`ǻ`,ḃ:`ḃ`,ć:`ć`,ḉ:`ḉ`,č:`č`,ĉ:`ĉ`,ċ:`ċ`,ç:`ç`,ď:`ď`,ḋ:`ḋ`,ḑ:`ḑ`,é:`é`,è:`è`,ë:`ë`,ẽ:`ẽ`,ē:`ē`,ḗ:`ḗ`,ḕ:`ḕ`,ĕ:`ĕ`,ḝ:`ḝ`,ě:`ě`,ê:`ê`,ế:`ế`,ề:`ề`,ễ:`ễ`,ė:`ė`,ȩ:`ȩ`,ḟ:`ḟ`,ǵ:`ǵ`,ḡ:`ḡ`,ğ:`ğ`,ǧ:`ǧ`,ĝ:`ĝ`,ġ:`ġ`,ģ:`ģ`,ḧ:`ḧ`,ȟ:`ȟ`,ĥ:`ĥ`,ḣ:`ḣ`,ḩ:`ḩ`,í:`í`,ì:`ì`,ï:`ï`,ḯ:`ḯ`,ĩ:`ĩ`,ī:`ī`,ĭ:`ĭ`,ǐ:`ǐ`,î:`î`,ǰ:`ǰ`,ĵ:`ĵ`,ḱ:`ḱ`,ǩ:`ǩ`,ķ:`ķ`,ĺ:`ĺ`,ľ:`ľ`,ļ:`ļ`,ḿ:`ḿ`,ṁ:`ṁ`,ń:`ń`,ǹ:`ǹ`,ñ:`ñ`,ň:`ň`,ṅ:`ṅ`,ņ:`ņ`,ó:`ó`,ò:`ò`,ö:`ö`,ȫ:`ȫ`,õ:`õ`,ṍ:`ṍ`,ṏ:`ṏ`,ȭ:`ȭ`,ō:`ō`,ṓ:`ṓ`,ṑ:`ṑ`,ŏ:`ŏ`,ǒ:`ǒ`,ô:`ô`,ố:`ố`,ồ:`ồ`,ỗ:`ỗ`,ȯ:`ȯ`,ȱ:`ȱ`,ő:`ő`,ṕ:`ṕ`,ṗ:`ṗ`,ŕ:`ŕ`,ř:`ř`,ṙ:`ṙ`,ŗ:`ŗ`,ś:`ś`,ṥ:`ṥ`,š:`š`,ṧ:`ṧ`,ŝ:`ŝ`,ṡ:`ṡ`,ş:`ş`,ẗ:`ẗ`,ť:`ť`,ṫ:`ṫ`,ţ:`ţ`,ú:`ú`,ù:`ù`,ü:`ü`,ǘ:`ǘ`,ǜ:`ǜ`,ǖ:`ǖ`,ǚ:`ǚ`,ũ:`ũ`,ṹ:`ṹ`,ū:`ū`,ṻ:`ṻ`,ŭ:`ŭ`,ǔ:`ǔ`,û:`û`,ů:`ů`,ű:`ű`,ṽ:`ṽ`,ẃ:`ẃ`,ẁ:`ẁ`,ẅ:`ẅ`,ŵ:`ŵ`,ẇ:`ẇ`,ẘ:`ẘ`,ẍ:`ẍ`,ẋ:`ẋ`,ý:`ý`,ỳ:`ỳ`,ÿ:`ÿ`,ỹ:`ỹ`,ȳ:`ȳ`,ŷ:`ŷ`,ẏ:`ẏ`,ẙ:`ẙ`,ź:`ź`,ž:`ž`,ẑ:`ẑ`,ż:`ż`,Á:`Á`,À:`À`,Ä:`Ä`,Ǟ:`Ǟ`,Ã:`Ã`,Ā:`Ā`,Ă:`Ă`,Ắ:`Ắ`,Ằ:`Ằ`,Ẵ:`Ẵ`,Ǎ:`Ǎ`,Â:`Â`,Ấ:`Ấ`,Ầ:`Ầ`,Ẫ:`Ẫ`,Ȧ:`Ȧ`,Ǡ:`Ǡ`,Å:`Å`,Ǻ:`Ǻ`,Ḃ:`Ḃ`,Ć:`Ć`,Ḉ:`Ḉ`,Č:`Č`,Ĉ:`Ĉ`,Ċ:`Ċ`,Ç:`Ç`,Ď:`Ď`,Ḋ:`Ḋ`,Ḑ:`Ḑ`,É:`É`,È:`È`,Ë:`Ë`,Ẽ:`Ẽ`,Ē:`Ē`,Ḗ:`Ḗ`,Ḕ:`Ḕ`,Ĕ:`Ĕ`,Ḝ:`Ḝ`,Ě:`Ě`,Ê:`Ê`,Ế:`Ế`,Ề:`Ề`,Ễ:`Ễ`,Ė:`Ė`,Ȩ:`Ȩ`,Ḟ:`Ḟ`,Ǵ:`Ǵ`,Ḡ:`Ḡ`,Ğ:`Ğ`,Ǧ:`Ǧ`,Ĝ:`Ĝ`,Ġ:`Ġ`,Ģ:`Ģ`,Ḧ:`Ḧ`,Ȟ:`Ȟ`,Ĥ:`Ĥ`,Ḣ:`Ḣ`,Ḩ:`Ḩ`,Í:`Í`,Ì:`Ì`,Ï:`Ï`,Ḯ:`Ḯ`,Ĩ:`Ĩ`,Ī:`Ī`,Ĭ:`Ĭ`,Ǐ:`Ǐ`,Î:`Î`,İ:`İ`,Ĵ:`Ĵ`,Ḱ:`Ḱ`,Ǩ:`Ǩ`,Ķ:`Ķ`,Ĺ:`Ĺ`,Ľ:`Ľ`,Ļ:`Ļ`,Ḿ:`Ḿ`,Ṁ:`Ṁ`,Ń:`Ń`,Ǹ:`Ǹ`,Ñ:`Ñ`,Ň:`Ň`,Ṅ:`Ṅ`,Ņ:`Ņ`,Ó:`Ó`,Ò:`Ò`,Ö:`Ö`,Ȫ:`Ȫ`,Õ:`Õ`,Ṍ:`Ṍ`,Ṏ:`Ṏ`,Ȭ:`Ȭ`,Ō:`Ō`,Ṓ:`Ṓ`,Ṑ:`Ṑ`,Ŏ:`Ŏ`,Ǒ:`Ǒ`,Ô:`Ô`,Ố:`Ố`,Ồ:`Ồ`,Ỗ:`Ỗ`,Ȯ:`Ȯ`,Ȱ:`Ȱ`,Ő:`Ő`,Ṕ:`Ṕ`,Ṗ:`Ṗ`,Ŕ:`Ŕ`,Ř:`Ř`,Ṙ:`Ṙ`,Ŗ:`Ŗ`,Ś:`Ś`,Ṥ:`Ṥ`,Š:`Š`,Ṧ:`Ṧ`,Ŝ:`Ŝ`,Ṡ:`Ṡ`,Ş:`Ş`,Ť:`Ť`,Ṫ:`Ṫ`,Ţ:`Ţ`,Ú:`Ú`,Ù:`Ù`,Ü:`Ü`,Ǘ:`Ǘ`,Ǜ:`Ǜ`,Ǖ:`Ǖ`,Ǚ:`Ǚ`,Ũ:`Ũ`,Ṹ:`Ṹ`,Ū:`Ū`,Ṻ:`Ṻ`,Ŭ:`Ŭ`,Ǔ:`Ǔ`,Û:`Û`,Ů:`Ů`,Ű:`Ű`,Ṽ:`Ṽ`,Ẃ:`Ẃ`,Ẁ:`Ẁ`,Ẅ:`Ẅ`,Ŵ:`Ŵ`,Ẇ:`Ẇ`,Ẍ:`Ẍ`,Ẋ:`Ẋ`,Ý:`Ý`,Ỳ:`Ỳ`,Ÿ:`Ÿ`,Ỹ:`Ỹ`,Ȳ:`Ȳ`,Ŷ:`Ŷ`,Ẏ:`Ẏ`,Ź:`Ź`,Ž:`Ž`,Ẑ:`Ẑ`,Ż:`Ż`,ά:`ά`,ὰ:`ὰ`,ᾱ:`ᾱ`,ᾰ:`ᾰ`,έ:`έ`,ὲ:`ὲ`,ή:`ή`,ὴ:`ὴ`,ί:`ί`,ὶ:`ὶ`,ϊ:`ϊ`,ΐ:`ΐ`,ῒ:`ῒ`,ῑ:`ῑ`,ῐ:`ῐ`,ό:`ό`,ὸ:`ὸ`,ύ:`ύ`,ὺ:`ὺ`,ϋ:`ϋ`,ΰ:`ΰ`,ῢ:`ῢ`,ῡ:`ῡ`,ῠ:`ῠ`,ώ:`ώ`,ὼ:`ὼ`,Ύ:`Ύ`,Ὺ:`Ὺ`,Ϋ:`Ϋ`,Ῡ:`Ῡ`,Ῠ:`Ῠ`,Ώ:`Ώ`,Ὼ:`Ὼ`},Zi=class t{constructor(e,t){this.mode=`math`,this.gullet=new Ki(e,t,this.mode),this.settings=t,this.leftrightDepth=0,this.nextToken=null}expect(t,n){if(n===void 0&&(n=!0),this.fetch().text!==t)throw new e(`Expected '`+t+`', got '`+this.fetch().text+`'`,this.fetch());n&&this.consume()}consume(){this.nextToken=null}fetch(){return this.nextToken??=this.gullet.expandNextToken(),this.nextToken}switchMode(e){this.mode=e,this.gullet.switchMode(e)}parse(){this.settings.globalGroup||this.gullet.beginGroup(),this.settings.colorIsTextColor&&this.gullet.macros.set(`\\color`,`\\textcolor`);try{var e=this.parseExpression(!1);return this.expect(`EOF`),this.settings.globalGroup||this.gullet.endGroup(),e}finally{this.gullet.endGroups()}}subparse(e){var t=this.nextToken;this.consume(),this.gullet.pushToken(new Lr(`}`)),this.gullet.pushTokens(e);var n=this.parseExpression(!1);return this.expect(`}`),this.nextToken=t,n}parseExpression(e,n){for(var r=[];;){this.mode===`math`&&this.consumeSpaces();var i=this.fetch();if(t.endOfExpression.has(i.text)||n&&i.text===n||e&&Ei[i.text]&&Ei[i.text].infix)break;var a=this.parseAtom(n);if(!a)break;a.type!==`internal`&&r.push(a)}return this.mode===`text`&&this.formLigatures(r),this.handleInfixNodes(r)}handleInfixNodes(t){for(var n=-1,r,i=0;i<t.length;i++){var a=t[i];if(a.type===`infix`){if(n!==-1)throw new e(`only one infix operator per group`,a.token);n=i,r=a.replaceWith}}if(n!==-1&&r){var o,s,c=t.slice(0,n),l=t.slice(n+1);return o=c.length===1&&c[0].type===`ordgroup`?c[0]:{type:`ordgroup`,mode:this.mode,body:c},s=l.length===1&&l[0].type===`ordgroup`?l[0]:{type:`ordgroup`,mode:this.mode,body:l},[r===`\\\\abovefrac`?this.callFunction(r,[o,t[n],s],[]):this.callFunction(r,[o,s],[])]}else return t}handleSupSubscript(t){var n=this.fetch(),r=n.text;this.consume(),this.consumeSpaces();var i;do i=this.parseGroup(t);while(i?.type===`internal`);if(!i)throw new e(`Expected group after '`+r+`'`,n);return i}formatUnsupportedCmd(e){for(var t=[],n=0;n<e.length;n++)t.push({type:`textord`,mode:`text`,text:e[n]});var r={type:`text`,mode:this.mode,body:t};return{type:`color`,mode:this.mode,color:this.settings.errorColor,body:[r]}}parseAtom(t){var n=this.parseGroup(`atom`,t);if(n?.type===`internal`||this.mode===`text`)return n;for(var r,i;;){this.consumeSpaces();var a=this.fetch();if(a.text===`\\limits`||a.text===`\\nolimits`){if(n&&n.type===`op`)n.limits=a.text===`\\limits`,n.alwaysHandleSupSub=!0;else if(n&&n.type===`operatorname`)n.alwaysHandleSupSub&&(n.limits=a.text===`\\limits`);else throw new e(`Limit controls must follow a math operator`,a);this.consume()}else if(a.text===`^`){if(r)throw new e(`Double superscript`,a);r=this.handleSupSubscript(`superscript`)}else if(a.text===`_`){if(i)throw new e(`Double subscript`,a);i=this.handleSupSubscript(`subscript`)}else if(a.text===`'`){if(r)throw new e(`Double superscript`,a);var o={type:`textord`,mode:this.mode,text:`\\prime`},s=[o];for(this.consume();this.fetch().text===`'`;)s.push(o),this.consume();this.fetch().text===`^`&&s.push(this.handleSupSubscript(`superscript`)),r={type:`ordgroup`,mode:this.mode,body:s}}else if(Ji[a.text]){var c=qi.test(a.text),l=[];for(l.push(new Lr(Ji[a.text])),this.consume();;){var u=this.fetch().text;if(!Ji[u]||qi.test(u)!==c)break;l.unshift(new Lr(Ji[u])),this.consume()}var d=this.subparse(l);c?i={type:`ordgroup`,mode:`math`,body:d}:r={type:`ordgroup`,mode:`math`,body:d}}else break}return r||i?{type:`supsub`,mode:this.mode,base:n,sup:r,sub:i}:n}parseFunction(t,n){var r=this.fetch(),i=r.text,a=Ei[i];if(!a)return null;if(this.consume(),n&&n!==`atom`&&!a.allowedInArgument)throw new e(`Got function '`+i+`' with no arguments`+(n?` as `+n:``),r);if(this.mode===`text`&&!a.allowedInText)throw new e(`Can't use function '`+i+`' in text mode`,r);if(this.mode===`math`&&a.allowedInMath===!1)throw new e(`Can't use function '`+i+`' in math mode`,r);var{args:o,optArgs:s}=this.parseArguments(i,a);return this.callFunction(i,o,s,r,t)}callFunction(t,n,r,i,a){var o={funcName:t,parser:this,token:i,breakOnTokenText:a},s=Ei[t];if(s&&s.handler)return s.handler(o,n,r);throw new e(`No function handler for `+t)}parseArguments(t,n){var r=n.numArgs+n.numOptionalArgs;if(r===0)return{args:[],optArgs:[]};for(var i=[],a=[],o=0;o<r;o++){var s=n.argTypes&&n.argTypes[o],c=o<n.numOptionalArgs;(`primitive`in n&&n.primitive&&s==null||n.type===`sqrt`&&o===1&&a[0]==null)&&(s=`primitive`);var l=this.parseGroupOfType(`argument to '`+t+`'`,s,c);if(c)a.push(l);else if(l!=null)i.push(l);else throw new e(`Null argument, please report this as a bug`)}return{args:i,optArgs:a}}parseGroupOfType(t,n,r){switch(n){case`color`:return this.parseColorGroup(r);case`size`:return this.parseSizeGroup(r);case`url`:return this.parseUrlGroup(r);case`math`:case`text`:return this.parseArgumentGroup(r,n);case`hbox`:var i=this.parseArgumentGroup(r,`text`);return i==null?null:{type:`styling`,mode:i.mode,body:[i],style:`text`};case`raw`:var a=this.parseStringGroup(`raw`,r);return a==null?null:{type:`raw`,mode:`text`,string:a.text};case`primitive`:if(r)throw new e(`A primitive argument cannot be optional`);var o=this.parseGroup(t);if(o==null)throw new e(`Expected group as `+t,this.fetch());return o;case`original`:case null:case void 0:return this.parseArgumentGroup(r);default:throw new e(`Unknown group type as `+t,this.fetch())}}consumeSpaces(){for(;this.fetch().text===` `;)this.consume()}parseStringGroup(e,t){var n=this.gullet.scanArgument(t);if(n==null)return null;for(var r=``,i;(i=this.fetch()).text!==`EOF`;)r+=i.text,this.consume();return this.consume(),n.text=r,n}parseRegexGroup(t,n){for(var r=this.fetch(),i=r,a=``,o;(o=this.fetch()).text!==`EOF`&&t.test(a+o.text);)i=o,a+=i.text,this.consume();if(a===``)throw new e(`Invalid `+n+`: '`+r.text+`'`,r);return r.range(i,a)}parseColorGroup(t){var n=this.parseStringGroup(`color`,t);if(n==null)return null;var r=/^(#[a-f0-9]{3,4}|#[a-f0-9]{6}|#[a-f0-9]{8}|[a-f0-9]{6}|[a-z]+)$/i.exec(n.text);if(!r)throw new e(`Invalid color: '`+n.text+`'`,n);var i=r[0];return/^[0-9a-f]{6}$/i.test(i)&&(i=`#`+i),{type:`color-token`,mode:this.mode,color:i}}parseSizeGroup(t){var n,r=!1;if(this.gullet.consumeSpaces(),n=!t&&this.gullet.future().text!==`{`?this.parseRegexGroup(/^[-+]? *(?:$|\d+|\d+\.\d*|\.\d*) *[a-z]{0,2} *$/,`size`):this.parseStringGroup(`size`,t),!n)return null;!t&&n.text.length===0&&(n.text=`0pt`,r=!0);var i=/([-+]?) *(\d+(?:\.\d*)?|\.\d+) *([a-z]{2})/.exec(n.text);if(!i)throw new e(`Invalid size: '`+n.text+`'`,n);var a={number:+(i[1]+i[2]),unit:i[3]};if(!Ce(a))throw new e(`Invalid unit: '`+a.unit+`'`,n);return{type:`size`,mode:this.mode,value:a,isBlank:r}}parseUrlGroup(e){this.gullet.lexer.setCatcode(`%`,13),this.gullet.lexer.setCatcode(`~`,12);var t=this.parseStringGroup(`url`,e);if(this.gullet.lexer.setCatcode(`%`,14),this.gullet.lexer.setCatcode(`~`,13),t==null)return null;var n=t.text.replace(/\\([#$%&~_^{}])/g,`$1`);return{type:`url`,mode:this.mode,url:n}}parseArgumentGroup(e,t){var n=this.gullet.scanArgument(e);if(n==null)return null;var r=this.mode;t&&this.switchMode(t),this.gullet.beginGroup();var i=this.parseExpression(!1,`EOF`);this.expect(`EOF`),this.gullet.endGroup();var a={type:`ordgroup`,mode:this.mode,loc:n.loc,body:i};return t&&this.switchMode(r),a}parseGroup(t,n){var r=this.fetch(),i=r.text,a;if(i===`{`||i===`\\begingroup`){this.consume();var o=i===`{`?`}`:`\\endgroup`;this.gullet.beginGroup();var s=this.parseExpression(!1,o),c=this.fetch();this.expect(o),this.gullet.endGroup(),a={type:`ordgroup`,mode:this.mode,loc:Ir.range(r,c),body:s,semisimple:i===`\\begingroup`||void 0}}else if(a=this.parseFunction(n,t)||this.parseSymbol(),a==null&&i[0]===`\\`&&!Gi.hasOwnProperty(i)){if(this.settings.throwOnError)throw new e(`Undefined control sequence: `+i,r);a=this.formatUnsupportedCmd(i),this.consume()}return a}formLigatures(e){for(var t=e.length-1,n=0;n<t;++n){var r=e[n];if(r.type===`textord`){var i=r.text,a=e[n+1];if(!(!a||a.type!==`textord`)){if(i===`-`&&a.text===`-`){var o=e[n+2];n+1<t&&o&&o.type===`textord`&&o.text===`-`?(e.splice(n,3,{type:`textord`,mode:`text`,loc:Ir.range(r,o),text:`---`}),t-=2):(e.splice(n,2,{type:`textord`,mode:`text`,loc:Ir.range(r,a),text:`--`}),--t)}(i===`'`||i==="`")&&a.text===i&&(e.splice(n,2,{type:`textord`,mode:`text`,loc:Ir.range(r,a),text:i+i}),--t)}}}}parseSymbol(){var t=this.fetch(),n=t.text;if(/^\\verb[^a-zA-Z]/.test(n)){this.consume();var r=n.slice(5),i=r.charAt(0)===`*`;if(i&&(r=r.slice(1)),r.length<2||r.charAt(0)!==r.slice(-1))throw new e(`\\verb assertion failed --
265
- please report what input caused this bug`);return r=r.slice(1,-1),{type:`verb`,mode:`text`,body:r,star:i}}Xi.hasOwnProperty(n[0])&&!O[this.mode][n[0]]&&(this.settings.strict&&this.mode===`math`&&this.settings.reportNonstrict(`unicodeTextInMathMode`,`Accented Unicode text character "`+n[0]+`" used in math mode`,t),n=Xi[n[0]]+n.slice(1));var a=Ni.exec(n);a&&(n=n.substring(0,a.index),n===`i`?n=`ı`:n===`j`&&(n=`ȷ`));var o;if(O[this.mode][n]){this.settings.strict&&this.mode===`math`&&pt.includes(n)&&this.settings.reportNonstrict(`unicodeTextInMathMode`,`Latin-1/Unicode text character "`+n[0]+`" used in math mode`,t);var s=O[this.mode][n].group,c=Ir.range(t),l;if(qe.hasOwnProperty(s)){var u=s;l={type:`atom`,mode:this.mode,family:u,loc:c,text:n}}else l={type:s,mode:this.mode,loc:c,text:n};o=l}else if(n.charCodeAt(0)>=128)this.settings.strict&&(se(n.charCodeAt(0))?this.mode===`math`&&this.settings.reportNonstrict(`unicodeTextInMathMode`,`Unicode text character "`+n[0]+`" used in math mode`,t):this.settings.reportNonstrict(`unknownSymbol`,`Unrecognized Unicode character "`+n[0]+`"`+(` (`+n.charCodeAt(0)+`)`),t)),o={type:`textord`,mode:`text`,loc:Ir.range(t),text:n};else return null;if(this.consume(),a)for(var d=0;d<a[0].length;d++){var f=a[0][d];if(!Yi[f])throw new e(`Unknown accent ' `+f+`'`,t);var p=Yi[f][this.mode]||Yi[f].text;if(!p)throw new e(`Accent `+f+` unsupported in `+this.mode+` mode`,t);o={type:`accent`,mode:this.mode,loc:Ir.range(t),label:p,isStretchy:!1,isShifty:!0,base:o}}return o}};Zi.endOfExpression=new Set([`}`,`\\endgroup`,`\\end`,`\\right`,`&`]);var Qi=function(t,n){if(!(typeof t==`string`||t instanceof String))throw TypeError(`KaTeX can only parse string typed expression`);var r=new Zi(t,n);delete r.gullet.macros.current[`\\df@tag`];var i=r.parse();if(delete r.gullet.macros.current[`\\current@color`],delete r.gullet.macros.current[`\\color`],r.gullet.macros.get(`\\df@tag`)){if(!n.displayMode)throw new e(`\\tag works only in display equations`);i=[{type:`tag`,mode:`text`,body:i,tag:r.subparse([new Lr(`\\df@tag`)])}]}return i},$i=function(e,t,n){t.textContent=``;var r=ra(e,n).toNode();t.appendChild(r)};typeof document<`u`&&document.compatMode!==`CSS1Compat`&&(typeof console<`u`&&console.warn(`Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype.`),$i=function(){throw new e(`KaTeX doesn't work in quirks mode.`)});var ea=function(e,t){return ra(e,t).toMarkup()},ta=function(e,t){return Qi(e,new f(t))},na=function(t,n,r){if(r.throwOnError||!(t instanceof e))throw t;var i=H([`katex-error`],[new Ne(n)]);return i.setAttribute(`title`,t.toString()),i.setAttribute(`style`,`color:`+r.errorColor),i},ra=function(e,t){var n=new f(t);try{return Sn(Qi(e,n),e,n)}catch(t){return na(t,e,n)}},ia={version:`0.16.43`,render:$i,renderToString:ea,ParseError:e,SETTINGS_SCHEMA:u,__parse:ta,__renderToDomTree:ra,__renderToHTMLTree:function(e,t){var n=new f(t);try{return Cn(Qi(e,n),e,n)}catch(t){return na(t,e,n)}},__setFontMetrics:Ue,__defineSymbol:k,__defineFunction:G,__defineMacro:$,__domTree:{Span:ke,Anchor:Ae,SymbolNode:Ne,SvgNode:Pe,PathNode:Fe,LineNode:Ie}};export{ia as t};
265
+ please report what input caused this bug`);return r=r.slice(1,-1),{type:`verb`,mode:`text`,body:r,star:i}}Xi.hasOwnProperty(n[0])&&!O[this.mode][n[0]]&&(this.settings.strict&&this.mode===`math`&&this.settings.reportNonstrict(`unicodeTextInMathMode`,`Accented Unicode text character "`+n[0]+`" used in math mode`,t),n=Xi[n[0]]+n.slice(1));var a=Ni.exec(n);a&&(n=n.substring(0,a.index),n===`i`?n=`ı`:n===`j`&&(n=`ȷ`));var o;if(O[this.mode][n]){this.settings.strict&&this.mode===`math`&&pt.includes(n)&&this.settings.reportNonstrict(`unicodeTextInMathMode`,`Latin-1/Unicode text character "`+n[0]+`" used in math mode`,t);var s=O[this.mode][n].group,c=Ir.range(t),l;if(qe.hasOwnProperty(s)){var u=s;l={type:`atom`,mode:this.mode,family:u,loc:c,text:n}}else l={type:s,mode:this.mode,loc:c,text:n};o=l}else if(n.charCodeAt(0)>=128)this.settings.strict&&(se(n.charCodeAt(0))?this.mode===`math`&&this.settings.reportNonstrict(`unicodeTextInMathMode`,`Unicode text character "`+n[0]+`" used in math mode`,t):this.settings.reportNonstrict(`unknownSymbol`,`Unrecognized Unicode character "`+n[0]+`"`+(` (`+n.charCodeAt(0)+`)`),t)),o={type:`textord`,mode:`text`,loc:Ir.range(t),text:n};else return null;if(this.consume(),a)for(var d=0;d<a[0].length;d++){var f=a[0][d];if(!Yi[f])throw new e(`Unknown accent ' `+f+`'`,t);var p=Yi[f][this.mode]||Yi[f].text;if(!p)throw new e(`Accent `+f+` unsupported in `+this.mode+` mode`,t);o={type:`accent`,mode:this.mode,loc:Ir.range(t),label:p,isStretchy:!1,isShifty:!0,base:o}}return o}};Zi.endOfExpression=new Set([`}`,`\\endgroup`,`\\end`,`\\right`,`&`]);var Qi=function(t,n){if(!(typeof t==`string`||t instanceof String))throw TypeError(`KaTeX can only parse string typed expression`);var r=new Zi(t,n);delete r.gullet.macros.current[`\\df@tag`];var i=r.parse();if(delete r.gullet.macros.current[`\\current@color`],delete r.gullet.macros.current[`\\color`],r.gullet.macros.get(`\\df@tag`)){if(!n.displayMode)throw new e(`\\tag works only in display equations`);i=[{type:`tag`,mode:`text`,body:i,tag:r.subparse([new Lr(`\\df@tag`)])}]}return i},$i=function(e,t,n){t.textContent=``;var r=ra(e,n).toNode();t.appendChild(r)};typeof document<`u`&&document.compatMode!==`CSS1Compat`&&(typeof console<`u`&&console.warn(`Warning: KaTeX doesn't work in quirks mode. Make sure your website has a suitable doctype.`),$i=function(){throw new e(`KaTeX doesn't work in quirks mode.`)});var ea=function(e,t){return ra(e,t).toMarkup()},ta=function(e,t){return Qi(e,new f(t))},na=function(t,n,r){if(r.throwOnError||!(t instanceof e))throw t;var i=H([`katex-error`],[new Ne(n)]);return i.setAttribute(`title`,t.toString()),i.setAttribute(`style`,`color:`+r.errorColor),i},ra=function(e,t){var n=new f(t);try{return Sn(Qi(e,n),e,n)}catch(t){return na(t,e,n)}},ia={version:`0.16.44`,render:$i,renderToString:ea,ParseError:e,SETTINGS_SCHEMA:u,__parse:ta,__renderToDomTree:ra,__renderToHTMLTree:function(e,t){var n=new f(t);try{return Cn(Qi(e,n),e,n)}catch(t){return na(t,e,n)}},__setFontMetrics:Ue,__defineSymbol:k,__defineFunction:G,__defineMacro:$,__domTree:{Span:ke,Anchor:Ae,SymbolNode:Ne,SvgNode:Pe,PathNode:Fe,LineNode:Ie}};export{ia as t};
package/dist/index.html CHANGED
@@ -3,7 +3,7 @@
3
3
  <head>
4
4
  <script>navigator.userAgent.toLowerCase().includes("firefox")&&document.head.appendChild(Object.assign(document.createElement("script"),{src:"./assets/es-module-shims-2.8.0.js"}))</script>
5
5
  <script type="importmap">{"imports":{"vue":"./assets/vue.esm-browser.prod-3.5.31.js","vue-router":"./assets/vue-router.esm-browser.prod-5.0.4.js"}}</script>
6
- <script type="module" crossorigin src="./assets/index-BTwxgQqb.js"></script>
6
+ <script type="module" crossorigin src="./assets/index-B_nrW9wm.js"></script>
7
7
  <link rel="modulepreload" crossorigin href="./assets/rolldown-runtime-Bhmf7a9N.js">
8
8
  <link rel="modulepreload" crossorigin href="./assets/markdown-DVKQPuW4.js">
9
9
  <link rel="modulepreload" crossorigin href="./assets/sucrase-Dj-lYtX4.js">
@@ -11,7 +11,7 @@
11
11
  <link rel="modulepreload" crossorigin href="./assets/vue-DDdLucjR.js">
12
12
  <link rel="modulepreload" crossorigin href="./assets/ofetch-XPJe_o5P.js">
13
13
  <link rel="modulepreload" crossorigin href="./assets/esprima-DkgNhTNr.js">
14
- <link rel="modulepreload" crossorigin href="./assets/katex-C_wfUVen.js">
14
+ <link rel="modulepreload" crossorigin href="./assets/katex-Ct-b5Mz7.js">
15
15
  <link rel="stylesheet" crossorigin href="./assets/index-DYiWZXWz.css">
16
16
  <link as="fetch" crossorigin href="./docs/index.json" rel="preload">
17
17
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "$schema": "https://www.schemastore.org/package",
3
3
  "name": "@skaldapp/runtime",
4
- "version": "3.3.1",
4
+ "version": "3.3.2",
5
5
  "description": " Skald Runtime is a Vue.js-based runtime environment for Skald applications that enables dynamic component loading from markdown files, provides SEO optimization, and includes features like syntax highlighting, mathematical expressions, and emoji support. Built with Vue 3's Composition API, it processes markdown content with a comprehensive pipeline and integrates with UnoCSS for styling.",
6
6
  "keywords": [
7
7
  "vue",
@@ -42,8 +42,8 @@
42
42
  "@mdit-vue/plugin-toc": "^3.0.2",
43
43
  "@nolebase/markdown-it-element-transform": "^2.18.2",
44
44
  "@sindresorhus/slugify": "^3.0.0",
45
- "@skaldapp/loader-sfc": "^2.4.39",
46
- "@skaldapp/shared": "^1.2.63",
45
+ "@skaldapp/loader-sfc": "^2.4.40",
46
+ "@skaldapp/shared": "^1.2.64",
47
47
  "@unhead/vue": "^2.1.12",
48
48
  "@unocss/runtime": "^66.6.7",
49
49
  "@unocss/transformer-directives": "^66.6.7",
@@ -53,7 +53,7 @@
53
53
  "comark": "^0.1.1",
54
54
  "hast-util-to-html": "^9.0.5",
55
55
  "jsonrepair": "^3.13.3",
56
- "katex": "^0.16.43",
56
+ "katex": "^0.16.44",
57
57
  "magic-string": "^0.30.21",
58
58
  "markdown-exit": "^1.0.0-beta.9",
59
59
  "markdown-it-anchor": "^9.2.0",
@@ -65,7 +65,7 @@
65
65
  },
66
66
  "devDependencies": {
67
67
  "@mdit-vue/types": "^3.0.2",
68
- "@skaldapp/configs": "^1.2.79",
68
+ "@skaldapp/configs": "^1.2.80",
69
69
  "@types/markdown-it-emoji": "^3.0.1",
70
70
  "@types/node": "^25.5.0",
71
71
  "@unocss/core": "^66.6.7",