@prismicio/client 7.7.4 → 7.7.5-alpha.0

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 (765) hide show
  1. package/dist/_node_modules/@ungap/structured-clone/esm/deserialize.cjs +63 -0
  2. package/dist/_node_modules/@ungap/structured-clone/esm/deserialize.cjs.map +1 -0
  3. package/dist/_node_modules/@ungap/structured-clone/esm/deserialize.js +63 -0
  4. package/dist/_node_modules/@ungap/structured-clone/esm/deserialize.js.map +1 -0
  5. package/dist/_node_modules/@ungap/structured-clone/esm/index.cjs +12 -0
  6. package/dist/_node_modules/@ungap/structured-clone/esm/index.cjs.map +1 -0
  7. package/dist/_node_modules/@ungap/structured-clone/esm/index.js +12 -0
  8. package/dist/_node_modules/@ungap/structured-clone/esm/index.js.map +1 -0
  9. package/dist/_node_modules/@ungap/structured-clone/esm/serialize.cjs +127 -0
  10. package/dist/_node_modules/@ungap/structured-clone/esm/serialize.cjs.map +1 -0
  11. package/dist/_node_modules/@ungap/structured-clone/esm/serialize.js +127 -0
  12. package/dist/_node_modules/@ungap/structured-clone/esm/serialize.js.map +1 -0
  13. package/dist/_node_modules/@ungap/structured-clone/esm/types.cjs +23 -0
  14. package/dist/_node_modules/@ungap/structured-clone/esm/types.cjs.map +1 -0
  15. package/dist/_node_modules/@ungap/structured-clone/esm/types.js +23 -0
  16. package/dist/_node_modules/@ungap/structured-clone/esm/types.js.map +1 -0
  17. package/dist/_node_modules/bail/index.cjs +9 -0
  18. package/dist/_node_modules/bail/index.cjs.map +1 -0
  19. package/dist/_node_modules/bail/index.js +9 -0
  20. package/dist/_node_modules/bail/index.js.map +1 -0
  21. package/dist/_node_modules/bcp-47-match/index.cjs +74 -0
  22. package/dist/_node_modules/bcp-47-match/index.cjs.map +1 -0
  23. package/dist/_node_modules/bcp-47-match/index.js +74 -0
  24. package/dist/_node_modules/bcp-47-match/index.js.map +1 -0
  25. package/dist/_node_modules/boolbase/index.cjs +13 -0
  26. package/dist/_node_modules/boolbase/index.cjs.map +1 -0
  27. package/dist/_node_modules/boolbase/index.js +14 -0
  28. package/dist/_node_modules/boolbase/index.js.map +1 -0
  29. package/dist/_node_modules/ccount/index.cjs +17 -0
  30. package/dist/_node_modules/ccount/index.cjs.map +1 -0
  31. package/dist/_node_modules/ccount/index.js +17 -0
  32. package/dist/_node_modules/ccount/index.js.map +1 -0
  33. package/dist/_node_modules/character-entities/index.cjs +2131 -0
  34. package/dist/_node_modules/character-entities/index.cjs.map +1 -0
  35. package/dist/_node_modules/character-entities/index.js +2131 -0
  36. package/dist/_node_modules/character-entities/index.js.map +1 -0
  37. package/dist/_node_modules/character-entities-html4/index.cjs +258 -0
  38. package/dist/_node_modules/character-entities-html4/index.cjs.map +1 -0
  39. package/dist/_node_modules/character-entities-html4/index.js +258 -0
  40. package/dist/_node_modules/character-entities-html4/index.js.map +1 -0
  41. package/dist/_node_modules/character-entities-legacy/index.cjs +112 -0
  42. package/dist/_node_modules/character-entities-legacy/index.cjs.map +1 -0
  43. package/dist/_node_modules/character-entities-legacy/index.js +112 -0
  44. package/dist/_node_modules/character-entities-legacy/index.js.map +1 -0
  45. package/dist/_node_modules/comma-separated-tokens/index.cjs +32 -0
  46. package/dist/_node_modules/comma-separated-tokens/index.cjs.map +1 -0
  47. package/dist/_node_modules/comma-separated-tokens/index.js +32 -0
  48. package/dist/_node_modules/comma-separated-tokens/index.js.map +1 -0
  49. package/dist/_node_modules/devlop/lib/default.cjs +6 -0
  50. package/dist/_node_modules/devlop/lib/default.cjs.map +1 -0
  51. package/dist/_node_modules/devlop/lib/default.js +6 -0
  52. package/dist/_node_modules/devlop/lib/default.js.map +1 -0
  53. package/dist/_node_modules/direction/index.cjs +12 -0
  54. package/dist/_node_modules/direction/index.cjs.map +1 -0
  55. package/dist/_node_modules/direction/index.js +12 -0
  56. package/dist/_node_modules/direction/index.js.map +1 -0
  57. package/dist/_node_modules/extend/index.cjs +89 -0
  58. package/dist/_node_modules/extend/index.cjs.map +1 -0
  59. package/dist/_node_modules/extend/index.js +90 -0
  60. package/dist/_node_modules/extend/index.js.map +1 -0
  61. package/dist/_node_modules/hast-util-embedded/lib/index.cjs +14 -0
  62. package/dist/_node_modules/hast-util-embedded/lib/index.cjs.map +1 -0
  63. package/dist/_node_modules/hast-util-embedded/lib/index.js +14 -0
  64. package/dist/_node_modules/hast-util-embedded/lib/index.js.map +1 -0
  65. package/dist/_node_modules/hast-util-from-html/lib/errors.cjs +317 -0
  66. package/dist/_node_modules/hast-util-from-html/lib/errors.cjs.map +1 -0
  67. package/dist/_node_modules/hast-util-from-html/lib/errors.js +317 -0
  68. package/dist/_node_modules/hast-util-from-html/lib/errors.js.map +1 -0
  69. package/dist/_node_modules/hast-util-from-html/lib/index.cjs +96 -0
  70. package/dist/_node_modules/hast-util-from-html/lib/index.cjs.map +1 -0
  71. package/dist/_node_modules/hast-util-from-html/lib/index.js +96 -0
  72. package/dist/_node_modules/hast-util-from-html/lib/index.js.map +1 -0
  73. package/dist/_node_modules/hast-util-from-parse5/lib/index.cjs +187 -0
  74. package/dist/_node_modules/hast-util-from-parse5/lib/index.cjs.map +1 -0
  75. package/dist/_node_modules/hast-util-from-parse5/lib/index.js +187 -0
  76. package/dist/_node_modules/hast-util-from-parse5/lib/index.js.map +1 -0
  77. package/dist/_node_modules/hast-util-has-property/lib/index.cjs +9 -0
  78. package/dist/_node_modules/hast-util-has-property/lib/index.cjs.map +1 -0
  79. package/dist/_node_modules/hast-util-has-property/lib/index.js +9 -0
  80. package/dist/_node_modules/hast-util-has-property/lib/index.js.map +1 -0
  81. package/dist/_node_modules/hast-util-is-element/lib/index.cjs +102 -0
  82. package/dist/_node_modules/hast-util-is-element/lib/index.cjs.map +1 -0
  83. package/dist/_node_modules/hast-util-is-element/lib/index.js +102 -0
  84. package/dist/_node_modules/hast-util-is-element/lib/index.js.map +1 -0
  85. package/dist/_node_modules/hast-util-parse-selector/lib/index.cjs +40 -0
  86. package/dist/_node_modules/hast-util-parse-selector/lib/index.cjs.map +1 -0
  87. package/dist/_node_modules/hast-util-parse-selector/lib/index.js +40 -0
  88. package/dist/_node_modules/hast-util-parse-selector/lib/index.js.map +1 -0
  89. package/dist/_node_modules/hast-util-select/lib/attribute.cjs +67 -0
  90. package/dist/_node_modules/hast-util-select/lib/attribute.cjs.map +1 -0
  91. package/dist/_node_modules/hast-util-select/lib/attribute.js +67 -0
  92. package/dist/_node_modules/hast-util-select/lib/attribute.js.map +1 -0
  93. package/dist/_node_modules/hast-util-select/lib/class-name.cjs +12 -0
  94. package/dist/_node_modules/hast-util-select/lib/class-name.cjs.map +1 -0
  95. package/dist/_node_modules/hast-util-select/lib/class-name.js +12 -0
  96. package/dist/_node_modules/hast-util-select/lib/class-name.js.map +1 -0
  97. package/dist/_node_modules/hast-util-select/lib/enter-state.cjs +79 -0
  98. package/dist/_node_modules/hast-util-select/lib/enter-state.cjs.map +1 -0
  99. package/dist/_node_modules/hast-util-select/lib/enter-state.js +79 -0
  100. package/dist/_node_modules/hast-util-select/lib/enter-state.js.map +1 -0
  101. package/dist/_node_modules/hast-util-select/lib/id.cjs +7 -0
  102. package/dist/_node_modules/hast-util-select/lib/id.cjs.map +1 -0
  103. package/dist/_node_modules/hast-util-select/lib/id.js +7 -0
  104. package/dist/_node_modules/hast-util-select/lib/id.js.map +1 -0
  105. package/dist/_node_modules/hast-util-select/lib/index.cjs +38 -0
  106. package/dist/_node_modules/hast-util-select/lib/index.cjs.map +1 -0
  107. package/dist/_node_modules/hast-util-select/lib/index.js +38 -0
  108. package/dist/_node_modules/hast-util-select/lib/index.js.map +1 -0
  109. package/dist/_node_modules/hast-util-select/lib/name.cjs +7 -0
  110. package/dist/_node_modules/hast-util-select/lib/name.cjs.map +1 -0
  111. package/dist/_node_modules/hast-util-select/lib/name.js +7 -0
  112. package/dist/_node_modules/hast-util-select/lib/name.js.map +1 -0
  113. package/dist/_node_modules/hast-util-select/lib/parse.cjs +12 -0
  114. package/dist/_node_modules/hast-util-select/lib/parse.cjs.map +1 -0
  115. package/dist/_node_modules/hast-util-select/lib/parse.js +12 -0
  116. package/dist/_node_modules/hast-util-select/lib/parse.js.map +1 -0
  117. package/dist/_node_modules/hast-util-select/lib/pseudo.cjs +231 -0
  118. package/dist/_node_modules/hast-util-select/lib/pseudo.cjs.map +1 -0
  119. package/dist/_node_modules/hast-util-select/lib/pseudo.js +231 -0
  120. package/dist/_node_modules/hast-util-select/lib/pseudo.js.map +1 -0
  121. package/dist/_node_modules/hast-util-select/lib/test.cjs +27 -0
  122. package/dist/_node_modules/hast-util-select/lib/test.cjs.map +1 -0
  123. package/dist/_node_modules/hast-util-select/lib/test.js +27 -0
  124. package/dist/_node_modules/hast-util-select/lib/test.js.map +1 -0
  125. package/dist/_node_modules/hast-util-select/lib/walk.cjs +132 -0
  126. package/dist/_node_modules/hast-util-select/lib/walk.cjs.map +1 -0
  127. package/dist/_node_modules/hast-util-select/lib/walk.js +132 -0
  128. package/dist/_node_modules/hast-util-select/lib/walk.js.map +1 -0
  129. package/dist/_node_modules/hast-util-to-html/lib/handle/comment.cjs +24 -0
  130. package/dist/_node_modules/hast-util-to-html/lib/handle/comment.cjs.map +1 -0
  131. package/dist/_node_modules/hast-util-to-html/lib/handle/comment.js +24 -0
  132. package/dist/_node_modules/hast-util-to-html/lib/handle/comment.js.map +1 -0
  133. package/dist/_node_modules/hast-util-to-html/lib/handle/doctype.cjs +7 -0
  134. package/dist/_node_modules/hast-util-to-html/lib/handle/doctype.cjs.map +1 -0
  135. package/dist/_node_modules/hast-util-to-html/lib/handle/doctype.js +7 -0
  136. package/dist/_node_modules/hast-util-to-html/lib/handle/doctype.js.map +1 -0
  137. package/dist/_node_modules/hast-util-to-html/lib/handle/element.cjs +137 -0
  138. package/dist/_node_modules/hast-util-to-html/lib/handle/element.cjs.map +1 -0
  139. package/dist/_node_modules/hast-util-to-html/lib/handle/element.js +137 -0
  140. package/dist/_node_modules/hast-util-to-html/lib/handle/element.js.map +1 -0
  141. package/dist/_node_modules/hast-util-to-html/lib/handle/index.cjs +26 -0
  142. package/dist/_node_modules/hast-util-to-html/lib/handle/index.cjs.map +1 -0
  143. package/dist/_node_modules/hast-util-to-html/lib/handle/index.js +26 -0
  144. package/dist/_node_modules/hast-util-to-html/lib/handle/index.js.map +1 -0
  145. package/dist/_node_modules/hast-util-to-html/lib/handle/raw.cjs +8 -0
  146. package/dist/_node_modules/hast-util-to-html/lib/handle/raw.cjs.map +1 -0
  147. package/dist/_node_modules/hast-util-to-html/lib/handle/raw.js +8 -0
  148. package/dist/_node_modules/hast-util-to-html/lib/handle/raw.js.map +1 -0
  149. package/dist/_node_modules/hast-util-to-html/lib/handle/root.cjs +7 -0
  150. package/dist/_node_modules/hast-util-to-html/lib/handle/root.cjs.map +1 -0
  151. package/dist/_node_modules/hast-util-to-html/lib/handle/root.js +7 -0
  152. package/dist/_node_modules/hast-util-to-html/lib/handle/root.js.map +1 -0
  153. package/dist/_node_modules/hast-util-to-html/lib/handle/text.cjs +14 -0
  154. package/dist/_node_modules/hast-util-to-html/lib/handle/text.cjs.map +1 -0
  155. package/dist/_node_modules/hast-util-to-html/lib/handle/text.js +14 -0
  156. package/dist/_node_modules/hast-util-to-html/lib/handle/text.js.map +1 -0
  157. package/dist/_node_modules/hast-util-to-html/lib/index.cjs +62 -0
  158. package/dist/_node_modules/hast-util-to-html/lib/index.cjs.map +1 -0
  159. package/dist/_node_modules/hast-util-to-html/lib/index.js +62 -0
  160. package/dist/_node_modules/hast-util-to-html/lib/index.js.map +1 -0
  161. package/dist/_node_modules/hast-util-to-html/lib/omission/closing.cjs +92 -0
  162. package/dist/_node_modules/hast-util-to-html/lib/omission/closing.cjs.map +1 -0
  163. package/dist/_node_modules/hast-util-to-html/lib/omission/closing.js +92 -0
  164. package/dist/_node_modules/hast-util-to-html/lib/omission/closing.js.map +1 -0
  165. package/dist/_node_modules/hast-util-to-html/lib/omission/omission.cjs +11 -0
  166. package/dist/_node_modules/hast-util-to-html/lib/omission/omission.cjs.map +1 -0
  167. package/dist/_node_modules/hast-util-to-html/lib/omission/omission.js +11 -0
  168. package/dist/_node_modules/hast-util-to-html/lib/omission/omission.js.map +1 -0
  169. package/dist/_node_modules/hast-util-to-html/lib/omission/opening.cjs +52 -0
  170. package/dist/_node_modules/hast-util-to-html/lib/omission/opening.cjs.map +1 -0
  171. package/dist/_node_modules/hast-util-to-html/lib/omission/opening.js +52 -0
  172. package/dist/_node_modules/hast-util-to-html/lib/omission/opening.js.map +1 -0
  173. package/dist/_node_modules/hast-util-to-html/lib/omission/util/siblings.cjs +24 -0
  174. package/dist/_node_modules/hast-util-to-html/lib/omission/util/siblings.cjs.map +1 -0
  175. package/dist/_node_modules/hast-util-to-html/lib/omission/util/siblings.js +24 -0
  176. package/dist/_node_modules/hast-util-to-html/lib/omission/util/siblings.js.map +1 -0
  177. package/dist/_node_modules/hast-util-to-string/lib/index.cjs +24 -0
  178. package/dist/_node_modules/hast-util-to-string/lib/index.cjs.map +1 -0
  179. package/dist/_node_modules/hast-util-to-string/lib/index.js +24 -0
  180. package/dist/_node_modules/hast-util-to-string/lib/index.js.map +1 -0
  181. package/dist/_node_modules/hast-util-whitespace/lib/index.cjs +11 -0
  182. package/dist/_node_modules/hast-util-whitespace/lib/index.cjs.map +1 -0
  183. package/dist/_node_modules/hast-util-whitespace/lib/index.js +11 -0
  184. package/dist/_node_modules/hast-util-whitespace/lib/index.js.map +1 -0
  185. package/dist/_node_modules/hastscript/lib/create-h.cjs +159 -0
  186. package/dist/_node_modules/hastscript/lib/create-h.cjs.map +1 -0
  187. package/dist/_node_modules/hastscript/lib/create-h.js +159 -0
  188. package/dist/_node_modules/hastscript/lib/create-h.js.map +1 -0
  189. package/dist/_node_modules/hastscript/lib/index.cjs +10 -0
  190. package/dist/_node_modules/hastscript/lib/index.cjs.map +1 -0
  191. package/dist/_node_modules/hastscript/lib/index.js +10 -0
  192. package/dist/_node_modules/hastscript/lib/index.js.map +1 -0
  193. package/dist/_node_modules/hastscript/lib/svg-case-sensitive-tag-names.cjs +45 -0
  194. package/dist/_node_modules/hastscript/lib/svg-case-sensitive-tag-names.cjs.map +1 -0
  195. package/dist/_node_modules/hastscript/lib/svg-case-sensitive-tag-names.js +45 -0
  196. package/dist/_node_modules/hastscript/lib/svg-case-sensitive-tag-names.js.map +1 -0
  197. package/dist/_node_modules/html-void-elements/index.cjs +26 -0
  198. package/dist/_node_modules/html-void-elements/index.cjs.map +1 -0
  199. package/dist/_node_modules/html-void-elements/index.js +26 -0
  200. package/dist/_node_modules/html-void-elements/index.js.map +1 -0
  201. package/dist/_node_modules/mdast-util-from-markdown/lib/index.cjs +720 -0
  202. package/dist/_node_modules/mdast-util-from-markdown/lib/index.cjs.map +1 -0
  203. package/dist/_node_modules/mdast-util-from-markdown/lib/index.js +720 -0
  204. package/dist/_node_modules/mdast-util-from-markdown/lib/index.js.map +1 -0
  205. package/dist/_node_modules/mdast-util-to-hast/lib/footer.cjs +116 -0
  206. package/dist/_node_modules/mdast-util-to-hast/lib/footer.cjs.map +1 -0
  207. package/dist/_node_modules/mdast-util-to-hast/lib/footer.js +116 -0
  208. package/dist/_node_modules/mdast-util-to-hast/lib/footer.js.map +1 -0
  209. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/blockquote.cjs +14 -0
  210. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/blockquote.cjs.map +1 -0
  211. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +14 -0
  212. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/blockquote.js.map +1 -0
  213. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/break.cjs +9 -0
  214. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/break.cjs.map +1 -0
  215. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/break.js +9 -0
  216. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/break.js.map +1 -0
  217. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/code.cjs +25 -0
  218. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/code.cjs.map +1 -0
  219. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/code.js +25 -0
  220. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/code.js.map +1 -0
  221. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/delete.cjs +14 -0
  222. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/delete.cjs.map +1 -0
  223. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/delete.js +14 -0
  224. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/delete.js.map +1 -0
  225. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/emphasis.cjs +14 -0
  226. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/emphasis.cjs.map +1 -0
  227. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +14 -0
  228. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/emphasis.js.map +1 -0
  229. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.cjs +42 -0
  230. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.cjs.map +1 -0
  231. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +42 -0
  232. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js.map +1 -0
  233. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/heading.cjs +14 -0
  234. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/heading.cjs.map +1 -0
  235. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/heading.js +14 -0
  236. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/heading.js.map +1 -0
  237. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/html.cjs +12 -0
  238. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/html.cjs.map +1 -0
  239. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/html.js +12 -0
  240. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/html.js.map +1 -0
  241. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image-reference.cjs +20 -0
  242. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image-reference.cjs.map +1 -0
  243. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +20 -0
  244. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image-reference.js.map +1 -0
  245. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image.cjs +17 -0
  246. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image.cjs.map +1 -0
  247. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image.js +17 -0
  248. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/image.js.map +1 -0
  249. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/index.cjs +60 -0
  250. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/index.cjs.map +1 -0
  251. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/index.js +60 -0
  252. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/index.js.map +1 -0
  253. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/inline-code.cjs +16 -0
  254. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/inline-code.cjs.map +1 -0
  255. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +16 -0
  256. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/inline-code.js.map +1 -0
  257. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link-reference.cjs +25 -0
  258. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link-reference.cjs.map +1 -0
  259. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +25 -0
  260. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link-reference.js.map +1 -0
  261. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link.cjs +19 -0
  262. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link.cjs.map +1 -0
  263. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link.js +19 -0
  264. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/link.js.map +1 -0
  265. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list-item.cjs +65 -0
  266. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list-item.cjs.map +1 -0
  267. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list-item.js +65 -0
  268. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list-item.js.map +1 -0
  269. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list.cjs +27 -0
  270. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list.cjs.map +1 -0
  271. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list.js +27 -0
  272. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/list.js.map +1 -0
  273. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/paragraph.cjs +14 -0
  274. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/paragraph.cjs.map +1 -0
  275. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +14 -0
  276. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/paragraph.js.map +1 -0
  277. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/root.cjs +9 -0
  278. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/root.cjs.map +1 -0
  279. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/root.js +9 -0
  280. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/root.js.map +1 -0
  281. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/strong.cjs +14 -0
  282. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/strong.cjs.map +1 -0
  283. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/strong.js +14 -0
  284. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/strong.js.map +1 -0
  285. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-cell.cjs +15 -0
  286. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-cell.cjs.map +1 -0
  287. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +15 -0
  288. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-cell.js.map +1 -0
  289. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-row.cjs +36 -0
  290. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-row.cjs.map +1 -0
  291. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-row.js +36 -0
  292. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table-row.js.map +1 -0
  293. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table.cjs +40 -0
  294. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table.cjs.map +1 -0
  295. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table.js +40 -0
  296. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/table.js.map +1 -0
  297. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/text.cjs +10 -0
  298. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/text.cjs.map +1 -0
  299. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/text.js +10 -0
  300. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/text.js.map +1 -0
  301. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/thematic-break.cjs +14 -0
  302. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/thematic-break.cjs.map +1 -0
  303. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +14 -0
  304. package/dist/_node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js.map +1 -0
  305. package/dist/_node_modules/mdast-util-to-hast/lib/index.cjs +16 -0
  306. package/dist/_node_modules/mdast-util-to-hast/lib/index.cjs.map +1 -0
  307. package/dist/_node_modules/mdast-util-to-hast/lib/index.js +16 -0
  308. package/dist/_node_modules/mdast-util-to-hast/lib/index.js.map +1 -0
  309. package/dist/_node_modules/mdast-util-to-hast/lib/revert.cjs +30 -0
  310. package/dist/_node_modules/mdast-util-to-hast/lib/revert.cjs.map +1 -0
  311. package/dist/_node_modules/mdast-util-to-hast/lib/revert.js +30 -0
  312. package/dist/_node_modules/mdast-util-to-hast/lib/revert.js.map +1 -0
  313. package/dist/_node_modules/mdast-util-to-hast/lib/state.cjs +149 -0
  314. package/dist/_node_modules/mdast-util-to-hast/lib/state.cjs.map +1 -0
  315. package/dist/_node_modules/mdast-util-to-hast/lib/state.js +149 -0
  316. package/dist/_node_modules/mdast-util-to-hast/lib/state.js.map +1 -0
  317. package/dist/_node_modules/mdast-util-to-string/lib/index.cjs +39 -0
  318. package/dist/_node_modules/mdast-util-to-string/lib/index.cjs.map +1 -0
  319. package/dist/_node_modules/mdast-util-to-string/lib/index.js +39 -0
  320. package/dist/_node_modules/mdast-util-to-string/lib/index.js.map +1 -0
  321. package/dist/_node_modules/micromark/lib/constructs.cjs +94 -0
  322. package/dist/_node_modules/micromark/lib/constructs.cjs.map +1 -0
  323. package/dist/_node_modules/micromark/lib/constructs.js +94 -0
  324. package/dist/_node_modules/micromark/lib/constructs.js.map +1 -0
  325. package/dist/_node_modules/micromark/lib/create-tokenizer.cjs +316 -0
  326. package/dist/_node_modules/micromark/lib/create-tokenizer.cjs.map +1 -0
  327. package/dist/_node_modules/micromark/lib/create-tokenizer.js +316 -0
  328. package/dist/_node_modules/micromark/lib/create-tokenizer.js.map +1 -0
  329. package/dist/_node_modules/micromark/lib/initialize/content.cjs +58 -0
  330. package/dist/_node_modules/micromark/lib/initialize/content.cjs.map +1 -0
  331. package/dist/_node_modules/micromark/lib/initialize/content.js +58 -0
  332. package/dist/_node_modules/micromark/lib/initialize/content.js.map +1 -0
  333. package/dist/_node_modules/micromark/lib/initialize/document.cjs +212 -0
  334. package/dist/_node_modules/micromark/lib/initialize/document.cjs.map +1 -0
  335. package/dist/_node_modules/micromark/lib/initialize/document.js +212 -0
  336. package/dist/_node_modules/micromark/lib/initialize/document.js.map +1 -0
  337. package/dist/_node_modules/micromark/lib/initialize/flow.cjs +55 -0
  338. package/dist/_node_modules/micromark/lib/initialize/flow.cjs.map +1 -0
  339. package/dist/_node_modules/micromark/lib/initialize/flow.js +55 -0
  340. package/dist/_node_modules/micromark/lib/initialize/flow.js.map +1 -0
  341. package/dist/_node_modules/micromark/lib/initialize/text.cjs +143 -0
  342. package/dist/_node_modules/micromark/lib/initialize/text.cjs.map +1 -0
  343. package/dist/_node_modules/micromark/lib/initialize/text.js +143 -0
  344. package/dist/_node_modules/micromark/lib/initialize/text.js.map +1 -0
  345. package/dist/_node_modules/micromark/lib/parse.cjs +35 -0
  346. package/dist/_node_modules/micromark/lib/parse.cjs.map +1 -0
  347. package/dist/_node_modules/micromark/lib/parse.js +35 -0
  348. package/dist/_node_modules/micromark/lib/parse.js.map +1 -0
  349. package/dist/_node_modules/micromark/lib/postprocess.cjs +10 -0
  350. package/dist/_node_modules/micromark/lib/postprocess.cjs.map +1 -0
  351. package/dist/_node_modules/micromark/lib/postprocess.js +10 -0
  352. package/dist/_node_modules/micromark/lib/postprocess.js.map +1 -0
  353. package/dist/_node_modules/micromark/lib/preprocess.cjs +81 -0
  354. package/dist/_node_modules/micromark/lib/preprocess.cjs.map +1 -0
  355. package/dist/_node_modules/micromark/lib/preprocess.js +81 -0
  356. package/dist/_node_modules/micromark/lib/preprocess.js.map +1 -0
  357. package/dist/_node_modules/micromark-core-commonmark/lib/attention.cjs +116 -0
  358. package/dist/_node_modules/micromark-core-commonmark/lib/attention.cjs.map +1 -0
  359. package/dist/_node_modules/micromark-core-commonmark/lib/attention.js +116 -0
  360. package/dist/_node_modules/micromark-core-commonmark/lib/attention.js.map +1 -0
  361. package/dist/_node_modules/micromark-core-commonmark/lib/autolink.cjs +104 -0
  362. package/dist/_node_modules/micromark-core-commonmark/lib/autolink.cjs.map +1 -0
  363. package/dist/_node_modules/micromark-core-commonmark/lib/autolink.js +104 -0
  364. package/dist/_node_modules/micromark-core-commonmark/lib/autolink.js.map +1 -0
  365. package/dist/_node_modules/micromark-core-commonmark/lib/blank-line.cjs +19 -0
  366. package/dist/_node_modules/micromark-core-commonmark/lib/blank-line.cjs.map +1 -0
  367. package/dist/_node_modules/micromark-core-commonmark/lib/blank-line.js +19 -0
  368. package/dist/_node_modules/micromark-core-commonmark/lib/blank-line.js.map +1 -0
  369. package/dist/_node_modules/micromark-core-commonmark/lib/block-quote.cjs +62 -0
  370. package/dist/_node_modules/micromark-core-commonmark/lib/block-quote.cjs.map +1 -0
  371. package/dist/_node_modules/micromark-core-commonmark/lib/block-quote.js +62 -0
  372. package/dist/_node_modules/micromark-core-commonmark/lib/block-quote.js.map +1 -0
  373. package/dist/_node_modules/micromark-core-commonmark/lib/character-escape.cjs +29 -0
  374. package/dist/_node_modules/micromark-core-commonmark/lib/character-escape.cjs.map +1 -0
  375. package/dist/_node_modules/micromark-core-commonmark/lib/character-escape.js +29 -0
  376. package/dist/_node_modules/micromark-core-commonmark/lib/character-escape.js.map +1 -0
  377. package/dist/_node_modules/micromark-core-commonmark/lib/character-reference.cjs +69 -0
  378. package/dist/_node_modules/micromark-core-commonmark/lib/character-reference.cjs.map +1 -0
  379. package/dist/_node_modules/micromark-core-commonmark/lib/character-reference.js +69 -0
  380. package/dist/_node_modules/micromark-core-commonmark/lib/character-reference.js.map +1 -0
  381. package/dist/_node_modules/micromark-core-commonmark/lib/code-fenced.cjs +187 -0
  382. package/dist/_node_modules/micromark-core-commonmark/lib/code-fenced.cjs.map +1 -0
  383. package/dist/_node_modules/micromark-core-commonmark/lib/code-fenced.js +187 -0
  384. package/dist/_node_modules/micromark-core-commonmark/lib/code-fenced.js.map +1 -0
  385. package/dist/_node_modules/micromark-core-commonmark/lib/code-indented.cjs +68 -0
  386. package/dist/_node_modules/micromark-core-commonmark/lib/code-indented.cjs.map +1 -0
  387. package/dist/_node_modules/micromark-core-commonmark/lib/code-indented.js +68 -0
  388. package/dist/_node_modules/micromark-core-commonmark/lib/code-indented.js.map +1 -0
  389. package/dist/_node_modules/micromark-core-commonmark/lib/code-text.cjs +117 -0
  390. package/dist/_node_modules/micromark-core-commonmark/lib/code-text.cjs.map +1 -0
  391. package/dist/_node_modules/micromark-core-commonmark/lib/code-text.js +117 -0
  392. package/dist/_node_modules/micromark-core-commonmark/lib/code-text.js.map +1 -0
  393. package/dist/_node_modules/micromark-core-commonmark/lib/content.cjs +76 -0
  394. package/dist/_node_modules/micromark-core-commonmark/lib/content.cjs.map +1 -0
  395. package/dist/_node_modules/micromark-core-commonmark/lib/content.js +76 -0
  396. package/dist/_node_modules/micromark-core-commonmark/lib/content.js.map +1 -0
  397. package/dist/_node_modules/micromark-core-commonmark/lib/definition.cjs +95 -0
  398. package/dist/_node_modules/micromark-core-commonmark/lib/definition.cjs.map +1 -0
  399. package/dist/_node_modules/micromark-core-commonmark/lib/definition.js +95 -0
  400. package/dist/_node_modules/micromark-core-commonmark/lib/definition.js.map +1 -0
  401. package/dist/_node_modules/micromark-core-commonmark/lib/hard-break-escape.cjs +24 -0
  402. package/dist/_node_modules/micromark-core-commonmark/lib/hard-break-escape.cjs.map +1 -0
  403. package/dist/_node_modules/micromark-core-commonmark/lib/hard-break-escape.js +24 -0
  404. package/dist/_node_modules/micromark-core-commonmark/lib/hard-break-escape.js.map +1 -0
  405. package/dist/_node_modules/micromark-core-commonmark/lib/heading-atx.cjs +96 -0
  406. package/dist/_node_modules/micromark-core-commonmark/lib/heading-atx.cjs.map +1 -0
  407. package/dist/_node_modules/micromark-core-commonmark/lib/heading-atx.js +96 -0
  408. package/dist/_node_modules/micromark-core-commonmark/lib/heading-atx.js.map +1 -0
  409. package/dist/_node_modules/micromark-core-commonmark/lib/html-flow.cjs +384 -0
  410. package/dist/_node_modules/micromark-core-commonmark/lib/html-flow.cjs.map +1 -0
  411. package/dist/_node_modules/micromark-core-commonmark/lib/html-flow.js +384 -0
  412. package/dist/_node_modules/micromark-core-commonmark/lib/html-flow.js.map +1 -0
  413. package/dist/_node_modules/micromark-core-commonmark/lib/html-text.cjs +310 -0
  414. package/dist/_node_modules/micromark-core-commonmark/lib/html-text.cjs.map +1 -0
  415. package/dist/_node_modules/micromark-core-commonmark/lib/html-text.js +310 -0
  416. package/dist/_node_modules/micromark-core-commonmark/lib/html-text.js.map +1 -0
  417. package/dist/_node_modules/micromark-core-commonmark/lib/label-end.cjs +219 -0
  418. package/dist/_node_modules/micromark-core-commonmark/lib/label-end.cjs.map +1 -0
  419. package/dist/_node_modules/micromark-core-commonmark/lib/label-end.js +219 -0
  420. package/dist/_node_modules/micromark-core-commonmark/lib/label-end.js.map +1 -0
  421. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-image.cjs +34 -0
  422. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-image.cjs.map +1 -0
  423. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-image.js +34 -0
  424. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-image.js.map +1 -0
  425. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-link.cjs +25 -0
  426. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-link.cjs.map +1 -0
  427. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-link.js +25 -0
  428. package/dist/_node_modules/micromark-core-commonmark/lib/label-start-link.js.map +1 -0
  429. package/dist/_node_modules/micromark-core-commonmark/lib/line-ending.cjs +18 -0
  430. package/dist/_node_modules/micromark-core-commonmark/lib/line-ending.cjs.map +1 -0
  431. package/dist/_node_modules/micromark-core-commonmark/lib/line-ending.js +18 -0
  432. package/dist/_node_modules/micromark-core-commonmark/lib/line-ending.js.map +1 -0
  433. package/dist/_node_modules/micromark-core-commonmark/lib/list.cjs +136 -0
  434. package/dist/_node_modules/micromark-core-commonmark/lib/list.cjs.map +1 -0
  435. package/dist/_node_modules/micromark-core-commonmark/lib/list.js +136 -0
  436. package/dist/_node_modules/micromark-core-commonmark/lib/list.js.map +1 -0
  437. package/dist/_node_modules/micromark-core-commonmark/lib/setext-underline.cjs +90 -0
  438. package/dist/_node_modules/micromark-core-commonmark/lib/setext-underline.cjs.map +1 -0
  439. package/dist/_node_modules/micromark-core-commonmark/lib/setext-underline.js +90 -0
  440. package/dist/_node_modules/micromark-core-commonmark/lib/setext-underline.js.map +1 -0
  441. package/dist/_node_modules/micromark-core-commonmark/lib/thematic-break.cjs +43 -0
  442. package/dist/_node_modules/micromark-core-commonmark/lib/thematic-break.cjs.map +1 -0
  443. package/dist/_node_modules/micromark-core-commonmark/lib/thematic-break.js +43 -0
  444. package/dist/_node_modules/micromark-core-commonmark/lib/thematic-break.js.map +1 -0
  445. package/dist/_node_modules/micromark-factory-destination/index.cjs +95 -0
  446. package/dist/_node_modules/micromark-factory-destination/index.cjs.map +1 -0
  447. package/dist/_node_modules/micromark-factory-destination/index.js +95 -0
  448. package/dist/_node_modules/micromark-factory-destination/index.js.map +1 -0
  449. package/dist/_node_modules/micromark-factory-label/index.cjs +64 -0
  450. package/dist/_node_modules/micromark-factory-label/index.cjs.map +1 -0
  451. package/dist/_node_modules/micromark-factory-label/index.js +64 -0
  452. package/dist/_node_modules/micromark-factory-label/index.js.map +1 -0
  453. package/dist/_node_modules/micromark-factory-space/index.cjs +25 -0
  454. package/dist/_node_modules/micromark-factory-space/index.cjs.map +1 -0
  455. package/dist/_node_modules/micromark-factory-space/index.js +25 -0
  456. package/dist/_node_modules/micromark-factory-space/index.js.map +1 -0
  457. package/dist/_node_modules/micromark-factory-title/index.cjs +66 -0
  458. package/dist/_node_modules/micromark-factory-title/index.cjs.map +1 -0
  459. package/dist/_node_modules/micromark-factory-title/index.js +66 -0
  460. package/dist/_node_modules/micromark-factory-title/index.js.map +1 -0
  461. package/dist/_node_modules/micromark-factory-whitespace/index.cjs +27 -0
  462. package/dist/_node_modules/micromark-factory-whitespace/index.cjs.map +1 -0
  463. package/dist/_node_modules/micromark-factory-whitespace/index.js +27 -0
  464. package/dist/_node_modules/micromark-factory-whitespace/index.js.map +1 -0
  465. package/dist/_node_modules/micromark-util-character/index.cjs +45 -0
  466. package/dist/_node_modules/micromark-util-character/index.cjs.map +1 -0
  467. package/dist/_node_modules/micromark-util-character/index.js +45 -0
  468. package/dist/_node_modules/micromark-util-character/index.js.map +1 -0
  469. package/dist/_node_modules/micromark-util-chunked/index.cjs +37 -0
  470. package/dist/_node_modules/micromark-util-chunked/index.cjs.map +1 -0
  471. package/dist/_node_modules/micromark-util-chunked/index.js +37 -0
  472. package/dist/_node_modules/micromark-util-chunked/index.js.map +1 -0
  473. package/dist/_node_modules/micromark-util-classify-character/index.cjs +13 -0
  474. package/dist/_node_modules/micromark-util-classify-character/index.cjs.map +1 -0
  475. package/dist/_node_modules/micromark-util-classify-character/index.js +13 -0
  476. package/dist/_node_modules/micromark-util-classify-character/index.js.map +1 -0
  477. package/dist/_node_modules/micromark-util-combine-extensions/index.cjs +42 -0
  478. package/dist/_node_modules/micromark-util-combine-extensions/index.cjs.map +1 -0
  479. package/dist/_node_modules/micromark-util-combine-extensions/index.js +42 -0
  480. package/dist/_node_modules/micromark-util-combine-extensions/index.js.map +1 -0
  481. package/dist/_node_modules/micromark-util-decode-numeric-character-reference/index.cjs +20 -0
  482. package/dist/_node_modules/micromark-util-decode-numeric-character-reference/index.cjs.map +1 -0
  483. package/dist/_node_modules/micromark-util-decode-numeric-character-reference/index.js +20 -0
  484. package/dist/_node_modules/micromark-util-decode-numeric-character-reference/index.js.map +1 -0
  485. package/dist/_node_modules/micromark-util-decode-string/index.cjs +22 -0
  486. package/dist/_node_modules/micromark-util-decode-string/index.cjs.map +1 -0
  487. package/dist/_node_modules/micromark-util-decode-string/index.js +22 -0
  488. package/dist/_node_modules/micromark-util-decode-string/index.js.map +1 -0
  489. package/dist/_node_modules/micromark-util-html-tag-name/index.cjs +70 -0
  490. package/dist/_node_modules/micromark-util-html-tag-name/index.cjs.map +1 -0
  491. package/dist/_node_modules/micromark-util-html-tag-name/index.js +70 -0
  492. package/dist/_node_modules/micromark-util-html-tag-name/index.js.map +1 -0
  493. package/dist/_node_modules/micromark-util-normalize-identifier/index.cjs +7 -0
  494. package/dist/_node_modules/micromark-util-normalize-identifier/index.cjs.map +1 -0
  495. package/dist/_node_modules/micromark-util-normalize-identifier/index.js +7 -0
  496. package/dist/_node_modules/micromark-util-normalize-identifier/index.js.map +1 -0
  497. package/dist/_node_modules/micromark-util-resolve-all/index.cjs +16 -0
  498. package/dist/_node_modules/micromark-util-resolve-all/index.cjs.map +1 -0
  499. package/dist/_node_modules/micromark-util-resolve-all/index.js +16 -0
  500. package/dist/_node_modules/micromark-util-resolve-all/index.js.map +1 -0
  501. package/dist/_node_modules/micromark-util-sanitize-uri/index.cjs +42 -0
  502. package/dist/_node_modules/micromark-util-sanitize-uri/index.cjs.map +1 -0
  503. package/dist/_node_modules/micromark-util-sanitize-uri/index.js +42 -0
  504. package/dist/_node_modules/micromark-util-sanitize-uri/index.js.map +1 -0
  505. package/dist/_node_modules/micromark-util-subtokenize/index.cjs +149 -0
  506. package/dist/_node_modules/micromark-util-subtokenize/index.cjs.map +1 -0
  507. package/dist/_node_modules/micromark-util-subtokenize/index.js +149 -0
  508. package/dist/_node_modules/micromark-util-subtokenize/index.js.map +1 -0
  509. package/dist/_node_modules/micromark-util-subtokenize/lib/splice-buffer.cjs +195 -0
  510. package/dist/_node_modules/micromark-util-subtokenize/lib/splice-buffer.cjs.map +1 -0
  511. package/dist/_node_modules/micromark-util-subtokenize/lib/splice-buffer.js +195 -0
  512. package/dist/_node_modules/micromark-util-subtokenize/lib/splice-buffer.js.map +1 -0
  513. package/dist/_node_modules/nth-check/lib/esm/compile.cjs +20 -0
  514. package/dist/_node_modules/nth-check/lib/esm/compile.cjs.map +1 -0
  515. package/dist/_node_modules/nth-check/lib/esm/compile.js +20 -0
  516. package/dist/_node_modules/nth-check/lib/esm/compile.js.map +1 -0
  517. package/dist/_node_modules/nth-check/lib/esm/index.cjs +11 -0
  518. package/dist/_node_modules/nth-check/lib/esm/index.cjs.map +1 -0
  519. package/dist/_node_modules/nth-check/lib/esm/index.js +11 -0
  520. package/dist/_node_modules/nth-check/lib/esm/index.js.map +1 -0
  521. package/dist/_node_modules/nth-check/lib/esm/parse.cjs +59 -0
  522. package/dist/_node_modules/nth-check/lib/esm/parse.cjs.map +1 -0
  523. package/dist/_node_modules/nth-check/lib/esm/parse.js +59 -0
  524. package/dist/_node_modules/nth-check/lib/esm/parse.js.map +1 -0
  525. package/dist/_node_modules/property-information/index.cjs +14 -0
  526. package/dist/_node_modules/property-information/index.cjs.map +1 -0
  527. package/dist/_node_modules/property-information/index.js +14 -0
  528. package/dist/_node_modules/property-information/index.js.map +1 -0
  529. package/dist/_node_modules/property-information/lib/aria.cjs +62 -0
  530. package/dist/_node_modules/property-information/lib/aria.cjs.map +1 -0
  531. package/dist/_node_modules/property-information/lib/aria.js +62 -0
  532. package/dist/_node_modules/property-information/lib/aria.js.map +1 -0
  533. package/dist/_node_modules/property-information/lib/find.cjs +41 -0
  534. package/dist/_node_modules/property-information/lib/find.cjs.map +1 -0
  535. package/dist/_node_modules/property-information/lib/find.js +41 -0
  536. package/dist/_node_modules/property-information/lib/find.js.map +1 -0
  537. package/dist/_node_modules/property-information/lib/html.cjs +369 -0
  538. package/dist/_node_modules/property-information/lib/html.cjs.map +1 -0
  539. package/dist/_node_modules/property-information/lib/html.js +369 -0
  540. package/dist/_node_modules/property-information/lib/html.js.map +1 -0
  541. package/dist/_node_modules/property-information/lib/normalize.cjs +7 -0
  542. package/dist/_node_modules/property-information/lib/normalize.cjs.map +1 -0
  543. package/dist/_node_modules/property-information/lib/normalize.js +7 -0
  544. package/dist/_node_modules/property-information/lib/normalize.js.map +1 -0
  545. package/dist/_node_modules/property-information/lib/svg.cjs +567 -0
  546. package/dist/_node_modules/property-information/lib/svg.cjs.map +1 -0
  547. package/dist/_node_modules/property-information/lib/svg.js +567 -0
  548. package/dist/_node_modules/property-information/lib/svg.js.map +1 -0
  549. package/dist/_node_modules/property-information/lib/util/case-insensitive-transform.cjs +8 -0
  550. package/dist/_node_modules/property-information/lib/util/case-insensitive-transform.cjs.map +1 -0
  551. package/dist/_node_modules/property-information/lib/util/case-insensitive-transform.js +8 -0
  552. package/dist/_node_modules/property-information/lib/util/case-insensitive-transform.js.map +1 -0
  553. package/dist/_node_modules/property-information/lib/util/case-sensitive-transform.cjs +7 -0
  554. package/dist/_node_modules/property-information/lib/util/case-sensitive-transform.cjs.map +1 -0
  555. package/dist/_node_modules/property-information/lib/util/case-sensitive-transform.js +7 -0
  556. package/dist/_node_modules/property-information/lib/util/case-sensitive-transform.js.map +1 -0
  557. package/dist/_node_modules/property-information/lib/util/create.cjs +31 -0
  558. package/dist/_node_modules/property-information/lib/util/create.cjs.map +1 -0
  559. package/dist/_node_modules/property-information/lib/util/create.js +31 -0
  560. package/dist/_node_modules/property-information/lib/util/create.js.map +1 -0
  561. package/dist/_node_modules/property-information/lib/util/defined-info.cjs +33 -0
  562. package/dist/_node_modules/property-information/lib/util/defined-info.cjs.map +1 -0
  563. package/dist/_node_modules/property-information/lib/util/defined-info.js +33 -0
  564. package/dist/_node_modules/property-information/lib/util/defined-info.js.map +1 -0
  565. package/dist/_node_modules/property-information/lib/util/info.cjs +25 -0
  566. package/dist/_node_modules/property-information/lib/util/info.cjs.map +1 -0
  567. package/dist/_node_modules/property-information/lib/util/info.js +25 -0
  568. package/dist/_node_modules/property-information/lib/util/info.js.map +1 -0
  569. package/dist/_node_modules/property-information/lib/util/merge.cjs +15 -0
  570. package/dist/_node_modules/property-information/lib/util/merge.cjs.map +1 -0
  571. package/dist/_node_modules/property-information/lib/util/merge.js +15 -0
  572. package/dist/_node_modules/property-information/lib/util/merge.js.map +1 -0
  573. package/dist/_node_modules/property-information/lib/util/schema.cjs +22 -0
  574. package/dist/_node_modules/property-information/lib/util/schema.cjs.map +1 -0
  575. package/dist/_node_modules/property-information/lib/util/schema.js +22 -0
  576. package/dist/_node_modules/property-information/lib/util/schema.js.map +1 -0
  577. package/dist/_node_modules/property-information/lib/util/types.cjs +21 -0
  578. package/dist/_node_modules/property-information/lib/util/types.cjs.map +1 -0
  579. package/dist/_node_modules/property-information/lib/util/types.js +21 -0
  580. package/dist/_node_modules/property-information/lib/util/types.js.map +1 -0
  581. package/dist/_node_modules/property-information/lib/xlink.cjs +20 -0
  582. package/dist/_node_modules/property-information/lib/xlink.cjs.map +1 -0
  583. package/dist/_node_modules/property-information/lib/xlink.js +20 -0
  584. package/dist/_node_modules/property-information/lib/xlink.js.map +1 -0
  585. package/dist/_node_modules/property-information/lib/xml.cjs +12 -0
  586. package/dist/_node_modules/property-information/lib/xml.cjs.map +1 -0
  587. package/dist/_node_modules/property-information/lib/xml.js +12 -0
  588. package/dist/_node_modules/property-information/lib/xml.js.map +1 -0
  589. package/dist/_node_modules/property-information/lib/xmlns.cjs +12 -0
  590. package/dist/_node_modules/property-information/lib/xmlns.cjs.map +1 -0
  591. package/dist/_node_modules/property-information/lib/xmlns.js +12 -0
  592. package/dist/_node_modules/property-information/lib/xmlns.js.map +1 -0
  593. package/dist/_node_modules/rehype-minify-whitespace/lib/block.cjs +122 -0
  594. package/dist/_node_modules/rehype-minify-whitespace/lib/block.cjs.map +1 -0
  595. package/dist/_node_modules/rehype-minify-whitespace/lib/block.js +122 -0
  596. package/dist/_node_modules/rehype-minify-whitespace/lib/block.js.map +1 -0
  597. package/dist/_node_modules/rehype-minify-whitespace/lib/content.cjs +11 -0
  598. package/dist/_node_modules/rehype-minify-whitespace/lib/content.cjs.map +1 -0
  599. package/dist/_node_modules/rehype-minify-whitespace/lib/content.js +11 -0
  600. package/dist/_node_modules/rehype-minify-whitespace/lib/content.js.map +1 -0
  601. package/dist/_node_modules/rehype-minify-whitespace/lib/index.cjs +169 -0
  602. package/dist/_node_modules/rehype-minify-whitespace/lib/index.cjs.map +1 -0
  603. package/dist/_node_modules/rehype-minify-whitespace/lib/index.js +170 -0
  604. package/dist/_node_modules/rehype-minify-whitespace/lib/index.js.map +1 -0
  605. package/dist/_node_modules/rehype-minify-whitespace/lib/skippable.cjs +24 -0
  606. package/dist/_node_modules/rehype-minify-whitespace/lib/skippable.cjs.map +1 -0
  607. package/dist/_node_modules/rehype-minify-whitespace/lib/skippable.js +24 -0
  608. package/dist/_node_modules/rehype-minify-whitespace/lib/skippable.js.map +1 -0
  609. package/dist/_node_modules/rehype-parse/lib/index.cjs +21 -0
  610. package/dist/_node_modules/rehype-parse/lib/index.cjs.map +1 -0
  611. package/dist/_node_modules/rehype-parse/lib/index.js +22 -0
  612. package/dist/_node_modules/rehype-parse/lib/index.js.map +1 -0
  613. package/dist/_node_modules/remark-parse/lib/index.cjs +19 -0
  614. package/dist/_node_modules/remark-parse/lib/index.cjs.map +1 -0
  615. package/dist/_node_modules/remark-parse/lib/index.js +20 -0
  616. package/dist/_node_modules/remark-parse/lib/index.js.map +1 -0
  617. package/dist/_node_modules/remark-rehype/lib/index.cjs +21 -0
  618. package/dist/_node_modules/remark-rehype/lib/index.cjs.map +1 -0
  619. package/dist/_node_modules/remark-rehype/lib/index.js +22 -0
  620. package/dist/_node_modules/remark-rehype/lib/index.js.map +1 -0
  621. package/dist/_node_modules/space-separated-tokens/index.cjs +12 -0
  622. package/dist/_node_modules/space-separated-tokens/index.cjs.map +1 -0
  623. package/dist/_node_modules/space-separated-tokens/index.js +12 -0
  624. package/dist/_node_modules/space-separated-tokens/index.js.map +1 -0
  625. package/dist/_node_modules/stringify-entities/lib/constant/dangerous.cjs +14 -0
  626. package/dist/_node_modules/stringify-entities/lib/constant/dangerous.cjs.map +1 -0
  627. package/dist/_node_modules/stringify-entities/lib/constant/dangerous.js +14 -0
  628. package/dist/_node_modules/stringify-entities/lib/constant/dangerous.js.map +1 -0
  629. package/dist/_node_modules/stringify-entities/lib/core.cjs +52 -0
  630. package/dist/_node_modules/stringify-entities/lib/core.cjs.map +1 -0
  631. package/dist/_node_modules/stringify-entities/lib/core.js +52 -0
  632. package/dist/_node_modules/stringify-entities/lib/core.js.map +1 -0
  633. package/dist/_node_modules/stringify-entities/lib/index.cjs +9 -0
  634. package/dist/_node_modules/stringify-entities/lib/index.cjs.map +1 -0
  635. package/dist/_node_modules/stringify-entities/lib/index.js +9 -0
  636. package/dist/_node_modules/stringify-entities/lib/index.js.map +1 -0
  637. package/dist/_node_modules/stringify-entities/lib/util/format-smart.cjs +26 -0
  638. package/dist/_node_modules/stringify-entities/lib/util/format-smart.cjs.map +1 -0
  639. package/dist/_node_modules/stringify-entities/lib/util/format-smart.js +26 -0
  640. package/dist/_node_modules/stringify-entities/lib/util/format-smart.js.map +1 -0
  641. package/dist/_node_modules/stringify-entities/lib/util/to-decimal.cjs +9 -0
  642. package/dist/_node_modules/stringify-entities/lib/util/to-decimal.cjs.map +1 -0
  643. package/dist/_node_modules/stringify-entities/lib/util/to-decimal.js +9 -0
  644. package/dist/_node_modules/stringify-entities/lib/util/to-decimal.js.map +1 -0
  645. package/dist/_node_modules/stringify-entities/lib/util/to-hexadecimal.cjs +9 -0
  646. package/dist/_node_modules/stringify-entities/lib/util/to-hexadecimal.cjs.map +1 -0
  647. package/dist/_node_modules/stringify-entities/lib/util/to-hexadecimal.js +9 -0
  648. package/dist/_node_modules/stringify-entities/lib/util/to-hexadecimal.js.map +1 -0
  649. package/dist/_node_modules/stringify-entities/lib/util/to-named.cjs +28 -0
  650. package/dist/_node_modules/stringify-entities/lib/util/to-named.cjs.map +1 -0
  651. package/dist/_node_modules/stringify-entities/lib/util/to-named.js +28 -0
  652. package/dist/_node_modules/stringify-entities/lib/util/to-named.js.map +1 -0
  653. package/dist/_node_modules/trim-lines/index.cjs +42 -0
  654. package/dist/_node_modules/trim-lines/index.cjs.map +1 -0
  655. package/dist/_node_modules/trim-lines/index.js +42 -0
  656. package/dist/_node_modules/trim-lines/index.js.map +1 -0
  657. package/dist/_node_modules/trough/lib/index.cjs +87 -0
  658. package/dist/_node_modules/trough/lib/index.cjs.map +1 -0
  659. package/dist/_node_modules/trough/lib/index.js +87 -0
  660. package/dist/_node_modules/trough/lib/index.js.map +1 -0
  661. package/dist/_node_modules/unified/_node_modules/is-plain-obj/index.cjs +10 -0
  662. package/dist/_node_modules/unified/_node_modules/is-plain-obj/index.cjs.map +1 -0
  663. package/dist/_node_modules/unified/_node_modules/is-plain-obj/index.js +11 -0
  664. package/dist/_node_modules/unified/_node_modules/is-plain-obj/index.js.map +1 -0
  665. package/dist/_node_modules/unified/lib/callable-instance.cjs +31 -0
  666. package/dist/_node_modules/unified/lib/callable-instance.cjs.map +1 -0
  667. package/dist/_node_modules/unified/lib/callable-instance.js +31 -0
  668. package/dist/_node_modules/unified/lib/callable-instance.js.map +1 -0
  669. package/dist/_node_modules/unified/lib/index.cjs +637 -0
  670. package/dist/_node_modules/unified/lib/index.cjs.map +1 -0
  671. package/dist/_node_modules/unified/lib/index.js +637 -0
  672. package/dist/_node_modules/unified/lib/index.js.map +1 -0
  673. package/dist/_node_modules/unist-util-is/lib/index.cjs +94 -0
  674. package/dist/_node_modules/unist-util-is/lib/index.cjs.map +1 -0
  675. package/dist/_node_modules/unist-util-is/lib/index.js +94 -0
  676. package/dist/_node_modules/unist-util-is/lib/index.js.map +1 -0
  677. package/dist/_node_modules/unist-util-position/lib/index.cjs +28 -0
  678. package/dist/_node_modules/unist-util-position/lib/index.cjs.map +1 -0
  679. package/dist/_node_modules/unist-util-position/lib/index.js +28 -0
  680. package/dist/_node_modules/unist-util-position/lib/index.js.map +1 -0
  681. package/dist/_node_modules/unist-util-remove/lib/index.cjs +39 -0
  682. package/dist/_node_modules/unist-util-remove/lib/index.cjs.map +1 -0
  683. package/dist/_node_modules/unist-util-remove/lib/index.js +39 -0
  684. package/dist/_node_modules/unist-util-remove/lib/index.js.map +1 -0
  685. package/dist/_node_modules/unist-util-stringify-position/lib/index.cjs +28 -0
  686. package/dist/_node_modules/unist-util-stringify-position/lib/index.cjs.map +1 -0
  687. package/dist/_node_modules/unist-util-stringify-position/lib/index.js +28 -0
  688. package/dist/_node_modules/unist-util-stringify-position/lib/index.js.map +1 -0
  689. package/dist/_node_modules/unist-util-visit/lib/index.cjs +28 -0
  690. package/dist/_node_modules/unist-util-visit/lib/index.cjs.map +1 -0
  691. package/dist/_node_modules/unist-util-visit/lib/index.js +29 -0
  692. package/dist/_node_modules/unist-util-visit/lib/index.js.map +1 -0
  693. package/dist/_node_modules/unist-util-visit-parents/lib/color.cjs +7 -0
  694. package/dist/_node_modules/unist-util-visit-parents/lib/color.cjs.map +1 -0
  695. package/dist/_node_modules/unist-util-visit-parents/lib/color.js +7 -0
  696. package/dist/_node_modules/unist-util-visit-parents/lib/color.js.map +1 -0
  697. package/dist/_node_modules/unist-util-visit-parents/lib/index.cjs +84 -0
  698. package/dist/_node_modules/unist-util-visit-parents/lib/index.cjs.map +1 -0
  699. package/dist/_node_modules/unist-util-visit-parents/lib/index.js +84 -0
  700. package/dist/_node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
  701. package/dist/_node_modules/vfile/lib/index.cjs +463 -0
  702. package/dist/_node_modules/vfile/lib/index.cjs.map +1 -0
  703. package/dist/_node_modules/vfile/lib/index.js +463 -0
  704. package/dist/_node_modules/vfile/lib/index.js.map +1 -0
  705. package/dist/_node_modules/vfile/lib/minpath.browser.cjs +215 -0
  706. package/dist/_node_modules/vfile/lib/minpath.browser.cjs.map +1 -0
  707. package/dist/_node_modules/vfile/lib/minpath.browser.js +215 -0
  708. package/dist/_node_modules/vfile/lib/minpath.browser.js.map +1 -0
  709. package/dist/_node_modules/vfile/lib/minproc.browser.cjs +8 -0
  710. package/dist/_node_modules/vfile/lib/minproc.browser.cjs.map +1 -0
  711. package/dist/_node_modules/vfile/lib/minproc.browser.js +8 -0
  712. package/dist/_node_modules/vfile/lib/minproc.browser.js.map +1 -0
  713. package/dist/_node_modules/vfile/lib/minurl.browser.cjs +47 -0
  714. package/dist/_node_modules/vfile/lib/minurl.browser.cjs.map +1 -0
  715. package/dist/_node_modules/vfile/lib/minurl.browser.js +47 -0
  716. package/dist/_node_modules/vfile/lib/minurl.browser.js.map +1 -0
  717. package/dist/_node_modules/vfile/lib/minurl.shared.cjs +10 -0
  718. package/dist/_node_modules/vfile/lib/minurl.shared.cjs.map +1 -0
  719. package/dist/_node_modules/vfile/lib/minurl.shared.js +10 -0
  720. package/dist/_node_modules/vfile/lib/minurl.shared.js.map +1 -0
  721. package/dist/_node_modules/vfile-location/lib/index.cjs +50 -0
  722. package/dist/_node_modules/vfile-location/lib/index.cjs.map +1 -0
  723. package/dist/_node_modules/vfile-location/lib/index.js +50 -0
  724. package/dist/_node_modules/vfile-location/lib/index.js.map +1 -0
  725. package/dist/_node_modules/vfile-message/lib/index.cjs +139 -0
  726. package/dist/_node_modules/vfile-message/lib/index.cjs.map +1 -0
  727. package/dist/_node_modules/vfile-message/lib/index.js +139 -0
  728. package/dist/_node_modules/vfile-message/lib/index.js.map +1 -0
  729. package/dist/_node_modules/web-namespaces/index.cjs +12 -0
  730. package/dist/_node_modules/web-namespaces/index.cjs.map +1 -0
  731. package/dist/_node_modules/web-namespaces/index.js +12 -0
  732. package/dist/_node_modules/web-namespaces/index.js.map +1 -0
  733. package/dist/_node_modules/zwitch/index.cjs +23 -0
  734. package/dist/_node_modules/zwitch/index.cjs.map +1 -0
  735. package/dist/_node_modules/zwitch/index.js +23 -0
  736. package/dist/_node_modules/zwitch/index.js.map +1 -0
  737. package/dist/_virtual/_commonjsHelpers.cjs +7 -0
  738. package/dist/_virtual/_commonjsHelpers.cjs.map +1 -0
  739. package/dist/_virtual/_commonjsHelpers.js +7 -0
  740. package/dist/_virtual/_commonjsHelpers.js.map +1 -0
  741. package/dist/_virtual/index.cjs +9 -0
  742. package/dist/_virtual/index.cjs.map +1 -0
  743. package/dist/_virtual/index.js +9 -0
  744. package/dist/_virtual/index.js.map +1 -0
  745. package/dist/helpers/unstable_htmlAsRichText.cjs +3 -3
  746. package/dist/helpers/unstable_htmlAsRichText.cjs.map +1 -1
  747. package/dist/helpers/unstable_htmlAsRichText.js +2 -2
  748. package/dist/helpers/unstable_markdownAsRichText.cjs +4 -4
  749. package/dist/helpers/unstable_markdownAsRichText.cjs.map +1 -1
  750. package/dist/helpers/unstable_markdownAsRichText.js +3 -3
  751. package/dist/lib/hastSerializerHelpers.cjs +2 -2
  752. package/dist/lib/hastSerializerHelpers.cjs.map +1 -1
  753. package/dist/lib/hastSerializerHelpers.js +1 -1
  754. package/dist/lib/hastToRichText.cjs +5 -5
  755. package/dist/lib/hastToRichText.cjs.map +1 -1
  756. package/dist/lib/hastToRichText.js +2 -2
  757. package/dist/lib/hastToRichText.js.map +1 -1
  758. package/dist/lib/rehypeRichText.cjs +13 -12
  759. package/dist/lib/rehypeRichText.cjs.map +1 -1
  760. package/dist/lib/rehypeRichText.js +5 -4
  761. package/dist/lib/rehypeRichText.js.map +1 -1
  762. package/dist/package.json.cjs +1 -1
  763. package/dist/package.json.js +1 -1
  764. package/package.json +15 -13
  765. package/src/lib/hastToRichText.ts +1 -1
@@ -0,0 +1,22 @@
1
+ import { fromHtml } from "../../hast-util-from-html/lib/index.js";
2
+ function rehypeParse(options) {
3
+ const self = this;
4
+ const { emitParseErrors, ...settings } = { ...self.data("settings"), ...options };
5
+ self.parser = parser;
6
+ function parser(doc, file) {
7
+ return fromHtml(doc, {
8
+ ...settings,
9
+ onerror: emitParseErrors ? function(message) {
10
+ if (file.path) {
11
+ message.name = file.path + ":" + message.name;
12
+ message.file = file.path;
13
+ }
14
+ file.messages.push(message);
15
+ } : void 0
16
+ });
17
+ }
18
+ }
19
+ export {
20
+ rehypeParse as default
21
+ };
22
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../node_modules/rehype-parse/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('hast').Root} Root\n * @typedef {import('hast-util-from-html').Options} FromHtmlOptions\n * @typedef {import('unified').Parser<Root>} Parser\n */\n\n/**\n * @typedef {Omit<FromHtmlOptions, 'onerror'> & RehypeParseFields} Options\n * Configuration.\n *\n * @typedef RehypeParseFields\n * Extra fields.\n * @property {boolean | null | undefined} [emitParseErrors=false]\n * Whether to emit parse errors while parsing (default: `false`).\n *\n * > 👉 **Note**: parse errors are currently being added to HTML.\n * > Not all errors emitted by parse5 (or us) are specced yet.\n * > Some documentation may still be missing.\n */\n\nimport {fromHtml} from 'hast-util-from-html'\n\n/**\n * Plugin to add support for parsing from HTML.\n *\n * > 👉 **Note**: this is not an XML parser.\n * > It supports SVG as embedded in HTML.\n * > It does not support the features available in XML.\n * > Passing SVG files might break but fragments of modern SVG should be fine.\n * > Use [`xast-util-from-xml`][xast-util-from-xml] to parse XML.\n *\n * @param {Options | null | undefined} [options]\n * Configuration (optional).\n * @returns {undefined}\n * Nothing.\n */\nexport default function rehypeParse(options) {\n /** @type {import('unified').Processor<Root>} */\n // @ts-expect-error: TS in JSDoc generates wrong types if `this` is typed regularly.\n const self = this\n const {emitParseErrors, ...settings} = {...self.data('settings'), ...options}\n\n self.parser = parser\n\n /**\n * @type {Parser}\n */\n function parser(doc, file) {\n return fromHtml(doc, {\n ...settings,\n onerror: emitParseErrors\n ? function (message) {\n if (file.path) {\n message.name = file.path + ':' + message.name\n message.file = file.path\n }\n\n file.messages.push(message)\n }\n : undefined\n })\n }\n}\n"],"names":[],"mappings":";AAoCe,SAAS,YAAY,SAAS;AAG3C,QAAM,OAAO;AACb,QAAM,EAAC,iBAAiB,GAAG,SAAQ,IAAI,EAAC,GAAG,KAAK,KAAK,UAAU,GAAG,GAAG,QAAO;AAE5E,OAAK,SAAS;AAKd,WAAS,OAAO,KAAK,MAAM;AACzB,WAAO,SAAS,KAAK;AAAA,MACnB,GAAG;AAAA,MACH,SAAS,kBACL,SAAU,SAAS;AACjB,YAAI,KAAK,MAAM;AACb,kBAAQ,OAAO,KAAK,OAAO,MAAM,QAAQ;AACzC,kBAAQ,OAAO,KAAK;AAAA,QACrB;AAED,aAAK,SAAS,KAAK,OAAO;AAAA,MAC3B,IACD;AAAA,IACV,CAAK;AAAA,EACF;AACH;","x_google_ignoreList":[0]}
@@ -0,0 +1,19 @@
1
+ "use strict";
2
+ const index = require("../../mdast-util-from-markdown/lib/index.cjs");
3
+ function remarkParse(options) {
4
+ const self = this;
5
+ self.parser = parser;
6
+ function parser(doc) {
7
+ return index.fromMarkdown(doc, {
8
+ ...self.data("settings"),
9
+ ...options,
10
+ // Note: these options are not in the readme.
11
+ // The goal is for them to be set by plugins on `data` instead of being
12
+ // passed by users.
13
+ extensions: self.data("micromarkExtensions") || [],
14
+ mdastExtensions: self.data("fromMarkdownExtensions") || []
15
+ });
16
+ }
17
+ }
18
+ module.exports = remarkParse;
19
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../../node_modules/remark-parse/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('mdast').Root} Root\n * @typedef {import('mdast-util-from-markdown').Options} FromMarkdownOptions\n * @typedef {import('unified').Parser<Root>} Parser\n * @typedef {import('unified').Processor<Root>} Processor\n */\n\n/**\n * @typedef {Omit<FromMarkdownOptions, 'extensions' | 'mdastExtensions'>} Options\n */\n\nimport {fromMarkdown} from 'mdast-util-from-markdown'\n\n/**\n * Aadd support for parsing from markdown.\n *\n * @param {Readonly<Options> | null | undefined} [options]\n * Configuration (optional).\n * @returns {undefined}\n * Nothing.\n */\nexport default function remarkParse(options) {\n /** @type {Processor} */\n // @ts-expect-error: TS in JSDoc generates wrong types if `this` is typed regularly.\n const self = this\n\n self.parser = parser\n\n /**\n * @type {Parser}\n */\n function parser(doc) {\n return fromMarkdown(doc, {\n ...self.data('settings'),\n ...options,\n // Note: these options are not in the readme.\n // The goal is for them to be set by plugins on `data` instead of being\n // passed by users.\n extensions: self.data('micromarkExtensions') || [],\n mdastExtensions: self.data('fromMarkdownExtensions') || []\n })\n }\n}\n"],"names":["fromMarkdown"],"mappings":";;AAqBe,SAAS,YAAY,SAAS;AAG3C,QAAM,OAAO;AAEb,OAAK,SAAS;AAKd,WAAS,OAAO,KAAK;AACnB,WAAOA,MAAAA,aAAa,KAAK;AAAA,MACvB,GAAG,KAAK,KAAK,UAAU;AAAA,MACvB,GAAG;AAAA;AAAA;AAAA;AAAA,MAIH,YAAY,KAAK,KAAK,qBAAqB,KAAK,CAAE;AAAA,MAClD,iBAAiB,KAAK,KAAK,wBAAwB,KAAK,CAAE;AAAA,IAChE,CAAK;AAAA,EACF;AACH;;","x_google_ignoreList":[0]}
@@ -0,0 +1,20 @@
1
+ import { fromMarkdown } from "../../mdast-util-from-markdown/lib/index.js";
2
+ function remarkParse(options) {
3
+ const self = this;
4
+ self.parser = parser;
5
+ function parser(doc) {
6
+ return fromMarkdown(doc, {
7
+ ...self.data("settings"),
8
+ ...options,
9
+ // Note: these options are not in the readme.
10
+ // The goal is for them to be set by plugins on `data` instead of being
11
+ // passed by users.
12
+ extensions: self.data("micromarkExtensions") || [],
13
+ mdastExtensions: self.data("fromMarkdownExtensions") || []
14
+ });
15
+ }
16
+ }
17
+ export {
18
+ remarkParse as default
19
+ };
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../node_modules/remark-parse/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('mdast').Root} Root\n * @typedef {import('mdast-util-from-markdown').Options} FromMarkdownOptions\n * @typedef {import('unified').Parser<Root>} Parser\n * @typedef {import('unified').Processor<Root>} Processor\n */\n\n/**\n * @typedef {Omit<FromMarkdownOptions, 'extensions' | 'mdastExtensions'>} Options\n */\n\nimport {fromMarkdown} from 'mdast-util-from-markdown'\n\n/**\n * Aadd support for parsing from markdown.\n *\n * @param {Readonly<Options> | null | undefined} [options]\n * Configuration (optional).\n * @returns {undefined}\n * Nothing.\n */\nexport default function remarkParse(options) {\n /** @type {Processor} */\n // @ts-expect-error: TS in JSDoc generates wrong types if `this` is typed regularly.\n const self = this\n\n self.parser = parser\n\n /**\n * @type {Parser}\n */\n function parser(doc) {\n return fromMarkdown(doc, {\n ...self.data('settings'),\n ...options,\n // Note: these options are not in the readme.\n // The goal is for them to be set by plugins on `data` instead of being\n // passed by users.\n extensions: self.data('micromarkExtensions') || [],\n mdastExtensions: self.data('fromMarkdownExtensions') || []\n })\n }\n}\n"],"names":[],"mappings":";AAqBe,SAAS,YAAY,SAAS;AAG3C,QAAM,OAAO;AAEb,OAAK,SAAS;AAKd,WAAS,OAAO,KAAK;AACnB,WAAO,aAAa,KAAK;AAAA,MACvB,GAAG,KAAK,KAAK,UAAU;AAAA,MACvB,GAAG;AAAA;AAAA;AAAA;AAAA,MAIH,YAAY,KAAK,KAAK,qBAAqB,KAAK,CAAE;AAAA,MAClD,iBAAiB,KAAK,KAAK,wBAAwB,KAAK,CAAE;AAAA,IAChE,CAAK;AAAA,EACF;AACH;","x_google_ignoreList":[0]}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ const index = require("../../mdast-util-to-hast/lib/index.cjs");
3
+ function remarkRehype(destination, options) {
4
+ if (destination && "run" in destination) {
5
+ return async function(tree, file) {
6
+ const hastTree = (
7
+ /** @type {HastRoot} */
8
+ index.toHast(tree, { file, ...options })
9
+ );
10
+ await destination.run(hastTree, file);
11
+ };
12
+ }
13
+ return function(tree, file) {
14
+ return (
15
+ /** @type {HastRoot} */
16
+ index.toHast(tree, { file, ...options || destination })
17
+ );
18
+ };
19
+ }
20
+ module.exports = remarkRehype;
21
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../../node_modules/remark-rehype/lib/index.js"],"sourcesContent":["// Include `data` fields in mdast and `raw` nodes in hast.\n/// <reference types=\"mdast-util-to-hast\" />\n\n/**\n * @typedef {import('hast').Root} HastRoot\n * @typedef {import('mdast').Root} MdastRoot\n * @typedef {import('mdast-util-to-hast').Options} ToHastOptions\n * @typedef {import('unified').Processor} Processor\n * @typedef {import('vfile').VFile} VFile\n */\n\n/**\n * @typedef {Omit<ToHastOptions, 'file'>} Options\n *\n * @callback TransformBridge\n * Bridge-mode.\n *\n * Runs the destination with the new hast tree.\n * Discards result.\n * @param {MdastRoot} tree\n * Tree.\n * @param {VFile} file\n * File.\n * @returns {Promise<undefined>}\n * Nothing.\n *\n * @callback TransformMutate\n * Mutate-mode.\n *\n * Further transformers run on the hast tree.\n * @param {MdastRoot} tree\n * Tree.\n * @param {VFile} file\n * File.\n * @returns {HastRoot}\n * Tree (hast).\n */\n\nimport {toHast} from 'mdast-util-to-hast'\n\n/**\n * Turn markdown into HTML.\n *\n * ##### Notes\n *\n * ###### Signature\n *\n * * if a processor is given, runs the (rehype) plugins used on it with a\n * hast tree, then discards the result (*bridge mode*)\n * * otherwise, returns a hast tree, the plugins used after `remarkRehype`\n * are rehype plugins (*mutate mode*)\n *\n * > 👉 **Note**: It’s highly unlikely that you want to pass a `processor`.\n *\n * ###### HTML\n *\n * Raw HTML is available in mdast as `html` nodes and can be embedded in hast\n * as semistandard `raw` nodes.\n * Most plugins ignore `raw` nodes but two notable ones don’t:\n *\n * * `rehype-stringify` also has an option `allowDangerousHtml` which will\n * output the raw HTML.\n * This is typically discouraged as noted by the option name but is useful if\n * you completely trust authors\n * * `rehype-raw` can handle the raw embedded HTML strings by parsing them\n * into standard hast nodes (`element`, `text`, etc).\n * This is a heavy task as it needs a full HTML parser, but it is the only way\n * to support untrusted content\n *\n * ###### Footnotes\n *\n * Many options supported here relate to footnotes.\n * Footnotes are not specified by CommonMark, which we follow by default.\n * They are supported by GitHub, so footnotes can be enabled in markdown with\n * `remark-gfm`.\n *\n * The options `footnoteBackLabel` and `footnoteLabel` define natural language\n * that explains footnotes, which is hidden for sighted users but shown to\n * assistive technology.\n * When your page is not in English, you must define translated values.\n *\n * Back references use ARIA attributes, but the section label itself uses a\n * heading that is hidden with an `sr-only` class.\n * To show it to sighted users, define different attributes in\n * `footnoteLabelProperties`.\n *\n * ###### Clobbering\n *\n * Footnotes introduces a problem, as it links footnote calls to footnote\n * definitions on the page through `id` attributes generated from user content,\n * which results in DOM clobbering.\n *\n * DOM clobbering is this:\n *\n * ```html\n * <p id=x></p>\n * <script>alert(x) // `x` now refers to the DOM `p#x` element</script>\n * ```\n *\n * Elements by their ID are made available by browsers on the `window` object,\n * which is a security risk.\n * Using a prefix solves this problem.\n *\n * More information on how to handle clobbering and the prefix is explained in\n * *Example: headings (DOM clobbering)* in `rehype-sanitize`.\n *\n * ###### Unknown nodes\n *\n * Unknown nodes are nodes with a type that isn’t in `handlers` or `passThrough`.\n * The default behavior for unknown nodes is:\n *\n * * when the node has a `value` (and doesn’t have `data.hName`,\n * `data.hProperties`, or `data.hChildren`, see later), create a hast `text`\n * node\n * * otherwise, create a `<div>` element (which could be changed with\n * `data.hName`), with its children mapped from mdast to hast as well\n *\n * This behavior can be changed by passing an `unknownHandler`.\n *\n * @overload\n * @param {Processor} processor\n * @param {Readonly<Options> | null | undefined} [options]\n * @returns {TransformBridge}\n *\n * @overload\n * @param {Readonly<Options> | null | undefined} [options]\n * @returns {TransformMutate}\n *\n * @param {Readonly<Options> | Processor | null | undefined} [destination]\n * Processor or configuration (optional).\n * @param {Readonly<Options> | null | undefined} [options]\n * When a processor was given, configuration (optional).\n * @returns {TransformBridge | TransformMutate}\n * Transform.\n */\nexport default function remarkRehype(destination, options) {\n if (destination && 'run' in destination) {\n /**\n * @type {TransformBridge}\n */\n return async function (tree, file) {\n // Cast because root in -> root out.\n const hastTree = /** @type {HastRoot} */ (\n toHast(tree, {file, ...options})\n )\n await destination.run(hastTree, file)\n }\n }\n\n /**\n * @type {TransformMutate}\n */\n return function (tree, file) {\n // Cast because root in -> root out.\n return /** @type {HastRoot} */ (\n toHast(tree, {file, ...(options || destination)})\n )\n }\n}\n"],"names":["toHast"],"mappings":";;AAuIe,SAAS,aAAa,aAAa,SAAS;AACzD,MAAI,eAAe,SAAS,aAAa;AAIvC,WAAO,eAAgB,MAAM,MAAM;AAEjC,YAAM;AAAA;AAAA,QACJA,MAAAA,OAAO,MAAM,EAAC,MAAM,GAAG,QAAO,CAAC;AAAA;AAEjC,YAAM,YAAY,IAAI,UAAU,IAAI;AAAA,IACrC;AAAA,EACF;AAKD,SAAO,SAAU,MAAM,MAAM;AAE3B;AAAA;AAAA,MACEA,MAAM,OAAC,MAAM,EAAC,MAAM,GAAI,WAAW,YAAY,CAAC;AAAA;AAAA,EAEnD;AACH;;","x_google_ignoreList":[0]}
@@ -0,0 +1,22 @@
1
+ import { toHast } from "../../mdast-util-to-hast/lib/index.js";
2
+ function remarkRehype(destination, options) {
3
+ if (destination && "run" in destination) {
4
+ return async function(tree, file) {
5
+ const hastTree = (
6
+ /** @type {HastRoot} */
7
+ toHast(tree, { file, ...options })
8
+ );
9
+ await destination.run(hastTree, file);
10
+ };
11
+ }
12
+ return function(tree, file) {
13
+ return (
14
+ /** @type {HastRoot} */
15
+ toHast(tree, { file, ...options || destination })
16
+ );
17
+ };
18
+ }
19
+ export {
20
+ remarkRehype as default
21
+ };
22
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../node_modules/remark-rehype/lib/index.js"],"sourcesContent":["// Include `data` fields in mdast and `raw` nodes in hast.\n/// <reference types=\"mdast-util-to-hast\" />\n\n/**\n * @typedef {import('hast').Root} HastRoot\n * @typedef {import('mdast').Root} MdastRoot\n * @typedef {import('mdast-util-to-hast').Options} ToHastOptions\n * @typedef {import('unified').Processor} Processor\n * @typedef {import('vfile').VFile} VFile\n */\n\n/**\n * @typedef {Omit<ToHastOptions, 'file'>} Options\n *\n * @callback TransformBridge\n * Bridge-mode.\n *\n * Runs the destination with the new hast tree.\n * Discards result.\n * @param {MdastRoot} tree\n * Tree.\n * @param {VFile} file\n * File.\n * @returns {Promise<undefined>}\n * Nothing.\n *\n * @callback TransformMutate\n * Mutate-mode.\n *\n * Further transformers run on the hast tree.\n * @param {MdastRoot} tree\n * Tree.\n * @param {VFile} file\n * File.\n * @returns {HastRoot}\n * Tree (hast).\n */\n\nimport {toHast} from 'mdast-util-to-hast'\n\n/**\n * Turn markdown into HTML.\n *\n * ##### Notes\n *\n * ###### Signature\n *\n * * if a processor is given, runs the (rehype) plugins used on it with a\n * hast tree, then discards the result (*bridge mode*)\n * * otherwise, returns a hast tree, the plugins used after `remarkRehype`\n * are rehype plugins (*mutate mode*)\n *\n * > 👉 **Note**: It’s highly unlikely that you want to pass a `processor`.\n *\n * ###### HTML\n *\n * Raw HTML is available in mdast as `html` nodes and can be embedded in hast\n * as semistandard `raw` nodes.\n * Most plugins ignore `raw` nodes but two notable ones don’t:\n *\n * * `rehype-stringify` also has an option `allowDangerousHtml` which will\n * output the raw HTML.\n * This is typically discouraged as noted by the option name but is useful if\n * you completely trust authors\n * * `rehype-raw` can handle the raw embedded HTML strings by parsing them\n * into standard hast nodes (`element`, `text`, etc).\n * This is a heavy task as it needs a full HTML parser, but it is the only way\n * to support untrusted content\n *\n * ###### Footnotes\n *\n * Many options supported here relate to footnotes.\n * Footnotes are not specified by CommonMark, which we follow by default.\n * They are supported by GitHub, so footnotes can be enabled in markdown with\n * `remark-gfm`.\n *\n * The options `footnoteBackLabel` and `footnoteLabel` define natural language\n * that explains footnotes, which is hidden for sighted users but shown to\n * assistive technology.\n * When your page is not in English, you must define translated values.\n *\n * Back references use ARIA attributes, but the section label itself uses a\n * heading that is hidden with an `sr-only` class.\n * To show it to sighted users, define different attributes in\n * `footnoteLabelProperties`.\n *\n * ###### Clobbering\n *\n * Footnotes introduces a problem, as it links footnote calls to footnote\n * definitions on the page through `id` attributes generated from user content,\n * which results in DOM clobbering.\n *\n * DOM clobbering is this:\n *\n * ```html\n * <p id=x></p>\n * <script>alert(x) // `x` now refers to the DOM `p#x` element</script>\n * ```\n *\n * Elements by their ID are made available by browsers on the `window` object,\n * which is a security risk.\n * Using a prefix solves this problem.\n *\n * More information on how to handle clobbering and the prefix is explained in\n * *Example: headings (DOM clobbering)* in `rehype-sanitize`.\n *\n * ###### Unknown nodes\n *\n * Unknown nodes are nodes with a type that isn’t in `handlers` or `passThrough`.\n * The default behavior for unknown nodes is:\n *\n * * when the node has a `value` (and doesn’t have `data.hName`,\n * `data.hProperties`, or `data.hChildren`, see later), create a hast `text`\n * node\n * * otherwise, create a `<div>` element (which could be changed with\n * `data.hName`), with its children mapped from mdast to hast as well\n *\n * This behavior can be changed by passing an `unknownHandler`.\n *\n * @overload\n * @param {Processor} processor\n * @param {Readonly<Options> | null | undefined} [options]\n * @returns {TransformBridge}\n *\n * @overload\n * @param {Readonly<Options> | null | undefined} [options]\n * @returns {TransformMutate}\n *\n * @param {Readonly<Options> | Processor | null | undefined} [destination]\n * Processor or configuration (optional).\n * @param {Readonly<Options> | null | undefined} [options]\n * When a processor was given, configuration (optional).\n * @returns {TransformBridge | TransformMutate}\n * Transform.\n */\nexport default function remarkRehype(destination, options) {\n if (destination && 'run' in destination) {\n /**\n * @type {TransformBridge}\n */\n return async function (tree, file) {\n // Cast because root in -> root out.\n const hastTree = /** @type {HastRoot} */ (\n toHast(tree, {file, ...options})\n )\n await destination.run(hastTree, file)\n }\n }\n\n /**\n * @type {TransformMutate}\n */\n return function (tree, file) {\n // Cast because root in -> root out.\n return /** @type {HastRoot} */ (\n toHast(tree, {file, ...(options || destination)})\n )\n }\n}\n"],"names":[],"mappings":";AAuIe,SAAS,aAAa,aAAa,SAAS;AACzD,MAAI,eAAe,SAAS,aAAa;AAIvC,WAAO,eAAgB,MAAM,MAAM;AAEjC,YAAM;AAAA;AAAA,QACJ,OAAO,MAAM,EAAC,MAAM,GAAG,QAAO,CAAC;AAAA;AAEjC,YAAM,YAAY,IAAI,UAAU,IAAI;AAAA,IACrC;AAAA,EACF;AAKD,SAAO,SAAU,MAAM,MAAM;AAE3B;AAAA;AAAA,MACE,OAAO,MAAM,EAAC,MAAM,GAAI,WAAW,YAAY,CAAC;AAAA;AAAA,EAEnD;AACH;","x_google_ignoreList":[0]}
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ function parse(value) {
4
+ const input = String(value || "").trim();
5
+ return input ? input.split(/[ \t\n\r\f]+/g) : [];
6
+ }
7
+ function stringify(values) {
8
+ return values.join(" ").trim();
9
+ }
10
+ exports.parse = parse;
11
+ exports.stringify = stringify;
12
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../node_modules/space-separated-tokens/index.js"],"sourcesContent":["/**\n * Parse space-separated tokens to an array of strings.\n *\n * @param {string} value\n * Space-separated tokens.\n * @returns {Array<string>}\n * List of tokens.\n */\nexport function parse(value) {\n const input = String(value || '').trim()\n return input ? input.split(/[ \\t\\n\\r\\f]+/g) : []\n}\n\n/**\n * Serialize an array of strings as space separated-tokens.\n *\n * @param {Array<string|number>} values\n * List of tokens.\n * @returns {string}\n * Space-separated tokens.\n */\nexport function stringify(values) {\n return values.join(' ').trim()\n}\n"],"names":[],"mappings":";;AAQO,SAAS,MAAM,OAAO;AAC3B,QAAM,QAAQ,OAAO,SAAS,EAAE,EAAE,KAAM;AACxC,SAAO,QAAQ,MAAM,MAAM,eAAe,IAAI,CAAE;AAClD;AAUO,SAAS,UAAU,QAAQ;AAChC,SAAO,OAAO,KAAK,GAAG,EAAE,KAAM;AAChC;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,12 @@
1
+ function parse(value) {
2
+ const input = String(value || "").trim();
3
+ return input ? input.split(/[ \t\n\r\f]+/g) : [];
4
+ }
5
+ function stringify(values) {
6
+ return values.join(" ").trim();
7
+ }
8
+ export {
9
+ parse,
10
+ stringify
11
+ };
12
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../node_modules/space-separated-tokens/index.js"],"sourcesContent":["/**\n * Parse space-separated tokens to an array of strings.\n *\n * @param {string} value\n * Space-separated tokens.\n * @returns {Array<string>}\n * List of tokens.\n */\nexport function parse(value) {\n const input = String(value || '').trim()\n return input ? input.split(/[ \\t\\n\\r\\f]+/g) : []\n}\n\n/**\n * Serialize an array of strings as space separated-tokens.\n *\n * @param {Array<string|number>} values\n * List of tokens.\n * @returns {string}\n * Space-separated tokens.\n */\nexport function stringify(values) {\n return values.join(' ').trim()\n}\n"],"names":[],"mappings":"AAQO,SAAS,MAAM,OAAO;AAC3B,QAAM,QAAQ,OAAO,SAAS,EAAE,EAAE,KAAM;AACxC,SAAO,QAAQ,MAAM,MAAM,eAAe,IAAI,CAAE;AAClD;AAUO,SAAS,UAAU,QAAQ;AAChC,SAAO,OAAO,KAAK,GAAG,EAAE,KAAM;AAChC;","x_google_ignoreList":[0]}
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const dangerous = [
4
+ "cent",
5
+ "copy",
6
+ "divide",
7
+ "gt",
8
+ "lt",
9
+ "not",
10
+ "para",
11
+ "times"
12
+ ];
13
+ exports.dangerous = dangerous;
14
+ //# sourceMappingURL=dangerous.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dangerous.cjs","sources":["../../../../../node_modules/stringify-entities/lib/constant/dangerous.js"],"sourcesContent":["/**\n * List of legacy (that don’t need a trailing `;`) named references which could,\n * depending on what follows them, turn into a different meaning\n *\n * @type {Array<string>}\n */\nexport const dangerous = [\n 'cent',\n 'copy',\n 'divide',\n 'gt',\n 'lt',\n 'not',\n 'para',\n 'times'\n]\n"],"names":[],"mappings":";;AAMY,MAAC,YAAY;AAAA,EACvB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;;","x_google_ignoreList":[0]}
@@ -0,0 +1,14 @@
1
+ const dangerous = [
2
+ "cent",
3
+ "copy",
4
+ "divide",
5
+ "gt",
6
+ "lt",
7
+ "not",
8
+ "para",
9
+ "times"
10
+ ];
11
+ export {
12
+ dangerous
13
+ };
14
+ //# sourceMappingURL=dangerous.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dangerous.js","sources":["../../../../../node_modules/stringify-entities/lib/constant/dangerous.js"],"sourcesContent":["/**\n * List of legacy (that don’t need a trailing `;`) named references which could,\n * depending on what follows them, turn into a different meaning\n *\n * @type {Array<string>}\n */\nexport const dangerous = [\n 'cent',\n 'copy',\n 'divide',\n 'gt',\n 'lt',\n 'not',\n 'para',\n 'times'\n]\n"],"names":[],"mappings":"AAMY,MAAC,YAAY;AAAA,EACvB;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AAAA,EACA;AACF;","x_google_ignoreList":[0]}
@@ -0,0 +1,52 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const defaultSubsetRegex = /["&'<>`]/g;
4
+ const surrogatePairsRegex = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g;
5
+ const controlCharactersRegex = (
6
+ // eslint-disable-next-line no-control-regex, unicorn/no-hex-escape
7
+ /[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g
8
+ );
9
+ const regexEscapeRegex = /[|\\{}()[\]^$+*?.]/g;
10
+ const subsetToRegexCache = /* @__PURE__ */ new WeakMap();
11
+ function core(value, options) {
12
+ value = value.replace(
13
+ options.subset ? charactersToExpressionCached(options.subset) : defaultSubsetRegex,
14
+ basic
15
+ );
16
+ if (options.subset || options.escapeOnly) {
17
+ return value;
18
+ }
19
+ return value.replace(surrogatePairsRegex, surrogate).replace(controlCharactersRegex, basic);
20
+ function surrogate(pair, index, all) {
21
+ return options.format(
22
+ (pair.charCodeAt(0) - 55296) * 1024 + pair.charCodeAt(1) - 56320 + 65536,
23
+ all.charCodeAt(index + 2),
24
+ options
25
+ );
26
+ }
27
+ function basic(character, index, all) {
28
+ return options.format(
29
+ character.charCodeAt(0),
30
+ all.charCodeAt(index + 1),
31
+ options
32
+ );
33
+ }
34
+ }
35
+ function charactersToExpressionCached(subset) {
36
+ let cached = subsetToRegexCache.get(subset);
37
+ if (!cached) {
38
+ cached = charactersToExpression(subset);
39
+ subsetToRegexCache.set(subset, cached);
40
+ }
41
+ return cached;
42
+ }
43
+ function charactersToExpression(subset) {
44
+ const groups = [];
45
+ let index = -1;
46
+ while (++index < subset.length) {
47
+ groups.push(subset[index].replace(regexEscapeRegex, "\\$&"));
48
+ }
49
+ return new RegExp("(?:" + groups.join("|") + ")", "g");
50
+ }
51
+ exports.core = core;
52
+ //# sourceMappingURL=core.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core.cjs","sources":["../../../../node_modules/stringify-entities/lib/core.js"],"sourcesContent":["/**\n * @typedef CoreOptions\n * @property {ReadonlyArray<string>} [subset=[]]\n * Whether to only escape the given subset of characters.\n * @property {boolean} [escapeOnly=false]\n * Whether to only escape possibly dangerous characters.\n * Those characters are `\"`, `&`, `'`, `<`, `>`, and `` ` ``.\n *\n * @typedef FormatOptions\n * @property {(code: number, next: number, options: CoreWithFormatOptions) => string} format\n * Format strategy.\n *\n * @typedef {CoreOptions & FormatOptions & import('./util/format-smart.js').FormatSmartOptions} CoreWithFormatOptions\n */\n\nconst defaultSubsetRegex = /[\"&'<>`]/g\nconst surrogatePairsRegex = /[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g\nconst controlCharactersRegex =\n // eslint-disable-next-line no-control-regex, unicorn/no-hex-escape\n /[\\x01-\\t\\v\\f\\x0E-\\x1F\\x7F\\x81\\x8D\\x8F\\x90\\x9D\\xA0-\\uFFFF]/g\nconst regexEscapeRegex = /[|\\\\{}()[\\]^$+*?.]/g\n\n/** @type {WeakMap<ReadonlyArray<string>, RegExp>} */\nconst subsetToRegexCache = new WeakMap()\n\n/**\n * Encode certain characters in `value`.\n *\n * @param {string} value\n * @param {CoreWithFormatOptions} options\n * @returns {string}\n */\nexport function core(value, options) {\n value = value.replace(\n options.subset\n ? charactersToExpressionCached(options.subset)\n : defaultSubsetRegex,\n basic\n )\n\n if (options.subset || options.escapeOnly) {\n return value\n }\n\n return (\n value\n // Surrogate pairs.\n .replace(surrogatePairsRegex, surrogate)\n // BMP control characters (C0 except for LF, CR, SP; DEL; and some more\n // non-ASCII ones).\n .replace(controlCharactersRegex, basic)\n )\n\n /**\n * @param {string} pair\n * @param {number} index\n * @param {string} all\n */\n function surrogate(pair, index, all) {\n return options.format(\n (pair.charCodeAt(0) - 0xd800) * 0x400 +\n pair.charCodeAt(1) -\n 0xdc00 +\n 0x10000,\n all.charCodeAt(index + 2),\n options\n )\n }\n\n /**\n * @param {string} character\n * @param {number} index\n * @param {string} all\n */\n function basic(character, index, all) {\n return options.format(\n character.charCodeAt(0),\n all.charCodeAt(index + 1),\n options\n )\n }\n}\n\n/**\n * A wrapper function that caches the result of `charactersToExpression` with a WeakMap.\n * This can improve performance when tooling calls `charactersToExpression` repeatedly\n * with the same subset.\n *\n * @param {ReadonlyArray<string>} subset\n * @returns {RegExp}\n */\nfunction charactersToExpressionCached(subset) {\n let cached = subsetToRegexCache.get(subset)\n\n if (!cached) {\n cached = charactersToExpression(subset)\n subsetToRegexCache.set(subset, cached)\n }\n\n return cached\n}\n\n/**\n * @param {ReadonlyArray<string>} subset\n * @returns {RegExp}\n */\nfunction charactersToExpression(subset) {\n /** @type {Array<string>} */\n const groups = []\n let index = -1\n\n while (++index < subset.length) {\n groups.push(subset[index].replace(regexEscapeRegex, '\\\\$&'))\n }\n\n return new RegExp('(?:' + groups.join('|') + ')', 'g')\n}\n"],"names":[],"mappings":";;AAeA,MAAM,qBAAqB;AAC3B,MAAM,sBAAsB;AAC5B,MAAM;AAAA;AAAA,EAEJ;AAAA;AACF,MAAM,mBAAmB;AAGzB,MAAM,qBAAqB,oBAAI,QAAS;AASjC,SAAS,KAAK,OAAO,SAAS;AACnC,UAAQ,MAAM;AAAA,IACZ,QAAQ,SACJ,6BAA6B,QAAQ,MAAM,IAC3C;AAAA,IACJ;AAAA,EACD;AAED,MAAI,QAAQ,UAAU,QAAQ,YAAY;AACxC,WAAO;AAAA,EACR;AAED,SACE,MAEG,QAAQ,qBAAqB,SAAS,EAGtC,QAAQ,wBAAwB,KAAK;AAQ1C,WAAS,UAAU,MAAM,OAAO,KAAK;AACnC,WAAO,QAAQ;AAAA,OACZ,KAAK,WAAW,CAAC,IAAI,SAAU,OAC9B,KAAK,WAAW,CAAC,IACjB,QACA;AAAA,MACF,IAAI,WAAW,QAAQ,CAAC;AAAA,MACxB;AAAA,IACD;AAAA,EACF;AAOD,WAAS,MAAM,WAAW,OAAO,KAAK;AACpC,WAAO,QAAQ;AAAA,MACb,UAAU,WAAW,CAAC;AAAA,MACtB,IAAI,WAAW,QAAQ,CAAC;AAAA,MACxB;AAAA,IACD;AAAA,EACF;AACH;AAUA,SAAS,6BAA6B,QAAQ;AAC5C,MAAI,SAAS,mBAAmB,IAAI,MAAM;AAE1C,MAAI,CAAC,QAAQ;AACX,aAAS,uBAAuB,MAAM;AACtC,uBAAmB,IAAI,QAAQ,MAAM;AAAA,EACtC;AAED,SAAO;AACT;AAMA,SAAS,uBAAuB,QAAQ;AAEtC,QAAM,SAAS,CAAE;AACjB,MAAI,QAAQ;AAEZ,SAAO,EAAE,QAAQ,OAAO,QAAQ;AAC9B,WAAO,KAAK,OAAO,KAAK,EAAE,QAAQ,kBAAkB,MAAM,CAAC;AAAA,EAC5D;AAED,SAAO,IAAI,OAAO,QAAQ,OAAO,KAAK,GAAG,IAAI,KAAK,GAAG;AACvD;;","x_google_ignoreList":[0]}
@@ -0,0 +1,52 @@
1
+ const defaultSubsetRegex = /["&'<>`]/g;
2
+ const surrogatePairsRegex = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g;
3
+ const controlCharactersRegex = (
4
+ // eslint-disable-next-line no-control-regex, unicorn/no-hex-escape
5
+ /[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g
6
+ );
7
+ const regexEscapeRegex = /[|\\{}()[\]^$+*?.]/g;
8
+ const subsetToRegexCache = /* @__PURE__ */ new WeakMap();
9
+ function core(value, options) {
10
+ value = value.replace(
11
+ options.subset ? charactersToExpressionCached(options.subset) : defaultSubsetRegex,
12
+ basic
13
+ );
14
+ if (options.subset || options.escapeOnly) {
15
+ return value;
16
+ }
17
+ return value.replace(surrogatePairsRegex, surrogate).replace(controlCharactersRegex, basic);
18
+ function surrogate(pair, index, all) {
19
+ return options.format(
20
+ (pair.charCodeAt(0) - 55296) * 1024 + pair.charCodeAt(1) - 56320 + 65536,
21
+ all.charCodeAt(index + 2),
22
+ options
23
+ );
24
+ }
25
+ function basic(character, index, all) {
26
+ return options.format(
27
+ character.charCodeAt(0),
28
+ all.charCodeAt(index + 1),
29
+ options
30
+ );
31
+ }
32
+ }
33
+ function charactersToExpressionCached(subset) {
34
+ let cached = subsetToRegexCache.get(subset);
35
+ if (!cached) {
36
+ cached = charactersToExpression(subset);
37
+ subsetToRegexCache.set(subset, cached);
38
+ }
39
+ return cached;
40
+ }
41
+ function charactersToExpression(subset) {
42
+ const groups = [];
43
+ let index = -1;
44
+ while (++index < subset.length) {
45
+ groups.push(subset[index].replace(regexEscapeRegex, "\\$&"));
46
+ }
47
+ return new RegExp("(?:" + groups.join("|") + ")", "g");
48
+ }
49
+ export {
50
+ core
51
+ };
52
+ //# sourceMappingURL=core.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"core.js","sources":["../../../../node_modules/stringify-entities/lib/core.js"],"sourcesContent":["/**\n * @typedef CoreOptions\n * @property {ReadonlyArray<string>} [subset=[]]\n * Whether to only escape the given subset of characters.\n * @property {boolean} [escapeOnly=false]\n * Whether to only escape possibly dangerous characters.\n * Those characters are `\"`, `&`, `'`, `<`, `>`, and `` ` ``.\n *\n * @typedef FormatOptions\n * @property {(code: number, next: number, options: CoreWithFormatOptions) => string} format\n * Format strategy.\n *\n * @typedef {CoreOptions & FormatOptions & import('./util/format-smart.js').FormatSmartOptions} CoreWithFormatOptions\n */\n\nconst defaultSubsetRegex = /[\"&'<>`]/g\nconst surrogatePairsRegex = /[\\uD800-\\uDBFF][\\uDC00-\\uDFFF]/g\nconst controlCharactersRegex =\n // eslint-disable-next-line no-control-regex, unicorn/no-hex-escape\n /[\\x01-\\t\\v\\f\\x0E-\\x1F\\x7F\\x81\\x8D\\x8F\\x90\\x9D\\xA0-\\uFFFF]/g\nconst regexEscapeRegex = /[|\\\\{}()[\\]^$+*?.]/g\n\n/** @type {WeakMap<ReadonlyArray<string>, RegExp>} */\nconst subsetToRegexCache = new WeakMap()\n\n/**\n * Encode certain characters in `value`.\n *\n * @param {string} value\n * @param {CoreWithFormatOptions} options\n * @returns {string}\n */\nexport function core(value, options) {\n value = value.replace(\n options.subset\n ? charactersToExpressionCached(options.subset)\n : defaultSubsetRegex,\n basic\n )\n\n if (options.subset || options.escapeOnly) {\n return value\n }\n\n return (\n value\n // Surrogate pairs.\n .replace(surrogatePairsRegex, surrogate)\n // BMP control characters (C0 except for LF, CR, SP; DEL; and some more\n // non-ASCII ones).\n .replace(controlCharactersRegex, basic)\n )\n\n /**\n * @param {string} pair\n * @param {number} index\n * @param {string} all\n */\n function surrogate(pair, index, all) {\n return options.format(\n (pair.charCodeAt(0) - 0xd800) * 0x400 +\n pair.charCodeAt(1) -\n 0xdc00 +\n 0x10000,\n all.charCodeAt(index + 2),\n options\n )\n }\n\n /**\n * @param {string} character\n * @param {number} index\n * @param {string} all\n */\n function basic(character, index, all) {\n return options.format(\n character.charCodeAt(0),\n all.charCodeAt(index + 1),\n options\n )\n }\n}\n\n/**\n * A wrapper function that caches the result of `charactersToExpression` with a WeakMap.\n * This can improve performance when tooling calls `charactersToExpression` repeatedly\n * with the same subset.\n *\n * @param {ReadonlyArray<string>} subset\n * @returns {RegExp}\n */\nfunction charactersToExpressionCached(subset) {\n let cached = subsetToRegexCache.get(subset)\n\n if (!cached) {\n cached = charactersToExpression(subset)\n subsetToRegexCache.set(subset, cached)\n }\n\n return cached\n}\n\n/**\n * @param {ReadonlyArray<string>} subset\n * @returns {RegExp}\n */\nfunction charactersToExpression(subset) {\n /** @type {Array<string>} */\n const groups = []\n let index = -1\n\n while (++index < subset.length) {\n groups.push(subset[index].replace(regexEscapeRegex, '\\\\$&'))\n }\n\n return new RegExp('(?:' + groups.join('|') + ')', 'g')\n}\n"],"names":[],"mappings":"AAeA,MAAM,qBAAqB;AAC3B,MAAM,sBAAsB;AAC5B,MAAM;AAAA;AAAA,EAEJ;AAAA;AACF,MAAM,mBAAmB;AAGzB,MAAM,qBAAqB,oBAAI,QAAS;AASjC,SAAS,KAAK,OAAO,SAAS;AACnC,UAAQ,MAAM;AAAA,IACZ,QAAQ,SACJ,6BAA6B,QAAQ,MAAM,IAC3C;AAAA,IACJ;AAAA,EACD;AAED,MAAI,QAAQ,UAAU,QAAQ,YAAY;AACxC,WAAO;AAAA,EACR;AAED,SACE,MAEG,QAAQ,qBAAqB,SAAS,EAGtC,QAAQ,wBAAwB,KAAK;AAQ1C,WAAS,UAAU,MAAM,OAAO,KAAK;AACnC,WAAO,QAAQ;AAAA,OACZ,KAAK,WAAW,CAAC,IAAI,SAAU,OAC9B,KAAK,WAAW,CAAC,IACjB,QACA;AAAA,MACF,IAAI,WAAW,QAAQ,CAAC;AAAA,MACxB;AAAA,IACD;AAAA,EACF;AAOD,WAAS,MAAM,WAAW,OAAO,KAAK;AACpC,WAAO,QAAQ;AAAA,MACb,UAAU,WAAW,CAAC;AAAA,MACtB,IAAI,WAAW,QAAQ,CAAC;AAAA,MACxB;AAAA,IACD;AAAA,EACF;AACH;AAUA,SAAS,6BAA6B,QAAQ;AAC5C,MAAI,SAAS,mBAAmB,IAAI,MAAM;AAE1C,MAAI,CAAC,QAAQ;AACX,aAAS,uBAAuB,MAAM;AACtC,uBAAmB,IAAI,QAAQ,MAAM;AAAA,EACtC;AAED,SAAO;AACT;AAMA,SAAS,uBAAuB,QAAQ;AAEtC,QAAM,SAAS,CAAE;AACjB,MAAI,QAAQ;AAEZ,SAAO,EAAE,QAAQ,OAAO,QAAQ;AAC9B,WAAO,KAAK,OAAO,KAAK,EAAE,QAAQ,kBAAkB,MAAM,CAAC;AAAA,EAC5D;AAED,SAAO,IAAI,OAAO,QAAQ,OAAO,KAAK,GAAG,IAAI,KAAK,GAAG;AACvD;","x_google_ignoreList":[0]}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const core = require("./core.cjs");
4
+ const formatSmart = require("./util/format-smart.cjs");
5
+ function stringifyEntities(value, options) {
6
+ return core.core(value, Object.assign({ format: formatSmart.formatSmart }, options));
7
+ }
8
+ exports.stringifyEntities = stringifyEntities;
9
+ //# sourceMappingURL=index.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.cjs","sources":["../../../../node_modules/stringify-entities/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('./core.js').CoreOptions & import('./util/format-smart.js').FormatSmartOptions} Options\n * @typedef {import('./core.js').CoreOptions} LightOptions\n */\n\nimport {core} from './core.js'\nimport {formatSmart} from './util/format-smart.js'\nimport {formatBasic} from './util/format-basic.js'\n\n/**\n * Encode special characters in `value`.\n *\n * @param {string} value\n * Value to encode.\n * @param {Options} [options]\n * Configuration.\n * @returns {string}\n * Encoded value.\n */\nexport function stringifyEntities(value, options) {\n return core(value, Object.assign({format: formatSmart}, options))\n}\n\n/**\n * Encode special characters in `value` as hexadecimals.\n *\n * @param {string} value\n * Value to encode.\n * @param {LightOptions} [options]\n * Configuration.\n * @returns {string}\n * Encoded value.\n */\nexport function stringifyEntitiesLight(value, options) {\n return core(value, Object.assign({format: formatBasic}, options))\n}\n"],"names":["core","formatSmart"],"mappings":";;;;AAmBO,SAAS,kBAAkB,OAAO,SAAS;AAChD,SAAOA,KAAI,KAAC,OAAO,OAAO,OAAO,EAAC,QAAQC,YAAAA,YAAW,GAAG,OAAO,CAAC;AAClE;;","x_google_ignoreList":[0]}
@@ -0,0 +1,9 @@
1
+ import { core } from "./core.js";
2
+ import { formatSmart } from "./util/format-smart.js";
3
+ function stringifyEntities(value, options) {
4
+ return core(value, Object.assign({ format: formatSmart }, options));
5
+ }
6
+ export {
7
+ stringifyEntities
8
+ };
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../node_modules/stringify-entities/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('./core.js').CoreOptions & import('./util/format-smart.js').FormatSmartOptions} Options\n * @typedef {import('./core.js').CoreOptions} LightOptions\n */\n\nimport {core} from './core.js'\nimport {formatSmart} from './util/format-smart.js'\nimport {formatBasic} from './util/format-basic.js'\n\n/**\n * Encode special characters in `value`.\n *\n * @param {string} value\n * Value to encode.\n * @param {Options} [options]\n * Configuration.\n * @returns {string}\n * Encoded value.\n */\nexport function stringifyEntities(value, options) {\n return core(value, Object.assign({format: formatSmart}, options))\n}\n\n/**\n * Encode special characters in `value` as hexadecimals.\n *\n * @param {string} value\n * Value to encode.\n * @param {LightOptions} [options]\n * Configuration.\n * @returns {string}\n * Encoded value.\n */\nexport function stringifyEntitiesLight(value, options) {\n return core(value, Object.assign({format: formatBasic}, options))\n}\n"],"names":[],"mappings":";;AAmBO,SAAS,kBAAkB,OAAO,SAAS;AAChD,SAAO,KAAK,OAAO,OAAO,OAAO,EAAC,QAAQ,YAAW,GAAG,OAAO,CAAC;AAClE;","x_google_ignoreList":[0]}
@@ -0,0 +1,26 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const toHexadecimal = require("./to-hexadecimal.cjs");
4
+ const toDecimal = require("./to-decimal.cjs");
5
+ const toNamed = require("./to-named.cjs");
6
+ function formatSmart(code, next, options) {
7
+ let numeric = toHexadecimal.toHexadecimal(code, next, options.omitOptionalSemicolons);
8
+ let named;
9
+ if (options.useNamedReferences || options.useShortestReferences) {
10
+ named = toNamed.toNamed(
11
+ code,
12
+ next,
13
+ options.omitOptionalSemicolons,
14
+ options.attribute
15
+ );
16
+ }
17
+ if ((options.useShortestReferences || !named) && options.useShortestReferences) {
18
+ const decimal = toDecimal.toDecimal(code, next, options.omitOptionalSemicolons);
19
+ if (decimal.length < numeric.length) {
20
+ numeric = decimal;
21
+ }
22
+ }
23
+ return named && (!options.useShortestReferences || named.length < numeric.length) ? named : numeric;
24
+ }
25
+ exports.formatSmart = formatSmart;
26
+ //# sourceMappingURL=format-smart.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"format-smart.cjs","sources":["../../../../../node_modules/stringify-entities/lib/util/format-smart.js"],"sourcesContent":["/**\n * @typedef FormatSmartOptions\n * @property {boolean} [useNamedReferences=false]\n * Prefer named character references (`&amp;`) where possible.\n * @property {boolean} [useShortestReferences=false]\n * Prefer the shortest possible reference, if that results in less bytes.\n * **Note**: `useNamedReferences` can be omitted when using `useShortestReferences`.\n * @property {boolean} [omitOptionalSemicolons=false]\n * Whether to omit semicolons when possible.\n * **Note**: This creates what HTML calls “parse errors” but is otherwise still valid HTML — don’t use this except when building a minifier.\n * Omitting semicolons is possible for certain named and numeric references in some cases.\n * @property {boolean} [attribute=false]\n * Create character references which don’t fail in attributes.\n * **Note**: `attribute` only applies when operating dangerously with\n * `omitOptionalSemicolons: true`.\n */\n\nimport {toHexadecimal} from './to-hexadecimal.js'\nimport {toDecimal} from './to-decimal.js'\nimport {toNamed} from './to-named.js'\n\n/**\n * Configurable ways to encode a character yielding pretty or small results.\n *\n * @param {number} code\n * @param {number} next\n * @param {FormatSmartOptions} options\n * @returns {string}\n */\nexport function formatSmart(code, next, options) {\n let numeric = toHexadecimal(code, next, options.omitOptionalSemicolons)\n /** @type {string|undefined} */\n let named\n\n if (options.useNamedReferences || options.useShortestReferences) {\n named = toNamed(\n code,\n next,\n options.omitOptionalSemicolons,\n options.attribute\n )\n }\n\n // Use the shortest numeric reference when requested.\n // A simple algorithm would use decimal for all code points under 100, as\n // those are shorter than hexadecimal:\n //\n // * `&#99;` vs `&#x63;` (decimal shorter)\n // * `&#100;` vs `&#x64;` (equal)\n //\n // However, because we take `next` into consideration when `omit` is used,\n // And it would be possible that decimals are shorter on bigger values as\n // well if `next` is hexadecimal but not decimal, we instead compare both.\n if (\n (options.useShortestReferences || !named) &&\n options.useShortestReferences\n ) {\n const decimal = toDecimal(code, next, options.omitOptionalSemicolons)\n\n if (decimal.length < numeric.length) {\n numeric = decimal\n }\n }\n\n return named &&\n (!options.useShortestReferences || named.length < numeric.length)\n ? named\n : numeric\n}\n"],"names":["toHexadecimal","toNamed","toDecimal"],"mappings":";;;;;AA6BO,SAAS,YAAY,MAAM,MAAM,SAAS;AAC/C,MAAI,UAAUA,cAAAA,cAAc,MAAM,MAAM,QAAQ,sBAAsB;AAEtE,MAAI;AAEJ,MAAI,QAAQ,sBAAsB,QAAQ,uBAAuB;AAC/D,YAAQC,QAAO;AAAA,MACb;AAAA,MACA;AAAA,MACA,QAAQ;AAAA,MACR,QAAQ;AAAA,IACT;AAAA,EACF;AAYD,OACG,QAAQ,yBAAyB,CAAC,UACnC,QAAQ,uBACR;AACA,UAAM,UAAUC,UAAAA,UAAU,MAAM,MAAM,QAAQ,sBAAsB;AAEpE,QAAI,QAAQ,SAAS,QAAQ,QAAQ;AACnC,gBAAU;AAAA,IACX;AAAA,EACF;AAED,SAAO,UACJ,CAAC,QAAQ,yBAAyB,MAAM,SAAS,QAAQ,UACxD,QACA;AACN;;","x_google_ignoreList":[0]}
@@ -0,0 +1,26 @@
1
+ import { toHexadecimal } from "./to-hexadecimal.js";
2
+ import { toDecimal } from "./to-decimal.js";
3
+ import { toNamed } from "./to-named.js";
4
+ function formatSmart(code, next, options) {
5
+ let numeric = toHexadecimal(code, next, options.omitOptionalSemicolons);
6
+ let named;
7
+ if (options.useNamedReferences || options.useShortestReferences) {
8
+ named = toNamed(
9
+ code,
10
+ next,
11
+ options.omitOptionalSemicolons,
12
+ options.attribute
13
+ );
14
+ }
15
+ if ((options.useShortestReferences || !named) && options.useShortestReferences) {
16
+ const decimal = toDecimal(code, next, options.omitOptionalSemicolons);
17
+ if (decimal.length < numeric.length) {
18
+ numeric = decimal;
19
+ }
20
+ }
21
+ return named && (!options.useShortestReferences || named.length < numeric.length) ? named : numeric;
22
+ }
23
+ export {
24
+ formatSmart
25
+ };
26
+ //# sourceMappingURL=format-smart.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"format-smart.js","sources":["../../../../../node_modules/stringify-entities/lib/util/format-smart.js"],"sourcesContent":["/**\n * @typedef FormatSmartOptions\n * @property {boolean} [useNamedReferences=false]\n * Prefer named character references (`&amp;`) where possible.\n * @property {boolean} [useShortestReferences=false]\n * Prefer the shortest possible reference, if that results in less bytes.\n * **Note**: `useNamedReferences` can be omitted when using `useShortestReferences`.\n * @property {boolean} [omitOptionalSemicolons=false]\n * Whether to omit semicolons when possible.\n * **Note**: This creates what HTML calls “parse errors” but is otherwise still valid HTML — don’t use this except when building a minifier.\n * Omitting semicolons is possible for certain named and numeric references in some cases.\n * @property {boolean} [attribute=false]\n * Create character references which don’t fail in attributes.\n * **Note**: `attribute` only applies when operating dangerously with\n * `omitOptionalSemicolons: true`.\n */\n\nimport {toHexadecimal} from './to-hexadecimal.js'\nimport {toDecimal} from './to-decimal.js'\nimport {toNamed} from './to-named.js'\n\n/**\n * Configurable ways to encode a character yielding pretty or small results.\n *\n * @param {number} code\n * @param {number} next\n * @param {FormatSmartOptions} options\n * @returns {string}\n */\nexport function formatSmart(code, next, options) {\n let numeric = toHexadecimal(code, next, options.omitOptionalSemicolons)\n /** @type {string|undefined} */\n let named\n\n if (options.useNamedReferences || options.useShortestReferences) {\n named = toNamed(\n code,\n next,\n options.omitOptionalSemicolons,\n options.attribute\n )\n }\n\n // Use the shortest numeric reference when requested.\n // A simple algorithm would use decimal for all code points under 100, as\n // those are shorter than hexadecimal:\n //\n // * `&#99;` vs `&#x63;` (decimal shorter)\n // * `&#100;` vs `&#x64;` (equal)\n //\n // However, because we take `next` into consideration when `omit` is used,\n // And it would be possible that decimals are shorter on bigger values as\n // well if `next` is hexadecimal but not decimal, we instead compare both.\n if (\n (options.useShortestReferences || !named) &&\n options.useShortestReferences\n ) {\n const decimal = toDecimal(code, next, options.omitOptionalSemicolons)\n\n if (decimal.length < numeric.length) {\n numeric = decimal\n }\n }\n\n return named &&\n (!options.useShortestReferences || named.length < numeric.length)\n ? named\n : numeric\n}\n"],"names":[],"mappings":";;;AA6BO,SAAS,YAAY,MAAM,MAAM,SAAS;AAC/C,MAAI,UAAU,cAAc,MAAM,MAAM,QAAQ,sBAAsB;AAEtE,MAAI;AAEJ,MAAI,QAAQ,sBAAsB,QAAQ,uBAAuB;AAC/D,YAAQ;AAAA,MACN;AAAA,MACA;AAAA,MACA,QAAQ;AAAA,MACR,QAAQ;AAAA,IACT;AAAA,EACF;AAYD,OACG,QAAQ,yBAAyB,CAAC,UACnC,QAAQ,uBACR;AACA,UAAM,UAAU,UAAU,MAAM,MAAM,QAAQ,sBAAsB;AAEpE,QAAI,QAAQ,SAAS,QAAQ,QAAQ;AACnC,gBAAU;AAAA,IACX;AAAA,EACF;AAED,SAAO,UACJ,CAAC,QAAQ,yBAAyB,MAAM,SAAS,QAAQ,UACxD,QACA;AACN;","x_google_ignoreList":[0]}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const decimalRegex = /\d/;
4
+ function toDecimal(code, next, omit) {
5
+ const value = "&#" + String(code);
6
+ return omit && next && !decimalRegex.test(String.fromCharCode(next)) ? value : value + ";";
7
+ }
8
+ exports.toDecimal = toDecimal;
9
+ //# sourceMappingURL=to-decimal.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"to-decimal.cjs","sources":["../../../../../node_modules/stringify-entities/lib/util/to-decimal.js"],"sourcesContent":["const decimalRegex = /\\d/\n\n/**\n * Configurable ways to encode characters as decimal references.\n *\n * @param {number} code\n * @param {number} next\n * @param {boolean|undefined} omit\n * @returns {string}\n */\nexport function toDecimal(code, next, omit) {\n const value = '&#' + String(code)\n return omit && next && !decimalRegex.test(String.fromCharCode(next))\n ? value\n : value + ';'\n}\n"],"names":[],"mappings":";;AAAA,MAAM,eAAe;AAUd,SAAS,UAAU,MAAM,MAAM,MAAM;AAC1C,QAAM,QAAQ,OAAO,OAAO,IAAI;AAChC,SAAO,QAAQ,QAAQ,CAAC,aAAa,KAAK,OAAO,aAAa,IAAI,CAAC,IAC/D,QACA,QAAQ;AACd;;","x_google_ignoreList":[0]}
@@ -0,0 +1,9 @@
1
+ const decimalRegex = /\d/;
2
+ function toDecimal(code, next, omit) {
3
+ const value = "&#" + String(code);
4
+ return omit && next && !decimalRegex.test(String.fromCharCode(next)) ? value : value + ";";
5
+ }
6
+ export {
7
+ toDecimal
8
+ };
9
+ //# sourceMappingURL=to-decimal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"to-decimal.js","sources":["../../../../../node_modules/stringify-entities/lib/util/to-decimal.js"],"sourcesContent":["const decimalRegex = /\\d/\n\n/**\n * Configurable ways to encode characters as decimal references.\n *\n * @param {number} code\n * @param {number} next\n * @param {boolean|undefined} omit\n * @returns {string}\n */\nexport function toDecimal(code, next, omit) {\n const value = '&#' + String(code)\n return omit && next && !decimalRegex.test(String.fromCharCode(next))\n ? value\n : value + ';'\n}\n"],"names":[],"mappings":"AAAA,MAAM,eAAe;AAUd,SAAS,UAAU,MAAM,MAAM,MAAM;AAC1C,QAAM,QAAQ,OAAO,OAAO,IAAI;AAChC,SAAO,QAAQ,QAAQ,CAAC,aAAa,KAAK,OAAO,aAAa,IAAI,CAAC,IAC/D,QACA,QAAQ;AACd;","x_google_ignoreList":[0]}
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const hexadecimalRegex = /[\dA-Fa-f]/;
4
+ function toHexadecimal(code, next, omit) {
5
+ const value = "&#x" + code.toString(16).toUpperCase();
6
+ return omit && next && !hexadecimalRegex.test(String.fromCharCode(next)) ? value : value + ";";
7
+ }
8
+ exports.toHexadecimal = toHexadecimal;
9
+ //# sourceMappingURL=to-hexadecimal.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"to-hexadecimal.cjs","sources":["../../../../../node_modules/stringify-entities/lib/util/to-hexadecimal.js"],"sourcesContent":["const hexadecimalRegex = /[\\dA-Fa-f]/\n\n/**\n * Configurable ways to encode characters as hexadecimal references.\n *\n * @param {number} code\n * @param {number} next\n * @param {boolean|undefined} omit\n * @returns {string}\n */\nexport function toHexadecimal(code, next, omit) {\n const value = '&#x' + code.toString(16).toUpperCase()\n return omit && next && !hexadecimalRegex.test(String.fromCharCode(next))\n ? value\n : value + ';'\n}\n"],"names":[],"mappings":";;AAAA,MAAM,mBAAmB;AAUlB,SAAS,cAAc,MAAM,MAAM,MAAM;AAC9C,QAAM,QAAQ,QAAQ,KAAK,SAAS,EAAE,EAAE,YAAa;AACrD,SAAO,QAAQ,QAAQ,CAAC,iBAAiB,KAAK,OAAO,aAAa,IAAI,CAAC,IACnE,QACA,QAAQ;AACd;;","x_google_ignoreList":[0]}
@@ -0,0 +1,9 @@
1
+ const hexadecimalRegex = /[\dA-Fa-f]/;
2
+ function toHexadecimal(code, next, omit) {
3
+ const value = "&#x" + code.toString(16).toUpperCase();
4
+ return omit && next && !hexadecimalRegex.test(String.fromCharCode(next)) ? value : value + ";";
5
+ }
6
+ export {
7
+ toHexadecimal
8
+ };
9
+ //# sourceMappingURL=to-hexadecimal.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"to-hexadecimal.js","sources":["../../../../../node_modules/stringify-entities/lib/util/to-hexadecimal.js"],"sourcesContent":["const hexadecimalRegex = /[\\dA-Fa-f]/\n\n/**\n * Configurable ways to encode characters as hexadecimal references.\n *\n * @param {number} code\n * @param {number} next\n * @param {boolean|undefined} omit\n * @returns {string}\n */\nexport function toHexadecimal(code, next, omit) {\n const value = '&#x' + code.toString(16).toUpperCase()\n return omit && next && !hexadecimalRegex.test(String.fromCharCode(next))\n ? value\n : value + ';'\n}\n"],"names":[],"mappings":"AAAA,MAAM,mBAAmB;AAUlB,SAAS,cAAc,MAAM,MAAM,MAAM;AAC9C,QAAM,QAAQ,QAAQ,KAAK,SAAS,EAAE,EAAE,YAAa;AACrD,SAAO,QAAQ,QAAQ,CAAC,iBAAiB,KAAK,OAAO,aAAa,IAAI,CAAC,IACnE,QACA,QAAQ;AACd;","x_google_ignoreList":[0]}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
+ const index$1 = require("../../../character-entities-legacy/index.cjs");
4
+ const index = require("../../../character-entities-html4/index.cjs");
5
+ const dangerous = require("../constant/dangerous.cjs");
6
+ const own = {}.hasOwnProperty;
7
+ const characters = {};
8
+ let key;
9
+ for (key in index.characterEntitiesHtml4) {
10
+ if (own.call(index.characterEntitiesHtml4, key)) {
11
+ characters[index.characterEntitiesHtml4[key]] = key;
12
+ }
13
+ }
14
+ const notAlphanumericRegex = /[^\dA-Za-z]/;
15
+ function toNamed(code, next, omit, attribute) {
16
+ const character = String.fromCharCode(code);
17
+ if (own.call(characters, character)) {
18
+ const name = characters[character];
19
+ const value = "&" + name;
20
+ if (omit && index$1.characterEntitiesLegacy.includes(name) && !dangerous.dangerous.includes(name) && (!attribute || next && next !== 61 && notAlphanumericRegex.test(String.fromCharCode(next)))) {
21
+ return value;
22
+ }
23
+ return value + ";";
24
+ }
25
+ return "";
26
+ }
27
+ exports.toNamed = toNamed;
28
+ //# sourceMappingURL=to-named.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"to-named.cjs","sources":["../../../../../node_modules/stringify-entities/lib/util/to-named.js"],"sourcesContent":["import {characterEntitiesLegacy} from 'character-entities-legacy'\nimport {characterEntitiesHtml4} from 'character-entities-html4'\nimport {dangerous} from '../constant/dangerous.js'\n\nconst own = {}.hasOwnProperty\n\n/**\n * `characterEntitiesHtml4` but inverted.\n *\n * @type {Record<string, string>}\n */\nconst characters = {}\n\n/** @type {string} */\nlet key\n\nfor (key in characterEntitiesHtml4) {\n if (own.call(characterEntitiesHtml4, key)) {\n characters[characterEntitiesHtml4[key]] = key\n }\n}\n\nconst notAlphanumericRegex = /[^\\dA-Za-z]/\n\n/**\n * Configurable ways to encode characters as named references.\n *\n * @param {number} code\n * @param {number} next\n * @param {boolean|undefined} omit\n * @param {boolean|undefined} attribute\n * @returns {string}\n */\nexport function toNamed(code, next, omit, attribute) {\n const character = String.fromCharCode(code)\n\n if (own.call(characters, character)) {\n const name = characters[character]\n const value = '&' + name\n\n if (\n omit &&\n characterEntitiesLegacy.includes(name) &&\n !dangerous.includes(name) &&\n (!attribute ||\n (next &&\n next !== 61 /* `=` */ &&\n notAlphanumericRegex.test(String.fromCharCode(next))))\n ) {\n return value\n }\n\n return value + ';'\n }\n\n return ''\n}\n"],"names":["characterEntitiesHtml4","characterEntitiesLegacy","dangerous"],"mappings":";;;;;AAIA,MAAM,MAAM,CAAE,EAAC;AAOf,MAAM,aAAa,CAAE;AAGrB,IAAI;AAEJ,KAAK,OAAOA,MAAAA,wBAAwB;AAClC,MAAI,IAAI,KAAKA,MAAsB,wBAAE,GAAG,GAAG;AACzC,eAAWA,MAAsB,uBAAC,GAAG,CAAC,IAAI;AAAA,EAC3C;AACH;AAEA,MAAM,uBAAuB;AAWtB,SAAS,QAAQ,MAAM,MAAM,MAAM,WAAW;AACnD,QAAM,YAAY,OAAO,aAAa,IAAI;AAE1C,MAAI,IAAI,KAAK,YAAY,SAAS,GAAG;AACnC,UAAM,OAAO,WAAW,SAAS;AACjC,UAAM,QAAQ,MAAM;AAEpB,QACE,QACAC,QAAuB,wBAAC,SAAS,IAAI,KACrC,CAACC,UAAS,UAAC,SAAS,IAAI,MACvB,CAAC,aACC,QACC,SAAS,MACT,qBAAqB,KAAK,OAAO,aAAa,IAAI,CAAC,IACvD;AACA,aAAO;AAAA,IACR;AAED,WAAO,QAAQ;AAAA,EAChB;AAED,SAAO;AACT;;","x_google_ignoreList":[0]}
@@ -0,0 +1,28 @@
1
+ import { characterEntitiesLegacy } from "../../../character-entities-legacy/index.js";
2
+ import { characterEntitiesHtml4 } from "../../../character-entities-html4/index.js";
3
+ import { dangerous } from "../constant/dangerous.js";
4
+ const own = {}.hasOwnProperty;
5
+ const characters = {};
6
+ let key;
7
+ for (key in characterEntitiesHtml4) {
8
+ if (own.call(characterEntitiesHtml4, key)) {
9
+ characters[characterEntitiesHtml4[key]] = key;
10
+ }
11
+ }
12
+ const notAlphanumericRegex = /[^\dA-Za-z]/;
13
+ function toNamed(code, next, omit, attribute) {
14
+ const character = String.fromCharCode(code);
15
+ if (own.call(characters, character)) {
16
+ const name = characters[character];
17
+ const value = "&" + name;
18
+ if (omit && characterEntitiesLegacy.includes(name) && !dangerous.includes(name) && (!attribute || next && next !== 61 && notAlphanumericRegex.test(String.fromCharCode(next)))) {
19
+ return value;
20
+ }
21
+ return value + ";";
22
+ }
23
+ return "";
24
+ }
25
+ export {
26
+ toNamed
27
+ };
28
+ //# sourceMappingURL=to-named.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"to-named.js","sources":["../../../../../node_modules/stringify-entities/lib/util/to-named.js"],"sourcesContent":["import {characterEntitiesLegacy} from 'character-entities-legacy'\nimport {characterEntitiesHtml4} from 'character-entities-html4'\nimport {dangerous} from '../constant/dangerous.js'\n\nconst own = {}.hasOwnProperty\n\n/**\n * `characterEntitiesHtml4` but inverted.\n *\n * @type {Record<string, string>}\n */\nconst characters = {}\n\n/** @type {string} */\nlet key\n\nfor (key in characterEntitiesHtml4) {\n if (own.call(characterEntitiesHtml4, key)) {\n characters[characterEntitiesHtml4[key]] = key\n }\n}\n\nconst notAlphanumericRegex = /[^\\dA-Za-z]/\n\n/**\n * Configurable ways to encode characters as named references.\n *\n * @param {number} code\n * @param {number} next\n * @param {boolean|undefined} omit\n * @param {boolean|undefined} attribute\n * @returns {string}\n */\nexport function toNamed(code, next, omit, attribute) {\n const character = String.fromCharCode(code)\n\n if (own.call(characters, character)) {\n const name = characters[character]\n const value = '&' + name\n\n if (\n omit &&\n characterEntitiesLegacy.includes(name) &&\n !dangerous.includes(name) &&\n (!attribute ||\n (next &&\n next !== 61 /* `=` */ &&\n notAlphanumericRegex.test(String.fromCharCode(next))))\n ) {\n return value\n }\n\n return value + ';'\n }\n\n return ''\n}\n"],"names":[],"mappings":";;;AAIA,MAAM,MAAM,CAAE,EAAC;AAOf,MAAM,aAAa,CAAE;AAGrB,IAAI;AAEJ,KAAK,OAAO,wBAAwB;AAClC,MAAI,IAAI,KAAK,wBAAwB,GAAG,GAAG;AACzC,eAAW,uBAAuB,GAAG,CAAC,IAAI;AAAA,EAC3C;AACH;AAEA,MAAM,uBAAuB;AAWtB,SAAS,QAAQ,MAAM,MAAM,MAAM,WAAW;AACnD,QAAM,YAAY,OAAO,aAAa,IAAI;AAE1C,MAAI,IAAI,KAAK,YAAY,SAAS,GAAG;AACnC,UAAM,OAAO,WAAW,SAAS;AACjC,UAAM,QAAQ,MAAM;AAEpB,QACE,QACA,wBAAwB,SAAS,IAAI,KACrC,CAAC,UAAU,SAAS,IAAI,MACvB,CAAC,aACC,QACC,SAAS,MACT,qBAAqB,KAAK,OAAO,aAAa,IAAI,CAAC,IACvD;AACA,aAAO;AAAA,IACR;AAED,WAAO,QAAQ;AAAA,EAChB;AAED,SAAO;AACT;","x_google_ignoreList":[0]}