@luan.sh/pi-xsettings 0.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +203 -0
- package/node_modules/@luan.sh/pi-libactions/LICENSE +21 -0
- package/node_modules/@luan.sh/pi-libactions/README.md +197 -0
- package/node_modules/@luan.sh/pi-libactions/package.json +43 -0
- package/node_modules/@luan.sh/pi-libactions/src/index.ts +1 -0
- package/node_modules/@luan.sh/pi-libactions/src/keybindings.ts +94 -0
- package/node_modules/@luan.sh/pi-libactions/src/protocol/actions.ts +123 -0
- package/node_modules/@luan.sh/pi-libactions/src/sdk.ts +9 -0
- package/node_modules/@luan.sh/pi-libactions/test/registry.test.ts +36 -0
- package/node_modules/@luan.sh/pi-libactions/tsconfig.json +15 -0
- package/node_modules/@luan.sh/pi-libtui/LICENSE +21 -0
- package/node_modules/@luan.sh/pi-libtui/README.md +208 -0
- package/node_modules/@luan.sh/pi-libtui/native-revision +1 -0
- package/node_modules/@luan.sh/pi-libtui/package.json +58 -0
- package/node_modules/@luan.sh/pi-libtui/src/activity-presentation.ts +75 -0
- package/node_modules/@luan.sh/pi-libtui/src/appearance.ts +632 -0
- package/node_modules/@luan.sh/pi-libtui/src/background-surface.ts +125 -0
- package/node_modules/@luan.sh/pi-libtui/src/color/palette.ts +186 -0
- package/node_modules/@luan.sh/pi-libtui/src/color/preview.ts +157 -0
- package/node_modules/@luan.sh/pi-libtui/src/color/resolver.ts +75 -0
- package/node_modules/@luan.sh/pi-libtui/src/color/theme.ts +531 -0
- package/node_modules/@luan.sh/pi-libtui/src/component-stack.ts +247 -0
- package/node_modules/@luan.sh/pi-libtui/src/content/markdown-code.ts +60 -0
- package/node_modules/@luan.sh/pi-libtui/src/content/terminal-text.ts +135 -0
- package/node_modules/@luan.sh/pi-libtui/src/content/text.ts +105 -0
- package/node_modules/@luan.sh/pi-libtui/src/controls/action-panel.ts +420 -0
- package/node_modules/@luan.sh/pi-libtui/src/controls/dialog-button-bar.ts +287 -0
- package/node_modules/@luan.sh/pi-libtui/src/controls/multi-select.ts +467 -0
- package/node_modules/@luan.sh/pi-libtui/src/controls/picker-panel.ts +447 -0
- package/node_modules/@luan.sh/pi-libtui/src/controls/screen-icon-actions.ts +134 -0
- package/node_modules/@luan.sh/pi-libtui/src/controls/searchable-select.ts +394 -0
- package/node_modules/@luan.sh/pi-libtui/src/controls/select-box.ts +224 -0
- package/node_modules/@luan.sh/pi-libtui/src/controls/selectable-list.ts +433 -0
- package/node_modules/@luan.sh/pi-libtui/src/controls/selection-action-bar.ts +382 -0
- package/node_modules/@luan.sh/pi-libtui/src/controls/semantic-input.ts +23 -0
- package/node_modules/@luan.sh/pi-libtui/src/controls/tab.ts +189 -0
- package/node_modules/@luan.sh/pi-libtui/src/cursor.ts +288 -0
- package/node_modules/@luan.sh/pi-libtui/src/decoration/editor-pills.ts +156 -0
- package/node_modules/@luan.sh/pi-libtui/src/decoration/glyphs.ts +326 -0
- package/node_modules/@luan.sh/pi-libtui/src/decoration/pointer-interaction.ts +123 -0
- package/node_modules/@luan.sh/pi-libtui/src/decoration/powerline-pill.ts +104 -0
- package/node_modules/@luan.sh/pi-libtui/src/decoration/status.ts +185 -0
- package/node_modules/@luan.sh/pi-libtui/src/decoration/transient-pill.ts +176 -0
- package/node_modules/@luan.sh/pi-libtui/src/diff/index.ts +21 -0
- package/node_modules/@luan.sh/pi-libtui/src/diff/model.ts +76 -0
- package/node_modules/@luan.sh/pi-libtui/src/diff/parse.ts +310 -0
- package/node_modules/@luan.sh/pi-libtui/src/diff/pierre-syntax.ts +86 -0
- package/node_modules/@luan.sh/pi-libtui/src/diff/render.ts +504 -0
- package/node_modules/@luan.sh/pi-libtui/src/diff/structured.ts +264 -0
- package/node_modules/@luan.sh/pi-libtui/src/diff/view.ts +75 -0
- package/node_modules/@luan.sh/pi-libtui/src/editor/chrome.ts +341 -0
- package/node_modules/@luan.sh/pi-libtui/src/editor/composition.ts +53 -0
- package/node_modules/@luan.sh/pi-libtui/src/editor/layout.ts +81 -0
- package/node_modules/@luan.sh/pi-libtui/src/editor/presentation.ts +35 -0
- package/node_modules/@luan.sh/pi-libtui/src/editor/protocol.ts +188 -0
- package/node_modules/@luan.sh/pi-libtui/src/editor.ts +41 -0
- package/node_modules/@luan.sh/pi-libtui/src/extension.ts +30 -0
- package/node_modules/@luan.sh/pi-libtui/src/folding.ts +192 -0
- package/node_modules/@luan.sh/pi-libtui/src/host/cursor-bridge.ts +210 -0
- package/node_modules/@luan.sh/pi-libtui/src/host/editor-bridge.ts +148 -0
- package/node_modules/@luan.sh/pi-libtui/src/host/extension-host.ts +231 -0
- package/node_modules/@luan.sh/pi-libtui/src/host/mouse-bridge.ts +212 -0
- package/node_modules/@luan.sh/pi-libtui/src/host/mouse-dispatch.ts +400 -0
- package/node_modules/@luan.sh/pi-libtui/src/host/mouse-input.ts +85 -0
- package/node_modules/@luan.sh/pi-libtui/src/host/mouse-targets.ts +238 -0
- package/node_modules/@luan.sh/pi-libtui/src/host/pi-layout-adapter.ts +298 -0
- package/node_modules/@luan.sh/pi-libtui/src/host/pi-native-selection.ts +227 -0
- package/node_modules/@luan.sh/pi-libtui/src/host/split-pane-bridge.ts +720 -0
- package/node_modules/@luan.sh/pi-libtui/src/host/transcript-bridge.ts +236 -0
- package/node_modules/@luan.sh/pi-libtui/src/index.ts +334 -0
- package/node_modules/@luan.sh/pi-libtui/src/line-layout.ts +6 -0
- package/node_modules/@luan.sh/pi-libtui/src/motion.ts +1409 -0
- package/node_modules/@luan.sh/pi-libtui/src/mouse/events.ts +55 -0
- package/node_modules/@luan.sh/pi-libtui/src/mouse/fullscreen-layout.ts +260 -0
- package/node_modules/@luan.sh/pi-libtui/src/mouse/registry.ts +348 -0
- package/node_modules/@luan.sh/pi-libtui/src/mouse.ts +37 -0
- package/node_modules/@luan.sh/pi-libtui/src/native-binary.ts +189 -0
- package/node_modules/@luan.sh/pi-libtui/src/overlay/anchored.ts +91 -0
- package/node_modules/@luan.sh/pi-libtui/src/overlay/detail-card.ts +158 -0
- package/node_modules/@luan.sh/pi-libtui/src/overlay/dialog.ts +266 -0
- package/node_modules/@luan.sh/pi-libtui/src/overlay/floating.ts +106 -0
- package/node_modules/@luan.sh/pi-libtui/src/overlay/framed-editor.ts +236 -0
- package/node_modules/@luan.sh/pi-libtui/src/overlay/fullscreen.ts +170 -0
- package/node_modules/@luan.sh/pi-libtui/src/overlay/hover-tooltip.ts +109 -0
- package/node_modules/@luan.sh/pi-libtui/src/overlay/modal-mount.ts +118 -0
- package/node_modules/@luan.sh/pi-libtui/src/panels.ts +207 -0
- package/node_modules/@luan.sh/pi-libtui/src/render-cache.ts +80 -0
- package/node_modules/@luan.sh/pi-libtui/src/render-epoch.ts +48 -0
- package/node_modules/@luan.sh/pi-libtui/src/request-animation.ts +160 -0
- package/node_modules/@luan.sh/pi-libtui/src/scrollbar.ts +27 -0
- package/node_modules/@luan.sh/pi-libtui/src/selection.ts +148 -0
- package/node_modules/@luan.sh/pi-libtui/src/split-pane.ts +232 -0
- package/node_modules/@luan.sh/pi-libtui/src/status-presentation.ts +411 -0
- package/node_modules/@luan.sh/pi-libtui/src/stream.ts +543 -0
- package/node_modules/@luan.sh/pi-libtui/src/syntax.ts +316 -0
- package/node_modules/@luan.sh/pi-libtui/src/terminal/bridge-client.ts +243 -0
- package/node_modules/@luan.sh/pi-libtui/src/terminal/embedding.ts +6 -0
- package/node_modules/@luan.sh/pi-libtui/src/terminal/output.ts +151 -0
- package/node_modules/@luan.sh/pi-libtui/src/terminal/projection.ts +362 -0
- package/node_modules/@luan.sh/pi-libtui/src/terminal/pty-host.ts +263 -0
- package/node_modules/@luan.sh/pi-libtui/src/terminal/pty-pane.ts +308 -0
- package/node_modules/@luan.sh/pi-libtui/src/terminal-colors.ts +334 -0
- package/node_modules/@luan.sh/pi-libtui/src/tool/action.ts +170 -0
- package/node_modules/@luan.sh/pi-libtui/src/tool/activity.ts +500 -0
- package/node_modules/@luan.sh/pi-libtui/src/tool/call-preview.ts +44 -0
- package/node_modules/@luan.sh/pi-libtui/src/tool/disclosure-action.ts +89 -0
- package/node_modules/@luan.sh/pi-libtui/src/tool/expanded-region-viewport.ts +103 -0
- package/node_modules/@luan.sh/pi-libtui/src/tool/index.ts +26 -0
- package/node_modules/@luan.sh/pi-libtui/src/tool/output.ts +271 -0
- package/node_modules/@luan.sh/pi-libtui/src/tool/transcript.ts +150 -0
- package/node_modules/@luan.sh/pi-libtui/src/tool/view-region.ts +581 -0
- package/node_modules/@luan.sh/pi-libtui/test/appearance.test.ts +183 -0
- package/node_modules/@luan.sh/pi-libtui/test/bounded-stream.test.ts +150 -0
- package/node_modules/@luan.sh/pi-libtui/test/bridge-client.test.ts +42 -0
- package/node_modules/@luan.sh/pi-libtui/test/color-preview.test.ts +23 -0
- package/node_modules/@luan.sh/pi-libtui/test/component-stack.test.ts +206 -0
- package/node_modules/@luan.sh/pi-libtui/test/components.test.ts +1165 -0
- package/node_modules/@luan.sh/pi-libtui/test/content-text.test.ts +21 -0
- package/node_modules/@luan.sh/pi-libtui/test/cursor-bridge.test.ts +151 -0
- package/node_modules/@luan.sh/pi-libtui/test/cursor.test.ts +147 -0
- package/node_modules/@luan.sh/pi-libtui/test/editor-chrome.test.ts +119 -0
- package/node_modules/@luan.sh/pi-libtui/test/editor-layout.test.ts +30 -0
- package/node_modules/@luan.sh/pi-libtui/test/editor-registry.test.ts +203 -0
- package/node_modules/@luan.sh/pi-libtui/test/editor-theme.test.ts +33 -0
- package/node_modules/@luan.sh/pi-libtui/test/editor-token-pill.test.ts +72 -0
- package/node_modules/@luan.sh/pi-libtui/test/floating-overlay.test.ts +57 -0
- package/node_modules/@luan.sh/pi-libtui/test/folding.test.ts +147 -0
- package/node_modules/@luan.sh/pi-libtui/test/harmonious-theme.test.ts +23 -0
- package/node_modules/@luan.sh/pi-libtui/test/interaction.test.ts +104 -0
- package/node_modules/@luan.sh/pi-libtui/test/key-icons.test.ts +62 -0
- package/node_modules/@luan.sh/pi-libtui/test/markdown-code.test.ts +24 -0
- package/node_modules/@luan.sh/pi-libtui/test/modal-overlay-mount.test.ts +94 -0
- package/node_modules/@luan.sh/pi-libtui/test/motion.test.ts +649 -0
- package/node_modules/@luan.sh/pi-libtui/test/mouse/bridge.test.ts +1302 -0
- package/node_modules/@luan.sh/pi-libtui/test/mouse/extension.test.ts +205 -0
- package/node_modules/@luan.sh/pi-libtui/test/mouse/registry.test.ts +140 -0
- package/node_modules/@luan.sh/pi-libtui/test/mouse/screen-decoration.test.ts +167 -0
- package/node_modules/@luan.sh/pi-libtui/test/native-binary.test.ts +52 -0
- package/node_modules/@luan.sh/pi-libtui/test/palette.test.ts +32 -0
- package/node_modules/@luan.sh/pi-libtui/test/panels.test.ts +74 -0
- package/node_modules/@luan.sh/pi-libtui/test/pointer-components.test.ts +151 -0
- package/node_modules/@luan.sh/pi-libtui/test/progress.test.ts +54 -0
- package/node_modules/@luan.sh/pi-libtui/test/pty-host.test.ts +126 -0
- package/node_modules/@luan.sh/pi-libtui/test/pty-pane.test.ts +62 -0
- package/node_modules/@luan.sh/pi-libtui/test/public-surface.test.ts +75 -0
- package/node_modules/@luan.sh/pi-libtui/test/render-cache.test.ts +25 -0
- package/node_modules/@luan.sh/pi-libtui/test/render-epoch.test.ts +119 -0
- package/node_modules/@luan.sh/pi-libtui/test/request-animation.test.ts +193 -0
- package/node_modules/@luan.sh/pi-libtui/test/screen-icon-actions.test.ts +69 -0
- package/node_modules/@luan.sh/pi-libtui/test/select-box.test.ts +86 -0
- package/node_modules/@luan.sh/pi-libtui/test/select-pointer.test.ts +369 -0
- package/node_modules/@luan.sh/pi-libtui/test/selectable-list.test.ts +258 -0
- package/node_modules/@luan.sh/pi-libtui/test/selection/registry.test.ts +44 -0
- package/node_modules/@luan.sh/pi-libtui/test/selection-action-bar.test.ts +204 -0
- package/node_modules/@luan.sh/pi-libtui/test/split-pane-bridge.test.ts +944 -0
- package/node_modules/@luan.sh/pi-libtui/test/split-pane.test.ts +134 -0
- package/node_modules/@luan.sh/pi-libtui/test/status-presentation.test.ts +39 -0
- package/node_modules/@luan.sh/pi-libtui/test/syntax.test.ts +59 -0
- package/node_modules/@luan.sh/pi-libtui/test/terminal-colors.test.ts +115 -0
- package/node_modules/@luan.sh/pi-libtui/test/terminal-embedding.test.ts +12 -0
- package/node_modules/@luan.sh/pi-libtui/test/terminal-projection.test.ts +312 -0
- package/node_modules/@luan.sh/pi-libtui/test/theme-colors.test.ts +175 -0
- package/node_modules/@luan.sh/pi-libtui/test/tool-output.test.ts +160 -0
- package/node_modules/@luan.sh/pi-libtui/test/tool-transcript.test.ts +1190 -0
- package/node_modules/@luan.sh/pi-libtui/test/unified-diff.test.ts +691 -0
- package/node_modules/@luan.sh/pi-libtui/themes/harmonious.json +61 -0
- package/node_modules/@luan.sh/pi-libtui/tsconfig.json +16 -0
- package/node_modules/@pierre/diffs/LICENSE.md +189 -0
- package/node_modules/@pierre/diffs/README.md +95 -0
- package/node_modules/@pierre/diffs/dist/components/CodeView.d.ts +476 -0
- package/node_modules/@pierre/diffs/dist/components/CodeView.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/CodeView.js +2006 -0
- package/node_modules/@pierre/diffs/dist/components/CodeView.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/File.d.ts +171 -0
- package/node_modules/@pierre/diffs/dist/components/File.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/File.js +956 -0
- package/node_modules/@pierre/diffs/dist/components/File.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/FileDiff.d.ts +257 -0
- package/node_modules/@pierre/diffs/dist/components/FileDiff.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/FileDiff.js +1652 -0
- package/node_modules/@pierre/diffs/dist/components/FileDiff.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/FileStream.d.ts +48 -0
- package/node_modules/@pierre/diffs/dist/components/FileStream.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/FileStream.js +251 -0
- package/node_modules/@pierre/diffs/dist/components/FileStream.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/UnresolvedFile.d.ts +71 -0
- package/node_modules/@pierre/diffs/dist/components/UnresolvedFile.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/UnresolvedFile.js +407 -0
- package/node_modules/@pierre/diffs/dist/components/UnresolvedFile.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/VirtualizedFile.d.ts +68 -0
- package/node_modules/@pierre/diffs/dist/components/VirtualizedFile.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/VirtualizedFile.js +543 -0
- package/node_modules/@pierre/diffs/dist/components/VirtualizedFile.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/VirtualizedFileDiff.d.ts +100 -0
- package/node_modules/@pierre/diffs/dist/components/VirtualizedFileDiff.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/VirtualizedFileDiff.js +1052 -0
- package/node_modules/@pierre/diffs/dist/components/VirtualizedFileDiff.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/Virtualizer.d.ts +82 -0
- package/node_modules/@pierre/diffs/dist/components/Virtualizer.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/Virtualizer.js +433 -0
- package/node_modules/@pierre/diffs/dist/components/Virtualizer.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/VirtulizerDevelopment.d.ts +14 -0
- package/node_modules/@pierre/diffs/dist/components/VirtulizerDevelopment.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/web-components.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/components/web-components.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/components/web-components.js +28 -0
- package/node_modules/@pierre/diffs/dist/components/web-components.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/constants.d.ts +43 -0
- package/node_modules/@pierre/diffs/dist/constants.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/constants.js +80 -0
- package/node_modules/@pierre/diffs/dist/constants.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/edit/index.d.ts +6 -0
- package/node_modules/@pierre/diffs/dist/edit/index.js +3 -0
- package/node_modules/@pierre/diffs/dist/editor/command.d.ts +15 -0
- package/node_modules/@pierre/diffs/dist/editor/command.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/command.js +128 -0
- package/node_modules/@pierre/diffs/dist/editor/command.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/editStack.d.ts +76 -0
- package/node_modules/@pierre/diffs/dist/editor/editStack.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/editStack.js +259 -0
- package/node_modules/@pierre/diffs/dist/editor/editStack.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/editor.d.ts +118 -0
- package/node_modules/@pierre/diffs/dist/editor/editor.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/editor.js +2880 -0
- package/node_modules/@pierre/diffs/dist/editor/editor.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/editor2.js +6 -0
- package/node_modules/@pierre/diffs/dist/editor/editor2.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/languages.d.ts +26 -0
- package/node_modules/@pierre/diffs/dist/editor/languages.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/languages.js +363 -0
- package/node_modules/@pierre/diffs/dist/editor/languages.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/lineAnnotations.d.ts +9 -0
- package/node_modules/@pierre/diffs/dist/editor/lineAnnotations.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/lineAnnotations.js +212 -0
- package/node_modules/@pierre/diffs/dist/editor/lineAnnotations.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/marker.d.ts +38 -0
- package/node_modules/@pierre/diffs/dist/editor/marker.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/marker.js +245 -0
- package/node_modules/@pierre/diffs/dist/editor/marker.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/matchBrackets.d.ts +9 -0
- package/node_modules/@pierre/diffs/dist/editor/matchBrackets.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/matchBrackets.js +138 -0
- package/node_modules/@pierre/diffs/dist/editor/matchBrackets.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/pieceTable.d.ts +40 -0
- package/node_modules/@pierre/diffs/dist/editor/pieceTable.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/pieceTable.js +706 -0
- package/node_modules/@pierre/diffs/dist/editor/pieceTable.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/platform.d.ts +11 -0
- package/node_modules/@pierre/diffs/dist/editor/platform.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/platform.js +31 -0
- package/node_modules/@pierre/diffs/dist/editor/platform.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/popover.d.ts +65 -0
- package/node_modules/@pierre/diffs/dist/editor/popover.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/popover.js +191 -0
- package/node_modules/@pierre/diffs/dist/editor/popover.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/searchPanel.d.ts +41 -0
- package/node_modules/@pierre/diffs/dist/editor/searchPanel.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/searchPanel.js +318 -0
- package/node_modules/@pierre/diffs/dist/editor/searchPanel.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/selection.d.ts +211 -0
- package/node_modules/@pierre/diffs/dist/editor/selection.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/selection.js +1626 -0
- package/node_modules/@pierre/diffs/dist/editor/selection.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/selectionAction.d.ts +47 -0
- package/node_modules/@pierre/diffs/dist/editor/selectionAction.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/selectionAction.js +66 -0
- package/node_modules/@pierre/diffs/dist/editor/selectionAction.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/sprite.d.ts +8 -0
- package/node_modules/@pierre/diffs/dist/editor/sprite.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/sprite.js +45 -0
- package/node_modules/@pierre/diffs/dist/editor/sprite.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/stateStorage.d.ts +15 -0
- package/node_modules/@pierre/diffs/dist/editor/stateStorage.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/stateStorage.js +65 -0
- package/node_modules/@pierre/diffs/dist/editor/stateStorage.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/textDocument.d.ts +67 -0
- package/node_modules/@pierre/diffs/dist/editor/textDocument.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/textDocument.js +278 -0
- package/node_modules/@pierre/diffs/dist/editor/textDocument.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/textMeasure.d.ts +61 -0
- package/node_modules/@pierre/diffs/dist/editor/textMeasure.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/textMeasure.js +209 -0
- package/node_modules/@pierre/diffs/dist/editor/textMeasure.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/tokenizer.d.ts +41 -0
- package/node_modules/@pierre/diffs/dist/editor/tokenizer.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/tokenizer.js +596 -0
- package/node_modules/@pierre/diffs/dist/editor/tokenizer.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/utils.d.ts +22 -0
- package/node_modules/@pierre/diffs/dist/editor/utils.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/editor/utils.js +78 -0
- package/node_modules/@pierre/diffs/dist/editor/utils.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/areLanguagesAttached.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/areLanguagesAttached.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/areLanguagesAttached.js +13 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/areLanguagesAttached.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/attachResolvedLanguages.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/attachResolvedLanguages.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/attachResolvedLanguages.js +19 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/attachResolvedLanguages.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/cleanUpResolvedLanguages.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/cleanUpResolvedLanguages.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/cleanUpResolvedLanguages.js +10 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/cleanUpResolvedLanguages.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/constants.d.ts +12 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/constants.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/constants.js +9 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/constants.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/getResolvedLanguages.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/getResolvedLanguages.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/getResolvedLanguages.js +15 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/getResolvedLanguages.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/getResolvedOrResolveLanguage.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/getResolvedOrResolveLanguage.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/getResolvedOrResolveLanguage.js +10 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/getResolvedOrResolveLanguage.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/hasResolvedLanguages.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/hasResolvedLanguages.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/hasResolvedLanguages.js +10 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/hasResolvedLanguages.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/registerCustomLanguage.d.ts +18 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/registerCustomLanguage.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/registerCustomLanguage.js +20 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/registerCustomLanguage.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/resolveLanguage.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/resolveLanguage.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/resolveLanguage.js +30 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/resolveLanguage.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/resolveLanguages.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/resolveLanguages.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/resolveLanguages.js +24 -0
- package/node_modules/@pierre/diffs/dist/highlighter/languages/resolveLanguages.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/shared_highlighter.d.ts +23 -0
- package/node_modules/@pierre/diffs/dist/highlighter/shared_highlighter.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/shared_highlighter.js +66 -0
- package/node_modules/@pierre/diffs/dist/highlighter/shared_highlighter.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/areThemesAttached.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/areThemesAttached.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/areThemesAttached.js +11 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/areThemesAttached.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/attachResolvedThemes.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/attachResolvedThemes.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/attachResolvedThemes.js +24 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/attachResolvedThemes.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/cleanUpResolvedThemes.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/cleanUpResolvedThemes.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/cleanUpResolvedThemes.js +11 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/cleanUpResolvedThemes.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/constants.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/constants.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/constants.js +6 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/constants.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/getResolvedOrResolveTheme.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/getResolvedOrResolveTheme.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/getResolvedOrResolveTheme.js +10 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/getResolvedOrResolveTheme.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/getResolvedThemes.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/getResolvedThemes.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/getResolvedThemes.js +9 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/getResolvedThemes.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/hasResolvedThemes.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/hasResolvedThemes.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/hasResolvedThemes.js +9 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/hasResolvedThemes.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/registerCustomCSSVariableTheme.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/registerCustomCSSVariableTheme.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/registerCustomCSSVariableTheme.js +17 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/registerCustomCSSVariableTheme.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/registerCustomTheme.d.ts +9 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/registerCustomTheme.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/registerCustomTheme.js +23 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/registerCustomTheme.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/resolveTheme.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/resolveTheme.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/resolveTheme.js +13 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/resolveTheme.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/resolveThemes.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/resolveThemes.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/resolveThemes.js +13 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/resolveThemes.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/themeResolution.d.ts +8 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/themeResolution.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/themeResolution.js +21 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/themeResolution.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/themeResolver.d.ts +8 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/themeResolver.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/themeResolver.js +7 -0
- package/node_modules/@pierre/diffs/dist/highlighter/themes/themeResolver.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/index.d.ts +111 -0
- package/node_modules/@pierre/diffs/dist/index.js +109 -0
- package/node_modules/@pierre/diffs/dist/managers/InteractionManager.d.ts +193 -0
- package/node_modules/@pierre/diffs/dist/managers/InteractionManager.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/managers/InteractionManager.js +1202 -0
- package/node_modules/@pierre/diffs/dist/managers/InteractionManager.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/managers/ResizeManager.d.ts +27 -0
- package/node_modules/@pierre/diffs/dist/managers/ResizeManager.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/managers/ResizeManager.js +283 -0
- package/node_modules/@pierre/diffs/dist/managers/ResizeManager.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/managers/ScrollSyncManager.d.ts +16 -0
- package/node_modules/@pierre/diffs/dist/managers/ScrollSyncManager.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/managers/ScrollSyncManager.js +62 -0
- package/node_modules/@pierre/diffs/dist/managers/ScrollSyncManager.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/managers/UniversalRenderingManager.d.ts +8 -0
- package/node_modules/@pierre/diffs/dist/managers/UniversalRenderingManager.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/managers/UniversalRenderingManager.js +33 -0
- package/node_modules/@pierre/diffs/dist/managers/UniversalRenderingManager.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/node_modules/.pnpm/@types_hast@3.0.4/node_modules/@types/hast/index.d.ts +228 -0
- package/node_modules/@pierre/diffs/dist/node_modules/.pnpm/@types_hast@3.0.4/node_modules/@types/hast/index.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/node_modules/.pnpm/@types_unist@3.0.3/node_modules/@types/unist/index.d.ts +84 -0
- package/node_modules/@pierre/diffs/dist/node_modules/.pnpm/@types_unist@3.0.3/node_modules/@types/unist/index.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/CodeView.d.ts +75 -0
- package/node_modules/@pierre/diffs/dist/react/CodeView.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/CodeView.js +387 -0
- package/node_modules/@pierre/diffs/dist/react/CodeView.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/EditContext.d.ts +20 -0
- package/node_modules/@pierre/diffs/dist/react/EditContext.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/EditContext.js +27 -0
- package/node_modules/@pierre/diffs/dist/react/EditContext.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/File.d.ts +26 -0
- package/node_modules/@pierre/diffs/dist/react/File.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/File.js +42 -0
- package/node_modules/@pierre/diffs/dist/react/File.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/FileDiff.d.ts +30 -0
- package/node_modules/@pierre/diffs/dist/react/FileDiff.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/FileDiff.js +42 -0
- package/node_modules/@pierre/diffs/dist/react/FileDiff.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/MultiFileDiff.d.ts +31 -0
- package/node_modules/@pierre/diffs/dist/react/MultiFileDiff.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/MultiFileDiff.js +51 -0
- package/node_modules/@pierre/diffs/dist/react/MultiFileDiff.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/PatchDiff.d.ts +29 -0
- package/node_modules/@pierre/diffs/dist/react/PatchDiff.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/PatchDiff.js +48 -0
- package/node_modules/@pierre/diffs/dist/react/PatchDiff.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/UnresolvedFile.d.ts +45 -0
- package/node_modules/@pierre/diffs/dist/react/UnresolvedFile.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/UnresolvedFile.js +43 -0
- package/node_modules/@pierre/diffs/dist/react/UnresolvedFile.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/Virtualizer.d.ts +25 -0
- package/node_modules/@pierre/diffs/dist/react/Virtualizer.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/Virtualizer.js +35 -0
- package/node_modules/@pierre/diffs/dist/react/Virtualizer.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/WorkerPoolContext.d.ts +19 -0
- package/node_modules/@pierre/diffs/dist/react/WorkerPoolContext.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/WorkerPoolContext.js +40 -0
- package/node_modules/@pierre/diffs/dist/react/WorkerPoolContext.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/constants.d.ts +9 -0
- package/node_modules/@pierre/diffs/dist/react/constants.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/constants.js +17 -0
- package/node_modules/@pierre/diffs/dist/react/constants.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/index.d.ts +21 -0
- package/node_modules/@pierre/diffs/dist/react/index.js +17 -0
- package/node_modules/@pierre/diffs/dist/react/jsx.d.ts +10 -0
- package/node_modules/@pierre/diffs/dist/react/jsx.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/types.d.ts +51 -0
- package/node_modules/@pierre/diffs/dist/react/types.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/types.js +1 -0
- package/node_modules/@pierre/diffs/dist/react/utils/renderDiffChildren.d.ts +38 -0
- package/node_modules/@pierre/diffs/dist/react/utils/renderDiffChildren.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/utils/renderDiffChildren.js +62 -0
- package/node_modules/@pierre/diffs/dist/react/utils/renderDiffChildren.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/utils/renderFileChildren.d.ts +31 -0
- package/node_modules/@pierre/diffs/dist/react/utils/renderFileChildren.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/utils/renderFileChildren.js +43 -0
- package/node_modules/@pierre/diffs/dist/react/utils/renderFileChildren.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/utils/templateRender.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/react/utils/templateRender.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/utils/templateRender.js +13 -0
- package/node_modules/@pierre/diffs/dist/react/utils/templateRender.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useFileDiffInstance.d.ts +38 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useFileDiffInstance.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useFileDiffInstance.js +95 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useFileDiffInstance.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useFileInstance.d.ts +39 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useFileInstance.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useFileInstance.js +94 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useFileInstance.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useStableCallback.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useStableCallback.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useStableCallback.js +13 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useStableCallback.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useUnresolvedFileInstance.d.ts +40 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useUnresolvedFileInstance.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useUnresolvedFileInstance.js +107 -0
- package/node_modules/@pierre/diffs/dist/react/utils/useUnresolvedFileInstance.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/renderers/DiffHunksRenderer.d.ts +174 -0
- package/node_modules/@pierre/diffs/dist/renderers/DiffHunksRenderer.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/renderers/DiffHunksRenderer.js +1199 -0
- package/node_modules/@pierre/diffs/dist/renderers/DiffHunksRenderer.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/renderers/FileRenderer.d.ts +86 -0
- package/node_modules/@pierre/diffs/dist/renderers/FileRenderer.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/renderers/FileRenderer.js +542 -0
- package/node_modules/@pierre/diffs/dist/renderers/FileRenderer.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/renderers/UnresolvedFileHunksRenderer.d.ts +40 -0
- package/node_modules/@pierre/diffs/dist/renderers/UnresolvedFileHunksRenderer.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/renderers/UnresolvedFileHunksRenderer.js +199 -0
- package/node_modules/@pierre/diffs/dist/renderers/UnresolvedFileHunksRenderer.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/shiki-stream/index.d.ts +4 -0
- package/node_modules/@pierre/diffs/dist/shiki-stream/index.js +3 -0
- package/node_modules/@pierre/diffs/dist/shiki-stream/stream.d.ts +16 -0
- package/node_modules/@pierre/diffs/dist/shiki-stream/stream.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/shiki-stream/stream.js +31 -0
- package/node_modules/@pierre/diffs/dist/shiki-stream/stream.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/shiki-stream/tokenizer.d.ts +24 -0
- package/node_modules/@pierre/diffs/dist/shiki-stream/tokenizer.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/shiki-stream/tokenizer.js +71 -0
- package/node_modules/@pierre/diffs/dist/shiki-stream/tokenizer.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/shiki-stream/types.d.ts +44 -0
- package/node_modules/@pierre/diffs/dist/shiki-stream/types.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/shiki-stream/types.js +0 -0
- package/node_modules/@pierre/diffs/dist/sprite.d.ts +6 -0
- package/node_modules/@pierre/diffs/dist/sprite.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/sprite.js +58 -0
- package/node_modules/@pierre/diffs/dist/sprite.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/ssr/FileDiffReact.d.ts +21 -0
- package/node_modules/@pierre/diffs/dist/ssr/FileDiffReact.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/ssr/FileDiffReact.js +50 -0
- package/node_modules/@pierre/diffs/dist/ssr/FileDiffReact.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/ssr/index.d.ts +6 -0
- package/node_modules/@pierre/diffs/dist/ssr/index.js +5 -0
- package/node_modules/@pierre/diffs/dist/ssr/preloadDiffs.d.ts +82 -0
- package/node_modules/@pierre/diffs/dist/ssr/preloadDiffs.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/ssr/preloadDiffs.js +105 -0
- package/node_modules/@pierre/diffs/dist/ssr/preloadDiffs.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/ssr/preloadFile.d.ts +23 -0
- package/node_modules/@pierre/diffs/dist/ssr/preloadFile.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/ssr/preloadFile.js +32 -0
- package/node_modules/@pierre/diffs/dist/ssr/preloadFile.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/ssr/preloadPatchFile.d.ts +15 -0
- package/node_modules/@pierre/diffs/dist/ssr/preloadPatchFile.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/ssr/preloadPatchFile.js +16 -0
- package/node_modules/@pierre/diffs/dist/ssr/preloadPatchFile.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/ssr/renderHTML.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/ssr/renderHTML.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/ssr/renderHTML.js +10 -0
- package/node_modules/@pierre/diffs/dist/ssr/renderHTML.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/string-import.d.ts +10 -0
- package/node_modules/@pierre/diffs/dist/string-import.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/style.js +6 -0
- package/node_modules/@pierre/diffs/dist/style.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/types.d.ts +1020 -0
- package/node_modules/@pierre/diffs/dist/types.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/types.js +0 -0
- package/node_modules/@pierre/diffs/dist/utils/annotationHelpers.d.ts +20 -0
- package/node_modules/@pierre/diffs/dist/utils/annotationHelpers.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/annotationHelpers.js +29 -0
- package/node_modules/@pierre/diffs/dist/utils/annotationHelpers.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/applyLineTextWithNewline.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/applyLineTextWithNewline.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/applyLineTextWithNewline.js +11 -0
- package/node_modules/@pierre/diffs/dist/utils/applyLineTextWithNewline.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areDiffLineAnnotationsEqual.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/areDiffLineAnnotationsEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areDiffLineAnnotationsEqual.js +8 -0
- package/node_modules/@pierre/diffs/dist/utils/areDiffLineAnnotationsEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areDiffRenderOptionsEqual.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/areDiffRenderOptionsEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areDiffRenderOptionsEqual.js +9 -0
- package/node_modules/@pierre/diffs/dist/utils/areDiffRenderOptionsEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areDiffTargetsEqual.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/areDiffTargetsEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areDiffTargetsEqual.js +8 -0
- package/node_modules/@pierre/diffs/dist/utils/areDiffTargetsEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areFileRenderOptionsEqual.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/areFileRenderOptionsEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areFileRenderOptionsEqual.js +9 -0
- package/node_modules/@pierre/diffs/dist/utils/areFileRenderOptionsEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areFilesEqual.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/areFilesEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areFilesEqual.js +8 -0
- package/node_modules/@pierre/diffs/dist/utils/areFilesEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areHunkDataEqual.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/areHunkDataEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areHunkDataEqual.js +8 -0
- package/node_modules/@pierre/diffs/dist/utils/areHunkDataEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areLineAnnotationsEqual.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/areLineAnnotationsEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areLineAnnotationsEqual.js +8 -0
- package/node_modules/@pierre/diffs/dist/utils/areLineAnnotationsEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areManagedSnapshotsEqual.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/areManagedSnapshotsEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areManagedSnapshotsEqual.js +20 -0
- package/node_modules/@pierre/diffs/dist/utils/areManagedSnapshotsEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areMergeConflictActionsEqual.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/areMergeConflictActionsEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areMergeConflictActionsEqual.js +11 -0
- package/node_modules/@pierre/diffs/dist/utils/areMergeConflictActionsEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areObjectsEqual.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/areObjectsEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areObjectsEqual.js +18 -0
- package/node_modules/@pierre/diffs/dist/utils/areObjectsEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areOptionsEqual.d.ts +9 -0
- package/node_modules/@pierre/diffs/dist/utils/areOptionsEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areOptionsEqual.js +18 -0
- package/node_modules/@pierre/diffs/dist/utils/areOptionsEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/arePrePropertiesEqual.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/arePrePropertiesEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/arePrePropertiesEqual.js +18 -0
- package/node_modules/@pierre/diffs/dist/utils/arePrePropertiesEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areRenderRangesEqual.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/areRenderRangesEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areRenderRangesEqual.js +9 -0
- package/node_modules/@pierre/diffs/dist/utils/areRenderRangesEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areSelectionPointsEqual.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/areSelectionPointsEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areSelectionPointsEqual.js +8 -0
- package/node_modules/@pierre/diffs/dist/utils/areSelectionPointsEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areSelectionsEqual.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/areSelectionsEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areSelectionsEqual.js +8 -0
- package/node_modules/@pierre/diffs/dist/utils/areSelectionsEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areThemesEqual.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/areThemesEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areThemesEqual.js +9 -0
- package/node_modules/@pierre/diffs/dist/utils/areThemesEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areVirtualWindowSpecsEqual.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/areVirtualWindowSpecsEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areVirtualWindowSpecsEqual.js +9 -0
- package/node_modules/@pierre/diffs/dist/utils/areVirtualWindowSpecsEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areWorkerStatsEqual.d.ts +6 -0
- package/node_modules/@pierre/diffs/dist/utils/areWorkerStatsEqual.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/areWorkerStatsEqual.js +9 -0
- package/node_modules/@pierre/diffs/dist/utils/areWorkerStatsEqual.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/awaitWithTimeout.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/awaitWithTimeout.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/awaitWithTimeout.js +15 -0
- package/node_modules/@pierre/diffs/dist/utils/awaitWithTimeout.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/cleanLastNewline.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/cleanLastNewline.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/cleanLastNewline.js +13 -0
- package/node_modules/@pierre/diffs/dist/utils/cleanLastNewline.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/cloneFileDiffMetadata.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/cloneFileDiffMetadata.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/cloneFileDiffMetadata.js +16 -0
- package/node_modules/@pierre/diffs/dist/utils/cloneFileDiffMetadata.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/computeEstimatedDiffHeights.d.ts +30 -0
- package/node_modules/@pierre/diffs/dist/utils/computeEstimatedDiffHeights.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/computeEstimatedDiffHeights.js +106 -0
- package/node_modules/@pierre/diffs/dist/utils/computeEstimatedDiffHeights.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/computeFileOffsets.d.ts +21 -0
- package/node_modules/@pierre/diffs/dist/utils/computeFileOffsets.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/computeFileOffsets.js +80 -0
- package/node_modules/@pierre/diffs/dist/utils/computeFileOffsets.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/computeVirtualFileMetrics.d.ts +11 -0
- package/node_modules/@pierre/diffs/dist/utils/computeVirtualFileMetrics.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/computeVirtualFileMetrics.js +31 -0
- package/node_modules/@pierre/diffs/dist/utils/computeVirtualFileMetrics.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createAnnotationElement.d.ts +8 -0
- package/node_modules/@pierre/diffs/dist/utils/createAnnotationElement.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createAnnotationElement.js +20 -0
- package/node_modules/@pierre/diffs/dist/utils/createAnnotationElement.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createAnnotationWrapperNode.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/createAnnotationWrapperNode.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createAnnotationWrapperNode.js +12 -0
- package/node_modules/@pierre/diffs/dist/utils/createAnnotationWrapperNode.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createCodeViewHeaderFooterHostElement.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/createCodeViewHeaderFooterHostElement.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createCodeViewHeaderFooterHostElement.js +19 -0
- package/node_modules/@pierre/diffs/dist/utils/createCodeViewHeaderFooterHostElement.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createContentColumn.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/createContentColumn.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createContentColumn.js +16 -0
- package/node_modules/@pierre/diffs/dist/utils/createContentColumn.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createEmptyRowBuffer.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/createEmptyRowBuffer.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createEmptyRowBuffer.js +16 -0
- package/node_modules/@pierre/diffs/dist/utils/createEmptyRowBuffer.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createFileHeaderElement.d.ts +17 -0
- package/node_modules/@pierre/diffs/dist/utils/createFileHeaderElement.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createFileHeaderElement.js +98 -0
- package/node_modules/@pierre/diffs/dist/utils/createFileHeaderElement.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createGutterUtilityContentNode.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/createGutterUtilityContentNode.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createGutterUtilityContentNode.js +16 -0
- package/node_modules/@pierre/diffs/dist/utils/createGutterUtilityContentNode.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createGutterUtilityElement.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/createGutterUtilityElement.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createGutterUtilityElement.js +19 -0
- package/node_modules/@pierre/diffs/dist/utils/createGutterUtilityElement.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createNoNewlineElement.d.ts +8 -0
- package/node_modules/@pierre/diffs/dist/utils/createNoNewlineElement.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createNoNewlineElement.js +20 -0
- package/node_modules/@pierre/diffs/dist/utils/createNoNewlineElement.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createPreElement.d.ts +18 -0
- package/node_modules/@pierre/diffs/dist/utils/createPreElement.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createPreElement.js +25 -0
- package/node_modules/@pierre/diffs/dist/utils/createPreElement.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createRowNodes.d.ts +8 -0
- package/node_modules/@pierre/diffs/dist/utils/createRowNodes.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createRowNodes.js +20 -0
- package/node_modules/@pierre/diffs/dist/utils/createRowNodes.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createSeparator.d.ts +25 -0
- package/node_modules/@pierre/diffs/dist/utils/createSeparator.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createSeparator.js +87 -0
- package/node_modules/@pierre/diffs/dist/utils/createSeparator.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createSpanNodeFromToken.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/createSpanNodeFromToken.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createSpanNodeFromToken.js +12 -0
- package/node_modules/@pierre/diffs/dist/utils/createSpanNodeFromToken.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createStyleElement.d.ts +8 -0
- package/node_modules/@pierre/diffs/dist/utils/createStyleElement.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createStyleElement.js +25 -0
- package/node_modules/@pierre/diffs/dist/utils/createStyleElement.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createTransformerWithState.d.ts +13 -0
- package/node_modules/@pierre/diffs/dist/utils/createTransformerWithState.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createTransformerWithState.js +89 -0
- package/node_modules/@pierre/diffs/dist/utils/createTransformerWithState.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createUnsafeCSSStyleNode.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/createUnsafeCSSStyleNode.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createUnsafeCSSStyleNode.js +11 -0
- package/node_modules/@pierre/diffs/dist/utils/createUnsafeCSSStyleNode.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createWindowFromScrollPosition.d.ts +22 -0
- package/node_modules/@pierre/diffs/dist/utils/createWindowFromScrollPosition.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/createWindowFromScrollPosition.js +27 -0
- package/node_modules/@pierre/diffs/dist/utils/createWindowFromScrollPosition.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/cssWrappers.d.ts +10 -0
- package/node_modules/@pierre/diffs/dist/utils/cssWrappers.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/cssWrappers.js +40 -0
- package/node_modules/@pierre/diffs/dist/utils/cssWrappers.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/detachString.d.ts +6 -0
- package/node_modules/@pierre/diffs/dist/utils/detachString.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/detachString.js +21 -0
- package/node_modules/@pierre/diffs/dist/utils/detachString.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/diffAcceptRejectHunk.d.ts +8 -0
- package/node_modules/@pierre/diffs/dist/utils/diffAcceptRejectHunk.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/diffAcceptRejectHunk.js +31 -0
- package/node_modules/@pierre/diffs/dist/utils/diffAcceptRejectHunk.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/editSessionHunks.d.ts +66 -0
- package/node_modules/@pierre/diffs/dist/utils/editSessionHunks.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/editSessionHunks.js +437 -0
- package/node_modules/@pierre/diffs/dist/utils/editSessionHunks.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/formatCSSVariablePrefix.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/formatCSSVariablePrefix.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/formatCSSVariablePrefix.js +8 -0
- package/node_modules/@pierre/diffs/dist/utils/formatCSSVariablePrefix.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getDiffFileInput.d.ts +14 -0
- package/node_modules/@pierre/diffs/dist/utils/getDiffFileInput.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getDiffFileInput.js +24 -0
- package/node_modules/@pierre/diffs/dist/utils/getDiffFileInput.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getDiffHunksRendererOptions.d.ts +8 -0
- package/node_modules/@pierre/diffs/dist/utils/getDiffHunksRendererOptions.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getDiffHunksRendererOptions.js +33 -0
- package/node_modules/@pierre/diffs/dist/utils/getDiffHunksRendererOptions.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getFileRendererOptions.d.ts +8 -0
- package/node_modules/@pierre/diffs/dist/utils/getFileRendererOptions.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getFileRendererOptions.js +25 -0
- package/node_modules/@pierre/diffs/dist/utils/getFileRendererOptions.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getFiletypeFromFileName.d.ts +12 -0
- package/node_modules/@pierre/diffs/dist/utils/getFiletypeFromFileName.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getFiletypeFromFileName.js +390 -0
- package/node_modules/@pierre/diffs/dist/utils/getFiletypeFromFileName.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getHighlighterOptions.d.ts +19 -0
- package/node_modules/@pierre/diffs/dist/utils/getHighlighterOptions.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getHighlighterOptions.js +13 -0
- package/node_modules/@pierre/diffs/dist/utils/getHighlighterOptions.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getHighlighterThemeStyles.d.ts +16 -0
- package/node_modules/@pierre/diffs/dist/utils/getHighlighterThemeStyles.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getHighlighterThemeStyles.js +43 -0
- package/node_modules/@pierre/diffs/dist/utils/getHighlighterThemeStyles.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getHunkSeparatorSlotName.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/getHunkSeparatorSlotName.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getHunkSeparatorSlotName.js +8 -0
- package/node_modules/@pierre/diffs/dist/utils/getHunkSeparatorSlotName.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getHunkSideBoundaries.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/getHunkSideBoundaries.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getHunkSideBoundaries.js +12 -0
- package/node_modules/@pierre/diffs/dist/utils/getHunkSideBoundaries.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getIconForType.d.ts +8 -0
- package/node_modules/@pierre/diffs/dist/utils/getIconForType.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getIconForType.js +15 -0
- package/node_modules/@pierre/diffs/dist/utils/getIconForType.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getLineAnnotationName.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/getLineAnnotationName.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getLineAnnotationName.js +8 -0
- package/node_modules/@pierre/diffs/dist/utils/getLineAnnotationName.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getLineEndingType.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/getLineEndingType.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getLineEndingType.js +11 -0
- package/node_modules/@pierre/diffs/dist/utils/getLineEndingType.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getLineNodes.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/getLineNodes.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getLineNodes.js +15 -0
- package/node_modules/@pierre/diffs/dist/utils/getLineNodes.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getMergeConflictActionSlotName.d.ts +14 -0
- package/node_modules/@pierre/diffs/dist/utils/getMergeConflictActionSlotName.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getMergeConflictActionSlotName.js +8 -0
- package/node_modules/@pierre/diffs/dist/utils/getMergeConflictActionSlotName.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getMergeConflictLineTypes.d.ts +14 -0
- package/node_modules/@pierre/diffs/dist/utils/getMergeConflictLineTypes.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getMergeConflictLineTypes.js +75 -0
- package/node_modules/@pierre/diffs/dist/utils/getMergeConflictLineTypes.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getOrCreateCodeNode.d.ts +18 -0
- package/node_modules/@pierre/diffs/dist/utils/getOrCreateCodeNode.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getOrCreateCodeNode.js +18 -0
- package/node_modules/@pierre/diffs/dist/utils/getOrCreateCodeNode.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getSingularPatch.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/getSingularPatch.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getSingularPatch.js +19 -0
- package/node_modules/@pierre/diffs/dist/utils/getSingularPatch.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getThemes.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/getThemes.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getThemes.js +15 -0
- package/node_modules/@pierre/diffs/dist/utils/getThemes.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getTotalLineCountFromHunks.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/getTotalLineCountFromHunks.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/getTotalLineCountFromHunks.js +11 -0
- package/node_modules/@pierre/diffs/dist/utils/getTotalLineCountFromHunks.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/guardWebKitScrollDuringRebuild.d.ts +20 -0
- package/node_modules/@pierre/diffs/dist/utils/guardWebKitScrollDuringRebuild.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/guardWebKitScrollDuringRebuild.js +34 -0
- package/node_modules/@pierre/diffs/dist/utils/guardWebKitScrollDuringRebuild.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/hast_utils.d.ts +35 -0
- package/node_modules/@pierre/diffs/dist/utils/hast_utils.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/hast_utils.js +76 -0
- package/node_modules/@pierre/diffs/dist/utils/hast_utils.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/hostTheme.d.ts +15 -0
- package/node_modules/@pierre/diffs/dist/utils/hostTheme.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/hostTheme.js +21 -0
- package/node_modules/@pierre/diffs/dist/utils/hostTheme.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/hydratePartialDiff.d.ts +10 -0
- package/node_modules/@pierre/diffs/dist/utils/hydratePartialDiff.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/hydratePartialDiff.js +141 -0
- package/node_modules/@pierre/diffs/dist/utils/hydratePartialDiff.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/includesFileAnnotations.d.ts +17 -0
- package/node_modules/@pierre/diffs/dist/utils/includesFileAnnotations.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/includesFileAnnotations.js +19 -0
- package/node_modules/@pierre/diffs/dist/utils/includesFileAnnotations.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/isDefaultRenderRange.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/isDefaultRenderRange.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/isDefaultRenderRange.js +8 -0
- package/node_modules/@pierre/diffs/dist/utils/isDefaultRenderRange.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/isDiffPlainText.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/isDiffPlainText.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/isDiffPlainText.js +11 -0
- package/node_modules/@pierre/diffs/dist/utils/isDiffPlainText.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/isFilePlainText.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/isFilePlainText.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/isFilePlainText.js +9 -0
- package/node_modules/@pierre/diffs/dist/utils/isFilePlainText.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/isGutterUtilityPath.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/isGutterUtilityPath.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/isGutterUtilityPath.js +12 -0
- package/node_modules/@pierre/diffs/dist/utils/isGutterUtilityPath.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/isStyleNode.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/isStyleNode.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/isStyleNode.js +10 -0
- package/node_modules/@pierre/diffs/dist/utils/isStyleNode.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/isWorkerContext.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/isWorkerContext.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/isWorkerContext.js +8 -0
- package/node_modules/@pierre/diffs/dist/utils/isWorkerContext.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/iterateOverDiff.d.ts +55 -0
- package/node_modules/@pierre/diffs/dist/utils/iterateOverDiff.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/iterateOverDiff.js +493 -0
- package/node_modules/@pierre/diffs/dist/utils/iterateOverDiff.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/normalizeDiffResolution.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/normalizeDiffResolution.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/normalizeDiffResolution.js +11 -0
- package/node_modules/@pierre/diffs/dist/utils/normalizeDiffResolution.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/parseDiffDecorations.d.ts +31 -0
- package/node_modules/@pierre/diffs/dist/utils/parseDiffDecorations.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/parseDiffDecorations.js +33 -0
- package/node_modules/@pierre/diffs/dist/utils/parseDiffDecorations.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/parseDiffFromFile.d.ts +14 -0
- package/node_modules/@pierre/diffs/dist/utils/parseDiffFromFile.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/parseDiffFromFile.js +47 -0
- package/node_modules/@pierre/diffs/dist/utils/parseDiffFromFile.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/parseLineType.d.ts +11 -0
- package/node_modules/@pierre/diffs/dist/utils/parseLineType.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/parseLineType.js +17 -0
- package/node_modules/@pierre/diffs/dist/utils/parseLineType.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/parseMergeConflictDiffFromFile.d.ts +30 -0
- package/node_modules/@pierre/diffs/dist/utils/parseMergeConflictDiffFromFile.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/parseMergeConflictDiffFromFile.js +503 -0
- package/node_modules/@pierre/diffs/dist/utils/parseMergeConflictDiffFromFile.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/parsePatchFiles.d.ts +24 -0
- package/node_modules/@pierre/diffs/dist/utils/parsePatchFiles.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/parsePatchFiles.js +503 -0
- package/node_modules/@pierre/diffs/dist/utils/parsePatchFiles.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/platform.d.ts +14 -0
- package/node_modules/@pierre/diffs/dist/utils/platform.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/platform.js +32 -0
- package/node_modules/@pierre/diffs/dist/utils/platform.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/prefersReducedMotion.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/prefersReducedMotion.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/prefersReducedMotion.js +9 -0
- package/node_modules/@pierre/diffs/dist/utils/prefersReducedMotion.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/prerenderHTMLIfNecessary.d.ts +5 -0
- package/node_modules/@pierre/diffs/dist/utils/prerenderHTMLIfNecessary.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/prerenderHTMLIfNecessary.js +10 -0
- package/node_modules/@pierre/diffs/dist/utils/prerenderHTMLIfNecessary.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/processLine.d.ts +8 -0
- package/node_modules/@pierre/diffs/dist/utils/processLine.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/processLine.js +25 -0
- package/node_modules/@pierre/diffs/dist/utils/processLine.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/realignChangeContent.d.ts +33 -0
- package/node_modules/@pierre/diffs/dist/utils/realignChangeContent.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/realignChangeContent.js +148 -0
- package/node_modules/@pierre/diffs/dist/utils/realignChangeContent.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/renderDiffWithHighlighter.d.ts +13 -0
- package/node_modules/@pierre/diffs/dist/utils/renderDiffWithHighlighter.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/renderDiffWithHighlighter.js +264 -0
- package/node_modules/@pierre/diffs/dist/utils/renderDiffWithHighlighter.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/renderFileWithHighlighter.d.ts +16 -0
- package/node_modules/@pierre/diffs/dist/utils/renderFileWithHighlighter.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/renderFileWithHighlighter.js +68 -0
- package/node_modules/@pierre/diffs/dist/utils/renderFileWithHighlighter.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/resolveConflict.d.ts +7 -0
- package/node_modules/@pierre/diffs/dist/utils/resolveConflict.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/resolveConflict.js +22 -0
- package/node_modules/@pierre/diffs/dist/utils/resolveConflict.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/resolveRegion.d.ts +14 -0
- package/node_modules/@pierre/diffs/dist/utils/resolveRegion.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/resolveRegion.js +238 -0
- package/node_modules/@pierre/diffs/dist/utils/resolveRegion.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/roundToDevicePixel.d.ts +14 -0
- package/node_modules/@pierre/diffs/dist/utils/roundToDevicePixel.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/roundToDevicePixel.js +18 -0
- package/node_modules/@pierre/diffs/dist/utils/roundToDevicePixel.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/scrollbarGutter.d.ts +6 -0
- package/node_modules/@pierre/diffs/dist/utils/scrollbarGutter.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/scrollbarGutter.js +27 -0
- package/node_modules/@pierre/diffs/dist/utils/scrollbarGutter.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/setLanguageOverride.d.ts +8 -0
- package/node_modules/@pierre/diffs/dist/utils/setLanguageOverride.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/setLanguageOverride.js +11 -0
- package/node_modules/@pierre/diffs/dist/utils/setLanguageOverride.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/setWrapperNodeProps.d.ts +16 -0
- package/node_modules/@pierre/diffs/dist/utils/setWrapperNodeProps.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/setWrapperNodeProps.js +36 -0
- package/node_modules/@pierre/diffs/dist/utils/setWrapperNodeProps.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/shouldUseTokenTransformer.d.ts +13 -0
- package/node_modules/@pierre/diffs/dist/utils/shouldUseTokenTransformer.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/shouldUseTokenTransformer.js +8 -0
- package/node_modules/@pierre/diffs/dist/utils/shouldUseTokenTransformer.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/splitFileContents.d.ts +12 -0
- package/node_modules/@pierre/diffs/dist/utils/splitFileContents.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/splitFileContents.js +16 -0
- package/node_modules/@pierre/diffs/dist/utils/splitFileContents.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/trimPatchContext.d.ts +11 -0
- package/node_modules/@pierre/diffs/dist/utils/trimPatchContext.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/trimPatchContext.js +97 -0
- package/node_modules/@pierre/diffs/dist/utils/trimPatchContext.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/updateDiffHunks.d.ts +24 -0
- package/node_modules/@pierre/diffs/dist/utils/updateDiffHunks.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/updateDiffHunks.js +236 -0
- package/node_modules/@pierre/diffs/dist/utils/updateDiffHunks.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/virtualDiffLayout.d.ts +127 -0
- package/node_modules/@pierre/diffs/dist/utils/virtualDiffLayout.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/virtualDiffLayout.js +235 -0
- package/node_modules/@pierre/diffs/dist/utils/virtualDiffLayout.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/wrapTokenFragments.d.ts +10 -0
- package/node_modules/@pierre/diffs/dist/utils/wrapTokenFragments.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/utils/wrapTokenFragments.js +81 -0
- package/node_modules/@pierre/diffs/dist/utils/wrapTokenFragments.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/worker/WorkerPoolManager.d.ts +128 -0
- package/node_modules/@pierre/diffs/dist/worker/WorkerPoolManager.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/worker/WorkerPoolManager.js +885 -0
- package/node_modules/@pierre/diffs/dist/worker/WorkerPoolManager.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/worker/getOrCreateWorkerPoolSingleton.d.ts +16 -0
- package/node_modules/@pierre/diffs/dist/worker/getOrCreateWorkerPoolSingleton.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/worker/getOrCreateWorkerPoolSingleton.js +16 -0
- package/node_modules/@pierre/diffs/dist/worker/getOrCreateWorkerPoolSingleton.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/worker/index.d.ts +4 -0
- package/node_modules/@pierre/diffs/dist/worker/index.js +3 -0
- package/node_modules/@pierre/diffs/dist/worker/types.d.ts +173 -0
- package/node_modules/@pierre/diffs/dist/worker/types.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/dist/worker/types.js +0 -0
- package/node_modules/@pierre/diffs/dist/worker/wasm-B9ZqxnKj.js +8 -0
- package/node_modules/@pierre/diffs/dist/worker/wasm-B9ZqxnKj.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/worker/worker-portable.d.ts +1 -0
- package/node_modules/@pierre/diffs/dist/worker/worker-portable.js +13633 -0
- package/node_modules/@pierre/diffs/dist/worker/worker-portable.js.map +1 -0
- package/node_modules/@pierre/diffs/dist/worker/worker.d.ts +1 -0
- package/node_modules/@pierre/diffs/dist/worker/worker.js +1804 -0
- package/node_modules/@pierre/diffs/dist/worker/worker.js.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/CONTRIBUTING.md +28 -0
- package/node_modules/@pierre/diffs/node_modules/diff/LICENSE +29 -0
- package/node_modules/@pierre/diffs/node_modules/diff/README.md +468 -0
- package/node_modules/@pierre/diffs/node_modules/diff/dist/diff.js +2313 -0
- package/node_modules/@pierre/diffs/node_modules/diff/dist/diff.min.js +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/eslint.config.mjs +182 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/convert/dmp.d.ts +8 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/convert/dmp.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/convert/dmp.js +24 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/convert/xml.d.ts +6 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/convert/xml.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/convert/xml.js +34 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/diff/array.d.ts +19 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/diff/array.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/diff/array.js +23 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/diff/base.d.ts +20 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/diff/base.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/diff/base.js +256 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/diff/character.d.ts +19 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/diff/character.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/diff/character.js +14 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/diff/css.d.ts +18 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/diff/css.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/diff/css.js +17 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/diff/json.d.ts +24 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/diff/json.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/diff/json.js +86 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/diff/line.d.ts +24 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/diff/line.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/diff/line.js +74 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/diff/sentence.d.ts +21 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/diff/sentence.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/diff/sentence.js +50 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/diff/word.d.ts +35 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/diff/word.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/diff/word.js +289 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/index.d.ts +20 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/index.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/index.js +67 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/package.json +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/patch/apply.d.ts +62 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/patch/apply.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/patch/apply.js +264 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/patch/create.d.ts +131 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/patch/create.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/patch/create.js +364 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/patch/line-endings.d.ts +17 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/patch/line-endings.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/patch/line-endings.js +50 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/patch/parse.d.ts +16 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/patch/parse.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/patch/parse.js +515 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/patch/reverse.d.ts +22 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/patch/reverse.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/patch/reverse.js +63 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/types.d.ts +260 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/types.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/types.js +2 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/util/array.d.ts +3 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/util/array.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/util/array.js +21 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/util/distance-iterator.d.ts +2 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/util/distance-iterator.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/util/distance-iterator.js +40 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/util/params.d.ts +4 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/util/params.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/util/params.js +17 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/util/string.d.ts +30 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/util/string.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libcjs/util/string.js +199 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/convert/dmp.d.ts +8 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/convert/dmp.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/convert/dmp.js +21 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/convert/xml.d.ts +6 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/convert/xml.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/convert/xml.js +31 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/diff/array.d.ts +19 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/diff/array.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/diff/array.js +16 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/diff/base.d.ts +20 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/diff/base.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/diff/base.js +253 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/diff/character.d.ts +19 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/diff/character.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/diff/character.js +7 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/diff/css.d.ts +18 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/diff/css.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/diff/css.js +10 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/diff/json.d.ts +24 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/diff/json.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/diff/json.js +78 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/diff/line.d.ts +24 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/diff/line.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/diff/line.js +65 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/diff/sentence.d.ts +21 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/diff/sentence.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/diff/sentence.js +43 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/diff/word.d.ts +35 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/diff/word.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/diff/word.js +281 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/index.d.ts +20 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/index.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/index.js +30 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/package.json +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/patch/apply.d.ts +62 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/patch/apply.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/patch/apply.js +257 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/patch/create.d.ts +131 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/patch/create.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/patch/create.js +357 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/patch/line-endings.d.ts +17 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/patch/line-endings.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/patch/line-endings.js +44 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/patch/parse.d.ts +16 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/patch/parse.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/patch/parse.js +512 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/patch/reverse.d.ts +22 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/patch/reverse.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/patch/reverse.js +60 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/types.d.ts +260 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/types.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/types.js +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/util/array.d.ts +3 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/util/array.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/util/array.js +17 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/util/distance-iterator.d.ts +2 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/util/distance-iterator.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/util/distance-iterator.js +37 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/util/params.d.ts +4 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/util/params.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/util/params.js +14 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/util/string.d.ts +30 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/util/string.d.ts.map +1 -0
- package/node_modules/@pierre/diffs/node_modules/diff/libesm/util/string.js +184 -0
- package/node_modules/@pierre/diffs/node_modules/diff/package.json +130 -0
- package/node_modules/@pierre/diffs/node_modules/diff/release-notes.md +474 -0
- package/node_modules/@pierre/diffs/package.json +100 -0
- package/node_modules/@pierre/theme/LICENSE +189 -0
- package/node_modules/@pierre/theme/NOTICE.md +32 -0
- package/node_modules/@pierre/theme/README.md +51 -0
- package/node_modules/@pierre/theme/dist/index.d.mts +1 -0
- package/node_modules/@pierre/theme/dist/index.mjs +1 -0
- package/node_modules/@pierre/theme/dist/pierre-dark-protanopia-deuteranopia.d.mts +16 -0
- package/node_modules/@pierre/theme/dist/pierre-dark-protanopia-deuteranopia.mjs +1 -0
- package/node_modules/@pierre/theme/dist/pierre-dark-soft.d.mts +16 -0
- package/node_modules/@pierre/theme/dist/pierre-dark-soft.mjs +1 -0
- package/node_modules/@pierre/theme/dist/pierre-dark-tritanopia.d.mts +16 -0
- package/node_modules/@pierre/theme/dist/pierre-dark-tritanopia.mjs +1 -0
- package/node_modules/@pierre/theme/dist/pierre-dark-vibrant.d.mts +16 -0
- package/node_modules/@pierre/theme/dist/pierre-dark-vibrant.mjs +1 -0
- package/node_modules/@pierre/theme/dist/pierre-dark.d.mts +16 -0
- package/node_modules/@pierre/theme/dist/pierre-dark.mjs +1 -0
- package/node_modules/@pierre/theme/dist/pierre-light-protanopia-deuteranopia.d.mts +16 -0
- package/node_modules/@pierre/theme/dist/pierre-light-protanopia-deuteranopia.mjs +1 -0
- package/node_modules/@pierre/theme/dist/pierre-light-soft.d.mts +16 -0
- package/node_modules/@pierre/theme/dist/pierre-light-soft.mjs +1 -0
- package/node_modules/@pierre/theme/dist/pierre-light-tritanopia.d.mts +16 -0
- package/node_modules/@pierre/theme/dist/pierre-light-tritanopia.mjs +1 -0
- package/node_modules/@pierre/theme/dist/pierre-light-vibrant.d.mts +16 -0
- package/node_modules/@pierre/theme/dist/pierre-light-vibrant.mjs +1 -0
- package/node_modules/@pierre/theme/dist/pierre-light.d.mts +16 -0
- package/node_modules/@pierre/theme/dist/pierre-light.mjs +1 -0
- package/node_modules/@pierre/theme/icon.png +0 -0
- package/node_modules/@pierre/theme/package.json +158 -0
- package/node_modules/@pierre/theme/themes/pierre-dark-protanopia-deuteranopia.json +1961 -0
- package/node_modules/@pierre/theme/themes/pierre-dark-soft.json +1961 -0
- package/node_modules/@pierre/theme/themes/pierre-dark-tritanopia.json +1961 -0
- package/node_modules/@pierre/theme/themes/pierre-dark-vibrant.json +1961 -0
- package/node_modules/@pierre/theme/themes/pierre-dark.json +1961 -0
- package/node_modules/@pierre/theme/themes/pierre-light-protanopia-deuteranopia.json +1961 -0
- package/node_modules/@pierre/theme/themes/pierre-light-soft.json +1961 -0
- package/node_modules/@pierre/theme/themes/pierre-light-tritanopia.json +1961 -0
- package/node_modules/@pierre/theme/themes/pierre-light-vibrant.json +1961 -0
- package/node_modules/@pierre/theme/themes/pierre-light.json +1961 -0
- package/node_modules/@pierre/theming/LICENSE.md +189 -0
- package/node_modules/@pierre/theming/README.md +590 -0
- package/node_modules/@pierre/theming/dist/collections/pierre.d.ts +7 -0
- package/node_modules/@pierre/theming/dist/collections/pierre.d.ts.map +1 -0
- package/node_modules/@pierre/theming/dist/collections/pierre.js +62 -0
- package/node_modules/@pierre/theming/dist/collections/pierre.js.map +1 -0
- package/node_modules/@pierre/theming/dist/collections/shiki.d.ts +7 -0
- package/node_modules/@pierre/theming/dist/collections/shiki.d.ts.map +1 -0
- package/node_modules/@pierre/theming/dist/collections/shiki.js +158 -0
- package/node_modules/@pierre/theming/dist/collections/shiki.js.map +1 -0
- package/node_modules/@pierre/theming/dist/color.d.ts +19 -0
- package/node_modules/@pierre/theming/dist/color.d.ts.map +1 -0
- package/node_modules/@pierre/theming/dist/color.js +26 -0
- package/node_modules/@pierre/theming/dist/color.js.map +1 -0
- package/node_modules/@pierre/theming/dist/index.d.ts +6 -0
- package/node_modules/@pierre/theming/dist/index.js +5 -0
- package/node_modules/@pierre/theming/dist/modules/color.d.ts +19 -0
- package/node_modules/@pierre/theming/dist/modules/color.d.ts.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/color.js +145 -0
- package/node_modules/@pierre/theming/dist/modules/color.js.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/createTheme.d.ts +22 -0
- package/node_modules/@pierre/theming/dist/modules/createTheme.d.ts.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/createTheme.js +21 -0
- package/node_modules/@pierre/theming/dist/modules/createTheme.js.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeCatalog.d.ts +16 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeCatalog.d.ts.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeCatalog.js +16 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeCatalog.js.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeCollection.d.ts +35 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeCollection.d.ts.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeCollection.js +94 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeCollection.js.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeController.d.ts +60 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeController.d.ts.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeController.js +268 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeController.js.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeResolver.d.ts +35 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeResolver.d.ts.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeResolver.js +115 -0
- package/node_modules/@pierre/theming/dist/modules/createThemeResolver.js.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/normalizeThemeColors.d.ts +7 -0
- package/node_modules/@pierre/theming/dist/modules/normalizeThemeColors.d.ts.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/normalizeThemeColors.js +88 -0
- package/node_modules/@pierre/theming/dist/modules/normalizeThemeColors.js.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/types.d.ts +13 -0
- package/node_modules/@pierre/theming/dist/modules/types.d.ts.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/types.js +0 -0
- package/node_modules/@pierre/theming/dist/modules/unwrapDefault.d.ts +8 -0
- package/node_modules/@pierre/theming/dist/modules/unwrapDefault.d.ts.map +1 -0
- package/node_modules/@pierre/theming/dist/modules/unwrapDefault.js +8 -0
- package/node_modules/@pierre/theming/dist/modules/unwrapDefault.js.map +1 -0
- package/node_modules/@pierre/theming/dist/react.d.ts +7 -0
- package/node_modules/@pierre/theming/dist/react.d.ts.map +1 -0
- package/node_modules/@pierre/theming/dist/react.js +16 -0
- package/node_modules/@pierre/theming/dist/react.js.map +1 -0
- package/node_modules/@pierre/theming/dist/themes.d.ts +10 -0
- package/node_modules/@pierre/theming/dist/themes.d.ts.map +1 -0
- package/node_modules/@pierre/theming/dist/themes.js +15 -0
- package/node_modules/@pierre/theming/dist/themes.js.map +1 -0
- package/node_modules/@pierre/theming/package.json +86 -0
- package/node_modules/@shikijs/core/LICENSE +22 -0
- package/node_modules/@shikijs/core/README.md +5 -0
- package/node_modules/@shikijs/core/dist/index.d.mts +227 -0
- package/node_modules/@shikijs/core/dist/index.mjs +1425 -0
- package/node_modules/@shikijs/core/dist/textmate.d.mts +1 -0
- package/node_modules/@shikijs/core/dist/textmate.mjs +2 -0
- package/node_modules/@shikijs/core/dist/types.d.mts +1 -0
- package/node_modules/@shikijs/core/dist/types.mjs +2 -0
- package/node_modules/@shikijs/core/package.json +60 -0
- package/node_modules/@shikijs/engine-javascript/LICENSE +22 -0
- package/node_modules/@shikijs/engine-javascript/README.md +9 -0
- package/node_modules/@shikijs/engine-javascript/dist/engine-compile-Bdn9ihA2.d.mts +63 -0
- package/node_modules/@shikijs/engine-javascript/dist/engine-compile.d.mts +2 -0
- package/node_modules/@shikijs/engine-javascript/dist/engine-compile.mjs +47 -0
- package/node_modules/@shikijs/engine-javascript/dist/engine-raw.d.mts +12 -0
- package/node_modules/@shikijs/engine-javascript/dist/engine-raw.mjs +27 -0
- package/node_modules/@shikijs/engine-javascript/dist/index.d.mts +3 -0
- package/node_modules/@shikijs/engine-javascript/dist/index.mjs +4 -0
- package/node_modules/@shikijs/engine-javascript/dist/scanner-DX8LRFGE.mjs +77 -0
- package/node_modules/@shikijs/engine-javascript/package.json +42 -0
- package/node_modules/@shikijs/engine-oniguruma/LICENSE +22 -0
- package/node_modules/@shikijs/engine-oniguruma/README.md +9 -0
- package/node_modules/@shikijs/engine-oniguruma/dist/chunk-index.d.d.mts +70 -0
- package/node_modules/@shikijs/engine-oniguruma/dist/index.d.mts +16 -0
- package/node_modules/@shikijs/engine-oniguruma/dist/index.mjs +449 -0
- package/node_modules/@shikijs/engine-oniguruma/dist/onig.d.mts +1 -0
- package/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.d.mts +6 -0
- package/node_modules/@shikijs/engine-oniguruma/dist/wasm-inlined.mjs +8 -0
- package/node_modules/@shikijs/engine-oniguruma/package.json +45 -0
- package/node_modules/@shikijs/langs/LICENSE +22 -0
- package/node_modules/@shikijs/langs/README.md +7 -0
- package/node_modules/@shikijs/langs/dist/1c-query.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/1c-query.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/1c.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/1c.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/abap.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/abap.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/actionscript-3.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/actionscript-3.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/actionscript.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/actionscript.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/ada.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ada.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/adoc.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/adoc.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/ahk.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ahk.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/ahk1.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ahk1.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/ahk2.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ahk2.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/angular-expression.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/angular-expression.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/angular-html.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/angular-html.mjs +16 -0
- package/node_modules/@shikijs/langs/dist/angular-inline-style.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/angular-inline-style.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/angular-inline-template.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/angular-inline-template.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/angular-let-declaration.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/angular-let-declaration.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/angular-template-blocks.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/angular-template-blocks.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/angular-template.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/angular-template.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/angular-ts.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/angular-ts.mjs +18 -0
- package/node_modules/@shikijs/langs/dist/apache.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/apache.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/apex.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/apex.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/apl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/apl.mjs +16 -0
- package/node_modules/@shikijs/langs/dist/applescript.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/applescript.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/ara.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ara.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/as3.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/as3.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/asciidoc.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/asciidoc.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/asm.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/asm.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/astro.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/astro.mjs +18 -0
- package/node_modules/@shikijs/langs/dist/awk.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/awk.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/ballerina.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ballerina.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/bash.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/bash.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/bat.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/bat.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/batch.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/batch.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/be.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/be.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/beancount.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/beancount.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/berry.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/berry.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/bibtex.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/bibtex.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/bicep.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/bicep.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/bird.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/bird.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/bird2.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/bird2.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/blade.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/blade.mjs +20 -0
- package/node_modules/@shikijs/langs/dist/bsl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/bsl.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/c.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/c.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/c3.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/c3.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/cadence.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/cadence.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/cairo.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/cairo.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/cdc.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/cdc.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/chapel.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/chapel.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/chpl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/chpl.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/cjs.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/cjs.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/clarity.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/clarity.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/clj.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/clj.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/clojure.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/clojure.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/closure-templates.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/closure-templates.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/cmake.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/cmake.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/cmd.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/cmd.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/cobol.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/cobol.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/codeowners.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/codeowners.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/codeql.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/codeql.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/coffee.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/coffee.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/coffeescript.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/coffeescript.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/common-lisp.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/common-lisp.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/console.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/console.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/coq.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/coq.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/cpp-macro.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/cpp-macro.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/cpp.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/cpp.mjs +12 -0
- package/node_modules/@shikijs/langs/dist/cql.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/cql.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/crystal.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/crystal.mjs +18 -0
- package/node_modules/@shikijs/langs/dist/cs.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/cs.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/csharp.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/csharp.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/css.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/css.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/csv.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/csv.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/cts.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/cts.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/cue.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/cue.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/cypher.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/cypher.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/d.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/d.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/dart.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/dart.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/dax.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/dax.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/desktop.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/desktop.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/diff.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/diff.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/docker.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/docker.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/dockerfile.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/dockerfile.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/dotenv.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/dotenv.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/dream-maker.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/dream-maker.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/edge.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/edge.mjs +12 -0
- package/node_modules/@shikijs/langs/dist/elisp.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/elisp.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/elixir.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/elixir.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/elm.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/elm.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/emacs-lisp.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/emacs-lisp.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/erb.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/erb.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/erl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/erl.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/erlang.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/erlang.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/es-tag-css.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/es-tag-css.mjs +12 -0
- package/node_modules/@shikijs/langs/dist/es-tag-glsl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/es-tag-glsl.mjs +12 -0
- package/node_modules/@shikijs/langs/dist/es-tag-html.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/es-tag-html.mjs +12 -0
- package/node_modules/@shikijs/langs/dist/es-tag-sql.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/es-tag-sql.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/es-tag-xml.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/es-tag-xml.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/f.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/f.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/f03.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/f03.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/f08.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/f08.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/f18.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/f18.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/f77.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/f77.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/f90.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/f90.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/f95.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/f95.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/fennel.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/fennel.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/fish.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/fish.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/fluent.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/fluent.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/for.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/for.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/fortran-fixed-form.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/fortran-fixed-form.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/fortran-free-form.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/fortran-free-form.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/fs.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/fs.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/fsharp.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/fsharp.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/fsl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/fsl.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/ftl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ftl.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/gd.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/gd.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/gdresource.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/gdresource.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/gdscript.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/gdscript.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/gdshader.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/gdshader.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/genie.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/genie.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/gherkin.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/gherkin.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/git-commit.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/git-commit.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/git-rebase.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/git-rebase.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/gjs.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/gjs.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/gleam.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/gleam.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/glimmer-js.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/glimmer-js.mjs +14 -0
- package/node_modules/@shikijs/langs/dist/glimmer-ts.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/glimmer-ts.mjs +14 -0
- package/node_modules/@shikijs/langs/dist/glsl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/glsl.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/gn.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/gn.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/gnuplot.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/gnuplot.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/go.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/go.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/gql.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/gql.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/graphql.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/graphql.mjs +14 -0
- package/node_modules/@shikijs/langs/dist/groovy.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/groovy.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/gts.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/gts.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/hack.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/hack.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/haml.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/haml.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/handlebars.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/handlebars.mjs +14 -0
- package/node_modules/@shikijs/langs/dist/haskell.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/haskell.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/haxe.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/haxe.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/hbs.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/hbs.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/hcl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/hcl.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/hjson.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/hjson.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/hlsl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/hlsl.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/hs.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/hs.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/html-derivative.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/html-derivative.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/html.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/html.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/http.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/http.mjs +14 -0
- package/node_modules/@shikijs/langs/dist/hurl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/hurl.mjs +12 -0
- package/node_modules/@shikijs/langs/dist/hxml.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/hxml.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/hy.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/hy.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/imba.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/imba.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/index.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/index.mjs +367 -0
- package/node_modules/@shikijs/langs/dist/ini.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ini.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/jade.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/jade.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/java.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/java.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/javascript.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/javascript.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/jinja-html.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/jinja-html.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/jinja.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/jinja.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/jison.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/jison.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/jl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/jl.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/js.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/js.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/json.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/json.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/json5.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/json5.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/jsonc.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/jsonc.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/jsonl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/jsonl.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/jsonnet.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/jsonnet.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/jssm.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/jssm.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/jsx.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/jsx.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/julia.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/julia.mjs +16 -0
- package/node_modules/@shikijs/langs/dist/just.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/just.mjs +18 -0
- package/node_modules/@shikijs/langs/dist/justfile.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/justfile.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/kdl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/kdl.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/kotlin.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/kotlin.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/kql.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/kql.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/kt.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/kt.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/kts.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/kts.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/kusto.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/kusto.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/latex.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/latex.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/lean.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/lean.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/lean4.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/lean4.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/less.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/less.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/liquid.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/liquid.mjs +14 -0
- package/node_modules/@shikijs/langs/dist/lisp.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/lisp.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/lit.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/lit.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/llvm.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/llvm.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/log.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/log.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/logo.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/logo.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/lua.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/lua.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/luau.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/luau.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/make.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/make.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/makefile.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/makefile.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/markdown-nix.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/markdown-nix.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/markdown-vue.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/markdown-vue.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/markdown.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/markdown.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/marko.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/marko.mjs +14 -0
- package/node_modules/@shikijs/langs/dist/matlab.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/matlab.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/mbt.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/mbt.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/mbti.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/mbti.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/md.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/md.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/mdc.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/mdc.mjs +12 -0
- package/node_modules/@shikijs/langs/dist/mdx.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/mdx.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/mediawiki.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/mediawiki.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/mermaid.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/mermaid.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/mips.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/mips.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/mipsasm.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/mipsasm.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/mjs.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/mjs.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/mmd.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/mmd.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/mojo.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/mojo.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/moonbit.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/moonbit.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/move.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/move.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/mts.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/mts.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/nar.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/nar.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/narrat.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/narrat.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/nextflow-groovy.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/nextflow-groovy.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/nextflow.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/nextflow.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/nf.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/nf.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/nginx.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/nginx.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/nim.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/nim.mjs +20 -0
- package/node_modules/@shikijs/langs/dist/nix.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/nix.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/nsis.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/nsis.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/nu.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/nu.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/nushell.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/nushell.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/objc.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/objc.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/objective-c.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/objective-c.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/objective-cpp.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/objective-cpp.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/ocaml.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ocaml.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/odin.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/odin.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/openscad.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/openscad.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/org.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/org.mjs +100 -0
- package/node_modules/@shikijs/langs/dist/pascal.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/pascal.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/perl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/perl.mjs +16 -0
- package/node_modules/@shikijs/langs/dist/perl6.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/perl6.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/php.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/php.mjs +18 -0
- package/node_modules/@shikijs/langs/dist/pkl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/pkl.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/plsql.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/plsql.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/po.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/po.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/polar.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/polar.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/postcss.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/postcss.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/pot.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/pot.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/potx.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/potx.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/powerquery.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/powerquery.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/powershell.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/powershell.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/prisma.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/prisma.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/prolog.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/prolog.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/properties.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/properties.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/proto.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/proto.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/protobuf.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/protobuf.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/ps.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ps.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/ps1.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ps1.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/pug.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/pug.mjs +12 -0
- package/node_modules/@shikijs/langs/dist/puppet.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/puppet.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/purescript.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/purescript.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/pwsh.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/pwsh.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/py.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/py.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/python.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/python.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/ql.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ql.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/qml.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/qml.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/qmldir.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/qmldir.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/qss.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/qss.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/r.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/r.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/racket.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/racket.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/raku.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/raku.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/razor.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/razor.mjs +10 -0
- package/node_modules/@shikijs/langs/dist/rb.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/rb.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/rbs.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/rbs.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/reg.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/reg.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/regex.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/regex.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/regexp.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/regexp.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/rel.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/rel.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/riscv.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/riscv.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/ron.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ron.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/rosmsg.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/rosmsg.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/rs.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/rs.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/rst.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/rst.mjs +22 -0
- package/node_modules/@shikijs/langs/dist/ruby-signature.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ruby-signature.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/ruby.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ruby.mjs +30 -0
- package/node_modules/@shikijs/langs/dist/rust.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/rust.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/sas.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/sas.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/sass.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/sass.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/scad.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/scad.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/scala.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/scala.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/scheme.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/scheme.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/scss.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/scss.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/sdbl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/sdbl.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/sh.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/sh.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/shader.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/shader.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/shaderlab.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/shaderlab.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/shell.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/shell.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/shellscript.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/shellscript.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/shellsession.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/shellsession.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/smalltalk.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/smalltalk.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/smithy.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/smithy.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/solidity.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/solidity.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/soy.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/soy.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/sparql.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/sparql.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/spl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/spl.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/splunk.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/splunk.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/sql.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/sql.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/ssh-config.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ssh-config.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/stata.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/stata.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/styl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/styl.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/stylus.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/stylus.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/surql.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/surql.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/surrealql.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/surrealql.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/svelte.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/svelte.mjs +14 -0
- package/node_modules/@shikijs/langs/dist/swift.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/swift.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/system-verilog.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/system-verilog.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/systemd.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/systemd.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/talon.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/talon.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/talonscript.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/talonscript.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/tasl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/tasl.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/tcl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/tcl.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/templ.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/templ.mjs +12 -0
- package/node_modules/@shikijs/langs/dist/terraform.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/terraform.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/tex.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/tex.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/tf.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/tf.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/tfvars.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/tfvars.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/toml.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/toml.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/tres.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/tres.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/ts-tags.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ts-tags.mjs +18 -0
- package/node_modules/@shikijs/langs/dist/ts.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/ts.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/tscn.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/tscn.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/tsp.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/tsp.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/tsv.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/tsv.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/tsx.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/tsx.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/turtle.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/turtle.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/twig.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/twig.mjs +18 -0
- package/node_modules/@shikijs/langs/dist/typ.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/typ.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/typescript.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/typescript.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/typespec.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/typespec.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/typst.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/typst.mjs +120 -0
- package/node_modules/@shikijs/langs/dist/v.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/v.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/vala.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/vala.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/vb.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/vb.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/verilog.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/verilog.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/vhdl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/vhdl.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/vim.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/vim.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/viml.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/viml.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/vimscript.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/vimscript.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/vue-directives.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/vue-directives.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/vue-html.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/vue-html.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/vue-interpolations.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/vue-interpolations.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/vue-sfc-style-variable-injection.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/vue-sfc-style-variable-injection.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/vue-vine.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/vue-vine.mjs +18 -0
- package/node_modules/@shikijs/langs/dist/vue.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/vue.mjs +26 -0
- package/node_modules/@shikijs/langs/dist/vy.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/vy.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/vyper.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/vyper.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/wasm.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/wasm.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/wenyan.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/wenyan.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/wgsl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/wgsl.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/wiki.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/wiki.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/wikitext.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/wikitext.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/wit.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/wit.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/wl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/wl.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/wolfram.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/wolfram.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/xml.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/xml.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/xsl.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/xsl.mjs +8 -0
- package/node_modules/@shikijs/langs/dist/yaml.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/yaml.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/yml.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/yml.mjs +2 -0
- package/node_modules/@shikijs/langs/dist/zenscript.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/zenscript.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/zig.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/zig.mjs +5 -0
- package/node_modules/@shikijs/langs/dist/zsh.d.mts +3 -0
- package/node_modules/@shikijs/langs/dist/zsh.mjs +2 -0
- package/node_modules/@shikijs/langs/package.json +401 -0
- package/node_modules/@shikijs/primitive/LICENSE +22 -0
- package/node_modules/@shikijs/primitive/dist/index.d.mts +189 -0
- package/node_modules/@shikijs/primitive/dist/index.mjs +834 -0
- package/node_modules/@shikijs/primitive/dist/textmate.d.mts +1 -0
- package/node_modules/@shikijs/primitive/dist/textmate.mjs +2 -0
- package/node_modules/@shikijs/primitive/dist/types.d.mts +1 -0
- package/node_modules/@shikijs/primitive/dist/types.mjs +2 -0
- package/node_modules/@shikijs/primitive/package.json +56 -0
- package/node_modules/@shikijs/themes/LICENSE +22 -0
- package/node_modules/@shikijs/themes/README.md +7 -0
- package/node_modules/@shikijs/themes/dist/andromeeda.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/andromeeda.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/aurora-x.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/aurora-x.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/ayu-dark.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/ayu-dark.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/ayu-light.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/ayu-light.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/ayu-mirage.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/ayu-mirage.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/catppuccin-frappe.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/catppuccin-frappe.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/catppuccin-latte.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/catppuccin-latte.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/catppuccin-macchiato.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/catppuccin-macchiato.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/catppuccin-mocha.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/catppuccin-mocha.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/dark-plus.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/dark-plus.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/dracula-soft.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/dracula-soft.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/dracula.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/dracula.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/everforest-dark.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/everforest-dark.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/everforest-light.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/everforest-light.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/github-dark-default.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/github-dark-default.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/github-dark-dimmed.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/github-dark-dimmed.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/github-dark-high-contrast.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/github-dark-high-contrast.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/github-dark.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/github-dark.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/github-light-default.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/github-light-default.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/github-light-high-contrast.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/github-light-high-contrast.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/github-light.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/github-light.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/gruvbox-dark-hard.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/gruvbox-dark-medium.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/gruvbox-dark-soft.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/gruvbox-light-hard.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/gruvbox-light-hard.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/gruvbox-light-medium.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/gruvbox-light-medium.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/gruvbox-light-soft.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/gruvbox-light-soft.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/horizon-bright.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/horizon-bright.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/horizon.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/horizon.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/houston.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/houston.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/index.d.mts +1 -0
- package/node_modules/@shikijs/themes/dist/index.mjs +67 -0
- package/node_modules/@shikijs/themes/dist/kanagawa-dragon.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/kanagawa-dragon.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/kanagawa-lotus.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/kanagawa-lotus.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/kanagawa-wave.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/kanagawa-wave.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/laserwave.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/laserwave.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/light-plus.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/light-plus.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/material-theme-darker.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/material-theme-darker.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/material-theme-lighter.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/material-theme-lighter.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/material-theme-ocean.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/material-theme-ocean.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/material-theme-palenight.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/material-theme-palenight.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/material-theme.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/material-theme.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/min-dark.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/min-dark.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/min-light.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/min-light.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/monokai.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/monokai.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/night-owl-light.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/night-owl-light.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/night-owl.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/night-owl.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/nord.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/nord.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/one-dark-pro.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/one-dark-pro.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/one-light.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/one-light.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/plastic.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/plastic.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/poimandres.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/poimandres.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/red.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/red.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/rose-pine-dawn.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/rose-pine-dawn.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/rose-pine-moon.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/rose-pine-moon.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/rose-pine.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/rose-pine.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/slack-dark.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/slack-dark.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/slack-ochin.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/slack-ochin.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/snazzy-light.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/snazzy-light.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/solarized-dark.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/solarized-dark.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/solarized-light.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/solarized-light.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/synthwave-84.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/synthwave-84.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/tokyo-night.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/tokyo-night.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/vesper.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/vesper.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/vitesse-black.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/vitesse-black.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/vitesse-dark.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/vitesse-dark.mjs +2 -0
- package/node_modules/@shikijs/themes/dist/vitesse-light.d.mts +3 -0
- package/node_modules/@shikijs/themes/dist/vitesse-light.mjs +2 -0
- package/node_modules/@shikijs/themes/package.json +106 -0
- package/node_modules/@shikijs/transformers/LICENSE +22 -0
- package/node_modules/@shikijs/transformers/README.md +9 -0
- package/node_modules/@shikijs/transformers/dist/index.d.mts +268 -0
- package/node_modules/@shikijs/transformers/dist/index.mjs +744 -0
- package/node_modules/@shikijs/transformers/package.json +40 -0
- package/node_modules/@shikijs/types/LICENSE +22 -0
- package/node_modules/@shikijs/types/README.md +7 -0
- package/node_modules/@shikijs/types/dist/index.d.mts +894 -0
- package/node_modules/@shikijs/types/dist/index.mjs +9 -0
- package/node_modules/@shikijs/types/package.json +39 -0
- package/node_modules/@shikijs/vscode-textmate/LICENSE.md +21 -0
- package/node_modules/@shikijs/vscode-textmate/README.md +9 -0
- package/node_modules/@shikijs/vscode-textmate/dist/index.d.ts +711 -0
- package/node_modules/@shikijs/vscode-textmate/dist/index.js +3216 -0
- package/node_modules/@shikijs/vscode-textmate/package.json +46 -0
- package/node_modules/@types/hast/LICENSE +21 -0
- package/node_modules/@types/hast/README.md +15 -0
- package/node_modules/@types/hast/index.d.ts +924 -0
- package/node_modules/@types/hast/package.json +48 -0
- package/node_modules/@types/mdast/LICENSE +21 -0
- package/node_modules/@types/mdast/README.md +15 -0
- package/node_modules/@types/mdast/index.d.ts +1123 -0
- package/node_modules/@types/mdast/package.json +47 -0
- package/node_modules/@types/unist/LICENSE +21 -0
- package/node_modules/@types/unist/README.md +15 -0
- package/node_modules/@types/unist/index.d.ts +119 -0
- package/node_modules/@types/unist/package.json +60 -0
- package/node_modules/@ungap/structured-clone/.github/workflows/node.js.yml +31 -0
- package/node_modules/@ungap/structured-clone/LICENSE +15 -0
- package/node_modules/@ungap/structured-clone/README.md +95 -0
- package/node_modules/@ungap/structured-clone/cjs/deserialize.js +112 -0
- package/node_modules/@ungap/structured-clone/cjs/index.js +27 -0
- package/node_modules/@ungap/structured-clone/cjs/json.js +24 -0
- package/node_modules/@ungap/structured-clone/cjs/package.json +1 -0
- package/node_modules/@ungap/structured-clone/cjs/serialize.js +174 -0
- package/node_modules/@ungap/structured-clone/cjs/types.js +22 -0
- package/node_modules/@ungap/structured-clone/esm/deserialize.js +113 -0
- package/node_modules/@ungap/structured-clone/esm/index.js +25 -0
- package/node_modules/@ungap/structured-clone/esm/json.js +21 -0
- package/node_modules/@ungap/structured-clone/esm/serialize.js +175 -0
- package/node_modules/@ungap/structured-clone/esm/types.js +11 -0
- package/node_modules/@ungap/structured-clone/package.json +59 -0
- package/node_modules/@ungap/structured-clone/structured-json.js +1 -0
- package/node_modules/@xterm/headless/README.md +31 -0
- package/node_modules/@xterm/headless/lib-headless/xterm-headless.js +2 -0
- package/node_modules/@xterm/headless/lib-headless/xterm-headless.js.map +1 -0
- package/node_modules/@xterm/headless/lib-headless/xterm-headless.mjs +46 -0
- package/node_modules/@xterm/headless/lib-headless/xterm-headless.mjs.map +7 -0
- package/node_modules/@xterm/headless/package.json +29 -0
- package/node_modules/@xterm/headless/typings/xterm-headless.d.ts +1385 -0
- package/node_modules/ccount/index.d.ts +11 -0
- package/node_modules/ccount/index.js +27 -0
- package/node_modules/ccount/license +22 -0
- package/node_modules/ccount/package.json +71 -0
- package/node_modules/ccount/readme.md +149 -0
- package/node_modules/character-entities-html4/index.d.ts +6 -0
- package/node_modules/character-entities-html4/index.js +259 -0
- package/node_modules/character-entities-html4/license +22 -0
- package/node_modules/character-entities-html4/package.json +79 -0
- package/node_modules/character-entities-html4/readme.md +153 -0
- package/node_modules/character-entities-legacy/index.d.ts +6 -0
- package/node_modules/character-entities-legacy/index.js +113 -0
- package/node_modules/character-entities-legacy/license +22 -0
- package/node_modules/character-entities-legacy/package.json +77 -0
- package/node_modules/character-entities-legacy/readme.md +157 -0
- package/node_modules/comma-separated-tokens/index.d.ts +52 -0
- package/node_modules/comma-separated-tokens/index.js +74 -0
- package/node_modules/comma-separated-tokens/license +22 -0
- package/node_modules/comma-separated-tokens/package.json +72 -0
- package/node_modules/comma-separated-tokens/readme.md +167 -0
- package/node_modules/dequal/dist/index.js +86 -0
- package/node_modules/dequal/dist/index.min.js +1 -0
- package/node_modules/dequal/dist/index.mjs +84 -0
- package/node_modules/dequal/index.d.ts +1 -0
- package/node_modules/dequal/license +21 -0
- package/node_modules/dequal/lite/index.d.ts +1 -0
- package/node_modules/dequal/lite/index.js +31 -0
- package/node_modules/dequal/lite/index.min.js +1 -0
- package/node_modules/dequal/lite/index.mjs +29 -0
- package/node_modules/dequal/package.json +57 -0
- package/node_modules/dequal/readme.md +112 -0
- package/node_modules/devlop/lib/default.js +9 -0
- package/node_modules/devlop/lib/development.d.ts +84 -0
- package/node_modules/devlop/lib/development.js +238 -0
- package/node_modules/devlop/license +22 -0
- package/node_modules/devlop/package.json +80 -0
- package/node_modules/devlop/readme.md +360 -0
- package/node_modules/hast-util-to-html/index.d.ts +6 -0
- package/node_modules/hast-util-to-html/index.d.ts.map +1 -0
- package/node_modules/hast-util-to-html/index.js +8 -0
- package/node_modules/hast-util-to-html/lib/handle/comment.d.ts +19 -0
- package/node_modules/hast-util-to-html/lib/handle/comment.d.ts.map +1 -0
- package/node_modules/hast-util-to-html/lib/handle/comment.js +52 -0
- package/node_modules/hast-util-to-html/lib/handle/doctype.d.ts +23 -0
- package/node_modules/hast-util-to-html/lib/handle/doctype.d.ts.map +1 -0
- package/node_modules/hast-util-to-html/lib/handle/doctype.js +27 -0
- package/node_modules/hast-util-to-html/lib/handle/element.d.ts +19 -0
- package/node_modules/hast-util-to-html/lib/handle/element.d.ts.map +1 -0
- package/node_modules/hast-util-to-html/lib/handle/element.js +265 -0
- package/node_modules/hast-util-to-html/lib/handle/index.d.ts +8 -0
- package/node_modules/hast-util-to-html/lib/handle/index.d.ts.map +1 -0
- package/node_modules/hast-util-to-html/lib/handle/index.js +47 -0
- package/node_modules/hast-util-to-html/lib/handle/raw.d.ts +19 -0
- package/node_modules/hast-util-to-html/lib/handle/raw.d.ts.map +1 -0
- package/node_modules/hast-util-to-html/lib/handle/raw.js +27 -0
- package/node_modules/hast-util-to-html/lib/handle/root.d.ts +23 -0
- package/node_modules/hast-util-to-html/lib/handle/root.d.ts.map +1 -0
- package/node_modules/hast-util-to-html/lib/handle/root.js +22 -0
- package/node_modules/hast-util-to-html/lib/handle/text.d.ts +20 -0
- package/node_modules/hast-util-to-html/lib/handle/text.d.ts.map +1 -0
- package/node_modules/hast-util-to-html/lib/handle/text.js +38 -0
- package/node_modules/hast-util-to-html/lib/index.d.ts +223 -0
- package/node_modules/hast-util-to-html/lib/index.d.ts.map +1 -0
- package/node_modules/hast-util-to-html/lib/index.js +257 -0
- package/node_modules/hast-util-to-html/lib/omission/closing.d.ts +2 -0
- package/node_modules/hast-util-to-html/lib/omission/closing.d.ts.map +1 -0
- package/node_modules/hast-util-to-html/lib/omission/closing.js +358 -0
- package/node_modules/hast-util-to-html/lib/omission/omission.d.ts +17 -0
- package/node_modules/hast-util-to-html/lib/omission/omission.d.ts.map +1 -0
- package/node_modules/hast-util-to-html/lib/omission/omission.js +44 -0
- package/node_modules/hast-util-to-html/lib/omission/opening.d.ts +2 -0
- package/node_modules/hast-util-to-html/lib/omission/opening.d.ts.map +1 -0
- package/node_modules/hast-util-to-html/lib/omission/opening.js +148 -0
- package/node_modules/hast-util-to-html/lib/omission/util/siblings.d.ts +36 -0
- package/node_modules/hast-util-to-html/lib/omission/util/siblings.d.ts.map +1 -0
- package/node_modules/hast-util-to-html/lib/omission/util/siblings.js +50 -0
- package/node_modules/hast-util-to-html/license +22 -0
- package/node_modules/hast-util-to-html/package.json +106 -0
- package/node_modules/hast-util-to-html/readme.md +486 -0
- package/node_modules/hast-util-whitespace/index.d.ts +1 -0
- package/node_modules/hast-util-whitespace/index.js +1 -0
- package/node_modules/hast-util-whitespace/lib/index.d.ts +13 -0
- package/node_modules/hast-util-whitespace/lib/index.js +34 -0
- package/node_modules/hast-util-whitespace/license +22 -0
- package/node_modules/hast-util-whitespace/package.json +83 -0
- package/node_modules/hast-util-whitespace/readme.md +231 -0
- package/node_modules/html-void-elements/index.d.ts +6 -0
- package/node_modules/html-void-elements/index.js +27 -0
- package/node_modules/html-void-elements/license +22 -0
- package/node_modules/html-void-elements/package.json +79 -0
- package/node_modules/html-void-elements/readme.md +164 -0
- package/node_modules/lru_map/.npmignore +5 -0
- package/node_modules/lru_map/README.md +214 -0
- package/node_modules/lru_map/dist/lru.js +2 -0
- package/node_modules/lru_map/dist/lru.js.map +7 -0
- package/node_modules/lru_map/lru.d.ts +83 -0
- package/node_modules/lru_map/package.json +41 -0
- package/node_modules/mdast-util-to-hast/index.d.ts +94 -0
- package/node_modules/mdast-util-to-hast/index.js +7 -0
- package/node_modules/mdast-util-to-hast/lib/footer.d.ts +81 -0
- package/node_modules/mdast-util-to-hast/lib/footer.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/footer.js +250 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/blockquote.d.ts +20 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/blockquote.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +27 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/break.d.ts +21 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/break.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/break.js +22 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/code.d.ts +20 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/code.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/code.js +49 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/delete.d.ts +20 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/delete.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/delete.js +27 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/emphasis.d.ts +20 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/emphasis.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +27 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.d.ts +15 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +70 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/heading.d.ts +20 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/heading.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/heading.js +27 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/html.d.ts +23 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/html.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/html.js +28 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/image-reference.d.ts +15 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/image-reference.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +39 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/image.d.ts +15 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/image.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/image.js +35 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/index.d.ts +55 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/index.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/index.js +68 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/inline-code.d.ts +20 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/inline-code.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +31 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/link-reference.d.ts +15 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/link-reference.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +44 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/link.d.ts +15 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/link.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/link.js +36 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/list-item.d.ts +23 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/list-item.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +119 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/list.d.ts +20 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/list.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/list.js +52 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/paragraph.d.ts +20 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/paragraph.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +27 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/root.d.ts +20 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/root.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/root.js +22 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/strong.d.ts +20 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/strong.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/strong.js +27 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/table-cell.d.ts +20 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/table-cell.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +29 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/table-row.d.ts +23 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/table-row.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +63 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/table.d.ts +15 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/table.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/table.js +61 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/text.d.ts +16 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/text.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/text.js +24 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.d.ts +20 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +27 -0
- package/node_modules/mdast-util-to-hast/lib/index.d.ts +82 -0
- package/node_modules/mdast-util-to-hast/lib/index.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/index.js +106 -0
- package/node_modules/mdast-util-to-hast/lib/revert.d.ts +21 -0
- package/node_modules/mdast-util-to-hast/lib/revert.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/revert.js +49 -0
- package/node_modules/mdast-util-to-hast/lib/state.d.ts +233 -0
- package/node_modules/mdast-util-to-hast/lib/state.d.ts.map +1 -0
- package/node_modules/mdast-util-to-hast/lib/state.js +476 -0
- package/node_modules/mdast-util-to-hast/license +22 -0
- package/node_modules/mdast-util-to-hast/package.json +119 -0
- package/node_modules/mdast-util-to-hast/readme.md +1725 -0
- package/node_modules/micromark-util-character/dev/index.d.ts +195 -0
- package/node_modules/micromark-util-character/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-util-character/dev/index.js +252 -0
- package/node_modules/micromark-util-character/index.d.ts +195 -0
- package/node_modules/micromark-util-character/index.d.ts.map +1 -0
- package/node_modules/micromark-util-character/index.js +246 -0
- package/node_modules/micromark-util-character/license +22 -0
- package/node_modules/micromark-util-character/package.json +57 -0
- package/node_modules/micromark-util-character/readme.md +446 -0
- package/node_modules/micromark-util-encode/index.d.ts +14 -0
- package/node_modules/micromark-util-encode/index.d.ts.map +1 -0
- package/node_modules/micromark-util-encode/index.js +33 -0
- package/node_modules/micromark-util-encode/license +22 -0
- package/node_modules/micromark-util-encode/package.json +47 -0
- package/node_modules/micromark-util-encode/readme.md +176 -0
- package/node_modules/micromark-util-sanitize-uri/dev/index.d.ts +36 -0
- package/node_modules/micromark-util-sanitize-uri/dev/index.d.ts.map +1 -0
- package/node_modules/micromark-util-sanitize-uri/dev/index.js +124 -0
- package/node_modules/micromark-util-sanitize-uri/index.d.ts +36 -0
- package/node_modules/micromark-util-sanitize-uri/index.d.ts.map +1 -0
- package/node_modules/micromark-util-sanitize-uri/index.js +107 -0
- package/node_modules/micromark-util-sanitize-uri/license +22 -0
- package/node_modules/micromark-util-sanitize-uri/package.json +59 -0
- package/node_modules/micromark-util-sanitize-uri/readme.md +214 -0
- package/node_modules/micromark-util-symbol/lib/codes.d.ts +139 -0
- package/node_modules/micromark-util-symbol/lib/codes.d.ts.map +1 -0
- package/node_modules/micromark-util-symbol/lib/codes.js +158 -0
- package/node_modules/micromark-util-symbol/lib/constants.d.ts +37 -0
- package/node_modules/micromark-util-symbol/lib/constants.d.ts.map +1 -0
- package/node_modules/micromark-util-symbol/lib/constants.js +44 -0
- package/node_modules/micromark-util-symbol/lib/default.d.ts +5 -0
- package/node_modules/micromark-util-symbol/lib/default.d.ts.map +1 -0
- package/node_modules/micromark-util-symbol/lib/default.js +4 -0
- package/node_modules/micromark-util-symbol/lib/types.d.ts +106 -0
- package/node_modules/micromark-util-symbol/lib/types.d.ts.map +1 -0
- package/node_modules/micromark-util-symbol/lib/types.js +453 -0
- package/node_modules/micromark-util-symbol/lib/values.d.ts +102 -0
- package/node_modules/micromark-util-symbol/lib/values.d.ts.map +1 -0
- package/node_modules/micromark-util-symbol/lib/values.js +109 -0
- package/node_modules/micromark-util-symbol/license +22 -0
- package/node_modules/micromark-util-symbol/package.json +43 -0
- package/node_modules/micromark-util-symbol/readme.md +168 -0
- package/node_modules/micromark-util-types/index.d.ts +1312 -0
- package/node_modules/micromark-util-types/index.js +2 -0
- package/node_modules/micromark-util-types/license +22 -0
- package/node_modules/micromark-util-types/package.json +71 -0
- package/node_modules/micromark-util-types/readme.md +151 -0
- package/node_modules/oniguruma-parser/LICENSE +21 -0
- package/node_modules/oniguruma-parser/README.md +310 -0
- package/node_modules/oniguruma-parser/dist/bundle.d.ts +7 -0
- package/node_modules/oniguruma-parser/dist/bundle.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/bundle.js +2 -0
- package/node_modules/oniguruma-parser/dist/bundle.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/generator/generate.d.ts +11 -0
- package/node_modules/oniguruma-parser/dist/generator/generate.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/generator/generate.js +2 -0
- package/node_modules/oniguruma-parser/dist/generator/generate.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/index.d.ts +14 -0
- package/node_modules/oniguruma-parser/dist/index.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/index.js +2 -0
- package/node_modules/oniguruma-parser/dist/index.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/oniguruma-parser.min.js +904 -0
- package/node_modules/oniguruma-parser/dist/oniguruma-parser.min.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/optimizations.d.ts +5 -0
- package/node_modules/oniguruma-parser/dist/optimizer/optimizations.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/optimizations.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/optimizations.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/optimize.d.ts +23 -0
- package/node_modules/oniguruma-parser/dist/optimizer/optimize.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/optimize.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/optimize.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/alternation-to-class.d.ts +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/alternation-to-class.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/alternation-to-class.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/alternation-to-class.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/expose-anchors.d.ts +9 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/expose-anchors.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/expose-anchors.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/expose-anchors.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/extract-prefix-2.d.ts +9 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/extract-prefix-2.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/extract-prefix-2.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/extract-prefix-2.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/extract-prefix.d.ts +24 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/extract-prefix.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/extract-prefix.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/extract-prefix.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/extract-suffix.d.ts +9 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/extract-suffix.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/extract-suffix.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/extract-suffix.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/merge-ranges.d.ts +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/merge-ranges.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/merge-ranges.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/merge-ranges.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/optionalize.d.ts +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/optionalize.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/optionalize.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/optionalize.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/prevent-redos.d.ts +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/prevent-redos.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/prevent-redos.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/prevent-redos.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/remove-empty-groups.d.ts +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/remove-empty-groups.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/remove-empty-groups.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/remove-empty-groups.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/remove-useless-flags.d.ts +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/remove-useless-flags.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/remove-useless-flags.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/remove-useless-flags.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/simplify-callouts.d.ts +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/simplify-callouts.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/simplify-callouts.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/simplify-callouts.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unnest-useless-classes.d.ts +8 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unnest-useless-classes.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unnest-useless-classes.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unnest-useless-classes.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unwrap-negation-wrappers.d.ts +9 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unwrap-negation-wrappers.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unwrap-negation-wrappers.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unwrap-negation-wrappers.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unwrap-useless-classes.d.ts +8 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unwrap-useless-classes.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unwrap-useless-classes.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unwrap-useless-classes.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unwrap-useless-groups.d.ts +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unwrap-useless-groups.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unwrap-useless-groups.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/unwrap-useless-groups.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/use-shorthands.d.ts +15 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/use-shorthands.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/use-shorthands.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/use-shorthands.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/use-unicode-aliases.d.ts +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/use-unicode-aliases.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/use-unicode-aliases.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/use-unicode-aliases.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/use-unicode-props.d.ts +10 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/use-unicode-props.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/use-unicode-props.js +2 -0
- package/node_modules/oniguruma-parser/dist/optimizer/transforms/use-unicode-props.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/parser/node-utils.d.ts +14 -0
- package/node_modules/oniguruma-parser/dist/parser/node-utils.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/parser/node-utils.js +2 -0
- package/node_modules/oniguruma-parser/dist/parser/node-utils.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/parser/parse.d.ts +208 -0
- package/node_modules/oniguruma-parser/dist/parser/parse.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/parser/parse.js +2 -0
- package/node_modules/oniguruma-parser/dist/parser/parse.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/tokenizer/tokenize.d.ts +122 -0
- package/node_modules/oniguruma-parser/dist/tokenizer/tokenize.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/tokenizer/tokenize.js +34 -0
- package/node_modules/oniguruma-parser/dist/tokenizer/tokenize.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/traverser/traverse.d.ts +49 -0
- package/node_modules/oniguruma-parser/dist/traverser/traverse.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/traverser/traverse.js +2 -0
- package/node_modules/oniguruma-parser/dist/traverser/traverse.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/unicode.d.ts +8 -0
- package/node_modules/oniguruma-parser/dist/unicode.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/unicode.js +872 -0
- package/node_modules/oniguruma-parser/dist/unicode.js.map +7 -0
- package/node_modules/oniguruma-parser/dist/utils.d.ts +9 -0
- package/node_modules/oniguruma-parser/dist/utils.d.ts.map +1 -0
- package/node_modules/oniguruma-parser/dist/utils.js +2 -0
- package/node_modules/oniguruma-parser/dist/utils.js.map +7 -0
- package/node_modules/oniguruma-parser/package.json +64 -0
- package/node_modules/oniguruma-to-es/LICENSE +21 -0
- package/node_modules/oniguruma-to-es/README.md +1110 -0
- package/node_modules/oniguruma-to-es/dist/cjs/generate.d.ts +27 -0
- package/node_modules/oniguruma-to-es/dist/cjs/index.d.ts +64 -0
- package/node_modules/oniguruma-to-es/dist/cjs/index.js +3145 -0
- package/node_modules/oniguruma-to-es/dist/cjs/index.js.map +7 -0
- package/node_modules/oniguruma-to-es/dist/cjs/options.d.ts +26 -0
- package/node_modules/oniguruma-to-es/dist/cjs/package.json +1 -0
- package/node_modules/oniguruma-to-es/dist/cjs/subclass.d.ts +39 -0
- package/node_modules/oniguruma-to-es/dist/cjs/transform.d.ts +54 -0
- package/node_modules/oniguruma-to-es/dist/cjs/unicode.d.ts +6 -0
- package/node_modules/oniguruma-to-es/dist/cjs/utils.d.ts +25 -0
- package/node_modules/oniguruma-to-es/dist/esm/generate.d.ts +27 -0
- package/node_modules/oniguruma-to-es/dist/esm/index.d.ts +64 -0
- package/node_modules/oniguruma-to-es/dist/esm/index.js +1878 -0
- package/node_modules/oniguruma-to-es/dist/esm/index.js.map +7 -0
- package/node_modules/oniguruma-to-es/dist/esm/options.d.ts +26 -0
- package/node_modules/oniguruma-to-es/dist/esm/package.json +1 -0
- package/node_modules/oniguruma-to-es/dist/esm/subclass.d.ts +39 -0
- package/node_modules/oniguruma-to-es/dist/esm/transform.d.ts +54 -0
- package/node_modules/oniguruma-to-es/dist/esm/unicode.d.ts +6 -0
- package/node_modules/oniguruma-to-es/dist/esm/utils.d.ts +25 -0
- package/node_modules/oniguruma-to-es/dist/index.min.js +142 -0
- package/node_modules/oniguruma-to-es/dist/index.min.js.map +7 -0
- package/node_modules/oniguruma-to-es/package.json +61 -0
- package/node_modules/property-information/index.d.ts +121 -0
- package/node_modules/property-information/index.js +17 -0
- package/node_modules/property-information/lib/aria.d.ts +2 -0
- package/node_modules/property-information/lib/aria.d.ts.map +1 -0
- package/node_modules/property-information/lib/aria.js +61 -0
- package/node_modules/property-information/lib/find.d.ts +34 -0
- package/node_modules/property-information/lib/find.d.ts.map +1 -0
- package/node_modules/property-information/lib/find.js +97 -0
- package/node_modules/property-information/lib/hast-to-react.d.ts +13 -0
- package/node_modules/property-information/lib/hast-to-react.d.ts.map +1 -0
- package/node_modules/property-information/lib/hast-to-react.js +30 -0
- package/node_modules/property-information/lib/html.d.ts +2 -0
- package/node_modules/property-information/lib/html.d.ts.map +1 -0
- package/node_modules/property-information/lib/html.js +332 -0
- package/node_modules/property-information/lib/normalize.d.ts +11 -0
- package/node_modules/property-information/lib/normalize.d.ts.map +1 -0
- package/node_modules/property-information/lib/normalize.js +12 -0
- package/node_modules/property-information/lib/svg.d.ts +2 -0
- package/node_modules/property-information/lib/svg.d.ts.map +1 -0
- package/node_modules/property-information/lib/svg.js +569 -0
- package/node_modules/property-information/lib/util/case-insensitive-transform.d.ts +10 -0
- package/node_modules/property-information/lib/util/case-insensitive-transform.d.ts.map +1 -0
- package/node_modules/property-information/lib/util/case-insensitive-transform.js +13 -0
- package/node_modules/property-information/lib/util/case-sensitive-transform.d.ts +10 -0
- package/node_modules/property-information/lib/util/case-sensitive-transform.d.ts.map +1 -0
- package/node_modules/property-information/lib/util/case-sensitive-transform.js +11 -0
- package/node_modules/property-information/lib/util/create.d.ts +39 -0
- package/node_modules/property-information/lib/util/create.d.ts.map +1 -0
- package/node_modules/property-information/lib/util/create.js +69 -0
- package/node_modules/property-information/lib/util/defined-info.d.ts +19 -0
- package/node_modules/property-information/lib/util/defined-info.d.ts.map +1 -0
- package/node_modules/property-information/lib/util/defined-info.js +60 -0
- package/node_modules/property-information/lib/util/info.d.ts +28 -0
- package/node_modules/property-information/lib/util/info.d.ts.map +1 -0
- package/node_modules/property-information/lib/util/info.js +32 -0
- package/node_modules/property-information/lib/util/merge.d.ts +12 -0
- package/node_modules/property-information/lib/util/merge.d.ts.map +1 -0
- package/node_modules/property-information/lib/util/merge.js +27 -0
- package/node_modules/property-information/lib/util/schema.d.ts +23 -0
- package/node_modules/property-information/lib/util/schema.d.ts.map +1 -0
- package/node_modules/property-information/lib/util/schema.js +29 -0
- package/node_modules/property-information/lib/util/types.d.ts +8 -0
- package/node_modules/property-information/lib/util/types.d.ts.map +1 -0
- package/node_modules/property-information/lib/util/types.js +13 -0
- package/node_modules/property-information/lib/xlink.d.ts +2 -0
- package/node_modules/property-information/lib/xlink.d.ts.map +1 -0
- package/node_modules/property-information/lib/xlink.js +17 -0
- package/node_modules/property-information/lib/xml.d.ts +2 -0
- package/node_modules/property-information/lib/xml.d.ts.map +1 -0
- package/node_modules/property-information/lib/xml.js +9 -0
- package/node_modules/property-information/lib/xmlns.d.ts +2 -0
- package/node_modules/property-information/lib/xmlns.d.ts.map +1 -0
- package/node_modules/property-information/lib/xmlns.js +9 -0
- package/node_modules/property-information/license +22 -0
- package/node_modules/property-information/package.json +84 -0
- package/node_modules/property-information/readme.md +1073 -0
- package/node_modules/regex/LICENSE +21 -0
- package/node_modules/regex/README.md +972 -0
- package/node_modules/regex/dist/cjs/atomic.d.ts +18 -0
- package/node_modules/regex/dist/cjs/backcompat.d.ts +8 -0
- package/node_modules/regex/dist/cjs/flag-n.d.ts +4 -0
- package/node_modules/regex/dist/cjs/flag-x.d.ts +11 -0
- package/node_modules/regex/dist/cjs/internals.d.ts +2 -0
- package/node_modules/regex/dist/cjs/package.json +1 -0
- package/node_modules/regex/dist/cjs/pattern.d.ts +43 -0
- package/node_modules/regex/dist/cjs/regex.d.ts +111 -0
- package/node_modules/regex/dist/cjs/regex.js +1335 -0
- package/node_modules/regex/dist/cjs/regex.js.map +7 -0
- package/node_modules/regex/dist/cjs/subclass.d.ts +31 -0
- package/node_modules/regex/dist/cjs/subroutines.d.ts +17 -0
- package/node_modules/regex/dist/cjs/utils-internals.d.ts +15 -0
- package/node_modules/regex/dist/cjs/utils.d.ts +115 -0
- package/node_modules/regex/dist/esm/atomic.d.ts +18 -0
- package/node_modules/regex/dist/esm/backcompat.d.ts +8 -0
- package/node_modules/regex/dist/esm/flag-n.d.ts +4 -0
- package/node_modules/regex/dist/esm/flag-x.d.ts +11 -0
- package/node_modules/regex/dist/esm/internals.d.ts +2 -0
- package/node_modules/regex/dist/esm/package.json +1 -0
- package/node_modules/regex/dist/esm/pattern.d.ts +43 -0
- package/node_modules/regex/dist/esm/regex.d.ts +111 -0
- package/node_modules/regex/dist/esm/regex.js +1313 -0
- package/node_modules/regex/dist/esm/regex.js.map +7 -0
- package/node_modules/regex/dist/esm/subclass.d.ts +31 -0
- package/node_modules/regex/dist/esm/subroutines.d.ts +17 -0
- package/node_modules/regex/dist/esm/utils-internals.d.ts +15 -0
- package/node_modules/regex/dist/esm/utils.d.ts +115 -0
- package/node_modules/regex/dist/regex.min.js +76 -0
- package/node_modules/regex/dist/regex.min.js.map +7 -0
- package/node_modules/regex/package.json +60 -0
- package/node_modules/regex/src/atomic.js +224 -0
- package/node_modules/regex/src/backcompat.js +64 -0
- package/node_modules/regex/src/flag-n.js +49 -0
- package/node_modules/regex/src/flag-x.js +198 -0
- package/node_modules/regex/src/internals.js +2 -0
- package/node_modules/regex/src/pattern.js +45 -0
- package/node_modules/regex/src/regex.js +389 -0
- package/node_modules/regex/src/subclass.js +98 -0
- package/node_modules/regex/src/subroutines.js +375 -0
- package/node_modules/regex/src/utils-internals.js +33 -0
- package/node_modules/regex/src/utils.js +401 -0
- package/node_modules/regex-recursion/LICENSE +21 -0
- package/node_modules/regex-recursion/README.md +151 -0
- package/node_modules/regex-recursion/dist/regex-recursion.min.js +2 -0
- package/node_modules/regex-recursion/dist/regex-recursion.min.js.map +7 -0
- package/node_modules/regex-recursion/package.json +47 -0
- package/node_modules/regex-recursion/src/index.js +365 -0
- package/node_modules/regex-recursion/types/index.d.ts +24 -0
- package/node_modules/regex-utilities/LICENSE +21 -0
- package/node_modules/regex-utilities/README.md +78 -0
- package/node_modules/regex-utilities/package.json +35 -0
- package/node_modules/regex-utilities/src/index.js +170 -0
- package/node_modules/regex-utilities/types/index.d.ts +84 -0
- package/node_modules/shiki/LICENSE +22 -0
- package/node_modules/shiki/README.md +15 -0
- package/node_modules/shiki/dist/bundle-full.d.mts +21 -0
- package/node_modules/shiki/dist/bundle-full.mjs +25 -0
- package/node_modules/shiki/dist/bundle-web.d.mts +31 -0
- package/node_modules/shiki/dist/bundle-web.mjs +347 -0
- package/node_modules/shiki/dist/core-CaxrMD1A.d.mts +1 -0
- package/node_modules/shiki/dist/core-unwasm.d.mts +1 -0
- package/node_modules/shiki/dist/core-unwasm.mjs +10 -0
- package/node_modules/shiki/dist/core.d.mts +2 -0
- package/node_modules/shiki/dist/core.mjs +3 -0
- package/node_modules/shiki/dist/engine-javascript.d.mts +1 -0
- package/node_modules/shiki/dist/engine-javascript.mjs +2 -0
- package/node_modules/shiki/dist/engine-oniguruma.d.mts +1 -0
- package/node_modules/shiki/dist/engine-oniguruma.mjs +8 -0
- package/node_modules/shiki/dist/index.d.mts +8 -0
- package/node_modules/shiki/dist/index.mjs +8 -0
- package/node_modules/shiki/dist/langs/1c-query.d.mts +1 -0
- package/node_modules/shiki/dist/langs/1c-query.mjs +1 -0
- package/node_modules/shiki/dist/langs/1c.d.mts +1 -0
- package/node_modules/shiki/dist/langs/1c.mjs +1 -0
- package/node_modules/shiki/dist/langs/abap.d.mts +1 -0
- package/node_modules/shiki/dist/langs/abap.mjs +1 -0
- package/node_modules/shiki/dist/langs/actionscript-3.d.mts +1 -0
- package/node_modules/shiki/dist/langs/actionscript-3.mjs +1 -0
- package/node_modules/shiki/dist/langs/actionscript.d.mts +1 -0
- package/node_modules/shiki/dist/langs/actionscript.mjs +1 -0
- package/node_modules/shiki/dist/langs/ada.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ada.mjs +1 -0
- package/node_modules/shiki/dist/langs/adoc.d.mts +1 -0
- package/node_modules/shiki/dist/langs/adoc.mjs +1 -0
- package/node_modules/shiki/dist/langs/ahk.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ahk.mjs +1 -0
- package/node_modules/shiki/dist/langs/ahk1.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ahk1.mjs +1 -0
- package/node_modules/shiki/dist/langs/ahk2.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ahk2.mjs +1 -0
- package/node_modules/shiki/dist/langs/angular-expression.d.mts +1 -0
- package/node_modules/shiki/dist/langs/angular-expression.mjs +1 -0
- package/node_modules/shiki/dist/langs/angular-html.d.mts +1 -0
- package/node_modules/shiki/dist/langs/angular-html.mjs +1 -0
- package/node_modules/shiki/dist/langs/angular-inline-style.d.mts +1 -0
- package/node_modules/shiki/dist/langs/angular-inline-style.mjs +1 -0
- package/node_modules/shiki/dist/langs/angular-inline-template.d.mts +1 -0
- package/node_modules/shiki/dist/langs/angular-inline-template.mjs +1 -0
- package/node_modules/shiki/dist/langs/angular-let-declaration.d.mts +1 -0
- package/node_modules/shiki/dist/langs/angular-let-declaration.mjs +1 -0
- package/node_modules/shiki/dist/langs/angular-template-blocks.d.mts +1 -0
- package/node_modules/shiki/dist/langs/angular-template-blocks.mjs +1 -0
- package/node_modules/shiki/dist/langs/angular-template.d.mts +1 -0
- package/node_modules/shiki/dist/langs/angular-template.mjs +1 -0
- package/node_modules/shiki/dist/langs/angular-ts.d.mts +1 -0
- package/node_modules/shiki/dist/langs/angular-ts.mjs +1 -0
- package/node_modules/shiki/dist/langs/apache.d.mts +1 -0
- package/node_modules/shiki/dist/langs/apache.mjs +1 -0
- package/node_modules/shiki/dist/langs/apex.d.mts +1 -0
- package/node_modules/shiki/dist/langs/apex.mjs +1 -0
- package/node_modules/shiki/dist/langs/apl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/apl.mjs +1 -0
- package/node_modules/shiki/dist/langs/applescript.d.mts +1 -0
- package/node_modules/shiki/dist/langs/applescript.mjs +1 -0
- package/node_modules/shiki/dist/langs/ara.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ara.mjs +1 -0
- package/node_modules/shiki/dist/langs/as3.d.mts +1 -0
- package/node_modules/shiki/dist/langs/as3.mjs +1 -0
- package/node_modules/shiki/dist/langs/asciidoc.d.mts +1 -0
- package/node_modules/shiki/dist/langs/asciidoc.mjs +1 -0
- package/node_modules/shiki/dist/langs/asm.d.mts +1 -0
- package/node_modules/shiki/dist/langs/asm.mjs +1 -0
- package/node_modules/shiki/dist/langs/astro.d.mts +1 -0
- package/node_modules/shiki/dist/langs/astro.mjs +1 -0
- package/node_modules/shiki/dist/langs/awk.d.mts +1 -0
- package/node_modules/shiki/dist/langs/awk.mjs +1 -0
- package/node_modules/shiki/dist/langs/ballerina.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ballerina.mjs +1 -0
- package/node_modules/shiki/dist/langs/bash.d.mts +1 -0
- package/node_modules/shiki/dist/langs/bash.mjs +1 -0
- package/node_modules/shiki/dist/langs/bat.d.mts +1 -0
- package/node_modules/shiki/dist/langs/bat.mjs +1 -0
- package/node_modules/shiki/dist/langs/batch.d.mts +1 -0
- package/node_modules/shiki/dist/langs/batch.mjs +1 -0
- package/node_modules/shiki/dist/langs/be.d.mts +1 -0
- package/node_modules/shiki/dist/langs/be.mjs +1 -0
- package/node_modules/shiki/dist/langs/beancount.d.mts +1 -0
- package/node_modules/shiki/dist/langs/beancount.mjs +1 -0
- package/node_modules/shiki/dist/langs/berry.d.mts +1 -0
- package/node_modules/shiki/dist/langs/berry.mjs +1 -0
- package/node_modules/shiki/dist/langs/bibtex.d.mts +1 -0
- package/node_modules/shiki/dist/langs/bibtex.mjs +1 -0
- package/node_modules/shiki/dist/langs/bicep.d.mts +1 -0
- package/node_modules/shiki/dist/langs/bicep.mjs +1 -0
- package/node_modules/shiki/dist/langs/bird.d.mts +1 -0
- package/node_modules/shiki/dist/langs/bird.mjs +1 -0
- package/node_modules/shiki/dist/langs/bird2.d.mts +1 -0
- package/node_modules/shiki/dist/langs/bird2.mjs +1 -0
- package/node_modules/shiki/dist/langs/blade.d.mts +1 -0
- package/node_modules/shiki/dist/langs/blade.mjs +1 -0
- package/node_modules/shiki/dist/langs/bsl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/bsl.mjs +1 -0
- package/node_modules/shiki/dist/langs/c.d.mts +1 -0
- package/node_modules/shiki/dist/langs/c.mjs +1 -0
- package/node_modules/shiki/dist/langs/c3.d.mts +1 -0
- package/node_modules/shiki/dist/langs/c3.mjs +1 -0
- package/node_modules/shiki/dist/langs/cadence.d.mts +1 -0
- package/node_modules/shiki/dist/langs/cadence.mjs +1 -0
- package/node_modules/shiki/dist/langs/cairo.d.mts +1 -0
- package/node_modules/shiki/dist/langs/cairo.mjs +1 -0
- package/node_modules/shiki/dist/langs/cdc.d.mts +1 -0
- package/node_modules/shiki/dist/langs/cdc.mjs +1 -0
- package/node_modules/shiki/dist/langs/chapel.d.mts +1 -0
- package/node_modules/shiki/dist/langs/chapel.mjs +1 -0
- package/node_modules/shiki/dist/langs/chpl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/chpl.mjs +1 -0
- package/node_modules/shiki/dist/langs/cjs.d.mts +1 -0
- package/node_modules/shiki/dist/langs/cjs.mjs +1 -0
- package/node_modules/shiki/dist/langs/clarity.d.mts +1 -0
- package/node_modules/shiki/dist/langs/clarity.mjs +1 -0
- package/node_modules/shiki/dist/langs/clj.d.mts +1 -0
- package/node_modules/shiki/dist/langs/clj.mjs +1 -0
- package/node_modules/shiki/dist/langs/clojure.d.mts +1 -0
- package/node_modules/shiki/dist/langs/clojure.mjs +1 -0
- package/node_modules/shiki/dist/langs/closure-templates.d.mts +1 -0
- package/node_modules/shiki/dist/langs/closure-templates.mjs +1 -0
- package/node_modules/shiki/dist/langs/cmake.d.mts +1 -0
- package/node_modules/shiki/dist/langs/cmake.mjs +1 -0
- package/node_modules/shiki/dist/langs/cmd.d.mts +1 -0
- package/node_modules/shiki/dist/langs/cmd.mjs +1 -0
- package/node_modules/shiki/dist/langs/cobol.d.mts +1 -0
- package/node_modules/shiki/dist/langs/cobol.mjs +1 -0
- package/node_modules/shiki/dist/langs/codeowners.d.mts +1 -0
- package/node_modules/shiki/dist/langs/codeowners.mjs +1 -0
- package/node_modules/shiki/dist/langs/codeql.d.mts +1 -0
- package/node_modules/shiki/dist/langs/codeql.mjs +1 -0
- package/node_modules/shiki/dist/langs/coffee.d.mts +1 -0
- package/node_modules/shiki/dist/langs/coffee.mjs +1 -0
- package/node_modules/shiki/dist/langs/coffeescript.d.mts +1 -0
- package/node_modules/shiki/dist/langs/coffeescript.mjs +1 -0
- package/node_modules/shiki/dist/langs/common-lisp.d.mts +1 -0
- package/node_modules/shiki/dist/langs/common-lisp.mjs +1 -0
- package/node_modules/shiki/dist/langs/console.d.mts +1 -0
- package/node_modules/shiki/dist/langs/console.mjs +1 -0
- package/node_modules/shiki/dist/langs/coq.d.mts +1 -0
- package/node_modules/shiki/dist/langs/coq.mjs +1 -0
- package/node_modules/shiki/dist/langs/cpp-macro.d.mts +1 -0
- package/node_modules/shiki/dist/langs/cpp-macro.mjs +1 -0
- package/node_modules/shiki/dist/langs/cpp.d.mts +1 -0
- package/node_modules/shiki/dist/langs/cpp.mjs +1 -0
- package/node_modules/shiki/dist/langs/cql.d.mts +1 -0
- package/node_modules/shiki/dist/langs/cql.mjs +1 -0
- package/node_modules/shiki/dist/langs/crystal.d.mts +1 -0
- package/node_modules/shiki/dist/langs/crystal.mjs +1 -0
- package/node_modules/shiki/dist/langs/cs.d.mts +1 -0
- package/node_modules/shiki/dist/langs/cs.mjs +1 -0
- package/node_modules/shiki/dist/langs/csharp.d.mts +1 -0
- package/node_modules/shiki/dist/langs/csharp.mjs +1 -0
- package/node_modules/shiki/dist/langs/css.d.mts +1 -0
- package/node_modules/shiki/dist/langs/css.mjs +1 -0
- package/node_modules/shiki/dist/langs/csv.d.mts +1 -0
- package/node_modules/shiki/dist/langs/csv.mjs +1 -0
- package/node_modules/shiki/dist/langs/cts.d.mts +1 -0
- package/node_modules/shiki/dist/langs/cts.mjs +1 -0
- package/node_modules/shiki/dist/langs/cue.d.mts +1 -0
- package/node_modules/shiki/dist/langs/cue.mjs +1 -0
- package/node_modules/shiki/dist/langs/cypher.d.mts +1 -0
- package/node_modules/shiki/dist/langs/cypher.mjs +1 -0
- package/node_modules/shiki/dist/langs/d.d.mts +1 -0
- package/node_modules/shiki/dist/langs/d.mjs +1 -0
- package/node_modules/shiki/dist/langs/dart.d.mts +1 -0
- package/node_modules/shiki/dist/langs/dart.mjs +1 -0
- package/node_modules/shiki/dist/langs/dax.d.mts +1 -0
- package/node_modules/shiki/dist/langs/dax.mjs +1 -0
- package/node_modules/shiki/dist/langs/desktop.d.mts +1 -0
- package/node_modules/shiki/dist/langs/desktop.mjs +1 -0
- package/node_modules/shiki/dist/langs/diff.d.mts +1 -0
- package/node_modules/shiki/dist/langs/diff.mjs +1 -0
- package/node_modules/shiki/dist/langs/docker.d.mts +1 -0
- package/node_modules/shiki/dist/langs/docker.mjs +1 -0
- package/node_modules/shiki/dist/langs/dockerfile.d.mts +1 -0
- package/node_modules/shiki/dist/langs/dockerfile.mjs +1 -0
- package/node_modules/shiki/dist/langs/dotenv.d.mts +1 -0
- package/node_modules/shiki/dist/langs/dotenv.mjs +1 -0
- package/node_modules/shiki/dist/langs/dream-maker.d.mts +1 -0
- package/node_modules/shiki/dist/langs/dream-maker.mjs +1 -0
- package/node_modules/shiki/dist/langs/edge.d.mts +1 -0
- package/node_modules/shiki/dist/langs/edge.mjs +1 -0
- package/node_modules/shiki/dist/langs/elisp.d.mts +1 -0
- package/node_modules/shiki/dist/langs/elisp.mjs +1 -0
- package/node_modules/shiki/dist/langs/elixir.d.mts +1 -0
- package/node_modules/shiki/dist/langs/elixir.mjs +1 -0
- package/node_modules/shiki/dist/langs/elm.d.mts +1 -0
- package/node_modules/shiki/dist/langs/elm.mjs +1 -0
- package/node_modules/shiki/dist/langs/emacs-lisp.d.mts +1 -0
- package/node_modules/shiki/dist/langs/emacs-lisp.mjs +1 -0
- package/node_modules/shiki/dist/langs/erb.d.mts +1 -0
- package/node_modules/shiki/dist/langs/erb.mjs +1 -0
- package/node_modules/shiki/dist/langs/erl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/erl.mjs +1 -0
- package/node_modules/shiki/dist/langs/erlang.d.mts +1 -0
- package/node_modules/shiki/dist/langs/erlang.mjs +1 -0
- package/node_modules/shiki/dist/langs/es-tag-css.d.mts +1 -0
- package/node_modules/shiki/dist/langs/es-tag-css.mjs +1 -0
- package/node_modules/shiki/dist/langs/es-tag-glsl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/es-tag-glsl.mjs +1 -0
- package/node_modules/shiki/dist/langs/es-tag-html.d.mts +1 -0
- package/node_modules/shiki/dist/langs/es-tag-html.mjs +1 -0
- package/node_modules/shiki/dist/langs/es-tag-sql.d.mts +1 -0
- package/node_modules/shiki/dist/langs/es-tag-sql.mjs +1 -0
- package/node_modules/shiki/dist/langs/es-tag-xml.d.mts +1 -0
- package/node_modules/shiki/dist/langs/es-tag-xml.mjs +1 -0
- package/node_modules/shiki/dist/langs/f.d.mts +1 -0
- package/node_modules/shiki/dist/langs/f.mjs +1 -0
- package/node_modules/shiki/dist/langs/f03.d.mts +1 -0
- package/node_modules/shiki/dist/langs/f03.mjs +1 -0
- package/node_modules/shiki/dist/langs/f08.d.mts +1 -0
- package/node_modules/shiki/dist/langs/f08.mjs +1 -0
- package/node_modules/shiki/dist/langs/f18.d.mts +1 -0
- package/node_modules/shiki/dist/langs/f18.mjs +1 -0
- package/node_modules/shiki/dist/langs/f77.d.mts +1 -0
- package/node_modules/shiki/dist/langs/f77.mjs +1 -0
- package/node_modules/shiki/dist/langs/f90.d.mts +1 -0
- package/node_modules/shiki/dist/langs/f90.mjs +1 -0
- package/node_modules/shiki/dist/langs/f95.d.mts +1 -0
- package/node_modules/shiki/dist/langs/f95.mjs +1 -0
- package/node_modules/shiki/dist/langs/fennel.d.mts +1 -0
- package/node_modules/shiki/dist/langs/fennel.mjs +1 -0
- package/node_modules/shiki/dist/langs/fish.d.mts +1 -0
- package/node_modules/shiki/dist/langs/fish.mjs +1 -0
- package/node_modules/shiki/dist/langs/fluent.d.mts +1 -0
- package/node_modules/shiki/dist/langs/fluent.mjs +1 -0
- package/node_modules/shiki/dist/langs/for.d.mts +1 -0
- package/node_modules/shiki/dist/langs/for.mjs +1 -0
- package/node_modules/shiki/dist/langs/fortran-fixed-form.d.mts +1 -0
- package/node_modules/shiki/dist/langs/fortran-fixed-form.mjs +1 -0
- package/node_modules/shiki/dist/langs/fortran-free-form.d.mts +1 -0
- package/node_modules/shiki/dist/langs/fortran-free-form.mjs +1 -0
- package/node_modules/shiki/dist/langs/fs.d.mts +1 -0
- package/node_modules/shiki/dist/langs/fs.mjs +1 -0
- package/node_modules/shiki/dist/langs/fsharp.d.mts +1 -0
- package/node_modules/shiki/dist/langs/fsharp.mjs +1 -0
- package/node_modules/shiki/dist/langs/fsl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/fsl.mjs +1 -0
- package/node_modules/shiki/dist/langs/ftl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ftl.mjs +1 -0
- package/node_modules/shiki/dist/langs/gd.d.mts +1 -0
- package/node_modules/shiki/dist/langs/gd.mjs +1 -0
- package/node_modules/shiki/dist/langs/gdresource.d.mts +1 -0
- package/node_modules/shiki/dist/langs/gdresource.mjs +1 -0
- package/node_modules/shiki/dist/langs/gdscript.d.mts +1 -0
- package/node_modules/shiki/dist/langs/gdscript.mjs +1 -0
- package/node_modules/shiki/dist/langs/gdshader.d.mts +1 -0
- package/node_modules/shiki/dist/langs/gdshader.mjs +1 -0
- package/node_modules/shiki/dist/langs/genie.d.mts +1 -0
- package/node_modules/shiki/dist/langs/genie.mjs +1 -0
- package/node_modules/shiki/dist/langs/gherkin.d.mts +1 -0
- package/node_modules/shiki/dist/langs/gherkin.mjs +1 -0
- package/node_modules/shiki/dist/langs/git-commit.d.mts +1 -0
- package/node_modules/shiki/dist/langs/git-commit.mjs +1 -0
- package/node_modules/shiki/dist/langs/git-rebase.d.mts +1 -0
- package/node_modules/shiki/dist/langs/git-rebase.mjs +1 -0
- package/node_modules/shiki/dist/langs/gjs.d.mts +1 -0
- package/node_modules/shiki/dist/langs/gjs.mjs +1 -0
- package/node_modules/shiki/dist/langs/gleam.d.mts +1 -0
- package/node_modules/shiki/dist/langs/gleam.mjs +1 -0
- package/node_modules/shiki/dist/langs/glimmer-js.d.mts +1 -0
- package/node_modules/shiki/dist/langs/glimmer-js.mjs +1 -0
- package/node_modules/shiki/dist/langs/glimmer-ts.d.mts +1 -0
- package/node_modules/shiki/dist/langs/glimmer-ts.mjs +1 -0
- package/node_modules/shiki/dist/langs/glsl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/glsl.mjs +1 -0
- package/node_modules/shiki/dist/langs/gn.d.mts +1 -0
- package/node_modules/shiki/dist/langs/gn.mjs +1 -0
- package/node_modules/shiki/dist/langs/gnuplot.d.mts +1 -0
- package/node_modules/shiki/dist/langs/gnuplot.mjs +1 -0
- package/node_modules/shiki/dist/langs/go.d.mts +1 -0
- package/node_modules/shiki/dist/langs/go.mjs +1 -0
- package/node_modules/shiki/dist/langs/gql.d.mts +1 -0
- package/node_modules/shiki/dist/langs/gql.mjs +1 -0
- package/node_modules/shiki/dist/langs/graphql.d.mts +1 -0
- package/node_modules/shiki/dist/langs/graphql.mjs +1 -0
- package/node_modules/shiki/dist/langs/groovy.d.mts +1 -0
- package/node_modules/shiki/dist/langs/groovy.mjs +1 -0
- package/node_modules/shiki/dist/langs/gts.d.mts +1 -0
- package/node_modules/shiki/dist/langs/gts.mjs +1 -0
- package/node_modules/shiki/dist/langs/hack.d.mts +1 -0
- package/node_modules/shiki/dist/langs/hack.mjs +1 -0
- package/node_modules/shiki/dist/langs/haml.d.mts +1 -0
- package/node_modules/shiki/dist/langs/haml.mjs +1 -0
- package/node_modules/shiki/dist/langs/handlebars.d.mts +1 -0
- package/node_modules/shiki/dist/langs/handlebars.mjs +1 -0
- package/node_modules/shiki/dist/langs/haskell.d.mts +1 -0
- package/node_modules/shiki/dist/langs/haskell.mjs +1 -0
- package/node_modules/shiki/dist/langs/haxe.d.mts +1 -0
- package/node_modules/shiki/dist/langs/haxe.mjs +1 -0
- package/node_modules/shiki/dist/langs/hbs.d.mts +1 -0
- package/node_modules/shiki/dist/langs/hbs.mjs +1 -0
- package/node_modules/shiki/dist/langs/hcl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/hcl.mjs +1 -0
- package/node_modules/shiki/dist/langs/hjson.d.mts +1 -0
- package/node_modules/shiki/dist/langs/hjson.mjs +1 -0
- package/node_modules/shiki/dist/langs/hlsl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/hlsl.mjs +1 -0
- package/node_modules/shiki/dist/langs/hs.d.mts +1 -0
- package/node_modules/shiki/dist/langs/hs.mjs +1 -0
- package/node_modules/shiki/dist/langs/html-derivative.d.mts +1 -0
- package/node_modules/shiki/dist/langs/html-derivative.mjs +1 -0
- package/node_modules/shiki/dist/langs/html.d.mts +1 -0
- package/node_modules/shiki/dist/langs/html.mjs +1 -0
- package/node_modules/shiki/dist/langs/http.d.mts +1 -0
- package/node_modules/shiki/dist/langs/http.mjs +1 -0
- package/node_modules/shiki/dist/langs/hurl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/hurl.mjs +1 -0
- package/node_modules/shiki/dist/langs/hxml.d.mts +1 -0
- package/node_modules/shiki/dist/langs/hxml.mjs +1 -0
- package/node_modules/shiki/dist/langs/hy.d.mts +1 -0
- package/node_modules/shiki/dist/langs/hy.mjs +1 -0
- package/node_modules/shiki/dist/langs/imba.d.mts +1 -0
- package/node_modules/shiki/dist/langs/imba.mjs +1 -0
- package/node_modules/shiki/dist/langs/ini.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ini.mjs +1 -0
- package/node_modules/shiki/dist/langs/jade.d.mts +1 -0
- package/node_modules/shiki/dist/langs/jade.mjs +1 -0
- package/node_modules/shiki/dist/langs/java.d.mts +1 -0
- package/node_modules/shiki/dist/langs/java.mjs +1 -0
- package/node_modules/shiki/dist/langs/javascript.d.mts +1 -0
- package/node_modules/shiki/dist/langs/javascript.mjs +1 -0
- package/node_modules/shiki/dist/langs/jinja-html.d.mts +1 -0
- package/node_modules/shiki/dist/langs/jinja-html.mjs +1 -0
- package/node_modules/shiki/dist/langs/jinja.d.mts +1 -0
- package/node_modules/shiki/dist/langs/jinja.mjs +1 -0
- package/node_modules/shiki/dist/langs/jison.d.mts +1 -0
- package/node_modules/shiki/dist/langs/jison.mjs +1 -0
- package/node_modules/shiki/dist/langs/jl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/jl.mjs +1 -0
- package/node_modules/shiki/dist/langs/js.d.mts +1 -0
- package/node_modules/shiki/dist/langs/js.mjs +1 -0
- package/node_modules/shiki/dist/langs/json.d.mts +1 -0
- package/node_modules/shiki/dist/langs/json.mjs +1 -0
- package/node_modules/shiki/dist/langs/json5.d.mts +1 -0
- package/node_modules/shiki/dist/langs/json5.mjs +1 -0
- package/node_modules/shiki/dist/langs/jsonc.d.mts +1 -0
- package/node_modules/shiki/dist/langs/jsonc.mjs +1 -0
- package/node_modules/shiki/dist/langs/jsonl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/jsonl.mjs +1 -0
- package/node_modules/shiki/dist/langs/jsonnet.d.mts +1 -0
- package/node_modules/shiki/dist/langs/jsonnet.mjs +1 -0
- package/node_modules/shiki/dist/langs/jssm.d.mts +1 -0
- package/node_modules/shiki/dist/langs/jssm.mjs +1 -0
- package/node_modules/shiki/dist/langs/jsx.d.mts +1 -0
- package/node_modules/shiki/dist/langs/jsx.mjs +1 -0
- package/node_modules/shiki/dist/langs/julia.d.mts +1 -0
- package/node_modules/shiki/dist/langs/julia.mjs +1 -0
- package/node_modules/shiki/dist/langs/just.d.mts +1 -0
- package/node_modules/shiki/dist/langs/just.mjs +1 -0
- package/node_modules/shiki/dist/langs/justfile.d.mts +1 -0
- package/node_modules/shiki/dist/langs/justfile.mjs +1 -0
- package/node_modules/shiki/dist/langs/kdl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/kdl.mjs +1 -0
- package/node_modules/shiki/dist/langs/kotlin.d.mts +1 -0
- package/node_modules/shiki/dist/langs/kotlin.mjs +1 -0
- package/node_modules/shiki/dist/langs/kql.d.mts +1 -0
- package/node_modules/shiki/dist/langs/kql.mjs +1 -0
- package/node_modules/shiki/dist/langs/kt.d.mts +1 -0
- package/node_modules/shiki/dist/langs/kt.mjs +1 -0
- package/node_modules/shiki/dist/langs/kts.d.mts +1 -0
- package/node_modules/shiki/dist/langs/kts.mjs +1 -0
- package/node_modules/shiki/dist/langs/kusto.d.mts +1 -0
- package/node_modules/shiki/dist/langs/kusto.mjs +1 -0
- package/node_modules/shiki/dist/langs/latex.d.mts +1 -0
- package/node_modules/shiki/dist/langs/latex.mjs +1 -0
- package/node_modules/shiki/dist/langs/lean.d.mts +1 -0
- package/node_modules/shiki/dist/langs/lean.mjs +1 -0
- package/node_modules/shiki/dist/langs/lean4.d.mts +1 -0
- package/node_modules/shiki/dist/langs/lean4.mjs +1 -0
- package/node_modules/shiki/dist/langs/less.d.mts +1 -0
- package/node_modules/shiki/dist/langs/less.mjs +1 -0
- package/node_modules/shiki/dist/langs/liquid.d.mts +1 -0
- package/node_modules/shiki/dist/langs/liquid.mjs +1 -0
- package/node_modules/shiki/dist/langs/lisp.d.mts +1 -0
- package/node_modules/shiki/dist/langs/lisp.mjs +1 -0
- package/node_modules/shiki/dist/langs/lit.d.mts +1 -0
- package/node_modules/shiki/dist/langs/lit.mjs +1 -0
- package/node_modules/shiki/dist/langs/llvm.d.mts +1 -0
- package/node_modules/shiki/dist/langs/llvm.mjs +1 -0
- package/node_modules/shiki/dist/langs/log.d.mts +1 -0
- package/node_modules/shiki/dist/langs/log.mjs +1 -0
- package/node_modules/shiki/dist/langs/logo.d.mts +1 -0
- package/node_modules/shiki/dist/langs/logo.mjs +1 -0
- package/node_modules/shiki/dist/langs/lua.d.mts +1 -0
- package/node_modules/shiki/dist/langs/lua.mjs +1 -0
- package/node_modules/shiki/dist/langs/luau.d.mts +1 -0
- package/node_modules/shiki/dist/langs/luau.mjs +1 -0
- package/node_modules/shiki/dist/langs/make.d.mts +1 -0
- package/node_modules/shiki/dist/langs/make.mjs +1 -0
- package/node_modules/shiki/dist/langs/makefile.d.mts +1 -0
- package/node_modules/shiki/dist/langs/makefile.mjs +1 -0
- package/node_modules/shiki/dist/langs/markdown-nix.d.mts +1 -0
- package/node_modules/shiki/dist/langs/markdown-nix.mjs +1 -0
- package/node_modules/shiki/dist/langs/markdown-vue.d.mts +1 -0
- package/node_modules/shiki/dist/langs/markdown-vue.mjs +1 -0
- package/node_modules/shiki/dist/langs/markdown.d.mts +1 -0
- package/node_modules/shiki/dist/langs/markdown.mjs +1 -0
- package/node_modules/shiki/dist/langs/marko.d.mts +1 -0
- package/node_modules/shiki/dist/langs/marko.mjs +1 -0
- package/node_modules/shiki/dist/langs/matlab.d.mts +1 -0
- package/node_modules/shiki/dist/langs/matlab.mjs +1 -0
- package/node_modules/shiki/dist/langs/mbt.d.mts +1 -0
- package/node_modules/shiki/dist/langs/mbt.mjs +1 -0
- package/node_modules/shiki/dist/langs/mbti.d.mts +1 -0
- package/node_modules/shiki/dist/langs/mbti.mjs +1 -0
- package/node_modules/shiki/dist/langs/md.d.mts +1 -0
- package/node_modules/shiki/dist/langs/md.mjs +1 -0
- package/node_modules/shiki/dist/langs/mdc.d.mts +1 -0
- package/node_modules/shiki/dist/langs/mdc.mjs +1 -0
- package/node_modules/shiki/dist/langs/mdx.d.mts +1 -0
- package/node_modules/shiki/dist/langs/mdx.mjs +1 -0
- package/node_modules/shiki/dist/langs/mediawiki.d.mts +1 -0
- package/node_modules/shiki/dist/langs/mediawiki.mjs +1 -0
- package/node_modules/shiki/dist/langs/mermaid.d.mts +1 -0
- package/node_modules/shiki/dist/langs/mermaid.mjs +1 -0
- package/node_modules/shiki/dist/langs/mips.d.mts +1 -0
- package/node_modules/shiki/dist/langs/mips.mjs +1 -0
- package/node_modules/shiki/dist/langs/mipsasm.d.mts +1 -0
- package/node_modules/shiki/dist/langs/mipsasm.mjs +1 -0
- package/node_modules/shiki/dist/langs/mjs.d.mts +1 -0
- package/node_modules/shiki/dist/langs/mjs.mjs +1 -0
- package/node_modules/shiki/dist/langs/mmd.d.mts +1 -0
- package/node_modules/shiki/dist/langs/mmd.mjs +1 -0
- package/node_modules/shiki/dist/langs/mojo.d.mts +1 -0
- package/node_modules/shiki/dist/langs/mojo.mjs +1 -0
- package/node_modules/shiki/dist/langs/moonbit.d.mts +1 -0
- package/node_modules/shiki/dist/langs/moonbit.mjs +1 -0
- package/node_modules/shiki/dist/langs/move.d.mts +1 -0
- package/node_modules/shiki/dist/langs/move.mjs +1 -0
- package/node_modules/shiki/dist/langs/mts.d.mts +1 -0
- package/node_modules/shiki/dist/langs/mts.mjs +1 -0
- package/node_modules/shiki/dist/langs/nar.d.mts +1 -0
- package/node_modules/shiki/dist/langs/nar.mjs +1 -0
- package/node_modules/shiki/dist/langs/narrat.d.mts +1 -0
- package/node_modules/shiki/dist/langs/narrat.mjs +1 -0
- package/node_modules/shiki/dist/langs/nextflow-groovy.d.mts +1 -0
- package/node_modules/shiki/dist/langs/nextflow-groovy.mjs +1 -0
- package/node_modules/shiki/dist/langs/nextflow.d.mts +1 -0
- package/node_modules/shiki/dist/langs/nextflow.mjs +1 -0
- package/node_modules/shiki/dist/langs/nf.d.mts +1 -0
- package/node_modules/shiki/dist/langs/nf.mjs +1 -0
- package/node_modules/shiki/dist/langs/nginx.d.mts +1 -0
- package/node_modules/shiki/dist/langs/nginx.mjs +1 -0
- package/node_modules/shiki/dist/langs/nim.d.mts +1 -0
- package/node_modules/shiki/dist/langs/nim.mjs +1 -0
- package/node_modules/shiki/dist/langs/nix.d.mts +1 -0
- package/node_modules/shiki/dist/langs/nix.mjs +1 -0
- package/node_modules/shiki/dist/langs/nsis.d.mts +1 -0
- package/node_modules/shiki/dist/langs/nsis.mjs +1 -0
- package/node_modules/shiki/dist/langs/nu.d.mts +1 -0
- package/node_modules/shiki/dist/langs/nu.mjs +1 -0
- package/node_modules/shiki/dist/langs/nushell.d.mts +1 -0
- package/node_modules/shiki/dist/langs/nushell.mjs +1 -0
- package/node_modules/shiki/dist/langs/objc.d.mts +1 -0
- package/node_modules/shiki/dist/langs/objc.mjs +1 -0
- package/node_modules/shiki/dist/langs/objective-c.d.mts +1 -0
- package/node_modules/shiki/dist/langs/objective-c.mjs +1 -0
- package/node_modules/shiki/dist/langs/objective-cpp.d.mts +1 -0
- package/node_modules/shiki/dist/langs/objective-cpp.mjs +1 -0
- package/node_modules/shiki/dist/langs/ocaml.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ocaml.mjs +1 -0
- package/node_modules/shiki/dist/langs/odin.d.mts +1 -0
- package/node_modules/shiki/dist/langs/odin.mjs +1 -0
- package/node_modules/shiki/dist/langs/openscad.d.mts +1 -0
- package/node_modules/shiki/dist/langs/openscad.mjs +1 -0
- package/node_modules/shiki/dist/langs/org.d.mts +1 -0
- package/node_modules/shiki/dist/langs/org.mjs +1 -0
- package/node_modules/shiki/dist/langs/pascal.d.mts +1 -0
- package/node_modules/shiki/dist/langs/pascal.mjs +1 -0
- package/node_modules/shiki/dist/langs/perl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/perl.mjs +1 -0
- package/node_modules/shiki/dist/langs/perl6.d.mts +1 -0
- package/node_modules/shiki/dist/langs/perl6.mjs +1 -0
- package/node_modules/shiki/dist/langs/php.d.mts +1 -0
- package/node_modules/shiki/dist/langs/php.mjs +1 -0
- package/node_modules/shiki/dist/langs/pkl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/pkl.mjs +1 -0
- package/node_modules/shiki/dist/langs/plsql.d.mts +1 -0
- package/node_modules/shiki/dist/langs/plsql.mjs +1 -0
- package/node_modules/shiki/dist/langs/po.d.mts +1 -0
- package/node_modules/shiki/dist/langs/po.mjs +1 -0
- package/node_modules/shiki/dist/langs/polar.d.mts +1 -0
- package/node_modules/shiki/dist/langs/polar.mjs +1 -0
- package/node_modules/shiki/dist/langs/postcss.d.mts +1 -0
- package/node_modules/shiki/dist/langs/postcss.mjs +1 -0
- package/node_modules/shiki/dist/langs/pot.d.mts +1 -0
- package/node_modules/shiki/dist/langs/pot.mjs +1 -0
- package/node_modules/shiki/dist/langs/potx.d.mts +1 -0
- package/node_modules/shiki/dist/langs/potx.mjs +1 -0
- package/node_modules/shiki/dist/langs/powerquery.d.mts +1 -0
- package/node_modules/shiki/dist/langs/powerquery.mjs +1 -0
- package/node_modules/shiki/dist/langs/powershell.d.mts +1 -0
- package/node_modules/shiki/dist/langs/powershell.mjs +1 -0
- package/node_modules/shiki/dist/langs/prisma.d.mts +1 -0
- package/node_modules/shiki/dist/langs/prisma.mjs +1 -0
- package/node_modules/shiki/dist/langs/prolog.d.mts +1 -0
- package/node_modules/shiki/dist/langs/prolog.mjs +1 -0
- package/node_modules/shiki/dist/langs/properties.d.mts +1 -0
- package/node_modules/shiki/dist/langs/properties.mjs +1 -0
- package/node_modules/shiki/dist/langs/proto.d.mts +1 -0
- package/node_modules/shiki/dist/langs/proto.mjs +1 -0
- package/node_modules/shiki/dist/langs/protobuf.d.mts +1 -0
- package/node_modules/shiki/dist/langs/protobuf.mjs +1 -0
- package/node_modules/shiki/dist/langs/ps.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ps.mjs +1 -0
- package/node_modules/shiki/dist/langs/ps1.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ps1.mjs +1 -0
- package/node_modules/shiki/dist/langs/pug.d.mts +1 -0
- package/node_modules/shiki/dist/langs/pug.mjs +1 -0
- package/node_modules/shiki/dist/langs/puppet.d.mts +1 -0
- package/node_modules/shiki/dist/langs/puppet.mjs +1 -0
- package/node_modules/shiki/dist/langs/purescript.d.mts +1 -0
- package/node_modules/shiki/dist/langs/purescript.mjs +1 -0
- package/node_modules/shiki/dist/langs/pwsh.d.mts +1 -0
- package/node_modules/shiki/dist/langs/pwsh.mjs +1 -0
- package/node_modules/shiki/dist/langs/py.d.mts +1 -0
- package/node_modules/shiki/dist/langs/py.mjs +1 -0
- package/node_modules/shiki/dist/langs/python.d.mts +1 -0
- package/node_modules/shiki/dist/langs/python.mjs +1 -0
- package/node_modules/shiki/dist/langs/ql.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ql.mjs +1 -0
- package/node_modules/shiki/dist/langs/qml.d.mts +1 -0
- package/node_modules/shiki/dist/langs/qml.mjs +1 -0
- package/node_modules/shiki/dist/langs/qmldir.d.mts +1 -0
- package/node_modules/shiki/dist/langs/qmldir.mjs +1 -0
- package/node_modules/shiki/dist/langs/qss.d.mts +1 -0
- package/node_modules/shiki/dist/langs/qss.mjs +1 -0
- package/node_modules/shiki/dist/langs/r.d.mts +1 -0
- package/node_modules/shiki/dist/langs/r.mjs +1 -0
- package/node_modules/shiki/dist/langs/racket.d.mts +1 -0
- package/node_modules/shiki/dist/langs/racket.mjs +1 -0
- package/node_modules/shiki/dist/langs/raku.d.mts +1 -0
- package/node_modules/shiki/dist/langs/raku.mjs +1 -0
- package/node_modules/shiki/dist/langs/razor.d.mts +1 -0
- package/node_modules/shiki/dist/langs/razor.mjs +1 -0
- package/node_modules/shiki/dist/langs/rb.d.mts +1 -0
- package/node_modules/shiki/dist/langs/rb.mjs +1 -0
- package/node_modules/shiki/dist/langs/rbs.d.mts +1 -0
- package/node_modules/shiki/dist/langs/rbs.mjs +1 -0
- package/node_modules/shiki/dist/langs/reg.d.mts +1 -0
- package/node_modules/shiki/dist/langs/reg.mjs +1 -0
- package/node_modules/shiki/dist/langs/regex.d.mts +1 -0
- package/node_modules/shiki/dist/langs/regex.mjs +1 -0
- package/node_modules/shiki/dist/langs/regexp.d.mts +1 -0
- package/node_modules/shiki/dist/langs/regexp.mjs +1 -0
- package/node_modules/shiki/dist/langs/rel.d.mts +1 -0
- package/node_modules/shiki/dist/langs/rel.mjs +1 -0
- package/node_modules/shiki/dist/langs/riscv.d.mts +1 -0
- package/node_modules/shiki/dist/langs/riscv.mjs +1 -0
- package/node_modules/shiki/dist/langs/ron.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ron.mjs +1 -0
- package/node_modules/shiki/dist/langs/rosmsg.d.mts +1 -0
- package/node_modules/shiki/dist/langs/rosmsg.mjs +1 -0
- package/node_modules/shiki/dist/langs/rs.d.mts +1 -0
- package/node_modules/shiki/dist/langs/rs.mjs +1 -0
- package/node_modules/shiki/dist/langs/rst.d.mts +1 -0
- package/node_modules/shiki/dist/langs/rst.mjs +1 -0
- package/node_modules/shiki/dist/langs/ruby-signature.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ruby-signature.mjs +1 -0
- package/node_modules/shiki/dist/langs/ruby.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ruby.mjs +1 -0
- package/node_modules/shiki/dist/langs/rust.d.mts +1 -0
- package/node_modules/shiki/dist/langs/rust.mjs +1 -0
- package/node_modules/shiki/dist/langs/sas.d.mts +1 -0
- package/node_modules/shiki/dist/langs/sas.mjs +1 -0
- package/node_modules/shiki/dist/langs/sass.d.mts +1 -0
- package/node_modules/shiki/dist/langs/sass.mjs +1 -0
- package/node_modules/shiki/dist/langs/scad.d.mts +1 -0
- package/node_modules/shiki/dist/langs/scad.mjs +1 -0
- package/node_modules/shiki/dist/langs/scala.d.mts +1 -0
- package/node_modules/shiki/dist/langs/scala.mjs +1 -0
- package/node_modules/shiki/dist/langs/scheme.d.mts +1 -0
- package/node_modules/shiki/dist/langs/scheme.mjs +1 -0
- package/node_modules/shiki/dist/langs/scss.d.mts +1 -0
- package/node_modules/shiki/dist/langs/scss.mjs +1 -0
- package/node_modules/shiki/dist/langs/sdbl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/sdbl.mjs +1 -0
- package/node_modules/shiki/dist/langs/sh.d.mts +1 -0
- package/node_modules/shiki/dist/langs/sh.mjs +1 -0
- package/node_modules/shiki/dist/langs/shader.d.mts +1 -0
- package/node_modules/shiki/dist/langs/shader.mjs +1 -0
- package/node_modules/shiki/dist/langs/shaderlab.d.mts +1 -0
- package/node_modules/shiki/dist/langs/shaderlab.mjs +1 -0
- package/node_modules/shiki/dist/langs/shell.d.mts +1 -0
- package/node_modules/shiki/dist/langs/shell.mjs +1 -0
- package/node_modules/shiki/dist/langs/shellscript.d.mts +1 -0
- package/node_modules/shiki/dist/langs/shellscript.mjs +1 -0
- package/node_modules/shiki/dist/langs/shellsession.d.mts +1 -0
- package/node_modules/shiki/dist/langs/shellsession.mjs +1 -0
- package/node_modules/shiki/dist/langs/smalltalk.d.mts +1 -0
- package/node_modules/shiki/dist/langs/smalltalk.mjs +1 -0
- package/node_modules/shiki/dist/langs/smithy.d.mts +1 -0
- package/node_modules/shiki/dist/langs/smithy.mjs +1 -0
- package/node_modules/shiki/dist/langs/solidity.d.mts +1 -0
- package/node_modules/shiki/dist/langs/solidity.mjs +1 -0
- package/node_modules/shiki/dist/langs/soy.d.mts +1 -0
- package/node_modules/shiki/dist/langs/soy.mjs +1 -0
- package/node_modules/shiki/dist/langs/sparql.d.mts +1 -0
- package/node_modules/shiki/dist/langs/sparql.mjs +1 -0
- package/node_modules/shiki/dist/langs/spl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/spl.mjs +1 -0
- package/node_modules/shiki/dist/langs/splunk.d.mts +1 -0
- package/node_modules/shiki/dist/langs/splunk.mjs +1 -0
- package/node_modules/shiki/dist/langs/sql.d.mts +1 -0
- package/node_modules/shiki/dist/langs/sql.mjs +1 -0
- package/node_modules/shiki/dist/langs/ssh-config.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ssh-config.mjs +1 -0
- package/node_modules/shiki/dist/langs/stata.d.mts +1 -0
- package/node_modules/shiki/dist/langs/stata.mjs +1 -0
- package/node_modules/shiki/dist/langs/styl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/styl.mjs +1 -0
- package/node_modules/shiki/dist/langs/stylus.d.mts +1 -0
- package/node_modules/shiki/dist/langs/stylus.mjs +1 -0
- package/node_modules/shiki/dist/langs/surql.d.mts +1 -0
- package/node_modules/shiki/dist/langs/surql.mjs +1 -0
- package/node_modules/shiki/dist/langs/surrealql.d.mts +1 -0
- package/node_modules/shiki/dist/langs/surrealql.mjs +1 -0
- package/node_modules/shiki/dist/langs/svelte.d.mts +1 -0
- package/node_modules/shiki/dist/langs/svelte.mjs +1 -0
- package/node_modules/shiki/dist/langs/swift.d.mts +1 -0
- package/node_modules/shiki/dist/langs/swift.mjs +1 -0
- package/node_modules/shiki/dist/langs/system-verilog.d.mts +1 -0
- package/node_modules/shiki/dist/langs/system-verilog.mjs +1 -0
- package/node_modules/shiki/dist/langs/systemd.d.mts +1 -0
- package/node_modules/shiki/dist/langs/systemd.mjs +1 -0
- package/node_modules/shiki/dist/langs/talon.d.mts +1 -0
- package/node_modules/shiki/dist/langs/talon.mjs +1 -0
- package/node_modules/shiki/dist/langs/talonscript.d.mts +1 -0
- package/node_modules/shiki/dist/langs/talonscript.mjs +1 -0
- package/node_modules/shiki/dist/langs/tasl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/tasl.mjs +1 -0
- package/node_modules/shiki/dist/langs/tcl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/tcl.mjs +1 -0
- package/node_modules/shiki/dist/langs/templ.d.mts +1 -0
- package/node_modules/shiki/dist/langs/templ.mjs +1 -0
- package/node_modules/shiki/dist/langs/terraform.d.mts +1 -0
- package/node_modules/shiki/dist/langs/terraform.mjs +1 -0
- package/node_modules/shiki/dist/langs/tex.d.mts +1 -0
- package/node_modules/shiki/dist/langs/tex.mjs +1 -0
- package/node_modules/shiki/dist/langs/tf.d.mts +1 -0
- package/node_modules/shiki/dist/langs/tf.mjs +1 -0
- package/node_modules/shiki/dist/langs/tfvars.d.mts +1 -0
- package/node_modules/shiki/dist/langs/tfvars.mjs +1 -0
- package/node_modules/shiki/dist/langs/toml.d.mts +1 -0
- package/node_modules/shiki/dist/langs/toml.mjs +1 -0
- package/node_modules/shiki/dist/langs/tres.d.mts +1 -0
- package/node_modules/shiki/dist/langs/tres.mjs +1 -0
- package/node_modules/shiki/dist/langs/ts-tags.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ts-tags.mjs +1 -0
- package/node_modules/shiki/dist/langs/ts.d.mts +1 -0
- package/node_modules/shiki/dist/langs/ts.mjs +1 -0
- package/node_modules/shiki/dist/langs/tscn.d.mts +1 -0
- package/node_modules/shiki/dist/langs/tscn.mjs +1 -0
- package/node_modules/shiki/dist/langs/tsp.d.mts +1 -0
- package/node_modules/shiki/dist/langs/tsp.mjs +1 -0
- package/node_modules/shiki/dist/langs/tsv.d.mts +1 -0
- package/node_modules/shiki/dist/langs/tsv.mjs +1 -0
- package/node_modules/shiki/dist/langs/tsx.d.mts +1 -0
- package/node_modules/shiki/dist/langs/tsx.mjs +1 -0
- package/node_modules/shiki/dist/langs/turtle.d.mts +1 -0
- package/node_modules/shiki/dist/langs/turtle.mjs +1 -0
- package/node_modules/shiki/dist/langs/twig.d.mts +1 -0
- package/node_modules/shiki/dist/langs/twig.mjs +1 -0
- package/node_modules/shiki/dist/langs/typ.d.mts +1 -0
- package/node_modules/shiki/dist/langs/typ.mjs +1 -0
- package/node_modules/shiki/dist/langs/typescript.d.mts +1 -0
- package/node_modules/shiki/dist/langs/typescript.mjs +1 -0
- package/node_modules/shiki/dist/langs/typespec.d.mts +1 -0
- package/node_modules/shiki/dist/langs/typespec.mjs +1 -0
- package/node_modules/shiki/dist/langs/typst.d.mts +1 -0
- package/node_modules/shiki/dist/langs/typst.mjs +1 -0
- package/node_modules/shiki/dist/langs/v.d.mts +1 -0
- package/node_modules/shiki/dist/langs/v.mjs +1 -0
- package/node_modules/shiki/dist/langs/vala.d.mts +1 -0
- package/node_modules/shiki/dist/langs/vala.mjs +1 -0
- package/node_modules/shiki/dist/langs/vb.d.mts +1 -0
- package/node_modules/shiki/dist/langs/vb.mjs +1 -0
- package/node_modules/shiki/dist/langs/verilog.d.mts +1 -0
- package/node_modules/shiki/dist/langs/verilog.mjs +1 -0
- package/node_modules/shiki/dist/langs/vhdl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/vhdl.mjs +1 -0
- package/node_modules/shiki/dist/langs/vim.d.mts +1 -0
- package/node_modules/shiki/dist/langs/vim.mjs +1 -0
- package/node_modules/shiki/dist/langs/viml.d.mts +1 -0
- package/node_modules/shiki/dist/langs/viml.mjs +1 -0
- package/node_modules/shiki/dist/langs/vimscript.d.mts +1 -0
- package/node_modules/shiki/dist/langs/vimscript.mjs +1 -0
- package/node_modules/shiki/dist/langs/vue-directives.d.mts +1 -0
- package/node_modules/shiki/dist/langs/vue-directives.mjs +1 -0
- package/node_modules/shiki/dist/langs/vue-html.d.mts +1 -0
- package/node_modules/shiki/dist/langs/vue-html.mjs +1 -0
- package/node_modules/shiki/dist/langs/vue-interpolations.d.mts +1 -0
- package/node_modules/shiki/dist/langs/vue-interpolations.mjs +1 -0
- package/node_modules/shiki/dist/langs/vue-sfc-style-variable-injection.d.mts +1 -0
- package/node_modules/shiki/dist/langs/vue-sfc-style-variable-injection.mjs +1 -0
- package/node_modules/shiki/dist/langs/vue-vine.d.mts +1 -0
- package/node_modules/shiki/dist/langs/vue-vine.mjs +1 -0
- package/node_modules/shiki/dist/langs/vue.d.mts +1 -0
- package/node_modules/shiki/dist/langs/vue.mjs +1 -0
- package/node_modules/shiki/dist/langs/vy.d.mts +1 -0
- package/node_modules/shiki/dist/langs/vy.mjs +1 -0
- package/node_modules/shiki/dist/langs/vyper.d.mts +1 -0
- package/node_modules/shiki/dist/langs/vyper.mjs +1 -0
- package/node_modules/shiki/dist/langs/wasm.d.mts +1 -0
- package/node_modules/shiki/dist/langs/wasm.mjs +1 -0
- package/node_modules/shiki/dist/langs/wenyan.d.mts +1 -0
- package/node_modules/shiki/dist/langs/wenyan.mjs +1 -0
- package/node_modules/shiki/dist/langs/wgsl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/wgsl.mjs +1 -0
- package/node_modules/shiki/dist/langs/wiki.d.mts +1 -0
- package/node_modules/shiki/dist/langs/wiki.mjs +1 -0
- package/node_modules/shiki/dist/langs/wikitext.d.mts +1 -0
- package/node_modules/shiki/dist/langs/wikitext.mjs +1 -0
- package/node_modules/shiki/dist/langs/wit.d.mts +1 -0
- package/node_modules/shiki/dist/langs/wit.mjs +1 -0
- package/node_modules/shiki/dist/langs/wl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/wl.mjs +1 -0
- package/node_modules/shiki/dist/langs/wolfram.d.mts +1 -0
- package/node_modules/shiki/dist/langs/wolfram.mjs +1 -0
- package/node_modules/shiki/dist/langs/xml.d.mts +1 -0
- package/node_modules/shiki/dist/langs/xml.mjs +1 -0
- package/node_modules/shiki/dist/langs/xsl.d.mts +1 -0
- package/node_modules/shiki/dist/langs/xsl.mjs +1 -0
- package/node_modules/shiki/dist/langs/yaml.d.mts +1 -0
- package/node_modules/shiki/dist/langs/yaml.mjs +1 -0
- package/node_modules/shiki/dist/langs/yml.d.mts +1 -0
- package/node_modules/shiki/dist/langs/yml.mjs +1 -0
- package/node_modules/shiki/dist/langs/zenscript.d.mts +1 -0
- package/node_modules/shiki/dist/langs/zenscript.mjs +1 -0
- package/node_modules/shiki/dist/langs/zig.d.mts +1 -0
- package/node_modules/shiki/dist/langs/zig.mjs +1 -0
- package/node_modules/shiki/dist/langs/zsh.d.mts +1 -0
- package/node_modules/shiki/dist/langs/zsh.mjs +1 -0
- package/node_modules/shiki/dist/langs-B38xGbib.d.mts +1 -0
- package/node_modules/shiki/dist/langs-bundle-full-B4n9xYHw.d.mts +13 -0
- package/node_modules/shiki/dist/langs-bundle-full-xQVO1Cek.mjs +1326 -0
- package/node_modules/shiki/dist/langs.d.mts +3 -0
- package/node_modules/shiki/dist/langs.mjs +2 -0
- package/node_modules/shiki/dist/onig.d.mts +1 -0
- package/node_modules/shiki/dist/onig.wasm +0 -0
- package/node_modules/shiki/dist/rolldown-runtime-BBjsoOtd.mjs +27 -0
- package/node_modules/shiki/dist/textmate.d.mts +1 -0
- package/node_modules/shiki/dist/textmate.mjs +2 -0
- package/node_modules/shiki/dist/themes/andromeeda.d.mts +1 -0
- package/node_modules/shiki/dist/themes/andromeeda.mjs +1 -0
- package/node_modules/shiki/dist/themes/aurora-x.d.mts +1 -0
- package/node_modules/shiki/dist/themes/aurora-x.mjs +1 -0
- package/node_modules/shiki/dist/themes/ayu-dark.d.mts +1 -0
- package/node_modules/shiki/dist/themes/ayu-dark.mjs +1 -0
- package/node_modules/shiki/dist/themes/ayu-light.d.mts +1 -0
- package/node_modules/shiki/dist/themes/ayu-light.mjs +1 -0
- package/node_modules/shiki/dist/themes/ayu-mirage.d.mts +1 -0
- package/node_modules/shiki/dist/themes/ayu-mirage.mjs +1 -0
- package/node_modules/shiki/dist/themes/catppuccin-frappe.d.mts +1 -0
- package/node_modules/shiki/dist/themes/catppuccin-frappe.mjs +1 -0
- package/node_modules/shiki/dist/themes/catppuccin-latte.d.mts +1 -0
- package/node_modules/shiki/dist/themes/catppuccin-latte.mjs +1 -0
- package/node_modules/shiki/dist/themes/catppuccin-macchiato.d.mts +1 -0
- package/node_modules/shiki/dist/themes/catppuccin-macchiato.mjs +1 -0
- package/node_modules/shiki/dist/themes/catppuccin-mocha.d.mts +1 -0
- package/node_modules/shiki/dist/themes/catppuccin-mocha.mjs +1 -0
- package/node_modules/shiki/dist/themes/dark-plus.d.mts +1 -0
- package/node_modules/shiki/dist/themes/dark-plus.mjs +1 -0
- package/node_modules/shiki/dist/themes/dracula-soft.d.mts +1 -0
- package/node_modules/shiki/dist/themes/dracula-soft.mjs +1 -0
- package/node_modules/shiki/dist/themes/dracula.d.mts +1 -0
- package/node_modules/shiki/dist/themes/dracula.mjs +1 -0
- package/node_modules/shiki/dist/themes/everforest-dark.d.mts +1 -0
- package/node_modules/shiki/dist/themes/everforest-dark.mjs +1 -0
- package/node_modules/shiki/dist/themes/everforest-light.d.mts +1 -0
- package/node_modules/shiki/dist/themes/everforest-light.mjs +1 -0
- package/node_modules/shiki/dist/themes/github-dark-default.d.mts +1 -0
- package/node_modules/shiki/dist/themes/github-dark-default.mjs +1 -0
- package/node_modules/shiki/dist/themes/github-dark-dimmed.d.mts +1 -0
- package/node_modules/shiki/dist/themes/github-dark-dimmed.mjs +1 -0
- package/node_modules/shiki/dist/themes/github-dark-high-contrast.d.mts +1 -0
- package/node_modules/shiki/dist/themes/github-dark-high-contrast.mjs +1 -0
- package/node_modules/shiki/dist/themes/github-dark.d.mts +1 -0
- package/node_modules/shiki/dist/themes/github-dark.mjs +1 -0
- package/node_modules/shiki/dist/themes/github-light-default.d.mts +1 -0
- package/node_modules/shiki/dist/themes/github-light-default.mjs +1 -0
- package/node_modules/shiki/dist/themes/github-light-high-contrast.d.mts +1 -0
- package/node_modules/shiki/dist/themes/github-light-high-contrast.mjs +1 -0
- package/node_modules/shiki/dist/themes/github-light.d.mts +1 -0
- package/node_modules/shiki/dist/themes/github-light.mjs +1 -0
- package/node_modules/shiki/dist/themes/gruvbox-dark-hard.d.mts +1 -0
- package/node_modules/shiki/dist/themes/gruvbox-dark-hard.mjs +1 -0
- package/node_modules/shiki/dist/themes/gruvbox-dark-medium.d.mts +1 -0
- package/node_modules/shiki/dist/themes/gruvbox-dark-medium.mjs +1 -0
- package/node_modules/shiki/dist/themes/gruvbox-dark-soft.d.mts +1 -0
- package/node_modules/shiki/dist/themes/gruvbox-dark-soft.mjs +1 -0
- package/node_modules/shiki/dist/themes/gruvbox-light-hard.d.mts +1 -0
- package/node_modules/shiki/dist/themes/gruvbox-light-hard.mjs +1 -0
- package/node_modules/shiki/dist/themes/gruvbox-light-medium.d.mts +1 -0
- package/node_modules/shiki/dist/themes/gruvbox-light-medium.mjs +1 -0
- package/node_modules/shiki/dist/themes/gruvbox-light-soft.d.mts +1 -0
- package/node_modules/shiki/dist/themes/gruvbox-light-soft.mjs +1 -0
- package/node_modules/shiki/dist/themes/horizon-bright.d.mts +1 -0
- package/node_modules/shiki/dist/themes/horizon-bright.mjs +1 -0
- package/node_modules/shiki/dist/themes/horizon.d.mts +1 -0
- package/node_modules/shiki/dist/themes/horizon.mjs +1 -0
- package/node_modules/shiki/dist/themes/houston.d.mts +1 -0
- package/node_modules/shiki/dist/themes/houston.mjs +1 -0
- package/node_modules/shiki/dist/themes/kanagawa-dragon.d.mts +1 -0
- package/node_modules/shiki/dist/themes/kanagawa-dragon.mjs +1 -0
- package/node_modules/shiki/dist/themes/kanagawa-lotus.d.mts +1 -0
- package/node_modules/shiki/dist/themes/kanagawa-lotus.mjs +1 -0
- package/node_modules/shiki/dist/themes/kanagawa-wave.d.mts +1 -0
- package/node_modules/shiki/dist/themes/kanagawa-wave.mjs +1 -0
- package/node_modules/shiki/dist/themes/laserwave.d.mts +1 -0
- package/node_modules/shiki/dist/themes/laserwave.mjs +1 -0
- package/node_modules/shiki/dist/themes/light-plus.d.mts +1 -0
- package/node_modules/shiki/dist/themes/light-plus.mjs +1 -0
- package/node_modules/shiki/dist/themes/material-theme-darker.d.mts +1 -0
- package/node_modules/shiki/dist/themes/material-theme-darker.mjs +1 -0
- package/node_modules/shiki/dist/themes/material-theme-lighter.d.mts +1 -0
- package/node_modules/shiki/dist/themes/material-theme-lighter.mjs +1 -0
- package/node_modules/shiki/dist/themes/material-theme-ocean.d.mts +1 -0
- package/node_modules/shiki/dist/themes/material-theme-ocean.mjs +1 -0
- package/node_modules/shiki/dist/themes/material-theme-palenight.d.mts +1 -0
- package/node_modules/shiki/dist/themes/material-theme-palenight.mjs +1 -0
- package/node_modules/shiki/dist/themes/material-theme.d.mts +1 -0
- package/node_modules/shiki/dist/themes/material-theme.mjs +1 -0
- package/node_modules/shiki/dist/themes/min-dark.d.mts +1 -0
- package/node_modules/shiki/dist/themes/min-dark.mjs +1 -0
- package/node_modules/shiki/dist/themes/min-light.d.mts +1 -0
- package/node_modules/shiki/dist/themes/min-light.mjs +1 -0
- package/node_modules/shiki/dist/themes/monokai.d.mts +1 -0
- package/node_modules/shiki/dist/themes/monokai.mjs +1 -0
- package/node_modules/shiki/dist/themes/night-owl-light.d.mts +1 -0
- package/node_modules/shiki/dist/themes/night-owl-light.mjs +1 -0
- package/node_modules/shiki/dist/themes/night-owl.d.mts +1 -0
- package/node_modules/shiki/dist/themes/night-owl.mjs +1 -0
- package/node_modules/shiki/dist/themes/nord.d.mts +1 -0
- package/node_modules/shiki/dist/themes/nord.mjs +1 -0
- package/node_modules/shiki/dist/themes/one-dark-pro.d.mts +1 -0
- package/node_modules/shiki/dist/themes/one-dark-pro.mjs +1 -0
- package/node_modules/shiki/dist/themes/one-light.d.mts +1 -0
- package/node_modules/shiki/dist/themes/one-light.mjs +1 -0
- package/node_modules/shiki/dist/themes/plastic.d.mts +1 -0
- package/node_modules/shiki/dist/themes/plastic.mjs +1 -0
- package/node_modules/shiki/dist/themes/poimandres.d.mts +1 -0
- package/node_modules/shiki/dist/themes/poimandres.mjs +1 -0
- package/node_modules/shiki/dist/themes/red.d.mts +1 -0
- package/node_modules/shiki/dist/themes/red.mjs +1 -0
- package/node_modules/shiki/dist/themes/rose-pine-dawn.d.mts +1 -0
- package/node_modules/shiki/dist/themes/rose-pine-dawn.mjs +1 -0
- package/node_modules/shiki/dist/themes/rose-pine-moon.d.mts +1 -0
- package/node_modules/shiki/dist/themes/rose-pine-moon.mjs +1 -0
- package/node_modules/shiki/dist/themes/rose-pine.d.mts +1 -0
- package/node_modules/shiki/dist/themes/rose-pine.mjs +1 -0
- package/node_modules/shiki/dist/themes/slack-dark.d.mts +1 -0
- package/node_modules/shiki/dist/themes/slack-dark.mjs +1 -0
- package/node_modules/shiki/dist/themes/slack-ochin.d.mts +1 -0
- package/node_modules/shiki/dist/themes/slack-ochin.mjs +1 -0
- package/node_modules/shiki/dist/themes/snazzy-light.d.mts +1 -0
- package/node_modules/shiki/dist/themes/snazzy-light.mjs +1 -0
- package/node_modules/shiki/dist/themes/solarized-dark.d.mts +1 -0
- package/node_modules/shiki/dist/themes/solarized-dark.mjs +1 -0
- package/node_modules/shiki/dist/themes/solarized-light.d.mts +1 -0
- package/node_modules/shiki/dist/themes/solarized-light.mjs +1 -0
- package/node_modules/shiki/dist/themes/synthwave-84.d.mts +1 -0
- package/node_modules/shiki/dist/themes/synthwave-84.mjs +1 -0
- package/node_modules/shiki/dist/themes/tokyo-night.d.mts +1 -0
- package/node_modules/shiki/dist/themes/tokyo-night.mjs +1 -0
- package/node_modules/shiki/dist/themes/vesper.d.mts +1 -0
- package/node_modules/shiki/dist/themes/vesper.mjs +1 -0
- package/node_modules/shiki/dist/themes/vitesse-black.d.mts +1 -0
- package/node_modules/shiki/dist/themes/vitesse-black.mjs +1 -0
- package/node_modules/shiki/dist/themes/vitesse-dark.d.mts +1 -0
- package/node_modules/shiki/dist/themes/vitesse-dark.mjs +1 -0
- package/node_modules/shiki/dist/themes/vitesse-light.d.mts +1 -0
- package/node_modules/shiki/dist/themes/vitesse-light.mjs +1 -0
- package/node_modules/shiki/dist/themes-BKdFAJ1v.d.mts +7 -0
- package/node_modules/shiki/dist/themes.d.mts +2 -0
- package/node_modules/shiki/dist/themes.mjs +396 -0
- package/node_modules/shiki/dist/types.d.mts +9 -0
- package/node_modules/shiki/dist/types.mjs +1 -0
- package/node_modules/shiki/dist/wasm.d.mts +3 -0
- package/node_modules/shiki/dist/wasm.mjs +3 -0
- package/node_modules/shiki/package.json +73 -0
- package/node_modules/space-separated-tokens/index.d.ts +18 -0
- package/node_modules/space-separated-tokens/index.js +24 -0
- package/node_modules/space-separated-tokens/license +22 -0
- package/node_modules/space-separated-tokens/package.json +67 -0
- package/node_modules/space-separated-tokens/readme.md +156 -0
- package/node_modules/stringify-entities/index.d.ts +3 -0
- package/node_modules/stringify-entities/index.js +6 -0
- package/node_modules/stringify-entities/lib/constant/dangerous.d.ts +7 -0
- package/node_modules/stringify-entities/lib/constant/dangerous.js +16 -0
- package/node_modules/stringify-entities/lib/core.d.ts +26 -0
- package/node_modules/stringify-entities/lib/core.js +117 -0
- package/node_modules/stringify-entities/lib/index.d.ts +24 -0
- package/node_modules/stringify-entities/lib/index.js +36 -0
- package/node_modules/stringify-entities/lib/util/format-basic.d.ts +7 -0
- package/node_modules/stringify-entities/lib/util/format-basic.js +9 -0
- package/node_modules/stringify-entities/lib/util/format-smart.d.ts +32 -0
- package/node_modules/stringify-entities/lib/util/format-smart.js +69 -0
- package/node_modules/stringify-entities/lib/util/to-decimal.d.ts +9 -0
- package/node_modules/stringify-entities/lib/util/to-decimal.js +16 -0
- package/node_modules/stringify-entities/lib/util/to-hexadecimal.d.ts +9 -0
- package/node_modules/stringify-entities/lib/util/to-hexadecimal.js +16 -0
- package/node_modules/stringify-entities/lib/util/to-named.d.ts +10 -0
- package/node_modules/stringify-entities/lib/util/to-named.js +57 -0
- package/node_modules/stringify-entities/license +22 -0
- package/node_modules/stringify-entities/package.json +86 -0
- package/node_modules/stringify-entities/readme.md +233 -0
- package/node_modules/trim-lines/index.d.ts +10 -0
- package/node_modules/trim-lines/index.js +69 -0
- package/node_modules/trim-lines/license +22 -0
- package/node_modules/trim-lines/package.json +67 -0
- package/node_modules/trim-lines/readme.md +125 -0
- package/node_modules/unist-util-is/index.d.ts +5 -0
- package/node_modules/unist-util-is/index.d.ts.map +1 -0
- package/node_modules/unist-util-is/index.js +7 -0
- package/node_modules/unist-util-is/lib/index.d.ts +111 -0
- package/node_modules/unist-util-is/lib/index.d.ts.map +1 -0
- package/node_modules/unist-util-is/lib/index.js +296 -0
- package/node_modules/unist-util-is/license +22 -0
- package/node_modules/unist-util-is/package.json +103 -0
- package/node_modules/unist-util-is/readme.md +351 -0
- package/node_modules/unist-util-position/index.d.ts +1 -0
- package/node_modules/unist-util-position/index.js +1 -0
- package/node_modules/unist-util-position/lib/index.d.ts +45 -0
- package/node_modules/unist-util-position/lib/index.js +95 -0
- package/node_modules/unist-util-position/license +22 -0
- package/node_modules/unist-util-position/package.json +76 -0
- package/node_modules/unist-util-position/readme.md +243 -0
- package/node_modules/unist-util-stringify-position/index.d.ts +1 -0
- package/node_modules/unist-util-stringify-position/index.js +1 -0
- package/node_modules/unist-util-stringify-position/lib/index.d.ts +61 -0
- package/node_modules/unist-util-stringify-position/lib/index.js +84 -0
- package/node_modules/unist-util-stringify-position/license +22 -0
- package/node_modules/unist-util-stringify-position/package.json +80 -0
- package/node_modules/unist-util-stringify-position/readme.md +206 -0
- package/node_modules/unist-util-visit/index.d.ts +9 -0
- package/node_modules/unist-util-visit/index.js +2 -0
- package/node_modules/unist-util-visit/lib/index.d.ts +195 -0
- package/node_modules/unist-util-visit/lib/index.d.ts.map +1 -0
- package/node_modules/unist-util-visit/lib/index.js +312 -0
- package/node_modules/unist-util-visit/license +22 -0
- package/node_modules/unist-util-visit/package.json +108 -0
- package/node_modules/unist-util-visit/readme.md +313 -0
- package/node_modules/unist-util-visit-parents/index.d.ts +14 -0
- package/node_modules/unist-util-visit-parents/index.js +2 -0
- package/node_modules/unist-util-visit-parents/lib/color.d.ts +6 -0
- package/node_modules/unist-util-visit-parents/lib/color.d.ts.map +1 -0
- package/node_modules/unist-util-visit-parents/lib/color.js +7 -0
- package/node_modules/unist-util-visit-parents/lib/color.node.d.ts +6 -0
- package/node_modules/unist-util-visit-parents/lib/color.node.d.ts.map +1 -0
- package/node_modules/unist-util-visit-parents/lib/color.node.js +7 -0
- package/node_modules/unist-util-visit-parents/lib/index.d.ts +219 -0
- package/node_modules/unist-util-visit-parents/lib/index.d.ts.map +1 -0
- package/node_modules/unist-util-visit-parents/lib/index.js +399 -0
- package/node_modules/unist-util-visit-parents/license +22 -0
- package/node_modules/unist-util-visit-parents/package.json +106 -0
- package/node_modules/unist-util-visit-parents/readme.md +388 -0
- package/node_modules/vfile/index.d.ts +153 -0
- package/node_modules/vfile/index.js +2 -0
- package/node_modules/vfile/lib/index.d.ts +1465 -0
- package/node_modules/vfile/lib/index.d.ts.map +1 -0
- package/node_modules/vfile/lib/index.js +643 -0
- package/node_modules/vfile/lib/minpath.browser.d.ts +47 -0
- package/node_modules/vfile/lib/minpath.browser.d.ts.map +1 -0
- package/node_modules/vfile/lib/minpath.browser.js +426 -0
- package/node_modules/vfile/lib/minpath.d.ts +2 -0
- package/node_modules/vfile/lib/minpath.d.ts.map +1 -0
- package/node_modules/vfile/lib/minpath.js +1 -0
- package/node_modules/vfile/lib/minproc.browser.d.ts +6 -0
- package/node_modules/vfile/lib/minproc.browser.d.ts.map +1 -0
- package/node_modules/vfile/lib/minproc.browser.js +8 -0
- package/node_modules/vfile/lib/minproc.d.ts +2 -0
- package/node_modules/vfile/lib/minproc.d.ts.map +1 -0
- package/node_modules/vfile/lib/minproc.js +1 -0
- package/node_modules/vfile/lib/minurl.browser.d.ts +9 -0
- package/node_modules/vfile/lib/minurl.browser.d.ts.map +1 -0
- package/node_modules/vfile/lib/minurl.browser.js +76 -0
- package/node_modules/vfile/lib/minurl.d.ts +3 -0
- package/node_modules/vfile/lib/minurl.d.ts.map +1 -0
- package/node_modules/vfile/lib/minurl.js +2 -0
- package/node_modules/vfile/lib/minurl.shared.d.ts +20 -0
- package/node_modules/vfile/lib/minurl.shared.d.ts.map +1 -0
- package/node_modules/vfile/lib/minurl.shared.js +31 -0
- package/node_modules/vfile/license +21 -0
- package/node_modules/vfile/package.json +134 -0
- package/node_modules/vfile/readme.md +785 -0
- package/node_modules/vfile-message/index.d.ts +2 -0
- package/node_modules/vfile-message/index.js +5 -0
- package/node_modules/vfile-message/lib/index.d.ts +508 -0
- package/node_modules/vfile-message/lib/index.js +314 -0
- package/node_modules/vfile-message/license +22 -0
- package/node_modules/vfile-message/package.json +80 -0
- package/node_modules/vfile-message/readme.md +252 -0
- package/node_modules/zwitch/index.d.ts +67 -0
- package/node_modules/zwitch/index.js +118 -0
- package/node_modules/zwitch/license +22 -0
- package/node_modules/zwitch/package.json +72 -0
- package/node_modules/zwitch/readme.md +226 -0
- package/package.json +56 -0
- package/src/config/pi-settings.ts +534 -0
- package/src/config/presentation.ts +23 -0
- package/src/config/schema.ts +32 -0
- package/src/config/store.ts +202 -0
- package/src/config/tui-settings.ts +436 -0
- package/src/extension.ts +241 -0
- package/src/index.ts +14 -0
- package/src/protocol/settings.ts +177 -0
- package/src/runtime/actions.ts +29 -0
- package/src/runtime/apply.ts +25 -0
- package/src/runtime/effort.ts +34 -0
- package/src/runtime/options.ts +19 -0
- package/src/runtime/settings.ts +77 -0
- package/src/sdk.ts +264 -0
- package/src/ui/editor-session.ts +141 -0
- package/src/ui/fields.ts +109 -0
- package/src/ui/settings-editor.ts +918 -0
- package/src/ui/string-list-editor.ts +315 -0
- package/src/ui/structured-list-editor.ts +730 -0
- package/src/ui/xsettings-screen.ts +680 -0
- package/test/apply.test.ts +89 -0
- package/test/effort.test.ts +49 -0
- package/test/pi-settings.test.ts +71 -0
- package/test/presentation.test.ts +32 -0
- package/test/registry.test.ts +428 -0
- package/test/settings-editor.test.ts +985 -0
- package/test/store.test.ts +129 -0
- package/test/string-list-editor.test.ts +176 -0
- package/test/structured-list-editor.test.ts +280 -0
- package/test/tui-settings.test.ts +271 -0
- package/test/ui-fields.test.ts +326 -0
- package/test/xsettings-pointer.test.ts +585 -0
- package/tsconfig.json +16 -0
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../src/bundle.ts", "../src/utils.ts", "../src/generator/generate.ts", "../src/tokenizer/tokenize.ts", "../src/parser/node-utils.ts", "../src/parser/parse.ts", "../src/unicode.ts", "../src/index.ts", "../src/traverser/traverse.ts", "../src/optimizer/transforms/alternation-to-class.ts", "../src/optimizer/transforms/expose-anchors.ts", "../src/optimizer/transforms/extract-prefix.ts", "../src/optimizer/transforms/extract-prefix-2.ts", "../src/optimizer/transforms/extract-suffix.ts", "../src/optimizer/transforms/merge-ranges.ts", "../src/optimizer/transforms/optionalize.ts", "../src/optimizer/transforms/prevent-redos.ts", "../src/optimizer/transforms/remove-empty-groups.ts", "../src/optimizer/transforms/remove-useless-flags.ts", "../src/optimizer/transforms/simplify-callouts.ts", "../src/optimizer/transforms/unnest-useless-classes.ts", "../src/optimizer/transforms/unwrap-negation-wrappers.ts", "../src/optimizer/transforms/unwrap-useless-classes.ts", "../src/optimizer/transforms/unwrap-useless-groups.ts", "../src/optimizer/transforms/use-shorthands.ts", "../src/optimizer/transforms/use-unicode-aliases.ts", "../src/optimizer/transforms/use-unicode-props.ts", "../src/optimizer/optimizations.ts", "../src/optimizer/optimize.ts"],
|
|
4
|
+
"sourcesContent": ["export {generate} from './generator/generate.js';\nexport {toOnigurumaAst} from './index.js';\nexport {getOptionalOptimizations, optimize} from './optimizer/optimize.js';\nexport {parse} from './parser/parse.js';\nexport {traverse} from './traverser/traverse.js';\nexport {OnigUnicodePropertyMap} from './unicode.js';\n", "function cpOf(char: string): number {\n // Count code point length\n if ([...char].length !== 1) {\n throw new Error(`Expected \"${char}\" to be a single code point`);\n }\n return char.codePointAt(0)!;\n}\n\nfunction getOrInsert<Key, Value>(map: Map<Key, Value>, key: Key, defaultValue: Value): Value {\n if (!map.has(key)) {\n map.set(key, defaultValue);\n }\n return map.get(key)!;\n}\n\nconst PosixClassNames = new Set([\n 'alnum',\n 'alpha',\n 'ascii',\n 'blank',\n 'cntrl',\n 'digit',\n 'graph',\n 'lower',\n 'print',\n 'punct',\n 'space',\n 'upper',\n 'word',\n 'xdigit',\n]);\n\nconst r = String.raw;\n\nfunction throwIfNullish<Value>(value: Value, msg?: string): NonNullable<Value> {\n if (value == null) {\n throw new Error(msg ?? 'Value expected');\n }\n return value;\n}\n\nexport {\n cpOf,\n getOrInsert,\n PosixClassNames,\n r,\n throwIfNullish,\n};\n", "import type {GroupNode, Node, OnigurumaAst, ParentNode, QuantifierNode, RegexNode} from '../parser/parse.js';\nimport type {FlagProperties} from '../tokenizer/tokenize.js';\nimport {r, throwIfNullish} from '../utils.js';\n\ntype OnigurumaRegex = {\n pattern: string;\n flags: string;\n};\n\n/**\nGenerates an Oniguruma `pattern` and `flags` from an `OnigurumaAst`.\n*/\nfunction generate(ast: OnigurumaAst): OnigurumaRegex {\n const parentStack: Array<ParentNode> = [];\n let lastNode: Node = ast;\n const state: State = {\n inCharClass: false,\n lastNode,\n parent: ast,\n };\n const gen: Gen = node => {\n state.lastNode = lastNode;\n lastNode = node; // For the next iteration\n if (getFirstChild(state.lastNode) === node) {\n state.parent = state.lastNode as ParentNode;\n parentStack.push(state.parent);\n }\n const fn = throwIfNullish(generator[node.type], `Unexpected node type \"${node.type}\"`);\n // @ts-expect-error\n const result = fn(node, state, gen);\n if (getLastChild(state.parent) === node) {\n parentStack.pop();\n state.parent = parentStack.at(-1) ?? ast;\n };\n return result;\n };\n return {\n pattern: ast.body.map(gen).join('|'),\n // Could reset `lastNode` at this point via `lastNode = ast`, but it isn't needed by flags\n flags: gen(ast.flags),\n };\n}\n\ntype State = {\n inCharClass: boolean;\n lastNode: Node;\n parent: ParentNode;\n};\n\ntype NonRootNode = Exclude<Node, RegexNode>;\n\ntype Gen = (node: NonRootNode) => string;\n\ntype Generator = {\n [N in NonRootNode as N['type']]:\n (node: N, state: State, gen: Gen) => string\n};\n\nconst generator: Generator = {\n AbsenceFunction({body, kind}, _, gen) {\n if (kind !== 'repeater') {\n throw new Error(`Unexpected absence function kind \"${kind}\"`);\n }\n return `(?~${body.map(gen).join('|')})`;\n },\n\n Alternative({body}, _, gen) {\n return body.map(gen).join('');\n },\n\n Assertion({kind, negate}) {\n if (kind === 'text_segment_boundary') {\n return negate ? r`\\Y` : r`\\y`;\n }\n if (kind === 'word_boundary') {\n return negate ? r`\\B` : r`\\b`;\n }\n return throwIfNullish({\n line_end: '$',\n line_start: '^',\n search_start: r`\\G`,\n string_end: r`\\z`,\n string_end_newline: r`\\Z`,\n string_start: r`\\A`,\n }[kind], `Unexpected assertion kind \"${kind}\"`);\n },\n\n Backreference({ref}) {\n if (typeof ref === 'number') {\n // TODO: Won't be safe to indiscriminately unenclose when forward backrefs are supported\n return '\\\\' + ref;\n }\n // Onig doesn't allow chars `>` or `'` in backref names, so this is safe\n return `\\\\k<${ref}>`;\n },\n\n CapturingGroup({body, name}, _, gen) {\n const enclosedName = name ? `?${name.includes('>') ? `'${name}'` : `<${name}>`}` : '';\n return `(${enclosedName}${body.map(gen).join('|')})`;\n },\n\n Character(node, {inCharClass, lastNode, parent}) {\n const {value} = node;\n if (CharCodeEscapeMap.has(value)) {\n return CharCodeEscapeMap.get(value)!;\n }\n const escDigit = lastNode.type === 'Backreference';\n if (\n // Control chars, etc.; condition modeled on the Chrome developer console's display for strings\n value < 32 || (value > 126 && value < 160) ||\n // Unicode planes 4-16; unassigned, special purpose, and private use area\n value > 0x3FFFF ||\n // Avoid corrupting a preceding backref by immediately following it with a literal digit\n (escDigit && isDigitCharCode(value))\n ) {\n // Onig treats unenclosed `\\x80` to `\\xFF` as an encoded byte (a fragment of a code unit), so\n // we can't use them to represent a character. Also, don't convert value `0` to `\\0` since\n // that's corruptible by following literal digits\n return value > 0x7F ?\n `\\\\x{${value.toString(16).toUpperCase()}}` :\n `\\\\x${value.toString(16).toUpperCase().padStart(2, '0')}`;\n }\n const char = String.fromCodePoint(value);\n let escape = false;\n if (inCharClass) {\n const isDirectClassKid = parent.type === 'CharacterClass';\n const isFirst = isDirectClassKid && parent.body[0] === node;\n const isLast = isDirectClassKid && parent.body.at(-1) === node;\n // Avoid escaping in some optional special cases when escaping isn't needed due to position\n if (char === '^') {\n escape = isFirst && !parent.negate;\n } else if (char === ']') {\n escape = !isFirst;\n } else if (char === '-') {\n // Could also avoid escaping if it's immediately after a range or nested class, but don't\n // make that the default rendering\n escape = !isFirst && !isLast;\n } else {\n escape = CharClassEscapeChars.has(char);\n }\n } else {\n escape = BaseEscapeChars.has(char);\n }\n return `${escape ? '\\\\' : ''}${char}`;\n },\n\n CharacterClass({body, kind, negate}, state, gen) {\n function genClass() {\n if (\n state.parent.type === 'CharacterClass' &&\n state.parent.kind === 'intersection' &&\n kind === 'union' &&\n !body.length\n ) {\n // Prevent empty intersection like `[&&]` from becoming the invalid `[[]&&[]]`\n return '';\n }\n return `[${negate ? '^' : ''}${\n body.map(gen).join(kind === 'intersection' ? '&&' : '')\n }]`;\n }\n if (!state.inCharClass) {\n // For the outermost char class, set state\n state.inCharClass = true;\n const result = genClass();\n state.inCharClass = false;\n return result;\n }\n return genClass();\n },\n\n CharacterClassRange({min, max}, _, gen) {\n return `${gen(min)}-${gen(max)}`;\n },\n\n CharacterSet({kind, negate, value}, {inCharClass}) {\n switch (kind) {\n case 'any':\n return r`\\O`;\n case 'digit':\n return negate ? r`\\D` : r`\\d`;\n case 'dot':\n return '.';\n case 'hex':\n return negate ? r`\\H` : r`\\h`;\n case 'newline':\n return negate ? r`\\N` : r`\\R`;\n case 'posix':\n return inCharClass ?\n `[:${negate ? '^' : ''}${value}:]` :\n `${negate ? r`\\P` : r`\\p`}{${value}}`;\n case 'property':\n return `${negate ? r`\\P` : r`\\p`}{${value}}`;\n case 'space':\n return negate ? r`\\S` : r`\\s`;\n case 'text_segment':\n return r`\\X`;\n case 'word':\n return negate ? r`\\W` : r`\\w`;\n default:\n throw new Error(`Unexpected character set kind \"${kind}\"`);\n }\n },\n\n Directive({kind, flags}) {\n if (kind === 'flags') {\n const {enable = {}, disable = {}} = flags;\n const enableStr = getFlagsStr(enable);\n const disableStr = getFlagsStr(disable);\n return (enableStr || disableStr) ? `(?${enableStr}${disableStr ? `-${disableStr}` : ''})` : '';\n }\n if (kind === 'keep') {\n return r`\\K`;\n }\n throw new Error(`Unexpected directive kind \"${kind}\"`);\n },\n\n Flags(node) {\n return getFlagsStr(node);\n },\n\n Group({atomic, body, flags}, _, gen) {\n const contents = body.map(gen).join('|');\n return `(?${getGroupPrefix(atomic, flags)}${contents})`;\n },\n\n LookaroundAssertion({body, kind, negate}, _, gen) {\n const prefix = `${kind === 'lookahead' ? '' : '<'}${negate ? '!' : '='}`;\n return `(?${prefix}${body.map(gen).join('|')})`;\n },\n\n NamedCallout({kind, tag, arguments: args}) {\n if (kind === 'custom') {\n // TODO: If supporting custom callout names in the future (with an added `name` property for\n // `NamedCalloutNode`), will need to use `name` instead of `kind` if `kind` is `'custom'`\n throw new Error(`Unexpected named callout kind \"${kind}\"`);\n }\n return `(*${kind.toUpperCase()}${tag ? `[${tag}]` : ''}${args ? `{${args.join(',')}}` : ''})`;\n },\n\n Quantifier(node, {parent}, gen) {\n // Rendering Onig quantifiers is wildly, unnecessarily complex compared to other regex flavors\n // because of the combination of a few features unique to Onig:\n // - You can create quantifier chains (i.e., quantify a quantifier).\n // - An implicit zero min is allowed for interval quantifiers (ex: `{,2}`).\n // - Interval quantifiers can't use `+` to make them possessive (it creates a quantifier\n // chain), even though quantifiers `?` `*` `+` can.\n // - A reversed range in a quantifier makes it possessive (ex: `{2,1}`).\n // - `{,n}` is always greedy with an implicit zero min, and can't represent a possessive\n // range from n to infinity.\n const {body, kind, max, min} = node;\n // These errors shouldn't happen unless the AST is modified in an invalid way after parsing\n if (min === Infinity) {\n throw new Error(`Invalid quantifier: infinite min`);\n }\n if (min > max) {\n throw new Error(`Invalid quantifier: min \"${min}\" > max \"${max}\"`);\n }\n const kidIsGreedyQuantifier = (\n body.type === 'Quantifier' &&\n body.kind === 'greedy'\n );\n const parentIsPossessivePlus = (\n parent.type === 'Quantifier' &&\n parent.kind === 'possessive' &&\n parent.min === 1 &&\n parent.max === Infinity\n );\n // Can't render as a symbol, because the following (parent) quantifier, which is `++`, would\n // then alter this node's meaning to make it possessive, and the parent quantifier can't change\n // to avoid this because there's no interval representation possible for `++`. There's also no\n // other way to render `*+`, but a following `*` wouldn't alter the meaning of this node. `?+`\n // is also safe since it can use the alternative `{1,0}` representation (which is possessive)\n const forcedInterval = kind === 'greedy' && parentIsPossessivePlus;\n let base;\n if (isSymbolQuantifierCandidate(node) && !forcedInterval) {\n if (\n !min && max === 1 &&\n // Can't chain a base of `?` to any greedy quantifier since that would make it lazy\n !kidIsGreedyQuantifier\n ) {\n base = '?';\n } else if (!min && max === Infinity) {\n base = '*';\n } else if (\n min === 1 && max === Infinity &&\n ( // Can't chain a base of `+` to greedy `?`/`*`/`+` since that would make them possessive\n !(kidIsGreedyQuantifier && isSymbolQuantifierCandidate(body)) ||\n // ...but, we're forced to use `+` (and change the kid's rendering) if this is possessive\n // `++` since you can't use a possessive reversed range with `Infinity`\n kind === 'possessive'\n )\n ) {\n base = '+';\n }\n }\n const isIntervalQuantifier = !base;\n if (isIntervalQuantifier) {\n if (kind === 'possessive') {\n if (min === max) {\n // Can't add a `+` suffix to a fixed `{n}` interval quantifier\n throw new Error(`Invalid possessive quantifier: min and max are equal \"${min}\"`);\n }\n if (max === Infinity) {\n // Onig reversed ranges are possessive but `{,n}` is the same as greedy `{0,n}`, so\n // there's no way to represent this without adding additional nodes that aren't in the\n // AST. The exceptions are when `min` is 0 or 1 (`?+`, `*+`, `++`), but we've already\n // ruled out rendering as a symbol at this point\n throw new Error(`Invalid possessive quantifier: min \"${min}\" with infinite max\"`);\n }\n // Reversed range\n base = `{${max},${min}}`;\n } else if (min === max) {\n base = `{${min}}`;\n } else {\n base = `{${min},${max === Infinity ? '' : max}}`;\n }\n }\n const suffix = {\n greedy: '',\n lazy: '?',\n // Interval quantifiers are marked possessive by reversing their min/max; a `+` suffix would\n // create a quantifier chain\n possessive: isIntervalQuantifier ? '' : '+',\n }[kind];\n return `${gen(body)}${base}${suffix}`;\n },\n\n Subroutine({ref}) {\n if (typeof ref === 'string' && ref.includes('>')) {\n return r`\\g'${ref}'`;\n }\n return r`\\g<${ref}>`;\n },\n};\n\n// ---------------\n// --- Helpers ---\n// ---------------\n\nconst BaseEscapeChars = new Set([\n '$', '(', ')', '*', '+', '.', '?', '[', '\\\\', '^', '{', '|',\n]);\n\nconst CharClassEscapeChars = new Set([\n '&', '-', '[', '\\\\', ']', '^',\n]);\n\nconst CharCodeEscapeMap = new Map([\n [ 7, r`\\a`], // bell\n [ 9, r`\\t`], // horizontal tab\n [10, r`\\n`], // line feed\n [11, r`\\v`], // vertical tab\n [12, r`\\f`], // form feed\n [13, r`\\r`], // carriage return\n [27, r`\\e`], // escape\n [0x2028, r`\\u2028`], // line separator\n [0x2029, r`\\u2029`], // paragraph separator\n [0xFEFF, r`\\uFEFF`], // ZWNBSP/BOM\n]);\n\nfunction getFirstChild(node: Node) {\n if ('body' in node) {\n return Array.isArray(node.body) ? (node.body[0] ?? null) : node.body;\n }\n // Check for `type` to determine if it's a child node; quantifiers have a numeric `min`\n if ('min' in node && node.min.type) {\n return node.min;\n }\n return null;\n}\n\nfunction getLastChild(node: Node) {\n if ('body' in node) {\n return Array.isArray(node.body) ? (node.body.at(-1) ?? null) : node.body;\n }\n // Check for `type` to determine if it's a child node; quantifiers have a numeric `max`\n if ('max' in node && node.max.type) {\n return node.max;\n }\n return null;\n}\n\nfunction getFlagsStr({\n ignoreCase,\n dotAll,\n extended,\n digitIsAscii,\n posixIsAscii,\n spaceIsAscii,\n wordIsAscii,\n textSegmentMode,\n}: Partial<FlagProperties>): string {\n return `${\n ignoreCase ? 'i' : ''\n }${\n dotAll ? 'm' : ''\n }${\n extended ? 'x' : ''\n }${\n digitIsAscii ? 'D' : ''\n }${\n posixIsAscii ? 'P' : ''\n }${\n spaceIsAscii ? 'S' : ''\n }${\n wordIsAscii ? 'W' : ''\n }${\n textSegmentMode ? throwIfNullish({\n grapheme: 'y{g}',\n word: 'y{w}',\n }[textSegmentMode], `Unexpected text segment mode \"${textSegmentMode}\"`) : ''\n }`;\n}\n\nfunction getGroupPrefix(atomic: GroupNode['atomic'], flags?: GroupNode['flags']): string {\n if (atomic) {\n return '>';\n }\n let mods = '';\n if (flags) {\n const {enable = {}, disable = {}} = flags;\n const enableStr = getFlagsStr(enable);\n const disableStr = getFlagsStr(disable);\n mods = `${enableStr}${disableStr ? `-${disableStr}` : ''}`;\n }\n return `${mods}:`;\n}\n\nfunction isDigitCharCode(value: number): boolean {\n return value > 47 && value < 58;\n}\n\nfunction isSymbolQuantifierCandidate({min, max}: QuantifierNode): boolean {\n return (\n (!min && max === 1) || // `?`\n (!min && max === Infinity) || // `*`\n (min === 1 && max === Infinity) // `+`\n );\n}\n\nexport {\n type OnigurumaRegex,\n generate,\n};\n", "import {cpOf, PosixClassNames, r, throwIfNullish} from '../utils.js';\n\ntype Token =\n AlternatorToken |\n AssertionToken |\n BackreferenceToken |\n CharacterToken |\n CharacterClassCloseToken |\n CharacterClassHyphenToken |\n CharacterClassIntersectorToken |\n CharacterClassOpenToken |\n CharacterSetToken |\n DirectiveToken |\n GroupCloseToken |\n GroupOpenToken |\n NamedCalloutToken |\n QuantifierToken |\n SubroutineToken;\n\ntype IntermediateToken =\n EscapedNumberToken;\n\ntype TokenCharacterSetKind =\n 'any' |\n 'digit' |\n 'dot' |\n 'hex' |\n 'newline' |\n 'posix' |\n 'property' |\n 'space' |\n 'text_segment' |\n 'word';\n\ntype TokenDirectiveKind =\n 'flags' |\n 'keep';\n\ntype TokenGroupOpenKind =\n 'absence_repeater' |\n 'atomic' |\n 'capturing' |\n 'group' |\n 'lookahead' |\n 'lookbehind';\n\ntype TokenQuantifierKind =\n 'greedy' |\n 'lazy' |\n 'possessive';\n\ntype TokenNamedCalloutKind =\n 'count' |\n 'cmp' |\n 'error' |\n 'fail' |\n 'max' |\n 'mismatch' |\n 'skip' |\n 'total_count' |\n 'custom';\n\nconst charClassOpenPattern = r`\\[\\^?`;\nconst sharedEscapesPattern = `${\n // Control char\n 'c.? | C(?:-.?)?'\n}|${\n // Unicode property; Onig considers `\\p` an identity escape, but e.g. `\\p{`, `\\p{ ^L}`, and\n // `\\p{gc=L}` are invalid\n r`[pP]\\{(?:\\^?[-\\x20_]*[A-Za-z][-\\x20\\w]*\\})?`\n}|${\n // Hex encoded byte sequence; attempt match before other `\\xNN` hex char\n r`x[89A-Fa-f]\\p{AHex}(?:\\\\x[89A-Fa-f]\\p{AHex})*`\n}|${\n // Hex char\n r`u(?:\\p{AHex}{4})? | x\\{[^\\}]*\\}? | x\\p{AHex}{0,2}`\n}|${\n // Enclosed octal code point\n r`o\\{[^\\}]*\\}?`\n}|${\n // Escaped number\n r`\\d{1,3}`\n}`;\n// Even with flag x, Onig doesn't allow whitespace to separate a quantifier from the `?` or `+`\n// that makes it lazy or possessive. Possessive suffixes don't apply to interval quantifiers\nconst quantifierRe = /[?*+][?+]?|\\{(?:\\d+(?:,\\d*)?|,\\d+)\\}\\??/;\nconst tokenRe = new RegExp(r`\n \\\\ (?:\n ${sharedEscapesPattern}\n | [gk]<[^>]*>?\n | [gk]'[^']*'?\n | .\n )\n | \\( (?:\n \\? (?:\n [:=!>({]\n | <[=!]\n | <[^>]*>\n | '[^']*'\n | ~\\|?\n | #(?:[^)\\\\]|\\\\.?)*\n | [^:)]*[:)]\n )?\n | \\*[^\\)]*\\)?\n )?\n | (?:${quantifierRe.source})+\n | ${charClassOpenPattern}\n | .\n`.replace(/\\s+/g, ''), 'gsu');\nconst charClassTokenRe = new RegExp(r`\n \\\\ (?:\n ${sharedEscapesPattern}\n | .\n )\n | \\[:(?:\\^?\\p{Alpha}+|\\^):\\]\n | ${charClassOpenPattern}\n | &&\n | .\n`.replace(/\\s+/g, ''), 'gsu');\n\ntype Context = {\n captureGroup: boolean;\n getCurrentModX(): boolean;\n numOpenGroups: number;\n popModX(): void;\n pushModX(isXOn: boolean): void;\n replaceCurrentModX(isXOn: boolean): void;\n singleline: boolean;\n};\n\ntype TokenizeOptions = {\n flags?: string;\n rules?: {\n captureGroup?: boolean;\n singleline?: boolean;\n };\n};\n\nfunction tokenize(pattern: string, options: TokenizeOptions = {}): {\n tokens: Array<Token>;\n flags: FlagProperties;\n} {\n const opts = {\n flags: '',\n ...options,\n rules: {\n captureGroup: false, // `ONIG_OPTION_CAPTURE_GROUP`\n singleline: false, // `ONIG_OPTION_SINGLELINE`\n ...options.rules,\n },\n };\n if (typeof pattern !== 'string') {\n throw new Error('String expected as pattern');\n }\n const flagProperties = getFlagProperties(opts.flags);\n const xStack = [flagProperties.extended];\n const context: Context = {\n captureGroup: opts.rules.captureGroup,\n // Always at least has the top-level flag x\n getCurrentModX() {return xStack.at(-1)!},\n numOpenGroups: 0,\n popModX() {xStack.pop()},\n pushModX(isXOn) {xStack.push(isXOn)},\n replaceCurrentModX(isXOn) {xStack[xStack.length - 1] = isXOn},\n singleline: opts.rules.singleline,\n };\n let tokens: Array<Token | IntermediateToken> = [];\n let match: RegExpExecArray | null;\n tokenRe.lastIndex = 0;\n while ((match = tokenRe.exec(pattern))) {\n const result = getTokenWithDetails(context, pattern, match[0], tokenRe.lastIndex);\n if (result.tokens) {\n tokens.push(...result.tokens);\n } else if (result.token) {\n tokens.push(result.token);\n }\n if (result.lastIndex !== undefined) {\n tokenRe.lastIndex = result.lastIndex;\n }\n }\n\n const potentialUnnamedCaptureTokens: Array<GroupOpenToken> = [];\n let numNamedAndOptInUnnamedCaptures = 0;\n tokens.filter(t => t.type === 'GroupOpen').forEach(t => {\n if (t.kind === 'capturing') {\n t.number = ++numNamedAndOptInUnnamedCaptures;\n } else if (t.raw === '(') {\n potentialUnnamedCaptureTokens.push(t);\n }\n });\n // Enable unnamed capturing groups if no named captures (when `captureGroup` not enabled)\n if (!numNamedAndOptInUnnamedCaptures) {\n potentialUnnamedCaptureTokens.forEach((t, i) => {\n t.kind = 'capturing';\n t.number = i + 1;\n });\n }\n const numCaptures = numNamedAndOptInUnnamedCaptures || potentialUnnamedCaptureTokens.length;\n // Can now split escaped nums accurately, accounting for number of captures\n const tokensWithoutIntermediate = tokens.map(\n t => t.type === 'EscapedNumber' ? splitEscapedNumberToken(t, numCaptures) : t\n ).flat();\n\n return {\n tokens: tokensWithoutIntermediate,\n flags: flagProperties,\n };\n}\n\nfunction getTokenWithDetails(context: Context, pattern: string, m: string, lastIndex: number): {\n token: Token | IntermediateToken;\n tokens?: never;\n lastIndex?: number;\n} | {\n token?: never;\n tokens: Array<Token | IntermediateToken>;\n lastIndex?: number;\n} | {\n token?: never;\n tokens?: never;\n lastIndex: number;\n} {\n const [m0, m1] = m;\n\n if (m === '[' || m === '[^') {\n const result = getAllTokensForCharClass(pattern, m, lastIndex);\n return {\n // Array of all of the char class's tokens\n tokens: result.tokens,\n // Jump forward to the end of the char class\n lastIndex: result.lastIndex,\n };\n }\n\n if (m0 === '\\\\') {\n if ('AbBGyYzZ'.includes(m1)) {\n return {\n token: createAssertionToken(m, m),\n };\n }\n if (/^\\\\g[<']/.test(m)) {\n if (!/^\\\\g(?:<[^>]+>|'[^']+')$/.test(m)) {\n throw new Error(`Invalid group name \"${m}\"`);\n }\n return {\n token: createSubroutineToken(m),\n };\n }\n if (/^\\\\k[<']/.test(m)) {\n if (!/^\\\\k(?:<[^>]+>|'[^']+')$/.test(m)) {\n throw new Error(`Invalid group name \"${m}\"`);\n }\n return {\n token: createBackreferenceToken(m),\n };\n }\n if (m1 === 'K') {\n return {\n token: createDirectiveToken('keep', m),\n };\n }\n if (m1 === 'N' || m1 === 'R') {\n return {\n token: createCharacterSetToken('newline', m, {\n // `\\N` and `\\R` are not actually opposites since the former only excludes `\\n`\n negate: m1 === 'N',\n }),\n };\n }\n if (m1 === 'O') {\n return {\n token: createCharacterSetToken('any', m),\n };\n }\n if (m1 === 'X') {\n return {\n token: createCharacterSetToken('text_segment', m),\n };\n }\n // Run last since it assumes an identity escape as final condition\n const result = tokenizeSharedEscape(m, {inCharClass: false});\n return Array.isArray(result) ? {tokens: result} : {token: result};\n }\n\n if (m0 === '(') {\n if (m1 === '*') {\n return {\n token: tokenizeNamedCallout(m),\n };\n }\n if (m === '(?{') {\n throw new Error(`Unsupported callout \"${m}\"`);\n }\n // Comment group\n if (m.startsWith('(?#')) {\n // Everything except the closing unescaped `)` is included in the match\n if (pattern[lastIndex] !== ')') {\n throw new Error('Unclosed comment group \"(?#\"');\n }\n return {\n // Jump forward to after the closing paren\n lastIndex: lastIndex + 1,\n };\n }\n // Flag modifier (directive or group opener)\n if (/^\\(\\?[-imx]+[:)]$/.test(m)) {\n return {\n token: tokenizeFlagModifier(m, context),\n };\n }\n // --- Remaining group types all reuse current flag x status ---\n context.pushModX(context.getCurrentModX());\n context.numOpenGroups++;\n if (\n // Unnamed capture if no named captures present and `captureGroup` not enabled, else\n // noncapturing group\n (m === '(' && !context.captureGroup) ||\n // Noncapturing group\n m === '(?:'\n ) {\n return {\n // For `(`, will later change to `capturing` and add `number` prop if no named captures\n token: createGroupOpenToken('group', m),\n };\n }\n // Atomic group\n if (m === '(?>') {\n return {\n token: createGroupOpenToken('atomic', m),\n };\n }\n // Lookaround\n if (m === '(?=' || m === '(?!' || m === '(?<=' || m === '(?<!') {\n return {\n token: createGroupOpenToken(m[2] === '<' ? 'lookbehind' : 'lookahead', m, {\n negate: m.endsWith('!'),\n }),\n };\n }\n // Unnamed capture when `captureGroup` enabled, or named capture (checked after lookbehind due\n // to similar syntax)\n if (\n (m === '(' && context.captureGroup) ||\n (m.startsWith('(?<') && m.endsWith('>')) ||\n (m.startsWith(\"(?'\") && m.endsWith(\"'\"))\n ) {\n return {\n token: createGroupOpenToken('capturing', m, {\n // Will add `number` prop in a second pass\n ...(m !== '(' && {name: m.slice(3, -1)}),\n }),\n };\n }\n if (m.startsWith('(?~')) {\n if (m === '(?~|') {\n throw new Error(`Unsupported absence function kind \"${m}\"`);\n }\n return {\n token: createGroupOpenToken('absence_repeater', m),\n };\n }\n if (m === '(?(') {\n // TODO: Add support\n throw new Error(`Unsupported conditional \"${m}\"`);\n }\n throw new Error(`Invalid or unsupported group option \"${m}\"`);\n }\n if (m === ')') {\n context.popModX();\n context.numOpenGroups--;\n if (context.numOpenGroups < 0) {\n throw new Error('Unmatched \")\"');\n }\n return {\n token: createGroupCloseToken(m),\n };\n }\n\n if (context.getCurrentModX()) {\n if (m === '#') {\n // Onig's only line break char is line feed\n const end = pattern.indexOf('\\n', lastIndex);\n return {\n // Jump forward to the end of the comment\n lastIndex: end === -1 ? pattern.length : end,\n };\n }\n if (/^\\s$/.test(m)) {\n const re = /\\s+/y;\n re.lastIndex = lastIndex;\n const rest = re.exec(pattern);\n return {\n // Jump forward to the end of the whitespace\n lastIndex: rest ? re.lastIndex : lastIndex,\n };\n }\n }\n\n if (m === '.') {\n return {\n token: createCharacterSetToken('dot', m),\n };\n }\n\n if (m === '^' || m === '$') {\n const kind = context.singleline ? {\n '^': r`\\A`,\n '$': r`\\Z`,\n }[m] : m;\n return {\n token: createAssertionToken(kind, m),\n };\n }\n\n if (m === '|') {\n return {\n token: createAlternatorToken(m),\n };\n }\n\n if (quantifierRe.test(m)) {\n return {\n tokens: splitQuantifierMatch(m),\n };\n }\n\n // `cpOf` asserts that it's a single code point\n return {\n token: createCharacterToken(cpOf(m), m),\n };\n}\n\nfunction getAllTokensForCharClass(pattern: string, opener: CharacterClassOpener, lastIndex: number): {\n tokens: Array<Token | IntermediateToken>;\n lastIndex: number;\n} {\n const tokens: Array<Token | IntermediateToken> = [createCharacterClassOpenToken(opener[1] === '^', opener)];\n let numCharClassesOpen = 1;\n let match: RegExpExecArray | null;\n charClassTokenRe.lastIndex = lastIndex;\n while ((match = charClassTokenRe.exec(pattern))) {\n const m = match[0];\n // Start of nested char class\n // POSIX classes are handled as a single token; not as a nested char class\n if (m[0] === '[' && m[1] !== ':') {\n numCharClassesOpen++;\n tokens.push(createCharacterClassOpenToken(m[1] === '^', m as CharacterClassOpener));\n } else if (m === ']') {\n // Always at least includes the char class opener\n if (tokens.at(-1)!.type === 'CharacterClassOpen') {\n // Allow unescaped `]` as leading char\n tokens.push(createCharacterToken(93, m));\n } else {\n numCharClassesOpen--;\n tokens.push(createCharacterClassCloseToken(m));\n if (!numCharClassesOpen) {\n break;\n }\n }\n } else {\n const result = tokenizeAnyTokenWithinCharClass(m);\n if (Array.isArray(result)) {\n tokens.push(...result);\n } else {\n tokens.push(result);\n }\n }\n }\n return {\n tokens,\n lastIndex: charClassTokenRe.lastIndex || pattern.length,\n };\n}\n\nfunction tokenizeAnyTokenWithinCharClass(raw: string): Token | IntermediateToken | Array<Token> {\n if (raw[0] === '\\\\') {\n // Assumes an identity escape as final condition\n return tokenizeSharedEscape(raw, {inCharClass: true});\n }\n // POSIX class: `[:name:]` or `[:^name:]`\n if (raw[0] === '[') {\n const posix = /\\[:(?<negate>\\^?)(?<name>[a-z]+):\\]/.exec(raw);\n if (!posix || !PosixClassNames.has(posix.groups!.name)) {\n throw new Error(`Invalid POSIX class \"${raw}\"`);\n }\n return createCharacterSetToken('posix', raw, {\n value: posix.groups!.name,\n negate: !!posix.groups!.negate,\n });\n }\n // Range (possibly invalid) or literal hyphen\n if (raw === '-') {\n return createCharacterClassHyphenToken(raw);\n }\n if (raw === '&&') {\n return createCharacterClassIntersectorToken(raw);\n }\n // `cpOf` asserts that it's a single code point\n return createCharacterToken(cpOf(raw), raw);\n}\n\n// Tokens shared by base syntax and char class syntax that start with `\\`\nfunction tokenizeSharedEscape(raw: string, {inCharClass}: {inCharClass: boolean}): Token | IntermediateToken | Array<Token> {\n const char1 = raw[1];\n if (char1 === 'c' || char1 === 'C') {\n return tokenizeControlCharacter(raw);\n }\n if ('dDhHsSwW'.includes(char1)) {\n return tokenizeShorthand(raw);\n }\n if (raw.startsWith(r`\\o{`)) {\n throw new Error(`Incomplete, invalid, or unsupported octal code point \"${raw}\"`);\n }\n if (/^\\\\[pP]\\{/.test(raw)) {\n if (raw.length === 3) {\n throw new Error(`Incomplete or invalid Unicode property \"${raw}\"`);\n }\n return tokenizeUnicodeProperty(raw);\n }\n // Hex UTF-8 encoded byte sequence\n if (/^\\\\x[89A-Fa-f]\\p{AHex}/u.test(raw)) {\n try {\n const bytes = raw.split(/\\\\x/).slice(1).map(hex => parseInt(hex, 16));\n const decoded = new TextDecoder('utf-8', {\n ignoreBOM: true,\n fatal: true,\n }).decode(new Uint8Array(bytes));\n const encoder = new TextEncoder();\n const tokens = [...decoded].map(char => {\n // Since this regenerates `raw`, it might have different casing for hex A-F than the input\n const raw = [...encoder.encode(char)].map(byte => `\\\\x${byte.toString(16)}`).join('');\n return createCharacterToken(cpOf(char), raw);\n });\n return tokens;\n } catch {\n throw new Error(`Multibyte code \"${raw}\" incomplete or invalid in Oniguruma`);\n }\n }\n if (char1 === 'u' || char1 === 'x') {\n return createCharacterToken(getValidatedHexCharCode(raw), raw);\n }\n if (EscapeCharCodes.has(char1)) {\n return createCharacterToken(EscapeCharCodes.get(char1)!, raw);\n }\n // Escaped number: backref (possibly invalid), null, octal, or identity escape, possibly followed\n // by 1-2 literal digits\n if (/\\d/.test(char1)) {\n return createEscapedNumberToken(inCharClass, raw);\n }\n if (raw === '\\\\') {\n throw new Error(r`Incomplete escape \"\\\"`);\n }\n // Meta `\\M-x` and `\\M-\\C-x` are unsupported; avoid treating as an identity escape\n if (char1 === 'M') {\n // TODO: Add support. See:\n // - <github.com/kkos/oniguruma/blob/master/doc/SYNTAX.md#12-onig_syn_op2_esc_capital_m_bar_meta-enable-m-x>\n // - <github.com/kkos/oniguruma/blob/43a8c3f3daf263091f3a74019d4b32ebb6417093/src/regparse.c#L4695>\n // - <github.com/ammar/regexp_parser/blob/8851030feda68223d74f502335fb254a20d77016/lib/regexp_parser/expression/classes/escape_sequence.rb#L75>\n throw new Error(`Unsupported meta \"${raw}\"`);\n }\n // Identity escape; count code point length\n if ([...raw].length === 2) {\n return createCharacterToken(raw.codePointAt(1)!, raw);\n }\n throw new Error(`Unexpected escape \"${raw}\"`);\n}\n\n// --------------------------------\n// --- Token creation and types ---\n// --------------------------------\n\ntype AlternatorToken = {\n type: 'Alternator';\n raw: '|';\n};\nfunction createAlternatorToken(raw: '|'): AlternatorToken {\n return {\n type: 'Alternator',\n raw,\n };\n}\n\ntype AssertionToken = {\n type: 'Assertion';\n kind: string;\n raw: string;\n};\nfunction createAssertionToken(kind: string, raw: string): AssertionToken {\n return {\n type: 'Assertion',\n kind,\n raw,\n };\n}\n\ntype BackreferenceToken = {\n type: 'Backreference';\n raw: string;\n};\nfunction createBackreferenceToken(raw: string): BackreferenceToken {\n return {\n type: 'Backreference',\n raw,\n };\n}\n\ntype CharacterToken = {\n type: 'Character';\n value: number;\n raw: string;\n};\nfunction createCharacterToken(value: number, raw: string): CharacterToken {\n return {\n type: 'Character',\n value,\n raw,\n };\n}\n\ntype CharacterClassCloseToken = {\n type: 'CharacterClassClose';\n raw: ']';\n};\nfunction createCharacterClassCloseToken(raw: ']'): CharacterClassCloseToken {\n return {\n type: 'CharacterClassClose',\n raw,\n };\n}\n\ntype CharacterClassHyphenToken = {\n type: 'CharacterClassHyphen';\n raw: '-';\n};\nfunction createCharacterClassHyphenToken(raw: '-'): CharacterClassHyphenToken {\n return {\n type: 'CharacterClassHyphen',\n raw,\n };\n}\n\ntype CharacterClassIntersectorToken = {\n type: 'CharacterClassIntersector';\n raw: '&&';\n};\nfunction createCharacterClassIntersectorToken(raw: '&&'): CharacterClassIntersectorToken {\n return {\n type: 'CharacterClassIntersector',\n raw,\n };\n}\n\ntype CharacterClassOpenToken = {\n type: 'CharacterClassOpen';\n negate: boolean;\n raw: CharacterClassOpener;\n};\ntype CharacterClassOpener = '[' | '[^';\nfunction createCharacterClassOpenToken(negate: boolean, raw: CharacterClassOpener): CharacterClassOpenToken {\n return {\n type: 'CharacterClassOpen',\n negate,\n raw,\n };\n}\n\ntype CharacterSetToken = {\n type: 'CharacterSet';\n kind: TokenCharacterSetKind;\n value?: string;\n negate?: boolean;\n raw: string;\n};\nfunction createCharacterSetToken(\n kind: TokenCharacterSetKind,\n raw: string,\n options: {\n value?: string;\n negate?: boolean;\n } = {}\n): CharacterSetToken {\n return {\n type: 'CharacterSet',\n kind,\n ...options,\n raw,\n };\n}\n\ntype DirectiveToken = {\n type: 'Directive';\n raw: string;\n} & ({\n kind: 'keep';\n flags?: never;\n} | {\n kind: 'flags';\n flags: FlagGroupModifiers;\n});\nfunction createDirectiveToken(kind: TokenDirectiveKind, raw: string, options: {flags?: FlagGroupModifiers} = {}): DirectiveToken {\n if (kind === 'keep') {\n return {\n type: 'Directive',\n kind,\n raw,\n };\n }\n return {\n type: 'Directive',\n kind,\n flags: throwIfNullish(options.flags),\n raw,\n };\n}\n\ntype EscapedNumberToken = {\n type: 'EscapedNumber';\n inCharClass: boolean;\n raw: string;\n};\n/**\nIntermediate representation only; will become a `Backreference` or one or more `Character`s.\n*/\nfunction createEscapedNumberToken(inCharClass: boolean, raw: string): EscapedNumberToken {\n return {\n type: 'EscapedNumber',\n inCharClass,\n raw,\n };\n}\n\ntype GroupCloseToken = {\n type: 'GroupClose';\n raw: ')';\n};\nfunction createGroupCloseToken(raw: ')'): GroupCloseToken {\n return {\n type: 'GroupClose',\n raw,\n };\n}\n\ntype GroupOpenToken = {\n type: 'GroupOpen';\n kind: TokenGroupOpenKind;\n flags?: FlagGroupModifiers;\n name?: string;\n number?: number;\n negate?: boolean;\n raw: string;\n};\nfunction createGroupOpenToken(\n kind: TokenGroupOpenKind,\n raw: string,\n options: {\n flags?: FlagGroupModifiers;\n name?: string;\n number?: number;\n negate?: boolean;\n } = {}\n): GroupOpenToken {\n return {\n type: 'GroupOpen',\n kind,\n ...options,\n raw,\n };\n}\n\ntype NamedCalloutToken = {\n type: 'NamedCallout';\n kind: TokenNamedCalloutKind;\n tag: string | null;\n arguments: Array<string | number> | null;\n raw: string;\n};\nfunction createNamedCalloutToken(\n kind: TokenNamedCalloutKind,\n tag: string | null,\n args: Array<string | number> | null,\n raw: string\n): NamedCalloutToken {\n return {\n type: 'NamedCallout',\n kind,\n tag,\n arguments: args,\n raw,\n };\n};\n\ntype QuantifierToken = {\n type: 'Quantifier';\n kind: TokenQuantifierKind;\n min: number;\n max: number;\n raw: string;\n};\nfunction createQuantifierToken(\n kind: TokenQuantifierKind,\n min: number,\n max: number,\n raw: string\n): QuantifierToken {\n return {\n type: 'Quantifier',\n kind,\n min,\n max,\n raw,\n };\n}\n\ntype SubroutineToken = {\n type: 'Subroutine';\n raw: string;\n};\nfunction createSubroutineToken(raw: string): SubroutineToken {\n return {\n type: 'Subroutine',\n raw,\n };\n}\n\n// ---------------\n// --- Helpers ---\n// ---------------\n\ntype FlagProperties = {\n ignoreCase: boolean;\n dotAll: boolean;\n extended: boolean;\n digitIsAscii: boolean;\n posixIsAscii: boolean;\n spaceIsAscii: boolean;\n wordIsAscii: boolean;\n textSegmentMode: 'grapheme' | 'word' | null;\n};\n\ntype FlagGroupModifiers = {\n enable?: FlagGroupSwitches;\n disable?: FlagGroupSwitches;\n};\n\ntype FlagGroupSwitches = {\n ignoreCase?: true;\n dotAll?: true;\n extended?: true;\n};\n\nconst CalloutNames = new Set<Uppercase<Exclude<TokenNamedCalloutKind, 'custom'>>>([\n 'COUNT',\n 'CMP',\n 'ERROR',\n 'FAIL',\n 'MAX',\n 'MISMATCH',\n 'SKIP',\n 'TOTAL_COUNT',\n]);\n\nconst EscapeCharCodes = new Map([\n ['a', 7], // alert/bell (Not available in JS)\n ['b', 8], // backspace (only in char classes)\n ['e', 27], // escape (Not available in JS)\n ['f', 12], // form feed\n ['n', 10], // line feed\n ['r', 13], // carriage return\n ['t', 9], // horizontal tab\n ['v', 11], // vertical tab\n]);\n\n// Expects `\\cx` or `\\C-x`\nfunction tokenizeControlCharacter(raw: string): CharacterToken {\n const char = raw[1] === 'c' ? raw[2] : raw[3];\n if (!char || !/[A-Za-z]/.test(char)) {\n // Unlike JS, Onig allows any char to follow `\\c` or `\\C-`, but this is an extreme edge case\n // TODO: Add support. See:\n // - <github.com/kkos/oniguruma/blob/master/doc/SYNTAX.md#11-onig_syn_op2_esc_capital_c_bar_control-enable-c-x>\n // - <github.com/kkos/oniguruma/blob/43a8c3f3daf263091f3a74019d4b32ebb6417093/src/regparse.c#L4695>\n throw new Error(`Unsupported control character \"${raw}\"`);\n }\n return createCharacterToken(cpOf(char.toUpperCase()) - 64, raw);\n}\n\nfunction tokenizeFlagModifier(raw: string, context: Context): DirectiveToken | GroupOpenToken {\n // Allows multiple `-` and solo `-` without `on` or `off` flags\n let {on, off} = /^\\(\\?(?<on>[imx]*)(?:-(?<off>[-imx]*))?/.exec(raw)!.groups as {on: string, off: string | undefined};\n off ??= '';\n // Flag x is used directly by the tokenizer since it changes how to interpret the pattern\n const isXOn = (context.getCurrentModX() || on.includes('x')) && !off.includes('x');\n const enabledFlags = getFlagGroupSwitches(on);\n const disabledFlags = getFlagGroupSwitches(off);\n const flagChanges: FlagGroupModifiers = {};\n enabledFlags && (flagChanges.enable = enabledFlags);\n disabledFlags && (flagChanges.disable = disabledFlags);\n // Flag directive; ex: `(?im-x)`\n if (raw.endsWith(')')) {\n // Replace flag x value until the end of the current group\n context.replaceCurrentModX(isXOn);\n // Can't remove flag directives without flags like `(?-)`; they affect following quantifiers\n return createDirectiveToken('flags', raw, {\n flags: flagChanges,\n });\n }\n // Flag group opener; ex: `(?im-x:`\n if (raw.endsWith(':')) {\n context.pushModX(isXOn);\n context.numOpenGroups++;\n return createGroupOpenToken('group', raw, {\n ...((enabledFlags || disabledFlags) && {flags: flagChanges}),\n });\n }\n throw new Error(`Unexpected flag modifier \"${raw}\"`);\n}\n\nfunction tokenizeNamedCallout(raw: string): NamedCalloutToken {\n const callout = /\\(\\*(?<name>[A-Za-z_]\\w*)?(?:\\[(?<tag>(?:[A-Za-z_]\\w*)?)\\])?(?:\\{(?<args>[^}]*)\\})?\\)/.exec(raw);\n if (!callout) {\n throw new Error(`Incomplete or invalid named callout \"${raw}\"`);\n }\n const {name, tag, args} = callout.groups as Partial<{\n name: string;\n tag: string;\n args: string;\n }>;\n if (!name) {\n throw new Error(`Invalid named callout \"${raw}\"`);\n }\n if (tag === '') {\n throw new Error(`Named callout tag with empty value not allowed \"${raw}\"`);\n }\n const argsArray: Array<string | number> = args ?\n args.split(',').\n // Onig skips over/ignores redundant/unnecessary commas\n filter(arg => arg !== '').\n map(arg => /^[+-]?\\d+$/.test(arg) ? +arg : arg) :\n [];\n const [arg0, arg1, arg2] = argsArray;\n const kind: TokenNamedCalloutKind = CalloutNames.has(name as Uppercase<Exclude<TokenNamedCalloutKind, 'custom'>>) ?\n name.toLowerCase() as TokenNamedCalloutKind :\n 'custom';\n switch (kind) {\n case 'fail':\n case 'mismatch':\n case 'skip':\n if (argsArray.length > 0) {\n throw new Error(`Named callout arguments not allowed \"${argsArray}\"`);\n }\n break;\n case 'error':\n if (argsArray.length > 1) {\n throw new Error(`Named callout allows only one argument \"${argsArray}\"`);\n }\n if (typeof arg0 === 'string') {\n throw new Error(`Named callout argument must be a number \"${arg0}\"`);\n }\n break;\n case 'max':\n if (!argsArray.length || argsArray.length > 2) {\n throw new Error(`Named callout must have one or two arguments \"${argsArray}\"`);\n }\n if (typeof arg0 === 'string' && !/^[A-Za-z_]\\w*$/.test(arg0)) {\n throw new Error(`Named callout argument one must be a tag or number \"${arg0}\"`);\n }\n if (argsArray.length === 2 && (typeof arg1 === 'number' || !/^[<>X]$/.test(arg1))) {\n throw new Error(`Named callout optional argument two must be '<', '>', or 'X' \"${arg1}\"`);\n }\n break;\n case 'count':\n case 'total_count':\n if (argsArray.length > 1) {\n throw new Error(`Named callout allows only one argument \"${argsArray}\"`);\n }\n if (argsArray.length === 1 && (typeof arg0 === 'number' || !/^[<>X]$/.test(arg0))) {\n throw new Error(`Named callout optional argument must be '<', '>', or 'X' \"${arg0}\"`);\n }\n break;\n case 'cmp':\n if (argsArray.length !== 3) {\n throw new Error(`Named callout must have three arguments \"${argsArray}\"`);\n }\n if (typeof arg0 === 'string' && !/^[A-Za-z_]\\w*$/.test(arg0)) {\n throw new Error(`Named callout argument one must be a tag or number \"${arg0}\"`);\n }\n if (typeof arg1 === 'number' || !/^(?:[<>!=]=|[<>])$/.test(arg1)) {\n throw new Error(`Named callout argument two must be '==', '!=', '>', '<', '>=', or '<=' \"${arg1}\"`);\n }\n if (typeof arg2 === 'string' && !/^[A-Za-z_]\\w*$/.test(arg2)) {\n throw new Error(`Named callout argument three must be a tag or number \"${arg2}\"`);\n }\n break;\n case 'custom':\n // TODO: Can support custom callout names via a new option that allows providing a list of\n // allowed, non-built-in names\n throw new Error(`Undefined callout name \"${name}\"`);\n default:\n throw new Error(`Unexpected named callout kind \"${kind}\"`);\n }\n // TODO: If supporting custom callout names in the future (with an added `name` property for\n // `NamedCalloutToken`), will need to set `name` to `null` if `kind` isn't `'custom'`\n return createNamedCalloutToken(kind, tag ?? null, args?.split(',') ?? null, raw);\n}\n\nfunction tokenizeQuantifier(raw: string): QuantifierToken {\n let kind: TokenQuantifierKind = null!;\n let min: number;\n let max: number;\n if (raw[0] === '{') {\n const {minStr, maxStr} =\n /^\\{(?<minStr>\\d*)(?:,(?<maxStr>\\d*))?/.exec(raw)!.groups as {minStr: string, maxStr: string | undefined};\n const limit = 100_000;\n if (+minStr > limit || (maxStr && +maxStr > limit)) {\n throw new Error('Quantifier value unsupported in Oniguruma');\n }\n min = +minStr;\n max = maxStr === undefined ? +minStr : (maxStr === '' ? Infinity : +maxStr);\n // By default, Onig doesn't support making interval quantifiers possessive with a `+` suffix;\n // uses reversed range instead\n if (min > max) {\n kind = 'possessive';\n [min, max] = [max, min];\n }\n if (raw.endsWith('?')) {\n if (kind === 'possessive') {\n // TODO: <github.com/slevithan/oniguruma-parser/issues/10>\n throw new Error('Unsupported possessive interval quantifier chain with \"?\"');\n }\n kind = 'lazy';\n } else if (!kind) {\n kind = 'greedy';\n }\n } else {\n min = raw[0] === '+' ? 1 : 0;\n max = raw[0] === '?' ? 1 : Infinity;\n kind = raw[1] === '+' ? 'possessive' : (raw[1] === '?' ? 'lazy' : 'greedy');\n }\n return createQuantifierToken(kind, min, max, raw);\n}\n\nfunction tokenizeShorthand(raw: string): CharacterSetToken {\n const lower = raw[1].toLowerCase();\n return createCharacterSetToken({\n 'd': 'digit',\n 'h': 'hex',\n 's': 'space',\n 'w': 'word',\n }[lower] as TokenCharacterSetKind, raw, {\n negate: raw[1] !== lower,\n });\n}\n\nfunction tokenizeUnicodeProperty(raw: string): CharacterSetToken {\n const {p, neg, value} = /^\\\\(?<p>[pP])\\{(?<neg>\\^?)(?<value>[^}]+)/.exec(raw)!.groups!;\n const negate = (p === 'P' && !neg) || (p === 'p' && !!neg);\n return createCharacterSetToken('property', raw, {\n value,\n negate,\n });\n}\n\nfunction getFlagGroupSwitches(flags: string): FlagGroupSwitches | null {\n // Don't include `false` for flags that aren't included\n const obj: FlagGroupSwitches = {};\n if (flags.includes('i')) {\n obj.ignoreCase = true;\n }\n if (flags.includes('m')) {\n // Onig flag m is equivalent to JS flag s\n obj.dotAll = true;\n }\n if (flags.includes('x')) {\n obj.extended = true;\n }\n return Object.keys(obj).length ? obj : null;\n}\n\nfunction getFlagProperties(flags: string): FlagProperties {\n const flagProperties: FlagProperties = {\n ignoreCase: false,\n dotAll: false,\n extended: false,\n digitIsAscii: false,\n posixIsAscii: false,\n spaceIsAscii: false,\n wordIsAscii: false,\n textSegmentMode: null,\n };\n for (let i = 0; i < flags.length; i++) {\n const char = flags[i];\n if (!'imxDPSWy'.includes(char)) {\n throw new Error(`Invalid flag \"${char}\"`);\n }\n // Flags y{g}, y{w} are currently only supported via the top-level `flags` option\n if (char === 'y') {\n if (!/^y{[gw]}/.test(flags.slice(i))) {\n throw new Error('Invalid or unspecified flag \"y\" mode');\n }\n // If text segment mode flags appear multiple times, use the last one\n flagProperties.textSegmentMode = flags[i + 2] === 'g' ? 'grapheme' : 'word';\n i += 3;\n continue;\n }\n flagProperties[{\n i: 'ignoreCase',\n // Flag m is called `multiline` in Onig, but that has a different meaning in JS. Onig flag m\n // is equivalent to JS flag s\n m: 'dotAll',\n // Flag x is fully handled during tokenization\n x: 'extended',\n // Flags D, P, S, W are currently only supported via the top-level `flags` option\n D: 'digitIsAscii',\n P: 'posixIsAscii',\n S: 'spaceIsAscii',\n W: 'wordIsAscii',\n }[char] as Exclude<keyof FlagProperties, 'textSegmentMode'>] = true;\n }\n return flagProperties;\n}\n\n// - Unenclosed `\\xNN` above 0x7F is handled elsewhere as a UTF-8 encoded byte sequence\n// - Enclosed `\\x{}` with value above 0x10FFFF is allowed here; handled in the parser\nfunction getValidatedHexCharCode(raw: string): number {\n // Note: Onig 6.9.10 and earlier have a bug where pattern-terminating `\\u` and `\\x` are treated\n // as identity escapes; see <github.com/kkos/oniguruma/issues/343>. Don't emulate these bugs.\n // Additionally, Onig treats bare `\\x` as equivalent to `\\0`, and treats incomplete `\\x{` (with\n // the brace but not immediately followed by a hex digit) as an identity escape, so e.g. `\\x{`\n // matches `x{` and `^\\x{,2}$` matches `xx`, but `\\x{2,}` and `\\x{0,2}` are errors. Currently,\n // this library treats all such cases as errors\n if (/^(?:\\\\u(?!\\p{AHex}{4})|\\\\x(?!\\p{AHex}{1,2}|\\{\\p{AHex}{1,8}\\}))/u.test(raw)) {\n throw new Error(`Incomplete or invalid escape \"${raw}\"`);\n }\n // Might include leading 0s\n const hex = raw[2] === '{' ?\n /^\\\\x\\{\\s*(?<hex>\\p{AHex}+)/u.exec(raw)!.groups!.hex :\n raw.slice(2);\n return parseInt(hex, 16);\n}\n\n// Value is 1-3 digits, which can be a backref (possibly invalid), null, octal, or identity escape,\n// possibly followed by 1-2 literal digits\nfunction splitEscapedNumberToken(token: EscapedNumberToken, numCaptures: number): Array<BackreferenceToken> | Array<CharacterToken> {\n const {raw, inCharClass} = token;\n // Keep any leading 0s since they indicate octal\n const value = raw.slice(1);\n // Backref (possibly invalid)\n if (\n !inCharClass &&\n ( // Single digit 1-9 outside a char class is always treated as a backref\n (value !== '0' && value.length === 1) ||\n // Leading 0 makes it octal; backrefs can't include following literal digits\n (value[0] !== '0' && +value <= numCaptures)\n )\n ) {\n return [createBackreferenceToken(raw)];\n }\n const tokens: Array<CharacterToken> = [];\n // Returns 1-3 matches; the first (only) might be octal\n const matches = value.match(/^[0-7]+|\\d/g)!;\n for (let i = 0; i < matches.length; i++) {\n const m = matches[i];\n let value: number;\n // Octal digits are 0-7\n if (i === 0 && m !== '8' && m !== '9') {\n value = parseInt(m, 8);\n if (value > 0o177) {\n // Octal UTF-8 encoded byte sequence; not yet supported\n throw new Error(r`Octal encoded byte above 177 unsupported \"${raw}\"`);\n }\n } else {\n value = cpOf(m);\n }\n tokens.push(createCharacterToken(value, (i === 0 ? '\\\\' : '') + m));\n }\n return tokens;\n}\n\nfunction splitQuantifierMatch(str: string): Array<QuantifierToken> {\n const tokens: Array<QuantifierToken> = [];\n // `str` is one or more quantifiers in a chain. It can't be split by a regex because of one edge\n // case where we have to compare numeric values: although `{1,2}?` is a single, lazy quantifier,\n // a reversed (possessive) interval quantifier like `{2,1}` can't be both possessive and lazy, so\n // any following `?`, `??`, or `?+` is a second, chained quantifier (i.e., `{2,1}?` is equivalent\n // to `{2,1}{0,1}` or `{2,0}`)\n const withG = new RegExp(quantifierRe, 'gy');\n let match: RegExpExecArray | null;\n while ((match = withG.exec(str))) {\n const m = match[0];\n if (m[0] === '{') {\n // Doesn't need to handle fixed `{n}`, infinite max `{n,}`, or implicit zero min `{,n}`\n // since, according to Onig syntax rules, those can't be possessive\n const parts = /^\\{(?<min>\\d+),(?<max>\\d+)\\}\\??$/.exec(m);\n if (parts) {\n const {min, max} = parts.groups as {min: string, max: string};\n if (+min > +max && m.endsWith('?')) {\n // Leave the trailing `?` for the next match\n withG.lastIndex--;\n tokens.push(tokenizeQuantifier(m.slice(0, -1)));\n continue;\n }\n }\n }\n tokens.push(tokenizeQuantifier(m));\n }\n return tokens;\n}\n\nexport {\n type AlternatorToken,\n type AssertionToken,\n type BackreferenceToken,\n type CharacterToken,\n type CharacterClassCloseToken,\n type CharacterClassHyphenToken,\n type CharacterClassIntersectorToken,\n type CharacterClassOpenToken,\n type CharacterSetToken,\n type DirectiveToken,\n type FlagGroupModifiers,\n type FlagProperties,\n type GroupCloseToken,\n type GroupOpenToken,\n type NamedCalloutToken,\n type QuantifierToken,\n type SubroutineToken,\n type Token,\n type TokenCharacterSetKind,\n type TokenDirectiveKind,\n type TokenNamedCalloutKind,\n type TokenQuantifierKind,\n tokenize,\n};\n", "import type {AlternativeContainerNode, Node, ParentNode, QuantifiableNode} from './parse.js';\n\ntype KeysOfUnion<T> = T extends T ? keyof T: never;\ntype Props = {[key in KeysOfUnion<Node>]?: any} & {type?: Node['type']};\n\nfunction hasOnlyChild(node: ParentNode & {body: Array<Node>}, props?: Props): boolean {\n if (!Array.isArray(node.body)) {\n throw new Error('Expected node with body array');\n }\n if (node.body.length !== 1) {\n return false;\n }\n const kid = node.body[0] as Props;\n return !props || Object.keys(props).every(key => props[key as keyof Props] === kid[key as keyof Props]);\n}\n\nfunction isAlternativeContainer(node: Node): node is AlternativeContainerNode {\n if (\n !alternativeContainerTypes.has(node.type) ||\n (node.type === 'AbsenceFunction' && node.kind !== 'repeater')\n ) {\n return false;\n }\n return true;\n}\nconst alternativeContainerTypes = new Set<Node['type']>([\n 'AbsenceFunction',\n 'CapturingGroup',\n 'Group',\n 'LookaroundAssertion',\n 'Regex',\n]);\n\nfunction isQuantifiable(node: Node): node is QuantifiableNode {\n return quantifiableTypes.has(node.type);\n}\nconst quantifiableTypes = new Set<Node['type']>([\n 'AbsenceFunction',\n 'Backreference',\n 'CapturingGroup',\n 'Character',\n 'CharacterClass',\n 'CharacterSet',\n 'Group',\n 'Quantifier',\n 'Subroutine',\n]);\n\nexport {\n hasOnlyChild,\n isAlternativeContainer,\n isQuantifiable,\n};\n", "import type {AssertionToken, BackreferenceToken, CharacterClassHyphenToken, CharacterClassOpenToken, CharacterSetToken, FlagGroupModifiers, FlagProperties, GroupOpenToken, QuantifierToken, SubroutineToken, Token, TokenCharacterSetKind, TokenDirectiveKind, TokenNamedCalloutKind, TokenQuantifierKind} from '../tokenizer/tokenize.js';\nimport {tokenize} from '../tokenizer/tokenize.js';\nimport {cpOf, getOrInsert, PosixClassNames, r, throwIfNullish} from '../utils.js';\nimport {hasOnlyChild, isAlternativeContainer, isQuantifiable} from './node-utils.js';\n\n// Watch out for the DOM `Node` interface!\ntype Node =\n AbsenceFunctionNode |\n AlternativeNode |\n AssertionNode |\n BackreferenceNode |\n CapturingGroupNode |\n CharacterNode |\n CharacterClassNode |\n CharacterClassRangeNode |\n CharacterSetNode |\n DirectiveNode |\n FlagsNode |\n GroupNode |\n LookaroundAssertionNode |\n NamedCalloutNode |\n QuantifierNode |\n RegexNode |\n SubroutineNode;\n\ntype OnigurumaAst = RegexNode;\n\ntype ParentNode =\n AlternativeContainerNode |\n AlternativeNode |\n CharacterClassNode |\n CharacterClassRangeNode |\n QuantifierNode;\n\n// See also `isAlternativeContainer`\ntype AlternativeContainerNode =\n AbsenceFunctionNode | // Some sub-kinds aren't alternative containers\n CapturingGroupNode |\n GroupNode |\n LookaroundAssertionNode |\n RegexNode;\n\ntype AlternativeElementNode =\n AbsenceFunctionNode |\n AssertionNode |\n BackreferenceNode |\n CapturingGroupNode |\n CharacterNode |\n CharacterClassNode |\n CharacterSetNode |\n DirectiveNode |\n GroupNode |\n LookaroundAssertionNode |\n NamedCalloutNode |\n QuantifierNode |\n SubroutineNode;\n\ntype CharacterClassElementNode =\n CharacterNode |\n CharacterClassNode |\n CharacterClassRangeNode |\n CharacterSetNode;\n\n// See also `isQuantifiable`\ntype QuantifiableNode =\n AbsenceFunctionNode |\n BackreferenceNode |\n CapturingGroupNode |\n CharacterNode |\n CharacterClassNode |\n CharacterSetNode |\n GroupNode |\n QuantifierNode |\n SubroutineNode;\n\n// TODO: Support remaining kinds; see <github.com/slevithan/oniguruma-to-es/issues/13>\ntype NodeAbsenceFunctionKind =\n 'repeater';\n\ntype NodeAssertionKind =\n 'line_end' |\n 'line_start' |\n 'search_start' |\n 'string_end' |\n 'string_end_newline' |\n 'string_start' |\n 'text_segment_boundary' |\n 'word_boundary';\n\ntype NodeCharacterClassKind =\n 'union' |\n 'intersection';\n\ntype NodeCharacterSetKind = TokenCharacterSetKind;\n\ntype NodeDirectiveKind = TokenDirectiveKind;\n\ntype NodeLookaroundAssertionKind =\n 'lookahead' |\n 'lookbehind';\n\ntype NodeNamedCalloutKind = TokenNamedCalloutKind;\n\ntype NodeQuantifierKind = TokenQuantifierKind;\n\ntype UnicodePropertyMap = Map<string, string>;\n\ntype Context = {\n capturingGroups: Array<CapturingGroupNode>;\n hasNumberedRef: boolean;\n namedGroupsByName: Map<string, Array<CapturingGroupNode>>;\n nextIndex: number;\n normalizeUnknownPropertyNames: boolean;\n parent: ParentNode;\n skipBackrefValidation: boolean;\n skipLookbehindValidation: boolean;\n skipPropertyNameValidation: boolean;\n subroutines: Array<SubroutineNode>;\n tokens: Array<Token>;\n unicodePropertyMap: UnicodePropertyMap | null;\n walk: (parent: ParentNode, state: State) => Node;\n};\n\n// Top-level `walk` calls are given empty state; nested calls can add data specific to their `walk`\ntype State = {\n isCheckingRangeEnd?: boolean;\n isInAbsenceFunction?: boolean;\n isInLookbehind?: boolean;\n isInNegLookbehind?: boolean;\n};\n\ntype ParseOptions = {\n flags?: string;\n normalizeUnknownPropertyNames?: boolean;\n rules?: {\n captureGroup?: boolean;\n singleline?: boolean;\n };\n skipBackrefValidation?: boolean;\n skipLookbehindValidation?: boolean;\n skipPropertyNameValidation?: boolean;\n unicodePropertyMap?: UnicodePropertyMap | null;\n};\n\nfunction parse(pattern: string, options: ParseOptions = {}): OnigurumaAst {\n const opts: Required<ParseOptions> = {\n flags: '',\n normalizeUnknownPropertyNames: false,\n skipBackrefValidation: false,\n skipLookbehindValidation: false,\n skipPropertyNameValidation: false,\n // `toOnigurumaAst` provides `OnigUnicodePropertyMap`, but it can be custom or `null`\n unicodePropertyMap: null,\n ...options,\n rules: {\n captureGroup: false, // `ONIG_OPTION_CAPTURE_GROUP`\n singleline: false, // `ONIG_OPTION_SINGLELINE`\n ...options.rules,\n },\n };\n const tokenized = tokenize(pattern, {\n // Limit to the tokenizer's options\n flags: opts.flags,\n rules: {\n captureGroup: opts.rules.captureGroup,\n singleline: opts.rules.singleline,\n },\n });\n const walk: Context['walk'] = (parent, state) => {\n const token = tokenized.tokens[context.nextIndex];\n context.parent = parent;\n // Advance for the next iteration\n context.nextIndex++;\n switch (token.type) {\n case 'Alternator':\n // Top-level only; groups handle their own alternators\n return createAlternative();\n case 'Assertion':\n return parseAssertion(token);\n case 'Backreference':\n return parseBackreference(token, context);\n case 'Character':\n return createCharacter(token.value, {useLastValid: !!state.isCheckingRangeEnd});\n case 'CharacterClassHyphen':\n return parseCharacterClassHyphen(token, context, state);\n case 'CharacterClassOpen':\n return parseCharacterClassOpen(token, context, state);\n case 'CharacterSet':\n return parseCharacterSet(token, context);\n case 'Directive':\n return createDirective(token.kind, {flags: token.flags});\n case 'GroupOpen':\n return parseGroupOpen(token, context, state);\n case 'NamedCallout':\n return createNamedCallout(token.kind, token.tag, token.arguments);\n case 'Quantifier':\n return parseQuantifier(token, context);\n case 'Subroutine':\n return parseSubroutine(token, context);\n default:\n throw new Error(`Unexpected token type \"${token.type}\"`);\n }\n }\n const context: Context = {\n capturingGroups: [],\n hasNumberedRef: false,\n namedGroupsByName: new Map(),\n nextIndex: 0,\n normalizeUnknownPropertyNames: opts.normalizeUnknownPropertyNames,\n parent: null!, // Assigned by `walk`\n skipBackrefValidation: opts.skipBackrefValidation,\n skipLookbehindValidation: opts.skipLookbehindValidation,\n skipPropertyNameValidation: opts.skipPropertyNameValidation,\n subroutines: [],\n tokens: tokenized.tokens,\n unicodePropertyMap: opts.unicodePropertyMap,\n walk,\n };\n\n // ## AST construction from tokens\n const ast = createRegex(createFlags(tokenized.flags));\n let top = ast.body[0]; // First alt\n while (context.nextIndex < tokenized.tokens.length) {\n const node = walk(top, {});\n if (node.type === 'Alternative') {\n ast.body.push(node);\n top = node;\n } else {\n top.body.push(node as AlternativeElementNode);\n }\n }\n\n // ## Validation that requires knowledge about the complete pattern\n // `context` updated by the preceding `walk` loop\n const {capturingGroups, hasNumberedRef, namedGroupsByName, subroutines} = context;\n if (hasNumberedRef && namedGroupsByName.size && !opts.rules.captureGroup) {\n throw new Error('Numbered backref/subroutine not allowed when using named capture');\n }\n for (const {ref} of subroutines) {\n if (typeof ref === 'number') {\n // Relative nums are already resolved\n if (ref > capturingGroups.length) {\n throw new Error(`Subroutine uses a group number that's not defined`);\n }\n if (ref) {\n capturingGroups[ref - 1].isSubroutined = true;\n }\n } else if (!namedGroupsByName.has(ref)) {\n throw new Error(r`Subroutine uses a group name that's not defined \"\\g<${ref}>\"`);\n } else if (namedGroupsByName.get(ref)!.length > 1) {\n throw new Error(r`Subroutine uses a duplicate group name \"\\g<${ref}>\"`);\n } else {\n namedGroupsByName.get(ref)![0].isSubroutined = true;\n }\n }\n\n return ast;\n}\n\nfunction parseAssertion({kind}: AssertionToken): AssertionNode {\n return createAssertion(\n throwIfNullish({\n '^': 'line_start',\n '$': 'line_end',\n '\\\\A': 'string_start',\n '\\\\b': 'word_boundary',\n '\\\\B': 'word_boundary',\n '\\\\G': 'search_start',\n '\\\\y': 'text_segment_boundary',\n '\\\\Y': 'text_segment_boundary',\n '\\\\z': 'string_end',\n '\\\\Z': 'string_end_newline',\n }[kind], `Unexpected assertion kind \"${kind}\"`) as NodeAssertionKind,\n {negate: kind === r`\\B` || kind === r`\\Y`}\n );\n}\n\n// Supported (if the backref appears to the right of the reffed capture's opening paren):\n// - `\\k<name>`, `\\k'name'`\n// - When named capture not used:\n// - `\\n`, `\\nn`, `\\nnn`\n// - `\\k<n>`, `\\k'n'\n// - `\\k<-n>`, `\\k'-n'`\n// Unsupported:\n// - `\\k<+n>`, `\\k'+n'` - Note that, Unlike Oniguruma, Onigmo doesn't support this as special\n// syntax and therefore considers it a valid group name.\n// - Backref with recursion level (with num or name): `\\k<n+level>`, `\\k<n-level>`, etc.\n// (Onigmo also supports `\\k<-n+level>`, `\\k<-n-level>`, etc.)\n// Backrefs in Onig use multiplexing for duplicate group names (the rules can be complicated when\n// overlapping with subroutines), but a `Backreference`'s simple `ref` prop doesn't capture these\n// details so multiplexed ref pointers need to be derived when working with the AST\nfunction parseBackreference({raw}: BackreferenceToken, context: Context): BackreferenceNode {\n const hasKWrapper = /^\\\\k[<']/.test(raw);\n const ref = hasKWrapper ? raw.slice(3, -1) : raw.slice(1);\n const fromNum = (num: number, isRelative = false) => {\n const numCapturesToLeft = context.capturingGroups.length;\n let orphan = false;\n // Note: It's not an error for numbered backrefs to come before their referenced group in Onig,\n // but it's currently an error in this library.\n // - Most such placements are mistakes and can never match, due to Onig's behavior for backrefs\n // to nonparticipating groups.\n // - The edge cases where they're matchable rely on rules for backref resetting within\n // quantified groups that are different in JS (thus not emulatable in `oniguruma-to-es`).\n // - Erroring matches the correct behavior of named backrefs.\n // - For unenclosed backrefs, this only affects `\\1`-`\\9` since it's not a backref in the first\n // place if using `\\10` or higher and not as many capturing groups are defined to the left\n // (it's an octal or identity escape).\n // TODO: Ideally this would be refactored to include the backref in the AST when it's not an\n // error in Onig (due to the reffed group being defined to the right), and the error handling\n // would move to the `oniguruma-to-es` transformer\n if (num > numCapturesToLeft) {\n // Skipping the error breaks assumptions and might create edge case issues, since backrefs\n // are required to come after their captures; unfortunately this option is needed for\n // TextMate grammars\n if (context.skipBackrefValidation) {\n orphan = true;\n } else {\n throw new Error(`Not enough capturing groups defined to the left \"${raw}\"`);\n }\n }\n context.hasNumberedRef = true;\n return createBackreference(isRelative ? numCapturesToLeft + 1 - num : num, {orphan});\n };\n if (hasKWrapper) {\n const numberedRef = /^(?<sign>-?)0*(?<num>[1-9]\\d*)$/.exec(ref);\n if (numberedRef) {\n return fromNum(+numberedRef.groups!.num, !!numberedRef.groups!.sign);\n }\n // Invalid in a backref name even when valid in a group name\n if (/[-+]/.test(ref)) {\n throw new Error(`Invalid backref name \"${raw}\"`);\n }\n if (!context.namedGroupsByName.has(ref)) {\n throw new Error(`Group name not defined to the left \"${raw}\"`);\n }\n return createBackreference(ref);\n }\n return fromNum(+ref);\n}\n\nfunction parseCharacterClassHyphen(_: CharacterClassHyphenToken, context: Context, state: State): CharacterNode | CharacterClassRangeNode {\n const {tokens, walk} = context;\n const parent = context.parent as CharacterClassNode;\n const prevSiblingNode = parent.body.at(-1);\n const nextToken = tokens[context.nextIndex];\n if (\n !state.isCheckingRangeEnd &&\n prevSiblingNode &&\n prevSiblingNode.type !== 'CharacterClass' &&\n prevSiblingNode.type !== 'CharacterClassRange' &&\n nextToken &&\n nextToken.type !== 'CharacterClassOpen' &&\n nextToken.type !== 'CharacterClassClose' &&\n nextToken.type !== 'CharacterClassIntersector'\n ) {\n const nextNode = walk(parent, {\n ...state,\n isCheckingRangeEnd: true,\n });\n if (prevSiblingNode.type === 'Character' && nextNode.type === 'Character') {\n parent.body.pop();\n return createCharacterClassRange(prevSiblingNode, nextNode);\n }\n throw new Error('Invalid character class range');\n }\n return createCharacter(cpOf('-'));\n}\n\nfunction parseCharacterClassOpen({negate}: CharacterClassOpenToken, context: Context, state: State): CharacterClassNode {\n const {tokens, walk} = context;\n const intersections = [createCharacterClass()];\n const ccFirstToken = tokens[context.nextIndex];\n let nextToken = throwIfUnclosedCharacterClass(ccFirstToken);\n while (nextToken.type !== 'CharacterClassClose') {\n if (nextToken.type === 'CharacterClassIntersector') {\n intersections.push(createCharacterClass());\n // Skip the intersector\n context.nextIndex++;\n } else {\n const cc = intersections.at(-1)!; // Always at least one\n cc.body.push(walk(cc, state) as CharacterClassElementNode);\n }\n nextToken = throwIfUnclosedCharacterClass(tokens[context.nextIndex], ccFirstToken);\n }\n const node = createCharacterClass({negate});\n if (intersections.length === 1) {\n node.body = intersections[0].body;\n } else {\n node.kind = 'intersection';\n node.body = intersections.map(cc => cc.body.length === 1 ? cc.body[0] : cc);\n }\n // Skip the closing square bracket\n context.nextIndex++;\n return node;\n}\n\nfunction parseCharacterSet({kind, negate, value}: CharacterSetToken, context: Context): CharacterSetNode {\n const {normalizeUnknownPropertyNames, skipPropertyNameValidation, unicodePropertyMap} = context;\n if (kind === 'property') {\n const normalized = slug(value!);\n // Don't treat as POSIX if it's in the provided list of Unicode property names\n if (PosixClassNames.has(normalized) && !unicodePropertyMap?.has(normalized)) {\n kind = 'posix';\n value = normalized;\n } else {\n return createUnicodeProperty(value!, {\n negate,\n normalizeUnknownPropertyNames,\n skipPropertyNameValidation,\n unicodePropertyMap,\n });\n }\n }\n if (kind === 'posix') {\n return createPosixClass(value!, {negate});\n }\n return createCharacterSet(kind, {negate});\n}\n\nfunction parseGroupOpen(token: GroupOpenToken, context: Context, state: State): AbsenceFunctionNode | CapturingGroupNode | GroupNode | LookaroundAssertionNode {\n const {tokens, capturingGroups, namedGroupsByName, skipLookbehindValidation, walk} = context;\n const node = createByGroupKind(token);\n const isThisAbsenceFunction = node.type === 'AbsenceFunction';\n const isThisLookbehind = isLookbehind(node);\n const isThisNegLookbehind = isThisLookbehind && node.negate;\n // Track capturing group details for backrefs and subroutines (before parsing the group's\n // contents so nested groups with the same name are tracked in order)\n if (node.type === 'CapturingGroup') {\n capturingGroups.push(node);\n if (node.name) {\n getOrInsert(namedGroupsByName, node.name, []).push(node);\n }\n }\n // Don't allow nested absence functions\n if (isThisAbsenceFunction && state.isInAbsenceFunction) {\n // Is officially unsupported in Onig but doesn't throw, gives strange results\n throw new Error('Nested absence function not supported by Oniguruma');\n }\n let nextToken = throwIfUnclosedGroup(tokens[context.nextIndex]);\n while (nextToken.type !== 'GroupClose') {\n if (nextToken.type === 'Alternator') {\n node.body.push(createAlternative());\n // Skip the alternator\n context.nextIndex++;\n } else {\n const alt = node.body.at(-1)!; // Always at least one\n const child = walk(alt, {\n ...state,\n isInAbsenceFunction: state.isInAbsenceFunction || isThisAbsenceFunction,\n isInLookbehind: state.isInLookbehind || isThisLookbehind,\n isInNegLookbehind: state.isInNegLookbehind || isThisNegLookbehind,\n }) as AlternativeElementNode;\n alt.body.push(child);\n // Centralized validation of lookbehind contents\n if ((isThisLookbehind || state.isInLookbehind) && !skipLookbehindValidation) {\n // JS supports all features within lookbehind, but Onig doesn't. Absence functions of form\n // `(?~|)` and `(?~|\u2026)` are also invalid in lookbehind (the `(?~\u2026)` and `(?~|\u2026|\u2026)` forms\n // are allowed), but all forms with `(?~|` throw since they aren't yet supported\n const msg = 'Lookbehind includes a pattern not allowed by Oniguruma';\n if (isThisNegLookbehind || state.isInNegLookbehind) {\n // - Invalid: `(?=\u2026)`, `(?!\u2026)`, capturing groups\n // - Valid: `(?<=\u2026)`, `(?<!\u2026)`\n if (isLookahead(child) || child.type === 'CapturingGroup') {\n throw new Error(msg);\n }\n } else {\n // - Invalid: `(?=\u2026)`, `(?!\u2026)`, `(?<!\u2026)`\n // - Valid: `(?<=\u2026)`, capturing groups\n if (isLookahead(child) || (isLookbehind(child) && child.negate)) {\n throw new Error(msg);\n }\n }\n }\n }\n nextToken = throwIfUnclosedGroup(tokens[context.nextIndex]);\n }\n // Skip the closing parenthesis\n context.nextIndex++;\n return node;\n}\n\nfunction parseQuantifier({kind, min, max}: QuantifierToken, context: Context): QuantifierNode {\n const parent = context.parent as AlternativeNode;\n const quantifiedNode = parent.body.at(-1);\n if (!quantifiedNode || !isQuantifiable(quantifiedNode)) {\n throw new Error('Quantifier requires a repeatable token');\n }\n const node = createQuantifier(kind, min, max, quantifiedNode);\n parent.body.pop();\n return node;\n}\n\n// Onig subroutine behavior:\n// - Subroutines can appear before the groups they reference; ex: `\\g<1>(a)` is valid.\n// - Multiple subroutines can reference the same group.\n// - Subroutines can reference groups that themselves contain subroutines, followed to any depth.\n// - Subroutines can be used recursively, and `\\g<0>` recursively references the whole pattern.\n// - Subroutines can use relative references (backward or forward); ex: `\\g<+1>(.)\\g<-1>`.\n// - Subroutines don't get their own capturing group numbers; ex: `(.)\\g<1>\\2` is invalid.\n// - Subroutines use the flags that apply to their referenced group, so e.g.\n// `(?-i)(?<a>a)(?i)\\g<a>` is fully case sensitive.\n// - Differences from PCRE/Perl/Regex+ subroutines:\n// - Subroutines can't reference duplicate group names (though duplicate names are valid if no\n// subroutines reference them).\n// - Subroutines can't use absolute or relative numbers if named capture is used anywhere.\n// - Named backrefs must be to the right of their group definition, so the backref in\n// `\\g<a>\\k<a>(?<a>)` is invalid (not directly related to subroutines).\n// - Subroutines don't restore capturing group match values (for backrefs) upon exit, so e.g.\n// `(?<a>(?<b>[ab]))\\g<a>\\k<b>` matches `abb` but not `aba`; same for numbered.\n// The interaction of backref multiplexing (an Onig-specific feature) and subroutines is complex:\n// - Only the most recent value matched by a capturing group and its subroutines is considered for\n// backref multiplexing, and this also applies to capturing groups nested within a group that's\n// referenced by a subroutine.\n// - Although a subroutine can't reference a group with a duplicate name, it can reference a group\n// with a nested capture whose name is duplicated (e.g. outside of the referenced group).\n// - These duplicate names can then multiplex; but only the most recent value matched from within\n// the outer group (or the subroutines that reference it) is available for multiplexing.\n// - Ex: With `(?<a>(?<b>[123]))\\g<a>\\g<a>(?<b>0)\\k<b>`, the backref `\\k<b>` can only match `0`\n// or whatever was matched by the most recently matched subroutine. If you took out `(?<b>0)`,\n// no multiplexing would occur.\nfunction parseSubroutine({raw}: SubroutineToken, context: Context): SubroutineNode {\n const {capturingGroups, subroutines} = context;\n let ref: string | number = raw.slice(3, -1);\n const numberedRef = /^(?<sign>[-+]?)0*(?<num>[1-9]\\d*)$/.exec(ref);\n if (numberedRef) {\n const num = +numberedRef.groups!.num;\n const numCapturesToLeft = capturingGroups.length;\n context.hasNumberedRef = true;\n ref = {\n '': num,\n '+': numCapturesToLeft + num,\n '-': numCapturesToLeft + 1 - num,\n }[numberedRef.groups!.sign]!;\n if (ref < 1) {\n throw new Error('Invalid subroutine number');\n }\n // Special case for full-pattern recursion; can't be `+0`, `-0`, `00`, etc.\n } else if (ref === '0') {\n ref = 0;\n }\n const node = createSubroutine(ref);\n subroutines.push(node);\n return node;\n}\n\n// -------------------------------\n// --- Node creation and types ---\n// -------------------------------\n\ntype AbsenceFunctionNode = {\n type: 'AbsenceFunction';\n kind: NodeAbsenceFunctionKind;\n body: Array<AlternativeNode>;\n};\nfunction createAbsenceFunction(kind: NodeAbsenceFunctionKind, options?: {\n body?: Array<AlternativeNode>;\n}): AbsenceFunctionNode {\n if (kind !== 'repeater') {\n throw new Error(`Unexpected absence function kind \"${kind}\"`);\n }\n return {\n type: 'AbsenceFunction',\n kind,\n body: getBodyForAlternativeContainer(options?.body),\n };\n}\n\ntype AlternativeNode = {\n type: 'Alternative';\n body: Array<AlternativeElementNode>;\n};\nfunction createAlternative(options?: {\n body?: Array<AlternativeElementNode>;\n}): AlternativeNode {\n return {\n type: 'Alternative',\n body: getBodyForElementContainer(options?.body) as Array<AlternativeElementNode>,\n };\n}\n\ntype AssertionNode = {\n type: 'Assertion';\n kind: NodeAssertionKind;\n negate?: boolean;\n};\nfunction createAssertion(kind: NodeAssertionKind, options?: {\n negate?: boolean;\n}): AssertionNode {\n const node: AssertionNode = {\n type: 'Assertion',\n kind,\n };\n if (kind === 'word_boundary' || kind === 'text_segment_boundary') {\n node.negate = !!options?.negate;\n }\n return node;\n}\n\ntype BackreferenceNode = {\n type: 'Backreference';\n ref: string | number;\n orphan?: boolean;\n};\nfunction createBackreference(ref: string | number, options?: {\n orphan?: boolean;\n}): BackreferenceNode {\n const orphan = !!options?.orphan;\n return {\n type: 'Backreference',\n ref,\n ...(orphan && {orphan}),\n };\n}\n\ntype CapturingGroupNode = {\n type: 'CapturingGroup';\n kind?: never;\n number: number;\n name?: string;\n // One or more subroutines in the regex reference this group\n isSubroutined?: boolean;\n body: Array<AlternativeNode>;\n};\nfunction createCapturingGroup(number: number, options?: {\n name?: string;\n isSubroutined?: boolean;\n body?: Array<AlternativeNode>;\n}): CapturingGroupNode {\n const opts = {\n name: undefined,\n isSubroutined: false,\n ...options,\n };\n if (opts.name !== undefined && !isValidGroupName(opts.name)) {\n throw new Error(`Group name \"${opts.name}\" invalid in Oniguruma`);\n }\n return {\n type: 'CapturingGroup',\n number,\n ...(opts.name && {name: opts.name}),\n ...(opts.isSubroutined && {isSubroutined: opts.isSubroutined}),\n body: getBodyForAlternativeContainer(options?.body),\n };\n}\n\ntype CharacterNode = {\n type: 'Character';\n value: number;\n};\nfunction createCharacter(charCode: number, options?: {\n useLastValid?: boolean;\n}): CharacterNode {\n const opts = {\n useLastValid: false,\n ...options,\n };\n if (charCode > 0x10FFFF) {\n const hex = charCode.toString(16);\n if (opts.useLastValid) {\n charCode = 0x10FFFF;\n } else if (charCode > 0x13FFFF) {\n throw new Error(`Invalid code point out of range \"\\\\x{${hex}}\"`);\n } else {\n throw new Error(`Invalid code point out of range in JS \"\\\\x{${hex}}\"`);\n }\n }\n return {\n type: 'Character',\n value: charCode,\n };\n}\n\ntype CharacterClassNode = {\n type: 'CharacterClass';\n kind: NodeCharacterClassKind;\n negate: boolean;\n body: Array<CharacterClassElementNode>;\n};\nfunction createCharacterClass(options?: {\n kind?: NodeCharacterClassKind;\n negate?: boolean;\n body?: Array<CharacterClassElementNode>;\n}): CharacterClassNode {\n const opts = {\n kind: 'union' as NodeCharacterClassKind,\n negate: false,\n ...options,\n };\n return {\n type: 'CharacterClass',\n kind: opts.kind,\n negate: opts.negate,\n body: getBodyForElementContainer(options?.body) as Array<CharacterClassElementNode>,\n };\n}\n\ntype CharacterClassRangeNode = {\n type: 'CharacterClassRange';\n min: CharacterNode;\n max: CharacterNode;\n};\nfunction createCharacterClassRange(min: CharacterNode, max: CharacterNode): CharacterClassRangeNode {\n if (max.value < min.value) {\n throw new Error('Character class range out of order');\n }\n return {\n type: 'CharacterClassRange',\n min,\n max,\n };\n}\n\ntype NamedCharacterSetNode = {\n type: 'CharacterSet';\n kind: 'posix' | 'property';\n value: string;\n negate: boolean;\n variableLength?: never;\n};\ntype UnnamedCharacterSetNode = {\n type: 'CharacterSet';\n kind: Exclude<NodeCharacterSetKind, NamedCharacterSetNode['kind']>;\n value?: never;\n negate?: boolean;\n variableLength?: boolean;\n};\ntype CharacterSetNode = NamedCharacterSetNode | UnnamedCharacterSetNode;\n/**\nUse `createUnicodeProperty` and `createPosixClass` for `kind` values `'property'` and `'posix'`.\n*/\nfunction createCharacterSet(kind: UnnamedCharacterSetNode['kind'], options?: {\n negate?: boolean;\n}): UnnamedCharacterSetNode {\n const negate = !!options?.negate;\n const node: UnnamedCharacterSetNode = {\n type: 'CharacterSet',\n kind,\n };\n if (\n kind === 'digit' ||\n kind === 'hex' ||\n kind === 'newline' ||\n kind === 'space' ||\n kind === 'word'\n ) {\n node.negate = negate;\n }\n if (\n kind === 'text_segment' ||\n (kind === 'newline' && !negate)\n ) {\n node.variableLength = true;\n }\n return node;\n}\n\ntype DirectiveNode = {\n type: 'Directive';\n} & ({\n kind: 'keep';\n flags?: never;\n} | {\n kind: 'flags';\n flags: FlagGroupModifiers;\n});\nfunction createDirective(kind: NodeDirectiveKind, options: {flags?: FlagGroupModifiers} = {}): DirectiveNode {\n if (kind === 'keep') {\n return {\n type: 'Directive',\n kind,\n };\n }\n if (kind === 'flags') {\n // Note: Flag effects might extend across alternation; ex: `a(?i)b|c` is equivalent to\n // `a(?i:b)|(?i:c)`, not `a(?i:b|c)`\n return {\n type: 'Directive',\n kind,\n flags: throwIfNullish(options.flags),\n };\n }\n throw new Error(`Unexpected directive kind \"${kind}\"`);\n}\n\ntype FlagsNode = {\n type: 'Flags';\n} & FlagProperties;\nfunction createFlags(flags: FlagProperties): FlagsNode {\n return {\n type: 'Flags',\n ...flags,\n };\n}\n\ntype GroupNode = {\n type: 'Group';\n kind?: never;\n atomic?: boolean;\n flags?: FlagGroupModifiers;\n body: Array<AlternativeNode>;\n};\nfunction createGroup(options?: {\n atomic?: boolean;\n flags?: FlagGroupModifiers;\n body?: Array<AlternativeNode>;\n}): GroupNode {\n const atomic = options?.atomic;\n const flags = options?.flags;\n if (atomic && flags) {\n throw new Error('Atomic group cannot have flags');\n }\n return {\n type: 'Group',\n ...(atomic && {atomic}),\n ...(flags && {flags}),\n body: getBodyForAlternativeContainer(options?.body),\n };\n}\n\ntype LookaroundAssertionNode = {\n type: 'LookaroundAssertion';\n kind: NodeLookaroundAssertionKind;\n negate: boolean;\n body: Array<AlternativeNode>;\n};\nfunction createLookaroundAssertion(options?: {\n behind?: boolean;\n negate?: boolean;\n body?: Array<AlternativeNode>;\n}): LookaroundAssertionNode {\n const opts = {\n behind: false,\n negate: false,\n ...options,\n };\n return {\n type: 'LookaroundAssertion',\n kind: opts.behind ? 'lookbehind' : 'lookahead',\n negate: opts.negate,\n body: getBodyForAlternativeContainer(options?.body),\n };\n}\n\ntype NamedCalloutNode = {\n type: 'NamedCallout';\n kind: NodeNamedCalloutKind;\n tag: string | null;\n arguments: Array<string | number> | null;\n};\nfunction createNamedCallout(\n kind: NodeNamedCalloutKind,\n tag: string | null,\n args: Array<string | number> | null\n): NamedCalloutNode {\n return {\n type: 'NamedCallout',\n kind,\n tag,\n arguments: args,\n };\n}\n\nfunction createPosixClass(name: string, options?: {\n negate?: boolean;\n}): NamedCharacterSetNode & {kind: 'posix'} {\n const negate = !!options?.negate;\n if (!PosixClassNames.has(name)) {\n throw new Error(`Invalid POSIX class \"${name}\"`);\n }\n return {\n type: 'CharacterSet',\n kind: 'posix',\n value: name,\n negate,\n };\n}\n\ntype QuantifierNode = {\n type: 'Quantifier';\n kind: NodeQuantifierKind;\n min: number;\n max: number;\n body: QuantifiableNode;\n};\nfunction createQuantifier(kind: NodeQuantifierKind, min: number, max: number, body: QuantifiableNode): QuantifierNode {\n if (min > max) {\n throw new Error('Invalid reversed quantifier range');\n }\n return {\n type: 'Quantifier',\n kind,\n min,\n max,\n body,\n };\n}\n\ntype RegexNode = {\n type: 'Regex';\n body: Array<AlternativeNode>;\n flags: FlagsNode;\n};\nfunction createRegex(flags: FlagsNode, options?: {\n body?: Array<AlternativeNode>;\n}): RegexNode {\n return {\n type: 'Regex',\n body: getBodyForAlternativeContainer(options?.body),\n flags,\n };\n}\n\ntype SubroutineNode = {\n type: 'Subroutine';\n ref: string | number;\n};\nfunction createSubroutine(ref: string | number): SubroutineNode {\n return {\n type: 'Subroutine',\n ref,\n };\n}\n\ntype CreateUnicodePropertyOptions = {\n negate?: boolean;\n normalizeUnknownPropertyNames?: boolean;\n skipPropertyNameValidation?: boolean;\n unicodePropertyMap?: UnicodePropertyMap | null;\n};\nfunction createUnicodeProperty(name: string, options?: CreateUnicodePropertyOptions): NamedCharacterSetNode & {kind: 'property'} {\n const opts: Required<CreateUnicodePropertyOptions> = {\n negate: false,\n normalizeUnknownPropertyNames: false,\n skipPropertyNameValidation: false,\n unicodePropertyMap: null,\n ...options,\n };\n let normalized = opts.unicodePropertyMap?.get(slug(name));\n if (!normalized) {\n if (opts.normalizeUnknownPropertyNames) {\n normalized = normalizeUnicodePropertyName(name);\n // Let the name through as-is if no map provided and normalization not requested\n } else if (opts.unicodePropertyMap && !opts.skipPropertyNameValidation) {\n throw new Error(r`Invalid Unicode property \"\\p{${name}}\"`);\n }\n }\n return {\n type: 'CharacterSet',\n kind: 'property',\n value: normalized ?? name,\n negate: opts.negate,\n };\n}\n\n// ---------------\n// --- Helpers ---\n// ---------------\n\nfunction createByGroupKind({flags, kind, name, negate, number}: GroupOpenToken): AbsenceFunctionNode | CapturingGroupNode | GroupNode | LookaroundAssertionNode {\n switch (kind) {\n case 'absence_repeater':\n return createAbsenceFunction('repeater');\n case 'atomic':\n return createGroup({atomic: true});\n case 'capturing':\n return createCapturingGroup(number!, {name});\n case 'group':\n return createGroup({flags});\n case 'lookahead':\n case 'lookbehind':\n return createLookaroundAssertion({\n behind: kind === 'lookbehind',\n negate,\n });\n default:\n throw new Error(`Unexpected group kind \"${kind}\"`);\n }\n}\n\nfunction getBodyForAlternativeContainer(body: unknown): Array<AlternativeNode> {\n if (body === undefined) {\n body = [createAlternative()];\n } else if (!Array.isArray(body) || !body.length || !body.every(node => (node as Node).type === 'Alternative')) {\n throw new Error('Invalid body; expected array of one or more Alternative nodes');\n }\n return body as Array<AlternativeNode>;\n}\n\nfunction getBodyForElementContainer(body: unknown): Array<Node> {\n if (body === undefined) {\n body = [];\n } else if (!Array.isArray(body) || !body.every(node => !!(node as Node).type)) {\n throw new Error('Invalid body; expected array of nodes');\n }\n return body as Array<Node>;\n}\n\nfunction isLookahead(node: Node): node is (LookaroundAssertionNode & {kind: 'lookahead'}) {\n return node.type === 'LookaroundAssertion' && node.kind === 'lookahead';\n}\n\nfunction isLookbehind(node: Node): node is (LookaroundAssertionNode & {kind: 'lookbehind'}) {\n return node.type === 'LookaroundAssertion' && node.kind === 'lookbehind';\n}\n\nfunction isValidGroupName(name: string): boolean {\n // Note that backrefs and subroutines might contextually use `-` and `+` to indicate relative\n // index or recursion level\n return /^[\\p{Alpha}\\p{Pc}][^)]*$/u.test(name);\n}\n\nfunction normalizeUnicodePropertyName(name: string): string {\n // In Onig, Unicode property names ignore case, spaces, hyphens, and underscores. Use best effort\n // to reformat the name to follow official values (covers a lot, but isn't able to map for all\n // possible formatting differences)\n return name.\n trim().\n replace(/[- _]+/g, '_').\n replace(/[A-Z][a-z]+(?=[A-Z])/g, '$&_'). // `PropertyName` to `Property_Name`\n replace(/[A-Za-z]+/g, m => m[0].toUpperCase() + m.slice(1).toLowerCase());\n}\n\n/**\nGenerates a Unicode property lookup name: lowercase, without spaces, hyphens, or underscores.\n*/\nfunction slug(name: string): string {\n return name.replace(/[- _]+/g, '').toLowerCase();\n}\n\nfunction throwIfUnclosedCharacterClass<T>(token: T, ccFirstToken?: Token): NonNullable<T> {\n const first = ccFirstToken;\n return throwIfNullish(token, `Unclosed character class${\n // Help avoid confusion since e.g. `[]abc` is unclosed but looks like it has an empty class\n first?.type === 'Character' && first.value === 93 && first.raw === ']' ? ' (started with \"]\")' : ''\n }`);\n}\n\nfunction throwIfUnclosedGroup<T>(token: T): NonNullable<T> {\n return throwIfNullish(token, 'Unclosed group');\n}\n\nexport {\n type AbsenceFunctionNode,\n type AlternativeNode,\n type AlternativeContainerNode,\n type AlternativeElementNode,\n type AssertionNode,\n type BackreferenceNode,\n type CapturingGroupNode,\n type CharacterClassElementNode,\n type CharacterClassNode,\n type CharacterClassRangeNode,\n type CharacterNode,\n type CharacterSetNode,\n type DirectiveNode,\n type FlagsNode,\n type GroupNode,\n type LookaroundAssertionNode,\n type NamedCalloutNode,\n type Node,\n type NodeAbsenceFunctionKind,\n type NodeAssertionKind,\n type NodeCharacterClassKind,\n type NodeCharacterSetKind,\n type NodeDirectiveKind,\n type NodeLookaroundAssertionKind,\n type NodeQuantifierKind,\n type OnigurumaAst,\n type ParentNode,\n type ParseOptions,\n type QuantifiableNode,\n type QuantifierNode,\n type RegexNode,\n type SubroutineNode,\n type UnicodePropertyMap,\n createAbsenceFunction,\n createAlternative,\n createAssertion,\n createBackreference,\n createCapturingGroup,\n createCharacter,\n createCharacterClass,\n createCharacterClassRange,\n createCharacterSet,\n createDirective,\n createFlags,\n createGroup,\n createLookaroundAssertion,\n createNamedCallout,\n createPosixClass,\n createQuantifier,\n createRegex,\n createSubroutine,\n createUnicodeProperty,\n hasOnlyChild,\n isAlternativeContainer,\n isQuantifiable,\n parse,\n slug,\n};\n", "import type {UnicodePropertyMap} from \"./parser/parse.js\";\nimport {slug} from \"./parser/parse.js\";\n\n/**\nAll Unicode properties supported by Oniguruma 6.9.10 (Unicode 16.0.0).\nCopied from <github.com/kkos/oniguruma/blob/master/doc/UNICODE_PROPERTIES>\n*/\nconst OnigUnicodePropertyMap: UnicodePropertyMap = /* @__PURE__ */ new Map(\n`ASCII_Hex_Digit\nAdlam\nAhom\nAlphabetic\nAnatolian_Hieroglyphs\nAny\nArabic\nArmenian\nAssigned\nAvestan\nBalinese\nBamum\nBassa_Vah\nBatak\nBengali\nBhaiksuki\nBidi_Control\nBopomofo\nBrahmi\nBraille\nBuginese\nBuhid\nC\nCanadian_Aboriginal\nCarian\nCase_Ignorable\nCased\nCaucasian_Albanian\nCc\nCf\nChakma\nCham\nChanges_When_Casefolded\nChanges_When_Casemapped\nChanges_When_Lowercased\nChanges_When_Titlecased\nChanges_When_Uppercased\nCherokee\nChorasmian\nCn\nCo\nCommon\nCoptic\nCs\nCuneiform\nCypriot\nCypro_Minoan\nCyrillic\nDash\nDefault_Ignorable_Code_Point\nDeprecated\nDeseret\nDevanagari\nDiacritic\nDives_Akuru\nDogra\nDuployan\nEgyptian_Hieroglyphs\nElbasan\nElymaic\nEmoji\nEmoji_Component\nEmoji_Modifier\nEmoji_Modifier_Base\nEmoji_Presentation\nEthiopic\nExtended_Pictographic\nExtender\nGaray\nGeorgian\nGlagolitic\nGothic\nGrantha\nGrapheme_Base\nGrapheme_Extend\nGrapheme_Link\nGreek\nGujarati\nGunjala_Gondi\nGurmukhi\nGurung_Khema\nHan\nHangul\nHanifi_Rohingya\nHanunoo\nHatran\nHebrew\nHex_Digit\nHiragana\nHyphen\nIDS_Binary_Operator\nIDS_Trinary_Operator\nIDS_Unary_Operator\nID_Compat_Math_Continue\nID_Compat_Math_Start\nID_Continue\nID_Start\nIdeographic\nImperial_Aramaic\nInCB\nInherited\nInscriptional_Pahlavi\nInscriptional_Parthian\nJavanese\nJoin_Control\nKaithi\nKannada\nKatakana\nKawi\nKayah_Li\nKharoshthi\nKhitan_Small_Script\nKhmer\nKhojki\nKhudawadi\nKirat_Rai\nL\nLC\nLao\nLatin\nLepcha\nLimbu\nLinear_A\nLinear_B\nLisu\nLl\nLm\nLo\nLogical_Order_Exception\nLowercase\nLt\nLu\nLycian\nLydian\nM\nMahajani\nMakasar\nMalayalam\nMandaic\nManichaean\nMarchen\nMasaram_Gondi\nMath\nMc\nMe\nMedefaidrin\nMeetei_Mayek\nMende_Kikakui\nMeroitic_Cursive\nMeroitic_Hieroglyphs\nMiao\nMn\nModi\nModifier_Combining_Mark\nMongolian\nMro\nMultani\nMyanmar\nN\nNabataean\nNag_Mundari\nNandinagari\nNd\nNew_Tai_Lue\nNewa\nNko\nNl\nNo\nNoncharacter_Code_Point\nNushu\nNyiakeng_Puachue_Hmong\nOgham\nOl_Chiki\nOl_Onal\nOld_Hungarian\nOld_Italic\nOld_North_Arabian\nOld_Permic\nOld_Persian\nOld_Sogdian\nOld_South_Arabian\nOld_Turkic\nOld_Uyghur\nOriya\nOsage\nOsmanya\nOther_Alphabetic\nOther_Default_Ignorable_Code_Point\nOther_Grapheme_Extend\nOther_ID_Continue\nOther_ID_Start\nOther_Lowercase\nOther_Math\nOther_Uppercase\nP\nPahawh_Hmong\nPalmyrene\nPattern_Syntax\nPattern_White_Space\nPau_Cin_Hau\nPc\nPd\nPe\nPf\nPhags_Pa\nPhoenician\nPi\nPo\nPrepended_Concatenation_Mark\nPs\nPsalter_Pahlavi\nQuotation_Mark\nRadical\nRegional_Indicator\nRejang\nRunic\nS\nSamaritan\nSaurashtra\nSc\nSentence_Terminal\nSharada\nShavian\nSiddham\nSignWriting\nSinhala\nSk\nSm\nSo\nSoft_Dotted\nSogdian\nSora_Sompeng\nSoyombo\nSundanese\nSunuwar\nSyloti_Nagri\nSyriac\nTagalog\nTagbanwa\nTai_Le\nTai_Tham\nTai_Viet\nTakri\nTamil\nTangsa\nTangut\nTelugu\nTerminal_Punctuation\nThaana\nThai\nTibetan\nTifinagh\nTirhuta\nTodhri\nToto\nTulu_Tigalari\nUgaritic\nUnified_Ideograph\nUnknown\nUppercase\nVai\nVariation_Selector\nVithkuqi\nWancho\nWarang_Citi\nWhite_Space\nXID_Continue\nXID_Start\nYezidi\nYi\nZ\nZanabazar_Square\nZl\nZp\nZs\nAdlm\nAghb\nAHex\nArab\nArmi\nArmn\nAvst\nBali\nBamu\nBass\nBatk\nBeng\nBhks\nBidi_C\nBopo\nBrah\nBrai\nBugi\nBuhd\nCakm\nCans\nCari\nCased_Letter\nCher\nChrs\nCI\nClose_Punctuation\nCombining_Mark\nConnector_Punctuation\nControl\nCopt\nCpmn\nCprt\nCurrency_Symbol\nCWCF\nCWCM\nCWL\nCWT\nCWU\nCyrl\nDash_Punctuation\nDecimal_Number\nDep\nDeva\nDI\nDia\nDiak\nDogr\nDsrt\nDupl\nEBase\nEComp\nEgyp\nElba\nElym\nEMod\nEnclosing_Mark\nEPres\nEthi\nExt\nExtPict\nFinal_Punctuation\nFormat\nGara\nGeor\nGlag\nGong\nGonm\nGoth\nGran\nGr_Base\nGrek\nGr_Ext\nGr_Link\nGujr\nGukh\nGuru\nHang\nHani\nHano\nHatr\nHebr\nHex\nHira\nHluw\nHmng\nHmnp\nHung\nIDC\nIdeo\nIDS\nIDSB\nIDST\nIDSU\nInitial_Punctuation\nItal\nJava\nJoin_C\nKali\nKana\nKhar\nKhmr\nKhoj\nKits\nKnda\nKrai\nKthi\nLana\nLaoo\nLatn\nLepc\nLetter\nLetter_Number\nLimb\nLina\nLinb\nLine_Separator\nLOE\nLowercase_Letter\nLyci\nLydi\nMahj\nMaka\nMand\nMani\nMarc\nMark\nMath_Symbol\nMCM\nMedf\nMend\nMerc\nMero\nMlym\nModifier_Letter\nModifier_Symbol\nMong\nMroo\nMtei\nMult\nMymr\nNagm\nNand\nNarb\nNbat\nNChar\nNkoo\nNonspacing_Mark\nNshu\nNumber\nOAlpha\nODI\nOgam\nOGr_Ext\nOIDC\nOIDS\nOlck\nOLower\nOMath\nOnao\nOpen_Punctuation\nOrkh\nOrya\nOsge\nOsma\nOther\nOther_Letter\nOther_Number\nOther_Punctuation\nOther_Symbol\nOugr\nOUpper\nPalm\nParagraph_Separator\nPat_Syn\nPat_WS\nPauc\nPCM\nPerm\nPhag\nPhli\nPhlp\nPhnx\nPlrd\nPrivate_Use\nPrti\npunct\nPunctuation\nQaac\nQaai\nQMark\nRI\nRjng\nRohg\nRunr\nSamr\nSarb\nSaur\nSD\nSeparator\nSgnw\nShaw\nShrd\nSidd\nSind\nSinh\nSogd\nSogo\nSora\nSoyo\nSpace_Separator\nSpacing_Mark\nSTerm\nSund\nSunu\nSurrogate\nSylo\nSymbol\nSyrc\nTagb\nTakr\nTale\nTalu\nTaml\nTang\nTavt\nTelu\nTerm\nTfng\nTglg\nThaa\nTibt\nTirh\nTitlecase_Letter\nTnsa\nTodr\nTutg\nUgar\nUIdeo\nUnassigned\nUppercase_Letter\nVaii\nVith\nVS\nWara\nWcho\nWSpace\nXIDC\nXIDS\nXpeo\nXsux\nYezi\nYiii\nZanb\nZinh\nZyyy\nZzzz\nIn_Basic_Latin\nIn_Latin_1_Supplement\nIn_Latin_Extended_A\nIn_Latin_Extended_B\nIn_IPA_Extensions\nIn_Spacing_Modifier_Letters\nIn_Combining_Diacritical_Marks\nIn_Greek_and_Coptic\nIn_Cyrillic\nIn_Cyrillic_Supplement\nIn_Armenian\nIn_Hebrew\nIn_Arabic\nIn_Syriac\nIn_Arabic_Supplement\nIn_Thaana\nIn_NKo\nIn_Samaritan\nIn_Mandaic\nIn_Syriac_Supplement\nIn_Arabic_Extended_B\nIn_Arabic_Extended_A\nIn_Devanagari\nIn_Bengali\nIn_Gurmukhi\nIn_Gujarati\nIn_Oriya\nIn_Tamil\nIn_Telugu\nIn_Kannada\nIn_Malayalam\nIn_Sinhala\nIn_Thai\nIn_Lao\nIn_Tibetan\nIn_Myanmar\nIn_Georgian\nIn_Hangul_Jamo\nIn_Ethiopic\nIn_Ethiopic_Supplement\nIn_Cherokee\nIn_Unified_Canadian_Aboriginal_Syllabics\nIn_Ogham\nIn_Runic\nIn_Tagalog\nIn_Hanunoo\nIn_Buhid\nIn_Tagbanwa\nIn_Khmer\nIn_Mongolian\nIn_Unified_Canadian_Aboriginal_Syllabics_Extended\nIn_Limbu\nIn_Tai_Le\nIn_New_Tai_Lue\nIn_Khmer_Symbols\nIn_Buginese\nIn_Tai_Tham\nIn_Combining_Diacritical_Marks_Extended\nIn_Balinese\nIn_Sundanese\nIn_Batak\nIn_Lepcha\nIn_Ol_Chiki\nIn_Cyrillic_Extended_C\nIn_Georgian_Extended\nIn_Sundanese_Supplement\nIn_Vedic_Extensions\nIn_Phonetic_Extensions\nIn_Phonetic_Extensions_Supplement\nIn_Combining_Diacritical_Marks_Supplement\nIn_Latin_Extended_Additional\nIn_Greek_Extended\nIn_General_Punctuation\nIn_Superscripts_and_Subscripts\nIn_Currency_Symbols\nIn_Combining_Diacritical_Marks_for_Symbols\nIn_Letterlike_Symbols\nIn_Number_Forms\nIn_Arrows\nIn_Mathematical_Operators\nIn_Miscellaneous_Technical\nIn_Control_Pictures\nIn_Optical_Character_Recognition\nIn_Enclosed_Alphanumerics\nIn_Box_Drawing\nIn_Block_Elements\nIn_Geometric_Shapes\nIn_Miscellaneous_Symbols\nIn_Dingbats\nIn_Miscellaneous_Mathematical_Symbols_A\nIn_Supplemental_Arrows_A\nIn_Braille_Patterns\nIn_Supplemental_Arrows_B\nIn_Miscellaneous_Mathematical_Symbols_B\nIn_Supplemental_Mathematical_Operators\nIn_Miscellaneous_Symbols_and_Arrows\nIn_Glagolitic\nIn_Latin_Extended_C\nIn_Coptic\nIn_Georgian_Supplement\nIn_Tifinagh\nIn_Ethiopic_Extended\nIn_Cyrillic_Extended_A\nIn_Supplemental_Punctuation\nIn_CJK_Radicals_Supplement\nIn_Kangxi_Radicals\nIn_Ideographic_Description_Characters\nIn_CJK_Symbols_and_Punctuation\nIn_Hiragana\nIn_Katakana\nIn_Bopomofo\nIn_Hangul_Compatibility_Jamo\nIn_Kanbun\nIn_Bopomofo_Extended\nIn_CJK_Strokes\nIn_Katakana_Phonetic_Extensions\nIn_Enclosed_CJK_Letters_and_Months\nIn_CJK_Compatibility\nIn_CJK_Unified_Ideographs_Extension_A\nIn_Yijing_Hexagram_Symbols\nIn_CJK_Unified_Ideographs\nIn_Yi_Syllables\nIn_Yi_Radicals\nIn_Lisu\nIn_Vai\nIn_Cyrillic_Extended_B\nIn_Bamum\nIn_Modifier_Tone_Letters\nIn_Latin_Extended_D\nIn_Syloti_Nagri\nIn_Common_Indic_Number_Forms\nIn_Phags_pa\nIn_Saurashtra\nIn_Devanagari_Extended\nIn_Kayah_Li\nIn_Rejang\nIn_Hangul_Jamo_Extended_A\nIn_Javanese\nIn_Myanmar_Extended_B\nIn_Cham\nIn_Myanmar_Extended_A\nIn_Tai_Viet\nIn_Meetei_Mayek_Extensions\nIn_Ethiopic_Extended_A\nIn_Latin_Extended_E\nIn_Cherokee_Supplement\nIn_Meetei_Mayek\nIn_Hangul_Syllables\nIn_Hangul_Jamo_Extended_B\nIn_High_Surrogates\nIn_High_Private_Use_Surrogates\nIn_Low_Surrogates\nIn_Private_Use_Area\nIn_CJK_Compatibility_Ideographs\nIn_Alphabetic_Presentation_Forms\nIn_Arabic_Presentation_Forms_A\nIn_Variation_Selectors\nIn_Vertical_Forms\nIn_Combining_Half_Marks\nIn_CJK_Compatibility_Forms\nIn_Small_Form_Variants\nIn_Arabic_Presentation_Forms_B\nIn_Halfwidth_and_Fullwidth_Forms\nIn_Specials\nIn_Linear_B_Syllabary\nIn_Linear_B_Ideograms\nIn_Aegean_Numbers\nIn_Ancient_Greek_Numbers\nIn_Ancient_Symbols\nIn_Phaistos_Disc\nIn_Lycian\nIn_Carian\nIn_Coptic_Epact_Numbers\nIn_Old_Italic\nIn_Gothic\nIn_Old_Permic\nIn_Ugaritic\nIn_Old_Persian\nIn_Deseret\nIn_Shavian\nIn_Osmanya\nIn_Osage\nIn_Elbasan\nIn_Caucasian_Albanian\nIn_Vithkuqi\nIn_Todhri\nIn_Linear_A\nIn_Latin_Extended_F\nIn_Cypriot_Syllabary\nIn_Imperial_Aramaic\nIn_Palmyrene\nIn_Nabataean\nIn_Hatran\nIn_Phoenician\nIn_Lydian\nIn_Meroitic_Hieroglyphs\nIn_Meroitic_Cursive\nIn_Kharoshthi\nIn_Old_South_Arabian\nIn_Old_North_Arabian\nIn_Manichaean\nIn_Avestan\nIn_Inscriptional_Parthian\nIn_Inscriptional_Pahlavi\nIn_Psalter_Pahlavi\nIn_Old_Turkic\nIn_Old_Hungarian\nIn_Hanifi_Rohingya\nIn_Garay\nIn_Rumi_Numeral_Symbols\nIn_Yezidi\nIn_Arabic_Extended_C\nIn_Old_Sogdian\nIn_Sogdian\nIn_Old_Uyghur\nIn_Chorasmian\nIn_Elymaic\nIn_Brahmi\nIn_Kaithi\nIn_Sora_Sompeng\nIn_Chakma\nIn_Mahajani\nIn_Sharada\nIn_Sinhala_Archaic_Numbers\nIn_Khojki\nIn_Multani\nIn_Khudawadi\nIn_Grantha\nIn_Tulu_Tigalari\nIn_Newa\nIn_Tirhuta\nIn_Siddham\nIn_Modi\nIn_Mongolian_Supplement\nIn_Takri\nIn_Myanmar_Extended_C\nIn_Ahom\nIn_Dogra\nIn_Warang_Citi\nIn_Dives_Akuru\nIn_Nandinagari\nIn_Zanabazar_Square\nIn_Soyombo\nIn_Unified_Canadian_Aboriginal_Syllabics_Extended_A\nIn_Pau_Cin_Hau\nIn_Devanagari_Extended_A\nIn_Sunuwar\nIn_Bhaiksuki\nIn_Marchen\nIn_Masaram_Gondi\nIn_Gunjala_Gondi\nIn_Makasar\nIn_Kawi\nIn_Lisu_Supplement\nIn_Tamil_Supplement\nIn_Cuneiform\nIn_Cuneiform_Numbers_and_Punctuation\nIn_Early_Dynastic_Cuneiform\nIn_Cypro_Minoan\nIn_Egyptian_Hieroglyphs\nIn_Egyptian_Hieroglyph_Format_Controls\nIn_Egyptian_Hieroglyphs_Extended_A\nIn_Anatolian_Hieroglyphs\nIn_Gurung_Khema\nIn_Bamum_Supplement\nIn_Mro\nIn_Tangsa\nIn_Bassa_Vah\nIn_Pahawh_Hmong\nIn_Kirat_Rai\nIn_Medefaidrin\nIn_Miao\nIn_Ideographic_Symbols_and_Punctuation\nIn_Tangut\nIn_Tangut_Components\nIn_Khitan_Small_Script\nIn_Tangut_Supplement\nIn_Kana_Extended_B\nIn_Kana_Supplement\nIn_Kana_Extended_A\nIn_Small_Kana_Extension\nIn_Nushu\nIn_Duployan\nIn_Shorthand_Format_Controls\nIn_Symbols_for_Legacy_Computing_Supplement\nIn_Znamenny_Musical_Notation\nIn_Byzantine_Musical_Symbols\nIn_Musical_Symbols\nIn_Ancient_Greek_Musical_Notation\nIn_Kaktovik_Numerals\nIn_Mayan_Numerals\nIn_Tai_Xuan_Jing_Symbols\nIn_Counting_Rod_Numerals\nIn_Mathematical_Alphanumeric_Symbols\nIn_Sutton_SignWriting\nIn_Latin_Extended_G\nIn_Glagolitic_Supplement\nIn_Cyrillic_Extended_D\nIn_Nyiakeng_Puachue_Hmong\nIn_Toto\nIn_Wancho\nIn_Nag_Mundari\nIn_Ol_Onal\nIn_Ethiopic_Extended_B\nIn_Mende_Kikakui\nIn_Adlam\nIn_Indic_Siyaq_Numbers\nIn_Ottoman_Siyaq_Numbers\nIn_Arabic_Mathematical_Alphabetic_Symbols\nIn_Mahjong_Tiles\nIn_Domino_Tiles\nIn_Playing_Cards\nIn_Enclosed_Alphanumeric_Supplement\nIn_Enclosed_Ideographic_Supplement\nIn_Miscellaneous_Symbols_and_Pictographs\nIn_Emoticons\nIn_Ornamental_Dingbats\nIn_Transport_and_Map_Symbols\nIn_Alchemical_Symbols\nIn_Geometric_Shapes_Extended\nIn_Supplemental_Arrows_C\nIn_Supplemental_Symbols_and_Pictographs\nIn_Chess_Symbols\nIn_Symbols_and_Pictographs_Extended_A\nIn_Symbols_for_Legacy_Computing\nIn_CJK_Unified_Ideographs_Extension_B\nIn_CJK_Unified_Ideographs_Extension_C\nIn_CJK_Unified_Ideographs_Extension_D\nIn_CJK_Unified_Ideographs_Extension_E\nIn_CJK_Unified_Ideographs_Extension_F\nIn_CJK_Unified_Ideographs_Extension_I\nIn_CJK_Compatibility_Ideographs_Supplement\nIn_CJK_Unified_Ideographs_Extension_G\nIn_CJK_Unified_Ideographs_Extension_H\nIn_Tags\nIn_Variation_Selectors_Supplement\nIn_Supplementary_Private_Use_Area_A\nIn_Supplementary_Private_Use_Area_B\nIn_No_Block`.\n split(/\\s/).\n map(p => [slug(p), p])\n);\n\nexport {\n OnigUnicodePropertyMap,\n};\n", "import type {OnigurumaAst} from './parser/parse.js';\nimport {parse} from './parser/parse.js';\nimport {OnigUnicodePropertyMap} from './unicode.js';\n\ntype ToOnigurumaAstOptions = {\n flags?: string;\n rules?: {\n captureGroup?: boolean;\n singleline?: boolean;\n };\n};\n\n/**\nReturns an Oniguruma AST generated from an Oniguruma pattern.\n*/\nfunction toOnigurumaAst(pattern: string, options: ToOnigurumaAstOptions = {}): OnigurumaAst {\n // If `options` provided, it must be a plain object (excluding `null`, arrays, etc.)\n if ({}.toString.call(options) !== '[object Object]') {\n throw new Error('Unexpected options');\n }\n return parse(pattern, {\n // The parser includes additional options; limit the options that can be passed\n flags: options.flags ?? '',\n rules: {\n captureGroup: options.rules?.captureGroup ?? false,\n singleline: options.rules?.singleline ?? false,\n },\n unicodePropertyMap: OnigUnicodePropertyMap,\n });\n}\n\nexport {\n type ToOnigurumaAstOptions,\n toOnigurumaAst,\n};\n", "import type {AlternativeElementNode, AlternativeNode, CharacterClassElementNode, Node, ParentNode, RegexNode} from '../parser/parse.js';\nimport {throwIfNullish} from '../utils.js';\n\ntype ContainerElementNode =\n // Used within the `body` container of any `AlternativeContainerNode`\n AlternativeNode |\n // Any node type used within the `body` container of an `AlternativeNode`\n AlternativeElementNode |\n // Any node type used within the `body` container of a `CharacterClassNode`\n CharacterClassElementNode;\n\ntype Path<N = Node, Root = RegexNode> = {\n // The current node being traversed\n node: N;\n // Parent node of the current node\n parent: N extends RegexNode ? null : ParentNode;\n // String property where the current node in held by the parent node, or numeric index in the\n // parent's `container` array\n key: N extends RegexNode ? null : number | string;\n // Container array holding the current node in the parent node; `null` if the parent isn't a type\n // that contains a list of nodes\n container: N extends RegexNode ? null : Array<ContainerElementNode> | null;\n // Starting node of the AST being traversed; usually a `RegexNode` but can be any node type if\n // traversing from a midpoint\n root: Root;\n // Removes the current node; its kids won't be traversed\n remove: () => void;\n // Removes all siblings to the right of the current node, without traversing them; returns the\n // removed nodes\n removeAllNextSiblings: () => Array<Node>;\n // Removes all siblings to the left of the current node, which have already been traversed;\n // returns the removed nodes\n removeAllPrevSiblings: () => Array<Node>;\n // Replaces the current node with a new node; kids of the replaced node won't be traversed;\n // optionally traverses the new node\n replaceWith: (newNode: Node, options?: {traverse?: boolean}) => void;\n // Replaces the current node with multiple new nodes; kids of the replaced node won't be\n // traversed; optionally traverses the new nodes\n replaceWithMultiple: (newNodes: Array<Node>, options?: {traverse?: boolean}) => void;\n // Skips traversing kids of the current node\n skip: () => void;\n};\n\n// `VisitorNodeFn() {\u2026}` is shorthand for `VisitorNodeFn: {enter() {\u2026}}`.\ntype Visitor<State extends object | null = null, Root extends Node = RegexNode> = {\n [N in Node as N['type']]?: VisitorNodeFn<Path<N, Root>, State> | {\n enter?: VisitorNodeFn<Path<N, Root>, State>;\n exit?: VisitorNodeFn<Path<N, Root>, State>;\n };\n} & {\n '*'?: VisitorNodeFn<Path<Node, Root>, State> | {\n enter?: VisitorNodeFn<Path<Node, Root>, State>;\n exit?: VisitorNodeFn<Path<Node, Root>, State>;\n };\n};\n\ntype VisitorNodeFn<P, State> = (path: P, state: State) => void;\n\n/**\nTraverses an AST and calls the provided `visitor`'s node function for each node. Returns the same\nobject, possibly modified.\n\nVisitor node functions can modify the AST in place and use methods on the `path` (provided as their\nfirst argument) to help modify the AST. Provided `state` is passed through to all visitor node\nfunctions as their second argument.\n\nVisitor node functions are called in the following order:\n1. `enter` function of the `'*'` node type (if any)\n2. `enter` function of the given node's type (if any)\n3. [The node's kids (if any) are traversed recursively, unless `skip` is called]\n4. `exit` function of the given node's type (if any)\n5. `exit` function of the `'*'` node type (if any)\n*/\nfunction traverse<State extends object | null = null, Root extends Node = RegexNode>(\n root: Root,\n visitor: Visitor<State, Root>,\n state: State | null = null\n): Root {\n function traverseArray(array: NonNullable<Path['container']>, parent: Path['parent']) {\n for (let i = 0; i < array.length; i++) {\n const keyShift = traverseNode(array[i], parent, i, array);\n i = Math.max(-1, i + keyShift);\n }\n }\n function traverseNode(\n node: Path['node'],\n parent: Path['parent'] = null,\n key: Path['key'] = null,\n container: Path['container'] = null\n ): number {\n let keyShift = 0;\n let skipTraversingKidsOfPath = false;\n const path: Path = {\n node,\n parent,\n key,\n container,\n root: root as RegexNode,\n remove() {\n arrayContainer(container).splice(Math.max(0, numericKey(key) + keyShift), 1);\n keyShift--;\n skipTraversingKidsOfPath = true;\n },\n removeAllNextSiblings() {\n return arrayContainer(container).splice(numericKey(key) + 1);\n },\n removeAllPrevSiblings() {\n const shifted = numericKey(key) + keyShift;\n keyShift -= shifted;\n return arrayContainer(container).splice(0, Math.max(0, shifted));\n },\n replaceWith(newNode, options = {}) {\n const traverseNew = !!options.traverse;\n if (container) {\n container[Math.max(0, numericKey(key) + keyShift)] = newNode as ContainerElementNode;\n } else {\n // `key` will be one of:\n // - For `CharacterClassRangeNode`: 'min', 'max'\n // - For `QuantifierNode`: 'body'\n // - For `RegexNode`: 'flags'\n // @ts-expect-error\n throwIfNullish(parent, `Can't replace root node`)[key as string] = newNode;\n }\n if (traverseNew) {\n traverseNode(newNode, parent, key, container);\n }\n skipTraversingKidsOfPath = true;\n },\n replaceWithMultiple(newNodes, options = {}) {\n const traverseNew = !!options.traverse;\n arrayContainer(container).splice(Math.max(0, numericKey(key) + keyShift), 1, ...newNodes);\n keyShift += newNodes.length - 1;\n if (traverseNew) {\n let keyShiftInLoop = 0;\n for (let i = 0; i < newNodes.length; i++) {\n keyShiftInLoop += traverseNode(newNodes[i], parent, numericKey(key) + i + keyShiftInLoop, container);\n }\n }\n skipTraversingKidsOfPath = true;\n },\n skip() {\n skipTraversingKidsOfPath = true;\n },\n };\n\n const {type} = node;\n const anyTypeVisitor = visitor['*'];\n const thisTypeVisitor = visitor[type];\n const enterAllFn = typeof anyTypeVisitor === 'function' ? anyTypeVisitor : anyTypeVisitor?.enter;\n const enterThisFn = typeof thisTypeVisitor === 'function' ? thisTypeVisitor : thisTypeVisitor?.enter;\n // Type args are too complex to avoid TS errors here, but `VisitorNodeFn`s get correct types\n // @ts-expect-error\n enterAllFn?.(path, state);\n // @ts-expect-error\n enterThisFn?.(path, state);\n\n if (!skipTraversingKidsOfPath) {\n switch (type) {\n case 'AbsenceFunction':\n case 'Alternative':\n case 'CapturingGroup':\n case 'CharacterClass':\n case 'Group':\n case 'LookaroundAssertion':\n traverseArray(node.body, node);\n break;\n case 'Assertion':\n case 'Backreference':\n case 'Character':\n case 'CharacterSet':\n case 'Directive':\n case 'Flags':\n case 'NamedCallout':\n case 'Subroutine':\n break;\n case 'CharacterClassRange':\n traverseNode(node.min, node, 'min');\n traverseNode(node.max, node, 'max');\n break;\n case 'Quantifier':\n traverseNode(node.body, node, 'body');\n break;\n case 'Regex':\n traverseArray(node.body, node);\n traverseNode(node.flags, node, 'flags');\n break;\n default:\n throw new Error(`Unexpected node type \"${type}\"`);\n }\n }\n\n // @ts-expect-error\n (thisTypeVisitor as Exclude<typeof thisTypeVisitor, Function>)?.exit?.(path, state);\n // @ts-expect-error\n (anyTypeVisitor as Exclude<typeof anyTypeVisitor, Function>)?.exit?.(path, state);\n return keyShift;\n }\n traverseNode(root);\n return root;\n}\n\nfunction arrayContainer(value: unknown): Array<Node> {\n if (!Array.isArray(value)) {\n throw new Error('Container expected');\n }\n return value;\n}\n\nfunction numericKey(value: unknown): number {\n if (typeof value !== 'number') {\n throw new Error('Numeric key expected');\n }\n return value;\n}\n\nexport {\n type Path,\n type Visitor,\n traverse,\n};\n", "import type {AlternativeNode, CharacterClassNode, CharacterNode, CharacterSetNode, NodeCharacterSetKind} from '../../parser/parse.js';\nimport type {Visitor} from '../../traverser/traverse.js';\nimport {isAlternativeContainer} from '../../parser/node-utils.js';\nimport {createAlternative, createCharacterClass} from '../../parser/parse.js';\n\n/**\nUse character classes for adjacent alternatives with single-length values.\n*/\nconst alternationToClass: Visitor = {\n '*'({node}) {\n if (!isAlternativeContainer(node) || node.body.length < 2) {\n return;\n }\n const newAlts = [];\n let ccNodes = [];\n for (const alt of node.body) {\n const kid = alt.body[0];\n if (\n alt.body.length === 1 &&\n ( kid.type === 'Character' ||\n kid.type === 'CharacterClass' ||\n (kid.type === 'CharacterSet' && universalCharacterSetKinds.has(kid.kind))\n )\n ) {\n ccNodes.push(kid);\n } else {\n if (ccNodes.length) {\n newAlts.push(createAlternativeWithCombinedNodes(ccNodes));\n ccNodes = [];\n }\n newAlts.push(alt);\n }\n }\n if (ccNodes.length) {\n newAlts.push(createAlternativeWithCombinedNodes(ccNodes));\n }\n node.body = newAlts;\n },\n};\n\nfunction createAlternativeWithCombinedNodes(nodes: Array<CharacterNode | CharacterClassNode | CharacterSetNode>): AlternativeNode {\n const alt = createAlternative();\n const node = nodes.length > 1 ? createCharacterClass({body: nodes}) : nodes[0];\n if (node) {\n alt.body.push(node);\n }\n return alt;\n}\n\n// Character set kinds that can appear inside and outside of character classes, and can be inverted\n// by setting `negate`. Some but not all of those excluded use `variableLength: true`\nconst universalCharacterSetKinds = new Set<NodeCharacterSetKind>([\n 'digit',\n 'hex',\n 'posix',\n 'property',\n 'space',\n 'word',\n]);\n\nexport {\n alternationToClass,\n};\n", "import type {Node} from '../../parser/parse.js';\nimport type {Visitor} from '../../traverser/traverse.js';\n\n/**\nPull leading and trailing assertions out of capturing groups when possible; helps group unwrapping.\nEx: `(^abc$)` -> `^(abc)$`.\nEx: `(\\b(?:a|bc)\\b)` -> `\\b((?:a|bc))\\b`. The inner group can subsequently be unwrapped.\n*/\nconst exposeAnchors: Visitor = {\n // Done for capturing groups only because they can't be unwrapped like noncapturing groups (done\n // via `unwrapUselessGroups` combined with `removeUselessFlags`; the latter also avoids hazards\n // from flags that modify word boundary and text segment boundary assertions that would need to\n // be handled here since noncapturing groups can specify flags to change). Pulling anchors out\n // can subsequently enable unwrapping multi-alternative noncapturing groups within the capturing\n // group, and has the side benefit that exposed anchors also improve readability\n CapturingGroup({node, parent, replaceWithMultiple}) {\n if (\n parent.type === 'Quantifier' ||\n node.body.length > 1 || // Multiple alts\n node.isSubroutined\n ) {\n return;\n }\n const firstAlt = node.body[0];\n const firstAltEls = firstAlt.body;\n // Despite only pulling one assertion at a time, multiple can be extracted through multiple\n // rounds of running this optimization\n const leading = firstAltEls[0];\n const trailing = firstAltEls.length > 1 ? firstAltEls.at(-1)! : null;\n const hasLeadingAssertion = leading && leading.type === 'Assertion';\n const hasTrailingAssertion = trailing && trailing.type === 'Assertion';\n const clippedStart = hasLeadingAssertion ? 1 : 0;\n const clippedEnd = firstAltEls.length - (hasTrailingAssertion ? 1 : 0);\n if (hasLeadingAssertion || hasTrailingAssertion) {\n firstAlt.body = firstAltEls.slice(clippedStart, clippedEnd);\n const nodes: Array<Node> = [];\n if (hasLeadingAssertion) {\n // Could use `insertBefore` if the traverser supported it\n nodes.push(leading);\n }\n nodes.push(node);\n if (hasTrailingAssertion) {\n // Could use `insertAfter` if the traverser supported it\n nodes.push(trailing);\n }\n replaceWithMultiple(nodes, {traverse: true});\n }\n },\n};\n\nexport {\n exposeAnchors,\n};\n", "import type {AssertionNode, CharacterNode, CharacterSetNode, Node} from '../../parser/parse.js';\nimport type {Visitor} from '../../traverser/traverse.js';\nimport {isAlternativeContainer} from '../../parser/node-utils.js';\nimport {createAlternative, createGroup} from '../../parser/parse.js';\n\n/**\nExtract nodes at the start of every alternative into a prefix.\nEx: `^aa|^abb|^ac` -> `^a(?:a|bb|c)`.\nAlso works within groups.\n*/\nconst extractPrefix: Visitor = {\n '*'({node}) {\n if (!isAlternativeContainer(node) || node.body.length < 2) {\n return;\n }\n const prefixNodes = [];\n let passedSharedPrefix = false;\n let i = 0;\n while (!passedSharedPrefix) {\n prefixNodes.push(node.body[0].body[i]);\n for (const alt of node.body) {\n const kid = alt.body[i];\n if (!kid || !isAllowedSimpleNode(kid) || !isNodeEqual(kid, prefixNodes[i])) {\n passedSharedPrefix = true;\n break;\n }\n }\n i++;\n }\n prefixNodes.pop();\n if (!prefixNodes.length) {\n return;\n }\n\n for (const alt of node.body) {\n alt.body = alt.body.slice(prefixNodes.length);\n }\n const newContentsAlt = createAlternative({body: prefixNodes});\n const suffixGroup = createGroup({body: node.body});\n if (!suffixGroup.body.every(alt => !alt.body.length)) {\n newContentsAlt.body.push(suffixGroup);\n }\n node.body = [newContentsAlt];\n },\n};\n\nfunction isAllowedSimpleNode(node: Node) {\n return (\n node.type === 'Assertion' ||\n node.type === 'Character' ||\n node.type === 'CharacterSet'\n );\n}\n\n// TODO: Add support for more node types and move to `src/parser/node-utils.ts`\nfunction isNodeEqual(a: Node, b: Node): boolean {\n if (a.type !== b.type) {\n // TS doesn't understand that this makes `a` and `b` always have the same type, so we'll still\n // need to cast, later\n return false;\n }\n if (a.type === 'Assertion' || a.type === 'CharacterSet') {\n return (\n a.kind === (b as AssertionNode | CharacterSetNode).kind &&\n a.negate === (b as AssertionNode | CharacterSetNode).negate\n );\n }\n if (a.type === 'Character') {\n return a.value === (b as CharacterNode).value;\n }\n // Only supports types from `isAllowedSimpleNode`\n throw new Error(`Unexpected node type \"${a.type}\"`);\n}\n\nexport {\n extractPrefix,\n isAllowedSimpleNode,\n isNodeEqual,\n};\n", "import type {AlternativeElementNode, AlternativeNode} from '../../parser/parse.js';\nimport type {Visitor} from '../../traverser/traverse.js';\nimport {isAlternativeContainer} from '../../parser/node-utils.js';\nimport {createAlternative, createGroup} from '../../parser/parse.js';\nimport {isAllowedSimpleNode, isNodeEqual} from './extract-prefix.js';\n\n/**\nExtract alternating prefixes if patterns are repeated for each prefix.\nEx: `^a|!a|^bb|!bb|^c|!c` -> `(?:^|!)(?:a|bb|c)`.\nAlso works within groups.\n*/\nconst extractPrefix2: Visitor = {\n '*'({node}) {\n if (!isAlternativeContainer(node)) {\n return;\n }\n const numDiffPrefixes = 2;\n const numAlts = node.body.length;\n if (numAlts < (numDiffPrefixes * 2) || numAlts % numDiffPrefixes) {\n return;\n }\n const prefixAltElsByI = [...node.body.slice(0, numDiffPrefixes).map(alt => alt.body)];\n const prefixNodesByI = Array.from({length: numDiffPrefixes}, (): Array<AlternativeElementNode> => []);\n const prefixIsFinishedByI = Array(numDiffPrefixes).fill(false);\n const longestOf = Math.max(...prefixAltElsByI.map(els => els.length));\n for (let nodeI = 0; nodeI < longestOf; nodeI++) {\n for (let prefixI = 0; prefixI < numDiffPrefixes; prefixI++) {\n if (!prefixIsFinishedByI[prefixI]) {\n const nextNode = prefixAltElsByI[prefixI][nodeI];\n if (\n !nextNode ||\n !isAllowedSimpleNode(nextNode) ||\n !isPrefixNodeShared(nextNode, node.body, prefixI, nodeI, numDiffPrefixes)\n ) {\n prefixIsFinishedByI[prefixI] = true;\n } else {\n prefixNodesByI[prefixI].push(nextNode);\n }\n }\n }\n }\n if (!prefixNodesByI.some(nodes => nodes.length)) {\n return;\n }\n const strippedAlts = [];\n let counter = 0;\n for (let i = 0; i < numAlts; i++) {\n strippedAlts.push(createAlternative({\n body: node.body[i].body.slice(prefixNodesByI[counter].length),\n }));\n counter = counter < (numDiffPrefixes - 1) ? counter + 1 : 0;\n }\n // Check that each set of alts now use the same value after having had their prefixes removed\n for (let i = 0; i < (numAlts / numDiffPrefixes); i++) {\n const altComparisonSet = strippedAlts.slice(i * numDiffPrefixes, (i * numDiffPrefixes) + numDiffPrefixes);\n for (let j = 1; j < altComparisonSet.length; j++) {\n const els = altComparisonSet[j].body;\n if (els.length !== altComparisonSet[0].body.length) {\n return;\n }\n if (!els.every((el, k) => (\n isAllowedSimpleNode(el) &&\n isNodeEqual(el, altComparisonSet[0].body[k])\n ))) {\n return;\n }\n }\n }\n const prefixAlts = [];\n for (let i = 0; i < numDiffPrefixes; i++) {\n prefixAlts.push(createAlternative({body: prefixNodesByI[i]}));\n }\n const prefixGroup = createGroup({body: prefixAlts});\n const newContentsAlt = createAlternative({body: [prefixGroup]});\n // Only take one (unique) alt from each set of stripped alts\n const suffixGroup = createGroup({body: strippedAlts.filter((_, i) => i % numDiffPrefixes)});\n if (suffixGroup.body.every(alt => !alt.body.length)) {\n node.body = prefixGroup.body;\n } else {\n newContentsAlt.body.push(suffixGroup);\n node.body = [newContentsAlt];\n }\n },\n};\n\nfunction isPrefixNodeShared(\n node: AlternativeElementNode,\n alts: Array<AlternativeNode>,\n prefixI: number,\n nodeI: number,\n numDiffPrefixes: number\n): boolean {\n for (let i = prefixI; i < alts.length; i += numDiffPrefixes) {\n const alt = alts[i];\n const bNode = alt.body[nodeI];\n if (!bNode || !isNodeEqual(bNode, node)) {\n return false;\n }\n }\n return true;\n}\n\nexport {\n extractPrefix2,\n};\n", "import type {Visitor} from '../../traverser/traverse.js';\nimport {isAlternativeContainer} from '../../parser/node-utils.js';\nimport {createAlternative, createGroup} from '../../parser/parse.js';\nimport {isAllowedSimpleNode, isNodeEqual} from './extract-prefix.js';\n\n/**\nExtract nodes at the end of every alternative into a suffix.\nEx: `aa$|bba$|ca$` -> `(?:a|bb|c)a$`.\nAlso works within groups.\n*/\nconst extractSuffix: Visitor = {\n '*'({node}) {\n if (!isAlternativeContainer(node) || node.body.length < 2) {\n return;\n }\n const firstAltEls = node.body[0].body;\n const suffixNodes = [];\n let passedSharedSuffix = false;\n let i = 0;\n while (!passedSharedSuffix) {\n const inverseI = firstAltEls.length - 1 - i;\n suffixNodes.push(firstAltEls[inverseI]);\n for (const alt of node.body) {\n const inverseIOfAlt = alt.body.length - 1 - i;\n const kid = alt.body[inverseIOfAlt];\n if (!kid || !isAllowedSimpleNode(kid) || !isNodeEqual(kid, suffixNodes[i])) {\n passedSharedSuffix = true;\n break;\n }\n }\n i++;\n }\n suffixNodes.pop();\n if (\n !suffixNodes.length ||\n // Avoid applying in cases when it would lengthen the pattern without any benefit; ex:\n // `true|false` -> `(?:tru|fals)e`, or `if|elseif` -> `(?:|else)if`\n ( suffixNodes.length < 3 &&\n // Always extract the suffix if it ends with an assertion, since that provides a\n // readability benefit and is more likely to trigger follow-on optimizations\n suffixNodes[0].type !== 'Assertion' &&\n // Four chars are added by the `(?:)` wrapper and one instance of the suffix is added back\n // at the end, so avoid if the result could be longer\n (suffixNodes.length * (node.body.length - 1)) < 4 &&\n // Adjacent alts reduced to 0 or 1 node after extracting the suffix can possibly be\n // collapsed in follow-on optimizations, providing a performance and/or minification\n // benefit\n !node.body.some((alt, i, arr) => {\n const lastAlt = arr[i - 1];\n const removed = suffixNodes.length;\n return alt.body.length - removed < 2 && lastAlt && lastAlt.body.length - removed < 2;\n })\n )\n ) {\n return;\n }\n suffixNodes.reverse();\n\n for (const alt of node.body) {\n alt.body = alt.body.slice(0, -suffixNodes.length);\n }\n const newContentsAlt = createAlternative();\n const prefixGroup = createGroup({body: node.body});\n if (!prefixGroup.body.every(alt => !alt.body.length)) {\n newContentsAlt.body.push(prefixGroup);\n }\n newContentsAlt.body.push(...suffixNodes);\n node.body = [newContentsAlt];\n },\n};\n\nexport {\n extractSuffix,\n};\n", "import type {CharacterClassElementNode, CharacterClassRangeNode, CharacterNode} from '../../parser/parse.js';\nimport type {Visitor} from '../../traverser/traverse.js';\nimport {createCharacter, createCharacterClassRange} from '../../parser/parse.js';\n\n/**\nMerge, dedupe, and sort ranges and characters in character classes.\n*/\nconst mergeRanges: Visitor = {\n CharacterClass({node}) {\n if (node.kind !== 'union' || !node.body.length) {\n return;\n }\n\n // ## Since characters and ranges will be deduped by merging, might as well dedupe sets too\n const withoutDupeSets: Array<CharacterClassElementNode> = [];\n for (const el of node.body) {\n if (\n el.type === 'CharacterSet' &&\n withoutDupeSets.some(k => (\n k.type === el.type &&\n k.kind === el.kind &&\n k.negate === el.negate &&\n k.value === el.value\n ))\n ) {\n continue;\n }\n // Keep non-duplicate sets (first instance) and any non-set nodes\n withoutDupeSets.push(el);\n }\n node.body = withoutDupeSets;\n\n // ## Now merge characters and ranges\n const keep: Array<Exclude<CharacterClassElementNode, HandledNode>> = [];\n const candidates: Array<HandledNode> = [];\n for (const el of node.body) {\n if (el.type === 'Character' || el.type === 'CharacterClassRange') {\n candidates.push(el);\n } else {\n keep.push(el);\n }\n }\n if (!candidates.length) {\n return;\n }\n candidates.sort((a, b) => {\n const aValue = a.type === 'Character' ? a.value : a.min.value;\n const bValue = b.type === 'Character' ? b.value : b.min.value;\n return aValue - bValue;\n });\n const merged: Array<HandledNode> = [candidates[0]];\n for (let i = 1; i < candidates.length; i++) {\n const el = candidates[i];\n const last = merged.at(-1)!;\n const elMin = el.type === 'Character' ? el.value : el.min.value;\n const lastMax = last.type === 'Character' ? last.value : last.max.value;\n if (elMin <= lastMax + 1) {\n if (last.type === 'Character' && el.type === 'Character') {\n if (last.value !== el.value) {\n merged[merged.length - 1] = createCharacterClassRange(last, el);\n }\n } else if (last.type === 'Character' && el.type === 'CharacterClassRange') {\n merged[merged.length - 1] = createCharacterClassRange(createCharacter(last.value), el.max);\n } else if (last.type === 'CharacterClassRange' && el.type === 'Character') {\n last.max.value = Math.max(el.value, last.max.value);\n } else if (last.type === 'CharacterClassRange' && el.type === 'CharacterClassRange') {\n last.max.value = Math.max(el.max.value, last.max.value);\n } else {\n throw new Error('Unexpected merge case');\n }\n } else {\n merged.push(el);\n }\n }\n // Replace any ranges with fewer than four (sometimes three) chars with character nodes\n const final = merged.flatMap(el => {\n if (el.type === 'CharacterClassRange') {\n const diff = el.max.value - el.min.value;\n // More aggressively use ranges for U+40000+, since they're rendered in long form like\n // `\\x{40000}` rather than as single-length characters\n if (el.min.value > 0x3FFFF && diff > 1) {\n return el;\n } else if (!diff) {\n return el.min;\n } else if (diff === 1) {\n return [el.min, el.max];\n } else if (diff === 2) {\n // Ex: `a-c` -> `abc`\n return [el.min, createCharacter(el.min.value + 1), el.max];\n }\n // `diff > 2`\n }\n return el;\n });\n // Always replace `body` to avoid skipping things like `[a-a]` -> `[a]` where both classes\n // contain the same number of nodes; means we always sort characters/ranges by their values\n node.body = [\n // Pull chars to the front that don't need to be escaped in first position\n ...final.filter(el => firstPosChar(el)),\n ...final.filter(el => !firstPosChar(el)),\n ...keep\n ];\n },\n};\n\ntype HandledNode = CharacterNode | CharacterClassRangeNode;\n\nfunction firstPosChar(node: HandledNode): boolean {\n // Is `-` or `]`\n return node.type === 'Character' && (node.value === 45 || node.value === 93);\n}\n\nexport {\n mergeRanges,\n};\n", "import type {AlternativeElementNode} from '../../parser/parse.js';\nimport type {Visitor} from '../../traverser/traverse.js';\nimport {isAlternativeContainer, isQuantifiable} from '../../parser/node-utils.js';\nimport {createQuantifier} from '../../parser/parse.js';\nimport {throwIfNullish} from '../../utils.js';\nimport {isAllowedSimpleNode, isNodeEqual} from './extract-prefix.js';\n\n/**\nCombine adjacent alternatives with only an added last node as the difference.\n*/\nconst optionalize: Visitor = {\n '*'({node}) {\n if (!isAlternativeContainer(node) || node.body.length < 2) {\n return;\n }\n const {body} = node;\n const newAlts = [body[0]];\n let lastAltKept = body[0];\n for (let i = 1; i < body.length; i++) {\n // NOTE: Anytime we `continue` we don't keep this alt\n const alt = body[i];\n const altKids = alt.body;\n const prevAltKids = lastAltKept.body;\n const lengthDiff = Math.abs(altKids.length - prevAltKids.length);\n if (!lengthDiff) {\n if (isNodeArrayEqual(altKids, prevAltKids)) {\n continue;\n }\n } else if (lengthDiff === 1) {\n const isPrevAltLonger = !!(prevAltKids.length > altKids.length);\n const altKidsToCompare = isPrevAltLonger ? altKids : altKids.slice(0, -1);\n const prevAltKidsToCompare = isPrevAltLonger ? prevAltKids.slice(0, -1) : prevAltKids;\n if (isNodeArrayEqual(altKidsToCompare, prevAltKidsToCompare)) {\n if (isPrevAltLonger) {\n const prevAltLastKid = throwIfNullish(prevAltKids.at(-1));\n if (isQuantifiable(prevAltLastKid)) {\n // Avoid chaining quantifiers since e.g. chained greedy `?` is `?{0,1}` and can\n // lengthen the pattern\n if (prevAltLastKid.type === 'Quantifier') {\n if (!prevAltLastKid.min) {\n continue;\n } else if (prevAltLastKid.min === 1 && prevAltLastKid.kind !== 'lazy') {\n prevAltLastKid.min = 0;\n continue;\n }\n } else {\n // Put the prev alt's extra last node in a greedy `?`\n prevAltKids.pop();\n prevAltKids.push(createQuantifier('greedy', 0, 1, prevAltLastKid));\n continue;\n }\n }\n } else if (\n // Don't apply if last alt empty since that would lengthen e.g. `(|a|b)` to `(a??|b)`\n prevAltKids.length > 0 ||\n // Unless there are two alts since e.g. `(?:|a)` to `(?:a??)` enables group unwrapping\n body.length === 2\n ) {\n const altLastKid = throwIfNullish(altKids.at(-1));\n if (isQuantifiable(altLastKid)) {\n if (altLastKid.type === 'Quantifier') {\n if (altLastKid.kind === 'possessive') {\n // No-op since possessive quantifiers can't also be lazy\n } else if (altLastKid.min <= 1 && altLastKid.kind === 'lazy') {\n altLastKid.min = 0;\n prevAltKids.push(altLastKid);\n continue;\n } else if (!altLastKid.min && altLastKid.max === 1) {\n altLastKid.kind = 'lazy';\n prevAltKids.push(altLastKid);\n continue;\n }\n } else {\n // Put this alt's extra last node in a lazy `??` then add it to the prev alt\n prevAltKids.push(createQuantifier('lazy', 0, 1, altLastKid));\n continue;\n }\n }\n }\n }\n }\n newAlts.push(alt);\n lastAltKept = alt;\n }\n node.body = newAlts;\n },\n};\n\n// Returns `false` if the arrays contain a node type it doesn't know how to compare, or doesn't\n// want to compare (e.g. with capturing groups, which can't be removed)\nfunction isNodeArrayEqual(a: Array<AlternativeElementNode>, b: Array<AlternativeElementNode>) {\n if (a.length !== b.length) {\n return false;\n }\n for (let i = 0; i < a.length; i++) {\n if (!isAllowedSimpleNode(a[i]) || !isAllowedSimpleNode(b[i])) {\n return false;\n }\n if (!isNodeEqual(a[i], b[i])) {\n return false;\n }\n }\n return true;\n}\n\nexport {\n optionalize,\n};\n", "import type {QuantifierNode} from '../../parser/parse.js';\nimport type {Visitor} from '../../traverser/traverse.js';\nimport {hasOnlyChild} from '../../parser/node-utils.js';\n\n/**\nRemove identified ReDoS vulnerabilities without changing matches.\n*/\nconst preventReDoS: Visitor = {\n Quantifier({node}) {\n // Prevent a common cause of catastrophic backtracking by removing an unneeded nested\n // quantifier from the first alternative of infinitely-quantified groups. Can't remove nested\n // quantifiers from other alternatives or when the first alternative contains more than one\n // node, because that might change the match\n // TODO: It's safe to skip this transform if the quantified group is the last node in the\n // pattern, since there's no backtracking trigger if there's no following node\n const {body, max} = node;\n if (\n max !== Infinity ||\n // Can't operate on capturing groups because that could change the captured value\n body.type !== 'Group' ||\n // No benefit with atomic groups\n body.atomic\n ) {\n return;\n }\n const firstAlt = body.body[0];\n if (!hasOnlyChild(firstAlt, {type: 'Quantifier'})) {\n return;\n }\n const nestedQuantifier = firstAlt.body[0] as QuantifierNode;\n if (\n // No benefit with possessive quantifiers\n nestedQuantifier.kind === 'possessive' ||\n nestedQuantifier.min > 1 ||\n nestedQuantifier.max < 2\n ) {\n return;\n }\n if (!nestedQuantifier.min) {\n // Ex: Change `*` or `{0,2}` to `?`; preserve laziness\n nestedQuantifier.max = 1;\n } else if (nestedQuantifier.min === 1) {\n // Ex: Remove `+` or `{1,2}`\n firstAlt.body[0] = nestedQuantifier.body;\n }\n },\n};\n\nexport {\n preventReDoS,\n};\n", "import type {AlternativeContainerNode, Node} from '../../parser/parse.js';\nimport type {Visitor} from '../../traverser/traverse.js';\n\n/**\nRemove empty noncapturing, atomic, and flag groups, even if quantified.\n*/\nconst removeEmptyGroups: Visitor = {\n AbsenceFunction({node, remove}) {\n if (isQualifiedAndEmpty(node)) {\n remove();\n }\n },\n\n Group({node, remove}) {\n if (isQualifiedAndEmpty(node)) {\n remove();\n }\n },\n\n LookaroundAssertion({node, remove}) {\n if (isQualifiedAndEmpty(node)) {\n remove();\n }\n },\n\n Quantifier({node, remove}) {\n let kid = node.body;\n while (kid.type === 'Quantifier') {\n kid = kid.body;\n }\n if (isQualifiedAndEmpty(kid)) {\n remove();\n }\n },\n};\n\nfunction hasOnlyEmptyAlts(node: AlternativeContainerNode): boolean {\n return node.body.every(alt => !alt.body.length);\n}\n\nfunction isQualifiedAndEmpty(node: Node): boolean {\n switch (node.type) {\n case 'AbsenceFunction':\n return node.kind === 'repeater' && hasOnlyEmptyAlts(node);\n case 'Group':\n return hasOnlyEmptyAlts(node);\n case 'LookaroundAssertion':\n return !node.negate && hasOnlyEmptyAlts(node);\n default:\n return false;\n }\n}\n\nexport {\n removeEmptyGroups,\n};\n", "import type {DirectiveNode, GroupNode} from '../../parser/parse.js';\nimport type {FlagGroupModifiers} from '../../tokenizer/tokenize.js';\nimport type {Visitor} from '../../traverser/traverse.js';\n\n/**\nRemove flags (from top-level and modifiers) that have no effect.\n*/\nconst removeUselessFlags: Visitor = {\n // TODO: Support removing additional flags\n\n Flags({node}) {\n // Effects of flag x are already applied during parsing\n node.extended = false;\n // Text segment handling uses grapheme mode by default, so it doesn't need to be set\n if (node.textSegmentMode === 'grapheme') {\n node.textSegmentMode = null;\n }\n },\n\n Directive({node, remove}) {\n if (node.kind !== 'flags') {\n return;\n }\n removeFlagX(node);\n if (removeEmptyFlagsObj(node)) {\n remove();\n }\n },\n\n Group({node}) {\n if (!node.flags) {\n return;\n }\n removeFlagX(node);\n removeEmptyFlagsObj(node);\n },\n};\n\nfunction removeEmptyFlagsObj(node: DirectiveNode | GroupNode): boolean {\n const {flags} = node;\n if (flags && !flags.enable && !flags.disable) {\n delete node.flags;\n return true;\n }\n return false;\n}\n\nfunction removeFlagX({flags}: DirectiveNode | GroupNode) {\n if (!flags) {\n throw new Error('Expected flags');\n }\n flags.enable && delete flags.enable.extended;\n flags.disable && delete flags.disable.extended;\n cleanupFlagsObj(flags);\n}\n\nfunction cleanupFlagsObj(flags: FlagGroupModifiers) {\n flags.enable && !Object.keys(flags.enable).length && delete flags.enable;\n flags.disable && !Object.keys(flags.disable).length && delete flags.disable;\n}\n\nexport {\n removeUselessFlags,\n};\n", "import type {Visitor} from '../../traverser/traverse.js';\nimport {createLookaroundAssertion} from '../../parser/parse.js';\n\n/**\nCleanup callout arguments, removing redundant commas, leading zeros, and empty braces.\n*/\nconst simplifyCallouts: Visitor = {\n NamedCallout({node, replaceWith}) {\n const {arguments: args, kind} = node;\n\n // Special case: `(*FAIL)` -> `(?!)`\n if (kind === 'fail') {\n replaceWith(createLookaroundAssertion({negate: true}));\n return;\n }\n\n if (!args) {\n return;\n }\n const newArgs: Array<string | number> = args.\n filter(arg => arg !== '').\n // TODO: If supporting custom callout names in the future, add `kind !== 'custom'` to this\n // condition, since custom named callouts might treat e.g. `+05` as a string\n map(arg => (typeof arg === 'string' && /^[+-]?\\d+$/.test(arg)) ? +arg : arg);\n node.arguments = newArgs.length ? newArgs : null;\n },\n};\n\nexport {\n simplifyCallouts,\n};\n", "import type {CharacterClassNode} from '../../parser/parse.js';\nimport type {Visitor} from '../../traverser/traverse.js';\nimport {hasOnlyChild} from '../../parser/node-utils.js';\n\n/**\nUnnest character classes when possible.\nSee also `unwrapNegationWrappers`.\n*/\nconst unnestUselessClasses: Visitor = {\n CharacterClass({node, parent, replaceWith, replaceWithMultiple}) {\n const {body, kind, negate} = node;\n if (\n // Don't use this to unwrap outermost classes; see `unwrapUselessClasses` for that\n parent.type !== 'CharacterClass' ||\n kind !== 'union' ||\n !body.length\n ) {\n return;\n }\n const firstEl = body[0];\n // Special case to unnest classes that are an only-kid of their parent, since it might flip\n // `negate` on the parent; ex:\n // `[[a]]` -> `[a]`; `[[^a]]` -> `[^a]`; `[^[a]]` -> `[^a]`; `[^[^a]]` -> `[a]`\n if (hasOnlyChild(parent, {\n type: 'CharacterClass',\n kind: 'union',\n })) {\n parent.negate = parent.negate !== negate;\n replaceWithMultiple(body, {traverse: true});\n return;\n }\n // Remainder of options apply only if the class is non-negated\n if (negate) {\n return;\n }\n // Unnest all kids into a union class\n if (parent.kind === 'union') {\n replaceWithMultiple(body, {traverse: true});\n // Can unnest any one kid into an intersection class\n // TODO: After supporting `format` for classes (see <github.com/slevithan/oniguruma-parser/issues/1>),\n // can visually unnest any number of kids into intersection by flipping this class's `format`\n // from `'explicit'` to `'implicit'`, rather than replacing it\n } else if (hasOnlyChild(node)) {\n replaceWith(firstEl, {traverse: true});\n }\n },\n};\n\nexport {\n unnestUselessClasses,\n};\n", "import type {Visitor} from '../../traverser/traverse.js';\nimport {createCharacterSet} from '../../parser/parse.js';\n\n/**\nUnwrap negated classes used to negate an individual character set.\nAllows independently controlling this behavior, and avoids logic duplication in\n`unwrapUselessClasses` and `unnestUselessClasses`.\n*/\nconst unwrapNegationWrappers: Visitor = {\n CharacterClass({node, parent, replaceWith}) {\n const {body, kind, negate} = node;\n if (!negate || kind !== 'union' || body.length !== 1) {\n return;\n }\n const kid = body[0];\n if (kid.type === 'CharacterSet') {\n kid.negate = !kid.negate;\n // Might unnest into a class or unwrap into a non-class. All character set kinds valid in a\n // class are also valid outside of a class, though the inverse isn't true\n replaceWith(kid);\n } else if (\n parent.type !== 'CharacterClass' &&\n kid.type === 'Character' &&\n kid.value === 10 // '\\n'\n ) {\n if (parent.type === 'Quantifier' && parent.kind !== 'lazy') {\n // Avoid introducing a trigger for a `vscode-oniguruma` bug (v2.0.1 tested); see\n // <github.com/kkos/oniguruma/issues/347>\n return;\n }\n // `[^\\n]` -> `\\N`; can only use `\\N` if not in a class\n replaceWith(createCharacterSet('newline', {negate: true}));\n }\n },\n};\n\nexport {\n unwrapNegationWrappers,\n};\n", "import type {Visitor} from '../../traverser/traverse.js';\n\n/**\nUnwrap outermost non-negated character classes containing a single character or character set.\nSee also `unwrapNegationWrappers`.\n*/\nconst unwrapUselessClasses: Visitor = {\n CharacterClass({node, parent, replaceWith}) {\n const {body, kind, negate} = node;\n const kid = body[0];\n if (\n parent.type === 'CharacterClass' ||\n negate ||\n kind !== 'union' ||\n body.length !== 1 ||\n (kid.type !== 'Character' && kid.type !== 'CharacterSet')\n ) {\n return;\n }\n replaceWith(kid, {traverse: true});\n },\n};\n\nexport {\n unwrapUselessClasses,\n};\n", "import type {AlternativeContainerNode, AlternativeElementNode, GroupNode, Node, QuantifiableNode} from '../../parser/parse.js';\nimport type {Visitor} from '../../traverser/traverse.js';\nimport {isAlternativeContainer, isQuantifiable} from '../../parser/node-utils.js';\n\n/**\nUnwrap nonbeneficial noncapturing and atomic groups.\n*/\nconst unwrapUselessGroups: Visitor = {\n // Unwrap kid from the outside in, since the traverser doesn't support stepping multiple levels\n // up the tree\n '*'({node}) {\n if (!isAlternativeContainer(node)) {\n return;\n }\n if (hasMultiAltNoncapturingGroupOnlyChild(node)) {\n // Isn't needed in some cases like if `node` is itself a basic noncapturing group (since\n // there's already handling in `Group`), but it doesn't hurt to handle it here instead\n node.body = (node.body[0].body[0] as GroupNode).body;\n }\n },\n\n Group({node, parent, replaceWithMultiple}) {\n const {atomic, body, flags} = node;\n const firstAltEls = body[0].body;\n if (body.length > 1 || parent.type === 'Quantifier') {\n return;\n }\n let unwrap = false;\n if (atomic) {\n if (firstAltEls.every(({type}: AlternativeElementNode) => atomicTypes.has(type))) {\n unwrap = true;\n }\n // For flag groups, rely on `removeUselessFlags`, after which the group can be unwrapped in a\n // subsequent pass\n } else if (!flags) {\n unwrap = true;\n }\n if (unwrap) {\n replaceWithMultiple(firstAltEls, {traverse: true});\n }\n },\n\n // Unwrap quantified groups that contain a single quantifiable node\n Quantifier({node}) {\n if (node.body.type !== 'Group') {\n return;\n }\n const quantifiedGroup = node.body;\n if (quantifiedGroup.body.length > 1) {\n return;\n }\n const groupKids = quantifiedGroup.body[0].body;\n if (groupKids.length !== 1) {\n return;\n }\n const candidate = groupKids[0];\n if (\n !isQuantifiable(candidate) ||\n // Some atomic types have already been ruled out as not quantifiable\n (quantifiedGroup.atomic && !atomicTypes.has(candidate.type)) ||\n quantifiedGroup.flags\n ) {\n return;\n }\n // Make the only child of the group the new `body` of the quantifier\n node.body = candidate;\n },\n};\n\nconst atomicTypes = new Set<Node['type']>([\n 'Assertion',\n 'Backreference',\n 'Character',\n 'CharacterClass',\n 'CharacterSet',\n 'Directive',\n 'NamedCallout',\n]);\n\nfunction hasMultiAltNoncapturingGroupOnlyChild({body}: AlternativeContainerNode): boolean {\n const firstAltEls = body[0].body;\n return (\n body.length === 1 &&\n firstAltEls.length === 1 &&\n firstAltEls[0].type === 'Group' &&\n !firstAltEls[0].atomic &&\n !firstAltEls[0].flags &&\n firstAltEls[0].body.length > 1\n );\n}\n\nexport {\n unwrapUselessGroups,\n};\n", "import type {CharacterSetNode, Node} from '../../parser/parse.js';\nimport type {Visitor} from '../../traverser/traverse.js';\nimport {createCharacterSet} from '../../parser/parse.js';\nimport {cpOf} from '../../utils.js';\n\n/**\nUse shorthands (`\\d`, `\\h`, `\\s`, etc.) when possible.\n- `\\d` from `\\p{Decimal_Number}`, `\\p{Nd}`, `\\p{digit}`, `[[:digit:]]`\n- `\\h` from `\\p{ASCII_Hex_Digit}`, `\\p{AHex}`, `\\p{xdigit}`, `[[:xdigit:]]`, `[0-9A-Fa-f]`\n- `\\s` from `\\p{White_Space}`, `\\p{WSpace}`, `\\p{space}`, `[[:space:]]`\n- `\\w` from `[\\p{L}\\p{M}\\p{N}\\p{Pc}]` - Not the same as POSIX `\\p{word}`, `[[:word:]]`!\n- `\\O` from `\\p{Any}` if not in class\nSee also `useUnicodeProps`.\n*/\nconst useShorthands: Visitor = {\n CharacterSet({node, parent, root, replaceWith}) {\n const {kind, negate, value} = node;\n let newNode: CharacterSetNode | null = null;\n if (\n ( kind === 'property' &&\n (value === 'Decimal_Number' || value === 'Nd') &&\n // TODO: Also check local context when the parser supports these flags on pattern modifiers\n !root.flags.digitIsAscii &&\n !root.flags.posixIsAscii\n ) ||\n ( kind === 'posix' &&\n value === 'digit'\n )\n ) {\n newNode = createCharacterSet('digit', {negate});\n } else if (\n ( kind === 'property' &&\n (value === 'ASCII_Hex_Digit' || value === 'AHex')\n ) ||\n ( kind === 'posix' &&\n value === 'xdigit'\n )\n ) {\n newNode = createCharacterSet('hex', {negate});\n } else if (\n ( kind === 'property' &&\n (value === 'White_Space' || value === 'WSpace') &&\n // TODO: Also check local context when the parser supports these flags on pattern modifiers\n !root.flags.spaceIsAscii &&\n !root.flags.posixIsAscii\n ) ||\n ( kind === 'posix' &&\n value === 'space'\n )\n ) {\n newNode = createCharacterSet('space', {negate});\n } else if (\n parent.type !== 'CharacterClass' &&\n kind === 'property' &&\n !negate &&\n value === 'Any'\n ) {\n newNode = createCharacterSet('any');\n }\n if (newNode) {\n replaceWith(newNode);\n }\n },\n\n CharacterClass({node, root}) {\n if (node.kind !== 'union') {\n return;\n }\n const has = {\n rangeDigit0To9: false,\n rangeAToFLower: false,\n rangeAToFUpper: false,\n unicodeL: false,\n unicodeM: false,\n unicodeN: false,\n unicodePc: false,\n };\n for (const kid of node.body) {\n if (kid.type === 'CharacterClassRange') {\n has.rangeDigit0To9 ||= isRange(kid, cp.n0, cp.n9);\n has.rangeAToFLower ||= isRange(kid, cp.a, cp.f);\n has.rangeAToFUpper ||= isRange(kid, cp.A, cp.F);\n } else if (kid.type === 'CharacterSet') {\n has.unicodeL ||= isUnicode(kid, 'L');\n has.unicodeM ||= isUnicode(kid, 'M');\n has.unicodeN ||= isUnicode(kid, 'N');\n has.unicodePc ||= isUnicode(kid, 'Pc', {includeSupercategories: true});\n }\n }\n // TODO: Only need one of A-F or a-f if flag i is active in local context; relies on\n // <github.com/slevithan/oniguruma-parser/issues/14>\n if (has.rangeDigit0To9 && has.rangeAToFUpper && has.rangeAToFLower) {\n node.body = node.body.filter(kid => !(\n isRange(kid, cp.n0, cp.n9) || isRange(kid, cp.a, cp.f) || isRange(kid, cp.A, cp.F)\n ));\n node.body.push(createCharacterSet('hex'));\n }\n if (\n (has.unicodeL && has.unicodeM && has.unicodeN && has.unicodePc) &&\n // TODO: Also check local context when the parser supports these flags on pattern modifiers\n !root.flags.wordIsAscii &&\n !root.flags.posixIsAscii\n ) {\n node.body = node.body.filter(kid => !isUnicode(kid, ['L', 'M', 'N', 'Pc'], {\n includeSubcategories: true,\n }));\n node.body.push(createCharacterSet('word'));\n }\n },\n};\n\nconst cp = {\n n0: cpOf('0'),\n n9: cpOf('9'),\n A: cpOf('A'),\n F: cpOf('F'),\n a: cpOf('a'),\n f: cpOf('f'),\n};\n\nfunction isRange(node: Node, min: number, max: number): boolean {\n return (\n node.type === 'CharacterClassRange' &&\n node.min.value === min &&\n node.max.value === max\n );\n}\n\nfunction isUnicode(\n node: Node,\n value: string | Array<string>,\n options: {includeSupercategories?: boolean; includeSubcategories?: boolean} = {}\n): boolean {\n if (\n node.type !== 'CharacterSet' ||\n node.kind !== 'property' ||\n node.negate\n ) {\n return false;\n }\n const names = Array.isArray(value) ? value : [value];\n const expanded: Array<string> = [];\n for (const v of names) {\n expanded.push(v);\n const supercategoryFullName = categories[v as SupercategoryShortName]?.full;\n const supercategoryShortName = supercategories[v as SubcategoryShortName];\n const subcategoryShortNames = categories[v as SupercategoryShortName]?.sub;\n if (supercategoryFullName) {\n expanded.push(supercategoryFullName);\n }\n if (options.includeSupercategories && supercategoryShortName) {\n expanded.push(supercategoryShortName);\n expanded.push(categories[supercategoryShortName].full);\n }\n if (options.includeSubcategories && subcategoryShortNames) {\n expanded.push(...subcategoryShortNames);\n }\n }\n return expanded.includes(node.value);\n}\n\ntype SupercategoryShortName = 'L' | 'M' | 'N' | 'P';\ntype SubcategoryShortName = typeof subL[number] | typeof subM[number] | typeof subN[number] | typeof subP[number];\nconst subL = ['Ll', 'Lm', 'Lo', 'Lt', 'Lu'] as const;\nconst subM = ['Mc', 'Me', 'Mn'] as const;\nconst subN = ['Nd', 'Nl', 'No'] as const;\nconst subP = ['Pc', 'Pd', 'Pe', 'Pf', 'Pi', 'Po', 'Ps'] as const;\nconst categories: {[key in SupercategoryShortName]: {full: string; sub: ReadonlyArray<SubcategoryShortName>}} = {\n L: {full: 'Letter', sub: subL},\n M: {full: 'Mark', sub: subM},\n N: {full: 'Number', sub: subN},\n P: {full: 'Punctuation', sub: subP},\n};\nconst supercategories = {} as {[key in SubcategoryShortName]: SupercategoryShortName};\nfor (const key of Object.keys(categories) as Array<SupercategoryShortName>) {\n for (const sub of categories[key].sub) {\n supercategories[sub] = key;\n }\n}\n\nexport {\n isRange,\n useShorthands,\n};\n", "import type {Visitor} from '../../traverser/traverse.js';\n\n/**\nUse Unicode property aliases.\n*/\nconst useUnicodeAliases: Visitor = {\n CharacterSet({node}) {\n if (node.kind !== 'property') {\n return;\n }\n const alias = OnigUnicodeAliasMap.get(node.value);\n if (alias) {\n node.value = alias;\n }\n },\n};\n\n// Oniguruma doesn't include all Unicode property aliases; some are treated as POSIX class names\n// and are excluded (see `PosixClassNames`)\nconst OnigUnicodeAliasMap = /* @__PURE__ */ new Map([\n // ## General category aliases\n ['Other', 'C'],\n ['Control', 'Cc'],\n ['Format', 'Cf'],\n ['Unassigned', 'Cn'],\n ['Private_Use', 'Co'],\n ['Surrogate', 'Cs'],\n ['Letter', 'L'],\n ['Cased_Letter', 'LC'],\n ['Lowercase_Letter', 'Ll'],\n ['Modifier_Letter', 'Lm'],\n ['Other_Letter', 'Lo'],\n ['Titlecase_Letter', 'Lt'],\n ['Uppercase_Letter', 'Lu'],\n ['Mark', 'M'],\n ['Combining_Mark', 'M'],\n ['Spacing_Mark', 'Mc'],\n ['Enclosing_Mark', 'Me'],\n ['Nonspacing_Mark', 'Mn'],\n ['Number', 'N'],\n ['Decimal_Number', 'Nd'],\n ['Letter_Number', 'Nl'],\n ['Other_Number', 'No'],\n ['Punctuation', 'P'],\n // `punct` is also a POSIX class name, but it's included in the Oniguruma property list since the\n // POSIX class version uses a different value starting with Oniguruma 6.9.9\n ['punct', 'P'],\n ['Connector_Punctuation', 'Pc'],\n ['Dash_Punctuation', 'Pd'],\n ['Close_Punctuation', 'Pe'],\n ['Final_Punctuation', 'Pf'],\n ['Initial_Punctuation', 'Pi'],\n ['Other_Punctuation', 'Po'],\n ['Open_Punctuation', 'Ps'],\n ['Symbol', 'S'],\n ['Currency_Symbol', 'Sc'],\n ['Modifier_Symbol', 'Sk'],\n ['Math_Symbol', 'Sm'],\n ['Other_Symbol', 'So'],\n ['Separator', 'Z'],\n ['Line_Separator', 'Zl'],\n ['Paragraph_Separator', 'Zp'],\n ['Space_Separator', 'Zs'],\n\n // ## Binary property aliases\n ['ASCII_Hex_Digit', 'AHex'],\n ['Bidi_Control', 'Bidi_C'],\n ['Case_Ignorable', 'CI'],\n ['Changes_When_Casefolded', 'CWCF'],\n ['Changes_When_Casemapped', 'CWCM'],\n ['Changes_When_Lowercased', 'CWL'],\n ['Changes_When_Titlecased', 'CWT'],\n ['Changes_When_Uppercased', 'CWU'],\n ['Default_Ignorable_Code_Point', 'DI'],\n ['Deprecated', 'Dep'],\n ['Diacritic', 'Dia'],\n ['Emoji_Component', 'EComp'],\n ['Emoji_Modifier', 'EMod'],\n ['Emoji_Modifier_Base', 'EBase'],\n ['Emoji_Presentation', 'EPres'],\n ['Extended_Pictographic', 'ExtPict'],\n ['Extender', 'Ext'],\n ['Grapheme_Base', 'Gr_Base'],\n ['Grapheme_Extend', 'Gr_Ext'],\n ['Grapheme_Link', 'Gr_Link'],\n ['Hex_Digit', 'Hex'],\n ['IDS_Binary_Operator', 'IDSB'],\n ['IDS_Trinary_Operator', 'IDST'],\n ['IDS_Unary_Operator', 'IDSU'],\n ['ID_Continue', 'IDC'],\n ['ID_Start', 'IDS'],\n ['Ideographic', 'Ideo'],\n ['Join_Control', 'Join_C'],\n ['Logical_Order_Exception', 'LOE'],\n ['Noncharacter_Code_Point', 'NChar'],\n ['Other_Alphabetic', 'OAlpha'],\n ['Other_Default_Ignorable_Code_Point', 'ODI'],\n ['Other_Grapheme_Extend', 'OGr_Ext'],\n ['Other_ID_Continue', 'OIDC'],\n ['Other_ID_Start', 'OIDS'],\n ['Other_Lowercase', 'OLower'],\n ['Other_Math', 'OMath'],\n ['Other_Uppercase', 'OUpper'],\n ['Pattern_Syntax', 'Pat_Syn'],\n ['Pattern_White_Space', 'Pat_WS'],\n ['Prepended_Concatenation_Mark', 'PCM'],\n ['Quotation_Mark', 'QMark'],\n ['Regional_Indicator', 'RI'],\n ['Sentence_Terminal', 'STerm'],\n ['Soft_Dotted', 'SD'],\n ['Terminal_Punctuation', 'Term'],\n ['Unified_Ideograph', 'UIdeo'],\n ['Variation_Selector', 'VS'],\n ['White_Space', 'WSpace'],\n ['XID_Continue', 'XIDC'],\n ['XID_Start', 'XIDS'],\n\n // ## Script aliases\n // TODO: Add script aliases\n]);\n\nexport {\n useUnicodeAliases,\n};\n", "import type {CharacterSetNode} from '../../parser/parse.js';\nimport type {Visitor} from '../../traverser/traverse.js';\nimport {createUnicodeProperty} from '../../parser/parse.js';\nimport {isRange} from './use-shorthands.js';\n\n/**\nUse Unicode properties when possible.\n- `\\p{Any}` from `[\\0-\\x{10FFFF}]`\n- `\\p{Cc}` from POSIX `\\p{cntrl}`, `[[:cntrl:]]`\nSee also `useShorthands`.\n*/\nconst useUnicodeProps: Visitor = {\n CharacterSet({node, root, replaceWith}) {\n const {kind, negate, value} = node;\n let newNode: CharacterSetNode | null = null;\n if (\n kind === 'posix' &&\n value === 'cntrl' &&\n // TODO: Also check local context when the parser supports this flag on pattern modifiers\n !root.flags.posixIsAscii\n ) {\n newNode = createUnicodeProperty('Cc', {negate});\n }\n if (newNode) {\n replaceWith(newNode);\n }\n },\n\n CharacterClassRange({node, replaceWith}) {\n if (isRange(node, 0, 0x10FFFF)) {\n replaceWith(createUnicodeProperty('Any'));\n }\n },\n};\n\nexport {\n useUnicodeProps,\n};\n", "import type {Visitor} from '../traverser/traverse.js';\nimport {alternationToClass} from './transforms/alternation-to-class.js';\nimport {exposeAnchors} from './transforms/expose-anchors.js';\nimport {extractPrefix} from './transforms/extract-prefix.js';\nimport {extractPrefix2} from './transforms/extract-prefix-2.js';\nimport {extractSuffix} from './transforms/extract-suffix.js';\nimport {mergeRanges} from './transforms/merge-ranges.js';\nimport {optionalize} from './transforms/optionalize.js';\nimport {preventReDoS} from './transforms/prevent-redos.js';\nimport {removeEmptyGroups} from './transforms/remove-empty-groups.js';\nimport {removeUselessFlags} from './transforms/remove-useless-flags.js';\nimport {simplifyCallouts} from './transforms/simplify-callouts.js';\nimport {unnestUselessClasses} from './transforms/unnest-useless-classes.js';\nimport {unwrapNegationWrappers} from './transforms/unwrap-negation-wrappers.js';\nimport {unwrapUselessClasses} from './transforms/unwrap-useless-classes.js';\nimport {unwrapUselessGroups} from './transforms/unwrap-useless-groups.js';\nimport {useShorthands} from './transforms/use-shorthands.js';\nimport {useUnicodeAliases} from './transforms/use-unicode-aliases.js';\nimport {useUnicodeProps} from './transforms/use-unicode-props.js';\n\ntype OptimizationName =\n 'alternationToClass' |\n 'exposeAnchors' |\n 'extractPrefix' |\n 'extractPrefix2' |\n 'extractSuffix' |\n 'mergeRanges' |\n 'optionalize' |\n 'preventReDoS' |\n 'removeEmptyGroups' |\n 'removeUselessFlags' |\n 'simplifyCallouts' |\n 'unnestUselessClasses' |\n 'unwrapNegationWrappers' |\n 'unwrapUselessClasses' |\n 'unwrapUselessGroups' |\n 'useShorthands' |\n 'useUnicodeAliases' |\n 'useUnicodeProps';\n\nconst optimizations = new Map<OptimizationName, Visitor>([\n ['alternationToClass', alternationToClass],\n ['exposeAnchors', exposeAnchors],\n ['extractPrefix', extractPrefix],\n ['extractPrefix2', extractPrefix2],\n ['extractSuffix', extractSuffix],\n ['optionalize', optionalize],\n ['preventReDoS', preventReDoS],\n ['removeEmptyGroups', removeEmptyGroups],\n ['removeUselessFlags', removeUselessFlags],\n ['simplifyCallouts', simplifyCallouts],\n ['unnestUselessClasses', unnestUselessClasses],\n ['unwrapNegationWrappers', unwrapNegationWrappers],\n ['unwrapUselessClasses', unwrapUselessClasses],\n ['unwrapUselessGroups', unwrapUselessGroups],\n ['useShorthands', useShorthands],\n ['useUnicodeAliases', useUnicodeAliases],\n ['useUnicodeProps', useUnicodeProps],\n // Run last to let shorthands, etc. be found from ranges first\n ['mergeRanges', mergeRanges],\n]);\n\nexport {\n type OptimizationName,\n optimizations,\n};\n", "import type {OnigurumaRegex} from '../generator/generate.js';\nimport type {OptimizationName} from './optimizations.js';\nimport {generate} from '../generator/generate.js';\nimport {parse} from '../parser/parse.js';\nimport {traverse} from '../traverser/traverse.js';\nimport {OnigUnicodePropertyMap} from '../unicode.js';\nimport {optimizations} from './optimizations.js';\n\ntype OptimizationStates = {[key in OptimizationName]: boolean};\n\ntype OptimizeOptions = {\n flags?: string;\n override?: Partial<OptimizationStates>;\n rules?: {\n allowOrphanBackrefs?: boolean;\n captureGroup?: boolean;\n singleline?: boolean;\n };\n};\n\n/**\nReturns an optimized Oniguruma pattern and flags.\n*/\nfunction optimize(pattern: string, options?: OptimizeOptions): OnigurumaRegex {\n const opts = getOptions(options);\n const ast = parse(pattern, {\n flags: opts.flags,\n rules: {\n captureGroup: opts.rules.captureGroup,\n singleline: opts.rules.singleline,\n },\n skipBackrefValidation: opts.rules.allowOrphanBackrefs,\n unicodePropertyMap: OnigUnicodePropertyMap,\n });\n const active = Object.assign(getOptionalOptimizations(), opts.override);\n for (const key of optimizations.keys()) {\n if (!active[key]) {\n delete active[key];\n }\n }\n const names = Object.keys(active) as Array<OptimizationName>;\n let optimized: OnigurumaRegex = {pattern, flags: opts.flags};\n let counter = 0;\n do {\n if (++counter > 200) {\n throw new Error('Optimization exceeded maximum iterations; possible infinite loop');\n }\n pattern = optimized.pattern;\n for (const name of names) {\n traverse(ast, optimizations.get(name)!);\n }\n optimized = generate(ast);\n } while (\n // Continue until no further optimization progress is made\n pattern !== optimized.pattern\n );\n return optimized;\n}\n\nfunction getOptions(options: OptimizeOptions = {}): Required<OptimizeOptions> {\n return {\n // Oniguruma flags; a string with `imxDPSW` in any order (all optional). Oniguruma's `m` is\n // equivalent to JavaScript's `s` (`dotAll`).\n flags: '',\n // Enable or disable individual, optional optimizations to change their default state.\n override: {},\n ...options,\n rules: {\n // Useful with TextMate grammars that merge backreferences across patterns. Maps to the\n // parser's `skipBackrefValidation` option, but placed/named differently to match its use\n // in `oniguruma-to-es`, which offers it for the same purpose that the optimizer does.\n allowOrphanBackrefs: false,\n // Allow unnamed captures and numbered calls (backreferences and subroutines) when using\n // named capture. This is Oniguruma option `ONIG_OPTION_CAPTURE_GROUP`; on by default in\n // `vscode-oniguruma`.\n captureGroup: false,\n // `^` as `\\A`; `$` as`\\Z`. This is Oniguruma option `ONIG_OPTION_SINGLELINE`.\n singleline: false,\n ...options.rules,\n },\n };\n}\n\nfunction getOptionalOptimizations(options: {disable?: boolean} = {}): OptimizationStates {\n const obj = {} as OptimizationStates;\n for (const key of optimizations.keys()) {\n obj[key] = !options.disable;\n }\n return obj;\n}\n\nexport {\n type OptimizeOptions,\n getOptionalOptimizations,\n optimize,\n};\n"],
|
|
5
|
+
"mappings": "idAAA,IAAAA,GAAA,GAAAC,GAAAD,GAAA,4BAAAE,EAAA,aAAAC,EAAA,6BAAAC,GAAA,aAAAC,GAAA,UAAAC,EAAA,mBAAAC,GAAA,aAAAC,ICAA,SAASC,EAAKC,EAAsB,CAElC,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,CAAG,CAC1B,OAEEJ,IAAYY,EAAU,SAExB,OAAOA,CACT,CAEA,SAAST,GAAWF,EAA2B,CAAC,EAA8B,CAC5E,MAAO,CAGL,MAAO,GAEP,SAAU,CAAC,EACX,GAAGA,EACH,MAAO,CAIL,oBAAqB,GAIrB,aAAc,GAEd,WAAY,GACZ,GAAGA,EAAQ,KACb,CACF,CACF,CAEA,SAASO,GAAyBP,EAA+B,CAAC,EAAuB,CACvF,IAAMgB,EAAM,CAAC,EACb,QAAWR,KAAOC,GAAc,KAAK,EACnCO,EAAIR,CAAG,EAAI,CAACR,EAAQ,QAEtB,OAAOgB,CACT",
|
|
6
|
+
"names": ["bundle_exports", "__export", "OnigUnicodePropertyMap", "generate", "getOptionalOptimizations", "optimize", "parse", "toOnigurumaAst", "traverse", "cpOf", "char", "getOrInsert", "map", "key", "defaultValue", "PosixClassNames", "r", "throwIfNullish", "value", "msg", "generate", "ast", "parentStack", "lastNode", "state", "gen", "node", "getFirstChild", "result", "throwIfNullish", "generator", "getLastChild", "body", "kind", "_", "negate", "r", "ref", "name", "inCharClass", "parent", "value", "CharCodeEscapeMap", "escDigit", "isDigitCharCode", "char", "escape", "isDirectClassKid", "isFirst", "isLast", "CharClassEscapeChars", "BaseEscapeChars", "genClass", "min", "max", "flags", "enable", "disable", "enableStr", "getFlagsStr", "disableStr", "atomic", "contents", "getGroupPrefix", "tag", "args", "kidIsGreedyQuantifier", "parentIsPossessivePlus", "forcedInterval", "base", "isSymbolQuantifierCandidate", "isIntervalQuantifier", "suffix", "ignoreCase", "dotAll", "extended", "digitIsAscii", "posixIsAscii", "spaceIsAscii", "wordIsAscii", "textSegmentMode", "mods", "charClassOpenPattern", "r", "sharedEscapesPattern", "quantifierRe", "tokenRe", "charClassTokenRe", "tokenize", "pattern", "options", "opts", "flagProperties", "getFlagProperties", "xStack", "context", "isXOn", "tokens", "match", "result", "getTokenWithDetails", "potentialUnnamedCaptureTokens", "numNamedAndOptInUnnamedCaptures", "t", "i", "numCaptures", "splitEscapedNumberToken", "m", "lastIndex", "m0", "m1", "getAllTokensForCharClass", "createAssertionToken", "createSubroutineToken", "createBackreferenceToken", "createDirectiveToken", "createCharacterSetToken", "tokenizeSharedEscape", "tokenizeNamedCallout", "tokenizeFlagModifier", "createGroupOpenToken", "createGroupCloseToken", "end", "re", "kind", "createAlternatorToken", "splitQuantifierMatch", "createCharacterToken", "cpOf", "opener", "createCharacterClassOpenToken", "numCharClassesOpen", "createCharacterClassCloseToken", "tokenizeAnyTokenWithinCharClass", "raw", "posix", "PosixClassNames", "createCharacterClassHyphenToken", "createCharacterClassIntersectorToken", "inCharClass", "char1", "tokenizeControlCharacter", "tokenizeShorthand", "tokenizeUnicodeProperty", "bytes", "hex", "decoded", "encoder", "char", "byte", "getValidatedHexCharCode", "EscapeCharCodes", "createEscapedNumberToken", "value", "negate", "throwIfNullish", "createNamedCalloutToken", "tag", "args", "createQuantifierToken", "min", "max", "CalloutNames", "on", "off", "enabledFlags", "getFlagGroupSwitches", "disabledFlags", "flagChanges", "callout", "name", "argsArray", "arg", "arg0", "arg1", "arg2", "tokenizeQuantifier", "minStr", "maxStr", "limit", "lower", "p", "neg", "flags", "obj", "token", "matches", "str", "withG", "parts", "hasOnlyChild", "node", "props", "kid", "key", "isAlternativeContainer", "alternativeContainerTypes", "isQuantifiable", "quantifiableTypes", "parse", "pattern", "options", "opts", "tokenized", "tokenize", "walk", "parent", "state", "token", "context", "createAlternative", "parseAssertion", "parseBackreference", "createCharacter", "parseCharacterClassHyphen", "parseCharacterClassOpen", "parseCharacterSet", "createDirective", "parseGroupOpen", "createNamedCallout", "parseQuantifier", "parseSubroutine", "ast", "createRegex", "createFlags", "top", "node", "capturingGroups", "hasNumberedRef", "namedGroupsByName", "subroutines", "ref", "r", "kind", "createAssertion", "throwIfNullish", "raw", "hasKWrapper", "fromNum", "num", "isRelative", "numCapturesToLeft", "orphan", "createBackreference", "numberedRef", "_", "tokens", "prevSiblingNode", "nextToken", "nextNode", "createCharacterClassRange", "cpOf", "negate", "intersections", "createCharacterClass", "ccFirstToken", "throwIfUnclosedCharacterClass", "cc", "value", "normalizeUnknownPropertyNames", "skipPropertyNameValidation", "unicodePropertyMap", "normalized", "slug", "PosixClassNames", "createUnicodeProperty", "createPosixClass", "createCharacterSet", "skipLookbehindValidation", "createByGroupKind", "isThisAbsenceFunction", "isThisLookbehind", "isLookbehind", "isThisNegLookbehind", "getOrInsert", "throwIfUnclosedGroup", "alt", "child", "msg", "isLookahead", "min", "max", "quantifiedNode", "isQuantifiable", "createQuantifier", "createSubroutine", "createAbsenceFunction", "getBodyForAlternativeContainer", "getBodyForElementContainer", "createCapturingGroup", "number", "isValidGroupName", "charCode", "hex", "flags", "createGroup", "atomic", "createLookaroundAssertion", "tag", "args", "name", "body", "normalizeUnicodePropertyName", "m", "first", "OnigUnicodePropertyMap", "p", "slug", "toOnigurumaAst", "pattern", "options", "parse", "OnigUnicodePropertyMap", "traverse", "root", "visitor", "state", "traverseArray", "array", "parent", "i", "keyShift", "traverseNode", "node", "key", "container", "skipTraversingKidsOfPath", "path", "arrayContainer", "numericKey", "shifted", "newNode", "options", "traverseNew", "throwIfNullish", "newNodes", "keyShiftInLoop", "type", "anyTypeVisitor", "thisTypeVisitor", "enterAllFn", "enterThisFn", "value", "alternationToClass", "node", "isAlternativeContainer", "newAlts", "ccNodes", "alt", "kid", "universalCharacterSetKinds", "createAlternativeWithCombinedNodes", "nodes", "createAlternative", "createCharacterClass", "exposeAnchors", "node", "parent", "replaceWithMultiple", "firstAlt", "firstAltEls", "leading", "trailing", "hasLeadingAssertion", "hasTrailingAssertion", "clippedStart", "clippedEnd", "nodes", "extractPrefix", "node", "isAlternativeContainer", "prefixNodes", "passedSharedPrefix", "i", "alt", "kid", "isAllowedSimpleNode", "isNodeEqual", "newContentsAlt", "createAlternative", "suffixGroup", "createGroup", "a", "b", "extractPrefix2", "node", "isAlternativeContainer", "numDiffPrefixes", "numAlts", "prefixAltElsByI", "alt", "prefixNodesByI", "prefixIsFinishedByI", "longestOf", "els", "nodeI", "prefixI", "nextNode", "isAllowedSimpleNode", "isPrefixNodeShared", "nodes", "strippedAlts", "counter", "i", "createAlternative", "altComparisonSet", "j", "el", "k", "isNodeEqual", "prefixAlts", "prefixGroup", "createGroup", "newContentsAlt", "suffixGroup", "_", "alts", "bNode", "extractSuffix", "node", "isAlternativeContainer", "firstAltEls", "suffixNodes", "passedSharedSuffix", "i", "inverseI", "alt", "inverseIOfAlt", "kid", "isAllowedSimpleNode", "isNodeEqual", "arr", "lastAlt", "removed", "newContentsAlt", "createAlternative", "prefixGroup", "createGroup", "mergeRanges", "node", "withoutDupeSets", "el", "k", "keep", "candidates", "b", "aValue", "bValue", "merged", "i", "last", "elMin", "lastMax", "createCharacterClassRange", "createCharacter", "final", "diff", "firstPosChar", "optionalize", "node", "isAlternativeContainer", "body", "newAlts", "lastAltKept", "i", "alt", "altKids", "prevAltKids", "lengthDiff", "isPrevAltLonger", "altKidsToCompare", "prevAltKidsToCompare", "isNodeArrayEqual", "prevAltLastKid", "throwIfNullish", "isQuantifiable", "createQuantifier", "altLastKid", "a", "b", "isAllowedSimpleNode", "isNodeEqual", "preventReDoS", "node", "body", "max", "firstAlt", "hasOnlyChild", "nestedQuantifier", "removeEmptyGroups", "node", "remove", "isQualifiedAndEmpty", "kid", "hasOnlyEmptyAlts", "alt", "removeUselessFlags", "node", "remove", "removeFlagX", "removeEmptyFlagsObj", "flags", "cleanupFlagsObj", "simplifyCallouts", "node", "replaceWith", "args", "kind", "createLookaroundAssertion", "newArgs", "arg", "unnestUselessClasses", "node", "parent", "replaceWith", "replaceWithMultiple", "body", "kind", "negate", "firstEl", "hasOnlyChild", "unwrapNegationWrappers", "node", "parent", "replaceWith", "body", "kind", "negate", "kid", "createCharacterSet", "unwrapUselessClasses", "node", "parent", "replaceWith", "body", "kind", "negate", "kid", "unwrapUselessGroups", "node", "isAlternativeContainer", "hasMultiAltNoncapturingGroupOnlyChild", "parent", "replaceWithMultiple", "atomic", "body", "flags", "firstAltEls", "unwrap", "type", "atomicTypes", "quantifiedGroup", "groupKids", "candidate", "isQuantifiable", "useShorthands", "node", "parent", "root", "replaceWith", "kind", "negate", "value", "newNode", "createCharacterSet", "has", "kid", "isRange", "cp", "isUnicode", "cpOf", "min", "max", "options", "names", "expanded", "v", "supercategoryFullName", "categories", "supercategoryShortName", "supercategories", "subcategoryShortNames", "subL", "subM", "subN", "subP", "key", "sub", "useUnicodeAliases", "node", "alias", "OnigUnicodeAliasMap", "useUnicodeProps", "node", "root", "replaceWith", "kind", "negate", "value", "newNode", "createUnicodeProperty", "isRange", "optimizations", "alternationToClass", "exposeAnchors", "extractPrefix", "extractPrefix2", "extractSuffix", "optionalize", "preventReDoS", "removeEmptyGroups", "removeUselessFlags", "simplifyCallouts", "unnestUselessClasses", "unwrapNegationWrappers", "unwrapUselessClasses", "unwrapUselessGroups", "useShorthands", "useUnicodeAliases", "useUnicodeProps", "mergeRanges", "optimize", "pattern", "options", "opts", "getOptions", "ast", "parse", "OnigUnicodePropertyMap", "active", "getOptionalOptimizations", "key", "optimizations", "names", "optimized", "counter", "name", "traverse", "generate", "obj"]
|
|
7
|
+
}
|