@touchvue/chat 1.0.0-beta.1
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 -0
- package/es/_virtual/_commonjsHelpers.mjs +6 -0
- package/es/_virtual/_commonjsHelpers.mjs.map +1 -0
- package/es/_virtual/_plugin-vue_export-helper.mjs +10 -0
- package/es/_virtual/_plugin-vue_export-helper.mjs.map +1 -0
- package/es/_virtual/emphasis.mjs +4 -0
- package/es/_virtual/emphasis.mjs.map +1 -0
- package/es/_virtual/html_re.mjs +4 -0
- package/es/_virtual/html_re.mjs.map +1 -0
- package/es/_virtual/index.mjs +4 -0
- package/es/_virtual/index.mjs.map +1 -0
- package/es/_virtual/index2.mjs +4 -0
- package/es/_virtual/index2.mjs.map +1 -0
- package/es/_virtual/index3.mjs +4 -0
- package/es/_virtual/index3.mjs.map +1 -0
- package/es/_virtual/strikethrough.mjs +4 -0
- package/es/_virtual/strikethrough.mjs.map +1 -0
- package/es/_virtual/utils.mjs +4 -0
- package/es/_virtual/utils.mjs.map +1 -0
- package/es/assets/Avatar-AI-8c9ec26060b39bf7.png +0 -0
- package/es/assets/bgimage-ef345ea032b1fc13.png +0 -0
- package/es/assets/icon-ac4086674fbfd358.png +0 -0
- package/es/assets/link-45d328ddcc34e562.png +0 -0
- package/es/index.d.ts +9 -0
- package/es/index.mjs +30 -0
- package/es/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/entities@2.1.0/node_modules/entities/lib/maps/entities.json.mjs +4253 -0
- package/es/node_modules/.pnpm/entities@2.1.0/node_modules/entities/lib/maps/entities.json.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/core.mjs +2524 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/core.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/actionscript.mjs +120 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/actionscript.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ada.mjs +201 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ada.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/bash.mjs +176 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/bash.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/c-like.mjs +508 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/c-like.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/c.mjs +316 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/c.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/cpp.mjs +471 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/cpp.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/csharp.mjs +448 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/csharp.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/css.mjs +615 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/css.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/d.mjs +278 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/d.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/dart.mjs +206 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/dart.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/delphi.mjs +133 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/delphi.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/erlang-repl.mjs +93 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/erlang-repl.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/erlang.mjs +206 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/erlang.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/fortran.mjs +166 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/fortran.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/fsharp.mjs +93 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/fsharp.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/go.mjs +81 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/go.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/groovy.mjs +181 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/groovy.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/handlebars.mjs +331 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/handlebars.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/haskell.mjs +180 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/haskell.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/htmlbars.mjs +359 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/htmlbars.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ini.mjs +180 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ini.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/java.mjs +188 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/java.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/json.mjs +70 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/json.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/julia-repl.mjs +57 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/julia-repl.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/julia.mjs +423 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/julia.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/kotlin.mjs +291 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/kotlin.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/lisp.mjs +118 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/lisp.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/lua.mjs +89 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/lua.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/matlab.mjs +113 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/matlab.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/objectivec.mjs +128 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/objectivec.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/perl.mjs +522 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/perl.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/php.mjs +211 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/php.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/powershell.mjs +338 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/powershell.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/prolog.mjs +109 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/prolog.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/python.mjs +453 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/python.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/r.mjs +238 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/r.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ruby.mjs +394 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ruby.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/rust.mjs +153 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/rust.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/sas.mjs +140 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/sas.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/scala.mjs +147 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/scala.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/scheme.mjs +214 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/scheme.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/shell.mjs +37 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/shell.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/sql.mjs +706 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/sql.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/swift.mjs +880 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/swift.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/typescript.mjs +704 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/typescript.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/vbscript-html.mjs +31 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/vbscript-html.mjs.map +1 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/vbscript.mjs +116 -0
- package/es/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/vbscript.mjs.map +1 -0
- package/es/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/index.mjs +638 -0
- package/es/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/lib/re.mjs +196 -0
- package/es/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/lib/re.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs +146 -0
- package/es/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs +142 -0
- package/es/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs +206 -0
- package/es/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/bare.mjs +24 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/bare.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/data/full.mjs +1909 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/data/full.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/data/shortcuts.mjs +45 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/data/shortcuts.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/full.mjs +18 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/full.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/normalize_opts.mjs +61 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/normalize_opts.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/render.mjs +6 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/render.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/replace.mjs +88 -0
- package/es/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/replace.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs +355 -0
- package/es/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs +126 -0
- package/es/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs +126 -0
- package/es/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs +63 -0
- package/es/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs +63 -0
- package/es/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/index.mjs +9 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/entities.mjs +7 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/entities.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_blocks.mjs +67 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_blocks.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_re.mjs +29 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_re.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/utils.mjs +324 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/utils.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/index.mjs +11 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs +83 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_destination.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_label.mjs +44 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_label.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_title.mjs +56 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_title.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/index.mjs +596 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_block.mjs +138 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_block.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_core.mjs +69 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_core.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_inline.mjs +197 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_inline.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/commonmark.mjs +78 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/commonmark.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/default.mjs +39 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/default.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/zero.mjs +59 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/zero.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/renderer.mjs +346 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/renderer.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/ruler.mjs +354 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/ruler.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/blockquote.mjs +286 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/blockquote.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/code.mjs +32 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/code.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/fence.mjs +96 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/fence.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/heading.mjs +57 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/heading.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/hr.mjs +47 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/hr.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/html_block.mjs +76 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/html_block.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/lheading.mjs +81 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/lheading.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/list.mjs +366 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/list.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/paragraph.mjs +50 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/paragraph.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/reference.mjs +197 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/reference.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/state_block.mjs +234 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/state_block.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/table.mjs +223 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/table.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/block.mjs +16 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/block.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/inline.mjs +14 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/inline.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/linkify.mjs +132 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/linkify.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/normalize.mjs +19 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/normalize.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/replacements.mjs +97 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/replacements.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/smartquotes.mjs +202 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/smartquotes.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/state_core.mjs +21 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/state_core.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/autolink.mjs +74 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/autolink.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/backticks.mjs +61 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/backticks.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs +128 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/balance_pairs.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/emphasis.mjs +130 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/emphasis.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/entity.mjs +51 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/entity.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/escape.mjs +54 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/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/html_inline.mjs +48 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/html_inline.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/image.mjs +154 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/image.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/link.mjs +150 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/link.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/newline.mjs +48 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/newline.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/state_inline.mjs +156 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/state_inline.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs +130 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/strikethrough.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text.mjs +56 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text_collapse.mjs +33 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text_collapse.mjs.map +1 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/token.mjs +199 -0
- package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/token.mjs.map +1 -0
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/decode.mjs +121 -0
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/decode.mjs.map +1 -0
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/encode.mjs +97 -0
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/encode.mjs.map +1 -0
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/format.mjs +24 -0
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/format.mjs.map +1 -0
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.mjs +13 -0
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/parse.mjs +292 -0
- package/es/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/parse.mjs.map +1 -0
- package/es/node_modules/.pnpm/throttle-debounce@5.0.2/node_modules/throttle-debounce/esm/index.mjs +136 -0
- package/es/node_modules/.pnpm/throttle-debounce@5.0.2/node_modules/throttle-debounce/esm/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.mjs +12 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.mjs.map +1 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.mjs +12 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.mjs.map +1 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.mjs +4 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.mjs.map +1 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.mjs +12 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.mjs.map +1 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.mjs +23 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.mjs.map +1 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.mjs +12 -0
- package/es/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.mjs.map +1 -0
- package/es/package.json.css +1 -0
- package/es/package.json.mjs +101 -0
- package/es/package.json.mjs.map +1 -0
- package/es/packages/components/index.mjs +3 -0
- package/es/packages/components/index.mjs.map +1 -0
- package/es/packages/components/package.json.mjs +36 -0
- package/es/packages/components/package.json.mjs.map +1 -0
- package/es/packages/components/resolver.mjs +31 -0
- package/es/packages/components/resolver.mjs.map +1 -0
- package/es/packages/components/touchchat/component/CardView.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/CardView.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/CardView.vue2.mjs +135 -0
- package/es/packages/components/touchchat/component/CardView.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/FileView.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/FileView.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/FileView.vue2.mjs +62 -0
- package/es/packages/components/touchchat/component/FileView.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/HelloChat.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/HelloChat.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/HelloChat.vue2.mjs +58 -0
- package/es/packages/components/touchchat/component/HelloChat.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/ImageView.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/ImageView.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/ImageView.vue2.mjs +31 -0
- package/es/packages/components/touchchat/component/ImageView.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/component/LinkView.vue.mjs +7 -0
- package/es/packages/components/touchchat/component/LinkView.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/component/LinkView.vue2.mjs +75 -0
- package/es/packages/components/touchchat/component/LinkView.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/img/AI.png.mjs +4 -0
- package/es/packages/components/touchchat/img/AI.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/asir.png.mjs +4 -0
- package/es/packages/components/touchchat/img/asir.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/bgimage.png.mjs +4 -0
- package/es/packages/components/touchchat/img/bgimage.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/file.png.mjs +4 -0
- package/es/packages/components/touchchat/img/file.png.mjs.map +1 -0
- package/es/packages/components/touchchat/img/link.png.mjs +4 -0
- package/es/packages/components/touchchat/img/link.png.mjs.map +1 -0
- package/es/packages/components/touchchat/index.mjs +9 -0
- package/es/packages/components/touchchat/index.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/AiMessage.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiChat/AiMessage.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/AiMessage.vue2.mjs +342 -0
- package/es/packages/components/touchchat/src/AiChat/AiMessage.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/ChatInput.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiChat/ChatInput.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/ChatInput.vue2.mjs +182 -0
- package/es/packages/components/touchchat/src/AiChat/ChatInput.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/HistoryList.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiChat/HistoryList.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/HistoryList.vue2.mjs +450 -0
- package/es/packages/components/touchchat/src/AiChat/HistoryList.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/HistorySidebar.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiChat/HistorySidebar.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.mjs +105 -0
- package/es/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/MessageActions.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiChat/MessageActions.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/MessageActions.vue2.mjs +267 -0
- package/es/packages/components/touchchat/src/AiChat/MessageActions.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/TouchChat.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiChat/TouchChat.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/TouchChat.vue2.mjs +843 -0
- package/es/packages/components/touchchat/src/AiChat/TouchChat.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/TouchHistory.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiChat/TouchHistory.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/TouchHistory.vue2.mjs +212 -0
- package/es/packages/components/touchchat/src/AiChat/TouchHistory.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/UserMessage.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiChat/UserMessage.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiChat/UserMessage.vue2.mjs +133 -0
- package/es/packages/components/touchchat/src/AiChat/UserMessage.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/ChatPanel.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/ChatPanel.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/ChatPanel.vue2.mjs +632 -0
- package/es/packages/components/touchchat/src/AiRobot/ChatPanel.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/Content.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/Content.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/Content.vue2.mjs +263 -0
- package/es/packages/components/touchchat/src/AiRobot/Content.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/Header.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/Header.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/Header.vue2.mjs +197 -0
- package/es/packages/components/touchchat/src/AiRobot/Header.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/Input.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/Input.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/Input.vue2.mjs +67 -0
- package/es/packages/components/touchchat/src/AiRobot/Input.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/Scene.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/Scene.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/Scene.vue2.mjs +48 -0
- package/es/packages/components/touchchat/src/AiRobot/Scene.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/component/HelloChat.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/component/HelloChat.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/component/HelloChat.vue2.mjs +267 -0
- package/es/packages/components/touchchat/src/AiRobot/component/HelloChat.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/component/face.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/component/face.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/component/face.vue2.mjs +89 -0
- package/es/packages/components/touchchat/src/AiRobot/component/face.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/component/letter.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/component/letter.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/component/letter.vue2.mjs +64 -0
- package/es/packages/components/touchchat/src/AiRobot/component/letter.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/component/meterialPrepare.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/component/meterialPrepare.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/component/meterialPrepare.vue2.mjs +36 -0
- package/es/packages/components/touchchat/src/AiRobot/component/meterialPrepare.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/component/start.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/component/start.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/component/start.vue2.mjs +36 -0
- package/es/packages/components/touchchat/src/AiRobot/component/start.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/img/Avatar-AI.png.mjs +4 -0
- package/es/packages/components/touchchat/src/AiRobot/img/Avatar-AI.png.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/img/icon.png.mjs +4 -0
- package/es/packages/components/touchchat/src/AiRobot/img/icon.png.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/index.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/AiRobot/index.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/AiRobot/index.vue2.mjs +81 -0
- package/es/packages/components/touchchat/src/AiRobot/index.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/src/index.vue.mjs +7 -0
- package/es/packages/components/touchchat/src/index.vue.mjs.map +1 -0
- package/es/packages/components/touchchat/src/index.vue2.mjs +147 -0
- package/es/packages/components/touchchat/src/index.vue2.mjs.map +1 -0
- package/es/packages/components/touchchat/utils/chatRobot.mjs +111 -0
- package/es/packages/components/touchchat/utils/chatRobot.mjs.map +1 -0
- package/es/packages/components/touchchat/utils/deepCloneDom.mjs +59 -0
- package/es/packages/components/touchchat/utils/deepCloneDom.mjs.map +1 -0
- package/es/packages/components/touchchat/utils/fetchStream.mjs +103 -0
- package/es/packages/components/touchchat/utils/fetchStream.mjs.map +1 -0
- package/es/packages/components/touchchat/utils/hight-it.mjs +114 -0
- package/es/packages/components/touchchat/utils/hight-it.mjs.map +1 -0
- package/es/packages/components/touchchat/utils/markdown.mjs +42 -0
- package/es/packages/components/touchchat/utils/markdown.mjs.map +1 -0
- package/es/packages/components/touchchat/utils/socket.mjs +196 -0
- package/es/packages/components/touchchat/utils/socket.mjs.map +1 -0
- package/es/packages/components/touchchat/utils/tools.mjs +74 -0
- package/es/packages/components/touchchat/utils/tools.mjs.map +1 -0
- package/es/packages/components/touchchat/utils/uuid.mjs +15 -0
- package/es/packages/components/touchchat/utils/uuid.mjs.map +1 -0
- package/es/packages/utils/config.mjs +18 -0
- package/es/packages/utils/config.mjs.map +1 -0
- package/es/packages/utils/index.mjs +3 -0
- package/es/packages/utils/index.mjs.map +1 -0
- package/es/packages/utils/package.json.mjs +36 -0
- package/es/packages/utils/package.json.mjs.map +1 -0
- package/es/packages/utils/types.mjs +23 -0
- package/es/packages/utils/types.mjs.map +1 -0
- package/global.d.ts +9 -0
- package/lib/_virtual/_commonjsHelpers.js +8 -0
- package/lib/_virtual/_commonjsHelpers.js.map +1 -0
- package/lib/_virtual/_plugin-vue_export-helper.js +14 -0
- package/lib/_virtual/_plugin-vue_export-helper.js.map +1 -0
- package/lib/_virtual/emphasis.js +6 -0
- package/lib/_virtual/emphasis.js.map +1 -0
- package/lib/_virtual/html_re.js +6 -0
- package/lib/_virtual/html_re.js.map +1 -0
- package/lib/_virtual/index.js +6 -0
- package/lib/_virtual/index.js.map +1 -0
- package/lib/_virtual/index2.js +6 -0
- package/lib/_virtual/index2.js.map +1 -0
- package/lib/_virtual/index3.js +6 -0
- package/lib/_virtual/index3.js.map +1 -0
- package/lib/_virtual/strikethrough.js +6 -0
- package/lib/_virtual/strikethrough.js.map +1 -0
- package/lib/_virtual/utils.js +6 -0
- package/lib/_virtual/utils.js.map +1 -0
- package/lib/assets/Avatar-AI-8c9ec26060b39bf7.png +0 -0
- package/lib/assets/bgimage-ef345ea032b1fc13.png +0 -0
- package/lib/assets/icon-ac4086674fbfd358.png +0 -0
- package/lib/assets/link-45d328ddcc34e562.png +0 -0
- package/lib/index.d.ts +9 -0
- package/lib/index.js +36 -0
- package/lib/index.js.map +1 -0
- package/lib/node_modules/.pnpm/entities@2.1.0/node_modules/entities/lib/maps/entities.json.js +6380 -0
- package/lib/node_modules/.pnpm/entities@2.1.0/node_modules/entities/lib/maps/entities.json.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/core.js +2528 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/core.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/actionscript.js +124 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/actionscript.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ada.js +205 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ada.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/bash.js +180 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/bash.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/c-like.js +512 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/c-like.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/c.js +320 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/c.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/cpp.js +475 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/cpp.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/csharp.js +452 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/csharp.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/css.js +619 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/css.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/d.js +282 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/d.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/dart.js +210 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/dart.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/delphi.js +137 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/delphi.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/erlang-repl.js +97 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/erlang-repl.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/erlang.js +210 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/erlang.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/fortran.js +170 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/fortran.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/fsharp.js +97 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/fsharp.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/go.js +85 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/go.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/groovy.js +185 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/groovy.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/handlebars.js +335 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/handlebars.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/haskell.js +184 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/haskell.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/htmlbars.js +363 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/htmlbars.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ini.js +184 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ini.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/java.js +192 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/java.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/json.js +74 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/json.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/julia-repl.js +61 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/julia-repl.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/julia.js +427 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/julia.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/kotlin.js +295 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/kotlin.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/lisp.js +122 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/lisp.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/lua.js +93 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/lua.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/matlab.js +117 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/matlab.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/objectivec.js +132 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/objectivec.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/perl.js +526 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/perl.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/php.js +215 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/php.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/powershell.js +342 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/powershell.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/prolog.js +113 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/prolog.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/python.js +457 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/python.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/r.js +242 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/r.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ruby.js +398 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/ruby.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/rust.js +157 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/rust.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/sas.js +144 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/sas.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/scala.js +151 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/scala.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/scheme.js +218 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/scheme.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/shell.js +41 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/shell.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/sql.js +710 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/sql.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/swift.js +884 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/swift.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/typescript.js +708 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/typescript.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/vbscript-html.js +35 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/vbscript-html.js.map +1 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/vbscript.js +120 -0
- package/lib/node_modules/.pnpm/highlight.js@10.7.2/node_modules/highlight.js/lib/languages/vbscript.js.map +1 -0
- package/lib/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/index.js +640 -0
- package/lib/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/index.js.map +1 -0
- package/lib/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/lib/re.js +198 -0
- package/lib/node_modules/.pnpm/linkify-it@3.0.3/node_modules/linkify-it/lib/re.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.js +150 -0
- package/lib/node_modules/.pnpm/markdown-it-abbr@2.0.0/node_modules/markdown-it-abbr/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.js +146 -0
- package/lib/node_modules/.pnpm/markdown-it-container@4.0.0/node_modules/markdown-it-container/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.js +210 -0
- package/lib/node_modules/.pnpm/markdown-it-deflist@3.0.0/node_modules/markdown-it-deflist/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/bare.js +28 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/bare.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/data/full.js +1913 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/data/full.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/data/shortcuts.js +49 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/data/shortcuts.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/full.js +22 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/full.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/normalize_opts.js +65 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/normalize_opts.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/render.js +10 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/render.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/replace.js +92 -0
- package/lib/node_modules/.pnpm/markdown-it-emoji@3.0.0/node_modules/markdown-it-emoji/lib/replace.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.js +359 -0
- package/lib/node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.js +130 -0
- package/lib/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.js +130 -0
- package/lib/node_modules/.pnpm/markdown-it-mark@4.0.0/node_modules/markdown-it-mark/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.js +67 -0
- package/lib/node_modules/.pnpm/markdown-it-sub@2.0.0/node_modules/markdown-it-sub/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.js +67 -0
- package/lib/node_modules/.pnpm/markdown-it-sup@2.0.0/node_modules/markdown-it-sup/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/index.js +13 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/entities.js +9 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/entities.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_blocks.js +69 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_blocks.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_re.js +33 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/html_re.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/utils.js +326 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/common/utils.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/index.js +15 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_destination.js +85 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_destination.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_label.js +46 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_label.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_title.js +58 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/helpers/parse_link_title.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/index.js +598 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/index.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_block.js +140 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_block.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_core.js +71 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_core.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_inline.js +199 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/parser_inline.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/commonmark.js +80 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/commonmark.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/default.js +41 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/default.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/zero.js +61 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/presets/zero.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/renderer.js +348 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/renderer.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/ruler.js +356 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/ruler.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/blockquote.js +288 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/blockquote.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/code.js +34 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/code.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/fence.js +98 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/fence.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/heading.js +59 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/heading.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/hr.js +49 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/hr.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/html_block.js +78 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/html_block.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/lheading.js +83 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/lheading.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/list.js +368 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/list.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/paragraph.js +52 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/paragraph.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/reference.js +199 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/reference.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/state_block.js +236 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/state_block.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/table.js +225 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_block/table.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/block.js +18 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/block.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/inline.js +16 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/inline.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/linkify.js +134 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/linkify.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/normalize.js +21 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/normalize.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/replacements.js +99 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/replacements.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/smartquotes.js +204 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/smartquotes.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/state_core.js +23 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/state_core.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/autolink.js +76 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/autolink.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/backticks.js +63 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/backticks.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/balance_pairs.js +130 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/balance_pairs.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/emphasis.js +134 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/emphasis.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/entity.js +53 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/entity.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/escape.js +56 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/escape.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/html_inline.js +50 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/html_inline.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/image.js +156 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/image.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/link.js +152 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/link.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/newline.js +50 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/newline.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/state_inline.js +158 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/state_inline.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/strikethrough.js +134 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/strikethrough.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text.js +58 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text_collapse.js +35 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/text_collapse.js.map +1 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/token.js +201 -0
- package/lib/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/token.js.map +1 -0
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/decode.js +123 -0
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/decode.js.map +1 -0
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/encode.js +99 -0
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/encode.js.map +1 -0
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/format.js +26 -0
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/format.js.map +1 -0
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.js +17 -0
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.js.map +1 -0
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/parse.js +294 -0
- package/lib/node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/parse.js.map +1 -0
- package/lib/node_modules/.pnpm/throttle-debounce@5.0.2/node_modules/throttle-debounce/esm/index.js +138 -0
- package/lib/node_modules/.pnpm/throttle-debounce@5.0.2/node_modules/throttle-debounce/esm/index.js.map +1 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.js +14 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cc/regex.js.map +1 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.js +14 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Cf/regex.js.map +1 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.js +6 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/P/regex.js.map +1 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.js +14 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/categories/Z/regex.js.map +1 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.js +25 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/index.js.map +1 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.js +14 -0
- package/lib/node_modules/.pnpm/uc.micro@1.0.6/node_modules/uc.micro/properties/Any/regex.js.map +1 -0
- package/lib/package.json.css +1 -0
- package/lib/package.json.js +120 -0
- package/lib/package.json.js.map +1 -0
- package/lib/packages/components/index.js +11 -0
- package/lib/packages/components/index.js.map +1 -0
- package/lib/packages/components/package.json.js +47 -0
- package/lib/packages/components/package.json.js.map +1 -0
- package/lib/packages/components/resolver.js +36 -0
- package/lib/packages/components/resolver.js.map +1 -0
- package/lib/packages/components/touchchat/component/CardView.vue.js +11 -0
- package/lib/packages/components/touchchat/component/CardView.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/CardView.vue2.js +139 -0
- package/lib/packages/components/touchchat/component/CardView.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/FileView.vue.js +11 -0
- package/lib/packages/components/touchchat/component/FileView.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/FileView.vue2.js +66 -0
- package/lib/packages/components/touchchat/component/FileView.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/HelloChat.vue.js +11 -0
- package/lib/packages/components/touchchat/component/HelloChat.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/HelloChat.vue2.js +62 -0
- package/lib/packages/components/touchchat/component/HelloChat.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/ImageView.vue.js +11 -0
- package/lib/packages/components/touchchat/component/ImageView.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/ImageView.vue2.js +35 -0
- package/lib/packages/components/touchchat/component/ImageView.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/component/LinkView.vue.js +11 -0
- package/lib/packages/components/touchchat/component/LinkView.vue.js.map +1 -0
- package/lib/packages/components/touchchat/component/LinkView.vue2.js +79 -0
- package/lib/packages/components/touchchat/component/LinkView.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/img/AI.png.js +8 -0
- package/lib/packages/components/touchchat/img/AI.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/asir.png.js +8 -0
- package/lib/packages/components/touchchat/img/asir.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/bgimage.png.js +8 -0
- package/lib/packages/components/touchchat/img/bgimage.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/file.png.js +8 -0
- package/lib/packages/components/touchchat/img/file.png.js.map +1 -0
- package/lib/packages/components/touchchat/img/link.png.js +8 -0
- package/lib/packages/components/touchchat/img/link.png.js.map +1 -0
- package/lib/packages/components/touchchat/index.js +12 -0
- package/lib/packages/components/touchchat/index.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/AiMessage.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiChat/AiMessage.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/AiMessage.vue2.js +346 -0
- package/lib/packages/components/touchchat/src/AiChat/AiMessage.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/ChatInput.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiChat/ChatInput.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/ChatInput.vue2.js +186 -0
- package/lib/packages/components/touchchat/src/AiChat/ChatInput.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/HistoryList.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiChat/HistoryList.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/HistoryList.vue2.js +454 -0
- package/lib/packages/components/touchchat/src/AiChat/HistoryList.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/HistorySidebar.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiChat/HistorySidebar.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.js +109 -0
- package/lib/packages/components/touchchat/src/AiChat/HistorySidebar.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/MessageActions.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiChat/MessageActions.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/MessageActions.vue2.js +271 -0
- package/lib/packages/components/touchchat/src/AiChat/MessageActions.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchChat.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchChat.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchChat.vue2.js +847 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchChat.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchHistory.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchHistory.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchHistory.vue2.js +216 -0
- package/lib/packages/components/touchchat/src/AiChat/TouchHistory.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/UserMessage.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiChat/UserMessage.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiChat/UserMessage.vue2.js +137 -0
- package/lib/packages/components/touchchat/src/AiChat/UserMessage.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/ChatPanel.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/ChatPanel.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/ChatPanel.vue2.js +636 -0
- package/lib/packages/components/touchchat/src/AiRobot/ChatPanel.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/Content.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/Content.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/Content.vue2.js +267 -0
- package/lib/packages/components/touchchat/src/AiRobot/Content.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/Header.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/Header.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/Header.vue2.js +201 -0
- package/lib/packages/components/touchchat/src/AiRobot/Header.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/Input.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/Input.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/Input.vue2.js +71 -0
- package/lib/packages/components/touchchat/src/AiRobot/Input.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/Scene.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/Scene.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/Scene.vue2.js +52 -0
- package/lib/packages/components/touchchat/src/AiRobot/Scene.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/HelloChat.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/HelloChat.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/HelloChat.vue2.js +271 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/HelloChat.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/face.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/face.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/face.vue2.js +93 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/face.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/letter.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/letter.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/letter.vue2.js +68 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/letter.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/meterialPrepare.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/meterialPrepare.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/meterialPrepare.vue2.js +40 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/meterialPrepare.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/start.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/start.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/start.vue2.js +40 -0
- package/lib/packages/components/touchchat/src/AiRobot/component/start.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/img/Avatar-AI.png.js +8 -0
- package/lib/packages/components/touchchat/src/AiRobot/img/Avatar-AI.png.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/img/icon.png.js +8 -0
- package/lib/packages/components/touchchat/src/AiRobot/img/icon.png.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/index.vue.js +11 -0
- package/lib/packages/components/touchchat/src/AiRobot/index.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/AiRobot/index.vue2.js +85 -0
- package/lib/packages/components/touchchat/src/AiRobot/index.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/src/index.vue.js +11 -0
- package/lib/packages/components/touchchat/src/index.vue.js.map +1 -0
- package/lib/packages/components/touchchat/src/index.vue2.js +151 -0
- package/lib/packages/components/touchchat/src/index.vue2.js.map +1 -0
- package/lib/packages/components/touchchat/utils/chatRobot.js +113 -0
- package/lib/packages/components/touchchat/utils/chatRobot.js.map +1 -0
- package/lib/packages/components/touchchat/utils/deepCloneDom.js +61 -0
- package/lib/packages/components/touchchat/utils/deepCloneDom.js.map +1 -0
- package/lib/packages/components/touchchat/utils/fetchStream.js +105 -0
- package/lib/packages/components/touchchat/utils/fetchStream.js.map +1 -0
- package/lib/packages/components/touchchat/utils/hight-it.js +118 -0
- package/lib/packages/components/touchchat/utils/hight-it.js.map +1 -0
- package/lib/packages/components/touchchat/utils/markdown.js +46 -0
- package/lib/packages/components/touchchat/utils/markdown.js.map +1 -0
- package/lib/packages/components/touchchat/utils/socket.js +199 -0
- package/lib/packages/components/touchchat/utils/socket.js.map +1 -0
- package/lib/packages/components/touchchat/utils/tools.js +79 -0
- package/lib/packages/components/touchchat/utils/tools.js.map +1 -0
- package/lib/packages/components/touchchat/utils/uuid.js +19 -0
- package/lib/packages/components/touchchat/utils/uuid.js.map +1 -0
- package/lib/packages/utils/config.js +21 -0
- package/lib/packages/utils/config.js.map +1 -0
- package/lib/packages/utils/index.js +12 -0
- package/lib/packages/utils/index.js.map +1 -0
- package/lib/packages/utils/package.json.js +50 -0
- package/lib/packages/utils/package.json.js.map +1 -0
- package/lib/packages/utils/types.js +26 -0
- package/lib/packages/utils/types.js.map +1 -0
- package/package.json +83 -0
- package/theme/components/index.css +3 -0
- package/theme/img/default.png +0 -0
- package/theme/index.css +6 -0
- package/theme/skin/default.css +6 -0
- package/types/global.d.ts +9 -0
package/es/node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/linkify.mjs
ADDED
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
import { __exports as utils } from '../../../../../../../_virtual/utils.mjs';
|
|
2
|
+
import '../common/utils.mjs';
|
|
3
|
+
|
|
4
|
+
var arrayReplaceAt = utils.arrayReplaceAt;
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
function isLinkOpen(str) {
|
|
8
|
+
return /^<a[>\s]/i.test(str);
|
|
9
|
+
}
|
|
10
|
+
function isLinkClose(str) {
|
|
11
|
+
return /^<\/a\s*>/i.test(str);
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
var linkify = function linkify(state) {
|
|
16
|
+
var i, j, l, tokens, token, currentToken, nodes, ln, text, pos, lastPos,
|
|
17
|
+
level, htmlLinkLevel, url, fullUrl, urlText,
|
|
18
|
+
blockTokens = state.tokens,
|
|
19
|
+
links;
|
|
20
|
+
|
|
21
|
+
if (!state.md.options.linkify) { return; }
|
|
22
|
+
|
|
23
|
+
for (j = 0, l = blockTokens.length; j < l; j++) {
|
|
24
|
+
if (blockTokens[j].type !== 'inline' ||
|
|
25
|
+
!state.md.linkify.pretest(blockTokens[j].content)) {
|
|
26
|
+
continue;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
tokens = blockTokens[j].children;
|
|
30
|
+
|
|
31
|
+
htmlLinkLevel = 0;
|
|
32
|
+
|
|
33
|
+
// We scan from the end, to keep position when new tags added.
|
|
34
|
+
// Use reversed logic in links start/end match
|
|
35
|
+
for (i = tokens.length - 1; i >= 0; i--) {
|
|
36
|
+
currentToken = tokens[i];
|
|
37
|
+
|
|
38
|
+
// Skip content of markdown links
|
|
39
|
+
if (currentToken.type === 'link_close') {
|
|
40
|
+
i--;
|
|
41
|
+
while (tokens[i].level !== currentToken.level && tokens[i].type !== 'link_open') {
|
|
42
|
+
i--;
|
|
43
|
+
}
|
|
44
|
+
continue;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// Skip content of html tag links
|
|
48
|
+
if (currentToken.type === 'html_inline') {
|
|
49
|
+
if (isLinkOpen(currentToken.content) && htmlLinkLevel > 0) {
|
|
50
|
+
htmlLinkLevel--;
|
|
51
|
+
}
|
|
52
|
+
if (isLinkClose(currentToken.content)) {
|
|
53
|
+
htmlLinkLevel++;
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
if (htmlLinkLevel > 0) { continue; }
|
|
57
|
+
|
|
58
|
+
if (currentToken.type === 'text' && state.md.linkify.test(currentToken.content)) {
|
|
59
|
+
|
|
60
|
+
text = currentToken.content;
|
|
61
|
+
links = state.md.linkify.match(text);
|
|
62
|
+
|
|
63
|
+
// Now split string to nodes
|
|
64
|
+
nodes = [];
|
|
65
|
+
level = currentToken.level;
|
|
66
|
+
lastPos = 0;
|
|
67
|
+
|
|
68
|
+
for (ln = 0; ln < links.length; ln++) {
|
|
69
|
+
|
|
70
|
+
url = links[ln].url;
|
|
71
|
+
fullUrl = state.md.normalizeLink(url);
|
|
72
|
+
if (!state.md.validateLink(fullUrl)) { continue; }
|
|
73
|
+
|
|
74
|
+
urlText = links[ln].text;
|
|
75
|
+
|
|
76
|
+
// Linkifier might send raw hostnames like "example.com", where url
|
|
77
|
+
// starts with domain name. So we prepend http:// in those cases,
|
|
78
|
+
// and remove it afterwards.
|
|
79
|
+
//
|
|
80
|
+
if (!links[ln].schema) {
|
|
81
|
+
urlText = state.md.normalizeLinkText('http://' + urlText).replace(/^http:\/\//, '');
|
|
82
|
+
} else if (links[ln].schema === 'mailto:' && !/^mailto:/i.test(urlText)) {
|
|
83
|
+
urlText = state.md.normalizeLinkText('mailto:' + urlText).replace(/^mailto:/, '');
|
|
84
|
+
} else {
|
|
85
|
+
urlText = state.md.normalizeLinkText(urlText);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
pos = links[ln].index;
|
|
89
|
+
|
|
90
|
+
if (pos > lastPos) {
|
|
91
|
+
token = new state.Token('text', '', 0);
|
|
92
|
+
token.content = text.slice(lastPos, pos);
|
|
93
|
+
token.level = level;
|
|
94
|
+
nodes.push(token);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
token = new state.Token('link_open', 'a', 1);
|
|
98
|
+
token.attrs = [ [ 'href', fullUrl ] ];
|
|
99
|
+
token.level = level++;
|
|
100
|
+
token.markup = 'linkify';
|
|
101
|
+
token.info = 'auto';
|
|
102
|
+
nodes.push(token);
|
|
103
|
+
|
|
104
|
+
token = new state.Token('text', '', 0);
|
|
105
|
+
token.content = urlText;
|
|
106
|
+
token.level = level;
|
|
107
|
+
nodes.push(token);
|
|
108
|
+
|
|
109
|
+
token = new state.Token('link_close', 'a', -1);
|
|
110
|
+
token.level = --level;
|
|
111
|
+
token.markup = 'linkify';
|
|
112
|
+
token.info = 'auto';
|
|
113
|
+
nodes.push(token);
|
|
114
|
+
|
|
115
|
+
lastPos = links[ln].lastIndex;
|
|
116
|
+
}
|
|
117
|
+
if (lastPos < text.length) {
|
|
118
|
+
token = new state.Token('text', '', 0);
|
|
119
|
+
token.content = text.slice(lastPos);
|
|
120
|
+
token.level = level;
|
|
121
|
+
nodes.push(token);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
// replace current node
|
|
125
|
+
blockTokens[j].children = tokens = arrayReplaceAt(tokens, i, nodes);
|
|
126
|
+
}
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
export { linkify as l };
|
|
132
|
+
//# sourceMappingURL=linkify.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"linkify.mjs","sources":["../../../../../../../../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/linkify.js"],"sourcesContent":["// Replace link-like texts with link nodes.\n//\n// Currently restricted by `md.validateLink()` to http/https/ftp\n//\n'use strict';\n\n\nvar arrayReplaceAt = require('../common/utils').arrayReplaceAt;\n\n\nfunction isLinkOpen(str) {\n return /^<a[>\\s]/i.test(str);\n}\nfunction isLinkClose(str) {\n return /^<\\/a\\s*>/i.test(str);\n}\n\n\nmodule.exports = function linkify(state) {\n var i, j, l, tokens, token, currentToken, nodes, ln, text, pos, lastPos,\n level, htmlLinkLevel, url, fullUrl, urlText,\n blockTokens = state.tokens,\n links;\n\n if (!state.md.options.linkify) { return; }\n\n for (j = 0, l = blockTokens.length; j < l; j++) {\n if (blockTokens[j].type !== 'inline' ||\n !state.md.linkify.pretest(blockTokens[j].content)) {\n continue;\n }\n\n tokens = blockTokens[j].children;\n\n htmlLinkLevel = 0;\n\n // We scan from the end, to keep position when new tags added.\n // Use reversed logic in links start/end match\n for (i = tokens.length - 1; i >= 0; i--) {\n currentToken = tokens[i];\n\n // Skip content of markdown links\n if (currentToken.type === 'link_close') {\n i--;\n while (tokens[i].level !== currentToken.level && tokens[i].type !== 'link_open') {\n i--;\n }\n continue;\n }\n\n // Skip content of html tag links\n if (currentToken.type === 'html_inline') {\n if (isLinkOpen(currentToken.content) && htmlLinkLevel > 0) {\n htmlLinkLevel--;\n }\n if (isLinkClose(currentToken.content)) {\n htmlLinkLevel++;\n }\n }\n if (htmlLinkLevel > 0) { continue; }\n\n if (currentToken.type === 'text' && state.md.linkify.test(currentToken.content)) {\n\n text = currentToken.content;\n links = state.md.linkify.match(text);\n\n // Now split string to nodes\n nodes = [];\n level = currentToken.level;\n lastPos = 0;\n\n for (ln = 0; ln < links.length; ln++) {\n\n url = links[ln].url;\n fullUrl = state.md.normalizeLink(url);\n if (!state.md.validateLink(fullUrl)) { continue; }\n\n urlText = links[ln].text;\n\n // Linkifier might send raw hostnames like \"example.com\", where url\n // starts with domain name. So we prepend http:// in those cases,\n // and remove it afterwards.\n //\n if (!links[ln].schema) {\n urlText = state.md.normalizeLinkText('http://' + urlText).replace(/^http:\\/\\//, '');\n } else if (links[ln].schema === 'mailto:' && !/^mailto:/i.test(urlText)) {\n urlText = state.md.normalizeLinkText('mailto:' + urlText).replace(/^mailto:/, '');\n } else {\n urlText = state.md.normalizeLinkText(urlText);\n }\n\n pos = links[ln].index;\n\n if (pos > lastPos) {\n token = new state.Token('text', '', 0);\n token.content = text.slice(lastPos, pos);\n token.level = level;\n nodes.push(token);\n }\n\n token = new state.Token('link_open', 'a', 1);\n token.attrs = [ [ 'href', fullUrl ] ];\n token.level = level++;\n token.markup = 'linkify';\n token.info = 'auto';\n nodes.push(token);\n\n token = new state.Token('text', '', 0);\n token.content = urlText;\n token.level = level;\n nodes.push(token);\n\n token = new state.Token('link_close', 'a', -1);\n token.level = --level;\n token.markup = 'linkify';\n token.info = 'auto';\n nodes.push(token);\n\n lastPos = links[ln].lastIndex;\n }\n if (lastPos < text.length) {\n token = new state.Token('text', '', 0);\n token.content = text.slice(lastPos);\n token.level = level;\n nodes.push(token);\n }\n\n // replace current node\n blockTokens[j].children = tokens = arrayReplaceAt(tokens, i, nodes);\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EAAE;AACnC,UAAU,KAAK,WAAW,IAAI,KAAK,CAAC,KAAK,CAAC,MAAM,EAAE,EAAE,EAAE,CAAC,CAAC,CAAA;AACxD,UAAU,KAAK,CAAC,OAAO,GAAG,IAAI,CAAC,KAAK,CAAC,OAAO,CAAC,CAAA;AAC7C,UAAU,KAAK,CAAC,KAAK,KAAK,KAAK,CAAA;AAC/B,UAAU,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAA;AAC3B,SAAA;;AAEA;AACA,QAAQ,WAAW,CAAC,CAAC,CAAC,CAAC,QAAQ,GAAG,MAAM,GAAG,cAAc,CAAC,MAAM,EAAE,CAAC,EAAE,KAAK,CAAC,CAAA;AAC3E,OAAA;AACA,KAAA;AACA,GAAA;AACA;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
// https://spec.commonmark.org/0.29/#line-ending
|
|
2
|
+
var NEWLINES_RE = /\r\n?|\n/g;
|
|
3
|
+
var NULL_RE = /\0/g;
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var normalize = function normalize(state) {
|
|
7
|
+
var str;
|
|
8
|
+
|
|
9
|
+
// Normalize newlines
|
|
10
|
+
str = state.src.replace(NEWLINES_RE, '\n');
|
|
11
|
+
|
|
12
|
+
// Replace NULL characters
|
|
13
|
+
str = str.replace(NULL_RE, '\uFFFD');
|
|
14
|
+
|
|
15
|
+
state.src = str;
|
|
16
|
+
};
|
|
17
|
+
|
|
18
|
+
export { normalize as n };
|
|
19
|
+
//# sourceMappingURL=normalize.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"normalize.mjs","sources":["../../../../../../../../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/normalize.js"],"sourcesContent":["// Normalize input string\n\n'use strict';\n\n\n// https://spec.commonmark.org/0.29/#line-ending\nvar NEWLINES_RE = /\\r\\n?|\\n/g;\nvar NULL_RE = /\\0/g;\n\n\nmodule.exports = function normalize(state) {\n var str;\n\n // Normalize newlines\n str = state.src.replace(NEWLINES_RE, '\\n');\n\n // Replace NULL characters\n str = str.replace(NULL_RE, '\\uFFFD');\n\n state.src = str;\n};\n"],"names":[],"mappings":"AAKA;AACA,IAAI,WAAW,IAAI,WAAW,CAAA;AAC9B,IAAI,OAAO,QAAQ,KAAK,CAAA;;;AAGxB,IAAA,SAAc,GAAG,SAAS,SAAS,CAAC,KAAK,EAAE;AAC3C,EAAE,IAAI,GAAG,CAAA;;AAET;AACA,EAAE,GAAG,GAAG,KAAK,CAAC,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,IAAI,CAAC,CAAA;;AAE5C;AACA,EAAE,GAAG,GAAG,GAAG,CAAC,OAAO,CAAC,OAAO,EAAE,QAAQ,CAAC,CAAA;;AAEtC,EAAE,KAAK,CAAC,GAAG,GAAG,GAAG,CAAA;AACjB;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
// TODO:
|
|
2
|
+
// - fractionals 1/2, 1/4, 3/4 -> ½, ¼, ¾
|
|
3
|
+
// - miltiplication 2 x 4 -> 2 × 4
|
|
4
|
+
|
|
5
|
+
var RARE_RE = /\+-|\.\.|\?\?\?\?|!!!!|,,|--/;
|
|
6
|
+
|
|
7
|
+
// Workaround for phantomjs - need regex without /g flag,
|
|
8
|
+
// or root check will fail every second time
|
|
9
|
+
var SCOPED_ABBR_TEST_RE = /\((c|tm|r|p)\)/i;
|
|
10
|
+
|
|
11
|
+
var SCOPED_ABBR_RE = /\((c|tm|r|p)\)/ig;
|
|
12
|
+
var SCOPED_ABBR = {
|
|
13
|
+
c: '©',
|
|
14
|
+
r: '®',
|
|
15
|
+
p: '§',
|
|
16
|
+
tm: '™'
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
function replaceFn(match, name) {
|
|
20
|
+
return SCOPED_ABBR[name.toLowerCase()];
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
function replace_scoped(inlineTokens) {
|
|
24
|
+
var i, token, inside_autolink = 0;
|
|
25
|
+
|
|
26
|
+
for (i = inlineTokens.length - 1; i >= 0; i--) {
|
|
27
|
+
token = inlineTokens[i];
|
|
28
|
+
|
|
29
|
+
if (token.type === 'text' && !inside_autolink) {
|
|
30
|
+
token.content = token.content.replace(SCOPED_ABBR_RE, replaceFn);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
if (token.type === 'link_open' && token.info === 'auto') {
|
|
34
|
+
inside_autolink--;
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
if (token.type === 'link_close' && token.info === 'auto') {
|
|
38
|
+
inside_autolink++;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
function replace_rare(inlineTokens) {
|
|
44
|
+
var i, token, inside_autolink = 0;
|
|
45
|
+
|
|
46
|
+
for (i = inlineTokens.length - 1; i >= 0; i--) {
|
|
47
|
+
token = inlineTokens[i];
|
|
48
|
+
|
|
49
|
+
if (token.type === 'text' && !inside_autolink) {
|
|
50
|
+
if (RARE_RE.test(token.content)) {
|
|
51
|
+
token.content = token.content
|
|
52
|
+
.replace(/\+-/g, '±')
|
|
53
|
+
// .., ..., ....... -> …
|
|
54
|
+
// but ?..... & !..... -> ?.. & !..
|
|
55
|
+
.replace(/\.{2,}/g, '…').replace(/([?!])…/g, '$1..')
|
|
56
|
+
.replace(/([?!]){4,}/g, '$1$1$1').replace(/,{2,}/g, ',')
|
|
57
|
+
// em-dash
|
|
58
|
+
.replace(/(^|[^-])---(?=[^-]|$)/mg, '$1\u2014')
|
|
59
|
+
// en-dash
|
|
60
|
+
.replace(/(^|\s)--(?=\s|$)/mg, '$1\u2013')
|
|
61
|
+
.replace(/(^|[^-\s])--(?=[^-\s]|$)/mg, '$1\u2013');
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
if (token.type === 'link_open' && token.info === 'auto') {
|
|
66
|
+
inside_autolink--;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
if (token.type === 'link_close' && token.info === 'auto') {
|
|
70
|
+
inside_autolink++;
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
var replacements = function replace(state) {
|
|
77
|
+
var blkIdx;
|
|
78
|
+
|
|
79
|
+
if (!state.md.options.typographer) { return; }
|
|
80
|
+
|
|
81
|
+
for (blkIdx = state.tokens.length - 1; blkIdx >= 0; blkIdx--) {
|
|
82
|
+
|
|
83
|
+
if (state.tokens[blkIdx].type !== 'inline') { continue; }
|
|
84
|
+
|
|
85
|
+
if (SCOPED_ABBR_TEST_RE.test(state.tokens[blkIdx].content)) {
|
|
86
|
+
replace_scoped(state.tokens[blkIdx].children);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
if (RARE_RE.test(state.tokens[blkIdx].content)) {
|
|
90
|
+
replace_rare(state.tokens[blkIdx].children);
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
}
|
|
94
|
+
};
|
|
95
|
+
|
|
96
|
+
export { replacements as r };
|
|
97
|
+
//# sourceMappingURL=replacements.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"replacements.mjs","sources":["../../../../../../../../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/replacements.js"],"sourcesContent":["// Simple typographic replacements\n//\n// (c) (C) → ©\n// (tm) (TM) → ™\n// (r) (R) → ®\n// +- → ±\n// (p) (P) -> §\n// ... → … (also ?.... → ?.., !.... → !..)\n// ???????? → ???, !!!!! → !!!, `,,` → `,`\n// -- → –, --- → —\n//\n'use strict';\n\n// TODO:\n// - fractionals 1/2, 1/4, 3/4 -> ½, ¼, ¾\n// - miltiplication 2 x 4 -> 2 × 4\n\nvar RARE_RE = /\\+-|\\.\\.|\\?\\?\\?\\?|!!!!|,,|--/;\n\n// Workaround for phantomjs - need regex without /g flag,\n// or root check will fail every second time\nvar SCOPED_ABBR_TEST_RE = /\\((c|tm|r|p)\\)/i;\n\nvar SCOPED_ABBR_RE = /\\((c|tm|r|p)\\)/ig;\nvar SCOPED_ABBR = {\n c: '©',\n r: '®',\n p: '§',\n tm: '™'\n};\n\nfunction replaceFn(match, name) {\n return SCOPED_ABBR[name.toLowerCase()];\n}\n\nfunction replace_scoped(inlineTokens) {\n var i, token, inside_autolink = 0;\n\n for (i = inlineTokens.length - 1; i >= 0; i--) {\n token = inlineTokens[i];\n\n if (token.type === 'text' && !inside_autolink) {\n token.content = token.content.replace(SCOPED_ABBR_RE, replaceFn);\n }\n\n if (token.type === 'link_open' && token.info === 'auto') {\n inside_autolink--;\n }\n\n if (token.type === 'link_close' && token.info === 'auto') {\n inside_autolink++;\n }\n }\n}\n\nfunction replace_rare(inlineTokens) {\n var i, token, inside_autolink = 0;\n\n for (i = inlineTokens.length - 1; i >= 0; i--) {\n token = inlineTokens[i];\n\n if (token.type === 'text' && !inside_autolink) {\n if (RARE_RE.test(token.content)) {\n token.content = token.content\n .replace(/\\+-/g, '±')\n // .., ..., ....... -> …\n // but ?..... & !..... -> ?.. & !..\n .replace(/\\.{2,}/g, '…').replace(/([?!])…/g, '$1..')\n .replace(/([?!]){4,}/g, '$1$1$1').replace(/,{2,}/g, ',')\n // em-dash\n .replace(/(^|[^-])---(?=[^-]|$)/mg, '$1\\u2014')\n // en-dash\n .replace(/(^|\\s)--(?=\\s|$)/mg, '$1\\u2013')\n .replace(/(^|[^-\\s])--(?=[^-\\s]|$)/mg, '$1\\u2013');\n }\n }\n\n if (token.type === 'link_open' && token.info === 'auto') {\n inside_autolink--;\n }\n\n if (token.type === 'link_close' && token.info === 'auto') {\n inside_autolink++;\n }\n }\n}\n\n\nmodule.exports = function replace(state) {\n var blkIdx;\n\n if (!state.md.options.typographer) { return; }\n\n for (blkIdx = state.tokens.length - 1; blkIdx >= 0; blkIdx--) {\n\n if (state.tokens[blkIdx].type !== 'inline') { continue; }\n\n if (SCOPED_ABBR_TEST_RE.test(state.tokens[blkIdx].content)) {\n replace_scoped(state.tokens[blkIdx].children);\n }\n\n if (RARE_RE.test(state.tokens[blkIdx].content)) {\n replace_rare(state.tokens[blkIdx].children);\n }\n\n }\n};\n"],"names":[],"mappings":"AAaA;AACA;AACA;;AAEA,IAAI,OAAO,GAAG,8BAA8B,CAAA;;AAE5C;AACA;AACA,IAAI,mBAAmB,GAAG,iBAAiB,CAAA;;AAE3C,IAAI,cAAc,GAAG,kBAAkB,CAAA;AACvC,IAAI,WAAW,GAAG;AAClB,EAAE,CAAC,EAAE,GAAG;AACR,EAAE,CAAC,EAAE,GAAG;AACR,EAAE,CAAC,EAAE,GAAG;AACR,EAAE,EAAE,EAAE,GAAA;AACN,CAAC,CAAA;;AAED,SAAS,SAAS,CAAC,KAAK,EAAE,IAAI,EAAE;AAChC,EAAE,OAAO,WAAW,CAAC,IAAI,CAAC,WAAW,EAAE,CAAC,CAAA;AACxC,CAAA;;AAEA,SAAS,cAAc,CAAC,YAAY,EAAE;AACtC,EAAE,IAAI,CAAC,EAAE,KAAK,EAAE,eAAe,GAAG,CAAC,CAAA;;AAEnC,EAAE,KAAK,CAAC,GAAG,YAAY,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE;AACjD,IAAI,KAAK,GAAG,YAAY,CAAC,CAAC,CAAC,CAAA;;AAE3B,IAAI,IAAI,KAAK,CAAC,IAAI,KAAK,MAAM,IAAI,CAAC,eAAe,EAAE;AACnD,MAAM,KAAK,CAAC,OAAO,GAAG,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,cAAc,EAAE,SAAS,CAAC,CAAA;AACtE,KAAA;;AAEA,IAAI,IAAI,KAAK,CAAC,IAAI,KAAK,WAAW,IAAI,KAAK,CAAC,IAAI,KAAK,MAAM,EAAE;AAC7D,MAAM,eAAe,EAAE,CAAA;AACvB,KAAA;;AAEA,IAAI,IAAI,KAAK,CAAC,IAAI,KAAK,YAAY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M,EAAE;AAC9D,MAAM,eAAe,EAAE,CAAA;AACvB,KAAA;AACA,GAAA;AACA,CAAA;;;AAGA,IAAA,YAAc,GAAG,SAAS,OAAO,CAAC,KAAK,EAAE;AACzC,EAAE,IAAI,MAAM,CAAA;;AAEZ,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,OAAO,CAAC,WAAW,EAAE,EAAE,OAAO,EAAA;;AAE9C,EAAE,KAAK,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,MAAM,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE;;AAEhE,IAAI,IAAI,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,KAAK,QAAQ,EAAE,EAAE,SAAS,EAAA;;AAE3D,IAAI,IAAI,mBAAmB,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,EAAE;AAChE,MAAM,cAAc,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,CAAA;AACnD,KAAA;;AAEA,IAAI,IAAI,OAAO,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,EAAE;AACpD,MAAM,YAAY,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,CAAA;AACjD,KAAA;;AAEA,GAAA;AACA;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,202 @@
|
|
|
1
|
+
import { __exports as utils } from '../../../../../../../_virtual/utils.mjs';
|
|
2
|
+
import '../common/utils.mjs';
|
|
3
|
+
|
|
4
|
+
var isWhiteSpace = utils.isWhiteSpace;
|
|
5
|
+
var isPunctChar = utils.isPunctChar;
|
|
6
|
+
var isMdAsciiPunct = utils.isMdAsciiPunct;
|
|
7
|
+
|
|
8
|
+
var QUOTE_TEST_RE = /['"]/;
|
|
9
|
+
var QUOTE_RE = /['"]/g;
|
|
10
|
+
var APOSTROPHE = '\u2019'; /* ’ */
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
function replaceAt(str, index, ch) {
|
|
14
|
+
return str.substr(0, index) + ch + str.substr(index + 1);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
function process_inlines(tokens, state) {
|
|
18
|
+
var i, token, text, t, pos, max, thisLevel, item, lastChar, nextChar,
|
|
19
|
+
isLastPunctChar, isNextPunctChar, isLastWhiteSpace, isNextWhiteSpace,
|
|
20
|
+
canOpen, canClose, j, isSingle, stack, openQuote, closeQuote;
|
|
21
|
+
|
|
22
|
+
stack = [];
|
|
23
|
+
|
|
24
|
+
for (i = 0; i < tokens.length; i++) {
|
|
25
|
+
token = tokens[i];
|
|
26
|
+
|
|
27
|
+
thisLevel = tokens[i].level;
|
|
28
|
+
|
|
29
|
+
for (j = stack.length - 1; j >= 0; j--) {
|
|
30
|
+
if (stack[j].level <= thisLevel) { break; }
|
|
31
|
+
}
|
|
32
|
+
stack.length = j + 1;
|
|
33
|
+
|
|
34
|
+
if (token.type !== 'text') { continue; }
|
|
35
|
+
|
|
36
|
+
text = token.content;
|
|
37
|
+
pos = 0;
|
|
38
|
+
max = text.length;
|
|
39
|
+
|
|
40
|
+
/*eslint no-labels:0,block-scoped-var:0*/
|
|
41
|
+
OUTER:
|
|
42
|
+
while (pos < max) {
|
|
43
|
+
QUOTE_RE.lastIndex = pos;
|
|
44
|
+
t = QUOTE_RE.exec(text);
|
|
45
|
+
if (!t) { break; }
|
|
46
|
+
|
|
47
|
+
canOpen = canClose = true;
|
|
48
|
+
pos = t.index + 1;
|
|
49
|
+
isSingle = (t[0] === "'");
|
|
50
|
+
|
|
51
|
+
// Find previous character,
|
|
52
|
+
// default to space if it's the beginning of the line
|
|
53
|
+
//
|
|
54
|
+
lastChar = 0x20;
|
|
55
|
+
|
|
56
|
+
if (t.index - 1 >= 0) {
|
|
57
|
+
lastChar = text.charCodeAt(t.index - 1);
|
|
58
|
+
} else {
|
|
59
|
+
for (j = i - 1; j >= 0; j--) {
|
|
60
|
+
if (tokens[j].type === 'softbreak' || tokens[j].type === 'hardbreak') break; // lastChar defaults to 0x20
|
|
61
|
+
if (!tokens[j].content) continue; // should skip all tokens except 'text', 'html_inline' or 'code_inline'
|
|
62
|
+
|
|
63
|
+
lastChar = tokens[j].content.charCodeAt(tokens[j].content.length - 1);
|
|
64
|
+
break;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
// Find next character,
|
|
69
|
+
// default to space if it's the end of the line
|
|
70
|
+
//
|
|
71
|
+
nextChar = 0x20;
|
|
72
|
+
|
|
73
|
+
if (pos < max) {
|
|
74
|
+
nextChar = text.charCodeAt(pos);
|
|
75
|
+
} else {
|
|
76
|
+
for (j = i + 1; j < tokens.length; j++) {
|
|
77
|
+
if (tokens[j].type === 'softbreak' || tokens[j].type === 'hardbreak') break; // nextChar defaults to 0x20
|
|
78
|
+
if (!tokens[j].content) continue; // should skip all tokens except 'text', 'html_inline' or 'code_inline'
|
|
79
|
+
|
|
80
|
+
nextChar = tokens[j].content.charCodeAt(0);
|
|
81
|
+
break;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
isLastPunctChar = isMdAsciiPunct(lastChar) || isPunctChar(String.fromCharCode(lastChar));
|
|
86
|
+
isNextPunctChar = isMdAsciiPunct(nextChar) || isPunctChar(String.fromCharCode(nextChar));
|
|
87
|
+
|
|
88
|
+
isLastWhiteSpace = isWhiteSpace(lastChar);
|
|
89
|
+
isNextWhiteSpace = isWhiteSpace(nextChar);
|
|
90
|
+
|
|
91
|
+
if (isNextWhiteSpace) {
|
|
92
|
+
canOpen = false;
|
|
93
|
+
} else if (isNextPunctChar) {
|
|
94
|
+
if (!(isLastWhiteSpace || isLastPunctChar)) {
|
|
95
|
+
canOpen = false;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
if (isLastWhiteSpace) {
|
|
100
|
+
canClose = false;
|
|
101
|
+
} else if (isLastPunctChar) {
|
|
102
|
+
if (!(isNextWhiteSpace || isNextPunctChar)) {
|
|
103
|
+
canClose = false;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
if (nextChar === 0x22 /* " */ && t[0] === '"') {
|
|
108
|
+
if (lastChar >= 0x30 /* 0 */ && lastChar <= 0x39 /* 9 */) {
|
|
109
|
+
// special case: 1"" - count first quote as an inch
|
|
110
|
+
canClose = canOpen = false;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
if (canOpen && canClose) {
|
|
115
|
+
// Replace quotes in the middle of punctuation sequence, but not
|
|
116
|
+
// in the middle of the words, i.e.:
|
|
117
|
+
//
|
|
118
|
+
// 1. foo " bar " baz - not replaced
|
|
119
|
+
// 2. foo-"-bar-"-baz - replaced
|
|
120
|
+
// 3. foo"bar"baz - not replaced
|
|
121
|
+
//
|
|
122
|
+
canOpen = isLastPunctChar;
|
|
123
|
+
canClose = isNextPunctChar;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
if (!canOpen && !canClose) {
|
|
127
|
+
// middle of word
|
|
128
|
+
if (isSingle) {
|
|
129
|
+
token.content = replaceAt(token.content, t.index, APOSTROPHE);
|
|
130
|
+
}
|
|
131
|
+
continue;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
if (canClose) {
|
|
135
|
+
// this could be a closing quote, rewind the stack to get a match
|
|
136
|
+
for (j = stack.length - 1; j >= 0; j--) {
|
|
137
|
+
item = stack[j];
|
|
138
|
+
if (stack[j].level < thisLevel) { break; }
|
|
139
|
+
if (item.single === isSingle && stack[j].level === thisLevel) {
|
|
140
|
+
item = stack[j];
|
|
141
|
+
|
|
142
|
+
if (isSingle) {
|
|
143
|
+
openQuote = state.md.options.quotes[2];
|
|
144
|
+
closeQuote = state.md.options.quotes[3];
|
|
145
|
+
} else {
|
|
146
|
+
openQuote = state.md.options.quotes[0];
|
|
147
|
+
closeQuote = state.md.options.quotes[1];
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
// replace token.content *before* tokens[item.token].content,
|
|
151
|
+
// because, if they are pointing at the same token, replaceAt
|
|
152
|
+
// could mess up indices when quote length != 1
|
|
153
|
+
token.content = replaceAt(token.content, t.index, closeQuote);
|
|
154
|
+
tokens[item.token].content = replaceAt(
|
|
155
|
+
tokens[item.token].content, item.pos, openQuote);
|
|
156
|
+
|
|
157
|
+
pos += closeQuote.length - 1;
|
|
158
|
+
if (item.token === i) { pos += openQuote.length - 1; }
|
|
159
|
+
|
|
160
|
+
text = token.content;
|
|
161
|
+
max = text.length;
|
|
162
|
+
|
|
163
|
+
stack.length = j;
|
|
164
|
+
continue OUTER;
|
|
165
|
+
}
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
if (canOpen) {
|
|
170
|
+
stack.push({
|
|
171
|
+
token: i,
|
|
172
|
+
pos: t.index,
|
|
173
|
+
single: isSingle,
|
|
174
|
+
level: thisLevel
|
|
175
|
+
});
|
|
176
|
+
} else if (canClose && isSingle) {
|
|
177
|
+
token.content = replaceAt(token.content, t.index, APOSTROPHE);
|
|
178
|
+
}
|
|
179
|
+
}
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
|
|
184
|
+
var smartquotes = function smartquotes(state) {
|
|
185
|
+
/*eslint max-depth:0*/
|
|
186
|
+
var blkIdx;
|
|
187
|
+
|
|
188
|
+
if (!state.md.options.typographer) { return; }
|
|
189
|
+
|
|
190
|
+
for (blkIdx = state.tokens.length - 1; blkIdx >= 0; blkIdx--) {
|
|
191
|
+
|
|
192
|
+
if (state.tokens[blkIdx].type !== 'inline' ||
|
|
193
|
+
!QUOTE_TEST_RE.test(state.tokens[blkIdx].content)) {
|
|
194
|
+
continue;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
process_inlines(state.tokens[blkIdx].children, state);
|
|
198
|
+
}
|
|
199
|
+
};
|
|
200
|
+
|
|
201
|
+
export { smartquotes as s };
|
|
202
|
+
//# sourceMappingURL=smartquotes.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"smartquotes.mjs","sources":["../../../../../../../../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/smartquotes.js"],"sourcesContent":["// Convert straight quotation marks to typographic ones\n//\n'use strict';\n\n\nvar isWhiteSpace = require('../common/utils').isWhiteSpace;\nvar isPunctChar = require('../common/utils').isPunctChar;\nvar isMdAsciiPunct = require('../common/utils').isMdAsciiPunct;\n\nvar QUOTE_TEST_RE = /['\"]/;\nvar QUOTE_RE = /['\"]/g;\nvar APOSTROPHE = '\\u2019'; /* ’ */\n\n\nfunction replaceAt(str, index, ch) {\n return str.substr(0, index) + ch + str.substr(index + 1);\n}\n\nfunction process_inlines(tokens, state) {\n var i, token, text, t, pos, max, thisLevel, item, lastChar, nextChar,\n isLastPunctChar, isNextPunctChar, isLastWhiteSpace, isNextWhiteSpace,\n canOpen, canClose, j, isSingle, stack, openQuote, closeQuote;\n\n stack = [];\n\n for (i = 0; i < tokens.length; i++) {\n token = tokens[i];\n\n thisLevel = tokens[i].level;\n\n for (j = stack.length - 1; j >= 0; j--) {\n if (stack[j].level <= thisLevel) { break; }\n }\n stack.length = j + 1;\n\n if (token.type !== 'text') { continue; }\n\n text = token.content;\n pos = 0;\n max = text.length;\n\n /*eslint no-labels:0,block-scoped-var:0*/\n OUTER:\n while (pos < max) {\n QUOTE_RE.lastIndex = pos;\n t = QUOTE_RE.exec(text);\n if (!t) { break; }\n\n canOpen = canClose = true;\n pos = t.index + 1;\n isSingle = (t[0] === \"'\");\n\n // Find previous character,\n // default to space if it's the beginning of the line\n //\n lastChar = 0x20;\n\n if (t.index - 1 >= 0) {\n lastChar = text.charCodeAt(t.index - 1);\n } else {\n for (j = i - 1; j >= 0; j--) {\n if (tokens[j].type === 'softbreak' || tokens[j].type === 'hardbreak') break; // lastChar defaults to 0x20\n if (!tokens[j].content) continue; // should skip all tokens except 'text', 'html_inline' or 'code_inline'\n\n lastChar = tokens[j].content.charCodeAt(tokens[j].content.length - 1);\n break;\n }\n }\n\n // Find next character,\n // default to space if it's the end of the line\n //\n nextChar = 0x20;\n\n if (pos < max) {\n nextChar = text.charCodeAt(pos);\n } else {\n for (j = i + 1; j < tokens.length; j++) {\n if (tokens[j].type === 'softbreak' || tokens[j].type === 'hardbreak') break; // nextChar defaults to 0x20\n if (!tokens[j].content) continue; // should skip all tokens except 'text', 'html_inline' or 'code_inline'\n\n nextChar = tokens[j].content.charCodeAt(0);\n break;\n }\n }\n\n isLastPunctChar = isMdAsciiPunct(lastChar) || isPunctChar(String.fromCharCode(lastChar));\n isNextPunctChar = isMdAsciiPunct(nextChar) || isPunctChar(String.fromCharCode(nextChar));\n\n isLastWhiteSpace = isWhiteSpace(lastChar);\n isNextWhiteSpace = isWhiteSpace(nextChar);\n\n if (isNextWhiteSpace) {\n canOpen = false;\n } else if (isNextPunctChar) {\n if (!(isLastWhiteSpace || isLastPunctChar)) {\n canOpen = false;\n }\n }\n\n if (isLastWhiteSpace) {\n canClose = false;\n } else if (isLastPunctChar) {\n if (!(isNextWhiteSpace || isNextPunctChar)) {\n canClose = false;\n }\n }\n\n if (nextChar === 0x22 /* \" */ && t[0] === '\"') {\n if (lastChar >= 0x30 /* 0 */ && lastChar <= 0x39 /* 9 */) {\n // special case: 1\"\" - count first quote as an inch\n canClose = canOpen = false;\n }\n }\n\n if (canOpen && canClose) {\n // Replace quotes in the middle of punctuation sequence, but not\n // in the middle of the words, i.e.:\n //\n // 1. foo \" bar \" baz - not replaced\n // 2. foo-\"-bar-\"-baz - replaced\n // 3. foo\"bar\"baz - not replaced\n //\n canOpen = isLastPunctChar;\n canClose = isNextPunctChar;\n }\n\n if (!canOpen && !canClose) {\n // middle of word\n if (isSingle) {\n token.content = replaceAt(token.content, t.index, APOSTROPHE);\n }\n continue;\n }\n\n if (canClose) {\n // this could be a closing quote, rewind the stack to get a match\n for (j = stack.length - 1; j >= 0; j--) {\n item = stack[j];\n if (stack[j].level < thisLevel) { break; }\n if (item.single === isSingle && stack[j].level === thisLevel) {\n item = stack[j];\n\n if (isSingle) {\n openQuote = state.md.options.quotes[2];\n closeQuote = state.md.options.quotes[3];\n } else {\n openQuote = state.md.options.quotes[0];\n closeQuote = state.md.options.quotes[1];\n }\n\n // replace token.content *before* tokens[item.token].content,\n // because, if they are pointing at the same token, replaceAt\n // could mess up indices when quote length != 1\n token.content = replaceAt(token.content, t.index, closeQuote);\n tokens[item.token].content = replaceAt(\n tokens[item.token].content, item.pos, openQuote);\n\n pos += closeQuote.length - 1;\n if (item.token === i) { pos += openQuote.length - 1; }\n\n text = token.content;\n max = text.length;\n\n stack.length = j;\n continue OUTER;\n }\n }\n }\n\n if (canOpen) {\n stack.push({\n token: i,\n pos: t.index,\n single: isSingle,\n level: thisLevel\n });\n } else if (canClose && isSingle) {\n token.content = replaceAt(token.content, t.index, APOSTROPHE);\n }\n }\n }\n}\n\n\nmodule.exports = function smartquotes(state) {\n /*eslint max-depth:0*/\n var blkIdx;\n\n if (!state.md.options.typographer) { return; }\n\n for (blkIdx = state.tokens.length - 1; blkIdx >= 0; blkIdx--) {\n\n if (state.tokens[blkIdx].type !== 'inline' ||\n !QUOTE_TEST_RE.test(state.tokens[blkIdx].content)) {\n continue;\n }\n\n process_inlines(state.tokens[blkIdx].children, state);\n }\n};\n"],"names":["require$$0"],"mappings":";;;AAKA,IAAI,YAAY,KAAKA,KAA0B,CAAC,YAAY,CAAA;AAC5D,IAAI,WAAW,MAAMA,KAA0B,CAAC,WAAW,CAAA;AAC3D,IAAI,cAAc,GAAGA,KAA0B,CAAC,cAAc,CAAA;;AAE9D,IAAI,aAAa,GAAG,MAAM,CAAA;AAC1B,IAAI,QAAQ,GAAG,OAAO,CAAA;AACtB,IAAI,UAAU,GAAG,QAAQ,CAAC;;;AAG1B,SAAS,SAAS,CAAC,GAAG,EAAE,KAA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,UAAU,KAAK,EAAE,CAAC;AAClB,UAAU,GAAG,EAAE,CAAC,CAAC,KAAK;AACtB,UAAU,MAAM,EAAE,QAAQ;AAC1B,UAAU,KAAK,EAAE,SAAA;AACjB,SAAS,CAAC,CAAA;AACV,OAAO,MAAM,IAAI,QAAQ,IAAI,QAAQ,EAAE;AACvC,QAAQ,KAAK,CAAC,OAAO,GAAG,SAAS,CAAC,KAAK,CAAC,OAAO,EAAE,CAAC,CAAC,KAAK,EAAE,UAAU,CAAC,CAAA;AACrE,OAAA;AACA,KAAA;AACA,GAAA;AACA,CAAA;;;AAGA,IAAA,WAAc,GAAG,SAAS,WAAW,CAAC,KAAK,EAAE;AAC7C;AACA,EAAE,IAAI,MAAM,CAAA;;AAEZ,EAAE,IAAI,CAAC,KAAK,CAAC,EAAE,CAAC,OAAO,CAAC,WAAW,EAAE,EAAE,OAAO,EAAA;;AAE9C,EAAE,KAAK,MAAM,GAAG,KAAK,CAAC,MAAM,CAAC,MAAM,GAAG,CAAC,EAAE,MAAM,IAAI,CAAC,EAAE,MAAM,EAAE,EAAE;;AAEhE,IAAI,IAAI,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,IAAI,KAAK,QAAQ;AAC9C,QAAQ,CAAC,aAAa,CAAC,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,OAAO,CAAC,EAAE;AAC3D,MAAM,SAAA;AACN,KAAA;;AAEA,IAAI,eAAe,CAAC,KAAK,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,KAAK,CAAC,CAAA;AACzD,GAAA;AACA;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { t as token } from '../token.mjs';
|
|
2
|
+
|
|
3
|
+
var Token = token;
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
function StateCore(src, md, env) {
|
|
7
|
+
this.src = src;
|
|
8
|
+
this.env = env;
|
|
9
|
+
this.tokens = [];
|
|
10
|
+
this.inlineMode = false;
|
|
11
|
+
this.md = md; // link to parser instance
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
// re-export Token class to use in core rules
|
|
15
|
+
StateCore.prototype.Token = Token;
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
var state_core = StateCore;
|
|
19
|
+
|
|
20
|
+
export { state_core as s };
|
|
21
|
+
//# sourceMappingURL=state_core.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"state_core.mjs","sources":["../../../../../../../../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_core/state_core.js"],"sourcesContent":["// Core state object\n//\n'use strict';\n\nvar Token = require('../token');\n\n\nfunction StateCore(src, md, env) {\n this.src = src;\n this.env = env;\n this.tokens = [];\n this.inlineMode = false;\n this.md = md; // link to parser instance\n}\n\n// re-export Token class to use in core rules\nStateCore.prototype.Token = Token;\n\n\nmodule.exports = StateCore;\n"],"names":["require$$0"],"mappings":";;AAIA,IAAI,KAAK,GAAGA,KAAmB,CAAA;;;AAG/B,SAAS,SAAS,CAAC,GAAG,EAAE,EAAE,EAAE,GAAG,EAAE;AACjC,EAAE,IAAI,CAAC,GAAG,GAAG,GAAG,CAAA;AAChB,EAAE,IAAI,CAAC,GAAG,GAAG,GAAG,CAAA;AAChB,EAAE,IAAI,CAAC,MAAM,GAAG,EAAE,CAAA;AAClB,EAAE,IAAI,CAAC,UAAU,GAAG,KAAK,CAAA;AACzB,EAAE,IAAI,CAAC,EAAE,GAAG,EAAE,CAAC;AACf,CAAA;;AAEA;AACA,SAAS,CAAC,SAAS,CAAC,KAAK,GAAG,KAAK,CAAA;;;AAGjC,IAAA,UAAc,GAAG;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
/*eslint max-len:0*/
|
|
2
|
+
var EMAIL_RE = /^([a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/;
|
|
3
|
+
var AUTOLINK_RE = /^([a-zA-Z][a-zA-Z0-9+.\-]{1,31}):([^<>\x00-\x20]*)$/;
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var autolink = function autolink(state, silent) {
|
|
7
|
+
var url, fullUrl, token, ch, start, max,
|
|
8
|
+
pos = state.pos;
|
|
9
|
+
|
|
10
|
+
if (state.src.charCodeAt(pos) !== 0x3C/* < */) { return false; }
|
|
11
|
+
|
|
12
|
+
start = state.pos;
|
|
13
|
+
max = state.posMax;
|
|
14
|
+
|
|
15
|
+
for (;;) {
|
|
16
|
+
if (++pos >= max) return false;
|
|
17
|
+
|
|
18
|
+
ch = state.src.charCodeAt(pos);
|
|
19
|
+
|
|
20
|
+
if (ch === 0x3C /* < */) return false;
|
|
21
|
+
if (ch === 0x3E /* > */) break;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
url = state.src.slice(start + 1, pos);
|
|
25
|
+
|
|
26
|
+
if (AUTOLINK_RE.test(url)) {
|
|
27
|
+
fullUrl = state.md.normalizeLink(url);
|
|
28
|
+
if (!state.md.validateLink(fullUrl)) { return false; }
|
|
29
|
+
|
|
30
|
+
if (!silent) {
|
|
31
|
+
token = state.push('link_open', 'a', 1);
|
|
32
|
+
token.attrs = [ [ 'href', fullUrl ] ];
|
|
33
|
+
token.markup = 'autolink';
|
|
34
|
+
token.info = 'auto';
|
|
35
|
+
|
|
36
|
+
token = state.push('text', '', 0);
|
|
37
|
+
token.content = state.md.normalizeLinkText(url);
|
|
38
|
+
|
|
39
|
+
token = state.push('link_close', 'a', -1);
|
|
40
|
+
token.markup = 'autolink';
|
|
41
|
+
token.info = 'auto';
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
state.pos += url.length + 2;
|
|
45
|
+
return true;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
if (EMAIL_RE.test(url)) {
|
|
49
|
+
fullUrl = state.md.normalizeLink('mailto:' + url);
|
|
50
|
+
if (!state.md.validateLink(fullUrl)) { return false; }
|
|
51
|
+
|
|
52
|
+
if (!silent) {
|
|
53
|
+
token = state.push('link_open', 'a', 1);
|
|
54
|
+
token.attrs = [ [ 'href', fullUrl ] ];
|
|
55
|
+
token.markup = 'autolink';
|
|
56
|
+
token.info = 'auto';
|
|
57
|
+
|
|
58
|
+
token = state.push('text', '', 0);
|
|
59
|
+
token.content = state.md.normalizeLinkText(url);
|
|
60
|
+
|
|
61
|
+
token = state.push('link_close', 'a', -1);
|
|
62
|
+
token.markup = 'autolink';
|
|
63
|
+
token.info = 'auto';
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
state.pos += url.length + 2;
|
|
67
|
+
return true;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
return false;
|
|
71
|
+
};
|
|
72
|
+
|
|
73
|
+
export { autolink as a };
|
|
74
|
+
//# sourceMappingURL=autolink.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autolink.mjs","sources":["../../../../../../../../../node_modules/.pnpm/markdown-it@12.3.2/node_modules/markdown-it/lib/rules_inline/autolink.js"],"sourcesContent":["// Process autolinks '<protocol:...>'\n\n'use strict';\n\n\n/*eslint max-len:0*/\nvar EMAIL_RE = /^([a-zA-Z0-9.!#$%&'*+\\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/;\nvar AUTOLINK_RE = /^([a-zA-Z][a-zA-Z0-9+.\\-]{1,31}):([^<>\\x00-\\x20]*)$/;\n\n\nmodule.exports = function autolink(state, silent) {\n var url, fullUrl, token, ch, start, max,\n pos = state.pos;\n\n if (state.src.charCodeAt(pos) !== 0x3C/* < */) { return false; }\n\n start = state.pos;\n max = state.posMax;\n\n for (;;) {\n if (++pos >= max) return false;\n\n ch = state.src.charCodeAt(pos);\n\n if (ch === 0x3C /* < */) return false;\n if (ch === 0x3E /* > */) break;\n }\n\n url = state.src.slice(start + 1, pos);\n\n if (AUTOLINK_RE.test(url)) {\n fullUrl = state.md.normalizeLink(url);\n if (!state.md.validateLink(fullUrl)) { return false; }\n\n if (!silent) {\n token = state.push('link_open', 'a', 1);\n token.attrs = [ [ 'href', fullUrl ] ];\n token.markup = 'autolink';\n token.info = 'auto';\n\n token = state.push('text', '', 0);\n token.content = state.md.normalizeLinkText(url);\n\n token = state.push('link_close', 'a', -1);\n token.markup = 'autolink';\n token.info = 'auto';\n }\n\n state.pos += url.length + 2;\n return true;\n }\n\n if (EMAIL_RE.test(url)) {\n fullUrl = state.md.normalizeLink('mailto:' + url);\n if (!state.md.validateLink(fullUrl)) { return false; }\n\n if (!silent) {\n token = state.push('link_open', 'a', 1);\n token.attrs = [ [ 'href', fullUrl ] ];\n token.markup = 'autolink';\n token.info = 'auto';\n\n token = state.push('text', '', 0);\n token.content = state.md.normalizeLinkText(url);\n\n token = state.push('link_close', 'a', -1);\n token.markup = 'autolink';\n token.info = 'auto';\n }\n\n state.pos += url.length + 2;\n return true;\n }\n\n return false;\n};\n"],"names":[],"mappings":"AAKA;AACA,IAAI,QAAQ,MAAM,yIAAyI,CAAA;AAC3J,IAAI,WAAW,GAAG,qDAAqD,CAAA;;;AAGvE,IAAA,QAAc,GAAG,SAAS,QAAQ,CAAC,KAAK,EAAE,MAAM,EAAE;AAClD,EAAE,IAAI,GAAG,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,GAAG;AACzC,MAAM,GAAG,GAAG,KAAK,CAAC,GAAG,CAAA;;AAErB,EAAE,IAAI,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,GAAG,CAAC,KAAK,IAAI,SAAS,EAAE,OAAO,KAAK,CAAC,EAAA;;AAEhE,EAAE,KAAK,GAAG,KAA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