@shell-shock/preset-cli 0.9.11 → 0.9.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/_virtual/_rolldown/runtime.cjs +16 -0
- package/dist/_virtual/_rolldown/runtime.mjs +42 -0
- package/dist/components/banner-builtin.cjs +3 -3
- package/dist/components/banner-builtin.mjs +3 -3
- package/dist/components/banner-builtin.mjs.map +1 -1
- package/dist/components/command-entry.cjs +1 -0
- package/dist/components/command-entry.mjs +1 -0
- package/dist/components/command-entry.mjs.map +1 -1
- package/dist/components/upgrade-builtin.cjs +1 -1
- package/dist/components/upgrade-builtin.mjs +1 -1
- package/dist/components/upgrade-builtin.mjs.map +1 -1
- package/dist/components/virtual-command-entry.cjs +1 -0
- package/dist/components/virtual-command-entry.mjs +1 -0
- package/dist/components/virtual-command-entry.mjs.map +1 -1
- package/dist/index.cjs +1 -1
- package/dist/node_modules/.pnpm/@mdit_plugin-alert@0.23.2_markdown-it@14.1.1/node_modules/@mdit/plugin-alert/dist/index.cjs +94 -0
- package/dist/node_modules/.pnpm/@mdit_plugin-alert@0.23.2_markdown-it@14.1.1/node_modules/@mdit/plugin-alert/dist/index.mjs +94 -0
- package/dist/node_modules/.pnpm/@mdit_plugin-alert@0.23.2_markdown-it@14.1.1/node_modules/@mdit/plugin-alert/dist/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.cjs +167 -0
- package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.mjs +167 -0
- package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.cjs +373 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs +374 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.cjs +60 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs +59 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.cjs +6 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs +6 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.cjs +6 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs +6 -0
- package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.cjs +59 -0
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs +59 -0
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.cjs +338 -0
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.mjs +333 -0
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.mjs.map +1 -0
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.cjs +6 -0
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs +6 -0
- package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs.map +1 -0
- package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.cjs +4095 -0
- package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.mjs +4093 -0
- package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.mjs.map +1 -0
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.cjs +449 -0
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs +450 -0
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.cjs +47 -0
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs +48 -0
- package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.cjs +94 -0
- package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs +94 -0
- package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.cjs +78 -0
- package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs +78 -0
- package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.cjs +123 -0
- package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs +123 -0
- package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.cjs +246 -0
- package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs +244 -0
- package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.cjs +80 -0
- package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs +80 -0
- package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.cjs +80 -0
- package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs +80 -0
- package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.cjs +45 -0
- package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs +45 -0
- package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.cjs +45 -0
- package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs +45 -0
- package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.cjs +94 -0
- package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.mjs +92 -0
- package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/index.cjs +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/index.mjs +3 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.cjs +69 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.mjs +69 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.cjs +9 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.mjs +8 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.cjs +205 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.mjs +189 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.cjs +19 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.mjs +15 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.cjs +61 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +62 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.cjs +35 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.mjs +35 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.cjs +43 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +44 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.cjs +488 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.mjs +489 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.cjs +148 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.mjs +149 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.cjs +51 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.mjs +52 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.cjs +126 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.mjs +127 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.cjs +57 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.mjs +57 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.cjs +23 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs +23 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.cjs +31 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs +31 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.cjs +217 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs +218 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.cjs +274 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.mjs +274 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.cjs +107 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.mjs +108 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.cjs +27 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.mjs +27 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.cjs +48 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.mjs +48 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.cjs +35 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.mjs +36 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.cjs +26 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.mjs +27 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.cjs +72 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.mjs +73 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.cjs +53 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.mjs +53 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.cjs +157 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.mjs +158 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.cjs +32 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.mjs +32 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.cjs +140 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.mjs +141 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.cjs +112 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.mjs +113 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.cjs +139 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.mjs +140 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.cjs +15 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.mjs +15 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.cjs +12 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.mjs +12 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.cjs +81 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.mjs +82 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.cjs +13 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.mjs +13 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.cjs +45 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.mjs +45 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.cjs +112 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +113 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.cjs +14 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.mjs +15 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.cjs +22 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.mjs +22 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.cjs +55 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.mjs +55 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.cjs +41 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.mjs +41 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.cjs +62 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs +62 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.cjs +64 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.mjs +64 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.cjs +45 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.mjs +46 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.cjs +48 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.mjs +49 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.cjs +22 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs +22 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.cjs +34 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +35 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.cjs +82 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.mjs +83 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.cjs +84 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.mjs +85 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.cjs +42 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.mjs +42 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.cjs +26 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.mjs +27 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.cjs +74 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +75 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.cjs +80 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs +80 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.cjs +41 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.mjs +41 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.mjs.map +1 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.cjs +157 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.mjs +157 -0
- package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.cjs +21 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.mjs +17 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.cjs +74 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs +74 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.cjs +57 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs +57 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.cjs +18 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs +18 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs.map +1 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.cjs +175 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs +175 -0
- package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs.map +1 -0
- package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.cjs +19 -0
- package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.mjs +15 -0
- package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.cjs +104 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.mjs +104 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.cjs +73 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.mjs +68 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.cjs +266 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.mjs +262 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.cjs +575 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.mjs +543 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.cjs +27 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.mjs +21 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.cjs +105 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.mjs +94 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.cjs +33 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.mjs +34 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.cjs +99 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.mjs +93 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.cjs +2544 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.mjs +2545 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.cjs +296 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.mjs +297 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.cjs +26 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.mjs +28 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.cjs +2069 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.mjs +2069 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.cjs +156 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.mjs +157 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.mjs.map +1 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.cjs +166 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.mjs +167 -0
- package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.mjs.map +1 -0
- package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.cjs +299 -0
- package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.mjs +295 -0
- package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.mjs.map +1 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.cjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs.map +1 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.cjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs.map +1 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.cjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs.map +1 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.cjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs.map +1 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.cjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs.map +1 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.cjs +25 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs +21 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs.map +1 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.cjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs +6 -0
- package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs.map +1 -0
- package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.cjs +15 -0
- package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.mjs +17 -0
- package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.mjs.map +1 -0
- package/dist/{plugin-changelog → packages/plugin-changelog}/dist/components/changelog-command.cjs +5 -4
- package/dist/packages/plugin-changelog/dist/components/changelog-command.mjs +4 -3
- package/dist/packages/plugin-changelog/dist/components/changelog-command.mjs.map +1 -1
- package/dist/{plugin-changelog → packages/plugin-changelog}/dist/index.cjs +1 -1
- package/dist/packages/unified/dist/html-DzncQodH.cjs +156 -0
- package/dist/packages/unified/dist/html-DzncQodH.mjs +157 -0
- package/dist/packages/unified/dist/html-DzncQodH.mjs.map +1 -0
- package/dist/packages/unified/dist/markdown/index.cjs +1 -0
- package/dist/packages/unified/dist/markdown/index.mjs +3 -0
- package/dist/packages/unified/dist/markdown-BiaU4FQg.cjs +82 -0
- package/dist/packages/unified/dist/markdown-BiaU4FQg.mjs +83 -0
- package/dist/packages/unified/dist/markdown-BiaU4FQg.mjs.map +1 -0
- package/package.json +35 -12
- package/dist/packages/unified/dist/markdown-Bs-BRrSC.mjs +0 -10
- package/dist/packages/unified/dist/markdown-Bs-BRrSC.mjs.map +0 -1
- package/dist/unified/dist/markdown-Bs-BRrSC.cjs +0 -10
- /package/dist/{plugin-changelog → packages/plugin-changelog}/dist/components/index.cjs +0 -0
package/dist/{plugin-changelog → packages/plugin-changelog}/dist/components/changelog-command.cjs
RENAMED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
const require_runtime = require('
|
|
2
|
-
const
|
|
1
|
+
const require_runtime = require('../../../../_virtual/_rolldown/runtime.cjs');
|
|
2
|
+
const require_markdown_BiaU4FQg = require('../../../unified/dist/markdown-BiaU4FQg.cjs');
|
|
3
|
+
require('../../../unified/dist/markdown/index.cjs');
|
|
3
4
|
let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
4
5
|
let _alloy_js_core = require("@alloy-js/core");
|
|
5
6
|
let _alloy_js_typescript = require("@alloy-js/typescript");
|
|
@@ -20,7 +21,7 @@ function ChangelogCommand() {
|
|
|
20
21
|
const result = (0, _alloy_js_core.createResource)(async () => {
|
|
21
22
|
const content = await context.fs.read(context.config.changelog.file);
|
|
22
23
|
if (!content) return null;
|
|
23
|
-
return
|
|
24
|
+
return require_markdown_BiaU4FQg.h(content);
|
|
24
25
|
});
|
|
25
26
|
return (0, _alloy_js_core_jsx_runtime.createComponent)(_powerlines_plugin_alloy_typescript.TypescriptFile, {
|
|
26
27
|
get path() {
|
|
@@ -114,7 +115,7 @@ function ChangelogCommand() {
|
|
|
114
115
|
},
|
|
115
116
|
fallback: _alloy_js_core.code` return warn("There is no changelog available for display."); `,
|
|
116
117
|
get children() {
|
|
117
|
-
return
|
|
118
|
+
return result.data?.toString();
|
|
118
119
|
}
|
|
119
120
|
});
|
|
120
121
|
}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h } from "../../../unified/dist/markdown-BiaU4FQg.mjs";
|
|
2
|
+
import "../../../unified/dist/markdown/index.mjs";
|
|
2
3
|
import { createComponent } from "@alloy-js/core/jsx-runtime";
|
|
3
4
|
import { Show, code, createResource } from "@alloy-js/core";
|
|
4
5
|
import { FunctionDeclaration, InterfaceDeclaration } from "@alloy-js/typescript";
|
|
@@ -19,7 +20,7 @@ function ChangelogCommand() {
|
|
|
19
20
|
const result = createResource(async () => {
|
|
20
21
|
const content = await context.fs.read(context.config.changelog.file);
|
|
21
22
|
if (!content) return null;
|
|
22
|
-
return
|
|
23
|
+
return h(content);
|
|
23
24
|
});
|
|
24
25
|
return createComponent(TypescriptFile, {
|
|
25
26
|
get path() {
|
|
@@ -113,7 +114,7 @@ function ChangelogCommand() {
|
|
|
113
114
|
},
|
|
114
115
|
fallback: code` return warn("There is no changelog available for display."); `,
|
|
115
116
|
get children() {
|
|
116
|
-
return
|
|
117
|
+
return result.data?.toString();
|
|
117
118
|
}
|
|
118
119
|
});
|
|
119
120
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"changelog-command.mjs","names":["
|
|
1
|
+
{"version":3,"file":"changelog-command.mjs","names":["renderMarkdown"],"sources":["../../../../../../plugin-changelog/dist/components/changelog-command.mjs"],"sourcesContent":["import { createComponent } from \"@alloy-js/core/jsx-runtime\";\nimport { getAppTitle } from \"@shell-shock/core/plugin-utils\";\nimport { Show, code, createResource } from \"@alloy-js/core\";\nimport { FunctionDeclaration, InterfaceDeclaration } from \"@alloy-js/typescript\";\nimport { ReflectionKind } from \"@powerlines/deepkit/vendor/type\";\nimport { Spacing } from \"@powerlines/plugin-alloy/core\";\nimport { usePowerlines } from \"@powerlines/plugin-alloy/core/contexts/context\";\nimport { InterfaceMember, TypescriptFile } from \"@powerlines/plugin-alloy/typescript\";\nimport { TSDoc, TSDocDefaultValue, TSDocParam } from \"@powerlines/plugin-alloy/typescript/components/tsdoc\";\nimport { renderMarkdown } from \"@shell-shock/unified/markdown\";\nimport { joinPaths } from \"@stryke/path\";\n\n//#region src/components/changelog-command.tsx\n/**\n* The Changelog command's handler wrapper for the Shell Shock project.\n*/\nfunction ChangelogCommand() {\n\tconst context = usePowerlines();\n\tconst result = createResource(async () => {\n\t\tconst content = await context.fs.read(context.config.changelog.file);\n\t\tif (!content) return null;\n\t\treturn renderMarkdown(content);\n\t});\n\treturn createComponent(TypescriptFile, {\n\t\tget path() {\n\t\t\treturn joinPaths(context.entryPath, \"changelog\", \"command.ts\");\n\t\t},\n\t\timports: {\n\t\t\t\"node:os\": \"os\",\n\t\t\t\"node:fs/promises\": [\"readFile\", \"writeFile\"]\n\t\t},\n\t\tbuiltinImports: { console: [\n\t\t\t\"textColors\",\n\t\t\t\"bold\",\n\t\t\t\"writeLine\",\n\t\t\t\"error\",\n\t\t\t\"warn\"\n\t\t] },\n\t\tget children() {\n\t\t\treturn [\n\t\t\t\tcreateComponent(TSDoc, { heading: \"Options for the Changelog command.\" }),\n\t\t\t\tcreateComponent(InterfaceDeclaration, {\n\t\t\t\t\t\"export\": true,\n\t\t\t\t\tname: \"ChangelogOptions\",\n\t\t\t\t\tget children() {\n\t\t\t\t\t\treturn [\n\t\t\t\t\t\t\tcreateComponent(TSDoc, { heading: \"An optional starting version for the changelog. The command will attempt to display changes starting from the specified version. The version should be a valid semantic version string. If not specified, the changelog will start from the earliest version available.\" }),\n\t\t\t\t\t\t\tcreateComponent(InterfaceMember, {\n\t\t\t\t\t\t\t\tname: \"start\",\n\t\t\t\t\t\t\t\toptional: true,\n\t\t\t\t\t\t\t\ttype: \"string\"\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\tcreateComponent(Spacing, {}),\n\t\t\t\t\t\t\tcreateComponent(TSDoc, {\n\t\t\t\t\t\t\t\theading: \"An optional ending version for the changelog. The command will attempt to display changes up to the specified version. The version should be a valid semantic version string. If not specified, the changelog will display changes up to the latest version available.\",\n\t\t\t\t\t\t\t\tget children() {\n\t\t\t\t\t\t\t\t\treturn createComponent(TSDocDefaultValue, {\n\t\t\t\t\t\t\t\t\t\tget type() {\n\t\t\t\t\t\t\t\t\t\t\treturn ReflectionKind.string;\n\t\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\t\tdefaultValue: \"latest\"\n\t\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}),\n\t\t\t\t\t\t\tcreateComponent(InterfaceMember, {\n\t\t\t\t\t\t\t\tname: \"end\",\n\t\t\t\t\t\t\t\toptional: true,\n\t\t\t\t\t\t\t\ttype: \"string\"\n\t\t\t\t\t\t\t})\n\t\t\t\t\t\t];\n\t\t\t\t\t}\n\t\t\t\t}),\n\t\t\t\tcreateComponent(Spacing, {}),\n\t\t\t\tcreateComponent(TSDoc, {\n\t\t\t\t\tget heading() {\n\t\t\t\t\t\treturn `Display the ${getAppTitle(context)} changelog.`;\n\t\t\t\t\t},\n\t\t\t\t\tget children() {\n\t\t\t\t\t\treturn createComponent(TSDocParam, {\n\t\t\t\t\t\t\tname: \"options\",\n\t\t\t\t\t\t\tchildren: code`An object containing options for displaying the changelog.`\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t}),\n\t\t\t\tcreateComponent(FunctionDeclaration, {\n\t\t\t\t\t\"export\": true,\n\t\t\t\t\t\"default\": true,\n\t\t\t\t\tasync: true,\n\t\t\t\t\tname: \"handler\",\n\t\t\t\t\tparameters: [{\n\t\t\t\t\t\tname: \"options\",\n\t\t\t\t\t\ttype: \"ChangelogOptions\"\n\t\t\t\t\t}],\n\t\t\t\t\tget children() {\n\t\t\t\t\t\treturn createComponent(Show, {\n\t\t\t\t\t\t\tget when() {\n\t\t\t\t\t\t\t\treturn !result.loading && !result.error;\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tget fallback() {\n\t\t\t\t\t\t\t\treturn createComponent(Show, {\n\t\t\t\t\t\t\t\t\tget when() {\n\t\t\t\t\t\t\t\t\t\treturn !!result.error;\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tget children() {\n\t\t\t\t\t\t\t\t\t\treturn code` return error(\\`Failed to load changelog: ${result.error.message.replaceAll(/`/g, \"\\\\`\")}\\`); `;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\tget children() {\n\t\t\t\t\t\t\t\treturn createComponent(Show, {\n\t\t\t\t\t\t\t\t\tget when() {\n\t\t\t\t\t\t\t\t\t\treturn !!result.data?.toString();\n\t\t\t\t\t\t\t\t\t},\n\t\t\t\t\t\t\t\t\tfallback: code` return warn(\"There is no changelog available for display.\"); `,\n\t\t\t\t\t\t\t\t\tget children() {\n\t\t\t\t\t\t\t\t\t\treturn result.data?.toString();\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t});\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t});\n\t\t\t\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gB,YAAY;OAClC,MAAM;OACN,UAAU,IAAI;OACd,CAAC;;KAEH,CAAC;IACF,gBAAgB,qBAAqB;KACpC,UAAU;KACV,WAAW;KACX,OAAO;KACP,MAAM;KACN,YAAY,CAAC;MACZ,MAAM;MACN,MAAM;MACN,CAAC;KACF,IAAI,WAAW;AACd,aAAO,gBAAgB,MAAM;OAC5B,IAAI,OAAO;AACV,eAAO,CAAC,OAAO,WAAW,CAAC,OAAO;;OAEnC,IAAI,WAAW;AACd,eAAO,gBAAgB,MAAM;SAC5B,IAAI,OAAO;AACV,iBAAO,CAAC,CAAC,OAAO;;SAEjB,IAAI,WAAW;AACd,iBAAO,IAAI,6CAA6C,OAAO,MAAM,QAAQ,WAAW,MAAM,MAAM,CAAC;;SAEtG,CAAC;;OAEH,IAAI,WAAW;AACd,eAAO,gBAAgB,MAAM;SAC5B,IAAI,OAAO;AACV,iBAAO,CAAC,CAAC,OAAO,MAAM,UAAU;;SAEjC,UAAU,IAAI;SACd,IAAI,WAAW;AACd,iBAAO,OAAO,MAAM,UAAU;;SAE/B,CAAC;;OAEH,CAAC;;KAEH,CAAC;IACF;;EAEF,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const require_runtime = require('
|
|
1
|
+
const require_runtime = require('../../../_virtual/_rolldown/runtime.cjs');
|
|
2
2
|
const require_changelog_command = require('./components/changelog-command.cjs');
|
|
3
3
|
require('./components/index.cjs');
|
|
4
4
|
let _alloy_js_core_jsx_runtime = require("@alloy-js/core/jsx-runtime");
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
const require_runtime = require('../../../_virtual/_rolldown/runtime.cjs');
|
|
2
|
+
const require_index = require('../../../node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.cjs');
|
|
3
|
+
const require_he$1 = require('../../../node_modules/.pnpm/he@1.2.0/node_modules/he/he.cjs');
|
|
4
|
+
const require_index$1 = require('../../../node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.cjs');
|
|
5
|
+
require('../../../node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.cjs');
|
|
6
|
+
|
|
7
|
+
//#region ../unified/dist/html-DzncQodH.mjs
|
|
8
|
+
var import_he = /* @__PURE__ */ require_runtime.__toESM(require_he$1.default, 1);
|
|
9
|
+
var import_normalize_html_whitespace = /* @__PURE__ */ require_runtime.__toESM(require_index$1.default, 1);
|
|
10
|
+
const r = (e) => ({
|
|
11
|
+
pre: !1,
|
|
12
|
+
lineWidth: 120,
|
|
13
|
+
fontAttrs: !0,
|
|
14
|
+
depth: 0,
|
|
15
|
+
asciiMode: !1,
|
|
16
|
+
...e
|
|
17
|
+
}), i = (e, t) => e == null && t == null ? null : e == null ? t : t == null ? e : t.value == null ? {
|
|
18
|
+
pre: e.pre,
|
|
19
|
+
value: e.value,
|
|
20
|
+
post: e.post == null ? t.pre == null ? t.post == null ? `` : t.post : t.pre : e.post
|
|
21
|
+
} : e.value == null ? {
|
|
22
|
+
pre: e.pre == null ? e.post == null ? t.pre == null ? `` : t.pre : e.post : e.pre,
|
|
23
|
+
value: t.value,
|
|
24
|
+
post: t.post
|
|
25
|
+
} : e.post == null ? t.pre == null ? {
|
|
26
|
+
pre: e.pre,
|
|
27
|
+
value: `${e.value}${t.value}`,
|
|
28
|
+
post: t.post
|
|
29
|
+
} : {
|
|
30
|
+
pre: e.pre,
|
|
31
|
+
value: `${e.value}${t.pre}${t.value}`,
|
|
32
|
+
post: t.post
|
|
33
|
+
} : {
|
|
34
|
+
pre: e.pre,
|
|
35
|
+
value: `${e.value}${e.post}${t.value}`,
|
|
36
|
+
post: t.post
|
|
37
|
+
}, a = /* @__PURE__ */ new WeakMap(), o = (e, t, n = null) => {
|
|
38
|
+
if (!e || typeof e != `object` || !t || typeof t != `string`) return n;
|
|
39
|
+
let r = a.get(e);
|
|
40
|
+
if (r) {
|
|
41
|
+
let e = r.get(t);
|
|
42
|
+
if (e !== void 0) return e ?? n;
|
|
43
|
+
}
|
|
44
|
+
if (!e.attrs || !Array.isArray(e.attrs) || e.attrs.length === 0) return r || (r = /* @__PURE__ */ new Map(), a.set(e, r)), r.set(t, null), n;
|
|
45
|
+
let i = e.attrs.find((e) => e && typeof e == `object` && e.name === t);
|
|
46
|
+
if (r || (r = /* @__PURE__ */ new Map(), a.set(e, r)), !i || i.value === void 0) return r.set(t, null), n;
|
|
47
|
+
let o = i.value;
|
|
48
|
+
return r.set(t, o), o;
|
|
49
|
+
}, s = import_he.default.decode, c = import_normalize_html_whitespace.default, l = (e, t) => {
|
|
50
|
+
let n = String(e.value ?? ``);
|
|
51
|
+
if (t.pre) return {
|
|
52
|
+
pre: null,
|
|
53
|
+
value: s(n),
|
|
54
|
+
post: null,
|
|
55
|
+
type: `inline`,
|
|
56
|
+
nodeName: `#text`
|
|
57
|
+
};
|
|
58
|
+
let r = [...(c(n) || ``).replaceAll(`
|
|
59
|
+
`, ` `)], i = [` `, `
|
|
60
|
+
`].includes(r[0] ?? ``) ? r.shift() ?? null : null, a = [` `, `
|
|
61
|
+
`].includes(r.at(-1) ?? ``) ? r.pop() ?? null : null;
|
|
62
|
+
return {
|
|
63
|
+
pre: i,
|
|
64
|
+
value: r.length > 0 ? `${s(r.join(``))}` : null,
|
|
65
|
+
post: a,
|
|
66
|
+
type: `inline`,
|
|
67
|
+
nodeName: `#text`
|
|
68
|
+
};
|
|
69
|
+
}, u = (e) => (t, n) => {
|
|
70
|
+
let r = e ?? ((e) => e ?? null), a = p.span;
|
|
71
|
+
if (!t || !t.childNodes) return null;
|
|
72
|
+
let o = t.childNodes.reduce((e, r) => {
|
|
73
|
+
let o = v(r, n, a);
|
|
74
|
+
return o ? {
|
|
75
|
+
...i(e, o),
|
|
76
|
+
type: `inline`,
|
|
77
|
+
nodeName: t.nodeName
|
|
78
|
+
} : e;
|
|
79
|
+
}, null);
|
|
80
|
+
return {
|
|
81
|
+
pre: o?.pre ? r(o.pre, t, n) : null,
|
|
82
|
+
value: r(o?.value, t, n),
|
|
83
|
+
post: o?.post ? r(o.post, t, n) : null,
|
|
84
|
+
type: `inline`,
|
|
85
|
+
nodeName: t.nodeName
|
|
86
|
+
};
|
|
87
|
+
}, d = u((e, t, n) => {
|
|
88
|
+
let r = o(t, `href`, null), i = o(t, `title`, null), a = !r || [
|
|
89
|
+
`file://`,
|
|
90
|
+
`http://`,
|
|
91
|
+
`https://`,
|
|
92
|
+
`mailto:`,
|
|
93
|
+
`ftp://`,
|
|
94
|
+
`ftps://`,
|
|
95
|
+
`sftp://`,
|
|
96
|
+
`ssh://`,
|
|
97
|
+
`dav://`,
|
|
98
|
+
`tel:`,
|
|
99
|
+
`git://`
|
|
100
|
+
].some((e) => r.startsWith(e)) ? r : null;
|
|
101
|
+
return a ? `link("${a}", ${i ? `"${i}", ` : ``}${a && (a.startsWith(`http://`) || a.startsWith(`https://`)) ? `true` : `false`})` : i ? `"${i}"` : ``;
|
|
102
|
+
}), f = u((e, t) => {
|
|
103
|
+
let n = o(t, `title`, null);
|
|
104
|
+
return e ? n ? `${e} (${n})` : e : ``;
|
|
105
|
+
});
|
|
106
|
+
var p = {
|
|
107
|
+
"#text": l,
|
|
108
|
+
a: d,
|
|
109
|
+
abbr: f
|
|
110
|
+
};
|
|
111
|
+
const m = process.env.CACHE_RENDER !== `false`, h = /* @__PURE__ */ new WeakMap(), g = (e, t) => {
|
|
112
|
+
if (!m || !e || typeof e != `object`) return;
|
|
113
|
+
let n = h.get(e);
|
|
114
|
+
if (n) return n.get(JSON.stringify({
|
|
115
|
+
lineWidth: t.lineWidth,
|
|
116
|
+
pre: t.pre,
|
|
117
|
+
listDepth: t.listDepth,
|
|
118
|
+
listType: t.listType,
|
|
119
|
+
depth: t.depth
|
|
120
|
+
}));
|
|
121
|
+
}, _ = (e, t, n) => {
|
|
122
|
+
if (!m || !e || typeof e != `object`) return;
|
|
123
|
+
let r = h.get(e);
|
|
124
|
+
if (r || (r = /* @__PURE__ */ new Map(), h.set(e, r)), r.set(JSON.stringify({
|
|
125
|
+
lineWidth: t.lineWidth,
|
|
126
|
+
pre: t.pre,
|
|
127
|
+
listDepth: t.listDepth,
|
|
128
|
+
listType: t.listType,
|
|
129
|
+
depth: t.depth
|
|
130
|
+
}), n), r.size > 10) {
|
|
131
|
+
let e = r.keys().next().value;
|
|
132
|
+
r.delete(e);
|
|
133
|
+
}
|
|
134
|
+
}, v = (e, t, n = p.div) => {
|
|
135
|
+
if (!e) return null;
|
|
136
|
+
let r = t.depth === void 0 ? 0 : t.depth;
|
|
137
|
+
if (r >= 100) return null;
|
|
138
|
+
let i = {
|
|
139
|
+
...t,
|
|
140
|
+
depth: r + 1
|
|
141
|
+
}, a = g(e, i);
|
|
142
|
+
if (a !== void 0) return a;
|
|
143
|
+
let o = null;
|
|
144
|
+
try {
|
|
145
|
+
o = (p[e.nodeName || `#text`] || n)(e, i), _(e, i, o);
|
|
146
|
+
} catch {
|
|
147
|
+
o = null;
|
|
148
|
+
}
|
|
149
|
+
return o;
|
|
150
|
+
};
|
|
151
|
+
function y(t, n) {
|
|
152
|
+
return `${(v(require_index.parse(t, { sourceCodeLocationInfo: !0 }), r(n)) || { value: `` }).value}\n`;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
//#endregion
|
|
156
|
+
exports.y = y;
|
|
@@ -0,0 +1,157 @@
|
|
|
1
|
+
import { __toESM } from "../../../_virtual/_rolldown/runtime.mjs";
|
|
2
|
+
import { parse } from "../../../node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.mjs";
|
|
3
|
+
import { require_he } from "../../../node_modules/.pnpm/he@1.2.0/node_modules/he/he.mjs";
|
|
4
|
+
import { require_normalize_html_whitespace } from "../../../node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.mjs";
|
|
5
|
+
import "../../../node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.mjs";
|
|
6
|
+
|
|
7
|
+
//#region ../unified/dist/html-DzncQodH.mjs
|
|
8
|
+
var import_he = /* @__PURE__ */ __toESM(require_he(), 1);
|
|
9
|
+
var import_normalize_html_whitespace = /* @__PURE__ */ __toESM(require_normalize_html_whitespace(), 1);
|
|
10
|
+
const r = (e) => ({
|
|
11
|
+
pre: !1,
|
|
12
|
+
lineWidth: 120,
|
|
13
|
+
fontAttrs: !0,
|
|
14
|
+
depth: 0,
|
|
15
|
+
asciiMode: !1,
|
|
16
|
+
...e
|
|
17
|
+
}), i = (e, t) => e == null && t == null ? null : e == null ? t : t == null ? e : t.value == null ? {
|
|
18
|
+
pre: e.pre,
|
|
19
|
+
value: e.value,
|
|
20
|
+
post: e.post == null ? t.pre == null ? t.post == null ? `` : t.post : t.pre : e.post
|
|
21
|
+
} : e.value == null ? {
|
|
22
|
+
pre: e.pre == null ? e.post == null ? t.pre == null ? `` : t.pre : e.post : e.pre,
|
|
23
|
+
value: t.value,
|
|
24
|
+
post: t.post
|
|
25
|
+
} : e.post == null ? t.pre == null ? {
|
|
26
|
+
pre: e.pre,
|
|
27
|
+
value: `${e.value}${t.value}`,
|
|
28
|
+
post: t.post
|
|
29
|
+
} : {
|
|
30
|
+
pre: e.pre,
|
|
31
|
+
value: `${e.value}${t.pre}${t.value}`,
|
|
32
|
+
post: t.post
|
|
33
|
+
} : {
|
|
34
|
+
pre: e.pre,
|
|
35
|
+
value: `${e.value}${e.post}${t.value}`,
|
|
36
|
+
post: t.post
|
|
37
|
+
}, a = /* @__PURE__ */ new WeakMap(), o = (e, t, n = null) => {
|
|
38
|
+
if (!e || typeof e != `object` || !t || typeof t != `string`) return n;
|
|
39
|
+
let r = a.get(e);
|
|
40
|
+
if (r) {
|
|
41
|
+
let e = r.get(t);
|
|
42
|
+
if (e !== void 0) return e ?? n;
|
|
43
|
+
}
|
|
44
|
+
if (!e.attrs || !Array.isArray(e.attrs) || e.attrs.length === 0) return r || (r = /* @__PURE__ */ new Map(), a.set(e, r)), r.set(t, null), n;
|
|
45
|
+
let i = e.attrs.find((e) => e && typeof e == `object` && e.name === t);
|
|
46
|
+
if (r || (r = /* @__PURE__ */ new Map(), a.set(e, r)), !i || i.value === void 0) return r.set(t, null), n;
|
|
47
|
+
let o = i.value;
|
|
48
|
+
return r.set(t, o), o;
|
|
49
|
+
}, s = import_he.default.decode, c = import_normalize_html_whitespace.default, l = (e, t) => {
|
|
50
|
+
let n = String(e.value ?? ``);
|
|
51
|
+
if (t.pre) return {
|
|
52
|
+
pre: null,
|
|
53
|
+
value: s(n),
|
|
54
|
+
post: null,
|
|
55
|
+
type: `inline`,
|
|
56
|
+
nodeName: `#text`
|
|
57
|
+
};
|
|
58
|
+
let r = [...(c(n) || ``).replaceAll(`
|
|
59
|
+
`, ` `)], i = [` `, `
|
|
60
|
+
`].includes(r[0] ?? ``) ? r.shift() ?? null : null, a = [` `, `
|
|
61
|
+
`].includes(r.at(-1) ?? ``) ? r.pop() ?? null : null;
|
|
62
|
+
return {
|
|
63
|
+
pre: i,
|
|
64
|
+
value: r.length > 0 ? `${s(r.join(``))}` : null,
|
|
65
|
+
post: a,
|
|
66
|
+
type: `inline`,
|
|
67
|
+
nodeName: `#text`
|
|
68
|
+
};
|
|
69
|
+
}, u = (e) => (t, n) => {
|
|
70
|
+
let r = e ?? ((e) => e ?? null), a = p.span;
|
|
71
|
+
if (!t || !t.childNodes) return null;
|
|
72
|
+
let o = t.childNodes.reduce((e, r) => {
|
|
73
|
+
let o = v(r, n, a);
|
|
74
|
+
return o ? {
|
|
75
|
+
...i(e, o),
|
|
76
|
+
type: `inline`,
|
|
77
|
+
nodeName: t.nodeName
|
|
78
|
+
} : e;
|
|
79
|
+
}, null);
|
|
80
|
+
return {
|
|
81
|
+
pre: o?.pre ? r(o.pre, t, n) : null,
|
|
82
|
+
value: r(o?.value, t, n),
|
|
83
|
+
post: o?.post ? r(o.post, t, n) : null,
|
|
84
|
+
type: `inline`,
|
|
85
|
+
nodeName: t.nodeName
|
|
86
|
+
};
|
|
87
|
+
}, d = u((e, t, n) => {
|
|
88
|
+
let r = o(t, `href`, null), i = o(t, `title`, null), a = !r || [
|
|
89
|
+
`file://`,
|
|
90
|
+
`http://`,
|
|
91
|
+
`https://`,
|
|
92
|
+
`mailto:`,
|
|
93
|
+
`ftp://`,
|
|
94
|
+
`ftps://`,
|
|
95
|
+
`sftp://`,
|
|
96
|
+
`ssh://`,
|
|
97
|
+
`dav://`,
|
|
98
|
+
`tel:`,
|
|
99
|
+
`git://`
|
|
100
|
+
].some((e) => r.startsWith(e)) ? r : null;
|
|
101
|
+
return a ? `link("${a}", ${i ? `"${i}", ` : ``}${a && (a.startsWith(`http://`) || a.startsWith(`https://`)) ? `true` : `false`})` : i ? `"${i}"` : ``;
|
|
102
|
+
}), f = u((e, t) => {
|
|
103
|
+
let n = o(t, `title`, null);
|
|
104
|
+
return e ? n ? `${e} (${n})` : e : ``;
|
|
105
|
+
});
|
|
106
|
+
var p = {
|
|
107
|
+
"#text": l,
|
|
108
|
+
a: d,
|
|
109
|
+
abbr: f
|
|
110
|
+
};
|
|
111
|
+
const m = process.env.CACHE_RENDER !== `false`, h = /* @__PURE__ */ new WeakMap(), g = (e, t) => {
|
|
112
|
+
if (!m || !e || typeof e != `object`) return;
|
|
113
|
+
let n = h.get(e);
|
|
114
|
+
if (n) return n.get(JSON.stringify({
|
|
115
|
+
lineWidth: t.lineWidth,
|
|
116
|
+
pre: t.pre,
|
|
117
|
+
listDepth: t.listDepth,
|
|
118
|
+
listType: t.listType,
|
|
119
|
+
depth: t.depth
|
|
120
|
+
}));
|
|
121
|
+
}, _ = (e, t, n) => {
|
|
122
|
+
if (!m || !e || typeof e != `object`) return;
|
|
123
|
+
let r = h.get(e);
|
|
124
|
+
if (r || (r = /* @__PURE__ */ new Map(), h.set(e, r)), r.set(JSON.stringify({
|
|
125
|
+
lineWidth: t.lineWidth,
|
|
126
|
+
pre: t.pre,
|
|
127
|
+
listDepth: t.listDepth,
|
|
128
|
+
listType: t.listType,
|
|
129
|
+
depth: t.depth
|
|
130
|
+
}), n), r.size > 10) {
|
|
131
|
+
let e = r.keys().next().value;
|
|
132
|
+
r.delete(e);
|
|
133
|
+
}
|
|
134
|
+
}, v = (e, t, n = p.div) => {
|
|
135
|
+
if (!e) return null;
|
|
136
|
+
let r = t.depth === void 0 ? 0 : t.depth;
|
|
137
|
+
if (r >= 100) return null;
|
|
138
|
+
let i = {
|
|
139
|
+
...t,
|
|
140
|
+
depth: r + 1
|
|
141
|
+
}, a = g(e, i);
|
|
142
|
+
if (a !== void 0) return a;
|
|
143
|
+
let o = null;
|
|
144
|
+
try {
|
|
145
|
+
o = (p[e.nodeName || `#text`] || n)(e, i), _(e, i, o);
|
|
146
|
+
} catch {
|
|
147
|
+
o = null;
|
|
148
|
+
}
|
|
149
|
+
return o;
|
|
150
|
+
};
|
|
151
|
+
function y(t, n) {
|
|
152
|
+
return `${(v(parse(t, { sourceCodeLocationInfo: !0 }), r(n)) || { value: `` }).value}\n`;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
//#endregion
|
|
156
|
+
export { y };
|
|
157
|
+
//# sourceMappingURL=html-DzncQodH.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"html-DzncQodH.mjs","names":["t","n","e"],"sources":["../../../../../unified/dist/html-DzncQodH.mjs"],"sourcesContent":["import{parse as e}from\"parse5\";import t from\"he\";import n from\"normalize-html-whitespace\";import\"wrap-ansi\";const r=e=>({pre:!1,lineWidth:120,fontAttrs:!0,depth:0,asciiMode:!1,...e}),i=(e,t)=>e==null&&t==null?null:e==null?t:t==null?e:t.value==null?{pre:e.pre,value:e.value,post:e.post==null?t.pre==null?t.post==null?``:t.post:t.pre:e.post}:e.value==null?{pre:e.pre==null?e.post==null?t.pre==null?``:t.pre:e.post:e.pre,value:t.value,post:t.post}:e.post==null?t.pre==null?{pre:e.pre,value:`${e.value}${t.value}`,post:t.post}:{pre:e.pre,value:`${e.value}${t.pre}${t.value}`,post:t.post}:{pre:e.pre,value:`${e.value}${e.post}${t.value}`,post:t.post},a=new WeakMap,o=(e,t,n=null)=>{if(!e||typeof e!=`object`||!t||typeof t!=`string`)return n;let r=a.get(e);if(r){let e=r.get(t);if(e!==void 0)return e??n}if(!e.attrs||!Array.isArray(e.attrs)||e.attrs.length===0)return r||(r=new Map,a.set(e,r)),r.set(t,null),n;let i=e.attrs.find(e=>e&&typeof e==`object`&&e.name===t);if(r||(r=new Map,a.set(e,r)),!i||i.value===void 0)return r.set(t,null),n;let o=i.value;return r.set(t,o),o},s=t.decode,c=n,l=(e,t)=>{let n=String(e.value??``);if(t.pre)return{pre:null,value:s(n),post:null,type:`inline`,nodeName:`#text`};let r=[...(c(n)||``).replaceAll(`\n`,` `)],i=[` `,`\n`].includes(r[0]??``)?r.shift()??null:null,a=[` `,`\n`].includes(r.at(-1)??``)?r.pop()??null:null;return{pre:i,value:r.length>0?`${s(r.join(``))}`:null,post:a,type:`inline`,nodeName:`#text`}},u=e=>(t,n)=>{let r=e??(e=>e??null),a=p.span;if(!t||!t.childNodes)return null;let o=t.childNodes.reduce((e,r)=>{let o=v(r,n,a);return o?{...i(e,o),type:`inline`,nodeName:t.nodeName}:e},null);return{pre:o?.pre?r(o.pre,t,n):null,value:r(o?.value,t,n),post:o?.post?r(o.post,t,n):null,type:`inline`,nodeName:t.nodeName}},d=u((e,t,n)=>{let r=o(t,`href`,null),i=o(t,`title`,null),a=!r||[`file://`,`http://`,`https://`,`mailto:`,`ftp://`,`ftps://`,`sftp://`,`ssh://`,`dav://`,`tel:`,`git://`].some(e=>r.startsWith(e))?r:null;return a?`link(\"${a}\", ${i?`\"${i}\", `:``}${a&&(a.startsWith(`http://`)||a.startsWith(`https://`))?`true`:`false`})`:i?`\"${i}\"`:``}),f=u((e,t)=>{let n=o(t,`title`,null);return e?n?`${e} (${n})`:e:``});var p={\"#text\":l,a:d,abbr:f};const m=process.env.CACHE_RENDER!==`false`,h=new WeakMap,g=(e,t)=>{if(!m||!e||typeof e!=`object`)return;let n=h.get(e);if(n)return n.get(JSON.stringify({lineWidth:t.lineWidth,pre:t.pre,listDepth:t.listDepth,listType:t.listType,depth:t.depth}))},_=(e,t,n)=>{if(!m||!e||typeof e!=`object`)return;let r=h.get(e);if(r||(r=new Map,h.set(e,r)),r.set(JSON.stringify({lineWidth:t.lineWidth,pre:t.pre,listDepth:t.listDepth,listType:t.listType,depth:t.depth}),n),r.size>10){let e=r.keys().next().value;r.delete(e)}},v=(e,t,n=p.div)=>{if(!e)return null;let r=t.depth===void 0?0:t.depth;if(r>=100)return null;let i={...t,depth:r+1},a=g(e,i);if(a!==void 0)return a;let o=null;try{o=(p[e.nodeName||`#text`]||n)(e,i),_(e,i,o)}catch{o=null}return o};function y(t,n){return`${(v(e(t,{sourceCodeLocationInfo:!0}),r(n))||{value:``}).value}\\n`}export{y as t};\n//# sourceMappingURL=html-DzncQodH.mjs.map"],"mappings":";;;;;;;;;AAA4G,MAAM,KAAE,OAAI;CAAC,KAAI,CAAC;CAAE,WAAU;CAAI,WAAU,CAAC;CAAE,OAAM;CAAE,WAAU,CAAC;CAAE,GAAG;CAAE,GAAE,KAAG,GAAE,MAAI,KAAG,QAAM,KAAG,OAAK,OAAK,KAAG,OAAK,IAAE,KAAG,OAAK,IAAE,EAAE,SAAO,OAAK;CAAC,KAAI,EAAE;CAAI,OAAM,EAAE;CAAM,MAAK,EAAE,QAAM,OAAK,EAAE,OAAK,OAAK,EAAE,QAAM,OAAK,KAAG,EAAE,OAAK,EAAE,MAAI,EAAE;CAAK,GAAC,EAAE,SAAO,OAAK;CAAC,KAAI,EAAE,OAAK,OAAK,EAAE,QAAM,OAAK,EAAE,OAAK,OAAK,KAAG,EAAE,MAAI,EAAE,OAAK,EAAE;CAAI,OAAM,EAAE;CAAM,MAAK,EAAE;CAAK,GAAC,EAAE,QAAM,OAAK,EAAE,OAAK,OAAK;CAAC,KAAI,EAAE;CAAI,OAAM,GAAG,EAAE,QAAQ,EAAE;CAAQ,MAAK,EAAE;CAAK,GAAC;CAAC,KAAI,EAAE;CAAI,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E,EAAC,IAAE,EAAE,GAAE,EAAE;AAAC,KAAG,MAAI,KAAK,EAAE,QAAO;CAAE,IAAI,IAAE;AAAK,KAAG;AAAC,OAAG,EAAE,EAAE,YAAU,YAAU,GAAG,GAAE,EAAE,EAAC,EAAE,GAAE,GAAE,EAAE;SAAM;AAAC,MAAE;;AAAK,QAAO;;AAAG,SAAS,EAAE,GAAE,GAAE;AAAC,QAAM,IAAI,EAAEC,MAAE,GAAE,EAAC,wBAAuB,CAAC,GAAE,CAAC,EAAC,EAAE,EAAE,CAAC,IAAE,EAAC,OAAM,IAAG,EAAE,MAAM"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
const require_markdown_BiaU4FQg = require('../markdown-BiaU4FQg.cjs');
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
const require_runtime = require('../../../_virtual/_rolldown/runtime.cjs');
|
|
2
|
+
const require_html_DzncQodH = require('./html-DzncQodH.cjs');
|
|
3
|
+
const require_index = require('../../../node_modules/.pnpm/@mdit_plugin-alert@0.23.2_markdown-it@14.1.1/node_modules/@mdit/plugin-alert/dist/index.cjs');
|
|
4
|
+
const require_index$1 = require('../../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.cjs');
|
|
5
|
+
require('../../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/index.cjs');
|
|
6
|
+
const require_index$3 = require('../../../node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.cjs');
|
|
7
|
+
const require_index$4 = require('../../../node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.cjs');
|
|
8
|
+
const require_index$5 = require('../../../node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.cjs');
|
|
9
|
+
const require_index$6 = require('../../../node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.cjs');
|
|
10
|
+
const require_index$7 = require('../../../node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.cjs');
|
|
11
|
+
const require_index$8 = require('../../../node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.cjs');
|
|
12
|
+
const require_index$9 = require('../../../node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.cjs');
|
|
13
|
+
const require_index$10 = require('../../../node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.cjs');
|
|
14
|
+
const require_index$11 = require('../../../node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.cjs');
|
|
15
|
+
let _stryke_string_format = require("@stryke/string-format");
|
|
16
|
+
|
|
17
|
+
//#region ../unified/dist/markdown-BiaU4FQg.mjs
|
|
18
|
+
var import_markdown_it_task_lists = /* @__PURE__ */ require_runtime.__toESM(require_index$11.default, 1);
|
|
19
|
+
const p = () => {
|
|
20
|
+
let e = require_index$1.default({
|
|
21
|
+
html: !0,
|
|
22
|
+
langPrefix: `language-`,
|
|
23
|
+
linkify: !0
|
|
24
|
+
}).use(require_index$6.default).use(require_index$7.default).use(require_index$8.default).use(require_index$5.default).use(require_index$3.default).use(require_index$4.default).use(require_index$10.default).use(require_index$9.default).use(import_markdown_it_task_lists.default).use(require_index.t, {
|
|
25
|
+
deep: !1,
|
|
26
|
+
openRender(e, t) {
|
|
27
|
+
let n = e[t], r = null;
|
|
28
|
+
switch (n?.markup) {
|
|
29
|
+
case `important`:
|
|
30
|
+
r = `red`;
|
|
31
|
+
break;
|
|
32
|
+
case `note`:
|
|
33
|
+
r = `blue`;
|
|
34
|
+
break;
|
|
35
|
+
case `tip`:
|
|
36
|
+
r = `green`;
|
|
37
|
+
break;
|
|
38
|
+
case `warning`:
|
|
39
|
+
r = `yellow`;
|
|
40
|
+
break;
|
|
41
|
+
case `caution`:
|
|
42
|
+
r = `magenta`;
|
|
43
|
+
break;
|
|
44
|
+
default: r = `blue`;
|
|
45
|
+
}
|
|
46
|
+
return `<blockquote data-cli-color="${r}">`;
|
|
47
|
+
},
|
|
48
|
+
closeRender() {
|
|
49
|
+
return `</blockquote>`;
|
|
50
|
+
},
|
|
51
|
+
titleRender(e, t) {
|
|
52
|
+
let r = e[t], i = null;
|
|
53
|
+
switch (r?.markup) {
|
|
54
|
+
case `important`:
|
|
55
|
+
i = `red`;
|
|
56
|
+
break;
|
|
57
|
+
case `note`:
|
|
58
|
+
i = `blue`;
|
|
59
|
+
break;
|
|
60
|
+
case `tip`:
|
|
61
|
+
i = `green`;
|
|
62
|
+
break;
|
|
63
|
+
case `warning`:
|
|
64
|
+
i = `yellow`;
|
|
65
|
+
break;
|
|
66
|
+
case `caution`:
|
|
67
|
+
i = `magenta`;
|
|
68
|
+
break;
|
|
69
|
+
default: i = `blue`;
|
|
70
|
+
}
|
|
71
|
+
return `<p><span data-cli-color="${i}"><b>${(0, _stryke_string_format.upperCaseFirst)(r?.content || ``)}
|
|
72
|
+
}</b></span></p>`;
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
return e.renderer.rules.footnote_anchor = () => ``, e;
|
|
76
|
+
}, m = (e) => p().render(e);
|
|
77
|
+
function h(t, n) {
|
|
78
|
+
return require_html_DzncQodH.y(m(t), n);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
//#endregion
|
|
82
|
+
exports.h = h;
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
import { __toESM } from "../../../_virtual/_rolldown/runtime.mjs";
|
|
2
|
+
import { y } from "./html-DzncQodH.mjs";
|
|
3
|
+
import { t } from "../../../node_modules/.pnpm/@mdit_plugin-alert@0.23.2_markdown-it@14.1.1/node_modules/@mdit/plugin-alert/dist/index.mjs";
|
|
4
|
+
import MarkdownIt from "../../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.mjs";
|
|
5
|
+
import "../../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/index.mjs";
|
|
6
|
+
import abbr_plugin from "../../../node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs";
|
|
7
|
+
import container_plugin from "../../../node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs";
|
|
8
|
+
import deflist_plugin from "../../../node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs";
|
|
9
|
+
import footnote_plugin from "../../../node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs";
|
|
10
|
+
import ins_plugin from "../../../node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs";
|
|
11
|
+
import ins_plugin$1 from "../../../node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs";
|
|
12
|
+
import sub_plugin from "../../../node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs";
|
|
13
|
+
import sup_plugin from "../../../node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs";
|
|
14
|
+
import { require_markdown_it_task_lists } from "../../../node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.mjs";
|
|
15
|
+
import { upperCaseFirst } from "@stryke/string-format";
|
|
16
|
+
|
|
17
|
+
//#region ../unified/dist/markdown-BiaU4FQg.mjs
|
|
18
|
+
var import_markdown_it_task_lists = /* @__PURE__ */ __toESM(require_markdown_it_task_lists(), 1);
|
|
19
|
+
const p = () => {
|
|
20
|
+
let e = MarkdownIt({
|
|
21
|
+
html: !0,
|
|
22
|
+
langPrefix: `language-`,
|
|
23
|
+
linkify: !0
|
|
24
|
+
}).use(footnote_plugin).use(ins_plugin).use(ins_plugin$1).use(deflist_plugin).use(abbr_plugin).use(container_plugin).use(sup_plugin).use(sub_plugin).use(import_markdown_it_task_lists.default).use(t, {
|
|
25
|
+
deep: !1,
|
|
26
|
+
openRender(e, t) {
|
|
27
|
+
let n = e[t], r = null;
|
|
28
|
+
switch (n?.markup) {
|
|
29
|
+
case `important`:
|
|
30
|
+
r = `red`;
|
|
31
|
+
break;
|
|
32
|
+
case `note`:
|
|
33
|
+
r = `blue`;
|
|
34
|
+
break;
|
|
35
|
+
case `tip`:
|
|
36
|
+
r = `green`;
|
|
37
|
+
break;
|
|
38
|
+
case `warning`:
|
|
39
|
+
r = `yellow`;
|
|
40
|
+
break;
|
|
41
|
+
case `caution`:
|
|
42
|
+
r = `magenta`;
|
|
43
|
+
break;
|
|
44
|
+
default: r = `blue`;
|
|
45
|
+
}
|
|
46
|
+
return `<blockquote data-cli-color="${r}">`;
|
|
47
|
+
},
|
|
48
|
+
closeRender() {
|
|
49
|
+
return `</blockquote>`;
|
|
50
|
+
},
|
|
51
|
+
titleRender(e, t) {
|
|
52
|
+
let r = e[t], i = null;
|
|
53
|
+
switch (r?.markup) {
|
|
54
|
+
case `important`:
|
|
55
|
+
i = `red`;
|
|
56
|
+
break;
|
|
57
|
+
case `note`:
|
|
58
|
+
i = `blue`;
|
|
59
|
+
break;
|
|
60
|
+
case `tip`:
|
|
61
|
+
i = `green`;
|
|
62
|
+
break;
|
|
63
|
+
case `warning`:
|
|
64
|
+
i = `yellow`;
|
|
65
|
+
break;
|
|
66
|
+
case `caution`:
|
|
67
|
+
i = `magenta`;
|
|
68
|
+
break;
|
|
69
|
+
default: i = `blue`;
|
|
70
|
+
}
|
|
71
|
+
return `<p><span data-cli-color="${i}"><b>${upperCaseFirst(r?.content || ``)}
|
|
72
|
+
}</b></span></p>`;
|
|
73
|
+
}
|
|
74
|
+
});
|
|
75
|
+
return e.renderer.rules.footnote_anchor = () => ``, e;
|
|
76
|
+
}, m = (e) => p().render(e);
|
|
77
|
+
function h(t, n) {
|
|
78
|
+
return y(m(t), n);
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
//#endregion
|
|
82
|
+
export { h };
|
|
83
|
+
//# sourceMappingURL=markdown-BiaU4FQg.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"markdown-BiaU4FQg.mjs","names":["r","s","c","l","o","i","a","d","u","f","n","e"],"sources":["../../../../../unified/dist/markdown-BiaU4FQg.mjs"],"sourcesContent":["import{t as e}from\"./html-DzncQodH.mjs\";import{alert as t}from\"@mdit/plugin-alert\";import{upperCaseFirst as n}from\"@stryke/string-format\";import r from\"markdown-it\";import i from\"markdown-it-abbr\";import a from\"markdown-it-container\";import o from\"markdown-it-deflist\";import s from\"markdown-it-footnote\";import c from\"markdown-it-ins\";import l from\"markdown-it-mark\";import u from\"markdown-it-sub\";import d from\"markdown-it-sup\";import f from\"markdown-it-task-lists\";const p=()=>{let e=r({html:!0,langPrefix:`language-`,linkify:!0}).use(s).use(c).use(l).use(o).use(i).use(a).use(d).use(u).use(f).use(t,{deep:!1,openRender(e,t){let n=e[t],r=null;switch(n?.markup){case`important`:r=`red`;break;case`note`:r=`blue`;break;case`tip`:r=`green`;break;case`warning`:r=`yellow`;break;case`caution`:r=`magenta`;break;default:r=`blue`}return`<blockquote data-cli-color=\"${r}\">`},closeRender(){return`</blockquote>`},titleRender(e,t){let r=e[t],i=null;switch(r?.markup){case`important`:i=`red`;break;case`note`:i=`blue`;break;case`tip`:i=`green`;break;case`warning`:i=`yellow`;break;case`caution`:i=`magenta`;break;default:i=`blue`}return`<p><span data-cli-color=\"${i}\"><b>${n(r?.content||``)}\n }</b></span></p>`}});return e.renderer.rules.footnote_anchor=()=>``,e},m=e=>p().render(e);function h(t,n){return e(m(t),n)}export{h as t};\n//# sourceMappingURL=markdown-BiaU4FQg.mjs.map"],"mappings":";;;;;;;;;;;;;;;;;;AAAod,MAAM,UAAM;CAAC,IAAI,IAAEA,WAAE;EAAC,MAAK,CAAC;EAAE,YAAW;EAAY,SAAQ,CAAC;EAAE,CAAC,CAAC,IAAIC,gBAAE,CAAC,IAAIC,WAAE,CAAC,IAAIC,aAAE,CAAC,IAAIC,eAAE,CAAC,IAAIC,YAAE,CAAC,IAAIC,iBAAE,CAAC,IAAIC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