@glodon-aiot/agent-cli-ui 0.0.0-20251106104234
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.
- package/README.git.md +73 -0
- package/README.lib.md +135 -0
- package/dist/es/AgentClientUI.mjs +150 -0
- package/dist/es/Dialog/AgentChat/HistoryItem/FileItem/index.mjs +95 -0
- package/dist/es/Dialog/AgentChat/HistoryItem/InputProgress/index.mjs +38 -0
- package/dist/es/Dialog/AgentChat/HistoryItem/SearchReference/index.mjs +101 -0
- package/dist/es/Dialog/AgentChat/HistoryItem/SessionAction/index.mjs +251 -0
- package/dist/es/Dialog/AgentChat/HistoryItem/SessionRefer/ReferItem/index.mjs +86 -0
- package/dist/es/Dialog/AgentChat/HistoryItem/SessionRefer/index.mjs +92 -0
- package/dist/es/Dialog/AgentChat/HistoryItem/SessionRelated/index.mjs +46 -0
- package/dist/es/Dialog/AgentChat/HistoryItem/index.mjs +365 -0
- package/dist/es/Dialog/AgentChat/PromptSetting/index.mjs +105 -0
- package/dist/es/Dialog/AgentChat/Tools/ConnectToNetwork/index.mjs +92 -0
- package/dist/es/Dialog/AgentChat/Tools/PromptManager/PromptList/PromptListItem.mjs +89 -0
- package/dist/es/Dialog/AgentChat/Tools/PromptManager/PromptList/PublicPromptList.mjs +47 -0
- package/dist/es/Dialog/AgentChat/Tools/PromptManager/PromptList/access/empty.svg.mjs +4 -0
- package/dist/es/Dialog/AgentChat/Tools/PromptManager/index.mjs +120 -0
- package/dist/es/Dialog/AgentChat/Tools/SessionHistoryDrawer/index.mjs +48 -0
- package/dist/es/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/NameEditPanel.mjs +47 -0
- package/dist/es/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/SessionItem.mjs +135 -0
- package/dist/es/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/index.mjs +130 -0
- package/dist/es/Dialog/AgentChat/Tools/SessionListDrawer/index.mjs +44 -0
- package/dist/es/Dialog/AgentChat/Tools/UploadKnowledgeFiles/ClearModal/index.mjs +50 -0
- package/dist/es/Dialog/AgentChat/Tools/UploadKnowledgeFiles/FileCard/index.mjs +128 -0
- package/dist/es/Dialog/AgentChat/Tools/UploadKnowledgeFiles/index.mjs +413 -0
- package/dist/es/Dialog/AgentChat/index.mjs +1045 -0
- package/dist/es/Dialog/SessionList/index.mjs +323 -0
- package/dist/es/Dialog/UploadingPrompt/index.mjs +64 -0
- package/dist/es/Dialog/index.mjs +180 -0
- package/dist/es/Footer/FooterWarning.mjs +24 -0
- package/dist/es/Footer/index.mjs +17 -0
- package/dist/es/QuillEditor/index.mjs +231 -0
- package/dist/es/ReactTextGenerationUI/components/TextSiders/index.mjs +406 -0
- package/dist/es/ReactTextGenerationUI/components/fetchEventSource/fetch.mjs +112 -0
- package/dist/es/ReactTextGenerationUI/components/fetchEventSource/parse.mjs +97 -0
- package/dist/es/ReactTextGenerationUI/index.mjs +81 -0
- package/dist/es/_virtual/_commonjsHelpers.mjs +8 -0
- package/dist/es/_virtual/index.mjs +4 -0
- package/dist/es/_virtual/index2.mjs +4 -0
- package/dist/es/_virtual/index3.mjs +4 -0
- package/dist/es/_virtual/lib.mjs +4 -0
- package/dist/es/_virtual/prism-core.mjs +4 -0
- package/dist/es/_virtual/types.mjs +4 -0
- package/dist/es/_virtual/ua-parser.min.mjs +4 -0
- package/dist/es/_virtual/utilities.mjs +4 -0
- package/dist/es/assets/brand.svg.mjs +4 -0
- package/dist/es/assets/doc-icons/doc.svg.mjs +4 -0
- package/dist/es/assets/doc-icons/docx.svg.mjs +4 -0
- package/dist/es/assets/doc-icons/pdf.svg.mjs +4 -0
- package/dist/es/assets/icon.svg.mjs +4 -0
- package/dist/es/assets/think.svg.mjs +4 -0
- package/dist/es/components/FilePreview/index.mjs +83 -0
- package/dist/es/components/Greeting/index.mjs +30 -0
- package/dist/es/components/Iconfont/index.mjs +12 -0
- package/dist/es/components/JsonDisplay/index.mjs +15 -0
- package/dist/es/components/KnowledgeList/KnowledgeSelect/index.mjs +67 -0
- package/dist/es/components/KnowledgeList/index.mjs +73 -0
- package/dist/es/components/Recommend/RecommendItem.mjs +100 -0
- package/dist/es/components/Recommend/index.mjs +76 -0
- package/dist/es/components/Recommend/tip.svg.mjs +4 -0
- package/dist/es/components/Sider/index.mjs +24 -0
- package/dist/es/components/WebLink/index.mjs +26 -0
- package/dist/es/constant.mjs +123 -0
- package/dist/es/context/SessionContext.mjs +26 -0
- package/dist/es/context.mjs +7 -0
- package/dist/es/hooks/useSessionState.mjs +6 -0
- package/dist/es/index.mjs +534 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.mjs +9 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.mjs +8 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/defineProperty.mjs +12 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/extends.mjs +13 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/iterableToArray.mjs +7 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/nonIterableSpread.mjs +7 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.mjs +15 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.mjs +15 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/toConsumableArray.mjs +10 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/toPrimitive.mjs +16 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/toPropertyKey.mjs +9 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/typeof.mjs +11 -0
- package/dist/es/node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.mjs +12 -0
- package/dist/es/node_modules/@react-spring/animated/dist/react-spring-animated.esm.mjs +201 -0
- package/dist/es/node_modules/@react-spring/core/dist/react-spring-core.esm.mjs +1087 -0
- package/dist/es/node_modules/@react-spring/rafz/dist/react-spring-rafz.esm.mjs +104 -0
- package/dist/es/node_modules/@react-spring/shared/dist/react-spring-shared.esm.mjs +568 -0
- package/dist/es/node_modules/@react-spring/web/dist/react-spring-web.esm.mjs +158 -0
- package/dist/es/node_modules/@ungap/structured-clone/esm/deserialize.mjs +70 -0
- package/dist/es/node_modules/@ungap/structured-clone/esm/index.mjs +11 -0
- package/dist/es/node_modules/@ungap/structured-clone/esm/serialize.mjs +124 -0
- package/dist/es/node_modules/@ungap/structured-clone/esm/types.mjs +13 -0
- package/dist/es/node_modules/@use-gesture/core/dist/actions-fe213e88.esm.mjs +847 -0
- package/dist/es/node_modules/@use-gesture/core/dist/maths-0ab39ae9.esm.mjs +35 -0
- package/dist/es/node_modules/@use-gesture/core/dist/use-gesture-core.esm.mjs +226 -0
- package/dist/es/node_modules/@use-gesture/react/dist/use-gesture-react.esm.mjs +33 -0
- package/dist/es/node_modules/antd-mobile/es/components/config-provider/config-provider.mjs +20 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/image-viewer.mjs +76 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/index.mjs +13 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/methods.mjs +34 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/slide.mjs +178 -0
- package/dist/es/node_modules/antd-mobile/es/components/image-viewer/slides.mjs +83 -0
- package/dist/es/node_modules/antd-mobile/es/components/mask/index.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/components/mask/mask.mjs +84 -0
- package/dist/es/node_modules/antd-mobile/es/components/safe-area/index.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/components/safe-area/safe-area.mjs +9 -0
- package/dist/es/node_modules/antd-mobile/es/global/index.mjs +3 -0
- package/dist/es/node_modules/antd-mobile/es/locales/zh-CN.mjs +141 -0
- package/dist/es/node_modules/antd-mobile/es/utils/attach-properties-to-component.mjs +9 -0
- package/dist/es/node_modules/antd-mobile/es/utils/bound.mjs +7 -0
- package/dist/es/node_modules/antd-mobile/es/utils/can-use-dom.mjs +4 -0
- package/dist/es/node_modules/antd-mobile/es/utils/convert-px.mjs +9 -0
- package/dist/es/node_modules/antd-mobile/es/utils/get-container.mjs +6 -0
- package/dist/es/node_modules/antd-mobile/es/utils/get-scroll-parent.mjs +22 -0
- package/dist/es/node_modules/antd-mobile/es/utils/matrix.mjs +11 -0
- package/dist/es/node_modules/antd-mobile/es/utils/native-props.mjs +12 -0
- package/dist/es/node_modules/antd-mobile/es/utils/render-imperatively.mjs +47 -0
- package/dist/es/node_modules/antd-mobile/es/utils/render-to-body.mjs +12 -0
- package/dist/es/node_modules/antd-mobile/es/utils/render-to-container.mjs +13 -0
- package/dist/es/node_modules/antd-mobile/es/utils/render.mjs +52 -0
- package/dist/es/node_modules/antd-mobile/es/utils/rubberband.mjs +11 -0
- package/dist/es/node_modules/antd-mobile/es/utils/should-render.mjs +10 -0
- package/dist/es/node_modules/antd-mobile/es/utils/supports-passive.mjs +15 -0
- package/dist/es/node_modules/antd-mobile/es/utils/use-drag-and-pinch.mjs +6 -0
- package/dist/es/node_modules/antd-mobile/es/utils/use-initialized.mjs +8 -0
- package/dist/es/node_modules/antd-mobile/es/utils/use-lock-scroll.mjs +54 -0
- package/dist/es/node_modules/antd-mobile/es/utils/use-touch.mjs +32 -0
- package/dist/es/node_modules/antd-mobile/es/utils/with-default-props.mjs +11 -0
- package/dist/es/node_modules/antd-mobile/es/utils/with-stop-propagation.mjs +19 -0
- package/dist/es/node_modules/ccount/index.mjs +12 -0
- package/dist/es/node_modules/character-reference-invalid/index.json.mjs +33 -0
- package/dist/es/node_modules/comma-separated-tokens/index.mjs +18 -0
- package/dist/es/node_modules/decode-named-character-reference/index.dom.mjs +14 -0
- package/dist/es/node_modules/devlop/lib/default.mjs +8 -0
- package/dist/es/node_modules/estree-util-is-identifier-name/lib/index.mjs +7 -0
- package/dist/es/node_modules/extend/index.mjs +46 -0
- package/dist/es/node_modules/hast-util-from-dom/lib/index.mjs +93 -0
- package/dist/es/node_modules/hast-util-from-dom/node_modules/web-namespaces/index.mjs +11 -0
- package/dist/es/node_modules/hast-util-from-html-isomorphic/lib/browser.mjs +16 -0
- package/dist/es/node_modules/hast-util-from-parse5/lib/index.mjs +162 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/index.mjs +12 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/aria.mjs +61 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/find.mjs +33 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/html.mjs +368 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/normalize.mjs +6 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/svg.mjs +566 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/case-insensitive-transform.mjs +7 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/case-sensitive-transform.mjs +6 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/create.mjs +14 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/defined-info.mjs +36 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/info.mjs +28 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/merge.mjs +10 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/schema.mjs +21 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/util/types.mjs +15 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/xlink.mjs +19 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/xml.mjs +15 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/property-information/lib/xmlns.mjs +16 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/vfile-location/lib/index.mjs +47 -0
- package/dist/es/node_modules/hast-util-from-parse5/node_modules/web-namespaces/index.mjs +11 -0
- package/dist/es/node_modules/hast-util-is-element/lib/index.mjs +61 -0
- package/dist/es/node_modules/hast-util-parse-selector/index.mjs +14 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/lib/index.mjs +298 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/index.mjs +12 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/aria.mjs +61 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/find.mjs +33 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/hast-to-react.mjs +22 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/html.mjs +368 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/normalize.mjs +6 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/svg.mjs +566 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/case-insensitive-transform.mjs +7 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/case-sensitive-transform.mjs +6 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/create.mjs +14 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/defined-info.mjs +36 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/info.mjs +28 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/merge.mjs +10 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/schema.mjs +21 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/util/types.mjs +15 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/xlink.mjs +19 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/xml.mjs +15 -0
- package/dist/es/node_modules/hast-util-to-jsx-runtime/node_modules/property-information/lib/xmlns.mjs +16 -0
- package/dist/es/node_modules/hast-util-to-text/lib/index.mjs +223 -0
- package/dist/es/node_modules/hast-util-whitespace/lib/index.mjs +10 -0
- package/dist/es/node_modules/hastscript/lib/create-h.mjs +126 -0
- package/dist/es/node_modules/hastscript/lib/index.mjs +8 -0
- package/dist/es/node_modules/hastscript/lib/svg-case-sensitive-tag-names.mjs +4 -0
- package/dist/es/node_modules/hastscript/node_modules/hast-util-parse-selector/lib/index.mjs +20 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/index.mjs +12 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/aria.mjs +61 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/find.mjs +33 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/html.mjs +368 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/normalize.mjs +6 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/svg.mjs +566 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/case-insensitive-transform.mjs +7 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/case-sensitive-transform.mjs +6 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/create.mjs +14 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/defined-info.mjs +36 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/info.mjs +28 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/merge.mjs +10 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/schema.mjs +21 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/util/types.mjs +15 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/xlink.mjs +19 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/xml.mjs +15 -0
- package/dist/es/node_modules/hastscript/node_modules/property-information/lib/xmlns.mjs +16 -0
- package/dist/es/node_modules/html-url-attributes/lib/index.mjs +16 -0
- package/dist/es/node_modules/is-alphabetical/index.mjs +8 -0
- package/dist/es/node_modules/is-alphanumerical/index.mjs +9 -0
- package/dist/es/node_modules/is-decimal/index.mjs +8 -0
- package/dist/es/node_modules/is-hexadecimal/index.mjs +8 -0
- package/dist/es/node_modules/katex/dist/katex.mjs +11700 -0
- package/dist/es/node_modules/longest-streak/index.mjs +12 -0
- package/dist/es/node_modules/markdown-table/index.mjs +70 -0
- package/dist/es/node_modules/mdast-util-find-and-replace/lib/index.mjs +72 -0
- package/dist/es/node_modules/mdast-util-find-and-replace/node_modules/escape-string-regexp/index.mjs +8 -0
- package/dist/es/node_modules/mdast-util-from-markdown/lib/index.mjs +584 -0
- package/dist/es/node_modules/mdast-util-gfm/lib/index.mjs +17 -0
- package/dist/es/node_modules/mdast-util-gfm-autolink-literal/lib/index.mjs +136 -0
- package/dist/es/node_modules/mdast-util-gfm-footnote/lib/index.mjs +100 -0
- package/dist/es/node_modules/mdast-util-gfm-strikethrough/lib/index.mjs +61 -0
- package/dist/es/node_modules/mdast-util-gfm-table/lib/index.mjs +170 -0
- package/dist/es/node_modules/mdast-util-gfm-task-list-item/lib/index.mjs +72 -0
- package/dist/es/node_modules/mdast-util-math/lib/index.mjs +170 -0
- package/dist/es/node_modules/mdast-util-phrasing/lib/index.mjs +30 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/footer.mjs +123 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/blockquote.mjs +12 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/break.mjs +16 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/code.mjs +25 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/delete.mjs +12 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/emphasis.mjs +12 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/footnote-reference.mjs +31 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/heading.mjs +12 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/html.mjs +12 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/image-reference.mjs +22 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/image.mjs +17 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/index.mjs +58 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/inline-code.mjs +17 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/link-reference.mjs +21 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/link.mjs +17 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/list-item.mjs +65 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/list.mjs +21 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/paragraph.mjs +12 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/root.mjs +10 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/strong.mjs +12 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/table-cell.mjs +13 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/table-row.mjs +26 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/table.mjs +35 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/text.mjs +11 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/handlers/thematic-break.mjs +12 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/index.mjs +19 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/revert.mjs +22 -0
- package/dist/es/node_modules/mdast-util-to-hast/lib/state.mjs +145 -0
- package/dist/es/node_modules/mdast-util-to-hast/node_modules/unist-util-visit/lib/index.mjs +16 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/blockquote.mjs +12 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/break.mjs +13 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/code.mjs +49 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/definition.mjs +37 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/emphasis.mjs +37 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/heading.mjs +44 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/html.mjs +10 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/image-reference.mjs +36 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/image.mjs +40 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/index.mjs +44 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/inline-code.mjs +22 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/link-reference.mjs +36 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/link.mjs +50 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/list-item.mjs +19 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/list.mjs +35 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/paragraph.mjs +7 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/root.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/strong.mjs +37 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/text.mjs +6 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/handle/thematic-break.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-bullet-ordered.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-bullet-other.mjs +14 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-bullet.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-emphasis.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-fence.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-list-item-indent.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-quote.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-rule-repetition.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-rule.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/check-strong.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/encode-character-reference.mjs +6 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/encode-info.mjs +67 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/format-code-as-indented.mjs +9 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/format-heading-as-setext.mjs +13 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/format-link-as-autolink.mjs +15 -0
- package/dist/es/node_modules/mdast-util-to-markdown/lib/util/pattern-in-scope.mjs +15 -0
- package/dist/es/node_modules/mdast-util-to-markdown/node_modules/unist-util-visit/lib/index.mjs +16 -0
- package/dist/es/node_modules/mdast-util-to-string/lib/index.mjs +29 -0
- package/dist/es/node_modules/micromark/lib/constructs.mjs +85 -0
- package/dist/es/node_modules/micromark/lib/create-tokenizer.mjs +225 -0
- package/dist/es/node_modules/micromark/lib/initialize/content.mjs +37 -0
- package/dist/es/node_modules/micromark/lib/initialize/document.mjs +133 -0
- package/dist/es/node_modules/micromark/lib/initialize/flow.mjs +33 -0
- package/dist/es/node_modules/micromark/lib/initialize/text.mjs +103 -0
- package/dist/es/node_modules/micromark/lib/parse.mjs +32 -0
- package/dist/es/node_modules/micromark/lib/postprocess.mjs +9 -0
- package/dist/es/node_modules/micromark/lib/preprocess.mjs +40 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/attention.mjs +74 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/autolink.mjs +43 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/blank-line.mjs +18 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/block-quote.mjs +42 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/character-escape.mjs +17 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/character-reference.mjs +30 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/code-fenced.mjs +94 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/code-indented.mjs +43 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/code-text.mjs +45 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/content.mjs +50 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/definition.mjs +80 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/hard-break-escape.mjs +17 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/heading-atx.mjs +46 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/html-flow.mjs +144 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/html-text.mjs +102 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/label-end.mjs +152 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/label-start-image.mjs +22 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/label-start-link.mjs +19 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/line-ending.mjs +14 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/list.mjs +90 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/setext-underline.mjs +62 -0
- package/dist/es/node_modules/micromark-core-commonmark/lib/thematic-break.mjs +25 -0
- package/dist/es/node_modules/micromark-extension-gfm/index.mjs +12 -0
- package/dist/es/node_modules/micromark-extension-gfm-autolink-literal/lib/syntax.mjs +193 -0
- package/dist/es/node_modules/micromark-extension-gfm-footnote/lib/syntax.mjs +192 -0
- package/dist/es/node_modules/micromark-extension-gfm-strikethrough/lib/syntax.mjs +68 -0
- package/dist/es/node_modules/micromark-extension-gfm-table/lib/edit-map.mjs +71 -0
- package/dist/es/node_modules/micromark-extension-gfm-table/lib/infer.mjs +24 -0
- package/dist/es/node_modules/micromark-extension-gfm-table/lib/syntax.mjs +147 -0
- package/dist/es/node_modules/micromark-extension-gfm-task-list-item/lib/syntax.mjs +45 -0
- package/dist/es/node_modules/micromark-extension-math/lib/math-flow.mjs +76 -0
- package/dist/es/node_modules/micromark-extension-math/lib/math-text.mjs +48 -0
- package/dist/es/node_modules/micromark-extension-math/lib/syntax.mjs +15 -0
- package/dist/es/node_modules/micromark-factory-destination/index.mjs +31 -0
- package/dist/es/node_modules/micromark-factory-label/index.mjs +28 -0
- package/dist/es/node_modules/micromark-factory-space/index.mjs +15 -0
- package/dist/es/node_modules/micromark-factory-title/index.mjs +26 -0
- package/dist/es/node_modules/micromark-factory-whitespace/index.mjs +12 -0
- package/dist/es/node_modules/micromark-util-character/index.mjs +39 -0
- package/dist/es/node_modules/micromark-util-chunked/index.mjs +16 -0
- package/dist/es/node_modules/micromark-util-classify-character/index.mjs +10 -0
- package/dist/es/node_modules/micromark-util-combine-extensions/index.mjs +36 -0
- package/dist/es/node_modules/micromark-util-decode-numeric-character-reference/index.mjs +16 -0
- package/dist/es/node_modules/micromark-util-decode-string/index.mjs +18 -0
- package/dist/es/node_modules/micromark-util-html-tag-name/index.mjs +5 -0
- package/dist/es/node_modules/micromark-util-normalize-identifier/index.mjs +6 -0
- package/dist/es/node_modules/micromark-util-resolve-all/index.mjs +12 -0
- package/dist/es/node_modules/micromark-util-sanitize-uri/index.mjs +23 -0
- package/dist/es/node_modules/micromark-util-subtokenize/index.mjs +65 -0
- package/dist/es/node_modules/micromark-util-subtokenize/lib/splice-buffer.mjs +175 -0
- package/dist/es/node_modules/moment/dist/moment.mjs +2301 -0
- package/dist/es/node_modules/parse-entities/decode-entity.browser.mjs +8 -0
- package/dist/es/node_modules/parse-entities/index.mjs +83 -0
- package/dist/es/node_modules/parse-entities/node_modules/character-entities-legacy/index.json.mjs +217 -0
- package/dist/es/node_modules/property-information/find.mjs +25 -0
- package/dist/es/node_modules/property-information/html.mjs +10 -0
- package/dist/es/node_modules/property-information/lib/aria.mjs +63 -0
- package/dist/es/node_modules/property-information/lib/html.mjs +354 -0
- package/dist/es/node_modules/property-information/lib/util/case-insensitive-transform.mjs +8 -0
- package/dist/es/node_modules/property-information/lib/util/case-sensitive-transform.mjs +7 -0
- package/dist/es/node_modules/property-information/lib/util/create.mjs +13 -0
- package/dist/es/node_modules/property-information/lib/util/defined-info.mjs +18 -0
- package/dist/es/node_modules/property-information/lib/util/info.mjs +19 -0
- package/dist/es/node_modules/property-information/lib/util/merge.mjs +11 -0
- package/dist/es/node_modules/property-information/lib/util/schema.mjs +10 -0
- package/dist/es/node_modules/property-information/lib/util/types.mjs +15 -0
- package/dist/es/node_modules/property-information/lib/xlink.mjs +20 -0
- package/dist/es/node_modules/property-information/lib/xml.mjs +16 -0
- package/dist/es/node_modules/property-information/lib/xmlns.mjs +16 -0
- package/dist/es/node_modules/property-information/normalize.mjs +7 -0
- package/dist/es/node_modules/react-device-detect/dist/lib.mjs +723 -0
- package/dist/es/node_modules/react-markdown/lib/index.mjs +153 -0
- package/dist/es/node_modules/react-markdown/node_modules/remark-parse/lib/index.mjs +29 -0
- package/dist/es/node_modules/react-markdown/node_modules/unist-util-visit/lib/index.mjs +16 -0
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/checkForListedLanguage.mjs +7 -0
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/create-element.mjs +101 -0
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/highlight.mjs +283 -0
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/languages/prism/supported-languages.mjs +4 -0
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/prism.mjs +10 -0
- package/dist/es/node_modules/react-syntax-highlighter/dist/esm/styles/prism/prism.mjs +195 -0
- package/dist/es/node_modules/refractor/core.mjs +111 -0
- package/dist/es/node_modules/refractor/index.mjs +553 -0
- package/dist/es/node_modules/refractor/lang/abap.mjs +60 -0
- package/dist/es/node_modules/refractor/lang/abnf.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/actionscript.mjs +22 -0
- package/dist/es/node_modules/refractor/lang/ada.mjs +28 -0
- package/dist/es/node_modules/refractor/lang/agda.mjs +35 -0
- package/dist/es/node_modules/refractor/lang/al.mjs +35 -0
- package/dist/es/node_modules/refractor/lang/antlr4.mjs +72 -0
- package/dist/es/node_modules/refractor/lang/apacheconf.mjs +59 -0
- package/dist/es/node_modules/refractor/lang/apex.mjs +69 -0
- package/dist/es/node_modules/refractor/lang/apl.mjs +44 -0
- package/dist/es/node_modules/refractor/lang/applescript.mjs +26 -0
- package/dist/es/node_modules/refractor/lang/aql.mjs +57 -0
- package/dist/es/node_modules/refractor/lang/arduino.mjs +20 -0
- package/dist/es/node_modules/refractor/lang/arff.mjs +22 -0
- package/dist/es/node_modules/refractor/lang/asciidoc.mjs +208 -0
- package/dist/es/node_modules/refractor/lang/asm6502.mjs +41 -0
- package/dist/es/node_modules/refractor/lang/asmatmel.mjs +53 -0
- package/dist/es/node_modules/refractor/lang/aspnet.mjs +53 -0
- package/dist/es/node_modules/refractor/lang/autohotkey.mjs +40 -0
- package/dist/es/node_modules/refractor/lang/autoit.mjs +43 -0
- package/dist/es/node_modules/refractor/lang/avisynth.mjs +167 -0
- package/dist/es/node_modules/refractor/lang/avro-idl.mjs +50 -0
- package/dist/es/node_modules/refractor/lang/bash.mjs +206 -0
- package/dist/es/node_modules/refractor/lang/basic.mjs +29 -0
- package/dist/es/node_modules/refractor/lang/batch.mjs +95 -0
- package/dist/es/node_modules/refractor/lang/bbcode.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/bicep.mjs +72 -0
- package/dist/es/node_modules/refractor/lang/birb.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/bison.mjs +52 -0
- package/dist/es/node_modules/refractor/lang/bnf.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/brainfuck.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/brightscript.mjs +55 -0
- package/dist/es/node_modules/refractor/lang/bro.mjs +39 -0
- package/dist/es/node_modules/refractor/lang/bsl.mjs +77 -0
- package/dist/es/node_modules/refractor/lang/c.mjs +78 -0
- package/dist/es/node_modules/refractor/lang/cfscript.mjs +44 -0
- package/dist/es/node_modules/refractor/lang/chaiscript.mjs +65 -0
- package/dist/es/node_modules/refractor/lang/cil.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/clike.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/clojure.mjs +42 -0
- package/dist/es/node_modules/refractor/lang/cmake.mjs +41 -0
- package/dist/es/node_modules/refractor/lang/cobol.mjs +58 -0
- package/dist/es/node_modules/refractor/lang/coffeescript.mjs +86 -0
- package/dist/es/node_modules/refractor/lang/concurnas.mjs +69 -0
- package/dist/es/node_modules/refractor/lang/coq.mjs +52 -0
- package/dist/es/node_modules/refractor/lang/cpp.mjs +98 -0
- package/dist/es/node_modules/refractor/lang/crystal.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/csharp.mjs +277 -0
- package/dist/es/node_modules/refractor/lang/cshtml.mjs +104 -0
- package/dist/es/node_modules/refractor/lang/csp.mjs +61 -0
- package/dist/es/node_modules/refractor/lang/css-extras.mjs +109 -0
- package/dist/es/node_modules/refractor/lang/css.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/csv.mjs +16 -0
- package/dist/es/node_modules/refractor/lang/cypher.mjs +44 -0
- package/dist/es/node_modules/refractor/lang/d.mjs +77 -0
- package/dist/es/node_modules/refractor/lang/dart.mjs +72 -0
- package/dist/es/node_modules/refractor/lang/dataweave.mjs +49 -0
- package/dist/es/node_modules/refractor/lang/dax.mjs +39 -0
- package/dist/es/node_modules/refractor/lang/dhall.mjs +74 -0
- package/dist/es/node_modules/refractor/lang/diff.mjs +54 -0
- package/dist/es/node_modules/refractor/lang/django.mjs +60 -0
- package/dist/es/node_modules/refractor/lang/dns-zone-file.mjs +40 -0
- package/dist/es/node_modules/refractor/lang/docker.mjs +83 -0
- package/dist/es/node_modules/refractor/lang/dot.mjs +75 -0
- package/dist/es/node_modules/refractor/lang/ebnf.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/editorconfig.mjs +39 -0
- package/dist/es/node_modules/refractor/lang/eiffel.mjs +46 -0
- package/dist/es/node_modules/refractor/lang/ejs.mjs +33 -0
- package/dist/es/node_modules/refractor/lang/elixir.mjs +100 -0
- package/dist/es/node_modules/refractor/lang/elm.mjs +54 -0
- package/dist/es/node_modules/refractor/lang/erb.mjs +35 -0
- package/dist/es/node_modules/refractor/lang/erlang.mjs +47 -0
- package/dist/es/node_modules/refractor/lang/etlua.mjs +33 -0
- package/dist/es/node_modules/refractor/lang/excel-formula.mjs +74 -0
- package/dist/es/node_modules/refractor/lang/factor.mjs +569 -0
- package/dist/es/node_modules/refractor/lang/false.mjs +39 -0
- package/dist/es/node_modules/refractor/lang/firestore-security-rules.mjs +43 -0
- package/dist/es/node_modules/refractor/lang/flow.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/fortran.mjs +49 -0
- package/dist/es/node_modules/refractor/lang/fsharp.mjs +76 -0
- package/dist/es/node_modules/refractor/lang/ftl.mjs +102 -0
- package/dist/es/node_modules/refractor/lang/gap.mjs +57 -0
- package/dist/es/node_modules/refractor/lang/gcode.mjs +28 -0
- package/dist/es/node_modules/refractor/lang/gdscript.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/gedcom.mjs +40 -0
- package/dist/es/node_modules/refractor/lang/gherkin.mjs +94 -0
- package/dist/es/node_modules/refractor/lang/git.mjs +75 -0
- package/dist/es/node_modules/refractor/lang/glsl.mjs +18 -0
- package/dist/es/node_modules/refractor/lang/gml.mjs +19 -0
- package/dist/es/node_modules/refractor/lang/gn.mjs +55 -0
- package/dist/es/node_modules/refractor/lang/go-module.mjs +34 -0
- package/dist/es/node_modules/refractor/lang/go.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/graphql.mjs +133 -0
- package/dist/es/node_modules/refractor/lang/groovy.mjs +58 -0
- package/dist/es/node_modules/refractor/lang/haml.mjs +132 -0
- package/dist/es/node_modules/refractor/lang/handlebars.mjs +46 -0
- package/dist/es/node_modules/refractor/lang/haskell.mjs +76 -0
- package/dist/es/node_modules/refractor/lang/haxe.mjs +84 -0
- package/dist/es/node_modules/refractor/lang/hcl.mjs +68 -0
- package/dist/es/node_modules/refractor/lang/hlsl.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/hoon.mjs +26 -0
- package/dist/es/node_modules/refractor/lang/hpkp.mjs +20 -0
- package/dist/es/node_modules/refractor/lang/hsts.mjs +20 -0
- package/dist/es/node_modules/refractor/lang/http.mjs +126 -0
- package/dist/es/node_modules/refractor/lang/ichigojam.mjs +25 -0
- package/dist/es/node_modules/refractor/lang/icon.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/icu-message-format.mjs +136 -0
- package/dist/es/node_modules/refractor/lang/idris.mjs +30 -0
- package/dist/es/node_modules/refractor/lang/iecst.mjs +38 -0
- package/dist/es/node_modules/refractor/lang/ignore.mjs +30 -0
- package/dist/es/node_modules/refractor/lang/inform7.mjs +69 -0
- package/dist/es/node_modules/refractor/lang/ini.mjs +52 -0
- package/dist/es/node_modules/refractor/lang/io.mjs +34 -0
- package/dist/es/node_modules/refractor/lang/j.mjs +40 -0
- package/dist/es/node_modules/refractor/lang/java.mjs +86 -0
- package/dist/es/node_modules/refractor/lang/javadoc.mjs +89 -0
- package/dist/es/node_modules/refractor/lang/javadoclike.mjs +60 -0
- package/dist/es/node_modules/refractor/lang/javascript.mjs +114 -0
- package/dist/es/node_modules/refractor/lang/javastacktrace.mjs +146 -0
- package/dist/es/node_modules/refractor/lang/jexl.mjs +26 -0
- package/dist/es/node_modules/refractor/lang/jolie.mjs +51 -0
- package/dist/es/node_modules/refractor/lang/jq.mjs +71 -0
- package/dist/es/node_modules/refractor/lang/js-extras.mjs +104 -0
- package/dist/es/node_modules/refractor/lang/js-templates.mjs +153 -0
- package/dist/es/node_modules/refractor/lang/jsdoc.mjs +83 -0
- package/dist/es/node_modules/refractor/lang/json.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/json5.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/jsonp.mjs +20 -0
- package/dist/es/node_modules/refractor/lang/jsstacktrace.mjs +53 -0
- package/dist/es/node_modules/refractor/lang/jsx.mjs +61 -0
- package/dist/es/node_modules/refractor/lang/julia.mjs +47 -0
- package/dist/es/node_modules/refractor/lang/keepalived.mjs +54 -0
- package/dist/es/node_modules/refractor/lang/keyman.mjs +55 -0
- package/dist/es/node_modules/refractor/lang/kotlin.mjs +81 -0
- package/dist/es/node_modules/refractor/lang/kumir.mjs +85 -0
- package/dist/es/node_modules/refractor/lang/kusto.mjs +47 -0
- package/dist/es/node_modules/refractor/lang/latex.mjs +68 -0
- package/dist/es/node_modules/refractor/lang/latte.mjs +68 -0
- package/dist/es/node_modules/refractor/lang/less.mjs +51 -0
- package/dist/es/node_modules/refractor/lang/lilypond.mjs +77 -0
- package/dist/es/node_modules/refractor/lang/liquid.mjs +68 -0
- package/dist/es/node_modules/refractor/lang/lisp.mjs +158 -0
- package/dist/es/node_modules/refractor/lang/livescript.mjs +119 -0
- package/dist/es/node_modules/refractor/lang/llvm.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/log.mjs +103 -0
- package/dist/es/node_modules/refractor/lang/lolcode.mjs +57 -0
- package/dist/es/node_modules/refractor/lang/lua.mjs +29 -0
- package/dist/es/node_modules/refractor/lang/magma.mjs +42 -0
- package/dist/es/node_modules/refractor/lang/makefile.mjs +42 -0
- package/dist/es/node_modules/refractor/lang/markdown.mjs +306 -0
- package/dist/es/node_modules/refractor/lang/markup-templating.mjs +74 -0
- package/dist/es/node_modules/refractor/lang/markup.mjs +154 -0
- package/dist/es/node_modules/refractor/lang/matlab.mjs +25 -0
- package/dist/es/node_modules/refractor/lang/maxscript.mjs +70 -0
- package/dist/es/node_modules/refractor/lang/mel.mjs +49 -0
- package/dist/es/node_modules/refractor/lang/mermaid.mjs +116 -0
- package/dist/es/node_modules/refractor/lang/mizar.mjs +24 -0
- package/dist/es/node_modules/refractor/lang/mongodb.mjs +287 -0
- package/dist/es/node_modules/refractor/lang/monkey.mjs +40 -0
- package/dist/es/node_modules/refractor/lang/moonscript.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/n1ql.mjs +34 -0
- package/dist/es/node_modules/refractor/lang/n4js.mjs +22 -0
- package/dist/es/node_modules/refractor/lang/nand2tetris-hdl.mjs +21 -0
- package/dist/es/node_modules/refractor/lang/naniscript.mjs +140 -0
- package/dist/es/node_modules/refractor/lang/nasm.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/neon.mjs +52 -0
- package/dist/es/node_modules/refractor/lang/nevod.mjs +125 -0
- package/dist/es/node_modules/refractor/lang/nginx.mjs +61 -0
- package/dist/es/node_modules/refractor/lang/nim.mjs +54 -0
- package/dist/es/node_modules/refractor/lang/nix.mjs +45 -0
- package/dist/es/node_modules/refractor/lang/nsis.mjs +37 -0
- package/dist/es/node_modules/refractor/lang/objectivec.mjs +23 -0
- package/dist/es/node_modules/refractor/lang/ocaml.mjs +64 -0
- package/dist/es/node_modules/refractor/lang/opencl.mjs +62 -0
- package/dist/es/node_modules/refractor/lang/openqasm.mjs +29 -0
- package/dist/es/node_modules/refractor/lang/oz.mjs +37 -0
- package/dist/es/node_modules/refractor/lang/parigp.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/parser.mjs +80 -0
- package/dist/es/node_modules/refractor/lang/pascal.mjs +66 -0
- package/dist/es/node_modules/refractor/lang/pascaligo.mjs +70 -0
- package/dist/es/node_modules/refractor/lang/pcaxis.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/peoplecode.mjs +51 -0
- package/dist/es/node_modules/refractor/lang/perl.mjs +134 -0
- package/dist/es/node_modules/refractor/lang/php-extras.mjs +29 -0
- package/dist/es/node_modules/refractor/lang/php.mjs +301 -0
- package/dist/es/node_modules/refractor/lang/phpdoc.mjs +34 -0
- package/dist/es/node_modules/refractor/lang/plsql.mjs +30 -0
- package/dist/es/node_modules/refractor/lang/powerquery.mjs +44 -0
- package/dist/es/node_modules/refractor/lang/powershell.mjs +58 -0
- package/dist/es/node_modules/refractor/lang/processing.mjs +25 -0
- package/dist/es/node_modules/refractor/lang/prolog.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/promql.mjs +74 -0
- package/dist/es/node_modules/refractor/lang/properties.mjs +21 -0
- package/dist/es/node_modules/refractor/lang/protobuf.mjs +47 -0
- package/dist/es/node_modules/refractor/lang/psl.mjs +47 -0
- package/dist/es/node_modules/refractor/lang/pug.mjs +173 -0
- package/dist/es/node_modules/refractor/lang/puppet.mjs +140 -0
- package/dist/es/node_modules/refractor/lang/pure.mjs +72 -0
- package/dist/es/node_modules/refractor/lang/purebasic.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/purescript.mjs +41 -0
- package/dist/es/node_modules/refractor/lang/python.mjs +73 -0
- package/dist/es/node_modules/refractor/lang/q.mjs +62 -0
- package/dist/es/node_modules/refractor/lang/qml.mjs +67 -0
- package/dist/es/node_modules/refractor/lang/qore.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/qsharp.mjs +93 -0
- package/dist/es/node_modules/refractor/lang/r.mjs +31 -0
- package/dist/es/node_modules/refractor/lang/racket.mjs +29 -0
- package/dist/es/node_modules/refractor/lang/reason.mjs +33 -0
- package/dist/es/node_modules/refractor/lang/regex.mjs +97 -0
- package/dist/es/node_modules/refractor/lang/rego.mjs +37 -0
- package/dist/es/node_modules/refractor/lang/renpy.mjs +30 -0
- package/dist/es/node_modules/refractor/lang/rest.mjs +199 -0
- package/dist/es/node_modules/refractor/lang/rip.mjs +41 -0
- package/dist/es/node_modules/refractor/lang/roboconf.mjs +39 -0
- package/dist/es/node_modules/refractor/lang/robotframework.mjs +95 -0
- package/dist/es/node_modules/refractor/lang/ruby.mjs +159 -0
- package/dist/es/node_modules/refractor/lang/rust.mjs +122 -0
- package/dist/es/node_modules/refractor/lang/sas.mjs +305 -0
- package/dist/es/node_modules/refractor/lang/sass.mjs +69 -0
- package/dist/es/node_modules/refractor/lang/scala.mjs +59 -0
- package/dist/es/node_modules/refractor/lang/scheme.mjs +120 -0
- package/dist/es/node_modules/refractor/lang/scss.mjs +82 -0
- package/dist/es/node_modules/refractor/lang/shell-session.mjs +69 -0
- package/dist/es/node_modules/refractor/lang/smali.mjs +84 -0
- package/dist/es/node_modules/refractor/lang/smalltalk.mjs +47 -0
- package/dist/es/node_modules/refractor/lang/smarty.mjs +106 -0
- package/dist/es/node_modules/refractor/lang/sml.mjs +64 -0
- package/dist/es/node_modules/refractor/lang/solidity.mjs +28 -0
- package/dist/es/node_modules/refractor/lang/solution-file.mjs +58 -0
- package/dist/es/node_modules/refractor/lang/soy.mjs +77 -0
- package/dist/es/node_modules/refractor/lang/sparql.mjs +24 -0
- package/dist/es/node_modules/refractor/lang/splunk-spl.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/sqf.mjs +42 -0
- package/dist/es/node_modules/refractor/lang/sql.mjs +42 -0
- package/dist/es/node_modules/refractor/lang/squirrel.mjs +50 -0
- package/dist/es/node_modules/refractor/lang/stan.mjs +63 -0
- package/dist/es/node_modules/refractor/lang/stylus.mjs +141 -0
- package/dist/es/node_modules/refractor/lang/swift.mjs +125 -0
- package/dist/es/node_modules/refractor/lang/systemd.mjs +65 -0
- package/dist/es/node_modules/refractor/lang/t4-cs.mjs +17 -0
- package/dist/es/node_modules/refractor/lang/t4-templating.mjs +57 -0
- package/dist/es/node_modules/refractor/lang/t4-vb.mjs +17 -0
- package/dist/es/node_modules/refractor/lang/tap.mjs +35 -0
- package/dist/es/node_modules/refractor/lang/tcl.mjs +51 -0
- package/dist/es/node_modules/refractor/lang/textile.mjs +248 -0
- package/dist/es/node_modules/refractor/lang/toml.mjs +54 -0
- package/dist/es/node_modules/refractor/lang/tremor.mjs +67 -0
- package/dist/es/node_modules/refractor/lang/tsx.mjs +22 -0
- package/dist/es/node_modules/refractor/lang/tt2.mjs +53 -0
- package/dist/es/node_modules/refractor/lang/turtle.mjs +62 -0
- package/dist/es/node_modules/refractor/lang/twig.mjs +48 -0
- package/dist/es/node_modules/refractor/lang/typescript.mjs +57 -0
- package/dist/es/node_modules/refractor/lang/typoscript.mjs +81 -0
- package/dist/es/node_modules/refractor/lang/unrealscript.mjs +50 -0
- package/dist/es/node_modules/refractor/lang/uorazor.mjs +57 -0
- package/dist/es/node_modules/refractor/lang/uri.mjs +92 -0
- package/dist/es/node_modules/refractor/lang/v.mjs +85 -0
- package/dist/es/node_modules/refractor/lang/vala.mjs +87 -0
- package/dist/es/node_modules/refractor/lang/vbnet.mjs +34 -0
- package/dist/es/node_modules/refractor/lang/velocity.mjs +75 -0
- package/dist/es/node_modules/refractor/lang/verilog.mjs +38 -0
- package/dist/es/node_modules/refractor/lang/vhdl.mjs +35 -0
- package/dist/es/node_modules/refractor/lang/vim.mjs +22 -0
- package/dist/es/node_modules/refractor/lang/visual-basic.mjs +38 -0
- package/dist/es/node_modules/refractor/lang/warpscript.mjs +33 -0
- package/dist/es/node_modules/refractor/lang/wasm.mjs +36 -0
- package/dist/es/node_modules/refractor/lang/web-idl.mjs +89 -0
- package/dist/es/node_modules/refractor/lang/wiki.mjs +86 -0
- package/dist/es/node_modules/refractor/lang/wolfram.mjs +37 -0
- package/dist/es/node_modules/refractor/lang/wren.mjs +97 -0
- package/dist/es/node_modules/refractor/lang/xeora.mjs +121 -0
- package/dist/es/node_modules/refractor/lang/xml-doc.mjs +35 -0
- package/dist/es/node_modules/refractor/lang/xojo.mjs +30 -0
- package/dist/es/node_modules/refractor/lang/xquery.mjs +89 -0
- package/dist/es/node_modules/refractor/lang/yaml.mjs +78 -0
- package/dist/es/node_modules/refractor/lang/yang.mjs +32 -0
- package/dist/es/node_modules/refractor/lang/zig.mjs +80 -0
- package/dist/es/node_modules/refractor/node_modules/comma-separated-tokens/index.mjs +16 -0
- package/dist/es/node_modules/refractor/node_modules/hastscript/factory.mjs +77 -0
- package/dist/es/node_modules/refractor/node_modules/hastscript/html.mjs +8 -0
- package/dist/es/node_modules/refractor/node_modules/hastscript/index.mjs +5 -0
- package/dist/es/node_modules/refractor/node_modules/prismjs/components/prism-core.mjs +720 -0
- package/dist/es/node_modules/refractor/node_modules/space-separated-tokens/index.mjs +14 -0
- package/dist/es/node_modules/rehype-external-links/lib/index.mjs +34 -0
- package/dist/es/node_modules/rehype-external-links/node_modules/is-absolute-url/index.mjs +9 -0
- package/dist/es/node_modules/rehype-external-links/node_modules/unist-util-visit/lib/index.mjs +16 -0
- package/dist/es/node_modules/rehype-katex/lib/index.mjs +83 -0
- package/dist/es/node_modules/rehype-raw/lib/index.mjs +26 -0
- package/dist/es/node_modules/rehype-raw/node_modules/entities/dist/esm/decode-codepoint.mjs +38 -0
- package/dist/es/node_modules/rehype-raw/node_modules/entities/dist/esm/decode.mjs +251 -0
- package/dist/es/node_modules/rehype-raw/node_modules/entities/dist/esm/generated/decode-data-html.mjs +7 -0
- package/dist/es/node_modules/rehype-raw/node_modules/hast-util-raw/lib/index.mjs +249 -0
- package/dist/es/node_modules/rehype-raw/node_modules/hast-util-to-parse5/lib/index.mjs +125 -0
- package/dist/es/node_modules/rehype-raw/node_modules/html-void-elements/index.mjs +4 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/doctype.mjs +34 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/error-codes.mjs +7 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/foreign-content.mjs +103 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/html.mjs +44 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/token.mjs +14 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/common/unicode.mjs +38 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/parser/formatting-element-list.mjs +91 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/parser/index.mjs +2308 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/parser/open-element-stack.mjs +220 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/serializer/index.mjs +2 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/tokenizer/index.mjs +1948 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/tokenizer/preprocessor.mjs +92 -0
- package/dist/es/node_modules/rehype-raw/node_modules/parse5/dist/tree-adapters/default.mjs +173 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/index.mjs +12 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/aria.mjs +61 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/find.mjs +33 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/html.mjs +368 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/normalize.mjs +6 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/svg.mjs +566 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/case-insensitive-transform.mjs +7 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/case-sensitive-transform.mjs +6 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/create.mjs +17 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/defined-info.mjs +27 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/info.mjs +23 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/merge.mjs +11 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/schema.mjs +17 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/util/types.mjs +15 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/xlink.mjs +19 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/xml.mjs +15 -0
- package/dist/es/node_modules/rehype-raw/node_modules/property-information/lib/xmlns.mjs +16 -0
- package/dist/es/node_modules/rehype-raw/node_modules/unist-util-visit/lib/index.mjs +16 -0
- package/dist/es/node_modules/rehype-raw/node_modules/web-namespaces/index.mjs +11 -0
- package/dist/es/node_modules/remark-gfm/lib/index.mjs +13 -0
- package/dist/es/node_modules/remark-math/lib/index.mjs +13 -0
- package/dist/es/node_modules/remark-rehype/lib/index.mjs +51 -0
- package/dist/es/node_modules/space-separated-tokens/index.mjs +11 -0
- package/dist/es/node_modules/style-to-js/cjs/index.mjs +22 -0
- package/dist/es/node_modules/style-to-js/cjs/utilities.mjs +18 -0
- package/dist/es/node_modules/style-to-js/node_modules/inline-style-parser/index.mjs +93 -0
- package/dist/es/node_modules/style-to-js/node_modules/style-to-object/cjs/index.mjs +25 -0
- package/dist/es/node_modules/trim-lines/index.mjs +25 -0
- package/dist/es/node_modules/tslib/tslib.es6.mjs +30 -0
- package/dist/es/node_modules/ua-parser-js/dist/ua-parser.min.mjs +123 -0
- package/dist/es/node_modules/unified/lib/callable-instance.mjs +25 -0
- package/dist/es/node_modules/unified/lib/index.mjs +525 -0
- package/dist/es/node_modules/unified/node_modules/bail/index.mjs +7 -0
- package/dist/es/node_modules/unified/node_modules/is-plain-obj/index.mjs +9 -0
- package/dist/es/node_modules/unified/node_modules/trough/lib/index.mjs +61 -0
- package/dist/es/node_modules/unist-util-find-after/lib/index.mjs +32 -0
- package/dist/es/node_modules/unist-util-is/lib/index.mjs +81 -0
- package/dist/es/node_modules/unist-util-position/lib/index.mjs +26 -0
- package/dist/es/node_modules/unist-util-stringify-position/lib/index.mjs +15 -0
- package/dist/es/node_modules/unist-util-visit-parents/lib/color.mjs +6 -0
- package/dist/es/node_modules/unist-util-visit-parents/lib/index.mjs +56 -0
- package/dist/es/node_modules/vfile/lib/index.mjs +401 -0
- package/dist/es/node_modules/vfile/lib/minpath.browser.mjs +120 -0
- package/dist/es/node_modules/vfile/lib/minproc.browser.mjs +9 -0
- package/dist/es/node_modules/vfile/lib/minurl.browser.mjs +35 -0
- package/dist/es/node_modules/vfile/lib/minurl.shared.mjs +7 -0
- package/dist/es/node_modules/vfile-message/lib/index.mjs +106 -0
- package/dist/es/node_modules/xtend/immutable.mjs +12 -0
- package/dist/es/node_modules/zwitch/index.mjs +18 -0
- package/dist/es/packages/agent-cli-ui/package.json.mjs +163 -0
- package/dist/es/packages/react-components/dist/es/Iconfont/index.mjs +8 -0
- package/dist/es/packages/react-components/dist/es/components/Copy/index.mjs +43 -0
- package/dist/es/packages/react-components/dist/es/components/Markdown/ATag/index.mjs +44 -0
- package/dist/es/packages/react-components/dist/es/components/Markdown/Code/index.mjs +64 -0
- package/dist/es/packages/react-components/dist/es/components/Markdown/Image/index.mjs +62 -0
- package/dist/es/packages/react-components/dist/es/components/Markdown/Video/index.mjs +19 -0
- package/dist/es/packages/react-components/dist/es/components/Markdown/index.mjs +78 -0
- package/dist/es/packages/react-components/dist/es/index.mjs +10 -0
- package/dist/es/packages/react-components/dist/es/utils/clipboard.mjs +38 -0
- package/dist/es/packages/react-components/dist/es/utils/markdown/index.mjs +29 -0
- package/dist/es/src/global.css +1 -0
- package/dist/es/src/image-viewer.css +1 -0
- package/dist/es/src/katex.min.css +1 -0
- package/dist/es/src/mask.css +1 -0
- package/dist/es/src/safe-area.css +1 -0
- package/dist/es/src/style.css +1 -0
- package/dist/es/src/style10.css +1 -0
- package/dist/es/src/style11.css +1 -0
- package/dist/es/src/style12.css +1 -0
- package/dist/es/src/style13.css +1 -0
- package/dist/es/src/style14.css +1 -0
- package/dist/es/src/style15.css +1 -0
- package/dist/es/src/style16.css +1 -0
- package/dist/es/src/style17.css +1 -0
- package/dist/es/src/style18.css +1 -0
- package/dist/es/src/style19.css +1 -0
- package/dist/es/src/style2.css +1 -0
- package/dist/es/src/style20.css +1 -0
- package/dist/es/src/style21.css +1 -0
- package/dist/es/src/style22.css +1 -0
- package/dist/es/src/style23.css +1 -0
- package/dist/es/src/style24.css +1 -0
- package/dist/es/src/style25.css +1 -0
- package/dist/es/src/style26.css +1 -0
- package/dist/es/src/style27.css +1 -0
- package/dist/es/src/style28.css +1 -0
- package/dist/es/src/style29.css +1 -0
- package/dist/es/src/style3.css +1 -0
- package/dist/es/src/style30.css +1 -0
- package/dist/es/src/style31.css +1 -0
- package/dist/es/src/style32.css +1 -0
- package/dist/es/src/style33.css +1 -0
- package/dist/es/src/style4.css +1 -0
- package/dist/es/src/style5.css +1 -0
- package/dist/es/src/style6.css +1 -0
- package/dist/es/src/style7.css +1 -0
- package/dist/es/src/style8.css +1 -0
- package/dist/es/src/style9.css +1 -0
- package/dist/es/types.mjs +4 -0
- package/dist/es/utils/antdConfig.mjs +15 -0
- package/dist/es/utils/index.mjs +37 -0
- package/dist/lib/index.css +1 -0
- package/dist/lib/index.js +328 -0
- package/dist/src/AgentClientUI.d.ts +13 -0
- package/dist/src/Dialog/AgentChat/HistoryItem/FileItem/index.d.ts +11 -0
- package/dist/src/Dialog/AgentChat/HistoryItem/InputProgress/index.d.ts +7 -0
- package/dist/src/Dialog/AgentChat/HistoryItem/SearchReference/index.d.ts +10 -0
- package/dist/src/Dialog/AgentChat/HistoryItem/SessionAction/index.d.ts +13 -0
- package/dist/src/Dialog/AgentChat/HistoryItem/SessionRefer/ReferItem/index.d.ts +9 -0
- package/dist/src/Dialog/AgentChat/HistoryItem/SessionRefer/index.d.ts +10 -0
- package/dist/src/Dialog/AgentChat/HistoryItem/SessionRelated/index.d.ts +9 -0
- package/dist/src/Dialog/AgentChat/HistoryItem/index.d.ts +20 -0
- package/dist/src/Dialog/AgentChat/PromptSetting/index.d.ts +15 -0
- package/dist/src/Dialog/AgentChat/Tools/ConnectToNetwork/index.d.ts +14 -0
- package/dist/src/Dialog/AgentChat/Tools/PromptManager/PromptList/EditPromptModal/index.d.ts +11 -0
- package/dist/src/Dialog/AgentChat/Tools/PromptManager/PromptList/PrivatePromptList.d.ts +12 -0
- package/dist/src/Dialog/AgentChat/Tools/PromptManager/PromptList/PromptListItem.d.ts +13 -0
- package/dist/src/Dialog/AgentChat/Tools/PromptManager/PromptList/PublicPromptList.d.ts +12 -0
- package/dist/src/Dialog/AgentChat/Tools/PromptManager/index.d.ts +13 -0
- package/dist/src/Dialog/AgentChat/Tools/SessionHistoryDrawer/index.d.ts +15 -0
- package/dist/src/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/NameEditPanel.d.ts +9 -0
- package/dist/src/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/SessionItem.d.ts +16 -0
- package/dist/src/Dialog/AgentChat/Tools/SessionListDrawer/HistorySessionList/index.d.ts +9 -0
- package/dist/src/Dialog/AgentChat/Tools/SessionListDrawer/index.d.ts +9 -0
- package/dist/src/Dialog/AgentChat/Tools/UploadKnowledgeFiles/ClearModal/index.d.ts +7 -0
- package/dist/src/Dialog/AgentChat/Tools/UploadKnowledgeFiles/FileCard/index.d.ts +22 -0
- package/dist/src/Dialog/AgentChat/Tools/UploadKnowledgeFiles/index.d.ts +22 -0
- package/dist/src/Dialog/AgentChat/index.d.ts +22 -0
- package/dist/src/Dialog/SessionList/index.d.ts +24 -0
- package/dist/src/Dialog/UploadingPrompt/index.d.ts +9 -0
- package/dist/src/Dialog/index.d.ts +18 -0
- package/dist/src/Footer/FooterWarning.d.ts +8 -0
- package/dist/src/Footer/index.d.ts +8 -0
- package/dist/src/QuillEditor/index.d.ts +21 -0
- package/dist/src/ReactTextGenerationUI/components/TextSiders/index.d.ts +22 -0
- package/dist/src/ReactTextGenerationUI/components/fetchEventSource/fetch.d.ts +44 -0
- package/dist/src/ReactTextGenerationUI/components/fetchEventSource/index.d.ts +1 -0
- package/dist/src/ReactTextGenerationUI/components/fetchEventSource/parse.d.ts +36 -0
- package/dist/src/ReactTextGenerationUI/components/fetchEventSourcea/fetch.d.ts +44 -0
- package/dist/src/ReactTextGenerationUI/components/fetchEventSourcea/index.d.ts +1 -0
- package/dist/src/ReactTextGenerationUI/components/fetchEventSourcea/parse.d.ts +36 -0
- package/dist/src/ReactTextGenerationUI/index.d.ts +4 -0
- package/dist/src/components/FilePreview/index.d.ts +20 -0
- package/dist/src/components/Greeting/index.d.ts +8 -0
- package/dist/src/components/Header/index.d.ts +7 -0
- package/dist/src/components/Iconfont/font_4108228_z72fskklg2.d.ts +0 -0
- package/dist/src/components/Iconfont/font_4439177_7rytwlvbmjj.d.ts +0 -0
- package/dist/src/components/Iconfont/index.d.ts +2 -0
- package/dist/src/components/JsonDisplay/index.d.ts +6 -0
- package/dist/src/components/KnowledgeDoc/index.d.ts +9 -0
- package/dist/src/components/KnowledgeList/KnowledgeSelect/index.d.ts +12 -0
- package/dist/src/components/KnowledgeList/index.d.ts +10 -0
- package/dist/src/components/PDFViewer/index.d.ts +7 -0
- package/dist/src/components/Recommend/RecommendItem.d.ts +12 -0
- package/dist/src/components/Recommend/index.d.ts +15 -0
- package/dist/src/components/Sider/index.d.ts +8 -0
- package/dist/src/components/WebLink/index.d.ts +7 -0
- package/dist/src/constant.d.ts +21 -0
- package/dist/src/context/SessionContext.d.ts +15 -0
- package/dist/src/context.d.ts +5 -0
- package/dist/src/hooks/useSessionState.d.ts +7 -0
- package/dist/src/index.d.ts +49 -0
- package/dist/src/types.d.ts +235 -0
- package/dist/src/utils/antdConfig.d.ts +7 -0
- package/dist/src/utils/fetchEventSource/fetch.d.ts +44 -0
- package/dist/src/utils/fetchEventSource/index.d.ts +1 -0
- package/dist/src/utils/fetchEventSource/parse.d.ts +36 -0
- package/dist/src/utils/index.d.ts +25 -0
- package/dist/src/utils/reactCompatibility.d.ts +27 -0
- package/dist/src/utils/testAntdPrefix.d.ts +3 -0
- package/package.json +142 -0
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { asciiAlpha as z, asciiAlphanumeric as a, asciiControl as E, asciiAtext as O } from "../../micromark-util-character/index.mjs";
|
|
2
|
+
const b = {
|
|
3
|
+
name: "autolink",
|
|
4
|
+
tokenize: P
|
|
5
|
+
};
|
|
6
|
+
function P(r, l, t) {
|
|
7
|
+
let i = 0;
|
|
8
|
+
return p;
|
|
9
|
+
function p(n) {
|
|
10
|
+
return r.enter("autolink"), r.enter("autolinkMarker"), r.consume(n), r.exit("autolinkMarker"), r.enter("autolinkProtocol"), M;
|
|
11
|
+
}
|
|
12
|
+
function M(n) {
|
|
13
|
+
return z(n) ? (r.consume(n), h) : n === 64 ? t(n) : u(n);
|
|
14
|
+
}
|
|
15
|
+
function h(n) {
|
|
16
|
+
return n === 43 || n === 45 || n === 46 || a(n) ? (i = 1, m(n)) : u(n);
|
|
17
|
+
}
|
|
18
|
+
function m(n) {
|
|
19
|
+
return n === 58 ? (r.consume(n), i = 0, k) : (n === 43 || n === 45 || n === 46 || a(n)) && i++ < 32 ? (r.consume(n), m) : (i = 0, u(n));
|
|
20
|
+
}
|
|
21
|
+
function k(n) {
|
|
22
|
+
return n === 62 ? (r.exit("autolinkProtocol"), r.enter("autolinkMarker"), r.consume(n), r.exit("autolinkMarker"), r.exit("autolink"), l) : n === null || n === 32 || n === 60 || E(n) ? t(n) : (r.consume(n), k);
|
|
23
|
+
}
|
|
24
|
+
function u(n) {
|
|
25
|
+
return n === 64 ? (r.consume(n), o) : O(n) ? (r.consume(n), u) : t(n);
|
|
26
|
+
}
|
|
27
|
+
function o(n) {
|
|
28
|
+
return a(n) ? x(n) : t(n);
|
|
29
|
+
}
|
|
30
|
+
function x(n) {
|
|
31
|
+
return n === 46 ? (r.consume(n), i = 0, o) : n === 62 ? (r.exit("autolinkProtocol").type = "autolinkEmail", r.enter("autolinkMarker"), r.consume(n), r.exit("autolinkMarker"), r.exit("autolink"), l) : A(n);
|
|
32
|
+
}
|
|
33
|
+
function A(n) {
|
|
34
|
+
if ((n === 45 || a(n)) && i++ < 63) {
|
|
35
|
+
const e = n === 45 ? A : x;
|
|
36
|
+
return r.consume(n), e;
|
|
37
|
+
}
|
|
38
|
+
return t(n);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
export {
|
|
42
|
+
b as autolink
|
|
43
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { factorySpace as o } from "../../micromark-factory-space/index.mjs";
|
|
2
|
+
import { markdownSpace as f, markdownLineEnding as u } from "../../micromark-util-character/index.mjs";
|
|
3
|
+
const p = {
|
|
4
|
+
partial: !0,
|
|
5
|
+
tokenize: k
|
|
6
|
+
};
|
|
7
|
+
function k(t, i, e) {
|
|
8
|
+
return a;
|
|
9
|
+
function a(n) {
|
|
10
|
+
return f(n) ? o(t, r, "linePrefix")(n) : r(n);
|
|
11
|
+
}
|
|
12
|
+
function r(n) {
|
|
13
|
+
return n === null || u(n) ? i(n) : e(n);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
export {
|
|
17
|
+
p as blankLine
|
|
18
|
+
};
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import { factorySpace as l } from "../../micromark-factory-space/index.mjs";
|
|
2
|
+
import { markdownSpace as a } from "../../micromark-util-character/index.mjs";
|
|
3
|
+
const k = {
|
|
4
|
+
continuation: {
|
|
5
|
+
tokenize: Q
|
|
6
|
+
},
|
|
7
|
+
exit: b,
|
|
8
|
+
name: "blockQuote",
|
|
9
|
+
tokenize: x
|
|
10
|
+
};
|
|
11
|
+
function x(t, e, r) {
|
|
12
|
+
const i = this;
|
|
13
|
+
return u;
|
|
14
|
+
function u(n) {
|
|
15
|
+
if (n === 62) {
|
|
16
|
+
const c = i.containerState;
|
|
17
|
+
return c.open || (t.enter("blockQuote", {
|
|
18
|
+
_container: !0
|
|
19
|
+
}), c.open = !0), t.enter("blockQuotePrefix"), t.enter("blockQuoteMarker"), t.consume(n), t.exit("blockQuoteMarker"), o;
|
|
20
|
+
}
|
|
21
|
+
return r(n);
|
|
22
|
+
}
|
|
23
|
+
function o(n) {
|
|
24
|
+
return a(n) ? (t.enter("blockQuotePrefixWhitespace"), t.consume(n), t.exit("blockQuotePrefixWhitespace"), t.exit("blockQuotePrefix"), e) : (t.exit("blockQuotePrefix"), e(n));
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
function Q(t, e, r) {
|
|
28
|
+
const i = this;
|
|
29
|
+
return u;
|
|
30
|
+
function u(n) {
|
|
31
|
+
return a(n) ? l(t, o, "linePrefix", i.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(n) : o(n);
|
|
32
|
+
}
|
|
33
|
+
function o(n) {
|
|
34
|
+
return t.attempt(k, e, r)(n);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
function b(t) {
|
|
38
|
+
t.exit("blockQuote");
|
|
39
|
+
}
|
|
40
|
+
export {
|
|
41
|
+
k as blockQuote
|
|
42
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { asciiPunctuation as i } from "../../micromark-util-character/index.mjs";
|
|
2
|
+
const o = {
|
|
3
|
+
name: "characterEscape",
|
|
4
|
+
tokenize: u
|
|
5
|
+
};
|
|
6
|
+
function u(r, e, n) {
|
|
7
|
+
return t;
|
|
8
|
+
function t(a) {
|
|
9
|
+
return r.enter("characterEscape"), r.enter("escapeMarker"), r.consume(a), r.exit("escapeMarker"), c;
|
|
10
|
+
}
|
|
11
|
+
function c(a) {
|
|
12
|
+
return i(a) ? (r.enter("characterEscapeValue"), r.consume(a), r.exit("characterEscapeValue"), r.exit("characterEscape"), e) : n(a);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
o as characterEscape
|
|
17
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { decodeNamedCharacterReference as k } from "../../decode-named-character-reference/index.dom.mjs";
|
|
2
|
+
import { asciiAlphanumeric as u, asciiHexDigit as M, asciiDigit as p } from "../../micromark-util-character/index.mjs";
|
|
3
|
+
const N = {
|
|
4
|
+
name: "characterReference",
|
|
5
|
+
tokenize: z
|
|
6
|
+
};
|
|
7
|
+
function z(e, h, t) {
|
|
8
|
+
const m = this;
|
|
9
|
+
let i = 0, n, a;
|
|
10
|
+
return R;
|
|
11
|
+
function R(r) {
|
|
12
|
+
return e.enter("characterReference"), e.enter("characterReferenceMarker"), e.consume(r), e.exit("characterReferenceMarker"), l;
|
|
13
|
+
}
|
|
14
|
+
function l(r) {
|
|
15
|
+
return r === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(r), e.exit("characterReferenceMarkerNumeric"), o) : (e.enter("characterReferenceValue"), n = 31, a = u, c(r));
|
|
16
|
+
}
|
|
17
|
+
function o(r) {
|
|
18
|
+
return r === 88 || r === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(r), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), n = 6, a = M, c) : (e.enter("characterReferenceValue"), n = 7, a = p, c(r));
|
|
19
|
+
}
|
|
20
|
+
function c(r) {
|
|
21
|
+
if (r === 59 && i) {
|
|
22
|
+
const x = e.exit("characterReferenceValue");
|
|
23
|
+
return a === u && !k(m.sliceSerialize(x)) ? t(r) : (e.enter("characterReferenceMarker"), e.consume(r), e.exit("characterReferenceMarker"), e.exit("characterReference"), h);
|
|
24
|
+
}
|
|
25
|
+
return a(r) && i++ < n ? (e.consume(r), c) : t(r);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
N as characterReference
|
|
30
|
+
};
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
import { factorySpace as p } from "../../micromark-factory-space/index.mjs";
|
|
2
|
+
import { markdownSpace as x, markdownLineEnding as u } from "../../micromark-util-character/index.mjs";
|
|
3
|
+
const d = {
|
|
4
|
+
partial: !0,
|
|
5
|
+
tokenize: A
|
|
6
|
+
}, G = {
|
|
7
|
+
concrete: !0,
|
|
8
|
+
name: "codeFenced",
|
|
9
|
+
tokenize: V
|
|
10
|
+
};
|
|
11
|
+
function V(e, m, l) {
|
|
12
|
+
const i = this, S = {
|
|
13
|
+
partial: !0,
|
|
14
|
+
tokenize: M
|
|
15
|
+
};
|
|
16
|
+
let c = 0, t = 0, o;
|
|
17
|
+
return I;
|
|
18
|
+
function I(n) {
|
|
19
|
+
return L(n);
|
|
20
|
+
}
|
|
21
|
+
function L(n) {
|
|
22
|
+
const a = i.events[i.events.length - 1];
|
|
23
|
+
return c = a && a[1].type === "linePrefix" ? a[2].sliceSerialize(a[1], !0).length : 0, o = n, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), z(n);
|
|
24
|
+
}
|
|
25
|
+
function z(n) {
|
|
26
|
+
return n === o ? (t++, e.consume(n), z) : t < 3 ? l(n) : (e.exit("codeFencedFenceSequence"), x(n) ? p(e, F, "whitespace")(n) : F(n));
|
|
27
|
+
}
|
|
28
|
+
function F(n) {
|
|
29
|
+
return n === null || u(n) ? (e.exit("codeFencedFence"), i.interrupt ? m(n) : e.check(d, w, h)(n)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
|
|
30
|
+
contentType: "string"
|
|
31
|
+
}), C(n));
|
|
32
|
+
}
|
|
33
|
+
function C(n) {
|
|
34
|
+
return n === null || u(n) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), F(n)) : x(n) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), p(e, P, "whitespace")(n)) : n === 96 && n === o ? l(n) : (e.consume(n), C);
|
|
35
|
+
}
|
|
36
|
+
function P(n) {
|
|
37
|
+
return n === null || u(n) ? F(n) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
|
|
38
|
+
contentType: "string"
|
|
39
|
+
}), q(n));
|
|
40
|
+
}
|
|
41
|
+
function q(n) {
|
|
42
|
+
return n === null || u(n) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), F(n)) : n === 96 && n === o ? l(n) : (e.consume(n), q);
|
|
43
|
+
}
|
|
44
|
+
function w(n) {
|
|
45
|
+
return e.attempt(S, h, O)(n);
|
|
46
|
+
}
|
|
47
|
+
function O(n) {
|
|
48
|
+
return e.enter("lineEnding"), e.consume(n), e.exit("lineEnding"), v;
|
|
49
|
+
}
|
|
50
|
+
function v(n) {
|
|
51
|
+
return c > 0 && x(n) ? p(e, g, "linePrefix", c + 1)(n) : g(n);
|
|
52
|
+
}
|
|
53
|
+
function g(n) {
|
|
54
|
+
return n === null || u(n) ? e.check(d, w, h)(n) : (e.enter("codeFlowValue"), y(n));
|
|
55
|
+
}
|
|
56
|
+
function y(n) {
|
|
57
|
+
return n === null || u(n) ? (e.exit("codeFlowValue"), g(n)) : (e.consume(n), y);
|
|
58
|
+
}
|
|
59
|
+
function h(n) {
|
|
60
|
+
return e.exit("codeFenced"), m(n);
|
|
61
|
+
}
|
|
62
|
+
function M(n, a, k) {
|
|
63
|
+
let E = 0;
|
|
64
|
+
return N;
|
|
65
|
+
function N(r) {
|
|
66
|
+
return n.enter("lineEnding"), n.consume(r), n.exit("lineEnding"), T;
|
|
67
|
+
}
|
|
68
|
+
function T(r) {
|
|
69
|
+
return n.enter("codeFencedFence"), x(r) ? p(n, s, "linePrefix", i.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(r) : s(r);
|
|
70
|
+
}
|
|
71
|
+
function s(r) {
|
|
72
|
+
return r === o ? (n.enter("codeFencedFenceSequence"), B(r)) : k(r);
|
|
73
|
+
}
|
|
74
|
+
function B(r) {
|
|
75
|
+
return r === o ? (E++, n.consume(r), B) : E >= t ? (n.exit("codeFencedFenceSequence"), x(r) ? p(n, b, "whitespace")(r) : b(r)) : k(r);
|
|
76
|
+
}
|
|
77
|
+
function b(r) {
|
|
78
|
+
return r === null || u(r) ? (n.exit("codeFencedFence"), a(r)) : k(r);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
function A(e, m, l) {
|
|
83
|
+
const i = this;
|
|
84
|
+
return S;
|
|
85
|
+
function S(t) {
|
|
86
|
+
return t === null ? l(t) : (e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), c);
|
|
87
|
+
}
|
|
88
|
+
function c(t) {
|
|
89
|
+
return i.parser.lazy[i.now().line] ? l(t) : m(t);
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
export {
|
|
93
|
+
G as codeFenced
|
|
94
|
+
};
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { factorySpace as h } from "../../micromark-factory-space/index.mjs";
|
|
2
|
+
import { markdownLineEnding as o } from "../../micromark-util-character/index.mjs";
|
|
3
|
+
const P = {
|
|
4
|
+
name: "codeIndented",
|
|
5
|
+
tokenize: p
|
|
6
|
+
}, m = {
|
|
7
|
+
partial: !0,
|
|
8
|
+
tokenize: d
|
|
9
|
+
};
|
|
10
|
+
function p(e, f, l) {
|
|
11
|
+
const r = this;
|
|
12
|
+
return u;
|
|
13
|
+
function u(n) {
|
|
14
|
+
return e.enter("codeIndented"), h(e, s, "linePrefix", 4 + 1)(n);
|
|
15
|
+
}
|
|
16
|
+
function s(n) {
|
|
17
|
+
const a = r.events[r.events.length - 1];
|
|
18
|
+
return a && a[1].type === "linePrefix" && a[2].sliceSerialize(a[1], !0).length >= 4 ? t(n) : l(n);
|
|
19
|
+
}
|
|
20
|
+
function t(n) {
|
|
21
|
+
return n === null ? x(n) : o(n) ? e.attempt(m, t, x)(n) : (e.enter("codeFlowValue"), i(n));
|
|
22
|
+
}
|
|
23
|
+
function i(n) {
|
|
24
|
+
return n === null || o(n) ? (e.exit("codeFlowValue"), t(n)) : (e.consume(n), i);
|
|
25
|
+
}
|
|
26
|
+
function x(n) {
|
|
27
|
+
return e.exit("codeIndented"), f(n);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
function d(e, f, l) {
|
|
31
|
+
const r = this;
|
|
32
|
+
return u;
|
|
33
|
+
function u(t) {
|
|
34
|
+
return r.parser.lazy[r.now().line] ? l(t) : o(t) ? (e.enter("lineEnding"), e.consume(t), e.exit("lineEnding"), u) : h(e, s, "linePrefix", 4 + 1)(t);
|
|
35
|
+
}
|
|
36
|
+
function s(t) {
|
|
37
|
+
const i = r.events[r.events.length - 1];
|
|
38
|
+
return i && i[1].type === "linePrefix" && i[2].sliceSerialize(i[1], !0).length >= 4 ? f(t) : o(t) ? u(t) : l(t);
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
export {
|
|
42
|
+
P as codeIndented
|
|
43
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { markdownLineEnding as d } from "../../micromark-util-character/index.mjs";
|
|
2
|
+
const m = {
|
|
3
|
+
name: "codeText",
|
|
4
|
+
previous: g,
|
|
5
|
+
resolve: y,
|
|
6
|
+
tokenize: E
|
|
7
|
+
};
|
|
8
|
+
function y(e) {
|
|
9
|
+
let r = e.length - 4, u = 3, t, i;
|
|
10
|
+
if ((e[u][1].type === "lineEnding" || e[u][1].type === "space") && (e[r][1].type === "lineEnding" || e[r][1].type === "space")) {
|
|
11
|
+
for (t = u; ++t < r; )
|
|
12
|
+
if (e[t][1].type === "codeTextData") {
|
|
13
|
+
e[u][1].type = "codeTextPadding", e[r][1].type = "codeTextPadding", u += 2, r -= 2;
|
|
14
|
+
break;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
for (t = u - 1, r++; ++t <= r; )
|
|
18
|
+
i === void 0 ? t !== r && e[t][1].type !== "lineEnding" && (i = t) : (t === r || e[t][1].type === "lineEnding") && (e[i][1].type = "codeTextData", t !== i + 2 && (e[i][1].end = e[t - 1][1].end, e.splice(i + 2, t - i - 2), r -= t - i - 2, t = i + 2), i = void 0);
|
|
19
|
+
return e;
|
|
20
|
+
}
|
|
21
|
+
function g(e) {
|
|
22
|
+
return e !== 96 || this.events[this.events.length - 1][1].type === "characterEscape";
|
|
23
|
+
}
|
|
24
|
+
function E(e, r, u) {
|
|
25
|
+
let t = 0, i, l;
|
|
26
|
+
return T;
|
|
27
|
+
function T(n) {
|
|
28
|
+
return e.enter("codeText"), e.enter("codeTextSequence"), o(n);
|
|
29
|
+
}
|
|
30
|
+
function o(n) {
|
|
31
|
+
return n === 96 ? (e.consume(n), t++, o) : (e.exit("codeTextSequence"), x(n));
|
|
32
|
+
}
|
|
33
|
+
function x(n) {
|
|
34
|
+
return n === null ? u(n) : n === 32 ? (e.enter("space"), e.consume(n), e.exit("space"), x) : n === 96 ? (l = e.enter("codeTextSequence"), i = 0, p(n)) : d(n) ? (e.enter("lineEnding"), e.consume(n), e.exit("lineEnding"), x) : (e.enter("codeTextData"), a(n));
|
|
35
|
+
}
|
|
36
|
+
function a(n) {
|
|
37
|
+
return n === null || n === 32 || n === 96 || d(n) ? (e.exit("codeTextData"), x(n)) : (e.consume(n), a);
|
|
38
|
+
}
|
|
39
|
+
function p(n) {
|
|
40
|
+
return n === 96 ? (e.consume(n), i++, p) : i === t ? (e.exit("codeTextSequence"), e.exit("codeText"), r(n)) : (l.type = "codeTextData", a(n));
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
export {
|
|
44
|
+
m as codeText
|
|
45
|
+
};
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { factorySpace as a } from "../../micromark-factory-space/index.mjs";
|
|
2
|
+
import { markdownLineEnding as l } from "../../micromark-util-character/index.mjs";
|
|
3
|
+
import { subtokenize as p } from "../../micromark-util-subtokenize/index.mjs";
|
|
4
|
+
const d = {
|
|
5
|
+
resolve: s,
|
|
6
|
+
tokenize: h
|
|
7
|
+
}, k = {
|
|
8
|
+
partial: !0,
|
|
9
|
+
tokenize: x
|
|
10
|
+
};
|
|
11
|
+
function s(n) {
|
|
12
|
+
return p(n), n;
|
|
13
|
+
}
|
|
14
|
+
function h(n, u) {
|
|
15
|
+
let r;
|
|
16
|
+
return i;
|
|
17
|
+
function i(t) {
|
|
18
|
+
return n.enter("content"), r = n.enter("chunkContent", {
|
|
19
|
+
contentType: "content"
|
|
20
|
+
}), o(t);
|
|
21
|
+
}
|
|
22
|
+
function o(t) {
|
|
23
|
+
return t === null ? c(t) : l(t) ? n.check(k, e, c)(t) : (n.consume(t), o);
|
|
24
|
+
}
|
|
25
|
+
function c(t) {
|
|
26
|
+
return n.exit("chunkContent"), n.exit("content"), u(t);
|
|
27
|
+
}
|
|
28
|
+
function e(t) {
|
|
29
|
+
return n.consume(t), n.exit("chunkContent"), r.next = n.enter("chunkContent", {
|
|
30
|
+
contentType: "content",
|
|
31
|
+
previous: r
|
|
32
|
+
}), r = r.next, o;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
function x(n, u, r) {
|
|
36
|
+
const i = this;
|
|
37
|
+
return o;
|
|
38
|
+
function o(e) {
|
|
39
|
+
return n.exit("chunkContent"), n.enter("lineEnding"), n.consume(e), n.exit("lineEnding"), a(n, c, "linePrefix");
|
|
40
|
+
}
|
|
41
|
+
function c(e) {
|
|
42
|
+
if (e === null || l(e))
|
|
43
|
+
return r(e);
|
|
44
|
+
const t = i.events[i.events.length - 1];
|
|
45
|
+
return !i.parser.constructs.disable.null.includes("codeIndented") && t && t[1].type === "linePrefix" && t[2].sliceSerialize(t[1], !0).length >= 4 ? u(e) : n.interrupt(i.parser.constructs.flow, r, u)(e);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
export {
|
|
49
|
+
d as content
|
|
50
|
+
};
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { factoryDestination as D } from "../../micromark-factory-destination/index.mjs";
|
|
2
|
+
import { factoryLabel as S } from "../../micromark-factory-label/index.mjs";
|
|
3
|
+
import { factorySpace as s } from "../../micromark-factory-space/index.mjs";
|
|
4
|
+
import { factoryTitle as g } from "../../micromark-factory-title/index.mjs";
|
|
5
|
+
import { factoryWhitespace as d } from "../../micromark-factory-whitespace/index.mjs";
|
|
6
|
+
import { markdownLineEndingOrSpace as k, markdownSpace as h, markdownLineEnding as L } from "../../micromark-util-character/index.mjs";
|
|
7
|
+
import { normalizeIdentifier as w } from "../../micromark-util-normalize-identifier/index.mjs";
|
|
8
|
+
const O = {
|
|
9
|
+
name: "definition",
|
|
10
|
+
tokenize: M
|
|
11
|
+
}, z = {
|
|
12
|
+
partial: !0,
|
|
13
|
+
tokenize: y
|
|
14
|
+
};
|
|
15
|
+
function M(t, f, e) {
|
|
16
|
+
const r = this;
|
|
17
|
+
let o;
|
|
18
|
+
return u;
|
|
19
|
+
function u(i) {
|
|
20
|
+
return t.enter("definition"), a(i);
|
|
21
|
+
}
|
|
22
|
+
function a(i) {
|
|
23
|
+
return S.call(
|
|
24
|
+
r,
|
|
25
|
+
t,
|
|
26
|
+
n,
|
|
27
|
+
// Note: we don’t need to reset the way `markdown-rs` does.
|
|
28
|
+
e,
|
|
29
|
+
"definitionLabel",
|
|
30
|
+
"definitionLabelMarker",
|
|
31
|
+
"definitionLabelString"
|
|
32
|
+
)(i);
|
|
33
|
+
}
|
|
34
|
+
function n(i) {
|
|
35
|
+
return o = w(r.sliceSerialize(r.events[r.events.length - 1][1]).slice(1, -1)), i === 58 ? (t.enter("definitionMarker"), t.consume(i), t.exit("definitionMarker"), b) : e(i);
|
|
36
|
+
}
|
|
37
|
+
function b(i) {
|
|
38
|
+
return k(i) ? d(t, l)(i) : l(i);
|
|
39
|
+
}
|
|
40
|
+
function l(i) {
|
|
41
|
+
return D(
|
|
42
|
+
t,
|
|
43
|
+
c,
|
|
44
|
+
// Note: we don’t need to reset the way `markdown-rs` does.
|
|
45
|
+
e,
|
|
46
|
+
"definitionDestination",
|
|
47
|
+
"definitionDestinationLiteral",
|
|
48
|
+
"definitionDestinationLiteralMarker",
|
|
49
|
+
"definitionDestinationRaw",
|
|
50
|
+
"definitionDestinationString"
|
|
51
|
+
)(i);
|
|
52
|
+
}
|
|
53
|
+
function c(i) {
|
|
54
|
+
return t.attempt(z, m, m)(i);
|
|
55
|
+
}
|
|
56
|
+
function m(i) {
|
|
57
|
+
return h(i) ? s(t, p, "whitespace")(i) : p(i);
|
|
58
|
+
}
|
|
59
|
+
function p(i) {
|
|
60
|
+
return i === null || L(i) ? (t.exit("definition"), r.parser.defined.push(o), f(i)) : e(i);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
function y(t, f, e) {
|
|
64
|
+
return r;
|
|
65
|
+
function r(n) {
|
|
66
|
+
return k(n) ? d(t, o)(n) : e(n);
|
|
67
|
+
}
|
|
68
|
+
function o(n) {
|
|
69
|
+
return g(t, u, e, "definitionTitle", "definitionTitleMarker", "definitionTitleString")(n);
|
|
70
|
+
}
|
|
71
|
+
function u(n) {
|
|
72
|
+
return h(n) ? s(t, a, "whitespace")(n) : a(n);
|
|
73
|
+
}
|
|
74
|
+
function a(n) {
|
|
75
|
+
return n === null || L(n) ? f(n) : e(n);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
export {
|
|
79
|
+
O as definition
|
|
80
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { markdownLineEnding as o } from "../../micromark-util-character/index.mjs";
|
|
2
|
+
const p = {
|
|
3
|
+
name: "hardBreakEscape",
|
|
4
|
+
tokenize: k
|
|
5
|
+
};
|
|
6
|
+
function k(e, n, a) {
|
|
7
|
+
return t;
|
|
8
|
+
function t(r) {
|
|
9
|
+
return e.enter("hardBreakEscape"), e.consume(r), i;
|
|
10
|
+
}
|
|
11
|
+
function i(r) {
|
|
12
|
+
return o(r) ? (e.exit("hardBreakEscape"), n(r)) : a(r);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
export {
|
|
16
|
+
p as hardBreakEscape
|
|
17
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { factorySpace as H } from "../../micromark-factory-space/index.mjs";
|
|
2
|
+
import { markdownLineEndingOrSpace as m, markdownLineEnding as o, markdownSpace as h } from "../../micromark-util-character/index.mjs";
|
|
3
|
+
import { splice as S } from "../../micromark-util-chunked/index.mjs";
|
|
4
|
+
const T = {
|
|
5
|
+
name: "headingAtx",
|
|
6
|
+
resolve: y,
|
|
7
|
+
tokenize: d
|
|
8
|
+
};
|
|
9
|
+
function y(t, i) {
|
|
10
|
+
let e = t.length - 2, r = 3, a, u;
|
|
11
|
+
return t[r][1].type === "whitespace" && (r += 2), e - 2 > r && t[e][1].type === "whitespace" && (e -= 2), t[e][1].type === "atxHeadingSequence" && (r === e - 1 || e - 4 > r && t[e - 2][1].type === "whitespace") && (e -= r + 1 === e ? 2 : 4), e > r && (a = {
|
|
12
|
+
type: "atxHeadingText",
|
|
13
|
+
start: t[r][1].start,
|
|
14
|
+
end: t[e][1].end
|
|
15
|
+
}, u = {
|
|
16
|
+
type: "chunkText",
|
|
17
|
+
start: t[r][1].start,
|
|
18
|
+
end: t[e][1].end,
|
|
19
|
+
contentType: "text"
|
|
20
|
+
}, S(t, r, e - r + 1, [["enter", a, i], ["enter", u, i], ["exit", u, i], ["exit", a, i]])), t;
|
|
21
|
+
}
|
|
22
|
+
function d(t, i, e) {
|
|
23
|
+
let r = 0;
|
|
24
|
+
return a;
|
|
25
|
+
function a(n) {
|
|
26
|
+
return t.enter("atxHeading"), u(n);
|
|
27
|
+
}
|
|
28
|
+
function u(n) {
|
|
29
|
+
return t.enter("atxHeadingSequence"), p(n);
|
|
30
|
+
}
|
|
31
|
+
function p(n) {
|
|
32
|
+
return n === 35 && r++ < 6 ? (t.consume(n), p) : n === null || m(n) ? (t.exit("atxHeadingSequence"), x(n)) : e(n);
|
|
33
|
+
}
|
|
34
|
+
function x(n) {
|
|
35
|
+
return n === 35 ? (t.enter("atxHeadingSequence"), g(n)) : n === null || o(n) ? (t.exit("atxHeading"), i(n)) : h(n) ? H(t, x, "whitespace")(n) : (t.enter("atxHeadingText"), l(n));
|
|
36
|
+
}
|
|
37
|
+
function g(n) {
|
|
38
|
+
return n === 35 ? (t.consume(n), g) : (t.exit("atxHeadingSequence"), x(n));
|
|
39
|
+
}
|
|
40
|
+
function l(n) {
|
|
41
|
+
return n === null || n === 35 || m(n) ? (t.exit("atxHeadingText"), x(n)) : (t.consume(n), l);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
export {
|
|
45
|
+
T as headingAtx
|
|
46
|
+
};
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { asciiAlpha as g, markdownLineEndingOrSpace as V, asciiAlphanumeric as R, markdownSpace as h, markdownLineEnding as p } from "../../micromark-util-character/index.mjs";
|
|
2
|
+
import { htmlRawNames as H, htmlBlockNames as _ } from "../../micromark-util-html-tag-name/index.mjs";
|
|
3
|
+
import { blankLine as $ } from "./blank-line.mjs";
|
|
4
|
+
const an = {
|
|
5
|
+
concrete: !0,
|
|
6
|
+
name: "htmlFlow",
|
|
7
|
+
resolveTo: c,
|
|
8
|
+
tokenize: d
|
|
9
|
+
}, k = {
|
|
10
|
+
partial: !0,
|
|
11
|
+
tokenize: rn
|
|
12
|
+
}, v = {
|
|
13
|
+
partial: !0,
|
|
14
|
+
tokenize: nn
|
|
15
|
+
};
|
|
16
|
+
function c(r) {
|
|
17
|
+
let t = r.length;
|
|
18
|
+
for (; t-- && !(r[t][0] === "enter" && r[t][1].type === "htmlFlow"); )
|
|
19
|
+
;
|
|
20
|
+
return t > 1 && r[t - 2][1].type === "linePrefix" && (r[t][1].start = r[t - 2][1].start, r[t + 1][1].start = r[t - 2][1].start, r.splice(t - 2, 2)), r;
|
|
21
|
+
}
|
|
22
|
+
function d(r, t, i) {
|
|
23
|
+
const a = this;
|
|
24
|
+
let u, s, l, A, b;
|
|
25
|
+
return Q;
|
|
26
|
+
function Q(n) {
|
|
27
|
+
return q(n);
|
|
28
|
+
}
|
|
29
|
+
function q(n) {
|
|
30
|
+
return r.enter("htmlFlow"), r.enter("htmlFlowData"), r.consume(n), P;
|
|
31
|
+
}
|
|
32
|
+
function P(n) {
|
|
33
|
+
return n === 33 ? (r.consume(n), U) : n === 47 ? (r.consume(n), s = !0, j) : n === 63 ? (r.consume(n), u = 3, a.interrupt ? t : e) : g(n) ? (r.consume(n), l = String.fromCharCode(n), F) : i(n);
|
|
34
|
+
}
|
|
35
|
+
function U(n) {
|
|
36
|
+
return n === 45 ? (r.consume(n), u = 2, f) : n === 91 ? (r.consume(n), u = 5, A = 0, E) : g(n) ? (r.consume(n), u = 4, a.interrupt ? t : e) : i(n);
|
|
37
|
+
}
|
|
38
|
+
function f(n) {
|
|
39
|
+
return n === 45 ? (r.consume(n), a.interrupt ? t : e) : i(n);
|
|
40
|
+
}
|
|
41
|
+
function E(n) {
|
|
42
|
+
const o = "CDATA[";
|
|
43
|
+
return n === o.charCodeAt(A++) ? (r.consume(n), A === o.length ? a.interrupt ? t : m : E) : i(n);
|
|
44
|
+
}
|
|
45
|
+
function j(n) {
|
|
46
|
+
return g(n) ? (r.consume(n), l = String.fromCharCode(n), F) : i(n);
|
|
47
|
+
}
|
|
48
|
+
function F(n) {
|
|
49
|
+
if (n === null || n === 47 || n === 62 || V(n)) {
|
|
50
|
+
const o = n === 47, Z = l.toLowerCase();
|
|
51
|
+
return !o && !s && H.includes(Z) ? (u = 1, a.interrupt ? t(n) : m(n)) : _.includes(l.toLowerCase()) ? (u = 6, o ? (r.consume(n), G) : a.interrupt ? t(n) : m(n)) : (u = 7, a.interrupt && !a.parser.lazy[a.now().line] ? i(n) : s ? B(n) : w(n));
|
|
52
|
+
}
|
|
53
|
+
return n === 45 || R(n) ? (r.consume(n), l += String.fromCharCode(n), F) : i(n);
|
|
54
|
+
}
|
|
55
|
+
function G(n) {
|
|
56
|
+
return n === 62 ? (r.consume(n), a.interrupt ? t : m) : i(n);
|
|
57
|
+
}
|
|
58
|
+
function B(n) {
|
|
59
|
+
return h(n) ? (r.consume(n), B) : x(n);
|
|
60
|
+
}
|
|
61
|
+
function w(n) {
|
|
62
|
+
return n === 47 ? (r.consume(n), x) : n === 58 || n === 95 || g(n) ? (r.consume(n), N) : h(n) ? (r.consume(n), w) : x(n);
|
|
63
|
+
}
|
|
64
|
+
function N(n) {
|
|
65
|
+
return n === 45 || n === 46 || n === 58 || n === 95 || R(n) ? (r.consume(n), N) : S(n);
|
|
66
|
+
}
|
|
67
|
+
function S(n) {
|
|
68
|
+
return n === 61 ? (r.consume(n), y) : h(n) ? (r.consume(n), S) : w(n);
|
|
69
|
+
}
|
|
70
|
+
function y(n) {
|
|
71
|
+
return n === null || n === 60 || n === 61 || n === 62 || n === 96 ? i(n) : n === 34 || n === 39 ? (r.consume(n), b = n, D) : h(n) ? (r.consume(n), y) : T(n);
|
|
72
|
+
}
|
|
73
|
+
function D(n) {
|
|
74
|
+
return n === b ? (r.consume(n), b = null, J) : n === null || p(n) ? i(n) : (r.consume(n), D);
|
|
75
|
+
}
|
|
76
|
+
function T(n) {
|
|
77
|
+
return n === null || n === 34 || n === 39 || n === 47 || n === 60 || n === 61 || n === 62 || n === 96 || V(n) ? S(n) : (r.consume(n), T);
|
|
78
|
+
}
|
|
79
|
+
function J(n) {
|
|
80
|
+
return n === 47 || n === 62 || h(n) ? w(n) : i(n);
|
|
81
|
+
}
|
|
82
|
+
function x(n) {
|
|
83
|
+
return n === 62 ? (r.consume(n), I) : i(n);
|
|
84
|
+
}
|
|
85
|
+
function I(n) {
|
|
86
|
+
return n === null || p(n) ? m(n) : h(n) ? (r.consume(n), I) : i(n);
|
|
87
|
+
}
|
|
88
|
+
function m(n) {
|
|
89
|
+
return n === 45 && u === 2 ? (r.consume(n), W) : n === 60 && u === 1 ? (r.consume(n), X) : n === 62 && u === 4 ? (r.consume(n), C) : n === 63 && u === 3 ? (r.consume(n), e) : n === 93 && u === 5 ? (r.consume(n), Y) : p(n) && (u === 6 || u === 7) ? (r.exit("htmlFlowData"), r.check(k, L, z)(n)) : n === null || p(n) ? (r.exit("htmlFlowData"), z(n)) : (r.consume(n), m);
|
|
90
|
+
}
|
|
91
|
+
function z(n) {
|
|
92
|
+
return r.check(v, K, L)(n);
|
|
93
|
+
}
|
|
94
|
+
function K(n) {
|
|
95
|
+
return r.enter("lineEnding"), r.consume(n), r.exit("lineEnding"), M;
|
|
96
|
+
}
|
|
97
|
+
function M(n) {
|
|
98
|
+
return n === null || p(n) ? z(n) : (r.enter("htmlFlowData"), m(n));
|
|
99
|
+
}
|
|
100
|
+
function W(n) {
|
|
101
|
+
return n === 45 ? (r.consume(n), e) : m(n);
|
|
102
|
+
}
|
|
103
|
+
function X(n) {
|
|
104
|
+
return n === 47 ? (r.consume(n), l = "", O) : m(n);
|
|
105
|
+
}
|
|
106
|
+
function O(n) {
|
|
107
|
+
if (n === 62) {
|
|
108
|
+
const o = l.toLowerCase();
|
|
109
|
+
return H.includes(o) ? (r.consume(n), C) : m(n);
|
|
110
|
+
}
|
|
111
|
+
return g(n) && l.length < 8 ? (r.consume(n), l += String.fromCharCode(n), O) : m(n);
|
|
112
|
+
}
|
|
113
|
+
function Y(n) {
|
|
114
|
+
return n === 93 ? (r.consume(n), e) : m(n);
|
|
115
|
+
}
|
|
116
|
+
function e(n) {
|
|
117
|
+
return n === 62 ? (r.consume(n), C) : n === 45 && u === 2 ? (r.consume(n), e) : m(n);
|
|
118
|
+
}
|
|
119
|
+
function C(n) {
|
|
120
|
+
return n === null || p(n) ? (r.exit("htmlFlowData"), L(n)) : (r.consume(n), C);
|
|
121
|
+
}
|
|
122
|
+
function L(n) {
|
|
123
|
+
return r.exit("htmlFlow"), t(n);
|
|
124
|
+
}
|
|
125
|
+
}
|
|
126
|
+
function nn(r, t, i) {
|
|
127
|
+
const a = this;
|
|
128
|
+
return u;
|
|
129
|
+
function u(l) {
|
|
130
|
+
return p(l) ? (r.enter("lineEnding"), r.consume(l), r.exit("lineEnding"), s) : i(l);
|
|
131
|
+
}
|
|
132
|
+
function s(l) {
|
|
133
|
+
return a.parser.lazy[a.now().line] ? i(l) : t(l);
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
function rn(r, t, i) {
|
|
137
|
+
return a;
|
|
138
|
+
function a(u) {
|
|
139
|
+
return r.enter("lineEnding"), r.consume(u), r.exit("lineEnding"), r.attempt($, t, i);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
export {
|
|
143
|
+
an as htmlFlow
|
|
144
|
+
};
|