antd-mobile 5.34.0 → 5.36.0

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 (240) hide show
  1. package/2x/bundle/antd-mobile.cjs.development.js +472 -1560
  2. package/2x/bundle/antd-mobile.cjs.js +7 -7
  3. package/2x/bundle/antd-mobile.es.development.js +473 -1561
  4. package/2x/bundle/antd-mobile.es.js +7287 -8011
  5. package/2x/bundle/antd-mobile.umd.development.js +472 -1560
  6. package/2x/bundle/antd-mobile.umd.js +7 -7
  7. package/2x/bundle/css-vars-patch.css +3 -3
  8. package/2x/bundle/style.css +6 -10
  9. package/2x/cjs/components/button/button.d.ts +3 -3
  10. package/2x/cjs/components/button/button.patch.css +3 -3
  11. package/2x/cjs/components/cascader-view/use-cascader-value-extend.js +10 -5
  12. package/2x/cjs/components/checkbox/native-input.js +1 -1
  13. package/2x/cjs/components/config-provider/config-provider.d.ts +3 -2
  14. package/2x/cjs/components/error-block/create-error-block.d.ts +1 -0
  15. package/2x/cjs/components/error-block/create-error-block.js +1 -0
  16. package/2x/cjs/components/error-block/index.d.ts +0 -1
  17. package/2x/cjs/components/error-block/index.js +2 -3
  18. package/2x/cjs/components/form/form-item.js +1 -0
  19. package/2x/cjs/components/form/form.js +2 -2
  20. package/2x/cjs/components/infinite-scroll/infinite-scroll.js +8 -4
  21. package/2x/cjs/components/input/input.d.ts +2 -4
  22. package/2x/cjs/components/input/input.js +8 -17
  23. package/2x/cjs/components/input/useInputHandleKeyDown.d.ts +8 -0
  24. package/2x/cjs/components/input/useInputHandleKeyDown.js +29 -0
  25. package/2x/cjs/components/picker-view/wheel.js +7 -4
  26. package/2x/cjs/components/popover/index.d.ts +1 -1
  27. package/2x/cjs/components/popover/popover.d.ts +1 -1
  28. package/2x/cjs/components/radio/radio.css +1 -1
  29. package/2x/cjs/components/radio/radio.d.ts +1 -1
  30. package/2x/cjs/components/radio/radio.js +5 -5
  31. package/2x/cjs/components/result-page/result-page.css +5 -5
  32. package/2x/cjs/components/result-page/result-page.d.ts +1 -1
  33. package/2x/cjs/components/swipe-action/swipe-action.d.ts +1 -1
  34. package/2x/cjs/components/swiper/index.d.ts +1 -1
  35. package/2x/cjs/components/swiper/swiper.d.ts +2 -2
  36. package/2x/cjs/components/swiper/swiper.js +5 -1
  37. package/2x/cjs/components/text-area/text-area.css +0 -4
  38. package/2x/cjs/components/text-area/text-area.d.ts +6 -2
  39. package/2x/cjs/components/text-area/text-area.js +9 -1
  40. package/2x/cjs/global/css-vars-patch.css +3 -3
  41. package/2x/cjs/index.d.ts +1 -1
  42. package/2x/cjs/index.js +6 -0
  43. package/2x/cjs/locales/ar-SA.d.ts +139 -0
  44. package/2x/cjs/locales/ar-SA.js +149 -0
  45. package/2x/cjs/locales/de-DE.d.ts +139 -0
  46. package/2x/cjs/locales/de-DE.js +149 -0
  47. package/2x/cjs/locales/hu-HU.d.ts +139 -0
  48. package/2x/cjs/locales/hu-HU.js +148 -0
  49. package/2x/cjs/locales/ms-MY.d.ts +139 -0
  50. package/2x/cjs/locales/ms-MY.js +149 -0
  51. package/2x/cjs/locales/pt-BR.d.ts +139 -0
  52. package/2x/cjs/locales/pt-BR.js +144 -0
  53. package/2x/cjs/locales/th-TH.d.ts +139 -0
  54. package/2x/cjs/locales/th-TH.js +149 -0
  55. package/2x/cjs/locales/vi-VN.d.ts +139 -0
  56. package/2x/cjs/locales/vi-VN.js +149 -0
  57. package/2x/cjs/locales/zh-CN.d.ts +2 -138
  58. package/2x/cjs/locales/zh-CN.js +2 -4
  59. package/2x/cjs/locales/zh-CN.test.d.ts +1 -0
  60. package/2x/cjs/locales/zh-CN.test.js +19 -0
  61. package/2x/cjs/utils/with-default-props.js +8 -9
  62. package/2x/cjs/utils/with-stop-propagation.d.ts +1 -1
  63. package/2x/cjs/utils/with-stop-propagation.js +2 -1
  64. package/2x/es/components/button/button.d.ts +3 -3
  65. package/2x/es/components/button/button.patch.css +3 -3
  66. package/2x/es/components/cascader-view/use-cascader-value-extend.js +8 -3
  67. package/2x/es/components/checkbox/native-input.js +1 -1
  68. package/2x/es/components/config-provider/config-provider.d.ts +3 -2
  69. package/2x/es/components/error-block/create-error-block.d.ts +1 -0
  70. package/2x/es/components/error-block/create-error-block.js +1 -0
  71. package/2x/es/components/error-block/index.d.ts +0 -1
  72. package/2x/es/components/error-block/index.js +0 -1
  73. package/2x/es/components/form/form-item.js +1 -0
  74. package/2x/es/components/form/form.js +2 -2
  75. package/2x/es/components/infinite-scroll/infinite-scroll.js +8 -4
  76. package/2x/es/components/input/input.d.ts +2 -4
  77. package/2x/es/components/input/input.js +8 -17
  78. package/2x/es/components/input/useInputHandleKeyDown.d.ts +8 -0
  79. package/2x/es/components/input/useInputHandleKeyDown.js +23 -0
  80. package/2x/es/components/picker-view/wheel.js +6 -3
  81. package/2x/es/components/popover/index.d.ts +1 -1
  82. package/2x/es/components/popover/popover.d.ts +1 -1
  83. package/2x/es/components/radio/radio.css +1 -1
  84. package/2x/es/components/radio/radio.d.ts +1 -1
  85. package/2x/es/components/radio/radio.js +4 -4
  86. package/2x/es/components/result-page/result-page.css +5 -5
  87. package/2x/es/components/result-page/result-page.d.ts +1 -1
  88. package/2x/es/components/swipe-action/swipe-action.d.ts +1 -1
  89. package/2x/es/components/swiper/index.d.ts +1 -1
  90. package/2x/es/components/swiper/swiper.d.ts +2 -2
  91. package/2x/es/components/swiper/swiper.js +5 -1
  92. package/2x/es/components/text-area/text-area.css +0 -4
  93. package/2x/es/components/text-area/text-area.d.ts +6 -2
  94. package/2x/es/components/text-area/text-area.js +9 -1
  95. package/2x/es/global/css-vars-patch.css +3 -3
  96. package/2x/es/index.d.ts +1 -1
  97. package/2x/es/index.js +1 -1
  98. package/2x/es/locales/ar-SA.d.ts +139 -0
  99. package/2x/es/locales/ar-SA.js +142 -0
  100. package/2x/es/locales/de-DE.d.ts +139 -0
  101. package/2x/es/locales/de-DE.js +142 -0
  102. package/2x/es/locales/hu-HU.d.ts +139 -0
  103. package/2x/es/locales/hu-HU.js +140 -0
  104. package/2x/es/locales/ms-MY.d.ts +139 -0
  105. package/2x/es/locales/ms-MY.js +142 -0
  106. package/2x/es/locales/pt-BR.d.ts +139 -0
  107. package/2x/es/locales/pt-BR.js +137 -0
  108. package/2x/es/locales/th-TH.d.ts +139 -0
  109. package/2x/es/locales/th-TH.js +142 -0
  110. package/2x/es/locales/vi-VN.d.ts +139 -0
  111. package/2x/es/locales/vi-VN.js +142 -0
  112. package/2x/es/locales/zh-CN.d.ts +2 -138
  113. package/2x/es/locales/zh-CN.js +2 -4
  114. package/2x/es/locales/zh-CN.test.d.ts +1 -0
  115. package/2x/es/locales/zh-CN.test.js +16 -0
  116. package/2x/es/utils/with-default-props.js +8 -8
  117. package/2x/es/utils/with-stop-propagation.d.ts +1 -1
  118. package/2x/es/utils/with-stop-propagation.js +2 -1
  119. package/2x/package.json +38 -21
  120. package/bundle/antd-mobile.cjs.development.js +472 -1560
  121. package/bundle/antd-mobile.cjs.js +7 -7
  122. package/bundle/antd-mobile.compatible.umd.js +1 -1
  123. package/bundle/antd-mobile.es.development.js +473 -1561
  124. package/bundle/antd-mobile.es.js +7287 -8011
  125. package/bundle/antd-mobile.umd.development.js +472 -1560
  126. package/bundle/antd-mobile.umd.js +7 -7
  127. package/bundle/css-vars-patch.css +3 -3
  128. package/bundle/style.css +1 -1
  129. package/cjs/components/button/button.d.ts +3 -3
  130. package/cjs/components/button/button.patch.css +3 -3
  131. package/cjs/components/cascader-view/use-cascader-value-extend.js +10 -5
  132. package/cjs/components/checkbox/native-input.js +1 -1
  133. package/cjs/components/config-provider/config-provider.d.ts +3 -2
  134. package/cjs/components/error-block/create-error-block.d.ts +1 -0
  135. package/cjs/components/error-block/create-error-block.js +1 -0
  136. package/cjs/components/error-block/index.d.ts +0 -1
  137. package/cjs/components/error-block/index.js +2 -3
  138. package/cjs/components/form/form-item.js +1 -0
  139. package/cjs/components/form/form.js +2 -2
  140. package/cjs/components/infinite-scroll/infinite-scroll.js +8 -4
  141. package/cjs/components/input/input.d.ts +2 -4
  142. package/cjs/components/input/input.js +8 -17
  143. package/cjs/components/input/useInputHandleKeyDown.d.ts +8 -0
  144. package/cjs/components/input/useInputHandleKeyDown.js +29 -0
  145. package/cjs/components/picker-view/wheel.js +7 -4
  146. package/cjs/components/popover/index.d.ts +1 -1
  147. package/cjs/components/popover/popover.d.ts +1 -1
  148. package/cjs/components/radio/radio.css +1 -1
  149. package/cjs/components/radio/radio.d.ts +1 -1
  150. package/cjs/components/radio/radio.js +5 -5
  151. package/cjs/components/result-page/result-page.css +5 -5
  152. package/cjs/components/result-page/result-page.d.ts +1 -1
  153. package/cjs/components/swipe-action/swipe-action.d.ts +1 -1
  154. package/cjs/components/swiper/index.d.ts +1 -1
  155. package/cjs/components/swiper/swiper.d.ts +2 -2
  156. package/cjs/components/swiper/swiper.js +5 -1
  157. package/cjs/components/text-area/text-area.css +0 -3
  158. package/cjs/components/text-area/text-area.d.ts +6 -2
  159. package/cjs/components/text-area/text-area.js +9 -1
  160. package/cjs/global/css-vars-patch.css +3 -3
  161. package/cjs/index.d.ts +1 -1
  162. package/cjs/index.js +6 -0
  163. package/cjs/locales/ar-SA.d.ts +139 -0
  164. package/cjs/locales/ar-SA.js +149 -0
  165. package/cjs/locales/de-DE.d.ts +139 -0
  166. package/cjs/locales/de-DE.js +149 -0
  167. package/cjs/locales/hu-HU.d.ts +139 -0
  168. package/cjs/locales/hu-HU.js +148 -0
  169. package/cjs/locales/ms-MY.d.ts +139 -0
  170. package/cjs/locales/ms-MY.js +149 -0
  171. package/cjs/locales/pt-BR.d.ts +139 -0
  172. package/cjs/locales/pt-BR.js +144 -0
  173. package/cjs/locales/th-TH.d.ts +139 -0
  174. package/cjs/locales/th-TH.js +149 -0
  175. package/cjs/locales/vi-VN.d.ts +139 -0
  176. package/cjs/locales/vi-VN.js +149 -0
  177. package/cjs/locales/zh-CN.d.ts +2 -138
  178. package/cjs/locales/zh-CN.js +2 -4
  179. package/cjs/locales/zh-CN.test.d.ts +1 -0
  180. package/cjs/locales/zh-CN.test.js +19 -0
  181. package/cjs/utils/with-default-props.js +8 -9
  182. package/cjs/utils/with-stop-propagation.d.ts +1 -1
  183. package/cjs/utils/with-stop-propagation.js +2 -1
  184. package/es/components/button/button.d.ts +3 -3
  185. package/es/components/button/button.patch.css +3 -3
  186. package/es/components/cascader-view/use-cascader-value-extend.js +8 -3
  187. package/es/components/checkbox/native-input.js +1 -1
  188. package/es/components/config-provider/config-provider.d.ts +3 -2
  189. package/es/components/error-block/create-error-block.d.ts +1 -0
  190. package/es/components/error-block/create-error-block.js +1 -0
  191. package/es/components/error-block/index.d.ts +0 -1
  192. package/es/components/error-block/index.js +0 -1
  193. package/es/components/form/form-item.js +1 -0
  194. package/es/components/form/form.js +2 -2
  195. package/es/components/infinite-scroll/infinite-scroll.js +8 -4
  196. package/es/components/input/input.d.ts +2 -4
  197. package/es/components/input/input.js +8 -17
  198. package/es/components/input/useInputHandleKeyDown.d.ts +8 -0
  199. package/es/components/input/useInputHandleKeyDown.js +23 -0
  200. package/es/components/picker-view/wheel.js +6 -3
  201. package/es/components/popover/index.d.ts +1 -1
  202. package/es/components/popover/popover.d.ts +1 -1
  203. package/es/components/radio/radio.css +1 -1
  204. package/es/components/radio/radio.d.ts +1 -1
  205. package/es/components/radio/radio.js +4 -4
  206. package/es/components/result-page/result-page.css +5 -5
  207. package/es/components/result-page/result-page.d.ts +1 -1
  208. package/es/components/swipe-action/swipe-action.d.ts +1 -1
  209. package/es/components/swiper/index.d.ts +1 -1
  210. package/es/components/swiper/swiper.d.ts +2 -2
  211. package/es/components/swiper/swiper.js +5 -1
  212. package/es/components/text-area/text-area.css +0 -3
  213. package/es/components/text-area/text-area.d.ts +6 -2
  214. package/es/components/text-area/text-area.js +9 -1
  215. package/es/global/css-vars-patch.css +3 -3
  216. package/es/index.d.ts +1 -1
  217. package/es/index.js +1 -1
  218. package/es/locales/ar-SA.d.ts +139 -0
  219. package/es/locales/ar-SA.js +142 -0
  220. package/es/locales/de-DE.d.ts +139 -0
  221. package/es/locales/de-DE.js +142 -0
  222. package/es/locales/hu-HU.d.ts +139 -0
  223. package/es/locales/hu-HU.js +140 -0
  224. package/es/locales/ms-MY.d.ts +139 -0
  225. package/es/locales/ms-MY.js +142 -0
  226. package/es/locales/pt-BR.d.ts +139 -0
  227. package/es/locales/pt-BR.js +137 -0
  228. package/es/locales/th-TH.d.ts +139 -0
  229. package/es/locales/th-TH.js +142 -0
  230. package/es/locales/vi-VN.d.ts +139 -0
  231. package/es/locales/vi-VN.js +142 -0
  232. package/es/locales/zh-CN.d.ts +2 -138
  233. package/es/locales/zh-CN.js +2 -4
  234. package/es/locales/zh-CN.test.d.ts +1 -0
  235. package/es/locales/zh-CN.test.js +16 -0
  236. package/es/utils/with-default-props.js +8 -8
  237. package/es/utils/with-stop-propagation.d.ts +1 -1
  238. package/es/utils/with-stop-propagation.js +2 -1
  239. package/package.json +38 -21
  240. package/umd/antd-mobile.js +1 -1
@@ -202,162 +202,8 @@ typeof SuppressedError === "function" ? SuppressedError : function(error, suppre
202
202
  var e2 = new Error(message);
203
203
  return e2.name = "SuppressedError", e2.error = error, e2.suppressed = suppressed, e2;
204
204
  };
205
- function mergeLocale(base2, patch) {
206
- function merge2(a, b) {
207
- if (typeof a !== "object" || typeof b !== "object" || Array.isArray(a) || Array.isArray(b)) {
208
- return b !== void 0 ? b : a;
209
- }
210
- const result = {};
211
- for (const key in a) {
212
- if (a.hasOwnProperty(key)) {
213
- result[key] = merge2(a[key], b[key]);
214
- }
215
- }
216
- return result;
217
- }
218
- return merge2(base2, patch);
219
- }
220
- const typeTemplate$2 = "${label} is not a valid ${type}";
221
- const base = {
222
- locale: "en",
223
- common: {
224
- confirm: "Confirm",
225
- cancel: "Cancel",
226
- loading: "Loading",
227
- close: "Close"
228
- },
229
- Calendar: {
230
- title: "Date selection",
231
- confirm: "Confirm",
232
- start: "start",
233
- end: "end",
234
- today: "today",
235
- markItems: ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"],
236
- yearAndMonth: "${year}/${month}"
237
- },
238
- Cascader: {
239
- placeholder: "Selecting"
240
- },
241
- Dialog: {
242
- ok: "OK"
243
- },
244
- DatePicker: {
245
- tillNow: "Till Now"
246
- },
247
- ErrorBlock: {
248
- default: {
249
- title: "Oops, something went wrong",
250
- description: "Please wait a minute and try again"
251
- },
252
- busy: {
253
- title: "Oops, not loading",
254
- description: "Try to refresh the page"
255
- },
256
- disconnected: {
257
- title: "Network is busy",
258
- description: "Try to refresh the page"
259
- },
260
- empty: {
261
- title: "Hmm, couldn't find that...",
262
- description: "Want to try a new search?"
263
- }
264
- },
265
- Form: {
266
- required: "Required",
267
- optional: "Optional",
268
- defaultValidateMessages: {
269
- default: "Field validation error for ${label}",
270
- required: "Please enter ${label}",
271
- enum: "${label} must be one of [${enum}]",
272
- whitespace: "${label} cannot be a blank character",
273
- date: {
274
- format: "${label} date format is invalid",
275
- parse: "${label} cannot be converted to a date",
276
- invalid: "${label} is an invalid date"
277
- },
278
- types: {
279
- string: typeTemplate$2,
280
- method: typeTemplate$2,
281
- array: typeTemplate$2,
282
- object: typeTemplate$2,
283
- number: typeTemplate$2,
284
- date: typeTemplate$2,
285
- boolean: typeTemplate$2,
286
- integer: typeTemplate$2,
287
- float: typeTemplate$2,
288
- regexp: typeTemplate$2,
289
- email: typeTemplate$2,
290
- url: typeTemplate$2,
291
- hex: typeTemplate$2
292
- },
293
- string: {
294
- len: "${label} must be ${len} characters",
295
- min: "${label} must be at least ${min} characters",
296
- max: "${label} must be up to ${max} characters",
297
- range: "${label} must be between ${min}-${max} characters"
298
- },
299
- number: {
300
- len: "${label} must be equal to ${len}",
301
- min: "${label} must be minimum ${min}",
302
- max: "${label} must be maximum ${max}",
303
- range: "${label} must be between ${min}-${max}"
304
- },
305
- array: {
306
- len: "Must be ${len} ${label}",
307
- min: "At least ${min} ${label}",
308
- max: "At most ${max} ${label}",
309
- range: "The amount of ${label} must be between ${min}-${max}"
310
- },
311
- pattern: {
312
- mismatch: "${label} does not match the pattern ${pattern}"
313
- }
314
- }
315
- },
316
- ImageUploader: {
317
- uploading: "Uploading...",
318
- upload: "Upload"
319
- },
320
- InfiniteScroll: {
321
- noMore: "No more",
322
- failedToLoad: "Failed to load",
323
- retry: "Retry"
324
- },
325
- Input: {
326
- clear: "clear"
327
- },
328
- Mask: {
329
- name: "Mask"
330
- },
331
- Modal: {
332
- ok: "OK"
333
- },
334
- PasscodeInput: {
335
- name: "Passcode Input"
336
- },
337
- PullToRefresh: {
338
- pulling: "Scroll down to refresh",
339
- canRelease: "Release to refresh immediately",
340
- complete: "Refresh successful"
341
- },
342
- SearchBar: {
343
- name: "Search Bar"
344
- },
345
- Slider: {
346
- name: "Slider"
347
- },
348
- Stepper: {
349
- decrease: "decrease",
350
- increase: "increase"
351
- },
352
- Switch: {
353
- name: "Switch"
354
- },
355
- Selector: {
356
- name: "Selector"
357
- }
358
- };
359
205
  const typeTemplate$1 = "${label}不是一个有效的${type}";
360
- const zhCN = mergeLocale(base, {
206
+ const zhCN = {
361
207
  locale: "zh-CH",
362
208
  common: {
363
209
  confirm: "确定",
@@ -494,7 +340,7 @@ const zhCN = mergeLocale(base, {
494
340
  Selector: {
495
341
  name: "选择组"
496
342
  }
497
- });
343
+ };
498
344
  const zhCN$1 = zhCN;
499
345
  const defaultConfigRef = {
500
346
  current: {
@@ -603,466 +449,15 @@ function withNativeProps(props, element) {
603
449
  }
604
450
  return React$1.cloneElement(element, p);
605
451
  }
606
- var freeGlobal$1 = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
607
- var _freeGlobal = freeGlobal$1;
608
- var freeGlobal = _freeGlobal;
609
- var freeSelf = typeof self == "object" && self && self.Object === Object && self;
610
- var root$9 = freeGlobal || freeSelf || Function("return this")();
611
- var _root = root$9;
612
- var root$8 = _root;
613
- var Symbol$4 = root$8.Symbol;
614
- var _Symbol = Symbol$4;
615
- var Symbol$3 = _Symbol;
616
- var objectProto$e = Object.prototype;
617
- var hasOwnProperty$b = objectProto$e.hasOwnProperty;
618
- var nativeObjectToString$1 = objectProto$e.toString;
619
- var symToStringTag$1 = Symbol$3 ? Symbol$3.toStringTag : void 0;
620
- function getRawTag$1(value) {
621
- var isOwn = hasOwnProperty$b.call(value, symToStringTag$1), tag = value[symToStringTag$1];
622
- try {
623
- value[symToStringTag$1] = void 0;
624
- var unmasked = true;
625
- } catch (e2) {
626
- }
627
- var result = nativeObjectToString$1.call(value);
628
- if (unmasked) {
629
- if (isOwn) {
630
- value[symToStringTag$1] = tag;
631
- } else {
632
- delete value[symToStringTag$1];
633
- }
634
- }
635
- return result;
636
- }
637
- var _getRawTag = getRawTag$1;
638
- var objectProto$d = Object.prototype;
639
- var nativeObjectToString = objectProto$d.toString;
640
- function objectToString$1(value) {
641
- return nativeObjectToString.call(value);
642
- }
643
- var _objectToString = objectToString$1;
644
- var Symbol$2 = _Symbol, getRawTag = _getRawTag, objectToString = _objectToString;
645
- var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
646
- var symToStringTag = Symbol$2 ? Symbol$2.toStringTag : void 0;
647
- function baseGetTag$6(value) {
648
- if (value == null) {
649
- return value === void 0 ? undefinedTag : nullTag;
650
- }
651
- return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
652
- }
653
- var _baseGetTag = baseGetTag$6;
654
- function isObject$b(value) {
655
- var type4 = typeof value;
656
- return value != null && (type4 == "object" || type4 == "function");
657
- }
658
- var isObject_1 = isObject$b;
659
- var baseGetTag$5 = _baseGetTag, isObject$a = isObject_1;
660
- var asyncTag = "[object AsyncFunction]", funcTag$1 = "[object Function]", genTag = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
661
- function isFunction$4(value) {
662
- if (!isObject$a(value)) {
663
- return false;
664
- }
665
- var tag = baseGetTag$5(value);
666
- return tag == funcTag$1 || tag == genTag || tag == asyncTag || tag == proxyTag;
667
- }
668
- var isFunction_1 = isFunction$4;
669
- var root$7 = _root;
670
- var coreJsData$1 = root$7["__core-js_shared__"];
671
- var _coreJsData = coreJsData$1;
672
- var coreJsData = _coreJsData;
673
- var maskSrcKey = function() {
674
- var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
675
- return uid ? "Symbol(src)_1." + uid : "";
676
- }();
677
- function isMasked$1(func) {
678
- return !!maskSrcKey && maskSrcKey in func;
679
- }
680
- var _isMasked = isMasked$1;
681
- var funcProto$2 = Function.prototype;
682
- var funcToString$2 = funcProto$2.toString;
683
- function toSource$2(func) {
684
- if (func != null) {
685
- try {
686
- return funcToString$2.call(func);
687
- } catch (e2) {
688
- }
689
- try {
690
- return func + "";
691
- } catch (e2) {
692
- }
693
- }
694
- return "";
695
- }
696
- var _toSource = toSource$2;
697
- var isFunction$3 = isFunction_1, isMasked = _isMasked, isObject$9 = isObject_1, toSource$1 = _toSource;
698
- var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
699
- var reIsHostCtor = /^\[object .+?Constructor\]$/;
700
- var funcProto$1 = Function.prototype, objectProto$c = Object.prototype;
701
- var funcToString$1 = funcProto$1.toString;
702
- var hasOwnProperty$a = objectProto$c.hasOwnProperty;
703
- var reIsNative = RegExp(
704
- "^" + funcToString$1.call(hasOwnProperty$a).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
705
- );
706
- function baseIsNative$1(value) {
707
- if (!isObject$9(value) || isMasked(value)) {
708
- return false;
709
- }
710
- var pattern4 = isFunction$3(value) ? reIsNative : reIsHostCtor;
711
- return pattern4.test(toSource$1(value));
712
- }
713
- var _baseIsNative = baseIsNative$1;
714
- function getValue$3(object4, key) {
715
- return object4 == null ? void 0 : object4[key];
716
- }
717
- var _getValue = getValue$3;
718
- var baseIsNative = _baseIsNative, getValue$2 = _getValue;
719
- function getNative$7(object4, key) {
720
- var value = getValue$2(object4, key);
721
- return baseIsNative(value) ? value : void 0;
722
- }
723
- var _getNative = getNative$7;
724
- var getNative$6 = _getNative;
725
- var defineProperty$2 = function() {
726
- try {
727
- var func = getNative$6(Object, "defineProperty");
728
- func({}, "", {});
729
- return func;
730
- } catch (e2) {
731
- }
732
- }();
733
- var _defineProperty$2 = defineProperty$2;
734
- var defineProperty$1 = _defineProperty$2;
735
- function baseAssignValue$3(object4, key, value) {
736
- if (key == "__proto__" && defineProperty$1) {
737
- defineProperty$1(object4, key, {
738
- "configurable": true,
739
- "enumerable": true,
740
- "value": value,
741
- "writable": true
742
- });
743
- } else {
744
- object4[key] = value;
745
- }
746
- }
747
- var _baseAssignValue = baseAssignValue$3;
748
- function eq$5(value, other) {
749
- return value === other || value !== value && other !== other;
750
- }
751
- var eq_1 = eq$5;
752
- var baseAssignValue$2 = _baseAssignValue, eq$4 = eq_1;
753
- var objectProto$b = Object.prototype;
754
- var hasOwnProperty$9 = objectProto$b.hasOwnProperty;
755
- function assignValue$1(object4, key, value) {
756
- var objValue = object4[key];
757
- if (!(hasOwnProperty$9.call(object4, key) && eq$4(objValue, value)) || value === void 0 && !(key in object4)) {
758
- baseAssignValue$2(object4, key, value);
759
- }
760
- }
761
- var _assignValue = assignValue$1;
762
- var assignValue = _assignValue, baseAssignValue$1 = _baseAssignValue;
763
- function copyObject$2(source, props, object4, customizer) {
764
- var isNew = !object4;
765
- object4 || (object4 = {});
766
- var index2 = -1, length = props.length;
767
- while (++index2 < length) {
768
- var key = props[index2];
769
- var newValue = customizer ? customizer(object4[key], source[key], key, object4, source) : void 0;
770
- if (newValue === void 0) {
771
- newValue = source[key];
772
- }
773
- if (isNew) {
774
- baseAssignValue$1(object4, key, newValue);
775
- } else {
776
- assignValue(object4, key, newValue);
777
- }
778
- }
779
- return object4;
780
- }
781
- var _copyObject = copyObject$2;
782
- function identity$3(value) {
783
- return value;
784
- }
785
- var identity_1 = identity$3;
786
- function apply$2(func, thisArg, args) {
787
- switch (args.length) {
788
- case 0:
789
- return func.call(thisArg);
790
- case 1:
791
- return func.call(thisArg, args[0]);
792
- case 2:
793
- return func.call(thisArg, args[0], args[1]);
794
- case 3:
795
- return func.call(thisArg, args[0], args[1], args[2]);
796
- }
797
- return func.apply(thisArg, args);
798
- }
799
- var _apply = apply$2;
800
- var apply$1 = _apply;
801
- var nativeMax$1 = Math.max;
802
- function overRest$1(func, start2, transform) {
803
- start2 = nativeMax$1(start2 === void 0 ? func.length - 1 : start2, 0);
804
- return function() {
805
- var args = arguments, index2 = -1, length = nativeMax$1(args.length - start2, 0), array4 = Array(length);
806
- while (++index2 < length) {
807
- array4[index2] = args[start2 + index2];
808
- }
809
- index2 = -1;
810
- var otherArgs = Array(start2 + 1);
811
- while (++index2 < start2) {
812
- otherArgs[index2] = args[index2];
813
- }
814
- otherArgs[start2] = transform(array4);
815
- return apply$1(func, this, otherArgs);
816
- };
817
- }
818
- var _overRest = overRest$1;
819
- function constant$1(value) {
820
- return function() {
821
- return value;
822
- };
823
- }
824
- var constant_1 = constant$1;
825
- var constant = constant_1, defineProperty = _defineProperty$2, identity$2 = identity_1;
826
- var baseSetToString$1 = !defineProperty ? identity$2 : function(func, string3) {
827
- return defineProperty(func, "toString", {
828
- "configurable": true,
829
- "enumerable": false,
830
- "value": constant(string3),
831
- "writable": true
832
- });
833
- };
834
- var _baseSetToString = baseSetToString$1;
835
- var HOT_COUNT = 800, HOT_SPAN = 16;
836
- var nativeNow = Date.now;
837
- function shortOut$1(func) {
838
- var count = 0, lastCalled = 0;
839
- return function() {
840
- var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
841
- lastCalled = stamp;
842
- if (remaining > 0) {
843
- if (++count >= HOT_COUNT) {
844
- return arguments[0];
845
- }
846
- } else {
847
- count = 0;
848
- }
849
- return func.apply(void 0, arguments);
850
- };
851
- }
852
- var _shortOut = shortOut$1;
853
- var baseSetToString = _baseSetToString, shortOut = _shortOut;
854
- var setToString$1 = shortOut(baseSetToString);
855
- var _setToString = setToString$1;
856
- var identity$1 = identity_1, overRest = _overRest, setToString = _setToString;
857
- function baseRest$1(func, start2) {
858
- return setToString(overRest(func, start2, identity$1), func + "");
859
- }
860
- var _baseRest = baseRest$1;
861
- var MAX_SAFE_INTEGER$1 = 9007199254740991;
862
- function isLength$2(value) {
863
- return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER$1;
864
- }
865
- var isLength_1 = isLength$2;
866
- var isFunction$2 = isFunction_1, isLength$1 = isLength_1;
867
- function isArrayLike$4(value) {
868
- return value != null && isLength$1(value.length) && !isFunction$2(value);
869
- }
870
- var isArrayLike_1 = isArrayLike$4;
871
- var MAX_SAFE_INTEGER = 9007199254740991;
872
- var reIsUint = /^(?:0|[1-9]\d*)$/;
873
- function isIndex$2(value, length) {
874
- var type4 = typeof value;
875
- length = length == null ? MAX_SAFE_INTEGER : length;
876
- return !!length && (type4 == "number" || type4 != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
877
- }
878
- var _isIndex = isIndex$2;
879
- var eq$3 = eq_1, isArrayLike$3 = isArrayLike_1, isIndex$1 = _isIndex, isObject$8 = isObject_1;
880
- function isIterateeCall$1(value, index2, object4) {
881
- if (!isObject$8(object4)) {
882
- return false;
883
- }
884
- var type4 = typeof index2;
885
- if (type4 == "number" ? isArrayLike$3(object4) && isIndex$1(index2, object4.length) : type4 == "string" && index2 in object4) {
886
- return eq$3(object4[index2], value);
887
- }
888
- return false;
889
- }
890
- var _isIterateeCall = isIterateeCall$1;
891
- var baseRest = _baseRest, isIterateeCall = _isIterateeCall;
892
- function createAssigner$2(assigner) {
893
- return baseRest(function(object4, sources) {
894
- var index2 = -1, length = sources.length, customizer = length > 1 ? sources[length - 1] : void 0, guard = length > 2 ? sources[2] : void 0;
895
- customizer = assigner.length > 3 && typeof customizer == "function" ? (length--, customizer) : void 0;
896
- if (guard && isIterateeCall(sources[0], sources[1], guard)) {
897
- customizer = length < 3 ? void 0 : customizer;
898
- length = 1;
899
- }
900
- object4 = Object(object4);
901
- while (++index2 < length) {
902
- var source = sources[index2];
903
- if (source) {
904
- assigner(object4, source, index2, customizer);
452
+ function mergeProps(...items) {
453
+ const ret = {};
454
+ items.forEach((item) => {
455
+ Object.keys(item).forEach((key) => {
456
+ if (item[key] !== void 0) {
457
+ ret[key] = item[key];
905
458
  }
906
- }
907
- return object4;
459
+ });
908
460
  });
909
- }
910
- var _createAssigner = createAssigner$2;
911
- function baseTimes$1(n2, iteratee) {
912
- var index2 = -1, result = Array(n2);
913
- while (++index2 < n2) {
914
- result[index2] = iteratee(index2);
915
- }
916
- return result;
917
- }
918
- var _baseTimes = baseTimes$1;
919
- function isObjectLike$7(value) {
920
- return value != null && typeof value == "object";
921
- }
922
- var isObjectLike_1 = isObjectLike$7;
923
- var baseGetTag$4 = _baseGetTag, isObjectLike$6 = isObjectLike_1;
924
- var argsTag$2 = "[object Arguments]";
925
- function baseIsArguments$1(value) {
926
- return isObjectLike$6(value) && baseGetTag$4(value) == argsTag$2;
927
- }
928
- var _baseIsArguments = baseIsArguments$1;
929
- var baseIsArguments = _baseIsArguments, isObjectLike$5 = isObjectLike_1;
930
- var objectProto$a = Object.prototype;
931
- var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
932
- var propertyIsEnumerable$1 = objectProto$a.propertyIsEnumerable;
933
- var isArguments$2 = baseIsArguments(/* @__PURE__ */ function() {
934
- return arguments;
935
- }()) ? baseIsArguments : function(value) {
936
- return isObjectLike$5(value) && hasOwnProperty$8.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
937
- };
938
- var isArguments_1 = isArguments$2;
939
- var isArray$4 = Array.isArray;
940
- var isArray_1 = isArray$4;
941
- var isBuffer$3 = { exports: {} };
942
- function stubFalse() {
943
- return false;
944
- }
945
- var stubFalse_1 = stubFalse;
946
- isBuffer$3.exports;
947
- (function(module2, exports2) {
948
- var root2 = _root, stubFalse2 = stubFalse_1;
949
- var freeExports = exports2 && !exports2.nodeType && exports2;
950
- var freeModule = freeExports && true && module2 && !module2.nodeType && module2;
951
- var moduleExports = freeModule && freeModule.exports === freeExports;
952
- var Buffer = moduleExports ? root2.Buffer : void 0;
953
- var nativeIsBuffer = Buffer ? Buffer.isBuffer : void 0;
954
- var isBuffer2 = nativeIsBuffer || stubFalse2;
955
- module2.exports = isBuffer2;
956
- })(isBuffer$3, isBuffer$3.exports);
957
- var isBufferExports = isBuffer$3.exports;
958
- var baseGetTag$3 = _baseGetTag, isLength = isLength_1, isObjectLike$4 = isObjectLike_1;
959
- var argsTag$1 = "[object Arguments]", arrayTag$1 = "[object Array]", boolTag$1 = "[object Boolean]", dateTag$1 = "[object Date]", errorTag$1 = "[object Error]", funcTag = "[object Function]", mapTag$2 = "[object Map]", numberTag$1 = "[object Number]", objectTag$3 = "[object Object]", regexpTag$1 = "[object RegExp]", setTag$2 = "[object Set]", stringTag$1 = "[object String]", weakMapTag$1 = "[object WeakMap]";
960
- var arrayBufferTag$1 = "[object ArrayBuffer]", dataViewTag$2 = "[object DataView]", float32Tag = "[object Float32Array]", float64Tag = "[object Float64Array]", int8Tag = "[object Int8Array]", int16Tag = "[object Int16Array]", int32Tag = "[object Int32Array]", uint8Tag = "[object Uint8Array]", uint8ClampedTag = "[object Uint8ClampedArray]", uint16Tag = "[object Uint16Array]", uint32Tag = "[object Uint32Array]";
961
- var typedArrayTags = {};
962
- typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
963
- typedArrayTags[argsTag$1] = typedArrayTags[arrayTag$1] = typedArrayTags[arrayBufferTag$1] = typedArrayTags[boolTag$1] = typedArrayTags[dataViewTag$2] = typedArrayTags[dateTag$1] = typedArrayTags[errorTag$1] = typedArrayTags[funcTag] = typedArrayTags[mapTag$2] = typedArrayTags[numberTag$1] = typedArrayTags[objectTag$3] = typedArrayTags[regexpTag$1] = typedArrayTags[setTag$2] = typedArrayTags[stringTag$1] = typedArrayTags[weakMapTag$1] = false;
964
- function baseIsTypedArray$1(value) {
965
- return isObjectLike$4(value) && isLength(value.length) && !!typedArrayTags[baseGetTag$3(value)];
966
- }
967
- var _baseIsTypedArray = baseIsTypedArray$1;
968
- function baseUnary$1(func) {
969
- return function(value) {
970
- return func(value);
971
- };
972
- }
973
- var _baseUnary = baseUnary$1;
974
- var _nodeUtil = { exports: {} };
975
- _nodeUtil.exports;
976
- (function(module2, exports2) {
977
- var freeGlobal2 = _freeGlobal;
978
- var freeExports = exports2 && !exports2.nodeType && exports2;
979
- var freeModule = freeExports && true && module2 && !module2.nodeType && module2;
980
- var moduleExports = freeModule && freeModule.exports === freeExports;
981
- var freeProcess = moduleExports && freeGlobal2.process;
982
- var nodeUtil2 = function() {
983
- try {
984
- var types2 = freeModule && freeModule.require && freeModule.require("util").types;
985
- if (types2) {
986
- return types2;
987
- }
988
- return freeProcess && freeProcess.binding && freeProcess.binding("util");
989
- } catch (e2) {
990
- }
991
- }();
992
- module2.exports = nodeUtil2;
993
- })(_nodeUtil, _nodeUtil.exports);
994
- var _nodeUtilExports = _nodeUtil.exports;
995
- var baseIsTypedArray = _baseIsTypedArray, baseUnary = _baseUnary, nodeUtil = _nodeUtilExports;
996
- var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
997
- var isTypedArray$3 = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
998
- var isTypedArray_1 = isTypedArray$3;
999
- var baseTimes = _baseTimes, isArguments$1 = isArguments_1, isArray$3 = isArray_1, isBuffer$2 = isBufferExports, isIndex = _isIndex, isTypedArray$2 = isTypedArray_1;
1000
- var objectProto$9 = Object.prototype;
1001
- var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
1002
- function arrayLikeKeys$2(value, inherited) {
1003
- var isArr = isArray$3(value), isArg = !isArr && isArguments$1(value), isBuff = !isArr && !isArg && isBuffer$2(value), isType = !isArr && !isArg && !isBuff && isTypedArray$2(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
1004
- for (var key in value) {
1005
- if ((inherited || hasOwnProperty$7.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
1006
- (key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
1007
- isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
1008
- isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
1009
- isIndex(key, length)))) {
1010
- result.push(key);
1011
- }
1012
- }
1013
- return result;
1014
- }
1015
- var _arrayLikeKeys = arrayLikeKeys$2;
1016
- var objectProto$8 = Object.prototype;
1017
- function isPrototype$3(value) {
1018
- var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$8;
1019
- return value === proto;
1020
- }
1021
- var _isPrototype = isPrototype$3;
1022
- function overArg$2(func, transform) {
1023
- return function(arg) {
1024
- return func(transform(arg));
1025
- };
1026
- }
1027
- var _overArg = overArg$2;
1028
- var overArg$1 = _overArg;
1029
- var nativeKeys$1 = overArg$1(Object.keys, Object);
1030
- var _nativeKeys = nativeKeys$1;
1031
- var isPrototype$2 = _isPrototype, nativeKeys = _nativeKeys;
1032
- var objectProto$7 = Object.prototype;
1033
- var hasOwnProperty$6 = objectProto$7.hasOwnProperty;
1034
- function baseKeys$1(object4) {
1035
- if (!isPrototype$2(object4)) {
1036
- return nativeKeys(object4);
1037
- }
1038
- var result = [];
1039
- for (var key in Object(object4)) {
1040
- if (hasOwnProperty$6.call(object4, key) && key != "constructor") {
1041
- result.push(key);
1042
- }
1043
- }
1044
- return result;
1045
- }
1046
- var _baseKeys = baseKeys$1;
1047
- var arrayLikeKeys$1 = _arrayLikeKeys, baseKeys = _baseKeys, isArrayLike$2 = isArrayLike_1;
1048
- function keys$2(object4) {
1049
- return isArrayLike$2(object4) ? arrayLikeKeys$1(object4) : baseKeys(object4);
1050
- }
1051
- var keys_1 = keys$2;
1052
- var copyObject$1 = _copyObject, createAssigner$1 = _createAssigner, keys$1 = keys_1;
1053
- var assignWith = createAssigner$1(function(object4, source, srcIndex, customizer) {
1054
- copyObject$1(source, keys$1(source), object4, customizer);
1055
- });
1056
- var assignWith_1 = assignWith;
1057
- const assignWith$1 = /* @__PURE__ */ getDefaultExportFromCjs(assignWith_1);
1058
- function mergeProps(...items) {
1059
- function customizer(objValue, srcValue) {
1060
- return srcValue === void 0 ? objValue : srcValue;
1061
- }
1062
- let ret = Object.assign({}, items[0]);
1063
- for (let i2 = 1; i2 < items.length; i2++) {
1064
- ret = assignWith$1(ret, items[i2], customizer);
1065
- }
1066
461
  return ret;
1067
462
  }
1068
463
  var createUpdateEffect = function(hook) {
@@ -1082,7 +477,7 @@ var createUpdateEffect = function(hook) {
1082
477
  }, deps);
1083
478
  };
1084
479
  };
1085
- var isFunction$1 = function(value) {
480
+ var isFunction = function(value) {
1086
481
  return typeof value === "function";
1087
482
  };
1088
483
  var isNumber = function(value) {
@@ -1092,7 +487,7 @@ var isDev = true;
1092
487
  const isDev$1 = isDev;
1093
488
  function useMemoizedFn(fn) {
1094
489
  if (isDev$1) {
1095
- if (!isFunction$1(fn)) {
490
+ if (!isFunction(fn)) {
1096
491
  console.error("useMemoizedFn expected parameter is a function, got ".concat(typeof fn));
1097
492
  }
1098
493
  }
@@ -1129,7 +524,7 @@ function useLatest(value) {
1129
524
  }
1130
525
  var useUnmount = function(fn) {
1131
526
  if (isDev$1) {
1132
- if (!isFunction$1(fn)) {
527
+ if (!isFunction(fn)) {
1133
528
  console.error("useUnmount expected parameter is a function, got ".concat(typeof fn));
1134
529
  }
1135
530
  }
@@ -1141,9 +536,20 @@ var useUnmount = function(fn) {
1141
536
  }, []);
1142
537
  };
1143
538
  const useUnmount$1 = useUnmount;
1144
- var root$6 = _root;
539
+ function isObject$4(value) {
540
+ var type4 = typeof value;
541
+ return value != null && (type4 == "object" || type4 == "function");
542
+ }
543
+ var isObject_1 = isObject$4;
544
+ var freeGlobal$1 = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
545
+ var _freeGlobal = freeGlobal$1;
546
+ var freeGlobal = _freeGlobal;
547
+ var freeSelf = typeof self == "object" && self && self.Object === Object && self;
548
+ var root$2 = freeGlobal || freeSelf || Function("return this")();
549
+ var _root = root$2;
550
+ var root$1 = _root;
1145
551
  var now$1 = function() {
1146
- return root$6.Date.now();
552
+ return root$1.Date.now();
1147
553
  };
1148
554
  var now_1 = now$1;
1149
555
  var reWhitespace = /\s/;
@@ -1160,13 +566,59 @@ function baseTrim$1(string3) {
1160
566
  return string3 ? string3.slice(0, trimmedEndIndex(string3) + 1).replace(reTrimStart, "") : string3;
1161
567
  }
1162
568
  var _baseTrim = baseTrim$1;
1163
- var baseGetTag$2 = _baseGetTag, isObjectLike$3 = isObjectLike_1;
1164
- var symbolTag$1 = "[object Symbol]";
569
+ var root = _root;
570
+ var Symbol$3 = root.Symbol;
571
+ var _Symbol = Symbol$3;
572
+ var Symbol$2 = _Symbol;
573
+ var objectProto$1 = Object.prototype;
574
+ var hasOwnProperty = objectProto$1.hasOwnProperty;
575
+ var nativeObjectToString$1 = objectProto$1.toString;
576
+ var symToStringTag$1 = Symbol$2 ? Symbol$2.toStringTag : void 0;
577
+ function getRawTag$1(value) {
578
+ var isOwn = hasOwnProperty.call(value, symToStringTag$1), tag = value[symToStringTag$1];
579
+ try {
580
+ value[symToStringTag$1] = void 0;
581
+ var unmasked = true;
582
+ } catch (e2) {
583
+ }
584
+ var result = nativeObjectToString$1.call(value);
585
+ if (unmasked) {
586
+ if (isOwn) {
587
+ value[symToStringTag$1] = tag;
588
+ } else {
589
+ delete value[symToStringTag$1];
590
+ }
591
+ }
592
+ return result;
593
+ }
594
+ var _getRawTag = getRawTag$1;
595
+ var objectProto = Object.prototype;
596
+ var nativeObjectToString = objectProto.toString;
597
+ function objectToString$1(value) {
598
+ return nativeObjectToString.call(value);
599
+ }
600
+ var _objectToString = objectToString$1;
601
+ var Symbol$1 = _Symbol, getRawTag = _getRawTag, objectToString = _objectToString;
602
+ var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
603
+ var symToStringTag = Symbol$1 ? Symbol$1.toStringTag : void 0;
604
+ function baseGetTag$1(value) {
605
+ if (value == null) {
606
+ return value === void 0 ? undefinedTag : nullTag;
607
+ }
608
+ return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
609
+ }
610
+ var _baseGetTag = baseGetTag$1;
611
+ function isObjectLike$1(value) {
612
+ return value != null && typeof value == "object";
613
+ }
614
+ var isObjectLike_1 = isObjectLike$1;
615
+ var baseGetTag = _baseGetTag, isObjectLike = isObjectLike_1;
616
+ var symbolTag = "[object Symbol]";
1165
617
  function isSymbol$1(value) {
1166
- return typeof value == "symbol" || isObjectLike$3(value) && baseGetTag$2(value) == symbolTag$1;
618
+ return typeof value == "symbol" || isObjectLike(value) && baseGetTag(value) == symbolTag;
1167
619
  }
1168
620
  var isSymbol_1 = isSymbol$1;
1169
- var baseTrim = _baseTrim, isObject$7 = isObject_1, isSymbol = isSymbol_1;
621
+ var baseTrim = _baseTrim, isObject$3 = isObject_1, isSymbol = isSymbol_1;
1170
622
  var NAN = 0 / 0;
1171
623
  var reIsBadHex = /^[-+]0x[0-9a-f]+$/i;
1172
624
  var reIsBinary = /^0b[01]+$/i;
@@ -1179,9 +631,9 @@ function toNumber$1(value) {
1179
631
  if (isSymbol(value)) {
1180
632
  return NAN;
1181
633
  }
1182
- if (isObject$7(value)) {
634
+ if (isObject$3(value)) {
1183
635
  var other = typeof value.valueOf == "function" ? value.valueOf() : value;
1184
- value = isObject$7(other) ? other + "" : other;
636
+ value = isObject$3(other) ? other + "" : other;
1185
637
  }
1186
638
  if (typeof value != "string") {
1187
639
  return value === 0 ? value : +value;
@@ -1191,16 +643,16 @@ function toNumber$1(value) {
1191
643
  return isBinary || reIsOctal.test(value) ? freeParseInt(value.slice(2), isBinary ? 2 : 8) : reIsBadHex.test(value) ? NAN : +value;
1192
644
  }
1193
645
  var toNumber_1 = toNumber$1;
1194
- var isObject$6 = isObject_1, now = now_1, toNumber = toNumber_1;
1195
- var FUNC_ERROR_TEXT$2 = "Expected a function";
646
+ var isObject$2 = isObject_1, now = now_1, toNumber = toNumber_1;
647
+ var FUNC_ERROR_TEXT$1 = "Expected a function";
1196
648
  var nativeMax = Math.max, nativeMin = Math.min;
1197
649
  function debounce$1(func, wait, options) {
1198
650
  var lastArgs, lastThis, maxWait, result, timerId, lastCallTime, lastInvokeTime = 0, leading = false, maxing = false, trailing = true;
1199
651
  if (typeof func != "function") {
1200
- throw new TypeError(FUNC_ERROR_TEXT$2);
652
+ throw new TypeError(FUNC_ERROR_TEXT$1);
1201
653
  }
1202
654
  wait = toNumber(wait) || 0;
1203
- if (isObject$6(options)) {
655
+ if (isObject$2(options)) {
1204
656
  leading = !!options.leading;
1205
657
  maxing = "maxWait" in options;
1206
658
  maxWait = maxing ? nativeMax(toNumber(options.maxWait) || 0, wait) : maxWait;
@@ -1279,14 +731,14 @@ var debounce_1 = debounce$1;
1279
731
  const debounce$2 = /* @__PURE__ */ getDefaultExportFromCjs(debounce_1);
1280
732
  var isBrowser$2 = !!(typeof window !== "undefined" && window.document && window.document.createElement);
1281
733
  const isBrowser$3 = isBrowser$2;
1282
- var debounce = debounce_1, isObject$5 = isObject_1;
1283
- var FUNC_ERROR_TEXT$1 = "Expected a function";
734
+ var debounce = debounce_1, isObject$1 = isObject_1;
735
+ var FUNC_ERROR_TEXT = "Expected a function";
1284
736
  function throttle$1(func, wait, options) {
1285
737
  var leading = true, trailing = true;
1286
738
  if (typeof func != "function") {
1287
- throw new TypeError(FUNC_ERROR_TEXT$1);
739
+ throw new TypeError(FUNC_ERROR_TEXT);
1288
740
  }
1289
- if (isObject$5(options)) {
741
+ if (isObject$1(options)) {
1290
742
  leading = "leading" in options ? !!options.leading : leading;
1291
743
  trailing = "trailing" in options ? !!options.trailing : trailing;
1292
744
  }
@@ -1300,7 +752,7 @@ var throttle_1 = throttle$1;
1300
752
  const throttle$2 = /* @__PURE__ */ getDefaultExportFromCjs(throttle_1);
1301
753
  var useMount = function(fn) {
1302
754
  if (isDev$1) {
1303
- if (!isFunction$1(fn)) {
755
+ if (!isFunction(fn)) {
1304
756
  console.error('useMount: parameter `fn` expected to be a function, but got "'.concat(typeof fn, '".'));
1305
757
  }
1306
758
  }
@@ -1324,7 +776,7 @@ function getTargetElement(target, defaultElement) {
1324
776
  return defaultElement;
1325
777
  }
1326
778
  var targetElement;
1327
- if (isFunction$1(target)) {
779
+ if (isFunction(target)) {
1328
780
  targetElement = target();
1329
781
  } else if ("current" in target) {
1330
782
  targetElement = target.current;
@@ -1719,7 +1171,7 @@ const dayjs = /* @__PURE__ */ getDefaultExportFromCjs(dayjs_minExports);
1719
1171
  function useDebounceFn(fn, options) {
1720
1172
  var _a;
1721
1173
  if (isDev$1) {
1722
- if (!isFunction$1(fn)) {
1174
+ if (!isFunction(fn)) {
1723
1175
  console.error("useDebounceFn expected parameter is a function, got ".concat(typeof fn));
1724
1176
  }
1725
1177
  }
@@ -1753,590 +1205,6 @@ function useDebounceEffect(effect, deps, options) {
1753
1205
  }, deps);
1754
1206
  useUpdateEffect(effect, [flag]);
1755
1207
  }
1756
- function listCacheClear$1() {
1757
- this.__data__ = [];
1758
- this.size = 0;
1759
- }
1760
- var _listCacheClear = listCacheClear$1;
1761
- var eq$2 = eq_1;
1762
- function assocIndexOf$4(array4, key) {
1763
- var length = array4.length;
1764
- while (length--) {
1765
- if (eq$2(array4[length][0], key)) {
1766
- return length;
1767
- }
1768
- }
1769
- return -1;
1770
- }
1771
- var _assocIndexOf = assocIndexOf$4;
1772
- var assocIndexOf$3 = _assocIndexOf;
1773
- var arrayProto = Array.prototype;
1774
- var splice = arrayProto.splice;
1775
- function listCacheDelete$1(key) {
1776
- var data = this.__data__, index2 = assocIndexOf$3(data, key);
1777
- if (index2 < 0) {
1778
- return false;
1779
- }
1780
- var lastIndex = data.length - 1;
1781
- if (index2 == lastIndex) {
1782
- data.pop();
1783
- } else {
1784
- splice.call(data, index2, 1);
1785
- }
1786
- --this.size;
1787
- return true;
1788
- }
1789
- var _listCacheDelete = listCacheDelete$1;
1790
- var assocIndexOf$2 = _assocIndexOf;
1791
- function listCacheGet$1(key) {
1792
- var data = this.__data__, index2 = assocIndexOf$2(data, key);
1793
- return index2 < 0 ? void 0 : data[index2][1];
1794
- }
1795
- var _listCacheGet = listCacheGet$1;
1796
- var assocIndexOf$1 = _assocIndexOf;
1797
- function listCacheHas$1(key) {
1798
- return assocIndexOf$1(this.__data__, key) > -1;
1799
- }
1800
- var _listCacheHas = listCacheHas$1;
1801
- var assocIndexOf = _assocIndexOf;
1802
- function listCacheSet$1(key, value) {
1803
- var data = this.__data__, index2 = assocIndexOf(data, key);
1804
- if (index2 < 0) {
1805
- ++this.size;
1806
- data.push([key, value]);
1807
- } else {
1808
- data[index2][1] = value;
1809
- }
1810
- return this;
1811
- }
1812
- var _listCacheSet = listCacheSet$1;
1813
- var listCacheClear = _listCacheClear, listCacheDelete = _listCacheDelete, listCacheGet = _listCacheGet, listCacheHas = _listCacheHas, listCacheSet = _listCacheSet;
1814
- function ListCache$4(entries) {
1815
- var index2 = -1, length = entries == null ? 0 : entries.length;
1816
- this.clear();
1817
- while (++index2 < length) {
1818
- var entry = entries[index2];
1819
- this.set(entry[0], entry[1]);
1820
- }
1821
- }
1822
- ListCache$4.prototype.clear = listCacheClear;
1823
- ListCache$4.prototype["delete"] = listCacheDelete;
1824
- ListCache$4.prototype.get = listCacheGet;
1825
- ListCache$4.prototype.has = listCacheHas;
1826
- ListCache$4.prototype.set = listCacheSet;
1827
- var _ListCache = ListCache$4;
1828
- var ListCache$3 = _ListCache;
1829
- function stackClear$1() {
1830
- this.__data__ = new ListCache$3();
1831
- this.size = 0;
1832
- }
1833
- var _stackClear = stackClear$1;
1834
- function stackDelete$1(key) {
1835
- var data = this.__data__, result = data["delete"](key);
1836
- this.size = data.size;
1837
- return result;
1838
- }
1839
- var _stackDelete = stackDelete$1;
1840
- function stackGet$1(key) {
1841
- return this.__data__.get(key);
1842
- }
1843
- var _stackGet = stackGet$1;
1844
- function stackHas$1(key) {
1845
- return this.__data__.has(key);
1846
- }
1847
- var _stackHas = stackHas$1;
1848
- var getNative$5 = _getNative, root$5 = _root;
1849
- var Map$4 = getNative$5(root$5, "Map");
1850
- var _Map = Map$4;
1851
- var getNative$4 = _getNative;
1852
- var nativeCreate$4 = getNative$4(Object, "create");
1853
- var _nativeCreate = nativeCreate$4;
1854
- var nativeCreate$3 = _nativeCreate;
1855
- function hashClear$1() {
1856
- this.__data__ = nativeCreate$3 ? nativeCreate$3(null) : {};
1857
- this.size = 0;
1858
- }
1859
- var _hashClear = hashClear$1;
1860
- function hashDelete$1(key) {
1861
- var result = this.has(key) && delete this.__data__[key];
1862
- this.size -= result ? 1 : 0;
1863
- return result;
1864
- }
1865
- var _hashDelete = hashDelete$1;
1866
- var nativeCreate$2 = _nativeCreate;
1867
- var HASH_UNDEFINED$2 = "__lodash_hash_undefined__";
1868
- var objectProto$6 = Object.prototype;
1869
- var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
1870
- function hashGet$1(key) {
1871
- var data = this.__data__;
1872
- if (nativeCreate$2) {
1873
- var result = data[key];
1874
- return result === HASH_UNDEFINED$2 ? void 0 : result;
1875
- }
1876
- return hasOwnProperty$5.call(data, key) ? data[key] : void 0;
1877
- }
1878
- var _hashGet = hashGet$1;
1879
- var nativeCreate$1 = _nativeCreate;
1880
- var objectProto$5 = Object.prototype;
1881
- var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
1882
- function hashHas$1(key) {
1883
- var data = this.__data__;
1884
- return nativeCreate$1 ? data[key] !== void 0 : hasOwnProperty$4.call(data, key);
1885
- }
1886
- var _hashHas = hashHas$1;
1887
- var nativeCreate = _nativeCreate;
1888
- var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
1889
- function hashSet$1(key, value) {
1890
- var data = this.__data__;
1891
- this.size += this.has(key) ? 0 : 1;
1892
- data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED$1 : value;
1893
- return this;
1894
- }
1895
- var _hashSet = hashSet$1;
1896
- var hashClear = _hashClear, hashDelete = _hashDelete, hashGet = _hashGet, hashHas = _hashHas, hashSet = _hashSet;
1897
- function Hash$1(entries) {
1898
- var index2 = -1, length = entries == null ? 0 : entries.length;
1899
- this.clear();
1900
- while (++index2 < length) {
1901
- var entry = entries[index2];
1902
- this.set(entry[0], entry[1]);
1903
- }
1904
- }
1905
- Hash$1.prototype.clear = hashClear;
1906
- Hash$1.prototype["delete"] = hashDelete;
1907
- Hash$1.prototype.get = hashGet;
1908
- Hash$1.prototype.has = hashHas;
1909
- Hash$1.prototype.set = hashSet;
1910
- var _Hash = Hash$1;
1911
- var Hash = _Hash, ListCache$2 = _ListCache, Map$3 = _Map;
1912
- function mapCacheClear$1() {
1913
- this.size = 0;
1914
- this.__data__ = {
1915
- "hash": new Hash(),
1916
- "map": new (Map$3 || ListCache$2)(),
1917
- "string": new Hash()
1918
- };
1919
- }
1920
- var _mapCacheClear = mapCacheClear$1;
1921
- function isKeyable$1(value) {
1922
- var type4 = typeof value;
1923
- return type4 == "string" || type4 == "number" || type4 == "symbol" || type4 == "boolean" ? value !== "__proto__" : value === null;
1924
- }
1925
- var _isKeyable = isKeyable$1;
1926
- var isKeyable = _isKeyable;
1927
- function getMapData$4(map, key) {
1928
- var data = map.__data__;
1929
- return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
1930
- }
1931
- var _getMapData = getMapData$4;
1932
- var getMapData$3 = _getMapData;
1933
- function mapCacheDelete$1(key) {
1934
- var result = getMapData$3(this, key)["delete"](key);
1935
- this.size -= result ? 1 : 0;
1936
- return result;
1937
- }
1938
- var _mapCacheDelete = mapCacheDelete$1;
1939
- var getMapData$2 = _getMapData;
1940
- function mapCacheGet$1(key) {
1941
- return getMapData$2(this, key).get(key);
1942
- }
1943
- var _mapCacheGet = mapCacheGet$1;
1944
- var getMapData$1 = _getMapData;
1945
- function mapCacheHas$1(key) {
1946
- return getMapData$1(this, key).has(key);
1947
- }
1948
- var _mapCacheHas = mapCacheHas$1;
1949
- var getMapData = _getMapData;
1950
- function mapCacheSet$1(key, value) {
1951
- var data = getMapData(this, key), size = data.size;
1952
- data.set(key, value);
1953
- this.size += data.size == size ? 0 : 1;
1954
- return this;
1955
- }
1956
- var _mapCacheSet = mapCacheSet$1;
1957
- var mapCacheClear = _mapCacheClear, mapCacheDelete = _mapCacheDelete, mapCacheGet = _mapCacheGet, mapCacheHas = _mapCacheHas, mapCacheSet = _mapCacheSet;
1958
- function MapCache$3(entries) {
1959
- var index2 = -1, length = entries == null ? 0 : entries.length;
1960
- this.clear();
1961
- while (++index2 < length) {
1962
- var entry = entries[index2];
1963
- this.set(entry[0], entry[1]);
1964
- }
1965
- }
1966
- MapCache$3.prototype.clear = mapCacheClear;
1967
- MapCache$3.prototype["delete"] = mapCacheDelete;
1968
- MapCache$3.prototype.get = mapCacheGet;
1969
- MapCache$3.prototype.has = mapCacheHas;
1970
- MapCache$3.prototype.set = mapCacheSet;
1971
- var _MapCache = MapCache$3;
1972
- var ListCache$1 = _ListCache, Map$2 = _Map, MapCache$2 = _MapCache;
1973
- var LARGE_ARRAY_SIZE = 200;
1974
- function stackSet$1(key, value) {
1975
- var data = this.__data__;
1976
- if (data instanceof ListCache$1) {
1977
- var pairs = data.__data__;
1978
- if (!Map$2 || pairs.length < LARGE_ARRAY_SIZE - 1) {
1979
- pairs.push([key, value]);
1980
- this.size = ++data.size;
1981
- return this;
1982
- }
1983
- data = this.__data__ = new MapCache$2(pairs);
1984
- }
1985
- data.set(key, value);
1986
- this.size = data.size;
1987
- return this;
1988
- }
1989
- var _stackSet = stackSet$1;
1990
- var ListCache = _ListCache, stackClear = _stackClear, stackDelete = _stackDelete, stackGet = _stackGet, stackHas = _stackHas, stackSet = _stackSet;
1991
- function Stack$2(entries) {
1992
- var data = this.__data__ = new ListCache(entries);
1993
- this.size = data.size;
1994
- }
1995
- Stack$2.prototype.clear = stackClear;
1996
- Stack$2.prototype["delete"] = stackDelete;
1997
- Stack$2.prototype.get = stackGet;
1998
- Stack$2.prototype.has = stackHas;
1999
- Stack$2.prototype.set = stackSet;
2000
- var _Stack = Stack$2;
2001
- var HASH_UNDEFINED = "__lodash_hash_undefined__";
2002
- function setCacheAdd$1(value) {
2003
- this.__data__.set(value, HASH_UNDEFINED);
2004
- return this;
2005
- }
2006
- var _setCacheAdd = setCacheAdd$1;
2007
- function setCacheHas$1(value) {
2008
- return this.__data__.has(value);
2009
- }
2010
- var _setCacheHas = setCacheHas$1;
2011
- var MapCache$1 = _MapCache, setCacheAdd = _setCacheAdd, setCacheHas = _setCacheHas;
2012
- function SetCache$1(values) {
2013
- var index2 = -1, length = values == null ? 0 : values.length;
2014
- this.__data__ = new MapCache$1();
2015
- while (++index2 < length) {
2016
- this.add(values[index2]);
2017
- }
2018
- }
2019
- SetCache$1.prototype.add = SetCache$1.prototype.push = setCacheAdd;
2020
- SetCache$1.prototype.has = setCacheHas;
2021
- var _SetCache = SetCache$1;
2022
- function arraySome$1(array4, predicate) {
2023
- var index2 = -1, length = array4 == null ? 0 : array4.length;
2024
- while (++index2 < length) {
2025
- if (predicate(array4[index2], index2, array4)) {
2026
- return true;
2027
- }
2028
- }
2029
- return false;
2030
- }
2031
- var _arraySome = arraySome$1;
2032
- function cacheHas$1(cache, key) {
2033
- return cache.has(key);
2034
- }
2035
- var _cacheHas = cacheHas$1;
2036
- var SetCache = _SetCache, arraySome = _arraySome, cacheHas = _cacheHas;
2037
- var COMPARE_PARTIAL_FLAG$3 = 1, COMPARE_UNORDERED_FLAG$1 = 2;
2038
- function equalArrays$2(array4, other, bitmask, customizer, equalFunc, stack) {
2039
- var isPartial = bitmask & COMPARE_PARTIAL_FLAG$3, arrLength = array4.length, othLength = other.length;
2040
- if (arrLength != othLength && !(isPartial && othLength > arrLength)) {
2041
- return false;
2042
- }
2043
- var arrStacked = stack.get(array4);
2044
- var othStacked = stack.get(other);
2045
- if (arrStacked && othStacked) {
2046
- return arrStacked == other && othStacked == array4;
2047
- }
2048
- var index2 = -1, result = true, seen = bitmask & COMPARE_UNORDERED_FLAG$1 ? new SetCache() : void 0;
2049
- stack.set(array4, other);
2050
- stack.set(other, array4);
2051
- while (++index2 < arrLength) {
2052
- var arrValue = array4[index2], othValue = other[index2];
2053
- if (customizer) {
2054
- var compared = isPartial ? customizer(othValue, arrValue, index2, other, array4, stack) : customizer(arrValue, othValue, index2, array4, other, stack);
2055
- }
2056
- if (compared !== void 0) {
2057
- if (compared) {
2058
- continue;
2059
- }
2060
- result = false;
2061
- break;
2062
- }
2063
- if (seen) {
2064
- if (!arraySome(other, function(othValue2, othIndex) {
2065
- if (!cacheHas(seen, othIndex) && (arrValue === othValue2 || equalFunc(arrValue, othValue2, bitmask, customizer, stack))) {
2066
- return seen.push(othIndex);
2067
- }
2068
- })) {
2069
- result = false;
2070
- break;
2071
- }
2072
- } else if (!(arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {
2073
- result = false;
2074
- break;
2075
- }
2076
- }
2077
- stack["delete"](array4);
2078
- stack["delete"](other);
2079
- return result;
2080
- }
2081
- var _equalArrays = equalArrays$2;
2082
- var root$4 = _root;
2083
- var Uint8Array$2 = root$4.Uint8Array;
2084
- var _Uint8Array = Uint8Array$2;
2085
- function mapToArray$1(map) {
2086
- var index2 = -1, result = Array(map.size);
2087
- map.forEach(function(value, key) {
2088
- result[++index2] = [key, value];
2089
- });
2090
- return result;
2091
- }
2092
- var _mapToArray = mapToArray$1;
2093
- function setToArray$1(set2) {
2094
- var index2 = -1, result = Array(set2.size);
2095
- set2.forEach(function(value) {
2096
- result[++index2] = value;
2097
- });
2098
- return result;
2099
- }
2100
- var _setToArray = setToArray$1;
2101
- var Symbol$1 = _Symbol, Uint8Array$1 = _Uint8Array, eq$1 = eq_1, equalArrays$1 = _equalArrays, mapToArray = _mapToArray, setToArray = _setToArray;
2102
- var COMPARE_PARTIAL_FLAG$2 = 1, COMPARE_UNORDERED_FLAG = 2;
2103
- var boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", mapTag$1 = "[object Map]", numberTag = "[object Number]", regexpTag = "[object RegExp]", setTag$1 = "[object Set]", stringTag = "[object String]", symbolTag = "[object Symbol]";
2104
- var arrayBufferTag = "[object ArrayBuffer]", dataViewTag$1 = "[object DataView]";
2105
- var symbolProto = Symbol$1 ? Symbol$1.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
2106
- function equalByTag$1(object4, other, tag, bitmask, customizer, equalFunc, stack) {
2107
- switch (tag) {
2108
- case dataViewTag$1:
2109
- if (object4.byteLength != other.byteLength || object4.byteOffset != other.byteOffset) {
2110
- return false;
2111
- }
2112
- object4 = object4.buffer;
2113
- other = other.buffer;
2114
- case arrayBufferTag:
2115
- if (object4.byteLength != other.byteLength || !equalFunc(new Uint8Array$1(object4), new Uint8Array$1(other))) {
2116
- return false;
2117
- }
2118
- return true;
2119
- case boolTag:
2120
- case dateTag:
2121
- case numberTag:
2122
- return eq$1(+object4, +other);
2123
- case errorTag:
2124
- return object4.name == other.name && object4.message == other.message;
2125
- case regexpTag:
2126
- case stringTag:
2127
- return object4 == other + "";
2128
- case mapTag$1:
2129
- var convert = mapToArray;
2130
- case setTag$1:
2131
- var isPartial = bitmask & COMPARE_PARTIAL_FLAG$2;
2132
- convert || (convert = setToArray);
2133
- if (object4.size != other.size && !isPartial) {
2134
- return false;
2135
- }
2136
- var stacked = stack.get(object4);
2137
- if (stacked) {
2138
- return stacked == other;
2139
- }
2140
- bitmask |= COMPARE_UNORDERED_FLAG;
2141
- stack.set(object4, other);
2142
- var result = equalArrays$1(convert(object4), convert(other), bitmask, customizer, equalFunc, stack);
2143
- stack["delete"](object4);
2144
- return result;
2145
- case symbolTag:
2146
- if (symbolValueOf) {
2147
- return symbolValueOf.call(object4) == symbolValueOf.call(other);
2148
- }
2149
- }
2150
- return false;
2151
- }
2152
- var _equalByTag = equalByTag$1;
2153
- function arrayPush$1(array4, values) {
2154
- var index2 = -1, length = values.length, offset2 = array4.length;
2155
- while (++index2 < length) {
2156
- array4[offset2 + index2] = values[index2];
2157
- }
2158
- return array4;
2159
- }
2160
- var _arrayPush = arrayPush$1;
2161
- var arrayPush = _arrayPush, isArray$2 = isArray_1;
2162
- function baseGetAllKeys$1(object4, keysFunc, symbolsFunc) {
2163
- var result = keysFunc(object4);
2164
- return isArray$2(object4) ? result : arrayPush(result, symbolsFunc(object4));
2165
- }
2166
- var _baseGetAllKeys = baseGetAllKeys$1;
2167
- function arrayFilter$1(array4, predicate) {
2168
- var index2 = -1, length = array4 == null ? 0 : array4.length, resIndex = 0, result = [];
2169
- while (++index2 < length) {
2170
- var value = array4[index2];
2171
- if (predicate(value, index2, array4)) {
2172
- result[resIndex++] = value;
2173
- }
2174
- }
2175
- return result;
2176
- }
2177
- var _arrayFilter = arrayFilter$1;
2178
- function stubArray$1() {
2179
- return [];
2180
- }
2181
- var stubArray_1 = stubArray$1;
2182
- var arrayFilter = _arrayFilter, stubArray = stubArray_1;
2183
- var objectProto$4 = Object.prototype;
2184
- var propertyIsEnumerable = objectProto$4.propertyIsEnumerable;
2185
- var nativeGetSymbols = Object.getOwnPropertySymbols;
2186
- var getSymbols$1 = !nativeGetSymbols ? stubArray : function(object4) {
2187
- if (object4 == null) {
2188
- return [];
2189
- }
2190
- object4 = Object(object4);
2191
- return arrayFilter(nativeGetSymbols(object4), function(symbol) {
2192
- return propertyIsEnumerable.call(object4, symbol);
2193
- });
2194
- };
2195
- var _getSymbols = getSymbols$1;
2196
- var baseGetAllKeys = _baseGetAllKeys, getSymbols = _getSymbols, keys = keys_1;
2197
- function getAllKeys$1(object4) {
2198
- return baseGetAllKeys(object4, keys, getSymbols);
2199
- }
2200
- var _getAllKeys = getAllKeys$1;
2201
- var getAllKeys = _getAllKeys;
2202
- var COMPARE_PARTIAL_FLAG$1 = 1;
2203
- var objectProto$3 = Object.prototype;
2204
- var hasOwnProperty$3 = objectProto$3.hasOwnProperty;
2205
- function equalObjects$1(object4, other, bitmask, customizer, equalFunc, stack) {
2206
- var isPartial = bitmask & COMPARE_PARTIAL_FLAG$1, objProps = getAllKeys(object4), objLength = objProps.length, othProps = getAllKeys(other), othLength = othProps.length;
2207
- if (objLength != othLength && !isPartial) {
2208
- return false;
2209
- }
2210
- var index2 = objLength;
2211
- while (index2--) {
2212
- var key = objProps[index2];
2213
- if (!(isPartial ? key in other : hasOwnProperty$3.call(other, key))) {
2214
- return false;
2215
- }
2216
- }
2217
- var objStacked = stack.get(object4);
2218
- var othStacked = stack.get(other);
2219
- if (objStacked && othStacked) {
2220
- return objStacked == other && othStacked == object4;
2221
- }
2222
- var result = true;
2223
- stack.set(object4, other);
2224
- stack.set(other, object4);
2225
- var skipCtor = isPartial;
2226
- while (++index2 < objLength) {
2227
- key = objProps[index2];
2228
- var objValue = object4[key], othValue = other[key];
2229
- if (customizer) {
2230
- var compared = isPartial ? customizer(othValue, objValue, key, other, object4, stack) : customizer(objValue, othValue, key, object4, other, stack);
2231
- }
2232
- if (!(compared === void 0 ? objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack) : compared)) {
2233
- result = false;
2234
- break;
2235
- }
2236
- skipCtor || (skipCtor = key == "constructor");
2237
- }
2238
- if (result && !skipCtor) {
2239
- var objCtor = object4.constructor, othCtor = other.constructor;
2240
- if (objCtor != othCtor && ("constructor" in object4 && "constructor" in other) && !(typeof objCtor == "function" && objCtor instanceof objCtor && typeof othCtor == "function" && othCtor instanceof othCtor)) {
2241
- result = false;
2242
- }
2243
- }
2244
- stack["delete"](object4);
2245
- stack["delete"](other);
2246
- return result;
2247
- }
2248
- var _equalObjects = equalObjects$1;
2249
- var getNative$3 = _getNative, root$3 = _root;
2250
- var DataView$1 = getNative$3(root$3, "DataView");
2251
- var _DataView = DataView$1;
2252
- var getNative$2 = _getNative, root$2 = _root;
2253
- var Promise$2 = getNative$2(root$2, "Promise");
2254
- var _Promise = Promise$2;
2255
- var getNative$1 = _getNative, root$1 = _root;
2256
- var Set$2 = getNative$1(root$1, "Set");
2257
- var _Set = Set$2;
2258
- var getNative = _getNative, root = _root;
2259
- var WeakMap$2 = getNative(root, "WeakMap");
2260
- var _WeakMap = WeakMap$2;
2261
- var DataView = _DataView, Map$1 = _Map, Promise$1 = _Promise, Set$1 = _Set, WeakMap$1 = _WeakMap, baseGetTag$1 = _baseGetTag, toSource = _toSource;
2262
- var mapTag = "[object Map]", objectTag$2 = "[object Object]", promiseTag = "[object Promise]", setTag = "[object Set]", weakMapTag = "[object WeakMap]";
2263
- var dataViewTag = "[object DataView]";
2264
- var dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map$1), promiseCtorString = toSource(Promise$1), setCtorString = toSource(Set$1), weakMapCtorString = toSource(WeakMap$1);
2265
- var getTag$1 = baseGetTag$1;
2266
- if (DataView && getTag$1(new DataView(new ArrayBuffer(1))) != dataViewTag || Map$1 && getTag$1(new Map$1()) != mapTag || Promise$1 && getTag$1(Promise$1.resolve()) != promiseTag || Set$1 && getTag$1(new Set$1()) != setTag || WeakMap$1 && getTag$1(new WeakMap$1()) != weakMapTag) {
2267
- getTag$1 = function(value) {
2268
- var result = baseGetTag$1(value), Ctor = result == objectTag$2 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
2269
- if (ctorString) {
2270
- switch (ctorString) {
2271
- case dataViewCtorString:
2272
- return dataViewTag;
2273
- case mapCtorString:
2274
- return mapTag;
2275
- case promiseCtorString:
2276
- return promiseTag;
2277
- case setCtorString:
2278
- return setTag;
2279
- case weakMapCtorString:
2280
- return weakMapTag;
2281
- }
2282
- }
2283
- return result;
2284
- };
2285
- }
2286
- var _getTag = getTag$1;
2287
- var Stack$1 = _Stack, equalArrays = _equalArrays, equalByTag = _equalByTag, equalObjects = _equalObjects, getTag = _getTag, isArray$1 = isArray_1, isBuffer$1 = isBufferExports, isTypedArray$1 = isTypedArray_1;
2288
- var COMPARE_PARTIAL_FLAG = 1;
2289
- var argsTag = "[object Arguments]", arrayTag = "[object Array]", objectTag$1 = "[object Object]";
2290
- var objectProto$2 = Object.prototype;
2291
- var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
2292
- function baseIsEqualDeep$1(object4, other, bitmask, customizer, equalFunc, stack) {
2293
- var objIsArr = isArray$1(object4), othIsArr = isArray$1(other), objTag = objIsArr ? arrayTag : getTag(object4), othTag = othIsArr ? arrayTag : getTag(other);
2294
- objTag = objTag == argsTag ? objectTag$1 : objTag;
2295
- othTag = othTag == argsTag ? objectTag$1 : othTag;
2296
- var objIsObj = objTag == objectTag$1, othIsObj = othTag == objectTag$1, isSameTag = objTag == othTag;
2297
- if (isSameTag && isBuffer$1(object4)) {
2298
- if (!isBuffer$1(other)) {
2299
- return false;
2300
- }
2301
- objIsArr = true;
2302
- objIsObj = false;
2303
- }
2304
- if (isSameTag && !objIsObj) {
2305
- stack || (stack = new Stack$1());
2306
- return objIsArr || isTypedArray$1(object4) ? equalArrays(object4, other, bitmask, customizer, equalFunc, stack) : equalByTag(object4, other, objTag, bitmask, customizer, equalFunc, stack);
2307
- }
2308
- if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
2309
- var objIsWrapped = objIsObj && hasOwnProperty$2.call(object4, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty$2.call(other, "__wrapped__");
2310
- if (objIsWrapped || othIsWrapped) {
2311
- var objUnwrapped = objIsWrapped ? object4.value() : object4, othUnwrapped = othIsWrapped ? other.value() : other;
2312
- stack || (stack = new Stack$1());
2313
- return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
2314
- }
2315
- }
2316
- if (!isSameTag) {
2317
- return false;
2318
- }
2319
- stack || (stack = new Stack$1());
2320
- return equalObjects(object4, other, bitmask, customizer, equalFunc, stack);
2321
- }
2322
- var _baseIsEqualDeep = baseIsEqualDeep$1;
2323
- var baseIsEqualDeep = _baseIsEqualDeep, isObjectLike$2 = isObjectLike_1;
2324
- function baseIsEqual$1(value, other, bitmask, customizer, stack) {
2325
- if (value === other) {
2326
- return true;
2327
- }
2328
- if (value == null || other == null || !isObjectLike$2(value) && !isObjectLike$2(other)) {
2329
- return value !== value && other !== other;
2330
- }
2331
- return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual$1, stack);
2332
- }
2333
- var _baseIsEqual = baseIsEqual$1;
2334
- var baseIsEqual = _baseIsEqual;
2335
- function isEqual$1(value, other) {
2336
- return baseIsEqual(value, other);
2337
- }
2338
- var isEqual_1 = isEqual$1;
2339
- const isEqual$2 = /* @__PURE__ */ getDefaultExportFromCjs(isEqual_1);
2340
1208
  function useGetState(initialState) {
2341
1209
  var _a = __read(React$1.useState(initialState), 2), state = _a[0], setState = _a[1];
2342
1210
  var stateRef = React$1.useRef(state);
@@ -2977,27 +1845,6 @@ function useRafState(initialState) {
2977
1845
  });
2978
1846
  return [state, setRafState];
2979
1847
  }
2980
- var overArg = _overArg;
2981
- var getPrototype$2 = overArg(Object.getPrototypeOf, Object);
2982
- var _getPrototype = getPrototype$2;
2983
- var baseGetTag = _baseGetTag, getPrototype$1 = _getPrototype, isObjectLike$1 = isObjectLike_1;
2984
- var objectTag = "[object Object]";
2985
- var funcProto = Function.prototype, objectProto$1 = Object.prototype;
2986
- var funcToString = funcProto.toString;
2987
- var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
2988
- var objectCtorString = funcToString.call(Object);
2989
- function isPlainObject$1(value) {
2990
- if (!isObjectLike$1(value) || baseGetTag(value) != objectTag) {
2991
- return false;
2992
- }
2993
- var proto = getPrototype$1(value);
2994
- if (proto === null) {
2995
- return true;
2996
- }
2997
- var Ctor = hasOwnProperty$1.call(proto, "constructor") && proto.constructor;
2998
- return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
2999
- }
3000
- var isPlainObject_1 = isPlainObject$1;
3001
1848
  var useUnmountedRef = function() {
3002
1849
  var unmountedRef = React$1.useRef(false);
3003
1850
  React$1.useEffect(function() {
@@ -3537,7 +2384,7 @@ function useSize(target) {
3537
2384
  function useThrottleFn(fn, options) {
3538
2385
  var _a;
3539
2386
  if (isDev$1) {
3540
- if (!isFunction$1(fn)) {
2387
+ if (!isFunction(fn)) {
3541
2388
  console.error("useThrottleFn expected parameter is a function, got ".concat(typeof fn));
3542
2389
  }
3543
2390
  }
@@ -3917,7 +2764,7 @@ const is = {
3917
2764
  num: (a) => typeof a === "number",
3918
2765
  und: (a) => a === void 0
3919
2766
  };
3920
- function isEqual(a, b) {
2767
+ function isEqual$1(a, b) {
3921
2768
  if (is.arr(a)) {
3922
2769
  if (!is.arr(b) || a.length !== b.length)
3923
2770
  return false;
@@ -5000,13 +3847,13 @@ const resolveProp = (prop, key) => is.obj(prop) ? key && prop[key] : prop;
5000
3847
  const getDefaultProp = (props, key) => props.default === true ? props[key] : props.default ? props.default[key] : void 0;
5001
3848
  const noopTransform = (value) => value;
5002
3849
  const getDefaultProps = (props, transform = noopTransform) => {
5003
- let keys2 = DEFAULT_PROPS;
3850
+ let keys = DEFAULT_PROPS;
5004
3851
  if (props.default && props.default !== true) {
5005
3852
  props = props.default;
5006
- keys2 = Object.keys(props);
3853
+ keys = Object.keys(props);
5007
3854
  }
5008
3855
  const defaults2 = {};
5009
- for (const key of keys2) {
3856
+ for (const key of keys) {
5010
3857
  const value = transform(props[key], key);
5011
3858
  if (!is.und(value)) {
5012
3859
  defaults2[key] = value;
@@ -5837,12 +4684,12 @@ class SpringValue extends FrameValue {
5837
4684
  }
5838
4685
  if (props.reverse)
5839
4686
  [to2, from] = [from, to2];
5840
- const hasFromChanged = !isEqual(from, prevFrom);
4687
+ const hasFromChanged = !isEqual$1(from, prevFrom);
5841
4688
  if (hasFromChanged) {
5842
4689
  anim.from = from;
5843
4690
  }
5844
4691
  from = getFluidValue(from);
5845
- const hasToChanged = !isEqual(to2, prevTo);
4692
+ const hasToChanged = !isEqual$1(to2, prevTo);
5846
4693
  if (hasToChanged) {
5847
4694
  this._focus(to2);
5848
4695
  }
@@ -5884,10 +4731,10 @@ class SpringValue extends FrameValue {
5884
4731
  if (!started) {
5885
4732
  const hasValueChanged = reset || !hasAnimated(this) && hasFromChanged;
5886
4733
  if (hasToChanged || hasValueChanged) {
5887
- finished = isEqual(computeGoal(value), goal);
4734
+ finished = isEqual$1(computeGoal(value), goal);
5888
4735
  started = !finished;
5889
4736
  }
5890
- if (!isEqual(anim.immediate, immediate) && !immediate || !isEqual(config2.decay, decay) || !isEqual(config2.velocity, velocity)) {
4737
+ if (!isEqual$1(anim.immediate, immediate) && !immediate || !isEqual$1(config2.decay, decay) || !isEqual$1(config2.velocity, velocity)) {
5891
4738
  started = true;
5892
4739
  }
5893
4740
  }
@@ -5979,7 +4826,7 @@ class SpringValue extends FrameValue {
5979
4826
  const value = getFluidValue(arg);
5980
4827
  if (!is.und(value)) {
5981
4828
  const oldNode = getAnimated(this);
5982
- if (!oldNode || !isEqual(value, oldNode.getValue())) {
4829
+ if (!oldNode || !isEqual$1(value, oldNode.getValue())) {
5983
4830
  const nodeType = getAnimatedType(value);
5984
4831
  if (!oldNode || oldNode.constructor != nodeType) {
5985
4832
  setAnimated(this, nodeType.create(value));
@@ -6056,7 +4903,7 @@ class SpringValue extends FrameValue {
6056
4903
  function checkFinished(target, to2) {
6057
4904
  const goal = computeGoal(to2);
6058
4905
  const value = computeGoal(target.get());
6059
- return isEqual(value, goal);
4906
+ return isEqual$1(value, goal);
6060
4907
  }
6061
4908
  function createLoopUpdate(props, loop2 = props.loop, to2 = props.to) {
6062
4909
  let loopRet = callProp(loop2);
@@ -6079,12 +4926,12 @@ function createUpdate(props) {
6079
4926
  to: to2,
6080
4927
  from
6081
4928
  } = props = inferTo(props);
6082
- const keys2 = /* @__PURE__ */ new Set();
4929
+ const keys = /* @__PURE__ */ new Set();
6083
4930
  if (is.obj(to2))
6084
- findDefined(to2, keys2);
4931
+ findDefined(to2, keys);
6085
4932
  if (is.obj(from))
6086
- findDefined(from, keys2);
6087
- props.keys = keys2.size ? Array.from(keys2) : null;
4933
+ findDefined(from, keys);
4934
+ props.keys = keys.size ? Array.from(keys) : null;
6088
4935
  return props;
6089
4936
  }
6090
4937
  function declareUpdate(props) {
@@ -6094,8 +4941,8 @@ function declareUpdate(props) {
6094
4941
  }
6095
4942
  return update2;
6096
4943
  }
6097
- function findDefined(values, keys2) {
6098
- eachProp(values, (value, key) => value != null && keys2.add(key));
4944
+ function findDefined(values, keys) {
4945
+ eachProp(values, (value, key) => value != null && keys.add(key));
6099
4946
  }
6100
4947
  const ACTIVE_EVENTS = ["onStart", "onRest", "onChange", "onPause", "onResume"];
6101
4948
  function mergeActiveFn(target, props, type4) {
@@ -6187,38 +5034,38 @@ let Controller$1 = class Controller {
6187
5034
  prepareKeys(this, queue);
6188
5035
  return flushUpdateQueue(this, queue);
6189
5036
  }
6190
- stop(arg, keys2) {
5037
+ stop(arg, keys) {
6191
5038
  if (arg !== !!arg) {
6192
- keys2 = arg;
5039
+ keys = arg;
6193
5040
  }
6194
- if (keys2) {
5041
+ if (keys) {
6195
5042
  const springs = this.springs;
6196
- each(toArray$3(keys2), (key) => springs[key].stop(!!arg));
5043
+ each(toArray$3(keys), (key) => springs[key].stop(!!arg));
6197
5044
  } else {
6198
5045
  stopAsync(this._state, this._lastAsyncId);
6199
5046
  this.each((spring) => spring.stop(!!arg));
6200
5047
  }
6201
5048
  return this;
6202
5049
  }
6203
- pause(keys2) {
6204
- if (is.und(keys2)) {
5050
+ pause(keys) {
5051
+ if (is.und(keys)) {
6205
5052
  this.start({
6206
5053
  pause: true
6207
5054
  });
6208
5055
  } else {
6209
5056
  const springs = this.springs;
6210
- each(toArray$3(keys2), (key) => springs[key].pause());
5057
+ each(toArray$3(keys), (key) => springs[key].pause());
6211
5058
  }
6212
5059
  return this;
6213
5060
  }
6214
- resume(keys2) {
6215
- if (is.und(keys2)) {
5061
+ resume(keys) {
5062
+ if (is.und(keys)) {
6216
5063
  this.start({
6217
5064
  pause: false
6218
5065
  });
6219
5066
  } else {
6220
5067
  const springs = this.springs;
6221
- each(toArray$3(keys2), (key) => springs[key].resume());
5068
+ each(toArray$3(keys), (key) => springs[key].resume());
6222
5069
  }
6223
5070
  return this;
6224
5071
  }
@@ -6274,7 +5121,7 @@ function flushUpdateQueue(ctrl, queue) {
6274
5121
  }
6275
5122
  async function flushUpdate(ctrl, props, isLoop) {
6276
5123
  const {
6277
- keys: keys2,
5124
+ keys,
6278
5125
  to: to2,
6279
5126
  from,
6280
5127
  loop: loop2,
@@ -6332,7 +5179,7 @@ async function flushUpdate(ctrl, props, isLoop) {
6332
5179
  } else if (state.paused) {
6333
5180
  props.pause = true;
6334
5181
  }
6335
- const promises = (keys2 || Object.keys(ctrl.springs)).map((key) => ctrl.springs[key].start(props));
5182
+ const promises = (keys || Object.keys(ctrl.springs)).map((key) => ctrl.springs[key].start(props));
6336
5183
  const cancel = props.cancel === true || getDefaultProp(props, "cancel") === true;
6337
5184
  if (asyncTo || cancel && state.asyncId) {
6338
5185
  promises.push(scheduleProps(++ctrl["_lastAsyncId"], {
@@ -6641,7 +5488,7 @@ class Interpolation extends FrameValue {
6641
5488
  advance(_dt) {
6642
5489
  const value = this._get();
6643
5490
  const oldValue = this.get();
6644
- if (!isEqual(value, oldValue)) {
5491
+ if (!isEqual$1(value, oldValue)) {
6645
5492
  getAnimated(this).setValue(value);
6646
5493
  this._onChange(value, this.idle);
6647
5494
  }
@@ -6966,7 +5813,8 @@ function useShouldRender(active, forceRender, destroyOnClose) {
6966
5813
  return !destroyOnClose;
6967
5814
  }
6968
5815
  const eventToPropRecord$1 = {
6969
- "click": "onClick"
5816
+ "click": "onClick",
5817
+ "touchstart": "onTouchStart"
6970
5818
  };
6971
5819
  function withStopPropagation(events, element) {
6972
5820
  const props = Object.assign({}, element.props);
@@ -7703,18 +6551,18 @@ const V = {
7703
6551
  v1[1] -= v2[1];
7704
6552
  }
7705
6553
  };
7706
- function rubberband$1(distance, dimension, constant2) {
6554
+ function rubberband$1(distance, dimension, constant) {
7707
6555
  if (dimension === 0 || Math.abs(dimension) === Infinity)
7708
- return Math.pow(distance, constant2 * 5);
7709
- return distance * dimension * constant2 / (dimension + constant2 * distance);
6556
+ return Math.pow(distance, constant * 5);
6557
+ return distance * dimension * constant / (dimension + constant * distance);
7710
6558
  }
7711
- function rubberbandIfOutOfBounds$1(position, min2, max2, constant2 = 0.15) {
7712
- if (constant2 === 0)
6559
+ function rubberbandIfOutOfBounds$1(position, min2, max2, constant = 0.15) {
6560
+ if (constant === 0)
7713
6561
  return clamp$1(position, min2, max2);
7714
6562
  if (position < min2)
7715
- return -rubberband$1(min2 - position, max2 - min2, constant2) + min2;
6563
+ return -rubberband$1(min2 - position, max2 - min2, constant) + min2;
7716
6564
  if (position > max2)
7717
- return +rubberband$1(position - max2, max2 - min2, constant2) + max2;
6565
+ return +rubberband$1(position - max2, max2 - min2, constant) + max2;
7718
6566
  return position;
7719
6567
  }
7720
6568
  function computeRubberband(bounds, [Vx, Vy], [Rx, Ry]) {
@@ -8661,11 +7509,11 @@ const dragConfigResolver = _objectSpread2$1(_objectSpread2$1({}, coordinatesConf
8661
7509
  pointer: {
8662
7510
  capture = true,
8663
7511
  buttons = 1,
8664
- keys: keys2 = true
7512
+ keys = true
8665
7513
  } = {}
8666
7514
  }) {
8667
7515
  this.pointerButtons = buttons;
8668
- this.keys = keys2;
7516
+ this.keys = keys;
8669
7517
  return !this.pointerLock && this.device === "pointer" && capture;
8670
7518
  },
8671
7519
  threshold(value, _k, {
@@ -11027,7 +9875,7 @@ var reactIs_development = {};
11027
9875
  */
11028
9876
  {
11029
9877
  (function() {
11030
- var REACT_ELEMENT_TYPE = Symbol.for("react.element");
9878
+ var REACT_ELEMENT_TYPE2 = Symbol.for("react.element");
11031
9879
  var REACT_PORTAL_TYPE = Symbol.for("react.portal");
11032
9880
  var REACT_FRAGMENT_TYPE = Symbol.for("react.fragment");
11033
9881
  var REACT_STRICT_MODE_TYPE = Symbol.for("react.strict_mode");
@@ -11072,7 +9920,7 @@ var reactIs_development = {};
11072
9920
  if (typeof object4 === "object" && object4 !== null) {
11073
9921
  var $$typeof = object4.$$typeof;
11074
9922
  switch ($$typeof) {
11075
- case REACT_ELEMENT_TYPE:
9923
+ case REACT_ELEMENT_TYPE2:
11076
9924
  var type4 = object4.type;
11077
9925
  switch (type4) {
11078
9926
  case REACT_FRAGMENT_TYPE:
@@ -11103,7 +9951,7 @@ var reactIs_development = {};
11103
9951
  }
11104
9952
  var ContextConsumer = REACT_CONTEXT_TYPE;
11105
9953
  var ContextProvider = REACT_PROVIDER_TYPE;
11106
- var Element2 = REACT_ELEMENT_TYPE;
9954
+ var Element2 = REACT_ELEMENT_TYPE2;
11107
9955
  var ForwardRef = REACT_FORWARD_REF_TYPE;
11108
9956
  var Fragment = REACT_FRAGMENT_TYPE;
11109
9957
  var Lazy = REACT_LAZY_TYPE;
@@ -11140,7 +9988,7 @@ var reactIs_development = {};
11140
9988
  return typeOf(object4) === REACT_PROVIDER_TYPE;
11141
9989
  }
11142
9990
  function isElement2(object4) {
11143
- return typeof object4 === "object" && object4 !== null && object4.$$typeof === REACT_ELEMENT_TYPE;
9991
+ return typeof object4 === "object" && object4 !== null && object4.$$typeof === REACT_ELEMENT_TYPE2;
11144
9992
  }
11145
9993
  function isForwardRef(object4) {
11146
9994
  return typeOf(object4) === REACT_FORWARD_REF_TYPE;
@@ -11335,18 +10183,108 @@ const Card = (props) => {
11335
10183
  onClick: props.onClick
11336
10184
  }, renderHeader(), renderBody()));
11337
10185
  };
11338
- function rubberband(distance, dimension, constant2) {
11339
- return distance * dimension * constant2 / (dimension + constant2 * distance);
10186
+ function rubberband(distance, dimension, constant) {
10187
+ return distance * dimension * constant / (dimension + constant * distance);
11340
10188
  }
11341
- function rubberbandIfOutOfBounds(position, min2, max2, dimension, constant2 = 0.15) {
11342
- if (constant2 === 0)
10189
+ function rubberbandIfOutOfBounds(position, min2, max2, dimension, constant = 0.15) {
10190
+ if (constant === 0)
11343
10191
  return bound(position, min2, max2);
11344
10192
  if (position < min2)
11345
- return -rubberband(min2 - position, dimension, constant2) + min2;
10193
+ return -rubberband(min2 - position, dimension, constant) + min2;
11346
10194
  if (position > max2)
11347
- return +rubberband(position - max2, dimension, constant2) + max2;
10195
+ return +rubberband(position - max2, dimension, constant) + max2;
11348
10196
  return position;
11349
10197
  }
10198
+ var hasElementType = typeof Element !== "undefined";
10199
+ var hasMap = typeof Map === "function";
10200
+ var hasSet = typeof Set === "function";
10201
+ var hasArrayBuffer = typeof ArrayBuffer === "function" && !!ArrayBuffer.isView;
10202
+ function equal(a, b) {
10203
+ if (a === b)
10204
+ return true;
10205
+ if (a && b && typeof a == "object" && typeof b == "object") {
10206
+ if (a.constructor !== b.constructor)
10207
+ return false;
10208
+ var length, i2, keys;
10209
+ if (Array.isArray(a)) {
10210
+ length = a.length;
10211
+ if (length != b.length)
10212
+ return false;
10213
+ for (i2 = length; i2-- !== 0; )
10214
+ if (!equal(a[i2], b[i2]))
10215
+ return false;
10216
+ return true;
10217
+ }
10218
+ var it;
10219
+ if (hasMap && a instanceof Map && b instanceof Map) {
10220
+ if (a.size !== b.size)
10221
+ return false;
10222
+ it = a.entries();
10223
+ while (!(i2 = it.next()).done)
10224
+ if (!b.has(i2.value[0]))
10225
+ return false;
10226
+ it = a.entries();
10227
+ while (!(i2 = it.next()).done)
10228
+ if (!equal(i2.value[1], b.get(i2.value[0])))
10229
+ return false;
10230
+ return true;
10231
+ }
10232
+ if (hasSet && a instanceof Set && b instanceof Set) {
10233
+ if (a.size !== b.size)
10234
+ return false;
10235
+ it = a.entries();
10236
+ while (!(i2 = it.next()).done)
10237
+ if (!b.has(i2.value[0]))
10238
+ return false;
10239
+ return true;
10240
+ }
10241
+ if (hasArrayBuffer && ArrayBuffer.isView(a) && ArrayBuffer.isView(b)) {
10242
+ length = a.length;
10243
+ if (length != b.length)
10244
+ return false;
10245
+ for (i2 = length; i2-- !== 0; )
10246
+ if (a[i2] !== b[i2])
10247
+ return false;
10248
+ return true;
10249
+ }
10250
+ if (a.constructor === RegExp)
10251
+ return a.source === b.source && a.flags === b.flags;
10252
+ if (a.valueOf !== Object.prototype.valueOf && typeof a.valueOf === "function" && typeof b.valueOf === "function")
10253
+ return a.valueOf() === b.valueOf();
10254
+ if (a.toString !== Object.prototype.toString && typeof a.toString === "function" && typeof b.toString === "function")
10255
+ return a.toString() === b.toString();
10256
+ keys = Object.keys(a);
10257
+ length = keys.length;
10258
+ if (length !== Object.keys(b).length)
10259
+ return false;
10260
+ for (i2 = length; i2-- !== 0; )
10261
+ if (!Object.prototype.hasOwnProperty.call(b, keys[i2]))
10262
+ return false;
10263
+ if (hasElementType && a instanceof Element)
10264
+ return false;
10265
+ for (i2 = length; i2-- !== 0; ) {
10266
+ if ((keys[i2] === "_owner" || keys[i2] === "__v" || keys[i2] === "__o") && a.$$typeof) {
10267
+ continue;
10268
+ }
10269
+ if (!equal(a[keys[i2]], b[keys[i2]]))
10270
+ return false;
10271
+ }
10272
+ return true;
10273
+ }
10274
+ return a !== a && b !== b;
10275
+ }
10276
+ var reactFastCompare = function isEqual(a, b) {
10277
+ try {
10278
+ return equal(a, b);
10279
+ } catch (error) {
10280
+ if ((error.message || "").match(/stack|recursion/i)) {
10281
+ console.warn("react-fast-compare cannot handle circular refs");
10282
+ return false;
10283
+ }
10284
+ throw error;
10285
+ }
10286
+ };
10287
+ const isEqual2 = /* @__PURE__ */ getDefaultExportFromCjs(reactFastCompare);
11350
10288
  function measureCSSLength(raw) {
11351
10289
  if (raw === null || raw === void 0 || raw === "") {
11352
10290
  {
@@ -11583,8 +10521,10 @@ const Wheel = React$1.memo((props) => {
11583
10521
  }
11584
10522
  return React$1.createElement("div", {
11585
10523
  key: (_a = item.key) !== null && _a !== void 0 ? _a : item.value,
11586
- "data-selected": item.value === value,
11587
- className: `${classPrefix$18}-column-item`,
10524
+ "data-selected": selected,
10525
+ className: classNames(`${classPrefix$18}-column-item`, {
10526
+ [`${classPrefix$18}-column-item-active`]: selected
10527
+ }),
11588
10528
  onClick: handleClick,
11589
10529
  "aria-hidden": !selected,
11590
10530
  "aria-label": selected ? "active" : ""
@@ -11603,7 +10543,7 @@ const Wheel = React$1.memo((props) => {
11603
10543
  return false;
11604
10544
  if (prev.mouseWheel !== next.mouseWheel)
11605
10545
  return false;
11606
- if (!isEqual$2(prev.column, next.column))
10546
+ if (!isEqual2(prev.column, next.column))
11607
10547
  return false;
11608
10548
  return true;
11609
10549
  });
@@ -12570,34 +11510,82 @@ const CheckListItem = (props) => {
12570
11510
  const CheckList = attachPropertiesToComponent(CheckList$1, {
12571
11511
  Item: CheckListItem
12572
11512
  });
12573
- var MapCache = _MapCache;
12574
- var FUNC_ERROR_TEXT = "Expected a function";
12575
- function memoize(func, resolver) {
12576
- if (typeof func != "function" || resolver != null && typeof resolver != "function") {
12577
- throw new TypeError(FUNC_ERROR_TEXT);
12578
- }
12579
- var memoized = function() {
12580
- var args = arguments, key = resolver ? resolver.apply(this, args) : args[0], cache = memoized.cache;
12581
- if (cache.has(key)) {
12582
- return cache.get(key);
12583
- }
12584
- var result = func.apply(this, args);
12585
- memoized.cache = cache.set(key, result) || cache;
12586
- return result;
11513
+ function $cf838c15c8b009ba$var$vrgs(f) {
11514
+ var s = f + "", i2 = s.indexOf("...");
11515
+ return i2 >= 0 && (i2 < s.indexOf(")") || s.indexOf("arguments") >= 0);
11516
+ }
11517
+ function $cf838c15c8b009ba$export$22f15dd4e5be7e52(fn, o) {
11518
+ o || (o = {});
11519
+ var vargs = o.vargs || $cf838c15c8b009ba$var$vrgs(fn), k = [], cache = /* @__PURE__ */ new Map(), u, to2, d = function(key) {
11520
+ return to2 = setTimeout(function() {
11521
+ if (u) {
11522
+ cache.delete(key);
11523
+ return;
11524
+ }
11525
+ k.splice(key, 1);
11526
+ }, o.maxAge);
11527
+ }, c = o.maxAge > 0 && o.maxAge < Infinity ? d : 0, eq = o.equals ? o.equals : 0, maxargs = o.maxArgs, srlz = o.serializer, f;
11528
+ if (fn.length === 1 && !o.equals && !vargs) {
11529
+ f = function(a) {
11530
+ if (srlz)
11531
+ a = srlz(a);
11532
+ var r;
11533
+ return cache.get(a) || (!c || c(a), cache.set(a, r = fn.call(this, a)), r);
11534
+ };
11535
+ u = 1;
11536
+ } else if (eq)
11537
+ f = function() {
11538
+ var l = maxargs || arguments.length, kl = k.length, i2 = -1;
11539
+ while (++i2 < kl)
11540
+ if (k[i2].length === l) {
11541
+ var j = -1;
11542
+ while (++j < l && eq(arguments[j], k[i2][j]))
11543
+ ;
11544
+ if (j === l)
11545
+ return k[i2].val;
11546
+ }
11547
+ k[i2] = arguments;
11548
+ return !c || c(i2), arguments.val = fn.apply(this, k[i2]);
11549
+ };
11550
+ else
11551
+ f = function() {
11552
+ var l = maxargs || arguments.length, kl = k.length, i2 = -1;
11553
+ while (++i2 < kl)
11554
+ if (k[i2].length === l) {
11555
+ var j = -1;
11556
+ while (++j < l && arguments[j] === k[i2][j])
11557
+ ;
11558
+ if (j === l)
11559
+ return k[i2].val;
11560
+ }
11561
+ k[i2] = arguments;
11562
+ return !c || c(i2), arguments.val = fn.apply(this, k[i2]);
11563
+ };
11564
+ f.clear = function() {
11565
+ if (to2)
11566
+ clearTimeout(to2);
11567
+ cache.clear();
11568
+ k = [];
12587
11569
  };
12588
- memoized.cache = new (memoize.Cache || MapCache)();
12589
- return memoized;
11570
+ f.keys = function() {
11571
+ return u ? [
11572
+ ...cache.keys()
11573
+ ] : k.slice();
11574
+ };
11575
+ f.values = function() {
11576
+ return u ? [
11577
+ ...cache.values()
11578
+ ] : k.map((args) => args.val);
11579
+ };
11580
+ return f;
12590
11581
  }
12591
- memoize.Cache = MapCache;
12592
- var memoize_1 = memoize;
12593
- const memoize$1 = /* @__PURE__ */ getDefaultExportFromCjs(memoize_1);
12594
11582
  function useCascaderValueExtend(options, fieldNames) {
12595
11583
  const {
12596
11584
  valueName,
12597
11585
  childrenName
12598
11586
  } = fieldNames;
12599
11587
  const generateItems = React$1.useMemo(() => {
12600
- return memoize$1((val) => {
11588
+ return $cf838c15c8b009ba$export$22f15dd4e5be7e52((val) => {
12601
11589
  const ret = [];
12602
11590
  let currentOptions = options;
12603
11591
  for (const v of val) {
@@ -12611,16 +11599,20 @@ function useCascaderValueExtend(options, fieldNames) {
12611
11599
  currentOptions = target[childrenName];
12612
11600
  }
12613
11601
  return ret;
12614
- }, (val) => JSON.stringify(val));
11602
+ }, {
11603
+ equals: isEqual2
11604
+ });
12615
11605
  }, [options]);
12616
11606
  const generateIsLeaf = React$1.useMemo(() => {
12617
- return memoize$1((val) => {
11607
+ return $cf838c15c8b009ba$export$22f15dd4e5be7e52((val) => {
12618
11608
  const children = val.reduce((currentOptions, v) => {
12619
11609
  var _a;
12620
11610
  return ((_a = currentOptions.find((option) => option[valueName] === v)) === null || _a === void 0 ? void 0 : _a[childrenName]) || [];
12621
11611
  }, options);
12622
11612
  return children.length === 0;
12623
- }, (val) => JSON.stringify(val));
11613
+ }, {
11614
+ equals: isEqual2
11615
+ });
12624
11616
  }, [options]);
12625
11617
  function generateValueExtend(val) {
12626
11618
  return {
@@ -12661,10 +11653,10 @@ const defaultSkeletonParagraphProps = {
12661
11653
  };
12662
11654
  const SkeletonParagraph = (p) => {
12663
11655
  const props = mergeProps(defaultSkeletonParagraphProps, p);
12664
- const keys2 = generateIntArray(1, props.lineCount);
11656
+ const keys = generateIntArray(1, props.lineCount);
12665
11657
  const node = React$1.createElement("div", {
12666
11658
  className: `${classPrefix$$}-paragraph`
12667
- }, keys2.map((key) => React$1.createElement(Skeleton$1, {
11659
+ }, keys.map((key) => React$1.createElement(Skeleton$1, {
12668
11660
  key,
12669
11661
  animated: props.animated,
12670
11662
  className: `${classPrefix$$}-paragraph-line`
@@ -16691,8 +15683,8 @@ var Schema = /* @__PURE__ */ function() {
16691
15683
  options.messages = this.messages();
16692
15684
  }
16693
15685
  var series = {};
16694
- var keys2 = options.keys || Object.keys(this.rules);
16695
- keys2.forEach(function(z) {
15686
+ var keys = options.keys || Object.keys(this.rules);
15687
+ keys.forEach(function(z) {
16696
15688
  var arr = _this2.rules[z];
16697
15689
  var value = source[z];
16698
15690
  arr.forEach(function(r) {
@@ -16845,12 +15837,12 @@ var Schema = /* @__PURE__ */ function() {
16845
15837
  if (typeof rule.validator === "function") {
16846
15838
  return rule.validator;
16847
15839
  }
16848
- var keys2 = Object.keys(rule);
16849
- var messageIndex = keys2.indexOf("message");
15840
+ var keys = Object.keys(rule);
15841
+ var messageIndex = keys.indexOf("message");
16850
15842
  if (messageIndex !== -1) {
16851
- keys2.splice(messageIndex, 1);
15843
+ keys.splice(messageIndex, 1);
16852
15844
  }
16853
- if (keys2.length === 1 && keys2[0] === "required") {
15845
+ if (keys.length === 1 && keys[0] === "required") {
16854
15846
  return validators.required;
16855
15847
  }
16856
15848
  return validators[this.getType(rule)] || void 0;
@@ -17009,7 +16001,7 @@ function containsNamePath(namePathList, namePath) {
17009
16001
  return matchNamePath(path, namePath);
17010
16002
  });
17011
16003
  }
17012
- function isObject$4(obj) {
16004
+ function isObject(obj) {
17013
16005
  return _typeof$1(obj) === "object" && obj !== null && Object.getPrototypeOf(obj) === Object.prototype;
17014
16006
  }
17015
16007
  function internalSetValues(store, values) {
@@ -17020,7 +16012,7 @@ function internalSetValues(store, values) {
17020
16012
  Object.keys(values).forEach(function(key) {
17021
16013
  var prevValue = newStore[key];
17022
16014
  var value = values[key];
17023
- var recursive = isObject$4(prevValue) && isObject$4(value);
16015
+ var recursive = isObject(prevValue) && isObject(value);
17024
16016
  newStore[key] = recursive ? internalSetValues(prevValue, value || {}) : cloneDeep(value);
17025
16017
  });
17026
16018
  return newStore;
@@ -17053,8 +16045,8 @@ function isSimilar(source, target) {
17053
16045
  }
17054
16046
  var sourceKeys = Object.keys(source);
17055
16047
  var targetKeys = Object.keys(target);
17056
- var keys2 = new Set([].concat(sourceKeys, targetKeys));
17057
- return _toConsumableArray(keys2).every(function(key) {
16048
+ var keys = new Set([].concat(sourceKeys, targetKeys));
16049
+ return _toConsumableArray(keys).every(function(key) {
17058
16050
  var sourceValue = source[key];
17059
16051
  var targetValue = target[key];
17060
16052
  if (typeof sourceValue === "function" && typeof targetValue === "function") {
@@ -18930,215 +17922,103 @@ const defaultFormContext = {
18930
17922
  const FormContext = React$1.createContext(defaultFormContext);
18931
17923
  const NoStyleItemContext = React$1.createContext(null);
18932
17924
  const Header = () => null;
18933
- var baseAssignValue = _baseAssignValue, eq = eq_1;
18934
- function assignMergeValue$2(object4, key, value) {
18935
- if (value !== void 0 && !eq(object4[key], value) || value === void 0 && !(key in object4)) {
18936
- baseAssignValue(object4, key, value);
18937
- }
18938
- }
18939
- var _assignMergeValue = assignMergeValue$2;
18940
- function createBaseFor$1(fromRight) {
18941
- return function(object4, iteratee, keysFunc) {
18942
- var index2 = -1, iterable = Object(object4), props = keysFunc(object4), length = props.length;
18943
- while (length--) {
18944
- var key = props[fromRight ? length : ++index2];
18945
- if (iteratee(iterable[key], key, iterable) === false) {
18946
- break;
18947
- }
18948
- }
18949
- return object4;
18950
- };
17925
+ var isMergeableObject = function isMergeableObject2(value) {
17926
+ return isNonNullObject(value) && !isSpecial(value);
17927
+ };
17928
+ function isNonNullObject(value) {
17929
+ return !!value && typeof value === "object";
18951
17930
  }
18952
- var _createBaseFor = createBaseFor$1;
18953
- var createBaseFor = _createBaseFor;
18954
- var baseFor$1 = createBaseFor();
18955
- var _baseFor = baseFor$1;
18956
- var _cloneBuffer = { exports: {} };
18957
- _cloneBuffer.exports;
18958
- (function(module2, exports2) {
18959
- var root2 = _root;
18960
- var freeExports = exports2 && !exports2.nodeType && exports2;
18961
- var freeModule = freeExports && true && module2 && !module2.nodeType && module2;
18962
- var moduleExports = freeModule && freeModule.exports === freeExports;
18963
- var Buffer = moduleExports ? root2.Buffer : void 0, allocUnsafe = Buffer ? Buffer.allocUnsafe : void 0;
18964
- function cloneBuffer2(buffer, isDeep) {
18965
- if (isDeep) {
18966
- return buffer.slice();
18967
- }
18968
- var length = buffer.length, result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
18969
- buffer.copy(result);
18970
- return result;
18971
- }
18972
- module2.exports = cloneBuffer2;
18973
- })(_cloneBuffer, _cloneBuffer.exports);
18974
- var _cloneBufferExports = _cloneBuffer.exports;
18975
- var Uint8Array = _Uint8Array;
18976
- function cloneArrayBuffer$1(arrayBuffer) {
18977
- var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
18978
- new Uint8Array(result).set(new Uint8Array(arrayBuffer));
18979
- return result;
17931
+ function isSpecial(value) {
17932
+ var stringValue = Object.prototype.toString.call(value);
17933
+ return stringValue === "[object RegExp]" || stringValue === "[object Date]" || isReactElement(value);
18980
17934
  }
18981
- var _cloneArrayBuffer = cloneArrayBuffer$1;
18982
- var cloneArrayBuffer = _cloneArrayBuffer;
18983
- function cloneTypedArray$1(typedArray, isDeep) {
18984
- var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
18985
- return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
17935
+ var canUseSymbol = typeof Symbol === "function" && Symbol.for;
17936
+ var REACT_ELEMENT_TYPE = canUseSymbol ? Symbol.for("react.element") : 60103;
17937
+ function isReactElement(value) {
17938
+ return value.$$typeof === REACT_ELEMENT_TYPE;
18986
17939
  }
18987
- var _cloneTypedArray = cloneTypedArray$1;
18988
- function copyArray$1(source, array4) {
18989
- var index2 = -1, length = source.length;
18990
- array4 || (array4 = Array(length));
18991
- while (++index2 < length) {
18992
- array4[index2] = source[index2];
18993
- }
18994
- return array4;
17940
+ function emptyTarget(val) {
17941
+ return Array.isArray(val) ? [] : {};
18995
17942
  }
18996
- var _copyArray = copyArray$1;
18997
- var isObject$3 = isObject_1;
18998
- var objectCreate = Object.create;
18999
- var baseCreate$1 = /* @__PURE__ */ function() {
19000
- function object4() {
19001
- }
19002
- return function(proto) {
19003
- if (!isObject$3(proto)) {
19004
- return {};
19005
- }
19006
- if (objectCreate) {
19007
- return objectCreate(proto);
19008
- }
19009
- object4.prototype = proto;
19010
- var result = new object4();
19011
- object4.prototype = void 0;
19012
- return result;
19013
- };
19014
- }();
19015
- var _baseCreate = baseCreate$1;
19016
- var baseCreate = _baseCreate, getPrototype = _getPrototype, isPrototype$1 = _isPrototype;
19017
- function initCloneObject$1(object4) {
19018
- return typeof object4.constructor == "function" && !isPrototype$1(object4) ? baseCreate(getPrototype(object4)) : {};
19019
- }
19020
- var _initCloneObject = initCloneObject$1;
19021
- var isArrayLike$1 = isArrayLike_1, isObjectLike = isObjectLike_1;
19022
- function isArrayLikeObject$1(value) {
19023
- return isObjectLike(value) && isArrayLike$1(value);
19024
- }
19025
- var isArrayLikeObject_1 = isArrayLikeObject$1;
19026
- function safeGet$2(object4, key) {
19027
- if (key === "constructor" && typeof object4[key] === "function") {
19028
- return;
19029
- }
19030
- if (key == "__proto__") {
19031
- return;
19032
- }
19033
- return object4[key];
17943
+ function cloneUnlessOtherwiseSpecified(value, options) {
17944
+ return options.clone !== false && options.isMergeableObject(value) ? deepmerge(emptyTarget(value), value, options) : value;
19034
17945
  }
19035
- var _safeGet = safeGet$2;
19036
- function nativeKeysIn$1(object4) {
19037
- var result = [];
19038
- if (object4 != null) {
19039
- for (var key in Object(object4)) {
19040
- result.push(key);
19041
- }
19042
- }
19043
- return result;
17946
+ function defaultArrayMerge(target, source, options) {
17947
+ return target.concat(source).map(function(element) {
17948
+ return cloneUnlessOtherwiseSpecified(element, options);
17949
+ });
19044
17950
  }
19045
- var _nativeKeysIn = nativeKeysIn$1;
19046
- var isObject$2 = isObject_1, isPrototype = _isPrototype, nativeKeysIn = _nativeKeysIn;
19047
- var objectProto = Object.prototype;
19048
- var hasOwnProperty = objectProto.hasOwnProperty;
19049
- function baseKeysIn$1(object4) {
19050
- if (!isObject$2(object4)) {
19051
- return nativeKeysIn(object4);
17951
+ function getMergeFunction(key, options) {
17952
+ if (!options.customMerge) {
17953
+ return deepmerge;
19052
17954
  }
19053
- var isProto = isPrototype(object4), result = [];
19054
- for (var key in object4) {
19055
- if (!(key == "constructor" && (isProto || !hasOwnProperty.call(object4, key)))) {
19056
- result.push(key);
19057
- }
17955
+ var customMerge = options.customMerge(key);
17956
+ return typeof customMerge === "function" ? customMerge : deepmerge;
17957
+ }
17958
+ function getEnumerableOwnPropertySymbols(target) {
17959
+ return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(target).filter(function(symbol) {
17960
+ return Object.propertyIsEnumerable.call(target, symbol);
17961
+ }) : [];
17962
+ }
17963
+ function getKeys(target) {
17964
+ return Object.keys(target).concat(getEnumerableOwnPropertySymbols(target));
17965
+ }
17966
+ function propertyIsOnObject(object4, property) {
17967
+ try {
17968
+ return property in object4;
17969
+ } catch (_) {
17970
+ return false;
19058
17971
  }
19059
- return result;
19060
17972
  }
19061
- var _baseKeysIn = baseKeysIn$1;
19062
- var arrayLikeKeys = _arrayLikeKeys, baseKeysIn = _baseKeysIn, isArrayLike = isArrayLike_1;
19063
- function keysIn$2(object4) {
19064
- return isArrayLike(object4) ? arrayLikeKeys(object4, true) : baseKeysIn(object4);
19065
- }
19066
- var keysIn_1 = keysIn$2;
19067
- var copyObject = _copyObject, keysIn$1 = keysIn_1;
19068
- function toPlainObject$1(value) {
19069
- return copyObject(value, keysIn$1(value));
19070
- }
19071
- var toPlainObject_1 = toPlainObject$1;
19072
- var assignMergeValue$1 = _assignMergeValue, cloneBuffer = _cloneBufferExports, cloneTypedArray = _cloneTypedArray, copyArray = _copyArray, initCloneObject = _initCloneObject, isArguments = isArguments_1, isArray = isArray_1, isArrayLikeObject = isArrayLikeObject_1, isBuffer = isBufferExports, isFunction = isFunction_1, isObject$1 = isObject_1, isPlainObject = isPlainObject_1, isTypedArray = isTypedArray_1, safeGet$1 = _safeGet, toPlainObject = toPlainObject_1;
19073
- function baseMergeDeep$1(object4, source, key, srcIndex, mergeFunc, customizer, stack) {
19074
- var objValue = safeGet$1(object4, key), srcValue = safeGet$1(source, key), stacked = stack.get(srcValue);
19075
- if (stacked) {
19076
- assignMergeValue$1(object4, key, stacked);
19077
- return;
17973
+ function propertyIsUnsafe(target, key) {
17974
+ return propertyIsOnObject(target, key) && !(Object.hasOwnProperty.call(target, key) && Object.propertyIsEnumerable.call(target, key));
17975
+ }
17976
+ function mergeObject(target, source, options) {
17977
+ var destination = {};
17978
+ if (options.isMergeableObject(target)) {
17979
+ getKeys(target).forEach(function(key) {
17980
+ destination[key] = cloneUnlessOtherwiseSpecified(target[key], options);
17981
+ });
19078
17982
  }
19079
- var newValue = customizer ? customizer(objValue, srcValue, key + "", object4, source, stack) : void 0;
19080
- var isCommon = newValue === void 0;
19081
- if (isCommon) {
19082
- var isArr = isArray(srcValue), isBuff = !isArr && isBuffer(srcValue), isTyped = !isArr && !isBuff && isTypedArray(srcValue);
19083
- newValue = srcValue;
19084
- if (isArr || isBuff || isTyped) {
19085
- if (isArray(objValue)) {
19086
- newValue = objValue;
19087
- } else if (isArrayLikeObject(objValue)) {
19088
- newValue = copyArray(objValue);
19089
- } else if (isBuff) {
19090
- isCommon = false;
19091
- newValue = cloneBuffer(srcValue, true);
19092
- } else if (isTyped) {
19093
- isCommon = false;
19094
- newValue = cloneTypedArray(srcValue, true);
19095
- } else {
19096
- newValue = [];
19097
- }
19098
- } else if (isPlainObject(srcValue) || isArguments(srcValue)) {
19099
- newValue = objValue;
19100
- if (isArguments(objValue)) {
19101
- newValue = toPlainObject(objValue);
19102
- } else if (!isObject$1(objValue) || isFunction(objValue)) {
19103
- newValue = initCloneObject(srcValue);
19104
- }
17983
+ getKeys(source).forEach(function(key) {
17984
+ if (propertyIsUnsafe(target, key)) {
17985
+ return;
17986
+ }
17987
+ if (propertyIsOnObject(target, key) && options.isMergeableObject(source[key])) {
17988
+ destination[key] = getMergeFunction(key, options)(target[key], source[key], options);
19105
17989
  } else {
19106
- isCommon = false;
17990
+ destination[key] = cloneUnlessOtherwiseSpecified(source[key], options);
19107
17991
  }
17992
+ });
17993
+ return destination;
17994
+ }
17995
+ function deepmerge(target, source, options) {
17996
+ options = options || {};
17997
+ options.arrayMerge = options.arrayMerge || defaultArrayMerge;
17998
+ options.isMergeableObject = options.isMergeableObject || isMergeableObject;
17999
+ options.cloneUnlessOtherwiseSpecified = cloneUnlessOtherwiseSpecified;
18000
+ var sourceIsArray = Array.isArray(source);
18001
+ var targetIsArray = Array.isArray(target);
18002
+ var sourceAndTargetTypesMatch = sourceIsArray === targetIsArray;
18003
+ if (!sourceAndTargetTypesMatch) {
18004
+ return cloneUnlessOtherwiseSpecified(source, options);
18005
+ } else if (sourceIsArray) {
18006
+ return options.arrayMerge(target, source, options);
18007
+ } else {
18008
+ return mergeObject(target, source, options);
19108
18009
  }
19109
- if (isCommon) {
19110
- stack.set(srcValue, newValue);
19111
- mergeFunc(newValue, srcValue, srcIndex, customizer, stack);
19112
- stack["delete"](srcValue);
19113
- }
19114
- assignMergeValue$1(object4, key, newValue);
19115
18010
  }
19116
- var _baseMergeDeep = baseMergeDeep$1;
19117
- var Stack = _Stack, assignMergeValue = _assignMergeValue, baseFor = _baseFor, baseMergeDeep = _baseMergeDeep, isObject = isObject_1, keysIn = keysIn_1, safeGet = _safeGet;
19118
- function baseMerge$1(object4, source, srcIndex, customizer, stack) {
19119
- if (object4 === source) {
19120
- return;
18011
+ deepmerge.all = function deepmergeAll(array4, options) {
18012
+ if (!Array.isArray(array4)) {
18013
+ throw new Error("first argument should be an array");
19121
18014
  }
19122
- baseFor(source, function(srcValue, key) {
19123
- stack || (stack = new Stack());
19124
- if (isObject(srcValue)) {
19125
- baseMergeDeep(object4, source, key, srcIndex, baseMerge$1, customizer, stack);
19126
- } else {
19127
- var newValue = customizer ? customizer(safeGet(object4, key), srcValue, key + "", object4, source, stack) : void 0;
19128
- if (newValue === void 0) {
19129
- newValue = srcValue;
19130
- }
19131
- assignMergeValue(object4, key, newValue);
19132
- }
19133
- }, keysIn);
19134
- }
19135
- var _baseMerge = baseMerge$1;
19136
- var baseMerge = _baseMerge, createAssigner = _createAssigner;
19137
- var merge = createAssigner(function(object4, source, srcIndex) {
19138
- baseMerge(object4, source, srcIndex);
19139
- });
19140
- var merge_1 = merge;
19141
- const merge$1 = /* @__PURE__ */ getDefaultExportFromCjs(merge_1);
18015
+ return array4.reduce(function(prev, next) {
18016
+ return deepmerge(prev, next, options);
18017
+ }, {});
18018
+ };
18019
+ var deepmerge_1 = deepmerge;
18020
+ var cjs = deepmerge_1;
18021
+ const merge = /* @__PURE__ */ getDefaultExportFromCjs(cjs);
19142
18022
  const FormArray = (props) => {
19143
18023
  return React$1.createElement(List, {
19144
18024
  name: props.name,
@@ -19189,7 +18069,7 @@ const Form2 = React$1.forwardRef((p, ref) => {
19189
18069
  const {
19190
18070
  locale
19191
18071
  } = useConfig();
19192
- const validateMessages = React$1.useMemo(() => merge$1({}, locale.Form.defaultValidateMessages, formProps.validateMessages), [locale.Form.defaultValidateMessages, formProps.validateMessages]);
18072
+ const validateMessages = React$1.useMemo(() => merge(locale.Form.defaultValidateMessages, formProps.validateMessages || {}), [locale.Form.defaultValidateMessages, formProps.validateMessages]);
19193
18073
  const lists = [];
19194
18074
  let currentHeader = null;
19195
18075
  let items = [];
@@ -21126,6 +20006,7 @@ const FormItemLayout = (props) => {
21126
20006
  }, React$1.createElement("span", {
21127
20007
  className: `${classPrefix$L}-label-help`,
21128
20008
  onClick: (e2) => {
20009
+ e2.stopPropagation();
21129
20010
  e2.preventDefault();
21130
20011
  }
21131
20012
  }, React$1.createElement(QuestionCircleOutline, null))));
@@ -22388,8 +21269,11 @@ const InfiniteScroll = (p) => {
22388
21269
  if (current >= elementTop - props.threshold) {
22389
21270
  const nextFlag = {};
22390
21271
  nextFlagRef.current = nextFlag;
22391
- yield doLoadMore(false);
22392
- setFlag(nextFlag);
21272
+ try {
21273
+ yield doLoadMore(false);
21274
+ setFlag(nextFlag);
21275
+ } catch (e2) {
21276
+ }
22393
21277
  }
22394
21278
  }), {
22395
21279
  wait: 100,
@@ -22416,8 +21300,11 @@ const InfiniteScroll = (p) => {
22416
21300
  function retry() {
22417
21301
  return __awaiter(this, void 0, void 0, function* () {
22418
21302
  setFailed(false);
22419
- yield doLoadMore(true);
22420
- setFlag(nextFlagRef.current);
21303
+ try {
21304
+ yield doLoadMore(true);
21305
+ setFlag(nextFlagRef.current);
21306
+ } catch (e2) {
21307
+ }
22421
21308
  });
22422
21309
  }
22423
21310
  return withNativeProps(props, React$1.createElement("div", {
@@ -22443,6 +21330,29 @@ const InfiniteScrollContent = (props) => {
22443
21330
  }
22444
21331
  return React$1.createElement(React$1.Fragment, null, React$1.createElement("span", null, locale.common.loading), React$1.createElement(DotLoading, null));
22445
21332
  };
21333
+ function useInputHandleKeyDown({
21334
+ onEnterPress,
21335
+ onKeyDown,
21336
+ nativeInputRef,
21337
+ enterKeyHint
21338
+ }) {
21339
+ const handleKeydown = (e2) => {
21340
+ if (onEnterPress && (e2.code === "Enter" || e2.keyCode === 13)) {
21341
+ onEnterPress(e2);
21342
+ }
21343
+ onKeyDown === null || onKeyDown === void 0 ? void 0 : onKeyDown(e2);
21344
+ };
21345
+ useIsomorphicLayoutEffect$2(() => {
21346
+ const ele = nativeInputRef.current;
21347
+ if (!enterKeyHint || !ele)
21348
+ return;
21349
+ ele.setAttribute("enterkeyhint", enterKeyHint);
21350
+ return () => {
21351
+ ele.removeAttribute("enterkeyhint");
21352
+ };
21353
+ }, [enterKeyHint]);
21354
+ return handleKeydown;
21355
+ }
22446
21356
  const classPrefix$A = `adm-input`;
22447
21357
  const defaultProps$v = {
22448
21358
  defaultValue: "",
@@ -22457,6 +21367,12 @@ const Input = React$1.forwardRef((p, ref) => {
22457
21367
  const {
22458
21368
  locale
22459
21369
  } = useConfig();
21370
+ const handleKeydown = useInputHandleKeyDown({
21371
+ onEnterPress: props.onEnterPress,
21372
+ onKeyDown: props.onKeyDown,
21373
+ nativeInputRef,
21374
+ enterKeyHint: props.enterKeyHint
21375
+ });
22460
21376
  React$1.useImperativeHandle(ref, () => ({
22461
21377
  clear: () => {
22462
21378
  setValue2("");
@@ -22473,23 +21389,6 @@ const Input = React$1.forwardRef((p, ref) => {
22473
21389
  return nativeInputRef.current;
22474
21390
  }
22475
21391
  }));
22476
- const handleKeydown = (e2) => {
22477
- var _a;
22478
- if (props.onEnterPress && (e2.code === "Enter" || e2.keyCode === 13)) {
22479
- props.onEnterPress(e2);
22480
- }
22481
- (_a = props.onKeyDown) === null || _a === void 0 ? void 0 : _a.call(props, e2);
22482
- };
22483
- useIsomorphicLayoutEffect$2(() => {
22484
- var _a;
22485
- if (!props.enterKeyHint)
22486
- return;
22487
- (_a = nativeInputRef.current) === null || _a === void 0 ? void 0 : _a.setAttribute("enterkeyhint", props.enterKeyHint);
22488
- return () => {
22489
- var _a2;
22490
- (_a2 = nativeInputRef.current) === null || _a2 === void 0 ? void 0 : _a2.removeAttribute("enterkeyhint");
22491
- };
22492
- }, [props.enterKeyHint]);
22493
21392
  function checkValue() {
22494
21393
  let nextValue = value;
22495
21394
  if (props.type === "number") {
@@ -22540,6 +21439,7 @@ const Input = React$1.forwardRef((p, ref) => {
22540
21439
  max: props.max,
22541
21440
  min: props.min,
22542
21441
  autoComplete: props.autoComplete,
21442
+ enterKeyHint: props.enterKeyHint,
22543
21443
  autoFocus: props.autoFocus,
22544
21444
  pattern: props.pattern,
22545
21445
  inputMode: props.inputMode,
@@ -22992,7 +21892,7 @@ const NumberKeyboard = (p) => {
22992
21892
  locale
22993
21893
  } = useConfig();
22994
21894
  const keyboardRef = React$1.useRef(null);
22995
- const keys2 = React$1.useMemo(() => {
21895
+ const keys = React$1.useMemo(() => {
22996
21896
  const defaultKeys = ["1", "2", "3", "4", "5", "6", "7", "8", "9"];
22997
21897
  const keyList = randomOrder ? shuffle(defaultKeys) : defaultKeys;
22998
21898
  const customKeys = Array.isArray(customKey) ? customKey : [customKey];
@@ -23069,7 +21969,7 @@ const NumberKeyboard = (p) => {
23069
21969
  const className = classNames(`${classPrefix$w}-key`, {
23070
21970
  [`${classPrefix$w}-key-number`]: isNumberKey,
23071
21971
  [`${classPrefix$w}-key-sign`]: !isNumberKey && key,
23072
- [`${classPrefix$w}-key-mid`]: index2 === 9 && !!confirmText && keys2.length < 12
21972
+ [`${classPrefix$w}-key-mid`]: index2 === 9 && !!confirmText && keys.length < 12
23073
21973
  });
23074
21974
  const ariaProps = key ? {
23075
21975
  role: "button",
@@ -23114,7 +22014,7 @@ const NumberKeyboard = (p) => {
23114
22014
  className: classNames(`${classPrefix$w}-main`, {
23115
22015
  [`${classPrefix$w}-main-confirmed-style`]: !!confirmText
23116
22016
  })
23117
- }, keys2.map(renderKey)), !!confirmText && React$1.createElement("div", {
22017
+ }, keys.map(renderKey)), !!confirmText && React$1.createElement("div", {
23118
22018
  className: `${classPrefix$w}-confirm`
23119
22019
  }, React$1.createElement("div", {
23120
22020
  className: `${classPrefix$w}-key ${classPrefix$w}-key-extra ${classPrefix$w}-key-bs`,
@@ -25370,9 +24270,9 @@ function useRefState(initialState) {
25370
24270
  function mergeFuncProps(p1, p2) {
25371
24271
  const p1Keys = Object.keys(p1);
25372
24272
  const p2Keys = Object.keys(p2);
25373
- const keys2 = /* @__PURE__ */ new Set([...p1Keys, ...p2Keys]);
24273
+ const keys = /* @__PURE__ */ new Set([...p1Keys, ...p2Keys]);
25374
24274
  const res = {};
25375
- keys2.forEach((key) => {
24275
+ keys.forEach((key) => {
25376
24276
  const p1Value = p1[key];
25377
24277
  const p2Value = p2[key];
25378
24278
  if (typeof p1Value === "function" && typeof p2Value === "function") {
@@ -25602,7 +24502,11 @@ const Swiper = React$1.forwardRef(staged_1((p, ref) => {
25602
24502
  } = props;
25603
24503
  const runTimeSwiper = () => {
25604
24504
  timeoutRef.current = window.setTimeout(() => {
25605
- swipeNext();
24505
+ if (autoplay === "reverse") {
24506
+ swipePrev();
24507
+ } else {
24508
+ swipeNext();
24509
+ }
25606
24510
  runTimeSwiper();
25607
24511
  }, autoplayInterval);
25608
24512
  };
@@ -25939,6 +24843,12 @@ const TextArea = React$1.forwardRef((p, ref) => {
25939
24843
  const nativeTextAreaRef = React$1.useRef(null);
25940
24844
  const heightRef = React$1.useRef("auto");
25941
24845
  const hiddenTextAreaRef = React$1.useRef(null);
24846
+ const handleKeydown = useInputHandleKeyDown({
24847
+ onEnterPress: props.onEnterPress,
24848
+ onKeyDown: props.onKeyDown,
24849
+ nativeInputRef: nativeTextAreaRef,
24850
+ enterKeyHint: props.enterKeyHint
24851
+ });
25942
24852
  React$1.useImperativeHandle(ref, () => ({
25943
24853
  clear: () => {
25944
24854
  setValue2("");
@@ -26035,7 +24945,8 @@ const TextArea = React$1.forwardRef((p, ref) => {
26035
24945
  name: props.name,
26036
24946
  onFocus: props.onFocus,
26037
24947
  onBlur: props.onBlur,
26038
- onClick: props.onClick
24948
+ onClick: props.onClick,
24949
+ onKeyDown: handleKeydown
26039
24950
  }), count, autoSize && React$1.createElement("textarea", {
26040
24951
  ref: hiddenTextAreaRef,
26041
24952
  className: `${classPrefix$6}-element ${classPrefix$6}-element-hidden`,
@@ -26288,7 +25199,7 @@ const Multiple = (p) => {
26288
25199
  defaultValue: props.defaultValue
26289
25200
  });
26290
25201
  const getLeafKeys = (option) => {
26291
- const keys2 = [];
25202
+ const keys = [];
26292
25203
  const walker = (op) => {
26293
25204
  var _a;
26294
25205
  if (!op) {
@@ -26297,11 +25208,11 @@ const Multiple = (p) => {
26297
25208
  if ((_a = op[childrenName]) === null || _a === void 0 ? void 0 : _a.length) {
26298
25209
  op[childrenName].forEach((i2) => walker(i2));
26299
25210
  } else {
26300
- keys2.push(op[valueName]);
25211
+ keys.push(op[valueName]);
26301
25212
  }
26302
25213
  };
26303
25214
  walker(option);
26304
- return keys2;
25215
+ return keys;
26305
25216
  };
26306
25217
  const [deep, optionsMap, optionsParentMap] = React$1.useMemo(() => {
26307
25218
  const deep2 = getTreeDeep(props.options, childrenName);
@@ -26347,8 +25258,8 @@ const Multiple = (p) => {
26347
25258
  var _a;
26348
25259
  let groupKeys = [...targetKeys];
26349
25260
  let unusedKeys = [];
26350
- const walker = (keys2) => {
26351
- keys2.forEach((key) => {
25261
+ const walker = (keys) => {
25262
+ keys.forEach((key) => {
26352
25263
  var _a2;
26353
25264
  if (unusedKeys.includes(key)) {
26354
25265
  return;
@@ -26381,9 +25292,9 @@ const Multiple = (p) => {
26381
25292
  const next = optionsParentMap.get(current[valueName]);
26382
25293
  current = next;
26383
25294
  }
26384
- const keys2 = parentNodes.map((i2) => i2[valueName]);
26385
- setExpandKeys(keys2);
26386
- (_a = props.onExpand) === null || _a === void 0 ? void 0 : _a.call(props, keys2, parentNodes);
25295
+ const keys = parentNodes.map((i2) => i2[valueName]);
25296
+ setExpandKeys(keys);
25297
+ (_a = props.onExpand) === null || _a === void 0 ? void 0 : _a.call(props, keys, parentNodes);
26387
25298
  };
26388
25299
  const renderSelectAllItem = (columnOptions, index2) => {
26389
25300
  var _a;
@@ -26833,3 +25744,4 @@ exports.createErrorBlock = createErrorBlock;
26833
25744
  exports.reduceMotion = reduceMotion;
26834
25745
  exports.restoreMotion = restoreMotion;
26835
25746
  exports.setDefaultConfig = setDefaultConfig;
25747
+ exports.useConfig = useConfig;