@skaldapp/runtime 3.4.4 → 3.4.5
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-txU12DEc.js":{"file":"assets/esprima-txU12DEc.js","name":"esprima","imports":["_rolldown-runtime-CMxvf4Kt.js"]},"_katex-CRoMLhsb.js":{"file":"assets/katex-CRoMLhsb.js","name":"katex"},"_markdown-LfeUFL1q.js":{"file":"assets/markdown-LfeUFL1q.js","name":"markdown","imports":["_rolldown-runtime-CMxvf4Kt.js"]},"_ofetch-Bpm7W2mZ.js":{"file":"assets/ofetch-Bpm7W2mZ.js","name":"ofetch","imports":["_rolldown-runtime-CMxvf4Kt.js"]},"_rolldown-runtime-CMxvf4Kt.js":{"file":"assets/rolldown-runtime-CMxvf4Kt.js","name":"rolldown-runtime"},"_sucrase-BI4mSryY.js":{"file":"assets/sucrase-BI4mSryY.js","name":"sucrase","imports":["_rolldown-runtime-CMxvf4Kt.js","_markdown-LfeUFL1q.js"]},"_unocss-CuJ2F1xY.js":{"file":"assets/unocss-CuJ2F1xY.js","name":"unocss","imports":["_rolldown-runtime-CMxvf4Kt.js","_sucrase-BI4mSryY.js","_markdown-LfeUFL1q.js"],"dynamicImports":["_ofetch-Bpm7W2mZ.js"]},"_vue-CVG2qTIz.js":{"file":"assets/vue-CVG2qTIz.js","name":"vue","imports":["_rolldown-runtime-CMxvf4Kt.js","_markdown-LfeUFL1q.js"]},"index.html":{"file":"assets/index-
|
|
1
|
+
{"_esprima-txU12DEc.js":{"file":"assets/esprima-txU12DEc.js","name":"esprima","imports":["_rolldown-runtime-CMxvf4Kt.js"]},"_katex-CRoMLhsb.js":{"file":"assets/katex-CRoMLhsb.js","name":"katex"},"_markdown-LfeUFL1q.js":{"file":"assets/markdown-LfeUFL1q.js","name":"markdown","imports":["_rolldown-runtime-CMxvf4Kt.js"]},"_ofetch-Bpm7W2mZ.js":{"file":"assets/ofetch-Bpm7W2mZ.js","name":"ofetch","imports":["_rolldown-runtime-CMxvf4Kt.js"]},"_rolldown-runtime-CMxvf4Kt.js":{"file":"assets/rolldown-runtime-CMxvf4Kt.js","name":"rolldown-runtime"},"_sucrase-BI4mSryY.js":{"file":"assets/sucrase-BI4mSryY.js","name":"sucrase","imports":["_rolldown-runtime-CMxvf4Kt.js","_markdown-LfeUFL1q.js"]},"_unocss-CuJ2F1xY.js":{"file":"assets/unocss-CuJ2F1xY.js","name":"unocss","imports":["_rolldown-runtime-CMxvf4Kt.js","_sucrase-BI4mSryY.js","_markdown-LfeUFL1q.js"],"dynamicImports":["_ofetch-Bpm7W2mZ.js"]},"_vue-CVG2qTIz.js":{"file":"assets/vue-CVG2qTIz.js","name":"vue","imports":["_rolldown-runtime-CMxvf4Kt.js","_markdown-LfeUFL1q.js"]},"index.html":{"file":"assets/index-BPxQ1AFa.js","name":"index","src":"index.html","isEntry":true,"imports":["_rolldown-runtime-CMxvf4Kt.js","_unocss-CuJ2F1xY.js","_sucrase-BI4mSryY.js","_vue-CVG2qTIz.js","_markdown-LfeUFL1q.js","_ofetch-Bpm7W2mZ.js","_esprima-txU12DEc.js","_katex-CRoMLhsb.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.35.js","isStaticEntry":true,"name":"vue"},"node_modules/vue-router/dist/vue-router.esm-browser.prod.js":{"file":"assets/vue-router.esm-browser.prod-5.1.0.js","isStaticEntry":true,"name":"vue-router"}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as __toCommonJS,n as __esmMin,o as __toESM$1,r as __exportAll,t as __commonJSMin$1}from"./rolldown-runtime-CMxvf4Kt.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-CuJ2F1xY.js";import{i as require_buffer,n as createMarkdownExit,r as Token$1,t as b}from"./markdown-LfeUFL1q.js";import{t as transform$1}from"./sucrase-BI4mSryY.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-CVG2qTIz.js";import{n as ofetch}from"./ofetch-Bpm7W2mZ.js";import{t as require_esprima}from"./esprima-txU12DEc.js";import{t as katex}from"./katex-CRoMLhsb.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:i,webFontsOptions:a,wind4Options:o}={})=>[presetWind4({preflights,...o}),presetAttributify(e),presetTagify(n),presetIcons({cdn,...t}),presetWebFonts(a),presetTypography(i)],require_words=__commonJSMin$1((e=>{var t=e&&e.__values||function(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],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,i){var a,o;i===void 0&&(i=[]);var l=new Set(i),u=[];try{for(var d=t(e.wordList[n]),f=d.next();!f.done;f=d.next()){var m=f.value;(i.length===0||m.categories.some(function(e){return l.has(e)}))&&u.push(m.word)}}catch(e){a={error:e}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(a)throw a.error}}return u}e.getWordsByCategory=n})),require_dist=__commonJSMin$1((e=>{var t=e&&e.__assign||function(){return t=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var a in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},t.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.totalUniqueSlugs=e.generateSlug=void 0;var n=require_words(),i=3;function a(e,a){for(var u=e||i,d={partsOfSpeech:o(u),categories:{},format:`kebab`},f=t(t({},d),a),m=[],g=0;g<u;g++){var v=f.partsOfSpeech[g],y=n.getWordsByCategory(f.partsOfSpeech[g],f.categories[v]),x=y[Math.floor(Math.random()*y.length)];m.push(x)}return l(m,f.format)}e.generateSlug=a;function o(e){for(var t=[],n=0;n<e-1;n++)t.push(`adjective`);return t.push(`noun`),t}function l(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 u(e,t){for(var a,l,u={adjective:n.getWordsByCategory(`adjective`,t?.categories?.adjective).length,noun:n.getWordsByCategory(`noun`,t?.categories?.noun).length},d=e||i,f=t?.partsOfSpeech||o(d),m=1,g=0;g<d;g++)m*=u[f[g]];return m}e.totalUniqueSlugs=u})),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:i=`id`,index:a=`index`,next:o=`next`,parent:l=`parent`,prev:u=`prev`,siblings:d=`siblings`}={})=>{let f={[t]:{get(){let e=[this];for(;e[0]?.[l];)e.unshift(e[0][l]);return e}},[a]:{get(){return this[d].findIndex(e=>this[i]===e[i])}},[o]:{get(){return this[d][this[a]+1]}},[u]:{get(){return this[d][this[a]-1]}}},m=function*(e){let t=getItems(e.value);for(;t.length;){let{node:e,parent:i,siblings:a}=t.pop()??{};e&&(e[l]!==i&&Object.defineProperty(e,l,{configurable,value:i}),e[d]!==a&&Object.defineProperty(e,d,{configurable,value:a}),Object.keys(f).some(t=>!(t in e))&&Object.defineProperties(e,f),yield e,t.push(...getItems(e[n]??[],e)))}},g=computed(()=>[...m(toRef(e))]),v=computed(()=>Object.fromEntries(g.value.map(e=>[e[i],e]))),y=(e,t)=>{let f=v.value[e];if(f){let[e]=g.value,m=f[a],v=f[o],y=m+1,x=f[l],S=f[u],C=m-1,w=f[d];switch(t){case`add`:{let e=(0,import_dist.generateSlug)();return w.splice(y,0,{[i]:e}),e}case`addChild`:{let e=(0,import_dist.generateSlug)();return Array.isArray(f[n])||(f[n]=[]),f[n].unshift({[i]:e}),e}case`down`:m<w.length-1&&w[m]&&w[y]&&([w[m],w[y]]=[w[y],w[m]]);break;case`left`:if(x?.[l])return x[d].splice(x[a]+1,0,...w.splice(m,1)),x[i];break;case`remove`:{let t=v?.[i]??S?.[i]??x?.[i]??e?.[i];return w.splice(m,1),t}case`right`:if(S){let e=S[n]??[],t=S[i];return S[n]=[...e,...w.splice(m,1)],t}break;case`up`:m&&w[m]&&w[C]&&([w[C],w[m]]=[w[m],w[C]]);break}}};return{kvNodes:v,nodes:g,...Object.fromEntries([`add`,`addChild`,`down`,`left`,`remove`,`right`,`up`].map(e=>[e,t=>y(t,e)]))}},require_code$1=__commonJSMin$1((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 i=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=i,e.nil=new i(``);function a(e,...t){let n=[e[0]],a=0;for(;a<t.length;)u(n,t[a]),n.push(e[++a]);return new i(n)}e._=a;var o=new i(`+`);function l(e,...t){let n=[y(e[0])],a=0;for(;a<t.length;)n.push(o),u(n,t[a]),n.push(o,y(e[++a]));return d(n),new i(n)}e.str=l;function u(e,t){t instanceof i?e.push(...t._items):t instanceof n?e.push(t):e.push(g(t))}e.addCodeArg=u;function d(e){let t=1;for(;t<e.length-1;){if(e[t]===o){let n=f(e[t-1],e[t+1]);if(n!==void 0){e.splice(t-1,3,n);continue}e[t++]=`+`}t++}}function f(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 m(e,t){return t.emptyStr()?e:e.emptyStr()?t:l`${e}${t}`}e.strConcat=m;function g(e){return typeof e==`number`||typeof e==`boolean`||e===null?e:y(Array.isArray(e)?e.join(`,`):e)}function v(e){return new i(y(e))}e.stringify=v;function y(e){return JSON.stringify(e).replace(/\u2028/g,`\\u2028`).replace(/\u2029/g,`\\u2029`)}e.safeStringify=y;function x(t){return typeof t==`string`&&e.IDENTIFIER.test(t)?new i(`.${t}`):a`[${t}]`}e.getProperty=x;function S(t){if(typeof t==`string`&&e.IDENTIFIER.test(t))return new i(`${t}`);throw Error(`CodeGen: invalid export name: ${t}, use explicit $id name mapping`)}e.getEsmExportName=S;function C(e){return new i(e.toString())}e.regexpCode=C})),require_scope=__commonJSMin$1((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}},i;(function(e){e[e.Started=0]=`Started`,e[e.Completed=1]=`Completed`})(i||(e.UsedValueState=i={})),e.varKinds={const:new t.Name(`const`),let:new t.Name(`let`),var:new t.Name(`var`)};var a=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=a;var o=class extends t.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:n,itemIndex:i}){this.value=e,this.scopePath=(0,t._)`.${new t.Name(n)}[${i}]`}};e.ValueScopeName=o;var l=(0,t._)`\n`;e.ValueScope=class extends a{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?l:t.nil}}get(){return this._scope}name(e){return new o(e,this._newName(e))}value(e,t){var n;if(t.ref===void 0)throw Error(`CodeGen: ref must be passed in value`);let i=this.toName(e),{prefix:a}=i,o=t.key??t.ref,l=this._values[a];if(l){let e=l.get(o);if(e)return e}else l=this._values[a]=new Map;l.set(o,i);let u=this._scope[a]||(this._scope[a]=[]),d=u.length;return u[d]=t.ref,i.setValue(t,{property:a,itemIndex:d}),i}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(a,o,l={},u){let d=t.nil;for(let f in a){let m=a[f];if(!m)continue;let g=l[f]=l[f]||new Map;m.forEach(a=>{if(g.has(a))return;g.set(a,i.Started);let l=o(a);if(l){let n=this.opts.es5?e.varKinds.var:e.varKinds.const;d=(0,t._)`${d}${n} ${a} = ${l};${this.opts._n}`}else if(l=u?.(a))d=(0,t._)`${d}${l}${this.opts._n}`;else throw new n(a);g.set(a,i.Completed)})}return d}}})),require_codegen=__commonJSMin$1((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(),i=require_code$1();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return i._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return i.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return i.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return i.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return i.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return i.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return i.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return i.Name}});var a=require_scope();Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return a.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return a.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return a.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return a.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 o=class{optimizeNodes(){return this}optimizeNames(e,t){return this}},l=class extends o{constructor(e,t,n){super(),this.varKind=e,this.name=t,this.rhs=n}render({es5:e,_n:t}){let i=e?n.varKinds.var:this.varKind,a=this.rhs===void 0?``:` = ${this.rhs}`;return`${i} ${this.name}${a};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&=L(this.rhs,e,t),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}},u=class extends o{constructor(e,t,n){super(),this.lhs=e,this.rhs=t,this.sideEffects=n}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,n){if(!(this.lhs instanceof t.Name&&!e[this.lhs.str]&&!this.sideEffects))return this.rhs=L(this.rhs,e,n),this}get names(){return I(this.lhs instanceof t.Name?{}:{...this.lhs.names},this.rhs)}},d=class extends u{constructor(e,t,n,i){super(e,n,i),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}},f=class extends o{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}},m=class extends o{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:``};`+e}},g=class extends o{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}},v=class extends o{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=L(this.code,e,t),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}},y=class extends o{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,i=n.length;for(;i--;){let a=n[i];a.optimizeNames(e,t)||(R(e,a.names),n.splice(i,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce((e,t)=>F(e,t.names),{})}},x=class extends y{render(e){return`{`+e._n+super.render(e)+`}`+e._n}},S=class extends y{},C=class extends x{};C.kind=`else`;var w=class e extends x{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 C(e):e}if(n)return t===!1?n instanceof e?n:n.nodes:this.nodes.length?this:new e(z(t),n instanceof e?[n]:n.nodes);if(!(t===!1||!this.nodes.length))return this}optimizeNames(e,t){var n;if(this.else=this.else?.optimizeNames(e,t),super.optimizeNames(e,t)||this.else)return this.condition=L(this.condition,e,t),this}get names(){let e=super.names;return I(e,this.condition),this.else&&F(e,this.else.names),e}};w.kind=`if`;var T=class extends x{};T.kind=`for`;var E=class extends T{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=L(this.iteration,e,t),this}get names(){return F(super.names,this.iteration.names)}},D=class extends T{constructor(e,t,n,i){super(),this.varKind=e,this.name=t,this.from=n,this.to=i}render(e){let t=e.es5?n.varKinds.var:this.varKind,{name:i,from:a,to:o}=this;return`for(${t} ${i}=${a}; ${i}<${o}; ${i}++)`+super.render(e)}get names(){return I(I(super.names,this.from),this.to)}},O=class extends T{constructor(e,t,n,i){super(),this.loop=e,this.varKind=t,this.name=n,this.iterable=i}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=L(this.iterable,e,t),this}get names(){return F(super.names,this.iterable.names)}},k=class extends x{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)}};k.kind=`func`;var A=class extends y{render(e){return`return `+super.render(e)}};A.kind=`return`;var j=class extends x{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,i;return super.optimizeNames(e,t),(n=this.catch)==null||n.optimizeNames(e,t),(i=this.finally)==null||i.optimizeNames(e,t),this}get names(){let e=super.names;return this.catch&&F(e,this.catch.names),this.finally&&F(e,this.finally.names),e}},M=class extends x{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}};M.kind=`catch`;var N=class extends x{render(e){return`finally`+super.render(e)}};N.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$1,r as __exportAll,t as __commonJSMin$1}from"./rolldown-runtime-CMxvf4Kt.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-CuJ2F1xY.js";import{i as require_buffer,n as createMarkdownExit,r as Token$1,t as b}from"./markdown-LfeUFL1q.js";import{t as transform$1}from"./sucrase-BI4mSryY.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-CVG2qTIz.js";import{n as ofetch}from"./ofetch-Bpm7W2mZ.js";import{t as require_esprima}from"./esprima-txU12DEc.js";import{t as katex}from"./katex-CRoMLhsb.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:i,webFontsOptions:a,wind4Options:o}={})=>[presetWind4({preflights,...o}),presetAttributify(e),presetTagify(n),presetIcons({cdn,...t}),presetWebFonts(a),presetTypography(i)],require_words=__commonJSMin$1((e=>{var t=e&&e.__values||function(e){var t=typeof Symbol==`function`&&Symbol.iterator,n=t&&e[t],i=0;if(n)return n.call(e);if(e&&typeof e.length==`number`)return{next:function(){return e&&i>=e.length&&(e=void 0),{value:e&&e[i++],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,i){var a,o;i===void 0&&(i=[]);var l=new Set(i),u=[];try{for(var d=t(e.wordList[n]),f=d.next();!f.done;f=d.next()){var m=f.value;(i.length===0||m.categories.some(function(e){return l.has(e)}))&&u.push(m.word)}}catch(e){a={error:e}}finally{try{f&&!f.done&&(o=d.return)&&o.call(d)}finally{if(a)throw a.error}}return u}e.getWordsByCategory=n})),require_dist=__commonJSMin$1((e=>{var t=e&&e.__assign||function(){return t=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var a in t=arguments[n],t)Object.prototype.hasOwnProperty.call(t,a)&&(e[a]=t[a]);return e},t.apply(this,arguments)};Object.defineProperty(e,"__esModule",{value:!0}),e.totalUniqueSlugs=e.generateSlug=void 0;var n=require_words(),i=3;function a(e,a){for(var u=e||i,d={partsOfSpeech:o(u),categories:{},format:`kebab`},f=t(t({},d),a),m=[],g=0;g<u;g++){var v=f.partsOfSpeech[g],y=n.getWordsByCategory(f.partsOfSpeech[g],f.categories[v]),x=y[Math.floor(Math.random()*y.length)];m.push(x)}return l(m,f.format)}e.generateSlug=a;function o(e){for(var t=[],n=0;n<e-1;n++)t.push(`adjective`);return t.push(`noun`),t}function l(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 u(e,t){for(var a,l,u={adjective:n.getWordsByCategory(`adjective`,t?.categories?.adjective).length,noun:n.getWordsByCategory(`noun`,t?.categories?.noun).length},d=e||i,f=t?.partsOfSpeech||o(d),m=1,g=0;g<d;g++)m*=u[f[g]];return m}e.totalUniqueSlugs=u})),import_dist=require_dist(),actionNames=[`add`,`addChild`,`down`,`left`,`remove`,`right`,`up`],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:i=`id`,index:a=`index`,next:o=`next`,parent:l=`parent`,prev:u=`prev`,siblings:d=`siblings`}={})=>{let f={[t]:{get(){let e=[this];for(;e[0]?.[l];)e.unshift(e[0][l]);return e}},[a]:{get(){return this[d].findIndex(e=>this[i]===e[i])}},[o]:{get(){return this[d][this[a]+1]}},[u]:{get(){return this[d][this[a]-1]}}},m=function*(e){let t=getItems(e.value);for(;t.length;){let{node:e,parent:i,siblings:a}=t.pop()??{};e&&(e[l]!==i&&Object.defineProperty(e,l,{configurable,value:i}),e[d]!==a&&Object.defineProperty(e,d,{configurable,value:a}),Object.keys(f).some(t=>!(t in e))&&Object.defineProperties(e,f),yield e,t.push(...getItems(e[n]??[],e)))}},g=computed(()=>[...m(toRef(e))]),v=computed(()=>Object.fromEntries(g.value.map(e=>[e[i],e]))),y=(e,t)=>{let f=v.value[e];if(f){let[e]=g.value,m=f[a],v=f[o],y=m+1,x=f[l],S=f[u],C=m-1,w=f[d];switch(t){case`add`:{let e=(0,import_dist.generateSlug)();return w.splice(y,0,{[i]:e}),e}case`addChild`:{let e=(0,import_dist.generateSlug)();return Array.isArray(f[n])||(f[n]=[]),f[n].unshift({[i]:e}),e}case`down`:m<w.length-1&&w[m]&&w[y]&&([w[m],w[y]]=[w[y],w[m]]);break;case`left`:if(x?.[l])return x[d].splice(x[a]+1,0,...w.splice(m,1)),x[i];break;case`remove`:{let t=v?.[i]??S?.[i]??x?.[i]??e?.[i];return w.splice(m,1),t}case`right`:if(S){let e=S[n]??[],t=S[i];return S[n]=[...e,...w.splice(m,1)],t}break;case`up`:m&&w[m]&&w[C]&&([w[C],w[m]]=[w[m],w[C]]);break}}};return{kvNodes:v,nodes:g,...Object.fromEntries(actionNames.map(e=>[e,t=>y(t,e)]))}},require_code$1=__commonJSMin$1((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 i=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=i,e.nil=new i(``);function a(e,...t){let n=[e[0]],a=0;for(;a<t.length;)u(n,t[a]),n.push(e[++a]);return new i(n)}e._=a;var o=new i(`+`);function l(e,...t){let n=[y(e[0])],a=0;for(;a<t.length;)n.push(o),u(n,t[a]),n.push(o,y(e[++a]));return d(n),new i(n)}e.str=l;function u(e,t){t instanceof i?e.push(...t._items):t instanceof n?e.push(t):e.push(g(t))}e.addCodeArg=u;function d(e){let t=1;for(;t<e.length-1;){if(e[t]===o){let n=f(e[t-1],e[t+1]);if(n!==void 0){e.splice(t-1,3,n);continue}e[t++]=`+`}t++}}function f(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 m(e,t){return t.emptyStr()?e:e.emptyStr()?t:l`${e}${t}`}e.strConcat=m;function g(e){return typeof e==`number`||typeof e==`boolean`||e===null?e:y(Array.isArray(e)?e.join(`,`):e)}function v(e){return new i(y(e))}e.stringify=v;function y(e){return JSON.stringify(e).replace(/\u2028/g,`\\u2028`).replace(/\u2029/g,`\\u2029`)}e.safeStringify=y;function x(t){return typeof t==`string`&&e.IDENTIFIER.test(t)?new i(`.${t}`):a`[${t}]`}e.getProperty=x;function S(t){if(typeof t==`string`&&e.IDENTIFIER.test(t))return new i(`${t}`);throw Error(`CodeGen: invalid export name: ${t}, use explicit $id name mapping`)}e.getEsmExportName=S;function C(e){return new i(e.toString())}e.regexpCode=C})),require_scope=__commonJSMin$1((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}},i;(function(e){e[e.Started=0]=`Started`,e[e.Completed=1]=`Completed`})(i||(e.UsedValueState=i={})),e.varKinds={const:new t.Name(`const`),let:new t.Name(`let`),var:new t.Name(`var`)};var a=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=a;var o=class extends t.Name{constructor(e,t){super(t),this.prefix=e}setValue(e,{property:n,itemIndex:i}){this.value=e,this.scopePath=(0,t._)`.${new t.Name(n)}[${i}]`}};e.ValueScopeName=o;var l=(0,t._)`\n`;e.ValueScope=class extends a{constructor(e){super(e),this._values={},this._scope=e.scope,this.opts={...e,_n:e.lines?l:t.nil}}get(){return this._scope}name(e){return new o(e,this._newName(e))}value(e,t){var n;if(t.ref===void 0)throw Error(`CodeGen: ref must be passed in value`);let i=this.toName(e),{prefix:a}=i,o=t.key??t.ref,l=this._values[a];if(l){let e=l.get(o);if(e)return e}else l=this._values[a]=new Map;l.set(o,i);let u=this._scope[a]||(this._scope[a]=[]),d=u.length;return u[d]=t.ref,i.setValue(t,{property:a,itemIndex:d}),i}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(a,o,l={},u){let d=t.nil;for(let f in a){let m=a[f];if(!m)continue;let g=l[f]=l[f]||new Map;m.forEach(a=>{if(g.has(a))return;g.set(a,i.Started);let l=o(a);if(l){let n=this.opts.es5?e.varKinds.var:e.varKinds.const;d=(0,t._)`${d}${n} ${a} = ${l};${this.opts._n}`}else if(l=u?.(a))d=(0,t._)`${d}${l}${this.opts._n}`;else throw new n(a);g.set(a,i.Completed)})}return d}}})),require_codegen=__commonJSMin$1((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(),i=require_code$1();Object.defineProperty(e,"_",{enumerable:!0,get:function(){return i._}}),Object.defineProperty(e,"str",{enumerable:!0,get:function(){return i.str}}),Object.defineProperty(e,"strConcat",{enumerable:!0,get:function(){return i.strConcat}}),Object.defineProperty(e,"nil",{enumerable:!0,get:function(){return i.nil}}),Object.defineProperty(e,"getProperty",{enumerable:!0,get:function(){return i.getProperty}}),Object.defineProperty(e,"stringify",{enumerable:!0,get:function(){return i.stringify}}),Object.defineProperty(e,"regexpCode",{enumerable:!0,get:function(){return i.regexpCode}}),Object.defineProperty(e,"Name",{enumerable:!0,get:function(){return i.Name}});var a=require_scope();Object.defineProperty(e,"Scope",{enumerable:!0,get:function(){return a.Scope}}),Object.defineProperty(e,"ValueScope",{enumerable:!0,get:function(){return a.ValueScope}}),Object.defineProperty(e,"ValueScopeName",{enumerable:!0,get:function(){return a.ValueScopeName}}),Object.defineProperty(e,"varKinds",{enumerable:!0,get:function(){return a.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 o=class{optimizeNodes(){return this}optimizeNames(e,t){return this}},l=class extends o{constructor(e,t,n){super(),this.varKind=e,this.name=t,this.rhs=n}render({es5:e,_n:t}){let i=e?n.varKinds.var:this.varKind,a=this.rhs===void 0?``:` = ${this.rhs}`;return`${i} ${this.name}${a};`+t}optimizeNames(e,t){if(e[this.name.str])return this.rhs&&=L(this.rhs,e,t),this}get names(){return this.rhs instanceof t._CodeOrName?this.rhs.names:{}}},u=class extends o{constructor(e,t,n){super(),this.lhs=e,this.rhs=t,this.sideEffects=n}render({_n:e}){return`${this.lhs} = ${this.rhs};`+e}optimizeNames(e,n){if(!(this.lhs instanceof t.Name&&!e[this.lhs.str]&&!this.sideEffects))return this.rhs=L(this.rhs,e,n),this}get names(){return I(this.lhs instanceof t.Name?{}:{...this.lhs.names},this.rhs)}},d=class extends u{constructor(e,t,n,i){super(e,n,i),this.op=t}render({_n:e}){return`${this.lhs} ${this.op}= ${this.rhs};`+e}},f=class extends o{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`${this.label}:`+e}},m=class extends o{constructor(e){super(),this.label=e,this.names={}}render({_n:e}){return`break${this.label?` ${this.label}`:``};`+e}},g=class extends o{constructor(e){super(),this.error=e}render({_n:e}){return`throw ${this.error};`+e}get names(){return this.error.names}},v=class extends o{constructor(e){super(),this.code=e}render({_n:e}){return`${this.code};`+e}optimizeNodes(){return`${this.code}`?this:void 0}optimizeNames(e,t){return this.code=L(this.code,e,t),this}get names(){return this.code instanceof t._CodeOrName?this.code.names:{}}},y=class extends o{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,i=n.length;for(;i--;){let a=n[i];a.optimizeNames(e,t)||(R(e,a.names),n.splice(i,1))}return n.length>0?this:void 0}get names(){return this.nodes.reduce((e,t)=>F(e,t.names),{})}},x=class extends y{render(e){return`{`+e._n+super.render(e)+`}`+e._n}},S=class extends y{},C=class extends x{};C.kind=`else`;var w=class e extends x{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 C(e):e}if(n)return t===!1?n instanceof e?n:n.nodes:this.nodes.length?this:new e(z(t),n instanceof e?[n]:n.nodes);if(!(t===!1||!this.nodes.length))return this}optimizeNames(e,t){var n;if(this.else=this.else?.optimizeNames(e,t),super.optimizeNames(e,t)||this.else)return this.condition=L(this.condition,e,t),this}get names(){let e=super.names;return I(e,this.condition),this.else&&F(e,this.else.names),e}};w.kind=`if`;var T=class extends x{};T.kind=`for`;var E=class extends T{constructor(e){super(),this.iteration=e}render(e){return`for(${this.iteration})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iteration=L(this.iteration,e,t),this}get names(){return F(super.names,this.iteration.names)}},D=class extends T{constructor(e,t,n,i){super(),this.varKind=e,this.name=t,this.from=n,this.to=i}render(e){let t=e.es5?n.varKinds.var:this.varKind,{name:i,from:a,to:o}=this;return`for(${t} ${i}=${a}; ${i}<${o}; ${i}++)`+super.render(e)}get names(){return I(I(super.names,this.from),this.to)}},O=class extends T{constructor(e,t,n,i){super(),this.loop=e,this.varKind=t,this.name=n,this.iterable=i}render(e){return`for(${this.varKind} ${this.name} ${this.loop} ${this.iterable})`+super.render(e)}optimizeNames(e,t){if(super.optimizeNames(e,t))return this.iterable=L(this.iterable,e,t),this}get names(){return F(super.names,this.iterable.names)}},k=class extends x{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)}};k.kind=`func`;var A=class extends y{render(e){return`return `+super.render(e)}};A.kind=`return`;var j=class extends x{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,i;return super.optimizeNames(e,t),(n=this.catch)==null||n.optimizeNames(e,t),(i=this.finally)==null||i.optimizeNames(e,t),this}get names(){let e=super.names;return this.catch&&F(e,this.catch.names),this.finally&&F(e,this.finally.names),e}},M=class extends x{constructor(e){super(),this.error=e}render(e){return`catch(${this.error})`+super.render(e)}};M.kind=`catch`;var N=class extends x{render(e){return`finally`+super.render(e)}};N.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 S]}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,i){let a=this._scope.toName(t);return n!==void 0&&i&&(this._constants[a.str]=n),this._leafNode(new l(e,a,n)),a}const(e,t,i){return this._def(n.varKinds.const,e,t,i)}let(e,t,i){return this._def(n.varKinds.let,e,t,i)}var(e,t,i){return this._def(n.varKinds.var,e,t,i)}assign(e,t,n){return this._leafNode(new u(e,t,n))}add(t,n){return this._leafNode(new d(t,e.operators.ADD,n))}code(e){return typeof e==`function`?e():e!==t.nil&&this._leafNode(new v(e)),this}object(...e){let n=[`{`];for(let[i,a]of e)n.length>1&&n.push(`,`),n.push(i),(i!==a||this.opts.es5)&&(n.push(`:`),(0,t.addCodeArg)(n,a));return n.push(`}`),new t._Code(n)}if(e,t,n){if(this._blockNode(new w(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 w(e))}else(){return this._elseNode(new C)}endIf(){return this._endBlockNode(w,C)}_for(e,t){return this._blockNode(e),t&&this.code(t).endFor(),this}for(e,t){return this._for(new E(e),t)}forRange(e,t,i,a,o=this.opts.es5?n.varKinds.var:n.varKinds.let){let l=this._scope.toName(e);return this._for(new D(o,l,t,i),()=>a(l))}forOf(e,i,a,o=n.varKinds.const){let l=this._scope.toName(e);if(this.opts.es5){let e=i instanceof t.Name?i:this.var(`_arr`,i);return this.forRange(`_i`,0,(0,t._)`${e}.length`,n=>{this.var(l,(0,t._)`${e}[${n}]`),a(l)})}return this._for(new O(`of`,o,l,i),()=>a(l))}forIn(e,i,a,o=this.opts.es5?n.varKinds.var:n.varKinds.const){if(this.opts.ownProperties)return this.forOf(e,(0,t._)`Object.keys(${i})`,a);let l=this._scope.toName(e);return this._for(new O(`in`,o,l,i),()=>a(l))}endFor(){return this._endBlockNode(T)}label(e){return this._leafNode(new f(e))}break(e){return this._leafNode(new m(e))}return(e){let t=new A;if(this._blockNode(t),this.code(e),t.nodes.length!==1)throw Error(`CodeGen: "return" should have one node`);return this._endBlockNode(A)}try(e,t,n){if(!t&&!n)throw Error(`CodeGen: "try" without "catch" and "finally"`);let i=new j;if(this._blockNode(i),this.code(e),t){let e=this.name(`e`);this._currNode=i.catch=new M(e),t(e)}return n&&(this._currNode=i.finally=new N,this.code(n)),this._endBlockNode(M,N)}throw(e){return this._leafNode(new g(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,i,a){return this._blockNode(new k(e,n,i)),a&&this.code(a).endFunc(),this}endFunc(){return this._endBlockNode(k)}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 w))throw Error(`CodeGen: "else" without "if"`);return this._currNode=t.else=e,this}get _root(){return this._nodes[0]}get _currNode(){let e=this._nodes;return e[e.length-1]}set _currNode(e){let t=this._nodes;t[t.length-1]=e}};function F(e,t){for(let n in t)e[n]=(e[n]||0)+(t[n]||0);return e}function I(e,n){return n instanceof t._CodeOrName?F(e,n.names):e}function L(e,n,i){if(e instanceof t.Name)return a(e);if(!o(e))return e;return new t._Code(e._items.reduce((e,n)=>(n instanceof t.Name&&(n=a(n)),n instanceof t._Code?e.push(...n._items):e.push(n),e),[]));function a(e){let t=i[e.str];return t===void 0||n[e.str]!==1?e:(delete n[e.str],t)}function o(e){return e instanceof t._Code&&e._items.some(e=>e instanceof t.Name&&n[e.str]===1&&i[e.str]!==void 0)}}function R(e,t){for(let n in t)e[n]=(e[n]||0)-(t[n]||0)}function z(e){return typeof e==`boolean`||typeof e==`number`||e===null?!e:(0,t._)`!${G(e)}`}e.not=z;var B=W(e.operators.AND);function V(...e){return e.reduce(B)}e.and=V;var H=W(e.operators.OR);function U(...e){return e.reduce(H)}e.or=U;function W(e){return(n,i)=>n===t.nil?i:i===t.nil?n:(0,t._)`${G(n)} ${e} ${G(i)}`}function G(e){return e instanceof t.Name?e:(0,t._)`(${e})`}})),require_util=__commonJSMin$1((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 i(e){let t={};for(let n of e)t[n]=!0;return t}e.toHash=i;function a(e,t){return typeof t==`boolean`?t:Object.keys(t).length===0?!0:(o(e,t),!l(t,e.self.RULES.all))}e.alwaysValidSchema=a;function o(e,t=e.schema){let{opts:n,self:i}=e;if(!n.strictSchema||typeof t==`boolean`)return;let a=i.RULES.keywords;for(let n in t)a[n]||O(e,`unknown keyword: "${n}"`)}e.checkUnknownRules=o;function l(e,t){if(typeof e==`boolean`)return!e;for(let n in e)if(t[n])return!0;return!1}e.schemaHasRules=l;function u(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=u;function d({topSchemaRef:e,schemaPath:n},i,a,o){if(!o){if(typeof i==`number`||typeof i==`boolean`)return i;if(typeof i==`string`)return(0,t._)`${i}`}return(0,t._)`${e}${n}${(0,t.getProperty)(a)}`}e.schemaRefOrVal=d;function f(e){return v(decodeURIComponent(e))}e.unescapeFragment=f;function m(e){return encodeURIComponent(g(e))}e.escapeFragment=m;function g(e){return typeof e==`number`?`${e}`:e.replace(/~/g,`~0`).replace(/\//g,`~1`)}e.escapeJsonPointer=g;function v(e){return e.replace(/~1/g,`/`).replace(/~0/g,`~`)}e.unescapeJsonPointer=v;function y(e,t){if(Array.isArray(e))for(let n of e)t(n);else t(e)}e.eachItem=y;function x({mergeNames:e,mergeToName:n,mergeValues:i,resultToName:a}){return(o,l,u,d)=>{let f=u===void 0?l:u instanceof t.Name?(l instanceof t.Name?e(o,l,u):n(o,l,u),u):l instanceof t.Name?(n(o,u,l),l):i(l,u);return d===t.Name&&!(f instanceof t.Name)?a(o,f):f}}e.mergeEvaluated={props:x({mergeNames:(e,n,i)=>e.if((0,t._)`${i} !== true && ${n} !== undefined`,()=>{e.if((0,t._)`${n} === true`,()=>e.assign(i,!0),()=>e.assign(i,(0,t._)`${i} || {}`).code((0,t._)`Object.assign(${i}, ${n})`))}),mergeToName:(e,n,i)=>e.if((0,t._)`${i} !== true`,()=>{n===!0?e.assign(i,!0):(e.assign(i,(0,t._)`${i} || {}`),C(e,i,n))}),mergeValues:(e,t)=>e===!0?!0:{...e,...t},resultToName:S}),items:x({mergeNames:(e,n,i)=>e.if((0,t._)`${i} !== true && ${n} !== undefined`,()=>e.assign(i,(0,t._)`${n} === true ? true : ${i} > ${n} ? ${i} : ${n}`)),mergeToName:(e,n,i)=>e.if((0,t._)`${i} !== true`,()=>e.assign(i,n===!0?!0:(0,t._)`${i} > ${n} ? ${i} : ${n}`)),mergeValues:(e,t)=>e===!0?!0:Math.max(e,t),resultToName:(e,t)=>e.var(`items`,t)})};function S(e,n){if(n===!0)return e.var(`props`,!0);let i=e.var(`props`,(0,t._)`{}`);return n!==void 0&&C(e,i,n),i}e.evaluatedPropsToName=S;function C(e,n,i){Object.keys(i).forEach(i=>e.assign((0,t._)`${n}${(0,t.getProperty)(i)}`,!0))}e.setEvaluated=C;var w={};function T(e,t){return e.scopeValue(`func`,{ref:t,code:w[t.code]||(w[t.code]=new n._Code(t.code))})}e.useFunc=T;var E;(function(e){e[e.Num=0]=`Num`,e[e.Str=1]=`Str`})(E||(e.Type=E={}));function D(e,n,i){if(e instanceof t.Name){let a=n===E.Num;return i?a?(0,t._)`"[" + ${e} + "]"`:(0,t._)`"['" + ${e} + "']"`:a?(0,t._)`"/" + ${e}`:(0,t._)`"/" + ${e}.replace(/~/g, "~0").replace(/\\//g, "~1")`}return i?(0,t.getProperty)(e).toString():`/`+g(e)}e.getErrorPath=D;function O(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=O})),require_names=__commonJSMin$1((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$1((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(),i=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 a(n,i=e.keywordError,a,o){let{it:l}=n,{gen:u,compositeRule:m,allErrors:v}=l,y=g(n,i,a);o??(m||v)?d(u,y):f(l,(0,t._)`[${y}]`)}e.reportError=a;function o(t,n=e.keywordError,a){let{it:o}=t,{gen:l,compositeRule:u,allErrors:m}=o;d(l,g(t,n,a)),u||m||f(o,i.default.vErrors)}e.reportExtraError=o;function l(e,n){e.assign(i.default.errors,n),e.if((0,t._)`${i.default.vErrors} !== null`,()=>e.if(n,()=>e.assign((0,t._)`${i.default.vErrors}.length`,n),()=>e.assign(i.default.vErrors,null)))}e.resetErrorsCount=l;function u({gen:e,keyword:n,schemaValue:a,data:o,errsCount:l,it:u}){if(l===void 0)throw Error(`ajv implementation error`);let d=e.name(`err`);e.forRange(`i`,l,i.default.errors,l=>{e.const(d,(0,t._)`${i.default.vErrors}[${l}]`),e.if((0,t._)`${d}.instancePath === undefined`,()=>e.assign((0,t._)`${d}.instancePath`,(0,t.strConcat)(i.default.instancePath,u.errorPath))),e.assign((0,t._)`${d}.schemaPath`,(0,t.str)`${u.errSchemaPath}/${n}`),u.opts.verbose&&(e.assign((0,t._)`${d}.schema`,a),e.assign((0,t._)`${d}.data`,o))})}e.extendErrors=u;function d(e,n){let a=e.const(`err`,n);e.if((0,t._)`${i.default.vErrors} === null`,()=>e.assign(i.default.vErrors,(0,t._)`[${a}]`),(0,t._)`${i.default.vErrors}.push(${a})`),e.code((0,t._)`${i.default.errors}++`)}function f(e,n){let{gen:i,validateName:a,schemaEnv:o}=e;o.$async?i.throw((0,t._)`new ${e.ValidationError}(${n})`):(i.assign((0,t._)`${a}.errors`,n),i.return(!1))}var m={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 g(e,n,i){let{createErrors:a}=e.it;return a===!1?(0,t._)`{}`:v(e,n,i)}function v(e,t,n={}){let{gen:i,it:a}=e,o=[y(a,n),x(e,n)];return S(e,t,o),i.object(...o)}function y({errorPath:e},{instancePath:a}){let o=a?(0,t.str)`${e}${(0,n.getErrorPath)(a,n.Type.Str)}`:e;return[i.default.instancePath,(0,t.strConcat)(i.default.instancePath,o)]}function x({keyword:e,it:{errSchemaPath:i}},{schemaPath:a,parentSchema:o}){let l=o?i:(0,t.str)`${i}/${e}`;return a&&(l=(0,t.str)`${l}${(0,n.getErrorPath)(a,n.Type.Str)}`),[m.schemaPath,l]}function S(e,{params:n,message:a},o){let{keyword:l,data:u,schemaValue:d,it:f}=e,{opts:g,propertyName:v,topSchemaRef:y,schemaPath:x}=f;o.push([m.keyword,l],[m.params,typeof n==`function`?n(e):n||(0,t._)`{}`]),g.messages&&o.push([m.message,typeof a==`function`?a(e):a]),g.verbose&&o.push([m.schema,d],[m.parentSchema,(0,t._)`${y}${x}`],[i.default.data,u]),v&&o.push([m.propertyName,v])}})),require_boolSchema=__commonJSMin$1((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.boolOrEmptySchema=e.topBoolOrEmptySchema=void 0;var t=require_errors(),n=require_codegen(),i=require_names(),a={message:`boolean schema is false`};function o(e){let{gen:t,schema:a,validateName:o}=e;a===!1?u(e,!1):typeof a==`object`&&a.$async===!0?t.return(i.default.data):(t.assign((0,n._)`${o}.errors`,null),t.return(!0))}e.topBoolOrEmptySchema=o;function l(e,t){let{gen:n,schema:i}=e;i===!1?(n.var(t,!1),u(e)):n.var(t,!0)}e.boolOrEmptySchema=l;function u(e,n){let{gen:i,data:o}=e,l={gen:i,keyword:`false schema`,data:o,schema:!1,schemaCode:!1,schemaValue:!1,params:{},it:e};(0,t.reportError)(l,a,void 0,n)}})),require_rules=__commonJSMin$1((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 i(){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=i})),require_applicability=__commonJSMin$1((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.shouldUseRule=e.shouldUseGroup=e.schemaHasRulesForType=void 0;function t({schema:e,self:t},i){let a=t.RULES.types[i];return a&&a!==!0&&n(e,a)}e.schemaHasRulesForType=t;function n(e,t){return t.rules.some(t=>i(e,t))}e.shouldUseGroup=n;function i(e,t){var n;return e[t.keyword]!==void 0||t.definition.implements?.some(t=>e[t]!==void 0)}e.shouldUseRule=i})),require_dataType=__commonJSMin$1((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(),i=require_errors(),a=require_codegen(),o=require_util(),l;(function(e){e[e.Correct=0]=`Correct`,e[e.Wrong=1]=`Wrong`})(l||(e.DataType=l={}));function u(e){let t=d(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=u;function d(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=d;function f(e,t){let{gen:i,data:a,opts:o}=e,u=g(t,o.coerceTypes),d=t.length>0&&!(u.length===0&&t.length===1&&(0,n.schemaHasRulesForType)(e,t[0]));if(d){let n=S(t,a,o.strictNumbers,l.Wrong);i.if(n,()=>{u.length?v(e,t,u):w(e)})}return d}e.coerceAndCheckDataType=f;var m=new Set([`string`,`number`,`integer`,`boolean`,`null`]);function g(e,t){return t?e.filter(e=>m.has(e)||t===`array`&&e===`array`):[]}function v(e,t,n){let{gen:i,data:o,opts:l}=e,u=i.let(`dataType`,(0,a._)`typeof ${o}`),d=i.let(`coerced`,(0,a._)`undefined`);l.coerceTypes===`array`&&i.if((0,a._)`${u} == 'object' && Array.isArray(${o}) && ${o}.length == 1`,()=>i.assign(o,(0,a._)`${o}[0]`).assign(u,(0,a._)`typeof ${o}`).if(S(t,o,l.strictNumbers),()=>i.assign(d,o))),i.if((0,a._)`${d} !== undefined`);for(let e of n)(m.has(e)||e===`array`&&l.coerceTypes===`array`)&&f(e);i.else(),w(e),i.endIf(),i.if((0,a._)`${d} !== undefined`,()=>{i.assign(o,d),y(e,d)});function f(e){switch(e){case`string`:i.elseIf((0,a._)`${u} == "number" || ${u} == "boolean"`).assign(d,(0,a._)`"" + ${o}`).elseIf((0,a._)`${o} === null`).assign(d,(0,a._)`""`);return;case`number`:i.elseIf((0,a._)`${u} == "boolean" || ${o} === null
|
|
3
3
|
|| (${u} == "string" && ${o} && ${o} == +${o})`).assign(d,(0,a._)`+${o}`);return;case`integer`:i.elseIf((0,a._)`${u} === "boolean" || ${o} === null
|
|
4
4
|
|| (${u} === "string" && ${o} && ${o} == +${o} && !(${o} % 1))`).assign(d,(0,a._)`+${o}`);return;case`boolean`:i.elseIf((0,a._)`${o} === "false" || ${o} === 0 || ${o} === null`).assign(d,!1).elseIf((0,a._)`${o} === "true" || ${o} === 1`).assign(d,!0);return;case`null`:i.elseIf((0,a._)`${o} === "" || ${o} === 0 || ${o} === false`),i.assign(d,null);return;case`array`:i.elseIf((0,a._)`${u} === "string" || ${u} === "number"
|
|
@@ -122,4 +122,4 @@ ${a?.script?.content??``}
|
|
|
122
122
|
${a?.scriptSetup?`${a.scriptSetup.tagOpen}${o}${a.scriptSetup.contentStripped}${a.scriptSetup.tagClose}`:`<script setup>${o}<\/script>`}
|
|
123
123
|
${l.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,i)=>{e=n,t=i}),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,i=n===`html`?`htmlAttrs`:n===`body`?`bodyAttrs`:n;if(typeof i!=`string`||!(i in t))return;let a={...e.props||{}},o=i===`script`?`innerHTML`:`textContent`;if(a.children!==void 0&&(a[o]=a.children,delete a.children),e.children){let t=extractTextContent(e.children);t!==void 0&&(a[o]=t)}Array.isArray(t[i])?t[i].push(a):i===`title`?t.title=a.textContent??a.innerHTML:t[i]=a}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:i,icon:a,template:o,...l}}=n.value[e.id],{base:u,bodyAttrs:d,htmlAttrs:f,link:m,meta:g,noscript:v,script:y,style:x,templateParams:S,title:C,titleTemplate:w,...T}=l,{keywords:E,...D}=T;return{_flatMeta:{...D,...E&&{keywords:Array.isArray(E)?E.join(`,`):E}},...d&&{bodyAttrs:d},...f&&{htmlAttrs:f},link:m,meta:g,noscript:v,script:y,style:x,...S&&{templateParams:S},title:C,...w&&{titleTemplate:w}}}else return})),watchEffect(()=>{promises.set(e.id,promiseWithResolvers())}),(n,i)=>(openBlock(),createBlock(unref(t),{onVnodeMounted:i[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:i,template:a},id:o,name:l,parent:u,path:d,to:f})=>{let m=[...a||i||!e.length?[]:[{component:PageView_default,name:o,path:``,props:{id:o}}],...getRoutes(n)],g=isRedirect(t),v=g?``:l?.replace(/ /g,`_`)??``;return d!==void 0&&f&&g&&routes.unshift({path:d.replace(LEAD_TRAIL_SLASH_RE,`/`),redirect:f}),{...(!a||i)&&e.length?void 0:{component:PageView_default,name:o,props:{id:o}},...m.length?{children:m}:void 0,path:u?v:`/`}}),ready=async({extractAll:e,toggleObserver:t,uno:n})=>{tree.value=JSON.parse(jsonrepair(await index||`[{}]`)),await nextTick();let i=async({hash:n,name:i},{name:a})=>{if(a!==i){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 a=createRouter({history,routes,scrollBehavior:i});a.beforeEach(({name:e,path:n},i)=>{let a=decodeURI(n);return e!==i.name&&t(!0),n===a?void 0:a}),app.use(a),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.4.
|
|
125
|
+
`,{scriptOptions})}),promises=new Map,promiseWithResolvers=()=>{let e,t;return{promise:new Promise((n,i)=>{e=n,t=i}),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,i=n===`html`?`htmlAttrs`:n===`body`?`bodyAttrs`:n;if(typeof i!=`string`||!(i in t))return;let a={...e.props||{}},o=i===`script`?`innerHTML`:`textContent`;if(a.children!==void 0&&(a[o]=a.children,delete a.children),e.children){let t=extractTextContent(e.children);t!==void 0&&(a[o]=t)}Array.isArray(t[i])?t[i].push(a):i===`title`?t.title=a.textContent??a.innerHTML:t[i]=a}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:i,icon:a,template:o,...l}}=n.value[e.id],{base:u,bodyAttrs:d,htmlAttrs:f,link:m,meta:g,noscript:v,script:y,style:x,templateParams:S,title:C,titleTemplate:w,...T}=l,{keywords:E,...D}=T;return{_flatMeta:{...D,...E&&{keywords:Array.isArray(E)?E.join(`,`):E}},...d&&{bodyAttrs:d},...f&&{htmlAttrs:f},link:m,meta:g,noscript:v,script:y,style:x,...S&&{templateParams:S},title:C,...w&&{titleTemplate:w}}}else return})),watchEffect(()=>{promises.set(e.id,promiseWithResolvers())}),(n,i)=>(openBlock(),createBlock(unref(t),{onVnodeMounted:i[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:i,template:a},id:o,name:l,parent:u,path:d,to:f})=>{let m=[...a||i||!e.length?[]:[{component:PageView_default,name:o,path:``,props:{id:o}}],...getRoutes(n)],g=isRedirect(t),v=g?``:l?.replace(/ /g,`_`)??``;return d!==void 0&&f&&g&&routes.unshift({path:d.replace(LEAD_TRAIL_SLASH_RE,`/`),redirect:f}),{...(!a||i)&&e.length?void 0:{component:PageView_default,name:o,props:{id:o}},...m.length?{children:m}:void 0,path:u?v:`/`}}),ready=async({extractAll:e,toggleObserver:t,uno:n})=>{tree.value=JSON.parse(jsonrepair(await index||`[{}]`)),await nextTick();let i=async({hash:n,name:i},{name:a})=>{if(a!==i){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 a=createRouter({history,routes,scrollBehavior:i});a.beforeEach(({name:e,path:n},i)=>{let a=decodeURI(n);return e!==i.name&&t(!0),n===a?void 0:a}),app.use(a),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.4.5`);
|
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.35.js","vue-router":"./assets/vue-router.esm-browser.prod-5.1.0.js"}}</script>
|
|
6
|
-
<script type="module" crossorigin src="./assets/index-
|
|
6
|
+
<script type="module" crossorigin src="./assets/index-BPxQ1AFa.js"></script>
|
|
7
7
|
<link rel="modulepreload" crossorigin href="./assets/rolldown-runtime-CMxvf4Kt.js">
|
|
8
8
|
<link rel="modulepreload" crossorigin href="./assets/markdown-LfeUFL1q.js">
|
|
9
9
|
<link rel="modulepreload" crossorigin href="./assets/sucrase-BI4mSryY.js">
|
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.4.
|
|
4
|
+
"version": "3.4.5",
|
|
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",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@nolebase/markdown-it-element-transform": "^2.18.2",
|
|
44
44
|
"@sindresorhus/slugify": "^3.0.0",
|
|
45
45
|
"@skaldapp/loader-sfc": "^2.4.59",
|
|
46
|
-
"@skaldapp/shared": "^1.2.
|
|
46
|
+
"@skaldapp/shared": "^1.2.86",
|
|
47
47
|
"@unhead/vue": "^3.1.3",
|
|
48
48
|
"@unocss/runtime": "^66.7.0",
|
|
49
49
|
"@unocss/transformer-directives": "^66.7.0",
|