@e-llm-studio/instant-learning 0.0.207 → 0.0.209

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 (606) hide show
  1. package/dist/cjs/features/IL-OTJ/_components/organisms/TextSection/TextSection.js +1 -1
  2. package/dist/cjs/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.js +1 -1
  3. package/dist/cjs/node_modules/@e-llm-studio/streaming-response/node_modules/ws/browser.js +2 -0
  4. package/dist/cjs/node_modules/@e-llm-studio/streaming-response/node_modules/ws/browser.js.map +1 -0
  5. package/dist/cjs/node_modules/@e-llm-studio/watch-me-work/dist/features/WatchMeWork/Components/AgentStepsView.js +1 -1
  6. package/dist/cjs/node_modules/@e-llm-studio/watch-me-work/dist/features/WatchMeWork/Components/AgentStepsView.js.map +1 -1
  7. package/dist/cjs/node_modules/@e-llm-studio/watch-me-work/dist/features/WatchMeWork/Components/StepDetailView.js +1 -1
  8. package/dist/cjs/node_modules/@e-llm-studio/watch-me-work/dist/features/WatchMeWork/Components/StepDetailView.js.map +1 -1
  9. package/dist/cjs/node_modules/@e-llm-studio/watch-me-work/dist/features/WatchMeWork/Components/Thinkingstepshelper.js +1 -1
  10. package/dist/cjs/node_modules/@e-llm-studio/watch-me-work/dist/features/WatchMeWork/Components/Thinkingstepshelper.js.map +1 -1
  11. package/dist/cjs/node_modules/@e-llm-studio/watch-me-work/dist/features/WatchMeWork/Components/Usethinkingsteps.js +1 -1
  12. package/dist/cjs/node_modules/@e-llm-studio/watch-me-work/dist/features/WatchMeWork/Components/Usethinkingsteps.js.map +1 -1
  13. package/dist/cjs/node_modules/@e-llm-studio/watch-me-work/dist/features/WatchMeWork/WatchMeWork.js +1 -1
  14. package/dist/cjs/node_modules/@e-llm-studio/watch-me-work/dist/features/WatchMeWork/WatchMeWork.js.map +1 -1
  15. package/dist/cjs/node_modules/@emotion/serialize/node_modules/@emotion/hash/dist/emotion-hash.esm.js +2 -0
  16. package/dist/cjs/node_modules/@emotion/serialize/node_modules/@emotion/hash/dist/emotion-hash.esm.js.map +1 -0
  17. package/dist/cjs/node_modules/hast-util-from-parse5/node_modules/comma-separated-tokens/index.js +2 -0
  18. package/dist/cjs/node_modules/hast-util-from-parse5/node_modules/comma-separated-tokens/index.js.map +1 -0
  19. package/dist/cjs/node_modules/hast-util-from-parse5/node_modules/space-separated-tokens/index.js +2 -0
  20. package/dist/cjs/node_modules/hast-util-from-parse5/node_modules/space-separated-tokens/index.js.map +1 -0
  21. package/dist/cjs/node_modules/hast-util-raw/node_modules/unist-util-position/lib/index.js +2 -0
  22. package/dist/cjs/node_modules/hast-util-raw/node_modules/unist-util-position/lib/index.js.map +1 -0
  23. package/dist/cjs/node_modules/hast-util-to-parse5/node_modules/comma-separated-tokens/index.js +2 -0
  24. package/dist/cjs/node_modules/hast-util-to-parse5/node_modules/comma-separated-tokens/index.js.map +1 -0
  25. package/dist/cjs/node_modules/hast-util-to-parse5/node_modules/space-separated-tokens/index.js +2 -0
  26. package/dist/cjs/node_modules/hast-util-to-parse5/node_modules/space-separated-tokens/index.js.map +1 -0
  27. package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-is/lib/index.js +2 -0
  28. package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-is/lib/index.js.map +1 -0
  29. package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit/lib/index.js +2 -0
  30. package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit/lib/index.js.map +1 -0
  31. package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/color.browser.js +2 -0
  32. package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/color.browser.js.map +1 -0
  33. package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/index.js +2 -0
  34. package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
  35. package/dist/cjs/node_modules/mdast-util-to-hast/lib/footer.js +2 -0
  36. package/dist/cjs/node_modules/mdast-util-to-hast/lib/footer.js.map +1 -0
  37. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +2 -0
  38. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js.map +1 -0
  39. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/break.js +2 -0
  40. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/break.js.map +1 -0
  41. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/code.js +2 -0
  42. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/code.js.map +1 -0
  43. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/delete.js +2 -0
  44. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/delete.js.map +1 -0
  45. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +2 -0
  46. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js.map +1 -0
  47. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +2 -0
  48. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js.map +1 -0
  49. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/footnote.js +2 -0
  50. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/footnote.js.map +1 -0
  51. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/heading.js +2 -0
  52. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/heading.js.map +1 -0
  53. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/html.js +2 -0
  54. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/html.js.map +1 -0
  55. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +2 -0
  56. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js.map +1 -0
  57. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/image.js +2 -0
  58. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/image.js.map +1 -0
  59. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/index.js +2 -0
  60. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/index.js.map +1 -0
  61. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +2 -0
  62. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js.map +1 -0
  63. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +2 -0
  64. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js.map +1 -0
  65. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/link.js +2 -0
  66. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/link.js.map +1 -0
  67. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +2 -0
  68. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/list-item.js.map +1 -0
  69. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/list.js +2 -0
  70. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/list.js.map +1 -0
  71. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +2 -0
  72. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js.map +1 -0
  73. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/root.js +2 -0
  74. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/root.js.map +1 -0
  75. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/strong.js +2 -0
  76. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/strong.js.map +1 -0
  77. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +2 -0
  78. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js.map +1 -0
  79. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +2 -0
  80. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table-row.js.map +1 -0
  81. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table.js +2 -0
  82. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table.js.map +1 -0
  83. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/text.js +2 -0
  84. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/text.js.map +1 -0
  85. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +2 -0
  86. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js.map +1 -0
  87. package/dist/cjs/node_modules/mdast-util-to-hast/lib/index.js +2 -0
  88. package/dist/cjs/node_modules/mdast-util-to-hast/lib/index.js.map +1 -0
  89. package/dist/cjs/node_modules/mdast-util-to-hast/lib/revert.js +2 -0
  90. package/dist/cjs/node_modules/mdast-util-to-hast/lib/revert.js.map +1 -0
  91. package/dist/cjs/node_modules/mdast-util-to-hast/lib/state.js +2 -0
  92. package/dist/cjs/node_modules/mdast-util-to-hast/lib/state.js.map +1 -0
  93. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/micromark-util-character/index.js +2 -0
  94. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/micromark-util-character/index.js.map +1 -0
  95. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/micromark-util-sanitize-uri/index.js +2 -0
  96. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/micromark-util-sanitize-uri/index.js.map +1 -0
  97. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-is/lib/index.js +2 -0
  98. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-is/lib/index.js.map +1 -0
  99. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit/lib/index.js +2 -0
  100. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit/lib/index.js.map +1 -0
  101. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/color.browser.js +2 -0
  102. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/color.browser.js.map +1 -0
  103. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/index.js +2 -0
  104. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
  105. package/dist/cjs/node_modules/react-markdown/node_modules/comma-separated-tokens/index.js +2 -0
  106. package/dist/cjs/node_modules/react-markdown/node_modules/comma-separated-tokens/index.js.map +1 -0
  107. package/dist/cjs/node_modules/react-markdown/node_modules/is-plain-obj/index.js +2 -0
  108. package/dist/cjs/node_modules/react-markdown/node_modules/is-plain-obj/index.js.map +1 -0
  109. package/dist/cjs/node_modules/react-markdown/node_modules/mdast-util-from-markdown/lib/index.js +2 -0
  110. package/dist/cjs/node_modules/react-markdown/node_modules/mdast-util-from-markdown/lib/index.js.map +1 -0
  111. package/dist/cjs/node_modules/react-markdown/node_modules/mdast-util-to-string/lib/index.js +2 -0
  112. package/dist/cjs/node_modules/react-markdown/node_modules/mdast-util-to-string/lib/index.js.map +1 -0
  113. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/constructs.js +2 -0
  114. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/constructs.js.map +1 -0
  115. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/create-tokenizer.js +2 -0
  116. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/create-tokenizer.js.map +1 -0
  117. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/content.js +2 -0
  118. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/content.js.map +1 -0
  119. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/document.js +2 -0
  120. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/document.js.map +1 -0
  121. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/flow.js +2 -0
  122. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/flow.js.map +1 -0
  123. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/text.js +2 -0
  124. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/text.js.map +1 -0
  125. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/parse.js +2 -0
  126. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/parse.js.map +1 -0
  127. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/postprocess.js +2 -0
  128. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/postprocess.js.map +1 -0
  129. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/preprocess.js +2 -0
  130. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/preprocess.js.map +1 -0
  131. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/attention.js +2 -0
  132. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/attention.js.map +1 -0
  133. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/autolink.js +2 -0
  134. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/autolink.js.map +1 -0
  135. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/blank-line.js +2 -0
  136. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/blank-line.js.map +1 -0
  137. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/block-quote.js +2 -0
  138. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/block-quote.js.map +1 -0
  139. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-escape.js +2 -0
  140. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-escape.js.map +1 -0
  141. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-reference.js +2 -0
  142. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-reference.js.map +1 -0
  143. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-fenced.js +2 -0
  144. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-fenced.js.map +1 -0
  145. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-indented.js +2 -0
  146. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-indented.js.map +1 -0
  147. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-text.js +2 -0
  148. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-text.js.map +1 -0
  149. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/content.js +2 -0
  150. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/content.js.map +1 -0
  151. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/definition.js +2 -0
  152. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/definition.js.map +1 -0
  153. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +2 -0
  154. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/hard-break-escape.js.map +1 -0
  155. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/heading-atx.js +2 -0
  156. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/heading-atx.js.map +1 -0
  157. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-flow.js +2 -0
  158. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-flow.js.map +1 -0
  159. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-text.js +2 -0
  160. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-text.js.map +1 -0
  161. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-end.js +2 -0
  162. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-end.js.map +1 -0
  163. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-image.js +2 -0
  164. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-image.js.map +1 -0
  165. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-link.js +2 -0
  166. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-link.js.map +1 -0
  167. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/line-ending.js +2 -0
  168. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/line-ending.js.map +1 -0
  169. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/list.js +2 -0
  170. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/list.js.map +1 -0
  171. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/setext-underline.js +2 -0
  172. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/setext-underline.js.map +1 -0
  173. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/thematic-break.js +2 -0
  174. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/thematic-break.js.map +1 -0
  175. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-destination/index.js +2 -0
  176. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-destination/index.js.map +1 -0
  177. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-label/index.js +2 -0
  178. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-label/index.js.map +1 -0
  179. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-space/index.js +2 -0
  180. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-space/index.js.map +1 -0
  181. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-title/index.js +2 -0
  182. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-title/index.js.map +1 -0
  183. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-whitespace/index.js +2 -0
  184. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-whitespace/index.js.map +1 -0
  185. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-character/index.js +2 -0
  186. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-character/index.js.map +1 -0
  187. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-character/lib/unicode-punctuation-regex.js +2 -0
  188. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-character/lib/unicode-punctuation-regex.js.map +1 -0
  189. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-chunked/index.js +2 -0
  190. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-chunked/index.js.map +1 -0
  191. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-classify-character/index.js +2 -0
  192. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-classify-character/index.js.map +1 -0
  193. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-combine-extensions/index.js +2 -0
  194. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-combine-extensions/index.js.map +1 -0
  195. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-decode-numeric-character-reference/index.js +2 -0
  196. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-decode-numeric-character-reference/index.js.map +1 -0
  197. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-decode-string/index.js +2 -0
  198. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-decode-string/index.js.map +1 -0
  199. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-html-tag-name/index.js +2 -0
  200. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-html-tag-name/index.js.map +1 -0
  201. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-normalize-identifier/index.js +2 -0
  202. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-normalize-identifier/index.js.map +1 -0
  203. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-resolve-all/index.js +2 -0
  204. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-resolve-all/index.js.map +1 -0
  205. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-subtokenize/index.js +2 -0
  206. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-subtokenize/index.js.map +1 -0
  207. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/index.js +2 -0
  208. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/index.js.map +1 -0
  209. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/aria.js +2 -0
  210. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/aria.js.map +1 -0
  211. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/find.js +2 -0
  212. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/find.js.map +1 -0
  213. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/hast-to-react.js +2 -0
  214. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/hast-to-react.js.map +1 -0
  215. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/html.js +2 -0
  216. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/html.js.map +1 -0
  217. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/normalize.js +2 -0
  218. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/normalize.js.map +1 -0
  219. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/svg.js +2 -0
  220. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/svg.js.map +1 -0
  221. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/case-insensitive-transform.js +2 -0
  222. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/case-insensitive-transform.js.map +1 -0
  223. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/case-sensitive-transform.js +2 -0
  224. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/case-sensitive-transform.js.map +1 -0
  225. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/create.js +2 -0
  226. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/create.js.map +1 -0
  227. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/defined-info.js +2 -0
  228. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/defined-info.js.map +1 -0
  229. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/info.js +2 -0
  230. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/info.js.map +1 -0
  231. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/merge.js +2 -0
  232. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/merge.js.map +1 -0
  233. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/schema.js +2 -0
  234. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/schema.js.map +1 -0
  235. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/types.js +2 -0
  236. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/types.js.map +1 -0
  237. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/xlink.js +2 -0
  238. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/xlink.js.map +1 -0
  239. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/xml.js +2 -0
  240. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/xml.js.map +1 -0
  241. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/xmlns.js +2 -0
  242. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/xmlns.js.map +1 -0
  243. package/dist/cjs/node_modules/react-markdown/node_modules/remark-parse/lib/index.js +2 -0
  244. package/dist/cjs/node_modules/react-markdown/node_modules/remark-parse/lib/index.js.map +1 -0
  245. package/dist/cjs/node_modules/react-markdown/node_modules/space-separated-tokens/index.js +2 -0
  246. package/dist/cjs/node_modules/react-markdown/node_modules/space-separated-tokens/index.js.map +1 -0
  247. package/dist/cjs/node_modules/react-markdown/node_modules/unified/lib/index.js +2 -0
  248. package/dist/cjs/node_modules/react-markdown/node_modules/unified/lib/index.js.map +1 -0
  249. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-is/lib/index.js +2 -0
  250. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-is/lib/index.js.map +1 -0
  251. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-stringify-position/lib/index.js +2 -0
  252. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-stringify-position/lib/index.js.map +1 -0
  253. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit/lib/index.js +2 -0
  254. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit/lib/index.js.map +1 -0
  255. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/color.browser.js +2 -0
  256. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/color.browser.js.map +1 -0
  257. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/index.js +2 -0
  258. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
  259. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/index.js +2 -0
  260. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/index.js.map +1 -0
  261. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minpath.browser.js +2 -0
  262. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minpath.browser.js.map +1 -0
  263. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minproc.browser.js +2 -0
  264. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minproc.browser.js.map +1 -0
  265. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minurl.browser.js +2 -0
  266. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minurl.browser.js.map +1 -0
  267. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minurl.shared.js +2 -0
  268. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minurl.shared.js.map +1 -0
  269. package/dist/cjs/node_modules/react-markdown/node_modules/vfile-message/lib/index.js +2 -0
  270. package/dist/cjs/node_modules/react-markdown/node_modules/vfile-message/lib/index.js.map +1 -0
  271. package/dist/cjs/node_modules/unist-util-visit-parents/lib/color.js +2 -0
  272. package/dist/cjs/node_modules/unist-util-visit-parents/lib/color.js.map +1 -0
  273. package/dist/features/IL-OTJ/_components/organisms/TextSection/TextSection.js +1 -1
  274. package/dist/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.js +1 -1
  275. package/dist/node_modules/@e-llm-studio/streaming-response/node_modules/ws/browser.js +2 -0
  276. package/dist/node_modules/@e-llm-studio/streaming-response/node_modules/ws/browser.js.map +1 -0
  277. package/dist/node_modules/@e-llm-studio/watch-me-work/dist/features/WatchMeWork/Components/AgentStepsView.js +1 -1
  278. package/dist/node_modules/@e-llm-studio/watch-me-work/dist/features/WatchMeWork/Components/AgentStepsView.js.map +1 -1
  279. package/dist/node_modules/@e-llm-studio/watch-me-work/dist/features/WatchMeWork/Components/StepDetailView.js +1 -1
  280. package/dist/node_modules/@e-llm-studio/watch-me-work/dist/features/WatchMeWork/Components/StepDetailView.js.map +1 -1
  281. package/dist/node_modules/@e-llm-studio/watch-me-work/dist/features/WatchMeWork/Components/Thinkingstepshelper.js +1 -1
  282. package/dist/node_modules/@e-llm-studio/watch-me-work/dist/features/WatchMeWork/Components/Thinkingstepshelper.js.map +1 -1
  283. package/dist/node_modules/@e-llm-studio/watch-me-work/dist/features/WatchMeWork/Components/Usethinkingsteps.js +1 -1
  284. package/dist/node_modules/@e-llm-studio/watch-me-work/dist/features/WatchMeWork/Components/Usethinkingsteps.js.map +1 -1
  285. package/dist/node_modules/@e-llm-studio/watch-me-work/dist/features/WatchMeWork/WatchMeWork.js +1 -1
  286. package/dist/node_modules/@e-llm-studio/watch-me-work/dist/features/WatchMeWork/WatchMeWork.js.map +1 -1
  287. package/dist/node_modules/@emotion/serialize/node_modules/@emotion/hash/dist/emotion-hash.esm.js +2 -0
  288. package/dist/node_modules/@emotion/serialize/node_modules/@emotion/hash/dist/emotion-hash.esm.js.map +1 -0
  289. package/dist/node_modules/hast-util-from-parse5/node_modules/comma-separated-tokens/index.js +2 -0
  290. package/dist/node_modules/hast-util-from-parse5/node_modules/comma-separated-tokens/index.js.map +1 -0
  291. package/dist/node_modules/hast-util-from-parse5/node_modules/space-separated-tokens/index.js +2 -0
  292. package/dist/node_modules/hast-util-from-parse5/node_modules/space-separated-tokens/index.js.map +1 -0
  293. package/dist/node_modules/hast-util-raw/node_modules/unist-util-position/lib/index.js +2 -0
  294. package/dist/node_modules/hast-util-raw/node_modules/unist-util-position/lib/index.js.map +1 -0
  295. package/dist/node_modules/hast-util-to-parse5/node_modules/comma-separated-tokens/index.js +2 -0
  296. package/dist/node_modules/hast-util-to-parse5/node_modules/comma-separated-tokens/index.js.map +1 -0
  297. package/dist/node_modules/hast-util-to-parse5/node_modules/space-separated-tokens/index.js +2 -0
  298. package/dist/node_modules/hast-util-to-parse5/node_modules/space-separated-tokens/index.js.map +1 -0
  299. package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-is/lib/index.js +2 -0
  300. package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-is/lib/index.js.map +1 -0
  301. package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit/lib/index.js +2 -0
  302. package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit/lib/index.js.map +1 -0
  303. package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/color.browser.js +2 -0
  304. package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/color.browser.js.map +1 -0
  305. package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/index.js +2 -0
  306. package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
  307. package/dist/node_modules/mdast-util-to-hast/lib/footer.js +2 -0
  308. package/dist/node_modules/mdast-util-to-hast/lib/footer.js.map +1 -0
  309. package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +2 -0
  310. package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js.map +1 -0
  311. package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +2 -0
  312. package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js.map +1 -0
  313. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +2 -0
  314. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js.map +1 -0
  315. package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +2 -0
  316. package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js.map +1 -0
  317. package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +2 -0
  318. package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js.map +1 -0
  319. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +2 -0
  320. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js.map +1 -0
  321. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote.js +2 -0
  322. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote.js.map +1 -0
  323. package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +2 -0
  324. package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js.map +1 -0
  325. package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +2 -0
  326. package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js.map +1 -0
  327. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +2 -0
  328. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js.map +1 -0
  329. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +2 -0
  330. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js.map +1 -0
  331. package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +2 -0
  332. package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js.map +1 -0
  333. package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +2 -0
  334. package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js.map +1 -0
  335. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +2 -0
  336. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js.map +1 -0
  337. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +2 -0
  338. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js.map +1 -0
  339. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +2 -0
  340. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js.map +1 -0
  341. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +2 -0
  342. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js.map +1 -0
  343. package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +2 -0
  344. package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js.map +1 -0
  345. package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +2 -0
  346. package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js.map +1 -0
  347. package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +2 -0
  348. package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js.map +1 -0
  349. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +2 -0
  350. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js.map +1 -0
  351. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +2 -0
  352. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js.map +1 -0
  353. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +2 -0
  354. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js.map +1 -0
  355. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +2 -0
  356. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js.map +1 -0
  357. package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +2 -0
  358. package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js.map +1 -0
  359. package/dist/node_modules/mdast-util-to-hast/lib/index.js +2 -0
  360. package/dist/node_modules/mdast-util-to-hast/lib/index.js.map +1 -0
  361. package/dist/node_modules/mdast-util-to-hast/lib/revert.js +2 -0
  362. package/dist/node_modules/mdast-util-to-hast/lib/revert.js.map +1 -0
  363. package/dist/node_modules/mdast-util-to-hast/lib/state.js +2 -0
  364. package/dist/node_modules/mdast-util-to-hast/lib/state.js.map +1 -0
  365. package/dist/node_modules/mdast-util-to-hast/node_modules/micromark-util-character/index.js +2 -0
  366. package/dist/node_modules/mdast-util-to-hast/node_modules/micromark-util-character/index.js.map +1 -0
  367. package/dist/node_modules/mdast-util-to-hast/node_modules/micromark-util-sanitize-uri/index.js +2 -0
  368. package/dist/node_modules/mdast-util-to-hast/node_modules/micromark-util-sanitize-uri/index.js.map +1 -0
  369. package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-is/lib/index.js +2 -0
  370. package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-is/lib/index.js.map +1 -0
  371. package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit/lib/index.js +2 -0
  372. package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit/lib/index.js.map +1 -0
  373. package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/color.browser.js +2 -0
  374. package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/color.browser.js.map +1 -0
  375. package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/index.js +2 -0
  376. package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
  377. package/dist/node_modules/react-markdown/node_modules/comma-separated-tokens/index.js +2 -0
  378. package/dist/node_modules/react-markdown/node_modules/comma-separated-tokens/index.js.map +1 -0
  379. package/dist/node_modules/react-markdown/node_modules/is-plain-obj/index.js +2 -0
  380. package/dist/node_modules/react-markdown/node_modules/is-plain-obj/index.js.map +1 -0
  381. package/dist/node_modules/react-markdown/node_modules/mdast-util-from-markdown/lib/index.js +2 -0
  382. package/dist/node_modules/react-markdown/node_modules/mdast-util-from-markdown/lib/index.js.map +1 -0
  383. package/dist/node_modules/react-markdown/node_modules/mdast-util-to-string/lib/index.js +2 -0
  384. package/dist/node_modules/react-markdown/node_modules/mdast-util-to-string/lib/index.js.map +1 -0
  385. package/dist/node_modules/react-markdown/node_modules/micromark/lib/constructs.js +2 -0
  386. package/dist/node_modules/react-markdown/node_modules/micromark/lib/constructs.js.map +1 -0
  387. package/dist/node_modules/react-markdown/node_modules/micromark/lib/create-tokenizer.js +2 -0
  388. package/dist/node_modules/react-markdown/node_modules/micromark/lib/create-tokenizer.js.map +1 -0
  389. package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/content.js +2 -0
  390. package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/content.js.map +1 -0
  391. package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/document.js +2 -0
  392. package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/document.js.map +1 -0
  393. package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/flow.js +2 -0
  394. package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/flow.js.map +1 -0
  395. package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/text.js +2 -0
  396. package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/text.js.map +1 -0
  397. package/dist/node_modules/react-markdown/node_modules/micromark/lib/parse.js +2 -0
  398. package/dist/node_modules/react-markdown/node_modules/micromark/lib/parse.js.map +1 -0
  399. package/dist/node_modules/react-markdown/node_modules/micromark/lib/postprocess.js +2 -0
  400. package/dist/node_modules/react-markdown/node_modules/micromark/lib/postprocess.js.map +1 -0
  401. package/dist/node_modules/react-markdown/node_modules/micromark/lib/preprocess.js +2 -0
  402. package/dist/node_modules/react-markdown/node_modules/micromark/lib/preprocess.js.map +1 -0
  403. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/attention.js +2 -0
  404. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/attention.js.map +1 -0
  405. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/autolink.js +2 -0
  406. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/autolink.js.map +1 -0
  407. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/blank-line.js +2 -0
  408. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/blank-line.js.map +1 -0
  409. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/block-quote.js +2 -0
  410. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/block-quote.js.map +1 -0
  411. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-escape.js +2 -0
  412. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-escape.js.map +1 -0
  413. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-reference.js +2 -0
  414. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-reference.js.map +1 -0
  415. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-fenced.js +2 -0
  416. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-fenced.js.map +1 -0
  417. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-indented.js +2 -0
  418. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-indented.js.map +1 -0
  419. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-text.js +2 -0
  420. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-text.js.map +1 -0
  421. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/content.js +2 -0
  422. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/content.js.map +1 -0
  423. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/definition.js +2 -0
  424. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/definition.js.map +1 -0
  425. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +2 -0
  426. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/hard-break-escape.js.map +1 -0
  427. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/heading-atx.js +2 -0
  428. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/heading-atx.js.map +1 -0
  429. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-flow.js +2 -0
  430. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-flow.js.map +1 -0
  431. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-text.js +2 -0
  432. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-text.js.map +1 -0
  433. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-end.js +2 -0
  434. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-end.js.map +1 -0
  435. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-image.js +2 -0
  436. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-image.js.map +1 -0
  437. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-link.js +2 -0
  438. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-link.js.map +1 -0
  439. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/line-ending.js +2 -0
  440. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/line-ending.js.map +1 -0
  441. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/list.js +2 -0
  442. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/list.js.map +1 -0
  443. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/setext-underline.js +2 -0
  444. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/setext-underline.js.map +1 -0
  445. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/thematic-break.js +2 -0
  446. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/thematic-break.js.map +1 -0
  447. package/dist/node_modules/react-markdown/node_modules/micromark-factory-destination/index.js +2 -0
  448. package/dist/node_modules/react-markdown/node_modules/micromark-factory-destination/index.js.map +1 -0
  449. package/dist/node_modules/react-markdown/node_modules/micromark-factory-label/index.js +2 -0
  450. package/dist/node_modules/react-markdown/node_modules/micromark-factory-label/index.js.map +1 -0
  451. package/dist/node_modules/react-markdown/node_modules/micromark-factory-space/index.js +2 -0
  452. package/dist/node_modules/react-markdown/node_modules/micromark-factory-space/index.js.map +1 -0
  453. package/dist/node_modules/react-markdown/node_modules/micromark-factory-title/index.js +2 -0
  454. package/dist/node_modules/react-markdown/node_modules/micromark-factory-title/index.js.map +1 -0
  455. package/dist/node_modules/react-markdown/node_modules/micromark-factory-whitespace/index.js +2 -0
  456. package/dist/node_modules/react-markdown/node_modules/micromark-factory-whitespace/index.js.map +1 -0
  457. package/dist/node_modules/react-markdown/node_modules/micromark-util-character/index.js +2 -0
  458. package/dist/node_modules/react-markdown/node_modules/micromark-util-character/index.js.map +1 -0
  459. package/dist/node_modules/react-markdown/node_modules/micromark-util-character/lib/unicode-punctuation-regex.js +2 -0
  460. package/dist/node_modules/react-markdown/node_modules/micromark-util-character/lib/unicode-punctuation-regex.js.map +1 -0
  461. package/dist/node_modules/react-markdown/node_modules/micromark-util-chunked/index.js +2 -0
  462. package/dist/node_modules/react-markdown/node_modules/micromark-util-chunked/index.js.map +1 -0
  463. package/dist/node_modules/react-markdown/node_modules/micromark-util-classify-character/index.js +2 -0
  464. package/dist/node_modules/react-markdown/node_modules/micromark-util-classify-character/index.js.map +1 -0
  465. package/dist/node_modules/react-markdown/node_modules/micromark-util-combine-extensions/index.js +2 -0
  466. package/dist/node_modules/react-markdown/node_modules/micromark-util-combine-extensions/index.js.map +1 -0
  467. package/dist/node_modules/react-markdown/node_modules/micromark-util-decode-numeric-character-reference/index.js +2 -0
  468. package/dist/node_modules/react-markdown/node_modules/micromark-util-decode-numeric-character-reference/index.js.map +1 -0
  469. package/dist/node_modules/react-markdown/node_modules/micromark-util-decode-string/index.js +2 -0
  470. package/dist/node_modules/react-markdown/node_modules/micromark-util-decode-string/index.js.map +1 -0
  471. package/dist/node_modules/react-markdown/node_modules/micromark-util-html-tag-name/index.js +2 -0
  472. package/dist/node_modules/react-markdown/node_modules/micromark-util-html-tag-name/index.js.map +1 -0
  473. package/dist/node_modules/react-markdown/node_modules/micromark-util-normalize-identifier/index.js +2 -0
  474. package/dist/node_modules/react-markdown/node_modules/micromark-util-normalize-identifier/index.js.map +1 -0
  475. package/dist/node_modules/react-markdown/node_modules/micromark-util-resolve-all/index.js +2 -0
  476. package/dist/node_modules/react-markdown/node_modules/micromark-util-resolve-all/index.js.map +1 -0
  477. package/dist/node_modules/react-markdown/node_modules/micromark-util-subtokenize/index.js +2 -0
  478. package/dist/node_modules/react-markdown/node_modules/micromark-util-subtokenize/index.js.map +1 -0
  479. package/dist/node_modules/react-markdown/node_modules/property-information/index.js +2 -0
  480. package/dist/node_modules/react-markdown/node_modules/property-information/index.js.map +1 -0
  481. package/dist/node_modules/react-markdown/node_modules/property-information/lib/aria.js +2 -0
  482. package/dist/node_modules/react-markdown/node_modules/property-information/lib/aria.js.map +1 -0
  483. package/dist/node_modules/react-markdown/node_modules/property-information/lib/find.js +2 -0
  484. package/dist/node_modules/react-markdown/node_modules/property-information/lib/find.js.map +1 -0
  485. package/dist/node_modules/react-markdown/node_modules/property-information/lib/hast-to-react.js +2 -0
  486. package/dist/node_modules/react-markdown/node_modules/property-information/lib/hast-to-react.js.map +1 -0
  487. package/dist/node_modules/react-markdown/node_modules/property-information/lib/html.js +2 -0
  488. package/dist/node_modules/react-markdown/node_modules/property-information/lib/html.js.map +1 -0
  489. package/dist/node_modules/react-markdown/node_modules/property-information/lib/normalize.js +2 -0
  490. package/dist/node_modules/react-markdown/node_modules/property-information/lib/normalize.js.map +1 -0
  491. package/dist/node_modules/react-markdown/node_modules/property-information/lib/svg.js +2 -0
  492. package/dist/node_modules/react-markdown/node_modules/property-information/lib/svg.js.map +1 -0
  493. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/case-insensitive-transform.js +2 -0
  494. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/case-insensitive-transform.js.map +1 -0
  495. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/case-sensitive-transform.js +2 -0
  496. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/case-sensitive-transform.js.map +1 -0
  497. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/create.js +2 -0
  498. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/create.js.map +1 -0
  499. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/defined-info.js +2 -0
  500. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/defined-info.js.map +1 -0
  501. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/info.js +2 -0
  502. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/info.js.map +1 -0
  503. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/merge.js +2 -0
  504. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/merge.js.map +1 -0
  505. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/schema.js +2 -0
  506. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/schema.js.map +1 -0
  507. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/types.js +2 -0
  508. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/types.js.map +1 -0
  509. package/dist/node_modules/react-markdown/node_modules/property-information/lib/xlink.js +2 -0
  510. package/dist/node_modules/react-markdown/node_modules/property-information/lib/xlink.js.map +1 -0
  511. package/dist/node_modules/react-markdown/node_modules/property-information/lib/xml.js +2 -0
  512. package/dist/node_modules/react-markdown/node_modules/property-information/lib/xml.js.map +1 -0
  513. package/dist/node_modules/react-markdown/node_modules/property-information/lib/xmlns.js +2 -0
  514. package/dist/node_modules/react-markdown/node_modules/property-information/lib/xmlns.js.map +1 -0
  515. package/dist/node_modules/react-markdown/node_modules/remark-parse/lib/index.js +2 -0
  516. package/dist/node_modules/react-markdown/node_modules/remark-parse/lib/index.js.map +1 -0
  517. package/dist/node_modules/react-markdown/node_modules/space-separated-tokens/index.js +2 -0
  518. package/dist/node_modules/react-markdown/node_modules/space-separated-tokens/index.js.map +1 -0
  519. package/dist/node_modules/react-markdown/node_modules/unified/lib/index.js +2 -0
  520. package/dist/node_modules/react-markdown/node_modules/unified/lib/index.js.map +1 -0
  521. package/dist/node_modules/react-markdown/node_modules/unist-util-is/lib/index.js +2 -0
  522. package/dist/node_modules/react-markdown/node_modules/unist-util-is/lib/index.js.map +1 -0
  523. package/dist/node_modules/react-markdown/node_modules/unist-util-stringify-position/lib/index.js +2 -0
  524. package/dist/node_modules/react-markdown/node_modules/unist-util-stringify-position/lib/index.js.map +1 -0
  525. package/dist/node_modules/react-markdown/node_modules/unist-util-visit/lib/index.js +2 -0
  526. package/dist/node_modules/react-markdown/node_modules/unist-util-visit/lib/index.js.map +1 -0
  527. package/dist/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/color.browser.js +2 -0
  528. package/dist/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/color.browser.js.map +1 -0
  529. package/dist/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/index.js +2 -0
  530. package/dist/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
  531. package/dist/node_modules/react-markdown/node_modules/vfile/lib/index.js +2 -0
  532. package/dist/node_modules/react-markdown/node_modules/vfile/lib/index.js.map +1 -0
  533. package/dist/node_modules/react-markdown/node_modules/vfile/lib/minpath.browser.js +2 -0
  534. package/dist/node_modules/react-markdown/node_modules/vfile/lib/minpath.browser.js.map +1 -0
  535. package/dist/node_modules/react-markdown/node_modules/vfile/lib/minproc.browser.js +2 -0
  536. package/dist/node_modules/react-markdown/node_modules/vfile/lib/minproc.browser.js.map +1 -0
  537. package/dist/node_modules/react-markdown/node_modules/vfile/lib/minurl.browser.js +2 -0
  538. package/dist/node_modules/react-markdown/node_modules/vfile/lib/minurl.browser.js.map +1 -0
  539. package/dist/node_modules/react-markdown/node_modules/vfile/lib/minurl.shared.js +2 -0
  540. package/dist/node_modules/react-markdown/node_modules/vfile/lib/minurl.shared.js.map +1 -0
  541. package/dist/node_modules/react-markdown/node_modules/vfile-message/lib/index.js +2 -0
  542. package/dist/node_modules/react-markdown/node_modules/vfile-message/lib/index.js.map +1 -0
  543. package/dist/node_modules/unist-util-visit-parents/lib/color.js +2 -0
  544. package/dist/node_modules/unist-util-visit-parents/lib/color.js.map +1 -0
  545. package/dist/types/src/features/IL-OTJ/_components/organisms/TextSection/TextSection.d.ts +1 -1
  546. package/dist/types/src/features/IL-OTJ/_components/organisms/TextSection/TextSection.d.ts.map +1 -1
  547. package/dist/types/src/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.d.ts.map +1 -1
  548. package/package.json +2 -2
  549. package/dist/cjs/features/DocumentLearning/_components/MinimizedThinkingSteps.js +0 -2
  550. package/dist/cjs/features/DocumentLearning/_components/MinimizedThinkingSteps.js.map +0 -1
  551. package/dist/cjs/features/DocumentLearning/_components/_svg/ArrowDown.js +0 -2
  552. package/dist/cjs/features/DocumentLearning/_components/_svg/ArrowDown.js.map +0 -1
  553. package/dist/cjs/features/DocumentLearning/_components/_svg/ArrowIconBlue.js +0 -2
  554. package/dist/cjs/features/DocumentLearning/_components/_svg/ArrowIconBlue.js.map +0 -1
  555. package/dist/cjs/features/DocumentLearning/_components/_svg/CompleteIconGreen.js +0 -2
  556. package/dist/cjs/features/DocumentLearning/_components/_svg/CompleteIconGreen.js.map +0 -1
  557. package/dist/cjs/features/IL-OTJ/_components/CognitiveDecisioningCard.js +0 -2
  558. package/dist/cjs/features/IL-OTJ/_components/CognitiveDecisioningCard.js.map +0 -1
  559. package/dist/cjs/features/IL-OTJ/_components/MinimizedThinkingSteps.js +0 -2
  560. package/dist/cjs/features/IL-OTJ/_components/MinimizedThinkingSteps.js.map +0 -1
  561. package/dist/cjs/features/IL-OTJ/_components/ViewInterpretedFieldsCard.js +0 -2
  562. package/dist/cjs/features/IL-OTJ/_components/ViewInterpretedFieldsCard.js.map +0 -1
  563. package/dist/cjs/features/IL-OTJ/_components/_svg/ArrowDown.js +0 -2
  564. package/dist/cjs/features/IL-OTJ/_components/_svg/ArrowDown.js.map +0 -1
  565. package/dist/cjs/features/IL-OTJ/_components/_svg/ArrowIconBlue.js +0 -2
  566. package/dist/cjs/features/IL-OTJ/_components/_svg/ArrowIconBlue.js.map +0 -1
  567. package/dist/cjs/features/IL-OTJ/_components/_svg/ChevronIcon.js +0 -2
  568. package/dist/cjs/features/IL-OTJ/_components/_svg/ChevronIcon.js.map +0 -1
  569. package/dist/cjs/features/IL-OTJ/_components/_svg/CompleteIconGreen.js +0 -2
  570. package/dist/cjs/features/IL-OTJ/_components/_svg/CompleteIconGreen.js.map +0 -1
  571. package/dist/cjs/features/IL-OTJ/_components/_svg/HumanWithBrainIcon.js +0 -2
  572. package/dist/cjs/features/IL-OTJ/_components/_svg/HumanWithBrainIcon.js.map +0 -1
  573. package/dist/cjs/features/IL-OTJ/_components/_svg/LeftAndRightArrow.js +0 -2
  574. package/dist/cjs/features/IL-OTJ/_components/_svg/LeftAndRightArrow.js.map +0 -1
  575. package/dist/cjs/features/IL-OTJ/_components/_svg/WatchMeWorkIcon.js +0 -2
  576. package/dist/cjs/features/IL-OTJ/_components/_svg/WatchMeWorkIcon.js.map +0 -1
  577. package/dist/features/DocumentLearning/_components/MinimizedThinkingSteps.js +0 -2
  578. package/dist/features/DocumentLearning/_components/MinimizedThinkingSteps.js.map +0 -1
  579. package/dist/features/DocumentLearning/_components/_svg/ArrowDown.js +0 -2
  580. package/dist/features/DocumentLearning/_components/_svg/ArrowDown.js.map +0 -1
  581. package/dist/features/DocumentLearning/_components/_svg/ArrowIconBlue.js +0 -2
  582. package/dist/features/DocumentLearning/_components/_svg/ArrowIconBlue.js.map +0 -1
  583. package/dist/features/DocumentLearning/_components/_svg/CompleteIconGreen.js +0 -2
  584. package/dist/features/DocumentLearning/_components/_svg/CompleteIconGreen.js.map +0 -1
  585. package/dist/features/IL-OTJ/_components/CognitiveDecisioningCard.js +0 -2
  586. package/dist/features/IL-OTJ/_components/CognitiveDecisioningCard.js.map +0 -1
  587. package/dist/features/IL-OTJ/_components/MinimizedThinkingSteps.js +0 -2
  588. package/dist/features/IL-OTJ/_components/MinimizedThinkingSteps.js.map +0 -1
  589. package/dist/features/IL-OTJ/_components/ViewInterpretedFieldsCard.js +0 -2
  590. package/dist/features/IL-OTJ/_components/ViewInterpretedFieldsCard.js.map +0 -1
  591. package/dist/features/IL-OTJ/_components/_svg/ArrowDown.js +0 -2
  592. package/dist/features/IL-OTJ/_components/_svg/ArrowDown.js.map +0 -1
  593. package/dist/features/IL-OTJ/_components/_svg/ArrowIconBlue.js +0 -2
  594. package/dist/features/IL-OTJ/_components/_svg/ArrowIconBlue.js.map +0 -1
  595. package/dist/features/IL-OTJ/_components/_svg/ChevronIcon.js +0 -2
  596. package/dist/features/IL-OTJ/_components/_svg/ChevronIcon.js.map +0 -1
  597. package/dist/features/IL-OTJ/_components/_svg/CompleteIconGreen.js +0 -2
  598. package/dist/features/IL-OTJ/_components/_svg/CompleteIconGreen.js.map +0 -1
  599. package/dist/features/IL-OTJ/_components/_svg/HumanWithBrainIcon.js +0 -2
  600. package/dist/features/IL-OTJ/_components/_svg/HumanWithBrainIcon.js.map +0 -1
  601. package/dist/features/IL-OTJ/_components/_svg/LeftAndRightArrow.js +0 -2
  602. package/dist/features/IL-OTJ/_components/_svg/LeftAndRightArrow.js.map +0 -1
  603. package/dist/features/IL-OTJ/_components/_svg/WatchMeWorkIcon.js +0 -2
  604. package/dist/features/IL-OTJ/_components/_svg/WatchMeWorkIcon.js.map +0 -1
  605. package/dist/types/src/features/IL-OTJ/_components/ViewInterpretedFieldsCard.d.ts +0 -2
  606. package/dist/types/src/features/IL-OTJ/_components/ViewInterpretedFieldsCard.d.ts.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Thinkingstepshelper.js","sources":["../../../../../../../../../node_modules/@e-llm-studio/watch-me-work/dist/features/WatchMeWork/Components/Thinkingstepshelper.js"],"sourcesContent":["import{__assign as e}from\"tslib\";import{jsxs as r,jsx as n}from\"react/jsx-runtime\";import o,{useState as t,useEffect as i}from\"react\";import d from\"react-markdown\";import{ChevronUp as a}from\"lucide-react\";var l=function(e){e.current&&(clearTimeout(e.current),e.current=null)},m={mdP:{fontSize:\"0.9rem\",color:\"#6b7282\",fontStyle:\"italic\",lineHeight:\"1.625\",marginBottom:\"0.25rem\",wordBreak:\"break-word\",whiteSpace:\"normal\",overflowWrap:\"break-word\"},mdStrong:{fontWeight:600,fontStyle:\"normal\",color:\"#4b5563\"},mdCode:{fontSize:\"0.8rem\",color:\"#6b7282\",fontFamily:\"monospace\"},mdPre:{fontSize:\"0.75rem\",color:\"#6b7280\",fontFamily:\"monospace\",wordBreak:\"break-all\",whiteSpace:\"pre-wrap\",overflowX:\"auto\",maxWidth:\"100%\",backgroundColor:\"#f3f4f6\",borderRadius:\"0.375rem\",padding:\"0.5rem\",marginBottom:\"0.25rem\"},mdExpandedP:{maxWidth:\"100%\",wordBreak:\"break-word\",overflowWrap:\"break-word\",whiteSpace:\"normal\",fontSize:\"0.9rem\",marginBottom:\"0.25rem\",lineHeight:\"1.625\"},mdExpandedCode:{maxWidth:\"100%\",wordBreak:\"break-word\",overflowWrap:\"break-word\",whiteSpace:\"normal\",fontSize:\"0.9rem\",lineHeight:\"1.625\",marginBottom:\"0.25rem\",fontFamily:\"sans-serif\"},dot:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},dotInner:{width:\"8px\",height:\"8px\",marginTop:\"6px\",borderRadius:\"9999px\",backgroundColor:\"#6b7282\"},elapsedTimer:{fontSize:\"0.78rem\",color:\"#4b5563\"},chevron:{display:\"flex\",alignItems:\"center\",flexShrink:0},stepWrapper:{display:\"flex\",gap:\"1rem\",fontSize:\"0.875rem\",color:\"#374151\",paddingLeft:\"1.5rem\",paddingRight:\"1.5rem\",flexDirection:\"column\"},stepRow:{display:\"flex\",gap:\"0.5rem\",cursor:\"pointer\"},spineCol:{display:\"flex\",flexDirection:\"column\",alignItems:\"center\"},spineLine:{backgroundColor:\"#6b7282\",marginBottom:\"-6px\",height:\"100%\",width:\"0.85px\"},contentCol:{display:\"flex\",flexDirection:\"column\",width:\"100%\",overflowX:\"hidden\",marginBottom:\"0.25rem\",justifyContent:\"space-between\"},headerRow:{display:\"flex\",flexDirection:\"row\",alignItems:\"center\",justifyContent:\"space-between\",gap:\"0.5rem\",width:\"100%\",fontWeight:500},headerLabelFinal:{flex:1,wordBreak:\"break-word\",fontWeight:400,paddingBottom:\"0.5rem\",paddingLeft:\"0.5rem\",paddingRight:\"0.5rem\",background:\"linear-gradient(90deg, #6366f1, #8b5cf6)\",WebkitBackgroundClip:\"text\",WebkitTextFillColor:\"transparent\",backgroundClip:\"text\"},headerLabelPending:{flex:1,wordBreak:\"break-word\",fontWeight:400,paddingBottom:\"0.5rem\",paddingLeft:\"0.5rem\",paddingRight:\"0.5rem\",color:\"#344054\"},contentBox:{display:\"flex\",flexDirection:\"column\",width:\"100%\"},markdownBox:function(e,r){return{position:\"relative\",backgroundColor:\"#4245480d\",borderRadius:r?\"0.375rem 0.375rem 0 0\":\"0.375rem\",maxHeight:e?\"12rem\":\"5rem\",overflowY:e?\"auto\":\"hidden\"}},markdownInner:{height:\"auto\",borderRadius:\"0.375rem 0.375rem 0 0\",padding:\"0.5rem\",maxWidth:\"100%\",overflow:\"hidden\",color:\"#667085\",display:\"block\",boxSizing:\"border-box\",wordBreak:\"break-word\",overflowWrap:\"break-word\"},showMoreBtn:{width:\"100%\",fontWeight:500,paddingLeft:\"0.75rem\",paddingRight:\"0.75rem\",fontSize:\"0.75rem\",color:\"#175CD3\",cursor:\"pointer\",paddingTop:\"0.25rem\",paddingBottom:\"0.25rem\",borderRadius:\"0 0 0.375rem 0.375rem\",marginBottom:\"0.25rem\",display:\"flex\",alignItems:\"center\",justifyContent:\"flex-end\"}},c={p:function(r){var o=r.children;return n(\"p\",e({style:m.mdP},{children:o}))},strong:function(r){var o=r.children;return n(\"strong\",e({style:m.mdStrong},{children:o}))},code:function(r){var o=r.children;return n(\"code\",e({style:m.mdCode},{children:o}))},pre:function(r){var o=r.children;return n(\"pre\",e({style:m.mdPre},{children:o}))}},s={p:function(r){var o=r.children;return n(\"p\",e({style:m.mdExpandedP},{children:o}))},code:function(r){var o=r.children;return n(\"code\",e({style:m.mdExpandedCode},{children:o}))}},p=function(){return n(\"div\",e({style:m.dot},{children:n(\"div\",{style:m.dotInner})}))},f=o.memo(function(n){var o=n.startTime,d=t(0),a=d[0],l=d[1];return i(function(){var e=setInterval(function(){return l(Math.floor((Date.now()-o)/1e3))},1e3);return function(){return clearInterval(e)}},[o]),r(\"span\",e({style:m.elapsedTimer},{children:[a,\"s\"]}))}),h=o.memo(function(o){var t=o.step,i=o.index,l=o.isLast,c=o.stepState,f=o.showMore,h=o.onToggle,g=o.onToggleExpanded,u=o.contentRef,w=!!c,x=\"expanded\"===c,b=t.responsedata||t.responseMessage||\"\";return n(\"div\",e({style:m.stepWrapper},{children:r(\"div\",e({style:m.stepRow},{children:[r(\"div\",e({style:m.spineCol},{children:[t.finalResponseStatus?null:n(p,{}),!l&&n(\"div\",{style:m.spineLine})]})),r(\"div\",e({style:m.contentCol},{children:[r(\"div\",e({style:m.headerRow,onClick:function(){return h(i)}},{children:[n(\"span\",e({style:t.finalResponseStatus?m.headerLabelFinal:m.headerLabelPending},{children:t.header_message})),n(\"div\",e({style:m.chevron},{children:n(a,{size:17,style:{transform:w?\"rotate(0deg)\":\"rotate(180deg)\",transition:\"transform 300ms ease\"}})}))]})),(w||t.finalResponseStatus)&&b&&r(\"div\",e({style:m.contentBox},{children:[n(\"div\",e({ref:u,style:m.markdownBox(x,f)},{children:n(\"div\",e({style:m.markdownInner},{children:n(d,e({components:s},{children:b}))}))})),f&&n(\"div\",e({style:m.showMoreBtn,onClick:function(){return g(i)}},{children:x?\"Less\":\"More\"}))]}))]}))]}))}))});export{p as Dot,f as ElapsedTimer,h as StepItem,l as clearTimer,c as mdComponents,s as mdComponentsExpanded};\n//# sourceMappingURL=Thinkingstepshelper.js.map\n"],"names":["m","mdP","fontSize","color","fontStyle","lineHeight","marginBottom","wordBreak","whiteSpace","overflowWrap","mdStrong","fontWeight","mdCode","fontFamily","mdPre","overflowX","maxWidth","backgroundColor","borderRadius","padding","mdExpandedP","mdExpandedCode","dot","display","alignItems","justifyContent","dotInner","width","height","marginTop","elapsedTimer","chevron","flexShrink","stepWrapper","gap","paddingLeft","paddingRight","flexDirection","stepRow","cursor","spineCol","spineLine","contentCol","headerRow","headerLabelFinal","flex","paddingBottom","background","WebkitBackgroundClip","WebkitTextFillColor","backgroundClip","headerLabelPending","contentBox","markdownBox","e","r","position","maxHeight","overflowY","markdownInner","overflow","boxSizing","showMoreBtn","paddingTop","c","p","o","children","n","__assign","style","strong","code","jsx","pre","s","f","memo","startTime","d","t","useState","a","l","i","setInterval","Math","floor","Date","now","clearInterval","h","step","index","isLast","stepState","showMore","onToggle","g","onToggleExpanded","u","contentRef","w","x","b","responsedata","responseMessage","finalResponseStatus","onClick","header_message","size","transform","transition","ref","ReactMarkdown","components","current","clearTimeout"],"mappings":"0kjHAAoRA,EAAE,CAACC,IAAI,CAACC,SAAS,SAASC,MAAM,UAAUC,UAAU,SAASC,WAAW,QAAQC,aAAa,UAAUC,UAAU,aAAaC,WAAW,SAASC,aAAa,cAAcC,SAAS,CAACC,WAAW,IAAIP,UAAU,SAASD,MAAM,WAAWS,OAAO,CAACV,SAAS,SAASC,MAAM,UAAUU,WAAW,aAAaC,MAAM,CAACZ,SAAS,UAAUC,MAAM,UAAUU,WAAW,YAAYN,UAAU,YAAYC,WAAW,WAAWO,UAAU,OAAOC,SAAS,OAAOC,gBAAgB,UAAUC,aAAa,WAAWC,QAAQ,SAASb,aAAa,WAAWc,YAAY,CAACJ,SAAS,OAAOT,UAAU,aAAaE,aAAa,aAAaD,WAAW,SAASN,SAAS,SAASI,aAAa,UAAUD,WAAW,SAASgB,eAAe,CAACL,SAAS,OAAOT,UAAU,aAAaE,aAAa,aAAaD,WAAW,SAASN,SAAS,SAASG,WAAW,QAAQC,aAAa,UAAUO,WAAW,cAAcS,IAAI,CAACC,QAAQ,OAAOC,WAAW,SAASC,eAAe,UAAUC,SAAS,CAACC,MAAM,MAAMC,OAAO,MAAMC,UAAU,MAAMX,aAAa,SAASD,gBAAgB,WAAWa,aAAa,CAAC5B,SAAS,UAAUC,MAAM,WAAW4B,QAAQ,CAACR,QAAQ,OAAOC,WAAW,SAASQ,WAAW,GAAGC,YAAY,CAACV,QAAQ,OAAOW,IAAI,OAAOhC,SAAS,WAAWC,MAAM,UAAUgC,YAAY,SAASC,aAAa,SAASC,cAAc,UAAUC,QAAQ,CAACf,QAAQ,OAAOW,IAAI,SAASK,OAAO,WAAWC,SAAS,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M,CAACyC,UAAUT,EAAE,eAAe,iBAAiBU,WAAW,kCAAkCV,GAAGtB,EAAE2B,sBAAsBH,GAAGjD,EAAAA,KAAE,MAAMD,EAACe,SAAC,CAACC,MAAMtE,EAAEoD,YAAY,CAACe,SAAS,CAACC,MAAE,MAAMd,EAACe,SAAC,CAAC4C,IAAIb,EAAE9B,MAAMtE,EAAEqD,YAAYkD,EAAE3B,IAAI,CAACT,SAASC,EAAAA,IAAE,MAAMd,EAACe,SAAC,CAACC,MAAMtE,EAAE2D,eAAe,CAACQ,SAASC,EAAAA,IAAEW,EAACmC,cAAC5D,WAAE,CAAC6D,WAAWxC,GAAG,CAACR,SAASqC,WAAW5B,GAAGR,MAAE,MAAMd,EAACe,SAAC,CAACC,MAAMtE,EAAE8D,YAAY8C,QAAQ,WAAW,OAAOV,EAAEd,EAAE,GAAG,CAACjB,SAASoC,EAAE,OAAO,wBAAwB,8EAAp4J,SAASjD,GAAGA,EAAE8D,UAAUC,aAAa/D,EAAE8D,SAAS9D,EAAE8D,QAAQ,KAAK"}
1
+ {"version":3,"file":"Thinkingstepshelper.js","sources":["../../../../../../../../../node_modules/@e-llm-studio/watch-me-work/dist/features/WatchMeWork/Components/Thinkingstepshelper.js"],"sourcesContent":["import{__assign as e}from\"tslib\";import{jsxs as r,jsx as o}from\"react/jsx-runtime\";import n,{useState as t,useEffect as i}from\"react\";import d from\"react-markdown\";import{ChevronUp as l}from\"lucide-react\";var a=function(e){e.current&&(clearTimeout(e.current),e.current=null)},m={mdP:{fontSize:\"0.9rem\",fontStyle:\"italic\",lineHeight:\"1.625\",marginBottom:\"0.25rem\",wordBreak:\"break-word\",whiteSpace:\"normal\",overflowWrap:\"break-word\"},mdStrong:{fontWeight:600,fontStyle:\"normal\",color:\"#4b5563\"},mdCode:{fontSize:\"0.8rem\",fontFamily:\"monospace\"},mdPre:{fontSize:\"0.75rem\",fontFamily:\"monospace\",wordBreak:\"break-all\",whiteSpace:\"pre-wrap\",overflowX:\"auto\",maxWidth:\"100%\",backgroundColor:\"#f3f4f6\",borderRadius:\"0.375rem\",padding:\"0.5rem\",marginBottom:\"0.25rem\"},mdExpandedP:{maxWidth:\"100%\",wordBreak:\"break-word\",overflowWrap:\"break-word\",whiteSpace:\"normal\",fontSize:\"0.9rem\",marginBottom:\"0.25rem\",lineHeight:\"1.625\"},mdExpandedCode:{maxWidth:\"100%\",wordBreak:\"break-word\",overflowWrap:\"break-word\",whiteSpace:\"normal\",fontSize:\"0.9rem\",lineHeight:\"1.625\",marginBottom:\"0.25rem\",fontFamily:\"sans-serif\"},dot:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\"},dotInner:{width:\"8px\",height:\"8px\",marginTop:\"6px\",borderRadius:\"9999px\",backgroundColor:\"#6b7282\"},elapsedTimer:{fontSize:\"0.78rem\",color:\"#4b5563\"},chevron:{display:\"flex\",alignItems:\"center\",flexShrink:0},stepWrapper:{display:\"flex\",gap:\"1rem\",fontSize:\"0.875rem\",color:\"#374151\",paddingLeft:\"1.5rem\",paddingRight:\"1.5rem\",flexDirection:\"column\"},stepRow:{display:\"flex\",gap:\"0.5rem\",cursor:\"pointer\"},spineCol:{display:\"flex\",flexDirection:\"column\",alignItems:\"center\"},spineLine:{backgroundColor:\"#6b7282\",marginBottom:\"-6px\",height:\"100%\",width:\"0.85px\"},contentCol:{display:\"flex\",flexDirection:\"column\",width:\"100%\",overflowX:\"hidden\",marginBottom:\"0.25rem\",justifyContent:\"space-between\"},headerRow:{display:\"flex\",flexDirection:\"row\",alignItems:\"center\",justifyContent:\"space-between\",gap:\"0.5rem\",width:\"100%\",fontWeight:500},headerLabelFinal:{flex:1,wordBreak:\"break-word\",fontWeight:400,paddingBottom:\"0.5rem\",paddingLeft:\"0.5rem\",paddingRight:\"0.5rem\",background:\"linear-gradient(90deg, #6366f1, #8b5cf6)\",WebkitBackgroundClip:\"text\",WebkitTextFillColor:\"transparent\",backgroundClip:\"text\"},headerLabelPending:{flex:1,wordBreak:\"break-word\",fontWeight:400,paddingBottom:\"0.5rem\",paddingLeft:\"0.5rem\",paddingRight:\"0.5rem\",color:\"#344054\"},contentBox:{display:\"flex\",flexDirection:\"column\",width:\"100%\"},markdownBox:function(e,r){return{position:\"relative\",backgroundColor:\"#4245480d\",borderRadius:r?\"0.375rem 0.375rem 0 0\":\"0.375rem\",maxHeight:e?\"12rem\":\"5rem\",overflowY:e?\"auto\":\"hidden\"}},markdownInner:{height:\"auto\",borderRadius:\"0.375rem 0.375rem 0 0\",padding:\"0.5rem\",maxWidth:\"100%\",overflow:\"hidden\",color:\"#667085\",display:\"block\",boxSizing:\"border-box\",wordBreak:\"break-word\",overflowWrap:\"break-word\"},showMoreBtn:{width:\"100%\",fontWeight:500,paddingLeft:\"0.75rem\",paddingRight:\"0.75rem\",fontSize:\"0.75rem\",color:\"#175CD3\",cursor:\"pointer\",paddingTop:\"0.25rem\",paddingBottom:\"0.25rem\",borderRadius:\"0 0 0.375rem 0.375rem\",marginBottom:\"0.25rem\",display:\"flex\",alignItems:\"center\",justifyContent:\"flex-end\"}},c=function(r){return{p:function(n){var t=n.children;return o(\"p\",e({style:e(e({},m.mdP),null==r?void 0:r.p)},{children:t}))},strong:function(n){var t=n.children;return o(\"strong\",e({style:e(e({},m.mdStrong),null==r?void 0:r.strong)},{children:t}))},code:function(n){var t=n.children;return o(\"code\",e({style:e(e({},m.mdCode),null==r?void 0:r.code)},{children:t}))},pre:function(n){var t=n.children;return o(\"pre\",e({style:e(e({},m.mdPre),null==r?void 0:r.pre)},{children:t}))}}},s=function(r){return{p:function(n){var t=n.children;return o(\"p\",e({style:e(e({},m.mdExpandedP),null==r?void 0:r.p)},{children:t}))},code:function(n){var t=n.children;return o(\"code\",e({style:e(e({},m.mdExpandedCode),null==r?void 0:r.code)},{children:t}))},pre:function(n){var t=n.children;return o(\"pre\",e({style:e(e({},m.mdPre),null==r?void 0:r.pre)},{children:t}))}}},p=function(r){var n=r.size,t=void 0===n?\"8px\":n,i=r.color,d=void 0===i?\"#6b7282\":i;return o(\"div\",e({style:m.dot},{children:o(\"div\",{style:e(e({},m.dotInner),{width:t,height:t,backgroundColor:d})})}))},u=n.memo(function(o){var n=o.startTime,d=t(0),l=d[0],a=d[1];return i(function(){var e=setInterval(function(){return a(Math.floor((Date.now()-n)/1e3))},1e3);return function(){return clearInterval(e)}},[n]),r(\"span\",e({style:m.elapsedTimer},{children:[l,\"s\"]}))}),f=n.memo(function(n){var t,i,a,c,u=n.step,f=n.index,h=n.isLast,g=n.stepState,v=n.showMore,w=n.onToggle,x=n.onToggleExpanded,b=n.contentRef;n.mdCustomStyles;var y=n.mdExpandedCustomStyles,k=n.chevronSize,C=void 0===k?17:k,B=n.chevronColor,S=void 0===B?\"#6b7280\":B,R=n.customStyles,W=!!g,L=\"expanded\"===g,z=u.responsedata||u.responseMessage||\"\",I=s(y),D=u.finalResponseStatus?m.headerLabelFinal:m.headerLabelPending;return o(\"div\",e({style:e(e({},m.stepWrapper),null==R?void 0:R.stepWrapper)},{children:r(\"div\",e({style:e(e({},m.stepRow),null==R?void 0:R.stepRow)},{children:[r(\"div\",e({style:e(e({},m.spineCol),null==R?void 0:R.spineCol)},{children:[u.finalResponseStatus?null:o(p,{size:null===(t=null==R?void 0:R.Dot)||void 0===t?void 0:t.width,color:null===(i=null==R?void 0:R.Dot)||void 0===i?void 0:i.backgroundColor}),!h&&o(\"div\",{style:e(e({},m.spineLine),null==R?void 0:R.spineLine)})]})),r(\"div\",e({style:e(e({},m.contentCol),null==R?void 0:R.contentCol)},{children:[r(\"div\",e({style:e(e({},m.headerRow),null==R?void 0:R.headerRow),onClick:function(){return w(f)}},{children:[o(\"span\",e({style:e(e({},D),null==R?void 0:R.headerLabel)},{children:u.header_message})),o(\"div\",e({style:m.chevron},{children:o(l,{size:C,color:S,style:{transform:W?\"rotate(0deg)\":\"rotate(180deg)\",transition:\"transform 300ms ease\"}})}))]})),(W||u.finalResponseStatus)&&z&&r(\"div\",e({style:e(e({},m.contentBox),null==R?void 0:R.contentBox)},{children:[o(\"div\",e({ref:b,style:e(e({},m.markdownBox(L,v)),null==R?void 0:R.markdownBox)},{children:o(\"div\",e({style:e(e(e({},m.markdownInner),null==R?void 0:R.markdownInner),{color:null!==(c=null===(a=null==R?void 0:R.markdownInner)||void 0===a?void 0:a.color)&&void 0!==c?c:\"#667085\"})},{children:o(d,e({components:I},{children:z}))}))})),v&&o(\"div\",e({style:e(e({},m.showMoreBtn),null==R?void 0:R.showMoreBtn),onClick:function(){return x(f)}},{children:L?\"Less\":\"More\"}))]}))]}))]}))}))});export{p as Dot,u as ElapsedTimer,f as StepItem,a as clearTimer,c as createMdComponents,s as createMdComponentsExpanded};\n//# sourceMappingURL=Thinkingstepshelper.js.map\n"],"names":["m","mdP","fontSize","fontStyle","lineHeight","marginBottom","wordBreak","whiteSpace","overflowWrap","mdStrong","fontWeight","color","mdCode","fontFamily","mdPre","overflowX","maxWidth","backgroundColor","borderRadius","padding","mdExpandedP","mdExpandedCode","dot","display","alignItems","justifyContent","dotInner","width","height","marginTop","elapsedTimer","chevron","flexShrink","stepWrapper","gap","paddingLeft","paddingRight","flexDirection","stepRow","cursor","spineCol","spineLine","contentCol","headerRow","headerLabelFinal","flex","paddingBottom","background","WebkitBackgroundClip","WebkitTextFillColor","backgroundClip","headerLabelPending","contentBox","markdownBox","e","r","position","maxHeight","overflowY","markdownInner","overflow","boxSizing","showMoreBtn","paddingTop","s","p","n","t","children","o","style","__assign","code","pre","jsx","size","i","d","u","memo","startTime","l","a","useEffect","setInterval","Math","floor","Date","now","clearInterval","f","c","step","index","h","isLast","g","stepState","v","showMore","w","onToggle","x","onToggleExpanded","b","contentRef","mdCustomStyles","y","mdExpandedCustomStyles","k","chevronSize","C","B","chevronColor","S","R","customStyles","W","L","z","responsedata","responseMessage","I","D","finalResponseStatus","jsxs","Dot","onClick","headerLabel","header_message","transform","transition","ref","ReactMarkdown","components","current","clearTimeout","strong"],"mappings":"0kjHAAoRA,EAAE,CAACC,IAAI,CAACC,SAAS,SAASC,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AACK,IAAC,OAAOpB,WAAE,CAACgB,MAAMhB,EAACiB,SAACjB,EAACiB,SAAC,CAAE,EAACvE,EAAEY,QAAQ,MAAM2C,OAAO,EAAEA,EAAEiB,OAAO,CAACJ,SAASD,IAAI,EAAEM,IAAI,SAASP,GAAG,IAAIC,EAAED,EAAEE,SAAS,OAAOC,EAACK,IAAC,MAAMpB,EAACiB,SAAC,CAACD,MAAMhB,EAAAA,SAAEA,EAAAA,SAAE,CAAA,EAAGtD,EAAEc,OAAO,MAAMyC,OAAO,EAAEA,EAAEkB,MAAM,CAACL,SAASD,IAAI,EAAE"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../../../tslib/tslib.es6.mjs.js"),n=require("react"),t=require("./Thinkingstepshelper.js");exports.useThinkingSteps=function(r){var u=r.orchestratorAndAgentsMessages,s=r.isStreamEnd,a=r.finalTime,o=r.thinkingStartTime,i=r.streamEndTime,c=r.storeTime,l=n.useState("thinking"),f=l[0],d=l[1],p=n.useState(-1),m=p[0],h=p[1],g=n.useState(!1),v=g[0],k=g[1],T=n.useState({}),S=T[0],w=T[1],M=n.useState({}),b=M[0],_=M[1],x=n.useRef(null),A=n.useRef({}),C=n.useRef({count:0,snapshot:""}),j=n.useRef(null),q=n.useCallback(function(){d("watchmework"),k(!1)},[]);n.useEffect(function(){if(s&&"watchmework"!==f)return t.clearTimer(x),void q();if("watchmework"!==f&&0!==u.length){var e=u.length,n=u.map(function(e){var n,t;return"".concat(e.header_message,"||").concat(null!==(t=null!==(n=e.responsedata)&&void 0!==n?n:e.responseMessage)&&void 0!==t?t:"")}).join("::");e>C.current.count?(C.current={count:e,snapshot:n},t.clearTimer(x),requestAnimationFrame(function(){h(e-1),k(!1),d("steps")})):n!==C.current.snapshot?(C.current.snapshot=n,t.clearTimer(x)):x.current||"steps"!==f||(x.current=setTimeout(function(){x.current=null,s&&q()},1500))}},[u,s,f,q]),n.useEffect(function(){return function(){return t.clearTimer(x)}},[]);var E=n.useCallback(function(e){w(function(n){var t;return n[e]?{}:(requestAnimationFrame(function(){var n=A.current[e];n&&_(function(){var t;return(t={})[e]=n.scrollHeight>80,t})}),(t={})[e]="open",t)})},[]),R=n.useCallback(function(n){w(function(t){var r;return e.__assign(e.__assign({},t),((r={})[n]="expanded"===t[n]?"open":"expanded",r))})},[]),O=n.useCallback(function(){w({}),_({})},[]),y=n.useCallback(function(){k(function(e){return e&&O(),!e})},[O]),F=n.useMemo(function(){var e;return null!==(e=u[m])&&void 0!==e?e:null},[u,m]),H=(null==F?void 0:F.responsedata)||(null==F?void 0:F.responseMessage)||"",I=n.useMemo(function(){if(!s){var e=u[u.length-1];if(null==e?void 0:e.header_message)return e.header_message}if(null===j.current){var n;n=null!=a?a:null!=c?c:null!=o&&null!=i?Math.round((i-o)/1e3):0,j.current=Math.max(1,n)}return"What I did for ".concat(j.current," seconds")},[c,o,i,a,s,u]);return{viewType:f,accordionOpen:v,openSteps:S,showMoreMap:b,contentRefs:A,currentStep:F,currentContent:H,wmwLabel:I,toggleStep:E,toggleExpanded:R,toggleAccordion:y,setAccordionOpen:k}};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../../../tslib/tslib.es6.mjs.js"),n=require("react"),t=require("./Thinkingstepshelper.js");exports.useThinkingSteps=function(r){var u=r.orchestratorAndAgentsMessages,s=r.isStreamEnd,a=r.finalTime,o=r.thinkingStartTime,i=r.streamEndTime,c=r.storeTime,l=n.useState("thinking"),f=l[0],d=l[1],p=n.useState(-1),h=p[0],m=p[1],g=n.useState(!1),v=g[0],k=g[1],S=n.useState({}),T=S[0],w=S[1],M=n.useState({}),b=M[0],_=M[1],x=n.useRef(null),C=n.useRef({}),j=n.useRef({count:0,snapshot:""}),A=n.useRef(null),E=n.useCallback(function(){d("watchmework"),k(!1)},[]);n.useEffect(function(){if(s&&"watchmework"!==f)return t.clearTimer(x),void E();if("watchmework"!==f&&0!==u.length){var e=u.length,n=u.map(function(e){var n,t;return"".concat(e.header_message,"||").concat(null!==(t=null!==(n=e.responsedata)&&void 0!==n?n:e.responseMessage)&&void 0!==t?t:"")}).join("::");e>j.current.count?(j.current={count:e,snapshot:n},t.clearTimer(x),m(e-1),k(!1),d("steps")):n!==j.current.snapshot&&(j.current.snapshot=n,t.clearTimer(x))}},[u,s,f,E]),n.useEffect(function(){return function(){return t.clearTimer(x)}},[]);var R=n.useCallback(function(e){w(function(n){var t;return n[e]?{}:(requestAnimationFrame(function(){var n=C.current[e];n&&_(function(){var t;return(t={})[e]=n.scrollHeight>80,t})}),(t={})[e]="open",t)})},[]),q=n.useCallback(function(n){w(function(t){var r;return e.__assign(e.__assign({},t),((r={})[n]="expanded"===t[n]?"open":"expanded",r))})},[]),O=n.useCallback(function(){w({}),_({})},[]),y=n.useCallback(function(){k(function(e){return e&&O(),!e})},[O]),F=n.useMemo(function(){var e;return null!==(e=u[h])&&void 0!==e?e:null},[u,h]),H=(null==F?void 0:F.responsedata)||(null==F?void 0:F.responseMessage)||"",I=n.useMemo(function(){if(!s){var e=u[u.length-1];if(null==e?void 0:e.header_message)return e.header_message}if(null===A.current){var n;n=null!=a?a:null!=c?c:null!=o&&null!=i?Math.round((i-o)/1e3):0,A.current=Math.max(1,n)}return"What I did for ".concat(A.current," seconds")},[c,o,i,a,s,u]);return{viewType:f,accordionOpen:v,openSteps:T,showMoreMap:b,contentRefs:C,currentStep:F,currentContent:H,wmwLabel:I,toggleStep:R,toggleExpanded:q,toggleAccordion:y,setAccordionOpen:k}};
2
2
  //# sourceMappingURL=Usethinkingsteps.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"Usethinkingsteps.js","sources":["../../../../../../../../../node_modules/@e-llm-studio/watch-me-work/dist/features/WatchMeWork/Components/Usethinkingsteps.js"],"sourcesContent":["import{__assign as n}from\"tslib\";import{useState as e,useRef as t,useCallback as r,useEffect as o,useMemo as u}from\"react\";import{clearTimer as i}from\"./Thinkingstepshelper.js\";var a=function(a){var c=a.orchestratorAndAgentsMessages,s=a.isStreamEnd,l=a.finalTime,f=a.thinkingStartTime,p=a.streamEndTime,d=a.storeTime,m=e(\"thinking\"),h=m[0],v=m[1],g=e(-1),w=g[0],M=g[1],T=e(!1),k=T[0],A=T[1],x=e({}),S=x[0],E=x[1],_=e({}),b=_[0],j=_[1],q=t(null),F=t({}),O=t({count:0,snapshot:\"\"}),y=t(null),C=r(function(){v(\"watchmework\"),A(!1)},[]);o(function(){if(s&&\"watchmework\"!==h)return i(q),void C();if(\"watchmework\"!==h&&0!==c.length){var n=c.length,e=c.map(function(n){var e,t;return\"\".concat(n.header_message,\"||\").concat(null!==(t=null!==(e=n.responsedata)&&void 0!==e?e:n.responseMessage)&&void 0!==t?t:\"\")}).join(\"::\");n>O.current.count?(O.current={count:n,snapshot:e},i(q),requestAnimationFrame(function(){M(n-1),A(!1),v(\"steps\")})):e!==O.current.snapshot?(O.current.snapshot=e,i(q)):q.current||\"steps\"!==h||(q.current=setTimeout(function(){q.current=null,s&&C()},1500))}},[c,s,h,C]),o(function(){return function(){return i(q)}},[]);var H=r(function(n){E(function(e){var t;return!e[n]?(requestAnimationFrame(function(){var e=F.current[n];e&&j(function(){var t;return(t={})[n]=e.scrollHeight>80,t})}),(t={})[n]=\"open\",t):{}})},[]),I=r(function(e){E(function(t){var r;return n(n({},t),((r={})[e]=\"expanded\"===t[e]?\"open\":\"expanded\",r))})},[]),L=r(function(){E({}),j({})},[]),R=r(function(){A(function(n){return n&&L(),!n})},[L]),W=u(function(){var n;return null!==(n=c[w])&&void 0!==n?n:null},[c,w]),z=(null==W?void 0:W.responsedata)||(null==W?void 0:W.responseMessage)||\"\",B=u(function(){if(!s){var n=c[c.length-1];if(null==n?void 0:n.header_message)return n.header_message}if(null===y.current){var e=void 0;e=null!=l?l:null!=d?d:null!=f&&null!=p?Math.round((p-f)/1e3):0,y.current=Math.max(1,e)}return\"What I did for \".concat(y.current,\" seconds\")},[d,f,p,l,s,c]);return{viewType:h,accordionOpen:k,openSteps:S,showMoreMap:b,contentRefs:F,currentStep:W,currentContent:z,wmwLabel:B,toggleStep:H,toggleExpanded:I,toggleAccordion:R,setAccordionOpen:A}};export{a as useThinkingSteps};\n//# sourceMappingURL=Usethinkingsteps.js.map\n"],"names":["a","c","orchestratorAndAgentsMessages","s","isStreamEnd","l","finalTime","f","thinkingStartTime","p","streamEndTime","d","storeTime","m","e","h","v","g","w","M","T","k","A","x","useState","S","E","_","b","j","q","t","useRef","F","O","count","snapshot","y","C","r","o","i","clearTimer","length","n","map","concat","header_message","responsedata","responseMessage","join","current","requestAnimationFrame","setTimeout","H","scrollHeight","I","useCallback","__assign","L","R","W","u","z","B","Math","round","max","viewType","accordionOpen","openSteps","showMoreMap","contentRefs","currentStep","currentContent","wmwLabel","toggleStep","toggleExpanded","toggleAccordion","setAccordionOpen"],"mappings":"gNAAuL,SAASA,GAAG,IAAIC,EAAED,EAAEE,8BAA8BC,EAAEH,EAAEI,YAAYC,EAAEL,EAAEM,UAAUC,EAAEP,EAAEQ,kBAAkBC,EAAET,EAAEU,cAAcC,EAAEX,EAAEY,UAAUC,EAAEC,EAAAA,SAAE,YAAYC,EAAEF,EAAE,GAAGG,EAAEH,EAAE,GAAGI,EAAEH,EAAAA,UAAG,GAAGI,EAAED,EAAE,GAAGE,EAAEF,EAAE,GAAGG,EAAEN,YAAE,GAAIO,EAAED,EAAE,GAAGE,EAAEF,EAAE,GAAGG,EAAET,EAACU,SAAC,CAAE,GAAEC,EAAEF,EAAE,GAAGG,EAAEH,EAAE,GAAGI,EAAEb,EAACU,SAAC,CAAE,GAAEI,EAAED,EAAE,GAAGE,EAAEF,EAAE,GAAGG,EAAEC,EAACC,OAAC,MAAMC,EAAEF,EAACC,OAAC,CAAE,GAAEE,EAAEH,EAACC,OAAC,CAACG,MAAM,EAAEC,SAAS,KAAKC,EAAEN,EAAAA,OAAE,MAAMO,EAAEC,EAAAA,YAAE,WAAWvB,EAAE,eAAeM,GAAE,EAAG,EAAE,IAAIkB,YAAE,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,gBAAgBlB,EAAEmB,iBAAiBzD,EAAE"}
1
+ {"version":3,"file":"Usethinkingsteps.js","sources":["../../../../../../../../../node_modules/@e-llm-studio/watch-me-work/dist/features/WatchMeWork/Components/Usethinkingsteps.js"],"sourcesContent":["import{__assign as n}from\"tslib\";import{useState as e,useRef as t,useCallback as r,useEffect as o,useMemo as u}from\"react\";import{clearTimer as i}from\"./Thinkingstepshelper.js\";var a=function(a){var c=a.orchestratorAndAgentsMessages,s=a.isStreamEnd,l=a.finalTime,d=a.thinkingStartTime,p=a.streamEndTime,f=a.storeTime,h=e(\"thinking\"),m=h[0],v=h[1],g=e(-1),w=g[0],M=g[1],k=e(!1),T=k[0],x=k[1],A=e({}),S=A[0],E=A[1],_=e({}),b=_[0],j=_[1],O=t(null),q=t({}),y=t({count:0,snapshot:\"\"}),C=t(null),F=r(function(){v(\"watchmework\"),x(!1)},[]);o(function(){if(s&&\"watchmework\"!==m)return i(O),void F();if(\"watchmework\"!==m&&0!==c.length){var n=c.length,e=c.map(function(n){var e,t;return\"\".concat(n.header_message,\"||\").concat(null!==(t=null!==(e=n.responsedata)&&void 0!==e?e:n.responseMessage)&&void 0!==t?t:\"\")}).join(\"::\");n>y.current.count?(y.current={count:n,snapshot:e},i(O),M(n-1),x(!1),v(\"steps\")):e!==y.current.snapshot&&(y.current.snapshot=e,i(O))}},[c,s,m,F]),o(function(){return function(){return i(O)}},[]);var H=r(function(n){E(function(e){var t;return!e[n]?(requestAnimationFrame(function(){var e=q.current[n];e&&j(function(){var t;return(t={})[n]=e.scrollHeight>80,t})}),(t={})[n]=\"open\",t):{}})},[]),I=r(function(e){E(function(t){var r;return n(n({},t),((r={})[e]=\"expanded\"===t[e]?\"open\":\"expanded\",r))})},[]),L=r(function(){E({}),j({})},[]),R=r(function(){x(function(n){return n&&L(),!n})},[L]),W=u(function(){var n;return null!==(n=c[w])&&void 0!==n?n:null},[c,w]),z=(null==W?void 0:W.responsedata)||(null==W?void 0:W.responseMessage)||\"\",B=u(function(){if(!s){var n=c[c.length-1];if(null==n?void 0:n.header_message)return n.header_message}if(null===C.current){var e=void 0;e=null!=l?l:null!=f?f:null!=d&&null!=p?Math.round((p-d)/1e3):0,C.current=Math.max(1,e)}return\"What I did for \".concat(C.current,\" seconds\")},[f,d,p,l,s,c]);return{viewType:m,accordionOpen:T,openSteps:S,showMoreMap:b,contentRefs:q,currentStep:W,currentContent:z,wmwLabel:B,toggleStep:H,toggleExpanded:I,toggleAccordion:R,setAccordionOpen:x}};export{a as useThinkingSteps};\n//# sourceMappingURL=Usethinkingsteps.js.map\n"],"names":["a","c","orchestratorAndAgentsMessages","s","isStreamEnd","l","finalTime","d","thinkingStartTime","p","streamEndTime","f","storeTime","h","e","useState","m","v","g","w","M","k","T","x","A","S","E","_","b","j","O","t","useRef","q","y","count","snapshot","C","F","r","o","i","clearTimer","length","n","map","concat","header_message","responsedata","responseMessage","join","current","useEffect","H","requestAnimationFrame","scrollHeight","I","__assign","L","R","W","u","z","B","useMemo","Math","round","max","viewType","accordionOpen","openSteps","showMoreMap","contentRefs","currentStep","currentContent","wmwLabel","toggleStep","toggleExpanded","toggleAccordion","setAccordionOpen"],"mappings":"gNAAuL,SAASA,GAAG,IAAIC,EAAED,EAAEE,8BAA8BC,EAAEH,EAAEI,YAAYC,EAAEL,EAAEM,UAAUC,EAAEP,EAAEQ,kBAAkBC,EAAET,EAAEU,cAAcC,EAAEX,EAAEY,UAAUC,EAAEC,EAACC,SAAC,YAAYC,EAAEH,EAAE,GAAGI,EAAEJ,EAAE,GAAGK,EAAEJ,EAAAA,UAAG,GAAGK,EAAED,EAAE,GAAGE,EAAEF,EAAE,GAAGG,EAAEP,EAAAA,UAAE,GAAIQ,EAAED,EAAE,GAAGE,EAAEF,EAAE,GAAGG,EAAEV,EAAAA,SAAE,CAAE,GAAEW,EAAED,EAAE,GAAGE,EAAEF,EAAE,GAAGG,EAAEb,WAAE,CAAA,GAAIc,EAAED,EAAE,GAAGE,EAAEF,EAAE,GAAGG,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AEc,eAAeZ,EAAEa,SAASZ,EAAEa,WAAWvB,EAAEwB,eAAerB,EAAEsB,gBAAgBnB,EAAEoB,iBAAiBxD,EAAE"}
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../../tslib/tslib.es6.mjs.js"),n=require("react/jsx-runtime"),t=require("react"),r=require("./Components/Usethinkingsteps.js"),o=require("./Components/WorkingIndicator.js"),s=require("./Components/StepDetailView.js"),i=require("./Components/AgentStepsView.js"),a=t.forwardRef(function(a,c){var p=a.orchestratorAndAgentsMessages,u=a.isStreamEnd,g=a.finalTimeTaken,l=a.thinkingStartTime,m=a.streamEndTime,d=a.storeTime;console.log("hi");var T=t.useRef(null);t.useImperativeHandle(c,function(){return T.current});var f=r.useThinkingSteps({orchestratorAndAgentsMessages:p,isStreamEnd:u,finalTime:g,thinkingStartTime:l,streamEndTime:m,storeTime:d}),w=f.viewType,S=f.accordionOpen,h=f.openSteps,j=f.showMoreMap,x=f.contentRefs,A=f.currentStep,k=f.currentContent,v=f.wmwLabel,q=f.toggleStep,M=f.toggleExpanded,b=f.toggleAccordion,C=f.setAccordionOpen;return n.jsxs("div",e.__assign({className:"w-full mx-auto mb-2",ref:T},{children:["thinking"===w&&n.jsx(o.WorkingIndicator,{startTime:l}),"steps"===w&&A&&n.jsx(s.StepDetailView,{currentStep:A,currentContent:k,accordionOpen:S,onToggleAccordion:function(){return C(function(e){return!e})}}),"watchmework"===w&&n.jsx(i.AgentStepsView,{messages:p,wmwLabel:v,accordionOpen:S,openSteps:h,showMoreMap:j,onToggleAccordion:b,onToggleStep:q,onToggleExpanded:M,contentRefs:x})]}))});exports.default=a;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../../tslib/tslib.es6.mjs.js"),t=require("react/jsx-runtime"),n=require("react"),o=require("./Components/Usethinkingsteps.js"),r=require("./Components/WorkingIndicator.js"),i=require("./Components/StepDetailView.js"),s=require("./Components/AgentStepsView.js");function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=a(n),u=n.forwardRef(function(a,l){var u,c,d=a.orchestratorAndAgentsMessages,p=a.isStreamEnd,m=a.finalTimeTaken,g=a.thinkingStartTime,S=a.streamEndTime,f=a.storeTime,v=a.customStyles,w=n.useRef(null);n.useImperativeHandle(l,function(){return w.current});var T=o.useThinkingSteps({orchestratorAndAgentsMessages:d,isStreamEnd:p,finalTime:m,thinkingStartTime:g,streamEndTime:S,storeTime:f}),h=T.viewType,j=T.accordionOpen,x=T.openSteps,A=T.showMoreMap,b=T.contentRefs,k=T.currentStep,y=T.currentContent,M=T.wmwLabel,q=T.toggleStep,C=T.toggleExpanded,E=T.toggleAccordion,D=T.setAccordionOpen;return t.jsxs("div",e.__assign({className:"w-full mx-auto mb-2",style:null==v?void 0:v.container,ref:w},{children:["thinking"===h&&t.jsx(r.WorkingIndicator,{startTime:g}),"steps"===h&&k&&t.jsx(i.StepDetailView,{currentStep:k,currentContent:y,accordionOpen:j,onToggleAccordion:function(){D(function(e){return!e})},bodyMaxHeight:null===(u=null==v?void 0:v.stepDetail)||void 0===u?void 0:u.bodyMaxHeight,chevronSize:null===(c=null==v?void 0:v.stepDetail)||void 0===c?void 0:c.chevronSize,customStyles:null==v?void 0:v.stepDetail}),"watchmework"===h&&t.jsx(s.AgentStepsView,{messages:d,wmwLabel:M,accordionOpen:j,openSteps:x,showMoreMap:A,onToggleAccordion:E,onToggleStep:q,onToggleExpanded:C,contentRefs:b,customStyles:null==v?void 0:v.agentSteps},"wmw")]}))}),c=l.default.memo(u);exports.default=c;
2
2
  //# sourceMappingURL=WatchMeWork.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"WatchMeWork.js","sources":["../../../../../../../../node_modules/@e-llm-studio/watch-me-work/dist/features/WatchMeWork/WatchMeWork.js"],"sourcesContent":["import{__assign as e}from\"tslib\";import{jsxs as t,jsx as n}from\"react/jsx-runtime\";import{forwardRef as o,useRef as r,useImperativeHandle as i}from\"react\";import{useThinkingSteps as s}from\"./Components/Usethinkingsteps.js\";import{WorkingIndicator as m}from\"./Components/WorkingIndicator.js\";import{StepDetailView as a}from\"./Components/StepDetailView.js\";import{AgentStepsView as c}from\"./Components/AgentStepsView.js\";var p=o(function(o,p){var g=o.orchestratorAndAgentsMessages,l=o.isStreamEnd,d=o.finalTimeTaken,f=o.thinkingStartTime,u=o.streamEndTime,T=o.storeTime;console.log(\"hi\");var w=r(null);i(p,function(){return w.current});var S=s({orchestratorAndAgentsMessages:g,isStreamEnd:l,finalTime:d,thinkingStartTime:f,streamEndTime:u,storeTime:T}),h=S.viewType,A=S.accordionOpen,k=S.openSteps,v=S.showMoreMap,C=S.contentRefs,E=S.currentStep,M=S.currentContent,j=S.wmwLabel,x=S.toggleStep,b=S.toggleExpanded,O=S.toggleAccordion,L=S.setAccordionOpen;return t(\"div\",e({className:\"w-full mx-auto mb-2\",ref:w},{children:[\"thinking\"===h&&n(m,{startTime:f}),\"steps\"===h&&E&&n(a,{currentStep:E,currentContent:M,accordionOpen:A,onToggleAccordion:function(){return L(function(e){return!e})}}),\"watchmework\"===h&&n(c,{messages:g,wmwLabel:j,accordionOpen:A,openSteps:k,showMoreMap:v,onToggleAccordion:O,onToggleStep:x,onToggleExpanded:b,contentRefs:C})]}))});export{p as default};\n//# sourceMappingURL=WatchMeWork.js.map\n"],"names":["p","o","forwardRef","g","orchestratorAndAgentsMessages","l","isStreamEnd","d","finalTimeTaken","f","thinkingStartTime","u","streamEndTime","T","storeTime","console","log","w","r","i","current","S","s","useThinkingSteps","finalTime","h","viewType","A","accordionOpen","k","openSteps","v","showMoreMap","C","contentRefs","E","currentStep","M","currentContent","j","wmwLabel","x","toggleStep","b","toggleExpanded","O","toggleAccordion","L","setAccordionOpen","t","e","className","ref","children","n","m","startTime","a","onToggleAccordion","c","AgentStepsView","messages","onToggleStep","onToggleExpanded"],"mappings":"iWAAuaA,EAAEC,EAACC,WAAC,SAASD,EAAED,GAAG,IAAIG,EAAEF,EAA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eWork.js"],"sourcesContent":["import{__assign as e}from\"tslib\";import{jsxs as t,jsx as o}from\"react/jsx-runtime\";import n,{forwardRef as r,useRef as i,useImperativeHandle as s}from\"react\";import{useThinkingSteps as m}from\"./Components/Usethinkingsteps.js\";import{WorkingIndicator as a}from\"./Components/WorkingIndicator.js\";import{StepDetailView as l}from\"./Components/StepDetailView.js\";import{AgentStepsView as c}from\"./Components/AgentStepsView.js\";var p=r(function(n,r){var p,d,g=n.orchestratorAndAgentsMessages,u=n.isStreamEnd,f=n.finalTimeTaken,S=n.thinkingStartTime,v=n.streamEndTime,T=n.storeTime,h=n.customStyles,w=i(null);s(r,function(){return w.current});var A=m({orchestratorAndAgentsMessages:g,isStreamEnd:u,finalTime:f,thinkingStartTime:S,streamEndTime:v,storeTime:T}),M=A.viewType,k=A.accordionOpen,x=A.openSteps,y=A.showMoreMap,b=A.contentRefs,C=A.currentStep,E=A.currentContent,j=A.wmwLabel,D=A.toggleStep,O=A.toggleExpanded,z=A.toggleAccordion,H=A.setAccordionOpen;return t(\"div\",e({className:\"w-full mx-auto mb-2\",style:null==h?void 0:h.container,ref:w},{children:[\"thinking\"===M&&o(a,{startTime:S}),\"steps\"===M&&C&&o(l,{currentStep:C,currentContent:E,accordionOpen:k,onToggleAccordion:function(){H(function(e){return!e})},bodyMaxHeight:null===(p=null==h?void 0:h.stepDetail)||void 0===p?void 0:p.bodyMaxHeight,chevronSize:null===(d=null==h?void 0:h.stepDetail)||void 0===d?void 0:d.chevronSize,customStyles:null==h?void 0:h.stepDetail}),\"watchmework\"===M&&o(c,{messages:g,wmwLabel:j,accordionOpen:k,openSteps:x,showMoreMap:y,onToggleAccordion:z,onToggleStep:D,onToggleExpanded:O,contentRefs:b,customStyles:null==h?void 0:h.agentSteps},\"wmw\")]}))}),d=n.memo(p);export{d as default};\n//# sourceMappingURL=WatchMeWork.js.map\n"],"names":["p","r","forwardRef","n","d","g","orchestratorAndAgentsMessages","u","isStreamEnd","f","finalTimeTaken","S","thinkingStartTime","v","streamEndTime","T","storeTime","h","customStyles","w","i","useRef","s","useImperativeHandle","current","A","m","useThinkingSteps","finalTime","M","viewType","k","accordionOpen","x","openSteps","y","showMoreMap","b","contentRefs","C","currentStep","E","currentContent","j","wmwLabel","D","toggleStep","O","toggleExpanded","z","toggleAccordion","H","setAccordionOpen","t","e","__assign","className","style","container","ref","children","o","a","startTime","jsx","l","onToggleAccordion","bodyMaxHeight","stepDetail","chevronSize","c","messages","onToggleStep","onToggleExpanded","agentSteps","memo"],"mappings":"obAA0aA,EAAEC,EAACC,WAAC,SAASC,EAAEF,GAAG,IAAID,EAAEI,EAAEC,EAAEF,EAAEG,8BAA8BC,EAAEJ,EAAEK,YAAYC,EAAEN,EAAEO,eAAeC,EAAER,EAAES,kBAAkBC,EAAEV,EAAEW,cAAcC,EAAEZ,EAAEa,UAAUC,EAAEd,EAAEe,aAAaC,EAAEC,EAACC,OAAC,MAAMC,EAACC,oBAACtB,EAAE,WAAW,OAAOkB,EAAEK,OAAO,GAAG,IAAIC,EAAEC,EAACC,iBAAC,CAACrB,8BAA8BD,EAAEG,YAAYD,EAAEqB,UAAUnB,EAAEG,kBAAkBD,EAAEG,cAAcD,EAAEG,UAAUD,IAAIc,EAAEJ,EAAEK,SAASC,EAAEN,EAAEO,cAAcC,EAAER,EAAES,UAAUC,EAAEV,EAAEW,YAAYC,EAAEZ,EAAEa,YAAYC,EAAEd,EAAEe,YAAYC,EAAEhB,EAAEiB,eAAeC,EAAElB,EAAEmB,SAASC,EAAEpB,EAAEqB,WAAWC,EAAEtB,EAAEuB,eAAeC,EAAExB,EAAEyB,gBAAgBC,EAAE1B,EAAE2B,iBAAiB,OAAOC,OAAE,MAAMC,EAACC,SAAC,CAACC,UAAU,sBAAsBC,MAAM,MAAMxC,OAAO,EAAEA,EAAEyC,UAAUC,IAAIxC,GAAG,CAACyC,SAAS,CAAC,aAAa/B,GAAGgC,EAAAA,IAAEC,EAAAA,iBAAE,CAACC,UAAUpD,IAAI,UAAUkB,GAAGU,GAAGsB,EAACG,IAACC,iBAAE,CAACzB,YAAYD,EAAEG,eAAeD,EAAET,cAAcD,EAAEmC,kBAAkB,WAAWf,EAAE,SAASG,GAAG,OAAOA,CAAC,EAAE,EAAEa,cAAc,QAAQnE,EAAE,MAAMiB,OAAO,EAAEA,EAAEmD,kBAAkB,IAAIpE,OAAO,EAAEA,EAAEmE,cAAcE,YAAY,QAAQjE,EAAE,MAAMa,OAAO,EAAEA,EAAEmD,kBAAkB,IAAIhE,OAAO,EAAEA,EAAEiE,YAAYnD,aAAa,MAAMD,OAAO,EAAEA,EAAEmD,aAAa,gBAAgBvC,GAAGgC,EAAAA,IAAES,EAAAA,eAAE,CAACC,SAASlE,EAAEuC,SAASD,EAAEX,cAAcD,EAAEG,UAAUD,EAAEG,YAAYD,EAAE+B,kBAAkBjB,EAAEuB,aAAa3B,EAAE4B,iBAAiB1B,EAAET,YAAYD,EAAEnB,aAAa,MAAMD,OAAO,EAAEA,EAAEyD,YAAY,UAAU,GAAGtE,EAAED,EAAC,QAACwE,KAAK3E"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(e){for(var t,r=0,c=0,o=e.length;o>=4;++c,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(c)|(255&e.charCodeAt(++c))<<8|(255&e.charCodeAt(++c))<<16|(255&e.charCodeAt(++c))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(c+2))<<16;case 2:r^=(255&e.charCodeAt(c+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(c)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)};
2
+ //# sourceMappingURL=emotion-hash.esm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"emotion-hash.esm.js","sources":["../../../../../../../../../node_modules/@emotion/serialize/node_modules/@emotion/hash/dist/emotion-hash.esm.js"],"sourcesContent":["/* eslint-disable */\n// Inspired by https://github.com/garycourt/murmurhash-js\n// Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86\nfunction murmur2(str) {\n // 'm' and 'r' are mixing constants generated offline.\n // They're not really 'magic', they just happen to work well.\n // const m = 0x5bd1e995;\n // const r = 24;\n // Initialize the hash\n var h = 0; // Mix 4 bytes at a time into the hash\n\n var k,\n i = 0,\n len = str.length;\n\n for (; len >= 4; ++i, len -= 4) {\n k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;\n k =\n /* Math.imul(k, m): */\n (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16);\n k ^=\n /* k >>> r: */\n k >>> 24;\n h =\n /* Math.imul(k, m): */\n (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n } // Handle the last few bytes of the input array\n\n\n switch (len) {\n case 3:\n h ^= (str.charCodeAt(i + 2) & 0xff) << 16;\n\n case 2:\n h ^= (str.charCodeAt(i + 1) & 0xff) << 8;\n\n case 1:\n h ^= str.charCodeAt(i) & 0xff;\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n } // Do a few final mixes of the hash to ensure the last few\n // bytes are well-incorporated.\n\n\n h ^= h >>> 13;\n h =\n /* Math.imul(h, m): */\n (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);\n return ((h ^ h >>> 15) >>> 0).toString(36);\n}\n\nexport { murmur2 as default };\n"],"names":["str","k","h","i","len","length","charCodeAt","toString"],"mappings":"oFAGA,SAAiBA,GAYf,IANA,IAEIC,EAFAC,EAAI,EAGJC,EAAI,EACJC,EAAMJ,EAAIK,OAEPD,GAAO,IAAKD,EAAGC,GAAO,EAE3BH,EAEe,YAAV,OAHLA,EAAwB,IAApBD,EAAIM,WAAWH,IAAmC,IAAtBH,EAAIM,aAAaH,KAAc,GAA2B,IAAtBH,EAAIM,aAAaH,KAAc,IAA4B,IAAtBH,EAAIM,aAAaH,KAAc,MAG9F,OAAZF,IAAM,KAAgB,IAIpDC,EAEe,YAAV,OALLD,GAEAA,IAAM,MAGoC,OAAZA,IAAM,KAAgB,IAErC,YAAV,MAAJC,IAAyC,OAAZA,IAAM,KAAgB,IAItD,OAAQE,GACN,KAAK,EACHF,IAA8B,IAAxBF,EAAIM,WAAWH,EAAI,KAAc,GAEzC,KAAK,EACHD,IAA8B,IAAxBF,EAAIM,WAAWH,EAAI,KAAc,EAEzC,KAAK,EAEHD,EAEe,YAAV,OAHLA,GAAyB,IAApBF,EAAIM,WAAWH,MAGsB,OAAZD,IAAM,KAAgB,IASxD,SAHAA,EAEe,YAAV,OAHLA,GAAKA,IAAM,MAG+B,OAAZA,IAAM,KAAgB,KACvCA,IAAM,MAAQ,GAAGK,SAAS,GACzC"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.parse=function(e){const t=[],r=String(e||"");let n=r.indexOf(","),s=0,i=!1;for(;!i;){-1===n&&(n=r.length,i=!0);const e=r.slice(s,n).trim();!e&&i||t.push(e),s=n+1,n=r.indexOf(",",s)}return t};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../node_modules/hast-util-from-parse5/node_modules/comma-separated-tokens/index.js"],"sourcesContent":["/**\n * @typedef Options\n * Configuration for `stringify`.\n * @property {boolean} [padLeft=true]\n * Whether to pad a space before a token.\n * @property {boolean} [padRight=false]\n * Whether to pad a space after a token.\n */\n\n/**\n * @typedef {Options} StringifyOptions\n * Please use `StringifyOptions` instead.\n */\n\n/**\n * Parse comma-separated tokens to an array.\n *\n * @param {string} value\n * Comma-separated tokens.\n * @returns {Array<string>}\n * List of tokens.\n */\nexport function parse(value) {\n /** @type {Array<string>} */\n const tokens = []\n const input = String(value || '')\n let index = input.indexOf(',')\n let start = 0\n /** @type {boolean} */\n let end = false\n\n while (!end) {\n if (index === -1) {\n index = input.length\n end = true\n }\n\n const token = input.slice(start, index).trim()\n\n if (token || !end) {\n tokens.push(token)\n }\n\n start = index + 1\n index = input.indexOf(',', start)\n }\n\n return tokens\n}\n\n/**\n * Serialize an array of strings or numbers to comma-separated tokens.\n *\n * @param {Array<string|number>} values\n * List of tokens.\n * @param {Options} [options]\n * Configuration for `stringify` (optional).\n * @returns {string}\n * Comma-separated tokens.\n */\nexport function stringify(values, options) {\n const settings = options || {}\n\n // Ensure the last empty entry is seen.\n const input = values[values.length - 1] === '' ? [...values, ''] : values\n\n return input\n .join(\n (settings.padRight ? ' ' : '') +\n ',' +\n (settings.padLeft === false ? '' : ' ')\n )\n .trim()\n}\n"],"names":["value","tokens","input","String","index","indexOf","start","end","length","token","slice","trim","push"],"mappings":"kFAsBO,SAAeA,GAEpB,MAAMC,EAAS,GACTC,EAAQC,OAAOH,GAAS,IAC9B,IAAII,EAAQF,EAAMG,QAAQ,KACtBC,EAAQ,EAERC,GAAM,EAEV,MAAQA,GAAK,EACI,IAAXH,IACFA,EAAQF,EAAMM,OACdD,GAAM,GAGR,MAAME,EAAQP,EAAMQ,MAAMJ,EAAOF,GAAOO,QAEpCF,GAAUF,GACZN,EAAOW,KAAKH,GAGdH,EAAQF,EAAQ,EAChBA,EAAQF,EAAMG,QAAQ,IAAKC,EAC5B,CAED,OAAOL,CACT"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.parse=function(t){const e=String(t||"").trim();return e?e.split(/[ \t\n\r\f]+/g):[]};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../node_modules/hast-util-from-parse5/node_modules/space-separated-tokens/index.js"],"sourcesContent":["/**\n * Parse space-separated tokens to an array of strings.\n *\n * @param {string} value\n * Space-separated tokens.\n * @returns {Array<string>}\n * List of tokens.\n */\nexport function parse(value) {\n const input = String(value || '').trim()\n return input ? input.split(/[ \\t\\n\\r\\f]+/g) : []\n}\n\n/**\n * Serialize an array of strings as space separated-tokens.\n *\n * @param {Array<string|number>} values\n * List of tokens.\n * @returns {string}\n * Space-separated tokens.\n */\nexport function stringify(values) {\n return values.join(' ').trim()\n}\n"],"names":["value","input","String","trim","split"],"mappings":"kFAQO,SAAeA,GACpB,MAAMC,EAAQC,OAAOF,GAAS,IAAIG,OAClC,OAAOF,EAAQA,EAAMG,MAAM,iBAAmB,EAChD"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e=o("end"),t=o("start");function o(e){return function(t){const o=t&&t.position&&t.position[e]||{};if("number"==typeof o.line&&o.line>0&&"number"==typeof o.column&&o.column>0)return{line:o.line,column:o.column,offset:"number"==typeof o.offset&&o.offset>-1?o.offset:void 0}}}exports.pointEnd=e,exports.pointStart=t;
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/hast-util-raw/node_modules/unist-util-position/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('unist').Node} Node\n * @typedef {import('unist').Point} Point\n * @typedef {import('unist').Position} Position\n */\n\n/**\n * @typedef NodeLike\n * @property {string} type\n * @property {PositionLike | null | undefined} [position]\n *\n * @typedef PositionLike\n * @property {PointLike | null | undefined} [start]\n * @property {PointLike | null | undefined} [end]\n *\n * @typedef PointLike\n * @property {number | null | undefined} [line]\n * @property {number | null | undefined} [column]\n * @property {number | null | undefined} [offset]\n */\n\n/**\n * Get the ending point of `node`.\n *\n * @param node\n * Node.\n * @returns\n * Point.\n */\nexport const pointEnd = point('end')\n\n/**\n * Get the starting point of `node`.\n *\n * @param node\n * Node.\n * @returns\n * Point.\n */\nexport const pointStart = point('start')\n\n/**\n * Get the positional info of `node`.\n *\n * @param {'end' | 'start'} type\n * Side.\n * @returns\n * Getter.\n */\nfunction point(type) {\n return point\n\n /**\n * Get the point info of `node` at a bound side.\n *\n * @param {Node | NodeLike | null | undefined} [node]\n * @returns {Point | undefined}\n */\n function point(node) {\n const point = (node && node.position && node.position[type]) || {}\n\n if (\n typeof point.line === 'number' &&\n point.line > 0 &&\n typeof point.column === 'number' &&\n point.column > 0\n ) {\n return {\n line: point.line,\n column: point.column,\n offset:\n typeof point.offset === 'number' && point.offset > -1\n ? point.offset\n : undefined\n }\n }\n }\n}\n\n/**\n * Get the positional info of `node`.\n *\n * @param {Node | NodeLike | null | undefined} [node]\n * Node.\n * @returns {Position | undefined}\n * Position.\n */\nexport function position(node) {\n const start = pointStart(node)\n const end = pointEnd(node)\n\n if (start && end) {\n return {start, end}\n }\n}\n"],"names":["pointEnd","point","pointStart","type","node","position","line","column","offset","undefined"],"mappings":"oEA6BY,MAACA,EAAWC,EAAM,OAUjBC,EAAaD,EAAM,SAUhC,SAASA,EAAME,GACb,OAQA,SAAeC,GACb,MAAMH,EAASG,GAAQA,EAAKC,UAAYD,EAAKC,SAASF,IAAU,CAAE,EAElE,GACwB,iBAAfF,EAAMK,MACbL,EAAMK,KAAO,GACW,iBAAjBL,EAAMM,QACbN,EAAMM,OAAS,EAEf,MAAO,CACLD,KAAML,EAAMK,KACZC,OAAQN,EAAMM,OACdC,OAC0B,iBAAjBP,EAAMO,QAAuBP,EAAMO,QAAU,EAChDP,EAAMO,YACNC,EAGX,CACH"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.stringify=function(t,e){const r=e||{};return(""===t[t.length-1]?[...t,""]:t).join((r.padRight?" ":"")+","+(!1===r.padLeft?"":" ")).trim()};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../node_modules/hast-util-to-parse5/node_modules/comma-separated-tokens/index.js"],"sourcesContent":["/**\n * @typedef Options\n * Configuration for `stringify`.\n * @property {boolean} [padLeft=true]\n * Whether to pad a space before a token.\n * @property {boolean} [padRight=false]\n * Whether to pad a space after a token.\n */\n\n/**\n * @typedef {Options} StringifyOptions\n * Please use `StringifyOptions` instead.\n */\n\n/**\n * Parse comma-separated tokens to an array.\n *\n * @param {string} value\n * Comma-separated tokens.\n * @returns {Array<string>}\n * List of tokens.\n */\nexport function parse(value) {\n /** @type {Array<string>} */\n const tokens = []\n const input = String(value || '')\n let index = input.indexOf(',')\n let start = 0\n /** @type {boolean} */\n let end = false\n\n while (!end) {\n if (index === -1) {\n index = input.length\n end = true\n }\n\n const token = input.slice(start, index).trim()\n\n if (token || !end) {\n tokens.push(token)\n }\n\n start = index + 1\n index = input.indexOf(',', start)\n }\n\n return tokens\n}\n\n/**\n * Serialize an array of strings or numbers to comma-separated tokens.\n *\n * @param {Array<string|number>} values\n * List of tokens.\n * @param {Options} [options]\n * Configuration for `stringify` (optional).\n * @returns {string}\n * Comma-separated tokens.\n */\nexport function stringify(values, options) {\n const settings = options || {}\n\n // Ensure the last empty entry is seen.\n const input = values[values.length - 1] === '' ? [...values, ''] : values\n\n return input\n .join(\n (settings.padRight ? ' ' : '') +\n ',' +\n (settings.padLeft === false ? '' : ' ')\n )\n .trim()\n}\n"],"names":["values","options","settings","length","join","padRight","padLeft","trim"],"mappings":"sFA4DO,SAAmBA,EAAQC,GAChC,MAAMC,EAAWD,GAAW,CAAE,EAK9B,OAF4C,KAA9BD,EAAOA,EAAOG,OAAS,GAAY,IAAIH,EAAQ,IAAMA,GAGhEI,MACEF,EAASG,SAAW,IAAM,IACzB,MACsB,IAArBH,EAASI,QAAoB,GAAK,MAEtCC,MACL"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.stringify=function(e){return e.join(" ").trim()};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../node_modules/hast-util-to-parse5/node_modules/space-separated-tokens/index.js"],"sourcesContent":["/**\n * Parse space-separated tokens to an array of strings.\n *\n * @param {string} value\n * Space-separated tokens.\n * @returns {Array<string>}\n * List of tokens.\n */\nexport function parse(value) {\n const input = String(value || '').trim()\n return input ? input.split(/[ \\t\\n\\r\\f]+/g) : []\n}\n\n/**\n * Serialize an array of strings as space separated-tokens.\n *\n * @param {Array<string|number>} values\n * List of tokens.\n * @returns {string}\n * Space-separated tokens.\n */\nexport function stringify(values) {\n return values.join(' ').trim()\n}\n"],"names":["values","join","trim"],"mappings":"sFAqBO,SAAmBA,GACxB,OAAOA,EAAOC,KAAK,KAAKC,MAC1B"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const t=function(e){if(null==e)return r;if("string"==typeof e)return function(t){return n(r);function r(n){return n&&n.type===t}}(e);if("object"==typeof e)return Array.isArray(e)?function(r){const e=[];let o=-1;for(;++o<r.length;)e[o]=t(r[o]);return n(u);function u(...t){let n=-1;for(;++n<e.length;)if(e[n].call(this,...t))return!0;return!1}}(e):function(t){return n(r);function r(n){let r;for(r in t)if(n[r]!==t[r])return!1;return!0}}(e);if("function"==typeof e)return n(e);throw new Error("Expected function, string, or object as test")};function n(t){return function(n,...r){return Boolean(n&&"object"==typeof n&&"type"in n&&Boolean(t.call(this,n,...r)))}}function r(){return!0}exports.convert=t;
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/mdast-util-definitions/node_modules/unist-util-is/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('unist').Node} Node\n * @typedef {import('unist').Parent} Parent\n */\n\n/**\n * @typedef {Record<string, unknown>} Props\n * @typedef {null | undefined | string | Props | TestFunctionAnything | Array<string | Props | TestFunctionAnything>} Test\n * Check for an arbitrary node, unaware of TypeScript inferral.\n *\n * @callback TestFunctionAnything\n * Check if a node passes a test, unaware of TypeScript inferral.\n * @param {unknown} this\n * The given context.\n * @param {Node} node\n * A node.\n * @param {number | null | undefined} [index]\n * The node’s position in its parent.\n * @param {Parent | null | undefined} [parent]\n * The node’s parent.\n * @returns {boolean | void}\n * Whether this node passes the test.\n */\n\n/**\n * @template {Node} Kind\n * Node type.\n * @typedef {Kind['type'] | Partial<Kind> | TestFunctionPredicate<Kind> | Array<Kind['type'] | Partial<Kind> | TestFunctionPredicate<Kind>>} PredicateTest\n * Check for a node that can be inferred by TypeScript.\n */\n\n/**\n * Check if a node passes a certain test.\n *\n * @template {Node} Kind\n * Node type.\n * @callback TestFunctionPredicate\n * Complex test function for a node that can be inferred by TypeScript.\n * @param {Node} node\n * A node.\n * @param {number | null | undefined} [index]\n * The node’s position in its parent.\n * @param {Parent | null | undefined} [parent]\n * The node’s parent.\n * @returns {node is Kind}\n * Whether this node passes the test.\n */\n\n/**\n * @callback AssertAnything\n * Check that an arbitrary value is a node, unaware of TypeScript inferral.\n * @param {unknown} [node]\n * Anything (typically a node).\n * @param {number | null | undefined} [index]\n * The node’s position in its parent.\n * @param {Parent | null | undefined} [parent]\n * The node’s parent.\n * @returns {boolean}\n * Whether this is a node and passes a test.\n */\n\n/**\n * Check if a node is a node and passes a certain node test.\n *\n * @template {Node} Kind\n * Node type.\n * @callback AssertPredicate\n * Check that an arbitrary value is a specific node, aware of TypeScript.\n * @param {unknown} [node]\n * Anything (typically a node).\n * @param {number | null | undefined} [index]\n * The node’s position in its parent.\n * @param {Parent | null | undefined} [parent]\n * The node’s parent.\n * @returns {node is Kind}\n * Whether this is a node and passes a test.\n */\n\n/**\n * Check if `node` is a `Node` and whether it passes the given test.\n *\n * @param node\n * Thing to check, typically `Node`.\n * @param test\n * A check for a specific node.\n * @param index\n * The node’s position in its parent.\n * @param parent\n * The node’s parent.\n * @returns\n * Whether `node` is a node and passes a test.\n */\nexport const is =\n /**\n * @type {(\n * (() => false) &\n * (<Kind extends Node = Node>(node: unknown, test: PredicateTest<Kind>, index: number, parent: Parent, context?: unknown) => node is Kind) &\n * (<Kind extends Node = Node>(node: unknown, test: PredicateTest<Kind>, index?: null | undefined, parent?: null | undefined, context?: unknown) => node is Kind) &\n * ((node: unknown, test: Test, index: number, parent: Parent, context?: unknown) => boolean) &\n * ((node: unknown, test?: Test, index?: null | undefined, parent?: null | undefined, context?: unknown) => boolean)\n * )}\n */\n (\n /**\n * @param {unknown} [node]\n * @param {Test} [test]\n * @param {number | null | undefined} [index]\n * @param {Parent | null | undefined} [parent]\n * @param {unknown} [context]\n * @returns {boolean}\n */\n // eslint-disable-next-line max-params\n function is(node, test, index, parent, context) {\n const check = convert(test)\n\n if (\n index !== undefined &&\n index !== null &&\n (typeof index !== 'number' ||\n index < 0 ||\n index === Number.POSITIVE_INFINITY)\n ) {\n throw new Error('Expected positive finite index')\n }\n\n if (\n parent !== undefined &&\n parent !== null &&\n (!is(parent) || !parent.children)\n ) {\n throw new Error('Expected parent node')\n }\n\n if (\n (parent === undefined || parent === null) !==\n (index === undefined || index === null)\n ) {\n throw new Error('Expected both parent and index')\n }\n\n // @ts-expect-error Looks like a node.\n return node && node.type && typeof node.type === 'string'\n ? Boolean(check.call(context, node, index, parent))\n : false\n }\n )\n\n/**\n * Generate an assertion from a test.\n *\n * Useful if you’re going to test many nodes, for example when creating a\n * utility where something else passes a compatible test.\n *\n * The created function is a bit faster because it expects valid input only:\n * a `node`, `index`, and `parent`.\n *\n * @param test\n * * when nullish, checks if `node` is a `Node`.\n * * when `string`, works like passing `(node) => node.type === test`.\n * * when `function` checks if function passed the node is true.\n * * when `object`, checks that all keys in test are in node, and that they have (strictly) equal values.\n * * when `array`, checks if any one of the subtests pass.\n * @returns\n * An assertion.\n */\nexport const convert =\n /**\n * @type {(\n * (<Kind extends Node>(test: PredicateTest<Kind>) => AssertPredicate<Kind>) &\n * ((test?: Test) => AssertAnything)\n * )}\n */\n (\n /**\n * @param {Test} [test]\n * @returns {AssertAnything}\n */\n function (test) {\n if (test === undefined || test === null) {\n return ok\n }\n\n if (typeof test === 'string') {\n return typeFactory(test)\n }\n\n if (typeof test === 'object') {\n return Array.isArray(test) ? anyFactory(test) : propsFactory(test)\n }\n\n if (typeof test === 'function') {\n return castFactory(test)\n }\n\n throw new Error('Expected function, string, or object as test')\n }\n )\n\n/**\n * @param {Array<string | Props | TestFunctionAnything>} tests\n * @returns {AssertAnything}\n */\nfunction anyFactory(tests) {\n /** @type {Array<AssertAnything>} */\n const checks = []\n let index = -1\n\n while (++index < tests.length) {\n checks[index] = convert(tests[index])\n }\n\n return castFactory(any)\n\n /**\n * @this {unknown}\n * @param {Array<unknown>} parameters\n * @returns {boolean}\n */\n function any(...parameters) {\n let index = -1\n\n while (++index < checks.length) {\n if (checks[index].call(this, ...parameters)) return true\n }\n\n return false\n }\n}\n\n/**\n * Turn an object into a test for a node with a certain fields.\n *\n * @param {Props} check\n * @returns {AssertAnything}\n */\nfunction propsFactory(check) {\n return castFactory(all)\n\n /**\n * @param {Node} node\n * @returns {boolean}\n */\n function all(node) {\n /** @type {string} */\n let key\n\n for (key in check) {\n // @ts-expect-error: hush, it sure works as an index.\n if (node[key] !== check[key]) return false\n }\n\n return true\n }\n}\n\n/**\n * Turn a string into a test for a node with a certain type.\n *\n * @param {string} check\n * @returns {AssertAnything}\n */\nfunction typeFactory(check) {\n return castFactory(type)\n\n /**\n * @param {Node} node\n */\n function type(node) {\n return node && node.type === check\n }\n}\n\n/**\n * Turn a custom test into a test for a node that passes that test.\n *\n * @param {TestFunctionAnything} check\n * @returns {AssertAnything}\n */\nfunction castFactory(check) {\n return assertion\n\n /**\n * @this {unknown}\n * @param {unknown} node\n * @param {Array<unknown>} parameters\n * @returns {boolean}\n */\n function assertion(node, ...parameters) {\n return Boolean(\n node &&\n typeof node === 'object' &&\n 'type' in node &&\n // @ts-expect-error: fine.\n Boolean(check.call(this, node, ...parameters))\n )\n }\n}\n\nfunction ok() {\n return true\n}\n"],"names":["convert","test","ok","check","castFactory","type","node","typeFactory","Array","isArray","tests","checks","index","length","any","parameters","call","this","anyFactory","all","key","propsFactory","Error","Boolean"],"mappings":"oEAqKY,MAACA,EAOb,SAKcC,GACR,GAAIA,QACF,OAAOC,EAGT,GAAoB,iBAATD,EACT,OA8ER,SAAqBE,GACnB,OAAOC,EAAYC,GAKnB,SAASA,EAAKC,GACZ,OAAOA,GAAQA,EAAKD,OAASF,CAC9B,CACH,CAvFeI,CAAYN,GAGrB,GAAoB,iBAATA,EACT,OAAOO,MAAMC,QAAQR,GAe7B,SAAoBS,GAElB,MAAMC,EAAS,GACf,IAAIC,GAAS,EAEb,OAASA,EAAQF,EAAMG,QACrBF,EAAOC,GAASZ,EAAQU,EAAME,IAGhC,OAAOR,EAAYU,GAOnB,SAASA,KAAOC,GACd,IAAIH,GAAS,EAEb,OAASA,EAAQD,EAAOE,QACtB,GAAIF,EAAOC,GAAOI,KAAKC,QAASF,GAAa,OAAO,EAGtD,OAAO,CACR,CACH,CAxCqCG,CAAWjB,GAgDhD,SAAsBE,GACpB,OAAOC,EAAYe,GAMnB,SAASA,EAAIb,GAEX,IAAIc,EAEJ,IAAKA,KAAOjB,EAEV,GAAIG,EAAKc,KAASjB,EAAMiB,GAAM,OAAO,EAGvC,OAAO,CACR,CACH,CAlEwDC,CAAapB,GAG/D,GAAoB,mBAATA,EACT,OAAOG,EAAYH,GAGrB,MAAM,IAAIqB,MAAM,+CAEnB,EAkFH,SAASlB,EAAYD,GACnB,OAQA,SAAmBG,KAASS,GAC1B,OAAOQ,QACLjB,GACkB,iBAATA,GACP,SAAUA,GAEViB,QAAQpB,EAAMa,KAAKC,KAAMX,KAASS,IAEvC,CACH,CAEA,SAASb,IACP,OAAO,CACT"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var t=require("../../unist-util-visit-parents/lib/index.js");exports.CONTINUE=t.CONTINUE,exports.EXIT=t.EXIT,exports.SKIP=t.SKIP,exports.visit=function(e,n,i,r){"function"==typeof n&&"function"!=typeof i&&(r=i,i=n,n=null),t.visitParents(e,n,(function(t,e){const n=e[e.length-1];return i(t,n?n.children.indexOf(t):null,n)}),r)};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/mdast-util-definitions/node_modules/unist-util-visit/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('unist').Node} Node\n * @typedef {import('unist').Parent} Parent\n * @typedef {import('unist-util-is').Test} Test\n * @typedef {import('unist-util-visit-parents').VisitorResult} VisitorResult\n */\n\n/**\n * Check if `Child` can be a child of `Ancestor`.\n *\n * Returns the ancestor when `Child` can be a child of `Ancestor`, or returns\n * `never`.\n *\n * @template {Node} Ancestor\n * Node type.\n * @template {Node} Child\n * Node type.\n * @typedef {(\n * Ancestor extends Parent\n * ? Child extends Ancestor['children'][number]\n * ? Ancestor\n * : never\n * : never\n * )} ParentsOf\n */\n\n/**\n * @template {Node} [Visited=Node]\n * Visited node type.\n * @template {Parent} [Ancestor=Parent]\n * Ancestor type.\n * @callback Visitor\n * Handle a node (matching `test`, if given).\n *\n * Visitors are free to transform `node`.\n * They can also transform `parent`.\n *\n * Replacing `node` itself, if `SKIP` is not returned, still causes its\n * descendants to be walked (which is a bug).\n *\n * When adding or removing previous siblings of `node` (or next siblings, in\n * case of reverse), the `Visitor` should return a new `Index` to specify the\n * sibling to traverse after `node` is traversed.\n * Adding or removing next siblings of `node` (or previous siblings, in case\n * of reverse) is handled as expected without needing to return a new `Index`.\n *\n * Removing the children property of `parent` still results in them being\n * traversed.\n * @param {Visited} node\n * Found node.\n * @param {Visited extends Node ? number | null : never} index\n * Index of `node` in `parent`.\n * @param {Ancestor extends Node ? Ancestor | null : never} parent\n * Parent of `node`.\n * @returns {VisitorResult}\n * What to do next.\n *\n * An `Index` is treated as a tuple of `[CONTINUE, Index]`.\n * An `Action` is treated as a tuple of `[Action]`.\n *\n * Passing a tuple back only makes sense if the `Action` is `SKIP`.\n * When the `Action` is `EXIT`, that action can be returned.\n * When the `Action` is `CONTINUE`, `Index` can be returned.\n */\n\n/**\n * Build a typed `Visitor` function from a node and all possible parents.\n *\n * It will infer which values are passed as `node` and which as `parent`.\n *\n * @template {Node} Visited\n * Node type.\n * @template {Parent} Ancestor\n * Parent type.\n * @typedef {Visitor<Visited, ParentsOf<Ancestor, Visited>>} BuildVisitorFromMatch\n */\n\n/**\n * Build a typed `Visitor` function from a list of descendants and a test.\n *\n * It will infer which values are passed as `node` and which as `parent`.\n *\n * @template {Node} Descendant\n * Node type.\n * @template {Test} Check\n * Test type.\n * @typedef {(\n * BuildVisitorFromMatch<\n * import('unist-util-visit-parents/complex-types.js').Matches<Descendant, Check>,\n * Extract<Descendant, Parent>\n * >\n * )} BuildVisitorFromDescendants\n */\n\n/**\n * Build a typed `Visitor` function from a tree and a test.\n *\n * It will infer which values are passed as `node` and which as `parent`.\n *\n * @template {Node} [Tree=Node]\n * Node type.\n * @template {Test} [Check=string]\n * Test type.\n * @typedef {(\n * BuildVisitorFromDescendants<\n * import('unist-util-visit-parents/complex-types.js').InclusiveDescendant<Tree>,\n * Check\n * >\n * )} BuildVisitor\n */\n\nimport {visitParents} from 'unist-util-visit-parents'\n\n/**\n * Visit nodes.\n *\n * This algorithm performs *depth-first* *tree traversal* in *preorder*\n * (**NLR**) or if `reverse` is given, in *reverse preorder* (**NRL**).\n *\n * You can choose for which nodes `visitor` is called by passing a `test`.\n * For complex tests, you should test yourself in `visitor`, as it will be\n * faster and will have improved type information.\n *\n * Walking the tree is an intensive task.\n * Make use of the return values of the visitor when possible.\n * Instead of walking a tree multiple times, walk it once, use `unist-util-is`\n * to check if a node matches, and then perform different operations.\n *\n * You can change the tree.\n * See `Visitor` for more info.\n *\n * @param tree\n * Tree to traverse.\n * @param test\n * `unist-util-is`-compatible test\n * @param visitor\n * Handle each node.\n * @param reverse\n * Traverse in reverse preorder (NRL) instead of the default preorder (NLR).\n * @returns\n * Nothing.\n */\nexport const visit =\n /**\n * @type {(\n * (<Tree extends Node, Check extends Test>(tree: Tree, test: Check, visitor: BuildVisitor<Tree, Check>, reverse?: boolean | null | undefined) => void) &\n * (<Tree extends Node>(tree: Tree, visitor: BuildVisitor<Tree>, reverse?: boolean | null | undefined) => void)\n * )}\n */\n (\n /**\n * @param {Node} tree\n * @param {Test} test\n * @param {Visitor} visitor\n * @param {boolean | null | undefined} [reverse]\n * @returns {void}\n */\n function (tree, test, visitor, reverse) {\n if (typeof test === 'function' && typeof visitor !== 'function') {\n reverse = visitor\n visitor = test\n test = null\n }\n\n visitParents(tree, test, overload, reverse)\n\n /**\n * @param {Node} node\n * @param {Array<Parent>} parents\n */\n function overload(node, parents) {\n const parent = parents[parents.length - 1]\n return visitor(\n node,\n parent ? parent.children.indexOf(node) : null,\n parent\n )\n }\n }\n )\n\nexport {CONTINUE, EXIT, SKIP} from 'unist-util-visit-parents'\n"],"names":["tree","test","visitor","reverse","visitParents","node","parents","parent","length","children","indexOf"],"mappings":"mNAqJA,SAQcA,EAAMC,EAAMC,EAASC,GACT,mBAATF,GAA0C,mBAAZC,IACvCC,EAAUD,EACVA,EAAUD,EACVA,EAAO,MAGTG,EAAAA,aAAaJ,EAAMC,GAMnB,SAAkBI,EAAMC,GACtB,MAAMC,EAASD,EAAQA,EAAQE,OAAS,GACxC,OAAON,EACLG,EACAE,EAASA,EAAOE,SAASC,QAAQL,GAAQ,KACzCE,EAEH,GAbkCJ,EAezC"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.color=function(e){return e};
2
+ //# sourceMappingURL=color.browser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"color.browser.js","sources":["../../../../../../../node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/color.browser.js"],"sourcesContent":["/**\n * @param {string} d\n * @returns {string}\n */\nexport function color(d) {\n return d\n}\n"],"names":["d"],"mappings":"kFAIO,SAAeA,GACpB,OAAOA,CACT"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../unist-util-is/lib/index.js"),t=require("./color.browser.js");const r=!0,n=!1,o="skip";exports.CONTINUE=r,exports.EXIT=n,exports.SKIP=o,exports.visitParents=function(i,u,s,c){"function"==typeof u&&"function"!=typeof s&&(c=s,s=u,u=null);const f=e.convert(u),l=c?-1:1;!function e(i,p,a){const y=i&&"object"==typeof i?i:{};if("string"==typeof y.type){const e="string"==typeof y.tagName?y.tagName:"string"==typeof y.name?y.name:void 0;Object.defineProperty(d,"name",{value:"node ("+t.color(i.type+(e?"<"+e+">":""))+")"})}return d;function d(){let t,y,d,g=[];if((!u||f(i,p,a[a.length-1]||null))&&(g=function(e){if(Array.isArray(e))return e;if("number"==typeof e)return[r,e];return[e]}(s(i,a)),g[0]===n))return g;if(i.children&&g[0]!==o)for(y=(c?i.children.length:-1)+l,d=a.concat(i);y>-1&&y<i.children.length;){if(t=e(i.children[y],y,d)(),t[0]===n)return t;y="number"==typeof t[1]?t[1]:y+l}return g}}(i,void 0,[])()};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/index.js"],"sourcesContent":["/**\n * @typedef {import('unist').Node} Node\n * @typedef {import('unist').Parent} Parent\n * @typedef {import('unist-util-is').Test} Test\n */\n\n/**\n * @typedef {boolean | 'skip'} Action\n * Union of the action types.\n *\n * @typedef {number} Index\n * Move to the sibling at `index` next (after node itself is completely\n * traversed).\n *\n * Useful if mutating the tree, such as removing the node the visitor is\n * currently on, or any of its previous siblings.\n * Results less than 0 or greater than or equal to `children.length` stop\n * traversing the parent.\n *\n * @typedef {[(Action | null | undefined | void)?, (Index | null | undefined)?]} ActionTuple\n * List with one or two values, the first an action, the second an index.\n *\n * @typedef {Action | ActionTuple | Index | null | undefined | void} VisitorResult\n * Any value that can be returned from a visitor.\n */\n\n/**\n * @template {Node} [Visited=Node]\n * Visited node type.\n * @template {Parent} [Ancestor=Parent]\n * Ancestor type.\n * @callback Visitor\n * Handle a node (matching `test`, if given).\n *\n * Visitors are free to transform `node`.\n * They can also transform the parent of node (the last of `ancestors`).\n *\n * Replacing `node` itself, if `SKIP` is not returned, still causes its\n * descendants to be walked (which is a bug).\n *\n * When adding or removing previous siblings of `node` (or next siblings, in\n * case of reverse), the `Visitor` should return a new `Index` to specify the\n * sibling to traverse after `node` is traversed.\n * Adding or removing next siblings of `node` (or previous siblings, in case\n * of reverse) is handled as expected without needing to return a new `Index`.\n *\n * Removing the children property of an ancestor still results in them being\n * traversed.\n * @param {Visited} node\n * Found node.\n * @param {Array<Ancestor>} ancestors\n * Ancestors of `node`.\n * @returns {VisitorResult}\n * What to do next.\n *\n * An `Index` is treated as a tuple of `[CONTINUE, Index]`.\n * An `Action` is treated as a tuple of `[Action]`.\n *\n * Passing a tuple back only makes sense if the `Action` is `SKIP`.\n * When the `Action` is `EXIT`, that action can be returned.\n * When the `Action` is `CONTINUE`, `Index` can be returned.\n */\n\n/**\n * @template {Node} [Tree=Node]\n * Tree type.\n * @template {Test} [Check=string]\n * Test type.\n * @typedef {Visitor<import('./complex-types.js').Matches<import('./complex-types.js').InclusiveDescendant<Tree>, Check>, Extract<import('./complex-types.js').InclusiveDescendant<Tree>, Parent>>} BuildVisitor\n * Build a typed `Visitor` function from a tree and a test.\n *\n * It will infer which values are passed as `node` and which as `parents`.\n */\n\nimport {convert} from 'unist-util-is'\nimport {color} from './color.js'\n\n/**\n * Continue traversing as normal.\n */\nexport const CONTINUE = true\n\n/**\n * Stop traversing immediately.\n */\nexport const EXIT = false\n\n/**\n * Do not traverse this node’s children.\n */\nexport const SKIP = 'skip'\n\n/**\n * Visit nodes, with ancestral information.\n *\n * This algorithm performs *depth-first* *tree traversal* in *preorder*\n * (**NLR**) or if `reverse` is given, in *reverse preorder* (**NRL**).\n *\n * You can choose for which nodes `visitor` is called by passing a `test`.\n * For complex tests, you should test yourself in `visitor`, as it will be\n * faster and will have improved type information.\n *\n * Walking the tree is an intensive task.\n * Make use of the return values of the visitor when possible.\n * Instead of walking a tree multiple times, walk it once, use `unist-util-is`\n * to check if a node matches, and then perform different operations.\n *\n * You can change the tree.\n * See `Visitor` for more info.\n *\n * @param tree\n * Tree to traverse.\n * @param test\n * `unist-util-is`-compatible test\n * @param visitor\n * Handle each node.\n * @param reverse\n * Traverse in reverse preorder (NRL) instead of the default preorder (NLR).\n * @returns\n * Nothing.\n */\nexport const visitParents =\n /**\n * @type {(\n * (<Tree extends Node, Check extends Test>(tree: Tree, test: Check, visitor: BuildVisitor<Tree, Check>, reverse?: boolean | null | undefined) => void) &\n * (<Tree extends Node>(tree: Tree, visitor: BuildVisitor<Tree>, reverse?: boolean | null | undefined) => void)\n * )}\n */\n (\n /**\n * @param {Node} tree\n * @param {Test} test\n * @param {Visitor<Node>} visitor\n * @param {boolean | null | undefined} [reverse]\n * @returns {void}\n */\n function (tree, test, visitor, reverse) {\n if (typeof test === 'function' && typeof visitor !== 'function') {\n reverse = visitor\n // @ts-expect-error no visitor given, so `visitor` is test.\n visitor = test\n test = null\n }\n\n const is = convert(test)\n const step = reverse ? -1 : 1\n\n factory(tree, undefined, [])()\n\n /**\n * @param {Node} node\n * @param {number | undefined} index\n * @param {Array<Parent>} parents\n */\n function factory(node, index, parents) {\n /** @type {Record<string, unknown>} */\n // @ts-expect-error: hush\n const value = node && typeof node === 'object' ? node : {}\n\n if (typeof value.type === 'string') {\n const name =\n // `hast`\n typeof value.tagName === 'string'\n ? value.tagName\n : // `xast`\n typeof value.name === 'string'\n ? value.name\n : undefined\n\n Object.defineProperty(visit, 'name', {\n value:\n 'node (' + color(node.type + (name ? '<' + name + '>' : '')) + ')'\n })\n }\n\n return visit\n\n function visit() {\n /** @type {ActionTuple} */\n let result = []\n /** @type {ActionTuple} */\n let subresult\n /** @type {number} */\n let offset\n /** @type {Array<Parent>} */\n let grandparents\n\n if (!test || is(node, index, parents[parents.length - 1] || null)) {\n result = toResult(visitor(node, parents))\n\n if (result[0] === EXIT) {\n return result\n }\n }\n\n // @ts-expect-error looks like a parent.\n if (node.children && result[0] !== SKIP) {\n // @ts-expect-error looks like a parent.\n offset = (reverse ? node.children.length : -1) + step\n // @ts-expect-error looks like a parent.\n grandparents = parents.concat(node)\n\n // @ts-expect-error looks like a parent.\n while (offset > -1 && offset < node.children.length) {\n // @ts-expect-error looks like a parent.\n subresult = factory(node.children[offset], offset, grandparents)()\n\n if (subresult[0] === EXIT) {\n return subresult\n }\n\n offset =\n typeof subresult[1] === 'number' ? subresult[1] : offset + step\n }\n }\n\n return result\n }\n }\n }\n )\n\n/**\n * Turn a return value into a clean result.\n *\n * @param {VisitorResult} value\n * Valid return values from visitors.\n * @returns {ActionTuple}\n * Clean result.\n */\nfunction toResult(value) {\n if (Array.isArray(value)) {\n return value\n }\n\n if (typeof value === 'number') {\n return [CONTINUE, value]\n }\n\n return [value]\n}\n"],"names":["CONTINUE","EXIT","SKIP","tree","test","visitor","reverse","is","convert","step","factory","node","index","parents","value","type","name","tagName","undefined","Object","defineProperty","visit","color","subresult","offset","grandparents","result","length","Array","isArray","toResult","children","concat"],"mappings":"sJAgFY,MAACA,GAAW,EAKXC,GAAO,EAKPC,EAAO,6EAsCpB,SAQcC,EAAMC,EAAMC,EAASC,GACT,mBAATF,GAA0C,mBAAZC,IACvCC,EAAUD,EAEVA,EAAUD,EACVA,EAAO,MAGT,MAAMG,EAAKC,EAAOA,QAACJ,GACbK,EAAOH,GAAW,EAAI,GAS5B,SAASI,EAAQC,EAAMC,EAAOC,GAG5B,MAAMC,EAAQH,GAAwB,iBAATA,EAAoBA,EAAO,CAAE,EAE1D,GAA0B,iBAAfG,EAAMC,KAAmB,CAClC,MAAMC,EAEqB,iBAAlBF,EAAMG,QACTH,EAAMG,QAEc,iBAAfH,EAAME,KACXF,EAAME,UACNE,EAENC,OAAOC,eAAeC,EAAO,OAAQ,CACnCP,MACE,SAAWQ,EAAKA,MAACX,EAAKI,MAAQC,EAAO,IAAMA,EAAO,IAAM,KAAO,KAEpE,CAED,OAAOK,EAEP,SAASA,IAEP,IAEIE,EAEAC,EAEAC,EANAC,EAAS,GAQb,KAAKtB,GAAQG,EAAGI,EAAMC,EAAOC,EAAQA,EAAQc,OAAS,IAAM,SAC1DD,EA0CZ,SAAkBZ,GAChB,GAAIc,MAAMC,QAAQf,GAChB,OAAOA,EAGT,GAAqB,iBAAVA,EACT,MAAO,CAACd,EAAUc,GAGpB,MAAO,CAACA,EACV,CApDqBgB,CAASzB,EAAQM,EAAME,IAE5Ba,EAAO,KAAOzB,GAChB,OAAOyB,EAKX,GAAIf,EAAKoB,UAAYL,EAAO,KAAOxB,EAOjC,IALAsB,GAAUlB,EAAUK,EAAKoB,SAASJ,QAAU,GAAKlB,EAEjDgB,EAAeZ,EAAQmB,OAAOrB,GAGvBa,GAAU,GAAKA,EAASb,EAAKoB,SAASJ,QAAQ,CAInD,GAFAJ,EAAYb,EAAQC,EAAKoB,SAASP,GAASA,EAAQC,EAAvCf,GAERa,EAAU,KAAOtB,EACnB,OAAOsB,EAGTC,EAC0B,iBAAjBD,EAAU,GAAkBA,EAAU,GAAKC,EAASf,CAC9D,CAGH,OAAOiB,CACR,CACF,CAvEDhB,CAAQP,OAAMe,EAAW,GAAzBR,EAyEH"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../node_modules/micromark-util-sanitize-uri/index.js");exports.footer=function(t){const o=[];let n=-1;for(;++n<t.footnoteOrder.length;){const r=t.footnoteById[t.footnoteOrder[n]];if(!r)continue;const a=t.all(r),l=String(r.identifier).toUpperCase(),i=e.normalizeUri(l.toLowerCase());let p=0;const s=[];for(;++p<=t.footnoteCounts[l];){const e={type:"element",tagName:"a",properties:{href:"#"+t.clobberPrefix+"fnref-"+i+(p>1?"-"+p:""),dataFootnoteBackref:!0,className:["data-footnote-backref"],ariaLabel:t.footnoteBackLabel},children:[{type:"text",value:"↩"}]};p>1&&e.children.push({type:"element",tagName:"sup",children:[{type:"text",value:String(p)}]}),s.length>0&&s.push({type:"text",value:" "}),s.push(e)}const c=a[a.length-1];if(c&&"element"===c.type&&"p"===c.tagName){const e=c.children[c.children.length-1];e&&"text"===e.type?e.value+=" ":c.children.push({type:"text",value:" "}),c.children.push(...s)}else a.push(...s);const f={type:"element",tagName:"li",properties:{id:t.clobberPrefix+"fn-"+i},children:t.wrap(a,!0)};t.patch(r,f),o.push(f)}if(0!==o.length)return{type:"element",tagName:"section",properties:{dataFootnotes:!0,className:["footnotes"]},children:[{type:"element",tagName:t.footnoteLabelTagName,properties:{...JSON.parse(JSON.stringify(t.footnoteLabelProperties)),id:"footnote-label"},children:[{type:"text",value:t.footnoteLabel}]},{type:"text",value:"\n"},{type:"element",tagName:"ol",properties:{},children:t.wrap(o,!0)},{type:"text",value:"\n"}]}};
2
+ //# sourceMappingURL=footer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"footer.js","sources":["../../../../../node_modules/mdast-util-to-hast/lib/footer.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').ElementContent} ElementContent\n *\n * @typedef {import('./state.js').State} State\n */\n\nimport {normalizeUri} from 'micromark-util-sanitize-uri'\n\n/**\n * Generate a hast footer for called footnote definitions.\n *\n * @param {State} state\n * Info passed around.\n * @returns {Element | undefined}\n * `section` element or `undefined`.\n */\nexport function footer(state) {\n /** @type {Array<ElementContent>} */\n const listItems = []\n let index = -1\n\n while (++index < state.footnoteOrder.length) {\n const def = state.footnoteById[state.footnoteOrder[index]]\n\n if (!def) {\n continue\n }\n\n const content = state.all(def)\n const id = String(def.identifier).toUpperCase()\n const safeId = normalizeUri(id.toLowerCase())\n let referenceIndex = 0\n /** @type {Array<ElementContent>} */\n const backReferences = []\n\n while (++referenceIndex <= state.footnoteCounts[id]) {\n /** @type {Element} */\n const backReference = {\n type: 'element',\n tagName: 'a',\n properties: {\n href:\n '#' +\n state.clobberPrefix +\n 'fnref-' +\n safeId +\n (referenceIndex > 1 ? '-' + referenceIndex : ''),\n dataFootnoteBackref: true,\n className: ['data-footnote-backref'],\n ariaLabel: state.footnoteBackLabel\n },\n children: [{type: 'text', value: '↩'}]\n }\n\n if (referenceIndex > 1) {\n backReference.children.push({\n type: 'element',\n tagName: 'sup',\n children: [{type: 'text', value: String(referenceIndex)}]\n })\n }\n\n if (backReferences.length > 0) {\n backReferences.push({type: 'text', value: ' '})\n }\n\n backReferences.push(backReference)\n }\n\n const tail = content[content.length - 1]\n\n if (tail && tail.type === 'element' && tail.tagName === 'p') {\n const tailTail = tail.children[tail.children.length - 1]\n if (tailTail && tailTail.type === 'text') {\n tailTail.value += ' '\n } else {\n tail.children.push({type: 'text', value: ' '})\n }\n\n tail.children.push(...backReferences)\n } else {\n content.push(...backReferences)\n }\n\n /** @type {Element} */\n const listItem = {\n type: 'element',\n tagName: 'li',\n properties: {id: state.clobberPrefix + 'fn-' + safeId},\n children: state.wrap(content, true)\n }\n\n state.patch(def, listItem)\n\n listItems.push(listItem)\n }\n\n if (listItems.length === 0) {\n return\n }\n\n return {\n type: 'element',\n tagName: 'section',\n properties: {dataFootnotes: true, className: ['footnotes']},\n children: [\n {\n type: 'element',\n tagName: state.footnoteLabelTagName,\n properties: {\n // To do: use structured clone.\n ...JSON.parse(JSON.stringify(state.footnoteLabelProperties)),\n id: 'footnote-label'\n },\n children: [{type: 'text', value: state.footnoteLabel}]\n },\n {type: 'text', value: '\\n'},\n {\n type: 'element',\n tagName: 'ol',\n properties: {},\n children: state.wrap(listItems, true)\n },\n {type: 'text', value: '\\n'}\n ]\n }\n}\n"],"names":["state","listItems","index","footnoteOrder","length","def","footnoteById","content","all","id","String","identifier","toUpperCase","safeId","normalizeUri","toLowerCase","referenceIndex","backReferences","footnoteCounts","backReference","type","tagName","properties","href","clobberPrefix","dataFootnoteBackref","className","ariaLabel","footnoteBackLabel","children","value","push","tail","tailTail","listItem","wrap","patch","dataFootnotes","footnoteLabelTagName","JSON","parse","stringify","footnoteLabelProperties","footnoteLabel"],"mappings":"yJAiBO,SAAgBA,GAErB,MAAMC,EAAY,GAClB,IAAIC,GAAS,EAEb,OAASA,EAAQF,EAAMG,cAAcC,QAAQ,CAC3C,MAAMC,EAAML,EAAMM,aAAaN,EAAMG,cAAcD,IAEnD,IAAKG,EACH,SAGF,MAAME,EAAUP,EAAMQ,IAAIH,GACpBI,EAAKC,OAAOL,EAAIM,YAAYC,cAC5BC,EAASC,EAAAA,aAAaL,EAAGM,eAC/B,IAAIC,EAAiB,EAErB,MAAMC,EAAiB,GAEvB,OAASD,GAAkBhB,EAAMkB,eAAeT,IAAK,CAEnD,MAAMU,EAAgB,CACpBC,KAAM,UACNC,QAAS,IACTC,WAAY,CACVC,KACE,IACAvB,EAAMwB,cACN,SACAX,GACCG,EAAiB,EAAI,IAAMA,EAAiB,IAC/CS,qBAAqB,EACrBC,UAAW,CAAC,yBACZC,UAAW3B,EAAM4B,mBAEnBC,SAAU,CAAC,CAACT,KAAM,OAAQU,MAAO,OAG/Bd,EAAiB,GACnBG,EAAcU,SAASE,KAAK,CAC1BX,KAAM,UACNC,QAAS,MACTQ,SAAU,CAAC,CAACT,KAAM,OAAQU,MAAOpB,OAAOM,OAIxCC,EAAeb,OAAS,GAC1Ba,EAAec,KAAK,CAACX,KAAM,OAAQU,MAAO,MAG5Cb,EAAec,KAAKZ,EACrB,CAED,MAAMa,EAAOzB,EAAQA,EAAQH,OAAS,GAEtC,GAAI4B,GAAsB,YAAdA,EAAKZ,MAAuC,MAAjBY,EAAKX,QAAiB,CAC3D,MAAMY,EAAWD,EAAKH,SAASG,EAAKH,SAASzB,OAAS,GAClD6B,GAA8B,SAAlBA,EAASb,KACvBa,EAASH,OAAS,IAElBE,EAAKH,SAASE,KAAK,CAACX,KAAM,OAAQU,MAAO,MAG3CE,EAAKH,SAASE,QAAQd,EAC5B,MACMV,EAAQwB,QAAQd,GAIlB,MAAMiB,EAAW,CACfd,KAAM,UACNC,QAAS,KACTC,WAAY,CAACb,GAAIT,EAAMwB,cAAgB,MAAQX,GAC/CgB,SAAU7B,EAAMmC,KAAK5B,GAAS,IAGhCP,EAAMoC,MAAM/B,EAAK6B,GAEjBjC,EAAU8B,KAAKG,EAChB,CAED,GAAyB,IAArBjC,EAAUG,OAId,MAAO,CACLgB,KAAM,UACNC,QAAS,UACTC,WAAY,CAACe,eAAe,EAAMX,UAAW,CAAC,cAC9CG,SAAU,CACR,CACET,KAAM,UACNC,QAASrB,EAAMsC,qBACfhB,WAAY,IAEPiB,KAAKC,MAAMD,KAAKE,UAAUzC,EAAM0C,0BACnCjC,GAAI,kBAENoB,SAAU,CAAC,CAACT,KAAM,OAAQU,MAAO9B,EAAM2C,iBAEzC,CAACvB,KAAM,OAAQU,MAAO,MACtB,CACEV,KAAM,UACNC,QAAS,KACTC,WAAY,CAAE,EACdO,SAAU7B,EAAMmC,KAAKlC,GAAW,IAElC,CAACmB,KAAM,OAAQU,MAAO,OAG5B"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.blockquote=function(e,t){const o={type:"element",tagName:"blockquote",properties:{},children:e.wrap(e.all(t),!0)};return e.patch(t,o),e.applyData(t,o)};
2
+ //# sourceMappingURL=blockquote.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"blockquote.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/blockquote.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('mdast').Blockquote} Blockquote\n * @typedef {import('../state.js').State} State\n */\n\n/**\n * Turn an mdast `blockquote` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Blockquote} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function blockquote(state, node) {\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'blockquote',\n properties: {},\n children: state.wrap(state.all(node), true)\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["state","node","result","type","tagName","properties","children","wrap","all","patch","applyData"],"mappings":"uFAgBO,SAAoBA,EAAOC,GAEhC,MAAMC,EAAS,CACbC,KAAM,UACNC,QAAS,aACTC,WAAY,CAAE,EACdC,SAAUN,EAAMO,KAAKP,EAAMQ,IAAIP,IAAO,IAGxC,OADAD,EAAMS,MAAMR,EAAMC,GACXF,EAAMU,UAAUT,EAAMC,EAC/B"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.hardBreak=function(e,t){const r={type:"element",tagName:"br",properties:{},children:[]};return e.patch(t,r),[e.applyData(t,r),{type:"text",value:"\n"}]};
2
+ //# sourceMappingURL=break.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"break.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/break.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Text} Text\n * @typedef {import('mdast').Break} Break\n * @typedef {import('../state.js').State} State\n */\n\n/**\n * Turn an mdast `break` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Break} node\n * mdast node.\n * @returns {Array<Element | Text>}\n * hast element content.\n */\nexport function hardBreak(state, node) {\n /** @type {Element} */\n const result = {type: 'element', tagName: 'br', properties: {}, children: []}\n state.patch(node, result)\n return [state.applyData(node, result), {type: 'text', value: '\\n'}]\n}\n"],"names":["state","node","result","type","tagName","properties","children","patch","applyData","value"],"mappings":"sFAiBO,SAAmBA,EAAOC,GAE/B,MAAMC,EAAS,CAACC,KAAM,UAAWC,QAAS,KAAMC,WAAY,CAAA,EAAIC,SAAU,IAE1E,OADAN,EAAMO,MAAMN,EAAMC,GACX,CAACF,EAAMQ,UAAUP,EAAMC,GAAS,CAACC,KAAM,OAAQM,MAAO,MAC/D"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.code=function(e,t){const a=t.value?t.value+"\n":"",l=t.lang?t.lang.match(/^[^ \t]+(?=[ \t]|$)/):null,p={};l&&(p.className=["language-"+l]);let n={type:"element",tagName:"code",properties:p,children:[{type:"text",value:a}]};return t.meta&&(n.data={meta:t.meta}),e.patch(t,n),n=e.applyData(t,n),n={type:"element",tagName:"pre",properties:{},children:[n]},e.patch(t,n),n};
2
+ //# sourceMappingURL=code.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"code.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/code.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Properties} Properties\n * @typedef {import('mdast').Code} Code\n * @typedef {import('../state.js').State} State\n\n */\n\n/**\n * Turn an mdast `code` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Code} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function code(state, node) {\n const value = node.value ? node.value + '\\n' : ''\n // To do: next major, use `node.lang` w/o regex, the splitting’s been going\n // on for years in remark now.\n const lang = node.lang ? node.lang.match(/^[^ \\t]+(?=[ \\t]|$)/) : null\n /** @type {Properties} */\n const properties = {}\n\n if (lang) {\n properties.className = ['language-' + lang]\n }\n\n // Create `<code>`.\n /** @type {Element} */\n let result = {\n type: 'element',\n tagName: 'code',\n properties,\n children: [{type: 'text', value}]\n }\n\n if (node.meta) {\n result.data = {meta: node.meta}\n }\n\n state.patch(node, result)\n result = state.applyData(node, result)\n\n // Create `<pre>`.\n result = {type: 'element', tagName: 'pre', properties: {}, children: [result]}\n state.patch(node, result)\n return result\n}\n"],"names":["state","node","value","lang","match","properties","className","result","type","tagName","children","meta","data","patch","applyData"],"mappings":"iFAkBO,SAAcA,EAAOC,GAC1B,MAAMC,EAAQD,EAAKC,MAAQD,EAAKC,MAAQ,KAAO,GAGzCC,EAAOF,EAAKE,KAAOF,EAAKE,KAAKC,MAAM,uBAAyB,KAE5DC,EAAa,CAAE,EAEjBF,IACFE,EAAWC,UAAY,CAAC,YAAcH,IAKxC,IAAII,EAAS,CACXC,KAAM,UACNC,QAAS,OACTJ,aACAK,SAAU,CAAC,CAACF,KAAM,OAAQN,WAa5B,OAVID,EAAKU,OACPJ,EAAOK,KAAO,CAACD,KAAMV,EAAKU,OAG5BX,EAAMa,MAAMZ,EAAMM,GAClBA,EAASP,EAAMc,UAAUb,EAAMM,GAG/BA,EAAS,CAACC,KAAM,UAAWC,QAAS,MAAOJ,WAAY,GAAIK,SAAU,CAACH,IACtEP,EAAMa,MAAMZ,EAAMM,GACXA,CACT"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.strikethrough=function(e,t){const r={type:"element",tagName:"del",properties:{},children:e.all(t)};return e.patch(t,r),e.applyData(t,r)};
2
+ //# sourceMappingURL=delete.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"delete.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/delete.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('mdast').Delete} Delete\n * @typedef {import('../state.js').State} State\n\n */\n\n/**\n * Turn an mdast `delete` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Delete} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function strikethrough(state, node) {\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'del',\n properties: {},\n children: state.all(node)\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["state","node","result","type","tagName","properties","children","all","patch","applyData"],"mappings":"0FAiBO,SAAuBA,EAAOC,GAEnC,MAAMC,EAAS,CACbC,KAAM,UACNC,QAAS,MACTC,WAAY,CAAE,EACdC,SAAUN,EAAMO,IAAIN,IAGtB,OADAD,EAAMQ,MAAMP,EAAMC,GACXF,EAAMS,UAAUR,EAAMC,EAC/B"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.emphasis=function(e,t){const p={type:"element",tagName:"em",properties:{},children:e.all(t)};return e.patch(t,p),e.applyData(t,p)};
2
+ //# sourceMappingURL=emphasis.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"emphasis.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/emphasis.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('mdast').Emphasis} Emphasis\n * @typedef {import('../state.js').State} State\n */\n\n/**\n * Turn an mdast `emphasis` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Emphasis} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function emphasis(state, node) {\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'em',\n properties: {},\n children: state.all(node)\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["state","node","result","type","tagName","properties","children","all","patch","applyData"],"mappings":"qFAgBO,SAAkBA,EAAOC,GAE9B,MAAMC,EAAS,CACbC,KAAM,UACNC,QAAS,KACTC,WAAY,CAAE,EACdC,SAAUN,EAAMO,IAAIN,IAGtB,OADAD,EAAMQ,MAAMP,EAAMC,GACXF,EAAMS,UAAUR,EAAMC,EAC/B"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../node_modules/micromark-util-sanitize-uri/index.js");exports.footnoteReference=function(t,o){const r=String(o.identifier).toUpperCase(),n=e.normalizeUri(r.toLowerCase()),i=t.footnoteOrder.indexOf(r);let a;-1===i?(t.footnoteOrder.push(r),t.footnoteCounts[r]=1,a=t.footnoteOrder.length):(t.footnoteCounts[r]++,a=i+1);const s=t.footnoteCounts[r],f={type:"element",tagName:"a",properties:{href:"#"+t.clobberPrefix+"fn-"+n,id:t.clobberPrefix+"fnref-"+n+(s>1?"-"+s:""),dataFootnoteRef:!0,ariaDescribedBy:["footnote-label"]},children:[{type:"text",value:String(a)}]};t.patch(o,f);const p={type:"element",tagName:"sup",properties:{},children:[f]};return t.patch(o,p),t.applyData(o,p)};
2
+ //# sourceMappingURL=footnote-reference.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"footnote-reference.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js"],"sourcesContent":["/**\n * @typedef {import('mdast').FootnoteReference} FootnoteReference\n * @typedef {import('hast').Element} Element\n * @typedef {import('../state.js').State} State\n */\n\nimport {normalizeUri} from 'micromark-util-sanitize-uri'\n\n/**\n * Turn an mdast `footnoteReference` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {FootnoteReference} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function footnoteReference(state, node) {\n const id = String(node.identifier).toUpperCase()\n const safeId = normalizeUri(id.toLowerCase())\n const index = state.footnoteOrder.indexOf(id)\n /** @type {number} */\n let counter\n\n if (index === -1) {\n state.footnoteOrder.push(id)\n state.footnoteCounts[id] = 1\n counter = state.footnoteOrder.length\n } else {\n state.footnoteCounts[id]++\n counter = index + 1\n }\n\n const reuseCounter = state.footnoteCounts[id]\n\n /** @type {Element} */\n const link = {\n type: 'element',\n tagName: 'a',\n properties: {\n href: '#' + state.clobberPrefix + 'fn-' + safeId,\n id:\n state.clobberPrefix +\n 'fnref-' +\n safeId +\n (reuseCounter > 1 ? '-' + reuseCounter : ''),\n dataFootnoteRef: true,\n ariaDescribedBy: ['footnote-label']\n },\n children: [{type: 'text', value: String(counter)}]\n }\n state.patch(node, link)\n\n /** @type {Element} */\n const sup = {\n type: 'element',\n tagName: 'sup',\n properties: {},\n children: [link]\n }\n state.patch(node, sup)\n return state.applyData(node, sup)\n}\n"],"names":["state","node","id","String","identifier","toUpperCase","safeId","normalizeUri","toLowerCase","index","footnoteOrder","indexOf","counter","push","footnoteCounts","length","reuseCounter","link","type","tagName","properties","href","clobberPrefix","dataFootnoteRef","ariaDescribedBy","children","value","patch","sup","applyData"],"mappings":"uKAkBO,SAA2BA,EAAOC,GACvC,MAAMC,EAAKC,OAAOF,EAAKG,YAAYC,cAC7BC,EAASC,EAAAA,aAAaL,EAAGM,eACzBC,EAAQT,EAAMU,cAAcC,QAAQT,GAE1C,IAAIU,GAEW,IAAXH,GACFT,EAAMU,cAAcG,KAAKX,GACzBF,EAAMc,eAAeZ,GAAM,EAC3BU,EAAUZ,EAAMU,cAAcK,SAE9Bf,EAAMc,eAAeZ,KACrBU,EAAUH,EAAQ,GAGpB,MAAMO,EAAehB,EAAMc,eAAeZ,GAGpCe,EAAO,CACXC,KAAM,UACNC,QAAS,IACTC,WAAY,CACVC,KAAM,IAAMrB,EAAMsB,cAAgB,MAAQhB,EAC1CJ,GACEF,EAAMsB,cACN,SACAhB,GACCU,EAAe,EAAI,IAAMA,EAAe,IAC3CO,iBAAiB,EACjBC,gBAAiB,CAAC,mBAEpBC,SAAU,CAAC,CAACP,KAAM,OAAQQ,MAAOvB,OAAOS,MAE1CZ,EAAM2B,MAAM1B,EAAMgB,GAGlB,MAAMW,EAAM,CACVV,KAAM,UACNC,QAAS,MACTC,WAAY,CAAE,EACdK,SAAU,CAACR,IAGb,OADAjB,EAAM2B,MAAM1B,EAAM2B,GACX5B,EAAM6B,UAAU5B,EAAM2B,EAC/B"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./footnote-reference.js");exports.footnote=function(o,t){const n=o.footnoteById;let i=1;for(;i in n;)i++;const r=String(i);return n[r]={type:"footnoteDefinition",identifier:r,children:[{type:"paragraph",children:t.children}],position:t.position},e.footnoteReference(o,{type:"footnoteReference",identifier:r,position:t.position})};
2
+ //# sourceMappingURL=footnote.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"footnote.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/footnote.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('mdast').Footnote} Footnote\n * @typedef {import('../state.js').State} State\n */\n\nimport {footnoteReference} from './footnote-reference.js'\n\n// To do: when both:\n// * <https://github.com/micromark/micromark-extension-footnote>\n// * <https://github.com/syntax-tree/mdast-util-footnote>\n// …are archived, remove this (also from mdast).\n// These inline notes are not used in GFM.\n\n/**\n * Turn an mdast `footnote` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Footnote} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function footnote(state, node) {\n const footnoteById = state.footnoteById\n let no = 1\n\n while (no in footnoteById) no++\n\n const identifier = String(no)\n\n footnoteById[identifier] = {\n type: 'footnoteDefinition',\n identifier,\n children: [{type: 'paragraph', children: node.children}],\n position: node.position\n }\n\n return footnoteReference(state, {\n type: 'footnoteReference',\n identifier,\n position: node.position\n })\n}\n"],"names":["state","node","footnoteById","no","identifier","String","type","children","position","footnoteReference"],"mappings":"8HAwBO,SAAkBA,EAAOC,GAC9B,MAAMC,EAAeF,EAAME,aAC3B,IAAIC,EAAK,EAET,KAAOA,KAAMD,GAAcC,IAE3B,MAAMC,EAAaC,OAAOF,GAS1B,OAPAD,EAAaE,GAAc,CACzBE,KAAM,qBACNF,aACAG,SAAU,CAAC,CAACD,KAAM,YAAaC,SAAUN,EAAKM,WAC9CC,SAAUP,EAAKO,UAGVC,EAAAA,kBAAkBT,EAAO,CAC9BM,KAAM,oBACNF,aACAI,SAAUP,EAAKO,UAEnB"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.heading=function(e,t){const p={type:"element",tagName:"h"+t.depth,properties:{},children:e.all(t)};return e.patch(t,p),e.applyData(t,p)};
2
+ //# sourceMappingURL=heading.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"heading.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/heading.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('mdast').Heading} Heading\n * @typedef {import('../state.js').State} State\n */\n\n/**\n * Turn an mdast `heading` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Heading} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function heading(state, node) {\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'h' + node.depth,\n properties: {},\n children: state.all(node)\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["state","node","result","type","tagName","depth","properties","children","all","patch","applyData"],"mappings":"oFAgBO,SAAiBA,EAAOC,GAE7B,MAAMC,EAAS,CACbC,KAAM,UACNC,QAAS,IAAMH,EAAKI,MACpBC,WAAY,CAAE,EACdC,SAAUP,EAAMQ,IAAIP,IAGtB,OADAD,EAAMS,MAAMR,EAAMC,GACXF,EAAMU,UAAUT,EAAMC,EAC/B"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.html=function(e,t){if(e.dangerous){const r={type:"raw",value:t.value};return e.patch(t,r),e.applyData(t,r)}return null};
2
+ //# sourceMappingURL=html.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"html.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/html.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('mdast').HTML} Html\n * @typedef {import('../state.js').State} State\n * @typedef {import('../../index.js').Raw} Raw\n */\n\n/**\n * Turn an mdast `html` node into hast (`raw` node in dangerous mode, otherwise\n * nothing).\n *\n * @param {State} state\n * Info passed around.\n * @param {Html} node\n * mdast node.\n * @returns {Raw | Element | null}\n * hast node.\n */\nexport function html(state, node) {\n if (state.dangerous) {\n /** @type {Raw} */\n const result = {type: 'raw', value: node.value}\n state.patch(node, result)\n return state.applyData(node, result)\n }\n\n // To do: next major: return `undefined`.\n return null\n}\n"],"names":["state","node","dangerous","result","type","value","patch","applyData"],"mappings":"iFAkBO,SAAcA,EAAOC,GAC1B,GAAID,EAAME,UAAW,CAEnB,MAAMC,EAAS,CAACC,KAAM,MAAOC,MAAOJ,EAAKI,OAEzC,OADAL,EAAMM,MAAML,EAAME,GACXH,EAAMO,UAAUN,EAAME,EAC9B,CAGD,OAAO,IACT"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../node_modules/micromark-util-sanitize-uri/index.js"),t=require("../revert.js");exports.imageReference=function(r,i){const n=r.definition(i.identifier);if(!n)return t.revert(r,i);const l={src:e.normalizeUri(n.url||""),alt:i.alt};null!==n.title&&void 0!==n.title&&(l.title=n.title);const o={type:"element",tagName:"img",properties:l,children:[]};return r.patch(i,o),r.applyData(i,o)};
2
+ //# sourceMappingURL=image-reference.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image-reference.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/image-reference.js"],"sourcesContent":["/**\n * @typedef {import('hast').ElementContent} ElementContent\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Properties} Properties\n * @typedef {import('mdast').ImageReference} ImageReference\n * @typedef {import('../state.js').State} State\n */\n\nimport {normalizeUri} from 'micromark-util-sanitize-uri'\nimport {revert} from '../revert.js'\n\n/**\n * Turn an mdast `imageReference` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {ImageReference} node\n * mdast node.\n * @returns {ElementContent | Array<ElementContent>}\n * hast node.\n */\nexport function imageReference(state, node) {\n const def = state.definition(node.identifier)\n\n if (!def) {\n return revert(state, node)\n }\n\n /** @type {Properties} */\n const properties = {src: normalizeUri(def.url || ''), alt: node.alt}\n\n if (def.title !== null && def.title !== undefined) {\n properties.title = def.title\n }\n\n /** @type {Element} */\n const result = {type: 'element', tagName: 'img', properties, children: []}\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["state","node","def","definition","identifier","revert","properties","src","normalizeUri","url","alt","title","undefined","result","type","tagName","children","patch","applyData"],"mappings":"8LAqBO,SAAwBA,EAAOC,GACpC,MAAMC,EAAMF,EAAMG,WAAWF,EAAKG,YAElC,IAAKF,EACH,OAAOG,EAAMA,OAACL,EAAOC,GAIvB,MAAMK,EAAa,CAACC,IAAKC,EAAAA,aAAaN,EAAIO,KAAO,IAAKC,IAAKT,EAAKS,KAE9C,OAAdR,EAAIS,YAAgCC,IAAdV,EAAIS,QAC5BL,EAAWK,MAAQT,EAAIS,OAIzB,MAAME,EAAS,CAACC,KAAM,UAAWC,QAAS,MAAOT,aAAYU,SAAU,IAEvE,OADAhB,EAAMiB,MAAMhB,EAAMY,GACXb,EAAMkB,UAAUjB,EAAMY,EAC/B"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../node_modules/micromark-util-sanitize-uri/index.js");exports.image=function(t,i){const l={src:e.normalizeUri(i.url)};null!==i.alt&&void 0!==i.alt&&(l.alt=i.alt),null!==i.title&&void 0!==i.title&&(l.title=i.title);const r={type:"element",tagName:"img",properties:l,children:[]};return t.patch(i,r),t.applyData(i,r)};
2
+ //# sourceMappingURL=image.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"image.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/image.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Properties} Properties\n * @typedef {import('mdast').Image} Image\n * @typedef {import('../state.js').State} State\n */\n\nimport {normalizeUri} from 'micromark-util-sanitize-uri'\n\n/**\n * Turn an mdast `image` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {Image} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function image(state, node) {\n /** @type {Properties} */\n const properties = {src: normalizeUri(node.url)}\n\n if (node.alt !== null && node.alt !== undefined) {\n properties.alt = node.alt\n }\n\n if (node.title !== null && node.title !== undefined) {\n properties.title = node.title\n }\n\n /** @type {Element} */\n const result = {type: 'element', tagName: 'img', properties, children: []}\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["state","node","properties","src","normalizeUri","url","alt","undefined","title","result","type","tagName","children","patch","applyData"],"mappings":"2JAmBO,SAAeA,EAAOC,GAE3B,MAAMC,EAAa,CAACC,IAAKC,EAAYA,aAACH,EAAKI,MAE1B,OAAbJ,EAAKK,UAA6BC,IAAbN,EAAKK,MAC5BJ,EAAWI,IAAML,EAAKK,KAGL,OAAfL,EAAKO,YAAiCD,IAAfN,EAAKO,QAC9BN,EAAWM,MAAQP,EAAKO,OAI1B,MAAMC,EAAS,CAACC,KAAM,UAAWC,QAAS,MAAOT,aAAYU,SAAU,IAEvE,OADAZ,EAAMa,MAAMZ,EAAMQ,GACXT,EAAMc,UAAUb,EAAMQ,EAC/B"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./blockquote.js"),r=require("./break.js"),t=require("./code.js"),i=require("./delete.js"),o=require("./emphasis.js"),s=require("./footnote-reference.js"),l=require("./footnote.js"),n=require("./heading.js"),a=require("./html.js"),u=require("./image-reference.js"),q=require("./image.js"),j=require("./inline-code.js"),c=require("./link-reference.js"),f=require("./link.js"),m=require("./list-item.js"),h=require("./list.js"),b=require("./paragraph.js"),d=require("./root.js"),g=require("./strong.js"),k=require("./table.js"),p=require("./table-row.js"),R=require("./table-cell.js"),x=require("./text.js"),C=require("./thematic-break.js");const w={blockquote:e.blockquote,break:r.hardBreak,code:t.code,delete:i.strikethrough,emphasis:o.emphasis,footnoteReference:s.footnoteReference,footnote:l.footnote,heading:n.heading,html:a.html,imageReference:u.imageReference,image:q.image,inlineCode:j.inlineCode,linkReference:c.linkReference,link:f.link,listItem:m.listItem,list:h.list,paragraph:b.paragraph,root:d.root,strong:g.strong,table:k.table,tableCell:R.tableCell,tableRow:p.tableRow,text:x.text,thematicBreak:C.thematicBreak,toml:B,yaml:B,definition:B,footnoteDefinition:B};function B(){return null}exports.handlers=w;
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/index.js"],"sourcesContent":["import {blockquote} from './blockquote.js'\nimport {hardBreak} from './break.js'\nimport {code} from './code.js'\nimport {strikethrough} from './delete.js'\nimport {emphasis} from './emphasis.js'\nimport {footnoteReference} from './footnote-reference.js'\nimport {footnote} from './footnote.js'\nimport {heading} from './heading.js'\nimport {html} from './html.js'\nimport {imageReference} from './image-reference.js'\nimport {image} from './image.js'\nimport {inlineCode} from './inline-code.js'\nimport {linkReference} from './link-reference.js'\nimport {link} from './link.js'\nimport {listItem} from './list-item.js'\nimport {list} from './list.js'\nimport {paragraph} from './paragraph.js'\nimport {root} from './root.js'\nimport {strong} from './strong.js'\nimport {table} from './table.js'\nimport {tableRow} from './table-row.js'\nimport {tableCell} from './table-cell.js'\nimport {text} from './text.js'\nimport {thematicBreak} from './thematic-break.js'\n\n/**\n * Default handlers for nodes.\n */\nexport const handlers = {\n blockquote,\n break: hardBreak,\n code,\n delete: strikethrough,\n emphasis,\n footnoteReference,\n footnote,\n heading,\n html,\n imageReference,\n image,\n inlineCode,\n linkReference,\n link,\n listItem,\n list,\n paragraph,\n root,\n strong,\n table,\n tableCell,\n tableRow,\n text,\n thematicBreak,\n toml: ignore,\n yaml: ignore,\n definition: ignore,\n footnoteDefinition: ignore\n}\n\n// Return nothing for nodes that are ignored.\nfunction ignore() {\n // To do: next major: return `undefined`.\n return null\n}\n"],"names":["handlers","blockquote","break","hardBreak","code","delete","strikethrough","emphasis","footnoteReference","footnote","heading","html","imageReference","image","inlineCode","linkReference","link","listItem","list","paragraph","root","strong","table","tableCell","tableRow","text","thematicBreak","toml","ignore","yaml","definition","footnoteDefinition"],"mappings":"itBA4BY,MAACA,EAAW,CACxBC,WAAEA,EAAUA,WACVC,MAAOC,EAASA,UAClBC,KAAEA,EAAIA,KACJC,OAAQC,EAAaA,cACvBC,SAAEA,EAAQA,SACVC,kBAAEA,EAAiBA,kBACnBC,SAAEA,EAAQA,SACVC,QAAEA,EAAOA,QACTC,KAAEA,EAAIA,KACNC,eAAEA,EAAcA,eAChBC,MAAEA,EAAKA,MACPC,WAAEA,EAAUA,WACZC,cAAEA,EAAaA,cACfC,KAAEA,EAAIA,KACNC,SAAEA,EAAQA,SACVC,KAAEA,EAAIA,KACNC,UAAEA,EAASA,UACXC,KAAEA,EAAIA,KACNC,OAAEA,EAAMA,OACRC,MAAEA,EAAKA,MACPC,UAAEA,EAASA,UACXC,SAAEA,EAAQA,SACVC,KAAEA,EAAIA,KACNC,cAAEA,EAAaA,cACbC,KAAMC,EACNC,KAAMD,EACNE,WAAYF,EACZG,mBAAoBH,GAItB,SAASA,IAEP,OAAO,IACT"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.inlineCode=function(e,t){const r={type:"text",value:t.value.replace(/\r?\n|\r/g," ")};e.patch(t,r);const p={type:"element",tagName:"code",properties:{},children:[r]};return e.patch(t,p),e.applyData(t,p)};
2
+ //# sourceMappingURL=inline-code.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inline-code.js","sources":["../../../../../../node_modules/mdast-util-to-hast/lib/handlers/inline-code.js"],"sourcesContent":["/**\n * @typedef {import('hast').Element} Element\n * @typedef {import('hast').Text} Text\n * @typedef {import('mdast').InlineCode} InlineCode\n * @typedef {import('../state.js').State} State\n */\n\n/**\n * Turn an mdast `inlineCode` node into hast.\n *\n * @param {State} state\n * Info passed around.\n * @param {InlineCode} node\n * mdast node.\n * @returns {Element}\n * hast node.\n */\nexport function inlineCode(state, node) {\n /** @type {Text} */\n const text = {type: 'text', value: node.value.replace(/\\r?\\n|\\r/g, ' ')}\n state.patch(node, text)\n\n /** @type {Element} */\n const result = {\n type: 'element',\n tagName: 'code',\n properties: {},\n children: [text]\n }\n state.patch(node, result)\n return state.applyData(node, result)\n}\n"],"names":["state","node","text","type","value","replace","patch","result","tagName","properties","children","applyData"],"mappings":"uFAiBO,SAAoBA,EAAOC,GAEhC,MAAMC,EAAO,CAACC,KAAM,OAAQC,MAAOH,EAAKG,MAAMC,QAAQ,YAAa,MACnEL,EAAMM,MAAML,EAAMC,GAGlB,MAAMK,EAAS,CACbJ,KAAM,UACNK,QAAS,OACTC,WAAY,CAAE,EACdC,SAAU,CAACR,IAGb,OADAF,EAAMM,MAAML,EAAMM,GACXP,EAAMW,UAAUV,EAAMM,EAC/B"}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../node_modules/micromark-util-sanitize-uri/index.js"),t=require("../revert.js");exports.linkReference=function(r,i){const n=r.definition(i.identifier);if(!n)return t.revert(r,i);const l={href:e.normalizeUri(n.url||"")};null!==n.title&&void 0!==n.title&&(l.title=n.title);const o={type:"element",tagName:"a",properties:l,children:r.all(i)};return r.patch(i,o),r.applyData(i,o)};
2
+ //# sourceMappingURL=link-reference.js.map