@glodon-aiot/agent-cli-ui 3.2.2-beta.2 → 3.2.2-beta.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 (403) hide show
  1. package/dist/es/AgentClientUI.mjs +3 -4
  2. package/dist/es/Dialog/AgentChat/index.mjs +229 -226
  3. package/dist/es/Dialog/ConnectToNetwork/index.mjs +2 -3
  4. package/dist/es/Dialog/FileCard/index.mjs +2 -3
  5. package/dist/es/Dialog/FilePreview/index.mjs +2 -3
  6. package/dist/es/Dialog/Greeting/index.mjs +2 -3
  7. package/dist/es/Dialog/HistoryContent/index.mjs +2 -3
  8. package/dist/es/Dialog/HistoryItem/index.mjs +29 -30
  9. package/dist/es/Dialog/KnowledgeDoc/index.mjs +2 -3
  10. package/dist/es/Dialog/KnowledgeList/KnowledgeSelect/index.mjs +2 -3
  11. package/dist/es/Dialog/KnowledgeList/index.mjs +21 -22
  12. package/dist/es/Dialog/PromptManager/PromptList/PromptListItem.mjs +1 -1
  13. package/dist/es/Dialog/PromptManager/PromptList/PublicPromptList.mjs +2 -3
  14. package/dist/es/Dialog/PromptManager/index.mjs +2 -3
  15. package/dist/es/Dialog/PromptSetting/index.mjs +2 -3
  16. package/dist/es/Dialog/Recommend/RecommendItem.mjs +3 -4
  17. package/dist/es/Dialog/Recommend/index.mjs +2 -3
  18. package/dist/es/Dialog/ReferCollapse/index.mjs +2 -3
  19. package/dist/es/Dialog/SearchReference/index.mjs +92 -55
  20. package/dist/es/Dialog/SessionAction/index.mjs +4 -5
  21. package/dist/es/Dialog/SessionList/index.mjs +3 -4
  22. package/dist/es/Dialog/SessionListDrawer/HistorySessionList/NameEditPanel.mjs +2 -3
  23. package/dist/es/Dialog/SessionListDrawer/HistorySessionList/SessionItem.mjs +2 -3
  24. package/dist/es/Dialog/SessionListDrawer/HistorySessionList/index.mjs +2 -3
  25. package/dist/es/Dialog/SessionListDrawer/index.mjs +2 -3
  26. package/dist/es/Dialog/SessionRefer/ReferItem/index.mjs +2 -3
  27. package/dist/es/Dialog/SessionRefer/index.mjs +2 -3
  28. package/dist/es/Dialog/SessionRelated/index.mjs +2 -3
  29. package/dist/es/Dialog/UploadKnowledgeFiles/ClearModal/index.mjs +2 -3
  30. package/dist/es/Dialog/UploadKnowledgeFiles/index.mjs +2 -3
  31. package/dist/es/Dialog/UploadingPrompt/index.mjs +2 -3
  32. package/dist/es/Dialog/index.mjs +57 -58
  33. package/dist/es/FileItem/index.mjs +2 -3
  34. package/dist/es/Footer/FooterWarning.mjs +2 -3
  35. package/dist/es/Footer/index.mjs +2 -3
  36. package/dist/es/Iconfont/index.mjs +2 -2
  37. package/dist/es/InputProgress/index.mjs +2 -3
  38. package/dist/es/QuillEditor/index.mjs +4 -5
  39. package/dist/es/components/Copy/index.mjs +2 -3
  40. package/dist/es/components/JsonDisplay/index.mjs +2 -3
  41. package/dist/es/components/Markdown/ATag/index.mjs +1 -1
  42. package/dist/es/components/Markdown/Code/index.mjs +1 -1
  43. package/dist/es/components/Markdown/Image/index.mjs +20 -21
  44. package/dist/es/components/Markdown/Video/index.mjs +1 -1
  45. package/dist/es/components/Markdown/index.mjs +16 -17
  46. package/dist/es/components/WebLink/index.mjs +1 -1
  47. package/dist/es/constant.mjs +8 -2
  48. package/dist/es/index.mjs +60 -65
  49. package/dist/es/src/style.css +1 -0
  50. package/dist/es/src/style10.css +1 -0
  51. package/dist/es/src/style11.css +1 -0
  52. package/dist/es/src/style12.css +1 -0
  53. package/dist/es/src/style13.css +1 -0
  54. package/dist/es/src/style14.css +1 -0
  55. package/dist/es/src/style15.css +1 -0
  56. package/dist/es/src/style16.css +1 -0
  57. package/dist/es/src/style17.css +1 -0
  58. package/dist/es/src/style18.css +1 -0
  59. package/dist/es/src/style19.css +1 -0
  60. package/dist/es/src/style2.css +1 -0
  61. package/dist/es/src/style20.css +1 -0
  62. package/dist/es/src/style21.css +0 -0
  63. package/dist/es/src/style22.css +1 -0
  64. package/dist/es/src/style23.css +1 -0
  65. package/dist/es/src/style24.css +1 -0
  66. package/dist/es/src/style25.css +1 -0
  67. package/dist/es/src/style26.css +1 -0
  68. package/dist/es/src/style27.css +1 -0
  69. package/dist/es/src/style28.css +1 -0
  70. package/dist/es/src/style29.css +1 -0
  71. package/dist/es/src/style3.css +1 -0
  72. package/dist/es/src/style30.css +1 -0
  73. package/dist/es/src/style31.css +1 -0
  74. package/dist/es/src/style32.css +1 -0
  75. package/dist/es/src/style33.css +1 -0
  76. package/dist/es/src/style4.css +1 -0
  77. package/dist/es/src/style5.css +1 -0
  78. package/dist/es/src/style6.css +1 -0
  79. package/dist/es/src/style7.css +1 -0
  80. package/dist/es/src/style8.css +1 -0
  81. package/dist/es/src/style9.css +1 -0
  82. package/dist/lib/index.css +1 -0
  83. package/dist/lib/index.js +5 -311
  84. package/dist/src/Dialog/SearchReference/index.d.ts +7 -4
  85. package/dist/src/Iconfont/font_4108228_z72fskklg2.d.ts +0 -0
  86. package/dist/src/Iconfont/index.d.ts +0 -1
  87. package/dist/src/components/Markdown/ATag/index.d.ts +0 -1
  88. package/dist/src/components/Markdown/Code/index.d.ts +0 -1
  89. package/dist/src/components/Markdown/Image/index.d.ts +0 -1
  90. package/dist/src/components/Markdown/Video/index.d.ts +0 -1
  91. package/dist/src/types.d.ts +11 -2
  92. package/package.json +19 -6
  93. package/dist/es/Dialog/AgentChat/style.less.mjs +0 -4
  94. package/dist/es/Dialog/ConnectToNetwork/style.less.mjs +0 -4
  95. package/dist/es/Dialog/FileCard/style.less.mjs +0 -4
  96. package/dist/es/Dialog/FilePreview/style.less.mjs +0 -4
  97. package/dist/es/Dialog/Greeting/style.less.mjs +0 -4
  98. package/dist/es/Dialog/HistoryContent/style.less.mjs +0 -4
  99. package/dist/es/Dialog/HistoryItem/style.less.mjs +0 -4
  100. package/dist/es/Dialog/KnowledgeDoc/style.less.mjs +0 -4
  101. package/dist/es/Dialog/KnowledgeList/KnowledgeSelect/style.less.mjs +0 -4
  102. package/dist/es/Dialog/KnowledgeList/style.less.mjs +0 -4
  103. package/dist/es/Dialog/PromptManager/PromptList/style.less.mjs +0 -4
  104. package/dist/es/Dialog/PromptManager/style.less.mjs +0 -4
  105. package/dist/es/Dialog/PromptSetting/style.less.mjs +0 -4
  106. package/dist/es/Dialog/Recommend/style.less.mjs +0 -4
  107. package/dist/es/Dialog/ReferCollapse/style.less.mjs +0 -4
  108. package/dist/es/Dialog/SearchReference/style.less.mjs +0 -4
  109. package/dist/es/Dialog/SessionAction/style.less.mjs +0 -4
  110. package/dist/es/Dialog/SessionList/style.less.mjs +0 -4
  111. package/dist/es/Dialog/SessionListDrawer/HistorySessionList/style.less.mjs +0 -4
  112. package/dist/es/Dialog/SessionListDrawer/style.less.mjs +0 -4
  113. package/dist/es/Dialog/SessionRefer/ReferItem/style.less.mjs +0 -4
  114. package/dist/es/Dialog/SessionRefer/style.less.mjs +0 -4
  115. package/dist/es/Dialog/SessionRelated/style.less.mjs +0 -4
  116. package/dist/es/Dialog/UploadKnowledgeFiles/ClearModal/style.less.mjs +0 -4
  117. package/dist/es/Dialog/UploadKnowledgeFiles/style.less.mjs +0 -4
  118. package/dist/es/Dialog/UploadingPrompt/style.less.mjs +0 -4
  119. package/dist/es/Dialog/style.less.mjs +0 -4
  120. package/dist/es/FileItem/style.less.mjs +0 -4
  121. package/dist/es/Footer/style.less.mjs +0 -4
  122. package/dist/es/InputProgress/style.less.mjs +0 -4
  123. package/dist/es/QuillEditor/style.less.mjs +0 -4
  124. package/dist/es/_virtual/_cloneBuffer.mjs +0 -4
  125. package/dist/es/_virtual/_commonjsHelpers.mjs +0 -8
  126. package/dist/es/_virtual/_nodeUtil.mjs +0 -4
  127. package/dist/es/_virtual/index.mjs +0 -4
  128. package/dist/es/_virtual/isBuffer.mjs +0 -4
  129. package/dist/es/_virtual/jsx-runtime.mjs +0 -7
  130. package/dist/es/_virtual/jsx-runtime2.mjs +0 -4
  131. package/dist/es/_virtual/lib.mjs +0 -4
  132. package/dist/es/_virtual/react-jsx-runtime.production.min.mjs +0 -4
  133. package/dist/es/_virtual/ua-parser.min.mjs +0 -4
  134. package/dist/es/components/Copy/style.less.mjs +0 -4
  135. package/dist/es/components/JsonDisplay/style.less.mjs +0 -4
  136. package/dist/es/components/Markdown/style.less.mjs +0 -4
  137. package/dist/es/favicon.ico +0 -0
  138. package/dist/es/favicon2.ico +0 -0
  139. package/dist/es/font/font_4108228_4w5nlhafpte.js +0 -1
  140. package/dist/es/font/font_4439177_0sppkcnqiqgs.js +0 -1
  141. package/dist/es/font/gos-font.js +0 -64
  142. package/dist/es/images/empty.svg +0 -40
  143. package/dist/es/images/loading.gif +0 -0
  144. package/dist/es/images/logo.png +0 -0
  145. package/dist/es/images/map-example.png +0 -0
  146. package/dist/es/images/sketch.png +0 -0
  147. package/dist/es/index.html +0 -43
  148. package/dist/es/logo192.png +0 -0
  149. package/dist/es/logo512.png +0 -0
  150. package/dist/es/manifest.json +0 -25
  151. package/dist/es/node_modules/@babel/runtime/helpers/esm/extends.mjs +0 -13
  152. package/dist/es/node_modules/@react-spring/animated/dist/react-spring-animated.esm.mjs +0 -201
  153. package/dist/es/node_modules/@react-spring/core/dist/react-spring-core.esm.mjs +0 -1087
  154. package/dist/es/node_modules/@react-spring/rafz/dist/react-spring-rafz.esm.mjs +0 -104
  155. package/dist/es/node_modules/@react-spring/shared/dist/react-spring-shared.esm.mjs +0 -568
  156. package/dist/es/node_modules/@react-spring/web/dist/react-spring-web.esm.mjs +0 -158
  157. package/dist/es/node_modules/@use-gesture/core/dist/actions-fe213e88.esm.mjs +0 -847
  158. package/dist/es/node_modules/@use-gesture/core/dist/maths-0ab39ae9.esm.mjs +0 -35
  159. package/dist/es/node_modules/@use-gesture/core/dist/use-gesture-core.esm.mjs +0 -226
  160. package/dist/es/node_modules/@use-gesture/react/dist/use-gesture-react.esm.mjs +0 -33
  161. package/dist/es/node_modules/ahooks/es/useKeyPress/index.mjs +0 -221
  162. package/dist/es/node_modules/ahooks/es/useLatest/index.mjs +0 -8
  163. package/dist/es/node_modules/ahooks/es/useMemoizedFn/index.mjs +0 -19
  164. package/dist/es/node_modules/ahooks/es/useRafState/index.mjs +0 -16
  165. package/dist/es/node_modules/ahooks/es/useSize/index.mjs +0 -34
  166. package/dist/es/node_modules/ahooks/es/useUnmount/index.mjs +0 -17
  167. package/dist/es/node_modules/ahooks/es/useUnmountedRef/index.mjs +0 -13
  168. package/dist/es/node_modules/ahooks/es/utils/createEffectWithTarget.mjs +0 -27
  169. package/dist/es/node_modules/ahooks/es/utils/depsAreSame.mjs +0 -11
  170. package/dist/es/node_modules/ahooks/es/utils/depsEqual.mjs +0 -7
  171. package/dist/es/node_modules/ahooks/es/utils/domTarget.mjs +0 -13
  172. package/dist/es/node_modules/ahooks/es/utils/index.mjs +0 -12
  173. package/dist/es/node_modules/ahooks/es/utils/isAppleDevice.mjs +0 -5
  174. package/dist/es/node_modules/ahooks/es/utils/isBrowser.mjs +0 -5
  175. package/dist/es/node_modules/ahooks/es/utils/isDev.mjs +0 -5
  176. package/dist/es/node_modules/ahooks/es/utils/useDeepCompareWithTarget.mjs +0 -11
  177. package/dist/es/node_modules/ahooks/es/utils/useEffectWithTarget.mjs +0 -7
  178. package/dist/es/node_modules/ahooks/es/utils/useIsomorphicLayoutEffectWithTarget.mjs +0 -8
  179. package/dist/es/node_modules/ahooks/es/utils/useLayoutEffectWithTarget.mjs +0 -7
  180. package/dist/es/node_modules/antd/es/calendar/locale/zh_CN.mjs +0 -4
  181. package/dist/es/node_modules/antd/es/date-picker/locale/zh_CN.mjs +0 -23
  182. package/dist/es/node_modules/antd/es/locale/zh_CN.mjs +0 -132
  183. package/dist/es/node_modules/antd/es/time-picker/locale/zh_CN.mjs +0 -8
  184. package/dist/es/node_modules/antd-mobile/es/components/config-provider/config-provider.mjs +0 -20
  185. package/dist/es/node_modules/antd-mobile/es/components/image-viewer/image-viewer.css.mjs +0 -4
  186. package/dist/es/node_modules/antd-mobile/es/components/image-viewer/image-viewer.mjs +0 -76
  187. package/dist/es/node_modules/antd-mobile/es/components/image-viewer/index.mjs +0 -14
  188. package/dist/es/node_modules/antd-mobile/es/components/image-viewer/methods.mjs +0 -34
  189. package/dist/es/node_modules/antd-mobile/es/components/image-viewer/slide.mjs +0 -172
  190. package/dist/es/node_modules/antd-mobile/es/components/image-viewer/slides.mjs +0 -81
  191. package/dist/es/node_modules/antd-mobile/es/components/mask/index.mjs +0 -5
  192. package/dist/es/node_modules/antd-mobile/es/components/mask/mask.css.mjs +0 -4
  193. package/dist/es/node_modules/antd-mobile/es/components/mask/mask.mjs +0 -84
  194. package/dist/es/node_modules/antd-mobile/es/components/safe-area/index.mjs +0 -5
  195. package/dist/es/node_modules/antd-mobile/es/components/safe-area/safe-area.css.mjs +0 -4
  196. package/dist/es/node_modules/antd-mobile/es/components/safe-area/safe-area.mjs +0 -9
  197. package/dist/es/node_modules/antd-mobile/es/global/global.css.mjs +0 -4
  198. package/dist/es/node_modules/antd-mobile/es/global/index.mjs +0 -4
  199. package/dist/es/node_modules/antd-mobile/es/locales/zh-CN.mjs +0 -141
  200. package/dist/es/node_modules/antd-mobile/es/utils/attach-properties-to-component.mjs +0 -9
  201. package/dist/es/node_modules/antd-mobile/es/utils/bound.mjs +0 -7
  202. package/dist/es/node_modules/antd-mobile/es/utils/can-use-dom.mjs +0 -4
  203. package/dist/es/node_modules/antd-mobile/es/utils/convert-px.mjs +0 -9
  204. package/dist/es/node_modules/antd-mobile/es/utils/get-container.mjs +0 -6
  205. package/dist/es/node_modules/antd-mobile/es/utils/get-scroll-parent.mjs +0 -22
  206. package/dist/es/node_modules/antd-mobile/es/utils/matrix.mjs +0 -11
  207. package/dist/es/node_modules/antd-mobile/es/utils/native-props.mjs +0 -12
  208. package/dist/es/node_modules/antd-mobile/es/utils/render-imperatively.mjs +0 -46
  209. package/dist/es/node_modules/antd-mobile/es/utils/render-to-body.mjs +0 -12
  210. package/dist/es/node_modules/antd-mobile/es/utils/render-to-container.mjs +0 -13
  211. package/dist/es/node_modules/antd-mobile/es/utils/render.mjs +0 -52
  212. package/dist/es/node_modules/antd-mobile/es/utils/rubberband.mjs +0 -11
  213. package/dist/es/node_modules/antd-mobile/es/utils/should-render.mjs +0 -10
  214. package/dist/es/node_modules/antd-mobile/es/utils/supports-passive.mjs +0 -15
  215. package/dist/es/node_modules/antd-mobile/es/utils/use-drag-and-pinch.mjs +0 -6
  216. package/dist/es/node_modules/antd-mobile/es/utils/use-initialized.mjs +0 -8
  217. package/dist/es/node_modules/antd-mobile/es/utils/use-lock-scroll.mjs +0 -54
  218. package/dist/es/node_modules/antd-mobile/es/utils/use-touch.mjs +0 -32
  219. package/dist/es/node_modules/antd-mobile/es/utils/with-default-props.mjs +0 -11
  220. package/dist/es/node_modules/antd-mobile/es/utils/with-stop-propagation.mjs +0 -19
  221. package/dist/es/node_modules/classnames/index.mjs +0 -42
  222. package/dist/es/node_modules/comma-separated-tokens/index.mjs +0 -13
  223. package/dist/es/node_modules/copy-to-clipboard/index.mjs +0 -46
  224. package/dist/es/node_modules/devlop/lib/default.mjs +0 -5
  225. package/dist/es/node_modules/hast-util-from-dom/lib/index.mjs +0 -93
  226. package/dist/es/node_modules/hast-util-from-dom/node_modules/hastscript/lib/create-h.mjs +0 -126
  227. package/dist/es/node_modules/hast-util-from-dom/node_modules/hastscript/lib/index.mjs +0 -8
  228. package/dist/es/node_modules/hast-util-from-dom/node_modules/hastscript/lib/svg-case-sensitive-tag-names.mjs +0 -4
  229. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/index.mjs +0 -12
  230. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/aria.mjs +0 -61
  231. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/find.mjs +0 -33
  232. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/html.mjs +0 -368
  233. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/normalize.mjs +0 -6
  234. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/svg.mjs +0 -566
  235. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/util/case-insensitive-transform.mjs +0 -7
  236. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/util/case-sensitive-transform.mjs +0 -6
  237. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/util/create.mjs +0 -14
  238. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/util/defined-info.mjs +0 -36
  239. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/util/info.mjs +0 -28
  240. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/util/merge.mjs +0 -10
  241. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/util/schema.mjs +0 -21
  242. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/util/types.mjs +0 -15
  243. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/xlink.mjs +0 -19
  244. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/xml.mjs +0 -15
  245. package/dist/es/node_modules/hast-util-from-dom/node_modules/property-information/lib/xmlns.mjs +0 -16
  246. package/dist/es/node_modules/hast-util-from-html-isomorphic/lib/browser.mjs +0 -16
  247. package/dist/es/node_modules/hast-util-is-element/lib/index.mjs +0 -61
  248. package/dist/es/node_modules/hast-util-parse-selector/lib/index.mjs +0 -20
  249. package/dist/es/node_modules/hast-util-to-text/lib/index.mjs +0 -223
  250. package/dist/es/node_modules/katex/dist/katex.min.css.mjs +0 -4
  251. package/dist/es/node_modules/katex/dist/katex.mjs +0 -11700
  252. package/dist/es/node_modules/lodash/_Hash.mjs +0 -22
  253. package/dist/es/node_modules/lodash/_ListCache.mjs +0 -22
  254. package/dist/es/node_modules/lodash/_Map.mjs +0 -6
  255. package/dist/es/node_modules/lodash/_MapCache.mjs +0 -22
  256. package/dist/es/node_modules/lodash/_Stack.mjs +0 -20
  257. package/dist/es/node_modules/lodash/_Symbol.mjs +0 -5
  258. package/dist/es/node_modules/lodash/_Uint8Array.mjs +0 -5
  259. package/dist/es/node_modules/lodash/_apply.mjs +0 -17
  260. package/dist/es/node_modules/lodash/_arrayLikeKeys.mjs +0 -21
  261. package/dist/es/node_modules/lodash/_assignMergeValue.mjs +0 -10
  262. package/dist/es/node_modules/lodash/_assignValue.mjs +0 -11
  263. package/dist/es/node_modules/lodash/_assocIndexOf.mjs +0 -12
  264. package/dist/es/node_modules/lodash/_baseAssignValue.mjs +0 -14
  265. package/dist/es/node_modules/lodash/_baseCreate.mjs +0 -17
  266. package/dist/es/node_modules/lodash/_baseFor.mjs +0 -5
  267. package/dist/es/node_modules/lodash/_baseGetTag.mjs +0 -11
  268. package/dist/es/node_modules/lodash/_baseIsArguments.mjs +0 -10
  269. package/dist/es/node_modules/lodash/_baseIsNative.mjs +0 -15
  270. package/dist/es/node_modules/lodash/_baseIsTypedArray.mjs +0 -13
  271. package/dist/es/node_modules/lodash/_baseKeysIn.mjs +0 -16
  272. package/dist/es/node_modules/lodash/_baseMerge.mjs +0 -22
  273. package/dist/es/node_modules/lodash/_baseMergeDeep.mjs +0 -33
  274. package/dist/es/node_modules/lodash/_baseRest.mjs +0 -11
  275. package/dist/es/node_modules/lodash/_baseSetToString.mjs +0 -14
  276. package/dist/es/node_modules/lodash/_baseTimes.mjs +0 -9
  277. package/dist/es/node_modules/lodash/_baseTrim.mjs +0 -9
  278. package/dist/es/node_modules/lodash/_baseUnary.mjs +0 -9
  279. package/dist/es/node_modules/lodash/_cloneArrayBuffer.mjs +0 -10
  280. package/dist/es/node_modules/lodash/_cloneBuffer.mjs +0 -17
  281. package/dist/es/node_modules/lodash/_cloneTypedArray.mjs +0 -10
  282. package/dist/es/node_modules/lodash/_copyArray.mjs +0 -10
  283. package/dist/es/node_modules/lodash/_copyObject.mjs +0 -16
  284. package/dist/es/node_modules/lodash/_coreJsData.mjs +0 -5
  285. package/dist/es/node_modules/lodash/_createAssigner.mjs +0 -17
  286. package/dist/es/node_modules/lodash/_createBaseFor.mjs +0 -14
  287. package/dist/es/node_modules/lodash/_defineProperty.mjs +0 -11
  288. package/dist/es/node_modules/lodash/_freeGlobal.mjs +0 -5
  289. package/dist/es/node_modules/lodash/_getMapData.mjs +0 -10
  290. package/dist/es/node_modules/lodash/_getNative.mjs +0 -11
  291. package/dist/es/node_modules/lodash/_getPrototype.mjs +0 -5
  292. package/dist/es/node_modules/lodash/_getRawTag.mjs +0 -16
  293. package/dist/es/node_modules/lodash/_getValue.mjs +0 -7
  294. package/dist/es/node_modules/lodash/_hashClear.mjs +0 -9
  295. package/dist/es/node_modules/lodash/_hashDelete.mjs +0 -8
  296. package/dist/es/node_modules/lodash/_hashGet.mjs +0 -14
  297. package/dist/es/node_modules/lodash/_hashHas.mjs +0 -10
  298. package/dist/es/node_modules/lodash/_hashSet.mjs +0 -10
  299. package/dist/es/node_modules/lodash/_initCloneObject.mjs +0 -11
  300. package/dist/es/node_modules/lodash/_isIndex.mjs +0 -9
  301. package/dist/es/node_modules/lodash/_isIterateeCall.mjs +0 -15
  302. package/dist/es/node_modules/lodash/_isKeyable.mjs +0 -8
  303. package/dist/es/node_modules/lodash/_isMasked.mjs +0 -12
  304. package/dist/es/node_modules/lodash/_isPrototype.mjs +0 -9
  305. package/dist/es/node_modules/lodash/_listCacheClear.mjs +0 -7
  306. package/dist/es/node_modules/lodash/_listCacheDelete.mjs +0 -13
  307. package/dist/es/node_modules/lodash/_listCacheGet.mjs +0 -10
  308. package/dist/es/node_modules/lodash/_listCacheHas.mjs +0 -9
  309. package/dist/es/node_modules/lodash/_listCacheSet.mjs +0 -10
  310. package/dist/es/node_modules/lodash/_mapCacheClear.mjs +0 -15
  311. package/dist/es/node_modules/lodash/_mapCacheDelete.mjs +0 -10
  312. package/dist/es/node_modules/lodash/_mapCacheGet.mjs +0 -9
  313. package/dist/es/node_modules/lodash/_mapCacheHas.mjs +0 -9
  314. package/dist/es/node_modules/lodash/_mapCacheSet.mjs +0 -10
  315. package/dist/es/node_modules/lodash/_nativeCreate.mjs +0 -5
  316. package/dist/es/node_modules/lodash/_nativeKeysIn.mjs +0 -11
  317. package/dist/es/node_modules/lodash/_nodeUtil.mjs +0 -17
  318. package/dist/es/node_modules/lodash/_objectToString.mjs +0 -8
  319. package/dist/es/node_modules/lodash/_overArg.mjs +0 -9
  320. package/dist/es/node_modules/lodash/_overRest.mjs +0 -16
  321. package/dist/es/node_modules/lodash/_root.mjs +0 -5
  322. package/dist/es/node_modules/lodash/_safeGet.mjs +0 -8
  323. package/dist/es/node_modules/lodash/_setToString.mjs +0 -6
  324. package/dist/es/node_modules/lodash/_shortOut.mjs +0 -17
  325. package/dist/es/node_modules/lodash/_stackClear.mjs +0 -9
  326. package/dist/es/node_modules/lodash/_stackDelete.mjs +0 -8
  327. package/dist/es/node_modules/lodash/_stackGet.mjs +0 -7
  328. package/dist/es/node_modules/lodash/_stackHas.mjs +0 -7
  329. package/dist/es/node_modules/lodash/_stackSet.mjs +0 -18
  330. package/dist/es/node_modules/lodash/_toSource.mjs +0 -18
  331. package/dist/es/node_modules/lodash/_trimmedEndIndex.mjs +0 -10
  332. package/dist/es/node_modules/lodash/constant.mjs +0 -9
  333. package/dist/es/node_modules/lodash/debounce.mjs +0 -57
  334. package/dist/es/node_modules/lodash/eq.mjs +0 -7
  335. package/dist/es/node_modules/lodash/identity.mjs +0 -7
  336. package/dist/es/node_modules/lodash/isArguments.mjs +0 -10
  337. package/dist/es/node_modules/lodash/isArray.mjs +0 -4
  338. package/dist/es/node_modules/lodash/isArrayLike.mjs +0 -10
  339. package/dist/es/node_modules/lodash/isArrayLikeObject.mjs +0 -10
  340. package/dist/es/node_modules/lodash/isBuffer.mjs +0 -12
  341. package/dist/es/node_modules/lodash/isFunction.mjs +0 -13
  342. package/dist/es/node_modules/lodash/isLength.mjs +0 -8
  343. package/dist/es/node_modules/lodash/isObject.mjs +0 -8
  344. package/dist/es/node_modules/lodash/isObjectLike.mjs +0 -7
  345. package/dist/es/node_modules/lodash/isPlainObject.mjs +0 -17
  346. package/dist/es/node_modules/lodash/isSymbol.mjs +0 -10
  347. package/dist/es/node_modules/lodash/isTypedArray.mjs +0 -7
  348. package/dist/es/node_modules/lodash/keysIn.mjs +0 -11
  349. package/dist/es/node_modules/lodash/merge.mjs +0 -10
  350. package/dist/es/node_modules/lodash/now.mjs +0 -7
  351. package/dist/es/node_modules/lodash/stubFalse.mjs +0 -7
  352. package/dist/es/node_modules/lodash/toNumber.mjs +0 -23
  353. package/dist/es/node_modules/lodash/toPlainObject.mjs +0 -10
  354. package/dist/es/node_modules/longest-streak/index.mjs +0 -12
  355. package/dist/es/node_modules/mdast-util-math/lib/index.mjs +0 -170
  356. package/dist/es/node_modules/micromark-extension-math/lib/math-flow.mjs +0 -76
  357. package/dist/es/node_modules/micromark-extension-math/lib/math-text.mjs +0 -48
  358. package/dist/es/node_modules/micromark-extension-math/lib/syntax.mjs +0 -15
  359. package/dist/es/node_modules/micromark-factory-space/index.mjs +0 -15
  360. package/dist/es/node_modules/micromark-util-character/index.mjs +0 -10
  361. package/dist/es/node_modules/object-assign/index.mjs +0 -34
  362. package/dist/es/node_modules/rc-pagination/es/locale/zh_CN.mjs +0 -18
  363. package/dist/es/node_modules/rc-picker/es/locale/zh_CN.mjs +0 -31
  364. package/dist/es/node_modules/react/cjs/react-jsx-runtime.production.min.mjs +0 -45
  365. package/dist/es/node_modules/react/jsx-runtime.mjs +0 -8
  366. package/dist/es/node_modules/react-device-detect/dist/lib.mjs +0 -723
  367. package/dist/es/node_modules/react-fast-compare/index.mjs +0 -78
  368. package/dist/es/node_modules/react-infinite-scroll-component/dist/index.es.mjs +0 -188
  369. package/dist/es/node_modules/react-quill/dist/quill.snow.css.mjs +0 -4
  370. package/dist/es/node_modules/rehype-katex/lib/index.mjs +0 -83
  371. package/dist/es/node_modules/remark-math/lib/index.mjs +0 -13
  372. package/dist/es/node_modules/resize-observer-polyfill/dist/ResizeObserver.es.mjs +0 -294
  373. package/dist/es/node_modules/space-separated-tokens/index.mjs +0 -7
  374. package/dist/es/node_modules/toggle-selection/index.mjs +0 -25
  375. package/dist/es/node_modules/tslib/tslib.es6.mjs +0 -64
  376. package/dist/es/node_modules/ua-parser-js/dist/ua-parser.min.mjs +0 -120
  377. package/dist/es/node_modules/unist-util-find-after/lib/index.mjs +0 -32
  378. package/dist/es/node_modules/unist-util-is/lib/index.mjs +0 -81
  379. package/dist/es/node_modules/unist-util-visit-parents/lib/color.mjs +0 -6
  380. package/dist/es/node_modules/unist-util-visit-parents/lib/index.mjs +0 -56
  381. package/dist/es/node_modules/web-namespaces/index.mjs +0 -11
  382. package/dist/es/packages/agent-cli-ui/node_modules/uuid/dist/esm-browser/native.mjs +0 -4
  383. package/dist/es/packages/agent-cli-ui/node_modules/uuid/dist/esm-browser/rng.mjs +0 -13
  384. package/dist/es/packages/agent-cli-ui/node_modules/uuid/dist/esm-browser/stringify.mjs +0 -9
  385. package/dist/es/packages/agent-cli-ui/node_modules/uuid/dist/esm-browser/v4.mjs +0 -23
  386. package/dist/es/robots.txt +0 -3
  387. package/dist/es/style.less.mjs +0 -4
  388. package/dist/lib/favicon.ico +0 -0
  389. package/dist/lib/favicon2.ico +0 -0
  390. package/dist/lib/font/font_4108228_4w5nlhafpte.js +0 -1
  391. package/dist/lib/font/font_4439177_0sppkcnqiqgs.js +0 -1
  392. package/dist/lib/font/gos-font.js +0 -64
  393. package/dist/lib/images/empty.svg +0 -40
  394. package/dist/lib/images/loading.gif +0 -0
  395. package/dist/lib/images/logo.png +0 -0
  396. package/dist/lib/images/map-example.png +0 -0
  397. package/dist/lib/images/sketch.png +0 -0
  398. package/dist/lib/index.html +0 -43
  399. package/dist/lib/logo192.png +0 -0
  400. package/dist/lib/logo512.png +0 -0
  401. package/dist/lib/manifest.json +0 -25
  402. package/dist/lib/robots.txt +0 -3
  403. /package/dist/es/{Dialog/HistoryItem → assets}/think.svg.mjs +0 -0
@@ -1,104 +0,0 @@
1
- let m = r();
2
- const n = (e) => u(e, m);
3
- let p = r();
4
- n.write = (e) => u(e, p);
5
- let s = r();
6
- n.onStart = (e) => u(e, s);
7
- let w = r();
8
- n.onFrame = (e) => u(e, w);
9
- let y = r();
10
- n.onFinish = (e) => u(e, y);
11
- let d = [];
12
- n.setTimeout = (e, t) => {
13
- let l = n.now() + t, a = () => {
14
- let f = d.findIndex((L) => L.cancel == a);
15
- ~f && d.splice(f, 1), i -= ~f ? 1 : 0;
16
- }, c = {
17
- time: l,
18
- handler: e,
19
- cancel: a
20
- };
21
- return d.splice(Q(l), 0, c), i += 1, S(), c;
22
- };
23
- let Q = (e) => ~(~d.findIndex((t) => t.time > e) || ~d.length);
24
- n.cancel = (e) => {
25
- s.delete(e), w.delete(e), y.delete(e), m.delete(e), p.delete(e);
26
- };
27
- n.sync = (e) => {
28
- h = !0, n.batchedUpdates(e), h = !1;
29
- };
30
- n.throttle = (e) => {
31
- let t;
32
- function l() {
33
- try {
34
- e(...t);
35
- } finally {
36
- t = null;
37
- }
38
- }
39
- function a(...c) {
40
- t = c, n.onStart(l);
41
- }
42
- return a.handler = e, a.cancel = () => {
43
- s.delete(l), t = null;
44
- }, a;
45
- };
46
- let F = typeof window != "undefined" ? window.requestAnimationFrame : () => {
47
- };
48
- n.use = (e) => F = e;
49
- n.now = typeof performance != "undefined" ? () => performance.now() : Date.now;
50
- n.batchedUpdates = (e) => e();
51
- n.catch = console.error;
52
- n.frameLoop = "always";
53
- n.advance = () => {
54
- n.frameLoop !== "demand" ? console.warn("Cannot call the manual advancement of rafz whilst frameLoop is not set as demand") : x();
55
- };
56
- let o = -1, i = 0, h = !1;
57
- function u(e, t) {
58
- h ? (t.delete(e), e(0)) : (t.add(e), S());
59
- }
60
- function S() {
61
- o < 0 && (o = 0, n.frameLoop !== "demand" && F(v));
62
- }
63
- function b() {
64
- o = -1;
65
- }
66
- function v() {
67
- ~o && (F(v), n.batchedUpdates(x));
68
- }
69
- function x() {
70
- let e = o;
71
- o = n.now();
72
- let t = Q(o);
73
- if (t && (z(d.splice(0, t), (l) => l.handler()), i -= t), !i) {
74
- b();
75
- return;
76
- }
77
- s.flush(), m.flush(e ? Math.min(64, o - e) : 16.667), w.flush(), p.flush(), y.flush();
78
- }
79
- function r() {
80
- let e = /* @__PURE__ */ new Set(), t = e;
81
- return {
82
- add(l) {
83
- i += t == e && !e.has(l) ? 1 : 0, e.add(l);
84
- },
85
- delete(l) {
86
- return i -= t == e && e.has(l) ? 1 : 0, e.delete(l);
87
- },
88
- flush(l) {
89
- t.size && (e = /* @__PURE__ */ new Set(), i -= t.size, z(t, (a) => a(l) && e.add(a)), i += e.size, t = e);
90
- }
91
- };
92
- }
93
- function z(e, t) {
94
- e.forEach((l) => {
95
- try {
96
- t(l);
97
- } catch (a) {
98
- n.catch(a);
99
- }
100
- });
101
- }
102
- export {
103
- n as raf
104
- };
@@ -1,568 +0,0 @@
1
- import { raf as d } from "../../rafz/dist/react-spring-rafz.esm.mjs";
2
- import { useState as Z, useRef as Q, useEffect as E, useLayoutEffect as ne } from "react";
3
- function re() {
4
- }
5
- const Ve = (e, f, t) => Object.defineProperty(e, f, {
6
- value: t,
7
- writable: !0,
8
- configurable: !0
9
- }), l = {
10
- arr: Array.isArray,
11
- obj: (e) => !!e && e.constructor.name === "Object",
12
- fun: (e) => typeof e == "function",
13
- str: (e) => typeof e == "string",
14
- num: (e) => typeof e == "number",
15
- und: (e) => e === void 0
16
- };
17
- function je(e, f) {
18
- if (l.arr(e)) {
19
- if (!l.arr(f) || e.length !== f.length)
20
- return !1;
21
- for (let t = 0; t < e.length; t++)
22
- if (e[t] !== f[t])
23
- return !1;
24
- return !0;
25
- }
26
- return e === f;
27
- }
28
- const ae = (e, f) => e.forEach(f);
29
- function Ue(e, f, t) {
30
- if (l.arr(e)) {
31
- for (let n = 0; n < e.length; n++)
32
- f.call(t, e[n], `${n}`);
33
- return;
34
- }
35
- for (const n in e)
36
- e.hasOwnProperty(n) && f.call(t, e[n], n);
37
- }
38
- const Le = (e) => l.und(e) ? [] : l.arr(e) ? e : [e];
39
- function oe(e, f) {
40
- if (e.size) {
41
- const t = Array.from(e);
42
- e.clear(), ae(t, f);
43
- }
44
- }
45
- const Te = (e, ...f) => oe(e, (t) => t(...f)), z = () => typeof window == "undefined" || !window.navigator || /ServerSideRendering|^Deno\//.test(window.navigator.userAgent);
46
- let _, W, h = null, X = !1, B = re;
47
- const ie = (e) => {
48
- e.to && (W = e.to), e.now && (d.now = e.now), e.colors !== void 0 && (h = e.colors), e.skipAnimation != null && (X = e.skipAnimation), e.createStringInterpolator && (_ = e.createStringInterpolator), e.requestAnimationFrame && d.use(e.requestAnimationFrame), e.batchedUpdates && (d.batchedUpdates = e.batchedUpdates), e.willAdvance && (B = e.willAdvance), e.frameLoop && (d.frameLoop = e.frameLoop);
49
- };
50
- var De = /* @__PURE__ */ Object.freeze({
51
- __proto__: null,
52
- get createStringInterpolator() {
53
- return _;
54
- },
55
- get to() {
56
- return W;
57
- },
58
- get colors() {
59
- return h;
60
- },
61
- get skipAnimation() {
62
- return X;
63
- },
64
- get willAdvance() {
65
- return B;
66
- },
67
- assign: ie
68
- });
69
- const m = /* @__PURE__ */ new Set();
70
- let s = [], $ = [], O = 0;
71
- const se = {
72
- get idle() {
73
- return !m.size && !s.length;
74
- },
75
- start(e) {
76
- O > e.priority ? (m.add(e), d.onStart(ce)) : (J(e), d(q));
77
- },
78
- advance: q,
79
- sort(e) {
80
- if (O)
81
- d.onFrame(() => se.sort(e));
82
- else {
83
- const f = s.indexOf(e);
84
- ~f && (s.splice(f, 1), K(e));
85
- }
86
- },
87
- clear() {
88
- s = [], m.clear();
89
- }
90
- };
91
- function ce() {
92
- m.forEach(J), m.clear(), d(q);
93
- }
94
- function J(e) {
95
- s.includes(e) || K(e);
96
- }
97
- function K(e) {
98
- s.splice(ue(s, (f) => f.priority > e.priority), 0, e);
99
- }
100
- function q(e) {
101
- const f = $;
102
- for (let t = 0; t < s.length; t++) {
103
- const n = s[t];
104
- O = n.priority, n.idle || (B(n), n.advance(e), n.idle || f.push(n));
105
- }
106
- return O = 0, $ = s, $.length = 0, s = f, s.length > 0;
107
- }
108
- function ue(e, f) {
109
- const t = e.findIndex(f);
110
- return t < 0 ? e.length : t;
111
- }
112
- const le = (e, f, t) => Math.min(Math.max(t, e), f), Ge = {
113
- transparent: 0,
114
- aliceblue: 4042850303,
115
- antiquewhite: 4209760255,
116
- aqua: 16777215,
117
- aquamarine: 2147472639,
118
- azure: 4043309055,
119
- beige: 4126530815,
120
- bisque: 4293182719,
121
- black: 255,
122
- blanchedalmond: 4293643775,
123
- blue: 65535,
124
- blueviolet: 2318131967,
125
- brown: 2771004159,
126
- burlywood: 3736635391,
127
- burntsienna: 3934150143,
128
- cadetblue: 1604231423,
129
- chartreuse: 2147418367,
130
- chocolate: 3530104575,
131
- coral: 4286533887,
132
- cornflowerblue: 1687547391,
133
- cornsilk: 4294499583,
134
- crimson: 3692313855,
135
- cyan: 16777215,
136
- darkblue: 35839,
137
- darkcyan: 9145343,
138
- darkgoldenrod: 3095792639,
139
- darkgray: 2846468607,
140
- darkgreen: 6553855,
141
- darkgrey: 2846468607,
142
- darkkhaki: 3182914559,
143
- darkmagenta: 2332068863,
144
- darkolivegreen: 1433087999,
145
- darkorange: 4287365375,
146
- darkorchid: 2570243327,
147
- darkred: 2332033279,
148
- darksalmon: 3918953215,
149
- darkseagreen: 2411499519,
150
- darkslateblue: 1211993087,
151
- darkslategray: 793726975,
152
- darkslategrey: 793726975,
153
- darkturquoise: 13554175,
154
- darkviolet: 2483082239,
155
- deeppink: 4279538687,
156
- deepskyblue: 12582911,
157
- dimgray: 1768516095,
158
- dimgrey: 1768516095,
159
- dodgerblue: 512819199,
160
- firebrick: 2988581631,
161
- floralwhite: 4294635775,
162
- forestgreen: 579543807,
163
- fuchsia: 4278255615,
164
- gainsboro: 3705462015,
165
- ghostwhite: 4177068031,
166
- gold: 4292280575,
167
- goldenrod: 3668254975,
168
- gray: 2155905279,
169
- green: 8388863,
170
- greenyellow: 2919182335,
171
- grey: 2155905279,
172
- honeydew: 4043305215,
173
- hotpink: 4285117695,
174
- indianred: 3445382399,
175
- indigo: 1258324735,
176
- ivory: 4294963455,
177
- khaki: 4041641215,
178
- lavender: 3873897215,
179
- lavenderblush: 4293981695,
180
- lawngreen: 2096890111,
181
- lemonchiffon: 4294626815,
182
- lightblue: 2916673279,
183
- lightcoral: 4034953471,
184
- lightcyan: 3774873599,
185
- lightgoldenrodyellow: 4210742015,
186
- lightgray: 3553874943,
187
- lightgreen: 2431553791,
188
- lightgrey: 3553874943,
189
- lightpink: 4290167295,
190
- lightsalmon: 4288707327,
191
- lightseagreen: 548580095,
192
- lightskyblue: 2278488831,
193
- lightslategray: 2005441023,
194
- lightslategrey: 2005441023,
195
- lightsteelblue: 2965692159,
196
- lightyellow: 4294959359,
197
- lime: 16711935,
198
- limegreen: 852308735,
199
- linen: 4210091775,
200
- magenta: 4278255615,
201
- maroon: 2147483903,
202
- mediumaquamarine: 1724754687,
203
- mediumblue: 52735,
204
- mediumorchid: 3126187007,
205
- mediumpurple: 2473647103,
206
- mediumseagreen: 1018393087,
207
- mediumslateblue: 2070474495,
208
- mediumspringgreen: 16423679,
209
- mediumturquoise: 1221709055,
210
- mediumvioletred: 3340076543,
211
- midnightblue: 421097727,
212
- mintcream: 4127193855,
213
- mistyrose: 4293190143,
214
- moccasin: 4293178879,
215
- navajowhite: 4292783615,
216
- navy: 33023,
217
- oldlace: 4260751103,
218
- olive: 2155872511,
219
- olivedrab: 1804477439,
220
- orange: 4289003775,
221
- orangered: 4282712319,
222
- orchid: 3664828159,
223
- palegoldenrod: 4008225535,
224
- palegreen: 2566625535,
225
- paleturquoise: 2951671551,
226
- palevioletred: 3681588223,
227
- papayawhip: 4293907967,
228
- peachpuff: 4292524543,
229
- peru: 3448061951,
230
- pink: 4290825215,
231
- plum: 3718307327,
232
- powderblue: 2967529215,
233
- purple: 2147516671,
234
- rebeccapurple: 1714657791,
235
- red: 4278190335,
236
- rosybrown: 3163525119,
237
- royalblue: 1097458175,
238
- saddlebrown: 2336560127,
239
- salmon: 4202722047,
240
- sandybrown: 4104413439,
241
- seagreen: 780883967,
242
- seashell: 4294307583,
243
- sienna: 2689740287,
244
- silver: 3233857791,
245
- skyblue: 2278484991,
246
- slateblue: 1784335871,
247
- slategray: 1887473919,
248
- slategrey: 1887473919,
249
- snow: 4294638335,
250
- springgreen: 16744447,
251
- steelblue: 1182971135,
252
- tan: 3535047935,
253
- teal: 8421631,
254
- thistle: 3636451583,
255
- tomato: 4284696575,
256
- turquoise: 1088475391,
257
- violet: 4001558271,
258
- wheat: 4125012991,
259
- white: 4294967295,
260
- whitesmoke: 4126537215,
261
- yellow: 4294902015,
262
- yellowgreen: 2597139199
263
- }, u = "[-+]?\\d*\\.?\\d+", M = u + "%";
264
- function F(...e) {
265
- return "\\(\\s*(" + e.join(")\\s*,\\s*(") + ")\\s*\\)";
266
- }
267
- const de = new RegExp("rgb" + F(u, u, u)), he = new RegExp("rgba" + F(u, u, u, u)), pe = new RegExp("hsl" + F(u, M, M)), xe = new RegExp("hsla" + F(u, M, M, u)), ge = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, be = /^#([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/, me = /^#([0-9a-fA-F]{6})$/, we = /^#([0-9a-fA-F]{8})$/;
268
- function ye(e) {
269
- let f;
270
- return typeof e == "number" ? e >>> 0 === e && e >= 0 && e <= 4294967295 ? e : null : (f = me.exec(e)) ? parseInt(f[1] + "ff", 16) >>> 0 : h && h[e] !== void 0 ? h[e] : (f = de.exec(e)) ? (g(f[1]) << 24 | g(f[2]) << 16 | g(f[3]) << 8 | 255) >>> 0 : (f = he.exec(e)) ? (g(f[1]) << 24 | g(f[2]) << 16 | g(f[3]) << 8 | L(f[4])) >>> 0 : (f = ge.exec(e)) ? parseInt(f[1] + f[1] + f[2] + f[2] + f[3] + f[3] + "ff", 16) >>> 0 : (f = we.exec(e)) ? parseInt(f[1], 16) >>> 0 : (f = be.exec(e)) ? parseInt(f[1] + f[1] + f[2] + f[2] + f[3] + f[3] + f[4] + f[4], 16) >>> 0 : (f = pe.exec(e)) ? (j(U(f[1]), y(f[2]), y(f[3])) | 255) >>> 0 : (f = xe.exec(e)) ? (j(U(f[1]), y(f[2]), y(f[3])) | L(f[4])) >>> 0 : null;
271
- }
272
- function S(e, f, t) {
273
- return t < 0 && (t += 1), t > 1 && (t -= 1), t < 1 / 6 ? e + (f - e) * 6 * t : t < 1 / 2 ? f : t < 2 / 3 ? e + (f - e) * (2 / 3 - t) * 6 : e;
274
- }
275
- function j(e, f, t) {
276
- const n = t < 0.5 ? t * (1 + f) : t + f - t * f, o = 2 * t - n, a = S(o, n, e + 1 / 3), i = S(o, n, e), c = S(o, n, e - 1 / 3);
277
- return Math.round(a * 255) << 24 | Math.round(i * 255) << 16 | Math.round(c * 255) << 8;
278
- }
279
- function g(e) {
280
- const f = parseInt(e, 10);
281
- return f < 0 ? 0 : f > 255 ? 255 : f;
282
- }
283
- function U(e) {
284
- return (parseFloat(e) % 360 + 360) % 360 / 360;
285
- }
286
- function L(e) {
287
- const f = parseFloat(e);
288
- return f < 0 ? 0 : f > 1 ? 255 : Math.round(f * 255);
289
- }
290
- function y(e) {
291
- const f = parseFloat(e);
292
- return f < 0 ? 0 : f > 100 ? 1 : f / 100;
293
- }
294
- function T(e) {
295
- let f = ye(e);
296
- if (f === null)
297
- return e;
298
- f = f || 0;
299
- let t = (f & 4278190080) >>> 24, n = (f & 16711680) >>> 16, o = (f & 65280) >>> 8, a = (f & 255) / 255;
300
- return `rgba(${t}, ${n}, ${o}, ${a})`;
301
- }
302
- const Y = (e, f, t) => {
303
- if (l.fun(e))
304
- return e;
305
- if (l.arr(e))
306
- return Y({
307
- range: e,
308
- output: f,
309
- extrapolate: t
310
- });
311
- if (l.str(e.output[0]))
312
- return _(e);
313
- const n = e, o = n.output, a = n.range || [0, 1], i = n.extrapolateLeft || n.extrapolate || "extend", c = n.extrapolateRight || n.extrapolate || "extend", x = n.easing || ((r) => r);
314
- return (r) => {
315
- const w = ke(r, a);
316
- return ve(r, a[w], a[w + 1], o[w], o[w + 1], x, i, c, n.map);
317
- };
318
- };
319
- function ve(e, f, t, n, o, a, i, c, x) {
320
- let r = x ? x(e) : e;
321
- if (r < f) {
322
- if (i === "identity")
323
- return r;
324
- i === "clamp" && (r = f);
325
- }
326
- if (r > t) {
327
- if (c === "identity")
328
- return r;
329
- c === "clamp" && (r = t);
330
- }
331
- return n === o ? n : f === t ? e <= f ? n : o : (f === -1 / 0 ? r = -r : t === 1 / 0 ? r = r - f : r = (r - f) / (t - f), r = a(r), n === -1 / 0 ? r = -r : o === 1 / 0 ? r = r + n : r = r * (o - n) + n, r);
332
- }
333
- function ke(e, f) {
334
- for (var t = 1; t < f.length - 1 && !(f[t] >= e); ++t)
335
- ;
336
- return t - 1;
337
- }
338
- const Ie = (e, f = "end") => (t) => {
339
- t = f === "end" ? Math.min(t, 0.999) : Math.max(t, 1e-3);
340
- const n = t * e, o = f === "end" ? Math.floor(n) : Math.ceil(n);
341
- return le(0, 1, o / e);
342
- }, A = 1.70158, v = A * 1.525, D = A + 1, G = 2 * Math.PI / 3, N = 2 * Math.PI / 4.5, k = (e) => e < 1 / 2.75 ? 7.5625 * e * e : e < 2 / 2.75 ? 7.5625 * (e -= 1.5 / 2.75) * e + 0.75 : e < 2.5 / 2.75 ? 7.5625 * (e -= 2.25 / 2.75) * e + 0.9375 : 7.5625 * (e -= 2.625 / 2.75) * e + 0.984375, Ne = {
343
- linear: (e) => e,
344
- easeInQuad: (e) => e * e,
345
- easeOutQuad: (e) => 1 - (1 - e) * (1 - e),
346
- easeInOutQuad: (e) => e < 0.5 ? 2 * e * e : 1 - Math.pow(-2 * e + 2, 2) / 2,
347
- easeInCubic: (e) => e * e * e,
348
- easeOutCubic: (e) => 1 - Math.pow(1 - e, 3),
349
- easeInOutCubic: (e) => e < 0.5 ? 4 * e * e * e : 1 - Math.pow(-2 * e + 2, 3) / 2,
350
- easeInQuart: (e) => e * e * e * e,
351
- easeOutQuart: (e) => 1 - Math.pow(1 - e, 4),
352
- easeInOutQuart: (e) => e < 0.5 ? 8 * e * e * e * e : 1 - Math.pow(-2 * e + 2, 4) / 2,
353
- easeInQuint: (e) => e * e * e * e * e,
354
- easeOutQuint: (e) => 1 - Math.pow(1 - e, 5),
355
- easeInOutQuint: (e) => e < 0.5 ? 16 * e * e * e * e * e : 1 - Math.pow(-2 * e + 2, 5) / 2,
356
- easeInSine: (e) => 1 - Math.cos(e * Math.PI / 2),
357
- easeOutSine: (e) => Math.sin(e * Math.PI / 2),
358
- easeInOutSine: (e) => -(Math.cos(Math.PI * e) - 1) / 2,
359
- easeInExpo: (e) => e === 0 ? 0 : Math.pow(2, 10 * e - 10),
360
- easeOutExpo: (e) => e === 1 ? 1 : 1 - Math.pow(2, -10 * e),
361
- easeInOutExpo: (e) => e === 0 ? 0 : e === 1 ? 1 : e < 0.5 ? Math.pow(2, 20 * e - 10) / 2 : (2 - Math.pow(2, -20 * e + 10)) / 2,
362
- easeInCirc: (e) => 1 - Math.sqrt(1 - Math.pow(e, 2)),
363
- easeOutCirc: (e) => Math.sqrt(1 - Math.pow(e - 1, 2)),
364
- easeInOutCirc: (e) => e < 0.5 ? (1 - Math.sqrt(1 - Math.pow(2 * e, 2))) / 2 : (Math.sqrt(1 - Math.pow(-2 * e + 2, 2)) + 1) / 2,
365
- easeInBack: (e) => D * e * e * e - A * e * e,
366
- easeOutBack: (e) => 1 + D * Math.pow(e - 1, 3) + A * Math.pow(e - 1, 2),
367
- easeInOutBack: (e) => e < 0.5 ? Math.pow(2 * e, 2) * ((v + 1) * 2 * e - v) / 2 : (Math.pow(2 * e - 2, 2) * ((v + 1) * (e * 2 - 2) + v) + 2) / 2,
368
- easeInElastic: (e) => e === 0 ? 0 : e === 1 ? 1 : -Math.pow(2, 10 * e - 10) * Math.sin((e * 10 - 10.75) * G),
369
- easeOutElastic: (e) => e === 0 ? 0 : e === 1 ? 1 : Math.pow(2, -10 * e) * Math.sin((e * 10 - 0.75) * G) + 1,
370
- easeInOutElastic: (e) => e === 0 ? 0 : e === 1 ? 1 : e < 0.5 ? -(Math.pow(2, 20 * e - 10) * Math.sin((20 * e - 11.125) * N)) / 2 : Math.pow(2, -20 * e + 10) * Math.sin((20 * e - 11.125) * N) / 2 + 1,
371
- easeInBounce: (e) => 1 - k(1 - e),
372
- easeOutBounce: k,
373
- easeInOutBounce: (e) => e < 0.5 ? (1 - k(1 - 2 * e)) / 2 : (1 + k(2 * e - 1)) / 2,
374
- steps: Ie
375
- };
376
- function P() {
377
- return P = Object.assign ? Object.assign.bind() : function(e) {
378
- for (var f = 1; f < arguments.length; f++) {
379
- var t = arguments[f];
380
- for (var n in t)
381
- Object.prototype.hasOwnProperty.call(t, n) && (e[n] = t[n]);
382
- }
383
- return e;
384
- }, P.apply(this, arguments);
385
- }
386
- const b = Symbol.for("FluidValue.get"), p = Symbol.for("FluidValue.observers"), He = (e) => !!(e && e[b]), Oe = (e) => e && e[b] ? e[b]() : e, Ze = (e) => e[p] || null;
387
- function Me(e, f) {
388
- e.eventObserved ? e.eventObserved(f) : e(f);
389
- }
390
- function We(e, f) {
391
- let t = e[p];
392
- t && t.forEach((n) => {
393
- Me(n, f);
394
- });
395
- }
396
- class Xe {
397
- constructor(f) {
398
- if (this[b] = void 0, this[p] = void 0, !f && !(f = this.get))
399
- throw Error("Unknown getter");
400
- Ae(this, f);
401
- }
402
- }
403
- const Ae = (e, f) => ee(e, b, f);
404
- function Je(e, f) {
405
- if (e[b]) {
406
- let t = e[p];
407
- t || ee(e, p, t = /* @__PURE__ */ new Set()), t.has(f) || (t.add(f), e.observerAdded && e.observerAdded(t.size, f));
408
- }
409
- return f;
410
- }
411
- function Ke(e, f) {
412
- let t = e[p];
413
- if (t && t.has(f)) {
414
- const n = t.size - 1;
415
- n ? t.delete(f) : e[p] = null, e.observerRemoved && e.observerRemoved(n, f);
416
- }
417
- }
418
- const ee = (e, f, t) => Object.defineProperty(e, f, {
419
- value: t,
420
- writable: !0,
421
- configurable: !0
422
- }), I = /[+\-]?(?:0|[1-9]\d*)(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, Ee = /(#(?:[0-9a-f]{2}){2,4}|(#[0-9a-f]{3})|(rgb|hsl)a?\((-?\d+%?[,\s]+){2,3}\s*[\d\.]+%?\))/gi, H = new RegExp(`(${I.source})(%|[a-z]+)`, "i"), Fe = /rgba\(([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+), ([0-9\.-]+)\)/gi, R = /var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/, fe = (e) => {
423
- const [f, t] = Re(e);
424
- if (!f || z())
425
- return e;
426
- const n = window.getComputedStyle(document.documentElement).getPropertyValue(f);
427
- if (n)
428
- return n.trim();
429
- if (t && t.startsWith("--")) {
430
- const o = window.getComputedStyle(document.documentElement).getPropertyValue(t);
431
- return o || e;
432
- } else {
433
- if (t && R.test(t))
434
- return fe(t);
435
- if (t)
436
- return t;
437
- }
438
- return e;
439
- }, Re = (e) => {
440
- const f = R.exec(e);
441
- if (!f)
442
- return [,];
443
- const [, t, n] = f;
444
- return [t, n];
445
- };
446
- let C;
447
- const $e = (e, f, t, n, o) => `rgba(${Math.round(f)}, ${Math.round(t)}, ${Math.round(n)}, ${o})`, Ye = (e) => {
448
- C || (C = h ? new RegExp(`(${Object.keys(h).join("|")})(?!\\w)`, "g") : /^\b$/);
449
- const f = e.output.map((a) => Oe(a).replace(R, fe).replace(Ee, T).replace(C, T)), t = f.map((a) => a.match(I).map(Number)), o = t[0].map((a, i) => t.map((c) => {
450
- if (!(i in c))
451
- throw Error('The arity of each "output" value must be equal');
452
- return c[i];
453
- })).map((a) => Y(P({}, e, {
454
- output: a
455
- })));
456
- return (a) => {
457
- var i;
458
- const c = !H.test(f[0]) && ((i = f.find((r) => H.test(r))) == null ? void 0 : i.replace(I, ""));
459
- let x = 0;
460
- return f[0].replace(I, () => `${o[x++](a)}${c || ""}`).replace(Fe, $e);
461
- };
462
- }, V = "react-spring: ", te = (e) => {
463
- const f = e;
464
- let t = !1;
465
- if (typeof f != "function")
466
- throw new TypeError(`${V}once requires a function parameter`);
467
- return (...n) => {
468
- t || (f(...n), t = !0);
469
- };
470
- }, Se = te(console.warn);
471
- function ef() {
472
- Se(`${V}The "interpolate" function is deprecated in v9 (use "to" instead)`);
473
- }
474
- const Ce = te(console.warn);
475
- function ff() {
476
- Ce(`${V}Directly calling start instead of using the api object is deprecated in v9 (use ".start" instead), this will be removed in later 0.X.0 versions`);
477
- }
478
- function tf(e) {
479
- return l.str(e) && (e[0] == "#" || /\d/.test(e) || !z() && R.test(e) || e in (h || {}));
480
- }
481
- const qe = z() ? E : ne, Pe = () => {
482
- const e = Q(!1);
483
- return qe(() => (e.current = !0, () => {
484
- e.current = !1;
485
- }), []), e;
486
- };
487
- function nf() {
488
- const e = Z()[1], f = Pe();
489
- return () => {
490
- f.current && e(Math.random());
491
- };
492
- }
493
- function rf(e, f) {
494
- const [t] = Z(() => ({
495
- inputs: f,
496
- result: e()
497
- })), n = Q(), o = n.current;
498
- let a = o;
499
- return a ? f && a.inputs && Qe(f, a.inputs) || (a = {
500
- inputs: f,
501
- result: e()
502
- }) : a = t, E(() => {
503
- n.current = a, o == t && (t.inputs = t.result = void 0);
504
- }, [a]), a.result;
505
- }
506
- function Qe(e, f) {
507
- if (e.length !== f.length)
508
- return !1;
509
- for (let t = 0; t < e.length; t++)
510
- if (e[t] !== f[t])
511
- return !1;
512
- return !0;
513
- }
514
- const af = (e) => E(e, ze), ze = [];
515
- function of(e) {
516
- const f = Q();
517
- return E(() => {
518
- f.current = e;
519
- }), f.current;
520
- }
521
- export {
522
- Xe as FluidValue,
523
- De as Globals,
524
- Je as addFluidObserver,
525
- Me as callFluidObserver,
526
- We as callFluidObservers,
527
- le as clamp,
528
- T as colorToRgba,
529
- Ge as colors,
530
- Y as createInterpolator,
531
- Ye as createStringInterpolator,
532
- Ve as defineHidden,
533
- ff as deprecateDirectCall,
534
- ef as deprecateInterpolate,
535
- ae as each,
536
- Ue as eachProp,
537
- Ne as easings,
538
- oe as flush,
539
- Te as flushCalls,
540
- se as frameLoop,
541
- Ze as getFluidObservers,
542
- Oe as getFluidValue,
543
- He as hasFluidValue,
544
- ge as hex3,
545
- be as hex4,
546
- me as hex6,
547
- we as hex8,
548
- pe as hsl,
549
- xe as hsla,
550
- l as is,
551
- tf as isAnimatedString,
552
- je as isEqual,
553
- z as isSSR,
554
- re as noop,
555
- te as once,
556
- V as prefix,
557
- d as raf,
558
- Ke as removeFluidObserver,
559
- de as rgb,
560
- he as rgba,
561
- Ae as setFluidGetter,
562
- Le as toArray,
563
- nf as useForceUpdate,
564
- qe as useIsomorphicLayoutEffect,
565
- rf as useMemoOne,
566
- af as useOnce,
567
- of as usePrev
568
- };