@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.
Files changed (340) hide show
  1. package/dist/_virtual/_rolldown/runtime.cjs +16 -0
  2. package/dist/_virtual/_rolldown/runtime.mjs +42 -0
  3. package/dist/components/banner-builtin.cjs +3 -3
  4. package/dist/components/banner-builtin.mjs +3 -3
  5. package/dist/components/banner-builtin.mjs.map +1 -1
  6. package/dist/components/command-entry.cjs +1 -0
  7. package/dist/components/command-entry.mjs +1 -0
  8. package/dist/components/command-entry.mjs.map +1 -1
  9. package/dist/components/upgrade-builtin.cjs +1 -1
  10. package/dist/components/upgrade-builtin.mjs +1 -1
  11. package/dist/components/upgrade-builtin.mjs.map +1 -1
  12. package/dist/components/virtual-command-entry.cjs +1 -0
  13. package/dist/components/virtual-command-entry.mjs +1 -0
  14. package/dist/components/virtual-command-entry.mjs.map +1 -1
  15. package/dist/index.cjs +1 -1
  16. 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
  17. 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
  18. 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
  19. package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.cjs +167 -0
  20. package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.mjs +167 -0
  21. package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.mjs.map +1 -0
  22. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.cjs +373 -0
  23. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs +374 -0
  24. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs.map +1 -0
  25. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.cjs +60 -0
  26. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs +59 -0
  27. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs.map +1 -0
  28. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.cjs +6 -0
  29. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs +6 -0
  30. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs.map +1 -0
  31. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.cjs +6 -0
  32. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs +6 -0
  33. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs.map +1 -0
  34. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.cjs +59 -0
  35. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs +59 -0
  36. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs.map +1 -0
  37. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.cjs +338 -0
  38. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.mjs +333 -0
  39. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.mjs.map +1 -0
  40. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.cjs +6 -0
  41. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs +6 -0
  42. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs.map +1 -0
  43. package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.cjs +4095 -0
  44. package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.mjs +4093 -0
  45. package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.mjs.map +1 -0
  46. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.cjs +449 -0
  47. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs +450 -0
  48. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs.map +1 -0
  49. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.cjs +47 -0
  50. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs +48 -0
  51. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs.map +1 -0
  52. package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.cjs +94 -0
  53. package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs +94 -0
  54. package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs.map +1 -0
  55. package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.cjs +78 -0
  56. package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs +78 -0
  57. package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs.map +1 -0
  58. package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.cjs +123 -0
  59. package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs +123 -0
  60. package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs.map +1 -0
  61. package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.cjs +246 -0
  62. package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs +244 -0
  63. package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs.map +1 -0
  64. package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.cjs +80 -0
  65. package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs +80 -0
  66. package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs.map +1 -0
  67. package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.cjs +80 -0
  68. package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs +80 -0
  69. package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs.map +1 -0
  70. package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.cjs +45 -0
  71. package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs +45 -0
  72. package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs.map +1 -0
  73. package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.cjs +45 -0
  74. package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs +45 -0
  75. package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs.map +1 -0
  76. package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.cjs +94 -0
  77. package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.mjs +92 -0
  78. package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.mjs.map +1 -0
  79. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/index.cjs +1 -0
  80. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/index.mjs +3 -0
  81. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.cjs +69 -0
  82. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.mjs +69 -0
  83. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.mjs.map +1 -0
  84. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.cjs +9 -0
  85. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.mjs +8 -0
  86. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.mjs.map +1 -0
  87. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.cjs +205 -0
  88. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.mjs +189 -0
  89. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.mjs.map +1 -0
  90. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.cjs +19 -0
  91. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.mjs +15 -0
  92. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.mjs.map +1 -0
  93. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.cjs +61 -0
  94. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +62 -0
  95. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs.map +1 -0
  96. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.cjs +35 -0
  97. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.mjs +35 -0
  98. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.mjs.map +1 -0
  99. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.cjs +43 -0
  100. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +44 -0
  101. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.mjs.map +1 -0
  102. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.cjs +488 -0
  103. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.mjs +489 -0
  104. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.mjs.map +1 -0
  105. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.cjs +148 -0
  106. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.mjs +149 -0
  107. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.mjs.map +1 -0
  108. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.cjs +51 -0
  109. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.mjs +52 -0
  110. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.mjs.map +1 -0
  111. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.cjs +126 -0
  112. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.mjs +127 -0
  113. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.mjs.map +1 -0
  114. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.cjs +57 -0
  115. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.mjs +57 -0
  116. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.mjs.map +1 -0
  117. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.cjs +23 -0
  118. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs +23 -0
  119. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs.map +1 -0
  120. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.cjs +31 -0
  121. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs +31 -0
  122. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs.map +1 -0
  123. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.cjs +217 -0
  124. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs +218 -0
  125. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs.map +1 -0
  126. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.cjs +274 -0
  127. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.mjs +274 -0
  128. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.mjs.map +1 -0
  129. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.cjs +107 -0
  130. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.mjs +108 -0
  131. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.mjs.map +1 -0
  132. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.cjs +27 -0
  133. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.mjs +27 -0
  134. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.mjs.map +1 -0
  135. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.cjs +48 -0
  136. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.mjs +48 -0
  137. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.mjs.map +1 -0
  138. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.cjs +35 -0
  139. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.mjs +36 -0
  140. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.mjs.map +1 -0
  141. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.cjs +26 -0
  142. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.mjs +27 -0
  143. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.mjs.map +1 -0
  144. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.cjs +72 -0
  145. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.mjs +73 -0
  146. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.mjs.map +1 -0
  147. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.cjs +53 -0
  148. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.mjs +53 -0
  149. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.mjs.map +1 -0
  150. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.cjs +157 -0
  151. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.mjs +158 -0
  152. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.mjs.map +1 -0
  153. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.cjs +32 -0
  154. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.mjs +32 -0
  155. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.mjs.map +1 -0
  156. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.cjs +140 -0
  157. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.mjs +141 -0
  158. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.mjs.map +1 -0
  159. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.cjs +112 -0
  160. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.mjs +113 -0
  161. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.mjs.map +1 -0
  162. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.cjs +139 -0
  163. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.mjs +140 -0
  164. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.mjs.map +1 -0
  165. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.cjs +15 -0
  166. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.mjs +15 -0
  167. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.mjs.map +1 -0
  168. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.cjs +12 -0
  169. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.mjs +12 -0
  170. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.mjs.map +1 -0
  171. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.cjs +81 -0
  172. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.mjs +82 -0
  173. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.mjs.map +1 -0
  174. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.cjs +13 -0
  175. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.mjs +13 -0
  176. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.mjs.map +1 -0
  177. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.cjs +45 -0
  178. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.mjs +45 -0
  179. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.mjs.map +1 -0
  180. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.cjs +112 -0
  181. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +113 -0
  182. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.mjs.map +1 -0
  183. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.cjs +14 -0
  184. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.mjs +15 -0
  185. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.mjs.map +1 -0
  186. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.cjs +22 -0
  187. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.mjs +22 -0
  188. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.mjs.map +1 -0
  189. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.cjs +55 -0
  190. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.mjs +55 -0
  191. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.mjs.map +1 -0
  192. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.cjs +41 -0
  193. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.mjs +41 -0
  194. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.mjs.map +1 -0
  195. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.cjs +62 -0
  196. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs +62 -0
  197. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs.map +1 -0
  198. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.cjs +64 -0
  199. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.mjs +64 -0
  200. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.mjs.map +1 -0
  201. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.cjs +45 -0
  202. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.mjs +46 -0
  203. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.mjs.map +1 -0
  204. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.cjs +48 -0
  205. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.mjs +49 -0
  206. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.mjs.map +1 -0
  207. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.cjs +22 -0
  208. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs +22 -0
  209. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs.map +1 -0
  210. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.cjs +34 -0
  211. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +35 -0
  212. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.mjs.map +1 -0
  213. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.cjs +82 -0
  214. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.mjs +83 -0
  215. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.mjs.map +1 -0
  216. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.cjs +84 -0
  217. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.mjs +85 -0
  218. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.mjs.map +1 -0
  219. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.cjs +42 -0
  220. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.mjs +42 -0
  221. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.mjs.map +1 -0
  222. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.cjs +26 -0
  223. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.mjs +27 -0
  224. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.mjs.map +1 -0
  225. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.cjs +74 -0
  226. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +75 -0
  227. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.mjs.map +1 -0
  228. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.cjs +80 -0
  229. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs +80 -0
  230. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs.map +1 -0
  231. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.cjs +41 -0
  232. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.mjs +41 -0
  233. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.mjs.map +1 -0
  234. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.cjs +157 -0
  235. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.mjs +157 -0
  236. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.mjs.map +1 -0
  237. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.cjs +21 -0
  238. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.mjs +17 -0
  239. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.mjs.map +1 -0
  240. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.cjs +74 -0
  241. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs +74 -0
  242. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs.map +1 -0
  243. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.cjs +57 -0
  244. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs +57 -0
  245. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs.map +1 -0
  246. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.cjs +18 -0
  247. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs +18 -0
  248. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs.map +1 -0
  249. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.cjs +175 -0
  250. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs +175 -0
  251. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs.map +1 -0
  252. package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.cjs +19 -0
  253. package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.mjs +15 -0
  254. package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.mjs.map +1 -0
  255. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.cjs +104 -0
  256. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.mjs +104 -0
  257. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.mjs.map +1 -0
  258. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.cjs +73 -0
  259. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.mjs +68 -0
  260. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.mjs.map +1 -0
  261. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.cjs +266 -0
  262. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.mjs +262 -0
  263. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.mjs.map +1 -0
  264. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.cjs +575 -0
  265. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.mjs +543 -0
  266. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.mjs.map +1 -0
  267. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.cjs +27 -0
  268. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.mjs +21 -0
  269. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.mjs.map +1 -0
  270. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.cjs +105 -0
  271. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.mjs +94 -0
  272. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.mjs.map +1 -0
  273. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.cjs +33 -0
  274. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.mjs +34 -0
  275. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.mjs.map +1 -0
  276. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.cjs +99 -0
  277. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.mjs +93 -0
  278. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.mjs.map +1 -0
  279. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.cjs +2544 -0
  280. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.mjs +2545 -0
  281. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.mjs.map +1 -0
  282. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.cjs +296 -0
  283. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.mjs +297 -0
  284. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.mjs.map +1 -0
  285. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.cjs +26 -0
  286. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.mjs +28 -0
  287. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.mjs.map +1 -0
  288. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.cjs +2069 -0
  289. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.mjs +2069 -0
  290. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.mjs.map +1 -0
  291. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.cjs +156 -0
  292. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.mjs +157 -0
  293. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.mjs.map +1 -0
  294. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.cjs +166 -0
  295. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.mjs +167 -0
  296. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.mjs.map +1 -0
  297. package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.cjs +299 -0
  298. package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.mjs +295 -0
  299. package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.mjs.map +1 -0
  300. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.cjs +6 -0
  301. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs +6 -0
  302. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs.map +1 -0
  303. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.cjs +6 -0
  304. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs +6 -0
  305. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs.map +1 -0
  306. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.cjs +6 -0
  307. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs +6 -0
  308. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs.map +1 -0
  309. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.cjs +6 -0
  310. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs +6 -0
  311. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs.map +1 -0
  312. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.cjs +6 -0
  313. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs +6 -0
  314. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs.map +1 -0
  315. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.cjs +25 -0
  316. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs +21 -0
  317. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs.map +1 -0
  318. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.cjs +6 -0
  319. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs +6 -0
  320. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs.map +1 -0
  321. package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.cjs +15 -0
  322. package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.mjs +17 -0
  323. package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.mjs.map +1 -0
  324. package/dist/{plugin-changelog → packages/plugin-changelog}/dist/components/changelog-command.cjs +5 -4
  325. package/dist/packages/plugin-changelog/dist/components/changelog-command.mjs +4 -3
  326. package/dist/packages/plugin-changelog/dist/components/changelog-command.mjs.map +1 -1
  327. package/dist/{plugin-changelog → packages/plugin-changelog}/dist/index.cjs +1 -1
  328. package/dist/packages/unified/dist/html-DzncQodH.cjs +156 -0
  329. package/dist/packages/unified/dist/html-DzncQodH.mjs +157 -0
  330. package/dist/packages/unified/dist/html-DzncQodH.mjs.map +1 -0
  331. package/dist/packages/unified/dist/markdown/index.cjs +1 -0
  332. package/dist/packages/unified/dist/markdown/index.mjs +3 -0
  333. package/dist/packages/unified/dist/markdown-BiaU4FQg.cjs +82 -0
  334. package/dist/packages/unified/dist/markdown-BiaU4FQg.mjs +83 -0
  335. package/dist/packages/unified/dist/markdown-BiaU4FQg.mjs.map +1 -0
  336. package/package.json +35 -12
  337. package/dist/packages/unified/dist/markdown-Bs-BRrSC.mjs +0 -10
  338. package/dist/packages/unified/dist/markdown-Bs-BRrSC.mjs.map +0 -1
  339. package/dist/unified/dist/markdown-Bs-BRrSC.cjs +0 -10
  340. /package/dist/{plugin-changelog → packages/plugin-changelog}/dist/components/index.cjs +0 -0
@@ -0,0 +1,488 @@
1
+ const require_runtime = require('../../../../../../_virtual/_rolldown/runtime.cjs');
2
+ const require_decode = require('../../../../mdurl@2.0.0/node_modules/mdurl/lib/decode.cjs');
3
+ const require_encode = require('../../../../mdurl@2.0.0/node_modules/mdurl/lib/encode.cjs');
4
+ const require_format = require('../../../../mdurl@2.0.0/node_modules/mdurl/lib/format.cjs');
5
+ const require_parse = require('../../../../mdurl@2.0.0/node_modules/mdurl/lib/parse.cjs');
6
+ require('../../../../mdurl@2.0.0/node_modules/mdurl/index.cjs');
7
+ const require_utils = require('./common/utils.cjs');
8
+ const require_index$1 = require('./helpers/index.cjs');
9
+ const require_renderer = require('./renderer.cjs');
10
+ const require_parser_core = require('./parser_core.cjs');
11
+ const require_parser_block = require('./parser_block.cjs');
12
+ const require_parser_inline = require('./parser_inline.cjs');
13
+ const require_index$2 = require('../../../../linkify-it@5.0.0/node_modules/linkify-it/index.cjs');
14
+ const require_punycode$1 = require('../../../../punycode.js@2.3.1/node_modules/punycode.js/punycode.cjs');
15
+ const require_default = require('./presets/default.cjs');
16
+ const require_zero = require('./presets/zero.cjs');
17
+ const require_commonmark = require('./presets/commonmark.cjs');
18
+
19
+ //#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.mjs
20
+ var import_punycode = /* @__PURE__ */ require_runtime.__toESM(require_punycode$1.default, 1);
21
+ const config = {
22
+ default: require_default.default,
23
+ zero: require_zero.default,
24
+ commonmark: require_commonmark.default
25
+ };
26
+ const BAD_PROTO_RE = /^(vbscript|javascript|file|data):/;
27
+ const GOOD_DATA_RE = /^data:image\/(gif|png|jpeg|webp);/;
28
+ function validateLink(url) {
29
+ const str = url.trim().toLowerCase();
30
+ return BAD_PROTO_RE.test(str) ? GOOD_DATA_RE.test(str) : true;
31
+ }
32
+ const RECODE_HOSTNAME_FOR = [
33
+ "http:",
34
+ "https:",
35
+ "mailto:"
36
+ ];
37
+ function normalizeLink(url) {
38
+ const parsed = require_parse.default(url, true);
39
+ if (parsed.hostname) {
40
+ if (!parsed.protocol || RECODE_HOSTNAME_FOR.indexOf(parsed.protocol) >= 0) try {
41
+ parsed.hostname = import_punycode.default.toASCII(parsed.hostname);
42
+ } catch (er) {}
43
+ }
44
+ return require_encode.default(require_format.default(parsed));
45
+ }
46
+ function normalizeLinkText(url) {
47
+ const parsed = require_parse.default(url, true);
48
+ if (parsed.hostname) {
49
+ if (!parsed.protocol || RECODE_HOSTNAME_FOR.indexOf(parsed.protocol) >= 0) try {
50
+ parsed.hostname = import_punycode.default.toUnicode(parsed.hostname);
51
+ } catch (er) {}
52
+ }
53
+ return require_decode.default(require_format.default(parsed), require_decode.default.defaultChars + "%");
54
+ }
55
+ /**
56
+ * class MarkdownIt
57
+ *
58
+ * Main parser/renderer class.
59
+ *
60
+ * ##### Usage
61
+ *
62
+ * ```javascript
63
+ * // node.js, "classic" way:
64
+ * var MarkdownIt = require('markdown-it'),
65
+ * md = new MarkdownIt();
66
+ * var result = md.render('# markdown-it rulezz!');
67
+ *
68
+ * // node.js, the same, but with sugar:
69
+ * var md = require('markdown-it')();
70
+ * var result = md.render('# markdown-it rulezz!');
71
+ *
72
+ * // browser without AMD, added to "window" on script load
73
+ * // Note, there are no dash.
74
+ * var md = window.markdownit();
75
+ * var result = md.render('# markdown-it rulezz!');
76
+ * ```
77
+ *
78
+ * Single line rendering, without paragraph wrap:
79
+ *
80
+ * ```javascript
81
+ * var md = require('markdown-it')();
82
+ * var result = md.renderInline('__markdown-it__ rulezz!');
83
+ * ```
84
+ **/
85
+ /**
86
+ * new MarkdownIt([presetName, options])
87
+ * - presetName (String): optional, `commonmark` / `zero`
88
+ * - options (Object)
89
+ *
90
+ * Creates parser instanse with given config. Can be called without `new`.
91
+ *
92
+ * ##### presetName
93
+ *
94
+ * MarkdownIt provides named presets as a convenience to quickly
95
+ * enable/disable active syntax rules and options for common use cases.
96
+ *
97
+ * - ["commonmark"](https://github.com/markdown-it/markdown-it/blob/master/lib/presets/commonmark.mjs) -
98
+ * configures parser to strict [CommonMark](http://commonmark.org/) mode.
99
+ * - [default](https://github.com/markdown-it/markdown-it/blob/master/lib/presets/default.mjs) -
100
+ * similar to GFM, used when no preset name given. Enables all available rules,
101
+ * but still without html, typographer & autolinker.
102
+ * - ["zero"](https://github.com/markdown-it/markdown-it/blob/master/lib/presets/zero.mjs) -
103
+ * all rules disabled. Useful to quickly setup your config via `.enable()`.
104
+ * For example, when you need only `bold` and `italic` markup and nothing else.
105
+ *
106
+ * ##### options:
107
+ *
108
+ * - __html__ - `false`. Set `true` to enable HTML tags in source. Be careful!
109
+ * That's not safe! You may need external sanitizer to protect output from XSS.
110
+ * It's better to extend features via plugins, instead of enabling HTML.
111
+ * - __xhtmlOut__ - `false`. Set `true` to add '/' when closing single tags
112
+ * (`<br />`). This is needed only for full CommonMark compatibility. In real
113
+ * world you will need HTML output.
114
+ * - __breaks__ - `false`. Set `true` to convert `\n` in paragraphs into `<br>`.
115
+ * - __langPrefix__ - `language-`. CSS language class prefix for fenced blocks.
116
+ * Can be useful for external highlighters.
117
+ * - __linkify__ - `false`. Set `true` to autoconvert URL-like text to links.
118
+ * - __typographer__ - `false`. Set `true` to enable [some language-neutral
119
+ * replacement](https://github.com/markdown-it/markdown-it/blob/master/lib/rules_core/replacements.mjs) +
120
+ * quotes beautification (smartquotes).
121
+ * - __quotes__ - `“”‘’`, String or Array. Double + single quotes replacement
122
+ * pairs, when typographer enabled and smartquotes on. For example, you can
123
+ * use `'«»„“'` for Russian, `'„“‚‘'` for German, and
124
+ * `['«\xA0', '\xA0»', '‹\xA0', '\xA0›']` for French (including nbsp).
125
+ * - __highlight__ - `null`. Highlighter function for fenced code blocks.
126
+ * Highlighter `function (str, lang)` should return escaped HTML. It can also
127
+ * return empty string if the source was not changed and should be escaped
128
+ * externaly. If result starts with <pre... internal wrapper is skipped.
129
+ *
130
+ * ##### Example
131
+ *
132
+ * ```javascript
133
+ * // commonmark mode
134
+ * var md = require('markdown-it')('commonmark');
135
+ *
136
+ * // default mode
137
+ * var md = require('markdown-it')();
138
+ *
139
+ * // enable everything
140
+ * var md = require('markdown-it')({
141
+ * html: true,
142
+ * linkify: true,
143
+ * typographer: true
144
+ * });
145
+ * ```
146
+ *
147
+ * ##### Syntax highlighting
148
+ *
149
+ * ```js
150
+ * var hljs = require('highlight.js') // https://highlightjs.org/
151
+ *
152
+ * var md = require('markdown-it')({
153
+ * highlight: function (str, lang) {
154
+ * if (lang && hljs.getLanguage(lang)) {
155
+ * try {
156
+ * return hljs.highlight(str, { language: lang, ignoreIllegals: true }).value;
157
+ * } catch (__) {}
158
+ * }
159
+ *
160
+ * return ''; // use external default escaping
161
+ * }
162
+ * });
163
+ * ```
164
+ *
165
+ * Or with full wrapper override (if you need assign class to `<pre>` or `<code>`):
166
+ *
167
+ * ```javascript
168
+ * var hljs = require('highlight.js') // https://highlightjs.org/
169
+ *
170
+ * // Actual default values
171
+ * var md = require('markdown-it')({
172
+ * highlight: function (str, lang) {
173
+ * if (lang && hljs.getLanguage(lang)) {
174
+ * try {
175
+ * return '<pre><code class="hljs">' +
176
+ * hljs.highlight(str, { language: lang, ignoreIllegals: true }).value +
177
+ * '</code></pre>';
178
+ * } catch (__) {}
179
+ * }
180
+ *
181
+ * return '<pre><code class="hljs">' + md.utils.escapeHtml(str) + '</code></pre>';
182
+ * }
183
+ * });
184
+ * ```
185
+ *
186
+ **/
187
+ function MarkdownIt(presetName, options) {
188
+ if (!(this instanceof MarkdownIt)) return new MarkdownIt(presetName, options);
189
+ if (!options) {
190
+ if (!require_utils.isString(presetName)) {
191
+ options = presetName || {};
192
+ presetName = "default";
193
+ }
194
+ }
195
+ /**
196
+ * MarkdownIt#inline -> ParserInline
197
+ *
198
+ * Instance of [[ParserInline]]. You may need it to add new rules when
199
+ * writing plugins. For simple rules control use [[MarkdownIt.disable]] and
200
+ * [[MarkdownIt.enable]].
201
+ **/
202
+ this.inline = new require_parser_inline.default();
203
+ /**
204
+ * MarkdownIt#block -> ParserBlock
205
+ *
206
+ * Instance of [[ParserBlock]]. You may need it to add new rules when
207
+ * writing plugins. For simple rules control use [[MarkdownIt.disable]] and
208
+ * [[MarkdownIt.enable]].
209
+ **/
210
+ this.block = new require_parser_block.default();
211
+ /**
212
+ * MarkdownIt#core -> Core
213
+ *
214
+ * Instance of [[Core]] chain executor. You may need it to add new rules when
215
+ * writing plugins. For simple rules control use [[MarkdownIt.disable]] and
216
+ * [[MarkdownIt.enable]].
217
+ **/
218
+ this.core = new require_parser_core.default();
219
+ /**
220
+ * MarkdownIt#renderer -> Renderer
221
+ *
222
+ * Instance of [[Renderer]]. Use it to modify output look. Or to add rendering
223
+ * rules for new token types, generated by plugins.
224
+ *
225
+ * ##### Example
226
+ *
227
+ * ```javascript
228
+ * var md = require('markdown-it')();
229
+ *
230
+ * function myToken(tokens, idx, options, env, self) {
231
+ * //...
232
+ * return result;
233
+ * };
234
+ *
235
+ * md.renderer.rules['my_token'] = myToken
236
+ * ```
237
+ *
238
+ * See [[Renderer]] docs and [source code](https://github.com/markdown-it/markdown-it/blob/master/lib/renderer.mjs).
239
+ **/
240
+ this.renderer = new require_renderer.default();
241
+ /**
242
+ * MarkdownIt#linkify -> LinkifyIt
243
+ *
244
+ * [linkify-it](https://github.com/markdown-it/linkify-it) instance.
245
+ * Used by [linkify](https://github.com/markdown-it/markdown-it/blob/master/lib/rules_core/linkify.mjs)
246
+ * rule.
247
+ **/
248
+ this.linkify = new require_index$2.default();
249
+ /**
250
+ * MarkdownIt#validateLink(url) -> Boolean
251
+ *
252
+ * Link validation function. CommonMark allows too much in links. By default
253
+ * we disable `javascript:`, `vbscript:`, `file:` schemas, and almost all `data:...` schemas
254
+ * except some embedded image types.
255
+ *
256
+ * You can change this behaviour:
257
+ *
258
+ * ```javascript
259
+ * var md = require('markdown-it')();
260
+ * // enable everything
261
+ * md.validateLink = function () { return true; }
262
+ * ```
263
+ **/
264
+ this.validateLink = validateLink;
265
+ /**
266
+ * MarkdownIt#normalizeLink(url) -> String
267
+ *
268
+ * Function used to encode link url to a machine-readable format,
269
+ * which includes url-encoding, punycode, etc.
270
+ **/
271
+ this.normalizeLink = normalizeLink;
272
+ /**
273
+ * MarkdownIt#normalizeLinkText(url) -> String
274
+ *
275
+ * Function used to decode link url to a human-readable format`
276
+ **/
277
+ this.normalizeLinkText = normalizeLinkText;
278
+ /**
279
+ * MarkdownIt#utils -> utils
280
+ *
281
+ * Assorted utility functions, useful to write plugins. See details
282
+ * [here](https://github.com/markdown-it/markdown-it/blob/master/lib/common/utils.mjs).
283
+ **/
284
+ this.utils = require_utils.utils_exports;
285
+ /**
286
+ * MarkdownIt#helpers -> helpers
287
+ *
288
+ * Link components parser functions, useful to write plugins. See details
289
+ * [here](https://github.com/markdown-it/markdown-it/blob/master/lib/helpers).
290
+ **/
291
+ this.helpers = require_utils.assign({}, require_index$1.helpers_exports);
292
+ this.options = {};
293
+ this.configure(presetName);
294
+ if (options) this.set(options);
295
+ }
296
+ /** chainable
297
+ * MarkdownIt.set(options)
298
+ *
299
+ * Set parser options (in the same format as in constructor). Probably, you
300
+ * will never need it, but you can change options after constructor call.
301
+ *
302
+ * ##### Example
303
+ *
304
+ * ```javascript
305
+ * var md = require('markdown-it')()
306
+ * .set({ html: true, breaks: true })
307
+ * .set({ typographer, true });
308
+ * ```
309
+ *
310
+ * __Note:__ To achieve the best possible performance, don't modify a
311
+ * `markdown-it` instance options on the fly. If you need multiple configurations
312
+ * it's best to create multiple instances and initialize each with separate
313
+ * config.
314
+ **/
315
+ MarkdownIt.prototype.set = function(options) {
316
+ require_utils.assign(this.options, options);
317
+ return this;
318
+ };
319
+ /** chainable, internal
320
+ * MarkdownIt.configure(presets)
321
+ *
322
+ * Batch load of all options and compenent settings. This is internal method,
323
+ * and you probably will not need it. But if you will - see available presets
324
+ * and data structure [here](https://github.com/markdown-it/markdown-it/tree/master/lib/presets)
325
+ *
326
+ * We strongly recommend to use presets instead of direct config loads. That
327
+ * will give better compatibility with next versions.
328
+ **/
329
+ MarkdownIt.prototype.configure = function(presets) {
330
+ const self = this;
331
+ if (require_utils.isString(presets)) {
332
+ const presetName = presets;
333
+ presets = config[presetName];
334
+ if (!presets) throw new Error("Wrong `markdown-it` preset \"" + presetName + "\", check name");
335
+ }
336
+ if (!presets) throw new Error("Wrong `markdown-it` preset, can't be empty");
337
+ if (presets.options) self.set(presets.options);
338
+ if (presets.components) Object.keys(presets.components).forEach(function(name) {
339
+ if (presets.components[name].rules) self[name].ruler.enableOnly(presets.components[name].rules);
340
+ if (presets.components[name].rules2) self[name].ruler2.enableOnly(presets.components[name].rules2);
341
+ });
342
+ return this;
343
+ };
344
+ /** chainable
345
+ * MarkdownIt.enable(list, ignoreInvalid)
346
+ * - list (String|Array): rule name or list of rule names to enable
347
+ * - ignoreInvalid (Boolean): set `true` to ignore errors when rule not found.
348
+ *
349
+ * Enable list or rules. It will automatically find appropriate components,
350
+ * containing rules with given names. If rule not found, and `ignoreInvalid`
351
+ * not set - throws exception.
352
+ *
353
+ * ##### Example
354
+ *
355
+ * ```javascript
356
+ * var md = require('markdown-it')()
357
+ * .enable(['sub', 'sup'])
358
+ * .disable('smartquotes');
359
+ * ```
360
+ **/
361
+ MarkdownIt.prototype.enable = function(list, ignoreInvalid) {
362
+ let result = [];
363
+ if (!Array.isArray(list)) list = [list];
364
+ [
365
+ "core",
366
+ "block",
367
+ "inline"
368
+ ].forEach(function(chain) {
369
+ result = result.concat(this[chain].ruler.enable(list, true));
370
+ }, this);
371
+ result = result.concat(this.inline.ruler2.enable(list, true));
372
+ const missed = list.filter(function(name) {
373
+ return result.indexOf(name) < 0;
374
+ });
375
+ if (missed.length && !ignoreInvalid) throw new Error("MarkdownIt. Failed to enable unknown rule(s): " + missed);
376
+ return this;
377
+ };
378
+ /** chainable
379
+ * MarkdownIt.disable(list, ignoreInvalid)
380
+ * - list (String|Array): rule name or list of rule names to disable.
381
+ * - ignoreInvalid (Boolean): set `true` to ignore errors when rule not found.
382
+ *
383
+ * The same as [[MarkdownIt.enable]], but turn specified rules off.
384
+ **/
385
+ MarkdownIt.prototype.disable = function(list, ignoreInvalid) {
386
+ let result = [];
387
+ if (!Array.isArray(list)) list = [list];
388
+ [
389
+ "core",
390
+ "block",
391
+ "inline"
392
+ ].forEach(function(chain) {
393
+ result = result.concat(this[chain].ruler.disable(list, true));
394
+ }, this);
395
+ result = result.concat(this.inline.ruler2.disable(list, true));
396
+ const missed = list.filter(function(name) {
397
+ return result.indexOf(name) < 0;
398
+ });
399
+ if (missed.length && !ignoreInvalid) throw new Error("MarkdownIt. Failed to disable unknown rule(s): " + missed);
400
+ return this;
401
+ };
402
+ /** chainable
403
+ * MarkdownIt.use(plugin, params)
404
+ *
405
+ * Load specified plugin with given params into current parser instance.
406
+ * It's just a sugar to call `plugin(md, params)` with curring.
407
+ *
408
+ * ##### Example
409
+ *
410
+ * ```javascript
411
+ * var iterator = require('markdown-it-for-inline');
412
+ * var md = require('markdown-it')()
413
+ * .use(iterator, 'foo_replace', 'text', function (tokens, idx) {
414
+ * tokens[idx].content = tokens[idx].content.replace(/foo/g, 'bar');
415
+ * });
416
+ * ```
417
+ **/
418
+ MarkdownIt.prototype.use = function(plugin) {
419
+ const args = [this].concat(Array.prototype.slice.call(arguments, 1));
420
+ plugin.apply(plugin, args);
421
+ return this;
422
+ };
423
+ /** internal
424
+ * MarkdownIt.parse(src, env) -> Array
425
+ * - src (String): source string
426
+ * - env (Object): environment sandbox
427
+ *
428
+ * Parse input string and return list of block tokens (special token type
429
+ * "inline" will contain list of inline tokens). You should not call this
430
+ * method directly, until you write custom renderer (for example, to produce
431
+ * AST).
432
+ *
433
+ * `env` is used to pass data between "distributed" rules and return additional
434
+ * metadata like reference info, needed for the renderer. It also can be used to
435
+ * inject data in specific cases. Usually, you will be ok to pass `{}`,
436
+ * and then pass updated object to renderer.
437
+ **/
438
+ MarkdownIt.prototype.parse = function(src, env) {
439
+ if (typeof src !== "string") throw new Error("Input data should be a String");
440
+ const state = new this.core.State(src, this, env);
441
+ this.core.process(state);
442
+ return state.tokens;
443
+ };
444
+ /**
445
+ * MarkdownIt.render(src [, env]) -> String
446
+ * - src (String): source string
447
+ * - env (Object): environment sandbox
448
+ *
449
+ * Render markdown string into html. It does all magic for you :).
450
+ *
451
+ * `env` can be used to inject additional metadata (`{}` by default).
452
+ * But you will not need it with high probability. See also comment
453
+ * in [[MarkdownIt.parse]].
454
+ **/
455
+ MarkdownIt.prototype.render = function(src, env) {
456
+ env = env || {};
457
+ return this.renderer.render(this.parse(src, env), this.options, env);
458
+ };
459
+ /** internal
460
+ * MarkdownIt.parseInline(src, env) -> Array
461
+ * - src (String): source string
462
+ * - env (Object): environment sandbox
463
+ *
464
+ * The same as [[MarkdownIt.parse]] but skip all block rules. It returns the
465
+ * block tokens list with the single `inline` element, containing parsed inline
466
+ * tokens in `children` property. Also updates `env` object.
467
+ **/
468
+ MarkdownIt.prototype.parseInline = function(src, env) {
469
+ const state = new this.core.State(src, this, env);
470
+ state.inlineMode = true;
471
+ this.core.process(state);
472
+ return state.tokens;
473
+ };
474
+ /**
475
+ * MarkdownIt.renderInline(src [, env]) -> String
476
+ * - src (String): source string
477
+ * - env (Object): environment sandbox
478
+ *
479
+ * Similar to [[MarkdownIt.render]] but for single paragraph content. Result
480
+ * will NOT be wrapped into `<p>` tags.
481
+ **/
482
+ MarkdownIt.prototype.renderInline = function(src, env) {
483
+ env = env || {};
484
+ return this.renderer.render(this.parseInline(src, env), this.options, env);
485
+ };
486
+
487
+ //#endregion
488
+ exports.default = MarkdownIt;