@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
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var encodeCache = {};
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
// Create a lookup array where anything but characters in `chars` string
|
|
7
|
+
// and alphanumeric chars is percent-encoded.
|
|
8
|
+
//
|
|
9
|
+
function getEncodeCache(exclude) {
|
|
10
|
+
var i, ch, cache = encodeCache[exclude];
|
|
11
|
+
if (cache) { return cache; }
|
|
12
|
+
|
|
13
|
+
cache = encodeCache[exclude] = [];
|
|
14
|
+
|
|
15
|
+
for (i = 0; i < 128; i++) {
|
|
16
|
+
ch = String.fromCharCode(i);
|
|
17
|
+
|
|
18
|
+
if (/^[0-9a-z]$/i.test(ch)) {
|
|
19
|
+
// always allow unencoded alphanumeric characters
|
|
20
|
+
cache.push(ch);
|
|
21
|
+
} else {
|
|
22
|
+
cache.push('%' + ('0' + i.toString(16).toUpperCase()).slice(-2));
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
for (i = 0; i < exclude.length; i++) {
|
|
27
|
+
cache[exclude.charCodeAt(i)] = exclude[i];
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
return cache;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
// Encode unsafe characters with percent-encoding, skipping already
|
|
35
|
+
// encoded sequences.
|
|
36
|
+
//
|
|
37
|
+
// - string - string to encode
|
|
38
|
+
// - exclude - list of characters to ignore (in addition to a-zA-Z0-9)
|
|
39
|
+
// - keepEscaped - don't encode '%' in a correct escape sequence (default: true)
|
|
40
|
+
//
|
|
41
|
+
function encode(string, exclude, keepEscaped) {
|
|
42
|
+
var i, l, code, nextCode, cache,
|
|
43
|
+
result = '';
|
|
44
|
+
|
|
45
|
+
if (typeof exclude !== 'string') {
|
|
46
|
+
// encode(string, keepEscaped)
|
|
47
|
+
keepEscaped = exclude;
|
|
48
|
+
exclude = encode.defaultChars;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
if (typeof keepEscaped === 'undefined') {
|
|
52
|
+
keepEscaped = true;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
cache = getEncodeCache(exclude);
|
|
56
|
+
|
|
57
|
+
for (i = 0, l = string.length; i < l; i++) {
|
|
58
|
+
code = string.charCodeAt(i);
|
|
59
|
+
|
|
60
|
+
if (keepEscaped && code === 0x25 /* % */ && i + 2 < l) {
|
|
61
|
+
if (/^[0-9a-f]{2}$/i.test(string.slice(i + 1, i + 3))) {
|
|
62
|
+
result += string.slice(i, i + 3);
|
|
63
|
+
i += 2;
|
|
64
|
+
continue;
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
if (code < 128) {
|
|
69
|
+
result += cache[code];
|
|
70
|
+
continue;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
if (code >= 0xD800 && code <= 0xDFFF) {
|
|
74
|
+
if (code >= 0xD800 && code <= 0xDBFF && i + 1 < l) {
|
|
75
|
+
nextCode = string.charCodeAt(i + 1);
|
|
76
|
+
if (nextCode >= 0xDC00 && nextCode <= 0xDFFF) {
|
|
77
|
+
result += encodeURIComponent(string[i] + string[i + 1]);
|
|
78
|
+
i++;
|
|
79
|
+
continue;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
result += '%EF%BF%BD';
|
|
83
|
+
continue;
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
result += encodeURIComponent(string[i]);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
return result;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
encode.defaultChars = ";/?:@&=+$,-_.!~*'()#";
|
|
93
|
+
encode.componentChars = "-_.!~*'()";
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
var encode_1 = encode;
|
|
97
|
+
|
|
98
|
+
exports.encode_1 = encode_1;
|
|
99
|
+
//# sourceMappingURL=encode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"encode.js","sources":["../../../../../../../node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/encode.js"],"sourcesContent":["\n'use strict';\n\n\nvar encodeCache = {};\n\n\n// Create a lookup array where anything but characters in `chars` string\n// and alphanumeric chars is percent-encoded.\n//\nfunction getEncodeCache(exclude) {\n var i, ch, cache = encodeCache[exclude];\n if (cache) { return cache; }\n\n cache = encodeCache[exclude] = [];\n\n for (i = 0; i < 128; i++) {\n ch = String.fromCharCode(i);\n\n if (/^[0-9a-z]$/i.test(ch)) {\n // always allow unencoded alphanumeric characters\n cache.push(ch);\n } else {\n cache.push('%' + ('0' + i.toString(16).toUpperCase()).slice(-2));\n }\n }\n\n for (i = 0; i < exclude.length; i++) {\n cache[exclude.charCodeAt(i)] = exclude[i];\n }\n\n return cache;\n}\n\n\n// Encode unsafe characters with percent-encoding, skipping already\n// encoded sequences.\n//\n// - string - string to encode\n// - exclude - list of characters to ignore (in addition to a-zA-Z0-9)\n// - keepEscaped - don't encode '%' in a correct escape sequence (default: true)\n//\nfunction encode(string, exclude, keepEscaped) {\n var i, l, code, nextCode, cache,\n result = '';\n\n if (typeof exclude !== 'string') {\n // encode(string, keepEscaped)\n keepEscaped = exclude;\n exclude = encode.defaultChars;\n }\n\n if (typeof keepEscaped === 'undefined') {\n keepEscaped = true;\n }\n\n cache = getEncodeCache(exclude);\n\n for (i = 0, l = string.length; i < l; i++) {\n code = string.charCodeAt(i);\n\n if (keepEscaped && code === 0x25 /* % */ && i + 2 < l) {\n if (/^[0-9a-f]{2}$/i.test(string.slice(i + 1, i + 3))) {\n result += string.slice(i, i + 3);\n i += 2;\n continue;\n }\n }\n\n if (code < 128) {\n result += cache[code];\n continue;\n }\n\n if (code >= 0xD800 && code <= 0xDFFF) {\n if (code >= 0xD800 && code <= 0xDBFF && i + 1 < l) {\n nextCode = string.charCodeAt(i + 1);\n if (nextCode >= 0xDC00 && nextCode <= 0xDFFF) {\n result += encodeURIComponent(string[i] + string[i + 1]);\n i++;\n continue;\n }\n }\n result += '%EF%BF%BD';\n continue;\n }\n\n result += encodeURIComponent(string[i]);\n }\n\n return result;\n}\n\nencode.defaultChars = \";/?:@&=+$,-_.!~*'()#\";\nencode.componentChars = \"-_.!~*'()\";\n\n\nmodule.exports = encode;\n"],"names":[],"mappings":";;AAIA,IAAI,WAAW,GAAG,EAAE,CAAA;;;AAGpB;AACA;AACA;AACA,SAAS,cAAc,CAAC,OAAO,EAAE;AACjC,EAAE,IAAI,CAAC,EAAE,EAAE,EAAE,KAAK,GAAG,WAAW,CAAC,OAAO,CAAC,CAAA;AACzC,EAAE,IAAI,KAAK,EAAE,EAAE,OAAO,KAAK,CAAC,EAAA;;AAE5B,EAAE,KAAK,GAAG,WAAW,CAAC,OAAO,CAAC,GAAG,EAAE,CAAA;;AAEnC,EAAE,KAAK,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,GAAG,EAAE,CAAC,EAAE,EAA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I,MAAM,IAAI,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAA;AAC3C,GAAA;;AAEA,EAAE,OAAO,MAAM,CAAA;AACf,CAAA;;AAEA,MAAM,CAAC,YAAY,KAAK,sBAAsB,CAAA;AAC9C,MAAM,CAAC,cAAc,GAAG,WAAW,CAAA;;;AAGnC,IAAA,QAAc,GAAG;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var format = function format(url) {
|
|
4
|
+
var result = '';
|
|
5
|
+
|
|
6
|
+
result += url.protocol || '';
|
|
7
|
+
result += url.slashes ? '//' : '';
|
|
8
|
+
result += url.auth ? url.auth + '@' : '';
|
|
9
|
+
|
|
10
|
+
if (url.hostname && url.hostname.indexOf(':') !== -1) {
|
|
11
|
+
// ipv6 address
|
|
12
|
+
result += '[' + url.hostname + ']';
|
|
13
|
+
} else {
|
|
14
|
+
result += url.hostname || '';
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
result += url.port ? ':' + url.port : '';
|
|
18
|
+
result += url.pathname || '';
|
|
19
|
+
result += url.search || '';
|
|
20
|
+
result += url.hash || '';
|
|
21
|
+
|
|
22
|
+
return result;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
exports.format = format;
|
|
26
|
+
//# sourceMappingURL=format.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"format.js","sources":["../../../../../../../node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/format.js"],"sourcesContent":["\n'use strict';\n\n\nmodule.exports = function format(url) {\n var result = '';\n\n result += url.protocol || '';\n result += url.slashes ? '//' : '';\n result += url.auth ? url.auth + '@' : '';\n\n if (url.hostname && url.hostname.indexOf(':') !== -1) {\n // ipv6 address\n result += '[' + url.hostname + ']';\n } else {\n result += url.hostname || '';\n }\n\n result += url.port ? ':' + url.port : '';\n result += url.pathname || '';\n result += url.search || '';\n result += url.hash || '';\n\n return result;\n};\n"],"names":[],"mappings":";;AAIA,IAAA,MAAc,GAAG,SAAS,MAAM,CAAC,GAAG,EAAE;AACtC,EAAE,IAAI,MAAM,GAAG,EAAE,CAAA;;AAEjB,EAAE,MAAM,IAAI,GAAG,CAAC,QAAQ,IAAI,EAAE,CAAA;AAC9B,EAAE,MAAM,IAAI,GAAG,CAAC,OAAO,GAAG,IAAI,GAAG,EAAE,CAAA;AACnC,EAAE,MAAM,IAAI,GAAG,CAAC,IAAI,GAAG,GAAG,CAAC,IAAI,GAAG,GAAG,GAAG,EAAE,CAAA;;AAE1C,EAAE,IAAI,GAAG,CAAC,QAAQ,IAAI,GAAG,CAAC,QAAQ,CAAC,OAAO,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC,EAAE;AACxD;AACA,IAAI,MAAM,IAAI,GAAG,GAAG,GAAG,CAAC,QAAQ,GAAG,GAAG,CAAA;AACtC,GAAG,MAAM;AACT,IAAI,MAAM,IAAI,GAAG,CAAC,QAAQ,IAAI,EAAE,CAAA;AAChC,GAAA;;AAEA,EAAE,MAAM,IAAI,GAAG,CAAC,IAAI,GAAG,GAAG,GAAG,GAAG,CAAC,IAAI,GAAG,EAAE,CAAA;AAC1C,EAAE,MAAM,IAAI,GAAG,CAAC,QAAQ,IAAI,EAAE,CAAA;AAC9B,EAAE,MAAM,IAAI,GAAG,CAAC,MAAM,IAAI,EAAE,CAAA;AAC5B,EAAE,MAAM,IAAI,GAAG,CAAC,IAAI,IAAI,EAAE,CAAA;;AAE1B,EAAE,OAAO,MAAM,CAAA;AACf;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
|
+
|
|
5
|
+
var index = require('../../../../../_virtual/index2.js');
|
|
6
|
+
var encode = require('./encode.js');
|
|
7
|
+
var decode = require('./decode.js');
|
|
8
|
+
var format = require('./format.js');
|
|
9
|
+
var parse = require('./parse.js');
|
|
10
|
+
|
|
11
|
+
index.__exports.encode = encode.encode_1;
|
|
12
|
+
index.__exports.decode = decode.decode_1;
|
|
13
|
+
index.__exports.format = format.format;
|
|
14
|
+
index.__exports.parse = parse.parse;
|
|
15
|
+
|
|
16
|
+
exports.default = index.__exports;
|
|
17
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../../node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/index.js"],"sourcesContent":["'use strict';\n\n\nmodule.exports.encode = require('./encode');\nmodule.exports.decode = require('./decode');\nmodule.exports.format = require('./format');\nmodule.exports.parse = require('./parse');\n"],"names":["mdurl","require$$0","require$$1","require$$2","require$$3"],"mappings":";;;;;;;;;;AAGAA,eAAA,CAAA,MAAqB,GAAGC,gBAAmB;AAC3CD,eAAA,CAAA,MAAqB,GAAGE,gBAAmB;AAC3CF,eAAA,CAAA,MAAqB,GAAGG,cAAmB;AAC3CH,eAAA,CAAA,KAAoB,IAAII;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,294 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
//
|
|
4
|
+
// Changes from joyent/node:
|
|
5
|
+
//
|
|
6
|
+
// 1. No leading slash in paths,
|
|
7
|
+
// e.g. in `url.parse('http://foo?bar')` pathname is ``, not `/`
|
|
8
|
+
//
|
|
9
|
+
// 2. Backslashes are not replaced with slashes,
|
|
10
|
+
// so `http:\\example.org\` is treated like a relative path
|
|
11
|
+
//
|
|
12
|
+
// 3. Trailing colon is treated like a part of the path,
|
|
13
|
+
// i.e. in `http://example.org:foo` pathname is `:foo`
|
|
14
|
+
//
|
|
15
|
+
// 4. Nothing is URL-encoded in the resulting object,
|
|
16
|
+
// (in joyent/node some chars in auth and paths are encoded)
|
|
17
|
+
//
|
|
18
|
+
// 5. `url.parse()` does not have `parseQueryString` argument
|
|
19
|
+
//
|
|
20
|
+
// 6. Removed extraneous result properties: `host`, `path`, `query`, etc.,
|
|
21
|
+
// which can be constructed using other parts of the url.
|
|
22
|
+
//
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
function Url() {
|
|
26
|
+
this.protocol = null;
|
|
27
|
+
this.slashes = null;
|
|
28
|
+
this.auth = null;
|
|
29
|
+
this.port = null;
|
|
30
|
+
this.hostname = null;
|
|
31
|
+
this.hash = null;
|
|
32
|
+
this.search = null;
|
|
33
|
+
this.pathname = null;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
// Reference: RFC 3986, RFC 1808, RFC 2396
|
|
37
|
+
|
|
38
|
+
// define these here so at least they only have to be
|
|
39
|
+
// compiled once on the first module load.
|
|
40
|
+
var protocolPattern = /^([a-z0-9.+-]+:)/i,
|
|
41
|
+
portPattern = /:[0-9]*$/,
|
|
42
|
+
|
|
43
|
+
// Special case for a simple path URL
|
|
44
|
+
simplePathPattern = /^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,
|
|
45
|
+
|
|
46
|
+
// RFC 2396: characters reserved for delimiting URLs.
|
|
47
|
+
// We actually just auto-escape these.
|
|
48
|
+
delims = [ '<', '>', '"', '`', ' ', '\r', '\n', '\t' ],
|
|
49
|
+
|
|
50
|
+
// RFC 2396: characters not allowed for various reasons.
|
|
51
|
+
unwise = [ '{', '}', '|', '\\', '^', '`' ].concat(delims),
|
|
52
|
+
|
|
53
|
+
// Allowed by RFCs, but cause of XSS attacks. Always escape these.
|
|
54
|
+
autoEscape = [ '\'' ].concat(unwise),
|
|
55
|
+
// Characters that are never ever allowed in a hostname.
|
|
56
|
+
// Note that any invalid chars are also handled, but these
|
|
57
|
+
// are the ones that are *expected* to be seen, so we fast-path
|
|
58
|
+
// them.
|
|
59
|
+
nonHostChars = [ '%', '/', '?', ';', '#' ].concat(autoEscape),
|
|
60
|
+
hostEndingChars = [ '/', '?', '#' ],
|
|
61
|
+
hostnameMaxLen = 255,
|
|
62
|
+
hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/,
|
|
63
|
+
hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/,
|
|
64
|
+
// protocols that can allow "unsafe" and "unwise" chars.
|
|
65
|
+
/* eslint-disable no-script-url */
|
|
66
|
+
// protocols that never have a hostname.
|
|
67
|
+
hostlessProtocol = {
|
|
68
|
+
'javascript': true,
|
|
69
|
+
'javascript:': true
|
|
70
|
+
},
|
|
71
|
+
// protocols that always contain a // bit.
|
|
72
|
+
slashedProtocol = {
|
|
73
|
+
'http': true,
|
|
74
|
+
'https': true,
|
|
75
|
+
'ftp': true,
|
|
76
|
+
'gopher': true,
|
|
77
|
+
'file': true,
|
|
78
|
+
'http:': true,
|
|
79
|
+
'https:': true,
|
|
80
|
+
'ftp:': true,
|
|
81
|
+
'gopher:': true,
|
|
82
|
+
'file:': true
|
|
83
|
+
};
|
|
84
|
+
/* eslint-enable no-script-url */
|
|
85
|
+
|
|
86
|
+
function urlParse(url, slashesDenoteHost) {
|
|
87
|
+
if (url && url instanceof Url) { return url; }
|
|
88
|
+
|
|
89
|
+
var u = new Url();
|
|
90
|
+
u.parse(url, slashesDenoteHost);
|
|
91
|
+
return u;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
Url.prototype.parse = function(url, slashesDenoteHost) {
|
|
95
|
+
var i, l, lowerProto, hec, slashes,
|
|
96
|
+
rest = url;
|
|
97
|
+
|
|
98
|
+
// trim before proceeding.
|
|
99
|
+
// This is to support parse stuff like " http://foo.com \n"
|
|
100
|
+
rest = rest.trim();
|
|
101
|
+
|
|
102
|
+
if (!slashesDenoteHost && url.split('#').length === 1) {
|
|
103
|
+
// Try fast path regexp
|
|
104
|
+
var simplePath = simplePathPattern.exec(rest);
|
|
105
|
+
if (simplePath) {
|
|
106
|
+
this.pathname = simplePath[1];
|
|
107
|
+
if (simplePath[2]) {
|
|
108
|
+
this.search = simplePath[2];
|
|
109
|
+
}
|
|
110
|
+
return this;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
var proto = protocolPattern.exec(rest);
|
|
115
|
+
if (proto) {
|
|
116
|
+
proto = proto[0];
|
|
117
|
+
lowerProto = proto.toLowerCase();
|
|
118
|
+
this.protocol = proto;
|
|
119
|
+
rest = rest.substr(proto.length);
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
// figure out if it's got a host
|
|
123
|
+
// user@server is *always* interpreted as a hostname, and url
|
|
124
|
+
// resolution will treat //foo/bar as host=foo,path=bar because that's
|
|
125
|
+
// how the browser resolves relative URLs.
|
|
126
|
+
if (slashesDenoteHost || proto || rest.match(/^\/\/[^@\/]+@[^@\/]+/)) {
|
|
127
|
+
slashes = rest.substr(0, 2) === '//';
|
|
128
|
+
if (slashes && !(proto && hostlessProtocol[proto])) {
|
|
129
|
+
rest = rest.substr(2);
|
|
130
|
+
this.slashes = true;
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
if (!hostlessProtocol[proto] &&
|
|
135
|
+
(slashes || (proto && !slashedProtocol[proto]))) {
|
|
136
|
+
|
|
137
|
+
// there's a hostname.
|
|
138
|
+
// the first instance of /, ?, ;, or # ends the host.
|
|
139
|
+
//
|
|
140
|
+
// If there is an @ in the hostname, then non-host chars *are* allowed
|
|
141
|
+
// to the left of the last @ sign, unless some host-ending character
|
|
142
|
+
// comes *before* the @-sign.
|
|
143
|
+
// URLs are obnoxious.
|
|
144
|
+
//
|
|
145
|
+
// ex:
|
|
146
|
+
// http://a@b@c/ => user:a@b host:c
|
|
147
|
+
// http://a@b?@c => user:a host:c path:/?@c
|
|
148
|
+
|
|
149
|
+
// v0.12 TODO(isaacs): This is not quite how Chrome does things.
|
|
150
|
+
// Review our test case against browsers more comprehensively.
|
|
151
|
+
|
|
152
|
+
// find the first instance of any hostEndingChars
|
|
153
|
+
var hostEnd = -1;
|
|
154
|
+
for (i = 0; i < hostEndingChars.length; i++) {
|
|
155
|
+
hec = rest.indexOf(hostEndingChars[i]);
|
|
156
|
+
if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) {
|
|
157
|
+
hostEnd = hec;
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
// at this point, either we have an explicit point where the
|
|
162
|
+
// auth portion cannot go past, or the last @ char is the decider.
|
|
163
|
+
var auth, atSign;
|
|
164
|
+
if (hostEnd === -1) {
|
|
165
|
+
// atSign can be anywhere.
|
|
166
|
+
atSign = rest.lastIndexOf('@');
|
|
167
|
+
} else {
|
|
168
|
+
// atSign must be in auth portion.
|
|
169
|
+
// http://a@b/c@d => host:b auth:a path:/c@d
|
|
170
|
+
atSign = rest.lastIndexOf('@', hostEnd);
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
// Now we have a portion which is definitely the auth.
|
|
174
|
+
// Pull that off.
|
|
175
|
+
if (atSign !== -1) {
|
|
176
|
+
auth = rest.slice(0, atSign);
|
|
177
|
+
rest = rest.slice(atSign + 1);
|
|
178
|
+
this.auth = auth;
|
|
179
|
+
}
|
|
180
|
+
|
|
181
|
+
// the host is the remaining to the left of the first non-host char
|
|
182
|
+
hostEnd = -1;
|
|
183
|
+
for (i = 0; i < nonHostChars.length; i++) {
|
|
184
|
+
hec = rest.indexOf(nonHostChars[i]);
|
|
185
|
+
if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) {
|
|
186
|
+
hostEnd = hec;
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
// if we still have not hit it, then the entire thing is a host.
|
|
190
|
+
if (hostEnd === -1) {
|
|
191
|
+
hostEnd = rest.length;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
if (rest[hostEnd - 1] === ':') { hostEnd--; }
|
|
195
|
+
var host = rest.slice(0, hostEnd);
|
|
196
|
+
rest = rest.slice(hostEnd);
|
|
197
|
+
|
|
198
|
+
// pull out port.
|
|
199
|
+
this.parseHost(host);
|
|
200
|
+
|
|
201
|
+
// we've indicated that there is a hostname,
|
|
202
|
+
// so even if it's empty, it has to be present.
|
|
203
|
+
this.hostname = this.hostname || '';
|
|
204
|
+
|
|
205
|
+
// if hostname begins with [ and ends with ]
|
|
206
|
+
// assume that it's an IPv6 address.
|
|
207
|
+
var ipv6Hostname = this.hostname[0] === '[' &&
|
|
208
|
+
this.hostname[this.hostname.length - 1] === ']';
|
|
209
|
+
|
|
210
|
+
// validate a little.
|
|
211
|
+
if (!ipv6Hostname) {
|
|
212
|
+
var hostparts = this.hostname.split(/\./);
|
|
213
|
+
for (i = 0, l = hostparts.length; i < l; i++) {
|
|
214
|
+
var part = hostparts[i];
|
|
215
|
+
if (!part) { continue; }
|
|
216
|
+
if (!part.match(hostnamePartPattern)) {
|
|
217
|
+
var newpart = '';
|
|
218
|
+
for (var j = 0, k = part.length; j < k; j++) {
|
|
219
|
+
if (part.charCodeAt(j) > 127) {
|
|
220
|
+
// we replace non-ASCII char with a temporary placeholder
|
|
221
|
+
// we need this to make sure size of hostname is not
|
|
222
|
+
// broken by replacing non-ASCII by nothing
|
|
223
|
+
newpart += 'x';
|
|
224
|
+
} else {
|
|
225
|
+
newpart += part[j];
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
// we test again with ASCII char only
|
|
229
|
+
if (!newpart.match(hostnamePartPattern)) {
|
|
230
|
+
var validParts = hostparts.slice(0, i);
|
|
231
|
+
var notHost = hostparts.slice(i + 1);
|
|
232
|
+
var bit = part.match(hostnamePartStart);
|
|
233
|
+
if (bit) {
|
|
234
|
+
validParts.push(bit[1]);
|
|
235
|
+
notHost.unshift(bit[2]);
|
|
236
|
+
}
|
|
237
|
+
if (notHost.length) {
|
|
238
|
+
rest = notHost.join('.') + rest;
|
|
239
|
+
}
|
|
240
|
+
this.hostname = validParts.join('.');
|
|
241
|
+
break;
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
if (this.hostname.length > hostnameMaxLen) {
|
|
248
|
+
this.hostname = '';
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
// strip [ and ] from the hostname
|
|
252
|
+
// the host field still retains them, though
|
|
253
|
+
if (ipv6Hostname) {
|
|
254
|
+
this.hostname = this.hostname.substr(1, this.hostname.length - 2);
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
// chop off from the tail first.
|
|
259
|
+
var hash = rest.indexOf('#');
|
|
260
|
+
if (hash !== -1) {
|
|
261
|
+
// got a fragment string.
|
|
262
|
+
this.hash = rest.substr(hash);
|
|
263
|
+
rest = rest.slice(0, hash);
|
|
264
|
+
}
|
|
265
|
+
var qm = rest.indexOf('?');
|
|
266
|
+
if (qm !== -1) {
|
|
267
|
+
this.search = rest.substr(qm);
|
|
268
|
+
rest = rest.slice(0, qm);
|
|
269
|
+
}
|
|
270
|
+
if (rest) { this.pathname = rest; }
|
|
271
|
+
if (slashedProtocol[lowerProto] &&
|
|
272
|
+
this.hostname && !this.pathname) {
|
|
273
|
+
this.pathname = '';
|
|
274
|
+
}
|
|
275
|
+
|
|
276
|
+
return this;
|
|
277
|
+
};
|
|
278
|
+
|
|
279
|
+
Url.prototype.parseHost = function(host) {
|
|
280
|
+
var port = portPattern.exec(host);
|
|
281
|
+
if (port) {
|
|
282
|
+
port = port[0];
|
|
283
|
+
if (port !== ':') {
|
|
284
|
+
this.port = port.substr(1);
|
|
285
|
+
}
|
|
286
|
+
host = host.substr(0, host.length - port.length);
|
|
287
|
+
}
|
|
288
|
+
if (host) { this.hostname = host; }
|
|
289
|
+
};
|
|
290
|
+
|
|
291
|
+
var parse = urlParse;
|
|
292
|
+
|
|
293
|
+
exports.parse = parse;
|
|
294
|
+
//# sourceMappingURL=parse.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parse.js","sources":["../../../../../../../node_modules/.pnpm/mdurl@1.0.1/node_modules/mdurl/parse.js"],"sourcesContent":["// Copyright Joyent, Inc. and other Node contributors.\n//\n// Permission is hereby granted, free of charge, to any person obtaining a\n// copy of this software and associated documentation files (the\n// \"Software\"), to deal in the Software without restriction, including\n// without limitation the rights to use, copy, modify, merge, publish,\n// distribute, sublicense, and/or sell copies of the Software, and to permit\n// persons to whom the Software is furnished to do so, subject to the\n// following conditions:\n//\n// The above copyright notice and this permission notice shall be included\n// in all copies or substantial portions of the Software.\n//\n// THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS\n// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF\n// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN\n// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,\n// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR\n// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE\n// USE OR OTHER DEALINGS IN THE SOFTWARE.\n\n'use strict';\n\n//\n// Changes from joyent/node:\n//\n// 1. No leading slash in paths,\n// e.g. in `url.parse('http://foo?bar')` pathname is ``, not `/`\n//\n// 2. Backslashes are not replaced with slashes,\n// so `http:\\\\example.org\\` is treated like a relative path\n//\n// 3. Trailing colon is treated like a part of the path,\n// i.e. in `http://example.org:foo` pathname is `:foo`\n//\n// 4. Nothing is URL-encoded in the resulting object,\n// (in joyent/node some chars in auth and paths are encoded)\n//\n// 5. `url.parse()` does not have `parseQueryString` argument\n//\n// 6. Removed extraneous result properties: `host`, `path`, `query`, etc.,\n// which can be constructed using other parts of the url.\n//\n\n\nfunction Url() {\n this.protocol = null;\n this.slashes = null;\n this.auth = null;\n this.port = null;\n this.hostname = null;\n this.hash = null;\n this.search = null;\n this.pathname = null;\n}\n\n// Reference: RFC 3986, RFC 1808, RFC 2396\n\n// define these here so at least they only have to be\n// compiled once on the first module load.\nvar protocolPattern = /^([a-z0-9.+-]+:)/i,\n portPattern = /:[0-9]*$/,\n\n // Special case for a simple path URL\n simplePathPattern = /^(\\/\\/?(?!\\/)[^\\?\\s]*)(\\?[^\\s]*)?$/,\n\n // RFC 2396: characters reserved for delimiting URLs.\n // We actually just auto-escape these.\n delims = [ '<', '>', '\"', '`', ' ', '\\r', '\\n', '\\t' ],\n\n // RFC 2396: characters not allowed for various reasons.\n unwise = [ '{', '}', '|', '\\\\', '^', '`' ].concat(delims),\n\n // Allowed by RFCs, but cause of XSS attacks. Always escape these.\n autoEscape = [ '\\'' ].concat(unwise),\n // Characters that are never ever allowed in a hostname.\n // Note that any invalid chars are also handled, but these\n // are the ones that are *expected* to be seen, so we fast-path\n // them.\n nonHostChars = [ '%', '/', '?', ';', '#' ].concat(autoEscape),\n hostEndingChars = [ '/', '?', '#' ],\n hostnameMaxLen = 255,\n hostnamePartPattern = /^[+a-z0-9A-Z_-]{0,63}$/,\n hostnamePartStart = /^([+a-z0-9A-Z_-]{0,63})(.*)$/,\n // protocols that can allow \"unsafe\" and \"unwise\" chars.\n /* eslint-disable no-script-url */\n // protocols that never have a hostname.\n hostlessProtocol = {\n 'javascript': true,\n 'javascript:': true\n },\n // protocols that always contain a // bit.\n slashedProtocol = {\n 'http': true,\n 'https': true,\n 'ftp': true,\n 'gopher': true,\n 'file': true,\n 'http:': true,\n 'https:': true,\n 'ftp:': true,\n 'gopher:': true,\n 'file:': true\n };\n /* eslint-enable no-script-url */\n\nfunction urlParse(url, slashesDenoteHost) {\n if (url && url instanceof Url) { return url; }\n\n var u = new Url();\n u.parse(url, slashesDenoteHost);\n return u;\n}\n\nUrl.prototype.parse = function(url, slashesDenoteHost) {\n var i, l, lowerProto, hec, slashes,\n rest = url;\n\n // trim before proceeding.\n // This is to support parse stuff like \" http://foo.com \\n\"\n rest = rest.trim();\n\n if (!slashesDenoteHost && url.split('#').length === 1) {\n // Try fast path regexp\n var simplePath = simplePathPattern.exec(rest);\n if (simplePath) {\n this.pathname = simplePath[1];\n if (simplePath[2]) {\n this.search = simplePath[2];\n }\n return this;\n }\n }\n\n var proto = protocolPattern.exec(rest);\n if (proto) {\n proto = proto[0];\n lowerProto = proto.toLowerCase();\n this.protocol = proto;\n rest = rest.substr(proto.length);\n }\n\n // figure out if it's got a host\n // user@server is *always* interpreted as a hostname, and url\n // resolution will treat //foo/bar as host=foo,path=bar because that's\n // how the browser resolves relative URLs.\n if (slashesDenoteHost || proto || rest.match(/^\\/\\/[^@\\/]+@[^@\\/]+/)) {\n slashes = rest.substr(0, 2) === '//';\n if (slashes && !(proto && hostlessProtocol[proto])) {\n rest = rest.substr(2);\n this.slashes = true;\n }\n }\n\n if (!hostlessProtocol[proto] &&\n (slashes || (proto && !slashedProtocol[proto]))) {\n\n // there's a hostname.\n // the first instance of /, ?, ;, or # ends the host.\n //\n // If there is an @ in the hostname, then non-host chars *are* allowed\n // to the left of the last @ sign, unless some host-ending character\n // comes *before* the @-sign.\n // URLs are obnoxious.\n //\n // ex:\n // http://a@b@c/ => user:a@b host:c\n // http://a@b?@c => user:a host:c path:/?@c\n\n // v0.12 TODO(isaacs): This is not quite how Chrome does things.\n // Review our test case against browsers more comprehensively.\n\n // find the first instance of any hostEndingChars\n var hostEnd = -1;\n for (i = 0; i < hostEndingChars.length; i++) {\n hec = rest.indexOf(hostEndingChars[i]);\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) {\n hostEnd = hec;\n }\n }\n\n // at this point, either we have an explicit point where the\n // auth portion cannot go past, or the last @ char is the decider.\n var auth, atSign;\n if (hostEnd === -1) {\n // atSign can be anywhere.\n atSign = rest.lastIndexOf('@');\n } else {\n // atSign must be in auth portion.\n // http://a@b/c@d => host:b auth:a path:/c@d\n atSign = rest.lastIndexOf('@', hostEnd);\n }\n\n // Now we have a portion which is definitely the auth.\n // Pull that off.\n if (atSign !== -1) {\n auth = rest.slice(0, atSign);\n rest = rest.slice(atSign + 1);\n this.auth = auth;\n }\n\n // the host is the remaining to the left of the first non-host char\n hostEnd = -1;\n for (i = 0; i < nonHostChars.length; i++) {\n hec = rest.indexOf(nonHostChars[i]);\n if (hec !== -1 && (hostEnd === -1 || hec < hostEnd)) {\n hostEnd = hec;\n }\n }\n // if we still have not hit it, then the entire thing is a host.\n if (hostEnd === -1) {\n hostEnd = rest.length;\n }\n\n if (rest[hostEnd - 1] === ':') { hostEnd--; }\n var host = rest.slice(0, hostEnd);\n rest = rest.slice(hostEnd);\n\n // pull out port.\n this.parseHost(host);\n\n // we've indicated that there is a hostname,\n // so even if it's empty, it has to be present.\n this.hostname = this.hostname || '';\n\n // if hostname begins with [ and ends with ]\n // assume that it's an IPv6 address.\n var ipv6Hostname = this.hostname[0] === '[' &&\n this.hostname[this.hostname.length - 1] === ']';\n\n // validate a little.\n if (!ipv6Hostname) {\n var hostparts = this.hostname.split(/\\./);\n for (i = 0, l = hostparts.length; i < l; i++) {\n var part = hostparts[i];\n if (!part) { continue; }\n if (!part.match(hostnamePartPattern)) {\n var newpart = '';\n for (var j = 0, k = part.length; j < k; j++) {\n if (part.charCodeAt(j) > 127) {\n // we replace non-ASCII char with a temporary placeholder\n // we need this to make sure size of hostname is not\n // broken by replacing non-ASCII by nothing\n newpart += 'x';\n } else {\n newpart += part[j];\n }\n }\n // we test again with ASCII char only\n if (!newpart.match(hostnamePartPattern)) {\n var validParts = hostparts.slice(0, i);\n var notHost = hostparts.slice(i + 1);\n var bit = part.match(hostnamePartStart);\n if (bit) {\n validParts.push(bit[1]);\n notHost.unshift(bit[2]);\n }\n if (notHost.length) {\n rest = notHost.join('.') + rest;\n }\n this.hostname = validParts.join('.');\n break;\n }\n }\n }\n }\n\n if (this.hostname.length > hostnameMaxLen) {\n this.hostname = '';\n }\n\n // strip [ and ] from the hostname\n // the host field still retains them, though\n if (ipv6Hostname) {\n this.hostname = this.hostname.substr(1, this.hostname.length - 2);\n }\n }\n\n // chop off from the tail first.\n var hash = rest.indexOf('#');\n if (hash !== -1) {\n // got a fragment string.\n this.hash = rest.substr(hash);\n rest = rest.slice(0, hash);\n }\n var qm = rest.indexOf('?');\n if (qm !== -1) {\n this.search = rest.substr(qm);\n rest = rest.slice(0, qm);\n }\n if (rest) { this.pathname = rest; }\n if (slashedProtocol[lowerProto] &&\n this.hostname && !this.pathname) {\n this.pathname = '';\n }\n\n return this;\n};\n\nUrl.prototype.parseHost = function(host) {\n var port = portPattern.exec(host);\n if (port) {\n port = port[0];\n if (port !== ':') {\n this.port = port.substr(1);\n }\n host = host.substr(0, host.length - port.length);\n }\n if (host) { this.hostname = host; }\n};\n\nmodule.exports = urlParse;\n"],"names":[],"mappings":";;AAuBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AAGA,SAAS,GAAG,GAAG;AACf,EAAE,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAA;AACtB,EAAE,IAAI,CAAC,OAAO,GAAG,IAAI,CAAA;AACrB,EAAE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;AAClB,EAAE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;AAClB,EAAE,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAA;AACtB,EAAE,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA;AAClB,EAAE,IAAI,CAAC,MAAM,GAAG,IAAI,CAAA;AACpB,EAAE,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAA;AACtB,CAAA;;AAEA;;AAEA;AACA;AACA,IAAI,eAAe,GAAG,mBAAmB;AACzC,IAAI,WAAW,GAAG,UAAU;;AAE5B;AACA,IAAI,iBAAiB,GAAG,oCAAoC;;AAE5D;AACA;AACA,IAAI,MAAM,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE;;AAE1D;AACA,IAAI,MAAM,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,E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EAAE,CAAC,CAAA;AACjC,IAAI,IAAI,GAAG,IAAI,CAAC,KAAK,CAAC,CAAC,EAAE,EAAE,CAAC,CAAA;AAC5B,GAAA;AACA,EAAE,IAAI,IAAI,EAAE,EAAE,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,EAAA;AACnC,EAAE,IAAI,eAAe,CAAC,UAAU,CAAC;AACjC,MAAM,IAAI,CAAC,QAAQ,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE;AACvC,IAAI,IAAI,CAAC,QAAQ,GAAG,EAAE,CAAA;AACtB,GAAA;;AAEA,EAAE,OAAO,IAAI,CAAA;AACb,CAAC,CAAA;;AAED,GAAG,CAAC,SAAS,CAAC,SAAS,GAAG,SAAS,IAAI,EAAE;AACzC,EAAE,IAAI,IAAI,GAAG,WAAW,CAAC,IAAI,CAAC,IAAI,CAAC,CAAA;AACnC,EAAE,IAAI,IAAI,EAAE;AACZ,IAAI,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,CAAA;AAClB,IAAI,IAAI,IAAI,KAAK,GAAG,EAAE;AACtB,MAAM,IAAI,CAAC,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,CAAC,CAAA;AAChC,KAAA;AACA,IAAI,IAAI,GAAG,IAAI,CAAC,MAAM,CAAC,CAAC,EAAE,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAC,CAAA;AACpD,GAAA;AACA,EAAE,IAAI,IAAI,EAAE,EAAE,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,EAAA;AACnC,CAAC,CAAA;;AAED,IAAA,KAAc,GAAG;;;;","x_google_ignoreList":[0]}
|
package/lib/node_modules/.pnpm/throttle-debounce@5.0.2/node_modules/throttle-debounce/esm/index.js
ADDED
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
/* eslint-disable no-undefined,no-param-reassign,no-shadow */
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Throttle execution of a function. Especially useful for rate limiting
|
|
7
|
+
* execution of handlers on events like resize and scroll.
|
|
8
|
+
*
|
|
9
|
+
* @param {number} delay - A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher)
|
|
10
|
+
* are most useful.
|
|
11
|
+
* @param {Function} callback - A function to be executed after delay milliseconds. The `this` context and all arguments are passed through,
|
|
12
|
+
* as-is, to `callback` when the throttled-function is executed.
|
|
13
|
+
* @param {object} [options] - An object to configure options.
|
|
14
|
+
* @param {boolean} [options.noTrailing] - Optional, defaults to false. If noTrailing is true, callback will only execute every `delay` milliseconds
|
|
15
|
+
* while the throttled-function is being called. If noTrailing is false or unspecified, callback will be executed
|
|
16
|
+
* one final time after the last throttled-function call. (After the throttled-function has not been called for
|
|
17
|
+
* `delay` milliseconds, the internal counter is reset).
|
|
18
|
+
* @param {boolean} [options.noLeading] - Optional, defaults to false. If noLeading is false, the first throttled-function call will execute callback
|
|
19
|
+
* immediately. If noLeading is true, the first the callback execution will be skipped. It should be noted that
|
|
20
|
+
* callback will never executed if both noLeading = true and noTrailing = true.
|
|
21
|
+
* @param {boolean} [options.debounceMode] - If `debounceMode` is true (at begin), schedule `clear` to execute after `delay` ms. If `debounceMode` is
|
|
22
|
+
* false (at end), schedule `callback` to execute after `delay` ms.
|
|
23
|
+
*
|
|
24
|
+
* @returns {Function} A new, throttled, function.
|
|
25
|
+
*/
|
|
26
|
+
function throttle (delay, callback, options) {
|
|
27
|
+
var _ref = options || {},
|
|
28
|
+
_ref$noTrailing = _ref.noTrailing,
|
|
29
|
+
noTrailing = _ref$noTrailing === void 0 ? false : _ref$noTrailing,
|
|
30
|
+
_ref$noLeading = _ref.noLeading,
|
|
31
|
+
noLeading = _ref$noLeading === void 0 ? false : _ref$noLeading,
|
|
32
|
+
_ref$debounceMode = _ref.debounceMode,
|
|
33
|
+
debounceMode = _ref$debounceMode === void 0 ? undefined : _ref$debounceMode;
|
|
34
|
+
/*
|
|
35
|
+
* After wrapper has stopped being called, this timeout ensures that
|
|
36
|
+
* `callback` is executed at the proper times in `throttle` and `end`
|
|
37
|
+
* debounce modes.
|
|
38
|
+
*/
|
|
39
|
+
var timeoutID;
|
|
40
|
+
var cancelled = false;
|
|
41
|
+
|
|
42
|
+
// Keep track of the last time `callback` was executed.
|
|
43
|
+
var lastExec = 0;
|
|
44
|
+
|
|
45
|
+
// Function to clear existing timeout
|
|
46
|
+
function clearExistingTimeout() {
|
|
47
|
+
if (timeoutID) {
|
|
48
|
+
clearTimeout(timeoutID);
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
// Function to cancel next exec
|
|
53
|
+
function cancel(options) {
|
|
54
|
+
var _ref2 = options || {},
|
|
55
|
+
_ref2$upcomingOnly = _ref2.upcomingOnly,
|
|
56
|
+
upcomingOnly = _ref2$upcomingOnly === void 0 ? false : _ref2$upcomingOnly;
|
|
57
|
+
clearExistingTimeout();
|
|
58
|
+
cancelled = !upcomingOnly;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
/*
|
|
62
|
+
* The `wrapper` function encapsulates all of the throttling / debouncing
|
|
63
|
+
* functionality and when executed will limit the rate at which `callback`
|
|
64
|
+
* is executed.
|
|
65
|
+
*/
|
|
66
|
+
function wrapper() {
|
|
67
|
+
for (var _len = arguments.length, arguments_ = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
68
|
+
arguments_[_key] = arguments[_key];
|
|
69
|
+
}
|
|
70
|
+
var self = this;
|
|
71
|
+
var elapsed = Date.now() - lastExec;
|
|
72
|
+
if (cancelled) {
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
// Execute `callback` and update the `lastExec` timestamp.
|
|
77
|
+
function exec() {
|
|
78
|
+
lastExec = Date.now();
|
|
79
|
+
callback.apply(self, arguments_);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
/*
|
|
83
|
+
* If `debounceMode` is true (at begin) this is used to clear the flag
|
|
84
|
+
* to allow future `callback` executions.
|
|
85
|
+
*/
|
|
86
|
+
function clear() {
|
|
87
|
+
timeoutID = undefined;
|
|
88
|
+
}
|
|
89
|
+
if (!noLeading && debounceMode && !timeoutID) {
|
|
90
|
+
/*
|
|
91
|
+
* Since `wrapper` is being called for the first time and
|
|
92
|
+
* `debounceMode` is true (at begin), execute `callback`
|
|
93
|
+
* and noLeading != true.
|
|
94
|
+
*/
|
|
95
|
+
exec();
|
|
96
|
+
}
|
|
97
|
+
clearExistingTimeout();
|
|
98
|
+
if (debounceMode === undefined && elapsed > delay) {
|
|
99
|
+
if (noLeading) {
|
|
100
|
+
/*
|
|
101
|
+
* In throttle mode with noLeading, if `delay` time has
|
|
102
|
+
* been exceeded, update `lastExec` and schedule `callback`
|
|
103
|
+
* to execute after `delay` ms.
|
|
104
|
+
*/
|
|
105
|
+
lastExec = Date.now();
|
|
106
|
+
if (!noTrailing) {
|
|
107
|
+
timeoutID = setTimeout(debounceMode ? clear : exec, delay);
|
|
108
|
+
}
|
|
109
|
+
} else {
|
|
110
|
+
/*
|
|
111
|
+
* In throttle mode without noLeading, if `delay` time has been exceeded, execute
|
|
112
|
+
* `callback`.
|
|
113
|
+
*/
|
|
114
|
+
exec();
|
|
115
|
+
}
|
|
116
|
+
} else if (noTrailing !== true) {
|
|
117
|
+
/*
|
|
118
|
+
* In trailing throttle mode, since `delay` time has not been
|
|
119
|
+
* exceeded, schedule `callback` to execute `delay` ms after most
|
|
120
|
+
* recent execution.
|
|
121
|
+
*
|
|
122
|
+
* If `debounceMode` is true (at begin), schedule `clear` to execute
|
|
123
|
+
* after `delay` ms.
|
|
124
|
+
*
|
|
125
|
+
* If `debounceMode` is false (at end), schedule `callback` to
|
|
126
|
+
* execute after `delay` ms.
|
|
127
|
+
*/
|
|
128
|
+
timeoutID = setTimeout(debounceMode ? clear : exec, debounceMode === undefined ? delay - elapsed : delay);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
wrapper.cancel = cancel;
|
|
132
|
+
|
|
133
|
+
// Return the wrapper function.
|
|
134
|
+
return wrapper;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
exports.throttle = throttle;
|
|
138
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../../../node_modules/.pnpm/throttle-debounce@5.0.2/node_modules/throttle-debounce/esm/index.js"],"sourcesContent":["/* eslint-disable no-undefined,no-param-reassign,no-shadow */\n\n/**\n * Throttle execution of a function. Especially useful for rate limiting\n * execution of handlers on events like resize and scroll.\n *\n * @param {number} delay - A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher)\n * are most useful.\n * @param {Function} callback - A function to be executed after delay milliseconds. The `this` context and all arguments are passed through,\n * as-is, to `callback` when the throttled-function is executed.\n * @param {object} [options] - An object to configure options.\n * @param {boolean} [options.noTrailing] - Optional, defaults to false. If noTrailing is true, callback will only execute every `delay` milliseconds\n * while the throttled-function is being called. If noTrailing is false or unspecified, callback will be executed\n * one final time after the last throttled-function call. (After the throttled-function has not been called for\n * `delay` milliseconds, the internal counter is reset).\n * @param {boolean} [options.noLeading] - Optional, defaults to false. If noLeading is false, the first throttled-function call will execute callback\n * immediately. If noLeading is true, the first the callback execution will be skipped. It should be noted that\n * callback will never executed if both noLeading = true and noTrailing = true.\n * @param {boolean} [options.debounceMode] - If `debounceMode` is true (at begin), schedule `clear` to execute after `delay` ms. If `debounceMode` is\n * false (at end), schedule `callback` to execute after `delay` ms.\n *\n * @returns {Function} A new, throttled, function.\n */\nfunction throttle (delay, callback, options) {\n var _ref = options || {},\n _ref$noTrailing = _ref.noTrailing,\n noTrailing = _ref$noTrailing === void 0 ? false : _ref$noTrailing,\n _ref$noLeading = _ref.noLeading,\n noLeading = _ref$noLeading === void 0 ? false : _ref$noLeading,\n _ref$debounceMode = _ref.debounceMode,\n debounceMode = _ref$debounceMode === void 0 ? undefined : _ref$debounceMode;\n /*\n * After wrapper has stopped being called, this timeout ensures that\n * `callback` is executed at the proper times in `throttle` and `end`\n * debounce modes.\n */\n var timeoutID;\n var cancelled = false;\n\n // Keep track of the last time `callback` was executed.\n var lastExec = 0;\n\n // Function to clear existing timeout\n function clearExistingTimeout() {\n if (timeoutID) {\n clearTimeout(timeoutID);\n }\n }\n\n // Function to cancel next exec\n function cancel(options) {\n var _ref2 = options || {},\n _ref2$upcomingOnly = _ref2.upcomingOnly,\n upcomingOnly = _ref2$upcomingOnly === void 0 ? false : _ref2$upcomingOnly;\n clearExistingTimeout();\n cancelled = !upcomingOnly;\n }\n\n /*\n * The `wrapper` function encapsulates all of the throttling / debouncing\n * functionality and when executed will limit the rate at which `callback`\n * is executed.\n */\n function wrapper() {\n for (var _len = arguments.length, arguments_ = new Array(_len), _key = 0; _key < _len; _key++) {\n arguments_[_key] = arguments[_key];\n }\n var self = this;\n var elapsed = Date.now() - lastExec;\n if (cancelled) {\n return;\n }\n\n // Execute `callback` and update the `lastExec` timestamp.\n function exec() {\n lastExec = Date.now();\n callback.apply(self, arguments_);\n }\n\n /*\n * If `debounceMode` is true (at begin) this is used to clear the flag\n * to allow future `callback` executions.\n */\n function clear() {\n timeoutID = undefined;\n }\n if (!noLeading && debounceMode && !timeoutID) {\n /*\n * Since `wrapper` is being called for the first time and\n * `debounceMode` is true (at begin), execute `callback`\n * and noLeading != true.\n */\n exec();\n }\n clearExistingTimeout();\n if (debounceMode === undefined && elapsed > delay) {\n if (noLeading) {\n /*\n * In throttle mode with noLeading, if `delay` time has\n * been exceeded, update `lastExec` and schedule `callback`\n * to execute after `delay` ms.\n */\n lastExec = Date.now();\n if (!noTrailing) {\n timeoutID = setTimeout(debounceMode ? clear : exec, delay);\n }\n } else {\n /*\n * In throttle mode without noLeading, if `delay` time has been exceeded, execute\n * `callback`.\n */\n exec();\n }\n } else if (noTrailing !== true) {\n /*\n * In trailing throttle mode, since `delay` time has not been\n * exceeded, schedule `callback` to execute `delay` ms after most\n * recent execution.\n *\n * If `debounceMode` is true (at begin), schedule `clear` to execute\n * after `delay` ms.\n *\n * If `debounceMode` is false (at end), schedule `callback` to\n * execute after `delay` ms.\n */\n timeoutID = setTimeout(debounceMode ? clear : exec, debounceMode === undefined ? delay - elapsed : delay);\n }\n }\n wrapper.cancel = cancel;\n\n // Return the wrapper function.\n return wrapper;\n}\n\n/* eslint-disable no-undefined */\n\n/**\n * Debounce execution of a function. Debouncing, unlike throttling,\n * guarantees that a function is only executed a single time, either at the\n * very beginning of a series of calls, or at the very end.\n *\n * @param {number} delay - A zero-or-greater delay in milliseconds. For event callbacks, values around 100 or 250 (or even higher) are most useful.\n * @param {Function} callback - A function to be executed after delay milliseconds. The `this` context and all arguments are passed through, as-is,\n * to `callback` when the debounced-function is executed.\n * @param {object} [options] - An object to configure options.\n * @param {boolean} [options.atBegin] - Optional, defaults to false. If atBegin is false or unspecified, callback will only be executed `delay` milliseconds\n * after the last debounced-function call. If atBegin is true, callback will be executed only at the first debounced-function call.\n * (After the throttled-function has not been called for `delay` milliseconds, the internal counter is reset).\n *\n * @returns {Function} A new, debounced function.\n */\nfunction debounce (delay, callback, options) {\n var _ref = options || {},\n _ref$atBegin = _ref.atBegin,\n atBegin = _ref$atBegin === void 0 ? false : _ref$atBegin;\n return throttle(delay, callback, {\n debounceMode: atBegin !== false\n });\n}\n\nexport { debounce, throttle };\n//# sourceMappingURL=index.js.map\n"],"names":[],"mappings":";;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,SAAS,QAAQ,EAAE,KAAK,EAAE,QAAQ,EAAE,OAAO,EAAE;AAC7C,EAAE,IAAI,IAAI,GAAG,OAAO,IAAI,EAAE;AAC1B,IAAI,eAAe,GAAG,IAAI,CAAC,UAAU;AACrC,IAAI,UAAU,GAAG,eAAe,KAAK,KAAK,CAAC,GAAG,KAAK,GAAG,eAAe;AACrE,IAAI,cAAc,GAAG,IAA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