@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,19 @@
|
|
|
1
|
+
import { create as n } from "./util/create.mjs";
|
|
2
|
+
const r = n({
|
|
3
|
+
space: "xlink",
|
|
4
|
+
transform(e, l) {
|
|
5
|
+
return "xlink:" + l.slice(5).toLowerCase();
|
|
6
|
+
},
|
|
7
|
+
properties: {
|
|
8
|
+
xLinkActuate: null,
|
|
9
|
+
xLinkArcRole: null,
|
|
10
|
+
xLinkHref: null,
|
|
11
|
+
xLinkRole: null,
|
|
12
|
+
xLinkShow: null,
|
|
13
|
+
xLinkTitle: null,
|
|
14
|
+
xLinkType: null
|
|
15
|
+
}
|
|
16
|
+
});
|
|
17
|
+
export {
|
|
18
|
+
r as xlink
|
|
19
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { create as e } from "./util/create.mjs";
|
|
2
|
+
const o = e({
|
|
3
|
+
space: "xml",
|
|
4
|
+
transform(r, l) {
|
|
5
|
+
return "xml:" + l.slice(3).toLowerCase();
|
|
6
|
+
},
|
|
7
|
+
properties: {
|
|
8
|
+
xmlLang: null,
|
|
9
|
+
xmlBase: null,
|
|
10
|
+
xmlSpace: null
|
|
11
|
+
}
|
|
12
|
+
});
|
|
13
|
+
export {
|
|
14
|
+
o as xml
|
|
15
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { create as n } from "./util/create.mjs";
|
|
2
|
+
import { caseInsensitiveTransform as s } from "./util/case-insensitive-transform.mjs";
|
|
3
|
+
const m = n({
|
|
4
|
+
space: "xmlns",
|
|
5
|
+
attributes: {
|
|
6
|
+
xmlnsxlink: "xmlns:xlink"
|
|
7
|
+
},
|
|
8
|
+
transform: s,
|
|
9
|
+
properties: {
|
|
10
|
+
xmlns: null,
|
|
11
|
+
xmlnsXLink: null
|
|
12
|
+
}
|
|
13
|
+
});
|
|
14
|
+
export {
|
|
15
|
+
m as xmlns
|
|
16
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { visitParents as m } from "../../../../unist-util-visit-parents/lib/index.mjs";
|
|
2
|
+
import { CONTINUE as y, EXIT as E, SKIP as N } from "../../../../unist-util-visit-parents/lib/index.mjs";
|
|
3
|
+
function I(l, n, e, u) {
|
|
4
|
+
let t, f, o;
|
|
5
|
+
typeof n == "function" && typeof e != "function" ? (f = void 0, o = n, t = e) : (f = n, o = e, t = u), m(l, f, p, t);
|
|
6
|
+
function p(c, d) {
|
|
7
|
+
const i = d[d.length - 1], x = i ? i.children.indexOf(c) : void 0;
|
|
8
|
+
return o(c, x, i);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
y as CONTINUE,
|
|
13
|
+
E as EXIT,
|
|
14
|
+
N as SKIP,
|
|
15
|
+
I as visit
|
|
16
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
const w = {
|
|
2
|
+
html: "http://www.w3.org/1999/xhtml",
|
|
3
|
+
mathml: "http://www.w3.org/1998/Math/MathML",
|
|
4
|
+
svg: "http://www.w3.org/2000/svg",
|
|
5
|
+
xlink: "http://www.w3.org/1999/xlink",
|
|
6
|
+
xml: "http://www.w3.org/XML/1998/namespace",
|
|
7
|
+
xmlns: "http://www.w3.org/2000/xmlns/"
|
|
8
|
+
};
|
|
9
|
+
export {
|
|
10
|
+
w as webNamespaces
|
|
11
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { gfm as i } from "../../micromark-extension-gfm/index.mjs";
|
|
2
|
+
import { gfmFromMarkdown as e, gfmToMarkdown as f } from "../../mdast-util-gfm/lib/index.mjs";
|
|
3
|
+
const k = {};
|
|
4
|
+
function x(s) {
|
|
5
|
+
const t = (
|
|
6
|
+
/** @type {Processor<Root>} */
|
|
7
|
+
this
|
|
8
|
+
), n = s || k, o = t.data(), r = o.micromarkExtensions || (o.micromarkExtensions = []), m = o.fromMarkdownExtensions || (o.fromMarkdownExtensions = []), a = o.toMarkdownExtensions || (o.toMarkdownExtensions = []);
|
|
9
|
+
r.push(i(n)), m.push(e()), a.push(f(n));
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
x as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { math as i } from "../../micromark-extension-math/lib/syntax.mjs";
|
|
2
|
+
import { mathFromMarkdown as e, mathToMarkdown as k } from "../../mdast-util-math/lib/index.mjs";
|
|
3
|
+
const c = {};
|
|
4
|
+
function E(t) {
|
|
5
|
+
const s = (
|
|
6
|
+
/** @type {Processor} */
|
|
7
|
+
this
|
|
8
|
+
), n = t || c, o = s.data(), r = o.micromarkExtensions || (o.micromarkExtensions = []), a = o.fromMarkdownExtensions || (o.fromMarkdownExtensions = []), m = o.toMarkdownExtensions || (o.toMarkdownExtensions = []);
|
|
9
|
+
r.push(i(n)), a.push(e()), m.push(k(n));
|
|
10
|
+
}
|
|
11
|
+
export {
|
|
12
|
+
E as default
|
|
13
|
+
};
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
var w = Object.defineProperty;
|
|
2
|
+
var o = Object.getOwnPropertySymbols;
|
|
3
|
+
var x = Object.prototype.hasOwnProperty, H = Object.prototype.propertyIsEnumerable;
|
|
4
|
+
var h = (n, u, r) => u in n ? w(n, u, { enumerable: !0, configurable: !0, writable: !0, value: r }) : n[u] = r, m = (n, u) => {
|
|
5
|
+
for (var r in u || (u = {}))
|
|
6
|
+
x.call(u, r) && h(n, r, u[r]);
|
|
7
|
+
if (o)
|
|
8
|
+
for (var r of o(u))
|
|
9
|
+
H.call(u, r) && h(n, r, u[r]);
|
|
10
|
+
return n;
|
|
11
|
+
};
|
|
12
|
+
var p = (n, u, r) => new Promise((e, a) => {
|
|
13
|
+
var k = (t) => {
|
|
14
|
+
try {
|
|
15
|
+
c(r.next(t));
|
|
16
|
+
} catch (f) {
|
|
17
|
+
a(f);
|
|
18
|
+
}
|
|
19
|
+
}, s = (t) => {
|
|
20
|
+
try {
|
|
21
|
+
c(r.throw(t));
|
|
22
|
+
} catch (f) {
|
|
23
|
+
a(f);
|
|
24
|
+
}
|
|
25
|
+
}, c = (t) => t.done ? e(t.value) : Promise.resolve(t.value).then(k, s);
|
|
26
|
+
c((r = r.apply(n, u)).next());
|
|
27
|
+
});
|
|
28
|
+
import { toHast as y } from "../../mdast-util-to-hast/lib/index.mjs";
|
|
29
|
+
function b(n, u) {
|
|
30
|
+
return n && "run" in n ? function(r, e) {
|
|
31
|
+
return p(this, null, function* () {
|
|
32
|
+
const a = (
|
|
33
|
+
/** @type {HastRoot} */
|
|
34
|
+
y(r, m({
|
|
35
|
+
file: e
|
|
36
|
+
}, u))
|
|
37
|
+
);
|
|
38
|
+
yield n.run(a, e);
|
|
39
|
+
});
|
|
40
|
+
} : function(r, e) {
|
|
41
|
+
return (
|
|
42
|
+
/** @type {HastRoot} */
|
|
43
|
+
y(r, m({
|
|
44
|
+
file: e
|
|
45
|
+
}, n || u))
|
|
46
|
+
);
|
|
47
|
+
};
|
|
48
|
+
}
|
|
49
|
+
export {
|
|
50
|
+
b as default
|
|
51
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getDefaultExportFromCjs as f, commonjsGlobal as a } from "../../../_virtual/_commonjsHelpers.mjs";
|
|
2
|
+
import "../node_modules/style-to-object/cjs/index.mjs";
|
|
3
|
+
import "./utilities.mjs";
|
|
4
|
+
import { __exports as s } from "../../../_virtual/index.mjs";
|
|
5
|
+
import { __exports as _ } from "../../../_virtual/utilities.mjs";
|
|
6
|
+
var l = a && a.__importDefault || function(t) {
|
|
7
|
+
return t && t.__esModule ? t : {
|
|
8
|
+
default: t
|
|
9
|
+
};
|
|
10
|
+
}, n = l(s), m = _;
|
|
11
|
+
function r(t, u) {
|
|
12
|
+
var o = {};
|
|
13
|
+
return !t || typeof t != "string" || (0, n.default)(t, function(e, i) {
|
|
14
|
+
e && i && (o[(0, m.camelCase)(e, u)] = i);
|
|
15
|
+
}), o;
|
|
16
|
+
}
|
|
17
|
+
r.default = r;
|
|
18
|
+
var p = r;
|
|
19
|
+
const b = /* @__PURE__ */ f(p);
|
|
20
|
+
export {
|
|
21
|
+
b as default
|
|
22
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { __exports as t } from "../../../_virtual/utilities.mjs";
|
|
2
|
+
Object.defineProperty(t, "__esModule", {
|
|
3
|
+
value: !0
|
|
4
|
+
});
|
|
5
|
+
t.camelCase = void 0;
|
|
6
|
+
var i = /^--[a-zA-Z0-9_-]+$/, E = /-([a-z])/g, s = /^[^-]+$/, _ = /^-(webkit|moz|ms|o|khtml)-/, l = /^-(ms)-/, m = function(a) {
|
|
7
|
+
return !a || s.test(a) || i.test(a);
|
|
8
|
+
}, n = function(a, e) {
|
|
9
|
+
return e.toUpperCase();
|
|
10
|
+
}, c = function(a, e) {
|
|
11
|
+
return "".concat(e, "-");
|
|
12
|
+
}, u = function(a, e) {
|
|
13
|
+
return e === void 0 && (e = {}), m(a) ? a : (a = a.toLowerCase(), e.reactCompat ? a = a.replace(l, c) : a = a.replace(_, c), a.replace(E, n));
|
|
14
|
+
};
|
|
15
|
+
t.camelCase = u;
|
|
16
|
+
export {
|
|
17
|
+
t as default
|
|
18
|
+
};
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
var p = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, N = /\n/g, O = /^\s*/, G = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, I = /^:\s*/, P = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, d = /^[;\s]*/, S = /^\s+|\s+$/g, X = `
|
|
2
|
+
`, R = "/", A = "*", i = "", L = "comment", M = "declaration", C = function(e, c) {
|
|
3
|
+
if (typeof e != "string")
|
|
4
|
+
throw new TypeError("First argument must be a string");
|
|
5
|
+
if (!e)
|
|
6
|
+
return [];
|
|
7
|
+
c = c || {};
|
|
8
|
+
var o = 1, t = 1;
|
|
9
|
+
function v(n) {
|
|
10
|
+
var r = n.match(N);
|
|
11
|
+
r && (o += r.length);
|
|
12
|
+
var a = n.lastIndexOf(X);
|
|
13
|
+
t = ~a ? n.length - a : t + n.length;
|
|
14
|
+
}
|
|
15
|
+
function E() {
|
|
16
|
+
var n = {
|
|
17
|
+
line: o,
|
|
18
|
+
column: t
|
|
19
|
+
};
|
|
20
|
+
return function(r) {
|
|
21
|
+
return r.position = new f(n), m(), r;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
function f(n) {
|
|
25
|
+
this.start = n, this.end = {
|
|
26
|
+
line: o,
|
|
27
|
+
column: t
|
|
28
|
+
}, this.source = c.source;
|
|
29
|
+
}
|
|
30
|
+
f.prototype.content = e;
|
|
31
|
+
function h(n) {
|
|
32
|
+
var r = new Error(c.source + ":" + o + ":" + t + ": " + n);
|
|
33
|
+
if (r.reason = n, r.filename = c.source, r.line = o, r.column = t, r.source = e, !c.silent)
|
|
34
|
+
throw r;
|
|
35
|
+
}
|
|
36
|
+
function u(n) {
|
|
37
|
+
var r = n.exec(e);
|
|
38
|
+
if (r) {
|
|
39
|
+
var a = r[0];
|
|
40
|
+
return v(a), e = e.slice(a.length), r;
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
function m() {
|
|
44
|
+
u(O);
|
|
45
|
+
}
|
|
46
|
+
function s(n) {
|
|
47
|
+
var r;
|
|
48
|
+
for (n = n || []; r = l(); )
|
|
49
|
+
r !== !1 && n.push(r);
|
|
50
|
+
return n;
|
|
51
|
+
}
|
|
52
|
+
function l() {
|
|
53
|
+
var n = E();
|
|
54
|
+
if (!(R != e.charAt(0) || A != e.charAt(1))) {
|
|
55
|
+
for (var r = 2; i != e.charAt(r) && (A != e.charAt(r) || R != e.charAt(r + 1)); )
|
|
56
|
+
++r;
|
|
57
|
+
if (r += 2, i === e.charAt(r - 1))
|
|
58
|
+
return h("End of comment missing");
|
|
59
|
+
var a = e.slice(2, r - 2);
|
|
60
|
+
return t += 2, v(a), e = e.slice(r), t += 2, n({
|
|
61
|
+
type: L,
|
|
62
|
+
comment: a
|
|
63
|
+
});
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
function T() {
|
|
67
|
+
var n = E(), r = u(G);
|
|
68
|
+
if (r) {
|
|
69
|
+
if (l(), !u(I))
|
|
70
|
+
return h("property missing ':'");
|
|
71
|
+
var a = u(P), w = n({
|
|
72
|
+
type: M,
|
|
73
|
+
property: _(r[0].replace(p, i)),
|
|
74
|
+
value: a ? _(a[0].replace(p, i)) : i
|
|
75
|
+
});
|
|
76
|
+
return u(d), w;
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
function g() {
|
|
80
|
+
var n = [];
|
|
81
|
+
s(n);
|
|
82
|
+
for (var r; r = T(); )
|
|
83
|
+
r !== !1 && (n.push(r), s(n));
|
|
84
|
+
return n;
|
|
85
|
+
}
|
|
86
|
+
return m(), g();
|
|
87
|
+
};
|
|
88
|
+
function _(e) {
|
|
89
|
+
return e ? e.replace(S, i) : i;
|
|
90
|
+
}
|
|
91
|
+
export {
|
|
92
|
+
C as i
|
|
93
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { commonjsGlobal as a } from "../../../../../_virtual/_commonjsHelpers.mjs";
|
|
2
|
+
import { __exports as n } from "../../../../../_virtual/index.mjs";
|
|
3
|
+
import { i as p } from "../../inline-style-parser/index.mjs";
|
|
4
|
+
var s = a && a.__importDefault || function(e) {
|
|
5
|
+
return e && e.__esModule ? e : {
|
|
6
|
+
default: e
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
Object.defineProperty(n, "__esModule", {
|
|
10
|
+
value: !0
|
|
11
|
+
});
|
|
12
|
+
n.default = c;
|
|
13
|
+
var _ = s(p);
|
|
14
|
+
function c(e, f) {
|
|
15
|
+
var r = null;
|
|
16
|
+
if (!e || typeof e != "string")
|
|
17
|
+
return r;
|
|
18
|
+
var i = (0, _.default)(e), l = typeof f == "function";
|
|
19
|
+
return i.forEach(function(t) {
|
|
20
|
+
if (t.type === "declaration") {
|
|
21
|
+
var u = t.property, o = t.value;
|
|
22
|
+
l ? f(u, o, t) : o && (r = r || {}, r[u] = o);
|
|
23
|
+
}
|
|
24
|
+
}), r;
|
|
25
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
function r(c) {
|
|
2
|
+
const i = String(c), o = /\r?\n|\r/g;
|
|
3
|
+
let e = o.exec(i), t = 0;
|
|
4
|
+
const n = [];
|
|
5
|
+
for (; e; )
|
|
6
|
+
n.push(s(i.slice(t, e.index), t > 0, !0), e[0]), t = e.index + e[0].length, e = o.exec(i);
|
|
7
|
+
return n.push(s(i.slice(t), t > 0, !1)), n.join("");
|
|
8
|
+
}
|
|
9
|
+
function s(c, i, o) {
|
|
10
|
+
let e = 0, t = c.length;
|
|
11
|
+
if (i) {
|
|
12
|
+
let n = c.codePointAt(e);
|
|
13
|
+
for (; n === 9 || n === 32; )
|
|
14
|
+
e++, n = c.codePointAt(e);
|
|
15
|
+
}
|
|
16
|
+
if (o) {
|
|
17
|
+
let n = c.codePointAt(t - 1);
|
|
18
|
+
for (; n === 9 || n === 32; )
|
|
19
|
+
t--, n = c.codePointAt(t - 1);
|
|
20
|
+
}
|
|
21
|
+
return t > e ? c.slice(e, t) : "";
|
|
22
|
+
}
|
|
23
|
+
export {
|
|
24
|
+
r as trimLines
|
|
25
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
function a(p, f, e, t) {
|
|
2
|
+
function i(r) {
|
|
3
|
+
return r instanceof e ? r : new e(function(o) {
|
|
4
|
+
o(r);
|
|
5
|
+
});
|
|
6
|
+
}
|
|
7
|
+
return new (e || (e = Promise))(function(r, o) {
|
|
8
|
+
function s(n) {
|
|
9
|
+
try {
|
|
10
|
+
u(t.next(n));
|
|
11
|
+
} catch (c) {
|
|
12
|
+
o(c);
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
function d(n) {
|
|
16
|
+
try {
|
|
17
|
+
u(t.throw(n));
|
|
18
|
+
} catch (c) {
|
|
19
|
+
o(c);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
function u(n) {
|
|
23
|
+
n.done ? r(n.value) : i(n.value).then(s, d);
|
|
24
|
+
}
|
|
25
|
+
u((t = t.apply(p, f || [])).next());
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
export {
|
|
29
|
+
a as __awaiter
|
|
30
|
+
};
|
|
@@ -0,0 +1,123 @@
|
|
|
1
|
+
import { commonjsGlobal as ki } from "../../../_virtual/_commonjsHelpers.mjs";
|
|
2
|
+
import { __module as J } from "../../../_virtual/ua-parser.min.mjs";
|
|
3
|
+
(function(Q, $) {
|
|
4
|
+
(function(x, m) {
|
|
5
|
+
var pi = "1.0.40", R = "", ii = "?", j = "function", M = "undefined", V = "object", q = "string", ei = "major", e = "model", a = "name", i = "type", o = "vendor", r = "version", p = "architecture", E = "console", n = "mobile", b = "tablet", u = "smarttv", g = "wearable", G = "embedded", F = 500, z = "Amazon", O = "Apple", oi = "ASUS", ai = "BlackBerry", C = "Browser", P = "Chrome", hi = "Edge", U = "Firefox", S = "Google", ri = "Huawei", H = "LG", W = "Microsoft", ti = "Motorola", T = "Opera", A = "Samsung", si = "Sharp", B = "Sony", Y = "Xiaomi", X = "Zebra", ni = "Facebook", bi = "Chromium OS", wi = "Mac OS", li = " Browser", vi = function(w, l) {
|
|
6
|
+
var s = {};
|
|
7
|
+
for (var d in w)
|
|
8
|
+
l[d] && l[d].length % 2 === 0 ? s[d] = l[d].concat(w[d]) : s[d] = w[d];
|
|
9
|
+
return s;
|
|
10
|
+
}, I = function(w) {
|
|
11
|
+
for (var l = {}, s = 0; s < w.length; s++)
|
|
12
|
+
l[w[s].toUpperCase()] = w[s];
|
|
13
|
+
return l;
|
|
14
|
+
}, ci = function(w, l) {
|
|
15
|
+
return typeof w === q ? y(l).indexOf(y(w)) !== -1 : !1;
|
|
16
|
+
}, y = function(w) {
|
|
17
|
+
return w.toLowerCase();
|
|
18
|
+
}, fi = function(w) {
|
|
19
|
+
return typeof w === q ? w.replace(/[^\d\.]/g, R).split(".")[0] : m;
|
|
20
|
+
}, Z = function(w, l) {
|
|
21
|
+
if (typeof w === q)
|
|
22
|
+
return w = w.replace(/^\s\s*/, R), typeof l === M ? w : w.substring(0, F);
|
|
23
|
+
}, N = function(w, l) {
|
|
24
|
+
for (var s = 0, d, k, v, c, t, f; s < l.length && !t; ) {
|
|
25
|
+
var K = l[s], ui = l[s + 1];
|
|
26
|
+
for (d = k = 0; d < K.length && !t && K[d]; )
|
|
27
|
+
if (t = K[d++].exec(w), t)
|
|
28
|
+
for (v = 0; v < ui.length; v++)
|
|
29
|
+
f = t[++k], c = ui[v], typeof c === V && c.length > 0 ? c.length === 2 ? typeof c[1] == j ? this[c[0]] = c[1].call(this, f) : this[c[0]] = c[1] : c.length === 3 ? typeof c[1] === j && !(c[1].exec && c[1].test) ? this[c[0]] = f ? c[1].call(this, f, c[2]) : m : this[c[0]] = f ? f.replace(c[1], c[2]) : m : c.length === 4 && (this[c[0]] = f ? c[3].call(this, f.replace(c[1], c[2])) : m) : this[c] = f || m;
|
|
30
|
+
s += 2;
|
|
31
|
+
}
|
|
32
|
+
}, L = function(w, l) {
|
|
33
|
+
for (var s in l)
|
|
34
|
+
if (typeof l[s] === V && l[s].length > 0) {
|
|
35
|
+
for (var d = 0; d < l[s].length; d++)
|
|
36
|
+
if (ci(l[s][d], w))
|
|
37
|
+
return s === ii ? m : s;
|
|
38
|
+
} else if (ci(l[s], w))
|
|
39
|
+
return s === ii ? m : s;
|
|
40
|
+
return l.hasOwnProperty("*") ? l["*"] : w;
|
|
41
|
+
}, gi = {
|
|
42
|
+
"1.0": "/8",
|
|
43
|
+
1.2: "/1",
|
|
44
|
+
1.3: "/3",
|
|
45
|
+
"2.0": "/412",
|
|
46
|
+
"2.0.2": "/416",
|
|
47
|
+
"2.0.3": "/417",
|
|
48
|
+
"2.0.4": "/419",
|
|
49
|
+
"?": "/"
|
|
50
|
+
}, di = {
|
|
51
|
+
ME: "4.90",
|
|
52
|
+
"NT 3.11": "NT3.51",
|
|
53
|
+
"NT 4.0": "NT4.0",
|
|
54
|
+
2e3: "NT 5.0",
|
|
55
|
+
XP: ["NT 5.1", "NT 5.2"],
|
|
56
|
+
Vista: "NT 6.0",
|
|
57
|
+
7: "NT 6.1",
|
|
58
|
+
8: "NT 6.2",
|
|
59
|
+
8.1: "NT 6.3",
|
|
60
|
+
10: ["NT 6.4", "NT 10.0"],
|
|
61
|
+
RT: "ARM"
|
|
62
|
+
}, mi = {
|
|
63
|
+
browser: [[/\b(?:crmo|crios)\/([\w\.]+)/i], [r, [a, "Chrome"]], [/edg(?:e|ios|a)?\/([\w\.]+)/i], [r, [a, "Edge"]], [/(opera mini)\/([-\w\.]+)/i, /(opera [mobiletab]{3,6})\b.+version\/([-\w\.]+)/i, /(opera)(?:.+version\/|[\/ ]+)([\w\.]+)/i], [a, r], [/opios[\/ ]+([\w\.]+)/i], [r, [a, T + " Mini"]], [/\bop(?:rg)?x\/([\w\.]+)/i], [r, [a, T + " GX"]], [/\bopr\/([\w\.]+)/i], [r, [a, T]], [/\bb[ai]*d(?:uhd|[ub]*[aekoprswx]{5,6})[\/ ]?([\w\.]+)/i], [r, [a, "Baidu"]], [/\b(?:mxbrowser|mxios|myie2)\/?([-\w\.]*)\b/i], [r, [a, "Maxthon"]], [/(kindle)\/([\w\.]+)/i, /(lunascape|maxthon|netfront|jasmine|blazer|sleipnir)[\/ ]?([\w\.]*)/i, /(avant|iemobile|slim(?:browser|boat|jet))[\/ ]?([\d\.]*)/i, /(?:ms|\()(ie) ([\w\.]+)/i, /(flock|rockmelt|midori|epiphany|silk|skyfire|ovibrowser|bolt|iron|vivaldi|iridium|phantomjs|bowser|qupzilla|falkon|rekonq|puffin|brave|whale(?!.+naver)|qqbrowserlite|duckduckgo|klar|helio|(?=comodo_)?dragon)\/([-\w\.]+)/i, /(heytap|ovi|115)browser\/([\d\.]+)/i, /(weibo)__([\d\.]+)/i], [a, r], [/quark(?:pc)?\/([-\w\.]+)/i], [r, [a, "Quark"]], [/\bddg\/([\w\.]+)/i], [r, [a, "DuckDuckGo"]], [/(?:\buc? ?browser|(?:juc.+)ucweb)[\/ ]?([\w\.]+)/i], [r, [a, "UC" + C]], [/microm.+\bqbcore\/([\w\.]+)/i, /\bqbcore\/([\w\.]+).+microm/i, /micromessenger\/([\w\.]+)/i], [r, [a, "WeChat"]], [/konqueror\/([\w\.]+)/i], [r, [a, "Konqueror"]], [/trident.+rv[: ]([\w\.]{1,9})\b.+like gecko/i], [r, [a, "IE"]], [/ya(?:search)?browser\/([\w\.]+)/i], [r, [a, "Yandex"]], [/slbrowser\/([\w\.]+)/i], [r, [a, "Smart Lenovo " + C]], [/(avast|avg)\/([\w\.]+)/i], [[a, /(.+)/, "$1 Secure " + C], r], [/\bfocus\/([\w\.]+)/i], [r, [a, U + " Focus"]], [/\bopt\/([\w\.]+)/i], [r, [a, T + " Touch"]], [/coc_coc\w+\/([\w\.]+)/i], [r, [a, "Coc Coc"]], [/dolfin\/([\w\.]+)/i], [r, [a, "Dolphin"]], [/coast\/([\w\.]+)/i], [r, [a, T + " Coast"]], [/miuibrowser\/([\w\.]+)/i], [r, [a, "MIUI" + li]], [/fxios\/([\w\.-]+)/i], [r, [a, U]], [/\bqihoobrowser\/?([\w\.]*)/i], [r, [a, "360"]], [/\b(qq)\/([\w\.]+)/i], [[a, /(.+)/, "$1Browser"], r], [/(oculus|sailfish|huawei|vivo|pico)browser\/([\w\.]+)/i], [[a, /(.+)/, "$1" + li], r], [/samsungbrowser\/([\w\.]+)/i], [r, [a, A + " Internet"]], [/metasr[\/ ]?([\d\.]+)/i], [r, [a, "Sogou Explorer"]], [/(sogou)mo\w+\/([\d\.]+)/i], [[a, "Sogou Mobile"], r], [/(electron)\/([\w\.]+) safari/i, /(tesla)(?: qtcarbrowser|\/(20\d\d\.[-\w\.]+))/i, /m?(qqbrowser|2345(?=browser|chrome|explorer))\w*[\/ ]?v?([\w\.]+)/i], [a, r], [/(lbbrowser|rekonq)/i, /\[(linkedin)app\]/i], [a], [/ome\/([\w\.]+) \w* ?(iron) saf/i, /ome\/([\w\.]+).+qihu (360)[es]e/i], [r, a], [/((?:fban\/fbios|fb_iab\/fb4a)(?!.+fbav)|;fbav\/([\w\.]+);)/i], [[a, ni], r], [/(Klarna)\/([\w\.]+)/i, /(kakao(?:talk|story))[\/ ]([\w\.]+)/i, /(naver)\(.*?(\d+\.[\w\.]+).*\)/i, /safari (line)\/([\w\.]+)/i, /\b(line)\/([\w\.]+)\/iab/i, /(alipay)client\/([\w\.]+)/i, /(twitter)(?:and| f.+e\/([\w\.]+))/i, /(chromium|instagram|snapchat)[\/ ]([-\w\.]+)/i], [a, r], [/\bgsa\/([\w\.]+) .*safari\//i], [r, [a, "GSA"]], [/musical_ly(?:.+app_?version\/|_)([\w\.]+)/i], [r, [a, "TikTok"]], [/headlesschrome(?:\/([\w\.]+)| )/i], [r, [a, P + " Headless"]], [/ wv\).+(chrome)\/([\w\.]+)/i], [[a, P + " WebView"], r], [/droid.+ version\/([\w\.]+)\b.+(?:mobile safari|safari)/i], [r, [a, "Android " + C]], [/(chrome|omniweb|arora|[tizenoka]{5} ?browser)\/v?([\w\.]+)/i], [a, r], [/version\/([\w\.\,]+) .*mobile\/\w+ (safari)/i], [r, [a, "Mobile Safari"]], [/version\/([\w(\.|\,)]+) .*(mobile ?safari|safari)/i], [r, a], [/webkit.+?(mobile ?safari|safari)(\/[\w\.]+)/i], [a, [r, L, gi]], [/(webkit|khtml)\/([\w\.]+)/i], [a, r], [/(navigator|netscape\d?)\/([-\w\.]+)/i], [[a, "Netscape"], r], [/(wolvic|librewolf)\/([\w\.]+)/i], [a, r], [/mobile vr; rv:([\w\.]+)\).+firefox/i], [r, [a, U + " Reality"]], [/ekiohf.+(flow)\/([\w\.]+)/i, /(swiftfox)/i, /(icedragon|iceweasel|camino|chimera|fennec|maemo browser|minimo|conkeror)[\/ ]?([\w\.\+]+)/i, /(seamonkey|k-meleon|icecat|iceape|firebird|phoenix|palemoon|basilisk|waterfox)\/([-\w\.]+)$/i, /(firefox)\/([\w\.]+)/i, /(mozilla)\/([\w\.]+) .+rv\:.+gecko\/\d+/i, /(polaris|lynx|dillo|icab|doris|amaya|w3m|netsurf|obigo|mosaic|(?:go|ice|up)[\. ]?browser)[-\/ ]?v?([\w\.]+)/i, /(links) \(([\w\.]+)/i], [a, [r, /_/g, "."]], [/(cobalt)\/([\w\.]+)/i], [a, [r, /master.|lts./, ""]]],
|
|
64
|
+
cpu: [[/(?:(amd|x(?:(?:86|64)[-_])?|wow|win)64)[;\)]/i], [[p, "amd64"]], [/(ia32(?=;))/i], [[p, y]], [/((?:i[346]|x)86)[;\)]/i], [[p, "ia32"]], [/\b(aarch64|arm(v?8e?l?|_?64))\b/i], [[p, "arm64"]], [/\b(arm(?:v[67])?ht?n?[fl]p?)\b/i], [[p, "armhf"]], [/windows (ce|mobile); ppc;/i], [[p, "arm"]], [/((?:ppc|powerpc)(?:64)?)(?: mac|;|\))/i], [[p, /ower/, R, y]], [/(sun4\w)[;\)]/i], [[p, "sparc"]], [/((?:avr32|ia64(?=;))|68k(?=\))|\barm(?=v(?:[1-7]|[5-7]1)l?|;|eabi)|(?=atmel )avr|(?:irix|mips|sparc)(?:64)?\b|pa-risc)/i], [[p, y]]],
|
|
65
|
+
device: [[/\b(sch-i[89]0\d|shw-m380s|sm-[ptx]\w{2,4}|gt-[pn]\d{2,4}|sgh-t8[56]9|nexus 10)/i], [e, [o, A], [i, b]], [/\b((?:s[cgp]h|gt|sm)-(?![lr])\w+|sc[g-]?[\d]+a?|galaxy nexus)/i, /samsung[- ]((?!sm-[lr])[-\w]+)/i, /sec-(sgh\w+)/i], [e, [o, A], [i, n]], [/(?:\/|\()(ip(?:hone|od)[\w, ]*)(?:\/|;)/i], [e, [o, O], [i, n]], [/\((ipad);[-\w\),; ]+apple/i, /applecoremedia\/[\w\.]+ \((ipad)/i, /\b(ipad)\d\d?,\d\d?[;\]].+ios/i], [e, [o, O], [i, b]], [/(macintosh);/i], [e, [o, O]], [/\b(sh-?[altvz]?\d\d[a-ekm]?)/i], [e, [o, si], [i, n]], [/(?:honor)([-\w ]+)[;\)]/i], [e, [o, "Honor"], [i, n]], [/\b((?:ag[rs][23]?|bah2?|sht?|btv)-a?[lw]\d{2})\b(?!.+d\/s)/i], [e, [o, ri], [i, b]], [/(?:huawei)([-\w ]+)[;\)]/i, /\b(nexus 6p|\w{2,4}e?-[atu]?[ln][\dx][012359c][adn]?)\b(?!.+d\/s)/i], [e, [o, ri], [i, n]], [/\b(poco[\w ]+|m2\d{3}j\d\d[a-z]{2})(?: bui|\))/i, /\b; (\w+) build\/hm\1/i, /\b(hm[-_ ]?note?[_ ]?(?:\d\w)?) bui/i, /\b(redmi[\-_ ]?(?:note|k)?[\w_ ]+)(?: bui|\))/i, /oid[^\)]+; (m?[12][0-389][01]\w{3,6}[c-y])( bui|; wv|\))/i, /\b(mi[-_ ]?(?:a\d|one|one[_ ]plus|note lte|max|cc)?[_ ]?(?:\d?\w?)[_ ]?(?:plus|se|lite|pro)?)(?: bui|\))/i], [[e, /_/g, " "], [o, Y], [i, n]], [/oid[^\)]+; (2\d{4}(283|rpbf)[cgl])( bui|\))/i, /\b(mi[-_ ]?(?:pad)(?:[\w_ ]+))(?: bui|\))/i], [[e, /_/g, " "], [o, Y], [i, b]], [/; (\w+) bui.+ oppo/i, /\b(cph[12]\d{3}|p(?:af|c[al]|d\w|e[ar])[mt]\d0|x9007|a101op)\b/i], [e, [o, "OPPO"], [i, n]], [/\b(opd2\d{3}a?) bui/i], [e, [o, "OPPO"], [i, b]], [/vivo (\w+)(?: bui|\))/i, /\b(v[12]\d{3}\w?[at])(?: bui|;)/i], [e, [o, "Vivo"], [i, n]], [/\b(rmx[1-3]\d{3})(?: bui|;|\))/i], [e, [o, "Realme"], [i, n]], [/\b(milestone|droid(?:[2-4x]| (?:bionic|x2|pro|razr))?:?( 4g)?)\b[\w ]+build\//i, /\bmot(?:orola)?[- ](\w*)/i, /((?:moto[\w\(\) ]+|xt\d{3,4}|nexus 6)(?= bui|\)))/i], [e, [o, ti], [i, n]], [/\b(mz60\d|xoom[2 ]{0,2}) build\//i], [e, [o, ti], [i, b]], [/((?=lg)?[vl]k\-?\d{3}) bui| 3\.[-\w; ]{10}lg?-([06cv9]{3,4})/i], [e, [o, H], [i, b]], [/(lm(?:-?f100[nv]?|-[\w\.]+)(?= bui|\))|nexus [45])/i, /\blg[-e;\/ ]+((?!browser|netcast|android tv)\w+)/i, /\blg-?([\d\w]+) bui/i], [e, [o, H], [i, n]], [/(ideatab[-\w ]+)/i, /lenovo ?(s[56]000[-\w]+|tab(?:[\w ]+)|yt[-\d\w]{6}|tb[-\d\w]{6})/i], [e, [o, "Lenovo"], [i, b]], [/(?:maemo|nokia).*(n900|lumia \d+)/i, /nokia[-_ ]?([-\w\.]*)/i], [[e, /_/g, " "], [o, "Nokia"], [i, n]], [/(pixel c)\b/i], [e, [o, S], [i, b]], [/droid.+; (pixel[\daxl ]{0,6})(?: bui|\))/i], [e, [o, S], [i, n]], [/droid.+; (a?\d[0-2]{2}so|[c-g]\d{4}|so[-gl]\w+|xq-a\w[4-7][12])(?= bui|\).+chrome\/(?![1-6]{0,1}\d\.))/i], [e, [o, B], [i, n]], [/sony tablet [ps]/i, /\b(?:sony)?sgp\w+(?: bui|\))/i], [[e, "Xperia Tablet"], [o, B], [i, b]], [/ (kb2005|in20[12]5|be20[12][59])\b/i, /(?:one)?(?:plus)? (a\d0\d\d)(?: b|\))/i], [e, [o, "OnePlus"], [i, n]], [/(alexa)webm/i, /(kf[a-z]{2}wi|aeo(?!bc)\w\w)( bui|\))/i, /(kf[a-z]+)( bui|\)).+silk\//i], [e, [o, z], [i, b]], [/((?:sd|kf)[0349hijorstuw]+)( bui|\)).+silk\//i], [[e, /(.+)/g, "Fire Phone $1"], [o, z], [i, n]], [/(playbook);[-\w\),; ]+(rim)/i], [e, o, [i, b]], [/\b((?:bb[a-f]|st[hv])100-\d)/i, /\(bb10; (\w+)/i], [e, [o, ai], [i, n]], [/(?:\b|asus_)(transfo[prime ]{4,10} \w+|eeepc|slider \w+|nexus 7|padfone|p00[cj])/i], [e, [o, oi], [i, b]], [/ (z[bes]6[027][012][km][ls]|zenfone \d\w?)\b/i], [e, [o, oi], [i, n]], [/(nexus 9)/i], [e, [o, "HTC"], [i, b]], [/(htc)[-;_ ]{1,2}([\w ]+(?=\)| bui)|\w+)/i, /(zte)[- ]([\w ]+?)(?: bui|\/|\))/i, /(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i], [o, [e, /_/g, " "], [i, n]], [/droid [\w\.]+; ((?:8[14]9[16]|9(?:0(?:48|60|8[01])|1(?:3[27]|66)|2(?:6[69]|9[56])|466))[gqswx])\w*(\)| bui)/i], [e, [o, "TCL"], [i, b]], [/(itel) ((\w+))/i], [[o, y], e, [i, L, {
|
|
66
|
+
tablet: ["p10001l", "w7001"],
|
|
67
|
+
"*": "mobile"
|
|
68
|
+
}]], [/droid.+; ([ab][1-7]-?[0178a]\d\d?)/i], [e, [o, "Acer"], [i, b]], [/droid.+; (m[1-5] note) bui/i, /\bmz-([-\w]{2,})/i], [e, [o, "Meizu"], [i, n]], [/; ((?:power )?armor(?:[\w ]{0,8}))(?: bui|\))/i], [e, [o, "Ulefone"], [i, n]], [/; (energy ?\w+)(?: bui|\))/i, /; energizer ([\w ]+)(?: bui|\))/i], [e, [o, "Energizer"], [i, n]], [/; cat (b35);/i, /; (b15q?|s22 flip|s48c|s62 pro)(?: bui|\))/i], [e, [o, "Cat"], [i, n]], [/((?:new )?andromax[\w- ]+)(?: bui|\))/i], [e, [o, "Smartfren"], [i, n]], [/droid.+; (a(?:015|06[35]|142p?))/i], [e, [o, "Nothing"], [i, n]], [/(blackberry|benq|palm(?=\-)|sonyericsson|acer|asus|dell|meizu|motorola|polytron|infinix|tecno|micromax|advan)[-_ ]?([-\w]*)/i, /; (imo) ((?!tab)[\w ]+?)(?: bui|\))/i, /(hp) ([\w ]+\w)/i, /(asus)-?(\w+)/i, /(microsoft); (lumia[\w ]+)/i, /(lenovo)[-_ ]?([-\w]+)/i, /(jolla)/i, /(oppo) ?([\w ]+) bui/i], [o, e, [i, n]], [/(imo) (tab \w+)/i, /(kobo)\s(ereader|touch)/i, /(archos) (gamepad2?)/i, /(hp).+(touchpad(?!.+tablet)|tablet)/i, /(kindle)\/([\w\.]+)/i, /(nook)[\w ]+build\/(\w+)/i, /(dell) (strea[kpr\d ]*[\dko])/i, /(le[- ]+pan)[- ]+(\w{1,9}) bui/i, /(trinity)[- ]*(t\d{3}) bui/i, /(gigaset)[- ]+(q\w{1,9}) bui/i, /(vodafone) ([\w ]+)(?:\)| bui)/i], [o, e, [i, b]], [/(surface duo)/i], [e, [o, W], [i, b]], [/droid [\d\.]+; (fp\du?)(?: b|\))/i], [e, [o, "Fairphone"], [i, n]], [/(u304aa)/i], [e, [o, "AT&T"], [i, n]], [/\bsie-(\w*)/i], [e, [o, "Siemens"], [i, n]], [/\b(rct\w+) b/i], [e, [o, "RCA"], [i, b]], [/\b(venue[\d ]{2,7}) b/i], [e, [o, "Dell"], [i, b]], [/\b(q(?:mv|ta)\w+) b/i], [e, [o, "Verizon"], [i, b]], [/\b(?:barnes[& ]+noble |bn[rt])([\w\+ ]*) b/i], [e, [o, "Barnes & Noble"], [i, b]], [/\b(tm\d{3}\w+) b/i], [e, [o, "NuVision"], [i, b]], [/\b(k88) b/i], [e, [o, "ZTE"], [i, b]], [/\b(nx\d{3}j) b/i], [e, [o, "ZTE"], [i, n]], [/\b(gen\d{3}) b.+49h/i], [e, [o, "Swiss"], [i, n]], [/\b(zur\d{3}) b/i], [e, [o, "Swiss"], [i, b]], [/\b((zeki)?tb.*\b) b/i], [e, [o, "Zeki"], [i, b]], [/\b([yr]\d{2}) b/i, /\b(dragon[- ]+touch |dt)(\w{5}) b/i], [[o, "Dragon Touch"], e, [i, b]], [/\b(ns-?\w{0,9}) b/i], [e, [o, "Insignia"], [i, b]], [/\b((nxa|next)-?\w{0,9}) b/i], [e, [o, "NextBook"], [i, b]], [/\b(xtreme\_)?(v(1[045]|2[015]|[3469]0|7[05])) b/i], [[o, "Voice"], e, [i, n]], [/\b(lvtel\-)?(v1[12]) b/i], [[o, "LvTel"], e, [i, n]], [/\b(ph-1) /i], [e, [o, "Essential"], [i, n]], [/\b(v(100md|700na|7011|917g).*\b) b/i], [e, [o, "Envizen"], [i, b]], [/\b(trio[-\w\. ]+) b/i], [e, [o, "MachSpeed"], [i, b]], [/\btu_(1491) b/i], [e, [o, "Rotor"], [i, b]], [/(shield[\w ]+) b/i], [e, [o, "Nvidia"], [i, b]], [/(sprint) (\w+)/i], [o, e, [i, n]], [/(kin\.[onetw]{3})/i], [[e, /\./g, " "], [o, W], [i, n]], [/droid.+; (cc6666?|et5[16]|mc[239][23]x?|vc8[03]x?)\)/i], [e, [o, X], [i, b]], [/droid.+; (ec30|ps20|tc[2-8]\d[kx])\)/i], [e, [o, X], [i, n]], [/smart-tv.+(samsung)/i], [o, [i, u]], [/hbbtv.+maple;(\d+)/i], [[e, /^/, "SmartTV"], [o, A], [i, u]], [/(nux; netcast.+smarttv|lg (netcast\.tv-201\d|android tv))/i], [[o, H], [i, u]], [/(apple) ?tv/i], [o, [e, O + " TV"], [i, u]], [/crkey/i], [[e, P + "cast"], [o, S], [i, u]], [/droid.+aft(\w+)( bui|\))/i], [e, [o, z], [i, u]], [/\(dtv[\);].+(aquos)/i, /(aquos-tv[\w ]+)\)/i], [e, [o, si], [i, u]], [/(bravia[\w ]+)( bui|\))/i], [e, [o, B], [i, u]], [/(mitv-\w{5}) bui/i], [e, [o, Y], [i, u]], [/Hbbtv.*(technisat) (.*);/i], [o, e, [i, u]], [/\b(roku)[\dx]*[\)\/]((?:dvp-)?[\d\.]*)/i, /hbbtv\/\d+\.\d+\.\d+ +\([\w\+ ]*; *([\w\d][^;]*);([^;]*)/i], [[o, Z], [e, Z], [i, u]], [/\b(android tv|smart[- ]?tv|opera tv|tv; rv:)\b/i], [[i, u]], [/(ouya)/i, /(nintendo) ([wids3utch]+)/i], [o, e, [i, E]], [/droid.+; (shield) bui/i], [e, [o, "Nvidia"], [i, E]], [/(playstation [345portablevi]+)/i], [e, [o, B], [i, E]], [/\b(xbox(?: one)?(?!; xbox))[\); ]/i], [e, [o, W], [i, E]], [/\b(sm-[lr]\d\d[05][fnuw]?s?)\b/i], [e, [o, A], [i, g]], [/((pebble))app/i], [o, e, [i, g]], [/(watch)(?: ?os[,\/]|\d,\d\/)[\d\.]+/i], [e, [o, O], [i, g]], [/droid.+; (glass) \d/i], [e, [o, S], [i, g]], [/droid.+; (wt63?0{2,3})\)/i], [e, [o, X], [i, g]], [/droid.+; (glass) \d/i], [e, [o, S], [i, g]], [/(pico) (4|neo3(?: link|pro)?)/i], [o, e, [i, g]], [/; (quest( \d| pro)?)/i], [e, [o, ni], [i, g]], [/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i], [o, [i, G]], [/(aeobc)\b/i], [e, [o, z], [i, G]], [/droid .+?; ([^;]+?)(?: bui|; wv\)|\) applew).+? mobile safari/i], [e, [i, n]], [/droid .+?; ([^;]+?)(?: bui|\) applew).+?(?! mobile) safari/i], [e, [i, b]], [/\b((tablet|tab)[;\/]|focus\/\d(?!.+mobile))/i], [[i, b]], [/(phone|mobile(?:[;\/]| [ \w\/\.]*safari)|pda(?=.+windows ce))/i], [[i, n]], [/(android[-\w\. ]{0,9});.+buil/i], [e, [o, "Generic"]]],
|
|
69
|
+
engine: [[/windows.+ edge\/([\w\.]+)/i], [r, [a, hi + "HTML"]], [/(arkweb)\/([\w\.]+)/i], [a, r], [/webkit\/537\.36.+chrome\/(?!27)([\w\.]+)/i], [r, [a, "Blink"]], [/(presto)\/([\w\.]+)/i, /(webkit|trident|netfront|netsurf|amaya|lynx|w3m|goanna|servo)\/([\w\.]+)/i, /ekioh(flow)\/([\w\.]+)/i, /(khtml|tasman|links)[\/ ]\(?([\w\.]+)/i, /(icab)[\/ ]([23]\.[\d\.]+)/i, /\b(libweb)/i], [a, r], [/rv\:([\w\.]{1,9})\b.+(gecko)/i], [r, a]],
|
|
70
|
+
os: [[/microsoft (windows) (vista|xp)/i], [a, r], [/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i], [a, [r, L, di]], [/windows nt 6\.2; (arm)/i, /windows[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i, /(?:win(?=3|9|n)|win 9x )([nt\d\.]+)/i], [[r, L, di], [a, "Windows"]], [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /(?:ios;fbsv\/|iphone.+ios[\/ ])([\d\.]+)/i, /cfnetwork\/.+darwin/i], [[r, /_/g, "."], [a, "iOS"]], [/(mac os x) ?([\w\. ]*)/i, /(macintosh|mac_powerpc\b)(?!.+haiku)/i], [[a, wi], [r, /_/g, "."]], [/droid ([\w\.]+)\b.+(android[- ]x86|harmonyos)/i], [r, a], [/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish|openharmony)[-\/ ]?([\w\.]*)/i, /(blackberry)\w*\/([\w\.]*)/i, /(tizen|kaios)[\/ ]([\w\.]+)/i, /\((series40);/i], [a, r], [/\(bb(10);/i], [r, [a, ai]], [/(?:symbian ?os|symbos|s60(?=;)|series60)[-\/ ]?([\w\.]*)/i], [r, [a, "Symbian"]], [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i], [r, [a, U + " OS"]], [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i], [r, [a, "webOS"]], [/watch(?: ?os[,\/]|\d,\d\/)([\d\.]+)/i], [r, [a, "watchOS"]], [/crkey\/([\d\.]+)/i], [r, [a, P + "cast"]], [/(cros) [\w]+(?:\)| ([\w\.]+)\b)/i], [[a, bi], r], [/panasonic;(viera)/i, /(netrange)mmh/i, /(nettv)\/(\d+\.[\w\.]+)/i, /(nintendo|playstation) ([wids345portablevuch]+)/i, /(xbox); +xbox ([^\);]+)/i, /\b(joli|palm)\b ?(?:os)?\/?([\w\.]*)/i, /(mint)[\/\(\) ]?(\w*)/i, /(mageia|vectorlinux)[; ]/i, /([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i, /(hurd|linux) ?([\w\.]*)/i, /(gnu) ?([\w\.]*)/i, /\b([-frentopcghs]{0,5}bsd|dragonfly)[\/ ]?(?!amd|[ix346]{1,2}86)([\w\.]*)/i, /(haiku) (\w+)/i], [a, r], [/(sunos) ?([\w\.\d]*)/i], [[a, "Solaris"], r], [/((?:open)?solaris)[-\/ ]?([\w\.]*)/i, /(aix) ((\d)(?=\.|\)| )[\w\.])*/i, /\b(beos|os\/2|amigaos|morphos|openvms|fuchsia|hp-ux|serenityos)/i, /(unix) ?([\w\.]*)/i], [a, r]]
|
|
71
|
+
}, h = function(w, l) {
|
|
72
|
+
if (typeof w === V && (l = w, w = m), !(this instanceof h))
|
|
73
|
+
return new h(w, l).getResult();
|
|
74
|
+
var s = typeof x !== M && x.navigator ? x.navigator : m, d = w || (s && s.userAgent ? s.userAgent : R), k = s && s.userAgentData ? s.userAgentData : m, v = l ? vi(mi, l) : mi, c = s && s.userAgent == d;
|
|
75
|
+
return this.getBrowser = function() {
|
|
76
|
+
var t = {};
|
|
77
|
+
return t[a] = m, t[r] = m, N.call(t, d, v.browser), t[ei] = fi(t[r]), c && s && s.brave && typeof s.brave.isBrave == j && (t[a] = "Brave"), t;
|
|
78
|
+
}, this.getCPU = function() {
|
|
79
|
+
var t = {};
|
|
80
|
+
return t[p] = m, N.call(t, d, v.cpu), t;
|
|
81
|
+
}, this.getDevice = function() {
|
|
82
|
+
var t = {};
|
|
83
|
+
return t[o] = m, t[e] = m, t[i] = m, N.call(t, d, v.device), c && !t[i] && k && k.mobile && (t[i] = n), c && t[e] == "Macintosh" && s && typeof s.standalone !== M && s.maxTouchPoints && s.maxTouchPoints > 2 && (t[e] = "iPad", t[i] = b), t;
|
|
84
|
+
}, this.getEngine = function() {
|
|
85
|
+
var t = {};
|
|
86
|
+
return t[a] = m, t[r] = m, N.call(t, d, v.engine), t;
|
|
87
|
+
}, this.getOS = function() {
|
|
88
|
+
var t = {};
|
|
89
|
+
return t[a] = m, t[r] = m, N.call(t, d, v.os), c && !t[a] && k && k.platform && k.platform != "Unknown" && (t[a] = k.platform.replace(/chrome os/i, bi).replace(/macos/i, wi)), t;
|
|
90
|
+
}, this.getResult = function() {
|
|
91
|
+
return {
|
|
92
|
+
ua: this.getUA(),
|
|
93
|
+
browser: this.getBrowser(),
|
|
94
|
+
engine: this.getEngine(),
|
|
95
|
+
os: this.getOS(),
|
|
96
|
+
device: this.getDevice(),
|
|
97
|
+
cpu: this.getCPU()
|
|
98
|
+
};
|
|
99
|
+
}, this.getUA = function() {
|
|
100
|
+
return d;
|
|
101
|
+
}, this.setUA = function(t) {
|
|
102
|
+
return d = typeof t === q && t.length > F ? Z(t, F) : t, this;
|
|
103
|
+
}, this.setUA(d), this;
|
|
104
|
+
};
|
|
105
|
+
h.VERSION = pi, h.BROWSER = I([a, r, ei]), h.CPU = I([p]), h.DEVICE = I([e, o, i, E, n, u, b, g, G]), h.ENGINE = h.OS = I([a, r]), Q.exports && ($ = Q.exports = h), $.UAParser = h;
|
|
106
|
+
var _ = typeof x !== M && (x.jQuery || x.Zepto);
|
|
107
|
+
if (_ && !_.ua) {
|
|
108
|
+
var D = new h();
|
|
109
|
+
_.ua = D.getResult(), _.ua.get = function() {
|
|
110
|
+
return D.getUA();
|
|
111
|
+
}, _.ua.set = function(w) {
|
|
112
|
+
D.setUA(w);
|
|
113
|
+
var l = D.getResult();
|
|
114
|
+
for (var s in l)
|
|
115
|
+
_.ua[s] = l[s];
|
|
116
|
+
};
|
|
117
|
+
}
|
|
118
|
+
})(typeof window == "object" ? window : ki);
|
|
119
|
+
})(J, J.exports);
|
|
120
|
+
var _i = J.exports;
|
|
121
|
+
export {
|
|
122
|
+
_i as u
|
|
123
|
+
};
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
const r = (
|
|
2
|
+
/**
|
|
3
|
+
* @type {new <Parameters extends Array<unknown>, Result>(property: string | symbol) => (...parameters: Parameters) => Result}
|
|
4
|
+
*/
|
|
5
|
+
/** @type {unknown} */
|
|
6
|
+
/**
|
|
7
|
+
* @this {Function}
|
|
8
|
+
* @param {string | symbol} property
|
|
9
|
+
* @returns {(...parameters: Array<unknown>) => unknown}
|
|
10
|
+
*/
|
|
11
|
+
function(n) {
|
|
12
|
+
const o = (
|
|
13
|
+
/** @type {Record<string | symbol, Function>} */
|
|
14
|
+
// Prototypes do exist.
|
|
15
|
+
// type-coverage:ignore-next-line
|
|
16
|
+
this.constructor.prototype
|
|
17
|
+
), s = o[n], t = function() {
|
|
18
|
+
return s.apply(t, arguments);
|
|
19
|
+
};
|
|
20
|
+
return Object.setPrototypeOf(t, o), t;
|
|
21
|
+
}
|
|
22
|
+
);
|
|
23
|
+
export {
|
|
24
|
+
r as CallableInstance
|
|
25
|
+
};
|