@e-llm-studio/instant-learning 0.0.222 → 0.0.225

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 (814) hide show
  1. package/dist/cjs/features/DocumentLearning/_components/ChatComponent.css.js +2 -0
  2. package/dist/cjs/features/DocumentLearning/_components/ChatComponent.css.js.map +1 -0
  3. package/dist/cjs/features/IL-OTJ/ILOTJ.js +1 -1
  4. package/dist/cjs/features/IL-OTJ/_components/AccordionSection.js +2 -0
  5. package/dist/cjs/features/IL-OTJ/_components/AccordionSection.js.map +1 -0
  6. package/dist/cjs/features/IL-OTJ/_components/ChatComponent.css.js +2 -0
  7. package/dist/cjs/features/IL-OTJ/_components/ChatComponent.css.js.map +1 -0
  8. package/dist/cjs/features/IL-OTJ/_components/ChatComponent.js +2 -0
  9. package/dist/cjs/features/IL-OTJ/_components/ChatComponent.js.map +1 -0
  10. package/dist/cjs/features/IL-OTJ/_components/ChatComponents/ChatComponent.js +1 -1
  11. package/dist/cjs/features/IL-OTJ/_components/GapExplanationAccordion.js +1 -1
  12. package/dist/cjs/features/IL-OTJ/_components/ILComponents.js +2 -0
  13. package/dist/cjs/features/IL-OTJ/_components/ILComponents.js.map +1 -0
  14. package/dist/cjs/features/IL-OTJ/_components/ILPopup.css.js +2 -0
  15. package/dist/cjs/features/IL-OTJ/_components/ILPopup.css.js.map +1 -0
  16. package/dist/cjs/features/IL-OTJ/_components/MarkdownComponents/MarkdownElements.js +1 -1
  17. package/dist/cjs/features/IL-OTJ/_components/MessageRendering/CustomComponents.js +2 -0
  18. package/dist/cjs/features/IL-OTJ/_components/MessageRendering/CustomComponents.js.map +1 -0
  19. package/dist/cjs/features/IL-OTJ/_components/MessageRendering/MarkdownElements.js +2 -0
  20. package/dist/cjs/features/IL-OTJ/_components/MessageRendering/MarkdownElements.js.map +1 -0
  21. package/dist/cjs/features/IL-OTJ/_components/MessageRendering/MessageRendering.js +1 -1
  22. package/dist/cjs/features/IL-OTJ/_components/MessageRendering.js +2 -0
  23. package/dist/cjs/features/IL-OTJ/_components/MessageRendering.js.map +1 -0
  24. package/dist/cjs/features/IL-OTJ/_components/RuleValidationCard.js +2 -0
  25. package/dist/cjs/features/IL-OTJ/_components/RuleValidationCard.js.map +1 -0
  26. package/dist/cjs/features/IL-OTJ/_components/_svg/ResizeChat.svg.js +2 -0
  27. package/dist/cjs/features/IL-OTJ/_components/_svg/ResizeChat.svg.js.map +1 -0
  28. package/dist/cjs/features/IL-OTJ/_components/_svg/WarningIcon.js +2 -0
  29. package/dist/cjs/features/IL-OTJ/_components/_svg/WarningIcon.js.map +1 -0
  30. package/dist/cjs/features/IL-OTJ/_components/atoms/Button.js +2 -0
  31. package/dist/cjs/features/IL-OTJ/_components/atoms/Button.js.map +1 -0
  32. package/dist/cjs/features/IL-OTJ/_components/atoms/Dropdown.js +2 -0
  33. package/dist/cjs/features/IL-OTJ/_components/atoms/Dropdown.js.map +1 -0
  34. package/dist/cjs/features/IL-OTJ/_components/atoms/Textarea.js +2 -0
  35. package/dist/cjs/features/IL-OTJ/_components/atoms/Textarea.js.map +1 -0
  36. package/dist/cjs/features/IL-OTJ/_components/atoms/Toggle.js +2 -0
  37. package/dist/cjs/features/IL-OTJ/_components/atoms/Toggle.js.map +1 -0
  38. package/dist/cjs/features/IL-OTJ/_components/molecules/Condition/ConditionList.js +1 -1
  39. package/dist/cjs/features/IL-OTJ/_components/molecules/ConditionList.js +2 -0
  40. package/dist/cjs/features/IL-OTJ/_components/molecules/ConditionList.js.map +1 -0
  41. package/dist/cjs/features/IL-OTJ/_components/molecules/SectionWrapper.js +2 -0
  42. package/dist/cjs/features/IL-OTJ/_components/molecules/SectionWrapper.js.map +1 -0
  43. package/dist/cjs/features/IL-OTJ/_components/molecules/SeparationRow.js +2 -0
  44. package/dist/cjs/features/IL-OTJ/_components/molecules/SeparationRow.js.map +1 -0
  45. package/dist/cjs/features/IL-OTJ/_components/organisms/ConditionSection.js +2 -0
  46. package/dist/cjs/features/IL-OTJ/_components/organisms/ConditionSection.js.map +1 -0
  47. package/dist/cjs/features/IL-OTJ/_components/organisms/ConfigSection.js +2 -0
  48. package/dist/cjs/features/IL-OTJ/_components/organisms/ConfigSection.js.map +1 -0
  49. package/dist/cjs/features/IL-OTJ/_components/organisms/ScopeSection.js +2 -0
  50. package/dist/cjs/features/IL-OTJ/_components/organisms/ScopeSection.js.map +1 -0
  51. package/dist/cjs/features/IL-OTJ/_components/organisms/TextSection.js +2 -0
  52. package/dist/cjs/features/IL-OTJ/_components/organisms/TextSection.js.map +1 -0
  53. package/dist/cjs/features/IL-OTJ/_components/templates/AudactyTemplate.js +2 -0
  54. package/dist/cjs/features/IL-OTJ/_components/templates/AudactyTemplate.js.map +1 -0
  55. package/dist/cjs/features/IL-OTJ/_components/templates/RuleComparison/AgentComposerRuleComparison.js +2 -0
  56. package/dist/cjs/features/IL-OTJ/_components/templates/RuleComparison/AgentComposerRuleComparison.js.map +1 -0
  57. package/dist/cjs/features/IL-OTJ/_components/templates/TemplatesMap/templatesMap.js +1 -1
  58. package/dist/cjs/features/IL-OTJ/_components/templates/Testing.js +2 -0
  59. package/dist/cjs/features/IL-OTJ/_components/templates/Testing.js.map +1 -0
  60. package/dist/cjs/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.js +1 -1
  61. package/dist/cjs/features/IL-OTJ/_components/templates/TrafficManager/TrafficManagerTemplate.js +1 -1
  62. package/dist/cjs/features/IL-OTJ/_components/templates/TrafficManagerTemplate.js +2 -0
  63. package/dist/cjs/features/IL-OTJ/_components/templates/TrafficManagerTemplate.js.map +1 -0
  64. package/dist/cjs/features/IL-OTJ/_components/templates/WorkflowComposer/WorkflowComposer.js +2 -0
  65. package/dist/cjs/features/IL-OTJ/_components/templates/WorkflowComposer/WorkflowComposer.js.map +1 -0
  66. package/dist/cjs/features/IL-OTJ/_components/templates/templatesMap.js +2 -0
  67. package/dist/cjs/features/IL-OTJ/_components/templates/templatesMap.js.map +1 -0
  68. package/dist/cjs/features/IL-OTJ/helpers/message-rendering-utils.js +2 -0
  69. package/dist/cjs/features/IL-OTJ/helpers/message-rendering-utils.js.map +1 -0
  70. package/dist/cjs/features/IL-OTJ/helpers/utils.js +1 -1
  71. package/dist/cjs/features/IL-OTJ/hooks/useHeaderObserver.js +2 -0
  72. package/dist/cjs/features/IL-OTJ/hooks/useHeaderObserver.js.map +1 -0
  73. package/dist/cjs/features/InstantLearning/_components/ChatComponent.css.js +2 -0
  74. package/dist/cjs/features/InstantLearning/_components/ChatComponent.css.js.map +1 -0
  75. package/dist/cjs/features/InstantLearning/_components/TooltipComponent.js +2 -0
  76. package/dist/cjs/features/InstantLearning/_components/TooltipComponent.js.map +1 -0
  77. package/dist/cjs/index.js +1 -1
  78. package/dist/cjs/node_modules/@e-llm-studio/citation/dist/node_modules/clsx/dist/clsx.m.js +2 -0
  79. package/dist/cjs/node_modules/@e-llm-studio/citation/dist/node_modules/clsx/dist/clsx.m.js.map +1 -0
  80. package/dist/cjs/node_modules/@e-llm-studio/streaming-response/node_modules/ws/browser.js +2 -0
  81. package/dist/cjs/node_modules/@e-llm-studio/streaming-response/node_modules/ws/browser.js.map +1 -0
  82. package/dist/cjs/node_modules/@emotion/serialize/node_modules/@emotion/hash/dist/emotion-hash.esm.js +2 -0
  83. package/dist/cjs/node_modules/@emotion/serialize/node_modules/@emotion/hash/dist/emotion-hash.esm.js.map +1 -0
  84. package/dist/cjs/node_modules/hast-util-from-parse5/node_modules/comma-separated-tokens/index.js +2 -0
  85. package/dist/cjs/node_modules/hast-util-from-parse5/node_modules/comma-separated-tokens/index.js.map +1 -0
  86. package/dist/cjs/node_modules/hast-util-from-parse5/node_modules/space-separated-tokens/index.js +2 -0
  87. package/dist/cjs/node_modules/hast-util-from-parse5/node_modules/space-separated-tokens/index.js.map +1 -0
  88. package/dist/cjs/node_modules/hast-util-raw/node_modules/unist-util-position/lib/index.js +2 -0
  89. package/dist/cjs/node_modules/hast-util-raw/node_modules/unist-util-position/lib/index.js.map +1 -0
  90. package/dist/cjs/node_modules/hast-util-to-parse5/node_modules/comma-separated-tokens/index.js +2 -0
  91. package/dist/cjs/node_modules/hast-util-to-parse5/node_modules/comma-separated-tokens/index.js.map +1 -0
  92. package/dist/cjs/node_modules/hast-util-to-parse5/node_modules/space-separated-tokens/index.js +2 -0
  93. package/dist/cjs/node_modules/hast-util-to-parse5/node_modules/space-separated-tokens/index.js.map +1 -0
  94. package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-is/lib/index.js +2 -0
  95. package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-is/lib/index.js.map +1 -0
  96. package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit/lib/index.js +2 -0
  97. package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit/lib/index.js.map +1 -0
  98. package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/color.browser.js +2 -0
  99. package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/color.browser.js.map +1 -0
  100. package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/index.js +2 -0
  101. package/dist/cjs/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
  102. package/dist/cjs/node_modules/mdast-util-find-and-replace/node_modules/unist-util-is/lib/index.js +2 -0
  103. package/dist/cjs/node_modules/mdast-util-find-and-replace/node_modules/unist-util-is/lib/index.js.map +1 -0
  104. package/dist/cjs/node_modules/mdast-util-find-and-replace/node_modules/unist-util-visit-parents/lib/color.browser.js +2 -0
  105. package/dist/cjs/node_modules/mdast-util-find-and-replace/node_modules/unist-util-visit-parents/lib/color.browser.js.map +1 -0
  106. package/dist/cjs/node_modules/mdast-util-find-and-replace/node_modules/unist-util-visit-parents/lib/index.js +2 -0
  107. package/dist/cjs/node_modules/mdast-util-find-and-replace/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
  108. package/dist/cjs/node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/lib/index.js +2 -0
  109. package/dist/cjs/node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/lib/index.js.map +1 -0
  110. package/dist/cjs/node_modules/mdast-util-to-hast/lib/footer.js +2 -0
  111. package/dist/cjs/node_modules/mdast-util-to-hast/lib/footer.js.map +1 -0
  112. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +2 -0
  113. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js.map +1 -0
  114. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/break.js +2 -0
  115. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/break.js.map +1 -0
  116. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/code.js +2 -0
  117. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/code.js.map +1 -0
  118. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/delete.js +2 -0
  119. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/delete.js.map +1 -0
  120. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +2 -0
  121. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js.map +1 -0
  122. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +2 -0
  123. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js.map +1 -0
  124. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/footnote.js +2 -0
  125. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/footnote.js.map +1 -0
  126. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/heading.js +2 -0
  127. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/heading.js.map +1 -0
  128. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/html.js +2 -0
  129. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/html.js.map +1 -0
  130. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +2 -0
  131. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js.map +1 -0
  132. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/image.js +2 -0
  133. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/image.js.map +1 -0
  134. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/index.js +2 -0
  135. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/index.js.map +1 -0
  136. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +2 -0
  137. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js.map +1 -0
  138. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +2 -0
  139. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js.map +1 -0
  140. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/link.js +2 -0
  141. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/link.js.map +1 -0
  142. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +2 -0
  143. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/list-item.js.map +1 -0
  144. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/list.js +2 -0
  145. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/list.js.map +1 -0
  146. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +2 -0
  147. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js.map +1 -0
  148. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/root.js +2 -0
  149. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/root.js.map +1 -0
  150. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/strong.js +2 -0
  151. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/strong.js.map +1 -0
  152. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +2 -0
  153. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js.map +1 -0
  154. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +2 -0
  155. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table-row.js.map +1 -0
  156. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table.js +2 -0
  157. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/table.js.map +1 -0
  158. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/text.js +2 -0
  159. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/text.js.map +1 -0
  160. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +2 -0
  161. package/dist/cjs/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js.map +1 -0
  162. package/dist/cjs/node_modules/mdast-util-to-hast/lib/index.js +2 -0
  163. package/dist/cjs/node_modules/mdast-util-to-hast/lib/index.js.map +1 -0
  164. package/dist/cjs/node_modules/mdast-util-to-hast/lib/revert.js +2 -0
  165. package/dist/cjs/node_modules/mdast-util-to-hast/lib/revert.js.map +1 -0
  166. package/dist/cjs/node_modules/mdast-util-to-hast/lib/state.js +2 -0
  167. package/dist/cjs/node_modules/mdast-util-to-hast/lib/state.js.map +1 -0
  168. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/micromark-util-character/index.js +2 -0
  169. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/micromark-util-character/index.js.map +1 -0
  170. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/micromark-util-sanitize-uri/index.js +2 -0
  171. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/micromark-util-sanitize-uri/index.js.map +1 -0
  172. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-is/lib/index.js +2 -0
  173. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-is/lib/index.js.map +1 -0
  174. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit/lib/index.js +2 -0
  175. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit/lib/index.js.map +1 -0
  176. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/color.browser.js +2 -0
  177. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/color.browser.js.map +1 -0
  178. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/index.js +2 -0
  179. package/dist/cjs/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
  180. package/dist/cjs/node_modules/react-hot-toast/node_modules/goober/dist/goober.modern.js +2 -0
  181. package/dist/cjs/node_modules/react-hot-toast/node_modules/goober/dist/goober.modern.js.map +1 -0
  182. package/dist/cjs/node_modules/react-markdown/node_modules/comma-separated-tokens/index.js +2 -0
  183. package/dist/cjs/node_modules/react-markdown/node_modules/comma-separated-tokens/index.js.map +1 -0
  184. package/dist/cjs/node_modules/react-markdown/node_modules/is-plain-obj/index.js +2 -0
  185. package/dist/cjs/node_modules/react-markdown/node_modules/is-plain-obj/index.js.map +1 -0
  186. package/dist/cjs/node_modules/react-markdown/node_modules/mdast-util-from-markdown/lib/index.js +2 -0
  187. package/dist/cjs/node_modules/react-markdown/node_modules/mdast-util-from-markdown/lib/index.js.map +1 -0
  188. package/dist/cjs/node_modules/react-markdown/node_modules/mdast-util-to-string/lib/index.js +2 -0
  189. package/dist/cjs/node_modules/react-markdown/node_modules/mdast-util-to-string/lib/index.js.map +1 -0
  190. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/constructs.js +2 -0
  191. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/constructs.js.map +1 -0
  192. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/create-tokenizer.js +2 -0
  193. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/create-tokenizer.js.map +1 -0
  194. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/content.js +2 -0
  195. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/content.js.map +1 -0
  196. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/document.js +2 -0
  197. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/document.js.map +1 -0
  198. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/flow.js +2 -0
  199. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/flow.js.map +1 -0
  200. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/text.js +2 -0
  201. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/initialize/text.js.map +1 -0
  202. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/parse.js +2 -0
  203. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/parse.js.map +1 -0
  204. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/postprocess.js +2 -0
  205. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/postprocess.js.map +1 -0
  206. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/preprocess.js +2 -0
  207. package/dist/cjs/node_modules/react-markdown/node_modules/micromark/lib/preprocess.js.map +1 -0
  208. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/attention.js +2 -0
  209. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/attention.js.map +1 -0
  210. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/autolink.js +2 -0
  211. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/autolink.js.map +1 -0
  212. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/blank-line.js +2 -0
  213. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/blank-line.js.map +1 -0
  214. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/block-quote.js +2 -0
  215. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/block-quote.js.map +1 -0
  216. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-escape.js +2 -0
  217. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-escape.js.map +1 -0
  218. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-reference.js +2 -0
  219. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-reference.js.map +1 -0
  220. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-fenced.js +2 -0
  221. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-fenced.js.map +1 -0
  222. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-indented.js +2 -0
  223. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-indented.js.map +1 -0
  224. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-text.js +2 -0
  225. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-text.js.map +1 -0
  226. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/content.js +2 -0
  227. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/content.js.map +1 -0
  228. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/definition.js +2 -0
  229. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/definition.js.map +1 -0
  230. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +2 -0
  231. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/hard-break-escape.js.map +1 -0
  232. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/heading-atx.js +2 -0
  233. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/heading-atx.js.map +1 -0
  234. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-flow.js +2 -0
  235. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-flow.js.map +1 -0
  236. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-text.js +2 -0
  237. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-text.js.map +1 -0
  238. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-end.js +2 -0
  239. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-end.js.map +1 -0
  240. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-image.js +2 -0
  241. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-image.js.map +1 -0
  242. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-link.js +2 -0
  243. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-link.js.map +1 -0
  244. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/line-ending.js +2 -0
  245. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/line-ending.js.map +1 -0
  246. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/list.js +2 -0
  247. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/list.js.map +1 -0
  248. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/setext-underline.js +2 -0
  249. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/setext-underline.js.map +1 -0
  250. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/thematic-break.js +2 -0
  251. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/thematic-break.js.map +1 -0
  252. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-destination/index.js +2 -0
  253. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-destination/index.js.map +1 -0
  254. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-label/index.js +2 -0
  255. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-label/index.js.map +1 -0
  256. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-space/index.js +2 -0
  257. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-space/index.js.map +1 -0
  258. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-title/index.js +2 -0
  259. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-title/index.js.map +1 -0
  260. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-whitespace/index.js +2 -0
  261. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-factory-whitespace/index.js.map +1 -0
  262. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-character/index.js +2 -0
  263. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-character/index.js.map +1 -0
  264. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-character/lib/unicode-punctuation-regex.js +2 -0
  265. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-character/lib/unicode-punctuation-regex.js.map +1 -0
  266. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-chunked/index.js +2 -0
  267. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-chunked/index.js.map +1 -0
  268. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-classify-character/index.js +2 -0
  269. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-classify-character/index.js.map +1 -0
  270. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-combine-extensions/index.js +2 -0
  271. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-combine-extensions/index.js.map +1 -0
  272. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-decode-numeric-character-reference/index.js +2 -0
  273. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-decode-numeric-character-reference/index.js.map +1 -0
  274. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-decode-string/index.js +2 -0
  275. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-decode-string/index.js.map +1 -0
  276. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-html-tag-name/index.js +2 -0
  277. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-html-tag-name/index.js.map +1 -0
  278. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-normalize-identifier/index.js +2 -0
  279. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-normalize-identifier/index.js.map +1 -0
  280. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-resolve-all/index.js +2 -0
  281. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-resolve-all/index.js.map +1 -0
  282. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-subtokenize/index.js +2 -0
  283. package/dist/cjs/node_modules/react-markdown/node_modules/micromark-util-subtokenize/index.js.map +1 -0
  284. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/index.js +2 -0
  285. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/index.js.map +1 -0
  286. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/aria.js +2 -0
  287. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/aria.js.map +1 -0
  288. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/find.js +2 -0
  289. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/find.js.map +1 -0
  290. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/hast-to-react.js +2 -0
  291. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/hast-to-react.js.map +1 -0
  292. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/html.js +2 -0
  293. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/html.js.map +1 -0
  294. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/normalize.js +2 -0
  295. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/normalize.js.map +1 -0
  296. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/svg.js +2 -0
  297. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/svg.js.map +1 -0
  298. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/case-insensitive-transform.js +2 -0
  299. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/case-insensitive-transform.js.map +1 -0
  300. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/case-sensitive-transform.js +2 -0
  301. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/case-sensitive-transform.js.map +1 -0
  302. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/create.js +2 -0
  303. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/create.js.map +1 -0
  304. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/defined-info.js +2 -0
  305. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/defined-info.js.map +1 -0
  306. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/info.js +2 -0
  307. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/info.js.map +1 -0
  308. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/merge.js +2 -0
  309. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/merge.js.map +1 -0
  310. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/schema.js +2 -0
  311. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/schema.js.map +1 -0
  312. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/types.js +2 -0
  313. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/util/types.js.map +1 -0
  314. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/xlink.js +2 -0
  315. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/xlink.js.map +1 -0
  316. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/xml.js +2 -0
  317. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/xml.js.map +1 -0
  318. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/xmlns.js +2 -0
  319. package/dist/cjs/node_modules/react-markdown/node_modules/property-information/lib/xmlns.js.map +1 -0
  320. package/dist/cjs/node_modules/react-markdown/node_modules/remark-parse/lib/index.js +2 -0
  321. package/dist/cjs/node_modules/react-markdown/node_modules/remark-parse/lib/index.js.map +1 -0
  322. package/dist/cjs/node_modules/react-markdown/node_modules/space-separated-tokens/index.js +2 -0
  323. package/dist/cjs/node_modules/react-markdown/node_modules/space-separated-tokens/index.js.map +1 -0
  324. package/dist/cjs/node_modules/react-markdown/node_modules/unified/lib/index.js +2 -0
  325. package/dist/cjs/node_modules/react-markdown/node_modules/unified/lib/index.js.map +1 -0
  326. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-is/lib/index.js +2 -0
  327. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-is/lib/index.js.map +1 -0
  328. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-stringify-position/lib/index.js +2 -0
  329. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-stringify-position/lib/index.js.map +1 -0
  330. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit/lib/index.js +2 -0
  331. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit/lib/index.js.map +1 -0
  332. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/color.browser.js +2 -0
  333. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/color.browser.js.map +1 -0
  334. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/index.js +2 -0
  335. package/dist/cjs/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
  336. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/index.js +2 -0
  337. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/index.js.map +1 -0
  338. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minpath.browser.js +2 -0
  339. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minpath.browser.js.map +1 -0
  340. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minproc.browser.js +2 -0
  341. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minproc.browser.js.map +1 -0
  342. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minurl.browser.js +2 -0
  343. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minurl.browser.js.map +1 -0
  344. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minurl.shared.js +2 -0
  345. package/dist/cjs/node_modules/react-markdown/node_modules/vfile/lib/minurl.shared.js.map +1 -0
  346. package/dist/cjs/node_modules/react-markdown/node_modules/vfile-message/lib/index.js +2 -0
  347. package/dist/cjs/node_modules/react-markdown/node_modules/vfile-message/lib/index.js.map +1 -0
  348. package/dist/cjs/node_modules/unist-util-visit/node_modules/unist-util-is/lib/index.js +2 -0
  349. package/dist/cjs/node_modules/unist-util-visit/node_modules/unist-util-is/lib/index.js.map +1 -0
  350. package/dist/cjs/node_modules/unist-util-visit/node_modules/unist-util-visit-parents/lib/color.browser.js +2 -0
  351. package/dist/cjs/node_modules/unist-util-visit/node_modules/unist-util-visit-parents/lib/color.browser.js.map +1 -0
  352. package/dist/cjs/node_modules/unist-util-visit/node_modules/unist-util-visit-parents/lib/index.js +2 -0
  353. package/dist/cjs/node_modules/unist-util-visit/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
  354. package/dist/cjs/node_modules/unist-util-visit-parents/lib/color.js +2 -0
  355. package/dist/cjs/node_modules/unist-util-visit-parents/lib/color.js.map +1 -0
  356. package/dist/cjs/node_modules/vfile-message/node_modules/unist-util-stringify-position/lib/index.js +2 -0
  357. package/dist/cjs/node_modules/vfile-message/node_modules/unist-util-stringify-position/lib/index.js.map +1 -0
  358. package/dist/features/DocumentLearning/_components/ChatComponent.css.js +2 -0
  359. package/dist/features/DocumentLearning/_components/ChatComponent.css.js.map +1 -0
  360. package/dist/features/IL-OTJ/ILOTJ.js +1 -1
  361. package/dist/features/IL-OTJ/_components/AccordionSection.js +2 -0
  362. package/dist/features/IL-OTJ/_components/AccordionSection.js.map +1 -0
  363. package/dist/features/IL-OTJ/_components/ChatComponent.css.js +2 -0
  364. package/dist/features/IL-OTJ/_components/ChatComponent.css.js.map +1 -0
  365. package/dist/features/IL-OTJ/_components/ChatComponent.js +2 -0
  366. package/dist/features/IL-OTJ/_components/ChatComponent.js.map +1 -0
  367. package/dist/features/IL-OTJ/_components/ChatComponents/ChatComponent.js +1 -1
  368. package/dist/features/IL-OTJ/_components/GapExplanationAccordion.js +1 -1
  369. package/dist/features/IL-OTJ/_components/ILComponents.js +2 -0
  370. package/dist/features/IL-OTJ/_components/ILComponents.js.map +1 -0
  371. package/dist/features/IL-OTJ/_components/ILPopup.css.js +2 -0
  372. package/dist/features/IL-OTJ/_components/ILPopup.css.js.map +1 -0
  373. package/dist/features/IL-OTJ/_components/MarkdownComponents/MarkdownElements.js +1 -1
  374. package/dist/features/IL-OTJ/_components/MessageRendering/CustomComponents.js +2 -0
  375. package/dist/features/IL-OTJ/_components/MessageRendering/CustomComponents.js.map +1 -0
  376. package/dist/features/IL-OTJ/_components/MessageRendering/MarkdownElements.js +2 -0
  377. package/dist/features/IL-OTJ/_components/MessageRendering/MarkdownElements.js.map +1 -0
  378. package/dist/features/IL-OTJ/_components/MessageRendering/MessageRendering.js +1 -1
  379. package/dist/features/IL-OTJ/_components/MessageRendering.js +2 -0
  380. package/dist/features/IL-OTJ/_components/MessageRendering.js.map +1 -0
  381. package/dist/features/IL-OTJ/_components/RuleValidationCard.js +2 -0
  382. package/dist/features/IL-OTJ/_components/RuleValidationCard.js.map +1 -0
  383. package/dist/features/IL-OTJ/_components/_svg/ResizeChat.svg.js +2 -0
  384. package/dist/features/IL-OTJ/_components/_svg/ResizeChat.svg.js.map +1 -0
  385. package/dist/features/IL-OTJ/_components/_svg/WarningIcon.js +2 -0
  386. package/dist/features/IL-OTJ/_components/_svg/WarningIcon.js.map +1 -0
  387. package/dist/features/IL-OTJ/_components/atoms/Button.js +2 -0
  388. package/dist/features/IL-OTJ/_components/atoms/Button.js.map +1 -0
  389. package/dist/features/IL-OTJ/_components/atoms/Dropdown.js +2 -0
  390. package/dist/features/IL-OTJ/_components/atoms/Dropdown.js.map +1 -0
  391. package/dist/features/IL-OTJ/_components/atoms/Textarea.js +2 -0
  392. package/dist/features/IL-OTJ/_components/atoms/Textarea.js.map +1 -0
  393. package/dist/features/IL-OTJ/_components/atoms/Toggle.js +2 -0
  394. package/dist/features/IL-OTJ/_components/atoms/Toggle.js.map +1 -0
  395. package/dist/features/IL-OTJ/_components/molecules/Condition/ConditionList.js +1 -1
  396. package/dist/features/IL-OTJ/_components/molecules/ConditionList.js +2 -0
  397. package/dist/features/IL-OTJ/_components/molecules/ConditionList.js.map +1 -0
  398. package/dist/features/IL-OTJ/_components/molecules/SectionWrapper.js +2 -0
  399. package/dist/features/IL-OTJ/_components/molecules/SectionWrapper.js.map +1 -0
  400. package/dist/features/IL-OTJ/_components/molecules/SeparationRow.js +2 -0
  401. package/dist/features/IL-OTJ/_components/molecules/SeparationRow.js.map +1 -0
  402. package/dist/features/IL-OTJ/_components/organisms/ConditionSection.js +2 -0
  403. package/dist/features/IL-OTJ/_components/organisms/ConditionSection.js.map +1 -0
  404. package/dist/features/IL-OTJ/_components/organisms/ConfigSection.js +2 -0
  405. package/dist/features/IL-OTJ/_components/organisms/ConfigSection.js.map +1 -0
  406. package/dist/features/IL-OTJ/_components/organisms/ScopeSection.js +2 -0
  407. package/dist/features/IL-OTJ/_components/organisms/ScopeSection.js.map +1 -0
  408. package/dist/features/IL-OTJ/_components/organisms/TextSection.js +2 -0
  409. package/dist/features/IL-OTJ/_components/organisms/TextSection.js.map +1 -0
  410. package/dist/features/IL-OTJ/_components/templates/AudactyTemplate.js +2 -0
  411. package/dist/features/IL-OTJ/_components/templates/AudactyTemplate.js.map +1 -0
  412. package/dist/features/IL-OTJ/_components/templates/RuleComparison/AgentComposerRuleComparison.js +2 -0
  413. package/dist/features/IL-OTJ/_components/templates/RuleComparison/AgentComposerRuleComparison.js.map +1 -0
  414. package/dist/features/IL-OTJ/_components/templates/TemplatesMap/templatesMap.js +1 -1
  415. package/dist/features/IL-OTJ/_components/templates/Testing.js +2 -0
  416. package/dist/features/IL-OTJ/_components/templates/Testing.js.map +1 -0
  417. package/dist/features/IL-OTJ/_components/templates/TrafficManager/CreateRule.js +1 -1
  418. package/dist/features/IL-OTJ/_components/templates/TrafficManager/TrafficManagerTemplate.js +1 -1
  419. package/dist/features/IL-OTJ/_components/templates/TrafficManagerTemplate.js +2 -0
  420. package/dist/features/IL-OTJ/_components/templates/TrafficManagerTemplate.js.map +1 -0
  421. package/dist/features/IL-OTJ/_components/templates/WorkflowComposer/WorkflowComposer.js +2 -0
  422. package/dist/features/IL-OTJ/_components/templates/WorkflowComposer/WorkflowComposer.js.map +1 -0
  423. package/dist/features/IL-OTJ/_components/templates/templatesMap.js +2 -0
  424. package/dist/features/IL-OTJ/_components/templates/templatesMap.js.map +1 -0
  425. package/dist/features/IL-OTJ/helpers/message-rendering-utils.js +2 -0
  426. package/dist/features/IL-OTJ/helpers/message-rendering-utils.js.map +1 -0
  427. package/dist/features/IL-OTJ/helpers/utils.js +1 -1
  428. package/dist/features/IL-OTJ/hooks/useHeaderObserver.js +2 -0
  429. package/dist/features/IL-OTJ/hooks/useHeaderObserver.js.map +1 -0
  430. package/dist/features/InstantLearning/_components/ChatComponent.css.js +2 -0
  431. package/dist/features/InstantLearning/_components/ChatComponent.css.js.map +1 -0
  432. package/dist/features/InstantLearning/_components/TooltipComponent.js +2 -0
  433. package/dist/features/InstantLearning/_components/TooltipComponent.js.map +1 -0
  434. package/dist/index.js +1 -1
  435. package/dist/node_modules/@e-llm-studio/citation/dist/node_modules/clsx/dist/clsx.m.js +2 -0
  436. package/dist/node_modules/@e-llm-studio/citation/dist/node_modules/clsx/dist/clsx.m.js.map +1 -0
  437. package/dist/node_modules/@e-llm-studio/streaming-response/node_modules/ws/browser.js +2 -0
  438. package/dist/node_modules/@e-llm-studio/streaming-response/node_modules/ws/browser.js.map +1 -0
  439. package/dist/node_modules/@emotion/serialize/node_modules/@emotion/hash/dist/emotion-hash.esm.js +2 -0
  440. package/dist/node_modules/@emotion/serialize/node_modules/@emotion/hash/dist/emotion-hash.esm.js.map +1 -0
  441. package/dist/node_modules/hast-util-from-parse5/node_modules/comma-separated-tokens/index.js +2 -0
  442. package/dist/node_modules/hast-util-from-parse5/node_modules/comma-separated-tokens/index.js.map +1 -0
  443. package/dist/node_modules/hast-util-from-parse5/node_modules/space-separated-tokens/index.js +2 -0
  444. package/dist/node_modules/hast-util-from-parse5/node_modules/space-separated-tokens/index.js.map +1 -0
  445. package/dist/node_modules/hast-util-raw/node_modules/unist-util-position/lib/index.js +2 -0
  446. package/dist/node_modules/hast-util-raw/node_modules/unist-util-position/lib/index.js.map +1 -0
  447. package/dist/node_modules/hast-util-to-parse5/node_modules/comma-separated-tokens/index.js +2 -0
  448. package/dist/node_modules/hast-util-to-parse5/node_modules/comma-separated-tokens/index.js.map +1 -0
  449. package/dist/node_modules/hast-util-to-parse5/node_modules/space-separated-tokens/index.js +2 -0
  450. package/dist/node_modules/hast-util-to-parse5/node_modules/space-separated-tokens/index.js.map +1 -0
  451. package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-is/lib/index.js +2 -0
  452. package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-is/lib/index.js.map +1 -0
  453. package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit/lib/index.js +2 -0
  454. package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit/lib/index.js.map +1 -0
  455. package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/color.browser.js +2 -0
  456. package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/color.browser.js.map +1 -0
  457. package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/index.js +2 -0
  458. package/dist/node_modules/mdast-util-definitions/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
  459. package/dist/node_modules/mdast-util-find-and-replace/node_modules/unist-util-is/lib/index.js +2 -0
  460. package/dist/node_modules/mdast-util-find-and-replace/node_modules/unist-util-is/lib/index.js.map +1 -0
  461. package/dist/node_modules/mdast-util-find-and-replace/node_modules/unist-util-visit-parents/lib/color.browser.js +2 -0
  462. package/dist/node_modules/mdast-util-find-and-replace/node_modules/unist-util-visit-parents/lib/color.browser.js.map +1 -0
  463. package/dist/node_modules/mdast-util-find-and-replace/node_modules/unist-util-visit-parents/lib/index.js +2 -0
  464. package/dist/node_modules/mdast-util-find-and-replace/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
  465. package/dist/node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/lib/index.js +2 -0
  466. package/dist/node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-position/lib/index.js.map +1 -0
  467. package/dist/node_modules/mdast-util-to-hast/lib/footer.js +2 -0
  468. package/dist/node_modules/mdast-util-to-hast/lib/footer.js.map +1 -0
  469. package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js +2 -0
  470. package/dist/node_modules/mdast-util-to-hast/lib/handlers/blockquote.js.map +1 -0
  471. package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js +2 -0
  472. package/dist/node_modules/mdast-util-to-hast/lib/handlers/break.js.map +1 -0
  473. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js +2 -0
  474. package/dist/node_modules/mdast-util-to-hast/lib/handlers/code.js.map +1 -0
  475. package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js +2 -0
  476. package/dist/node_modules/mdast-util-to-hast/lib/handlers/delete.js.map +1 -0
  477. package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js +2 -0
  478. package/dist/node_modules/mdast-util-to-hast/lib/handlers/emphasis.js.map +1 -0
  479. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js +2 -0
  480. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.js.map +1 -0
  481. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote.js +2 -0
  482. package/dist/node_modules/mdast-util-to-hast/lib/handlers/footnote.js.map +1 -0
  483. package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js +2 -0
  484. package/dist/node_modules/mdast-util-to-hast/lib/handlers/heading.js.map +1 -0
  485. package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js +2 -0
  486. package/dist/node_modules/mdast-util-to-hast/lib/handlers/html.js.map +1 -0
  487. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js +2 -0
  488. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image-reference.js.map +1 -0
  489. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js +2 -0
  490. package/dist/node_modules/mdast-util-to-hast/lib/handlers/image.js.map +1 -0
  491. package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js +2 -0
  492. package/dist/node_modules/mdast-util-to-hast/lib/handlers/index.js.map +1 -0
  493. package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js +2 -0
  494. package/dist/node_modules/mdast-util-to-hast/lib/handlers/inline-code.js.map +1 -0
  495. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js +2 -0
  496. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link-reference.js.map +1 -0
  497. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js +2 -0
  498. package/dist/node_modules/mdast-util-to-hast/lib/handlers/link.js.map +1 -0
  499. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js +2 -0
  500. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list-item.js.map +1 -0
  501. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js +2 -0
  502. package/dist/node_modules/mdast-util-to-hast/lib/handlers/list.js.map +1 -0
  503. package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js +2 -0
  504. package/dist/node_modules/mdast-util-to-hast/lib/handlers/paragraph.js.map +1 -0
  505. package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js +2 -0
  506. package/dist/node_modules/mdast-util-to-hast/lib/handlers/root.js.map +1 -0
  507. package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js +2 -0
  508. package/dist/node_modules/mdast-util-to-hast/lib/handlers/strong.js.map +1 -0
  509. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js +2 -0
  510. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-cell.js.map +1 -0
  511. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js +2 -0
  512. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table-row.js.map +1 -0
  513. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js +2 -0
  514. package/dist/node_modules/mdast-util-to-hast/lib/handlers/table.js.map +1 -0
  515. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js +2 -0
  516. package/dist/node_modules/mdast-util-to-hast/lib/handlers/text.js.map +1 -0
  517. package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js +2 -0
  518. package/dist/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.js.map +1 -0
  519. package/dist/node_modules/mdast-util-to-hast/lib/index.js +2 -0
  520. package/dist/node_modules/mdast-util-to-hast/lib/index.js.map +1 -0
  521. package/dist/node_modules/mdast-util-to-hast/lib/revert.js +2 -0
  522. package/dist/node_modules/mdast-util-to-hast/lib/revert.js.map +1 -0
  523. package/dist/node_modules/mdast-util-to-hast/lib/state.js +2 -0
  524. package/dist/node_modules/mdast-util-to-hast/lib/state.js.map +1 -0
  525. package/dist/node_modules/mdast-util-to-hast/node_modules/micromark-util-character/index.js +2 -0
  526. package/dist/node_modules/mdast-util-to-hast/node_modules/micromark-util-character/index.js.map +1 -0
  527. package/dist/node_modules/mdast-util-to-hast/node_modules/micromark-util-sanitize-uri/index.js +2 -0
  528. package/dist/node_modules/mdast-util-to-hast/node_modules/micromark-util-sanitize-uri/index.js.map +1 -0
  529. package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-is/lib/index.js +2 -0
  530. package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-is/lib/index.js.map +1 -0
  531. package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit/lib/index.js +2 -0
  532. package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit/lib/index.js.map +1 -0
  533. package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/color.browser.js +2 -0
  534. package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/color.browser.js.map +1 -0
  535. package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/index.js +2 -0
  536. package/dist/node_modules/mdast-util-to-hast/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
  537. package/dist/node_modules/react-hot-toast/node_modules/goober/dist/goober.modern.js +2 -0
  538. package/dist/node_modules/react-hot-toast/node_modules/goober/dist/goober.modern.js.map +1 -0
  539. package/dist/node_modules/react-markdown/node_modules/comma-separated-tokens/index.js +2 -0
  540. package/dist/node_modules/react-markdown/node_modules/comma-separated-tokens/index.js.map +1 -0
  541. package/dist/node_modules/react-markdown/node_modules/is-plain-obj/index.js +2 -0
  542. package/dist/node_modules/react-markdown/node_modules/is-plain-obj/index.js.map +1 -0
  543. package/dist/node_modules/react-markdown/node_modules/mdast-util-from-markdown/lib/index.js +2 -0
  544. package/dist/node_modules/react-markdown/node_modules/mdast-util-from-markdown/lib/index.js.map +1 -0
  545. package/dist/node_modules/react-markdown/node_modules/mdast-util-to-string/lib/index.js +2 -0
  546. package/dist/node_modules/react-markdown/node_modules/mdast-util-to-string/lib/index.js.map +1 -0
  547. package/dist/node_modules/react-markdown/node_modules/micromark/lib/constructs.js +2 -0
  548. package/dist/node_modules/react-markdown/node_modules/micromark/lib/constructs.js.map +1 -0
  549. package/dist/node_modules/react-markdown/node_modules/micromark/lib/create-tokenizer.js +2 -0
  550. package/dist/node_modules/react-markdown/node_modules/micromark/lib/create-tokenizer.js.map +1 -0
  551. package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/content.js +2 -0
  552. package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/content.js.map +1 -0
  553. package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/document.js +2 -0
  554. package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/document.js.map +1 -0
  555. package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/flow.js +2 -0
  556. package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/flow.js.map +1 -0
  557. package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/text.js +2 -0
  558. package/dist/node_modules/react-markdown/node_modules/micromark/lib/initialize/text.js.map +1 -0
  559. package/dist/node_modules/react-markdown/node_modules/micromark/lib/parse.js +2 -0
  560. package/dist/node_modules/react-markdown/node_modules/micromark/lib/parse.js.map +1 -0
  561. package/dist/node_modules/react-markdown/node_modules/micromark/lib/postprocess.js +2 -0
  562. package/dist/node_modules/react-markdown/node_modules/micromark/lib/postprocess.js.map +1 -0
  563. package/dist/node_modules/react-markdown/node_modules/micromark/lib/preprocess.js +2 -0
  564. package/dist/node_modules/react-markdown/node_modules/micromark/lib/preprocess.js.map +1 -0
  565. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/attention.js +2 -0
  566. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/attention.js.map +1 -0
  567. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/autolink.js +2 -0
  568. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/autolink.js.map +1 -0
  569. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/blank-line.js +2 -0
  570. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/blank-line.js.map +1 -0
  571. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/block-quote.js +2 -0
  572. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/block-quote.js.map +1 -0
  573. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-escape.js +2 -0
  574. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-escape.js.map +1 -0
  575. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-reference.js +2 -0
  576. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/character-reference.js.map +1 -0
  577. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-fenced.js +2 -0
  578. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-fenced.js.map +1 -0
  579. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-indented.js +2 -0
  580. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-indented.js.map +1 -0
  581. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-text.js +2 -0
  582. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/code-text.js.map +1 -0
  583. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/content.js +2 -0
  584. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/content.js.map +1 -0
  585. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/definition.js +2 -0
  586. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/definition.js.map +1 -0
  587. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/hard-break-escape.js +2 -0
  588. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/hard-break-escape.js.map +1 -0
  589. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/heading-atx.js +2 -0
  590. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/heading-atx.js.map +1 -0
  591. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-flow.js +2 -0
  592. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-flow.js.map +1 -0
  593. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-text.js +2 -0
  594. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/html-text.js.map +1 -0
  595. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-end.js +2 -0
  596. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-end.js.map +1 -0
  597. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-image.js +2 -0
  598. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-image.js.map +1 -0
  599. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-link.js +2 -0
  600. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/label-start-link.js.map +1 -0
  601. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/line-ending.js +2 -0
  602. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/line-ending.js.map +1 -0
  603. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/list.js +2 -0
  604. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/list.js.map +1 -0
  605. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/setext-underline.js +2 -0
  606. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/setext-underline.js.map +1 -0
  607. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/thematic-break.js +2 -0
  608. package/dist/node_modules/react-markdown/node_modules/micromark-core-commonmark/lib/thematic-break.js.map +1 -0
  609. package/dist/node_modules/react-markdown/node_modules/micromark-factory-destination/index.js +2 -0
  610. package/dist/node_modules/react-markdown/node_modules/micromark-factory-destination/index.js.map +1 -0
  611. package/dist/node_modules/react-markdown/node_modules/micromark-factory-label/index.js +2 -0
  612. package/dist/node_modules/react-markdown/node_modules/micromark-factory-label/index.js.map +1 -0
  613. package/dist/node_modules/react-markdown/node_modules/micromark-factory-space/index.js +2 -0
  614. package/dist/node_modules/react-markdown/node_modules/micromark-factory-space/index.js.map +1 -0
  615. package/dist/node_modules/react-markdown/node_modules/micromark-factory-title/index.js +2 -0
  616. package/dist/node_modules/react-markdown/node_modules/micromark-factory-title/index.js.map +1 -0
  617. package/dist/node_modules/react-markdown/node_modules/micromark-factory-whitespace/index.js +2 -0
  618. package/dist/node_modules/react-markdown/node_modules/micromark-factory-whitespace/index.js.map +1 -0
  619. package/dist/node_modules/react-markdown/node_modules/micromark-util-character/index.js +2 -0
  620. package/dist/node_modules/react-markdown/node_modules/micromark-util-character/index.js.map +1 -0
  621. package/dist/node_modules/react-markdown/node_modules/micromark-util-character/lib/unicode-punctuation-regex.js +2 -0
  622. package/dist/node_modules/react-markdown/node_modules/micromark-util-character/lib/unicode-punctuation-regex.js.map +1 -0
  623. package/dist/node_modules/react-markdown/node_modules/micromark-util-chunked/index.js +2 -0
  624. package/dist/node_modules/react-markdown/node_modules/micromark-util-chunked/index.js.map +1 -0
  625. package/dist/node_modules/react-markdown/node_modules/micromark-util-classify-character/index.js +2 -0
  626. package/dist/node_modules/react-markdown/node_modules/micromark-util-classify-character/index.js.map +1 -0
  627. package/dist/node_modules/react-markdown/node_modules/micromark-util-combine-extensions/index.js +2 -0
  628. package/dist/node_modules/react-markdown/node_modules/micromark-util-combine-extensions/index.js.map +1 -0
  629. package/dist/node_modules/react-markdown/node_modules/micromark-util-decode-numeric-character-reference/index.js +2 -0
  630. package/dist/node_modules/react-markdown/node_modules/micromark-util-decode-numeric-character-reference/index.js.map +1 -0
  631. package/dist/node_modules/react-markdown/node_modules/micromark-util-decode-string/index.js +2 -0
  632. package/dist/node_modules/react-markdown/node_modules/micromark-util-decode-string/index.js.map +1 -0
  633. package/dist/node_modules/react-markdown/node_modules/micromark-util-html-tag-name/index.js +2 -0
  634. package/dist/node_modules/react-markdown/node_modules/micromark-util-html-tag-name/index.js.map +1 -0
  635. package/dist/node_modules/react-markdown/node_modules/micromark-util-normalize-identifier/index.js +2 -0
  636. package/dist/node_modules/react-markdown/node_modules/micromark-util-normalize-identifier/index.js.map +1 -0
  637. package/dist/node_modules/react-markdown/node_modules/micromark-util-resolve-all/index.js +2 -0
  638. package/dist/node_modules/react-markdown/node_modules/micromark-util-resolve-all/index.js.map +1 -0
  639. package/dist/node_modules/react-markdown/node_modules/micromark-util-subtokenize/index.js +2 -0
  640. package/dist/node_modules/react-markdown/node_modules/micromark-util-subtokenize/index.js.map +1 -0
  641. package/dist/node_modules/react-markdown/node_modules/property-information/index.js +2 -0
  642. package/dist/node_modules/react-markdown/node_modules/property-information/index.js.map +1 -0
  643. package/dist/node_modules/react-markdown/node_modules/property-information/lib/aria.js +2 -0
  644. package/dist/node_modules/react-markdown/node_modules/property-information/lib/aria.js.map +1 -0
  645. package/dist/node_modules/react-markdown/node_modules/property-information/lib/find.js +2 -0
  646. package/dist/node_modules/react-markdown/node_modules/property-information/lib/find.js.map +1 -0
  647. package/dist/node_modules/react-markdown/node_modules/property-information/lib/hast-to-react.js +2 -0
  648. package/dist/node_modules/react-markdown/node_modules/property-information/lib/hast-to-react.js.map +1 -0
  649. package/dist/node_modules/react-markdown/node_modules/property-information/lib/html.js +2 -0
  650. package/dist/node_modules/react-markdown/node_modules/property-information/lib/html.js.map +1 -0
  651. package/dist/node_modules/react-markdown/node_modules/property-information/lib/normalize.js +2 -0
  652. package/dist/node_modules/react-markdown/node_modules/property-information/lib/normalize.js.map +1 -0
  653. package/dist/node_modules/react-markdown/node_modules/property-information/lib/svg.js +2 -0
  654. package/dist/node_modules/react-markdown/node_modules/property-information/lib/svg.js.map +1 -0
  655. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/case-insensitive-transform.js +2 -0
  656. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/case-insensitive-transform.js.map +1 -0
  657. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/case-sensitive-transform.js +2 -0
  658. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/case-sensitive-transform.js.map +1 -0
  659. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/create.js +2 -0
  660. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/create.js.map +1 -0
  661. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/defined-info.js +2 -0
  662. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/defined-info.js.map +1 -0
  663. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/info.js +2 -0
  664. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/info.js.map +1 -0
  665. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/merge.js +2 -0
  666. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/merge.js.map +1 -0
  667. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/schema.js +2 -0
  668. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/schema.js.map +1 -0
  669. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/types.js +2 -0
  670. package/dist/node_modules/react-markdown/node_modules/property-information/lib/util/types.js.map +1 -0
  671. package/dist/node_modules/react-markdown/node_modules/property-information/lib/xlink.js +2 -0
  672. package/dist/node_modules/react-markdown/node_modules/property-information/lib/xlink.js.map +1 -0
  673. package/dist/node_modules/react-markdown/node_modules/property-information/lib/xml.js +2 -0
  674. package/dist/node_modules/react-markdown/node_modules/property-information/lib/xml.js.map +1 -0
  675. package/dist/node_modules/react-markdown/node_modules/property-information/lib/xmlns.js +2 -0
  676. package/dist/node_modules/react-markdown/node_modules/property-information/lib/xmlns.js.map +1 -0
  677. package/dist/node_modules/react-markdown/node_modules/remark-parse/lib/index.js +2 -0
  678. package/dist/node_modules/react-markdown/node_modules/remark-parse/lib/index.js.map +1 -0
  679. package/dist/node_modules/react-markdown/node_modules/space-separated-tokens/index.js +2 -0
  680. package/dist/node_modules/react-markdown/node_modules/space-separated-tokens/index.js.map +1 -0
  681. package/dist/node_modules/react-markdown/node_modules/unified/lib/index.js +2 -0
  682. package/dist/node_modules/react-markdown/node_modules/unified/lib/index.js.map +1 -0
  683. package/dist/node_modules/react-markdown/node_modules/unist-util-is/lib/index.js +2 -0
  684. package/dist/node_modules/react-markdown/node_modules/unist-util-is/lib/index.js.map +1 -0
  685. package/dist/node_modules/react-markdown/node_modules/unist-util-stringify-position/lib/index.js +2 -0
  686. package/dist/node_modules/react-markdown/node_modules/unist-util-stringify-position/lib/index.js.map +1 -0
  687. package/dist/node_modules/react-markdown/node_modules/unist-util-visit/lib/index.js +2 -0
  688. package/dist/node_modules/react-markdown/node_modules/unist-util-visit/lib/index.js.map +1 -0
  689. package/dist/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/color.browser.js +2 -0
  690. package/dist/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/color.browser.js.map +1 -0
  691. package/dist/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/index.js +2 -0
  692. package/dist/node_modules/react-markdown/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
  693. package/dist/node_modules/react-markdown/node_modules/vfile/lib/index.js +2 -0
  694. package/dist/node_modules/react-markdown/node_modules/vfile/lib/index.js.map +1 -0
  695. package/dist/node_modules/react-markdown/node_modules/vfile/lib/minpath.browser.js +2 -0
  696. package/dist/node_modules/react-markdown/node_modules/vfile/lib/minpath.browser.js.map +1 -0
  697. package/dist/node_modules/react-markdown/node_modules/vfile/lib/minproc.browser.js +2 -0
  698. package/dist/node_modules/react-markdown/node_modules/vfile/lib/minproc.browser.js.map +1 -0
  699. package/dist/node_modules/react-markdown/node_modules/vfile/lib/minurl.browser.js +2 -0
  700. package/dist/node_modules/react-markdown/node_modules/vfile/lib/minurl.browser.js.map +1 -0
  701. package/dist/node_modules/react-markdown/node_modules/vfile/lib/minurl.shared.js +2 -0
  702. package/dist/node_modules/react-markdown/node_modules/vfile/lib/minurl.shared.js.map +1 -0
  703. package/dist/node_modules/react-markdown/node_modules/vfile-message/lib/index.js +2 -0
  704. package/dist/node_modules/react-markdown/node_modules/vfile-message/lib/index.js.map +1 -0
  705. package/dist/node_modules/unist-util-visit/node_modules/unist-util-is/lib/index.js +2 -0
  706. package/dist/node_modules/unist-util-visit/node_modules/unist-util-is/lib/index.js.map +1 -0
  707. package/dist/node_modules/unist-util-visit/node_modules/unist-util-visit-parents/lib/color.browser.js +2 -0
  708. package/dist/node_modules/unist-util-visit/node_modules/unist-util-visit-parents/lib/color.browser.js.map +1 -0
  709. package/dist/node_modules/unist-util-visit/node_modules/unist-util-visit-parents/lib/index.js +2 -0
  710. package/dist/node_modules/unist-util-visit/node_modules/unist-util-visit-parents/lib/index.js.map +1 -0
  711. package/dist/node_modules/unist-util-visit-parents/lib/color.js +2 -0
  712. package/dist/node_modules/unist-util-visit-parents/lib/color.js.map +1 -0
  713. package/dist/node_modules/vfile-message/node_modules/unist-util-stringify-position/lib/index.js +2 -0
  714. package/dist/node_modules/vfile-message/node_modules/unist-util-stringify-position/lib/index.js.map +1 -0
  715. package/dist/types/src/features/IL-OTJ/ILOTJ.d.ts +2 -0
  716. package/dist/types/src/features/IL-OTJ/ILOTJ.d.ts.map +1 -1
  717. package/dist/types/src/features/IL-OTJ/ILOTJTest.d.ts.map +1 -1
  718. package/dist/types/src/features/IL-OTJ/_components/AccordionSection.d.ts +7 -0
  719. package/dist/types/src/features/IL-OTJ/_components/AccordionSection.d.ts.map +1 -0
  720. package/dist/types/src/features/IL-OTJ/_components/BookLearningForm.d.ts +23 -0
  721. package/dist/types/src/features/IL-OTJ/_components/BookLearningForm.d.ts.map +1 -0
  722. package/dist/types/src/features/IL-OTJ/_components/ChatComponent.d.ts +31 -0
  723. package/dist/types/src/features/IL-OTJ/_components/ChatComponent.d.ts.map +1 -0
  724. package/dist/types/src/features/IL-OTJ/_components/ChatComponents/ChatComponent.d.ts.map +1 -1
  725. package/dist/types/src/features/IL-OTJ/_components/ConflictingLearningWarnCard.d.ts +13 -0
  726. package/dist/types/src/features/IL-OTJ/_components/ConflictingLearningWarnCard.d.ts.map +1 -0
  727. package/dist/types/src/features/IL-OTJ/_components/ConflictingLearningWarnCardDB.d.ts +41 -0
  728. package/dist/types/src/features/IL-OTJ/_components/ConflictingLearningWarnCardDB.d.ts.map +1 -0
  729. package/dist/types/src/features/IL-OTJ/_components/ContextualChatComponent.d.ts +62 -0
  730. package/dist/types/src/features/IL-OTJ/_components/ContextualChatComponent.d.ts.map +1 -0
  731. package/dist/types/src/features/IL-OTJ/_components/ContextualConflictDBCard.d.ts +30 -0
  732. package/dist/types/src/features/IL-OTJ/_components/ContextualConflictDBCard.d.ts.map +1 -0
  733. package/dist/types/src/features/IL-OTJ/_components/ContextualLearningForm.d.ts +1 -0
  734. package/dist/types/src/features/IL-OTJ/_components/ContextualLearningForm.d.ts.map +1 -0
  735. package/dist/types/src/features/IL-OTJ/_components/GapExplanationAccordion.d.ts.map +1 -1
  736. package/dist/types/src/features/IL-OTJ/_components/ILComponents.d.ts +74 -0
  737. package/dist/types/src/features/IL-OTJ/_components/ILComponents.d.ts.map +1 -0
  738. package/dist/types/src/features/IL-OTJ/_components/ILPopup.d.ts +1 -0
  739. package/dist/types/src/features/IL-OTJ/_components/ILPopup.d.ts.map +1 -1
  740. package/dist/types/src/features/IL-OTJ/_components/LearningDetailsForm.d.ts +71 -0
  741. package/dist/types/src/features/IL-OTJ/_components/LearningDetailsForm.d.ts.map +1 -0
  742. package/dist/types/src/features/IL-OTJ/_components/MessageRendering/CustomComponents.d.ts +10 -0
  743. package/dist/types/src/features/IL-OTJ/_components/MessageRendering/CustomComponents.d.ts.map +1 -0
  744. package/dist/types/src/features/IL-OTJ/_components/MessageRendering/MarkdownElements.d.ts +25 -0
  745. package/dist/types/src/features/IL-OTJ/_components/MessageRendering/MarkdownElements.d.ts.map +1 -0
  746. package/dist/types/src/features/IL-OTJ/_components/MessageRendering/MessageRendering.d.ts.map +1 -1
  747. package/dist/types/src/features/IL-OTJ/_components/MessageRendering.d.ts +14 -0
  748. package/dist/types/src/features/IL-OTJ/_components/MessageRendering.d.ts.map +1 -0
  749. package/dist/types/src/features/IL-OTJ/_components/RuleValidationCard.d.ts +30 -0
  750. package/dist/types/src/features/IL-OTJ/_components/RuleValidationCard.d.ts.map +1 -0
  751. package/dist/types/src/features/IL-OTJ/_components/SimilarLearningCard.d.ts +20 -0
  752. package/dist/types/src/features/IL-OTJ/_components/SimilarLearningCard.d.ts.map +1 -0
  753. package/dist/types/src/features/IL-OTJ/_components/TemplateRetrievalForm.d.ts +50 -0
  754. package/dist/types/src/features/IL-OTJ/_components/TemplateRetrievalForm.d.ts.map +1 -0
  755. package/dist/types/src/features/IL-OTJ/_components/atoms/Button.d.ts +7 -0
  756. package/dist/types/src/features/IL-OTJ/_components/atoms/Button.d.ts.map +1 -0
  757. package/dist/types/src/features/IL-OTJ/_components/atoms/Dropdown.d.ts +13 -0
  758. package/dist/types/src/features/IL-OTJ/_components/atoms/Dropdown.d.ts.map +1 -0
  759. package/dist/types/src/features/IL-OTJ/_components/atoms/Textarea.d.ts +6 -0
  760. package/dist/types/src/features/IL-OTJ/_components/atoms/Textarea.d.ts.map +1 -0
  761. package/dist/types/src/features/IL-OTJ/_components/atoms/Toggle.d.ts +7 -0
  762. package/dist/types/src/features/IL-OTJ/_components/atoms/Toggle.d.ts.map +1 -0
  763. package/dist/types/src/features/IL-OTJ/_components/atoms/index.d.ts +4 -0
  764. package/dist/types/src/features/IL-OTJ/_components/atoms/index.d.ts.map +1 -0
  765. package/dist/types/src/features/IL-OTJ/_components/molecules/Condition/ConditionList.d.ts +1 -0
  766. package/dist/types/src/features/IL-OTJ/_components/molecules/Condition/ConditionList.d.ts.map +1 -1
  767. package/dist/types/src/features/IL-OTJ/_components/molecules/ConditionList.d.ts +16 -0
  768. package/dist/types/src/features/IL-OTJ/_components/molecules/ConditionList.d.ts.map +1 -0
  769. package/dist/types/src/features/IL-OTJ/_components/molecules/SectionWrapper.d.ts +14 -0
  770. package/dist/types/src/features/IL-OTJ/_components/molecules/SectionWrapper.d.ts.map +1 -0
  771. package/dist/types/src/features/IL-OTJ/_components/molecules/SeparationRow.d.ts +10 -0
  772. package/dist/types/src/features/IL-OTJ/_components/molecules/SeparationRow.d.ts.map +1 -0
  773. package/dist/types/src/features/IL-OTJ/_components/molecules/index.d.ts +4 -0
  774. package/dist/types/src/features/IL-OTJ/_components/molecules/index.d.ts.map +1 -0
  775. package/dist/types/src/features/IL-OTJ/_components/organisms/ConditionSection.d.ts +2 -0
  776. package/dist/types/src/features/IL-OTJ/_components/organisms/ConditionSection.d.ts.map +1 -0
  777. package/dist/types/src/features/IL-OTJ/_components/organisms/ConfigSection.d.ts +2 -0
  778. package/dist/types/src/features/IL-OTJ/_components/organisms/ConfigSection.d.ts.map +1 -0
  779. package/dist/types/src/features/IL-OTJ/_components/organisms/ScopeSection.d.ts +25 -0
  780. package/dist/types/src/features/IL-OTJ/_components/organisms/ScopeSection.d.ts.map +1 -0
  781. package/dist/types/src/features/IL-OTJ/_components/organisms/TextSection.d.ts +2 -0
  782. package/dist/types/src/features/IL-OTJ/_components/organisms/TextSection.d.ts.map +1 -0
  783. package/dist/types/src/features/IL-OTJ/_components/organisms/index.d.ts +5 -0
  784. package/dist/types/src/features/IL-OTJ/_components/organisms/index.d.ts.map +1 -0
  785. package/dist/types/src/features/IL-OTJ/_components/templates/AudactyTemplate.d.ts +2 -0
  786. package/dist/types/src/features/IL-OTJ/_components/templates/AudactyTemplate.d.ts.map +1 -0
  787. package/dist/types/src/features/IL-OTJ/_components/templates/RuleComparison/AgentComposerRuleComparison.d.ts +54 -0
  788. package/dist/types/src/features/IL-OTJ/_components/templates/RuleComparison/AgentComposerRuleComparison.d.ts.map +1 -0
  789. package/dist/types/src/features/IL-OTJ/_components/templates/TemplatesMap/templatesMap.d.ts +2 -1
  790. package/dist/types/src/features/IL-OTJ/_components/templates/TemplatesMap/templatesMap.d.ts.map +1 -1
  791. package/dist/types/src/features/IL-OTJ/_components/templates/Testing.d.ts +2 -0
  792. package/dist/types/src/features/IL-OTJ/_components/templates/Testing.d.ts.map +1 -0
  793. package/dist/types/src/features/IL-OTJ/_components/templates/TrafficManager/TrafficManagerTemplate.d.ts.map +1 -1
  794. package/dist/types/src/features/IL-OTJ/_components/templates/TrafficManagerTemplate.d.ts +2 -0
  795. package/dist/types/src/features/IL-OTJ/_components/templates/TrafficManagerTemplate.d.ts.map +1 -0
  796. package/dist/types/src/features/IL-OTJ/_components/templates/WorkflowComposer/WorkflowComposer.d.ts +2 -0
  797. package/dist/types/src/features/IL-OTJ/_components/templates/WorkflowComposer/WorkflowComposer.d.ts.map +1 -0
  798. package/dist/types/src/features/IL-OTJ/_components/templates/index.d.ts +3 -0
  799. package/dist/types/src/features/IL-OTJ/_components/templates/index.d.ts.map +1 -0
  800. package/dist/types/src/features/IL-OTJ/_components/templates/templatesMap.d.ts +7 -0
  801. package/dist/types/src/features/IL-OTJ/_components/templates/templatesMap.d.ts.map +1 -0
  802. package/dist/types/src/features/IL-OTJ/helpers/message-rendering-utils.d.ts +25 -0
  803. package/dist/types/src/features/IL-OTJ/helpers/message-rendering-utils.d.ts.map +1 -0
  804. package/dist/types/src/features/IL-OTJ/helpers/utils.d.ts +6 -0
  805. package/dist/types/src/features/IL-OTJ/helpers/utils.d.ts.map +1 -1
  806. package/dist/types/src/features/IL-OTJ/hooks/useHeaderObserver.d.ts +13 -0
  807. package/dist/types/src/features/IL-OTJ/hooks/useHeaderObserver.d.ts.map +1 -0
  808. package/package.json +1 -1
  809. package/dist/cjs/features/IL-OTJ/_components/ViewInterpretedFieldsCard.js +0 -2
  810. package/dist/cjs/features/IL-OTJ/_components/ViewInterpretedFieldsCard.js.map +0 -1
  811. package/dist/features/IL-OTJ/_components/ViewInterpretedFieldsCard.js +0 -2
  812. package/dist/features/IL-OTJ/_components/ViewInterpretedFieldsCard.js.map +0 -1
  813. package/dist/types/src/features/IL-OTJ/_components/ViewInterpretedFieldsCard.d.ts +0 -2
  814. package/dist/types/src/features/IL-OTJ/_components/ViewInterpretedFieldsCard.d.ts.map +0 -1
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../../node_modules/tslib/tslib.es6.mjs.js"),i=require("react/jsx-runtime"),o=require("../../organisms/TextSection/TextSection.js"),n=require("../../organisms/ConditionSection/ConditionSection.js"),t=require("../../organisms/ScopeSection/ScopeSection.js"),a=require("../../organisms/ConfigSection/ConfigSection.js");exports.TrafficManagerTemplate=function(r){var s=r.state,l=r.handlers,d=r.uiState,p=[e.__assign({key:"orderSeparation",label:"Order"},s.configData.orderSeparation),e.__assign({key:"advertiserSeparation",label:"Advertiser"},s.configData.advertiserSeparation)],c=[{key:"inventoryCode",label:"Inventory code",enabled:s.configData.inventoryCode},{key:"breakCode",label:"Break Code",enabled:s.configData.breakCode}];return i.jsxs("div",e.__assign({className:"traffic-manager-template"},{children:[i.jsx(o.TextSection,e.__assign({id:"why-this-learning",title:"Why this learning",rows:4,placeholder:"Enter a short, descriptive title for the rule",required:!0,value:s.whyThisLearning,onChange:l.setWhyThisLearning},d)),i.jsx(n.ConditionSection,e.__assign({id:"when-to-apply",title:"When to apply",required:!0,conditions:s.whenToApplyConditions,onAdd:l.addWhenToApply,onRemove:l.removeWhenToApply,onEdit:l.editWhenToApply},d)),i.jsx(n.ConditionSection,e.__assign({id:"when-not-to-apply",title:"When NOT to apply",required:!1,conditions:s.whenNotToApplyConditions,onAdd:l.addWhenNotToApply,onRemove:l.removeWhenNotToApply,onEdit:l.editWhenNotToApply},d)),i.jsx(t.ScopeSection,e.__assign({id:"scope",required:!0,scopeData:s.scopeData,onScopeChange:l.onScopeChange,stationOptions:[{label:"WFUN",value:"WFUN"},{label:"KYKY",value:"KYKY"},{label:"KRBQ",value:"KRBQ"}],tierOptions:["Tier 1","Tier 2"],stationLabel:"Station",tierLabel:"Which tiers should this rule apply to?"},d)),i.jsx(a.ConfigSection,e.__assign({id:"config",title:"Configuration",required:!0,separationItems:p,toggles:c,onConfigChange:l.onConfigChange},d))]}))};
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../../node_modules/tslib/tslib.es6.mjs.js"),i=require("react/jsx-runtime"),o=require("../../organisms/TextSection/TextSection.js"),n=require("../../organisms/ConditionSection/ConditionSection.js"),t=require("../../organisms/ScopeSection/ScopeSection.js"),a=require("../../organisms/ConfigSection/ConfigSection.js");exports.TrafficManagerTemplate=function(r){var s=r.state,l=r.handlers,d=r.uiState,p=[e.__assign({key:"orderSeparation",label:"Order"},s.configData.orderSeparation),e.__assign({key:"advertiserSeparation",label:"Advertiser"},s.configData.advertiserSeparation)],c=[{key:"inventoryCode",label:"Inventory code",enabled:s.configData.inventoryCode},{key:"breakCode",label:"Break Code",enabled:s.configData.breakCode}];return i.jsxs("div",e.__assign({className:"traffic-manager-template"},{children:[i.jsx(o.TextSection,e.__assign({id:"why-this-learning",title:"Why this learning",rows:4,placeholder:"Enter a short, descriptive title for the rule",required:!0,value:s.whyThisLearning,onChange:l.setWhyThisLearning},d)),i.jsx(n.ConditionSection,e.__assign({},d,{id:"when-to-apply",title:"When to apply",required:!0,conditions:s.whenToApplyConditions,onAdd:l.addWhenToApply,onRemove:l.removeWhenToApply,onEdit:l.editWhenToApply,errorMessage:d.validationErrors["when-to-apply"],conflictView:s.conflict_view})),i.jsx(n.ConditionSection,e.__assign({},d,{id:"when-not-to-apply",title:"When NOT to apply",required:!1,conditions:s.whenNotToApplyConditions,onAdd:l.addWhenNotToApply,onRemove:l.removeWhenNotToApply,onEdit:l.editWhenNotToApply,errorMessage:d.validationErrors["when-not-to-apply"],conflictView:s.conflict_view})),i.jsx(t.ScopeSection,e.__assign({id:"scope",required:!0,scopeData:s.scopeData,onScopeChange:l.onScopeChange,stationOptions:[{label:"WFUN",value:"WFUN"},{label:"KYKY",value:"KYKY"},{label:"KRBQ",value:"KRBQ"}],tierOptions:["Tier 1","Tier 2"],stationLabel:"Station",tierLabel:"Which tiers should this rule apply to?"},d)),i.jsx(a.ConfigSection,e.__assign({id:"config",title:"Configuration",required:!0,separationItems:p,toggles:c,onConfigChange:l.onConfigChange},d))]}))};
2
2
  //# sourceMappingURL=TrafficManagerTemplate.js.map
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../../node_modules/tslib/tslib.es6.mjs.js"),i=require("react/jsx-runtime"),o=require("../organisms/ScopeSection.js"),n=require("../organisms/ConfigSection.js"),t=require("../organisms/TextSection.js"),s=require("../organisms/ConditionSection.js");exports.TrafficManagerTemplate=function(r){var a=r.state,l=r.handlers,p=r.uiState;return i.jsxs("div",e.__assign({className:"traffic-manager-template"},{children:[i.jsx(t.TextSection,e.__assign({id:"why-this-learning",title:"Why this learning",tooltipRequired:!0,tooltipTitle:"The reason for this learning.",placeholder:"Enter a short, descriptive title for the rule",required:!0,value:a.whyThisLearning,onChange:l.setWhyThisLearning},p)),i.jsx(s.ConditionSection,e.__assign({id:"when-to-apply",title:"When to apply",tooltipRequired:!0,tooltipTitle:"Specific situations or conditions where this learning should be applied.",required:!0,conditions:a.whenToApplyConditions,onAdd:l.addWhenToApply,onRemove:l.removeWhenToApply,onEdit:l.editWhenToApply},p)),i.jsx(s.ConditionSection,e.__assign({id:"when-not-to-apply",title:"When NOT to apply",tooltipRequired:!0,tooltipTitle:"Cases where this learning should not be applied to avoid incorrect responses.",required:!1,conditions:a.whenNotToApplyConditions,onAdd:l.addWhenNotToApply,onRemove:l.removeWhenNotToApply,onEdit:l.editWhenNotToApply},p)),i.jsx(o.ScopeSection,e.__assign({id:"scope",required:!0,scopeData:a.scopeData,onScopeChange:l.onScopeChange,stationOptions:[{label:"WFUN",value:"WFUN"},{label:"KYKY",value:"KYKY"},{label:"KRBQ",value:"KRBQ"}],tierOptions:["Tier 1","Tier 2","Tier 3"],stationLabel:"Station",tierLabel:"Where should this rule apply?"},p)),i.jsx(n.ConfigSection,e.__assign({id:"config",required:!0,configData:a.configData,onConfigChange:l.onConfigChange},p))]}))};
2
+ //# sourceMappingURL=TrafficManagerTemplate.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TrafficManagerTemplate.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var i=require("../../../../../node_modules/tslib/tslib.es6.mjs.js"),e=require("react/jsx-runtime"),n=require("react"),t=require("../../organisms/ConditionSection/ConditionSection.js"),o=require("../../organisms/TextSection/TextSection.js");exports.WorkflowComposer=function(l){var r,d,s,u=l.state,a=l.handlers,p=l.uiState,g=(null==p?void 0:p.highlights)||{},h=n.useState({}),c=h[0],v=h[1],y=function(e){v(function(n){var t;return i.__assign(i.__assign({},n),((t={})[e]=!n[e],t))})},T=function(i){var e,n=null===(e=u.fieldCitations)||void 0===e?void 0:e[i];return Array.isArray(n)&&n.length>0?n:u.citations};return e.jsx("div",i.__assign({className:"simple-guideline-template"},{children:e.jsxs("div",i.__assign({style:{display:"flex",flexDirection:"column",gap:"20px"}},{children:[e.jsx(o.TextSection,i.__assign({id:"guideline-title",title:"Guideline Title",rows:1,placeholder:"Enter a short, descriptive title for the guideline",required:!0,value:u.guidelineTitle,onChange:a.setGuidelineTitle,readOnly:null==p?void 0:p.isAiStreaming,isOpen:c.guidelineTitle,onToggle:function(){return y("guidelineTitle")},isHighlighted:g.guidelineTitle||!1,tooltipDescription:"Why this Title?",errorMessage:null===(r=null==p?void 0:p.validationErrors)||void 0===r?void 0:r.guidelineTitle},p)),e.jsx(o.TextSection,i.__assign({id:"guideline-description",title:"Guideline Description",rows:4,placeholder:"Describe what this guideline enforces or ensures",required:!0,value:u.guidelineDescription,onChange:a.setGuidelineDescription,readOnly:null==p?void 0:p.isAiStreaming,isOpen:c.guidelineDescription,onToggle:function(){return y("guidelineDescription")},isHighlighted:g.guidelineDescription||!1,tooltipDescription:"Why this Description?",errorMessage:null===(d=null==p?void 0:p.validationErrors)||void 0===d?void 0:d.guidelineDescription},p)),e.jsx(t.ConditionSection,i.__assign({id:"when-to-apply",title:"When to apply",required:!0,dividerRequired:!0,readOnly:null==p?void 0:p.isAiStreaming,conditions:u.whenToApplyConditions||[],onAdd:function(){return a.addWhenToApply()},onRemove:function(i,e,n){return a.removeWhenToApply(n)},onEdit:function(i,e,n,t){return a.editWhenToApply(n,t)},index:0,tierKey:"default",isHighlighted:g.wta||!1,highlightedIds:null==p?void 0:p.highlightedIds,tooltipDescription:"Why this Condition?",citations:T("whenToApply"),bordered:!0,addLabel:"Add When to apply",isAiStreaming:null==p?void 0:p.isAiStreaming,errorMessage:null===(s=null==p?void 0:p.validationErrors)||void 0===s?void 0:s.whenToApply},p)),e.jsx(t.ConditionSection,i.__assign({id:"when-not-to-apply",title:"When NOT to apply",required:!1,dividerRequired:!0,readOnly:null==p?void 0:p.isAiStreaming,conditions:u.whenNotToApplyConditions||[],onAdd:function(){return a.addWhenNotToApply()},onRemove:function(i,e,n){return a.removeWhenNotToApply(n)},onEdit:function(i,e,n,t){return a.editWhenNotToApply(n,t)},index:0,tierKey:"default",isHighlighted:g.wnta||!1,highlightedIds:null==p?void 0:p.highlightedIds,tooltipDescription:"Why this Condition?",citations:T("whenNotToApply"),bordered:!0,addLabel:"Add When NOT to apply",isAiStreaming:null==p?void 0:p.isAiStreaming},p))]}))}))};
2
+ //# sourceMappingURL=WorkflowComposer.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"WorkflowComposer.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e,t,a=require("./Testing.js"),r=require("./TrafficManagerTemplate.js");exports.TemplateList=void 0,(t=exports.TemplateList||(exports.TemplateList={})).TrafficManager="TRAFFIC_MANAGER",t.testing="TESTING";var s=((e={})[exports.TemplateList.TrafficManager]=r.TrafficManagerTemplate,e[exports.TemplateList.testing]=a.Testing,e);exports.TemplateMap=s;
2
+ //# sourceMappingURL=templatesMap.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"templatesMap.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";function r(r){return r.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r").replace(/\t/g,"\\t")}function e(e){try{return JSON.parse(e)}catch(a){var n=e;return n=(n=(n=n.replace(/,\s*([}\]])/g,"$1")).replace(/<ai_reasoning>[\s\S]*?<\/ai_reasoning>/g,function(e){return r(e)})).replace(/<explaination[\s\S]*?<\/explaination>/g,function(e){return r(e)}),JSON.parse(n)}}Object.defineProperty(exports,"__esModule",{value:!0});exports.buildAiReasoning=function(r){if(!r)return null;var e={id:null==r?void 0:r.id,reason:null==r?void 0:r.reason,gap:null==r?void 0:r.gap,score:(null==r?void 0:r.relevance_score)||(null==r?void 0:r.score)};return!(e.id||e.reason||e.gap||null!=e.score&&""!==e.score)?null:e},exports.extractReasoningFromText=function(r){if(null==r)return{text:"",aiReasoning:null};var e="",n=(e="string"==typeof r?r:Array.isArray(r)?r.join(", "):"object"==typeof r?JSON.stringify(r):String(r)).match(/<ai_reasoning>([\s\S]*?)<\/ai_reasoning>/i),a=null,t=e;if(n){var o=n[1],i=function(r){var e=o.match(new RegExp("<".concat(r,">([\\s\\S]*?)<\\/").concat(r,">"),"i"));return e?e[1].replace(/\\n/g,"\n").trim():""};a={id:i("id"),reason:i("reason"),gap:i("gap"),score:i("relevance_score")||i("score")},t=e.replace(/<ai_reasoning>[\s\S]*?<\/ai_reasoning>/gi,"").trim()}return{text:t,aiReasoning:a}},exports.parseJsonBlocks=function(r){for(var n,a=/<!--```json\s+property="([^"]+)"\s*([\s\S]*?)```-->/g,t=[];null!==(n=a.exec(r));){var o=n[0],i=n[1],s=n[2].trim();try{var c=e(s);t.push({property:i,data:c,rawMatch:o})}catch(r){console.warn('Failed to parse JSON for property="'.concat(i,'":'),r),t.push({property:i,data:null,rawMatch:o})}}return t},exports.safeParse=e,exports.sanitizeBlock=r;
2
+ //# sourceMappingURL=message-rendering-utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"message-rendering-utils.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -1,2 +1,2 @@
1
- "use strict";function r(t){return null===t?"":Array.isArray(t)?t.map(r):"object"==typeof t&&null!==t?Object.fromEntries(Object.entries(t).map(function(t){return[t[0],r(t[1])]})):t}Object.defineProperty(exports,"__esModule",{value:!0});exports.extractAndParseResponse=function(t){var e=t.match(/```json\s*(\{[\s\S]*?\})\s*```/);if(!e||!e[1])return console.error("Could not find JSON block in the response."),null;var n=e[1];try{return r(JSON.parse(n))}catch(r){return console.error("Error parsing JSON:",r),null}},exports.extractTextFromChildren=function r(t){return"string"==typeof t?t:Array.isArray(t)?t.map(r).join(""):"object"==typeof t&&null!==t&&"props"in t?r(t.props.children):""},exports.extractVariantIds=function(r){try{if((null==r?void 0:r.variant_ids)&&Array.isArray(r.variant_ids))return r.variant_ids;if("string"==typeof r){for(var t=/<!--\s*```json\s*([\s\S]*?)\s*```\s*-->/g,e=void 0;null!==(e=t.exec(r));)try{if((null==(i=JSON.parse(e[1].trim()))?void 0:i.variant_ids)&&Array.isArray(i.variant_ids))return i.variant_ids}catch(r){continue}for(var n=/```json\s*([\s\S]*?)\s*```/g,a=void 0;null!==(a=n.exec(r));)try{if((null==(i=JSON.parse(a[1].trim()))?void 0:i.variant_ids)&&Array.isArray(i.variant_ids))return i.variant_ids}catch(r){continue}try{var i;if((null==(i=JSON.parse(r))?void 0:i.variant_ids)&&Array.isArray(i.variant_ids))return i.variant_ids}catch(r){}}return null}catch(r){return console.error("Error extracting variant_ids:",r),null}},exports.parseValidationData=function(r){if("object"==typeof r&&null!==r)return r;if("string"!=typeof r)return null;try{return JSON.parse(r.trim())}catch(e){try{var t=r.replace(/```json|```/g,"").trim();return JSON.parse(t)}catch(r){return console.error("Critical: Could not parse Validation Agent response",r),null}}},exports.useHeaderObserver=function(r){var t=r.handlers,e=r.setResult;return{processHeaderMessage:function(r){var n,a=null===(n=null==r?void 0:r.header_message)||void 0===n?void 0:n.trim(),i=null==r?void 0:r.responsedata;a&&t&&e&&t[a]&&t[a](i,e)}}};
1
+ "use strict";function r(e){return null===e?"":Array.isArray(e)?e.map(r):"object"==typeof e&&null!==e?Object.fromEntries(Object.entries(e).map(function(e){return[e[0],r(e[1])]})):e}Object.defineProperty(exports,"__esModule",{value:!0});exports.extractAndParseResponse=function(e){var t=e.match(/```json\s*(\{[\s\S]*?\})\s*```/);if(!t||!t[1])return console.error("Could not find JSON block in the response."),null;var n=t[1];try{return r(JSON.parse(n))}catch(r){return console.error("Error parsing JSON:",r),null}},exports.extractAndParseWithProperty=function(e,t){void 0===t&&(t="updated_fields");var n=new RegExp('```json\\s+property="'+t+'"\\s*({[\\s\\S]*?})\\s*```');console.log("Extracting JSON for property: ".concat(t,"..."));var a=e.match(n);if(!a||!a[1])return console.error('Could not find JSON block with property="'.concat(t,'"')),null;var o=a[1];try{return o=o.replace(/<ai_reasoning>[\s\S]*?<\/ai_reasoning>/g,""),r(JSON.parse(o))}catch(r){return console.error("Error parsing JSON:",r),console.log("Cleaned string that failed parse:",o),null}},exports.extractTextFromChildren=function r(e){return"string"==typeof e?e:Array.isArray(e)?e.map(r).join(""):"object"==typeof e&&null!==e&&"props"in e?r(e.props.children):""},exports.extractVariantIds=function(r){try{if((null==r?void 0:r.variant_ids)&&Array.isArray(r.variant_ids))return r.variant_ids;if("string"==typeof r){for(var e=/<!--\s*```json\s*([\s\S]*?)\s*```\s*-->/g,t=void 0;null!==(t=e.exec(r));)try{if((null==(o=JSON.parse(t[1].trim()))?void 0:o.variant_ids)&&Array.isArray(o.variant_ids))return o.variant_ids}catch(r){continue}for(var n=/```json\s*([\s\S]*?)\s*```/g,a=void 0;null!==(a=n.exec(r));)try{if((null==(o=JSON.parse(a[1].trim()))?void 0:o.variant_ids)&&Array.isArray(o.variant_ids))return o.variant_ids}catch(r){continue}try{var o;if((null==(o=JSON.parse(r))?void 0:o.variant_ids)&&Array.isArray(o.variant_ids))return o.variant_ids}catch(r){}}return null}catch(r){return console.error("Error extracting variant_ids:",r),null}},exports.parseValidationData=function(r){if("object"==typeof r&&null!==r)return r;if("string"!=typeof r)return null;try{return JSON.parse(r.trim())}catch(t){try{var e=r.replace(/```json|```/g,"").trim();return JSON.parse(e)}catch(r){return console.error("Critical: Could not parse Validation Agent response",r),null}}},exports.useHeaderObserver=function(r){var e=r.handlers,t=r.setResult;return{processHeaderMessage:function(r){var n,a=null===(n=null==r?void 0:r.header_message)||void 0===n?void 0:n.trim(),o=null==r?void 0:r.responsedata;a&&e&&t&&e[a]&&e[a](o,t)}}};
2
2
  //# sourceMappingURL=utils.js.map
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.useHeaderObserver=function(e){var r=e.handlers,s=e.setResult;return{processHeaderMessage:function(e){var t,o=null===(t=null==e?void 0:e.header_message)||void 0===t?void 0:t.trim(),a=null==e?void 0:e.responsedata;o&&r&&r[o]&&r[o](a,s)}}};
2
+ //# sourceMappingURL=useHeaderObserver.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useHeaderObserver.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";require("../../../node_modules/style-inject/dist/style-inject.es.js").default(".ChatComponent_welcome-message__gZTaA{align-items:flex-start;animation:ChatComponent_fadeSlideIn__Q97RK 1.2s ease-out forwards;border-radius:.5rem;color:#333;display:fixed;font-size:1rem;line-height:1.75rem;max-width:100%;opacity:0;overflow-wrap:break-word;padding:1rem;transform:translateY(10px);white-space:pre-wrap;word-break:break-word}@keyframes ChatComponent_fadeSlideIn__Q97RK{to{opacity:1;transform:translateY(0)}}");
2
+ //# sourceMappingURL=ChatComponent.css.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatComponent.css.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("../../../node_modules/tslib/tslib.es6.mjs.js"),s=require("react/jsx-runtime"),r=require("../../../node_modules/@material-ui/core/esm/Tooltip/Tooltip.js");require("../../../node_modules/@material-ui/utils/esm/elementAcceptingRef.js"),require("../../../node_modules/@material-ui/utils/esm/elementTypeAcceptingRef.js"),require("../../../_virtual/index18.js"),require("../../../node_modules/@material-ui/utils/esm/ponyfillGlobal.js"),require("../../../node_modules/@material-ui/utils/esm/refType.js"),require("../../../node_modules/@material-ui/core/esm/styles/createPalette.js"),require("../../../node_modules/@material-ui/system/esm/borders.js"),require("../../../_virtual/index.js"),require("../../../node_modules/@material-ui/system/esm/display.js"),require("../../../node_modules/@material-ui/system/esm/flexbox.js"),require("../../../node_modules/@material-ui/system/esm/grid.js"),require("../../../node_modules/@material-ui/system/esm/palette.js"),require("../../../node_modules/@material-ui/system/esm/positions.js"),require("../../../node_modules/@material-ui/system/esm/shadows.js"),require("../../../node_modules/@material-ui/system/esm/sizing.js"),require("../../../node_modules/@material-ui/system/esm/spacing.js"),require("../../../node_modules/@material-ui/system/esm/responsivePropType.js"),require("../../../node_modules/@material-ui/system/esm/typography.js"),require("../../../node_modules/@material-ui/styles/esm/index.js");var i=require("../../../node_modules/@material-ui/core/esm/styles/makeStyles.js");require("../../../node_modules/@material-ui/core/esm/styles/defaultTheme.js"),require("react"),require("../../../node_modules/@material-ui/core/esm/styles/withTheme.js");var t=i.default(function(){return{tooltip:{fontFamily:"Plus Jakarta Sans, sans-serif",backgroundColor:"#555",color:"#fff",fontSize:12,padding:"5px 8px",borderRadius:6,maxWidth:250,textAlign:"center",whiteSpace:"normal",wordWrap:"break-word",lineHeight:1.4},arrow:{color:"#555"}}});exports.default=function(i){var l=i.description,o=i.children,u=t();return s.jsx(r.default,e.__assign({title:s.jsx("span",{children:l}),classes:{tooltip:u.tooltip,arrow:u.arrow},arrow:!0,placement:"top"},{children:s.jsx("span",e.__assign({style:{display:"inline-block"}},{children:o}))}))};
2
+ //# sourceMappingURL=TooltipComponent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TooltipComponent.js","sources":[],"sourcesContent":[],"names":[],"mappings":""}
package/dist/cjs/index.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./features/InstantLearning/InstantLearning.js"),t=require("./features/WtaWnta/WtaWnta.js"),r=require("./features/DocumentLearning/DocumentLearning.js"),o=require("./features/IL-OTJ/ILOTJ.js"),s=require("./features/IL-OTJ/_components/atoms/Button/Button.js"),n=require("./features/IL-OTJ/_components/atoms/Dropdown/Dropdown.js"),a=require("./features/IL-OTJ/_components/atoms/Toggle/Toggle.js"),i=require("./features/IL-OTJ/_components/atoms/Textarea/Textarea.js"),p=require("./features/IL-OTJ/_components/molecules/Condition/ConditionList.js"),u=require("./features/IL-OTJ/_components/molecules/Sections/SectionWrapper.js"),c=require("./features/IL-OTJ/_components/molecules/SeperationRow/SeparationRow.js"),T=require("./features/IL-OTJ/_components/organisms/ConfigSection/ConfigSection.js"),x=require("./features/IL-OTJ/_components/organisms/TextSection/TextSection.js"),f=require("./features/IL-OTJ/_components/organisms/ScopeSection/ScopeSection.js"),m=require("./features/IL-OTJ/_components/organisms/ConditionSection/ConditionSection.js"),l=require("./features/IL-OTJ/_components/templates/TrafficManager/TrafficManagerTemplate.js"),g=require("./features/IL-OTJ/_components/templates/Testing/Testing.js"),L=require("./features/IL-OTJ/_components/templates/TemplatesMap/templatesMap.js"),d=require("./features/IL-OTJ/helpers/utils.js"),I=require("./features/IL-OTJ/store/CitationsContext.js"),S=require("./features/IL-OTJ/ILOTJTest.js");exports.InstantLearning=e.default,exports.WtaWnta=t.default,exports.BookLearning=r.default,exports.ILOTJ=o.default,exports.Button=s.Button,exports.Dropdown=n.Dropdown,exports.Toggle=a.Toggle,exports.Textarea=i.Textarea,exports.ConditionList=p.ConditionList,exports.SectionWrapper=u.SectionWrapper,exports.SeparationRow=c.SeparationRow,exports.ConfigSection=T.ConfigSection,exports.TextSection=x.TextSection,exports.ScopeSection=f.ScopeSection,exports.ConditionSection=m.ConditionSection,exports.TrafficManagerTemplate=l.TrafficManagerTemplate,exports.Testing=g.Testing,Object.defineProperty(exports,"TemplateList",{enumerable:!0,get:function(){return L.TemplateList}}),exports.TemplateMap=L.TemplateMap,exports.extractAndParseResponse=d.extractAndParseResponse,exports.extractTextFromChildren=d.extractTextFromChildren,exports.extractVariantIds=d.extractVariantIds,exports.parseValidationData=d.parseValidationData,exports.useHeaderObserver=d.useHeaderObserver,exports.CitationProvider=I.CitationProvider,exports.useCitations=I.useCitations,exports.getVariantInfo=S.getVariantInfo;
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("./features/InstantLearning/InstantLearning.js"),t=require("./features/WtaWnta/WtaWnta.js"),r=require("./features/DocumentLearning/DocumentLearning.js"),o=require("./features/IL-OTJ/ILOTJ.js"),s=require("./features/IL-OTJ/_components/atoms/Button/Button.js"),n=require("./features/IL-OTJ/_components/atoms/Dropdown/Dropdown.js"),a=require("./features/IL-OTJ/_components/atoms/Toggle/Toggle.js"),i=require("./features/IL-OTJ/_components/atoms/Textarea/Textarea.js"),p=require("./features/IL-OTJ/_components/molecules/Condition/ConditionList.js"),u=require("./features/IL-OTJ/_components/molecules/Sections/SectionWrapper.js"),c=require("./features/IL-OTJ/_components/molecules/SeperationRow/SeparationRow.js"),T=require("./features/IL-OTJ/_components/organisms/ConfigSection/ConfigSection.js"),x=require("./features/IL-OTJ/_components/organisms/TextSection/TextSection.js"),f=require("./features/IL-OTJ/_components/organisms/ScopeSection/ScopeSection.js"),m=require("./features/IL-OTJ/_components/organisms/ConditionSection/ConditionSection.js"),l=require("./features/IL-OTJ/_components/templates/TrafficManager/TrafficManagerTemplate.js"),d=require("./features/IL-OTJ/_components/templates/Testing/Testing.js"),g=require("./features/IL-OTJ/_components/templates/TemplatesMap/templatesMap.js"),L=require("./features/IL-OTJ/helpers/utils.js"),I=require("./features/IL-OTJ/store/CitationsContext.js"),S=require("./features/IL-OTJ/ILOTJTest.js");exports.InstantLearning=e.default,exports.WtaWnta=t.default,exports.BookLearning=r.default,exports.ILOTJ=o.default,exports.Button=s.Button,exports.Dropdown=n.Dropdown,exports.Toggle=a.Toggle,exports.Textarea=i.Textarea,exports.ConditionList=p.ConditionList,exports.SectionWrapper=u.SectionWrapper,exports.SeparationRow=c.SeparationRow,exports.ConfigSection=T.ConfigSection,exports.TextSection=x.TextSection,exports.ScopeSection=f.ScopeSection,exports.ConditionSection=m.ConditionSection,exports.TrafficManagerTemplate=l.TrafficManagerTemplate,exports.Testing=d.Testing,Object.defineProperty(exports,"TemplateList",{enumerable:!0,get:function(){return g.TemplateList}}),exports.TemplateMap=g.TemplateMap,exports.extractAndParseResponse=L.extractAndParseResponse,exports.extractAndParseWithProperty=L.extractAndParseWithProperty,exports.extractTextFromChildren=L.extractTextFromChildren,exports.extractVariantIds=L.extractVariantIds,exports.parseValidationData=L.parseValidationData,exports.useHeaderObserver=L.useHeaderObserver,exports.CitationProvider=I.CitationProvider,exports.useCitations=I.useCitations,exports.getVariantInfo=S.getVariantInfo;
2
2
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,2 @@
1
+ "use strict";function e(r){var t,o,f="";if("string"==typeof r||"number"==typeof r)f+=r;else if("object"==typeof r)if(Array.isArray(r))for(t=0;t<r.length;t++)r[t]&&(o=e(r[t]))&&(f&&(f+=" "),f+=o);else for(t in r)r[t]&&(f&&(f+=" "),f+=t);return f}function r(){for(var r,t,o=0,f="";o<arguments.length;)(r=arguments[o++])&&(t=e(r))&&(f&&(f+=" "),f+=t);return f}Object.defineProperty(exports,"__esModule",{value:!0}),exports.clsx=r,exports.default=r;
2
+ //# sourceMappingURL=clsx.m.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"clsx.m.js","sources":["../../../../../../../../../node_modules/@e-llm-studio/citation/dist/node_modules/clsx/dist/clsx.m.js"],"sourcesContent":["function r(e){var t,f,n=\"\";if(\"string\"==typeof e||\"number\"==typeof e)n+=e;else if(\"object\"==typeof e)if(Array.isArray(e))for(t=0;t<e.length;t++)e[t]&&(f=r(e[t]))&&(n&&(n+=\" \"),n+=f);else for(t in e)e[t]&&(n&&(n+=\" \"),n+=t);return n}function e(){for(var e,t,f=0,n=\"\";f<arguments.length;)(e=arguments[f++])&&(t=r(e))&&(n&&(n+=\" \"),n+=t);return n}export{e as clsx,e as default};\n//# sourceMappingURL=clsx.m.js.map\n"],"names":["r","e","t","f","n","Array","isArray","length","arguments"],"mappings":"aAAA,SAASA,EAAEC,GAAG,IAAIC,EAAEC,EAAEC,EAAE,GAAG,GAAG,iBAAiBH,GAAG,iBAAiBA,EAAEG,GAAGH,OAAO,GAAG,iBAAiBA,EAAE,GAAGI,MAAMC,QAAQL,GAAG,IAAIC,EAAE,EAAEA,EAAED,EAAEM,OAAOL,IAAID,EAAEC,KAAKC,EAAEH,EAAEC,EAAEC,OAAOE,IAAIA,GAAG,KAAKA,GAAGD,QAAQ,IAAID,KAAKD,EAAEA,EAAEC,KAAKE,IAAIA,GAAG,KAAKA,GAAGF,GAAG,OAAOE,CAAC,CAAC,SAASH,IAAI,IAAI,IAAIA,EAAEC,EAAEC,EAAE,EAAEC,EAAE,GAAGD,EAAEK,UAAUD,SAASN,EAAEO,UAAUL,QAAQD,EAAEF,EAAEC,MAAMG,IAAIA,GAAG,KAAKA,GAAGF,GAAG,OAAOE,CAAC"}
@@ -0,0 +1,2 @@
1
+ "use strict";var e,r;Object.defineProperty(exports,"__esModule",{value:!0}),exports.__require=function(){return r?e:(r=1,e=function(){throw new Error("ws does not work in the browser. Browser clients must use the native WebSocket object")})};
2
+ //# sourceMappingURL=browser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"browser.js","sources":["../../../../../../../node_modules/@e-llm-studio/streaming-response/node_modules/ws/browser.js"],"sourcesContent":["'use strict';\n\nmodule.exports = function () {\n throw new Error(\n 'ws does not work in the browser. Browser clients must use the native ' +\n 'WebSocket object'\n );\n};\n"],"names":["browser","Error"],"mappings":"yHAEAA,EAAiB,WACf,MAAM,IAAIC,MACR"}
@@ -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});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-find-and-replace/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}),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-find-and-replace/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-find-and-replace/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";function n(n){return e(n&&n.line)+":"+e(n&&n.column)}function t(t){return n(t&&t.start)+"-"+n(t&&t.end)}function e(n){return n&&"number"==typeof n?n:1}Object.defineProperty(exports,"__esModule",{value:!0}),exports.stringifyPosition=function(e){return e&&"object"==typeof e?"position"in e||"type"in e?t(e.position):"start"in e||"end"in e?t(e):"line"in e||"column"in e?n(e):"":""};
2
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../node_modules/mdast-util-from-markdown/node_modules/unist-util-stringify-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 * Serialize the positional info of a point, position (start and end points),\n * or node.\n *\n * @param {Node | NodeLike | Position | PositionLike | Point | PointLike | null | undefined} [value]\n * Node, position, or point.\n * @returns {string}\n * Pretty printed positional info of a node (`string`).\n *\n * In the format of a range `ls:cs-le:ce` (when given `node` or `position`)\n * or a point `l:c` (when given `point`), where `l` stands for line, `c` for\n * column, `s` for `start`, and `e` for end.\n * An empty string (`''`) is returned if the given value is neither `node`,\n * `position`, nor `point`.\n */\nexport function stringifyPosition(value) {\n // Nothing.\n if (!value || typeof value !== 'object') {\n return ''\n }\n\n // Node.\n if ('position' in value || 'type' in value) {\n return position(value.position)\n }\n\n // Position.\n if ('start' in value || 'end' in value) {\n return position(value)\n }\n\n // Point.\n if ('line' in value || 'column' in value) {\n return point(value)\n }\n\n // ?\n return ''\n}\n\n/**\n * @param {Point | PointLike | null | undefined} point\n * @returns {string}\n */\nfunction point(point) {\n return index(point && point.line) + ':' + index(point && point.column)\n}\n\n/**\n * @param {Position | PositionLike | null | undefined} pos\n * @returns {string}\n */\nfunction position(pos) {\n return point(pos && pos.start) + '-' + point(pos && pos.end)\n}\n\n/**\n * @param {number | null | undefined} value\n * @returns {number}\n */\nfunction index(value) {\n return value && typeof value === 'number' ? value : 1\n}\n"],"names":["point","index","line","column","position","pos","start","end","value"],"mappings":"aAiEA,SAASA,EAAMA,GACb,OAAOC,EAAMD,GAASA,EAAME,MAAQ,IAAMD,EAAMD,GAASA,EAAMG,OACjE,CAMA,SAASC,EAASC,GAChB,OAAOL,EAAMK,GAAOA,EAAIC,OAAS,IAAMN,EAAMK,GAAOA,EAAIE,IAC1D,CAMA,SAASN,EAAMO,GACb,OAAOA,GAA0B,iBAAVA,EAAqBA,EAAQ,CACtD,kFA/CO,SAA2BA,GAEhC,OAAKA,GAA0B,iBAAVA,EAKjB,aAAcA,GAAS,SAAUA,EAC5BJ,EAASI,EAAMJ,UAIpB,UAAWI,GAAS,QAASA,EACxBJ,EAASI,GAId,SAAUA,GAAS,WAAYA,EAC1BR,EAAMQ,GAIR,GAnBE,EAoBX"}
@@ -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"}