@alivault/pico 0.14.0 → 0.16.1
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/.output/public/_shell.html +19 -0
- package/.output/public/assets/PatchDiff-SN-mXa3p.js +343 -0
- package/.output/public/assets/{angular-html-BZNntD0J.js → angular-html-B9LEBPKs.js} +1 -1
- package/.output/public/assets/{angular-ts-SQQMYL2C.js → angular-ts-CD6u-Ij9.js} +1 -1
- package/.output/public/assets/{apl-D5V6uPDr.js → apl-VeDHIFIx.js} +1 -1
- package/.output/public/assets/app-shell-common-0xa28gDm.js +1 -0
- package/.output/public/assets/{astro-DeXKSaFP.js → astro-Dd8L1z6M.js} +1 -1
- package/.output/public/assets/{blade-Bu5re0Vg.js → blade-BNxrbiva.js} +1 -1
- package/.output/public/assets/{bsl-B1qbqNES.js → bsl-B0twaj2j.js} +1 -1
- package/.output/public/assets/{cairo-BDj8wWhy.js → cairo-DASKFAWI.js} +1 -1
- package/.output/public/assets/{cobol-nvZDS9LT.js → cobol-D_qN8j4K.js} +1 -1
- package/.output/public/assets/{coffee-BKLOTq4e.js → coffee-60nIQewd.js} +1 -1
- package/.output/public/assets/{cpp-D6g1DVNt.js → cpp-e1j1tDCV.js} +1 -1
- package/.output/public/assets/{crystal-DfoZI57w.js → crystal-brDfRjQ_.js} +1 -1
- package/.output/public/assets/{edge-DwocGnOF.js → edge-DadfRK3Q.js} +1 -1
- package/.output/public/assets/{elixir-Dtbfds1r.js → elixir-CsoHPmz3.js} +1 -1
- package/.output/public/assets/{elm-CpPtm471.js → elm-BLTa0sZG.js} +1 -1
- package/.output/public/assets/{erb--z3IM9Cb.js → erb-DIR2QRkp.js} +1 -1
- package/.output/public/assets/{erlang-Bc4hQuqa.js → erlang-DnbJbitJ.js} +1 -1
- package/.output/public/assets/{fortran-fixed-form-B02FOYI-.js → fortran-fixed-form-Bse4XUyD.js} +1 -1
- package/.output/public/assets/{fsharp-DhdR18vN.js → fsharp-Dy8OnZ0O.js} +1 -1
- package/.output/public/assets/{gdresource-DgnrMPIx.js → gdresource-BD_7yRHA.js} +1 -1
- package/.output/public/assets/{git-commit-DGJi7qBD.js → git-commit-CIMjlyHf.js} +1 -1
- package/.output/public/assets/{git-rebase-Ce47xoa6.js → git-rebase-DV2DyQK7.js} +1 -1
- package/.output/public/assets/{glimmer-js-C0BuzxQC.js → glimmer-js-DVG5pFvd.js} +1 -1
- package/.output/public/assets/{glimmer-ts-irOZ-cAQ.js → glimmer-ts-BeWaLARz.js} +1 -1
- package/.output/public/assets/{glsl-JAhLUe0P.js → glsl-BrOWUUEh.js} +1 -1
- package/.output/public/assets/{graphql-D2ba3BkR.js → graphql-B_3o81z5.js} +1 -1
- package/.output/public/assets/{hack-CgzUpY8l.js → hack-BW-0PxQy.js} +1 -1
- package/.output/public/assets/{haml-C-oIZcDo.js → haml-DnNXiHAO.js} +1 -1
- package/.output/public/assets/{handlebars-CbP-Mhzf.js → handlebars-CftcPtku.js} +1 -1
- package/.output/public/assets/{html-ddqpqPg0.js → html-D5IqfVuz.js} +1 -1
- package/.output/public/assets/{html-derivative-DWGxf_At.js → html-derivative-QNqmMkaY.js} +1 -1
- package/.output/public/assets/{http-Bg1nG1nG.js → http-Dd7eRKUa.js} +1 -1
- package/.output/public/assets/{hurl-zm47Pi1n.js → hurl-kBs5Ibg1.js} +1 -1
- package/.output/public/assets/{hxml-adC65L_J.js → hxml-CGx66ebi.js} +1 -1
- package/.output/public/assets/index-C-mxWGZ5.css +2 -0
- package/.output/public/assets/index-FOqZaR4L.js +48 -0
- package/.output/public/assets/{jinja-Bnj4awH5.js → jinja-BPoCSjyd.js} +1 -1
- package/.output/public/assets/{jison-CuCNs9Q3.js → jison-WHPVy3Jl.js} +1 -1
- package/.output/public/assets/{julia-DNYHzXlE.js → julia-BaKiQMPf.js} +1 -1
- package/.output/public/assets/{just-BlWkkmf2.js → just-BKMc7tVT.js} +1 -1
- package/.output/public/assets/{latex-DqPzjMIt.js → latex-Cczzu1HI.js} +1 -1
- package/.output/public/assets/{liquid-BURJK16h.js → liquid-DrJZrMEf.js} +1 -1
- package/.output/public/assets/{lua-31hdJClp.js → lua-CFIwCMnP.js} +1 -1
- package/.output/public/assets/{marko-C2ZcdSLh.js → marko-BreagErn.js} +1 -1
- package/.output/public/assets/{mdc-N1ii9pk5.js → mdc-CBcMHZUq.js} +1 -1
- package/.output/public/assets/{nextflow-JEyYUlIq.js → nextflow-CZbrTmS2.js} +1 -1
- package/.output/public/assets/{nginx-BuomO0W8.js → nginx-CMOi8dTH.js} +1 -1
- package/.output/public/assets/{nim-hKoEPsYL.js → nim-DbDZ9Wa-.js} +1 -1
- package/.output/public/assets/{perl-CAGVW6Ra.js → perl-DyRCGnKu.js} +1 -1
- package/.output/public/assets/{php-BycclmzS.js → php-Ciarv7b4.js} +1 -1
- package/.output/public/assets/plus-B1rJPgNv.js +1 -0
- package/.output/public/assets/preload-helper-Csz9R64u.js +5 -0
- package/.output/public/assets/{pug-4maJHz9G.js → pug-CVCqbfEm.js} +1 -1
- package/.output/public/assets/{qml-JLIQfzyb.js → qml-DechmdFA.js} +1 -1
- package/.output/public/assets/query-keys-C9jMaRnO.js +1 -0
- package/.output/public/assets/{razor-P8rbooCh.js → razor-bgzHke67.js} +1 -1
- package/.output/public/assets/right-sidebar-CWvXcZzC.js +1831 -0
- package/.output/public/assets/routes-CXlaorp4.js +23 -0
- package/.output/public/assets/{rst-C6GHyL-N.js → rst-Ce6_XwFd.js} +1 -1
- package/.output/public/assets/{ruby-Cl8PVkbY.js → ruby-BtLKlt8E.js} +1 -1
- package/.output/public/assets/{sas-CXoVwlZN.js → sas-Bco5tnse.js} +1 -1
- package/.output/public/assets/{scss-DNczJ95n.js → scss-KPCA05M8.js} +1 -1
- package/.output/public/assets/{shaderlab-DZ3Lsiak.js → shaderlab-uUHiM5Mm.js} +1 -1
- package/.output/public/assets/{shellsession-COm1V40U.js → shellsession-BnUZVYXU.js} +1 -1
- package/.output/public/assets/{soy-DwewhJ_3.js → soy-Dsrg4bVI.js} +1 -1
- package/.output/public/assets/{sparql-B9c85a_o.js → sparql-D5zsvcbT.js} +1 -1
- package/.output/public/assets/{stata-Bl--TAbZ.js → stata-BdK5CFUf.js} +1 -1
- package/.output/public/assets/{surrealql-BW79EE-U.js → surrealql-Blm5wp47.js} +1 -1
- package/.output/public/assets/{svelte-ziMErdPi.js → svelte-DZrj_gMz.js} +1 -1
- package/.output/public/assets/{templ-C_9I6ncv.js → templ-CJ7sDrtu.js} +1 -1
- package/.output/public/assets/terminal-panel-YGR6v-ZH.js +1 -0
- package/.output/public/assets/{tex-D8LVuLf5.js → tex-CvSRdXZA.js} +1 -1
- package/.output/public/assets/{ts-tags-DKuFCGsc.js → ts-tags-DgGFCSef.js} +1 -1
- package/.output/public/assets/{twig-Bs1kcsO6.js → twig-D8_PS89g.js} +1 -1
- package/.output/public/assets/{vue-Dnf0y5RU.js → vue-KvGEuYod.js} +1 -1
- package/.output/public/assets/{vue-html-CRtKS76J.js → vue-html-qAt9D-IF.js} +1 -1
- package/.output/public/assets/{vue-vine-BxjPqU7T.js → vue-vine-j1nOqxMu.js} +1 -1
- package/.output/public/assets/{xml-eU7M3iZJ.js → xml-BrFkMwfd.js} +1 -1
- package/.output/public/assets/{xsl-DSqe4nTO.js → xsl-OmCo2PyZ.js} +1 -1
- package/.output/public/index.html +19 -0
- package/README.md +171 -46
- package/bin/native-runtime.mjs +265 -0
- package/bin/pico.mjs +289 -222
- package/package.json +34 -31
- package/.output/nitro.json +0 -17
- package/.output/public/assets/index-DBVxXDtw.js +0 -54
- package/.output/public/assets/routes-yUxD2q-l.js +0 -2194
- package/.output/public/assets/styles-CUVz7jV9.css +0 -2
- package/.output/server/__23tanstack-start-plugin-adapters-y_fshQDY.mjs +0 -5
- package/.output/server/_chunks/ssr-renderer.mjs +0 -15
- package/.output/server/_libs/@base-ui/react+[...].mjs +0 -14512
- package/.output/server/_libs/@dnd-kit/core+[...].mjs +0 -2748
- package/.output/server/_libs/@pierre/diffs+[...].mjs +0 -19314
- package/.output/server/_libs/@pierre/trees+[...].mjs +0 -9236
- package/.output/server/_libs/@radix-ui/react-dialog+[...].mjs +0 -1789
- package/.output/server/_libs/@radix-ui/react-primitive+[...].mjs +0 -136
- package/.output/server/_libs/@tanstack/devtools-event-client+[...].mjs +0 -196
- package/.output/server/_libs/@tanstack/hotkeys+[...].mjs +0 -1607
- package/.output/server/_libs/@tanstack/react-router+[...].mjs +0 -13950
- package/.output/server/_libs/@tanstack/react-router-ssr-query+[...].mjs +0 -90
- package/.output/server/_libs/bail.mjs +0 -13
- package/.output/server/_libs/character-entities.mjs +0 -2135
- package/.output/server/_libs/class-variance-authority+clsx.mjs +0 -69
- package/.output/server/_libs/cmdk.mjs +0 -473
- package/.output/server/_libs/crossws.mjs +0 -2929
- package/.output/server/_libs/decode-named-character-reference+[...].mjs +0 -19
- package/.output/server/_libs/devlop.mjs +0 -5
- package/.output/server/_libs/diff.mjs +0 -732
- package/.output/server/_libs/dnd-kit__accessibility.mjs +0 -46
- package/.output/server/_libs/dnd-kit__sortable.mjs +0 -400
- package/.output/server/_libs/entities.mjs +0 -372
- package/.output/server/_libs/escape-string-regexp.mjs +0 -7
- package/.output/server/_libs/estree-util-is-identifier-name.mjs +0 -20
- package/.output/server/_libs/extend.mjs +0 -75
- package/.output/server/_libs/h3+rou3+srvx.mjs +0 -1216
- package/.output/server/_libs/hast-util-from-parse5+[...].mjs +0 -741
- package/.output/server/_libs/hast-util-raw+[...].mjs +0 -7897
- package/.output/server/_libs/hast-util-sanitize.mjs +0 -780
- package/.output/server/_libs/hast-util-to-jsx-runtime+[...].mjs +0 -1165
- package/.output/server/_libs/hookable.mjs +0 -41
- package/.output/server/_libs/html-url-attributes.mjs +0 -44
- package/.output/server/_libs/is-plain-obj.mjs +0 -8
- package/.output/server/_libs/longest-streak.mjs +0 -29
- package/.output/server/_libs/lucide-react.mjs +0 -788
- package/.output/server/_libs/markdown-table.mjs +0 -289
- package/.output/server/_libs/mdast-util-find-and-replace.mjs +0 -198
- package/.output/server/_libs/mdast-util-from-markdown+[...].mjs +0 -8409
- package/.output/server/_libs/mdast-util-gfm+[...].mjs +0 -2062
- package/.output/server/_libs/mdast-util-to-hast+[...].mjs +0 -1771
- package/.output/server/_libs/micromark-extension-gfm+[...].mjs +0 -2234
- package/.output/server/_libs/next-themes.mjs +0 -124
- package/.output/server/_libs/pierre__theme.mjs +0 -10
- package/.output/server/_libs/radix-ui__primitive.mjs +0 -9
- package/.output/server/_libs/radix-ui__react-compose-refs.mjs +0 -30
- package/.output/server/_libs/radix-ui__react-context.mjs +0 -88
- package/.output/server/_libs/react-markdown+[...].mjs +0 -2316
- package/.output/server/_libs/rehype-raw.mjs +0 -37
- package/.output/server/_libs/rehype-sanitize.mjs +0 -27
- package/.output/server/_libs/remark-gfm.mjs +0 -34
- package/.output/server/_libs/shiki.mjs +0 -16
- package/.output/server/_libs/shikijs__langs.mjs +0 -1355
- package/.output/server/_libs/shikijs__themes.mjs +0 -262
- package/.output/server/_libs/sonner.mjs +0 -908
- package/.output/server/_libs/tailwind-merge.mjs +0 -1962
- package/.output/server/_libs/tanstack__history.mjs +0 -342
- package/.output/server/_libs/tanstack__pacer.mjs +0 -1111
- package/.output/server/_libs/tanstack__query-core.mjs +0 -2202
- package/.output/server/_libs/tanstack__react-hotkeys.mjs +0 -152
- package/.output/server/_libs/tanstack__react-query.mjs +0 -180
- package/.output/server/_libs/tanstack__react-store.mjs +0 -39
- package/.output/server/_libs/tanstack__router-core.mjs +0 -6
- package/.output/server/_libs/tanstack__store.mjs +0 -28
- package/.output/server/_libs/ufo.mjs +0 -64
- package/.output/server/_libs/unctx.mjs +0 -82
- package/.output/server/_libs/ungap__structured-clone.mjs +0 -197
- package/.output/server/_libs/vaul.mjs +0 -1250
- package/.output/server/_libs/xterm__addon-fit.mjs +0 -44
- package/.output/server/_libs/xterm__xterm.mjs +0 -10234
- package/.output/server/_libs/zod.mjs +0 -3341
- package/.output/server/_routes/api/terminal/[id]/ws.mjs +0 -8874
- package/.output/server/_runtime.mjs +0 -35
- package/.output/server/_ssr/router-CN4JMm2A.mjs +0 -9733
- package/.output/server/_ssr/routes-BsQ26pbY.mjs +0 -29306
- package/.output/server/_ssr/routes-DbjuMLFI.mjs +0 -3400
- package/.output/server/_ssr/ssr.mjs +0 -5176
- package/.output/server/_ssr/start-jIczsXlR.mjs +0 -4
- package/.output/server/_tanstack-start-manifest_v-Bs4g_j1_.mjs +0 -77
- package/.output/server/index.mjs +0 -2670
- package/.output/server/node_modules/node-pty/LICENSE +0 -69
- package/.output/server/node_modules/node-pty/README.md +0 -165
- package/.output/server/node_modules/node-pty/binding.gyp +0 -111
- package/.output/server/node_modules/node-pty/build/Makefile +0 -369
- package/.output/server/node_modules/node-pty/build/Release/pty.node +0 -0
- package/.output/server/node_modules/node-pty/build/binding.Makefile +0 -6
- package/.output/server/node_modules/node-pty/build/pty.target.mk +0 -168
- package/.output/server/node_modules/node-pty/deps/.editorconfig +0 -2
- package/.output/server/node_modules/node-pty/deps/winpty/.drone.yml +0 -17
- package/.output/server/node_modules/node-pty/deps/winpty/.gitattributes +0 -19
- package/.output/server/node_modules/node-pty/deps/winpty/LICENSE +0 -21
- package/.output/server/node_modules/node-pty/deps/winpty/Makefile +0 -166
- package/.output/server/node_modules/node-pty/deps/winpty/README.md +0 -151
- package/.output/server/node_modules/node-pty/deps/winpty/RELEASES.md +0 -280
- package/.output/server/node_modules/node-pty/deps/winpty/VERSION.txt +0 -1
- package/.output/server/node_modules/node-pty/deps/winpty/configure +0 -167
- package/.output/server/node_modules/node-pty/deps/winpty/misc/BufferResizeTests.cc +0 -90
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ChangeScreenBuffer.cc +0 -53
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ClearConsole.cc +0 -72
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ConinMode.cc +0 -117
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ConinMode.ps1 +0 -116
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ConoutMode.cc +0 -113
- package/.output/server/node_modules/node-pty/deps/winpty/misc/DebugClient.py +0 -42
- package/.output/server/node_modules/node-pty/deps/winpty/misc/DebugServer.py +0 -63
- package/.output/server/node_modules/node-pty/deps/winpty/misc/DumpLines.py +0 -5
- package/.output/server/node_modules/node-pty/deps/winpty/misc/EnableExtendedFlags.txt +0 -46
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP437-Consolas.txt +0 -528
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP437-Lucida.txt +0 -633
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP932.txt +0 -630
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP936.txt +0 -630
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP949.txt +0 -630
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/CP950.txt +0 -630
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/MinimumWindowWidths.txt +0 -16
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/Results.txt +0 -4
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Font-Report-June2016/Windows10SetFontBugginess.txt +0 -144
- package/.output/server/node_modules/node-pty/deps/winpty/misc/FontSurvey.cc +0 -100
- package/.output/server/node_modules/node-pty/deps/winpty/misc/FormatChar.h +0 -21
- package/.output/server/node_modules/node-pty/deps/winpty/misc/FreezePerfTest.cc +0 -62
- package/.output/server/node_modules/node-pty/deps/winpty/misc/GetCh.cc +0 -20
- package/.output/server/node_modules/node-pty/deps/winpty/misc/GetConsolePos.cc +0 -41
- package/.output/server/node_modules/node-pty/deps/winpty/misc/GetFont.cc +0 -261
- package/.output/server/node_modules/node-pty/deps/winpty/misc/IdentifyConsoleWindow.ps1 +0 -51
- package/.output/server/node_modules/node-pty/deps/winpty/misc/IsNewConsole.cc +0 -87
- package/.output/server/node_modules/node-pty/deps/winpty/misc/MouseInputNotes.txt +0 -90
- package/.output/server/node_modules/node-pty/deps/winpty/misc/MoveConsoleWindow.cc +0 -34
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Notes.txt +0 -219
- package/.output/server/node_modules/node-pty/deps/winpty/misc/OSVersion.cc +0 -27
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ScreenBufferFreezeInactive.cc +0 -101
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ScreenBufferTest.cc +0 -671
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ScreenBufferTest2.cc +0 -151
- package/.output/server/node_modules/node-pty/deps/winpty/misc/SelectAllTest.cc +0 -45
- package/.output/server/node_modules/node-pty/deps/winpty/misc/SetBufferSize.cc +0 -32
- package/.output/server/node_modules/node-pty/deps/winpty/misc/SetCursorPos.cc +0 -10
- package/.output/server/node_modules/node-pty/deps/winpty/misc/SetFont.cc +0 -145
- package/.output/server/node_modules/node-pty/deps/winpty/misc/SetWindowRect.cc +0 -36
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ShowArgv.cc +0 -12
- package/.output/server/node_modules/node-pty/deps/winpty/misc/ShowConsoleInput.cc +0 -40
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Spew.py +0 -5
- package/.output/server/node_modules/node-pty/deps/winpty/misc/TestUtil.cc +0 -172
- package/.output/server/node_modules/node-pty/deps/winpty/misc/UnicodeDoubleWidthTest.cc +0 -102
- package/.output/server/node_modules/node-pty/deps/winpty/misc/UnicodeWideTest1.cc +0 -246
- package/.output/server/node_modules/node-pty/deps/winpty/misc/UnicodeWideTest2.cc +0 -130
- package/.output/server/node_modules/node-pty/deps/winpty/misc/UnixEcho.cc +0 -89
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Utf16Echo.cc +0 -46
- package/.output/server/node_modules/node-pty/deps/winpty/misc/VeryLargeRead.cc +0 -122
- package/.output/server/node_modules/node-pty/deps/winpty/misc/VkEscapeTest.cc +0 -56
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win10ResizeWhileFrozen.cc +0 -52
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win10WrapTest1.cc +0 -57
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win10WrapTest2.cc +0 -30
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win32Echo1.cc +0 -26
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win32Echo2.cc +0 -19
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win32Test1.cc +0 -46
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win32Test2.cc +0 -70
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win32Test3.cc +0 -78
- package/.output/server/node_modules/node-pty/deps/winpty/misc/Win32Write1.cc +0 -44
- package/.output/server/node_modules/node-pty/deps/winpty/misc/WindowsBugCrashReader.cc +0 -27
- package/.output/server/node_modules/node-pty/deps/winpty/misc/WriteConsole.cc +0 -106
- package/.output/server/node_modules/node-pty/deps/winpty/misc/build32.sh +0 -9
- package/.output/server/node_modules/node-pty/deps/winpty/misc/build64.sh +0 -9
- package/.output/server/node_modules/node-pty/deps/winpty/misc/color-test.sh +0 -212
- package/.output/server/node_modules/node-pty/deps/winpty/misc/font-notes.txt +0 -300
- package/.output/server/node_modules/node-pty/deps/winpty/misc/winbug-15048.cc +0 -201
- package/.output/server/node_modules/node-pty/deps/winpty/ship/build-pty4j-libpty.bat +0 -36
- package/.output/server/node_modules/node-pty/deps/winpty/ship/common_ship.py +0 -53
- package/.output/server/node_modules/node-pty/deps/winpty/ship/make_msvc_package.py +0 -165
- package/.output/server/node_modules/node-pty/deps/winpty/ship/ship.py +0 -108
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Agent.cc +0 -613
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Agent.h +0 -103
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/AgentCreateDesktop.cc +0 -84
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/AgentCreateDesktop.h +0 -28
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleFont.cc +0 -632
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleFont.h +0 -28
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleInput.cc +0 -852
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleInput.h +0 -109
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleInputReencoding.cc +0 -121
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleInputReencoding.h +0 -36
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleLine.cc +0 -152
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/ConsoleLine.h +0 -41
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Coord.h +0 -87
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/DebugShowInput.cc +0 -239
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/DebugShowInput.h +0 -32
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/DefaultInputMap.cc +0 -422
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/DefaultInputMap.h +0 -28
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/DsrSender.h +0 -30
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/EventLoop.cc +0 -99
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/EventLoop.h +0 -47
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/InputMap.cc +0 -246
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/InputMap.h +0 -114
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/LargeConsoleRead.cc +0 -71
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/LargeConsoleRead.h +0 -68
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/NamedPipe.cc +0 -378
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/NamedPipe.h +0 -125
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Scraper.cc +0 -699
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Scraper.h +0 -103
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/SimplePool.h +0 -75
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/SmallRect.h +0 -143
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Terminal.cc +0 -535
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Terminal.h +0 -69
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/UnicodeEncoding.h +0 -157
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/UnicodeEncodingTest.cc +0 -189
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Win32Console.cc +0 -107
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Win32Console.h +0 -67
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Win32ConsoleBuffer.cc +0 -193
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/Win32ConsoleBuffer.h +0 -99
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/main.cc +0 -114
- package/.output/server/node_modules/node-pty/deps/winpty/src/agent/subdir.mk +0 -61
- package/.output/server/node_modules/node-pty/deps/winpty/src/configurations.gypi +0 -60
- package/.output/server/node_modules/node-pty/deps/winpty/src/debugserver/DebugServer.cc +0 -117
- package/.output/server/node_modules/node-pty/deps/winpty/src/debugserver/subdir.mk +0 -41
- package/.output/server/node_modules/node-pty/deps/winpty/src/include/winpty.h +0 -242
- package/.output/server/node_modules/node-pty/deps/winpty/src/include/winpty_constants.h +0 -131
- package/.output/server/node_modules/node-pty/deps/winpty/src/libwinpty/AgentLocation.cc +0 -75
- package/.output/server/node_modules/node-pty/deps/winpty/src/libwinpty/AgentLocation.h +0 -28
- package/.output/server/node_modules/node-pty/deps/winpty/src/libwinpty/LibWinptyException.h +0 -54
- package/.output/server/node_modules/node-pty/deps/winpty/src/libwinpty/WinptyInternal.h +0 -72
- package/.output/server/node_modules/node-pty/deps/winpty/src/libwinpty/subdir.mk +0 -46
- package/.output/server/node_modules/node-pty/deps/winpty/src/libwinpty/winpty.cc +0 -970
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/AgentMsg.h +0 -38
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/BackgroundDesktop.cc +0 -122
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/BackgroundDesktop.h +0 -73
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/Buffer.cc +0 -103
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/Buffer.h +0 -102
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/DebugClient.cc +0 -187
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/DebugClient.h +0 -38
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/GenRandom.cc +0 -138
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/GenRandom.h +0 -55
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/GetCommitHash.bat +0 -13
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/Mutex.h +0 -54
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/OsModule.h +0 -63
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/OwnedHandle.cc +0 -36
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/OwnedHandle.h +0 -45
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/PrecompiledHeader.h +0 -43
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/StringBuilder.h +0 -227
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/StringBuilderTest.cc +0 -114
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/StringUtil.cc +0 -55
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/StringUtil.h +0 -80
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/TimeMeasurement.h +0 -63
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/UnixCtrlChars.h +0 -45
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/UpdateGenVersion.bat +0 -20
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WindowsSecurity.cc +0 -460
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WindowsSecurity.h +0 -104
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WindowsVersion.cc +0 -252
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WindowsVersion.h +0 -29
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WinptyAssert.cc +0 -55
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WinptyAssert.h +0 -64
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WinptyException.cc +0 -57
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WinptyException.h +0 -43
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WinptyVersion.cc +0 -42
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/WinptyVersion.h +0 -27
- package/.output/server/node_modules/node-pty/deps/winpty/src/shared/winpty_snprintf.h +0 -99
- package/.output/server/node_modules/node-pty/deps/winpty/src/subdir.mk +0 -5
- package/.output/server/node_modules/node-pty/deps/winpty/src/tests/subdir.mk +0 -28
- package/.output/server/node_modules/node-pty/deps/winpty/src/tests/trivial_test.cc +0 -158
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/InputHandler.cc +0 -114
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/InputHandler.h +0 -56
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/OutputHandler.cc +0 -80
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/OutputHandler.h +0 -53
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/Util.cc +0 -86
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/Util.h +0 -31
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/WakeupFd.cc +0 -70
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/WakeupFd.h +0 -42
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/main.cc +0 -729
- package/.output/server/node_modules/node-pty/deps/winpty/src/unix-adapter/subdir.mk +0 -41
- package/.output/server/node_modules/node-pty/deps/winpty/src/winpty.gyp +0 -234
- package/.output/server/node_modules/node-pty/deps/winpty/vcbuild.bat +0 -83
- package/.output/server/node_modules/node-pty/lib/conpty_console_list_agent.js +0 -16
- package/.output/server/node_modules/node-pty/lib/conpty_console_list_agent.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/eventEmitter2.js +0 -47
- package/.output/server/node_modules/node-pty/lib/eventEmitter2.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/eventEmitter2.test.js +0 -30
- package/.output/server/node_modules/node-pty/lib/eventEmitter2.test.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/index.js +0 -52
- package/.output/server/node_modules/node-pty/lib/index.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/interfaces.js +0 -7
- package/.output/server/node_modules/node-pty/lib/interfaces.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/shared/conout.js +0 -11
- package/.output/server/node_modules/node-pty/lib/shared/conout.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/terminal.js +0 -190
- package/.output/server/node_modules/node-pty/lib/terminal.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/terminal.test.js +0 -139
- package/.output/server/node_modules/node-pty/lib/terminal.test.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/testUtils.test.js +0 -28
- package/.output/server/node_modules/node-pty/lib/testUtils.test.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/types.js +0 -7
- package/.output/server/node_modules/node-pty/lib/types.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/unixTerminal.js +0 -346
- package/.output/server/node_modules/node-pty/lib/unixTerminal.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/unixTerminal.test.js +0 -351
- package/.output/server/node_modules/node-pty/lib/unixTerminal.test.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/utils.js +0 -39
- package/.output/server/node_modules/node-pty/lib/utils.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/windowsConoutConnection.js +0 -125
- package/.output/server/node_modules/node-pty/lib/windowsConoutConnection.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/windowsPtyAgent.js +0 -320
- package/.output/server/node_modules/node-pty/lib/windowsPtyAgent.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/windowsPtyAgent.test.js +0 -90
- package/.output/server/node_modules/node-pty/lib/windowsPtyAgent.test.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/windowsTerminal.js +0 -199
- package/.output/server/node_modules/node-pty/lib/windowsTerminal.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/windowsTerminal.test.js +0 -219
- package/.output/server/node_modules/node-pty/lib/windowsTerminal.test.js.map +0 -1
- package/.output/server/node_modules/node-pty/lib/worker/conoutSocketWorker.js +0 -22
- package/.output/server/node_modules/node-pty/lib/worker/conoutSocketWorker.js.map +0 -1
- package/.output/server/node_modules/node-pty/package.json +0 -64
- package/.output/server/node_modules/node-pty/prebuilds/darwin-arm64/pty.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/darwin-arm64/spawn-helper +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/darwin-x64/pty.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/darwin-x64/spawn-helper +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/conpty/OpenConsole.exe +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/conpty/conpty.dll +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/conpty.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/conpty.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/conpty_console_list.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/conpty_console_list.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/pty.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/pty.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/winpty-agent.exe +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/winpty-agent.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/winpty.dll +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-arm64/winpty.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/conpty/OpenConsole.exe +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/conpty/conpty.dll +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/conpty.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/conpty.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/conpty_console_list.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/conpty_console_list.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/pty.node +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/pty.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/winpty-agent.exe +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/winpty-agent.pdb +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/winpty.dll +0 -0
- package/.output/server/node_modules/node-pty/prebuilds/win32-x64/winpty.pdb +0 -0
- package/.output/server/node_modules/node-pty/scripts/gen-compile-commands.js +0 -8
- package/.output/server/node_modules/node-pty/scripts/increment-version.js +0 -54
- package/.output/server/node_modules/node-pty/scripts/post-install.js +0 -80
- package/.output/server/node_modules/node-pty/scripts/prebuild.js +0 -34
- package/.output/server/node_modules/node-pty/src/conpty_console_list_agent.ts +0 -15
- package/.output/server/node_modules/node-pty/src/eventEmitter2.test.ts +0 -30
- package/.output/server/node_modules/node-pty/src/eventEmitter2.ts +0 -48
- package/.output/server/node_modules/node-pty/src/index.ts +0 -52
- package/.output/server/node_modules/node-pty/src/interfaces.ts +0 -130
- package/.output/server/node_modules/node-pty/src/native.d.ts +0 -54
- package/.output/server/node_modules/node-pty/src/shared/conout.ts +0 -15
- package/.output/server/node_modules/node-pty/src/terminal.test.ts +0 -119
- package/.output/server/node_modules/node-pty/src/terminal.ts +0 -211
- package/.output/server/node_modules/node-pty/src/testUtils.test.ts +0 -23
- package/.output/server/node_modules/node-pty/src/tsconfig.json +0 -22
- package/.output/server/node_modules/node-pty/src/types.ts +0 -15
- package/.output/server/node_modules/node-pty/src/unix/pty.cc +0 -799
- package/.output/server/node_modules/node-pty/src/unix/spawn-helper.cc +0 -23
- package/.output/server/node_modules/node-pty/src/unixTerminal.test.ts +0 -367
- package/.output/server/node_modules/node-pty/src/unixTerminal.ts +0 -388
- package/.output/server/node_modules/node-pty/src/utils.ts +0 -29
- package/.output/server/node_modules/node-pty/src/win/conpty.cc +0 -583
- package/.output/server/node_modules/node-pty/src/win/conpty.h +0 -41
- package/.output/server/node_modules/node-pty/src/win/conpty_console_list.cc +0 -44
- package/.output/server/node_modules/node-pty/src/win/path_util.cc +0 -95
- package/.output/server/node_modules/node-pty/src/win/path_util.h +0 -26
- package/.output/server/node_modules/node-pty/src/win/winpty.cc +0 -333
- package/.output/server/node_modules/node-pty/src/windowsConoutConnection.ts +0 -82
- package/.output/server/node_modules/node-pty/src/windowsPtyAgent.test.ts +0 -94
- package/.output/server/node_modules/node-pty/src/windowsPtyAgent.ts +0 -321
- package/.output/server/node_modules/node-pty/src/windowsTerminal.test.ts +0 -229
- package/.output/server/node_modules/node-pty/src/windowsTerminal.ts +0 -203
- package/.output/server/node_modules/node-pty/src/worker/conoutSocketWorker.ts +0 -22
- package/.output/server/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-arm64/OpenConsole.exe +0 -0
- package/.output/server/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-arm64/conpty.dll +0 -0
- package/.output/server/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-x64/OpenConsole.exe +0 -0
- package/.output/server/node_modules/node-pty/third_party/conpty/1.23.251008001/win10-x64/conpty.dll +0 -0
- package/.output/server/node_modules/node-pty/typings/node-pty.d.ts +0 -211
- package/.output/server/node_modules/tslib/modules/index.js +0 -70
- package/.output/server/node_modules/tslib/modules/package.json +0 -3
- package/.output/server/node_modules/tslib/package.json +0 -47
- package/.output/server/node_modules/tslib/tslib.js +0 -484
- package/.output/server/package.json +0 -10
- package/scripts/release.mjs +0 -173
- package/vendor/node-domexception/index.js +0 -3
- package/vendor/node-domexception/package.json +0 -10
- /package/.output/public/assets/{abap-smLpETzL.js → abap-CglpPUUh.js} +0 -0
- /package/.output/public/assets/{actionscript-3-o-aRvjY5.js → actionscript-3-CGv72Q9E.js} +0 -0
- /package/.output/public/assets/{ada-D5RRX1i4.js → ada-CfxXaXwr.js} +0 -0
- /package/.output/public/assets/{addon-fit-CMMXLNsg.js → addon-fit-C9RD8ot3.js} +0 -0
- /package/.output/public/assets/{andromeeda-N4z3YzmR.js → andromeeda-DXsn6mTE.js} +0 -0
- /package/.output/public/assets/{apache-DttKlSqg.js → apache-D5xAQKSB.js} +0 -0
- /package/.output/public/assets/{apex-DL7j-a2n.js → apex-qgfedJV2.js} +0 -0
- /package/.output/public/assets/{applescript-DCbL_2FX.js → applescript-DqumQxTt.js} +0 -0
- /package/.output/public/assets/{ara-DqheWJCe.js → ara-Ditv3ow6.js} +0 -0
- /package/.output/public/assets/{asciidoc-BH2sf2K4.js → asciidoc-DL8QwiT7.js} +0 -0
- /package/.output/public/assets/{asm-rfjOMz3U.js → asm-K6TMxl3o.js} +0 -0
- /package/.output/public/assets/{aurora-x-CND-FqEb.js → aurora-x-DGv-xZaa.js} +0 -0
- /package/.output/public/assets/{awk-CMV5n9Z7.js → awk-CYSfQSDT.js} +0 -0
- /package/.output/public/assets/{ayu-dark-on7xzq_B.js → ayu-dark-DGBaJbpH.js} +0 -0
- /package/.output/public/assets/{ayu-light-DnGeGGc2.js → ayu-light-BQrGPVs2.js} +0 -0
- /package/.output/public/assets/{ayu-mirage-DG3LlYC_.js → ayu-mirage-Do-5o2VL.js} +0 -0
- /package/.output/public/assets/{ballerina-BjMqJjlr.js → ballerina-BE-8n54s.js} +0 -0
- /package/.output/public/assets/{bat-BaVbo_qw.js → bat-B1zTc1QZ.js} +0 -0
- /package/.output/public/assets/{beancount-DBt5Mbc_.js → beancount-DhObrvif.js} +0 -0
- /package/.output/public/assets/{berry-Cyjuxiss.js → berry-Cnbvthv1.js} +0 -0
- /package/.output/public/assets/{bibtex-BV_0nsPq.js → bibtex-pp5SrwZy.js} +0 -0
- /package/.output/public/assets/{bicep-C2gEwu4J.js → bicep-BL6eYxbs.js} +0 -0
- /package/.output/public/assets/{bird2-BRyaEJd0.js → bird2-BQaXYY9n.js} +0 -0
- /package/.output/public/assets/{c-Nc9zJT78.js → c-BHFJ4Jk3.js} +0 -0
- /package/.output/public/assets/{c3-DTTbp5N2.js → c3-BHTco5Hb.js} +0 -0
- /package/.output/public/assets/{cadence-CPz83cmI.js → cadence-CoPxW0qb.js} +0 -0
- /package/.output/public/assets/{catppuccin-frappe-Dr22sraq.js → catppuccin-frappe-9fYwMJCf.js} +0 -0
- /package/.output/public/assets/{catppuccin-latte-C57EeX8c.js → catppuccin-latte-BUiKH1yZ.js} +0 -0
- /package/.output/public/assets/{catppuccin-macchiato-CpheI4uD.js → catppuccin-macchiato-ZmO2e0M_.js} +0 -0
- /package/.output/public/assets/{catppuccin-mocha-D8Lmdks_.js → catppuccin-mocha-CFwbXQfO.js} +0 -0
- /package/.output/public/assets/{clarity-CFJ2Yc3q.js → clarity-DVUGm1xP.js} +0 -0
- /package/.output/public/assets/{clojure-6R01QgJC.js → clojure-BgXJG6FG.js} +0 -0
- /package/.output/public/assets/{cmake-D5rSbMir.js → cmake-CZndsvm6.js} +0 -0
- /package/.output/public/assets/{codeowners-_3A-ClkN.js → codeowners-Dd7a447M.js} +0 -0
- /package/.output/public/assets/{codeql-DlIhJTR7.js → codeql-XJR6llG-.js} +0 -0
- /package/.output/public/assets/{common-lisp-BvQzz173.js → common-lisp-BOMbLvgT.js} +0 -0
- /package/.output/public/assets/{coq-DTNXReIC.js → coq-DnhmQYDa.js} +0 -0
- /package/.output/public/assets/{csharp-BDKQY1K9.js → csharp-BdEyRqBm.js} +0 -0
- /package/.output/public/assets/{css-DRmnABqB.js → css-CsTDDTLq.js} +0 -0
- /package/.output/public/assets/{csv-DNUpVBxl.js → csv-CXchYFbz.js} +0 -0
- /package/.output/public/assets/{cue-DDdBc2s3.js → cue-D7YpBZvd.js} +0 -0
- /package/.output/public/assets/{cypher-CguaznO2.js → cypher-XIm1N8YJ.js} +0 -0
- /package/.output/public/assets/{d-CHcoyjv3.js → d-DvB0pbZH.js} +0 -0
- /package/.output/public/assets/{dark-plus-CqeW_0kH.js → dark-plus-BUdpMFIA.js} +0 -0
- /package/.output/public/assets/{dart-RM3aRphk.js → dart-CwpSKTMB.js} +0 -0
- /package/.output/public/assets/{dax-nbnY1d79.js → dax-CEynWJsU.js} +0 -0
- /package/.output/public/assets/{desktop-BD76cvxT.js → desktop-Dk-YiYS_.js} +0 -0
- /package/.output/public/assets/{diff-CdkWtnkL.js → diff-abLZ-xM1.js} +0 -0
- /package/.output/public/assets/{docker-ZyPHc6zB.js → docker-BT48KsRJ.js} +0 -0
- /package/.output/public/assets/{dotenv-BdJZEwA6.js → dotenv-NOMQQbM0.js} +0 -0
- /package/.output/public/assets/{dracula-CtqCPLGa.js → dracula-BUW0ZyNO.js} +0 -0
- /package/.output/public/assets/{dracula-soft-DmBpwRAy.js → dracula-soft-BMjAt1_u.js} +0 -0
- /package/.output/public/assets/{dream-maker-BJL4qlg3.js → dream-maker-D26TP1Q3.js} +0 -0
- /package/.output/public/assets/{emacs-lisp-_LyYa2Ky.js → emacs-lisp-C2EvfotR.js} +0 -0
- /package/.output/public/assets/{everforest-dark-CrbyKk4n.js → everforest-dark-hC6a272f.js} +0 -0
- /package/.output/public/assets/{everforest-light-DRbSh8Tm.js → everforest-light-BTpbYY5G.js} +0 -0
- /package/.output/public/assets/{fennel-CC2BkRsS.js → fennel-DWOL-Ewx.js} +0 -0
- /package/.output/public/assets/{fish-D2ZCzqcE.js → fish-CQPQq0pQ.js} +0 -0
- /package/.output/public/assets/{fluent-DKAm3m7q.js → fluent-BYdsr2M8.js} +0 -0
- /package/.output/public/assets/{fortran-free-form-BPTf0lbT.js → fortran-free-form-C_EtY4F9.js} +0 -0
- /package/.output/public/assets/{gdscript-CsadCSaZ.js → gdscript-CH_tD-VB.js} +0 -0
- /package/.output/public/assets/{gdshader-PfnN_8tR.js → gdshader-BemFblFP.js} +0 -0
- /package/.output/public/assets/{genie-Bj-orPAV.js → genie-hCPg_eq7.js} +0 -0
- /package/.output/public/assets/{gherkin-COVWpJ-Q.js → gherkin-CO0ypD1P.js} +0 -0
- /package/.output/public/assets/{github-dark-ipGuFGYC.js → github-dark-cA72fqmI.js} +0 -0
- /package/.output/public/assets/{github-dark-default-DX3IG_X0.js → github-dark-default-DiYTFvY5.js} +0 -0
- /package/.output/public/assets/{github-dark-dimmed-CH6p_7ez.js → github-dark-dimmed-D-uBHzyG.js} +0 -0
- /package/.output/public/assets/{github-dark-high-contrast-Bg2sSao5.js → github-dark-high-contrast-BrUSkckI.js} +0 -0
- /package/.output/public/assets/{github-light-default-DwpDd1IQ.js → github-light-default-BT-6Vf7C.js} +0 -0
- /package/.output/public/assets/{github-light-high-contrast-C0QeixPf.js → github-light-high-contrast-DqmEyTTc.js} +0 -0
- /package/.output/public/assets/{github-light-BxjqOQl0.js → github-light-piFPqU8R.js} +0 -0
- /package/.output/public/assets/{gleam-BF2NigGj.js → gleam-CWJA_H5i.js} +0 -0
- /package/.output/public/assets/{gn-CMIt9roj.js → gn-nlTwLSjP.js} +0 -0
- /package/.output/public/assets/{gnuplot-DgWlRTEj.js → gnuplot-wYV0MbPl.js} +0 -0
- /package/.output/public/assets/{go-DLnOLj8q.js → go-BUPBDRDo.js} +0 -0
- /package/.output/public/assets/{groovy-B9qLWIkE.js → groovy-BusafOA8.js} +0 -0
- /package/.output/public/assets/{gruvbox-dark-hard-BIMX9ePb.js → gruvbox-dark-hard-BrrZYoPF.js} +0 -0
- /package/.output/public/assets/{gruvbox-dark-medium-DxuwyVzM.js → gruvbox-dark-medium-DsxcLuUs.js} +0 -0
- /package/.output/public/assets/{gruvbox-dark-soft-ba2fjht0.js → gruvbox-dark-soft-DQXOs_GH.js} +0 -0
- /package/.output/public/assets/{gruvbox-light-hard-DAJK2PqC.js → gruvbox-light-hard-CtHwj_cB.js} +0 -0
- /package/.output/public/assets/{gruvbox-light-medium-WRifDAJD.js → gruvbox-light-medium-CPJMdgXQ.js} +0 -0
- /package/.output/public/assets/{gruvbox-light-soft-B0dBOoVB.js → gruvbox-light-soft-C4Xh9Hc-.js} +0 -0
- /package/.output/public/assets/{haskell-BaGpmm_c.js → haskell-CaDqJkn4.js} +0 -0
- /package/.output/public/assets/{haxe-DfXTCEOz.js → haxe-Dxg-8_J7.js} +0 -0
- /package/.output/public/assets/{hcl-CbCtpSbi.js → hcl-Bjg-rMJ0.js} +0 -0
- /package/.output/public/assets/{hjson-_4-w-pHU.js → hjson-BMbeOOMg.js} +0 -0
- /package/.output/public/assets/{hlsl-DpuYn7pp.js → hlsl-D-cuwCFV.js} +0 -0
- /package/.output/public/assets/{horizon-C5RtD1fY.js → horizon-BofYY9of.js} +0 -0
- /package/.output/public/assets/{horizon-bright-pEOice34.js → horizon-bright-CFOVQsf2.js} +0 -0
- /package/.output/public/assets/{houston-A0zg9vNP.js → houston-BIBYxFpQ.js} +0 -0
- /package/.output/public/assets/{hy-t9zDXBje.js → hy-Cye3Jt7O.js} +0 -0
- /package/.output/public/assets/{imba-Bxu-TDfw.js → imba-CjkQtgD2.js} +0 -0
- /package/.output/public/assets/{ini-D-v34c8N.js → ini-BvMtfDNl.js} +0 -0
- /package/.output/public/assets/{java-DVLnIrqC.js → java-BYO3uQJZ.js} +0 -0
- /package/.output/public/assets/{javascript-Cop1kpy_.js → javascript-BsdGTPv_.js} +0 -0
- /package/.output/public/assets/{json-CTw4n7kn.js → json-Kp2u6f_f.js} +0 -0
- /package/.output/public/assets/{json5-D0XL1D5m.js → json5-BCxDPjxU.js} +0 -0
- /package/.output/public/assets/{jsonc-BBgf3TX3.js → jsonc-BV8VFjqO.js} +0 -0
- /package/.output/public/assets/{jsonl-KrKLbtB7.js → jsonl-DHrr7c-M.js} +0 -0
- /package/.output/public/assets/{jsonnet-B2ZwWMOt.js → jsonnet-xURar8mu.js} +0 -0
- /package/.output/public/assets/{jssm-ByRpI9-B.js → jssm-DtoLUQAt.js} +0 -0
- /package/.output/public/assets/{jsx-0oMUGqZj.js → jsx-CyrO086S.js} +0 -0
- /package/.output/public/assets/{kanagawa-dragon-CtPmcCMp.js → kanagawa-dragon-COwlYgQB.js} +0 -0
- /package/.output/public/assets/{kanagawa-lotus-DpOXEGCa.js → kanagawa-lotus-GZWqyq_E.js} +0 -0
- /package/.output/public/assets/{kanagawa-wave-CLVCyc-n.js → kanagawa-wave-CP4uw3DX.js} +0 -0
- /package/.output/public/assets/{kdl-6FPPEH4H.js → kdl-DGo2N7N5.js} +0 -0
- /package/.output/public/assets/{kotlin-D4L3Nd2D.js → kotlin-Cm4W8Bbs.js} +0 -0
- /package/.output/public/assets/{kusto-D-mmc07O.js → kusto-DQ22_tcT.js} +0 -0
- /package/.output/public/assets/{laserwave-7fEj4XGb.js → laserwave-DfABGYsD.js} +0 -0
- /package/.output/public/assets/{lean-BMVMuP2E.js → lean-D-8a6Wwv.js} +0 -0
- /package/.output/public/assets/{less-C95PyOu0.js → less-B-qZzFKw.js} +0 -0
- /package/.output/public/assets/{light-plus-DHI2dh3p.js → light-plus-DS_rmE1N.js} +0 -0
- /package/.output/public/assets/{llvm-Dy3qORTl.js → llvm-Ch-k6TUk.js} +0 -0
- /package/.output/public/assets/{log-BQop7fzg.js → log-BGwbCG2S.js} +0 -0
- /package/.output/public/assets/{logo-DKtnYmrp.js → logo-DHGHbFWy.js} +0 -0
- /package/.output/public/assets/{luau-Dha4KG0q.js → luau-qsvm_nYh.js} +0 -0
- /package/.output/public/assets/{make-DfmS6buu.js → make-Dlfjp_Q8.js} +0 -0
- /package/.output/public/assets/{markdown-BaI9LyM4.js → markdown-COh4ruD_.js} +0 -0
- /package/.output/public/assets/{material-theme-Dm6ETY8i.js → material-theme-Ccrl1jie.js} +0 -0
- /package/.output/public/assets/{material-theme-darker-BeyjmM5Z.js → material-theme-darker-CcOH0iHe.js} +0 -0
- /package/.output/public/assets/{material-theme-lighter-CCOYYzKL.js → material-theme-lighter-DoKpC7NM.js} +0 -0
- /package/.output/public/assets/{material-theme-ocean-CUtPiiX3.js → material-theme-ocean-BcvBZHgH.js} +0 -0
- /package/.output/public/assets/{material-theme-palenight-2L4zMwIM.js → material-theme-palenight-DIL4EAzl.js} +0 -0
- /package/.output/public/assets/{matlab-BT79Cq_j.js → matlab-CBqMuw7w.js} +0 -0
- /package/.output/public/assets/{mdx-CxGBwLNt.js → mdx-BjoJxHxW.js} +0 -0
- /package/.output/public/assets/{mermaid-DLf3axBN.js → mermaid-DjAh2yR5.js} +0 -0
- /package/.output/public/assets/{min-dark-B8TUPGHg.js → min-dark-CbwghdE5.js} +0 -0
- /package/.output/public/assets/{min-light-BDOoBxcA.js → min-light-_F39d_94.js} +0 -0
- /package/.output/public/assets/{mipsasm-DXuU_0cI.js → mipsasm-DA1H0O78.js} +0 -0
- /package/.output/public/assets/{mojo-1Omp2pIo.js → mojo-BVgjRjTn.js} +0 -0
- /package/.output/public/assets/{monokai-E_VBmXGZ.js → monokai-CxgvaWkX.js} +0 -0
- /package/.output/public/assets/{moonbit-DZzq699o.js → moonbit-tKY94ZOM.js} +0 -0
- /package/.output/public/assets/{move-DxDAOJVd.js → move-B5WspEjG.js} +0 -0
- /package/.output/public/assets/{narrat-CxDcPPb9.js → narrat-CDPRStf_.js} +0 -0
- /package/.output/public/assets/{nextflow-groovy-wvmJO4hi.js → nextflow-groovy-1GYTZoD5.js} +0 -0
- /package/.output/public/assets/{night-owl-DefhalNX.js → night-owl-CCydx7ZR.js} +0 -0
- /package/.output/public/assets/{night-owl-light-byb3AbEn.js → night-owl-light-CLM7UUPY.js} +0 -0
- /package/.output/public/assets/{nix-DsFTDHWT.js → nix-DXFN4IwW.js} +0 -0
- /package/.output/public/assets/{nord-D5rQzHT-.js → nord-CiCWZ1de.js} +0 -0
- /package/.output/public/assets/{nushell-BQ_rO0AM.js → nushell-Ck9o2qOx.js} +0 -0
- /package/.output/public/assets/{objective-c-BMq6JT_m.js → objective-c-4koxci9E.js} +0 -0
- /package/.output/public/assets/{objective-cpp-DRwojuGv.js → objective-cpp-BPFAgSN9.js} +0 -0
- /package/.output/public/assets/{ocaml-e4_gKO6E.js → ocaml-BdlBLhZV.js} +0 -0
- /package/.output/public/assets/{odin-mdTPwYOg.js → odin-BcGOLCqZ.js} +0 -0
- /package/.output/public/assets/{one-dark-pro-DxXww9jg.js → one-dark-pro-DEMdTgiO.js} +0 -0
- /package/.output/public/assets/{one-light-D9c03w7t.js → one-light-Cmpe9X1u.js} +0 -0
- /package/.output/public/assets/{openscad-D2aTdNfr.js → openscad-DBveSHYE.js} +0 -0
- /package/.output/public/assets/{pascal-D4n_G8vj.js → pascal-DxOVE99u.js} +0 -0
- /package/.output/public/assets/{pierre-dark-CizZ1Z5z.js → pierre-dark-DIUCKU6U.js} +0 -0
- /package/.output/public/assets/{pierre-light-CHMWfAMe.js → pierre-light-DVO2KPlh.js} +0 -0
- /package/.output/public/assets/{pkl-DcjhAp0L.js → pkl-pIvtf7Vu.js} +0 -0
- /package/.output/public/assets/{plastic-uOsw7z1x.js → plastic-Dvdf8qVN.js} +0 -0
- /package/.output/public/assets/{plsql-BSy3Ag0J.js → plsql-d50MFTFK.js} +0 -0
- /package/.output/public/assets/{po-Be96RYkA.js → po-CboxWwYg.js} +0 -0
- /package/.output/public/assets/{poimandres-CyO4HORD.js → poimandres-DHgQGH4M.js} +0 -0
- /package/.output/public/assets/{polar-BmhMKWum.js → polar-DNp7Oek8.js} +0 -0
- /package/.output/public/assets/{postcss-BTQso3H9.js → postcss-LpmI6XQv.js} +0 -0
- /package/.output/public/assets/{powerquery-DVyQv3M2.js → powerquery-BNCl8Uwz.js} +0 -0
- /package/.output/public/assets/{powershell-BmtCGJVD.js → powershell-CZ9J0XuS.js} +0 -0
- /package/.output/public/assets/{prisma-CCFA9rEj.js → prisma-AELUiJCl.js} +0 -0
- /package/.output/public/assets/{prolog-DWGEEo78.js → prolog-BlqwejRD.js} +0 -0
- /package/.output/public/assets/{proto-C3eop1kM.js → proto-DRQC3swD.js} +0 -0
- /package/.output/public/assets/{puppet-C0_7Nv5A.js → puppet-DBKR8MlH.js} +0 -0
- /package/.output/public/assets/{purescript-Bv-B8yRw.js → purescript-DItLzxZS.js} +0 -0
- /package/.output/public/assets/{python-CKg5r0C3.js → python-D9t_ETu8.js} +0 -0
- /package/.output/public/assets/{qmldir-Cqfb4Lox.js → qmldir-DP_KD1nk.js} +0 -0
- /package/.output/public/assets/{qss-Csho9BH8.js → qss-CL02opOd.js} +0 -0
- /package/.output/public/assets/{r-UcxRcvcA.js → r-DmmrCFmB.js} +0 -0
- /package/.output/public/assets/{racket-D8-uWeQH.js → racket-K0frLTWj.js} +0 -0
- /package/.output/public/assets/{raku-Cj4JSa8p.js → raku-DwgLlPg9.js} +0 -0
- /package/.output/public/assets/{red-z4H4llUY.js → red-DzDu-aXc.js} +0 -0
- /package/.output/public/assets/{reg-DXGFiJSl.js → reg-B_y3c7di.js} +0 -0
- /package/.output/public/assets/{regexp-3-A0406L.js → regexp--eMB47Xx.js} +0 -0
- /package/.output/public/assets/{rel-CunnVTBK.js → rel-CT65ywJp.js} +0 -0
- /package/.output/public/assets/{riscv-C8BcOCkS.js → riscv-Qv5W2vIg.js} +0 -0
- /package/.output/public/assets/{ron-DiDyR9oa.js → ron-cRHu9zPp.js} +0 -0
- /package/.output/public/assets/{rose-pine-BADquuIH.js → rose-pine-DFmTJHIJ.js} +0 -0
- /package/.output/public/assets/{rose-pine-dawn-BLcEeBoh.js → rose-pine-dawn-YIuK9wUm.js} +0 -0
- /package/.output/public/assets/{rose-pine-moon-BK_tLY1Y.js → rose-pine-moon-BYEHfkUB.js} +0 -0
- /package/.output/public/assets/{rosmsg-CHmL1Uyj.js → rosmsg-_L1z4wrx.js} +0 -0
- /package/.output/public/assets/{rust-DjJFInu3.js → rust-BA5wQ_EY.js} +0 -0
- /package/.output/public/assets/{sass-D3xZ5o-v.js → sass-sd__ov8V.js} +0 -0
- /package/.output/public/assets/{scala-B0IRml5w.js → scala--cVG4U7H.js} +0 -0
- /package/.output/public/assets/{scheme-BhwcV3Av.js → scheme-D6Q1O-kY.js} +0 -0
- /package/.output/public/assets/{sdbl-BmWYR-pI.js → sdbl-jB0DUrL_.js} +0 -0
- /package/.output/public/assets/{shellscript-DaVPunOM.js → shellscript-DyWRuzkj.js} +0 -0
- /package/.output/public/assets/{slack-dark-DOnVms5P.js → slack-dark-DHhAlQBa.js} +0 -0
- /package/.output/public/assets/{slack-ochin-DcRTft4q.js → slack-ochin-PZXbcZaN.js} +0 -0
- /package/.output/public/assets/{smalltalk-DVQuUMII.js → smalltalk-C7VkdTlv.js} +0 -0
- /package/.output/public/assets/{snazzy-light-x9CLJ1W9.js → snazzy-light-CPc_Qts9.js} +0 -0
- /package/.output/public/assets/{solarized-dark-BB1sh-pe.js → solarized-dark-DCCfKtTh.js} +0 -0
- /package/.output/public/assets/{solarized-light-9-RPS998.js → solarized-light-B84T-R9X.js} +0 -0
- /package/.output/public/assets/{solidity-gQ4WXILB.js → solidity-DVsDPpDS.js} +0 -0
- /package/.output/public/assets/{splunk-OB48_RcD.js → splunk-A-BwP6Va.js} +0 -0
- /package/.output/public/assets/{sql-CrTmZCMa.js → sql-CRzu7iKx.js} +0 -0
- /package/.output/public/assets/{ssh-config-DA9YMRGV.js → ssh-config-CFPv6mTy.js} +0 -0
- /package/.output/public/assets/{stylus-sKwvsUaC.js → stylus-CUf3IESt.js} +0 -0
- /package/.output/public/assets/{swift-C72NbAtg.js → swift-CSiiYB_Q.js} +0 -0
- /package/.output/public/assets/{synthwave-84-eJ9uRN_S.js → synthwave-84-uJp1j2Jd.js} +0 -0
- /package/.output/public/assets/{system-verilog-CnWMF7Nq.js → system-verilog-rMjKy-O9.js} +0 -0
- /package/.output/public/assets/{systemd-DMzItW5N.js → systemd-R-KDM4-t.js} +0 -0
- /package/.output/public/assets/{talonscript-DopQCWDL.js → talonscript-D666vCtm.js} +0 -0
- /package/.output/public/assets/{tasl-C28SYKbq.js → tasl-68cbBocU.js} +0 -0
- /package/.output/public/assets/{tcl-DHq7zmoF.js → tcl-Y39dJ_pX.js} +0 -0
- /package/.output/public/assets/{terraform-CogS1YKX.js → terraform-BF7wAo-b.js} +0 -0
- /package/.output/public/assets/{tokyo-night-B9N7LyrF.js → tokyo-night-EeABtN82.js} +0 -0
- /package/.output/public/assets/{toml-BH_iPsgK.js → toml-BrMFN1JF.js} +0 -0
- /package/.output/public/assets/{tsv-BIkdBZX1.js → tsv-Dp2l5v7f.js} +0 -0
- /package/.output/public/assets/{tsx-BjkCKOtw.js → tsx-CQqypS0k.js} +0 -0
- /package/.output/public/assets/{turtle-CqNXyJWZ.js → turtle-_N1aDtpV.js} +0 -0
- /package/.output/public/assets/{typescript-BoHeP9q1.js → typescript-CPmDkqmE.js} +0 -0
- /package/.output/public/assets/{typespec-CQ9LYD_e.js → typespec-ghgF2GAI.js} +0 -0
- /package/.output/public/assets/{typst-T-Fsk-Sv.js → typst-DP_izaNK.js} +0 -0
- /package/.output/public/assets/{v-BhMEOw9x.js → v-CdNC_Wok.js} +0 -0
- /package/.output/public/assets/{vala-DzajMnwt.js → vala-Bu4pYkLC.js} +0 -0
- /package/.output/public/assets/{vb-7Xr8dEYW.js → vb-u84IyWSS.js} +0 -0
- /package/.output/public/assets/{verilog-AvXtwZir.js → verilog-BC33pi7Z.js} +0 -0
- /package/.output/public/assets/{vesper-CtgQQ2sf.js → vesper-7-XtS0Kg.js} +0 -0
- /package/.output/public/assets/{vhdl-BHu0zg1P.js → vhdl-BBxTOQe0.js} +0 -0
- /package/.output/public/assets/{viml-Di0QpLfC.js → viml-X_r-ivXA.js} +0 -0
- /package/.output/public/assets/{vitesse-black-jXdfyqgD.js → vitesse-black-DRdlY-cW.js} +0 -0
- /package/.output/public/assets/{vitesse-dark-B88PxG1r.js → vitesse-dark-Bz0hOFHJ.js} +0 -0
- /package/.output/public/assets/{vitesse-light-BXxZh2iV.js → vitesse-light-7kCLd0yn.js} +0 -0
- /package/.output/public/assets/{vyper-C3R5yXgx.js → vyper-E7qIwMXy.js} +0 -0
- /package/.output/public/assets/{wasm-D_MQmneJ.js → wasm-BqG9CUph.js} +0 -0
- /package/.output/public/assets/{wasm-Chsuwt1A.js → wasm-C18OEcCL.js} +0 -0
- /package/.output/public/assets/{wenyan-BonVcr2i.js → wenyan-siXAC4el.js} +0 -0
- /package/.output/public/assets/{wgsl-D59WYmNq.js → wgsl-BJQt8Uld.js} +0 -0
- /package/.output/public/assets/{wikitext-ariTI2Wk.js → wikitext-Ci0ePJmf.js} +0 -0
- /package/.output/public/assets/{wit-EA4fa3Dt.js → wit-BdDJ7geN.js} +0 -0
- /package/.output/public/assets/{wolfram-DDp7LhyU.js → wolfram-Bi-O1IUM.js} +0 -0
- /package/.output/public/assets/{xterm-CCMwI7sy.js → xterm-TTe2Bv9Z.js} +0 -0
- /package/.output/public/assets/{yaml-BTD1XHJG.js → yaml-DgkO7CC2.js} +0 -0
- /package/.output/public/assets/{zenscript-4WaROUyc.js → zenscript-CnkrxCBw.js} +0 -0
- /package/.output/public/assets/{zig-CJoLJGwV.js → zig-CgMsxF9-.js} +0 -0
|
@@ -1,1165 +0,0 @@
|
|
|
1
|
-
import { i as __toESM, t as __commonJSMin } from "../_runtime.mjs";
|
|
2
|
-
import { b as find, d as whitespace, h as stringify, p as stringify$1, v as html, x as hastToReact, y as svg } from "./@pierre/diffs+[...].mjs";
|
|
3
|
-
import "./devlop.mjs";
|
|
4
|
-
import { t as name } from "./estree-util-is-identifier-name.mjs";
|
|
5
|
-
import { o as pointStart } from "./hast-util-raw+[...].mjs";
|
|
6
|
-
//#region node_modules/.pnpm/inline-style-parser@0.2.7/node_modules/inline-style-parser/cjs/index.js
|
|
7
|
-
var require_cjs$2 = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
8
|
-
var COMMENT_REGEX = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g;
|
|
9
|
-
var NEWLINE_REGEX = /\n/g;
|
|
10
|
-
var WHITESPACE_REGEX = /^\s*/;
|
|
11
|
-
var PROPERTY_REGEX = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/;
|
|
12
|
-
var COLON_REGEX = /^:\s*/;
|
|
13
|
-
var VALUE_REGEX = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/;
|
|
14
|
-
var SEMICOLON_REGEX = /^[;\s]*/;
|
|
15
|
-
var TRIM_REGEX = /^\s+|\s+$/g;
|
|
16
|
-
var NEWLINE = "\n";
|
|
17
|
-
var FORWARD_SLASH = "/";
|
|
18
|
-
var ASTERISK = "*";
|
|
19
|
-
var EMPTY_STRING = "";
|
|
20
|
-
var TYPE_COMMENT = "comment";
|
|
21
|
-
var TYPE_DECLARATION = "declaration";
|
|
22
|
-
/**
|
|
23
|
-
* @param {String} style
|
|
24
|
-
* @param {Object} [options]
|
|
25
|
-
* @return {Object[]}
|
|
26
|
-
* @throws {TypeError}
|
|
27
|
-
* @throws {Error}
|
|
28
|
-
*/
|
|
29
|
-
function index(style, options) {
|
|
30
|
-
if (typeof style !== "string") throw new TypeError("First argument must be a string");
|
|
31
|
-
if (!style) return [];
|
|
32
|
-
options = options || {};
|
|
33
|
-
/**
|
|
34
|
-
* Positional.
|
|
35
|
-
*/
|
|
36
|
-
var lineno = 1;
|
|
37
|
-
var column = 1;
|
|
38
|
-
/**
|
|
39
|
-
* Update lineno and column based on `str`.
|
|
40
|
-
*
|
|
41
|
-
* @param {String} str
|
|
42
|
-
*/
|
|
43
|
-
function updatePosition(str) {
|
|
44
|
-
var lines = str.match(NEWLINE_REGEX);
|
|
45
|
-
if (lines) lineno += lines.length;
|
|
46
|
-
var i = str.lastIndexOf(NEWLINE);
|
|
47
|
-
column = ~i ? str.length - i : column + str.length;
|
|
48
|
-
}
|
|
49
|
-
/**
|
|
50
|
-
* Mark position and patch `node.position`.
|
|
51
|
-
*
|
|
52
|
-
* @return {Function}
|
|
53
|
-
*/
|
|
54
|
-
function position() {
|
|
55
|
-
var start = {
|
|
56
|
-
line: lineno,
|
|
57
|
-
column
|
|
58
|
-
};
|
|
59
|
-
return function(node) {
|
|
60
|
-
node.position = new Position(start);
|
|
61
|
-
whitespace();
|
|
62
|
-
return node;
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
/**
|
|
66
|
-
* Store position information for a node.
|
|
67
|
-
*
|
|
68
|
-
* @constructor
|
|
69
|
-
* @property {Object} start
|
|
70
|
-
* @property {Object} end
|
|
71
|
-
* @property {undefined|String} source
|
|
72
|
-
*/
|
|
73
|
-
function Position(start) {
|
|
74
|
-
this.start = start;
|
|
75
|
-
this.end = {
|
|
76
|
-
line: lineno,
|
|
77
|
-
column
|
|
78
|
-
};
|
|
79
|
-
this.source = options.source;
|
|
80
|
-
}
|
|
81
|
-
/**
|
|
82
|
-
* Non-enumerable source string.
|
|
83
|
-
*/
|
|
84
|
-
Position.prototype.content = style;
|
|
85
|
-
/**
|
|
86
|
-
* Error `msg`.
|
|
87
|
-
*
|
|
88
|
-
* @param {String} msg
|
|
89
|
-
* @throws {Error}
|
|
90
|
-
*/
|
|
91
|
-
function error(msg) {
|
|
92
|
-
var err = /* @__PURE__ */ new Error(options.source + ":" + lineno + ":" + column + ": " + msg);
|
|
93
|
-
err.reason = msg;
|
|
94
|
-
err.filename = options.source;
|
|
95
|
-
err.line = lineno;
|
|
96
|
-
err.column = column;
|
|
97
|
-
err.source = style;
|
|
98
|
-
if (options.silent);
|
|
99
|
-
else throw err;
|
|
100
|
-
}
|
|
101
|
-
/**
|
|
102
|
-
* Match `re` and return captures.
|
|
103
|
-
*
|
|
104
|
-
* @param {RegExp} re
|
|
105
|
-
* @return {undefined|Array}
|
|
106
|
-
*/
|
|
107
|
-
function match(re) {
|
|
108
|
-
var m = re.exec(style);
|
|
109
|
-
if (!m) return;
|
|
110
|
-
var str = m[0];
|
|
111
|
-
updatePosition(str);
|
|
112
|
-
style = style.slice(str.length);
|
|
113
|
-
return m;
|
|
114
|
-
}
|
|
115
|
-
/**
|
|
116
|
-
* Parse whitespace.
|
|
117
|
-
*/
|
|
118
|
-
function whitespace() {
|
|
119
|
-
match(WHITESPACE_REGEX);
|
|
120
|
-
}
|
|
121
|
-
/**
|
|
122
|
-
* Parse comments.
|
|
123
|
-
*
|
|
124
|
-
* @param {Object[]} [rules]
|
|
125
|
-
* @return {Object[]}
|
|
126
|
-
*/
|
|
127
|
-
function comments(rules) {
|
|
128
|
-
var c;
|
|
129
|
-
rules = rules || [];
|
|
130
|
-
while (c = comment()) if (c !== false) rules.push(c);
|
|
131
|
-
return rules;
|
|
132
|
-
}
|
|
133
|
-
/**
|
|
134
|
-
* Parse comment.
|
|
135
|
-
*
|
|
136
|
-
* @return {Object}
|
|
137
|
-
* @throws {Error}
|
|
138
|
-
*/
|
|
139
|
-
function comment() {
|
|
140
|
-
var pos = position();
|
|
141
|
-
if (FORWARD_SLASH != style.charAt(0) || ASTERISK != style.charAt(1)) return;
|
|
142
|
-
var i = 2;
|
|
143
|
-
while (EMPTY_STRING != style.charAt(i) && (ASTERISK != style.charAt(i) || FORWARD_SLASH != style.charAt(i + 1))) ++i;
|
|
144
|
-
i += 2;
|
|
145
|
-
if (EMPTY_STRING === style.charAt(i - 1)) return error("End of comment missing");
|
|
146
|
-
var str = style.slice(2, i - 2);
|
|
147
|
-
column += 2;
|
|
148
|
-
updatePosition(str);
|
|
149
|
-
style = style.slice(i);
|
|
150
|
-
column += 2;
|
|
151
|
-
return pos({
|
|
152
|
-
type: TYPE_COMMENT,
|
|
153
|
-
comment: str
|
|
154
|
-
});
|
|
155
|
-
}
|
|
156
|
-
/**
|
|
157
|
-
* Parse declaration.
|
|
158
|
-
*
|
|
159
|
-
* @return {Object}
|
|
160
|
-
* @throws {Error}
|
|
161
|
-
*/
|
|
162
|
-
function declaration() {
|
|
163
|
-
var pos = position();
|
|
164
|
-
var prop = match(PROPERTY_REGEX);
|
|
165
|
-
if (!prop) return;
|
|
166
|
-
comment();
|
|
167
|
-
if (!match(COLON_REGEX)) return error("property missing ':'");
|
|
168
|
-
var val = match(VALUE_REGEX);
|
|
169
|
-
var ret = pos({
|
|
170
|
-
type: TYPE_DECLARATION,
|
|
171
|
-
property: trim(prop[0].replace(COMMENT_REGEX, EMPTY_STRING)),
|
|
172
|
-
value: val ? trim(val[0].replace(COMMENT_REGEX, EMPTY_STRING)) : EMPTY_STRING
|
|
173
|
-
});
|
|
174
|
-
match(SEMICOLON_REGEX);
|
|
175
|
-
return ret;
|
|
176
|
-
}
|
|
177
|
-
/**
|
|
178
|
-
* Parse declarations.
|
|
179
|
-
*
|
|
180
|
-
* @return {Object[]}
|
|
181
|
-
*/
|
|
182
|
-
function declarations() {
|
|
183
|
-
var decls = [];
|
|
184
|
-
comments(decls);
|
|
185
|
-
var decl;
|
|
186
|
-
while (decl = declaration()) if (decl !== false) {
|
|
187
|
-
decls.push(decl);
|
|
188
|
-
comments(decls);
|
|
189
|
-
}
|
|
190
|
-
return decls;
|
|
191
|
-
}
|
|
192
|
-
whitespace();
|
|
193
|
-
return declarations();
|
|
194
|
-
}
|
|
195
|
-
/**
|
|
196
|
-
* Trim `str`.
|
|
197
|
-
*
|
|
198
|
-
* @param {String} str
|
|
199
|
-
* @return {String}
|
|
200
|
-
*/
|
|
201
|
-
function trim(str) {
|
|
202
|
-
return str ? str.replace(TRIM_REGEX, EMPTY_STRING) : EMPTY_STRING;
|
|
203
|
-
}
|
|
204
|
-
module.exports = index;
|
|
205
|
-
}));
|
|
206
|
-
//#endregion
|
|
207
|
-
//#region node_modules/.pnpm/style-to-object@1.0.14/node_modules/style-to-object/cjs/index.js
|
|
208
|
-
var require_cjs$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
209
|
-
var __importDefault = exports && exports.__importDefault || function(mod) {
|
|
210
|
-
return mod && mod.__esModule ? mod : { "default": mod };
|
|
211
|
-
};
|
|
212
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
213
|
-
exports.default = StyleToObject;
|
|
214
|
-
var inline_style_parser_1 = __importDefault(require_cjs$2());
|
|
215
|
-
/**
|
|
216
|
-
* Parses inline style to object.
|
|
217
|
-
*
|
|
218
|
-
* @param style - Inline style.
|
|
219
|
-
* @param iterator - Iterator.
|
|
220
|
-
* @returns - Style object or null.
|
|
221
|
-
*
|
|
222
|
-
* @example Parsing inline style to object:
|
|
223
|
-
*
|
|
224
|
-
* ```js
|
|
225
|
-
* import parse from 'style-to-object';
|
|
226
|
-
* parse('line-height: 42;'); // { 'line-height': '42' }
|
|
227
|
-
* ```
|
|
228
|
-
*/
|
|
229
|
-
function StyleToObject(style, iterator) {
|
|
230
|
-
let styleObject = null;
|
|
231
|
-
if (!style || typeof style !== "string") return styleObject;
|
|
232
|
-
const declarations = (0, inline_style_parser_1.default)(style);
|
|
233
|
-
const hasIterator = typeof iterator === "function";
|
|
234
|
-
declarations.forEach((declaration) => {
|
|
235
|
-
if (declaration.type !== "declaration") return;
|
|
236
|
-
const { property, value } = declaration;
|
|
237
|
-
if (hasIterator) iterator(property, value, declaration);
|
|
238
|
-
else if (value) {
|
|
239
|
-
styleObject = styleObject || {};
|
|
240
|
-
styleObject[property] = value;
|
|
241
|
-
}
|
|
242
|
-
});
|
|
243
|
-
return styleObject;
|
|
244
|
-
}
|
|
245
|
-
}));
|
|
246
|
-
//#endregion
|
|
247
|
-
//#region node_modules/.pnpm/style-to-js@1.1.21/node_modules/style-to-js/cjs/utilities.js
|
|
248
|
-
var require_utilities = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
249
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
250
|
-
exports.camelCase = void 0;
|
|
251
|
-
var CUSTOM_PROPERTY_REGEX = /^--[a-zA-Z0-9_-]+$/;
|
|
252
|
-
var HYPHEN_REGEX = /-([a-z])/g;
|
|
253
|
-
var NO_HYPHEN_REGEX = /^[^-]+$/;
|
|
254
|
-
var VENDOR_PREFIX_REGEX = /^-(webkit|moz|ms|o|khtml)-/;
|
|
255
|
-
var MS_VENDOR_PREFIX_REGEX = /^-(ms)-/;
|
|
256
|
-
/**
|
|
257
|
-
* Checks whether to skip camelCase.
|
|
258
|
-
*/
|
|
259
|
-
var skipCamelCase = function(property) {
|
|
260
|
-
return !property || NO_HYPHEN_REGEX.test(property) || CUSTOM_PROPERTY_REGEX.test(property);
|
|
261
|
-
};
|
|
262
|
-
/**
|
|
263
|
-
* Replacer that capitalizes first character.
|
|
264
|
-
*/
|
|
265
|
-
var capitalize = function(match, character) {
|
|
266
|
-
return character.toUpperCase();
|
|
267
|
-
};
|
|
268
|
-
/**
|
|
269
|
-
* Replacer that removes beginning hyphen of vendor prefix property.
|
|
270
|
-
*/
|
|
271
|
-
var trimHyphen = function(match, prefix) {
|
|
272
|
-
return "".concat(prefix, "-");
|
|
273
|
-
};
|
|
274
|
-
/**
|
|
275
|
-
* CamelCases a CSS property.
|
|
276
|
-
*/
|
|
277
|
-
var camelCase = function(property, options) {
|
|
278
|
-
if (options === void 0) options = {};
|
|
279
|
-
if (skipCamelCase(property)) return property;
|
|
280
|
-
property = property.toLowerCase();
|
|
281
|
-
if (options.reactCompat) property = property.replace(MS_VENDOR_PREFIX_REGEX, trimHyphen);
|
|
282
|
-
else property = property.replace(VENDOR_PREFIX_REGEX, trimHyphen);
|
|
283
|
-
return property.replace(HYPHEN_REGEX, capitalize);
|
|
284
|
-
};
|
|
285
|
-
exports.camelCase = camelCase;
|
|
286
|
-
}));
|
|
287
|
-
//#endregion
|
|
288
|
-
//#region node_modules/.pnpm/style-to-js@1.1.21/node_modules/style-to-js/cjs/index.js
|
|
289
|
-
var require_cjs = /* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
290
|
-
var style_to_object_1 = (exports && exports.__importDefault || function(mod) {
|
|
291
|
-
return mod && mod.__esModule ? mod : { "default": mod };
|
|
292
|
-
})(require_cjs$1());
|
|
293
|
-
var utilities_1 = require_utilities();
|
|
294
|
-
/**
|
|
295
|
-
* Parses CSS inline style to JavaScript object (camelCased).
|
|
296
|
-
*/
|
|
297
|
-
function StyleToJS(style, options) {
|
|
298
|
-
var output = {};
|
|
299
|
-
if (!style || typeof style !== "string") return output;
|
|
300
|
-
(0, style_to_object_1.default)(style, function(property, value) {
|
|
301
|
-
if (property && value) output[(0, utilities_1.camelCase)(property, options)] = value;
|
|
302
|
-
});
|
|
303
|
-
return output;
|
|
304
|
-
}
|
|
305
|
-
StyleToJS.default = StyleToJS;
|
|
306
|
-
module.exports = StyleToJS;
|
|
307
|
-
}));
|
|
308
|
-
//#endregion
|
|
309
|
-
//#region node_modules/.pnpm/unist-util-stringify-position@4.0.0/node_modules/unist-util-stringify-position/lib/index.js
|
|
310
|
-
/**
|
|
311
|
-
* @typedef {import('unist').Node} Node
|
|
312
|
-
* @typedef {import('unist').Point} Point
|
|
313
|
-
* @typedef {import('unist').Position} Position
|
|
314
|
-
*/
|
|
315
|
-
/**
|
|
316
|
-
* @typedef NodeLike
|
|
317
|
-
* @property {string} type
|
|
318
|
-
* @property {PositionLike | null | undefined} [position]
|
|
319
|
-
*
|
|
320
|
-
* @typedef PointLike
|
|
321
|
-
* @property {number | null | undefined} [line]
|
|
322
|
-
* @property {number | null | undefined} [column]
|
|
323
|
-
* @property {number | null | undefined} [offset]
|
|
324
|
-
*
|
|
325
|
-
* @typedef PositionLike
|
|
326
|
-
* @property {PointLike | null | undefined} [start]
|
|
327
|
-
* @property {PointLike | null | undefined} [end]
|
|
328
|
-
*/
|
|
329
|
-
/**
|
|
330
|
-
* Serialize the positional info of a point, position (start and end points),
|
|
331
|
-
* or node.
|
|
332
|
-
*
|
|
333
|
-
* @param {Node | NodeLike | Point | PointLike | Position | PositionLike | null | undefined} [value]
|
|
334
|
-
* Node, position, or point.
|
|
335
|
-
* @returns {string}
|
|
336
|
-
* Pretty printed positional info of a node (`string`).
|
|
337
|
-
*
|
|
338
|
-
* In the format of a range `ls:cs-le:ce` (when given `node` or `position`)
|
|
339
|
-
* or a point `l:c` (when given `point`), where `l` stands for line, `c` for
|
|
340
|
-
* column, `s` for `start`, and `e` for end.
|
|
341
|
-
* An empty string (`''`) is returned if the given value is neither `node`,
|
|
342
|
-
* `position`, nor `point`.
|
|
343
|
-
*/
|
|
344
|
-
function stringifyPosition(value) {
|
|
345
|
-
if (!value || typeof value !== "object") return "";
|
|
346
|
-
if ("position" in value || "type" in value) return position(value.position);
|
|
347
|
-
if ("start" in value || "end" in value) return position(value);
|
|
348
|
-
if ("line" in value || "column" in value) return point(value);
|
|
349
|
-
return "";
|
|
350
|
-
}
|
|
351
|
-
/**
|
|
352
|
-
* @param {Point | PointLike | null | undefined} point
|
|
353
|
-
* @returns {string}
|
|
354
|
-
*/
|
|
355
|
-
function point(point) {
|
|
356
|
-
return index(point && point.line) + ":" + index(point && point.column);
|
|
357
|
-
}
|
|
358
|
-
/**
|
|
359
|
-
* @param {Position | PositionLike | null | undefined} pos
|
|
360
|
-
* @returns {string}
|
|
361
|
-
*/
|
|
362
|
-
function position(pos) {
|
|
363
|
-
return point(pos && pos.start) + "-" + point(pos && pos.end);
|
|
364
|
-
}
|
|
365
|
-
/**
|
|
366
|
-
* @param {number | null | undefined} value
|
|
367
|
-
* @returns {number}
|
|
368
|
-
*/
|
|
369
|
-
function index(value) {
|
|
370
|
-
return value && typeof value === "number" ? value : 1;
|
|
371
|
-
}
|
|
372
|
-
//#endregion
|
|
373
|
-
//#region node_modules/.pnpm/vfile-message@4.0.3/node_modules/vfile-message/lib/index.js
|
|
374
|
-
/**
|
|
375
|
-
* @import {Node, Point, Position} from 'unist'
|
|
376
|
-
*/
|
|
377
|
-
/**
|
|
378
|
-
* @typedef {object & {type: string, position?: Position | undefined}} NodeLike
|
|
379
|
-
*
|
|
380
|
-
* @typedef Options
|
|
381
|
-
* Configuration.
|
|
382
|
-
* @property {Array<Node> | null | undefined} [ancestors]
|
|
383
|
-
* Stack of (inclusive) ancestor nodes surrounding the message (optional).
|
|
384
|
-
* @property {Error | null | undefined} [cause]
|
|
385
|
-
* Original error cause of the message (optional).
|
|
386
|
-
* @property {Point | Position | null | undefined} [place]
|
|
387
|
-
* Place of message (optional).
|
|
388
|
-
* @property {string | null | undefined} [ruleId]
|
|
389
|
-
* Category of message (optional, example: `'my-rule'`).
|
|
390
|
-
* @property {string | null | undefined} [source]
|
|
391
|
-
* Namespace of who sent the message (optional, example: `'my-package'`).
|
|
392
|
-
*/
|
|
393
|
-
/**
|
|
394
|
-
* Message.
|
|
395
|
-
*/
|
|
396
|
-
var VFileMessage = class extends Error {
|
|
397
|
-
/**
|
|
398
|
-
* Create a message for `reason`.
|
|
399
|
-
*
|
|
400
|
-
* > 🪦 **Note**: also has obsolete signatures.
|
|
401
|
-
*
|
|
402
|
-
* @overload
|
|
403
|
-
* @param {string} reason
|
|
404
|
-
* @param {Options | null | undefined} [options]
|
|
405
|
-
* @returns
|
|
406
|
-
*
|
|
407
|
-
* @overload
|
|
408
|
-
* @param {string} reason
|
|
409
|
-
* @param {Node | NodeLike | null | undefined} parent
|
|
410
|
-
* @param {string | null | undefined} [origin]
|
|
411
|
-
* @returns
|
|
412
|
-
*
|
|
413
|
-
* @overload
|
|
414
|
-
* @param {string} reason
|
|
415
|
-
* @param {Point | Position | null | undefined} place
|
|
416
|
-
* @param {string | null | undefined} [origin]
|
|
417
|
-
* @returns
|
|
418
|
-
*
|
|
419
|
-
* @overload
|
|
420
|
-
* @param {string} reason
|
|
421
|
-
* @param {string | null | undefined} [origin]
|
|
422
|
-
* @returns
|
|
423
|
-
*
|
|
424
|
-
* @overload
|
|
425
|
-
* @param {Error | VFileMessage} cause
|
|
426
|
-
* @param {Node | NodeLike | null | undefined} parent
|
|
427
|
-
* @param {string | null | undefined} [origin]
|
|
428
|
-
* @returns
|
|
429
|
-
*
|
|
430
|
-
* @overload
|
|
431
|
-
* @param {Error | VFileMessage} cause
|
|
432
|
-
* @param {Point | Position | null | undefined} place
|
|
433
|
-
* @param {string | null | undefined} [origin]
|
|
434
|
-
* @returns
|
|
435
|
-
*
|
|
436
|
-
* @overload
|
|
437
|
-
* @param {Error | VFileMessage} cause
|
|
438
|
-
* @param {string | null | undefined} [origin]
|
|
439
|
-
* @returns
|
|
440
|
-
*
|
|
441
|
-
* @param {Error | VFileMessage | string} causeOrReason
|
|
442
|
-
* Reason for message, should use markdown.
|
|
443
|
-
* @param {Node | NodeLike | Options | Point | Position | string | null | undefined} [optionsOrParentOrPlace]
|
|
444
|
-
* Configuration (optional).
|
|
445
|
-
* @param {string | null | undefined} [origin]
|
|
446
|
-
* Place in code where the message originates (example:
|
|
447
|
-
* `'my-package:my-rule'` or `'my-rule'`).
|
|
448
|
-
* @returns
|
|
449
|
-
* Instance of `VFileMessage`.
|
|
450
|
-
*/
|
|
451
|
-
constructor(causeOrReason, optionsOrParentOrPlace, origin) {
|
|
452
|
-
super();
|
|
453
|
-
if (typeof optionsOrParentOrPlace === "string") {
|
|
454
|
-
origin = optionsOrParentOrPlace;
|
|
455
|
-
optionsOrParentOrPlace = void 0;
|
|
456
|
-
}
|
|
457
|
-
/** @type {string} */
|
|
458
|
-
let reason = "";
|
|
459
|
-
/** @type {Options} */
|
|
460
|
-
let options = {};
|
|
461
|
-
let legacyCause = false;
|
|
462
|
-
if (optionsOrParentOrPlace) if ("line" in optionsOrParentOrPlace && "column" in optionsOrParentOrPlace) options = { place: optionsOrParentOrPlace };
|
|
463
|
-
else if ("start" in optionsOrParentOrPlace && "end" in optionsOrParentOrPlace) options = { place: optionsOrParentOrPlace };
|
|
464
|
-
else if ("type" in optionsOrParentOrPlace) options = {
|
|
465
|
-
ancestors: [optionsOrParentOrPlace],
|
|
466
|
-
place: optionsOrParentOrPlace.position
|
|
467
|
-
};
|
|
468
|
-
else options = { ...optionsOrParentOrPlace };
|
|
469
|
-
if (typeof causeOrReason === "string") reason = causeOrReason;
|
|
470
|
-
else if (!options.cause && causeOrReason) {
|
|
471
|
-
legacyCause = true;
|
|
472
|
-
reason = causeOrReason.message;
|
|
473
|
-
options.cause = causeOrReason;
|
|
474
|
-
}
|
|
475
|
-
if (!options.ruleId && !options.source && typeof origin === "string") {
|
|
476
|
-
const index = origin.indexOf(":");
|
|
477
|
-
if (index === -1) options.ruleId = origin;
|
|
478
|
-
else {
|
|
479
|
-
options.source = origin.slice(0, index);
|
|
480
|
-
options.ruleId = origin.slice(index + 1);
|
|
481
|
-
}
|
|
482
|
-
}
|
|
483
|
-
if (!options.place && options.ancestors && options.ancestors) {
|
|
484
|
-
const parent = options.ancestors[options.ancestors.length - 1];
|
|
485
|
-
if (parent) options.place = parent.position;
|
|
486
|
-
}
|
|
487
|
-
const start = options.place && "start" in options.place ? options.place.start : options.place;
|
|
488
|
-
/**
|
|
489
|
-
* Stack of ancestor nodes surrounding the message.
|
|
490
|
-
*
|
|
491
|
-
* @type {Array<Node> | undefined}
|
|
492
|
-
*/
|
|
493
|
-
this.ancestors = options.ancestors || void 0;
|
|
494
|
-
/**
|
|
495
|
-
* Original error cause of the message.
|
|
496
|
-
*
|
|
497
|
-
* @type {Error | undefined}
|
|
498
|
-
*/
|
|
499
|
-
this.cause = options.cause || void 0;
|
|
500
|
-
/**
|
|
501
|
-
* Starting column of message.
|
|
502
|
-
*
|
|
503
|
-
* @type {number | undefined}
|
|
504
|
-
*/
|
|
505
|
-
this.column = start ? start.column : void 0;
|
|
506
|
-
/**
|
|
507
|
-
* State of problem.
|
|
508
|
-
*
|
|
509
|
-
* * `true` — error, file not usable
|
|
510
|
-
* * `false` — warning, change may be needed
|
|
511
|
-
* * `undefined` — change likely not needed
|
|
512
|
-
*
|
|
513
|
-
* @type {boolean | null | undefined}
|
|
514
|
-
*/
|
|
515
|
-
this.fatal = void 0;
|
|
516
|
-
/**
|
|
517
|
-
* Path of a file (used throughout the `VFile` ecosystem).
|
|
518
|
-
*
|
|
519
|
-
* @type {string | undefined}
|
|
520
|
-
*/
|
|
521
|
-
this.file = "";
|
|
522
|
-
/**
|
|
523
|
-
* Reason for message.
|
|
524
|
-
*
|
|
525
|
-
* @type {string}
|
|
526
|
-
*/
|
|
527
|
-
this.message = reason;
|
|
528
|
-
/**
|
|
529
|
-
* Starting line of error.
|
|
530
|
-
*
|
|
531
|
-
* @type {number | undefined}
|
|
532
|
-
*/
|
|
533
|
-
this.line = start ? start.line : void 0;
|
|
534
|
-
/**
|
|
535
|
-
* Serialized positional info of message.
|
|
536
|
-
*
|
|
537
|
-
* On normal errors, this would be something like `ParseError`, buit in
|
|
538
|
-
* `VFile` messages we use this space to show where an error happened.
|
|
539
|
-
*/
|
|
540
|
-
this.name = stringifyPosition(options.place) || "1:1";
|
|
541
|
-
/**
|
|
542
|
-
* Place of message.
|
|
543
|
-
*
|
|
544
|
-
* @type {Point | Position | undefined}
|
|
545
|
-
*/
|
|
546
|
-
this.place = options.place || void 0;
|
|
547
|
-
/**
|
|
548
|
-
* Reason for message, should use markdown.
|
|
549
|
-
*
|
|
550
|
-
* @type {string}
|
|
551
|
-
*/
|
|
552
|
-
this.reason = this.message;
|
|
553
|
-
/**
|
|
554
|
-
* Category of message (example: `'my-rule'`).
|
|
555
|
-
*
|
|
556
|
-
* @type {string | undefined}
|
|
557
|
-
*/
|
|
558
|
-
this.ruleId = options.ruleId || void 0;
|
|
559
|
-
/**
|
|
560
|
-
* Namespace of message (example: `'my-package'`).
|
|
561
|
-
*
|
|
562
|
-
* @type {string | undefined}
|
|
563
|
-
*/
|
|
564
|
-
this.source = options.source || void 0;
|
|
565
|
-
/**
|
|
566
|
-
* Stack of message.
|
|
567
|
-
*
|
|
568
|
-
* This is used by normal errors to show where something happened in
|
|
569
|
-
* programming code, irrelevant for `VFile` messages,
|
|
570
|
-
*
|
|
571
|
-
* @type {string}
|
|
572
|
-
*/
|
|
573
|
-
this.stack = legacyCause && options.cause && typeof options.cause.stack === "string" ? options.cause.stack : "";
|
|
574
|
-
/**
|
|
575
|
-
* Specify the source value that’s being reported, which is deemed
|
|
576
|
-
* incorrect.
|
|
577
|
-
*
|
|
578
|
-
* @type {string | undefined}
|
|
579
|
-
*/
|
|
580
|
-
this.actual = void 0;
|
|
581
|
-
/**
|
|
582
|
-
* Suggest acceptable values that can be used instead of `actual`.
|
|
583
|
-
*
|
|
584
|
-
* @type {Array<string> | undefined}
|
|
585
|
-
*/
|
|
586
|
-
this.expected = void 0;
|
|
587
|
-
/**
|
|
588
|
-
* Long form description of the message (you should use markdown).
|
|
589
|
-
*
|
|
590
|
-
* @type {string | undefined}
|
|
591
|
-
*/
|
|
592
|
-
this.note = void 0;
|
|
593
|
-
/**
|
|
594
|
-
* Link to docs for the message.
|
|
595
|
-
*
|
|
596
|
-
* > 👉 **Note**: this must be an absolute URL that can be passed as `x`
|
|
597
|
-
* > to `new URL(x)`.
|
|
598
|
-
*
|
|
599
|
-
* @type {string | undefined}
|
|
600
|
-
*/
|
|
601
|
-
this.url = void 0;
|
|
602
|
-
}
|
|
603
|
-
};
|
|
604
|
-
VFileMessage.prototype.file = "";
|
|
605
|
-
VFileMessage.prototype.name = "";
|
|
606
|
-
VFileMessage.prototype.reason = "";
|
|
607
|
-
VFileMessage.prototype.message = "";
|
|
608
|
-
VFileMessage.prototype.stack = "";
|
|
609
|
-
VFileMessage.prototype.column = void 0;
|
|
610
|
-
VFileMessage.prototype.line = void 0;
|
|
611
|
-
VFileMessage.prototype.ancestors = void 0;
|
|
612
|
-
VFileMessage.prototype.cause = void 0;
|
|
613
|
-
VFileMessage.prototype.fatal = void 0;
|
|
614
|
-
VFileMessage.prototype.place = void 0;
|
|
615
|
-
VFileMessage.prototype.ruleId = void 0;
|
|
616
|
-
VFileMessage.prototype.source = void 0;
|
|
617
|
-
//#endregion
|
|
618
|
-
//#region node_modules/.pnpm/hast-util-to-jsx-runtime@2.3.6/node_modules/hast-util-to-jsx-runtime/lib/index.js
|
|
619
|
-
/**
|
|
620
|
-
* @import {Identifier, Literal, MemberExpression} from 'estree'
|
|
621
|
-
* @import {Jsx, JsxDev, Options, Props} from 'hast-util-to-jsx-runtime'
|
|
622
|
-
* @import {Element, Nodes, Parents, Root, Text} from 'hast'
|
|
623
|
-
* @import {MdxFlowExpressionHast, MdxTextExpressionHast} from 'mdast-util-mdx-expression'
|
|
624
|
-
* @import {MdxJsxFlowElementHast, MdxJsxTextElementHast} from 'mdast-util-mdx-jsx'
|
|
625
|
-
* @import {MdxjsEsmHast} from 'mdast-util-mdxjs-esm'
|
|
626
|
-
* @import {Position} from 'unist'
|
|
627
|
-
* @import {Child, Create, Field, JsxElement, State, Style} from './types.js'
|
|
628
|
-
*/
|
|
629
|
-
var import_cjs = /* @__PURE__ */ __toESM(require_cjs(), 1);
|
|
630
|
-
var own = {}.hasOwnProperty;
|
|
631
|
-
/** @type {Map<string, number>} */
|
|
632
|
-
var emptyMap = /* @__PURE__ */ new Map();
|
|
633
|
-
var cap = /[A-Z]/g;
|
|
634
|
-
var tableElements = new Set([
|
|
635
|
-
"table",
|
|
636
|
-
"tbody",
|
|
637
|
-
"thead",
|
|
638
|
-
"tfoot",
|
|
639
|
-
"tr"
|
|
640
|
-
]);
|
|
641
|
-
var tableCellElement = new Set(["td", "th"]);
|
|
642
|
-
var docs = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
|
|
643
|
-
/**
|
|
644
|
-
* Transform a hast tree to preact, react, solid, svelte, vue, etc.,
|
|
645
|
-
* with an automatic JSX runtime.
|
|
646
|
-
*
|
|
647
|
-
* @param {Nodes} tree
|
|
648
|
-
* Tree to transform.
|
|
649
|
-
* @param {Options} options
|
|
650
|
-
* Configuration (required).
|
|
651
|
-
* @returns {JsxElement}
|
|
652
|
-
* JSX element.
|
|
653
|
-
*/
|
|
654
|
-
function toJsxRuntime(tree, options) {
|
|
655
|
-
if (!options || options.Fragment === void 0) throw new TypeError("Expected `Fragment` in options");
|
|
656
|
-
const filePath = options.filePath || void 0;
|
|
657
|
-
/** @type {Create} */
|
|
658
|
-
let create;
|
|
659
|
-
if (options.development) {
|
|
660
|
-
if (typeof options.jsxDEV !== "function") throw new TypeError("Expected `jsxDEV` in options when `development: true`");
|
|
661
|
-
create = developmentCreate(filePath, options.jsxDEV);
|
|
662
|
-
} else {
|
|
663
|
-
if (typeof options.jsx !== "function") throw new TypeError("Expected `jsx` in production options");
|
|
664
|
-
if (typeof options.jsxs !== "function") throw new TypeError("Expected `jsxs` in production options");
|
|
665
|
-
create = productionCreate(filePath, options.jsx, options.jsxs);
|
|
666
|
-
}
|
|
667
|
-
/** @type {State} */
|
|
668
|
-
const state = {
|
|
669
|
-
Fragment: options.Fragment,
|
|
670
|
-
ancestors: [],
|
|
671
|
-
components: options.components || {},
|
|
672
|
-
create,
|
|
673
|
-
elementAttributeNameCase: options.elementAttributeNameCase || "react",
|
|
674
|
-
evaluater: options.createEvaluater ? options.createEvaluater() : void 0,
|
|
675
|
-
filePath,
|
|
676
|
-
ignoreInvalidStyle: options.ignoreInvalidStyle || false,
|
|
677
|
-
passKeys: options.passKeys !== false,
|
|
678
|
-
passNode: options.passNode || false,
|
|
679
|
-
schema: options.space === "svg" ? svg : html,
|
|
680
|
-
stylePropertyNameCase: options.stylePropertyNameCase || "dom",
|
|
681
|
-
tableCellAlignToStyle: options.tableCellAlignToStyle !== false
|
|
682
|
-
};
|
|
683
|
-
const result = one(state, tree, void 0);
|
|
684
|
-
if (result && typeof result !== "string") return result;
|
|
685
|
-
return state.create(tree, state.Fragment, { children: result || void 0 }, void 0);
|
|
686
|
-
}
|
|
687
|
-
/**
|
|
688
|
-
* Transform a node.
|
|
689
|
-
*
|
|
690
|
-
* @param {State} state
|
|
691
|
-
* Info passed around.
|
|
692
|
-
* @param {Nodes} node
|
|
693
|
-
* Current node.
|
|
694
|
-
* @param {string | undefined} key
|
|
695
|
-
* Key.
|
|
696
|
-
* @returns {Child | undefined}
|
|
697
|
-
* Child, optional.
|
|
698
|
-
*/
|
|
699
|
-
function one(state, node, key) {
|
|
700
|
-
if (node.type === "element") return element(state, node, key);
|
|
701
|
-
if (node.type === "mdxFlowExpression" || node.type === "mdxTextExpression") return mdxExpression(state, node);
|
|
702
|
-
if (node.type === "mdxJsxFlowElement" || node.type === "mdxJsxTextElement") return mdxJsxElement(state, node, key);
|
|
703
|
-
if (node.type === "mdxjsEsm") return mdxEsm(state, node);
|
|
704
|
-
if (node.type === "root") return root(state, node, key);
|
|
705
|
-
if (node.type === "text") return text(state, node);
|
|
706
|
-
}
|
|
707
|
-
/**
|
|
708
|
-
* Handle element.
|
|
709
|
-
*
|
|
710
|
-
* @param {State} state
|
|
711
|
-
* Info passed around.
|
|
712
|
-
* @param {Element} node
|
|
713
|
-
* Current node.
|
|
714
|
-
* @param {string | undefined} key
|
|
715
|
-
* Key.
|
|
716
|
-
* @returns {Child | undefined}
|
|
717
|
-
* Child, optional.
|
|
718
|
-
*/
|
|
719
|
-
function element(state, node, key) {
|
|
720
|
-
const parentSchema = state.schema;
|
|
721
|
-
let schema = parentSchema;
|
|
722
|
-
if (node.tagName.toLowerCase() === "svg" && parentSchema.space === "html") {
|
|
723
|
-
schema = svg;
|
|
724
|
-
state.schema = schema;
|
|
725
|
-
}
|
|
726
|
-
state.ancestors.push(node);
|
|
727
|
-
const type = findComponentFromName(state, node.tagName, false);
|
|
728
|
-
const props = createElementProps(state, node);
|
|
729
|
-
let children = createChildren(state, node);
|
|
730
|
-
if (tableElements.has(node.tagName)) children = children.filter(function(child) {
|
|
731
|
-
return typeof child === "string" ? !whitespace(child) : true;
|
|
732
|
-
});
|
|
733
|
-
addNode(state, props, type, node);
|
|
734
|
-
addChildren(props, children);
|
|
735
|
-
state.ancestors.pop();
|
|
736
|
-
state.schema = parentSchema;
|
|
737
|
-
return state.create(node, type, props, key);
|
|
738
|
-
}
|
|
739
|
-
/**
|
|
740
|
-
* Handle MDX expression.
|
|
741
|
-
*
|
|
742
|
-
* @param {State} state
|
|
743
|
-
* Info passed around.
|
|
744
|
-
* @param {MdxFlowExpressionHast | MdxTextExpressionHast} node
|
|
745
|
-
* Current node.
|
|
746
|
-
* @returns {Child | undefined}
|
|
747
|
-
* Child, optional.
|
|
748
|
-
*/
|
|
749
|
-
function mdxExpression(state, node) {
|
|
750
|
-
if (node.data && node.data.estree && state.evaluater) {
|
|
751
|
-
const expression = node.data.estree.body[0];
|
|
752
|
-
expression.type;
|
|
753
|
-
return state.evaluater.evaluateExpression(expression.expression);
|
|
754
|
-
}
|
|
755
|
-
crashEstree(state, node.position);
|
|
756
|
-
}
|
|
757
|
-
/**
|
|
758
|
-
* Handle MDX ESM.
|
|
759
|
-
*
|
|
760
|
-
* @param {State} state
|
|
761
|
-
* Info passed around.
|
|
762
|
-
* @param {MdxjsEsmHast} node
|
|
763
|
-
* Current node.
|
|
764
|
-
* @returns {Child | undefined}
|
|
765
|
-
* Child, optional.
|
|
766
|
-
*/
|
|
767
|
-
function mdxEsm(state, node) {
|
|
768
|
-
if (node.data && node.data.estree && state.evaluater) return state.evaluater.evaluateProgram(node.data.estree);
|
|
769
|
-
crashEstree(state, node.position);
|
|
770
|
-
}
|
|
771
|
-
/**
|
|
772
|
-
* Handle MDX JSX.
|
|
773
|
-
*
|
|
774
|
-
* @param {State} state
|
|
775
|
-
* Info passed around.
|
|
776
|
-
* @param {MdxJsxFlowElementHast | MdxJsxTextElementHast} node
|
|
777
|
-
* Current node.
|
|
778
|
-
* @param {string | undefined} key
|
|
779
|
-
* Key.
|
|
780
|
-
* @returns {Child | undefined}
|
|
781
|
-
* Child, optional.
|
|
782
|
-
*/
|
|
783
|
-
function mdxJsxElement(state, node, key) {
|
|
784
|
-
const parentSchema = state.schema;
|
|
785
|
-
let schema = parentSchema;
|
|
786
|
-
if (node.name === "svg" && parentSchema.space === "html") {
|
|
787
|
-
schema = svg;
|
|
788
|
-
state.schema = schema;
|
|
789
|
-
}
|
|
790
|
-
state.ancestors.push(node);
|
|
791
|
-
const type = node.name === null ? state.Fragment : findComponentFromName(state, node.name, true);
|
|
792
|
-
const props = createJsxElementProps(state, node);
|
|
793
|
-
const children = createChildren(state, node);
|
|
794
|
-
addNode(state, props, type, node);
|
|
795
|
-
addChildren(props, children);
|
|
796
|
-
state.ancestors.pop();
|
|
797
|
-
state.schema = parentSchema;
|
|
798
|
-
return state.create(node, type, props, key);
|
|
799
|
-
}
|
|
800
|
-
/**
|
|
801
|
-
* Handle root.
|
|
802
|
-
*
|
|
803
|
-
* @param {State} state
|
|
804
|
-
* Info passed around.
|
|
805
|
-
* @param {Root} node
|
|
806
|
-
* Current node.
|
|
807
|
-
* @param {string | undefined} key
|
|
808
|
-
* Key.
|
|
809
|
-
* @returns {Child | undefined}
|
|
810
|
-
* Child, optional.
|
|
811
|
-
*/
|
|
812
|
-
function root(state, node, key) {
|
|
813
|
-
/** @type {Props} */
|
|
814
|
-
const props = {};
|
|
815
|
-
addChildren(props, createChildren(state, node));
|
|
816
|
-
return state.create(node, state.Fragment, props, key);
|
|
817
|
-
}
|
|
818
|
-
/**
|
|
819
|
-
* Handle text.
|
|
820
|
-
*
|
|
821
|
-
* @param {State} _
|
|
822
|
-
* Info passed around.
|
|
823
|
-
* @param {Text} node
|
|
824
|
-
* Current node.
|
|
825
|
-
* @returns {Child | undefined}
|
|
826
|
-
* Child, optional.
|
|
827
|
-
*/
|
|
828
|
-
function text(_, node) {
|
|
829
|
-
return node.value;
|
|
830
|
-
}
|
|
831
|
-
/**
|
|
832
|
-
* Add `node` to props.
|
|
833
|
-
*
|
|
834
|
-
* @param {State} state
|
|
835
|
-
* Info passed around.
|
|
836
|
-
* @param {Props} props
|
|
837
|
-
* Props.
|
|
838
|
-
* @param {unknown} type
|
|
839
|
-
* Type.
|
|
840
|
-
* @param {Element | MdxJsxFlowElementHast | MdxJsxTextElementHast} node
|
|
841
|
-
* Node.
|
|
842
|
-
* @returns {undefined}
|
|
843
|
-
* Nothing.
|
|
844
|
-
*/
|
|
845
|
-
function addNode(state, props, type, node) {
|
|
846
|
-
if (typeof type !== "string" && type !== state.Fragment && state.passNode) props.node = node;
|
|
847
|
-
}
|
|
848
|
-
/**
|
|
849
|
-
* Add children to props.
|
|
850
|
-
*
|
|
851
|
-
* @param {Props} props
|
|
852
|
-
* Props.
|
|
853
|
-
* @param {Array<Child>} children
|
|
854
|
-
* Children.
|
|
855
|
-
* @returns {undefined}
|
|
856
|
-
* Nothing.
|
|
857
|
-
*/
|
|
858
|
-
function addChildren(props, children) {
|
|
859
|
-
if (children.length > 0) {
|
|
860
|
-
const value = children.length > 1 ? children : children[0];
|
|
861
|
-
if (value) props.children = value;
|
|
862
|
-
}
|
|
863
|
-
}
|
|
864
|
-
/**
|
|
865
|
-
* @param {string | undefined} _
|
|
866
|
-
* Path to file.
|
|
867
|
-
* @param {Jsx} jsx
|
|
868
|
-
* Dynamic.
|
|
869
|
-
* @param {Jsx} jsxs
|
|
870
|
-
* Static.
|
|
871
|
-
* @returns {Create}
|
|
872
|
-
* Create a production element.
|
|
873
|
-
*/
|
|
874
|
-
function productionCreate(_, jsx, jsxs) {
|
|
875
|
-
return create;
|
|
876
|
-
/** @type {Create} */
|
|
877
|
-
function create(_, type, props, key) {
|
|
878
|
-
const fn = Array.isArray(props.children) ? jsxs : jsx;
|
|
879
|
-
return key ? fn(type, props, key) : fn(type, props);
|
|
880
|
-
}
|
|
881
|
-
}
|
|
882
|
-
/**
|
|
883
|
-
* @param {string | undefined} filePath
|
|
884
|
-
* Path to file.
|
|
885
|
-
* @param {JsxDev} jsxDEV
|
|
886
|
-
* Development.
|
|
887
|
-
* @returns {Create}
|
|
888
|
-
* Create a development element.
|
|
889
|
-
*/
|
|
890
|
-
function developmentCreate(filePath, jsxDEV) {
|
|
891
|
-
return create;
|
|
892
|
-
/** @type {Create} */
|
|
893
|
-
function create(node, type, props, key) {
|
|
894
|
-
const isStaticChildren = Array.isArray(props.children);
|
|
895
|
-
const point = pointStart(node);
|
|
896
|
-
return jsxDEV(type, props, key, isStaticChildren, {
|
|
897
|
-
columnNumber: point ? point.column - 1 : void 0,
|
|
898
|
-
fileName: filePath,
|
|
899
|
-
lineNumber: point ? point.line : void 0
|
|
900
|
-
}, void 0);
|
|
901
|
-
}
|
|
902
|
-
}
|
|
903
|
-
/**
|
|
904
|
-
* Create props from an element.
|
|
905
|
-
*
|
|
906
|
-
* @param {State} state
|
|
907
|
-
* Info passed around.
|
|
908
|
-
* @param {Element} node
|
|
909
|
-
* Current element.
|
|
910
|
-
* @returns {Props}
|
|
911
|
-
* Props.
|
|
912
|
-
*/
|
|
913
|
-
function createElementProps(state, node) {
|
|
914
|
-
/** @type {Props} */
|
|
915
|
-
const props = {};
|
|
916
|
-
/** @type {string | undefined} */
|
|
917
|
-
let alignValue;
|
|
918
|
-
/** @type {string} */
|
|
919
|
-
let prop;
|
|
920
|
-
for (prop in node.properties) if (prop !== "children" && own.call(node.properties, prop)) {
|
|
921
|
-
const result = createProperty(state, prop, node.properties[prop]);
|
|
922
|
-
if (result) {
|
|
923
|
-
const [key, value] = result;
|
|
924
|
-
if (state.tableCellAlignToStyle && key === "align" && typeof value === "string" && tableCellElement.has(node.tagName)) alignValue = value;
|
|
925
|
-
else props[key] = value;
|
|
926
|
-
}
|
|
927
|
-
}
|
|
928
|
-
if (alignValue) {
|
|
929
|
-
const style = props.style || (props.style = {});
|
|
930
|
-
style[state.stylePropertyNameCase === "css" ? "text-align" : "textAlign"] = alignValue;
|
|
931
|
-
}
|
|
932
|
-
return props;
|
|
933
|
-
}
|
|
934
|
-
/**
|
|
935
|
-
* Create props from a JSX element.
|
|
936
|
-
*
|
|
937
|
-
* @param {State} state
|
|
938
|
-
* Info passed around.
|
|
939
|
-
* @param {MdxJsxFlowElementHast | MdxJsxTextElementHast} node
|
|
940
|
-
* Current JSX element.
|
|
941
|
-
* @returns {Props}
|
|
942
|
-
* Props.
|
|
943
|
-
*/
|
|
944
|
-
function createJsxElementProps(state, node) {
|
|
945
|
-
/** @type {Props} */
|
|
946
|
-
const props = {};
|
|
947
|
-
for (const attribute of node.attributes) if (attribute.type === "mdxJsxExpressionAttribute") if (attribute.data && attribute.data.estree && state.evaluater) {
|
|
948
|
-
const expression = attribute.data.estree.body[0];
|
|
949
|
-
expression.type;
|
|
950
|
-
const objectExpression = expression.expression;
|
|
951
|
-
objectExpression.type;
|
|
952
|
-
const property = objectExpression.properties[0];
|
|
953
|
-
property.type;
|
|
954
|
-
Object.assign(props, state.evaluater.evaluateExpression(property.argument));
|
|
955
|
-
} else crashEstree(state, node.position);
|
|
956
|
-
else {
|
|
957
|
-
const name = attribute.name;
|
|
958
|
-
/** @type {unknown} */
|
|
959
|
-
let value;
|
|
960
|
-
if (attribute.value && typeof attribute.value === "object") if (attribute.value.data && attribute.value.data.estree && state.evaluater) {
|
|
961
|
-
const expression = attribute.value.data.estree.body[0];
|
|
962
|
-
expression.type;
|
|
963
|
-
value = state.evaluater.evaluateExpression(expression.expression);
|
|
964
|
-
} else crashEstree(state, node.position);
|
|
965
|
-
else value = attribute.value === null ? true : attribute.value;
|
|
966
|
-
props[name] = value;
|
|
967
|
-
}
|
|
968
|
-
return props;
|
|
969
|
-
}
|
|
970
|
-
/**
|
|
971
|
-
* Create children.
|
|
972
|
-
*
|
|
973
|
-
* @param {State} state
|
|
974
|
-
* Info passed around.
|
|
975
|
-
* @param {Parents} node
|
|
976
|
-
* Current element.
|
|
977
|
-
* @returns {Array<Child>}
|
|
978
|
-
* Children.
|
|
979
|
-
*/
|
|
980
|
-
function createChildren(state, node) {
|
|
981
|
-
/** @type {Array<Child>} */
|
|
982
|
-
const children = [];
|
|
983
|
-
let index = -1;
|
|
984
|
-
/** @type {Map<string, number>} */
|
|
985
|
-
/* c8 ignore next */
|
|
986
|
-
const countsByName = state.passKeys ? /* @__PURE__ */ new Map() : emptyMap;
|
|
987
|
-
while (++index < node.children.length) {
|
|
988
|
-
const child = node.children[index];
|
|
989
|
-
/** @type {string | undefined} */
|
|
990
|
-
let key;
|
|
991
|
-
if (state.passKeys) {
|
|
992
|
-
const name = child.type === "element" ? child.tagName : child.type === "mdxJsxFlowElement" || child.type === "mdxJsxTextElement" ? child.name : void 0;
|
|
993
|
-
if (name) {
|
|
994
|
-
const count = countsByName.get(name) || 0;
|
|
995
|
-
key = name + "-" + count;
|
|
996
|
-
countsByName.set(name, count + 1);
|
|
997
|
-
}
|
|
998
|
-
}
|
|
999
|
-
const result = one(state, child, key);
|
|
1000
|
-
if (result !== void 0) children.push(result);
|
|
1001
|
-
}
|
|
1002
|
-
return children;
|
|
1003
|
-
}
|
|
1004
|
-
/**
|
|
1005
|
-
* Handle a property.
|
|
1006
|
-
*
|
|
1007
|
-
* @param {State} state
|
|
1008
|
-
* Info passed around.
|
|
1009
|
-
* @param {string} prop
|
|
1010
|
-
* Key.
|
|
1011
|
-
* @param {Array<number | string> | boolean | number | string | null | undefined} value
|
|
1012
|
-
* hast property value.
|
|
1013
|
-
* @returns {Field | undefined}
|
|
1014
|
-
* Field for runtime, optional.
|
|
1015
|
-
*/
|
|
1016
|
-
function createProperty(state, prop, value) {
|
|
1017
|
-
const info = find(state.schema, prop);
|
|
1018
|
-
if (value === null || value === void 0 || typeof value === "number" && Number.isNaN(value)) return;
|
|
1019
|
-
if (Array.isArray(value)) value = info.commaSeparated ? stringify(value) : stringify$1(value);
|
|
1020
|
-
if (info.property === "style") {
|
|
1021
|
-
let styleObject = typeof value === "object" ? value : parseStyle(state, String(value));
|
|
1022
|
-
if (state.stylePropertyNameCase === "css") styleObject = transformStylesToCssCasing(styleObject);
|
|
1023
|
-
return ["style", styleObject];
|
|
1024
|
-
}
|
|
1025
|
-
return [state.elementAttributeNameCase === "react" && info.space ? hastToReact[info.property] || info.property : info.attribute, value];
|
|
1026
|
-
}
|
|
1027
|
-
/**
|
|
1028
|
-
* Parse a CSS declaration to an object.
|
|
1029
|
-
*
|
|
1030
|
-
* @param {State} state
|
|
1031
|
-
* Info passed around.
|
|
1032
|
-
* @param {string} value
|
|
1033
|
-
* CSS declarations.
|
|
1034
|
-
* @returns {Style}
|
|
1035
|
-
* Properties.
|
|
1036
|
-
* @throws
|
|
1037
|
-
* Throws `VFileMessage` when CSS cannot be parsed.
|
|
1038
|
-
*/
|
|
1039
|
-
function parseStyle(state, value) {
|
|
1040
|
-
try {
|
|
1041
|
-
return (0, import_cjs.default)(value, { reactCompat: true });
|
|
1042
|
-
} catch (error) {
|
|
1043
|
-
if (state.ignoreInvalidStyle) return {};
|
|
1044
|
-
const cause = error;
|
|
1045
|
-
const message = new VFileMessage("Cannot parse `style` attribute", {
|
|
1046
|
-
ancestors: state.ancestors,
|
|
1047
|
-
cause,
|
|
1048
|
-
ruleId: "style",
|
|
1049
|
-
source: "hast-util-to-jsx-runtime"
|
|
1050
|
-
});
|
|
1051
|
-
message.file = state.filePath || void 0;
|
|
1052
|
-
message.url = docs + "#cannot-parse-style-attribute";
|
|
1053
|
-
throw message;
|
|
1054
|
-
}
|
|
1055
|
-
}
|
|
1056
|
-
/**
|
|
1057
|
-
* Create a JSX name from a string.
|
|
1058
|
-
*
|
|
1059
|
-
* @param {State} state
|
|
1060
|
-
* To do.
|
|
1061
|
-
* @param {string} name
|
|
1062
|
-
* Name.
|
|
1063
|
-
* @param {boolean} allowExpression
|
|
1064
|
-
* Allow member expressions and identifiers.
|
|
1065
|
-
* @returns {unknown}
|
|
1066
|
-
* To do.
|
|
1067
|
-
*/
|
|
1068
|
-
function findComponentFromName(state, name$1, allowExpression) {
|
|
1069
|
-
/** @type {Identifier | Literal | MemberExpression} */
|
|
1070
|
-
let result;
|
|
1071
|
-
if (!allowExpression) result = {
|
|
1072
|
-
type: "Literal",
|
|
1073
|
-
value: name$1
|
|
1074
|
-
};
|
|
1075
|
-
else if (name$1.includes(".")) {
|
|
1076
|
-
const identifiers = name$1.split(".");
|
|
1077
|
-
let index = -1;
|
|
1078
|
-
/** @type {Identifier | Literal | MemberExpression | undefined} */
|
|
1079
|
-
let node;
|
|
1080
|
-
while (++index < identifiers.length) {
|
|
1081
|
-
/** @type {Identifier | Literal} */
|
|
1082
|
-
const prop = name(identifiers[index]) ? {
|
|
1083
|
-
type: "Identifier",
|
|
1084
|
-
name: identifiers[index]
|
|
1085
|
-
} : {
|
|
1086
|
-
type: "Literal",
|
|
1087
|
-
value: identifiers[index]
|
|
1088
|
-
};
|
|
1089
|
-
node = node ? {
|
|
1090
|
-
type: "MemberExpression",
|
|
1091
|
-
object: node,
|
|
1092
|
-
property: prop,
|
|
1093
|
-
computed: Boolean(index && prop.type === "Literal"),
|
|
1094
|
-
optional: false
|
|
1095
|
-
} : prop;
|
|
1096
|
-
}
|
|
1097
|
-
result = node;
|
|
1098
|
-
} else result = name(name$1) && !/^[a-z]/.test(name$1) ? {
|
|
1099
|
-
type: "Identifier",
|
|
1100
|
-
name: name$1
|
|
1101
|
-
} : {
|
|
1102
|
-
type: "Literal",
|
|
1103
|
-
value: name$1
|
|
1104
|
-
};
|
|
1105
|
-
if (result.type === "Literal") {
|
|
1106
|
-
const name = result.value;
|
|
1107
|
-
return own.call(state.components, name) ? state.components[name] : name;
|
|
1108
|
-
}
|
|
1109
|
-
if (state.evaluater) return state.evaluater.evaluateExpression(result);
|
|
1110
|
-
crashEstree(state);
|
|
1111
|
-
}
|
|
1112
|
-
/**
|
|
1113
|
-
* @param {State} state
|
|
1114
|
-
* @param {Position | undefined} [place]
|
|
1115
|
-
* @returns {never}
|
|
1116
|
-
*/
|
|
1117
|
-
function crashEstree(state, place) {
|
|
1118
|
-
const message = new VFileMessage("Cannot handle MDX estrees without `createEvaluater`", {
|
|
1119
|
-
ancestors: state.ancestors,
|
|
1120
|
-
place,
|
|
1121
|
-
ruleId: "mdx-estree",
|
|
1122
|
-
source: "hast-util-to-jsx-runtime"
|
|
1123
|
-
});
|
|
1124
|
-
message.file = state.filePath || void 0;
|
|
1125
|
-
message.url = docs + "#cannot-handle-mdx-estrees-without-createevaluater";
|
|
1126
|
-
throw message;
|
|
1127
|
-
}
|
|
1128
|
-
/**
|
|
1129
|
-
* Transform a DOM casing style object to a CSS casing style object.
|
|
1130
|
-
*
|
|
1131
|
-
* @param {Style} domCasing
|
|
1132
|
-
* @returns {Style}
|
|
1133
|
-
*/
|
|
1134
|
-
function transformStylesToCssCasing(domCasing) {
|
|
1135
|
-
/** @type {Style} */
|
|
1136
|
-
const cssCasing = {};
|
|
1137
|
-
/** @type {string} */
|
|
1138
|
-
let from;
|
|
1139
|
-
for (from in domCasing) if (own.call(domCasing, from)) cssCasing[transformStyleToCssCasing(from)] = domCasing[from];
|
|
1140
|
-
return cssCasing;
|
|
1141
|
-
}
|
|
1142
|
-
/**
|
|
1143
|
-
* Transform a DOM casing style field to a CSS casing style field.
|
|
1144
|
-
*
|
|
1145
|
-
* @param {string} from
|
|
1146
|
-
* @returns {string}
|
|
1147
|
-
*/
|
|
1148
|
-
function transformStyleToCssCasing(from) {
|
|
1149
|
-
let to = from.replace(cap, toDash);
|
|
1150
|
-
if (to.slice(0, 3) === "ms-") to = "-" + to;
|
|
1151
|
-
return to;
|
|
1152
|
-
}
|
|
1153
|
-
/**
|
|
1154
|
-
* Make `$0` dash cased.
|
|
1155
|
-
*
|
|
1156
|
-
* @param {string} $0
|
|
1157
|
-
* Capitalized ASCII leter.
|
|
1158
|
-
* @returns {string}
|
|
1159
|
-
* Dash and lower letter.
|
|
1160
|
-
*/
|
|
1161
|
-
function toDash($0) {
|
|
1162
|
-
return "-" + $0.toLowerCase();
|
|
1163
|
-
}
|
|
1164
|
-
//#endregion
|
|
1165
|
-
export { VFileMessage as n, stringifyPosition as r, toJsxRuntime as t };
|