@agentscope-ai/chat 1.1.4

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 (476) hide show
  1. package/README.md +88 -0
  2. package/dist/_util/hooks/use-proxy-imperative-handle.d.ts +4 -0
  3. package/dist/_util/hooks/use-proxy-imperative-handle.js +18 -0
  4. package/dist/_util/type.d.ts +1 -0
  5. package/dist/_util/type.js +1 -0
  6. package/dist/_util/warning.d.ts +30 -0
  7. package/dist/_util/warning.js +63 -0
  8. package/dist/accordion/Accordion.d.ts +22 -0
  9. package/dist/accordion/Accordion.js +93 -0
  10. package/dist/accordion/BodyContent.d.ts +8 -0
  11. package/dist/accordion/BodyContent.js +18 -0
  12. package/dist/accordion/DeepThink.d.ts +7 -0
  13. package/dist/accordion/DeepThink.js +35 -0
  14. package/dist/accordion/index.d.ts +2 -0
  15. package/dist/accordion/index.js +1 -0
  16. package/dist/accordion/index.less +170 -0
  17. package/dist/attachments/DropArea.d.ts +8 -0
  18. package/dist/attachments/DropArea.js +87 -0
  19. package/dist/attachments/FileList/AudioIcon.d.ts +2 -0
  20. package/dist/attachments/FileList/AudioIcon.js +19 -0
  21. package/dist/attachments/FileList/FileListCard.d.ts +12 -0
  22. package/dist/attachments/FileList/FileListCard.js +229 -0
  23. package/dist/attachments/FileList/Progress.d.ts +6 -0
  24. package/dist/attachments/FileList/Progress.js +21 -0
  25. package/dist/attachments/FileList/VideoIcon.d.ts +2 -0
  26. package/dist/attachments/FileList/VideoIcon.js +19 -0
  27. package/dist/attachments/FileList/index.d.ts +16 -0
  28. package/dist/attachments/FileList/index.js +132 -0
  29. package/dist/attachments/PlaceholderUploader.d.ts +17 -0
  30. package/dist/attachments/PlaceholderUploader.js +79 -0
  31. package/dist/attachments/SilentUploader.d.ts +9 -0
  32. package/dist/attachments/SilentUploader.js +23 -0
  33. package/dist/attachments/context.d.ts +5 -0
  34. package/dist/attachments/context.js +2 -0
  35. package/dist/attachments/index.d.ts +33 -0
  36. package/dist/attachments/index.js +166 -0
  37. package/dist/attachments/style/fileCard.d.ts +4 -0
  38. package/dist/attachments/style/fileCard.js +124 -0
  39. package/dist/attachments/style/index.d.ts +10 -0
  40. package/dist/attachments/style/index.js +211 -0
  41. package/dist/attachments/util.d.ts +2 -0
  42. package/dist/attachments/util.js +53 -0
  43. package/dist/bubble/Avatar.d.ts +10 -0
  44. package/dist/bubble/Avatar.js +22 -0
  45. package/dist/bubble/Bubble.d.ts +11 -0
  46. package/dist/bubble/Bubble.js +102 -0
  47. package/dist/bubble/BubbleList.d.ts +15 -0
  48. package/dist/bubble/BubbleList.js +44 -0
  49. package/dist/bubble/Cards.d.ts +21 -0
  50. package/dist/bubble/Cards.js +47 -0
  51. package/dist/bubble/ScrollToBottom.d.ts +7 -0
  52. package/dist/bubble/ScrollToBottom.js +45 -0
  53. package/dist/bubble/Spin.d.ts +2 -0
  54. package/dist/bubble/Spin.js +18 -0
  55. package/dist/bubble/hooks/useDisplayData.d.ts +0 -0
  56. package/dist/bubble/hooks/useDisplayData.js +0 -0
  57. package/dist/bubble/hooks/useListData.d.ts +0 -0
  58. package/dist/bubble/hooks/useListData.js +0 -0
  59. package/dist/bubble/index.d.ts +8 -0
  60. package/dist/bubble/index.js +4 -0
  61. package/dist/bubble/interface.d.ts +26 -0
  62. package/dist/bubble/interface.js +1 -0
  63. package/dist/bubble/loading.d.ts +6 -0
  64. package/dist/bubble/loading.js +17 -0
  65. package/dist/bubble/style/avatar.less +40 -0
  66. package/dist/bubble/style/content.d.ts +4 -0
  67. package/dist/bubble/style/content.js +43 -0
  68. package/dist/bubble/style/index.d.ts +9 -0
  69. package/dist/bubble/style/index.js +53 -0
  70. package/dist/bubble/style/list.less +15 -0
  71. package/dist/bubble/style/scrollToBottom.less +174 -0
  72. package/dist/chat-anywhere/Chat/Ref.d.ts +3 -0
  73. package/dist/chat-anywhere/Chat/Ref.js +19 -0
  74. package/dist/chat-anywhere/Chat/index.d.ts +4 -0
  75. package/dist/chat-anywhere/Chat/index.js +65 -0
  76. package/dist/chat-anywhere/Chat/index.less +54 -0
  77. package/dist/chat-anywhere/Header/index.d.ts +3 -0
  78. package/dist/chat-anywhere/Header/index.js +32 -0
  79. package/dist/chat-anywhere/Header/index.less +24 -0
  80. package/dist/chat-anywhere/Input/index.d.ts +3 -0
  81. package/dist/chat-anywhere/Input/index.js +170 -0
  82. package/dist/chat-anywhere/Input/index.less +12 -0
  83. package/dist/chat-anywhere/Layout/index.d.ts +10 -0
  84. package/dist/chat-anywhere/Layout/index.js +73 -0
  85. package/dist/chat-anywhere/Layout/index.less +61 -0
  86. package/dist/chat-anywhere/SessionList/index.d.ts +5 -0
  87. package/dist/chat-anywhere/SessionList/index.js +115 -0
  88. package/dist/chat-anywhere/SessionList/index.less +52 -0
  89. package/dist/chat-anywhere/hooks/ChatAnywhereProvider.d.ts +43 -0
  90. package/dist/chat-anywhere/hooks/ChatAnywhereProvider.js +90 -0
  91. package/dist/chat-anywhere/hooks/types.d.ts +57 -0
  92. package/dist/chat-anywhere/hooks/types.js +1 -0
  93. package/dist/chat-anywhere/hooks/useInput.d.ts +7 -0
  94. package/dist/chat-anywhere/hooks/useInput.js +21 -0
  95. package/dist/chat-anywhere/hooks/useMessages.d.ts +11 -0
  96. package/dist/chat-anywhere/hooks/useMessages.js +56 -0
  97. package/dist/chat-anywhere/hooks/useSessionList.d.ts +24 -0
  98. package/dist/chat-anywhere/hooks/useSessionList.js +120 -0
  99. package/dist/chat-anywhere/index.d.ts +9 -0
  100. package/dist/chat-anywhere/index.js +58 -0
  101. package/dist/conversations/GroupTitle.d.ts +10 -0
  102. package/dist/conversations/GroupTitle.js +15 -0
  103. package/dist/conversations/Item.d.ts +14 -0
  104. package/dist/conversations/Item.js +96 -0
  105. package/dist/conversations/hooks/useGroupable.d.ts +9 -0
  106. package/dist/conversations/hooks/useGroupable.js +72 -0
  107. package/dist/conversations/index.d.ts +62 -0
  108. package/dist/conversations/index.js +124 -0
  109. package/dist/conversations/interface.d.ts +60 -0
  110. package/dist/conversations/interface.js +1 -0
  111. package/dist/conversations/style/index.d.ts +9 -0
  112. package/dist/conversations/style/index.js +80 -0
  113. package/dist/default-cards/Count/index.d.ts +3 -0
  114. package/dist/default-cards/Count/index.js +16 -0
  115. package/dist/default-cards/Count/index.less +19 -0
  116. package/dist/default-cards/DeepThink/index.d.ts +11 -0
  117. package/dist/default-cards/DeepThink/index.js +11 -0
  118. package/dist/default-cards/DeepThink/index.less +0 -0
  119. package/dist/default-cards/Files/index.d.ts +2 -0
  120. package/dist/default-cards/Files/index.js +18 -0
  121. package/dist/default-cards/Footer/index.d.ts +19 -0
  122. package/dist/default-cards/Footer/index.js +50 -0
  123. package/dist/default-cards/Footer/index.less +41 -0
  124. package/dist/default-cards/Images/index.d.ts +3 -0
  125. package/dist/default-cards/Images/index.js +33 -0
  126. package/dist/default-cards/Images/index.less +17 -0
  127. package/dist/default-cards/Interrupted/index.d.ts +11 -0
  128. package/dist/default-cards/Interrupted/index.js +40 -0
  129. package/dist/default-cards/Interrupted/index.less +57 -0
  130. package/dist/default-cards/Text/index.d.ts +2 -0
  131. package/dist/default-cards/Text/index.js +12 -0
  132. package/dist/default-cards/index.d.ts +6 -0
  133. package/dist/default-cards/index.js +6 -0
  134. package/dist/disclaimer/index.d.ts +11 -0
  135. package/dist/disclaimer/index.js +26 -0
  136. package/dist/docs/1896.async.js +457 -0
  137. package/dist/docs/2710.async.js +62 -0
  138. package/dist/docs/2863.async.js +400 -0
  139. package/dist/docs/3057.async.js +46 -0
  140. package/dist/docs/3364.async.js +25 -0
  141. package/dist/docs/404.html +15 -0
  142. package/dist/docs/4820.async.js +1381 -0
  143. package/dist/docs/5623.async.js +60 -0
  144. package/dist/docs/5757.async.js +1 -0
  145. package/dist/docs/5804.async.js +271 -0
  146. package/dist/docs/6198.async.js +18 -0
  147. package/dist/docs/6671.async.js +137 -0
  148. package/dist/docs/7195.async.js +1 -0
  149. package/dist/docs/7485.async.js +29 -0
  150. package/dist/docs/7931.async.js +19 -0
  151. package/dist/docs/7997.async.js +5 -0
  152. package/dist/docs/8156.async.js +110 -0
  153. package/dist/docs/8368.async.js +2 -0
  154. package/dist/docs/8480.async.js +1449 -0
  155. package/dist/docs/8618.async.js +246 -0
  156. package/dist/docs/9016.async.js +32 -0
  157. package/dist/docs/9016.chunk.css +1 -0
  158. package/dist/docs/9335.async.js +11 -0
  159. package/dist/docs/accordion__demos.async.js +9 -0
  160. package/dist/docs/attachments__demos.async.js +1 -0
  161. package/dist/docs/bubble__demos.async.js +50 -0
  162. package/dist/docs/components/accordion/index.html +15 -0
  163. package/dist/docs/components/accordion-cn/index.html +15 -0
  164. package/dist/docs/components/attachments/index.html +15 -0
  165. package/dist/docs/components/attachments-cn/index.html +15 -0
  166. package/dist/docs/components/bubble/index.html +15 -0
  167. package/dist/docs/components/bubble-cn/index.html +15 -0
  168. package/dist/docs/components/bubble-list/index.html +15 -0
  169. package/dist/docs/components/bubble-list-cn/index.html +15 -0
  170. package/dist/docs/components/conversations/index.html +15 -0
  171. package/dist/docs/components/conversations-cn/index.html +15 -0
  172. package/dist/docs/components/disclaimer/index.html +15 -0
  173. package/dist/docs/components/disclaimer-cn/index.html +15 -0
  174. package/dist/docs/components/footer/index.html +15 -0
  175. package/dist/docs/components/footer-cn/index.html +15 -0
  176. package/dist/docs/components/markdown/index.html +15 -0
  177. package/dist/docs/components/markdown-cn/index.html +15 -0
  178. package/dist/docs/components/sender/index.html +15 -0
  179. package/dist/docs/components/sender-cn/index.html +15 -0
  180. package/dist/docs/components/status/index.html +15 -0
  181. package/dist/docs/components/status-cn/index.html +15 -0
  182. package/dist/docs/components/welcome/index.html +15 -0
  183. package/dist/docs/components/welcome-cn/index.html +15 -0
  184. package/dist/docs/components__accordion__index.en-US.md.async.js +6 -0
  185. package/dist/docs/components__accordion__index.en-US.md.chunk.css +1 -0
  186. package/dist/docs/components__accordion__index.zh-CN.md.async.js +6 -0
  187. package/dist/docs/components__accordion__index.zh-CN.md.chunk.css +1 -0
  188. package/dist/docs/components__attachments__index.en-US.md.async.js +1 -0
  189. package/dist/docs/components__attachments__index.en-US.md.chunk.css +1 -0
  190. package/dist/docs/components__attachments__index.zh-CN.md.async.js +1 -0
  191. package/dist/docs/components__attachments__index.zh-CN.md.chunk.css +1 -0
  192. package/dist/docs/components__bubble-list__index.en-US.md.async.js +2 -0
  193. package/dist/docs/components__bubble-list__index.en-US.md.chunk.css +1 -0
  194. package/dist/docs/components__bubble-list__index.zh-CN.md.async.js +2 -0
  195. package/dist/docs/components__bubble-list__index.zh-CN.md.chunk.css +1 -0
  196. package/dist/docs/components__bubble__index.en-US.md.async.js +1 -0
  197. package/dist/docs/components__bubble__index.en-US.md.chunk.css +1 -0
  198. package/dist/docs/components__bubble__index.zh-CN.md.async.js +1 -0
  199. package/dist/docs/components__bubble__index.zh-CN.md.chunk.css +1 -0
  200. package/dist/docs/components__conversations__index.en-US.md.async.js +2 -0
  201. package/dist/docs/components__conversations__index.en-US.md.chunk.css +1 -0
  202. package/dist/docs/components__conversations__index.zh-CN.md.async.js +1 -0
  203. package/dist/docs/components__conversations__index.zh-CN.md.chunk.css +1 -0
  204. package/dist/docs/components__disclaimer__index.en-US.md.async.js +1 -0
  205. package/dist/docs/components__disclaimer__index.en-US.md.chunk.css +1 -0
  206. package/dist/docs/components__disclaimer__index.zh-CN.md.async.js +1 -0
  207. package/dist/docs/components__disclaimer__index.zh-CN.md.chunk.css +1 -0
  208. package/dist/docs/components__footer__index.en-US.md.async.js +1 -0
  209. package/dist/docs/components__footer__index.en-US.md.chunk.css +1 -0
  210. package/dist/docs/components__footer__index.zh-CN.md.async.js +2 -0
  211. package/dist/docs/components__footer__index.zh-CN.md.chunk.css +1 -0
  212. package/dist/docs/components__markdown__index.en-US.md.async.js +1 -0
  213. package/dist/docs/components__markdown__index.en-US.md.chunk.css +1 -0
  214. package/dist/docs/components__markdown__index.zh-CN.md.async.js +1 -0
  215. package/dist/docs/components__markdown__index.zh-CN.md.chunk.css +1 -0
  216. package/dist/docs/components__sender__index.en-US.md.async.js +1 -0
  217. package/dist/docs/components__sender__index.en-US.md.chunk.css +1 -0
  218. package/dist/docs/components__sender__index.zh-CN.md.async.js +1 -0
  219. package/dist/docs/components__sender__index.zh-CN.md.chunk.css +1 -0
  220. package/dist/docs/components__status__index.en-US.md.async.js +1 -0
  221. package/dist/docs/components__status__index.en-US.md.chunk.css +1 -0
  222. package/dist/docs/components__status__index.zh-CN.md.async.js +2 -0
  223. package/dist/docs/components__status__index.zh-CN.md.chunk.css +1 -0
  224. package/dist/docs/components__welcome__index.en-US.md.async.js +2 -0
  225. package/dist/docs/components__welcome__index.en-US.md.chunk.css +1 -0
  226. package/dist/docs/components__welcome__index.zh-CN.md.async.js +2 -0
  227. package/dist/docs/components__welcome__index.zh-CN.md.chunk.css +1 -0
  228. package/dist/docs/conversations__demos.async.js +1 -0
  229. package/dist/docs/demos.async.js +47 -0
  230. package/dist/docs/demos.chunk.css +1 -0
  231. package/dist/docs/disclaimer__demos.async.js +1 -0
  232. package/dist/docs/docs/development/ag-ui/index.html +15 -0
  233. package/dist/docs/docs/development/ag-ui-cn/index.html +15 -0
  234. package/dist/docs/docs/development/backend/index.html +15 -0
  235. package/dist/docs/docs/development/backend-cn/index.html +15 -0
  236. package/dist/docs/docs/development/cards/index.html +15 -0
  237. package/dist/docs/docs/development/cards-cn/index.html +15 -0
  238. package/dist/docs/docs/development/chatanywhere/index.html +15 -0
  239. package/dist/docs/docs/development/chatanywhere-api/index.html +15 -0
  240. package/dist/docs/docs/development/chatanywhere-api-cn/index.html +15 -0
  241. package/dist/docs/docs/development/chatanywhere-cn/index.html +15 -0
  242. package/dist/docs/docs/development/custom/index.html +15 -0
  243. package/dist/docs/docs/development/custom-cn/index.html +15 -0
  244. package/dist/docs/docs/development/overview/index.html +15 -0
  245. package/dist/docs/docs/development/overview-cn/index.html +15 -0
  246. package/dist/docs/docs/development/qwen/index.html +15 -0
  247. package/dist/docs/docs/development/qwen-cn/index.html +15 -0
  248. package/dist/docs/docs/templates/copilot/index.html +15 -0
  249. package/dist/docs/docs/templates/copilot-cn/index.html +15 -0
  250. package/dist/docs/docs/templates/native/index.html +15 -0
  251. package/dist/docs/docs/templates/native-cn/index.html +15 -0
  252. package/dist/docs/docs/templates/voice/index.html +15 -0
  253. package/dist/docs/docs/templates/voice-cn/index.html +15 -0
  254. package/dist/docs/docs__development__ag-ui.en-US.md.async.js +210 -0
  255. package/dist/docs/docs__development__ag-ui.en-US.md.chunk.css +1 -0
  256. package/dist/docs/docs__development__ag-ui.zh-CN.md.async.js +210 -0
  257. package/dist/docs/docs__development__ag-ui.zh-CN.md.chunk.css +1 -0
  258. package/dist/docs/docs__development__backend.en-US.md.async.js +12 -0
  259. package/dist/docs/docs__development__backend.en-US.md.chunk.css +1 -0
  260. package/dist/docs/docs__development__backend.zh-CN.md.async.js +12 -0
  261. package/dist/docs/docs__development__backend.zh-CN.md.chunk.css +1 -0
  262. package/dist/docs/docs__development__cards.en-US.md.async.js +27 -0
  263. package/dist/docs/docs__development__cards.en-US.md.chunk.css +1 -0
  264. package/dist/docs/docs__development__cards.zh-CN.md.async.js +27 -0
  265. package/dist/docs/docs__development__cards.zh-CN.md.chunk.css +1 -0
  266. package/dist/docs/docs__development__chatanywhere-api.en-US.md.async.js +69 -0
  267. package/dist/docs/docs__development__chatanywhere-api.en-US.md.chunk.css +1 -0
  268. package/dist/docs/docs__development__chatanywhere-api.zh-CN.md.async.js +69 -0
  269. package/dist/docs/docs__development__chatanywhere-api.zh-CN.md.chunk.css +1 -0
  270. package/dist/docs/docs__development__chatanywhere.en-US.md.async.js +77 -0
  271. package/dist/docs/docs__development__chatanywhere.en-US.md.chunk.css +1 -0
  272. package/dist/docs/docs__development__chatanywhere.zh-CN.md.async.js +77 -0
  273. package/dist/docs/docs__development__chatanywhere.zh-CN.md.chunk.css +1 -0
  274. package/dist/docs/docs__development__custom.en-US.md.async.js +22 -0
  275. package/dist/docs/docs__development__custom.en-US.md.chunk.css +1 -0
  276. package/dist/docs/docs__development__custom.zh-CN.md.async.js +22 -0
  277. package/dist/docs/docs__development__custom.zh-CN.md.chunk.css +1 -0
  278. package/dist/docs/docs__development__overview.en-US.md.async.js +21 -0
  279. package/dist/docs/docs__development__overview.en-US.md.chunk.css +1 -0
  280. package/dist/docs/docs__development__overview.zh-CN.md.async.js +21 -0
  281. package/dist/docs/docs__development__overview.zh-CN.md.chunk.css +1 -0
  282. package/dist/docs/docs__development__qwen.en-US.md.async.js +25 -0
  283. package/dist/docs/docs__development__qwen.en-US.md.chunk.css +1 -0
  284. package/dist/docs/docs__development__qwen.zh-CN.md.async.js +25 -0
  285. package/dist/docs/docs__development__qwen.zh-CN.md.chunk.css +1 -0
  286. package/dist/docs/docs__templates__copilot.en-US.md.async.js +1 -0
  287. package/dist/docs/docs__templates__copilot.en-US.md.chunk.css +1 -0
  288. package/dist/docs/docs__templates__copilot.zh-CN.md.async.js +1 -0
  289. package/dist/docs/docs__templates__copilot.zh-CN.md.chunk.css +1 -0
  290. package/dist/docs/docs__templates__native.en-US.md.async.js +1 -0
  291. package/dist/docs/docs__templates__native.en-US.md.chunk.css +1 -0
  292. package/dist/docs/docs__templates__native.zh-CN.md.async.js +1 -0
  293. package/dist/docs/docs__templates__native.zh-CN.md.chunk.css +1 -0
  294. package/dist/docs/docs__templates__voice.en-US.md.async.js +20 -0
  295. package/dist/docs/docs__templates__voice.en-US.md.chunk.css +1 -0
  296. package/dist/docs/docs__templates__voice.zh-CN.md.async.js +1 -0
  297. package/dist/docs/docs__templates__voice.zh-CN.md.chunk.css +1 -0
  298. package/dist/docs/dumi__pages__index__index.en-US.async.js +1 -0
  299. package/dist/docs/dumi__pages__index__index.en-US.chunk.css +1 -0
  300. package/dist/docs/dumi__pages__index__index.zh-CN.async.js +1 -0
  301. package/dist/docs/dumi__pages__index__index.zh-CN.chunk.css +1 -0
  302. package/dist/docs/dumi__theme__layouts__DocLayout__index.async.js +1 -0
  303. package/dist/docs/dumi__theme__layouts__DocLayout__index.chunk.css +1 -0
  304. package/dist/docs/dumi__theme__layouts__GlobalLayout__index.async.js +18 -0
  305. package/dist/docs/dumi__theme__layouts__GlobalLayout__index.chunk.css +1 -0
  306. package/dist/docs/dumi__tmp-production__dumi__theme__ContextWrapper.async.js +1 -0
  307. package/dist/docs/index/index.html +15 -0
  308. package/dist/docs/index-cn/index.html +15 -0
  309. package/dist/docs/markdown__demos.async.js +164 -0
  310. package/dist/docs/meta__components__en-US.async.js +9 -0
  311. package/dist/docs/meta__components__zh-CN.async.js +10 -0
  312. package/dist/docs/meta__docs__en-US.async.js +475 -0
  313. package/dist/docs/meta__docs__en-US.chunk.css +1 -0
  314. package/dist/docs/meta__docs__zh-CN.async.js +456 -0
  315. package/dist/docs/meta__docs__zh-CN.chunk.css +1 -0
  316. package/dist/docs/nm__dumi__dist__client__pages__404.async.js +1 -0
  317. package/dist/docs/nm__dumi__dist__client__pages__Demo__index.async.js +1 -0
  318. package/dist/docs/nm__dumi__dist__client__pages__Demo__index.chunk.css +1 -0
  319. package/dist/docs/preload_helper.js +1 -0
  320. package/dist/docs/sender__demos.async.js +1 -0
  321. package/dist/docs/umi.css +1 -0
  322. package/dist/docs/umi.js +107 -0
  323. package/dist/docs/welcome__demos.async.js +1 -0
  324. package/dist/docs/~demos/:id/index.html +15 -0
  325. package/dist/docs/~demos/accordion-demo-inline/index.html +15 -0
  326. package/dist/docs/~demos/accordion-demo-mutisteps/index.html +15 -0
  327. package/dist/docs/~demos/accordion-demo-thinking/index.html +15 -0
  328. package/dist/docs/~demos/attachments-demo-files/index.html +15 -0
  329. package/dist/docs/~demos/bubble-demo-basic/index.html +15 -0
  330. package/dist/docs/~demos/bubble-demo-havestopped/index.html +15 -0
  331. package/dist/docs/~demos/bubble-demo-userwithfile/index.html +15 -0
  332. package/dist/docs/~demos/bubble-demo-userwithimage/index.html +15 -0
  333. package/dist/docs/~demos/bubble-demo-userwithnormal/index.html +15 -0
  334. package/dist/docs/~demos/bubble-demo-withavatar/index.html +15 -0
  335. package/dist/docs/~demos/bubble-demo-withcode/index.html +15 -0
  336. package/dist/docs/~demos/bubble-demo-witherror/index.html +15 -0
  337. package/dist/docs/~demos/bubble-demo-witherrordetail/index.html +15 -0
  338. package/dist/docs/~demos/bubble-demo-withimage/index.html +15 -0
  339. package/dist/docs/~demos/bubble-demo-withusage/index.html +15 -0
  340. package/dist/docs/~demos/bubble-demo-withwaitingmessage/index.html +15 -0
  341. package/dist/docs/~demos/components-bubble-list-demo-basic/index.html +15 -0
  342. package/dist/docs/~demos/components-footer-demo-basic/index.html +15 -0
  343. package/dist/docs/~demos/components-footer-demo-withusage/index.html +15 -0
  344. package/dist/docs/~demos/components-status-demo-basic/index.html +15 -0
  345. package/dist/docs/~demos/conversations-demo-basic/index.html +15 -0
  346. package/dist/docs/~demos/disclaimer-demo-demo/index.html +15 -0
  347. package/dist/docs/~demos/disclaimer-demo-withlink/index.html +15 -0
  348. package/dist/docs/~demos/docs-development-ag-ui-demo-with-copilotkit/index.html +15 -0
  349. package/dist/docs/~demos/docs-development-cards-demo-file/index.html +15 -0
  350. package/dist/docs/~demos/docs-development-cards-demo-footer/index.html +15 -0
  351. package/dist/docs/~demos/docs-development-cards-demo-image/index.html +15 -0
  352. package/dist/docs/~demos/docs-development-cards-demo-text/index.html +15 -0
  353. package/dist/docs/~demos/docs-development-custom-demo-custom/index.html +15 -0
  354. package/dist/docs/~demos/docs-templates-copilot-demo-copilot/index.html +15 -0
  355. package/dist/docs/~demos/docs-templates-native-demo-basic/index.html +15 -0
  356. package/dist/docs/~demos/docs-templates-voice-demo-demo/index.html +15 -0
  357. package/dist/docs/~demos/markdown-demo-citations/index.html +15 -0
  358. package/dist/docs/~demos/markdown-demo-cursor/index.html +15 -0
  359. package/dist/docs/~demos/markdown-demo-mathjax/index.html +15 -0
  360. package/dist/docs/~demos/markdown-demo-md/index.html +15 -0
  361. package/dist/docs/~demos/sender-demo-basic/index.html +15 -0
  362. package/dist/docs/~demos/sender-demo-disabled/index.html +15 -0
  363. package/dist/docs/~demos/sender-demo-loading/index.html +15 -0
  364. package/dist/docs/~demos/sender-demo-moreprefixaction/index.html +15 -0
  365. package/dist/docs/~demos/sender-demo-withfile/index.html +15 -0
  366. package/dist/docs/~demos/welcome-demo-demo0/index.html +15 -0
  367. package/dist/docs/~demos/welcome-demo-demo1/index.html +15 -0
  368. package/dist/docs/~demos/welcome-demo-demo2/index.html +15 -0
  369. package/dist/index.d.ts +26 -0
  370. package/dist/index.js +20 -0
  371. package/dist/index.less +1 -0
  372. package/dist/markdown/Citation.d.ts +16 -0
  373. package/dist/markdown/Citation.js +55 -0
  374. package/dist/markdown/CodeBlock.d.ts +6 -0
  375. package/dist/markdown/CodeBlock.js +88 -0
  376. package/dist/markdown/ImageOrVideo.d.ts +2 -0
  377. package/dist/markdown/ImageOrVideo.js +81 -0
  378. package/dist/markdown/Link.d.ts +3 -0
  379. package/dist/markdown/Link.js +28 -0
  380. package/dist/markdown/Markdown.d.ts +4 -0
  381. package/dist/markdown/Markdown.js +121 -0
  382. package/dist/markdown/cursor/Blur.d.ts +3 -0
  383. package/dist/markdown/cursor/Blur.js +7 -0
  384. package/dist/markdown/cursor/Dot.d.ts +3 -0
  385. package/dist/markdown/cursor/Dot.js +16 -0
  386. package/dist/markdown/cursor/Underline.d.ts +3 -0
  387. package/dist/markdown/cursor/Underline.js +7 -0
  388. package/dist/markdown/cursor/index.less +124 -0
  389. package/dist/markdown/hooks/index.d.ts +1 -0
  390. package/dist/markdown/hooks/index.js +49 -0
  391. package/dist/markdown/hooks/useTypedEffect.d.ts +6 -0
  392. package/dist/markdown/hooks/useTypedEffect.js +56 -0
  393. package/dist/markdown/index.d.ts +16 -0
  394. package/dist/markdown/index.js +37 -0
  395. package/dist/markdown/index.less +204 -0
  396. package/dist/markdown/plugins/footnote.d.ts +2 -0
  397. package/dist/markdown/plugins/footnote.js +89 -0
  398. package/dist/markdown/plugins/katexDir.d.ts +1 -0
  399. package/dist/markdown/plugins/katexDir.js +15 -0
  400. package/dist/markdown/rehype/fadeIn.d.ts +2 -0
  401. package/dist/markdown/rehype/fadeIn.js +43 -0
  402. package/dist/markdown/type.d.ts +46 -0
  403. package/dist/markdown/type.js +1 -0
  404. package/dist/markdown/utils.d.ts +22 -0
  405. package/dist/markdown/utils.js +125 -0
  406. package/dist/provider/CustomCardsProvider.d.ts +15 -0
  407. package/dist/provider/CustomCardsProvider.js +18 -0
  408. package/dist/provider/GlobalProvider.d.ts +5 -0
  409. package/dist/provider/GlobalProvider.js +11 -0
  410. package/dist/provider/index.d.ts +8 -0
  411. package/dist/provider/index.js +20 -0
  412. package/dist/provider/types.d.ts +8 -0
  413. package/dist/provider/types.js +1 -0
  414. package/dist/sender/SenderHeader.d.ts +19 -0
  415. package/dist/sender/SenderHeader.js +79 -0
  416. package/dist/sender/StopLoading.d.ts +5 -0
  417. package/dist/sender/StopLoading.js +20 -0
  418. package/dist/sender/components/ActionButton.d.ts +22 -0
  419. package/dist/sender/components/ActionButton.js +39 -0
  420. package/dist/sender/components/ClearButton.d.ts +4 -0
  421. package/dist/sender/components/ClearButton.js +13 -0
  422. package/dist/sender/components/LoadingButton.d.ts +4 -0
  423. package/dist/sender/components/LoadingButton.js +22 -0
  424. package/dist/sender/components/SendButton.d.ts +4 -0
  425. package/dist/sender/components/SendButton.js +14 -0
  426. package/dist/sender/components/SpeechButton/RecordingIcon.d.ts +5 -0
  427. package/dist/sender/components/SpeechButton/RecordingIcon.js +49 -0
  428. package/dist/sender/components/SpeechButton/index.d.ts +4 -0
  429. package/dist/sender/components/SpeechButton/index.js +30 -0
  430. package/dist/sender/index.d.ts +61 -0
  431. package/dist/sender/index.js +307 -0
  432. package/dist/sender/style/header.d.ts +4 -0
  433. package/dist/sender/style/header.js +46 -0
  434. package/dist/sender/style/index.d.ts +10 -0
  435. package/dist/sender/style/index.js +123 -0
  436. package/dist/sender/useSpeech.d.ts +6 -0
  437. package/dist/sender/useSpeech.js +114 -0
  438. package/dist/stream/index.d.ts +34 -0
  439. package/dist/stream/index.en-US.md.bk +50 -0
  440. package/dist/stream/index.js +197 -0
  441. package/dist/stream/index.zh-CN.md.bk +51 -0
  442. package/dist/theme/components.d.ts +10 -0
  443. package/dist/theme/components.js +1 -0
  444. package/dist/theme/cssinjs-utils.d.ts +14 -0
  445. package/dist/theme/cssinjs-utils.js +1 -0
  446. package/dist/theme/genStyleUtils.d.ts +28 -0
  447. package/dist/theme/genStyleUtils.js +49 -0
  448. package/dist/theme/useToken.d.ts +18 -0
  449. package/dist/theme/useToken.js +110 -0
  450. package/dist/version/index.d.ts +2 -0
  451. package/dist/version/index.js +2 -0
  452. package/dist/voice-chat/Recorder/index.d.ts +26 -0
  453. package/dist/voice-chat/Recorder/index.js +168 -0
  454. package/dist/voice-chat/VoiceChatProvider/context.d.ts +22 -0
  455. package/dist/voice-chat/VoiceChatProvider/context.js +3 -0
  456. package/dist/voice-chat/VoiceChatProvider/hooks/useChatState.d.ts +1 -0
  457. package/dist/voice-chat/VoiceChatProvider/hooks/useChatState.js +5 -0
  458. package/dist/voice-chat/VoiceChatProvider/hooks/useMessages.d.ts +8 -0
  459. package/dist/voice-chat/VoiceChatProvider/hooks/useMessages.js +31 -0
  460. package/dist/voice-chat/VoiceChatProvider/hooks/useRecorder.d.ts +5 -0
  461. package/dist/voice-chat/VoiceChatProvider/hooks/useRecorder.js +48 -0
  462. package/dist/voice-chat/VoiceChatProvider/hooks/useVoiceChat.d.ts +4 -0
  463. package/dist/voice-chat/VoiceChatProvider/hooks/useVoiceChat.js +10 -0
  464. package/dist/voice-chat/VoiceChatProvider/index.d.ts +9 -0
  465. package/dist/voice-chat/VoiceChatProvider/index.js +55 -0
  466. package/dist/voice-chat/VoiceChatService/index.d.ts +34 -0
  467. package/dist/voice-chat/VoiceChatService/index.js +209 -0
  468. package/dist/voice-chat/index.d.ts +2 -0
  469. package/dist/voice-chat/index.js +2 -0
  470. package/dist/voice-chat/types/index.d.ts +12 -0
  471. package/dist/voice-chat/types/index.js +4 -0
  472. package/dist/welcome/icon.d.ts +2 -0
  473. package/dist/welcome/icon.js +38 -0
  474. package/dist/welcome/index.d.ts +9 -0
  475. package/dist/welcome/index.js +57 -0
  476. package/package.json +117 -0
@@ -0,0 +1,32 @@
1
+ "use strict";(self.webpackChunk_agentscope_ai_chat=self.webpackChunk_agentscope_ai_chat||[]).push([[9016],{83401:function(Ee,re,e){e.d(re,{Z:function(){return Q}});var J=e(66857),o=e(82242),q=e.n(o),C=e(39647),ae=e.n(C),R=e(21739),f=e(23057),Z=e(68768),ee=e(5465),M=e(92310),H=e.n(M),Y=e(21288),m=e(27174),s=function(E,X){var i=(0,f.wv)(),te=i.getPrefixCls,_=(0,Y.a)(),ce=_.isAtBottom,ue=_.scrollToBottom;R.useImperativeHandle(X,function(){return{scrollToBottom:function(K){function pe(fe){return K.apply(this,arguments)}return pe.toString=function(){return K.toString()},pe}(function(K){K=K||{animation:"instant"},ue(K)})}});var he=te("bubble-list-scroll-to-bottom");return(0,m.jsx)("div",{className:H()(he,"".concat(he,"-").concat(ce?"hide":"show")),children:(0,m.jsx)(Z.ZP,{onClick:function(){return ue({animation:"instant"})},icon:(0,m.jsx)(ee.ArrowDownOutlined,{}),shape:"circle"})})},O=R.forwardRef(s),w=["key"],$=function(E,X){var i=E.items,te=i===void 0?[]:i,_=R.useRef(),ce=(0,f.wv)(),ue=ce.getPrefixCls,he=ue("bubble-list");return R.useImperativeHandle(X,function(){return{scrollToBottom:function(){_.current.scrollToBottom()}}}),(0,m.jsxs)(Y.h,{className:"".concat(he,"-wrapper"),resize:"smooth",initial:"smooth",style:E.style,children:[(0,m.jsx)(Y.h.Content,{className:"".concat(he),children:te.map(function(K){var pe=K.key,fe=ae()(K,w);return(0,R.createElement)(J.Z,q()(q()({},fe),{},{key:fe.id||pe}))})}),(0,m.jsx)(O,{ref:_})]})},F=R.forwardRef($),h=F;J.Z.List=h;var Q=J.Z},83131:function(Ee,re,e){e.d(re,{TQ:function(){return s},vi:function(){return Y}});var J=e(82242),o=e.n(J),q=e(39647),C=e.n(q),ae=e(79800),R=e.n(ae),f=e(21739),Z=e(56095),ee=e(12307),M=e(27174),H=["children"];function Y(O){var w=(0,Z.Z)([]),$=R()(w,3),F=$[0],h=$[1],Q=$[2],se=(0,Z.Z)("0"),E=R()(se,3),X=E[0],i=E[1],te=E[2],_=(0,Z.Z)(0),ce=R()(_,3),ue=ce[0],he=ce[1],K=ce[2],pe=(0,Z.Z)([]),fe=R()(pe,3),Ae=fe[0],Le=fe[1],Ze=fe[2],be=(0,Z.Z)(!1),Pe=R()(be,3),Be=Pe[0],De=Pe[1],N=Pe[2],c=(0,Z.Z)(!1),t=R()(c,3),a=t[0],u=t[1],L=t[2],A=(0,Z.Z)(!0),P=R()(A,3),W=P[0],B=P[1],z=P[2],d=O.children,S=C()(O,H),v=o()({sessionList:F,setSessionList:h,getSessionList:Q,currentSessionKey:X,setCurrentSessionKey:i,getCurrentSessionKey:te,messages:Ae,setMessages:Le,getMessages:Ze,loading:Be,setLoading:De,getLoading:N,disabled:a,setDisabled:u,getDisabled:L,sessionListShow:W,setSessionListShow:B,getSessionListShow:z,currentRegenerateIndex:ue,setCurrentRegenerateIndex:he,getCurrentRegenerateIndex:K},S);return(0,M.jsx)(m.Provider,{value:v,children:d})}var m=(0,ee.kr)(void 0);function s(O){var w=(0,ee.Sz)(m,O);return w}},25794:function(Ee,re,e){e.d(re,{ZP:function(){return z}});var J=e(82242),o=e.n(J),q=e(39647),C=e.n(q),ae=e(79800),R=e.n(ae),f=e(21739),Z=e(92310),ee=e.n(Z),M=e(23057),H=e(45757),Y=e(92908),m=e(83131),s=e(27174);function O(d){var S=(0,m.TQ)(function(b){return{sessionListShow:b.sessionListShow,setSessionListShow:b.setSessionListShow}}),v=S.sessionListShow,l=S.setSessionListShow,p=(0,M.wv)(),T=p.getPrefixCls,D=T("chat-anywhere-layout"),G=$();return(0,f.useEffect)(function(){l(!G)},[G]),d.left?G?(0,s.jsx)(H.Z,{width:"80vw",styles:{body:{padding:0}},open:v,onClose:function(){l(!1)},title:null,closable:!1,placement:"left",children:(0,s.jsx)("div",{style:{display:"flex",flexDirection:"column"},children:d.left})}):(0,s.jsx)("div",{className:ee()("".concat(D,"-left"),v?"":"".concat(D,"-left-hide")),children:d.left}):null}function w(d){var S=(0,M.wv)(),v=S.getPrefixCls,l=v("chat-anywhere-layout"),p=(0,m.TQ)(function(T){return T.uiConfig});return(0,s.jsx)("div",{className:l,children:(0,s.jsxs)("div",{className:"".concat(l,"-main"),children:[(0,s.jsx)(O,o()({},d)),(0,s.jsxs)("div",{className:"".concat(l,"-right"),style:{background:p==null?void 0:p.background},children:[d.top,d.right]})]})})}var $=function(){var S=(0,Y.Z)(),v=(0,m.TQ)(function(l){return l.uiConfig});return!S.md||(v==null?void 0:v.narrowScreen)},F=e(53805),h=e(5465),Q=e(15266),se=e(37205),E=e.n(se),X=e(67699),i=e(67820);function te(){var d=(0,m.TQ)(function(n){return{getCurrentSessionKey:n.getCurrentSessionKey,currentRegenerateIndex:n.currentRegenerateIndex,setCurrentRegenerateIndex:n.setCurrentRegenerateIndex,getCurrentRegenerateIndex:n.getCurrentRegenerateIndex,sessionListShow:n.sessionListShow,setSessionListShow:n.setSessionListShow,sessionList:n.sessionList,setSessionList:n.setSessionList,currentSessionKey:n.currentSessionKey,setCurrentSessionKey:n.setCurrentSessionKey,getSessionList:n.getSessionList}}),S=d.getCurrentSessionKey,v=d.sessionList,l=d.setSessionList,p=d.currentSessionKey,T=d.setCurrentSessionKey,D=d.sessionListShow,G=d.setSessionListShow,b=d.currentRegenerateIndex,U=d.setCurrentRegenerateIndex,V=d.getCurrentRegenerateIndex,ne=d.getSessionList,xe=f.useCallback(function(){var n=(0,X.Z)(),g={label:Date.now().toString(),key:n,messages:[[]]};return i.flushSync(function(){l(function(j){var I=[].concat(E()(j),[g]);return I}),T(n)}),n},[]),ve=f.useCallback(function(n){l(function(g){var j=g.filter(function(I){return I.key!==n});return j})},[]),je=f.useCallback(function(n){var g=S(),j=V();l(function(I){return I.map(function(y){return y.key===g?(y.messages[j]=n,o()({},y)):y})})},[]),Se=f.useCallback(function(n,g){var j;return(j=ne().find(function(I){return I.key===n}))===null||j===void 0?void 0:j.messages[g]},[]),de=f.useCallback(function(){return{sessionList:ne(),currentSessionKey:S(),currentRegenerateIndex:V()}},[]),r=f.useCallback(function(n){var g=n.sessionList,j=n.currentSessionKey,I=n.currentRegenerateIndex;l(g),T(j),U(I)},[]);return{currentRegenerateIndex:b,setCurrentRegenerateIndex:U,getCurrentRegenerateIndex:V,sessionList:v,setSessionList:l,getSessionList:ne,currentSessionKey:p,setCurrentSessionKey:T,sessionListShow:D,setSessionListShow:G,createSession:xe,deleteSession:ve,updateSessionMessages:je,getMessagesBySession:Se,getSession:de,updateSession:r}}function _(){var d=(0,m.TQ)(function(b){return{messages:b.messages,setMessages:b.setMessages,getMessages:b.getMessages}}),S=d.messages,v=d.setMessages,l=d.getMessages,p=f.useCallback(function(b){v(function(U){var V=U.findIndex(function(ne){return ne.id===b.id});return V>-1?[].concat(E()(U.slice(0,V)),[b],E()(U.slice(V+1))):[].concat(E()(U),[b])})},[]),T=f.useCallback(function(b){v(function(U){return U.filter(function(V){return V.id!==b.id})})},[]),D=f.useCallback(function(){v([])},[]),G=f.useCallback(function(b){return l().find(function(U){return U.id===b})},[]);return{messages:S,getMessage:G,setMessages:v,getMessages:l,updateMessage:p,removeMessage:T,removeAllMessages:D}}function ce(){var d=(0,M.wv)(),S=d.getPrefixCls,v=S("chat-anywhere-session-list"),l=(0,m.TQ)(function(p){return p.sessionListShow});return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:ee()("".concat(v),l?"":"".concat(v,"-hide")),children:[(0,s.jsx)(he,{}),(0,s.jsx)(ue,{})]})})}function ue(){var d=(0,M.wv)(),S=d.getPrefixCls,v=S("chat-anywhere-session-list"),l=te(),p=l.currentSessionKey,T=l.setCurrentSessionKey,D=l.currentRegenerateIndex,G=l.sessionList,b=l.getMessagesBySession,U=l.setSessionListShow,V=_(),ne=V.setMessages,xe=(0,m.TQ)(function(Se){return Se.getLoading}),ve=(0,m.TQ)(function(Se){return Se.onSessionKeyChange}),je=$();return(0,f.useEffect)(function(){var Se=b(p,D);ne(Se)},[p,D]),(0,s.jsx)("div",{className:"".concat(v,"-session"),children:(0,s.jsx)(F.Z,{menu:function(de){return{items:[{label:"\u5220\u9664",key:"delete",icon:(0,s.jsx)(h.DeleteOutlined,{}),danger:!0}],onClick:function(n){n.domEvent.stopPropagation()}}},activeKey:p,items:G,onActiveChange:function(de){xe()||(je&&U(!1),requestIdleCallback(function(){T(de),ve(de)}))}})})}function he(){var d=(0,M.wv)(),S=d.getPrefixCls,v=S("chat-anywhere-session-list"),l=te(),p=l.currentSessionKey,T=l.setCurrentSessionKey,D=l.deleteSession,G=l.createSession,b=l.sessionList,U=l.sessionListShow,V=l.setSessionListShow,ne=(0,m.TQ)(function(ve){return ve.uiConfig}),xe=$();return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:"".concat(v,"-logo"),children:[ne==null?void 0:ne.logo,(0,s.jsx)(Q.Z,{className:"".concat(v,"-toggle"),type:"text",onClick:function(){return V(!U)},icon:U?(0,s.jsx)(h.MenuFoldOutlined,{}):(0,s.jsx)(h.MenuUnfoldOutlined,{})})]}),(0,s.jsx)("div",{className:"".concat(v,"-adder"),children:(0,s.jsx)(Q.Z,{type:"primary",block:!0,icon:(0,s.jsx)(h.PlusOutlined,{}),onClick:function(){xe&&V(!1),G()},children:"New Session"})})]})}var K=e(85573),pe=e.n(K),fe=e(83401),Ae=e(7557),Le=e.n(Ae),Ze=e(41498),be=e.n(Ze),Pe=e(129),Be=e(16940);function De(){var d=(0,m.TQ)(function(T){return{loading:T.loading,disabled:T.disabled,setLoading:T.setLoading,setDisabled:T.setDisabled}}),S=d.loading,v=d.disabled,l=d.setLoading,p=d.setDisabled;return{loading:S,disabled:v,setLoading:l,setDisabled:p}}var N=e(13116),c=e(68768);function t(){var d=f.useState(""),S=R()(d,2),v=S[0],l=S[1],p=(0,m.TQ)(function(y){return y.onUpload}),T=(0,f.useRef)(new Array((p==null?void 0:p.length)||0).fill([])),D=f.useState(T.current),G=R()(D,2),b=G[0],U=G[1],V=De(),ne=(0,m.TQ)(function(y){return y.uiConfig}),xe=(0,M.wv)(),ve=xe.getPrefixCls,je=ve("chat-anywhere-sender"),Se=(0,m.TQ)(function(y){return y.onStop}),de=(0,m.TQ)(function(y){var x={morePrefixActions:void 0,maxLength:void 0,zoomable:!0,beforeSubmit:function(){return Promise.resolve(!0)},header:[],hide:!1};return o()(o()({},x),y.onInput)});if(de.hide)return null;var r=function(){var y=be()(Le()().mark(function x(ie,k){return Le()().wrap(function(le){for(;;)switch(le.prev=le.next){case 0:U(function(Ce){return Ce.map(function(Te,me){return me===ie?k:Te})});case 1:case"end":return le.stop()}},x)}));return function(ie,k){return y.apply(this,arguments)}}(),n=p!=null&&p.length?p.map(function(y,x){return(0,f.createElement)(N.Z,o()(o()({},y),{},{fileList:b[x],key:x,onChange:function(k){r(x,k.fileList)},showUploadList:!1}),(0,s.jsx)(c.ZP,{type:"text",icon:y.icon}))}):[],g=(0,s.jsx)(Pe.Z.Header,{closable:!1,open:b==null?void 0:b.some(function(y){return y.length}),children:b.map(function(y,x){return y.length?(0,s.jsx)(Be.Z,{items:y,onChange:function(k){return r(x,k.fileList)}},x):null})}),j=b.map(function(y){return y.filter(function(x){return x.status==="done"})}),I=b.some(function(y){return y.some(function(x){return x.status==="uploading"})});return(0,s.jsxs)("div",{className:ee()("".concat(je,"-wrapper")),children:[ne.quickInput&&(0,s.jsx)("div",{className:ee()("".concat(je,"-wrapper-header")),children:ne.quickInput}),(0,s.jsx)(Pe.Z,{value:v,onChange:l,maxLength:de.maxLength,disabled:I||V.disabled,zoomable:(de==null?void 0:de.zoomable)||!0,header:g,prefix:(0,s.jsxs)(s.Fragment,{children:[n,de==null?void 0:de.morePrefixActions]}),onSubmit:be()(Le()().mark(function y(){var x;return Le()().wrap(function(k){for(;;)switch(k.prev=k.next){case 0:return k.next=2,(de.beforeSubmit||function(){return Promise.resolve(!0)})();case 2:if(x=k.sent,x){k.next=5;break}return k.abrupt("return");case 5:de.onSubmit({query:v,fileList:j}),l(""),U(T.current);case 8:case"end":return k.stop()}},y)})),onCancel:function(){Se(),V.setLoading(!1)},loading:V.loading})]})}var a=e(6552),u=e(4873),L=(0,f.forwardRef)(function(d,S){var v=(0,m.TQ)(function(ve){return ve.messages}),l=(0,M.wv)(),p=l.getPrefixCls,T=p("chat-anywhere"),D=(0,m.TQ)(function(ve){return ve.uiConfig}),G=(0,f.useState)(!1),b=R()(G,2),U=b[0],V=b[1];(0,a.Z)(function(){V(!0)},300);var ne=ee()("".concat(T,"-chat"),pe()({},"".concat(T,"-chat-hide"),!U)),xe=!(v!=null&&v.length);return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:ne,children:[(0,s.jsx)(fe.Z.List,{style:{height:0,flex:xe?0:1},ref:S,items:v}),xe?(0,s.jsx)("div",{className:"".concat(ne,"-welcome"),children:D==null?void 0:D.welcome}):null,(0,s.jsx)("div",{className:"".concat(ne,"-sender"),style:D!=null&&D.disclaimer?{marginBottom:16}:{},children:(0,s.jsx)(t,{})}),(D==null?void 0:D.disclaimer)&&(0,s.jsx)(u.Z,{style:{position:"absolute",bottom:0,width:"100%"},desc:D==null?void 0:D.disclaimer})]})})});function A(){var d=(0,M.wv)(),S=d.getPrefixCls,v=S("chat-anywhere-header"),l=(0,m.TQ)(function(b){return b.uiConfig}),p=te(),T=p.sessionListShow,D=p.setSessionListShow,G=$();return(0,s.jsxs)("div",{className:v,children:[G&&(0,s.jsx)(c.ZP,{style:{marginLeft:12},type:"text",onClick:function(){return D(!T)},icon:T?(0,s.jsx)(h.MenuFoldOutlined,{}):(0,s.jsx)(h.MenuUnfoldOutlined,{})}),l.header]})}var P=e(13875),W=f.forwardRef(function(S,v){var l=_(),p=De(),T=te();return f.useImperativeHandle(v,function(){return o()(o()(o()({},l),p),T)}),null}),B=["cardConfig"],z=(0,f.forwardRef)(function(d,S){var v=(0,f.useState)(0),l=R()(v,2),p=l[0],T=l[1],D=d.cardConfig,G=C()(d,B),b=(0,f.useRef)(null),U=(0,f.useRef)(null);return f.useImperativeHandle(S,function(){return o()(o()(o()({},b.current),U.current),{},{reload:function(){T(function(ne){return ne+1})}})}),(0,f.createElement)(m.vi,o()(o()({},G),{},{key:p}),(0,s.jsxs)(P.xy,{cardConfig:D,children:[(0,s.jsx)(w,{top:G.uiConfig.header?(0,s.jsx)(A,{}):null,left:G.onSessionKeyChange?(0,s.jsx)(ce,{}):null,right:(0,s.jsx)(L,{ref:b})}),(0,s.jsx)(W,{ref:U})]}))})},53805:function(Ee,re,e){e.d(re,{Z:function(){return N}});var J=e(82242),o=e.n(J),q=e(85573),C=e.n(q),ae=e(79800),R=e.n(ae),f=e(39647),Z=e.n(f),ee=e(92310),M=e.n(ee),H=e(21739),Y=e(53799),m=e(27174),s=H.createContext(null),O=function(t){var a=t.children,u=H.useContext(s),L=u.prefixCls;return(0,m.jsx)("div",{className:M()("".concat(L,"-group-title")),children:a&&(0,m.jsx)(Y.Z.Text,{children:a})})},w=O,$=e(5465),F=e(93304),h=e(65368),Q=e(20142),se=["prefixCls","info","className","direction","onClick","active","menu"],E=function(t){t.stopPropagation()},X=function(t){var a=t.prefixCls,u=t.info,L=t.className,A=t.direction,P=t.onClick,W=t.active,B=t.menu,z=Z()(t,se),d=(0,Q.Z)(z,{aria:!0,data:!0,attr:!0}),S=u.disabled,v=H.useState(!1),l=R()(v,2),p=l[0],T=l[1],D=H.useState(!1),G=R()(D,2),b=G[0],U=G[1],V=M()(L,"".concat(a,"-item"),C()({},"".concat(a,"-item-active"),W&&!S),C()({},"".concat(a,"-item-disabled"),S)),ne=function(){!S&&P&&P(u)},xe=function(je){je&&U(!je)};return(0,m.jsx)(F.Z,{title:u.label,open:p&&b,onOpenChange:U,placement:A==="rtl"?"left":"right",children:(0,m.jsxs)("li",o()(o()({},d),{},{className:V,onClick:ne,children:[u.icon&&(0,m.jsx)("div",{className:"".concat(a,"-icon"),children:u.icon}),(0,m.jsx)(Y.Z.Text,{className:"".concat(a,"-label"),ellipsis:{onEllipsis:T},children:u.label}),B&&!S&&(0,m.jsx)(h.Z,{menu:B,placement:A==="rtl"?"bottomLeft":"bottomRight",trigger:["click"],disabled:S,onOpenChange:xe,children:(0,m.jsx)($.EllipsisOutlined,{onClick:E,disabled:S,className:"".concat(a,"-menu-icon")})})]}))})},i=X,te=e(62488),_=e(23057),ce=e(31468),ue=e.n(ce),he="__ungrouped",K=function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],u=H.useMemo(function(){if(!t)return[!1,void 0,void 0];var B={sort:void 0,title:void 0};return ue()(t)==="object"&&(B=o()(o()({},B),t)),[!0,B.sort,B.title]},[t]),L=R()(u,3),A=L[0],P=L[1],W=L[2];return H.useMemo(function(){if(!A){var B=[{name:he,data:a,title:void 0}];return[B,A]}var z=a.reduce(function(v,l){var p=l.group||he;return v[p]||(v[p]=[]),v[p].push(l),v},{}),d=P?Object.keys(z).sort(P):Object.keys(z),S=d.map(function(v){return{name:v===he?void 0:v,title:W,data:z[v]}});return[S,A]},[a,t])},pe=K,fe=e(15930),Ae=e(51636),Le=e(27710),Ze=function(t){var a=t.componentCls;return C()({},a,C()(C()(C()(C()(C()(C()({display:"flex",flexDirection:"column",gap:8,overflowY:"auto",padding:0,margin:0},"&".concat(a,"-rtl"),{direction:"rtl"}),"& ".concat(a,"-list"),C()(C()({display:"flex",gap:t.paddingXXS,flexDirection:"column"},"& ".concat(a,"-item"),{paddingInlineStart:t.paddingXL}),"& ".concat(a,"-label"),{color:t.colorTextDescription})),"& ".concat(a,"-item"),{display:"flex",height:t.controlHeightLG,minHeight:t.controlHeightLG,gap:t.paddingXS,padding:"0 ".concat((0,fe.bf)(t.paddingXS)),alignItems:"center",borderRadius:t.borderRadiusLG,cursor:"pointer",transition:"all ".concat(t.motionDurationMid," ").concat(t.motionEaseInOut),"&:hover":{backgroundColor:t.colorBgTextHover},"&-active":C()({backgroundColor:t.colorBgTextHover},"& ".concat(a,"-label, ").concat(a,"-menu-icon"),{color:t.colorText}),"&-disabled":C()({cursor:"not-allowed"},"& ".concat(a,"-label"),{color:t.colorTextDisabled}),"&:hover, &-active":C()({},"& ".concat(a,"-menu-icon"),{opacity:1})}),"& ".concat(a,"-label"),{flex:1,color:t.colorText}),"& ".concat(a,"-menu-icon"),{opacity:0,fontSize:t.fontSizeXL}),"& ".concat(a,"-group-title"),{display:"flex",alignItems:"center",height:t.controlHeightLG,minHeight:t.controlHeightLG,padding:"0 ".concat((0,fe.bf)(t.paddingXS))}))},be=function(){return{}},Pe=(0,Le.I$)("Conversations",function(c){var t=(0,Ae.IX)(c,{});return Ze(t)},be),Be=["prefixCls","rootClassName","items","activeKey","defaultActiveKey","onActiveChange","menu","styles","classNames","groupable","className","style"],De=function(t){var a=t.prefixCls,u=t.rootClassName,L=t.items,A=t.activeKey,P=t.defaultActiveKey,W=t.onActiveChange,B=t.menu,z=t.styles,d=z===void 0?{}:z,S=t.classNames,v=S===void 0?{}:S,l=t.groupable,p=t.className,T=t.style,D=Z()(t,Be),G=(0,Q.Z)(D,{attr:!0,aria:!0,data:!0}),b=(0,te.Z)(P,{value:A}),U=R()(b,2),V=U[0],ne=U[1],xe=pe(l,L),ve=R()(xe,2),je=ve[0],Se=ve[1],de=(0,_.wv)(),r=de.getPrefixCls,n=de.direction,g=r("conversations",a),j=Pe(g),I=R()(j,3),y=I[0],x=I[1],ie=I[2],k=M()(g,p,u,x,ie,C()({},"".concat(g,"-rtl"),n==="rtl")),Re=function(Ce){ne(Ce.key),W&&W(Ce.key)};return y((0,m.jsx)("ul",o()(o()({},G),{},{style:T,className:k,children:je.map(function(le,Ce){var Te=le.data.map(function(Oe,ye){return(0,m.jsx)(i,{info:Oe,prefixCls:g,direction:n,className:M()(v.item),style:d.item,menu:typeof B=="function"?B(Oe):B,active:V===Oe.key,onClick:Re},Oe.key||"key-".concat(ye))});if(Se){var me;return(0,m.jsxs)("li",{children:[(0,m.jsx)(s.Provider,{value:{prefixCls:g},children:((me=le.title)===null||me===void 0?void 0:me.call(le,le.name,{components:{GroupTitle:w}}))||(0,m.jsx)(w,{children:le.name},le.name)}),(0,m.jsx)("ul",{className:"".concat(g,"-list"),children:Te})]},le.name||"key-".concat(Ce))}return Te})})))},N=De},4873:function(Ee,re,e){e.d(re,{Z:function(){return ee}});var J=e(41363),o=e.n(J),q=e(21739),C=e(82413),ae=e(27174),R,f,Z=(0,C.kc)(function(M){var H=M.css,Y=M.token;return{disclaimer:H(R||(R=o()([`
2
+ display: flex;
3
+ align-items: center;
4
+ justify-content: center;
5
+ font-size: 12px;
6
+ line-height: 1.5;
7
+ color: `,`;
8
+ padding: 8px 12px;
9
+
10
+ `])),Y.colorTextTertiary),afterLink:H(f||(f=o()([`
11
+ padding-left: 8px;
12
+ `])))}});function ee(M){var H=Z(),Y=H.styles,m=M.desc,s=m===void 0?"AI can also make mistakes, so please check carefully and use it with caution":m;return(0,ae.jsxs)("div",{className:Y.disclaimer,style:M.style,children:[s,M.afterLink&&(0,ae.jsx)("a",{className:Y.afterLink,href:M.afterLink.href,target:"_blank",children:M.afterLink.text})]})}},6699:function(Ee,re,e){e.r(re),e.d(re,{Accordion:function(){return F.Z},Attachments:function(){return q.Z},Bubble:function(){return ae.Z},ChatAnywhere:function(){return s.ZP},ChatInput:function(){return C.Z},ConfigProvider:function(){return J.ZP},Conversations:function(){return R.Z},CustomCardsContext:function(){return M.NR},CustomCardsProvider:function(){return M.xy},DeepThink:function(){return h.Z},DefaultCards:function(){return $},Disclaimer:function(){return Q.Z},Markdown:function(){return se.Z},Process:function(){return F.Z},RecorderProvider:function(){return f.o},Sender:function(){return C.Z},SparkChatProvider:function(){return ee.ZP},Stream:function(){return Y.Z},VoiceChatProvider:function(){return f.M},Welcome:function(){return X.Z},createCard:function(){return m.LH},useChatAnywhere:function(){return w.TQ},useCustomCardsContext:function(){return M.HJ},useGlobalContext:function(){return H.bN},useProviderContext:function(){return ee.wv},useTypedEffect:function(){return E.Z},useVoiceChat:function(){return Z.Z},uuid:function(){return O.Z},version:function(){return o.Z}});var J=e(15003),o=e(9876),q=e(16940),C=e(129),ae=e(83401),R=e(53805),f=e(58832),Z=e(91977),ee=e(23057),M=e(13875),H=e(72727),Y=e(13392),m=e(86770),s=e(25794),O=e(67699),w=e(83131),$=e(96082),F=e(11078),h=e(61416),Q=e(4873),se=e(76857),E=e(68828),X=e(35393)},129:function(Ee,re,e){e.d(re,{Z:function(){return de}});var J=e(82242),o=e.n(J),q=e(85573),C=e.n(q),ae=e(37205),R=e.n(ae),f=e(79800),Z=e.n(f),ee=e(39647),M=e.n(ee),H=e(68768),Y=e(38971),m=e(41478),s=e(92310),O=e.n(s),w=e(70425),$=e(20142),F=e(27241),h=e(21739);function Q(r,n){return(0,h.useImperativeHandle)(r,function(){var g=n(),j=g.nativeElement;return new Proxy(j,{get:function(y,x){return g[x]?g[x]:Reflect.get(y,x)}})})}var se=e(23057),E=e(5465),X=e(77900),i=e(27174),te=h.createContext({}),_=function(){return{height:0}},ce=function(n){return{height:n.scrollHeight}};function ue(r){var n=r.title,g=r.onOpenChange,j=r.open,I=r.children,y=r.className,x=r.style,ie=r.classNames,k=ie===void 0?{}:ie,Re=r.styles,le=Re===void 0?{}:Re,Ce=r.closable,Te=r.forceRender,me=h.useContext(te),Oe=me.prefixCls,ye="".concat(Oe,"-header");return(0,i.jsx)(X.ZP,{motionEnter:!0,motionLeave:!0,motionName:"".concat(ye,"-motion"),leavedClassName:"".concat(ye,"-motion-hidden"),onEnterStart:_,onEnterActive:ce,onLeaveStart:ce,onLeaveActive:_,visible:j,forceRender:Te,children:function(We){var Ge=We.className,Fe=We.style;return(0,i.jsxs)("div",{className:O()(ye,Ge,y),style:o()(o()({},Fe),x),children:[(Ce!==!1||n)&&(0,i.jsxs)("div",{className:O()("".concat(ye,"-header"),k.header),style:o()({},le.header),children:[(0,i.jsx)("div",{className:"".concat(ye,"-title"),children:n}),Ce!==!1&&(0,i.jsx)("div",{className:"".concat(ye,"-close"),children:(0,i.jsx)(H.ZP,{type:"text",icon:(0,i.jsx)(E.CloseOutlined,{}),size:"small",onClick:function(){g==null||g(!j)}})})]}),I&&(0,i.jsx)("div",{className:O()("".concat(ye,"-content"),k.content),style:o()({},le.content),children:I})]})}})}var he=["className","action","onClick"],K=h.createContext(null);function pe(r,n){var g,j=r.className,I=r.action,y=r.onClick,x=M()(r,he),ie=h.useContext(K),k=ie.prefixCls,Re=ie.disabled,le=ie[I],Ce=(g=Re!=null?Re:x.disabled)!==null&&g!==void 0?g:ie["".concat(I,"Disabled")];return(0,i.jsx)(H.ZP,o()(o()({},x),{},{ref:n,onClick:function(me){Ce||(le&&le(),y&&y(me))},className:O()(k,j,C()({},"".concat(k,"-disabled"),Ce))}))}var fe=h.forwardRef(pe);function Ae(r,n){return(0,i.jsx)(fe,o()(o()({icon:(0,i.jsx)(E.ClearOutlined,{})},r),{},{action:"onClear",ref:n}))}var Le=h.forwardRef(Ae),Ze=(0,h.memo)(function(r){var n=r.className;return(0,i.jsxs)("svg",{color:"currentColor",viewBox:"0 0 1000 1000",xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",className:n,children:[(0,i.jsx)("title",{children:"Stop Loading"}),(0,i.jsx)("rect",{fill:"currentColor",height:"250",rx:"24",ry:"24",width:"250",x:"375",y:"375"})]})}),be=Ze;function Pe(r,n){var g=h.useContext(K),j=g.prefixCls,I=r.className;return(0,i.jsx)(fe,o()(o()({icon:null,type:"primary",variant:"text"},r),{},{className:O()(I,"".concat(j,"-loading-button")),action:"onCancel",ref:n,children:(0,i.jsx)(be,{className:"".concat(j,"-loading-icon")})}))}var Be=h.forwardRef(Pe);function De(r,n){return(0,i.jsx)(fe,o()(o()({icon:(0,i.jsx)(E.ArrowUpOutlined,{}),type:"primary"},r),{},{action:"onSend",ref:n}))}var N=h.forwardRef(De),c=1e3,t=4,a=140,u=a/2,L=250,A=500,P=.8;function W(r){var n=r.className;return(0,i.jsxs)("svg",{color:"currentColor",viewBox:"0 0 ".concat(c," ").concat(c),xmlns:"http://www.w3.org/2000/svg",xmlnsXlink:"http://www.w3.org/1999/xlink",className:n,children:[(0,i.jsx)("title",{children:"Speech Recording"}),Array.from({length:t}).map(function(g,j){var I=(c-a*t)/(t-1),y=j*(I+a),x=c/2-L/2,ie=c/2-A/2;return(0,i.jsxs)("rect",{fill:"currentColor",rx:u,ry:u,height:L,width:a,x:y,y:x,children:[(0,i.jsx)("animate",{attributeName:"height",values:"".concat(L,"; ").concat(A,"; ").concat(L),keyTimes:"0; 0.5; 1",dur:"".concat(P,"s"),begin:"".concat(P/t*j,"s"),repeatCount:"indefinite"}),(0,i.jsx)("animate",{attributeName:"y",values:"".concat(x,"; ").concat(ie,"; ").concat(x),keyTimes:"0; 0.5; 1",dur:"".concat(P,"s"),begin:"".concat(P/t*j,"s"),repeatCount:"indefinite"})]},j)})]})}function B(r,n){var g=h.useContext(K),j=g.speechRecording,I=g.onSpeechDisabled,y=g.prefixCls,x=null;return j?x=(0,i.jsx)(W,{className:"".concat(y,"-recording-icon")}):I?x=(0,i.jsx)(E.AudioMutedOutlined,{}):x=(0,i.jsx)(E.AudioOutlined,{}),(0,i.jsx)(fe,o()(o()({icon:x,color:"primary",variant:"text"},r),{},{action:"onSpeech",ref:n}))}var z=h.forwardRef(B),d=e(15930),S=e(51636),v=e(27710),l=function(n){var g=n.componentCls,j=n.calc,I="".concat(g,"-header");return C()({},g,C()({},I,{"&-header":C()({background:n.colorFillAlter,fontSize:n.fontSize,lineHeight:n.lineHeight,paddingBlock:j(n.paddingSM).sub(n.lineWidthBold).equal(),paddingInlineStart:n.padding,paddingInlineEnd:n.paddingXS,display:"flex"},"".concat(I,"-title"),{flex:"auto",color:n.colorText}),"&-content":{},"&-motion":{transition:["height","border"].map(function(y){return"".concat(y," ").concat(n.motionDurationSlow)}).join(","),overflow:"hidden","&-enter-start, &-leave-active":{borderBottomColor:"transparent"},"&-hidden":{display:"none"}}}))},p=l,T=function(n){var g=n.componentCls,j=n.padding,I=n.paddingSM,y=n.paddingXS,x=n.lineWidth,ie=n.lineWidthBold,k=n.calc;return C()({},g,C()(C()(C()(C()(C()(C()(C()({position:"relative",width:"100%",boxSizing:"border-box",boxShadow:"0px 12px 24px -16px rgba(54, 54, 73, 0.04),0px 12px 40px 0px rgba(51, 51, 71, 0.08),0px 0px 1px 0px rgba(44, 44, 54, 0.02)",transition:"background ".concat(n.motionDurationSlow),backgroundColor:n.colorBgBase,borderRadius:{_skip_check_:!0,value:8},borderColor:n.colorBorder,borderWidth:0,borderStyle:"solid","&:after":{content:'""',position:"absolute",inset:0,pointerEvents:"none",transition:"border-color ".concat(n.motionDurationSlow),borderRadius:{_skip_check_:!0,value:"inherit"},borderStyle:"inherit",borderColor:"inherit",borderWidth:x},"&:focus-within":{boxShadow:"0px 12px 24px -16px rgba(54, 54, 73, 0.04),0px 12px 40px 0px rgba(51, 51, 71, 0.08),0px 0px 1px 0px rgba(44, 44, 54, 0.02)",borderColor:n.colorPrimaryHover,"&:after":{borderWidth:x}},"&-disabled":{background:n.colorBgContainerDisabled}},"&".concat(g,"-rtl"),{direction:"rtl"}),"".concat(g,"-content"),{width:"100%",padding:8,boxSizing:"border-box",overflow:"hidden",borderRadius:10}),"".concat(g,"-content-bottom"),{display:"flex",marginTop:8}),"".concat(g,"-prefix"),{flex:1}),"".concat(g,"-input"),{padding:"6px 8px",borderRadius:0,alignSelf:"center",fontSize:14,lineHeight:1.7}),"".concat(g,"-actions-list"),{flex:"none",display:"flex",margin:"0 0 0 auto","&-presets":{gap:n.paddingXS},"&-length":{fontSize:12,lineHeight:1,display:"flex",alignItems:"center",padding:"0 12px",color:n.colorTextTertiary}}),"".concat(g,"-actions-btn"),{"&-disabled":{opacity:.45},"&-loading-button":{padding:0,border:0},"&-loading-icon":{height:n.controlHeight,width:n.controlHeight,verticalAlign:"top"},"&-recording-icon":{height:"1.2em",width:"1.2em",verticalAlign:"top"}}))},D=function(){return{}},G=(0,v.I$)("Sender",function(r){var n=r.paddingXS,g=r.calc,j=(0,S.IX)(r,{SenderContentMaxWidth:"calc(100% - ".concat((0,d.bf)(g(n).add(32).equal()),")")});return[T(j),p(j)]},D),b=e(31468),U=e.n(b),V;!V&&typeof window!="undefined"&&(V=window.SpeechRecognition||window.webkitSpeechRecognition);function ne(r,n){var g=(0,w.zX)(r),j=h.useMemo(function(){return U()(n)==="object"?[n.recording,n.onRecordingChange,typeof n.recording=="boolean"]:[void 0,void 0,!1]},[n]),I=Z()(j,3),y=I[0],x=I[1],ie=I[2],k=h.useState(null),Re=Z()(k,2),le=Re[0],Ce=Re[1];h.useEffect(function(){if(typeof navigator!="undefined"&&"permissions"in navigator){var Ke=null;return navigator.permissions.query({name:"microphone"}).then(function(Ue){Ce(Ue.state),Ue.onchange=function(){Ce(this.state)},Ke=Ue}),function(){Ke&&(Ke.onchange=null)}}},[]);var Te=V&&le!=="denied",me=h.useRef(null),Oe=(0,w.C8)(!1,{value:y}),ye=Z()(Oe,2),we=ye[0],We=ye[1],Ge=h.useRef(!1),Fe=function(){if(Te&&!me.current){var Ue=new V;Ue.onstart=function(){We(!0)},Ue.onend=function(){We(!1)},Ue.onresult=function(Ve){if(!Ge.current){var Me,Qe=(Me=Ve.results)===null||Me===void 0||(Me=Me[0])===null||Me===void 0||(Me=Me[0])===null||Me===void 0?void 0:Me.transcript;g(Qe)}Ge.current=!1},me.current=Ue}},He=(0,w.zX)(function(Ke){Ke&&!we||(Ge.current=Ke,ie?x==null||x(!we):(Fe(),me.current&&(we?(me.current.stop(),x==null||x(!1)):(me.current.start(),x==null||x(!0)))))});return[Te,He,we]}var xe=["prefixCls","styles","classNames","className","rootClassName","style","defaultValue","value","readOnly","submitType","onSubmit","loading","components","onCancel","onChange","actions","onKeyPress","onKeyDown","disabled","allowSpeech","header","onPaste","onPasteFile"];function ve(r,n,g){return(0,F.Z)(r,n)||g}var je=h.forwardRef(function(r,n){var g=r.prefixCls,j=r.styles,I=j===void 0?{}:j,y=r.classNames,x=y===void 0?{}:y,ie=r.className,k=r.rootClassName,Re=r.style,le=r.defaultValue,Ce=r.value,Te=r.readOnly,me=r.submitType,Oe=me===void 0?"enter":me,ye=r.onSubmit,we=r.loading,We=r.components,Ge=r.onCancel,Fe=r.onChange,He=r.actions,Ke=r.onKeyPress,Ue=r.onKeyDown,Ve=r.disabled,Me=r.allowSpeech,Qe=r.header,Ye=r.onPaste,at=r.onPasteFile,vt=M()(r,xe),ft=(0,h.useState)(r.zoomable?!1:void 0),ot=Z()(ft,2),Xe=ot[0],ht=ot[1],mt=h.useMemo(function(){return Xe?{maxRows:8,minRows:8}:{maxRows:2,minRows:2}},[r.zoomable,Xe]),it=h.useMemo(function(){var ge=Array.isArray(r.prefix)?R()(r.prefix):[r.prefix];return r.zoomable&&ge.push((0,i.jsx)(H.ZP,{onClick:function(){return ht(!Xe)},type:"text",icon:Xe?(0,i.jsx)(E.FullscreenExitOutlined,{}):(0,i.jsx)(E.FullscreenOutlined,{})},"zoom")),ge},[r.prefix,r.zoomable,Xe]),lt=(0,se.wv)(),gt=lt.direction,Ct=lt.getPrefixCls,Ne=Ct("sender",g),ke=h.useRef(null),_e=h.useRef(null);Q(n,function(){var ge,oe;return{nativeElement:ke.current,focus:(ge=_e.current)===null||ge===void 0?void 0:ge.focus,blur:(oe=_e.current)===null||oe===void 0?void 0:oe.blur}});var ct="".concat(Ne,"-input"),xt=G(Ne),qe=Z()(xt,3),St=qe[0],yt=qe[1],pt=qe[2],Pt=O()(Ne,ie,k,yt,pt,C()(C()({},"".concat(Ne,"-rtl"),gt==="rtl"),"".concat(Ne,"-disabled"),Ve)),Rt="".concat(Ne,"-actions-btn"),et="".concat(Ne,"-actions-list"),bt=(0,w.C8)(le||"",{value:Ce}),ut=Z()(bt,2),$e=ut[0],jt=ut[1],tt=function(oe,Ie){jt(oe),Fe&&Fe(oe,Ie)},Lt=ne(function(ge){tt("".concat($e," ").concat(ge))},Me),nt=Z()(Lt,3),Tt=nt[0],dt=nt[1],Mt=nt[2],It=ve(We,["input"],Y.Z.TextArea),Et=(0,$.Z)(vt,{attr:!0,aria:!0,data:!0}),At=o()(o()({},Et),{},{ref:_e}),st=function(){$e&&ye&&!we&&ye($e)},Dt=function(){tt("")},rt=h.useRef(!1),Nt=function(){rt.current=!0},Bt=function(){rt.current=!1},Ot=function(oe){var Ie=oe.key==="Enter"&&!rt.current;switch(Oe){case"enter":Ie&&!oe.shiftKey&&(oe.preventDefault(),st());break;case"shiftEnter":Ie&&oe.shiftKey&&(oe.preventDefault(),st());break}Ke&&Ke(oe)},Kt=function(oe){var Ie,ze=(Ie=oe.clipboardData)===null||Ie===void 0?void 0:Ie.files[0];ze&&at&&(at(ze),oe.preventDefault()),Ye==null||Ye(oe)},Ut=function(oe){var Ie,ze;oe.target!==((Ie=ke.current)===null||Ie===void 0?void 0:Ie.querySelector(".".concat(ct)))&&oe.preventDefault(),(ze=_e.current)===null||ze===void 0||ze.focus()},Je=(0,i.jsxs)(m.Z,{className:"".concat(et,"-presets"),children:[Me&&(0,i.jsx)(z,{}),we?(0,i.jsx)(Be,{}):(0,i.jsx)(N,{})]});return typeof He=="function"?Je=He(Je,{components:{SendButton:N,ClearButton:Le,LoadingButton:Be}}):He&&(Je=He),St((0,i.jsxs)("div",{ref:ke,className:Pt,style:Re,children:[Qe&&(0,i.jsx)(te.Provider,{value:{prefixCls:Ne},children:Qe}),(0,i.jsxs)("div",{className:"".concat(Ne,"-content"),onMouseDown:Ut,children:[(0,i.jsx)(It,o()(o()({},At),{},{disabled:Ve,style:I.input,className:O()(ct,x.input),autoSize:mt,value:$e.slice(0,r.maxLength||Number.MAX_SAFE_INTEGER),onChange:function(oe){tt(oe.target.value,oe),dt(!0)},onPressEnter:Ot,onCompositionStart:Nt,onCompositionEnd:Bt,onKeyDown:Ue,onPaste:Kt,variant:"borderless",readOnly:Te})),(0,i.jsxs)("div",{className:"".concat(Ne,"-content-bottom"),children:[it.length>0&&(0,i.jsx)("div",{className:O()("".concat(Ne,"-prefix"),x.prefix),style:I.prefix,children:(0,i.jsx)(m.Z,{gap:8,children:it})}),(0,i.jsxs)("div",{className:O()(et,x.actions),style:I.actions,children:[r.maxLength?(0,i.jsxs)("div",{className:"".concat(et,"-length"),children:[$e.length,"/",r.maxLength]}):null,(0,i.jsx)(K.Provider,{value:{prefixCls:Rt,onSend:st,onSendDisabled:!$e,onClear:Dt,onClearDisabled:!$e,onCancel:Ge,onCancelDisabled:!we,onSpeech:function(){return dt(!1)},onSpeechDisabled:!Tt,speechRecording:Mt,disabled:Ve},children:Je})]})]})]})]}))}),Se=je;Se.Header=ue;var de=Se},13392:function(Ee,re,e){var J=e(7557),o=e.n(J),q=e(85573),C=e.n(q),ae=e(82242),R=e.n(ae),f=e(54528),Z=e.n(f),ee=e(12667),M=e.n(ee),H=`
13
+
14
+ `,Y=`
15
+ `,m=":",s=function(h){return(h!=null?h:"").trim()!==""};function O(){var F="";return new TransformStream({transform:function(Q,se){F+=Q;var E=F.split(H);E.slice(0,-1).forEach(function(X){s(X)&&se.enqueue(X)}),F=E[E.length-1]},flush:function(Q){s(F)&&Q.enqueue(F)}})}function w(){return new TransformStream({transform:function(h,Q){var se=h.split(Y),E=se.reduce(function(X,i){var te=i.indexOf(m);if(te===-1)throw new Error('The key-value separator "'.concat(m,'" is not found in the sse line chunk!'));var _=i.slice(0,te);if(!s(_))return X;var ce=i.slice(te+1);return R()(R()({},X),{},C()({},_,ce))},{});Object.keys(E).length!==0&&Q.enqueue(E)}})}function $(F,h){var Q=F.readableStream,se=F.transformStream;if(!(Q instanceof ReadableStream))throw new Error("The options.readableStream must be an instance of ReadableStream.");var E=new TextDecoderStream,X=se?Q.pipeThrough(E).pipeThrough(se):Q.pipeThrough(E).pipeThrough(O()).pipeThrough(w());return X[Symbol.asyncIterator]=M()(o()().mark(function i(){var te,_,ce,ue;return o()().wrap(function(K){for(;;)switch(K.prev=K.next){case 0:te=this.getReader();case 1:return K.next=4,Z()(te.read());case 4:if(_=K.sent,ce=_.done,ue=_.value,!ce){K.next=9;break}return K.abrupt("break",15);case 9:if(ue){K.next=11;break}return K.abrupt("continue",1);case 11:return K.next=13,h.openaiCompatible?R()(R()({},ue),{},{data:ue.data.slice(1)}):ue;case 13:K.next=1;break;case 15:case"end":return K.stop()}},i,this)})),X}re.Z=$},37813:function(Ee,re,e){e.d(re,{b:function(){return o},w:function(){return q}});var J=e(21739),o=(0,J.createContext)(void 0),q=(0,J.createContext)(void 0)},91977:function(Ee,re,e){e.d(re,{Z:function(){return q}});var J=e(21739),o=e(37813);function q(){var C=(0,J.useContext)(o.b),ae=(0,J.useContext)(o.w);return{voiceChatContext:C,recorderContext:ae}}},58832:function(Ee,re,e){e.d(re,{o:function(){return De},M:function(){return Be}});var J=e(79800),o=e.n(J),q=e(21739),C=e(37813),ae=e(7557),R=e.n(ae),f=e(41498),Z=e.n(f),ee=e(82100),M=e.n(ee),H=e(29186),Y=e.n(H),m=e(85573),s=e.n(m),O=e(85785),w=e.n(O),$=e(58885),F=16e3,h=16,Q=100,se=F*(h/8)*Q/1e3,E=e(82242),X=e.n(E),i=e(85614),te=e(67699),_=function(c){return c&&console.log(c)},ce=function(){function N(c){var t=this;M()(this,N),s()(this,"_wsURL",void 0),s()(this,"_ws",void 0),s()(this,"_stream",void 0),s()(this,"_rec",void 0),s()(this,"onProcessResponseText",void 0),s()(this,"onProcessASR",void 0),s()(this,"onProcessTTS",void 0),s()(this,"chatState",void 0),s()(this,"initPlayer",function(){t._stream=w().BufferStreamPlayer({decode:!1,play:!0,realtime:{discardAll:!0,maxDelay:300},transform:function(L,A,P){P(new Int16Array(L),16e3)},sampleRate:16e3});var a;t._stream.start(function(){t._rec=w()({type:"unknown",sourceStream:t._stream.getMediaStream(),onProcess:function(L,A,P,W){var B=L[L.length-1];a&&a.input(B,A,W)}}),t._rec.open(function(){a=w().WaveView({elem:".tts",width:165,height:45}),t._rec.start()})})}),s()(this,"_asrCache",{event:"AudioTranscript"}),s()(this,"_responseTextCache",{event:"ResponseText"}),s()(this,"processByCache",function(a){return function(u){return t[a].payload||(t[a].payload={text:"",finished:!0}),t[a].payload.finished?(t[a].payload.text=u.payload.text,t[a].payload._id=(0,te.Z)()):t[a].payload.text+=u.payload.text,t[a].payload.finished=u.payload.finished,X()({},t[a])}}),this._wsURL=c.wsURL,this.chatState=c.chatState,this.onProcessResponseText=c.onProcessResponseText||_,this.onProcessASR=c.onProcessASR||_,this.onProcessTTS=c.onProcessTTS||_}return Y()(N,[{key:"closePlayer",value:function(){var t;(t=this._stream)===null||t===void 0||t.stop(void 0,void 0,!0)}},{key:"connect",value:function(){var c=Z()(R()().mark(function a(){var u=this;return R()().wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return A.abrupt("return",new Promise(function(P,W){var B=new WebSocket(u._wsURL);B.onopen=function(){u._ws=B,u.start(),P(B)},B.onerror=function(z){W(z)},B.onmessage=function(z){return u.onMessage(z)}}));case 1:case"end":return A.stop()}},a)}));function t(){return c.apply(this,arguments)}return t}()},{key:"close",value:function(){var t;this.send({directive:"SessionStop"}),(t=this._ws)===null||t===void 0||t.close(),this.closePlayer()}},{key:"start",value:function(){this.initPlayer(),this.send({directive:"SessionStart",payload:{downstream:{tts_options:{voice:"longcheng_v2"}}}})}},{key:"send",value:function(t){if(!this._ws){console.error("WebSocket is not connected.");return}t instanceof ArrayBuffer?this._ws.send(t):this._ws.send(JSON.stringify(t))}},{key:"processASR",value:function(t){this.onProcessASR(this.processByCache("_asrCache")(t))}},{key:"processResponseText",value:function(t){this.onProcessResponseText(this.processByCache("_responseTextCache")(t))}},{key:"processTTS",value:function(t){var a=this;t.data.arrayBuffer().then(function(u){a._stream.input(u)})}},{key:"onMessage",value:function(t){try{if(typeof t.data=="string")try{var a=JSON.parse(t.data);if(a.event==="AudioTranscript")return this.processASR(a);if(a.event==="ResponseText")return this.processResponseText(a)}catch(u){console.error(u)}else this.processTTS(t)}catch(u){console.error(u)}}}]),N}(),ue=function(){},he=function(){function N(c){M()(this,N),s()(this,"_recorderInstance",void 0),s()(this,"_voiceChatService",void 0),s()(this,"_recorderWave",void 0),s()(this,"_sendPcmBufferRef",void 0),s()(this,"_sendChunkRef",void 0),s()(this,"_sendLastFrameRef",void 0),s()(this,"onStart",void 0),s()(this,"onStop",void 0),s()(this,"chatState",void 0);var t=c.wsURL,a=c.onProcessResponseText,u=c.onProcessASR,L=c.onProcessTTS,A=c.onStart,P=A===void 0?ue:A,W=c.onStop,B=W===void 0?ue:W,z=c.chatState;this.onStart=P,this.onStop=B,this.chatState=z,this._voiceChatService=new ce({chatState:z,wsURL:t,onProcessResponseText:a,onProcessASR:u,onProcessTTS:L})}return Y()(N,[{key:"start",value:function(){var c=Z()(R()().mark(function a(){var u=this,L,A;return R()().wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return this.reset(),W.next=3,this._voiceChatService.connect();case 3:L=0,A=w()({type:"unknown",onProcess:function(z,d,S,v,l){var p=z[z.length-1];u._recorderWave&&u._recorderWave.input(p,d,v);for(var T=L;T<l;T++)z[T]=null;L=l,u.process(z,v,!1)}}),this._recorderInstance=A,this._recorderInstance.open(function(){u._recorderInstance.start(),u.onStart()},function(){return console.log("error")});case 7:case"end":return W.stop()}},a,this)}));function t(){return c.apply(this,arguments)}return t}()},{key:"stop",value:function(){try{var t,a;(t=this._recorderInstance)===null||t===void 0||t.stop(void 0,void 0,!0),(a=this._voiceChatService)===null||a===void 0||a.close(),this.onStop(),this.process([],0,!0)}catch(u){console.error(u)}}},{key:"reset",value:function(){this._sendPcmBufferRef=new Int16Array(0),this._sendChunkRef=null,this._sendLastFrameRef=null}},{key:"send",value:function(t,a){if(a&&t.length===0){var u,L=this._sendLastFrameRef?(u=this._sendLastFrameRef)===null||u===void 0?void 0:u.length:Math.round(F/1e3*50);t=new Int16Array(L)}this._sendLastFrameRef=t,this._voiceChatService.send(t.buffer)}},{key:"process",value:function(t,a,u){var L=new Int16Array(0);if(t.length>0){var A=w().SampleData(t,a,F,this._sendChunkRef);this._sendChunkRef=A,L=A.data}var P=this._sendPcmBufferRef,W=new Int16Array(P.length+L.length);W.set(P,0),W.set(L,P.length),P=W;for(var B=se/(h/8);;){if(P.length>=B){var z=new Int16Array(P.subarray(0,B));P=new Int16Array(P.subarray(B));var d=!1;if(u&&P.length===0&&(d=!0),this.send(z,d),!d)continue}else if(u){var S=new Int16Array(B);S.set(P),P=new Int16Array(0),this.send(S,!0)}break}this._sendPcmBufferRef=P}}]),N}(),K=he;function pe(){return(0,q.useContext)(C.b)}var fe=e(37205),Ae=e.n(fe);function Le(){var N=(0,q.useContext)(C.b),c=N.messages,t=N.setMessages,a=N.getMessages;return{messages:c,setMessages:t,getMessages:a,updateMessage:function(L){t(function(A){var P=A.findIndex(function(W){return W.id===L.id});return P>-1?[].concat(Ae()(A.slice(0,P)),[L],Ae()(A.slice(P+1))):[].concat(Ae()(A),[L])})}}}function Ze(){var N=pe(),c=Le(),t=(0,q.useRef)(new K({chatState:N,wsURL:"ws://localhost:8000/api",onProcessASR:function(u){c.updateMessage({id:u.payload._id,content:u.payload.text,role:"user"}),N.setBotSpeaking(!1),N.setUserSpeaking(!0)},onProcessResponseText:function(u){c.updateMessage({id:u.payload._id,content:u.payload.text,role:"assistant"}),N.setBotSpeaking(!0),N.setUserSpeaking(!1)},onStart:function(){N.setUserSpeaking(!0),N.setWsConnected(!0)},onStop:function(){c.setMessages([]),N.setBotSpeaking(!1),N.setUserSpeaking(!1),N.setWsConnected(!1)}}));return(0,q.useEffect)(function(){return function(){t.current.stop()}},[]),{recorderRef:t}}var be=e(56095),Pe=e(27174);function Be(N){var c=(0,be.Z)(!1),t=o()(c,3),a=t[0],u=t[1],L=t[2],A=(0,be.Z)(!1),P=o()(A,3),W=P[0],B=P[1],z=P[2],d=(0,be.Z)(!1),S=o()(d,3),v=S[0],l=S[1],p=S[2],T=(0,be.Z)([]),D=o()(T,3),G=D[0],b=D[1],U=D[2];return(0,Pe.jsx)(C.b.Provider,{value:{botSpeaking:a,setBotSpeaking:u,getBotSpeaking:L,userSpeaking:W,setUserSpeaking:B,getUserSpeaking:z,wsConnected:v,setWsConnected:l,getWsConnected:p,messages:G,setMessages:b,getMessages:U},children:(0,Pe.jsx)(De,{children:N.children})})}function De(N){var c=Ze();return(0,Pe.jsx)(C.w.Provider,{value:c,children:N.children})}},35393:function(Ee,re,e){e.d(re,{Z:function(){return s}});var J=e(82242),o=e.n(J),q=e(41363),C=e.n(q),ae=e(21739),R=e(82413),f=e(27174);function Z(){return(0,f.jsx)("div",{style:{marginRight:10},children:(0,f.jsxs)("svg",{fill:"none",version:"1.1",width:"56",height:"56",viewBox:"0 0 56 56",children:[(0,f.jsx)("defs",{children:(0,f.jsx)("clipPath",{id:"master_svg0_142_20591/142_20770",children:(0,f.jsx)("rect",{x:"0",y:"0",width:"56",height:"56",rx:"12"})})}),(0,f.jsxs)("g",{"clip-path":"url(#master_svg0_142_20591/142_20770)",children:[(0,f.jsx)("rect",{x:"0",y:"0",width:"56",height:"56",rx:"12",fill:"var(--spc-color-primary)","fill-opacity":"1"}),(0,f.jsx)("g",{transform:"matrix(0.7071067690849304,-0.7071067690849304,0.7071067690849304,0.7071067690849304,-21.237072837107917,11.28196548247979)",children:(0,f.jsx)("path",{d:"M3,47.271897705078125L14.5204,49.366897705078124C17.8001,49.963297705078126,20.4169,52.442697705078125,21.189,55.68569770507813L22.9944,63.26819770507812L24.7998,55.68579770507813C25.572,52.44279770507812,28.1888,49.963297705078126,31.4686,49.366897705078124L42.9888,47.272097705078124L31.4687,45.177497705078125C28.1888,44.581197705078125,25.572,42.101697705078124,24.7998,38.85867770507812L22.9944,31.276397705078125L21.1891,38.858617705078125C20.4169,42.101697705078124,17.8,44.581197705078125,14.5201,45.177497705078125L3,47.271897705078125Z",fill:"#FFFFFF","fill-opacity":"1"})})]})]})})}var ee,M,H,Y,m=(0,R.kc)(function(O){var w=O.css,$=O.token;return{container:w(ee||(ee=C()([`
16
+ display: flex;
17
+ align-items: center;
18
+ `]))),logo:w(M||(M=C()([`
19
+ width: 56px;
20
+ height: 56px;
21
+ margin-right: 20px
22
+ `]))),title:w(H||(H=C()([`
23
+ font-size: 24px;
24
+ font-weight: 600;
25
+ line-height: 36px;
26
+ color: `,`;
27
+ `])),$.colorText),desc:w(Y||(Y=C()([`
28
+ font-size: 24px;
29
+ line-height: 36px;
30
+ color: `,`;
31
+
32
+ `])),$.colorTextSecondary)}});function s(O){var w=m(),$=w.styles,F=O.logo,h=F===void 0?(0,f.jsx)(Z,{}):F,Q=O.title,se=Q===void 0?"Nice to meet you!":Q,E=O.desc,X=E===void 0?"How can I help you today?":E,i=(0,ae.useMemo)(function(){return typeof h=="string"?(0,f.jsx)("img",{className:$.logo,src:h}):h||null},[h,$]),te=(0,ae.useMemo)(function(){return typeof O.title=="string"?(0,f.jsx)("div",{className:$.title,children:se}):se||null},[se,$]),_=(0,ae.useMemo)(function(){return typeof O.desc=="string"?(0,f.jsx)("div",{className:$.desc,children:X}):X||null},[X,$]);return(0,f.jsxs)("div",{className:$.container,style:o()({},O.style),children:[i,(0,f.jsxs)("div",{children:[te,_]})]})}}}]);
@@ -0,0 +1 @@
1
+ .spc-accordion-group .anticon-spin:before,.spc-accordion-group .anticon-spin{animation-duration:2s}.spc-accordion-group-icon-success{color:var(--spc-color-success)}.spc-accordion-group-icon-error{color:var(--spc-color-error)}.spc-accordion-group-header{display:flex;align-items:center;gap:4px;color:var(--spc-color-text-secondary);padding:8px 12px;font-size:12px;cursor:pointer;line-height:1}.spc-accordion-group-header-close{border-radius:8px;border:1px solid var(--spc-color-border-secondary);display:inline-flex}.spc-accordion-group-header-icon{position:relative;display:flex;width:16px;height:16px;align-items:center;justify-content:center;font-size:14px}.spc-accordion-group-header-icon:before,.spc-accordion-group-header-icon:after{content:"";position:absolute;width:1px;height:7px;background-color:var(--spc-color-border);left:50%;transform:translate(-50%)}.spc-accordion-group-header-icon:before{top:-9px}.spc-accordion-group-header-icon:after{bottom:-9px}.spc-accordion-group-header-icon-last:after{content:none}.spc-accordion-group-header-icon-first:before{content:none}.spc-accordion-group-header-arrow{font-size:10px;transform:scaleY(.75)}.spc-accordion-group-open{border-radius:8px;border:1px solid var(--spc-color-border-secondary)}.spc-accordion-group-body{margin:8px;color:var(--spc-color-text);font-size:12px;border-radius:8px;overflow:hidden}.spc-accordion-group-body-close{display:none}.spc-accordion-group-body .spc-accordion-group-header-close,.spc-accordion-group-body .spc-accordion-group-open{border:1px solid transparent}.spc-accordion-group-body-inline-open{padding:8px 0;margin:0;display:block;background-color:transparent}.spc-accordion-group-body>.spc-accordion-group{background-color:var(--spc-color-fill-tertiary)}.spc-accordion-group-body>.spc-accordion-group-open{border-radius:0}.spc-accordion-deepthink{font-size:12px;color:var(--spc-color-text-tertiary);white-space:pre-wrap;line-height:20px;padding:0 12px;border-left:1px solid var(--spc-color-border-secondary)}.spc-accordion-deepthink-title-loading{font-size:12px;position:relative;display:inline-block;top:0;left:0;width:100%;height:100%;-webkit-mask-image:linear-gradient(270deg,rgba(231,231,237,.88) 20%,rgba(231,231,237,.5) 50%,rgba(255,255,255,.4) 52%,rgba(231,231,237,.5) 70%,rgba(231,231,237,.88) 80%);mask-image:linear-gradient(270deg,#e7e7ede0 20%,#e7e7ed80 50%,#fff6 52%,#e7e7ed80 70%,#e7e7ede0 80%);-webkit-mask-size:200% 100%;mask-size:200% 100%;animation:softlight-text 3s linear infinite}@keyframes softlight-text{0%{-webkit-mask-position:100% 0;mask-position:100% 0}to{-webkit-mask-position:-100% 0;mask-position:-100% 0}}.spc-accordion-content-body{border:1px solid var(--spc-color-border-secondary);border-radius:8px;overflow:hidden}.spc-accordion-content-body-header{display:flex;height:24px;align-items:center;justify-content:space-between;padding:0 12px;border-bottom:1px solid var(--spc-color-border-secondary);background-color:var(--spc-color-fill-tertiary);color:var(--spc-color-text)}.spc-accordion-content-body-body{background-color:var(--spc-color-bg-base)}.spc-bubble-image{border-radius:8px;overflow:hidden}.spc-bubble-image .spc-image-img{object-fit:cover}.spc-bubble-image .spc-image-mask-info span{margin-inline-end:0!important}.spc-typography{line-height:1.7;color:inherit}.spc-typography .katex-display{font-size:1.3em}.spc-typography .katex-html{display:none}.spc-typography .katex-error{color:inherit!important}.spc-typography .cm-gutter-lint{width:0}.spc-typography .cm-line{background-color:transparent!important}.spc-typography .cm-activeLineGutter{background-color:transparent!important;color:inherit!important}.spc-typography .\37c 1.cm-focused{outline:0!important}.spc-typography mstyle[mathcolor="#cc0000"]{opacity:0}.spc-typography ol li{margin-inline:40px 0}.spc-typography figure{margin:0}.spc-typography figure img{display:block;cursor:pointer}.spc-typography code .spc-typography-cursor,.spc-typography pre .spc-typography-cursor,.spc-typography table .spc-typography-cursor{display:none}@keyframes typography-cursor{0%{opacity:1}to{opacity:0}}.spc-typography code{font-size:.85714286em;border:0!important}.spc-typography pre code{font-size:.85714286em}.spc-typography h1,.spc-typography h2,.spc-typography h3,.spc-typography h4,.spc-typography h5,.spc-typography h6{margin-top:.57142857em!important;margin-bottom:.57142857em!important;font-weight:500;line-height:1.7777;color:inherit!important}.spc-typography p{margin-top:.57142857em!important;margin-bottom:.57142857em!important}.spc-typography h1{font-size:1.28571429em}.spc-typography h2{font-size:1.14285714em}.spc-typography h3,.spc-typography h4,.spc-typography h5,.spc-typography h6{font-size:1em}.spc-typography hr{border-color:var(--spc-color-border-secondary);border-style:solid;border-width:1px 0 0 0;margin:1em 0}.spc-typography table{border-collapse:collapse;display:block;width:max-content;max-width:100%;overflow:auto}.spc-typography table th{background:var(--spc-color-fill-quaternary);text-align:left}.spc-typography table td,.spc-typography table th{padding:.75em 1.5em;border:1px solid var(--spc-color-border-secondary);white-space:pre}.spc-markdown-video{position:relative;width:30%;padding-top:18%;border-radius:8px;cursor:pointer;background-color:#000}.spc-markdown-video-play{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);z-index:1;color:#ccc;font-size:30px}.spc-markdown-image{cursor:pointer;overflow:hidden;border-radius:8px}.spc-typography *:last-child{margin-bottom:0!important}.spc-typography *:first-child{margin-top:0!important}[data-prefers-color=dark] .spc-typography #setText pre code{filter:invert(1)}@keyframes fade-in{0%{opacity:0}to{opacity:1}}.animate-fade-in{animation:fade-in 1s}.spc-bubble-avatar{display:inline-flex;justify-content:center;align-self:flex-start}.spc-bubble-avatar-loading .spc-avatar:after{content:"";position:absolute;left:0;right:0;width:100%;height:200%;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGsAAABsCAYAAABtuky0AAAAAXNSR0IArs4c6QAACeJJREFUeF7tnUFu20gQRWWLpJwg8CJAbpCdl7lALuHzBDlPLpELZKkbZBfAiyCwJbEpDorh53yVukmaCLvZUhswRHlMi+qnX/Wrupi5WaWvaFbgJporTRe6SrAi+hAkWAlWRCsQ0aUmZSVYEa1ARJealJVgRbQCEV1qUlaCFdEKRHSpSVkJVkQrENGlJmUlWBGtQESXmpSVYEW0AhFdalJWghXRCkR0qUlZCVZEKxDRpSZltbDquu7W4ubmpl4iw6uExWDGQFkKvKuC9VpINpAhwV0NLAeoMe//LCSGAjbmYsdEikX+zghAY94/w+qOQwAbc7GLBDF0UQoUv08c60f+k1pN8hw/CwbsImE5QMl7tYFyrUEDZbvdrna7Xf3p0ycAY3Arnwq7OFgWUAwIwDQ42zpoOLbnjRp9AbsIWJbcZIOhQd1alIZQyCHv2IZA+Rkfe1dY9LBGgAIUea845p8xRIGlFSSAAImP+fe8KCxqWD2gbCoSQPzN8PQ6QEWAI49VC9IJbO5wGC2sEbmJVbQmUHwMYE3qQeepVRKgCCTAwrEN2OzqihIWgdLmQRYM6gEIDUqeNz/b7Xbru7u7PlWZFpQ8Cih8N7C+f/9ef/78GSEywdL1VA8ohD4OdQAFQPKYtUDX+/1+vdlscB7nICgIkOTRCkzluFmdYVTKGgClwx4DAiR+vD0cDvK8gVUUBWCJUlhRZfvcBcyb0YgG1khQWkmiIvkGJH7eKLAsS3lc5XmORRdVAYw8AhZDc+WuWUNhFLBeAcqmJgGUt9DOYLXKYlUxLAHE3wyRnaKXmismWLZOhM5POtwBFMPqDAZCoLLkAMKQDqQwzl3aFV63slpVnYDabre3Dw8P2u0h3AkMwJFHBiXHCJXc5UBdBRACCoD4OCnL1UG3gVJdCFGWVpMLlA6BXFcJLAYlxwILwGzKsobBOQvjxYbBV4Bi88CgCspTUBRCoLbrqJ90jnLBQpGse4XXZ90doBD2kKew8FCMVhRgaVCN+1PdisoYY7IsAyxWlc1gsKrkGD3F64L1WlDPz8/527dv2UgAGisLhTCDkgWGQpCLGiUdDoeyKApWFVv4ILad+2FDG69e/vs/AgVTAWjs/vh9QB0MogG03+/LzWbDBoONBcPyVhAvCpYFFPp8Ev5cxS6D0ccIj9wrBCwGBVgcAl21FfcG4SC9hMDFwBoABccnjwCARwl1NmAaFMJfowRjzDHLskYtlKtYSTZYNlBdMTynC8QnLLgbVN0JXA/3+Vz2XCBpWNyt0PUU71HZuhQals5TrvDX7CpfPCzHnpQGpRXFBoJhsSu0gQKsxvmJqpT7c4U+1F+u9lLtA1TQMOgApe05QKGW0iFPYGnXp2upVVVVdV3XTegzxlSAVJalqeuanZ9u2uo9LO4hestVQcOgY1TMFvp0t1yHPTzn7gRUZaulOlCqQdtnKLSiTuoqXyEwmLIcXXQ9I8FbG52iDodDURSFzfnpBq3upCNPdWCknhJlbTYb/Mxm0avtdls/PDwcv337Vj8+PnrpsNtqpSAGw+L+bBuHgMVgoCStKPwu/g6Dwmais5v+8vJi3rx5gxAIqJ2ifvz4IUOeAmv1+PgIZXkxFQzNO6yenh+3kdiid66vLMsiz3Nd9GpQyCU85KJrKec+1dPT0/H9+/fYKeYRNPxdb+5Pq8srLItN13MTOvTBisNI6PDX5LSqqhpFrdfytJn7a1RBZqKD1baSXLD0FJNtZNqb+wsGq8emc66yKqotfG01FU8u8ScfLk6HPt1C0lv11c+fP4+73e748ePHs466fBB82fSgOcuiKlee0k1ZqMqWp7rJ2qqqVuv1Woc+I/ZcnF+e59bG7O/fv6v7+/uTWgqGgiaXmg9CSFBe3aDKVa4OhauOQt5i5XWTSVjUto3Ero9zFW8gnijq169f1YcPH9Ch0DPtiwDlDZZDVbbwB1ico/iYt+4b4KQovd2B3V6dn7Tr0z0/htUVvj7rKdcWx+wGQ+Wqs1bS09NTJl/39/cCgq25zVR0A5oYd5buxHq95k7DkPMTWGzPbT2/YIVv316UT1hwfjzoorfkGdBGNWptFl3eG0/P9oFis3E2Cq1u61mUory0m3qsOlwcN1+Rl9hQaFOB0NksJqmqMQjGmFL6fvKV53nfzN/JzHoMoGbPWT0O0DY/oSGJsvS8H4+P8QaiLL4wMuT6uIXk7E6EvkGuL+x5rbN6jAXD4n0phL4TU/F3liWzzfm5pmfF+enRZ1vo07UU7nj03koaA222nDUQAgFLuz+B1OUqY0wulIwxty2srvBtuxO2ft+YLXnb/VWLBjVrGHTAQs7hekmHP5tV1w1ayU+y3THGUAw5v2Bd9DFq8tLI7YHFqoJdB6AmTxljiizLeN7vbG+K7vTolLTf7007lQTFcejr3ZZfQh01BG+WMNizC8x3eTRtpZeXl+L29rbYbDadwiT84VYdylUy6FJnWWa7JUebCfwOuz7uUCDkBdvuGALjtTfoUFYfLLbukqckXSH86W0P3iS0bRyi1wdA8qg7E1GBmi1nDcxX6EI43+12xd3dHbtCKZbWeZ7zBC1MgXaADE6HP7Sg9OxEByqG8Dd7UTyQs/RWiG2fqmnUlmUpobrO8/yso67uUGQ12RTFWyiLd35LCIOYAdR1FmD13Zaji2A9L6FHxmyhD5CC7fZOyVWzK6v5GP/9p0x1T9Bm37GHxTlNbtDWN2ZzH1CbCN0951qKVdW899B7U1OgzeIGCRTyIk/aMizddtITSjiPx8G0Hdd9Pp6bYCVFGfq81FkOYDzEyWD47kXeRmFFdMD+/PlzfPfuHUPj0eiTFtLXr19XX758iR7UbG6wq2D//xed+2bYeaqJ7/hg1WsY7AzZkjt7fbGGvlDK4pDIt/HYZts1KDmXwxvnIwbEm4admi4B1OzKsoRCBsYqYmAApW/Q5rEwrSA8PzMSlwLKC6wBYMhh2jXytWmToGf5uBF70pS9JFDeYI0AxmpyKQuqYfVoOBcX+rzlLF1LOG5I0HBc5YRWkIYXbf00tuaarc5yXYAFmFZ4HywG1JlOHMRY6I4F5TUM8kU5gHVr7ngDHOJOwt2l5SYXQO/K6uRA/1ed9mdD13KVgILlrJ4c9ppoEGVf71Vv0PHLQ5/mf/Eao/6GhEbJOXgcddKV/dJiYF3Zuk96uwnWpGULc1KCFWbdJ71qgjVp2cKclGCFWfdJr5pgTVq2MCclWGHWfdKrJliTli3MSQlWmHWf9KoJ1qRlC3NSghVm3Se9aoI1adnCnJRghVn3Sa+aYE1atjAnJVhh1n3SqyZYk5YtzEkJVph1n/SqCdakZQtzUoIVZt0nvWqCNWnZwpyUYIVZ90mvmmBNWrYwJ/0HHiXJuMcZMY0AAAAASUVORK5CYII=);background-size:cover;background-position:center;background-repeat:no-repeat;transform:rotate(-45deg);filter:blur(2px);animation:light_sweeping 1.5s infinite linear}@keyframes light_sweeping{0%{transform:translate(-40%,-80%);opacity:.2}45%{transform:translate(20%,20%);opacity:.8}to{transform:translate(40%,80%);opacity:.2}}.markdown-cursor-blur{width:3em;position:absolute;margin-left:-3em;backdrop-filter:blur(1.5px)}.markdown-cursor-blur:after{content:"_";opacity:0}.markdown-cursor-dot{position:absolute;display:inline-flex;align-items:center;padding-left:2px;gap:4px}.markdown-cursor-dot-dot1{width:5px;height:5px;border-radius:999px;background-color:var(--spc-color-text);animation:markdown-cursor-dot1 2s infinite ease}.markdown-cursor-dot-dot2{width:4px;height:4px;border-radius:999px;opacity:.5;background-color:var(--spc-color-text);animation:markdown-cursor-dot2 2s infinite ease}.markdown-cursor-underline{opacity:1;padding:0 2px;animation:markdown-cursor-underline .8s infinite}.markdown-cursor-underline:after{content:"_";color:var(--spc-color-primary)}@keyframes markdown-cursor-underline{0%{opacity:1}to{opacity:0}}@keyframes markdown-cursor-dot1{0%{transform:translate(0) scale(1);z-index:1;opacity:1}40%{transform:translate(8.5px) scale(.8);z-index:3;opacity:.5}50%{transform:translate(8.5px) scale(.8);z-index:1;opacity:.5}90%{transform:translate(0) scale(1);z-index:1;opacity:1}}@keyframes markdown-cursor-dot2{0%{transform:translate(0) scale(1);z-index:1;opacity:.5}40%{transform:translate(-8.5px) scale(1.25);z-index:3;opacity:1}50%{transform:translate(-8.5px) scale(1.25);z-index:1;opacity:1}90%{transform:translate(0) scale(1);z-index:1;opacity:.5}}.spc-bubble-footer{margin-top:8px;display:flex;justify-content:space-between;align-items:center;font-size:12px;overflow:hidden}.spc-bubble-footer-actions{display:flex;align-items:center;gap:8px}.spc-bubble-footer-actions-item{cursor:pointer;color:var(--spc-color-text)}.spc-bubble-footer-count{display:flex;align-items:center}.spc-bubble-footer-count-item{color:var(--spc-color-text-tertiary);line-height:1;padding-right:13px;margin-left:13px;border-right:1px solid var(--spc-color-border);white-space:nowrap}.spc-bubble-footer-count-item:last-of-type{padding-right:0;border-right:0}.spc-interrupted{display:inline-flex;flex-direction:column;font-size:12px;font-weight:500;line-height:18px;letter-spacing:0px;background-color:var(--spc-color-fill-secondary);padding:10px 12px;line-height:1;border-radius:8px;gap:8px}.spc-interrupted-desc{font-weight:400}.spc-interrupted-header{display:inline-flex;align-items:center;gap:4px;color:var(--spc-color-text)}.spc-interrupted-header-icon-wrapper{width:16px;height:16px;flex:0 0 16px;display:flex;align-items:center;justify-content:center}.spc-interrupted-header-error{color:var(--spc-color-error)}.spc-interrupted-header-interrupted{display:flex;align-items:center;justify-content:center;width:12px;height:12px;border:1px solid currentColor;border-radius:50%}.spc-interrupted-header-interrupted:after{display:block;content:"";width:4px;height:4px;border-radius:1px;background-color:currentColor}.spc-bubble-list-wrapper{position:relative;overflow:hidden}.spc-bubble-list{display:flex;flex-direction:column;gap:24px;padding:16px}.spc-bubble-list-scroll-to-bottom{position:absolute;left:0;right:0;bottom:10px;display:flex;justify-content:center;transition:all .2s;z-index:10}.spc-bubble-list-scroll-to-bottom-hide{opacity:0;transform:translateY(100%);pointer-events:none}.spc-bubble-list-scroll-to-bottom-show{opacity:1;transform:translateY(0)}.spc-bubble-list-scroll-to-bottom button:hover{border-color:var(--spc-color-primary-border)!important;background-color:var(--spc-color-primary-bg)!important;color:var(--spc-color-primary)!important}.spc-bubble-loading{position:relative;display:flex;align-items:center;gap:4px;line-height:1.7;filter:invert(1) brightness(100%) saturate(0%)}.spc-bubble-loading-text{opacity:0}.spc-bubble-loading-dot1{width:4px;height:4px;border-radius:999px;background:linear-gradient(var(--spc-color-text),var(--spc-color-text)),linear-gradient(var(--spc-color-bg-base),var(--spc-color-bg-base));background-blend-mode:multiply;animation:dot_01 2.5s infinite ease}.spc-bubble-loading-dot2{width:3px;height:3px;border-radius:999px;background:linear-gradient(var(--spc-color-text-tertiary),var(--spc-color-text-tertiary)),linear-gradient(var(--spc-color-bg-base),var(--spc-color-bg-base));background-blend-mode:multiply;animation:dot_02 2.5s infinite ease}.spc-bubble-loading-dot3{width:4px;height:4px;border-radius:999px;background:linear-gradient(var(--spc-color-text-secondary),var(--spc-color-text-secondary)),linear-gradient(var(--spc-color-bg-base),var(--spc-color-bg-base));background-blend-mode:multiply;animation:dot_03 2.5s infinite ease}@keyframes dot_01{0%{transform:translate(0) scale(1);z-index:3}30.3%{transform:translate(15px) scale(1);z-index:3}33.3%{transform:translate(15px) scale(1);z-index:1}63.6%{transform:translate(7.5px) scale(.75);z-index:1}66.6%{transform:translate(7.5px) scale(.75);z-index:2}97%{transform:translate(0) scale(1);z-index:2}}@keyframes dot_02{0%{transform:translate(0) scale(1);z-index:2}23.3%{transform:translate(-7.5px) scale(1.33333);z-index:2}30.3%{transform:translate(-7.5px) scale(1.33333);z-index:3}56.6%{transform:translate(7.5px) scale(1.33333);z-index:3}63.6%{transform:translate(7.5px) scale(1.33333);z-index:1}97%{transform:translate(0) scale(1);z-index:1}}@keyframes dot_03{0%{transform:translate(0) scale(1);z-index:1}23.3%{transform:translate(-7.5px) scale(.75);z-index:1}30.3%{transform:translate(-7.5px) scale(.75);z-index:2}56.6%{transform:translate(-15px) scale(1);z-index:2}63.6%{transform:translate(-15px) scale(1);z-index:3}97%{transform:translate(0) scale(1);z-index:3}}#root{display:flex;flex-direction:column;height:100vh}.spc-chat-anywhere-layout{font-family:var(--spc-font-family);overflow:hidden;position:relative;height:100%;background:var(--spc-color-bg-base)}.spc-chat-anywhere-layout *::-webkit-scrollbar{display:none}.spc-chat-anywhere-layout-main{display:flex;height:100%;background:var(--spc-color-bg-base)}.spc-chat-anywhere-layout-left{display:flex;flex-direction:column;height:100vh;box-sizing:border-box;background-color:var(--spc-color-bg-base);width:240px;transition:all .2s}.spc-chat-anywhere-layout-left-hide{margin-left:-168px;background-color:transparent}.spc-chat-anywhere-layout-right{position:relative;width:0;flex:1 1;box-sizing:border-box;background:var(--spc-color-fill-tertiary)}*{box-sizing:border-box}.i-icon,.ant-btn-icon{line-height:1}*[data-tauri-drag-region]{-webkit-app-region:drag}.spc-chat-anywhere-header{height:64px;position:absolute;left:0;right:0;top:0;backdrop-filter:blur(100px);z-index:1;display:flex;align-items:center}.spc-chat-anywhere-header~.spc-chat-anywhere-chat .spc-bubble-list:before{content:" ";display:block;height:24px;flex:0 0 24px}.spc-chat-anywhere-session-list{display:flex;flex-direction:column;height:0;flex:1 1;width:100%}.spc-chat-anywhere-session-list .spc-conversations{height:100%}.spc-chat-anywhere-session-list-session{height:0;flex:1 1;padding:8px 20px}.spc-chat-anywhere-session-list-logo{display:flex;align-items:center;justify-content:space-between;padding:0 20px;height:64px}.spc-chat-anywhere-session-list-adder{padding:0 20px 8px}.spc-chat-anywhere-session-list-adder button{border-radius:6px;box-shadow:15px 0 30px -10px #8358f666,0 0 30px -10px #ff8ea866,-15px 0 30px -10px #e1a32566}.spc-chat-anywhere-session-list-hide .spc-chat-anywhere-session-list-adder-logo>div{opacity:0}.spc-chat-anywhere-session-list-hide .spc-chat-anywhere-session-list-adder,.spc-chat-anywhere-session-list-hide .spc-chat-anywhere-session-list-session{opacity:0}.spc-chat-anywhere-chat{position:relative;height:100%;display:flex;flex-direction:column;transition:all .3s;opacity:1}.spc-chat-anywhere-chat .spc-bubble-list{position:relative;margin:0 auto;max-width:850px;min-width:300px}.spc-chat-anywhere-chat .spc-chat-anywhere-sender-wrapper{max-width:850px;min-width:300px;padding:16px;margin:0 auto}.spc-chat-anywhere-chat-hide{opacity:0}.spc-chat-anywhere-chat-welcome{max-width:850px;min-width:300px;width:-webkit-fill-available;padding:16px;margin:0 auto;height:100%;display:flex;align-items:center;justify-content:center}@media screen and (max-width: 768px){button,.spc-conversations .spc-conversations-item{cursor:default!important}}.spc-chat-anywhere-sender-wrapper{position:relative}.spc-chat-anywhere-sender-wrapper-header{display:flex;gap:8px;margin-bottom:12px}
@@ -0,0 +1,11 @@
1
+ "use strict";(self.webpackChunk_agentscope_ai_chat=self.webpackChunk_agentscope_ai_chat||[]).push([[9335],{19953:function(Bn,$,Re){var X=Re(21739);function y(e){for(var r="https://reactjs.org/docs/error-decoder.html?invariant="+e,l=1;l<arguments.length;l++)r+="&args[]="+encodeURIComponent(arguments[l]);return"Minified React error #"+e+"; visit "+r+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var F=Object.prototype.hasOwnProperty,b=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,v={},R={};function Ae(e){return F.call(R,e)?!0:F.call(v,e)?!1:b.test(e)?R[e]=!0:(v[e]=!0,!1)}function N(e,r,l,i,p,a,f){this.acceptsBooleans=r===2||r===3||r===4,this.attributeName=i,this.attributeNamespace=p,this.mustUseProperty=l,this.propertyName=e,this.type=r,this.sanitizeURL=a,this.removeEmptyString=f}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){S[e]=new N(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var r=e[0];S[r]=new N(r,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){S[e]=new N(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){S[e]=new N(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){S[e]=new N(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){S[e]=new N(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){S[e]=new N(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){S[e]=new N(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){S[e]=new N(e,5,!1,e.toLowerCase(),null,!1,!1)});var g=/[\-:]([a-z])/g;function _e(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var r=e.replace(g,_e);S[r]=new N(r,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var r=e.replace(g,_e);S[r]=new N(r,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var r=e.replace(g,_e);S[r]=new N(r,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){S[e]=new N(e,1,!1,e.toLowerCase(),null,!1,!1)}),S.xlinkHref=new N("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){S[e]=new N(e,1,!1,e.toLowerCase(),null,!0,!0)});var z={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},sn=["Webkit","ms","Moz","O"];Object.keys(z).forEach(function(e){sn.forEach(function(r){r=r+e.charAt(0).toUpperCase()+e.substring(1),z[r]=z[e]})});var gt=/["'&<>]/;function V(e){if(typeof e=="boolean"||typeof e=="number")return""+e;e=""+e;var r=gt.exec(e);if(r){var l="",i,p=0;for(i=r.index;i<e.length;i++){switch(e.charCodeAt(i)){case 34:r="&quot;";break;case 38:r="&amp;";break;case 39:r="&#x27;";break;case 60:r="&lt;";break;case 62:r="&gt;";break;default:continue}p!==i&&(l+=e.substring(p,i)),p=i+1,l+=r}e=p!==i?l+e.substring(p,i):l}return e}var vt=/([A-Z])/g,L=/^ms-/,D=Array.isArray;function W(e,r){return{insertionMode:e,selectedValue:r}}function He(e,r,l){switch(r){case"select":return W(1,l.value!=null?l.value:l.defaultValue);case"svg":return W(2,null);case"math":return W(3,null);case"foreignObject":return W(1,null);case"table":return W(4,null);case"thead":case"tbody":case"tfoot":return W(5,null);case"colgroup":return W(7,null);case"tr":return W(6,null)}return 4<=e.insertionMode||e.insertionMode===0?W(1,null):e}var me=new Map;function St(e,r,l){if(typeof l!="object")throw Error(y(62));r=!0;for(var i in l)if(F.call(l,i)){var p=l[i];if(p!=null&&typeof p!="boolean"&&p!==""){if(i.indexOf("--")===0){var a=V(i);p=V((""+p).trim())}else{a=i;var f=me.get(a);f!==void 0||(f=V(a.replace(vt,"-$1").toLowerCase().replace(L,"-ms-")),me.set(a,f)),a=f,p=typeof p=="number"?p===0||F.call(z,i)?""+p:p+"px":V((""+p).trim())}r?(r=!1,e.push(' style="',a,":",p)):e.push(";",a,":",p)}}r||e.push('"')}function j(e,r,l,i){switch(l){case"style":St(e,r,i);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<l.length)||l[0]!=="o"&&l[0]!=="O"||l[1]!=="n"&&l[1]!=="N"){if(r=S.hasOwnProperty(l)?S[l]:null,r!==null){switch(typeof i){case"function":case"symbol":return;case"boolean":if(!r.acceptsBooleans)return}switch(l=r.attributeName,r.type){case 3:i&&e.push(" ",l,'=""');break;case 4:i===!0?e.push(" ",l,'=""'):i!==!1&&e.push(" ",l,'="',V(i),'"');break;case 5:isNaN(i)||e.push(" ",l,'="',V(i),'"');break;case 6:!isNaN(i)&&1<=i&&e.push(" ",l,'="',V(i),'"');break;default:r.sanitizeURL&&(i=""+i),e.push(" ",l,'="',V(i),'"')}}else if(Ae(l)){switch(typeof i){case"function":case"symbol":return;case"boolean":if(r=l.toLowerCase().slice(0,5),r!=="data-"&&r!=="aria-")return}e.push(" ",l,'="',V(i),'"')}}}function B(e,r,l){if(r!=null){if(l!=null)throw Error(y(60));if(typeof r!="object"||!("__html"in r))throw Error(y(61));r=r.__html,r!=null&&e.push(""+r)}}function an(e){var r="";return X.Children.forEach(e,function(l){l!=null&&(r+=l)}),r}function Ue(e,r,l,i){e.push(G(l));var p=l=null,a;for(a in r)if(F.call(r,a)){var f=r[a];if(f!=null)switch(a){case"children":l=f;break;case"dangerouslySetInnerHTML":p=f;break;default:j(e,i,a,f)}}return e.push(">"),B(e,p,l),typeof l=="string"?(e.push(V(l)),null):l}var We=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,xt=new Map;function G(e){var r=xt.get(e);if(r===void 0){if(!We.test(e))throw Error(y(65,e));r="<"+e,xt.set(e,r)}return r}function cn(e,r,l,i,p){switch(r){case"select":e.push(G("select"));var a=null,f=null;for(C in l)if(F.call(l,C)){var m=l[C];if(m!=null)switch(C){case"children":a=m;break;case"dangerouslySetInnerHTML":f=m;break;case"defaultValue":case"value":break;default:j(e,i,C,m)}}return e.push(">"),B(e,f,a),a;case"option":f=p.selectedValue,e.push(G("option"));var x=m=null,w=null,C=null;for(a in l)if(F.call(l,a)){var M=l[a];if(M!=null)switch(a){case"children":m=M;break;case"selected":w=M;break;case"dangerouslySetInnerHTML":C=M;break;case"value":x=M;default:j(e,i,a,M)}}if(f!=null)if(l=x!==null?""+x:an(m),D(f)){for(i=0;i<f.length;i++)if(""+f[i]===l){e.push(' selected=""');break}}else""+f===l&&e.push(' selected=""');else w&&e.push(' selected=""');return e.push(">"),B(e,C,m),m;case"textarea":e.push(G("textarea")),C=f=a=null;for(m in l)if(F.call(l,m)&&(x=l[m],x!=null))switch(m){case"children":C=x;break;case"value":a=x;break;case"defaultValue":f=x;break;case"dangerouslySetInnerHTML":throw Error(y(91));default:j(e,i,m,x)}if(a===null&&f!==null&&(a=f),e.push(">"),C!=null){if(a!=null)throw Error(y(92));if(D(C)&&1<C.length)throw Error(y(93));a=""+C}return typeof a=="string"&&a[0]===`
2
+ `&&e.push(`
3
+ `),a!==null&&e.push(V(""+a)),null;case"input":e.push(G("input")),x=C=m=a=null;for(f in l)if(F.call(l,f)&&(w=l[f],w!=null))switch(f){case"children":case"dangerouslySetInnerHTML":throw Error(y(399,"input"));case"defaultChecked":x=w;break;case"defaultValue":m=w;break;case"checked":C=w;break;case"value":a=w;break;default:j(e,i,f,w)}return C!==null?j(e,i,"checked",C):x!==null&&j(e,i,"checked",x),a!==null?j(e,i,"value",a):m!==null&&j(e,i,"value",m),e.push("/>"),null;case"menuitem":e.push(G("menuitem"));for(var Q in l)if(F.call(l,Q)&&(a=l[Q],a!=null))switch(Q){case"children":case"dangerouslySetInnerHTML":throw Error(y(400));default:j(e,i,Q,a)}return e.push(">"),null;case"title":e.push(G("title")),a=null;for(M in l)if(F.call(l,M)&&(f=l[M],f!=null))switch(M){case"children":a=f;break;case"dangerouslySetInnerHTML":throw Error(y(434));default:j(e,i,M,f)}return e.push(">"),a;case"listing":case"pre":e.push(G(r)),f=a=null;for(x in l)if(F.call(l,x)&&(m=l[x],m!=null))switch(x){case"children":a=m;break;case"dangerouslySetInnerHTML":f=m;break;default:j(e,i,x,m)}if(e.push(">"),f!=null){if(a!=null)throw Error(y(60));if(typeof f!="object"||!("__html"in f))throw Error(y(61));l=f.__html,l!=null&&(typeof l=="string"&&0<l.length&&l[0]===`
4
+ `?e.push(`
5
+ `,l):e.push(""+l))}return typeof a=="string"&&a[0]===`
6
+ `&&e.push(`
7
+ `),a;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":e.push(G(r));for(var ee in l)if(F.call(l,ee)&&(a=l[ee],a!=null))switch(ee){case"children":case"dangerouslySetInnerHTML":throw Error(y(399,r));default:j(e,i,ee,a)}return e.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return Ue(e,l,r,i);case"html":return p.insertionMode===0&&e.push("<!DOCTYPE html>"),Ue(e,l,r,i);default:if(r.indexOf("-")===-1&&typeof l.is!="string")return Ue(e,l,r,i);e.push(G(r)),f=a=null;for(w in l)if(F.call(l,w)&&(m=l[w],m!=null))switch(w){case"children":a=m;break;case"dangerouslySetInnerHTML":f=m;break;case"style":St(e,i,m);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:Ae(w)&&typeof m!="function"&&typeof m!="symbol"&&e.push(" ",w,'="',V(m),'"')}return e.push(">"),B(e,f,a),a}}function kt(e,r,l){if(e.push('<!--$?--><template id="'),l===null)throw Error(y(395));return e.push(l),e.push('"></template>')}function wt(e,r,l,i){switch(l.insertionMode){case 0:case 1:return e.push('<div hidden id="'),e.push(r.segmentPrefix),r=i.toString(16),e.push(r),e.push('">');case 2:return e.push('<svg aria-hidden="true" style="display:none" id="'),e.push(r.segmentPrefix),r=i.toString(16),e.push(r),e.push('">');case 3:return e.push('<math aria-hidden="true" style="display:none" id="'),e.push(r.segmentPrefix),r=i.toString(16),e.push(r),e.push('">');case 4:return e.push('<table hidden id="'),e.push(r.segmentPrefix),r=i.toString(16),e.push(r),e.push('">');case 5:return e.push('<table hidden><tbody id="'),e.push(r.segmentPrefix),r=i.toString(16),e.push(r),e.push('">');case 6:return e.push('<table hidden><tr id="'),e.push(r.segmentPrefix),r=i.toString(16),e.push(r),e.push('">');case 7:return e.push('<table hidden><colgroup id="'),e.push(r.segmentPrefix),r=i.toString(16),e.push(r),e.push('">');default:throw Error(y(397))}}function pn(e,r){switch(r.insertionMode){case 0:case 1:return e.push("</div>");case 2:return e.push("</svg>");case 3:return e.push("</math>");case 4:return e.push("</table>");case 5:return e.push("</tbody></table>");case 6:return e.push("</tr></table>");case 7:return e.push("</colgroup></table>");default:throw Error(y(397))}}var fn=/[<\u2028\u2029]/g;function Ze(e){return JSON.stringify(e).replace(fn,function(r){switch(r){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function J(e,r){return r=r===void 0?"":r,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:r+"P:",segmentPrefix:r+"S:",boundaryPrefix:r+"B:",idPrefix:r,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:e}}function Ct(e,r,l,i){return l.generateStaticMarkup?(e.push(V(r)),!1):(r===""?e=i:(i&&e.push("<!-- -->"),e.push(V(r)),e=!0),e)}var ye=Object.assign,qe=Symbol.for("react.element"),Xe=Symbol.for("react.portal"),Ge=Symbol.for("react.fragment"),Et=Symbol.for("react.strict_mode"),Je=Symbol.for("react.profiler"),Tt=Symbol.for("react.provider"),Ye=Symbol.for("react.context"),K=Symbol.for("react.forward_ref"),ie=Symbol.for("react.suspense"),re=Symbol.for("react.suspense_list"),Ke=Symbol.for("react.memo"),O=Symbol.for("react.lazy"),oe=Symbol.for("react.scope"),Ft=Symbol.for("react.debug_trace_mode"),Pe=Symbol.for("react.legacy_hidden"),dn=Symbol.for("react.default_value"),Ie=Symbol.iterator;function ge(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Ge:return"Fragment";case Xe:return"Portal";case Je:return"Profiler";case Et:return"StrictMode";case ie:return"Suspense";case re:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ye:return(e.displayName||"Context")+".Consumer";case Tt:return(e._context.displayName||"Context")+".Provider";case K:var r=e.render;return e=e.displayName,e||(e=r.displayName||r.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ke:return r=e.displayName||null,r!==null?r:ge(e.type)||"Memo";case O:r=e._payload,e=e._init;try{return ge(e(r))}catch(l){}}return null}var Me={};function Rt(e,r){if(e=e.contextTypes,!e)return Me;var l={},i;for(i in e)l[i]=r[i];return l}var le=null;function A(e,r){if(e!==r){e.context._currentValue2=e.parentValue,e=e.parent;var l=r.parent;if(e===null){if(l!==null)throw Error(y(401))}else{if(l===null)throw Error(y(401));A(e,l)}r.context._currentValue2=r.value}}function _t(e){e.context._currentValue2=e.parentValue,e=e.parent,e!==null&&_t(e)}function Pt(e){var r=e.parent;r!==null&&Pt(r),e.context._currentValue2=e.value}function It(e,r){if(e.context._currentValue2=e.parentValue,e=e.parent,e===null)throw Error(y(402));e.depth===r.depth?A(e,r):It(e,r)}function Mt(e,r){var l=r.parent;if(l===null)throw Error(y(402));e.depth===l.depth?A(e,l):Mt(e,l),r.context._currentValue2=r.value}function Be(e){var r=le;r!==e&&(r===null?Pt(e):e===null?_t(r):r.depth===e.depth?A(r,e):r.depth>e.depth?It(r,e):Mt(r,e),le=e)}var Bt={isMounted:function(){return!1},enqueueSetState:function(e,r){e=e._reactInternals,e.queue!==null&&e.queue.push(r)},enqueueReplaceState:function(e,r){e=e._reactInternals,e.replace=!0,e.queue=[r]},enqueueForceUpdate:function(){}};function Dt(e,r,l,i){var p=e.state!==void 0?e.state:null;e.updater=Bt,e.props=l,e.state=p;var a={queue:[],replace:!1};e._reactInternals=a;var f=r.contextType;if(e.context=typeof f=="object"&&f!==null?f._currentValue2:i,f=r.getDerivedStateFromProps,typeof f=="function"&&(f=f(l,p),p=f==null?p:ye({},p,f),e.state=p),typeof r.getDerivedStateFromProps!="function"&&typeof e.getSnapshotBeforeUpdate!="function"&&(typeof e.UNSAFE_componentWillMount=="function"||typeof e.componentWillMount=="function"))if(r=e.state,typeof e.componentWillMount=="function"&&e.componentWillMount(),typeof e.UNSAFE_componentWillMount=="function"&&e.UNSAFE_componentWillMount(),r!==e.state&&Bt.enqueueReplaceState(e,e.state,null),a.queue!==null&&0<a.queue.length)if(r=a.queue,f=a.replace,a.queue=null,a.replace=!1,f&&r.length===1)e.state=r[0];else{for(a=f?r[0]:e.state,p=!0,f=f?1:0;f<r.length;f++){var m=r[f];m=typeof m=="function"?m.call(e,a,l,i):m,m!=null&&(p?(p=!1,a=ye({},a,m)):ye(a,m))}e.state=a}else a.queue=null}var hn={id:1,overflow:""};function Qe(e,r,l){var i=e.id;e=e.overflow;var p=32-De(i)-1;i&=~(1<<p),l+=1;var a=32-De(r)+p;if(30<a){var f=p-p%5;return a=(i&(1<<f)-1).toString(32),i>>=f,p-=f,{id:1<<32-De(r)+p|l<<p|i,overflow:a+e}}return{id:1<<a|l<<p|i,overflow:e}}var De=Math.clz32?Math.clz32:gn,mn=Math.log,yn=Math.LN2;function gn(e){return e>>>=0,e===0?32:31-(mn(e)/yn|0)|0}function vn(e,r){return e===r&&(e!==0||1/e===1/r)||e!==e&&r!==r}var Sn=typeof Object.is=="function"?Object.is:vn,Y=null,et=null,ze=null,_=null,ve=!1,Ne=!1,Se=0,ue=null,Ve=0;function se(){if(Y===null)throw Error(y(321));return Y}function zt(){if(0<Ve)throw Error(y(312));return{memoizedState:null,queue:null,next:null}}function tt(){return _===null?ze===null?(ve=!1,ze=_=zt()):(ve=!0,_=ze):_.next===null?(ve=!1,_=_.next=zt()):(ve=!0,_=_.next),_}function nt(){et=Y=null,Ne=!1,ze=null,Ve=0,_=ue=null}function Nt(e,r){return typeof r=="function"?r(e):r}function Vt(e,r,l){if(Y=se(),_=tt(),ve){var i=_.queue;if(r=i.dispatch,ue!==null&&(l=ue.get(i),l!==void 0)){ue.delete(i),i=_.memoizedState;do i=e(i,l.action),l=l.next;while(l!==null);return _.memoizedState=i,[i,r]}return[_.memoizedState,r]}return e=e===Nt?typeof r=="function"?r():r:l!==void 0?l(r):r,_.memoizedState=e,e=_.queue={last:null,dispatch:null},e=e.dispatch=xn.bind(null,Y,e),[_.memoizedState,e]}function Lt(e,r){if(Y=se(),_=tt(),r=r===void 0?null:r,_!==null){var l=_.memoizedState;if(l!==null&&r!==null){var i=l[1];e:if(i===null)i=!1;else{for(var p=0;p<i.length&&p<r.length;p++)if(!Sn(r[p],i[p])){i=!1;break e}i=!0}if(i)return l[0]}}return e=e(),_.memoizedState=[e,r],e}function xn(e,r,l){if(25<=Ve)throw Error(y(301));if(e===Y)if(Ne=!0,e={action:l,next:null},ue===null&&(ue=new Map),l=ue.get(r),l===void 0)ue.set(r,e);else{for(r=l;r.next!==null;)r=r.next;r.next=e}}function kn(){throw Error(y(394))}function Le(){}var Ot={readContext:function(e){return e._currentValue2},useContext:function(e){return se(),e._currentValue2},useMemo:Lt,useReducer:Vt,useRef:function(e){Y=se(),_=tt();var r=_.memoizedState;return r===null?(e={current:e},_.memoizedState=e):r},useState:function(e){return Vt(Nt,e)},useInsertionEffect:Le,useLayoutEffect:function(){},useCallback:function(e,r){return Lt(function(){return e},r)},useImperativeHandle:Le,useEffect:Le,useDebugValue:Le,useDeferredValue:function(e){return se(),e},useTransition:function(){return se(),[!1,kn]},useId:function(){var e=et.treeContext,r=e.overflow;e=e.id,e=(e&~(1<<32-De(e)-1)).toString(32)+r;var l=Oe;if(l===null)throw Error(y(404));return r=Se++,e=":"+l.idPrefix+"R"+e,0<r&&(e+="H"+r.toString(32)),e+":"},useMutableSource:function(e,r){return se(),r(e._source)},useSyncExternalStore:function(e,r,l){if(l===void 0)throw Error(y(407));return l()}},Oe=null,rt=X.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function wn(e){return console.error(e),null}function xe(){}function Cn(e,r,l,i,p,a,f,m,x){var w=[],C=new Set;return r={destination:null,responseState:r,progressiveChunkSize:i===void 0?12800:i,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:C,pingedTasks:w,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:p===void 0?wn:p,onAllReady:a===void 0?xe:a,onShellReady:f===void 0?xe:f,onShellError:m===void 0?xe:m,onFatalError:x===void 0?xe:x},l=$e(r,0,null,l,!1,!1),l.parentFlushed=!0,e=ot(r,e,null,l,C,Me,null,hn),w.push(e),r}function ot(e,r,l,i,p,a,f,m){e.allPendingTasks++,l===null?e.pendingRootTasks++:l.pendingTasks++;var x={node:r,ping:function(){var w=e.pingedTasks;w.push(x),w.length===1&&Ut(e)},blockedBoundary:l,blockedSegment:i,abortSet:p,legacyContext:a,context:f,treeContext:m};return p.add(x),x}function $e(e,r,l,i,p,a){return{status:0,id:-1,index:r,parentFlushed:!1,chunks:[],children:[],formatContext:i,boundary:l,lastPushedText:p,textEmbedded:a}}function ke(e,r){if(e=e.onError(r),e!=null&&typeof e!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof e+'" instead');return e}function be(e,r){var l=e.onShellError;l(r),l=e.onFatalError,l(r),e.destination!==null?(e.status=2,e.destination.destroy(r)):(e.status=1,e.fatalError=r)}function $t(e,r,l,i,p){for(Y={},et=r,Se=0,e=l(i,p);Ne;)Ne=!1,Se=0,Ve+=1,_=null,e=l(i,p);return nt(),e}function bt(e,r,l,i){var p=l.render(),a=i.childContextTypes;if(a!=null){var f=r.legacyContext;if(typeof l.getChildContext!="function")i=f;else{l=l.getChildContext();for(var m in l)if(!(m in a))throw Error(y(108,ge(i)||"Unknown",m));i=ye({},f,l)}r.legacyContext=i,H(e,r,p),r.legacyContext=f}else H(e,r,p)}function jt(e,r){if(e&&e.defaultProps){r=ye({},r),e=e.defaultProps;for(var l in e)r[l]===void 0&&(r[l]=e[l]);return r}return r}function lt(e,r,l,i,p){if(typeof l=="function")if(l.prototype&&l.prototype.isReactComponent){p=Rt(l,r.legacyContext);var a=l.contextType;a=new l(i,typeof a=="object"&&a!==null?a._currentValue2:p),Dt(a,l,i,p),bt(e,r,a,l)}else{a=Rt(l,r.legacyContext),p=$t(e,r,l,i,a);var f=Se!==0;if(typeof p=="object"&&p!==null&&typeof p.render=="function"&&p.$$typeof===void 0)Dt(p,l,i,a),bt(e,r,p,l);else if(f){i=r.treeContext,r.treeContext=Qe(i,1,0);try{H(e,r,p)}finally{r.treeContext=i}}else H(e,r,p)}else if(typeof l=="string"){switch(p=r.blockedSegment,a=cn(p.chunks,l,i,e.responseState,p.formatContext),p.lastPushedText=!1,f=p.formatContext,p.formatContext=He(f,l,i),ut(e,r,a),p.formatContext=f,l){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:p.chunks.push("</",l,">")}p.lastPushedText=!1}else{switch(l){case Pe:case Ft:case Et:case Je:case Ge:H(e,r,i.children);return;case re:H(e,r,i.children);return;case oe:throw Error(y(343));case ie:e:{l=r.blockedBoundary,p=r.blockedSegment,a=i.fallback,i=i.children,f=new Set;var m={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:f,errorDigest:null},x=$e(e,p.chunks.length,m,p.formatContext,!1,!1);p.children.push(x),p.lastPushedText=!1;var w=$e(e,0,null,p.formatContext,!1,!1);w.parentFlushed=!0,r.blockedBoundary=m,r.blockedSegment=w;try{if(ut(e,r,i),e.responseState.generateStaticMarkup||w.lastPushedText&&w.textEmbedded&&w.chunks.push("<!-- -->"),w.status=1,pe(m,w),m.pendingTasks===0)break e}catch(C){w.status=4,m.forceClientRender=!0,m.errorDigest=ke(e,C)}finally{r.blockedBoundary=l,r.blockedSegment=p}r=ot(e,a,l,x,f,r.legacyContext,r.context,r.treeContext),e.pingedTasks.push(r)}return}if(typeof l=="object"&&l!==null)switch(l.$$typeof){case K:if(i=$t(e,r,l.render,i,p),Se!==0){l=r.treeContext,r.treeContext=Qe(l,1,0);try{H(e,r,i)}finally{r.treeContext=l}}else H(e,r,i);return;case Ke:l=l.type,i=jt(l,i),lt(e,r,l,i,p);return;case Tt:if(p=i.children,l=l._context,i=i.value,a=l._currentValue2,l._currentValue2=i,f=le,le=i={parent:f,depth:f===null?0:f.depth+1,context:l,parentValue:a,value:i},r.context=i,H(e,r,p),e=le,e===null)throw Error(y(403));i=e.parentValue,e.context._currentValue2=i===dn?e.context._defaultValue:i,e=le=e.parent,r.context=e;return;case Ye:i=i.children,i=i(l._currentValue2),H(e,r,i);return;case O:p=l._init,l=p(l._payload),i=jt(l,i),lt(e,r,l,i,void 0);return}throw Error(y(130,l==null?l:typeof l,""))}}function H(e,r,l){if(r.node=l,typeof l=="object"&&l!==null){switch(l.$$typeof){case qe:lt(e,r,l.type,l.props,l.ref);return;case Xe:throw Error(y(257));case O:var i=l._init;l=i(l._payload),H(e,r,l);return}if(D(l)){At(e,r,l);return}if(l===null||typeof l!="object"?i=null:(i=Ie&&l[Ie]||l["@@iterator"],i=typeof i=="function"?i:null),i&&(i=i.call(l))){if(l=i.next(),!l.done){var p=[];do p.push(l.value),l=i.next();while(!l.done);At(e,r,p)}return}throw e=Object.prototype.toString.call(l),Error(y(31,e==="[object Object]"?"object with keys {"+Object.keys(l).join(", ")+"}":e))}typeof l=="string"?(i=r.blockedSegment,i.lastPushedText=Ct(r.blockedSegment.chunks,l,e.responseState,i.lastPushedText)):typeof l=="number"&&(i=r.blockedSegment,i.lastPushedText=Ct(r.blockedSegment.chunks,""+l,e.responseState,i.lastPushedText))}function At(e,r,l){for(var i=l.length,p=0;p<i;p++){var a=r.treeContext;r.treeContext=Qe(a,i,p);try{ut(e,r,l[p])}finally{r.treeContext=a}}}function ut(e,r,l){var i=r.blockedSegment.formatContext,p=r.legacyContext,a=r.context;try{return H(e,r,l)}catch(x){if(nt(),typeof x=="object"&&x!==null&&typeof x.then=="function"){l=x;var f=r.blockedSegment,m=$e(e,f.chunks.length,null,f.formatContext,f.lastPushedText,!0);f.children.push(m),f.lastPushedText=!1,e=ot(e,r.node,r.blockedBoundary,m,r.abortSet,r.legacyContext,r.context,r.treeContext).ping,l.then(e,e),r.blockedSegment.formatContext=i,r.legacyContext=p,r.context=a,Be(a)}else throw r.blockedSegment.formatContext=i,r.legacyContext=p,r.context=a,Be(a),x}}function it(e){var r=e.blockedBoundary;e=e.blockedSegment,e.status=3,fe(this,r,e)}function Ht(e,r,l){var i=e.blockedBoundary;e.blockedSegment.status=3,i===null?(r.allPendingTasks--,r.status!==2&&(r.status=2,r.destination!==null&&r.destination.push(null))):(i.pendingTasks--,i.forceClientRender||(i.forceClientRender=!0,e=l===void 0?Error(y(432)):l,i.errorDigest=r.onError(e),i.parentFlushed&&r.clientRenderedBoundaries.push(i)),i.fallbackAbortableTasks.forEach(function(p){return Ht(p,r,l)}),i.fallbackAbortableTasks.clear(),r.allPendingTasks--,r.allPendingTasks===0&&(i=r.onAllReady,i()))}function pe(e,r){if(r.chunks.length===0&&r.children.length===1&&r.children[0].boundary===null){var l=r.children[0];l.id=r.id,l.parentFlushed=!0,l.status===1&&pe(e,l)}else e.completedSegments.push(r)}function fe(e,r,l){if(r===null){if(l.parentFlushed){if(e.completedRootSegment!==null)throw Error(y(389));e.completedRootSegment=l}e.pendingRootTasks--,e.pendingRootTasks===0&&(e.onShellError=xe,r=e.onShellReady,r())}else r.pendingTasks--,r.forceClientRender||(r.pendingTasks===0?(l.parentFlushed&&l.status===1&&pe(r,l),r.parentFlushed&&e.completedBoundaries.push(r),r.fallbackAbortableTasks.forEach(it,e),r.fallbackAbortableTasks.clear()):l.parentFlushed&&l.status===1&&(pe(r,l),r.completedSegments.length===1&&r.parentFlushed&&e.partialBoundaries.push(r)));e.allPendingTasks--,e.allPendingTasks===0&&(e=e.onAllReady,e())}function Ut(e){if(e.status!==2){var r=le,l=rt.current;rt.current=Ot;var i=Oe;Oe=e.responseState;try{var p=e.pingedTasks,a;for(a=0;a<p.length;a++){var f=p[a],m=e,x=f.blockedSegment;if(x.status===0){Be(f.context);try{H(m,f,f.node),m.responseState.generateStaticMarkup||x.lastPushedText&&x.textEmbedded&&x.chunks.push("<!-- -->"),f.abortSet.delete(f),x.status=1,fe(m,f.blockedBoundary,x)}catch(Z){if(nt(),typeof Z=="object"&&Z!==null&&typeof Z.then=="function"){var w=f.ping;Z.then(w,w)}else{f.abortSet.delete(f),x.status=4;var C=f.blockedBoundary,M=Z,Q=ke(m,M);if(C===null?be(m,M):(C.pendingTasks--,C.forceClientRender||(C.forceClientRender=!0,C.errorDigest=Q,C.parentFlushed&&m.clientRenderedBoundaries.push(C))),m.allPendingTasks--,m.allPendingTasks===0){var ee=m.onAllReady;ee()}}}finally{}}}p.splice(0,a),e.destination!==null&&je(e,e.destination)}catch(Z){ke(e,Z),be(e,Z)}finally{Oe=i,rt.current=l,l===Ot&&Be(r)}}}function we(e,r,l){switch(l.parentFlushed=!0,l.status){case 0:var i=l.id=e.nextSegmentId++;return l.lastPushedText=!1,l.textEmbedded=!1,e=e.responseState,r.push('<template id="'),r.push(e.placeholderPrefix),e=i.toString(16),r.push(e),r.push('"></template>');case 1:l.status=2;var p=!0;i=l.chunks;var a=0;l=l.children;for(var f=0;f<l.length;f++){for(p=l[f];a<p.index;a++)r.push(i[a]);p=Ce(e,r,p)}for(;a<i.length-1;a++)r.push(i[a]);return a<i.length&&(p=r.push(i[a])),p;default:throw Error(y(390))}}function Ce(e,r,l){var i=l.boundary;if(i===null)return we(e,r,l);if(i.parentFlushed=!0,i.forceClientRender)return e.responseState.generateStaticMarkup||(i=i.errorDigest,r.push("<!--$!-->"),r.push("<template"),i&&(r.push(' data-dgst="'),i=V(i),r.push(i),r.push('"')),r.push("></template>")),we(e,r,l),e=e.responseState.generateStaticMarkup?!0:r.push("<!--/$-->"),e;if(0<i.pendingTasks){i.rootSegmentID=e.nextSegmentId++,0<i.completedSegments.length&&e.partialBoundaries.push(i);var p=e.responseState,a=p.nextSuspenseID++;return p=p.boundaryPrefix+a.toString(16),i=i.id=p,kt(r,e.responseState,i),we(e,r,l),r.push("<!--/$-->")}if(i.byteSize>e.progressiveChunkSize)return i.rootSegmentID=e.nextSegmentId++,e.completedBoundaries.push(i),kt(r,e.responseState,i.id),we(e,r,l),r.push("<!--/$-->");if(e.responseState.generateStaticMarkup||r.push("<!--$-->"),l=i.completedSegments,l.length!==1)throw Error(y(391));return Ce(e,r,l[0]),e=e.responseState.generateStaticMarkup?!0:r.push("<!--/$-->"),e}function st(e,r,l){return wt(r,e.responseState,l.formatContext,l.id),Ce(e,r,l),pn(r,l.formatContext)}function at(e,r,l){for(var i=l.completedSegments,p=0;p<i.length;p++)ct(e,r,l,i[p]);if(i.length=0,e=e.responseState,i=l.id,l=l.rootSegmentID,r.push(e.startInlineScript),e.sentCompleteBoundaryFunction?r.push('$RC("'):(e.sentCompleteBoundaryFunction=!0,r.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),i===null)throw Error(y(395));return l=l.toString(16),r.push(i),r.push('","'),r.push(e.segmentPrefix),r.push(l),r.push('")<\/script>')}function ct(e,r,l,i){if(i.status===2)return!0;var p=i.id;if(p===-1){if((i.id=l.rootSegmentID)===-1)throw Error(y(392));return st(e,r,i)}return st(e,r,i),e=e.responseState,r.push(e.startInlineScript),e.sentCompleteSegmentFunction?r.push('$RS("'):(e.sentCompleteSegmentFunction=!0,r.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),r.push(e.segmentPrefix),p=p.toString(16),r.push(p),r.push('","'),r.push(e.placeholderPrefix),r.push(p),r.push('")<\/script>')}function je(e,r){try{var l=e.completedRootSegment;if(l!==null&&e.pendingRootTasks===0){Ce(e,r,l),e.completedRootSegment=null;var i=e.responseState.bootstrapChunks;for(l=0;l<i.length-1;l++)r.push(i[l]);l<i.length&&r.push(i[l])}var p=e.clientRenderedBoundaries,a;for(a=0;a<p.length;a++){var f=p[a];i=r;var m=e.responseState,x=f.id,w=f.errorDigest,C=f.errorMessage,M=f.errorComponentStack;if(i.push(m.startInlineScript),m.sentClientRenderFunction?i.push('$RX("'):(m.sentClientRenderFunction=!0,i.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),x===null)throw Error(y(395));if(i.push(x),i.push('"'),w||C||M){i.push(",");var Q=Ze(w||"");i.push(Q)}if(C||M){i.push(",");var ee=Ze(C||"");i.push(ee)}if(M){i.push(",");var Z=Ze(M);i.push(Z)}if(!i.push(")<\/script>")){e.destination=null,a++,p.splice(0,a);return}}p.splice(0,a);var Ee=e.completedBoundaries;for(a=0;a<Ee.length;a++)if(!at(e,r,Ee[a])){e.destination=null,a++,Ee.splice(0,a);return}Ee.splice(0,a);var ae=e.partialBoundaries;for(a=0;a<ae.length;a++){var ft=ae[a];e:{p=e,f=r;var Te=ft.completedSegments;for(m=0;m<Te.length;m++)if(!ct(p,f,ft,Te[m])){m++,Te.splice(0,m);var qt=!1;break e}Te.splice(0,m),qt=!0}if(!qt){e.destination=null,a++,ae.splice(0,a);return}}ae.splice(0,a);var de=e.completedBoundaries;for(a=0;a<de.length;a++)if(!at(e,r,de[a])){e.destination=null,a++,de.splice(0,a);return}de.splice(0,a)}finally{e.allPendingTasks===0&&e.pingedTasks.length===0&&e.clientRenderedBoundaries.length===0&&e.completedBoundaries.length===0&&r.push(null)}}function Wt(e,r){try{var l=e.abortableTasks;l.forEach(function(i){return Ht(i,e,r)}),l.clear(),e.destination!==null&&je(e,e.destination)}catch(i){ke(e,i),be(e,i)}}function Zt(){}function pt(e,r,l,i){var p=!1,a=null,f="",m={push:function(w){return w!==null&&(f+=w),!0},destroy:function(w){p=!0,a=w}},x=!1;if(e=Cn(e,J(l,r?r.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,Zt,void 0,function(){x=!0},void 0,void 0),Ut(e),Wt(e,i),e.status===1)e.status=2,m.destroy(e.fatalError);else if(e.status!==2&&e.destination===null){e.destination=m;try{je(e,m)}catch(w){ke(e,w),be(e,w)}}if(p)throw a;if(!x)throw Error(y(426));return f}$.renderToNodeStream=function(){throw Error(y(207))},$.renderToStaticMarkup=function(e,r){return pt(e,r,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},$.renderToStaticNodeStream=function(){throw Error(y(208))},$.renderToString=function(e,r){return pt(e,r,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},$.version="18.3.1"},17224:function(Bn,$,Re){var X=Re(21739);function y(t){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+t,o=1;o<arguments.length;o++)n+="&args[]="+encodeURIComponent(arguments[o]);return"Minified React error #"+t+"; visit "+n+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var F=null,b=0;function v(t,n){if(n.length!==0)if(512<n.length)0<b&&(t.enqueue(new Uint8Array(F.buffer,0,b)),F=new Uint8Array(512),b=0),t.enqueue(n);else{var o=F.length-b;o<n.length&&(o===0?t.enqueue(F):(F.set(n.subarray(0,o),b),t.enqueue(F),n=n.subarray(o)),F=new Uint8Array(512),b=0),F.set(n,b),b+=n.length}}function R(t,n){return v(t,n),!0}function Ae(t){F&&0<b&&(t.enqueue(new Uint8Array(F.buffer,0,b)),F=null,b=0)}var N=new TextEncoder;function S(t){return N.encode(t)}function g(t){return N.encode(t)}function _e(t,n){typeof t.error=="function"?t.error(n):t.close()}var z=Object.prototype.hasOwnProperty,sn=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,gt={},V={};function vt(t){return z.call(V,t)?!0:z.call(gt,t)?!1:sn.test(t)?V[t]=!0:(gt[t]=!0,!1)}function L(t,n,o,u,c,s,d){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=u,this.attributeNamespace=c,this.mustUseProperty=o,this.propertyName=t,this.type=n,this.sanitizeURL=s,this.removeEmptyString=d}var D={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(t){D[t]=new L(t,0,!1,t,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(t){var n=t[0];D[n]=new L(n,1,!1,t[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(t){D[t]=new L(t,2,!1,t.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(t){D[t]=new L(t,2,!1,t,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(t){D[t]=new L(t,3,!1,t.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(t){D[t]=new L(t,3,!0,t,null,!1,!1)}),["capture","download"].forEach(function(t){D[t]=new L(t,4,!1,t,null,!1,!1)}),["cols","rows","size","span"].forEach(function(t){D[t]=new L(t,6,!1,t,null,!1,!1)}),["rowSpan","start"].forEach(function(t){D[t]=new L(t,5,!1,t.toLowerCase(),null,!1,!1)});var W=/[\-:]([a-z])/g;function He(t){return t[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(t){var n=t.replace(W,He);D[n]=new L(n,1,!1,t,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(t){var n=t.replace(W,He);D[n]=new L(n,1,!1,t,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(t){var n=t.replace(W,He);D[n]=new L(n,1,!1,t,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(t){D[t]=new L(t,1,!1,t.toLowerCase(),null,!1,!1)}),D.xlinkHref=new L("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(t){D[t]=new L(t,1,!1,t.toLowerCase(),null,!0,!0)});var me={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},St=["Webkit","ms","Moz","O"];Object.keys(me).forEach(function(t){St.forEach(function(n){n=n+t.charAt(0).toUpperCase()+t.substring(1),me[n]=me[t]})});var j=/["'&<>]/;function B(t){if(typeof t=="boolean"||typeof t=="number")return""+t;t=""+t;var n=j.exec(t);if(n){var o="",u,c=0;for(u=n.index;u<t.length;u++){switch(t.charCodeAt(u)){case 34:n="&quot;";break;case 38:n="&amp;";break;case 39:n="&#x27;";break;case 60:n="&lt;";break;case 62:n="&gt;";break;default:continue}c!==u&&(o+=t.substring(c,u)),c=u+1,o+=n}t=c!==u?o+t.substring(c,u):o}return t}var an=/([A-Z])/g,Ue=/^ms-/,We=Array.isArray,xt=g("<script>"),G=g("<\/script>"),cn=g('<script src="'),kt=g('<script type="module" src="'),wt=g('" async=""><\/script>'),pn=/(<\/|<)(s)(cript)/gi;function fn(t,n,o,u){return""+n+(o==="s"?"\\u0073":"\\u0053")+u}function Ze(t,n,o,u,c){t=t===void 0?"":t,n=n===void 0?xt:g('<script nonce="'+B(n)+'">');var s=[];if(o!==void 0&&s.push(n,S((""+o).replace(pn,fn)),G),u!==void 0)for(o=0;o<u.length;o++)s.push(cn,S(B(u[o])),wt);if(c!==void 0)for(u=0;u<c.length;u++)s.push(kt,S(B(c[u])),wt);return{bootstrapChunks:s,startInlineScript:n,placeholderPrefix:g(t+"P:"),segmentPrefix:g(t+"S:"),boundaryPrefix:t+"B:",idPrefix:t,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function J(t,n){return{insertionMode:t,selectedValue:n}}function Ct(t){return J(t==="http://www.w3.org/2000/svg"?2:t==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function ye(t,n,o){switch(n){case"select":return J(1,o.value!=null?o.value:o.defaultValue);case"svg":return J(2,null);case"math":return J(3,null);case"foreignObject":return J(1,null);case"table":return J(4,null);case"thead":case"tbody":case"tfoot":return J(5,null);case"colgroup":return J(7,null);case"tr":return J(6,null)}return 4<=t.insertionMode||t.insertionMode===0?J(1,null):t}var qe=g("<!-- -->");function Xe(t,n,o,u){return n===""?u:(u&&t.push(qe),t.push(S(B(n))),!0)}var Ge=new Map,Et=g(' style="'),Je=g(":"),Tt=g(";");function Ye(t,n,o){if(typeof o!="object")throw Error(y(62));n=!0;for(var u in o)if(z.call(o,u)){var c=o[u];if(c!=null&&typeof c!="boolean"&&c!==""){if(u.indexOf("--")===0){var s=S(B(u));c=S(B((""+c).trim()))}else{s=u;var d=Ge.get(s);d!==void 0||(d=g(B(s.replace(an,"-$1").toLowerCase().replace(Ue,"-ms-"))),Ge.set(s,d)),s=d,c=typeof c=="number"?c===0||z.call(me,u)?S(""+c):S(c+"px"):S(B((""+c).trim()))}n?(n=!1,t.push(Et,s,Je,c)):t.push(Tt,s,Je,c)}}n||t.push(re)}var K=g(" "),ie=g('="'),re=g('"'),Ke=g('=""');function O(t,n,o,u){switch(o){case"style":Ye(t,n,u);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<o.length)||o[0]!=="o"&&o[0]!=="O"||o[1]!=="n"&&o[1]!=="N"){if(n=D.hasOwnProperty(o)?D[o]:null,n!==null){switch(typeof u){case"function":case"symbol":return;case"boolean":if(!n.acceptsBooleans)return}switch(o=S(n.attributeName),n.type){case 3:u&&t.push(K,o,Ke);break;case 4:u===!0?t.push(K,o,Ke):u!==!1&&t.push(K,o,ie,S(B(u)),re);break;case 5:isNaN(u)||t.push(K,o,ie,S(B(u)),re);break;case 6:!isNaN(u)&&1<=u&&t.push(K,o,ie,S(B(u)),re);break;default:n.sanitizeURL&&(u=""+u),t.push(K,o,ie,S(B(u)),re)}}else if(vt(o)){switch(typeof u){case"function":case"symbol":return;case"boolean":if(n=o.toLowerCase().slice(0,5),n!=="data-"&&n!=="aria-")return}t.push(K,S(o),ie,S(B(u)),re)}}}var oe=g(">"),Ft=g("/>");function Pe(t,n,o){if(n!=null){if(o!=null)throw Error(y(60));if(typeof n!="object"||!("__html"in n))throw Error(y(61));n=n.__html,n!=null&&t.push(S(""+n))}}function dn(t){var n="";return X.Children.forEach(t,function(o){o!=null&&(n+=o)}),n}var Ie=g(' selected=""');function ge(t,n,o,u){t.push(A(o));var c=o=null,s;for(s in n)if(z.call(n,s)){var d=n[s];if(d!=null)switch(s){case"children":o=d;break;case"dangerouslySetInnerHTML":c=d;break;default:O(t,u,s,d)}}return t.push(oe),Pe(t,c,o),typeof o=="string"?(t.push(S(B(o))),null):o}var Me=g(`
8
+ `),Rt=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,le=new Map;function A(t){var n=le.get(t);if(n===void 0){if(!Rt.test(t))throw Error(y(65,t));n=g("<"+t),le.set(t,n)}return n}var _t=g("<!DOCTYPE html>");function Pt(t,n,o,u,c){switch(n){case"select":t.push(A("select"));var s=null,d=null;for(E in o)if(z.call(o,E)){var h=o[E];if(h!=null)switch(E){case"children":s=h;break;case"dangerouslySetInnerHTML":d=h;break;case"defaultValue":case"value":break;default:O(t,u,E,h)}}return t.push(oe),Pe(t,d,s),s;case"option":d=c.selectedValue,t.push(A("option"));var k=h=null,T=null,E=null;for(s in o)if(z.call(o,s)){var I=o[s];if(I!=null)switch(s){case"children":h=I;break;case"selected":T=I;break;case"dangerouslySetInnerHTML":E=I;break;case"value":k=I;default:O(t,u,s,I)}}if(d!=null)if(o=k!==null?""+k:dn(h),We(d)){for(u=0;u<d.length;u++)if(""+d[u]===o){t.push(Ie);break}}else""+d===o&&t.push(Ie);else T&&t.push(Ie);return t.push(oe),Pe(t,E,h),h;case"textarea":t.push(A("textarea")),E=d=s=null;for(h in o)if(z.call(o,h)&&(k=o[h],k!=null))switch(h){case"children":E=k;break;case"value":s=k;break;case"defaultValue":d=k;break;case"dangerouslySetInnerHTML":throw Error(y(91));default:O(t,u,h,k)}if(s===null&&d!==null&&(s=d),t.push(oe),E!=null){if(s!=null)throw Error(y(92));if(We(E)&&1<E.length)throw Error(y(93));s=""+E}return typeof s=="string"&&s[0]===`
9
+ `&&t.push(Me),s!==null&&t.push(S(B(""+s))),null;case"input":t.push(A("input")),k=E=h=s=null;for(d in o)if(z.call(o,d)&&(T=o[d],T!=null))switch(d){case"children":case"dangerouslySetInnerHTML":throw Error(y(399,"input"));case"defaultChecked":k=T;break;case"defaultValue":h=T;break;case"checked":E=T;break;case"value":s=T;break;default:O(t,u,d,T)}return E!==null?O(t,u,"checked",E):k!==null&&O(t,u,"checked",k),s!==null?O(t,u,"value",s):h!==null&&O(t,u,"value",h),t.push(Ft),null;case"menuitem":t.push(A("menuitem"));for(var U in o)if(z.call(o,U)&&(s=o[U],s!=null))switch(U){case"children":case"dangerouslySetInnerHTML":throw Error(y(400));default:O(t,u,U,s)}return t.push(oe),null;case"title":t.push(A("title")),s=null;for(I in o)if(z.call(o,I)&&(d=o[I],d!=null))switch(I){case"children":s=d;break;case"dangerouslySetInnerHTML":throw Error(y(434));default:O(t,u,I,d)}return t.push(oe),s;case"listing":case"pre":t.push(A(n)),d=s=null;for(k in o)if(z.call(o,k)&&(h=o[k],h!=null))switch(k){case"children":s=h;break;case"dangerouslySetInnerHTML":d=h;break;default:O(t,u,k,h)}if(t.push(oe),d!=null){if(s!=null)throw Error(y(60));if(typeof d!="object"||!("__html"in d))throw Error(y(61));o=d.__html,o!=null&&(typeof o=="string"&&0<o.length&&o[0]===`
10
+ `?t.push(Me,S(o)):t.push(S(""+o)))}return typeof s=="string"&&s[0]===`
11
+ `&&t.push(Me),s;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":t.push(A(n));for(var te in o)if(z.call(o,te)&&(s=o[te],s!=null))switch(te){case"children":case"dangerouslySetInnerHTML":throw Error(y(399,n));default:O(t,u,te,s)}return t.push(Ft),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return ge(t,o,n,u);case"html":return c.insertionMode===0&&t.push(_t),ge(t,o,n,u);default:if(n.indexOf("-")===-1&&typeof o.is!="string")return ge(t,o,n,u);t.push(A(n)),d=s=null;for(T in o)if(z.call(o,T)&&(h=o[T],h!=null))switch(T){case"children":s=h;break;case"dangerouslySetInnerHTML":d=h;break;case"style":Ye(t,u,h);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:vt(T)&&typeof h!="function"&&typeof h!="symbol"&&t.push(K,S(T),ie,S(B(h)),re)}return t.push(oe),Pe(t,d,s),s}}var It=g("</"),Mt=g(">"),Be=g('<template id="'),Bt=g('"></template>'),Dt=g("<!--$-->"),hn=g('<!--$?--><template id="'),Qe=g('"></template>'),De=g("<!--$!-->"),mn=g("<!--/$-->"),yn=g("<template"),gn=g('"'),vn=g(' data-dgst="');g(' data-msg="'),g(' data-stck="');var Sn=g("></template>");function Y(t,n,o){if(v(t,hn),o===null)throw Error(y(395));return v(t,o),R(t,Qe)}var et=g('<div hidden id="'),ze=g('">'),_=g("</div>"),ve=g('<svg aria-hidden="true" style="display:none" id="'),Ne=g('">'),Se=g("</svg>"),ue=g('<math aria-hidden="true" style="display:none" id="'),Ve=g('">'),se=g("</math>"),zt=g('<table hidden id="'),tt=g('">'),nt=g("</table>"),Nt=g('<table hidden><tbody id="'),Vt=g('">'),Lt=g("</tbody></table>"),xn=g('<table hidden><tr id="'),kn=g('">'),Le=g("</tr></table>"),Ot=g('<table hidden><colgroup id="'),Oe=g('">'),rt=g("</colgroup></table>");function wn(t,n,o,u){switch(o.insertionMode){case 0:case 1:return v(t,et),v(t,n.segmentPrefix),v(t,S(u.toString(16))),R(t,ze);case 2:return v(t,ve),v(t,n.segmentPrefix),v(t,S(u.toString(16))),R(t,Ne);case 3:return v(t,ue),v(t,n.segmentPrefix),v(t,S(u.toString(16))),R(t,Ve);case 4:return v(t,zt),v(t,n.segmentPrefix),v(t,S(u.toString(16))),R(t,tt);case 5:return v(t,Nt),v(t,n.segmentPrefix),v(t,S(u.toString(16))),R(t,Vt);case 6:return v(t,xn),v(t,n.segmentPrefix),v(t,S(u.toString(16))),R(t,kn);case 7:return v(t,Ot),v(t,n.segmentPrefix),v(t,S(u.toString(16))),R(t,Oe);default:throw Error(y(397))}}function xe(t,n){switch(n.insertionMode){case 0:case 1:return R(t,_);case 2:return R(t,Se);case 3:return R(t,se);case 4:return R(t,nt);case 5:return R(t,Lt);case 6:return R(t,Le);case 7:return R(t,rt);default:throw Error(y(397))}}var Cn=g('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),ot=g('$RS("'),$e=g('","'),ke=g('")<\/script>'),be=g('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),$t=g('$RC("'),bt=g('","'),jt=g('")<\/script>'),lt=g('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),H=g('$RX("'),At=g('"'),ut=g(")<\/script>"),it=g(","),Ht=/[<\u2028\u2029]/g;function pe(t){return JSON.stringify(t).replace(Ht,function(n){switch(n){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var fe=Object.assign,Ut=Symbol.for("react.element"),we=Symbol.for("react.portal"),Ce=Symbol.for("react.fragment"),st=Symbol.for("react.strict_mode"),at=Symbol.for("react.profiler"),ct=Symbol.for("react.provider"),je=Symbol.for("react.context"),Wt=Symbol.for("react.forward_ref"),Zt=Symbol.for("react.suspense"),pt=Symbol.for("react.suspense_list"),e=Symbol.for("react.memo"),r=Symbol.for("react.lazy"),l=Symbol.for("react.scope"),i=Symbol.for("react.debug_trace_mode"),p=Symbol.for("react.legacy_hidden"),a=Symbol.for("react.default_value"),f=Symbol.iterator;function m(t){if(t==null)return null;if(typeof t=="function")return t.displayName||t.name||null;if(typeof t=="string")return t;switch(t){case Ce:return"Fragment";case we:return"Portal";case at:return"Profiler";case st:return"StrictMode";case Zt:return"Suspense";case pt:return"SuspenseList"}if(typeof t=="object")switch(t.$$typeof){case je:return(t.displayName||"Context")+".Consumer";case ct:return(t._context.displayName||"Context")+".Provider";case Wt:var n=t.render;return t=t.displayName,t||(t=n.displayName||n.name||"",t=t!==""?"ForwardRef("+t+")":"ForwardRef"),t;case e:return n=t.displayName||null,n!==null?n:m(t.type)||"Memo";case r:n=t._payload,t=t._init;try{return m(t(n))}catch(o){}}return null}var x={};function w(t,n){if(t=t.contextTypes,!t)return x;var o={},u;for(u in t)o[u]=n[u];return o}var C=null;function M(t,n){if(t!==n){t.context._currentValue=t.parentValue,t=t.parent;var o=n.parent;if(t===null){if(o!==null)throw Error(y(401))}else{if(o===null)throw Error(y(401));M(t,o)}n.context._currentValue=n.value}}function Q(t){t.context._currentValue=t.parentValue,t=t.parent,t!==null&&Q(t)}function ee(t){var n=t.parent;n!==null&&ee(n),t.context._currentValue=t.value}function Z(t,n){if(t.context._currentValue=t.parentValue,t=t.parent,t===null)throw Error(y(402));t.depth===n.depth?M(t,n):Z(t,n)}function Ee(t,n){var o=n.parent;if(o===null)throw Error(y(402));t.depth===o.depth?M(t,o):Ee(t,o),n.context._currentValue=n.value}function ae(t){var n=C;n!==t&&(n===null?ee(t):t===null?Q(n):n.depth===t.depth?M(n,t):n.depth>t.depth?Z(n,t):Ee(n,t),C=t)}var ft={isMounted:function(){return!1},enqueueSetState:function(t,n){t=t._reactInternals,t.queue!==null&&t.queue.push(n)},enqueueReplaceState:function(t,n){t=t._reactInternals,t.replace=!0,t.queue=[n]},enqueueForceUpdate:function(){}};function Te(t,n,o,u){var c=t.state!==void 0?t.state:null;t.updater=ft,t.props=o,t.state=c;var s={queue:[],replace:!1};t._reactInternals=s;var d=n.contextType;if(t.context=typeof d=="object"&&d!==null?d._currentValue:u,d=n.getDerivedStateFromProps,typeof d=="function"&&(d=d(o,c),c=d==null?c:fe({},c,d),t.state=c),typeof n.getDerivedStateFromProps!="function"&&typeof t.getSnapshotBeforeUpdate!="function"&&(typeof t.UNSAFE_componentWillMount=="function"||typeof t.componentWillMount=="function"))if(n=t.state,typeof t.componentWillMount=="function"&&t.componentWillMount(),typeof t.UNSAFE_componentWillMount=="function"&&t.UNSAFE_componentWillMount(),n!==t.state&&ft.enqueueReplaceState(t,t.state,null),s.queue!==null&&0<s.queue.length)if(n=s.queue,d=s.replace,s.queue=null,s.replace=!1,d&&n.length===1)t.state=n[0];else{for(s=d?n[0]:t.state,c=!0,d=d?1:0;d<n.length;d++){var h=n[d];h=typeof h=="function"?h.call(t,s,o,u):h,h!=null&&(c?(c=!1,s=fe({},s,h)):fe(s,h))}t.state=s}else s.queue=null}var qt={id:1,overflow:""};function de(t,n,o){var u=t.id;t=t.overflow;var c=32-Xt(u)-1;u&=~(1<<c),o+=1;var s=32-Xt(n)+c;if(30<s){var d=c-c%5;return s=(u&(1<<d)-1).toString(32),u>>=d,c-=d,{id:1<<32-Xt(n)+c|o<<c|u,overflow:s+t}}return{id:1<<s|o<<c|u,overflow:t}}var Xt=Math.clz32?Math.clz32:Kn,Jn=Math.log,Yn=Math.LN2;function Kn(t){return t>>>=0,t===0?32:31-(Jn(t)/Yn|0)|0}function Qn(t,n){return t===n&&(t!==0||1/t===1/n)||t!==t&&n!==n}var er=typeof Object.is=="function"?Object.is:Qn,ce=null,En=null,Gt=null,P=null,dt=!1,Jt=!1,ht=0,he=null,Yt=0;function Fe(){if(ce===null)throw Error(y(321));return ce}function Dn(){if(0<Yt)throw Error(y(312));return{memoizedState:null,queue:null,next:null}}function Tn(){return P===null?Gt===null?(dt=!1,Gt=P=Dn()):(dt=!0,P=Gt):P.next===null?(dt=!1,P=P.next=Dn()):(dt=!0,P=P.next),P}function Fn(){En=ce=null,Jt=!1,Gt=null,Yt=0,P=he=null}function zn(t,n){return typeof n=="function"?n(t):n}function Nn(t,n,o){if(ce=Fe(),P=Tn(),dt){var u=P.queue;if(n=u.dispatch,he!==null&&(o=he.get(u),o!==void 0)){he.delete(u),u=P.memoizedState;do u=t(u,o.action),o=o.next;while(o!==null);return P.memoizedState=u,[u,n]}return[P.memoizedState,n]}return t=t===zn?typeof n=="function"?n():n:o!==void 0?o(n):n,P.memoizedState=t,t=P.queue={last:null,dispatch:null},t=t.dispatch=tr.bind(null,ce,t),[P.memoizedState,t]}function Vn(t,n){if(ce=Fe(),P=Tn(),n=n===void 0?null:n,P!==null){var o=P.memoizedState;if(o!==null&&n!==null){var u=o[1];e:if(u===null)u=!1;else{for(var c=0;c<u.length&&c<n.length;c++)if(!er(n[c],u[c])){u=!1;break e}u=!0}if(u)return o[0]}}return t=t(),P.memoizedState=[t,n],t}function tr(t,n,o){if(25<=Yt)throw Error(y(301));if(t===ce)if(Jt=!0,t={action:o,next:null},he===null&&(he=new Map),o=he.get(n),o===void 0)he.set(n,t);else{for(n=o;n.next!==null;)n=n.next;n.next=t}}function nr(){throw Error(y(394))}function Kt(){}var Ln={readContext:function(t){return t._currentValue},useContext:function(t){return Fe(),t._currentValue},useMemo:Vn,useReducer:Nn,useRef:function(t){ce=Fe(),P=Tn();var n=P.memoizedState;return n===null?(t={current:t},P.memoizedState=t):n},useState:function(t){return Nn(zn,t)},useInsertionEffect:Kt,useLayoutEffect:function(){},useCallback:function(t,n){return Vn(function(){return t},n)},useImperativeHandle:Kt,useEffect:Kt,useDebugValue:Kt,useDeferredValue:function(t){return Fe(),t},useTransition:function(){return Fe(),[!1,nr]},useId:function(){var t=En.treeContext,n=t.overflow;t=t.id,t=(t&~(1<<32-Xt(t)-1)).toString(32)+n;var o=Qt;if(o===null)throw Error(y(404));return n=ht++,t=":"+o.idPrefix+"R"+t,0<n&&(t+="H"+n.toString(32)),t+":"},useMutableSource:function(t,n){return Fe(),n(t._source)},useSyncExternalStore:function(t,n,o){if(o===void 0)throw Error(y(407));return o()}},Qt=null,Rn=X.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function rr(t){return console.error(t),null}function mt(){}function or(t,n,o,u,c,s,d,h,k){var T=[],E=new Set;return n={destination:null,responseState:n,progressiveChunkSize:u===void 0?12800:u,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:E,pingedTasks:T,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:c===void 0?rr:c,onAllReady:s===void 0?mt:s,onShellReady:d===void 0?mt:d,onShellError:h===void 0?mt:h,onFatalError:k===void 0?mt:k},o=en(n,0,null,o,!1,!1),o.parentFlushed=!0,t=_n(n,t,null,o,E,x,null,qt),T.push(t),n}function _n(t,n,o,u,c,s,d,h){t.allPendingTasks++,o===null?t.pendingRootTasks++:o.pendingTasks++;var k={node:n,ping:function(){var T=t.pingedTasks;T.push(k),T.length===1&&Un(t)},blockedBoundary:o,blockedSegment:u,abortSet:c,legacyContext:s,context:d,treeContext:h};return c.add(k),k}function en(t,n,o,u,c,s){return{status:0,id:-1,index:n,parentFlushed:!1,chunks:[],children:[],formatContext:u,boundary:o,lastPushedText:c,textEmbedded:s}}function yt(t,n){if(t=t.onError(n),t!=null&&typeof t!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof t+'" instead');return t}function tn(t,n){var o=t.onShellError;o(n),o=t.onFatalError,o(n),t.destination!==null?(t.status=2,_e(t.destination,n)):(t.status=1,t.fatalError=n)}function On(t,n,o,u,c){for(ce={},En=n,ht=0,t=o(u,c);Jt;)Jt=!1,ht=0,Yt+=1,P=null,t=o(u,c);return Fn(),t}function $n(t,n,o,u){var c=o.render(),s=u.childContextTypes;if(s!=null){var d=n.legacyContext;if(typeof o.getChildContext!="function")u=d;else{o=o.getChildContext();for(var h in o)if(!(h in s))throw Error(y(108,m(u)||"Unknown",h));u=fe({},d,o)}n.legacyContext=u,q(t,n,c),n.legacyContext=d}else q(t,n,c)}function bn(t,n){if(t&&t.defaultProps){n=fe({},n),t=t.defaultProps;for(var o in t)n[o]===void 0&&(n[o]=t[o]);return n}return n}function Pn(t,n,o,u,c){if(typeof o=="function")if(o.prototype&&o.prototype.isReactComponent){c=w(o,n.legacyContext);var s=o.contextType;s=new o(u,typeof s=="object"&&s!==null?s._currentValue:c),Te(s,o,u,c),$n(t,n,s,o)}else{s=w(o,n.legacyContext),c=On(t,n,o,u,s);var d=ht!==0;if(typeof c=="object"&&c!==null&&typeof c.render=="function"&&c.$$typeof===void 0)Te(c,o,u,s),$n(t,n,c,o);else if(d){u=n.treeContext,n.treeContext=de(u,1,0);try{q(t,n,c)}finally{n.treeContext=u}}else q(t,n,c)}else if(typeof o=="string"){switch(c=n.blockedSegment,s=Pt(c.chunks,o,u,t.responseState,c.formatContext),c.lastPushedText=!1,d=c.formatContext,c.formatContext=ye(d,o,u),In(t,n,s),c.formatContext=d,o){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:c.chunks.push(It,S(o),Mt)}c.lastPushedText=!1}else{switch(o){case p:case i:case st:case at:case Ce:q(t,n,u.children);return;case pt:q(t,n,u.children);return;case l:throw Error(y(343));case Zt:e:{o=n.blockedBoundary,c=n.blockedSegment,s=u.fallback,u=u.children,d=new Set;var h={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:d,errorDigest:null},k=en(t,c.chunks.length,h,c.formatContext,!1,!1);c.children.push(k),c.lastPushedText=!1;var T=en(t,0,null,c.formatContext,!1,!1);T.parentFlushed=!0,n.blockedBoundary=h,n.blockedSegment=T;try{if(In(t,n,u),T.lastPushedText&&T.textEmbedded&&T.chunks.push(qe),T.status=1,nn(h,T),h.pendingTasks===0)break e}catch(E){T.status=4,h.forceClientRender=!0,h.errorDigest=yt(t,E)}finally{n.blockedBoundary=o,n.blockedSegment=c}n=_n(t,s,o,k,d,n.legacyContext,n.context,n.treeContext),t.pingedTasks.push(n)}return}if(typeof o=="object"&&o!==null)switch(o.$$typeof){case Wt:if(u=On(t,n,o.render,u,c),ht!==0){o=n.treeContext,n.treeContext=de(o,1,0);try{q(t,n,u)}finally{n.treeContext=o}}else q(t,n,u);return;case e:o=o.type,u=bn(o,u),Pn(t,n,o,u,c);return;case ct:if(c=u.children,o=o._context,u=u.value,s=o._currentValue,o._currentValue=u,d=C,C=u={parent:d,depth:d===null?0:d.depth+1,context:o,parentValue:s,value:u},n.context=u,q(t,n,c),t=C,t===null)throw Error(y(403));u=t.parentValue,t.context._currentValue=u===a?t.context._defaultValue:u,t=C=t.parent,n.context=t;return;case je:u=u.children,u=u(o._currentValue),q(t,n,u);return;case r:c=o._init,o=c(o._payload),u=bn(o,u),Pn(t,n,o,u,void 0);return}throw Error(y(130,o==null?o:typeof o,""))}}function q(t,n,o){if(n.node=o,typeof o=="object"&&o!==null){switch(o.$$typeof){case Ut:Pn(t,n,o.type,o.props,o.ref);return;case we:throw Error(y(257));case r:var u=o._init;o=u(o._payload),q(t,n,o);return}if(We(o)){jn(t,n,o);return}if(o===null||typeof o!="object"?u=null:(u=f&&o[f]||o["@@iterator"],u=typeof u=="function"?u:null),u&&(u=u.call(o))){if(o=u.next(),!o.done){var c=[];do c.push(o.value),o=u.next();while(!o.done);jn(t,n,c)}return}throw t=Object.prototype.toString.call(o),Error(y(31,t==="[object Object]"?"object with keys {"+Object.keys(o).join(", ")+"}":t))}typeof o=="string"?(u=n.blockedSegment,u.lastPushedText=Xe(n.blockedSegment.chunks,o,t.responseState,u.lastPushedText)):typeof o=="number"&&(u=n.blockedSegment,u.lastPushedText=Xe(n.blockedSegment.chunks,""+o,t.responseState,u.lastPushedText))}function jn(t,n,o){for(var u=o.length,c=0;c<u;c++){var s=n.treeContext;n.treeContext=de(s,u,c);try{In(t,n,o[c])}finally{n.treeContext=s}}}function In(t,n,o){var u=n.blockedSegment.formatContext,c=n.legacyContext,s=n.context;try{return q(t,n,o)}catch(k){if(Fn(),typeof k=="object"&&k!==null&&typeof k.then=="function"){o=k;var d=n.blockedSegment,h=en(t,d.chunks.length,null,d.formatContext,d.lastPushedText,!0);d.children.push(h),d.lastPushedText=!1,t=_n(t,n.node,n.blockedBoundary,h,n.abortSet,n.legacyContext,n.context,n.treeContext).ping,o.then(t,t),n.blockedSegment.formatContext=u,n.legacyContext=c,n.context=s,ae(s)}else throw n.blockedSegment.formatContext=u,n.legacyContext=c,n.context=s,ae(s),k}}function lr(t){var n=t.blockedBoundary;t=t.blockedSegment,t.status=3,Hn(this,n,t)}function An(t,n,o){var u=t.blockedBoundary;t.blockedSegment.status=3,u===null?(n.allPendingTasks--,n.status!==2&&(n.status=2,n.destination!==null&&n.destination.close())):(u.pendingTasks--,u.forceClientRender||(u.forceClientRender=!0,t=o===void 0?Error(y(432)):o,u.errorDigest=n.onError(t),u.parentFlushed&&n.clientRenderedBoundaries.push(u)),u.fallbackAbortableTasks.forEach(function(c){return An(c,n,o)}),u.fallbackAbortableTasks.clear(),n.allPendingTasks--,n.allPendingTasks===0&&(u=n.onAllReady,u()))}function nn(t,n){if(n.chunks.length===0&&n.children.length===1&&n.children[0].boundary===null){var o=n.children[0];o.id=n.id,o.parentFlushed=!0,o.status===1&&nn(t,o)}else t.completedSegments.push(n)}function Hn(t,n,o){if(n===null){if(o.parentFlushed){if(t.completedRootSegment!==null)throw Error(y(389));t.completedRootSegment=o}t.pendingRootTasks--,t.pendingRootTasks===0&&(t.onShellError=mt,n=t.onShellReady,n())}else n.pendingTasks--,n.forceClientRender||(n.pendingTasks===0?(o.parentFlushed&&o.status===1&&nn(n,o),n.parentFlushed&&t.completedBoundaries.push(n),n.fallbackAbortableTasks.forEach(lr,t),n.fallbackAbortableTasks.clear()):o.parentFlushed&&o.status===1&&(nn(n,o),n.completedSegments.length===1&&n.parentFlushed&&t.partialBoundaries.push(n)));t.allPendingTasks--,t.allPendingTasks===0&&(t=t.onAllReady,t())}function Un(t){if(t.status!==2){var n=C,o=Rn.current;Rn.current=Ln;var u=Qt;Qt=t.responseState;try{var c=t.pingedTasks,s;for(s=0;s<c.length;s++){var d=c[s],h=t,k=d.blockedSegment;if(k.status===0){ae(d.context);try{q(h,d,d.node),k.lastPushedText&&k.textEmbedded&&k.chunks.push(qe),d.abortSet.delete(d),k.status=1,Hn(h,d.blockedBoundary,k)}catch(ne){if(Fn(),typeof ne=="object"&&ne!==null&&typeof ne.then=="function"){var T=d.ping;ne.then(T,T)}else{d.abortSet.delete(d),k.status=4;var E=d.blockedBoundary,I=ne,U=yt(h,I);if(E===null?tn(h,I):(E.pendingTasks--,E.forceClientRender||(E.forceClientRender=!0,E.errorDigest=U,E.parentFlushed&&h.clientRenderedBoundaries.push(E))),h.allPendingTasks--,h.allPendingTasks===0){var te=h.onAllReady;te()}}}finally{}}}c.splice(0,s),t.destination!==null&&Mn(t,t.destination)}catch(ne){yt(t,ne),tn(t,ne)}finally{Qt=u,Rn.current=o,o===Ln&&ae(n)}}}function rn(t,n,o){switch(o.parentFlushed=!0,o.status){case 0:var u=o.id=t.nextSegmentId++;return o.lastPushedText=!1,o.textEmbedded=!1,t=t.responseState,v(n,Be),v(n,t.placeholderPrefix),t=S(u.toString(16)),v(n,t),R(n,Bt);case 1:o.status=2;var c=!0;u=o.chunks;var s=0;o=o.children;for(var d=0;d<o.length;d++){for(c=o[d];s<c.index;s++)v(n,u[s]);c=on(t,n,c)}for(;s<u.length-1;s++)v(n,u[s]);return s<u.length&&(c=R(n,u[s])),c;default:throw Error(y(390))}}function on(t,n,o){var u=o.boundary;if(u===null)return rn(t,n,o);if(u.parentFlushed=!0,u.forceClientRender)u=u.errorDigest,R(n,De),v(n,yn),u&&(v(n,vn),v(n,S(B(u))),v(n,gn)),R(n,Sn),rn(t,n,o);else if(0<u.pendingTasks){u.rootSegmentID=t.nextSegmentId++,0<u.completedSegments.length&&t.partialBoundaries.push(u);var c=t.responseState,s=c.nextSuspenseID++;c=g(c.boundaryPrefix+s.toString(16)),u=u.id=c,Y(n,t.responseState,u),rn(t,n,o)}else if(u.byteSize>t.progressiveChunkSize)u.rootSegmentID=t.nextSegmentId++,t.completedBoundaries.push(u),Y(n,t.responseState,u.id),rn(t,n,o);else{if(R(n,Dt),o=u.completedSegments,o.length!==1)throw Error(y(391));on(t,n,o[0])}return R(n,mn)}function Wn(t,n,o){return wn(n,t.responseState,o.formatContext,o.id),on(t,n,o),xe(n,o.formatContext)}function Zn(t,n,o){for(var u=o.completedSegments,c=0;c<u.length;c++)qn(t,n,o,u[c]);if(u.length=0,t=t.responseState,u=o.id,o=o.rootSegmentID,v(n,t.startInlineScript),t.sentCompleteBoundaryFunction?v(n,$t):(t.sentCompleteBoundaryFunction=!0,v(n,be)),u===null)throw Error(y(395));return o=S(o.toString(16)),v(n,u),v(n,bt),v(n,t.segmentPrefix),v(n,o),R(n,jt)}function qn(t,n,o,u){if(u.status===2)return!0;var c=u.id;if(c===-1){if((u.id=o.rootSegmentID)===-1)throw Error(y(392));return Wn(t,n,u)}return Wn(t,n,u),t=t.responseState,v(n,t.startInlineScript),t.sentCompleteSegmentFunction?v(n,ot):(t.sentCompleteSegmentFunction=!0,v(n,Cn)),v(n,t.segmentPrefix),c=S(c.toString(16)),v(n,c),v(n,$e),v(n,t.placeholderPrefix),v(n,c),R(n,ke)}function Mn(t,n){F=new Uint8Array(512),b=0;try{var o=t.completedRootSegment;if(o!==null&&t.pendingRootTasks===0){on(t,n,o),t.completedRootSegment=null;var u=t.responseState.bootstrapChunks;for(o=0;o<u.length-1;o++)v(n,u[o]);o<u.length&&R(n,u[o])}var c=t.clientRenderedBoundaries,s;for(s=0;s<c.length;s++){var d=c[s];u=n;var h=t.responseState,k=d.id,T=d.errorDigest,E=d.errorMessage,I=d.errorComponentStack;if(v(u,h.startInlineScript),h.sentClientRenderFunction?v(u,H):(h.sentClientRenderFunction=!0,v(u,lt)),k===null)throw Error(y(395));if(v(u,k),v(u,At),(T||E||I)&&(v(u,it),v(u,S(pe(T||"")))),(E||I)&&(v(u,it),v(u,S(pe(E||"")))),I&&(v(u,it),v(u,S(pe(I)))),!R(u,ut)){t.destination=null,s++,c.splice(0,s);return}}c.splice(0,s);var U=t.completedBoundaries;for(s=0;s<U.length;s++)if(!Zn(t,n,U[s])){t.destination=null,s++,U.splice(0,s);return}U.splice(0,s),Ae(n),F=new Uint8Array(512),b=0;var te=t.partialBoundaries;for(s=0;s<te.length;s++){var ne=te[s];e:{c=t,d=n;var ln=ne.completedSegments;for(h=0;h<ln.length;h++)if(!qn(c,d,ne,ln[h])){h++,ln.splice(0,h);var Gn=!1;break e}ln.splice(0,h),Gn=!0}if(!Gn){t.destination=null,s++,te.splice(0,s);return}}te.splice(0,s);var un=t.completedBoundaries;for(s=0;s<un.length;s++)if(!Zn(t,n,un[s])){t.destination=null,s++,un.splice(0,s);return}un.splice(0,s)}finally{Ae(n),t.allPendingTasks===0&&t.pingedTasks.length===0&&t.clientRenderedBoundaries.length===0&&t.completedBoundaries.length===0&&n.close()}}function Xn(t,n){try{var o=t.abortableTasks;o.forEach(function(u){return An(u,t,n)}),o.clear(),t.destination!==null&&Mn(t,t.destination)}catch(u){yt(t,u),tn(t,u)}}$.renderToReadableStream=function(t,n){return new Promise(function(o,u){var c,s,d=new Promise(function(E,I){s=E,c=I}),h=or(t,Ze(n?n.identifierPrefix:void 0,n?n.nonce:void 0,n?n.bootstrapScriptContent:void 0,n?n.bootstrapScripts:void 0,n?n.bootstrapModules:void 0),Ct(n?n.namespaceURI:void 0),n?n.progressiveChunkSize:void 0,n?n.onError:void 0,s,function(){var E=new ReadableStream({type:"bytes",pull:function(I){if(h.status===1)h.status=2,_e(I,h.fatalError);else if(h.status!==2&&h.destination===null){h.destination=I;try{Mn(h,I)}catch(U){yt(h,U),tn(h,U)}}},cancel:function(){Xn(h)}},{highWaterMark:0});E.allReady=d,o(E)},function(E){d.catch(function(){}),u(E)},c);if(n&&n.signal){var k=n.signal,T=function(){Xn(h,k.reason),k.removeEventListener("abort",T)};k.addEventListener("abort",T)}Un(h)})},$.version="18.3.1"},44291:function(Bn,$,Re){var X,y;X=Re(19953),y=Re(17224),$.version=X.version,$.renderToString=X.renderToString,$.renderToStaticMarkup=X.renderToStaticMarkup,$.renderToNodeStream=X.renderToNodeStream,$.renderToStaticNodeStream=X.renderToStaticNodeStream,$.renderToReadableStream=y.renderToReadableStream}}]);
@@ -0,0 +1,9 @@
1
+ "use strict";(self.webpackChunk_agentscope_ai_chat=self.webpackChunk_agentscope_ai_chat||[]).push([[7548],{43007:function(o,n,t){t.r(n);var l=t(21739),i=t(11078),s=t(5465),r=t.n(s),a=t(27174),e=function(){return(0,a.jsx)(a.Fragment,{children:(0,a.jsx)(i.Z,{icon:(0,a.jsx)(s.PieChartOutlined,{}),title:"title",inline:!0,children:"some content"})})};n.default=e},52758:function(o,n,t){t.r(n);var l=t(21739),i=t(11078),s=t(5465),r=t.n(s),a=t(53799),e=t(27174),d=function(){return(0,e.jsx)(e.Fragment,{children:(0,e.jsx)(i.Z,{title:"\u6267\u884C\u4E2D...",status:"generating",defaultOpen:!0,steps:[{icon:(0,e.jsx)(s.ClockCircleOutlined,{}),title:"step1",children:(0,e.jsx)(i.Z.BodyContent,{headerLeft:"headerLeft",children:(0,e.jsxs)(a.Z,{style:{padding:12},children:[(0,e.jsx)(a.Z.Paragraph,{children:"Aliyun Bailianis a product offered by Alibaba Cloud, which is the cloud computing arm of Alibaba Group. Bailian is a high-performance AI development platform designed to help users build, deploy, and manage machine learning models and AI applications more efficiently."}),(0,e.jsxs)("ol",{children:[(0,e.jsx)("li",{children:"Easy-to-use Interface: Provides a user-friendly interface for developers and data scientists to easily create and manage AI"}),(0,e.jsx)("li",{children:"Easy-to-use Interface: Provides a user-friendly interface for developers and data scientists to easily create and manage AI"})]})]})}),rightChildren:(0,e.jsx)("a",{children:"rightChildren"})},{defaultOpen:!0,icon:(0,e.jsx)(s.ClockCircleOutlined,{}),title:"step1",children:(0,e.jsx)(i.Z.BodyContent,{headerLeft:"headerLeft",headerRight:"headerRight",children:(0,e.jsxs)(a.Z,{style:{padding:12},children:[(0,e.jsx)(a.Z.Paragraph,{children:"Aliyun Bailianis a product offered by Alibaba Cloud, which is the cloud computing arm of Alibaba Group. Bailian is a high-performance AI development platform designed to help users build, deploy, and manage machine learning models and AI applications more efficiently."}),(0,e.jsxs)("ol",{children:[(0,e.jsx)("li",{children:"Easy-to-use Interface: Provides a user-friendly interface for developers and data scientists to easily create and manage AI"}),(0,e.jsx)("li",{children:"Easy-to-use Interface: Provides a user-friendly interface for developers and data scientists to easily create and manage AI"})]})]})})}]})})};n.default=d},84644:function(o,n,t){t.r(n);var l=t(21739),i=t(61416),s=t(41478),r=t(27174),a=function(){return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(s.Z,{gap:16,vertical:!0,children:[(0,r.jsx)(i.Z,{loading:!0,content:"\u4F60\u597D\uFF0C\u6211\u662FAI\u667A\u80FD\u52A9\u624B\uFF0C\u4F60\u53EF\u4EE5\u5411\u6211\u63D0\u95EE\u4EFB\u4F55\u95EE\u9898\uFF0C\u6BD4\u5982\uFF1A"}),(0,r.jsx)(i.Z,{defaultOpen:!0,loading:!1,content:`Okay, the user is asking about "citypop." Let me start by recalling what I know about that term. I remember that City Pop is a genre of music, but I need to make sure I'm accurate.
2
+
3
+ First, when did City Pop originate? I think it was in Japan during the late 1970s and 1980s. That makes sense because Japan's economy was booming then, leading to a vibrant urban culture. The genre probably blends Western styles like funk, jazz, and disco with Japanese pop elements. Artists like Tatsuro Yamashita and Mariya Takeuchi come to mind. Oh, and there's that song "Plastic Love" by Mariya Takeuchi that went viral online recently, which might have sparked renewed interest.
4
+
5
+ I should also mention the themes of City Pop songs\u2014they often reflect city life, romance, and leisure, fitting the upbeat and cosmopolitan vibe of the time. The visual style associated with it includes retro anime and vibrant cityscapes, which adds to its aesthetic appeal. It's interesting how the internet, especially platforms like YouTube and Spotify, helped revive this genre internationally. Maybe I should note that connection between modern digital culture and the resurgence of City Pop.
6
+
7
+ Wait, are there any subgenres or key characteristics I should highlight? The use of synthesizers, smooth vocals, and lush production are typical. Also, City Pop was influenced by yacht rock and soft rock from the West. It's important to link it to Japan's economic bubble era, as that context explains the music's optimistic and luxurious feel.
8
+
9
+ I need to ensure I don't confuse it with other Japanese genres like J-pop or Enka. City Pop is distinct in its fusion with Western sounds. Including notable albums, like Tatsuro Yamashita's "For You" or Anri's "Timely!!", could be helpful. Oh, and the connection to future funk and vaporwave genres that sample City Pop tracks is a good point for its modern influence.`})]})})};n.default=a}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_agentscope_ai_chat=self.webpackChunk_agentscope_ai_chat||[]).push([[8772],{62458:function(l,a,i){i.r(a);var n=i(16940),t=i(41478),p=i(21739),e=i(27174),s=function(){var d=[{uid:"1",name:"excel-file.xlsx",size:111111},{uid:"2",name:"word-file.docx",size:222222},{uid:"3",name:"image-file.png",size:333333},{uid:"4",name:"pdf-file.pdf",size:444444},{uid:"5",name:"ppt-file.pptx",size:555555},{uid:"6",name:"video-file.mp4",size:666666},{uid:"7",name:"audio-file.mp3",size:777777},{uid:"8",name:"zip-file.zip",size:888888},{uid:"9",name:"markdown-file.md",size:999999,description:"Custom description here"},{uid:"10",name:"image-file.png",thumbUrl:"https://gw.alicdn.com/imgextra/i4/O1CN01sjZ4Uu1erFDOC6IkA_!!6000000003924-2-tps-396-224.png",url:"https://gw.alicdn.com/imgextra/i4/O1CN01sjZ4Uu1erFDOC6IkA_!!6000000003924-2-tps-396-224.png",size:123456}];return(0,e.jsx)(t.Z,{gap:"middle",wrap:!0,children:d.map(function(m,u){return(0,e.jsx)(n.Z.FileCard,{item:m},u)})})};a.default=function(){return(0,e.jsx)(s,{})}}}]);
@@ -0,0 +1,50 @@
1
+ "use strict";(self.webpackChunk_agentscope_ai_chat=self.webpackChunk_agentscope_ai_chat||[]).push([[4319],{12537:function(u,e,t){t.r(e);var c=t(21739),o=t(83401),r=t(32475),i=t(5465),l=t.n(i),n=t(41478),a=t(27174),d=`city pop, short for city pop, is a genre of music that originated in japan during the late 1970s and early 1980s. it blends elements of jazz, folk, easy listening, and aor (adult oriented rock) with a distinctly urban feel. the term "city pop" often evokes images of the sophisticated, stylish, and sometimes nostalgic lifestyle of tokyo and other major japanese cities during this period.
2
+ city pop is characterized by its smooth melodies, mellow rhythms, and often dreamy or introspective lyrics. common themes include city life, summer vibes, nature, and romantic encounters. the music is frequently associated with a particular aesthetic that reflects the fashion, design, and cultural trends of urban japan in the 1980s.
3
+ some notable city pop artists include mariya takeuchi, known for her iconic song " plastic love," and joe hisaishi, a composer famous for his work on studio ghibli films, though he is not strictly considered a city pop artist.
4
+ today, city pop has experienced a resurgence in popularity, particularly among younger generations who appreciate its unique sound and the nostalgic value it holds.`,h=function(){return(0,a.jsx)(n.Z,{gap:16,vertical:!0,children:(0,a.jsx)(o.Z,{cards:[{code:"Text",data:{content:d}},{code:"Footer",data:{left:(0,a.jsx)(r.p4,{data:[{icon:(0,a.jsx)(i.CopyOutlined,{}),onClick:function(){}},{icon:(0,a.jsx)(i.LikeOutlined,{}),onClick:function(){}},{icon:(0,a.jsx)(i.DislikeOutlined,{}),onClick:function(){}},{icon:(0,a.jsx)(i.RedoOutlined,{}),onClick:function(){}}]})}}]})})};e.default=h},79279:function(u,e,t){t.r(e);var c=t(21739),o=t(83401),r=t(32475),i=t(5465),l=t.n(i),n=t(27174),a=`city pop, short for city pop, is a genre of music that originated in japan during the late 1970s and early 1980s. it blends elements of jazz, folk, easy listening, and aor (adult oriented rock) with a distinctly urban feel. the term "city pop" often evokes images of the sophisticated, stylish, and sometimes nostalgic lifestyle of tokyo and other major japanese cities during this period.
5
+ city pop is characterized by its smooth melodies, mellow rhythms, and often dreamy or introspective lyrics. common themes include city life, summer vibes, nature, and romantic encounters. the music is frequently associated with a particular aesthetic that reflects the fashion, design, and cultural trends of urban japan in the 1980s.
6
+ some notable city pop artists include mariya takeuchi, known for her iconic song " plastic love," and joe hisaishi, a composer famous for his work on studio ghibli films, though he is not strictly considered a city pop artist.
7
+ today, city pop has experienced a resurgence in popularity, particularly among younger generations who appreciate its unique sound and the nostalgic value it holds.`,d=function(){return(0,n.jsx)(o.Z,{cards:[{code:"Text",data:{content:a}},{code:"Interrupted",data:{title:"Answers have stopped"}},{code:"Footer",data:{left:(0,n.jsx)(r.p4,{data:[{icon:(0,n.jsx)(i.CopyOutlined,{}),onClick:function(){}},{icon:(0,n.jsx)(i.LikeOutlined,{}),onClick:function(){}},{icon:(0,n.jsx)(i.DislikeOutlined,{}),onClick:function(){}},{icon:(0,n.jsx)(i.RedoOutlined,{}),onClick:function(){}}]})}}]})};e.default=d},70069:function(u,e,t){t.r(e),t.d(e,{default:function(){return l}});var c=t(83401),o=t(41478),r=t(21739),i=t(27174);function l(){return(0,i.jsx)(o.Z,{vertical:!0,children:(0,i.jsx)(c.Z,{placement:"user",cards:[{code:"Text",data:{content:"what is citypop"}},{code:"Files",data:[{filename:"citypop.pdf",bytes:1024},{filename:"citypop.pdf",bytes:2048}]}]})})}},48477:function(u,e,t){t.r(e),t.d(e,{default:function(){return l}});var c=t(83401),o=t(41478),r=t(21739),i=t(27174);function l(){return(0,i.jsxs)(o.Z,{vertical:!0,gap:16,children:[(0,i.jsx)(c.Z,{placement:"user",cards:[{code:"Text",data:{content:"what is citypop"}},{code:"Images",data:[{url:"https://gw.alicdn.com/imgextra/i4/O1CN01sjZ4Uu1erFDOC6IkA_!!6000000003924-2-tps-396-224.png"}]}]}),(0,i.jsx)(c.Z,{placement:"user",content:"what is citypop",cards:[{code:"Images",data:[{url:"https://gw.alicdn.com/imgextra/i4/O1CN01sjZ4Uu1erFDOC6IkA_!!6000000003924-2-tps-396-224.png"},{url:"https://gw.alicdn.com/imgextra/i4/O1CN01sjZ4Uu1erFDOC6IkA_!!6000000003924-2-tps-396-224.png"},{url:"https://gw.alicdn.com/imgextra/i4/O1CN01sjZ4Uu1erFDOC6IkA_!!6000000003924-2-tps-396-224.png"}]}]})]})}},59007:function(u,e,t){t.r(e),t.d(e,{default:function(){return l}});var c=t(83401),o=t(70121),r=t(21739),i=t(27174);function l(){return(0,i.jsxs)(o.Z,{direction:"vertical",children:[(0,i.jsx)(c.Z,{placement:"user",cards:[{code:"Text",data:{content:"what is citypop"}}]}),(0,i.jsx)(c.Z,{placement:"user",cards:[{code:"Text",data:{content:`**city pop**, short for city pop, is a genre of music that originated in japan during the late 1970s and early 1980s. it blends elements of jazz, folk, easy listening, and aor (adult oriented rock) with a distinctly urban feel. the term "city pop" often evokes images of the sophisticated, stylish, and sometimes nostalgic lifestyle of tokyo and other major japanese cities during this period.
8
+ city pop is characterized by its smooth melodies, mellow rhythms, and often dreamy or introspective lyrics. common themes include city life, summer vibes, nature, and romantic encounters. the music is frequently associated with a particular aesthetic that reflects the fashion, design, and cultural trends of urban japan in the 1980s.
9
+ some notable city pop artists include mariya takeuchi, known for her iconic song " plastic love," and joe hisaishi, a composer famous for his work on studio ghibli films, though he is not strictly considered a city pop artist.
10
+ today, city pop has experienced a resurgence in popularity, particularly among younger generations who appreciate its unique sound and the nostalgic value it holds.`}}]}),(0,i.jsx)(c.Z,{placement:"user",cards:[{code:"Text",data:{raw:!0,content:`**city pop**, short for city pop, is a genre of music that originated in japan during the late 1970s and early 1980s. it blends elements of jazz, folk, easy listening, and aor (adult oriented rock) with a distinctly urban feel. the term "city pop" often evokes images of the sophisticated, stylish, and sometimes nostalgic lifestyle of tokyo and other major japanese cities during this period.
11
+ city pop is characterized by its smooth melodies, mellow rhythms, and often dreamy or introspective lyrics. common themes include city life, summer vibes, nature, and romantic encounters. the music is frequently associated with a particular aesthetic that reflects the fashion, design, and cultural trends of urban japan in the 1980s.
12
+ some notable city pop artists include mariya takeuchi, known for her iconic song " plastic love," and joe hisaishi, a composer famous for his work on studio ghibli films, though he is not strictly considered a city pop artist.
13
+ today, city pop has experienced a resurgence in popularity, particularly among younger generations who appreciate its unique sound and the nostalgic value it holds.`}}]})]})}},93268:function(u,e,t){t.r(e);var c=t(21739),o=t(83401),r=t(32475),i=t(5465),l=t.n(i),n=t(41478),a=t(27174),d=`city pop, short for city pop, is a genre of music that originated in japan during the late 1970s and early 1980s. it blends elements of jazz, folk, easy listening, and aor (adult oriented rock) with a distinctly urban feel. the term "city pop" often evokes images of the sophisticated, stylish, and sometimes nostalgic lifestyle of tokyo and other major japanese cities during this period.
14
+ city pop is characterized by its smooth melodies, mellow rhythms, and often dreamy or introspective lyrics. common themes include city life, summer vibes, nature, and romantic encounters. the music is frequently associated with a particular aesthetic that reflects the fashion, design, and cultural trends of urban japan in the 1980s.
15
+ some notable city pop artists include mariya takeuchi, known for her iconic song " plastic love," and joe hisaishi, a composer famous for his work on studio ghibli films, though he is not strictly considered a city pop artist.
16
+ today, city pop has experienced a resurgence in popularity, particularly among younger generations who appreciate its unique sound and the nostalgic value it holds.`,h=function(){return(0,a.jsxs)(n.Z,{gap:16,vertical:!0,children:[(0,a.jsx)(o.Z,{placement:"user",avatar:{src:"https://img.alicdn.com/imgextra/i1/O1CN01wor5IO1TVIRQ4iKbv_!!6000000002387-2-tps-112-112.png"},cards:[{code:"Text",data:{content:"what is citypop"}}]}),(0,a.jsx)(o.Z,{avatar:{src:"https://img.alicdn.com/imgextra/i1/O1CN01wor5IO1TVIRQ4iKbv_!!6000000002387-2-tps-112-112.png"},cards:[{code:"Text",data:{content:d}},{code:"Footer",data:{left:(0,a.jsx)(r.p4,{data:[{icon:(0,a.jsx)(i.CopyOutlined,{}),onClick:function(){}},{icon:(0,a.jsx)(i.LikeOutlined,{}),onClick:function(){}},{icon:(0,a.jsx)(i.DislikeOutlined,{}),onClick:function(){}},{icon:(0,a.jsx)(i.RedoOutlined,{}),onClick:function(){}}]})}}]})]})};e.default=h},31832:function(u,e,t){t.r(e);var c=t(21739),o=t(83401),r=t(32475),i=t(5465),l=t.n(i),n=t(27174),a=`city pop is characterized by its smooth melodies, mellow rhythms, and often dreamy or introspective lyrics. common themes include city life, summer vibes, nature, and romantic encounters. the music is frequently associated with a particular aesthetic that reflects the fashion, design, and cultural trends of urban japan in the 1980s.
17
+ some notable city pop artists include mariya takeuchi, known for her iconic song " plastic love," and joe hisaishi, a composer famous for his work on studio ghibli films, though he is not strictly considered a city pop artist.
18
+ today, city pop has experienced a resurgence in popularity, particularly among younger generations who appreciate its unique sound and the nostalgic value it holds.
19
+ \`\`\`javascript
20
+ function bubbleSort(arr) {
21
+ const n = arr.length;
22
+ for (let i = 0; i < n - 1; i++) {
23
+ for (let j = 0; j < n - i - 1; j++) {
24
+ if (arr[j] > arr[j + 1]) {
25
+ [arr[j], arr[j + 1]] = [arr[j + 1], arr[j]];
26
+ }
27
+ }
28
+ }
29
+ return arr;
30
+ }
31
+ \`\`\`
32
+ city pop, short for city pop, is a genre of music that originated in japan during the late 1970s and early 1980s. it blends elements of jazz, folk, easy listening, and aor (adult oriented rock) with a distinctly urban feel. the term "city pop" often evokes images of the sophisticated, stylish, and sometimes nostalgic lifestyle of tokyo and other major japanese cities during this period.`,d=function(){return(0,n.jsx)(o.Z,{cards:[{code:"Text",data:{content:a}},{code:"Footer",data:{left:(0,n.jsx)(r.p4,{data:[{icon:(0,n.jsx)(i.CopyOutlined,{}),onClick:function(){}},{icon:(0,n.jsx)(i.LikeOutlined,{}),onClick:function(){}},{icon:(0,n.jsx)(i.DislikeOutlined,{}),onClick:function(){}},{icon:(0,n.jsx)(i.RedoOutlined,{}),onClick:function(){}}]})}}]})};e.default=d},2469:function(u,e,t){t.r(e);var c=t(21739),o=t(83401),r=t(32475),i=t(5465),l=t.n(i),n=t(27174),a=`city pop, short for city pop, is a genre of music that originated in japan during the late 1970s and early 1980s. it blends elements of jazz, folk, easy listening, and aor (adult oriented rock) with a distinctly urban feel. the term "city pop" often evokes images of the sophisticated, stylish, and sometimes nostalgic lifestyle of tokyo and other major japanese cities during this period.
33
+ city pop is characterized by its smooth melodies, mellow rhythms, and often dreamy or introspective lyrics. common themes include city life, summer vibes, nature, and romantic encounters. the music is frequently associated with a particular aesthetic that reflects the fashion, design, and cultural trends of urban japan in the 1980s.
34
+ some notable city pop artists include mariya takeuchi, known for her iconic song " plastic love," and joe hisaishi, a composer famous for his work on studio ghibli films, though he is not strictly considered a city pop artist.
35
+ today, city pop has experienced a resurgence in popularity, particularly among younger generations who appreciate its unique sound and the nostalgic value it holds.`,d=function(){return(0,n.jsx)(o.Z,{cards:[{code:"Text",data:{content:a}},{code:"Interrupted",data:{type:"error",title:"Network error"}},{code:"Footer",data:{left:(0,n.jsx)(r.p4,{data:[{icon:(0,n.jsx)(i.CopyOutlined,{}),onClick:function(){}},{icon:(0,n.jsx)(i.LikeOutlined,{}),onClick:function(){}},{icon:(0,n.jsx)(i.DislikeOutlined,{}),onClick:function(){}},{icon:(0,n.jsx)(i.RedoOutlined,{}),onClick:function(){}}]})}}]})};e.default=d},53650:function(u,e,t){t.r(e);var c=t(21739),o=t(83401),r=t(32475),i=t(5465),l=t.n(i),n=t(27174),a=`city pop, short for city pop, is a genre of music that originated in japan during the late 1970s and early 1980s. it blends elements of jazz, folk, easy listening, and aor (adult oriented rock) with a distinctly urban feel. the term "city pop" often evokes images of the sophisticated, stylish, and sometimes nostalgic lifestyle of tokyo and other major japanese cities during this period.
36
+ city pop is characterized by its smooth melodies, mellow rhythms, and often dreamy or introspective lyrics. common themes include city life, summer vibes, nature, and romantic encounters. the music is frequently associated with a particular aesthetic that reflects the fashion, design, and cultural trends of urban japan in the 1980s.
37
+ some notable city pop artists include mariya takeuchi, known for her iconic song " plastic love," and joe hisaishi, a composer famous for his work on studio ghibli films, though he is not strictly considered a city pop artist.
38
+ today, city pop has experienced a resurgence in popularity, particularly among younger generations who appreciate its unique sound and the nostalgic value it holds.`,d=function(){return(0,n.jsx)(o.Z,{cards:[{code:"Text",data:{content:a}},{code:"Interrupted",data:{type:"error",title:"Network error",desc:"This is a description this is a description this is a description this is a description"}},{code:"Footer",data:{left:(0,n.jsx)(r.p4,{data:[{icon:(0,n.jsx)(i.CopyOutlined,{}),onClick:function(){}},{icon:(0,n.jsx)(i.LikeOutlined,{}),onClick:function(){}},{icon:(0,n.jsx)(i.DislikeOutlined,{}),onClick:function(){}},{icon:(0,n.jsx)(i.RedoOutlined,{}),onClick:function(){}}]})}}]})};e.default=d},84072:function(u,e,t){t.r(e);var c=t(21739),o=t(83401),r=t(32475),i=t(5465),l=t.n(i),n=t(27174),a=`city pop is characterized by its smooth melodies, mellow rhythms, and often dreamy or introspective lyrics. common themes include city life, summer vibes, nature, and romantic encounters. the music is frequently associated with a particular aesthetic that reflects the fashion, design, and cultural trends of urban japan in the 1980s.
39
+ some notable city pop artists include mariya takeuchi, known for her iconic song " plastic love," and joe hisaishi, a composer famous for his work on studio ghibli films, though he is not strictly considered a city pop artist.
40
+ today, city pop has experienced a resurgence in popularity, particularly among younger generations who appreciate its unique sound and the nostalgic value it holds.
41
+
42
+ ![](https://gw.alicdn.com/imgextra/i4/O1CN01sjZ4Uu1erFDOC6IkA_!!6000000003924-2-tps-396-224.png)
43
+
44
+ city pop, short for city pop, is a genre of music that originated in japan during the late 1970s and early 1980s. it blends elements of jazz, folk, easy listening, and aor (adult oriented rock) with a distinctly urban feel. the term "city pop" often evokes images of the sophisticated, stylish, and sometimes nostalgic lifestyle of tokyo and other major japanese cities during this period.`,d=function(){return(0,n.jsx)(o.Z,{cards:[{code:"Text",data:{content:a}},{code:"Footer",data:{left:(0,n.jsx)(r.p4,{data:[{icon:(0,n.jsx)(i.CopyOutlined,{}),onClick:function(){}},{icon:(0,n.jsx)(i.LikeOutlined,{}),onClick:function(){}},{icon:(0,n.jsx)(i.DislikeOutlined,{}),onClick:function(){}},{icon:(0,n.jsx)(i.RedoOutlined,{}),onClick:function(){}}]})}}]})};e.default=d},95366:function(u,e,t){t.r(e);var c=t(21739),o=t(83401),r=t(32475),i=t(5465),l=t.n(i),n=t(27174),a=`city pop, short for city pop, is a genre of music that originated in japan during the late 1970s and early 1980s. it blends elements of jazz, folk, easy listening, and aor (adult oriented rock) with a distinctly urban feel. the term "city pop" often evokes images of the sophisticated, stylish, and sometimes nostalgic lifestyle of tokyo and other major japanese cities during this period.
45
+ city pop is characterized by its smooth melodies, mellow rhythms, and often dreamy or introspective lyrics. common themes include city life, summer vibes, nature, and romantic encounters. the music is frequently associated with a particular aesthetic that reflects the fashion, design, and cultural trends of urban japan in the 1980s.
46
+ some notable city pop artists include mariya takeuchi, known for her iconic song " plastic love," and joe hisaishi, a composer famous for his work on studio ghibli films, though he is not strictly considered a city pop artist.
47
+ today, city pop has experienced a resurgence in popularity, particularly among younger generations who appreciate its unique sound and the nostalgic value it holds.`,d=function(){return(0,n.jsx)(o.Z,{cards:[{code:"Text",data:{content:a}},{code:"Footer",data:{left:(0,n.jsx)(r.p4,{data:[{icon:(0,n.jsx)(i.CopyOutlined,{}),onClick:function(){}},{icon:(0,n.jsx)(i.LikeOutlined,{}),onClick:function(){}},{icon:(0,n.jsx)(i.DislikeOutlined,{}),onClick:function(){}},{icon:(0,n.jsx)(i.RedoOutlined,{}),onClick:function(){}}]}),right:(0,n.jsx)(r.hw,{data:[["Words",99],["Input tokens",200],["Output tokens",300]]})}}]})};e.default=d},55281:function(u,e,t){t.r(e);var c=t(21739),o=t(83401),r=t(41478),i=t(68828),l=t(27174),n=`city pop, short for city pop, is a genre of music that originated in japan during the late 1970s and early 1980s. it blends elements of jazz, folk, easy listening, and aor (adult oriented rock) with a distinctly urban feel. the term "city pop" often evokes images of the sophisticated, stylish, and sometimes nostalgic lifestyle of tokyo and other major japanese cities during this period.
48
+ city pop is characterized by its smooth melodies, mellow rhythms, and often dreamy or introspective lyrics. common themes include city life, summer vibes, nature, and romantic encounters. the music is frequently associated with a particular aesthetic that reflects the fashion, design, and cultural trends of urban japan in the 1980s.
49
+ some notable city pop artists include mariya takeuchi, known for her iconic song " plastic love," and joe hisaishi, a composer famous for his work on studio ghibli films, though he is not strictly considered a city pop artist.
50
+ today, city pop has experienced a resurgence in popularity, particularly among younger generations who appreciate its unique sound and the nostalgic value it holds.`,a=function(){var h=(0,i.Z)(n,!0);return(0,l.jsxs)(r.Z,{gap:16,vertical:!0,children:[(0,l.jsx)(o.Z,{msgStatus:"generating"}),(0,l.jsx)(o.Z,{msgStatus:"generating",cards:[{code:"Text",data:{content:h[0],msgStatus:"generating"}}]})]})};e.default=a}}]);
@@ -0,0 +1,15 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
6
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
7
+ <link rel="shortcut icon" href="https://g.alicdn.com/liveme-console/agentscope-portal/0.0.3/assets/agentscope%20logo-af290c80.svg">
8
+ <link rel="stylesheet" href="/umi.css">
9
+ <script src="/preload_helper.js" crossorigin="anonymous"></script>
10
+ </head>
11
+ <body>
12
+ <div id="root"></div>
13
+ <script src="/umi.js" crossorigin="anonymous"></script>
14
+ </body>
15
+ </html>
@@ -0,0 +1,15 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
6
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
7
+ <link rel="shortcut icon" href="https://g.alicdn.com/liveme-console/agentscope-portal/0.0.3/assets/agentscope%20logo-af290c80.svg">
8
+ <link rel="stylesheet" href="/umi.css">
9
+ <script src="/preload_helper.js" crossorigin="anonymous"></script>
10
+ </head>
11
+ <body>
12
+ <div id="root"></div>
13
+ <script src="/umi.js" crossorigin="anonymous"></script>
14
+ </body>
15
+ </html>
@@ -0,0 +1,15 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
6
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
7
+ <link rel="shortcut icon" href="https://g.alicdn.com/liveme-console/agentscope-portal/0.0.3/assets/agentscope%20logo-af290c80.svg">
8
+ <link rel="stylesheet" href="/umi.css">
9
+ <script src="/preload_helper.js" crossorigin="anonymous"></script>
10
+ </head>
11
+ <body>
12
+ <div id="root"></div>
13
+ <script src="/umi.js" crossorigin="anonymous"></script>
14
+ </body>
15
+ </html>
@@ -0,0 +1,15 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
6
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
7
+ <link rel="shortcut icon" href="https://g.alicdn.com/liveme-console/agentscope-portal/0.0.3/assets/agentscope%20logo-af290c80.svg">
8
+ <link rel="stylesheet" href="/umi.css">
9
+ <script src="/preload_helper.js" crossorigin="anonymous"></script>
10
+ </head>
11
+ <body>
12
+ <div id="root"></div>
13
+ <script src="/umi.js" crossorigin="anonymous"></script>
14
+ </body>
15
+ </html>
@@ -0,0 +1,15 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
6
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
7
+ <link rel="shortcut icon" href="https://g.alicdn.com/liveme-console/agentscope-portal/0.0.3/assets/agentscope%20logo-af290c80.svg">
8
+ <link rel="stylesheet" href="/umi.css">
9
+ <script src="/preload_helper.js" crossorigin="anonymous"></script>
10
+ </head>
11
+ <body>
12
+ <div id="root"></div>
13
+ <script src="/umi.js" crossorigin="anonymous"></script>
14
+ </body>
15
+ </html>
@@ -0,0 +1,15 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8">
5
+ <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
6
+ <meta http-equiv="X-UA-Compatible" content="ie=edge">
7
+ <link rel="shortcut icon" href="https://g.alicdn.com/liveme-console/agentscope-portal/0.0.3/assets/agentscope%20logo-af290c80.svg">
8
+ <link rel="stylesheet" href="/umi.css">
9
+ <script src="/preload_helper.js" crossorigin="anonymous"></script>
10
+ </head>
11
+ <body>
12
+ <div id="root"></div>
13
+ <script src="/umi.js" crossorigin="anonymous"></script>
14
+ </body>
15
+ </html>