ai-question-pro 0.0.2 → 0.0.3

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.
Files changed (112) hide show
  1. package/dist/ai-question-pro.common.js +5468 -0
  2. package/dist/ai-question-pro.common.js.map +1 -0
  3. package/dist/ai-question-pro.umd.js +5479 -0
  4. package/dist/ai-question-pro.umd.js.map +1 -0
  5. package/dist/ai-question-pro.umd.min.js +4 -0
  6. package/dist/ai-question-pro.umd.min.js.map +1 -0
  7. package/dist/demo.html +1 -0
  8. package/package.json +2 -2
  9. package/dist/dist.zip +0 -0
  10. package/dist/example.pdf +0 -0
  11. package/dist/favicon.ico +0 -0
  12. package/dist/index.html +0 -1
  13. package/dist/static/css/app.db516013.css +0 -1
  14. package/dist/static/css/chunk-0b2f36dc.d2c51001.css +0 -1
  15. package/dist/static/css/chunk-1017c38b.37c79086.css +0 -1
  16. package/dist/static/css/chunk-14486df2.67cf2e83.css +0 -1
  17. package/dist/static/css/chunk-50ed24be.d542543c.css +0 -1
  18. package/dist/static/css/chunk-52b6529f.234184df.css +0 -1
  19. package/dist/static/css/chunk-afedda78.11e9ac00.css +0 -1
  20. package/dist/static/css/chunk-bf085792.820db3ee.css +0 -1
  21. package/dist/static/css/chunk-commons.fa19746a.css +0 -1
  22. package/dist/static/css/chunk-elementUI.540b74b2.css +0 -1
  23. package/dist/static/css/chunk-f95d4b14.6b1d6d18.css +0 -1
  24. package/dist/static/fonts/bdzy.898f1701.ttf +0 -0
  25. package/dist/static/fonts/element-icons.535877f5.woff +0 -0
  26. package/dist/static/fonts/element-icons.732389de.ttf +0 -0
  27. package/dist/static/img/1.d7943ab3.svg +0 -12
  28. package/dist/static/img/10.0d977081.svg +0 -12
  29. package/dist/static/img/11.e706123f.svg +0 -12
  30. package/dist/static/img/12.6dcda471.svg +0 -12
  31. package/dist/static/img/13.de32d16b.svg +0 -12
  32. package/dist/static/img/14.96b60a4d.svg +0 -12
  33. package/dist/static/img/15.d0763a02.svg +0 -12
  34. package/dist/static/img/16.7c1a3fa6.svg +0 -12
  35. package/dist/static/img/17.6dcda471.svg +0 -12
  36. package/dist/static/img/18.d7943ab3.svg +0 -12
  37. package/dist/static/img/19.0d977081.svg +0 -12
  38. package/dist/static/img/2.d0763a02.svg +0 -12
  39. package/dist/static/img/3.96b60a4d.svg +0 -12
  40. package/dist/static/img/4.d0763a02.svg +0 -12
  41. package/dist/static/img/5.d7943ab3.svg +0 -12
  42. package/dist/static/img/6.7c1a3fa6.svg +0 -12
  43. package/dist/static/img/7.de32d16b.svg +0 -12
  44. package/dist/static/img/8.923e4a7d.svg +0 -12
  45. package/dist/static/img/9.0d977081.svg +0 -12
  46. package/dist/static/img/ai-back-image.c38ae0b5.png +0 -0
  47. package/dist/static/img/ai-logo.1be55bae.png +0 -0
  48. package/dist/static/img/dengpao.ca465f52.png +0 -0
  49. package/dist/static/img/dengpao.f43dfca8.png +0 -0
  50. package/dist/static/img/dongqilai.712e94ae.gif +0 -0
  51. package/dist/static/img/hot-icon.a31c2f87.png +0 -0
  52. package/dist/static/img/jingtai.f5c980ac.png +0 -0
  53. package/dist/static/img/left-bg.b32f62c0.png +0 -0
  54. package/dist/static/img/logo.73c01bbf.png +0 -0
  55. package/dist/static/img/major-art.038427a4.png +0 -0
  56. package/dist/static/img/major-art.8f8971f6.png +0 -0
  57. package/dist/static/img/major-beach.5b0d4c98.png +0 -0
  58. package/dist/static/img/major-beach.cd37c56f.png +0 -0
  59. package/dist/static/img/major-build.2584e41e.png +0 -0
  60. package/dist/static/img/major-build.9710a9ae.png +0 -0
  61. package/dist/static/img/major-car.81f0d328.png +0 -0
  62. package/dist/static/img/major-car.95e29dda.png +0 -0
  63. package/dist/static/img/major-chemistry.a194ecc7.png +0 -0
  64. package/dist/static/img/major-chemistry.cf86f0b0.png +0 -0
  65. package/dist/static/img/major-clothes.a38fcb95.png +0 -0
  66. package/dist/static/img/major-clothes.ad3d09b3.png +0 -0
  67. package/dist/static/img/major-course.73cfde3d.png +0 -0
  68. package/dist/static/img/major-course.d54a2b68.png +0 -0
  69. package/dist/static/img/major-energy.17da75b9.png +0 -0
  70. package/dist/static/img/major-energy.240153c8.png +0 -0
  71. package/dist/static/img/major-equipment.125cfe04.png +0 -0
  72. package/dist/static/img/major-equipment.2e956d55.png +0 -0
  73. package/dist/static/img/major-food.a37aa08c.png +0 -0
  74. package/dist/static/img/major-food.e49f5d14.png +0 -0
  75. package/dist/static/img/major-law.677ccd0c.png +0 -0
  76. package/dist/static/img/major-law.a2d1b745.png +0 -0
  77. package/dist/static/img/major-leaf.1021f366.png +0 -0
  78. package/dist/static/img/major-leaf.b0870c73.png +0 -0
  79. package/dist/static/img/major-medicine.f264ece0.png +0 -0
  80. package/dist/static/img/major-news.936832bb.png +0 -0
  81. package/dist/static/img/major-news.d31048b3.png +0 -0
  82. package/dist/static/img/money-round-stroke.67895d51.png +0 -0
  83. package/dist/static/img/money-round-stroke.ee9436d7.png +0 -0
  84. package/dist/static/img/more-stroke.74ae9863.png +0 -0
  85. package/dist/static/img/more-stroke.7e984cc7.png +0 -0
  86. package/dist/static/img/people.fe3487b8.png +0 -0
  87. package/dist/static/img/report.1d8a13b4.png +0 -0
  88. package/dist/static/img/robot-bg.a75d7295.svg +0 -11
  89. package/dist/static/img/set-stroke.c4e498bb.png +0 -0
  90. package/dist/static/img/set-stroke.d920c9ae.png +0 -0
  91. package/dist/static/img/shadow.c2a31dee.png +0 -0
  92. package/dist/static/img/user.5dce8aa5.png +0 -0
  93. package/dist/static/img/wodexuexiao.62ab2bca.png +0 -0
  94. package/dist/static/img/wodexuexiao.c7746992.png +0 -0
  95. package/dist/static/img/zhayan.c018580c.gif +0 -0
  96. package/dist/static/img/zjywLogo.c55aaa3f.png +0 -0
  97. package/dist/static/js/app.72c8491b.js +0 -1
  98. package/dist/static/js/chunk-0b2f36dc.ced75230.js +0 -1
  99. package/dist/static/js/chunk-1017c38b.706050ac.js +0 -1
  100. package/dist/static/js/chunk-14486df2.ed19075f.js +0 -1
  101. package/dist/static/js/chunk-50ed24be.e3f3a857.js +0 -1
  102. package/dist/static/js/chunk-52b6529f.4b11538e.js +0 -1
  103. package/dist/static/js/chunk-568fd996.a3befc0d.js +0 -1
  104. package/dist/static/js/chunk-705c7d06.86ee8d8d.js +0 -1
  105. package/dist/static/js/chunk-afedda78.f860b7d8.js +0 -1
  106. package/dist/static/js/chunk-bf085792.a34bb220.js +0 -1
  107. package/dist/static/js/chunk-c9150686.095a89c8.js +0 -1
  108. package/dist/static/js/chunk-commons.b6db4c07.js +0 -1
  109. package/dist/static/js/chunk-elementUI.fb941a35.js +0 -9
  110. package/dist/static/js/chunk-f95d4b14.4fbb0af7.js +0 -1
  111. package/dist/static/js/chunk-libs.9ab992e5.js +0 -320
  112. package/dist/static/js/runtime.42a91043.js +0 -1
@@ -1 +0,0 @@
1
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["app"],{0:function(t,e,a){t.exports=a("56d7")},"0299":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAkpJREFUaEPtWdtRwzAQXFFJ0kmohKQKnK+Er5gqCJUQKsGVIObQOLb1urMtWWSIZvJlR9q9197JCje+1I3jx51AaQ/+Iw+c9AoA/ZZYDfaqkRwk88CrPkDjKNkw2TsKRzyrF24/nkAJ8C1qAQmeQK2/Fgwd2+ANKrWOeUFCQF83IIt8451z68znGyi8XfeoVBTjOAIaO+zVeSbA+N9PensnMDBRrbsQGuOBk970cofK4kXkueIeCFetBgpntjQWJVDrDwBk+dhqoPEYFKpiBGTgW2IXVOrRy7IIAYp3BbJ+t/ol9wFPjpIbL7h5UYRAralub6/ofeBckn4vFCIwjP2Q+PQrGuBX2UIE+u2GzLLAGZXaOXkwJJC4lQjpgCmdptXW+HTUOpQjvm6zI8CCp+PythI0Q/gSOBQ+hMgQOHBNXNewcvI4VYlpX39pJR2gnsqvzOQtqWpn9YCdjMZQ/riPGdEYYRXySL4QskvrdPCtsntzYjkCGmvpnPvrEF/4efRlOQLMYGJ1wG5PFVDufASG7TTEg5DQ8stUIa7C2c9Hgs+rA/Y9ElcaJ4DPS8CuQrEcmAj+bxCYAb48gZng8xIwOdAt+64zAfi8BPj2YDg7hyY0ppLl04HQwYksX0YHEoNfNoRc8PG2WiiC40JIcrnr+zCRCbzUA2Ou192WNyN4GQH5Bw4XPJVSBTJAu5KETT+6+BAKz7X9fUJXJH0CycHLPNDCjH3kC8+3JGZtvb+MGmiSJbFwo1Kv8SFUCpnw3DsBoaGyvXbzHvgBgpu1QP3g1c0AAAAASUVORK5CYII="},"05ff":function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-setting",use:"icon-setting-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-setting">\r\n <path d="M944.48 552.458667l-182.357333 330.666666a73.792 73.792 0 0 1-64.565334 38.325334h-362.133333a73.792 73.792 0 0 1-64.565333-38.325334l-182.357334-330.666666a75.338667 75.338667 0 0 1 0-72.682667l182.357334-330.666667a73.792 73.792 0 0 1 64.565333-38.325333h362.133333a73.792 73.792 0 0 1 64.565334 38.325333l182.357333 330.666667a75.338667 75.338667 0 0 1 0 72.682667z m-55.989333-31.146667a10.773333 10.773333 0 0 0 0-10.378667l-182.037334-330.666666a10.517333 10.517333 0 0 0-9.205333-5.482667H335.733333a10.517333 10.517333 0 0 0-9.205333 5.482667l-182.037333 330.666666a10.773333 10.773333 0 0 0 0 10.378667l182.037333 330.666667a10.517333 10.517333 0 0 0 9.205333 5.472h361.514667a10.517333 10.517333 0 0 0 9.205333-5.472l182.037334-330.666667zM513.738667 682.666667c-94.261333 0-170.666667-76.405333-170.666667-170.666667s76.405333-170.666667 170.666667-170.666667c94.250667 0 170.666667 76.405333 170.666666 170.666667s-76.416 170.666667-170.666666 170.666667z m0-64c58.912 0 106.666667-47.754667 106.666666-106.666667s-47.754667-106.666667-106.666666-106.666667-106.666667 47.754667-106.666667 106.666667 47.754667 106.666667 106.666667 106.666667z" fill="#6e6e6e" p-id="1473" />\r\n </symbol>'});c.a.add(o);e["default"]=o},"07f1":function(t,e,a){},"085c":function(t,e,a){t.exports=a.p+"static/img/set-stroke.d920c9ae.png"},"0f4b":function(t,e,a){},1:function(t,e){},"14de":function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-txt",use:"icon-txt-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-txt">\r\n <path d="M645.071238 97.52381L828.952381 281.258667V414.47619h48.761905v390.095239h-48.761905v48.761904a73.142857 73.142857 0 0 1-73.142857 73.142857H268.190476a73.142857 73.142857 0 0 1-73.142857-73.142857v-48.761904H146.285714V414.47619h48.761905V170.666667a73.142857 73.142857 0 0 1 73.142857-73.142857h376.880762zM755.809524 804.571429H268.190476v48.761904h487.619048v-48.761904zM423.472762 512.24381H277.942857v38.570666h48.664381v153.990095h48.444952v-153.990095h48.420572V512.24381z m57.392762-0.24381h-51.102476l50.371047 94.354286-55.442285 98.450285h51.809523l37.302857-70.339047 37.278477 70.339047h51.809523l-55.442285-98.450285L597.820952 512h-51.102476l-32.914286 66.706286L480.841143 512z m268.775619 0.24381h-145.554286v38.570666h48.688762v153.990095h48.420571v-153.990095h48.444953V512.24381z m-168.228572-341.601524L268.190476 170.666667v243.809523h487.619048v-49.956571h-174.372572L581.412571 170.666667z m73.142858 39.740952v80.993524h81.042285l-81.042285-80.993524z" p-id="7243" fill="#ff5630" /></symbol>'});c.a.add(o);e["default"]=o},"19b6":function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-copy",use:"icon-copy-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-copy"><path d="M394.666667 106.666667h448a74.666667 74.666667 0 0 1 74.666666 74.666666v448a74.666667 74.666667 0 0 1-74.666666 74.666667H394.666667a74.666667 74.666667 0 0 1-74.666667-74.666667V181.333333a74.666667 74.666667 0 0 1 74.666667-74.666666z m0 64a10.666667 10.666667 0 0 0-10.666667 10.666666v448a10.666667 10.666667 0 0 0 10.666667 10.666667h448a10.666667 10.666667 0 0 0 10.666666-10.666667V181.333333a10.666667 10.666667 0 0 0-10.666666-10.666666H394.666667z m245.333333 597.333333a32 32 0 0 1 64 0v74.666667a74.666667 74.666667 0 0 1-74.666667 74.666666H181.333333a74.666667 74.666667 0 0 1-74.666666-74.666666V394.666667a74.666667 74.666667 0 0 1 74.666666-74.666667h74.666667a32 32 0 0 1 0 64h-74.666667a10.666667 10.666667 0 0 0-10.666666 10.666667v448a10.666667 10.666667 0 0 0 10.666666 10.666666h448a10.666667 10.666667 0 0 0 10.666667-10.666666v-74.666667z" fill="currentColor" p-id="2322" /></symbol>'});c.a.add(o);e["default"]=o},"19cc":function(t,e,a){t.exports=a.p+"static/img/major-news.d31048b3.png"},"1ba8":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAT1JREFUOE/tk7tKA1EQhr9/Y9AmiIX2NqlESMRCvBS+gS9gqUVW0EZFsNFCtBKz5jlshHT2FklABAXxDQRvKF6yo5uwkgTDriGkcqq5HL75ZzgjumwKeNmcLZg4kjEYxL7YdozdwDdRRKTkM93a28SLwU7FUyGs1YGulQwyDckNg/0gFpwapIC5NsPclz0NNQEzrl0D6TD53XldxkFM4HvZU39vgYJg5LTg0mAGGAZm24wcrdB3mE9UWTQxabAsUcAY7xj4x58UrfAfGLWBHuww69qFwViUlDb157Kn4DRrVrvljGt7wGYnQBOHlbzWWoFFEw8J2PqAt7jgAZ/X82PdNb4PFZ4BV09i9Sav2MDfGteBOZtCnAAjcdU1qRIrpby8nx0GzsSSJT+TjDoOfX+Bqoo9JrgNJ6sp7KZ9AYVjjRUe33hOAAAAAElFTkSuQmCC"},"1e73":function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-fullScreen",use:"icon-fullScreen-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-fullScreen"><path d="M704 64h256v64h-256z" p-id="1746" fill="#747c82" /><path d="M896 64h64v256h-64zM66.688 64h64v256h-64z" p-id="1747" fill="#747c82" /><path d="M66.688 64h256v64h-256zM66.688 894.976h256v64h-256z" p-id="1748" fill="#747c82" /><path d="M66.688 702.976h64v256h-64zM896 702.976h64v256h-64z" p-id="1749" fill="#747c82" /><path d="M704 894.976h256v64h-256z" p-id="1750" fill="#747c82" /></symbol>'});c.a.add(o);e["default"]=o},"267d":function(t,e,a){},"2f21":function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-voice1",use:"icon-voice1-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-voice1">\r\n <path d="M160 640h-64V384h64v256z m768-256h-64v256h64V384z m-576-64h-64v384h64V320z m384 0h-64v384h64V320zM544 192h-64v640h64V192z" p-id="2321" fill="#56565b" />\r\n </symbol>'});c.a.add(o);e["default"]=o},"304e":function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-md",use:"icon-md-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-md"><path d="M354.40128 0c-87.04 0-157.44 70.55872-157.44 157.59872v275.68128H78.72c-21.6576 0-39.36256 17.69984-39.36256 39.36256v236.31872c0 21.6576 17.69984 39.35744 39.36256 39.35744h118.24128v118.08256c0 87.04 70.4 157.59872 157.44 157.59872h472.63744c87.04 0 157.59872-70.55872 157.59872-157.59872V315.0336c0-41.74848-38.9888-81.93024-107.52-149.27872l-29.11744-29.12256L818.87744 107.52C751.5392 38.9888 711.39328 0 669.59872 0H354.4064z m0 78.72h287.20128c28.35456 7.0912 27.99616 42.1376 27.99616 76.8v120.16128c0 21.6576 17.69984 39.35744 39.36256 39.35744h118.07744c39.38816 0 78.87872-0.0256 78.87872 39.36256v512c0 43.32032-35.55328 78.87872-78.87872 78.87872H354.4064c-43.32544 0-78.72-35.5584-78.72-78.87872v-118.08256h393.91744c21.66272 0 39.36256-17.69472 39.36256-39.35744V472.64256c0-21.66272-17.69984-39.36256-39.36256-39.36256H275.68128V157.59872c0-43.32032 35.39456-78.87872 78.72-78.87872zM195.9936 507.36128h32.64l49.92 143.03744h0.96256l48.95744-143.03744h33.60256v175.67744h-22.08256v-106.55744c0-10.88 0.32256-26.56256 0.96256-47.04256h-0.96256l-52.79744 153.6h-19.2l-52.80256-153.6h-0.95744c1.28 22.4 1.92 38.72256 1.92 48.96256v104.63744H195.9936V507.36128z m214.08256 0h48.95744c24.96 0 44.48256 7.68 58.56256 23.04 14.72 14.72 22.07744 35.84 22.07744 63.36 0 28.8-7.68 50.87744-23.04 66.23744-14.72 15.36-35.51744 23.04-62.39744 23.04h-44.16V507.36128z m22.07744 19.2v137.27744h19.2c21.76 0 37.76-5.76 48-17.28 10.88-11.52 16.32256-28.8 16.32256-51.84s-5.12-39.99744-15.36-50.87744c-9.6-11.52-24.32-17.28-44.16-17.28h-24.00256z" p-id="1407" fill="#ff5630" /></symbol>'});c.a.add(o);e["default"]=o},3394:function(t,e,a){},"365c":function(t,e,a){a("13d5");const s=a("d46d"),i=s.keys().reduce((t,e)=>Object.assign(t,s(e)),{});t.exports=i},3738:function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-leftJian",use:"icon-leftJian-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-leftJian"><path d="M409.152 512l403.712 403.712a63.424 63.424 0 1 1-89.728 89.728L274.56 556.8a63.424 63.424 0 0 1 0-89.6L723.2 18.56a63.424 63.424 0 1 1 89.6 89.72799999L409.216 512z" p-id="2312" /></symbol>'});c.a.add(o);e["default"]=o},"375a":function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-whiteFullscreen",use:"icon-whiteFullscreen-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-whiteFullscreen"><path d="M704 64h256v64h-256z" p-id="3030" fill="#ffffff" /><path d="M896 64h64v256h-64zM66.688 64h64v256h-64z" p-id="3031" fill="#ffffff" /><path d="M66.688 64h256v64h-256zM66.688 894.976h256v64h-256z" p-id="3032" fill="#ffffff" /><path d="M66.688 702.976h64v256h-64zM896 702.976h64v256h-64z" p-id="3033" fill="#ffffff" /><path d="M704 894.976h256v64h-256z" p-id="3034" fill="#ffffff" /></symbol>'});c.a.add(o);e["default"]=o},"39d3":function(t,e,a){t.exports=a.p+"static/img/major-beach.cd37c56f.png"},"3cf9":function(t,e,a){t.exports=a.p+"static/img/major-clothes.ad3d09b3.png"},4678:function(t,e,a){var s={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-ps":"4c98","./ar-ps.js":"4c98","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn-bd":"9686","./bn-bd.js":"9686","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-in":"ec2e","./en-in.js":"ec2e","./en-nz":"6f50","./en-nz.js":"6f50","./en-sg":"b7e9","./en-sg.js":"b7e9","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-mx":"b5b7","./es-mx.js":"b5b7","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fil":"d69a","./fil.js":"d69a","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-deva":"aaf2","./gom-deva.js":"aaf2","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku-kmr":"7558","./ku-kmr.js":"7558","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./oc-lnc":"167b","./oc-lnc.js":"167b","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tk":"5aff","./tk.js":"5aff","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-mo":"3a6c","./zh-mo.js":"3a6c","./zh-tw":"90ea","./zh-tw.js":"90ea"};function i(t){var e=n(t);return a(e)}function n(t){if(!a.o(s,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return s[t]}i.keys=function(){return Object.keys(s)},i.resolve=n,t.exports=i,i.id="4678"},"47ff":function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-message",use:"icon-message-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-message">\r\n <path d="M390 457.3c0 27.9-22.4 50.5-50.1 50.5s-50.1-22.6-50.1-50.5 22.4-50.5 50.1-50.5 50.1 22.6 50.1 50.5z m181.7 0c0 27.9-22.4 50.5-50.1 50.5-27.7 0-50.1-22.6-50.1-50.5s22.4-50.5 50.1-50.5c27.7 0 50.1 22.6 50.1 50.5z m183.4 0c0 27.9-22.4 50.5-50.1 50.5-27.7 0-50.1-22.6-50.1-50.5s22.4-50.5 50.1-50.5c27.6 0 50.1 22.6 50.1 50.5zM473.7 835.9l115.7-77.1c22.1-14.7 59.3-26 85.9-26H777c78.8 0 142.7-63.9 142.7-142.6V325.3c0-78.8-63.8-142.6-142.6-142.6H247.3c-78.7 0-142.6 63.9-142.6 142.6v264.8c0 78.8 63.8 142.6 142.6 142.6h163.1c33.7 0 61 27.4 61 61.1v40.8c0 0.9 0 1.7 0.1 2.4 0.7-0.2 1.4-0.6 2.2-1.1z m-226.4-694h529.8c101.3 0 183.3 82.1 183.3 183.4v264.8c0 101.2-82.2 183.4-183.5 183.4H675.2c-18.5 0-47.9 8.9-63.3 19.1l-115.7 77.1c-32.2 21.5-65.5 3.7-65.5-35.1v-40.8c0-11.2-9.1-20.3-20.3-20.3h-163C146.1 773.5 64 691.4 64 590.1V325.3c0-101.2 82.1-183.4 183.3-183.4z" fill="#6e6e6e" p-id="9004" />\r\n </symbol>'});c.a.add(o);e["default"]=o},4821:function(t,e,a){},"4a27":function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-suoxiao",use:"icon-suoxiao-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-suoxiao"><path d="M256 85.333333h682.666667v682.666667h-85.333334v85.333333h85.333334c46.933333 0 85.333333-38.4 85.333333-85.333333V85.333333c0-46.933333-38.4-85.333333-85.333333-85.333333H256C209.066667 0 170.666667 38.4 170.666667 85.333333v85.333334h85.333333V85.333333z" fill="#7f7f7f" p-id="1803" /><path d="M768 170.666667H85.333333C38.4 170.666667 0 209.066667 0 256v682.666667c0 46.933333 38.4 85.333333 85.333333 85.333333h682.666667c46.933333 0 85.333333-38.4 85.333333-85.333333V256c0-46.933333-38.4-85.333333-85.333333-85.333333z m0 768H85.333333V256h682.666667v682.666667z" fill="#7f7f7f" p-id="1804" /></symbol>'});c.a.add(o);e["default"]=o},"51ff":function(t,e,a){var s={"./arrow.svg":"b6e4","./blowUp.svg":"c075","./cai.svg":"a794","./cai2.svg":"dfb6","./choose.svg":"720a","./close.svg":"7710","./copy.svg":"19b6","./delete.svg":"59a1","./doc.svg":"7ec4","./docx.svg":"9359","./fullScreen.svg":"1e73","./laoshi.svg":"fc2f","./left-shou.svg":"dc93","./leftJian.svg":"3738","./leftjiantou.svg":"ae2a","./logo.svg":"bb69","./md.svg":"304e","./message.svg":"47ff","./noShow.svg":"a9f9","./pdf.svg":"f9a1","./right.svg":"9a71","./rightJian.svg":"6c7f","./rightjiantou.svg":"623d","./send.svg":"94d0","./setting.svg":"05ff","./share.svg":"5306","./suoxiao.svg":"4a27","./tanhao.svg":"f3cc","./txt.svg":"14de","./upload.svg":"9d82","./voice1.svg":"2f21","./voice2.svg":"f453","./whiteFullscreen.svg":"375a","./whitearrow.svg":"aaa7","./xiaoxi.svg":"cadf","./zan.svg":"bd0e","./zan2.svg":"8392"};function i(t){var e=n(t);return a(e)}function n(t){if(!a.o(s,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return s[t]}i.keys=function(){return Object.keys(s)},i.resolve=n,t.exports=i,i.id="51ff"},5306:function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-share",use:"icon-share-usage",viewBox:"0 0 1596 1024",content:'<symbol class="icon" viewBox="0 0 1596 1024" xmlns="http://www.w3.org/2000/svg" id="icon-share"><path d="M68.86386 1024a69.050483 69.050483 0 0 1-65.114436-91.139851c34.542207-101.607701 122.017463-295.712511 319.837766-454.25717 241.031993-193.171695 505.917789-232.141955 626.476199-248.225459V68.999586a68.897791 68.897791 0 0 1 113.890883-52.152625l508.615339 438.835329a68.880826 68.880826 0 0 1 0 104.305251L1064.022135 998.822871a68.880826 68.880826 0 0 1-113.958746-52.152626v-159.477774c-132.841593 9.382044-553.269115 52.033865-845.67331 226.899548a69.118346 69.118346 0 0 1-35.526219 9.907981z m-12.622496-90.613914z m987.863015-809.604188v128.549265a69.135312 69.135312 0 0 1-59.66844 68.27006l-13.267193 1.696572c-108.410955 14.353-362.269033 47.979058-588.8123 229.5462-143.631791 115.197243-222.997432 250.855145-264.953659 347.49189 131.653992-68.219163 293.065858-121.71208 480.995145-159.308117 172.660139-34.542207 318.395679-45.31544 373.0253-48.284441a68.86386 68.86386 0 0 1 72.681147 68.779032v131.416472l445.078715-384.103915z" fill="currentColor" p-id="1767" /></symbol>'});c.a.add(o);e["default"]=o},5360:function(t,e,a){"use strict";a("0f4b")},"56d7":function(t,e,a){"use strict";a.r(e);var s=a("2b0e"),i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"app"},[e("router-view")],1)},n=[],c={name:"",components:{},props:{},data(){return{}},methods:{},watch:{},computed:{},created(){},mounted(){}},o=c,r=(a("b3f8"),a("d241"),a("2877")),l=Object(r["a"])(o,i,n,!1,null,"6096b17c",null),d=l.exports,h=a("8c4f"),u=function(){var t=this,e=t._self._c;return e("div",{staticClass:"box"},[e("router-view")],1)},g=[],m=a("a78e"),f=a.n(m),p=a("5f87"),A={name:"",props:{},data(){return{act:0,islogin:!1,userinfo:{},formdata:{zhanghao:"",password:""}}},methods:{async changeToken(){try{const{data:t}=await this.$api.changeToken({token:f.a.get("token")});t.data.access_token&&(Object(p["b"])(t.data.access_token),this.userType=t.data.userType,this.getuserinfo())}catch(t){}},async logout(){try{const{data:t}=await this.$api.logout({});document.cookie="token=;expires=Thu,01 Jan 1970 00:00:00 UTC;domain=.icve.com.cn;path=/;",this.$message({message:"退出成功",type:"warning"}),this.islogin=!1,Object(p["a"])()}catch(t){}},async getuserinfo(){try{const{data:t}=await this.$api.getuserinfo({});this.userinfo=t.user,this.islogin=!0}catch(t){}}},watch:{},computed:{},created(){f.a.get("token")&&this.changeToken()},mounted(){}},w=A,v=(a("d666"),Object(r["a"])(w,u,g,!1,null,"2b55daa9",null)),b=(v.exports,function(){var t=this,e=t._self._c;return e("div",{staticClass:"contents"},[e("div",{staticClass:"left-part"},[e("left-list")],1),e("div",{staticClass:"right-part"},[e("router-view")],1)])}),C=[],x=function(){var t=this,e=t._self._c;return e("div",{staticClass:"menu-list"},[e("div",{staticClass:"logo"}),e("div",{staticClass:"bg-style"}),e("div",{staticClass:"page-button",class:{"page-button-active":t.isActive("/loginPage")},on:{click:function(e){return t.routing("/loginPage")}}},[t.isActive("/loginPage")?e("img",{staticClass:"page-button-image",attrs:{src:a("66c2"),alt:""}}):e("img",{staticClass:"page-button-image",attrs:{src:a("0299"),alt:""}}),e("span",{staticClass:"image-font"},[t._v("职教一问")])]),e("div",{staticClass:"page-button",class:{"page-button-active":t.isActive("/intelligence")},on:{click:function(e){return t.routing("/intelligence")}}},[t.isActive("/intelligence")?e("img",{staticClass:"page-button-image",attrs:{src:a("a4a2"),alt:""}}):e("img",{staticClass:"page-button-image",attrs:{src:a("c43a"),alt:""}}),e("span",{staticClass:"image-font"},[t._v("智能体广场")])]),e("div",{staticClass:"operate-container"},[e("div",{staticClass:"left-part"},[t.isActive("/loginPage")?e("span",{staticStyle:{cursor:"pointer"},on:{click:t.addnewConversation}},[e("i",{staticClass:"el-icon-circle-plus",staticStyle:{"margin-right":"6px"}}),t._v(" 新建对话 ")]):t._e()]),e("div",{staticClass:"right-part",staticStyle:{"margin-right":"8px"}},[e("span",{staticStyle:{cursor:"pointer"},on:{click:function(e){return t.routing("/userManual")}}},[t._v(" 使用指南 ")])])]),e("div",{staticClass:"search-delete"},[e("div",{staticClass:"search"},[e("el-input",{attrs:{placeholder:"搜索历史记录"},on:{change:t.changeValue},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.searchHistory.apply(null,arguments)}},model:{value:t.historyInput,callback:function(e){t.historyInput=e},expression:"historyInput"}},[e("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"suffix"},on:{click:t.searchHistory},slot:"suffix"})])],1)]),e("div",{staticClass:"message-content"},[t.dialogue&&t.dialogue.length>0?e("ul",t._l(t.dialogue,(function(a,s){return e("li",{key:s},[a.list.length>0?e("p",{staticClass:"title-filter"},[t._v(" · "),e("span",[t._v(t._s(a.title))])]):t._e(),t._l(a.list,(function(a,s){return e("div",{key:s,staticClass:"list-detail",class:{"list-detail-active":t.sideCurrentId===a.chatId},on:{click:function(e){return t.currentNews(a)}}},[e("div",{staticClass:"title"},[a.majorName?e("img",{staticStyle:{width:"14px",height:"14px"},attrs:{src:t.getImage(a.majorName),alt:""}}):e("svg-icon",{staticClass:"xiaoxi",staticStyle:{"font-size":"16px"},attrs:{"icon-class":"xiaoxi"}}),t._v(" "+t._s(a.chatName)+" ")],1),e("span",{on:{click:function(e){return e.stopPropagation(),t.deleteItem(a)}}},[e("svg-icon",{attrs:{"class-name":"search-icon","icon-class":"delete"}})],1)])}))],2)})),0):e("div",{staticClass:"history"},[t._v("暂无历史对话")])])])},j=[],z=(a("14d9"),a("f13a")),y=a("c1df"),M=a.n(y),I=a("b2c3"),B=a.n(I),k=a("7741"),S=a.n(k),L=a("7c7b"),G=a.n(L),N=a("085c"),W=a.n(N),E=a("ed74"),F=a.n(E),Y=a("d6af"),Z=a.n(Y),D=a("713b"),V=a.n(D),R=a("e6fa"),H=a.n(R),U=a("3cf9"),J=a.n(U),T=a("992f"),P=a.n(T),O=a("39d3"),Q=a.n(O),K=a("95d4"),X=a.n(K),q=a("eb82"),$=a.n(q),_=a("6185"),tt=a.n(_),et=a("19cc"),at=a.n(et),st=a("ce19"),it=a.n(st),nt=a("ee57"),ct=a.n(nt),ot=a("6212"),rt=a.n(ot),lt=a("d314"),dt=a.n(lt);const ht={"财经商贸大类智能体":S.a,"电子与信息大类智能体":G.a,"装备制造大类智能体":W.a,"土木建筑大类智能体":F.a,"资源环境与安全大类智能体":Z.a,"医药卫生大类智能体":V.a,"水利大类智能体":H.a,"轻工纺织大类智能体":J.a,"能源动力与材料大类智能体":P.a,"旅游大类智能体":Q.a,"文化艺术大类智能体":X.a,"公安与司法大类智能体":$.a,"食品药品与粮食大类智能体":tt.a,"新闻传播大类智能体":at.a,"农林牧渔大类智能体":it.a,"公共管理与服务大类智能体":B.a,"交通运输大类智能体":ct.a,"教育与体育大类智能体":dt.a,"生物与化工大类智能体":rt.a};var ut={name:"left",data(){return{historyInput:""}},computed:{dialogue(){const t=[{title:"今天",list:[]},{title:"近7日",list:[]},{title:"近30日",list:[]},{title:"其他",list:[]}];return this.$store.state.dialogue.map(e=>{const{createTime:a}=e,s=M()(),i=M()(a),n=i.isSame(s,"day"),c=i.diff(s,"days")>=-7&&i.diff(s,"days")<0,o=i.diff(s,"days")>=-30&&i.diff(s,"days")<-7,r=i.diff(s,"days")<-30,l=this.$store.state.major.filter(t=>t.id==e.chatMajorId);e.majorName=l[0]&&l[0].name,n&&t[0].list.push(e),c&&t[1].list.push(e),o&&t[2].list.push(e),r&&t[3].list.push(e)}),this.$store.state.dialogue.length>0?t:[]},sideCurrentId(){return this.$store.state.sideCurrentId},stop(){return this.$store.state.stop}},methods:{isActive(t){return this.$route.path===t},getImage(t){return ht[t]},stopMessageMain(){return!!this.stop||(this.$message({message:"对话进行中,请稍后重试",type:"warning"}),!1)},addnewConversation(){const t=this.stopMessageMain();t&&("loginPage"!=this.$route.name||this.$store.state.chatShow||""!=this.$store.state.agentId||this.$message({message:"当前已是新对话"}),this.$router.push("/loginPage"),this.$store.commit("changeAgentid",""),this.$store.commit("changeChatshow",!1),this.$store.commit("changeSidecurrentId",""),this.$store.commit("changenewSession",!0))},deleteItem(t){const e=this.stopMessageMain();e&&Object(z["deleteConversation"])(t).then(e=>{200==e.data.code&&(this.$message({message:"删除成功",type:"success"}),t.chatId==this.sideCurrentId&&this.$store.commit("changeSidecurrentId","001"),this.$store.commit("changeChatshow",!1),this.getSideDataArrDetail(1))})},routing(t){const e=this.stopMessageMain();e&&("/userManual"!==t?(this.$store.commit("changeChatshow",!1),this.$router.push(t),this.$store.commit("changeSidecurrentId",""),this.$store.commit("changenewSession",!0),this.$store.commit("changeChatid","")):window.open("https://help.icve.com.cn/zjyw"))},changeValue(){this.$store.commit("CHANGE_INPUT_VALUE",this.historyInput)},searchHistory(){this.getSideDataArrDetail(1)},getSideDataArrDetail(t){Object(z["getSideDataArr"])({userId:this.id,chatType:t,title:this.historyInput||""}).then(t=>{this.$store.commit("GET_DIALOGUE",t.data.data)})},currentNews(t){const e=this.stopMessageMain();e&&("/document"!=this.route&&this.$router.push({name:"loginPage",params:{chatId:t.chatId}}),this.$store.commit("changeChatshow",!0),this.$store.commit("changeChatid",t.chatId),this.$store.commit("changeAgentid",""),this.$store.commit("changeSidecurrentId",t.chatId),this.sideCurrentName=t.chatName)}}},gt=ut,mt=(a("a551"),Object(r["a"])(gt,x,j,!1,null,"3c5146e0",null)),ft=mt.exports,pt={name:"index",components:{LeftList:ft}},At=pt,wt=(a("5360"),Object(r["a"])(At,b,C,!1,null,"661d96e7",null)),vt=wt.exports,bt=function(){var t=this,e=t._self._c;return e("div",{staticClass:"contents"},[t._m(0),e("div",{staticClass:"content"},[e("el-menu",{staticClass:"el-menu-vertical-demo",attrs:{collapse:t.isCollapse},on:{open:t.handleOpen,close:t.handleClose}},[e("div",{staticClass:"side-chat"},[e("div",{staticClass:"side"},[e("ul",t._l(t.sidebarTool,(function(a,s){return e("li",{key:s,class:t.sidecurrentTool==a.link?"sidecurrentTool":"",on:{click:function(e){return t.routing(a,s)}}},[e("img",{attrs:{src:a.img,alt:""}}),e("div",{staticClass:"title"},[t._v(t._s(a.title))])])})),0)]),t.isCollapse?t._e():e("div",{staticClass:"chat"},[e("div",{staticClass:"sessionBtn",on:{click:t.addnewConversation}},[e("div",{staticClass:"title"},[t._v("新的对话")]),e("div",{staticClass:"img"},[e("img",{attrs:{src:a("fbc1"),alt:""}})])]),e("div",{staticClass:"xian"}),e("div",{staticClass:"search-delete"},[e("div",{staticClass:"search"},[e("el-input",{attrs:{placeholder:"搜索历史记录"},on:{change:t.changeValue},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.searchHistory.apply(null,arguments)}},model:{value:t.historyInput,callback:function(e){t.historyInput=e},expression:"historyInput"}},[e("i",{staticClass:"el-input__icon el-icon-search",attrs:{slot:"suffix"},on:{click:t.searchHistory},slot:"suffix"})])],1),e("el-tooltip",{attrs:{effect:"light",content:"清空记录",placement:"top"}},[e("div",{staticClass:"delete",on:{click:function(e){return t.deleteHistoryRecordPort()}}},[e("svg-icon",{attrs:{"class-name":"search-icon","icon-class":"delete"}})],1)])],1),e("div",{staticClass:"messageContent"},[t.dialogue&&t.dialogue.length>0?e("ul",t._l(t.dialogue,(function(s,i){return e("li",{key:i,class:{currentDia:t.sideCurrentId==s.chatId},on:{click:function(e){return t.currentNews(s)}}},[e("img",{attrs:{src:a("9686c"),alt:""}}),e("div",{staticClass:"title"},[t._v(t._s(s.chatName))]),e("span",{on:{click:function(e){return e.stopPropagation(),t.deleteItem(s)}}},[e("svg-icon",{attrs:{"class-name":"search-icon","icon-class":"delete"}})],1)])})),0):e("div",{staticClass:"history"},[t._v("暂无历史对话")])])])]),e("div",{staticClass:"collapseButton",on:{click:t.changeCollapse}},[t.isCollapse?e("svg-icon",{attrs:{"class-name":"search-icon","icon-class":"rightJian"}}):e("svg-icon",{attrs:{"class-name":"search-icon","icon-class":"leftJian"}})],1)]),e("div",{staticClass:"infocontent"},[e("router-view")],1)],1)])},Ct=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"topMenu"},[e("div",{staticClass:"left"},[e("div",{staticClass:"biaoti"},[t._v("职教一问")])])])}],xt=(a("3394"),{name:"index",data(){return{sidecurrentTool:localStorage.getItem("route"),isCollapse:!1,activeName:"zero",sideCurrentName:"新的对话",userInput:"",sidebarTool:[{img:a("9686c"),title:"对话",link:"/loginPage"},{img:a("1ba8"),title:"专业智能体",link:"/intelligence"},{img:a("632e"),title:"使用指南",link:"/userManual"}],plugin:3,route:"",historyInput:"",chatType:""}},watch:{$route:{handler:function(t){this.route=t.path,"/document"==this.route?this.chatType=2:this.chatType=1,this.sidecurrentTool=t.path,localStorage.setItem("route",t.path.slice(1))},immediate:!0}},methods:{addConversation(t){Object(z["addConversation"])({chatName:t,chatType:1}).then(t=>{200==t.data.code&&(this.$message({message:"新增成功",type:"success"}),this.$store.commit("changeSidecurrentId",t.data.data.chatId),this.$store.commit("changenewSession",!0),this.getSideDataArr(1))})},addnewConversation(){if(!this.stop)return this.$message({message:"对话进行中,请稍后重试",type:"warning"});"loginPage"!=this.$route.name||this.$store.state.chatShow||""!=this.$store.state.agentId||this.$message({message:"当前已是新对话"}),this.$router.push("/loginPage"),this.$store.commit("changeAgentid",""),this.$store.commit("changeChatshow",!1),this.$store.commit("changeSidecurrentId",""),this.$store.commit("changenewSession",!0)},deleteHistoryRecordPort(){return this.stop?0==this.dialogue.length?this.$message({message:"对话记录为空",type:"success"}):void this.$api.deleteAllConver({chatType:this.chatType}).then(async t=>{200==t.data.code&&(this.firstChatShow=!0,this.$message({message:"清除记录成功",type:"success"}),this.messageListData=[],this.enableDoc=!1,this.chatMajorId=null,this.$store.commit("changeChatshow",!1),this.$store.commit("changeSidecurrentId","001"),this.messageListData.push({content:"欢迎使用AI助手:我是AI知道,能帮助您解答各种问题,快试试吧",role:"assistant"}),this.getSideDataArr(this.chatType))}):this.$message({message:"对话进行中,请稍后重试",type:"warning"})},searchHistory(){this.getSideDataArr(this.chatType)},changeValue(){this.$store.commit("CHANGE_INPUT_VALUE",this.historyInput)},routing(t,e){if(!this.stop)return this.$message({message:"对话进行中,请稍后重试",type:"warning"});"/userManual"!=t.link?(this.$store.commit("changeChatshow",!1),this.sidecurrentTool=t.link,this.$router.push(t.link),this.$store.commit("changeSidecurrentId",""),this.$store.commit("changenewSession",!0),this.$store.commit("changeChatid","")):window.open("https://help.icve.com.cn/zjyw")},currentNews(t){if(!this.stop)return this.$message({message:"对话进行中,请稍后重试",type:"warning"});"/document"!=this.route&&this.$router.push({name:"loginPage",params:{chatId:t.chatId}}),this.$store.commit("changeChatshow",!0),this.$store.commit("changeChatid",t.chatId),this.$store.commit("changeAgentid",""),this.$store.commit("changeSidecurrentId",t.chatId),this.sideCurrentName=t.chatName},deleteItem(t){this.stop?Object(z["deleteConversation"])(t).then(e=>{200==e.data.code&&(this.$message({message:"删除成功",type:"success"}),t.chatId==this.sideCurrentId&&this.$store.commit("changeSidecurrentId","001"),this.$store.commit("changeChatshow",!1),this.getSideDataArr(this.chatType))}):this.$message({message:"对话进行中,请稍后重试",type:"warning"})},getSideDataArr(t){Object(z["getSideDataArr"])({userId:this.id,chatType:t,title:this.historyInput||""}).then(t=>{this.$store.commit("GET_DIALOGUE",t.data.data)})},handleOpen(t,e){},handleClose(t,e){},handleClick(t,e){this.stop?"first"==this.activeName?this.$router.push("/index"):"second"==this.activeName&&("/document"==this.route||"/index"==this.route&&this.addnewConversation()):this.$message({message:"对话进行中,请稍后重试",type:"warning"})},changeCollapse(){this.isCollapse=!this.isCollapse}},computed:{dialogue(){return this.$store.state.dialogue},sideCurrentId(){return this.$store.state.sideCurrentId},stop(){return this.$store.state.stop}},created(){},mounted(){document.addEventListener("contextmenu",(function(t){}))}}),jt=xt,zt=(a("7414"),Object(r["a"])(jt,bt,Ct,!1,null,"67ddb885",null));zt.exports;s["default"].use(h["a"]);const yt=[{path:"",name:"homepage",meta:{title:"首页"},component:()=>a.e("chunk-1017c38b").then(a.bind(null,"5a7d"))},{path:"/userAgreement",name:"userAgreement",meta:{title:"首页"},component:()=>a.e("chunk-bf085792").then(a.bind(null,"71cb"))},{path:"/privacyAgreement",component:()=>a.e("chunk-afedda78").then(a.bind(null,"8318")),name:"privacyAgreement",meta:{title:"隐私协议",icon:"dashboard",affix:!0}},{path:"",component:vt,redirect:"loginPage",children:[{path:"/loginPage",component:()=>Promise.all([a.e("chunk-commons"),a.e("chunk-568fd996"),a.e("chunk-705c7d06"),a.e("chunk-0b2f36dc")]).then(a.bind(null,"f603")),name:"loginPage",meta:{title:"首页",icon:"dashboard",affix:!0}},{path:"document",component:()=>Promise.all([a.e("chunk-commons"),a.e("chunk-52b6529f")]).then(a.bind(null,"e215")),name:"document",meta:{title:"文档",icon:"dashboard",affix:!0}},{path:"/intelligence",component:()=>Promise.all([a.e("chunk-commons"),a.e("chunk-c9150686"),a.e("chunk-50ed24be")]).then(a.bind(null,"ef18")),name:"intelligence",meta:{title:"专业智能体",icon:"dashboard",affix:!0}},{path:"userManual",component:()=>Promise.all([a.e("chunk-commons"),a.e("chunk-705c7d06"),a.e("chunk-f95d4b14")]).then(a.bind(null,"1145")),name:"userManual",meta:{title:"文档",icon:"dashboard",affix:!0}}]},{path:"/share/:shareId",component:()=>a.e("chunk-14486df2").then(a.bind(null,"137f")),name:"share",meta:{title:"分享",icon:"dashboard",affix:!0}}],Mt=new h["a"]({routes:yt}),It=h["a"].prototype.push;h["a"].prototype.push=function(t){return It.call(this,t).catch(t=>t)};var Bt=Mt,kt=a("89bf"),St=a("365c"),Lt=a.n(St);const Gt=t=>{let e=t.replace(/<p>/g,""),a=e.replace(/<br\/>/g,""),s=a.replace(/<\/p>/g,""),i=s.replace(/&nbsp;/g,""),n=i.replace(/<p>/g,"");return n};var Nt=Gt,Wt=a("5c96"),Et=a.n(Wt),Ft=(a("0fae"),{weike(t){window.open(" https://www.icve.com.cn/portal/weikeinfo?weikeid="+t)},kc(t){window.open(" https://www.icve.com.cn/portal/courseinfo?courseid="+t)},sc(t){window.open("https://www.icve.com.cn/portal/manage-sourcematerialofindex-editmaterial?docid="+t)}}),Yt=(a("cd22"),function(){var t=this,e=t._self._c;return e("svg",{class:t.svgClass,attrs:{"aria-hidden":"true"}},[e("use",{attrs:{"xlink:href":t.iconName}})])}),Zt=[],Dt={name:"SvgIcon",props:{iconClass:{type:String,required:!0},className:{type:String,default:""}},computed:{iconName(){return"#icon-"+this.iconClass},svgClass(){return this.className?"svg-icon "+this.className:"svg-icon"}}},Vt=Dt,Rt=(a("ec0c"),Object(r["a"])(Vt,Yt,Zt,!1,null,"1226818c",null)),Ht=Rt.exports;s["default"].component("svg-icon",Ht);const Ut=a("51ff"),Jt=t=>t.keys().map(t);Jt(Ut);a("83f4");s["default"].config.productionTip=!1,s["default"].use(Et.a),s["default"].prototype.$api=Lt.a,s["default"].prototype.$util=Nt,s["default"].prototype.$pubMethods=Ft,s["default"].filter("dataTime",t=>M()(t).format("YYYY-MM-DD HH:mm:ss ")),new s["default"]({router:Bt,store:kt["a"],render:t=>t(d),beforeCreate(){s["default"].prototype.$bus=this}}).$mount("#app")},"59a1":function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-delete",use:"icon-delete-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-delete">\r\n <path d="M96 320a32 32 0 1 1 0-64h832a32 32 0 0 1 0 64H96z m736 0h64v448a160 160 0 0 1-160 160H288a160 160 0 0 1-160-160V320h64v96H128v-96h64v448a96 96 0 0 0 96 96h448a96 96 0 0 0 96-96V320z m-512 112a32 32 0 0 1 64 0v320a32 32 0 0 1-64 0v-320z m320 0a32 32 0 0 1 64 0v320a32 32 0 0 1-64 0v-320zM288 256H224V192a96 96 0 0 1 96-96h384a96 96 0 0 1 96 96v64h-64V224h64v32h-64V192a32 32 0 0 0-32-32H320a32 32 0 0 0-32 32v64z" p-id="10176" fill="currentColor" />\r\n </symbol>'});c.a.add(o);e["default"]=o},"5f87":function(t,e,a){"use strict";a.d(e,"b",(function(){return c})),a.d(e,"a",(function(){return o}));var s=a("a78e"),i=a.n(s);const n="Token";function c(t){return i.a.set(n,t)}function o(){return i.a.remove(n)}},6185:function(t,e,a){t.exports=a.p+"static/img/major-food.a37aa08c.png"},6212:function(t,e,a){t.exports=a.p+"static/img/major-chemistry.a194ecc7.png"},"623d":function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-rightjiantou",use:"icon-rightjiantou-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-rightjiantou"><path d="M301.99808 44.9792l-47.04768 47.09888 419.9424 419.98848-419.9424 419.90144 47.0528 47.0528 419.93728-419.89632h0.00512l47.104-47.09888-47.0528-47.04768z" fill="#333333" p-id="1177" /></symbol>'});c.a.add(o);e["default"]=o},"632e":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAgNJREFUOE+tlL1rU2EYxX+niVJSbAsKLlJBBO0iScFVCi7i5yLarTjZmCsofrRjB6HaIQa8aYujKFVwKFbEpdC/ILkIDlUXRZeqEKmtxqZ59MZ83DZJyZA7XXjP/d3znve8j2jzo2a8Q7dtV9caJw0GDfb5OsFnweJqhFdLk1pp9G0dcHDcwj++cgMxBvQ2+WFOMNG9h+TiuApBzSZg9Jr1aoPnGMdbSkIsWIjzXkq5ir4KLDn7zuuWYTXCQs9uTlScVoGxhI0i7rbgLC9jtig8QaqkN8ayad0r5wz+AUTW+LRNZr52WTBdKDD1ZkbLsas2h3GubCC3FqHPP6iSw1jChhCzTdy9Be6viMcfHijva47G7UAhxHugI5DdUMbVs/9Ax6aBka1AGUuZNP0gC65FHUsKrm/Rz2RdxUvAqGPzgtN1QDGiIl5R7M26euGvH7lpXaHffPnnuieoN3jpuTrTHCi+dYbp+7XOQ8FFgwueq7lYwuKIqbp4jPlsWmcrGc4gLm8SGXd2QGpdvAOeWJikl+JjzMHPtL9B3rUtDzjmO3gaEP0JF9lfDLMztMHqTyPfKYZNOMDhJleudigNavMo62p44IodpAPH4BLQvU1HN9emXJ1qsQ1uyTiGOBWsRjOgYDTjarJabP+l7VevVJ92DofKdto6voIZtW3AtjBttpX8Bapy1xUC7s3zAAAAAElFTkSuQmCC"},"66c2":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAkRJREFUaEPtWdFtQjEMjDeBTcokLZNAJymdpHSSsomLpaQKeY7tPOJEqETiC8i7s89nJw/Cgy94cPzhSWB2Bv9PBhBxE0Kgz4h1AYCL5UGmDCDi4brZ0bJhx98cAeBd208lMAl8wq2SsBD4GSidMuAkpa2UBQsBzDYgGX1qab3z+5cQwkfa4yojEWMrgT0AnO4EKP4dEd+eBPIQXYs4l5A5A4hIUki2S1o+WzI3PQOCa5GvnzRrnEoAEb9CCBR5aRGRXa1RTSNgBJ+InQFgx7GcQiDqnaKfr9xyX5lOTllY1MUsAuTbZH9pLcAxJNkszCJwo/1a8ykcje2yswjk44YpstGR9mUdFAS6jxJsH4jWmTz/u+zWtRrhLDUjoIIn8q6jRDxDcAVcBRcJHLQh7m9W0rrj2k5M+1aslfoAZZLtzJQta9d2zUBZjDFQ1IkXupeCGIOwqWXETUKIWFrrWvCps7OyG0lgaz3nCvJb9JdhBLSDSTEBczMV27k9CeTjdLAehCqFz4J3LWLN3SqDnDny7jZa3iNp1tga+REEblxIqoG14F0lVNqoMOA1yyaXn2cRqxm4J/IjJHRzj1r2gB7gXSVkGA/Ks3PVKqW93CRUe2ivyLtLqJfPa/1kWAaYyItjtQZ8bQbUy11uYPMCby3iluv1xcjrCd5KwPp2hgNPVkoBSKuLbFobGYHgzrX5PrUrkpxAd/CmDCSU0ks+4XxLBJLf03WL6cWdtYCbCLRsOvK3qo2OBLPmWU8Ca6LW8z8Pn4Ff9ZPXQGDSwh4AAAAASUVORK5CYII="},"6c7f":function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-rightJian",use:"icon-rightJian-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-rightJian"><path d="M614.848 512l-403.712-403.712a63.424 63.424 0 1 1 89.728-89.728L749.44 467.2a63.424 63.424 0 0 1 0 89.6L300.8 1005.44a63.424 63.424 0 1 1-89.6-89.72799999L614.784 512z" p-id="2457" /></symbol>'});c.a.add(o);e["default"]=o},"713b":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAASwAAAEsCAYAAAB5fY51AAAMwUlEQVR4nO3c73FdVZqF8aUI0ESAiQARAccRjDsCTARjIpi1I4COADuCcUeAOgLUEbSJYEQEd9YtnVvTf4zsbb9n1z5Hz69qlT9Q9X7YcJ+6iEJXAoCdIFgAdoNgAdgNggVgNwgWgN0gWAB2g2AB2A2CBWA3CBaA3SBYAHaDYAHYDYIFYDcIFoDdIFgAdoNgAdgNggVgNwgWgN0gWAB2g2AB2A2CBWA3CBaA3SBYAHaDYAHYDYIFYDcIFoDdIFgAdoNgAdgNggVgNwjWON9mOK6/ZtjYVYbtXGc/Zi+Fp+C1pJa9EzZxlWEbN9kv2XWGp+M+e57dZSh2laHedfZr9kx4it5J+ia7z1DoKkM9S/rvDE9XyyyUuspQ7/zt6ibD03WXnb9loRDB2sYpA/h8FeNBt0GwcMbnqxgPug2ChTM+X8V40G0QLJzx+SrGg26DYOGMz1cxHnQbBAtnfL6K8aDbIFg44/NVjAfdBsHCGZ+vYjzoNggWzvh8FeNBt0GwcMbnqxgPug2ChTM+X8V40G0QLJzx+SrGg26DYOGMz1cxHnQbVcF6k70WRnop6buswlWGQjzoNk5ZhZZZGMmq+11mVxkK8aDbOGUVWmZhJItgTYsH3cYpq9AyCyNZBGtaPOg2TlmFllkYySJY0+JBt3HKKrTMwkgWwZoWD7qNU1ahZRZGsgjWtHjQbZyyCi2zMJJFsKbFg27jlFVomYWRLII1LR50G6esQsssjGQRrGnxoNs4ZRVaZmEki2BNiwfdximr0DILI1kEa1o86DZOWYWWWRjJIljT4kG3ccoqtMzCSBbBmhYPuo1TVqFlFkayCNa0eNBtnLIKLbMwkkWwpsWDbuOUVWiZhZEsgjUtHnQbp6xCyyyMZBGsafGg2zhlFVpmYSSLYE1r6wf9LnuRLZKuMwDH9E7SXfbn7FYb2SpY19nP2YsMwNPyNvs+u89KXWVb+CVbBOCpepv9KSu1RbBe6uHbFYCn7fvstQpdZdVuJX2bAXja/pK9yMpsEaxTBgBnpY0pPbYiWAAuShtTemxFsABclDam9NiKYAG4KG1M6bEVwQJwUdqY0mMrggXgorQxpcdWBAvARWljSo+tCBaAi9LGlB5bESwAF6WNKT22IlgALkobU3psRbAAXJQ2pvTYimABuChtTOmxFcECcFHamNJjq6pg/Za9E4DRnkn6MqtwlZUpPbY6ZRVaZgEYzZr099qXHludsgotswCMZhGsbi2zAIxmEaxuLbMAjGYRrG4tswCMZhGsbi2zAIxmEaxuLbMAjGYRrG4tswCMZhGsbi2zAIxmEaxuLbMAjGYRrG4tswCMZhGsbi2zAIxmEaxuLbMAjGYRrG4tswCMZhGsbi2zAIxmEaxuLbMAjGYRrG4tswCMZhGsbi2zAIxmEaxuLbMAjGYRrG4tswCMZhGsbi2zAIxmEaxut3oYgLEWPaxCaWNKj62qggVg/0obU3psRbAAXJQ2pvTYimABuChtTOmxFcECcFHamNJjK4IF4KK0MaXHVgQLwEVpY0qPrQgWgIvSxpQeWxEsABeljSk9tiJYAC5KG1N6bEWwAFyUNqb02IpgAbgobUzpsRXBAnBR2pjSYyuCBeCitDGlx1YEC8BFaWNKj60IFoCL0saUHlsRLAAXpY0pPbYiWAAuShtTemxFsABclDam9NiqKlgtswCMZvE73bu1zAIwmkWwurXMAjCaRbC6tcwCMJpFsLq1zAIwmkWwurXMAjCaRbC6tcwCMJpFsLq1zAIwmkWwurXMAjCaRbC6tcwCMJpFsLq1zAIwmkWwurXMAjCaRbC6tcwCMJpFsLq1zAIwmkWwurXMAjCaRbC6tcwCMJpFsLq1zAIwmkWwurXMAjCaRbC6tcwCMJpFsLq1zAIwmkWwurXMAjCaRbC6tcwCMJpFsLq1zMJePdODd8LeWASrW8ss7MV19l32UtJN9o/usteS3mT3GeZmEaxuLbOwBy8l/ZhdZ495J+mH7G2GeVkEq1vLLMzuVXaOVY/vs9fCrCyC1a1lFmb2UtLP2af4U/Y2w3wsgtWtZRZmdZ39PTv/+Snus6+y85+Yi0WwurXMwqysz/+H+ofspwxzsT7/7+3FVVam9NjqlFVomYVZ/T17ps9zl32TYS4WwerWMgszusl+zSpcZZiLRbC6tczCjBZJv2QVnme3wkwsgtWtZRZmtIhgHZlFsLq1zMKMFhGsI7MIVreWWZjRIoJ1ZBbB6tYyCzNaRLCOzCJY3VpmYUaLCNaRWQSrW8sszGgRwToyi2B1a5mFGS0iWEdmEaxuLbMwo0UE68gsgtWtZRZmtIhgHZlFsLq1zMKMFhGsI7MIVreWWZjRIoJ1ZBbB6tYyCzNaRLCOzCJY3VpmYUaLCNaRWQSrW8sszGgRwToyi2B1a5mFGS0iWEdmEaxuLbMwo0UE68gsgtWtZRZmtIhgHZlFsLq1zMKMFhGsI7MIVreWWZjRIoJ1ZBbB6tYyCzNaRLCOzCJY3VpmYUaLCNaRWQSrW8sszGgRwToyi2B1a5mFXt9lL9Y9dffZraS32ZsMH8ciWN1aZuFj3WT/kz0T3ucu+z47/4nHWQSrW8ssfIyXkn7O8Lj77IfstfAYi2B1a5mFD1lU9/Okp+AcrefZXYb3swhWt5ZZeMx19mv2TOjxTtJXGd7PIljdWmbhMa+yHzP0+z57LbyPRbC6tczCY37NbjL0u8u+yfDvLILVrWUWHlP11k/VVYZ/ZxGsbi2z8EcW8cP2z3X+hnX+poV/ZhGsbi2z8EcWEazP9Ty7Ff6VRbC6tczCH7nJzj/Dwqf7j+w+wz+zCFa3lll4zPnD9kWGfr9lz4T3sQhWt5ZZeMxrPfy/g+j3JnspvI9FsLq1zMJjFvFzrE/1VfZOeB+LYHVrmYUP+Sn7rwwf78/ZqwzvZxGsbi2z8CHX2a2krzN82F+zRXiMRbC6tczCxzhH6232bYY/9iZ7ld1n+GMWwerWMgs9Xurhzb7M8P9+y17q4ZsoPswiWN1aZuFT3GQvsq08U91/nXyTvdM27rO32Tuhh0WwurXMwowW1f3XyefZrTATi2B1a5mFGS0iWEdmEaxuLbMwo0UE68gsgtWtZRZmtIhgHZlFsLq1zMKMFhGsI7MIVreWWZjRIoJ1ZBbB6tYyCzNaRLCOzCJY3VpmYUaLCNaRWQSrW8sszGgRwToyi2B1a5mFGS0iWEdmEaxuLbMwo0UE68gsgtWtZRZmtIhgHZlFsLq1zMKMFhGsI7MIVreWWZjRIoJ1ZBbB6tYyCzNaRLCOzCJY3VpmYUaLCNaRWQSrW8sszGgRwToyi2B1a5mFGS0iWEdmEaxuLbMwo0UE68gsgtWtZRZmtIhgHZlFsLq1zMKMFhGsI7MIVreWWZjRIoJ1ZBbB6tYyCzNaVBesr7J3wkwsgtWtZRZmdJ39b/a5fs/OtzAXi2B1a5mFWb3N/jP7HG+yl8JsLILVrWUWZrXo8/+18Hl2K8zGIljdWmZhZreSvs0+xV+yFxnmYxGsbi2zMLPr7C77Muvxt2yRdJ9hPhbB6tYyC7O7zm4lfZ19DGI1P4tgdWuZhb2wpFfZF9n7/J6d//prYXYWwerWMgt78yK7yZ7p4VvUeXfZ2wz7YBGsbi2zAIxmEaxuLbMAjGYRrG4tswCMZhGsbi2zAIxmEaxuLbMAjGYRrG4tswCMZhGsbi2zAIxmEaxuLbMAjGYRrG4tswCMZhGsbi2zAIxmEaxuLbMAjGYRrG4tswCMZhGsbi2zAIxmEaxuLbMAjGYRrG4tswCMZhGsbi2zAIxmEaxuLbMAjGYRrG4tswCMZhGsbi2zAIxmEaxuLbMAjGYRrG4tswCMZhGsbi2zAIxmEaxuLbMAjGYRrG63ehiAsRY9rEJpY0qPraqCBWD/ShtTemxFsABclDam9NiKYAG4KG1M6bEVwQJwUdqY0mMrggXgorQxpcdWBAvARWljSo+tCBaAi9LGlB5bESwAF6WNKT22IlgALkobU3psRbAAXJQ2pvTYimABuChtTOmxFcECcFHamNJjK4IF4KK0MaXHVnfZ1xmAp+1v2U1WZotgWXW/SwfAfv2Q/ZSV2SJY19ld9mUG4Gn6LbvJ7rMyV9kWbrJbSV9kAJ6W37NFD19cSm0VrLPr7KfsRUa4gOM7h+pt9iq7z8ptGax/dJNdZwCO6T67yzY1KlgA8NkIFoDdIFgAdoNgAdgNggVgNwgWgN0gWAB2g2AB2A2CBWA3CBaA3SBYAHaDYAHYDYIFYDcIFoDdIFgAdoNgAdgNggVgNwgWgN0gWAB2g2AB2A2CBWA3CBaA3SBYAHaDYAHYDYIFYDcIFoDdIFgAdoNgAdiN/wPQnhdaqFyReQAAAABJRU5ErkJggg=="},"720a":function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-choose",use:"icon-choose-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-choose">\r\n <path d="M904 621.1H770.3c-0.1-0.1-0.1-0.2-0.2-0.3l-144-224.2c-1.7-3-3.6-5.9-5.6-8.7-0.4-0.7-0.9-1.3-1.4-2-18-24-45.7-39.4-76.8-39.4h-63.8c-28.2 0-53.6 12.7-71.5 32.9-1.9 1.5-3.5 3.4-4.9 5.5l-2.3 3.6c-1.6 2.3-3.2 4.7-4.6 7.2l-142.6 222c-0.7 1.1-1.3 2.2-1.8 3.4h-130c-13.3 0-24 10.7-24 24s10.7 24 24 24h44.9v217.6c0 13.3 10.7 24 24 24h645.5c13.3 0 24-10.7 24-24V669.1H904c13.3 0 24-10.7 24-24s-10.7-24-24-24z m-190.8 0h-72.8V507.8l72.8 113.3zM542.3 394.6c15.3 0 29.1 7.8 38.3 19.9l4.7 7.4c4.6 8.5 7.2 18.4 7.2 29v170.2H428.3V450.8c0-10.8 2.7-20.8 7.4-29.4l4.2-6.6c9.2-12.4 23.1-20.3 38.5-20.3h63.9z m-162 113.1v113.4h-72.8l72.8-113.4z m430.8 355H213.6V669.1h597.5v193.6zM511.4 337.4c62.5 0 113.3-50.8 113.3-113.3s-50.8-113.3-113.3-113.3S398 161.6 398 224.1s50.9 113.3 113.4 113.3z m0-178.6c36 0 65.3 29.3 65.3 65.3s-29.3 65.3-65.3 65.3-65.3-29.3-65.3-65.3 29.2-65.3 65.3-65.3z" fill="#6e6e6e" p-id="1738" />\r\n </symbol>'});c.a.add(o);e["default"]=o},7414:function(t,e,a){"use strict";a("4821")},7710:function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-close",use:"icon-close-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-close">\r\n <path d="M561.17013333 509.06026667L858.02666667 213.73973333c14.03733333-13.968 14.1088-36.60053333 0.1408-50.63786666-13.99893333-14.06826667-36.592-14.10773333-50.62933334-0.1408L510.6048 458.31466667 216.256 163.06986667c-13.9328-13.96693333-36.59733333-14.03733333-50.63466667-0.07146667-14.00426667 13.96586667-14.03733333 36.63146667-0.0704 50.6688l294.27733334 295.1744-296.71466667 295.14026667c-14.0384 13.968-14.1088 36.59733333-0.14293333 50.63786666a35.7216 35.7216 0 0 0 25.3856 10.56c9.13066667 0 18.26666667-3.4688 25.25013333-10.4192l296.78613333-295.2128L807.4304 857.48266667c6.9824 7.02186667 16.15253333 10.53013333 25.35253333 10.53013333a35.72906667 35.72906667 0 0 0 25.28213334-10.45973333c13.99893333-13.96586667 14.03733333-36.592 0.07146666-50.62933334L561.17013333 509.06026667z m0 0" p-id="3320" fill="#7f7f7f" />\r\n </symbol>'});c.a.add(o);e["default"]=o},7741:function(t,e,a){t.exports=a.p+"static/img/money-round-stroke.67895d51.png"},"7c7b":function(t,e,a){t.exports=a.p+"static/img/dengpao.f43dfca8.png"},"7ec4":function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-doc",use:"icon-doc-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-doc"><path d="M354.40128 0c-87.04 0-157.44 70.55872-157.44 157.59872v275.68128H78.72c-21.6576 0-39.36256 17.69984-39.36256 39.36256v236.31872c0 21.6576 17.69984 39.35744 39.36256 39.35744h118.24128v118.08256c0 87.04 70.4 157.59872 157.44 157.59872h472.63744c87.04 0 157.59872-70.55872 157.59872-157.59872V315.0336c0-41.74848-38.9888-81.93024-107.52-149.27872l-29.11744-29.12256L818.87744 107.52C751.5392 38.9888 711.39328 0 669.59872 0H354.4064z m0 78.72h287.20128c28.35456 7.0912 27.99616 42.1376 27.99616 76.8v120.16128c0 21.6576 17.69984 39.35744 39.36256 39.35744h118.07744c39.38816 0 78.87872-0.0256 78.87872 39.36256v512c0 43.32032-35.55328 78.87872-78.87872 78.87872H354.4064c-43.32544 0-78.72-35.5584-78.72-78.87872v-118.08256h393.91744c21.66272 0 39.36256-17.69472 39.36256-39.35744V472.64256c0-21.66272-17.69984-39.36256-39.36256-39.36256H275.68128V157.59872c0-43.32032 35.39456-78.87872 78.72-78.87872z m15.67744 419.35872c23.04 0 41.28256 8.00256 54.72256 24.00256 14.08 15.36 21.12 37.43744 21.12 66.23744 0 29.44-7.04 51.84-21.12 67.2-13.44 15.36-31.68256 23.04-54.72256 23.04-23.68 0-42.24-7.35744-55.68-22.07744-13.44-15.36-20.15744-38.08256-20.15744-68.16256 0-29.44 6.71744-51.84 20.15744-67.2s32-23.04 55.68-23.04z m186.24 0.96256c17.92 0 33.28 3.2 46.08 9.6l-9.6 19.2c-12.16-6.4-24.32-9.6-36.48-9.6-16.64 0-30.39744 6.4-41.27744 19.2-10.24 12.16-15.36 29.44-15.36 51.84 0 23.04 4.79744 40.63744 14.39744 52.79744 9.6 11.52 23.68 17.28 42.24 17.28 10.24 0 23.36256-2.23744 39.36256-6.71744v19.2c-11.52 4.48-25.92256 6.71744-43.20256 6.71744-23.68 0-42.24-7.35744-55.68-22.07744-13.44-15.36-20.15744-38.08256-20.15744-68.16256 0-28.16 7.04-49.92 21.12-65.28 14.72-16 34.23744-23.99744 58.55744-23.99744z m-421.43744 1.92h48.95744c24.96 0 44.48256 7.68 58.56256 23.04 14.72 14.72 22.07744 35.84 22.07744 63.36 0 28.8-7.68 50.87744-23.04 66.23744-14.72 15.36-35.51744 23.04-62.39744 23.04h-44.16V500.96128z m235.19744 17.28c-17.28 0-30.39744 6.07744-39.35744 18.23744-8.96 11.52-13.44 28.8-13.44 51.84 0 23.68 4.48 41.6 13.44 53.76 8.96 11.52 22.07744 17.28 39.35744 17.28s30.40256-5.76 39.36256-17.28c8.96-12.16 13.44-30.08 13.44-53.76 0-23.04-4.48-40.32-13.44-51.84-8.96-12.16-22.08256-18.23744-39.36256-18.23744z m-213.12 1.92v137.27744h19.2c21.76 0 37.76-5.76 48-17.28 10.88-11.52 16.32256-28.8 16.32256-51.84s-5.12-39.99744-15.36-50.87744c-9.6-11.52-24.32-17.28-44.16-17.28h-24.00256z" p-id="1437" fill="#ff5630" /></symbol>'});c.a.add(o);e["default"]=o},8392:function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-zan2",use:"icon-zan2-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-zan2"><path d="M857.28 344.992h-264.832c12.576-44.256 18.944-83.584 18.944-118.208 0-78.56-71.808-153.792-140.544-143.808-60.608 8.8-89.536 59.904-89.536 125.536v59.296c0 76.064-58.208 140.928-132.224 148.064l-117.728-0.192A67.36 67.36 0 0 0 64 483.04V872c0 37.216 30.144 67.36 67.36 67.36h652.192a102.72 102.72 0 0 0 100.928-83.584l73.728-388.96a102.72 102.72 0 0 0-100.928-121.824zM128 872V483.04c0-1.856 1.504-3.36 3.36-3.36H208v395.68H131.36A3.36 3.36 0 0 1 128 872z m767.328-417.088l-73.728 388.96a38.72 38.72 0 0 1-38.048 31.488H272V476.864a213.312 213.312 0 0 0 173.312-209.088V208.512c0-37.568 12.064-58.912 34.72-62.176 27.04-3.936 67.36 38.336 67.36 80.48 0 37.312-9.504 84-28.864 139.712a32 32 0 0 0 30.24 42.496h308.512a38.72 38.72 0 0 1 38.048 45.888z" fill="#316CFF" p-id="1887" /></symbol>'});c.a.add(o);e["default"]=o},"83f4":function(t,e,a){window.__MICRO_APP_ENVIRONMENT__&&(a.p=window.__MICRO_APP_PUBLIC_PATH__)},"89bf":function(t,e,a){"use strict";var s=a("2b0e"),i=a("2f62"),n=a("f13a"),c=a("a78e"),o=a.n(c);a("5c96");s["default"].use(i["a"]),e["a"]=new i["a"].Store({state:{webSocketMsg:"",fullScreen:!0,dialogue:[],stop:!0,id:"",activeName:"zero",chatShow:!1,chatid:"",sideCurrentId:"",newSession:!1,stop:!0,inputValue:"",agentId:"",fileid:"",major:[]},mutations:{SET_WS_MSG:(t,e)=>{t.webSocketMsg=e},CHANGE_INPUT_VALUE:(t,e)=>{t.inputValue=e},GET_DIALOGUE:(t,e)=>{t.dialogue=e},CHANGE_ID:(t,e)=>{t.id=e},changeActiveName:(t,e)=>{t.activeName=e},changeChatshow:(t,e)=>{t.chatShow=e},changeChatid:(t,e)=>{t.chatid=e},changeSidecurrentId:(t,e)=>{t.sideCurrentId=e},changeDialogue:(t,e)=>{t.dialogue=e},changeMajor:(t,e)=>{t.major=e},changenewSession:(t,e)=>{t.newSession=e},changeStop:(t,e)=>{t.stop=e},changeAgentid:(t,e)=>{t.agentId=e},changeFileid:(t,e)=>{t.fileid=e}},actions:{passLogin({commit:t},e){return new Promise((t,a)=>{Object(n["passLogin"])(e).then(e=>{200==e.data.code?o.a.set("AiToken",e.data.data.token):(document.cookie="token=;expires=Thu,01 Jan 1970 00:00:00 UTC;=.icve.com.cn;path=/;",document.cookie="AiToken=;expires=Thu,01 Jan 1970 00:00:00 UTC;path=/;"),t(e)}).catch(t=>{a(t)})})},triggerStop({commit:t},e){t("changeStop",e)},triggernewSession({commit:t},e){t("changenewSession",e)}},modules:{},getters:{webSocketMsg:t=>t.webSocketMsg}})},9359:function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-docx",use:"icon-docx-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-docx">\r\n <path d="M354.40128 0c-87.04 0-157.44 70.55872-157.44 157.59872v275.68128H78.72c-21.6576 0-39.36256 17.69984-39.36256 39.36256v236.31872c0 21.6576 17.69984 39.35744 39.36256 39.35744h118.24128v118.08256c0 87.04 70.4 157.59872 157.44 157.59872h472.63744c87.04 0 157.59872-70.55872 157.59872-157.59872V315.0336c0-41.74848-38.9888-81.93024-107.52-149.27872l-29.11744-29.12256L818.87744 107.52C751.5392 38.9888 711.39328 0 669.59872 0H354.4064z m0 78.72h287.20128c28.35456 7.0912 27.99616 42.1376 27.99616 76.8v120.16128c0 21.6576 17.69984 39.35744 39.36256 39.35744h118.07744c39.38816 0 78.87872-0.0256 78.87872 39.36256v512c0 43.32032-35.55328 78.87872-78.87872 78.87872H354.4064c-43.32544 0-78.72-35.5584-78.72-78.87872v-118.08256h393.91744c21.66272 0 39.36256-17.69472 39.36256-39.35744V472.64256c0-21.66272-17.69984-39.36256-39.36256-39.36256H275.68128V157.59872c0-43.32032 35.39456-78.87872 78.72-78.87872zM308.6336 498.07872c23.04 0 41.28256 8.00256 54.72256 24.00256 14.08 15.36 21.12 37.43744 21.12 66.23744 0 29.44-7.04 51.84-21.12 67.2-13.44 15.36-31.68256 23.04-54.72256 23.04-23.68 0-42.24-7.35744-55.68-22.07744-13.44-15.36-20.15744-38.08256-20.15744-68.16256 0-29.44 6.71744-51.84 20.15744-67.2s32-23.04 55.68-23.04z m186.24 0.96256c17.92 0 33.28 3.2 46.08 9.6l-9.6 19.2c-12.16-6.4-24.32-9.6-36.48-9.6-16.64 0-30.39744 6.4-41.27744 19.2-10.24 12.16-15.36 29.44-15.36 51.84 0 23.04 4.79744 40.63744 14.39744 52.79744 9.6 11.52 23.68 17.28 42.24 17.28 10.24 0 23.36256-2.23744 39.36256-6.71744v19.2c-11.52 4.48-25.92256 6.71744-43.20256 6.71744-23.68 0-42.24-7.35744-55.68-22.07744-13.44-15.36-20.15744-38.08256-20.15744-68.16256 0-28.16 7.04-49.92 21.12-65.28 14.72-16 34.23744-23.99744 58.55744-23.99744z m-421.43744 1.92h48.95744c24.96 0 44.48256 7.68 58.56256 23.04 14.72 14.72 22.07744 35.84 22.07744 63.36 0 28.8-7.68 50.87744-23.04 66.23744-14.72 15.36-35.51744 23.04-62.39744 23.04h-44.16V500.96128z m478.08 0h23.99744l39.36256 67.2 40.32-67.2h23.04l-50.88256 83.51744 54.72256 92.16h-24.96l-43.20256-75.83744-43.19744 75.83744h-23.04l54.71744-92.16-50.87744-83.51744z m-242.88256 17.28c-17.28 0-30.39744 6.07744-39.35744 18.23744-8.96 11.52-13.44 28.8-13.44 51.84 0 23.68 4.48 41.6 13.44 53.76 8.96 11.52 22.07744 17.28 39.35744 17.28s30.40256-5.76 39.36256-17.28c8.96-12.16 13.44-30.08 13.44-53.76 0-23.04-4.48-40.32-13.44-51.84-8.96-12.16-22.08256-18.23744-39.36256-18.23744z m-213.12 1.92v137.27744h19.2c21.76 0 37.76-5.76 48-17.28 10.88-11.52 16.32256-28.8 16.32256-51.84s-5.12-39.99744-15.36-50.87744c-9.6-11.52-24.32-17.28-44.16-17.28h-24.00256z" p-id="8569" fill="#ff5630" />\r\n </symbol>'});c.a.add(o);e["default"]=o},"94d0":function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-send",use:"icon-send-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-send">\r\n <path d="M998.976 554.3232C1031.232 539.6032 1031.328 515.7952 998.976 501.0432L122.88 101.3312C90.624 86.6112 64.448 103.5072 64.384 138.4832L64 426.9952 773.568 527.6672 64 628.3392 64.384 916.8832C64.448 952.1152 90.528 968.7872 122.88 954.0352L998.976 554.3232Z" p-id="5230" fill="#7f7f7f" />\r\n </symbol>'});c.a.add(o);e["default"]=o},"95d4":function(t,e,a){t.exports=a.p+"static/img/major-art.8f8971f6.png"},"9686c":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAjNJREFUOE+tlEtIFVEcxn/fFK7btIiiRW3CoDCwiIvYQxjBICIo6IW5aCMZPkpwEbdAkBIthAIXRWThohZyiVyFtLgLqSDogT1o26JFGwkt58sZ5+r1ot0rdDaHmfOf3/l/3/nmiP88FPPOPXQWOIaoWgs//tgwI3j84IxuxN/q9H3XEjCZPCwUJHMlo1CbzAE7Rs5qSqfuOTSMJ4DiikqIRR0YMqMtyuvEsEMpBZZAbJAgnldSULx/EAMvKK/jdx2SdlhOcqmAZfURmSetMXDIodMOyyku3bC4PhKZsRh49JZDliTPzPuYReyNTz2RHPCeiGFDG7A91f4ImJrfIGsTxLYAmbFLyqupf8lDwctcp+qbBr1NEV/jDgLRmuvQnaZ+90j0Ju/MxlyXfhwZ8FvMrjgWNplnncqrsc9hEKSHIv7I3LaoAQ6lp/5NESMWLYbNiWzzXPDZ4mIhZTZXxrt1Uw19Dtd5AbhWD0uTNSfq1NDrUBUCy0ZTNOrgNYekwELmUpOT/C3LYZrJ1dZJgFcdRimwgg6W/5slHgUxsK7He4DXK3n4r9yttLmgMUlQpts9iJNRxBfEi0KxYNamWWILsLWcAheAC4XWvi7eYaqTXEGeiPOTA/q0v931UcBEOY8tDi/eVLUdbvMczUHARASjrwaVXGnxOJD1+umfXLepEfwyfAQ2KQBHyd8Ud/B9egPZRWB11lUfsppdTdbudu8MfnNZ4umbIeVWq6v0Li1n3+L6XzuU7MWskX+EAAAAAElFTkSuQmCC"},"992f":function(t,e,a){t.exports=a.p+"static/img/major-equipment.2e956d55.png"},"9a71":function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-right",use:"icon-right-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-right">\r\n <path d="M192.037 287.953h640.124c17.673 0 32-14.327 32-32s-14.327-32-32-32H192.037c-17.673 0-32 14.327-32 32s14.327 32 32 32zM192.028 543.17h393.608c17.673 0 32-14.327 32-32s-14.327-32-32-32H192.028c-17.673 0-32 14.327-32 32s14.327 32 32 32zM832.161 735.802H192.037c-17.673 0-32 14.327-32 32s14.327 32 32 32h640.124c17.673 0 32-14.327 32-32s-14.327-32-32-32zM705.162 671.594l160-160-160-160z" fill="#989898" p-id="13534" />\r\n </symbol>'});c.a.add(o);e["default"]=o},"9d82":function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-upload",use:"icon-upload-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-upload"><path d="M857.6 956.8H166.4c-54.4 0-102.4-48-102.4-105.6v-182.4c0-19.2 12.8-32 32-32s32 12.8 32 32v182.4c0 22.4 16 41.6 38.4 41.6h694.4c19.2 0 38.4-19.2 38.4-41.6v-182.4c0-19.2 12.8-32 32-32s32 12.8 32 32v182.4c-3.2 57.6-48 105.6-105.6 105.6z" fill="#316CFF" p-id="1983" /><path d="M512 764.8c-19.2 0-32-12.8-32-32v-640c0-19.2 12.8-32 32-32s32 12.8 32 32v640c0 19.2-12.8 32-32 32z" fill="#316CFF" p-id="1984" /><path d="M720 326.4c-9.6 0-16-3.2-22.4-9.6L512 131.2l-185.6 185.6c-12.8 12.8-32 12.8-44.8 0s-12.8-32 0-44.8L489.6 64c12.8-12.8 32-12.8 44.8 0l208 208c12.8 12.8 12.8 32 0 44.8-6.4 6.4-12.8 9.6-22.4 9.6z" fill="#316CFF" p-id="1985" /></symbol>'});c.a.add(o);e["default"]=o},a4a2:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAqdJREFUaEPtmf1RwzAMxe1NYBLoJNBJaCehTEKZhG4i8nq2z3FkWf5Iez2SPyFp3s+SnmTHmge/7IPrNxvAvSO4RSAXASJ6Msa8uf//WGvPa0RreASc8E9jzGsi+GSMOVprLyNBhgFEK34QBEL8yVp7HAUxBICIPiZBkvBU7zCQLgAhXSAYOb93ylELHCBA9j310QRQSBdWlHvme0ohFHd6NddHNYCQLsW0UIBX14cagIjgKnAXbgUPNYU5EkQF4MQj/Ol1zfNWaxRqSF0bWgDOZSAcudt9ZdJSFVUtANInjUAx50tkhVTaadxJBQAhPcXLgRR6hzq6agAH4eebZk8vmEF1TYkAbpUgGsNYyPdCA2M93T2DWnpnIrIoWvdupO5ZcrgsABHBMuOX5V6Ce1JrndVHTfplIoT+4Lv6jF8C+NV0TYWnc30DImYuU4qQtfaZqyUJgGqmyoKA+KcWea4ZBqc0YrVqAZAS3EourFSYeXIpmJtiARr2FL0AeMnX5KaqInQQePmLW/pLXIjKKXY2wXYDeAE9U6WiXsJonabVMABlP1hMlUQEt4KzqTY3qwJ4BcKKzvJdGAaz885NABKQdCOPBrRzEUt7SrHj3hQgAsHA550DhXv1biKKe0q2KcW5dS+AeKU3AHRrH5WhLpTr0Mn8tEXg30dg5iiaI8FRKcQNdy01wHVO8bSgF0A6GG7ZD0jbx9yuq8lGCzNSaIhV+4GWmaclAjW7tWoAxcyDW8KeoAZg1Elfy6kE9/HCgwCmNEr4LzXpBxD/GzgPUn8EqQKIIoICx+Ymt9+9isnMQlwmQDC+3lSf9DUBKOqjBkB1hJjr/s0AivoIUydzRIPHu4SHGSlHVvv3xMNn1pecWKhPnjUauiOgecma92wAa66u5rcfPgJ/NgJST5WriCUAAAAASUVORK5CYII="},a551:function(t,e,a){"use strict";a("adc4")},a794:function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-cai",use:"icon-cai-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-cai"><path d="M171.675 676.611L432.706 676.611c-12.395 43.621-18.672 82.385-18.672 116.512 0 77.432 70.77799999 151.585 138.528 141.744 59.73799999-8.674 88.25-59.044 88.25-123.734l0-58.445c0-74.97300001 57.374-138.906 130.327-145.94000001l116.038 0.19000001a66.393 66.393 0 0 0 66.393-66.394l-1e-8-383.378c0-36.682-29.71-66.393-66.39299999-66.39299999l-642.832-1e-8a101.246 101.246 0 0 0-99.48 82.385l-72.67 383.377a101.246 101.246 0 0 0 99.48 120.076zM890.489 157.166L890.489 540.544a3.312 3.312 0 0 1-3.312 3.312l-75.54 0 0-390.001 75.54 0a3.312 3.312 0 0 1 3.312 3.311z m-756.316 411.102l72.67-383.376a38.164 38.164 0 0 1 37.502-31.036l504.20999999 0L748.555 546.633A210.25 210.25 0 0 0 577.73 752.72l0 58.414c0 37.029-11.89 58.066-34.22 61.283-26.653 3.88-66.394-37.78599999-66.394-79.325 0-36.777 9.367-82.794 28.45-137.707a31.541 31.541 0 0 0-29.807-41.885l-304.083 0a38.164 38.164 0 0 1-37.503-45.23z" fill="currentColor" p-id="1767" /></symbol>'});c.a.add(o);e["default"]=o},a9f9:function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-noShow",use:"icon-noShow-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-noShow"><path d="M213.333333 469.333333m21.333334 0l554.666666 0q21.333333 0 21.333334 21.333334l0 42.666666q0 21.333333-21.333334 21.333334l-554.666666 0q-21.333333 0-21.333334-21.333334l0-42.666666q0-21.333333 21.333334-21.333334Z" fill="#7f7f7f" p-id="1558" /></symbol>'});c.a.add(o);e["default"]=o},aaa7:function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-whitearrow",use:"icon-whitearrow-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-whitearrow"><path d="M483.072 714.496l30.165333 30.208 415.957334-415.829333a42.837333 42.837333 0 0 0 0-60.288 42.538667 42.538667 0 0 0-60.330667-0.042667l-355.541333 355.413333-355.242667-355.413333a42.496 42.496 0 0 0-60.288 0 42.837333 42.837333 0 0 0-0.085333 60.330667l383.701333 383.872 1.706667 1.749333z" fill="#FFFFFF" p-id="2891" /></symbol>'});c.a.add(o);e["default"]=o},adc4:function(t,e,a){},ae2a:function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-leftjiantou",use:"icon-leftjiantou-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-leftjiantou"><path d="M721.9968 979.0208l47.0528-47.104-419.94752-419.98848 419.94752-419.90144-47.05792-47.04768-419.93216 419.89632h-0.00512l-47.104 47.09888 47.04768 47.04256z" fill="#333333" p-id="1326" /></symbol>'});c.a.add(o);e["default"]=o},b2c3:function(t,e,a){t.exports=a.p+"static/img/more-stroke.7e984cc7.png"},b3f8:function(t,e,a){"use strict";a("267d")},b6e4:function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-arrow",use:"icon-arrow-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-arrow"><path d="M483.072 714.496l30.165333 30.208 415.957334-415.829333a42.837333 42.837333 0 0 0 0-60.288 42.538667 42.538667 0 0 0-60.330667-0.042667l-355.541333 355.413333-355.242667-355.413333a42.496 42.496 0 0 0-60.288 0 42.837333 42.837333 0 0 0-0.085333 60.330667l383.701333 383.872 1.706667 1.749333z" fill="#747c82" p-id="2041" /></symbol>'});c.a.add(o);e["default"]=o},bb69:function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-logo",use:"icon-logo-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-logo"><path d="M512 634.603243c-19.64973 0-38.745946-4.621838-53.773838-13.007567L48.515459 392.164324C26.485622 379.904 13.837838 360.198919 13.837838 338.196757c0-22.057514 12.647784-41.762595 34.705297-54.078271l409.683027-229.348324c29.972757-16.799135 77.491892-16.826811 107.575352 0l409.710702 229.348324c22.029838 12.343351 34.649946 32.048432 34.649946 54.105946 0 22.029838-12.647784 41.707243-34.677621 54.022919l-409.710703 229.348325c-15.000216 8.413405-34.096432 13.035243-53.773838 13.035243zM116.099459 338.141405l381.426163 213.545514c2.490811 1.383784 7.915243 2.767568 14.474378 2.767567 7.500108 0 12.647784-1.743568 14.474378-2.767567l381.453838-213.545514-381.426162-213.517837c-2.490811-1.383784-7.942919-2.767568-14.502054-2.767568-7.472432 0-12.620108 1.715892-14.446703 2.767568L116.099459 338.141405z m396.038919 589.602595c-169.292108 0-341.18573-53.967568-348.879567-157.197838a39.465514 39.465514 0 0 1-0.553514-6.642162V459.250162c0-22.140541 17.989189-40.074378 40.157406-40.074378a40.12973 40.12973 0 0 1 40.157405 40.074378V759.143784c0.166054 1.411459 0.276757 2.87827 0.276757 4.345081 0.332108 29.668324 102.649081 84.134054 268.813838 84.134054 166.192432 0 268.48173-54.46573 268.786162-84.134054l0.055351-1.632865V459.222486c0-22.140541 17.989189-40.074378 40.157406-40.074378 22.195892 0 40.157405 17.961514 40.157405 40.074378v304.70919c0 1.051676-0.027676 2.075676-0.110703 3.127351-4.040649 105.499676-177.871568 160.684973-349.045621 160.684973z m452.082163-104.198919a40.12973 40.12973 0 0 1-40.12973-40.074378V465.394162c0-22.140541 17.961514-40.074378 40.12973-40.074378 22.195892 0 40.157405 17.933838 40.157405 40.074378v318.076541c0 22.140541-17.989189 40.074378-40.12973 40.074378z" fill="#2080f7" p-id="2495" /></symbol>'});c.a.add(o);e["default"]=o},bd0e:function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-zan",use:"icon-zan-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-zan"><path d="M857.28 344.992h-264.832c12.576-44.256 18.944-83.584 18.944-118.208 0-78.56-71.808-153.792-140.544-143.808-60.608 8.8-89.536 59.904-89.536 125.536v59.296c0 76.064-58.208 140.928-132.224 148.064l-117.728-0.192A67.36 67.36 0 0 0 64 483.04V872c0 37.216 30.144 67.36 67.36 67.36h652.192a102.72 102.72 0 0 0 100.928-83.584l73.728-388.96a102.72 102.72 0 0 0-100.928-121.824zM128 872V483.04c0-1.856 1.504-3.36 3.36-3.36H208v395.68H131.36A3.36 3.36 0 0 1 128 872z m767.328-417.088l-73.728 388.96a38.72 38.72 0 0 1-38.048 31.488H272V476.864a213.312 213.312 0 0 0 173.312-209.088V208.512c0-37.568 12.064-58.912 34.72-62.176 27.04-3.936 67.36 38.336 67.36 80.48 0 37.312-9.504 84-28.864 139.712a32 32 0 0 0 30.24 42.496h308.512a38.72 38.72 0 0 1 38.048 45.888z" fill="currentColor" p-id="1737" /></symbol>'});c.a.add(o);e["default"]=o},c075:function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-blowUp",use:"icon-blowUp-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-blowUp"><path d="M735.208665 65.582671l-446.41733 446.417329 446.41733 446.417329z" fill="#a1a1a2" p-id="2274" /></symbol>'});c.a.add(o);e["default"]=o},c43a:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAArtJREFUaEPtmV9S4zAMxj/vSbonWTgJ3VNQnoCnllNQTkL3JJuT4EUxnsSJLEuOW6azyQxPDYl+1r9PisOVX+7K7ccK8N0eXD2Q9cDeb/ADd/3vH/iDB3c6h7fae4AMd3gFcDMx+AiPZzy4riVIO4B44h5PgoEdHI64d8+tINoAvPhHyIZP7W0GsgwgHy5k8Akev3vLKRd4wK6/Z0F+1AHI4cIbFWDfAWyY8KnODztAPlzKYVECr8gPPcDe33xVl/kJOjyZErMhiA4gGE/un14hzmtLYz6H1LmhA+DCJhh+bFIOuecrvaoD4D1QjvkSnRRKHrea6qQDIEOWJC8HIvUOg3f1AGREKfk0NV0qBrF3GHJKBgintIHvxdgQ73ID42t6+J9HAFvGIfOkDe+m4nGSKlwe4OBJkI1flnsJ3TMtrWl+WMKP99AROxe6+uSSAP6qumYprPjOi89ZMO0dJQ/t3E8rgDepStmA8aPmvUMjBneOPWzJA2MA0vCchpmX0rzmyYVgTn7TADTMFIsAyN0feFMnIUHQyx1+9Ufv0CWJqFGxUwW7GCAOIUtUZSlfxmV4GlbNADT9gFOVe7/9EoO64easANGE/Imm8Z4Tg5LeuQjAGGQ+yJ+wc7f9LfOeUlaxFwWIIAdPkjtWjg6xdh/8uKdkm1ISW98EMO7eK0CyCGhahXItOo311QP/vQfSiqJZebQKIU7cmXOA75zytmApgLQYNs8Dsm7hp65aAPldQ0M0DTQ1mqcGwDKtmQHKmofuGGYCC0CjTZ99K8F/vAgg4a8kJeKXmukHkPCMsA9SfwSxAQweIWlMGwZuSot35RoZ1wbJcPp6Y9701QGU8yOcJi/mUgDlCjHX/OsByvkxqM65nJ5vJYQNgvTTcgB+JkhLX7qxUG+eNUztADRvO8M9K8AZDtX0yKv3wD85Si1PKuMjzQAAAABJRU5ErkJggg=="},cadf:function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-xiaoxi",use:"icon-xiaoxi-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-xiaoxi"><path d="M146.304 707.669333V219.562667c0-2.56 0.426667-4.693333 0.853333-7.253334 0.426667-2.56 0.853333-4.693333 2.133334-6.826666 0.853333-2.133333 1.706667-4.266667 2.986666-6.4 1.706667-2.133333 2.986667-3.84 4.693334-5.546667 1.706667-1.706667 3.413333-2.986667 5.546666-4.693333 2.133333-1.28 4.266667-2.133333 6.4-2.986667 2.133333-1.28 4.266667-1.706667 6.826667-2.133333 2.56-0.426667 4.693333-0.853333 7.253333-0.853334h658.346667c2.133333 0 4.693333 0.426667 6.826667 0.853334 2.56 0.426667 4.693333 0.853333 6.826666 2.133333 2.56 0.853333 4.693333 1.706667 6.4 2.986667 2.133333 1.706667 3.84 2.986667 5.546667 4.693333 1.706667 1.706667 3.413333 3.413333 4.693333 5.546667s2.56 4.266667 3.413334 6.4c0.853333 2.133333 1.706667 4.266667 2.133333 6.826666 0.426667 2.56 0.426667 4.693333 0.426667 7.253334v488.106666c0 2.56 0 4.693333-0.426667 7.253334-0.426667 2.133333-1.28 4.693333-2.133333 6.826666-0.853333 2.133333-2.133333 4.266667-3.413334 6.4-1.28 1.706667-2.986667 3.84-4.693333 5.546667-1.706667 1.706667-3.413333 2.986667-5.546667 4.266667a22.613333 22.613333 0 0 1-6.4 3.413333c-2.133333 0.853333-4.266667 1.706667-6.826666 2.133333-2.133333 0.426667-4.693333 0.853333-6.826667 0.853334h-401.493333l-156.16 91.733333a35.029333 35.029333 0 0 1-32.426667 2.133333c-2.133333-0.853333-4.266667-1.706667-6.4-3.413333a27.392 27.392 0 0 1-5.546667-4.266667c-1.706667-1.706667-3.413333-3.84-4.693333-5.546666-1.28-2.133333-2.133333-4.266667-3.413333-6.4-0.853333-2.133333-1.28-4.693333-1.706667-6.826667-0.853333-2.56-0.853333-4.693333-0.853333-7.253333v-60.16h-45.653334c-2.56 0-4.693333-0.426667-7.253333-0.853334a32 32 0 0 1-6.826667-2.133333c-2.133333-0.853333-4.266667-2.133333-6.4-3.413333a27.392 27.392 0 0 1-5.546666-4.266667c-1.706667-1.706667-2.986667-3.84-4.693334-5.546667-1.28-2.133333-2.133333-4.266667-2.986666-6.4-1.28-2.133333-1.706667-4.693333-2.133334-6.826666-0.426667-2.56-0.853333-4.693333-0.853333-7.253334z m119.04-36.693333a37.333333 37.333333 0 0 1 13.653333 2.986667c2.56 0.853333 4.693333 2.133333 6.4 3.413333 2.133333 1.28 3.84 2.56 5.546667 4.266667 1.706667 1.706667 3.413333 3.84 4.693333 5.546666 1.28 2.133333 2.56 4.266667 3.413334 6.4 0.853333 2.133333 1.706667 4.693333 2.133333 6.826667 0.426667 2.56 0.426667 4.693333 0.426667 7.253333v32.853334l109.653333-64.426667c5.546667-3.413333 11.946667-5.12 18.346667-5.12h375.04v-415.146667H219.264v415.146667z" p-id="2222" /><path d="M493.824 438.869333c-2.56 0-4.693333 0.426667-7.253333 0.853334-2.56 0.426667-4.693333 0.853333-6.826667 2.133333-2.133333 0.853333-4.266667 1.706667-6.4 2.986667-2.133333 1.706667-3.84 2.986667-5.546667 4.693333-1.706667 1.706667-2.986667 3.413333-4.693333 5.546667-1.28 2.133333-2.133333 4.266667-2.986667 6.4-1.28 2.133333-1.706667 4.266667-2.133333 6.826666-0.426667 2.56-0.853333 4.693333-0.853333 7.253334 0 2.133333 0.426667 4.693333 0.853333 6.826666 0.426667 2.56 0.853333 4.693333 2.133333 7.253334 0.853333 2.133333 1.706667 4.266667 2.986667 5.973333 1.706667 2.133333 2.986667 3.84 4.693333 5.546667 1.706667 1.706667 3.413333 3.413333 5.546667 4.693333s4.266667 2.56 6.4 3.413333c2.133333 0.853333 4.266667 1.706667 6.826667 2.133334 2.56 0.426667 4.693333 0.426667 7.253333 0.426666h36.266667c2.56 0 5.12 0 7.253333-0.426666 2.56-0.426667 4.693333-1.28 6.826667-2.133334 2.133333-0.853333 4.266667-2.133333 6.4-3.413333 2.133333-1.28 3.84-2.986667 5.546666-4.693333 1.706667-1.706667 3.413333-3.413333 4.693334-5.546667 1.28-1.706667 2.133333-3.84 3.413333-5.973333 0.853333-2.56 1.28-4.693333 1.706667-7.253334 0.853333-2.133333 0.853333-4.693333 0.853333-6.826666 0-2.56 0-4.693333-0.853333-7.253334a32 32 0 0 0-1.706667-6.826666c-1.28-2.133333-2.133333-4.266667-3.413333-6.4-1.28-2.133333-2.986667-3.84-4.693334-5.546667-1.706667-1.706667-3.413333-2.986667-5.546666-4.693333-2.133333-1.28-4.266667-2.133333-6.4-2.986667a18.261333 18.261333 0 0 0-6.826667-2.133333 37.546667 37.546667 0 0 0-7.253333-0.853334h-36.266667zM658.389333 438.869333c-2.56 0-4.693333 0.426667-7.253333 0.853334-2.56 0.426667-4.693333 0.853333-6.826667 2.133333-2.133333 0.853333-4.266667 1.706667-6.4 2.986667-2.133333 1.706667-3.84 2.986667-5.546666 4.693333-1.706667 1.706667-2.986667 3.413333-4.693334 5.546667-1.28 2.133333-2.133333 4.266667-2.986666 6.4-1.28 2.133333-1.706667 4.266667-2.133334 6.826666-0.426667 2.56-0.853333 4.693333-0.853333 7.253334 0 2.133333 0.426667 4.693333 0.853333 6.826666 0.426667 2.56 0.853333 4.693333 2.133334 7.253334 0.853333 2.133333 1.706667 4.266667 2.986666 5.973333 1.706667 2.133333 2.986667 3.84 4.693334 5.546667 1.706667 1.706667 3.413333 3.413333 5.546666 4.693333s4.266667 2.56 6.4 3.413333c2.133333 0.853333 4.266667 1.706667 6.826667 2.133334 2.56 0.426667 4.693333 0.426667 7.253333 0.426666h36.266667c2.56 0 5.12 0 7.253333-0.426666 2.56-0.426667 4.693333-1.28 6.826667-2.133334 2.133333-0.853333 4.266667-2.133333 6.4-3.413333 2.133333-1.28 3.84-2.986667 5.546667-4.693333 1.706667-1.706667 3.413333-3.413333 4.693333-5.546667 1.28-1.706667 2.133333-3.84 3.413333-5.973333 0.853333-2.56 1.28-4.693333 1.706667-7.253334 0.853333-2.133333 0.853333-4.693333 0.853333-6.826666 0-2.56 0-4.693333-0.853333-7.253334a32 32 0 0 0-1.706667-6.826666c-1.28-2.133333-2.133333-4.266667-3.413333-6.4a29.397333 29.397333 0 0 0-4.693333-5.546667c-1.706667-1.706667-3.413333-2.986667-5.546667-4.693333-2.133333-1.28-4.266667-2.133333-6.4-2.986667a18.261333 18.261333 0 0 0-6.826667-2.133333 37.546667 37.546667 0 0 0-7.253333-0.853334h-36.266667zM329.258667 438.869333c-2.56 0-4.693333 0.426667-7.253334 0.853334-2.56 0.426667-4.693333 0.853333-6.826666 2.133333-2.133333 0.853333-4.266667 1.706667-6.4 2.986667-2.133333 1.706667-3.84 2.986667-5.546667 4.693333-1.706667 1.706667-2.986667 3.413333-4.693333 5.546667-1.28 2.133333-2.133333 4.266667-2.986667 6.4-1.28 2.133333-1.706667 4.266667-2.133333 6.826666-0.426667 2.56-0.853333 4.693333-0.853334 7.253334 0 2.133333 0.426667 4.693333 0.853334 6.826666 0.426667 2.56 0.853333 4.693333 2.133333 7.253334 0.853333 2.133333 1.706667 4.266667 2.986667 5.973333 1.706667 2.133333 2.986667 3.84 4.693333 5.546667 1.706667 1.706667 3.413333 3.413333 5.546667 4.693333s4.266667 2.56 6.4 3.413333c2.133333 0.853333 4.266667 1.706667 6.826666 2.133334 2.56 0.426667 4.693333 0.426667 7.253334 0.426666h36.266666c2.56 0 5.12 0 7.253334-0.426666a32 32 0 0 0 6.826666-2.133334c2.133333-0.853333 4.266667-2.133333 6.4-3.413333 2.133333-1.28 3.84-2.986667 5.546667-4.693333 1.706667-1.706667 3.413333-3.413333 4.693333-5.546667 1.28-1.706667 2.133333-3.84 3.413334-5.973333 0.853333-2.56 1.28-4.693333 1.706666-7.253334 0.853333-2.133333 0.853333-4.693333 0.853334-6.826666 0-2.56 0-4.693333-0.853334-7.253334a32 32 0 0 0-1.706666-6.826666c-1.28-2.133333-2.133333-4.266667-3.413334-6.4-1.28-2.133333-2.986667-3.84-4.693333-5.546667-1.706667-1.706667-3.413333-2.986667-5.546667-4.693333-2.133333-1.28-4.266667-2.133333-6.4-2.986667a18.261333 18.261333 0 0 0-6.826666-2.133333 37.546667 37.546667 0 0 0-7.253334-0.853334h-36.266666z" p-id="2223" /></symbol>'});c.a.add(o);e["default"]=o},cd22:function(t,e,a){},ce19:function(t,e,a){t.exports=a.p+"static/img/major-leaf.1021f366.png"},ce67:function(t,e,a){},d241:function(t,e,a){"use strict";a("07f1")},d314:function(t,e,a){t.exports=a.p+"static/img/wodexuexiao.62ab2bca.png"},d46d:function(t,e,a){var s={"./rebot.js":"f13a"};function i(t){var e=n(t);return a(e)}function n(t){if(!a.o(s,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return s[t]}i.keys=function(){return Object.keys(s)},i.resolve=n,t.exports=i,i.id="d46d"},d666:function(t,e,a){"use strict";a("e278")},d6af:function(t,e,a){t.exports=a.p+"static/img/major-course.d54a2b68.png"},dc93:function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-left-shou",use:"icon-left-shou-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-left-shou"><path d="M288.791335 65.582671l446.41733 446.417329-446.41733 446.417329z" fill="#a1a1a2" p-id="2129" /></symbol>'});c.a.add(o);e["default"]=o},dfb6:function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-cai2",use:"icon-cai2-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-cai2"><path d="M171.675 676.611L432.706 676.611c-12.395 43.621-18.672 82.385-18.672 116.512 0 77.432 70.77799999 151.585 138.528 141.744 59.73799999-8.674 88.25-59.044 88.25-123.734l0-58.445c0-74.97300001 57.374-138.906 130.327-145.94000001l116.038 0.19000001a66.393 66.393 0 0 0 66.393-66.394l-1e-8-383.378c0-36.682-29.71-66.393-66.39299999-66.39299999l-642.832-1e-8a101.246 101.246 0 0 0-99.48 82.385l-72.67 383.377a101.246 101.246 0 0 0 99.48 120.076zM890.489 157.166L890.489 540.544a3.312 3.312 0 0 1-3.312 3.312l-75.54 0 0-390.001 75.54 0a3.312 3.312 0 0 1 3.312 3.311z m-756.316 411.102l72.67-383.376a38.164 38.164 0 0 1 37.502-31.036l504.20999999 0L748.555 546.633A210.25 210.25 0 0 0 577.73 752.72l0 58.414c0 37.029-11.89 58.066-34.22 61.283-26.653 3.88-66.394-37.78599999-66.394-79.325 0-36.777 9.367-82.794 28.45-137.707a31.541 31.541 0 0 0-29.807-41.885l-304.083 0a38.164 38.164 0 0 1-37.503-45.23z" fill="#316CFF" p-id="2312" /></symbol>'});c.a.add(o);e["default"]=o},e278:function(t,e,a){},e6fa:function(t,e,a){t.exports=a.p+"static/img/major-energy.240153c8.png"},eb82:function(t,e,a){t.exports=a.p+"static/img/major-law.677ccd0c.png"},ec0c:function(t,e,a){"use strict";a("ce67")},ed74:function(t,e,a){t.exports=a.p+"static/img/major-build.9710a9ae.png"},ee57:function(t,e,a){t.exports=a.p+"static/img/major-car.81f0d328.png"},f13a:function(t,e,a){"use strict";a.r(e),a.d(e,"getChatData",(function(){return g})),a.d(e,"getTrianData",(function(){return m})),a.d(e,"getSummarizeData",(function(){return f})),a.d(e,"getDocumentQueryData",(function(){return p})),a.d(e,"getAllData",(function(){return A})),a.d(e,"getAllDataArr",(function(){return w})),a.d(e,"getSideDataArr",(function(){return v})),a.d(e,"getSideToData",(function(){return b})),a.d(e,"addConversation",(function(){return C})),a.d(e,"deleteConversation",(function(){return x})),a.d(e,"deleteAllConver",(function(){return j})),a.d(e,"getPersonHelperChatData",(function(){return z})),a.d(e,"DeleteDataList",(function(){return y})),a.d(e,"getDocSideToData",(function(){return M})),a.d(e,"uploadFile",(function(){return I})),a.d(e,"editHuiHuaName",(function(){return B})),a.d(e,"getAllMajor",(function(){return k})),a.d(e,"passLogin",(function(){return S})),a.d(e,"getScreenParam",(function(){return L})),a.d(e,"editScreenParam",(function(){return G})),a.d(e,"chatEvaluateAdd",(function(){return N})),a.d(e,"chatEvaluateCancel",(function(){return W})),a.d(e,"shareChatMsg",(function(){return E})),a.d(e,"listChatMsgTag",(function(){return F})),a.d(e,"chatEvaluate",(function(){return Y})),a.d(e,"chatCancel",(function(){return Z})),a.d(e,"getlistChatMsgTag",(function(){return D})),a.d(e,"stopChat",(function(){return V})),a.d(e,"getShareInfo",(function(){return R}));var s=a("bc3a"),i=a.n(s),n=(a("5f87"),a("a78e")),c=a.n(n),o=a("89bf");const r=i.a.create({timeout:3e4,headers:{"Cache-Control":"no-cache"}});r.interceptors.request.use((function(t){const e=!1===(t.headers||{}).isToken;return c.a.get("AiToken")&&!e&&(t.headers["Authorization"]="Bearer "+c.a.get("AiToken")),t}),(function(t){return Promise.reject(t)})),r.interceptors.response.use((function(t){const e=t.data.code;if(401==e){const t=c.a.get("token");o["a"].dispatch("passLogin",t).then(()=>{}).catch(()=>{})}else 403==e&&window.microApp.dispatch({code:403});return t}),(function(t){return Promise.reject(t)}));var l=r,d=a("4328"),h=a.n(d);const u="/ai-api",g=t=>l({url:u+"/xh/modelQuestion",method:"post",data:t}),m=t=>l({url:u+"/xh/getFileStatus",method:"post",data:t}),f=t=>l({url:u+"/xh/fileSummary",method:"post",data:h.a.stringify(t)}),p=t=>l({url:u+"/xh/docList",method:"get"}),A=t=>l({url:u+"/xh/modelList/"+t.userId,method:"get"}),w=t=>l({url:u+"/xh/modelList",method:"get",params:t}),v=t=>l({url:u+"/xh/chats/"+t.chatType+"?title="+t.title||"",method:"get"}),b=t=>l({url:u+"/xh/modelDetail/"+t.chatId,method:"get"}),C=t=>l({url:u+"/xh/addChat",method:"post",data:t}),x=t=>l({url:u+"/xh/chatDel/"+t.chatId+"/"+t.chatType,method:"delete"}),j=t=>l({url:u+"/xh/allChatDel/"+t.chatType,method:"delete"}),z=t=>l({url:u+"/xh/conversation",method:"post",data:t}),y=t=>l({url:u+"/xh/docDel/"+t.uploadId,method:"delete"}),M=t=>l({url:u+"/xh/docDetail/"+t.chatId,method:"get"}),I=t=>u+"/xh/uploadDocFile",B=t=>l({url:u+"/xh/updateChat",method:"post",data:t}),k=t=>l({url:u+"/xh/queryMajors",method:"post",data:t}),S=t=>l({url:u+"/passLogin?token="+t,headers:{isToken:!1},method:"GET"}),L=t=>l({url:u+"/xh/getScreenParam",method:"get"}),G=t=>l({url:u+"/xh/editScreenParam",data:t,method:"post"}),N=t=>l({url:u+"/xh/chatEvaluateAdd",data:t,method:"post"}),W=t=>l({url:u+"/xh/chatEvaluateCancel",data:t,method:"post"}),E=t=>l({url:u+"/xh/shareChatMsg",data:t,method:"post"}),F=t=>l({url:u+"/xh/listChatMsgTag",data:t,method:"post"}),Y=t=>l({url:u+"/xh/chatEvaluateAdd",data:t,method:"post"}),Z=t=>l({url:u+"/xh/chatEvaluateCancel",data:t,method:"post"}),D=t=>l({url:u+"/xh/listChatMsgTag",method:"post"}),V=t=>l({url:u+"/xh/stop/"+t.msgId,method:"get"}),R=t=>l({url:u+"/xh/getShareInfo/"+t.shareId,method:"get"})},f3cc:function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-tanhao",use:"icon-tanhao-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-tanhao">\r\n <path d="M512 128c212 0 384 172 384 384s-172 384-384 384-384-172-384-384 172-384 384-384m0-64C264.8 64 64 264.8 64 512s200.8 448 448 448 448-200.8 448-448S759.2 64 512 64z" p-id="12469" fill="#7f7f7f" />\r\n <path d="M480 704h64v64h-64zM480 256h64v384h-64z" p-id="12470" fill="#7f7f7f" />\r\n </symbol>'});c.a.add(o);e["default"]=o},f453:function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-voice2",use:"icon-voice2-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-voice2">\r\n <path d="M512 64A448 448 0 1 0 960 512 448.5 448.5 0 0 0 512 64z m0 832a384 384 0 1 1 384-384 384.5 384.5 0 0 1-384 384z" fill="#56565b" p-id="6559" />\r\n <path d="M320 400m-48 0a48 48 0 1 0 96 0 48 48 0 1 0-96 0Z" fill="#56565b" p-id="6560" />\r\n <path d="M448 448A48 48 0 1 0 400 400a48 48 0 0 0 48 48zM576 352a48 48 0 1 0 48 48 48 48 0 0 0-48-48zM704 352a48 48 0 1 0 48 48 48 48 0 0 0-48-48z" fill="#56565b" p-id="6561" />\r\n <path d="M320 528m-48 0a48 48 0 1 0 96 0 48 48 0 1 0-96 0Z" fill="#56565b" p-id="6562" />\r\n <path d="M448 576a48 48 0 1 0-48-48 48 48 0 0 0 48 48zM576 640H448a48 48 0 0 0 0 96h128a48 48 0 1 0 0-96zM576 480a48 48 0 1 0 48 48 48 48 0 0 0-48-48zM704 480a48 48 0 1 0 48 48 48 48 0 0 0-48-48z" fill="#56565b" p-id="6563" />\r\n </symbol>'});c.a.add(o);e["default"]=o},f9a1:function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-pdf",use:"icon-pdf-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-pdf">\r\n <path d="M905.185809 178.844158C898.576738 172.685485 891.19337 165.824412 883.21687 158.436127 860.422682 137.322863 837.434925 116.207791 815.697647 96.487895 813.243072 94.261877 813.243072 94.261877 810.786411 92.037081 781.783552 65.781062 757.590948 44.376502 739.713617 29.293612 729.254178 20.469111 721.020606 13.860686 714.970549 9.501727 710.955023 6.608611 707.690543 4.524745 704.47155 2.998714 700.417679 1.07689 696.638044-0.094029 691.307277 0.005928 677.045677 0.273349 665.6 11.769337 665.6 26.182727L665.6 77.352844 665.6 128.522961 665.6 230.863194 665.6 256.448252 691.2 256.448252 896 256.448252 870.4 230.863194 870.4 998.414942 896 972.829884 230.381436 972.829884C187.90385 972.829884 153.6 938.623723 153.6 896.20663L153.6 26.182727 128 51.767786 588.8 51.767786C602.93849 51.767786 614.4 40.312965 614.4 26.182727 614.4 12.05249 602.93849 0.597669 588.8 0.597669L128 0.597669 102.4 0.597669 102.4 26.182727 102.4 896.20663C102.4 966.91021 159.652833 1024 230.381436 1024L896 1024 921.6 1024 921.6 998.414942 921.6 230.863194 921.6 205.278135 896 205.278135 691.2 205.278135 716.8 230.863194 716.8 128.522961 716.8 77.352844 716.8 26.182727C716.8 39.813762 705.748075 50.91427 692.267725 51.167041 687.705707 51.252584 685.069822 50.435995 682.52845 49.231204 682.259458 49.103682 683.344977 49.796618 685.029451 51.010252 689.779394 54.432502 697.145822 60.34494 706.686383 68.394196 724.009052 83.009121 747.816448 104.072869 776.413589 129.961594 778.850014 132.168064 778.850014 132.168064 781.285216 134.376514 802.876774 153.964212 825.739479 174.96442 848.413564 195.966437 856.350957 203.3185 863.697005 210.144893 870.269888 216.269843 874.209847 219.941299 877.019309 222.565641 878.499674 223.951409 888.81866 233.610931 905.019017 233.081212 914.684179 222.768247 924.349344 212.455283 923.819315 196.264383 913.500326 186.604861 911.981323 185.182945 909.155025 182.542876 905.185809 178.844158ZM102.4 461.128719 0 461.128719 0 896.074709 512 896.074709 1024 896.074709 1024 461.128719 153.6 461.128719 153.6 460.531049 102.4 460.531049 102.4 461.128719ZM208.2 711 208.2 819.2 157.6 819.2 157.6 528 269 528C301.533495 528 327.366571 536.466581 346.5 553.4 365.633429 570.333419 375.2 592.733195 375.2 620.6 375.2 649.133476 365.833427 671.333254 347.1 687.2 328.366573 703.066746 302.133502 711 268.4 711L208.2 711ZM208.2 670.4 269 670.4C287.00009 670.4 300.733286 666.166709 310.2 657.7 319.666714 649.233291 324.4 637.000079 324.4 621 324.4 605.266588 319.600047 592.700047 310 583.3 300.399951 573.899953 287.200083 569.066669 270.4 568.8L208.2 568.8 208.2 670.4ZM419.4 819.2 419.4 528 505.4 528C531.133461 528 553.966566 533.733276 573.9 545.2 593.833434 556.666724 609.266611 572.933229 620.2 594 631.133389 615.066771 636.6 639.199863 636.6 666.4L636.6 681C636.6 708.600139 631.100055 732.866562 620.1 753.8 609.099945 774.733438 593.433436 790.866609 573.1 802.2 552.766564 813.533391 529.466799 819.2 503.2 819.2L419.4 819.2ZM470 568.8 470 778.8 503 778.8C529.533466 778.8 549.89993 770.500083 564.1 753.9 578.30007 737.299917 585.533331 713.466822 585.8 682.4L585.8 666.2C585.8 634.599842 578.933402 610.46675 565.2 593.8 551.466598 577.13325 531.533463 568.8 505.4 568.8L470 568.8ZM854.8 695.8 737.6 695.8 737.6 819.2 687 819.2 687 528 872 528 872 568.8 737.6 568.8 737.6 655.4 854.8 655.4 854.8 695.8Z" fill="#ff5630" p-id="6140" />\r\n </symbol>'});c.a.add(o);e["default"]=o},fbc1:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAr5JREFUOE+tlFlIlFEUx3/njqZo9GARWaQ9BC3QTgSJllBBi9HQQhEEISVpIKhRitW0kBLYIrYSFRQUIdNOBYllUm+G01PZQgS+lGjiljVz8vu+melzVPCh+3TPPef87jn3/L9P+M9LRuLl3tGU3/3kCCxHmKKKAVpRGjwJ3L+2Rb4PlzsEuPmOjonvpdRACTB2hAt7geqkPo5ezpMed8wg4LZLOkHjuCdCRjRIAaEDpQ+YFJPcFIKc27nSGjmPAq3KzE/qgaXuJFV61DCVcXSZDj4gpKuChDNVaU5IJOPGDum28qLAjef1CMIh68ApKrwMgdo8mWdZmy6qH8VrO62gf6u6do8URoHeGh0v8BVIjsBc8YG7ex2gt0b9Al73heF9f1CYfr9AvtmFbDijuSpcGW4ACoEHhQ5w/dmhwEiOQvGDQjllA9dV6U1ge9jZOVBMsyvw0+Ni2WnZa6v0uAhZrjeZAUwMxz56VCSWzGD1Sa239QY9HkP6wxL5MRq9b/bpmK4k3gPTUN4+2S8LbeCqCn0pkGUB/yhpdWXSNhrgoksaP6GdDyjTEJqfHZD5NnDlMb2FsNXaK3QIWPqKrM915bLLMlYcU58KmS7NzQJSw/bT5+Wy2gZmH9V8Qpyzxy4Qo7NAvc8ZynKf+o3gjfE7OVBWf1gqbGBmmaYaD1+AhCGtKoGXxx3gsoPqH2jNO0iojm6CYpj5wicfo/rNLNUqhKJYHQoEXp1wgFll6g+Bd6iuudp4QnKjwrYHU6LJ3XG8DoWYG2k7/AQ9fwxpwTY6E1JoQUmP6aLFCEsaK6V9ENAyFhfpVOPhMSHmRL+9mJ9DzBu3SJA1b07LR9egBt83O1/HJidSqSF2A/HDDMkaQlDh+q8+9r274FQ2IjDiWFCg6cawSQ3ZhJiMYBBaRWlQD7VNrqpGBRyNsIeL+Qtt3gIk8Av3BAAAAABJRU5ErkJggg=="},fc2f:function(t,e,a){"use strict";a.r(e);var s=a("e017"),i=a.n(s),n=a("21a1"),c=a.n(n),o=new i.a({id:"icon-laoshi",use:"icon-laoshi-usage",viewBox:"0 0 1024 1024",content:'<symbol class="icon" viewBox="0 0 1024 1024" xmlns="http://www.w3.org/2000/svg" id="icon-laoshi"><path d="M311.6 592.8c-80.4 0-145.7-65.4-145.7-145.7s65.4-145.7 145.7-145.7S457.3 366.7 457.3 447s-65.4 145.8-145.7 145.8z m0-243.6c-53.9 0-97.8 43.9-97.8 97.8s43.9 97.8 97.8 97.8 97.8-43.9 97.8-97.8-43.9-97.8-97.8-97.8zM556.5 902.6h-47.9V758.3c0-56.4-45.9-102.3-102.3-102.3H216.8c-56.4 0-102.3 45.9-102.3 102.3v144.3H66.6V758.3C66.6 675.4 134 608 216.8 608h189.4c82.8 0 150.2 67.4 150.2 150.2v144.4z" fill="#6f6f6f" p-id="1265" /><path d="M957.4 798.7H657.8v-47.9h251.7V159.5H272.4v107.9h-47.9V111.6h732.9z" fill="#6f6f6f" p-id="1266" /><path d="M510.715 892.736l184.668-411.903 43.709 19.596-184.668 411.903z" fill="#6f6f6f" p-id="1267" /></symbol>'});c.a.add(o);e["default"]=o}},[[0,"runtime","chunk-elementUI","chunk-libs"]]]);
@@ -1 +0,0 @@
1
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0b2f36dc"],{"05e3":function(t,e,a){"use strict";a("8001")},"4da0":function(t,e,a){},8001:function(t,e,a){},e253:function(t,e,a){"use strict";a("4da0")},e67d:function(t,e,a){t.exports=a.p+"static/img/hot-icon.a31c2f87.png"},f603:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"ai-part"},[t.chatShow?t._e():e("div",{},[t._m(0),e("div",{staticClass:"ai-hot"},[e("div",{staticClass:"ai-hot-container"},[e("img",{staticClass:"ai-hot-left",attrs:{src:a("e67d"),alt:""}}),e("div",{staticClass:"ai-hot-right"},[e("p",{staticClass:"hot-right-title"},[t._v("同学在问")]),e("div",{staticClass:"list-label-container"},t._l(t.label,(function(a,s){return e("div",{key:s,staticClass:"list-label",on:{click:function(e){return t.moreQuestion(a)}}},[t._v(" "+t._s(a)+" ")])})),0)])])]),e("div",{staticClass:"ai-try-part"},[e("swiper-container",{staticStyle:{width:"100%",height:"100%"},attrs:{pagination:"true"}},t._l(t.hotArray,(function(a,s){return e("swiper-slide",{key:s,attrs:{"space-between":50}},[e("div",{staticClass:"card-container"},t._l(a,(function(a,s){return e("div",{key:s,staticClass:"card-list",on:{click:function(e){return t.chooseChat(a)}}},[e("img",{staticStyle:{width:"40px",height:"40px"},attrs:{src:a.img,alt:""}}),e("div",{staticClass:"font-detail"},[e("p",{staticClass:"font-detail-title"},[t._v(t._s(a.name))]),e("p",{staticClass:"font-detail-des"},[t._v(t._s(a.content))])])])})),0)])})),1)],1)]),e("div",{staticClass:"ai-part-bg"}),t.chatShow?e("div",{staticClass:"agentName-container"},[e("span",[t._v(t._s(t.agentName))])]):t._e(),t.chatShow?e("div",{staticClass:"chat-container"},[e("transition",{attrs:{name:"el-zoom-in-top"}},[e("div",{staticClass:"chat",staticStyle:{height:"100%"}},[e("chat",{ref:"chat",attrs:{sideCurrentId:t.sideCurrentId,sideCurrentName:t.sideCurrentName,messageListData:t.messageListData,chatType:1},on:{editHuiHuaName:t.editHuiHuaName,scrollToBottom:t.scrollToBottom,firstPageEntry:t.firstPageEntry}})],1)])],1):t._e(),e("div",{staticClass:"search-part"},[e("el-input",{attrs:{type:"textarea",rows:3,placeholder:"给“职教一问”发消息"},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.sendMessage.apply(null,arguments)}},model:{value:t.userInput,callback:function(e){t.userInput=e},expression:"userInput"}}),e("div",{staticStyle:{width:"100%"},attrs:{slot:"prefix"},slot:"prefix"},[e("el-popover",{attrs:{"popper-class":"agent-content",placement:"top-start"},model:{value:t.visible,callback:function(e){t.visible=e},expression:"visible"}},[e("div",{staticClass:"agent-list-container"},[e("p",{staticClass:"agent-title"},[t._v("专业智能体")]),e("div",{staticClass:"agent-list-content"},t._l(t.agentArr,(function(a){return e("div",{key:a.id,staticClass:"agent-label",on:{click:function(e){return t.chooseAgentid(a)}}},[t._v(" "+t._s(a.name)+" ")])})),0)]),e("div",{staticClass:"agent",attrs:{slot:"reference"},slot:"reference"})])],1),e("div",{staticClass:"send",attrs:{slot:"suffix"},on:{click:t.sendMessage},slot:"suffix"})],1),e("foot")],1)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"ai-top"},[e("div",{staticClass:"ai-logo"}),e("p",{staticClass:"main-title"},[t._v("欢迎使用职教一问")]),e("p",{staticClass:"sub-title"},[t._v("洞悉千问,解锁职教智慧之门")])])}],n=(a("14d9"),a("b220"));const o=["现代通信","物联网应用","大数据","云计算","电子产品制造","工业设计","财税考题","机器学习","人工智能","社交媒体营销","区块链","压力管理","Python","JavaScript","Google Cloud Platform","压力管理","SEO优化","虚拟沟通技巧","内容营销","数字货币","图形设计","视频编辑"],r=[{id:"18",name:"学生辅导",content:"输入辅导员或班主任遇到的相关问题,AI帮您解答,如:班主任如何帮助学生制定个人发展规划,指导学生进行职业生涯规划?",img:a("8d8d")},{id:"12",name:"开学讲话发言稿",content:"帮您编写迎接新学期开始的发言稿,如:我是学校校长,帮我写一篇新学期开学发言稿",img:a("6abe")},{id:"13",name:"现代通信",content:"输入现代通信技术相关的问题,AI为您解答,如:5G网络架构及业务应用场景",img:a("2e26")},{id:"14",name:"物联网应用",content:"输入物联网应用技术相关的问题,AI为您解答,如:物联网与数字孪生在智慧城市场景下的结合应用情况",img:a("97e6")},{id:"15",name:"大数据",content:"输入大数据技术相关的问题,AI为您解答,如:大数据与数字孪生在新型城市治理场景下的结合应用情况",img:a("9acc")},{id:"16",name:"电子产品制造",content:"输入电子产品制造技术专业相关的问题,AI为您解答,如:国内晶圆测试环节,当前最新的良率检测方式有哪些?",img:a("c7ce")},{id:"17",name:"英语文本创作",content:"输入一个主题,我将围绕主题为您生成一篇英语文章,如:请以“科技型企业知识产权自主化”为主题,生成一篇英语的课程脚本",img:a("418f")},{id:"11",name:"考试大纲",content:"请输入试题年级和考试科系,为您生成一份考试大纲,如:大学一年级C语言考试题目或大纲",img:a("3b1d")},{id:"19",name:"云计算",content:"输入云计算技术相关的问题,AI为您解答,如:混合云技术是由哪些软件和硬件组成?",img:a("4381")},{id:"1",name:"文本扩写",content:"请输入文本,我来帮您扩写,如:人工智能为人类生活带来的变化进行扩写",img:a("f912")},{id:"2",name:"文章润色高级助手",content:"根据提供的文案,上下文结合进行润色,如:“从用户角度提出完善意见”进行润色",img:a("9e38")},{id:"3",name:"述职报告小能手",content:"请填写您的工作目标、策略和成果概述,小助手会给出供您参考的述职报告,如:四季度对接项目8个,落地实施5个,已交付项目3个,开发中项目1个,待确认交付项目1个",img:a("88b6")},{id:"4",name:"英语论文创作",content:"输入一个主题,我将围绕主题为您生成一篇英语论文,如:“碳中和与ESG进程中的新机遇”为主题,生成一篇英语论文",img:a("ffa3")},{id:"6",name:"学科教案",content:"输入学科主题,为您生成一份高校教师制定的教案示例,如:生成一份高等数学2024年一学期教案",img:a("2538")},{id:"7",name:"学期工作总结",content:"请输入您的学科,为您生成一份学期工作总结,如:大学一年级班主任,2023年第二学期工作总结",img:a("74a2")},{id:"8",name:"班级文化建设",content:"请输入您的班级和专业学科,为您制定一份班级文化建设方案,如:为大学一年级工商管理001班设计一份促进学生团结的文化建设方案",img:a("dd0f")},{id:"9",name:"学生行为规范制定",content:"请输入您的班级和学科专业,描述具体要求,为您制定一份学生行为规范,如:制定一份计算机专业大学二年级学生,关于课堂纪律的行为规范",img:a("b86a")},{id:"10",name:"招生宣传手册",content:"请输入您的学校和专业,为您生成本专业的招生指南,如:视觉设计专业,为招募新生设计一份中文和英文的双语宣传手册",img:a("8b02")}];var c=a("f13a"),d=a("b656"),h=a("b163"),l=a("a78e"),m=a.n(l);Object(n["a"])();var g={components:{foot:d["a"],chat:h["a"]},name:"draw",data(){return{userInput:"",hotArray:[],label:o,agentArr:[],agentId:[],visible:!1,sideCurrentName:"新的对话",messageListData:[{content:"欢迎使用AI助手:我是AI知道,能帮助您解答各种问题,快试试吧",role:"assistant"}],agentName:"职教一问"}},computed:{chatShow(){return this.$store.state.chatShow},sideCurrentId(){return this.$store.state.sideCurrentId},chatId(){return this.$store.state.chatid},newSession(){return this.$store.state.newSession},stop(){return this.$store.state.stop},storeAgentId(){return this.$store.state.agentId}},watch:{sideCurrentId:{handler:function(t){"001"==t&&(this.sideCurrentName="新的对话",this.messageListData=[])},immediate:!0},storeAgentId:{handler:function(){""==this.$store.state.agentId&&(this.agentName="职教一问",this.agentId=[])},immediate:!0},chatId:{handler:function(t){""!==t&&this.getSideToData(t)},immediate:!0},agentId:{handler:function(t,e){""!==t&&this.$store.commit("changeAgentid",t.join(""))},immediate:!0},newSession:{handler:function(t){1==t&&(this.sideCurrentName="新的对话",this.messageListData=[],this.$store.commit("changenewSession",!1))},immediate:!0}},methods:{scrollToBottom(){this.$refs.chat&&this.$refs.chat.scrollToBottom()},moreQuestion(t){this.userInput=t,this.sendMessage()},addAiKnowConversation(t,e){if(!this.stop)return this.$message({message:"对话进行中,请稍后重试",type:"warning"});this.$api.addConversation({chatName:t,chatType:1,chatMajorId:this.agentId.join("")}).then(t=>{200==t.data.code&&(""!=this.agentId&&this.$message({message:"已选择"+e,type:"success"}),this.getSideDataArr(1),this.$store.commit("changeChatshow",!0),this.$store.commit("changeChatid",t.data.data.chatId),this.$store.commit("changeSidecurrentId",t.data.data.chatId),this.$store.commit("changenewSession",!0))})},chooseAgentid(t){this.agentId=[t.id],""!=this.agentId?this.agentName=t.name:this.agentName="职教一问",this.visible=!1,this.addAiKnowConversation("新的对话",this.agentName)},chooseChat(t){this.$store.commit("changeChatshow",!0),this.inputShow=!0,this.messageListData=[],this.userInput=t.content,this.sendMessage()},sendMessage(){this.$store.commit("changeChatshow",!0),this.$nextTick(()=>{this.$refs.chat.userInput=this.userInput,this.$refs.chat.sendMessage(),this.userInput=""})},getSideToData(t){Object(c["getSideToData"])({chatId:t}).then(t=>{200==t.data.code&&(this.sideCurrentName=t.data.data.chatName,this.$store.commit("changeAgentid",t.data.data.chatMajorId),null!=t.data.data.contents&&(this.messageListData=t.data.data.contents,this.messageListData.forEach(t=>{null!=t.content&&(t.content=t.content.replace(/\n+/g,"<br>"))})),this.getAllMajor())})},firstPageEntry(t){this.getSideDataArr(1),this.$store.commit("changeSidecurrentId",t.chatId)},editHuiHuaName(t,e){Object(c["editHuiHuaName"])({chatId:t,chatName:e}).then(t=>{200==t.data.code&&(this.sideCurrentName=t.data.chatName,this.getSideDataArr(1))})},getInfo(){let t=m.a.get("token");t?this.$store.dispatch("passLogin",t).then(t=>{200===t.data.code?(m.a.set("AiToken",t.data.data.token),m.a.get("AiToken")&&(this.getSideDataArr(1),this.getAllMajor())):(document.cookie="token=;expires=Thu,01 Jan 1970 00:00:00 UTC;=.icve.com.cn;path=/;",document.cookie="AiToken=;expires=Thu,01 Jan 1970 00:00:00 UTC;path=/;")}).catch(()=>{document.cookie="token=;expires=Thu,01 Jan 1970 00:00:00 UTC;=.icve.com.cn;path=/;",document.cookie="AiToken=;expires=Thu,01 Jan 1970 00:00:00 UTC;path=/;"}):(document.cookie="token=;expires=Thu,01 Jan 1970 00:00:00 UTC;=.icve.com.cn;path=/;",document.cookie="AiToken=;expires=Thu,01 Jan 1970 00:00:00 UTC;path=/;")},getSideDataArr(t){Object(c["getSideDataArr"])({chatType:t,title:this.$store.state.inputValue}).then(t=>{this.$store.commit("changeDialogue",t.data.data)})},getAllMajor(){this.$api.getAllMajor({maiorType:!0,isDoc:!0}).then(t=>{200===t.data.code&&(this.agentArr=t.data.data,this.$store.commit("changeMajor",t.data.data),""!==this.$store.state.agentId?this.agentArr.forEach(t=>{t.id==this.$store.state.agentId&&(this.agentName=t.name,this.agentId=[],this.agentId.push(t.id))}):this.agentName="职教一问")})}},created(){r.map((t,e)=>{const a=Math.floor(e/3);this.hotArray[a]||(this.hotArray[a]=[]),this.hotArray[a].push(t)}),m.a.get("AiToken")?(this.getSideDataArr(1),this.getAllMajor()):this.getInfo()},beforeDestroy(){this.$store.commit("changeChatshow",!1)},mounted(){null!=this.$store.state.agentId&&(this.agentId=[],this.agentId.push(this.$store.state.agentId))}},u=g,p=(a("05e3"),a("e253"),a("2877")),f=Object(p["a"])(u,s,i,!1,null,"17a35dcf",null);e["default"]=f.exports}}]);
@@ -1 +0,0 @@
1
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-1017c38b"],{"0a82":function(t,e,s){t.exports=s.p+"static/img/report.1d8a13b4.png"},"0ef3":function(t,e,s){},1689:function(t,e,s){"use strict";s("411d")},2053:function(t,e,s){},"2bc6":function(t,e,s){t.exports=s.p+"static/img/zjywLogo.c55aaa3f.png"},"411d":function(t,e,s){},4404:function(t,e,s){},"53f1":function(t,e,s){"use strict";s("2053")},"5a7d":function(t,e,s){"use strict";s.r(e);var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"contents"},[e("div",{directives:[{name:"show",rawName:"v-show",value:"true"==t.isBlowUp,expression:"isBlowUp == 'true'"}],ref:"aiBox",staticClass:"aiBox",style:`top:${t.elTop2}px;`,attrs:{draggable:"true",id:"aiBox"},on:{dragstart:function(e){return t.dragstart2(e)},dragend:function(e){return t.dragend2(e)}}},[e("div",{staticClass:"img",on:{click:t.changeShow}},[e("img",{staticStyle:{"pointer-events":"none"},attrs:{id:"gif",src:s("2bc6"),alt:""}})])]),e("div",{directives:[{name:"show",rawName:"v-show",value:"false"==t.isBlowUp,expression:"isBlowUp == 'false'"}],staticClass:"blowUpcontent",style:`right:${t.blowRight}px;top:${t.blowTop}px`},[e("div",{staticClass:"blowUp",on:{click:t.changeBlowup1}},[e("svg-icon",{attrs:{"icon-class":"blowUp"}})],1),e("div",{staticClass:"blowUp-title"},[t._v("职教一问")])]),e("el-dialog",{attrs:{visible:t.beforeLogInDialog,"custom-class":"beforeLogIn"},on:{"update:visible":function(e){t.beforeLogInDialog=e}}},[e("div",{staticClass:"message"},[e("div",{staticClass:"shuziPeople"},[e("div",{staticClass:"img"},[e("img",{attrs:{src:s("fad1"),alt:""}})])]),e("Chat")],1)]),e("div",{directives:[{name:"show",rawName:"v-show",value:t.isLogin&&0==t.fullScreen,expression:"isLogin && fullScreen == false"}],staticClass:"afterLogIn",style:`right:${t.elRight}px;top:${t.elTop}px`,attrs:{draggable:"true"},on:{dragstart:function(e){return t.dragstart(e)},dragend:function(e){return t.dragend(e)}}},[e("div",{staticClass:"title"},[e("div",{staticClass:"left"},[e("div",{attrs:{calss:"biaoti"}},[t._v("数字助手")]),e("div",{staticClass:"duihua"},[t._v("当前对话:"+t._s(this.sideCurrentName))])]),e("div",{staticClass:"right"},[e("div",{on:{click:t.closeDialog}},[e("svg-icon",{attrs:{"icon-class":"whitearrow"}})],1),e("div",{class:t.stop?"":"stop",on:{click:t.changefullScreen}},[e("svg-icon",{attrs:{"icon-class":"whiteFullscreen"}})],1)])]),e("dialogBox",{ref:"loginChat",attrs:{firstChatShow:t.firstChatShow,messageListData:t.messageListData,activeName:t.activeName,stop:t.stop,sideCurrentName:t.sideCurrentName,sideCurrentId:t.sideCurrentId,userId:t.userId},on:{editHuiHuaName:t.editHuiHuaName,scrollToBottom:t.scrollToBottom,firstPageEntry:t.firstPageEntry}})],1)],1)},a=[],n=(s("14d9"),function(){var t=this,e=t._self._c;return e("div",{staticClass:"chat_window"},[e("div",{staticClass:"conWindow"},[e("div",{ref:"recordListRef",staticClass:"messageBox"},[e("ul",{staticClass:"messages"},t._l(t.messages,(function(s,i){return e("li",{key:i,staticClass:"list",class:s.isUser?"user_message":"replay_message"},[e("div",{staticClass:"chatFrame"},[e("div",{staticClass:"messageText",domProps:{innerHTML:t._s(s.text)}})])])})),0)]),0==t.clickCount?e("div",{staticClass:"example"},t._l(t.example,(function(s){return e("div",{key:s.id,staticClass:"list",on:{click:function(e){return t.changeUserinput(s.content)}}},[t._v(" "+t._s(s.content)+" ")])})),0):t._e(),e("div",{staticClass:"input"},[e("el-input",{ref:"input",attrs:{onfocus:"this.placeholder=''",onblur:"this.placeholder= '输入你的问题'",placeholder:t.VoiceShow?"输入你的问题":"语音功能开发中",disabled:!t.VoiceShow},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.sendMessage()}},scopedSlots:t._u([{key:"prefix",fn:function(){return[t.VoiceShow?e("div",{attrs:{id:"yuying"},on:{click:t.changeVoice}},[e("svg-icon",{attrs:{"icon-class":"voice1"}})],1):e("div",{attrs:{id:"yuying"},on:{click:t.changeVoice}},[e("svg-icon",{attrs:{"icon-class":"voice2"}})],1)]},proxy:!0},{key:"suffix",fn:function(){return[e("div",{attrs:{id:"send"},on:{click:function(e){return t.sendMessage()}}},[e("img",{attrs:{src:s("c014"),alt:""}})])]},proxy:!0}]),model:{value:t.userInput,callback:function(e){t.userInput=e},expression:"userInput"}})],1)])])}),r=[],o={name:"chat",data(){return{messages:[],userInput:"",returnText:null,tempAnswerStatus:0,VoiceShow:!0,clickCount:0,messageList:[{role:"user",chatType:1,userType:"10",content:"合肥"}],webSocketObject:null,userId:"",chatId:"",stop:!0,example:[{id:1,content:"请介绍下职教云"},{id:2,content:"电子信息与装备制造类课程"},{id:3,content:"资源环境与安全类课程"}]}},created(){this.userId=this.getUrlCode("userId")},mounted(){this.messages.push({text:"<p>您好,我是AI助手,请问有什么可以帮您?</p><p>您可以尝试问我:</p><p class='objectives' style=\"color:#58b6eb;cursor: pointer;\">为一门课程制定详细的教学目标</p><p style=\"color:#58b6eb;cursor: pointer;\" class='scheme'>为班级制定一份提高学习积极性的激励方案</p>",isUser:!1}),this.$nextTick(()=>{this.$nextTick(()=>{const t=function(t){"objectives"==t.target.className?(this.userInput="为一门课程制定详细的教学目标",this.$refs.input.focus()):"scheme"==t.target.className&&(this.userInput="为班级制定一份提高学习积极性的激励方案",this.$refs.input.focus())}.bind(this);document.querySelector(".messageText").addEventListener("click",t)})}),this.webSocketInit()},methods:{changeUserinput(t){this.userInput=t,this.$refs.input.focus()},getUrlCode(t){return decodeURIComponent((new RegExp("[?|&]"+t+"=([^&;]+?)(&|#|;|$)").exec(location.href)||[,""])[1].replace(/\+/g,"%20"))||null},webSocketInit(){const t="wss://zjyw.icve.com.cn/websocket/xh?token="+this.userId;this.webSocketObject=new WebSocket(t),this.webSocketObject.onopen=this.webSocketOnOpen,this.webSocketObject.onmessage=this.webSocketOnMessage,this.webSocketObject.onerror=this.webSocketOnError,this.webSocketObject.onclose=this.webSocketOnClose},webSocketOnOpen(t){},webSocketOnMessage(t){const e=JSON.parse(t.data);if(this.waitAnswer&&(this.chatId=e.data.chatId),200!==e.code)return this.waitAnswer=!1,this.stop=!0,void alert(e.message);this.waitAnswer?(this.returnText=e.data.content,this.tempAnswerStatus=e.data.status,this.waitAnswer=!1,this.replyMessage(),this.startRenderAnswer()):(this.returnText+=e.data.content,this.tempAnswerStatus=e.data.status)},webSocketOnError(t){},webSocketOnClose(t){this.stop=!0},sendMessage(){if(this.stop&&""!==this.userInput.trim()){if(!(this.clickCount<3))return this.$message({message:"请登录您的账号,获取更多资讯信息",type:"warning"}),void(this.userInput="");{this.messages.push({text:this.userInput,isUser:!0}),this.scrollToBottom(),this.clickCount++;const t=this.userInput;this.webSocketObject.send(JSON.stringify({messageList:[{role:"user",chatType:1,userType:"100",content:t,chatId:this.chatId}]})),this.waitAnswer=!0,this.stop=!1,this.userInput=""}}},async startRenderAnswer(){while(null!=this.returnText){if(this.returnText){let t=this.returnText.charAt(0);t=t.replace(/\n+/g,"<br>"),this.returnText=this.returnText.substring(1),this.messages[this.messages.length-1].text+=t,this.messages[this.messages.length-1].text=this.messages[this.messages.length-1].text.replace(/(<br>)+/g,"<br>"),this.scrollToBottom()}else 2===this.tempAnswerStatus&&(this.returnText=null,this.tempAnswerStatus=0,this.webSocketOnClose());await this.simulateThreadWait(30)}},simulateThreadWait(t){return new Promise(e=>setTimeout(e,t))},scrollToBottom(){this.$nextTick(()=>{this.$refs.recordListRef.scrollTop=this.$refs.recordListRef.scrollHeight})},replyMessage(){this.messages.push({text:"",isUser:!1})},changeVoice(){this.VoiceShow=!this.VoiceShow}},watch:{messages(){this.$nextTick(()=>{var t=document.getElementsByClassName("messageBox")[0];t.scrollTop=t.scrollHeight})}}},c=o,h=(s("93e9"),s("2877")),l=Object(h["a"])(c,n,r,!1,null,"e4ba1998",null),u=l.exports,d=function(){var t=this,e=t._self._c;return e("div",{staticClass:"chat_window"},[e("div",{staticClass:"conWindow"},[e("div",{ref:"recordListRef",staticClass:"messageBox"},[e("ul",{staticClass:"messages"},t._l(t.messageListData,(function(i,a){return e("li",{key:a,staticClass:"list",class:"user"==i.role?"user_message":"replay_message"},[e("div",{staticClass:"chatFrame"},[e("div",{staticClass:"img"},["user"==i.role?e("img",{attrs:{src:s("ba97"),alt:""}}):e("img",{attrs:{src:s("0a82"),alt:""}})]),e("div",{staticClass:"text",domProps:{innerHTML:t._s(i.content)}})])])})),0)]),e("div",{staticClass:"input"},[e("el-input",{attrs:{placeholder:t.VoiceShow?"输入你的问题":"语音功能开发中",disabled:!t.VoiceShow},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.sendMessage()}},scopedSlots:t._u([{key:"prefix",fn:function(){return[t.VoiceShow?e("div",{attrs:{id:"yuying"},on:{click:t.changeVoice}},[e("svg-icon",{attrs:{"icon-class":"voice1"}})],1):e("div",{attrs:{id:"yuying"},on:{click:t.changeVoice}},[e("svg-icon",{attrs:{"icon-class":"voice2"}})],1)]},proxy:!0},{key:"suffix",fn:function(){return[e("div",{attrs:{id:"send"},on:{click:function(e){return t.sendMessage()}}},[e("svg-icon",{attrs:{"icon-class":"send"}})],1)]},proxy:!0}]),model:{value:t.userInput,callback:function(e){t.userInput=e},expression:"userInput"}})],1)])])},p=[],g={name:"loginChat",props:{activeName:{type:String},sideCurrentId:{type:String},messageListData:{type:Array},firstChatShow:{type:Boolean}},data(){return{userInput:"",returnText:"",VoiceShow:!0,tempAnswerStatus:0,returnObj:{},userId:"",chatId:"",waitAnswer:!1,currentChatId:""}},created(){this.userId=this.getUrlCode("userId")},mounted(){},methods:{getUrlCode(t){return decodeURIComponent((new RegExp("[?|&]"+t+"=([^&;]+?)(&|#|;|$)").exec(location.href)||[,""])[1].replace(/\+/g,"%20"))||null},sendMessage(){""!==this.userInput.trim()&&(this.$parent.messageListData.push({content:this.userInput,role:"user"}),"新的对话"==this.sideCurrentName&&this.$emit("editHuiHuaName",this.sideCurrentId,this.userInput),this.init(),this.waitAnswer=!0)},replyMessage(){this.$parent.messageListData.push({content:"",role:"assistant"})},getChatData(){this.$api.getChatData({userId:this.userId,chatId:this.chatId,role:"",question:this.userInput,chatType:1}).then(t=>{200==t.status&&(this.returnText=t.data.data.content,this.returnObj=t.data.data,this.replyMessage(),this.chatId=t.data.data.chatId,this.$emit("firstPageEntry",t.data.data))})},getPersonHelperChatData(){this.$api.getChatData({userId:this.userId,chatId:"",role:"",question:this.userInput,chatType:2}).then(t=>{200==t.status&&(this.returnText=t.data.data.content,this.returnObj=t.data.data,this.replyMessage(),this.$emit("firstPageEntry",t.data.data))})},init:function(){"undefined"===typeof WebSocket?alert("您的浏览器不支持socket"):(this.socket=new WebSocket("wss://zjyw.icve.com.cn/websocket/xh?token="+this.userId),this.socket.onopen=this.open,this.socket.onerror=this.error,this.socket.onmessage=this.getMessage)},open:function(){this.send(JSON.stringify({messageList:[{userId:this.userId,chatId:this.chatId,content:this.userInput,role:"user",chatType:1}]})),this.scrollToBottom(),this.userInput=""},error:function(){},getMessage:function(t){const e=JSON.parse(t.data);if(this.waitAnswer&&(this.chatId=e.data.chatId,this.$parent.firstChatShow=!1,this.$emit("firstPageEntry",e.data)),200!==e.code)return this.waitAnswer=!1,void alert(e.message);this.waitAnswer?(this.returnText=e.data.content,this.tempAnswerStatus=e.data.status,this.waitAnswer=!1,this.replyMessage(),this.startRenderAnswer()):(this.returnText+=e.data.content,this.tempAnswerStatus=e.data.status)},send:function(t){this.socket.send(t)},close:function(){this.socket&&this.socket.close()},async startRenderAnswer(){while(null!=this.returnText){if(this.returnText){let t=this.returnText.charAt(0);t=t.replace(/\n+/g,"<br>"),this.returnText=this.returnText.substring(1),this.$parent.messageListData[this.$parent.messageListData.length-1].content+=t,this.$parent.messageListData[this.$parent.messageListData.length-1].content=this.$parent.messageListData[this.$parent.messageListData.length-1].content.replace(/(<br>)+/g,"<br>"),this.scrollToBottom()}else 2===this.tempAnswerStatus&&(this.returnText=null,this.tempAnswerStatus=0,this.close());await this.simulateThreadWait(30)}},simulateThreadWait(t){return new Promise(e=>setTimeout(e,t))},scrollToBottom(){this.$nextTick(()=>{this.$refs.recordListRef.scrollTop=this.$refs.recordListRef.scrollHeight})},changeVoice(){this.VoiceShow=!this.VoiceShow}},watch:{messageListData(){this.$nextTick(()=>{var t=document.getElementsByClassName("messageBox")[0];t.scrollTop=t.scrollHeight})}}},m=g,w=(s("1689"),Object(h["a"])(m,d,p,!1,null,"7a5a742c",null)),f=w.exports,y=function(){var t=this,e=t._self._c;return e("div",{staticClass:"chat_window"},[e("div",{staticClass:"conWindow"},[e("div",{ref:"recordListRef",staticClass:"messageBox"},[e("ul",{staticClass:"messages"},t._l(t.messageListData,(function(i,a){return e("li",{key:a,staticClass:"list",class:"user"==i.role?"user_message":"replay_message"},[e("div",{staticClass:"chatFrame"},[e("div",{staticClass:"img"},["user"==i.role?e("img",{attrs:{src:s("ba97"),alt:""}}):e("img",{attrs:{src:s("0a82"),alt:""}})]),e("div",{staticClass:"text",domProps:{innerHTML:t._s(i.content)}})])])})),0)]),e("div",{staticClass:"input"},[e("el-input",{attrs:{placeholder:t.VoiceShow?"输入你的问题":"语音功能开发中",disabled:!t.VoiceShow},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.sendMessage()}},scopedSlots:t._u([{key:"prefix",fn:function(){return[t.VoiceShow?e("div",{attrs:{id:"yuying"},on:{click:t.changeVoice}},[e("svg-icon",{attrs:{"icon-class":"voice1"}})],1):e("div",{attrs:{id:"yuying"},on:{click:t.changeVoice}},[e("svg-icon",{attrs:{"icon-class":"voice2"}})],1)]},proxy:!0},{key:"suffix",fn:function(){return[e("div",{attrs:{id:"send"},on:{click:function(e){return t.sendMessage()}}},[e("svg-icon",{attrs:{"icon-class":"send"}})],1)]},proxy:!0}]),model:{value:t.userInput,callback:function(e){t.userInput=e},expression:"userInput"}})],1)])])},I=[],v={name:"firstChat",props:{activeName:{type:String},sideCurrentId:{type:String},stop:{type:Boolean}},data(){return{messageListData:[{content:"欢迎使用AI助手:我是AI知道,能帮助您解答各种问题,快试试吧",role:"assistant"}],userInput:"",returnText:"",VoiceShow:!0,tempAnswerStatus:0,returnObj:{},userId:"",chatId:"",waitAnswer:!1,currentChatId:""}},created(){this.userId=this.getUrlCode("userId")},mounted(){this.$bus.$on("spreadQuestion",t=>{this.userInput=t})},methods:{resetProperties(){this.messageListData=[{content:"欢迎使用AI助手:我是AI知道,能帮助您解答各种问题,快试试吧",role:"assistant"}],this.userInput="",this.returnText="",this.VoiceShow=!0,this.tempAnswerStatus=0,this.returnObj={},this.chatId="",this.waitAnswer=!1},getUrlCode(t){return decodeURIComponent((new RegExp("[?|&]"+t+"=([^&;]+?)(&|#|;|$)").exec(location.href)||[,""])[1].replace(/\+/g,"%20"))||null},sendMessage(){this.stop&&""!==this.userInput.trim()&&(this.messageListData.push({content:this.userInput,role:"user"}),this.init(),this.$emit("changeStop",!1),this.waitAnswer=!0)},replyMessage(){this.messageListData.push({content:"",role:"assistant"})},getChatData(){this.$api.getChatData({userId:this.userId,chatId:this.chatId,role:"",question:this.userInput,chatType:1}).then(t=>{200==t.status&&(this.returnText=t.data.data.content,this.returnObj=t.data.data,this.replyMessage(),this.chatId=t.data.data.chatId,this.$emit("firstPageEntry",t.data.data))})},getPersonHelperChatData(){this.$api.getChatData({userId:this.userId,chatId:"",role:"",question:this.userInput,chatType:2}).then(t=>{200==t.status&&(this.returnText=t.data.data.content,this.returnObj=t.data.data,this.replyMessage(),this.$emit("firstPageEntry",t.data.data))})},init:function(){"undefined"===typeof WebSocket?alert("您的浏览器不支持socket"):(this.socket=new WebSocket("wss://zjyw.icve.com.cn/websocket/xh?token="+this.userId),this.socket.onopen=this.open,this.socket.onerror=this.error,this.socket.onmessage=this.getMessage)},open:function(){"first"==this.activeName?(this.send(JSON.stringify({messageList:[{userId:this.userId,chatId:this.chatId,content:this.userInput,role:"user",chatType:1}]})),this.scrollToBottom(),this.userInput=""):(this.send(JSON.stringify({messageList:[{userId:this.userId,chatId:this.chatId,fileId:"",content:this.userInput,role:"user",chatType:2}]})),this.scrollToBottom(),this.userInput="")},error:function(){},getMessage:function(t){const e=JSON.parse(t.data);if(this.waitAnswer&&(this.chatId=e.data.chatId,this.$emit("firstPageEntry",e.data)),200!==e.code)return this.waitAnswer=!1,void alert(e.message);this.waitAnswer?(this.returnText=e.data.content,this.tempAnswerStatus=e.data.status,this.waitAnswer=!1,this.replyMessage(),this.startRenderAnswer()):(this.returnText+=e.data.content,this.tempAnswerStatus=e.data.status)},send:function(t){this.socket.send(t)},close:function(){this.$emit("changeStop",!0),this.socket&&this.socket.close()},async startRenderAnswer(){while(null!=this.returnText){if(this.returnText){let t=this.returnText.charAt(0);t=t.replace(/\n+/g,"<br>"),this.returnText=this.returnText.substring(1),this.messageListData[this.messageListData.length-1].content+=t,this.messageListData[this.messageListData.length-1].content=this.messageListData[this.messageListData.length-1].content.replace(/(<br>)+/g,"<br>"),this.$refs.recordListRef&&this.scrollToBottom()}else 2===this.tempAnswerStatus&&(this.returnText=null,this.tempAnswerStatus=0,this.close());await this.simulateThreadWait(30)}},simulateThreadWait(t){return new Promise(e=>setTimeout(e,t))},scrollToBottom(){this.$nextTick(()=>{this.$refs.recordListRef.scrollTop=this.$refs.recordListRef.scrollHeight})},changeVoice(){this.VoiceShow=!this.VoiceShow}},watch:{messageListData(){this.$nextTick(()=>{var t=document.getElementsByClassName("messageBox")[0];t.scrollTop=t.scrollHeight})}}},k=v,S=(s("6354"),Object(h["a"])(k,y,I,!1,null,"9b51f39e",null)),x=S.exports,C=function(){var t=this,e=t._self._c;return e("div",{staticClass:"contents"},[e("div",{staticClass:"addDia",staticStyle:{flex:"4"}},[e("div",{staticClass:"chat_window"},[e("div",{staticClass:"conWindow"},[e("div",{ref:"recordListRef",staticClass:"messageBox"},[e("ul",{staticClass:"messages"},t._l(t.messageListData,(function(i,a){return e("li",{key:a,staticClass:"list",class:"user"==i.role?"user_message":"replay_message"},[e("div",{staticClass:"chatFrame"},[e("div",{staticClass:"img"},["user"==i.role?e("img",{attrs:{src:s("ba97"),alt:""}}):e("img",{attrs:{src:s("0a82"),alt:""}})]),e("div",{staticClass:"text",domProps:{innerHTML:t._s(i.content)}})])])})),0)]),e("div",{staticClass:"input"},["second"==t.activeName?e("div",{staticStyle:{display:"flex"}},[e("div",{staticClass:"uploadFile",on:{click:t.uploadFile}},[e("svg-icon",{attrs:{"icon-class":"upload"}}),t._v(" 文件上传/文件管理 ")],1)]):t._e(),"first"==t.activeName?e("el-input",{ref:"input",attrs:{onfocus:"this.placeholder=''",onblur:"this.placeholder='输入你的问题'",placeholder:t.VoiceShow?"输入你的问题":"语音功能开发中",disabled:!t.VoiceShow},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.sendMessage()}},scopedSlots:t._u([{key:"prefix",fn:function(){return[t.VoiceShow?e("div",{attrs:{id:"yuyin"},on:{click:t.changeVoice}},[e("svg-icon",{attrs:{"icon-class":"voice1"}})],1):e("div",{attrs:{id:"yuyin"},on:{click:t.changeVoice}},[e("svg-icon",{attrs:{"icon-class":"voice2"}})],1)]},proxy:!0},{key:"suffix",fn:function(){return[e("div",{attrs:{id:"send"},on:{click:function(e){return t.sendMessage()}}},[e("img",{attrs:{src:s("c014"),alt:""}})])]},proxy:!0}],null,!1,1783925110),model:{value:t.userInput,callback:function(e){t.userInput=e},expression:"userInput"}}):t._e(),"second"==t.activeName?e("el-input",{ref:"input",attrs:{onfocus:"this.placeholder=''",onblur:"this.placeholder='请点击【文件上传/文件管理】功能上传文件,开始对话吧'",placeholder:t.VoiceShow?"请点击【文件上传/文件管理】功能上传文件,开始对话吧":"语音功能开发中",disabled:!t.VoiceShow},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.sendMessage()}},scopedSlots:t._u([{key:"prefix",fn:function(){return[t.VoiceShow?e("div",{attrs:{id:"yuyin"},on:{click:t.changeVoice}},[e("svg-icon",{attrs:{"icon-class":"voice1"}})],1):e("div",{attrs:{id:"yuyin"},on:{click:t.changeVoice}},[e("svg-icon",{attrs:{"icon-class":"voice2"}})],1)]},proxy:!0},{key:"suffix",fn:function(){return[e("div",{attrs:{id:"send"},on:{click:function(e){return t.sendMessage()}}},[e("img",{attrs:{src:s("c014"),alt:""}})])]},proxy:!0}],null,!1,1783925110),model:{value:t.userInput,callback:function(e){t.userInput=e},expression:"userInput"}}):t._e()],1)])])])])},T=[],b=(s("4328"),s("a78e")),A=s.n(b),L={name:"APP",props:{firstChatShow:{type:Boolean},messageListData:{type:Array},activeName:{type:String},stop:{type:Boolean},sideCurrentName:{type:String},sideCurrentId:{type:String},fileId:{type:String},enableDoc:{type:Boolean,default:!1}},data(){return{userInput:"",VoiceShow:!0,waitAnswer:!1,returnText:""}},methods:{changeVoice(){this.VoiceShow=!this.VoiceShow},uploadFile(){this.$emit("uploadFile")},init:function(){"undefined"===typeof WebSocket?alert("您的浏览器不支持socket"):(this.socket=new WebSocket("wss://zjyw.icve.com.cn/websocket/xh?token="+A.a.get("AiToken")),this.socket.onopen=this.open,this.socket.onerror=this.error,this.socket.onmessage=this.getMessage)},open:function(){"first"==this.activeName?(this.send(JSON.stringify({messageList:[{chatId:this.sideCurrentId,content:this.userInput,role:"user",chatType:1,enableDoc:this.enableDoc}]})),this.scrollToBottom(),this.userInput=""):(this.send(JSON.stringify({messageList:[{chatId:this.sideCurrentId,fileId:null==this.fileId?"":this.fileId,content:this.userInput,role:"user",chatType:2}]})),this.scrollToBottom(),this.userInput="")},error:function(){},getMessage:function(t){const e=JSON.parse(t.data);if(200!=e.code)return this.waitAnswer=!1,this.$parent.stop=!0,void this.$message({message:e.message,warning:"success"});this.waitAnswer?(this.$parent.firstChatShow=!1,this.$emit("firstPageEntry",e.data),e.data.content&&(this.returnText=e.data.content,this.tempAnswerStatus=e.data.status,this.waitAnswer=!1,this.$parent.replyMessage(),setTimeout(()=>{this.startRenderAnswer()},1e3))):(this.returnText+=e.data.content,this.tempAnswerStatus=e.data.status)},send:function(t){this.socket.send(t)},close:function(){this.$parent.stop=!0,this.returnText=null,this.socket&&this.socket.close()},sendMessage(){if(!this.stop)return this.$message({message:"对话进行中,请稍后重试",type:"warning"});""!==this.userInput.trim()&&(this.$parent.messageListData.push({content:this.userInput,role:"user"}),"新的对话"==this.sideCurrentName&&this.$emit("editHuiHuaName",this.sideCurrentId,this.userInput),this.init(),this.waitAnswer=!0,this.$parent.stop=!1)},async startRenderAnswer(){while(null!=this.returnText){if(this.returnText){let t=this.returnText.charAt(0);t=t.replace(/\n+/g,"<br>"),this.returnText=this.returnText.substring(1),this.$parent.messageListData[this.$parent.messageListData.length-1].content+=t,this.$parent.messageListData[this.$parent.messageListData.length-1].content=this.$parent.messageListData[this.$parent.messageListData.length-1].content.replace(/(<br>)+/g,"<br>"),this.$emit("scrollToBottom")}else 2===this.tempAnswerStatus&&(this.returnText=null,this.tempAnswerStatus=0,this.close());await this.simulateThreadWait(30)}},simulateThreadWait(t){return new Promise(e=>setTimeout(e,t))},scrollToBottom(){this.$nextTick(()=>{this.$refs.recordListRef.scrollTop=this.$refs.recordListRef.scrollHeight})}},created(){},mounted(){},watch:{messageListData(){this.$nextTick(()=>{var t=document.getElementsByClassName("messageBox")[0];t.scrollTop=t.scrollHeight})}}},D=L,$=(s("dd7c"),Object(h["a"])(D,C,T,!1,null,"cef63ccc",null)),B=$.exports,N={name:"index",components:{Chat:u,firstChat:x,dialogBox:B,loginChat:f},data(){return{gifPath:s("f74b"),gifPath2:s("6337"),isBlowUp:A.a.get("isBlowUp")||"true",screeY:0,startclientX:0,startclientY:0,blowTop:200,blowRight:0,startclientX2:0,startclientY2:0,elRight:300,elTop:200,elRight2:40,elTop2:300,elLeft2:0,startTop:0,containerWidth:window.innerWidth,containerHeight:window.innerHeight,elementWidth:200,elementHeight:200,isLogin:!1,innerVisible:!1,beforeLogInDialog:!1,afterLogInDialog:!0,fullScreen:!0,firstChatShow:!0,screex:0,showText:"",messageListData:[{content:"欢迎使用AI助手:我是AI知道,能帮助您解答各种问题,快试试吧",role:"assistant"}],sideDataArr:[],personSideDataArr:[],sideCurrentId:"",sideCurrentName:"",isCollapse:!1,questionShow:!0,websock:"",tempAnswerStatus:0,activeName:"first",currentIndex:0,news:"新的聊天",drawer:!1,dialogVisible:!1,drawerTitle:'<svg t="1702630463665" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="11343" width="40" height="40"><path d="M944.48 552.458667l-182.357333 330.666666a73.792 73.792 0 0 1-64.565334 38.325334h-362.133333a73.792 73.792 0 0 1-64.565333-38.325334l-182.357334-330.666666a75.338667 75.338667 0 0 1 0-72.682667l182.357334-330.666667a73.792 73.792 0 0 1 64.565333-38.325333h362.133333a73.792 73.792 0 0 1 64.565334 38.325333l182.357333 330.666667a75.338667 75.338667 0 0 1 0 72.682667z m-55.989333-31.146667a10.773333 10.773333 0 0 0 0-10.378667l-182.037334-330.666666a10.517333 10.517333 0 0 0-9.205333-5.482667H335.733333a10.517333 10.517333 0 0 0-9.205333 5.482667l-182.037333 330.666666a10.773333 10.773333 0 0 0 0 10.378667l182.037333 330.666667a10.517333 10.517333 0 0 0 9.205333 5.472h361.514667a10.517333 10.517333 0 0 0 9.205333-5.472l182.037334-330.666667zM513.738667 682.666667c-94.261333 0-170.666667-76.405333-170.666667-170.666667s76.405333-170.666667 170.666667-170.666667c94.250667 0 170.666667 76.405333 170.666666 170.666667s-76.416 170.666667-170.666666 170.666667z m0-64c58.912 0 106.666667-47.754667 106.666666-106.666667s-47.754667-106.666667-106.666666-106.666667-106.666667 47.754667-106.666667 106.666667 47.754667 106.666667 106.666667 106.666667z" fill="#555555" p-id="11344"></path></svg><span class=\'setupText\'>模型设置</span>',proTeacherSelectArr:[],dataListShow:!1,historyShow:!1,sideBoxShow:!0,FileDialog:!1,tableData:[],statusStyle:1,statusStyle2:0,statusStyle3:0,listOrUpload:!0,WhetherToDisable:!1,buttonShow:!0,query:{userId:null},showFileList:!1,startTrianShow:!0,successShow:!0,fileObj:{name:"",type:""},changeTrianOrTalk:!0,fileId:"",userId:null,spread:"",stop:!0,currentChatId:"",currentContent:"",manageStatus:2,zhushouContent:" AI Doc是基于AI助手开发的一款文件问答助手,主要功能有:</br> 1.文件提炼总结 - 对您上传的文件进行摘要提炼、内容总结,\n 更高效的获取文件核心内容。</br> 2.对话式问答 - 您可以针对文件提出自己的问题,AI Doc会通过对文件内容的学习来回答您的问题。</br>\n AI Doc能帮助您快速获取文件信息,无需逐句阅读整体文件,帮助您提升阅读效率。现在您可以点击【上传文件/ 文件管理】立即体验。</br>"}},created(){window.microApp&&window.microApp.addDataListener(this.dataListener,!0)},mounted(){this.getInfo()},watch:{firstChatShow:{handler(t,e){t&&(this.userInput="",this.VoiceShow=!0,this.tempAnswerStatus=0,this.returnObj={},this.chatId="",this.sideCurrentId="",this.sideCurrentName="")},immediate:!0,deep:!0}},methods:{editScreenParam(t,e){this.$api.editScreenParam({chatId:t,isFull:e}).then(t=>{})},changeBlowup(){this.isBlowUp="false",A.a.set("isBlowUp",!1)},changeBlowup1(){this.isBlowUp="true",A.a.set("isBlowUp",!0)},dataListener(t){window.__MICRO_APP_ENVIRONMENT__&&""!==t.manageStatus&&(this.manageStatus=t.manageStatus)},async getScreenParam(){await this.$api.getScreenParam().then(t=>{200==t.data.code&&(this.fullScreen=t.data.data.isFull,this.sideCurrentId=t.data.data.chatId,"001"!==this.sideCurrentId&&this.getSideToData(this.sideCurrentId))})},replyMessage(){this.messageListData.push({content:"",role:"assistant"})},getCookieValue(t){let e=document.cookie.split(";").map(t=>t.split("=")).filter(e=>e[0].trim()===t);if(e&&e.length>0)return e[0][1]},getInfo(){A.a.set("token","6f60a263-d304-471e-8f17-0125fd572fd5");let t=this.getCookieValue("token");t?this.$store.dispatch("passLogin",t).then(t=>{200==t.data.code?A.a.set("AiToken",t.data.data.token):(document.cookie="token=;expires=Thu,01 Jan 1970 00:00:00 UTC;=.icve.com.cn;path=/;",document.cookie="AiToken=;expires=Thu,01 Jan 1970 00:00:00 UTC;path=/;")}).catch(()=>{document.cookie="token=;expires=Thu,01 Jan 1970 00:00:00 UTC;=.icve.com.cn;path=/;",document.cookie="AiToken=;expires=Thu,01 Jan 1970 00:00:00 UTC;path=/;"}):(document.cookie="token=;expires=Thu,01 Jan 1970 00:00:00 UTC;=.icve.com.cn;path=/;",document.cookie="AiToken=;expires=Thu,01 Jan 1970 00:00:00 UTC;path=/;")},handleStorageEvent(t){"currentName"===t.key&&(""!==this.sideCurrentId?this.sideCurrentName=t.newValue:this.sideCurrentName="新的对话")},dragstart(t){this.startclientX=t.clientX,this.startclientY=t.clientY},dragend(t){let e=t.clientX-this.startclientX,s=t.clientY-this.startclientY;this.elRight-=e,this.elTop+=s},dragstart2(t){this.startclientX2=t.clientX,this.startclientY2=t.clientY,this.screex=t.screenX,this.screeY=t.screenY,this.startTop=t.target.getBoundingClientRect().top},dragend2(t){t.clientX,this.startclientX2,t.clientY,this.startclientY2;this.screex>300?t.clientX<this.startclientX2/2?this.elRight2=this.containerWidth-200:this.elRight2=40:t.clientX>this.containerWidth/2?this.elRight2=40:this.elRight2=this.containerWidth-200,t.pageY+200>window.innerHeight?this.elTop2=window.innerHeight-280:this.elTop2=t.clientY},scrollToBottom(){this.$refs.loginChat&&this.$refs.loginChat.scrollToBottom()},changefullScreen(){if(!this.stop)return;this.isLogin=!1;const t=window.open("https://zjyw.icve.com.cn/#/loginPage","_blank");let e;e=setInterval(async()=>{t.closed&&(this.fullScreen=!0,this.isLogin=!0,await this.getScreenParam(),clearInterval(e))},100)},closeDialog(){this.isLogin=!1},changeStop(t){this.stop=t},appear(t){const e=this;t=t.replace(/\/n/g,"<br/>"),this.showText="",clearTimeout(this.timer);var s=80,i=1;function a(){e.showText=t.substring(0,i),i++,i!=t.length+1&&(s-=1,s<5&&(s=5),e.timer=setTimeout(a,s))}a()},async changeShow(){if(A.a.get("AiToken")&&this.getCookieValue("token"))if(this.fullScreen&&2==this.manageStatus){const t=window.open("https://zjyw.icve.com.cn/#/loginPage","_blank");let e;e=setInterval(async()=>{t.closed&&(this.fullScreen=!0,this.isLogin=!0,clearInterval(e))},100)}else 2!=this.manageStatus&&this.$message({message:"当前功能只针对正式版用户开放",type:"warning"});else this.$message({message:"未登录,请重新登录",type:"warning"})},firstPageEntry(t){"first"==this.activeName&&this.getSideDataArr(1),this.sideCurrentId=t.chatId},getSideDataArr(t){this.$api.geSideDataArr({chatType:t}).then(t=>{200==t.status&&(this.sideDataArr=t.data.data,this.firstChatShow||""!=this.sideCurrentName?""==this.sideCurrentName&&(this.sideCurrentName="新的对话"):this.sideCurrentName=t.data.data[0].chatName)})},editHuiHuaName(t,e){this.$api.editHuiHuaName({chatId:t,chatName:e}).then(t=>{200==t.status&&(this.sideCurrentName=t.data.data.chatName,"first"==this.activeName?this.getSideDataArr(1):this.getPersonHelperSideDataArr(2))})},async getSideToData(t){await this.$api.getSideToData({chatId:t}).then(t=>{200==t.data.code&&(this.messageListData=t.data.data.contents,this.sideCurrentName=t.data.data.chatName,""!==t.data.data.contents&&null!==t.data.data.contents&&this.messageListData.forEach(t=>{t.content=t.content.replace(/\n+/g,"<br>")}))})}},destroyed(){window.microApp&&window.microApp.removeDataListener(this.dataListener)}},O=N,_=(s("53f1"),Object(h["a"])(O,i,a,!1,null,"4b11f72c",null));e["default"]=_.exports},6337:function(t,e,s){t.exports=s.p+"static/img/dongqilai.712e94ae.gif"},6354:function(t,e,s){"use strict";s("4404")},"93e9":function(t,e,s){"use strict";s("0ef3")},afef:function(t,e,s){},ba97:function(t,e,s){t.exports=s.p+"static/img/user.5dce8aa5.png"},c014:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAATNJREFUOE+tlK1OQ0EQhb8THKH8vAjBE54DxwsgsAQBivAS0FBBQbQGUXQJmh+PR4AAhYFMc5p7yba0l225Yzb3ZvfbmTlnR9QcqpmHIuIQuJb0WAfcwBawA9wDp8ClpPd54QZuA1cJ4BPoAGeS+rOCDVwF3oCFCYefDQZakl5y4ENRIuIW2Ko48AX0ipbcSPL3xCiB+8BJTgaAMz0HmpJcwUiUwHXgKRNYbgvAPXZLupLce358GBG7gPu5DDT+WBfHLrcr2m5JCtwDVoClApiu4/98aSriB3AxdEYhygbwMGPJ3l6W3BkpOSIOgONMoEXxY7BPp4pyB2xWAL8T2/QqbRMRa8BrhbGbtkm2sac8vW5hh74k2yM70uFgUTwc2v8dDkfF+JpH5V+Z1z9gs5uTuXEADqpucr2KHBkAAAAASUVORK5CYII="},dd7c:function(t,e,s){"use strict";s("afef")},f74b:function(t,e,s){t.exports=s.p+"static/img/zhayan.c018580c.gif"},fad1:function(t,e,s){t.exports=s.p+"static/img/people.fe3487b8.png"}}]);
@@ -1 +0,0 @@
1
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-14486df2"],{"137f":function(t,s,a){"use strict";a.r(s);var e=function(){var t=this,s=t._self._c;return s("div",{staticClass:"content-share"},[s("div",{staticClass:"w1200-auto"},[s("div",{staticClass:"origin"},[t._v(t._s(t.createByName)+"分享的对话内容")]),s("div",{staticClass:"line"}),s("div",{staticClass:"contents"},[s("div",{staticClass:"addDia"},[s("div",{staticClass:"chat_window"},[s("div",{staticClass:"conWindow"},[s("div",{ref:"recordListRef",staticClass:"messageBox"},[s("ul",{staticClass:"messages"},t._l(t.messageListData,(function(e,i){return s("div",{key:i,staticStyle:{"margin-top":"3px"}},[s("li",{staticClass:"list",class:"user"==e.role?"user_message":"replay_message"},[s("div",{staticClass:"chatFrame"},[s("div",{staticClass:"img"},["user"==e.role?s("img",{attrs:{id:"user",src:a("ba97"),alt:""}}):s("img",{attrs:{id:"gif",src:t.gifPath,alt:""}})]),s("div",{staticClass:"text",domProps:{innerHTML:t._s(e.content)}})])])])})),0)])])])])]),s("div",{staticClass:"button-wxyy",on:{click:t.zjy}},[t._v("前往职教一问")])])])},i=[],c=a("f13a"),n={data(){return{messageListData:[],shareId:this.$route.params.shareId,createByName:"",gifPath:a("f74b")}},methods:{zjy(){window.open("https://zjy2.icve.com.cn/index","_blank")}},created(){Object(c["getShareInfo"])({shareId:this.shareId}).then(t=>{this.messageListData=t.data.data.contents,this.createByName=t.data.data.createByName})}},r=n,d=(a("dbc6"),a("2877")),o=Object(d["a"])(r,e,i,!1,null,"aef43464",null);s["default"]=o.exports},"3dbd":function(t,s,a){},ba97:function(t,s,a){t.exports=a.p+"static/img/user.5dce8aa5.png"},dbc6:function(t,s,a){"use strict";a("3dbd")},f74b:function(t,s,a){t.exports=a.p+"static/img/zhayan.c018580c.gif"}}]);
@@ -1 +0,0 @@
1
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-50ed24be"],{"0905":function(t,e,s){t.exports=s.p+"static/img/2.d0763a02.svg"},"0a0d":function(t,e,s){t.exports=s.p+"static/img/more-stroke.74ae9863.png"},"0b19":function(t,e,s){t.exports=s.p+"static/img/major-art.038427a4.png"},"0b91":function(t,e,s){t.exports=s.p+"static/img/5.d7943ab3.svg"},1438:function(t,e,s){t.exports=s.p+"static/img/11.e706123f.svg"},"1cff":function(t,e,s){t.exports=s.p+"static/img/dengpao.ca465f52.png"},"2e2a":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAfVJREFUOE+t1D9o00EUB/DvuxiohiAiIgR0ExEUBwUnQdviKHZyEx28d0IMhIoODo0OjsEhJPeSJg4iSkTROuiiky5CnVzUqSIk/olUHdJfEvNsOoT4p01Meuvdfe7u3feOsM6Nej0R2aSqE8aYyP+so6pLlUrlSSqVWuqC6XR6YyQSmQewE8D3AcAxAJsBfAQQVdXbzjnbBfP5/PF2u32rXq/vSCaTi/1AETkB4AYzbxGRGSI6Yq092gW991eIaJyZD/fDOv19QRF5COA9M59fL3BBVa8654ojg5lMZms4HP4M4CAzvxoZ9N5PENHjIAiiiUQiGBkUkWkAp5h5/yBY30sRkZsAfjLz6UHAcrkcqtVq08aYGVU9R0RTRBSx1h5biY2I3APwg5nPANC10Gw2uzsUCj0AsIuIPqgqOi/FGHPRWju3AuZyuXFjzCNVHSOiv0BVnXfOHSoWi9FWq/WGiF50dsbMX/5cvBvsUqm0rdls7l2OjukdRESXAXxj5inv/SUi4iAI9qx2eb99Dv86qoi8BjDLzNe993eJaJGZz65WlkHAT0SUsNbeEZE5AG+Z+cLQoPf+KYCv1Wr1ZCwWe6mq95n52tDgcgL2AXgGIARgg6oecM69GxrsTCwUCttVdbLRaDyPx+MLa8Wqbw0HCXrvmF8PNgAkMWdcfQAAAABJRU5ErkJggg=="},4741:function(t,e,s){t.exports=s.p+"static/img/money-round-stroke.ee9436d7.png"},"4d29":function(t,e,s){t.exports=s.p+"static/img/major-chemistry.cf86f0b0.png"},5228:function(t,e,s){t.exports=s.p+"static/img/1.d7943ab3.svg"},5470:function(t,e,s){t.exports=s.p+"static/img/set-stroke.c4e498bb.png"},"69f4":function(t,e,s){t.exports=s.p+"static/img/10.0d977081.svg"},"72d6":function(t,e,s){t.exports=s.p+"static/img/15.d0763a02.svg"},7405:function(t,e,s){t.exports=s.p+"static/img/6.7c1a3fa6.svg"},"743c":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAeZJREFUOE+t1D9oU1EUx/HvLy9omxJEpHRRN6lC2+RRwUnQVhzFDuImKloJ70WQig4dig7OQt8bFMWCiIIoWgdddNJFqO9RXKwOKi7+QaKNEK3NsekQ45+Y2PSu99zP4Z5z7hXLvFTr9Q9bam4lg06Zjv/JY6JUKHLv5YRKVXDtMWvv/MYUYj3wuSFotJlYJXhrkAauxoGGq6Dr2y6DKxRZF0+o0AjM+rZbcCkKtDrr25hgWxRoexXMeHZKMBCH2toIq+w3BF3fbgOvo0D55QJfAaejQBdbBjd6tqZdvJ83Nk+HetIy6Ho2iLg7K9IvxvW1dTBvI5TZF4XKNIM1bErWt8vAfBxof1PgHnOyXYwIxhA5M4YEHVGgnYtj4/p2w2A2DjgAsn+hfTnrdhxuYWxAvKnEmlEqixPTgSYXwT7fBhy4Y9C2kPUP0GAqDrSl+6ClUymeYTz6Mkdu5rw+/J7850vJW2d5np6ESNQGGYwiPsWBhjKenZQ4UhSb6jXvl8/hb1d1fXtqxoU41FnXs+sGhTjU4XplaQZ8h3E0CnXN9WwSmIlCHW8FvL8AfoxC9roejy3BzXhcZ5YM9vrWmzQeGDhAku/0x+f0fMlg5WDPIetKrmCHxMMoVOXN110Na9jUoNcE/QB9vuIV8eG2oQAAAABJRU5ErkJggg=="},"76a2":function(t,e,s){t.exports=s.p+"static/img/major-car.95e29dda.png"},7720:function(t,e,s){t.exports=s.p+"static/img/major-equipment.125cfe04.png"},"828f":function(t,e,s){t.exports=s.p+"static/img/wodexuexiao.c7746992.png"},"84ac":function(t,e,s){t.exports=s.p+"static/img/major-law.a2d1b745.png"},8791:function(t,e,s){t.exports=s.p+"static/img/14.96b60a4d.svg"},"912a":function(t,e,s){t.exports=s.p+"static/img/major-course.73cfde3d.png"},"9f63":function(t,e,s){t.exports=s.p+"static/img/9.0d977081.svg"},abfa:function(t,e,s){t.exports=s.p+"static/img/major-build.2584e41e.png"},ace6:function(t,e,s){t.exports=s.p+"static/img/7.de32d16b.svg"},b3cc:function(t,e,s){t.exports=s.p+"static/img/major-food.e49f5d14.png"},b3ce:function(t,e,s){t.exports=s.p+"static/img/8.923e4a7d.svg"},b4c0:function(t,e,s){t.exports=s.p+"static/img/18.d7943ab3.svg"},b572:function(t,e,s){t.exports=s.p+"static/img/major-energy.17da75b9.png"},b92b:function(t,e,s){t.exports=s.p+"static/img/13.de32d16b.svg"},bab8:function(t,e,s){t.exports=s.p+"static/img/major-news.936832bb.png"},cadb:function(t,e,s){t.exports=s.p+"static/img/17.6dcda471.svg"},ccd6:function(t,e,s){t.exports=s.p+"static/img/16.7c1a3fa6.svg"},d8bc:function(t,e,s){t.exports=s.p+"static/img/major-clothes.a38fcb95.png"},d986:function(t,e,s){t.exports=s.p+"static/img/major-medicine.f264ece0.png"},dcda:function(t,e,s){t.exports=s.p+"static/img/major-beach.5b0d4c98.png"},e99e:function(t,e,s){"use strict";s("fef6")},edd3:function(t,e,s){t.exports=s.p+"static/img/3.96b60a4d.svg"},ef18:function(t,e,s){"use strict";s.r(e);var a=function(){var t=this,e=t._self._c;return e("div",{staticClass:"intelligence-part"},[e("div",{staticClass:"ai-part-bg"}),t.chatShow?t._e():e("div",{staticClass:"current-content"},[t._m(0),e("div",{staticClass:"agent-content"},t._l(t.proTeacherSelectArr,(function(a,i){return e("div",{key:i,staticClass:"agent-outer-list"},[e("p",{staticClass:"agent-title"},[t._v(t._s(a.name))]),e("div",{staticClass:"agent-list-content",class:{"hot-top":"热门智能体"===a.name}},t._l(a.list,(function(a,n){return e("div",{key:a.id,staticClass:"agent-list",on:{click:function(e){return t.addPushDuiHua(a.name,a.id,a.isDoc)}}},[e("div",{staticClass:"image-wrap",style:{background:`url(${s("f080")(`./${3*i+n+1}.svg`)})`}},[e("img",{staticStyle:{width:"40px",height:"40px"},attrs:{src:t.getImage(a.name),alt:""}})]),e("div",{staticClass:"agent-list-info"},[e("p",{staticClass:"agent-list-title"},[t._v(t._s(a.name))]),e("p",{staticClass:"agent-list-des"},[t._v(t._s(a.content))]),e("div",{staticClass:"hot"},[e("img",{staticClass:"hot-image",attrs:{src:s("f122"),alt:""}}),e("span",[t._v(t._s(a.heat))])])])])})),0)])})),0)]),e("transition",{attrs:{name:"el-zoom-in-top"}},[t.chatShow?e("div",{staticClass:"current-content"},[e("div",{staticClass:"chat"},[e("Chat",{ref:"chat",attrs:{sideCurrentId:t.sideCurrentId,sideCurrentName:t.sideCurrentName,messageListData:t.messageListData,stop:t.stop,chatType:1},on:{editHuiHuaName:t.editHuiHuaName,scrollToBottom:t.scrollToBottom,shareConversion:t.shareConversion}})],1),t.inputShow?e("div",{staticClass:"search-part"},[e("el-input",{ref:"input",attrs:{type:"textarea",rows:3,placeholder:t.placeholder},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.sendMessage.apply(null,arguments)}},model:{value:t.userInput,callback:function(e){t.userInput=e},expression:"userInput"}}),e("div",{staticClass:"send",attrs:{slot:"suffix"},on:{click:t.sendMessage},slot:"suffix"})],1):t._e()]):t._e()]),e("foot")],1)},i=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"title"},[e("p",{staticClass:"main-title"},[t._v("智能体广场")]),e("p",{staticClass:"des-title"},[t._v("基于300余万条职教优质数字资源,智慧职教精心构筑全部19个专业大类智能体矩阵。")])])}],n=(s("14d9"),s("b656")),o=s("a78e"),r=s.n(o),c=s("b163"),d=s("f13a"),g=s("0b16"),h=s("0a0d"),p=s.n(h),u=s("4741"),l=s.n(u),m=s("1cff"),f=s.n(m),A=s("5470"),v=s.n(A),b=s("abfa"),C=s.n(b),x=s("912a"),w=s.n(x),S=s("d986"),I=s.n(S),D=s("b572"),k=s.n(D),N=s("d8bc"),j=s.n(N),T=s("7720"),U=s.n(T),y=s("dcda"),B=s.n(y),E=s("0b19"),R=s.n(E),M=s("84ac"),L=s.n(M),O=s("b3cc"),H=s.n(O),J=s("bab8"),Q=s.n(J),X=s("fe59"),V=s.n(X),P=s("76a2"),$=s.n(P),W=s("4d29"),Y=s.n(W),G=s("828f"),z=s.n(G);const q={"财经商贸大类智能体":l.a,"电子与信息大类智能体":f.a,"装备制造大类智能体":v.a,"土木建筑大类智能体":C.a,"资源环境与安全大类智能体":w.a,"医药卫生大类智能体":I.a,"水利大类智能体":k.a,"轻工纺织大类智能体":j.a,"能源动力与材料大类智能体":U.a,"旅游大类智能体":B.a,"文化艺术大类智能体":R.a,"公安与司法大类智能体":L.a,"食品药品与粮食大类智能体":H.a,"新闻传播大类智能体":Q.a,"农林牧渔大类智能体":V.a,"公共管理与服务大类智能体":p.a,"交通运输大类智能体":$.a,"教育与体育大类智能体":z.a,"生物与化工大类智能体":Y.a};var F={components:{Chat:c["a"],foot:n["a"]},computed:{url(){return g},activeName(){return this.$store.state.activeName},chatShow(){return this.$store.state.chatShow},chatId(){return this.$store.state.chatid},sideCurrentId:{get(){return this.$store.state.sideCurrentId},set(t){return t}},newSession(){return this.$store.state.newSession},stop(){return this.$store.state.stop}},watch:{activeName:{handler:function(t){"second"==t&&(this.messageListData=[],this.messageListData.push({content:this.conversationHtml,role:"assistant"}))},immediate:!0},chatId:{handler:function(t){""!==t&&this.getSideToData(t)},immediate:!0},sideCurrentId:{handler:function(t){0==t&&(this.sideCurrentName="新的对话",this.messageListData=[],this.messageListData.push({content:this.conversationHtml,role:"assistant"}))},immediate:!0},newSession:{handler:function(t){1==t&&(this.sideCurrentName="新的对话",this.messageListData=[],this.messageListData.push({content:this.conversationHtml,role:"assistant"}),this.$store.dispatch("triggernewSession",!1))},immediate:!0}},data(){return{placeholder:"请输入您想了解的内容,如:工作总结、观后感",voice:!1,shareDialog:!1,inputShow:!0,conversationHtml:"",initWidth:0,userInput:"",initHeight:0,startclientX:0,startclientY:0,elRight:300,elTop:200,entryPage:!0,innerVisible:!1,beforeLogInDialog:!1,fullScreen:!0,firstChatShow:!0,firstfullScreen:!0,dialogArr:[{id:0,messageList:[]}],PersonalAssistantArr:[{id:0,messageList:[]}],messageListData:[{content:"欢迎使用AI助手:我是AI知道,能帮助您解答各种问题,快试试吧",role:"assistant"}],sideDataArr:[],personSideDataArr:[],sideCurrentName:"",isCollapse:!1,questionShow:!0,websock:"",tempAnswerStatus:0,currentIndex:0,firstCurrentIndex:null,news:"新的聊天",drawer:!1,dialogVisible:!1,drawerTitle:'<svg t="1702630463665" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="11343" width="40" height="40"><path d="M944.48 552.458667l-182.357333 330.666666a73.792 73.792 0 0 1-64.565334 38.325334h-362.133333a73.792 73.792 0 0 1-64.565333-38.325334l-182.357334-330.666666a75.338667 75.338667 0 0 1 0-72.682667l182.357334-330.666667a73.792 73.792 0 0 1 64.565333-38.325333h362.133333a73.792 73.792 0 0 1 64.565334 38.325333l182.357333 330.666667a75.338667 75.338667 0 0 1 0 72.682667z m-55.989333-31.146667a10.773333 10.773333 0 0 0 0-10.378667l-182.037334-330.666666a10.517333 10.517333 0 0 0-9.205333-5.482667H335.733333a10.517333 10.517333 0 0 0-9.205333 5.482667l-182.037333 330.666666a10.773333 10.773333 0 0 0 0 10.378667l182.037333 330.666667a10.517333 10.517333 0 0 0 9.205333 5.472h361.514667a10.517333 10.517333 0 0 0 9.205333-5.472l182.037334-330.666667zM513.738667 682.666667c-94.261333 0-170.666667-76.405333-170.666667-170.666667s76.405333-170.666667 170.666667-170.666667c94.250667 0 170.666667 76.405333 170.666666 170.666667s-76.416 170.666667-170.666666 170.666667z m0-64c58.912 0 106.666667-47.754667 106.666666-106.666667s-47.754667-106.666667-106.666666-106.666667-106.666667 47.754667-106.666667 106.666667 47.754667 106.666667 106.666667 106.666667z" fill="#555555" p-id="11344"></path></svg><span class=\'setupText\'>模型设置</span>',proTeacherSelectArr:[],dataListShow:!1,historyShow:!1,sideBoxShow:!0,FileDialog:!1,tableData:[],statusStyle:1,statusStyle2:0,statusStyle3:0,listOrUpload:!0,WhetherToDisable:!1,buttonShow:!0,query:{userId:null},showFileList:!1,startTrianShow:!0,successShow:!0,fileObj:{name:"",type:""},changeTrianOrTalk:!0,fileId:"",enableDoc:!1,spread:"",currentChatId:"",currentContent:""}},methods:{scrollToBottom(){this.$refs.chat&&this.$refs.chat.scrollToBottom()},getImage(t){return q[t]},getSideDataArr(t){this.$api.getSideDataArr({chatType:t,title:this.$store.state.inputValue}).then(t=>{200==t.data.code&&(this.$store.commit("GET_DIALOGUE",t.data.data),this.firstChatShow||""!=this.sideCurrentName?""==this.sideCurrentName&&(this.sideCurrentName="新的对话"):this.sideCurrentName=t.data.data[0].chatName)})},shareConversion(t){this.shareDialog=!0},getCookieValue(t){let e=document.cookie.split(";").map(t=>t.split("=")).filter(e=>e[0].trim()===t);if(e&&e.length>0)return e[0][1]},editHuiHuaName(t,e){Object(d["editHuiHuaName"])({chatId:t,chatName:e}).then(t=>{200==t.data.code&&(this.sideCurrentName=t.data.chatName,this.getSideDataArr(1))})},getInfo(){let t=this.getCookieValue("token");t?this.$store.dispatch("passLogin",t).then(t=>{200==t.data.code&&(r.a.set("AiToken",t.data.data.token),r.a.get("AiToken")&&(this.getSideDataArr(1),this.getAllMajor(),this.getScreenParam()))}).catch(()=>{}):(this.isLogin=!1,document.cookie="token=;expires=Thu,01 Jan 1970 00:00:00 UTC;=.icve.com.cn;path=/;",document.cookie="AiToken=;expires=Thu,01 Jan 1970 00:00:00 UTC;path=/;",window.open("about:blank","_self"))},getAllMajor(){this.$api.getAllMajor({maiorType:!0}).then(t=>{if(200==t.data.code){const e=t.data.data;this.$store.commit("changeMajor",t.data.data),e.sort((t,e)=>t.heat-e.heat).reverse(),this.proTeacherSelectArr=[{name:"热门智能体",list:[...e.splice(0,3)]},{name:"全部智能体",list:[...e]}]}})},replyMessage(){this.messageListData.push({content:"",role:"assistant"})},sendMessage(){if(!this.stop)return this.$message({message:"对话进行中,请稍后重试",type:"warning"});this.voice||this.$nextTick(()=>{this.$refs.chat.userInput=this.userInput,this.$refs.chat.sendMessage()})},showVoice(){this.voice=!this.voice,this.placeholder=this.voice?"语音功能开发中":"请输入您想了解的内容,如:工作总结、观后感"},addPushDuiHua(t,e,s){if(s){if(!this.stop)return this.$message({message:"对话进行中,请稍后重试",type:"warning"});this.$store.commit("changeAgentid",e),this.enableDoc=!0,this.dialogVisible=!1,this.firstChatShow=!0,this.$store.commit("changeChatshow",!0),this.messageListData=[],this.messageListData.push({content:`您已进入${t},当前选择的老师为:${t}助手。描述您遇到的${t}相关问题,将为您提供解答`,role:"assistant"}),this.addAiKnowConversation("新的对话"),setTimeout(()=>{this.getAllMajor()},100)}},addAiKnowConversation(t){this.$api.addConversation({chatName:t,chatType:1,chatMajorId:this.$store.state.agentId}).then(t=>{200==t.data.code&&(this.$message({message:"新增成功",type:"success"}),this.$store.commit("changeSidecurrentId",t.data.data.chatId),this.sideCurrentName=t.data.data.chatName,this.getSideDataArr(1))})},getSideToData(t){Object(d["getSideToData"])({chatId:t}).then(t=>{200==t.code&&(this.messageListData=t.data,this.messageListData.forEach(t=>{t.content=t.content.replace(/\n+/g,"<br>")}))})}},created(){this.getInfo()}},_=F,K=(s("e99e"),s("2877")),Z=Object(K["a"])(_,a,i,!1,null,"2c6b85f7",null);e["default"]=Z.exports},f080:function(t,e,s){var a={"./1.svg":"5228","./10.svg":"69f4","./11.svg":"1438","./12.svg":"fbed","./13.svg":"b92b","./14.svg":"8791","./15.svg":"72d6","./16.svg":"ccd6","./17.svg":"cadb","./18.svg":"b4c0","./19.svg":"fee6","./2.svg":"0905","./3.svg":"edd3","./4.svg":"fc81","./5.svg":"0b91","./6.svg":"7405","./7.svg":"ace6","./8.svg":"b3ce","./9.svg":"9f63"};function i(t){var e=n(t);return s(e)}function n(t){if(!s.o(a,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return a[t]}i.keys=function(){return Object.keys(a)},i.resolve=n,t.exports=i,i.id="f080"},f122:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAM9JREFUOE+lkuERgjAMhV83kUmUSSwbdAPCBtmAOIlsIpvUi1gPShs8za/etfn6XvIc/ixX6/eBLoA7C/eD9YcFGAEoRCyIBYjvn2cAnTBNJSVFgA/kAaiCVJMwtV8BfKATgEf2eBamRsHCJOu7nQIf6L5435VaUPjGzgZQkF5SvbGTA1S6/mLVy056kAPS5I/i1QiTbgc/AYTp05cDagNcKxJh6moW8v2XrLTrUBXWOPRApMoQdIV2DrRxCZO7AlHzoGcB4i0NzgzS0fjz+ydDgk4RDfm3cwAAAABJRU5ErkJggg=="},f74b:function(t,e,s){t.exports=s.p+"static/img/zhayan.c018580c.gif"},fbed:function(t,e,s){t.exports=s.p+"static/img/12.6dcda471.svg"},fc81:function(t,e,s){t.exports=s.p+"static/img/4.d0763a02.svg"},fe59:function(t,e,s){t.exports=s.p+"static/img/major-leaf.b0870c73.png"},fee6:function(t,e,s){t.exports=s.p+"static/img/19.0d977081.svg"},fef6:function(t,e,s){}}]);
@@ -1 +0,0 @@
1
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-52b6529f"],{"2bb7":function(t,e,a){},"2bf6":function(t,e,a){t.exports=a.p+"static/img/jingtai.f5c980ac.png"},"2e2a":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAfVJREFUOE+t1D9o00EUB/DvuxiohiAiIgR0ExEUBwUnQdviKHZyEx28d0IMhIoODo0OjsEhJPeSJg4iSkTROuiiky5CnVzUqSIk/olUHdJfEvNsOoT4p01Meuvdfe7u3feOsM6Nej0R2aSqE8aYyP+so6pLlUrlSSqVWuqC6XR6YyQSmQewE8D3AcAxAJsBfAQQVdXbzjnbBfP5/PF2u32rXq/vSCaTi/1AETkB4AYzbxGRGSI6Yq092gW991eIaJyZD/fDOv19QRF5COA9M59fL3BBVa8654ojg5lMZms4HP4M4CAzvxoZ9N5PENHjIAiiiUQiGBkUkWkAp5h5/yBY30sRkZsAfjLz6UHAcrkcqtVq08aYGVU9R0RTRBSx1h5biY2I3APwg5nPANC10Gw2uzsUCj0AsIuIPqgqOi/FGHPRWju3AuZyuXFjzCNVHSOiv0BVnXfOHSoWi9FWq/WGiF50dsbMX/5cvBvsUqm0rdls7l2OjukdRESXAXxj5inv/SUi4iAI9qx2eb99Dv86qoi8BjDLzNe993eJaJGZz65WlkHAT0SUsNbeEZE5AG+Z+cLQoPf+KYCv1Wr1ZCwWe6mq95n52tDgcgL2AXgGIARgg6oecM69GxrsTCwUCttVdbLRaDyPx+MLa8Wqbw0HCXrvmF8PNgAkMWdcfQAAAABJRU5ErkJggg=="},"4eb7":function(t,e,a){"use strict";a("2bb7")},"743c":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAAeZJREFUOE+t1D9oU1EUx/HvLy9omxJEpHRRN6lC2+RRwUnQVhzFDuImKloJ70WQig4dig7OQt8bFMWCiIIoWgdddNJFqO9RXKwOKi7+QaKNEK3NsekQ45+Y2PSu99zP4Z5z7hXLvFTr9Q9bam4lg06Zjv/JY6JUKHLv5YRKVXDtMWvv/MYUYj3wuSFotJlYJXhrkAauxoGGq6Dr2y6DKxRZF0+o0AjM+rZbcCkKtDrr25hgWxRoexXMeHZKMBCH2toIq+w3BF3fbgOvo0D55QJfAaejQBdbBjd6tqZdvJ83Nk+HetIy6Ho2iLg7K9IvxvW1dTBvI5TZF4XKNIM1bErWt8vAfBxof1PgHnOyXYwIxhA5M4YEHVGgnYtj4/p2w2A2DjgAsn+hfTnrdhxuYWxAvKnEmlEqixPTgSYXwT7fBhy4Y9C2kPUP0GAqDrSl+6ClUymeYTz6Mkdu5rw+/J7850vJW2d5np6ESNQGGYwiPsWBhjKenZQ4UhSb6jXvl8/hb1d1fXtqxoU41FnXs+sGhTjU4XplaQZ8h3E0CnXN9WwSmIlCHW8FvL8AfoxC9roejy3BzXhcZ5YM9vrWmzQeGDhAku/0x+f0fMlg5WDPIetKrmCHxMMoVOXN110Na9jUoNcE/QB9vuIV8eG2oQAAAABJRU5ErkJggg=="},"75e3":function(t,e,a){"use strict";a("db7e")},"9e56":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAAAXNSR0IArs4c6QAAA4VJREFUWEft101vG1UUBuD3zHjRBQuW7DzzD7KsEBUuVYVLVWGoKoWVZ1Z8tjQqVA5tKqspjfmoTFtBYJXxiiAEGEWlQVWpESCyzD+wu2PJggUSnft2xjPhzknlxP2MF/F25s557jln7vEIJuwnE+bBLmi7iuxm6LFnKFjiHpSwdxjoDtaiUP7dLuhW1x+6ZMHX9EyMPgm4JfjRazLYUdD0Ej1X0BcB7hj4y+EEgByiTwCUSQAt0mMJ/fREk//gL7/5hDJ07CsuA3gGROvbN2R1o0+mF+kZJ8uQm5asADr2JasiaAjw1zevy/Q4vTV2Ux/9ggMRlI1B+P3bEm08vLZIz2XeQ4DfLYIWGRhiCcDt794S775BtausOcCUAda7x6VbfMArVzmAoEyDsHtCgyRGP92ZcTXo1c8ZMAf98I4GjYqlMlS7zIiCugg63eMSFEEvX+FAgHKyWw1q06ODfnqvGPjdGdtDtSsMiCxDP57YBLrMCII6iE73XRtLgY60mZaiDqCzMqNBR9pMz5chaGWmkKE2vRhZhpy0ZAVQsibd1BCUrFElGxVLgQ5/ykjSDBGdlfc06PAlDkCUKQh/OmVB1TY9N84yFLvwVwugly4xSLI6BF07pUFprI3NXyvEUqBDnzACUYegc/19DTr0Ud5DQLh6ugBaoCcu+iBAA3911pas+rEFXT+tQaNiKVB1gRGBugCd5MGqh15cyEomKWhWg5K+G4KSdRq0wICCJRC3f57VoFGxFOjgBdtoN85q0MEPbQ/dOKNBcTrLAJTSkhUylKz5v4eSNaqHhrHyfi3GUqAD8/amm3MadOB8BiIQ/nLOgipNem7+lsUGfq9pS/bCeVuym+c0aFQsBdrftKBbTQ3a37SgXlODBHkPiQZVmhZ0q6lBw1h5vxZjKVClyRoMpmCw3rugD8bn5zhIzpSyA4S9eQ1i/paJuwk0Z8+hX+c1qHKWNTj3xhp7dOw7k/cQEf52sQBq0IvztyydZb2WLdm+Dyzo94sPMDq2mjXPNrLhSqD1Z8sO170Nek5+MMaAv1YAPddg1SAbrn+0HvFwHYVNQWLyHnI1aJxhuvmesUs2EnSSnnGz0SEx/LXPntD/oa1AsWT/qUtpyXYaNHWSnmOyDMUO/PWdBlUC7vn7qewz6Ol/sNaLdvgz6EEa97F+l+2CHnUGtnveQ59D2wW43+sTB7oLpybDNGfRnyIAAAAASUVORK5CYII="},c014:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAAAXNSR0IArs4c6QAAATNJREFUOE+tlK1OQ0EQhb8THKH8vAjBE54DxwsgsAQBivAS0FBBQbQGUXQJmh+PR4AAhYFMc5p7yba0l225Yzb3ZvfbmTlnR9QcqpmHIuIQuJb0WAfcwBawA9wDp8ClpPd54QZuA1cJ4BPoAGeS+rOCDVwF3oCFCYefDQZakl5y4ENRIuIW2Ko48AX0ipbcSPL3xCiB+8BJTgaAMz0HmpJcwUiUwHXgKRNYbgvAPXZLupLce358GBG7gPu5DDT+WBfHLrcr2m5JCtwDVoClApiu4/98aSriB3AxdEYhygbwMGPJ3l6W3BkpOSIOgONMoEXxY7BPp4pyB2xWAL8T2/QqbRMRa8BrhbGbtkm2sac8vW5hh74k2yM70uFgUTwc2v8dDkfF+JpH5V+Z1z9gs5uTuXEADqpucr2KHBkAAAAASUVORK5CYII="},db7e:function(t,e,a){},e215:function(t,e,a){"use strict";a.r(e);var s=function(){var t=this,e=t._self._c;return e("div",{staticClass:"draw-content"},[e("transition",{attrs:{name:"el-zoom-in-top"}},[e("div",{staticClass:"chat"},[e("chat",{ref:"chat",attrs:{sideCurrentId:t.sideCurrentId,sideCurrentName:t.sideCurrentName,messageListData:t.messageListData,chatType:2},on:{editHuiHuaName:t.editHuiHuaName,scrollToBottom:t.scrollToBottom,firstPageEntry:t.firstPageEntry}})],1)]),e("fileUpload",{ref:"fileUpload",attrs:{fileObj:t.fileObj,messageListData:t.messageListData},on:{firstPageEntry:t.firstPageEntry,scrollToBottom:t.scrollToBottom}}),e("div",{staticClass:"foot"},[t.inputConversionShow?e("div",{staticClass:"inputField"},[e("el-input",{ref:"input",style:{resize:"none"},attrs:{type:"textarea",rows:2,placeholder:t.placeholder,disabled:t.voice},nativeOn:{keyup:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.sendMessage.apply(null,arguments)}},model:{value:t.userInput,callback:function(e){t.userInput=e},expression:"userInput"}}),e("div",{staticClass:"voice",on:{click:t.showVoice}},[e("img",{attrs:{src:a("9e56"),alt:""}})]),e("div",{staticClass:"send",on:{click:t.sendMessage}},[e("img",{attrs:{src:a("c014"),alt:""}})]),e("div",{staticClass:"agent",on:{click:t.uploadFile}},[e("div",{staticClass:"right"},[e("svg-icon",{attrs:{"icon-class":"upload"}})],1),e("div",{staticClass:"left"},[t._v("文件上传/文件管理")])])],1):t._e(),e("foot")],1)],1)},i=[],n=(a("14d9"),a("b163")),o=a("b656"),r=a("a78e"),l=a.n(r),c=function(){var t=this,e=t._self._c;return e("div",{staticClass:"contents"},[e("el-dialog",{attrs:{title:"文件列表",visible:t.FileDialog,"custom-class":"FileDialogBox","destroy-on-close":!0,"before-close":t.handleClose},on:{"update:visible":function(e){t.FileDialog=e}}},[t.dataListShow?e("div",{staticClass:"datalist"},[e("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.tableLoading,expression:"tableLoading"}],attrs:{data:t.tableData,"row-style":{"background-color":"#FAFAFA",color:"#797979"},height:"100%"}},[e("el-table-column",{attrs:{type:"index",label:"序号",align:"center"}}),e("el-table-column",{attrs:{prop:"fileName",label:"文件名",align:"center"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("div",{staticClass:"biaoti"},[t._v(t._s(a.row.fileName))])]}}],null,!1,2085104718)}),e("el-table-column",{attrs:{prop:"fileSize",label:"大小",align:"center"}}),e("el-table-column",{attrs:{prop:"createTime",label:"上传时间",align:"center"}}),e("el-table-column",{attrs:{prop:"status",label:"状态",align:"center"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("span",[t._v(t._s(2==a.row.status?"训练成功 ":"上传成功"))])]}}],null,!1,1184724641)}),e("el-table-column",{attrs:{label:"操作",align:"center"},scopedSlots:t._u([{key:"default",fn:function(a){return[e("div",{staticClass:"operation"},[2==a.row.status?e("span",{on:{click:function(e){return t.duihuaEvent(a.row)}}},[t._v("对话")]):t._e(),2!=a.row.status?e("span",{staticClass:"xunlian",on:{click:function(e){return t.trianEvent(a.row)}}},[t._v("训练")]):t._e(),e("i",{staticClass:"el-icon-delete",on:{click:function(e){return t.deleteDataList(a.row)}}})])]}}],null,!1,3091402131)})],1)],1):e("div",{staticStyle:{height:"100%"}},[t.listOrUpload?e("div",{staticStyle:{height:"100%"}},[e("div",{staticClass:"nodata"},[e("img",{attrs:{src:a("2bf6"),alt:""}}),e("div",[t._v(" 点击上传文件 开始体验AI Doc ")])])]):e("div",{staticClass:"wjsc"},[e("div",{staticClass:"status"},[e("div",{staticClass:"uploadFile"},[e("span",{staticClass:"WhichStep",class:{currentStep:1==t.statusStyle}},[t._v("1")]),e("span",[t._v("上传文件")])]),e("div",{staticClass:"line"}),e("div",{staticClass:"modelTrian"},[e("span",{staticClass:"WhichStep",class:{currentStep:1==t.statusStyle2}},[t._v("2")]),e("span",[t._v("模型训练")])]),e("div",{staticClass:"line"}),e("div",{staticClass:"trainFinish"},[e("span",{staticClass:"WhichStep",class:{currentStep:1==t.statusStyle3}},[t._v("3")]),e("span",[t._v("训练完成")])])]),e("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"uploadBox"},[e("el-upload",{ref:"upload",staticClass:"upload-demo",attrs:{drag:"",action:this.$api.uploadFile(),"show-file-list":t.showFileList,limit:1,accept:".pdf,.txt,.docx,.doc","before-upload":t.beforeUpload,"on-exceed":t.handleExceed,"on-success":t.onSuccess,"on-error":t.onError,disabled:t.WhetherToDisable,headers:t.headers},scopedSlots:t._u([{key:"file",fn:function({file:a}){return[e("div",{staticClass:"ulList"},[e("div",{staticClass:"left"},[e("div",{staticClass:"img"},["application/msword"==t.fileObj.type?e("svg-icon",{attrs:{"icon-class":"doc"}}):t._e(),"application/pdf"==t.fileObj.type?e("svg-icon",{attrs:{"icon-class":"pdf"}}):t._e(),""==t.fileObj.type?e("svg-icon",{attrs:{"icon-class":"md"}}):t._e(),"text/plain"==t.fileObj.type?e("svg-icon",{attrs:{"icon-class":"txt"}}):t._e(),"application/vnd.openxmlformats-officedocument.wordprocessingml.document"==t.fileObj.type?e("svg-icon",{attrs:{"icon-class":"docx"}}):t._e()],1),e("div",{staticClass:"fileName"},[t._v(t._s(a.name))])]),t.successShow?e("div",{staticClass:"fileStatus"},[t._v("上传完成")]):e("div",{staticClass:"fileStatus"},[t._v("模型训练成功")]),e("el-progress",{attrs:{percentage:parseInt(a.percentage)}}),e("i",{staticClass:"el-icon-close",on:{click:function(e){return t.removeFile()}}})],1)]}}])},[t.startTrianShow?e("div",{staticClass:"uploadContent"},[e("div",{staticClass:"uploadimg"},[e("svg-icon",{attrs:{"icon-class":"upload"}})],1),e("div",{staticClass:"el-upload__text"},[t._v(" 将文件拖到此处,或"),e("em",[t._v(" 选择文件")])]),e("div",{staticClass:"el-upload__tip"},[t._v(" 支持格式:doc、pdf、txt,大小不超过10MB ")])]):e("div",{staticClass:"uploadContent modelTrian"},[e("div",{staticClass:"img"},["application/msword"==t.fileObj.type?e("svg-icon",{attrs:{"icon-class":"doc"}}):t._e(),"md"==t.fileObj.type?e("svg-icon",{attrs:{"icon-class":"md"}}):t._e(),"application/pdf"==t.fileObj.type?e("svg-icon",{attrs:{"icon-class":"pdf"}}):t._e(),"text/plain"==t.fileObj.type?e("svg-icon",{attrs:{"icon-class":"txt"}}):t._e(),"application/vnd.openxmlformats-officedocument.wordprocessingml.document"==t.fileObj.type?e("svg-icon",{attrs:{"icon-class":"docx"}}):t._e()],1),e("div",{staticClass:"name"},[t._v(t._s(t.fileObj.name))])])])],1)])]),e("div",{staticClass:"dialog_footer",attrs:{slot:"footer"},slot:"footer"},[t.listOrUpload?e("div",[e("el-button",{staticClass:"moreCaozuo",on:{click:t.upload}},[t._v("上传文件")])],1):t._e(),t.listOrUpload?t._e():e("div",[e("el-button",{staticClass:"checkList",on:{click:t.checkListEvent}},[t._v("查看列表")]),t.changeTrianOrTalk?e("el-button",{staticClass:"moreCaozuo",on:{click:function(e){return t.startTrianEvent()}}},[t._v("开始训练")]):e("el-button",{staticClass:"moreCaozuo",on:{click:function(e){return t.startTalkEvent()}}},[t._v("开始对话")])],1)])])],1)},h=[],d=a("f2a0");const g=new AbortController;g.signal;var u={name:"fileUpload",props:{query:{type:Object},messageListData:{type:Array}},data(){return{tempAnswerStatus:null,waitAnswer:!1,tableLoading:!1,loading:!1,tableData:[],headers:{Authorization:"Bearer "+l.a.get("AiToken")},innerVisible:!1,dataListShow:!1,listOrUpload:!0,startTrianShow:!0,changeTrianOrTalk:!0,successShow:!0,WhetherToDisable:!1,statusStyle:1,statusStyle2:0,statusStyle3:0,showFileList:!1,fileObj:{name:"",type:""},FileDialog:!1,fileId:"",showProgress:!1,timer:null}},methods:{handleClose(){this.FileDialog=!1,this.timer&&(clearInterval(this.timer),this.timer=null),this.RestorTheOriginal()},RestorTheOriginal(){this.listOrUpload=!0,this.dataListShow=!1,this.buttonShow=!0,this.showFileList=!1,this.successShow=!0,this.startTrianShow=!0,this.changeTrianOrTalk=!0,this.WhetherToDisable=!1,this.statusStyle=1,this.statusStyle2=0,this.statusStyle3=0,this.fileObj.name="",this.fileObj.type="",this.tableLoading=!1,this.loading=!1},duihuaEvent(t){this.$store.commit("changeFileid",t.fileId),this.getChat(t.fileId,t.fileName),this.RestorTheOriginal()},trianEvent(t){this.$api.getTrianData({fileCode:t.fileId}).then(e=>{e.data.success&&(1==e.data.data.status?(this.tableLoading=!0,this.timer=setInterval(()=>{this.$api.getTrianData({fileCode:t.fileId}).then(t=>{2==t.data.data.status?(clearInterval(this.timer),this.tableLoading=!1,this.changeTrianOrTalk=!1,this.successShow=!1,this.WhetherToDisable=!0,this.statusStyle3=1,this.$message({message:"训练成功",type:"success"}),this.getDocumentQueryData()):0==t.data.data.status&&(this.tableLoading=!1,this.$message({message:"训练失败",type:"warning"}))})},1e4)):2==e.data.data.status?(this.changeTrianOrTalk=!1,this.successShow=!1,this.WhetherToDisable=!0,this.statusStyle3=1,this.tableLoading=!1,this.getDocumentQueryData(),this.$message({message:"训练成功",type:"success"})):0==e.data.data.status&&(this.tableLoading=!1,this.$message({message:"解析失败",type:"warning"})))})},deleteDataList(t){this.getdeleteDataList(t)},getdeleteDataList(t){this.$api.DeleteDataList({uploadId:t.uploadId}).then(t=>{200==t.data.code&&this.getDocumentQueryData()})},beforeUpload(t){this.fileObj.name=t.name,this.fileObj.type=t.type;let e=t.size/1024/1024<10;const a=["application/msword","application/pdf","text/plain","application/vnd.openxmlformats-officedocument.wordprocessingml.document",""].includes(t.type);return e?a?(e&&a&&(this.showFileList=!0),!0):(this.$message.error("只能上传 PDF、TXT、DOC/DOCX文件!"),!1):(this.$message.warning("上传文件大小不能超过 10MB!"),!1)},handleExceed(){this.$message.warning("当前限制选择 1 个文件,请删除文件后再上传")},onError(t,e){this.$message({message:"上传失败",type:"warning"}),this.$refs.upload.clearFiles(),this.showFileList=!1,this.fileObj.name="",this.fileObj.type=""},onSuccess(t,e){t.success?(this.fileId=t.data.fileCode,this.startTrianShow=!1,this.statusStyle2=1,this.$message({message:"上传成功",type:"success"})):(this.$refs.upload.clearFiles(),this.showFileList=!1,this.fileObj.name="",this.fileObj.type="",this.$message({message:"上传失败",type:"warning"}))},removeFile(){this.$refs.upload.clearFiles(),this.$message({message:"文件删除成功",type:"success"}),this.RestorTheOriginal(),this.listOrUpload=!1},upload(){this.timer&&(clearInterval(this.timer),this.timer=null),this.listOrUpload=!this.listOrUpload,this.dataListShow=!1,this.statusStyle=1,this.statusStyle2=0,this.statusStyle3=0},getDocumentQueryData(){this.$api.getDocumentQueryData().then(t=>{200==t.status&&(this.tableData=t.data.data)})},getChat(t,e){this.$parent.sideCurrentName=e,this.$parent.messageListData=[];const a=this;a.waitAnswer=!0;const s=new AbortController,i=s.signal;a.$store.commit("changeStop",!1),a.FileDialog=!1,Object(d["a"])("/ai-api/xh/conversation",{method:"POST",signal:i,openWhenHidden:!0,headers:{"Content-Type":"application/json",Authorization:"Bearer "+l.a.get("AiToken")},body:JSON.stringify({messageList:[{content:e,fileId:t,chatName:e,chatType:2,enableSummary:!0}]}),onmessage(t){if(""===t.event){var e=JSON.parse(t.data);if(a.tempAnswerStatus=e.status,a.waitAnswer){if(null==a.tempAnswerStatus)return a.$store.commit("changeStop",!0),a.$message({message:"您今日的次数已经用完",type:"warning"});a.$emit("firstPageEntry",e),e.content&&(a.$parent.userInput="",a.returnText=e.content,a.waitAnswer=!1,a.$parent.messageListData.push({content:"",role:"assistant"}),a.$parent.messageListData[a.$parent.messageListData.length-1].contentId=e.msgId,a.$parent.messageListData[a.$parent.messageListData.length-1].parentMsgId=e.parentMsgId,a.$parent.messageListData[a.$parent.messageListData.length-1].chatId=e.chatId,a.$parent.messageListData[a.$parent.messageListData.length-1].type=null)}else 2!=a.tempAnswerStatus&&(a.returnText+=e.content,a.returnText=a.returnText.replace(/\n+/g,"<br>").replace(/<!DOCTYPE html>/g,"< !DOCTYPE html >").replace(/<html>/g,"< html >").replace(/<body>/g,"< body >").replace(/<head>/g,"< head >").replace(/<\/head>/g,"< /head >").replace(/<\/body>/g,"< /body >").replace(/<\/html>/g,"< /html >").replace(/<\/script>/g,"< /script >").replace(/<\/style>/g,"< /style >").replace(/<script>/g,"< script >").replace(/<title>/g,"< title >"),a.$parent.messageListData[a.$parent.messageListData.length-1].content=a.returnText,a.$parent.messageListData[a.$parent.messageListData.length-1].content=a.$parent.messageListData[a.$parent.messageListData.length-1].content.replace(/(<br>)+/g,"<br>"),a.tempAnswerStatus=e.status,a.$emit("scrollToBottom"));2===a.tempAnswerStatus&&(e.content&&(a.$parent.messageListData[a.$parent.messageListData.length-1].reference=JSON.parse(e.content)),a.$emit("scrollToBottom"),a.$store.commit("changeStop",!0))}else"close"===t.data&&s.abort()},onerror(t){throw a.$message({message:"访问的人过多,请稍后重试",type:"warning"}),a.$store.commit("changeStop",!0),t}})},checkListEvent(){this.$refs.upload.clearFiles(),this.listOrUpload=!0,this.showFileList=!1,this.changeTrianOrTalk=!0,this.startTrianShow=!0,this.WhetherToDisable=!1,this.statusStyle=1,this.statusStyle2=0,this.statusStyle3=0,this.fileObj.name="",this.fileObj.type="",this.successShow=!0,this.tableLoading=!1,this.loading=!1,this.timer&&(clearInterval(this.timer),this.timer=null),this.getDocumentQueryData(),this.dataListShow=!0},startTrianEvent(){1==this.statusStyle2?this.$api.getTrianData({fileCode:this.fileId}).then(t=>{t.data.success&&(1==t.data.data.status?(this.loading=!0,this.timer=setInterval(()=>{this.$api.getTrianData({fileCode:this.fileId}).then(t=>{2==t.data.data.status?(this.$message({message:"训练成功",type:"success"}),clearInterval(this.timer),this.loading=!1,this.changeTrianOrTalk=!1,this.successShow=!1,this.WhetherToDisable=!0,this.statusStyle3=1):0==t.data.data.status&&(this.loading=!1,this.$message({message:"解析失败",type:"warning"}),clearInterval(this.timer))})},1e4)):2==t.data.data.status?(this.changeTrianOrTalk=!1,this.successShow=!1,this.WhetherToDisable=!0,this.statusStyle3=1,this.loading=!1,this.$message({message:"训练成功",type:"success"})):0==t.data.data.status&&(this.loading=!1,this.$message({message:"训练失败",type:"warning"})))}):this.$message({type:"warning",message:"请先上传文件"})},startTalkEvent(){this.$store.commit("changeFileid",this.fileId),this.getChat(this.fileId,this.fileObj.name),this.RestorTheOriginal()},getPersonHelperChatData(t,e){this.$api.getPersonHelperChatData({content:e,fileId:t,chatName:e,chatType:2,enableSummary:!0}).then(t=>{200==t.status&&(this.firstChatShow=!1,this.FileDialog=!1,loadingHelper.close(),this.RestorTheOriginal(),this.sideCurrentId=t.data.data.chatId,this.sideCurrentName=t.data.data.chatName,this.getPersonHelperSideDataArr(2),this.getDocSideToData(this.sideCurrentId))})}},beforeDestroy(){this.timer&&(clearInterval(this.timer),this.timer=null)},created(){},mounted(){}},p=u,m=(a("75e3"),a("2877")),f=Object(m["a"])(p,c,h,!1,null,"0cad1939",null),A=f.exports,v=a("f13a"),b={components:{chat:n["a"],foot:o["a"],fileUpload:A},name:"draw",data(){return{fileObj:{name:"",type:""},userInput:"",inputConversionShow:!0,sideCurrentName:"新的对话",messageListData:[{content:"AI Doc是基于AI助手开发的一款文件问答助手,主要功能有: </br> 1.文件提炼总结 - 对您上传的文件进行摘要提炼、内容总结,更高效的获取文件核心内容。</br>2.对话式问答 - 您可以针对文件提出自己的问题,AI Doc会通过对文件内容的学习来回答您的问题。</br>AI Doc能帮助您快速获取文件信息,无需逐句阅读整体文件,帮助您提升阅读效率。现在您可以点击【上传文件/文件管理】立即体验。",role:"assistant"}],placeholder:"请点击【文件上传/文件管理】功能上传文件,开始对话吧",voice:!1,agentShow:!1,agentId:[],rotation:0,agentArr:[],visible:!1,agentName:"文件上传/文件管理"}},beforeDestroy(){this.$store.commit("changeChatshow",!1)},computed:{chatShow(){return this.$store.state.chatShow},sideCurrentId(){return this.$store.state.sideCurrentId},chatId(){return this.$store.state.chatid},newSession(){return this.$store.state.newSession},storeAgentId(){return this.$store.state.agentId},stop(){return this.$store.state.stop}},watch:{sideCurrentId:{handler:function(t){"001"==t&&(this.sideCurrentName="新的对话",this.messageListData=[])},immediate:!0},storeAgentId:{handler:function(t){""==this.$store.state.agentId&&(this.agentName="专业智能体选择",this.agentId=[])},immediate:!0},chatId:{handler:function(t){""!==t&&this.getSideToData(t)},immediate:!0},agentId:{handler:function(t,e){""!==t&&this.$store.commit("changeAgentid",t.join(""))},immediate:!0},visible:{handler:function(t){this.rotation=1==t?this.rotation+45:this.rotation-45},immediate:!0}},methods:{getSideDataArr(t){Object(v["getSideDataArr"])({chatType:t,title:this.historyInput||""}).then(t=>{this.$store.commit("GET_DIALOGUE",t.data.data)})},uploadFile(){this.$refs.fileUpload.FileDialog=!0},addAiKnowConversation(t,e){if(!this.stop)return this.$message({message:"对话进行中,请稍后重试",type:"warning"});this.$api.addConversation({chatName:t,chatType:1,chatMajorId:this.agentId.join("")}).then(t=>{200==t.data.code&&(""!=this.agentId&&this.$message({message:"已选择"+e,type:"success"}),this.getSideDataArr(1),this.$store.commit("changeChatshow",!1),this.$store.commit("changeSidecurrentId",t.data.data.chatId),this.$store.commit("changenewSession",!0))})},getSideDataArr(t){Object(v["getSideDataArr"])({chatType:t,title:this.historyInput||""}).then(t=>{this.$store.commit("GET_DIALOGUE",t.data.data)})},chooseAgentid(t){let e=[];e.push(this.agentId[this.agentId.length-1]),this.agentId=e,""!=this.agentId?this.agentName=t.name:this.agentName="专业智能体选择",this.visible=!1,this.addAiKnowConversation("新的对话",this.agentName)},chooseAgent(){this.agentShow=!this.agentShow},getSideToData(t){Object(v["getSideToData"])({chatId:t}).then(t=>{200==t.data.code&&(this.sideCurrentName=t.data.data.chatName,this.$store.commit("changeAgentid",t.data.data.chatMajorId),this.$store.commit("changeFileid",t.data.data.fileId),null!=t.data.data.contents&&(this.messageListData=t.data.data.contents,this.messageListData.forEach(t=>{null!=t.content&&(t.content=t.content.replace(/\n+/g,"<br>"))})))})},firstPageEntry(t){this.getSideDataArr(2),this.$store.commit("changeSidecurrentId",t.chatId)},replyMessage(){this.messageListData.push({content:"",role:"assistant"})},sendMessage(){this.voice||(this.$store.commit("changeChatshow",!0),this.$nextTick(()=>{this.$refs.chat.userInput=this.userInput,this.$refs.chat.sendMessage(),this.userInput=""}))},showVoice(){this.voice=!this.voice,this.placeholder=this.voice?"语音功能开发中":"请输入您想了解的内容,如:工作总结、观后感"},scrollToBottom(){this.$refs.chat&&this.$refs.chat.scrollToBottom()},getSideDataArr(t){Object(v["getSideDataArr"])({chatType:t,title:this.$store.state.inputValue}).then(t=>{this.$store.commit("changeDialogue",t.data.data)})},editHuiHuaName(t,e){Object(v["editHuiHuaName"])({chatId:t,chatName:e}).then(t=>{200==t.data.code&&(this.sideCurrentName=t.data.chatName,this.getSideDataArr(1))})}},created(){this.getSideDataArr(2)},mounted(){null!=this.$store.state.agentId&&(this.agentId=[],this.agentId.push(this.$store.state.agentId))}},y=b,w=(a("4eb7"),Object(m["a"])(y,s,i,!1,null,"00f49596",null));e["default"]=w.exports},f2a0:function(t,e,a){"use strict";async function s(t,e){const a=t.getReader();let s;while(!(s=await a.read()).done)e(s.value)}function i(t){let e,a,s,i=!1;return function(n){void 0===e?(e=n,a=0,s=-1):e=o(e,n);const r=e.length;let l=0;while(a<r){i&&(10===e[a]&&(l=++a),i=!1);let n=-1;for(;a<r&&-1===n;++a)switch(e[a]){case 58:-1===s&&(s=a-l);break;case 13:i=!0;case 10:n=a;break}if(-1===n)break;t(e.subarray(l,n),s),l=a,s=-1}l===r?e=void 0:0!==l&&(e=e.subarray(l),a-=l)}}function n(t,e,a){let s=r();const i=new TextDecoder;return function(n,o){if(0===n.length)null===a||void 0===a||a(s),s=r();else if(o>0){const a=i.decode(n.subarray(0,o)),r=o+(32===n[o+1]?2:1),l=i.decode(n.subarray(r));switch(a){case"data":s.data=s.data?s.data+"\n"+l:l;break;case"event":s.event=l;break;case"id":t(s.id=l);break;case"retry":const a=parseInt(l,10);isNaN(a)||e(s.retry=a);break}}}}function o(t,e){const a=new Uint8Array(t.length+e.length);return a.set(t),a.set(e,t.length),a}function r(){return{data:"",event:"",id:"",retry:void 0}}a.d(e,"a",(function(){return g}));var l=function(t,e){var a={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&e.indexOf(s)<0&&(a[s]=t[s]);if(null!=t&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(s=Object.getOwnPropertySymbols(t);i<s.length;i++)e.indexOf(s[i])<0&&Object.prototype.propertyIsEnumerable.call(t,s[i])&&(a[s[i]]=t[s[i]])}return a};const c="text/event-stream",h=1e3,d="last-event-id";function g(t,e){var{signal:a,headers:o,onopen:r,onmessage:g,onclose:p,onerror:m,openWhenHidden:f,fetch:A}=e,v=l(e,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((e,l)=>{const b=Object.assign({},o);let y;function w(){y.abort(),document.hidden||T()}b.accept||(b.accept=c),f||document.addEventListener("visibilitychange",w);let D=h,S=0;function C(){document.removeEventListener("visibilitychange",w),window.clearTimeout(S),y.abort()}null===a||void 0===a||a.addEventListener("abort",()=>{C(),e()});const I=null!==A&&void 0!==A?A:window.fetch,O=null!==r&&void 0!==r?r:u;async function T(){var a;y=new AbortController;try{const a=await I(t,Object.assign(Object.assign({},v),{headers:b,signal:y.signal}));await O(a),await s(a.body,i(n(t=>{t?b[d]=t:delete b[d]},t=>{D=t},g))),null===p||void 0===p||p(),C(),e()}catch(o){if(!y.signal.aborted)try{const t=null!==(a=null===m||void 0===m?void 0:m(o))&&void 0!==a?a:D;window.clearTimeout(S),S=window.setTimeout(T,t)}catch(r){C(),l(r)}}}T()})}function u(t){const e=t.headers.get("content-type");if(!(null===e||void 0===e?void 0:e.startsWith(c)))throw new Error(`Expected content-type to be ${c}, Actual: ${e}`)}},f74b:function(t,e,a){t.exports=a.p+"static/img/zhayan.c018580c.gif"}}]);