@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 @@
1
+ {"version":3,"file":"preprocessor.mjs","names":["$"],"sources":["../../../../../../../../../../node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tokenizer/preprocessor.js"],"sourcesContent":["import { CODE_POINTS as $, getSurrogatePairCodePoint, isControlCodePoint, isSurrogate, isSurrogatePair, isUndefinedCodePoint, } from '../common/unicode.js';\nimport { ERR } from '../common/error-codes.js';\n//Const\nconst DEFAULT_BUFFER_WATERLINE = 1 << 16;\n//Preprocessor\n//NOTE: HTML input preprocessing\n//(see: http://www.whatwg.org/specs/web-apps/current-work/multipage/parsing.html#preprocessing-the-input-stream)\nexport class Preprocessor {\n constructor(handler) {\n this.handler = handler;\n this.html = '';\n this.pos = -1;\n // NOTE: Initial `lastGapPos` is -2, to ensure `col` on initialisation is 0\n this.lastGapPos = -2;\n this.gapStack = [];\n this.skipNextNewLine = false;\n this.lastChunkWritten = false;\n this.endOfChunkHit = false;\n this.bufferWaterline = DEFAULT_BUFFER_WATERLINE;\n this.isEol = false;\n this.lineStartPos = 0;\n this.droppedBufferSize = 0;\n this.line = 1;\n //NOTE: avoid reporting errors twice on advance/retreat\n this.lastErrOffset = -1;\n }\n /** The column on the current line. If we just saw a gap (eg. a surrogate pair), return the index before. */\n get col() {\n return this.pos - this.lineStartPos + Number(this.lastGapPos !== this.pos);\n }\n get offset() {\n return this.droppedBufferSize + this.pos;\n }\n getError(code, cpOffset) {\n const { line, col, offset } = this;\n const startCol = col + cpOffset;\n const startOffset = offset + cpOffset;\n return {\n code,\n startLine: line,\n endLine: line,\n startCol,\n endCol: startCol,\n startOffset,\n endOffset: startOffset,\n };\n }\n _err(code) {\n if (this.handler.onParseError && this.lastErrOffset !== this.offset) {\n this.lastErrOffset = this.offset;\n this.handler.onParseError(this.getError(code, 0));\n }\n }\n _addGap() {\n this.gapStack.push(this.lastGapPos);\n this.lastGapPos = this.pos;\n }\n _processSurrogate(cp) {\n //NOTE: try to peek a surrogate pair\n if (this.pos !== this.html.length - 1) {\n const nextCp = this.html.charCodeAt(this.pos + 1);\n if (isSurrogatePair(nextCp)) {\n //NOTE: we have a surrogate pair. Peek pair character and recalculate code point.\n this.pos++;\n //NOTE: add a gap that should be avoided during retreat\n this._addGap();\n return getSurrogatePairCodePoint(cp, nextCp);\n }\n }\n //NOTE: we are at the end of a chunk, therefore we can't infer the surrogate pair yet.\n else if (!this.lastChunkWritten) {\n this.endOfChunkHit = true;\n return $.EOF;\n }\n //NOTE: isolated surrogate\n this._err(ERR.surrogateInInputStream);\n return cp;\n }\n willDropParsedChunk() {\n return this.pos > this.bufferWaterline;\n }\n dropParsedChunk() {\n if (this.willDropParsedChunk()) {\n this.html = this.html.substring(this.pos);\n this.lineStartPos -= this.pos;\n this.droppedBufferSize += this.pos;\n this.pos = 0;\n this.lastGapPos = -2;\n this.gapStack.length = 0;\n }\n }\n write(chunk, isLastChunk) {\n if (this.html.length > 0) {\n this.html += chunk;\n }\n else {\n this.html = chunk;\n }\n this.endOfChunkHit = false;\n this.lastChunkWritten = isLastChunk;\n }\n insertHtmlAtCurrentPos(chunk) {\n this.html = this.html.substring(0, this.pos + 1) + chunk + this.html.substring(this.pos + 1);\n this.endOfChunkHit = false;\n }\n startsWith(pattern, caseSensitive) {\n // Check if our buffer has enough characters\n if (this.pos + pattern.length > this.html.length) {\n this.endOfChunkHit = !this.lastChunkWritten;\n return false;\n }\n if (caseSensitive) {\n return this.html.startsWith(pattern, this.pos);\n }\n for (let i = 0; i < pattern.length; i++) {\n const cp = this.html.charCodeAt(this.pos + i) | 0x20;\n if (cp !== pattern.charCodeAt(i)) {\n return false;\n }\n }\n return true;\n }\n peek(offset) {\n const pos = this.pos + offset;\n if (pos >= this.html.length) {\n this.endOfChunkHit = !this.lastChunkWritten;\n return $.EOF;\n }\n const code = this.html.charCodeAt(pos);\n return code === $.CARRIAGE_RETURN ? $.LINE_FEED : code;\n }\n advance() {\n this.pos++;\n //NOTE: LF should be in the last column of the line\n if (this.isEol) {\n this.isEol = false;\n this.line++;\n this.lineStartPos = this.pos;\n }\n if (this.pos >= this.html.length) {\n this.endOfChunkHit = !this.lastChunkWritten;\n return $.EOF;\n }\n let cp = this.html.charCodeAt(this.pos);\n //NOTE: all U+000D CARRIAGE RETURN (CR) characters must be converted to U+000A LINE FEED (LF) characters\n if (cp === $.CARRIAGE_RETURN) {\n this.isEol = true;\n this.skipNextNewLine = true;\n return $.LINE_FEED;\n }\n //NOTE: any U+000A LINE FEED (LF) characters that immediately follow a U+000D CARRIAGE RETURN (CR) character\n //must be ignored.\n if (cp === $.LINE_FEED) {\n this.isEol = true;\n if (this.skipNextNewLine) {\n // `line` will be bumped again in the recursive call.\n this.line--;\n this.skipNextNewLine = false;\n this._addGap();\n return this.advance();\n }\n }\n this.skipNextNewLine = false;\n if (isSurrogate(cp)) {\n cp = this._processSurrogate(cp);\n }\n //OPTIMIZATION: first check if code point is in the common allowed\n //range (ASCII alphanumeric, whitespaces, big chunk of BMP)\n //before going into detailed performance cost validation.\n const isCommonValidRange = this.handler.onParseError === null ||\n (cp > 0x1f && cp < 0x7f) ||\n cp === $.LINE_FEED ||\n cp === $.CARRIAGE_RETURN ||\n (cp > 0x9f && cp < 64976);\n if (!isCommonValidRange) {\n this._checkForProblematicCharacters(cp);\n }\n return cp;\n }\n _checkForProblematicCharacters(cp) {\n if (isControlCodePoint(cp)) {\n this._err(ERR.controlCharacterInInputStream);\n }\n else if (isUndefinedCodePoint(cp)) {\n this._err(ERR.noncharacterInInputStream);\n }\n }\n retreat(count) {\n this.pos -= count;\n while (this.pos < this.lastGapPos) {\n this.lastGapPos = this.gapStack.pop();\n this.pos--;\n }\n this.isEol = false;\n }\n}\n"],"x_google_ignoreList":[0],"mappings":"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"}
@@ -0,0 +1,166 @@
1
+ const require_html = require('../common/html.cjs');
2
+
3
+ //#region ../../node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.js
4
+ const defaultTreeAdapter = {
5
+ createDocument() {
6
+ return {
7
+ nodeName: "#document",
8
+ mode: require_html.DOCUMENT_MODE.NO_QUIRKS,
9
+ childNodes: []
10
+ };
11
+ },
12
+ createDocumentFragment() {
13
+ return {
14
+ nodeName: "#document-fragment",
15
+ childNodes: []
16
+ };
17
+ },
18
+ createElement(tagName, namespaceURI, attrs) {
19
+ return {
20
+ nodeName: tagName,
21
+ tagName,
22
+ attrs,
23
+ namespaceURI,
24
+ childNodes: [],
25
+ parentNode: null
26
+ };
27
+ },
28
+ createCommentNode(data) {
29
+ return {
30
+ nodeName: "#comment",
31
+ data,
32
+ parentNode: null
33
+ };
34
+ },
35
+ createTextNode(value) {
36
+ return {
37
+ nodeName: "#text",
38
+ value,
39
+ parentNode: null
40
+ };
41
+ },
42
+ appendChild(parentNode, newNode) {
43
+ parentNode.childNodes.push(newNode);
44
+ newNode.parentNode = parentNode;
45
+ },
46
+ insertBefore(parentNode, newNode, referenceNode) {
47
+ const insertionIdx = parentNode.childNodes.indexOf(referenceNode);
48
+ parentNode.childNodes.splice(insertionIdx, 0, newNode);
49
+ newNode.parentNode = parentNode;
50
+ },
51
+ setTemplateContent(templateElement, contentElement) {
52
+ templateElement.content = contentElement;
53
+ },
54
+ getTemplateContent(templateElement) {
55
+ return templateElement.content;
56
+ },
57
+ setDocumentType(document, name, publicId, systemId) {
58
+ const doctypeNode = document.childNodes.find((node) => node.nodeName === "#documentType");
59
+ if (doctypeNode) {
60
+ doctypeNode.name = name;
61
+ doctypeNode.publicId = publicId;
62
+ doctypeNode.systemId = systemId;
63
+ } else {
64
+ const node = {
65
+ nodeName: "#documentType",
66
+ name,
67
+ publicId,
68
+ systemId,
69
+ parentNode: null
70
+ };
71
+ defaultTreeAdapter.appendChild(document, node);
72
+ }
73
+ },
74
+ setDocumentMode(document, mode) {
75
+ document.mode = mode;
76
+ },
77
+ getDocumentMode(document) {
78
+ return document.mode;
79
+ },
80
+ detachNode(node) {
81
+ if (node.parentNode) {
82
+ const idx = node.parentNode.childNodes.indexOf(node);
83
+ node.parentNode.childNodes.splice(idx, 1);
84
+ node.parentNode = null;
85
+ }
86
+ },
87
+ insertText(parentNode, text) {
88
+ if (parentNode.childNodes.length > 0) {
89
+ const prevNode = parentNode.childNodes[parentNode.childNodes.length - 1];
90
+ if (defaultTreeAdapter.isTextNode(prevNode)) {
91
+ prevNode.value += text;
92
+ return;
93
+ }
94
+ }
95
+ defaultTreeAdapter.appendChild(parentNode, defaultTreeAdapter.createTextNode(text));
96
+ },
97
+ insertTextBefore(parentNode, text, referenceNode) {
98
+ const prevNode = parentNode.childNodes[parentNode.childNodes.indexOf(referenceNode) - 1];
99
+ if (prevNode && defaultTreeAdapter.isTextNode(prevNode)) prevNode.value += text;
100
+ else defaultTreeAdapter.insertBefore(parentNode, defaultTreeAdapter.createTextNode(text), referenceNode);
101
+ },
102
+ adoptAttributes(recipient, attrs) {
103
+ const recipientAttrsMap = new Set(recipient.attrs.map((attr) => attr.name));
104
+ for (let j = 0; j < attrs.length; j++) if (!recipientAttrsMap.has(attrs[j].name)) recipient.attrs.push(attrs[j]);
105
+ },
106
+ getFirstChild(node) {
107
+ return node.childNodes[0];
108
+ },
109
+ getChildNodes(node) {
110
+ return node.childNodes;
111
+ },
112
+ getParentNode(node) {
113
+ return node.parentNode;
114
+ },
115
+ getAttrList(element) {
116
+ return element.attrs;
117
+ },
118
+ getTagName(element) {
119
+ return element.tagName;
120
+ },
121
+ getNamespaceURI(element) {
122
+ return element.namespaceURI;
123
+ },
124
+ getTextNodeContent(textNode) {
125
+ return textNode.value;
126
+ },
127
+ getCommentNodeContent(commentNode) {
128
+ return commentNode.data;
129
+ },
130
+ getDocumentTypeNodeName(doctypeNode) {
131
+ return doctypeNode.name;
132
+ },
133
+ getDocumentTypeNodePublicId(doctypeNode) {
134
+ return doctypeNode.publicId;
135
+ },
136
+ getDocumentTypeNodeSystemId(doctypeNode) {
137
+ return doctypeNode.systemId;
138
+ },
139
+ isTextNode(node) {
140
+ return node.nodeName === "#text";
141
+ },
142
+ isCommentNode(node) {
143
+ return node.nodeName === "#comment";
144
+ },
145
+ isDocumentTypeNode(node) {
146
+ return node.nodeName === "#documentType";
147
+ },
148
+ isElementNode(node) {
149
+ return Object.prototype.hasOwnProperty.call(node, "tagName");
150
+ },
151
+ setNodeSourceCodeLocation(node, location) {
152
+ node.sourceCodeLocation = location;
153
+ },
154
+ getNodeSourceCodeLocation(node) {
155
+ return node.sourceCodeLocation;
156
+ },
157
+ updateNodeSourceCodeLocation(node, endLocation) {
158
+ node.sourceCodeLocation = {
159
+ ...node.sourceCodeLocation,
160
+ ...endLocation
161
+ };
162
+ }
163
+ };
164
+
165
+ //#endregion
166
+ exports.defaultTreeAdapter = defaultTreeAdapter;
@@ -0,0 +1,167 @@
1
+ import { DOCUMENT_MODE } from "../common/html.mjs";
2
+
3
+ //#region ../../node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.js
4
+ const defaultTreeAdapter = {
5
+ createDocument() {
6
+ return {
7
+ nodeName: "#document",
8
+ mode: DOCUMENT_MODE.NO_QUIRKS,
9
+ childNodes: []
10
+ };
11
+ },
12
+ createDocumentFragment() {
13
+ return {
14
+ nodeName: "#document-fragment",
15
+ childNodes: []
16
+ };
17
+ },
18
+ createElement(tagName, namespaceURI, attrs) {
19
+ return {
20
+ nodeName: tagName,
21
+ tagName,
22
+ attrs,
23
+ namespaceURI,
24
+ childNodes: [],
25
+ parentNode: null
26
+ };
27
+ },
28
+ createCommentNode(data) {
29
+ return {
30
+ nodeName: "#comment",
31
+ data,
32
+ parentNode: null
33
+ };
34
+ },
35
+ createTextNode(value) {
36
+ return {
37
+ nodeName: "#text",
38
+ value,
39
+ parentNode: null
40
+ };
41
+ },
42
+ appendChild(parentNode, newNode) {
43
+ parentNode.childNodes.push(newNode);
44
+ newNode.parentNode = parentNode;
45
+ },
46
+ insertBefore(parentNode, newNode, referenceNode) {
47
+ const insertionIdx = parentNode.childNodes.indexOf(referenceNode);
48
+ parentNode.childNodes.splice(insertionIdx, 0, newNode);
49
+ newNode.parentNode = parentNode;
50
+ },
51
+ setTemplateContent(templateElement, contentElement) {
52
+ templateElement.content = contentElement;
53
+ },
54
+ getTemplateContent(templateElement) {
55
+ return templateElement.content;
56
+ },
57
+ setDocumentType(document, name, publicId, systemId) {
58
+ const doctypeNode = document.childNodes.find((node) => node.nodeName === "#documentType");
59
+ if (doctypeNode) {
60
+ doctypeNode.name = name;
61
+ doctypeNode.publicId = publicId;
62
+ doctypeNode.systemId = systemId;
63
+ } else {
64
+ const node = {
65
+ nodeName: "#documentType",
66
+ name,
67
+ publicId,
68
+ systemId,
69
+ parentNode: null
70
+ };
71
+ defaultTreeAdapter.appendChild(document, node);
72
+ }
73
+ },
74
+ setDocumentMode(document, mode) {
75
+ document.mode = mode;
76
+ },
77
+ getDocumentMode(document) {
78
+ return document.mode;
79
+ },
80
+ detachNode(node) {
81
+ if (node.parentNode) {
82
+ const idx = node.parentNode.childNodes.indexOf(node);
83
+ node.parentNode.childNodes.splice(idx, 1);
84
+ node.parentNode = null;
85
+ }
86
+ },
87
+ insertText(parentNode, text) {
88
+ if (parentNode.childNodes.length > 0) {
89
+ const prevNode = parentNode.childNodes[parentNode.childNodes.length - 1];
90
+ if (defaultTreeAdapter.isTextNode(prevNode)) {
91
+ prevNode.value += text;
92
+ return;
93
+ }
94
+ }
95
+ defaultTreeAdapter.appendChild(parentNode, defaultTreeAdapter.createTextNode(text));
96
+ },
97
+ insertTextBefore(parentNode, text, referenceNode) {
98
+ const prevNode = parentNode.childNodes[parentNode.childNodes.indexOf(referenceNode) - 1];
99
+ if (prevNode && defaultTreeAdapter.isTextNode(prevNode)) prevNode.value += text;
100
+ else defaultTreeAdapter.insertBefore(parentNode, defaultTreeAdapter.createTextNode(text), referenceNode);
101
+ },
102
+ adoptAttributes(recipient, attrs) {
103
+ const recipientAttrsMap = new Set(recipient.attrs.map((attr) => attr.name));
104
+ for (let j = 0; j < attrs.length; j++) if (!recipientAttrsMap.has(attrs[j].name)) recipient.attrs.push(attrs[j]);
105
+ },
106
+ getFirstChild(node) {
107
+ return node.childNodes[0];
108
+ },
109
+ getChildNodes(node) {
110
+ return node.childNodes;
111
+ },
112
+ getParentNode(node) {
113
+ return node.parentNode;
114
+ },
115
+ getAttrList(element) {
116
+ return element.attrs;
117
+ },
118
+ getTagName(element) {
119
+ return element.tagName;
120
+ },
121
+ getNamespaceURI(element) {
122
+ return element.namespaceURI;
123
+ },
124
+ getTextNodeContent(textNode) {
125
+ return textNode.value;
126
+ },
127
+ getCommentNodeContent(commentNode) {
128
+ return commentNode.data;
129
+ },
130
+ getDocumentTypeNodeName(doctypeNode) {
131
+ return doctypeNode.name;
132
+ },
133
+ getDocumentTypeNodePublicId(doctypeNode) {
134
+ return doctypeNode.publicId;
135
+ },
136
+ getDocumentTypeNodeSystemId(doctypeNode) {
137
+ return doctypeNode.systemId;
138
+ },
139
+ isTextNode(node) {
140
+ return node.nodeName === "#text";
141
+ },
142
+ isCommentNode(node) {
143
+ return node.nodeName === "#comment";
144
+ },
145
+ isDocumentTypeNode(node) {
146
+ return node.nodeName === "#documentType";
147
+ },
148
+ isElementNode(node) {
149
+ return Object.prototype.hasOwnProperty.call(node, "tagName");
150
+ },
151
+ setNodeSourceCodeLocation(node, location) {
152
+ node.sourceCodeLocation = location;
153
+ },
154
+ getNodeSourceCodeLocation(node) {
155
+ return node.sourceCodeLocation;
156
+ },
157
+ updateNodeSourceCodeLocation(node, endLocation) {
158
+ node.sourceCodeLocation = {
159
+ ...node.sourceCodeLocation,
160
+ ...endLocation
161
+ };
162
+ }
163
+ };
164
+
165
+ //#endregion
166
+ export { defaultTreeAdapter };
167
+ //# sourceMappingURL=default.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"default.mjs","names":[],"sources":["../../../../../../../../../../node_modules/.pnpm/parse5@8.0.0/node_modules/parse5/dist/tree-adapters/default.js"],"sourcesContent":["import { DOCUMENT_MODE } from '../common/html.js';\nexport const defaultTreeAdapter = {\n //Node construction\n createDocument() {\n return {\n nodeName: '#document',\n mode: DOCUMENT_MODE.NO_QUIRKS,\n childNodes: [],\n };\n },\n createDocumentFragment() {\n return {\n nodeName: '#document-fragment',\n childNodes: [],\n };\n },\n createElement(tagName, namespaceURI, attrs) {\n return {\n nodeName: tagName,\n tagName,\n attrs,\n namespaceURI,\n childNodes: [],\n parentNode: null,\n };\n },\n createCommentNode(data) {\n return {\n nodeName: '#comment',\n data,\n parentNode: null,\n };\n },\n createTextNode(value) {\n return {\n nodeName: '#text',\n value,\n parentNode: null,\n };\n },\n //Tree mutation\n appendChild(parentNode, newNode) {\n parentNode.childNodes.push(newNode);\n newNode.parentNode = parentNode;\n },\n insertBefore(parentNode, newNode, referenceNode) {\n const insertionIdx = parentNode.childNodes.indexOf(referenceNode);\n parentNode.childNodes.splice(insertionIdx, 0, newNode);\n newNode.parentNode = parentNode;\n },\n setTemplateContent(templateElement, contentElement) {\n templateElement.content = contentElement;\n },\n getTemplateContent(templateElement) {\n return templateElement.content;\n },\n setDocumentType(document, name, publicId, systemId) {\n const doctypeNode = document.childNodes.find((node) => node.nodeName === '#documentType');\n if (doctypeNode) {\n doctypeNode.name = name;\n doctypeNode.publicId = publicId;\n doctypeNode.systemId = systemId;\n }\n else {\n const node = {\n nodeName: '#documentType',\n name,\n publicId,\n systemId,\n parentNode: null,\n };\n defaultTreeAdapter.appendChild(document, node);\n }\n },\n setDocumentMode(document, mode) {\n document.mode = mode;\n },\n getDocumentMode(document) {\n return document.mode;\n },\n detachNode(node) {\n if (node.parentNode) {\n const idx = node.parentNode.childNodes.indexOf(node);\n node.parentNode.childNodes.splice(idx, 1);\n node.parentNode = null;\n }\n },\n insertText(parentNode, text) {\n if (parentNode.childNodes.length > 0) {\n const prevNode = parentNode.childNodes[parentNode.childNodes.length - 1];\n if (defaultTreeAdapter.isTextNode(prevNode)) {\n prevNode.value += text;\n return;\n }\n }\n defaultTreeAdapter.appendChild(parentNode, defaultTreeAdapter.createTextNode(text));\n },\n insertTextBefore(parentNode, text, referenceNode) {\n const prevNode = parentNode.childNodes[parentNode.childNodes.indexOf(referenceNode) - 1];\n if (prevNode && defaultTreeAdapter.isTextNode(prevNode)) {\n prevNode.value += text;\n }\n else {\n defaultTreeAdapter.insertBefore(parentNode, defaultTreeAdapter.createTextNode(text), referenceNode);\n }\n },\n adoptAttributes(recipient, attrs) {\n const recipientAttrsMap = new Set(recipient.attrs.map((attr) => attr.name));\n for (let j = 0; j < attrs.length; j++) {\n if (!recipientAttrsMap.has(attrs[j].name)) {\n recipient.attrs.push(attrs[j]);\n }\n }\n },\n //Tree traversing\n getFirstChild(node) {\n return node.childNodes[0];\n },\n getChildNodes(node) {\n return node.childNodes;\n },\n getParentNode(node) {\n return node.parentNode;\n },\n getAttrList(element) {\n return element.attrs;\n },\n //Node data\n getTagName(element) {\n return element.tagName;\n },\n getNamespaceURI(element) {\n return element.namespaceURI;\n },\n getTextNodeContent(textNode) {\n return textNode.value;\n },\n getCommentNodeContent(commentNode) {\n return commentNode.data;\n },\n getDocumentTypeNodeName(doctypeNode) {\n return doctypeNode.name;\n },\n getDocumentTypeNodePublicId(doctypeNode) {\n return doctypeNode.publicId;\n },\n getDocumentTypeNodeSystemId(doctypeNode) {\n return doctypeNode.systemId;\n },\n //Node types\n isTextNode(node) {\n return node.nodeName === '#text';\n },\n isCommentNode(node) {\n return node.nodeName === '#comment';\n },\n isDocumentTypeNode(node) {\n return node.nodeName === '#documentType';\n },\n isElementNode(node) {\n return Object.prototype.hasOwnProperty.call(node, 'tagName');\n },\n // Source code location\n setNodeSourceCodeLocation(node, location) {\n node.sourceCodeLocation = location;\n },\n getNodeSourceCodeLocation(node) {\n return node.sourceCodeLocation;\n },\n updateNodeSourceCodeLocation(node, endLocation) {\n node.sourceCodeLocation = { ...node.sourceCodeLocation, ...endLocation };\n },\n};\n"],"x_google_ignoreList":[0],"mappings":";;;AACA,MAAa,qBAAqB;CAE9B,iBAAiB;AACb,SAAO;GACH,UAAU;GACV,MAAM,cAAc;GACpB,YAAY,EAAE;GACjB;;CAEL,yBAAyB;AACrB,SAAO;GACH,UAAU;GACV,YAAY,EAAE;GACjB;;CAEL,cAAc,SAAS,cAAc,OAAO;AACxC,SAAO;GACH,UAAU;GACV;GACA;GACA;GACA,YAAY,EAAE;GACd,YAAY;GACf;;CAEL,kBAAkB,MAAM;AACpB,SAAO;GACH,UAAU;GACV;GACA,YAAY;GACf;;CAEL,eAAe,OAAO;AAClB,SAAO;GACH,UAAU;GACV;GACA,YAAY;GACf;;CAGL,YAAY,YAAY,SAAS;AAC7B,aAAW,WAAW,KAAK,QAAQ;AACnC,UAAQ,aAAa;;CAEzB,aAAa,YAAY,SAAS,eAAe;EAC7C,MAAM,eAAe,WAAW,WAAW,QAAQ,cAAc;AACjE,aAAW,WAAW,OAAO,cAAc,GAAG,QAAQ;AACtD,UAAQ,aAAa;;CAEzB,mBAAmB,iBAAiB,gBAAgB;AAChD,kBAAgB,UAAU;;CAE9B,mBAAmB,iBAAiB;AAChC,SAAO,gBAAgB;;CAE3B,gBAAgB,UAAU,MAAM,UAAU,UAAU;EAChD,MAAM,cAAc,SAAS,WAAW,MAAM,SAAS,KAAK,aAAa,gBAAgB;AACzF,MAAI,aAAa;AACb,eAAY,OAAO;AACnB,eAAY,WAAW;AACvB,eAAY,WAAW;SAEtB;GACD,MAAM,OAAO;IACT,UAAU;IACV;IACA;IACA;IACA,YAAY;IACf;AACD,sBAAmB,YAAY,UAAU,KAAK;;;CAGtD,gBAAgB,UAAU,MAAM;AAC5B,WAAS,OAAO;;CAEpB,gBAAgB,UAAU;AACtB,SAAO,SAAS;;CAEpB,WAAW,MAAM;AACb,MAAI,KAAK,YAAY;GACjB,MAAM,MAAM,KAAK,WAAW,WAAW,QAAQ,KAAK;AACpD,QAAK,WAAW,WAAW,OAAO,KAAK,EAAE;AACzC,QAAK,aAAa;;;CAG1B,WAAW,YAAY,MAAM;AACzB,MAAI,WAAW,WAAW,SAAS,GAAG;GAClC,MAAM,WAAW,WAAW,WAAW,WAAW,WAAW,SAAS;AACtE,OAAI,mBAAmB,WAAW,SAAS,EAAE;AACzC,aAAS,SAAS;AAClB;;;AAGR,qBAAmB,YAAY,YAAY,mBAAmB,eAAe,KAAK,CAAC;;CAEvF,iBAAiB,YAAY,MAAM,eAAe;EAC9C,MAAM,WAAW,WAAW,WAAW,WAAW,WAAW,QAAQ,cAAc,GAAG;AACtF,MAAI,YAAY,mBAAmB,WAAW,SAAS,CACnD,UAAS,SAAS;MAGlB,oBAAmB,aAAa,YAAY,mBAAmB,eAAe,KAAK,EAAE,cAAc;;CAG3G,gBAAgB,WAAW,OAAO;EAC9B,MAAM,oBAAoB,IAAI,IAAI,UAAU,MAAM,KAAK,SAAS,KAAK,KAAK,CAAC;AAC3E,OAAK,IAAI,IAAI,GAAG,IAAI,MAAM,QAAQ,IAC9B,KAAI,CAAC,kBAAkB,IAAI,MAAM,GAAG,KAAK,CACrC,WAAU,MAAM,KAAK,MAAM,GAAG;;CAK1C,cAAc,MAAM;AAChB,SAAO,KAAK,WAAW;;CAE3B,cAAc,MAAM;AAChB,SAAO,KAAK;;CAEhB,cAAc,MAAM;AAChB,SAAO,KAAK;;CAEhB,YAAY,SAAS;AACjB,SAAO,QAAQ;;CAGnB,WAAW,SAAS;AAChB,SAAO,QAAQ;;CAEnB,gBAAgB,SAAS;AACrB,SAAO,QAAQ;;CAEnB,mBAAmB,UAAU;AACzB,SAAO,SAAS;;CAEpB,sBAAsB,aAAa;AAC/B,SAAO,YAAY;;CAEvB,wBAAwB,aAAa;AACjC,SAAO,YAAY;;CAEvB,4BAA4B,aAAa;AACrC,SAAO,YAAY;;CAEvB,4BAA4B,aAAa;AACrC,SAAO,YAAY;;CAGvB,WAAW,MAAM;AACb,SAAO,KAAK,aAAa;;CAE7B,cAAc,MAAM;AAChB,SAAO,KAAK,aAAa;;CAE7B,mBAAmB,MAAM;AACrB,SAAO,KAAK,aAAa;;CAE7B,cAAc,MAAM;AAChB,SAAO,OAAO,UAAU,eAAe,KAAK,MAAM,UAAU;;CAGhE,0BAA0B,MAAM,UAAU;AACtC,OAAK,qBAAqB;;CAE9B,0BAA0B,MAAM;AAC5B,SAAO,KAAK;;CAEhB,6BAA6B,MAAM,aAAa;AAC5C,OAAK,qBAAqB;GAAE,GAAG,KAAK;GAAoB,GAAG;GAAa;;CAE/E"}
@@ -0,0 +1,299 @@
1
+ 'use strict';
2
+
3
+ const require_runtime = require('../../../../../_virtual/_rolldown/runtime.cjs');
4
+
5
+ //#region ../../node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.js
6
+ var require_punycode = /* @__PURE__ */ require_runtime.__commonJSMin(((exports, module) => {
7
+ /** Highest positive signed 32-bit float value */
8
+ const maxInt = 2147483647;
9
+ /** Bootstring parameters */
10
+ const base = 36;
11
+ const tMin = 1;
12
+ const tMax = 26;
13
+ const skew = 38;
14
+ const damp = 700;
15
+ const initialBias = 72;
16
+ const initialN = 128;
17
+ const delimiter = "-";
18
+ /** Regular expressions */
19
+ const regexPunycode = /^xn--/;
20
+ const regexNonASCII = /[^\0-\x7F]/;
21
+ const regexSeparators = /[\x2E\u3002\uFF0E\uFF61]/g;
22
+ /** Error messages */
23
+ const errors = {
24
+ "overflow": "Overflow: input needs wider integers to process",
25
+ "not-basic": "Illegal input >= 0x80 (not a basic code point)",
26
+ "invalid-input": "Invalid input"
27
+ };
28
+ /** Convenience shortcuts */
29
+ const baseMinusTMin = base - tMin;
30
+ const floor = Math.floor;
31
+ const stringFromCharCode = String.fromCharCode;
32
+ /**
33
+ * A generic error utility function.
34
+ * @private
35
+ * @param {String} type The error type.
36
+ * @returns {Error} Throws a `RangeError` with the applicable error message.
37
+ */
38
+ function error(type) {
39
+ throw new RangeError(errors[type]);
40
+ }
41
+ /**
42
+ * A generic `Array#map` utility function.
43
+ * @private
44
+ * @param {Array} array The array to iterate over.
45
+ * @param {Function} callback The function that gets called for every array
46
+ * item.
47
+ * @returns {Array} A new array of values returned by the callback function.
48
+ */
49
+ function map(array, callback) {
50
+ const result = [];
51
+ let length = array.length;
52
+ while (length--) result[length] = callback(array[length]);
53
+ return result;
54
+ }
55
+ /**
56
+ * A simple `Array#map`-like wrapper to work with domain name strings or email
57
+ * addresses.
58
+ * @private
59
+ * @param {String} domain The domain name or email address.
60
+ * @param {Function} callback The function that gets called for every
61
+ * character.
62
+ * @returns {String} A new string of characters returned by the callback
63
+ * function.
64
+ */
65
+ function mapDomain(domain, callback) {
66
+ const parts = domain.split("@");
67
+ let result = "";
68
+ if (parts.length > 1) {
69
+ result = parts[0] + "@";
70
+ domain = parts[1];
71
+ }
72
+ domain = domain.replace(regexSeparators, ".");
73
+ const encoded = map(domain.split("."), callback).join(".");
74
+ return result + encoded;
75
+ }
76
+ /**
77
+ * Creates an array containing the numeric code points of each Unicode
78
+ * character in the string. While JavaScript uses UCS-2 internally,
79
+ * this function will convert a pair of surrogate halves (each of which
80
+ * UCS-2 exposes as separate characters) into a single code point,
81
+ * matching UTF-16.
82
+ * @see `punycode.ucs2.encode`
83
+ * @see <https://mathiasbynens.be/notes/javascript-encoding>
84
+ * @memberOf punycode.ucs2
85
+ * @name decode
86
+ * @param {String} string The Unicode input string (UCS-2).
87
+ * @returns {Array} The new array of code points.
88
+ */
89
+ function ucs2decode(string) {
90
+ const output = [];
91
+ let counter = 0;
92
+ const length = string.length;
93
+ while (counter < length) {
94
+ const value = string.charCodeAt(counter++);
95
+ if (value >= 55296 && value <= 56319 && counter < length) {
96
+ const extra = string.charCodeAt(counter++);
97
+ if ((extra & 64512) == 56320) output.push(((value & 1023) << 10) + (extra & 1023) + 65536);
98
+ else {
99
+ output.push(value);
100
+ counter--;
101
+ }
102
+ } else output.push(value);
103
+ }
104
+ return output;
105
+ }
106
+ /**
107
+ * Creates a string based on an array of numeric code points.
108
+ * @see `punycode.ucs2.decode`
109
+ * @memberOf punycode.ucs2
110
+ * @name encode
111
+ * @param {Array} codePoints The array of numeric code points.
112
+ * @returns {String} The new Unicode string (UCS-2).
113
+ */
114
+ const ucs2encode = (codePoints) => String.fromCodePoint(...codePoints);
115
+ /**
116
+ * Converts a basic code point into a digit/integer.
117
+ * @see `digitToBasic()`
118
+ * @private
119
+ * @param {Number} codePoint The basic numeric code point value.
120
+ * @returns {Number} The numeric value of a basic code point (for use in
121
+ * representing integers) in the range `0` to `base - 1`, or `base` if
122
+ * the code point does not represent a value.
123
+ */
124
+ const basicToDigit = function(codePoint) {
125
+ if (codePoint >= 48 && codePoint < 58) return 26 + (codePoint - 48);
126
+ if (codePoint >= 65 && codePoint < 91) return codePoint - 65;
127
+ if (codePoint >= 97 && codePoint < 123) return codePoint - 97;
128
+ return base;
129
+ };
130
+ /**
131
+ * Converts a digit/integer into a basic code point.
132
+ * @see `basicToDigit()`
133
+ * @private
134
+ * @param {Number} digit The numeric value of a basic code point.
135
+ * @returns {Number} The basic code point whose value (when used for
136
+ * representing integers) is `digit`, which needs to be in the range
137
+ * `0` to `base - 1`. If `flag` is non-zero, the uppercase form is
138
+ * used; else, the lowercase form is used. The behavior is undefined
139
+ * if `flag` is non-zero and `digit` has no uppercase form.
140
+ */
141
+ const digitToBasic = function(digit, flag) {
142
+ return digit + 22 + 75 * (digit < 26) - ((flag != 0) << 5);
143
+ };
144
+ /**
145
+ * Bias adaptation function as per section 3.4 of RFC 3492.
146
+ * https://tools.ietf.org/html/rfc3492#section-3.4
147
+ * @private
148
+ */
149
+ const adapt = function(delta, numPoints, firstTime) {
150
+ let k = 0;
151
+ delta = firstTime ? floor(delta / damp) : delta >> 1;
152
+ delta += floor(delta / numPoints);
153
+ for (; delta > baseMinusTMin * tMax >> 1; k += base) delta = floor(delta / baseMinusTMin);
154
+ return floor(k + (baseMinusTMin + 1) * delta / (delta + skew));
155
+ };
156
+ /**
157
+ * Converts a Punycode string of ASCII-only symbols to a string of Unicode
158
+ * symbols.
159
+ * @memberOf punycode
160
+ * @param {String} input The Punycode string of ASCII-only symbols.
161
+ * @returns {String} The resulting string of Unicode symbols.
162
+ */
163
+ const decode = function(input) {
164
+ const output = [];
165
+ const inputLength = input.length;
166
+ let i = 0;
167
+ let n = initialN;
168
+ let bias = initialBias;
169
+ let basic = input.lastIndexOf(delimiter);
170
+ if (basic < 0) basic = 0;
171
+ for (let j = 0; j < basic; ++j) {
172
+ if (input.charCodeAt(j) >= 128) error("not-basic");
173
+ output.push(input.charCodeAt(j));
174
+ }
175
+ for (let index = basic > 0 ? basic + 1 : 0; index < inputLength;) {
176
+ const oldi = i;
177
+ for (let w = 1, k = base;; k += base) {
178
+ if (index >= inputLength) error("invalid-input");
179
+ const digit = basicToDigit(input.charCodeAt(index++));
180
+ if (digit >= base) error("invalid-input");
181
+ if (digit > floor((maxInt - i) / w)) error("overflow");
182
+ i += digit * w;
183
+ const t = k <= bias ? tMin : k >= bias + tMax ? tMax : k - bias;
184
+ if (digit < t) break;
185
+ const baseMinusT = base - t;
186
+ if (w > floor(maxInt / baseMinusT)) error("overflow");
187
+ w *= baseMinusT;
188
+ }
189
+ const out = output.length + 1;
190
+ bias = adapt(i - oldi, out, oldi == 0);
191
+ if (floor(i / out) > maxInt - n) error("overflow");
192
+ n += floor(i / out);
193
+ i %= out;
194
+ output.splice(i++, 0, n);
195
+ }
196
+ return String.fromCodePoint(...output);
197
+ };
198
+ /**
199
+ * Converts a string of Unicode symbols (e.g. a domain name label) to a
200
+ * Punycode string of ASCII-only symbols.
201
+ * @memberOf punycode
202
+ * @param {String} input The string of Unicode symbols.
203
+ * @returns {String} The resulting Punycode string of ASCII-only symbols.
204
+ */
205
+ const encode = function(input) {
206
+ const output = [];
207
+ input = ucs2decode(input);
208
+ const inputLength = input.length;
209
+ let n = initialN;
210
+ let delta = 0;
211
+ let bias = initialBias;
212
+ for (const currentValue of input) if (currentValue < 128) output.push(stringFromCharCode(currentValue));
213
+ const basicLength = output.length;
214
+ let handledCPCount = basicLength;
215
+ if (basicLength) output.push(delimiter);
216
+ while (handledCPCount < inputLength) {
217
+ let m = maxInt;
218
+ for (const currentValue of input) if (currentValue >= n && currentValue < m) m = currentValue;
219
+ const handledCPCountPlusOne = handledCPCount + 1;
220
+ if (m - n > floor((maxInt - delta) / handledCPCountPlusOne)) error("overflow");
221
+ delta += (m - n) * handledCPCountPlusOne;
222
+ n = m;
223
+ for (const currentValue of input) {
224
+ if (currentValue < n && ++delta > maxInt) error("overflow");
225
+ if (currentValue === n) {
226
+ let q = delta;
227
+ for (let k = base;; k += base) {
228
+ const t = k <= bias ? tMin : k >= bias + tMax ? tMax : k - bias;
229
+ if (q < t) break;
230
+ const qMinusT = q - t;
231
+ const baseMinusT = base - t;
232
+ output.push(stringFromCharCode(digitToBasic(t + qMinusT % baseMinusT, 0)));
233
+ q = floor(qMinusT / baseMinusT);
234
+ }
235
+ output.push(stringFromCharCode(digitToBasic(q, 0)));
236
+ bias = adapt(delta, handledCPCountPlusOne, handledCPCount === basicLength);
237
+ delta = 0;
238
+ ++handledCPCount;
239
+ }
240
+ }
241
+ ++delta;
242
+ ++n;
243
+ }
244
+ return output.join("");
245
+ };
246
+ /**
247
+ * Converts a Punycode string representing a domain name or an email address
248
+ * to Unicode. Only the Punycoded parts of the input will be converted, i.e.
249
+ * it doesn't matter if you call it on a string that has already been
250
+ * converted to Unicode.
251
+ * @memberOf punycode
252
+ * @param {String} input The Punycoded domain name or email address to
253
+ * convert to Unicode.
254
+ * @returns {String} The Unicode representation of the given Punycode
255
+ * string.
256
+ */
257
+ const toUnicode = function(input) {
258
+ return mapDomain(input, function(string) {
259
+ return regexPunycode.test(string) ? decode(string.slice(4).toLowerCase()) : string;
260
+ });
261
+ };
262
+ /**
263
+ * Converts a Unicode string representing a domain name or an email address to
264
+ * Punycode. Only the non-ASCII parts of the domain name will be converted,
265
+ * i.e. it doesn't matter if you call it with a domain that's already in
266
+ * ASCII.
267
+ * @memberOf punycode
268
+ * @param {String} input The domain name or email address to convert, as a
269
+ * Unicode string.
270
+ * @returns {String} The Punycode representation of the given domain name or
271
+ * email address.
272
+ */
273
+ const toASCII = function(input) {
274
+ return mapDomain(input, function(string) {
275
+ return regexNonASCII.test(string) ? "xn--" + encode(string) : string;
276
+ });
277
+ };
278
+ /** Define the public API */
279
+ const punycode = {
280
+ "version": "2.3.1",
281
+ "ucs2": {
282
+ "decode": ucs2decode,
283
+ "encode": ucs2encode
284
+ },
285
+ "decode": decode,
286
+ "encode": encode,
287
+ "toASCII": toASCII,
288
+ "toUnicode": toUnicode
289
+ };
290
+ module.exports = punycode;
291
+ }));
292
+
293
+ //#endregion
294
+ Object.defineProperty(exports, 'default', {
295
+ enumerable: true,
296
+ get: function () {
297
+ return require_punycode();
298
+ }
299
+ });