@fkui/logic 5.37.0 → 5.37.2

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.
package/lib/esm/index.js CHANGED
@@ -210,7 +210,7 @@ function debounce(func, delay, immediate = false) {
210
210
  };
211
211
  }
212
212
 
213
- var commonjsGlobal$1 = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
213
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
214
214
 
215
215
  function getDefaultExportFromCjs$1 (x) {
216
216
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
@@ -228,1743 +228,1750 @@ var lodash_clonedeep = {exports: {}};
228
228
  */
229
229
  lodash_clonedeep.exports;
230
230
 
231
- (function (module, exports) {
232
- /** Used as the size to enable large array optimizations. */
233
- var LARGE_ARRAY_SIZE = 200;
234
-
235
- /** Used to stand-in for `undefined` hash values. */
236
- var HASH_UNDEFINED = '__lodash_hash_undefined__';
237
-
238
- /** Used as references for various `Number` constants. */
239
- var MAX_SAFE_INTEGER = 9007199254740991;
240
-
241
- /** `Object#toString` result references. */
242
- var argsTag = '[object Arguments]',
243
- arrayTag = '[object Array]',
244
- boolTag = '[object Boolean]',
245
- dateTag = '[object Date]',
246
- errorTag = '[object Error]',
247
- funcTag = '[object Function]',
248
- genTag = '[object GeneratorFunction]',
249
- mapTag = '[object Map]',
250
- numberTag = '[object Number]',
251
- objectTag = '[object Object]',
252
- promiseTag = '[object Promise]',
253
- regexpTag = '[object RegExp]',
254
- setTag = '[object Set]',
255
- stringTag = '[object String]',
256
- symbolTag = '[object Symbol]',
257
- weakMapTag = '[object WeakMap]';
258
-
259
- var arrayBufferTag = '[object ArrayBuffer]',
260
- dataViewTag = '[object DataView]',
261
- float32Tag = '[object Float32Array]',
262
- float64Tag = '[object Float64Array]',
263
- int8Tag = '[object Int8Array]',
264
- int16Tag = '[object Int16Array]',
265
- int32Tag = '[object Int32Array]',
266
- uint8Tag = '[object Uint8Array]',
267
- uint8ClampedTag = '[object Uint8ClampedArray]',
268
- uint16Tag = '[object Uint16Array]',
269
- uint32Tag = '[object Uint32Array]';
270
-
271
- /**
272
- * Used to match `RegExp`
273
- * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
274
- */
275
- var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
276
-
277
- /** Used to match `RegExp` flags from their coerced string values. */
278
- var reFlags = /\w*$/;
279
-
280
- /** Used to detect host constructors (Safari). */
281
- var reIsHostCtor = /^\[object .+?Constructor\]$/;
282
-
283
- /** Used to detect unsigned integer values. */
284
- var reIsUint = /^(?:0|[1-9]\d*)$/;
285
-
286
- /** Used to identify `toStringTag` values supported by `_.clone`. */
287
- var cloneableTags = {};
288
- cloneableTags[argsTag] = cloneableTags[arrayTag] =
289
- cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =
290
- cloneableTags[boolTag] = cloneableTags[dateTag] =
291
- cloneableTags[float32Tag] = cloneableTags[float64Tag] =
292
- cloneableTags[int8Tag] = cloneableTags[int16Tag] =
293
- cloneableTags[int32Tag] = cloneableTags[mapTag] =
294
- cloneableTags[numberTag] = cloneableTags[objectTag] =
295
- cloneableTags[regexpTag] = cloneableTags[setTag] =
296
- cloneableTags[stringTag] = cloneableTags[symbolTag] =
297
- cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =
298
- cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
299
- cloneableTags[errorTag] = cloneableTags[funcTag] =
300
- cloneableTags[weakMapTag] = false;
301
-
302
- /** Detect free variable `global` from Node.js. */
303
- var freeGlobal = typeof commonjsGlobal$1 == 'object' && commonjsGlobal$1 && commonjsGlobal$1.Object === Object && commonjsGlobal$1;
304
-
305
- /** Detect free variable `self`. */
306
- var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
307
-
308
- /** Used as a reference to the global object. */
309
- var root = freeGlobal || freeSelf || Function('return this')();
310
-
311
- /** Detect free variable `exports`. */
312
- var freeExports = exports && !exports.nodeType && exports;
313
-
314
- /** Detect free variable `module`. */
315
- var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
316
-
317
- /** Detect the popular CommonJS extension `module.exports`. */
318
- var moduleExports = freeModule && freeModule.exports === freeExports;
319
-
320
- /**
321
- * Adds the key-value `pair` to `map`.
322
- *
323
- * @private
324
- * @param {Object} map The map to modify.
325
- * @param {Array} pair The key-value pair to add.
326
- * @returns {Object} Returns `map`.
327
- */
328
- function addMapEntry(map, pair) {
329
- // Don't return `map.set` because it's not chainable in IE 11.
330
- map.set(pair[0], pair[1]);
331
- return map;
332
- }
333
-
334
- /**
335
- * Adds `value` to `set`.
336
- *
337
- * @private
338
- * @param {Object} set The set to modify.
339
- * @param {*} value The value to add.
340
- * @returns {Object} Returns `set`.
341
- */
342
- function addSetEntry(set, value) {
343
- // Don't return `set.add` because it's not chainable in IE 11.
344
- set.add(value);
345
- return set;
346
- }
347
-
348
- /**
349
- * A specialized version of `_.forEach` for arrays without support for
350
- * iteratee shorthands.
351
- *
352
- * @private
353
- * @param {Array} [array] The array to iterate over.
354
- * @param {Function} iteratee The function invoked per iteration.
355
- * @returns {Array} Returns `array`.
356
- */
357
- function arrayEach(array, iteratee) {
358
- var index = -1,
359
- length = array ? array.length : 0;
360
-
361
- while (++index < length) {
362
- if (iteratee(array[index], index, array) === false) {
363
- break;
364
- }
365
- }
366
- return array;
367
- }
368
-
369
- /**
370
- * Appends the elements of `values` to `array`.
371
- *
372
- * @private
373
- * @param {Array} array The array to modify.
374
- * @param {Array} values The values to append.
375
- * @returns {Array} Returns `array`.
376
- */
377
- function arrayPush(array, values) {
378
- var index = -1,
379
- length = values.length,
380
- offset = array.length;
381
-
382
- while (++index < length) {
383
- array[offset + index] = values[index];
384
- }
385
- return array;
386
- }
387
-
388
- /**
389
- * A specialized version of `_.reduce` for arrays without support for
390
- * iteratee shorthands.
391
- *
392
- * @private
393
- * @param {Array} [array] The array to iterate over.
394
- * @param {Function} iteratee The function invoked per iteration.
395
- * @param {*} [accumulator] The initial value.
396
- * @param {boolean} [initAccum] Specify using the first element of `array` as
397
- * the initial value.
398
- * @returns {*} Returns the accumulated value.
399
- */
400
- function arrayReduce(array, iteratee, accumulator, initAccum) {
401
- var index = -1,
402
- length = array ? array.length : 0;
403
- while (++index < length) {
404
- accumulator = iteratee(accumulator, array[index], index, array);
405
- }
406
- return accumulator;
407
- }
408
-
409
- /**
410
- * The base implementation of `_.times` without support for iteratee shorthands
411
- * or max array length checks.
412
- *
413
- * @private
414
- * @param {number} n The number of times to invoke `iteratee`.
415
- * @param {Function} iteratee The function invoked per iteration.
416
- * @returns {Array} Returns the array of results.
417
- */
418
- function baseTimes(n, iteratee) {
419
- var index = -1,
420
- result = Array(n);
421
-
422
- while (++index < n) {
423
- result[index] = iteratee(index);
424
- }
425
- return result;
426
- }
427
-
428
- /**
429
- * Gets the value at `key` of `object`.
430
- *
431
- * @private
432
- * @param {Object} [object] The object to query.
433
- * @param {string} key The key of the property to get.
434
- * @returns {*} Returns the property value.
435
- */
436
- function getValue(object, key) {
437
- return object == null ? undefined : object[key];
438
- }
439
-
440
- /**
441
- * Checks if `value` is a host object in IE < 9.
442
- *
443
- * @private
444
- * @param {*} value The value to check.
445
- * @returns {boolean} Returns `true` if `value` is a host object, else `false`.
446
- */
447
- function isHostObject(value) {
448
- // Many host objects are `Object` objects that can coerce to strings
449
- // despite having improperly defined `toString` methods.
450
- var result = false;
451
- if (value != null && typeof value.toString != 'function') {
452
- try {
453
- result = !!(value + '');
454
- } catch (e) {}
455
- }
456
- return result;
457
- }
458
-
459
- /**
460
- * Converts `map` to its key-value pairs.
461
- *
462
- * @private
463
- * @param {Object} map The map to convert.
464
- * @returns {Array} Returns the key-value pairs.
465
- */
466
- function mapToArray(map) {
467
- var index = -1,
468
- result = Array(map.size);
469
-
470
- map.forEach(function(value, key) {
471
- result[++index] = [key, value];
472
- });
473
- return result;
474
- }
475
-
476
- /**
477
- * Creates a unary function that invokes `func` with its argument transformed.
478
- *
479
- * @private
480
- * @param {Function} func The function to wrap.
481
- * @param {Function} transform The argument transform.
482
- * @returns {Function} Returns the new function.
483
- */
484
- function overArg(func, transform) {
485
- return function(arg) {
486
- return func(transform(arg));
487
- };
488
- }
489
-
490
- /**
491
- * Converts `set` to an array of its values.
492
- *
493
- * @private
494
- * @param {Object} set The set to convert.
495
- * @returns {Array} Returns the values.
496
- */
497
- function setToArray(set) {
498
- var index = -1,
499
- result = Array(set.size);
500
-
501
- set.forEach(function(value) {
502
- result[++index] = value;
503
- });
504
- return result;
505
- }
506
-
507
- /** Used for built-in method references. */
508
- var arrayProto = Array.prototype,
509
- funcProto = Function.prototype,
510
- objectProto = Object.prototype;
511
-
512
- /** Used to detect overreaching core-js shims. */
513
- var coreJsData = root['__core-js_shared__'];
514
-
515
- /** Used to detect methods masquerading as native. */
516
- var maskSrcKey = (function() {
517
- var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
518
- return uid ? ('Symbol(src)_1.' + uid) : '';
519
- }());
520
-
521
- /** Used to resolve the decompiled source of functions. */
522
- var funcToString = funcProto.toString;
523
-
524
- /** Used to check objects for own properties. */
525
- var hasOwnProperty = objectProto.hasOwnProperty;
526
-
527
- /**
528
- * Used to resolve the
529
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
530
- * of values.
531
- */
532
- var objectToString = objectProto.toString;
533
-
534
- /** Used to detect if a method is native. */
535
- var reIsNative = RegExp('^' +
536
- funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
537
- .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
538
- );
539
-
540
- /** Built-in value references. */
541
- var Buffer = moduleExports ? root.Buffer : undefined,
542
- Symbol = root.Symbol,
543
- Uint8Array = root.Uint8Array,
544
- getPrototype = overArg(Object.getPrototypeOf, Object),
545
- objectCreate = Object.create,
546
- propertyIsEnumerable = objectProto.propertyIsEnumerable,
547
- splice = arrayProto.splice;
548
-
549
- /* Built-in method references for those with the same name as other `lodash` methods. */
550
- var nativeGetSymbols = Object.getOwnPropertySymbols,
551
- nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,
552
- nativeKeys = overArg(Object.keys, Object);
553
-
554
- /* Built-in method references that are verified to be native. */
555
- var DataView = getNative(root, 'DataView'),
556
- Map = getNative(root, 'Map'),
557
- Promise = getNative(root, 'Promise'),
558
- Set = getNative(root, 'Set'),
559
- WeakMap = getNative(root, 'WeakMap'),
560
- nativeCreate = getNative(Object, 'create');
561
-
562
- /** Used to detect maps, sets, and weakmaps. */
563
- var dataViewCtorString = toSource(DataView),
564
- mapCtorString = toSource(Map),
565
- promiseCtorString = toSource(Promise),
566
- setCtorString = toSource(Set),
567
- weakMapCtorString = toSource(WeakMap);
568
-
569
- /** Used to convert symbols to primitives and strings. */
570
- var symbolProto = Symbol ? Symbol.prototype : undefined,
571
- symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
572
-
573
- /**
574
- * Creates a hash object.
575
- *
576
- * @private
577
- * @constructor
578
- * @param {Array} [entries] The key-value pairs to cache.
579
- */
580
- function Hash(entries) {
581
- var index = -1,
582
- length = entries ? entries.length : 0;
583
-
584
- this.clear();
585
- while (++index < length) {
586
- var entry = entries[index];
587
- this.set(entry[0], entry[1]);
588
- }
589
- }
590
-
591
- /**
592
- * Removes all key-value entries from the hash.
593
- *
594
- * @private
595
- * @name clear
596
- * @memberOf Hash
597
- */
598
- function hashClear() {
599
- this.__data__ = nativeCreate ? nativeCreate(null) : {};
600
- }
601
-
602
- /**
603
- * Removes `key` and its value from the hash.
604
- *
605
- * @private
606
- * @name delete
607
- * @memberOf Hash
608
- * @param {Object} hash The hash to modify.
609
- * @param {string} key The key of the value to remove.
610
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
611
- */
612
- function hashDelete(key) {
613
- return this.has(key) && delete this.__data__[key];
614
- }
615
-
616
- /**
617
- * Gets the hash value for `key`.
618
- *
619
- * @private
620
- * @name get
621
- * @memberOf Hash
622
- * @param {string} key The key of the value to get.
623
- * @returns {*} Returns the entry value.
624
- */
625
- function hashGet(key) {
626
- var data = this.__data__;
627
- if (nativeCreate) {
628
- var result = data[key];
629
- return result === HASH_UNDEFINED ? undefined : result;
630
- }
631
- return hasOwnProperty.call(data, key) ? data[key] : undefined;
632
- }
633
-
634
- /**
635
- * Checks if a hash value for `key` exists.
636
- *
637
- * @private
638
- * @name has
639
- * @memberOf Hash
640
- * @param {string} key The key of the entry to check.
641
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
642
- */
643
- function hashHas(key) {
644
- var data = this.__data__;
645
- return nativeCreate ? data[key] !== undefined : hasOwnProperty.call(data, key);
646
- }
647
-
648
- /**
649
- * Sets the hash `key` to `value`.
650
- *
651
- * @private
652
- * @name set
653
- * @memberOf Hash
654
- * @param {string} key The key of the value to set.
655
- * @param {*} value The value to set.
656
- * @returns {Object} Returns the hash instance.
657
- */
658
- function hashSet(key, value) {
659
- var data = this.__data__;
660
- data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
661
- return this;
662
- }
663
-
664
- // Add methods to `Hash`.
665
- Hash.prototype.clear = hashClear;
666
- Hash.prototype['delete'] = hashDelete;
667
- Hash.prototype.get = hashGet;
668
- Hash.prototype.has = hashHas;
669
- Hash.prototype.set = hashSet;
670
-
671
- /**
672
- * Creates an list cache object.
673
- *
674
- * @private
675
- * @constructor
676
- * @param {Array} [entries] The key-value pairs to cache.
677
- */
678
- function ListCache(entries) {
679
- var index = -1,
680
- length = entries ? entries.length : 0;
681
-
682
- this.clear();
683
- while (++index < length) {
684
- var entry = entries[index];
685
- this.set(entry[0], entry[1]);
686
- }
687
- }
688
-
689
- /**
690
- * Removes all key-value entries from the list cache.
691
- *
692
- * @private
693
- * @name clear
694
- * @memberOf ListCache
695
- */
696
- function listCacheClear() {
697
- this.__data__ = [];
698
- }
699
-
700
- /**
701
- * Removes `key` and its value from the list cache.
702
- *
703
- * @private
704
- * @name delete
705
- * @memberOf ListCache
706
- * @param {string} key The key of the value to remove.
707
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
708
- */
709
- function listCacheDelete(key) {
710
- var data = this.__data__,
711
- index = assocIndexOf(data, key);
712
-
713
- if (index < 0) {
714
- return false;
715
- }
716
- var lastIndex = data.length - 1;
717
- if (index == lastIndex) {
718
- data.pop();
719
- } else {
720
- splice.call(data, index, 1);
721
- }
722
- return true;
723
- }
724
-
725
- /**
726
- * Gets the list cache value for `key`.
727
- *
728
- * @private
729
- * @name get
730
- * @memberOf ListCache
731
- * @param {string} key The key of the value to get.
732
- * @returns {*} Returns the entry value.
733
- */
734
- function listCacheGet(key) {
735
- var data = this.__data__,
736
- index = assocIndexOf(data, key);
737
-
738
- return index < 0 ? undefined : data[index][1];
739
- }
740
-
741
- /**
742
- * Checks if a list cache value for `key` exists.
743
- *
744
- * @private
745
- * @name has
746
- * @memberOf ListCache
747
- * @param {string} key The key of the entry to check.
748
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
749
- */
750
- function listCacheHas(key) {
751
- return assocIndexOf(this.__data__, key) > -1;
752
- }
753
-
754
- /**
755
- * Sets the list cache `key` to `value`.
756
- *
757
- * @private
758
- * @name set
759
- * @memberOf ListCache
760
- * @param {string} key The key of the value to set.
761
- * @param {*} value The value to set.
762
- * @returns {Object} Returns the list cache instance.
763
- */
764
- function listCacheSet(key, value) {
765
- var data = this.__data__,
766
- index = assocIndexOf(data, key);
767
-
768
- if (index < 0) {
769
- data.push([key, value]);
770
- } else {
771
- data[index][1] = value;
772
- }
773
- return this;
774
- }
775
-
776
- // Add methods to `ListCache`.
777
- ListCache.prototype.clear = listCacheClear;
778
- ListCache.prototype['delete'] = listCacheDelete;
779
- ListCache.prototype.get = listCacheGet;
780
- ListCache.prototype.has = listCacheHas;
781
- ListCache.prototype.set = listCacheSet;
782
-
783
- /**
784
- * Creates a map cache object to store key-value pairs.
785
- *
786
- * @private
787
- * @constructor
788
- * @param {Array} [entries] The key-value pairs to cache.
789
- */
790
- function MapCache(entries) {
791
- var index = -1,
792
- length = entries ? entries.length : 0;
793
-
794
- this.clear();
795
- while (++index < length) {
796
- var entry = entries[index];
797
- this.set(entry[0], entry[1]);
798
- }
799
- }
800
-
801
- /**
802
- * Removes all key-value entries from the map.
803
- *
804
- * @private
805
- * @name clear
806
- * @memberOf MapCache
807
- */
808
- function mapCacheClear() {
809
- this.__data__ = {
810
- 'hash': new Hash,
811
- 'map': new (Map || ListCache),
812
- 'string': new Hash
813
- };
814
- }
815
-
816
- /**
817
- * Removes `key` and its value from the map.
818
- *
819
- * @private
820
- * @name delete
821
- * @memberOf MapCache
822
- * @param {string} key The key of the value to remove.
823
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
824
- */
825
- function mapCacheDelete(key) {
826
- return getMapData(this, key)['delete'](key);
827
- }
828
-
829
- /**
830
- * Gets the map value for `key`.
831
- *
832
- * @private
833
- * @name get
834
- * @memberOf MapCache
835
- * @param {string} key The key of the value to get.
836
- * @returns {*} Returns the entry value.
837
- */
838
- function mapCacheGet(key) {
839
- return getMapData(this, key).get(key);
840
- }
841
-
842
- /**
843
- * Checks if a map value for `key` exists.
844
- *
845
- * @private
846
- * @name has
847
- * @memberOf MapCache
848
- * @param {string} key The key of the entry to check.
849
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
850
- */
851
- function mapCacheHas(key) {
852
- return getMapData(this, key).has(key);
853
- }
854
-
855
- /**
856
- * Sets the map `key` to `value`.
857
- *
858
- * @private
859
- * @name set
860
- * @memberOf MapCache
861
- * @param {string} key The key of the value to set.
862
- * @param {*} value The value to set.
863
- * @returns {Object} Returns the map cache instance.
864
- */
865
- function mapCacheSet(key, value) {
866
- getMapData(this, key).set(key, value);
867
- return this;
868
- }
869
-
870
- // Add methods to `MapCache`.
871
- MapCache.prototype.clear = mapCacheClear;
872
- MapCache.prototype['delete'] = mapCacheDelete;
873
- MapCache.prototype.get = mapCacheGet;
874
- MapCache.prototype.has = mapCacheHas;
875
- MapCache.prototype.set = mapCacheSet;
876
-
877
- /**
878
- * Creates a stack cache object to store key-value pairs.
879
- *
880
- * @private
881
- * @constructor
882
- * @param {Array} [entries] The key-value pairs to cache.
883
- */
884
- function Stack(entries) {
885
- this.__data__ = new ListCache(entries);
886
- }
887
-
888
- /**
889
- * Removes all key-value entries from the stack.
890
- *
891
- * @private
892
- * @name clear
893
- * @memberOf Stack
894
- */
895
- function stackClear() {
896
- this.__data__ = new ListCache;
897
- }
898
-
899
- /**
900
- * Removes `key` and its value from the stack.
901
- *
902
- * @private
903
- * @name delete
904
- * @memberOf Stack
905
- * @param {string} key The key of the value to remove.
906
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
907
- */
908
- function stackDelete(key) {
909
- return this.__data__['delete'](key);
910
- }
911
-
912
- /**
913
- * Gets the stack value for `key`.
914
- *
915
- * @private
916
- * @name get
917
- * @memberOf Stack
918
- * @param {string} key The key of the value to get.
919
- * @returns {*} Returns the entry value.
920
- */
921
- function stackGet(key) {
922
- return this.__data__.get(key);
923
- }
924
-
925
- /**
926
- * Checks if a stack value for `key` exists.
927
- *
928
- * @private
929
- * @name has
930
- * @memberOf Stack
931
- * @param {string} key The key of the entry to check.
932
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
933
- */
934
- function stackHas(key) {
935
- return this.__data__.has(key);
936
- }
937
-
938
- /**
939
- * Sets the stack `key` to `value`.
940
- *
941
- * @private
942
- * @name set
943
- * @memberOf Stack
944
- * @param {string} key The key of the value to set.
945
- * @param {*} value The value to set.
946
- * @returns {Object} Returns the stack cache instance.
947
- */
948
- function stackSet(key, value) {
949
- var cache = this.__data__;
950
- if (cache instanceof ListCache) {
951
- var pairs = cache.__data__;
952
- if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
953
- pairs.push([key, value]);
954
- return this;
955
- }
956
- cache = this.__data__ = new MapCache(pairs);
957
- }
958
- cache.set(key, value);
959
- return this;
960
- }
961
-
962
- // Add methods to `Stack`.
963
- Stack.prototype.clear = stackClear;
964
- Stack.prototype['delete'] = stackDelete;
965
- Stack.prototype.get = stackGet;
966
- Stack.prototype.has = stackHas;
967
- Stack.prototype.set = stackSet;
968
-
969
- /**
970
- * Creates an array of the enumerable property names of the array-like `value`.
971
- *
972
- * @private
973
- * @param {*} value The value to query.
974
- * @param {boolean} inherited Specify returning inherited property names.
975
- * @returns {Array} Returns the array of property names.
976
- */
977
- function arrayLikeKeys(value, inherited) {
978
- // Safari 8.1 makes `arguments.callee` enumerable in strict mode.
979
- // Safari 9 makes `arguments.length` enumerable in strict mode.
980
- var result = (isArray(value) || isArguments(value))
981
- ? baseTimes(value.length, String)
982
- : [];
983
-
984
- var length = result.length,
985
- skipIndexes = !!length;
986
-
987
- for (var key in value) {
988
- if ((hasOwnProperty.call(value, key)) &&
989
- !(skipIndexes && (key == 'length' || isIndex(key, length)))) {
990
- result.push(key);
991
- }
992
- }
993
- return result;
994
- }
995
-
996
- /**
997
- * Assigns `value` to `key` of `object` if the existing value is not equivalent
998
- * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
999
- * for equality comparisons.
1000
- *
1001
- * @private
1002
- * @param {Object} object The object to modify.
1003
- * @param {string} key The key of the property to assign.
1004
- * @param {*} value The value to assign.
1005
- */
1006
- function assignValue(object, key, value) {
1007
- var objValue = object[key];
1008
- if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||
1009
- (value === undefined && !(key in object))) {
1010
- object[key] = value;
1011
- }
1012
- }
1013
-
1014
- /**
1015
- * Gets the index at which the `key` is found in `array` of key-value pairs.
1016
- *
1017
- * @private
1018
- * @param {Array} array The array to inspect.
1019
- * @param {*} key The key to search for.
1020
- * @returns {number} Returns the index of the matched value, else `-1`.
1021
- */
1022
- function assocIndexOf(array, key) {
1023
- var length = array.length;
1024
- while (length--) {
1025
- if (eq(array[length][0], key)) {
1026
- return length;
1027
- }
1028
- }
1029
- return -1;
1030
- }
1031
-
1032
- /**
1033
- * The base implementation of `_.assign` without support for multiple sources
1034
- * or `customizer` functions.
1035
- *
1036
- * @private
1037
- * @param {Object} object The destination object.
1038
- * @param {Object} source The source object.
1039
- * @returns {Object} Returns `object`.
1040
- */
1041
- function baseAssign(object, source) {
1042
- return object && copyObject(source, keys(source), object);
1043
- }
1044
-
1045
- /**
1046
- * The base implementation of `_.clone` and `_.cloneDeep` which tracks
1047
- * traversed objects.
1048
- *
1049
- * @private
1050
- * @param {*} value The value to clone.
1051
- * @param {boolean} [isDeep] Specify a deep clone.
1052
- * @param {boolean} [isFull] Specify a clone including symbols.
1053
- * @param {Function} [customizer] The function to customize cloning.
1054
- * @param {string} [key] The key of `value`.
1055
- * @param {Object} [object] The parent object of `value`.
1056
- * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
1057
- * @returns {*} Returns the cloned value.
1058
- */
1059
- function baseClone(value, isDeep, isFull, customizer, key, object, stack) {
1060
- var result;
1061
- if (customizer) {
1062
- result = object ? customizer(value, key, object, stack) : customizer(value);
1063
- }
1064
- if (result !== undefined) {
1065
- return result;
1066
- }
1067
- if (!isObject(value)) {
1068
- return value;
1069
- }
1070
- var isArr = isArray(value);
1071
- if (isArr) {
1072
- result = initCloneArray(value);
1073
- if (!isDeep) {
1074
- return copyArray(value, result);
1075
- }
1076
- } else {
1077
- var tag = getTag(value),
1078
- isFunc = tag == funcTag || tag == genTag;
1079
-
1080
- if (isBuffer(value)) {
1081
- return cloneBuffer(value, isDeep);
1082
- }
1083
- if (tag == objectTag || tag == argsTag || (isFunc && !object)) {
1084
- if (isHostObject(value)) {
1085
- return object ? value : {};
1086
- }
1087
- result = initCloneObject(isFunc ? {} : value);
1088
- if (!isDeep) {
1089
- return copySymbols(value, baseAssign(result, value));
1090
- }
1091
- } else {
1092
- if (!cloneableTags[tag]) {
1093
- return object ? value : {};
1094
- }
1095
- result = initCloneByTag(value, tag, baseClone, isDeep);
1096
- }
1097
- }
1098
- // Check for circular references and return its corresponding clone.
1099
- stack || (stack = new Stack);
1100
- var stacked = stack.get(value);
1101
- if (stacked) {
1102
- return stacked;
1103
- }
1104
- stack.set(value, result);
1105
-
1106
- if (!isArr) {
1107
- var props = isFull ? getAllKeys(value) : keys(value);
1108
- }
1109
- arrayEach(props || value, function(subValue, key) {
1110
- if (props) {
1111
- key = subValue;
1112
- subValue = value[key];
1113
- }
1114
- // Recursively populate clone (susceptible to call stack limits).
1115
- assignValue(result, key, baseClone(subValue, isDeep, isFull, customizer, key, value, stack));
1116
- });
1117
- return result;
1118
- }
1119
-
1120
- /**
1121
- * The base implementation of `_.create` without support for assigning
1122
- * properties to the created object.
1123
- *
1124
- * @private
1125
- * @param {Object} prototype The object to inherit from.
1126
- * @returns {Object} Returns the new object.
1127
- */
1128
- function baseCreate(proto) {
1129
- return isObject(proto) ? objectCreate(proto) : {};
1130
- }
1131
-
1132
- /**
1133
- * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
1134
- * `keysFunc` and `symbolsFunc` to get the enumerable property names and
1135
- * symbols of `object`.
1136
- *
1137
- * @private
1138
- * @param {Object} object The object to query.
1139
- * @param {Function} keysFunc The function to get the keys of `object`.
1140
- * @param {Function} symbolsFunc The function to get the symbols of `object`.
1141
- * @returns {Array} Returns the array of property names and symbols.
1142
- */
1143
- function baseGetAllKeys(object, keysFunc, symbolsFunc) {
1144
- var result = keysFunc(object);
1145
- return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
1146
- }
1147
-
1148
- /**
1149
- * The base implementation of `getTag`.
1150
- *
1151
- * @private
1152
- * @param {*} value The value to query.
1153
- * @returns {string} Returns the `toStringTag`.
1154
- */
1155
- function baseGetTag(value) {
1156
- return objectToString.call(value);
1157
- }
1158
-
1159
- /**
1160
- * The base implementation of `_.isNative` without bad shim checks.
1161
- *
1162
- * @private
1163
- * @param {*} value The value to check.
1164
- * @returns {boolean} Returns `true` if `value` is a native function,
1165
- * else `false`.
1166
- */
1167
- function baseIsNative(value) {
1168
- if (!isObject(value) || isMasked(value)) {
1169
- return false;
1170
- }
1171
- var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;
1172
- return pattern.test(toSource(value));
1173
- }
1174
-
1175
- /**
1176
- * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
1177
- *
1178
- * @private
1179
- * @param {Object} object The object to query.
1180
- * @returns {Array} Returns the array of property names.
1181
- */
1182
- function baseKeys(object) {
1183
- if (!isPrototype(object)) {
1184
- return nativeKeys(object);
1185
- }
1186
- var result = [];
1187
- for (var key in Object(object)) {
1188
- if (hasOwnProperty.call(object, key) && key != 'constructor') {
1189
- result.push(key);
1190
- }
1191
- }
1192
- return result;
1193
- }
1194
-
1195
- /**
1196
- * Creates a clone of `buffer`.
1197
- *
1198
- * @private
1199
- * @param {Buffer} buffer The buffer to clone.
1200
- * @param {boolean} [isDeep] Specify a deep clone.
1201
- * @returns {Buffer} Returns the cloned buffer.
1202
- */
1203
- function cloneBuffer(buffer, isDeep) {
1204
- if (isDeep) {
1205
- return buffer.slice();
1206
- }
1207
- var result = new buffer.constructor(buffer.length);
1208
- buffer.copy(result);
1209
- return result;
1210
- }
1211
-
1212
- /**
1213
- * Creates a clone of `arrayBuffer`.
1214
- *
1215
- * @private
1216
- * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
1217
- * @returns {ArrayBuffer} Returns the cloned array buffer.
1218
- */
1219
- function cloneArrayBuffer(arrayBuffer) {
1220
- var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
1221
- new Uint8Array(result).set(new Uint8Array(arrayBuffer));
1222
- return result;
1223
- }
1224
-
1225
- /**
1226
- * Creates a clone of `dataView`.
1227
- *
1228
- * @private
1229
- * @param {Object} dataView The data view to clone.
1230
- * @param {boolean} [isDeep] Specify a deep clone.
1231
- * @returns {Object} Returns the cloned data view.
1232
- */
1233
- function cloneDataView(dataView, isDeep) {
1234
- var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
1235
- return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
1236
- }
1237
-
1238
- /**
1239
- * Creates a clone of `map`.
1240
- *
1241
- * @private
1242
- * @param {Object} map The map to clone.
1243
- * @param {Function} cloneFunc The function to clone values.
1244
- * @param {boolean} [isDeep] Specify a deep clone.
1245
- * @returns {Object} Returns the cloned map.
1246
- */
1247
- function cloneMap(map, isDeep, cloneFunc) {
1248
- var array = isDeep ? cloneFunc(mapToArray(map), true) : mapToArray(map);
1249
- return arrayReduce(array, addMapEntry, new map.constructor);
1250
- }
1251
-
1252
- /**
1253
- * Creates a clone of `regexp`.
1254
- *
1255
- * @private
1256
- * @param {Object} regexp The regexp to clone.
1257
- * @returns {Object} Returns the cloned regexp.
1258
- */
1259
- function cloneRegExp(regexp) {
1260
- var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
1261
- result.lastIndex = regexp.lastIndex;
1262
- return result;
1263
- }
1264
-
1265
- /**
1266
- * Creates a clone of `set`.
1267
- *
1268
- * @private
1269
- * @param {Object} set The set to clone.
1270
- * @param {Function} cloneFunc The function to clone values.
1271
- * @param {boolean} [isDeep] Specify a deep clone.
1272
- * @returns {Object} Returns the cloned set.
1273
- */
1274
- function cloneSet(set, isDeep, cloneFunc) {
1275
- var array = isDeep ? cloneFunc(setToArray(set), true) : setToArray(set);
1276
- return arrayReduce(array, addSetEntry, new set.constructor);
1277
- }
1278
-
1279
- /**
1280
- * Creates a clone of the `symbol` object.
1281
- *
1282
- * @private
1283
- * @param {Object} symbol The symbol object to clone.
1284
- * @returns {Object} Returns the cloned symbol object.
1285
- */
1286
- function cloneSymbol(symbol) {
1287
- return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
1288
- }
1289
-
1290
- /**
1291
- * Creates a clone of `typedArray`.
1292
- *
1293
- * @private
1294
- * @param {Object} typedArray The typed array to clone.
1295
- * @param {boolean} [isDeep] Specify a deep clone.
1296
- * @returns {Object} Returns the cloned typed array.
1297
- */
1298
- function cloneTypedArray(typedArray, isDeep) {
1299
- var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
1300
- return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
1301
- }
1302
-
1303
- /**
1304
- * Copies the values of `source` to `array`.
1305
- *
1306
- * @private
1307
- * @param {Array} source The array to copy values from.
1308
- * @param {Array} [array=[]] The array to copy values to.
1309
- * @returns {Array} Returns `array`.
1310
- */
1311
- function copyArray(source, array) {
1312
- var index = -1,
1313
- length = source.length;
1314
-
1315
- array || (array = Array(length));
1316
- while (++index < length) {
1317
- array[index] = source[index];
1318
- }
1319
- return array;
1320
- }
1321
-
1322
- /**
1323
- * Copies properties of `source` to `object`.
1324
- *
1325
- * @private
1326
- * @param {Object} source The object to copy properties from.
1327
- * @param {Array} props The property identifiers to copy.
1328
- * @param {Object} [object={}] The object to copy properties to.
1329
- * @param {Function} [customizer] The function to customize copied values.
1330
- * @returns {Object} Returns `object`.
1331
- */
1332
- function copyObject(source, props, object, customizer) {
1333
- object || (object = {});
1334
-
1335
- var index = -1,
1336
- length = props.length;
1337
-
1338
- while (++index < length) {
1339
- var key = props[index];
1340
-
1341
- var newValue = undefined;
1342
-
1343
- assignValue(object, key, newValue === undefined ? source[key] : newValue);
1344
- }
1345
- return object;
1346
- }
1347
-
1348
- /**
1349
- * Copies own symbol properties of `source` to `object`.
1350
- *
1351
- * @private
1352
- * @param {Object} source The object to copy symbols from.
1353
- * @param {Object} [object={}] The object to copy symbols to.
1354
- * @returns {Object} Returns `object`.
1355
- */
1356
- function copySymbols(source, object) {
1357
- return copyObject(source, getSymbols(source), object);
1358
- }
1359
-
1360
- /**
1361
- * Creates an array of own enumerable property names and symbols of `object`.
1362
- *
1363
- * @private
1364
- * @param {Object} object The object to query.
1365
- * @returns {Array} Returns the array of property names and symbols.
1366
- */
1367
- function getAllKeys(object) {
1368
- return baseGetAllKeys(object, keys, getSymbols);
1369
- }
1370
-
1371
- /**
1372
- * Gets the data for `map`.
1373
- *
1374
- * @private
1375
- * @param {Object} map The map to query.
1376
- * @param {string} key The reference key.
1377
- * @returns {*} Returns the map data.
1378
- */
1379
- function getMapData(map, key) {
1380
- var data = map.__data__;
1381
- return isKeyable(key)
1382
- ? data[typeof key == 'string' ? 'string' : 'hash']
1383
- : data.map;
1384
- }
1385
-
1386
- /**
1387
- * Gets the native function at `key` of `object`.
1388
- *
1389
- * @private
1390
- * @param {Object} object The object to query.
1391
- * @param {string} key The key of the method to get.
1392
- * @returns {*} Returns the function if it's native, else `undefined`.
1393
- */
1394
- function getNative(object, key) {
1395
- var value = getValue(object, key);
1396
- return baseIsNative(value) ? value : undefined;
1397
- }
1398
-
1399
- /**
1400
- * Creates an array of the own enumerable symbol properties of `object`.
1401
- *
1402
- * @private
1403
- * @param {Object} object The object to query.
1404
- * @returns {Array} Returns the array of symbols.
1405
- */
1406
- var getSymbols = nativeGetSymbols ? overArg(nativeGetSymbols, Object) : stubArray;
1407
-
1408
- /**
1409
- * Gets the `toStringTag` of `value`.
1410
- *
1411
- * @private
1412
- * @param {*} value The value to query.
1413
- * @returns {string} Returns the `toStringTag`.
1414
- */
1415
- var getTag = baseGetTag;
1416
-
1417
- // Fallback for data views, maps, sets, and weak maps in IE 11,
1418
- // for data views in Edge < 14, and promises in Node.js.
1419
- if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
1420
- (Map && getTag(new Map) != mapTag) ||
1421
- (Promise && getTag(Promise.resolve()) != promiseTag) ||
1422
- (Set && getTag(new Set) != setTag) ||
1423
- (WeakMap && getTag(new WeakMap) != weakMapTag)) {
1424
- getTag = function(value) {
1425
- var result = objectToString.call(value),
1426
- Ctor = result == objectTag ? value.constructor : undefined,
1427
- ctorString = Ctor ? toSource(Ctor) : undefined;
1428
-
1429
- if (ctorString) {
1430
- switch (ctorString) {
1431
- case dataViewCtorString: return dataViewTag;
1432
- case mapCtorString: return mapTag;
1433
- case promiseCtorString: return promiseTag;
1434
- case setCtorString: return setTag;
1435
- case weakMapCtorString: return weakMapTag;
1436
- }
1437
- }
1438
- return result;
1439
- };
1440
- }
1441
-
1442
- /**
1443
- * Initializes an array clone.
1444
- *
1445
- * @private
1446
- * @param {Array} array The array to clone.
1447
- * @returns {Array} Returns the initialized clone.
1448
- */
1449
- function initCloneArray(array) {
1450
- var length = array.length,
1451
- result = array.constructor(length);
1452
-
1453
- // Add properties assigned by `RegExp#exec`.
1454
- if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
1455
- result.index = array.index;
1456
- result.input = array.input;
1457
- }
1458
- return result;
1459
- }
1460
-
1461
- /**
1462
- * Initializes an object clone.
1463
- *
1464
- * @private
1465
- * @param {Object} object The object to clone.
1466
- * @returns {Object} Returns the initialized clone.
1467
- */
1468
- function initCloneObject(object) {
1469
- return (typeof object.constructor == 'function' && !isPrototype(object))
1470
- ? baseCreate(getPrototype(object))
1471
- : {};
1472
- }
1473
-
1474
- /**
1475
- * Initializes an object clone based on its `toStringTag`.
1476
- *
1477
- * **Note:** This function only supports cloning values with tags of
1478
- * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
1479
- *
1480
- * @private
1481
- * @param {Object} object The object to clone.
1482
- * @param {string} tag The `toStringTag` of the object to clone.
1483
- * @param {Function} cloneFunc The function to clone values.
1484
- * @param {boolean} [isDeep] Specify a deep clone.
1485
- * @returns {Object} Returns the initialized clone.
1486
- */
1487
- function initCloneByTag(object, tag, cloneFunc, isDeep) {
1488
- var Ctor = object.constructor;
1489
- switch (tag) {
1490
- case arrayBufferTag:
1491
- return cloneArrayBuffer(object);
1492
-
1493
- case boolTag:
1494
- case dateTag:
1495
- return new Ctor(+object);
1496
-
1497
- case dataViewTag:
1498
- return cloneDataView(object, isDeep);
1499
-
1500
- case float32Tag: case float64Tag:
1501
- case int8Tag: case int16Tag: case int32Tag:
1502
- case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:
1503
- return cloneTypedArray(object, isDeep);
1504
-
1505
- case mapTag:
1506
- return cloneMap(object, isDeep, cloneFunc);
1507
-
1508
- case numberTag:
1509
- case stringTag:
1510
- return new Ctor(object);
1511
-
1512
- case regexpTag:
1513
- return cloneRegExp(object);
1514
-
1515
- case setTag:
1516
- return cloneSet(object, isDeep, cloneFunc);
1517
-
1518
- case symbolTag:
1519
- return cloneSymbol(object);
1520
- }
1521
- }
1522
-
1523
- /**
1524
- * Checks if `value` is a valid array-like index.
1525
- *
1526
- * @private
1527
- * @param {*} value The value to check.
1528
- * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
1529
- * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
1530
- */
1531
- function isIndex(value, length) {
1532
- length = length == null ? MAX_SAFE_INTEGER : length;
1533
- return !!length &&
1534
- (typeof value == 'number' || reIsUint.test(value)) &&
1535
- (value > -1 && value % 1 == 0 && value < length);
1536
- }
1537
-
1538
- /**
1539
- * Checks if `value` is suitable for use as unique object key.
1540
- *
1541
- * @private
1542
- * @param {*} value The value to check.
1543
- * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
1544
- */
1545
- function isKeyable(value) {
1546
- var type = typeof value;
1547
- return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
1548
- ? (value !== '__proto__')
1549
- : (value === null);
1550
- }
1551
-
1552
- /**
1553
- * Checks if `func` has its source masked.
1554
- *
1555
- * @private
1556
- * @param {Function} func The function to check.
1557
- * @returns {boolean} Returns `true` if `func` is masked, else `false`.
1558
- */
1559
- function isMasked(func) {
1560
- return !!maskSrcKey && (maskSrcKey in func);
1561
- }
1562
-
1563
- /**
1564
- * Checks if `value` is likely a prototype object.
1565
- *
1566
- * @private
1567
- * @param {*} value The value to check.
1568
- * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
1569
- */
1570
- function isPrototype(value) {
1571
- var Ctor = value && value.constructor,
1572
- proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
1573
-
1574
- return value === proto;
1575
- }
1576
-
1577
- /**
1578
- * Converts `func` to its source code.
1579
- *
1580
- * @private
1581
- * @param {Function} func The function to process.
1582
- * @returns {string} Returns the source code.
1583
- */
1584
- function toSource(func) {
1585
- if (func != null) {
1586
- try {
1587
- return funcToString.call(func);
1588
- } catch (e) {}
1589
- try {
1590
- return (func + '');
1591
- } catch (e) {}
1592
- }
1593
- return '';
1594
- }
1595
-
1596
- /**
1597
- * This method is like `_.clone` except that it recursively clones `value`.
1598
- *
1599
- * @static
1600
- * @memberOf _
1601
- * @since 1.0.0
1602
- * @category Lang
1603
- * @param {*} value The value to recursively clone.
1604
- * @returns {*} Returns the deep cloned value.
1605
- * @see _.clone
1606
- * @example
1607
- *
1608
- * var objects = [{ 'a': 1 }, { 'b': 2 }];
1609
- *
1610
- * var deep = _.cloneDeep(objects);
1611
- * console.log(deep[0] === objects[0]);
1612
- * // => false
1613
- */
1614
- function cloneDeep(value) {
1615
- return baseClone(value, true, true);
1616
- }
1617
-
1618
- /**
1619
- * Performs a
1620
- * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
1621
- * comparison between two values to determine if they are equivalent.
1622
- *
1623
- * @static
1624
- * @memberOf _
1625
- * @since 4.0.0
1626
- * @category Lang
1627
- * @param {*} value The value to compare.
1628
- * @param {*} other The other value to compare.
1629
- * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
1630
- * @example
1631
- *
1632
- * var object = { 'a': 1 };
1633
- * var other = { 'a': 1 };
1634
- *
1635
- * _.eq(object, object);
1636
- * // => true
1637
- *
1638
- * _.eq(object, other);
1639
- * // => false
1640
- *
1641
- * _.eq('a', 'a');
1642
- * // => true
1643
- *
1644
- * _.eq('a', Object('a'));
1645
- * // => false
1646
- *
1647
- * _.eq(NaN, NaN);
1648
- * // => true
1649
- */
1650
- function eq(value, other) {
1651
- return value === other || (value !== value && other !== other);
1652
- }
1653
-
1654
- /**
1655
- * Checks if `value` is likely an `arguments` object.
1656
- *
1657
- * @static
1658
- * @memberOf _
1659
- * @since 0.1.0
1660
- * @category Lang
1661
- * @param {*} value The value to check.
1662
- * @returns {boolean} Returns `true` if `value` is an `arguments` object,
1663
- * else `false`.
1664
- * @example
1665
- *
1666
- * _.isArguments(function() { return arguments; }());
1667
- * // => true
1668
- *
1669
- * _.isArguments([1, 2, 3]);
1670
- * // => false
1671
- */
1672
- function isArguments(value) {
1673
- // Safari 8.1 makes `arguments.callee` enumerable in strict mode.
1674
- return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') &&
1675
- (!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag);
1676
- }
1677
-
1678
- /**
1679
- * Checks if `value` is classified as an `Array` object.
1680
- *
1681
- * @static
1682
- * @memberOf _
1683
- * @since 0.1.0
1684
- * @category Lang
1685
- * @param {*} value The value to check.
1686
- * @returns {boolean} Returns `true` if `value` is an array, else `false`.
1687
- * @example
1688
- *
1689
- * _.isArray([1, 2, 3]);
1690
- * // => true
1691
- *
1692
- * _.isArray(document.body.children);
1693
- * // => false
1694
- *
1695
- * _.isArray('abc');
1696
- * // => false
1697
- *
1698
- * _.isArray(_.noop);
1699
- * // => false
1700
- */
1701
- var isArray = Array.isArray;
1702
-
1703
- /**
1704
- * Checks if `value` is array-like. A value is considered array-like if it's
1705
- * not a function and has a `value.length` that's an integer greater than or
1706
- * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
1707
- *
1708
- * @static
1709
- * @memberOf _
1710
- * @since 4.0.0
1711
- * @category Lang
1712
- * @param {*} value The value to check.
1713
- * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
1714
- * @example
1715
- *
1716
- * _.isArrayLike([1, 2, 3]);
1717
- * // => true
1718
- *
1719
- * _.isArrayLike(document.body.children);
1720
- * // => true
1721
- *
1722
- * _.isArrayLike('abc');
1723
- * // => true
1724
- *
1725
- * _.isArrayLike(_.noop);
1726
- * // => false
1727
- */
1728
- function isArrayLike(value) {
1729
- return value != null && isLength(value.length) && !isFunction(value);
1730
- }
1731
-
1732
- /**
1733
- * This method is like `_.isArrayLike` except that it also checks if `value`
1734
- * is an object.
1735
- *
1736
- * @static
1737
- * @memberOf _
1738
- * @since 4.0.0
1739
- * @category Lang
1740
- * @param {*} value The value to check.
1741
- * @returns {boolean} Returns `true` if `value` is an array-like object,
1742
- * else `false`.
1743
- * @example
1744
- *
1745
- * _.isArrayLikeObject([1, 2, 3]);
1746
- * // => true
1747
- *
1748
- * _.isArrayLikeObject(document.body.children);
1749
- * // => true
1750
- *
1751
- * _.isArrayLikeObject('abc');
1752
- * // => false
1753
- *
1754
- * _.isArrayLikeObject(_.noop);
1755
- * // => false
1756
- */
1757
- function isArrayLikeObject(value) {
1758
- return isObjectLike(value) && isArrayLike(value);
1759
- }
1760
-
1761
- /**
1762
- * Checks if `value` is a buffer.
1763
- *
1764
- * @static
1765
- * @memberOf _
1766
- * @since 4.3.0
1767
- * @category Lang
1768
- * @param {*} value The value to check.
1769
- * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
1770
- * @example
1771
- *
1772
- * _.isBuffer(new Buffer(2));
1773
- * // => true
1774
- *
1775
- * _.isBuffer(new Uint8Array(2));
1776
- * // => false
1777
- */
1778
- var isBuffer = nativeIsBuffer || stubFalse;
1779
-
1780
- /**
1781
- * Checks if `value` is classified as a `Function` object.
1782
- *
1783
- * @static
1784
- * @memberOf _
1785
- * @since 0.1.0
1786
- * @category Lang
1787
- * @param {*} value The value to check.
1788
- * @returns {boolean} Returns `true` if `value` is a function, else `false`.
1789
- * @example
1790
- *
1791
- * _.isFunction(_);
1792
- * // => true
1793
- *
1794
- * _.isFunction(/abc/);
1795
- * // => false
1796
- */
1797
- function isFunction(value) {
1798
- // The use of `Object#toString` avoids issues with the `typeof` operator
1799
- // in Safari 8-9 which returns 'object' for typed array and other constructors.
1800
- var tag = isObject(value) ? objectToString.call(value) : '';
1801
- return tag == funcTag || tag == genTag;
1802
- }
1803
-
1804
- /**
1805
- * Checks if `value` is a valid array-like length.
1806
- *
1807
- * **Note:** This method is loosely based on
1808
- * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
1809
- *
1810
- * @static
1811
- * @memberOf _
1812
- * @since 4.0.0
1813
- * @category Lang
1814
- * @param {*} value The value to check.
1815
- * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
1816
- * @example
1817
- *
1818
- * _.isLength(3);
1819
- * // => true
1820
- *
1821
- * _.isLength(Number.MIN_VALUE);
1822
- * // => false
1823
- *
1824
- * _.isLength(Infinity);
1825
- * // => false
1826
- *
1827
- * _.isLength('3');
1828
- * // => false
1829
- */
1830
- function isLength(value) {
1831
- return typeof value == 'number' &&
1832
- value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
1833
- }
1834
-
1835
- /**
1836
- * Checks if `value` is the
1837
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
1838
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
1839
- *
1840
- * @static
1841
- * @memberOf _
1842
- * @since 0.1.0
1843
- * @category Lang
1844
- * @param {*} value The value to check.
1845
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
1846
- * @example
1847
- *
1848
- * _.isObject({});
1849
- * // => true
1850
- *
1851
- * _.isObject([1, 2, 3]);
1852
- * // => true
1853
- *
1854
- * _.isObject(_.noop);
1855
- * // => true
1856
- *
1857
- * _.isObject(null);
1858
- * // => false
1859
- */
1860
- function isObject(value) {
1861
- var type = typeof value;
1862
- return !!value && (type == 'object' || type == 'function');
1863
- }
1864
-
1865
- /**
1866
- * Checks if `value` is object-like. A value is object-like if it's not `null`
1867
- * and has a `typeof` result of "object".
1868
- *
1869
- * @static
1870
- * @memberOf _
1871
- * @since 4.0.0
1872
- * @category Lang
1873
- * @param {*} value The value to check.
1874
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
1875
- * @example
1876
- *
1877
- * _.isObjectLike({});
1878
- * // => true
1879
- *
1880
- * _.isObjectLike([1, 2, 3]);
1881
- * // => true
1882
- *
1883
- * _.isObjectLike(_.noop);
1884
- * // => false
1885
- *
1886
- * _.isObjectLike(null);
1887
- * // => false
1888
- */
1889
- function isObjectLike(value) {
1890
- return !!value && typeof value == 'object';
1891
- }
1892
-
1893
- /**
1894
- * Creates an array of the own enumerable property names of `object`.
1895
- *
1896
- * **Note:** Non-object values are coerced to objects. See the
1897
- * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
1898
- * for more details.
1899
- *
1900
- * @static
1901
- * @since 0.1.0
1902
- * @memberOf _
1903
- * @category Object
1904
- * @param {Object} object The object to query.
1905
- * @returns {Array} Returns the array of property names.
1906
- * @example
1907
- *
1908
- * function Foo() {
1909
- * this.a = 1;
1910
- * this.b = 2;
1911
- * }
1912
- *
1913
- * Foo.prototype.c = 3;
1914
- *
1915
- * _.keys(new Foo);
1916
- * // => ['a', 'b'] (iteration order is not guaranteed)
1917
- *
1918
- * _.keys('hi');
1919
- * // => ['0', '1']
1920
- */
1921
- function keys(object) {
1922
- return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
1923
- }
1924
-
1925
- /**
1926
- * This method returns a new empty array.
1927
- *
1928
- * @static
1929
- * @memberOf _
1930
- * @since 4.13.0
1931
- * @category Util
1932
- * @returns {Array} Returns the new empty array.
1933
- * @example
1934
- *
1935
- * var arrays = _.times(2, _.stubArray);
1936
- *
1937
- * console.log(arrays);
1938
- * // => [[], []]
1939
- *
1940
- * console.log(arrays[0] === arrays[1]);
1941
- * // => false
1942
- */
1943
- function stubArray() {
1944
- return [];
1945
- }
1946
-
1947
- /**
1948
- * This method returns `false`.
1949
- *
1950
- * @static
1951
- * @memberOf _
1952
- * @since 4.13.0
1953
- * @category Util
1954
- * @returns {boolean} Returns `false`.
1955
- * @example
1956
- *
1957
- * _.times(2, _.stubFalse);
1958
- * // => [false, false]
1959
- */
1960
- function stubFalse() {
1961
- return false;
1962
- }
1963
-
1964
- module.exports = cloneDeep;
1965
- } (lodash_clonedeep, lodash_clonedeep.exports));
1966
-
1967
- var lodash_clonedeepExports = lodash_clonedeep.exports;
231
+ var hasRequiredLodash_clonedeep;
232
+
233
+ function requireLodash_clonedeep () {
234
+ if (hasRequiredLodash_clonedeep) return lodash_clonedeep.exports;
235
+ hasRequiredLodash_clonedeep = 1;
236
+ (function (module, exports) {
237
+ /** Used as the size to enable large array optimizations. */
238
+ var LARGE_ARRAY_SIZE = 200;
239
+
240
+ /** Used to stand-in for `undefined` hash values. */
241
+ var HASH_UNDEFINED = '__lodash_hash_undefined__';
242
+
243
+ /** Used as references for various `Number` constants. */
244
+ var MAX_SAFE_INTEGER = 9007199254740991;
245
+
246
+ /** `Object#toString` result references. */
247
+ var argsTag = '[object Arguments]',
248
+ arrayTag = '[object Array]',
249
+ boolTag = '[object Boolean]',
250
+ dateTag = '[object Date]',
251
+ errorTag = '[object Error]',
252
+ funcTag = '[object Function]',
253
+ genTag = '[object GeneratorFunction]',
254
+ mapTag = '[object Map]',
255
+ numberTag = '[object Number]',
256
+ objectTag = '[object Object]',
257
+ promiseTag = '[object Promise]',
258
+ regexpTag = '[object RegExp]',
259
+ setTag = '[object Set]',
260
+ stringTag = '[object String]',
261
+ symbolTag = '[object Symbol]',
262
+ weakMapTag = '[object WeakMap]';
263
+
264
+ var arrayBufferTag = '[object ArrayBuffer]',
265
+ dataViewTag = '[object DataView]',
266
+ float32Tag = '[object Float32Array]',
267
+ float64Tag = '[object Float64Array]',
268
+ int8Tag = '[object Int8Array]',
269
+ int16Tag = '[object Int16Array]',
270
+ int32Tag = '[object Int32Array]',
271
+ uint8Tag = '[object Uint8Array]',
272
+ uint8ClampedTag = '[object Uint8ClampedArray]',
273
+ uint16Tag = '[object Uint16Array]',
274
+ uint32Tag = '[object Uint32Array]';
275
+
276
+ /**
277
+ * Used to match `RegExp`
278
+ * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
279
+ */
280
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
281
+
282
+ /** Used to match `RegExp` flags from their coerced string values. */
283
+ var reFlags = /\w*$/;
284
+
285
+ /** Used to detect host constructors (Safari). */
286
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
287
+
288
+ /** Used to detect unsigned integer values. */
289
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
290
+
291
+ /** Used to identify `toStringTag` values supported by `_.clone`. */
292
+ var cloneableTags = {};
293
+ cloneableTags[argsTag] = cloneableTags[arrayTag] =
294
+ cloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =
295
+ cloneableTags[boolTag] = cloneableTags[dateTag] =
296
+ cloneableTags[float32Tag] = cloneableTags[float64Tag] =
297
+ cloneableTags[int8Tag] = cloneableTags[int16Tag] =
298
+ cloneableTags[int32Tag] = cloneableTags[mapTag] =
299
+ cloneableTags[numberTag] = cloneableTags[objectTag] =
300
+ cloneableTags[regexpTag] = cloneableTags[setTag] =
301
+ cloneableTags[stringTag] = cloneableTags[symbolTag] =
302
+ cloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =
303
+ cloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;
304
+ cloneableTags[errorTag] = cloneableTags[funcTag] =
305
+ cloneableTags[weakMapTag] = false;
306
+
307
+ /** Detect free variable `global` from Node.js. */
308
+ var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
309
+
310
+ /** Detect free variable `self`. */
311
+ var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
312
+
313
+ /** Used as a reference to the global object. */
314
+ var root = freeGlobal || freeSelf || Function('return this')();
315
+
316
+ /** Detect free variable `exports`. */
317
+ var freeExports = exports && !exports.nodeType && exports;
318
+
319
+ /** Detect free variable `module`. */
320
+ var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
321
+
322
+ /** Detect the popular CommonJS extension `module.exports`. */
323
+ var moduleExports = freeModule && freeModule.exports === freeExports;
324
+
325
+ /**
326
+ * Adds the key-value `pair` to `map`.
327
+ *
328
+ * @private
329
+ * @param {Object} map The map to modify.
330
+ * @param {Array} pair The key-value pair to add.
331
+ * @returns {Object} Returns `map`.
332
+ */
333
+ function addMapEntry(map, pair) {
334
+ // Don't return `map.set` because it's not chainable in IE 11.
335
+ map.set(pair[0], pair[1]);
336
+ return map;
337
+ }
338
+
339
+ /**
340
+ * Adds `value` to `set`.
341
+ *
342
+ * @private
343
+ * @param {Object} set The set to modify.
344
+ * @param {*} value The value to add.
345
+ * @returns {Object} Returns `set`.
346
+ */
347
+ function addSetEntry(set, value) {
348
+ // Don't return `set.add` because it's not chainable in IE 11.
349
+ set.add(value);
350
+ return set;
351
+ }
352
+
353
+ /**
354
+ * A specialized version of `_.forEach` for arrays without support for
355
+ * iteratee shorthands.
356
+ *
357
+ * @private
358
+ * @param {Array} [array] The array to iterate over.
359
+ * @param {Function} iteratee The function invoked per iteration.
360
+ * @returns {Array} Returns `array`.
361
+ */
362
+ function arrayEach(array, iteratee) {
363
+ var index = -1,
364
+ length = array ? array.length : 0;
365
+
366
+ while (++index < length) {
367
+ if (iteratee(array[index], index, array) === false) {
368
+ break;
369
+ }
370
+ }
371
+ return array;
372
+ }
373
+
374
+ /**
375
+ * Appends the elements of `values` to `array`.
376
+ *
377
+ * @private
378
+ * @param {Array} array The array to modify.
379
+ * @param {Array} values The values to append.
380
+ * @returns {Array} Returns `array`.
381
+ */
382
+ function arrayPush(array, values) {
383
+ var index = -1,
384
+ length = values.length,
385
+ offset = array.length;
386
+
387
+ while (++index < length) {
388
+ array[offset + index] = values[index];
389
+ }
390
+ return array;
391
+ }
392
+
393
+ /**
394
+ * A specialized version of `_.reduce` for arrays without support for
395
+ * iteratee shorthands.
396
+ *
397
+ * @private
398
+ * @param {Array} [array] The array to iterate over.
399
+ * @param {Function} iteratee The function invoked per iteration.
400
+ * @param {*} [accumulator] The initial value.
401
+ * @param {boolean} [initAccum] Specify using the first element of `array` as
402
+ * the initial value.
403
+ * @returns {*} Returns the accumulated value.
404
+ */
405
+ function arrayReduce(array, iteratee, accumulator, initAccum) {
406
+ var index = -1,
407
+ length = array ? array.length : 0;
408
+ while (++index < length) {
409
+ accumulator = iteratee(accumulator, array[index], index, array);
410
+ }
411
+ return accumulator;
412
+ }
413
+
414
+ /**
415
+ * The base implementation of `_.times` without support for iteratee shorthands
416
+ * or max array length checks.
417
+ *
418
+ * @private
419
+ * @param {number} n The number of times to invoke `iteratee`.
420
+ * @param {Function} iteratee The function invoked per iteration.
421
+ * @returns {Array} Returns the array of results.
422
+ */
423
+ function baseTimes(n, iteratee) {
424
+ var index = -1,
425
+ result = Array(n);
426
+
427
+ while (++index < n) {
428
+ result[index] = iteratee(index);
429
+ }
430
+ return result;
431
+ }
432
+
433
+ /**
434
+ * Gets the value at `key` of `object`.
435
+ *
436
+ * @private
437
+ * @param {Object} [object] The object to query.
438
+ * @param {string} key The key of the property to get.
439
+ * @returns {*} Returns the property value.
440
+ */
441
+ function getValue(object, key) {
442
+ return object == null ? undefined : object[key];
443
+ }
444
+
445
+ /**
446
+ * Checks if `value` is a host object in IE < 9.
447
+ *
448
+ * @private
449
+ * @param {*} value The value to check.
450
+ * @returns {boolean} Returns `true` if `value` is a host object, else `false`.
451
+ */
452
+ function isHostObject(value) {
453
+ // Many host objects are `Object` objects that can coerce to strings
454
+ // despite having improperly defined `toString` methods.
455
+ var result = false;
456
+ if (value != null && typeof value.toString != 'function') {
457
+ try {
458
+ result = !!(value + '');
459
+ } catch (e) {}
460
+ }
461
+ return result;
462
+ }
463
+
464
+ /**
465
+ * Converts `map` to its key-value pairs.
466
+ *
467
+ * @private
468
+ * @param {Object} map The map to convert.
469
+ * @returns {Array} Returns the key-value pairs.
470
+ */
471
+ function mapToArray(map) {
472
+ var index = -1,
473
+ result = Array(map.size);
474
+
475
+ map.forEach(function(value, key) {
476
+ result[++index] = [key, value];
477
+ });
478
+ return result;
479
+ }
480
+
481
+ /**
482
+ * Creates a unary function that invokes `func` with its argument transformed.
483
+ *
484
+ * @private
485
+ * @param {Function} func The function to wrap.
486
+ * @param {Function} transform The argument transform.
487
+ * @returns {Function} Returns the new function.
488
+ */
489
+ function overArg(func, transform) {
490
+ return function(arg) {
491
+ return func(transform(arg));
492
+ };
493
+ }
494
+
495
+ /**
496
+ * Converts `set` to an array of its values.
497
+ *
498
+ * @private
499
+ * @param {Object} set The set to convert.
500
+ * @returns {Array} Returns the values.
501
+ */
502
+ function setToArray(set) {
503
+ var index = -1,
504
+ result = Array(set.size);
505
+
506
+ set.forEach(function(value) {
507
+ result[++index] = value;
508
+ });
509
+ return result;
510
+ }
511
+
512
+ /** Used for built-in method references. */
513
+ var arrayProto = Array.prototype,
514
+ funcProto = Function.prototype,
515
+ objectProto = Object.prototype;
516
+
517
+ /** Used to detect overreaching core-js shims. */
518
+ var coreJsData = root['__core-js_shared__'];
519
+
520
+ /** Used to detect methods masquerading as native. */
521
+ var maskSrcKey = (function() {
522
+ var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');
523
+ return uid ? ('Symbol(src)_1.' + uid) : '';
524
+ }());
525
+
526
+ /** Used to resolve the decompiled source of functions. */
527
+ var funcToString = funcProto.toString;
528
+
529
+ /** Used to check objects for own properties. */
530
+ var hasOwnProperty = objectProto.hasOwnProperty;
531
+
532
+ /**
533
+ * Used to resolve the
534
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
535
+ * of values.
536
+ */
537
+ var objectToString = objectProto.toString;
538
+
539
+ /** Used to detect if a method is native. */
540
+ var reIsNative = RegExp('^' +
541
+ funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\$&')
542
+ .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
543
+ );
544
+
545
+ /** Built-in value references. */
546
+ var Buffer = moduleExports ? root.Buffer : undefined,
547
+ Symbol = root.Symbol,
548
+ Uint8Array = root.Uint8Array,
549
+ getPrototype = overArg(Object.getPrototypeOf, Object),
550
+ objectCreate = Object.create,
551
+ propertyIsEnumerable = objectProto.propertyIsEnumerable,
552
+ splice = arrayProto.splice;
553
+
554
+ /* Built-in method references for those with the same name as other `lodash` methods. */
555
+ var nativeGetSymbols = Object.getOwnPropertySymbols,
556
+ nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined,
557
+ nativeKeys = overArg(Object.keys, Object);
558
+
559
+ /* Built-in method references that are verified to be native. */
560
+ var DataView = getNative(root, 'DataView'),
561
+ Map = getNative(root, 'Map'),
562
+ Promise = getNative(root, 'Promise'),
563
+ Set = getNative(root, 'Set'),
564
+ WeakMap = getNative(root, 'WeakMap'),
565
+ nativeCreate = getNative(Object, 'create');
566
+
567
+ /** Used to detect maps, sets, and weakmaps. */
568
+ var dataViewCtorString = toSource(DataView),
569
+ mapCtorString = toSource(Map),
570
+ promiseCtorString = toSource(Promise),
571
+ setCtorString = toSource(Set),
572
+ weakMapCtorString = toSource(WeakMap);
573
+
574
+ /** Used to convert symbols to primitives and strings. */
575
+ var symbolProto = Symbol ? Symbol.prototype : undefined,
576
+ symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;
577
+
578
+ /**
579
+ * Creates a hash object.
580
+ *
581
+ * @private
582
+ * @constructor
583
+ * @param {Array} [entries] The key-value pairs to cache.
584
+ */
585
+ function Hash(entries) {
586
+ var index = -1,
587
+ length = entries ? entries.length : 0;
588
+
589
+ this.clear();
590
+ while (++index < length) {
591
+ var entry = entries[index];
592
+ this.set(entry[0], entry[1]);
593
+ }
594
+ }
595
+
596
+ /**
597
+ * Removes all key-value entries from the hash.
598
+ *
599
+ * @private
600
+ * @name clear
601
+ * @memberOf Hash
602
+ */
603
+ function hashClear() {
604
+ this.__data__ = nativeCreate ? nativeCreate(null) : {};
605
+ }
606
+
607
+ /**
608
+ * Removes `key` and its value from the hash.
609
+ *
610
+ * @private
611
+ * @name delete
612
+ * @memberOf Hash
613
+ * @param {Object} hash The hash to modify.
614
+ * @param {string} key The key of the value to remove.
615
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
616
+ */
617
+ function hashDelete(key) {
618
+ return this.has(key) && delete this.__data__[key];
619
+ }
620
+
621
+ /**
622
+ * Gets the hash value for `key`.
623
+ *
624
+ * @private
625
+ * @name get
626
+ * @memberOf Hash
627
+ * @param {string} key The key of the value to get.
628
+ * @returns {*} Returns the entry value.
629
+ */
630
+ function hashGet(key) {
631
+ var data = this.__data__;
632
+ if (nativeCreate) {
633
+ var result = data[key];
634
+ return result === HASH_UNDEFINED ? undefined : result;
635
+ }
636
+ return hasOwnProperty.call(data, key) ? data[key] : undefined;
637
+ }
638
+
639
+ /**
640
+ * Checks if a hash value for `key` exists.
641
+ *
642
+ * @private
643
+ * @name has
644
+ * @memberOf Hash
645
+ * @param {string} key The key of the entry to check.
646
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
647
+ */
648
+ function hashHas(key) {
649
+ var data = this.__data__;
650
+ return nativeCreate ? data[key] !== undefined : hasOwnProperty.call(data, key);
651
+ }
652
+
653
+ /**
654
+ * Sets the hash `key` to `value`.
655
+ *
656
+ * @private
657
+ * @name set
658
+ * @memberOf Hash
659
+ * @param {string} key The key of the value to set.
660
+ * @param {*} value The value to set.
661
+ * @returns {Object} Returns the hash instance.
662
+ */
663
+ function hashSet(key, value) {
664
+ var data = this.__data__;
665
+ data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;
666
+ return this;
667
+ }
668
+
669
+ // Add methods to `Hash`.
670
+ Hash.prototype.clear = hashClear;
671
+ Hash.prototype['delete'] = hashDelete;
672
+ Hash.prototype.get = hashGet;
673
+ Hash.prototype.has = hashHas;
674
+ Hash.prototype.set = hashSet;
675
+
676
+ /**
677
+ * Creates an list cache object.
678
+ *
679
+ * @private
680
+ * @constructor
681
+ * @param {Array} [entries] The key-value pairs to cache.
682
+ */
683
+ function ListCache(entries) {
684
+ var index = -1,
685
+ length = entries ? entries.length : 0;
686
+
687
+ this.clear();
688
+ while (++index < length) {
689
+ var entry = entries[index];
690
+ this.set(entry[0], entry[1]);
691
+ }
692
+ }
693
+
694
+ /**
695
+ * Removes all key-value entries from the list cache.
696
+ *
697
+ * @private
698
+ * @name clear
699
+ * @memberOf ListCache
700
+ */
701
+ function listCacheClear() {
702
+ this.__data__ = [];
703
+ }
704
+
705
+ /**
706
+ * Removes `key` and its value from the list cache.
707
+ *
708
+ * @private
709
+ * @name delete
710
+ * @memberOf ListCache
711
+ * @param {string} key The key of the value to remove.
712
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
713
+ */
714
+ function listCacheDelete(key) {
715
+ var data = this.__data__,
716
+ index = assocIndexOf(data, key);
717
+
718
+ if (index < 0) {
719
+ return false;
720
+ }
721
+ var lastIndex = data.length - 1;
722
+ if (index == lastIndex) {
723
+ data.pop();
724
+ } else {
725
+ splice.call(data, index, 1);
726
+ }
727
+ return true;
728
+ }
729
+
730
+ /**
731
+ * Gets the list cache value for `key`.
732
+ *
733
+ * @private
734
+ * @name get
735
+ * @memberOf ListCache
736
+ * @param {string} key The key of the value to get.
737
+ * @returns {*} Returns the entry value.
738
+ */
739
+ function listCacheGet(key) {
740
+ var data = this.__data__,
741
+ index = assocIndexOf(data, key);
742
+
743
+ return index < 0 ? undefined : data[index][1];
744
+ }
745
+
746
+ /**
747
+ * Checks if a list cache value for `key` exists.
748
+ *
749
+ * @private
750
+ * @name has
751
+ * @memberOf ListCache
752
+ * @param {string} key The key of the entry to check.
753
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
754
+ */
755
+ function listCacheHas(key) {
756
+ return assocIndexOf(this.__data__, key) > -1;
757
+ }
758
+
759
+ /**
760
+ * Sets the list cache `key` to `value`.
761
+ *
762
+ * @private
763
+ * @name set
764
+ * @memberOf ListCache
765
+ * @param {string} key The key of the value to set.
766
+ * @param {*} value The value to set.
767
+ * @returns {Object} Returns the list cache instance.
768
+ */
769
+ function listCacheSet(key, value) {
770
+ var data = this.__data__,
771
+ index = assocIndexOf(data, key);
772
+
773
+ if (index < 0) {
774
+ data.push([key, value]);
775
+ } else {
776
+ data[index][1] = value;
777
+ }
778
+ return this;
779
+ }
780
+
781
+ // Add methods to `ListCache`.
782
+ ListCache.prototype.clear = listCacheClear;
783
+ ListCache.prototype['delete'] = listCacheDelete;
784
+ ListCache.prototype.get = listCacheGet;
785
+ ListCache.prototype.has = listCacheHas;
786
+ ListCache.prototype.set = listCacheSet;
787
+
788
+ /**
789
+ * Creates a map cache object to store key-value pairs.
790
+ *
791
+ * @private
792
+ * @constructor
793
+ * @param {Array} [entries] The key-value pairs to cache.
794
+ */
795
+ function MapCache(entries) {
796
+ var index = -1,
797
+ length = entries ? entries.length : 0;
798
+
799
+ this.clear();
800
+ while (++index < length) {
801
+ var entry = entries[index];
802
+ this.set(entry[0], entry[1]);
803
+ }
804
+ }
805
+
806
+ /**
807
+ * Removes all key-value entries from the map.
808
+ *
809
+ * @private
810
+ * @name clear
811
+ * @memberOf MapCache
812
+ */
813
+ function mapCacheClear() {
814
+ this.__data__ = {
815
+ 'hash': new Hash,
816
+ 'map': new (Map || ListCache),
817
+ 'string': new Hash
818
+ };
819
+ }
820
+
821
+ /**
822
+ * Removes `key` and its value from the map.
823
+ *
824
+ * @private
825
+ * @name delete
826
+ * @memberOf MapCache
827
+ * @param {string} key The key of the value to remove.
828
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
829
+ */
830
+ function mapCacheDelete(key) {
831
+ return getMapData(this, key)['delete'](key);
832
+ }
833
+
834
+ /**
835
+ * Gets the map value for `key`.
836
+ *
837
+ * @private
838
+ * @name get
839
+ * @memberOf MapCache
840
+ * @param {string} key The key of the value to get.
841
+ * @returns {*} Returns the entry value.
842
+ */
843
+ function mapCacheGet(key) {
844
+ return getMapData(this, key).get(key);
845
+ }
846
+
847
+ /**
848
+ * Checks if a map value for `key` exists.
849
+ *
850
+ * @private
851
+ * @name has
852
+ * @memberOf MapCache
853
+ * @param {string} key The key of the entry to check.
854
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
855
+ */
856
+ function mapCacheHas(key) {
857
+ return getMapData(this, key).has(key);
858
+ }
859
+
860
+ /**
861
+ * Sets the map `key` to `value`.
862
+ *
863
+ * @private
864
+ * @name set
865
+ * @memberOf MapCache
866
+ * @param {string} key The key of the value to set.
867
+ * @param {*} value The value to set.
868
+ * @returns {Object} Returns the map cache instance.
869
+ */
870
+ function mapCacheSet(key, value) {
871
+ getMapData(this, key).set(key, value);
872
+ return this;
873
+ }
874
+
875
+ // Add methods to `MapCache`.
876
+ MapCache.prototype.clear = mapCacheClear;
877
+ MapCache.prototype['delete'] = mapCacheDelete;
878
+ MapCache.prototype.get = mapCacheGet;
879
+ MapCache.prototype.has = mapCacheHas;
880
+ MapCache.prototype.set = mapCacheSet;
881
+
882
+ /**
883
+ * Creates a stack cache object to store key-value pairs.
884
+ *
885
+ * @private
886
+ * @constructor
887
+ * @param {Array} [entries] The key-value pairs to cache.
888
+ */
889
+ function Stack(entries) {
890
+ this.__data__ = new ListCache(entries);
891
+ }
892
+
893
+ /**
894
+ * Removes all key-value entries from the stack.
895
+ *
896
+ * @private
897
+ * @name clear
898
+ * @memberOf Stack
899
+ */
900
+ function stackClear() {
901
+ this.__data__ = new ListCache;
902
+ }
903
+
904
+ /**
905
+ * Removes `key` and its value from the stack.
906
+ *
907
+ * @private
908
+ * @name delete
909
+ * @memberOf Stack
910
+ * @param {string} key The key of the value to remove.
911
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
912
+ */
913
+ function stackDelete(key) {
914
+ return this.__data__['delete'](key);
915
+ }
916
+
917
+ /**
918
+ * Gets the stack value for `key`.
919
+ *
920
+ * @private
921
+ * @name get
922
+ * @memberOf Stack
923
+ * @param {string} key The key of the value to get.
924
+ * @returns {*} Returns the entry value.
925
+ */
926
+ function stackGet(key) {
927
+ return this.__data__.get(key);
928
+ }
929
+
930
+ /**
931
+ * Checks if a stack value for `key` exists.
932
+ *
933
+ * @private
934
+ * @name has
935
+ * @memberOf Stack
936
+ * @param {string} key The key of the entry to check.
937
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
938
+ */
939
+ function stackHas(key) {
940
+ return this.__data__.has(key);
941
+ }
942
+
943
+ /**
944
+ * Sets the stack `key` to `value`.
945
+ *
946
+ * @private
947
+ * @name set
948
+ * @memberOf Stack
949
+ * @param {string} key The key of the value to set.
950
+ * @param {*} value The value to set.
951
+ * @returns {Object} Returns the stack cache instance.
952
+ */
953
+ function stackSet(key, value) {
954
+ var cache = this.__data__;
955
+ if (cache instanceof ListCache) {
956
+ var pairs = cache.__data__;
957
+ if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {
958
+ pairs.push([key, value]);
959
+ return this;
960
+ }
961
+ cache = this.__data__ = new MapCache(pairs);
962
+ }
963
+ cache.set(key, value);
964
+ return this;
965
+ }
966
+
967
+ // Add methods to `Stack`.
968
+ Stack.prototype.clear = stackClear;
969
+ Stack.prototype['delete'] = stackDelete;
970
+ Stack.prototype.get = stackGet;
971
+ Stack.prototype.has = stackHas;
972
+ Stack.prototype.set = stackSet;
973
+
974
+ /**
975
+ * Creates an array of the enumerable property names of the array-like `value`.
976
+ *
977
+ * @private
978
+ * @param {*} value The value to query.
979
+ * @param {boolean} inherited Specify returning inherited property names.
980
+ * @returns {Array} Returns the array of property names.
981
+ */
982
+ function arrayLikeKeys(value, inherited) {
983
+ // Safari 8.1 makes `arguments.callee` enumerable in strict mode.
984
+ // Safari 9 makes `arguments.length` enumerable in strict mode.
985
+ var result = (isArray(value) || isArguments(value))
986
+ ? baseTimes(value.length, String)
987
+ : [];
988
+
989
+ var length = result.length,
990
+ skipIndexes = !!length;
991
+
992
+ for (var key in value) {
993
+ if ((hasOwnProperty.call(value, key)) &&
994
+ !(skipIndexes && (key == 'length' || isIndex(key, length)))) {
995
+ result.push(key);
996
+ }
997
+ }
998
+ return result;
999
+ }
1000
+
1001
+ /**
1002
+ * Assigns `value` to `key` of `object` if the existing value is not equivalent
1003
+ * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
1004
+ * for equality comparisons.
1005
+ *
1006
+ * @private
1007
+ * @param {Object} object The object to modify.
1008
+ * @param {string} key The key of the property to assign.
1009
+ * @param {*} value The value to assign.
1010
+ */
1011
+ function assignValue(object, key, value) {
1012
+ var objValue = object[key];
1013
+ if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||
1014
+ (value === undefined && !(key in object))) {
1015
+ object[key] = value;
1016
+ }
1017
+ }
1018
+
1019
+ /**
1020
+ * Gets the index at which the `key` is found in `array` of key-value pairs.
1021
+ *
1022
+ * @private
1023
+ * @param {Array} array The array to inspect.
1024
+ * @param {*} key The key to search for.
1025
+ * @returns {number} Returns the index of the matched value, else `-1`.
1026
+ */
1027
+ function assocIndexOf(array, key) {
1028
+ var length = array.length;
1029
+ while (length--) {
1030
+ if (eq(array[length][0], key)) {
1031
+ return length;
1032
+ }
1033
+ }
1034
+ return -1;
1035
+ }
1036
+
1037
+ /**
1038
+ * The base implementation of `_.assign` without support for multiple sources
1039
+ * or `customizer` functions.
1040
+ *
1041
+ * @private
1042
+ * @param {Object} object The destination object.
1043
+ * @param {Object} source The source object.
1044
+ * @returns {Object} Returns `object`.
1045
+ */
1046
+ function baseAssign(object, source) {
1047
+ return object && copyObject(source, keys(source), object);
1048
+ }
1049
+
1050
+ /**
1051
+ * The base implementation of `_.clone` and `_.cloneDeep` which tracks
1052
+ * traversed objects.
1053
+ *
1054
+ * @private
1055
+ * @param {*} value The value to clone.
1056
+ * @param {boolean} [isDeep] Specify a deep clone.
1057
+ * @param {boolean} [isFull] Specify a clone including symbols.
1058
+ * @param {Function} [customizer] The function to customize cloning.
1059
+ * @param {string} [key] The key of `value`.
1060
+ * @param {Object} [object] The parent object of `value`.
1061
+ * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
1062
+ * @returns {*} Returns the cloned value.
1063
+ */
1064
+ function baseClone(value, isDeep, isFull, customizer, key, object, stack) {
1065
+ var result;
1066
+ if (customizer) {
1067
+ result = object ? customizer(value, key, object, stack) : customizer(value);
1068
+ }
1069
+ if (result !== undefined) {
1070
+ return result;
1071
+ }
1072
+ if (!isObject(value)) {
1073
+ return value;
1074
+ }
1075
+ var isArr = isArray(value);
1076
+ if (isArr) {
1077
+ result = initCloneArray(value);
1078
+ if (!isDeep) {
1079
+ return copyArray(value, result);
1080
+ }
1081
+ } else {
1082
+ var tag = getTag(value),
1083
+ isFunc = tag == funcTag || tag == genTag;
1084
+
1085
+ if (isBuffer(value)) {
1086
+ return cloneBuffer(value, isDeep);
1087
+ }
1088
+ if (tag == objectTag || tag == argsTag || (isFunc && !object)) {
1089
+ if (isHostObject(value)) {
1090
+ return object ? value : {};
1091
+ }
1092
+ result = initCloneObject(isFunc ? {} : value);
1093
+ if (!isDeep) {
1094
+ return copySymbols(value, baseAssign(result, value));
1095
+ }
1096
+ } else {
1097
+ if (!cloneableTags[tag]) {
1098
+ return object ? value : {};
1099
+ }
1100
+ result = initCloneByTag(value, tag, baseClone, isDeep);
1101
+ }
1102
+ }
1103
+ // Check for circular references and return its corresponding clone.
1104
+ stack || (stack = new Stack);
1105
+ var stacked = stack.get(value);
1106
+ if (stacked) {
1107
+ return stacked;
1108
+ }
1109
+ stack.set(value, result);
1110
+
1111
+ if (!isArr) {
1112
+ var props = isFull ? getAllKeys(value) : keys(value);
1113
+ }
1114
+ arrayEach(props || value, function(subValue, key) {
1115
+ if (props) {
1116
+ key = subValue;
1117
+ subValue = value[key];
1118
+ }
1119
+ // Recursively populate clone (susceptible to call stack limits).
1120
+ assignValue(result, key, baseClone(subValue, isDeep, isFull, customizer, key, value, stack));
1121
+ });
1122
+ return result;
1123
+ }
1124
+
1125
+ /**
1126
+ * The base implementation of `_.create` without support for assigning
1127
+ * properties to the created object.
1128
+ *
1129
+ * @private
1130
+ * @param {Object} prototype The object to inherit from.
1131
+ * @returns {Object} Returns the new object.
1132
+ */
1133
+ function baseCreate(proto) {
1134
+ return isObject(proto) ? objectCreate(proto) : {};
1135
+ }
1136
+
1137
+ /**
1138
+ * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
1139
+ * `keysFunc` and `symbolsFunc` to get the enumerable property names and
1140
+ * symbols of `object`.
1141
+ *
1142
+ * @private
1143
+ * @param {Object} object The object to query.
1144
+ * @param {Function} keysFunc The function to get the keys of `object`.
1145
+ * @param {Function} symbolsFunc The function to get the symbols of `object`.
1146
+ * @returns {Array} Returns the array of property names and symbols.
1147
+ */
1148
+ function baseGetAllKeys(object, keysFunc, symbolsFunc) {
1149
+ var result = keysFunc(object);
1150
+ return isArray(object) ? result : arrayPush(result, symbolsFunc(object));
1151
+ }
1152
+
1153
+ /**
1154
+ * The base implementation of `getTag`.
1155
+ *
1156
+ * @private
1157
+ * @param {*} value The value to query.
1158
+ * @returns {string} Returns the `toStringTag`.
1159
+ */
1160
+ function baseGetTag(value) {
1161
+ return objectToString.call(value);
1162
+ }
1163
+
1164
+ /**
1165
+ * The base implementation of `_.isNative` without bad shim checks.
1166
+ *
1167
+ * @private
1168
+ * @param {*} value The value to check.
1169
+ * @returns {boolean} Returns `true` if `value` is a native function,
1170
+ * else `false`.
1171
+ */
1172
+ function baseIsNative(value) {
1173
+ if (!isObject(value) || isMasked(value)) {
1174
+ return false;
1175
+ }
1176
+ var pattern = (isFunction(value) || isHostObject(value)) ? reIsNative : reIsHostCtor;
1177
+ return pattern.test(toSource(value));
1178
+ }
1179
+
1180
+ /**
1181
+ * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
1182
+ *
1183
+ * @private
1184
+ * @param {Object} object The object to query.
1185
+ * @returns {Array} Returns the array of property names.
1186
+ */
1187
+ function baseKeys(object) {
1188
+ if (!isPrototype(object)) {
1189
+ return nativeKeys(object);
1190
+ }
1191
+ var result = [];
1192
+ for (var key in Object(object)) {
1193
+ if (hasOwnProperty.call(object, key) && key != 'constructor') {
1194
+ result.push(key);
1195
+ }
1196
+ }
1197
+ return result;
1198
+ }
1199
+
1200
+ /**
1201
+ * Creates a clone of `buffer`.
1202
+ *
1203
+ * @private
1204
+ * @param {Buffer} buffer The buffer to clone.
1205
+ * @param {boolean} [isDeep] Specify a deep clone.
1206
+ * @returns {Buffer} Returns the cloned buffer.
1207
+ */
1208
+ function cloneBuffer(buffer, isDeep) {
1209
+ if (isDeep) {
1210
+ return buffer.slice();
1211
+ }
1212
+ var result = new buffer.constructor(buffer.length);
1213
+ buffer.copy(result);
1214
+ return result;
1215
+ }
1216
+
1217
+ /**
1218
+ * Creates a clone of `arrayBuffer`.
1219
+ *
1220
+ * @private
1221
+ * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
1222
+ * @returns {ArrayBuffer} Returns the cloned array buffer.
1223
+ */
1224
+ function cloneArrayBuffer(arrayBuffer) {
1225
+ var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
1226
+ new Uint8Array(result).set(new Uint8Array(arrayBuffer));
1227
+ return result;
1228
+ }
1229
+
1230
+ /**
1231
+ * Creates a clone of `dataView`.
1232
+ *
1233
+ * @private
1234
+ * @param {Object} dataView The data view to clone.
1235
+ * @param {boolean} [isDeep] Specify a deep clone.
1236
+ * @returns {Object} Returns the cloned data view.
1237
+ */
1238
+ function cloneDataView(dataView, isDeep) {
1239
+ var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;
1240
+ return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);
1241
+ }
1242
+
1243
+ /**
1244
+ * Creates a clone of `map`.
1245
+ *
1246
+ * @private
1247
+ * @param {Object} map The map to clone.
1248
+ * @param {Function} cloneFunc The function to clone values.
1249
+ * @param {boolean} [isDeep] Specify a deep clone.
1250
+ * @returns {Object} Returns the cloned map.
1251
+ */
1252
+ function cloneMap(map, isDeep, cloneFunc) {
1253
+ var array = isDeep ? cloneFunc(mapToArray(map), true) : mapToArray(map);
1254
+ return arrayReduce(array, addMapEntry, new map.constructor);
1255
+ }
1256
+
1257
+ /**
1258
+ * Creates a clone of `regexp`.
1259
+ *
1260
+ * @private
1261
+ * @param {Object} regexp The regexp to clone.
1262
+ * @returns {Object} Returns the cloned regexp.
1263
+ */
1264
+ function cloneRegExp(regexp) {
1265
+ var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));
1266
+ result.lastIndex = regexp.lastIndex;
1267
+ return result;
1268
+ }
1269
+
1270
+ /**
1271
+ * Creates a clone of `set`.
1272
+ *
1273
+ * @private
1274
+ * @param {Object} set The set to clone.
1275
+ * @param {Function} cloneFunc The function to clone values.
1276
+ * @param {boolean} [isDeep] Specify a deep clone.
1277
+ * @returns {Object} Returns the cloned set.
1278
+ */
1279
+ function cloneSet(set, isDeep, cloneFunc) {
1280
+ var array = isDeep ? cloneFunc(setToArray(set), true) : setToArray(set);
1281
+ return arrayReduce(array, addSetEntry, new set.constructor);
1282
+ }
1283
+
1284
+ /**
1285
+ * Creates a clone of the `symbol` object.
1286
+ *
1287
+ * @private
1288
+ * @param {Object} symbol The symbol object to clone.
1289
+ * @returns {Object} Returns the cloned symbol object.
1290
+ */
1291
+ function cloneSymbol(symbol) {
1292
+ return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};
1293
+ }
1294
+
1295
+ /**
1296
+ * Creates a clone of `typedArray`.
1297
+ *
1298
+ * @private
1299
+ * @param {Object} typedArray The typed array to clone.
1300
+ * @param {boolean} [isDeep] Specify a deep clone.
1301
+ * @returns {Object} Returns the cloned typed array.
1302
+ */
1303
+ function cloneTypedArray(typedArray, isDeep) {
1304
+ var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
1305
+ return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
1306
+ }
1307
+
1308
+ /**
1309
+ * Copies the values of `source` to `array`.
1310
+ *
1311
+ * @private
1312
+ * @param {Array} source The array to copy values from.
1313
+ * @param {Array} [array=[]] The array to copy values to.
1314
+ * @returns {Array} Returns `array`.
1315
+ */
1316
+ function copyArray(source, array) {
1317
+ var index = -1,
1318
+ length = source.length;
1319
+
1320
+ array || (array = Array(length));
1321
+ while (++index < length) {
1322
+ array[index] = source[index];
1323
+ }
1324
+ return array;
1325
+ }
1326
+
1327
+ /**
1328
+ * Copies properties of `source` to `object`.
1329
+ *
1330
+ * @private
1331
+ * @param {Object} source The object to copy properties from.
1332
+ * @param {Array} props The property identifiers to copy.
1333
+ * @param {Object} [object={}] The object to copy properties to.
1334
+ * @param {Function} [customizer] The function to customize copied values.
1335
+ * @returns {Object} Returns `object`.
1336
+ */
1337
+ function copyObject(source, props, object, customizer) {
1338
+ object || (object = {});
1339
+
1340
+ var index = -1,
1341
+ length = props.length;
1342
+
1343
+ while (++index < length) {
1344
+ var key = props[index];
1345
+
1346
+ var newValue = undefined;
1347
+
1348
+ assignValue(object, key, newValue === undefined ? source[key] : newValue);
1349
+ }
1350
+ return object;
1351
+ }
1352
+
1353
+ /**
1354
+ * Copies own symbol properties of `source` to `object`.
1355
+ *
1356
+ * @private
1357
+ * @param {Object} source The object to copy symbols from.
1358
+ * @param {Object} [object={}] The object to copy symbols to.
1359
+ * @returns {Object} Returns `object`.
1360
+ */
1361
+ function copySymbols(source, object) {
1362
+ return copyObject(source, getSymbols(source), object);
1363
+ }
1364
+
1365
+ /**
1366
+ * Creates an array of own enumerable property names and symbols of `object`.
1367
+ *
1368
+ * @private
1369
+ * @param {Object} object The object to query.
1370
+ * @returns {Array} Returns the array of property names and symbols.
1371
+ */
1372
+ function getAllKeys(object) {
1373
+ return baseGetAllKeys(object, keys, getSymbols);
1374
+ }
1375
+
1376
+ /**
1377
+ * Gets the data for `map`.
1378
+ *
1379
+ * @private
1380
+ * @param {Object} map The map to query.
1381
+ * @param {string} key The reference key.
1382
+ * @returns {*} Returns the map data.
1383
+ */
1384
+ function getMapData(map, key) {
1385
+ var data = map.__data__;
1386
+ return isKeyable(key)
1387
+ ? data[typeof key == 'string' ? 'string' : 'hash']
1388
+ : data.map;
1389
+ }
1390
+
1391
+ /**
1392
+ * Gets the native function at `key` of `object`.
1393
+ *
1394
+ * @private
1395
+ * @param {Object} object The object to query.
1396
+ * @param {string} key The key of the method to get.
1397
+ * @returns {*} Returns the function if it's native, else `undefined`.
1398
+ */
1399
+ function getNative(object, key) {
1400
+ var value = getValue(object, key);
1401
+ return baseIsNative(value) ? value : undefined;
1402
+ }
1403
+
1404
+ /**
1405
+ * Creates an array of the own enumerable symbol properties of `object`.
1406
+ *
1407
+ * @private
1408
+ * @param {Object} object The object to query.
1409
+ * @returns {Array} Returns the array of symbols.
1410
+ */
1411
+ var getSymbols = nativeGetSymbols ? overArg(nativeGetSymbols, Object) : stubArray;
1412
+
1413
+ /**
1414
+ * Gets the `toStringTag` of `value`.
1415
+ *
1416
+ * @private
1417
+ * @param {*} value The value to query.
1418
+ * @returns {string} Returns the `toStringTag`.
1419
+ */
1420
+ var getTag = baseGetTag;
1421
+
1422
+ // Fallback for data views, maps, sets, and weak maps in IE 11,
1423
+ // for data views in Edge < 14, and promises in Node.js.
1424
+ if ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||
1425
+ (Map && getTag(new Map) != mapTag) ||
1426
+ (Promise && getTag(Promise.resolve()) != promiseTag) ||
1427
+ (Set && getTag(new Set) != setTag) ||
1428
+ (WeakMap && getTag(new WeakMap) != weakMapTag)) {
1429
+ getTag = function(value) {
1430
+ var result = objectToString.call(value),
1431
+ Ctor = result == objectTag ? value.constructor : undefined,
1432
+ ctorString = Ctor ? toSource(Ctor) : undefined;
1433
+
1434
+ if (ctorString) {
1435
+ switch (ctorString) {
1436
+ case dataViewCtorString: return dataViewTag;
1437
+ case mapCtorString: return mapTag;
1438
+ case promiseCtorString: return promiseTag;
1439
+ case setCtorString: return setTag;
1440
+ case weakMapCtorString: return weakMapTag;
1441
+ }
1442
+ }
1443
+ return result;
1444
+ };
1445
+ }
1446
+
1447
+ /**
1448
+ * Initializes an array clone.
1449
+ *
1450
+ * @private
1451
+ * @param {Array} array The array to clone.
1452
+ * @returns {Array} Returns the initialized clone.
1453
+ */
1454
+ function initCloneArray(array) {
1455
+ var length = array.length,
1456
+ result = array.constructor(length);
1457
+
1458
+ // Add properties assigned by `RegExp#exec`.
1459
+ if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {
1460
+ result.index = array.index;
1461
+ result.input = array.input;
1462
+ }
1463
+ return result;
1464
+ }
1465
+
1466
+ /**
1467
+ * Initializes an object clone.
1468
+ *
1469
+ * @private
1470
+ * @param {Object} object The object to clone.
1471
+ * @returns {Object} Returns the initialized clone.
1472
+ */
1473
+ function initCloneObject(object) {
1474
+ return (typeof object.constructor == 'function' && !isPrototype(object))
1475
+ ? baseCreate(getPrototype(object))
1476
+ : {};
1477
+ }
1478
+
1479
+ /**
1480
+ * Initializes an object clone based on its `toStringTag`.
1481
+ *
1482
+ * **Note:** This function only supports cloning values with tags of
1483
+ * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
1484
+ *
1485
+ * @private
1486
+ * @param {Object} object The object to clone.
1487
+ * @param {string} tag The `toStringTag` of the object to clone.
1488
+ * @param {Function} cloneFunc The function to clone values.
1489
+ * @param {boolean} [isDeep] Specify a deep clone.
1490
+ * @returns {Object} Returns the initialized clone.
1491
+ */
1492
+ function initCloneByTag(object, tag, cloneFunc, isDeep) {
1493
+ var Ctor = object.constructor;
1494
+ switch (tag) {
1495
+ case arrayBufferTag:
1496
+ return cloneArrayBuffer(object);
1497
+
1498
+ case boolTag:
1499
+ case dateTag:
1500
+ return new Ctor(+object);
1501
+
1502
+ case dataViewTag:
1503
+ return cloneDataView(object, isDeep);
1504
+
1505
+ case float32Tag: case float64Tag:
1506
+ case int8Tag: case int16Tag: case int32Tag:
1507
+ case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:
1508
+ return cloneTypedArray(object, isDeep);
1509
+
1510
+ case mapTag:
1511
+ return cloneMap(object, isDeep, cloneFunc);
1512
+
1513
+ case numberTag:
1514
+ case stringTag:
1515
+ return new Ctor(object);
1516
+
1517
+ case regexpTag:
1518
+ return cloneRegExp(object);
1519
+
1520
+ case setTag:
1521
+ return cloneSet(object, isDeep, cloneFunc);
1522
+
1523
+ case symbolTag:
1524
+ return cloneSymbol(object);
1525
+ }
1526
+ }
1527
+
1528
+ /**
1529
+ * Checks if `value` is a valid array-like index.
1530
+ *
1531
+ * @private
1532
+ * @param {*} value The value to check.
1533
+ * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
1534
+ * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
1535
+ */
1536
+ function isIndex(value, length) {
1537
+ length = length == null ? MAX_SAFE_INTEGER : length;
1538
+ return !!length &&
1539
+ (typeof value == 'number' || reIsUint.test(value)) &&
1540
+ (value > -1 && value % 1 == 0 && value < length);
1541
+ }
1542
+
1543
+ /**
1544
+ * Checks if `value` is suitable for use as unique object key.
1545
+ *
1546
+ * @private
1547
+ * @param {*} value The value to check.
1548
+ * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
1549
+ */
1550
+ function isKeyable(value) {
1551
+ var type = typeof value;
1552
+ return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')
1553
+ ? (value !== '__proto__')
1554
+ : (value === null);
1555
+ }
1556
+
1557
+ /**
1558
+ * Checks if `func` has its source masked.
1559
+ *
1560
+ * @private
1561
+ * @param {Function} func The function to check.
1562
+ * @returns {boolean} Returns `true` if `func` is masked, else `false`.
1563
+ */
1564
+ function isMasked(func) {
1565
+ return !!maskSrcKey && (maskSrcKey in func);
1566
+ }
1567
+
1568
+ /**
1569
+ * Checks if `value` is likely a prototype object.
1570
+ *
1571
+ * @private
1572
+ * @param {*} value The value to check.
1573
+ * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
1574
+ */
1575
+ function isPrototype(value) {
1576
+ var Ctor = value && value.constructor,
1577
+ proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;
1578
+
1579
+ return value === proto;
1580
+ }
1581
+
1582
+ /**
1583
+ * Converts `func` to its source code.
1584
+ *
1585
+ * @private
1586
+ * @param {Function} func The function to process.
1587
+ * @returns {string} Returns the source code.
1588
+ */
1589
+ function toSource(func) {
1590
+ if (func != null) {
1591
+ try {
1592
+ return funcToString.call(func);
1593
+ } catch (e) {}
1594
+ try {
1595
+ return (func + '');
1596
+ } catch (e) {}
1597
+ }
1598
+ return '';
1599
+ }
1600
+
1601
+ /**
1602
+ * This method is like `_.clone` except that it recursively clones `value`.
1603
+ *
1604
+ * @static
1605
+ * @memberOf _
1606
+ * @since 1.0.0
1607
+ * @category Lang
1608
+ * @param {*} value The value to recursively clone.
1609
+ * @returns {*} Returns the deep cloned value.
1610
+ * @see _.clone
1611
+ * @example
1612
+ *
1613
+ * var objects = [{ 'a': 1 }, { 'b': 2 }];
1614
+ *
1615
+ * var deep = _.cloneDeep(objects);
1616
+ * console.log(deep[0] === objects[0]);
1617
+ * // => false
1618
+ */
1619
+ function cloneDeep(value) {
1620
+ return baseClone(value, true, true);
1621
+ }
1622
+
1623
+ /**
1624
+ * Performs a
1625
+ * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
1626
+ * comparison between two values to determine if they are equivalent.
1627
+ *
1628
+ * @static
1629
+ * @memberOf _
1630
+ * @since 4.0.0
1631
+ * @category Lang
1632
+ * @param {*} value The value to compare.
1633
+ * @param {*} other The other value to compare.
1634
+ * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
1635
+ * @example
1636
+ *
1637
+ * var object = { 'a': 1 };
1638
+ * var other = { 'a': 1 };
1639
+ *
1640
+ * _.eq(object, object);
1641
+ * // => true
1642
+ *
1643
+ * _.eq(object, other);
1644
+ * // => false
1645
+ *
1646
+ * _.eq('a', 'a');
1647
+ * // => true
1648
+ *
1649
+ * _.eq('a', Object('a'));
1650
+ * // => false
1651
+ *
1652
+ * _.eq(NaN, NaN);
1653
+ * // => true
1654
+ */
1655
+ function eq(value, other) {
1656
+ return value === other || (value !== value && other !== other);
1657
+ }
1658
+
1659
+ /**
1660
+ * Checks if `value` is likely an `arguments` object.
1661
+ *
1662
+ * @static
1663
+ * @memberOf _
1664
+ * @since 0.1.0
1665
+ * @category Lang
1666
+ * @param {*} value The value to check.
1667
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
1668
+ * else `false`.
1669
+ * @example
1670
+ *
1671
+ * _.isArguments(function() { return arguments; }());
1672
+ * // => true
1673
+ *
1674
+ * _.isArguments([1, 2, 3]);
1675
+ * // => false
1676
+ */
1677
+ function isArguments(value) {
1678
+ // Safari 8.1 makes `arguments.callee` enumerable in strict mode.
1679
+ return isArrayLikeObject(value) && hasOwnProperty.call(value, 'callee') &&
1680
+ (!propertyIsEnumerable.call(value, 'callee') || objectToString.call(value) == argsTag);
1681
+ }
1682
+
1683
+ /**
1684
+ * Checks if `value` is classified as an `Array` object.
1685
+ *
1686
+ * @static
1687
+ * @memberOf _
1688
+ * @since 0.1.0
1689
+ * @category Lang
1690
+ * @param {*} value The value to check.
1691
+ * @returns {boolean} Returns `true` if `value` is an array, else `false`.
1692
+ * @example
1693
+ *
1694
+ * _.isArray([1, 2, 3]);
1695
+ * // => true
1696
+ *
1697
+ * _.isArray(document.body.children);
1698
+ * // => false
1699
+ *
1700
+ * _.isArray('abc');
1701
+ * // => false
1702
+ *
1703
+ * _.isArray(_.noop);
1704
+ * // => false
1705
+ */
1706
+ var isArray = Array.isArray;
1707
+
1708
+ /**
1709
+ * Checks if `value` is array-like. A value is considered array-like if it's
1710
+ * not a function and has a `value.length` that's an integer greater than or
1711
+ * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
1712
+ *
1713
+ * @static
1714
+ * @memberOf _
1715
+ * @since 4.0.0
1716
+ * @category Lang
1717
+ * @param {*} value The value to check.
1718
+ * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
1719
+ * @example
1720
+ *
1721
+ * _.isArrayLike([1, 2, 3]);
1722
+ * // => true
1723
+ *
1724
+ * _.isArrayLike(document.body.children);
1725
+ * // => true
1726
+ *
1727
+ * _.isArrayLike('abc');
1728
+ * // => true
1729
+ *
1730
+ * _.isArrayLike(_.noop);
1731
+ * // => false
1732
+ */
1733
+ function isArrayLike(value) {
1734
+ return value != null && isLength(value.length) && !isFunction(value);
1735
+ }
1736
+
1737
+ /**
1738
+ * This method is like `_.isArrayLike` except that it also checks if `value`
1739
+ * is an object.
1740
+ *
1741
+ * @static
1742
+ * @memberOf _
1743
+ * @since 4.0.0
1744
+ * @category Lang
1745
+ * @param {*} value The value to check.
1746
+ * @returns {boolean} Returns `true` if `value` is an array-like object,
1747
+ * else `false`.
1748
+ * @example
1749
+ *
1750
+ * _.isArrayLikeObject([1, 2, 3]);
1751
+ * // => true
1752
+ *
1753
+ * _.isArrayLikeObject(document.body.children);
1754
+ * // => true
1755
+ *
1756
+ * _.isArrayLikeObject('abc');
1757
+ * // => false
1758
+ *
1759
+ * _.isArrayLikeObject(_.noop);
1760
+ * // => false
1761
+ */
1762
+ function isArrayLikeObject(value) {
1763
+ return isObjectLike(value) && isArrayLike(value);
1764
+ }
1765
+
1766
+ /**
1767
+ * Checks if `value` is a buffer.
1768
+ *
1769
+ * @static
1770
+ * @memberOf _
1771
+ * @since 4.3.0
1772
+ * @category Lang
1773
+ * @param {*} value The value to check.
1774
+ * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
1775
+ * @example
1776
+ *
1777
+ * _.isBuffer(new Buffer(2));
1778
+ * // => true
1779
+ *
1780
+ * _.isBuffer(new Uint8Array(2));
1781
+ * // => false
1782
+ */
1783
+ var isBuffer = nativeIsBuffer || stubFalse;
1784
+
1785
+ /**
1786
+ * Checks if `value` is classified as a `Function` object.
1787
+ *
1788
+ * @static
1789
+ * @memberOf _
1790
+ * @since 0.1.0
1791
+ * @category Lang
1792
+ * @param {*} value The value to check.
1793
+ * @returns {boolean} Returns `true` if `value` is a function, else `false`.
1794
+ * @example
1795
+ *
1796
+ * _.isFunction(_);
1797
+ * // => true
1798
+ *
1799
+ * _.isFunction(/abc/);
1800
+ * // => false
1801
+ */
1802
+ function isFunction(value) {
1803
+ // The use of `Object#toString` avoids issues with the `typeof` operator
1804
+ // in Safari 8-9 which returns 'object' for typed array and other constructors.
1805
+ var tag = isObject(value) ? objectToString.call(value) : '';
1806
+ return tag == funcTag || tag == genTag;
1807
+ }
1808
+
1809
+ /**
1810
+ * Checks if `value` is a valid array-like length.
1811
+ *
1812
+ * **Note:** This method is loosely based on
1813
+ * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
1814
+ *
1815
+ * @static
1816
+ * @memberOf _
1817
+ * @since 4.0.0
1818
+ * @category Lang
1819
+ * @param {*} value The value to check.
1820
+ * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
1821
+ * @example
1822
+ *
1823
+ * _.isLength(3);
1824
+ * // => true
1825
+ *
1826
+ * _.isLength(Number.MIN_VALUE);
1827
+ * // => false
1828
+ *
1829
+ * _.isLength(Infinity);
1830
+ * // => false
1831
+ *
1832
+ * _.isLength('3');
1833
+ * // => false
1834
+ */
1835
+ function isLength(value) {
1836
+ return typeof value == 'number' &&
1837
+ value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
1838
+ }
1839
+
1840
+ /**
1841
+ * Checks if `value` is the
1842
+ * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
1843
+ * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
1844
+ *
1845
+ * @static
1846
+ * @memberOf _
1847
+ * @since 0.1.0
1848
+ * @category Lang
1849
+ * @param {*} value The value to check.
1850
+ * @returns {boolean} Returns `true` if `value` is an object, else `false`.
1851
+ * @example
1852
+ *
1853
+ * _.isObject({});
1854
+ * // => true
1855
+ *
1856
+ * _.isObject([1, 2, 3]);
1857
+ * // => true
1858
+ *
1859
+ * _.isObject(_.noop);
1860
+ * // => true
1861
+ *
1862
+ * _.isObject(null);
1863
+ * // => false
1864
+ */
1865
+ function isObject(value) {
1866
+ var type = typeof value;
1867
+ return !!value && (type == 'object' || type == 'function');
1868
+ }
1869
+
1870
+ /**
1871
+ * Checks if `value` is object-like. A value is object-like if it's not `null`
1872
+ * and has a `typeof` result of "object".
1873
+ *
1874
+ * @static
1875
+ * @memberOf _
1876
+ * @since 4.0.0
1877
+ * @category Lang
1878
+ * @param {*} value The value to check.
1879
+ * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
1880
+ * @example
1881
+ *
1882
+ * _.isObjectLike({});
1883
+ * // => true
1884
+ *
1885
+ * _.isObjectLike([1, 2, 3]);
1886
+ * // => true
1887
+ *
1888
+ * _.isObjectLike(_.noop);
1889
+ * // => false
1890
+ *
1891
+ * _.isObjectLike(null);
1892
+ * // => false
1893
+ */
1894
+ function isObjectLike(value) {
1895
+ return !!value && typeof value == 'object';
1896
+ }
1897
+
1898
+ /**
1899
+ * Creates an array of the own enumerable property names of `object`.
1900
+ *
1901
+ * **Note:** Non-object values are coerced to objects. See the
1902
+ * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
1903
+ * for more details.
1904
+ *
1905
+ * @static
1906
+ * @since 0.1.0
1907
+ * @memberOf _
1908
+ * @category Object
1909
+ * @param {Object} object The object to query.
1910
+ * @returns {Array} Returns the array of property names.
1911
+ * @example
1912
+ *
1913
+ * function Foo() {
1914
+ * this.a = 1;
1915
+ * this.b = 2;
1916
+ * }
1917
+ *
1918
+ * Foo.prototype.c = 3;
1919
+ *
1920
+ * _.keys(new Foo);
1921
+ * // => ['a', 'b'] (iteration order is not guaranteed)
1922
+ *
1923
+ * _.keys('hi');
1924
+ * // => ['0', '1']
1925
+ */
1926
+ function keys(object) {
1927
+ return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);
1928
+ }
1929
+
1930
+ /**
1931
+ * This method returns a new empty array.
1932
+ *
1933
+ * @static
1934
+ * @memberOf _
1935
+ * @since 4.13.0
1936
+ * @category Util
1937
+ * @returns {Array} Returns the new empty array.
1938
+ * @example
1939
+ *
1940
+ * var arrays = _.times(2, _.stubArray);
1941
+ *
1942
+ * console.log(arrays);
1943
+ * // => [[], []]
1944
+ *
1945
+ * console.log(arrays[0] === arrays[1]);
1946
+ * // => false
1947
+ */
1948
+ function stubArray() {
1949
+ return [];
1950
+ }
1951
+
1952
+ /**
1953
+ * This method returns `false`.
1954
+ *
1955
+ * @static
1956
+ * @memberOf _
1957
+ * @since 4.13.0
1958
+ * @category Util
1959
+ * @returns {boolean} Returns `false`.
1960
+ * @example
1961
+ *
1962
+ * _.times(2, _.stubFalse);
1963
+ * // => [false, false]
1964
+ */
1965
+ function stubFalse() {
1966
+ return false;
1967
+ }
1968
+
1969
+ module.exports = cloneDeep;
1970
+ } (lodash_clonedeep, lodash_clonedeep.exports));
1971
+ return lodash_clonedeep.exports;
1972
+ }
1973
+
1974
+ var lodash_clonedeepExports = requireLodash_clonedeep();
1968
1975
  var cloneDeep = /*@__PURE__*/getDefaultExportFromCjs$1(lodash_clonedeepExports);
1969
1976
 
1970
1977
  /**
@@ -2231,34 +2238,61 @@ function formatClearingNumberForBackend(value) {
2231
2238
  return value.substring(0, 4);
2232
2239
  }
2233
2240
 
2234
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
2235
-
2236
2241
  function getDefaultExportFromCjs (x) {
2237
2242
  return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
2238
2243
  }
2239
2244
 
2240
- var dayjs_min = {exports: {}};
2245
+ var dayjs_min$1 = {exports: {}};
2246
+
2247
+ var dayjs_min = dayjs_min$1.exports;
2241
2248
 
2242
- (function (module, exports) {
2243
- !function(t,e){module.exports=e();}(commonjsGlobal,(function(){var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",c="month",f="quarter",h="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return "["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return !r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return (e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return -t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,c),s=n-i<0,u=e.clone().add(r+(s?-1:1),c);return +(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return {M:c,y:h,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:f}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",D={};D[g]=M;var p="$isDayjsObject",S=function(t){return t instanceof _||!(!t||!t[p])},w=function t(e,n,r){var i;if(!e)return g;if("string"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else {var a=e.name;D[a]=e,i=a;}return !r&&i&&(g=i),i||!r&&g},O=function(t,e){if(S(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},b=v;b.l=w,b.i=S,b.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=w(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[p]=!0;}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.init();},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds();},m.$utils=function(){return b},m.isValid=function(){return !(this.$d.toString()===l)},m.isSame=function(t,e){var n=O(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return O(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<O(t)},m.$g=function(t,e,n){return b.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!b.u(e)||e,f=b.p(t),l=function(t,e){var i=b.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return b.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v="set"+(this.$u?"UTC":"");switch(f){case h:return r?l(1,0):l(31,11);case c:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+"Hours",0);case u:return $(v+"Minutes",1);case s:return $(v+"Seconds",2);case i:return $(v+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=b.p(t),f="set"+(this.$u?"UTC":""),l=(n={},n[a]=f+"Date",n[d]=f+"Date",n[c]=f+"Month",n[h]=f+"FullYear",n[u]=f+"Hours",n[s]=f+"Minutes",n[i]=f+"Seconds",n[r]=f+"Milliseconds",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===c||o===h){var y=this.clone().set(d,1);y.$d[l]($),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d;}else l&&this.$d[l]($);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[b.p(t)]()},m.add=function(r,f){var d,l=this;r=Number(r);var $=b.p(f),y=function(t){var e=O(l);return b.w(e.date(e.date()+Math.round(t*r)),l)};if($===c)return this.set(c,this.$M+r);if($===h)return this.set(h,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||1,m=this.$d.getTime()+r*M;return b.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=b.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,c=n.months,f=n.meridiem,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},d=function(t){return b.s(s%12||12,t,"0")},$=f||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(y,(function(t,r){return r||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return b.s(e.$y,4,"0");case"M":return a+1;case"MM":return b.s(a+1,2,"0");case"MMM":return h(n.monthsShort,a,c,3);case"MMMM":return h(c,a);case"D":return e.$D;case"DD":return b.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return h(n.weekdaysMin,e.$W,o,2);case"ddd":return h(n.weekdaysShort,e.$W,o,3);case"dddd":return o[e.$W];case"H":return String(s);case"HH":return b.s(s,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return $(s,u,!0);case"A":return $(s,u,!1);case"m":return String(u);case"mm":return b.s(u,2,"0");case"s":return String(e.$s);case"ss":return b.s(e.$s,2,"0");case"SSS":return b.s(e.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=this,M=b.p(d),m=O(r),v=(m.utcOffset()-this.utcOffset())*e,g=this-m,D=function(){return b.m(y,m)};switch(M){case h:$=D()/12;break;case c:$=D();break;case f:$=D()/3;break;case o:$=(g-v)/6048e5;break;case a:$=(g-v)/864e5;break;case u:$=g/n;break;case s:$=g/e;break;case i:$=g/t;break;default:$=g;}return l?$:b.a($)},m.daysInMonth=function(){return this.endOf(c).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=w(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return b.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),k=_.prototype;return O.prototype=k,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",c],["$y",h],["$D",d]].forEach((function(t){k[t[1]]=function(e){return this.$g(e,t[0],t[1])};})),O.extend=function(t,e){return t.$i||(t(e,_,O),t.$i=!0),O},O.locale=w,O.isDayjs=S,O.unix=function(t){return O(1e3*t)},O.en=D[g],O.Ls=D,O.p={},O}));
2244
- } (dayjs_min));
2249
+ var hasRequiredDayjs_min;
2250
+
2251
+ function requireDayjs_min () {
2252
+ if (hasRequiredDayjs_min) return dayjs_min$1.exports;
2253
+ hasRequiredDayjs_min = 1;
2254
+ (function (module, exports) {
2255
+ !function(t,e){module.exports=e();}(dayjs_min,(function(){var t=1e3,e=6e4,n=36e5,r="millisecond",i="second",s="minute",u="hour",a="day",o="week",c="month",f="quarter",h="year",d="date",l="Invalid Date",$=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,y=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,M={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return "["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},m=function(t,e,n){var r=String(t);return !r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},v={s:m,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return (e<=0?"+":"-")+m(r,2,"0")+":"+m(i,2,"0")},m:function t(e,n){if(e.date()<n.date())return -t(n,e);var r=12*(n.year()-e.year())+(n.month()-e.month()),i=e.clone().add(r,c),s=n-i<0,u=e.clone().add(r+(s?-1:1),c);return +(-(r+(n-i)/(s?i-u:u-i))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return {M:c,y:h,w:o,d:a,D:d,h:u,m:s,s:i,ms:r,Q:f}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},g="en",D={};D[g]=M;var p="$isDayjsObject",S=function(t){return t instanceof _||!(!t||!t[p])},w=function t(e,n,r){var i;if(!e)return g;if("string"==typeof e){var s=e.toLowerCase();D[s]&&(i=s),n&&(D[s]=n,i=s);var u=e.split("-");if(!i&&u.length>1)return t(u[0])}else {var a=e.name;D[a]=e,i=a;}return !r&&i&&(g=i),i||!r&&g},O=function(t,e){if(S(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new _(n)},b=v;b.l=w,b.i=S,b.w=function(t,e){return O(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var _=function(){function M(t){this.$L=w(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[p]=!0;}var m=M.prototype;return m.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(b.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match($);if(r){var i=r[2]-1||0,s=(r[7]||"0").substring(0,3);return n?new Date(Date.UTC(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)):new Date(r[1],i,r[3]||1,r[4]||0,r[5]||0,r[6]||0,s)}}return new Date(e)}(t),this.init();},m.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds();},m.$utils=function(){return b},m.isValid=function(){return !(this.$d.toString()===l)},m.isSame=function(t,e){var n=O(t);return this.startOf(e)<=n&&n<=this.endOf(e)},m.isAfter=function(t,e){return O(t)<this.startOf(e)},m.isBefore=function(t,e){return this.endOf(e)<O(t)},m.$g=function(t,e,n){return b.u(t)?this[e]:this.set(n,t)},m.unix=function(){return Math.floor(this.valueOf()/1e3)},m.valueOf=function(){return this.$d.getTime()},m.startOf=function(t,e){var n=this,r=!!b.u(e)||e,f=b.p(t),l=function(t,e){var i=b.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return r?i:i.endOf(a)},$=function(t,e){return b.w(n.toDate()[t].apply(n.toDate("s"),(r?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},y=this.$W,M=this.$M,m=this.$D,v="set"+(this.$u?"UTC":"");switch(f){case h:return r?l(1,0):l(31,11);case c:return r?l(1,M):l(0,M+1);case o:var g=this.$locale().weekStart||0,D=(y<g?y+7:y)-g;return l(r?m-D:m+(6-D),M);case a:case d:return $(v+"Hours",0);case u:return $(v+"Minutes",1);case s:return $(v+"Seconds",2);case i:return $(v+"Milliseconds",3);default:return this.clone()}},m.endOf=function(t){return this.startOf(t,!1)},m.$set=function(t,e){var n,o=b.p(t),f="set"+(this.$u?"UTC":""),l=(n={},n[a]=f+"Date",n[d]=f+"Date",n[c]=f+"Month",n[h]=f+"FullYear",n[u]=f+"Hours",n[s]=f+"Minutes",n[i]=f+"Seconds",n[r]=f+"Milliseconds",n)[o],$=o===a?this.$D+(e-this.$W):e;if(o===c||o===h){var y=this.clone().set(d,1);y.$d[l]($),y.init(),this.$d=y.set(d,Math.min(this.$D,y.daysInMonth())).$d;}else l&&this.$d[l]($);return this.init(),this},m.set=function(t,e){return this.clone().$set(t,e)},m.get=function(t){return this[b.p(t)]()},m.add=function(r,f){var d,l=this;r=Number(r);var $=b.p(f),y=function(t){var e=O(l);return b.w(e.date(e.date()+Math.round(t*r)),l)};if($===c)return this.set(c,this.$M+r);if($===h)return this.set(h,this.$y+r);if($===a)return y(1);if($===o)return y(7);var M=(d={},d[s]=e,d[u]=n,d[i]=t,d)[$]||1,m=this.$d.getTime()+r*M;return b.w(m,this)},m.subtract=function(t,e){return this.add(-1*t,e)},m.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||l;var r=t||"YYYY-MM-DDTHH:mm:ssZ",i=b.z(this),s=this.$H,u=this.$m,a=this.$M,o=n.weekdays,c=n.months,f=n.meridiem,h=function(t,n,i,s){return t&&(t[n]||t(e,r))||i[n].slice(0,s)},d=function(t){return b.s(s%12||12,t,"0")},$=f||function(t,e,n){var r=t<12?"AM":"PM";return n?r.toLowerCase():r};return r.replace(y,(function(t,r){return r||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return b.s(e.$y,4,"0");case"M":return a+1;case"MM":return b.s(a+1,2,"0");case"MMM":return h(n.monthsShort,a,c,3);case"MMMM":return h(c,a);case"D":return e.$D;case"DD":return b.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return h(n.weekdaysMin,e.$W,o,2);case"ddd":return h(n.weekdaysShort,e.$W,o,3);case"dddd":return o[e.$W];case"H":return String(s);case"HH":return b.s(s,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return $(s,u,!0);case"A":return $(s,u,!1);case"m":return String(u);case"mm":return b.s(u,2,"0");case"s":return String(e.$s);case"ss":return b.s(e.$s,2,"0");case"SSS":return b.s(e.$ms,3,"0");case"Z":return i}return null}(t)||i.replace(":","")}))},m.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},m.diff=function(r,d,l){var $,y=this,M=b.p(d),m=O(r),v=(m.utcOffset()-this.utcOffset())*e,g=this-m,D=function(){return b.m(y,m)};switch(M){case h:$=D()/12;break;case c:$=D();break;case f:$=D()/3;break;case o:$=(g-v)/6048e5;break;case a:$=(g-v)/864e5;break;case u:$=g/n;break;case s:$=g/e;break;case i:$=g/t;break;default:$=g;}return l?$:b.a($)},m.daysInMonth=function(){return this.endOf(c).$D},m.$locale=function(){return D[this.$L]},m.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),r=w(t,e,!0);return r&&(n.$L=r),n},m.clone=function(){return b.w(this.$d,this)},m.toDate=function(){return new Date(this.valueOf())},m.toJSON=function(){return this.isValid()?this.toISOString():null},m.toISOString=function(){return this.$d.toISOString()},m.toString=function(){return this.$d.toUTCString()},M}(),k=_.prototype;return O.prototype=k,[["$ms",r],["$s",i],["$m",s],["$H",u],["$W",a],["$M",c],["$y",h],["$D",d]].forEach((function(t){k[t[1]]=function(e){return this.$g(e,t[0],t[1])};})),O.extend=function(t,e){return t.$i||(t(e,_,O),t.$i=!0),O},O.locale=w,O.isDayjs=S,O.unix=function(t){return O(1e3*t)},O.en=D[g],O.Ls=D,O.p={},O}));
2256
+ } (dayjs_min$1));
2257
+ return dayjs_min$1.exports;
2258
+ }
2245
2259
 
2246
- var dayjs_minExports = dayjs_min.exports;
2260
+ var dayjs_minExports = requireDayjs_min();
2247
2261
  var dayjs = /*@__PURE__*/getDefaultExportFromCjs(dayjs_minExports);
2248
2262
 
2249
- var sv = {exports: {}};
2263
+ var sv$1 = {exports: {}};
2250
2264
 
2251
- (function (module, exports) {
2252
- !function(e,t){module.exports=t(dayjs_minExports);}(commonjsGlobal,(function(e){function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=t(e),d={name:"sv",weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){var t=e%10;return "["+e+(1===t||2===t?"a":"e")+"]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"}};return a.default.locale(d,null,!0),d}));
2253
- } (sv));
2265
+ var sv = sv$1.exports;
2254
2266
 
2255
- var weekOfYear$1 = {exports: {}};
2267
+ var hasRequiredSv;
2256
2268
 
2257
- (function (module, exports) {
2258
- !function(e,t){module.exports=t();}(commonjsGlobal,(function(){var e="week",t="year";return function(i,n,r){var f=n.prototype;f.week=function(i){if(void 0===i&&(i=null),null!==i)return this.add(7*(i-this.week()),"day");var n=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var f=r(this).startOf(t).add(1,t).date(n),s=r(this).endOf(e);if(f.isBefore(s))return 1}var a=r(this).startOf(t).date(n).startOf(e).subtract(1,"millisecond"),o=this.diff(a,e,!0);return o<0?r(this).startOf("week").week():Math.ceil(o)},f.weeks=function(e){return void 0===e&&(e=null),this.week(e)};}}));
2259
- } (weekOfYear$1));
2269
+ function requireSv () {
2270
+ if (hasRequiredSv) return sv$1.exports;
2271
+ hasRequiredSv = 1;
2272
+ (function (module, exports) {
2273
+ !function(e,t){module.exports=t(requireDayjs_min());}(sv,(function(e){function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=t(e),d={name:"sv",weekdays:"söndag_måndag_tisdag_onsdag_torsdag_fredag_lördag".split("_"),weekdaysShort:"sön_mån_tis_ons_tor_fre_lör".split("_"),weekdaysMin:"sö_må_ti_on_to_fr_lö".split("_"),months:"januari_februari_mars_april_maj_juni_juli_augusti_september_oktober_november_december".split("_"),monthsShort:"jan_feb_mar_apr_maj_jun_jul_aug_sep_okt_nov_dec".split("_"),weekStart:1,yearStart:4,ordinal:function(e){var t=e%10;return "["+e+(1===t||2===t?"a":"e")+"]"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY [kl.] HH:mm",LLLL:"dddd D MMMM YYYY [kl.] HH:mm",lll:"D MMM YYYY HH:mm",llll:"ddd D MMM YYYY HH:mm"},relativeTime:{future:"om %s",past:"för %s sedan",s:"några sekunder",m:"en minut",mm:"%d minuter",h:"en timme",hh:"%d timmar",d:"en dag",dd:"%d dagar",M:"en månad",MM:"%d månader",y:"ett år",yy:"%d år"}};return a.default.locale(d,null,!0),d}));
2274
+ } (sv$1));
2275
+ return sv$1.exports;
2276
+ }
2277
+
2278
+ requireSv();
2279
+
2280
+ var weekOfYear$2 = {exports: {}};
2281
+
2282
+ var weekOfYear$1 = weekOfYear$2.exports;
2283
+
2284
+ var hasRequiredWeekOfYear;
2285
+
2286
+ function requireWeekOfYear () {
2287
+ if (hasRequiredWeekOfYear) return weekOfYear$2.exports;
2288
+ hasRequiredWeekOfYear = 1;
2289
+ (function (module, exports) {
2290
+ !function(e,t){module.exports=t();}(weekOfYear$1,(function(){var e="week",t="year";return function(i,n,r){var f=n.prototype;f.week=function(i){if(void 0===i&&(i=null),null!==i)return this.add(7*(i-this.week()),"day");var n=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var f=r(this).startOf(t).add(1,t).date(n),s=r(this).endOf(e);if(f.isBefore(s))return 1}var a=r(this).startOf(t).date(n).startOf(e).subtract(1,"millisecond"),o=this.diff(a,e,!0);return o<0?r(this).startOf("week").week():Math.ceil(o)},f.weeks=function(e){return void 0===e&&(e=null),this.week(e)};}}));
2291
+ } (weekOfYear$2));
2292
+ return weekOfYear$2.exports;
2293
+ }
2260
2294
 
2261
- var weekOfYearExports = weekOfYear$1.exports;
2295
+ var weekOfYearExports = requireWeekOfYear();
2262
2296
  var weekOfYear = /*@__PURE__*/getDefaultExportFromCjs(weekOfYearExports);
2263
2297
 
2264
2298
  dayjs.extend(weekOfYear);