@shell-shock/preset-cli 0.9.10 → 0.9.12

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 (360) hide show
  1. package/dist/_virtual/_rolldown/runtime.cjs +16 -0
  2. package/dist/_virtual/_rolldown/runtime.mjs +45 -0
  3. package/dist/components/upgrade-builtin.cjs +1 -1
  4. package/dist/components/upgrade-builtin.mjs +1 -1
  5. package/dist/components/upgrade-builtin.mjs.map +1 -1
  6. package/dist/index.cjs +1 -2
  7. package/dist/index.mjs +0 -1
  8. package/dist/index.mjs.map +1 -1
  9. 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
  10. 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
  11. 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
  12. package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.cjs +167 -0
  13. package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.mjs +167 -0
  14. package/dist/node_modules/.pnpm/ansi-styles@6.2.3/node_modules/ansi-styles/index.mjs.map +1 -0
  15. package/dist/node_modules/.pnpm/chalk-string@4.0.0/node_modules/chalk-string/build/src/args.cjs +36 -0
  16. package/dist/node_modules/.pnpm/chalk-string@4.0.0/node_modules/chalk-string/build/src/args.mjs +36 -0
  17. package/dist/node_modules/.pnpm/chalk-string@4.0.0/node_modules/chalk-string/build/src/args.mjs.map +1 -0
  18. package/dist/node_modules/.pnpm/chalk-string@4.0.0/node_modules/chalk-string/build/src/main.cjs +32 -0
  19. package/dist/node_modules/.pnpm/chalk-string@4.0.0/node_modules/chalk-string/build/src/main.mjs +33 -0
  20. package/dist/node_modules/.pnpm/chalk-string@4.0.0/node_modules/chalk-string/build/src/main.mjs.map +1 -0
  21. package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.cjs +133 -0
  22. package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.mjs +134 -0
  23. package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/index.mjs.map +1 -0
  24. package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/utilities.cjs +32 -0
  25. package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/utilities.mjs +31 -0
  26. package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/utilities.mjs.map +1 -0
  27. package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/ansi-styles/index.cjs +169 -0
  28. package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/ansi-styles/index.mjs +167 -0
  29. package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/ansi-styles/index.mjs.map +1 -0
  30. package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/supports-color/index.cjs +98 -0
  31. package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/supports-color/index.mjs +95 -0
  32. package/dist/node_modules/.pnpm/chalk@5.6.2/node_modules/chalk/source/vendor/supports-color/index.mjs.map +1 -0
  33. package/dist/node_modules/.pnpm/colors-option@6.1.2/node_modules/colors-option/build/src/main.cjs +23 -0
  34. package/dist/node_modules/.pnpm/colors-option@6.1.2/node_modules/colors-option/build/src/main.mjs +23 -0
  35. package/dist/node_modules/.pnpm/colors-option@6.1.2/node_modules/colors-option/build/src/main.mjs.map +1 -0
  36. package/dist/node_modules/.pnpm/colors-option@6.1.2/node_modules/colors-option/build/src/options.cjs +36 -0
  37. package/dist/node_modules/.pnpm/colors-option@6.1.2/node_modules/colors-option/build/src/options.mjs +36 -0
  38. package/dist/node_modules/.pnpm/colors-option@6.1.2/node_modules/colors-option/build/src/options.mjs.map +1 -0
  39. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.cjs +373 -0
  40. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs +374 -0
  41. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs.map +1 -0
  42. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.cjs +60 -0
  43. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs +59 -0
  44. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs.map +1 -0
  45. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.cjs +6 -0
  46. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs +6 -0
  47. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs.map +1 -0
  48. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.cjs +6 -0
  49. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs +6 -0
  50. package/dist/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs.map +1 -0
  51. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.cjs +59 -0
  52. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs +59 -0
  53. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode-codepoint.mjs.map +1 -0
  54. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.cjs +338 -0
  55. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.mjs +333 -0
  56. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/decode.mjs.map +1 -0
  57. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.cjs +6 -0
  58. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs +6 -0
  59. package/dist/node_modules/.pnpm/entities@6.0.1/node_modules/entities/dist/esm/generated/decode-data-html.mjs.map +1 -0
  60. package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.cjs +4095 -0
  61. package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.mjs +4093 -0
  62. package/dist/node_modules/.pnpm/he@1.2.0/node_modules/he/he.mjs.map +1 -0
  63. package/dist/node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.cjs +10 -0
  64. package/dist/node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.mjs +10 -0
  65. package/dist/node_modules/.pnpm/is-plain-obj@4.1.0/node_modules/is-plain-obj/index.mjs.map +1 -0
  66. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.cjs +449 -0
  67. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs +450 -0
  68. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs.map +1 -0
  69. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.cjs +47 -0
  70. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs +48 -0
  71. package/dist/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs.map +1 -0
  72. package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.cjs +94 -0
  73. package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs +94 -0
  74. package/dist/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs.map +1 -0
  75. package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.cjs +78 -0
  76. package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs +78 -0
  77. package/dist/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs.map +1 -0
  78. package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.cjs +123 -0
  79. package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs +123 -0
  80. package/dist/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs.map +1 -0
  81. package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.cjs +246 -0
  82. package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs +244 -0
  83. package/dist/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs.map +1 -0
  84. package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.cjs +80 -0
  85. package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs +80 -0
  86. package/dist/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs.map +1 -0
  87. package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.cjs +80 -0
  88. package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs +80 -0
  89. package/dist/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs.map +1 -0
  90. package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.cjs +45 -0
  91. package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs +45 -0
  92. package/dist/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs.map +1 -0
  93. package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.cjs +45 -0
  94. package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs +45 -0
  95. package/dist/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs.map +1 -0
  96. package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.cjs +94 -0
  97. package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.mjs +92 -0
  98. package/dist/node_modules/.pnpm/markdown-it-task-lists@2.1.1/node_modules/markdown-it-task-lists/index.mjs.map +1 -0
  99. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/index.cjs +1 -0
  100. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/index.mjs +3 -0
  101. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.cjs +69 -0
  102. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.mjs +69 -0
  103. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_blocks.mjs.map +1 -0
  104. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.cjs +9 -0
  105. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.mjs +8 -0
  106. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/html_re.mjs.map +1 -0
  107. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.cjs +205 -0
  108. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.mjs +189 -0
  109. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/common/utils.mjs.map +1 -0
  110. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.cjs +19 -0
  111. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.mjs +15 -0
  112. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/index.mjs.map +1 -0
  113. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.cjs +61 -0
  114. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +62 -0
  115. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs.map +1 -0
  116. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.cjs +35 -0
  117. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.mjs +35 -0
  118. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_label.mjs.map +1 -0
  119. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.cjs +43 -0
  120. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +44 -0
  121. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/helpers/parse_link_title.mjs.map +1 -0
  122. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.cjs +488 -0
  123. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.mjs +489 -0
  124. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/index.mjs.map +1 -0
  125. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.cjs +148 -0
  126. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.mjs +149 -0
  127. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_block.mjs.map +1 -0
  128. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.cjs +51 -0
  129. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.mjs +52 -0
  130. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_core.mjs.map +1 -0
  131. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.cjs +126 -0
  132. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.mjs +127 -0
  133. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/parser_inline.mjs.map +1 -0
  134. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.cjs +57 -0
  135. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.mjs +57 -0
  136. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/commonmark.mjs.map +1 -0
  137. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.cjs +23 -0
  138. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs +23 -0
  139. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/default.mjs.map +1 -0
  140. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.cjs +31 -0
  141. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs +31 -0
  142. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/presets/zero.mjs.map +1 -0
  143. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.cjs +217 -0
  144. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs +218 -0
  145. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/renderer.mjs.map +1 -0
  146. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.cjs +274 -0
  147. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.mjs +274 -0
  148. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/ruler.mjs.map +1 -0
  149. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.cjs +107 -0
  150. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.mjs +108 -0
  151. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/blockquote.mjs.map +1 -0
  152. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.cjs +27 -0
  153. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.mjs +27 -0
  154. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/code.mjs.map +1 -0
  155. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.cjs +48 -0
  156. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.mjs +48 -0
  157. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/fence.mjs.map +1 -0
  158. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.cjs +35 -0
  159. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.mjs +36 -0
  160. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/heading.mjs.map +1 -0
  161. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.cjs +26 -0
  162. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.mjs +27 -0
  163. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/hr.mjs.map +1 -0
  164. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.cjs +72 -0
  165. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.mjs +73 -0
  166. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/html_block.mjs.map +1 -0
  167. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.cjs +53 -0
  168. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.mjs +53 -0
  169. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/lheading.mjs.map +1 -0
  170. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.cjs +157 -0
  171. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.mjs +158 -0
  172. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/list.mjs.map +1 -0
  173. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.cjs +32 -0
  174. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.mjs +32 -0
  175. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/paragraph.mjs.map +1 -0
  176. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.cjs +140 -0
  177. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.mjs +141 -0
  178. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/reference.mjs.map +1 -0
  179. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.cjs +112 -0
  180. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.mjs +113 -0
  181. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/state_block.mjs.map +1 -0
  182. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.cjs +139 -0
  183. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.mjs +140 -0
  184. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_block/table.mjs.map +1 -0
  185. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.cjs +15 -0
  186. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.mjs +15 -0
  187. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/block.mjs.map +1 -0
  188. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.cjs +12 -0
  189. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.mjs +12 -0
  190. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/inline.mjs.map +1 -0
  191. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.cjs +81 -0
  192. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.mjs +82 -0
  193. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/linkify.mjs.map +1 -0
  194. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.cjs +13 -0
  195. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.mjs +13 -0
  196. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/normalize.mjs.map +1 -0
  197. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.cjs +45 -0
  198. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.mjs +45 -0
  199. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/replacements.mjs.map +1 -0
  200. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.cjs +112 -0
  201. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +113 -0
  202. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/smartquotes.mjs.map +1 -0
  203. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.cjs +14 -0
  204. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.mjs +15 -0
  205. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/state_core.mjs.map +1 -0
  206. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.cjs +22 -0
  207. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.mjs +22 -0
  208. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_core/text_join.mjs.map +1 -0
  209. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.cjs +55 -0
  210. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.mjs +55 -0
  211. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/autolink.mjs.map +1 -0
  212. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.cjs +41 -0
  213. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.mjs +41 -0
  214. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/backticks.mjs.map +1 -0
  215. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.cjs +62 -0
  216. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs +62 -0
  217. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs.map +1 -0
  218. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.cjs +64 -0
  219. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.mjs +64 -0
  220. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/emphasis.mjs.map +1 -0
  221. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.cjs +45 -0
  222. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.mjs +46 -0
  223. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/entity.mjs.map +1 -0
  224. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.cjs +48 -0
  225. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.mjs +49 -0
  226. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/escape.mjs.map +1 -0
  227. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.cjs +22 -0
  228. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs +22 -0
  229. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs.map +1 -0
  230. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.cjs +34 -0
  231. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +35 -0
  232. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/html_inline.mjs.map +1 -0
  233. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.cjs +82 -0
  234. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.mjs +83 -0
  235. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.mjs.map +1 -0
  236. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.cjs +84 -0
  237. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.mjs +85 -0
  238. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.mjs.map +1 -0
  239. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.cjs +42 -0
  240. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.mjs +42 -0
  241. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.mjs.map +1 -0
  242. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.cjs +26 -0
  243. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.mjs +27 -0
  244. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.mjs.map +1 -0
  245. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.cjs +74 -0
  246. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +75 -0
  247. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.mjs.map +1 -0
  248. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.cjs +80 -0
  249. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs +80 -0
  250. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs.map +1 -0
  251. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.cjs +41 -0
  252. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.mjs +41 -0
  253. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/text.mjs.map +1 -0
  254. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.cjs +157 -0
  255. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.mjs +157 -0
  256. package/dist/node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/token.mjs.map +1 -0
  257. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.cjs +21 -0
  258. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.mjs +17 -0
  259. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.mjs.map +1 -0
  260. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.cjs +74 -0
  261. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs +74 -0
  262. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs.map +1 -0
  263. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.cjs +57 -0
  264. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs +57 -0
  265. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs.map +1 -0
  266. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.cjs +18 -0
  267. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs +18 -0
  268. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs.map +1 -0
  269. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.cjs +175 -0
  270. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs +175 -0
  271. package/dist/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs.map +1 -0
  272. package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.cjs +19 -0
  273. package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.mjs +15 -0
  274. package/dist/node_modules/.pnpm/normalize-html-whitespace@1.0.0/node_modules/normalize-html-whitespace/index.mjs.map +1 -0
  275. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.cjs +104 -0
  276. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.mjs +104 -0
  277. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/doctype.mjs.map +1 -0
  278. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.cjs +73 -0
  279. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.mjs +68 -0
  280. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/error-codes.mjs.map +1 -0
  281. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.cjs +266 -0
  282. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.mjs +262 -0
  283. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/foreign-content.mjs.map +1 -0
  284. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.cjs +575 -0
  285. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.mjs +543 -0
  286. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/html.mjs.map +1 -0
  287. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.cjs +27 -0
  288. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.mjs +21 -0
  289. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/token.mjs.map +1 -0
  290. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.cjs +105 -0
  291. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.mjs +94 -0
  292. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/common/unicode.mjs.map +1 -0
  293. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.cjs +33 -0
  294. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.mjs +34 -0
  295. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/index.mjs.map +1 -0
  296. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.cjs +99 -0
  297. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.mjs +93 -0
  298. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/formatting-element-list.mjs.map +1 -0
  299. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.cjs +2544 -0
  300. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.mjs +2545 -0
  301. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/index.mjs.map +1 -0
  302. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.cjs +296 -0
  303. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.mjs +297 -0
  304. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/parser/open-element-stack.mjs.map +1 -0
  305. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.cjs +26 -0
  306. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.mjs +28 -0
  307. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/serializer/index.mjs.map +1 -0
  308. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.cjs +2069 -0
  309. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.mjs +2069 -0
  310. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/index.mjs.map +1 -0
  311. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.cjs +156 -0
  312. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.mjs +157 -0
  313. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.mjs.map +1 -0
  314. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.cjs +166 -0
  315. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.mjs +167 -0
  316. package/dist/node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.mjs.map +1 -0
  317. package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.cjs +299 -0
  318. package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.mjs +295 -0
  319. package/dist/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.mjs.map +1 -0
  320. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.cjs +6 -0
  321. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs +6 -0
  322. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs.map +1 -0
  323. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.cjs +6 -0
  324. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs +6 -0
  325. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs.map +1 -0
  326. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.cjs +6 -0
  327. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs +6 -0
  328. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs.map +1 -0
  329. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.cjs +6 -0
  330. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs +6 -0
  331. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs.map +1 -0
  332. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.cjs +6 -0
  333. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs +6 -0
  334. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs.map +1 -0
  335. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.cjs +25 -0
  336. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs +21 -0
  337. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs.map +1 -0
  338. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.cjs +6 -0
  339. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs +6 -0
  340. package/dist/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs.map +1 -0
  341. package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.cjs +15 -0
  342. package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.mjs +17 -0
  343. package/dist/node_modules/.pnpm/wrap-ansi@10.0.0/node_modules/wrap-ansi/index.mjs.map +1 -0
  344. package/dist/{plugin-changelog → packages/plugin-changelog}/dist/components/changelog-command.cjs +5 -4
  345. package/dist/packages/plugin-changelog/dist/components/changelog-command.mjs +4 -3
  346. package/dist/packages/plugin-changelog/dist/components/changelog-command.mjs.map +1 -1
  347. package/dist/{plugin-changelog → packages/plugin-changelog}/dist/index.cjs +1 -1
  348. package/dist/packages/unified/dist/html-Di3_LwV3.cjs +337 -0
  349. package/dist/packages/unified/dist/html-Di3_LwV3.mjs +338 -0
  350. package/dist/packages/unified/dist/html-Di3_LwV3.mjs.map +1 -0
  351. package/dist/packages/unified/dist/markdown/index.cjs +1 -0
  352. package/dist/packages/unified/dist/markdown/index.mjs +3 -0
  353. package/dist/packages/unified/dist/markdown-OuY_JOk0.cjs +82 -0
  354. package/dist/packages/unified/dist/markdown-OuY_JOk0.mjs +83 -0
  355. package/dist/packages/unified/dist/markdown-OuY_JOk0.mjs.map +1 -0
  356. package/package.json +39 -12
  357. package/dist/packages/unified/dist/markdown-Bs-BRrSC.mjs +0 -10
  358. package/dist/packages/unified/dist/markdown-Bs-BRrSC.mjs.map +0 -1
  359. package/dist/unified/dist/markdown-Bs-BRrSC.cjs +0 -10
  360. /package/dist/{plugin-changelog → packages/plugin-changelog}/dist/components/index.cjs +0 -0
@@ -0,0 +1,83 @@
1
+ import { isSpace, normalizeReference } from "../common/utils.mjs";
2
+
3
+ //#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.mjs
4
+ function image(state, silent) {
5
+ let code, content, label, pos, ref, res, title, start;
6
+ let href = "";
7
+ const oldPos = state.pos;
8
+ const max = state.posMax;
9
+ if (state.src.charCodeAt(state.pos) !== 33) return false;
10
+ if (state.src.charCodeAt(state.pos + 1) !== 91) return false;
11
+ const labelStart = state.pos + 2;
12
+ const labelEnd = state.md.helpers.parseLinkLabel(state, state.pos + 1, false);
13
+ if (labelEnd < 0) return false;
14
+ pos = labelEnd + 1;
15
+ if (pos < max && state.src.charCodeAt(pos) === 40) {
16
+ pos++;
17
+ for (; pos < max; pos++) {
18
+ code = state.src.charCodeAt(pos);
19
+ if (!isSpace(code) && code !== 10) break;
20
+ }
21
+ if (pos >= max) return false;
22
+ start = pos;
23
+ res = state.md.helpers.parseLinkDestination(state.src, pos, state.posMax);
24
+ if (res.ok) {
25
+ href = state.md.normalizeLink(res.str);
26
+ if (state.md.validateLink(href)) pos = res.pos;
27
+ else href = "";
28
+ }
29
+ start = pos;
30
+ for (; pos < max; pos++) {
31
+ code = state.src.charCodeAt(pos);
32
+ if (!isSpace(code) && code !== 10) break;
33
+ }
34
+ res = state.md.helpers.parseLinkTitle(state.src, pos, state.posMax);
35
+ if (pos < max && start !== pos && res.ok) {
36
+ title = res.str;
37
+ pos = res.pos;
38
+ for (; pos < max; pos++) {
39
+ code = state.src.charCodeAt(pos);
40
+ if (!isSpace(code) && code !== 10) break;
41
+ }
42
+ } else title = "";
43
+ if (pos >= max || state.src.charCodeAt(pos) !== 41) {
44
+ state.pos = oldPos;
45
+ return false;
46
+ }
47
+ pos++;
48
+ } else {
49
+ if (typeof state.env.references === "undefined") return false;
50
+ if (pos < max && state.src.charCodeAt(pos) === 91) {
51
+ start = pos + 1;
52
+ pos = state.md.helpers.parseLinkLabel(state, pos);
53
+ if (pos >= 0) label = state.src.slice(start, pos++);
54
+ else pos = labelEnd + 1;
55
+ } else pos = labelEnd + 1;
56
+ if (!label) label = state.src.slice(labelStart, labelEnd);
57
+ ref = state.env.references[normalizeReference(label)];
58
+ if (!ref) {
59
+ state.pos = oldPos;
60
+ return false;
61
+ }
62
+ href = ref.href;
63
+ title = ref.title;
64
+ }
65
+ if (!silent) {
66
+ content = state.src.slice(labelStart, labelEnd);
67
+ const tokens = [];
68
+ state.md.inline.parse(content, state.md, state.env, tokens);
69
+ const token = state.push("image", "img", 0);
70
+ const attrs = [["src", href], ["alt", ""]];
71
+ token.attrs = attrs;
72
+ token.children = tokens;
73
+ token.content = content;
74
+ if (title) attrs.push(["title", title]);
75
+ }
76
+ state.pos = pos;
77
+ state.posMax = max;
78
+ return true;
79
+ }
80
+
81
+ //#endregion
82
+ export { image as default };
83
+ //# sourceMappingURL=image.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/image.mjs"],"sourcesContent":["// Process ![image](<src> \"title\")\n\nimport { normalizeReference, isSpace } from '../common/utils.mjs'\n\nexport default function image (state, silent) {\n let code, content, label, pos, ref, res, title, start\n let href = ''\n const oldPos = state.pos\n const max = state.posMax\n\n if (state.src.charCodeAt(state.pos) !== 0x21/* ! */) { return false }\n if (state.src.charCodeAt(state.pos + 1) !== 0x5B/* [ */) { return false }\n\n const labelStart = state.pos + 2\n const labelEnd = state.md.helpers.parseLinkLabel(state, state.pos + 1, false)\n\n // parser failed to find ']', so it's not a valid link\n if (labelEnd < 0) { return false }\n\n pos = labelEnd + 1\n if (pos < max && state.src.charCodeAt(pos) === 0x28/* ( */) {\n //\n // Inline link\n //\n\n // [link]( <href> \"title\" )\n // ^^ skipping these spaces\n pos++\n for (; pos < max; pos++) {\n code = state.src.charCodeAt(pos)\n if (!isSpace(code) && code !== 0x0A) { break }\n }\n if (pos >= max) { return false }\n\n // [link]( <href> \"title\" )\n // ^^^^^^ parsing link destination\n start = pos\n res = state.md.helpers.parseLinkDestination(state.src, pos, state.posMax)\n if (res.ok) {\n href = state.md.normalizeLink(res.str)\n if (state.md.validateLink(href)) {\n pos = res.pos\n } else {\n href = ''\n }\n }\n\n // [link]( <href> \"title\" )\n // ^^ skipping these spaces\n start = pos\n for (; pos < max; pos++) {\n code = state.src.charCodeAt(pos)\n if (!isSpace(code) && code !== 0x0A) { break }\n }\n\n // [link]( <href> \"title\" )\n // ^^^^^^^ parsing link title\n res = state.md.helpers.parseLinkTitle(state.src, pos, state.posMax)\n if (pos < max && start !== pos && res.ok) {\n title = res.str\n pos = res.pos\n\n // [link]( <href> \"title\" )\n // ^^ skipping these spaces\n for (; pos < max; pos++) {\n code = state.src.charCodeAt(pos)\n if (!isSpace(code) && code !== 0x0A) { break }\n }\n } else {\n title = ''\n }\n\n if (pos >= max || state.src.charCodeAt(pos) !== 0x29/* ) */) {\n state.pos = oldPos\n return false\n }\n pos++\n } else {\n //\n // Link reference\n //\n if (typeof state.env.references === 'undefined') { return false }\n\n if (pos < max && state.src.charCodeAt(pos) === 0x5B/* [ */) {\n start = pos + 1\n pos = state.md.helpers.parseLinkLabel(state, pos)\n if (pos >= 0) {\n label = state.src.slice(start, pos++)\n } else {\n pos = labelEnd + 1\n }\n } else {\n pos = labelEnd + 1\n }\n\n // covers label === '' and label === undefined\n // (collapsed reference link and shortcut reference link respectively)\n if (!label) { label = state.src.slice(labelStart, labelEnd) }\n\n ref = state.env.references[normalizeReference(label)]\n if (!ref) {\n state.pos = oldPos\n return false\n }\n href = ref.href\n title = ref.title\n }\n\n //\n // We found the end of the link, and know for a fact it's a valid link;\n // so all that's left to do is to call tokenizer.\n //\n if (!silent) {\n content = state.src.slice(labelStart, labelEnd)\n\n const tokens = []\n state.md.inline.parse(\n content,\n state.md,\n state.env,\n tokens\n )\n\n const token = state.push('image', 'img', 0)\n const attrs = [['src', href], ['alt', '']]\n token.attrs = attrs\n token.children = tokens\n token.content = content\n\n if (title) {\n attrs.push(['title', title])\n }\n }\n\n state.pos = pos\n state.posMax = max\n return true\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AAIA,SAAwB,MAAO,OAAO,QAAQ;CAC5C,IAAI,MAAM,SAAS,OAAO,KAAK,KAAK,KAAK,OAAO;CAChD,IAAI,OAAO;CACX,MAAM,SAAS,MAAM;CACrB,MAAM,MAAM,MAAM;AAElB,KAAI,MAAM,IAAI,WAAW,MAAM,IAAI,KAAK,GAAe,QAAO;AAC9D,KAAI,MAAM,IAAI,WAAW,MAAM,MAAM,EAAE,KAAK,GAAe,QAAO;CAElE,MAAM,aAAa,MAAM,MAAM;CAC/B,MAAM,WAAW,MAAM,GAAG,QAAQ,eAAe,OAAO,MAAM,MAAM,GAAG,MAAM;AAG7E,KAAI,WAAW,EAAK,QAAO;AAE3B,OAAM,WAAW;AACjB,KAAI,MAAM,OAAO,MAAM,IAAI,WAAW,IAAI,KAAK,IAAa;AAO1D;AACA,SAAO,MAAM,KAAK,OAAO;AACvB,UAAO,MAAM,IAAI,WAAW,IAAI;AAChC,OAAI,CAAC,QAAQ,KAAK,IAAI,SAAS,GAAQ;;AAEzC,MAAI,OAAO,IAAO,QAAO;AAIzB,UAAQ;AACR,QAAM,MAAM,GAAG,QAAQ,qBAAqB,MAAM,KAAK,KAAK,MAAM,OAAO;AACzE,MAAI,IAAI,IAAI;AACV,UAAO,MAAM,GAAG,cAAc,IAAI,IAAI;AACtC,OAAI,MAAM,GAAG,aAAa,KAAK,CAC7B,OAAM,IAAI;OAEV,QAAO;;AAMX,UAAQ;AACR,SAAO,MAAM,KAAK,OAAO;AACvB,UAAO,MAAM,IAAI,WAAW,IAAI;AAChC,OAAI,CAAC,QAAQ,KAAK,IAAI,SAAS,GAAQ;;AAKzC,QAAM,MAAM,GAAG,QAAQ,eAAe,MAAM,KAAK,KAAK,MAAM,OAAO;AACnE,MAAI,MAAM,OAAO,UAAU,OAAO,IAAI,IAAI;AACxC,WAAQ,IAAI;AACZ,SAAM,IAAI;AAIV,UAAO,MAAM,KAAK,OAAO;AACvB,WAAO,MAAM,IAAI,WAAW,IAAI;AAChC,QAAI,CAAC,QAAQ,KAAK,IAAI,SAAS,GAAQ;;QAGzC,SAAQ;AAGV,MAAI,OAAO,OAAO,MAAM,IAAI,WAAW,IAAI,KAAK,IAAa;AAC3D,SAAM,MAAM;AACZ,UAAO;;AAET;QACK;AAIL,MAAI,OAAO,MAAM,IAAI,eAAe,YAAe,QAAO;AAE1D,MAAI,MAAM,OAAO,MAAM,IAAI,WAAW,IAAI,KAAK,IAAa;AAC1D,WAAQ,MAAM;AACd,SAAM,MAAM,GAAG,QAAQ,eAAe,OAAO,IAAI;AACjD,OAAI,OAAO,EACT,SAAQ,MAAM,IAAI,MAAM,OAAO,MAAM;OAErC,OAAM,WAAW;QAGnB,OAAM,WAAW;AAKnB,MAAI,CAAC,MAAS,SAAQ,MAAM,IAAI,MAAM,YAAY,SAAS;AAE3D,QAAM,MAAM,IAAI,WAAW,mBAAmB,MAAM;AACpD,MAAI,CAAC,KAAK;AACR,SAAM,MAAM;AACZ,UAAO;;AAET,SAAO,IAAI;AACX,UAAQ,IAAI;;AAOd,KAAI,CAAC,QAAQ;AACX,YAAU,MAAM,IAAI,MAAM,YAAY,SAAS;EAE/C,MAAM,SAAS,EAAE;AACjB,QAAM,GAAG,OAAO,MACd,SACA,MAAM,IACN,MAAM,KACN,OACD;EAED,MAAM,QAAQ,MAAM,KAAK,SAAS,OAAO,EAAE;EAC3C,MAAM,QAAQ,CAAC,CAAC,OAAO,KAAK,EAAE,CAAC,OAAO,GAAG,CAAC;AAC1C,QAAM,QAAQ;AACd,QAAM,WAAW;AACjB,QAAM,UAAU;AAEhB,MAAI,MACF,OAAM,KAAK,CAAC,SAAS,MAAM,CAAC;;AAIhC,OAAM,MAAM;AACZ,OAAM,SAAS;AACf,QAAO"}
@@ -0,0 +1,84 @@
1
+ const require_utils = require('../common/utils.cjs');
2
+
3
+ //#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.mjs
4
+ function link(state, silent) {
5
+ let code, label, res, ref;
6
+ let href = "";
7
+ let title = "";
8
+ let start = state.pos;
9
+ let parseReference = true;
10
+ if (state.src.charCodeAt(state.pos) !== 91) return false;
11
+ const oldPos = state.pos;
12
+ const max = state.posMax;
13
+ const labelStart = state.pos + 1;
14
+ const labelEnd = state.md.helpers.parseLinkLabel(state, state.pos, true);
15
+ if (labelEnd < 0) return false;
16
+ let pos = labelEnd + 1;
17
+ if (pos < max && state.src.charCodeAt(pos) === 40) {
18
+ parseReference = false;
19
+ pos++;
20
+ for (; pos < max; pos++) {
21
+ code = state.src.charCodeAt(pos);
22
+ if (!require_utils.isSpace(code) && code !== 10) break;
23
+ }
24
+ if (pos >= max) return false;
25
+ start = pos;
26
+ res = state.md.helpers.parseLinkDestination(state.src, pos, state.posMax);
27
+ if (res.ok) {
28
+ href = state.md.normalizeLink(res.str);
29
+ if (state.md.validateLink(href)) pos = res.pos;
30
+ else href = "";
31
+ start = pos;
32
+ for (; pos < max; pos++) {
33
+ code = state.src.charCodeAt(pos);
34
+ if (!require_utils.isSpace(code) && code !== 10) break;
35
+ }
36
+ res = state.md.helpers.parseLinkTitle(state.src, pos, state.posMax);
37
+ if (pos < max && start !== pos && res.ok) {
38
+ title = res.str;
39
+ pos = res.pos;
40
+ for (; pos < max; pos++) {
41
+ code = state.src.charCodeAt(pos);
42
+ if (!require_utils.isSpace(code) && code !== 10) break;
43
+ }
44
+ }
45
+ }
46
+ if (pos >= max || state.src.charCodeAt(pos) !== 41) parseReference = true;
47
+ pos++;
48
+ }
49
+ if (parseReference) {
50
+ if (typeof state.env.references === "undefined") return false;
51
+ if (pos < max && state.src.charCodeAt(pos) === 91) {
52
+ start = pos + 1;
53
+ pos = state.md.helpers.parseLinkLabel(state, pos);
54
+ if (pos >= 0) label = state.src.slice(start, pos++);
55
+ else pos = labelEnd + 1;
56
+ } else pos = labelEnd + 1;
57
+ if (!label) label = state.src.slice(labelStart, labelEnd);
58
+ ref = state.env.references[require_utils.normalizeReference(label)];
59
+ if (!ref) {
60
+ state.pos = oldPos;
61
+ return false;
62
+ }
63
+ href = ref.href;
64
+ title = ref.title;
65
+ }
66
+ if (!silent) {
67
+ state.pos = labelStart;
68
+ state.posMax = labelEnd;
69
+ const token_o = state.push("link_open", "a", 1);
70
+ const attrs = [["href", href]];
71
+ token_o.attrs = attrs;
72
+ if (title) attrs.push(["title", title]);
73
+ state.linkLevel++;
74
+ state.md.inline.tokenize(state);
75
+ state.linkLevel--;
76
+ state.push("link_close", "a", -1);
77
+ }
78
+ state.pos = pos;
79
+ state.posMax = max;
80
+ return true;
81
+ }
82
+
83
+ //#endregion
84
+ exports.default = link;
@@ -0,0 +1,85 @@
1
+ import { isSpace, normalizeReference } from "../common/utils.mjs";
2
+
3
+ //#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.mjs
4
+ function link(state, silent) {
5
+ let code, label, res, ref;
6
+ let href = "";
7
+ let title = "";
8
+ let start = state.pos;
9
+ let parseReference = true;
10
+ if (state.src.charCodeAt(state.pos) !== 91) return false;
11
+ const oldPos = state.pos;
12
+ const max = state.posMax;
13
+ const labelStart = state.pos + 1;
14
+ const labelEnd = state.md.helpers.parseLinkLabel(state, state.pos, true);
15
+ if (labelEnd < 0) return false;
16
+ let pos = labelEnd + 1;
17
+ if (pos < max && state.src.charCodeAt(pos) === 40) {
18
+ parseReference = false;
19
+ pos++;
20
+ for (; pos < max; pos++) {
21
+ code = state.src.charCodeAt(pos);
22
+ if (!isSpace(code) && code !== 10) break;
23
+ }
24
+ if (pos >= max) return false;
25
+ start = pos;
26
+ res = state.md.helpers.parseLinkDestination(state.src, pos, state.posMax);
27
+ if (res.ok) {
28
+ href = state.md.normalizeLink(res.str);
29
+ if (state.md.validateLink(href)) pos = res.pos;
30
+ else href = "";
31
+ start = pos;
32
+ for (; pos < max; pos++) {
33
+ code = state.src.charCodeAt(pos);
34
+ if (!isSpace(code) && code !== 10) break;
35
+ }
36
+ res = state.md.helpers.parseLinkTitle(state.src, pos, state.posMax);
37
+ if (pos < max && start !== pos && res.ok) {
38
+ title = res.str;
39
+ pos = res.pos;
40
+ for (; pos < max; pos++) {
41
+ code = state.src.charCodeAt(pos);
42
+ if (!isSpace(code) && code !== 10) break;
43
+ }
44
+ }
45
+ }
46
+ if (pos >= max || state.src.charCodeAt(pos) !== 41) parseReference = true;
47
+ pos++;
48
+ }
49
+ if (parseReference) {
50
+ if (typeof state.env.references === "undefined") return false;
51
+ if (pos < max && state.src.charCodeAt(pos) === 91) {
52
+ start = pos + 1;
53
+ pos = state.md.helpers.parseLinkLabel(state, pos);
54
+ if (pos >= 0) label = state.src.slice(start, pos++);
55
+ else pos = labelEnd + 1;
56
+ } else pos = labelEnd + 1;
57
+ if (!label) label = state.src.slice(labelStart, labelEnd);
58
+ ref = state.env.references[normalizeReference(label)];
59
+ if (!ref) {
60
+ state.pos = oldPos;
61
+ return false;
62
+ }
63
+ href = ref.href;
64
+ title = ref.title;
65
+ }
66
+ if (!silent) {
67
+ state.pos = labelStart;
68
+ state.posMax = labelEnd;
69
+ const token_o = state.push("link_open", "a", 1);
70
+ const attrs = [["href", href]];
71
+ token_o.attrs = attrs;
72
+ if (title) attrs.push(["title", title]);
73
+ state.linkLevel++;
74
+ state.md.inline.tokenize(state);
75
+ state.linkLevel--;
76
+ state.push("link_close", "a", -1);
77
+ }
78
+ state.pos = pos;
79
+ state.posMax = max;
80
+ return true;
81
+ }
82
+
83
+ //#endregion
84
+ export { link as default };
85
+ //# sourceMappingURL=link.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"link.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/link.mjs"],"sourcesContent":["// Process [link](<to> \"stuff\")\n\nimport { normalizeReference, isSpace } from '../common/utils.mjs'\n\nexport default function link (state, silent) {\n let code, label, res, ref\n let href = ''\n let title = ''\n let start = state.pos\n let parseReference = true\n\n if (state.src.charCodeAt(state.pos) !== 0x5B/* [ */) { return false }\n\n const oldPos = state.pos\n const max = state.posMax\n const labelStart = state.pos + 1\n const labelEnd = state.md.helpers.parseLinkLabel(state, state.pos, true)\n\n // parser failed to find ']', so it's not a valid link\n if (labelEnd < 0) { return false }\n\n let pos = labelEnd + 1\n if (pos < max && state.src.charCodeAt(pos) === 0x28/* ( */) {\n //\n // Inline link\n //\n\n // might have found a valid shortcut link, disable reference parsing\n parseReference = false\n\n // [link]( <href> \"title\" )\n // ^^ skipping these spaces\n pos++\n for (; pos < max; pos++) {\n code = state.src.charCodeAt(pos)\n if (!isSpace(code) && code !== 0x0A) { break }\n }\n if (pos >= max) { return false }\n\n // [link]( <href> \"title\" )\n // ^^^^^^ parsing link destination\n start = pos\n res = state.md.helpers.parseLinkDestination(state.src, pos, state.posMax)\n if (res.ok) {\n href = state.md.normalizeLink(res.str)\n if (state.md.validateLink(href)) {\n pos = res.pos\n } else {\n href = ''\n }\n\n // [link]( <href> \"title\" )\n // ^^ skipping these spaces\n start = pos\n for (; pos < max; pos++) {\n code = state.src.charCodeAt(pos)\n if (!isSpace(code) && code !== 0x0A) { break }\n }\n\n // [link]( <href> \"title\" )\n // ^^^^^^^ parsing link title\n res = state.md.helpers.parseLinkTitle(state.src, pos, state.posMax)\n if (pos < max && start !== pos && res.ok) {\n title = res.str\n pos = res.pos\n\n // [link]( <href> \"title\" )\n // ^^ skipping these spaces\n for (; pos < max; pos++) {\n code = state.src.charCodeAt(pos)\n if (!isSpace(code) && code !== 0x0A) { break }\n }\n }\n }\n\n if (pos >= max || state.src.charCodeAt(pos) !== 0x29/* ) */) {\n // parsing a valid shortcut link failed, fallback to reference\n parseReference = true\n }\n pos++\n }\n\n if (parseReference) {\n //\n // Link reference\n //\n if (typeof state.env.references === 'undefined') { return false }\n\n if (pos < max && state.src.charCodeAt(pos) === 0x5B/* [ */) {\n start = pos + 1\n pos = state.md.helpers.parseLinkLabel(state, pos)\n if (pos >= 0) {\n label = state.src.slice(start, pos++)\n } else {\n pos = labelEnd + 1\n }\n } else {\n pos = labelEnd + 1\n }\n\n // covers label === '' and label === undefined\n // (collapsed reference link and shortcut reference link respectively)\n if (!label) { label = state.src.slice(labelStart, labelEnd) }\n\n ref = state.env.references[normalizeReference(label)]\n if (!ref) {\n state.pos = oldPos\n return false\n }\n href = ref.href\n title = ref.title\n }\n\n //\n // We found the end of the link, and know for a fact it's a valid link;\n // so all that's left to do is to call tokenizer.\n //\n if (!silent) {\n state.pos = labelStart\n state.posMax = labelEnd\n\n const token_o = state.push('link_open', 'a', 1)\n const attrs = [['href', href]]\n token_o.attrs = attrs\n if (title) {\n attrs.push(['title', title])\n }\n\n state.linkLevel++\n state.md.inline.tokenize(state)\n state.linkLevel--\n\n state.push('link_close', 'a', -1)\n }\n\n state.pos = pos\n state.posMax = max\n return true\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AAIA,SAAwB,KAAM,OAAO,QAAQ;CAC3C,IAAI,MAAM,OAAO,KAAK;CACtB,IAAI,OAAO;CACX,IAAI,QAAQ;CACZ,IAAI,QAAQ,MAAM;CAClB,IAAI,iBAAiB;AAErB,KAAI,MAAM,IAAI,WAAW,MAAM,IAAI,KAAK,GAAe,QAAO;CAE9D,MAAM,SAAS,MAAM;CACrB,MAAM,MAAM,MAAM;CAClB,MAAM,aAAa,MAAM,MAAM;CAC/B,MAAM,WAAW,MAAM,GAAG,QAAQ,eAAe,OAAO,MAAM,KAAK,KAAK;AAGxE,KAAI,WAAW,EAAK,QAAO;CAE3B,IAAI,MAAM,WAAW;AACrB,KAAI,MAAM,OAAO,MAAM,IAAI,WAAW,IAAI,KAAK,IAAa;AAM1D,mBAAiB;AAIjB;AACA,SAAO,MAAM,KAAK,OAAO;AACvB,UAAO,MAAM,IAAI,WAAW,IAAI;AAChC,OAAI,CAAC,QAAQ,KAAK,IAAI,SAAS,GAAQ;;AAEzC,MAAI,OAAO,IAAO,QAAO;AAIzB,UAAQ;AACR,QAAM,MAAM,GAAG,QAAQ,qBAAqB,MAAM,KAAK,KAAK,MAAM,OAAO;AACzE,MAAI,IAAI,IAAI;AACV,UAAO,MAAM,GAAG,cAAc,IAAI,IAAI;AACtC,OAAI,MAAM,GAAG,aAAa,KAAK,CAC7B,OAAM,IAAI;OAEV,QAAO;AAKT,WAAQ;AACR,UAAO,MAAM,KAAK,OAAO;AACvB,WAAO,MAAM,IAAI,WAAW,IAAI;AAChC,QAAI,CAAC,QAAQ,KAAK,IAAI,SAAS,GAAQ;;AAKzC,SAAM,MAAM,GAAG,QAAQ,eAAe,MAAM,KAAK,KAAK,MAAM,OAAO;AACnE,OAAI,MAAM,OAAO,UAAU,OAAO,IAAI,IAAI;AACxC,YAAQ,IAAI;AACZ,UAAM,IAAI;AAIV,WAAO,MAAM,KAAK,OAAO;AACvB,YAAO,MAAM,IAAI,WAAW,IAAI;AAChC,SAAI,CAAC,QAAQ,KAAK,IAAI,SAAS,GAAQ;;;;AAK7C,MAAI,OAAO,OAAO,MAAM,IAAI,WAAW,IAAI,KAAK,GAE9C,kBAAiB;AAEnB;;AAGF,KAAI,gBAAgB;AAIlB,MAAI,OAAO,MAAM,IAAI,eAAe,YAAe,QAAO;AAE1D,MAAI,MAAM,OAAO,MAAM,IAAI,WAAW,IAAI,KAAK,IAAa;AAC1D,WAAQ,MAAM;AACd,SAAM,MAAM,GAAG,QAAQ,eAAe,OAAO,IAAI;AACjD,OAAI,OAAO,EACT,SAAQ,MAAM,IAAI,MAAM,OAAO,MAAM;OAErC,OAAM,WAAW;QAGnB,OAAM,WAAW;AAKnB,MAAI,CAAC,MAAS,SAAQ,MAAM,IAAI,MAAM,YAAY,SAAS;AAE3D,QAAM,MAAM,IAAI,WAAW,mBAAmB,MAAM;AACpD,MAAI,CAAC,KAAK;AACR,SAAM,MAAM;AACZ,UAAO;;AAET,SAAO,IAAI;AACX,UAAQ,IAAI;;AAOd,KAAI,CAAC,QAAQ;AACX,QAAM,MAAM;AACZ,QAAM,SAAS;EAEf,MAAM,UAAU,MAAM,KAAK,aAAa,KAAK,EAAE;EAC/C,MAAM,QAAQ,CAAC,CAAC,QAAQ,KAAK,CAAC;AAC9B,UAAQ,QAAS;AACjB,MAAI,MACF,OAAM,KAAK,CAAC,SAAS,MAAM,CAAC;AAG9B,QAAM;AACN,QAAM,GAAG,OAAO,SAAS,MAAM;AAC/B,QAAM;AAEN,QAAM,KAAK,cAAc,KAAK,GAAG;;AAGnC,OAAM,MAAM;AACZ,OAAM,SAAS;AACf,QAAO"}
@@ -0,0 +1,42 @@
1
+
2
+ //#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.mjs
3
+ const SCHEME_RE = /(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;
4
+ function linkify(state, silent) {
5
+ if (!state.md.options.linkify) return false;
6
+ if (state.linkLevel > 0) return false;
7
+ const pos = state.pos;
8
+ const max = state.posMax;
9
+ if (pos + 3 > max) return false;
10
+ if (state.src.charCodeAt(pos) !== 58) return false;
11
+ if (state.src.charCodeAt(pos + 1) !== 47) return false;
12
+ if (state.src.charCodeAt(pos + 2) !== 47) return false;
13
+ const match = state.pending.match(SCHEME_RE);
14
+ if (!match) return false;
15
+ const proto = match[1];
16
+ const link = state.md.linkify.matchAtStart(state.src.slice(pos - proto.length));
17
+ if (!link) return false;
18
+ let url = link.url;
19
+ if (url.length <= proto.length) return false;
20
+ let urlEnd = url.length;
21
+ while (urlEnd > 0 && url.charCodeAt(urlEnd - 1) === 42) urlEnd--;
22
+ if (urlEnd !== url.length) url = url.slice(0, urlEnd);
23
+ const fullUrl = state.md.normalizeLink(url);
24
+ if (!state.md.validateLink(fullUrl)) return false;
25
+ if (!silent) {
26
+ state.pending = state.pending.slice(0, -proto.length);
27
+ const token_o = state.push("link_open", "a", 1);
28
+ token_o.attrs = [["href", fullUrl]];
29
+ token_o.markup = "linkify";
30
+ token_o.info = "auto";
31
+ const token_t = state.push("text", "", 0);
32
+ token_t.content = state.md.normalizeLinkText(url);
33
+ const token_c = state.push("link_close", "a", -1);
34
+ token_c.markup = "linkify";
35
+ token_c.info = "auto";
36
+ }
37
+ state.pos += url.length - proto.length;
38
+ return true;
39
+ }
40
+
41
+ //#endregion
42
+ exports.default = linkify;
@@ -0,0 +1,42 @@
1
+ //#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.mjs
2
+ const SCHEME_RE = /(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i;
3
+ function linkify(state, silent) {
4
+ if (!state.md.options.linkify) return false;
5
+ if (state.linkLevel > 0) return false;
6
+ const pos = state.pos;
7
+ const max = state.posMax;
8
+ if (pos + 3 > max) return false;
9
+ if (state.src.charCodeAt(pos) !== 58) return false;
10
+ if (state.src.charCodeAt(pos + 1) !== 47) return false;
11
+ if (state.src.charCodeAt(pos + 2) !== 47) return false;
12
+ const match = state.pending.match(SCHEME_RE);
13
+ if (!match) return false;
14
+ const proto = match[1];
15
+ const link = state.md.linkify.matchAtStart(state.src.slice(pos - proto.length));
16
+ if (!link) return false;
17
+ let url = link.url;
18
+ if (url.length <= proto.length) return false;
19
+ let urlEnd = url.length;
20
+ while (urlEnd > 0 && url.charCodeAt(urlEnd - 1) === 42) urlEnd--;
21
+ if (urlEnd !== url.length) url = url.slice(0, urlEnd);
22
+ const fullUrl = state.md.normalizeLink(url);
23
+ if (!state.md.validateLink(fullUrl)) return false;
24
+ if (!silent) {
25
+ state.pending = state.pending.slice(0, -proto.length);
26
+ const token_o = state.push("link_open", "a", 1);
27
+ token_o.attrs = [["href", fullUrl]];
28
+ token_o.markup = "linkify";
29
+ token_o.info = "auto";
30
+ const token_t = state.push("text", "", 0);
31
+ token_t.content = state.md.normalizeLinkText(url);
32
+ const token_c = state.push("link_close", "a", -1);
33
+ token_c.markup = "linkify";
34
+ token_c.info = "auto";
35
+ }
36
+ state.pos += url.length - proto.length;
37
+ return true;
38
+ }
39
+
40
+ //#endregion
41
+ export { linkify as default };
42
+ //# sourceMappingURL=linkify.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"linkify.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/linkify.mjs"],"sourcesContent":["// Process links like https://example.org/\n\n// RFC3986: scheme = ALPHA *( ALPHA / DIGIT / \"+\" / \"-\" / \".\" )\nconst SCHEME_RE = /(?:^|[^a-z0-9.+-])([a-z][a-z0-9.+-]*)$/i\n\nexport default function linkify (state, silent) {\n if (!state.md.options.linkify) return false\n if (state.linkLevel > 0) return false\n\n const pos = state.pos\n const max = state.posMax\n\n if (pos + 3 > max) return false\n if (state.src.charCodeAt(pos) !== 0x3A/* : */) return false\n if (state.src.charCodeAt(pos + 1) !== 0x2F/* / */) return false\n if (state.src.charCodeAt(pos + 2) !== 0x2F/* / */) return false\n\n const match = state.pending.match(SCHEME_RE)\n if (!match) return false\n\n const proto = match[1]\n\n const link = state.md.linkify.matchAtStart(state.src.slice(pos - proto.length))\n if (!link) return false\n\n let url = link.url\n\n // invalid link, but still detected by linkify somehow;\n // need to check to prevent infinite loop below\n if (url.length <= proto.length) return false\n\n // disallow '*' at the end of the link (conflicts with emphasis)\n // do manual backsearch to avoid perf issues with regex /\\*+$/ on \"****...****a\".\n let urlEnd = url.length\n while (urlEnd > 0 && url.charCodeAt(urlEnd - 1) === 0x2A/* * */) {\n urlEnd--\n }\n if (urlEnd !== url.length) {\n url = url.slice(0, urlEnd)\n }\n\n const fullUrl = state.md.normalizeLink(url)\n if (!state.md.validateLink(fullUrl)) return false\n\n if (!silent) {\n state.pending = state.pending.slice(0, -proto.length)\n\n const token_o = state.push('link_open', 'a', 1)\n token_o.attrs = [['href', fullUrl]]\n token_o.markup = 'linkify'\n token_o.info = 'auto'\n\n const token_t = state.push('text', '', 0)\n token_t.content = state.md.normalizeLinkText(url)\n\n const token_c = state.push('link_close', 'a', -1)\n token_c.markup = 'linkify'\n token_c.info = 'auto'\n }\n\n state.pos += url.length - proto.length\n return true\n}\n"],"x_google_ignoreList":[0],"mappings":";AAGA,MAAM,YAAY;AAElB,SAAwB,QAAS,OAAO,QAAQ;AAC9C,KAAI,CAAC,MAAM,GAAG,QAAQ,QAAS,QAAO;AACtC,KAAI,MAAM,YAAY,EAAG,QAAO;CAEhC,MAAM,MAAM,MAAM;CAClB,MAAM,MAAM,MAAM;AAElB,KAAI,MAAM,IAAI,IAAK,QAAO;AAC1B,KAAI,MAAM,IAAI,WAAW,IAAI,KAAK,GAAa,QAAO;AACtD,KAAI,MAAM,IAAI,WAAW,MAAM,EAAE,KAAK,GAAa,QAAO;AAC1D,KAAI,MAAM,IAAI,WAAW,MAAM,EAAE,KAAK,GAAa,QAAO;CAE1D,MAAM,QAAQ,MAAM,QAAQ,MAAM,UAAU;AAC5C,KAAI,CAAC,MAAO,QAAO;CAEnB,MAAM,QAAQ,MAAM;CAEpB,MAAM,OAAO,MAAM,GAAG,QAAQ,aAAa,MAAM,IAAI,MAAM,MAAM,MAAM,OAAO,CAAC;AAC/E,KAAI,CAAC,KAAM,QAAO;CAElB,IAAI,MAAM,KAAK;AAIf,KAAI,IAAI,UAAU,MAAM,OAAQ,QAAO;CAIvC,IAAI,SAAS,IAAI;AACjB,QAAO,SAAS,KAAK,IAAI,WAAW,SAAS,EAAE,KAAK,GAClD;AAEF,KAAI,WAAW,IAAI,OACjB,OAAM,IAAI,MAAM,GAAG,OAAO;CAG5B,MAAM,UAAU,MAAM,GAAG,cAAc,IAAI;AAC3C,KAAI,CAAC,MAAM,GAAG,aAAa,QAAQ,CAAE,QAAO;AAE5C,KAAI,CAAC,QAAQ;AACX,QAAM,UAAU,MAAM,QAAQ,MAAM,GAAG,CAAC,MAAM,OAAO;EAErD,MAAM,UAAU,MAAM,KAAK,aAAa,KAAK,EAAE;AAC/C,UAAQ,QAAQ,CAAC,CAAC,QAAQ,QAAQ,CAAC;AACnC,UAAQ,SAAS;AACjB,UAAQ,OAAO;EAEf,MAAM,UAAU,MAAM,KAAK,QAAQ,IAAI,EAAE;AACzC,UAAQ,UAAU,MAAM,GAAG,kBAAkB,IAAI;EAEjD,MAAM,UAAU,MAAM,KAAK,cAAc,KAAK,GAAG;AACjD,UAAQ,SAAS;AACjB,UAAQ,OAAO;;AAGjB,OAAM,OAAO,IAAI,SAAS,MAAM;AAChC,QAAO"}
@@ -0,0 +1,26 @@
1
+ const require_utils = require('../common/utils.cjs');
2
+
3
+ //#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.mjs
4
+ function newline(state, silent) {
5
+ let pos = state.pos;
6
+ if (state.src.charCodeAt(pos) !== 10) return false;
7
+ const pmax = state.pending.length - 1;
8
+ const max = state.posMax;
9
+ if (!silent) if (pmax >= 0 && state.pending.charCodeAt(pmax) === 32) if (pmax >= 1 && state.pending.charCodeAt(pmax - 1) === 32) {
10
+ let ws = pmax - 1;
11
+ while (ws >= 1 && state.pending.charCodeAt(ws - 1) === 32) ws--;
12
+ state.pending = state.pending.slice(0, ws);
13
+ state.push("hardbreak", "br", 0);
14
+ } else {
15
+ state.pending = state.pending.slice(0, -1);
16
+ state.push("softbreak", "br", 0);
17
+ }
18
+ else state.push("softbreak", "br", 0);
19
+ pos++;
20
+ while (pos < max && require_utils.isSpace(state.src.charCodeAt(pos))) pos++;
21
+ state.pos = pos;
22
+ return true;
23
+ }
24
+
25
+ //#endregion
26
+ exports.default = newline;
@@ -0,0 +1,27 @@
1
+ import { isSpace } from "../common/utils.mjs";
2
+
3
+ //#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.mjs
4
+ function newline(state, silent) {
5
+ let pos = state.pos;
6
+ if (state.src.charCodeAt(pos) !== 10) return false;
7
+ const pmax = state.pending.length - 1;
8
+ const max = state.posMax;
9
+ if (!silent) if (pmax >= 0 && state.pending.charCodeAt(pmax) === 32) if (pmax >= 1 && state.pending.charCodeAt(pmax - 1) === 32) {
10
+ let ws = pmax - 1;
11
+ while (ws >= 1 && state.pending.charCodeAt(ws - 1) === 32) ws--;
12
+ state.pending = state.pending.slice(0, ws);
13
+ state.push("hardbreak", "br", 0);
14
+ } else {
15
+ state.pending = state.pending.slice(0, -1);
16
+ state.push("softbreak", "br", 0);
17
+ }
18
+ else state.push("softbreak", "br", 0);
19
+ pos++;
20
+ while (pos < max && isSpace(state.src.charCodeAt(pos))) pos++;
21
+ state.pos = pos;
22
+ return true;
23
+ }
24
+
25
+ //#endregion
26
+ export { newline as default };
27
+ //# sourceMappingURL=newline.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"newline.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/newline.mjs"],"sourcesContent":["// Proceess '\\n'\n\nimport { isSpace } from '../common/utils.mjs'\n\nexport default function newline (state, silent) {\n let pos = state.pos\n\n if (state.src.charCodeAt(pos) !== 0x0A/* \\n */) { return false }\n\n const pmax = state.pending.length - 1\n const max = state.posMax\n\n // ' \\n' -> hardbreak\n // Lookup in pending chars is bad practice! Don't copy to other rules!\n // Pending string is stored in concat mode, indexed lookups will cause\n // convertion to flat mode.\n if (!silent) {\n if (pmax >= 0 && state.pending.charCodeAt(pmax) === 0x20) {\n if (pmax >= 1 && state.pending.charCodeAt(pmax - 1) === 0x20) {\n // Find whitespaces tail of pending chars.\n let ws = pmax - 1\n while (ws >= 1 && state.pending.charCodeAt(ws - 1) === 0x20) ws--\n\n state.pending = state.pending.slice(0, ws)\n state.push('hardbreak', 'br', 0)\n } else {\n state.pending = state.pending.slice(0, -1)\n state.push('softbreak', 'br', 0)\n }\n } else {\n state.push('softbreak', 'br', 0)\n }\n }\n\n pos++\n\n // skip heading spaces for next line\n while (pos < max && isSpace(state.src.charCodeAt(pos))) { pos++ }\n\n state.pos = pos\n return true\n}\n"],"x_google_ignoreList":[0],"mappings":";;;AAIA,SAAwB,QAAS,OAAO,QAAQ;CAC9C,IAAI,MAAM,MAAM;AAEhB,KAAI,MAAM,IAAI,WAAW,IAAI,KAAK,GAAgB,QAAO;CAEzD,MAAM,OAAO,MAAM,QAAQ,SAAS;CACpC,MAAM,MAAM,MAAM;AAMlB,KAAI,CAAC,OACH,KAAI,QAAQ,KAAK,MAAM,QAAQ,WAAW,KAAK,KAAK,GAClD,KAAI,QAAQ,KAAK,MAAM,QAAQ,WAAW,OAAO,EAAE,KAAK,IAAM;EAE5D,IAAI,KAAK,OAAO;AAChB,SAAO,MAAM,KAAK,MAAM,QAAQ,WAAW,KAAK,EAAE,KAAK,GAAM;AAE7D,QAAM,UAAU,MAAM,QAAQ,MAAM,GAAG,GAAG;AAC1C,QAAM,KAAK,aAAa,MAAM,EAAE;QAC3B;AACL,QAAM,UAAU,MAAM,QAAQ,MAAM,GAAG,GAAG;AAC1C,QAAM,KAAK,aAAa,MAAM,EAAE;;KAGlC,OAAM,KAAK,aAAa,MAAM,EAAE;AAIpC;AAGA,QAAO,MAAM,OAAO,QAAQ,MAAM,IAAI,WAAW,IAAI,CAAC,CAAI;AAE1D,OAAM,MAAM;AACZ,QAAO"}
@@ -0,0 +1,74 @@
1
+ const require_utils = require('../common/utils.cjs');
2
+ const require_token = require('../token.cjs');
3
+
4
+ //#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.mjs
5
+ function StateInline(src, md, env, outTokens) {
6
+ this.src = src;
7
+ this.env = env;
8
+ this.md = md;
9
+ this.tokens = outTokens;
10
+ this.tokens_meta = Array(outTokens.length);
11
+ this.pos = 0;
12
+ this.posMax = this.src.length;
13
+ this.level = 0;
14
+ this.pending = "";
15
+ this.pendingLevel = 0;
16
+ this.cache = {};
17
+ this.delimiters = [];
18
+ this._prev_delimiters = [];
19
+ this.backticks = {};
20
+ this.backticksScanned = false;
21
+ this.linkLevel = 0;
22
+ }
23
+ StateInline.prototype.pushPending = function() {
24
+ const token = new require_token.default("text", "", 0);
25
+ token.content = this.pending;
26
+ token.level = this.pendingLevel;
27
+ this.tokens.push(token);
28
+ this.pending = "";
29
+ return token;
30
+ };
31
+ StateInline.prototype.push = function(type, tag, nesting) {
32
+ if (this.pending) this.pushPending();
33
+ const token = new require_token.default(type, tag, nesting);
34
+ let token_meta = null;
35
+ if (nesting < 0) {
36
+ this.level--;
37
+ this.delimiters = this._prev_delimiters.pop();
38
+ }
39
+ token.level = this.level;
40
+ if (nesting > 0) {
41
+ this.level++;
42
+ this._prev_delimiters.push(this.delimiters);
43
+ this.delimiters = [];
44
+ token_meta = { delimiters: this.delimiters };
45
+ }
46
+ this.pendingLevel = this.level;
47
+ this.tokens.push(token);
48
+ this.tokens_meta.push(token_meta);
49
+ return token;
50
+ };
51
+ StateInline.prototype.scanDelims = function(start, canSplitWord) {
52
+ const max = this.posMax;
53
+ const marker = this.src.charCodeAt(start);
54
+ const lastChar = start > 0 ? this.src.charCodeAt(start - 1) : 32;
55
+ let pos = start;
56
+ while (pos < max && this.src.charCodeAt(pos) === marker) pos++;
57
+ const count = pos - start;
58
+ const nextChar = pos < max ? this.src.charCodeAt(pos) : 32;
59
+ const isLastPunctChar = require_utils.isMdAsciiPunct(lastChar) || require_utils.isPunctChar(String.fromCharCode(lastChar));
60
+ const isNextPunctChar = require_utils.isMdAsciiPunct(nextChar) || require_utils.isPunctChar(String.fromCharCode(nextChar));
61
+ const isLastWhiteSpace = require_utils.isWhiteSpace(lastChar);
62
+ const isNextWhiteSpace = require_utils.isWhiteSpace(nextChar);
63
+ const left_flanking = !isNextWhiteSpace && (!isNextPunctChar || isLastWhiteSpace || isLastPunctChar);
64
+ const right_flanking = !isLastWhiteSpace && (!isLastPunctChar || isNextWhiteSpace || isNextPunctChar);
65
+ return {
66
+ can_open: left_flanking && (canSplitWord || !right_flanking || isLastPunctChar),
67
+ can_close: right_flanking && (canSplitWord || !left_flanking || isNextPunctChar),
68
+ length: count
69
+ };
70
+ };
71
+ StateInline.prototype.Token = require_token.default;
72
+
73
+ //#endregion
74
+ exports.default = StateInline;
@@ -0,0 +1,75 @@
1
+ import { isMdAsciiPunct, isPunctChar, isWhiteSpace } from "../common/utils.mjs";
2
+ import Token from "../token.mjs";
3
+
4
+ //#region ../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.mjs
5
+ function StateInline(src, md, env, outTokens) {
6
+ this.src = src;
7
+ this.env = env;
8
+ this.md = md;
9
+ this.tokens = outTokens;
10
+ this.tokens_meta = Array(outTokens.length);
11
+ this.pos = 0;
12
+ this.posMax = this.src.length;
13
+ this.level = 0;
14
+ this.pending = "";
15
+ this.pendingLevel = 0;
16
+ this.cache = {};
17
+ this.delimiters = [];
18
+ this._prev_delimiters = [];
19
+ this.backticks = {};
20
+ this.backticksScanned = false;
21
+ this.linkLevel = 0;
22
+ }
23
+ StateInline.prototype.pushPending = function() {
24
+ const token = new Token("text", "", 0);
25
+ token.content = this.pending;
26
+ token.level = this.pendingLevel;
27
+ this.tokens.push(token);
28
+ this.pending = "";
29
+ return token;
30
+ };
31
+ StateInline.prototype.push = function(type, tag, nesting) {
32
+ if (this.pending) this.pushPending();
33
+ const token = new Token(type, tag, nesting);
34
+ let token_meta = null;
35
+ if (nesting < 0) {
36
+ this.level--;
37
+ this.delimiters = this._prev_delimiters.pop();
38
+ }
39
+ token.level = this.level;
40
+ if (nesting > 0) {
41
+ this.level++;
42
+ this._prev_delimiters.push(this.delimiters);
43
+ this.delimiters = [];
44
+ token_meta = { delimiters: this.delimiters };
45
+ }
46
+ this.pendingLevel = this.level;
47
+ this.tokens.push(token);
48
+ this.tokens_meta.push(token_meta);
49
+ return token;
50
+ };
51
+ StateInline.prototype.scanDelims = function(start, canSplitWord) {
52
+ const max = this.posMax;
53
+ const marker = this.src.charCodeAt(start);
54
+ const lastChar = start > 0 ? this.src.charCodeAt(start - 1) : 32;
55
+ let pos = start;
56
+ while (pos < max && this.src.charCodeAt(pos) === marker) pos++;
57
+ const count = pos - start;
58
+ const nextChar = pos < max ? this.src.charCodeAt(pos) : 32;
59
+ const isLastPunctChar = isMdAsciiPunct(lastChar) || isPunctChar(String.fromCharCode(lastChar));
60
+ const isNextPunctChar = isMdAsciiPunct(nextChar) || isPunctChar(String.fromCharCode(nextChar));
61
+ const isLastWhiteSpace = isWhiteSpace(lastChar);
62
+ const isNextWhiteSpace = isWhiteSpace(nextChar);
63
+ const left_flanking = !isNextWhiteSpace && (!isNextPunctChar || isLastWhiteSpace || isLastPunctChar);
64
+ const right_flanking = !isLastWhiteSpace && (!isLastPunctChar || isNextWhiteSpace || isNextPunctChar);
65
+ return {
66
+ can_open: left_flanking && (canSplitWord || !right_flanking || isLastPunctChar),
67
+ can_close: right_flanking && (canSplitWord || !left_flanking || isNextPunctChar),
68
+ length: count
69
+ };
70
+ };
71
+ StateInline.prototype.Token = Token;
72
+
73
+ //#endregion
74
+ export { StateInline as default };
75
+ //# sourceMappingURL=state_inline.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"state_inline.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/markdown-it@14.1.1/node_modules/markdown-it/lib/rules_inline/state_inline.mjs"],"sourcesContent":["// Inline parser state\n\nimport Token from '../token.mjs'\nimport { isWhiteSpace, isPunctChar, isMdAsciiPunct } from '../common/utils.mjs'\n\nfunction StateInline (src, md, env, outTokens) {\n this.src = src\n this.env = env\n this.md = md\n this.tokens = outTokens\n this.tokens_meta = Array(outTokens.length)\n\n this.pos = 0\n this.posMax = this.src.length\n this.level = 0\n this.pending = ''\n this.pendingLevel = 0\n\n // Stores { start: end } pairs. Useful for backtrack\n // optimization of pairs parse (emphasis, strikes).\n this.cache = {}\n\n // List of emphasis-like delimiters for current tag\n this.delimiters = []\n\n // Stack of delimiter lists for upper level tags\n this._prev_delimiters = []\n\n // backtick length => last seen position\n this.backticks = {}\n this.backticksScanned = false\n\n // Counter used to disable inline linkify-it execution\n // inside <a> and markdown links\n this.linkLevel = 0\n}\n\n// Flush pending text\n//\nStateInline.prototype.pushPending = function () {\n const token = new Token('text', '', 0)\n token.content = this.pending\n token.level = this.pendingLevel\n this.tokens.push(token)\n this.pending = ''\n return token\n}\n\n// Push new token to \"stream\".\n// If pending text exists - flush it as text token\n//\nStateInline.prototype.push = function (type, tag, nesting) {\n if (this.pending) {\n this.pushPending()\n }\n\n const token = new Token(type, tag, nesting)\n let token_meta = null\n\n if (nesting < 0) {\n // closing tag\n this.level--\n this.delimiters = this._prev_delimiters.pop()\n }\n\n token.level = this.level\n\n if (nesting > 0) {\n // opening tag\n this.level++\n this._prev_delimiters.push(this.delimiters)\n this.delimiters = []\n token_meta = { delimiters: this.delimiters }\n }\n\n this.pendingLevel = this.level\n this.tokens.push(token)\n this.tokens_meta.push(token_meta)\n return token\n}\n\n// Scan a sequence of emphasis-like markers, and determine whether\n// it can start an emphasis sequence or end an emphasis sequence.\n//\n// - start - position to scan from (it should point at a valid marker);\n// - canSplitWord - determine if these markers can be found inside a word\n//\nStateInline.prototype.scanDelims = function (start, canSplitWord) {\n const max = this.posMax\n const marker = this.src.charCodeAt(start)\n\n // treat beginning of the line as a whitespace\n const lastChar = start > 0 ? this.src.charCodeAt(start - 1) : 0x20\n\n let pos = start\n while (pos < max && this.src.charCodeAt(pos) === marker) { pos++ }\n\n const count = pos - start\n\n // treat end of the line as a whitespace\n const nextChar = pos < max ? this.src.charCodeAt(pos) : 0x20\n\n const isLastPunctChar = isMdAsciiPunct(lastChar) || isPunctChar(String.fromCharCode(lastChar))\n const isNextPunctChar = isMdAsciiPunct(nextChar) || isPunctChar(String.fromCharCode(nextChar))\n\n const isLastWhiteSpace = isWhiteSpace(lastChar)\n const isNextWhiteSpace = isWhiteSpace(nextChar)\n\n const left_flanking =\n !isNextWhiteSpace && (!isNextPunctChar || isLastWhiteSpace || isLastPunctChar)\n const right_flanking =\n !isLastWhiteSpace && (!isLastPunctChar || isNextWhiteSpace || isNextPunctChar)\n\n const can_open = left_flanking && (canSplitWord || !right_flanking || isLastPunctChar)\n const can_close = right_flanking && (canSplitWord || !left_flanking || isNextPunctChar)\n\n return { can_open, can_close, length: count }\n}\n\n// re-export Token class to use in block rules\nStateInline.prototype.Token = Token\n\nexport default StateInline\n"],"x_google_ignoreList":[0],"mappings":";;;;AAKA,SAAS,YAAa,KAAK,IAAI,KAAK,WAAW;AAC7C,MAAK,MAAM;AACX,MAAK,MAAM;AACX,MAAK,KAAK;AACV,MAAK,SAAS;AACd,MAAK,cAAc,MAAM,UAAU,OAAO;AAE1C,MAAK,MAAM;AACX,MAAK,SAAS,KAAK,IAAI;AACvB,MAAK,QAAQ;AACb,MAAK,UAAU;AACf,MAAK,eAAe;AAIpB,MAAK,QAAQ,EAAE;AAGf,MAAK,aAAa,EAAE;AAGpB,MAAK,mBAAmB,EAAE;AAG1B,MAAK,YAAY,EAAE;AACnB,MAAK,mBAAmB;AAIxB,MAAK,YAAY;;AAKnB,YAAY,UAAU,cAAc,WAAY;CAC9C,MAAM,QAAQ,IAAI,MAAM,QAAQ,IAAI,EAAE;AACtC,OAAM,UAAU,KAAK;AACrB,OAAM,QAAQ,KAAK;AACnB,MAAK,OAAO,KAAK,MAAM;AACvB,MAAK,UAAU;AACf,QAAO;;AAMT,YAAY,UAAU,OAAO,SAAU,MAAM,KAAK,SAAS;AACzD,KAAI,KAAK,QACP,MAAK,aAAa;CAGpB,MAAM,QAAQ,IAAI,MAAM,MAAM,KAAK,QAAQ;CAC3C,IAAI,aAAa;AAEjB,KAAI,UAAU,GAAG;AAEf,OAAK;AACL,OAAK,aAAa,KAAK,iBAAiB,KAAK;;AAG/C,OAAM,QAAQ,KAAK;AAEnB,KAAI,UAAU,GAAG;AAEf,OAAK;AACL,OAAK,iBAAiB,KAAK,KAAK,WAAW;AAC3C,OAAK,aAAa,EAAE;AACpB,eAAa,EAAE,YAAY,KAAK,YAAY;;AAG9C,MAAK,eAAe,KAAK;AACzB,MAAK,OAAO,KAAK,MAAM;AACvB,MAAK,YAAY,KAAK,WAAW;AACjC,QAAO;;AAST,YAAY,UAAU,aAAa,SAAU,OAAO,cAAc;CAChE,MAAM,MAAM,KAAK;CACjB,MAAM,SAAS,KAAK,IAAI,WAAW,MAAM;CAGzC,MAAM,WAAW,QAAQ,IAAI,KAAK,IAAI,WAAW,QAAQ,EAAE,GAAG;CAE9D,IAAI,MAAM;AACV,QAAO,MAAM,OAAO,KAAK,IAAI,WAAW,IAAI,KAAK,OAAU;CAE3D,MAAM,QAAQ,MAAM;CAGpB,MAAM,WAAW,MAAM,MAAM,KAAK,IAAI,WAAW,IAAI,GAAG;CAExD,MAAM,kBAAkB,eAAe,SAAS,IAAI,YAAY,OAAO,aAAa,SAAS,CAAC;CAC9F,MAAM,kBAAkB,eAAe,SAAS,IAAI,YAAY,OAAO,aAAa,SAAS,CAAC;CAE9F,MAAM,mBAAmB,aAAa,SAAS;CAC/C,MAAM,mBAAmB,aAAa,SAAS;CAE/C,MAAM,gBACJ,CAAC,qBAAqB,CAAC,mBAAmB,oBAAoB;CAChE,MAAM,iBACJ,CAAC,qBAAqB,CAAC,mBAAmB,oBAAoB;AAKhE,QAAO;EAAE,UAHS,kBAAmB,gBAAgB,CAAC,kBAAkB;EAGrD,WAFD,mBAAmB,gBAAgB,CAAC,iBAAkB;EAE1C,QAAQ;EAAO;;AAI/C,YAAY,UAAU,QAAQ"}