@burdenoff/microfe-store 2026.720.3 → 2026.720.4

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 (276) hide show
  1. package/dist/_virtual/_rolldown/runtime.js +20 -0
  2. package/dist/components/MarkdownEditor.js +5 -5
  3. package/dist/components/MarkdownEditor.js.map +1 -1
  4. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js +63 -0
  5. package/dist/node_modules/@ungap/structured-clone/esm/deserialize.js.map +1 -0
  6. package/dist/node_modules/@ungap/structured-clone/esm/index.js +8 -0
  7. package/dist/node_modules/@ungap/structured-clone/esm/index.js.map +1 -0
  8. package/dist/node_modules/@ungap/structured-clone/esm/serialize.js +93 -0
  9. package/dist/node_modules/@ungap/structured-clone/esm/serialize.js.map +1 -0
  10. package/dist/node_modules/bail/index.js +8 -0
  11. package/dist/node_modules/bail/index.js.map +1 -0
  12. package/dist/node_modules/comma-separated-tokens/index.js +9 -0
  13. package/dist/node_modules/comma-separated-tokens/index.js.map +1 -0
  14. package/dist/node_modules/decode-named-character-reference/index.dom.js +12 -0
  15. package/dist/node_modules/decode-named-character-reference/index.dom.js.map +1 -0
  16. package/dist/node_modules/devlop/lib/default.js +7 -0
  17. package/dist/node_modules/devlop/lib/default.js.map +1 -0
  18. package/dist/node_modules/estree-util-is-identifier-name/lib/index.js +9 -0
  19. package/dist/node_modules/estree-util-is-identifier-name/lib/index.js.map +1 -0
  20. package/dist/node_modules/extend/index.js +42 -0
  21. package/dist/node_modules/extend/index.js.map +1 -0
  22. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js +255 -0
  23. package/dist/node_modules/hast-util-to-jsx-runtime/lib/index.js.map +1 -0
  24. package/dist/node_modules/hast-util-whitespace/lib/index.js +12 -0
  25. package/dist/node_modules/hast-util-whitespace/lib/index.js.map +1 -0
  26. package/dist/node_modules/html-url-attributes/lib/index.js +38 -0
  27. package/dist/node_modules/html-url-attributes/lib/index.js.map +1 -0
  28. package/dist/node_modules/inline-style-parser/cjs/index.js +92 -0
  29. package/dist/node_modules/inline-style-parser/cjs/index.js.map +1 -0
  30. package/dist/node_modules/is-plain-obj/index.js +10 -0
  31. package/dist/node_modules/is-plain-obj/index.js.map +1 -0
  32. package/dist/node_modules/mdast-util-from-markdown/lib/index.js +559 -0
  33. package/dist/node_modules/mdast-util-from-markdown/lib/index.js.map +1 -0
  34. package/dist/node_modules/mdast-util-to-hast/lib/footer.js +105 -0
  35. package/dist/node_modules/mdast-util-to-hast/lib/footer.js.map +1 -0
  36. package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +14 -0
  37. package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js.map +1 -0
  38. package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +17 -0
  39. package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js.map +1 -0
  40. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +24 -0
  41. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js.map +1 -0
  42. package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +14 -0
  43. package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js.map +1 -0
  44. package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +14 -0
  45. package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js.map +1 -0
  46. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +32 -0
  47. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js.map +1 -0
  48. package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +14 -0
  49. package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js.map +1 -0
  50. package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +14 -0
  51. package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js.map +1 -0
  52. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +23 -0
  53. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js.map +1 -0
  54. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +17 -0
  55. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js.map +1 -0
  56. package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +58 -0
  57. package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js.map +1 -0
  58. package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +19 -0
  59. package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js.map +1 -0
  60. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +20 -0
  61. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js.map +1 -0
  62. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +17 -0
  63. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js.map +1 -0
  64. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +61 -0
  65. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js.map +1 -0
  66. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +22 -0
  67. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js.map +1 -0
  68. package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +14 -0
  69. package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js.map +1 -0
  70. package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +12 -0
  71. package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js.map +1 -0
  72. package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +14 -0
  73. package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js.map +1 -0
  74. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +14 -0
  75. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js.map +1 -0
  76. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +26 -0
  77. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js.map +1 -0
  78. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +37 -0
  79. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js.map +1 -0
  80. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +13 -0
  81. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js.map +1 -0
  82. package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +14 -0
  83. package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js.map +1 -0
  84. package/dist/node_modules/mdast-util-to-hast/lib/index.js +21 -0
  85. package/dist/node_modules/mdast-util-to-hast/lib/index.js.map +1 -0
  86. package/dist/node_modules/mdast-util-to-hast/lib/revert.js +22 -0
  87. package/dist/node_modules/mdast-util-to-hast/lib/revert.js.map +1 -0
  88. package/dist/node_modules/mdast-util-to-hast/lib/state.js +110 -0
  89. package/dist/node_modules/mdast-util-to-hast/lib/state.js.map +1 -0
  90. package/dist/node_modules/mdast-util-to-string/lib/index.js +26 -0
  91. package/dist/node_modules/mdast-util-to-string/lib/index.js.map +1 -0
  92. package/dist/node_modules/micromark/lib/constructs.js +82 -0
  93. package/dist/node_modules/micromark/lib/constructs.js.map +1 -0
  94. package/dist/node_modules/micromark/lib/create-tokenizer.js +179 -0
  95. package/dist/node_modules/micromark/lib/create-tokenizer.js.map +1 -0
  96. package/dist/node_modules/micromark/lib/initialize/content.js +36 -0
  97. package/dist/node_modules/micromark/lib/initialize/content.js.map +1 -0
  98. package/dist/node_modules/micromark/lib/initialize/document.js +104 -0
  99. package/dist/node_modules/micromark/lib/initialize/document.js.map +1 -0
  100. package/dist/node_modules/micromark/lib/initialize/flow.js +27 -0
  101. package/dist/node_modules/micromark/lib/initialize/flow.js.map +1 -0
  102. package/dist/node_modules/micromark/lib/initialize/text.js +88 -0
  103. package/dist/node_modules/micromark/lib/initialize/text.js.map +1 -0
  104. package/dist/node_modules/micromark/lib/parse.js +31 -0
  105. package/dist/node_modules/micromark/lib/parse.js.map +1 -0
  106. package/dist/node_modules/micromark/lib/postprocess.js +10 -0
  107. package/dist/node_modules/micromark/lib/postprocess.js.map +1 -0
  108. package/dist/node_modules/micromark/lib/preprocess.js +34 -0
  109. package/dist/node_modules/micromark/lib/preprocess.js.map +1 -0
  110. package/dist/node_modules/micromark-core-commonmark/lib/attention.js +116 -0
  111. package/dist/node_modules/micromark-core-commonmark/lib/attention.js.map +1 -0
  112. package/dist/node_modules/micromark-core-commonmark/lib/autolink.js +45 -0
  113. package/dist/node_modules/micromark-core-commonmark/lib/autolink.js.map +1 -0
  114. package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js +20 -0
  115. package/dist/node_modules/micromark-core-commonmark/lib/blank-line.js.map +1 -0
  116. package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js +40 -0
  117. package/dist/node_modules/micromark-core-commonmark/lib/block-quote.js.map +1 -0
  118. package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js +19 -0
  119. package/dist/node_modules/micromark-core-commonmark/lib/character-escape.js.map +1 -0
  120. package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js +31 -0
  121. package/dist/node_modules/micromark-core-commonmark/lib/character-reference.js.map +1 -0
  122. package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js +91 -0
  123. package/dist/node_modules/micromark-core-commonmark/lib/code-fenced.js.map +1 -0
  124. package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js +45 -0
  125. package/dist/node_modules/micromark-core-commonmark/lib/code-indented.js.map +1 -0
  126. package/dist/node_modules/micromark-core-commonmark/lib/code-text.js +45 -0
  127. package/dist/node_modules/micromark-core-commonmark/lib/code-text.js.map +1 -0
  128. package/dist/node_modules/micromark-core-commonmark/lib/content.js +49 -0
  129. package/dist/node_modules/micromark-core-commonmark/lib/content.js.map +1 -0
  130. package/dist/node_modules/micromark-core-commonmark/lib/definition.js +62 -0
  131. package/dist/node_modules/micromark-core-commonmark/lib/definition.js.map +1 -0
  132. package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +19 -0
  133. package/dist/node_modules/micromark-core-commonmark/lib/hard-break-escape.js.map +1 -0
  134. package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js +69 -0
  135. package/dist/node_modules/micromark-core-commonmark/lib/heading-atx.js.map +1 -0
  136. package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js +143 -0
  137. package/dist/node_modules/micromark-core-commonmark/lib/html-flow.js.map +1 -0
  138. package/dist/node_modules/micromark-core-commonmark/lib/html-text.js +102 -0
  139. package/dist/node_modules/micromark-core-commonmark/lib/html-text.js.map +1 -0
  140. package/dist/node_modules/micromark-core-commonmark/lib/label-end.js +160 -0
  141. package/dist/node_modules/micromark-core-commonmark/lib/label-end.js.map +1 -0
  142. package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js +25 -0
  143. package/dist/node_modules/micromark-core-commonmark/lib/label-start-image.js.map +1 -0
  144. package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js +22 -0
  145. package/dist/node_modules/micromark-core-commonmark/lib/label-start-link.js.map +1 -0
  146. package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js +16 -0
  147. package/dist/node_modules/micromark-core-commonmark/lib/line-ending.js.map +1 -0
  148. package/dist/node_modules/micromark-core-commonmark/lib/list.js +80 -0
  149. package/dist/node_modules/micromark-core-commonmark/lib/list.js.map +1 -0
  150. package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js +61 -0
  151. package/dist/node_modules/micromark-core-commonmark/lib/setext-underline.js.map +1 -0
  152. package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js +27 -0
  153. package/dist/node_modules/micromark-core-commonmark/lib/thematic-break.js.map +1 -0
  154. package/dist/node_modules/micromark-factory-destination/index.js +28 -0
  155. package/dist/node_modules/micromark-factory-destination/index.js.map +1 -0
  156. package/dist/node_modules/micromark-factory-label/index.js +22 -0
  157. package/dist/node_modules/micromark-factory-label/index.js.map +1 -0
  158. package/dist/node_modules/micromark-factory-space/index.js +16 -0
  159. package/dist/node_modules/micromark-factory-space/index.js.map +1 -0
  160. package/dist/node_modules/micromark-factory-title/index.js +26 -0
  161. package/dist/node_modules/micromark-factory-title/index.js.map +1 -0
  162. package/dist/node_modules/micromark-factory-whitespace/index.js +14 -0
  163. package/dist/node_modules/micromark-factory-whitespace/index.js.map +1 -0
  164. package/dist/node_modules/micromark-util-character/index.js +26 -0
  165. package/dist/node_modules/micromark-util-character/index.js.map +1 -0
  166. package/dist/node_modules/micromark-util-chunked/index.js +13 -0
  167. package/dist/node_modules/micromark-util-chunked/index.js.map +1 -0
  168. package/dist/node_modules/micromark-util-classify-character/index.js +10 -0
  169. package/dist/node_modules/micromark-util-classify-character/index.js.map +1 -0
  170. package/dist/node_modules/micromark-util-combine-extensions/index.js +28 -0
  171. package/dist/node_modules/micromark-util-combine-extensions/index.js.map +1 -0
  172. package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js +9 -0
  173. package/dist/node_modules/micromark-util-decode-numeric-character-reference/index.js.map +1 -0
  174. package/dist/node_modules/micromark-util-decode-string/index.js +19 -0
  175. package/dist/node_modules/micromark-util-decode-string/index.js.map +1 -0
  176. package/dist/node_modules/micromark-util-html-tag-name/index.js +11 -0
  177. package/dist/node_modules/micromark-util-html-tag-name/index.js.map +1 -0
  178. package/dist/node_modules/micromark-util-normalize-identifier/index.js +8 -0
  179. package/dist/node_modules/micromark-util-normalize-identifier/index.js.map +1 -0
  180. package/dist/node_modules/micromark-util-resolve-all/index.js +13 -0
  181. package/dist/node_modules/micromark-util-resolve-all/index.js.map +1 -0
  182. package/dist/node_modules/micromark-util-sanitize-uri/index.js +20 -0
  183. package/dist/node_modules/micromark-util-sanitize-uri/index.js.map +1 -0
  184. package/dist/node_modules/micromark-util-subtokenize/index.js +37 -0
  185. package/dist/node_modules/micromark-util-subtokenize/index.js.map +1 -0
  186. package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js +59 -0
  187. package/dist/node_modules/micromark-util-subtokenize/lib/splice-buffer.js.map +1 -0
  188. package/dist/node_modules/property-information/index.js +28 -0
  189. package/dist/node_modules/property-information/index.js.map +1 -0
  190. package/dist/node_modules/property-information/lib/aria.js +63 -0
  191. package/dist/node_modules/property-information/lib/aria.js.map +1 -0
  192. package/dist/node_modules/property-information/lib/find.js +33 -0
  193. package/dist/node_modules/property-information/lib/find.js.map +1 -0
  194. package/dist/node_modules/property-information/lib/hast-to-react.js +24 -0
  195. package/dist/node_modules/property-information/lib/hast-to-react.js.map +1 -0
  196. package/dist/node_modules/property-information/lib/html.js +328 -0
  197. package/dist/node_modules/property-information/lib/html.js.map +1 -0
  198. package/dist/node_modules/property-information/lib/normalize.js +8 -0
  199. package/dist/node_modules/property-information/lib/normalize.js.map +1 -0
  200. package/dist/node_modules/property-information/lib/svg.js +566 -0
  201. package/dist/node_modules/property-information/lib/svg.js.map +1 -0
  202. package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js +9 -0
  203. package/dist/node_modules/property-information/lib/util/case-insensitive-transform.js.map +1 -0
  204. package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js +8 -0
  205. package/dist/node_modules/property-information/lib/util/case-sensitive-transform.js.map +1 -0
  206. package/dist/node_modules/property-information/lib/util/create.js +16 -0
  207. package/dist/node_modules/property-information/lib/util/create.js.map +1 -0
  208. package/dist/node_modules/property-information/lib/util/defined-info.js +20 -0
  209. package/dist/node_modules/property-information/lib/util/defined-info.js.map +1 -0
  210. package/dist/node_modules/property-information/lib/util/info.js +11 -0
  211. package/dist/node_modules/property-information/lib/util/info.js.map +1 -0
  212. package/dist/node_modules/property-information/lib/util/merge.js +11 -0
  213. package/dist/node_modules/property-information/lib/util/merge.js.map +1 -0
  214. package/dist/node_modules/property-information/lib/util/schema.js +11 -0
  215. package/dist/node_modules/property-information/lib/util/schema.js.map +1 -0
  216. package/dist/node_modules/property-information/lib/util/types.js +18 -0
  217. package/dist/node_modules/property-information/lib/util/types.js.map +1 -0
  218. package/dist/node_modules/property-information/lib/xlink.js +21 -0
  219. package/dist/node_modules/property-information/lib/xlink.js.map +1 -0
  220. package/dist/node_modules/property-information/lib/xml.js +17 -0
  221. package/dist/node_modules/property-information/lib/xml.js.map +1 -0
  222. package/dist/node_modules/property-information/lib/xmlns.js +16 -0
  223. package/dist/node_modules/property-information/lib/xmlns.js.map +1 -0
  224. package/dist/node_modules/react-markdown/lib/index.js +142 -0
  225. package/dist/node_modules/react-markdown/lib/index.js.map +1 -0
  226. package/dist/node_modules/remark-parse/lib/index.js +18 -0
  227. package/dist/node_modules/remark-parse/lib/index.js.map +1 -0
  228. package/dist/node_modules/remark-rehype/lib/index.js +20 -0
  229. package/dist/node_modules/remark-rehype/lib/index.js.map +1 -0
  230. package/dist/node_modules/space-separated-tokens/index.js +8 -0
  231. package/dist/node_modules/space-separated-tokens/index.js.map +1 -0
  232. package/dist/node_modules/style-to-js/cjs/index.js +21 -0
  233. package/dist/node_modules/style-to-js/cjs/index.js.map +1 -0
  234. package/dist/node_modules/style-to-js/cjs/utilities.js +20 -0
  235. package/dist/node_modules/style-to-js/cjs/utilities.js.map +1 -0
  236. package/dist/node_modules/style-to-object/cjs/index.js +25 -0
  237. package/dist/node_modules/style-to-object/cjs/index.js.map +1 -0
  238. package/dist/node_modules/trim-lines/index.js +23 -0
  239. package/dist/node_modules/trim-lines/index.js.map +1 -0
  240. package/dist/node_modules/trough/lib/index.js +52 -0
  241. package/dist/node_modules/trough/lib/index.js.map +1 -0
  242. package/dist/node_modules/unified/lib/callable-instance.js +11 -0
  243. package/dist/node_modules/unified/lib/callable-instance.js.map +1 -0
  244. package/dist/node_modules/unified/lib/index.js +163 -0
  245. package/dist/node_modules/unified/lib/index.js.map +1 -0
  246. package/dist/node_modules/unist-util-is/lib/index.js +49 -0
  247. package/dist/node_modules/unist-util-is/lib/index.js.map +1 -0
  248. package/dist/node_modules/unist-util-position/lib/index.js +24 -0
  249. package/dist/node_modules/unist-util-position/lib/index.js.map +1 -0
  250. package/dist/node_modules/unist-util-stringify-position/lib/index.js +17 -0
  251. package/dist/node_modules/unist-util-stringify-position/lib/index.js.map +1 -0
  252. package/dist/node_modules/unist-util-visit/lib/index.js +14 -0
  253. package/dist/node_modules/unist-util-visit/lib/index.js.map +1 -0
  254. package/dist/node_modules/unist-util-visit-parents/lib/color.js +8 -0
  255. package/dist/node_modules/unist-util-visit-parents/lib/color.js.map +1 -0
  256. package/dist/node_modules/unist-util-visit-parents/lib/index.js +38 -0
  257. package/dist/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
  258. package/dist/node_modules/vfile/lib/index.js +91 -0
  259. package/dist/node_modules/vfile/lib/index.js.map +1 -0
  260. package/dist/node_modules/vfile/lib/minpath.browser.js +101 -0
  261. package/dist/node_modules/vfile/lib/minpath.browser.js.map +1 -0
  262. package/dist/node_modules/vfile/lib/minproc.browser.js +9 -0
  263. package/dist/node_modules/vfile/lib/minproc.browser.js.map +1 -0
  264. package/dist/node_modules/vfile/lib/minurl.browser.js +33 -0
  265. package/dist/node_modules/vfile/lib/minurl.browser.js.map +1 -0
  266. package/dist/node_modules/vfile/lib/minurl.shared.js +8 -0
  267. package/dist/node_modules/vfile/lib/minurl.shared.js.map +1 -0
  268. package/dist/node_modules/vfile-message/lib/index.js +26 -0
  269. package/dist/node_modules/vfile-message/lib/index.js.map +1 -0
  270. package/dist/pages/AdminSubmissionsQueuePage.js +174 -174
  271. package/dist/pages/AdminSubmissionsQueuePage.js.map +1 -1
  272. package/dist/pages/MarketplaceHomePage.js +472 -422
  273. package/dist/pages/MarketplaceHomePage.js.map +1 -1
  274. package/dist/pages/ProductDetailPage.js +16 -16
  275. package/dist/pages/ProductDetailPage.js.map +1 -1
  276. package/package.json +1 -1
@@ -0,0 +1,11 @@
1
+ //#region node_modules/property-information/lib/util/info.js
2
+ var e = class {
3
+ constructor(e, t) {
4
+ this.attribute = t, this.property = e;
5
+ }
6
+ };
7
+ e.prototype.attribute = "", e.prototype.booleanish = !1, e.prototype.boolean = !1, e.prototype.commaOrSpaceSeparated = !1, e.prototype.commaSeparated = !1, e.prototype.defined = !1, e.prototype.mustUseProperty = !1, e.prototype.number = !1, e.prototype.overloadedBoolean = !1, e.prototype.property = "", e.prototype.spaceSeparated = !1, e.prototype.space = void 0;
8
+ //#endregion
9
+ export { e as Info };
10
+
11
+ //# sourceMappingURL=info.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"info.js","names":[],"sources":["../../../../../node_modules/property-information/lib/util/info.js"],"sourcesContent":["/**\n * @import {Info as InfoType} from 'property-information'\n */\n\n/** @type {InfoType} */\nexport class Info {\n /**\n * @param {string} property\n * Property.\n * @param {string} attribute\n * Attribute.\n * @returns\n * Info.\n */\n constructor(property, attribute) {\n this.attribute = attribute\n this.property = property\n }\n}\n\nInfo.prototype.attribute = ''\nInfo.prototype.booleanish = false\nInfo.prototype.boolean = false\nInfo.prototype.commaOrSpaceSeparated = false\nInfo.prototype.commaSeparated = false\nInfo.prototype.defined = false\nInfo.prototype.mustUseProperty = false\nInfo.prototype.number = false\nInfo.prototype.overloadedBoolean = false\nInfo.prototype.property = ''\nInfo.prototype.spaceSeparated = false\nInfo.prototype.space = undefined\n"],"x_google_ignoreList":[0],"mappings":";AAKA,IAAa,IAAb,MAAkB;CAShB,YAAY,GAAU,GAAW;AAE/B,EADA,KAAK,YAAY,GACjB,KAAK,WAAW;;;AAIpB,EAAK,UAAU,YAAY,IAC3B,EAAK,UAAU,aAAa,IAC5B,EAAK,UAAU,UAAU,IACzB,EAAK,UAAU,wBAAwB,IACvC,EAAK,UAAU,iBAAiB,IAChC,EAAK,UAAU,UAAU,IACzB,EAAK,UAAU,kBAAkB,IACjC,EAAK,UAAU,SAAS,IACxB,EAAK,UAAU,oBAAoB,IACnC,EAAK,UAAU,WAAW,IAC1B,EAAK,UAAU,iBAAiB,IAChC,EAAK,UAAU,QAAQ,KAAA"}
@@ -0,0 +1,11 @@
1
+ import { Schema as e } from "./schema.js";
2
+ //#region node_modules/property-information/lib/util/merge.js
3
+ function t(t, n) {
4
+ let r = {}, i = {};
5
+ for (let e of t) Object.assign(r, e.property), Object.assign(i, e.normal);
6
+ return new e(r, i, n);
7
+ }
8
+ //#endregion
9
+ export { t as merge };
10
+
11
+ //# sourceMappingURL=merge.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"merge.js","names":[],"sources":["../../../../../node_modules/property-information/lib/util/merge.js"],"sourcesContent":["/**\n * @import {Info, Space} from 'property-information'\n */\n\nimport {Schema} from './schema.js'\n\n/**\n * @param {ReadonlyArray<Schema>} definitions\n * Definitions.\n * @param {Space | undefined} [space]\n * Space.\n * @returns {Schema}\n * Schema.\n */\nexport function merge(definitions, space) {\n /** @type {Record<string, Info>} */\n const property = {}\n /** @type {Record<string, string>} */\n const normal = {}\n\n for (const definition of definitions) {\n Object.assign(property, definition.property)\n Object.assign(normal, definition.normal)\n }\n\n return new Schema(property, normal, space)\n}\n"],"x_google_ignoreList":[0],"mappings":";;AAcA,SAAgB,EAAM,GAAa,GAAO;CAExC,IAAM,IAAW,EAAE,EAEb,IAAS,EAAE;AAEjB,MAAK,IAAM,KAAc,EAEvB,CADA,OAAO,OAAO,GAAU,EAAW,SAAS,EAC5C,OAAO,OAAO,GAAQ,EAAW,OAAO;AAG1C,QAAO,IAAI,EAAO,GAAU,GAAQ,EAAM"}
@@ -0,0 +1,11 @@
1
+ //#region node_modules/property-information/lib/util/schema.js
2
+ var e = class {
3
+ constructor(e, t, n) {
4
+ this.normal = t, this.property = e, n && (this.space = n);
5
+ }
6
+ };
7
+ e.prototype.normal = {}, e.prototype.property = {}, e.prototype.space = void 0;
8
+ //#endregion
9
+ export { e as Schema };
10
+
11
+ //# sourceMappingURL=schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"schema.js","names":[],"sources":["../../../../../node_modules/property-information/lib/util/schema.js"],"sourcesContent":["/**\n * @import {Schema as SchemaType, Space} from 'property-information'\n */\n\n/** @type {SchemaType} */\nexport class Schema {\n /**\n * @param {SchemaType['property']} property\n * Property.\n * @param {SchemaType['normal']} normal\n * Normal.\n * @param {Space | undefined} [space]\n * Space.\n * @returns\n * Schema.\n */\n constructor(property, normal, space) {\n this.normal = normal\n this.property = property\n\n if (space) {\n this.space = space\n }\n }\n}\n\nSchema.prototype.normal = {}\nSchema.prototype.property = {}\nSchema.prototype.space = undefined\n"],"x_google_ignoreList":[0],"mappings":";AAKA,IAAa,IAAb,MAAoB;CAWlB,YAAY,GAAU,GAAQ,GAAO;AAInC,EAHA,KAAK,SAAS,GACd,KAAK,WAAW,GAEZ,MACF,KAAK,QAAQ;;;AAKnB,EAAO,UAAU,SAAS,EAAE,EAC5B,EAAO,UAAU,WAAW,EAAE,EAC9B,EAAO,UAAU,QAAQ,KAAA"}
@@ -0,0 +1,18 @@
1
+ import { __exportAll as e } from "../../../../_virtual/_rolldown/runtime.js";
2
+ //#region node_modules/property-information/lib/util/types.js
3
+ var t = /* @__PURE__ */ e({
4
+ boolean: () => r,
5
+ booleanish: () => i,
6
+ commaOrSpaceSeparated: () => l,
7
+ commaSeparated: () => c,
8
+ number: () => o,
9
+ overloadedBoolean: () => a,
10
+ spaceSeparated: () => s
11
+ }), n = 0, r = u(), i = u(), a = u(), o = u(), s = u(), c = u(), l = u();
12
+ function u() {
13
+ return 2 ** ++n;
14
+ }
15
+ //#endregion
16
+ export { r as boolean, i as booleanish, l as commaOrSpaceSeparated, c as commaSeparated, o as number, a as overloadedBoolean, s as spaceSeparated, t as types_exports };
17
+
18
+ //# sourceMappingURL=types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.js","names":[],"sources":["../../../../../node_modules/property-information/lib/util/types.js"],"sourcesContent":["let powers = 0\n\nexport const boolean = increment()\nexport const booleanish = increment()\nexport const overloadedBoolean = increment()\nexport const number = increment()\nexport const spaceSeparated = increment()\nexport const commaSeparated = increment()\nexport const commaOrSpaceSeparated = increment()\n\nfunction increment() {\n return 2 ** ++powers\n}\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;IAAI,IAAS,GAEA,IAAU,GAAW,EACrB,IAAa,GAAW,EACxB,IAAoB,GAAW,EAC/B,IAAS,GAAW,EACpB,IAAiB,GAAW,EAC5B,IAAiB,GAAW,EAC5B,IAAwB,GAAW;AAEhD,SAAS,IAAY;AACnB,QAAO,KAAK,EAAE"}
@@ -0,0 +1,21 @@
1
+ import { create as e } from "./util/create.js";
2
+ //#region node_modules/property-information/lib/xlink.js
3
+ var t = e({
4
+ properties: {
5
+ xLinkActuate: null,
6
+ xLinkArcRole: null,
7
+ xLinkHref: null,
8
+ xLinkRole: null,
9
+ xLinkShow: null,
10
+ xLinkTitle: null,
11
+ xLinkType: null
12
+ },
13
+ space: "xlink",
14
+ transform(e, t) {
15
+ return "xlink:" + t.slice(5).toLowerCase();
16
+ }
17
+ });
18
+ //#endregion
19
+ export { t as xlink };
20
+
21
+ //# sourceMappingURL=xlink.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"xlink.js","names":[],"sources":["../../../../node_modules/property-information/lib/xlink.js"],"sourcesContent":["import {create} from './util/create.js'\n\nexport const xlink = create({\n properties: {\n xLinkActuate: null,\n xLinkArcRole: null,\n xLinkHref: null,\n xLinkRole: null,\n xLinkShow: null,\n xLinkTitle: null,\n xLinkType: null\n },\n space: 'xlink',\n transform(_, property) {\n return 'xlink:' + property.slice(5).toLowerCase()\n }\n})\n"],"x_google_ignoreList":[0],"mappings":";;AAEA,IAAa,IAAQ,EAAO;CAC1B,YAAY;EACV,cAAc;EACd,cAAc;EACd,WAAW;EACX,WAAW;EACX,WAAW;EACX,YAAY;EACZ,WAAW;EACZ;CACD,OAAO;CACP,UAAU,GAAG,GAAU;AACrB,SAAO,WAAW,EAAS,MAAM,EAAE,CAAC,aAAa;;CAEpD,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { create as e } from "./util/create.js";
2
+ //#region node_modules/property-information/lib/xml.js
3
+ var t = e({
4
+ properties: {
5
+ xmlBase: null,
6
+ xmlLang: null,
7
+ xmlSpace: null
8
+ },
9
+ space: "xml",
10
+ transform(e, t) {
11
+ return "xml:" + t.slice(3).toLowerCase();
12
+ }
13
+ });
14
+ //#endregion
15
+ export { t as xml };
16
+
17
+ //# sourceMappingURL=xml.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"xml.js","names":[],"sources":["../../../../node_modules/property-information/lib/xml.js"],"sourcesContent":["import {create} from './util/create.js'\n\nexport const xml = create({\n properties: {xmlBase: null, xmlLang: null, xmlSpace: null},\n space: 'xml',\n transform(_, property) {\n return 'xml:' + property.slice(3).toLowerCase()\n }\n})\n"],"x_google_ignoreList":[0],"mappings":";;AAEA,IAAa,IAAM,EAAO;CACxB,YAAY;EAAC,SAAS;EAAM,SAAS;EAAM,UAAU;EAAK;CAC1D,OAAO;CACP,UAAU,GAAG,GAAU;AACrB,SAAO,SAAS,EAAS,MAAM,EAAE,CAAC,aAAa;;CAElD,CAAC"}
@@ -0,0 +1,16 @@
1
+ import { create as e } from "./util/create.js";
2
+ import { caseInsensitiveTransform as t } from "./util/case-insensitive-transform.js";
3
+ //#region node_modules/property-information/lib/xmlns.js
4
+ var n = e({
5
+ attributes: { xmlnsxlink: "xmlns:xlink" },
6
+ properties: {
7
+ xmlnsXLink: null,
8
+ xmlns: null
9
+ },
10
+ space: "xmlns",
11
+ transform: t
12
+ });
13
+ //#endregion
14
+ export { n as xmlns };
15
+
16
+ //# sourceMappingURL=xmlns.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"xmlns.js","names":[],"sources":["../../../../node_modules/property-information/lib/xmlns.js"],"sourcesContent":["import {create} from './util/create.js'\nimport {caseInsensitiveTransform} from './util/case-insensitive-transform.js'\n\nexport const xmlns = create({\n attributes: {xmlnsxlink: 'xmlns:xlink'},\n properties: {xmlnsXLink: null, xmlns: null},\n space: 'xmlns',\n transform: caseInsensitiveTransform\n})\n"],"x_google_ignoreList":[0],"mappings":";;;AAGA,IAAa,IAAQ,EAAO;CAC1B,YAAY,EAAC,YAAY,eAAc;CACvC,YAAY;EAAC,YAAY;EAAM,OAAO;EAAK;CAC3C,OAAO;CACP,WAAW;CACZ,CAAC"}
@@ -0,0 +1,142 @@
1
+ import "../../devlop/lib/default.js";
2
+ import { toJsxRuntime as e } from "../../hast-util-to-jsx-runtime/lib/index.js";
3
+ import { urlAttributes as t } from "../../html-url-attributes/lib/index.js";
4
+ import n from "../../remark-parse/lib/index.js";
5
+ import { visit as r } from "../../unist-util-visit/lib/index.js";
6
+ import i from "../../remark-rehype/lib/index.js";
7
+ import { VFile as a } from "../../vfile/lib/index.js";
8
+ import { unified as o } from "../../unified/lib/index.js";
9
+ import "react";
10
+ import { Fragment as s, jsx as c, jsxs as l } from "react/jsx-runtime";
11
+ //#region node_modules/react-markdown/lib/index.js
12
+ var u = [], d = { allowDangerousHtml: !0 }, f = /^(https?|ircs?|mailto|xmpp)$/i, p = [
13
+ {
14
+ from: "astPlugins",
15
+ id: "remove-buggy-html-in-markdown-parser"
16
+ },
17
+ {
18
+ from: "allowDangerousHtml",
19
+ id: "remove-buggy-html-in-markdown-parser"
20
+ },
21
+ {
22
+ from: "allowNode",
23
+ id: "replace-allownode-allowedtypes-and-disallowedtypes",
24
+ to: "allowElement"
25
+ },
26
+ {
27
+ from: "allowedTypes",
28
+ id: "replace-allownode-allowedtypes-and-disallowedtypes",
29
+ to: "allowedElements"
30
+ },
31
+ {
32
+ from: "className",
33
+ id: "remove-classname"
34
+ },
35
+ {
36
+ from: "disallowedTypes",
37
+ id: "replace-allownode-allowedtypes-and-disallowedtypes",
38
+ to: "disallowedElements"
39
+ },
40
+ {
41
+ from: "escapeHtml",
42
+ id: "remove-buggy-html-in-markdown-parser"
43
+ },
44
+ {
45
+ from: "includeElementIndex",
46
+ id: "#remove-includeelementindex"
47
+ },
48
+ {
49
+ from: "includeNodeIndex",
50
+ id: "change-includenodeindex-to-includeelementindex"
51
+ },
52
+ {
53
+ from: "linkTarget",
54
+ id: "remove-linktarget"
55
+ },
56
+ {
57
+ from: "plugins",
58
+ id: "change-plugins-to-remarkplugins",
59
+ to: "remarkPlugins"
60
+ },
61
+ {
62
+ from: "rawSourcePos",
63
+ id: "#remove-rawsourcepos"
64
+ },
65
+ {
66
+ from: "renderers",
67
+ id: "change-renderers-to-components",
68
+ to: "components"
69
+ },
70
+ {
71
+ from: "source",
72
+ id: "change-source-to-children",
73
+ to: "children"
74
+ },
75
+ {
76
+ from: "sourcePos",
77
+ id: "#remove-sourcepos"
78
+ },
79
+ {
80
+ from: "transformImageUri",
81
+ id: "#add-urltransform",
82
+ to: "urlTransform"
83
+ },
84
+ {
85
+ from: "transformLinkUri",
86
+ id: "#add-urltransform",
87
+ to: "urlTransform"
88
+ }
89
+ ];
90
+ function m(e) {
91
+ let t = h(e), n = g(e);
92
+ return _(t.runSync(t.parse(n), n), e);
93
+ }
94
+ function h(e) {
95
+ let t = e.rehypePlugins || u, r = e.remarkPlugins || u, a = e.remarkRehypeOptions ? {
96
+ ...e.remarkRehypeOptions,
97
+ ...d
98
+ } : d;
99
+ return o().use(n).use(r).use(i, a).use(t);
100
+ }
101
+ function g(e) {
102
+ let t = e.children || "", n = new a();
103
+ return typeof t == "string" ? n.value = t : "" + t, n;
104
+ }
105
+ function _(n, i) {
106
+ let a = i.allowedElements, o = i.allowElement, u = i.components, d = i.disallowedElements, f = i.skipHtml, m = i.unwrapDisallowed, h = i.urlTransform || v;
107
+ for (let e of p) Object.hasOwn(i, e.from) && "" + e.from + (e.to ? "use `" + e.to + "` instead" : "remove it") + e.id;
108
+ return r(n, g), e(n, {
109
+ Fragment: s,
110
+ components: u,
111
+ ignoreInvalidStyle: !0,
112
+ jsx: c,
113
+ jsxs: l,
114
+ passKeys: !0,
115
+ passNode: !0
116
+ });
117
+ function g(e, n, r) {
118
+ if (e.type === "raw" && r && typeof n == "number") return f ? r.children.splice(n, 1) : r.children[n] = {
119
+ type: "text",
120
+ value: e.value
121
+ }, n;
122
+ if (e.type === "element") {
123
+ let n;
124
+ for (n in t) if (Object.hasOwn(t, n) && Object.hasOwn(e.properties, n)) {
125
+ let r = e.properties[n], i = t[n];
126
+ (i === null || i.includes(e.tagName)) && (e.properties[n] = h(String(r || ""), n, e));
127
+ }
128
+ }
129
+ if (e.type === "element") {
130
+ let t = a ? !a.includes(e.tagName) : d ? d.includes(e.tagName) : !1;
131
+ if (!t && o && typeof n == "number" && (t = !o(e, n, r)), t && r && typeof n == "number") return m && e.children ? r.children.splice(n, 1, ...e.children) : r.children.splice(n, 1), n;
132
+ }
133
+ }
134
+ }
135
+ function v(e) {
136
+ let t = e.indexOf(":"), n = e.indexOf("?"), r = e.indexOf("#"), i = e.indexOf("/");
137
+ return t === -1 || i !== -1 && t > i || n !== -1 && t > n || r !== -1 && t > r || f.test(e.slice(0, t)) ? e : "";
138
+ }
139
+ //#endregion
140
+ export { m as Markdown };
141
+
142
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../../node_modules/react-markdown/lib/index.js"],"sourcesContent":["/**\n * @import {Element, Nodes, Parents, Root} from 'hast'\n * @import {Root as MdastRoot} from 'mdast'\n * @import {ComponentType, JSX, ReactElement, ReactNode} from 'react'\n * @import {Options as RemarkRehypeOptions} from 'remark-rehype'\n * @import {BuildVisitor} from 'unist-util-visit'\n * @import {PluggableList, Processor} from 'unified'\n */\n\n/**\n * @callback AllowElement\n * Filter elements.\n * @param {Readonly<Element>} element\n * Element to check.\n * @param {number} index\n * Index of `element` in `parent`.\n * @param {Readonly<Parents> | undefined} parent\n * Parent of `element`.\n * @returns {boolean | null | undefined}\n * Whether to allow `element` (default: `false`).\n */\n\n/**\n * @typedef ExtraProps\n * Extra fields we pass.\n * @property {Element | undefined} [node]\n * passed when `passNode` is on.\n */\n\n/**\n * @typedef {{\n * [Key in keyof JSX.IntrinsicElements]?: ComponentType<JSX.IntrinsicElements[Key] & ExtraProps> | keyof JSX.IntrinsicElements\n * }} Components\n * Map tag names to components.\n */\n\n/**\n * @typedef Deprecation\n * Deprecation.\n * @property {string} from\n * Old field.\n * @property {string} id\n * ID in readme.\n * @property {keyof Options} [to]\n * New field.\n */\n\n/**\n * @typedef Options\n * Configuration.\n * @property {AllowElement | null | undefined} [allowElement]\n * Filter elements (optional);\n * `allowedElements` / `disallowedElements` is used first.\n * @property {ReadonlyArray<string> | null | undefined} [allowedElements]\n * Tag names to allow (default: all tag names);\n * cannot combine w/ `disallowedElements`.\n * @property {string | null | undefined} [children]\n * Markdown.\n * @property {Components | null | undefined} [components]\n * Map tag names to components.\n * @property {ReadonlyArray<string> | null | undefined} [disallowedElements]\n * Tag names to disallow (default: `[]`);\n * cannot combine w/ `allowedElements`.\n * @property {PluggableList | null | undefined} [rehypePlugins]\n * List of rehype plugins to use.\n * @property {PluggableList | null | undefined} [remarkPlugins]\n * List of remark plugins to use.\n * @property {Readonly<RemarkRehypeOptions> | null | undefined} [remarkRehypeOptions]\n * Options to pass through to `remark-rehype`.\n * @property {boolean | null | undefined} [skipHtml=false]\n * Ignore HTML in markdown completely (default: `false`).\n * @property {boolean | null | undefined} [unwrapDisallowed=false]\n * Extract (unwrap) what’s in disallowed elements (default: `false`);\n * normally when say `strong` is not allowed, it and it’s children are dropped,\n * with `unwrapDisallowed` the element itself is replaced by its children.\n * @property {UrlTransform | null | undefined} [urlTransform]\n * Change URLs (default: `defaultUrlTransform`)\n */\n\n/**\n * @typedef HooksOptionsOnly\n * Configuration specifically for {@linkcode MarkdownHooks}.\n * @property {ReactNode | null | undefined} [fallback]\n * Content to render while the processor processing the markdown (optional).\n */\n\n/**\n * @typedef {Options & HooksOptionsOnly} HooksOptions\n * Configuration for {@linkcode MarkdownHooks};\n * extends the regular {@linkcode Options} with a `fallback` prop.\n */\n\n/**\n * @callback UrlTransform\n * Transform all URLs.\n * @param {string} url\n * URL.\n * @param {string} key\n * Property name (example: `'href'`).\n * @param {Readonly<Element>} node\n * Node.\n * @returns {string | null | undefined}\n * Transformed URL (optional).\n */\n\nimport {unreachable} from 'devlop'\nimport {toJsxRuntime} from 'hast-util-to-jsx-runtime'\nimport {urlAttributes} from 'html-url-attributes'\nimport {Fragment, jsx, jsxs} from 'react/jsx-runtime'\nimport {useEffect, useState} from 'react'\nimport remarkParse from 'remark-parse'\nimport remarkRehype from 'remark-rehype'\nimport {unified} from 'unified'\nimport {visit} from 'unist-util-visit'\nimport {VFile} from 'vfile'\n\nconst changelog =\n 'https://github.com/remarkjs/react-markdown/blob/main/changelog.md'\n\n/** @type {PluggableList} */\nconst emptyPlugins = []\n/** @type {Readonly<RemarkRehypeOptions>} */\nconst emptyRemarkRehypeOptions = {allowDangerousHtml: true}\nconst safeProtocol = /^(https?|ircs?|mailto|xmpp)$/i\n\n// Mutable because we `delete` any time it’s used and a message is sent.\n/** @type {ReadonlyArray<Readonly<Deprecation>>} */\nconst deprecations = [\n {from: 'astPlugins', id: 'remove-buggy-html-in-markdown-parser'},\n {from: 'allowDangerousHtml', id: 'remove-buggy-html-in-markdown-parser'},\n {\n from: 'allowNode',\n id: 'replace-allownode-allowedtypes-and-disallowedtypes',\n to: 'allowElement'\n },\n {\n from: 'allowedTypes',\n id: 'replace-allownode-allowedtypes-and-disallowedtypes',\n to: 'allowedElements'\n },\n {from: 'className', id: 'remove-classname'},\n {\n from: 'disallowedTypes',\n id: 'replace-allownode-allowedtypes-and-disallowedtypes',\n to: 'disallowedElements'\n },\n {from: 'escapeHtml', id: 'remove-buggy-html-in-markdown-parser'},\n {from: 'includeElementIndex', id: '#remove-includeelementindex'},\n {\n from: 'includeNodeIndex',\n id: 'change-includenodeindex-to-includeelementindex'\n },\n {from: 'linkTarget', id: 'remove-linktarget'},\n {from: 'plugins', id: 'change-plugins-to-remarkplugins', to: 'remarkPlugins'},\n {from: 'rawSourcePos', id: '#remove-rawsourcepos'},\n {from: 'renderers', id: 'change-renderers-to-components', to: 'components'},\n {from: 'source', id: 'change-source-to-children', to: 'children'},\n {from: 'sourcePos', id: '#remove-sourcepos'},\n {from: 'transformImageUri', id: '#add-urltransform', to: 'urlTransform'},\n {from: 'transformLinkUri', id: '#add-urltransform', to: 'urlTransform'}\n]\n\n/**\n * Component to render markdown.\n *\n * This is a synchronous component.\n * When using async plugins,\n * see {@linkcode MarkdownAsync} or {@linkcode MarkdownHooks}.\n *\n * @param {Readonly<Options>} options\n * Props.\n * @returns {ReactElement}\n * React element.\n */\nexport function Markdown(options) {\n const processor = createProcessor(options)\n const file = createFile(options)\n return post(processor.runSync(processor.parse(file), file), options)\n}\n\n/**\n * Component to render markdown with support for async plugins\n * through async/await.\n *\n * Components returning promises are supported on the server.\n * For async support on the client,\n * see {@linkcode MarkdownHooks}.\n *\n * @param {Readonly<Options>} options\n * Props.\n * @returns {Promise<ReactElement>}\n * Promise to a React element.\n */\nexport async function MarkdownAsync(options) {\n const processor = createProcessor(options)\n const file = createFile(options)\n const tree = await processor.run(processor.parse(file), file)\n return post(tree, options)\n}\n\n/**\n * Component to render markdown with support for async plugins through hooks.\n *\n * This uses `useEffect` and `useState` hooks.\n * Hooks run on the client and do not immediately render something.\n * For async support on the server,\n * see {@linkcode MarkdownAsync}.\n *\n * @param {Readonly<HooksOptions>} options\n * Props.\n * @returns {ReactNode}\n * React node.\n */\nexport function MarkdownHooks(options) {\n const processor = createProcessor(options)\n const [error, setError] = useState(\n /** @type {Error | undefined} */ (undefined)\n )\n const [tree, setTree] = useState(/** @type {Root | undefined} */ (undefined))\n\n useEffect(\n function () {\n let cancelled = false\n const file = createFile(options)\n\n processor.run(processor.parse(file), file, function (error, tree) {\n if (!cancelled) {\n setError(error)\n setTree(tree)\n }\n })\n\n /**\n * @returns {undefined}\n * Nothing.\n */\n return function () {\n cancelled = true\n }\n },\n [\n options.children,\n options.rehypePlugins,\n options.remarkPlugins,\n options.remarkRehypeOptions\n ]\n )\n\n if (error) throw error\n\n return tree ? post(tree, options) : options.fallback\n}\n\n/**\n * Set up the `unified` processor.\n *\n * @param {Readonly<Options>} options\n * Props.\n * @returns {Processor<MdastRoot, MdastRoot, Root, undefined, undefined>}\n * Result.\n */\nfunction createProcessor(options) {\n const rehypePlugins = options.rehypePlugins || emptyPlugins\n const remarkPlugins = options.remarkPlugins || emptyPlugins\n const remarkRehypeOptions = options.remarkRehypeOptions\n ? {...options.remarkRehypeOptions, ...emptyRemarkRehypeOptions}\n : emptyRemarkRehypeOptions\n\n const processor = unified()\n .use(remarkParse)\n .use(remarkPlugins)\n .use(remarkRehype, remarkRehypeOptions)\n .use(rehypePlugins)\n\n return processor\n}\n\n/**\n * Set up the virtual file.\n *\n * @param {Readonly<Options>} options\n * Props.\n * @returns {VFile}\n * Result.\n */\nfunction createFile(options) {\n const children = options.children || ''\n const file = new VFile()\n\n if (typeof children === 'string') {\n file.value = children\n } else {\n unreachable(\n 'Unexpected value `' +\n children +\n '` for `children` prop, expected `string`'\n )\n }\n\n return file\n}\n\n/**\n * Process the result from unified some more.\n *\n * @param {Nodes} tree\n * Tree.\n * @param {Readonly<Options>} options\n * Props.\n * @returns {ReactElement}\n * React element.\n */\nfunction post(tree, options) {\n const allowedElements = options.allowedElements\n const allowElement = options.allowElement\n const components = options.components\n const disallowedElements = options.disallowedElements\n const skipHtml = options.skipHtml\n const unwrapDisallowed = options.unwrapDisallowed\n const urlTransform = options.urlTransform || defaultUrlTransform\n\n for (const deprecation of deprecations) {\n if (Object.hasOwn(options, deprecation.from)) {\n unreachable(\n 'Unexpected `' +\n deprecation.from +\n '` prop, ' +\n (deprecation.to\n ? 'use `' + deprecation.to + '` instead'\n : 'remove it') +\n ' (see <' +\n changelog +\n '#' +\n deprecation.id +\n '> for more info)'\n )\n }\n }\n\n if (allowedElements && disallowedElements) {\n unreachable(\n 'Unexpected combined `allowedElements` and `disallowedElements`, expected one or the other'\n )\n }\n\n visit(tree, transform)\n\n return toJsxRuntime(tree, {\n Fragment,\n components,\n ignoreInvalidStyle: true,\n jsx,\n jsxs,\n passKeys: true,\n passNode: true\n })\n\n /** @type {BuildVisitor<Root>} */\n function transform(node, index, parent) {\n if (node.type === 'raw' && parent && typeof index === 'number') {\n if (skipHtml) {\n parent.children.splice(index, 1)\n } else {\n parent.children[index] = {type: 'text', value: node.value}\n }\n\n return index\n }\n\n if (node.type === 'element') {\n /** @type {string} */\n let key\n\n for (key in urlAttributes) {\n if (\n Object.hasOwn(urlAttributes, key) &&\n Object.hasOwn(node.properties, key)\n ) {\n const value = node.properties[key]\n const test = urlAttributes[key]\n if (test === null || test.includes(node.tagName)) {\n node.properties[key] = urlTransform(String(value || ''), key, node)\n }\n }\n }\n }\n\n if (node.type === 'element') {\n let remove = allowedElements\n ? !allowedElements.includes(node.tagName)\n : disallowedElements\n ? disallowedElements.includes(node.tagName)\n : false\n\n if (!remove && allowElement && typeof index === 'number') {\n remove = !allowElement(node, index, parent)\n }\n\n if (remove && parent && typeof index === 'number') {\n if (unwrapDisallowed && node.children) {\n parent.children.splice(index, 1, ...node.children)\n } else {\n parent.children.splice(index, 1)\n }\n\n return index\n }\n }\n }\n}\n\n/**\n * Make a URL safe.\n *\n * @satisfies {UrlTransform}\n * @param {string} value\n * URL.\n * @returns {string}\n * Safe URL.\n */\nexport function defaultUrlTransform(value) {\n // Same as:\n // <https://github.com/micromark/micromark/blob/929275e/packages/micromark-util-sanitize-uri/dev/index.js#L34>\n // But without the `encode` part.\n const colon = value.indexOf(':')\n const questionMark = value.indexOf('?')\n const numberSign = value.indexOf('#')\n const slash = value.indexOf('/')\n\n if (\n // If there is no protocol, it’s relative.\n colon === -1 ||\n // If the first colon is after a `?`, `#`, or `/`, it’s not a protocol.\n (slash !== -1 && colon > slash) ||\n (questionMark !== -1 && colon > questionMark) ||\n (numberSign !== -1 && colon > numberSign) ||\n // It is a protocol, it should be allowed.\n safeProtocol.test(value.slice(0, colon))\n ) {\n return value\n }\n\n return ''\n}\n"],"x_google_ignoreList":[0],"mappings":";;;;;;;;;;;AAwHA,IAAM,IAAe,EAAE,EAEjB,IAA2B,EAAC,oBAAoB,IAAK,EACrD,IAAe,iCAIf,IAAe;CACnB;EAAC,MAAM;EAAc,IAAI;EAAuC;CAChE;EAAC,MAAM;EAAsB,IAAI;EAAuC;CACxE;EACE,MAAM;EACN,IAAI;EACJ,IAAI;EACL;CACD;EACE,MAAM;EACN,IAAI;EACJ,IAAI;EACL;CACD;EAAC,MAAM;EAAa,IAAI;EAAmB;CAC3C;EACE,MAAM;EACN,IAAI;EACJ,IAAI;EACL;CACD;EAAC,MAAM;EAAc,IAAI;EAAuC;CAChE;EAAC,MAAM;EAAuB,IAAI;EAA8B;CAChE;EACE,MAAM;EACN,IAAI;EACL;CACD;EAAC,MAAM;EAAc,IAAI;EAAoB;CAC7C;EAAC,MAAM;EAAW,IAAI;EAAmC,IAAI;EAAgB;CAC7E;EAAC,MAAM;EAAgB,IAAI;EAAuB;CAClD;EAAC,MAAM;EAAa,IAAI;EAAkC,IAAI;EAAa;CAC3E;EAAC,MAAM;EAAU,IAAI;EAA6B,IAAI;EAAW;CACjE;EAAC,MAAM;EAAa,IAAI;EAAoB;CAC5C;EAAC,MAAM;EAAqB,IAAI;EAAqB,IAAI;EAAe;CACxE;EAAC,MAAM;EAAoB,IAAI;EAAqB,IAAI;EAAe;CACxE;AAcD,SAAgB,EAAS,GAAS;CAChC,IAAM,IAAY,EAAgB,EAAQ,EACpC,IAAO,EAAW,EAAQ;AAChC,QAAO,EAAK,EAAU,QAAQ,EAAU,MAAM,EAAK,EAAE,EAAK,EAAE,EAAQ;;AAoFtE,SAAS,EAAgB,GAAS;CAChC,IAAM,IAAgB,EAAQ,iBAAiB,GACzC,IAAgB,EAAQ,iBAAiB,GACzC,IAAsB,EAAQ,sBAChC;EAAC,GAAG,EAAQ;EAAqB,GAAG;EAAyB,GAC7D;AAQJ,QANkB,GAAS,CACxB,IAAI,EAAY,CAChB,IAAI,EAAc,CAClB,IAAI,GAAc,EAAoB,CACtC,IAAI,EAAc;;AAavB,SAAS,EAAW,GAAS;CAC3B,IAAM,IAAW,EAAQ,YAAY,IAC/B,IAAO,IAAI,GAAO;AAYxB,QAVI,OAAO,KAAa,WACtB,EAAK,QAAQ,IAGX,KACE,GAKC;;AAaT,SAAS,EAAK,GAAM,GAAS;CAC3B,IAAM,IAAkB,EAAQ,iBAC1B,IAAe,EAAQ,cACvB,IAAa,EAAQ,YACrB,IAAqB,EAAQ,oBAC7B,IAAW,EAAQ,UACnB,IAAmB,EAAQ,kBAC3B,IAAe,EAAQ,gBAAgB;AAE7C,MAAK,IAAM,KAAe,EACxB,CAAI,OAAO,OAAO,GAAS,EAAY,KAAK,IAExC,KACE,EAAY,QAEX,EAAY,KACT,UAAU,EAAY,KAAK,cAC3B,eAIJ,EAAY;AAcpB,QAFA,EAAM,GAAM,EAAU,EAEf,EAAa,GAAM;EACxB;EACA;EACA,oBAAoB;EACpB;EACA;EACA,UAAU;EACV,UAAU;EACX,CAAC;CAGF,SAAS,EAAU,GAAM,GAAO,GAAQ;AACtC,MAAI,EAAK,SAAS,SAAS,KAAU,OAAO,KAAU,SAOpD,QANI,IACF,EAAO,SAAS,OAAO,GAAO,EAAE,GAEhC,EAAO,SAAS,KAAS;GAAC,MAAM;GAAQ,OAAO,EAAK;GAAM,EAGrD;AAGT,MAAI,EAAK,SAAS,WAAW;GAE3B,IAAI;AAEJ,QAAK,KAAO,EACV,KACE,OAAO,OAAO,GAAe,EAAI,IACjC,OAAO,OAAO,EAAK,YAAY,EAAI,EACnC;IACA,IAAM,IAAQ,EAAK,WAAW,IACxB,IAAO,EAAc;AAC3B,KAAI,MAAS,QAAQ,EAAK,SAAS,EAAK,QAAQ,MAC9C,EAAK,WAAW,KAAO,EAAa,OAAO,KAAS,GAAG,EAAE,GAAK,EAAK;;;AAM3E,MAAI,EAAK,SAAS,WAAW;GAC3B,IAAI,IAAS,IACT,CAAC,EAAgB,SAAS,EAAK,QAAQ,GACvC,IACE,EAAmB,SAAS,EAAK,QAAQ,GACzC;AAMN,OAJI,CAAC,KAAU,KAAgB,OAAO,KAAU,aAC9C,IAAS,CAAC,EAAa,GAAM,GAAO,EAAO,GAGzC,KAAU,KAAU,OAAO,KAAU,SAOvC,QANI,KAAoB,EAAK,WAC3B,EAAO,SAAS,OAAO,GAAO,GAAG,GAAG,EAAK,SAAS,GAElD,EAAO,SAAS,OAAO,GAAO,EAAE,EAG3B;;;;AAef,SAAgB,EAAoB,GAAO;CAIzC,IAAM,IAAQ,EAAM,QAAQ,IAAI,EAC1B,IAAe,EAAM,QAAQ,IAAI,EACjC,IAAa,EAAM,QAAQ,IAAI,EAC/B,IAAQ,EAAM,QAAQ,IAAI;AAehC,QAXE,MAAU,MAET,MAAU,MAAM,IAAQ,KACxB,MAAiB,MAAM,IAAQ,KAC/B,MAAe,MAAM,IAAQ,KAE9B,EAAa,KAAK,EAAM,MAAM,GAAG,EAAM,CAAC,GAEjC,IAGF"}
@@ -0,0 +1,18 @@
1
+ import { fromMarkdown as e } from "../../mdast-util-from-markdown/lib/index.js";
2
+ //#region node_modules/remark-parse/lib/index.js
3
+ function t(t) {
4
+ let n = this;
5
+ n.parser = r;
6
+ function r(r) {
7
+ return e(r, {
8
+ ...n.data("settings"),
9
+ ...t,
10
+ extensions: n.data("micromarkExtensions") || [],
11
+ mdastExtensions: n.data("fromMarkdownExtensions") || []
12
+ });
13
+ }
14
+ }
15
+ //#endregion
16
+ export { t as default };
17
+
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../../node_modules/remark-parse/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('mdast').Root} Root\n * @typedef {import('mdast-util-from-markdown').Options} FromMarkdownOptions\n * @typedef {import('unified').Parser<Root>} Parser\n * @typedef {import('unified').Processor<Root>} Processor\n */\n\n/**\n * @typedef {Omit<FromMarkdownOptions, 'extensions' | 'mdastExtensions'>} Options\n */\n\nimport {fromMarkdown} from 'mdast-util-from-markdown'\n\n/**\n * Aadd support for parsing from markdown.\n *\n * @param {Readonly<Options> | null | undefined} [options]\n * Configuration (optional).\n * @returns {undefined}\n * Nothing.\n */\nexport default function remarkParse(options) {\n /** @type {Processor} */\n // @ts-expect-error: TS in JSDoc generates wrong types if `this` is typed regularly.\n const self = this\n\n self.parser = parser\n\n /**\n * @type {Parser}\n */\n function parser(doc) {\n return fromMarkdown(doc, {\n ...self.data('settings'),\n ...options,\n // Note: these options are not in the readme.\n // The goal is for them to be set by plugins on `data` instead of being\n // passed by users.\n extensions: self.data('micromarkExtensions') || [],\n mdastExtensions: self.data('fromMarkdownExtensions') || []\n })\n }\n}\n"],"x_google_ignoreList":[0],"mappings":";;AAqBA,SAAwB,EAAY,GAAS;CAG3C,IAAM,IAAO;AAEb,GAAK,SAAS;CAKd,SAAS,EAAO,GAAK;AACnB,SAAO,EAAa,GAAK;GACvB,GAAG,EAAK,KAAK,WAAW;GACxB,GAAG;GAIH,YAAY,EAAK,KAAK,sBAAsB,IAAI,EAAE;GAClD,iBAAiB,EAAK,KAAK,yBAAyB,IAAI,EAAE;GAC3D,CAAC"}
@@ -0,0 +1,20 @@
1
+ import { toHast as e } from "../../mdast-util-to-hast/lib/index.js";
2
+ //#region node_modules/remark-rehype/lib/index.js
3
+ function t(t, n) {
4
+ return t && "run" in t ? async function(r, i) {
5
+ let a = e(r, {
6
+ file: i,
7
+ ...n
8
+ });
9
+ await t.run(a, i);
10
+ } : function(r, i) {
11
+ return e(r, {
12
+ file: i,
13
+ ...t || n
14
+ });
15
+ };
16
+ }
17
+ //#endregion
18
+ export { t as default };
19
+
20
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../../node_modules/remark-rehype/lib/index.js"],"sourcesContent":["/**\n * @import {Root as HastRoot} from 'hast'\n * @import {Root as MdastRoot} from 'mdast'\n * @import {Options as ToHastOptions} from 'mdast-util-to-hast'\n * @import {Processor} from 'unified'\n * @import {VFile} from 'vfile'\n */\n\n/**\n * @typedef {Omit<ToHastOptions, 'file'>} Options\n *\n * @callback TransformBridge\n * Bridge-mode.\n *\n * Runs the destination with the new hast tree.\n * Discards result.\n * @param {MdastRoot} tree\n * Tree.\n * @param {VFile} file\n * File.\n * @returns {Promise<undefined>}\n * Nothing.\n *\n * @callback TransformMutate\n * Mutate-mode.\n *\n * Further transformers run on the hast tree.\n * @param {MdastRoot} tree\n * Tree.\n * @param {VFile} file\n * File.\n * @returns {HastRoot}\n * Tree (hast).\n */\n\nimport {toHast} from 'mdast-util-to-hast'\n\n/**\n * Turn markdown into HTML.\n *\n * ##### Notes\n *\n * ###### Signature\n *\n * * if a processor is given,\n * runs the (rehype) plugins used on it with a hast tree,\n * then discards the result (*bridge mode*)\n * * otherwise,\n * returns a hast tree,\n * the plugins used after `remarkRehype` are rehype plugins (*mutate mode*)\n *\n * > 👉 **Note**:\n * > It’s highly unlikely that you want to pass a `processor`.\n *\n * ###### HTML\n *\n * Raw HTML is available in mdast as `html` nodes and can be embedded in hast\n * as semistandard `raw` nodes.\n * Most plugins ignore `raw` nodes but two notable ones don’t:\n *\n * * `rehype-stringify` also has an option `allowDangerousHtml` which will\n * output the raw HTML.\n * This is typically discouraged as noted by the option name but is useful if\n * you completely trust authors\n * * `rehype-raw` can handle the raw embedded HTML strings by parsing them\n * into standard hast nodes (`element`, `text`, etc);\n * this is a heavy task as it needs a full HTML parser,\n * but it is the only way to support untrusted content\n *\n * ###### Footnotes\n *\n * Many options supported here relate to footnotes.\n * Footnotes are not specified by CommonMark,\n * which we follow by default.\n * They are supported by GitHub,\n * so footnotes can be enabled in markdown with `remark-gfm`.\n *\n * The options `footnoteBackLabel` and `footnoteLabel` define natural language\n * that explains footnotes,\n * which is hidden for sighted users but shown to assistive technology.\n * When your page is not in English,\n * you must define translated values.\n *\n * Back references use ARIA attributes,\n * but the section label itself uses a heading that is hidden with an\n * `sr-only` class.\n * To show it to sighted users,\n * define different attributes in `footnoteLabelProperties`.\n *\n * ###### Clobbering\n *\n * Footnotes introduces a problem,\n * as it links footnote calls to footnote definitions on the page through `id`\n * attributes generated from user content,\n * which results in DOM clobbering.\n *\n * DOM clobbering is this:\n *\n * ```html\n * <p id=x></p>\n * <script>alert(x) // `x` now refers to the DOM `p#x` element</script>\n * ```\n *\n * Elements by their ID are made available by browsers on the `window` object,\n * which is a security risk.\n * Using a prefix solves this problem.\n *\n * More information on how to handle clobbering and the prefix is explained in\n * *Example: headings (DOM clobbering)* in `rehype-sanitize`.\n *\n * ###### Unknown nodes\n *\n * Unknown nodes are nodes with a type that isn’t in `handlers` or `passThrough`.\n * The default behavior for unknown nodes is:\n *\n * * when the node has a `value`\n * (and doesn’t have `data.hName`, `data.hProperties`, or `data.hChildren`,\n * see later),\n * create a hast `text` node\n * * otherwise,\n * create a `<div>` element (which could be changed with `data.hName`),\n * with its children mapped from mdast to hast as well\n *\n * This behavior can be changed by passing an `unknownHandler`.\n *\n * @overload\n * @param {Processor} processor\n * @param {Readonly<Options> | null | undefined} [options]\n * @returns {TransformBridge}\n *\n * @overload\n * @param {Readonly<Options> | null | undefined} [options]\n * @returns {TransformMutate}\n *\n * @overload\n * @param {Readonly<Options> | Processor | null | undefined} [destination]\n * @param {Readonly<Options> | null | undefined} [options]\n * @returns {TransformBridge | TransformMutate}\n *\n * @param {Readonly<Options> | Processor | null | undefined} [destination]\n * Processor or configuration (optional).\n * @param {Readonly<Options> | null | undefined} [options]\n * When a processor was given,\n * configuration (optional).\n * @returns {TransformBridge | TransformMutate}\n * Transform.\n */\nexport default function remarkRehype(destination, options) {\n if (destination && 'run' in destination) {\n /**\n * @type {TransformBridge}\n */\n return async function (tree, file) {\n // Cast because root in -> root out.\n const hastTree = /** @type {HastRoot} */ (\n toHast(tree, {file, ...options})\n )\n await destination.run(hastTree, file)\n }\n }\n\n /**\n * @type {TransformMutate}\n */\n return function (tree, file) {\n // Cast because root in -> root out.\n // To do: in the future, disallow ` || options` fallback.\n // With `unified-engine`, `destination` can be `undefined` but\n // `options` will be the file set.\n // We should not pass that as `options`.\n return /** @type {HastRoot} */ (\n toHast(tree, {file, ...(destination || options)})\n )\n }\n}\n"],"x_google_ignoreList":[0],"mappings":";;AAmJA,SAAwB,EAAa,GAAa,GAAS;AAiBzD,QAhBI,KAAe,SAAS,IAInB,eAAgB,GAAM,GAAM;EAEjC,IAAM,IACJ,EAAO,GAAM;GAAC;GAAM,GAAG;GAAQ,CAAC;AAElC,QAAM,EAAY,IAAI,GAAU,EAAK;KAOlC,SAAU,GAAM,GAAM;AAM3B,SACE,EAAO,GAAM;GAAC;GAAM,GAAI,KAAe;GAAS,CAAC"}
@@ -0,0 +1,8 @@
1
+ //#region node_modules/space-separated-tokens/index.js
2
+ function e(e) {
3
+ return e.join(" ").trim();
4
+ }
5
+ //#endregion
6
+ export { e as stringify };
7
+
8
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../node_modules/space-separated-tokens/index.js"],"sourcesContent":["/**\n * Parse space-separated tokens to an array of strings.\n *\n * @param {string} value\n * Space-separated tokens.\n * @returns {Array<string>}\n * List of tokens.\n */\nexport function parse(value) {\n const input = String(value || '').trim()\n return input ? input.split(/[ \\t\\n\\r\\f]+/g) : []\n}\n\n/**\n * Serialize an array of strings as space separated-tokens.\n *\n * @param {Array<string|number>} values\n * List of tokens.\n * @returns {string}\n * Space-separated tokens.\n */\nexport function stringify(values) {\n return values.join(' ').trim()\n}\n"],"x_google_ignoreList":[0],"mappings":";AAqBA,SAAgB,EAAU,GAAQ;AAChC,QAAO,EAAO,KAAK,IAAI,CAAC,MAAM"}
@@ -0,0 +1,21 @@
1
+ import { __commonJSMin as e } from "../../../_virtual/_rolldown/runtime.js";
2
+ import { require_cjs as t } from "../../style-to-object/cjs/index.js";
3
+ import { require_utilities as n } from "./utilities.js";
4
+ //#region node_modules/style-to-js/cjs/index.js
5
+ var r = /* @__PURE__ */ e(((e, r) => {
6
+ var i = (e && e.__importDefault || function(e) {
7
+ return e && e.__esModule ? e : { default: e };
8
+ })(t()), a = n();
9
+ function o(e, t) {
10
+ var n = {};
11
+ return !e || typeof e != "string" || (0, i.default)(e, function(e, r) {
12
+ e && r && (n[(0, a.camelCase)(e, t)] = r);
13
+ }), n;
14
+ }
15
+ o.default = o, r.exports = o;
16
+ }));
17
+ //#endregion
18
+ export default r();
19
+ export { r as require_cjs };
20
+
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../../node_modules/style-to-js/cjs/index.js"],"sourcesContent":["\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nvar style_to_object_1 = __importDefault(require(\"style-to-object\"));\nvar utilities_1 = require(\"./utilities\");\n/**\n * Parses CSS inline style to JavaScript object (camelCased).\n */\nfunction StyleToJS(style, options) {\n var output = {};\n if (!style || typeof style !== 'string') {\n return output;\n }\n (0, style_to_object_1.default)(style, function (property, value) {\n // skip CSS comment\n if (property && value) {\n output[(0, utilities_1.camelCase)(property, options)] = value;\n }\n });\n return output;\n}\nStyleToJS.default = StyleToJS;\nmodule.exports = StyleToJS;\n//# sourceMappingURL=index.js.map"],"x_google_ignoreList":[0],"mappings":";;;;;CAIA,IAAI,KAAA,KAAA,EAHgC,mBAAoB,SAAU,GAAK;AACnE,SAAQ,KAAO,EAAI,aAAc,IAAM,EAAE,SAAW,GAAK;QAEM,EAC/D,IAAA,GAAA;CAIJ,SAAS,EAAU,GAAO,GAAS;EAC/B,IAAI,IAAS,EAAE;AAUf,SATI,CAAC,KAAS,OAAO,KAAU,aAG9B,GAAG,EAAkB,SAAS,GAAO,SAAU,GAAU,GAAO;AAE7D,GAAI,KAAY,MACZ,GAAQ,GAAG,EAAY,WAAW,GAAU,EAAQ,IAAI;IAE9D,EAPS;;AAWf,CADA,EAAU,UAAU,GACpB,EAAO,UAAU"}
@@ -0,0 +1,20 @@
1
+ import { __commonJSMin as e } from "../../../_virtual/_rolldown/runtime.js";
2
+ //#region node_modules/style-to-js/cjs/utilities.js
3
+ var t = /* @__PURE__ */ e(((e) => {
4
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.camelCase = void 0;
5
+ var t = /^--[a-zA-Z0-9_-]+$/, n = /-([a-z])/g, r = /^[^-]+$/, i = /^-(webkit|moz|ms|o|khtml)-/, a = /^-(ms)-/, o = function(e) {
6
+ return !e || r.test(e) || t.test(e);
7
+ }, s = function(e, t) {
8
+ return t.toUpperCase();
9
+ }, c = function(e, t) {
10
+ return `${t}-`;
11
+ };
12
+ e.camelCase = function(e, t) {
13
+ return t === void 0 && (t = {}), o(e) ? e : (e = e.toLowerCase(), e = t.reactCompat ? e.replace(a, c) : e.replace(i, c), e.replace(n, s));
14
+ };
15
+ }));
16
+ //#endregion
17
+ export default t();
18
+ export { t as require_utilities };
19
+
20
+ //# sourceMappingURL=utilities.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"utilities.js","names":[],"sources":["../../../../node_modules/style-to-js/cjs/utilities.js"],"sourcesContent":["\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.camelCase = void 0;\nvar CUSTOM_PROPERTY_REGEX = /^--[a-zA-Z0-9_-]+$/;\nvar HYPHEN_REGEX = /-([a-z])/g;\nvar NO_HYPHEN_REGEX = /^[^-]+$/;\nvar VENDOR_PREFIX_REGEX = /^-(webkit|moz|ms|o|khtml)-/;\nvar MS_VENDOR_PREFIX_REGEX = /^-(ms)-/;\n/**\n * Checks whether to skip camelCase.\n */\nvar skipCamelCase = function (property) {\n return !property ||\n NO_HYPHEN_REGEX.test(property) ||\n CUSTOM_PROPERTY_REGEX.test(property);\n};\n/**\n * Replacer that capitalizes first character.\n */\nvar capitalize = function (match, character) {\n return character.toUpperCase();\n};\n/**\n * Replacer that removes beginning hyphen of vendor prefix property.\n */\nvar trimHyphen = function (match, prefix) { return \"\".concat(prefix, \"-\"); };\n/**\n * CamelCases a CSS property.\n */\nvar camelCase = function (property, options) {\n if (options === void 0) { options = {}; }\n if (skipCamelCase(property)) {\n return property;\n }\n property = property.toLowerCase();\n if (options.reactCompat) {\n // `-ms` vendor prefix should not be capitalized\n property = property.replace(MS_VENDOR_PREFIX_REGEX, trimHyphen);\n }\n else {\n // for non-React, remove first hyphen so vendor prefix is not capitalized\n property = property.replace(VENDOR_PREFIX_REGEX, trimHyphen);\n }\n return property.replace(HYPHEN_REGEX, capitalize);\n};\nexports.camelCase = camelCase;\n//# sourceMappingURL=utilities.js.map"],"x_google_ignoreList":[0],"mappings":";;;AAEA,CADA,OAAO,eAAe,GAAS,cAAc,EAAE,OAAO,IAAM,CAAC,EAC7D,EAAQ,YAAY,KAAK;CACzB,IAAI,IAAwB,sBACxB,IAAe,aACf,IAAkB,WAClB,IAAsB,8BACtB,IAAyB,WAIzB,IAAgB,SAAU,GAAU;AACpC,SAAO,CAAC,KACJ,EAAgB,KAAK,EAAS,IAC9B,EAAsB,KAAK,EAAS;IAKxC,IAAa,SAAU,GAAO,GAAW;AACzC,SAAO,EAAU,aAAa;IAK9B,IAAa,SAAU,GAAO,GAAQ;AAAE,SAAO,GAAU;;AAoB7D,GAAQ,YAhBQ,SAAU,GAAU,GAAS;AAczC,SAbI,MAAY,KAAK,MAAK,IAAU,EAAE,GAClC,EAAc,EAAS,GAChB,KAEX,IAAW,EAAS,aAAa,EACjC,AAMI,IANA,EAAQ,cAEG,EAAS,QAAQ,GAAwB,EAAW,GAIpD,EAAS,QAAQ,GAAqB,EAAW,EAEzD,EAAS,QAAQ,GAAc,EAAW"}
@@ -0,0 +1,25 @@
1
+ import { __commonJSMin as e } from "../../../_virtual/_rolldown/runtime.js";
2
+ import { require_cjs as t } from "../../inline-style-parser/cjs/index.js";
3
+ //#region node_modules/style-to-object/cjs/index.js
4
+ var n = /* @__PURE__ */ e(((e) => {
5
+ var n = e && e.__importDefault || function(e) {
6
+ return e && e.__esModule ? e : { default: e };
7
+ };
8
+ Object.defineProperty(e, "__esModule", { value: !0 }), e.default = i;
9
+ var r = n(t());
10
+ function i(e, t) {
11
+ let n = null;
12
+ if (!e || typeof e != "string") return n;
13
+ let i = (0, r.default)(e), a = typeof t == "function";
14
+ return i.forEach((e) => {
15
+ if (e.type !== "declaration") return;
16
+ let { property: r, value: i } = e;
17
+ a ? t(r, i, e) : i && (n ||= {}, n[r] = i);
18
+ }), n;
19
+ }
20
+ }));
21
+ //#endregion
22
+ export default n();
23
+ export { n as require_cjs };
24
+
25
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../../node_modules/style-to-object/cjs/index.js"],"sourcesContent":["\"use strict\";\nvar __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\n};\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = StyleToObject;\nconst inline_style_parser_1 = __importDefault(require(\"inline-style-parser\"));\n/**\n * Parses inline style to object.\n *\n * @param style - Inline style.\n * @param iterator - Iterator.\n * @returns - Style object or null.\n *\n * @example Parsing inline style to object:\n *\n * ```js\n * import parse from 'style-to-object';\n * parse('line-height: 42;'); // { 'line-height': '42' }\n * ```\n */\nfunction StyleToObject(style, iterator) {\n let styleObject = null;\n if (!style || typeof style !== 'string') {\n return styleObject;\n }\n const declarations = (0, inline_style_parser_1.default)(style);\n const hasIterator = typeof iterator === 'function';\n declarations.forEach((declaration) => {\n if (declaration.type !== 'declaration') {\n return;\n }\n const { property, value } = declaration;\n if (hasIterator) {\n iterator(property, value, declaration);\n }\n else if (value) {\n styleObject = styleObject || {};\n styleObject[property] = value;\n }\n });\n return styleObject;\n}\n//# sourceMappingURL=index.js.map"],"x_google_ignoreList":[0],"mappings":";;;;CACA,IAAI,IAAA,KAAA,EAAgC,mBAAoB,SAAU,GAAK;AACnE,SAAQ,KAAO,EAAI,aAAc,IAAM,EAAE,SAAW,GAAK;;AAG7D,CADA,OAAO,eAAe,GAAS,cAAc,EAAE,OAAO,IAAM,CAAC,EAC7D,EAAQ,UAAU;CAClB,IAAM,IAAwB,EAAA,GAAA,CAA+C;CAe7E,SAAS,EAAc,GAAO,GAAU;EACpC,IAAI,IAAc;AAClB,MAAI,CAAC,KAAS,OAAO,KAAU,SAC3B,QAAO;EAEX,IAAM,KAAgB,GAAG,EAAsB,SAAS,EAAM,EACxD,IAAc,OAAO,KAAa;AAcxC,SAbA,EAAa,SAAS,MAAgB;AAClC,OAAI,EAAY,SAAS,cACrB;GAEJ,IAAM,EAAE,aAAU,aAAU;AAC5B,GAAI,IACA,EAAS,GAAU,GAAO,EAAY,GAEjC,MACL,MAA6B,EAAE,EAC/B,EAAY,KAAY;IAE9B,EACK"}
@@ -0,0 +1,23 @@
1
+ //#region node_modules/trim-lines/index.js
2
+ var e = 9, t = 32;
3
+ function n(e) {
4
+ let t = String(e), n = /\r?\n|\r/g, i = n.exec(t), a = 0, o = [];
5
+ for (; i;) o.push(r(t.slice(a, i.index), a > 0, !0), i[0]), a = i.index + i[0].length, i = n.exec(t);
6
+ return o.push(r(t.slice(a), a > 0, !1)), o.join("");
7
+ }
8
+ function r(n, r, i) {
9
+ let a = 0, o = n.length;
10
+ if (r) {
11
+ let r = n.codePointAt(a);
12
+ for (; r === e || r === t;) a++, r = n.codePointAt(a);
13
+ }
14
+ if (i) {
15
+ let r = n.codePointAt(o - 1);
16
+ for (; r === e || r === t;) o--, r = n.codePointAt(o - 1);
17
+ }
18
+ return o > a ? n.slice(a, o) : "";
19
+ }
20
+ //#endregion
21
+ export { n as trimLines };
22
+
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../node_modules/trim-lines/index.js"],"sourcesContent":["const tab = 9 /* `\\t` */\nconst space = 32 /* ` ` */\n\n/**\n * Remove initial and final spaces and tabs at the line breaks in `value`.\n * Does not trim initial and final spaces and tabs of the value itself.\n *\n * @param {string} value\n * Value to trim.\n * @returns {string}\n * Trimmed value.\n */\nexport function trimLines(value) {\n const source = String(value)\n const search = /\\r?\\n|\\r/g\n let match = search.exec(source)\n let last = 0\n /** @type {Array<string>} */\n const lines = []\n\n while (match) {\n lines.push(\n trimLine(source.slice(last, match.index), last > 0, true),\n match[0]\n )\n\n last = match.index + match[0].length\n match = search.exec(source)\n }\n\n lines.push(trimLine(source.slice(last), last > 0, false))\n\n return lines.join('')\n}\n\n/**\n * @param {string} value\n * Line to trim.\n * @param {boolean} start\n * Whether to trim the start of the line.\n * @param {boolean} end\n * Whether to trim the end of the line.\n * @returns {string}\n * Trimmed line.\n */\nfunction trimLine(value, start, end) {\n let startIndex = 0\n let endIndex = value.length\n\n if (start) {\n let code = value.codePointAt(startIndex)\n\n while (code === tab || code === space) {\n startIndex++\n code = value.codePointAt(startIndex)\n }\n }\n\n if (end) {\n let code = value.codePointAt(endIndex - 1)\n\n while (code === tab || code === space) {\n endIndex--\n code = value.codePointAt(endIndex - 1)\n }\n }\n\n return endIndex > startIndex ? value.slice(startIndex, endIndex) : ''\n}\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAM,IAAM,GACN,IAAQ;AAWd,SAAgB,EAAU,GAAO;CAC/B,IAAM,IAAS,OAAO,EAAM,EACtB,IAAS,aACX,IAAQ,EAAO,KAAK,EAAO,EAC3B,IAAO,GAEL,IAAQ,EAAE;AAEhB,QAAO,GAOL,CANA,EAAM,KACJ,EAAS,EAAO,MAAM,GAAM,EAAM,MAAM,EAAE,IAAO,GAAG,GAAK,EACzD,EAAM,GACP,EAED,IAAO,EAAM,QAAQ,EAAM,GAAG,QAC9B,IAAQ,EAAO,KAAK,EAAO;AAK7B,QAFA,EAAM,KAAK,EAAS,EAAO,MAAM,EAAK,EAAE,IAAO,GAAG,GAAM,CAAC,EAElD,EAAM,KAAK,GAAG;;AAavB,SAAS,EAAS,GAAO,GAAO,GAAK;CACnC,IAAI,IAAa,GACb,IAAW,EAAM;AAErB,KAAI,GAAO;EACT,IAAI,IAAO,EAAM,YAAY,EAAW;AAExC,SAAO,MAAS,KAAO,MAAS,GAE9B,CADA,KACA,IAAO,EAAM,YAAY,EAAW;;AAIxC,KAAI,GAAK;EACP,IAAI,IAAO,EAAM,YAAY,IAAW,EAAE;AAE1C,SAAO,MAAS,KAAO,MAAS,GAE9B,CADA,KACA,IAAO,EAAM,YAAY,IAAW,EAAE;;AAI1C,QAAO,IAAW,IAAa,EAAM,MAAM,GAAY,EAAS,GAAG"}
@@ -0,0 +1,52 @@
1
+ //#region node_modules/trough/lib/index.js
2
+ function e() {
3
+ let e = [], n = {
4
+ run: r,
5
+ use: i
6
+ };
7
+ return n;
8
+ function r(...n) {
9
+ let r = -1, i = n.pop();
10
+ if (typeof i != "function") throw TypeError("Expected function as last argument, not " + i);
11
+ a(null, ...n);
12
+ function a(o, ...s) {
13
+ let c = e[++r], l = -1;
14
+ if (o) {
15
+ i(o);
16
+ return;
17
+ }
18
+ for (; ++l < n.length;) (s[l] === null || s[l] === void 0) && (s[l] = n[l]);
19
+ n = s, c ? t(c, a)(...s) : i(null, ...s);
20
+ }
21
+ }
22
+ function i(t) {
23
+ if (typeof t != "function") throw TypeError("Expected `middelware` to be a function, not " + t);
24
+ return e.push(t), n;
25
+ }
26
+ }
27
+ function t(e, t) {
28
+ let n;
29
+ return r;
30
+ function r(...t) {
31
+ let r = e.length > t.length, o;
32
+ r && t.push(i);
33
+ try {
34
+ o = e.apply(this, t);
35
+ } catch (e) {
36
+ let t = e;
37
+ if (r && n) throw t;
38
+ return i(t);
39
+ }
40
+ r || (o && o.then && typeof o.then == "function" ? o.then(a, i) : o instanceof Error ? i(o) : a(o));
41
+ }
42
+ function i(e, ...r) {
43
+ n || (n = !0, t(e, ...r));
44
+ }
45
+ function a(e) {
46
+ i(null, e);
47
+ }
48
+ }
49
+ //#endregion
50
+ export { e as trough };
51
+
52
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","names":[],"sources":["../../../../node_modules/trough/lib/index.js"],"sourcesContent":["// To do: remove `void`s\n// To do: remove `null` from output of our APIs, allow it as user APIs.\n\n/**\n * @typedef {(error?: Error | null | undefined, ...output: Array<any>) => void} Callback\n * Callback.\n *\n * @typedef {(...input: Array<any>) => any} Middleware\n * Ware.\n *\n * @typedef Pipeline\n * Pipeline.\n * @property {Run} run\n * Run the pipeline.\n * @property {Use} use\n * Add middleware.\n *\n * @typedef {(...input: Array<any>) => void} Run\n * Call all middleware.\n *\n * Calls `done` on completion with either an error or the output of the\n * last middleware.\n *\n * > 👉 **Note**: as the length of input defines whether async functions get a\n * > `next` function,\n * > it’s recommended to keep `input` at one value normally.\n\n *\n * @typedef {(fn: Middleware) => Pipeline} Use\n * Add middleware.\n */\n\n/**\n * Create new middleware.\n *\n * @returns {Pipeline}\n * Pipeline.\n */\nexport function trough() {\n /** @type {Array<Middleware>} */\n const fns = []\n /** @type {Pipeline} */\n const pipeline = {run, use}\n\n return pipeline\n\n /** @type {Run} */\n function run(...values) {\n let middlewareIndex = -1\n /** @type {Callback} */\n const callback = values.pop()\n\n if (typeof callback !== 'function') {\n throw new TypeError('Expected function as last argument, not ' + callback)\n }\n\n next(null, ...values)\n\n /**\n * Run the next `fn`, or we’re done.\n *\n * @param {Error | null | undefined} error\n * @param {Array<any>} output\n */\n function next(error, ...output) {\n const fn = fns[++middlewareIndex]\n let index = -1\n\n if (error) {\n callback(error)\n return\n }\n\n // Copy non-nullish input into values.\n while (++index < values.length) {\n if (output[index] === null || output[index] === undefined) {\n output[index] = values[index]\n }\n }\n\n // Save the newly created `output` for the next call.\n values = output\n\n // Next or done.\n if (fn) {\n wrap(fn, next)(...output)\n } else {\n callback(null, ...output)\n }\n }\n }\n\n /** @type {Use} */\n function use(middelware) {\n if (typeof middelware !== 'function') {\n throw new TypeError(\n 'Expected `middelware` to be a function, not ' + middelware\n )\n }\n\n fns.push(middelware)\n return pipeline\n }\n}\n\n/**\n * Wrap `middleware` into a uniform interface.\n *\n * You can pass all input to the resulting function.\n * `callback` is then called with the output of `middleware`.\n *\n * If `middleware` accepts more arguments than the later given in input,\n * an extra `done` function is passed to it after that input,\n * which must be called by `middleware`.\n *\n * The first value in `input` is the main input value.\n * All other input values are the rest input values.\n * The values given to `callback` are the input values,\n * merged with every non-nullish output value.\n *\n * * if `middleware` throws an error,\n * returns a promise that is rejected,\n * or calls the given `done` function with an error,\n * `callback` is called with that error\n * * if `middleware` returns a value or returns a promise that is resolved,\n * that value is the main output value\n * * if `middleware` calls `done`,\n * all non-nullish values except for the first one (the error) overwrite the\n * output values\n *\n * @param {Middleware} middleware\n * Function to wrap.\n * @param {Callback} callback\n * Callback called with the output of `middleware`.\n * @returns {Run}\n * Wrapped middleware.\n */\nexport function wrap(middleware, callback) {\n /** @type {boolean} */\n let called\n\n return wrapped\n\n /**\n * Call `middleware`.\n * @this {any}\n * @param {Array<any>} parameters\n * @returns {void}\n */\n function wrapped(...parameters) {\n const fnExpectsCallback = middleware.length > parameters.length\n /** @type {any} */\n let result\n\n if (fnExpectsCallback) {\n parameters.push(done)\n }\n\n try {\n result = middleware.apply(this, parameters)\n } catch (error) {\n const exception = /** @type {Error} */ (error)\n\n // Well, this is quite the pickle.\n // `middleware` received a callback and called it synchronously, but that\n // threw an error.\n // The only thing left to do is to throw the thing instead.\n if (fnExpectsCallback && called) {\n throw exception\n }\n\n return done(exception)\n }\n\n if (!fnExpectsCallback) {\n if (result && result.then && typeof result.then === 'function') {\n result.then(then, done)\n } else if (result instanceof Error) {\n done(result)\n } else {\n then(result)\n }\n }\n }\n\n /**\n * Call `callback`, only once.\n *\n * @type {Callback}\n */\n function done(error, ...output) {\n if (!called) {\n called = true\n callback(error, ...output)\n }\n }\n\n /**\n * Call `done` with one value.\n *\n * @param {any} [value]\n */\n function then(value) {\n done(null, value)\n }\n}\n"],"x_google_ignoreList":[0],"mappings":";AAsCA,SAAgB,IAAS;CAEvB,IAAM,IAAM,EAAE,EAER,IAAW;EAAC;EAAK;EAAI;AAE3B,QAAO;CAGP,SAAS,EAAI,GAAG,GAAQ;EACtB,IAAI,IAAkB,IAEhB,IAAW,EAAO,KAAK;AAE7B,MAAI,OAAO,KAAa,WACtB,OAAU,UAAU,6CAA6C,EAAS;AAG5E,IAAK,MAAM,GAAG,EAAO;EAQrB,SAAS,EAAK,GAAO,GAAG,GAAQ;GAC9B,IAAM,IAAK,EAAI,EAAE,IACb,IAAQ;AAEZ,OAAI,GAAO;AACT,MAAS,EAAM;AACf;;AAIF,UAAO,EAAE,IAAQ,EAAO,QACtB,EAAI,EAAO,OAAW,QAAQ,EAAO,OAAW,KAAA,OAC9C,EAAO,KAAS,EAAO;AAQ3B,GAHA,IAAS,GAGL,IACF,EAAK,GAAI,EAAK,CAAC,GAAG,EAAO,GAEzB,EAAS,MAAM,GAAG,EAAO;;;CAM/B,SAAS,EAAI,GAAY;AACvB,MAAI,OAAO,KAAe,WACxB,OAAU,UACR,iDAAiD,EAClD;AAIH,SADA,EAAI,KAAK,EAAW,EACb;;;AAoCX,SAAgB,EAAK,GAAY,GAAU;CAEzC,IAAI;AAEJ,QAAO;CAQP,SAAS,EAAQ,GAAG,GAAY;EAC9B,IAAM,IAAoB,EAAW,SAAS,EAAW,QAErD;AAEJ,EAAI,KACF,EAAW,KAAK,EAAK;AAGvB,MAAI;AACF,OAAS,EAAW,MAAM,MAAM,EAAW;WACpC,GAAO;GACd,IAAM,IAAkC;AAMxC,OAAI,KAAqB,EACvB,OAAM;AAGR,UAAO,EAAK,EAAU;;AAGxB,EAAK,MACC,KAAU,EAAO,QAAQ,OAAO,EAAO,QAAS,aAClD,EAAO,KAAK,GAAM,EAAK,GACd,aAAkB,QAC3B,EAAK,EAAO,GAEZ,EAAK,EAAO;;CAUlB,SAAS,EAAK,GAAO,GAAG,GAAQ;AAC9B,EAAK,MACH,IAAS,IACT,EAAS,GAAO,GAAG,EAAO;;CAS9B,SAAS,EAAK,GAAO;AACnB,IAAK,MAAM,EAAM"}
@@ -0,0 +1,11 @@
1
+ //#region node_modules/unified/lib/callable-instance.js
2
+ var e = (function(e) {
3
+ let t = this.constructor.prototype, n = t[e], r = function() {
4
+ return n.apply(r, arguments);
5
+ };
6
+ return Object.setPrototypeOf(r, t), r;
7
+ });
8
+ //#endregion
9
+ export { e as CallableInstance };
10
+
11
+ //# sourceMappingURL=callable-instance.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"callable-instance.js","names":[],"sources":["../../../../node_modules/unified/lib/callable-instance.js"],"sourcesContent":["export const CallableInstance =\n /**\n * @type {new <Parameters extends Array<unknown>, Result>(property: string | symbol) => (...parameters: Parameters) => Result}\n */\n (\n /** @type {unknown} */\n (\n /**\n * @this {Function}\n * @param {string | symbol} property\n * @returns {(...parameters: Array<unknown>) => unknown}\n */\n function (property) {\n const self = this\n const constr = self.constructor\n const proto = /** @type {Record<string | symbol, Function>} */ (\n // Prototypes do exist.\n // type-coverage:ignore-next-line\n constr.prototype\n )\n const value = proto[property]\n /** @type {(...parameters: Array<unknown>) => unknown} */\n const apply = function () {\n return value.apply(apply, arguments)\n }\n\n Object.setPrototypeOf(apply, proto)\n\n // Not needed for us in `unified`: we only call this on the `copy`\n // function,\n // and we don't need to add its fields (`length`, `name`)\n // over.\n // See also: GH-246.\n // const names = Object.getOwnPropertyNames(value)\n //\n // for (const p of names) {\n // const descriptor = Object.getOwnPropertyDescriptor(value, p)\n // if (descriptor) Object.defineProperty(apply, p, descriptor)\n // }\n\n return apply\n }\n )\n )\n"],"x_google_ignoreList":[0],"mappings":";AAAA,IAAa,KAYP,SAAU,GAAU;CAGlB,IAAM,IAFO,KACO,YAIX,WAEH,IAAQ,EAAM,IAEd,IAAQ,WAAY;AACxB,SAAO,EAAM,MAAM,GAAO,UAAU;;AAiBtC,QAdA,OAAO,eAAe,GAAO,EAAM,EAc5B"}