@touchvue/chat 1.0.0-beta.4 → 1.0.0-beta.41
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.md +70 -70
- package/es/_virtual/_plugin-vue_export-helper.mjs +10 -0
- package/es/_virtual/_plugin-vue_export-helper.mjs.map +1 -0
- package/es/index.mjs.map +1 -1
- package/es/node_modules/.pnpm/dompurify@3.3.0/node_modules/dompurify/dist/purify.es.mjs +1380 -0
- package/es/node_modules/.pnpm/dompurify@3.3.0/node_modules/dompurify/dist/purify.es.mjs.map +1 -0
- package/es/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs +469 -0
- package/es/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.mjs.map +1 -0
- package/es/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs +63 -0
- package/es/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.mjs.map +1 -0
- package/es/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs +9 -0
- package/es/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.mjs.map +1 -0
- package/es/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs +9 -0
- package/es/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.mjs.map +1 -0
- package/es/node_modules/.pnpm/html2canvas@1.4.1/node_modules/html2canvas/dist/html2canvas.esm.mjs +7824 -0
- package/es/node_modules/.pnpm/html2canvas@1.4.1/node_modules/html2canvas/dist/html2canvas.esm.mjs.map +1 -0
- package/es/node_modules/.pnpm/{linkify-it@3.0.3 → linkify-it@5.0.0}/node_modules/linkify-it/index.mjs +162 -157
- package/es/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs +195 -0
- package/es/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.mjs.map +1 -0
- package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/common/html_blocks.mjs +6 -3
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_blocks.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_re.mjs +26 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_re.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/utils.mjs +291 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/utils.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/index.mjs +6 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +81 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs.map +1 -0
- package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/helpers/parse_link_label.mjs +18 -10
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_label.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +70 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_title.mjs.map +1 -0
- package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/index.mjs +81 -107
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_block.mjs +135 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_block.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_core.mjs +63 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_core.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_inline.mjs +197 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_inline.mjs.map +1 -0
- package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/presets/commonmark.mjs +24 -11
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/commonmark.mjs.map +1 -0
- package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/presets/default.mjs +21 -10
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/default.mjs.map +1 -0
- package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/presets/zero.mjs +25 -11
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/zero.mjs.map +1 -0
- package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/renderer.mjs +72 -95
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/renderer.mjs.map +1 -0
- package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/ruler.mjs +37 -50
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/ruler.mjs.map +1 -0
- package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_block/blockquote.mjs +48 -121
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/blockquote.mjs.map +1 -0
- package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_block/code.mjs +13 -12
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/code.mjs.map +1 -0
- package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_block/fence.mjs +30 -29
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/fence.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/heading.mjs +55 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/heading.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/hr.mjs +44 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/hr.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/html_block.mjs +73 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/html_block.mjs.map +1 -0
- package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_block/lheading.mjs +33 -29
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/lheading.mjs.map +1 -0
- package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_block/list.mjs +92 -123
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/list.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/paragraph.mjs +49 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/paragraph.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/reference.mjs +211 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/reference.mjs.map +1 -0
- package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_block/state_block.mjs +49 -61
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/state_block.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/table.mjs +232 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/table.mjs.map +1 -0
- package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_core/block.mjs +5 -5
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/block.mjs.map +1 -0
- package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_core/inline.mjs +6 -6
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/inline.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/linkify.mjs +138 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/linkify.mjs.map +1 -0
- package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_core/normalize.mjs +8 -7
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/normalize.mjs.map +1 -0
- package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_core/replacements.mjs +32 -25
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/replacements.mjs.map +1 -0
- package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +50 -55
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/smartquotes.mjs.map +1 -0
- package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_core/state_core.mjs +5 -7
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/state_core.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/text_join.mjs +46 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/text_join.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/autolink.mjs +75 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/autolink.mjs.map +1 -0
- package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_inline/backticks.mjs +20 -18
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/backticks.mjs.map +1 -0
- package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs +33 -34
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs.map +1 -0
- package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_inline/emphasis.mjs +48 -52
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/emphasis.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/entity.mjs +55 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/entity.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/escape.mjs +73 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/escape.mjs.map +1 -0
- package/es/node_modules/.pnpm/{markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text_collapse.mjs → markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs} +17 -9
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/fragments_join.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +54 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/html_inline.mjs.map +1 -0
- package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_inline/image.mjs +31 -43
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/image.mjs.map +1 -0
- package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_inline/link.mjs +34 -41
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/link.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/linkify.mjs +59 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/linkify.mjs.map +1 -0
- package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_inline/newline.mjs +11 -13
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/newline.mjs.map +1 -0
- package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +31 -62
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/state_inline.mjs.map +1 -0
- package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs +42 -42
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/text.mjs +89 -0
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/text.mjs.map +1 -0
- package/es/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/token.mjs +22 -29
- package/es/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/token.mjs.map +1 -0
- package/es/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.mjs +5 -0
- package/es/{_virtual → node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl}/index.mjs.map +1 -1
- package/es/node_modules/.pnpm/{mdurl@1.0.1/node_modules/mdurl → mdurl@2.0.0/node_modules/mdurl/lib}/decode.mjs +32 -40
- package/es/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.mjs.map +1 -0
- package/es/node_modules/.pnpm/{mdurl@1.0.1/node_modules/mdurl → mdurl@2.0.0/node_modules/mdurl/lib}/encode.mjs +22 -29
- package/es/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.mjs.map +1 -0
- package/es/node_modules/.pnpm/{mdurl@1.0.1/node_modules/mdurl → mdurl@2.0.0/node_modules/mdurl/lib}/format.mjs +5 -5
- package/es/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.mjs.map +1 -0
- package/es/node_modules/.pnpm/{mdurl@1.0.1/node_modules/mdurl → mdurl@2.0.0/node_modules/mdurl/lib}/parse.mjs +101 -84
- package/es/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.mjs.map +1 -0
- package/es/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.mjs +443 -0
- package/es/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.mjs.map +1 -0
- package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs +4 -0
- package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.mjs.map +1 -0
- package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs +4 -0
- package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.mjs.map +1 -0
- package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs +4 -0
- package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.mjs.map +1 -0
- package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs +4 -0
- package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.mjs.map +1 -0
- package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs +4 -0
- package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.mjs.map +1 -0
- package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs +7 -0
- package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs +4 -0
- package/es/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.mjs.map +1 -0
- package/es/package.json.css +1 -1
- package/es/package.json.mjs +1 -1
- package/es/packages/components/index.mjs +1 -1
- package/es/packages/components/resolver.mjs.map +1 -1
- package/es/packages/components/touchchat/component/AiRobot/HelloChat.vue.mjs +3 -2
- package/es/packages/components/touchchat/component/AiRobot/HelloChat.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/component/AiRobot/HelloChat.vue2.mjs +219 -159
- package/es/packages/components/touchchat/component/AiRobot/HelloChat.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/AiRobot/face.vue.mjs +3 -2
- package/es/packages/components/touchchat/component/AiRobot/face.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/component/AiRobot/face.vue2.mjs +27 -13
- package/es/packages/components/touchchat/component/AiRobot/face.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/AiRobot/letter.vue.mjs +3 -2
- package/es/packages/components/touchchat/component/AiRobot/letter.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/component/AiRobot/letter.vue2.mjs +169 -40
- package/es/packages/components/touchchat/component/AiRobot/letter.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/AiRobot/meterialPrepare.vue.mjs +3 -2
- package/es/packages/components/touchchat/component/AiRobot/meterialPrepare.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/component/AiRobot/meterialPrepare.vue2.mjs +15 -10
- package/es/packages/components/touchchat/component/AiRobot/meterialPrepare.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/AiRobot/start.vue.mjs +3 -2
- package/es/packages/components/touchchat/component/AiRobot/start.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/component/AiRobot/start.vue2.mjs +18 -11
- package/es/packages/components/touchchat/component/AiRobot/start.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/CardView.vue.mjs +3 -2
- package/es/packages/components/touchchat/component/CardView.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/component/CardView.vue2.mjs +66 -42
- package/es/packages/components/touchchat/component/CardView.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/FileContent.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/FileContent.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/FileContent.vue2.mjs +201 -0
- package/es/packages/components/touchchat/component/FileContent.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/FileView.vue.mjs +3 -2
- package/es/packages/components/touchchat/component/FileView.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/component/FileView.vue2.mjs +17 -4
- package/es/packages/components/touchchat/component/FileView.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/HelloChat.vue.mjs +3 -2
- package/es/packages/components/touchchat/component/HelloChat.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/component/HelloChat.vue2.mjs +26 -14
- package/es/packages/components/touchchat/component/HelloChat.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/ImageFile.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/ImageFile.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/ImageFile.vue2.mjs +162 -0
- package/es/packages/components/touchchat/component/ImageFile.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/ImageView.vue.mjs +3 -2
- package/es/packages/components/touchchat/component/ImageView.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/component/ImageView.vue2.mjs +1 -1
- package/es/packages/components/touchchat/component/ImageView.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/LinkView.vue.mjs +3 -2
- package/es/packages/components/touchchat/component/LinkView.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/component/LinkView.vue2.mjs +19 -5
- package/es/packages/components/touchchat/component/LinkView.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/component/MarkLayer.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/MarkLayer.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/MarkLayer.vue2.mjs +56 -0
- package/es/packages/components/touchchat/component/MarkLayer.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/ModuleSelect.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/ModuleSelect.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/ModuleSelect.vue2.mjs +121 -0
- package/es/packages/components/touchchat/component/ModuleSelect.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/PDFFile.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/PDFFile.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/PDFFile.vue2.mjs +205 -0
- package/es/packages/components/touchchat/component/PDFFile.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/RealtimeVoice.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/RealtimeVoice.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/RealtimeVoice.vue2.mjs +160 -0
- package/es/packages/components/touchchat/component/RealtimeVoice.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/Screenshot.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/Screenshot.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/Screenshot.vue2.mjs +199 -0
- package/es/packages/components/touchchat/component/Screenshot.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/ThoughtChain.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/ThoughtChain.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/ThoughtChain.vue2.mjs +69 -0
- package/es/packages/components/touchchat/component/ThoughtChain.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/UploadView.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/UploadView.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/UploadView.vue2.mjs +146 -0
- package/es/packages/components/touchchat/component/UploadView.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/UploadView_api.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/UploadView_api.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/UploadView_api.vue2.mjs +166 -0
- package/es/packages/components/touchchat/component/UploadView_api.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/VoiceView.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/VoiceView.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/VoiceView.vue2.mjs +165 -0
- package/es/packages/components/touchchat/component/VoiceView.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file/doc.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file/doc.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file/docx.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file/docx.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file/gif.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file/gif.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file/html.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file/html.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file/jpg.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file/jpg.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file/mp3.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file/mp3.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file/mp4.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file/mp4.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file/music.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file/music.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file/pdf.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file/pdf.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file/png.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file/png.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file/ppt.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file/ppt.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file/pptx.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file/pptx.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file/txt.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file/txt.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file/xls.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file/xls.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file/xlsx.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file/xlsx.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/svg/reset.svg.mjs +4 -0
- package/es/packages/components/touchchat/img/svg/reset.svg.mjs.map +1 -0
- package/es/packages/components/touchchat/index.mjs +5 -5
- package/es/packages/components/touchchat/index.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/AgentsView.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiChat/AgentsView.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/AgentsView.vue2.mjs +59 -0
- package/es/packages/components/touchchat/src/AiChat/AgentsView.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/AiMessage.vue.mjs +3 -2
- package/es/packages/components/touchchat/src/AiChat/AiMessage.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/AiMessage.vue2.mjs +218 -131
- package/es/packages/components/touchchat/src/AiChat/AiMessage.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/Chat/TouchChat.mjs +18 -0
- package/es/packages/components/touchchat/src/AiChat/Chat/TouchChat.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/ChatInput.vue.mjs +3 -2
- package/es/packages/components/touchchat/src/AiChat/ChatInput.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/ChatInput.vue2.mjs +444 -44
- package/es/packages/components/touchchat/src/AiChat/ChatInput.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/HistoryList.vue.mjs +3 -2
- package/es/packages/components/touchchat/src/AiChat/HistoryList.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/HistoryList.vue2.mjs +180 -98
- package/es/packages/components/touchchat/src/AiChat/HistoryList.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/HistorySidebar.vue.mjs +3 -2
- package/es/packages/components/touchchat/src/AiChat/HistorySidebar.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.mjs +29 -12
- package/es/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/MessageActions.vue.mjs +3 -2
- package/es/packages/components/touchchat/src/AiChat/MessageActions.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/MessageActions.vue2.mjs +134 -61
- package/es/packages/components/touchchat/src/AiChat/MessageActions.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/SiderBarView.vue.mjs +3 -2
- package/es/packages/components/touchchat/src/AiChat/SiderBarView.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/SiderBarView.vue2.mjs +14 -8
- package/es/packages/components/touchchat/src/AiChat/SiderBarView.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/TouchAgent.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiChat/TouchAgent.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/TouchAgent.vue2.mjs +986 -0
- package/es/packages/components/touchchat/src/AiChat/TouchAgent.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/TouchChat.vue.mjs +3 -2
- package/es/packages/components/touchchat/src/AiChat/TouchChat.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/TouchChat.vue2.mjs +753 -384
- package/es/packages/components/touchchat/src/AiChat/TouchChat.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/TouchHistory.vue.mjs +3 -2
- package/es/packages/components/touchchat/src/AiChat/TouchHistory.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/TouchHistory.vue2.mjs +327 -123
- package/es/packages/components/touchchat/src/AiChat/TouchHistory.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/UserMessage.vue.mjs +3 -2
- package/es/packages/components/touchchat/src/AiChat/UserMessage.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/src/AiChat/UserMessage.vue2.mjs +128 -61
- package/es/packages/components/touchchat/src/AiChat/UserMessage.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/index.vue.mjs +3 -2
- package/es/packages/components/touchchat/src/index.vue.mjs.map +1 -1
- package/es/packages/components/touchchat/src/index.vue2.mjs +207 -128
- package/es/packages/components/touchchat/src/index.vue2.mjs.map +1 -1
- package/es/packages/components/touchchat/src/types/a2a.mjs +11 -0
- package/es/packages/components/touchchat/src/types/a2a.mjs.map +1 -0
- package/es/packages/components/touchchat/utils/a2aService.mjs +309 -0
- package/es/packages/components/touchchat/utils/a2aService.mjs.map +1 -0
- package/es/packages/components/touchchat/utils/fetchStream.mjs +6 -1
- package/es/packages/components/touchchat/utils/fetchStream.mjs.map +1 -1
- package/es/packages/components/touchchat/utils/markdown.mjs +3 -3
- package/es/packages/components/touchchat/utils/markdown.mjs.map +1 -1
- package/es/packages/utils/config.mjs.map +1 -1
- package/es/packages/utils/types.mjs.map +1 -1
- package/global.d.ts +2 -2
- package/lib/_virtual/_plugin-vue_export-helper.js +14 -0
- package/lib/_virtual/_plugin-vue_export-helper.js.map +1 -0
- package/lib/index.js.map +1 -1
- package/lib/node_modules/.pnpm/dompurify@3.3.0/node_modules/dompurify/dist/purify.es.js +1384 -0
- package/lib/node_modules/.pnpm/dompurify@3.3.0/node_modules/dompurify/dist/purify.es.js.map +1 -0
- package/lib/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.js +477 -0
- package/lib/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode.js.map +1 -0
- package/lib/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.js +66 -0
- package/lib/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/decode_codepoint.js.map +1 -0
- package/lib/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.js +13 -0
- package/lib/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-html.js.map +1 -0
- package/lib/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.js +13 -0
- package/lib/node_modules/.pnpm/entities@4.5.0/node_modules/entities/lib/esm/generated/decode-data-xml.js.map +1 -0
- package/lib/node_modules/.pnpm/html2canvas@1.4.1/node_modules/html2canvas/dist/html2canvas.esm.js +7828 -0
- package/lib/node_modules/.pnpm/html2canvas@1.4.1/node_modules/html2canvas/dist/html2canvas.esm.js.map +1 -0
- package/lib/node_modules/.pnpm/{linkify-it@3.0.3 → linkify-it@5.0.0}/node_modules/linkify-it/index.js +163 -156
- package/lib/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/index.js.map +1 -0
- package/lib/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.js +199 -0
- package/lib/node_modules/.pnpm/linkify-it@5.0.0/node_modules/linkify-it/lib/re.js.map +1 -0
- package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/common/html_blocks.js +8 -3
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_blocks.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_re.js +29 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/html_re.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/utils.js +308 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/common/utils.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/index.js +12 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_destination.js +85 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_destination.js.map +1 -0
- package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/helpers/parse_link_label.js +20 -10
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_label.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_title.js +74 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/helpers/parse_link_title.js.map +1 -0
- package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/index.js +81 -106
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/index.js.map +1 -0
- package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/parser_block.js +42 -43
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_block.js.map +1 -0
- package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/parser_core.js +21 -25
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_core.js.map +1 -0
- package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/parser_inline.js +69 -67
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/parser_inline.js.map +1 -0
- package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/presets/commonmark.js +26 -11
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/commonmark.js.map +1 -0
- package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/presets/default.js +23 -10
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/default.js.map +1 -0
- package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/presets/zero.js +27 -11
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/presets/zero.js.map +1 -0
- package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/renderer.js +79 -100
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/renderer.js.map +1 -0
- package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/ruler.js +39 -50
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/ruler.js.map +1 -0
- package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_block/blockquote.js +50 -121
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/blockquote.js.map +1 -0
- package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_block/code.js +15 -12
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/code.js.map +1 -0
- package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_block/fence.js +32 -29
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/fence.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/heading.js +59 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/heading.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/hr.js +48 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/hr.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/html_block.js +77 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/html_block.js.map +1 -0
- package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_block/lheading.js +35 -29
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/lheading.js.map +1 -0
- package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_block/list.js +96 -125
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/list.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/paragraph.js +53 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/paragraph.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/reference.js +215 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/reference.js.map +1 -0
- package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_block/state_block.js +56 -66
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/state_block.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/table.js +236 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_block/table.js.map +1 -0
- package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_core/block.js +7 -5
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/block.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/inline.js +18 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/inline.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/linkify.js +142 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/linkify.js.map +1 -0
- package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_core/normalize.js +10 -7
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/normalize.js.map +1 -0
- package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_core/replacements.js +34 -25
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/replacements.js.map +1 -0
- package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_core/smartquotes.js +52 -55
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/smartquotes.js.map +1 -0
- package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_core/state_core.js +7 -7
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/state_core.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/text_join.js +50 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_core/text_join.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/autolink.js +79 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/autolink.js.map +1 -0
- package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_inline/backticks.js +22 -18
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/backticks.js.map +1 -0
- package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_inline/balance_pairs.js +35 -34
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/balance_pairs.js.map +1 -0
- package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_inline/emphasis.js +48 -52
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/emphasis.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/entity.js +59 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/entity.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/escape.js +77 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/escape.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/fragments_join.js +45 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/fragments_join.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/html_inline.js +58 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/html_inline.js.map +1 -0
- package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_inline/image.js +34 -44
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/image.js.map +1 -0
- package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_inline/link.js +37 -42
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/link.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/linkify.js +63 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/linkify.js.map +1 -0
- package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_inline/newline.js +14 -14
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/newline.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/state_inline.js +129 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/state_inline.js.map +1 -0
- package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/rules_inline/strikethrough.js +42 -42
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/strikethrough.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/text.js +93 -0
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/rules_inline/text.js.map +1 -0
- package/lib/node_modules/.pnpm/{markdown-it@12.3.2 → markdown-it@14.1.0}/node_modules/markdown-it/lib/token.js +24 -29
- package/lib/node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/token.js.map +1 -0
- package/lib/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/index.js +14 -0
- package/lib/{_virtual → node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl}/index.js.map +1 -1
- package/lib/node_modules/.pnpm/{mdurl@1.0.1/node_modules/mdurl → mdurl@2.0.0/node_modules/mdurl/lib}/decode.js +34 -40
- package/lib/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/decode.js.map +1 -0
- package/lib/node_modules/.pnpm/{mdurl@1.0.1/node_modules/mdurl → mdurl@2.0.0/node_modules/mdurl/lib}/encode.js +23 -28
- package/lib/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/encode.js.map +1 -0
- package/lib/node_modules/.pnpm/{mdurl@1.0.1/node_modules/mdurl → mdurl@2.0.0/node_modules/mdurl/lib}/format.js +7 -5
- package/lib/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/format.js.map +1 -0
- package/lib/node_modules/.pnpm/{mdurl@1.0.1/node_modules/mdurl → mdurl@2.0.0/node_modules/mdurl/lib}/parse.js +103 -84
- package/lib/node_modules/.pnpm/mdurl@2.0.0/node_modules/mdurl/lib/parse.js.map +1 -0
- package/lib/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.js +453 -0
- package/lib/node_modules/.pnpm/punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.js.map +1 -0
- package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.js +8 -0
- package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cc/regex.js.map +1 -0
- package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.js +8 -0
- package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Cf/regex.js.map +1 -0
- package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.js +8 -0
- package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/P/regex.js.map +1 -0
- package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.js +8 -0
- package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/S/regex.js.map +1 -0
- package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.js +8 -0
- package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/categories/Z/regex.js.map +1 -0
- package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.js +18 -0
- package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/index.js.map +1 -0
- package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.js +8 -0
- package/lib/node_modules/.pnpm/uc.micro@2.1.0/node_modules/uc.micro/properties/Any/regex.js.map +1 -0
- package/lib/package.json.css +1 -1
- package/lib/package.json.js +1 -1
- package/lib/packages/components/index.js +2 -2
- package/lib/packages/components/resolver.js.map +1 -1
- package/lib/packages/components/touchchat/component/AiRobot/HelloChat.vue.js +3 -2
- package/lib/packages/components/touchchat/component/AiRobot/HelloChat.vue.js.map +1 -1
- package/lib/packages/components/touchchat/component/AiRobot/HelloChat.vue2.js +219 -159
- package/lib/packages/components/touchchat/component/AiRobot/HelloChat.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/AiRobot/face.vue.js +3 -2
- package/lib/packages/components/touchchat/component/AiRobot/face.vue.js.map +1 -1
- package/lib/packages/components/touchchat/component/AiRobot/face.vue2.js +26 -12
- package/lib/packages/components/touchchat/component/AiRobot/face.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/AiRobot/letter.vue.js +3 -2
- package/lib/packages/components/touchchat/component/AiRobot/letter.vue.js.map +1 -1
- package/lib/packages/components/touchchat/component/AiRobot/letter.vue2.js +168 -39
- package/lib/packages/components/touchchat/component/AiRobot/letter.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/AiRobot/meterialPrepare.vue.js +3 -2
- package/lib/packages/components/touchchat/component/AiRobot/meterialPrepare.vue.js.map +1 -1
- package/lib/packages/components/touchchat/component/AiRobot/meterialPrepare.vue2.js +15 -10
- package/lib/packages/components/touchchat/component/AiRobot/meterialPrepare.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/AiRobot/start.vue.js +3 -2
- package/lib/packages/components/touchchat/component/AiRobot/start.vue.js.map +1 -1
- package/lib/packages/components/touchchat/component/AiRobot/start.vue2.js +17 -10
- package/lib/packages/components/touchchat/component/AiRobot/start.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/CardView.vue.js +3 -2
- package/lib/packages/components/touchchat/component/CardView.vue.js.map +1 -1
- package/lib/packages/components/touchchat/component/CardView.vue2.js +66 -42
- package/lib/packages/components/touchchat/component/CardView.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/FileContent.vue.js +11 -0
- package/lib/packages/components/touchchat/component/FileContent.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/FileContent.vue2.js +205 -0
- package/lib/packages/components/touchchat/component/FileContent.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/FileView.vue.js +3 -2
- package/lib/packages/components/touchchat/component/FileView.vue.js.map +1 -1
- package/lib/packages/components/touchchat/component/FileView.vue2.js +16 -3
- package/lib/packages/components/touchchat/component/FileView.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/HelloChat.vue.js +3 -2
- package/lib/packages/components/touchchat/component/HelloChat.vue.js.map +1 -1
- package/lib/packages/components/touchchat/component/HelloChat.vue2.js +26 -14
- package/lib/packages/components/touchchat/component/HelloChat.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/ImageFile.vue.js +11 -0
- package/lib/packages/components/touchchat/component/ImageFile.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/ImageFile.vue2.js +166 -0
- package/lib/packages/components/touchchat/component/ImageFile.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/ImageView.vue.js +3 -2
- package/lib/packages/components/touchchat/component/ImageView.vue.js.map +1 -1
- package/lib/packages/components/touchchat/component/ImageView.vue2.js +1 -1
- package/lib/packages/components/touchchat/component/ImageView.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/LinkView.vue.js +3 -2
- package/lib/packages/components/touchchat/component/LinkView.vue.js.map +1 -1
- package/lib/packages/components/touchchat/component/LinkView.vue2.js +18 -4
- package/lib/packages/components/touchchat/component/LinkView.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/component/MarkLayer.vue.js +11 -0
- package/lib/packages/components/touchchat/component/MarkLayer.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/MarkLayer.vue2.js +60 -0
- package/lib/packages/components/touchchat/component/MarkLayer.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/ModuleSelect.vue.js +11 -0
- package/lib/packages/components/touchchat/component/ModuleSelect.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/ModuleSelect.vue2.js +125 -0
- package/lib/packages/components/touchchat/component/ModuleSelect.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/PDFFile.vue.js +11 -0
- package/lib/packages/components/touchchat/component/PDFFile.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/PDFFile.vue2.js +209 -0
- package/lib/packages/components/touchchat/component/PDFFile.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/RealtimeVoice.vue.js +11 -0
- package/lib/packages/components/touchchat/component/RealtimeVoice.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/RealtimeVoice.vue2.js +164 -0
- package/lib/packages/components/touchchat/component/RealtimeVoice.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/Screenshot.vue.js +11 -0
- package/lib/packages/components/touchchat/component/Screenshot.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/Screenshot.vue2.js +203 -0
- package/lib/packages/components/touchchat/component/Screenshot.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/ThoughtChain.vue.js +11 -0
- package/lib/packages/components/touchchat/component/ThoughtChain.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/ThoughtChain.vue2.js +73 -0
- package/lib/packages/components/touchchat/component/ThoughtChain.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/UploadView.vue.js +11 -0
- package/lib/packages/components/touchchat/component/UploadView.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/UploadView.vue2.js +150 -0
- package/lib/packages/components/touchchat/component/UploadView.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/UploadView_api.vue.js +11 -0
- package/lib/packages/components/touchchat/component/UploadView_api.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/UploadView_api.vue2.js +170 -0
- package/lib/packages/components/touchchat/component/UploadView_api.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/VoiceView.vue.js +11 -0
- package/lib/packages/components/touchchat/component/VoiceView.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/VoiceView.vue2.js +169 -0
- package/lib/packages/components/touchchat/component/VoiceView.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/img/file/doc.png.js +8 -0
- package/lib/packages/components/touchchat/img/file/doc.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/file/docx.png.js +8 -0
- package/lib/packages/components/touchchat/img/file/docx.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/file/gif.png.js +8 -0
- package/lib/packages/components/touchchat/img/file/gif.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/file/html.png.js +8 -0
- package/lib/packages/components/touchchat/img/file/html.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/file/jpg.png.js +8 -0
- package/lib/packages/components/touchchat/img/file/jpg.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/file/mp3.png.js +8 -0
- package/lib/packages/components/touchchat/img/file/mp3.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/file/mp4.png.js +8 -0
- package/lib/packages/components/touchchat/img/file/mp4.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/file/music.png.js +8 -0
- package/lib/packages/components/touchchat/img/file/music.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/file/pdf.png.js +8 -0
- package/lib/packages/components/touchchat/img/file/pdf.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/file/png.png.js +8 -0
- package/lib/packages/components/touchchat/img/file/png.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/file/ppt.png.js +8 -0
- package/lib/packages/components/touchchat/img/file/ppt.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/file/pptx.png.js +8 -0
- package/lib/packages/components/touchchat/img/file/pptx.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/file/txt.png.js +8 -0
- package/lib/packages/components/touchchat/img/file/txt.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/file/xls.png.js +8 -0
- package/lib/packages/components/touchchat/img/file/xls.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/file/xlsx.png.js +8 -0
- package/lib/packages/components/touchchat/img/file/xlsx.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/svg/reset.svg.js +8 -0
- package/lib/packages/components/touchchat/img/svg/reset.svg.js.map +1 -0
- package/lib/packages/components/touchchat/index.js +6 -6
- package/lib/packages/components/touchchat/index.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/AgentsView.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiChat/AgentsView.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/AgentsView.vue2.js +63 -0
- package/lib/packages/components/touchchat/src/AiChat/AgentsView.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/AiMessage.vue.js +3 -2
- package/lib/packages/components/touchchat/src/AiChat/AiMessage.vue.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/AiMessage.vue2.js +217 -130
- package/lib/packages/components/touchchat/src/AiChat/AiMessage.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/Chat/TouchChat.js +21 -0
- package/lib/packages/components/touchchat/src/AiChat/Chat/TouchChat.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/ChatInput.vue.js +3 -2
- package/lib/packages/components/touchchat/src/AiChat/ChatInput.vue.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/ChatInput.vue2.js +443 -43
- package/lib/packages/components/touchchat/src/AiChat/ChatInput.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/HistoryList.vue.js +3 -2
- package/lib/packages/components/touchchat/src/AiChat/HistoryList.vue.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/HistoryList.vue2.js +179 -97
- package/lib/packages/components/touchchat/src/AiChat/HistoryList.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/HistorySidebar.vue.js +3 -2
- package/lib/packages/components/touchchat/src/AiChat/HistorySidebar.vue.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.js +28 -11
- package/lib/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/MessageActions.vue.js +3 -2
- package/lib/packages/components/touchchat/src/AiChat/MessageActions.vue.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/MessageActions.vue2.js +133 -60
- package/lib/packages/components/touchchat/src/AiChat/MessageActions.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/SiderBarView.vue.js +3 -2
- package/lib/packages/components/touchchat/src/AiChat/SiderBarView.vue.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/SiderBarView.vue2.js +14 -8
- package/lib/packages/components/touchchat/src/AiChat/SiderBarView.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/TouchAgent.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchAgent.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchAgent.vue2.js +990 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchAgent.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchChat.vue.js +3 -2
- package/lib/packages/components/touchchat/src/AiChat/TouchChat.vue.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/TouchChat.vue2.js +752 -383
- package/lib/packages/components/touchchat/src/AiChat/TouchChat.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/TouchHistory.vue.js +3 -2
- package/lib/packages/components/touchchat/src/AiChat/TouchHistory.vue.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/TouchHistory.vue2.js +326 -122
- package/lib/packages/components/touchchat/src/AiChat/TouchHistory.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/UserMessage.vue.js +3 -2
- package/lib/packages/components/touchchat/src/AiChat/UserMessage.vue.js.map +1 -1
- package/lib/packages/components/touchchat/src/AiChat/UserMessage.vue2.js +127 -60
- package/lib/packages/components/touchchat/src/AiChat/UserMessage.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/index.vue.js +3 -2
- package/lib/packages/components/touchchat/src/index.vue.js.map +1 -1
- package/lib/packages/components/touchchat/src/index.vue2.js +206 -127
- package/lib/packages/components/touchchat/src/index.vue2.js.map +1 -1
- package/lib/packages/components/touchchat/src/types/a2a.js +13 -0
- package/lib/packages/components/touchchat/src/types/a2a.js.map +1 -0
- package/lib/packages/components/touchchat/utils/a2aService.js +312 -0
- package/lib/packages/components/touchchat/utils/a2aService.js.map +1 -0
- package/lib/packages/components/touchchat/utils/fetchStream.js +6 -1
- package/lib/packages/components/touchchat/utils/fetchStream.js.map +1 -1
- package/lib/packages/components/touchchat/utils/markdown.js +2 -2
- package/lib/packages/components/touchchat/utils/markdown.js.map +1 -1
- package/lib/packages/utils/config.js.map +1 -1
- package/lib/packages/utils/types.js.map +1 -1
- package/package.json +1 -1
- package/theme/components/index.css +867 -50
- package/theme/font/iconfont.woff +0 -0
- package/theme/font/iconfont.woff2 +0 -0
- package/theme/index.css +867 -50
- package/theme/skin/default.css +867 -50
- package/types/global.d.ts +2 -2
- package/es/_virtual/emphasis.mjs +0 -4
- package/es/_virtual/emphasis.mjs.map +0 -1
- package/es/_virtual/html_re.mjs +0 -4
- package/es/_virtual/html_re.mjs.map +0 -1
- package/es/_virtual/index.mjs +0 -4
- package/es/_virtual/index2.mjs +0 -4
- package/es/_virtual/index2.mjs.map +0 -1
- package/es/_virtual/index3.mjs +0 -4
- package/es/_virtual/index3.mjs.map +0 -1
- package/es/_virtual/strikethrough.mjs +0 -4
- package/es/_virtual/strikethrough.mjs.map +0 -1
- package/es/_virtual/utils.mjs +0 -4
- package/es/_virtual/utils.mjs.map +0 -1
- package/es/node_modules/.pnpm/entities@2.1.0/node_modules/entities/lib/maps/entities.json.mjs +0 -4253
- package/es/node_modules/.pnpm/entities@2.1.0/node_modules/entities/lib/maps/entities.json.mjs.map +0 -1
- package/es/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/index.mjs.map +0 -1
- package/es/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/lib/re.mjs +0 -196
- package/es/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/lib/re.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/index.mjs +0 -9
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/index.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/entities.mjs +0 -7
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/entities.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_blocks.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_re.mjs +0 -29
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_re.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/utils.mjs +0 -324
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/utils.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/index.mjs +0 -11
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/index.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +0 -83
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_label.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +0 -56
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_title.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/index.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_block.mjs +0 -138
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_block.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_core.mjs +0 -69
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_core.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_inline.mjs +0 -197
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_inline.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/commonmark.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/default.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/zero.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/renderer.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/ruler.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/blockquote.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/code.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/fence.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/heading.mjs +0 -57
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/heading.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/hr.mjs +0 -47
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/hr.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/html_block.mjs +0 -76
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/html_block.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/lheading.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/list.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/paragraph.mjs +0 -50
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/paragraph.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/reference.mjs +0 -197
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/reference.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/state_block.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/table.mjs +0 -223
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/table.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/block.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/inline.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/linkify.mjs +0 -132
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/linkify.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/normalize.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/replacements.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/smartquotes.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/state_core.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/autolink.mjs +0 -74
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/autolink.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/backticks.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/emphasis.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/entity.mjs +0 -51
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/entity.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/escape.mjs +0 -54
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/escape.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/html_inline.mjs +0 -48
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/html_inline.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/image.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/link.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/newline.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/state_inline.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text.mjs +0 -56
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text_collapse.mjs.map +0 -1
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/token.mjs.map +0 -1
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/decode.mjs.map +0 -1
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/encode.mjs.map +0 -1
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/format.mjs.map +0 -1
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.mjs +0 -13
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.mjs.map +0 -1
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/parse.mjs.map +0 -1
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.mjs +0 -12
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.mjs.map +0 -1
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.mjs +0 -12
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.mjs.map +0 -1
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.mjs +0 -4
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.mjs.map +0 -1
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.mjs +0 -12
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.mjs.map +0 -1
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.mjs +0 -23
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.mjs.map +0 -1
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.mjs +0 -12
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.mjs.map +0 -1
- package/es/packages/components/touchchat/src/AiChat/Scene.vue.mjs +0 -6
- package/es/packages/components/touchchat/src/AiChat/Scene.vue.mjs.map +0 -1
- package/es/packages/components/touchchat/src/AiChat/Scene.vue2.mjs +0 -42
- package/es/packages/components/touchchat/src/AiChat/Scene.vue2.mjs.map +0 -1
- package/lib/_virtual/emphasis.js +0 -6
- package/lib/_virtual/emphasis.js.map +0 -1
- package/lib/_virtual/html_re.js +0 -6
- package/lib/_virtual/html_re.js.map +0 -1
- package/lib/_virtual/index.js +0 -6
- package/lib/_virtual/index2.js +0 -6
- package/lib/_virtual/index2.js.map +0 -1
- package/lib/_virtual/index3.js +0 -6
- package/lib/_virtual/index3.js.map +0 -1
- package/lib/_virtual/strikethrough.js +0 -6
- package/lib/_virtual/strikethrough.js.map +0 -1
- package/lib/_virtual/utils.js +0 -6
- package/lib/_virtual/utils.js.map +0 -1
- package/lib/node_modules/.pnpm/entities@2.1.0/node_modules/entities/lib/maps/entities.json.js +0 -6380
- package/lib/node_modules/.pnpm/entities@2.1.0/node_modules/entities/lib/maps/entities.json.js.map +0 -1
- package/lib/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/index.js.map +0 -1
- package/lib/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/lib/re.js +0 -198
- package/lib/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/lib/re.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/index.js +0 -13
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/index.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/entities.js +0 -9
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/entities.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_blocks.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_re.js +0 -33
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_re.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/utils.js +0 -326
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/utils.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/index.js +0 -15
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/index.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_destination.js +0 -85
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_destination.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_label.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_title.js +0 -58
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_title.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/index.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_block.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_core.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_inline.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/commonmark.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/default.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/zero.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/renderer.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/ruler.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/blockquote.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/code.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/fence.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/heading.js +0 -59
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/heading.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/hr.js +0 -49
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/hr.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/html_block.js +0 -78
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/html_block.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/lheading.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/list.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/paragraph.js +0 -52
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/paragraph.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/reference.js +0 -199
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/reference.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/state_block.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/table.js +0 -225
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/table.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/block.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/inline.js +0 -16
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/inline.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/linkify.js +0 -134
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/linkify.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/normalize.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/replacements.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/smartquotes.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/state_core.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/autolink.js +0 -76
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/autolink.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/backticks.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/balance_pairs.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/emphasis.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/entity.js +0 -53
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/entity.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/escape.js +0 -56
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/escape.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/html_inline.js +0 -50
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/html_inline.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/image.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/link.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/newline.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/state_inline.js +0 -158
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/state_inline.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/strikethrough.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text.js +0 -58
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text_collapse.js +0 -35
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text_collapse.js.map +0 -1
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/token.js.map +0 -1
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/decode.js.map +0 -1
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/encode.js.map +0 -1
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/format.js.map +0 -1
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.js +0 -17
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.js.map +0 -1
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/parse.js.map +0 -1
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.js +0 -14
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.js.map +0 -1
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.js +0 -14
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.js.map +0 -1
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.js +0 -6
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.js.map +0 -1
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.js +0 -14
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.js.map +0 -1
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.js +0 -25
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.js.map +0 -1
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.js +0 -14
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.js.map +0 -1
- package/lib/packages/components/touchchat/src/AiChat/Scene.vue.js +0 -10
- package/lib/packages/components/touchchat/src/AiChat/Scene.vue.js.map +0 -1
- package/lib/packages/components/touchchat/src/AiChat/Scene.vue2.js +0 -46
- package/lib/packages/components/touchchat/src/AiChat/Scene.vue2.js.map +0 -1
|
@@ -1,39 +1,32 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
var
|
|
6
|
-
var
|
|
7
|
-
var commonmark = require('./presets/commonmark.js');
|
|
8
|
-
var index = require('../../../../../../_virtual/index.js');
|
|
9
|
-
require('./helpers/index.js');
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var utils = require('./common/utils.js');
|
|
6
|
+
var index$1 = require('./helpers/index.js');
|
|
10
7
|
var renderer = require('./renderer.js');
|
|
11
8
|
var parser_core = require('./parser_core.js');
|
|
12
9
|
var parser_block = require('./parser_block.js');
|
|
13
10
|
var parser_inline = require('./parser_inline.js');
|
|
14
|
-
var index
|
|
15
|
-
var
|
|
16
|
-
require('
|
|
17
|
-
var
|
|
18
|
-
|
|
19
|
-
var
|
|
20
|
-
var
|
|
21
|
-
var
|
|
22
|
-
var
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
default: _default._default,
|
|
32
|
-
zero: zero.zero,
|
|
33
|
-
commonmark: commonmark.commonmark
|
|
11
|
+
var index = require('../../../../linkify-it@5.0.0/node_modules/linkify-it/index.js');
|
|
12
|
+
var punycode_es6 = require('../../../../punycode.js@2.3.1/node_modules/punycode.js/punycode.es6.js');
|
|
13
|
+
var _default = require('./presets/default.js');
|
|
14
|
+
var zero = require('./presets/zero.js');
|
|
15
|
+
var commonmark = require('./presets/commonmark.js');
|
|
16
|
+
var parse = require('../../../../mdurl@2.0.0/node_modules/mdurl/lib/parse.js');
|
|
17
|
+
var encode = require('../../../../mdurl@2.0.0/node_modules/mdurl/lib/encode.js');
|
|
18
|
+
var format = require('../../../../mdurl@2.0.0/node_modules/mdurl/lib/format.js');
|
|
19
|
+
var decode = require('../../../../mdurl@2.0.0/node_modules/mdurl/lib/decode.js');
|
|
20
|
+
|
|
21
|
+
// Main parser class
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
const config = {
|
|
25
|
+
default: _default.default,
|
|
26
|
+
zero: zero.default,
|
|
27
|
+
commonmark: commonmark.default
|
|
34
28
|
};
|
|
35
29
|
|
|
36
|
-
////////////////////////////////////////////////////////////////////////////////
|
|
37
30
|
//
|
|
38
31
|
// This validator can prohibit more than really needed to prevent XSS. It's a
|
|
39
32
|
// tradeoff to keep code simple and to be secure by default.
|
|
@@ -42,23 +35,20 @@ var config = {
|
|
|
42
35
|
// replace it with dummy function and use external sanitizer.
|
|
43
36
|
//
|
|
44
37
|
|
|
45
|
-
|
|
46
|
-
|
|
38
|
+
const BAD_PROTO_RE = /^(vbscript|javascript|file|data):/;
|
|
39
|
+
const GOOD_DATA_RE = /^data:image\/(gif|png|jpeg|webp);/;
|
|
47
40
|
|
|
48
|
-
function validateLink(url) {
|
|
41
|
+
function validateLink (url) {
|
|
49
42
|
// url should be normalized at this point, and existing entities are decoded
|
|
50
|
-
|
|
43
|
+
const str = url.trim().toLowerCase();
|
|
51
44
|
|
|
52
|
-
return BAD_PROTO_RE.test(str) ?
|
|
45
|
+
return BAD_PROTO_RE.test(str) ? GOOD_DATA_RE.test(str) : true
|
|
53
46
|
}
|
|
54
47
|
|
|
55
|
-
|
|
48
|
+
const RECODE_HOSTNAME_FOR = ['http:', 'https:', 'mailto:'];
|
|
56
49
|
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
function normalizeLink(url) {
|
|
61
|
-
var parsed = mdurl.parse(url, true);
|
|
50
|
+
function normalizeLink (url) {
|
|
51
|
+
const parsed = parse.default(url, true);
|
|
62
52
|
|
|
63
53
|
if (parsed.hostname) {
|
|
64
54
|
// Encode hostnames in urls like:
|
|
@@ -69,16 +59,16 @@ function normalizeLink(url) {
|
|
|
69
59
|
//
|
|
70
60
|
if (!parsed.protocol || RECODE_HOSTNAME_FOR.indexOf(parsed.protocol) >= 0) {
|
|
71
61
|
try {
|
|
72
|
-
parsed.hostname =
|
|
62
|
+
parsed.hostname = punycode_es6.default.toASCII(parsed.hostname);
|
|
73
63
|
} catch (er) { /**/ }
|
|
74
64
|
}
|
|
75
65
|
}
|
|
76
66
|
|
|
77
|
-
return
|
|
67
|
+
return encode.default(format.default(parsed))
|
|
78
68
|
}
|
|
79
69
|
|
|
80
|
-
function normalizeLinkText(url) {
|
|
81
|
-
|
|
70
|
+
function normalizeLinkText (url) {
|
|
71
|
+
const parsed = parse.default(url, true);
|
|
82
72
|
|
|
83
73
|
if (parsed.hostname) {
|
|
84
74
|
// Encode hostnames in urls like:
|
|
@@ -89,16 +79,15 @@ function normalizeLinkText(url) {
|
|
|
89
79
|
//
|
|
90
80
|
if (!parsed.protocol || RECODE_HOSTNAME_FOR.indexOf(parsed.protocol) >= 0) {
|
|
91
81
|
try {
|
|
92
|
-
parsed.hostname =
|
|
82
|
+
parsed.hostname = punycode_es6.default.toUnicode(parsed.hostname);
|
|
93
83
|
} catch (er) { /**/ }
|
|
94
84
|
}
|
|
95
85
|
}
|
|
96
86
|
|
|
97
87
|
// add '%' to exclude list because of https://github.com/markdown-it/markdown-it/issues/720
|
|
98
|
-
return
|
|
88
|
+
return decode.default(format.default(parsed), decode.default.defaultChars + '%')
|
|
99
89
|
}
|
|
100
90
|
|
|
101
|
-
|
|
102
91
|
/**
|
|
103
92
|
* class MarkdownIt
|
|
104
93
|
*
|
|
@@ -142,12 +131,12 @@ function normalizeLinkText(url) {
|
|
|
142
131
|
* MarkdownIt provides named presets as a convenience to quickly
|
|
143
132
|
* enable/disable active syntax rules and options for common use cases.
|
|
144
133
|
*
|
|
145
|
-
* - ["commonmark"](https://github.com/markdown-it/markdown-it/blob/master/lib/presets/commonmark.
|
|
134
|
+
* - ["commonmark"](https://github.com/markdown-it/markdown-it/blob/master/lib/presets/commonmark.mjs) -
|
|
146
135
|
* configures parser to strict [CommonMark](http://commonmark.org/) mode.
|
|
147
|
-
* - [default](https://github.com/markdown-it/markdown-it/blob/master/lib/presets/default.
|
|
136
|
+
* - [default](https://github.com/markdown-it/markdown-it/blob/master/lib/presets/default.mjs) -
|
|
148
137
|
* similar to GFM, used when no preset name given. Enables all available rules,
|
|
149
138
|
* but still without html, typographer & autolinker.
|
|
150
|
-
* - ["zero"](https://github.com/markdown-it/markdown-it/blob/master/lib/presets/zero.
|
|
139
|
+
* - ["zero"](https://github.com/markdown-it/markdown-it/blob/master/lib/presets/zero.mjs) -
|
|
151
140
|
* all rules disabled. Useful to quickly setup your config via `.enable()`.
|
|
152
141
|
* For example, when you need only `bold` and `italic` markup and nothing else.
|
|
153
142
|
*
|
|
@@ -164,7 +153,7 @@ function normalizeLinkText(url) {
|
|
|
164
153
|
* Can be useful for external highlighters.
|
|
165
154
|
* - __linkify__ - `false`. Set `true` to autoconvert URL-like text to links.
|
|
166
155
|
* - __typographer__ - `false`. Set `true` to enable [some language-neutral
|
|
167
|
-
* replacement](https://github.com/markdown-it/markdown-it/blob/master/lib/rules_core/replacements.
|
|
156
|
+
* replacement](https://github.com/markdown-it/markdown-it/blob/master/lib/rules_core/replacements.mjs) +
|
|
168
157
|
* quotes beautification (smartquotes).
|
|
169
158
|
* - __quotes__ - `“”‘’`, String or Array. Double + single quotes replacement
|
|
170
159
|
* pairs, when typographer enabled and smartquotes on. For example, you can
|
|
@@ -210,7 +199,7 @@ function normalizeLinkText(url) {
|
|
|
210
199
|
* });
|
|
211
200
|
* ```
|
|
212
201
|
*
|
|
213
|
-
* Or with full wrapper override (if you need assign class to `<pre>`):
|
|
202
|
+
* Or with full wrapper override (if you need assign class to `<pre>` or `<code>`):
|
|
214
203
|
*
|
|
215
204
|
* ```javascript
|
|
216
205
|
* var hljs = require('highlight.js') // https://highlightjs.org/
|
|
@@ -220,21 +209,21 @@ function normalizeLinkText(url) {
|
|
|
220
209
|
* highlight: function (str, lang) {
|
|
221
210
|
* if (lang && hljs.getLanguage(lang)) {
|
|
222
211
|
* try {
|
|
223
|
-
* return '<pre class="hljs"
|
|
212
|
+
* return '<pre><code class="hljs">' +
|
|
224
213
|
* hljs.highlight(str, { language: lang, ignoreIllegals: true }).value +
|
|
225
214
|
* '</code></pre>';
|
|
226
215
|
* } catch (__) {}
|
|
227
216
|
* }
|
|
228
217
|
*
|
|
229
|
-
* return '<pre class="hljs"
|
|
218
|
+
* return '<pre><code class="hljs">' + md.utils.escapeHtml(str) + '</code></pre>';
|
|
230
219
|
* }
|
|
231
220
|
* });
|
|
232
221
|
* ```
|
|
233
222
|
*
|
|
234
223
|
**/
|
|
235
|
-
function MarkdownIt(presetName, options) {
|
|
224
|
+
function MarkdownIt (presetName, options) {
|
|
236
225
|
if (!(this instanceof MarkdownIt)) {
|
|
237
|
-
return new MarkdownIt(presetName, options)
|
|
226
|
+
return new MarkdownIt(presetName, options)
|
|
238
227
|
}
|
|
239
228
|
|
|
240
229
|
if (!options) {
|
|
@@ -251,7 +240,7 @@ function MarkdownIt(presetName, options) {
|
|
|
251
240
|
* writing plugins. For simple rules control use [[MarkdownIt.disable]] and
|
|
252
241
|
* [[MarkdownIt.enable]].
|
|
253
242
|
**/
|
|
254
|
-
this.inline = new
|
|
243
|
+
this.inline = new parser_inline.default();
|
|
255
244
|
|
|
256
245
|
/**
|
|
257
246
|
* MarkdownIt#block -> ParserBlock
|
|
@@ -260,7 +249,7 @@ function MarkdownIt(presetName, options) {
|
|
|
260
249
|
* writing plugins. For simple rules control use [[MarkdownIt.disable]] and
|
|
261
250
|
* [[MarkdownIt.enable]].
|
|
262
251
|
**/
|
|
263
|
-
this.block = new
|
|
252
|
+
this.block = new parser_block.default();
|
|
264
253
|
|
|
265
254
|
/**
|
|
266
255
|
* MarkdownIt#core -> Core
|
|
@@ -269,7 +258,7 @@ function MarkdownIt(presetName, options) {
|
|
|
269
258
|
* writing plugins. For simple rules control use [[MarkdownIt.disable]] and
|
|
270
259
|
* [[MarkdownIt.enable]].
|
|
271
260
|
**/
|
|
272
|
-
this.core = new
|
|
261
|
+
this.core = new parser_core.default();
|
|
273
262
|
|
|
274
263
|
/**
|
|
275
264
|
* MarkdownIt#renderer -> Renderer
|
|
@@ -290,18 +279,18 @@ function MarkdownIt(presetName, options) {
|
|
|
290
279
|
* md.renderer.rules['my_token'] = myToken
|
|
291
280
|
* ```
|
|
292
281
|
*
|
|
293
|
-
* See [[Renderer]] docs and [source code](https://github.com/markdown-it/markdown-it/blob/master/lib/renderer.
|
|
282
|
+
* See [[Renderer]] docs and [source code](https://github.com/markdown-it/markdown-it/blob/master/lib/renderer.mjs).
|
|
294
283
|
**/
|
|
295
|
-
this.renderer = new
|
|
284
|
+
this.renderer = new renderer.default();
|
|
296
285
|
|
|
297
286
|
/**
|
|
298
287
|
* MarkdownIt#linkify -> LinkifyIt
|
|
299
288
|
*
|
|
300
289
|
* [linkify-it](https://github.com/markdown-it/linkify-it) instance.
|
|
301
|
-
* Used by [linkify](https://github.com/markdown-it/markdown-it/blob/master/lib/rules_core/linkify.
|
|
290
|
+
* Used by [linkify](https://github.com/markdown-it/markdown-it/blob/master/lib/rules_core/linkify.mjs)
|
|
302
291
|
* rule.
|
|
303
292
|
**/
|
|
304
|
-
this.linkify = new
|
|
293
|
+
this.linkify = new index.default();
|
|
305
294
|
|
|
306
295
|
/**
|
|
307
296
|
* MarkdownIt#validateLink(url) -> Boolean
|
|
@@ -335,14 +324,13 @@ function MarkdownIt(presetName, options) {
|
|
|
335
324
|
**/
|
|
336
325
|
this.normalizeLinkText = normalizeLinkText;
|
|
337
326
|
|
|
338
|
-
|
|
339
327
|
// Expose utils & helpers for easy acces from plugins
|
|
340
328
|
|
|
341
329
|
/**
|
|
342
330
|
* MarkdownIt#utils -> utils
|
|
343
331
|
*
|
|
344
332
|
* Assorted utility functions, useful to write plugins. See details
|
|
345
|
-
* [here](https://github.com/markdown-it/markdown-it/blob/master/lib/common/utils.
|
|
333
|
+
* [here](https://github.com/markdown-it/markdown-it/blob/master/lib/common/utils.mjs).
|
|
346
334
|
**/
|
|
347
335
|
this.utils = utils;
|
|
348
336
|
|
|
@@ -352,8 +340,7 @@ function MarkdownIt(presetName, options) {
|
|
|
352
340
|
* Link components parser functions, useful to write plugins. See details
|
|
353
341
|
* [here](https://github.com/markdown-it/markdown-it/blob/master/lib/helpers).
|
|
354
342
|
**/
|
|
355
|
-
this.helpers = utils.assign({},
|
|
356
|
-
|
|
343
|
+
this.helpers = utils.assign({}, index$1);
|
|
357
344
|
|
|
358
345
|
this.options = {};
|
|
359
346
|
this.configure(presetName);
|
|
@@ -361,7 +348,6 @@ function MarkdownIt(presetName, options) {
|
|
|
361
348
|
if (options) { this.set(options); }
|
|
362
349
|
}
|
|
363
350
|
|
|
364
|
-
|
|
365
351
|
/** chainable
|
|
366
352
|
* MarkdownIt.set(options)
|
|
367
353
|
*
|
|
@@ -383,10 +369,9 @@ function MarkdownIt(presetName, options) {
|
|
|
383
369
|
**/
|
|
384
370
|
MarkdownIt.prototype.set = function (options) {
|
|
385
371
|
utils.assign(this.options, options);
|
|
386
|
-
return this
|
|
372
|
+
return this
|
|
387
373
|
};
|
|
388
374
|
|
|
389
|
-
|
|
390
375
|
/** chainable, internal
|
|
391
376
|
* MarkdownIt.configure(presets)
|
|
392
377
|
*
|
|
@@ -398,15 +383,15 @@ MarkdownIt.prototype.set = function (options) {
|
|
|
398
383
|
* will give better compatibility with next versions.
|
|
399
384
|
**/
|
|
400
385
|
MarkdownIt.prototype.configure = function (presets) {
|
|
401
|
-
|
|
386
|
+
const self = this;
|
|
402
387
|
|
|
403
388
|
if (utils.isString(presets)) {
|
|
404
|
-
presetName = presets;
|
|
389
|
+
const presetName = presets;
|
|
405
390
|
presets = config[presetName];
|
|
406
|
-
if (!presets) { throw new Error('Wrong `markdown-it` preset "' + presetName + '", check name')
|
|
391
|
+
if (!presets) { throw new Error('Wrong `markdown-it` preset "' + presetName + '", check name') }
|
|
407
392
|
}
|
|
408
393
|
|
|
409
|
-
if (!presets) { throw new Error('Wrong `markdown-it` preset, can\'t be empty')
|
|
394
|
+
if (!presets) { throw new Error('Wrong `markdown-it` preset, can\'t be empty') }
|
|
410
395
|
|
|
411
396
|
if (presets.options) { self.set(presets.options); }
|
|
412
397
|
|
|
@@ -420,10 +405,9 @@ MarkdownIt.prototype.configure = function (presets) {
|
|
|
420
405
|
}
|
|
421
406
|
});
|
|
422
407
|
}
|
|
423
|
-
return this
|
|
408
|
+
return this
|
|
424
409
|
};
|
|
425
410
|
|
|
426
|
-
|
|
427
411
|
/** chainable
|
|
428
412
|
* MarkdownIt.enable(list, ignoreInvalid)
|
|
429
413
|
* - list (String|Array): rule name or list of rule names to enable
|
|
@@ -442,26 +426,25 @@ MarkdownIt.prototype.configure = function (presets) {
|
|
|
442
426
|
* ```
|
|
443
427
|
**/
|
|
444
428
|
MarkdownIt.prototype.enable = function (list, ignoreInvalid) {
|
|
445
|
-
|
|
429
|
+
let result = [];
|
|
446
430
|
|
|
447
|
-
if (!Array.isArray(list)) { list = [
|
|
431
|
+
if (!Array.isArray(list)) { list = [list]; }
|
|
448
432
|
|
|
449
|
-
[
|
|
433
|
+
['core', 'block', 'inline'].forEach(function (chain) {
|
|
450
434
|
result = result.concat(this[chain].ruler.enable(list, true));
|
|
451
435
|
}, this);
|
|
452
436
|
|
|
453
437
|
result = result.concat(this.inline.ruler2.enable(list, true));
|
|
454
438
|
|
|
455
|
-
|
|
439
|
+
const missed = list.filter(function (name) { return result.indexOf(name) < 0 });
|
|
456
440
|
|
|
457
441
|
if (missed.length && !ignoreInvalid) {
|
|
458
|
-
throw new Error('MarkdownIt. Failed to enable unknown rule(s): ' + missed)
|
|
442
|
+
throw new Error('MarkdownIt. Failed to enable unknown rule(s): ' + missed)
|
|
459
443
|
}
|
|
460
444
|
|
|
461
|
-
return this
|
|
445
|
+
return this
|
|
462
446
|
};
|
|
463
447
|
|
|
464
|
-
|
|
465
448
|
/** chainable
|
|
466
449
|
* MarkdownIt.disable(list, ignoreInvalid)
|
|
467
450
|
* - list (String|Array): rule name or list of rule names to disable.
|
|
@@ -470,25 +453,24 @@ MarkdownIt.prototype.enable = function (list, ignoreInvalid) {
|
|
|
470
453
|
* The same as [[MarkdownIt.enable]], but turn specified rules off.
|
|
471
454
|
**/
|
|
472
455
|
MarkdownIt.prototype.disable = function (list, ignoreInvalid) {
|
|
473
|
-
|
|
456
|
+
let result = [];
|
|
474
457
|
|
|
475
|
-
if (!Array.isArray(list)) { list = [
|
|
458
|
+
if (!Array.isArray(list)) { list = [list]; }
|
|
476
459
|
|
|
477
|
-
[
|
|
460
|
+
['core', 'block', 'inline'].forEach(function (chain) {
|
|
478
461
|
result = result.concat(this[chain].ruler.disable(list, true));
|
|
479
462
|
}, this);
|
|
480
463
|
|
|
481
464
|
result = result.concat(this.inline.ruler2.disable(list, true));
|
|
482
465
|
|
|
483
|
-
|
|
466
|
+
const missed = list.filter(function (name) { return result.indexOf(name) < 0 });
|
|
484
467
|
|
|
485
468
|
if (missed.length && !ignoreInvalid) {
|
|
486
|
-
throw new Error('MarkdownIt. Failed to disable unknown rule(s): ' + missed)
|
|
469
|
+
throw new Error('MarkdownIt. Failed to disable unknown rule(s): ' + missed)
|
|
487
470
|
}
|
|
488
|
-
return this
|
|
471
|
+
return this
|
|
489
472
|
};
|
|
490
473
|
|
|
491
|
-
|
|
492
474
|
/** chainable
|
|
493
475
|
* MarkdownIt.use(plugin, params)
|
|
494
476
|
*
|
|
@@ -506,12 +488,11 @@ MarkdownIt.prototype.disable = function (list, ignoreInvalid) {
|
|
|
506
488
|
* ```
|
|
507
489
|
**/
|
|
508
490
|
MarkdownIt.prototype.use = function (plugin /*, params, ... */) {
|
|
509
|
-
|
|
491
|
+
const args = [this].concat(Array.prototype.slice.call(arguments, 1));
|
|
510
492
|
plugin.apply(plugin, args);
|
|
511
|
-
return this
|
|
493
|
+
return this
|
|
512
494
|
};
|
|
513
495
|
|
|
514
|
-
|
|
515
496
|
/** internal
|
|
516
497
|
* MarkdownIt.parse(src, env) -> Array
|
|
517
498
|
* - src (String): source string
|
|
@@ -529,17 +510,16 @@ MarkdownIt.prototype.use = function (plugin /*, params, ... */) {
|
|
|
529
510
|
**/
|
|
530
511
|
MarkdownIt.prototype.parse = function (src, env) {
|
|
531
512
|
if (typeof src !== 'string') {
|
|
532
|
-
throw new Error('Input data should be a String')
|
|
513
|
+
throw new Error('Input data should be a String')
|
|
533
514
|
}
|
|
534
515
|
|
|
535
|
-
|
|
516
|
+
const state = new this.core.State(src, this, env);
|
|
536
517
|
|
|
537
518
|
this.core.process(state);
|
|
538
519
|
|
|
539
|
-
return state.tokens
|
|
520
|
+
return state.tokens
|
|
540
521
|
};
|
|
541
522
|
|
|
542
|
-
|
|
543
523
|
/**
|
|
544
524
|
* MarkdownIt.render(src [, env]) -> String
|
|
545
525
|
* - src (String): source string
|
|
@@ -554,10 +534,9 @@ MarkdownIt.prototype.parse = function (src, env) {
|
|
|
554
534
|
MarkdownIt.prototype.render = function (src, env) {
|
|
555
535
|
env = env || {};
|
|
556
536
|
|
|
557
|
-
return this.renderer.render(this.parse(src, env), this.options, env)
|
|
537
|
+
return this.renderer.render(this.parse(src, env), this.options, env)
|
|
558
538
|
};
|
|
559
539
|
|
|
560
|
-
|
|
561
540
|
/** internal
|
|
562
541
|
* MarkdownIt.parseInline(src, env) -> Array
|
|
563
542
|
* - src (String): source string
|
|
@@ -568,15 +547,14 @@ MarkdownIt.prototype.render = function (src, env) {
|
|
|
568
547
|
* tokens in `children` property. Also updates `env` object.
|
|
569
548
|
**/
|
|
570
549
|
MarkdownIt.prototype.parseInline = function (src, env) {
|
|
571
|
-
|
|
550
|
+
const state = new this.core.State(src, this, env);
|
|
572
551
|
|
|
573
552
|
state.inlineMode = true;
|
|
574
553
|
this.core.process(state);
|
|
575
554
|
|
|
576
|
-
return state.tokens
|
|
555
|
+
return state.tokens
|
|
577
556
|
};
|
|
578
557
|
|
|
579
|
-
|
|
580
558
|
/**
|
|
581
559
|
* MarkdownIt.renderInline(src [, env]) -> String
|
|
582
560
|
* - src (String): source string
|
|
@@ -588,11 +566,8 @@ MarkdownIt.prototype.parseInline = function (src, env) {
|
|
|
588
566
|
MarkdownIt.prototype.renderInline = function (src, env) {
|
|
589
567
|
env = env || {};
|
|
590
568
|
|
|
591
|
-
return this.renderer.render(this.parseInline(src, env), this.options, env)
|
|
569
|
+
return this.renderer.render(this.parseInline(src, env), this.options, env)
|
|
592
570
|
};
|
|
593
571
|
|
|
594
|
-
|
|
595
|
-
var lib = MarkdownIt;
|
|
596
|
-
|
|
597
|
-
exports.lib = lib;
|
|
572
|
+
exports.default = MarkdownIt;
|
|
598
573
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../../../node_modules/.pnpm/markdown-it@14.1.0/node_modules/markdown-it/lib/index.mjs"],"sourcesContent":["// Main parser class\n\nimport * as utils from './common/utils.mjs'\nimport * as helpers from './helpers/index.mjs'\nimport Renderer from './renderer.mjs'\nimport ParserCore from './parser_core.mjs'\nimport ParserBlock from './parser_block.mjs'\nimport ParserInline from './parser_inline.mjs'\nimport LinkifyIt from 'linkify-it'\nimport * as mdurl from 'mdurl'\nimport punycode from 'punycode.js'\n\nimport cfg_default from './presets/default.mjs'\nimport cfg_zero from './presets/zero.mjs'\nimport cfg_commonmark from './presets/commonmark.mjs'\n\nconst config = {\n default: cfg_default,\n zero: cfg_zero,\n commonmark: cfg_commonmark\n}\n\n//\n// This validator can prohibit more than really needed to prevent XSS. It's a\n// tradeoff to keep code simple and to be secure by default.\n//\n// If you need different setup - override validator method as you wish. Or\n// replace it with dummy function and use external sanitizer.\n//\n\nconst BAD_PROTO_RE = /^(vbscript|javascript|file|data):/\nconst GOOD_DATA_RE = /^data:image\\/(gif|png|jpeg|webp);/\n\nfunction validateLink (url) {\n // url should be normalized at this point, and existing entities are decoded\n const str = url.trim().toLowerCase()\n\n return BAD_PROTO_RE.test(str) ? GOOD_DATA_RE.test(str) : true\n}\n\nconst RECODE_HOSTNAME_FOR = ['http:', 'https:', 'mailto:']\n\nfunction normalizeLink (url) {\n const parsed = mdurl.parse(url, true)\n\n if (parsed.hostname) {\n // Encode hostnames in urls like:\n // `http://host/`, `https://host/`, `mailto:user@host`, `//host/`\n //\n // We don't encode unknown schemas, because it's likely that we encode\n // something we shouldn't (e.g. `skype:name` treated as `skype:host`)\n //\n if (!parsed.protocol || RECODE_HOSTNAME_FOR.indexOf(parsed.protocol) >= 0) {\n try {\n parsed.hostname = punycode.toASCII(parsed.hostname)\n } catch (er) { /**/ }\n }\n }\n\n return mdurl.encode(mdurl.format(parsed))\n}\n\nfunction normalizeLinkText (url) {\n const parsed = mdurl.parse(url, true)\n\n if (parsed.hostname) {\n // Encode hostnames in urls like:\n // `http://host/`, `https://host/`, `mailto:user@host`, `//host/`\n //\n // We don't encode unknown schemas, because it's likely that we encode\n // something we shouldn't (e.g. `skype:name` treated as `skype:host`)\n //\n if (!parsed.protocol || RECODE_HOSTNAME_FOR.indexOf(parsed.protocol) >= 0) {\n try {\n parsed.hostname = punycode.toUnicode(parsed.hostname)\n } catch (er) { /**/ }\n }\n }\n\n // add '%' to exclude list because of https://github.com/markdown-it/markdown-it/issues/720\n return mdurl.decode(mdurl.format(parsed), mdurl.decode.defaultChars + '%')\n}\n\n/**\n * class MarkdownIt\n *\n * Main parser/renderer class.\n *\n * ##### Usage\n *\n * ```javascript\n * // node.js, \"classic\" way:\n * var MarkdownIt = require('markdown-it'),\n * md = new MarkdownIt();\n * var result = md.render('# markdown-it rulezz!');\n *\n * // node.js, the same, but with sugar:\n * var md = require('markdown-it')();\n * var result = md.render('# markdown-it rulezz!');\n *\n * // browser without AMD, added to \"window\" on script load\n * // Note, there are no dash.\n * var md = window.markdownit();\n * var result = md.render('# markdown-it rulezz!');\n * ```\n *\n * Single line rendering, without paragraph wrap:\n *\n * ```javascript\n * var md = require('markdown-it')();\n * var result = md.renderInline('__markdown-it__ rulezz!');\n * ```\n **/\n\n/**\n * new MarkdownIt([presetName, options])\n * - presetName (String): optional, `commonmark` / `zero`\n * - options (Object)\n *\n * Creates parser instanse with given config. Can be called without `new`.\n *\n * ##### presetName\n *\n * MarkdownIt provides named presets as a convenience to quickly\n * enable/disable active syntax rules and options for common use cases.\n *\n * - [\"commonmark\"](https://github.com/markdown-it/markdown-it/blob/master/lib/presets/commonmark.mjs) -\n * configures parser to strict [CommonMark](http://commonmark.org/) mode.\n * - [default](https://github.com/markdown-it/markdown-it/blob/master/lib/presets/default.mjs) -\n * similar to GFM, used when no preset name given. Enables all available rules,\n * but still without html, typographer & autolinker.\n * - [\"zero\"](https://github.com/markdown-it/markdown-it/blob/master/lib/presets/zero.mjs) -\n * all rules disabled. Useful to quickly setup your config via `.enable()`.\n * For example, when you need only `bold` and `italic` markup and nothing else.\n *\n * ##### options:\n *\n * - __html__ - `false`. Set `true` to enable HTML tags in source. Be careful!\n * That's not safe! You may need external sanitizer to protect output from XSS.\n * It's better to extend features via plugins, instead of enabling HTML.\n * - __xhtmlOut__ - `false`. Set `true` to add '/' when closing single tags\n * (`<br />`). This is needed only for full CommonMark compatibility. In real\n * world you will need HTML output.\n * - __breaks__ - `false`. Set `true` to convert `\\n` in paragraphs into `<br>`.\n * - __langPrefix__ - `language-`. CSS language class prefix for fenced blocks.\n * Can be useful for external highlighters.\n * - __linkify__ - `false`. Set `true` to autoconvert URL-like text to links.\n * - __typographer__ - `false`. Set `true` to enable [some language-neutral\n * replacement](https://github.com/markdown-it/markdown-it/blob/master/lib/rules_core/replacements.mjs) +\n * quotes beautification (smartquotes).\n * - __quotes__ - `“”‘’`, String or Array. Double + single quotes replacement\n * pairs, when typographer enabled and smartquotes on. For example, you can\n * use `'«»„“'` for Russian, `'„“‚‘'` for German, and\n * `['«\\xA0', '\\xA0»', '‹\\xA0', '\\xA0›']` for French (including nbsp).\n * - __highlight__ - `null`. Highlighter function for fenced code blocks.\n * Highlighter `function (str, lang)` should return escaped HTML. It can also\n * return empty string if the source was not changed and should be escaped\n * externaly. If result starts with <pre... internal wrapper is skipped.\n *\n * ##### Example\n *\n * ```javascript\n * // commonmark mode\n * var md = require('markdown-it')('commonmark');\n *\n * // default mode\n * var md = require('markdown-it')();\n *\n * // enable everything\n * var md = require('markdown-it')({\n * html: true,\n * linkify: true,\n * typographer: true\n * });\n * ```\n *\n * ##### Syntax highlighting\n *\n * ```js\n * var hljs = require('highlight.js') // https://highlightjs.org/\n *\n * var md = require('markdown-it')({\n * highlight: function (str, lang) {\n * if (lang && hljs.getLanguage(lang)) {\n * try {\n * return hljs.highlight(str, { language: lang, ignoreIllegals: true }).value;\n * } catch (__) {}\n * }\n *\n * return ''; // use external default escaping\n * }\n * });\n * ```\n *\n * Or with full wrapper override (if you need assign class to `<pre>` or `<code>`):\n *\n * ```javascript\n * var hljs = require('highlight.js') // https://highlightjs.org/\n *\n * // Actual default values\n * var md = require('markdown-it')({\n * highlight: function (str, lang) {\n * if (lang && hljs.getLanguage(lang)) {\n * try {\n * return '<pre><code class=\"hljs\">' +\n * hljs.highlight(str, { language: lang, ignoreIllegals: true }).value +\n * '</code></pre>';\n * } catch (__) {}\n * }\n *\n * return '<pre><code class=\"hljs\">' + md.utils.escapeHtml(str) + '</code></pre>';\n * }\n * });\n * ```\n *\n **/\nfunction MarkdownIt (presetName, options) {\n if (!(this instanceof MarkdownIt)) {\n return new MarkdownIt(presetName, options)\n }\n\n if (!options) {\n if (!utils.isString(presetName)) {\n options = presetName || {}\n presetName = 'default'\n }\n }\n\n /**\n * MarkdownIt#inline -> ParserInline\n *\n * Instance of [[ParserInline]]. You may need it to add new rules when\n * writing plugins. For simple rules control use [[MarkdownIt.disable]] and\n * [[MarkdownIt.enable]].\n **/\n this.inline = new ParserInline()\n\n /**\n * MarkdownIt#block -> ParserBlock\n *\n * Instance of [[ParserBlock]]. You may need it to add new rules when\n * writing plugins. For simple rules control use [[MarkdownIt.disable]] and\n * [[MarkdownIt.enable]].\n **/\n this.block = new ParserBlock()\n\n /**\n * MarkdownIt#core -> Core\n *\n * Instance of [[Core]] chain executor. You may need it to add new rules when\n * writing plugins. For simple rules control use [[MarkdownIt.disable]] and\n * [[MarkdownIt.enable]].\n **/\n this.core = new ParserCore()\n\n /**\n * MarkdownIt#renderer -> Renderer\n *\n * Instance of [[Renderer]]. Use it to modify output look. Or to add rendering\n * rules for new token types, generated by plugins.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')();\n *\n * function myToken(tokens, idx, options, env, self) {\n * //...\n * return result;\n * };\n *\n * md.renderer.rules['my_token'] = myToken\n * ```\n *\n * See [[Renderer]] docs and [source code](https://github.com/markdown-it/markdown-it/blob/master/lib/renderer.mjs).\n **/\n this.renderer = new Renderer()\n\n /**\n * MarkdownIt#linkify -> LinkifyIt\n *\n * [linkify-it](https://github.com/markdown-it/linkify-it) instance.\n * Used by [linkify](https://github.com/markdown-it/markdown-it/blob/master/lib/rules_core/linkify.mjs)\n * rule.\n **/\n this.linkify = new LinkifyIt()\n\n /**\n * MarkdownIt#validateLink(url) -> Boolean\n *\n * Link validation function. CommonMark allows too much in links. By default\n * we disable `javascript:`, `vbscript:`, `file:` schemas, and almost all `data:...` schemas\n * except some embedded image types.\n *\n * You can change this behaviour:\n *\n * ```javascript\n * var md = require('markdown-it')();\n * // enable everything\n * md.validateLink = function () { return true; }\n * ```\n **/\n this.validateLink = validateLink\n\n /**\n * MarkdownIt#normalizeLink(url) -> String\n *\n * Function used to encode link url to a machine-readable format,\n * which includes url-encoding, punycode, etc.\n **/\n this.normalizeLink = normalizeLink\n\n /**\n * MarkdownIt#normalizeLinkText(url) -> String\n *\n * Function used to decode link url to a human-readable format`\n **/\n this.normalizeLinkText = normalizeLinkText\n\n // Expose utils & helpers for easy acces from plugins\n\n /**\n * MarkdownIt#utils -> utils\n *\n * Assorted utility functions, useful to write plugins. See details\n * [here](https://github.com/markdown-it/markdown-it/blob/master/lib/common/utils.mjs).\n **/\n this.utils = utils\n\n /**\n * MarkdownIt#helpers -> helpers\n *\n * Link components parser functions, useful to write plugins. See details\n * [here](https://github.com/markdown-it/markdown-it/blob/master/lib/helpers).\n **/\n this.helpers = utils.assign({}, helpers)\n\n this.options = {}\n this.configure(presetName)\n\n if (options) { this.set(options) }\n}\n\n/** chainable\n * MarkdownIt.set(options)\n *\n * Set parser options (in the same format as in constructor). Probably, you\n * will never need it, but you can change options after constructor call.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')()\n * .set({ html: true, breaks: true })\n * .set({ typographer, true });\n * ```\n *\n * __Note:__ To achieve the best possible performance, don't modify a\n * `markdown-it` instance options on the fly. If you need multiple configurations\n * it's best to create multiple instances and initialize each with separate\n * config.\n **/\nMarkdownIt.prototype.set = function (options) {\n utils.assign(this.options, options)\n return this\n}\n\n/** chainable, internal\n * MarkdownIt.configure(presets)\n *\n * Batch load of all options and compenent settings. This is internal method,\n * and you probably will not need it. But if you will - see available presets\n * and data structure [here](https://github.com/markdown-it/markdown-it/tree/master/lib/presets)\n *\n * We strongly recommend to use presets instead of direct config loads. That\n * will give better compatibility with next versions.\n **/\nMarkdownIt.prototype.configure = function (presets) {\n const self = this\n\n if (utils.isString(presets)) {\n const presetName = presets\n presets = config[presetName]\n if (!presets) { throw new Error('Wrong `markdown-it` preset \"' + presetName + '\", check name') }\n }\n\n if (!presets) { throw new Error('Wrong `markdown-it` preset, can\\'t be empty') }\n\n if (presets.options) { self.set(presets.options) }\n\n if (presets.components) {\n Object.keys(presets.components).forEach(function (name) {\n if (presets.components[name].rules) {\n self[name].ruler.enableOnly(presets.components[name].rules)\n }\n if (presets.components[name].rules2) {\n self[name].ruler2.enableOnly(presets.components[name].rules2)\n }\n })\n }\n return this\n}\n\n/** chainable\n * MarkdownIt.enable(list, ignoreInvalid)\n * - list (String|Array): rule name or list of rule names to enable\n * - ignoreInvalid (Boolean): set `true` to ignore errors when rule not found.\n *\n * Enable list or rules. It will automatically find appropriate components,\n * containing rules with given names. If rule not found, and `ignoreInvalid`\n * not set - throws exception.\n *\n * ##### Example\n *\n * ```javascript\n * var md = require('markdown-it')()\n * .enable(['sub', 'sup'])\n * .disable('smartquotes');\n * ```\n **/\nMarkdownIt.prototype.enable = function (list, ignoreInvalid) {\n let result = []\n\n if (!Array.isArray(list)) { list = [list] }\n\n ['core', 'block', 'inline'].forEach(function (chain) {\n result = result.concat(this[chain].ruler.enable(list, true))\n }, this)\n\n result = result.concat(this.inline.ruler2.enable(list, true))\n\n const missed = list.filter(function (name) { return result.indexOf(name) < 0 })\n\n if (missed.length && !ignoreInvalid) {\n throw new Error('MarkdownIt. Failed to enable unknown rule(s): ' + missed)\n }\n\n return this\n}\n\n/** chainable\n * MarkdownIt.disable(list, ignoreInvalid)\n * - list (String|Array): rule name or list of rule names to disable.\n * - ignoreInvalid (Boolean): set `true` to ignore errors when rule not found.\n *\n * The same as [[MarkdownIt.enable]], but turn specified rules off.\n **/\nMarkdownIt.prototype.disable = function (list, ignoreInvalid) {\n let result = []\n\n if (!Array.isArray(list)) { list = [list] }\n\n ['core', 'block', 'inline'].forEach(function (chain) {\n result = result.concat(this[chain].ruler.disable(list, true))\n }, this)\n\n result = result.concat(this.inline.ruler2.disable(list, true))\n\n const missed = list.filter(function (name) { return result.indexOf(name) < 0 })\n\n if (missed.length && !ignoreInvalid) {\n throw new Error('MarkdownIt. Failed to disable unknown rule(s): ' + missed)\n }\n return this\n}\n\n/** chainable\n * MarkdownIt.use(plugin, params)\n *\n * Load specified plugin with given params into current parser instance.\n * It's just a sugar to call `plugin(md, params)` with curring.\n *\n * ##### Example\n *\n * ```javascript\n * var iterator = require('markdown-it-for-inline');\n * var md = require('markdown-it')()\n * .use(iterator, 'foo_replace', 'text', function (tokens, idx) {\n * tokens[idx].content = tokens[idx].content.replace(/foo/g, 'bar');\n * });\n * ```\n **/\nMarkdownIt.prototype.use = function (plugin /*, params, ... */) {\n const args = [this].concat(Array.prototype.slice.call(arguments, 1))\n plugin.apply(plugin, args)\n return this\n}\n\n/** internal\n * MarkdownIt.parse(src, env) -> Array\n * - src (String): source string\n * - env (Object): environment sandbox\n *\n * Parse input string and return list of block tokens (special token type\n * \"inline\" will contain list of inline tokens). You should not call this\n * method directly, until you write custom renderer (for example, to produce\n * AST).\n *\n * `env` is used to pass data between \"distributed\" rules and return additional\n * metadata like reference info, needed for the renderer. It also can be used to\n * inject data in specific cases. Usually, you will be ok to pass `{}`,\n * and then pass updated object to renderer.\n **/\nMarkdownIt.prototype.parse = function (src, env) {\n if (typeof src !== 'string') {\n throw new Error('Input data should be a String')\n }\n\n const state = new this.core.State(src, this, env)\n\n this.core.process(state)\n\n return state.tokens\n}\n\n/**\n * MarkdownIt.render(src [, env]) -> String\n * - src (String): source string\n * - env (Object): environment sandbox\n *\n * Render markdown string into html. It does all magic for you :).\n *\n * `env` can be used to inject additional metadata (`{}` by default).\n * But you will not need it with high probability. See also comment\n * in [[MarkdownIt.parse]].\n **/\nMarkdownIt.prototype.render = function (src, env) {\n env = env || {}\n\n return this.renderer.render(this.parse(src, env), this.options, env)\n}\n\n/** internal\n * MarkdownIt.parseInline(src, env) -> Array\n * - src (String): source string\n * - env (Object): environment sandbox\n *\n * The same as [[MarkdownIt.parse]] but skip all block rules. It returns the\n * block tokens list with the single `inline` element, containing parsed inline\n * tokens in `children` property. Also updates `env` object.\n **/\nMarkdownIt.prototype.parseInline = function (src, env) {\n const state = new this.core.State(src, this, env)\n\n state.inlineMode = true\n this.core.process(state)\n\n return state.tokens\n}\n\n/**\n * MarkdownIt.renderInline(src [, env]) -> String\n * - src (String): source string\n * - env (Object): environment sandbox\n *\n * Similar to [[MarkdownIt.render]] but for single paragraph content. Result\n * will NOT be wrapped into `<p>` tags.\n **/\nMarkdownIt.prototype.renderInline = function (src, env) {\n env = env || {}\n\n return this.renderer.render(this.parseInline(src, env), this.options, env)\n}\n\nexport default MarkdownIt\n"],"names":["cfg_default","cfg_zero","cfg_commonmark","mdurl.parse","punycode","mdurl.encode","mdurl.format","mdurl.decode","utils.isString","ParserInline","ParserBlock","ParserCore","Renderer","LinkifyIt","utils.assign","helpers"],"mappings":";;;;;;;;;;;;;;;;;;;;AAAA;AACA;AAcA;AACA,MAAM,MAAM,GAAG;AACf,EAAE,OAAO,EAAEA,gBAAW;AACtB,EAAE,IAAI,EAAEC,YAAQ;AAChB,EAAE,UAAU,EAAEC,kBAAc;AAC5B,EAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,MAAM,YAAY,GAAG,oCAAmC;AACxD,MAAM,YAAY,GAAG,oCAAmC;AACxD;AACA,SAAS,YAAY,EAAE,GAAG,EAAE;AAC5B;AACA,EAAE,MAAM,GAAG,GAAG,GAAG,CAAC,IAAI,EAAE,CAAC,WAAW,GAAE;AACtC;AACA,EAAE,OAAO,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,YAAY,CAAC,IAAI,CAAC,GAAG,CAAC,GAAG,IAAI;AAC/D,CAAC;AACD;AACA,MAAM,mBAAmB,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAC;AAC1D;AACA,SAAS,aAAa,EAAE,GAAG,EAAE;AAC7B,EAAE,MAAM,MAAM,GAAGC,aAAW,CAAC,GAAG,EAAE,IAAI,EAAC;AACvC;AACA,EAAE,IAAI,MAAM,CAAC,QAAQ,EAAE;AACvB;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,IAAI,CAAC,MAAM,CAAC,QAAQ,IAAI,mBAAmB,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;AAC/E,MAAM,IAAI;AACV,QAAQ,MAAM,CAAC,QAAQ,GAAGC,oBAAQ,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,EAAC;AAC3D,OAAO,CAAC,OAAO,EAAE,EAAE,QAAQ;AAC3B,KAAK;AACL,GAAG;AACH;AACA,EAAE,OAAOC,cAAY,CAACC,cAAY,CAAC,MAAM,CAAC,CAAC;AAC3C,CAAC;AACD;AACA,SAAS,iBAAiB,EAAE,GAAG,EAAE;AACjC,EAAE,MAAM,MAAM,GAAGH,aAAW,CAAC,GAAG,EAAE,IAAI,EAAC;AACvC;AACA,EAAE,IAAI,MAAM,CAAC,QAAQ,EAAE;AACvB;AACA;AACA;AACA;AACA;AACA;AACA,IAAI,IAAI,CAAC,MAAM,CAAC,QAAQ,IAAI,mBAAmB,CAAC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;AAC/E,MAAM,IAAI;AACV,QAAQ,MAAM,CAAC,QAAQ,GAAGC,oBAAQ,CAAC,SAAS,CAAC,MAAM,CAAC,QAAQ,EAAC;AAC7D,OAAO,CAAC,OAAO,EAAE,EAAE,QAAQ;AAC3B,KAAK;AACL,GAAG;AACH;AACA;AACA,EAAE,OAAOG,cAAY,CAACD,cAAY,CAAC,MAAM,CAAC,EAAEC,cAAY,CAAC,YAAY,GAAG,GAAG,CAAC;AAC5E,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,UAAU,EAAE,UAAU,EAAE,OAAO,EAAE;AAC1C,EAAE,IAAI,EAAE,IAAI,YAAY,UAAU,CAAC,EAAE;AACrC,IAAI,OAAO,IAAI,UAAU,CAAC,UAAU,EAAE,OAAO,CAAC;AAC9C,GAAG;AACH;AACA,EAAE,IAAI,CAAC,OAAO,EAAE;AAChB,IAAI,IAAI,CAACC,cAAc,CAAC,UAAU,CAAC,EAAE;AACrC,MAAM,OAAO,GAAG,UAAU,IAAI,GAAE;AAChC,MAAM,UAAU,GAAG,UAAS;AAC5B,KAAK;AACL,GAAG;AACH;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,IAAI,CAAC,MAAM,GAAG,IAAIC,qBAAY,GAAE;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,IAAI,CAAC,KAAK,GAAG,IAAIC,oBAAW,GAAE;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,IAAI,CAAC,IAAI,GAAG,IAAIC,mBAAU,GAAE;AAC9B;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,IAAI,CAAC,QAAQ,GAAG,IAAIC,gBAAQ,GAAE;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,IAAI,CAAC,OAAO,GAAG,IAAIC,aAAS,GAAE;AAChC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,IAAI,CAAC,YAAY,GAAG,aAAY;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,IAAI,CAAC,aAAa,GAAG,cAAa;AACpC;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,IAAI,CAAC,iBAAiB,GAAG,kBAAiB;AAC5C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,IAAI,CAAC,KAAK,GAAG,MAAK;AACpB;AACA;AACA;AACA;AACA;AACA;AACA;AACA,EAAE,IAAI,CAAC,OAAO,GAAGC,YAAY,CAAC,EAAE,EAAEC,OAAO,EAAC;AAC1C;AACA,EAAE,IAAI,CAAC,OAAO,GAAG,GAAE;AACnB,EAAE,IAAI,CAAC,SAAS,CAAC,UAAU,EAAC;AAC5B;AACA,EAAE,IAAI,OAAO,EAAE,EAAE,IAAI,CAAC,GAAG,CAAC,OAAO,EAAC,EAAE;AACpC,CAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,CAAC,SAAS,CAAC,GAAG,GAAG,UAAU,OAAO,EAAE;AAC9C,EAAED,YAAY,CAAC,IAAI,CAAC,OAAO,EAAE,OAAO,EAAC;AACrC,EAAE,OAAO,IAAI;AACb,EAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,CAAC,SAAS,CAAC,SAAS,GAAG,UAAU,OAAO,EAAE;AACpD,EAAE,MAAM,IAAI,GAAG,KAAI;AACnB;AACA,EAAE,IAAIN,cAAc,CAAC,OAAO,CAAC,EAAE;AAC/B,IAAI,MAAM,UAAU,GAAG,QAAO;AAC9B,IAAI,OAAO,GAAG,MAAM,CAAC,UAAU,EAAC;AAChC,IAAI,IAAI,CAAC,OAAO,EAAE,EAAE,MAAM,IAAI,KAAK,CAAC,8BAA8B,GAAG,UAAU,GAAG,eAAe,CAAC,EAAE;AACpG,GAAG;AACH;AACA,EAAE,IAAI,CAAC,OAAO,EAAE,EAAE,MAAM,IAAI,KAAK,CAAC,6CAA6C,CAAC,EAAE;AAClF;AACA,EAAE,IAAI,OAAO,CAAC,OAAO,EAAE,EAAE,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,EAAC,EAAE;AACpD;AACA,EAAE,IAAI,OAAO,CAAC,UAAU,EAAE;AAC1B,IAAI,MAAM,CAAC,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,CAAC,OAAO,CAAC,UAAU,IAAI,EAAE;AAC5D,MAAM,IAAI,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,KAAK,EAAE;AAC1C,QAAQ,IAAI,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,UAAU,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,KAAK,EAAC;AACnE,OAAO;AACP,MAAM,IAAI,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,MAAM,EAAE;AAC3C,QAAQ,IAAI,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,UAAU,CAAC,OAAO,CAAC,UAAU,CAAC,IAAI,CAAC,CAAC,MAAM,EAAC;AACrE,OAAO;AACP,KAAK,EAAC;AACN,GAAG;AACH,EAAE,OAAO,IAAI;AACb,EAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,CAAC,SAAS,CAAC,MAAM,GAAG,UAAU,IAAI,EAAE,aAAa,EAAE;AAC7D,EAAE,IAAI,MAAM,GAAG,GAAE;AACjB;AACA,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,GAAG,CAAC,IAAI,EAAC,EAAE;AAC7C;AACA,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC,OAAO,CAAC,UAAU,KAAK,EAAE;AACvD,IAAI,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,EAAC;AAChE,GAAG,EAAE,IAAI,EAAC;AACV;AACA,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,EAAC;AAC/D;AACA,EAAE,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,UAAU,IAAI,EAAE,EAAE,OAAO,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,EAAC;AACjF;AACA,EAAE,IAAI,MAAM,CAAC,MAAM,IAAI,CAAC,aAAa,EAAE;AACvC,IAAI,MAAM,IAAI,KAAK,CAAC,gDAAgD,GAAG,MAAM,CAAC;AAC9E,GAAG;AACH;AACA,EAAE,OAAO,IAAI;AACb,EAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,CAAC,SAAS,CAAC,OAAO,GAAG,UAAU,IAAI,EAAE,aAAa,EAAE;AAC9D,EAAE,IAAI,MAAM,GAAG,GAAE;AACjB;AACA,EAAE,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,EAAE,EAAE,IAAI,GAAG,CAAC,IAAI,EAAC,EAAE;AAC7C;AACA,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,CAAC,CAAC,OAAO,CAAC,UAAU,KAAK,EAAE;AACvD,IAAI,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,EAAC;AACjE,GAAG,EAAE,IAAI,EAAC;AACV;AACA,EAAE,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,EAAE,IAAI,CAAC,EAAC;AAChE;AACA,EAAE,MAAM,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,UAAU,IAAI,EAAE,EAAE,OAAO,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,EAAC;AACjF;AACA,EAAE,IAAI,MAAM,CAAC,MAAM,IAAI,CAAC,aAAa,EAAE;AACvC,IAAI,MAAM,IAAI,KAAK,CAAC,iDAAiD,GAAG,MAAM,CAAC;AAC/E,GAAG;AACH,EAAE,OAAO,IAAI;AACb,EAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,CAAC,SAAS,CAAC,GAAG,GAAG,UAAU,MAAM,qBAAqB;AAChE,EAAE,MAAM,IAAI,GAAG,CAAC,IAAI,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC,SAAS,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,EAAE,CAAC,CAAC,EAAC;AACtE,EAAE,MAAM,CAAC,KAAK,CAAC,MAAM,EAAE,IAAI,EAAC;AAC5B,EAAE,OAAO,IAAI;AACb,EAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,CAAC,SAAS,CAAC,KAAK,GAAG,UAAU,GAAG,EAAE,GAAG,EAAE;AACjD,EAAE,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE;AAC/B,IAAI,MAAM,IAAI,KAAK,CAAC,+BAA+B,CAAC;AACpD,GAAG;AACH;AACA,EAAE,MAAM,KAAK,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,IAAI,EAAE,GAAG,EAAC;AACnD;AACA,EAAE,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,EAAC;AAC1B;AACA,EAAE,OAAO,KAAK,CAAC,MAAM;AACrB,EAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,CAAC,SAAS,CAAC,MAAM,GAAG,UAAU,GAAG,EAAE,GAAG,EAAE;AAClD,EAAE,GAAG,GAAG,GAAG,IAAI,GAAE;AACjB;AACA,EAAE,OAAO,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,IAAI,CAAC,OAAO,EAAE,GAAG,CAAC;AACtE,EAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,CAAC,SAAS,CAAC,WAAW,GAAG,UAAU,GAAG,EAAE,GAAG,EAAE;AACvD,EAAE,MAAM,KAAK,GAAG,IAAI,IAAI,CAAC,IAAI,CAAC,KAAK,CAAC,GAAG,EAAE,IAAI,EAAE,GAAG,EAAC;AACnD;AACA,EAAE,KAAK,CAAC,UAAU,GAAG,KAAI;AACzB,EAAE,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,KAAK,EAAC;AAC1B;AACA,EAAE,OAAO,KAAK,CAAC,MAAM;AACrB,EAAC;AACD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,UAAU,CAAC,SAAS,CAAC,YAAY,GAAG,UAAU,GAAG,EAAE,GAAG,EAAE;AACxD,EAAE,GAAG,GAAG,GAAG,IAAI,GAAE;AACjB;AACA,EAAE,OAAO,IAAI,CAAC,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAC,WAAW,CAAC,GAAG,EAAE,GAAG,CAAC,EAAE,IAAI,CAAC,OAAO,EAAE,GAAG,CAAC;AAC5E;;;;","x_google_ignoreList":[0]}
|