@milpa/comal 0.0.0-stage → 0.1.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 (1875) hide show
  1. package/README.md +81 -2
  2. package/backend/contracts/artifact-check-v1.schema.json +213 -0
  3. package/backend/verifier/transport.mjs +27 -0
  4. package/bin/comal.mjs +21 -0
  5. package/bin/harness.mjs +3 -0
  6. package/docs/investigation.md +3 -0
  7. package/governance/chrome-task-v1.json +13 -0
  8. package/node_modules/ajv/.runkit_example.js +23 -0
  9. package/node_modules/ajv/LICENSE +22 -0
  10. package/node_modules/ajv/README.md +207 -0
  11. package/node_modules/ajv/dist/2019.d.ts +19 -0
  12. package/node_modules/ajv/dist/2019.js +61 -0
  13. package/node_modules/ajv/dist/2019.js.map +1 -0
  14. package/node_modules/ajv/dist/2020.d.ts +19 -0
  15. package/node_modules/ajv/dist/2020.js +55 -0
  16. package/node_modules/ajv/dist/2020.js.map +1 -0
  17. package/node_modules/ajv/dist/ajv.d.ts +18 -0
  18. package/node_modules/ajv/dist/ajv.js +50 -0
  19. package/node_modules/ajv/dist/ajv.js.map +1 -0
  20. package/node_modules/ajv/dist/compile/codegen/code.d.ts +40 -0
  21. package/node_modules/ajv/dist/compile/codegen/code.js +156 -0
  22. package/node_modules/ajv/dist/compile/codegen/code.js.map +1 -0
  23. package/node_modules/ajv/dist/compile/codegen/index.d.ts +79 -0
  24. package/node_modules/ajv/dist/compile/codegen/index.js +697 -0
  25. package/node_modules/ajv/dist/compile/codegen/index.js.map +1 -0
  26. package/node_modules/ajv/dist/compile/codegen/scope.d.ts +79 -0
  27. package/node_modules/ajv/dist/compile/codegen/scope.js +143 -0
  28. package/node_modules/ajv/dist/compile/codegen/scope.js.map +1 -0
  29. package/node_modules/ajv/dist/compile/errors.d.ts +13 -0
  30. package/node_modules/ajv/dist/compile/errors.js +123 -0
  31. package/node_modules/ajv/dist/compile/errors.js.map +1 -0
  32. package/node_modules/ajv/dist/compile/index.d.ts +80 -0
  33. package/node_modules/ajv/dist/compile/index.js +242 -0
  34. package/node_modules/ajv/dist/compile/index.js.map +1 -0
  35. package/node_modules/ajv/dist/compile/jtd/parse.d.ts +4 -0
  36. package/node_modules/ajv/dist/compile/jtd/parse.js +350 -0
  37. package/node_modules/ajv/dist/compile/jtd/parse.js.map +1 -0
  38. package/node_modules/ajv/dist/compile/jtd/serialize.d.ts +4 -0
  39. package/node_modules/ajv/dist/compile/jtd/serialize.js +236 -0
  40. package/node_modules/ajv/dist/compile/jtd/serialize.js.map +1 -0
  41. package/node_modules/ajv/dist/compile/jtd/types.d.ts +6 -0
  42. package/node_modules/ajv/dist/compile/jtd/types.js +14 -0
  43. package/node_modules/ajv/dist/compile/jtd/types.js.map +1 -0
  44. package/node_modules/ajv/dist/compile/names.d.ts +20 -0
  45. package/node_modules/ajv/dist/compile/names.js +28 -0
  46. package/node_modules/ajv/dist/compile/names.js.map +1 -0
  47. package/node_modules/ajv/dist/compile/ref_error.d.ts +6 -0
  48. package/node_modules/ajv/dist/compile/ref_error.js +12 -0
  49. package/node_modules/ajv/dist/compile/ref_error.js.map +1 -0
  50. package/node_modules/ajv/dist/compile/resolve.d.ts +12 -0
  51. package/node_modules/ajv/dist/compile/resolve.js +155 -0
  52. package/node_modules/ajv/dist/compile/resolve.js.map +1 -0
  53. package/node_modules/ajv/dist/compile/rules.d.ts +28 -0
  54. package/node_modules/ajv/dist/compile/rules.js +26 -0
  55. package/node_modules/ajv/dist/compile/rules.js.map +1 -0
  56. package/node_modules/ajv/dist/compile/util.d.ts +40 -0
  57. package/node_modules/ajv/dist/compile/util.js +178 -0
  58. package/node_modules/ajv/dist/compile/util.js.map +1 -0
  59. package/node_modules/ajv/dist/compile/validate/applicability.d.ts +6 -0
  60. package/node_modules/ajv/dist/compile/validate/applicability.js +19 -0
  61. package/node_modules/ajv/dist/compile/validate/applicability.js.map +1 -0
  62. package/node_modules/ajv/dist/compile/validate/boolSchema.d.ts +4 -0
  63. package/node_modules/ajv/dist/compile/validate/boolSchema.js +50 -0
  64. package/node_modules/ajv/dist/compile/validate/boolSchema.js.map +1 -0
  65. package/node_modules/ajv/dist/compile/validate/dataType.d.ts +17 -0
  66. package/node_modules/ajv/dist/compile/validate/dataType.js +203 -0
  67. package/node_modules/ajv/dist/compile/validate/dataType.js.map +1 -0
  68. package/node_modules/ajv/dist/compile/validate/defaults.d.ts +2 -0
  69. package/node_modules/ajv/dist/compile/validate/defaults.js +35 -0
  70. package/node_modules/ajv/dist/compile/validate/defaults.js.map +1 -0
  71. package/node_modules/ajv/dist/compile/validate/index.d.ts +42 -0
  72. package/node_modules/ajv/dist/compile/validate/index.js +520 -0
  73. package/node_modules/ajv/dist/compile/validate/index.js.map +1 -0
  74. package/node_modules/ajv/dist/compile/validate/keyword.d.ts +8 -0
  75. package/node_modules/ajv/dist/compile/validate/keyword.js +124 -0
  76. package/node_modules/ajv/dist/compile/validate/keyword.js.map +1 -0
  77. package/node_modules/ajv/dist/compile/validate/subschema.d.ts +47 -0
  78. package/node_modules/ajv/dist/compile/validate/subschema.js +81 -0
  79. package/node_modules/ajv/dist/compile/validate/subschema.js.map +1 -0
  80. package/node_modules/ajv/dist/core.d.ts +174 -0
  81. package/node_modules/ajv/dist/core.js +618 -0
  82. package/node_modules/ajv/dist/core.js.map +1 -0
  83. package/node_modules/ajv/dist/jtd.d.ts +47 -0
  84. package/node_modules/ajv/dist/jtd.js +72 -0
  85. package/node_modules/ajv/dist/jtd.js.map +1 -0
  86. package/node_modules/ajv/dist/refs/data.json +13 -0
  87. package/node_modules/ajv/dist/refs/json-schema-2019-09/index.d.ts +2 -0
  88. package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js +28 -0
  89. package/node_modules/ajv/dist/refs/json-schema-2019-09/index.js.map +1 -0
  90. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/applicator.json +53 -0
  91. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/content.json +17 -0
  92. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/core.json +57 -0
  93. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/format.json +14 -0
  94. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/meta-data.json +37 -0
  95. package/node_modules/ajv/dist/refs/json-schema-2019-09/meta/validation.json +90 -0
  96. package/node_modules/ajv/dist/refs/json-schema-2019-09/schema.json +39 -0
  97. package/node_modules/ajv/dist/refs/json-schema-2020-12/index.d.ts +2 -0
  98. package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js +30 -0
  99. package/node_modules/ajv/dist/refs/json-schema-2020-12/index.js.map +1 -0
  100. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/applicator.json +48 -0
  101. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/content.json +17 -0
  102. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/core.json +51 -0
  103. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
  104. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/meta-data.json +37 -0
  105. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
  106. package/node_modules/ajv/dist/refs/json-schema-2020-12/meta/validation.json +90 -0
  107. package/node_modules/ajv/dist/refs/json-schema-2020-12/schema.json +55 -0
  108. package/node_modules/ajv/dist/refs/json-schema-draft-06.json +137 -0
  109. package/node_modules/ajv/dist/refs/json-schema-draft-07.json +151 -0
  110. package/node_modules/ajv/dist/refs/json-schema-secure.json +88 -0
  111. package/node_modules/ajv/dist/refs/jtd-schema.d.ts +3 -0
  112. package/node_modules/ajv/dist/refs/jtd-schema.js +118 -0
  113. package/node_modules/ajv/dist/refs/jtd-schema.js.map +1 -0
  114. package/node_modules/ajv/dist/runtime/equal.d.ts +6 -0
  115. package/node_modules/ajv/dist/runtime/equal.js +7 -0
  116. package/node_modules/ajv/dist/runtime/equal.js.map +1 -0
  117. package/node_modules/ajv/dist/runtime/parseJson.d.ts +18 -0
  118. package/node_modules/ajv/dist/runtime/parseJson.js +185 -0
  119. package/node_modules/ajv/dist/runtime/parseJson.js.map +1 -0
  120. package/node_modules/ajv/dist/runtime/quote.d.ts +5 -0
  121. package/node_modules/ajv/dist/runtime/quote.js +30 -0
  122. package/node_modules/ajv/dist/runtime/quote.js.map +1 -0
  123. package/node_modules/ajv/dist/runtime/re2.d.ts +6 -0
  124. package/node_modules/ajv/dist/runtime/re2.js +6 -0
  125. package/node_modules/ajv/dist/runtime/re2.js.map +1 -0
  126. package/node_modules/ajv/dist/runtime/timestamp.d.ts +5 -0
  127. package/node_modules/ajv/dist/runtime/timestamp.js +42 -0
  128. package/node_modules/ajv/dist/runtime/timestamp.js.map +1 -0
  129. package/node_modules/ajv/dist/runtime/ucs2length.d.ts +5 -0
  130. package/node_modules/ajv/dist/runtime/ucs2length.js +24 -0
  131. package/node_modules/ajv/dist/runtime/ucs2length.js.map +1 -0
  132. package/node_modules/ajv/dist/runtime/uri.d.ts +6 -0
  133. package/node_modules/ajv/dist/runtime/uri.js +6 -0
  134. package/node_modules/ajv/dist/runtime/uri.js.map +1 -0
  135. package/node_modules/ajv/dist/runtime/validation_error.d.ts +7 -0
  136. package/node_modules/ajv/dist/runtime/validation_error.js +11 -0
  137. package/node_modules/ajv/dist/runtime/validation_error.js.map +1 -0
  138. package/node_modules/ajv/dist/standalone/index.d.ts +6 -0
  139. package/node_modules/ajv/dist/standalone/index.js +90 -0
  140. package/node_modules/ajv/dist/standalone/index.js.map +1 -0
  141. package/node_modules/ajv/dist/standalone/instance.d.ts +12 -0
  142. package/node_modules/ajv/dist/standalone/instance.js +35 -0
  143. package/node_modules/ajv/dist/standalone/instance.js.map +1 -0
  144. package/node_modules/ajv/dist/types/index.d.ts +183 -0
  145. package/node_modules/ajv/dist/types/index.js +3 -0
  146. package/node_modules/ajv/dist/types/index.js.map +1 -0
  147. package/node_modules/ajv/dist/types/json-schema.d.ts +125 -0
  148. package/node_modules/ajv/dist/types/json-schema.js +3 -0
  149. package/node_modules/ajv/dist/types/json-schema.js.map +1 -0
  150. package/node_modules/ajv/dist/types/jtd-schema.d.ts +174 -0
  151. package/node_modules/ajv/dist/types/jtd-schema.js +3 -0
  152. package/node_modules/ajv/dist/types/jtd-schema.js.map +1 -0
  153. package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.d.ts +8 -0
  154. package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js +49 -0
  155. package/node_modules/ajv/dist/vocabularies/applicator/additionalItems.js.map +1 -0
  156. package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.d.ts +6 -0
  157. package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js +106 -0
  158. package/node_modules/ajv/dist/vocabularies/applicator/additionalProperties.js.map +1 -0
  159. package/node_modules/ajv/dist/vocabularies/applicator/allOf.d.ts +3 -0
  160. package/node_modules/ajv/dist/vocabularies/applicator/allOf.js +23 -0
  161. package/node_modules/ajv/dist/vocabularies/applicator/allOf.js.map +1 -0
  162. package/node_modules/ajv/dist/vocabularies/applicator/anyOf.d.ts +4 -0
  163. package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js +12 -0
  164. package/node_modules/ajv/dist/vocabularies/applicator/anyOf.js.map +1 -0
  165. package/node_modules/ajv/dist/vocabularies/applicator/contains.d.ts +7 -0
  166. package/node_modules/ajv/dist/vocabularies/applicator/contains.js +95 -0
  167. package/node_modules/ajv/dist/vocabularies/applicator/contains.js.map +1 -0
  168. package/node_modules/ajv/dist/vocabularies/applicator/dependencies.d.ts +21 -0
  169. package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js +85 -0
  170. package/node_modules/ajv/dist/vocabularies/applicator/dependencies.js.map +1 -0
  171. package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.d.ts +3 -0
  172. package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js +11 -0
  173. package/node_modules/ajv/dist/vocabularies/applicator/dependentSchemas.js.map +1 -0
  174. package/node_modules/ajv/dist/vocabularies/applicator/if.d.ts +6 -0
  175. package/node_modules/ajv/dist/vocabularies/applicator/if.js +66 -0
  176. package/node_modules/ajv/dist/vocabularies/applicator/if.js.map +1 -0
  177. package/node_modules/ajv/dist/vocabularies/applicator/index.d.ts +13 -0
  178. package/node_modules/ajv/dist/vocabularies/applicator/index.js +44 -0
  179. package/node_modules/ajv/dist/vocabularies/applicator/index.js.map +1 -0
  180. package/node_modules/ajv/dist/vocabularies/applicator/items.d.ts +5 -0
  181. package/node_modules/ajv/dist/vocabularies/applicator/items.js +52 -0
  182. package/node_modules/ajv/dist/vocabularies/applicator/items.js.map +1 -0
  183. package/node_modules/ajv/dist/vocabularies/applicator/items2020.d.ts +6 -0
  184. package/node_modules/ajv/dist/vocabularies/applicator/items2020.js +30 -0
  185. package/node_modules/ajv/dist/vocabularies/applicator/items2020.js.map +1 -0
  186. package/node_modules/ajv/dist/vocabularies/applicator/not.d.ts +4 -0
  187. package/node_modules/ajv/dist/vocabularies/applicator/not.js +26 -0
  188. package/node_modules/ajv/dist/vocabularies/applicator/not.js.map +1 -0
  189. package/node_modules/ajv/dist/vocabularies/applicator/oneOf.d.ts +6 -0
  190. package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js +60 -0
  191. package/node_modules/ajv/dist/vocabularies/applicator/oneOf.js.map +1 -0
  192. package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.d.ts +3 -0
  193. package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js +75 -0
  194. package/node_modules/ajv/dist/vocabularies/applicator/patternProperties.js.map +1 -0
  195. package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.d.ts +3 -0
  196. package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js +12 -0
  197. package/node_modules/ajv/dist/vocabularies/applicator/prefixItems.js.map +1 -0
  198. package/node_modules/ajv/dist/vocabularies/applicator/properties.d.ts +3 -0
  199. package/node_modules/ajv/dist/vocabularies/applicator/properties.js +54 -0
  200. package/node_modules/ajv/dist/vocabularies/applicator/properties.js.map +1 -0
  201. package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.d.ts +6 -0
  202. package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js +38 -0
  203. package/node_modules/ajv/dist/vocabularies/applicator/propertyNames.js.map +1 -0
  204. package/node_modules/ajv/dist/vocabularies/applicator/thenElse.d.ts +3 -0
  205. package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js +13 -0
  206. package/node_modules/ajv/dist/vocabularies/applicator/thenElse.js.map +1 -0
  207. package/node_modules/ajv/dist/vocabularies/code.d.ts +17 -0
  208. package/node_modules/ajv/dist/vocabularies/code.js +131 -0
  209. package/node_modules/ajv/dist/vocabularies/code.js.map +1 -0
  210. package/node_modules/ajv/dist/vocabularies/core/id.d.ts +3 -0
  211. package/node_modules/ajv/dist/vocabularies/core/id.js +10 -0
  212. package/node_modules/ajv/dist/vocabularies/core/id.js.map +1 -0
  213. package/node_modules/ajv/dist/vocabularies/core/index.d.ts +3 -0
  214. package/node_modules/ajv/dist/vocabularies/core/index.js +16 -0
  215. package/node_modules/ajv/dist/vocabularies/core/index.js.map +1 -0
  216. package/node_modules/ajv/dist/vocabularies/core/ref.d.ts +8 -0
  217. package/node_modules/ajv/dist/vocabularies/core/ref.js +122 -0
  218. package/node_modules/ajv/dist/vocabularies/core/ref.js.map +1 -0
  219. package/node_modules/ajv/dist/vocabularies/discriminator/index.d.ts +5 -0
  220. package/node_modules/ajv/dist/vocabularies/discriminator/index.js +104 -0
  221. package/node_modules/ajv/dist/vocabularies/discriminator/index.js.map +1 -0
  222. package/node_modules/ajv/dist/vocabularies/discriminator/types.d.ts +10 -0
  223. package/node_modules/ajv/dist/vocabularies/discriminator/types.js +9 -0
  224. package/node_modules/ajv/dist/vocabularies/discriminator/types.js.map +1 -0
  225. package/node_modules/ajv/dist/vocabularies/draft2020.d.ts +3 -0
  226. package/node_modules/ajv/dist/vocabularies/draft2020.js +23 -0
  227. package/node_modules/ajv/dist/vocabularies/draft2020.js.map +1 -0
  228. package/node_modules/ajv/dist/vocabularies/draft7.d.ts +3 -0
  229. package/node_modules/ajv/dist/vocabularies/draft7.js +17 -0
  230. package/node_modules/ajv/dist/vocabularies/draft7.js.map +1 -0
  231. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.d.ts +5 -0
  232. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js +30 -0
  233. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicAnchor.js.map +1 -0
  234. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.d.ts +5 -0
  235. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js +51 -0
  236. package/node_modules/ajv/dist/vocabularies/dynamic/dynamicRef.js.map +1 -0
  237. package/node_modules/ajv/dist/vocabularies/dynamic/index.d.ts +3 -0
  238. package/node_modules/ajv/dist/vocabularies/dynamic/index.js +9 -0
  239. package/node_modules/ajv/dist/vocabularies/dynamic/index.js.map +1 -0
  240. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.d.ts +3 -0
  241. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js +16 -0
  242. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveAnchor.js.map +1 -0
  243. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.d.ts +3 -0
  244. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js +10 -0
  245. package/node_modules/ajv/dist/vocabularies/dynamic/recursiveRef.js.map +1 -0
  246. package/node_modules/ajv/dist/vocabularies/errors.d.ts +9 -0
  247. package/node_modules/ajv/dist/vocabularies/errors.js +3 -0
  248. package/node_modules/ajv/dist/vocabularies/errors.js.map +1 -0
  249. package/node_modules/ajv/dist/vocabularies/format/format.d.ts +8 -0
  250. package/node_modules/ajv/dist/vocabularies/format/format.js +92 -0
  251. package/node_modules/ajv/dist/vocabularies/format/format.js.map +1 -0
  252. package/node_modules/ajv/dist/vocabularies/format/index.d.ts +3 -0
  253. package/node_modules/ajv/dist/vocabularies/format/index.js +6 -0
  254. package/node_modules/ajv/dist/vocabularies/format/index.js.map +1 -0
  255. package/node_modules/ajv/dist/vocabularies/jtd/discriminator.d.ts +6 -0
  256. package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js +71 -0
  257. package/node_modules/ajv/dist/vocabularies/jtd/discriminator.js.map +1 -0
  258. package/node_modules/ajv/dist/vocabularies/jtd/elements.d.ts +5 -0
  259. package/node_modules/ajv/dist/vocabularies/jtd/elements.js +24 -0
  260. package/node_modules/ajv/dist/vocabularies/jtd/elements.js.map +1 -0
  261. package/node_modules/ajv/dist/vocabularies/jtd/enum.d.ts +6 -0
  262. package/node_modules/ajv/dist/vocabularies/jtd/enum.js +43 -0
  263. package/node_modules/ajv/dist/vocabularies/jtd/enum.js.map +1 -0
  264. package/node_modules/ajv/dist/vocabularies/jtd/error.d.ts +9 -0
  265. package/node_modules/ajv/dist/vocabularies/jtd/error.js +20 -0
  266. package/node_modules/ajv/dist/vocabularies/jtd/error.js.map +1 -0
  267. package/node_modules/ajv/dist/vocabularies/jtd/index.d.ts +10 -0
  268. package/node_modules/ajv/dist/vocabularies/jtd/index.js +29 -0
  269. package/node_modules/ajv/dist/vocabularies/jtd/index.js.map +1 -0
  270. package/node_modules/ajv/dist/vocabularies/jtd/metadata.d.ts +5 -0
  271. package/node_modules/ajv/dist/vocabularies/jtd/metadata.js +25 -0
  272. package/node_modules/ajv/dist/vocabularies/jtd/metadata.js.map +1 -0
  273. package/node_modules/ajv/dist/vocabularies/jtd/nullable.d.ts +4 -0
  274. package/node_modules/ajv/dist/vocabularies/jtd/nullable.js +22 -0
  275. package/node_modules/ajv/dist/vocabularies/jtd/nullable.js.map +1 -0
  276. package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.d.ts +3 -0
  277. package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js +15 -0
  278. package/node_modules/ajv/dist/vocabularies/jtd/optionalProperties.js.map +1 -0
  279. package/node_modules/ajv/dist/vocabularies/jtd/properties.d.ts +22 -0
  280. package/node_modules/ajv/dist/vocabularies/jtd/properties.js +149 -0
  281. package/node_modules/ajv/dist/vocabularies/jtd/properties.js.map +1 -0
  282. package/node_modules/ajv/dist/vocabularies/jtd/ref.d.ts +4 -0
  283. package/node_modules/ajv/dist/vocabularies/jtd/ref.js +67 -0
  284. package/node_modules/ajv/dist/vocabularies/jtd/ref.js.map +1 -0
  285. package/node_modules/ajv/dist/vocabularies/jtd/type.d.ts +10 -0
  286. package/node_modules/ajv/dist/vocabularies/jtd/type.js +69 -0
  287. package/node_modules/ajv/dist/vocabularies/jtd/type.js.map +1 -0
  288. package/node_modules/ajv/dist/vocabularies/jtd/union.d.ts +3 -0
  289. package/node_modules/ajv/dist/vocabularies/jtd/union.js +12 -0
  290. package/node_modules/ajv/dist/vocabularies/jtd/union.js.map +1 -0
  291. package/node_modules/ajv/dist/vocabularies/jtd/values.d.ts +5 -0
  292. package/node_modules/ajv/dist/vocabularies/jtd/values.js +51 -0
  293. package/node_modules/ajv/dist/vocabularies/jtd/values.js.map +1 -0
  294. package/node_modules/ajv/dist/vocabularies/metadata.d.ts +3 -0
  295. package/node_modules/ajv/dist/vocabularies/metadata.js +18 -0
  296. package/node_modules/ajv/dist/vocabularies/metadata.js.map +1 -0
  297. package/node_modules/ajv/dist/vocabularies/next.d.ts +3 -0
  298. package/node_modules/ajv/dist/vocabularies/next.js +8 -0
  299. package/node_modules/ajv/dist/vocabularies/next.js.map +1 -0
  300. package/node_modules/ajv/dist/vocabularies/unevaluated/index.d.ts +3 -0
  301. package/node_modules/ajv/dist/vocabularies/unevaluated/index.js +7 -0
  302. package/node_modules/ajv/dist/vocabularies/unevaluated/index.js.map +1 -0
  303. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.d.ts +6 -0
  304. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js +40 -0
  305. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedItems.js.map +1 -0
  306. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.d.ts +6 -0
  307. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js +65 -0
  308. package/node_modules/ajv/dist/vocabularies/unevaluated/unevaluatedProperties.js.map +1 -0
  309. package/node_modules/ajv/dist/vocabularies/validation/const.d.ts +6 -0
  310. package/node_modules/ajv/dist/vocabularies/validation/const.js +25 -0
  311. package/node_modules/ajv/dist/vocabularies/validation/const.js.map +1 -0
  312. package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.d.ts +5 -0
  313. package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js +12 -0
  314. package/node_modules/ajv/dist/vocabularies/validation/dependentRequired.js.map +1 -0
  315. package/node_modules/ajv/dist/vocabularies/validation/enum.d.ts +8 -0
  316. package/node_modules/ajv/dist/vocabularies/validation/enum.js +48 -0
  317. package/node_modules/ajv/dist/vocabularies/validation/enum.js.map +1 -0
  318. package/node_modules/ajv/dist/vocabularies/validation/index.d.ts +16 -0
  319. package/node_modules/ajv/dist/vocabularies/validation/index.js +33 -0
  320. package/node_modules/ajv/dist/vocabularies/validation/index.js.map +1 -0
  321. package/node_modules/ajv/dist/vocabularies/validation/limitContains.d.ts +3 -0
  322. package/node_modules/ajv/dist/vocabularies/validation/limitContains.js +15 -0
  323. package/node_modules/ajv/dist/vocabularies/validation/limitContains.js.map +1 -0
  324. package/node_modules/ajv/dist/vocabularies/validation/limitItems.d.ts +3 -0
  325. package/node_modules/ajv/dist/vocabularies/validation/limitItems.js +24 -0
  326. package/node_modules/ajv/dist/vocabularies/validation/limitItems.js.map +1 -0
  327. package/node_modules/ajv/dist/vocabularies/validation/limitLength.d.ts +3 -0
  328. package/node_modules/ajv/dist/vocabularies/validation/limitLength.js +27 -0
  329. package/node_modules/ajv/dist/vocabularies/validation/limitLength.js.map +1 -0
  330. package/node_modules/ajv/dist/vocabularies/validation/limitNumber.d.ts +11 -0
  331. package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js +27 -0
  332. package/node_modules/ajv/dist/vocabularies/validation/limitNumber.js.map +1 -0
  333. package/node_modules/ajv/dist/vocabularies/validation/limitProperties.d.ts +3 -0
  334. package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js +24 -0
  335. package/node_modules/ajv/dist/vocabularies/validation/limitProperties.js.map +1 -0
  336. package/node_modules/ajv/dist/vocabularies/validation/multipleOf.d.ts +8 -0
  337. package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js +26 -0
  338. package/node_modules/ajv/dist/vocabularies/validation/multipleOf.js.map +1 -0
  339. package/node_modules/ajv/dist/vocabularies/validation/pattern.d.ts +8 -0
  340. package/node_modules/ajv/dist/vocabularies/validation/pattern.js +33 -0
  341. package/node_modules/ajv/dist/vocabularies/validation/pattern.js.map +1 -0
  342. package/node_modules/ajv/dist/vocabularies/validation/required.d.ts +8 -0
  343. package/node_modules/ajv/dist/vocabularies/validation/required.js +79 -0
  344. package/node_modules/ajv/dist/vocabularies/validation/required.js.map +1 -0
  345. package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.d.ts +9 -0
  346. package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js +64 -0
  347. package/node_modules/ajv/dist/vocabularies/validation/uniqueItems.js.map +1 -0
  348. package/node_modules/ajv/lib/2019.ts +81 -0
  349. package/node_modules/ajv/lib/2020.ts +75 -0
  350. package/node_modules/ajv/lib/ajv.ts +70 -0
  351. package/node_modules/ajv/lib/compile/codegen/code.ts +169 -0
  352. package/node_modules/ajv/lib/compile/codegen/index.ts +852 -0
  353. package/node_modules/ajv/lib/compile/codegen/scope.ts +215 -0
  354. package/node_modules/ajv/lib/compile/errors.ts +184 -0
  355. package/node_modules/ajv/lib/compile/index.ts +324 -0
  356. package/node_modules/ajv/lib/compile/jtd/parse.ts +411 -0
  357. package/node_modules/ajv/lib/compile/jtd/serialize.ts +277 -0
  358. package/node_modules/ajv/lib/compile/jtd/types.ts +16 -0
  359. package/node_modules/ajv/lib/compile/names.ts +27 -0
  360. package/node_modules/ajv/lib/compile/ref_error.ts +13 -0
  361. package/node_modules/ajv/lib/compile/resolve.ts +149 -0
  362. package/node_modules/ajv/lib/compile/rules.ts +50 -0
  363. package/node_modules/ajv/lib/compile/util.ts +213 -0
  364. package/node_modules/ajv/lib/compile/validate/applicability.ts +22 -0
  365. package/node_modules/ajv/lib/compile/validate/boolSchema.ts +47 -0
  366. package/node_modules/ajv/lib/compile/validate/dataType.ts +230 -0
  367. package/node_modules/ajv/lib/compile/validate/defaults.ts +32 -0
  368. package/node_modules/ajv/lib/compile/validate/index.ts +582 -0
  369. package/node_modules/ajv/lib/compile/validate/keyword.ts +171 -0
  370. package/node_modules/ajv/lib/compile/validate/subschema.ts +135 -0
  371. package/node_modules/ajv/lib/core.ts +892 -0
  372. package/node_modules/ajv/lib/jtd.ts +132 -0
  373. package/node_modules/ajv/lib/refs/data.json +13 -0
  374. package/node_modules/ajv/lib/refs/json-schema-2019-09/index.ts +28 -0
  375. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/applicator.json +53 -0
  376. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/content.json +17 -0
  377. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/core.json +57 -0
  378. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/format.json +14 -0
  379. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/meta-data.json +37 -0
  380. package/node_modules/ajv/lib/refs/json-schema-2019-09/meta/validation.json +90 -0
  381. package/node_modules/ajv/lib/refs/json-schema-2019-09/schema.json +39 -0
  382. package/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts +30 -0
  383. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json +48 -0
  384. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json +17 -0
  385. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json +51 -0
  386. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json +14 -0
  387. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json +37 -0
  388. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json +15 -0
  389. package/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json +90 -0
  390. package/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json +55 -0
  391. package/node_modules/ajv/lib/refs/json-schema-draft-06.json +137 -0
  392. package/node_modules/ajv/lib/refs/json-schema-draft-07.json +151 -0
  393. package/node_modules/ajv/lib/refs/json-schema-secure.json +88 -0
  394. package/node_modules/ajv/lib/refs/jtd-schema.ts +130 -0
  395. package/node_modules/ajv/lib/runtime/equal.ts +7 -0
  396. package/node_modules/ajv/lib/runtime/parseJson.ts +177 -0
  397. package/node_modules/ajv/lib/runtime/quote.ts +31 -0
  398. package/node_modules/ajv/lib/runtime/re2.ts +6 -0
  399. package/node_modules/ajv/lib/runtime/timestamp.ts +46 -0
  400. package/node_modules/ajv/lib/runtime/ucs2length.ts +20 -0
  401. package/node_modules/ajv/lib/runtime/uri.ts +6 -0
  402. package/node_modules/ajv/lib/runtime/validation_error.ts +13 -0
  403. package/node_modules/ajv/lib/standalone/index.ts +100 -0
  404. package/node_modules/ajv/lib/standalone/instance.ts +36 -0
  405. package/node_modules/ajv/lib/types/index.ts +244 -0
  406. package/node_modules/ajv/lib/types/json-schema.ts +187 -0
  407. package/node_modules/ajv/lib/types/jtd-schema.ts +273 -0
  408. package/node_modules/ajv/lib/vocabularies/applicator/additionalItems.ts +56 -0
  409. package/node_modules/ajv/lib/vocabularies/applicator/additionalProperties.ts +118 -0
  410. package/node_modules/ajv/lib/vocabularies/applicator/allOf.ts +22 -0
  411. package/node_modules/ajv/lib/vocabularies/applicator/anyOf.ts +14 -0
  412. package/node_modules/ajv/lib/vocabularies/applicator/contains.ts +109 -0
  413. package/node_modules/ajv/lib/vocabularies/applicator/dependencies.ts +112 -0
  414. package/node_modules/ajv/lib/vocabularies/applicator/dependentSchemas.ts +11 -0
  415. package/node_modules/ajv/lib/vocabularies/applicator/if.ts +80 -0
  416. package/node_modules/ajv/lib/vocabularies/applicator/index.ts +53 -0
  417. package/node_modules/ajv/lib/vocabularies/applicator/items.ts +59 -0
  418. package/node_modules/ajv/lib/vocabularies/applicator/items2020.ts +36 -0
  419. package/node_modules/ajv/lib/vocabularies/applicator/not.ts +38 -0
  420. package/node_modules/ajv/lib/vocabularies/applicator/oneOf.ts +82 -0
  421. package/node_modules/ajv/lib/vocabularies/applicator/patternProperties.ts +91 -0
  422. package/node_modules/ajv/lib/vocabularies/applicator/prefixItems.ts +12 -0
  423. package/node_modules/ajv/lib/vocabularies/applicator/properties.ts +57 -0
  424. package/node_modules/ajv/lib/vocabularies/applicator/propertyNames.ts +50 -0
  425. package/node_modules/ajv/lib/vocabularies/applicator/thenElse.ts +13 -0
  426. package/node_modules/ajv/lib/vocabularies/code.ts +168 -0
  427. package/node_modules/ajv/lib/vocabularies/core/id.ts +10 -0
  428. package/node_modules/ajv/lib/vocabularies/core/index.ts +16 -0
  429. package/node_modules/ajv/lib/vocabularies/core/ref.ts +129 -0
  430. package/node_modules/ajv/lib/vocabularies/discriminator/index.ts +113 -0
  431. package/node_modules/ajv/lib/vocabularies/discriminator/types.ts +12 -0
  432. package/node_modules/ajv/lib/vocabularies/draft2020.ts +23 -0
  433. package/node_modules/ajv/lib/vocabularies/draft7.ts +17 -0
  434. package/node_modules/ajv/lib/vocabularies/dynamic/dynamicAnchor.ts +31 -0
  435. package/node_modules/ajv/lib/vocabularies/dynamic/dynamicRef.ts +51 -0
  436. package/node_modules/ajv/lib/vocabularies/dynamic/index.ts +9 -0
  437. package/node_modules/ajv/lib/vocabularies/dynamic/recursiveAnchor.ts +14 -0
  438. package/node_modules/ajv/lib/vocabularies/dynamic/recursiveRef.ts +10 -0
  439. package/node_modules/ajv/lib/vocabularies/errors.ts +18 -0
  440. package/node_modules/ajv/lib/vocabularies/format/format.ts +120 -0
  441. package/node_modules/ajv/lib/vocabularies/format/index.ts +6 -0
  442. package/node_modules/ajv/lib/vocabularies/jtd/discriminator.ts +89 -0
  443. package/node_modules/ajv/lib/vocabularies/jtd/elements.ts +32 -0
  444. package/node_modules/ajv/lib/vocabularies/jtd/enum.ts +45 -0
  445. package/node_modules/ajv/lib/vocabularies/jtd/error.ts +23 -0
  446. package/node_modules/ajv/lib/vocabularies/jtd/index.ts +37 -0
  447. package/node_modules/ajv/lib/vocabularies/jtd/metadata.ts +24 -0
  448. package/node_modules/ajv/lib/vocabularies/jtd/nullable.ts +21 -0
  449. package/node_modules/ajv/lib/vocabularies/jtd/optionalProperties.ts +15 -0
  450. package/node_modules/ajv/lib/vocabularies/jtd/properties.ts +184 -0
  451. package/node_modules/ajv/lib/vocabularies/jtd/ref.ts +76 -0
  452. package/node_modules/ajv/lib/vocabularies/jtd/type.ts +75 -0
  453. package/node_modules/ajv/lib/vocabularies/jtd/union.ts +12 -0
  454. package/node_modules/ajv/lib/vocabularies/jtd/values.ts +58 -0
  455. package/node_modules/ajv/lib/vocabularies/metadata.ts +17 -0
  456. package/node_modules/ajv/lib/vocabularies/next.ts +8 -0
  457. package/node_modules/ajv/lib/vocabularies/unevaluated/index.ts +7 -0
  458. package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedItems.ts +47 -0
  459. package/node_modules/ajv/lib/vocabularies/unevaluated/unevaluatedProperties.ts +85 -0
  460. package/node_modules/ajv/lib/vocabularies/validation/const.ts +28 -0
  461. package/node_modules/ajv/lib/vocabularies/validation/dependentRequired.ts +23 -0
  462. package/node_modules/ajv/lib/vocabularies/validation/enum.ts +54 -0
  463. package/node_modules/ajv/lib/vocabularies/validation/index.ts +49 -0
  464. package/node_modules/ajv/lib/vocabularies/validation/limitContains.ts +16 -0
  465. package/node_modules/ajv/lib/vocabularies/validation/limitItems.ts +26 -0
  466. package/node_modules/ajv/lib/vocabularies/validation/limitLength.ts +30 -0
  467. package/node_modules/ajv/lib/vocabularies/validation/limitNumber.ts +42 -0
  468. package/node_modules/ajv/lib/vocabularies/validation/limitProperties.ts +26 -0
  469. package/node_modules/ajv/lib/vocabularies/validation/multipleOf.ts +34 -0
  470. package/node_modules/ajv/lib/vocabularies/validation/pattern.ts +39 -0
  471. package/node_modules/ajv/lib/vocabularies/validation/required.ts +98 -0
  472. package/node_modules/ajv/lib/vocabularies/validation/uniqueItems.ts +79 -0
  473. package/node_modules/ajv/package.json +126 -0
  474. package/node_modules/ansi-regex/index.d.ts +33 -0
  475. package/node_modules/ansi-regex/index.js +15 -0
  476. package/node_modules/ansi-regex/license +9 -0
  477. package/node_modules/ansi-regex/package.json +61 -0
  478. package/node_modules/ansi-regex/readme.md +66 -0
  479. package/node_modules/boolbase/README.md +10 -0
  480. package/node_modules/boolbase/index.js +8 -0
  481. package/node_modules/boolbase/package.json +23 -0
  482. package/node_modules/cheerio/LICENSE +21 -0
  483. package/node_modules/cheerio/Readme.md +229 -0
  484. package/node_modules/cheerio/dist/browser/api/attributes.d.ts +385 -0
  485. package/node_modules/cheerio/dist/browser/api/attributes.d.ts.map +1 -0
  486. package/node_modules/cheerio/dist/browser/api/attributes.js +636 -0
  487. package/node_modules/cheerio/dist/browser/api/attributes.js.map +1 -0
  488. package/node_modules/cheerio/dist/browser/api/css.d.ts +42 -0
  489. package/node_modules/cheerio/dist/browser/api/css.d.ts.map +1 -0
  490. package/node_modules/cheerio/dist/browser/api/css.js +116 -0
  491. package/node_modules/cheerio/dist/browser/api/css.js.map +1 -0
  492. package/node_modules/cheerio/dist/browser/api/extract.d.ts +27 -0
  493. package/node_modules/cheerio/dist/browser/api/extract.d.ts.map +1 -0
  494. package/node_modules/cheerio/dist/browser/api/extract.js +42 -0
  495. package/node_modules/cheerio/dist/browser/api/extract.js.map +1 -0
  496. package/node_modules/cheerio/dist/browser/api/forms.d.ts +36 -0
  497. package/node_modules/cheerio/dist/browser/api/forms.d.ts.map +1 -0
  498. package/node_modules/cheerio/dist/browser/api/forms.js +81 -0
  499. package/node_modules/cheerio/dist/browser/api/forms.js.map +1 -0
  500. package/node_modules/cheerio/dist/browser/api/manipulation.d.ts +528 -0
  501. package/node_modules/cheerio/dist/browser/api/manipulation.d.ts.map +1 -0
  502. package/node_modules/cheerio/dist/browser/api/manipulation.js +831 -0
  503. package/node_modules/cheerio/dist/browser/api/manipulation.js.map +1 -0
  504. package/node_modules/cheerio/dist/browser/api/traversing.d.ts +657 -0
  505. package/node_modules/cheerio/dist/browser/api/traversing.d.ts.map +1 -0
  506. package/node_modules/cheerio/dist/browser/api/traversing.js +857 -0
  507. package/node_modules/cheerio/dist/browser/api/traversing.js.map +1 -0
  508. package/node_modules/cheerio/dist/browser/cheerio.d.ts +85 -0
  509. package/node_modules/cheerio/dist/browser/cheerio.d.ts.map +1 -0
  510. package/node_modules/cheerio/dist/browser/cheerio.js +58 -0
  511. package/node_modules/cheerio/dist/browser/cheerio.js.map +1 -0
  512. package/node_modules/cheerio/dist/browser/index-browser.d.mts.map +1 -0
  513. package/node_modules/cheerio/dist/browser/index-browser.mjs.map +1 -0
  514. package/node_modules/cheerio/dist/browser/index.d.ts +5 -0
  515. package/node_modules/cheerio/dist/browser/index.js +3 -0
  516. package/node_modules/cheerio/dist/browser/load-parse.d.ts +20 -0
  517. package/node_modules/cheerio/dist/browser/load-parse.d.ts.map +1 -0
  518. package/node_modules/cheerio/dist/browser/load-parse.js +28 -0
  519. package/node_modules/cheerio/dist/browser/load-parse.js.map +1 -0
  520. package/node_modules/cheerio/dist/browser/load.d.ts +91 -0
  521. package/node_modules/cheerio/dist/browser/load.d.ts.map +1 -0
  522. package/node_modules/cheerio/dist/browser/load.js +129 -0
  523. package/node_modules/cheerio/dist/browser/load.js.map +1 -0
  524. package/node_modules/cheerio/dist/browser/options.d.ts +98 -0
  525. package/node_modules/cheerio/dist/browser/options.d.ts.map +1 -0
  526. package/node_modules/cheerio/dist/browser/options.js +34 -0
  527. package/node_modules/cheerio/dist/browser/options.js.map +1 -0
  528. package/node_modules/cheerio/dist/browser/package.json +3 -0
  529. package/node_modules/cheerio/dist/browser/parse.d.ts +18 -0
  530. package/node_modules/cheerio/dist/browser/parse.d.ts.map +1 -0
  531. package/node_modules/cheerio/dist/browser/parse.js +73 -0
  532. package/node_modules/cheerio/dist/browser/parse.js.map +1 -0
  533. package/node_modules/cheerio/dist/browser/parsers/parse5-adapter.d.ts +20 -0
  534. package/node_modules/cheerio/dist/browser/parsers/parse5-adapter.d.ts.map +1 -0
  535. package/node_modules/cheerio/dist/browser/parsers/parse5-adapter.js +50 -0
  536. package/node_modules/cheerio/dist/browser/parsers/parse5-adapter.js.map +1 -0
  537. package/node_modules/cheerio/dist/browser/slim.d.ts +25 -0
  538. package/node_modules/cheerio/dist/browser/slim.d.ts.map +1 -0
  539. package/node_modules/cheerio/dist/browser/slim.js +22 -0
  540. package/node_modules/cheerio/dist/browser/slim.js.map +1 -0
  541. package/node_modules/cheerio/dist/browser/static.d.ts +112 -0
  542. package/node_modules/cheerio/dist/browser/static.d.ts.map +1 -0
  543. package/node_modules/cheerio/dist/browser/static.js +204 -0
  544. package/node_modules/cheerio/dist/browser/static.js.map +1 -0
  545. package/node_modules/cheerio/dist/browser/types.d.ts +21 -0
  546. package/node_modules/cheerio/dist/browser/types.d.ts.map +1 -0
  547. package/node_modules/cheerio/dist/browser/types.js +3 -0
  548. package/node_modules/cheerio/dist/browser/types.js.map +1 -0
  549. package/node_modules/cheerio/dist/browser/utils.d.ts +55 -0
  550. package/node_modules/cheerio/dist/browser/utils.d.ts.map +1 -0
  551. package/node_modules/cheerio/dist/browser/utils.js +84 -0
  552. package/node_modules/cheerio/dist/browser/utils.js.map +1 -0
  553. package/node_modules/cheerio/dist/commonjs/api/attributes.d.ts +385 -0
  554. package/node_modules/cheerio/dist/commonjs/api/attributes.d.ts.map +1 -0
  555. package/node_modules/cheerio/dist/commonjs/api/attributes.js +647 -0
  556. package/node_modules/cheerio/dist/commonjs/api/attributes.js.map +1 -0
  557. package/node_modules/cheerio/dist/commonjs/api/css.d.ts +42 -0
  558. package/node_modules/cheerio/dist/commonjs/api/css.d.ts.map +1 -0
  559. package/node_modules/cheerio/dist/commonjs/api/css.js +119 -0
  560. package/node_modules/cheerio/dist/commonjs/api/css.js.map +1 -0
  561. package/node_modules/cheerio/dist/commonjs/api/extract.d.ts +27 -0
  562. package/node_modules/cheerio/dist/commonjs/api/extract.d.ts.map +1 -0
  563. package/node_modules/cheerio/dist/commonjs/api/extract.js +45 -0
  564. package/node_modules/cheerio/dist/commonjs/api/extract.js.map +1 -0
  565. package/node_modules/cheerio/dist/commonjs/api/forms.d.ts +36 -0
  566. package/node_modules/cheerio/dist/commonjs/api/forms.d.ts.map +1 -0
  567. package/node_modules/cheerio/dist/commonjs/api/forms.js +85 -0
  568. package/node_modules/cheerio/dist/commonjs/api/forms.js.map +1 -0
  569. package/node_modules/cheerio/dist/commonjs/api/manipulation.d.ts +528 -0
  570. package/node_modules/cheerio/dist/commonjs/api/manipulation.d.ts.map +1 -0
  571. package/node_modules/cheerio/dist/commonjs/api/manipulation.js +850 -0
  572. package/node_modules/cheerio/dist/commonjs/api/manipulation.js.map +1 -0
  573. package/node_modules/cheerio/dist/commonjs/api/traversing.d.ts +657 -0
  574. package/node_modules/cheerio/dist/commonjs/api/traversing.d.ts.map +1 -0
  575. package/node_modules/cheerio/dist/commonjs/api/traversing.js +914 -0
  576. package/node_modules/cheerio/dist/commonjs/api/traversing.js.map +1 -0
  577. package/node_modules/cheerio/dist/commonjs/cheerio.d.ts +85 -0
  578. package/node_modules/cheerio/dist/commonjs/cheerio.d.ts.map +1 -0
  579. package/node_modules/cheerio/dist/commonjs/cheerio.js +95 -0
  580. package/node_modules/cheerio/dist/commonjs/cheerio.js.map +1 -0
  581. package/node_modules/cheerio/dist/commonjs/index.d.ts +104 -0
  582. package/node_modules/cheerio/dist/commonjs/index.d.ts.map +1 -0
  583. package/node_modules/cheerio/dist/commonjs/index.js +250 -0
  584. package/node_modules/cheerio/dist/commonjs/index.js.map +1 -0
  585. package/node_modules/cheerio/dist/commonjs/load-parse.d.ts +20 -0
  586. package/node_modules/cheerio/dist/commonjs/load-parse.d.ts.map +1 -0
  587. package/node_modules/cheerio/dist/commonjs/load-parse.js +34 -0
  588. package/node_modules/cheerio/dist/commonjs/load-parse.js.map +1 -0
  589. package/node_modules/cheerio/dist/commonjs/load.d.ts +91 -0
  590. package/node_modules/cheerio/dist/commonjs/load.d.ts.map +1 -0
  591. package/node_modules/cheerio/dist/commonjs/load.js +165 -0
  592. package/node_modules/cheerio/dist/commonjs/load.js.map +1 -0
  593. package/node_modules/cheerio/dist/commonjs/options.d.ts +98 -0
  594. package/node_modules/cheerio/dist/commonjs/options.d.ts.map +1 -0
  595. package/node_modules/cheerio/dist/commonjs/options.js +37 -0
  596. package/node_modules/cheerio/dist/commonjs/options.js.map +1 -0
  597. package/node_modules/cheerio/dist/commonjs/package.json +3 -0
  598. package/node_modules/cheerio/dist/commonjs/parse.d.ts +18 -0
  599. package/node_modules/cheerio/dist/commonjs/parse.d.ts.map +1 -0
  600. package/node_modules/cheerio/dist/commonjs/parse.js +77 -0
  601. package/node_modules/cheerio/dist/commonjs/parse.js.map +1 -0
  602. package/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.d.ts +20 -0
  603. package/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.d.ts.map +1 -0
  604. package/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.js +54 -0
  605. package/node_modules/cheerio/dist/commonjs/parsers/parse5-adapter.js.map +1 -0
  606. package/node_modules/cheerio/dist/commonjs/slim.d.ts +25 -0
  607. package/node_modules/cheerio/dist/commonjs/slim.d.ts.map +1 -0
  608. package/node_modules/cheerio/dist/commonjs/slim.js +30 -0
  609. package/node_modules/cheerio/dist/commonjs/slim.js.map +1 -0
  610. package/node_modules/cheerio/dist/commonjs/static.d.ts +112 -0
  611. package/node_modules/cheerio/dist/commonjs/static.d.ts.map +1 -0
  612. package/node_modules/cheerio/dist/commonjs/static.js +214 -0
  613. package/node_modules/cheerio/dist/commonjs/static.js.map +1 -0
  614. package/node_modules/cheerio/dist/commonjs/types.d.ts +21 -0
  615. package/node_modules/cheerio/dist/commonjs/types.d.ts.map +1 -0
  616. package/node_modules/cheerio/dist/commonjs/types.js +4 -0
  617. package/node_modules/cheerio/dist/commonjs/types.js.map +1 -0
  618. package/node_modules/cheerio/dist/commonjs/utils.d.ts +55 -0
  619. package/node_modules/cheerio/dist/commonjs/utils.d.ts.map +1 -0
  620. package/node_modules/cheerio/dist/commonjs/utils.js +91 -0
  621. package/node_modules/cheerio/dist/commonjs/utils.js.map +1 -0
  622. package/node_modules/cheerio/dist/esm/api/attributes.d.ts +385 -0
  623. package/node_modules/cheerio/dist/esm/api/attributes.d.ts.map +1 -0
  624. package/node_modules/cheerio/dist/esm/api/attributes.js +636 -0
  625. package/node_modules/cheerio/dist/esm/api/attributes.js.map +1 -0
  626. package/node_modules/cheerio/dist/esm/api/css.d.ts +42 -0
  627. package/node_modules/cheerio/dist/esm/api/css.d.ts.map +1 -0
  628. package/node_modules/cheerio/dist/esm/api/css.js +116 -0
  629. package/node_modules/cheerio/dist/esm/api/css.js.map +1 -0
  630. package/node_modules/cheerio/dist/esm/api/extract.d.ts +27 -0
  631. package/node_modules/cheerio/dist/esm/api/extract.d.ts.map +1 -0
  632. package/node_modules/cheerio/dist/esm/api/extract.js +42 -0
  633. package/node_modules/cheerio/dist/esm/api/extract.js.map +1 -0
  634. package/node_modules/cheerio/dist/esm/api/forms.d.ts +36 -0
  635. package/node_modules/cheerio/dist/esm/api/forms.d.ts.map +1 -0
  636. package/node_modules/cheerio/dist/esm/api/forms.js +81 -0
  637. package/node_modules/cheerio/dist/esm/api/forms.js.map +1 -0
  638. package/node_modules/cheerio/dist/esm/api/manipulation.d.ts +528 -0
  639. package/node_modules/cheerio/dist/esm/api/manipulation.d.ts.map +1 -0
  640. package/node_modules/cheerio/dist/esm/api/manipulation.js +831 -0
  641. package/node_modules/cheerio/dist/esm/api/manipulation.js.map +1 -0
  642. package/node_modules/cheerio/dist/esm/api/traversing.d.ts +657 -0
  643. package/node_modules/cheerio/dist/esm/api/traversing.d.ts.map +1 -0
  644. package/node_modules/cheerio/dist/esm/api/traversing.js +857 -0
  645. package/node_modules/cheerio/dist/esm/api/traversing.js.map +1 -0
  646. package/node_modules/cheerio/dist/esm/cheerio.d.ts +85 -0
  647. package/node_modules/cheerio/dist/esm/cheerio.d.ts.map +1 -0
  648. package/node_modules/cheerio/dist/esm/cheerio.js +58 -0
  649. package/node_modules/cheerio/dist/esm/cheerio.js.map +1 -0
  650. package/node_modules/cheerio/dist/esm/index.d.ts +104 -0
  651. package/node_modules/cheerio/dist/esm/index.d.ts.map +1 -0
  652. package/node_modules/cheerio/dist/esm/index.js +202 -0
  653. package/node_modules/cheerio/dist/esm/index.js.map +1 -0
  654. package/node_modules/cheerio/dist/esm/load-parse.d.ts +20 -0
  655. package/node_modules/cheerio/dist/esm/load-parse.d.ts.map +1 -0
  656. package/node_modules/cheerio/dist/esm/load-parse.js +28 -0
  657. package/node_modules/cheerio/dist/esm/load-parse.js.map +1 -0
  658. package/node_modules/cheerio/dist/esm/load.d.ts +91 -0
  659. package/node_modules/cheerio/dist/esm/load.d.ts.map +1 -0
  660. package/node_modules/cheerio/dist/esm/load.js +129 -0
  661. package/node_modules/cheerio/dist/esm/load.js.map +1 -0
  662. package/node_modules/cheerio/dist/esm/options.d.ts +98 -0
  663. package/node_modules/cheerio/dist/esm/options.d.ts.map +1 -0
  664. package/node_modules/cheerio/dist/esm/options.js +34 -0
  665. package/node_modules/cheerio/dist/esm/options.js.map +1 -0
  666. package/node_modules/cheerio/dist/esm/package.json +3 -0
  667. package/node_modules/cheerio/dist/esm/parse.d.ts +18 -0
  668. package/node_modules/cheerio/dist/esm/parse.d.ts.map +1 -0
  669. package/node_modules/cheerio/dist/esm/parse.js +73 -0
  670. package/node_modules/cheerio/dist/esm/parse.js.map +1 -0
  671. package/node_modules/cheerio/dist/esm/parsers/parse5-adapter.d.ts +20 -0
  672. package/node_modules/cheerio/dist/esm/parsers/parse5-adapter.d.ts.map +1 -0
  673. package/node_modules/cheerio/dist/esm/parsers/parse5-adapter.js +50 -0
  674. package/node_modules/cheerio/dist/esm/parsers/parse5-adapter.js.map +1 -0
  675. package/node_modules/cheerio/dist/esm/slim.d.ts +25 -0
  676. package/node_modules/cheerio/dist/esm/slim.d.ts.map +1 -0
  677. package/node_modules/cheerio/dist/esm/slim.js +22 -0
  678. package/node_modules/cheerio/dist/esm/slim.js.map +1 -0
  679. package/node_modules/cheerio/dist/esm/static.d.ts +112 -0
  680. package/node_modules/cheerio/dist/esm/static.d.ts.map +1 -0
  681. package/node_modules/cheerio/dist/esm/static.js +204 -0
  682. package/node_modules/cheerio/dist/esm/static.js.map +1 -0
  683. package/node_modules/cheerio/dist/esm/types.d.ts +21 -0
  684. package/node_modules/cheerio/dist/esm/types.d.ts.map +1 -0
  685. package/node_modules/cheerio/dist/esm/types.js +3 -0
  686. package/node_modules/cheerio/dist/esm/types.js.map +1 -0
  687. package/node_modules/cheerio/dist/esm/utils.d.ts +55 -0
  688. package/node_modules/cheerio/dist/esm/utils.d.ts.map +1 -0
  689. package/node_modules/cheerio/dist/esm/utils.js +84 -0
  690. package/node_modules/cheerio/dist/esm/utils.js.map +1 -0
  691. package/node_modules/cheerio/package.json +182 -0
  692. package/node_modules/cheerio/src/api/attributes.ts +1145 -0
  693. package/node_modules/cheerio/src/api/css.ts +224 -0
  694. package/node_modules/cheerio/src/api/extract.ts +92 -0
  695. package/node_modules/cheerio/src/api/forms.ts +103 -0
  696. package/node_modules/cheerio/src/api/manipulation.ts +1115 -0
  697. package/node_modules/cheerio/src/api/traversing.ts +1175 -0
  698. package/node_modules/cheerio/src/cheerio.ts +143 -0
  699. package/node_modules/cheerio/src/index-browser.mts +10 -0
  700. package/node_modules/cheerio/src/index.ts +294 -0
  701. package/node_modules/cheerio/src/load-parse.ts +39 -0
  702. package/node_modules/cheerio/src/load.ts +282 -0
  703. package/node_modules/cheerio/src/options.ts +136 -0
  704. package/node_modules/cheerio/src/parse.ts +105 -0
  705. package/node_modules/cheerio/src/parsers/parse5-adapter.ts +66 -0
  706. package/node_modules/cheerio/src/slim.ts +33 -0
  707. package/node_modules/cheerio/src/static.ts +312 -0
  708. package/node_modules/cheerio/src/types.ts +58 -0
  709. package/node_modules/cheerio/src/utils.ts +99 -0
  710. package/node_modules/cheerio-select/LICENSE +11 -0
  711. package/node_modules/cheerio-select/README.md +18 -0
  712. package/node_modules/cheerio-select/lib/esm/helpers.d.ts +5 -0
  713. package/node_modules/cheerio-select/lib/esm/helpers.d.ts.map +1 -0
  714. package/node_modules/cheerio-select/lib/esm/helpers.js +20 -0
  715. package/node_modules/cheerio-select/lib/esm/helpers.js.map +1 -0
  716. package/node_modules/cheerio-select/lib/esm/index.d.ts +12 -0
  717. package/node_modules/cheerio-select/lib/esm/index.d.ts.map +1 -0
  718. package/node_modules/cheerio-select/lib/esm/index.js +241 -0
  719. package/node_modules/cheerio-select/lib/esm/index.js.map +1 -0
  720. package/node_modules/cheerio-select/lib/esm/package.json +1 -0
  721. package/node_modules/cheerio-select/lib/esm/positionals.d.ts +10 -0
  722. package/node_modules/cheerio-select/lib/esm/positionals.d.ts.map +1 -0
  723. package/node_modules/cheerio-select/lib/esm/positionals.js +47 -0
  724. package/node_modules/cheerio-select/lib/esm/positionals.js.map +1 -0
  725. package/node_modules/cheerio-select/lib/helpers.d.ts +5 -0
  726. package/node_modules/cheerio-select/lib/helpers.d.ts.map +1 -0
  727. package/node_modules/cheerio-select/lib/helpers.js +26 -0
  728. package/node_modules/cheerio-select/lib/helpers.js.map +1 -0
  729. package/node_modules/cheerio-select/lib/index.d.ts +12 -0
  730. package/node_modules/cheerio-select/lib/index.d.ts.map +1 -0
  731. package/node_modules/cheerio-select/lib/index.js +302 -0
  732. package/node_modules/cheerio-select/lib/index.js.map +1 -0
  733. package/node_modules/cheerio-select/lib/positionals.d.ts +10 -0
  734. package/node_modules/cheerio-select/lib/positionals.d.ts.map +1 -0
  735. package/node_modules/cheerio-select/lib/positionals.js +52 -0
  736. package/node_modules/cheerio-select/lib/positionals.js.map +1 -0
  737. package/node_modules/cheerio-select/package.json +76 -0
  738. package/node_modules/css-select/LICENSE +11 -0
  739. package/node_modules/css-select/README.md +264 -0
  740. package/node_modules/css-select/lib/attributes.d.ts +7 -0
  741. package/node_modules/css-select/lib/attributes.d.ts.map +1 -0
  742. package/node_modules/css-select/lib/attributes.js +236 -0
  743. package/node_modules/css-select/lib/attributes.js.map +1 -0
  744. package/node_modules/css-select/lib/compile.d.ts +13 -0
  745. package/node_modules/css-select/lib/compile.d.ts.map +1 -0
  746. package/node_modules/css-select/lib/compile.js +151 -0
  747. package/node_modules/css-select/lib/compile.js.map +1 -0
  748. package/node_modules/css-select/lib/esm/attributes.d.ts +7 -0
  749. package/node_modules/css-select/lib/esm/attributes.d.ts.map +1 -0
  750. package/node_modules/css-select/lib/esm/attributes.js +222 -0
  751. package/node_modules/css-select/lib/esm/attributes.js.map +1 -0
  752. package/node_modules/css-select/lib/esm/compile.d.ts +13 -0
  753. package/node_modules/css-select/lib/esm/compile.d.ts.map +1 -0
  754. package/node_modules/css-select/lib/esm/compile.js +115 -0
  755. package/node_modules/css-select/lib/esm/compile.js.map +1 -0
  756. package/node_modules/css-select/lib/esm/general.d.ts +3 -0
  757. package/node_modules/css-select/lib/esm/general.d.ts.map +1 -0
  758. package/node_modules/css-select/lib/esm/general.js +144 -0
  759. package/node_modules/css-select/lib/esm/general.js.map +1 -0
  760. package/node_modules/css-select/lib/esm/helpers/cache.d.ts +12 -0
  761. package/node_modules/css-select/lib/esm/helpers/cache.d.ts.map +1 -0
  762. package/node_modules/css-select/lib/esm/helpers/cache.js +41 -0
  763. package/node_modules/css-select/lib/esm/helpers/cache.js.map +1 -0
  764. package/node_modules/css-select/lib/esm/helpers/querying.d.ts +24 -0
  765. package/node_modules/css-select/lib/esm/helpers/querying.d.ts.map +1 -0
  766. package/node_modules/css-select/lib/esm/helpers/querying.js +105 -0
  767. package/node_modules/css-select/lib/esm/helpers/querying.js.map +1 -0
  768. package/node_modules/css-select/lib/esm/helpers/selectors.d.ts +20 -0
  769. package/node_modules/css-select/lib/esm/helpers/selectors.d.ts.map +1 -0
  770. package/node_modules/css-select/lib/esm/helpers/selectors.js +103 -0
  771. package/node_modules/css-select/lib/esm/helpers/selectors.js.map +1 -0
  772. package/node_modules/css-select/lib/esm/index.d.ts +50 -0
  773. package/node_modules/css-select/lib/esm/index.d.ts.map +1 -0
  774. package/node_modules/css-select/lib/esm/index.js +115 -0
  775. package/node_modules/css-select/lib/esm/index.js.map +1 -0
  776. package/node_modules/css-select/lib/esm/package.json +1 -0
  777. package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.d.ts +5 -0
  778. package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.d.ts.map +1 -0
  779. package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js +35 -0
  780. package/node_modules/css-select/lib/esm/pseudo-selectors/aliases.js.map +1 -0
  781. package/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts +4 -0
  782. package/node_modules/css-select/lib/esm/pseudo-selectors/filters.d.ts.map +1 -0
  783. package/node_modules/css-select/lib/esm/pseudo-selectors/filters.js +143 -0
  784. package/node_modules/css-select/lib/esm/pseudo-selectors/filters.js.map +1 -0
  785. package/node_modules/css-select/lib/esm/pseudo-selectors/index.d.ts +8 -0
  786. package/node_modules/css-select/lib/esm/pseudo-selectors/index.d.ts.map +1 -0
  787. package/node_modules/css-select/lib/esm/pseudo-selectors/index.js +40 -0
  788. package/node_modules/css-select/lib/esm/pseudo-selectors/index.js.map +1 -0
  789. package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.d.ts +6 -0
  790. package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.d.ts.map +1 -0
  791. package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js +79 -0
  792. package/node_modules/css-select/lib/esm/pseudo-selectors/pseudos.js.map +1 -0
  793. package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts +9 -0
  794. package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.d.ts.map +1 -0
  795. package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js +94 -0
  796. package/node_modules/css-select/lib/esm/pseudo-selectors/subselects.js.map +1 -0
  797. package/node_modules/css-select/lib/esm/sort.d.ts +12 -0
  798. package/node_modules/css-select/lib/esm/sort.d.ts.map +1 -0
  799. package/node_modules/css-select/lib/esm/sort.js +79 -0
  800. package/node_modules/css-select/lib/esm/sort.js.map +1 -0
  801. package/node_modules/css-select/lib/esm/types.d.ts +167 -0
  802. package/node_modules/css-select/lib/esm/types.d.ts.map +1 -0
  803. package/node_modules/css-select/lib/esm/types.js +2 -0
  804. package/node_modules/css-select/lib/esm/types.js.map +1 -0
  805. package/node_modules/css-select/lib/general.d.ts +3 -0
  806. package/node_modules/css-select/lib/general.d.ts.map +1 -0
  807. package/node_modules/css-select/lib/general.js +148 -0
  808. package/node_modules/css-select/lib/general.js.map +1 -0
  809. package/node_modules/css-select/lib/helpers/cache.d.ts +12 -0
  810. package/node_modules/css-select/lib/helpers/cache.d.ts.map +1 -0
  811. package/node_modules/css-select/lib/helpers/cache.js +45 -0
  812. package/node_modules/css-select/lib/helpers/cache.js.map +1 -0
  813. package/node_modules/css-select/lib/helpers/querying.d.ts +24 -0
  814. package/node_modules/css-select/lib/helpers/querying.d.ts.map +1 -0
  815. package/node_modules/css-select/lib/helpers/querying.js +111 -0
  816. package/node_modules/css-select/lib/helpers/querying.js.map +1 -0
  817. package/node_modules/css-select/lib/helpers/selectors.d.ts +20 -0
  818. package/node_modules/css-select/lib/helpers/selectors.d.ts.map +1 -0
  819. package/node_modules/css-select/lib/helpers/selectors.js +111 -0
  820. package/node_modules/css-select/lib/helpers/selectors.js.map +1 -0
  821. package/node_modules/css-select/lib/index.d.ts +50 -0
  822. package/node_modules/css-select/lib/index.d.ts.map +1 -0
  823. package/node_modules/css-select/lib/index.js +154 -0
  824. package/node_modules/css-select/lib/index.js.map +1 -0
  825. package/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts +5 -0
  826. package/node_modules/css-select/lib/pseudo-selectors/aliases.d.ts.map +1 -0
  827. package/node_modules/css-select/lib/pseudo-selectors/aliases.js +34 -0
  828. package/node_modules/css-select/lib/pseudo-selectors/aliases.js.map +1 -0
  829. package/node_modules/css-select/lib/pseudo-selectors/filters.d.ts +4 -0
  830. package/node_modules/css-select/lib/pseudo-selectors/filters.d.ts.map +1 -0
  831. package/node_modules/css-select/lib/pseudo-selectors/filters.js +157 -0
  832. package/node_modules/css-select/lib/pseudo-selectors/filters.js.map +1 -0
  833. package/node_modules/css-select/lib/pseudo-selectors/index.d.ts +8 -0
  834. package/node_modules/css-select/lib/pseudo-selectors/index.d.ts.map +1 -0
  835. package/node_modules/css-select/lib/pseudo-selectors/index.js +46 -0
  836. package/node_modules/css-select/lib/pseudo-selectors/index.js.map +1 -0
  837. package/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts +6 -0
  838. package/node_modules/css-select/lib/pseudo-selectors/pseudos.d.ts.map +1 -0
  839. package/node_modules/css-select/lib/pseudo-selectors/pseudos.js +93 -0
  840. package/node_modules/css-select/lib/pseudo-selectors/pseudos.js.map +1 -0
  841. package/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts +9 -0
  842. package/node_modules/css-select/lib/pseudo-selectors/subselects.d.ts.map +1 -0
  843. package/node_modules/css-select/lib/pseudo-selectors/subselects.js +112 -0
  844. package/node_modules/css-select/lib/pseudo-selectors/subselects.js.map +1 -0
  845. package/node_modules/css-select/lib/sort.d.ts +12 -0
  846. package/node_modules/css-select/lib/sort.d.ts.map +1 -0
  847. package/node_modules/css-select/lib/sort.js +84 -0
  848. package/node_modules/css-select/lib/sort.js.map +1 -0
  849. package/node_modules/css-select/lib/types.d.ts +167 -0
  850. package/node_modules/css-select/lib/types.d.ts.map +1 -0
  851. package/node_modules/css-select/lib/types.js +3 -0
  852. package/node_modules/css-select/lib/types.js.map +1 -0
  853. package/node_modules/css-select/package.json +81 -0
  854. package/node_modules/css-what/LICENSE +11 -0
  855. package/node_modules/css-what/lib/commonjs/index.d.ts +4 -0
  856. package/node_modules/css-what/lib/commonjs/index.d.ts.map +1 -0
  857. package/node_modules/css-what/lib/commonjs/index.js +23 -0
  858. package/node_modules/css-what/lib/commonjs/parse.d.ts +20 -0
  859. package/node_modules/css-what/lib/commonjs/parse.d.ts.map +1 -0
  860. package/node_modules/css-what/lib/commonjs/parse.js +425 -0
  861. package/node_modules/css-what/lib/commonjs/stringify.d.ts +8 -0
  862. package/node_modules/css-what/lib/commonjs/stringify.d.ts.map +1 -0
  863. package/node_modules/css-what/lib/commonjs/stringify.js +138 -0
  864. package/node_modules/css-what/lib/commonjs/types.d.ts +70 -0
  865. package/node_modules/css-what/lib/commonjs/types.d.ts.map +1 -0
  866. package/node_modules/css-what/lib/commonjs/types.js +42 -0
  867. package/node_modules/css-what/lib/es/index.d.ts +4 -0
  868. package/node_modules/css-what/lib/es/index.d.ts.map +1 -0
  869. package/node_modules/css-what/lib/es/index.js +3 -0
  870. package/node_modules/css-what/lib/es/parse.d.ts +20 -0
  871. package/node_modules/css-what/lib/es/parse.d.ts.map +1 -0
  872. package/node_modules/css-what/lib/es/parse.js +420 -0
  873. package/node_modules/css-what/lib/es/stringify.d.ts +8 -0
  874. package/node_modules/css-what/lib/es/stringify.d.ts.map +1 -0
  875. package/node_modules/css-what/lib/es/stringify.js +126 -0
  876. package/node_modules/css-what/lib/es/types.d.ts +70 -0
  877. package/node_modules/css-what/lib/es/types.d.ts.map +1 -0
  878. package/node_modules/css-what/lib/es/types.js +39 -0
  879. package/node_modules/css-what/package.json +59 -0
  880. package/node_modules/css-what/readme.md +69 -0
  881. package/node_modules/dom-serializer/LICENSE +11 -0
  882. package/node_modules/dom-serializer/README.md +109 -0
  883. package/node_modules/dom-serializer/lib/esm/foreignNames.d.ts +3 -0
  884. package/node_modules/dom-serializer/lib/esm/foreignNames.d.ts.map +1 -0
  885. package/node_modules/dom-serializer/lib/esm/foreignNames.js +100 -0
  886. package/node_modules/dom-serializer/lib/esm/index.d.ts +52 -0
  887. package/node_modules/dom-serializer/lib/esm/index.d.ts.map +1 -0
  888. package/node_modules/dom-serializer/lib/esm/index.js +190 -0
  889. package/node_modules/dom-serializer/lib/esm/package.json +1 -0
  890. package/node_modules/dom-serializer/lib/foreignNames.d.ts +3 -0
  891. package/node_modules/dom-serializer/lib/foreignNames.d.ts.map +1 -0
  892. package/node_modules/dom-serializer/lib/foreignNames.js +103 -0
  893. package/node_modules/dom-serializer/lib/index.d.ts +52 -0
  894. package/node_modules/dom-serializer/lib/index.d.ts.map +1 -0
  895. package/node_modules/dom-serializer/lib/index.js +229 -0
  896. package/node_modules/dom-serializer/package.json +69 -0
  897. package/node_modules/domelementtype/LICENSE +11 -0
  898. package/node_modules/domelementtype/lib/esm/index.d.ts +48 -0
  899. package/node_modules/domelementtype/lib/esm/index.d.ts.map +1 -0
  900. package/node_modules/domelementtype/lib/esm/index.js +51 -0
  901. package/node_modules/domelementtype/lib/esm/package.json +1 -0
  902. package/node_modules/domelementtype/lib/index.d.ts +48 -0
  903. package/node_modules/domelementtype/lib/index.d.ts.map +1 -0
  904. package/node_modules/domelementtype/lib/index.js +55 -0
  905. package/node_modules/domelementtype/package.json +54 -0
  906. package/node_modules/domelementtype/readme.md +1 -0
  907. package/node_modules/domhandler/LICENSE +11 -0
  908. package/node_modules/domhandler/lib/esm/index.d.ts +76 -0
  909. package/node_modules/domhandler/lib/esm/index.d.ts.map +1 -0
  910. package/node_modules/domhandler/lib/esm/index.js +146 -0
  911. package/node_modules/domhandler/lib/esm/node.d.ts +245 -0
  912. package/node_modules/domhandler/lib/esm/node.d.ts.map +1 -0
  913. package/node_modules/domhandler/lib/esm/node.js +338 -0
  914. package/node_modules/domhandler/lib/esm/package.json +1 -0
  915. package/node_modules/domhandler/lib/index.d.ts +76 -0
  916. package/node_modules/domhandler/lib/index.d.ts.map +1 -0
  917. package/node_modules/domhandler/lib/index.js +165 -0
  918. package/node_modules/domhandler/lib/node.d.ts +245 -0
  919. package/node_modules/domhandler/lib/node.d.ts.map +1 -0
  920. package/node_modules/domhandler/lib/node.js +474 -0
  921. package/node_modules/domhandler/package.json +73 -0
  922. package/node_modules/domhandler/readme.md +92 -0
  923. package/node_modules/domutils/LICENSE +11 -0
  924. package/node_modules/domutils/lib/esm/feeds.d.ts +71 -0
  925. package/node_modules/domutils/lib/esm/feeds.d.ts.map +1 -0
  926. package/node_modules/domutils/lib/esm/feeds.js +183 -0
  927. package/node_modules/domutils/lib/esm/feeds.js.map +1 -0
  928. package/node_modules/domutils/lib/esm/helpers.d.ts +59 -0
  929. package/node_modules/domutils/lib/esm/helpers.d.ts.map +1 -0
  930. package/node_modules/domutils/lib/esm/helpers.js +136 -0
  931. package/node_modules/domutils/lib/esm/helpers.js.map +1 -0
  932. package/node_modules/domutils/lib/esm/index.d.ts +10 -0
  933. package/node_modules/domutils/lib/esm/index.d.ts.map +1 -0
  934. package/node_modules/domutils/lib/esm/index.js +10 -0
  935. package/node_modules/domutils/lib/esm/index.js.map +1 -0
  936. package/node_modules/domutils/lib/esm/legacy.d.ts +79 -0
  937. package/node_modules/domutils/lib/esm/legacy.d.ts.map +1 -0
  938. package/node_modules/domutils/lib/esm/legacy.js +152 -0
  939. package/node_modules/domutils/lib/esm/legacy.js.map +1 -0
  940. package/node_modules/domutils/lib/esm/manipulation.d.ts +49 -0
  941. package/node_modules/domutils/lib/esm/manipulation.d.ts.map +1 -0
  942. package/node_modules/domutils/lib/esm/manipulation.js +134 -0
  943. package/node_modules/domutils/lib/esm/manipulation.js.map +1 -0
  944. package/node_modules/domutils/lib/esm/package.json +1 -0
  945. package/node_modules/domutils/lib/esm/querying.d.ts +64 -0
  946. package/node_modules/domutils/lib/esm/querying.d.ts.map +1 -0
  947. package/node_modules/domutils/lib/esm/querying.js +142 -0
  948. package/node_modules/domutils/lib/esm/querying.js.map +1 -0
  949. package/node_modules/domutils/lib/esm/stringify.d.ts +46 -0
  950. package/node_modules/domutils/lib/esm/stringify.d.ts.map +1 -0
  951. package/node_modules/domutils/lib/esm/stringify.js +81 -0
  952. package/node_modules/domutils/lib/esm/stringify.js.map +1 -0
  953. package/node_modules/domutils/lib/esm/traversal.d.ts +67 -0
  954. package/node_modules/domutils/lib/esm/traversal.d.ts.map +1 -0
  955. package/node_modules/domutils/lib/esm/traversal.js +112 -0
  956. package/node_modules/domutils/lib/esm/traversal.js.map +1 -0
  957. package/node_modules/domutils/lib/feeds.d.ts +71 -0
  958. package/node_modules/domutils/lib/feeds.d.ts.map +1 -0
  959. package/node_modules/domutils/lib/feeds.js +190 -0
  960. package/node_modules/domutils/lib/feeds.js.map +1 -0
  961. package/node_modules/domutils/lib/helpers.d.ts +59 -0
  962. package/node_modules/domutils/lib/helpers.d.ts.map +1 -0
  963. package/node_modules/domutils/lib/helpers.js +142 -0
  964. package/node_modules/domutils/lib/helpers.js.map +1 -0
  965. package/node_modules/domutils/lib/index.d.ts +10 -0
  966. package/node_modules/domutils/lib/index.d.ts.map +1 -0
  967. package/node_modules/domutils/lib/index.js +33 -0
  968. package/node_modules/domutils/lib/index.js.map +1 -0
  969. package/node_modules/domutils/lib/legacy.d.ts +79 -0
  970. package/node_modules/domutils/lib/legacy.d.ts.map +1 -0
  971. package/node_modules/domutils/lib/legacy.js +168 -0
  972. package/node_modules/domutils/lib/legacy.js.map +1 -0
  973. package/node_modules/domutils/lib/manipulation.d.ts +49 -0
  974. package/node_modules/domutils/lib/manipulation.d.ts.map +1 -0
  975. package/node_modules/domutils/lib/manipulation.js +142 -0
  976. package/node_modules/domutils/lib/manipulation.js.map +1 -0
  977. package/node_modules/domutils/lib/querying.d.ts +64 -0
  978. package/node_modules/domutils/lib/querying.d.ts.map +1 -0
  979. package/node_modules/domutils/lib/querying.js +155 -0
  980. package/node_modules/domutils/lib/querying.js.map +1 -0
  981. package/node_modules/domutils/lib/stringify.d.ts +46 -0
  982. package/node_modules/domutils/lib/stringify.d.ts.map +1 -0
  983. package/node_modules/domutils/lib/stringify.js +91 -0
  984. package/node_modules/domutils/lib/stringify.js.map +1 -0
  985. package/node_modules/domutils/lib/traversal.d.ts +67 -0
  986. package/node_modules/domutils/lib/traversal.d.ts.map +1 -0
  987. package/node_modules/domutils/lib/traversal.js +125 -0
  988. package/node_modules/domutils/lib/traversal.js.map +1 -0
  989. package/node_modules/domutils/package.json +79 -0
  990. package/node_modules/domutils/readme.md +31 -0
  991. package/node_modules/encoding-sniffer/LICENSE +18 -0
  992. package/node_modules/encoding-sniffer/README.md +68 -0
  993. package/node_modules/encoding-sniffer/dist/commonjs/index.d.ts +31 -0
  994. package/node_modules/encoding-sniffer/dist/commonjs/index.d.ts.map +1 -0
  995. package/node_modules/encoding-sniffer/dist/commonjs/index.js +72 -0
  996. package/node_modules/encoding-sniffer/dist/commonjs/index.js.map +1 -0
  997. package/node_modules/encoding-sniffer/dist/commonjs/package.json +3 -0
  998. package/node_modules/encoding-sniffer/dist/commonjs/sniffer.d.ts +148 -0
  999. package/node_modules/encoding-sniffer/dist/commonjs/sniffer.d.ts.map +1 -0
  1000. package/node_modules/encoding-sniffer/dist/commonjs/sniffer.js +990 -0
  1001. package/node_modules/encoding-sniffer/dist/commonjs/sniffer.js.map +1 -0
  1002. package/node_modules/encoding-sniffer/dist/esm/index.d.ts +31 -0
  1003. package/node_modules/encoding-sniffer/dist/esm/index.d.ts.map +1 -0
  1004. package/node_modules/encoding-sniffer/dist/esm/index.js +63 -0
  1005. package/node_modules/encoding-sniffer/dist/esm/index.js.map +1 -0
  1006. package/node_modules/encoding-sniffer/dist/esm/package.json +3 -0
  1007. package/node_modules/encoding-sniffer/dist/esm/sniffer.d.ts +148 -0
  1008. package/node_modules/encoding-sniffer/dist/esm/sniffer.d.ts.map +1 -0
  1009. package/node_modules/encoding-sniffer/dist/esm/sniffer.js +985 -0
  1010. package/node_modules/encoding-sniffer/dist/esm/sniffer.js.map +1 -0
  1011. package/node_modules/encoding-sniffer/package.json +94 -0
  1012. package/node_modules/encoding-sniffer/sniffer.d.ts +2 -0
  1013. package/node_modules/encoding-sniffer/sniffer.js +3 -0
  1014. package/node_modules/entities/LICENSE +11 -0
  1015. package/node_modules/entities/lib/decode.d.ts +211 -0
  1016. package/node_modules/entities/lib/decode.d.ts.map +1 -0
  1017. package/node_modules/entities/lib/decode.js +536 -0
  1018. package/node_modules/entities/lib/decode.js.map +1 -0
  1019. package/node_modules/entities/lib/decode_codepoint.d.ts +19 -0
  1020. package/node_modules/entities/lib/decode_codepoint.d.ts.map +1 -0
  1021. package/node_modules/entities/lib/decode_codepoint.js +76 -0
  1022. package/node_modules/entities/lib/decode_codepoint.js.map +1 -0
  1023. package/node_modules/entities/lib/encode.d.ts +22 -0
  1024. package/node_modules/entities/lib/encode.d.ts.map +1 -0
  1025. package/node_modules/entities/lib/encode.js +77 -0
  1026. package/node_modules/entities/lib/encode.js.map +1 -0
  1027. package/node_modules/entities/lib/escape.d.ts +43 -0
  1028. package/node_modules/entities/lib/escape.d.ts.map +1 -0
  1029. package/node_modules/entities/lib/escape.js +122 -0
  1030. package/node_modules/entities/lib/escape.js.map +1 -0
  1031. package/node_modules/entities/lib/esm/decode.d.ts +211 -0
  1032. package/node_modules/entities/lib/esm/decode.d.ts.map +1 -0
  1033. package/node_modules/entities/lib/esm/decode.js +496 -0
  1034. package/node_modules/entities/lib/esm/decode.js.map +1 -0
  1035. package/node_modules/entities/lib/esm/decode_codepoint.d.ts +19 -0
  1036. package/node_modules/entities/lib/esm/decode_codepoint.d.ts.map +1 -0
  1037. package/node_modules/entities/lib/esm/decode_codepoint.js +71 -0
  1038. package/node_modules/entities/lib/esm/decode_codepoint.js.map +1 -0
  1039. package/node_modules/entities/lib/esm/encode.d.ts +22 -0
  1040. package/node_modules/entities/lib/esm/encode.d.ts.map +1 -0
  1041. package/node_modules/entities/lib/esm/encode.js +69 -0
  1042. package/node_modules/entities/lib/esm/encode.js.map +1 -0
  1043. package/node_modules/entities/lib/esm/escape.d.ts +43 -0
  1044. package/node_modules/entities/lib/esm/escape.d.ts.map +1 -0
  1045. package/node_modules/entities/lib/esm/escape.js +116 -0
  1046. package/node_modules/entities/lib/esm/escape.js.map +1 -0
  1047. package/node_modules/entities/lib/esm/generated/decode-data-html.d.ts +3 -0
  1048. package/node_modules/entities/lib/esm/generated/decode-data-html.d.ts.map +1 -0
  1049. package/node_modules/entities/lib/esm/generated/decode-data-html.js +7 -0
  1050. package/node_modules/entities/lib/esm/generated/decode-data-html.js.map +1 -0
  1051. package/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts +3 -0
  1052. package/node_modules/entities/lib/esm/generated/decode-data-xml.d.ts.map +1 -0
  1053. package/node_modules/entities/lib/esm/generated/decode-data-xml.js +7 -0
  1054. package/node_modules/entities/lib/esm/generated/decode-data-xml.js.map +1 -0
  1055. package/node_modules/entities/lib/esm/generated/encode-html.d.ts +8 -0
  1056. package/node_modules/entities/lib/esm/generated/encode-html.d.ts.map +1 -0
  1057. package/node_modules/entities/lib/esm/generated/encode-html.js +10 -0
  1058. package/node_modules/entities/lib/esm/generated/encode-html.js.map +1 -0
  1059. package/node_modules/entities/lib/esm/index.d.ts +96 -0
  1060. package/node_modules/entities/lib/esm/index.d.ts.map +1 -0
  1061. package/node_modules/entities/lib/esm/index.js +99 -0
  1062. package/node_modules/entities/lib/esm/index.js.map +1 -0
  1063. package/node_modules/entities/lib/esm/package.json +1 -0
  1064. package/node_modules/entities/lib/generated/decode-data-html.d.ts +3 -0
  1065. package/node_modules/entities/lib/generated/decode-data-html.d.ts.map +1 -0
  1066. package/node_modules/entities/lib/generated/decode-data-html.js +9 -0
  1067. package/node_modules/entities/lib/generated/decode-data-html.js.map +1 -0
  1068. package/node_modules/entities/lib/generated/decode-data-xml.d.ts +3 -0
  1069. package/node_modules/entities/lib/generated/decode-data-xml.d.ts.map +1 -0
  1070. package/node_modules/entities/lib/generated/decode-data-xml.js +9 -0
  1071. package/node_modules/entities/lib/generated/decode-data-xml.js.map +1 -0
  1072. package/node_modules/entities/lib/generated/encode-html.d.ts +8 -0
  1073. package/node_modules/entities/lib/generated/encode-html.d.ts.map +1 -0
  1074. package/node_modules/entities/lib/generated/encode-html.js +12 -0
  1075. package/node_modules/entities/lib/generated/encode-html.js.map +1 -0
  1076. package/node_modules/entities/lib/index.d.ts +96 -0
  1077. package/node_modules/entities/lib/index.d.ts.map +1 -0
  1078. package/node_modules/entities/lib/index.js +126 -0
  1079. package/node_modules/entities/lib/index.js.map +1 -0
  1080. package/node_modules/entities/package.json +90 -0
  1081. package/node_modules/entities/readme.md +122 -0
  1082. package/node_modules/fast-deep-equal/LICENSE +21 -0
  1083. package/node_modules/fast-deep-equal/README.md +96 -0
  1084. package/node_modules/fast-deep-equal/es6/index.d.ts +2 -0
  1085. package/node_modules/fast-deep-equal/es6/index.js +72 -0
  1086. package/node_modules/fast-deep-equal/es6/react.d.ts +2 -0
  1087. package/node_modules/fast-deep-equal/es6/react.js +79 -0
  1088. package/node_modules/fast-deep-equal/index.d.ts +4 -0
  1089. package/node_modules/fast-deep-equal/index.js +46 -0
  1090. package/node_modules/fast-deep-equal/package.json +61 -0
  1091. package/node_modules/fast-deep-equal/react.d.ts +2 -0
  1092. package/node_modules/fast-deep-equal/react.js +53 -0
  1093. package/node_modules/fast-uri/.gitattributes +2 -0
  1094. package/node_modules/fast-uri/.github/dependabot.yml +13 -0
  1095. package/node_modules/fast-uri/.github/workflows/ci.yml +106 -0
  1096. package/node_modules/fast-uri/.github/workflows/lock-threads.yml +19 -0
  1097. package/node_modules/fast-uri/.github/workflows/package-manager-ci.yml +24 -0
  1098. package/node_modules/fast-uri/LICENSE +30 -0
  1099. package/node_modules/fast-uri/README.md +152 -0
  1100. package/node_modules/fast-uri/benchmark/benchmark.mjs +159 -0
  1101. package/node_modules/fast-uri/benchmark/equal.mjs +51 -0
  1102. package/node_modules/fast-uri/benchmark/non-simple-domain.mjs +22 -0
  1103. package/node_modules/fast-uri/benchmark/package.json +17 -0
  1104. package/node_modules/fast-uri/benchmark/string-array-to-hex-stripped.mjs +24 -0
  1105. package/node_modules/fast-uri/benchmark/ws-is-secure.mjs +65 -0
  1106. package/node_modules/fast-uri/eslint.config.js +6 -0
  1107. package/node_modules/fast-uri/index.js +631 -0
  1108. package/node_modules/fast-uri/lib/schemes.js +272 -0
  1109. package/node_modules/fast-uri/lib/utils.js +747 -0
  1110. package/node_modules/fast-uri/package.json +68 -0
  1111. package/node_modules/fast-uri/test/ajv.test.js +43 -0
  1112. package/node_modules/fast-uri/test/component-safe-serialization.test.js +163 -0
  1113. package/node_modules/fast-uri/test/equal.test.js +145 -0
  1114. package/node_modules/fast-uri/test/fixtures/uri-js-parse.json +503 -0
  1115. package/node_modules/fast-uri/test/fixtures/uri-js-serialize.json +120 -0
  1116. package/node_modules/fast-uri/test/ipv6-canonical.test.js +34 -0
  1117. package/node_modules/fast-uri/test/ipv6-validation.test.js +124 -0
  1118. package/node_modules/fast-uri/test/malformed-percent.test.js +77 -0
  1119. package/node_modules/fast-uri/test/malformed-urn.test.js +61 -0
  1120. package/node_modules/fast-uri/test/parse.test.js +327 -0
  1121. package/node_modules/fast-uri/test/query-fragment-normalization.test.js +33 -0
  1122. package/node_modules/fast-uri/test/reserved-path-normalization.test.js +109 -0
  1123. package/node_modules/fast-uri/test/resolve.test.js +87 -0
  1124. package/node_modules/fast-uri/test/rfc-3986.test.js +90 -0
  1125. package/node_modules/fast-uri/test/scheme-validation.test.js +124 -0
  1126. package/node_modules/fast-uri/test/security-normalization.test.js +178 -0
  1127. package/node_modules/fast-uri/test/security.test.js +431 -0
  1128. package/node_modules/fast-uri/test/serialize.test.js +151 -0
  1129. package/node_modules/fast-uri/test/uri-js-compatibility.test.js +33 -0
  1130. package/node_modules/fast-uri/test/uri-js.test.js +912 -0
  1131. package/node_modules/fast-uri/test/urn-full-input.test.js +29 -0
  1132. package/node_modules/fast-uri/test/util.test.js +38 -0
  1133. package/node_modules/fast-uri/test/websocket-query-preservation.test.js +24 -0
  1134. package/node_modules/fast-uri/tsconfig.json +9 -0
  1135. package/node_modules/fast-uri/types/index.d.ts +60 -0
  1136. package/node_modules/fast-uri/types/index.test-d.ts +17 -0
  1137. package/node_modules/get-east-asian-width/index.d.ts +60 -0
  1138. package/node_modules/get-east-asian-width/index.js +35 -0
  1139. package/node_modules/get-east-asian-width/license +9 -0
  1140. package/node_modules/get-east-asian-width/lookup-data.js +21 -0
  1141. package/node_modules/get-east-asian-width/lookup.js +138 -0
  1142. package/node_modules/get-east-asian-width/package.json +71 -0
  1143. package/node_modules/get-east-asian-width/readme.md +65 -0
  1144. package/node_modules/get-east-asian-width/utilities.js +24 -0
  1145. package/node_modules/htmlparser2/LICENSE +18 -0
  1146. package/node_modules/htmlparser2/README.md +171 -0
  1147. package/node_modules/htmlparser2/WritableStream.js +3 -0
  1148. package/node_modules/htmlparser2/dist/commonjs/Parser.d.ts +198 -0
  1149. package/node_modules/htmlparser2/dist/commonjs/Parser.d.ts.map +1 -0
  1150. package/node_modules/htmlparser2/dist/commonjs/Parser.js +527 -0
  1151. package/node_modules/htmlparser2/dist/commonjs/Parser.js.map +1 -0
  1152. package/node_modules/htmlparser2/dist/commonjs/Tokenizer.d.ts +126 -0
  1153. package/node_modules/htmlparser2/dist/commonjs/Tokenizer.d.ts.map +1 -0
  1154. package/node_modules/htmlparser2/dist/commonjs/Tokenizer.js +805 -0
  1155. package/node_modules/htmlparser2/dist/commonjs/Tokenizer.js.map +1 -0
  1156. package/node_modules/htmlparser2/dist/commonjs/WritableStream.d.ts +15 -0
  1157. package/node_modules/htmlparser2/dist/commonjs/WritableStream.d.ts.map +1 -0
  1158. package/node_modules/htmlparser2/dist/commonjs/WritableStream.js +36 -0
  1159. package/node_modules/htmlparser2/dist/commonjs/WritableStream.js.map +1 -0
  1160. package/node_modules/htmlparser2/dist/commonjs/index.d.ts +54 -0
  1161. package/node_modules/htmlparser2/dist/commonjs/index.d.ts.map +1 -0
  1162. package/node_modules/htmlparser2/dist/commonjs/index.js +123 -0
  1163. package/node_modules/htmlparser2/dist/commonjs/index.js.map +1 -0
  1164. package/node_modules/htmlparser2/dist/commonjs/package.json +3 -0
  1165. package/node_modules/htmlparser2/dist/esm/Parser.d.ts +198 -0
  1166. package/node_modules/htmlparser2/dist/esm/Parser.d.ts.map +1 -0
  1167. package/node_modules/htmlparser2/dist/esm/Parser.js +490 -0
  1168. package/node_modules/htmlparser2/dist/esm/Parser.js.map +1 -0
  1169. package/node_modules/htmlparser2/dist/esm/Tokenizer.d.ts +126 -0
  1170. package/node_modules/htmlparser2/dist/esm/Tokenizer.d.ts.map +1 -0
  1171. package/node_modules/htmlparser2/dist/esm/Tokenizer.js +801 -0
  1172. package/node_modules/htmlparser2/dist/esm/Tokenizer.js.map +1 -0
  1173. package/node_modules/htmlparser2/dist/esm/WritableStream.d.ts +15 -0
  1174. package/node_modules/htmlparser2/dist/esm/WritableStream.d.ts.map +1 -0
  1175. package/node_modules/htmlparser2/dist/esm/WritableStream.js +32 -0
  1176. package/node_modules/htmlparser2/dist/esm/WritableStream.js.map +1 -0
  1177. package/node_modules/htmlparser2/dist/esm/index.d.ts +54 -0
  1178. package/node_modules/htmlparser2/dist/esm/index.d.ts.map +1 -0
  1179. package/node_modules/htmlparser2/dist/esm/index.js +74 -0
  1180. package/node_modules/htmlparser2/dist/esm/index.js.map +1 -0
  1181. package/node_modules/htmlparser2/dist/esm/package.json +3 -0
  1182. package/node_modules/htmlparser2/node_modules/entities/LICENSE +11 -0
  1183. package/node_modules/htmlparser2/node_modules/entities/decode.d.ts +3 -0
  1184. package/node_modules/htmlparser2/node_modules/entities/decode.js +3 -0
  1185. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.d.ts +19 -0
  1186. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.d.ts.map +1 -0
  1187. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
  1188. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode-codepoint.js.map +1 -0
  1189. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.d.ts +205 -0
  1190. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.d.ts.map +1 -0
  1191. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js +568 -0
  1192. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/decode.js.map +1 -0
  1193. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.d.ts +22 -0
  1194. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.d.ts.map +1 -0
  1195. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.js +92 -0
  1196. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/encode.js.map +1 -0
  1197. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.d.ts +46 -0
  1198. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.d.ts.map +1 -0
  1199. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.js +138 -0
  1200. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/escape.js.map +1 -0
  1201. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +2 -0
  1202. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts.map +1 -0
  1203. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js +7 -0
  1204. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +1 -0
  1205. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +2 -0
  1206. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts.map +1 -0
  1207. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +7 -0
  1208. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +1 -0
  1209. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +3 -0
  1210. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.d.ts.map +1 -0
  1211. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.js +14 -0
  1212. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/generated/encode-html.js.map +1 -0
  1213. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.d.ts +96 -0
  1214. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.d.ts.map +1 -0
  1215. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.js +131 -0
  1216. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/index.js.map +1 -0
  1217. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts +17 -0
  1218. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.d.ts.map +1 -0
  1219. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js +21 -0
  1220. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/bin-trie-flags.js.map +1 -0
  1221. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts +2 -0
  1222. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.d.ts.map +1 -0
  1223. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.js +31 -0
  1224. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/decode-shared.js.map +1 -0
  1225. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts +32 -0
  1226. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.d.ts.map +1 -0
  1227. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.js +94 -0
  1228. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/internal/encode-shared.js.map +1 -0
  1229. package/node_modules/htmlparser2/node_modules/entities/dist/commonjs/package.json +3 -0
  1230. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.d.ts +19 -0
  1231. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.d.ts.map +1 -0
  1232. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.js +72 -0
  1233. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode-codepoint.js.map +1 -0
  1234. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.d.ts +205 -0
  1235. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.d.ts.map +1 -0
  1236. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.js +554 -0
  1237. package/node_modules/htmlparser2/node_modules/entities/dist/esm/decode.js.map +1 -0
  1238. package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.d.ts +22 -0
  1239. package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.d.ts.map +1 -0
  1240. package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.js +88 -0
  1241. package/node_modules/htmlparser2/node_modules/entities/dist/esm/encode.js.map +1 -0
  1242. package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.d.ts +46 -0
  1243. package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.d.ts.map +1 -0
  1244. package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.js +134 -0
  1245. package/node_modules/htmlparser2/node_modules/entities/dist/esm/escape.js.map +1 -0
  1246. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +2 -0
  1247. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.d.ts.map +1 -0
  1248. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.js +4 -0
  1249. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-html.js.map +1 -0
  1250. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +2 -0
  1251. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts.map +1 -0
  1252. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.js +4 -0
  1253. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/decode-data-xml.js.map +1 -0
  1254. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.d.ts +3 -0
  1255. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.d.ts.map +1 -0
  1256. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.js +11 -0
  1257. package/node_modules/htmlparser2/node_modules/entities/dist/esm/generated/encode-html.js.map +1 -0
  1258. package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.d.ts +96 -0
  1259. package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.d.ts.map +1 -0
  1260. package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.js +107 -0
  1261. package/node_modules/htmlparser2/node_modules/entities/dist/esm/index.js.map +1 -0
  1262. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts +17 -0
  1263. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.d.ts.map +1 -0
  1264. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.js +18 -0
  1265. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/bin-trie-flags.js.map +1 -0
  1266. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.d.ts +2 -0
  1267. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.d.ts.map +1 -0
  1268. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.js +28 -0
  1269. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/decode-shared.js.map +1 -0
  1270. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.d.ts +32 -0
  1271. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.d.ts.map +1 -0
  1272. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.js +91 -0
  1273. package/node_modules/htmlparser2/node_modules/entities/dist/esm/internal/encode-shared.js.map +1 -0
  1274. package/node_modules/htmlparser2/node_modules/entities/dist/esm/package.json +3 -0
  1275. package/node_modules/htmlparser2/node_modules/entities/escape.d.ts +3 -0
  1276. package/node_modules/htmlparser2/node_modules/entities/escape.js +3 -0
  1277. package/node_modules/htmlparser2/node_modules/entities/package.json +120 -0
  1278. package/node_modules/htmlparser2/node_modules/entities/readme.md +143 -0
  1279. package/node_modules/htmlparser2/node_modules/entities/src/decode-codepoint.ts +81 -0
  1280. package/node_modules/htmlparser2/node_modules/entities/src/decode.ts +685 -0
  1281. package/node_modules/htmlparser2/node_modules/entities/src/encode.ts +93 -0
  1282. package/node_modules/htmlparser2/node_modules/entities/src/escape.ts +161 -0
  1283. package/node_modules/htmlparser2/node_modules/entities/src/generated/.eslintrc.json +10 -0
  1284. package/node_modules/htmlparser2/node_modules/entities/src/generated/decode-data-html.ts +6 -0
  1285. package/node_modules/htmlparser2/node_modules/entities/src/generated/decode-data-xml.ts +6 -0
  1286. package/node_modules/htmlparser2/node_modules/entities/src/generated/encode-html.ts +17 -0
  1287. package/node_modules/htmlparser2/node_modules/entities/src/index.ts +187 -0
  1288. package/node_modules/htmlparser2/node_modules/entities/src/internal/bin-trie-flags.ts +16 -0
  1289. package/node_modules/htmlparser2/node_modules/entities/src/internal/decode-shared.ts +30 -0
  1290. package/node_modules/htmlparser2/node_modules/entities/src/internal/encode-shared.ts +121 -0
  1291. package/node_modules/htmlparser2/package.json +113 -0
  1292. package/node_modules/htmlparser2/src/Parser.ts +663 -0
  1293. package/node_modules/htmlparser2/src/Tokenizer.ts +877 -0
  1294. package/node_modules/htmlparser2/src/WritableStream.ts +43 -0
  1295. package/node_modules/htmlparser2/src/index.ts +115 -0
  1296. package/node_modules/iconv-lite/.github/dependabot.yml +11 -0
  1297. package/node_modules/iconv-lite/.idea/codeStyles/Project.xml +47 -0
  1298. package/node_modules/iconv-lite/.idea/codeStyles/codeStyleConfig.xml +5 -0
  1299. package/node_modules/iconv-lite/.idea/iconv-lite.iml +12 -0
  1300. package/node_modules/iconv-lite/.idea/inspectionProfiles/Project_Default.xml +6 -0
  1301. package/node_modules/iconv-lite/.idea/modules.xml +8 -0
  1302. package/node_modules/iconv-lite/.idea/vcs.xml +6 -0
  1303. package/node_modules/iconv-lite/Changelog.md +212 -0
  1304. package/node_modules/iconv-lite/LICENSE +21 -0
  1305. package/node_modules/iconv-lite/README.md +130 -0
  1306. package/node_modules/iconv-lite/encodings/dbcs-codec.js +597 -0
  1307. package/node_modules/iconv-lite/encodings/dbcs-data.js +188 -0
  1308. package/node_modules/iconv-lite/encodings/index.js +23 -0
  1309. package/node_modules/iconv-lite/encodings/internal.js +198 -0
  1310. package/node_modules/iconv-lite/encodings/sbcs-codec.js +72 -0
  1311. package/node_modules/iconv-lite/encodings/sbcs-data-generated.js +451 -0
  1312. package/node_modules/iconv-lite/encodings/sbcs-data.js +179 -0
  1313. package/node_modules/iconv-lite/encodings/tables/big5-added.json +122 -0
  1314. package/node_modules/iconv-lite/encodings/tables/cp936.json +264 -0
  1315. package/node_modules/iconv-lite/encodings/tables/cp949.json +273 -0
  1316. package/node_modules/iconv-lite/encodings/tables/cp950.json +177 -0
  1317. package/node_modules/iconv-lite/encodings/tables/eucjp.json +182 -0
  1318. package/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json +1 -0
  1319. package/node_modules/iconv-lite/encodings/tables/gbk-added.json +56 -0
  1320. package/node_modules/iconv-lite/encodings/tables/shiftjis.json +125 -0
  1321. package/node_modules/iconv-lite/encodings/utf16.js +197 -0
  1322. package/node_modules/iconv-lite/encodings/utf32.js +319 -0
  1323. package/node_modules/iconv-lite/encodings/utf7.js +290 -0
  1324. package/node_modules/iconv-lite/lib/bom-handling.js +52 -0
  1325. package/node_modules/iconv-lite/lib/index.d.ts +41 -0
  1326. package/node_modules/iconv-lite/lib/index.js +180 -0
  1327. package/node_modules/iconv-lite/lib/streams.js +109 -0
  1328. package/node_modules/iconv-lite/package.json +44 -0
  1329. package/node_modules/json-schema-traverse/.eslintrc.yml +27 -0
  1330. package/node_modules/json-schema-traverse/.github/FUNDING.yml +2 -0
  1331. package/node_modules/json-schema-traverse/.github/workflows/build.yml +28 -0
  1332. package/node_modules/json-schema-traverse/.github/workflows/publish.yml +27 -0
  1333. package/node_modules/json-schema-traverse/LICENSE +21 -0
  1334. package/node_modules/json-schema-traverse/README.md +95 -0
  1335. package/node_modules/json-schema-traverse/index.d.ts +40 -0
  1336. package/node_modules/json-schema-traverse/index.js +93 -0
  1337. package/node_modules/json-schema-traverse/package.json +43 -0
  1338. package/node_modules/json-schema-traverse/spec/.eslintrc.yml +6 -0
  1339. package/node_modules/json-schema-traverse/spec/fixtures/schema.js +125 -0
  1340. package/node_modules/json-schema-traverse/spec/index.spec.js +171 -0
  1341. package/node_modules/marked/LICENSE +44 -0
  1342. package/node_modules/marked/README.md +117 -0
  1343. package/node_modules/marked/bin/main.js +284 -0
  1344. package/node_modules/marked/bin/marked.js +16 -0
  1345. package/node_modules/marked/lib/marked.d.ts +841 -0
  1346. package/node_modules/marked/lib/marked.esm.js +78 -0
  1347. package/node_modules/marked/lib/marked.esm.js.map +7 -0
  1348. package/node_modules/marked/lib/marked.umd.js +80 -0
  1349. package/node_modules/marked/lib/marked.umd.js.map +7 -0
  1350. package/node_modules/marked/man/marked.1 +113 -0
  1351. package/node_modules/marked/man/marked.1.md +93 -0
  1352. package/node_modules/marked/package.json +103 -0
  1353. package/node_modules/nth-check/LICENSE +11 -0
  1354. package/node_modules/nth-check/README.md +136 -0
  1355. package/node_modules/nth-check/lib/compile.d.ts +55 -0
  1356. package/node_modules/nth-check/lib/compile.d.ts.map +1 -0
  1357. package/node_modules/nth-check/lib/compile.js +121 -0
  1358. package/node_modules/nth-check/lib/compile.js.map +1 -0
  1359. package/node_modules/nth-check/lib/esm/compile.d.ts +55 -0
  1360. package/node_modules/nth-check/lib/esm/compile.d.ts.map +1 -0
  1361. package/node_modules/nth-check/lib/esm/compile.js +113 -0
  1362. package/node_modules/nth-check/lib/esm/compile.js.map +1 -0
  1363. package/node_modules/nth-check/lib/esm/index.d.ts +59 -0
  1364. package/node_modules/nth-check/lib/esm/index.d.ts.map +1 -0
  1365. package/node_modules/nth-check/lib/esm/index.js +63 -0
  1366. package/node_modules/nth-check/lib/esm/index.js.map +1 -0
  1367. package/node_modules/nth-check/lib/esm/package.json +1 -0
  1368. package/node_modules/nth-check/lib/esm/parse.d.ts +9 -0
  1369. package/node_modules/nth-check/lib/esm/parse.d.ts.map +1 -0
  1370. package/node_modules/nth-check/lib/esm/parse.js +73 -0
  1371. package/node_modules/nth-check/lib/esm/parse.js.map +1 -0
  1372. package/node_modules/nth-check/lib/index.d.ts +59 -0
  1373. package/node_modules/nth-check/lib/index.d.ts.map +1 -0
  1374. package/node_modules/nth-check/lib/index.js +70 -0
  1375. package/node_modules/nth-check/lib/index.js.map +1 -0
  1376. package/node_modules/nth-check/lib/parse.d.ts +9 -0
  1377. package/node_modules/nth-check/lib/parse.d.ts.map +1 -0
  1378. package/node_modules/nth-check/lib/parse.js +77 -0
  1379. package/node_modules/nth-check/lib/parse.js.map +1 -0
  1380. package/node_modules/nth-check/package.json +78 -0
  1381. package/node_modules/parse5/LICENSE +19 -0
  1382. package/node_modules/parse5/README.md +38 -0
  1383. package/node_modules/parse5/dist/cjs/common/doctype.d.ts +4 -0
  1384. package/node_modules/parse5/dist/cjs/common/doctype.js +118 -0
  1385. package/node_modules/parse5/dist/cjs/common/error-codes.d.ts +67 -0
  1386. package/node_modules/parse5/dist/cjs/common/error-codes.js +66 -0
  1387. package/node_modules/parse5/dist/cjs/common/foreign-content.d.ts +9 -0
  1388. package/node_modules/parse5/dist/cjs/common/foreign-content.js +237 -0
  1389. package/node_modules/parse5/dist/cjs/common/html.d.ts +289 -0
  1390. package/node_modules/parse5/dist/cjs/common/html.js +528 -0
  1391. package/node_modules/parse5/dist/cjs/common/token.d.ts +84 -0
  1392. package/node_modules/parse5/dist/cjs/common/token.js +24 -0
  1393. package/node_modules/parse5/dist/cjs/common/unicode.d.ts +42 -0
  1394. package/node_modules/parse5/dist/cjs/common/unicode.js +70 -0
  1395. package/node_modules/parse5/dist/cjs/index.d.ts +71 -0
  1396. package/node_modules/parse5/dist/cjs/index.js +54 -0
  1397. package/node_modules/parse5/dist/cjs/package.json +1 -0
  1398. package/node_modules/parse5/dist/cjs/parser/formatting-element-list.d.ts +36 -0
  1399. package/node_modules/parse5/dist/cjs/parser/formatting-element-list.js +114 -0
  1400. package/node_modules/parse5/dist/cjs/parser/index.d.ts +221 -0
  1401. package/node_modules/parse5/dist/cjs/parser/index.js +3240 -0
  1402. package/node_modules/parse5/dist/cjs/parser/open-element-stack.d.ts +53 -0
  1403. package/node_modules/parse5/dist/cjs/parser/open-element-stack.js +328 -0
  1404. package/node_modules/parse5/dist/cjs/serializer/index.d.ts +60 -0
  1405. package/node_modules/parse5/dist/cjs/serializer/index.js +172 -0
  1406. package/node_modules/parse5/dist/cjs/tokenizer/index.d.ts +247 -0
  1407. package/node_modules/parse5/dist/cjs/tokenizer/index.js +2714 -0
  1408. package/node_modules/parse5/dist/cjs/tokenizer/preprocessor.d.ts +36 -0
  1409. package/node_modules/parse5/dist/cjs/tokenizer/preprocessor.js +200 -0
  1410. package/node_modules/parse5/dist/cjs/tree-adapters/default.d.ts +84 -0
  1411. package/node_modules/parse5/dist/cjs/tree-adapters/default.js +176 -0
  1412. package/node_modules/parse5/dist/cjs/tree-adapters/interface.d.ts +255 -0
  1413. package/node_modules/parse5/dist/cjs/tree-adapters/interface.js +2 -0
  1414. package/node_modules/parse5/dist/common/doctype.d.ts +4 -0
  1415. package/node_modules/parse5/dist/common/doctype.js +114 -0
  1416. package/node_modules/parse5/dist/common/error-codes.d.ts +67 -0
  1417. package/node_modules/parse5/dist/common/error-codes.js +63 -0
  1418. package/node_modules/parse5/dist/common/foreign-content.d.ts +9 -0
  1419. package/node_modules/parse5/dist/common/foreign-content.js +228 -0
  1420. package/node_modules/parse5/dist/common/html.d.ts +289 -0
  1421. package/node_modules/parse5/dist/common/html.js +523 -0
  1422. package/node_modules/parse5/dist/common/token.d.ts +84 -0
  1423. package/node_modules/parse5/dist/common/token.js +20 -0
  1424. package/node_modules/parse5/dist/common/unicode.d.ts +42 -0
  1425. package/node_modules/parse5/dist/common/unicode.js +62 -0
  1426. package/node_modules/parse5/dist/index.d.ts +71 -0
  1427. package/node_modules/parse5/dist/index.js +42 -0
  1428. package/node_modules/parse5/dist/parser/formatting-element-list.d.ts +36 -0
  1429. package/node_modules/parse5/dist/parser/formatting-element-list.js +110 -0
  1430. package/node_modules/parse5/dist/parser/index.d.ts +221 -0
  1431. package/node_modules/parse5/dist/parser/index.js +3245 -0
  1432. package/node_modules/parse5/dist/parser/open-element-stack.d.ts +53 -0
  1433. package/node_modules/parse5/dist/parser/open-element-stack.js +324 -0
  1434. package/node_modules/parse5/dist/serializer/index.d.ts +60 -0
  1435. package/node_modules/parse5/dist/serializer/index.js +168 -0
  1436. package/node_modules/parse5/dist/tokenizer/index.d.ts +247 -0
  1437. package/node_modules/parse5/dist/tokenizer/index.js +2710 -0
  1438. package/node_modules/parse5/dist/tokenizer/preprocessor.d.ts +36 -0
  1439. package/node_modules/parse5/dist/tokenizer/preprocessor.js +196 -0
  1440. package/node_modules/parse5/dist/tree-adapters/default.d.ts +84 -0
  1441. package/node_modules/parse5/dist/tree-adapters/default.js +173 -0
  1442. package/node_modules/parse5/dist/tree-adapters/interface.d.ts +255 -0
  1443. package/node_modules/parse5/dist/tree-adapters/interface.js +1 -0
  1444. package/node_modules/parse5/node_modules/entities/LICENSE +11 -0
  1445. package/node_modules/parse5/node_modules/entities/decode.d.ts +1 -0
  1446. package/node_modules/parse5/node_modules/entities/decode.js +3 -0
  1447. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.d.ts +19 -0
  1448. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.d.ts.map +1 -0
  1449. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.js +77 -0
  1450. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode-codepoint.js.map +1 -0
  1451. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.d.ts +209 -0
  1452. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.d.ts.map +1 -0
  1453. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.js +511 -0
  1454. package/node_modules/parse5/node_modules/entities/dist/commonjs/decode.js.map +1 -0
  1455. package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.d.ts +22 -0
  1456. package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.d.ts.map +1 -0
  1457. package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.js +73 -0
  1458. package/node_modules/parse5/node_modules/entities/dist/commonjs/encode.js.map +1 -0
  1459. package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.d.ts +43 -0
  1460. package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.d.ts.map +1 -0
  1461. package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.js +121 -0
  1462. package/node_modules/parse5/node_modules/entities/dist/commonjs/escape.js.map +1 -0
  1463. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts +2 -0
  1464. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.d.ts.map +1 -0
  1465. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.js +10 -0
  1466. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-html.js.map +1 -0
  1467. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts +2 -0
  1468. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.d.ts.map +1 -0
  1469. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.js +10 -0
  1470. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/decode-data-xml.js.map +1 -0
  1471. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.d.ts +8 -0
  1472. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.d.ts.map +1 -0
  1473. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.js +13 -0
  1474. package/node_modules/parse5/node_modules/entities/dist/commonjs/generated/encode-html.js.map +1 -0
  1475. package/node_modules/parse5/node_modules/entities/dist/commonjs/index.d.ts +96 -0
  1476. package/node_modules/parse5/node_modules/entities/dist/commonjs/index.d.ts.map +1 -0
  1477. package/node_modules/parse5/node_modules/entities/dist/commonjs/index.js +131 -0
  1478. package/node_modules/parse5/node_modules/entities/dist/commonjs/index.js.map +1 -0
  1479. package/node_modules/parse5/node_modules/entities/dist/commonjs/package.json +3 -0
  1480. package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.d.ts +19 -0
  1481. package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.d.ts.map +1 -0
  1482. package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.js +72 -0
  1483. package/node_modules/parse5/node_modules/entities/dist/esm/decode-codepoint.js.map +1 -0
  1484. package/node_modules/parse5/node_modules/entities/dist/esm/decode.d.ts +209 -0
  1485. package/node_modules/parse5/node_modules/entities/dist/esm/decode.d.ts.map +1 -0
  1486. package/node_modules/parse5/node_modules/entities/dist/esm/decode.js +497 -0
  1487. package/node_modules/parse5/node_modules/entities/dist/esm/decode.js.map +1 -0
  1488. package/node_modules/parse5/node_modules/entities/dist/esm/encode.d.ts +22 -0
  1489. package/node_modules/parse5/node_modules/entities/dist/esm/encode.d.ts.map +1 -0
  1490. package/node_modules/parse5/node_modules/entities/dist/esm/encode.js +69 -0
  1491. package/node_modules/parse5/node_modules/entities/dist/esm/encode.js.map +1 -0
  1492. package/node_modules/parse5/node_modules/entities/dist/esm/escape.d.ts +43 -0
  1493. package/node_modules/parse5/node_modules/entities/dist/esm/escape.d.ts.map +1 -0
  1494. package/node_modules/parse5/node_modules/entities/dist/esm/escape.js +117 -0
  1495. package/node_modules/parse5/node_modules/entities/dist/esm/escape.js.map +1 -0
  1496. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.d.ts +2 -0
  1497. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.d.ts.map +1 -0
  1498. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.js +7 -0
  1499. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-html.js.map +1 -0
  1500. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts +2 -0
  1501. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.d.ts.map +1 -0
  1502. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.js +7 -0
  1503. package/node_modules/parse5/node_modules/entities/dist/esm/generated/decode-data-xml.js.map +1 -0
  1504. package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.d.ts +8 -0
  1505. package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.d.ts.map +1 -0
  1506. package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.js +10 -0
  1507. package/node_modules/parse5/node_modules/entities/dist/esm/generated/encode-html.js.map +1 -0
  1508. package/node_modules/parse5/node_modules/entities/dist/esm/index.d.ts +96 -0
  1509. package/node_modules/parse5/node_modules/entities/dist/esm/index.d.ts.map +1 -0
  1510. package/node_modules/parse5/node_modules/entities/dist/esm/index.js +107 -0
  1511. package/node_modules/parse5/node_modules/entities/dist/esm/index.js.map +1 -0
  1512. package/node_modules/parse5/node_modules/entities/dist/esm/package.json +3 -0
  1513. package/node_modules/parse5/node_modules/entities/escape.d.ts +1 -0
  1514. package/node_modules/parse5/node_modules/entities/escape.js +3 -0
  1515. package/node_modules/parse5/node_modules/entities/package.json +118 -0
  1516. package/node_modules/parse5/node_modules/entities/readme.md +122 -0
  1517. package/node_modules/parse5/node_modules/entities/src/decode-codepoint.ts +81 -0
  1518. package/node_modules/parse5/node_modules/entities/src/decode.spec.ts +320 -0
  1519. package/node_modules/parse5/node_modules/entities/src/decode.ts +620 -0
  1520. package/node_modules/parse5/node_modules/entities/src/encode.spec.ts +78 -0
  1521. package/node_modules/parse5/node_modules/entities/src/encode.ts +77 -0
  1522. package/node_modules/parse5/node_modules/entities/src/escape.spec.ts +14 -0
  1523. package/node_modules/parse5/node_modules/entities/src/escape.ts +148 -0
  1524. package/node_modules/parse5/node_modules/entities/src/generated/.eslintrc.json +10 -0
  1525. package/node_modules/parse5/node_modules/entities/src/generated/decode-data-html.ts +8 -0
  1526. package/node_modules/parse5/node_modules/entities/src/generated/decode-data-xml.ts +8 -0
  1527. package/node_modules/parse5/node_modules/entities/src/generated/encode-html.ts +17 -0
  1528. package/node_modules/parse5/node_modules/entities/src/index.spec.ts +125 -0
  1529. package/node_modules/parse5/node_modules/entities/src/index.ts +188 -0
  1530. package/node_modules/parse5/package.json +50 -0
  1531. package/node_modules/parse5-htmlparser2-tree-adapter/LICENSE +19 -0
  1532. package/node_modules/parse5-htmlparser2-tree-adapter/README.md +34 -0
  1533. package/node_modules/parse5-htmlparser2-tree-adapter/dist/cjs/index.d.ts +6 -0
  1534. package/node_modules/parse5-htmlparser2-tree-adapter/dist/cjs/index.js +214 -0
  1535. package/node_modules/parse5-htmlparser2-tree-adapter/dist/cjs/package.json +1 -0
  1536. package/node_modules/parse5-htmlparser2-tree-adapter/dist/index.d.ts +6 -0
  1537. package/node_modules/parse5-htmlparser2-tree-adapter/dist/index.js +213 -0
  1538. package/node_modules/parse5-htmlparser2-tree-adapter/package.json +40 -0
  1539. package/node_modules/parse5-parser-stream/LICENSE +19 -0
  1540. package/node_modules/parse5-parser-stream/README.md +34 -0
  1541. package/node_modules/parse5-parser-stream/dist/cjs/index.d.ts +85 -0
  1542. package/node_modules/parse5-parser-stream/dist/cjs/index.js +90 -0
  1543. package/node_modules/parse5-parser-stream/dist/cjs/package.json +1 -0
  1544. package/node_modules/parse5-parser-stream/dist/index.d.ts +85 -0
  1545. package/node_modules/parse5-parser-stream/dist/index.js +86 -0
  1546. package/node_modules/parse5-parser-stream/package.json +39 -0
  1547. package/node_modules/require-from-string/index.js +34 -0
  1548. package/node_modules/require-from-string/license +21 -0
  1549. package/node_modules/require-from-string/package.json +28 -0
  1550. package/node_modules/require-from-string/readme.md +56 -0
  1551. package/node_modules/safer-buffer/LICENSE +21 -0
  1552. package/node_modules/safer-buffer/Porting-Buffer.md +268 -0
  1553. package/node_modules/safer-buffer/Readme.md +156 -0
  1554. package/node_modules/safer-buffer/dangerous.js +58 -0
  1555. package/node_modules/safer-buffer/package.json +34 -0
  1556. package/node_modules/safer-buffer/safer.js +77 -0
  1557. package/node_modules/safer-buffer/tests.js +406 -0
  1558. package/node_modules/string-width/index.d.ts +39 -0
  1559. package/node_modules/string-width/index.js +203 -0
  1560. package/node_modules/string-width/license +9 -0
  1561. package/node_modules/string-width/package.json +65 -0
  1562. package/node_modules/string-width/readme.md +66 -0
  1563. package/node_modules/strip-ansi/index.d.ts +15 -0
  1564. package/node_modules/strip-ansi/index.js +19 -0
  1565. package/node_modules/strip-ansi/license +9 -0
  1566. package/node_modules/strip-ansi/package.json +59 -0
  1567. package/node_modules/strip-ansi/readme.md +37 -0
  1568. package/node_modules/undici/LICENSE +21 -0
  1569. package/node_modules/undici/README.md +741 -0
  1570. package/node_modules/undici/docs/docs/api/Agent.md +84 -0
  1571. package/node_modules/undici/docs/docs/api/BalancedPool.md +99 -0
  1572. package/node_modules/undici/docs/docs/api/CacheStorage.md +30 -0
  1573. package/node_modules/undici/docs/docs/api/CacheStore.md +164 -0
  1574. package/node_modules/undici/docs/docs/api/Client.md +288 -0
  1575. package/node_modules/undici/docs/docs/api/ClientStats.md +27 -0
  1576. package/node_modules/undici/docs/docs/api/Connector.md +115 -0
  1577. package/node_modules/undici/docs/docs/api/ContentType.md +57 -0
  1578. package/node_modules/undici/docs/docs/api/Cookies.md +128 -0
  1579. package/node_modules/undici/docs/docs/api/Debug.md +62 -0
  1580. package/node_modules/undici/docs/docs/api/DiagnosticsChannel.md +317 -0
  1581. package/node_modules/undici/docs/docs/api/Dispatcher.md +1393 -0
  1582. package/node_modules/undici/docs/docs/api/EnvHttpProxyAgent.md +159 -0
  1583. package/node_modules/undici/docs/docs/api/Errors.md +49 -0
  1584. package/node_modules/undici/docs/docs/api/EventSource.md +45 -0
  1585. package/node_modules/undici/docs/docs/api/Fetch.md +60 -0
  1586. package/node_modules/undici/docs/docs/api/GlobalInstallation.md +139 -0
  1587. package/node_modules/undici/docs/docs/api/H2CClient.md +263 -0
  1588. package/node_modules/undici/docs/docs/api/MockAgent.md +603 -0
  1589. package/node_modules/undici/docs/docs/api/MockCallHistory.md +197 -0
  1590. package/node_modules/undici/docs/docs/api/MockCallHistoryLog.md +43 -0
  1591. package/node_modules/undici/docs/docs/api/MockClient.md +81 -0
  1592. package/node_modules/undici/docs/docs/api/MockErrors.md +12 -0
  1593. package/node_modules/undici/docs/docs/api/MockPool.md +555 -0
  1594. package/node_modules/undici/docs/docs/api/Pool.md +84 -0
  1595. package/node_modules/undici/docs/docs/api/PoolStats.md +35 -0
  1596. package/node_modules/undici/docs/docs/api/ProxyAgent.md +229 -0
  1597. package/node_modules/undici/docs/docs/api/RedirectHandler.md +93 -0
  1598. package/node_modules/undici/docs/docs/api/RetryAgent.md +50 -0
  1599. package/node_modules/undici/docs/docs/api/RetryHandler.md +118 -0
  1600. package/node_modules/undici/docs/docs/api/RoundRobinPool.md +145 -0
  1601. package/node_modules/undici/docs/docs/api/SnapshotAgent.md +616 -0
  1602. package/node_modules/undici/docs/docs/api/Socks5ProxyAgent.md +275 -0
  1603. package/node_modules/undici/docs/docs/api/Util.md +25 -0
  1604. package/node_modules/undici/docs/docs/api/WebSocket.md +141 -0
  1605. package/node_modules/undici/docs/docs/api/api-lifecycle.md +91 -0
  1606. package/node_modules/undici/docs/docs/best-practices/client-certificate.md +64 -0
  1607. package/node_modules/undici/docs/docs/best-practices/crawling.md +58 -0
  1608. package/node_modules/undici/docs/docs/best-practices/mocking-request.md +190 -0
  1609. package/node_modules/undici/docs/docs/best-practices/proxy.md +127 -0
  1610. package/node_modules/undici/docs/docs/best-practices/undici-vs-builtin-fetch.md +224 -0
  1611. package/node_modules/undici/docs/docs/best-practices/writing-tests.md +63 -0
  1612. package/node_modules/undici/index-fetch.js +65 -0
  1613. package/node_modules/undici/index.d.ts +3 -0
  1614. package/node_modules/undici/index.js +234 -0
  1615. package/node_modules/undici/lib/api/abort-signal.js +59 -0
  1616. package/node_modules/undici/lib/api/api-connect.js +110 -0
  1617. package/node_modules/undici/lib/api/api-pipeline.js +252 -0
  1618. package/node_modules/undici/lib/api/api-request.js +214 -0
  1619. package/node_modules/undici/lib/api/api-stream.js +209 -0
  1620. package/node_modules/undici/lib/api/api-upgrade.js +111 -0
  1621. package/node_modules/undici/lib/api/index.js +7 -0
  1622. package/node_modules/undici/lib/api/readable.js +580 -0
  1623. package/node_modules/undici/lib/cache/memory-cache-store.js +279 -0
  1624. package/node_modules/undici/lib/cache/sqlite-cache-store.js +467 -0
  1625. package/node_modules/undici/lib/core/connect.js +153 -0
  1626. package/node_modules/undici/lib/core/constants.js +143 -0
  1627. package/node_modules/undici/lib/core/diagnostics.js +227 -0
  1628. package/node_modules/undici/lib/core/errors.js +477 -0
  1629. package/node_modules/undici/lib/core/request.js +485 -0
  1630. package/node_modules/undici/lib/core/socks5-client.js +422 -0
  1631. package/node_modules/undici/lib/core/socks5-utils.js +212 -0
  1632. package/node_modules/undici/lib/core/symbols.js +75 -0
  1633. package/node_modules/undici/lib/core/tree.js +160 -0
  1634. package/node_modules/undici/lib/core/util.js +992 -0
  1635. package/node_modules/undici/lib/dispatcher/agent.js +158 -0
  1636. package/node_modules/undici/lib/dispatcher/balanced-pool.js +221 -0
  1637. package/node_modules/undici/lib/dispatcher/client-h1.js +1746 -0
  1638. package/node_modules/undici/lib/dispatcher/client-h2.js +1060 -0
  1639. package/node_modules/undici/lib/dispatcher/client.js +668 -0
  1640. package/node_modules/undici/lib/dispatcher/dispatcher-base.js +184 -0
  1641. package/node_modules/undici/lib/dispatcher/dispatcher.js +48 -0
  1642. package/node_modules/undici/lib/dispatcher/env-http-proxy-agent.js +146 -0
  1643. package/node_modules/undici/lib/dispatcher/fixed-queue.js +135 -0
  1644. package/node_modules/undici/lib/dispatcher/h2c-client.js +51 -0
  1645. package/node_modules/undici/lib/dispatcher/pool-base.js +214 -0
  1646. package/node_modules/undici/lib/dispatcher/pool.js +118 -0
  1647. package/node_modules/undici/lib/dispatcher/proxy-agent.js +319 -0
  1648. package/node_modules/undici/lib/dispatcher/retry-agent.js +35 -0
  1649. package/node_modules/undici/lib/dispatcher/round-robin-pool.js +137 -0
  1650. package/node_modules/undici/lib/dispatcher/socks5-proxy-agent.js +260 -0
  1651. package/node_modules/undici/lib/encoding/index.js +33 -0
  1652. package/node_modules/undici/lib/global.js +59 -0
  1653. package/node_modules/undici/lib/handler/cache-handler.js +776 -0
  1654. package/node_modules/undici/lib/handler/cache-revalidation-handler.js +124 -0
  1655. package/node_modules/undici/lib/handler/decorator-handler.js +67 -0
  1656. package/node_modules/undici/lib/handler/deduplication-handler.js +460 -0
  1657. package/node_modules/undici/lib/handler/redirect-handler.js +238 -0
  1658. package/node_modules/undici/lib/handler/retry-handler.js +504 -0
  1659. package/node_modules/undici/lib/handler/unwrap-handler.js +106 -0
  1660. package/node_modules/undici/lib/handler/wrap-handler.js +105 -0
  1661. package/node_modules/undici/lib/interceptor/cache.js +621 -0
  1662. package/node_modules/undici/lib/interceptor/decompress.js +551 -0
  1663. package/node_modules/undici/lib/interceptor/deduplicate.js +117 -0
  1664. package/node_modules/undici/lib/interceptor/dns.js +571 -0
  1665. package/node_modules/undici/lib/interceptor/dump.js +99 -0
  1666. package/node_modules/undici/lib/interceptor/redirect.js +21 -0
  1667. package/node_modules/undici/lib/interceptor/response-error.js +95 -0
  1668. package/node_modules/undici/lib/interceptor/retry.js +19 -0
  1669. package/node_modules/undici/lib/llhttp/.gitkeep +0 -0
  1670. package/node_modules/undici/lib/llhttp/constants.d.ts +195 -0
  1671. package/node_modules/undici/lib/llhttp/constants.js +531 -0
  1672. package/node_modules/undici/lib/llhttp/llhttp-wasm.js +15 -0
  1673. package/node_modules/undici/lib/llhttp/llhttp_simd-wasm.js +15 -0
  1674. package/node_modules/undici/lib/llhttp/utils.d.ts +2 -0
  1675. package/node_modules/undici/lib/llhttp/utils.js +12 -0
  1676. package/node_modules/undici/lib/mock/mock-agent.js +232 -0
  1677. package/node_modules/undici/lib/mock/mock-call-history.js +248 -0
  1678. package/node_modules/undici/lib/mock/mock-client.js +68 -0
  1679. package/node_modules/undici/lib/mock/mock-errors.js +29 -0
  1680. package/node_modules/undici/lib/mock/mock-interceptor.js +209 -0
  1681. package/node_modules/undici/lib/mock/mock-pool.js +68 -0
  1682. package/node_modules/undici/lib/mock/mock-symbols.js +32 -0
  1683. package/node_modules/undici/lib/mock/mock-utils.js +486 -0
  1684. package/node_modules/undici/lib/mock/pending-interceptors-formatter.js +43 -0
  1685. package/node_modules/undici/lib/mock/snapshot-agent.js +353 -0
  1686. package/node_modules/undici/lib/mock/snapshot-recorder.js +588 -0
  1687. package/node_modules/undici/lib/mock/snapshot-utils.js +158 -0
  1688. package/node_modules/undici/lib/util/cache.js +676 -0
  1689. package/node_modules/undici/lib/util/date.js +670 -0
  1690. package/node_modules/undici/lib/util/promise.js +28 -0
  1691. package/node_modules/undici/lib/util/runtime-features.js +124 -0
  1692. package/node_modules/undici/lib/util/stats.js +32 -0
  1693. package/node_modules/undici/lib/util/timers.js +425 -0
  1694. package/node_modules/undici/lib/web/cache/cache.js +864 -0
  1695. package/node_modules/undici/lib/web/cache/cachestorage.js +152 -0
  1696. package/node_modules/undici/lib/web/cache/util.js +45 -0
  1697. package/node_modules/undici/lib/web/cookies/constants.js +12 -0
  1698. package/node_modules/undici/lib/web/cookies/index.js +199 -0
  1699. package/node_modules/undici/lib/web/cookies/parse.js +314 -0
  1700. package/node_modules/undici/lib/web/cookies/util.js +352 -0
  1701. package/node_modules/undici/lib/web/eventsource/eventsource-stream.js +494 -0
  1702. package/node_modules/undici/lib/web/eventsource/eventsource.js +501 -0
  1703. package/node_modules/undici/lib/web/eventsource/util.js +29 -0
  1704. package/node_modules/undici/lib/web/fetch/LICENSE +21 -0
  1705. package/node_modules/undici/lib/web/fetch/body.js +509 -0
  1706. package/node_modules/undici/lib/web/fetch/constants.js +131 -0
  1707. package/node_modules/undici/lib/web/fetch/data-url.js +596 -0
  1708. package/node_modules/undici/lib/web/fetch/formdata-parser.js +586 -0
  1709. package/node_modules/undici/lib/web/fetch/formdata.js +259 -0
  1710. package/node_modules/undici/lib/web/fetch/global.js +40 -0
  1711. package/node_modules/undici/lib/web/fetch/headers.js +719 -0
  1712. package/node_modules/undici/lib/web/fetch/index.js +2413 -0
  1713. package/node_modules/undici/lib/web/fetch/request.js +1115 -0
  1714. package/node_modules/undici/lib/web/fetch/response.js +641 -0
  1715. package/node_modules/undici/lib/web/fetch/util.js +1522 -0
  1716. package/node_modules/undici/lib/web/infra/index.js +229 -0
  1717. package/node_modules/undici/lib/web/subresource-integrity/Readme.md +9 -0
  1718. package/node_modules/undici/lib/web/subresource-integrity/subresource-integrity.js +307 -0
  1719. package/node_modules/undici/lib/web/webidl/index.js +1006 -0
  1720. package/node_modules/undici/lib/web/websocket/connection.js +339 -0
  1721. package/node_modules/undici/lib/web/websocket/constants.js +126 -0
  1722. package/node_modules/undici/lib/web/websocket/events.js +331 -0
  1723. package/node_modules/undici/lib/web/websocket/frame.js +133 -0
  1724. package/node_modules/undici/lib/web/websocket/permessage-deflate.js +105 -0
  1725. package/node_modules/undici/lib/web/websocket/receiver.js +507 -0
  1726. package/node_modules/undici/lib/web/websocket/sender.js +109 -0
  1727. package/node_modules/undici/lib/web/websocket/stream/websocketerror.js +104 -0
  1728. package/node_modules/undici/lib/web/websocket/stream/websocketstream.js +496 -0
  1729. package/node_modules/undici/lib/web/websocket/util.js +347 -0
  1730. package/node_modules/undici/lib/web/websocket/websocket.js +758 -0
  1731. package/node_modules/undici/package.json +152 -0
  1732. package/node_modules/undici/scripts/strip-comments.js +10 -0
  1733. package/node_modules/undici/types/README.md +6 -0
  1734. package/node_modules/undici/types/agent.d.ts +32 -0
  1735. package/node_modules/undici/types/api.d.ts +43 -0
  1736. package/node_modules/undici/types/balanced-pool.d.ts +30 -0
  1737. package/node_modules/undici/types/cache-interceptor.d.ts +179 -0
  1738. package/node_modules/undici/types/cache.d.ts +36 -0
  1739. package/node_modules/undici/types/client-stats.d.ts +15 -0
  1740. package/node_modules/undici/types/client.d.ts +139 -0
  1741. package/node_modules/undici/types/connector.d.ts +36 -0
  1742. package/node_modules/undici/types/content-type.d.ts +21 -0
  1743. package/node_modules/undici/types/cookies.d.ts +30 -0
  1744. package/node_modules/undici/types/diagnostics-channel.d.ts +74 -0
  1745. package/node_modules/undici/types/dispatcher.d.ts +275 -0
  1746. package/node_modules/undici/types/env-http-proxy-agent.d.ts +22 -0
  1747. package/node_modules/undici/types/errors.d.ts +177 -0
  1748. package/node_modules/undici/types/eventsource.d.ts +66 -0
  1749. package/node_modules/undici/types/fetch.d.ts +231 -0
  1750. package/node_modules/undici/types/formdata.d.ts +114 -0
  1751. package/node_modules/undici/types/global-dispatcher.d.ts +9 -0
  1752. package/node_modules/undici/types/global-origin.d.ts +7 -0
  1753. package/node_modules/undici/types/h2c-client.d.ts +73 -0
  1754. package/node_modules/undici/types/handlers.d.ts +14 -0
  1755. package/node_modules/undici/types/header.d.ts +160 -0
  1756. package/node_modules/undici/types/index.d.ts +91 -0
  1757. package/node_modules/undici/types/interceptors.d.ts +82 -0
  1758. package/node_modules/undici/types/mock-agent.d.ts +68 -0
  1759. package/node_modules/undici/types/mock-call-history.d.ts +111 -0
  1760. package/node_modules/undici/types/mock-client.d.ts +27 -0
  1761. package/node_modules/undici/types/mock-errors.d.ts +12 -0
  1762. package/node_modules/undici/types/mock-interceptor.d.ts +94 -0
  1763. package/node_modules/undici/types/mock-pool.d.ts +27 -0
  1764. package/node_modules/undici/types/patch.d.ts +29 -0
  1765. package/node_modules/undici/types/pool-stats.d.ts +19 -0
  1766. package/node_modules/undici/types/pool.d.ts +41 -0
  1767. package/node_modules/undici/types/proxy-agent.d.ts +29 -0
  1768. package/node_modules/undici/types/readable.d.ts +68 -0
  1769. package/node_modules/undici/types/retry-agent.d.ts +8 -0
  1770. package/node_modules/undici/types/retry-handler.d.ts +125 -0
  1771. package/node_modules/undici/types/round-robin-pool.d.ts +41 -0
  1772. package/node_modules/undici/types/snapshot-agent.d.ts +109 -0
  1773. package/node_modules/undici/types/socks5-proxy-agent.d.ts +25 -0
  1774. package/node_modules/undici/types/util.d.ts +18 -0
  1775. package/node_modules/undici/types/utility.d.ts +7 -0
  1776. package/node_modules/undici/types/webidl.d.ts +347 -0
  1777. package/node_modules/undici/types/websocket.d.ts +188 -0
  1778. package/node_modules/whatwg-encoding/LICENSE.txt +7 -0
  1779. package/node_modules/whatwg-encoding/README.md +50 -0
  1780. package/node_modules/whatwg-encoding/lib/labels-to-names.json +217 -0
  1781. package/node_modules/whatwg-encoding/lib/supported-names.json +38 -0
  1782. package/node_modules/whatwg-encoding/lib/whatwg-encoding.js +60 -0
  1783. package/node_modules/whatwg-encoding/package.json +32 -0
  1784. package/node_modules/whatwg-mimetype/LICENSE.txt +7 -0
  1785. package/node_modules/whatwg-mimetype/README.md +101 -0
  1786. package/node_modules/whatwg-mimetype/lib/mime-type-parameters.js +70 -0
  1787. package/node_modules/whatwg-mimetype/lib/mime-type.js +127 -0
  1788. package/node_modules/whatwg-mimetype/lib/parser.js +105 -0
  1789. package/node_modules/whatwg-mimetype/lib/serializer.js +25 -0
  1790. package/node_modules/whatwg-mimetype/lib/utils.js +60 -0
  1791. package/node_modules/whatwg-mimetype/package.json +45 -0
  1792. package/package.json +38 -4
  1793. package/src/agent-recovery-proof.mjs +63 -0
  1794. package/src/agent.mjs +363 -0
  1795. package/src/artifact-tools.mjs +22 -0
  1796. package/src/audit.mjs +73 -0
  1797. package/src/auto-guard.mjs +85 -0
  1798. package/src/browser-currency.mjs +20 -0
  1799. package/src/chrome-recovery-proof.mjs +43 -0
  1800. package/src/cli.mjs +798 -0
  1801. package/src/cloud-client.mjs +24 -0
  1802. package/src/codex-provider.mjs +219 -0
  1803. package/src/compaction.mjs +233 -0
  1804. package/src/compat.mjs +13 -0
  1805. package/src/context-pressure.mjs +66 -0
  1806. package/src/context.mjs +47 -0
  1807. package/src/durable-agent-runs.mjs +40 -0
  1808. package/src/execution-metrics.mjs +17 -0
  1809. package/src/file-recovery-proof.mjs +45 -0
  1810. package/src/file-recovery.mjs +95 -0
  1811. package/src/gemini-provider.mjs +150 -0
  1812. package/src/goals.mjs +169 -0
  1813. package/src/governance.mjs +81 -0
  1814. package/src/house.mjs +184 -0
  1815. package/src/judges.mjs +72 -0
  1816. package/src/mcp-http.mjs +190 -0
  1817. package/src/mcp-rpc.mjs +84 -0
  1818. package/src/mcp-runtime.mjs +219 -0
  1819. package/src/mcp-sse.mjs +27 -0
  1820. package/src/mcp.mjs +79 -0
  1821. package/src/model-controls.mjs +173 -0
  1822. package/src/model-deadline.mjs +35 -0
  1823. package/src/model-output.mjs +23 -0
  1824. package/src/openai-provider.mjs +249 -0
  1825. package/src/operations.mjs +74 -0
  1826. package/src/peer-message-context.mjs +17 -0
  1827. package/src/peer-tools.mjs +164 -0
  1828. package/src/permissions.mjs +63 -0
  1829. package/src/plugin-config.mjs +95 -0
  1830. package/src/plugins/chrome-lab/bridge.mjs +206 -0
  1831. package/src/plugins/chrome-lab/client.mjs +123 -0
  1832. package/src/plugins/chrome-lab/index.mjs +141 -0
  1833. package/src/plugins/chrome-lab/project.mjs +45 -0
  1834. package/src/plugins.mjs +272 -0
  1835. package/src/process-lock.mjs +70 -0
  1836. package/src/provider-auth.mjs +207 -0
  1837. package/src/provider-profiles.mjs +113 -0
  1838. package/src/provider-scheduler.mjs +18 -0
  1839. package/src/provider.mjs +174 -0
  1840. package/src/read-only-check.mjs +38 -0
  1841. package/src/session-bus.mjs +367 -0
  1842. package/src/session-provider-settings.mjs +39 -0
  1843. package/src/session-read-cache.mjs +20 -0
  1844. package/src/session.mjs +71 -0
  1845. package/src/sessions.mjs +140 -0
  1846. package/src/skill-runtime.mjs +130 -0
  1847. package/src/subagents.mjs +480 -0
  1848. package/src/tool-call-stream.mjs +39 -0
  1849. package/src/tool-catalog.mjs +19 -0
  1850. package/src/tool-input.mjs +20 -0
  1851. package/src/tool-packs.mjs +163 -0
  1852. package/src/tool-scheduler.mjs +21 -0
  1853. package/src/tool-schema.mjs +51 -0
  1854. package/src/tools.mjs +260 -0
  1855. package/src/trusted-context.mjs +23 -0
  1856. package/src/tui/brand.mjs +50 -0
  1857. package/src/tui/clipboard.mjs +28 -0
  1858. package/src/tui/composer.mjs +77 -0
  1859. package/src/tui/controller.mjs +149 -0
  1860. package/src/tui/discovery.mjs +217 -0
  1861. package/src/tui/input.mjs +60 -0
  1862. package/src/tui/markdown.mjs +126 -0
  1863. package/src/tui/message-queue.mjs +56 -0
  1864. package/src/tui/screen.mjs +586 -0
  1865. package/src/tui/text.mjs +113 -0
  1866. package/src/usage-accounting.mjs +43 -0
  1867. package/src/vision.mjs +136 -0
  1868. package/src/web-tools.mjs +120 -0
  1869. package/src/work-assertions.mjs +29 -0
  1870. package/src/work-check-contracts.mjs +95 -0
  1871. package/src/work-intent.mjs +6 -0
  1872. package/src/work-plan.mjs +419 -0
  1873. package/src/work-recovery-proof.mjs +69 -0
  1874. package/src/work-state.mjs +201 -0
  1875. package/src/workflows/chrome-task.mjs +275 -0
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../src/defaults.ts", "../src/rules.ts", "../src/helpers.ts", "../src/Tokenizer.ts", "../src/Lexer.ts", "../src/Renderer.ts", "../src/TextRenderer.ts", "../src/Parser.ts", "../src/Hooks.ts", "../src/Instance.ts", "../src/marked.ts"],
4
+ "sourcesContent": ["import type { MarkedOptions } from './MarkedOptions.ts';\n\n/**\n * Gets the original marked default options.\n */\nexport function _getDefaults<ParserOutput = string, RendererOutput = string>(): MarkedOptions<ParserOutput, RendererOutput> {\n return {\n async: false,\n breaks: false,\n extensions: null,\n gfm: true,\n hooks: null,\n pedantic: false,\n renderer: null,\n silent: false,\n tokenizer: null,\n walkTokens: null,\n };\n}\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nexport let _defaults: MarkedOptions<any, any> = _getDefaults();\n\nexport function changeDefaults<ParserOutput = string, RendererOutput = string>(newDefaults: MarkedOptions<ParserOutput, RendererOutput>) {\n _defaults = newDefaults;\n}\n", "const noopTest = { exec: () => null } as unknown as RegExp;\n\nfunction cachedIndentRegex(createRegex: (indent: number) => RegExp) {\n const cache: RegExp[] = [];\n return (indent: number) => {\n const cacheIndex = Math.max(0, Math.min(3, indent - 1));\n let regex = cache[cacheIndex];\n if (!regex) {\n regex = createRegex(cacheIndex);\n cache[cacheIndex] = regex;\n }\n return regex;\n };\n}\n\nfunction edit(regex: string | RegExp, opt = '') {\n let source = typeof regex === 'string' ? regex : regex.source;\n const obj = {\n replace: (name: string | RegExp, val: string | RegExp) => {\n let valSource = typeof val === 'string' ? val : val.source;\n valSource = valSource.replace(other.caret, '$1');\n source = source.replace(name, valSource);\n return obj;\n },\n getRegex: () => {\n return new RegExp(source, opt);\n },\n };\n return obj;\n}\n\n// use a default variable to ensure the regex is evaluated on client an not removed by minifiers\nconst supportsLookbehind = ((a = '') => {\ntry {\n return !!new RegExp('(?<=1)(?<!1)' + a);\n} catch {\n // See browser support here:\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Regular_expressions/Lookbehind_assertion\n return false;\n}\n})();\n\nexport const other = {\n codeRemoveIndent: /^(?: {0,3}\\t| {1,4})/gm,\n outputLinkReplace: /\\\\([\\[\\]])/g,\n indentCodeCompensation: /^(\\s+)(?:```)/,\n beginningSpace: /^\\s+/,\n endingHash: /#$/,\n startingSpaceChar: /^ /,\n endingSpaceChar: / $/,\n endingSpaceTabChar: /[ \\t]$/,\n nonSpaceChar: /[^ ]/,\n newLineCharGlobal: /\\n/g,\n tabCharGlobal: /\\t/g,\n leadingSpaceTab: /^[ \\t]+/,\n multipleSpaceGlobal: /\\s+/g,\n blankLine: /^[ \\t]*$/,\n doubleBlankLine: /\\n[ \\t]*\\n[ \\t]*$/,\n blockquoteStart: /^ {0,3}>/,\n blockquoteSetextReplace: /\\n {0,3}((?:=+|-+) *)(?=\\n|$)/g,\n blockquoteSetextReplace2: /^ {0,3}>[ \\t]?/gm,\n listReplaceNesting: /^ {1,4}(?=( {4})*[^ ])/g,\n listIsTask: /^\\[[ xX]\\] +\\S/,\n listReplaceTask: /^\\[[ xX]\\] +/,\n listTaskCheckbox: /\\[[ xX]\\]/,\n anyLine: /\\n.*\\n/,\n hrefBrackets: /^<(.*)>$/,\n tableDelimiter: /[:|]/,\n tableAlignChars: /^\\||\\| *$/g,\n tableRowBlankLine: /\\n[ \\t]*$/,\n tableAlignRight: /^ *-+: *$/,\n tableAlignCenter: /^ *:-+: *$/,\n tableAlignLeft: /^ *:-+ *$/,\n startATag: /^<a /i,\n endATag: /^<\\/a>/i,\n startPreScriptTag: /^<(pre|code|kbd|script)(\\s|>)/i,\n endPreScriptTag: /^<\\/(pre|code|kbd|script)(\\s|>)/i,\n startAngleBracket: /^</,\n endAngleBracket: />$/,\n pedanticHrefTitle: /^([^'\"]*[^\\s])\\s+(['\"])(.*)\\2/,\n unicodeAlphaNumeric: /[\\p{L}\\p{N}]/u,\n numericCharacterReference: /&#(?:(\\d{1,7})|[Xx]([A-Fa-f0-9]{1,6}));/,\n numericCharacterReferenceOrAmpersand: /&#(?:(\\d{1,7})|[Xx]([A-Fa-f0-9]{1,6}));|&(?!(#\\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\\w+);)/g,\n escapeTest: /[&<>\"']/,\n escapeReplace: /[&<>\"']/g,\n escapeTestNoEncode: /[<>\"']|&(?!(#\\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\\w+);)/,\n escapeReplaceNoEncode: /[<>\"']|&(?!(#\\d{1,7}|#[Xx][a-fA-F0-9]{1,6}|\\w+);)/g,\n caret: /(^|[^\\[])\\^/g,\n percentDecode: /%25/g,\n findPipe: /\\|/g,\n splitPipe: / \\|/,\n slashPipe: /\\\\\\|/g,\n carriageReturn: /\\r\\n|\\r/g,\n spaceLine: /^ +$/gm,\n notSpaceStart: /^\\S*/,\n endingNewline: /\\n$/,\n listItemRegex: (bull: string) => new RegExp(`^( {0,3}${bull})((?:[\\t ][^\\\\n]*)?(?:\\\\n|$))`),\n nextBulletRegex: cachedIndentRegex((indent: number) => new RegExp(`^ {0,${indent}}(?:[*+-]|\\\\d{1,9}[.)])((?:[ \\t][^\\\\n]*)?(?:\\\\n|$))`)),\n hrRegex: cachedIndentRegex((indent: number) => new RegExp(`^ {0,${indent}}((?:-[ \\t]*){3,}|(?:_[ \\t]*){3,}|(?:\\\\*[ \\t]*){3,})(?:\\\\n+|$)`)),\n fencesBeginRegex: cachedIndentRegex((indent: number) => new RegExp(`^ {0,${indent}}(?:\\`\\`\\`|~~~)`)),\n headingBeginRegex: cachedIndentRegex((indent: number) => new RegExp(`^ {0,${indent}}#`)),\n // a list item ends where a paragraph would be interrupted, so this mirrors the\n // html start conditions in the paragraph rule below; type 7 is excluded there\n htmlBeginRegex: cachedIndentRegex((indent: number) => new RegExp(`^ {0,${indent}}(?:</?(?:${_tag})(?: +|$|/?>)|<(?:(?:script|pre|style|textarea)(?:[\\\\s>]|$)|!--)|<\\\\?|<![A-Za-z]|<!\\\\[CDATA\\\\[)`, 'i')),\n blockquoteBeginRegex: cachedIndentRegex((indent: number) => new RegExp(`^ {0,${indent}}>`)),\n};\n\n/**\n * Block-Level Grammar\n */\n\nconst newline = /^(?:[ \\t]*(?:\\n|$))+/;\nconst blockCode = /^((?: {4}| {0,3}\\t)[^\\n]+(?:\\n(?:[ \\t]*(?:\\n|$))*)?)+/;\nconst fences = /^ {0,3}(`{3,}(?=[^`\\n]*(?:\\n|$))|~{3,})([^\\n]*)(?:\\n|$)(?:|([\\s\\S]*?)(?:\\n|$))(?: {0,3}\\1[~`]* *(?=\\n|$)|$)/;\nconst hr = /^ {0,3}((?:-[\\t ]*){3,}|(?:_[ \\t]*){3,}|(?:\\*[ \\t]*){3,})(?:\\n+|$)/;\nconst heading = /^ {0,3}(#{1,6})(?=\\s|$)(.*)(?:\\n+|$)/;\nconst bullet = / {0,3}(?:[*+-]|\\d{1,9}[.)])/;\nconst lheadingCore = /^(?!bull |blockCode|fences|blockquote|heading|html|table)((?:.|\\n(?!\\s*?\\n|bull |fences|blockquote|heading|hr|html|table))+?)\\n {0,3}(=+|-+) *(?:\\n+|$)/;\nconst lheading = edit(lheadingCore)\n .replace(/bull/g, bullet) // lists can interrupt\n .replace(/blockCode/g, /(?: {4}| {0,3}\\t)/) // indented code can start a block but cannot interrupt a paragraph\n .replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/) // fenced code blocks can interrupt\n .replace(/blockquote/g, / {0,3}>/) // blockquote can interrupt\n .replace(/heading/g, / {0,3}#{1,6}(?:\\s|$)/) // ATX heading can interrupt\n .replace(/hr/g, / {0,3}(?:(?:-[\\t ]*){3,}|(?:_[ \\t]*){3,}|(?:\\*[ \\t]*){3,})(?:\\n+|$)/) // thematic break can interrupt\n .replace(/html/g, / {0,3}<[^\\n>]+>\\n/) // block html can interrupt\n .replace(/\\|table/g, '') // table not in commonmark\n .getRegex();\nconst lheadingGfm = edit(lheadingCore)\n .replace(/bull/g, bullet) // lists can interrupt\n .replace(/blockCode/g, /(?: {4}| {0,3}\\t)/) // indented code can start a block but cannot interrupt a paragraph\n .replace(/fences/g, / {0,3}(?:`{3,}|~{3,})/) // fenced code blocks can interrupt\n .replace(/blockquote/g, / {0,3}>/) // blockquote can interrupt\n .replace(/heading/g, / {0,3}#{1,6}(?:\\s|$)/) // ATX heading can interrupt\n .replace(/hr/g, / {0,3}(?:(?:-[\\t ]*){3,}|(?:_[ \\t]*){3,}|(?:\\*[ \\t]*){3,})(?:\\n+|$)/) // thematic break can interrupt\n .replace(/html/g, / {0,3}<[^\\n>]+>\\n/) // block html can interrupt\n .replace(/table/g, / {0,3}\\|?(?:[:\\- ]*\\|)+[\\:\\- ]*\\n/) // table can interrupt\n .getRegex();\nconst _paragraph = /^([^\\n]+(?:\\n(?!hr|heading|lheading|blockquote|fences|list|html|table|[ \\t]+\\n)[^\\n]+)*)/;\nconst blockText = /^[^\\n]+/;\nconst _blockLabel = /(?!\\s*\\])(?:\\\\[\\s\\S]|[^\\[\\]\\\\])+/;\nconst def = edit(/^ {0,3}\\[(label)\\]: *(?:\\n[ \\t]*)?([^<\\s][^\\s]*|<.*?>)(?:(?: +(?:\\n[ \\t]*)?| *\\n[ \\t]*)(title))? *(?:\\n+|$)/)\n .replace('label', _blockLabel)\n .replace('title', /(?:\"(?:\\\\\"?|[^\"\\\\])*\"|'[^'\\n]*(?:\\n[^'\\n]+)*\\n?'|\\([^()]*\\))/)\n .getRegex();\n\nconst list = edit(/^(bull)([ \\t][^\\n]*?)?(?:\\n|$)/)\n .replace(/bull/g, bullet)\n .getRegex();\n\nconst _tag = 'address|article|aside|base|basefont|blockquote|body|caption'\n + '|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption'\n + '|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe'\n + '|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option'\n + '|p|param|search|section|summary|table|tbody|td|tfoot|th|thead|title'\n + '|tr|track|ul';\nconst _comment = /<!--(?:-?>|[\\s\\S]*?(?:-->|$))/;\nconst html = edit(\n '^ {0,3}(?:' // optional indentation\n+ '<(script|pre|style|textarea)[\\\\s>][\\\\s\\\\S]*?(?:</\\\\1>[^\\\\n]*\\\\n*|$)' // (1)\n+ '|comment[^\\\\n]*(\\\\n+|$)' // (2)\n+ '|<\\\\?[\\\\s\\\\S]*?(?:\\\\?>[^\\\\n]*\\\\n*|$)' // (3)\n+ '|<![A-Z][\\\\s\\\\S]*?(?:>[^\\\\n]*\\\\n*|$)' // (4)\n+ '|<!\\\\[CDATA\\\\[[\\\\s\\\\S]*?(?:\\\\]\\\\]>[^\\\\n]*\\\\n*|$)' // (5)\n+ '|</?(tag)(?: +|\\\\n|/?>)[\\\\s\\\\S]*?(?:(?:\\\\n[ \\t]*)+\\\\n|$)' // (6)\n+ '|<(?!(?:script|pre|style|textarea)(?![a-z0-9-]))([a-z][a-z0-9-]*)(?:attribute)*? */?>(?=[ \\\\t]*(?:\\\\n|$))[\\\\s\\\\S]*?(?:(?:\\\\n[ \\t]*)+\\\\n|$)' // (7) open tag\n+ '|</[a-z][a-z0-9-]*\\\\s*>(?=[ \\\\t]*(?:\\\\n|$))[\\\\s\\\\S]*?(?:(?:\\\\n[ \\t]*)+\\\\n|$)' // (7) closing tag\n+ ')', 'i')\n .replace('comment', _comment)\n .replace('tag', _tag)\n .replace('attribute', / +[a-zA-Z:_][\\w.:-]*(?: *= *\"[^\"\\n]*\"| *= *'[^'\\n]*'| *= *[^\\s\"'=<>`]+)?/)\n .getRegex();\n\nconst createParagraph = (listInterrupt: RegExp) => edit(_paragraph)\n .replace('hr', hr)\n .replace('heading', ' {0,3}#{1,6}(?:\\\\s|$)')\n .replace('|lheading', '') // setext headings don't interrupt commonmark paragraphs\n .replace('|table', '')\n .replace('blockquote', ' {0,3}>')\n .replace('fences', ' {0,3}(?:`{3,}(?=[^`\\\\n]*(?:\\\\n|$))|~~~)[^\\\\n]*(?:\\\\n|$)')\n .replace('list', listInterrupt)\n .replace('html', ' {0,3}(?:</?(?:tag)(?: +|\\\\n|/?>)|<(?:(?:script|pre|style|textarea)(?:[\\\\s>]|$)|!--)|<\\\\?|<![A-Za-z]|<!\\\\[CDATA\\\\[)')\n .replace('tag', _tag) // pars can be interrupted by html blocks of types (1) to (6)\n .getRegex();\n\n// only non-empty lists starting from 1 can interrupt paragraphs\nconst paragraph = createParagraph(/ {0,3}(?:[*+-]|1[.)])[ \\t]+[^ \\t\\n]/);\n// inside a blockquote a bare list marker (any number) starts a sibling list,\n// so it must not be lazily continued as paragraph text (unlike a top level\n// paragraph, where an empty list cannot interrupt)\nconst blockquoteParagraph = createParagraph(/ {0,3}(?:[*+-]|\\d{1,9}[.)])(?:[ \\t]|\\n|$)/);\n\nconst blockquote = edit(/^( {0,3}> ?(paragraph|[^\\n]*)(?:\\n|$))+/)\n .replace('paragraph', blockquoteParagraph)\n .getRegex();\n\n/**\n * Normal Block Grammar\n */\n\nconst blockNormal = {\n blockquote,\n code: blockCode,\n def,\n fences,\n heading,\n hr,\n html,\n lheading,\n list,\n newline,\n paragraph,\n table: noopTest,\n text: blockText,\n};\n\ntype BlockKeys = keyof typeof blockNormal;\n\n/**\n * GFM Block Grammar\n */\n\nconst gfmTable = edit(\n '^ *([^\\\\n ].*)\\\\n' // Header\n+ ' {0,3}((?:\\\\| *)?:?-+:? *(?:\\\\| *:?-+:? *)*(?:\\\\| *)?)' // Align\n+ '(?:\\\\n((?:(?! *\\\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\\\n|$))*)\\\\n*|$)') // Cells\n .replace('hr', hr)\n .replace('heading', ' {0,3}#{1,6}(?:\\\\s|$)')\n .replace('blockquote', ' {0,3}>')\n .replace('code', '(?: {4}| {0,3}\\t)[^\\\\n]')\n .replace('fences', ' {0,3}(?:`{3,}(?=[^`\\\\n]*(?:\\\\n|$))|~~~)[^\\\\n]*(?:\\\\n|$)')\n .replace('list', ' {0,3}(?:[*+-]|1[.)])[ \\\\t]') // any bullet ends the table rows\n .replace('html', ' {0,3}(?:</?(?:tag)(?: +|\\\\n|/?>)|<(?:(?:script|pre|style|textarea)(?:[\\\\s>]|$)|!--)|<\\\\?|<![A-Za-z]|<!\\\\[CDATA\\\\[)')\n .replace('tag', _tag) // tables can be interrupted by html blocks of types (1) to (6)\n .getRegex();\n\nconst blockGfm: Record<BlockKeys, RegExp> = {\n ...blockNormal,\n lheading: lheadingGfm,\n table: gfmTable,\n paragraph: edit(_paragraph)\n .replace('hr', hr)\n .replace('heading', ' {0,3}#{1,6}(?:\\\\s|$)')\n .replace('|lheading', '') // setext headings don't interrupt commonmark paragraphs\n .replace('table', gfmTable) // interrupt paragraphs with table\n .replace('blockquote', ' {0,3}>')\n .replace('fences', ' {0,3}(?:`{3,}(?=[^`\\\\n]*(?:\\\\n|$))|~~~)[^\\\\n]*(?:\\\\n|$)')\n .replace('list', ' {0,3}(?:[*+-]|1[.)])[ \\\\t]+[^ \\\\t\\\\n]') // only non-empty lists starting from 1 can interrupt\n .replace('html', ' {0,3}(?:</?(?:tag)(?: +|\\\\n|/?>)|<(?:(?:script|pre|style|textarea)(?:[\\\\s>]|$)|!--)|<\\\\?|<![A-Za-z]|<!\\\\[CDATA\\\\[)')\n .replace('tag', _tag) // pars can be interrupted by html blocks of types (1) to (6)\n .getRegex(),\n};\n\n/**\n * Pedantic grammar (original John Gruber's loose markdown specification)\n */\n\nconst blockPedantic: Record<BlockKeys, RegExp> = {\n ...blockNormal,\n html: edit(\n '^ *(?:comment *(?:\\\\n|\\\\s*$)'\n + '|<(tag)[\\\\s\\\\S]+?</\\\\1> *(?:\\\\n{2,}|\\\\s*$)' // closed tag\n + '|<tag(?:\"[^\"]*\"|\\'[^\\']*\\'|\\\\s[^\\'\"/>\\\\s]*)*?/?> *(?:\\\\n{2,}|\\\\s*$))')\n .replace('comment', _comment)\n .replace(/tag/g, '(?!(?:'\n + 'a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub'\n + '|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)'\n + '\\\\b)\\\\w+(?!:|[^\\\\w\\\\s@]*@)\\\\b')\n .getRegex(),\n def: /^ *\\[([^\\]]+)\\]: *<?([^\\s>]+)>?(?: +([\"(][^\\n]+[\")]))? *(?:\\n+|$)/,\n heading: /^(#{1,6})(.*)(?:\\n+|$)/,\n fences: noopTest, // fences not supported\n lheading: /^(.+?)\\n {0,3}(=+|-+) *(?:\\n+|$)/,\n paragraph: edit(_paragraph)\n .replace('hr', hr)\n .replace('heading', ' *#{1,6} *[^\\n]')\n .replace('lheading', lheading)\n .replace('|table', '')\n .replace('blockquote', ' {0,3}>')\n .replace('|fences', '')\n .replace('|list', '')\n .replace('|html', '')\n .replace('|tag', '')\n .getRegex(),\n};\n\n/**\n * Inline-Level Grammar\n */\n\nconst escape = /^\\\\([!\"#$%&'()*+,\\-./:;<=>?@\\[\\]\\\\^_`{|}~])/;\nconst inlineCode = /^(`+)([^`]|[^`][\\s\\S]*?[^`])\\1(?!`)/;\nconst br = /^( {2,}|\\\\)\\n(?!\\s*$)[ \\t]*/;\nconst inlineText = /^(`+|[^`])(?:(?= {2,}\\n)|[\\s\\S]*?(?:(?=[\\\\<!\\[`*_]|\\b_|$)|[^ ](?= {2,}\\n)))/;\n\n// list of unicode punctuation marks, plus any missing characters from CommonMark spec\nconst _punctuation = /[\\p{P}\\p{S}]/u;\nconst _punctuationOrSpace = /[\\s\\p{P}\\p{S}]/u;\nconst _notPunctuationOrSpace = /[^\\s\\p{P}\\p{S}]/u;\nconst punctuation = edit(/^((?![*_])punctSpace)/, 'u')\n .replace(/punctSpace/g, _punctuationOrSpace).getRegex();\n\n/**\n * Opening punct/quotes excluded from pedantic LDelim nextChar so\n * `aa**\"A\"**bb` / `aa**(A)**bb` can start strong (Pi + Ps + ASCII straight quotes).\n */\nconst _openQuote = /[\\p{Pi}\\p{Ps}\"']/u;\n\n// GFM allows ~ inside strong and em for strikethrough\nconst _punctuationGfmStrongEm = /(?!~)[\\p{P}\\p{S}]/u;\nconst _punctuationOrSpaceGfmStrongEm = /(?!~)[\\s\\p{P}\\p{S}]/u;\nconst _notPunctuationOrSpaceGfmStrongEm = /(?:[^\\s\\p{P}\\p{S}]|~)/u;\n\n// sequences em should skip over [title](link), `code`, <html>\nconst blockSkip = edit(/link|precode-code|html/, 'g')\n .replace('link', /\\[(?:[^\\[\\]`]|(?<a>`+)[^`]+\\k<a>(?!`))*?\\]\\((?:\\\\[\\s\\S]|[^\\\\\\(\\)]|\\((?:\\\\[\\s\\S]|[^\\\\\\(\\)])*\\))*\\)/)\n .replace('precode-', supportsLookbehind ? '(?<!`)()' : '(^^|[^`])')\n .replace('code', /(?<b>`+)[^`]+\\k<b>(?!`)/)\n .replace('html', /<(?! )[^<>]*?>/)\n .getRegex();\n\nconst emStrongLDelimCore = /^(?:\\*+(?:((?!\\*)punct)|([^\\s*]))?)|^_+(?:((?!_)punct)|([^\\s_]))?/;\n\nconst emStrongLDelim = edit(emStrongLDelimCore, 'u')\n .replace(/punct/g, _punctuation)\n .getRegex();\n\nconst emStrongLDelimGfm = edit(emStrongLDelimCore, 'u')\n .replace(/punct/g, _punctuationGfmStrongEm)\n .getRegex();\n\n// Pedantic: do not treat opening punct/quotes as left-delim punct (e.g. **( / **\").\nconst emStrongLDelimPedanticCore = /^(?:\\*+(?:((?!\\*)(?!openQuote)punct)|([^\\s*]))?)|^_+(?:((?!_)(?!openQuote)punct)|([^\\s_]))?/;\n\nconst emStrongLDelimPedantic = edit(emStrongLDelimPedanticCore, 'u')\n .replace(/openQuote/g, _openQuote)\n .replace(/punct/g, _punctuation)\n .getRegex();\n\nconst emStrongRDelimAstCore =\n '^[^_*]*?__[^_*]*?\\\\*[^_*]*?(?=__)' // Skip orphan inside strong\n+ '|[^*]+(?=[^*])' // Consume to delim\n+ '|(?!\\\\*)punct(\\\\*+)(?=[\\\\s]|$)' // (1) #*** can only be a Right Delimiter\n+ '|notPunctSpace(\\\\*+)(?!\\\\*)(?=punctSpace|$)' // (2) a***#, a*** can only be a Right Delimiter\n+ '|(?!\\\\*)punctSpace(\\\\*+)(?=notPunctSpace)' // (3) #***a, ***a can only be Left Delimiter\n+ '|[\\\\s](\\\\*+)(?!\\\\*)(?=punct)' // (4) ***# can only be Left Delimiter\n+ '|(?!\\\\*)punct(\\\\*+)(?!\\\\*)(?=punct)' // (5) #***# can be either Left or Right Delimiter\n+ '|notPunctSpace(\\\\*+)(?=notPunctSpace)'; // (6) a***a can be either Left or Right Delimiter\n\nconst emStrongRDelimAst = edit(emStrongRDelimAstCore, 'gu')\n .replace(/notPunctSpace/g, _notPunctuationOrSpace)\n .replace(/punctSpace/g, _punctuationOrSpace)\n .replace(/punct/g, _punctuation)\n .getRegex();\n\nconst emStrongRDelimAstGfm = edit(emStrongRDelimAstCore, 'gu')\n .replace(/notPunctSpace/g, _notPunctuationOrSpaceGfmStrongEm)\n .replace(/punctSpace/g, _punctuationOrSpaceGfmStrongEm)\n .replace(/punct/g, _punctuationGfmStrongEm)\n .getRegex();\n\n// Pedantic: rule 3 requires whitespace before left delim; rule 6 allows punct before close (e.g. `:**bar`).\nconst emStrongRDelimAstPedanticCore =\n '^[^_*]*?__[^_*]*?\\\\*[^_*]*?(?=__)' // Skip orphan inside strong\n+ '|[^*]+(?=[^*])' // Consume to delim\n+ '|(?!\\\\*)punct(\\\\*+)(?=[\\\\s]|$)' // (1) #*** can only be a Right Delimiter\n+ '|notPunctSpace(\\\\*+)(?!\\\\*)(?=punctSpace|$)' // (2) a***#, a*** can only be a Right Delimiter\n+ '|(?!\\\\*)[\\\\s](\\\\*+)(?=notPunctSpace)' // (3) ***a can only be Left Delimiter (whitespace required; not #***a)\n+ '|[\\\\s](\\\\*+)(?!\\\\*)(?=punct)' // (4) ***# can only be Left Delimiter\n+ '|(?!\\\\*)punct(\\\\*+)(?!\\\\*)(?=punct)' // (5) #***# can be either Left or Right Delimiter\n+ '|(?:(?!\\\\*)punct|notPunctSpace)(\\\\*+)(?!\\\\*)(?=notPunctSpace)'; // (6) a***a, #***a, and :** (e.g. **foo:**bar)\n\nconst emStrongRDelimAstPedantic = edit(emStrongRDelimAstPedanticCore, 'gu')\n .replace(/notPunctSpace/g, _notPunctuationOrSpace)\n .replace(/punctSpace/g, _punctuationOrSpace)\n .replace(/punct/g, _punctuation)\n .getRegex();\n\n// Normal: no rule 6 for _ (a___a cannot close as emphasis).\nconst emStrongRDelimUnd = edit(\n '^[^_*]*?\\\\*\\\\*[^_*]*?_[^_*]*?(?=\\\\*\\\\*)' // Skip orphan inside strong\n+ '|[^_]+(?=[^_])' // Consume to delim\n+ '|(?!_)punct(_+)(?=[\\\\s]|$)' // (1) #___ can only be a Right Delimiter\n+ '|notPunctSpace(_+)(?!_)(?=punctSpace|$)' // (2) a___#, a___ can only be a Right Delimiter\n+ '|(?!_)punctSpace(_+)(?=notPunctSpace)' // (3) #___a, ___a can only be Left Delimiter\n+ '|[\\\\s](_+)(?!_)(?=punct)' // (4) ___# can only be Left Delimiter\n+ '|(?!_)punct(_+)(?!_)(?=punct)', 'gu') // (5) #___# can be either Left or Right Delimiter\n .replace(/notPunctSpace/g, _notPunctuationOrSpace)\n .replace(/punctSpace/g, _punctuationOrSpace)\n .replace(/punct/g, _punctuation)\n .getRegex();\n\n// Pedantic: same rule 3/6 adjustments as emStrongRDelimAstPedantic (e.g. `_foo:_bar`).\nconst emStrongRDelimUndPedanticCore =\n '^[^_*]*?\\\\*\\\\*[^_*]*?_[^_*]*?(?=\\\\*\\\\*)' // Skip orphan inside strong\n+ '|[^_]+(?=[^_])' // Consume to delim\n+ '|(?!_)punct(_+)(?=[\\\\s]|$)' // (1) #___ can only be a Right Delimiter\n+ '|notPunctSpace(_+)(?!_)(?=punctSpace|$)' // (2) a___#, a___ can only be a Right Delimiter\n+ '|(?!_)[\\\\s](_+)(?=notPunctSpace)' // (3) ___a can only be Left Delimiter (whitespace required; not #___a)\n+ '|[\\\\s](_+)(?!_)(?=punct)' // (4) ___# can only be Left Delimiter\n+ '|(?!_)punct(_+)(?!_)(?=punct)' // (5) #___# can be either Left or Right Delimiter\n+ '|(?:(?!_)punct|notPunctSpace)(_+)(?!_)(?=notPunctSpace)'; // (6) a___a, #___a, and :__ (e.g. _foo:_bar)\n\nconst emStrongRDelimUndPedantic = edit(emStrongRDelimUndPedanticCore, 'gu')\n .replace(/notPunctSpace/g, _notPunctuationOrSpace)\n .replace(/punctSpace/g, _punctuationOrSpace)\n .replace(/punct/g, _punctuation)\n .getRegex();\n\n// Tilde left delimiter for strikethrough (similar to emStrongLDelim for asterisk)\nconst delLDelim = edit(/^~~?(?:((?!~)punct)|[^\\s~])/, 'u')\n .replace(/punct/g, _punctuation)\n .getRegex();\n\n// Tilde delimiter patterns for strikethrough (similar to asterisk)\nconst delRDelimCore =\n '^[^~]+(?=[^~])' // Consume to delim\n+ '|(?!~)punct(~~?)(?=[\\\\s]|$)' // (1) #~~ can only be a Right Delimiter\n+ '|notPunctSpace(~~?)(?!~)(?=punctSpace|$)' // (2) a~~#, a~~ can only be a Right Delimiter\n+ '|(?!~)punctSpace(~~?)(?=notPunctSpace)' // (3) #~~a, ~~a can only be Left Delimiter\n+ '|[\\\\s](~~?)(?!~)(?=punct)' // (4) ~~# can only be Left Delimiter\n+ '|(?!~)punct(~~?)(?!~)(?=punct)' // (5) #~~# can be either Left or Right Delimiter\n+ '|notPunctSpace(~~?)(?=notPunctSpace)'; // (6) a~~a can be either Left or Right Delimiter\n\nconst delRDelim = edit(delRDelimCore, 'gu')\n .replace(/notPunctSpace/g, _notPunctuationOrSpace)\n .replace(/punctSpace/g, _punctuationOrSpace)\n .replace(/punct/g, _punctuation)\n .getRegex();\n\nconst anyPunctuation = edit(/\\\\(punct)/, 'gu')\n .replace(/punct/g, _punctuation)\n .getRegex();\n\n// `anyPunctuation` for the em/strong mask. A backslash is literal inside a code\n// span, so a code span (matched like `inline.code`), or a backtick run that\n// opens none, is matched whole and kept; only the escapes outside code spans\n// are masked.\nconst anyPunctuationOutsideCode = edit(/(`+)(?:[^`]|[^`][\\s\\S]*?[^`])\\1(?!`)|`+|\\\\(punct)/, 'gu')\n .replace(/punct/g, _punctuation)\n .getRegex();\n\nconst autolink = edit(/^<(scheme:[^\\s\\x00-\\x1f<>]*|email)>/)\n .replace('scheme', /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/)\n .replace('email', /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/)\n .getRegex();\n\nconst _inlineComment = edit(_comment).replace('(?:-->|$)', '-->').getRegex();\nconst tag = edit(\n '^comment'\n + '|^</[a-zA-Z][a-zA-Z0-9-]*\\\\s*>' // self-closing tag\n + '|^<[a-zA-Z][a-zA-Z0-9-]*(?:attribute)*?\\\\s*/?>' // open tag\n + '|^<\\\\?[\\\\s\\\\S]*?\\\\?>' // processing instruction, e.g. <?php ?>\n + '|^<![a-zA-Z]+\\\\s[\\\\s\\\\S]*?>' // declaration, e.g. <!DOCTYPE html>\n + '|^<!\\\\[CDATA\\\\[[\\\\s\\\\S]*?\\\\]\\\\]>') // CDATA section\n .replace('comment', _inlineComment)\n .replace('attribute', /\\s+[a-zA-Z:_][\\w.:-]*(?:\\s*=\\s*\"[^\"]*\"|\\s*=\\s*'[^']*'|\\s*=\\s*[^\\s\"'=<>`]+)?/)\n .getRegex();\n\n// One matched pair of brackets, holding no bracket of its own.\nconst _inlineLabelBrackets = /\\[(?:\\\\[\\s\\S]|[^\\[\\]\\\\])*\\]/;\n// CommonMark lets the brackets in a link label nest to any depth, which a regex\n// cannot follow, so it stops at a fixed one. Two levels is what the spec suite\n// asks for: a third and a fourth flip no further example.\nconst _inlineLabel = edit(/(?:\\[(?:brackets|\\\\[\\s\\S]|[^\\[\\]\\\\])*\\]|\\\\[\\s\\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\\])|[^\\[\\]\\\\`])*?/)\n .replace('brackets', _inlineLabelBrackets)\n .getRegex();\n\nconst link = edit(/^!?\\[(label)\\]\\([ \\t\\n]*(href)(?:(?:[ \\t]+(?:\\n[ \\t]*)?|\\n[ \\t]*)(title))?[ \\t\\n]*\\)/)\n .replace('label', _inlineLabel)\n .replace('href', /<(?:\\\\.|[^\\n<>\\\\])+>|[^ \\t\\n\\x00-\\x1f]+|(?=\\))/)\n .replace('title', /\"(?:\\\\\"?|[^\"\\\\])*\"|'(?:\\\\'?|[^'\\\\])*'|\\((?:\\\\\\)?|[^)\\\\])*\\)/)\n .getRegex();\n\nconst reflink = edit(/^!?\\[(label)\\]\\[(ref)\\]/)\n .replace('label', _inlineLabel)\n .replace('ref', _blockLabel)\n .getRegex();\n\nconst nolink = edit(/^!?\\[(ref)\\](?:\\[\\])?/)\n .replace('ref', _blockLabel)\n .getRegex();\n\n// `reflink` and `nolink` are anchored, so the tokenizer tries each of them at a\n// single position. `reflinkSearch` drops the anchors and runs with the global\n// flag, which makes every '[' in the source a start position. A label crosses a\n// bracket only by escaping it, and nothing caps how often it does, so a\n// candidate that can never match still scans to the end of the source and the\n// whole pass costs O(n^2).\n//\n// The labels below bound that scan. `_boundedInlineLabel` limits how many\n// escapes, code spans and nested brackets a link text may hold, leaving runs of\n// ordinary characters unbounded so link text of any length is still found.\n// `_boundedBlockLabel` limits the label itself to 999 items, which is every\n// label CommonMark allows: \"A link label can have at most 999 characters\n// inside the square brackets.\"\nconst _boundedBlockLabel = /(?!\\s*\\])(?:\\\\[\\s\\S]|[^\\[\\]\\\\]){1,999}/;\nconst _boundedInlineLabel = edit(/(?:[^\\[\\]\\\\`]*(?:\\[(?:brackets|\\\\[\\s\\S]|[^\\[\\]\\\\])*\\]|\\\\[\\s\\S]|`+(?!`)[^`]*?`+(?!`)|``+(?=\\]))){0,999}?[^\\[\\]\\\\`]*?/)\n .replace('brackets', _inlineLabelBrackets)\n .getRegex();\n\nconst reflinkSearch = edit('reflink|nolink(?!\\\\()', 'g')\n .replace('reflink', edit(/^!?\\[(label)\\]\\[(ref)\\]/)\n .replace('label', _boundedInlineLabel)\n .replace('ref', _boundedBlockLabel)\n .getRegex())\n .replace('nolink', edit(/^!?\\[(ref)\\](?:\\[\\])?/)\n .replace('ref', _boundedBlockLabel)\n .getRegex())\n .getRegex();\n\nconst _caseInsensitiveProtocol = /[hH][tT][tT][pP][sS]?|[fF][tT][pP]/;\nconst _extendedEmail = /[A-Za-z0-9._+-]+@[a-zA-Z0-9-_]+(?:\\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![\\w-])/;\nconst _extendedEmailProtocol = edit(/(?:mailto:email|xmpp:email(?:\\/[A-Za-z0-9@.]+)?)/)\n .replace(/email/g, _extendedEmail)\n .getRegex();\n\n/**\n * Normal Inline Grammar\n */\n\nconst inlineNormal = {\n _backpedal: noopTest, // only used for GFM url\n anyPunctuation,\n anyPunctuationOutsideCode,\n autolink,\n blockSkip,\n br,\n code: inlineCode,\n del: noopTest,\n delLDelim: noopTest,\n delRDelim: noopTest,\n emStrongLDelim,\n emStrongRDelimAst,\n emStrongRDelimUnd,\n escape,\n link,\n nolink,\n punctuation,\n reflink,\n reflinkSearch,\n tag,\n text: inlineText,\n url: noopTest,\n};\n\ntype InlineKeys = keyof typeof inlineNormal;\n\n/**\n * Pedantic Inline Grammar\n */\n\nconst inlinePedantic: Record<InlineKeys, RegExp> = {\n ...inlineNormal,\n emStrongLDelim: emStrongLDelimPedantic,\n emStrongRDelimAst: emStrongRDelimAstPedantic,\n emStrongRDelimUnd: emStrongRDelimUndPedantic,\n link: edit(/^!?\\[(label)\\]\\((.*?)\\)/)\n .replace('label', _inlineLabel)\n .getRegex(),\n reflink: edit(/^!?\\[(label)\\]\\s*\\[([^\\]]*)\\]/)\n .replace('label', _inlineLabel)\n .getRegex(),\n};\n\n/**\n * GFM Inline Grammar\n */\n\nconst inlineGfm: Record<InlineKeys, RegExp> = {\n ...inlineNormal,\n emStrongRDelimAst: emStrongRDelimAstGfm,\n emStrongLDelim: emStrongLDelimGfm,\n delLDelim,\n delRDelim,\n url: edit(/^emailProtocol|^((?:protocol):\\/\\/|www\\.)(?:[a-zA-Z0-9\\-]+\\.?)+[^\\s<]*|^email/)\n .replace('emailProtocol', _extendedEmailProtocol)\n .replace('protocol', _caseInsensitiveProtocol)\n .replace('email', /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![\\w-])/)\n .getRegex(),\n _backpedal: /(?:[^?!.,:;*_'\"~()&]+|\\([^)]*\\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'\"~)]+(?!$))+/,\n del: /^(~~?)(?=[^\\s~])((?:\\\\[\\s\\S]|[^\\\\])*?(?:\\\\[\\s\\S]|[^\\s~\\\\]))\\1(?=[^~]|$)/,\n text: edit(/^(?:[^a-zA-Z0-9](?=emailProtocol)|(`+|~+|[^`~])(?:(?=[`~])|(?= {2,}\\n)|(?=[a-zA-Z0-9.!#$%&'*+\\/=?_`{\\|}~-]+@)|[\\s\\S]*?(?:(?=[\\\\<!\\[`*~_]|\\b_|protocol:\\/\\/|www\\.|$)|[^ ](?= {2,}\\n)|[^a-zA-Z0-9](?=emailProtocol)|[^a-zA-Z0-9.!#$%&'*+\\/=?_`{\\|}~-](?=[a-zA-Z0-9.!#$%&'*+\\/=?_`{\\|}~-]+@))))/)\n .replace('protocol', _caseInsensitiveProtocol)\n .replace(/emailProtocol/g, /(?:mailto|xmpp):/)\n .getRegex(),\n};\n\n/**\n * GFM + Line Breaks Inline Grammar\n */\n\nconst inlineBreaks: Record<InlineKeys, RegExp> = {\n ...inlineGfm,\n br: edit(br).replace('{2,}', '*').getRegex(),\n text: edit(inlineGfm.text)\n .replace('\\\\b_', '\\\\b_| {2,}\\\\n')\n .replace(/\\{2,\\}/g, '*')\n .getRegex(),\n};\n\n/**\n * exports\n */\n\nexport const block = {\n normal: blockNormal,\n gfm: blockGfm,\n pedantic: blockPedantic,\n};\n\nexport const inline = {\n normal: inlineNormal,\n gfm: inlineGfm,\n breaks: inlineBreaks,\n pedantic: inlinePedantic,\n};\n\nexport interface Rules {\n other: typeof other\n block: Record<BlockKeys, RegExp>\n inline: Record<InlineKeys, RegExp>\n}\n", "import { other } from './rules.ts';\n\n/**\n * Helpers\n */\nconst escapeReplacements: { [index: string]: string } = {\n '&': '&amp;',\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n \"'\": '&#39;',\n};\nconst getEscapeReplacement = (ch: string) => escapeReplacements[ch];\n\nexport function escapeHtmlEntities(html: string, encode?: boolean) {\n if (encode) {\n if (other.escapeTest.test(html)) {\n return html.replace(other.escapeReplace, getEscapeReplacement);\n }\n } else {\n if (other.escapeTestNoEncode.test(html)) {\n return html.replace(other.escapeReplaceNoEncode, getEscapeReplacement);\n }\n }\n\n return html;\n}\n\n/**\n * Numeric character references are recognized outside code and are equivalent to the\n * character they name. Values that are zero, out of range, or a surrogate become the\n * replacement character.\n */\nexport function decodeNumericCharacterReferences(text: string) {\n if (!other.numericCharacterReference.test(text)) {\n return text;\n }\n // A decoded character must not join its neighbours into a new reference,\n // so every `&` that is not already one is escaped here.\n return text.replace(other.numericCharacterReferenceOrAmpersand, (ref: string, dec?: string, hex?: string) => {\n if (dec === undefined && hex === undefined) {\n return '&amp;';\n }\n const code = dec === undefined ? Number.parseInt(hex!, 16) : Number.parseInt(dec, 10);\n if (code === 0 || code > 0x10ffff || (code >= 0xd800 && code <= 0xdfff)) {\n return '\uFFFD';\n }\n return code === 38 ? '&amp;' : String.fromCodePoint(code);\n });\n}\n\nexport function cleanUrl(href: string) {\n try {\n href = encodeURI(href).replace(other.percentDecode, '%');\n } catch {\n return null;\n }\n return href;\n}\n\nexport function splitCells(tableRow: string, count?: number) {\n // ensure that every cell-delimiting pipe has a space\n // before it to distinguish it from an escaped pipe\n const row = tableRow.replace(other.findPipe, (match, offset, str) => {\n let escaped = false;\n let curr = offset;\n while (--curr >= 0 && str[curr] === '\\\\') escaped = !escaped;\n if (escaped) {\n // odd number of slashes means | is escaped\n // so we leave it alone\n return '|';\n } else {\n // add space before unescaped |\n return ' |';\n }\n }),\n cells = row.split(other.splitPipe);\n let i = 0;\n\n // First/last cell in a row cannot be empty if it has no leading/trailing pipe\n if (!cells[0].trim()) {\n cells.shift();\n }\n if (cells.length > 0 && !cells.at(-1)?.trim()) {\n cells.pop();\n }\n\n if (count) {\n if (cells.length > count) {\n cells.splice(count);\n } else {\n while (cells.length < count) cells.push('');\n }\n }\n\n for (; i < cells.length; i++) {\n // leading or trailing whitespace is ignored per the gfm spec\n cells[i] = cells[i].trim().replace(other.slashPipe, '|');\n }\n return cells;\n}\n\n/**\n * Remove trailing 'c's. Equivalent to str.replace(/c*$/, '').\n * /c*$/ is vulnerable to REDOS.\n *\n * @param str\n * @param c\n * @param invert Remove suffix of non-c chars instead. Default falsey.\n */\nexport function rtrim(str: string, c: string, invert?: boolean) {\n const l = str.length;\n if (l === 0) {\n return '';\n }\n\n // Length of suffix matching the invert condition.\n let suffLen = 0;\n\n // Step left until we fail to match the invert condition.\n while (suffLen < l) {\n const currChar = str.charAt(l - suffLen - 1);\n if (currChar === c && !invert) {\n suffLen++;\n } else if (currChar !== c && invert) {\n suffLen++;\n } else {\n break;\n }\n }\n\n return str.slice(0, l - suffLen);\n}\n\nexport function trimTrailingBlankLines(str: string) {\n const lines = str.split('\\n');\n let end = lines.length - 1;\n while (end >= 0 && other.blankLine.test(lines[end])) {\n end--;\n }\n if (lines.length - end <= 2) {\n // we want to keep single trailing blank lines\n return str;\n }\n\n return lines.slice(0, end + 1).join('\\n');\n}\n\n/**\n * Normalizes a link label so definitions and references can be matched.\n * CommonMark asks for a Unicode case fold, which `toLowerCase()` does not\n * reach: `\u1E9E` lowercases to `\u00DF` and so never meets `SS`. Round-tripping\n * through upper case does, as in commonmark.js; the final `toLowerCase()`\n * keeps the folded label lower case, the form `def.tag` has always used.\n */\nexport function normalizeLabel(label: string) {\n // The spec also asks for leading and trailing spaces, tabs and line endings\n // to be stripped. Doing it here keeps every call site in agreement: the\n // definition and the reference have to normalize to the same key.\n return label.trim().toLowerCase().toUpperCase().toLowerCase();\n}\n\nexport function findClosingBracket(str: string, b: string) {\n // an opening bracket on its own is still unbalanced, so both have to be absent\n if (str.indexOf(b[0]) === -1 && str.indexOf(b[1]) === -1) {\n return -1;\n }\n\n let level = 0;\n for (let i = 0; i < str.length; i++) {\n if (str[i] === '\\\\') {\n i++;\n } else if (str[i] === b[0]) {\n level++;\n } else if (str[i] === b[1]) {\n level--;\n if (level < 0) {\n return i;\n }\n }\n }\n if (level > 0) {\n return -2;\n }\n\n return -1;\n}\n\nexport function expandTabs(line: string, indent = 0) {\n let col = indent;\n let expanded = '';\n for (const char of line) {\n if (char === '\\t') {\n const added = 4 - (col % 4);\n expanded += ' '.repeat(added);\n col += added;\n } else {\n expanded += char;\n col++;\n }\n }\n\n return expanded;\n}\n", "import { _defaults } from './defaults.ts';\nimport {\n rtrim,\n splitCells,\n findClosingBracket,\n expandTabs,\n normalizeLabel,\n decodeNumericCharacterReferences,\n trimTrailingBlankLines,\n} from './helpers.ts';\nimport type { Rules } from './rules.ts';\nimport type { _Lexer } from './Lexer.ts';\nimport type { Links, Tokens, Token } from './Tokens.ts';\nimport type { MarkedOptions } from './MarkedOptions.ts';\n\nfunction outputLink(cap: string[], link: Pick<Tokens.Link, 'href' | 'title'>, raw: string, lexer: _Lexer, rules: Rules): Tokens.Link | Tokens.Image | undefined {\n const href = link.href;\n const title = link.title || null;\n const text = cap[1].replace(rules.other.outputLinkReplace, '$1');\n const isImage = cap[0].charAt(0) === '!';\n\n const outerInLink = lexer.state.inLink;\n const outerLinkEmitted = lexer.state.linkEmitted;\n const outerInRawBlock = lexer.state.inRawBlock;\n lexer.state.inLink = true;\n lexer.state.linkEmitted = false;\n const tokens = lexer.inlineTokens(text);\n const textHasLink = lexer.state.linkEmitted;\n lexer.state.linkEmitted = outerLinkEmitted;\n lexer.state.inLink = outerInLink;\n\n if (!isImage) {\n // CommonMark: \"Links may not contain other links, at any level of nesting.\"\n // Bail so the caller falls through to text and the inner link is the one kept.\n // Images are exempt: their text is flattened into an alt attribute.\n if (textHasLink) {\n // these tokens are discarded, so undo the raw-block state they opened;\n // leaving it set would suppress escaping for the text that is re-scanned\n lexer.state.inRawBlock = outerInRawBlock;\n return;\n }\n lexer.state.linkEmitted = true;\n }\n\n return {\n type: isImage ? 'image' : 'link',\n raw,\n href,\n title,\n text,\n tokens,\n };\n}\n\nfunction indentCodeCompensation(raw: string, text: string, rules: Rules) {\n const matchIndentToCode = raw.match(rules.other.indentCodeCompensation);\n\n if (matchIndentToCode === null) {\n return text;\n }\n\n const indentToCode = matchIndentToCode[1];\n\n return text\n .split('\\n')\n .map(node => {\n const matchIndentInNode = node.match(rules.other.beginningSpace);\n if (matchIndentInNode === null) {\n return node;\n }\n\n const [indentInNode] = matchIndentInNode;\n\n // Up to the fence's own indentation is removed from each line, so a line\n // indented less than the fence loses whatever indentation it has.\n return node.slice(Math.min(indentInNode.length, indentToCode.length));\n })\n .join('\\n');\n}\n\nfunction isLabelEndInsideToken(src: string, label: string, labelStart: number, rules: Rules) {\n if (!label.includes('<')) {\n return false;\n }\n\n for (let i = 0; i < label.length; i++) {\n if (label[i] === '\\\\') {\n i++;\n continue;\n }\n\n if (label[i] === '`') {\n const code = rules.inline.code.exec(label.slice(i));\n if (code) {\n i += code[0].length - 1;\n continue;\n }\n }\n\n if (label[i] !== '<') {\n continue;\n }\n\n const tokenSrc = src.slice(labelStart + i);\n const token = rules.inline.tag.exec(tokenSrc) || rules.inline.autolink.exec(tokenSrc);\n if (!token) {\n continue;\n }\n\n if (token[0].length > label.length - i) {\n return true;\n }\n i += token[0].length - 1;\n }\n return false;\n}\n\n/**\n * Tokenizer\n */\nexport class _Tokenizer<ParserOutput = string, RendererOutput = string> {\n options: MarkedOptions<ParserOutput, RendererOutput>;\n rules!: Rules; // set by the lexer\n lexer!: _Lexer<ParserOutput, RendererOutput>; // set by the lexer\n\n constructor(options?: MarkedOptions<ParserOutput, RendererOutput>) {\n this.options = options || _defaults;\n }\n\n space(src: string): Tokens.Space | undefined {\n const cap = this.rules.block.newline.exec(src);\n if (cap && cap[0].length > 0) {\n return {\n type: 'space',\n raw: cap[0],\n };\n }\n }\n\n code(src: string): Tokens.Code | undefined {\n const cap = this.rules.block.code.exec(src);\n if (cap) {\n const raw = this.options.pedantic\n ? cap[0]\n : trimTrailingBlankLines(cap[0]);\n const text = raw.replace(this.rules.other.codeRemoveIndent, '');\n return {\n type: 'code',\n raw,\n codeBlockStyle: 'indented',\n text,\n };\n }\n }\n\n fences(src: string): Tokens.Code | undefined {\n const cap = this.rules.block.fences.exec(src);\n if (cap) {\n const raw = cap[0];\n const text = indentCodeCompensation(raw, cap[3] || '', this.rules);\n\n return {\n type: 'code',\n raw,\n lang: cap[2] ? cap[2].trim().replace(this.rules.inline.anyPunctuation, '$1') : cap[2],\n text,\n };\n }\n }\n\n heading(src: string): Tokens.Heading | undefined {\n const cap = this.rules.block.heading.exec(src);\n if (cap) {\n let text = cap[2].trim();\n\n // remove trailing #s\n if (this.rules.other.endingHash.test(text)) {\n const trimmed = rtrim(text, '#');\n if (this.options.pedantic) {\n text = trimmed.trim();\n } else if (!trimmed || this.rules.other.endingSpaceTabChar.test(trimmed)) {\n // CommonMark requires a space or tab before trailing #s\n text = trimmed.trim();\n }\n }\n\n return {\n type: 'heading',\n raw: rtrim(cap[0], '\\n'),\n depth: cap[1].length,\n text,\n tokens: this.lexer.inline(text),\n };\n }\n }\n\n hr(src: string): Tokens.Hr | undefined {\n const cap = this.rules.block.hr.exec(src);\n if (cap) {\n return {\n type: 'hr',\n raw: rtrim(cap[0], '\\n'),\n };\n }\n }\n\n blockquote(src: string): Tokens.Blockquote | undefined {\n const cap = this.rules.block.blockquote.exec(src);\n if (cap) {\n let lines = rtrim(cap[0], '\\n').split('\\n');\n let raw = '';\n let text = '';\n const tokens: Token[] = [];\n\n while (lines.length > 0) {\n let inBlockquote = false;\n const currentLines = [];\n\n let i;\n for (i = 0; i < lines.length; i++) {\n // get lines up to a continuation\n if (this.rules.other.blockquoteStart.test(lines[i])) {\n currentLines.push(lines[i]);\n inBlockquote = true;\n } else if (!inBlockquote) {\n currentLines.push(lines[i]);\n } else {\n break;\n }\n }\n lines = lines.slice(i);\n\n const currentRaw = currentLines.join('\\n');\n const currentText = currentRaw\n // precede setext continuation with 4 spaces so it isn't a setext\n .replace(this.rules.other.blockquoteSetextReplace, '\\n $1')\n .replace(this.rules.other.blockquoteSetextReplace2, '');\n raw = raw ? `${raw}\\n${currentRaw}` : currentRaw;\n text = text ? `${text}\\n${currentText}` : currentText;\n\n // parse blockquote lines as top level tokens\n // merge paragraphs if this is a continuation\n const top = this.lexer.state.top;\n this.lexer.state.top = true;\n this.lexer.blockTokens(currentText, tokens, true);\n this.lexer.state.top = top;\n\n // if there is no continuation then we are done\n if (lines.length === 0) {\n break;\n }\n\n const lastToken = tokens.at(-1);\n\n if (lastToken?.type === 'code' || lastToken?.type === 'heading' || lastToken?.type === 'hr' || lastToken?.type === 'html') {\n // blockquote continuation cannot be preceded by a code block, heading, hr or html block\n break;\n } else if (lastToken?.type === 'blockquote') {\n // include continuation in nested blockquote\n const oldToken = lastToken as Tokens.Blockquote;\n // The continuation lines belong to the same nesting frame as the\n // nested blockquote, which already had one '>' marker stripped, so\n // strip one marker from them too. Otherwise a restated marker after a\n // lazy line is re-parsed as a spurious deeper blockquote.\n const continuation = lines.join('\\n');\n const newText = oldToken.raw + '\\n' + continuation.replace(this.rules.other.blockquoteSetextReplace2, '');\n const newToken = this.blockquote(newText)!;\n tokens[tokens.length - 1] = newToken;\n\n // Only include continuation lines the nested blockquote actually\n // consumed. Unconsumed trailing lines must stay out of `raw` so the\n // lexer can still tokenize them (paragraph, next blockquote, etc.).\n const leftover = newText.substring(newToken.raw.length).replace(/^\\n/, '');\n const leftoverCount = leftover ? leftover.split('\\n').length : 0;\n const consumed = leftoverCount ? lines.slice(0, -leftoverCount) : lines;\n if (consumed.length > 0) {\n raw = `${raw}\\n${consumed.join('\\n')}`;\n }\n text = text.substring(0, text.length - oldToken.text.length) + newToken.text;\n break;\n } else if (lastToken?.type === 'list') {\n // include continuation in nested list\n const oldToken = lastToken as Tokens.List;\n const newText = oldToken.raw + '\\n' + lines.join('\\n');\n const newToken = this.list(newText)!;\n tokens[tokens.length - 1] = newToken;\n\n raw = raw.substring(0, raw.length - lastToken.raw.length) + newToken.raw;\n text = text.substring(0, text.length - oldToken.raw.length) + newToken.raw;\n lines = newText.substring(tokens.at(-1)!.raw.length).split('\\n');\n continue;\n }\n }\n\n return {\n type: 'blockquote',\n raw,\n tokens,\n text,\n };\n }\n }\n\n list(src: string): Tokens.List | undefined {\n let cap = this.rules.block.list.exec(src);\n if (cap) {\n // src is only consumed from the front, so every raw below is a slice of\n // listSrc rather than a string built up line by line\n const listSrc = src;\n const taken = () => listSrc.length - src.length;\n let bull = cap[1].trim();\n const isordered = bull.length > 1;\n\n const list: Tokens.List = {\n type: 'list',\n raw: '',\n ordered: isordered,\n start: isordered ? +bull.slice(0, -1) : '',\n loose: false,\n items: [],\n };\n\n bull = isordered ? `\\\\d{1,9}\\\\${bull.slice(-1)}` : `\\\\${bull}`;\n\n if (this.options.pedantic) {\n bull = isordered ? bull : '[*+-]';\n }\n\n // Get next list item\n const itemRegex = this.rules.other.listItemRegex(bull);\n let endsWithBlankLine = false;\n // Check if current bullet point can start a new List Item\n while (src) {\n let endEarly = false;\n let itemContents = '';\n if (!(cap = itemRegex.exec(src))) {\n break;\n }\n\n if (this.rules.block.hr.test(src)) { // End list if bullet was actually HR (possibly move into itemRegex?)\n break;\n }\n\n const itemStart = taken();\n src = src.substring(cap[0].length);\n\n const firstLine = cap[2].split('\\n', 1)[0];\n const bulletIndent = cap[1].length;\n let line = this.options.pedantic\n ? expandTabs(firstLine, bulletIndent)\n : firstLine.replace(this.rules.other.leadingSpaceTab, whitespace => expandTabs(whitespace, bulletIndent));\n let nextLine = src.split('\\n', 1)[0];\n let blankLine = !line.trim();\n\n let indent = 0;\n if (this.options.pedantic) {\n indent = 2;\n itemContents = line.trimStart();\n } else if (blankLine) {\n indent = bulletIndent + 1;\n } else {\n indent = line.search(this.rules.other.nonSpaceChar); // Find first non-space char\n indent = indent > 4 ? 1 : indent; // Treat indented code blocks (> 4 spaces) as having only 1 indent\n itemContents = line.slice(indent);\n indent += bulletIndent;\n }\n\n if (blankLine && this.rules.other.blankLine.test(nextLine)) { // Items begin with at most one blank line\n src = src.substring(nextLine.length + 1);\n endEarly = true;\n }\n\n if (!endEarly) {\n const nextBulletRegex = this.rules.other.nextBulletRegex(indent);\n const hrRegex = this.rules.other.hrRegex(indent);\n const fencesBeginRegex = this.rules.other.fencesBeginRegex(indent);\n const headingBeginRegex = this.rules.other.headingBeginRegex(indent);\n const htmlBeginRegex = this.rules.other.htmlBeginRegex(indent);\n const blockquoteBeginRegex = this.rules.other.blockquoteBeginRegex(indent);\n\n // Check if following lines should be included in List Item\n while (src) {\n const rawLine = src.split('\\n', 1)[0];\n let nextLineWithoutTabs;\n nextLine = rawLine;\n\n // Re-align to follow commonmark nesting rules\n if (this.options.pedantic) {\n nextLine = nextLine.replace(this.rules.other.listReplaceNesting, ' ');\n nextLineWithoutTabs = nextLine;\n } else {\n nextLineWithoutTabs = nextLine.replace(this.rules.other.leadingSpaceTab, whitespace => expandTabs(whitespace));\n }\n\n // End list item if found code fences\n if (fencesBeginRegex.test(nextLine)) {\n break;\n }\n\n // End list item if found start of new heading\n if (headingBeginRegex.test(nextLine)) {\n break;\n }\n\n // End list item if found start of html block\n if (htmlBeginRegex.test(nextLine)) {\n break;\n }\n\n // End list item if found start of blockquote\n if (blockquoteBeginRegex.test(nextLine)) {\n break;\n }\n\n // End list item if found start of new bullet\n if (nextBulletRegex.test(nextLine)) {\n break;\n }\n\n // Horizontal rule found\n if (hrRegex.test(nextLine)) {\n break;\n }\n\n if (nextLineWithoutTabs.search(this.rules.other.nonSpaceChar) >= indent || !nextLine.trim()) { // Dedent if possible\n itemContents += '\\n' + nextLineWithoutTabs.slice(indent);\n } else {\n // not enough indentation\n if (blankLine) {\n break;\n }\n\n // paragraph continuation unless last line was a different block level element\n if (line.replace(this.rules.other.tabCharGlobal, ' ').search(this.rules.other.nonSpaceChar) >= 4) { // indented code block\n break;\n }\n if (fencesBeginRegex.test(line)) {\n break;\n }\n if (headingBeginRegex.test(line)) {\n break;\n }\n if (hrRegex.test(line)) {\n break;\n }\n\n itemContents += '\\n' + nextLine;\n }\n\n blankLine = !nextLine.trim();\n\n src = src.substring(rawLine.length + 1);\n line = nextLineWithoutTabs.slice(indent);\n }\n }\n\n // The loops above appended a '\\n' the source may not have had. It could\n // only land on the item that exhausts src, whose raw is trimmed below,\n // and after which nothing reads endsWithBlankLine\n const raw = listSrc.slice(itemStart, taken());\n\n if (!list.loose) {\n // If the previous item ended with a blank line, the list is loose\n if (endsWithBlankLine) {\n list.loose = true;\n } else if (this.rules.other.doubleBlankLine.test(raw)) {\n endsWithBlankLine = true;\n }\n }\n\n list.items.push({\n type: 'list_item',\n raw,\n task: !!this.options.gfm && this.rules.other.listIsTask.test(itemContents),\n loose: false,\n text: itemContents,\n tokens: [],\n });\n }\n\n // Do not consume newlines at end of final item. Alternatively, make itemRegex *start* with any newlines to simplify/speed up endsWithBlankLine logic\n const lastItem = list.items.at(-1);\n if (lastItem) {\n lastItem.raw = lastItem.raw.trimEnd();\n lastItem.text = lastItem.text.trimEnd();\n } else {\n // not a list since there were no items\n return;\n }\n list.raw = listSrc.slice(0, taken()).trimEnd();\n\n // Item child tokens handled here at end because we needed to have the final item to trim it first\n // First pass: tokenize items and finalize list.loose from spacers before placing checkboxes\n for (const item of list.items) {\n this.lexer.state.top = false;\n item.tokens = this.lexer.blockTokens(item.text, []);\n\n if (!list.loose) {\n // Check if list should be loose\n const spacers = item.tokens.filter(t => t.type === 'space');\n const hasMultipleLineBreaks = spacers.length > 0 && spacers.some(t => this.rules.other.anyLine.test(t.raw));\n\n list.loose = hasMultipleLineBreaks;\n }\n }\n\n // Second pass: place task checkboxes using the final list.loose\n for (const item of list.items) {\n const itemToken = item.tokens[0];\n if (item.task && (itemToken?.type === 'text' || itemToken?.type === 'paragraph')) {\n // Remove checkbox markdown from item tokens\n item.text = item.text.replace(this.rules.other.listReplaceTask, '');\n itemToken.raw = itemToken.raw.replace(this.rules.other.listReplaceTask, '');\n itemToken.text = itemToken.text.replace(this.rules.other.listReplaceTask, '');\n for (let i = this.lexer.inlineQueue.length - 1; i >= 0; i--) {\n if (this.rules.other.listIsTask.test(this.lexer.inlineQueue[i].src)) {\n this.lexer.inlineQueue[i].src = this.lexer.inlineQueue[i].src.replace(this.rules.other.listReplaceTask, '');\n break;\n }\n }\n\n const taskRaw = this.rules.other.listTaskCheckbox.exec(item.raw);\n if (taskRaw) {\n const checkboxToken: Tokens.Checkbox = {\n type: 'checkbox',\n raw: taskRaw[0] + ' ',\n checked: taskRaw[0] !== '[ ]',\n };\n item.checked = checkboxToken.checked;\n if (list.loose) {\n if (item.tokens[0] && ['paragraph', 'text'].includes(item.tokens[0].type) && 'tokens' in item.tokens[0] && item.tokens[0].tokens) {\n item.tokens[0].raw = checkboxToken.raw + item.tokens[0].raw;\n item.tokens[0].text = checkboxToken.raw + item.tokens[0].text;\n item.tokens[0].tokens.unshift(checkboxToken);\n } else {\n item.tokens.unshift({\n type: 'paragraph',\n raw: checkboxToken.raw,\n text: checkboxToken.raw,\n tokens: [checkboxToken],\n });\n }\n } else {\n item.tokens.unshift(checkboxToken);\n }\n }\n } else if (item.task) {\n item.task = false;\n }\n }\n\n // Set all items to loose if list is loose\n if (list.loose) {\n for (const item of list.items) {\n item.loose = true;\n for (const token of item.tokens) {\n if (token.type === 'text') {\n token.type = 'paragraph';\n }\n }\n }\n }\n\n return list;\n }\n }\n\n html(src: string): Tokens.HTML | undefined {\n const cap = this.rules.block.html.exec(src);\n if (cap) {\n const raw = trimTrailingBlankLines(cap[0]);\n const token: Tokens.HTML = {\n type: 'html',\n block: true,\n raw,\n pre: cap[1] === 'pre' || cap[1] === 'script' || cap[1] === 'style',\n text: raw,\n };\n return token;\n }\n }\n\n def(src: string): Tokens.Def | undefined {\n const cap = this.rules.block.def.exec(src);\n if (cap) {\n // outside angle brackets a link destination holds only balanced parentheses\n if (!this.rules.other.startAngleBracket.test(cap[2]) && findClosingBracket(cap[2], '()') !== -1) {\n return;\n }\n\n const tag = normalizeLabel(cap[1]).replace(this.rules.other.multipleSpaceGlobal, ' ');\n const href = cap[2] ? cap[2].replace(this.rules.other.hrefBrackets, '$1').replace(this.rules.inline.anyPunctuation, '$1') : '';\n const title = cap[3] ? cap[3].substring(1, cap[3].length - 1).replace(this.rules.inline.anyPunctuation, '$1') : cap[3];\n return {\n type: 'def',\n tag,\n raw: rtrim(cap[0], '\\n'),\n href,\n title,\n };\n }\n }\n\n table(src: string): Tokens.Table | undefined {\n const cap = this.rules.block.table.exec(src);\n if (!cap) {\n return;\n }\n\n if (!this.rules.other.tableDelimiter.test(cap[2])) {\n // delimiter row must have a pipe (|) or colon (:) otherwise it is a setext heading\n return;\n }\n\n const headers = splitCells(cap[1]);\n const aligns = cap[2].replace(this.rules.other.tableAlignChars, '').split('|');\n const rows = cap[3]?.trim() ? cap[3].replace(this.rules.other.tableRowBlankLine, '').split('\\n') : [];\n\n const item: Tokens.Table = {\n type: 'table',\n raw: rtrim(cap[0], '\\n'),\n header: [],\n align: [],\n rows: [],\n };\n\n if (headers.length !== aligns.length) {\n // header and align columns must be equal, rows can be different.\n return;\n }\n\n for (const align of aligns) {\n if (this.rules.other.tableAlignRight.test(align)) {\n item.align.push('right');\n } else if (this.rules.other.tableAlignCenter.test(align)) {\n item.align.push('center');\n } else if (this.rules.other.tableAlignLeft.test(align)) {\n item.align.push('left');\n } else {\n item.align.push(null);\n }\n }\n\n for (let i = 0; i < headers.length; i++) {\n item.header.push({\n text: headers[i],\n tokens: this.lexer.inline(headers[i]),\n header: true,\n align: item.align[i],\n });\n }\n\n for (const row of rows) {\n item.rows.push(splitCells(row, item.header.length).map((cell, i) => {\n return {\n text: cell,\n tokens: this.lexer.inline(cell),\n header: false,\n align: item.align[i],\n };\n }));\n }\n\n return item;\n }\n\n lheading(src: string): Tokens.Heading | undefined {\n const cap = this.rules.block.lheading.exec(src);\n if (cap) {\n const text = cap[1].trim();\n return {\n type: 'heading',\n raw: rtrim(cap[0], '\\n'),\n depth: cap[2].charAt(0) === '=' ? 1 : 2,\n text,\n tokens: this.lexer.inline(text),\n };\n }\n }\n\n paragraph(src: string): Tokens.Paragraph | undefined {\n const cap = this.rules.block.paragraph.exec(src);\n if (cap) {\n const text = cap[1].charAt(cap[1].length - 1) === '\\n'\n ? cap[1].slice(0, -1)\n : cap[1];\n return {\n type: 'paragraph',\n raw: cap[0],\n text,\n tokens: this.lexer.inline(text),\n };\n }\n }\n\n text(src: string): Tokens.Text | undefined {\n const cap = this.rules.block.text.exec(src);\n if (cap) {\n return {\n type: 'text',\n raw: cap[0],\n text: cap[0],\n tokens: this.lexer.inline(cap[0]),\n };\n }\n }\n\n escape(src: string): Tokens.Escape | undefined {\n const cap = this.rules.inline.escape.exec(src);\n if (cap) {\n return {\n type: 'escape',\n raw: cap[0],\n text: cap[1],\n };\n }\n }\n\n tag(src: string): Tokens.Tag | undefined {\n const cap = this.rules.inline.tag.exec(src);\n if (cap) {\n if (!this.lexer.state.inLink && this.rules.other.startATag.test(cap[0])) {\n this.lexer.state.inLink = true;\n } else if (this.lexer.state.inLink && this.rules.other.endATag.test(cap[0])) {\n this.lexer.state.inLink = false;\n }\n if (!this.lexer.state.inRawBlock && this.rules.other.startPreScriptTag.test(cap[0])) {\n this.lexer.state.inRawBlock = true;\n } else if (this.lexer.state.inRawBlock && this.rules.other.endPreScriptTag.test(cap[0])) {\n this.lexer.state.inRawBlock = false;\n }\n\n return {\n type: 'html',\n raw: cap[0],\n inLink: this.lexer.state.inLink,\n inRawBlock: this.lexer.state.inRawBlock,\n block: false,\n text: cap[0],\n };\n }\n }\n\n link(src: string): Tokens.Link | Tokens.Image | undefined {\n // The link regex backtracks quadratically over unterminated-link inputs\n // like '[a](b'.repeat(n): at every '[' its greedy unquoted-href run\n // re-partitions the whole remainder while hunting for a ')' that never\n // comes. inlineTokens anchors one paren scan per run in\n // state.linkParenPossible; when it is false the regex cannot match, so\n // bail out before running it.\n if (this.lexer.state.linkParenPossible === false) {\n return undefined;\n }\n const cap = this.rules.inline.link.exec(src);\n if (cap) {\n const labelStart = cap[0].charAt(0) === '!' ? 2 : 1;\n if (!this.options.pedantic && isLabelEndInsideToken(src, cap[1], labelStart, this.rules)) {\n return;\n }\n\n const trimmedUrl = cap[2].trim();\n if (!this.options.pedantic && this.rules.other.startAngleBracket.test(trimmedUrl)) {\n // commonmark requires matching angle brackets\n if (!(this.rules.other.endAngleBracket.test(trimmedUrl))) {\n return;\n }\n\n // ending angle bracket cannot be escaped\n const rtrimSlash = rtrim(trimmedUrl.slice(0, -1), '\\\\');\n if ((trimmedUrl.length - rtrimSlash.length) % 2 === 0) {\n return;\n }\n } else {\n // find closing parenthesis\n const lastParenIndex = findClosingBracket(cap[2], '()');\n if (lastParenIndex === -2) {\n // more open parens than closed\n return;\n }\n\n if (lastParenIndex > -1) {\n const start = cap[0].indexOf('!') === 0 ? 5 : 4;\n const linkLen = start + cap[1].length + lastParenIndex;\n cap[2] = cap[2].substring(0, lastParenIndex);\n cap[0] = cap[0].substring(0, linkLen).trim();\n cap[3] = '';\n }\n }\n let href = cap[2];\n let title = '';\n if (this.options.pedantic) {\n // split pedantic href and title\n const link = this.rules.other.pedanticHrefTitle.exec(href);\n\n if (link) {\n href = link[1];\n title = link[3];\n }\n } else {\n title = cap[3] ? cap[3].slice(1, -1) : '';\n }\n\n href = href.trim();\n if (this.rules.other.startAngleBracket.test(href)) {\n if (this.options.pedantic && !(this.rules.other.endAngleBracket.test(trimmedUrl))) {\n // pedantic allows starting angle bracket without ending angle bracket\n href = href.slice(1);\n } else {\n href = href.slice(1, -1);\n }\n }\n return outputLink(cap, {\n href: href ? href.replace(this.rules.inline.anyPunctuation, '$1') : href,\n title: title ? title.replace(this.rules.inline.anyPunctuation, '$1') : title,\n }, cap[0], this.lexer, this.rules);\n }\n }\n\n reflink(src: string, links: Links): Tokens.Link | Tokens.Image | Tokens.Text | undefined {\n let cap;\n if ((cap = this.rules.inline.reflink.exec(src))\n || (cap = this.rules.inline.nolink.exec(src))) {\n const labelStart = cap[0].charAt(0) === '!' ? 2 : 1;\n if (!this.options.pedantic && isLabelEndInsideToken(src, cap[1], labelStart, this.rules)) {\n return;\n }\n\n const linkString = (cap[2] || cap[1]).replace(this.rules.other.multipleSpaceGlobal, ' ');\n const link = links[normalizeLabel(linkString)];\n if (!link) {\n const text = cap[0].charAt(0);\n return {\n type: 'text',\n raw: text,\n text,\n };\n }\n return outputLink(cap, link, cap[0], this.lexer, this.rules);\n }\n }\n\n emStrong(src: string, maskedSrc: string, prevChar = ''): Tokens.Em | Tokens.Strong | undefined {\n let match = this.rules.inline.emStrongLDelim.exec(src);\n if (!match) return;\n if (!match[1] && !match[2] && !match[3] && !match[4]) return;\n\n // _ can't be between two alphanumerics. \\p{L}\\p{N} includes non-english alphabet/numbers as well\n if (match[4] && prevChar.match(this.rules.other.unicodeAlphaNumeric)) return;\n\n const nextChar = match[1] || match[3] || '';\n\n if (!nextChar || !prevChar || this.rules.inline.punctuation.exec(prevChar)) {\n // unicode Regex counts emoji as 1 char; spread into array for proper count (used multiple times below)\n const lLength = [...match[0]].length - 1;\n let rDelim, rLength, delimTotal = lLength, midDelimTotal = 0;\n\n const delimChar = match[0][0];\n // A mid-run opener (for example the second star of an unmatched `**`) must\n // only pair with a delimiter that can only close, otherwise it steals the\n // opener of a later span (`**a*b*c` must be `**a<em>b</em>c`).\n const midRun = prevChar === delimChar;\n const endReg = delimChar === '*' ? this.rules.inline.emStrongRDelimAst : this.rules.inline.emStrongRDelimUnd;\n endReg.lastIndex = 0;\n\n // Clip maskedSrc to same section of string as src (move to lexer?)\n maskedSrc = maskedSrc.slice(-1 * src.length + lLength);\n\n while ((match = endReg.exec(maskedSrc)) !== null) {\n rDelim = match[1] || match[2] || match[3] || match[4] || match[5] || match[6];\n\n if (!rDelim) continue; // skip single * in __abc*abc__\n\n rLength = [...rDelim].length;\n\n if (match[3] || match[4]) { // found another Left Delim\n delimTotal += rLength;\n continue;\n } else if (match[5] || match[6]) { // either Left or Right Delim\n if (lLength % 3 && !((lLength + rLength) % 3)) {\n midDelimTotal += rLength;\n continue; // CommonMark Emphasis Rules 9-10\n }\n if (midRun) {\n // A mid-run opener cannot close against an ambiguous delimiter that\n // can also open; that delimiter opens its own emphasis span instead.\n break;\n }\n }\n\n delimTotal -= rLength;\n\n if (delimTotal > 0) continue; // Haven't found enough closing delimiters\n\n // Remove extra characters. *a*** -> *a*\n rLength = Math.min(rLength, rLength + delimTotal + midDelimTotal);\n // char length can be >1 for unicode characters;\n const lastCharLength = [...match[0]][0].length;\n const raw = src.slice(0, lLength + match.index + lastCharLength + rLength);\n\n // Create `em` if smallest delimiter has odd char count. *a***\n if (Math.min(lLength, rLength) % 2) {\n const text = raw.slice(1, -1);\n return {\n type: 'em',\n raw,\n text,\n tokens: this.lexer.inlineTokens(text),\n };\n }\n\n // Create 'strong' if smallest delimiter has even char count. **a***\n const text = raw.slice(2, -2);\n return {\n type: 'strong',\n raw,\n text,\n tokens: this.lexer.inlineTokens(text),\n };\n }\n }\n }\n\n codespan(src: string): Tokens.Codespan | undefined {\n const cap = this.rules.inline.code.exec(src);\n if (cap) {\n let text = cap[2].replace(this.rules.other.newLineCharGlobal, ' ');\n const hasNonSpaceChars = this.rules.other.nonSpaceChar.test(text);\n const hasSpaceCharsOnBothEnds = this.rules.other.startingSpaceChar.test(text) && this.rules.other.endingSpaceChar.test(text);\n if (hasNonSpaceChars && hasSpaceCharsOnBothEnds) {\n text = text.substring(1, text.length - 1);\n }\n return {\n type: 'codespan',\n raw: cap[0],\n text,\n };\n }\n }\n\n br(src: string): Tokens.Br | undefined {\n const cap = this.rules.inline.br.exec(src);\n if (cap) {\n return {\n type: 'br',\n raw: cap[0],\n };\n }\n }\n\n del(src: string, maskedSrc: string, prevChar = ''): Tokens.Del | undefined {\n let match = this.rules.inline.delLDelim.exec(src);\n if (!match) return;\n\n const nextChar = match[1] || '';\n\n if (!nextChar || !prevChar || this.rules.inline.punctuation.exec(prevChar)) {\n // unicode Regex counts emoji as 1 char; spread into array for proper count\n const lLength = [...match[0]].length - 1;\n let rDelim, rLength, delimTotal = lLength;\n\n const endReg = this.rules.inline.delRDelim;\n endReg.lastIndex = 0;\n\n // Clip maskedSrc to same section of string as src\n maskedSrc = maskedSrc.slice(-1 * src.length + lLength);\n\n while ((match = endReg.exec(maskedSrc)) !== null) {\n rDelim = match[1] || match[2] || match[3] || match[4] || match[5] || match[6];\n\n if (!rDelim) continue;\n\n rLength = [...rDelim].length;\n\n if (rLength !== lLength) continue;\n\n if (match[3] || match[4]) { // found another Left Delim\n delimTotal += rLength;\n continue;\n }\n\n delimTotal -= rLength;\n\n if (delimTotal > 0) continue; // Haven't found enough closing delimiters\n\n // Remove extra characters\n rLength = Math.min(rLength, rLength + delimTotal);\n // char length can be >1 for unicode characters\n const lastCharLength = [...match[0]][0].length;\n const raw = src.slice(0, lLength + match.index + lastCharLength + rLength);\n\n // Create del token - only single ~ or double ~~ supported\n const text = raw.slice(lLength, -lLength);\n return {\n type: 'del',\n raw,\n text,\n tokens: this.lexer.inlineTokens(text),\n };\n }\n }\n }\n\n autolink(src: string): Tokens.Link | undefined {\n const cap = this.rules.inline.autolink.exec(src);\n if (cap) {\n let text, href;\n if (cap[2] === '@') {\n text = cap[1];\n href = 'mailto:' + text;\n } else {\n text = cap[1];\n href = text;\n }\n\n return {\n type: 'link',\n raw: cap[0],\n text,\n href,\n autolink: true,\n tokens: [\n {\n type: 'text',\n raw: text,\n text,\n },\n ],\n };\n }\n }\n\n url(src: string): Tokens.Link | undefined {\n let cap;\n if (cap = this.rules.inline.url.exec(src)) {\n let text, href;\n if (cap[2] === '@') {\n text = cap[0];\n href = 'mailto:' + text;\n } else {\n // do extended autolink path validation\n let prevCapZero;\n do {\n prevCapZero = cap[0];\n cap[0] = this.rules.inline._backpedal.exec(cap[0])?.[0] ?? '';\n } while (prevCapZero !== cap[0]);\n text = cap[0];\n if (cap[1] === 'www.') {\n href = 'http://' + cap[0];\n } else {\n href = cap[0];\n }\n }\n return {\n type: 'link',\n raw: cap[0],\n text,\n href,\n autolink: true,\n tokens: [\n {\n type: 'text',\n raw: text,\n text,\n },\n ],\n };\n }\n }\n\n inlineText(src: string): Tokens.Text | undefined {\n const cap = this.rules.inline.text.exec(src);\n if (cap) {\n const escaped = this.lexer.state.inRawBlock;\n return {\n type: 'text',\n raw: cap[0],\n // raw HTML keeps whatever it was written with, everywhere else a numeric\n // character reference stands for the character itself\n text: escaped ? cap[0] : decodeNumericCharacterReferences(cap[0]),\n escaped,\n };\n }\n }\n}\n", "import { _Tokenizer } from './Tokenizer.ts';\nimport { _defaults } from './defaults.ts';\nimport { other, block, inline } from './rules.ts';\nimport { normalizeLabel } from './helpers.ts';\nimport type { Token, TokensList, Tokens } from './Tokens.ts';\nimport type { MarkedOptions } from './MarkedOptions.ts';\n\n/**\n * Block Lexer\n */\nexport class _Lexer<ParserOutput = string, RendererOutput = string> {\n tokens: TokensList;\n options: MarkedOptions<ParserOutput, RendererOutput>;\n state: {\n inLink: boolean;\n inRawBlock: boolean;\n /** a link was produced in the inline run currently being scanned */\n linkEmitted: boolean;\n /**\n * false while scanning an inline run whose source contains no ')',\n * letting Tokenizer.link bail out before its quadratic backtracking.\n * Anchored once per run by inlineTokens.\n */\n linkParenPossible: boolean;\n top: boolean;\n };\n\n public inlineQueue: { src: string, tokens: Token[] }[];\n\n private tokenizer: _Tokenizer<ParserOutput, RendererOutput>;\n\n constructor(options?: MarkedOptions<ParserOutput, RendererOutput>) {\n // TokenList cannot be created in one go\n this.tokens = [] as unknown as TokensList;\n this.tokens.links = Object.create(null);\n this.options = options || _defaults;\n this.options.tokenizer = this.options.tokenizer || new _Tokenizer<ParserOutput, RendererOutput>();\n this.tokenizer = this.options.tokenizer;\n this.tokenizer.options = this.options;\n this.tokenizer.lexer = this;\n this.inlineQueue = [];\n this.state = {\n inLink: false,\n inRawBlock: false,\n linkEmitted: false,\n linkParenPossible: true,\n top: true,\n };\n\n const rules = {\n other,\n block: block.normal,\n inline: inline.normal,\n };\n\n if (this.options.pedantic) {\n rules.block = block.pedantic;\n rules.inline = inline.pedantic;\n } else if (this.options.gfm) {\n rules.block = block.gfm;\n if (this.options.breaks) {\n rules.inline = inline.breaks;\n } else {\n rules.inline = inline.gfm;\n }\n }\n this.tokenizer.rules = rules;\n }\n\n /**\n * Expose Rules\n */\n static get rules() {\n return {\n block,\n inline,\n };\n }\n\n /**\n * Static Lex Method\n */\n static lex<ParserOutput = string, RendererOutput = string>(src: string, options?: MarkedOptions<ParserOutput, RendererOutput>) {\n const lexer = new _Lexer<ParserOutput, RendererOutput>(options);\n return lexer.lex(src);\n }\n\n /**\n * Static Lex Inline Method\n */\n static lexInline<ParserOutput = string, RendererOutput = string>(src: string, options?: MarkedOptions<ParserOutput, RendererOutput>) {\n const lexer = new _Lexer<ParserOutput, RendererOutput>(options);\n return lexer.inlineTokens(src);\n }\n\n /**\n * Preprocessing\n */\n lex(src: string) {\n src = src.replace(other.carriageReturn, '\\n');\n\n this.blockTokens(src, this.tokens);\n\n for (let i = 0; i < this.inlineQueue.length; i++) {\n const next = this.inlineQueue[i];\n this.inlineTokens(next.src, next.tokens);\n }\n this.inlineQueue = [];\n\n return this.tokens;\n }\n\n /**\n * Lexing\n */\n blockTokens(src: string, tokens?: Token[], lastParagraphClipped?: boolean): Token[];\n blockTokens(src: string, tokens?: TokensList, lastParagraphClipped?: boolean): TokensList;\n blockTokens(src: string, tokens: Token[] = [], lastParagraphClipped = false) {\n this.tokenizer.lexer = this;\n if (this.options.pedantic) {\n src = src.replace(other.tabCharGlobal, ' ').replace(other.spaceLine, '');\n }\n\n let srcLength = Infinity;\n while (src) {\n if (src.length < srcLength) {\n srcLength = src.length;\n } else {\n this.infiniteLoopError(src.charCodeAt(0));\n break;\n }\n\n let token: Tokens.Generic | undefined;\n\n if (this.options.extensions?.block?.some((extTokenizer) => {\n if (token = extTokenizer.call({ lexer: this }, src, tokens)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n return true;\n }\n return false;\n })) {\n continue;\n }\n\n // newline\n if (token = this.tokenizer.space(src)) {\n src = src.substring(token.raw.length);\n const lastToken = tokens.at(-1);\n if (token.raw.length === 1 && lastToken !== undefined) {\n // if there's a single \\n as a spacer, it's terminating the last line,\n // so move it there so that we don't get unnecessary paragraph tags\n lastToken.raw += '\\n';\n } else {\n tokens.push(token);\n }\n continue;\n }\n\n // code\n if (token = this.tokenizer.code(src)) {\n src = src.substring(token.raw.length);\n const lastToken = tokens.at(-1);\n // An indented code block cannot interrupt a paragraph.\n if (lastToken?.type === 'paragraph' || lastToken?.type === 'text') {\n lastToken.raw += (lastToken.raw.endsWith('\\n') ? '' : '\\n') + token.raw;\n lastToken.text += '\\n' + token.text;\n this.inlineQueue.at(-1)!.src = lastToken.text;\n } else {\n tokens.push(token);\n }\n continue;\n }\n\n // fences\n if (token = this.tokenizer.fences(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // heading\n if (token = this.tokenizer.heading(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // hr\n if (token = this.tokenizer.hr(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // blockquote\n if (token = this.tokenizer.blockquote(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // list\n if (token = this.tokenizer.list(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // html\n if (token = this.tokenizer.html(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // def\n if (token = this.tokenizer.def(src)) {\n src = src.substring(token.raw.length);\n const lastToken = tokens.at(-1);\n if (lastToken?.type === 'paragraph' || lastToken?.type === 'text') {\n lastToken.raw += (lastToken.raw.endsWith('\\n') ? '' : '\\n') + token.raw;\n lastToken.text += '\\n' + token.raw;\n this.inlineQueue.at(-1)!.src = lastToken.text;\n } else if (!this.tokens.links[token.tag]) {\n this.tokens.links[token.tag] = {\n href: token.href,\n title: token.title,\n };\n tokens.push(token);\n }\n continue;\n }\n\n // table (gfm)\n if (token = this.tokenizer.table(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // lheading\n if (token = this.tokenizer.lheading(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // top-level paragraph\n // prevent paragraph consuming extensions by clipping 'src' to extension start\n let cutSrc = src;\n if (this.options.extensions?.startBlock) {\n let startIndex = Infinity;\n const tempSrc = src.slice(1);\n let tempStart;\n this.options.extensions.startBlock.forEach((getStartIndex) => {\n tempStart = getStartIndex.call({ lexer: this }, tempSrc);\n if (typeof tempStart === 'number' && tempStart >= 0) {\n startIndex = Math.min(startIndex, tempStart);\n }\n });\n if (startIndex < Infinity && startIndex >= 0) {\n cutSrc = src.substring(0, startIndex + 1);\n }\n }\n if (this.state.top && (token = this.tokenizer.paragraph(cutSrc))) {\n const lastToken = tokens.at(-1);\n if (lastParagraphClipped && lastToken?.type === 'paragraph') {\n lastToken.raw += (lastToken.raw.endsWith('\\n') ? '' : '\\n') + token.raw;\n lastToken.text += '\\n' + token.text;\n this.inlineQueue.pop();\n this.inlineQueue.at(-1)!.src = lastToken.text;\n } else {\n tokens.push(token);\n }\n lastParagraphClipped = cutSrc.length !== src.length;\n src = src.substring(token.raw.length);\n continue;\n }\n\n // text\n if (token = this.tokenizer.text(src)) {\n src = src.substring(token.raw.length);\n const lastToken = tokens.at(-1);\n if (lastToken?.type === 'text') {\n lastToken.raw += (lastToken.raw.endsWith('\\n') ? '' : '\\n') + token.raw;\n lastToken.text += '\\n' + token.text;\n this.inlineQueue.pop();\n this.inlineQueue.at(-1)!.src = lastToken.text;\n } else {\n tokens.push(token);\n }\n continue;\n }\n\n if (src) {\n this.infiniteLoopError(src.charCodeAt(0));\n break;\n }\n }\n\n this.state.top = true;\n return tokens;\n }\n\n inline(src: string, tokens: Token[] = []) {\n this.inlineQueue.push({ src, tokens });\n return tokens;\n }\n\n /**\n * Does this link text hold a link already? An image does not count: an image\n * may hold a link, a link may not.\n */\n private linkInText(text: string): boolean {\n if (!text.includes('[')) {\n return false;\n }\n\n const linkRule = this.tokenizer.rules.inline.link;\n for (const match of text.matchAll(this.tokenizer.rules.inline.blockSkip)) {\n // blockSkip also matches code spans and html, and the `!` of an image is\n // left out of the match, so read the character before it.\n if (linkRule.test(match[0]) && text.charAt(match.index - 1) !== '!') {\n return true;\n }\n }\n\n for (const match of text.matchAll(this.tokenizer.rules.inline.reflinkSearch)) {\n const match0 = match[0];\n const refStart = match0.lastIndexOf('[');\n if (match0.charAt(0) === '!' || !Object.hasOwn(this.tokens.links, normalizeLabel(match0.slice(refStart + 1, -1)))) {\n continue;\n }\n // a candidate holding a link is not a link either, so it does not count\n if (refStart > 1 && this.linkInText(match0.slice(1, refStart - 1))) {\n continue;\n }\n return true;\n }\n\n return false;\n }\n\n /**\n * Lexing/Compiling\n */\n inlineTokens(src: string, tokens: Token[] = []): Token[] {\n this.tokenizer.lexer = this;\n // One paren scan per inline run, shared with Tokenizer.link: without a\n // ')' ahead the link regex cannot match, and skipping it avoids its\n // quadratic backtracking over unterminated-link inputs like\n // `'[a](b'.repeat(n)`. A nested run receives a substring of the outer\n // run, so if the outer had no ')' neither does this substring \u2014 skip\n // the scan in that case.\n const prevLinkParenPossible = this.state.linkParenPossible;\n this.state.linkParenPossible = prevLinkParenPossible && src.includes(')');\n try {\n return this.#inlineTokensInner(src, tokens);\n } finally {\n // A nested run (e.g. a link label) anchored on its own substring;\n // restore the outer run's flag for the rest of its loop.\n this.state.linkParenPossible = prevLinkParenPossible;\n }\n }\n\n #inlineTokensInner(src: string, tokens: Token[]): Token[] {\n // String with links masked to avoid interference with em and strong\n let maskedSrc = src;\n\n // Mask out reflinks\n if (this.tokens.links && src.includes('[')) {\n const reflinkSearch = this.tokenizer.rules.inline.reflinkSearch;\n const maskReflink = (match0: string): string => {\n const refStart = match0.lastIndexOf('[');\n if (!Object.hasOwn(this.tokens.links, normalizeLabel(match0.slice(refStart + 1, -1)))) {\n return match0;\n }\n // CommonMark: \"Links may not contain other links, at any level of\n // nesting.\" A candidate whose text already holds one never becomes a\n // link, so flattening the whole span would hide the emphasis that\n // does still apply inside it. Mask the links it holds instead.\n // Images are exempt: their text is flattened into an alt attribute.\n if (refStart > 1 && match0.charAt(0) !== '!') {\n const text = match0.slice(1, refStart - 1);\n if (this.linkInText(text)) {\n return '[' + text.replace(reflinkSearch, maskReflink)\n + '][' + 'a'.repeat(match0.length - refStart - 2) + ']';\n }\n }\n return '[' + 'a'.repeat(match0.length - 2) + ']';\n };\n maskedSrc = maskedSrc.replace(reflinkSearch, maskReflink);\n }\n\n // Mask out escaped characters.\n // Every mask must keep the length it replaces: emStrong and del line\n // maskedSrc up with src by slicing from the end. `anyPunctuation` matches\n // unicode punctuation, so an escaped astral character is 3 code units.\n // A backslash inside a code span is literal, not an escape. Mask the\n // backticks inside the span instead, so blockSkip still skips all of it.\n maskedSrc = maskedSrc.replace(this.tokenizer.rules.inline.anyPunctuationOutsideCode, (match0, code, punct) => {\n if (punct) {\n return '+'.repeat(match0.length);\n }\n if (code) {\n return code + match0.slice(code.length, -code.length).replace(/`/g, '+') + code;\n }\n return match0;\n });\n\n // Mask out other blocks\n maskedSrc = maskedSrc.replace(this.tokenizer.rules.inline.blockSkip, (match0, _link, context) => {\n const offset = context ? context.length : 0;\n return match0.slice(0, offset) + '[' + 'a'.repeat(match0.length - offset - 2) + ']';\n });\n\n // Mask out blocks from extensions\n maskedSrc = this.options.hooks?.emStrongMask?.call({ lexer: this }, maskedSrc) ?? maskedSrc;\n\n let keepPrevChar = false;\n let prevChar = '';\n let srcLength = Infinity;\n while (src) {\n if (src.length < srcLength) {\n srcLength = src.length;\n } else {\n this.infiniteLoopError(src.charCodeAt(0));\n break;\n }\n\n if (!keepPrevChar) {\n prevChar = '';\n }\n keepPrevChar = false;\n\n let token: Tokens.Generic | undefined;\n\n // extensions\n if (this.options.extensions?.inline?.some((extTokenizer) => {\n if (token = extTokenizer.call({ lexer: this }, src, tokens)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n return true;\n }\n return false;\n })) {\n continue;\n }\n\n // escape\n if (token = this.tokenizer.escape(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // tag\n if (token = this.tokenizer.tag(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // link\n if (token = this.tokenizer.link(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // reflink, nolink\n if (token = this.tokenizer.reflink(src, this.tokens.links)) {\n src = src.substring(token.raw.length);\n const lastToken = tokens.at(-1);\n if (token.type === 'text' && lastToken?.type === 'text') {\n lastToken.raw += token.raw;\n lastToken.text += token.text;\n } else {\n tokens.push(token);\n }\n continue;\n }\n\n // em & strong\n if (token = this.tokenizer.emStrong(src, maskedSrc, prevChar)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // code\n if (token = this.tokenizer.codespan(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // br\n if (token = this.tokenizer.br(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // del (gfm)\n if (token = this.tokenizer.del(src, maskedSrc, prevChar)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // autolink\n if (token = this.tokenizer.autolink(src)) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // url (gfm)\n if (!this.state.inLink && (token = this.tokenizer.url(src))) {\n src = src.substring(token.raw.length);\n tokens.push(token);\n continue;\n }\n\n // text\n // prevent inlineText consuming extensions by clipping 'src' to extension start\n let cutSrc = src;\n if (this.options.extensions?.startInline) {\n let startIndex = Infinity;\n const tempSrc = src.slice(1);\n let tempStart;\n this.options.extensions.startInline.forEach((getStartIndex) => {\n tempStart = getStartIndex.call({ lexer: this }, tempSrc);\n if (typeof tempStart === 'number' && tempStart >= 0) {\n startIndex = Math.min(startIndex, tempStart);\n }\n });\n if (startIndex < Infinity && startIndex >= 0) {\n cutSrc = src.substring(0, startIndex + 1);\n }\n }\n if (token = this.tokenizer.inlineText(cutSrc)) {\n src = src.substring(token.raw.length);\n if (token.raw.slice(-1) !== '_') { // Track prevChar before string of ____ started\n prevChar = token.raw.slice(-1);\n }\n keepPrevChar = true;\n const lastToken = tokens.at(-1);\n if (lastToken?.type === 'text') {\n lastToken.raw += token.raw;\n lastToken.text += token.text;\n } else {\n tokens.push(token);\n }\n continue;\n }\n\n if (src) {\n this.infiniteLoopError(src.charCodeAt(0));\n break;\n }\n }\n\n return tokens;\n }\n\n private infiniteLoopError(byte: number) {\n const errMsg = 'Infinite loop on byte: ' + byte;\n if (this.options.silent) {\n console.error(errMsg);\n } else {\n throw new Error(errMsg);\n }\n }\n}\n", "import { _defaults } from './defaults.ts';\nimport {\n cleanUrl,\n escapeHtmlEntities,\n} from './helpers.ts';\nimport { other } from './rules.ts';\nimport type { MarkedOptions } from './MarkedOptions.ts';\nimport type { Tokens } from './Tokens.ts';\nimport type { _Parser } from './Parser.ts';\n\n/**\n * Renderer\n */\nexport class _Renderer<ParserOutput = string, RendererOutput = string> {\n options: MarkedOptions<ParserOutput, RendererOutput>;\n parser!: _Parser<ParserOutput, RendererOutput>; // set by the parser\n constructor(options?: MarkedOptions<ParserOutput, RendererOutput>) {\n this.options = options || _defaults;\n }\n\n space(token: Tokens.Space): RendererOutput {\n return '' as RendererOutput;\n }\n\n code({ text, lang, escaped }: Tokens.Code): RendererOutput {\n const langString = (lang || '').match(other.notSpaceStart)?.[0];\n\n // An empty code block has no content, so it must not gain a newline.\n const code = text ? text.replace(other.endingNewline, '') + '\\n' : '';\n\n if (!langString) {\n return '<pre><code>'\n + (escaped ? code : escapeHtmlEntities(code, true))\n + '</code></pre>\\n' as RendererOutput;\n }\n\n return '<pre><code class=\"language-'\n + escapeHtmlEntities(langString)\n + '\">'\n + (escaped ? code : escapeHtmlEntities(code, true))\n + '</code></pre>\\n' as RendererOutput;\n }\n\n blockquote({ tokens }: Tokens.Blockquote): RendererOutput {\n const body = this.parser.parse(tokens);\n return `<blockquote>\\n${body}</blockquote>\\n` as RendererOutput;\n }\n\n html({ text }: Tokens.HTML | Tokens.Tag): RendererOutput {\n return text as RendererOutput;\n }\n\n def(token: Tokens.Def): RendererOutput {\n return '' as RendererOutput;\n }\n\n heading({ tokens, depth }: Tokens.Heading): RendererOutput {\n return `<h${depth}>${this.parser.parseInline(tokens)}</h${depth}>\\n` as RendererOutput;\n }\n\n hr(token: Tokens.Hr): RendererOutput {\n return '<hr>\\n' as RendererOutput;\n }\n\n list(token: Tokens.List): RendererOutput {\n const ordered = token.ordered;\n const start = token.start;\n\n let body = '';\n for (let j = 0; j < token.items.length; j++) {\n const item = token.items[j];\n body += this.listitem(item);\n }\n\n const type = ordered ? 'ol' : 'ul';\n const startAttr = (ordered && start !== 1) ? (' start=\"' + start + '\"') : '';\n return '<' + type + startAttr + '>\\n' + body + '</' + type + '>\\n' as RendererOutput;\n }\n\n listitem(item: Tokens.ListItem): RendererOutput {\n return `<li>${this.parser.parse(item.tokens)}</li>\\n` as RendererOutput;\n }\n\n checkbox({ checked }: Tokens.Checkbox): RendererOutput {\n return '<input '\n + (checked ? 'checked=\"\" ' : '')\n + 'disabled=\"\" type=\"checkbox\"> ' as RendererOutput;\n }\n\n paragraph({ tokens }: Tokens.Paragraph): RendererOutput {\n return `<p>${this.parser.parseInline(tokens)}</p>\\n` as RendererOutput;\n }\n\n table(token: Tokens.Table): RendererOutput {\n let header = '';\n\n // header\n let cell = '';\n for (let j = 0; j < token.header.length; j++) {\n cell += this.tablecell(token.header[j]);\n }\n header += this.tablerow({ text: cell as ParserOutput });\n\n let body = '';\n for (let j = 0; j < token.rows.length; j++) {\n const row = token.rows[j];\n\n cell = '';\n for (let k = 0; k < row.length; k++) {\n cell += this.tablecell(row[k]);\n }\n\n body += this.tablerow({ text: cell as ParserOutput });\n }\n if (body) body = `<tbody>${body}</tbody>`;\n\n return '<table>\\n'\n + '<thead>\\n'\n + header\n + '</thead>\\n'\n + body\n + '</table>\\n' as RendererOutput;\n }\n\n tablerow({ text }: Tokens.TableRow<ParserOutput>): RendererOutput {\n return `<tr>\\n${text}</tr>\\n` as RendererOutput;\n }\n\n tablecell(token: Tokens.TableCell): RendererOutput {\n const content = this.parser.parseInline(token.tokens);\n const type = token.header ? 'th' : 'td';\n const tag = token.align\n ? `<${type} align=\"${token.align}\">`\n : `<${type}>`;\n return tag + content + `</${type}>\\n` as RendererOutput;\n }\n\n /**\n * span level renderer\n */\n strong({ tokens }: Tokens.Strong): RendererOutput {\n return `<strong>${this.parser.parseInline(tokens)}</strong>` as RendererOutput;\n }\n\n em({ tokens }: Tokens.Em): RendererOutput {\n return `<em>${this.parser.parseInline(tokens)}</em>` as RendererOutput;\n }\n\n codespan({ text }: Tokens.Codespan): RendererOutput {\n return `<code>${escapeHtmlEntities(text, true)}</code>` as RendererOutput;\n }\n\n br(token: Tokens.Br): RendererOutput {\n return '<br>' as RendererOutput;\n }\n\n del({ tokens }: Tokens.Del): RendererOutput {\n return `<del>${this.parser.parseInline(tokens)}</del>` as RendererOutput;\n }\n\n link({ href, title, text, tokens, autolink }: Tokens.Link): RendererOutput {\n // References are not resolved inside an autolink, so every `&` there is\n // literal. Elsewhere only an `&` that cannot start one needs escaping.\n const parsedText = autolink\n ? escapeHtmlEntities(text, true)\n : this.parser.parseInline(tokens) as string;\n const cleanHref = cleanUrl(href);\n if (cleanHref === null) {\n return parsedText as RendererOutput;\n }\n href = escapeHtmlEntities(cleanHref, autolink);\n let out = '<a href=\"' + href + '\"';\n if (title) {\n out += ' title=\"' + (escapeHtmlEntities(title)) + '\"';\n }\n out += '>' + parsedText + '</a>';\n return out as RendererOutput;\n }\n\n image({ href, title, text, tokens }: Tokens.Image): RendererOutput {\n if (tokens) {\n text = this.parser.parseInline(tokens, this.parser.textRenderer) as string;\n }\n const cleanHref = cleanUrl(href);\n if (cleanHref === null) {\n return escapeHtmlEntities(text) as RendererOutput;\n }\n href = cleanHref;\n\n let out = `<img src=\"${escapeHtmlEntities(href)}\" alt=\"${escapeHtmlEntities(text)}\"`;\n if (title) {\n out += ` title=\"${escapeHtmlEntities(title)}\"`;\n }\n out += '>';\n return out as RendererOutput;\n }\n\n text(token: Tokens.Text | Tokens.Escape): RendererOutput {\n return 'tokens' in token && token.tokens\n ? this.parser.parseInline(token.tokens) as unknown as RendererOutput\n : ('escaped' in token && token.escaped ? token.text as RendererOutput : escapeHtmlEntities(token.text) as RendererOutput);\n }\n}\n", "import type { Tokens } from './Tokens.ts';\n\n/**\n * TextRenderer\n * returns only the textual part of the token\n */\nexport class _TextRenderer<RendererOutput = string> {\n // no need for block level renderers\n strong({ text }: Tokens.Strong): RendererOutput {\n return text as RendererOutput;\n }\n\n em({ text }: Tokens.Em): RendererOutput {\n return text as RendererOutput;\n }\n\n codespan({ text }: Tokens.Codespan): RendererOutput {\n return text as RendererOutput;\n }\n\n del({ text }: Tokens.Del): RendererOutput {\n return text as RendererOutput;\n }\n\n html({ text }: Tokens.HTML | Tokens.Tag): RendererOutput {\n return text as RendererOutput;\n }\n\n text({ text }: Tokens.Text | Tokens.Escape | Tokens.Tag): RendererOutput {\n return text as RendererOutput;\n }\n\n link({ text }: Tokens.Link): RendererOutput {\n return '' + text as RendererOutput;\n }\n\n image({ text }: Tokens.Image): RendererOutput {\n return '' + text as RendererOutput;\n }\n\n br(): RendererOutput {\n return '' as RendererOutput;\n }\n\n checkbox({ raw }: Tokens.Checkbox): RendererOutput {\n return raw as RendererOutput;\n }\n}\n", "import { _Renderer } from './Renderer.ts';\nimport { _TextRenderer } from './TextRenderer.ts';\nimport { _defaults } from './defaults.ts';\nimport type { MarkedToken, Token, Tokens } from './Tokens.ts';\nimport type { MarkedOptions } from './MarkedOptions.ts';\n\n/**\n * Parsing & Compiling\n */\nexport class _Parser<ParserOutput = string, RendererOutput = string> {\n options: MarkedOptions<ParserOutput, RendererOutput>;\n renderer: _Renderer<ParserOutput, RendererOutput>;\n textRenderer: _TextRenderer<RendererOutput>;\n constructor(options?: MarkedOptions<ParserOutput, RendererOutput>) {\n this.options = options || _defaults;\n this.options.renderer = this.options.renderer || new _Renderer<ParserOutput, RendererOutput>();\n this.renderer = this.options.renderer;\n this.renderer.options = this.options;\n this.renderer.parser = this;\n this.textRenderer = new _TextRenderer<RendererOutput>();\n }\n\n /**\n * Static Parse Method\n */\n static parse<ParserOutput = string, RendererOutput = string>(tokens: Token[], options?: MarkedOptions<ParserOutput, RendererOutput>) {\n const parser = new _Parser<ParserOutput, RendererOutput>(options);\n return parser.parse(tokens);\n }\n\n /**\n * Static Parse Inline Method\n */\n static parseInline<ParserOutput = string, RendererOutput = string>(tokens: Token[], options?: MarkedOptions<ParserOutput, RendererOutput>) {\n const parser = new _Parser<ParserOutput, RendererOutput>(options);\n return parser.parseInline(tokens);\n }\n\n /**\n * Parse Loop\n */\n parse(tokens: Token[]): ParserOutput {\n this.renderer.parser = this;\n let out = '';\n\n for (let i = 0; i < tokens.length; i++) {\n const anyToken = tokens[i];\n\n // Run any renderer extensions\n if (this.options.extensions?.renderers?.[anyToken.type]) {\n const genericToken = anyToken as Tokens.Generic;\n const ret = this.options.extensions.renderers[genericToken.type].call({ parser: this }, genericToken);\n if (ret !== false || !['space', 'hr', 'heading', 'code', 'table', 'blockquote', 'list', 'checkbox', 'html', 'def', 'paragraph', 'text'].includes(genericToken.type)) {\n out += ret || '';\n continue;\n }\n }\n\n const token = anyToken as MarkedToken;\n\n switch (token.type) {\n case 'space': {\n out += this.renderer.space(token);\n break;\n }\n case 'hr': {\n out += this.renderer.hr(token);\n break;\n }\n case 'heading': {\n out += this.renderer.heading(token);\n break;\n }\n case 'code': {\n out += this.renderer.code(token);\n break;\n }\n case 'table': {\n out += this.renderer.table(token);\n break;\n }\n case 'blockquote': {\n out += this.renderer.blockquote(token);\n break;\n }\n case 'list': {\n out += this.renderer.list(token);\n break;\n }\n case 'checkbox': {\n out += this.renderer.checkbox(token);\n break;\n }\n case 'html': {\n out += this.renderer.html(token);\n break;\n }\n case 'def': {\n out += this.renderer.def(token);\n break;\n }\n case 'paragraph': {\n out += this.renderer.paragraph(token);\n break;\n }\n case 'text': {\n out += this.renderer.text(token);\n break;\n }\n\n default: {\n const errMsg = 'Token with \"' + token.type + '\" type was not found.';\n if (this.options.silent) {\n console.error(errMsg);\n return '' as ParserOutput;\n } else {\n throw new Error(errMsg);\n }\n }\n }\n }\n\n return out as ParserOutput;\n }\n\n /**\n * Parse Inline Tokens\n */\n parseInline(tokens: Token[], renderer: _Renderer<ParserOutput, RendererOutput> | _TextRenderer<RendererOutput> = this.renderer): ParserOutput {\n this.renderer.parser = this;\n let out = '';\n\n for (let i = 0; i < tokens.length; i++) {\n const anyToken = tokens[i];\n\n // Run any renderer extensions\n if (this.options.extensions?.renderers?.[anyToken.type]) {\n const ret = this.options.extensions.renderers[anyToken.type].call({ parser: this }, anyToken);\n if (ret !== false || !['escape', 'html', 'link', 'image', 'checkbox', 'strong', 'em', 'codespan', 'br', 'del', 'text'].includes(anyToken.type)) {\n out += ret || '';\n continue;\n }\n }\n\n const token = anyToken as MarkedToken;\n\n switch (token.type) {\n case 'escape': {\n out += renderer.text(token);\n break;\n }\n case 'html': {\n out += renderer.html(token);\n break;\n }\n case 'link': {\n out += renderer.link(token);\n break;\n }\n case 'image': {\n out += renderer.image(token);\n break;\n }\n case 'checkbox': {\n out += renderer.checkbox(token);\n break;\n }\n case 'strong': {\n out += renderer.strong(token);\n break;\n }\n case 'em': {\n out += renderer.em(token);\n break;\n }\n case 'codespan': {\n out += renderer.codespan(token);\n break;\n }\n case 'br': {\n out += renderer.br(token);\n break;\n }\n case 'del': {\n out += renderer.del(token);\n break;\n }\n case 'text': {\n out += renderer.text(token);\n break;\n }\n default: {\n const errMsg = 'Token with \"' + token.type + '\" type was not found.';\n if (this.options.silent) {\n console.error(errMsg);\n return '' as ParserOutput;\n } else {\n throw new Error(errMsg);\n }\n }\n }\n }\n return out as ParserOutput;\n }\n}\n", "import { _defaults } from './defaults.ts';\nimport { _Lexer } from './Lexer.ts';\nimport { _Parser } from './Parser.ts';\nimport type { MarkedOptions } from './MarkedOptions.ts';\nimport type { Token, TokensList } from './Tokens.ts';\n\nexport class _Hooks<ParserOutput = string, RendererOutput = string> {\n options: MarkedOptions<ParserOutput, RendererOutput>;\n block?: boolean;\n\n constructor(options?: MarkedOptions<ParserOutput, RendererOutput>) {\n this.options = options || _defaults;\n }\n\n static passThroughHooks = new Set([\n 'preprocess',\n 'postprocess',\n 'processAllTokens',\n 'emStrongMask',\n ]);\n\n static passThroughHooksRespectAsync = new Set([\n 'preprocess',\n 'postprocess',\n 'processAllTokens',\n ]);\n\n /**\n * Process markdown before marked\n */\n preprocess(markdown: string) {\n return markdown;\n }\n\n /**\n * Process HTML after marked is finished\n */\n postprocess(html: ParserOutput) {\n return html;\n }\n\n /**\n * Process all tokens before walk tokens\n */\n processAllTokens(tokens: Token[] | TokensList) {\n return tokens;\n }\n\n /**\n * Mask contents that should not be interpreted as em/strong delimiters\n */\n emStrongMask(src: string) {\n return src;\n }\n\n /**\n * Provide function to tokenize markdown\n */\n provideLexer(block = this.block) {\n return block ? _Lexer.lex : _Lexer.lexInline;\n }\n\n /**\n * Provide function to parse tokens\n */\n provideParser(block = this.block) {\n return block ? _Parser.parse<ParserOutput, RendererOutput> : _Parser.parseInline<ParserOutput, RendererOutput>;\n }\n}\n", "import { _getDefaults } from './defaults.ts';\nimport { _Lexer } from './Lexer.ts';\nimport { _Parser } from './Parser.ts';\nimport { _Hooks } from './Hooks.ts';\nimport { _Renderer } from './Renderer.ts';\nimport { _Tokenizer } from './Tokenizer.ts';\nimport { _TextRenderer } from './TextRenderer.ts';\nimport { escapeHtmlEntities } from './helpers.ts';\nimport type { MarkedExtension, MarkedOptions } from './MarkedOptions.ts';\nimport type { Token, Tokens, TokensList } from './Tokens.ts';\n\nexport type MaybePromise = void | Promise<void>;\n\ntype UnknownFunction = (...args: unknown[]) => unknown;\ntype GenericRendererFunction = (...args: unknown[]) => string | false;\n\n/**\n * Append value(s) to values in place, flattening one level like concat\n */\nfunction pushValues(values: MaybePromise[], value: MaybePromise | MaybePromise[]) {\n if (Array.isArray(value)) {\n for (let i = 0; i < value.length; i++) {\n values.push(value[i]);\n }\n } else {\n values.push(value);\n }\n}\n\nexport class Marked<ParserOutput = string, RendererOutput = string> {\n defaults = _getDefaults<ParserOutput, RendererOutput>();\n options = this.setOptions;\n\n /**\n * Compiles markdown to HTML.\n *\n * To configure hooks, a renderer, or a tokenizer, create a separate `Marked`\n * instance and use `Marked#use` instead of passing them on each call.\n */\n parse = this.parseMarkdown(true);\n\n /**\n * Compiles inline markdown to HTML.\n *\n * To configure hooks, a renderer, or a tokenizer, create a separate `Marked`\n * instance and use `Marked#use` instead of passing them on each call.\n */\n parseInline = this.parseMarkdown(false);\n\n Parser = _Parser<ParserOutput, RendererOutput>;\n Renderer = _Renderer<ParserOutput, RendererOutput>;\n TextRenderer = _TextRenderer<RendererOutput>;\n Lexer = _Lexer;\n Tokenizer = _Tokenizer<ParserOutput, RendererOutput>;\n Hooks = _Hooks<ParserOutput, RendererOutput>;\n\n constructor(...args: MarkedExtension<ParserOutput, RendererOutput>[]) {\n this.use(...args);\n }\n\n /**\n * Run callback for every token\n */\n walkTokens(tokens: Token[] | TokensList, callback: (token: Token) => MaybePromise | MaybePromise[]) {\n const values: MaybePromise[] = [];\n for (const token of tokens) {\n pushValues(values, callback.call(this, token));\n switch (token.type) {\n case 'table': {\n const tableToken = token as Tokens.Table;\n for (const cell of tableToken.header) {\n pushValues(values, this.walkTokens(cell.tokens, callback));\n }\n for (const row of tableToken.rows) {\n for (const cell of row) {\n pushValues(values, this.walkTokens(cell.tokens, callback));\n }\n }\n break;\n }\n case 'list': {\n const listToken = token as Tokens.List;\n pushValues(values, this.walkTokens(listToken.items, callback));\n break;\n }\n default: {\n const genericToken = token as Tokens.Generic;\n if (this.defaults.extensions?.childTokens?.[genericToken.type]) {\n this.defaults.extensions.childTokens[genericToken.type].forEach((childTokens) => {\n const tokens = genericToken[childTokens].flat(Infinity) as Token[] | TokensList;\n pushValues(values, this.walkTokens(tokens, callback));\n });\n } else if (genericToken.tokens) {\n pushValues(values, this.walkTokens(genericToken.tokens, callback));\n }\n }\n }\n }\n return values;\n }\n\n /**\n * Registers extensions with this Marked instance.\n *\n * The `renderer`, `tokenizer`, and `hooks` objects may each contain only the\n * methods that should be overridden. Their methods are merged with built-in\n * behavior and extensions registered by earlier calls.\n *\n * Use this method when supplying only some hook methods.\n */\n use(...args: MarkedExtension<ParserOutput, RendererOutput>[]) {\n const extensions: MarkedOptions<ParserOutput, RendererOutput>['extensions'] = this.defaults.extensions || { renderers: {}, childTokens: {} };\n\n args.forEach((pack) => {\n // copy options to new object\n const opts = { ...pack } as MarkedOptions<ParserOutput, RendererOutput>;\n\n // set async to true if it was set to true before\n opts.async = this.defaults.async || opts.async || false;\n\n // ==-- Parse \"addon\" extensions --== //\n if (pack.extensions) {\n pack.extensions.forEach((ext) => {\n if (!ext.name) {\n throw new Error('extension name required');\n }\n if ('renderer' in ext) { // Renderer extensions\n const prevRenderer = extensions.renderers[ext.name];\n if (prevRenderer) {\n // Replace extension with func to run new extension but fall back if false\n extensions.renderers[ext.name] = function(...args) {\n let ret = ext.renderer.apply(this, args);\n if (ret === false) {\n ret = prevRenderer.apply(this, args);\n }\n return ret;\n };\n } else {\n extensions.renderers[ext.name] = ext.renderer;\n }\n }\n if ('tokenizer' in ext) { // Tokenizer Extensions\n if (!ext.level || (ext.level !== 'block' && ext.level !== 'inline')) {\n throw new Error(\"extension level must be 'block' or 'inline'\");\n }\n const extLevel = extensions[ext.level];\n if (extLevel) {\n extLevel.unshift(ext.tokenizer);\n } else {\n extensions[ext.level] = [ext.tokenizer];\n }\n if (ext.start) { // Function to check for start of token\n if (ext.level === 'block') {\n if (extensions.startBlock) {\n extensions.startBlock.push(ext.start);\n } else {\n extensions.startBlock = [ext.start];\n }\n } else if (ext.level === 'inline') {\n if (extensions.startInline) {\n extensions.startInline.push(ext.start);\n } else {\n extensions.startInline = [ext.start];\n }\n }\n }\n }\n if ('childTokens' in ext && ext.childTokens) { // Child tokens to be visited by walkTokens\n extensions.childTokens[ext.name] = ext.childTokens;\n }\n });\n opts.extensions = extensions;\n }\n\n // ==-- Parse \"overwrite\" extensions --== //\n if (pack.renderer) {\n const renderer = this.defaults.renderer || new _Renderer<ParserOutput, RendererOutput>(this.defaults);\n for (const prop in pack.renderer) {\n if (!(prop in renderer)) {\n throw new Error(`renderer '${prop}' does not exist`);\n }\n if (['options', 'parser'].includes(prop)) {\n // ignore options property\n continue;\n }\n const rendererProp = prop as Exclude<keyof _Renderer<ParserOutput, RendererOutput>, 'options' | 'parser'>;\n const rendererFunc = pack.renderer[rendererProp] as GenericRendererFunction;\n const prevRenderer = renderer[rendererProp] as GenericRendererFunction;\n // Replace renderer with func to run extension, but fall back if false\n renderer[rendererProp] = (...args: unknown[]) => {\n let ret = rendererFunc.apply(renderer, args);\n if (ret === false) {\n ret = prevRenderer.apply(renderer, args);\n }\n return (ret || '') as RendererOutput;\n };\n }\n opts.renderer = renderer;\n }\n if (pack.tokenizer) {\n const tokenizer = this.defaults.tokenizer || new _Tokenizer<ParserOutput, RendererOutput>(this.defaults);\n for (const prop in pack.tokenizer) {\n if (!(prop in tokenizer)) {\n throw new Error(`tokenizer '${prop}' does not exist`);\n }\n if (['options', 'rules', 'lexer'].includes(prop)) {\n // ignore options, rules, and lexer properties\n continue;\n }\n const tokenizerProp = prop as Exclude<keyof _Tokenizer<ParserOutput, RendererOutput>, 'options' | 'rules' | 'lexer'>;\n const tokenizerFunc = pack.tokenizer[tokenizerProp] as UnknownFunction;\n const prevTokenizer = tokenizer[tokenizerProp] as UnknownFunction;\n // Replace tokenizer with func to run extension, but fall back if false\n // @ts-expect-error cannot type tokenizer function dynamically\n tokenizer[tokenizerProp] = (...args: unknown[]) => {\n let ret = tokenizerFunc.apply(tokenizer, args);\n if (ret === false) {\n ret = prevTokenizer.apply(tokenizer, args);\n }\n return ret;\n };\n }\n opts.tokenizer = tokenizer;\n }\n\n // ==-- Parse Hooks extensions --== //\n if (pack.hooks) {\n const hooks = this.defaults.hooks || new _Hooks<ParserOutput, RendererOutput>();\n for (const prop in pack.hooks) {\n if (!(prop in hooks)) {\n throw new Error(`hook '${prop}' does not exist`);\n }\n if (['options', 'block'].includes(prop)) {\n // ignore options and block properties\n continue;\n }\n const hooksProp = prop as Exclude<keyof _Hooks<ParserOutput, RendererOutput>, 'options' | 'block'>;\n const hooksFunc = pack.hooks[hooksProp] as UnknownFunction;\n const prevHook = hooks[hooksProp] as UnknownFunction;\n if (_Hooks.passThroughHooks.has(prop)) {\n // @ts-expect-error cannot type hook function dynamically\n hooks[hooksProp] = (arg: unknown) => {\n if (this.defaults.async && _Hooks.passThroughHooksRespectAsync.has(prop)) {\n return (async() => {\n const ret = await hooksFunc.call(hooks, arg);\n return prevHook.call(hooks, ret);\n })();\n }\n\n const ret = hooksFunc.call(hooks, arg);\n return prevHook.call(hooks, ret);\n };\n } else {\n // @ts-expect-error cannot type hook function dynamically\n hooks[hooksProp] = (...args: unknown[]) => {\n if (this.defaults.async) {\n return (async() => {\n let ret = await hooksFunc.apply(hooks, args);\n if (ret === false) {\n ret = await prevHook.apply(hooks, args);\n }\n return ret;\n })();\n }\n\n let ret = hooksFunc.apply(hooks, args);\n if (ret === false) {\n ret = prevHook.apply(hooks, args);\n }\n return ret;\n };\n }\n }\n opts.hooks = hooks;\n }\n\n // ==-- Parse WalkTokens extensions --== //\n if (pack.walkTokens) {\n const walkTokens = this.defaults.walkTokens;\n const packWalktokens = pack.walkTokens;\n opts.walkTokens = function(token) {\n const values: MaybePromise[] = [];\n values.push(packWalktokens.call(this, token));\n if (walkTokens) {\n pushValues(values, walkTokens.call(this, token));\n }\n return values;\n };\n }\n\n this.defaults = { ...this.defaults, ...opts };\n });\n\n return this;\n }\n\n setOptions(opt: MarkedOptions<ParserOutput, RendererOutput>) {\n this.defaults = { ...this.defaults, ...opt };\n return this;\n }\n\n lexer(src: string, options?: MarkedOptions<ParserOutput, RendererOutput>) {\n return _Lexer.lex(src, options ?? this.defaults);\n }\n\n parser(tokens: Token[], options?: MarkedOptions<ParserOutput, RendererOutput>) {\n return _Parser.parse<ParserOutput, RendererOutput>(tokens, options ?? this.defaults);\n }\n\n private parseMarkdown(blockType: boolean) {\n type overloadedParse = {\n (src: string, options: MarkedOptions<ParserOutput, RendererOutput> & { async: true }): Promise<ParserOutput>;\n (src: string, options: MarkedOptions<ParserOutput, RendererOutput> & { async: false }): ParserOutput;\n (src: string, options?: MarkedOptions<ParserOutput, RendererOutput> | null): ParserOutput | Promise<ParserOutput>;\n };\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const parse: overloadedParse = (src: string, options?: MarkedOptions<ParserOutput, RendererOutput> | null): any => {\n const origOpt = { ...options };\n const opt = { ...this.defaults, ...origOpt };\n\n const throwError = this.onError(!!opt.silent, !!opt.async);\n\n // throw error if an extension set async to true but parse was called with async: false\n if (this.defaults.async === true && origOpt.async === false) {\n return throwError(new Error('marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise.'));\n }\n\n // throw error in case of non string input\n if (typeof src === 'undefined' || src === null) {\n return throwError(new Error('marked(): input parameter is undefined or null'));\n }\n if (typeof src !== 'string') {\n return throwError(new Error('marked(): input parameter is of type '\n + Object.prototype.toString.call(src) + ', string expected'));\n }\n\n if (opt.hooks) {\n opt.hooks.options = opt;\n opt.hooks.block = blockType;\n }\n\n if (opt.async) {\n return (async() => {\n const processedSrc = opt.hooks ? await opt.hooks.preprocess(src) : src;\n const lexer = opt.hooks ? await opt.hooks.provideLexer(blockType) : (blockType ? _Lexer.lex : _Lexer.lexInline);\n const tokens = await lexer(processedSrc, opt);\n const processedTokens = opt.hooks ? await opt.hooks.processAllTokens(tokens) : tokens;\n if (opt.walkTokens) {\n await Promise.all(this.walkTokens(processedTokens, opt.walkTokens));\n }\n const parser = opt.hooks ? await opt.hooks.provideParser(blockType) : (blockType ? _Parser.parse : _Parser.parseInline);\n const html = await parser(processedTokens, opt);\n return opt.hooks ? await opt.hooks.postprocess(html) : html;\n })().catch(throwError);\n }\n\n try {\n if (opt.hooks) {\n src = opt.hooks.preprocess(src) as string;\n }\n const lexer = opt.hooks ? opt.hooks.provideLexer(blockType) : (blockType ? _Lexer.lex : _Lexer.lexInline);\n let tokens = lexer(src, opt);\n if (opt.hooks) {\n tokens = opt.hooks.processAllTokens(tokens);\n }\n if (opt.walkTokens) {\n this.walkTokens(tokens, opt.walkTokens);\n }\n const parser = opt.hooks ? opt.hooks.provideParser(blockType) : (blockType ? _Parser.parse : _Parser.parseInline);\n let html = parser(tokens, opt);\n if (opt.hooks) {\n html = opt.hooks.postprocess(html);\n }\n return html;\n } catch(e) {\n return throwError(e as Error);\n }\n };\n\n return parse;\n }\n\n private onError(silent: boolean, async: boolean) {\n return (e: Error): string | Promise<string> => {\n e.message += '\\nPlease report this to https://github.com/markedjs/marked.';\n\n if (silent) {\n const msg = '<p>An error occurred:</p><pre>'\n + escapeHtmlEntities(e.message + '', true)\n + '</pre>';\n if (async) {\n return Promise.resolve(msg);\n }\n return msg;\n }\n\n if (async) {\n return Promise.reject(e);\n }\n throw e;\n };\n }\n}\n", "import { _Lexer } from './Lexer.ts';\nimport { _Parser } from './Parser.ts';\nimport { _Tokenizer } from './Tokenizer.ts';\nimport { _Renderer } from './Renderer.ts';\nimport { _TextRenderer } from './TextRenderer.ts';\nimport { _Hooks } from './Hooks.ts';\nimport { Marked } from './Instance.ts';\nimport {\n _getDefaults,\n changeDefaults,\n _defaults,\n} from './defaults.ts';\nimport type { MarkedExtension, MarkedOptions } from './MarkedOptions.ts';\nimport type { Token, TokensList } from './Tokens.ts';\nimport type { MaybePromise } from './Instance.ts';\n\nconst markedInstance = new Marked();\n\n/**\n * Compiles markdown to HTML asynchronously.\n *\n * To configure hooks, a renderer, or a tokenizer, create a `Marked` instance\n * and use `Marked#use` instead of passing them as options on each call.\n *\n * @param src String of markdown source to be compiled\n * @param options Hash of options, having async: true\n * @return Promise of string of compiled HTML\n */\nexport function marked(src: string, options: MarkedOptions & { async: true }): Promise<string>;\n\n/**\n * Compiles markdown to HTML.\n *\n * To configure hooks, a renderer, or a tokenizer, create a `Marked` instance\n * and use `Marked#use` instead of passing them as options on each call.\n *\n * @param src String of markdown source to be compiled\n * @param options Optional hash of options\n * @return String of compiled HTML. Will be a Promise of string if async is set to true by any extensions.\n */\nexport function marked(src: string, options: MarkedOptions & { async: false }): string;\nexport function marked(src: string, options: MarkedOptions & { async: true }): Promise<string>;\nexport function marked(src: string, options?: MarkedOptions | null): string | Promise<string>;\nexport function marked(src: string, opt?: MarkedOptions | null): string | Promise<string> {\n return markedInstance.parse(src, opt);\n}\n\nexport declare namespace marked {\n /**\n * Compiles inline markdown to HTML.\n *\n * To configure hooks, a renderer, or a tokenizer, create a `Marked` instance\n * and use `Marked#use` instead of passing them as options on each call.\n */\n let parseInline: typeof markedInstance.parseInline;\n\n /**\n * Registers extensions with the default Marked instance.\n *\n * The `renderer`, `tokenizer`, and `hooks` objects may each contain only the\n * methods that should be overridden. Their methods are merged with built-in\n * behavior and extensions registered by earlier calls.\n *\n * Use this function when supplying only some hook methods.\n */\n let use: (...args: MarkedExtension[]) => typeof marked;\n}\n\n/**\n * Sets the default options.\n *\n * @param options Hash of options\n */\nmarked.options =\n marked.setOptions = function(options: MarkedOptions) {\n markedInstance.setOptions(options);\n marked.defaults = markedInstance.defaults;\n changeDefaults(marked.defaults);\n return marked;\n };\n\n/**\n * Gets the original marked default options.\n */\nmarked.getDefaults = _getDefaults;\n\nmarked.defaults = _defaults;\n\n/**\n * Registers extensions with the default Marked instance.\n *\n * The `renderer`, `tokenizer`, and `hooks` objects may each contain only the\n * methods that should be overridden. Their methods are merged with built-in\n * behavior and extensions registered by earlier calls.\n *\n * Use this function when supplying only some hook methods.\n *\n * @param args Extensions to register\n * @return The `marked` function\n */\nfunction useExtension(...args: MarkedExtension[]) {\n markedInstance.use(...args);\n marked.defaults = markedInstance.defaults;\n changeDefaults(marked.defaults);\n return marked;\n}\n\nmarked.use = useExtension;\n\n/**\n * Run callback for every token\n */\n\nmarked.walkTokens = function(tokens: Token[] | TokensList, callback: (token: Token) => MaybePromise | MaybePromise[]) {\n return markedInstance.walkTokens(tokens, callback);\n};\n\n/**\n * Compiles markdown to HTML without enclosing `p` tag.\n *\n * To configure hooks, a renderer, or a tokenizer, create a `Marked` instance\n * and use `Marked#use` instead of passing them as options on each call.\n *\n * @param src String of markdown source to be compiled\n * @param options Hash of options\n * @return String of compiled HTML\n */\nmarked.parseInline = markedInstance.parseInline;\n\n/**\n * Expose\n */\nmarked.Parser = _Parser;\nmarked.parser = _Parser.parse;\nmarked.Renderer = _Renderer;\nmarked.TextRenderer = _TextRenderer;\nmarked.Lexer = _Lexer;\nmarked.lexer = _Lexer.lex;\nmarked.Tokenizer = _Tokenizer;\nmarked.Hooks = _Hooks;\nmarked.parse = marked;\n\nexport const options = marked.options;\nexport const setOptions = marked.setOptions;\nexport const walkTokens = marked.walkTokens;\n/**\n * Compiles inline markdown to HTML.\n *\n * To configure hooks, a renderer, or a tokenizer, create a `Marked` instance\n * and use `Marked#use` instead of passing them as options on each call.\n */\nexport const parseInline = marked.parseInline;\nexport const parse = marked;\nexport const parser = _Parser.parse;\nexport const lexer = _Lexer.lex;\nexport { _defaults as defaults, _getDefaults as getDefaults } from './defaults.ts';\nexport { _Lexer as Lexer } from './Lexer.ts';\nexport { _Parser as Parser } from './Parser.ts';\nexport { _Tokenizer as Tokenizer } from './Tokenizer.ts';\nexport { _Renderer as Renderer } from './Renderer.ts';\nexport { _TextRenderer as TextRenderer } from './TextRenderer.ts';\nexport { _Hooks as Hooks } from './Hooks.ts';\nexport { Marked } from './Instance.ts';\nexport { useExtension as use };\nexport type * from './MarkedOptions.ts';\nexport type * from './Tokens.ts';\n"],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,EAAO,YAAcF,EAAe,YAKpCE,EAAO,OAASW,EAChBX,EAAO,OAASW,EAAQ,MACxBX,EAAO,SAAWY,EAClBZ,EAAO,aAAea,EACtBb,EAAO,MAAQc,EACfd,EAAO,MAAQc,EAAO,IACtBd,EAAO,UAAYe,EACnBf,EAAO,MAAQgB,EACfhB,EAAO,MAAQA,EAER,IAAMG,GAAUH,EAAO,QACjBiB,GAAajB,EAAO,WACpBkB,GAAalB,EAAO,WAOpBmB,GAAcnB,EAAO,YACrBoB,GAAQpB,EACRqB,GAASV,EAAQ,MACjBW,GAAQR,EAAO",
6
+ "names": ["_getDefaults", "_defaults", "changeDefaults", "newDefaults", "noopTest", "cachedIndentRegex", "createRegex", "cache", "indent", "cacheIndex", "regex", "edit", "opt", "source", "obj", "name", "val", "valSource", "other", "supportsLookbehind", "bull", "_tag", "newline", "blockCode", "fences", "hr", "heading", "bullet", "lheadingCore", "lheading", "lheadingGfm", "_paragraph", "blockText", "_blockLabel", "def", "list", "_comment", "html", "createParagraph", "listInterrupt", "paragraph", "blockquoteParagraph", "blockquote", "blockNormal", "gfmTable", "blockGfm", "blockPedantic", "escape", "inlineCode", "br", "inlineText", "_punctuation", "_punctuationOrSpace", "_notPunctuationOrSpace", "punctuation", "_openQuote", "_punctuationGfmStrongEm", "_punctuationOrSpaceGfmStrongEm", "_notPunctuationOrSpaceGfmStrongEm", "blockSkip", "emStrongLDelimCore", "emStrongLDelim", "emStrongLDelimGfm", "emStrongLDelimPedanticCore", "emStrongLDelimPedantic", "emStrongRDelimAstCore", "emStrongRDelimAst", "emStrongRDelimAstGfm", "emStrongRDelimAstPedanticCore", "emStrongRDelimAstPedantic", "emStrongRDelimUnd", "emStrongRDelimUndPedanticCore", "emStrongRDelimUndPedantic", "delLDelim", "delRDelimCore", "delRDelim", "anyPunctuation", "anyPunctuationOutsideCode", "autolink", "_inlineComment", "tag", "_inlineLabelBrackets", "_inlineLabel", "link", "reflink", "nolink", "_boundedBlockLabel", "_boundedInlineLabel", "reflinkSearch", "_caseInsensitiveProtocol", "_extendedEmail", "_extendedEmailProtocol", "inlineNormal", "inlinePedantic", "inlineGfm", "inlineBreaks", "block", "inline", "escapeReplacements", "getEscapeReplacement", "ch", "escapeHtmlEntities", "html", "encode", "other", "decodeNumericCharacterReferences", "text", "ref", "dec", "hex", "code", "cleanUrl", "href", "splitCells", "tableRow", "count", "row", "match", "offset", "str", "escaped", "curr", "cells", "rtrim", "c", "invert", "l", "suffLen", "currChar", "trimTrailingBlankLines", "lines", "end", "normalizeLabel", "label", "findClosingBracket", "b", "level", "i", "expandTabs", "line", "indent", "col", "expanded", "char", "added", "outputLink", "cap", "link", "raw", "lexer", "rules", "href", "title", "text", "isImage", "outerInLink", "outerLinkEmitted", "outerInRawBlock", "tokens", "textHasLink", "indentCodeCompensation", "matchIndentToCode", "indentToCode", "node", "matchIndentInNode", "indentInNode", "isLabelEndInsideToken", "src", "label", "labelStart", "code", "tokenSrc", "token", "_Tokenizer", "options", "_defaults", "trimTrailingBlankLines", "trimmed", "rtrim", "lines", "inBlockquote", "currentLines", "i", "currentRaw", "currentText", "top", "lastToken", "oldToken", "continuation", "newText", "newToken", "leftover", "leftoverCount", "consumed", "listSrc", "taken", "bull", "isordered", "list", "itemRegex", "endsWithBlankLine", "endEarly", "itemContents", "itemStart", "firstLine", "bulletIndent", "line", "expandTabs", "whitespace", "nextLine", "blankLine", "indent", "nextBulletRegex", "hrRegex", "fencesBeginRegex", "headingBeginRegex", "htmlBeginRegex", "blockquoteBeginRegex", "rawLine", "nextLineWithoutTabs", "lastItem", "item", "spacers", "t", "hasMultipleLineBreaks", "itemToken", "taskRaw", "checkboxToken", "findClosingBracket", "tag", "normalizeLabel", "headers", "splitCells", "aligns", "rows", "align", "row", "cell", "trimmedUrl", "rtrimSlash", "lastParenIndex", "linkLen", "links", "linkString", "maskedSrc", "prevChar", "match", "lLength", "rDelim", "rLength", "delimTotal", "midDelimTotal", "delimChar", "midRun", "endReg", "lastCharLength", "hasNonSpaceChars", "hasSpaceCharsOnBothEnds", "prevCapZero", "escaped", "decodeNumericCharacterReferences", "_Lexer", "__Lexer", "options", "_defaults", "_Tokenizer", "rules", "other", "block", "inline", "src", "i", "next", "tokens", "lastParagraphClipped", "srcLength", "token", "extTokenizer", "lastToken", "cutSrc", "startIndex", "tempSrc", "tempStart", "getStartIndex", "text", "linkRule", "match", "match0", "refStart", "normalizeLabel", "prevLinkParenPossible", "#inlineTokensInner", "maskedSrc", "reflinkSearch", "maskReflink", "code", "punct", "_link", "context", "offset", "keepPrevChar", "prevChar", "byte", "errMsg", "_Renderer", "options", "_defaults", "token", "text", "lang", "escaped", "langString", "other", "code", "escapeHtmlEntities", "tokens", "depth", "ordered", "start", "body", "j", "item", "type", "startAttr", "checked", "header", "cell", "row", "k", "content", "href", "title", "autolink", "parsedText", "cleanHref", "cleanUrl", "out", "_TextRenderer", "text", "raw", "_Parser", "__Parser", "options", "_defaults", "_Renderer", "_TextRenderer", "tokens", "out", "i", "anyToken", "genericToken", "ret", "token", "errMsg", "renderer", "_Hooks", "options", "_defaults", "markdown", "html", "tokens", "src", "block", "_Lexer", "_Parser", "pushValues", "values", "value", "i", "Marked", "_getDefaults", "_Parser", "_Renderer", "_TextRenderer", "_Lexer", "_Tokenizer", "_Hooks", "args", "tokens", "callback", "token", "tableToken", "cell", "row", "listToken", "genericToken", "childTokens", "extensions", "pack", "opts", "ext", "prevRenderer", "ret", "extLevel", "renderer", "prop", "rendererProp", "rendererFunc", "tokenizer", "tokenizerProp", "tokenizerFunc", "prevTokenizer", "hooks", "hooksProp", "hooksFunc", "prevHook", "arg", "walkTokens", "packWalktokens", "opt", "src", "options", "blockType", "origOpt", "throwError", "processedSrc", "processedTokens", "html", "e", "silent", "async", "msg", "escapeHtmlEntities", "markedInstance", "Marked", "marked", "src", "opt", "options", "changeDefaults", "_getDefaults", "_defaults", "useExtension", "args", "tokens", "callback", "_Parser", "_Renderer", "_TextRenderer", "_Lexer", "_Tokenizer", "_Hooks", "setOptions", "walkTokens", "parseInline", "parse", "parser", "lexer"]
7
+ }