antd-mobile 5.17.2 → 5.18.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 (66) hide show
  1. package/2x/bundle/antd-mobile.cjs.js +1127 -1325
  2. package/2x/bundle/antd-mobile.es.js +1127 -1325
  3. package/2x/bundle/style.css +9 -0
  4. package/2x/cjs/components/calendar/calendar.d.ts +2 -2
  5. package/2x/cjs/components/calendar/index.d.ts +1 -1
  6. package/2x/cjs/components/form/form-item.js +6 -4
  7. package/2x/cjs/components/notice-bar/notice-bar.css +9 -0
  8. package/2x/cjs/components/notice-bar/notice-bar.js +5 -3
  9. package/2x/cjs/components/rate/rate.js +7 -2
  10. package/2x/cjs/components/rate/star.js +0 -10
  11. package/2x/cjs/components/switch/switch.d.ts +2 -1
  12. package/2x/cjs/components/switch/switch.js +16 -3
  13. package/2x/cjs/utils/merge-locale.d.ts +1 -1
  14. package/2x/cjs/utils/merge-locale.js +15 -5
  15. package/2x/cjs/utils/use-drag-and-pinch.d.ts +1 -1
  16. package/2x/cjs/utils/use-props-value.js +1 -1
  17. package/2x/cjs/utils/with-default-props.js +2 -6
  18. package/2x/es/components/calendar/calendar.d.ts +2 -2
  19. package/2x/es/components/calendar/index.d.ts +1 -1
  20. package/2x/es/components/form/form-item.js +5 -4
  21. package/2x/es/components/notice-bar/notice-bar.css +9 -0
  22. package/2x/es/components/notice-bar/notice-bar.js +5 -3
  23. package/2x/es/components/rate/rate.js +7 -2
  24. package/2x/es/components/rate/star.js +0 -10
  25. package/2x/es/components/switch/switch.d.ts +2 -1
  26. package/2x/es/components/switch/switch.js +15 -3
  27. package/2x/es/utils/merge-locale.d.ts +1 -1
  28. package/2x/es/utils/merge-locale.js +17 -3
  29. package/2x/es/utils/use-drag-and-pinch.d.ts +1 -1
  30. package/2x/es/utils/use-props-value.js +1 -1
  31. package/2x/es/utils/with-default-props.js +2 -4
  32. package/2x/package.json +4 -4
  33. package/2x/umd/antd-mobile.js +1 -1
  34. package/bundle/antd-mobile.cjs.js +1127 -1325
  35. package/bundle/antd-mobile.es.js +1127 -1325
  36. package/bundle/style.css +8 -0
  37. package/cjs/components/calendar/calendar.d.ts +2 -2
  38. package/cjs/components/calendar/index.d.ts +1 -1
  39. package/cjs/components/form/form-item.js +6 -4
  40. package/cjs/components/notice-bar/notice-bar.css +8 -0
  41. package/cjs/components/notice-bar/notice-bar.js +5 -3
  42. package/cjs/components/rate/rate.js +7 -2
  43. package/cjs/components/rate/star.js +0 -10
  44. package/cjs/components/switch/switch.d.ts +2 -1
  45. package/cjs/components/switch/switch.js +16 -3
  46. package/cjs/utils/merge-locale.d.ts +1 -1
  47. package/cjs/utils/merge-locale.js +15 -5
  48. package/cjs/utils/use-drag-and-pinch.d.ts +1 -1
  49. package/cjs/utils/use-props-value.js +1 -1
  50. package/cjs/utils/with-default-props.js +2 -6
  51. package/es/components/calendar/calendar.d.ts +2 -2
  52. package/es/components/calendar/index.d.ts +1 -1
  53. package/es/components/form/form-item.js +5 -4
  54. package/es/components/notice-bar/notice-bar.css +8 -0
  55. package/es/components/notice-bar/notice-bar.js +5 -3
  56. package/es/components/rate/rate.js +7 -2
  57. package/es/components/rate/star.js +0 -10
  58. package/es/components/switch/switch.d.ts +2 -1
  59. package/es/components/switch/switch.js +15 -3
  60. package/es/utils/merge-locale.d.ts +1 -1
  61. package/es/utils/merge-locale.js +17 -3
  62. package/es/utils/use-drag-and-pinch.d.ts +1 -1
  63. package/es/utils/use-props-value.js +1 -1
  64. package/es/utils/with-default-props.js +2 -4
  65. package/package.json +4 -4
  66. package/umd/antd-mobile.js +1 -1
@@ -33,1213 +33,20 @@ if (canUseDom) {
33
33
  document.addEventListener("touchstart", () => {
34
34
  }, true);
35
35
  }
36
- var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
37
- function listCacheClear$1() {
38
- this.__data__ = [];
39
- this.size = 0;
40
- }
41
- var _listCacheClear = listCacheClear$1;
42
- function eq$5(value, other) {
43
- return value === other || value !== value && other !== other;
44
- }
45
- var eq_1 = eq$5;
46
- var eq$4 = eq_1;
47
- function assocIndexOf$4(array, key) {
48
- var length = array.length;
49
- while (length--) {
50
- if (eq$4(array[length][0], key)) {
51
- return length;
52
- }
53
- }
54
- return -1;
55
- }
56
- var _assocIndexOf = assocIndexOf$4;
57
- var assocIndexOf$3 = _assocIndexOf;
58
- var arrayProto = Array.prototype;
59
- var splice = arrayProto.splice;
60
- function listCacheDelete$1(key) {
61
- var data = this.__data__, index2 = assocIndexOf$3(data, key);
62
- if (index2 < 0) {
63
- return false;
64
- }
65
- var lastIndex = data.length - 1;
66
- if (index2 == lastIndex) {
67
- data.pop();
68
- } else {
69
- splice.call(data, index2, 1);
70
- }
71
- --this.size;
72
- return true;
73
- }
74
- var _listCacheDelete = listCacheDelete$1;
75
- var assocIndexOf$2 = _assocIndexOf;
76
- function listCacheGet$1(key) {
77
- var data = this.__data__, index2 = assocIndexOf$2(data, key);
78
- return index2 < 0 ? void 0 : data[index2][1];
79
- }
80
- var _listCacheGet = listCacheGet$1;
81
- var assocIndexOf$1 = _assocIndexOf;
82
- function listCacheHas$1(key) {
83
- return assocIndexOf$1(this.__data__, key) > -1;
84
- }
85
- var _listCacheHas = listCacheHas$1;
86
- var assocIndexOf = _assocIndexOf;
87
- function listCacheSet$1(key, value) {
88
- var data = this.__data__, index2 = assocIndexOf(data, key);
89
- if (index2 < 0) {
90
- ++this.size;
91
- data.push([key, value]);
92
- } else {
93
- data[index2][1] = value;
94
- }
95
- return this;
96
- }
97
- var _listCacheSet = listCacheSet$1;
98
- var listCacheClear = _listCacheClear, listCacheDelete = _listCacheDelete, listCacheGet = _listCacheGet, listCacheHas = _listCacheHas, listCacheSet = _listCacheSet;
99
- function ListCache$4(entries) {
100
- var index2 = -1, length = entries == null ? 0 : entries.length;
101
- this.clear();
102
- while (++index2 < length) {
103
- var entry = entries[index2];
104
- this.set(entry[0], entry[1]);
105
- }
106
- }
107
- ListCache$4.prototype.clear = listCacheClear;
108
- ListCache$4.prototype["delete"] = listCacheDelete;
109
- ListCache$4.prototype.get = listCacheGet;
110
- ListCache$4.prototype.has = listCacheHas;
111
- ListCache$4.prototype.set = listCacheSet;
112
- var _ListCache = ListCache$4;
113
- var ListCache$3 = _ListCache;
114
- function stackClear$1() {
115
- this.__data__ = new ListCache$3();
116
- this.size = 0;
117
- }
118
- var _stackClear = stackClear$1;
119
- function stackDelete$1(key) {
120
- var data = this.__data__, result2 = data["delete"](key);
121
- this.size = data.size;
122
- return result2;
123
- }
124
- var _stackDelete = stackDelete$1;
125
- function stackGet$1(key) {
126
- return this.__data__.get(key);
127
- }
128
- var _stackGet = stackGet$1;
129
- function stackHas$1(key) {
130
- return this.__data__.has(key);
131
- }
132
- var _stackHas = stackHas$1;
133
- var freeGlobal$1 = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
134
- var _freeGlobal = freeGlobal$1;
135
- var freeGlobal = _freeGlobal;
136
- var freeSelf = typeof self == "object" && self && self.Object === Object && self;
137
- var root$8 = freeGlobal || freeSelf || Function("return this")();
138
- var _root = root$8;
139
- var root$7 = _root;
140
- var Symbol$5 = root$7.Symbol;
141
- var _Symbol = Symbol$5;
142
- var Symbol$4 = _Symbol;
143
- var objectProto$g = Object.prototype;
144
- var hasOwnProperty$d = objectProto$g.hasOwnProperty;
145
- var nativeObjectToString$1 = objectProto$g.toString;
146
- var symToStringTag$1 = Symbol$4 ? Symbol$4.toStringTag : void 0;
147
- function getRawTag$1(value) {
148
- var isOwn = hasOwnProperty$d.call(value, symToStringTag$1), tag2 = value[symToStringTag$1];
149
- try {
150
- value[symToStringTag$1] = void 0;
151
- var unmasked = true;
152
- } catch (e2) {
153
- }
154
- var result2 = nativeObjectToString$1.call(value);
155
- if (unmasked) {
156
- if (isOwn) {
157
- value[symToStringTag$1] = tag2;
158
- } else {
159
- delete value[symToStringTag$1];
160
- }
161
- }
162
- return result2;
163
- }
164
- var _getRawTag = getRawTag$1;
165
- var objectProto$f = Object.prototype;
166
- var nativeObjectToString = objectProto$f.toString;
167
- function objectToString$1(value) {
168
- return nativeObjectToString.call(value);
169
- }
170
- var _objectToString = objectToString$1;
171
- var Symbol$3 = _Symbol, getRawTag = _getRawTag, objectToString = _objectToString;
172
- var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
173
- var symToStringTag = Symbol$3 ? Symbol$3.toStringTag : void 0;
174
- function baseGetTag$5(value) {
175
- if (value == null) {
176
- return value === void 0 ? undefinedTag : nullTag;
177
- }
178
- return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
179
- }
180
- var _baseGetTag = baseGetTag$5;
181
- function isObject$8(value) {
182
- var type = typeof value;
183
- return value != null && (type == "object" || type == "function");
184
- }
185
- var isObject_1 = isObject$8;
186
- var baseGetTag$4 = _baseGetTag, isObject$7 = isObject_1;
187
- var asyncTag = "[object AsyncFunction]", funcTag$2 = "[object Function]", genTag$1 = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
188
- function isFunction$3(value) {
189
- if (!isObject$7(value)) {
190
- return false;
191
- }
192
- var tag2 = baseGetTag$4(value);
193
- return tag2 == funcTag$2 || tag2 == genTag$1 || tag2 == asyncTag || tag2 == proxyTag;
194
- }
195
- var isFunction_1 = isFunction$3;
196
- var root$6 = _root;
197
- var coreJsData$1 = root$6["__core-js_shared__"];
198
- var _coreJsData = coreJsData$1;
199
- var coreJsData = _coreJsData;
200
- var maskSrcKey = function() {
201
- var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
202
- return uid ? "Symbol(src)_1." + uid : "";
203
- }();
204
- function isMasked$1(func) {
205
- return !!maskSrcKey && maskSrcKey in func;
206
- }
207
- var _isMasked = isMasked$1;
208
- var funcProto$2 = Function.prototype;
209
- var funcToString$2 = funcProto$2.toString;
210
- function toSource$2(func) {
211
- if (func != null) {
212
- try {
213
- return funcToString$2.call(func);
214
- } catch (e2) {
215
- }
216
- try {
217
- return func + "";
218
- } catch (e2) {
219
- }
220
- }
221
- return "";
222
- }
223
- var _toSource = toSource$2;
224
- var isFunction$2 = isFunction_1, isMasked = _isMasked, isObject$6 = isObject_1, toSource$1 = _toSource;
225
- var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
226
- var reIsHostCtor = /^\[object .+?Constructor\]$/;
227
- var funcProto$1 = Function.prototype, objectProto$e = Object.prototype;
228
- var funcToString$1 = funcProto$1.toString;
229
- var hasOwnProperty$c = objectProto$e.hasOwnProperty;
230
- var reIsNative = RegExp("^" + funcToString$1.call(hasOwnProperty$c).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
231
- function baseIsNative$1(value) {
232
- if (!isObject$6(value) || isMasked(value)) {
233
- return false;
234
- }
235
- var pattern = isFunction$2(value) ? reIsNative : reIsHostCtor;
236
- return pattern.test(toSource$1(value));
237
- }
238
- var _baseIsNative = baseIsNative$1;
239
- function getValue$1(object, key) {
240
- return object == null ? void 0 : object[key];
241
- }
242
- var _getValue = getValue$1;
243
- var baseIsNative = _baseIsNative, getValue = _getValue;
244
- function getNative$7(object, key) {
245
- var value = getValue(object, key);
246
- return baseIsNative(value) ? value : void 0;
247
- }
248
- var _getNative = getNative$7;
249
- var getNative$6 = _getNative, root$5 = _root;
250
- var Map$4 = getNative$6(root$5, "Map");
251
- var _Map = Map$4;
252
- var getNative$5 = _getNative;
253
- var nativeCreate$4 = getNative$5(Object, "create");
254
- var _nativeCreate = nativeCreate$4;
255
- var nativeCreate$3 = _nativeCreate;
256
- function hashClear$1() {
257
- this.__data__ = nativeCreate$3 ? nativeCreate$3(null) : {};
258
- this.size = 0;
259
- }
260
- var _hashClear = hashClear$1;
261
- function hashDelete$1(key) {
262
- var result2 = this.has(key) && delete this.__data__[key];
263
- this.size -= result2 ? 1 : 0;
264
- return result2;
265
- }
266
- var _hashDelete = hashDelete$1;
267
- var nativeCreate$2 = _nativeCreate;
268
- var HASH_UNDEFINED$2 = "__lodash_hash_undefined__";
269
- var objectProto$d = Object.prototype;
270
- var hasOwnProperty$b = objectProto$d.hasOwnProperty;
271
- function hashGet$1(key) {
272
- var data = this.__data__;
273
- if (nativeCreate$2) {
274
- var result2 = data[key];
275
- return result2 === HASH_UNDEFINED$2 ? void 0 : result2;
276
- }
277
- return hasOwnProperty$b.call(data, key) ? data[key] : void 0;
278
- }
279
- var _hashGet = hashGet$1;
280
- var nativeCreate$1 = _nativeCreate;
281
- var objectProto$c = Object.prototype;
282
- var hasOwnProperty$a = objectProto$c.hasOwnProperty;
283
- function hashHas$1(key) {
284
- var data = this.__data__;
285
- return nativeCreate$1 ? data[key] !== void 0 : hasOwnProperty$a.call(data, key);
286
- }
287
- var _hashHas = hashHas$1;
288
- var nativeCreate = _nativeCreate;
289
- var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
290
- function hashSet$1(key, value) {
291
- var data = this.__data__;
292
- this.size += this.has(key) ? 0 : 1;
293
- data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED$1 : value;
294
- return this;
295
- }
296
- var _hashSet = hashSet$1;
297
- var hashClear = _hashClear, hashDelete = _hashDelete, hashGet = _hashGet, hashHas = _hashHas, hashSet = _hashSet;
298
- function Hash$1(entries) {
299
- var index2 = -1, length = entries == null ? 0 : entries.length;
300
- this.clear();
301
- while (++index2 < length) {
302
- var entry = entries[index2];
303
- this.set(entry[0], entry[1]);
304
- }
305
- }
306
- Hash$1.prototype.clear = hashClear;
307
- Hash$1.prototype["delete"] = hashDelete;
308
- Hash$1.prototype.get = hashGet;
309
- Hash$1.prototype.has = hashHas;
310
- Hash$1.prototype.set = hashSet;
311
- var _Hash = Hash$1;
312
- var Hash = _Hash, ListCache$2 = _ListCache, Map$3 = _Map;
313
- function mapCacheClear$1() {
314
- this.size = 0;
315
- this.__data__ = {
316
- "hash": new Hash(),
317
- "map": new (Map$3 || ListCache$2)(),
318
- "string": new Hash()
319
- };
320
- }
321
- var _mapCacheClear = mapCacheClear$1;
322
- function isKeyable$1(value) {
323
- var type = typeof value;
324
- return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
325
- }
326
- var _isKeyable = isKeyable$1;
327
- var isKeyable = _isKeyable;
328
- function getMapData$4(map, key) {
329
- var data = map.__data__;
330
- return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
331
- }
332
- var _getMapData = getMapData$4;
333
- var getMapData$3 = _getMapData;
334
- function mapCacheDelete$1(key) {
335
- var result2 = getMapData$3(this, key)["delete"](key);
336
- this.size -= result2 ? 1 : 0;
337
- return result2;
338
- }
339
- var _mapCacheDelete = mapCacheDelete$1;
340
- var getMapData$2 = _getMapData;
341
- function mapCacheGet$1(key) {
342
- return getMapData$2(this, key).get(key);
343
- }
344
- var _mapCacheGet = mapCacheGet$1;
345
- var getMapData$1 = _getMapData;
346
- function mapCacheHas$1(key) {
347
- return getMapData$1(this, key).has(key);
348
- }
349
- var _mapCacheHas = mapCacheHas$1;
350
- var getMapData = _getMapData;
351
- function mapCacheSet$1(key, value) {
352
- var data = getMapData(this, key), size = data.size;
353
- data.set(key, value);
354
- this.size += data.size == size ? 0 : 1;
355
- return this;
356
- }
357
- var _mapCacheSet = mapCacheSet$1;
358
- var mapCacheClear = _mapCacheClear, mapCacheDelete = _mapCacheDelete, mapCacheGet = _mapCacheGet, mapCacheHas = _mapCacheHas, mapCacheSet = _mapCacheSet;
359
- function MapCache$3(entries) {
360
- var index2 = -1, length = entries == null ? 0 : entries.length;
361
- this.clear();
362
- while (++index2 < length) {
363
- var entry = entries[index2];
364
- this.set(entry[0], entry[1]);
365
- }
366
- }
367
- MapCache$3.prototype.clear = mapCacheClear;
368
- MapCache$3.prototype["delete"] = mapCacheDelete;
369
- MapCache$3.prototype.get = mapCacheGet;
370
- MapCache$3.prototype.has = mapCacheHas;
371
- MapCache$3.prototype.set = mapCacheSet;
372
- var _MapCache = MapCache$3;
373
- var ListCache$1 = _ListCache, Map$2 = _Map, MapCache$2 = _MapCache;
374
- var LARGE_ARRAY_SIZE = 200;
375
- function stackSet$1(key, value) {
376
- var data = this.__data__;
377
- if (data instanceof ListCache$1) {
378
- var pairs = data.__data__;
379
- if (!Map$2 || pairs.length < LARGE_ARRAY_SIZE - 1) {
380
- pairs.push([key, value]);
381
- this.size = ++data.size;
382
- return this;
383
- }
384
- data = this.__data__ = new MapCache$2(pairs);
385
- }
386
- data.set(key, value);
387
- this.size = data.size;
388
- return this;
389
- }
390
- var _stackSet = stackSet$1;
391
- var ListCache = _ListCache, stackClear = _stackClear, stackDelete = _stackDelete, stackGet = _stackGet, stackHas = _stackHas, stackSet = _stackSet;
392
- function Stack$3(entries) {
393
- var data = this.__data__ = new ListCache(entries);
394
- this.size = data.size;
395
- }
396
- Stack$3.prototype.clear = stackClear;
397
- Stack$3.prototype["delete"] = stackDelete;
398
- Stack$3.prototype.get = stackGet;
399
- Stack$3.prototype.has = stackHas;
400
- Stack$3.prototype.set = stackSet;
401
- var _Stack = Stack$3;
402
- function arrayEach$1(array, iteratee) {
403
- var index2 = -1, length = array == null ? 0 : array.length;
404
- while (++index2 < length) {
405
- if (iteratee(array[index2], index2, array) === false) {
406
- break;
407
- }
408
- }
409
- return array;
410
- }
411
- var _arrayEach = arrayEach$1;
412
- var getNative$4 = _getNative;
413
- var defineProperty$2 = function() {
414
- try {
415
- var func = getNative$4(Object, "defineProperty");
416
- func({}, "", {});
417
- return func;
418
- } catch (e2) {
419
- }
420
- }();
421
- var _defineProperty = defineProperty$2;
422
- var defineProperty$1 = _defineProperty;
423
- function baseAssignValue$3(object, key, value) {
424
- if (key == "__proto__" && defineProperty$1) {
425
- defineProperty$1(object, key, {
426
- "configurable": true,
427
- "enumerable": true,
428
- "value": value,
429
- "writable": true
430
- });
431
- } else {
432
- object[key] = value;
433
- }
434
- }
435
- var _baseAssignValue = baseAssignValue$3;
436
- var baseAssignValue$2 = _baseAssignValue, eq$3 = eq_1;
437
- var objectProto$b = Object.prototype;
438
- var hasOwnProperty$9 = objectProto$b.hasOwnProperty;
439
- function assignValue$3(object, key, value) {
440
- var objValue = object[key];
441
- if (!(hasOwnProperty$9.call(object, key) && eq$3(objValue, value)) || value === void 0 && !(key in object)) {
442
- baseAssignValue$2(object, key, value);
443
- }
444
- }
445
- var _assignValue = assignValue$3;
446
- var assignValue$2 = _assignValue, baseAssignValue$1 = _baseAssignValue;
447
- function copyObject$7(source, props, object, customizer) {
448
- var isNew = !object;
449
- object || (object = {});
450
- var index2 = -1, length = props.length;
451
- while (++index2 < length) {
452
- var key = props[index2];
453
- var newValue = customizer ? customizer(object[key], source[key], key, object, source) : void 0;
454
- if (newValue === void 0) {
455
- newValue = source[key];
456
- }
457
- if (isNew) {
458
- baseAssignValue$1(object, key, newValue);
459
- } else {
460
- assignValue$2(object, key, newValue);
461
- }
462
- }
463
- return object;
464
- }
465
- var _copyObject = copyObject$7;
466
- function baseTimes$1(n2, iteratee) {
467
- var index2 = -1, result2 = Array(n2);
468
- while (++index2 < n2) {
469
- result2[index2] = iteratee(index2);
470
- }
471
- return result2;
472
- }
473
- var _baseTimes = baseTimes$1;
474
- function isObjectLike$8(value) {
475
- return value != null && typeof value == "object";
476
- }
477
- var isObjectLike_1 = isObjectLike$8;
478
- var baseGetTag$3 = _baseGetTag, isObjectLike$7 = isObjectLike_1;
479
- var argsTag$3 = "[object Arguments]";
480
- function baseIsArguments$1(value) {
481
- return isObjectLike$7(value) && baseGetTag$3(value) == argsTag$3;
482
- }
483
- var _baseIsArguments = baseIsArguments$1;
484
- var baseIsArguments = _baseIsArguments, isObjectLike$6 = isObjectLike_1;
485
- var objectProto$a = Object.prototype;
486
- var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
487
- var propertyIsEnumerable$1 = objectProto$a.propertyIsEnumerable;
488
- var isArguments$2 = baseIsArguments(function() {
489
- return arguments;
490
- }()) ? baseIsArguments : function(value) {
491
- return isObjectLike$6(value) && hasOwnProperty$8.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
492
- };
493
- var isArguments_1 = isArguments$2;
494
- var isArray$5 = Array.isArray;
495
- var isArray_1 = isArray$5;
496
- var isBuffer$4 = { exports: {} };
497
- function stubFalse() {
498
- return false;
499
- }
500
- var stubFalse_1 = stubFalse;
501
- (function(module, exports) {
502
- var root2 = _root, stubFalse2 = stubFalse_1;
503
- var freeExports = exports && !exports.nodeType && exports;
504
- var freeModule = freeExports && true && module && !module.nodeType && module;
505
- var moduleExports = freeModule && freeModule.exports === freeExports;
506
- var Buffer = moduleExports ? root2.Buffer : void 0;
507
- var nativeIsBuffer = Buffer ? Buffer.isBuffer : void 0;
508
- var isBuffer2 = nativeIsBuffer || stubFalse2;
509
- module.exports = isBuffer2;
510
- })(isBuffer$4, isBuffer$4.exports);
511
- var MAX_SAFE_INTEGER$1 = 9007199254740991;
512
- var reIsUint = /^(?:0|[1-9]\d*)$/;
513
- function isIndex$2(value, length) {
514
- var type = typeof value;
515
- length = length == null ? MAX_SAFE_INTEGER$1 : length;
516
- return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
517
- }
518
- var _isIndex = isIndex$2;
519
- var MAX_SAFE_INTEGER = 9007199254740991;
520
- function isLength$2(value) {
521
- return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
522
- }
523
- var isLength_1 = isLength$2;
524
- var baseGetTag$2 = _baseGetTag, isLength$1 = isLength_1, isObjectLike$5 = isObjectLike_1;
525
- var argsTag$2 = "[object Arguments]", arrayTag$2 = "[object Array]", boolTag$3 = "[object Boolean]", dateTag$3 = "[object Date]", errorTag$2 = "[object Error]", funcTag$1 = "[object Function]", mapTag$5 = "[object Map]", numberTag$3 = "[object Number]", objectTag$4 = "[object Object]", regexpTag$3 = "[object RegExp]", setTag$5 = "[object Set]", stringTag$3 = "[object String]", weakMapTag$2 = "[object WeakMap]";
526
- var arrayBufferTag$3 = "[object ArrayBuffer]", dataViewTag$4 = "[object DataView]", float32Tag$2 = "[object Float32Array]", float64Tag$2 = "[object Float64Array]", int8Tag$2 = "[object Int8Array]", int16Tag$2 = "[object Int16Array]", int32Tag$2 = "[object Int32Array]", uint8Tag$2 = "[object Uint8Array]", uint8ClampedTag$2 = "[object Uint8ClampedArray]", uint16Tag$2 = "[object Uint16Array]", uint32Tag$2 = "[object Uint32Array]";
527
- var typedArrayTags = {};
528
- typedArrayTags[float32Tag$2] = typedArrayTags[float64Tag$2] = typedArrayTags[int8Tag$2] = typedArrayTags[int16Tag$2] = typedArrayTags[int32Tag$2] = typedArrayTags[uint8Tag$2] = typedArrayTags[uint8ClampedTag$2] = typedArrayTags[uint16Tag$2] = typedArrayTags[uint32Tag$2] = true;
529
- typedArrayTags[argsTag$2] = typedArrayTags[arrayTag$2] = typedArrayTags[arrayBufferTag$3] = typedArrayTags[boolTag$3] = typedArrayTags[dataViewTag$4] = typedArrayTags[dateTag$3] = typedArrayTags[errorTag$2] = typedArrayTags[funcTag$1] = typedArrayTags[mapTag$5] = typedArrayTags[numberTag$3] = typedArrayTags[objectTag$4] = typedArrayTags[regexpTag$3] = typedArrayTags[setTag$5] = typedArrayTags[stringTag$3] = typedArrayTags[weakMapTag$2] = false;
530
- function baseIsTypedArray$1(value) {
531
- return isObjectLike$5(value) && isLength$1(value.length) && !!typedArrayTags[baseGetTag$2(value)];
532
- }
533
- var _baseIsTypedArray = baseIsTypedArray$1;
534
- function baseUnary$3(func) {
535
- return function(value) {
536
- return func(value);
537
- };
538
- }
539
- var _baseUnary = baseUnary$3;
540
- var _nodeUtil = { exports: {} };
541
- (function(module, exports) {
542
- var freeGlobal2 = _freeGlobal;
543
- var freeExports = exports && !exports.nodeType && exports;
544
- var freeModule = freeExports && true && module && !module.nodeType && module;
545
- var moduleExports = freeModule && freeModule.exports === freeExports;
546
- var freeProcess = moduleExports && freeGlobal2.process;
547
- var nodeUtil2 = function() {
548
- try {
549
- var types = freeModule && freeModule.require && freeModule.require("util").types;
550
- if (types) {
551
- return types;
552
- }
553
- return freeProcess && freeProcess.binding && freeProcess.binding("util");
554
- } catch (e2) {
555
- }
556
- }();
557
- module.exports = nodeUtil2;
558
- })(_nodeUtil, _nodeUtil.exports);
559
- var baseIsTypedArray = _baseIsTypedArray, baseUnary$2 = _baseUnary, nodeUtil$2 = _nodeUtil.exports;
560
- var nodeIsTypedArray = nodeUtil$2 && nodeUtil$2.isTypedArray;
561
- var isTypedArray$3 = nodeIsTypedArray ? baseUnary$2(nodeIsTypedArray) : baseIsTypedArray;
562
- var isTypedArray_1 = isTypedArray$3;
563
- var baseTimes = _baseTimes, isArguments$1 = isArguments_1, isArray$4 = isArray_1, isBuffer$3 = isBuffer$4.exports, isIndex$1 = _isIndex, isTypedArray$2 = isTypedArray_1;
564
- var objectProto$9 = Object.prototype;
565
- var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
566
- function arrayLikeKeys$2(value, inherited) {
567
- var isArr = isArray$4(value), isArg = !isArr && isArguments$1(value), isBuff = !isArr && !isArg && isBuffer$3(value), isType = !isArr && !isArg && !isBuff && isTypedArray$2(value), skipIndexes = isArr || isArg || isBuff || isType, result2 = skipIndexes ? baseTimes(value.length, String) : [], length = result2.length;
568
- for (var key in value) {
569
- if ((inherited || hasOwnProperty$7.call(value, key)) && !(skipIndexes && (key == "length" || isBuff && (key == "offset" || key == "parent") || isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || isIndex$1(key, length)))) {
570
- result2.push(key);
571
- }
572
- }
573
- return result2;
574
- }
575
- var _arrayLikeKeys = arrayLikeKeys$2;
576
- var objectProto$8 = Object.prototype;
577
- function isPrototype$4(value) {
578
- var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$8;
579
- return value === proto;
580
- }
581
- var _isPrototype = isPrototype$4;
582
- function overArg$2(func, transform) {
583
- return function(arg) {
584
- return func(transform(arg));
585
- };
586
- }
587
- var _overArg = overArg$2;
588
- var overArg$1 = _overArg;
589
- var nativeKeys$1 = overArg$1(Object.keys, Object);
590
- var _nativeKeys = nativeKeys$1;
591
- var isPrototype$3 = _isPrototype, nativeKeys = _nativeKeys;
592
- var objectProto$7 = Object.prototype;
593
- var hasOwnProperty$6 = objectProto$7.hasOwnProperty;
594
- function baseKeys$1(object) {
595
- if (!isPrototype$3(object)) {
596
- return nativeKeys(object);
597
- }
598
- var result2 = [];
599
- for (var key in Object(object)) {
600
- if (hasOwnProperty$6.call(object, key) && key != "constructor") {
601
- result2.push(key);
602
- }
603
- }
604
- return result2;
605
- }
606
- var _baseKeys = baseKeys$1;
607
- var isFunction$1 = isFunction_1, isLength = isLength_1;
608
- function isArrayLike$5(value) {
609
- return value != null && isLength(value.length) && !isFunction$1(value);
610
- }
611
- var isArrayLike_1 = isArrayLike$5;
612
- var arrayLikeKeys$1 = _arrayLikeKeys, baseKeys = _baseKeys, isArrayLike$4 = isArrayLike_1;
613
- function keys$5(object) {
614
- return isArrayLike$4(object) ? arrayLikeKeys$1(object) : baseKeys(object);
615
- }
616
- var keys_1 = keys$5;
617
- var copyObject$6 = _copyObject, keys$4 = keys_1;
618
- function baseAssign$1(object, source) {
619
- return object && copyObject$6(source, keys$4(source), object);
620
- }
621
- var _baseAssign = baseAssign$1;
622
- function nativeKeysIn$1(object) {
623
- var result2 = [];
624
- if (object != null) {
625
- for (var key in Object(object)) {
626
- result2.push(key);
627
- }
628
- }
629
- return result2;
630
- }
631
- var _nativeKeysIn = nativeKeysIn$1;
632
- var isObject$5 = isObject_1, isPrototype$2 = _isPrototype, nativeKeysIn = _nativeKeysIn;
633
- var objectProto$6 = Object.prototype;
634
- var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
635
- function baseKeysIn$1(object) {
636
- if (!isObject$5(object)) {
637
- return nativeKeysIn(object);
638
- }
639
- var isProto = isPrototype$2(object), result2 = [];
640
- for (var key in object) {
641
- if (!(key == "constructor" && (isProto || !hasOwnProperty$5.call(object, key)))) {
642
- result2.push(key);
643
- }
644
- }
645
- return result2;
646
- }
647
- var _baseKeysIn = baseKeysIn$1;
648
- var arrayLikeKeys = _arrayLikeKeys, baseKeysIn = _baseKeysIn, isArrayLike$3 = isArrayLike_1;
649
- function keysIn$5(object) {
650
- return isArrayLike$3(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
651
- }
652
- var keysIn_1 = keysIn$5;
653
- var copyObject$5 = _copyObject, keysIn$4 = keysIn_1;
654
- function baseAssignIn$1(object, source) {
655
- return object && copyObject$5(source, keysIn$4(source), object);
656
- }
657
- var _baseAssignIn = baseAssignIn$1;
658
- var _cloneBuffer = { exports: {} };
659
- (function(module, exports) {
660
- var root2 = _root;
661
- var freeExports = exports && !exports.nodeType && exports;
662
- var freeModule = freeExports && true && module && !module.nodeType && module;
663
- var moduleExports = freeModule && freeModule.exports === freeExports;
664
- var Buffer = moduleExports ? root2.Buffer : void 0, allocUnsafe = Buffer ? Buffer.allocUnsafe : void 0;
665
- function cloneBuffer2(buffer, isDeep) {
666
- if (isDeep) {
667
- return buffer.slice();
668
- }
669
- var length = buffer.length, result2 = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
670
- buffer.copy(result2);
671
- return result2;
672
- }
673
- module.exports = cloneBuffer2;
674
- })(_cloneBuffer, _cloneBuffer.exports);
675
- function copyArray$2(source, array) {
676
- var index2 = -1, length = source.length;
677
- array || (array = Array(length));
678
- while (++index2 < length) {
679
- array[index2] = source[index2];
680
- }
681
- return array;
682
- }
683
- var _copyArray = copyArray$2;
684
- function arrayFilter$1(array, predicate) {
685
- var index2 = -1, length = array == null ? 0 : array.length, resIndex = 0, result2 = [];
686
- while (++index2 < length) {
687
- var value = array[index2];
688
- if (predicate(value, index2, array)) {
689
- result2[resIndex++] = value;
690
- }
691
- }
692
- return result2;
693
- }
694
- var _arrayFilter = arrayFilter$1;
695
- function stubArray$2() {
696
- return [];
697
- }
698
- var stubArray_1 = stubArray$2;
699
- var arrayFilter = _arrayFilter, stubArray$1 = stubArray_1;
700
- var objectProto$5 = Object.prototype;
701
- var propertyIsEnumerable = objectProto$5.propertyIsEnumerable;
702
- var nativeGetSymbols$1 = Object.getOwnPropertySymbols;
703
- var getSymbols$3 = !nativeGetSymbols$1 ? stubArray$1 : function(object) {
704
- if (object == null) {
705
- return [];
706
- }
707
- object = Object(object);
708
- return arrayFilter(nativeGetSymbols$1(object), function(symbol) {
709
- return propertyIsEnumerable.call(object, symbol);
710
- });
711
- };
712
- var _getSymbols = getSymbols$3;
713
- var copyObject$4 = _copyObject, getSymbols$2 = _getSymbols;
714
- function copySymbols$1(source, object) {
715
- return copyObject$4(source, getSymbols$2(source), object);
716
- }
717
- var _copySymbols = copySymbols$1;
718
- function arrayPush$2(array, values) {
719
- var index2 = -1, length = values.length, offset2 = array.length;
720
- while (++index2 < length) {
721
- array[offset2 + index2] = values[index2];
722
- }
723
- return array;
724
- }
725
- var _arrayPush = arrayPush$2;
726
- var overArg = _overArg;
727
- var getPrototype$3 = overArg(Object.getPrototypeOf, Object);
728
- var _getPrototype = getPrototype$3;
729
- var arrayPush$1 = _arrayPush, getPrototype$2 = _getPrototype, getSymbols$1 = _getSymbols, stubArray = stubArray_1;
730
- var nativeGetSymbols = Object.getOwnPropertySymbols;
731
- var getSymbolsIn$2 = !nativeGetSymbols ? stubArray : function(object) {
732
- var result2 = [];
733
- while (object) {
734
- arrayPush$1(result2, getSymbols$1(object));
735
- object = getPrototype$2(object);
736
- }
737
- return result2;
738
- };
739
- var _getSymbolsIn = getSymbolsIn$2;
740
- var copyObject$3 = _copyObject, getSymbolsIn$1 = _getSymbolsIn;
741
- function copySymbolsIn$1(source, object) {
742
- return copyObject$3(source, getSymbolsIn$1(source), object);
743
- }
744
- var _copySymbolsIn = copySymbolsIn$1;
745
- var arrayPush = _arrayPush, isArray$3 = isArray_1;
746
- function baseGetAllKeys$2(object, keysFunc, symbolsFunc) {
747
- var result2 = keysFunc(object);
748
- return isArray$3(object) ? result2 : arrayPush(result2, symbolsFunc(object));
749
- }
750
- var _baseGetAllKeys = baseGetAllKeys$2;
751
- var baseGetAllKeys$1 = _baseGetAllKeys, getSymbols = _getSymbols, keys$3 = keys_1;
752
- function getAllKeys$2(object) {
753
- return baseGetAllKeys$1(object, keys$3, getSymbols);
754
- }
755
- var _getAllKeys = getAllKeys$2;
756
- var baseGetAllKeys = _baseGetAllKeys, getSymbolsIn = _getSymbolsIn, keysIn$3 = keysIn_1;
757
- function getAllKeysIn$1(object) {
758
- return baseGetAllKeys(object, keysIn$3, getSymbolsIn);
759
- }
760
- var _getAllKeysIn = getAllKeysIn$1;
761
- var getNative$3 = _getNative, root$4 = _root;
762
- var DataView$1 = getNative$3(root$4, "DataView");
763
- var _DataView = DataView$1;
764
- var getNative$2 = _getNative, root$3 = _root;
765
- var Promise$2 = getNative$2(root$3, "Promise");
766
- var _Promise = Promise$2;
767
- var getNative$1 = _getNative, root$2 = _root;
768
- var Set$2 = getNative$1(root$2, "Set");
769
- var _Set = Set$2;
770
- var getNative = _getNative, root$1 = _root;
771
- var WeakMap$2 = getNative(root$1, "WeakMap");
772
- var _WeakMap = WeakMap$2;
773
- var DataView = _DataView, Map$1 = _Map, Promise$1 = _Promise, Set$1 = _Set, WeakMap$1 = _WeakMap, baseGetTag$1 = _baseGetTag, toSource = _toSource;
774
- var mapTag$4 = "[object Map]", objectTag$3 = "[object Object]", promiseTag = "[object Promise]", setTag$4 = "[object Set]", weakMapTag$1 = "[object WeakMap]";
775
- var dataViewTag$3 = "[object DataView]";
776
- var dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map$1), promiseCtorString = toSource(Promise$1), setCtorString = toSource(Set$1), weakMapCtorString = toSource(WeakMap$1);
777
- var getTag$4 = baseGetTag$1;
778
- if (DataView && getTag$4(new DataView(new ArrayBuffer(1))) != dataViewTag$3 || Map$1 && getTag$4(new Map$1()) != mapTag$4 || Promise$1 && getTag$4(Promise$1.resolve()) != promiseTag || Set$1 && getTag$4(new Set$1()) != setTag$4 || WeakMap$1 && getTag$4(new WeakMap$1()) != weakMapTag$1) {
779
- getTag$4 = function(value) {
780
- var result2 = baseGetTag$1(value), Ctor = result2 == objectTag$3 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
781
- if (ctorString) {
782
- switch (ctorString) {
783
- case dataViewCtorString:
784
- return dataViewTag$3;
785
- case mapCtorString:
786
- return mapTag$4;
787
- case promiseCtorString:
788
- return promiseTag;
789
- case setCtorString:
790
- return setTag$4;
791
- case weakMapCtorString:
792
- return weakMapTag$1;
793
- }
794
- }
795
- return result2;
796
- };
797
- }
798
- var _getTag = getTag$4;
799
- var objectProto$4 = Object.prototype;
800
- var hasOwnProperty$4 = objectProto$4.hasOwnProperty;
801
- function initCloneArray$1(array) {
802
- var length = array.length, result2 = new array.constructor(length);
803
- if (length && typeof array[0] == "string" && hasOwnProperty$4.call(array, "index")) {
804
- result2.index = array.index;
805
- result2.input = array.input;
806
- }
807
- return result2;
808
- }
809
- var _initCloneArray = initCloneArray$1;
810
- var root = _root;
811
- var Uint8Array$2 = root.Uint8Array;
812
- var _Uint8Array = Uint8Array$2;
813
- var Uint8Array$1 = _Uint8Array;
814
- function cloneArrayBuffer$3(arrayBuffer) {
815
- var result2 = new arrayBuffer.constructor(arrayBuffer.byteLength);
816
- new Uint8Array$1(result2).set(new Uint8Array$1(arrayBuffer));
817
- return result2;
818
- }
819
- var _cloneArrayBuffer = cloneArrayBuffer$3;
820
- var cloneArrayBuffer$2 = _cloneArrayBuffer;
821
- function cloneDataView$1(dataView, isDeep) {
822
- var buffer = isDeep ? cloneArrayBuffer$2(dataView.buffer) : dataView.buffer;
823
- return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
824
- }
825
- var _cloneDataView = cloneDataView$1;
826
- var reFlags = /\w*$/;
827
- function cloneRegExp$1(regexp) {
828
- var result2 = new regexp.constructor(regexp.source, reFlags.exec(regexp));
829
- result2.lastIndex = regexp.lastIndex;
830
- return result2;
831
- }
832
- var _cloneRegExp = cloneRegExp$1;
833
- var Symbol$2 = _Symbol;
834
- var symbolProto$1 = Symbol$2 ? Symbol$2.prototype : void 0, symbolValueOf$1 = symbolProto$1 ? symbolProto$1.valueOf : void 0;
835
- function cloneSymbol$1(symbol) {
836
- return symbolValueOf$1 ? Object(symbolValueOf$1.call(symbol)) : {};
837
- }
838
- var _cloneSymbol = cloneSymbol$1;
839
- var cloneArrayBuffer$1 = _cloneArrayBuffer;
840
- function cloneTypedArray$2(typedArray, isDeep) {
841
- var buffer = isDeep ? cloneArrayBuffer$1(typedArray.buffer) : typedArray.buffer;
842
- return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
843
- }
844
- var _cloneTypedArray = cloneTypedArray$2;
845
- var cloneArrayBuffer = _cloneArrayBuffer, cloneDataView = _cloneDataView, cloneRegExp = _cloneRegExp, cloneSymbol = _cloneSymbol, cloneTypedArray$1 = _cloneTypedArray;
846
- var boolTag$2 = "[object Boolean]", dateTag$2 = "[object Date]", mapTag$3 = "[object Map]", numberTag$2 = "[object Number]", regexpTag$2 = "[object RegExp]", setTag$3 = "[object Set]", stringTag$2 = "[object String]", symbolTag$2 = "[object Symbol]";
847
- var arrayBufferTag$2 = "[object ArrayBuffer]", dataViewTag$2 = "[object DataView]", float32Tag$1 = "[object Float32Array]", float64Tag$1 = "[object Float64Array]", int8Tag$1 = "[object Int8Array]", int16Tag$1 = "[object Int16Array]", int32Tag$1 = "[object Int32Array]", uint8Tag$1 = "[object Uint8Array]", uint8ClampedTag$1 = "[object Uint8ClampedArray]", uint16Tag$1 = "[object Uint16Array]", uint32Tag$1 = "[object Uint32Array]";
848
- function initCloneByTag$1(object, tag2, isDeep) {
849
- var Ctor = object.constructor;
850
- switch (tag2) {
851
- case arrayBufferTag$2:
852
- return cloneArrayBuffer(object);
853
- case boolTag$2:
854
- case dateTag$2:
855
- return new Ctor(+object);
856
- case dataViewTag$2:
857
- return cloneDataView(object, isDeep);
858
- case float32Tag$1:
859
- case float64Tag$1:
860
- case int8Tag$1:
861
- case int16Tag$1:
862
- case int32Tag$1:
863
- case uint8Tag$1:
864
- case uint8ClampedTag$1:
865
- case uint16Tag$1:
866
- case uint32Tag$1:
867
- return cloneTypedArray$1(object, isDeep);
868
- case mapTag$3:
869
- return new Ctor();
870
- case numberTag$2:
871
- case stringTag$2:
872
- return new Ctor(object);
873
- case regexpTag$2:
874
- return cloneRegExp(object);
875
- case setTag$3:
876
- return new Ctor();
877
- case symbolTag$2:
878
- return cloneSymbol(object);
879
- }
880
- }
881
- var _initCloneByTag = initCloneByTag$1;
882
- var isObject$4 = isObject_1;
883
- var objectCreate = Object.create;
884
- var baseCreate$1 = function() {
885
- function object() {
886
- }
887
- return function(proto) {
888
- if (!isObject$4(proto)) {
889
- return {};
890
- }
891
- if (objectCreate) {
892
- return objectCreate(proto);
893
- }
894
- object.prototype = proto;
895
- var result2 = new object();
896
- object.prototype = void 0;
897
- return result2;
898
- };
899
- }();
900
- var _baseCreate = baseCreate$1;
901
- var baseCreate = _baseCreate, getPrototype$1 = _getPrototype, isPrototype$1 = _isPrototype;
902
- function initCloneObject$2(object) {
903
- return typeof object.constructor == "function" && !isPrototype$1(object) ? baseCreate(getPrototype$1(object)) : {};
904
- }
905
- var _initCloneObject = initCloneObject$2;
906
- var getTag$3 = _getTag, isObjectLike$4 = isObjectLike_1;
907
- var mapTag$2 = "[object Map]";
908
- function baseIsMap$1(value) {
909
- return isObjectLike$4(value) && getTag$3(value) == mapTag$2;
910
- }
911
- var _baseIsMap = baseIsMap$1;
912
- var baseIsMap = _baseIsMap, baseUnary$1 = _baseUnary, nodeUtil$1 = _nodeUtil.exports;
913
- var nodeIsMap = nodeUtil$1 && nodeUtil$1.isMap;
914
- var isMap$1 = nodeIsMap ? baseUnary$1(nodeIsMap) : baseIsMap;
915
- var isMap_1 = isMap$1;
916
- var getTag$2 = _getTag, isObjectLike$3 = isObjectLike_1;
917
- var setTag$2 = "[object Set]";
918
- function baseIsSet$1(value) {
919
- return isObjectLike$3(value) && getTag$2(value) == setTag$2;
920
- }
921
- var _baseIsSet = baseIsSet$1;
922
- var baseIsSet = _baseIsSet, baseUnary = _baseUnary, nodeUtil = _nodeUtil.exports;
923
- var nodeIsSet = nodeUtil && nodeUtil.isSet;
924
- var isSet$1 = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;
925
- var isSet_1 = isSet$1;
926
- var Stack$2 = _Stack, arrayEach = _arrayEach, assignValue$1 = _assignValue, baseAssign = _baseAssign, baseAssignIn = _baseAssignIn, cloneBuffer$1 = _cloneBuffer.exports, copyArray$1 = _copyArray, copySymbols = _copySymbols, copySymbolsIn = _copySymbolsIn, getAllKeys$1 = _getAllKeys, getAllKeysIn = _getAllKeysIn, getTag$1 = _getTag, initCloneArray = _initCloneArray, initCloneByTag = _initCloneByTag, initCloneObject$1 = _initCloneObject, isArray$2 = isArray_1, isBuffer$2 = isBuffer$4.exports, isMap = isMap_1, isObject$3 = isObject_1, isSet = isSet_1, keys$2 = keys_1, keysIn$2 = keysIn_1;
927
- var CLONE_DEEP_FLAG$1 = 1, CLONE_FLAT_FLAG = 2, CLONE_SYMBOLS_FLAG$1 = 4;
928
- var argsTag$1 = "[object Arguments]", arrayTag$1 = "[object Array]", boolTag$1 = "[object Boolean]", dateTag$1 = "[object Date]", errorTag$1 = "[object Error]", funcTag = "[object Function]", genTag = "[object GeneratorFunction]", mapTag$1 = "[object Map]", numberTag$1 = "[object Number]", objectTag$2 = "[object Object]", regexpTag$1 = "[object RegExp]", setTag$1 = "[object Set]", stringTag$1 = "[object String]", symbolTag$1 = "[object Symbol]", weakMapTag = "[object WeakMap]";
929
- var arrayBufferTag$1 = "[object ArrayBuffer]", dataViewTag$1 = "[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]";
930
- var cloneableTags = {};
931
- cloneableTags[argsTag$1] = cloneableTags[arrayTag$1] = cloneableTags[arrayBufferTag$1] = cloneableTags[dataViewTag$1] = cloneableTags[boolTag$1] = cloneableTags[dateTag$1] = cloneableTags[float32Tag] = cloneableTags[float64Tag] = cloneableTags[int8Tag] = cloneableTags[int16Tag] = cloneableTags[int32Tag] = cloneableTags[mapTag$1] = cloneableTags[numberTag$1] = cloneableTags[objectTag$2] = cloneableTags[regexpTag$1] = cloneableTags[setTag$1] = cloneableTags[stringTag$1] = cloneableTags[symbolTag$1] = cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] = cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
932
- cloneableTags[errorTag$1] = cloneableTags[funcTag] = cloneableTags[weakMapTag] = false;
933
- function baseClone$1(value, bitmask, customizer, key, object, stack) {
934
- var result2, isDeep = bitmask & CLONE_DEEP_FLAG$1, isFlat = bitmask & CLONE_FLAT_FLAG, isFull = bitmask & CLONE_SYMBOLS_FLAG$1;
935
- if (customizer) {
936
- result2 = object ? customizer(value, key, object, stack) : customizer(value);
937
- }
938
- if (result2 !== void 0) {
939
- return result2;
940
- }
941
- if (!isObject$3(value)) {
942
- return value;
943
- }
944
- var isArr = isArray$2(value);
945
- if (isArr) {
946
- result2 = initCloneArray(value);
947
- if (!isDeep) {
948
- return copyArray$1(value, result2);
949
- }
950
- } else {
951
- var tag2 = getTag$1(value), isFunc = tag2 == funcTag || tag2 == genTag;
952
- if (isBuffer$2(value)) {
953
- return cloneBuffer$1(value, isDeep);
954
- }
955
- if (tag2 == objectTag$2 || tag2 == argsTag$1 || isFunc && !object) {
956
- result2 = isFlat || isFunc ? {} : initCloneObject$1(value);
957
- if (!isDeep) {
958
- return isFlat ? copySymbolsIn(value, baseAssignIn(result2, value)) : copySymbols(value, baseAssign(result2, value));
959
- }
960
- } else {
961
- if (!cloneableTags[tag2]) {
962
- return object ? value : {};
963
- }
964
- result2 = initCloneByTag(value, tag2, isDeep);
965
- }
966
- }
967
- stack || (stack = new Stack$2());
968
- var stacked = stack.get(value);
969
- if (stacked) {
970
- return stacked;
971
- }
972
- stack.set(value, result2);
973
- if (isSet(value)) {
974
- value.forEach(function(subValue) {
975
- result2.add(baseClone$1(subValue, bitmask, customizer, subValue, value, stack));
976
- });
977
- } else if (isMap(value)) {
978
- value.forEach(function(subValue, key2) {
979
- result2.set(key2, baseClone$1(subValue, bitmask, customizer, key2, value, stack));
980
- });
981
- }
982
- var keysFunc = isFull ? isFlat ? getAllKeysIn : getAllKeys$1 : isFlat ? keysIn$2 : keys$2;
983
- var props = isArr ? void 0 : keysFunc(value);
984
- arrayEach(props || value, function(subValue, key2) {
985
- if (props) {
986
- key2 = subValue;
987
- subValue = value[key2];
988
- }
989
- assignValue$1(result2, key2, baseClone$1(subValue, bitmask, customizer, key2, value, stack));
990
- });
991
- return result2;
992
- }
993
- var _baseClone = baseClone$1;
994
- var baseClone = _baseClone;
995
- var CLONE_DEEP_FLAG = 1, CLONE_SYMBOLS_FLAG = 4;
996
- function cloneDeep(value) {
997
- return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);
998
- }
999
- var cloneDeep_1 = cloneDeep;
1000
- var baseAssignValue = _baseAssignValue, eq$2 = eq_1;
1001
- function assignMergeValue$2(object, key, value) {
1002
- if (value !== void 0 && !eq$2(object[key], value) || value === void 0 && !(key in object)) {
1003
- baseAssignValue(object, key, value);
1004
- }
1005
- }
1006
- var _assignMergeValue = assignMergeValue$2;
1007
- function createBaseFor$1(fromRight) {
1008
- return function(object, iteratee, keysFunc) {
1009
- var index2 = -1, iterable = Object(object), props = keysFunc(object), length = props.length;
1010
- while (length--) {
1011
- var key = props[fromRight ? length : ++index2];
1012
- if (iteratee(iterable[key], key, iterable) === false) {
1013
- break;
1014
- }
1015
- }
1016
- return object;
1017
- };
1018
- }
1019
- var _createBaseFor = createBaseFor$1;
1020
- var createBaseFor = _createBaseFor;
1021
- var baseFor$1 = createBaseFor();
1022
- var _baseFor = baseFor$1;
1023
- var isArrayLike$2 = isArrayLike_1, isObjectLike$2 = isObjectLike_1;
1024
- function isArrayLikeObject$1(value) {
1025
- return isObjectLike$2(value) && isArrayLike$2(value);
1026
- }
1027
- var isArrayLikeObject_1 = isArrayLikeObject$1;
1028
- var baseGetTag = _baseGetTag, getPrototype = _getPrototype, isObjectLike$1 = isObjectLike_1;
1029
- var objectTag$1 = "[object Object]";
1030
- var funcProto = Function.prototype, objectProto$3 = Object.prototype;
1031
- var funcToString = funcProto.toString;
1032
- var hasOwnProperty$3 = objectProto$3.hasOwnProperty;
1033
- var objectCtorString = funcToString.call(Object);
1034
- function isPlainObject$1(value) {
1035
- if (!isObjectLike$1(value) || baseGetTag(value) != objectTag$1) {
1036
- return false;
1037
- }
1038
- var proto = getPrototype(value);
1039
- if (proto === null) {
1040
- return true;
1041
- }
1042
- var Ctor = hasOwnProperty$3.call(proto, "constructor") && proto.constructor;
1043
- return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
1044
- }
1045
- var isPlainObject_1 = isPlainObject$1;
1046
- function safeGet$2(object, key) {
1047
- if (key === "constructor" && typeof object[key] === "function") {
1048
- return;
1049
- }
1050
- if (key == "__proto__") {
1051
- return;
1052
- }
1053
- return object[key];
1054
- }
1055
- var _safeGet = safeGet$2;
1056
- var copyObject$2 = _copyObject, keysIn$1 = keysIn_1;
1057
- function toPlainObject$1(value) {
1058
- return copyObject$2(value, keysIn$1(value));
1059
- }
1060
- var toPlainObject_1 = toPlainObject$1;
1061
- var assignMergeValue$1 = _assignMergeValue, cloneBuffer = _cloneBuffer.exports, cloneTypedArray = _cloneTypedArray, copyArray = _copyArray, initCloneObject = _initCloneObject, isArguments = isArguments_1, isArray$1 = isArray_1, isArrayLikeObject = isArrayLikeObject_1, isBuffer$1 = isBuffer$4.exports, isFunction = isFunction_1, isObject$2 = isObject_1, isPlainObject = isPlainObject_1, isTypedArray$1 = isTypedArray_1, safeGet$1 = _safeGet, toPlainObject = toPlainObject_1;
1062
- function baseMergeDeep$1(object, source, key, srcIndex, mergeFunc, customizer, stack) {
1063
- var objValue = safeGet$1(object, key), srcValue = safeGet$1(source, key), stacked = stack.get(srcValue);
1064
- if (stacked) {
1065
- assignMergeValue$1(object, key, stacked);
1066
- return;
1067
- }
1068
- var newValue = customizer ? customizer(objValue, srcValue, key + "", object, source, stack) : void 0;
1069
- var isCommon = newValue === void 0;
1070
- if (isCommon) {
1071
- var isArr = isArray$1(srcValue), isBuff = !isArr && isBuffer$1(srcValue), isTyped = !isArr && !isBuff && isTypedArray$1(srcValue);
1072
- newValue = srcValue;
1073
- if (isArr || isBuff || isTyped) {
1074
- if (isArray$1(objValue)) {
1075
- newValue = objValue;
1076
- } else if (isArrayLikeObject(objValue)) {
1077
- newValue = copyArray(objValue);
1078
- } else if (isBuff) {
1079
- isCommon = false;
1080
- newValue = cloneBuffer(srcValue, true);
1081
- } else if (isTyped) {
1082
- isCommon = false;
1083
- newValue = cloneTypedArray(srcValue, true);
1084
- } else {
1085
- newValue = [];
1086
- }
1087
- } else if (isPlainObject(srcValue) || isArguments(srcValue)) {
1088
- newValue = objValue;
1089
- if (isArguments(objValue)) {
1090
- newValue = toPlainObject(objValue);
1091
- } else if (!isObject$2(objValue) || isFunction(objValue)) {
1092
- newValue = initCloneObject(srcValue);
1093
- }
1094
- } else {
1095
- isCommon = false;
1096
- }
1097
- }
1098
- if (isCommon) {
1099
- stack.set(srcValue, newValue);
1100
- mergeFunc(newValue, srcValue, srcIndex, customizer, stack);
1101
- stack["delete"](srcValue);
1102
- }
1103
- assignMergeValue$1(object, key, newValue);
1104
- }
1105
- var _baseMergeDeep = baseMergeDeep$1;
1106
- var Stack$1 = _Stack, assignMergeValue = _assignMergeValue, baseFor = _baseFor, baseMergeDeep = _baseMergeDeep, isObject$1 = isObject_1, keysIn = keysIn_1, safeGet = _safeGet;
1107
- function baseMerge$1(object, source, srcIndex, customizer, stack) {
1108
- if (object === source) {
1109
- return;
1110
- }
1111
- baseFor(source, function(srcValue, key) {
1112
- stack || (stack = new Stack$1());
1113
- if (isObject$1(srcValue)) {
1114
- baseMergeDeep(object, source, key, srcIndex, baseMerge$1, customizer, stack);
1115
- } else {
1116
- var newValue = customizer ? customizer(safeGet(object, key), srcValue, key + "", object, source, stack) : void 0;
1117
- if (newValue === void 0) {
1118
- newValue = srcValue;
1119
- }
1120
- assignMergeValue(object, key, newValue);
1121
- }
1122
- }, keysIn);
1123
- }
1124
- var _baseMerge = baseMerge$1;
1125
- function identity$2(value) {
1126
- return value;
1127
- }
1128
- var identity_1 = identity$2;
1129
- function apply$1(func, thisArg, args) {
1130
- switch (args.length) {
1131
- case 0:
1132
- return func.call(thisArg);
1133
- case 1:
1134
- return func.call(thisArg, args[0]);
1135
- case 2:
1136
- return func.call(thisArg, args[0], args[1]);
1137
- case 3:
1138
- return func.call(thisArg, args[0], args[1], args[2]);
1139
- }
1140
- return func.apply(thisArg, args);
1141
- }
1142
- var _apply = apply$1;
1143
- var apply = _apply;
1144
- var nativeMax = Math.max;
1145
- function overRest$1(func, start, transform) {
1146
- start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
1147
- return function() {
1148
- var args = arguments, index2 = -1, length = nativeMax(args.length - start, 0), array = Array(length);
1149
- while (++index2 < length) {
1150
- array[index2] = args[start + index2];
1151
- }
1152
- index2 = -1;
1153
- var otherArgs = Array(start + 1);
1154
- while (++index2 < start) {
1155
- otherArgs[index2] = args[index2];
1156
- }
1157
- otherArgs[start] = transform(array);
1158
- return apply(func, this, otherArgs);
1159
- };
1160
- }
1161
- var _overRest = overRest$1;
1162
- function constant$1(value) {
1163
- return function() {
1164
- return value;
1165
- };
1166
- }
1167
- var constant_1 = constant$1;
1168
- var constant = constant_1, defineProperty = _defineProperty, identity$1 = identity_1;
1169
- var baseSetToString$1 = !defineProperty ? identity$1 : function(func, string) {
1170
- return defineProperty(func, "toString", {
1171
- "configurable": true,
1172
- "enumerable": false,
1173
- "value": constant(string),
1174
- "writable": true
1175
- });
1176
- };
1177
- var _baseSetToString = baseSetToString$1;
1178
- var HOT_COUNT = 800, HOT_SPAN = 16;
1179
- var nativeNow = Date.now;
1180
- function shortOut$1(func) {
1181
- var count = 0, lastCalled = 0;
1182
- return function() {
1183
- var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
1184
- lastCalled = stamp;
1185
- if (remaining > 0) {
1186
- if (++count >= HOT_COUNT) {
1187
- return arguments[0];
36
+ function mergeLocale(base2, patch) {
37
+ function merge2(a, b) {
38
+ if (typeof a !== "object" || typeof b !== "object" || Array.isArray(a) || Array.isArray(b)) {
39
+ return b !== void 0 ? b : a;
40
+ }
41
+ const result2 = {};
42
+ for (const key in a) {
43
+ if (a.hasOwnProperty(key)) {
44
+ result2[key] = merge2(a[key], b[key]);
1188
45
  }
1189
- } else {
1190
- count = 0;
1191
46
  }
1192
- return func.apply(void 0, arguments);
1193
- };
1194
- }
1195
- var _shortOut = shortOut$1;
1196
- var baseSetToString = _baseSetToString, shortOut = _shortOut;
1197
- var setToString$1 = shortOut(baseSetToString);
1198
- var _setToString = setToString$1;
1199
- var identity = identity_1, overRest = _overRest, setToString = _setToString;
1200
- function baseRest$1(func, start) {
1201
- return setToString(overRest(func, start, identity), func + "");
1202
- }
1203
- var _baseRest = baseRest$1;
1204
- var eq$1 = eq_1, isArrayLike$1 = isArrayLike_1, isIndex = _isIndex, isObject = isObject_1;
1205
- function isIterateeCall$1(value, index2, object) {
1206
- if (!isObject(object)) {
1207
- return false;
1208
- }
1209
- var type = typeof index2;
1210
- if (type == "number" ? isArrayLike$1(object) && isIndex(index2, object.length) : type == "string" && index2 in object) {
1211
- return eq$1(object[index2], value);
47
+ return result2;
1212
48
  }
1213
- return false;
1214
- }
1215
- var _isIterateeCall = isIterateeCall$1;
1216
- var baseRest = _baseRest, isIterateeCall = _isIterateeCall;
1217
- function createAssigner$3(assigner) {
1218
- return baseRest(function(object, sources) {
1219
- var index2 = -1, length = sources.length, customizer = length > 1 ? sources[length - 1] : void 0, guard = length > 2 ? sources[2] : void 0;
1220
- customizer = assigner.length > 3 && typeof customizer == "function" ? (length--, customizer) : void 0;
1221
- if (guard && isIterateeCall(sources[0], sources[1], guard)) {
1222
- customizer = length < 3 ? void 0 : customizer;
1223
- length = 1;
1224
- }
1225
- object = Object(object);
1226
- while (++index2 < length) {
1227
- var source = sources[index2];
1228
- if (source) {
1229
- assigner(object, source, index2, customizer);
1230
- }
1231
- }
1232
- return object;
1233
- });
1234
- }
1235
- var _createAssigner = createAssigner$3;
1236
- var baseMerge = _baseMerge, createAssigner$2 = _createAssigner;
1237
- var merge = createAssigner$2(function(object, source, srcIndex) {
1238
- baseMerge(object, source, srcIndex);
1239
- });
1240
- var merge_1 = merge;
1241
- function mergeLocale(base2, patch) {
1242
- return merge_1(cloneDeep_1(base2), patch);
49
+ return merge2(base2, patch);
1243
50
  }
1244
51
  const typeTemplate$1 = "${label} is not a valid ${type}";
1245
52
  const base = {
@@ -1476,91 +283,509 @@ const zhCN = mergeLocale(base, {
1476
283
  Switch: {
1477
284
  name: "\u5F00\u5173"
1478
285
  }
1479
- });
1480
- const defaultConfigRef = {
1481
- current: {
1482
- locale: zhCN
286
+ });
287
+ const defaultConfigRef = {
288
+ current: {
289
+ locale: zhCN
290
+ }
291
+ };
292
+ function setDefaultConfig(config2) {
293
+ defaultConfigRef.current = config2;
294
+ }
295
+ function getDefaultConfig() {
296
+ return defaultConfigRef.current;
297
+ }
298
+ const ConfigContext = React$1.createContext(null);
299
+ const ConfigProvider = (props) => {
300
+ const {
301
+ children
302
+ } = props, config2 = __rest(props, ["children"]);
303
+ const parentConfig = useConfig();
304
+ return React$1.createElement(ConfigContext.Provider, {
305
+ value: Object.assign(Object.assign({}, parentConfig), config2)
306
+ }, children);
307
+ };
308
+ function useConfig() {
309
+ var _a;
310
+ return (_a = useContext(ConfigContext)) !== null && _a !== void 0 ? _a : getDefaultConfig();
311
+ }
312
+ var actionSheet = /* @__PURE__ */ (() => ".adm-action-sheet-popup > .adm-popup-body {\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n overflow: hidden;\n}\n.adm-action-sheet-extra {\n display: flex;\n justify-content: center;\n color: var(--adm-color-weak);\n font-size: var(--adm-font-size-7);\n padding: 18px 12px;\n border-bottom: 1px solid var(--adm-color-border);\n}\n.adm-action-sheet-button-list {\n border-bottom: 1px solid var(--adm-color-border);\n}\n.adm-action-sheet-button-item-wrapper {\n border-bottom: 1px solid var(--adm-color-border);\n}\n.adm-action-sheet-button-item-wrapper:last-child {\n border-bottom: none;\n}\n.adm-action-sheet-button-item {\n text-align: center;\n display: block;\n background-color: var(--adm-color-background);\n padding: 16px;\n}\n.adm-action-sheet-button-item:active {\n background-color: #eeeeee;\n}\n.adm-action-sheet-button-item-disabled {\n cursor: not-allowed;\n pointer-events: none;\n opacity: 0.4;\n}\n.adm-action-sheet-button-item-name {\n color: var(--adm-color-text);\n font-size: var(--adm-font-size-10);\n}\n.adm-action-sheet-button-item-description {\n font-size: var(--adm-font-size-4);\n color: var(--adm-color-weak);\n padding-top: 2px;\n}\n.adm-action-sheet-button-item-danger .adm-action-sheet-button-item-name {\n color: var(--adm-color-danger);\n}\n.adm-action-sheet-cancel {\n background-color: var(--adm-color-box);\n padding-top: 8px;\n}\n")();
313
+ function attachPropertiesToComponent(component, properties) {
314
+ const ret = component;
315
+ for (const key in properties) {
316
+ if (properties.hasOwnProperty(key)) {
317
+ ret[key] = properties[key];
318
+ }
319
+ }
320
+ return ret;
321
+ }
322
+ function withNativeProps(props, element) {
323
+ const p2 = Object.assign({}, element.props);
324
+ if (props.className) {
325
+ p2.className = classNames(element.props.className, props.className);
326
+ }
327
+ if (props.style) {
328
+ p2.style = Object.assign(Object.assign({}, p2.style), props.style);
329
+ }
330
+ if (props.tabIndex !== void 0) {
331
+ p2.tabIndex = props.tabIndex;
332
+ }
333
+ for (const key in props) {
334
+ if (!props.hasOwnProperty(key))
335
+ continue;
336
+ if (key.startsWith("data-") || key.startsWith("aria-")) {
337
+ p2[key] = props[key];
338
+ }
339
+ }
340
+ return React$1.cloneElement(element, p2);
341
+ }
342
+ var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
343
+ var freeGlobal$1 = typeof commonjsGlobal == "object" && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
344
+ var _freeGlobal = freeGlobal$1;
345
+ var freeGlobal = _freeGlobal;
346
+ var freeSelf = typeof self == "object" && self && self.Object === Object && self;
347
+ var root$8 = freeGlobal || freeSelf || Function("return this")();
348
+ var _root = root$8;
349
+ var root$7 = _root;
350
+ var Symbol$4 = root$7.Symbol;
351
+ var _Symbol = Symbol$4;
352
+ var Symbol$3 = _Symbol;
353
+ var objectProto$e = Object.prototype;
354
+ var hasOwnProperty$b = objectProto$e.hasOwnProperty;
355
+ var nativeObjectToString$1 = objectProto$e.toString;
356
+ var symToStringTag$1 = Symbol$3 ? Symbol$3.toStringTag : void 0;
357
+ function getRawTag$1(value) {
358
+ var isOwn = hasOwnProperty$b.call(value, symToStringTag$1), tag2 = value[symToStringTag$1];
359
+ try {
360
+ value[symToStringTag$1] = void 0;
361
+ var unmasked = true;
362
+ } catch (e2) {
363
+ }
364
+ var result2 = nativeObjectToString$1.call(value);
365
+ if (unmasked) {
366
+ if (isOwn) {
367
+ value[symToStringTag$1] = tag2;
368
+ } else {
369
+ delete value[symToStringTag$1];
370
+ }
371
+ }
372
+ return result2;
373
+ }
374
+ var _getRawTag = getRawTag$1;
375
+ var objectProto$d = Object.prototype;
376
+ var nativeObjectToString = objectProto$d.toString;
377
+ function objectToString$1(value) {
378
+ return nativeObjectToString.call(value);
379
+ }
380
+ var _objectToString = objectToString$1;
381
+ var Symbol$2 = _Symbol, getRawTag = _getRawTag, objectToString = _objectToString;
382
+ var nullTag = "[object Null]", undefinedTag = "[object Undefined]";
383
+ var symToStringTag = Symbol$2 ? Symbol$2.toStringTag : void 0;
384
+ function baseGetTag$5(value) {
385
+ if (value == null) {
386
+ return value === void 0 ? undefinedTag : nullTag;
387
+ }
388
+ return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
389
+ }
390
+ var _baseGetTag = baseGetTag$5;
391
+ function isObject$7(value) {
392
+ var type = typeof value;
393
+ return value != null && (type == "object" || type == "function");
394
+ }
395
+ var isObject_1 = isObject$7;
396
+ var baseGetTag$4 = _baseGetTag, isObject$6 = isObject_1;
397
+ var asyncTag = "[object AsyncFunction]", funcTag$1 = "[object Function]", genTag = "[object GeneratorFunction]", proxyTag = "[object Proxy]";
398
+ function isFunction$3(value) {
399
+ if (!isObject$6(value)) {
400
+ return false;
401
+ }
402
+ var tag2 = baseGetTag$4(value);
403
+ return tag2 == funcTag$1 || tag2 == genTag || tag2 == asyncTag || tag2 == proxyTag;
404
+ }
405
+ var isFunction_1 = isFunction$3;
406
+ var root$6 = _root;
407
+ var coreJsData$1 = root$6["__core-js_shared__"];
408
+ var _coreJsData = coreJsData$1;
409
+ var coreJsData = _coreJsData;
410
+ var maskSrcKey = function() {
411
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
412
+ return uid ? "Symbol(src)_1." + uid : "";
413
+ }();
414
+ function isMasked$1(func) {
415
+ return !!maskSrcKey && maskSrcKey in func;
416
+ }
417
+ var _isMasked = isMasked$1;
418
+ var funcProto$2 = Function.prototype;
419
+ var funcToString$2 = funcProto$2.toString;
420
+ function toSource$2(func) {
421
+ if (func != null) {
422
+ try {
423
+ return funcToString$2.call(func);
424
+ } catch (e2) {
425
+ }
426
+ try {
427
+ return func + "";
428
+ } catch (e2) {
429
+ }
430
+ }
431
+ return "";
432
+ }
433
+ var _toSource = toSource$2;
434
+ var isFunction$2 = isFunction_1, isMasked = _isMasked, isObject$5 = isObject_1, toSource$1 = _toSource;
435
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
436
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
437
+ var funcProto$1 = Function.prototype, objectProto$c = Object.prototype;
438
+ var funcToString$1 = funcProto$1.toString;
439
+ var hasOwnProperty$a = objectProto$c.hasOwnProperty;
440
+ var reIsNative = RegExp("^" + funcToString$1.call(hasOwnProperty$a).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
441
+ function baseIsNative$1(value) {
442
+ if (!isObject$5(value) || isMasked(value)) {
443
+ return false;
444
+ }
445
+ var pattern = isFunction$2(value) ? reIsNative : reIsHostCtor;
446
+ return pattern.test(toSource$1(value));
447
+ }
448
+ var _baseIsNative = baseIsNative$1;
449
+ function getValue$1(object, key) {
450
+ return object == null ? void 0 : object[key];
451
+ }
452
+ var _getValue = getValue$1;
453
+ var baseIsNative = _baseIsNative, getValue = _getValue;
454
+ function getNative$7(object, key) {
455
+ var value = getValue(object, key);
456
+ return baseIsNative(value) ? value : void 0;
457
+ }
458
+ var _getNative = getNative$7;
459
+ var getNative$6 = _getNative;
460
+ var defineProperty$2 = function() {
461
+ try {
462
+ var func = getNative$6(Object, "defineProperty");
463
+ func({}, "", {});
464
+ return func;
465
+ } catch (e2) {
466
+ }
467
+ }();
468
+ var _defineProperty = defineProperty$2;
469
+ var defineProperty$1 = _defineProperty;
470
+ function baseAssignValue$3(object, key, value) {
471
+ if (key == "__proto__" && defineProperty$1) {
472
+ defineProperty$1(object, key, {
473
+ "configurable": true,
474
+ "enumerable": true,
475
+ "value": value,
476
+ "writable": true
477
+ });
478
+ } else {
479
+ object[key] = value;
480
+ }
481
+ }
482
+ var _baseAssignValue = baseAssignValue$3;
483
+ function eq$5(value, other) {
484
+ return value === other || value !== value && other !== other;
485
+ }
486
+ var eq_1 = eq$5;
487
+ var baseAssignValue$2 = _baseAssignValue, eq$4 = eq_1;
488
+ var objectProto$b = Object.prototype;
489
+ var hasOwnProperty$9 = objectProto$b.hasOwnProperty;
490
+ function assignValue$1(object, key, value) {
491
+ var objValue = object[key];
492
+ if (!(hasOwnProperty$9.call(object, key) && eq$4(objValue, value)) || value === void 0 && !(key in object)) {
493
+ baseAssignValue$2(object, key, value);
494
+ }
495
+ }
496
+ var _assignValue = assignValue$1;
497
+ var assignValue = _assignValue, baseAssignValue$1 = _baseAssignValue;
498
+ function copyObject$2(source, props, object, customizer) {
499
+ var isNew = !object;
500
+ object || (object = {});
501
+ var index2 = -1, length = props.length;
502
+ while (++index2 < length) {
503
+ var key = props[index2];
504
+ var newValue = customizer ? customizer(object[key], source[key], key, object, source) : void 0;
505
+ if (newValue === void 0) {
506
+ newValue = source[key];
507
+ }
508
+ if (isNew) {
509
+ baseAssignValue$1(object, key, newValue);
510
+ } else {
511
+ assignValue(object, key, newValue);
512
+ }
513
+ }
514
+ return object;
515
+ }
516
+ var _copyObject = copyObject$2;
517
+ function identity$2(value) {
518
+ return value;
519
+ }
520
+ var identity_1 = identity$2;
521
+ function apply$1(func, thisArg, args) {
522
+ switch (args.length) {
523
+ case 0:
524
+ return func.call(thisArg);
525
+ case 1:
526
+ return func.call(thisArg, args[0]);
527
+ case 2:
528
+ return func.call(thisArg, args[0], args[1]);
529
+ case 3:
530
+ return func.call(thisArg, args[0], args[1], args[2]);
1483
531
  }
1484
- };
1485
- function setDefaultConfig(config2) {
1486
- defaultConfigRef.current = config2;
532
+ return func.apply(thisArg, args);
1487
533
  }
1488
- function getDefaultConfig() {
1489
- return defaultConfigRef.current;
534
+ var _apply = apply$1;
535
+ var apply = _apply;
536
+ var nativeMax = Math.max;
537
+ function overRest$1(func, start, transform) {
538
+ start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
539
+ return function() {
540
+ var args = arguments, index2 = -1, length = nativeMax(args.length - start, 0), array = Array(length);
541
+ while (++index2 < length) {
542
+ array[index2] = args[start + index2];
543
+ }
544
+ index2 = -1;
545
+ var otherArgs = Array(start + 1);
546
+ while (++index2 < start) {
547
+ otherArgs[index2] = args[index2];
548
+ }
549
+ otherArgs[start] = transform(array);
550
+ return apply(func, this, otherArgs);
551
+ };
1490
552
  }
1491
- const ConfigContext = React$1.createContext(null);
1492
- const ConfigProvider = (props) => {
1493
- const {
1494
- children
1495
- } = props, config2 = __rest(props, ["children"]);
1496
- const parentConfig = useConfig();
1497
- return React$1.createElement(ConfigContext.Provider, {
1498
- value: Object.assign(Object.assign({}, parentConfig), config2)
1499
- }, children);
1500
- };
1501
- function useConfig() {
1502
- var _a;
1503
- return (_a = useContext(ConfigContext)) !== null && _a !== void 0 ? _a : getDefaultConfig();
553
+ var _overRest = overRest$1;
554
+ function constant$1(value) {
555
+ return function() {
556
+ return value;
557
+ };
1504
558
  }
1505
- var actionSheet = /* @__PURE__ */ (() => ".adm-action-sheet-popup > .adm-popup-body {\n border-top-left-radius: 8px;\n border-top-right-radius: 8px;\n overflow: hidden;\n}\n.adm-action-sheet-extra {\n display: flex;\n justify-content: center;\n color: var(--adm-color-weak);\n font-size: var(--adm-font-size-7);\n padding: 18px 12px;\n border-bottom: 1px solid var(--adm-color-border);\n}\n.adm-action-sheet-button-list {\n border-bottom: 1px solid var(--adm-color-border);\n}\n.adm-action-sheet-button-item-wrapper {\n border-bottom: 1px solid var(--adm-color-border);\n}\n.adm-action-sheet-button-item-wrapper:last-child {\n border-bottom: none;\n}\n.adm-action-sheet-button-item {\n text-align: center;\n display: block;\n background-color: var(--adm-color-background);\n padding: 16px;\n}\n.adm-action-sheet-button-item:active {\n background-color: #eeeeee;\n}\n.adm-action-sheet-button-item-disabled {\n cursor: not-allowed;\n pointer-events: none;\n opacity: 0.4;\n}\n.adm-action-sheet-button-item-name {\n color: var(--adm-color-text);\n font-size: var(--adm-font-size-10);\n}\n.adm-action-sheet-button-item-description {\n font-size: var(--adm-font-size-4);\n color: var(--adm-color-weak);\n padding-top: 2px;\n}\n.adm-action-sheet-button-item-danger .adm-action-sheet-button-item-name {\n color: var(--adm-color-danger);\n}\n.adm-action-sheet-cancel {\n background-color: var(--adm-color-box);\n padding-top: 8px;\n}\n")();
1506
- function attachPropertiesToComponent(component, properties) {
1507
- const ret = component;
1508
- for (const key in properties) {
1509
- if (properties.hasOwnProperty(key)) {
1510
- ret[key] = properties[key];
559
+ var constant_1 = constant$1;
560
+ var constant = constant_1, defineProperty = _defineProperty, identity$1 = identity_1;
561
+ var baseSetToString$1 = !defineProperty ? identity$1 : function(func, string) {
562
+ return defineProperty(func, "toString", {
563
+ "configurable": true,
564
+ "enumerable": false,
565
+ "value": constant(string),
566
+ "writable": true
567
+ });
568
+ };
569
+ var _baseSetToString = baseSetToString$1;
570
+ var HOT_COUNT = 800, HOT_SPAN = 16;
571
+ var nativeNow = Date.now;
572
+ function shortOut$1(func) {
573
+ var count = 0, lastCalled = 0;
574
+ return function() {
575
+ var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
576
+ lastCalled = stamp;
577
+ if (remaining > 0) {
578
+ if (++count >= HOT_COUNT) {
579
+ return arguments[0];
580
+ }
581
+ } else {
582
+ count = 0;
1511
583
  }
1512
- }
1513
- return ret;
584
+ return func.apply(void 0, arguments);
585
+ };
1514
586
  }
1515
- function withNativeProps(props, element) {
1516
- const p2 = Object.assign({}, element.props);
1517
- if (props.className) {
1518
- p2.className = classNames(element.props.className, props.className);
587
+ var _shortOut = shortOut$1;
588
+ var baseSetToString = _baseSetToString, shortOut = _shortOut;
589
+ var setToString$1 = shortOut(baseSetToString);
590
+ var _setToString = setToString$1;
591
+ var identity = identity_1, overRest = _overRest, setToString = _setToString;
592
+ function baseRest$1(func, start) {
593
+ return setToString(overRest(func, start, identity), func + "");
594
+ }
595
+ var _baseRest = baseRest$1;
596
+ var MAX_SAFE_INTEGER$1 = 9007199254740991;
597
+ function isLength$2(value) {
598
+ return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER$1;
599
+ }
600
+ var isLength_1 = isLength$2;
601
+ var isFunction$1 = isFunction_1, isLength$1 = isLength_1;
602
+ function isArrayLike$4(value) {
603
+ return value != null && isLength$1(value.length) && !isFunction$1(value);
604
+ }
605
+ var isArrayLike_1 = isArrayLike$4;
606
+ var MAX_SAFE_INTEGER = 9007199254740991;
607
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
608
+ function isIndex$2(value, length) {
609
+ var type = typeof value;
610
+ length = length == null ? MAX_SAFE_INTEGER : length;
611
+ return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
612
+ }
613
+ var _isIndex = isIndex$2;
614
+ var eq$3 = eq_1, isArrayLike$3 = isArrayLike_1, isIndex$1 = _isIndex, isObject$4 = isObject_1;
615
+ function isIterateeCall$1(value, index2, object) {
616
+ if (!isObject$4(object)) {
617
+ return false;
1519
618
  }
1520
- if (props.style) {
1521
- p2.style = Object.assign(Object.assign({}, p2.style), props.style);
619
+ var type = typeof index2;
620
+ if (type == "number" ? isArrayLike$3(object) && isIndex$1(index2, object.length) : type == "string" && index2 in object) {
621
+ return eq$3(object[index2], value);
1522
622
  }
1523
- if (props.tabIndex !== void 0) {
1524
- p2.tabIndex = props.tabIndex;
623
+ return false;
624
+ }
625
+ var _isIterateeCall = isIterateeCall$1;
626
+ var baseRest = _baseRest, isIterateeCall = _isIterateeCall;
627
+ function createAssigner$2(assigner) {
628
+ return baseRest(function(object, sources) {
629
+ var index2 = -1, length = sources.length, customizer = length > 1 ? sources[length - 1] : void 0, guard = length > 2 ? sources[2] : void 0;
630
+ customizer = assigner.length > 3 && typeof customizer == "function" ? (length--, customizer) : void 0;
631
+ if (guard && isIterateeCall(sources[0], sources[1], guard)) {
632
+ customizer = length < 3 ? void 0 : customizer;
633
+ length = 1;
634
+ }
635
+ object = Object(object);
636
+ while (++index2 < length) {
637
+ var source = sources[index2];
638
+ if (source) {
639
+ assigner(object, source, index2, customizer);
640
+ }
641
+ }
642
+ return object;
643
+ });
644
+ }
645
+ var _createAssigner = createAssigner$2;
646
+ function baseTimes$1(n2, iteratee) {
647
+ var index2 = -1, result2 = Array(n2);
648
+ while (++index2 < n2) {
649
+ result2[index2] = iteratee(index2);
1525
650
  }
1526
- for (const key in props) {
1527
- if (!props.hasOwnProperty(key))
1528
- continue;
1529
- if (key.startsWith("data-") || key.startsWith("aria-")) {
1530
- p2[key] = props[key];
651
+ return result2;
652
+ }
653
+ var _baseTimes = baseTimes$1;
654
+ function isObjectLike$6(value) {
655
+ return value != null && typeof value == "object";
656
+ }
657
+ var isObjectLike_1 = isObjectLike$6;
658
+ var baseGetTag$3 = _baseGetTag, isObjectLike$5 = isObjectLike_1;
659
+ var argsTag$2 = "[object Arguments]";
660
+ function baseIsArguments$1(value) {
661
+ return isObjectLike$5(value) && baseGetTag$3(value) == argsTag$2;
662
+ }
663
+ var _baseIsArguments = baseIsArguments$1;
664
+ var baseIsArguments = _baseIsArguments, isObjectLike$4 = isObjectLike_1;
665
+ var objectProto$a = Object.prototype;
666
+ var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
667
+ var propertyIsEnumerable$1 = objectProto$a.propertyIsEnumerable;
668
+ var isArguments$2 = baseIsArguments(function() {
669
+ return arguments;
670
+ }()) ? baseIsArguments : function(value) {
671
+ return isObjectLike$4(value) && hasOwnProperty$8.call(value, "callee") && !propertyIsEnumerable$1.call(value, "callee");
672
+ };
673
+ var isArguments_1 = isArguments$2;
674
+ var isArray$4 = Array.isArray;
675
+ var isArray_1 = isArray$4;
676
+ var isBuffer$3 = { exports: {} };
677
+ function stubFalse() {
678
+ return false;
679
+ }
680
+ var stubFalse_1 = stubFalse;
681
+ (function(module, exports) {
682
+ var root2 = _root, stubFalse2 = stubFalse_1;
683
+ var freeExports = exports && !exports.nodeType && exports;
684
+ var freeModule = freeExports && true && module && !module.nodeType && module;
685
+ var moduleExports = freeModule && freeModule.exports === freeExports;
686
+ var Buffer = moduleExports ? root2.Buffer : void 0;
687
+ var nativeIsBuffer = Buffer ? Buffer.isBuffer : void 0;
688
+ var isBuffer2 = nativeIsBuffer || stubFalse2;
689
+ module.exports = isBuffer2;
690
+ })(isBuffer$3, isBuffer$3.exports);
691
+ var baseGetTag$2 = _baseGetTag, isLength = isLength_1, isObjectLike$3 = isObjectLike_1;
692
+ 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]";
693
+ 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]";
694
+ var typedArrayTags = {};
695
+ typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
696
+ 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;
697
+ function baseIsTypedArray$1(value) {
698
+ return isObjectLike$3(value) && isLength(value.length) && !!typedArrayTags[baseGetTag$2(value)];
699
+ }
700
+ var _baseIsTypedArray = baseIsTypedArray$1;
701
+ function baseUnary$1(func) {
702
+ return function(value) {
703
+ return func(value);
704
+ };
705
+ }
706
+ var _baseUnary = baseUnary$1;
707
+ var _nodeUtil = { exports: {} };
708
+ (function(module, exports) {
709
+ var freeGlobal2 = _freeGlobal;
710
+ var freeExports = exports && !exports.nodeType && exports;
711
+ var freeModule = freeExports && true && module && !module.nodeType && module;
712
+ var moduleExports = freeModule && freeModule.exports === freeExports;
713
+ var freeProcess = moduleExports && freeGlobal2.process;
714
+ var nodeUtil2 = function() {
715
+ try {
716
+ var types = freeModule && freeModule.require && freeModule.require("util").types;
717
+ if (types) {
718
+ return types;
719
+ }
720
+ return freeProcess && freeProcess.binding && freeProcess.binding("util");
721
+ } catch (e2) {
722
+ }
723
+ }();
724
+ module.exports = nodeUtil2;
725
+ })(_nodeUtil, _nodeUtil.exports);
726
+ var baseIsTypedArray = _baseIsTypedArray, baseUnary = _baseUnary, nodeUtil = _nodeUtil.exports;
727
+ var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
728
+ var isTypedArray$3 = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
729
+ var isTypedArray_1 = isTypedArray$3;
730
+ var baseTimes = _baseTimes, isArguments$1 = isArguments_1, isArray$3 = isArray_1, isBuffer$2 = isBuffer$3.exports, isIndex = _isIndex, isTypedArray$2 = isTypedArray_1;
731
+ var objectProto$9 = Object.prototype;
732
+ var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
733
+ function arrayLikeKeys$2(value, inherited) {
734
+ 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, result2 = skipIndexes ? baseTimes(value.length, String) : [], length = result2.length;
735
+ for (var key in value) {
736
+ if ((inherited || hasOwnProperty$7.call(value, key)) && !(skipIndexes && (key == "length" || isBuff && (key == "offset" || key == "parent") || isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || isIndex(key, length)))) {
737
+ result2.push(key);
1531
738
  }
1532
739
  }
1533
- return React$1.cloneElement(element, p2);
740
+ return result2;
1534
741
  }
1535
- var assignValue = _assignValue, copyObject$1 = _copyObject, createAssigner$1 = _createAssigner, isArrayLike = isArrayLike_1, isPrototype = _isPrototype, keys$1 = keys_1;
1536
- var objectProto$2 = Object.prototype;
1537
- var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
1538
- var assign = createAssigner$1(function(object, source) {
1539
- if (isPrototype(source) || isArrayLike(source)) {
1540
- copyObject$1(source, keys$1(source), object);
1541
- return;
742
+ var _arrayLikeKeys = arrayLikeKeys$2;
743
+ var objectProto$8 = Object.prototype;
744
+ function isPrototype$3(value) {
745
+ var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto$8;
746
+ return value === proto;
747
+ }
748
+ var _isPrototype = isPrototype$3;
749
+ function overArg$2(func, transform) {
750
+ return function(arg) {
751
+ return func(transform(arg));
752
+ };
753
+ }
754
+ var _overArg = overArg$2;
755
+ var overArg$1 = _overArg;
756
+ var nativeKeys$1 = overArg$1(Object.keys, Object);
757
+ var _nativeKeys = nativeKeys$1;
758
+ var isPrototype$2 = _isPrototype, nativeKeys = _nativeKeys;
759
+ var objectProto$7 = Object.prototype;
760
+ var hasOwnProperty$6 = objectProto$7.hasOwnProperty;
761
+ function baseKeys$1(object) {
762
+ if (!isPrototype$2(object)) {
763
+ return nativeKeys(object);
1542
764
  }
1543
- for (var key in source) {
1544
- if (hasOwnProperty$2.call(source, key)) {
1545
- assignValue(object, key, source[key]);
765
+ var result2 = [];
766
+ for (var key in Object(object)) {
767
+ if (hasOwnProperty$6.call(object, key) && key != "constructor") {
768
+ result2.push(key);
1546
769
  }
1547
770
  }
1548
- });
1549
- var assign_1 = assign;
1550
- var copyObject = _copyObject, createAssigner = _createAssigner, keys = keys_1;
1551
- var assignWith = createAssigner(function(object, source, srcIndex, customizer) {
1552
- copyObject(source, keys(source), object, customizer);
771
+ return result2;
772
+ }
773
+ var _baseKeys = baseKeys$1;
774
+ var arrayLikeKeys$1 = _arrayLikeKeys, baseKeys = _baseKeys, isArrayLike$2 = isArrayLike_1;
775
+ function keys$2(object) {
776
+ return isArrayLike$2(object) ? arrayLikeKeys$1(object) : baseKeys(object);
777
+ }
778
+ var keys_1 = keys$2;
779
+ var copyObject$1 = _copyObject, createAssigner$1 = _createAssigner, keys$1 = keys_1;
780
+ var assignWith = createAssigner$1(function(object, source, srcIndex, customizer) {
781
+ copyObject$1(source, keys$1(source), object, customizer);
1553
782
  });
1554
783
  var assignWith_1 = assignWith;
1555
- function isUndefined(value) {
1556
- return value === void 0;
1557
- }
1558
- var isUndefined_1 = isUndefined;
1559
784
  function mergeProps(...items) {
1560
785
  function customizer(objValue, srcValue) {
1561
- return isUndefined_1(srcValue) ? objValue : srcValue;
786
+ return srcValue === void 0 ? objValue : srcValue;
1562
787
  }
1563
- let ret = assign_1({}, items[0]);
788
+ let ret = Object.assign({}, items[0]);
1564
789
  for (let i = 1; i < items.length; i++) {
1565
790
  ret = assignWith_1(ret, items[i], customizer);
1566
791
  }
@@ -9644,7 +8869,7 @@ function usePropsValue(options) {
9644
8869
  return;
9645
8870
  stateRef.current = nextValue;
9646
8871
  update();
9647
- onChange === null || onChange === void 0 ? void 0 : onChange(nextValue);
8872
+ return onChange === null || onChange === void 0 ? void 0 : onChange(nextValue);
9648
8873
  });
9649
8874
  return [stateRef.current, setState];
9650
8875
  }
@@ -10144,6 +9369,251 @@ function rubberbandIfOutOfBounds(position, min, max, dimension, constant2 = 0.15
10144
9369
  return +rubberband(position - max, dimension, constant2) + max;
10145
9370
  return position;
10146
9371
  }
9372
+ function listCacheClear$1() {
9373
+ this.__data__ = [];
9374
+ this.size = 0;
9375
+ }
9376
+ var _listCacheClear = listCacheClear$1;
9377
+ var eq$2 = eq_1;
9378
+ function assocIndexOf$4(array, key) {
9379
+ var length = array.length;
9380
+ while (length--) {
9381
+ if (eq$2(array[length][0], key)) {
9382
+ return length;
9383
+ }
9384
+ }
9385
+ return -1;
9386
+ }
9387
+ var _assocIndexOf = assocIndexOf$4;
9388
+ var assocIndexOf$3 = _assocIndexOf;
9389
+ var arrayProto = Array.prototype;
9390
+ var splice = arrayProto.splice;
9391
+ function listCacheDelete$1(key) {
9392
+ var data = this.__data__, index2 = assocIndexOf$3(data, key);
9393
+ if (index2 < 0) {
9394
+ return false;
9395
+ }
9396
+ var lastIndex = data.length - 1;
9397
+ if (index2 == lastIndex) {
9398
+ data.pop();
9399
+ } else {
9400
+ splice.call(data, index2, 1);
9401
+ }
9402
+ --this.size;
9403
+ return true;
9404
+ }
9405
+ var _listCacheDelete = listCacheDelete$1;
9406
+ var assocIndexOf$2 = _assocIndexOf;
9407
+ function listCacheGet$1(key) {
9408
+ var data = this.__data__, index2 = assocIndexOf$2(data, key);
9409
+ return index2 < 0 ? void 0 : data[index2][1];
9410
+ }
9411
+ var _listCacheGet = listCacheGet$1;
9412
+ var assocIndexOf$1 = _assocIndexOf;
9413
+ function listCacheHas$1(key) {
9414
+ return assocIndexOf$1(this.__data__, key) > -1;
9415
+ }
9416
+ var _listCacheHas = listCacheHas$1;
9417
+ var assocIndexOf = _assocIndexOf;
9418
+ function listCacheSet$1(key, value) {
9419
+ var data = this.__data__, index2 = assocIndexOf(data, key);
9420
+ if (index2 < 0) {
9421
+ ++this.size;
9422
+ data.push([key, value]);
9423
+ } else {
9424
+ data[index2][1] = value;
9425
+ }
9426
+ return this;
9427
+ }
9428
+ var _listCacheSet = listCacheSet$1;
9429
+ var listCacheClear = _listCacheClear, listCacheDelete = _listCacheDelete, listCacheGet = _listCacheGet, listCacheHas = _listCacheHas, listCacheSet = _listCacheSet;
9430
+ function ListCache$4(entries) {
9431
+ var index2 = -1, length = entries == null ? 0 : entries.length;
9432
+ this.clear();
9433
+ while (++index2 < length) {
9434
+ var entry = entries[index2];
9435
+ this.set(entry[0], entry[1]);
9436
+ }
9437
+ }
9438
+ ListCache$4.prototype.clear = listCacheClear;
9439
+ ListCache$4.prototype["delete"] = listCacheDelete;
9440
+ ListCache$4.prototype.get = listCacheGet;
9441
+ ListCache$4.prototype.has = listCacheHas;
9442
+ ListCache$4.prototype.set = listCacheSet;
9443
+ var _ListCache = ListCache$4;
9444
+ var ListCache$3 = _ListCache;
9445
+ function stackClear$1() {
9446
+ this.__data__ = new ListCache$3();
9447
+ this.size = 0;
9448
+ }
9449
+ var _stackClear = stackClear$1;
9450
+ function stackDelete$1(key) {
9451
+ var data = this.__data__, result2 = data["delete"](key);
9452
+ this.size = data.size;
9453
+ return result2;
9454
+ }
9455
+ var _stackDelete = stackDelete$1;
9456
+ function stackGet$1(key) {
9457
+ return this.__data__.get(key);
9458
+ }
9459
+ var _stackGet = stackGet$1;
9460
+ function stackHas$1(key) {
9461
+ return this.__data__.has(key);
9462
+ }
9463
+ var _stackHas = stackHas$1;
9464
+ var getNative$5 = _getNative, root$5 = _root;
9465
+ var Map$4 = getNative$5(root$5, "Map");
9466
+ var _Map = Map$4;
9467
+ var getNative$4 = _getNative;
9468
+ var nativeCreate$4 = getNative$4(Object, "create");
9469
+ var _nativeCreate = nativeCreate$4;
9470
+ var nativeCreate$3 = _nativeCreate;
9471
+ function hashClear$1() {
9472
+ this.__data__ = nativeCreate$3 ? nativeCreate$3(null) : {};
9473
+ this.size = 0;
9474
+ }
9475
+ var _hashClear = hashClear$1;
9476
+ function hashDelete$1(key) {
9477
+ var result2 = this.has(key) && delete this.__data__[key];
9478
+ this.size -= result2 ? 1 : 0;
9479
+ return result2;
9480
+ }
9481
+ var _hashDelete = hashDelete$1;
9482
+ var nativeCreate$2 = _nativeCreate;
9483
+ var HASH_UNDEFINED$2 = "__lodash_hash_undefined__";
9484
+ var objectProto$6 = Object.prototype;
9485
+ var hasOwnProperty$5 = objectProto$6.hasOwnProperty;
9486
+ function hashGet$1(key) {
9487
+ var data = this.__data__;
9488
+ if (nativeCreate$2) {
9489
+ var result2 = data[key];
9490
+ return result2 === HASH_UNDEFINED$2 ? void 0 : result2;
9491
+ }
9492
+ return hasOwnProperty$5.call(data, key) ? data[key] : void 0;
9493
+ }
9494
+ var _hashGet = hashGet$1;
9495
+ var nativeCreate$1 = _nativeCreate;
9496
+ var objectProto$5 = Object.prototype;
9497
+ var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
9498
+ function hashHas$1(key) {
9499
+ var data = this.__data__;
9500
+ return nativeCreate$1 ? data[key] !== void 0 : hasOwnProperty$4.call(data, key);
9501
+ }
9502
+ var _hashHas = hashHas$1;
9503
+ var nativeCreate = _nativeCreate;
9504
+ var HASH_UNDEFINED$1 = "__lodash_hash_undefined__";
9505
+ function hashSet$1(key, value) {
9506
+ var data = this.__data__;
9507
+ this.size += this.has(key) ? 0 : 1;
9508
+ data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED$1 : value;
9509
+ return this;
9510
+ }
9511
+ var _hashSet = hashSet$1;
9512
+ var hashClear = _hashClear, hashDelete = _hashDelete, hashGet = _hashGet, hashHas = _hashHas, hashSet = _hashSet;
9513
+ function Hash$1(entries) {
9514
+ var index2 = -1, length = entries == null ? 0 : entries.length;
9515
+ this.clear();
9516
+ while (++index2 < length) {
9517
+ var entry = entries[index2];
9518
+ this.set(entry[0], entry[1]);
9519
+ }
9520
+ }
9521
+ Hash$1.prototype.clear = hashClear;
9522
+ Hash$1.prototype["delete"] = hashDelete;
9523
+ Hash$1.prototype.get = hashGet;
9524
+ Hash$1.prototype.has = hashHas;
9525
+ Hash$1.prototype.set = hashSet;
9526
+ var _Hash = Hash$1;
9527
+ var Hash = _Hash, ListCache$2 = _ListCache, Map$3 = _Map;
9528
+ function mapCacheClear$1() {
9529
+ this.size = 0;
9530
+ this.__data__ = {
9531
+ "hash": new Hash(),
9532
+ "map": new (Map$3 || ListCache$2)(),
9533
+ "string": new Hash()
9534
+ };
9535
+ }
9536
+ var _mapCacheClear = mapCacheClear$1;
9537
+ function isKeyable$1(value) {
9538
+ var type = typeof value;
9539
+ return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
9540
+ }
9541
+ var _isKeyable = isKeyable$1;
9542
+ var isKeyable = _isKeyable;
9543
+ function getMapData$4(map, key) {
9544
+ var data = map.__data__;
9545
+ return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
9546
+ }
9547
+ var _getMapData = getMapData$4;
9548
+ var getMapData$3 = _getMapData;
9549
+ function mapCacheDelete$1(key) {
9550
+ var result2 = getMapData$3(this, key)["delete"](key);
9551
+ this.size -= result2 ? 1 : 0;
9552
+ return result2;
9553
+ }
9554
+ var _mapCacheDelete = mapCacheDelete$1;
9555
+ var getMapData$2 = _getMapData;
9556
+ function mapCacheGet$1(key) {
9557
+ return getMapData$2(this, key).get(key);
9558
+ }
9559
+ var _mapCacheGet = mapCacheGet$1;
9560
+ var getMapData$1 = _getMapData;
9561
+ function mapCacheHas$1(key) {
9562
+ return getMapData$1(this, key).has(key);
9563
+ }
9564
+ var _mapCacheHas = mapCacheHas$1;
9565
+ var getMapData = _getMapData;
9566
+ function mapCacheSet$1(key, value) {
9567
+ var data = getMapData(this, key), size = data.size;
9568
+ data.set(key, value);
9569
+ this.size += data.size == size ? 0 : 1;
9570
+ return this;
9571
+ }
9572
+ var _mapCacheSet = mapCacheSet$1;
9573
+ var mapCacheClear = _mapCacheClear, mapCacheDelete = _mapCacheDelete, mapCacheGet = _mapCacheGet, mapCacheHas = _mapCacheHas, mapCacheSet = _mapCacheSet;
9574
+ function MapCache$3(entries) {
9575
+ var index2 = -1, length = entries == null ? 0 : entries.length;
9576
+ this.clear();
9577
+ while (++index2 < length) {
9578
+ var entry = entries[index2];
9579
+ this.set(entry[0], entry[1]);
9580
+ }
9581
+ }
9582
+ MapCache$3.prototype.clear = mapCacheClear;
9583
+ MapCache$3.prototype["delete"] = mapCacheDelete;
9584
+ MapCache$3.prototype.get = mapCacheGet;
9585
+ MapCache$3.prototype.has = mapCacheHas;
9586
+ MapCache$3.prototype.set = mapCacheSet;
9587
+ var _MapCache = MapCache$3;
9588
+ var ListCache$1 = _ListCache, Map$2 = _Map, MapCache$2 = _MapCache;
9589
+ var LARGE_ARRAY_SIZE = 200;
9590
+ function stackSet$1(key, value) {
9591
+ var data = this.__data__;
9592
+ if (data instanceof ListCache$1) {
9593
+ var pairs = data.__data__;
9594
+ if (!Map$2 || pairs.length < LARGE_ARRAY_SIZE - 1) {
9595
+ pairs.push([key, value]);
9596
+ this.size = ++data.size;
9597
+ return this;
9598
+ }
9599
+ data = this.__data__ = new MapCache$2(pairs);
9600
+ }
9601
+ data.set(key, value);
9602
+ this.size = data.size;
9603
+ return this;
9604
+ }
9605
+ var _stackSet = stackSet$1;
9606
+ var ListCache = _ListCache, stackClear = _stackClear, stackDelete = _stackDelete, stackGet = _stackGet, stackHas = _stackHas, stackSet = _stackSet;
9607
+ function Stack$2(entries) {
9608
+ var data = this.__data__ = new ListCache(entries);
9609
+ this.size = data.size;
9610
+ }
9611
+ Stack$2.prototype.clear = stackClear;
9612
+ Stack$2.prototype["delete"] = stackDelete;
9613
+ Stack$2.prototype.get = stackGet;
9614
+ Stack$2.prototype.has = stackHas;
9615
+ Stack$2.prototype.set = stackSet;
9616
+ var _Stack = Stack$2;
10147
9617
  var HASH_UNDEFINED = "__lodash_hash_undefined__";
10148
9618
  function setCacheAdd$1(value) {
10149
9619
  this.__data__.set(value, HASH_UNDEFINED);
@@ -10225,6 +9695,9 @@ function equalArrays$2(array, other, bitmask, customizer, equalFunc, stack) {
10225
9695
  return result2;
10226
9696
  }
10227
9697
  var _equalArrays = equalArrays$2;
9698
+ var root$4 = _root;
9699
+ var Uint8Array$2 = root$4.Uint8Array;
9700
+ var _Uint8Array = Uint8Array$2;
10228
9701
  function mapToArray$1(map) {
10229
9702
  var index2 = -1, result2 = Array(map.size);
10230
9703
  map.forEach(function(value, key) {
@@ -10241,36 +9714,36 @@ function setToArray$1(set) {
10241
9714
  return result2;
10242
9715
  }
10243
9716
  var _setToArray = setToArray$1;
10244
- var Symbol$1 = _Symbol, Uint8Array = _Uint8Array, eq = eq_1, equalArrays$1 = _equalArrays, mapToArray = _mapToArray, setToArray = _setToArray;
9717
+ var Symbol$1 = _Symbol, Uint8Array$1 = _Uint8Array, eq$1 = eq_1, equalArrays$1 = _equalArrays, mapToArray = _mapToArray, setToArray = _setToArray;
10245
9718
  var COMPARE_PARTIAL_FLAG$2 = 1, COMPARE_UNORDERED_FLAG = 2;
10246
- var boolTag = "[object Boolean]", dateTag = "[object Date]", errorTag = "[object Error]", mapTag = "[object Map]", numberTag = "[object Number]", regexpTag = "[object RegExp]", setTag = "[object Set]", stringTag = "[object String]", symbolTag = "[object Symbol]";
10247
- var arrayBufferTag = "[object ArrayBuffer]", dataViewTag = "[object DataView]";
9719
+ 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]";
9720
+ var arrayBufferTag = "[object ArrayBuffer]", dataViewTag$1 = "[object DataView]";
10248
9721
  var symbolProto = Symbol$1 ? Symbol$1.prototype : void 0, symbolValueOf = symbolProto ? symbolProto.valueOf : void 0;
10249
9722
  function equalByTag$1(object, other, tag2, bitmask, customizer, equalFunc, stack) {
10250
9723
  switch (tag2) {
10251
- case dataViewTag:
9724
+ case dataViewTag$1:
10252
9725
  if (object.byteLength != other.byteLength || object.byteOffset != other.byteOffset) {
10253
9726
  return false;
10254
9727
  }
10255
9728
  object = object.buffer;
10256
9729
  other = other.buffer;
10257
9730
  case arrayBufferTag:
10258
- if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array(object), new Uint8Array(other))) {
9731
+ if (object.byteLength != other.byteLength || !equalFunc(new Uint8Array$1(object), new Uint8Array$1(other))) {
10259
9732
  return false;
10260
9733
  }
10261
9734
  return true;
10262
9735
  case boolTag:
10263
9736
  case dateTag:
10264
9737
  case numberTag:
10265
- return eq(+object, +other);
9738
+ return eq$1(+object, +other);
10266
9739
  case errorTag:
10267
9740
  return object.name == other.name && object.message == other.message;
10268
9741
  case regexpTag:
10269
9742
  case stringTag:
10270
9743
  return object == other + "";
10271
- case mapTag:
9744
+ case mapTag$1:
10272
9745
  var convert = mapToArray;
10273
- case setTag:
9746
+ case setTag$1:
10274
9747
  var isPartial = bitmask & COMPARE_PARTIAL_FLAG$2;
10275
9748
  convert || (convert = setToArray);
10276
9749
  if (object.size != other.size && !isPartial) {
@@ -10290,13 +9763,61 @@ function equalByTag$1(object, other, tag2, bitmask, customizer, equalFunc, stack
10290
9763
  return symbolValueOf.call(object) == symbolValueOf.call(other);
10291
9764
  }
10292
9765
  }
10293
- return false;
9766
+ return false;
9767
+ }
9768
+ var _equalByTag = equalByTag$1;
9769
+ function arrayPush$1(array, values) {
9770
+ var index2 = -1, length = values.length, offset2 = array.length;
9771
+ while (++index2 < length) {
9772
+ array[offset2 + index2] = values[index2];
9773
+ }
9774
+ return array;
9775
+ }
9776
+ var _arrayPush = arrayPush$1;
9777
+ var arrayPush = _arrayPush, isArray$2 = isArray_1;
9778
+ function baseGetAllKeys$1(object, keysFunc, symbolsFunc) {
9779
+ var result2 = keysFunc(object);
9780
+ return isArray$2(object) ? result2 : arrayPush(result2, symbolsFunc(object));
9781
+ }
9782
+ var _baseGetAllKeys = baseGetAllKeys$1;
9783
+ function arrayFilter$1(array, predicate) {
9784
+ var index2 = -1, length = array == null ? 0 : array.length, resIndex = 0, result2 = [];
9785
+ while (++index2 < length) {
9786
+ var value = array[index2];
9787
+ if (predicate(value, index2, array)) {
9788
+ result2[resIndex++] = value;
9789
+ }
9790
+ }
9791
+ return result2;
9792
+ }
9793
+ var _arrayFilter = arrayFilter$1;
9794
+ function stubArray$1() {
9795
+ return [];
9796
+ }
9797
+ var stubArray_1 = stubArray$1;
9798
+ var arrayFilter = _arrayFilter, stubArray = stubArray_1;
9799
+ var objectProto$4 = Object.prototype;
9800
+ var propertyIsEnumerable = objectProto$4.propertyIsEnumerable;
9801
+ var nativeGetSymbols = Object.getOwnPropertySymbols;
9802
+ var getSymbols$1 = !nativeGetSymbols ? stubArray : function(object) {
9803
+ if (object == null) {
9804
+ return [];
9805
+ }
9806
+ object = Object(object);
9807
+ return arrayFilter(nativeGetSymbols(object), function(symbol) {
9808
+ return propertyIsEnumerable.call(object, symbol);
9809
+ });
9810
+ };
9811
+ var _getSymbols = getSymbols$1;
9812
+ var baseGetAllKeys = _baseGetAllKeys, getSymbols = _getSymbols, keys = keys_1;
9813
+ function getAllKeys$1(object) {
9814
+ return baseGetAllKeys(object, keys, getSymbols);
10294
9815
  }
10295
- var _equalByTag = equalByTag$1;
9816
+ var _getAllKeys = getAllKeys$1;
10296
9817
  var getAllKeys = _getAllKeys;
10297
9818
  var COMPARE_PARTIAL_FLAG$1 = 1;
10298
- var objectProto$1 = Object.prototype;
10299
- var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
9819
+ var objectProto$3 = Object.prototype;
9820
+ var hasOwnProperty$3 = objectProto$3.hasOwnProperty;
10300
9821
  function equalObjects$1(object, other, bitmask, customizer, equalFunc, stack) {
10301
9822
  var isPartial = bitmask & COMPARE_PARTIAL_FLAG$1, objProps = getAllKeys(object), objLength = objProps.length, othProps = getAllKeys(other), othLength = othProps.length;
10302
9823
  if (objLength != othLength && !isPartial) {
@@ -10305,7 +9826,7 @@ function equalObjects$1(object, other, bitmask, customizer, equalFunc, stack) {
10305
9826
  var index2 = objLength;
10306
9827
  while (index2--) {
10307
9828
  var key = objProps[index2];
10308
- if (!(isPartial ? key in other : hasOwnProperty$1.call(other, key))) {
9829
+ if (!(isPartial ? key in other : hasOwnProperty$3.call(other, key))) {
10309
9830
  return false;
10310
9831
  }
10311
9832
  }
@@ -10341,48 +9862,86 @@ function equalObjects$1(object, other, bitmask, customizer, equalFunc, stack) {
10341
9862
  return result2;
10342
9863
  }
10343
9864
  var _equalObjects = equalObjects$1;
10344
- var Stack = _Stack, equalArrays = _equalArrays, equalByTag = _equalByTag, equalObjects = _equalObjects, getTag = _getTag, isArray = isArray_1, isBuffer = isBuffer$4.exports, isTypedArray = isTypedArray_1;
9865
+ var getNative$3 = _getNative, root$3 = _root;
9866
+ var DataView$1 = getNative$3(root$3, "DataView");
9867
+ var _DataView = DataView$1;
9868
+ var getNative$2 = _getNative, root$2 = _root;
9869
+ var Promise$2 = getNative$2(root$2, "Promise");
9870
+ var _Promise = Promise$2;
9871
+ var getNative$1 = _getNative, root$1 = _root;
9872
+ var Set$2 = getNative$1(root$1, "Set");
9873
+ var _Set = Set$2;
9874
+ var getNative = _getNative, root = _root;
9875
+ var WeakMap$2 = getNative(root, "WeakMap");
9876
+ var _WeakMap = WeakMap$2;
9877
+ var DataView = _DataView, Map$1 = _Map, Promise$1 = _Promise, Set$1 = _Set, WeakMap$1 = _WeakMap, baseGetTag$1 = _baseGetTag, toSource = _toSource;
9878
+ var mapTag = "[object Map]", objectTag$2 = "[object Object]", promiseTag = "[object Promise]", setTag = "[object Set]", weakMapTag = "[object WeakMap]";
9879
+ var dataViewTag = "[object DataView]";
9880
+ var dataViewCtorString = toSource(DataView), mapCtorString = toSource(Map$1), promiseCtorString = toSource(Promise$1), setCtorString = toSource(Set$1), weakMapCtorString = toSource(WeakMap$1);
9881
+ var getTag$1 = baseGetTag$1;
9882
+ 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) {
9883
+ getTag$1 = function(value) {
9884
+ var result2 = baseGetTag$1(value), Ctor = result2 == objectTag$2 ? value.constructor : void 0, ctorString = Ctor ? toSource(Ctor) : "";
9885
+ if (ctorString) {
9886
+ switch (ctorString) {
9887
+ case dataViewCtorString:
9888
+ return dataViewTag;
9889
+ case mapCtorString:
9890
+ return mapTag;
9891
+ case promiseCtorString:
9892
+ return promiseTag;
9893
+ case setCtorString:
9894
+ return setTag;
9895
+ case weakMapCtorString:
9896
+ return weakMapTag;
9897
+ }
9898
+ }
9899
+ return result2;
9900
+ };
9901
+ }
9902
+ var _getTag = getTag$1;
9903
+ var Stack$1 = _Stack, equalArrays = _equalArrays, equalByTag = _equalByTag, equalObjects = _equalObjects, getTag = _getTag, isArray$1 = isArray_1, isBuffer$1 = isBuffer$3.exports, isTypedArray$1 = isTypedArray_1;
10345
9904
  var COMPARE_PARTIAL_FLAG = 1;
10346
- var argsTag = "[object Arguments]", arrayTag = "[object Array]", objectTag = "[object Object]";
10347
- var objectProto = Object.prototype;
10348
- var hasOwnProperty = objectProto.hasOwnProperty;
9905
+ var argsTag = "[object Arguments]", arrayTag = "[object Array]", objectTag$1 = "[object Object]";
9906
+ var objectProto$2 = Object.prototype;
9907
+ var hasOwnProperty$2 = objectProto$2.hasOwnProperty;
10349
9908
  function baseIsEqualDeep$1(object, other, bitmask, customizer, equalFunc, stack) {
10350
- var objIsArr = isArray(object), othIsArr = isArray(other), objTag = objIsArr ? arrayTag : getTag(object), othTag = othIsArr ? arrayTag : getTag(other);
10351
- objTag = objTag == argsTag ? objectTag : objTag;
10352
- othTag = othTag == argsTag ? objectTag : othTag;
10353
- var objIsObj = objTag == objectTag, othIsObj = othTag == objectTag, isSameTag = objTag == othTag;
10354
- if (isSameTag && isBuffer(object)) {
10355
- if (!isBuffer(other)) {
9909
+ var objIsArr = isArray$1(object), othIsArr = isArray$1(other), objTag = objIsArr ? arrayTag : getTag(object), othTag = othIsArr ? arrayTag : getTag(other);
9910
+ objTag = objTag == argsTag ? objectTag$1 : objTag;
9911
+ othTag = othTag == argsTag ? objectTag$1 : othTag;
9912
+ var objIsObj = objTag == objectTag$1, othIsObj = othTag == objectTag$1, isSameTag = objTag == othTag;
9913
+ if (isSameTag && isBuffer$1(object)) {
9914
+ if (!isBuffer$1(other)) {
10356
9915
  return false;
10357
9916
  }
10358
9917
  objIsArr = true;
10359
9918
  objIsObj = false;
10360
9919
  }
10361
9920
  if (isSameTag && !objIsObj) {
10362
- stack || (stack = new Stack());
10363
- return objIsArr || isTypedArray(object) ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
9921
+ stack || (stack = new Stack$1());
9922
+ return objIsArr || isTypedArray$1(object) ? equalArrays(object, other, bitmask, customizer, equalFunc, stack) : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);
10364
9923
  }
10365
9924
  if (!(bitmask & COMPARE_PARTIAL_FLAG)) {
10366
- var objIsWrapped = objIsObj && hasOwnProperty.call(object, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty.call(other, "__wrapped__");
9925
+ var objIsWrapped = objIsObj && hasOwnProperty$2.call(object, "__wrapped__"), othIsWrapped = othIsObj && hasOwnProperty$2.call(other, "__wrapped__");
10367
9926
  if (objIsWrapped || othIsWrapped) {
10368
9927
  var objUnwrapped = objIsWrapped ? object.value() : object, othUnwrapped = othIsWrapped ? other.value() : other;
10369
- stack || (stack = new Stack());
9928
+ stack || (stack = new Stack$1());
10370
9929
  return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);
10371
9930
  }
10372
9931
  }
10373
9932
  if (!isSameTag) {
10374
9933
  return false;
10375
9934
  }
10376
- stack || (stack = new Stack());
9935
+ stack || (stack = new Stack$1());
10377
9936
  return equalObjects(object, other, bitmask, customizer, equalFunc, stack);
10378
9937
  }
10379
9938
  var _baseIsEqualDeep = baseIsEqualDeep$1;
10380
- var baseIsEqualDeep = _baseIsEqualDeep, isObjectLike = isObjectLike_1;
9939
+ var baseIsEqualDeep = _baseIsEqualDeep, isObjectLike$2 = isObjectLike_1;
10381
9940
  function baseIsEqual$1(value, other, bitmask, customizer, stack) {
10382
9941
  if (value === other) {
10383
9942
  return true;
10384
9943
  }
10385
- if (value == null || other == null || !isObjectLike(value) && !isObjectLike(other)) {
9944
+ if (value == null || other == null || !isObjectLike$2(value) && !isObjectLike$2(other)) {
10386
9945
  return value !== value && other !== other;
10387
9946
  }
10388
9947
  return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual$1, stack);
@@ -13993,6 +13552,233 @@ const defaultFormContext = {
13993
13552
  const FormContext = React$1.createContext(defaultFormContext);
13994
13553
  const NoStyleItemContext = React$1.createContext(null);
13995
13554
  const Header = () => null;
13555
+ var baseAssignValue = _baseAssignValue, eq = eq_1;
13556
+ function assignMergeValue$2(object, key, value) {
13557
+ if (value !== void 0 && !eq(object[key], value) || value === void 0 && !(key in object)) {
13558
+ baseAssignValue(object, key, value);
13559
+ }
13560
+ }
13561
+ var _assignMergeValue = assignMergeValue$2;
13562
+ function createBaseFor$1(fromRight) {
13563
+ return function(object, iteratee, keysFunc) {
13564
+ var index2 = -1, iterable = Object(object), props = keysFunc(object), length = props.length;
13565
+ while (length--) {
13566
+ var key = props[fromRight ? length : ++index2];
13567
+ if (iteratee(iterable[key], key, iterable) === false) {
13568
+ break;
13569
+ }
13570
+ }
13571
+ return object;
13572
+ };
13573
+ }
13574
+ var _createBaseFor = createBaseFor$1;
13575
+ var createBaseFor = _createBaseFor;
13576
+ var baseFor$1 = createBaseFor();
13577
+ var _baseFor = baseFor$1;
13578
+ var _cloneBuffer = { exports: {} };
13579
+ (function(module, exports) {
13580
+ var root2 = _root;
13581
+ var freeExports = exports && !exports.nodeType && exports;
13582
+ var freeModule = freeExports && true && module && !module.nodeType && module;
13583
+ var moduleExports = freeModule && freeModule.exports === freeExports;
13584
+ var Buffer = moduleExports ? root2.Buffer : void 0, allocUnsafe = Buffer ? Buffer.allocUnsafe : void 0;
13585
+ function cloneBuffer2(buffer, isDeep) {
13586
+ if (isDeep) {
13587
+ return buffer.slice();
13588
+ }
13589
+ var length = buffer.length, result2 = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
13590
+ buffer.copy(result2);
13591
+ return result2;
13592
+ }
13593
+ module.exports = cloneBuffer2;
13594
+ })(_cloneBuffer, _cloneBuffer.exports);
13595
+ var Uint8Array = _Uint8Array;
13596
+ function cloneArrayBuffer$1(arrayBuffer) {
13597
+ var result2 = new arrayBuffer.constructor(arrayBuffer.byteLength);
13598
+ new Uint8Array(result2).set(new Uint8Array(arrayBuffer));
13599
+ return result2;
13600
+ }
13601
+ var _cloneArrayBuffer = cloneArrayBuffer$1;
13602
+ var cloneArrayBuffer = _cloneArrayBuffer;
13603
+ function cloneTypedArray$1(typedArray, isDeep) {
13604
+ var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
13605
+ return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
13606
+ }
13607
+ var _cloneTypedArray = cloneTypedArray$1;
13608
+ function copyArray$1(source, array) {
13609
+ var index2 = -1, length = source.length;
13610
+ array || (array = Array(length));
13611
+ while (++index2 < length) {
13612
+ array[index2] = source[index2];
13613
+ }
13614
+ return array;
13615
+ }
13616
+ var _copyArray = copyArray$1;
13617
+ var isObject$3 = isObject_1;
13618
+ var objectCreate = Object.create;
13619
+ var baseCreate$1 = function() {
13620
+ function object() {
13621
+ }
13622
+ return function(proto) {
13623
+ if (!isObject$3(proto)) {
13624
+ return {};
13625
+ }
13626
+ if (objectCreate) {
13627
+ return objectCreate(proto);
13628
+ }
13629
+ object.prototype = proto;
13630
+ var result2 = new object();
13631
+ object.prototype = void 0;
13632
+ return result2;
13633
+ };
13634
+ }();
13635
+ var _baseCreate = baseCreate$1;
13636
+ var overArg = _overArg;
13637
+ var getPrototype$2 = overArg(Object.getPrototypeOf, Object);
13638
+ var _getPrototype = getPrototype$2;
13639
+ var baseCreate = _baseCreate, getPrototype$1 = _getPrototype, isPrototype$1 = _isPrototype;
13640
+ function initCloneObject$1(object) {
13641
+ return typeof object.constructor == "function" && !isPrototype$1(object) ? baseCreate(getPrototype$1(object)) : {};
13642
+ }
13643
+ var _initCloneObject = initCloneObject$1;
13644
+ var isArrayLike$1 = isArrayLike_1, isObjectLike$1 = isObjectLike_1;
13645
+ function isArrayLikeObject$1(value) {
13646
+ return isObjectLike$1(value) && isArrayLike$1(value);
13647
+ }
13648
+ var isArrayLikeObject_1 = isArrayLikeObject$1;
13649
+ var baseGetTag = _baseGetTag, getPrototype = _getPrototype, isObjectLike = isObjectLike_1;
13650
+ var objectTag = "[object Object]";
13651
+ var funcProto = Function.prototype, objectProto$1 = Object.prototype;
13652
+ var funcToString = funcProto.toString;
13653
+ var hasOwnProperty$1 = objectProto$1.hasOwnProperty;
13654
+ var objectCtorString = funcToString.call(Object);
13655
+ function isPlainObject$1(value) {
13656
+ if (!isObjectLike(value) || baseGetTag(value) != objectTag) {
13657
+ return false;
13658
+ }
13659
+ var proto = getPrototype(value);
13660
+ if (proto === null) {
13661
+ return true;
13662
+ }
13663
+ var Ctor = hasOwnProperty$1.call(proto, "constructor") && proto.constructor;
13664
+ return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
13665
+ }
13666
+ var isPlainObject_1 = isPlainObject$1;
13667
+ function safeGet$2(object, key) {
13668
+ if (key === "constructor" && typeof object[key] === "function") {
13669
+ return;
13670
+ }
13671
+ if (key == "__proto__") {
13672
+ return;
13673
+ }
13674
+ return object[key];
13675
+ }
13676
+ var _safeGet = safeGet$2;
13677
+ function nativeKeysIn$1(object) {
13678
+ var result2 = [];
13679
+ if (object != null) {
13680
+ for (var key in Object(object)) {
13681
+ result2.push(key);
13682
+ }
13683
+ }
13684
+ return result2;
13685
+ }
13686
+ var _nativeKeysIn = nativeKeysIn$1;
13687
+ var isObject$2 = isObject_1, isPrototype = _isPrototype, nativeKeysIn = _nativeKeysIn;
13688
+ var objectProto = Object.prototype;
13689
+ var hasOwnProperty = objectProto.hasOwnProperty;
13690
+ function baseKeysIn$1(object) {
13691
+ if (!isObject$2(object)) {
13692
+ return nativeKeysIn(object);
13693
+ }
13694
+ var isProto = isPrototype(object), result2 = [];
13695
+ for (var key in object) {
13696
+ if (!(key == "constructor" && (isProto || !hasOwnProperty.call(object, key)))) {
13697
+ result2.push(key);
13698
+ }
13699
+ }
13700
+ return result2;
13701
+ }
13702
+ var _baseKeysIn = baseKeysIn$1;
13703
+ var arrayLikeKeys = _arrayLikeKeys, baseKeysIn = _baseKeysIn, isArrayLike = isArrayLike_1;
13704
+ function keysIn$2(object) {
13705
+ return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
13706
+ }
13707
+ var keysIn_1 = keysIn$2;
13708
+ var copyObject = _copyObject, keysIn$1 = keysIn_1;
13709
+ function toPlainObject$1(value) {
13710
+ return copyObject(value, keysIn$1(value));
13711
+ }
13712
+ var toPlainObject_1 = toPlainObject$1;
13713
+ var assignMergeValue$1 = _assignMergeValue, cloneBuffer = _cloneBuffer.exports, cloneTypedArray = _cloneTypedArray, copyArray = _copyArray, initCloneObject = _initCloneObject, isArguments = isArguments_1, isArray = isArray_1, isArrayLikeObject = isArrayLikeObject_1, isBuffer = isBuffer$3.exports, isFunction = isFunction_1, isObject$1 = isObject_1, isPlainObject = isPlainObject_1, isTypedArray = isTypedArray_1, safeGet$1 = _safeGet, toPlainObject = toPlainObject_1;
13714
+ function baseMergeDeep$1(object, source, key, srcIndex, mergeFunc, customizer, stack) {
13715
+ var objValue = safeGet$1(object, key), srcValue = safeGet$1(source, key), stacked = stack.get(srcValue);
13716
+ if (stacked) {
13717
+ assignMergeValue$1(object, key, stacked);
13718
+ return;
13719
+ }
13720
+ var newValue = customizer ? customizer(objValue, srcValue, key + "", object, source, stack) : void 0;
13721
+ var isCommon = newValue === void 0;
13722
+ if (isCommon) {
13723
+ var isArr = isArray(srcValue), isBuff = !isArr && isBuffer(srcValue), isTyped = !isArr && !isBuff && isTypedArray(srcValue);
13724
+ newValue = srcValue;
13725
+ if (isArr || isBuff || isTyped) {
13726
+ if (isArray(objValue)) {
13727
+ newValue = objValue;
13728
+ } else if (isArrayLikeObject(objValue)) {
13729
+ newValue = copyArray(objValue);
13730
+ } else if (isBuff) {
13731
+ isCommon = false;
13732
+ newValue = cloneBuffer(srcValue, true);
13733
+ } else if (isTyped) {
13734
+ isCommon = false;
13735
+ newValue = cloneTypedArray(srcValue, true);
13736
+ } else {
13737
+ newValue = [];
13738
+ }
13739
+ } else if (isPlainObject(srcValue) || isArguments(srcValue)) {
13740
+ newValue = objValue;
13741
+ if (isArguments(objValue)) {
13742
+ newValue = toPlainObject(objValue);
13743
+ } else if (!isObject$1(objValue) || isFunction(objValue)) {
13744
+ newValue = initCloneObject(srcValue);
13745
+ }
13746
+ } else {
13747
+ isCommon = false;
13748
+ }
13749
+ }
13750
+ if (isCommon) {
13751
+ stack.set(srcValue, newValue);
13752
+ mergeFunc(newValue, srcValue, srcIndex, customizer, stack);
13753
+ stack["delete"](srcValue);
13754
+ }
13755
+ assignMergeValue$1(object, key, newValue);
13756
+ }
13757
+ var _baseMergeDeep = baseMergeDeep$1;
13758
+ var Stack = _Stack, assignMergeValue = _assignMergeValue, baseFor = _baseFor, baseMergeDeep = _baseMergeDeep, isObject = isObject_1, keysIn = keysIn_1, safeGet = _safeGet;
13759
+ function baseMerge$1(object, source, srcIndex, customizer, stack) {
13760
+ if (object === source) {
13761
+ return;
13762
+ }
13763
+ baseFor(source, function(srcValue, key) {
13764
+ stack || (stack = new Stack());
13765
+ if (isObject(srcValue)) {
13766
+ baseMergeDeep(object, source, key, srcIndex, baseMerge$1, customizer, stack);
13767
+ } else {
13768
+ var newValue = customizer ? customizer(safeGet(object, key), srcValue, key + "", object, source, stack) : void 0;
13769
+ if (newValue === void 0) {
13770
+ newValue = srcValue;
13771
+ }
13772
+ assignMergeValue(object, key, newValue);
13773
+ }
13774
+ }, keysIn);
13775
+ }
13776
+ var _baseMerge = baseMerge$1;
13777
+ var baseMerge = _baseMerge, createAssigner = _createAssigner;
13778
+ var merge = createAssigner(function(object, source, srcIndex) {
13779
+ baseMerge(object, source, srcIndex);
13780
+ });
13781
+ var merge_1 = merge;
13996
13782
  const FormArray = (props) => {
13997
13783
  return React$1.createElement(List$2, {
13998
13784
  name: props.name,
@@ -14094,15 +13880,6 @@ const Form = forwardRef((p2, ref) => {
14094
13880
  }, footer));
14095
13881
  });
14096
13882
  var FieldContext = {};
14097
- var interopRequireDefault = { exports: {} };
14098
- (function(module) {
14099
- function _interopRequireDefault2(obj) {
14100
- return obj && obj.__esModule ? obj : {
14101
- "default": obj
14102
- };
14103
- }
14104
- module.exports = _interopRequireDefault2, module.exports.__esModule = true, module.exports["default"] = module.exports;
14105
- })(interopRequireDefault);
14106
13883
  var interopRequireWildcard = { exports: {} };
14107
13884
  var _typeof = { exports: {} };
14108
13885
  (function(module) {
@@ -14160,6 +13937,15 @@ var _typeof = { exports: {} };
14160
13937
  }
14161
13938
  module.exports = _interopRequireWildcard2, module.exports.__esModule = true, module.exports["default"] = module.exports;
14162
13939
  })(interopRequireWildcard);
13940
+ var interopRequireDefault = { exports: {} };
13941
+ (function(module) {
13942
+ function _interopRequireDefault2(obj) {
13943
+ return obj && obj.__esModule ? obj : {
13944
+ "default": obj
13945
+ };
13946
+ }
13947
+ module.exports = _interopRequireDefault2, module.exports.__esModule = true, module.exports["default"] = module.exports;
13948
+ })(interopRequireDefault);
14163
13949
  var warning$1 = {};
14164
13950
  Object.defineProperty(warning$1, "__esModule", {
14165
13951
  value: true
@@ -14193,14 +13979,14 @@ function noteOnce(valid, message) {
14193
13979
  }
14194
13980
  var _default$1 = warningOnce;
14195
13981
  warning$1.default = _default$1;
14196
- var _interopRequireDefault = interopRequireDefault.exports;
14197
- var _interopRequireWildcard = interopRequireWildcard.exports;
13982
+ var _interopRequireWildcard = interopRequireWildcard.exports.default;
13983
+ var _interopRequireDefault = interopRequireDefault.exports.default;
14198
13984
  Object.defineProperty(FieldContext, "__esModule", {
14199
13985
  value: true
14200
13986
  });
14201
13987
  var default_1 = FieldContext.default = FieldContext.HOOK_MARK = void 0;
14202
- var React = _interopRequireWildcard(React$1);
14203
13988
  var _warning = _interopRequireDefault(warning$1);
13989
+ var React = _interopRequireWildcard(React$1);
14204
13990
  var HOOK_MARK = "RC_FORM_INTERNAL_HOOKS";
14205
13991
  FieldContext.HOOK_MARK = HOOK_MARK;
14206
13992
  var warningFunc = function warningFunc2() {
@@ -14218,6 +14004,7 @@ var Context = /* @__PURE__ */ React.createContext({
14218
14004
  isFieldsValidating: warningFunc,
14219
14005
  resetFields: warningFunc,
14220
14006
  setFields: warningFunc,
14007
+ setFieldValue: warningFunc,
14221
14008
  setFieldsValue: warningFunc,
14222
14009
  validateFields: warningFunc,
14223
14010
  submit: warningFunc,
@@ -14584,7 +14371,7 @@ const FormItemLayout = (props) => {
14584
14371
  key: `warning-${index2}`,
14585
14372
  className: `${classPrefix$I}-feedback-warning`
14586
14373
  }, warning2)))) : null;
14587
- return React$1.createElement(List.Item, {
14374
+ return withNativeProps(props, React$1.createElement(List.Item, {
14588
14375
  style,
14589
14376
  title: layout === "vertical" && labelElement,
14590
14377
  prefix: layout === "horizontal" && labelElement,
@@ -14602,7 +14389,7 @@ const FormItemLayout = (props) => {
14602
14389
  className: classNames(`${classPrefix$I}-child`, `${classPrefix$I}-child-position-${childElementPosition}`)
14603
14390
  }, React$1.createElement("div", {
14604
14391
  className: classNames(`${classPrefix$I}-child-inner`)
14605
- }, children)));
14392
+ }, children))));
14606
14393
  };
14607
14394
  const FormItem = (props) => {
14608
14395
  const {
@@ -14677,7 +14464,7 @@ const FormItem = (props) => {
14677
14464
  }
14678
14465
  return subWarnings;
14679
14466
  }, curWarnings);
14680
- return React$1.createElement(FormItemLayout, {
14467
+ return withNativeProps(props, React$1.createElement(FormItemLayout, {
14681
14468
  className,
14682
14469
  style,
14683
14470
  label,
@@ -14698,7 +14485,7 @@ const FormItem = (props) => {
14698
14485
  arrow: arrow2
14699
14486
  }, React$1.createElement(NoStyleItemContext.Provider, {
14700
14487
  value: onSubMetaChange
14701
- }, baseChildren));
14488
+ }, baseChildren)));
14702
14489
  }
14703
14490
  const isRenderProps = typeof children === "function";
14704
14491
  if (!name && !isRenderProps && !props.dependencies) {
@@ -16130,7 +15917,7 @@ const NavBar = (p2) => {
16130
15917
  className: `${classPrefix$v}-right`
16131
15918
  }, props.right)));
16132
15919
  };
16133
- var noticeBar = /* @__PURE__ */ (() => ".adm-notice-bar {\n --background-color: #ababab;\n --border-color: #999999;\n --text-color: var(--adm-color-white);\n --font-size: var(--adm-font-size-7);\n --icon-font-size: var(--adm-font-size-10);\n --height: 38px;\n height: var(--height);\n box-sizing: border-box;\n font-size: var(--font-size);\n line-height: var(--height);\n padding: 0 12px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n border: solid 1px var(--border-color);\n border-left: none;\n border-right: none;\n background-color: var(--background-color);\n color: var(--text-color);\n}\n.adm-notice-bar > span[role='img'] {\n color: var(--text-color);\n}\n.adm-notice-bar.adm-notice-bar-alert {\n --background-color: #fff9ed;\n --border-color: #fff3e9;\n --text-color: #ff6010;\n}\n.adm-notice-bar.adm-notice-bar-error {\n --background-color: #ff3b30;\n --border-color: #d9281e;\n --text-color: #ffffff;\n}\n.adm-notice-bar.adm-notice-bar-info {\n --background-color: #d0e4ff;\n --border-color: #bcd8ff;\n --text-color: #1677ff;\n}\n.adm-notice-bar .adm-notice-bar-left {\n flex-shrink: 0;\n margin-right: 8px;\n font-size: var(--icon-font-size);\n line-height: var(--height);\n}\n.adm-notice-bar .adm-notice-bar-content {\n flex: 1;\n overflow: hidden;\n position: relative;\n height: 100%;\n display: flex;\n align-items: center;\n}\n.adm-notice-bar .adm-notice-bar-content .adm-notice-bar-content-inner {\n width: auto;\n transition-timing-function: linear;\n position: absolute;\n white-space: nowrap;\n}\n.adm-notice-bar .adm-notice-bar-right {\n flex-shrink: 0;\n margin-left: 12px;\n}\n.adm-notice-bar-close-icon {\n font-size: var(--adm-font-size-10);\n}\n")();
15920
+ var noticeBar = /* @__PURE__ */ (() => ".adm-notice-bar {\n --background-color: #ababab;\n --border-color: #999999;\n --text-color: var(--adm-color-white);\n --font-size: var(--adm-font-size-7);\n --icon-font-size: var(--adm-font-size-10);\n --height: 38px;\n height: var(--height);\n box-sizing: border-box;\n font-size: var(--font-size);\n line-height: var(--height);\n padding: 0 12px;\n display: flex;\n align-items: center;\n justify-content: space-between;\n border: solid 1px var(--border-color);\n border-left: none;\n border-right: none;\n background-color: var(--background-color);\n color: var(--text-color);\n}\n.adm-notice-bar > span[role='img'] {\n color: var(--text-color);\n}\n.adm-notice-bar.adm-notice-bar-alert {\n --background-color: #fff9ed;\n --border-color: #fff3e9;\n --text-color: #ff6010;\n}\n.adm-notice-bar.adm-notice-bar-error {\n --background-color: #ff3b30;\n --border-color: #d9281e;\n --text-color: #ffffff;\n}\n.adm-notice-bar.adm-notice-bar-info {\n --background-color: #d0e4ff;\n --border-color: #bcd8ff;\n --text-color: #1677ff;\n}\n.adm-notice-bar .adm-notice-bar-left {\n flex-shrink: 0;\n margin-right: 8px;\n font-size: var(--icon-font-size);\n line-height: var(--height);\n}\n.adm-notice-bar .adm-notice-bar-content {\n flex: 1;\n overflow: hidden;\n position: relative;\n height: 100%;\n display: flex;\n align-items: center;\n}\n.adm-notice-bar .adm-notice-bar-content .adm-notice-bar-content-inner {\n width: auto;\n transition-timing-function: linear;\n position: absolute;\n white-space: nowrap;\n}\n.adm-notice-bar .adm-notice-bar-right {\n flex-shrink: 0;\n margin-left: 12px;\n}\n.adm-notice-bar-close {\n width: 24px;\n height: 24px;\n margin-right: -3px;\n display: flex;\n align-items: center;\n justify-content: center;\n}\n.adm-notice-bar-close-icon {\n font-size: var(--adm-font-size-10);\n}\n")();
16134
15921
  const classPrefix$u = `adm-notice-bar`;
16135
15922
  const defaultProps$o = {
16136
15923
  color: "default",
@@ -16205,14 +15992,16 @@ const NoticeBar = memo((p2) => {
16205
15992
  className: `${classPrefix$u}-content-inner`
16206
15993
  }, props.content)), (props.closeable || props.extra) && React$1.createElement("span", {
16207
15994
  className: `${classPrefix$u}-right`
16208
- }, props.extra, props.closeable && React$1.createElement(CloseOutline, {
16209
- className: `${classPrefix$u}-close-icon`,
15995
+ }, props.extra, props.closeable && React$1.createElement("div", {
15996
+ className: `${classPrefix$u}-close`,
16210
15997
  onClick: () => {
16211
15998
  var _a;
16212
15999
  setVisible(false);
16213
16000
  (_a = props.onClose) === null || _a === void 0 ? void 0 : _a.call(props);
16214
16001
  }
16215
- }))));
16002
+ }, React$1.createElement(CloseOutline, {
16003
+ className: `${classPrefix$u}-close-icon`
16004
+ })))));
16216
16005
  });
16217
16006
  var numberKeyboard = /* @__PURE__ */ (() => ".adm-number-keyboard-main {\n display: flex;\n flex-wrap: wrap;\n flex: 1;\n}\n.adm-number-keyboard-main.confirmed-style .sign-key {\n background-color: var(--adm-color-white);\n}\n.adm-number-keyboard-popup.adm-popup {\n width: 100%;\n -webkit-user-select: none;\n user-select: none;\n z-index: 1050;\n}\n.adm-number-keyboard-popup.adm-popup .adm-popup-body {\n background-color: var(--adm-color-box);\n}\n.adm-number-keyboard-wrapper {\n display: flex;\n}\n.adm-number-keyboard-header {\n height: 34px;\n line-height: 34px;\n border-top: solid 1px var(--adm-color-border);\n display: flex;\n justify-content: center;\n align-items: center;\n padding: 0 12px;\n color: var(--adm-color-weak);\n background-color: var(--adm-color-background);\n}\n.adm-number-keyboard-header-close-button {\n padding: 0 12px;\n font-size: 16px;\n}\n.adm-number-keyboard-header.with-title {\n justify-content: space-between;\n}\n.adm-number-keyboard-header.with-title .adm-number-keyboard-header-close-button {\n padding-right: 0;\n}\n.adm-number-keyboard-footer {\n background: var(--adm-color-white);\n}\n.adm-number-keyboard-title {\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n.adm-number-keyboard-confirm {\n width: 25%;\n}\n.adm-number-keyboard-key {\n flex: 1 33.33%;\n position: relative;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 48px;\n font-size: 22px;\n box-sizing: border-box;\n border: solid 1px var(--adm-color-border);\n border-bottom: none;\n border-left: none;\n}\n.adm-number-keyboard-key:nth-child(3n),\n.adm-number-keyboard-key:last-child {\n border-right: none;\n}\n.adm-number-keyboard-key::before {\n position: absolute;\n top: 50%;\n left: 50%;\n width: 100%;\n height: 100%;\n background-color: #000;\n border: inherit;\n border-color: #000;\n border-radius: inherit;\n transform: translate(-50%, -50%);\n opacity: 0;\n content: ' ';\n box-sizing: content-box;\n}\n.adm-number-keyboard-key.mid-key {\n flex-basis: 66.67%;\n}\n.adm-number-keyboard-key.sign-key:active::before {\n opacity: 0.1;\n}\n.adm-number-keyboard-key.extra-key {\n border-left: solid 1px var(--adm-color-border);\n border-right: none;\n}\n.adm-number-keyboard-key.extra-key,\n.adm-number-keyboard-key.number-key {\n background-color: var(--adm-color-background);\n}\n.adm-number-keyboard-key.extra-key:active::before,\n.adm-number-keyboard-key.number-key:active::before {\n opacity: 0.1;\n}\n.adm-number-keyboard-key.ok-key {\n background-color: var(--adm-color-primary);\n color: var(--adm-color-white);\n height: 144px;\n font-size: 16px;\n border: none;\n}\n.adm-number-keyboard-bs-key {\n height: 20px;\n}\n")();
16218
16007
  function shuffle(array) {
@@ -16881,11 +16670,16 @@ const Rate = (p2) => {
16881
16670
  } else {
16882
16671
  setValue(v2);
16883
16672
  }
16884
- }
16673
+ },
16674
+ role: "radio",
16675
+ "aria-checked": value >= v2,
16676
+ "aria-label": "" + v2
16885
16677
  }, props.character);
16886
16678
  }
16887
16679
  return withNativeProps(props, React$1.createElement("div", {
16888
- className: classPrefix$m
16680
+ className: classPrefix$m,
16681
+ role: "radiogroup",
16682
+ "aria-readonly": props.readOnly
16889
16683
  }, starList.map((_, i) => React$1.createElement("div", {
16890
16684
  key: i,
16891
16685
  className: classNames(`${classPrefix$m}-box`)
@@ -18207,14 +18001,22 @@ const Switch = (p2) => {
18207
18001
  setChanging(true);
18208
18002
  try {
18209
18003
  yield props.beforeChange(nextChecked);
18210
- setChecked(nextChecked);
18211
18004
  setChanging(false);
18212
18005
  } catch (e2) {
18213
18006
  setChanging(false);
18214
18007
  throw e2;
18215
18008
  }
18216
- } else {
18217
- setChecked(nextChecked);
18009
+ }
18010
+ const result2 = setChecked(nextChecked);
18011
+ if (isPromise(result2)) {
18012
+ setChanging(true);
18013
+ try {
18014
+ yield result2;
18015
+ setChanging(false);
18016
+ } catch (e2) {
18017
+ setChanging(false);
18018
+ throw e2;
18019
+ }
18218
18020
  }
18219
18021
  });
18220
18022
  }