bhd-components 0.5.6 → 0.5.7

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 (115) hide show
  1. package/dist/1bddec89.esm.es5.production.js +72 -0
  2. package/dist/535fc6c5.esm.es5.development.js +95493 -0
  3. package/dist/CustomerService.esm.es5.development.css +2827 -0
  4. package/dist/CustomerService.esm.es5.development.js +3823 -0
  5. package/dist/CustomerService.esm.es5.production.css +1 -0
  6. package/dist/CustomerService.esm.es5.production.js +1 -0
  7. package/dist/vendor.esm.es5.development.esm.es5.development.css +117 -0
  8. package/dist/vendor.esm.es5.production.esm.es5.production.css +9 -0
  9. package/es2017/customerService/contactsList/index.d.ts +13 -0
  10. package/es2017/customerService/contactsList/index.js +313 -0
  11. package/es2017/customerService/contactsList/index.module.less +187 -0
  12. package/es2017/customerService/function.d.ts +17 -0
  13. package/es2017/customerService/function.js +67 -0
  14. package/es2017/customerService/historyFun/index.d.ts +13 -0
  15. package/es2017/customerService/historyFun/index.js +241 -0
  16. package/es2017/customerService/historyFun/index.module.less +189 -0
  17. package/es2017/customerService/images/knowledge_icon.png +0 -0
  18. package/es2017/customerService/images/voice_btn.gif +0 -0
  19. package/es2017/customerService/index.d.ts +16 -0
  20. package/es2017/customerService/index.js +2493 -0
  21. package/es2017/customerService/index.module.less +727 -0
  22. package/es2017/customerService/useMediaRecorder.d.ts +9 -0
  23. package/es2017/customerService/useMediaRecorder.js +78 -0
  24. package/es2017/customerService/voice_btn.gif +0 -0
  25. package/es2017/icons/components/custom-ai_icon.d.ts +4 -0
  26. package/es2017/icons/components/custom-ai_icon.js +58 -0
  27. package/es2017/icons/components/custom-contacts.d.ts +4 -0
  28. package/es2017/icons/components/custom-contacts.js +29 -0
  29. package/es2017/icons/components/custom-copy.d.ts +4 -0
  30. package/es2017/icons/components/custom-copy.js +36 -0
  31. package/es2017/icons/components/custom-dislike.d.ts +4 -0
  32. package/es2017/icons/components/custom-dislike.js +22 -0
  33. package/es2017/icons/components/custom-duihao.d.ts +4 -0
  34. package/es2017/icons/components/custom-duihao.js +22 -0
  35. package/es2017/icons/components/custom-exit_full_screen.d.ts +4 -0
  36. package/es2017/icons/components/custom-exit_full_screen.js +26 -0
  37. package/es2017/icons/components/custom-full_screen.d.ts +4 -0
  38. package/es2017/icons/components/custom-full_screen.js +22 -0
  39. package/es2017/icons/components/custom-like.d.ts +4 -0
  40. package/es2017/icons/components/custom-like.js +22 -0
  41. package/es2017/icons/components/custom-quote.d.ts +4 -0
  42. package/es2017/icons/components/custom-quote.js +31 -0
  43. package/es2017/icons/components/custom-record.d.ts +4 -0
  44. package/es2017/icons/components/custom-record.js +37 -0
  45. package/es2017/icons/components/custom-reloading.d.ts +4 -0
  46. package/es2017/icons/components/custom-reloading.js +26 -0
  47. package/es2017/icons/components/custom-retract.d.ts +4 -0
  48. package/es2017/icons/components/custom-retract.js +27 -0
  49. package/es2017/icons/components/custom-round_close.d.ts +4 -0
  50. package/es2017/icons/components/custom-round_close.js +24 -0
  51. package/es2017/icons/components/custom-sending.d.ts +4 -0
  52. package/es2017/icons/components/custom-sending.js +22 -0
  53. package/es2017/icons/components/custom-sound_recording.d.ts +4 -0
  54. package/es2017/icons/components/custom-sound_recording.js +22 -0
  55. package/es2017/icons/components/index.d.ts +15 -0
  56. package/es2017/icons/components/index.js +15 -0
  57. package/es2017/index.d.ts +1 -0
  58. package/es2017/index.js +1 -0
  59. package/esm/customerService/contactsList/index.d.ts +13 -0
  60. package/esm/customerService/contactsList/index.js +326 -0
  61. package/esm/customerService/contactsList/index.module.less +187 -0
  62. package/esm/customerService/function.d.ts +17 -0
  63. package/esm/customerService/function.js +69 -0
  64. package/esm/customerService/historyFun/index.d.ts +13 -0
  65. package/esm/customerService/historyFun/index.js +256 -0
  66. package/esm/customerService/historyFun/index.module.less +189 -0
  67. package/esm/customerService/images/knowledge_icon.png +0 -0
  68. package/esm/customerService/images/voice_btn.gif +0 -0
  69. package/esm/customerService/index.d.ts +16 -0
  70. package/esm/customerService/index.js +2576 -0
  71. package/esm/customerService/index.module.less +727 -0
  72. package/esm/customerService/useMediaRecorder.d.ts +9 -0
  73. package/esm/customerService/useMediaRecorder.js +121 -0
  74. package/esm/customerService/voice_btn.gif +0 -0
  75. package/esm/icons/components/custom-ai_icon.d.ts +4 -0
  76. package/esm/icons/components/custom-ai_icon.js +60 -0
  77. package/esm/icons/components/custom-contacts.d.ts +4 -0
  78. package/esm/icons/components/custom-contacts.js +31 -0
  79. package/esm/icons/components/custom-copy.d.ts +4 -0
  80. package/esm/icons/components/custom-copy.js +38 -0
  81. package/esm/icons/components/custom-dislike.d.ts +4 -0
  82. package/esm/icons/components/custom-dislike.js +24 -0
  83. package/esm/icons/components/custom-duihao.d.ts +4 -0
  84. package/esm/icons/components/custom-duihao.js +24 -0
  85. package/esm/icons/components/custom-exit_full_screen.d.ts +4 -0
  86. package/esm/icons/components/custom-exit_full_screen.js +28 -0
  87. package/esm/icons/components/custom-full_screen.d.ts +4 -0
  88. package/esm/icons/components/custom-full_screen.js +24 -0
  89. package/esm/icons/components/custom-like.d.ts +4 -0
  90. package/esm/icons/components/custom-like.js +24 -0
  91. package/esm/icons/components/custom-quote.d.ts +4 -0
  92. package/esm/icons/components/custom-quote.js +33 -0
  93. package/esm/icons/components/custom-record.d.ts +4 -0
  94. package/esm/icons/components/custom-record.js +39 -0
  95. package/esm/icons/components/custom-reloading.d.ts +4 -0
  96. package/esm/icons/components/custom-reloading.js +28 -0
  97. package/esm/icons/components/custom-retract.d.ts +4 -0
  98. package/esm/icons/components/custom-retract.js +29 -0
  99. package/esm/icons/components/custom-round_close.d.ts +4 -0
  100. package/esm/icons/components/custom-round_close.js +26 -0
  101. package/esm/icons/components/custom-sending.d.ts +4 -0
  102. package/esm/icons/components/custom-sending.js +24 -0
  103. package/esm/icons/components/custom-sound_recording.d.ts +4 -0
  104. package/esm/icons/components/custom-sound_recording.js +24 -0
  105. package/esm/icons/components/index.d.ts +15 -0
  106. package/esm/icons/components/index.js +15 -0
  107. package/esm/index.d.ts +1 -0
  108. package/esm/index.js +1 -0
  109. package/package.json +10 -2
  110. package/dist/1951bd5c.esm.es5.development.js +0 -45417
  111. package/dist/28cd83d3.esm.es5.production.js +0 -256
  112. package/dist/table.esm.es5.development.css +0 -772
  113. package/dist/table.esm.es5.development.js +0 -289
  114. package/dist/table.esm.es5.production.css +0 -1
  115. package/dist/table.esm.es5.production.js +0 -1
@@ -0,0 +1 @@
1
+ .index_module_ChatWindow_Modal__9ce9eb29,.index_module_service_ChatWindow_Drawer__9ce9eb29{width:100%!important}.index_module_ChatWindow_Modal__9ce9eb29 .bhd-drawer-mask,.index_module_service_ChatWindow_Drawer__9ce9eb29 .bhd-drawer-mask{background-color:rgba(0,0,0,.15)!important}.index_module_ChatWindow_Drawer__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29{box-shadow:0 4px 20px 0 rgba(0,0,0,.1)!important}.index_module_ChatWindow_Drawer__9ce9eb29 textarea::-webkit-scrollbar,.index_module_ChatWindow_Modal__9ce9eb29 textarea::-webkit-scrollbar{background-color:#eaedf1;background-color:transparent;height:4px;width:4px}.index_module_ChatWindow_Drawer__9ce9eb29 textarea::-webkit-scrollbar-thumb,.index_module_ChatWindow_Modal__9ce9eb29 textarea::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.25);border-radius:4px}.index_module_ChatWindow_Drawer__9ce9eb29 pre::-webkit-scrollbar,.index_module_ChatWindow_Modal__9ce9eb29 pre::-webkit-scrollbar{background-color:#eaedf1;background-color:transparent;height:4px;width:4px}.index_module_ChatWindow_Drawer__9ce9eb29 pre::-webkit-scrollbar-thumb,.index_module_ChatWindow_Modal__9ce9eb29 pre::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.25);border-radius:4px}.index_module_ChatWindow_Drawer__9ce9eb29 .bhd-drawer-body,.index_module_ChatWindow_Modal__9ce9eb29 .bhd-drawer-body{padding:0!important}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_header_wrap__9ce9eb29 .index_module_top__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_header_wrap__9ce9eb29 .index_module_top__9ce9eb29{align-items:center;background-color:#fff;display:flex;justify-content:space-between;line-height:1;padding:16px 24px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_header_wrap__9ce9eb29 .index_module_top__9ce9eb29 .index_module_user__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_header_wrap__9ce9eb29 .index_module_top__9ce9eb29 .index_module_user__9ce9eb29{color:#000;font-size:16px;font-weight:600;padding-left:36px;position:relative}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_header_wrap__9ce9eb29 .index_module_top__9ce9eb29 .index_module_user__9ce9eb29 i,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_header_wrap__9ce9eb29 .index_module_top__9ce9eb29 .index_module_user__9ce9eb29 i{color:#111;font-size:20px;left:0;padding-right:16px;position:absolute;top:-2px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_header_wrap__9ce9eb29 .index_module_top__9ce9eb29 .index_module_operate__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_header_wrap__9ce9eb29 .index_module_top__9ce9eb29 .index_module_operate__9ce9eb29{display:flex;height:16px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_header_wrap__9ce9eb29 .index_module_top__9ce9eb29 .index_module_operate__9ce9eb29 i,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_header_wrap__9ce9eb29 .index_module_top__9ce9eb29 .index_module_operate__9ce9eb29 i{cursor:pointer;font-size:16px;margin-left:23px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_header_wrap__9ce9eb29 .index_module_top__9ce9eb29 .index_module_operate__9ce9eb29 .index_module_line__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_header_wrap__9ce9eb29 .index_module_top__9ce9eb29 .index_module_operate__9ce9eb29 .index_module_line__9ce9eb29{background-color:rgba(0,0,0,.15);display:inline-block;height:16px;margin:0 4px 0 23px;width:1px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_header_wrap_newlabo__9ce9eb29 .index_module_top__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_header_wrap_newlabo__9ce9eb29 .index_module_top__9ce9eb29{background-color:#f5f5f5;border-bottom:1px solid rgba(0,0,0,.15)}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_header_wrap_newlabo__9ce9eb29 .index_module_top__9ce9eb29 .index_module_user__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_header_wrap_newlabo__9ce9eb29 .index_module_top__9ce9eb29 .index_module_user__9ce9eb29{font-weight:400;padding-left:0}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29{background:#f5f5f5;max-height:calc(100vh - 110px);min-height:500px;overflow:auto}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_loading__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_loading__9ce9eb29{margin:10px 0;text-align:center}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_loading__9ce9eb29 img,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_loading__9ce9eb29 img{height:30px;width:30px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29{padding:0 16px 16px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 .index_module_left__9ce9eb29 .index_module_head_sculpture__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 .index_module_left__9ce9eb29 .index_module_head_sculpture__9ce9eb29{border-radius:50%;display:inline-block;height:32px;margin-top:24px;overflow:hidden;vertical-align:top;width:32px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 .index_module_left__9ce9eb29 .index_module_head_sculpture__9ce9eb29 img,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 .index_module_left__9ce9eb29 .index_module_head_sculpture__9ce9eb29 img{height:100%;width:100%}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 .index_module_right__9ce9eb29 .index_module_head_sculpture__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 .index_module_right__9ce9eb29 .index_module_head_sculpture__9ce9eb29{border-radius:50%;display:inline-block;height:32px;line-height:32px;margin-top:24px;overflow:hidden;text-align:center;vertical-align:top;width:32px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 .index_module_right__9ce9eb29 .index_module_head_sculpture__9ce9eb29 i,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 .index_module_right__9ce9eb29 .index_module_head_sculpture__9ce9eb29 i{color:#fff}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 .index_module_right__9ce9eb29 .index_module_head_sculpture__9ce9eb29 img,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 .index_module_right__9ce9eb29 .index_module_head_sculpture__9ce9eb29 img{height:100%;width:100%}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li{display:flex;position:relative;width:100%}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29{max-width:80%}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_main_content__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_main_content__9ce9eb29{position:relative}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_main_content__9ce9eb29:hover .index_module_operate_modal__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_main_content__9ce9eb29:hover .index_module_operate_modal__9ce9eb29{visibility:visible}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_main_content__9ce9eb29 .index_module_content__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_main_content__9ce9eb29 .index_module_content__9ce9eb29{max-width:100%}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_main_content__9ce9eb29 .index_module_content__9ce9eb29 .index_module_content_child__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_main_content__9ce9eb29 .index_module_content__9ce9eb29 .index_module_content_child__9ce9eb29{line-height:1;padding:0}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_main_content__9ce9eb29 .index_module_content__9ce9eb29 .index_module_content_child__9ce9eb29 li,.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_main_content__9ce9eb29 .index_module_content__9ce9eb29 .index_module_content_child__9ce9eb29 p,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_main_content__9ce9eb29 .index_module_content__9ce9eb29 .index_module_content_child__9ce9eb29 li,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_main_content__9ce9eb29 .index_module_content__9ce9eb29 .index_module_content_child__9ce9eb29 p{color:rgba(0,0,0,.85);line-height:1.5}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_main_content__9ce9eb29 .index_module_content__9ce9eb29 .index_module_content_child__9ce9eb29>h3,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_main_content__9ce9eb29 .index_module_content__9ce9eb29 .index_module_content_child__9ce9eb29>h3{font-size:16px;font-weight:600;padding:10px 0}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_main_content__9ce9eb29 .index_module_content__9ce9eb29 .index_module_content_child__9ce9eb29 ol li p,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_main_content__9ce9eb29 .index_module_content__9ce9eb29 .index_module_content_child__9ce9eb29 ol li p{font-size:14px;font-weight:600;padding:4px 0}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_main_content__9ce9eb29 .index_module_content__9ce9eb29 .index_module_content_child__9ce9eb29 ol li>ul li,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_main_content__9ce9eb29 .index_module_content__9ce9eb29 .index_module_content_child__9ce9eb29 ol li>ul li{color:rgba(0,0,0,.65);list-style:inside}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_main_content__9ce9eb29 .index_module_content__9ce9eb29 pre,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_main_content__9ce9eb29 .index_module_content__9ce9eb29 pre{background:rgba(0,0,0,.05);line-height:1.5;margin:4px 0;padding:12px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal__9ce9eb29{height:24px;position:relative;right:0;text-align:right;top:-14px;visibility:hidden;white-space:nowrap;z-index:99999}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal__9ce9eb29 .index_module_operate__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal__9ce9eb29 .index_module_operate__9ce9eb29{align-items:center;background:#fff;border-radius:4px;box-shadow:0 4px 10px 0 rgba(0,0,0,.1);color:rgba(0,0,0,.45);display:inline-flex;line-height:1;padding:8px 0}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal__9ce9eb29 .index_module_operate__9ce9eb29 i,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal__9ce9eb29 .index_module_operate__9ce9eb29 i{color:rgba(0,0,0,.45);cursor:pointer;font-size:16px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal__9ce9eb29 .index_module_operate__9ce9eb29 i svg,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal__9ce9eb29 .index_module_operate__9ce9eb29 i svg{color:rgba(0,0,0,.65)}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal__9ce9eb29 .index_module_operate__9ce9eb29 .index_module_active__9ce9eb29,.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal__9ce9eb29 .index_module_operate__9ce9eb29 i:hover svg,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal__9ce9eb29 .index_module_operate__9ce9eb29 .index_module_active__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal__9ce9eb29 .index_module_operate__9ce9eb29 i:hover svg{color:#f4523b}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal__9ce9eb29 .index_module_operate__9ce9eb29 span,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal__9ce9eb29 .index_module_operate__9ce9eb29 span{margin:0 8px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal__9ce9eb29 .index_module_operate__9ce9eb29 .index_module_ask_question__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal__9ce9eb29 .index_module_operate__9ce9eb29 .index_module_ask_question__9ce9eb29{background-color:rgba(0,0,0,.04);color:rgba(0,0,0,.45);cursor:pointer;font-size:12px;line-height:1;margin-right:16px;padding:2px 8px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal_bottom__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal_bottom__9ce9eb29{align-items:center;display:flex;justify-content:space-between}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal_bottom__9ce9eb29 .index_module_operate__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal_bottom__9ce9eb29 .index_module_operate__9ce9eb29{color:rgba(0,0,0,.45);display:inline-block;line-height:1;padding:8px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal_bottom__9ce9eb29 .index_module_operate__9ce9eb29 i,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal_bottom__9ce9eb29 .index_module_operate__9ce9eb29 i{color:rgba(0,0,0,.45);cursor:pointer;font-size:16px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal_bottom__9ce9eb29 .index_module_operate__9ce9eb29 i svg,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal_bottom__9ce9eb29 .index_module_operate__9ce9eb29 i svg{color:rgba(0,0,0,.65)}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal_bottom__9ce9eb29 .index_module_operate__9ce9eb29 .index_module_active__9ce9eb29,.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal_bottom__9ce9eb29 .index_module_operate__9ce9eb29 i:hover svg,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal_bottom__9ce9eb29 .index_module_operate__9ce9eb29 .index_module_active__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal_bottom__9ce9eb29 .index_module_operate__9ce9eb29 i:hover svg{color:#f4523b}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal_bottom__9ce9eb29 .index_module_operate__9ce9eb29 span,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal_bottom__9ce9eb29 .index_module_operate__9ce9eb29 span{margin:0 16px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal_bottom__9ce9eb29 .index_module_stop_generate__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal_bottom__9ce9eb29 .index_module_stop_generate__9ce9eb29{color:rgba(0,0,0,.45);cursor:pointer;display:inline-block;font-size:12px;padding:8px 0}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal_bottom__9ce9eb29 .index_module_stop_generate__9ce9eb29 span,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal_bottom__9ce9eb29 .index_module_stop_generate__9ce9eb29 span{background-color:rgba(0,0,0,.45);border-radius:2px;display:inline-block;height:10px;margin-right:4px;width:10px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal_bottom__9ce9eb29 .index_module_stop_findTeacher__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal_bottom__9ce9eb29 .index_module_stop_findTeacher__9ce9eb29{color:rgba(0,0,0,.45);cursor:pointer;display:inline-block;font-size:12px;padding:8px 0}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal_bottom__9ce9eb29 .index_module_stop_findTeacher__9ce9eb29 span,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_main__9ce9eb29 .index_module_operate_modal_bottom__9ce9eb29 .index_module_stop_findTeacher__9ce9eb29 span{background-color:rgba(0,0,0,.04);color:rgba(0,0,0,.45);padding:2px 8px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_content__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29>li .index_module_content__9ce9eb29{display:inline-block;font-size:14px;padding:12px 16px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 .index_module_left__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 .index_module_left__9ce9eb29{justify-content:flex-end}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 .index_module_left__9ce9eb29 .index_module_main__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 .index_module_left__9ce9eb29 .index_module_main__9ce9eb29{text-align:right}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 li.index_module_left__9ce9eb29 .index_module_content__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 li.index_module_left__9ce9eb29 .index_module_content__9ce9eb29{background:#d1e4ff;border-radius:20px 2px 20px 20px;text-align:left}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 li.index_module_right__9ce9eb29 .index_module_content__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 li.index_module_right__9ce9eb29 .index_module_content__9ce9eb29{background:#fff;border-radius:2px 20px 20px 20px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 li .index_module_content__9ce9eb29 .index_module_association_problem__9ce9eb29 li,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 li .index_module_content__9ce9eb29 .index_module_association_problem__9ce9eb29 li{color:#5991ef;cursor:pointer;font-size:14px;font-weight:400;line-height:1.8}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 .index_module_time__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 .index_module_time__9ce9eb29{color:rgba(0,0,0,.25);display:block;font-size:12px;margin:40px 0 16px;position:relative;text-align:center}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 .index_module_time__9ce9eb29:before,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 .index_module_time__9ce9eb29:before{background-color:#ebebeb;content:"";display:inline-block;height:1px;position:relative;right:16px;top:-3px;width:100px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 .index_module_time__9ce9eb29:after,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 .index_module_time__9ce9eb29:after{background-color:#ebebeb;content:"";display:inline-block;height:1px;left:16px;position:relative;top:-3px;width:100px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 .index_module_citation_content__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 .index_module_citation_content__9ce9eb29{background:#e7e7e7;border-radius:2px;display:inline-block;margin-top:4px;padding:8px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 .index_module_citation_content__9ce9eb29 p,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 .index_module_citation_content__9ce9eb29 p{-webkit-box-orient:vertical;-webkit-line-clamp:2;color:rgba(0,0,0,.65);cursor:pointer;display:-webkit-box;font-size:12px;height:36px;line-height:1.5;overflow:hidden;text-align:left;text-overflow:ellipsis;word-break:break-all}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 .index_module_popover_content__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_message_con__9ce9eb29 .index_module_popover_content__9ce9eb29{max-width:400px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main_newlabo__9ce9eb29 pre,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main_newlabo__9ce9eb29 pre{background:#2b303b!important;color:#fff;overflow:auto}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main_newlabo__9ce9eb29 pre pre::-webkit-scrollbar,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main_newlabo__9ce9eb29 pre pre::-webkit-scrollbar{background-color:#eaedf1;background-color:transparent;height:4px;width:4px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_main_newlabo__9ce9eb29 pre pre::-webkit-scrollbar-thumb,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main_newlabo__9ce9eb29 pre pre::-webkit-scrollbar-thumb{background-color:#f4f4f4;border-radius:4px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29{bottom:0;position:absolute;width:100%}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_issues_list_teacherList__9ce9eb29 .index_module_item__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_issues_list_teacherList__9ce9eb29 .index_module_item__9ce9eb29{display:inline-block;margin-right:8px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_issues_list__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_issues_list__9ce9eb29{bottom:60px;line-height:1;padding:0 16px 4px;position:absolute}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_issues_list__9ce9eb29 .index_module_item__9ce9eb29>span,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_issues_list__9ce9eb29 .index_module_item__9ce9eb29>span{align-items:center;background:#ececec;border-radius:4px;cursor:pointer;display:inline-block;font-size:14px;justify-content:center;line-height:1;margin-bottom:2px;max-width:100%;overflow:hidden;padding:8px 16px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_issues_list__9ce9eb29 .index_module_item__9ce9eb29>span:hover,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_issues_list__9ce9eb29 .index_module_item__9ce9eb29>span:hover{background-color:#fff}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_issues_list__9ce9eb29 .index_module_item__9ce9eb29>span .index_module_sign__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_issues_list__9ce9eb29 .index_module_item__9ce9eb29>span .index_module_sign__9ce9eb29{color:#f4523b}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29{align-items:flex-end;display:flex;margin-bottom:12px;padding:0 16px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_input_wrap__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_input_wrap__9ce9eb29{align-items:flex-end;background-color:#fff;border:1px solid #ebebeb;border-radius:8px;justify-content:space-between;line-height:1;padding:11px 1px 11px 16px;position:relative;width:calc(100% - 36px)}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_input_wrap__9ce9eb29>.index_module_input__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_input_wrap__9ce9eb29>.index_module_input__9ce9eb29{line-height:1}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_input_wrap__9ce9eb29>.index_module_input__9ce9eb29 textarea,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_input_wrap__9ce9eb29>.index_module_input__9ce9eb29 textarea{border:none;box-shadow:none!important;max-height:100px;padding:0 48px 0 0;resize:none}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_input_wrap__9ce9eb29>.index_module_input__9ce9eb29 textarea.bhd-input,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_input_wrap__9ce9eb29>.index_module_input__9ce9eb29 textarea.bhd-input{line-height:1.5;min-height:21px!important}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_input_wrap__9ce9eb29>.index_module_input__9ce9eb29 .bhd-input[disabled],.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_input_wrap__9ce9eb29>.index_module_input__9ce9eb29 .bhd-input[disabled]{background-color:#fff!important}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_input_wrap__9ce9eb29>.index_module_no_AI__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_input_wrap__9ce9eb29>.index_module_no_AI__9ce9eb29{width:100%}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_input_wrap__9ce9eb29>.index_module_no_AI__9ce9eb29 textarea,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_input_wrap__9ce9eb29>.index_module_no_AI__9ce9eb29 textarea{padding-right:12px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_input_wrap__9ce9eb29 .index_module_voice__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_input_wrap__9ce9eb29 .index_module_voice__9ce9eb29{bottom:12px;position:absolute;right:14px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_input_wrap__9ce9eb29 .index_module_voice__9ce9eb29 i,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_input_wrap__9ce9eb29 .index_module_voice__9ce9eb29 i{cursor:pointer}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_input_wrap__9ce9eb29 .index_module_voice__9ce9eb29 i svg,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_input_wrap__9ce9eb29 .index_module_voice__9ce9eb29 i svg{color:rgba(0,0,0,.65);font-size:20px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_input_wrap__9ce9eb29 .index_module_voice__9ce9eb29 .index_module_voice_btn__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_input_wrap__9ce9eb29 .index_module_voice__9ce9eb29 .index_module_voice_btn__9ce9eb29{bottom:-6px;cursor:pointer;position:absolute;right:0;width:32px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_input_wrap__9ce9eb29 .index_module_content_main__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_input_wrap__9ce9eb29 .index_module_content_main__9ce9eb29{align-items:center;display:flex;width:calc(100% - 24px)}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_input_wrap__9ce9eb29 .index_module_content_main__9ce9eb29 .index_module_content_con__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_input_wrap__9ce9eb29 .index_module_content_main__9ce9eb29 .index_module_content_con__9ce9eb29{align-items:center;background:#e7e7e7;display:inline-block;margin-top:6px;padding:8px;width:calc(100% - 60px)}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_input_wrap__9ce9eb29 .index_module_content_main__9ce9eb29 .index_module_content_con__9ce9eb29 p,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_input_wrap__9ce9eb29 .index_module_content_main__9ce9eb29 .index_module_content_con__9ce9eb29 p{-webkit-box-orient:vertical;-webkit-line-clamp:2;border-radius:2px;color:rgba(0,0,0,.65);display:-webkit-box;font-size:12px;height:36px;line-height:1.5;overflow:hidden;text-overflow:ellipsis;word-break:break-all}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_input_wrap__9ce9eb29 .index_module_content_main__9ce9eb29 .index_module_delete_quote__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_input_wrap__9ce9eb29 .index_module_content_main__9ce9eb29 .index_module_delete_quote__9ce9eb29{color:#bfbfbf;font-size:18px;margin-top:6px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_sending__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_sending__9ce9eb29{margin-bottom:9px;margin-left:16px;width:20px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_sending__9ce9eb29 i svg,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_sending__9ce9eb29 i svg{color:rgba(0,0,0,.65);font-size:20px}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_sending__9ce9eb29 .index_module_disabled__9ce9eb29 svg,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29 .index_module_Drawer_buttom__9ce9eb29 .index_module_sending__9ce9eb29 .index_module_disabled__9ce9eb29 svg{color:rgba(0,0,0,.25);cursor:not-allowed}.index_module_ChatWindow_Drawer__9ce9eb29 .index_module_Drawer_buttom_Issues_List_newlabo__9ce9eb29,.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_buttom_Issues_List_newlabo__9ce9eb29{background-color:#f5f5f5!important}.index_module_ChatWindow_Drawer__9ce9eb29 .anticon,.index_module_ChatWindow_Modal__9ce9eb29 .anticon{vertical-align:0}.index_module_ChatWindow_Drawer__9ce9eb29{background:#f5f5f5!important;height:100%;position:relative}.index_module_ChatWindow_Drawer__9ce9eb29 .bhd-drawer-header{display:none!important}.index_module_ChatWindow_Modal__9ce9eb29 .bhd-modal{border-radius:8px;overflow:hidden;position:relative}.index_module_ChatWindow_Modal__9ce9eb29 .bhd-modal-content{background-color:#f5f5f5!important;height:100%}.index_module_ChatWindow_Modal__9ce9eb29 .bhd-modal-content .bhd-modal-close,.index_module_ChatWindow_Modal__9ce9eb29 .bhd-modal-header{display:none!important}.index_module_ChatWindow_Modal__9ce9eb29 .bhd-modal-body{border-radius:4px!important;height:100%;padding:0!important}.index_module_ChatWindow_Modal__9ce9eb29 .bhd-drawer-right>.bhd-drawer-content-wrapper{height:790px;right:200px;top:129px}.index_module_ChatWindow_Modal__9ce9eb29 .index_module_main_list__9ce9eb29{max-height:650px}.index_module_ChatWindow_Modal__9ce9eb29 .index_module_user__9ce9eb29{padding-left:0!important}.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_buttom_Issues_List__9ce9eb29{border-radius:4px;margin-left:328px;width:calc(100% - 328px)}.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29{max-height:700px}.index_module_ChatWindow_Modal__9ce9eb29 .index_module_Drawer_main__9ce9eb29 .index_module_chat_content__9ce9eb29{display:inline-block;margin-left:328px;width:calc(100% - 328px)}.index_module_popover_main_content__9ce9eb29{background-color:#fff!important;border:1px solid rgba(0,0,0,.15);border-radius:4px;box-shadow:0 2px 6px 0 rgba(0,0,0,.06);max-width:340px!important;min-width:300px!important}.index_module_popover_main_content__9ce9eb29 .bhd-tooltip-content{background-color:#fff;border-radius:4px}.index_module_popover_main_content__9ce9eb29 .bhd-tooltip-content .bhd-tooltip-inner{background-color:#fff;border-radius:4px;color:rgba(0,0,0,.85);font-size:14px;padding:12px 16px}.index_module_popover_main_content__9ce9eb29 .bhd-tooltip-arrow:before{background:#ccc!important}.index_module_popover_main_content__9ce9eb29 .bhd-tooltip-arrow:after{background:transparent!important;border:5px solid transparent;border-bottom-color:#fff;bottom:0!important;box-shadow:none!important;height:0!important;left:0!important;right:0!important;transform:none!important;width:0!important}.index_module_history_list__81d1a4f5{background:rgba(0,0,0,.3);height:100%;overflow:hidden;position:absolute;top:0;width:100%}.index_module_history_list__81d1a4f5 .index_module_search_layout__81d1a4f5{animation:index_module_mymove__81d1a4f5 1s forwards;background:#fff;border-radius:16px 16px 0 0;bottom:-500px;overflow:hidden;position:absolute;width:100%}.index_module_history_list__81d1a4f5 .index_module_search_layout__81d1a4f5 .index_module_title__81d1a4f5{border-bottom:1px solid rgba(0,0,0,.15);display:flex;font-size:16px;font-weight:600;justify-content:space-between;line-height:150%;padding:16px}.index_module_history_list__81d1a4f5 .index_module_search_layout__81d1a4f5 .index_module_title__81d1a4f5 svg{cursor:pointer;font-size:12px;font-weight:300;opacity:.65}.index_module_history_list__81d1a4f5 .index_module_search_layout__81d1a4f5 .index_module_search_top__81d1a4f5{background-color:#fff;margin:16px 24px;position:relative}.index_module_history_list__81d1a4f5 .index_module_search_layout__81d1a4f5 .index_module_search_top__81d1a4f5 input{border:1px solid #ebebeb;border-radius:2px;color:rgba(0,0,0,.85);height:40px;line-height:40px;padding-left:46px;padding-right:30px;width:100%}.index_module_history_list__81d1a4f5 .index_module_search_layout__81d1a4f5 .index_module_search_top__81d1a4f5 .anticon{color:rgba(0,0,0,.65);font-size:16px;left:14px;position:absolute;top:11px;z-index:1}.index_module_history_list__81d1a4f5 .index_module_search_layout__81d1a4f5 .index_module_search_top__81d1a4f5 .guanbi_Close{color:rgba(0,0,0,.65);cursor:pointer;font-size:16px;position:absolute;right:38px;top:2px;z-index:1}.index_module_history_list__81d1a4f5 .index_module_search_layout__81d1a4f5 .index_module_search_top__81d1a4f5 .guanbi_Close svg{font-size:12px;opacity:.65}.index_module_history_list__81d1a4f5 .index_module_search_layout__81d1a4f5 .index_module_search_top__81d1a4f5 svg{font-weight:300;opacity:.65}.index_module_history_list__81d1a4f5 .index_module_search_layout__81d1a4f5 .index_module_main_list__81d1a4f5:first-child{margin-top:0}.index_module_history_list__81d1a4f5 .index_module_search_layout__81d1a4f5 .index_module_main_list__81d1a4f5{height:510px;overflow:auto}.index_module_history_list__81d1a4f5 .index_module_search_layout__81d1a4f5 .index_module_main_list__81d1a4f5::-webkit-scrollbar{background-color:#eaedf1;background-color:transparent;height:4px;width:4px}.index_module_history_list__81d1a4f5 .index_module_search_layout__81d1a4f5 .index_module_main_list__81d1a4f5::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.25);border-radius:4px}.index_module_history_list__81d1a4f5 .index_module_search_layout__81d1a4f5 .index_module_main_list__81d1a4f5 .index_module_list__81d1a4f5{cursor:pointer;margin:8px 24px 17px;padding:8px;position:relative}.index_module_history_list__81d1a4f5 .index_module_search_layout__81d1a4f5 .index_module_main_list__81d1a4f5 .index_module_list__81d1a4f5:hover{background-color:rgba(0,0,0,.04);border-radius:8px}.index_module_history_list__81d1a4f5 .index_module_search_layout__81d1a4f5 .index_module_main_list__81d1a4f5 .index_module_list__81d1a4f5:before{background-color:#ebebeb;bottom:-9px;content:"";display:inline-block;height:1px;left:-1px;position:absolute;width:100%}.index_module_history_list__81d1a4f5 .index_module_search_layout__81d1a4f5 .index_module_main_list__81d1a4f5 .index_module_list__81d1a4f5 .index_module_name__81d1a4f5{align-items:center;display:flex;justify-content:space-between;margin-bottom:9px}.index_module_history_list__81d1a4f5 .index_module_search_layout__81d1a4f5 .index_module_main_list__81d1a4f5 .index_module_list__81d1a4f5 .index_module_name__81d1a4f5 p{color:rgba(0,0,0,.85);font-size:16px;font-weight:600;line-height:1.5}.index_module_history_list__81d1a4f5 .index_module_search_layout__81d1a4f5 .index_module_main_list__81d1a4f5 .index_module_list__81d1a4f5 .index_module_name__81d1a4f5 .index_module_time__81d1a4f5{color:#8c8c8c;font-size:14px}.index_module_history_list__81d1a4f5 .index_module_search_layout__81d1a4f5 .index_module_main_list__81d1a4f5 .index_module_list__81d1a4f5 .index_module_con__81d1a4f5{color:rgba(0,0,0,.85);font-size:14px;font-weight:400;line-height:150%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.index_module_history_list__81d1a4f5 .index_module_search_layout__81d1a4f5 .index_module_main_list__81d1a4f5 .index_module_list__81d1a4f5 .index_module_con__81d1a4f5 span{color:#f4523b}@keyframes index_module_mymove__81d1a4f5{0%{bottom:-500px}to{bottom:0}}.index_module_history_list__81d1a4f5 .anticon{vertical-align:0}.index_module_history_list_broadside__81d1a4f5{background:transparent;border-radius:0 8px 8px 0;height:calc(100% - 50px);right:0;top:48px;width:417px}.index_module_history_list_broadside__81d1a4f5 .index_module_search_layout__81d1a4f5{border-radius:0;height:100%}.index_module_history_list_broadside__81d1a4f5 .index_module_search_layout__81d1a4f5 .index_module_main_list__81d1a4f5{height:calc(100% - 140px);max-height:calc(100% - 140px)}.index_module_teacher_layout__5df53994{-webkit-backdrop-filter:blur(7.5px);backdrop-filter:blur(7.5px);background:hsla(0,0%,100%,.5);border-radius:8px;box-shadow:0 4px 10px 0 rgba(0,0,0,.05);position:fixed;right:568px;width:80px}.index_module_teacher_layout__5df53994 .index_module_bottom__5df53994>div,.index_module_teacher_layout__5df53994 .index_module_top__5df53994>div{align-items:center;border-radius:8px;cursor:pointer;display:flex;flex-direction:column;margin:8px 0;max-width:60px;overflow:hidden;padding:8px;position:relative}.index_module_teacher_layout__5df53994 .index_module_bottom__5df53994>div:hover,.index_module_teacher_layout__5df53994 .index_module_top__5df53994>div:hover{background-color:#f5f5f5}.index_module_teacher_layout__5df53994 .index_module_bottom__5df53994>div:hover .index_module_delete__5df53994,.index_module_teacher_layout__5df53994 .index_module_top__5df53994>div:hover .index_module_delete__5df53994{display:block}.index_module_teacher_layout__5df53994 .index_module_bottom__5df53994>div p,.index_module_teacher_layout__5df53994 .index_module_top__5df53994>div p{color:rgba(0,0,0,.65);font-size:12px;line-height:1;max-width:60px;overflow:hidden;padding-top:12px;text-overflow:ellipsis;white-space:nowrap}.index_module_teacher_layout__5df53994 .index_module_bottom__5df53994>div img,.index_module_teacher_layout__5df53994 .index_module_top__5df53994>div img{border-radius:50%;height:32px;width:32px}.index_module_teacher_layout__5df53994 .index_module_bottom__5df53994>div .index_module_num__5df53994,.index_module_teacher_layout__5df53994 .index_module_top__5df53994>div .index_module_num__5df53994{background-color:#f4523b;border-radius:26px;border-radius:25px;color:#fff;font-size:12px;line-height:1.2;padding:2px 5px;position:absolute;right:0;top:0}.index_module_teacher_layout__5df53994 .index_module_bottom__5df53994>div .index_module_delete__5df53994,.index_module_teacher_layout__5df53994 .index_module_top__5df53994>div .index_module_delete__5df53994{color:rgba(0,0,0,.65);display:none;font-size:18px;font-size:14px;position:absolute;right:0;top:-2px}.index_module_teacher_layout__5df53994 .index_module_top__5df53994>div{margin:0 8px}.index_module_teacher_layout__5df53994 .index_module_top__5df53994 .index_module_shrink__5df53994{border-bottom:1px solid #ebebeb;border-radius:0;margin-bottom:8px;margin-top:8px}.index_module_teacher_layout__5df53994 .index_module_top__5df53994 .index_module_shrink__5df53994>span{font-size:20px}.index_module_teacher_layout__5df53994 .index_module_top__5df53994 .index_module_shrink__5df53994 p{padding-top:0}.index_module_teacher_layout__5df53994 .index_module_top__5df53994 .index_module_shrink__5df53994:hover{background-color:#fff}.index_module_teacher_layout__5df53994 .index_module_bottom__5df53994 .index_module_active__5df53994,.index_module_teacher_layout__5df53994 .index_module_top__5df53994 .index_module_active__5df53994{background:#ffe8e0}.index_module_teacher_layout__5df53994 .index_module_bottom__5df53994>div:last-child{margin-bottom:0}.index_module_teacher_layout__5df53994 .index_module_bottom__5df53994>div:first-child{margin-top:0}.index_module_teacher_layout__5df53994 .index_module_bottom__5df53994{margin-bottom:8px;margin-top:8px;max-height:524px;overflow-y:auto;padding:0 4px 0 8px}.index_module_teacher_layout__5df53994 .index_module_bottom__5df53994::-webkit-scrollbar{background-color:#eaedf1;background-color:transparent;height:4px;width:4px}.index_module_teacher_layout__5df53994 .index_module_bottom__5df53994::-webkit-scrollbar-thumb{background-color:rgba(0,0,0,.25);border-radius:4px}.index_module_teacher_layout_newlabo__5df53994{right:0;top:50px}.index_module_teacher_layout_modal__5df53994{background-color:#fff;border-top:1px solid #ebebeb;height:100%;position:absolute;width:328px}.index_module_teacher_layout_modal__5df53994 .index_module_bottom__5df53994 .index_module_ai__5df53994,.index_module_teacher_layout_modal__5df53994 .index_module_top__5df53994 .index_module_ai__5df53994{align-items:center;border-bottom:1px solid #ebebeb;cursor:pointer;display:flex;padding:16px}.index_module_teacher_layout_modal__5df53994 .index_module_bottom__5df53994 .index_module_ai__5df53994 img,.index_module_teacher_layout_modal__5df53994 .index_module_top__5df53994 .index_module_ai__5df53994 img{border-radius:50%;height:32px;margin-right:12px;width:32px}.index_module_teacher_layout_modal__5df53994 .index_module_bottom__5df53994 .index_module_ai__5df53994>span,.index_module_teacher_layout_modal__5df53994 .index_module_top__5df53994 .index_module_ai__5df53994>span{margin-right:12px}.index_module_teacher_layout_modal__5df53994 .index_module_bottom__5df53994 .index_module_ai__5df53994 .index_module_user_info__5df53994,.index_module_teacher_layout_modal__5df53994 .index_module_top__5df53994 .index_module_ai__5df53994 .index_module_user_info__5df53994{width:252px}.index_module_teacher_layout_modal__5df53994 .index_module_bottom__5df53994 .index_module_ai__5df53994 .index_module_user_info__5df53994 .index_module_message__5df53994,.index_module_teacher_layout_modal__5df53994 .index_module_top__5df53994 .index_module_ai__5df53994 .index_module_user_info__5df53994 .index_module_message__5df53994{color:#000;font-size:14px;line-height:1;padding-right:10px}.index_module_teacher_layout_modal__5df53994 .index_module_bottom__5df53994 .index_module_ai__5df53994 .index_module_user_info__5df53994 .index_module_message__5df53994 .index_module_num__5df53994,.index_module_teacher_layout_modal__5df53994 .index_module_top__5df53994 .index_module_ai__5df53994 .index_module_user_info__5df53994 .index_module_message__5df53994 .index_module_num__5df53994{background-color:#f4523b;border-radius:26px;border-radius:25px;color:#fff;font-size:12px;line-height:1.2;margin-left:12px;padding:2px 5px}.index_module_teacher_layout_modal__5df53994 .index_module_bottom__5df53994 .index_module_ai__5df53994 .index_module_user_info__5df53994 .index_module_message__5df53994 .index_module_time__5df53994,.index_module_teacher_layout_modal__5df53994 .index_module_top__5df53994 .index_module_ai__5df53994 .index_module_user_info__5df53994 .index_module_message__5df53994 .index_module_time__5df53994{color:rgba(0,0,0,.25);float:right;font-size:12px}.index_module_teacher_layout_modal__5df53994 .index_module_bottom__5df53994 .index_module_ai__5df53994 .index_module_user_info__5df53994 .index_module_con__5df53994,.index_module_teacher_layout_modal__5df53994 .index_module_top__5df53994 .index_module_ai__5df53994 .index_module_user_info__5df53994 .index_module_con__5df53994{color:rgba(0,0,0,.25);font-size:12px;line-height:1.5;margin-top:8px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.index_module_teacher_layout_modal__5df53994 .index_module_bottom__5df53994 .index_module_active__5df53994,.index_module_teacher_layout_modal__5df53994 .index_module_top__5df53994 .index_module_active__5df53994{background:var(--color-background-primary-weak,#fff4f0)}.index_module_teacher_layout_modal__5df53994 .anticon{vertical-align:0}
@@ -0,0 +1 @@
1
+ import{j as e,_ as n,a as t,I as o,b as i,c as r,S as c,d as a,C as s,z as l,e as d,f as u,g as m,h as h,t as f,i as g,k as _,R as C,D as v,M as p,H as w,l as I,T as x}from"./1bddec89.esm.es5.production.js";import{useState as N,useRef as b,useEffect as L}from"react";import{render as k}from"react-dom";import{Fragment as y}from"react/jsx-runtime";var A={service_ChatWindow_Drawer:"index_module_service_ChatWindow_Drawer__9ce9eb29",ChatWindow_Modal:"index_module_ChatWindow_Modal__9ce9eb29",ChatWindow_Drawer:"index_module_ChatWindow_Drawer__9ce9eb29",header_wrap:"index_module_header_wrap__9ce9eb29",top:"index_module_top__9ce9eb29",user:"index_module_user__9ce9eb29",operate:"index_module_operate__9ce9eb29",line:"index_module_line__9ce9eb29",header_wrap_newlabo:"index_module_header_wrap_newlabo__9ce9eb29",Drawer_main:"index_module_Drawer_main__9ce9eb29",loading:"index_module_loading__9ce9eb29",message_con:"index_module_message_con__9ce9eb29",left:"index_module_left__9ce9eb29",head_sculpture:"index_module_head_sculpture__9ce9eb29",right:"index_module_right__9ce9eb29",main:"index_module_main__9ce9eb29",main_content:"index_module_main_content__9ce9eb29",operate_modal:"index_module_operate_modal__9ce9eb29",content:"index_module_content__9ce9eb29",content_child:"index_module_content_child__9ce9eb29",active:"index_module_active__9ce9eb29",ask_question:"index_module_ask_question__9ce9eb29",operate_modal_bottom:"index_module_operate_modal_bottom__9ce9eb29",stop_generate:"index_module_stop_generate__9ce9eb29",stop_findTeacher:"index_module_stop_findTeacher__9ce9eb29",association_problem:"index_module_association_problem__9ce9eb29",time:"index_module_time__9ce9eb29",citation_content:"index_module_citation_content__9ce9eb29",popover_content:"index_module_popover_content__9ce9eb29",Drawer_main_newlabo:"index_module_Drawer_main_newlabo__9ce9eb29",Drawer_buttom_Issues_List:"index_module_Drawer_buttom_Issues_List__9ce9eb29",issues_list_teacherList:"index_module_issues_list_teacherList__9ce9eb29",item:"index_module_item__9ce9eb29",issues_list:"index_module_issues_list__9ce9eb29",sign:"index_module_sign__9ce9eb29",Drawer_buttom:"index_module_Drawer_buttom__9ce9eb29",input_wrap:"index_module_input_wrap__9ce9eb29",input:"index_module_input__9ce9eb29",no_AI:"index_module_no_AI__9ce9eb29",voice:"index_module_voice__9ce9eb29",voice_btn:"index_module_voice_btn__9ce9eb29",content_main:"index_module_content_main__9ce9eb29",content_con:"index_module_content_con__9ce9eb29",delete_quote:"index_module_delete_quote__9ce9eb29",sending:"index_module_sending__9ce9eb29",disabled:"index_module_disabled__9ce9eb29",Drawer_buttom_Issues_List_newlabo:"index_module_Drawer_buttom_Issues_List_newlabo__9ce9eb29",main_list:"index_module_main_list__9ce9eb29",chat_content:"index_module_chat_content__9ce9eb29",popover_main_content:"index_module_popover_main_content__9ce9eb29"},S=function(){return e("svg",{className:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8340",width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true",children:e("path",{d:"M21.41203 22.311627a73.0786 73.0786 0 0 1 103.33314 0L511.550201 409.116658 898.355232 22.311627a73.0786 73.0786 0 1 1 103.333141 103.333141L614.883342 512.449799l386.805031 386.805031a73.0786 73.0786 0 0 1-103.333141 103.33314L511.550201 615.782939l-386.805031 386.805031a73.0786 73.0786 0 0 1-103.33314-103.33314L408.217061 512.449799 21.41203 125.644768a73.0786 73.0786 0 0 1 0-103.333141z","p-id":"8341"})})},M=function(i){return e(o,n(t({},i),{component:S}))},D=function(){return i("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16","shape-rendering":"geometricPrecision",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[e("g",{"clip-path":"url(#clip0_518_8403)",children:e("path",{d:"M8 14.6667C11.682 14.6667 14.6667 11.682 14.6667 8C14.6667 4.318 11.682 1.33333 8 1.33333C4.318 1.33333 1.33333 4.318 1.33333 8C1.33333 11.682 4.318 14.6667 8 14.6667ZM8 16C3.582 16 0 12.418 0 8C0 3.582 3.582 0 8 0C12.418 0 16 3.582 16 8C16 12.418 12.418 16 8 16ZM8.66667 8.39267V4.66467C8.66667 4.302 8.368 4 8 4C7.62933 4 7.33333 4.29733 7.33333 4.66467V8.66867C7.33277 8.75518 7.34933 8.84096 7.38205 8.92105C7.41477 9.00114 7.46302 9.07396 7.524 9.13533L9.41867 11.03C9.48048 11.0914 9.55381 11.1401 9.63446 11.1731C9.71511 11.2061 9.80149 11.2229 9.88864 11.2225C9.97578 11.222 10.062 11.2044 10.1423 11.1706C10.2226 11.1367 10.2955 11.0874 10.3567 11.0253C10.4808 10.9011 10.551 10.7329 10.5519 10.5573C10.5527 10.3817 10.4843 10.2128 10.3613 10.0873L8.66667 8.39267Z"})}),e("defs",{children:e("clipPath",{id:"clip0_518_8403",children:e("rect",{width:"1em",height:"1em",fill:"white"})})})]})},H=function(i){return e(o,n(t({},i),{component:D}))},V=function(){return e("svg",{width:"1em",height:"1em","shape-rendering":"geometricPrecision",fill:"currentColor",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M10.2 2.79995C10.2 2.46858 10.4686 2.19995 10.8 2.19995L13.2 2.19995C13.5313 2.19995 13.8 2.46858 13.8 2.79995V5.19995C13.8 5.53132 13.5313 5.79995 13.2 5.79995C12.8686 5.79995 12.6 5.53132 12.6 5.19995V4.24848L10.4242 6.42422C10.1899 6.65853 9.81 6.65853 9.57569 6.42422C9.34137 6.1899 9.34137 5.81 9.57569 5.57569L11.7514 3.39995H10.8C10.4686 3.39995 10.2 3.13132 10.2 2.79995ZM2.19995 2.79995C2.19995 2.46858 2.46858 2.19995 2.79995 2.19995H5.19995C5.53132 2.19995 5.79995 2.46858 5.79995 2.79995C5.79995 3.13132 5.53132 3.39995 5.19995 3.39995H4.24848L6.42422 5.57569C6.65853 5.81 6.65853 6.1899 6.42422 6.42422C6.1899 6.65853 5.81 6.65853 5.57569 6.42422L3.39995 4.24848V5.19995C3.39995 5.53132 3.13132 5.79995 2.79995 5.79995C2.46858 5.79995 2.19995 5.53132 2.19995 5.19995V2.79995ZM6.42422 9.57569C6.65853 9.81 6.65853 10.1899 6.42422 10.4242L4.24848 12.6H5.19995C5.53132 12.6 5.79995 12.8686 5.79995 13.2C5.79995 13.5313 5.53132 13.8 5.19995 13.8H2.79995C2.64082 13.8 2.48821 13.7367 2.37569 13.6242C2.26317 13.5117 2.19995 13.3591 2.19995 13.2L2.19995 10.8C2.19995 10.4686 2.46858 10.2 2.79995 10.2C3.13132 10.2 3.39995 10.4686 3.39995 10.8L3.39995 11.7514L5.57569 9.57569C5.81 9.34137 6.1899 9.34137 6.42422 9.57569ZM9.57569 9.57569C9.81 9.34137 10.1899 9.34137 10.4242 9.57569L12.6 11.7514V10.8C12.6 10.4686 12.8686 10.2 13.2 10.2C13.5313 10.2 13.8 10.4686 13.8 10.8V13.2C13.8 13.5313 13.5313 13.8 13.2 13.8H10.8C10.4686 13.8 10.2 13.5313 10.2 13.2C10.2 12.8686 10.4686 12.6 10.8 12.6H11.7514L9.57569 10.4242C9.34137 10.1899 9.34137 9.81 9.57569 9.57569Z"})})},B=function(i){return e(o,n(t({},i),{component:V}))},T=function(){return e("svg",{className:"icon",width:"1em",height:"1em","shape-rendering":"geometricPrecision",fill:"currentColor",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg",version:"1.1","p-id":"8340","aria-hidden":"true",children:e("path",{d:"M2.37575 2.37575C2.61006 2.14143 2.98996 2.14143 3.22428 2.37575L5.40001 4.55148V3.60001C5.40001 3.26864 5.66864 3.00001 6.00001 3.00001C6.33138 3.00001 6.60001 3.26864 6.60001 3.60001V6.00001C6.60001 6.33138 6.33138 6.60001 6.00001 6.60001H3.60001C3.26864 6.60001 3.00001 6.33138 3.00001 6.00001C3.00001 5.66864 3.26864 5.40001 3.60001 5.40001H4.55148L2.37575 3.22428C2.14143 2.98996 2.14143 2.61006 2.37575 2.37575ZM13.6243 2.37575C13.8586 2.61006 13.8586 2.98996 13.6243 3.22428L11.4485 5.40001H12.4C12.7314 5.40001 13 5.66864 13 6.00001C13 6.33138 12.7314 6.60001 12.4 6.60001H10C9.66864 6.60001 9.40001 6.33138 9.40001 6.00001V3.60001C9.40001 3.26864 9.66864 3.00001 10 3.00001C10.3314 3.00001 10.6 3.26864 10.6 3.60001V4.55148L12.7757 2.37575C13.0101 2.14143 13.39 2.14143 13.6243 2.37575ZM3.60001 10.6C3.26864 10.6 3.00001 10.3314 3.00001 10C3.00001 9.66864 3.26864 9.40001 3.60001 9.40001H6.00001C6.33138 9.40001 6.60001 9.66864 6.60001 10V12.4C6.60001 12.7314 6.33138 13 6.00001 13C5.66864 13 5.40001 12.7314 5.40001 12.4V11.4485L3.22428 13.6243C2.98996 13.8586 2.61006 13.8586 2.37575 13.6243C2.14143 13.39 2.14143 13.0101 2.37575 12.7757L4.55148 10.6H3.60001ZM9.40001 10C9.40001 9.66864 9.66864 9.40001 10 9.40001H12.4C12.7314 9.40001 13 9.66864 13 10C13 10.3314 12.7314 10.6 12.4 10.6H11.4485L13.6243 12.7757C13.8586 13.0101 13.8586 13.39 13.6243 13.6243C13.39 13.8586 13.0101 13.8586 12.7757 13.6243L10.6 11.4485V12.4C10.6 12.7314 10.3314 13 10 13C9.66864 13 9.40001 12.7314 9.40001 12.4V10Z"})})},Z=function(i){return e(o,n(t({},i),{component:T}))},q=function(){return e("svg",{className:"icon",viewBox:"0 0 14 14",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8340",width:"1em",height:"1em",fill:"currentColor","shape-rendering":"geometricPrecision","aria-hidden":"true",children:e("path",{d:"M8 3.80001C7.27938 3.80001 6.60141 3.97512 6.00464 4.2846C5.71048 4.43715 5.34834 4.32235 5.19579 4.02818C5.04324 3.73401 5.15804 3.37187 5.4522 3.21932C6.21563 2.82342 7.0826 2.60001 8 2.60001C11.0603 2.60001 13.5412 5.08088 13.5412 8.14118C13.5412 8.40936 13.5221 8.67343 13.4851 8.93202C13.4737 9.01141 13.4607 9.09026 13.446 9.16853L13.7175 9.02364C14.0098 8.86759 14.3733 8.97808 14.5293 9.27041C14.6854 9.56274 14.5749 9.92622 14.2825 10.0823L12.6718 10.9421C12.3819 11.0968 12.0215 10.9896 11.8633 10.7016L11.0035 9.13588C10.844 8.84542 10.9501 8.48065 11.2406 8.32115C11.5311 8.16164 11.8958 8.2678 12.0553 8.55825L12.2672 8.94405C12.2784 8.88383 12.2885 8.82318 12.2972 8.76211C12.3261 8.55962 12.3412 8.35233 12.3412 8.14118C12.3412 5.74362 10.3976 3.80001 8 3.80001ZM3.32824 5.34029C3.61811 5.18556 3.97853 5.29278 4.13669 5.58079L4.99651 7.14649C5.15601 7.43694 5.04986 7.80171 4.7594 7.96122C4.46895 8.12072 4.10418 8.01457 3.94467 7.72411L3.73281 7.33832C3.72156 7.39853 3.71155 7.45919 3.70282 7.52026C3.67386 7.72275 3.65883 7.93003 3.65883 8.14118C3.65883 10.5387 5.60244 12.4824 8 12.4824C8.72063 12.4824 9.39859 12.3072 9.99536 11.9978C10.2895 11.8452 10.6517 11.96 10.8042 12.2542C10.9568 12.5484 10.842 12.9105 10.5478 13.063C9.78437 13.4589 8.9174 13.6824 8 13.6824C4.93969 13.6824 2.45883 11.2015 2.45883 8.14118C2.45883 7.87301 2.47792 7.60894 2.51491 7.35034C2.52627 7.27095 2.5393 7.19211 2.55399 7.11384L2.28254 7.25873C1.99021 7.41477 1.62673 7.30429 1.47069 7.01196C1.31465 6.71963 1.42513 6.35615 1.71746 6.20011L3.32824 5.34029Z"})})},O=function(i){return e(o,n(t({},i),{component:q}))},P=function(){return i("svg",{width:"1em",height:"1em",viewBox:"0 0 14 14","shape-rendering":"geometricPrecision",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[e("g",{"clip-path":"url(#clip0_518_8403)",children:e("path",{d:"M6.16666 1.66666H13.1667C13.4761 1.66666 13.7728 1.78957 13.9916 2.00837C14.2104 2.22716 14.3333 2.5239 14.3333 2.83332V9.83332C14.3333 10.1427 14.2104 10.4395 13.9916 10.6583C13.7728 10.8771 13.4761 11 13.1667 11H6.16666C5.85724 11 5.5605 10.8771 5.34171 10.6583C5.12291 10.4395 5 10.1427 5 9.83332V2.83332C5 2.5239 5.12291 2.22716 5.34171 2.00837C5.5605 1.78957 5.85724 1.66666 6.16666 1.66666ZM6.16666 2.66666C6.12246 2.66666 6.08007 2.68422 6.04881 2.71547C6.01756 2.74673 6 2.78912 6 2.83332V9.83332C6 9.85521 6.00431 9.87688 6.01268 9.8971C6.02106 9.91732 6.03334 9.9357 6.04881 9.95117C6.06429 9.96665 6.08266 9.97893 6.10288 9.9873C6.1231 9.99568 6.14478 9.99999 6.16666 9.99999H13.1667C13.2109 9.99999 13.2533 9.98243 13.2845 9.95117C13.3158 9.91992 13.3333 9.87753 13.3333 9.83332V2.83332C13.3333 2.78912 13.3158 2.74673 13.2845 2.71547C13.2533 2.68422 13.2109 2.66666 13.1667 2.66666H6.16666ZM10 12C10 11.8674 10.0527 11.7402 10.1464 11.6464C10.2402 11.5527 10.3674 11.5 10.5 11.5C10.6326 11.5 10.7598 11.5527 10.8536 11.6464C10.9473 11.7402 11 11.8674 11 12V13.1667C11 13.4761 10.8771 13.7728 10.6583 13.9916C10.4395 14.2104 10.1427 14.3333 9.83333 14.3333H2.83333C2.52391 14.3333 2.22717 14.2104 2.00837 13.9916C1.78958 13.7728 1.66666 13.4761 1.66666 13.1667V6.16666C1.66666 5.85724 1.78958 5.56049 2.00837 5.3417C2.22717 5.12291 2.52391 4.99999 2.83333 4.99999H4C4.13261 4.99999 4.25978 5.05267 4.35355 5.14644C4.44732 5.2402 4.5 5.36738 4.5 5.49999C4.5 5.6326 4.44732 5.75978 4.35355 5.85354C4.25978 5.94731 4.13261 5.99999 4 5.99999H2.83333C2.78913 5.99999 2.74674 6.01755 2.71548 6.04881C2.68422 6.08006 2.66666 6.12245 2.66666 6.16666V13.1667C2.66666 13.2109 2.68422 13.2533 2.71548 13.2845C2.74674 13.3158 2.78913 13.3333 2.83333 13.3333H9.83333C9.87753 13.3333 9.91993 13.3158 9.95118 13.2845C9.98244 13.2533 10 13.2109 10 13.1667V12Z"})}),e("defs",{children:e("clipPath",{id:"clip0_518_8403",children:e("rect",{width:"16",height:"16"})})})]})},j=function(i){return e(o,n(t({},i),{component:P}))},E=function(){return e("svg",{width:"1em",height:"1em",viewBox:"0 0 16 16","shape-rendering":"geometricPrecision",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M14.9948 7.82355C14.999 7.88679 14.9948 7.95002 14.978 8.01326L13.7172 13.4046C13.7003 13.4699 13.6709 13.527 13.633 13.58C13.4983 13.8411 13.292 14.0716 13.0205 14.2409C12.7321 14.4184 12.4122 14.5 12.0944 14.5V14.4959L4.00144 14.4918C3.97408 14.4959 3.94461 14.498 3.91514 14.498C3.88568 14.498 3.85621 14.4959 3.82885 14.4918H1.67564C1.64617 14.4959 1.6146 14.5 1.58303 14.5C1.26099 14.5 1 14.2471 1 13.935L1.00631 7.1504C1.00631 6.8383 1.26731 6.58536 1.58934 6.58536C1.6125 6.58536 1.63775 6.5874 1.66091 6.58944L3.59522 6.58536V6.57516C5.37587 6.45073 6.78609 5.03711 6.8366 3.29303C6.83239 3.24408 6.82818 3.19512 6.82818 3.14412C6.82818 2.23639 7.58802 1.5 8.52465 1.5C9.32868 1.5 10.0022 2.04464 10.1769 2.77287L10.1853 2.77083C10.2801 3.18696 10.3327 3.61941 10.3327 4.06206C10.3327 4.74745 10.2127 5.40428 9.99169 6.0142L13.2457 6.01828C13.2752 6.01828 13.3046 6.02032 13.3341 6.02644C13.8898 6.04684 14.4244 6.32426 14.7401 6.8179C14.9422 7.13204 15.0222 7.4829 14.9948 7.82355ZM2.16816 13.3618H3.33422L3.33843 7.71544L2.17448 7.71748L2.16816 13.3618ZM13.7572 7.40946C13.6456 7.23403 13.4478 7.14224 13.2478 7.15244V7.1504H13.2457L9.13294 7.14632C8.8109 7.14632 8.54991 6.89338 8.54991 6.58128C8.54991 6.49153 8.57306 6.40585 8.61095 6.33038L8.60463 6.3263C8.83827 5.90609 9.00665 5.44712 9.10347 4.96367H9.10979C9.10979 4.96367 9.18766 4.6577 9.18556 4.0743C9.18556 3.61125 9.09716 3.18696 9.09716 3.18696H9.09295C9.09295 3.1788 9.09505 3.17064 9.09505 3.16248C9.09505 2.87078 8.85089 2.63416 8.54991 2.63416C8.24892 2.63416 8.00477 2.87078 8.00477 3.16248C8.00477 3.17472 8.00687 3.18696 8.00687 3.1992H7.99845C7.99845 3.1992 8.00687 3.63981 7.91636 4.09878C7.87848 4.29256 7.82375 4.47411 7.77324 4.6169C7.77324 4.6169 7.77113 4.6169 7.77113 4.61486C7.28072 6.06928 6.0473 7.19528 4.50449 7.57673L4.49817 13.3638L12.0965 13.3658C12.1217 13.3658 12.147 13.3679 12.1723 13.372C12.248 13.3618 12.3238 13.3373 12.3912 13.2944C12.488 13.2353 12.5595 13.1496 12.6016 13.0517H12.6037L13.8161 7.86231L13.8119 7.86027C13.8624 7.71544 13.8477 7.55021 13.7572 7.40946Z"})})},U=function(i){return e(o,n(t({},i),{component:E}))},R=function(){return e("svg",{width:"1em",height:"1em","shape-rendering":"geometricPrecision",fill:"currentColor",viewBox:"0 0 16 16",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M1.0052 8.17645C1.00099 8.11321 1.0052 8.04998 1.02204 7.98674L2.28281 2.5954C2.29965 2.53013 2.32912 2.47301 2.36701 2.41998C2.50171 2.15887 2.70798 1.92837 2.9795 1.75906C3.26786 1.58159 3.58779 1.5 3.90561 1.5V1.50408L11.9986 1.50816C12.0259 1.50408 12.0554 1.50204 12.0849 1.50204C12.1143 1.50204 12.1438 1.50408 12.1712 1.50816H14.3244C14.3538 1.50408 14.3854 1.5 14.417 1.5C14.739 1.5 15 1.75294 15 2.06504L14.9937 8.8496C14.9937 9.1617 14.7327 9.41464 14.4107 9.41464C14.3875 9.41464 14.3622 9.4126 14.3391 9.41056L12.4048 9.41464V9.42484C10.6241 9.54927 9.21391 10.9629 9.1634 12.707C9.16761 12.7559 9.17182 12.8049 9.17182 12.8559C9.17182 13.7636 8.41198 14.5 7.47535 14.5C6.67132 14.5 5.99778 13.9554 5.82308 13.2271L5.81466 13.2292C5.71995 12.813 5.66733 12.3806 5.66733 11.9379C5.66733 11.2526 5.7873 10.5957 6.00831 9.9858L2.75429 9.98172C2.72482 9.98172 2.69535 9.97968 2.66589 9.97356C2.11022 9.95316 1.5756 9.67574 1.25988 9.1821C1.05782 8.86796 0.977839 8.5171 1.0052 8.17645ZM13.8318 2.63824H12.6658L12.6616 8.28456L13.8255 8.28252L13.8318 2.63824ZM2.24282 8.59054C2.35438 8.76597 2.55223 8.85776 2.75218 8.84756V8.8496H2.75429L6.86706 8.85368C7.1891 8.85368 7.45009 9.10662 7.45009 9.41872C7.45009 9.50847 7.42694 9.59415 7.38905 9.66962L7.39537 9.6737C7.16173 10.0939 6.99335 10.5529 6.89653 11.0363H6.89021C6.89021 11.0363 6.81234 11.3423 6.81444 11.9257C6.81444 12.3887 6.90284 12.813 6.90284 12.813H6.90705C6.90705 12.8212 6.90495 12.8294 6.90495 12.8375C6.90495 13.1292 7.14911 13.3658 7.45009 13.3658C7.75108 13.3658 7.99523 13.1292 7.99523 12.8375C7.99523 12.8253 7.99313 12.813 7.99313 12.8008H8.00155C8.00155 12.8008 7.99313 12.3602 8.08364 11.9012C8.12152 11.7074 8.17625 11.5259 8.22676 11.3831C8.22676 11.3831 8.22887 11.3831 8.22887 11.3851C8.71928 9.93072 9.9527 8.80472 11.4955 8.42327L11.5018 2.6362L3.90351 2.63416C3.87825 2.63416 3.85299 2.63212 3.82773 2.62804C3.75196 2.63824 3.67619 2.66272 3.60884 2.70555C3.51201 2.76471 3.44045 2.85038 3.39836 2.9483H3.39625L2.18389 8.13769L2.1881 8.13973C2.13758 8.28456 2.15232 8.44979 2.24282 8.59054Z"})})},F=function(i){return e(o,n(t({},i),{component:R}))},J=function(){return i("svg",{width:"1em",height:"1em","shape-rendering":"geometricPrecision",fill:"currentColor",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg",children:[e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M6.28443 3.03861C3.77423 4.65069 2.37971 6.52702 2.10085 8.66759C1.66674 12 4.6468 13.6311 6.15677 12.1655C7.66673 10.7 6.7616 8.83982 5.66823 8.33136C4.57487 7.82286 3.90623 7.99996 4.02287 7.32046C4.1395 6.64099 5.69503 4.75706 7.06163 3.87969C7.1523 3.80259 7.1868 3.65299 7.0995 3.53949C7.04207 3.46486 6.92943 3.31847 6.7616 3.10033C6.61483 2.90957 6.47423 2.91671 6.28443 3.03861Z"}),e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.893 3.03861C10.3828 4.65069 8.98827 6.52702 8.7094 8.66759C8.2753 12 11.2554 13.6311 12.7653 12.1655C14.2753 10.7 13.3702 8.83982 12.2768 8.33136C11.1834 7.82286 10.5148 7.99996 10.6314 7.32046C10.7481 6.64099 12.3036 4.75706 13.6702 3.87969C13.7609 3.80259 13.7954 3.65299 13.708 3.53949C13.6506 3.46486 13.538 3.31847 13.3702 3.10033C13.2234 2.90957 13.0828 2.91671 12.893 3.03861Z"})]})},Q=function(i){return e(o,n(t({},i),{component:J}))},K=function(){return e("svg",{width:"1em",height:"1em","shape-rendering":"geometricPrecision",fill:"currentColor",viewBox:"0 0 20 21",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M18.0403 2.308C17.7369 2.15628 17.4335 2.15628 17.2818 2.308L2.1114 9.89316C1.808 9.89316 1.65628 10.1966 1.65628 10.5C1.65628 10.8034 1.808 11.1068 1.9597 11.1068L5.60058 13.3824C5.904 13.5341 6.20741 13.5341 6.51081 13.2307L14.5511 5.94888L14.8545 6.10058L7.57273 13.8375C7.42103 13.9892 7.42103 14.1409 7.42103 14.2926V17.6301C7.42103 17.9335 7.57273 18.2369 7.87614 18.3886C8.17954 18.5403 8.48296 18.3886 8.63466 18.2369L10.4551 16.4164L14.096 18.8437C14.2477 18.9954 14.3994 18.9954 14.5511 18.9954H14.8545C15.1579 18.8437 15.3096 18.692 15.3096 18.3886L18.3437 3.21822C18.3437 2.7631 18.3437 2.4597 18.0403 2.308Z"})})},z=function(i){return e(o,n(t({},i),{component:K}))},X=function(){return e("svg",{width:"1em",height:"1em",viewBox:"0 0 13.33 19.56","shape-rendering":"geometricPrecision",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M10.6 18V18.8H9.4V18H10.6ZM10.6 16.4V17.6H9.4V16.4H10.6ZM15.4 7.79995C15.4788 7.79995 15.5568 7.81547 15.6296 7.84562C15.7024 7.87578 15.7685 7.91997 15.8243 7.97569C15.88 8.0314 15.9242 8.09755 15.9543 8.17034C15.9845 8.24314 16 8.32116 16 8.39995C16 11.6104 13.636 14.258 10.6 14.5692V16H9.4V14.5696C6.364 14.2584 4 11.6108 4 8.39995C4 8.24082 4.06321 8.08821 4.17574 7.97569C4.28826 7.86316 4.44087 7.79995 4.6 7.79995C4.75913 7.79995 4.91174 7.86316 5.02426 7.97569C5.13679 8.08821 5.2 8.24082 5.2 8.39995C5.2 11.1664 7.354 13.4 10 13.4C12.646 13.4 14.8 11.1664 14.8 8.39995C14.8 8.24082 14.8632 8.08821 14.9757 7.97569C15.0883 7.86316 15.2409 7.79995 15.4 7.79995ZM10 1.19995C10.9548 1.19995 11.8705 1.57924 12.5456 2.25437C13.2207 2.9295 13.6 3.84517 13.6 4.79995V8.39995C13.6 9.35473 13.2207 10.2704 12.5456 10.9455C11.8705 11.6207 10.9548 12 10 12C9.04522 12 8.12955 11.6207 7.45442 10.9455C6.77928 10.2704 6.4 9.35473 6.4 8.39995V4.79995C6.4 3.84517 6.77928 2.9295 7.45442 2.25437C8.12955 1.57924 9.04522 1.19995 10 1.19995Z"})})},G=function(i){return e(o,n(t({},i),{component:X}))},W=function(){return i("svg",{width:"1em",height:"1em","shape-rendering":"geometricPrecision",fill:"currentColor",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg",children:[e("path",{d:"M6.03033 15.5303C5.73744 15.8232 5.26256 15.8232 4.96967 15.5303C4.67678 15.2374 4.67678 14.7626 4.96967 14.4697L9.43934 10L4.96967 5.53033C4.67678 5.23744 4.67678 4.76256 4.96967 4.46967C5.26256 4.17678 5.73744 4.17678 6.03033 4.46967L11.0303 9.46967C11.3232 9.76256 11.3232 10.2374 11.0303 10.5303L6.03033 15.5303Z"}),e("path",{d:"M10.0303 15.5303C9.73744 15.8232 9.26256 15.8232 8.96967 15.5303C8.67678 15.2374 8.67678 14.7626 8.96967 14.4697L13.4393 10L8.96967 5.53033C8.67678 5.23744 8.67678 4.76256 8.96967 4.46967C9.26256 4.17678 9.73744 4.17678 10.0303 4.46967L15.0303 9.46967C15.3232 9.76256 15.3232 10.2374 15.0303 10.5303L10.0303 15.5303Z"})]})},Y=function(i){return e(o,n(t({},i),{component:W}))},ee=function(){return i("svg",{className:"icon",viewBox:"0 0 18 18",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8340",width:"1em",height:"1em",fill:"currentColor","shape-rendering":"geometricPrecision","aria-hidden":"true",children:[e("path",{d:"M7.91669 2.70833C10.7934 2.70833 13.125 5.04 13.125 7.91667C13.125 9.8275 12.0959 11.4979 10.5625 12.4042C12.6263 13.2646 14.1979 15.1063 14.6567 17.3888C14.6756 17.4703 14.678 17.5547 14.6637 17.6372C14.6494 17.7196 14.6187 17.7983 14.5734 17.8687C14.5281 17.939 14.4691 17.9996 14.4 18.0467C14.3308 18.0938 14.2529 18.1266 14.1709 18.1431C14.0889 18.1595 14.0044 18.1593 13.9224 18.1425C13.8404 18.1257 13.7627 18.0926 13.6937 18.0452C13.6248 17.9978 13.5661 17.937 13.5211 17.8665C13.476 17.7959 13.4457 17.7171 13.4317 17.6346C12.9163 15.0729 10.6842 13.1888 8.05086 13.1263L7.92753 13.1246L7.91669 13.125H7.90003C5.21669 13.1325 2.92544 15.0342 2.40253 17.6333C2.36823 17.7942 2.2719 17.9351 2.13442 18.0254C1.99694 18.1157 1.8294 18.1482 1.66813 18.1158C1.50686 18.0834 1.36487 17.9887 1.27295 17.8523C1.18103 17.7159 1.1466 17.5487 1.17711 17.3871C1.63586 15.1054 3.20794 13.2646 5.27128 12.4038C4.49034 11.9438 3.84307 11.2878 3.39355 10.5008C2.94403 9.71377 2.70784 8.82301 2.70836 7.91667C2.70836 5.04 5.04003 2.70833 7.91669 2.70833ZM12.9167 1.875C15.5629 1.875 17.7084 4.02042 17.7084 6.66667C17.7084 8.225 16.9575 9.63792 15.7659 10.5204L15.7192 10.5538C17.6704 11.5604 18.9584 13.55 18.9584 15.8333C18.9584 15.9991 18.8925 16.1581 18.7753 16.2753C18.6581 16.3925 18.4991 16.4583 18.3334 16.4583C18.1676 16.4583 18.0086 16.3925 17.8914 16.2753C17.7742 16.1581 17.7084 15.9991 17.7084 15.8333C17.7084 13.6254 16.1834 11.765 14.0217 11.2487C13.8861 11.2164 13.7653 11.1398 13.6783 11.0309C13.5913 10.922 13.5432 10.7872 13.5416 10.6479C13.5401 10.5085 13.5851 10.3727 13.6696 10.2618C13.7541 10.151 13.8732 10.0716 14.0079 10.0363L13.9838 10.0446C14.7016 9.81749 15.3285 9.36764 15.7734 8.76026C16.2184 8.15289 16.4583 7.41958 16.4584 6.66667C16.4585 6.14268 16.3423 5.6252 16.1182 5.15154C15.8942 4.67787 15.5678 4.25983 15.1627 3.92754C14.7575 3.59525 14.2837 3.357 13.7753 3.22997C13.267 3.10293 12.7368 3.09028 12.2229 3.19292C12.0603 3.22513 11.8916 3.19143 11.7538 3.09922C11.6161 3.00701 11.5206 2.86386 11.4884 2.70125C11.4561 2.53864 11.4899 2.36989 11.5821 2.23213C11.6743 2.09437 11.8174 1.99888 11.98 1.96667C12.2863 1.90583 12.5996 1.875 12.9167 1.875ZM7.91669 3.95833C6.86693 3.95841 5.86018 4.37548 5.11791 5.1178C4.37564 5.86012 3.95864 6.8669 3.95864 7.91667C3.95864 8.96643 4.37564 9.97321 5.11791 10.7155C5.86018 11.4579 6.86693 11.8749 7.91669 11.875H7.93253C8.98234 11.8729 9.98833 11.4538 10.7292 10.71C11.47 9.96622 11.885 8.95857 11.8829 7.90875C11.8808 6.85893 11.4618 5.85295 10.718 5.1121C9.97416 4.37126 8.96651 3.95623 7.91669 3.95833Z"})," "]})},en=function(i){return e(o,n(t({},i),{component:ee}))},et=function(){return e("svg",{width:"1em",height:"1em","shape-rendering":"geometricPrecision",fill:"currentColor",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg",children:e("path",{d:"M11.2242 0.375687C11.4586 0.610002 11.4586 0.989901 11.2242 1.22422L4.82424 7.62422C4.58992 7.85853 4.21003 7.85853 3.97571 7.62422L0.775712 4.42422C0.541397 4.1899 0.541397 3.81 0.775712 3.57569C1.01003 3.34137 1.38993 3.34137 1.62424 3.57569L4.39998 6.35142L10.3757 0.375687C10.61 0.141373 10.9899 0.141373 11.2242 0.375687Z"})})},eo=function(i){return e(o,n(t({},i),{component:et}))},ei=function(){return e("svg",{width:"1em",height:"1em",viewBox:"0 0 20 20","shape-rendering":"geometricPrecision",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:e("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10C2 14.4183 5.58172 18 10 18ZM9.2929 8.23223C9.68343 8.62276 10.3166 8.62276 10.7071 8.23223L11.7678 7.17158C12.0607 6.87869 12.5355 6.87869 12.8284 7.17158C13.1213 7.46447 13.1213 7.93935 12.8284 8.23224L11.7678 9.29289C11.3773 9.68342 11.3773 10.3166 11.7678 10.7071L12.8284 11.7678C13.1213 12.0607 13.1213 12.5355 12.8284 12.8284C12.5355 13.1213 12.0607 13.1213 11.7678 12.8284L10.7071 11.7678C10.3166 11.3772 9.68343 11.3772 9.2929 11.7678L8.23223 12.8284C7.93934 13.1213 7.46447 13.1213 7.17157 12.8284C6.87868 12.5355 6.87868 12.0607 7.17157 11.7678L8.23224 10.7071C8.62277 10.3166 8.62277 9.68342 8.23224 9.29289L7.17158 8.23223C6.87869 7.93934 6.87869 7.46447 7.17158 7.17157C7.46448 6.87868 7.93935 6.87868 8.23224 7.17157L9.2929 8.23223Z"})})},er=function(i){return e(o,n(t({},i),{component:ei}))},ec=function(){return i("svg",{width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e("circle",{cx:"16",cy:"16",r:"16",fill:"#F4523B"}),i("g",{"clip-path":"url(#clip0_528_8598)",children:[e("path",{d:"M8.08182 20.4364C6.93636 20.4364 6 19.5046 6 18.3546V16.6864C6 15.5364 6.93636 14.6046 8.08182 14.6046C9.22727 14.6046 10.1636 15.5409 10.1636 16.6864V18.3546C10.1682 19.5046 9.23182 20.4364 8.08182 20.4364ZM8.08182 16.2727C7.85455 16.2727 7.66364 16.4636 7.66364 16.6909V18.3591C7.66364 18.5864 7.85455 18.7773 8.08182 18.7773C8.30909 18.7773 8.5 18.5864 8.5 18.3591V16.6909C8.5 16.4636 8.30909 16.2727 8.08182 16.2727ZM23.9182 20.4364C22.7682 20.4364 21.8364 19.5 21.8364 18.3546V16.6864C21.8364 15.5364 22.7727 14.6046 23.9182 14.6046C25.0682 14.6046 26 15.5409 26 16.6864V18.3546C26 19.5046 25.0636 20.4364 23.9182 20.4364ZM23.9182 16.2727C23.6909 16.2727 23.5 16.4636 23.5 16.6909V18.3591C23.5 18.5864 23.6909 18.7773 23.9182 18.7773C24.1455 18.7773 24.3364 18.5864 24.3364 18.3591V16.6909C24.3318 16.4636 24.1409 16.2727 23.9182 16.2727Z",fill:"white"}),e("path",{d:"M16.4181 25.7273H15.5863C14.8999 25.7273 14.3363 25.1636 14.3363 24.4773C14.3363 23.7909 14.8999 23.2273 15.5863 23.2273H16.4181C17.1045 23.2273 17.6681 23.7909 17.6681 24.4773C17.6681 25.1636 17.1045 25.7273 16.4181 25.7273Z",fill:"white"}),e("path",{d:"M24.3318 16.3091C23.8727 16.3091 23.4999 15.9727 23.4999 15.5136C23.4999 11.3046 20.1363 7.94092 15.9999 7.94092C11.8636 7.94092 8.49994 11.3046 8.49994 15.4409C8.49994 15.9 8.12722 16.3091 7.66813 16.3091C7.20903 16.3091 6.83631 15.9727 6.83631 15.5136V15.4409C6.83176 10.3864 10.9454 6.27274 15.9999 6.27274C21.0545 6.27274 25.1681 10.3864 25.1681 15.4409C25.1681 15.9 24.7954 16.3091 24.3318 16.3091ZM15.9999 25.4364C15.7793 25.4364 15.5678 25.3487 15.4118 25.1927C15.2558 25.0367 15.1681 24.8252 15.1681 24.6046C15.1681 24.3839 15.2558 24.1724 15.4118 24.0164C15.5678 23.8604 15.7793 23.7727 15.9999 23.7727C18.9818 23.7727 21.6772 22.0046 22.8681 19.2727C22.9117 19.1725 22.9746 19.0817 23.0532 19.0058C23.1319 18.9298 23.2247 18.87 23.3264 18.83C23.4281 18.7899 23.5368 18.7702 23.6461 18.7721C23.7554 18.7739 23.8633 18.7973 23.9636 18.8409C24.0639 18.8845 24.1546 18.9474 24.2306 19.026C24.3065 19.1047 24.3663 19.1975 24.4064 19.2992C24.4465 19.4009 24.4661 19.5096 24.4643 19.6189C24.4624 19.7282 24.439 19.8361 24.3954 19.9364C23.6832 21.5708 22.5095 22.9619 21.0182 23.9389C19.5269 24.9158 17.7828 25.4363 15.9999 25.4364Z",fill:"white"}),e("path",{d:"M17.9842 14.1622L16.4947 16.6079L14.6521 13L13.2104 15.8485L11 16.1887L13.6149 16.2843L14.6355 14.5612L16.5112 18.0754L18.0246 15.3961L18.7657 16.3027L21 16.1942L19.0434 15.8761L17.9842 14.1622Z",fill:"white"})]}),e("defs",{children:e("clipPath",{id:"clip0_528_8598",children:e("rect",{width:"20",height:"20",fill:"white",transform:"translate(6 6)"})})})]})},ea=function(i){return e(o,n(t({},i),{component:ec}))},es={history_list:"index_module_history_list__81d1a4f5",search_layout:"index_module_search_layout__81d1a4f5",mymove:"index_module_mymove__81d1a4f5",title:"index_module_title__81d1a4f5",search_top:"index_module_search_top__81d1a4f5",main_list:"index_module_main_list__81d1a4f5",list:"index_module_list__81d1a4f5",name:"index_module_name__81d1a4f5",time:"index_module_time__81d1a4f5",con:"index_module_con__81d1a4f5",history_list_broadside:"index_module_history_list_broadside__81d1a4f5"},el=function(e,n,t,o){o.patch("".concat(n,"/chat-service/public/v1.0/history-messages:read"),{roomId:e},{headers:{"x-module-id":t.modules.find(function(e){return"IntelligentCustomerService"==e.short}).id,"x-auth-jwt":window.localStorage.getItem("usertoken")||""}})},ed=function(e){for(var n=0,t=0;t<e.length;t++)null!=e.charAt(t).match(/[^\x00-\xff]/gi)?n+=2:n+=1;return n},eu=function(){var e="";return window.location.hash.replace(/#\/(.[^/?]+)([?/].)*/,function(n,t){e=t}),e},em=function(e){var n=document.createElement("input");return n.setAttribute("value",e),document.body.appendChild(n),n.select(),document.execCommand("copy"),document.body.removeChild(n),!0},eh=function(e){var n;return(n=void 0!=e&&-1!=e?new Date(e):new Date).getFullYear()+"-"+(n.getMonth()+1)+"-"+n.getDate()+" "+n.getHours()+":"+n.getMinutes()+":"+n.getSeconds()},ef=function(n){var t=n.type,o=n.roomId,s=n.userData,l=n.http,d=n.urllocation,u=n.onClose,m=n.loadSpecifiedData,h=n.roomList,f=r(N(""),2),g=f[0],_=f[1],C=r(N([]),2),v=C[0],p=C[1],w=r(N([]),2),I=w[0],x=w[1],L=b(null),k=function(e){if(""!=o)return l.get("".concat(d,"/chat-service/public/v1.0/history-messages"),{params:{roomId:"",message:e,page:1,maxPageSize:300,direction:"desc"},headers:{"x-module-id":s.modules.find(function(e){return"IntelligentCustomerService"==e.short}).id,"x-auth-jwt":window.localStorage.getItem("usertoken")||""}}).then(function(e){if(console.log(e.data,3434378),e.data.messages.length>0){var n=e.data.messages;p(n),D(n)}}).catch(function(e){})},y=function(e){if(""!=e)return l.get("".concat(d,"/chat-service/public/v1.0/history-messages"),{params:{roomId:e,page:1,maxPageSize:9999999},headers:{"x-module-id":s.modules.find(function(e){return"IntelligentCustomerService"==e.short}).id,"x-auth-jwt":window.localStorage.getItem("usertoken")||""}})},A=function(e,n,t){var o=Math.ceil(t/e);return o>n?-1:o},S=function(e,n,t){y(e).then(function(n){if(n.data){var o,i=n.data.total;n.data.messages.reverse().map(function(e,n){e.id==t&&(o=n)});var r=A(30,Math.ceil(i/30),o);console.log(o,r,"第几页第几页第几页第几页第几页第几页"),m(e,r,t),u(),_(""),p([])}})},D=function(e){try{e.map(function(e){var n=e.sender;if(n!=s.mid){var t=h.filter(function(e){return e.sender==n});if(console.log(t,1111111),t.length>0&&!t[0].name)console.log(t[0],"2222222222"),x(function(e){return e.concat({id:n,name:t[0].name})});else{var o=!1;x(function(e){return console.log(e,"userNameObjuserNameObj"),0==e.filter(function(e){return e.id==n}).length&&(console.log("没有相同的id"),o=!0),e}),o&&("AI"==n&&e.recevier,H(n).then(function(e){e.data&&(x(function(t){return t.concat({name:e.data.name,id:n})}),console.log(7777777,e.data.name))}))}}})}catch(e){}},H=function(e){return l.get("".concat(d,"/chat-service/public/v1.0/userinfo"),{params:{uid:e},headers:{"x-module-id":s.modules.find(function(e){return"TeacherAnswer"==e.short}).id,"x-auth-jwt":window.localStorage.getItem("usertoken")||""}})};return e("div",{className:"".concat(es.history_list," ").concat(2==t?es.history_list_broadside:""," "),children:i("div",{className:es.search_layout,children:[i("div",{className:es.title,children:[e("span",{children:"历史记录"}),e("span",{onClick:function(){u()},children:e(M,{})})]}),i("div",{className:es.search_top,children:[e(c,{}),e(a,{placeholder:"请输入您要搜索的内容",value:g,onChange:function(e){var n=String(e.target.value);_(n),clearTimeout(L.current),L.current=setTimeout(function(){""!=n&&k(n)},1e3)}}),e("i",{className:"guanbi_Close",onClick:function(){_(""),p([])},children:e(M,{})})]}),e("div",{className:es.main_list,children:v.map(function(n,t){var o=n.message.replaceAll(g,function(){return"<span class=".concat(es.sign,">").concat(g,"</span>")});console.log(I);var r="";return r=n.sender==s.mid?s.real_name:"AI"==n.sender?I.filter(function(e){return e.id==n.recevier})[0].name:I.filter(function(e){return e.id==n.sender})[0].name,i("div",{className:es.list,onClick:function(){S(n.roomId,n.messageIdWithinRoom,n.id)},children:[i("div",{className:es.name,children:[e("p",{children:r}),e("span",{className:es.time,children:eh(n.updatedAt)})]}),e("div",{className:es.con,dangerouslySetInnerHTML:{__html:o}})]},n.id)})})]})})},eg={teacher_layout:"index_module_teacher_layout__5df53994",top:"index_module_top__5df53994",bottom:"index_module_bottom__5df53994",delete:"index_module_delete__5df53994",num:"index_module_num__5df53994",shrink:"index_module_shrink__5df53994",active:"index_module_active__5df53994",teacher_layout_newlabo:"index_module_teacher_layout_newlabo__5df53994",teacher_layout_modal:"index_module_teacher_layout_modal__5df53994",ai:"index_module_ai__5df53994",user_info:"index_module_user_info__5df53994",message:"index_module_message__5df53994",time:"index_module_time__5df53994",con:"index_module_con__5df53994"},e_=function(n){var o=n.type,c=n.roomId,a=n.userData,l=n.http,d=n.urllocation,u=n.onClose,m=n.switchChatRoom,h=n.saveContactsList,f=r(N([]),2),g=f[0],_=f[1],C=b(null);L(function(){return v(),function(){clearTimeout(C.current)}},[]);var v=function(){null!=C&&clearTimeout(C.current),C.current=setTimeout(function(){return v()},1e5),l.get("".concat(d,"/chat-service/public/v1.0/rooms"),{params:{page:1,maxPageSize:100002},headers:{"x-module-id":a.modules.find(function(e){return"IntelligentCustomerService"==e.short}).id,"x-auth-jwt":window.localStorage.getItem("usertoken")||""}}).then(function(e){if(e.data){var n=e.data.contacts,o=n;_(function(e){if(e.length>0&&""!=c){var i=0,r=e.filter(function(e){return e.id==c});r.length>0&&(i=r[0].unreadCount);var a=0;if(n.length>0){var s=n.filter(function(e){return e.id==c});s.length>0&&(console.log(s,"new_messagenew_messagenew_messagenew_message"),a=s[0].unreadCount)}i!=a&&(console.log("有新消息"),m(c,"renew"))}return o=o.map(function(n,o){return t({},n,e[o]||"")})}),console.log(o,"list2list2list2list2"),w(o),o.forEach(function(e){if(console.log(e),e.unreadCount>0){m(e.roomId,"");return}}),h(n)}})},p=function(e){l.delete("".concat(d,"/chat-service/public/v1.0/rooms/").concat(e),{headers:{"x-module-id":a.modules.find(function(e){return"IntelligentCustomerService"==e.short}).id,"x-auth-jwt":window.localStorage.getItem("usertoken")||""}}).then(function(e){console.log(e,"sdcsdcsdc"),v()})},w=function(e){e.map(function(e,n){e.name||e.headImg||"AI"==e.sender||I(e.sender).then(function(e){if(e.data){var n;_(function(o){return n=o.map(function(n,o){return n.sender==e.data.uid?t({},n,e.data):n})}),h(n)}})})},I=function(e){return l.get("".concat(d,"/chat-service/public/v1.0/userinfo"),{params:{uid:e},headers:{"x-module-id":a.modules.find(function(e){return"TeacherAnswer"==e.short}).id,"x-auth-jwt":window.localStorage.getItem("usertoken")||""}})};return 2==o||4==o?i("div",{className:eg.teacher_layout_modal,children:[e("div",{className:eg.top,children:i("div",{className:"".concat(eg.ai," ").concat(g.length>0&&void 0!=g[0].roomId&&""!=c&&g[0].roomId==c?eg.active:""),onClick:function(){m(g[0].roomId,"")},children:[e(ea,{}),i("div",{className:eg.user_info,children:[i("p",{className:eg.message,children:["AI助手",e("span",{className:eg.time,children:g.length>0&&eh(g[0].createdAt)})]}),e("p",{className:eg.con,children:g.length>0&&g[0].lastMsg})]})]})}),e("div",{className:eg.bottom,children:g.map(function(n,t){return 0!=t?i("div",{className:"".concat(eg.ai," ").concat(void 0!=n.roomId&&""!=c&&n.roomId==c?eg.active:""),onClick:function(){m(n.roomId,"")},children:[e("img",{src:n.headImg}),i("div",{className:eg.user_info,children:[i("p",{className:eg.message,children:[n.name,void 0!=n.unreadCount&&n.unreadCount>0&&e("span",{className:eg.num,children:n.unreadCount}),e("span",{className:eg.time,children:eh(n.createdAt)})]}),e("p",{className:eg.con,children:n.lastMsg})]})]},n.roomId):null})})]}):i("div",{className:"".concat(eg.teacher_layout," ").concat(3==o?eg.teacher_layout_newlabo:""),style:{left:3==o?document.getElementById("box").offsetWidth+10+"px":"auto"},children:[i("div",{className:eg.top,children:[i("div",{className:"".concat(eg.ai," ").concat(eg.shrink),onClick:function(){u()},children:[e(Y,{}),e("p",{children:"收起"})]}),i("div",{className:"".concat(eg.ai," ").concat(g.length>0&&void 0!=g[0].roomId&&""!=c&&g[0].roomId==c?eg.active:""),onClick:function(){m(g[0].roomId,"")},children:[e(ea,{}),e("p",{children:"AI助手"})]})]}),e("div",{className:eg.bottom,children:g.map(function(n,t){return 0!=t?i("div",{className:"".concat(eg.ai," ").concat(void 0!=n.roomId&&""!=c&&n.roomId==c?eg.active:""),onClick:function(){m(n.roomId,"")},children:[e("img",{src:n.headImg}),e("p",{children:n.name}),void 0!=n.unreadCount&&n.unreadCount>0&&e("span",{className:eg.num,children:n.unreadCount}),e("span",{className:eg.delete,onClick:function(e){e.stopPropagation(),p(n.roomId)},children:e(s,{})})]},n.roomId):null})})]})},eC={prefixCls:"bhd",theme:{token:{colorPrimary:"#f4523b",colorError:"#f8700c",colorSuccess:"#23d9c3",colorWarning:"#f9d579",colorInfo:"#5991ef",wireframe:!0,borderRadius:4,borderRadiusLG:8,fontSizeHeading1:36,fontSizeHeading2:24,fontSizeHeading3:20,fontSizeHeading4:18,colorInfoActive:"#3D7DE8",colorInfoHover:"#7EAEFF",colorInfoBorderHover:"#7EAEFF",colorPrimaryBorderHover:"#FC6955",colorPrimaryBorder:"#FC6955",colorPrimaryActive:"#D54632",colorText:"rgba(0, 0, 0, 0.85)",colorTextQuaternary:"rgba(0, 0, 0, 0.25)",colorBorder:"rgba(0, 0, 0, 0.15)",colorBorderSecondary:"rgba(0, 0, 0, 0.05)",fontFamily:'"PingFang SC", "helvetica neue", "Source Han Sans CN","hiragino sans gb", "arial", "microsoft yahei ui","microsoft yahei", "simsun", "sans-serif"'},components:{Button:{borderRadiusLG:8,colorBgContainer:"#ffffff",colorLinkHover:"#7EAEFF",colorLinkActive:"#3D7DE8",colorPrimaryBorder:"#FC6955"},Slider:{colorPrimaryBorder:"#FC6955"}}},locale:l},ev=function(o){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=Object.assign(eC,i);return d.config(r),d.__proto__.lang=r.locale.locale,function(i){var c=u({},m(i));return e(d,n(t({},r),{children:e(h,{hashPriority:"high",transformers:[f],children:e(o,t({},c))})}))}};ev.Component=function(o){var i=Object.assign(eC,o);return d.__proto__.lang=i.locale.locale,d.config(i),e(d,n(t({},i),{children:e(h,{hashPriority:"high",transformers:[f],children:o.children})}))};var ep=function(){var e,n,t,o=r(N(""),2),i=o[0];o[1];var c=r(N(""),2),a=c[0],s=c[1],l=b(),d=b(),u=b([]),m=(e=g(function(){var e;return _(this,function(n){switch(n.label){case 0:return s(""),[4,navigator.mediaDevices.getUserMedia({audio:!0,video:!1})];case 1:return l.current=n.sent(),d.current=new MediaRecorder(l.current),d.current.ondataavailable=function(e){u.current.push(e.data)},d.current.onstop=function(){var e=new Blob(u.current,{type:"audio/wav"});return C(e).then(function(e){s(e)}).catch(function(e){}),e},null===(e=d.current)||void 0===e||e.start(),[2]}})}),function(){return e.apply(this,arguments)}),h=(n=g(function(){var e;return _(this,function(n){return null===(e=d.current)||void 0===e||e.pause(),[2]})}),function(){return n.apply(this,arguments)}),f=(t=g(function(){var e;return _(this,function(n){return null===(e=d.current)||void 0===e||e.resume(),[2]})}),function(){return t.apply(this,arguments)}),C=function(e){return new Promise(function(n,t){var o=new FileReader;o.readAsDataURL(e),o.onload=function(e){var t=o.result.split(",")[1];n(t)},o.onerror=function(){t(Error("blobToBase64 error"))}})};return{bese64String:a,mediaUrl:i,startRecord:m,pauseRecord:h,resumeRecord:f,stopRecord:function(){var e,n;null===(e=d.current)||void 0===e||e.stop(),null===(n=l.current)||void 0===n||n.getTracks().forEach(function(e){return e.stop()}),u.current=[]}}},ew=a.TextArea,eI=function(o){var c=o.userData,a=o.http,l=o.urllocation,d=o.onCancel,u=o.serverName,m=o.fetchEventSource,h=o.initShowType,f=o.onEvent,g=o.stepIds,_=o.stepId,k=r(N(o.userData.mid),2),S=k[0];k[1];var M=ep(),D=M.bese64String,V=M.startRecord,T=M.stopRecord,q=r(N(3),2),P=q[0],E=q[1],R=r(N([]),2),J=R[0],K=R[1],X=r(N({}),2),W=X[0],Y=X[1],ee=r(N(""),2),et=ee[0],ei=ee[1],ec=r(N([]),2),es=ec[0],eg=ec[1],eC=r(N(""),2),ev=eC[0],eI=eC[1],ex=r(N([]),2),eN=ex[0],eb=ex[1],eL=r(N([]),2),ek=eL[0],ey=eL[1],eA=r(N(!1),2),eS=eA[0],eM=eA[1],eD=r(N(1),2),eH=eD[0],eV=eD[1],eB=r(N(0),2),eT=eB[0],eZ=eB[1],eq=r(N(!1),2),eO=eq[0],eP=eq[1],ej=r(N(!0),2),eE=ej[0],eU=ej[1],eR=r(N(""),2),eF=eR[0],eJ=eR[1],eQ=r(N({}),2),eK=eQ[0],ez=eQ[1],eX=r(N(!1),2),eG=eX[0],eW=eX[1],eY=r(N(45),2),e$=eY[0],e1=eY[1],e3=r(N(!1),2),e2=e3[0],e6=e3[1],e9=r(N(!1),2),e0=e9[0],e4=e9[1],e8=r(N(-1),2),e5=e8[0],e7=e8[1],ne=r(N(-1),2),nn=ne[0],nt=ne[1],no=r(N([]),2),ni=no[0],nr=no[1],nc=r(N({}),2),na=nc[0],ns=nc[1],nl=r(N([]),2),nd=nl[0],nu=nl[1],nm=r(N([]),2),nh=nm[0],nf=nm[1],ng=b(null),n_=b(null),nC=b(null),nv=b(null),np=b(),nw=new C({highlight:function(e,n){if(n&&w.getLanguage(n))try{return w.highlight(n,e).value}catch(e){}try{return w.highlightAuto(e).value}catch(e){}return""}});L(function(){return function(){clearTimeout(n_.current),clearTimeout(nC.current),clearTimeout(nv.current),clearTimeout(ng.current)}},[]),L(function(){function e(){var e=document.getElementById(1==e5||3==e5?"chat_content":"chat_content_modal"),n=e.scrollTop;if(e.onscroll=function(e){if(e.target.clientHeight+e.target.scrollTop>=e.target.scrollHeight&&eH>1){var n=eH-1;eV(function(e){return e-1}),clearTimeout(nv.current),nv.current=setTimeout(function(){console.log("加载下一页",n),nD(n,2)},1e3)}},0==n&&eT>eH&&eT>0){eP(!0);var t=eH+1;eV(function(e){return e+1}),clearTimeout(nv.current),nv.current=setTimeout(function(){console.log("加载下一页",t),nD(t,0)},1e3)}}2==e5&&!eG&&eT>0&&(eW(!0),setTimeout(function(){nq()},100));var n=document.getElementById(1==e5||3==e5?"chat_content":"chat_content_modal");return n&&n.addEventListener("scroll",e),function(){var n=document.getElementById(1==e5||3==e5?"chat_content":"chat_content_modal");n&&n.removeEventListener("scroll",e)}},[es,e5,eT]),L(function(){nE();var e=document.getElementById(1==e5||3==e5?"chat_content":"chat_content_modal");e&&(1==e5?e.style.maxHeight="".concat(window.innerHeight-60-e$,"px"):3==e5?e.style.maxHeight="".concat(window.innerHeight-50-e$,"px"):e.style.maxHeight="".concat(window.innerHeight-160-60-e$,"px"))},[e$,e5]),L(function(){console.log(o,"lsdkcmsdlcksd"),nT("",1),nq(),e7(h)},[h]),L(function(){""!=et&&(nD(1!=eH?eH:1,0),nq())},[et]),L(function(){if(console.log(nd,"roomListroomListroomListroomListroomList"),nd.length>0){var e=nd.filter(function(e){return e.unreadCount>0});e.length>0?(ei(e[0].roomId),el(e[0].roomId,l,c,a)):ei(nd[0].roomId)}else nM("AI").then(function(e){ei(e.data.id),nu([{roomId:e.data.id,unreadCount:0,uid:S}])})},[nd]),L(function(){if(!(nd.length>0&&nd[0].roomId!=et)){if(eS&&0==es.length)nI(1);else try{null==es[es.length-1].extraInfo?nI(1):JSON.parse(es[es.length-1].extraInfo).length>0&&("questionId"==JSON.parse(es[es.length-1].extraInfo)[0].key||"knowledgebase"==JSON.parse(es[es.length-1].extraInfo)[0].value)&&(console.log(JSON.parse(es[es.length-1].extraInfo,"sdklsdksd")),nI(1))}catch(e){}}nq()},[eS,ek]),L(function(){""!=D&&nS()},[D]);var nI=function(e){var o={};1==e?o={roomId:et,sender:"AI",recevier:S,message:"Hi!我是有问必答的实训云智能客服,请问您遇到了什么问题?",extraInfos:ek.map(function(e,n){return n<3?{key:"messageSource",value:e.id,question:e.question,answer:e.answer}:null}).filter(function(e){return null!=e})}:2==e?o={roomId:et,sender:"AI",recevier:S,message:"您的点赞是我最大的鼓励!",createdAt:eh(-1),extraInfos:[{key:"messageSource",value:"knowledgebase"}]}:3==e?o={roomId:et,sender:"AI",recevier:S,message:"谢谢您的反馈,我会努力改进的!",createdAt:eh(-1),extraInfos:[{key:"messageSource",value:"knowledgebase"}]}:4==e?o={roomId:et,sender:S,recevier:"AI",message:ev,createdAt:eh(-1),quotedMessage:W.content,extraInfos:[{key:"messageSource",value:"knowledgebase"}]}:5==e?o={roomId:et,sender:"AI",recevier:S,message:"抱歉!您今日的提问量已经达到最大限额,请您明日再来提问。",createdAt:eh(-1),quotedMessage:W.content,extraInfos:[{key:"messageSource",value:"knowledgebase"}]}:6==e&&(o={roomId:et,sender:"AI",recevier:S,message:"猜你想问:",extraInfos:ek.map(function(e){return{key:"messageSource",value:e.id,question:e.question,answer:e.answer}})}),eI(""),eb([]),Y({}),a.post("".concat(l,"/chat-service/public/v1.0/history-messages"),o,{headers:{"x-module-id":c.modules.find(function(e){return"IntelligentCustomerService"==e.short}).id,"x-auth-jwt":window.localStorage.getItem("usertoken")||""}}).then(function(i){i.data.id&&(eg(function(e){return e.concat(n(t({},o),{id:i.data.id,upvoted:!1,downvoted:!1,quotedMessage:"",createdAt:eh(-1),extraInfo:JSON.stringify(o.extraInfos)}))}),nq(),4==e&&nI(6))}).catch(function(e){console.log(e)})},nx=function(e){console.log("消息发送给老师111");var o={};if(1==e)o={roomId:et,sender:S,recevier:eK.uid,message:na.question};else if(2==e){var i=nd.filter(function(e){return e.roomId==et}),r="";i.length>0&&(r=i[0].sender),o={roomId:et,sender:S,recevier:r,message:ev}}a.post("".concat(l,"/chat-service/public/v1.0/chat-with-user/messages"),o,{headers:{"x-module-id":c.modules.find(function(e){return"TeacherAnswer"==e.short}).id,"x-auth-jwt":window.localStorage.getItem("usertoken")||""}}).then(function(e){if(e.data.id&&(eg(function(i){return i.concat(n(t({},o),{id:e.data.id,upvoted:!1,downvoted:!1,quotedMessage:"",createdAt:eh(-1)}))}),nq(),void 0!=g&&""!=g&&(3==e5||4==e5))){var i=[{roomId:et,id:e.data.id}];nf(function(e){return e.filter(function(e){return e.id!=i[0].id}).concat(i)})}}).catch(function(e){console.log(e)})},nN=function(e,n){var t=[];e&&n&&(t=[e]),t.length>0?(nb(1,{roomId:et,sender:S,recevier:"AI",message:(t=t[0]).question,extraInfos:[{key:"questionId",value:1==n?t.value:t.id}]},{key:"questionId",value:1==n?t.value:t.id,answer:t.answer}),eI(""),eb([]),Y({})):c.modules.some(function(e){return"AIservice"==e.short})?(eg(function(e){return e.concat({roomId:et,sender:S,recevier:"AI",message:ev,quotedMessage:W.content,id:"654321",upvoted:!1,downvoted:!1,createdAt:eh(-1),extraInfo:JSON.stringify([])})}),eU(!1),nk(3,{roomId:et,message:ev,quotedMessage:W.content||"",regenerate:""==W.content,generateUpvoteOrDownvoteMessage:!1},1)):nI(4)},nb=function(e,o,i){eg(function(e){return e.concat(n(t({},o),{id:null,upvoted:!1,downvoted:!1,createdAt:eh(-1),extraInfo:JSON.stringify(o.extraInfos)}))}),nq(),a.post("".concat(l,"/chat-service/public/v1.0/history-messages"),o,{headers:{"x-module-id":c.modules.find(function(e){return"IntelligentCustomerService"==e.short}).id,"x-auth-jwt":window.localStorage.getItem("usertoken")||""}}).then(function(r){r.data.id&&eg(function(e){return e.map(function(e){return null==e.id?n(t({},e),{id:r.data.id}):e})}),1==e&&(nb(2,{roomId:et,sender:"AI",recevier:S,message:i.answer,extraInfos:[{key:"questionId",value:i.value}]},""),nA(o.message,i.answer,""))}).then(function(e){console.log(e)})},nL="",nk=function(e,n,t){nL="",np.current=new AbortController,clearTimeout(n_.current),n_.current=setTimeout(function(){eg(function(e){return e.filter(function(e){return"123456"!=e.id&&"654321"!=e.id})}),eU(!0),np.current.abort(),eg(function(e){return e.concat({roomId:et,sender:"AI",recevier:S,message:"网络异常,请稍后重试!",id:"123456",createdAt:eh(-1),extraInfo:null})})},6e4);var o=JSON.stringify(n);eI(""),eb([]),setTimeout(function(){eb([])},2e3),eg(function(n){return 2==e?n.map(function(e){return e.id==t?{roomId:et,sender:"AI",recevier:S,message:"正在输入...",id:"123456",createdAt:eh(-1),extraInfo:null}:e}):n.concat({roomId:et,sender:"AI",recevier:S,message:"正在输入...",id:"123456",createdAt:eh(-1),extraInfo:null})}),setTimeout(function(){nq()},10),m("".concat(l,"/chat-service/public/v1.0/chat-with-ai/messages"),{method:"POST",headers:{"Content-Type":"application/json",Accept:"text/event-stream,application/json","X-Auth-Jwt":window.localStorage.getItem("usertoken")||"","Auth-Token":c.token,"X-Module-Id":c.modules.find(function(e){return"AIservice"==e.short}).id},body:o,signal:np.current.signal,openWhenHidden:!0,onopen:function(o){console.info("eventSource open: ",o),clearTimeout(n_.current),o.status>=300&&(console.log("sdckjsdncskdcjsdc",o.status),eU(!0),eg(function(e){return e.filter(function(e){return"123456"!=e.id&&"654321"!=e.id})}),np.current.abort()),200==o.status&&eU(!1),401==o.status&&nP(l).then(function(){console.log("重新请求"),eg(function(e){return e.filter(function(e){return"123456"!=e.id&&"654321"!=e.id})}),nk(e,n,t)}),403==o.status&&(console.log("暂无权限"),eg(function(e){return e.concat({roomId:et,sender:"AI",recevier:S,message:"暂无权限",id:"123456",createdAt:"",extraInfo:null})})),o.status,429==o.status&&nI(5),500==o.status&&eg(function(e){return e.concat({roomId:et,sender:"AI",recevier:S,message:"系统出错了,请稍后重试!",id:"123456",createdAt:"",extraInfo:null})})},onerror:function(e){console.log(e,"dflkvdmfvlkdfv"),e.response,eg(function(e){return e.concat({roomId:et,sender:"AI",recevier:S,message:"系统出错了,请稍后重试!",id:"123456",createdAt:"",extraInfo:null})})},onmessage:function(n){var i=JSON.parse(n.data);i.message&&(nL+=i.message,ny(i,t,e)),i.finished&&(eU(!0),console.log(nL,JSON.parse(o),"sdklcksdlcms"),nA(JSON.parse(o).message,nL,""))},onclose:function(){eU(!0),eg(function(e){return e.filter(function(e){return"123456"!=e.id})})}})},ny=function(e,o,i){var r=e.messageId;eg(function(c){var a=c;a=a.filter(function(e){return"123456"!=e.id}),void 0!=o&&(a=a.filter(function(e){return e.id!=o}));var s=c.filter(function(e){return e.id==r}),l="";return 0==s.length?(l=e.message,a.concat({roomId:et,sender:"AI",recevier:S,message:l,id:r,upvoted:!1,downvoted:!1,createdAt:eh(-1),extraInfo:1==i?JSON.stringify([{key:"isVoteMessage",value:!0}]):null})):a.map(function(o){return(l=o.message+e.message,o.id==r)?n(t({},o),{message:l}):o})}),setTimeout(function(){nq()},10)},nA=function(e,n,t){console.log(e,n,"记录到实验报告中"),void 0!=g&&""!=g&&(3==e5||4==e5)&&a.post("".concat(l,"/sandboxes/public/v1.0/labquestion"),{title:e,content:n,teachId:void 0!=t?t:eK.uid|S,stepId:_,stepIds:g},{headers:{"x-module-id":c.modules.find(function(e){return"IntelligentCustomerService"==e.short}).id,"x-auth-jwt":window.localStorage.getItem("usertoken")||""}})},nS=function(){a.post("".concat(l,"/chat-service/public/v1.0/speech:recognize"),{audio:D},{headers:{"x-module-id":c.modules.find(function(e){return"AIservice"==e.short}).id,"x-auth-jwt":window.localStorage.getItem("usertoken")||""}}).then(function(e){E(3),e.data&&(eI(e.data.text),nE())}).catch(function(e){eI(""),E(3)})},nM=function(e){return a.post("".concat(l,"/chat-service/public/v1.0/rooms"),{chatWith:e},{headers:{"x-module-id":c.modules.find(function(e){return"IntelligentCustomerService"==e.short}).id,"x-auth-jwt":window.localStorage.getItem("usertoken")||""}})},nD=function(e,n){if(console.log(e,n,"重新加载数据2222"),""!=et)return a.get("".concat(l,"/chat-service/public/v1.0/history-messages"),{params:{roomId:et,page:void 0!=e&&-1!=e?e:1,maxPageSize:30,direction:"desc"},headers:{"x-module-id":c.modules.find(function(e){return"IntelligentCustomerService"==e.short}).id,"x-auth-jwt":window.localStorage.getItem("usertoken")||""}}).then(function(t){if(t.data.messages.length>0){clearTimeout(nv.current);var o="",i=t.data.total,r=t.data.messages.reverse();eZ(Math.ceil(i/30));var c=[];eg(function(t){1!=n&&t.length>0&&(o=2==n?t[t.length-1].id:t[0].id),c=[],c=1==e||1==n||3==n?r:2==n?t.concat(r):r.concat(t);var i=new Map;return c=c.filter(function(e){return!i.has(e.id)&&i.set(e.id,1)})});try{void 0!=g&&""!=g&&(3==e5||4==e5)&&nd.length>0&&nd[0].roomId!=et&&nH(c)}catch(e){}1!=n&&eJ(o),1==e&&1!=n||3==n?nq():(console.log("滚动到相应为止3333"),nO("li_flag")),eM(!0),console.log(na,8888888),void 0!=na&&void 0!=na.user&&void 0!=na.question&&(console.log(na,77777),nx(1))}else eZ(0),eM(!0),eP(!1),eg([]),console.log(na,8888888),void 0!=na&&void 0!=na.user&&void 0!=na.question&&(console.log(na,77777),nx(1))}).catch(function(e){eP(!1)})},nH=function(e){console.log("查找聊天111",nh);var n=nh.filter(function(e){return e.roomId==et});if(n.length>0){console.log(n,"dfvdfvdfvdfv");var t=n[0].roomId,o=n[0].id,i=-1;if(e.forEach(function(e,n){if(console.log(e,e.id,"lskdcmsldksdcsdc"),e.id==o)return i=n,!1}),-1!=i){var r=e.slice(i);console.log(r,"需要记录的聊天");var c=[],a={},s=-1;r.map(function(e,n){e.sender==S&&s!=n&&(c.push(a),a={}),e.sender==S&&(a.title=e.message,s=n),e.sender!=S&&(a.con=e.message,a.teachId=e.receiver)}),(c=c.filter(function(e){return void 0!=e.title})).map(function(e){nA(e.title,e.con,e.teachId),nf(function(e){return e.filter(function(e){return e.roomId!=t})})}),console.log(c,"sdkcjnsdkjcsd")}}},nV=function(e,o){var i="";i=o?"".concat(l,"/chat-service/public/v1.0/history-messages:cancelUpvote"):"".concat(l,"/chat-service/public/v1.0/history-messages:upvote"),a.post(i,{messageId:e},{headers:{"x-module-id":c.modules.find(function(e){return"IntelligentCustomerService"==e.short}).id,"x-auth-jwt":window.localStorage.getItem("usertoken")||""}}).then(function(i){eg(function(i){return i.map(function(i){return n(t({},i),{upvoted:i.id==e?!o:i.upvoted,downvoted:i.id!=e||o?i.downvoted:o})})})})},nB=function(e,o){var i="";i=o?"".concat(l,"/chat-service/public/v1.0/history-messages:cancelDownvote"):"".concat(l,"/chat-service/public/v1.0/history-messages:downvote"),a.post(i,{messageId:e},{headers:{"x-module-id":c.modules.find(function(e){return"IntelligentCustomerService"==e.short}).id,"x-auth-jwt":window.localStorage.getItem("usertoken")||""}}).then(function(i){eg(function(i){return i.map(function(i){return n(t({},i),{downvoted:i.id==e?!o:i.downvoted,upvoted:i.id!=e||o?i.upvoted:o})})})})},nT=function(e,n){var t={};t=1==n?{page:1,maxPageSize:5}:{page:1,maxPageSize:4,question:e},a.get("".concat(l,"/chat-service/public/v1.0/knowledge-base/questions"),{params:t,headers:{"x-module-id":c.modules.find(function(e){return"IntelligentCustomerService"==e.short}).id,"x-auth-jwt":window.localStorage.getItem("usertoken")||""}}).then(function(e){e.data.questions&&(1==n?ey(e.data.questions):eb(e.data.questions))})},nZ=function(e){a.get("".concat(l,"/chat-service/public/v1.0/teachers"),{params:{name:e},headers:{"x-module-id":c.modules.find(function(e){return"TeacherAnswer"==e.short}).id,"x-auth-jwt":window.localStorage.getItem("usertoken")||""}}).then(function(e){console.log(e),e.data&&nr(e.data.teachers)})},nq=function(){console.log("滚动条滚动到底部");var e=document.getElementById(1==e5||3==e5?"chat_content":"chat_content_modal");e&&(e.scrollTop=e.scrollHeight)},nO=function(e){console.log(e,"滚动到指定位置");var n=document.getElementById(1==e5||3==e5?"chat_content":"chat_content_modal"),t=document.getElementById(e);n&&t&&(n.scrollTop=60,setTimeout(function(){var e=1==e5?$("#li_flag").offset().top-20:$("#chat_content_modal #li_flag").offset().top-$("#chat_content_modal").offset().top+24;$("#".concat(1==e5?"chat_content":"chat_content_modal")).animate({scrollTop:e},0)},10),eP(!1))},nP=function(e){return new Promise(function(n){a.get("".concat(e,"/regusers/login/Refreshtoken")).then(function(e){if(200==e.data.code)window.localStorage.setItem("usertoken",e.data.data),n(e.data.data);else throw Error(e.data.code)}).catch(function(e){n(e)})})},nj=function(){return 4==e5?i("div",{className:A.top,children:[e("div",{className:A.user,children:e("p",{children:"智能回答"})}),i("div",{className:A.operate,children:[e("i",{onClick:function(){e6(!0)},children:e(H,{})}),e("span",{className:A.line}),e("i",{onClick:function(){f(u+eu(),"click_智能问答_退出全屏","提交"),e7(3)},children:e(Z,{})}),e("i",{onClick:function(){f(u+eu(),"click_智能问答_退出全屏","提交"),e7(3)},children:e(s,{})})]})]}):3==e5?i("div",{className:A.top,children:[e("div",{className:A.user,children:e("p",{children:"智能回答"})}),i("div",{className:A.operate,children:[e("i",{onClick:function(){e6(!0)},children:e(H,{})}),e("span",{className:A.line}),e("i",{onClick:function(){f(u+eu(),"click_智能问答_全屏","提交"),e7(4)},children:e(Z,{})}),e("i",{className:"lianxiren21",onClick:function(){e4(!0)},children:e(en,{})})]})]}):i("div",{className:A.top,children:[e("div",{className:A.user,children:i("p",{children:[1==e5&&e("i",{className:"lianxiren21",onClick:function(){e4(!0)},children:e(en,{})}),"智能回答"]})}),i("div",{className:A.operate,children:[e("i",{className:"_lishixiao22",onClick:function(){e6(!0)},children:e(H,{})}),e("span",{className:A.line}),1==e5?e("i",{onClick:function(){f(u+eu(),"click_智能问答_全屏","提交"),e7(2)},children:e(B,{})}):e("i",{onClick:function(){f(u+eu(),"click_智能问答_退出全屏","提交"),e7(1)},children:e(Z,{})}),e("i",{onClick:d,children:e(s,{})})]})]})},nE=function(){setTimeout(function(){1==e5||3==e5?e1(document.getElementById("Drawer_buttom").offsetHeight):e1(document.getElementById("Drawer_buttom_modal").offsetHeight)},50)},nU=function(e,n){"renew"==n&&nD(1,3),ei(e),el(e,l,c,a)},nR=function(e){void 0!=e&&nu(e)},nF=function(){return es.length>0?e("ul",{className:A.message_con,children:es.map(function(n,t){var o,r=n.message,a=es.findIndex(function(e){return e.id===n.id}),s="";if(a<=0)s=I(n.createdAt).format("YYYY-MM-DD HH:mm");else{var l=es[a-1].createdAt;I(l).format("YYYY-MM-DD")!==I(n.createdAt).format("YYYY-MM-DD")?s=I(n.createdAt).format("YYYY-MM-DD HH:mm"):I(n.createdAt).valueOf()-I(l).valueOf()>6e5&&(s=I(n.createdAt).format("HH:mm"))}var d=s;if(n.sender==S)o=i(y,{children:[d?e("li",{className:A.time,children:d}):"",i("li",{className:A.left,id:eF==n.id?"li_flag":"",children:[i("div",{className:A.main,children:[i("div",{className:A.main_content,children:[e("div",{className:A.operate_modal,children:i("p",{className:A.operate,children:[e("i",{className:"yinyong_quote1",onClick:function(){Y({content:n.message,id:n.id}),nE(),f(u+eu(),"click_智能问答_引用","提交")},children:e(Q,{})}),J.length>0&&J.some(function(e){return e==n.id})?e("i",{className:"tongyong-xuanzhongdui",children:e(eo,{})}):e("i",{className:"fuzhi21",onClick:function(){em(n.message);var e=J;(e=e.filter(function(e){return e!=n.id})).push(n.id),K(e),setTimeout(function(){var e=J;K(e=e.filter(function(e){return e!=n.id}))},3e3),f(u+eu(),"click_智能问答_复制","提交")},children:e(j,{})})]})}),e("div",{className:A.content,children:e("p",{dangerouslySetInnerHTML:{__html:nw.render(r)},className:A.content_child})})]}),""!=n.quotedMessage&&null!=n.quotedMessage&&void 0!=n.quotedMessage?e("div",{className:A.citation_content,children:ed(n.quotedMessage)>120?e(x,{overlayClassName:A.popover_main_content,title:n.quotedMessage,placement:"leftTop",children:e("p",{children:n.quotedMessage})}):e("p",{children:n.quotedMessage})}):""]}),2==e5||4==e5?e("div",{className:A.head_sculpture,style:{marginLeft:"12px"},children:e("img",{src:c.avatar})}):""]},n.id)]});else{var m="",h=nd.filter(function(e){return e.roomId==et});h.length>0&&""!=h[0].headImg&&(m=h[0].headImg);var g="AI"==h[0].sender;o=i(y,{children:[d?e("li",{className:A.time,children:d}):"",i("li",{className:A.right,id:eF==n.id?"li_flag":"",children:[2==e5||4==e5&&e("div",{className:A.head_sculpture,style:{marginRight:"12px"},children:g?null==n.extraInfo?e(ea,{}):e("img",{src:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAA4vSURBVHgB3VtpcBTXEe43MyutxCGJQwiLQ2BucJDAgB1zSNixY5eNHVdcldgpIySIj0oCxPmTVKoA/8qPxMH+kaNASJSPcqrsxNgxIcYBYYMvsCXuG624QUISOtjV7s68fD1vL61W0upCEl0lrXbmzZvpft1ff91vJKiXJf+v7ixKoFxdimwSYrwUlEVSpgrCZ4RIIhfO1wlJLmlZBy2hlTt9VvnfXkpyUS+KoF6Q/E3uXF2Ip6Dsk9GKdkFceMxS07K2lqxKKqUelh4zwJpimVpP3tXCkmvwNZV6R+Al2npHs7mnpzyj2wa4TYpHS53UxMYEj7W1u4bolgEKiz2ryaL1dPsUjxbbI4oKErZSF6VLBnix2J3lk6IYyJVL/UNcDq/M64o3aNRJ4VX3WaKsHynPkuVLEGUFRZ41nbyucx5QUOz5s7Co0ze5nQJsWL9lReKGeMfHbYCCouZiQTKfBoSIkqLCxBVxjYxn0MotzWVSymwaSCKotKjAmdfRsA4xgFd+wCnPAowqxLN3NKxdAxQUN68bOG4fS2T+SuBWeyPaDIFAjt9Id4Cgzli7pdAZU5eYBrDzPKe6viM4PS114Ak5sXhCzBCA8rvpzlGeJdWXKGLiQSsDFBS586n7FVz/E4BiLKLUIgQCrs+rn9XeXMKeLz7hsUOcgqaNFpQ9Vqe3v/ZTU3O8V/e41Jla4oSSFaIueMCIPOslsbqj+n1wIor8HJ0aPZK2lZttj0sQNCdLo/kTNBo/UlBSgrL11ZsafXjQpD6SVM1ve8H64IGQB8QDfDNGa7RisUFpg9Rlu46Z9GGZSY2BFdVweEqGRg9N12lapiCnozXGNnqIfvNuM/kt6itp4QUhD/BalCvaUf7Re3R6+l4DXavwsTwo2ugm2n7Yb/+9aLJOdw2LnVklbOT2ElVct2hMmkauG31mgRZeEDKAILEu1mgDMPnsAoMWQ8FIOX1V0ieHTUofSvSnnyTQIGdLxT1Q9jyUPHzRospqSVUNkm40SbL6LPzDIjSxmgIGsJ/a7uFpNvi1EB1nX8xzUE5WOFnUNhJ9+J2fdNjjCWBBSrJS3HVNUtl5E2Eg6EKthZWWNGmUoHEjNJo1RqNBDqLfvu+lfqC/Lehg5W1Gj9H2ACiaHz2Alc9faISU//qURZ+fNqnJK2n5AwZlpavjHh/R/rMm7Tlp0vV6IgcM8/KDBk0YqZEWkWQ5BDJSBF252T9MYKJpiw9lAAT2kugBT8016P7Jyu1rGiV9BuVr4MKPfU+3lT+LFf/ijEmnrkiaCcDLX+igQYlku/jwIa1xgLFjVqYGA/RZBmghAOwn8bFGBNC/IvLkYij+/CJlmzKXRaUnTHo8W6fMNEGuKqKdR/22MZbOMGjeBEHJiS0V5tVuhmfcxJjKGkleP0IHf1dUWXToUt/Bf7SYXjnB8JkWNizCAMekZdkc9X3nEazwVYteyDPoFkDtzX3s5haMYVD2eC2UERjdz1yz6EqdpAMVJtXeQq5xS9sQ/Vk0bNgYUmrZkantaSifijy/nfM74v3lBx1Uetyk7SAvD83U6ed5CbbijPJllSZ+LDp4wSKzh5UVwV9SsU4RQT9ljDGRx+MVid0qQwhtdvDSEVD83omand5u+SQ9gZV+Y6fPPv27ZQ5KTeYQkDCGn04iDfKY3pKMoYLSBwsaP1yjPcCfIU6iUTh2Cp42O1On8oumHXrzANLlWIQaN7NPdW1VU3zPxazXEJrMCrrqnCwdbkx07JJJzy9MoNd2eClnnE6PIv7PIa29uddHhxHDt8Ozx6ZqdBKkKX2oxMIQjRmm0dHLFs3I0MkLHM1BXVF7S9pa3A1QrocXcpYZBaN9eipOoAVLF6iQKoL8//ePJ9B7B/z03P0Gbf3cTw9M0eAROr37lR9ob1E1LHu7wjo1SZAZwEs7BIixBkQKn8lcVwQO8nFOzUy7OetyKLrj90yXEVSeJ7qGHD0H4LYHqD8HRcxEWPa1HT5agL9vNIiQa3E8LpiokvwZeEZ1Q/xm4fmZIzShmNpxxLTrh7HYK06Mqht4Rle1hd5E6zmCtcfDwKRkXHcaYXH0SpeyS1aICg+CVcvPW7QQq34Vhhg3XNDfS/026eFMcOJa+AZstcLFDtsQ733jBwNU56TFq0GoFg0aMViN9cEbdwFETwauvwfxu2iaRlX1ygDP3mfQkmk6WTjt86trmGUaOocienKf+Oxjj8zSaXSqMnrQVPdPVpnoer1GZ67KkKd8CX5y/Gp8BgnXArhyOOKHyc3SGajbv/DTL5EBeJptZf4WF/GqsJfMm6DTj+cb+MGqIO1VAiAvw3hLZ2p04YakrzDXM6gjZo7VaO3bzfZ1zARP4WFr4DX8sEyT+d4f4R7/PqRiN3eKTj8DC52Jc7rtbeo+jFWcjdT6S/r4oEWxunpuP8UtIQM0wK2SEnjFBL2/36QfgQmOBKj8cbsvZun61pd++h/K4VefVmmxCJhxFCu2/AGHfZ5XmAsmFicOMS12wt8PnDNp7ymVZTQRuykpo+6XNjh8nBdjHCrOVUsc1AxF/7LLR9WNXUcmg9/MCOLAKaDsuBGCMnGDe8ZpdKkGrt+OK/kjwBZ7Bx1WetPRFXrpQRU6Ow756V/fdZ4Wz4ZX5IOlcvXJHvHKI45WhOtdhOWhi3GFgMvAKtQFJ6gHMF2oQRG0WDnGxRrqUSlDqnoHocXuveBuvUsGuFALxDeU35RXchHWWlFXdXweIaG7IS2BPXa189PQTDQpQ9hMkIUpbixh1/3VDxyUglQVZJHPzHfQD5GXDav93bYQixOqZvAojLPdev54BXIT09Uc7PLR6jFJ1wOBu++0ZRMmZqhce6zb5qVOCVoVGkhsZfB7HTxgxphwDTslI7Yy7Op7Uf6euxaAI3ycvijpSzxQlSf+eOSR/4C7nkRFOSRJozwUV/yTnqLREXjL1r3+VmE1eVS4DGc3HwSGOAJGyEgV1GmRshxUWJRHHrsCF8sZr/7m9tasu/Awl1u72QHQz1EpfFOF4pMQ328BPKdmdu6Vg+OYW1oKttl1PWAyU9PVnOdrWhuz3hMm/r9Y6kBqVIozyK5+SOHBf5BNTld1jAGarpVplkalkQc/AMruOmqGXPMF3ISNEC2cnvIi2mSZ4A2jh3Z+FRjUXnnMYf9w/mcFCpcY9vecca3n48UoAj/ZecRPlWi51dwKG4mJEx+rj7Pt7m+2DholK5JcoMOhTMAu9w56958ixU1Fh3cS4vGnyOUnkQ0+AGgFJ89GlrCxQqpsYCAu547v9AsnlJGmlOTmanC/oKpBpb6JI3Xae6b1Sn5dEQbPZXCVqaOV4T4KtNvjKcM5+5Vgq8xQF1jbUBWujhxwHUTleoOJNpj6zsAXRF+WeQEqzI1PLpefX+SwkZ2pMUsyV28pIvRAIV4f8XBJmG/iSDXPiSvhIosbqFMQUkEwjBRmoGxopsNen6LF+2EQH/5+DmSJF/CbCqvDEAB8l/Kn6glK8QFSwuroQbwPcN8kdIIQZ+ye9agFjuNBjwO05mYp9//0KG4GMGQqOwrjtsFLmEZzaf0UegvVIET7UM4GyRSXscua1N7CoqkajQy0zy7XhR/4LKpALsQY3Njwl2tVc+YaGi57wS6LPgsYEHXA6BSy59Bhx6FOYAc+J8NzR6UyGVNz+WN4hLCsrcoQQcsWeXCb8L5A7lSdnvu+Ya/cPiD+rhOW3dZKBltktjd9jECJbNEfPvbZVudaguxGieywOcKAxSm0wa2qOIehUq7HFy620gLdZk5v6UNUmswcptNYfKahPB42WKVg0QHssMedA0X/Bobjxk2goq3AdvlEPh+iwtKSr6Nfvi74/VE0P3nuzbv9dOB8OOb4wafcJezK8eB5iQ6SQcfgFSevxN8VYm+pDVSWdmXXrFYiBexuOubmxksmNk8mo63ODVbReWy1hRdv/1nLDimm4/fdrdHhC6hZ6mhDcEzIAJbh2ahbSRwGthecBugNQjPk2wjlOT2tyjXoJpD3dVRpjBMJOk+s08OguFwJHkNudoFCc9ETncNZD1aGXTcdis1AdmGcYBfOgCsPTuq6stHyLXCAKXFt6+5QHZqheyKfKSQFm9zrg14wBC1uRv/LoMOsELe05wP4uPRlCtsYlWp4omxUfXPRO5iCrk1asqoQG5vVirNi7OrsuhwCbSnKLssM8CaubcA+Ind9uHfQhHluIbxYIU+zWl2eIxErO3yosDGFvYaB87/gAf/81h+zeYMNkQ3YEFkf0wD5xbWp8IIKisACBrMRAaC6WCtbKR5LeHNkEtCd43aMHbsa+nfh/iUr2eRRP9cbLLuj04A0yDmd0yFvoTHh4ZDqTGeZDcJ9xKrG2IUZx77llUtLIt4UabUOBZs8a4Ck7b5YNGBFaPnR7xXHdMTCLZ7d/exV2G5LJPJHSkzqZgq5Ah91dIcIlK9l1491LqYBmB4DiDbQHSIoeV8taeNN8jbJ+5ZVzo2A49dpgItCfWeb7zt2mHULN7tLAK/LaSCKlCVFK5NWtDckLtpRsMVTJiQNrPeFJe0uWulc2tGwuOrXLQXOHFhzKw0UsVe+Y+VZ4i7g4Ur5HE/Uv4UrnY0duX2kdKqDwRQS2WEt9cMUyalOWPRrrPzazlzXpdIjv9idpVlit+gfr9TyqpeaPllQ0oV/mupW7aXeKxbr+soQvOqc49tLcx1Jt4tP9gbdlGuk0JaL2/SGuVJcvuE3nBsj3/vtivRQ9R0MC64fes0juDCs6ynFg9JjBoiUlZvcuegx5kshlnTDGDLwywUOsk1IuW1zf/7n6bZEhYiVrV7GErMlGwRdLxHr3+fR7xD2f4tTpRTyYIKXSnv73+f/Dw0ZPU1J1FnUAAAAAElFTkSuQmCC"}):e("img",{src:m})}),e("div",{className:A.main,children:i("div",{className:A.main_content,children:[e("div",{className:A.operate_modal,children:es.length-1==t&&null==n.extraInfo||void 0!=n.extraInfo&&JSON.parse(n.extraInfo).length>0&&("messageSource"==JSON.parse(n.extraInfo)[0].key||"isVoteMessage"==JSON.parse(n.extraInfo)[0].key)?"":i("p",{className:A.operate,children:[e("span",{className:A.ask_question,onClick:function(){nt(1),ns({question:es[t-1].message,user:na.user}),eg(function(e){return e.concat({id:-1,roomId:et,sender:"AI",recevier:S,message:"请在输入框中输入您要召唤的老师的姓名",createdAt:eh(-1),findTeacher:!0})}),nq()},children:"召唤老师回答"}),e("i",{className:"yinyong_quote1",onClick:function(){Y({content:n.message,id:n.id}),nE(),f(u+eu(),"click_智能问答_引用","提交"),console.log("引用222222")},children:e(Q,{})}),J.length>0&&J.some(function(e){return e==n.id})?e("i",{className:"tongyong-xuanzhongdui",children:e(eo,{})}):e("i",{className:"fuzhi21",onClick:function(){em(n.message);var e=J;(e=e.filter(function(e){return e!=n.id})).push(n.id),K(e),setTimeout(function(){var e=J;K(e=e.filter(function(e){return e!=n.id}))},3e3),f(u+eu(),"click_智能问答_复制","提交")},children:e(j,{})}),e("span",{children:"|"}),e("i",{className:"Frame427319094 ".concat(n.upvoted?A.active:""),onClick:function(){nV(n.id,n.upvoted),console.log("判断是AI还是智能回答",n),n.upvoted||es.length!=t+1&&es.length-2!=t||(console.log("判断是AI还是智能回答",n),n.extraInfo||"AI"!=n.sender?(console.log("AI回答2255555"),nI(2)):nk(1,{roomId:et,message:"你给出的答案我非常满意,赞!",quotedMessage:"",regenerate:!1,generateUpvoteOrDownvoteMessage:!0},1))},children:e(U,{})}),e("i",{className:"Frame427319095 ".concat(n.downvoted?A.active:""),onClick:function(){nB(n.id,n.downvoted),console.log(n,"dlfkvmdflkv"),n.downvoted||es.length!=t+1&&es.length-2!=t||(n.extraInfo||"AI"!=n.sender?nI(3):nk(1,{roomId:et,message:"你给出的答案很糟糕,我不满意,踩!",quotedMessage:"",regenerate:!1,generateUpvoteOrDownvoteMessage:!0},1))},children:e(F,{})})]})}),i("div",{className:A.content,children:[e("p",{dangerouslySetInnerHTML:{__html:nw.render(r)},className:A.content_child}),void 0!=n.extraInfo&&JSON.parse(n.extraInfo).length>0&&"messageSource"==JSON.parse(n.extraInfo)[0].key&&"knowledgebase"!=JSON.parse(n.extraInfo)[0].value?e("ul",{className:A.association_problem,children:JSON.parse(n.extraInfo).map(function(e,n){return i("li",{onClick:function(){nN(e,1)},children:[n+1,".",e.question]},t+"_"+n+"_"+e.value)})}):""]}),n.findTeacher||es.length-1!=t||null!=n.extraInfo||"123456"==n.id?"":e("div",{className:"".concat(A.operate_modal_bottom),children:void 0!=n.extraInfo&&JSON.parse(n.extraInfo).length>0&&("messageSource"==JSON.parse(n.extraInfo)[0].key||"isVoteMessage"==JSON.parse(n.extraInfo)[0].key)?"":i(y,{children:[e("p",{className:A.stop_generate,children:eE?"":i(y,{children:[e("span",{onClick:function(){try{np&&np.current&&np.current.abort()}catch(e){}clearTimeout(n_.current),eg(function(e){return e.filter(function(e){return"123456"!=e.id})}),eU(!0),f(u+eu(),"click_智能问答_停止生成","提交")}}),e("i",{onClick:function(){try{np&&np.current&&np.current.abort()}catch(e){}clearTimeout(n_.current),eg(function(e){return e.filter(function(e){return"123456"!=e.id})}),eU(!0),f(u+eu(),"click_智能问答_停止生成","提交")},children:"停止生成"})]})}),eE?i("p",{className:"".concat(A.operate),children:[e("i",{onClick:function(){eU(!1),nk(2,{roomId:et,message:es[t-1].message,quotedMessage:W.content||"",regenerate:!0,generateUpvoteOrDownvoteMessage:!1},n.id),f(u+eu(),"click_智能问答_重新生成","提交")},children:e(O,{})}),e("i",{className:"yinyong_quote1",onClick:function(){Y({content:n.message,id:n.id}),nE(),f(u+eu(),"click_智能问答_引用","提交")},children:e(Q,{})}),J.length>0&&J.some(function(e){return e==n.id})?e("i",{className:"tongyong-xuanzhongdui",children:e(eo,{})}):e("i",{className:"fuzhi21",onClick:function(){em(n.message);var e=J;(e=e.filter(function(e){return e!=n.id})).push(n.id),K(e),setTimeout(function(){var e=J;K(e=e.filter(function(e){return e!=n.id}))},3e3),f(u+eu(),"click_智能问答_复制","提交")},children:e(j,{})}),e("span",{children:"|"}),e("i",{className:"Frame427319094 ".concat(n.upvoted?A.active:""),onClick:function(){nV(n.id,n.upvoted),console.log("判断是AI还是智能回答",n),n.upvoted||es.length!=t+1&&es.length-2!=t||(console.log("判断是AI还是智能回答",n),n.extraInfo||"AI"!=n.sender?(console.log("AI回答2255555"),nI(2)):nk(1,{roomId:et,message:"你给出的答案我非常满意,赞!",quotedMessage:"",regenerate:!1,generateUpvoteOrDownvoteMessage:!0},1))},children:e(U,{})}),e("i",{className:"Frame427319095 ".concat(n.downvoted?A.active:""),onClick:function(){nB(n.id,n.downvoted),console.log(n,"dlfkvmdflkv"),n.downvoted||es.length!=t+1&&es.length-2!=t||(n.extraInfo||"AI"!=n.sender?nI(3):(console.log("AI回答2222"),nk(1,{roomId:et,message:"你给出的答案很糟糕,我不满意,踩!",quotedMessage:"",regenerate:!1,generateUpvoteOrDownvoteMessage:!0},1)))},children:e(F,{})})]}):""]})}),n.findTeacher?e("div",{className:"".concat(A.operate_modal_bottom),children:e("p",{className:A.stop_findTeacher,children:e("span",{onClick:function(){nt(-1),nr([]),eg(function(e){return e.filter(function(e){return"-1"!=e.id})})},children:"停止召唤老师"})})}):""]})})]},n.id)]})}return o})}):""},nJ=function(){var n="",t=!1;return 2==P?n="录制中...":1==P?n="正在语音识别文字,请稍后...":eE?(n="请输入问题,按Enter发送,Shift+Enter换行",t=!0):n="答案生成中,请稍后再发送...",i(y,{children:[i("div",{className:A.input_wrap,onChange:function(){nE()},children:[i("div",{className:"".concat(A.input," ").concat(c.modules.some(function(e){return"AIservice"==e.short})?"":A.no_AI),children:[e(ew,{placeholder:n,autoSize:{minRows:1,maxRows:6},value:ev,onChange:function(e){eI(e.target.value),""==e.target.value?(eb([]),clearTimeout(ng.current)):(clearTimeout(ng.current),ng.current=setTimeout(function(){if(1==nn)nZ(String(e.target.value));else{if(nd.length>0&&nd[0].roomId!=et)return;nT(String(e.target.value),2)}},1e3))},onPressEnter:function(e){console.log(nd,et,"发送内容22222wewewewewewewe"),e.shiftKey||e.altKey||e.ctrlKey||""==ev.trim()?(console.log("回车事件"),nE()):(e.stopPropagation(),e.preventDefault(),clearTimeout(ng.current),eI(""),Y({}),nd.length>0&&nd[0].roomId!=et?nx(2):nN(),e1(45))},onFocus:function(){f(u+eu(),"click_智能问答_输入框","提交")},disabled:!t,maxLength:1e3}),void 0!=W.content&&""!=W.content?i("div",{className:A.content_main,children:[e("div",{className:A.content_con,children:e("p",{children:W.content})}),e("i",{className:A.delete_quote,onClick:function(){Y({}),nE()},children:e(er,{})})]}):""]}),c.modules.some(function(e){return"AIservice"==e.short})?i("p",{className:A.voice,children:[1==P||3==P?e("i",{className:"yuyin-kai12",style:{color:t?"rgba(0, 0, 0, 0.65)":"rgba(0, 0, 0, 0.25)"},onClick:function(){t&&(V(),E(2),eI(""),nC.current=setTimeout(function(){T(),E(1)},12e4),f(u+eu(),"click_智能问答_ 麦克风","提交"))},children:e(G,{})}):"",2==P?e("img",{src:"/new_yun/images/aiService/voice_btn.gif",className:A.voice_btn,onClick:function(){T(),E(1),clearTimeout(nC.current)}}):""]}):""]}),e("p",{className:"".concat(A.sending),children:e("i",{className:"".concat(t?"":A.disabled),onClick:function(){t&&(Y({}),e1(45),""!=ev.trim()&&(eI(""),nd.length>0&&nd[0].roomId!=et?nx(2):nN(),f(u+eu(),"click_智能问答_ Enter","提交")))},children:e(z,{})})})]})},nQ=function(){return 1==nn?e("div",{className:"".concat(A.issues_list," ").concat(A.issues_list_teacherList),style:{bottom:"".concat(e$+6,"px")},children:ni.map(function(n){var t=n.name.replaceAll(ev,function(){return"<span class=".concat(A.sign,">").concat(ev,"</span>")});return e("p",{className:A.item,children:e("span",{onClick:function(){nr([]),ns({question:na.question,user:n.uid}),eI(""),nt(-1),ez(n),nM(n.uid).then(function(e){ei(e.data.id)})},dangerouslySetInnerHTML:{__html:t}})})})}):e("div",{className:A.issues_list,style:{bottom:"".concat(e$+6,"px")},children:eN.map(function(n){console.log(n,44444444);var t=n.question.replaceAll(ev,function(){return"<span class=".concat(A.sign,">").concat(ev,"</span>")});return e("p",{className:A.item,children:e("span",{onClick:function(){nN(n,2),eI(""),f(u+eu(),"click_智能问答_ 发送","提交")},dangerouslySetInnerHTML:{__html:t}})})})})},nK=function(e,n,t){eV(n),eJ(t),e==et?(console.log("当前聊天窗口111111"),nD(n,1)):ei(e)};return i(y,{children:[i(v,{title:"智能回答",width:560,onClose:function(){d(),f(u+eu(),"click_智能问答_收起侧边栏","提交")},open:1==e5,className:A.ChatWindow_Drawer,mask:!1,rootClassName:A.service_ChatWindow_Drawer,children:[e("div",{style:{display:"".concat(e0&&""!=et?"block":"none")},children:e(e_,{type:1,roomId:et,userData:c,http:a,urllocation:l,onClose:function(){e4(!1)},switchChatRoom:nU,saveContactsList:nR})}),e("div",{className:A.header_wrap,children:nj()}),i("div",{className:"".concat(A.Drawer_main),id:"chat_content",style:{maxHeight:"calc(100vh-".concat(e$+48,"px)")},children:[eO?e("div",{className:A.loading,children:e("img",{src:"/new_yun/images/loading_d.gif",alt:""})}):"",nF()]}),i("div",{className:A.Drawer_buttom_Issues_List,children:[nQ(),e("div",{className:A.Drawer_buttom,id:"Drawer_buttom",children:nJ()})]}),1==e5&&e2&&e(ef,{type:1,roomId:et,userData:c,http:a,urllocation:l,onClose:function(){e6(!1)},loadSpecifiedData:nK,roomList:nd})]}),i(p,{title:"智能回答",open:2==e5,onCancel:function(){d(),f(u+eu(),"click_智能问答_收起侧边栏","提交")},centered:!0,width:1014,height:window.innerHeight-160,wrapClassName:A.ChatWindow_Modal,footer:!1,maskClosable:!1,closeIcon:null,children:[e("div",{className:A.header_wrap,children:nj()}),i("div",{className:"".concat(A.Drawer_wrap_main),children:[i("div",{className:"".concat(A.Drawer_main," ChatWindow_Modal_history_list"),id:"chat_content_modal",style:{maxHeight:"".concat(window.innerHeight-148-e$,"px")},children:[e(e_,{type:2,roomId:et,userData:c,http:a,urllocation:l,onClose:function(){e4(!1)},switchChatRoom:nU,saveContactsList:nR}),i("div",{className:A.chat_content,children:[eO?e("div",{className:A.loading,children:e("img",{src:"/new_yun/images/loading_d.gif",alt:""})}):"",nF()]})]}),i("div",{className:A.Drawer_buttom_Issues_List,children:[nQ(),e("div",{className:A.Drawer_buttom,id:"Drawer_buttom_modal",children:nJ()})]}),2==e5&&e2&&e(ef,{type:2,roomId:et,userData:c,http:a,urllocation:l,onClose:function(){e6(!1)},loadSpecifiedData:nK,roomList:nd})]})]}),3==e5&&i("div",{className:"".concat(A.ChatWindow_Drawer),id:"",children:[e("div",{className:"".concat(A.header_wrap," ").concat(A.header_wrap_newlabo),children:i("div",{className:A.top,children:[e("div",{className:A.user,children:e("p",{children:"智能回答"})}),i("div",{className:A.operate,children:[e("i",{onClick:function(){e6(!0)},children:e(H,{})}),e("span",{className:A.line}),e("i",{onClick:function(){f(u+eu(),"click_智能问答_全屏","提交"),e7(4)},children:e(Z,{})}),e("i",{className:"lianxiren21",onClick:function(){e4(!0)},children:e(en,{})})]})]})}),i("div",{className:"".concat(A.Drawer_main," ").concat(A.Drawer_main_newlabo),id:"chat_content",style:{maxHeight:"calc(100vh-".concat(100,"-").concat(e$,"px)")},children:[eO?e("div",{className:A.loading,children:e("img",{src:"/new_yun/images/loading_d.gif",alt:""})}):"",nF()]}),i("div",{className:"".concat(A.Drawer_buttom_Issues_List," ").concat(A.Drawer_buttom_Issues_List_newlabo),children:[nQ(),e("div",{className:A.Drawer_buttom,id:"Drawer_buttom",children:nJ()})]}),3==e5&&e2&&e(ef,{type:3,roomId:et,userData:c,http:a,urllocation:l,onClose:function(){e6(!1)},loadSpecifiedData:nK,roomList:nd}),e("div",{style:{display:"".concat(3==e5&&e0&&""!=et?"block":"none")},children:e(e_,{type:3,roomId:et,userData:c,http:a,urllocation:l,onClose:function(){e4(!1)},switchChatRoom:nU,saveContactsList:nR})})]}),4==e5&&i(y,{children:[i(p,{title:"智能回答",open:!0,onCancel:function(){d(),f(u+eu(),"click_智能问答_收起侧边栏","提交")},centered:!0,width:1014,height:window.innerHeight-160,wrapClassName:"".concat(A.ChatWindow_Modal),footer:!1,maskClosable:!1,closeIcon:null,children:[e("div",{className:A.header_wrap,children:nj()}),i("div",{className:"".concat(A.Drawer_wrap_main),children:[i("div",{className:"".concat(A.Drawer_main," ").concat(A.Drawer_main_newlabo),id:"chat_content_modal",style:{maxHeight:"".concat(window.innerHeight-148-e$,"px")},children:[e(e_,{type:4,roomId:et,userData:c,http:a,urllocation:l,onClose:function(){e4(!1)},switchChatRoom:nU,saveContactsList:nR}),i("div",{className:A.chat_content,children:[eO?e("div",{className:A.loading,children:e("img",{src:"/new_yun/images/loading_d.gif",alt:""})}):"",nF()]})]}),i("div",{className:A.Drawer_buttom_Issues_List,children:[nQ(),e("div",{className:A.Drawer_buttom,id:"Drawer_buttom_modal",children:nJ()})]}),e2&&e(ef,{type:2,roomId:et,userData:c,http:a,urllocation:l,onClose:function(){e6(!1)},loadSpecifiedData:nK,roomList:nd})]})]}),i("div",{className:"".concat(A.ChatWindow_Drawer),id:"",children:[e("div",{className:"".concat(A.header_wrap," ").concat(A.header_wrap_newlabo),children:i("div",{className:A.top,children:[e("div",{className:A.user,children:e("p",{children:"智能回答"})}),i("div",{className:A.operate,children:[e("i",{onClick:function(){e6(!0)},children:e(H,{})}),e("span",{className:A.line}),e("i",{onClick:function(){f(u+eu(),"click_智能问答_全屏","提交"),e7(4)},children:e(Z,{})}),e("i",{className:"lianxiren21",onClick:function(){e4(!0)},children:e(en,{})})]})]})}),i("div",{className:"".concat(A.Drawer_main," ").concat(A.Drawer_main_newlabo),id:"chat_content",style:{maxHeight:"calc(100vh-".concat(100,"-").concat(e$,"px)")},children:[eO?e("div",{className:A.loading,children:e("img",{src:"/new_yun/images/loading_d.gif",alt:""})}):"",nF()]}),i("div",{className:"".concat(A.Drawer_buttom_Issues_List," ").concat(A.Drawer_buttom_Issues_List_newlabo),children:[nQ(),e("div",{className:A.Drawer_buttom,id:"Drawer_buttom",children:nJ()})]}),e("div",{style:{display:"".concat(e0&&""!=et?"block":"none")},children:e(e_,{type:3,roomId:et,userData:c,http:a,urllocation:l,onClose:function(){e4(!1)},switchChatRoom:nU,saveContactsList:nR})})]})]})]})};window.appendDom=function(n,o){k(e(ev.Component,{children:e(eI,t({},o))}),n)};export{eI as default};
@@ -0,0 +1,117 @@
1
+ pre code.hljs {
2
+ display: block;
3
+ overflow-x: auto;
4
+ padding: 1em
5
+ }
6
+ code.hljs {
7
+ padding: 3px 5px
8
+ }
9
+ /*!
10
+ Theme: Default
11
+ Description: Original highlight.js style
12
+ Author: (c) Ivan Sagalaev <maniac@softwaremaniacs.org>
13
+ Maintainer: @highlightjs/core-team
14
+ Website: https://highlightjs.org/
15
+ License: see project LICENSE
16
+ Touched: 2021
17
+ */
18
+ /*
19
+ This is left on purpose making default.css the single file that can be lifted
20
+ as-is from the repository directly without the need for a build step
21
+
22
+ Typically this "required" baseline CSS is added by `makestuff.js` during build.
23
+ */
24
+ pre code.hljs {
25
+ display: block;
26
+ overflow-x: auto;
27
+ padding: 1em
28
+ }
29
+ code.hljs {
30
+ padding: 3px 5px
31
+ }
32
+ /* end baseline CSS */
33
+ .hljs {
34
+ background: #F3F3F3;
35
+ color: #444
36
+ }
37
+ /* Base color: saturation 0; */
38
+ .hljs-subst {
39
+ /* default */
40
+
41
+ }
42
+ /* purposely ignored */
43
+ .hljs-formula,
44
+ .hljs-attr,
45
+ .hljs-property,
46
+ .hljs-params {
47
+
48
+ }
49
+ .hljs-comment {
50
+ color: #697070
51
+ }
52
+ .hljs-tag,
53
+ .hljs-punctuation {
54
+ color: #444a
55
+ }
56
+ .hljs-tag .hljs-name,
57
+ .hljs-tag .hljs-attr {
58
+ color: #444
59
+ }
60
+ .hljs-keyword,
61
+ .hljs-attribute,
62
+ .hljs-selector-tag,
63
+ .hljs-meta .hljs-keyword,
64
+ .hljs-doctag,
65
+ .hljs-name {
66
+ font-weight: bold
67
+ }
68
+ /* User color: hue: 0 */
69
+ .hljs-type,
70
+ .hljs-string,
71
+ .hljs-number,
72
+ .hljs-selector-id,
73
+ .hljs-selector-class,
74
+ .hljs-quote,
75
+ .hljs-template-tag,
76
+ .hljs-deletion {
77
+ color: #880000
78
+ }
79
+ .hljs-title,
80
+ .hljs-section {
81
+ color: #880000;
82
+ font-weight: bold
83
+ }
84
+ .hljs-regexp,
85
+ .hljs-symbol,
86
+ .hljs-variable,
87
+ .hljs-template-variable,
88
+ .hljs-link,
89
+ .hljs-selector-attr,
90
+ .hljs-operator,
91
+ .hljs-selector-pseudo {
92
+ color: #ab5656
93
+ }
94
+ /* Language color: hue: 90; */
95
+ .hljs-literal {
96
+ color: #695
97
+ }
98
+ .hljs-built_in,
99
+ .hljs-bullet,
100
+ .hljs-code,
101
+ .hljs-addition {
102
+ color: #397300
103
+ }
104
+ /* Meta color: hue: 200 */
105
+ .hljs-meta {
106
+ color: #1f7199
107
+ }
108
+ .hljs-meta .hljs-string {
109
+ color: #38a
110
+ }
111
+ /* Misc effects */
112
+ .hljs-emphasis {
113
+ font-style: italic
114
+ }
115
+ .hljs-strong {
116
+ font-weight: bold
117
+ }
@@ -0,0 +1,9 @@
1
+ /*!
2
+ Theme: Default
3
+ Description: Original highlight.js style
4
+ Author: (c) Ivan Sagalaev <maniac@softwaremaniacs.org>
5
+ Maintainer: @highlightjs/core-team
6
+ Website: https://highlightjs.org/
7
+ License: see project LICENSE
8
+ Touched: 2021
9
+ */pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background:#f3f3f3;color:#444}.hljs-comment{color:#697070}.hljs-punctuation,.hljs-tag{color:#444a}.hljs-tag .hljs-attr,.hljs-tag .hljs-name{color:#444}.hljs-attribute,.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-name,.hljs-selector-tag{font-weight:700}.hljs-deletion,.hljs-number,.hljs-quote,.hljs-selector-class,.hljs-selector-id,.hljs-string,.hljs-template-tag,.hljs-type{color:#800}.hljs-section,.hljs-title{color:#800;font-weight:700}.hljs-link,.hljs-operator,.hljs-regexp,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-symbol,.hljs-template-variable,.hljs-variable{color:#ab5656}.hljs-literal{color:#695}.hljs-addition,.hljs-built_in,.hljs-bullet,.hljs-code{color:#397300}.hljs-meta{color:#1f7199}.hljs-meta .hljs-string{color:#38a}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ interface data {
3
+ type: number;
4
+ roomId: String;
5
+ userData: any;
6
+ http: any;
7
+ urllocation: String;
8
+ onClose: any;
9
+ switchChatRoom: any;
10
+ saveContactsList: any;
11
+ }
12
+ declare const ContactsList: (props: data) => JSX.Element;
13
+ export default ContactsList;