@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-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs
ADDED
|
@@ -0,0 +1,355 @@
|
|
|
1
|
+
// Process footnotes
|
|
2
|
+
//
|
|
3
|
+
|
|
4
|
+
/// /////////////////////////////////////////////////////////////////////////////
|
|
5
|
+
// Renderer partials
|
|
6
|
+
|
|
7
|
+
function render_footnote_anchor_name (tokens, idx, options, env/*, slf */) {
|
|
8
|
+
const n = Number(tokens[idx].meta.id + 1).toString();
|
|
9
|
+
let prefix = '';
|
|
10
|
+
|
|
11
|
+
if (typeof env.docId === 'string') prefix = `-${env.docId}-`;
|
|
12
|
+
|
|
13
|
+
return prefix + n
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
function render_footnote_caption (tokens, idx/*, options, env, slf */) {
|
|
17
|
+
let n = Number(tokens[idx].meta.id + 1).toString();
|
|
18
|
+
|
|
19
|
+
if (tokens[idx].meta.subId > 0) n += `:${tokens[idx].meta.subId}`;
|
|
20
|
+
|
|
21
|
+
return `[${n}]`
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
function render_footnote_ref (tokens, idx, options, env, slf) {
|
|
25
|
+
const id = slf.rules.footnote_anchor_name(tokens, idx, options, env, slf);
|
|
26
|
+
const caption = slf.rules.footnote_caption(tokens, idx, options, env, slf);
|
|
27
|
+
let refid = id;
|
|
28
|
+
|
|
29
|
+
if (tokens[idx].meta.subId > 0) refid += `:${tokens[idx].meta.subId}`;
|
|
30
|
+
|
|
31
|
+
return `<sup class="footnote-ref"><a href="#fn${id}" id="fnref${refid}">${caption}</a></sup>`
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
function render_footnote_block_open (tokens, idx, options) {
|
|
35
|
+
return (options.xhtmlOut ? '<hr class="footnotes-sep" />\n' : '<hr class="footnotes-sep">\n') +
|
|
36
|
+
'<section class="footnotes">\n' +
|
|
37
|
+
'<ol class="footnotes-list">\n'
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
function render_footnote_block_close () {
|
|
41
|
+
return '</ol>\n</section>\n'
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
function render_footnote_open (tokens, idx, options, env, slf) {
|
|
45
|
+
let id = slf.rules.footnote_anchor_name(tokens, idx, options, env, slf);
|
|
46
|
+
|
|
47
|
+
if (tokens[idx].meta.subId > 0) id += `:${tokens[idx].meta.subId}`;
|
|
48
|
+
|
|
49
|
+
return `<li id="fn${id}" class="footnote-item">`
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
function render_footnote_close () {
|
|
53
|
+
return '</li>\n'
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
function render_footnote_anchor (tokens, idx, options, env, slf) {
|
|
57
|
+
let id = slf.rules.footnote_anchor_name(tokens, idx, options, env, slf);
|
|
58
|
+
|
|
59
|
+
if (tokens[idx].meta.subId > 0) id += `:${tokens[idx].meta.subId}`;
|
|
60
|
+
|
|
61
|
+
/* ↩ with escape code to prevent display as Apple Emoji on iOS */
|
|
62
|
+
return ` <a href="#fnref${id}" class="footnote-backref">\u21a9\uFE0E</a>`
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
function footnote_plugin (md) {
|
|
66
|
+
const parseLinkLabel = md.helpers.parseLinkLabel;
|
|
67
|
+
const isSpace = md.utils.isSpace;
|
|
68
|
+
|
|
69
|
+
md.renderer.rules.footnote_ref = render_footnote_ref;
|
|
70
|
+
md.renderer.rules.footnote_block_open = render_footnote_block_open;
|
|
71
|
+
md.renderer.rules.footnote_block_close = render_footnote_block_close;
|
|
72
|
+
md.renderer.rules.footnote_open = render_footnote_open;
|
|
73
|
+
md.renderer.rules.footnote_close = render_footnote_close;
|
|
74
|
+
md.renderer.rules.footnote_anchor = render_footnote_anchor;
|
|
75
|
+
|
|
76
|
+
// helpers (only used in other rules, no tokens are attached to those)
|
|
77
|
+
md.renderer.rules.footnote_caption = render_footnote_caption;
|
|
78
|
+
md.renderer.rules.footnote_anchor_name = render_footnote_anchor_name;
|
|
79
|
+
|
|
80
|
+
// Process footnote block definition
|
|
81
|
+
function footnote_def (state, startLine, endLine, silent) {
|
|
82
|
+
const start = state.bMarks[startLine] + state.tShift[startLine];
|
|
83
|
+
const max = state.eMarks[startLine];
|
|
84
|
+
|
|
85
|
+
// line should be at least 5 chars - "[^x]:"
|
|
86
|
+
if (start + 4 > max) return false
|
|
87
|
+
|
|
88
|
+
if (state.src.charCodeAt(start) !== 0x5B/* [ */) return false
|
|
89
|
+
if (state.src.charCodeAt(start + 1) !== 0x5E/* ^ */) return false
|
|
90
|
+
|
|
91
|
+
let pos;
|
|
92
|
+
|
|
93
|
+
for (pos = start + 2; pos < max; pos++) {
|
|
94
|
+
if (state.src.charCodeAt(pos) === 0x20) return false
|
|
95
|
+
if (state.src.charCodeAt(pos) === 0x5D /* ] */) {
|
|
96
|
+
break
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
if (pos === start + 2) return false // no empty footnote labels
|
|
101
|
+
if (pos + 1 >= max || state.src.charCodeAt(++pos) !== 0x3A /* : */) return false
|
|
102
|
+
if (silent) return true
|
|
103
|
+
pos++;
|
|
104
|
+
|
|
105
|
+
if (!state.env.footnotes) state.env.footnotes = {};
|
|
106
|
+
if (!state.env.footnotes.refs) state.env.footnotes.refs = {};
|
|
107
|
+
const label = state.src.slice(start + 2, pos - 2);
|
|
108
|
+
state.env.footnotes.refs[`:${label}`] = -1;
|
|
109
|
+
|
|
110
|
+
const token_fref_o = new state.Token('footnote_reference_open', '', 1);
|
|
111
|
+
token_fref_o.meta = { label };
|
|
112
|
+
token_fref_o.level = state.level++;
|
|
113
|
+
state.tokens.push(token_fref_o);
|
|
114
|
+
|
|
115
|
+
const oldBMark = state.bMarks[startLine];
|
|
116
|
+
const oldTShift = state.tShift[startLine];
|
|
117
|
+
const oldSCount = state.sCount[startLine];
|
|
118
|
+
const oldParentType = state.parentType;
|
|
119
|
+
|
|
120
|
+
const posAfterColon = pos;
|
|
121
|
+
const initial = state.sCount[startLine] + pos - (state.bMarks[startLine] + state.tShift[startLine]);
|
|
122
|
+
let offset = initial;
|
|
123
|
+
|
|
124
|
+
while (pos < max) {
|
|
125
|
+
const ch = state.src.charCodeAt(pos);
|
|
126
|
+
|
|
127
|
+
if (isSpace(ch)) {
|
|
128
|
+
if (ch === 0x09) {
|
|
129
|
+
offset += 4 - offset % 4;
|
|
130
|
+
} else {
|
|
131
|
+
offset++;
|
|
132
|
+
}
|
|
133
|
+
} else {
|
|
134
|
+
break
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
pos++;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
state.tShift[startLine] = pos - posAfterColon;
|
|
141
|
+
state.sCount[startLine] = offset - initial;
|
|
142
|
+
|
|
143
|
+
state.bMarks[startLine] = posAfterColon;
|
|
144
|
+
state.blkIndent += 4;
|
|
145
|
+
state.parentType = 'footnote';
|
|
146
|
+
|
|
147
|
+
if (state.sCount[startLine] < state.blkIndent) {
|
|
148
|
+
state.sCount[startLine] += state.blkIndent;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
state.md.block.tokenize(state, startLine, endLine, true);
|
|
152
|
+
|
|
153
|
+
state.parentType = oldParentType;
|
|
154
|
+
state.blkIndent -= 4;
|
|
155
|
+
state.tShift[startLine] = oldTShift;
|
|
156
|
+
state.sCount[startLine] = oldSCount;
|
|
157
|
+
state.bMarks[startLine] = oldBMark;
|
|
158
|
+
|
|
159
|
+
const token_fref_c = new state.Token('footnote_reference_close', '', -1);
|
|
160
|
+
token_fref_c.level = --state.level;
|
|
161
|
+
state.tokens.push(token_fref_c);
|
|
162
|
+
|
|
163
|
+
return true
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
// Process inline footnotes (^[...])
|
|
167
|
+
function footnote_inline (state, silent) {
|
|
168
|
+
const max = state.posMax;
|
|
169
|
+
const start = state.pos;
|
|
170
|
+
|
|
171
|
+
if (start + 2 >= max) return false
|
|
172
|
+
if (state.src.charCodeAt(start) !== 0x5E/* ^ */) return false
|
|
173
|
+
if (state.src.charCodeAt(start + 1) !== 0x5B/* [ */) return false
|
|
174
|
+
|
|
175
|
+
const labelStart = start + 2;
|
|
176
|
+
const labelEnd = parseLinkLabel(state, start + 1);
|
|
177
|
+
|
|
178
|
+
// parser failed to find ']', so it's not a valid note
|
|
179
|
+
if (labelEnd < 0) return false
|
|
180
|
+
|
|
181
|
+
// We found the end of the link, and know for a fact it's a valid link;
|
|
182
|
+
// so all that's left to do is to call tokenizer.
|
|
183
|
+
//
|
|
184
|
+
if (!silent) {
|
|
185
|
+
if (!state.env.footnotes) state.env.footnotes = {};
|
|
186
|
+
if (!state.env.footnotes.list) state.env.footnotes.list = [];
|
|
187
|
+
const footnoteId = state.env.footnotes.list.length;
|
|
188
|
+
const tokens = [];
|
|
189
|
+
|
|
190
|
+
state.md.inline.parse(
|
|
191
|
+
state.src.slice(labelStart, labelEnd),
|
|
192
|
+
state.md,
|
|
193
|
+
state.env,
|
|
194
|
+
tokens
|
|
195
|
+
);
|
|
196
|
+
|
|
197
|
+
const token = state.push('footnote_ref', '', 0);
|
|
198
|
+
token.meta = { id: footnoteId };
|
|
199
|
+
|
|
200
|
+
state.env.footnotes.list[footnoteId] = {
|
|
201
|
+
content: state.src.slice(labelStart, labelEnd),
|
|
202
|
+
tokens
|
|
203
|
+
};
|
|
204
|
+
}
|
|
205
|
+
|
|
206
|
+
state.pos = labelEnd + 1;
|
|
207
|
+
state.posMax = max;
|
|
208
|
+
return true
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
// Process footnote references ([^...])
|
|
212
|
+
function footnote_ref (state, silent) {
|
|
213
|
+
const max = state.posMax;
|
|
214
|
+
const start = state.pos;
|
|
215
|
+
|
|
216
|
+
// should be at least 4 chars - "[^x]"
|
|
217
|
+
if (start + 3 > max) return false
|
|
218
|
+
|
|
219
|
+
if (!state.env.footnotes || !state.env.footnotes.refs) return false
|
|
220
|
+
if (state.src.charCodeAt(start) !== 0x5B/* [ */) return false
|
|
221
|
+
if (state.src.charCodeAt(start + 1) !== 0x5E/* ^ */) return false
|
|
222
|
+
|
|
223
|
+
let pos;
|
|
224
|
+
|
|
225
|
+
for (pos = start + 2; pos < max; pos++) {
|
|
226
|
+
if (state.src.charCodeAt(pos) === 0x20) return false
|
|
227
|
+
if (state.src.charCodeAt(pos) === 0x0A) return false
|
|
228
|
+
if (state.src.charCodeAt(pos) === 0x5D /* ] */) {
|
|
229
|
+
break
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
if (pos === start + 2) return false // no empty footnote labels
|
|
234
|
+
if (pos >= max) return false
|
|
235
|
+
pos++;
|
|
236
|
+
|
|
237
|
+
const label = state.src.slice(start + 2, pos - 1);
|
|
238
|
+
if (typeof state.env.footnotes.refs[`:${label}`] === 'undefined') return false
|
|
239
|
+
|
|
240
|
+
if (!silent) {
|
|
241
|
+
if (!state.env.footnotes.list) state.env.footnotes.list = [];
|
|
242
|
+
|
|
243
|
+
let footnoteId;
|
|
244
|
+
|
|
245
|
+
if (state.env.footnotes.refs[`:${label}`] < 0) {
|
|
246
|
+
footnoteId = state.env.footnotes.list.length;
|
|
247
|
+
state.env.footnotes.list[footnoteId] = { label, count: 0 };
|
|
248
|
+
state.env.footnotes.refs[`:${label}`] = footnoteId;
|
|
249
|
+
} else {
|
|
250
|
+
footnoteId = state.env.footnotes.refs[`:${label}`];
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
const footnoteSubId = state.env.footnotes.list[footnoteId].count;
|
|
254
|
+
state.env.footnotes.list[footnoteId].count++;
|
|
255
|
+
|
|
256
|
+
const token = state.push('footnote_ref', '', 0);
|
|
257
|
+
token.meta = { id: footnoteId, subId: footnoteSubId, label };
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
state.pos = pos;
|
|
261
|
+
state.posMax = max;
|
|
262
|
+
return true
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
// Glue footnote tokens to end of token stream
|
|
266
|
+
function footnote_tail (state) {
|
|
267
|
+
let tokens;
|
|
268
|
+
let current;
|
|
269
|
+
let currentLabel;
|
|
270
|
+
let insideRef = false;
|
|
271
|
+
const refTokens = {};
|
|
272
|
+
|
|
273
|
+
if (!state.env.footnotes) { return }
|
|
274
|
+
|
|
275
|
+
state.tokens = state.tokens.filter(function (tok) {
|
|
276
|
+
if (tok.type === 'footnote_reference_open') {
|
|
277
|
+
insideRef = true;
|
|
278
|
+
current = [];
|
|
279
|
+
currentLabel = tok.meta.label;
|
|
280
|
+
return false
|
|
281
|
+
}
|
|
282
|
+
if (tok.type === 'footnote_reference_close') {
|
|
283
|
+
insideRef = false;
|
|
284
|
+
// prepend ':' to avoid conflict with Object.prototype members
|
|
285
|
+
refTokens[':' + currentLabel] = current;
|
|
286
|
+
return false
|
|
287
|
+
}
|
|
288
|
+
if (insideRef) { current.push(tok); }
|
|
289
|
+
return !insideRef
|
|
290
|
+
});
|
|
291
|
+
|
|
292
|
+
if (!state.env.footnotes.list) { return }
|
|
293
|
+
const list = state.env.footnotes.list;
|
|
294
|
+
|
|
295
|
+
state.tokens.push(new state.Token('footnote_block_open', '', 1));
|
|
296
|
+
|
|
297
|
+
for (let i = 0, l = list.length; i < l; i++) {
|
|
298
|
+
const token_fo = new state.Token('footnote_open', '', 1);
|
|
299
|
+
token_fo.meta = { id: i, label: list[i].label };
|
|
300
|
+
state.tokens.push(token_fo);
|
|
301
|
+
|
|
302
|
+
if (list[i].tokens) {
|
|
303
|
+
tokens = [];
|
|
304
|
+
|
|
305
|
+
const token_po = new state.Token('paragraph_open', 'p', 1);
|
|
306
|
+
token_po.block = true;
|
|
307
|
+
tokens.push(token_po);
|
|
308
|
+
|
|
309
|
+
const token_i = new state.Token('inline', '', 0);
|
|
310
|
+
token_i.children = list[i].tokens;
|
|
311
|
+
token_i.content = list[i].content;
|
|
312
|
+
tokens.push(token_i);
|
|
313
|
+
|
|
314
|
+
const token_pc = new state.Token('paragraph_close', 'p', -1);
|
|
315
|
+
token_pc.block = true;
|
|
316
|
+
tokens.push(token_pc);
|
|
317
|
+
} else if (list[i].label) {
|
|
318
|
+
tokens = refTokens[`:${list[i].label}`];
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
if (tokens) state.tokens = state.tokens.concat(tokens);
|
|
322
|
+
|
|
323
|
+
let lastParagraph;
|
|
324
|
+
|
|
325
|
+
if (state.tokens[state.tokens.length - 1].type === 'paragraph_close') {
|
|
326
|
+
lastParagraph = state.tokens.pop();
|
|
327
|
+
} else {
|
|
328
|
+
lastParagraph = null;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
const t = list[i].count > 0 ? list[i].count : 1;
|
|
332
|
+
for (let j = 0; j < t; j++) {
|
|
333
|
+
const token_a = new state.Token('footnote_anchor', '', 0);
|
|
334
|
+
token_a.meta = { id: i, subId: j, label: list[i].label };
|
|
335
|
+
state.tokens.push(token_a);
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
if (lastParagraph) {
|
|
339
|
+
state.tokens.push(lastParagraph);
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
state.tokens.push(new state.Token('footnote_close', '', -1));
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
state.tokens.push(new state.Token('footnote_block_close', '', -1));
|
|
346
|
+
}
|
|
347
|
+
|
|
348
|
+
md.block.ruler.before('reference', 'footnote_def', footnote_def, { alt: ['paragraph', 'reference'] });
|
|
349
|
+
md.inline.ruler.after('image', 'footnote_inline', footnote_inline);
|
|
350
|
+
md.inline.ruler.after('footnote_inline', 'footnote_ref', footnote_ref);
|
|
351
|
+
md.core.ruler.after('inline', 'footnote_tail', footnote_tail);
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
export { footnote_plugin as default };
|
|
355
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../../../node_modules/.pnpm/markdown-it-footnote@4.0.0/node_modules/markdown-it-footnote/index.mjs"],"sourcesContent":["// Process footnotes\n//\n'use strict'\n\n/// /////////////////////////////////////////////////////////////////////////////\n// Renderer partials\n\nfunction render_footnote_anchor_name (tokens, idx, options, env/*, slf */) {\n const n = Number(tokens[idx].meta.id + 1).toString()\n let prefix = ''\n\n if (typeof env.docId === 'string') prefix = `-${env.docId}-`\n\n return prefix + n\n}\n\nfunction render_footnote_caption (tokens, idx/*, options, env, slf */) {\n let n = Number(tokens[idx].meta.id + 1).toString()\n\n if (tokens[idx].meta.subId > 0) n += `:${tokens[idx].meta.subId}`\n\n return `[${n}]`\n}\n\nfunction render_footnote_ref (tokens, idx, options, env, slf) {\n const id = slf.rules.footnote_anchor_name(tokens, idx, options, env, slf)\n const caption = slf.rules.footnote_caption(tokens, idx, options, env, slf)\n let refid = id\n\n if (tokens[idx].meta.subId > 0) refid += `:${tokens[idx].meta.subId}`\n\n return `<sup class=\"footnote-ref\"><a href=\"#fn${id}\" id=\"fnref${refid}\">${caption}</a></sup>`\n}\n\nfunction render_footnote_block_open (tokens, idx, options) {\n return (options.xhtmlOut ? '<hr class=\"footnotes-sep\" />\\n' : '<hr class=\"footnotes-sep\">\\n') +\n '<section class=\"footnotes\">\\n' +\n '<ol class=\"footnotes-list\">\\n'\n}\n\nfunction render_footnote_block_close () {\n return '</ol>\\n</section>\\n'\n}\n\nfunction render_footnote_open (tokens, idx, options, env, slf) {\n let id = slf.rules.footnote_anchor_name(tokens, idx, options, env, slf)\n\n if (tokens[idx].meta.subId > 0) id += `:${tokens[idx].meta.subId}`\n\n return `<li id=\"fn${id}\" class=\"footnote-item\">`\n}\n\nfunction render_footnote_close () {\n return '</li>\\n'\n}\n\nfunction render_footnote_anchor (tokens, idx, options, env, slf) {\n let id = slf.rules.footnote_anchor_name(tokens, idx, options, env, slf)\n\n if (tokens[idx].meta.subId > 0) id += `:${tokens[idx].meta.subId}`\n\n /* ↩ with escape code to prevent display as Apple Emoji on iOS */\n return ` <a href=\"#fnref${id}\" class=\"footnote-backref\">\\u21a9\\uFE0E</a>`\n}\n\nexport default function footnote_plugin (md) {\n const parseLinkLabel = md.helpers.parseLinkLabel\n const isSpace = md.utils.isSpace\n\n md.renderer.rules.footnote_ref = render_footnote_ref\n md.renderer.rules.footnote_block_open = render_footnote_block_open\n md.renderer.rules.footnote_block_close = render_footnote_block_close\n md.renderer.rules.footnote_open = render_footnote_open\n md.renderer.rules.footnote_close = render_footnote_close\n md.renderer.rules.footnote_anchor = render_footnote_anchor\n\n // helpers (only used in other rules, no tokens are attached to those)\n md.renderer.rules.footnote_caption = render_footnote_caption\n md.renderer.rules.footnote_anchor_name = render_footnote_anchor_name\n\n // Process footnote block definition\n function footnote_def (state, startLine, endLine, silent) {\n const start = state.bMarks[startLine] + state.tShift[startLine]\n const max = state.eMarks[startLine]\n\n // line should be at least 5 chars - \"[^x]:\"\n if (start + 4 > max) return false\n\n if (state.src.charCodeAt(start) !== 0x5B/* [ */) return false\n if (state.src.charCodeAt(start + 1) !== 0x5E/* ^ */) return false\n\n let pos\n\n for (pos = start + 2; pos < max; pos++) {\n if (state.src.charCodeAt(pos) === 0x20) return false\n if (state.src.charCodeAt(pos) === 0x5D /* ] */) {\n break\n }\n }\n\n if (pos === start + 2) return false // no empty footnote labels\n if (pos + 1 >= max || state.src.charCodeAt(++pos) !== 0x3A /* : */) return false\n if (silent) return true\n pos++\n\n if (!state.env.footnotes) state.env.footnotes = {}\n if (!state.env.footnotes.refs) state.env.footnotes.refs = {}\n const label = state.src.slice(start + 2, pos - 2)\n state.env.footnotes.refs[`:${label}`] = -1\n\n const token_fref_o = new state.Token('footnote_reference_open', '', 1)\n token_fref_o.meta = { label }\n token_fref_o.level = state.level++\n state.tokens.push(token_fref_o)\n\n const oldBMark = state.bMarks[startLine]\n const oldTShift = state.tShift[startLine]\n const oldSCount = state.sCount[startLine]\n const oldParentType = state.parentType\n\n const posAfterColon = pos\n const initial = state.sCount[startLine] + pos - (state.bMarks[startLine] + state.tShift[startLine])\n let offset = initial\n\n while (pos < max) {\n const ch = state.src.charCodeAt(pos)\n\n if (isSpace(ch)) {\n if (ch === 0x09) {\n offset += 4 - offset % 4\n } else {\n offset++\n }\n } else {\n break\n }\n\n pos++\n }\n\n state.tShift[startLine] = pos - posAfterColon\n state.sCount[startLine] = offset - initial\n\n state.bMarks[startLine] = posAfterColon\n state.blkIndent += 4\n state.parentType = 'footnote'\n\n if (state.sCount[startLine] < state.blkIndent) {\n state.sCount[startLine] += state.blkIndent\n }\n\n state.md.block.tokenize(state, startLine, endLine, true)\n\n state.parentType = oldParentType\n state.blkIndent -= 4\n state.tShift[startLine] = oldTShift\n state.sCount[startLine] = oldSCount\n state.bMarks[startLine] = oldBMark\n\n const token_fref_c = new state.Token('footnote_reference_close', '', -1)\n token_fref_c.level = --state.level\n state.tokens.push(token_fref_c)\n\n return true\n }\n\n // Process inline footnotes (^[...])\n function footnote_inline (state, silent) {\n const max = state.posMax\n const start = state.pos\n\n if (start + 2 >= max) return false\n if (state.src.charCodeAt(start) !== 0x5E/* ^ */) return false\n if (state.src.charCodeAt(start + 1) !== 0x5B/* [ */) return false\n\n const labelStart = start + 2\n const labelEnd = parseLinkLabel(state, start + 1)\n\n // parser failed to find ']', so it's not a valid note\n if (labelEnd < 0) return false\n\n // We found the end of the link, and know for a fact it's a valid link;\n // so all that's left to do is to call tokenizer.\n //\n if (!silent) {\n if (!state.env.footnotes) state.env.footnotes = {}\n if (!state.env.footnotes.list) state.env.footnotes.list = []\n const footnoteId = state.env.footnotes.list.length\n const tokens = []\n\n state.md.inline.parse(\n state.src.slice(labelStart, labelEnd),\n state.md,\n state.env,\n tokens\n )\n\n const token = state.push('footnote_ref', '', 0)\n token.meta = { id: footnoteId }\n\n state.env.footnotes.list[footnoteId] = {\n content: state.src.slice(labelStart, labelEnd),\n tokens\n }\n }\n\n state.pos = labelEnd + 1\n state.posMax = max\n return true\n }\n\n // Process footnote references ([^...])\n function footnote_ref (state, silent) {\n const max = state.posMax\n const start = state.pos\n\n // should be at least 4 chars - \"[^x]\"\n if (start + 3 > max) return false\n\n if (!state.env.footnotes || !state.env.footnotes.refs) return false\n if (state.src.charCodeAt(start) !== 0x5B/* [ */) return false\n if (state.src.charCodeAt(start + 1) !== 0x5E/* ^ */) return false\n\n let pos\n\n for (pos = start + 2; pos < max; pos++) {\n if (state.src.charCodeAt(pos) === 0x20) return false\n if (state.src.charCodeAt(pos) === 0x0A) return false\n if (state.src.charCodeAt(pos) === 0x5D /* ] */) {\n break\n }\n }\n\n if (pos === start + 2) return false // no empty footnote labels\n if (pos >= max) return false\n pos++\n\n const label = state.src.slice(start + 2, pos - 1)\n if (typeof state.env.footnotes.refs[`:${label}`] === 'undefined') return false\n\n if (!silent) {\n if (!state.env.footnotes.list) state.env.footnotes.list = []\n\n let footnoteId\n\n if (state.env.footnotes.refs[`:${label}`] < 0) {\n footnoteId = state.env.footnotes.list.length\n state.env.footnotes.list[footnoteId] = { label, count: 0 }\n state.env.footnotes.refs[`:${label}`] = footnoteId\n } else {\n footnoteId = state.env.footnotes.refs[`:${label}`]\n }\n\n const footnoteSubId = state.env.footnotes.list[footnoteId].count\n state.env.footnotes.list[footnoteId].count++\n\n const token = state.push('footnote_ref', '', 0)\n token.meta = { id: footnoteId, subId: footnoteSubId, label }\n }\n\n state.pos = pos\n state.posMax = max\n return true\n }\n\n // Glue footnote tokens to end of token stream\n function footnote_tail (state) {\n let tokens\n let current\n let currentLabel\n let insideRef = false\n const refTokens = {}\n\n if (!state.env.footnotes) { return }\n\n state.tokens = state.tokens.filter(function (tok) {\n if (tok.type === 'footnote_reference_open') {\n insideRef = true\n current = []\n currentLabel = tok.meta.label\n return false\n }\n if (tok.type === 'footnote_reference_close') {\n insideRef = false\n // prepend ':' to avoid conflict with Object.prototype members\n refTokens[':' + currentLabel] = current\n return false\n }\n if (insideRef) { current.push(tok) }\n return !insideRef\n })\n\n if (!state.env.footnotes.list) { return }\n const list = state.env.footnotes.list\n\n state.tokens.push(new state.Token('footnote_block_open', '', 1))\n\n for (let i = 0, l = list.length; i < l; i++) {\n const token_fo = new state.Token('footnote_open', '', 1)\n token_fo.meta = { id: i, label: list[i].label }\n state.tokens.push(token_fo)\n\n if (list[i].tokens) {\n tokens = []\n\n const token_po = new state.Token('paragraph_open', 'p', 1)\n token_po.block = true\n tokens.push(token_po)\n\n const token_i = new state.Token('inline', '', 0)\n token_i.children = list[i].tokens\n token_i.content = list[i].content\n tokens.push(token_i)\n\n const token_pc = new state.Token('paragraph_close', 'p', -1)\n token_pc.block = true\n tokens.push(token_pc)\n } else if (list[i].label) {\n tokens = refTokens[`:${list[i].label}`]\n }\n\n if (tokens) state.tokens = state.tokens.concat(tokens)\n\n let lastParagraph\n\n if (state.tokens[state.tokens.length - 1].type === 'paragraph_close') {\n lastParagraph = state.tokens.pop()\n } else {\n lastParagraph = null\n }\n\n const t = list[i].count > 0 ? list[i].count : 1\n for (let j = 0; j < t; j++) {\n const token_a = new state.Token('footnote_anchor', '', 0)\n token_a.meta = { id: i, subId: j, label: list[i].label }\n state.tokens.push(token_a)\n }\n\n if (lastParagraph) {\n state.tokens.push(lastParagraph)\n }\n\n state.tokens.push(new state.Token('footnote_close', '', -1))\n }\n\n state.tokens.push(new state.Token('footnote_block_close', '', -1))\n }\n\n md.block.ruler.before('reference', 'footnote_def', footnote_def, { alt: ['paragraph', 'reference'] })\n md.inline.ruler.after('image', 'footnote_inline', footnote_inline)\n md.inline.ruler.after('footnote_inline', 'footnote_ref', footnote_ref)\n md.core.ruler.after('inline', 'footnote_tail', footnote_tail)\n};\n"],"names":[],"mappings":"AAAA;AACA;AAEA;AACA;AACA;AACA;AACA,SAAS,2BAA2B,EAAE,MAAM,EAAE,GAAG,EAAE,OAAO,EAAE,GAAG,YAAY;AAC3E,EAAE,MAAM,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,QAAQ,GAAE;AACtD,EAAE,IAAI,MAAM,GAAG,GAAE;AACjB;AACA,EAAE,IAAI,OAAO,GAAG,CAAC,KAAK,KAAK,QAAQ,EAAE,MAAM,GAAG,CAAC,CAAC,EAAE,GAAG,CAAC,KAAK,CAAC,CAAC,EAAC;AAC9D;AACA,EAAE,OAAO,MAAM,GAAG,CAAC;AACnB,CAAC;AACD;AACA,SAAS,uBAAuB,EAAE,MAAM,EAAE,GAAG,0BAA0B;AACvE,EAAE,IAAI,CAAC,GAAG,MAAM,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,EAAE,GAAG,CAAC,CAAC,CAAC,QAAQ,GAAE;AACpD;AACA,EAAE,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG,CAAC,CAAC,IAAI,CAAC,KAAK,CAAC,EAAC;AACnE;AACA,EAAE,OAAO,C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M,CAAC,IAAI,CAAC,OAAO,EAAC;AAClC,OAAO;AACP;AACA,MAAM,IAAI,aAAa,EAAE;AACzB,QAAQ,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,aAAa,EAAC;AACxC,OAAO;AACP;AACA,MAAM,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,gBAAgB,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,EAAC;AAClE,KAAK;AACL;AACA,IAAI,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,KAAK,CAAC,KAAK,CAAC,sBAAsB,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC,EAAC;AACtE,GAAG;AACH;AACA,EAAE,EAAE,CAAC,KAAK,CAAC,KAAK,CAAC,MAAM,CAAC,WAAW,EAAE,cAAc,EAAE,YAAY,EAAE,EAAE,GAAG,EAAE,CAAC,WAAW,EAAE,WAAW,CAAC,EAAE,EAAC;AACvG,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,OAAO,EAAE,iBAAiB,EAAE,eAAe,EAAC;AACpE,EAAE,EAAE,CAAC,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,iBAAiB,EAAE,cAAc,EAAE,YAAY,EAAC;AACxE,EAAE,EAAE,CAAC,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,QAAQ,EAAE,eAAe,EAAE,aAAa,EAAC;AAC/D;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
function ins_plugin (md) {
|
|
2
|
+
// Insert each marker as a separate text token, and add it to delimiter list
|
|
3
|
+
//
|
|
4
|
+
function tokenize (state, silent) {
|
|
5
|
+
const start = state.pos;
|
|
6
|
+
const marker = state.src.charCodeAt(start);
|
|
7
|
+
|
|
8
|
+
if (silent) { return false }
|
|
9
|
+
|
|
10
|
+
if (marker !== 0x2B/* + */) { return false }
|
|
11
|
+
|
|
12
|
+
const scanned = state.scanDelims(state.pos, true);
|
|
13
|
+
let len = scanned.length;
|
|
14
|
+
const ch = String.fromCharCode(marker);
|
|
15
|
+
|
|
16
|
+
if (len < 2) { return false }
|
|
17
|
+
|
|
18
|
+
if (len % 2) {
|
|
19
|
+
const token = state.push('text', '', 0);
|
|
20
|
+
token.content = ch;
|
|
21
|
+
len--;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
for (let i = 0; i < len; i += 2) {
|
|
25
|
+
const token = state.push('text', '', 0);
|
|
26
|
+
token.content = ch + ch;
|
|
27
|
+
|
|
28
|
+
if (!scanned.can_open && !scanned.can_close) { continue }
|
|
29
|
+
|
|
30
|
+
state.delimiters.push({
|
|
31
|
+
marker,
|
|
32
|
+
length: 0, // disable "rule of 3" length checks meant for emphasis
|
|
33
|
+
jump: i / 2, // 1 delimiter = 2 characters
|
|
34
|
+
token: state.tokens.length - 1,
|
|
35
|
+
end: -1,
|
|
36
|
+
open: scanned.can_open,
|
|
37
|
+
close: scanned.can_close
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
state.pos += scanned.length;
|
|
42
|
+
|
|
43
|
+
return true
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// Walk through delimiter list and replace text tokens with tags
|
|
47
|
+
//
|
|
48
|
+
function postProcess (state, delimiters) {
|
|
49
|
+
let token;
|
|
50
|
+
const loneMarkers = [];
|
|
51
|
+
const max = delimiters.length;
|
|
52
|
+
|
|
53
|
+
for (let i = 0; i < max; i++) {
|
|
54
|
+
const startDelim = delimiters[i];
|
|
55
|
+
|
|
56
|
+
if (startDelim.marker !== 0x2B/* + */) {
|
|
57
|
+
continue
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
if (startDelim.end === -1) {
|
|
61
|
+
continue
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
const endDelim = delimiters[startDelim.end];
|
|
65
|
+
|
|
66
|
+
token = state.tokens[startDelim.token];
|
|
67
|
+
token.type = 'ins_open';
|
|
68
|
+
token.tag = 'ins';
|
|
69
|
+
token.nesting = 1;
|
|
70
|
+
token.markup = '++';
|
|
71
|
+
token.content = '';
|
|
72
|
+
|
|
73
|
+
token = state.tokens[endDelim.token];
|
|
74
|
+
token.type = 'ins_close';
|
|
75
|
+
token.tag = 'ins';
|
|
76
|
+
token.nesting = -1;
|
|
77
|
+
token.markup = '++';
|
|
78
|
+
token.content = '';
|
|
79
|
+
|
|
80
|
+
if (state.tokens[endDelim.token - 1].type === 'text' &&
|
|
81
|
+
state.tokens[endDelim.token - 1].content === '+') {
|
|
82
|
+
loneMarkers.push(endDelim.token - 1);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
// If a marker sequence has an odd number of characters, it's splitted
|
|
87
|
+
// like this: `~~~~~` -> `~` + `~~` + `~~`, leaving one marker at the
|
|
88
|
+
// start of the sequence.
|
|
89
|
+
//
|
|
90
|
+
// So, we have to move all those markers after subsequent s_close tags.
|
|
91
|
+
//
|
|
92
|
+
while (loneMarkers.length) {
|
|
93
|
+
const i = loneMarkers.pop();
|
|
94
|
+
let j = i + 1;
|
|
95
|
+
|
|
96
|
+
while (j < state.tokens.length && state.tokens[j].type === 'ins_close') {
|
|
97
|
+
j++;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
j--;
|
|
101
|
+
|
|
102
|
+
if (i !== j) {
|
|
103
|
+
token = state.tokens[j];
|
|
104
|
+
state.tokens[j] = state.tokens[i];
|
|
105
|
+
state.tokens[i] = token;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
md.inline.ruler.before('emphasis', 'ins', tokenize);
|
|
111
|
+
md.inline.ruler2.before('emphasis', 'ins', function (state) {
|
|
112
|
+
const tokens_meta = state.tokens_meta;
|
|
113
|
+
const max = (state.tokens_meta || []).length;
|
|
114
|
+
|
|
115
|
+
postProcess(state, state.delimiters);
|
|
116
|
+
|
|
117
|
+
for (let curr = 0; curr < max; curr++) {
|
|
118
|
+
if (tokens_meta[curr] && tokens_meta[curr].delimiters) {
|
|
119
|
+
postProcess(state, tokens_meta[curr].delimiters);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export { ins_plugin as default };
|
|
126
|
+
//# sourceMappingURL=index.mjs.map
|
package/es/node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.mjs","sources":["../../../../../../../node_modules/.pnpm/markdown-it-ins@4.0.0/node_modules/markdown-it-ins/index.mjs"],"sourcesContent":["export default function ins_plugin (md) {\n // Insert each marker as a separate text token, and add it to delimiter list\n //\n function tokenize (state, silent) {\n const start = state.pos\n const marker = state.src.charCodeAt(start)\n\n if (silent) { return false }\n\n if (marker !== 0x2B/* + */) { return false }\n\n const scanned = state.scanDelims(state.pos, true)\n let len = scanned.length\n const ch = String.fromCharCode(marker)\n\n if (len < 2) { return false }\n\n if (len % 2) {\n const token = state.push('text', '', 0)\n token.content = ch\n len--\n }\n\n for (let i = 0; i < len; i += 2) {\n const token = state.push('text', '', 0)\n token.content = ch + ch\n\n if (!scanned.can_open && !scanned.can_close) { continue }\n\n state.delimiters.push({\n marker,\n length: 0, // disable \"rule of 3\" length checks meant for emphasis\n jump: i / 2, // 1 delimiter = 2 characters\n token: state.tokens.length - 1,\n end: -1,\n open: scanned.can_open,\n close: scanned.can_close\n })\n }\n\n state.pos += scanned.length\n\n return true\n }\n\n // Walk through delimiter list and replace text tokens with tags\n //\n function postProcess (state, delimiters) {\n let token\n const loneMarkers = []\n const max = delimiters.length\n\n for (let i = 0; i < max; i++) {\n const startDelim = delimiters[i]\n\n if (startDelim.marker !== 0x2B/* + */) {\n continue\n }\n\n if (startDelim.end === -1) {\n continue\n }\n\n const endDelim = delimiters[startDelim.end]\n\n token = state.tokens[startDelim.token]\n token.type = 'ins_open'\n token.tag = 'ins'\n token.nesting = 1\n token.markup = '++'\n token.content = ''\n\n token = state.tokens[endDelim.token]\n token.type = 'ins_close'\n token.tag = 'ins'\n token.nesting = -1\n token.markup = '++'\n token.content = ''\n\n if (state.tokens[endDelim.token - 1].type === 'text' &&\n state.tokens[endDelim.token - 1].content === '+') {\n loneMarkers.push(endDelim.token - 1)\n }\n }\n\n // If a marker sequence has an odd number of characters, it's splitted\n // like this: `~~~~~` -> `~` + `~~` + `~~`, leaving one marker at the\n // start of the sequence.\n //\n // So, we have to move all those markers after subsequent s_close tags.\n //\n while (loneMarkers.length) {\n const i = loneMarkers.pop()\n let j = i + 1\n\n while (j < state.tokens.length && state.tokens[j].type === 'ins_close') {\n j++\n }\n\n j--\n\n if (i !== j) {\n token = state.tokens[j]\n state.tokens[j] = state.tokens[i]\n state.tokens[i] = token\n }\n }\n }\n\n md.inline.ruler.before('emphasis', 'ins', tokenize)\n md.inline.ruler2.before('emphasis', 'ins', function (state) {\n const tokens_meta = state.tokens_meta\n const max = (state.tokens_meta || []).length\n\n postProcess(state, state.delimiters)\n\n for (let curr = 0; curr < max; curr++) {\n if (tokens_meta[curr] && tokens_meta[curr].delimiters) {\n postProcess(state, tokens_meta[curr].delimiters)\n }\n }\n })\n};\n"],"names":[],"mappings":"AAAe,SAAS,UAAU,EAAE,EAAE,EAAE;AACxC;AACA;AACA,EAAE,SAAS,QAAQ,EAAE,KAAK,EAAE,MAAM,EAAE;AACpC,IAAI,MAAM,KAAK,GAAG,KAAK,CAAC,IAAG;AAC3B,IAAI,MAAM,MAAM,GAAG,KAAK,CAAC,GAAG,CAAC,UAAU,CAAC,KAAK,EAAC;AAC9C;AACA,IAAI,IAAI,MAAM,EAAE,EAAE,OAAO,KAAK,EAAE;AAChC;AACA,IAAI,IAAI,MAAM,KAAK,IAAI,SAAS,EAAE,OAAO,KAAK,EAAE;AAChD;AACA,IAAI,MAAM,OAAO,GAAG,KAAK,CAAC,UAAU,CAAC,KAAK,CAA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C,KAAK,CAAC,WAAW,IAAI,EAAE,EAAE,OAAM;AAChD;AACA,IAAI,WAAW,CAAC,KAAK,EAAE,KAAK,CAAC,UAAU,EAAC;AACxC;AACA,IAAI,KAAK,IAAI,IAAI,GAAG,CAAC,EAAE,IAAI,GAAG,GAAG,EAAE,IAAI,EAAE,EAAE;AAC3C,MAAM,IAAI,WAAW,CAAC,IAAI,CAAC,IAAI,WAAW,CAAC,IAAI,CAAC,CAAC,UAAU,EAAE;AAC7D,QAAQ,WAAW,CAAC,KAAK,EAAE,WAAW,CAAC,IAAI,CAAC,CAAC,UAAU,EAAC;AACxD,OAAO;AACP,KAAK;AACL,GAAG,EAAC;AACJ;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,126 @@
|
|
|
1
|
+
function ins_plugin (md) {
|
|
2
|
+
// Insert each marker as a separate text token, and add it to delimiter list
|
|
3
|
+
//
|
|
4
|
+
function tokenize (state, silent) {
|
|
5
|
+
const start = state.pos;
|
|
6
|
+
const marker = state.src.charCodeAt(start);
|
|
7
|
+
|
|
8
|
+
if (silent) { return false }
|
|
9
|
+
|
|
10
|
+
if (marker !== 0x3D/* = */) { return false }
|
|
11
|
+
|
|
12
|
+
const scanned = state.scanDelims(state.pos, true);
|
|
13
|
+
let len = scanned.length;
|
|
14
|
+
const ch = String.fromCharCode(marker);
|
|
15
|
+
|
|
16
|
+
if (len < 2) { return false }
|
|
17
|
+
|
|
18
|
+
if (len % 2) {
|
|
19
|
+
const token = state.push('text', '', 0);
|
|
20
|
+
token.content = ch;
|
|
21
|
+
len--;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
for (let i = 0; i < len; i += 2) {
|
|
25
|
+
const token = state.push('text', '', 0);
|
|
26
|
+
token.content = ch + ch;
|
|
27
|
+
|
|
28
|
+
if (!scanned.can_open && !scanned.can_close) { continue }
|
|
29
|
+
|
|
30
|
+
state.delimiters.push({
|
|
31
|
+
marker,
|
|
32
|
+
length: 0, // disable "rule of 3" length checks meant for emphasis
|
|
33
|
+
jump: i / 2, // 1 delimiter = 2 characters
|
|
34
|
+
token: state.tokens.length - 1,
|
|
35
|
+
end: -1,
|
|
36
|
+
open: scanned.can_open,
|
|
37
|
+
close: scanned.can_close
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
state.pos += scanned.length;
|
|
42
|
+
|
|
43
|
+
return true
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
// Walk through delimiter list and replace text tokens with tags
|
|
47
|
+
//
|
|
48
|
+
function postProcess (state, delimiters) {
|
|
49
|
+
const loneMarkers = [];
|
|
50
|
+
const max = delimiters.length;
|
|
51
|
+
|
|
52
|
+
for (let i = 0; i < max; i++) {
|
|
53
|
+
const startDelim = delimiters[i];
|
|
54
|
+
|
|
55
|
+
if (startDelim.marker !== 0x3D/* = */) {
|
|
56
|
+
continue
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
if (startDelim.end === -1) {
|
|
60
|
+
continue
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
const endDelim = delimiters[startDelim.end];
|
|
64
|
+
|
|
65
|
+
const token_o = state.tokens[startDelim.token];
|
|
66
|
+
token_o.type = 'mark_open';
|
|
67
|
+
token_o.tag = 'mark';
|
|
68
|
+
token_o.nesting = 1;
|
|
69
|
+
token_o.markup = '==';
|
|
70
|
+
token_o.content = '';
|
|
71
|
+
|
|
72
|
+
const token_c = state.tokens[endDelim.token];
|
|
73
|
+
token_c.type = 'mark_close';
|
|
74
|
+
token_c.tag = 'mark';
|
|
75
|
+
token_c.nesting = -1;
|
|
76
|
+
token_c.markup = '==';
|
|
77
|
+
token_c.content = '';
|
|
78
|
+
|
|
79
|
+
if (state.tokens[endDelim.token - 1].type === 'text' &&
|
|
80
|
+
state.tokens[endDelim.token - 1].content === '=') {
|
|
81
|
+
loneMarkers.push(endDelim.token - 1);
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
// If a marker sequence has an odd number of characters, it's splitted
|
|
86
|
+
// like this: `~~~~~` -> `~` + `~~` + `~~`, leaving one marker at the
|
|
87
|
+
// start of the sequence.
|
|
88
|
+
//
|
|
89
|
+
// So, we have to move all those markers after subsequent s_close tags.
|
|
90
|
+
//
|
|
91
|
+
while (loneMarkers.length) {
|
|
92
|
+
const i = loneMarkers.pop();
|
|
93
|
+
let j = i + 1;
|
|
94
|
+
|
|
95
|
+
while (j < state.tokens.length && state.tokens[j].type === 'mark_close') {
|
|
96
|
+
j++;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
j--;
|
|
100
|
+
|
|
101
|
+
if (i !== j) {
|
|
102
|
+
const token = state.tokens[j];
|
|
103
|
+
state.tokens[j] = state.tokens[i];
|
|
104
|
+
state.tokens[i] = token;
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
md.inline.ruler.before('emphasis', 'mark', tokenize);
|
|
110
|
+
md.inline.ruler2.before('emphasis', 'mark', function (state) {
|
|
111
|
+
let curr;
|
|
112
|
+
const tokens_meta = state.tokens_meta;
|
|
113
|
+
const max = (state.tokens_meta || []).length;
|
|
114
|
+
|
|
115
|
+
postProcess(state, state.delimiters);
|
|
116
|
+
|
|
117
|
+
for (curr = 0; curr < max; curr++) {
|
|
118
|
+
if (tokens_meta[curr] && tokens_meta[curr].delimiters) {
|
|
119
|
+
postProcess(state, tokens_meta[curr].delimiters);
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
});
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
export { ins_plugin as default };
|
|
126
|
+
//# sourceMappingURL=index.mjs.map
|