@skaldapp/runtime 3.3.14 → 3.3.16
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.
package/dist/.vite/manifest.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"_esprima-CZ6k7Vqy.js":{"file":"assets/esprima-CZ6k7Vqy.js","name":"esprima","imports":["_rolldown-runtime-BM3Ffeng.js"]},"_katex-
|
|
1
|
+
{"_esprima-CZ6k7Vqy.js":{"file":"assets/esprima-CZ6k7Vqy.js","name":"esprima","imports":["_rolldown-runtime-BM3Ffeng.js"]},"_katex-D3Db7-Lq.js":{"file":"assets/katex-D3Db7-Lq.js","name":"katex"},"_markdown-CFxa_GGM.js":{"file":"assets/markdown-CFxa_GGM.js","name":"markdown","imports":["_rolldown-runtime-BM3Ffeng.js"]},"_ofetch-Cfi6mluq.js":{"file":"assets/ofetch-Cfi6mluq.js","name":"ofetch","imports":["_rolldown-runtime-BM3Ffeng.js"]},"_rolldown-runtime-BM3Ffeng.js":{"file":"assets/rolldown-runtime-BM3Ffeng.js","name":"rolldown-runtime"},"_sucrase-CPlQp3GN.js":{"file":"assets/sucrase-CPlQp3GN.js","name":"sucrase","imports":["_rolldown-runtime-BM3Ffeng.js","_markdown-CFxa_GGM.js"]},"_unocss-Df8m3hes.js":{"file":"assets/unocss-Df8m3hes.js","name":"unocss","imports":["_rolldown-runtime-BM3Ffeng.js","_sucrase-CPlQp3GN.js","_markdown-CFxa_GGM.js"],"dynamicImports":["_ofetch-Cfi6mluq.js"]},"_vue-C5Lh0g52.js":{"file":"assets/vue-C5Lh0g52.js","name":"vue","imports":["_rolldown-runtime-BM3Ffeng.js","_markdown-CFxa_GGM.js"]},"index.html":{"file":"assets/index-CcXzclHy.js","name":"index","src":"index.html","isEntry":true,"imports":["_rolldown-runtime-BM3Ffeng.js","_unocss-Df8m3hes.js","_sucrase-CPlQp3GN.js","_vue-C5Lh0g52.js","_markdown-CFxa_GGM.js","_ofetch-Cfi6mluq.js","_esprima-CZ6k7Vqy.js","_katex-D3Db7-Lq.js"],"css":["assets/index-DYiWZXWz.css"]},"node_modules/es-module-shims/dist/es-module-shims.js":{"file":"assets/es-module-shims-2.8.1.js","isStaticEntry":true,"name":"es-module-shims"},"node_modules/vue/dist/vue.esm-browser.prod.js":{"file":"assets/vue.esm-browser.prod-3.5.34.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.7.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-BM3Ffeng.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-Df8m3hes.js";import{i as require_buffer,n as createMarkdownExit,r as Token$1,t as b}from"./markdown-CFxa_GGM.js";import{t as transform$1}from"./sucrase-CPlQp3GN.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-C5Lh0g52.js";import{n as ofetch}from"./ofetch-Cfi6mluq.js";import{t as require_esprima}from"./esprima-CZ6k7Vqy.js";import{t as katex}from"./katex-DYBLfv-6.js";import{Fragment,Suspense,computed,createApp,createBlock,createElementBlock,createElementVNode,createVNode,defineAsyncComponent,defineComponent,getCurrentInstance,getCurrentScope,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&&=R(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=R(this.rhs,e,n),this}get names(){return L(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=R(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)||(z(e,o.names),n.splice(a,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce((e,t)=>I(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(B(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=R(this.condition,e,t),this}get names(){let e=super.names;return L(e,this.condition),this.else&&I(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=R(this.iteration,e,t),this}get names(){return I(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 L(L(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=R(this.iterable,e,t),this}get names(){return I(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&&I(e,this.catch.names),this.finally&&I(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 F=class extends S{render(e){return`finally`+super.render(e)}};F.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-BM3Ffeng.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-Df8m3hes.js";import{i as require_buffer,n as createMarkdownExit,r as Token$1,t as b}from"./markdown-CFxa_GGM.js";import{t as transform$1}from"./sucrase-CPlQp3GN.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-C5Lh0g52.js";import{n as ofetch}from"./ofetch-Cfi6mluq.js";import{t as require_esprima}from"./esprima-CZ6k7Vqy.js";import{t as katex}from"./katex-D3Db7-Lq.js";import{Fragment,Suspense,computed,createApp,createBlock,createElementBlock,createElementVNode,createVNode,defineAsyncComponent,defineComponent,getCurrentInstance,getCurrentScope,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&&=R(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=R(this.rhs,e,n),this}get names(){return L(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=R(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)||(z(e,o.names),n.splice(a,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce((e,t)=>I(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(B(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=R(this.condition,e,t),this}get names(){let e=super.names;return L(e,this.condition),this.else&&I(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=R(this.iteration,e,t),this}get names(){return I(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 L(L(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=R(this.iterable,e,t),this}get names(){return I(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&&I(e,this.catch.names),this.finally&&I(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 F=class extends S{render(e){return`finally`+super.render(e)}};F.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 F,this.code(n)),this._endBlockNode(N,F)}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 I(e,t){for(let n in t)e[n]=(e[n]||0)+(t[n]||0);return e}function L(e,n){return n instanceof t._CodeOrName?I(e,n.names):e}function R(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 z(e,t){for(let n in t)e[n]=(e[n]||0)-(t[n]||0)}function B(e){return typeof e==`boolean`||typeof e==`number`||e===null?!e:(0,t._)`!${K(e)}`}e.not=B;var V=G(e.operators.AND);function H(...e){return e.reduce(V)}e.and=H;var U=G(e.operators.OR);function W(...e){return e.reduce(U)}e.or=W;function G(e){return(n,a)=>n===t.nil?a:a===t.nil?n:(0,t._)`${K(n)} ${e} ${K(a)}`}function K(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"
|
|
@@ -122,4 +122,4 @@ ${o?.script?.content??``}
|
|
|
122
122
|
${o?.scriptSetup?`${o.scriptSetup.tagOpen}${l}${o.scriptSetup.contentStripped}${o.scriptSetup.tagClose}`:`<script setup>${l}<\/script>`}
|
|
123
123
|
${u.map(({contentStripped:e,tagClose:t,tagOpen:n})=>`${n}${e.toString()}${t}}`).join(`
|
|
124
124
|
`)}
|
|
125
|
-
`,{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 extractTextContent(e){if(e){if(typeof e==`string`)return e;if(Array.isArray(e)){let t=e[0];if(typeof t==`string`)return t;if(t&&typeof t==`object`&&`children`in t)return extractTextContent(t.children)}}}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||{}},l=a===`script`?`innerHTML`:`textContent`;if(o.children!==void 0&&(o[l]=o.children,delete o.children),e.children){let t=extractTextContent(e.children);t!==void 0&&(o[l]=t)}Array.isArray(t[a])?t[a].push(o):a===`title`?t.title=o.textContent??o.innerHTML: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})),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(),MinifyPlugin()]})).provide(`docs`,toReactive(kvNodes)),init({defaults:{presets:uno_presets_default({iconsOptions})},ready}),console.info(`Skald / https://github.com/skaldapp / runtime ver.:`,`3.3.
|
|
125
|
+
`,{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 extractTextContent(e){if(e){if(typeof e==`string`)return e;if(Array.isArray(e)){let t=e[0];if(typeof t==`string`)return t;if(t&&typeof t==`object`&&`children`in t)return extractTextContent(t.children)}}}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||{}},l=a===`script`?`innerHTML`:`textContent`;if(o.children!==void 0&&(o[l]=o.children,delete o.children),e.children){let t=extractTextContent(e.children);t!==void 0&&(o[l]=t)}Array.isArray(t[a])?t[a].push(o):a===`title`?t.title=o.textContent??o.innerHTML: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})),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(),MinifyPlugin()]})).provide(`docs`,toReactive(kvNodes)),init({defaults:{presets:uno_presets_default({iconsOptions})},ready}),console.info(`Skald / https://github.com/skaldapp / runtime ver.:`,`3.3.16`);
|
|
@@ -220,8 +220,8 @@ M93 435 v40 H400000 v-40z M500 241 v40 H400000 v-40z M500 241 v40 H400000 v-40z`
|
|
|
220
220
|
c4.7,-4.7,7,-9.3,7,-14c0,-9.3,-3.7,-15.3,-11,-18c-92.7,-56.7,-159,-133.7,-199,
|
|
221
221
|
-231c-3.3,-9.3,-6,-14.7,-8,-16c-2,-1.3,-7,-2,-15,-2c-10.7,0,-16.7,2,-18,6
|
|
222
222
|
c-2,2.7,-1,9.7,3,21c15.3,42,36.7,81.8,64,119.5c27.3,37.7,58,69.2,92,94.5z
|
|
223
|
-
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},be=function(e,t){switch(e){case`lbrack`:return`M403 1759 V84 H666 V0 H319 V1759 v`+t+` v1759 h347 v-84
|
|
224
|
-
H403z M403 1759 V0 H319 V1759 v`+t+` v1759 h84z`;case`rbrack`:return`M347 1759 V0 H0 V84 H263 V1759 v`+t+` v1759 H0 v84 H347z
|
|
223
|
+
M500 241 v40 H399408 v-40z M500 435 v40 H400000 v-40z`},be=function(e,t){switch(e){case`lbrack`:return`M403 1759 V84 H666 V0 H319 V1759 v`+t+` v1759 v84 h347 v-84
|
|
224
|
+
H403z M403 1759 V0 H319 V1759 v`+t+` v1759 v84 h84z`;case`rbrack`:return`M347 1759 V0 H0 V84 H263 V1759 v`+t+` v1759 H0 v84 H347z
|
|
225
225
|
M347 1759 V0 H263 V1759 v`+t+` v1759 h84z`;case`vert`:return`M145 15 v585 v`+t+` v585 c2.667,10,9.667,15,21,15
|
|
226
226
|
c10,0,16.667,-5,20,-15 v-585 v`+-t+` v-585 c-2.667,-10,-9.667,-15,-21,-15
|
|
227
227
|
c-10,0,-16.667,5,-20,15z M188 15 H145 v585 v`+t+` v585 h43z`;case`doublevert`:return`M145 15 v585 v`+t+` v585 c2.667,10,9.667,15,21,15
|
|
@@ -254,4 +254,4 @@ l0,-`+(t+144)+`c-2,-159.3,-10,-310.7,-24,-454c-53.3,-528,-210,-949.7,
|
|
|
254
254
|
|[ \r ]+
|
|
255
255
|
?)[ \r ]*`,$i=`[̀-ͯ]`,ea=RegExp($i+`+$`),ta=`(`+Ji+`+)|`+(Qi+`|`)+`([!-\\[\\]-‧-豈-]`+($i+`*`)+`|[\ud800-\udbff][\udc00-\udfff]`+($i+`*`)+`|\\\\verb\\*([^]).*?\\4|\\\\verb([^*a-zA-Z]).*?\\5`+(`|`+Zi)+(`|`+Xi+`)`),na=class{constructor(e,t){this.input=void 0,this.settings=void 0,this.tokenRegex=void 0,this.catcodes=void 0,this.input=e,this.settings=t,this.tokenRegex=new RegExp(ta,`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 ri(`EOF`,new ni(this,n,n));var r=this.tokenRegex.exec(t);if(r===null||r.index!==n)throw new e(`Unexpected character: '`+t[n]+`'`,new ri(t[n],new ni(this,n,n+1)));var i=r[6]||r[3]||(r[2]?`\\ `:` `);if(this.catcodes[i]===14){var a=t.indexOf(`
|
|
256
256
|
`,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 ri(i,new ni(this,n,this.tokenRegex.lastIndex))}},ra=class{constructor(e,t){e===void 0&&(e={}),t===void 0&&(t={}),this.current=void 0,this.builtins=void 0,this.undefStack=void 0,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}},ia=ti;$(`\\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 aa={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=aa[n.text],i==null||i>=r)throw new e(`Invalid base-`+r+` digit `+n.text);for(var a;(a=aa[t.future().text])!=null&&a<r;)i*=r,i+=a,t.popToken()}return`\\@char{`+i+`}`});var oa=(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=>oa(e,!1,!0,!1)),$(`\\renewcommand`,e=>oa(e,!0,!1,!1)),$(`\\providecommand`,e=>oa(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),qi[n],A.math[n],A.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 sa={",":`\\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`},ca=new Set([`bin`,`rel`]);$(`\\dots`,function(e){var t=`\\dotso`,n=e.expandAfterFuture().text;return n in sa?t=sa[n]:(n.slice(0,4)===`\\not`||n in A.math&&ca.has(A.math[n].group))&&(t=`\\dotsb`),t});var la={")":!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 la?`\\ldots\\,`:`\\ldots`}),$(`\\dotsc`,function(e){var t=e.future().text;return t in la&&t!==`,`?`\\ldots\\,`:`\\ldots`}),$(`\\cdots`,function(e){return e.future().text in la?`\\@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 ua=k(Ue[`Main-Regular`][84][1]-.7*Ue[`Main-Regular`][65][1]);$(`\\LaTeX`,`\\textrm{\\html@mathml{`+(`L\\kern-.36em\\raisebox{`+ua+`}{\\scriptstyle A}`)+`\\kern-.15em\\TeX}{LaTeX}}`),$(`\\KaTeX`,`\\textrm{\\html@mathml{`+(`K\\kern-.17em\\raisebox{`+ua+`}{\\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 da=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`,da(!1)),$(`\\bra@set`,da(!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 fa={"^":!0,_:!0,"\\limits":!0,"\\nolimits":!0},pa=class{constructor(e,t,n){this.settings=void 0,this.expansionCount=void 0,this.lexer=void 0,this.macros=void 0,this.stack=void 0,this.mode=void 0,this.settings=t,this.expansionCount=0,this.feed(e),this.macros=new ra(ia,t.macros),this.mode=n,this.stack=[]}feed(e){this.lexer=new na(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 ri(`EOF`,n.loc)),this.pushTokens(r),new ri(``,ni.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 ri(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 na(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)||qi.hasOwnProperty(e)||A.math.hasOwnProperty(e)||A.text.hasOwnProperty(e)||fa.hasOwnProperty(e)}isExpandable(e){var t=this.macros.get(e);return t==null?qi.hasOwnProperty(e)&&!qi[e].primitive:typeof t==`string`||typeof t==`function`||!t.unexpandable}},ma=/^[₊₋₌₍₎₀₁₂₃₄₅₆₇₈₉ₐₑₕᵢⱼₖₗₘₙₒₚᵣₛₜᵤᵥₓᵦᵧᵨᵩᵪ]/,ha=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`,ᵝ:`β`,ᵞ:`γ`,ᵟ:`δ`,ᵠ:`ϕ`,ᵡ:`χ`,ᶿ:`θ`}),ga={"́":{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`}},_a={á:`á`,à:`à`,ä:`ä`,ǟ:`ǟ`,ã:`ã`,ā:`ā`,ă:`ă`,ắ:`ắ`,ằ:`ằ`,ẵ:`ẵ`,ǎ:`ǎ`,â:`â`,ấ:`ấ`,ầ:`ầ`,ẫ:`ẫ`,ȧ:`ȧ`,ǡ:`ǡ`,å:`å`,ǻ:`ǻ`,ḃ:`ḃ`,ć:`ć`,ḉ:`ḉ`,č:`č`,ĉ:`ĉ`,ċ:`ċ`,ç:`ç`,ď:`ď`,ḋ:`ḋ`,ḑ:`ḑ`,é:`é`,è:`è`,ë:`ë`,ẽ:`ẽ`,ē:`ē`,ḗ:`ḗ`,ḕ:`ḕ`,ĕ:`ĕ`,ḝ:`ḝ`,ě:`ě`,ê:`ê`,ế:`ế`,ề:`ề`,ễ:`ễ`,ė:`ė`,ȩ:`ȩ`,ḟ:`ḟ`,ǵ:`ǵ`,ḡ:`ḡ`,ğ:`ğ`,ǧ:`ǧ`,ĝ:`ĝ`,ġ:`ġ`,ģ:`ģ`,ḧ:`ḧ`,ȟ:`ȟ`,ĥ:`ĥ`,ḣ:`ḣ`,ḩ:`ḩ`,í:`í`,ì:`ì`,ï:`ï`,ḯ:`ḯ`,ĩ:`ĩ`,ī:`ī`,ĭ:`ĭ`,ǐ:`ǐ`,î:`î`,ǰ:`ǰ`,ĵ:`ĵ`,ḱ:`ḱ`,ǩ:`ǩ`,ķ:`ķ`,ĺ:`ĺ`,ľ:`ľ`,ļ:`ļ`,ḿ:`ḿ`,ṁ:`ṁ`,ń:`ń`,ǹ:`ǹ`,ñ:`ñ`,ň:`ň`,ṅ:`ṅ`,ņ:`ņ`,ó:`ó`,ò:`ò`,ö:`ö`,ȫ:`ȫ`,õ:`õ`,ṍ:`ṍ`,ṏ:`ṏ`,ȭ:`ȭ`,ō:`ō`,ṓ:`ṓ`,ṑ:`ṑ`,ŏ:`ŏ`,ǒ:`ǒ`,ô:`ô`,ố:`ố`,ồ:`ồ`,ỗ:`ỗ`,ȯ:`ȯ`,ȱ:`ȱ`,ő:`ő`,ṕ:`ṕ`,ṗ:`ṗ`,ŕ:`ŕ`,ř:`ř`,ṙ:`ṙ`,ŗ:`ŗ`,ś:`ś`,ṥ:`ṥ`,š:`š`,ṧ:`ṧ`,ŝ:`ŝ`,ṡ:`ṡ`,ş:`ş`,ẗ:`ẗ`,ť:`ť`,ṫ:`ṫ`,ţ:`ţ`,ú:`ú`,ù:`ù`,ü:`ü`,ǘ:`ǘ`,ǜ:`ǜ`,ǖ:`ǖ`,ǚ:`ǚ`,ũ:`ũ`,ṹ:`ṹ`,ū:`ū`,ṻ:`ṻ`,ŭ:`ŭ`,ǔ:`ǔ`,û:`û`,ů:`ů`,ű:`ű`,ṽ:`ṽ`,ẃ:`ẃ`,ẁ:`ẁ`,ẅ:`ẅ`,ŵ:`ŵ`,ẇ:`ẇ`,ẘ:`ẘ`,ẍ:`ẍ`,ẋ:`ẋ`,ý:`ý`,ỳ:`ỳ`,ÿ:`ÿ`,ỹ:`ỹ`,ȳ:`ȳ`,ŷ:`ŷ`,ẏ:`ẏ`,ẙ:`ẙ`,ź:`ź`,ž:`ž`,ẑ:`ẑ`,ż:`ż`,Á:`Á`,À:`À`,Ä:`Ä`,Ǟ:`Ǟ`,Ã:`Ã`,Ā:`Ā`,Ă:`Ă`,Ắ:`Ắ`,Ằ:`Ằ`,Ẵ:`Ẵ`,Ǎ:`Ǎ`,Â:`Â`,Ấ:`Ấ`,Ầ:`Ầ`,Ẫ:`Ẫ`,Ȧ:`Ȧ`,Ǡ:`Ǡ`,Å:`Å`,Ǻ:`Ǻ`,Ḃ:`Ḃ`,Ć:`Ć`,Ḉ:`Ḉ`,Č:`Č`,Ĉ:`Ĉ`,Ċ:`Ċ`,Ç:`Ç`,Ď:`Ď`,Ḋ:`Ḋ`,Ḑ:`Ḑ`,É:`É`,È:`È`,Ë:`Ë`,Ẽ:`Ẽ`,Ē:`Ē`,Ḗ:`Ḗ`,Ḕ:`Ḕ`,Ĕ:`Ĕ`,Ḝ:`Ḝ`,Ě:`Ě`,Ê:`Ê`,Ế:`Ế`,Ề:`Ề`,Ễ:`Ễ`,Ė:`Ė`,Ȩ:`Ȩ`,Ḟ:`Ḟ`,Ǵ:`Ǵ`,Ḡ:`Ḡ`,Ğ:`Ğ`,Ǧ:`Ǧ`,Ĝ:`Ĝ`,Ġ:`Ġ`,Ģ:`Ģ`,Ḧ:`Ḧ`,Ȟ:`Ȟ`,Ĥ:`Ĥ`,Ḣ:`Ḣ`,Ḩ:`Ḩ`,Í:`Í`,Ì:`Ì`,Ï:`Ï`,Ḯ:`Ḯ`,Ĩ:`Ĩ`,Ī:`Ī`,Ĭ:`Ĭ`,Ǐ:`Ǐ`,Î:`Î`,İ:`İ`,Ĵ:`Ĵ`,Ḱ:`Ḱ`,Ǩ:`Ǩ`,Ķ:`Ķ`,Ĺ:`Ĺ`,Ľ:`Ľ`,Ļ:`Ļ`,Ḿ:`Ḿ`,Ṁ:`Ṁ`,Ń:`Ń`,Ǹ:`Ǹ`,Ñ:`Ñ`,Ň:`Ň`,Ṅ:`Ṅ`,Ņ:`Ņ`,Ó:`Ó`,Ò:`Ò`,Ö:`Ö`,Ȫ:`Ȫ`,Õ:`Õ`,Ṍ:`Ṍ`,Ṏ:`Ṏ`,Ȭ:`Ȭ`,Ō:`Ō`,Ṓ:`Ṓ`,Ṑ:`Ṑ`,Ŏ:`Ŏ`,Ǒ:`Ǒ`,Ô:`Ô`,Ố:`Ố`,Ồ:`Ồ`,Ỗ:`Ỗ`,Ȯ:`Ȯ`,Ȱ:`Ȱ`,Ő:`Ő`,Ṕ:`Ṕ`,Ṗ:`Ṗ`,Ŕ:`Ŕ`,Ř:`Ř`,Ṙ:`Ṙ`,Ŗ:`Ŗ`,Ś:`Ś`,Ṥ:`Ṥ`,Š:`Š`,Ṧ:`Ṧ`,Ŝ:`Ŝ`,Ṡ:`Ṡ`,Ş:`Ş`,Ť:`Ť`,Ṫ:`Ṫ`,Ţ:`Ţ`,Ú:`Ú`,Ù:`Ù`,Ü:`Ü`,Ǘ:`Ǘ`,Ǜ:`Ǜ`,Ǖ:`Ǖ`,Ǚ:`Ǚ`,Ũ:`Ũ`,Ṹ:`Ṹ`,Ū:`Ū`,Ṻ:`Ṻ`,Ŭ:`Ŭ`,Ǔ:`Ǔ`,Û:`Û`,Ů:`Ů`,Ű:`Ű`,Ṽ:`Ṽ`,Ẃ:`Ẃ`,Ẁ:`Ẁ`,Ẅ:`Ẅ`,Ŵ:`Ŵ`,Ẇ:`Ẇ`,Ẍ:`Ẍ`,Ẋ:`Ẋ`,Ý:`Ý`,Ỳ:`Ỳ`,Ÿ:`Ÿ`,Ỹ:`Ỹ`,Ȳ:`Ȳ`,Ŷ:`Ŷ`,Ẏ:`Ẏ`,Ź:`Ź`,Ž:`Ž`,Ẑ:`Ẑ`,Ż:`Ż`,ά:`ά`,ὰ:`ὰ`,ᾱ:`ᾱ`,ᾰ:`ᾰ`,έ:`έ`,ὲ:`ὲ`,ή:`ή`,ὴ:`ὴ`,ί:`ί`,ὶ:`ὶ`,ϊ:`ϊ`,ΐ:`ΐ`,ῒ:`ῒ`,ῑ:`ῑ`,ῐ:`ῐ`,ό:`ό`,ὸ:`ὸ`,ύ:`ύ`,ὺ:`ὺ`,ϋ:`ϋ`,ΰ:`ΰ`,ῢ:`ῢ`,ῡ:`ῡ`,ῠ:`ῠ`,ώ:`ώ`,ὼ:`ὼ`,Ύ:`Ύ`,Ὺ:`Ὺ`,Ϋ:`Ϋ`,Ῡ:`Ῡ`,Ῠ:`Ῠ`,Ώ:`Ώ`,Ὼ:`Ὼ`},va=class t{constructor(e,t){this.mode=void 0,this.gullet=void 0,this.settings=void 0,this.leftrightDepth=void 0,this.nextToken=void 0,this.mode=`math`,this.gullet=new pa(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 ri(`}`)),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&&qi[i.text]&&qi[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(ha[a.text]){var c=ma.test(a.text),l=[];for(l.push(new ri(ha[a.text])),this.consume();;){var u=this.fetch().text;if(!ha[u]||ma.test(u)!==c)break;l.unshift(new ri(ha[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=qi[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=qi[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`,resetFont:!0};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(!Te(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:ni.range(r,c),body:s,semisimple:i===`\\begingroup`||void 0}}else if(a=this.parseFunction(n,t)||this.parseSymbol(),a==null&&i[0]===`\\`&&!fa.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:ni.range(r,o),text:`---`}),t-=2):(e.splice(n,2,{type:`textord`,mode:`text`,loc:ni.range(r,a),text:`--`}),--t)}(i===`'`||i==="`")&&a.text===i&&(e.splice(n,2,{type:`textord`,mode:`text`,loc:ni.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 --
|
|
257
|
-
please report what input caused this bug`);return r=r.slice(1,-1),{type:`verb`,mode:`text`,body:r,star:i}}_a.hasOwnProperty(n[0])&&!A[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=_a[n[0]]+n.slice(1));var a=ea.exec(n);a&&(n=n.substring(0,a.index),n===`i`?n=`ı`:n===`j`&&(n=`ȷ`));var o;if(A[this.mode][n]){this.settings.strict&&this.mode===`math`&&mt.includes(n)&&this.settings.reportNonstrict(`unicodeTextInMathMode`,`Latin-1/Unicode text character "`+n[0]+`" used in math mode`,t);var s=A[this.mode][n].group,c=ni.range(t);o=Jn(s)?{type:`atom`,mode:this.mode,family:s,loc:c,text:n}:{type:s,mode:this.mode,loc:c,text:n}}else if(n.charCodeAt(0)>=128)this.settings.strict&&(ce(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:ni.range(t),text:n};else return null;if(this.consume(),a)for(var l=0;l<a[0].length;l++){var u=a[0][l];if(!ga[u])throw new e(`Unknown accent ' `+u+`'`,t);var d=ga[u][this.mode]||ga[u].text;if(!d)throw new e(`Accent `+u+` unsupported in `+this.mode+` mode`,t);o={type:`accent`,mode:this.mode,loc:ni.range(t),label:d,isStretchy:!1,isShifty:!0,base:o}}return o}};va.endOfExpression=new Set([`}`,`\\endgroup`,`\\end`,`\\right`,`&`]);var ya=function(t,n){if(!(typeof t==`string`||t instanceof String))throw TypeError(`KaTeX can only parse string typed expression`);var r=new va(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 ri(`\\df@tag`)])}]}return i},ba=function(e,t,n){t.textContent=``;var r=wa(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.`),ba=function(){throw new e(`KaTeX doesn't work in quirks mode.`)});var xa=function(e,t){return wa(e,t).toMarkup()},Sa=function(e,t){return ya(e,new m(t))},Ca=function(t,n,r){if(r.throwOnError||!(t instanceof e))throw t;var i=W([`katex-error`],[new Ie(n)]);return i.setAttribute(`title`,t.toString()),i.setAttribute(`style`,`color:`+r.errorColor),i},wa=function(e,t){var n=new m(t);try{return Rn(ya(e,n),e,n)}catch(t){return Ca(t,e,n)}},Ta={version:`0.16.
|
|
257
|
+
please report what input caused this bug`);return r=r.slice(1,-1),{type:`verb`,mode:`text`,body:r,star:i}}_a.hasOwnProperty(n[0])&&!A[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=_a[n[0]]+n.slice(1));var a=ea.exec(n);a&&(n=n.substring(0,a.index),n===`i`?n=`ı`:n===`j`&&(n=`ȷ`));var o;if(A[this.mode][n]){this.settings.strict&&this.mode===`math`&&mt.includes(n)&&this.settings.reportNonstrict(`unicodeTextInMathMode`,`Latin-1/Unicode text character "`+n[0]+`" used in math mode`,t);var s=A[this.mode][n].group,c=ni.range(t);o=Jn(s)?{type:`atom`,mode:this.mode,family:s,loc:c,text:n}:{type:s,mode:this.mode,loc:c,text:n}}else if(n.charCodeAt(0)>=128)this.settings.strict&&(ce(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:ni.range(t),text:n};else return null;if(this.consume(),a)for(var l=0;l<a[0].length;l++){var u=a[0][l];if(!ga[u])throw new e(`Unknown accent ' `+u+`'`,t);var d=ga[u][this.mode]||ga[u].text;if(!d)throw new e(`Accent `+u+` unsupported in `+this.mode+` mode`,t);o={type:`accent`,mode:this.mode,loc:ni.range(t),label:d,isStretchy:!1,isShifty:!0,base:o}}return o}};va.endOfExpression=new Set([`}`,`\\endgroup`,`\\end`,`\\right`,`&`]);var ya=function(t,n){if(!(typeof t==`string`||t instanceof String))throw TypeError(`KaTeX can only parse string typed expression`);var r=new va(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 ri(`\\df@tag`)])}]}return i},ba=function(e,t,n){t.textContent=``;var r=wa(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.`),ba=function(){throw new e(`KaTeX doesn't work in quirks mode.`)});var xa=function(e,t){return wa(e,t).toMarkup()},Sa=function(e,t){return ya(e,new m(t))},Ca=function(t,n,r){if(r.throwOnError||!(t instanceof e))throw t;var i=W([`katex-error`],[new Ie(n)]);return i.setAttribute(`title`,t.toString()),i.setAttribute(`style`,`color:`+r.errorColor),i},wa=function(e,t){var n=new m(t);try{return Rn(ya(e,n),e,n)}catch(t){return Ca(t,e,n)}},Ta={version:`0.16.47`,render:ba,renderToString:xa,ParseError:e,SETTINGS_SCHEMA:u,__parse:Sa,__renderToDomTree:wa,__renderToHTMLTree:function(e,t){var n=new m(t);try{return zn(ya(e,n),e,n)}catch(t){return Ca(t,e,n)}},__setFontMetrics:Ke,__defineSymbol:j,__defineFunction:q,__defineMacro:$,__domTree:{Span:Me,Anchor:Ne,SymbolNode:Ie,SvgNode:Le,PathNode:Re,LineNode:ze}};export{Ta 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.1.js"}))</script>
|
|
5
5
|
<script type="importmap">{"imports":{"vue":"./assets/vue.esm-browser.prod-3.5.34.js","vue-router":"./assets/vue-router.esm-browser.prod-5.0.7.js"}}</script>
|
|
6
|
-
<script type="module" crossorigin src="./assets/index-
|
|
6
|
+
<script type="module" crossorigin src="./assets/index-CcXzclHy.js"></script>
|
|
7
7
|
<link rel="modulepreload" crossorigin href="./assets/rolldown-runtime-BM3Ffeng.js">
|
|
8
8
|
<link rel="modulepreload" crossorigin href="./assets/markdown-CFxa_GGM.js">
|
|
9
9
|
<link rel="modulepreload" crossorigin href="./assets/sucrase-CPlQp3GN.js">
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
<link rel="modulepreload" crossorigin href="./assets/vue-C5Lh0g52.js">
|
|
12
12
|
<link rel="modulepreload" crossorigin href="./assets/ofetch-Cfi6mluq.js">
|
|
13
13
|
<link rel="modulepreload" crossorigin href="./assets/esprima-CZ6k7Vqy.js">
|
|
14
|
-
<link rel="modulepreload" crossorigin href="./assets/katex-
|
|
14
|
+
<link rel="modulepreload" crossorigin href="./assets/katex-D3Db7-Lq.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.
|
|
4
|
+
"version": "3.3.16",
|
|
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.
|
|
46
|
-
"@skaldapp/shared": "^1.2.
|
|
45
|
+
"@skaldapp/loader-sfc": "^2.4.54",
|
|
46
|
+
"@skaldapp/shared": "^1.2.80",
|
|
47
47
|
"@unhead/vue": "^3.1.0",
|
|
48
48
|
"@unocss/runtime": "^66.6.8",
|
|
49
49
|
"@unocss/transformer-directives": "^66.6.8",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"comark": "^0.3.2",
|
|
54
54
|
"hast-util-to-html": "^9.0.5",
|
|
55
55
|
"jsonrepair": "^3.14.0",
|
|
56
|
-
"katex": "^0.16.
|
|
56
|
+
"katex": "^0.16.47",
|
|
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,9 +65,9 @@
|
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@mdit-vue/types": "^3.0.2",
|
|
68
|
-
"@skaldapp/configs": "^1.2.
|
|
68
|
+
"@skaldapp/configs": "^1.2.109",
|
|
69
69
|
"@types/markdown-it-emoji": "^3.0.1",
|
|
70
|
-
"@types/node": "^25.
|
|
70
|
+
"@types/node": "^25.9.1",
|
|
71
71
|
"@unocss/core": "^66.6.8",
|
|
72
72
|
"buffer": "^6.0.3",
|
|
73
73
|
"es-module-shims": "^2.8.1",
|