@shipengine/alchemy 6.0.56 → 6.0.57

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.js +556 -737
  2. package/index.mjs +556 -737
  3. package/package.json +1 -1
package/index.js CHANGED
@@ -2288,7 +2288,7 @@ var syncFallback = function syncFallback(create) {
2288
2288
  var useInsertionEffect = React__namespace['useInsertion' + 'Effect'] ? React__namespace['useInsertion' + 'Effect'] : false;
2289
2289
  var useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect || syncFallback;
2290
2290
 
2291
- var hasOwnProperty$a = {}.hasOwnProperty;
2291
+ var hasOwnProperty$b = {}.hasOwnProperty;
2292
2292
 
2293
2293
  var EmotionCacheContext = /* #__PURE__ */React.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
2294
2294
  // because this module is primarily intended for the browser and node
@@ -2375,7 +2375,7 @@ var createEmotionProps = function createEmotionProps(type, props) {
2375
2375
  var newProps = {};
2376
2376
 
2377
2377
  for (var key in props) {
2378
- if (hasOwnProperty$a.call(props, key)) {
2378
+ if (hasOwnProperty$b.call(props, key)) {
2379
2379
  newProps[key] = props[key];
2380
2380
  }
2381
2381
  }
@@ -2436,7 +2436,7 @@ var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
2436
2436
  var newProps = {};
2437
2437
 
2438
2438
  for (var key in props) {
2439
- if (hasOwnProperty$a.call(props, key) && key !== 'css' && key !== typePropName && (process.env.NODE_ENV === 'production' || key !== labelPropName)) {
2439
+ if (hasOwnProperty$b.call(props, key) && key !== 'css' && key !== typePropName && (process.env.NODE_ENV === 'production' || key !== labelPropName)) {
2440
2440
  newProps[key] = props[key];
2441
2441
  }
2442
2442
  }
@@ -2455,7 +2455,7 @@ if (process.env.NODE_ENV !== 'production') {
2455
2455
  }
2456
2456
 
2457
2457
  function jsx(type, props, key) {
2458
- if (!hasOwnProperty$a.call(props, 'css')) {
2458
+ if (!hasOwnProperty$b.call(props, 'css')) {
2459
2459
  return jsxRuntime.jsx(type, props, key);
2460
2460
  }
2461
2461
 
@@ -3435,20 +3435,12 @@ var _baseConvert = baseConvert$1;
3435
3435
  * // => true
3436
3436
  */
3437
3437
 
3438
- var identity_1;
3439
- var hasRequiredIdentity;
3440
-
3441
- function requireIdentity () {
3442
- if (hasRequiredIdentity) return identity_1;
3443
- hasRequiredIdentity = 1;
3444
- function identity(value) {
3445
- return value;
3446
- }
3447
-
3448
- identity_1 = identity;
3449
- return identity_1;
3438
+ function identity$3(value) {
3439
+ return value;
3450
3440
  }
3451
3441
 
3442
+ var identity_1 = identity$3;
3443
+
3452
3444
  /** Detect free variable `global` from Node.js. */
3453
3445
 
3454
3446
  var freeGlobal$1 = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
@@ -3461,31 +3453,31 @@ var freeGlobal = _freeGlobal;
3461
3453
  var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
3462
3454
 
3463
3455
  /** Used as a reference to the global object. */
3464
- var root$b = freeGlobal || freeSelf || Function('return this')();
3456
+ var root$c = freeGlobal || freeSelf || Function('return this')();
3465
3457
 
3466
- var _root = root$b;
3458
+ var _root = root$c;
3467
3459
 
3468
- var root$a = _root;
3460
+ var root$b = _root;
3469
3461
 
3470
3462
  /** Built-in value references. */
3471
- var Symbol$7 = root$a.Symbol;
3463
+ var Symbol$7 = root$b.Symbol;
3472
3464
 
3473
3465
  var _Symbol = Symbol$7;
3474
3466
 
3475
3467
  var Symbol$6 = _Symbol;
3476
3468
 
3477
3469
  /** Used for built-in method references. */
3478
- var objectProto$c = Object.prototype;
3470
+ var objectProto$d = Object.prototype;
3479
3471
 
3480
3472
  /** Used to check objects for own properties. */
3481
- var hasOwnProperty$9 = objectProto$c.hasOwnProperty;
3473
+ var hasOwnProperty$a = objectProto$d.hasOwnProperty;
3482
3474
 
3483
3475
  /**
3484
3476
  * Used to resolve the
3485
3477
  * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
3486
3478
  * of values.
3487
3479
  */
3488
- var nativeObjectToString$1 = objectProto$c.toString;
3480
+ var nativeObjectToString$1 = objectProto$d.toString;
3489
3481
 
3490
3482
  /** Built-in value references. */
3491
3483
  var symToStringTag$1 = Symbol$6 ? Symbol$6.toStringTag : undefined;
@@ -3498,7 +3490,7 @@ var symToStringTag$1 = Symbol$6 ? Symbol$6.toStringTag : undefined;
3498
3490
  * @returns {string} Returns the raw `toStringTag`.
3499
3491
  */
3500
3492
  function getRawTag$1(value) {
3501
- var isOwn = hasOwnProperty$9.call(value, symToStringTag$1),
3493
+ var isOwn = hasOwnProperty$a.call(value, symToStringTag$1),
3502
3494
  tag = value[symToStringTag$1];
3503
3495
 
3504
3496
  try {
@@ -3521,14 +3513,14 @@ var _getRawTag = getRawTag$1;
3521
3513
 
3522
3514
  /** Used for built-in method references. */
3523
3515
 
3524
- var objectProto$b = Object.prototype;
3516
+ var objectProto$c = Object.prototype;
3525
3517
 
3526
3518
  /**
3527
3519
  * Used to resolve the
3528
3520
  * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
3529
3521
  * of values.
3530
3522
  */
3531
- var nativeObjectToString = objectProto$b.toString;
3523
+ var nativeObjectToString = objectProto$c.toString;
3532
3524
 
3533
3525
  /**
3534
3526
  * Converts `value` to a string using `Object.prototype.toString`.
@@ -3598,23 +3590,15 @@ var _baseGetTag = baseGetTag$5;
3598
3590
  * // => false
3599
3591
  */
3600
3592
 
3601
- var isObject_1;
3602
- var hasRequiredIsObject;
3603
-
3604
- function requireIsObject () {
3605
- if (hasRequiredIsObject) return isObject_1;
3606
- hasRequiredIsObject = 1;
3607
- function isObject(value) {
3608
- var type = typeof value;
3609
- return value != null && (type == 'object' || type == 'function');
3610
- }
3611
-
3612
- isObject_1 = isObject;
3613
- return isObject_1;
3593
+ function isObject$8(value) {
3594
+ var type = typeof value;
3595
+ return value != null && (type == 'object' || type == 'function');
3614
3596
  }
3615
3597
 
3598
+ var isObject_1 = isObject$8;
3599
+
3616
3600
  var baseGetTag$4 = _baseGetTag,
3617
- isObject$6 = requireIsObject();
3601
+ isObject$7 = isObject_1;
3618
3602
 
3619
3603
  /** `Object#toString` result references. */
3620
3604
  var asyncTag = '[object AsyncFunction]',
@@ -3639,8 +3623,8 @@ var asyncTag = '[object AsyncFunction]',
3639
3623
  * _.isFunction(/abc/);
3640
3624
  * // => false
3641
3625
  */
3642
- function isFunction$2(value) {
3643
- if (!isObject$6(value)) {
3626
+ function isFunction$3(value) {
3627
+ if (!isObject$7(value)) {
3644
3628
  return false;
3645
3629
  }
3646
3630
  // The use of `Object#toString` avoids issues with the `typeof` operator
@@ -3649,12 +3633,12 @@ function isFunction$2(value) {
3649
3633
  return tag == funcTag$1 || tag == genTag$1 || tag == asyncTag || tag == proxyTag;
3650
3634
  }
3651
3635
 
3652
- var isFunction_1 = isFunction$2;
3636
+ var isFunction_1 = isFunction$3;
3653
3637
 
3654
- var root$9 = _root;
3638
+ var root$a = _root;
3655
3639
 
3656
3640
  /** Used to detect overreaching core-js shims. */
3657
- var coreJsData$1 = root$9['__core-js_shared__'];
3641
+ var coreJsData$1 = root$a['__core-js_shared__'];
3658
3642
 
3659
3643
  var _coreJsData = coreJsData$1;
3660
3644
 
@@ -3707,9 +3691,9 @@ function toSource$2(func) {
3707
3691
 
3708
3692
  var _toSource = toSource$2;
3709
3693
 
3710
- var isFunction$1 = isFunction_1,
3694
+ var isFunction$2 = isFunction_1,
3711
3695
  isMasked = _isMasked,
3712
- isObject$5 = requireIsObject(),
3696
+ isObject$6 = isObject_1,
3713
3697
  toSource$1 = _toSource;
3714
3698
 
3715
3699
  /**
@@ -3723,17 +3707,17 @@ var reIsHostCtor = /^\[object .+?Constructor\]$/;
3723
3707
 
3724
3708
  /** Used for built-in method references. */
3725
3709
  var funcProto$1 = Function.prototype,
3726
- objectProto$a = Object.prototype;
3710
+ objectProto$b = Object.prototype;
3727
3711
 
3728
3712
  /** Used to resolve the decompiled source of functions. */
3729
3713
  var funcToString$1 = funcProto$1.toString;
3730
3714
 
3731
3715
  /** Used to check objects for own properties. */
3732
- var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
3716
+ var hasOwnProperty$9 = objectProto$b.hasOwnProperty;
3733
3717
 
3734
3718
  /** Used to detect if a method is native. */
3735
3719
  var reIsNative = RegExp('^' +
3736
- funcToString$1.call(hasOwnProperty$8).replace(reRegExpChar, '\\$&')
3720
+ funcToString$1.call(hasOwnProperty$9).replace(reRegExpChar, '\\$&')
3737
3721
  .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
3738
3722
  );
3739
3723
 
@@ -3746,10 +3730,10 @@ var reIsNative = RegExp('^' +
3746
3730
  * else `false`.
3747
3731
  */
3748
3732
  function baseIsNative$1(value) {
3749
- if (!isObject$5(value) || isMasked(value)) {
3733
+ if (!isObject$6(value) || isMasked(value)) {
3750
3734
  return false;
3751
3735
  }
3752
- var pattern = isFunction$1(value) ? reIsNative : reIsHostCtor;
3736
+ var pattern = isFunction$2(value) ? reIsNative : reIsHostCtor;
3753
3737
  return pattern.test(toSource$1(value));
3754
3738
  }
3755
3739
 
@@ -3781,18 +3765,18 @@ var baseIsNative = _baseIsNative,
3781
3765
  * @param {string} key The key of the method to get.
3782
3766
  * @returns {*} Returns the function if it's native, else `undefined`.
3783
3767
  */
3784
- function getNative$5(object, key) {
3768
+ function getNative$6(object, key) {
3785
3769
  var value = getValue(object, key);
3786
3770
  return baseIsNative(value) ? value : undefined;
3787
3771
  }
3788
3772
 
3789
- var _getNative = getNative$5;
3773
+ var _getNative = getNative$6;
3790
3774
 
3791
- var getNative$4 = _getNative,
3792
- root$8 = _root;
3775
+ var getNative$5 = _getNative,
3776
+ root$9 = _root;
3793
3777
 
3794
3778
  /* Built-in method references that are verified to be native. */
3795
- var WeakMap$3 = getNative$4(root$8, 'WeakMap');
3779
+ var WeakMap$3 = getNative$5(root$9, 'WeakMap');
3796
3780
 
3797
3781
  var _WeakMap = WeakMap$3;
3798
3782
 
@@ -3803,7 +3787,7 @@ var metaMap$2 = WeakMap$2 && new WeakMap$2;
3803
3787
 
3804
3788
  var _metaMap = metaMap$2;
3805
3789
 
3806
- var identity$1 = requireIdentity(),
3790
+ var identity$2 = identity_1,
3807
3791
  metaMap$1 = _metaMap;
3808
3792
 
3809
3793
  /**
@@ -3814,54 +3798,46 @@ var identity$1 = requireIdentity(),
3814
3798
  * @param {*} data The metadata.
3815
3799
  * @returns {Function} Returns `func`.
3816
3800
  */
3817
- var baseSetData$2 = !metaMap$1 ? identity$1 : function(func, data) {
3801
+ var baseSetData$2 = !metaMap$1 ? identity$2 : function(func, data) {
3818
3802
  metaMap$1.set(func, data);
3819
3803
  return func;
3820
3804
  };
3821
3805
 
3822
3806
  var _baseSetData = baseSetData$2;
3823
3807
 
3824
- var _baseCreate;
3825
- var hasRequired_baseCreate;
3826
-
3827
- function require_baseCreate () {
3828
- if (hasRequired_baseCreate) return _baseCreate;
3829
- hasRequired_baseCreate = 1;
3830
- var isObject = requireIsObject();
3808
+ var isObject$5 = isObject_1;
3831
3809
 
3832
- /** Built-in value references. */
3833
- var objectCreate = Object.create;
3810
+ /** Built-in value references. */
3811
+ var objectCreate = Object.create;
3834
3812
 
3835
- /**
3836
- * The base implementation of `_.create` without support for assigning
3837
- * properties to the created object.
3838
- *
3839
- * @private
3840
- * @param {Object} proto The object to inherit from.
3841
- * @returns {Object} Returns the new object.
3842
- */
3843
- var baseCreate = (function() {
3844
- function object() {}
3845
- return function(proto) {
3846
- if (!isObject(proto)) {
3847
- return {};
3848
- }
3849
- if (objectCreate) {
3850
- return objectCreate(proto);
3851
- }
3852
- object.prototype = proto;
3853
- var result = new object;
3854
- object.prototype = undefined;
3855
- return result;
3856
- };
3857
- }());
3813
+ /**
3814
+ * The base implementation of `_.create` without support for assigning
3815
+ * properties to the created object.
3816
+ *
3817
+ * @private
3818
+ * @param {Object} proto The object to inherit from.
3819
+ * @returns {Object} Returns the new object.
3820
+ */
3821
+ var baseCreate$4 = (function() {
3822
+ function object() {}
3823
+ return function(proto) {
3824
+ if (!isObject$5(proto)) {
3825
+ return {};
3826
+ }
3827
+ if (objectCreate) {
3828
+ return objectCreate(proto);
3829
+ }
3830
+ object.prototype = proto;
3831
+ var result = new object;
3832
+ object.prototype = undefined;
3833
+ return result;
3834
+ };
3835
+ }());
3858
3836
 
3859
- _baseCreate = baseCreate;
3860
- return _baseCreate;
3861
- }
3837
+ var _baseCreate = baseCreate$4;
3862
3838
 
3863
- var baseCreate$2 = require_baseCreate(),
3864
- isObject$4 = requireIsObject();
3839
+ var baseCreate$3 = _baseCreate,
3840
+ isObject$4 = isObject_1;
3865
3841
 
3866
3842
  /**
3867
3843
  * Creates a function that produces an instance of `Ctor` regardless of
@@ -3887,7 +3863,7 @@ function createCtor$4(Ctor) {
3887
3863
  case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]);
3888
3864
  case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);
3889
3865
  }
3890
- var thisBinding = baseCreate$2(Ctor.prototype),
3866
+ var thisBinding = baseCreate$3(Ctor.prototype),
3891
3867
  result = Ctor.apply(thisBinding, args);
3892
3868
 
3893
3869
  // Mimic the constructor's `return` behavior.
@@ -3899,7 +3875,7 @@ function createCtor$4(Ctor) {
3899
3875
  var _createCtor = createCtor$4;
3900
3876
 
3901
3877
  var createCtor$3 = _createCtor,
3902
- root$7 = _root;
3878
+ root$8 = _root;
3903
3879
 
3904
3880
  /** Used to compose bitmasks for function metadata. */
3905
3881
  var WRAP_BIND_FLAG$6 = 1;
@@ -3919,7 +3895,7 @@ function createBind$1(func, bitmask, thisArg) {
3919
3895
  Ctor = createCtor$3(func);
3920
3896
 
3921
3897
  function wrapper() {
3922
- var fn = (this && this !== root$7 && this instanceof wrapper) ? Ctor : func;
3898
+ var fn = (this && this !== root$8 && this instanceof wrapper) ? Ctor : func;
3923
3899
  return fn.apply(isBind ? thisArg : this, arguments);
3924
3900
  }
3925
3901
  return wrapper;
@@ -3938,29 +3914,21 @@ var _createBind = createBind$1;
3938
3914
  * @returns {*} Returns the result of `func`.
3939
3915
  */
3940
3916
 
3941
- var _apply;
3942
- var hasRequired_apply;
3943
-
3944
- function require_apply () {
3945
- if (hasRequired_apply) return _apply;
3946
- hasRequired_apply = 1;
3947
- function apply(func, thisArg, args) {
3948
- switch (args.length) {
3949
- case 0: return func.call(thisArg);
3950
- case 1: return func.call(thisArg, args[0]);
3951
- case 2: return func.call(thisArg, args[0], args[1]);
3952
- case 3: return func.call(thisArg, args[0], args[1], args[2]);
3953
- }
3954
- return func.apply(thisArg, args);
3955
- }
3956
-
3957
- _apply = apply;
3958
- return _apply;
3917
+ function apply$3(func, thisArg, args) {
3918
+ switch (args.length) {
3919
+ case 0: return func.call(thisArg);
3920
+ case 1: return func.call(thisArg, args[0]);
3921
+ case 2: return func.call(thisArg, args[0], args[1]);
3922
+ case 3: return func.call(thisArg, args[0], args[1], args[2]);
3923
+ }
3924
+ return func.apply(thisArg, args);
3959
3925
  }
3960
3926
 
3927
+ var _apply = apply$3;
3928
+
3961
3929
  /* Built-in method references for those with the same name as other `lodash` methods. */
3962
3930
 
3963
- var nativeMax$2 = Math.max;
3931
+ var nativeMax$3 = Math.max;
3964
3932
 
3965
3933
  /**
3966
3934
  * Creates an array that is the composition of partially applied arguments,
@@ -3979,7 +3947,7 @@ function composeArgs$2(args, partials, holders, isCurried) {
3979
3947
  holdersLength = holders.length,
3980
3948
  leftIndex = -1,
3981
3949
  leftLength = partials.length,
3982
- rangeLength = nativeMax$2(argsLength - holdersLength, 0),
3950
+ rangeLength = nativeMax$3(argsLength - holdersLength, 0),
3983
3951
  result = Array(leftLength + rangeLength),
3984
3952
  isUncurried = !isCurried;
3985
3953
 
@@ -4001,7 +3969,7 @@ var _composeArgs = composeArgs$2;
4001
3969
 
4002
3970
  /* Built-in method references for those with the same name as other `lodash` methods. */
4003
3971
 
4004
- var nativeMax$1 = Math.max;
3972
+ var nativeMax$2 = Math.max;
4005
3973
 
4006
3974
  /**
4007
3975
  * This function is like `composeArgs` except that the arguments composition
@@ -4021,7 +3989,7 @@ function composeArgsRight$2(args, partials, holders, isCurried) {
4021
3989
  holdersLength = holders.length,
4022
3990
  rightIndex = -1,
4023
3991
  rightLength = partials.length,
4024
- rangeLength = nativeMax$1(argsLength - holdersLength, 0),
3992
+ rangeLength = nativeMax$2(argsLength - holdersLength, 0),
4025
3993
  result = Array(rangeLength + rightLength),
4026
3994
  isUncurried = !isCurried;
4027
3995
 
@@ -4077,7 +4045,7 @@ function baseLodash$3() {
4077
4045
 
4078
4046
  var _baseLodash = baseLodash$3;
4079
4047
 
4080
- var baseCreate$1 = require_baseCreate(),
4048
+ var baseCreate$2 = _baseCreate,
4081
4049
  baseLodash$2 = _baseLodash;
4082
4050
 
4083
4051
  /** Used as references for the maximum length and index of an array. */
@@ -4101,7 +4069,7 @@ function LazyWrapper$3(value) {
4101
4069
  }
4102
4070
 
4103
4071
  // Ensure `LazyWrapper` is an instance of `baseLodash`.
4104
- LazyWrapper$3.prototype = baseCreate$1(baseLodash$2.prototype);
4072
+ LazyWrapper$3.prototype = baseCreate$2(baseLodash$2.prototype);
4105
4073
  LazyWrapper$3.prototype.constructor = LazyWrapper$3;
4106
4074
 
4107
4075
  var _LazyWrapper = LazyWrapper$3;
@@ -4150,10 +4118,10 @@ var _realNames = realNames$1;
4150
4118
  var realNames = _realNames;
4151
4119
 
4152
4120
  /** Used for built-in method references. */
4153
- var objectProto$9 = Object.prototype;
4121
+ var objectProto$a = Object.prototype;
4154
4122
 
4155
4123
  /** Used to check objects for own properties. */
4156
- var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
4124
+ var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
4157
4125
 
4158
4126
  /**
4159
4127
  * Gets the name of `func`.
@@ -4165,7 +4133,7 @@ var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
4165
4133
  function getFuncName$1(func) {
4166
4134
  var result = (func.name + ''),
4167
4135
  array = realNames[result],
4168
- length = hasOwnProperty$7.call(realNames, result) ? array.length : 0;
4136
+ length = hasOwnProperty$8.call(realNames, result) ? array.length : 0;
4169
4137
 
4170
4138
  while (length--) {
4171
4139
  var data = array[length],
@@ -4179,7 +4147,7 @@ function getFuncName$1(func) {
4179
4147
 
4180
4148
  var _getFuncName = getFuncName$1;
4181
4149
 
4182
- var baseCreate = require_baseCreate(),
4150
+ var baseCreate$1 = _baseCreate,
4183
4151
  baseLodash$1 = _baseLodash;
4184
4152
 
4185
4153
  /**
@@ -4197,7 +4165,7 @@ function LodashWrapper$2(value, chainAll) {
4197
4165
  this.__values__ = undefined;
4198
4166
  }
4199
4167
 
4200
- LodashWrapper$2.prototype = baseCreate(baseLodash$1.prototype);
4168
+ LodashWrapper$2.prototype = baseCreate$1(baseLodash$1.prototype);
4201
4169
  LodashWrapper$2.prototype.constructor = LodashWrapper$2;
4202
4170
 
4203
4171
  var _LodashWrapper = LodashWrapper$2;
@@ -4226,9 +4194,9 @@ var _LodashWrapper = LodashWrapper$2;
4226
4194
  * // => false
4227
4195
  */
4228
4196
 
4229
- var isArray$g = Array.isArray;
4197
+ var isArray$h = Array.isArray;
4230
4198
 
4231
- var isArray_1 = isArray$g;
4199
+ var isArray_1 = isArray$h;
4232
4200
 
4233
4201
  /**
4234
4202
  * Checks if `value` is object-like. A value is object-like if it's not `null`
@@ -4310,15 +4278,15 @@ var _wrapperClone = wrapperClone$1;
4310
4278
  var LazyWrapper$1 = _LazyWrapper,
4311
4279
  LodashWrapper = _LodashWrapper,
4312
4280
  baseLodash = _baseLodash,
4313
- isArray$f = isArray_1,
4281
+ isArray$g = isArray_1,
4314
4282
  isObjectLike$7 = isObjectLike_1,
4315
4283
  wrapperClone = _wrapperClone;
4316
4284
 
4317
4285
  /** Used for built-in method references. */
4318
- var objectProto$8 = Object.prototype;
4286
+ var objectProto$9 = Object.prototype;
4319
4287
 
4320
4288
  /** Used to check objects for own properties. */
4321
- var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
4289
+ var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
4322
4290
 
4323
4291
  /**
4324
4292
  * Creates a `lodash` object which wraps `value` to enable implicit method
@@ -4438,11 +4406,11 @@ var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
4438
4406
  * // => true
4439
4407
  */
4440
4408
  function lodash$2(value) {
4441
- if (isObjectLike$7(value) && !isArray$f(value) && !(value instanceof LazyWrapper$1)) {
4409
+ if (isObjectLike$7(value) && !isArray$g(value) && !(value instanceof LazyWrapper$1)) {
4442
4410
  if (value instanceof LodashWrapper) {
4443
4411
  return value;
4444
4412
  }
4445
- if (hasOwnProperty$6.call(value, '__wrapped__')) {
4413
+ if (hasOwnProperty$7.call(value, '__wrapped__')) {
4446
4414
  return wrapperClone(value);
4447
4415
  }
4448
4416
  }
@@ -4486,53 +4454,45 @@ var _isLaziable = isLaziable$1;
4486
4454
 
4487
4455
  /** Used to detect hot functions by number of calls within a span of milliseconds. */
4488
4456
 
4489
- var _shortOut;
4490
- var hasRequired_shortOut;
4491
-
4492
- function require_shortOut () {
4493
- if (hasRequired_shortOut) return _shortOut;
4494
- hasRequired_shortOut = 1;
4495
- var HOT_COUNT = 800,
4496
- HOT_SPAN = 16;
4457
+ var HOT_COUNT = 800,
4458
+ HOT_SPAN = 16;
4497
4459
 
4498
- /* Built-in method references for those with the same name as other `lodash` methods. */
4499
- var nativeNow = Date.now;
4500
-
4501
- /**
4502
- * Creates a function that'll short out and invoke `identity` instead
4503
- * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`
4504
- * milliseconds.
4505
- *
4506
- * @private
4507
- * @param {Function} func The function to restrict.
4508
- * @returns {Function} Returns the new shortable function.
4509
- */
4510
- function shortOut(func) {
4511
- var count = 0,
4512
- lastCalled = 0;
4460
+ /* Built-in method references for those with the same name as other `lodash` methods. */
4461
+ var nativeNow = Date.now;
4513
4462
 
4514
- return function() {
4515
- var stamp = nativeNow(),
4516
- remaining = HOT_SPAN - (stamp - lastCalled);
4463
+ /**
4464
+ * Creates a function that'll short out and invoke `identity` instead
4465
+ * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`
4466
+ * milliseconds.
4467
+ *
4468
+ * @private
4469
+ * @param {Function} func The function to restrict.
4470
+ * @returns {Function} Returns the new shortable function.
4471
+ */
4472
+ function shortOut$2(func) {
4473
+ var count = 0,
4474
+ lastCalled = 0;
4517
4475
 
4518
- lastCalled = stamp;
4519
- if (remaining > 0) {
4520
- if (++count >= HOT_COUNT) {
4521
- return arguments[0];
4522
- }
4523
- } else {
4524
- count = 0;
4525
- }
4526
- return func.apply(undefined, arguments);
4527
- };
4528
- }
4476
+ return function() {
4477
+ var stamp = nativeNow(),
4478
+ remaining = HOT_SPAN - (stamp - lastCalled);
4529
4479
 
4530
- _shortOut = shortOut;
4531
- return _shortOut;
4480
+ lastCalled = stamp;
4481
+ if (remaining > 0) {
4482
+ if (++count >= HOT_COUNT) {
4483
+ return arguments[0];
4484
+ }
4485
+ } else {
4486
+ count = 0;
4487
+ }
4488
+ return func.apply(undefined, arguments);
4489
+ };
4532
4490
  }
4533
4491
 
4492
+ var _shortOut = shortOut$2;
4493
+
4534
4494
  var baseSetData$1 = _baseSetData,
4535
- shortOut = require_shortOut();
4495
+ shortOut$1 = _shortOut;
4536
4496
 
4537
4497
  /**
4538
4498
  * Sets metadata for `func`.
@@ -4548,7 +4508,7 @@ var baseSetData$1 = _baseSetData,
4548
4508
  * @param {*} data The metadata.
4549
4509
  * @returns {Function} Returns `func`.
4550
4510
  */
4551
- var setData$2 = shortOut(baseSetData$1);
4511
+ var setData$2 = shortOut$1(baseSetData$1);
4552
4512
 
4553
4513
  var _setData = setData$2;
4554
4514
 
@@ -4616,95 +4576,63 @@ var _insertWrapDetails = insertWrapDetails$1;
4616
4576
  * // => true
4617
4577
  */
4618
4578
 
4619
- var constant_1;
4620
- var hasRequiredConstant;
4621
-
4622
- function requireConstant () {
4623
- if (hasRequiredConstant) return constant_1;
4624
- hasRequiredConstant = 1;
4625
- function constant(value) {
4626
- return function() {
4627
- return value;
4628
- };
4629
- }
4630
-
4631
- constant_1 = constant;
4632
- return constant_1;
4579
+ function constant$1(value) {
4580
+ return function() {
4581
+ return value;
4582
+ };
4633
4583
  }
4634
4584
 
4635
- var _defineProperty;
4636
- var hasRequired_defineProperty;
4637
-
4638
- function require_defineProperty () {
4639
- if (hasRequired_defineProperty) return _defineProperty;
4640
- hasRequired_defineProperty = 1;
4641
- var getNative = _getNative;
4642
-
4643
- var defineProperty = (function() {
4644
- try {
4645
- var func = getNative(Object, 'defineProperty');
4646
- func({}, '', {});
4647
- return func;
4648
- } catch (e) {}
4649
- }());
4585
+ var constant_1 = constant$1;
4650
4586
 
4651
- _defineProperty = defineProperty;
4652
- return _defineProperty;
4653
- }
4587
+ var getNative$4 = _getNative;
4654
4588
 
4655
- var _baseSetToString;
4656
- var hasRequired_baseSetToString;
4589
+ var defineProperty$2 = (function() {
4590
+ try {
4591
+ var func = getNative$4(Object, 'defineProperty');
4592
+ func({}, '', {});
4593
+ return func;
4594
+ } catch (e) {}
4595
+ }());
4657
4596
 
4658
- function require_baseSetToString () {
4659
- if (hasRequired_baseSetToString) return _baseSetToString;
4660
- hasRequired_baseSetToString = 1;
4661
- var constant = requireConstant(),
4662
- defineProperty = require_defineProperty(),
4663
- identity = requireIdentity();
4597
+ var _defineProperty = defineProperty$2;
4664
4598
 
4665
- /**
4666
- * The base implementation of `setToString` without support for hot loop shorting.
4667
- *
4668
- * @private
4669
- * @param {Function} func The function to modify.
4670
- * @param {Function} string The `toString` result.
4671
- * @returns {Function} Returns `func`.
4672
- */
4673
- var baseSetToString = !defineProperty ? identity : function(func, string) {
4674
- return defineProperty(func, 'toString', {
4675
- 'configurable': true,
4676
- 'enumerable': false,
4677
- 'value': constant(string),
4678
- 'writable': true
4679
- });
4680
- };
4599
+ var constant = constant_1,
4600
+ defineProperty$1 = _defineProperty,
4601
+ identity$1 = identity_1;
4681
4602
 
4682
- _baseSetToString = baseSetToString;
4683
- return _baseSetToString;
4684
- }
4603
+ /**
4604
+ * The base implementation of `setToString` without support for hot loop shorting.
4605
+ *
4606
+ * @private
4607
+ * @param {Function} func The function to modify.
4608
+ * @param {Function} string The `toString` result.
4609
+ * @returns {Function} Returns `func`.
4610
+ */
4611
+ var baseSetToString$1 = !defineProperty$1 ? identity$1 : function(func, string) {
4612
+ return defineProperty$1(func, 'toString', {
4613
+ 'configurable': true,
4614
+ 'enumerable': false,
4615
+ 'value': constant(string),
4616
+ 'writable': true
4617
+ });
4618
+ };
4685
4619
 
4686
- var _setToString;
4687
- var hasRequired_setToString;
4620
+ var _baseSetToString = baseSetToString$1;
4688
4621
 
4689
- function require_setToString () {
4690
- if (hasRequired_setToString) return _setToString;
4691
- hasRequired_setToString = 1;
4692
- var baseSetToString = require_baseSetToString(),
4693
- shortOut = require_shortOut();
4622
+ var baseSetToString = _baseSetToString,
4623
+ shortOut = _shortOut;
4694
4624
 
4695
- /**
4696
- * Sets the `toString` method of `func` to return `string`.
4697
- *
4698
- * @private
4699
- * @param {Function} func The function to modify.
4700
- * @param {Function} string The `toString` result.
4701
- * @returns {Function} Returns `func`.
4702
- */
4703
- var setToString = shortOut(baseSetToString);
4625
+ /**
4626
+ * Sets the `toString` method of `func` to return `string`.
4627
+ *
4628
+ * @private
4629
+ * @param {Function} func The function to modify.
4630
+ * @param {Function} string The `toString` result.
4631
+ * @returns {Function} Returns `func`.
4632
+ */
4633
+ var setToString$2 = shortOut(baseSetToString);
4704
4634
 
4705
- _setToString = setToString;
4706
- return _setToString;
4707
- }
4635
+ var _setToString = setToString$2;
4708
4636
 
4709
4637
  /**
4710
4638
  * A specialized version of `_.forEach` for arrays without support for
@@ -4883,7 +4811,7 @@ var _updateWrapDetails = updateWrapDetails$1;
4883
4811
 
4884
4812
  var getWrapDetails = _getWrapDetails,
4885
4813
  insertWrapDetails = _insertWrapDetails,
4886
- setToString$1 = require_setToString(),
4814
+ setToString$1 = _setToString,
4887
4815
  updateWrapDetails = _updateWrapDetails;
4888
4816
 
4889
4817
  /**
@@ -5011,7 +4939,7 @@ function require_isIndex () {
5011
4939
  }
5012
4940
 
5013
4941
  var copyArray$2 = _copyArray,
5014
- isIndex$1 = require_isIndex();
4942
+ isIndex$2 = require_isIndex();
5015
4943
 
5016
4944
  /* Built-in method references for those with the same name as other `lodash` methods. */
5017
4945
  var nativeMin$1 = Math.min;
@@ -5033,7 +4961,7 @@ function reorder$1(array, indexes) {
5033
4961
 
5034
4962
  while (length--) {
5035
4963
  var index = indexes[length];
5036
- array[length] = isIndex$1(index, arrLength) ? oldArray[index] : undefined;
4964
+ array[length] = isIndex$2(index, arrLength) ? oldArray[index] : undefined;
5037
4965
  }
5038
4966
  return array;
5039
4967
  }
@@ -5079,7 +5007,7 @@ var composeArgs$1 = _composeArgs,
5079
5007
  getHolder$1 = _getHolder,
5080
5008
  reorder = _reorder,
5081
5009
  replaceHolders$2 = _replaceHolders,
5082
- root$6 = _root;
5010
+ root$7 = _root;
5083
5011
 
5084
5012
  /** Used to compose bitmasks for function metadata. */
5085
5013
  var WRAP_BIND_FLAG$3 = 1,
@@ -5154,7 +5082,7 @@ function createHybrid$2(func, bitmask, thisArg, partials, holders, partialsRight
5154
5082
  if (isAry && ary < length) {
5155
5083
  args.length = ary;
5156
5084
  }
5157
- if (this && this !== root$6 && this instanceof wrapper) {
5085
+ if (this && this !== root$7 && this instanceof wrapper) {
5158
5086
  fn = Ctor || createCtor$2(fn);
5159
5087
  }
5160
5088
  return fn.apply(thisBinding, args);
@@ -5164,13 +5092,13 @@ function createHybrid$2(func, bitmask, thisArg, partials, holders, partialsRight
5164
5092
 
5165
5093
  var _createHybrid = createHybrid$2;
5166
5094
 
5167
- var apply$1 = require_apply(),
5095
+ var apply$2 = _apply,
5168
5096
  createCtor$1 = _createCtor,
5169
5097
  createHybrid$1 = _createHybrid,
5170
5098
  createRecurry = _createRecurry,
5171
5099
  getHolder = _getHolder,
5172
5100
  replaceHolders$1 = _replaceHolders,
5173
- root$5 = _root;
5101
+ root$6 = _root;
5174
5102
 
5175
5103
  /**
5176
5104
  * Creates a function that wraps `func` to enable currying.
@@ -5203,17 +5131,17 @@ function createCurry$1(func, bitmask, arity) {
5203
5131
  func, bitmask, createHybrid$1, wrapper.placeholder, undefined,
5204
5132
  args, holders, undefined, undefined, arity - length);
5205
5133
  }
5206
- var fn = (this && this !== root$5 && this instanceof wrapper) ? Ctor : func;
5207
- return apply$1(fn, this, args);
5134
+ var fn = (this && this !== root$6 && this instanceof wrapper) ? Ctor : func;
5135
+ return apply$2(fn, this, args);
5208
5136
  }
5209
5137
  return wrapper;
5210
5138
  }
5211
5139
 
5212
5140
  var _createCurry = createCurry$1;
5213
5141
 
5214
- var apply = require_apply(),
5142
+ var apply$1 = _apply,
5215
5143
  createCtor = _createCtor,
5216
- root$4 = _root;
5144
+ root$5 = _root;
5217
5145
 
5218
5146
  /** Used to compose bitmasks for function metadata. */
5219
5147
  var WRAP_BIND_FLAG$2 = 1;
@@ -5240,7 +5168,7 @@ function createPartial$1(func, bitmask, thisArg, partials) {
5240
5168
  leftIndex = -1,
5241
5169
  leftLength = partials.length,
5242
5170
  args = Array(leftLength + argsLength),
5243
- fn = (this && this !== root$4 && this instanceof wrapper) ? Ctor : func;
5171
+ fn = (this && this !== root$5 && this instanceof wrapper) ? Ctor : func;
5244
5172
 
5245
5173
  while (++leftIndex < leftLength) {
5246
5174
  args[leftIndex] = partials[leftIndex];
@@ -5248,7 +5176,7 @@ function createPartial$1(func, bitmask, thisArg, partials) {
5248
5176
  while (argsLength--) {
5249
5177
  args[leftIndex++] = arguments[++argsIndex];
5250
5178
  }
5251
- return apply(fn, isBind ? thisArg : this, args);
5179
+ return apply$1(fn, isBind ? thisArg : this, args);
5252
5180
  }
5253
5181
  return wrapper;
5254
5182
  }
@@ -5418,7 +5346,7 @@ function isSymbol$6(value) {
5418
5346
  var isSymbol_1 = isSymbol$6;
5419
5347
 
5420
5348
  var baseTrim = _baseTrim,
5421
- isObject$3 = requireIsObject(),
5349
+ isObject$3 = isObject_1,
5422
5350
  isSymbol$5 = isSymbol_1;
5423
5351
 
5424
5352
  /** Used as references for various `Number` constants. */
@@ -5585,7 +5513,7 @@ var WRAP_BIND_FLAG = 1,
5585
5513
  WRAP_PARTIAL_RIGHT_FLAG = 64;
5586
5514
 
5587
5515
  /* Built-in method references for those with the same name as other `lodash` methods. */
5588
- var nativeMax = Math.max;
5516
+ var nativeMax$1 = Math.max;
5589
5517
 
5590
5518
  /**
5591
5519
  * Creates a function that either curries or invokes `func` with optional
@@ -5622,7 +5550,7 @@ function createWrap$3(func, bitmask, thisArg, partials, holders, argPos, ary, ar
5622
5550
  bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG);
5623
5551
  partials = holders = undefined;
5624
5552
  }
5625
- ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0);
5553
+ ary = ary === undefined ? ary : nativeMax$1(toInteger(ary), 0);
5626
5554
  arity = arity === undefined ? arity : toInteger(arity);
5627
5555
  length -= holders ? holders.length : 0;
5628
5556
 
@@ -5649,7 +5577,7 @@ function createWrap$3(func, bitmask, thisArg, partials, holders, argPos, ary, ar
5649
5577
  holders = newData[4];
5650
5578
  arity = newData[9] = newData[9] === undefined
5651
5579
  ? (isBindKey ? 0 : func.length)
5652
- : nativeMax(newData[9] - length, 0);
5580
+ : nativeMax$1(newData[9] - length, 0);
5653
5581
 
5654
5582
  if (!arity && bitmask & (WRAP_CURRY_FLAG$1 | WRAP_CURRY_RIGHT_FLAG)) {
5655
5583
  bitmask &= ~(WRAP_CURRY_FLAG$1 | WRAP_CURRY_RIGHT_FLAG);
@@ -5699,40 +5627,32 @@ function ary(func, n, guard) {
5699
5627
 
5700
5628
  var ary_1 = ary;
5701
5629
 
5702
- var _baseAssignValue;
5703
- var hasRequired_baseAssignValue;
5704
-
5705
- function require_baseAssignValue () {
5706
- if (hasRequired_baseAssignValue) return _baseAssignValue;
5707
- hasRequired_baseAssignValue = 1;
5708
- var defineProperty = require_defineProperty();
5630
+ var defineProperty = _defineProperty;
5709
5631
 
5710
- /**
5711
- * The base implementation of `assignValue` and `assignMergeValue` without
5712
- * value checks.
5713
- *
5714
- * @private
5715
- * @param {Object} object The object to modify.
5716
- * @param {string} key The key of the property to assign.
5717
- * @param {*} value The value to assign.
5718
- */
5719
- function baseAssignValue(object, key, value) {
5720
- if (key == '__proto__' && defineProperty) {
5721
- defineProperty(object, key, {
5722
- 'configurable': true,
5723
- 'enumerable': true,
5724
- 'value': value,
5725
- 'writable': true
5726
- });
5727
- } else {
5728
- object[key] = value;
5729
- }
5730
- }
5731
-
5732
- _baseAssignValue = baseAssignValue;
5733
- return _baseAssignValue;
5632
+ /**
5633
+ * The base implementation of `assignValue` and `assignMergeValue` without
5634
+ * value checks.
5635
+ *
5636
+ * @private
5637
+ * @param {Object} object The object to modify.
5638
+ * @param {string} key The key of the property to assign.
5639
+ * @param {*} value The value to assign.
5640
+ */
5641
+ function baseAssignValue$2(object, key, value) {
5642
+ if (key == '__proto__' && defineProperty) {
5643
+ defineProperty(object, key, {
5644
+ 'configurable': true,
5645
+ 'enumerable': true,
5646
+ 'value': value,
5647
+ 'writable': true
5648
+ });
5649
+ } else {
5650
+ object[key] = value;
5651
+ }
5734
5652
  }
5735
5653
 
5654
+ var _baseAssignValue = baseAssignValue$2;
5655
+
5736
5656
  /**
5737
5657
  * Performs a
5738
5658
  * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
@@ -5780,14 +5700,14 @@ function requireEq () {
5780
5700
  return eq_1;
5781
5701
  }
5782
5702
 
5783
- var baseAssignValue$1 = require_baseAssignValue(),
5703
+ var baseAssignValue$1 = _baseAssignValue,
5784
5704
  eq$1 = requireEq();
5785
5705
 
5786
5706
  /** Used for built-in method references. */
5787
- var objectProto$7 = Object.prototype;
5707
+ var objectProto$8 = Object.prototype;
5788
5708
 
5789
5709
  /** Used to check objects for own properties. */
5790
- var hasOwnProperty$5 = objectProto$7.hasOwnProperty;
5710
+ var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
5791
5711
 
5792
5712
  /**
5793
5713
  * Assigns `value` to `key` of `object` if the existing value is not equivalent
@@ -5801,7 +5721,7 @@ var hasOwnProperty$5 = objectProto$7.hasOwnProperty;
5801
5721
  */
5802
5722
  function assignValue$2(object, key, value) {
5803
5723
  var objValue = object[key];
5804
- if (!(hasOwnProperty$5.call(object, key) && eq$1(objValue, value)) ||
5724
+ if (!(hasOwnProperty$6.call(object, key) && eq$1(objValue, value)) ||
5805
5725
  (value === undefined && !(key in object))) {
5806
5726
  baseAssignValue$1(object, key, value);
5807
5727
  }
@@ -5810,7 +5730,7 @@ function assignValue$2(object, key, value) {
5810
5730
  var _assignValue = assignValue$2;
5811
5731
 
5812
5732
  var assignValue$1 = _assignValue,
5813
- baseAssignValue = require_baseAssignValue();
5733
+ baseAssignValue = _baseAssignValue;
5814
5734
 
5815
5735
  /**
5816
5736
  * Copies properties of `source` to `object`.
@@ -5860,26 +5780,18 @@ var _copyObject = copyObject$4;
5860
5780
  * @returns {Array} Returns the array of results.
5861
5781
  */
5862
5782
 
5863
- var _baseTimes;
5864
- var hasRequired_baseTimes;
5865
-
5866
- function require_baseTimes () {
5867
- if (hasRequired_baseTimes) return _baseTimes;
5868
- hasRequired_baseTimes = 1;
5869
- function baseTimes(n, iteratee) {
5870
- var index = -1,
5871
- result = Array(n);
5872
-
5873
- while (++index < n) {
5874
- result[index] = iteratee(index);
5875
- }
5876
- return result;
5877
- }
5783
+ function baseTimes$1(n, iteratee) {
5784
+ var index = -1,
5785
+ result = Array(n);
5878
5786
 
5879
- _baseTimes = baseTimes;
5880
- return _baseTimes;
5787
+ while (++index < n) {
5788
+ result[index] = iteratee(index);
5789
+ }
5790
+ return result;
5881
5791
  }
5882
5792
 
5793
+ var _baseTimes = baseTimes$1;
5794
+
5883
5795
  var _baseIsArguments;
5884
5796
  var hasRequired_baseIsArguments;
5885
5797
 
@@ -5953,7 +5865,7 @@ function requireIsArguments () {
5953
5865
  }
5954
5866
 
5955
5867
  var isBufferExports = {};
5956
- var isBuffer$4 = {
5868
+ var isBuffer$5 = {
5957
5869
  get exports(){ return isBufferExports; },
5958
5870
  set exports(v){ isBufferExports = v; },
5959
5871
  };
@@ -5972,113 +5884,90 @@ var isBuffer$4 = {
5972
5884
  * // => [false, false]
5973
5885
  */
5974
5886
 
5975
- var stubFalse_1;
5976
- var hasRequiredStubFalse;
5977
-
5978
- function requireStubFalse () {
5979
- if (hasRequiredStubFalse) return stubFalse_1;
5980
- hasRequiredStubFalse = 1;
5981
- function stubFalse() {
5982
- return false;
5983
- }
5984
-
5985
- stubFalse_1 = stubFalse;
5986
- return stubFalse_1;
5887
+ function stubFalse() {
5888
+ return false;
5987
5889
  }
5988
5890
 
5989
- var hasRequiredIsBuffer;
5990
-
5991
- function requireIsBuffer () {
5992
- if (hasRequiredIsBuffer) return isBufferExports;
5993
- hasRequiredIsBuffer = 1;
5994
- (function (module, exports) {
5995
- var root = _root,
5996
- stubFalse = requireStubFalse();
5997
-
5998
- /** Detect free variable `exports`. */
5999
- var freeExports = exports && !exports.nodeType && exports;
6000
-
6001
- /** Detect free variable `module`. */
6002
- var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
6003
-
6004
- /** Detect the popular CommonJS extension `module.exports`. */
6005
- var moduleExports = freeModule && freeModule.exports === freeExports;
6006
-
6007
- /** Built-in value references. */
6008
- var Buffer = moduleExports ? root.Buffer : undefined;
5891
+ var stubFalse_1 = stubFalse;
6009
5892
 
6010
- /* Built-in method references for those with the same name as other `lodash` methods. */
6011
- var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
5893
+ (function (module, exports) {
5894
+ var root = _root,
5895
+ stubFalse = stubFalse_1;
6012
5896
 
6013
- /**
6014
- * Checks if `value` is a buffer.
6015
- *
6016
- * @static
6017
- * @memberOf _
6018
- * @since 4.3.0
6019
- * @category Lang
6020
- * @param {*} value The value to check.
6021
- * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
6022
- * @example
6023
- *
6024
- * _.isBuffer(new Buffer(2));
6025
- * // => true
6026
- *
6027
- * _.isBuffer(new Uint8Array(2));
6028
- * // => false
6029
- */
6030
- var isBuffer = nativeIsBuffer || stubFalse;
5897
+ /** Detect free variable `exports`. */
5898
+ var freeExports = exports && !exports.nodeType && exports;
6031
5899
 
6032
- module.exports = isBuffer;
6033
- } (isBuffer$4, isBufferExports));
6034
- return isBufferExports;
6035
- }
5900
+ /** Detect free variable `module`. */
5901
+ var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
6036
5902
 
6037
- /** Used as references for various `Number` constants. */
5903
+ /** Detect the popular CommonJS extension `module.exports`. */
5904
+ var moduleExports = freeModule && freeModule.exports === freeExports;
6038
5905
 
6039
- var isLength_1;
6040
- var hasRequiredIsLength;
5906
+ /** Built-in value references. */
5907
+ var Buffer = moduleExports ? root.Buffer : undefined;
6041
5908
 
6042
- function requireIsLength () {
6043
- if (hasRequiredIsLength) return isLength_1;
6044
- hasRequiredIsLength = 1;
6045
- var MAX_SAFE_INTEGER = 9007199254740991;
5909
+ /* Built-in method references for those with the same name as other `lodash` methods. */
5910
+ var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
6046
5911
 
6047
5912
  /**
6048
- * Checks if `value` is a valid array-like length.
6049
- *
6050
- * **Note:** This method is loosely based on
6051
- * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
5913
+ * Checks if `value` is a buffer.
6052
5914
  *
6053
5915
  * @static
6054
5916
  * @memberOf _
6055
- * @since 4.0.0
5917
+ * @since 4.3.0
6056
5918
  * @category Lang
6057
5919
  * @param {*} value The value to check.
6058
- * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
5920
+ * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
6059
5921
  * @example
6060
5922
  *
6061
- * _.isLength(3);
5923
+ * _.isBuffer(new Buffer(2));
6062
5924
  * // => true
6063
5925
  *
6064
- * _.isLength(Number.MIN_VALUE);
6065
- * // => false
6066
- *
6067
- * _.isLength(Infinity);
6068
- * // => false
6069
- *
6070
- * _.isLength('3');
5926
+ * _.isBuffer(new Uint8Array(2));
6071
5927
  * // => false
6072
5928
  */
6073
- function isLength(value) {
6074
- return typeof value == 'number' &&
6075
- value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
6076
- }
5929
+ var isBuffer = nativeIsBuffer || stubFalse;
5930
+
5931
+ module.exports = isBuffer;
5932
+ } (isBuffer$5, isBufferExports));
5933
+
5934
+ /** Used as references for various `Number` constants. */
5935
+
5936
+ var MAX_SAFE_INTEGER = 9007199254740991;
6077
5937
 
6078
- isLength_1 = isLength;
6079
- return isLength_1;
5938
+ /**
5939
+ * Checks if `value` is a valid array-like length.
5940
+ *
5941
+ * **Note:** This method is loosely based on
5942
+ * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
5943
+ *
5944
+ * @static
5945
+ * @memberOf _
5946
+ * @since 4.0.0
5947
+ * @category Lang
5948
+ * @param {*} value The value to check.
5949
+ * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
5950
+ * @example
5951
+ *
5952
+ * _.isLength(3);
5953
+ * // => true
5954
+ *
5955
+ * _.isLength(Number.MIN_VALUE);
5956
+ * // => false
5957
+ *
5958
+ * _.isLength(Infinity);
5959
+ * // => false
5960
+ *
5961
+ * _.isLength('3');
5962
+ * // => false
5963
+ */
5964
+ function isLength$2(value) {
5965
+ return typeof value == 'number' &&
5966
+ value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
6080
5967
  }
6081
5968
 
5969
+ var isLength_1 = isLength$2;
5970
+
6082
5971
  var _baseIsTypedArray;
6083
5972
  var hasRequired_baseIsTypedArray;
6084
5973
 
@@ -6086,7 +5975,7 @@ function require_baseIsTypedArray () {
6086
5975
  if (hasRequired_baseIsTypedArray) return _baseIsTypedArray;
6087
5976
  hasRequired_baseIsTypedArray = 1;
6088
5977
  var baseGetTag = _baseGetTag,
6089
- isLength = requireIsLength(),
5978
+ isLength = isLength_1,
6090
5979
  isObjectLike = isObjectLike_1;
6091
5980
 
6092
5981
  /** `Object#toString` result references. */
@@ -6156,67 +6045,52 @@ function require_baseIsTypedArray () {
6156
6045
  * @returns {Function} Returns the new capped function.
6157
6046
  */
6158
6047
 
6159
- var _baseUnary;
6160
- var hasRequired_baseUnary;
6161
-
6162
- function require_baseUnary () {
6163
- if (hasRequired_baseUnary) return _baseUnary;
6164
- hasRequired_baseUnary = 1;
6165
- function baseUnary(func) {
6166
- return function(value) {
6167
- return func(value);
6168
- };
6169
- }
6170
-
6171
- _baseUnary = baseUnary;
6172
- return _baseUnary;
6048
+ function baseUnary$2(func) {
6049
+ return function(value) {
6050
+ return func(value);
6051
+ };
6173
6052
  }
6174
6053
 
6054
+ var _baseUnary = baseUnary$2;
6055
+
6175
6056
  var _nodeUtilExports = {};
6176
6057
  var _nodeUtil = {
6177
6058
  get exports(){ return _nodeUtilExports; },
6178
6059
  set exports(v){ _nodeUtilExports = v; },
6179
6060
  };
6180
6061
 
6181
- var hasRequired_nodeUtil;
6182
-
6183
- function require_nodeUtil () {
6184
- if (hasRequired_nodeUtil) return _nodeUtilExports;
6185
- hasRequired_nodeUtil = 1;
6186
- (function (module, exports) {
6187
- var freeGlobal = _freeGlobal;
6062
+ (function (module, exports) {
6063
+ var freeGlobal = _freeGlobal;
6188
6064
 
6189
- /** Detect free variable `exports`. */
6190
- var freeExports = exports && !exports.nodeType && exports;
6065
+ /** Detect free variable `exports`. */
6066
+ var freeExports = exports && !exports.nodeType && exports;
6191
6067
 
6192
- /** Detect free variable `module`. */
6193
- var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
6068
+ /** Detect free variable `module`. */
6069
+ var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
6194
6070
 
6195
- /** Detect the popular CommonJS extension `module.exports`. */
6196
- var moduleExports = freeModule && freeModule.exports === freeExports;
6071
+ /** Detect the popular CommonJS extension `module.exports`. */
6072
+ var moduleExports = freeModule && freeModule.exports === freeExports;
6197
6073
 
6198
- /** Detect free variable `process` from Node.js. */
6199
- var freeProcess = moduleExports && freeGlobal.process;
6074
+ /** Detect free variable `process` from Node.js. */
6075
+ var freeProcess = moduleExports && freeGlobal.process;
6200
6076
 
6201
- /** Used to access faster Node.js helpers. */
6202
- var nodeUtil = (function() {
6203
- try {
6204
- // Use `util.types` for Node.js 10+.
6205
- var types = freeModule && freeModule.require && freeModule.require('util').types;
6077
+ /** Used to access faster Node.js helpers. */
6078
+ var nodeUtil = (function() {
6079
+ try {
6080
+ // Use `util.types` for Node.js 10+.
6081
+ var types = freeModule && freeModule.require && freeModule.require('util').types;
6206
6082
 
6207
- if (types) {
6208
- return types;
6209
- }
6083
+ if (types) {
6084
+ return types;
6085
+ }
6210
6086
 
6211
- // Legacy `process.binding('util')` for Node.js < 10.
6212
- return freeProcess && freeProcess.binding && freeProcess.binding('util');
6213
- } catch (e) {}
6214
- }());
6087
+ // Legacy `process.binding('util')` for Node.js < 10.
6088
+ return freeProcess && freeProcess.binding && freeProcess.binding('util');
6089
+ } catch (e) {}
6090
+ }());
6215
6091
 
6216
- module.exports = nodeUtil;
6092
+ module.exports = nodeUtil;
6217
6093
  } (_nodeUtil, _nodeUtilExports));
6218
- return _nodeUtilExports;
6219
- }
6220
6094
 
6221
6095
  var isTypedArray_1;
6222
6096
  var hasRequiredIsTypedArray;
@@ -6225,8 +6099,8 @@ function requireIsTypedArray () {
6225
6099
  if (hasRequiredIsTypedArray) return isTypedArray_1;
6226
6100
  hasRequiredIsTypedArray = 1;
6227
6101
  var baseIsTypedArray = require_baseIsTypedArray(),
6228
- baseUnary = require_baseUnary(),
6229
- nodeUtil = require_nodeUtil();
6102
+ baseUnary = _baseUnary,
6103
+ nodeUtil = _nodeUtilExports;
6230
6104
 
6231
6105
  /* Node.js helper references. */
6232
6106
  var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
@@ -6254,64 +6128,56 @@ function requireIsTypedArray () {
6254
6128
  return isTypedArray_1;
6255
6129
  }
6256
6130
 
6257
- var _arrayLikeKeys;
6258
- var hasRequired_arrayLikeKeys;
6259
-
6260
- function require_arrayLikeKeys () {
6261
- if (hasRequired_arrayLikeKeys) return _arrayLikeKeys;
6262
- hasRequired_arrayLikeKeys = 1;
6263
- var baseTimes = require_baseTimes(),
6264
- isArguments = requireIsArguments(),
6265
- isArray = isArray_1,
6266
- isBuffer = requireIsBuffer(),
6267
- isIndex = require_isIndex(),
6268
- isTypedArray = requireIsTypedArray();
6131
+ var baseTimes = _baseTimes,
6132
+ isArguments$2 = requireIsArguments(),
6133
+ isArray$f = isArray_1,
6134
+ isBuffer$4 = isBufferExports,
6135
+ isIndex$1 = require_isIndex(),
6136
+ isTypedArray$1 = requireIsTypedArray();
6269
6137
 
6270
- /** Used for built-in method references. */
6271
- var objectProto = Object.prototype;
6138
+ /** Used for built-in method references. */
6139
+ var objectProto$7 = Object.prototype;
6272
6140
 
6273
- /** Used to check objects for own properties. */
6274
- var hasOwnProperty = objectProto.hasOwnProperty;
6141
+ /** Used to check objects for own properties. */
6142
+ var hasOwnProperty$5 = objectProto$7.hasOwnProperty;
6275
6143
 
6276
- /**
6277
- * Creates an array of the enumerable property names of the array-like `value`.
6278
- *
6279
- * @private
6280
- * @param {*} value The value to query.
6281
- * @param {boolean} inherited Specify returning inherited property names.
6282
- * @returns {Array} Returns the array of property names.
6283
- */
6284
- function arrayLikeKeys(value, inherited) {
6285
- var isArr = isArray(value),
6286
- isArg = !isArr && isArguments(value),
6287
- isBuff = !isArr && !isArg && isBuffer(value),
6288
- isType = !isArr && !isArg && !isBuff && isTypedArray(value),
6289
- skipIndexes = isArr || isArg || isBuff || isType,
6290
- result = skipIndexes ? baseTimes(value.length, String) : [],
6291
- length = result.length;
6292
-
6293
- for (var key in value) {
6294
- if ((inherited || hasOwnProperty.call(value, key)) &&
6295
- !(skipIndexes && (
6296
- // Safari 9 has enumerable `arguments.length` in strict mode.
6297
- key == 'length' ||
6298
- // Node.js 0.10 has enumerable non-index properties on buffers.
6299
- (isBuff && (key == 'offset' || key == 'parent')) ||
6300
- // PhantomJS 2 has enumerable non-index properties on typed arrays.
6301
- (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
6302
- // Skip index properties.
6303
- isIndex(key, length)
6304
- ))) {
6305
- result.push(key);
6306
- }
6307
- }
6308
- return result;
6309
- }
6144
+ /**
6145
+ * Creates an array of the enumerable property names of the array-like `value`.
6146
+ *
6147
+ * @private
6148
+ * @param {*} value The value to query.
6149
+ * @param {boolean} inherited Specify returning inherited property names.
6150
+ * @returns {Array} Returns the array of property names.
6151
+ */
6152
+ function arrayLikeKeys$1(value, inherited) {
6153
+ var isArr = isArray$f(value),
6154
+ isArg = !isArr && isArguments$2(value),
6155
+ isBuff = !isArr && !isArg && isBuffer$4(value),
6156
+ isType = !isArr && !isArg && !isBuff && isTypedArray$1(value),
6157
+ skipIndexes = isArr || isArg || isBuff || isType,
6158
+ result = skipIndexes ? baseTimes(value.length, String) : [],
6159
+ length = result.length;
6310
6160
 
6311
- _arrayLikeKeys = arrayLikeKeys;
6312
- return _arrayLikeKeys;
6161
+ for (var key in value) {
6162
+ if ((inherited || hasOwnProperty$5.call(value, key)) &&
6163
+ !(skipIndexes && (
6164
+ // Safari 9 has enumerable `arguments.length` in strict mode.
6165
+ key == 'length' ||
6166
+ // Node.js 0.10 has enumerable non-index properties on buffers.
6167
+ (isBuff && (key == 'offset' || key == 'parent')) ||
6168
+ // PhantomJS 2 has enumerable non-index properties on typed arrays.
6169
+ (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
6170
+ // Skip index properties.
6171
+ isIndex$1(key, length)
6172
+ ))) {
6173
+ result.push(key);
6174
+ }
6175
+ }
6176
+ return result;
6313
6177
  }
6314
6178
 
6179
+ var _arrayLikeKeys = arrayLikeKeys$1;
6180
+
6315
6181
  /** Used for built-in method references. */
6316
6182
 
6317
6183
  var objectProto$6 = Object.prototype;
@@ -6323,14 +6189,14 @@ var objectProto$6 = Object.prototype;
6323
6189
  * @param {*} value The value to check.
6324
6190
  * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
6325
6191
  */
6326
- function isPrototype$1(value) {
6192
+ function isPrototype$2(value) {
6327
6193
  var Ctor = value && value.constructor,
6328
6194
  proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$6;
6329
6195
 
6330
6196
  return value === proto;
6331
6197
  }
6332
6198
 
6333
- var _isPrototype = isPrototype$1;
6199
+ var _isPrototype = isPrototype$2;
6334
6200
 
6335
6201
  /**
6336
6202
  * Creates a unary function that invokes `func` with its argument transformed.
@@ -6356,7 +6222,7 @@ var nativeKeys$1 = overArg$1(Object.keys, Object);
6356
6222
 
6357
6223
  var _nativeKeys = nativeKeys$1;
6358
6224
 
6359
- var isPrototype = _isPrototype,
6225
+ var isPrototype$1 = _isPrototype,
6360
6226
  nativeKeys = _nativeKeys;
6361
6227
 
6362
6228
  /** Used for built-in method references. */
@@ -6373,7 +6239,7 @@ var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
6373
6239
  * @returns {Array} Returns the array of property names.
6374
6240
  */
6375
6241
  function baseKeys$1(object) {
6376
- if (!isPrototype(object)) {
6242
+ if (!isPrototype$1(object)) {
6377
6243
  return nativeKeys(object);
6378
6244
  }
6379
6245
  var result = [];
@@ -6387,51 +6253,43 @@ function baseKeys$1(object) {
6387
6253
 
6388
6254
  var _baseKeys = baseKeys$1;
6389
6255
 
6390
- var isArrayLike_1;
6391
- var hasRequiredIsArrayLike;
6392
-
6393
- function requireIsArrayLike () {
6394
- if (hasRequiredIsArrayLike) return isArrayLike_1;
6395
- hasRequiredIsArrayLike = 1;
6396
- var isFunction = isFunction_1,
6397
- isLength = requireIsLength();
6398
-
6399
- /**
6400
- * Checks if `value` is array-like. A value is considered array-like if it's
6401
- * not a function and has a `value.length` that's an integer greater than or
6402
- * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
6403
- *
6404
- * @static
6405
- * @memberOf _
6406
- * @since 4.0.0
6407
- * @category Lang
6408
- * @param {*} value The value to check.
6409
- * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
6410
- * @example
6411
- *
6412
- * _.isArrayLike([1, 2, 3]);
6413
- * // => true
6414
- *
6415
- * _.isArrayLike(document.body.children);
6416
- * // => true
6417
- *
6418
- * _.isArrayLike('abc');
6419
- * // => true
6420
- *
6421
- * _.isArrayLike(_.noop);
6422
- * // => false
6423
- */
6424
- function isArrayLike(value) {
6425
- return value != null && isLength(value.length) && !isFunction(value);
6426
- }
6256
+ var isFunction$1 = isFunction_1,
6257
+ isLength$1 = isLength_1;
6427
6258
 
6428
- isArrayLike_1 = isArrayLike;
6429
- return isArrayLike_1;
6259
+ /**
6260
+ * Checks if `value` is array-like. A value is considered array-like if it's
6261
+ * not a function and has a `value.length` that's an integer greater than or
6262
+ * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
6263
+ *
6264
+ * @static
6265
+ * @memberOf _
6266
+ * @since 4.0.0
6267
+ * @category Lang
6268
+ * @param {*} value The value to check.
6269
+ * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
6270
+ * @example
6271
+ *
6272
+ * _.isArrayLike([1, 2, 3]);
6273
+ * // => true
6274
+ *
6275
+ * _.isArrayLike(document.body.children);
6276
+ * // => true
6277
+ *
6278
+ * _.isArrayLike('abc');
6279
+ * // => true
6280
+ *
6281
+ * _.isArrayLike(_.noop);
6282
+ * // => false
6283
+ */
6284
+ function isArrayLike$1(value) {
6285
+ return value != null && isLength$1(value.length) && !isFunction$1(value);
6430
6286
  }
6431
6287
 
6432
- var arrayLikeKeys = require_arrayLikeKeys(),
6288
+ var isArrayLike_1 = isArrayLike$1;
6289
+
6290
+ var arrayLikeKeys = _arrayLikeKeys,
6433
6291
  baseKeys = _baseKeys,
6434
- isArrayLike = requireIsArrayLike();
6292
+ isArrayLike = isArrayLike_1;
6435
6293
 
6436
6294
  /**
6437
6295
  * Creates an array of the own enumerable property names of `object`.
@@ -6812,10 +6670,10 @@ function require_stackHas () {
6812
6670
  }
6813
6671
 
6814
6672
  var getNative$3 = _getNative,
6815
- root$3 = _root;
6673
+ root$4 = _root;
6816
6674
 
6817
6675
  /* Built-in method references that are verified to be native. */
6818
- var Map$2 = getNative$3(root$3, 'Map');
6676
+ var Map$2 = getNative$3(root$4, 'Map');
6819
6677
 
6820
6678
  var _Map = Map$2;
6821
6679
 
@@ -7375,7 +7233,7 @@ var hasRequired_baseKeysIn;
7375
7233
  function require_baseKeysIn () {
7376
7234
  if (hasRequired_baseKeysIn) return _baseKeysIn;
7377
7235
  hasRequired_baseKeysIn = 1;
7378
- var isObject = requireIsObject(),
7236
+ var isObject = isObject_1,
7379
7237
  isPrototype = _isPrototype,
7380
7238
  nativeKeysIn = require_nativeKeysIn();
7381
7239
 
@@ -7417,9 +7275,9 @@ var hasRequiredKeysIn;
7417
7275
  function requireKeysIn () {
7418
7276
  if (hasRequiredKeysIn) return keysIn_1;
7419
7277
  hasRequiredKeysIn = 1;
7420
- var arrayLikeKeys = require_arrayLikeKeys(),
7278
+ var arrayLikeKeys = _arrayLikeKeys,
7421
7279
  baseKeysIn = require_baseKeysIn(),
7422
- isArrayLike = requireIsArrayLike();
7280
+ isArrayLike = isArrayLike_1;
7423
7281
 
7424
7282
  /**
7425
7283
  * Creates an array of the own and inherited enumerable property names of `object`.
@@ -7476,50 +7334,43 @@ var _cloneBuffer = {
7476
7334
  set exports(v){ _cloneBufferExports = v; },
7477
7335
  };
7478
7336
 
7479
- var hasRequired_cloneBuffer;
7480
-
7481
- function require_cloneBuffer () {
7482
- if (hasRequired_cloneBuffer) return _cloneBufferExports;
7483
- hasRequired_cloneBuffer = 1;
7484
- (function (module, exports) {
7485
- var root = _root;
7486
-
7487
- /** Detect free variable `exports`. */
7488
- var freeExports = exports && !exports.nodeType && exports;
7489
-
7490
- /** Detect free variable `module`. */
7491
- var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
7492
-
7493
- /** Detect the popular CommonJS extension `module.exports`. */
7494
- var moduleExports = freeModule && freeModule.exports === freeExports;
7495
-
7496
- /** Built-in value references. */
7497
- var Buffer = moduleExports ? root.Buffer : undefined,
7498
- allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;
7499
-
7500
- /**
7501
- * Creates a clone of `buffer`.
7502
- *
7503
- * @private
7504
- * @param {Buffer} buffer The buffer to clone.
7505
- * @param {boolean} [isDeep] Specify a deep clone.
7506
- * @returns {Buffer} Returns the cloned buffer.
7507
- */
7508
- function cloneBuffer(buffer, isDeep) {
7509
- if (isDeep) {
7510
- return buffer.slice();
7511
- }
7512
- var length = buffer.length,
7513
- result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
7514
-
7515
- buffer.copy(result);
7516
- return result;
7517
- }
7337
+ (function (module, exports) {
7338
+ var root = _root;
7339
+
7340
+ /** Detect free variable `exports`. */
7341
+ var freeExports = exports && !exports.nodeType && exports;
7518
7342
 
7519
- module.exports = cloneBuffer;
7343
+ /** Detect free variable `module`. */
7344
+ var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
7345
+
7346
+ /** Detect the popular CommonJS extension `module.exports`. */
7347
+ var moduleExports = freeModule && freeModule.exports === freeExports;
7348
+
7349
+ /** Built-in value references. */
7350
+ var Buffer = moduleExports ? root.Buffer : undefined,
7351
+ allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;
7352
+
7353
+ /**
7354
+ * Creates a clone of `buffer`.
7355
+ *
7356
+ * @private
7357
+ * @param {Buffer} buffer The buffer to clone.
7358
+ * @param {boolean} [isDeep] Specify a deep clone.
7359
+ * @returns {Buffer} Returns the cloned buffer.
7360
+ */
7361
+ function cloneBuffer(buffer, isDeep) {
7362
+ if (isDeep) {
7363
+ return buffer.slice();
7364
+ }
7365
+ var length = buffer.length,
7366
+ result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
7367
+
7368
+ buffer.copy(result);
7369
+ return result;
7370
+ }
7371
+
7372
+ module.exports = cloneBuffer;
7520
7373
  } (_cloneBuffer, _cloneBufferExports));
7521
- return _cloneBufferExports;
7522
- }
7523
7374
 
7524
7375
  /**
7525
7376
  * A specialized version of `_.filter` for arrays without support for
@@ -7646,12 +7497,12 @@ var _arrayPush = arrayPush$3;
7646
7497
  var overArg = _overArg;
7647
7498
 
7648
7499
  /** Built-in value references. */
7649
- var getPrototype$2 = overArg(Object.getPrototypeOf, Object);
7500
+ var getPrototype$3 = overArg(Object.getPrototypeOf, Object);
7650
7501
 
7651
- var _getPrototype = getPrototype$2;
7502
+ var _getPrototype = getPrototype$3;
7652
7503
 
7653
7504
  var arrayPush$2 = _arrayPush,
7654
- getPrototype$1 = _getPrototype,
7505
+ getPrototype$2 = _getPrototype,
7655
7506
  getSymbols$1 = _getSymbols,
7656
7507
  stubArray = stubArray_1;
7657
7508
 
@@ -7669,7 +7520,7 @@ var getSymbolsIn$2 = !nativeGetSymbols ? stubArray : function(object) {
7669
7520
  var result = [];
7670
7521
  while (object) {
7671
7522
  arrayPush$2(result, getSymbols$1(object));
7672
- object = getPrototype$1(object);
7523
+ object = getPrototype$2(object);
7673
7524
  }
7674
7525
  return result;
7675
7526
  };
@@ -7750,26 +7601,26 @@ function getAllKeysIn$1(object) {
7750
7601
  var _getAllKeysIn = getAllKeysIn$1;
7751
7602
 
7752
7603
  var getNative$2 = _getNative,
7753
- root$2 = _root;
7604
+ root$3 = _root;
7754
7605
 
7755
7606
  /* Built-in method references that are verified to be native. */
7756
- var DataView$2 = getNative$2(root$2, 'DataView');
7607
+ var DataView$2 = getNative$2(root$3, 'DataView');
7757
7608
 
7758
7609
  var _DataView = DataView$2;
7759
7610
 
7760
7611
  var getNative$1 = _getNative,
7761
- root$1 = _root;
7612
+ root$2 = _root;
7762
7613
 
7763
7614
  /* Built-in method references that are verified to be native. */
7764
- var Promise$2 = getNative$1(root$1, 'Promise');
7615
+ var Promise$2 = getNative$1(root$2, 'Promise');
7765
7616
 
7766
7617
  var _Promise = Promise$2;
7767
7618
 
7768
7619
  var getNative = _getNative,
7769
- root = _root;
7620
+ root$1 = _root;
7770
7621
 
7771
7622
  /* Built-in method references that are verified to be native. */
7772
- var Set$2 = getNative(root, 'Set');
7623
+ var Set$2 = getNative(root$1, 'Set');
7773
7624
 
7774
7625
  var _Set = Set$2;
7775
7626
 
@@ -7860,47 +7711,31 @@ function initCloneArray$1(array) {
7860
7711
 
7861
7712
  var _initCloneArray = initCloneArray$1;
7862
7713
 
7863
- var _Uint8Array;
7864
- var hasRequired_Uint8Array;
7865
-
7866
- function require_Uint8Array () {
7867
- if (hasRequired_Uint8Array) return _Uint8Array;
7868
- hasRequired_Uint8Array = 1;
7869
- var root = _root;
7870
-
7871
- /** Built-in value references. */
7872
- var Uint8Array = root.Uint8Array;
7873
-
7874
- _Uint8Array = Uint8Array;
7875
- return _Uint8Array;
7876
- }
7714
+ var root = _root;
7877
7715
 
7878
- var _cloneArrayBuffer;
7879
- var hasRequired_cloneArrayBuffer;
7716
+ /** Built-in value references. */
7717
+ var Uint8Array$3 = root.Uint8Array;
7880
7718
 
7881
- function require_cloneArrayBuffer () {
7882
- if (hasRequired_cloneArrayBuffer) return _cloneArrayBuffer;
7883
- hasRequired_cloneArrayBuffer = 1;
7884
- var Uint8Array = require_Uint8Array();
7719
+ var _Uint8Array = Uint8Array$3;
7885
7720
 
7886
- /**
7887
- * Creates a clone of `arrayBuffer`.
7888
- *
7889
- * @private
7890
- * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
7891
- * @returns {ArrayBuffer} Returns the cloned array buffer.
7892
- */
7893
- function cloneArrayBuffer(arrayBuffer) {
7894
- var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
7895
- new Uint8Array(result).set(new Uint8Array(arrayBuffer));
7896
- return result;
7897
- }
7721
+ var Uint8Array$2 = _Uint8Array;
7898
7722
 
7899
- _cloneArrayBuffer = cloneArrayBuffer;
7900
- return _cloneArrayBuffer;
7723
+ /**
7724
+ * Creates a clone of `arrayBuffer`.
7725
+ *
7726
+ * @private
7727
+ * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
7728
+ * @returns {ArrayBuffer} Returns the cloned array buffer.
7729
+ */
7730
+ function cloneArrayBuffer$2(arrayBuffer) {
7731
+ var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
7732
+ new Uint8Array$2(result).set(new Uint8Array$2(arrayBuffer));
7733
+ return result;
7901
7734
  }
7902
7735
 
7903
- var cloneArrayBuffer$1 = require_cloneArrayBuffer();
7736
+ var _cloneArrayBuffer = cloneArrayBuffer$2;
7737
+
7738
+ var cloneArrayBuffer$1 = _cloneArrayBuffer;
7904
7739
 
7905
7740
  /**
7906
7741
  * Creates a clone of `dataView`.
@@ -7961,7 +7796,7 @@ var hasRequired_cloneTypedArray;
7961
7796
  function require_cloneTypedArray () {
7962
7797
  if (hasRequired_cloneTypedArray) return _cloneTypedArray;
7963
7798
  hasRequired_cloneTypedArray = 1;
7964
- var cloneArrayBuffer = require_cloneArrayBuffer();
7799
+ var cloneArrayBuffer = _cloneArrayBuffer;
7965
7800
 
7966
7801
  /**
7967
7802
  * Creates a clone of `typedArray`.
@@ -7980,7 +7815,7 @@ function require_cloneTypedArray () {
7980
7815
  return _cloneTypedArray;
7981
7816
  }
7982
7817
 
7983
- var cloneArrayBuffer = require_cloneArrayBuffer(),
7818
+ var cloneArrayBuffer = _cloneArrayBuffer,
7984
7819
  cloneDataView = _cloneDataView,
7985
7820
  cloneRegExp = _cloneRegExp,
7986
7821
  cloneSymbol = _cloneSymbol,
@@ -8058,33 +7893,25 @@ function initCloneByTag$1(object, tag, isDeep) {
8058
7893
 
8059
7894
  var _initCloneByTag = initCloneByTag$1;
8060
7895
 
8061
- var _initCloneObject;
8062
- var hasRequired_initCloneObject;
8063
-
8064
- function require_initCloneObject () {
8065
- if (hasRequired_initCloneObject) return _initCloneObject;
8066
- hasRequired_initCloneObject = 1;
8067
- var baseCreate = require_baseCreate(),
8068
- getPrototype = _getPrototype,
8069
- isPrototype = _isPrototype;
8070
-
8071
- /**
8072
- * Initializes an object clone.
8073
- *
8074
- * @private
8075
- * @param {Object} object The object to clone.
8076
- * @returns {Object} Returns the initialized clone.
8077
- */
8078
- function initCloneObject(object) {
8079
- return (typeof object.constructor == 'function' && !isPrototype(object))
8080
- ? baseCreate(getPrototype(object))
8081
- : {};
8082
- }
7896
+ var baseCreate = _baseCreate,
7897
+ getPrototype$1 = _getPrototype,
7898
+ isPrototype = _isPrototype;
8083
7899
 
8084
- _initCloneObject = initCloneObject;
8085
- return _initCloneObject;
7900
+ /**
7901
+ * Initializes an object clone.
7902
+ *
7903
+ * @private
7904
+ * @param {Object} object The object to clone.
7905
+ * @returns {Object} Returns the initialized clone.
7906
+ */
7907
+ function initCloneObject$1(object) {
7908
+ return (typeof object.constructor == 'function' && !isPrototype(object))
7909
+ ? baseCreate(getPrototype$1(object))
7910
+ : {};
8086
7911
  }
8087
7912
 
7913
+ var _initCloneObject = initCloneObject$1;
7914
+
8088
7915
  var getTag$4 = _getTag,
8089
7916
  isObjectLike$5 = isObjectLike_1;
8090
7917
 
@@ -8105,8 +7932,8 @@ function baseIsMap$1(value) {
8105
7932
  var _baseIsMap = baseIsMap$1;
8106
7933
 
8107
7934
  var baseIsMap = _baseIsMap,
8108
- baseUnary$1 = require_baseUnary(),
8109
- nodeUtil$1 = require_nodeUtil();
7935
+ baseUnary$1 = _baseUnary,
7936
+ nodeUtil$1 = _nodeUtilExports;
8110
7937
 
8111
7938
  /* Node.js helper references. */
8112
7939
  var nodeIsMap = nodeUtil$1 && nodeUtil$1.isMap;
@@ -8152,8 +7979,8 @@ function baseIsSet$1(value) {
8152
7979
  var _baseIsSet = baseIsSet$1;
8153
7980
 
8154
7981
  var baseIsSet = _baseIsSet,
8155
- baseUnary = require_baseUnary(),
8156
- nodeUtil = require_nodeUtil();
7982
+ baseUnary = _baseUnary,
7983
+ nodeUtil = _nodeUtilExports;
8157
7984
 
8158
7985
  /* Node.js helper references. */
8159
7986
  var nodeIsSet = nodeUtil && nodeUtil.isSet;
@@ -8184,7 +8011,7 @@ var Stack$2 = require_Stack(),
8184
8011
  assignValue = _assignValue,
8185
8012
  baseAssign = _baseAssign,
8186
8013
  baseAssignIn = _baseAssignIn,
8187
- cloneBuffer = require_cloneBuffer(),
8014
+ cloneBuffer = _cloneBufferExports,
8188
8015
  copyArray$1 = _copyArray,
8189
8016
  copySymbols = _copySymbols,
8190
8017
  copySymbolsIn = _copySymbolsIn,
@@ -8193,11 +8020,11 @@ var Stack$2 = require_Stack(),
8193
8020
  getTag$2 = _getTag,
8194
8021
  initCloneArray = _initCloneArray,
8195
8022
  initCloneByTag = _initCloneByTag,
8196
- initCloneObject = require_initCloneObject(),
8023
+ initCloneObject = _initCloneObject,
8197
8024
  isArray$d = isArray_1,
8198
- isBuffer$3 = requireIsBuffer(),
8025
+ isBuffer$3 = isBufferExports,
8199
8026
  isMap$1 = isMap_1,
8200
- isObject$2 = requireIsObject(),
8027
+ isObject$2 = isObject_1,
8201
8028
  isSet$1 = isSet_1,
8202
8029
  keys$1 = keys_1,
8203
8030
  keysIn = requireKeysIn();
@@ -8801,7 +8628,7 @@ function setToArray$1(set) {
8801
8628
  var _setToArray = setToArray$1;
8802
8629
 
8803
8630
  var Symbol$3 = _Symbol,
8804
- Uint8Array$1 = require_Uint8Array(),
8631
+ Uint8Array$1 = _Uint8Array,
8805
8632
  eq = requireEq(),
8806
8633
  equalArrays$1 = _equalArrays,
8807
8634
  mapToArray = _mapToArray,
@@ -9010,7 +8837,7 @@ var Stack$1 = require_Stack(),
9010
8837
  equalObjects = _equalObjects,
9011
8838
  getTag = _getTag,
9012
8839
  isArray$c = isArray_1,
9013
- isBuffer$2 = requireIsBuffer(),
8840
+ isBuffer$2 = isBufferExports,
9014
8841
  isTypedArray = requireIsTypedArray();
9015
8842
 
9016
8843
  /** Used to compose bitmasks for value comparisons. */
@@ -9180,7 +9007,7 @@ function baseIsMatch$1(object, source, matchData, customizer) {
9180
9007
 
9181
9008
  var _baseIsMatch = baseIsMatch$1;
9182
9009
 
9183
- var isObject$1 = requireIsObject();
9010
+ var isObject$1 = isObject_1;
9184
9011
 
9185
9012
  /**
9186
9013
  * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
@@ -9637,7 +9464,7 @@ var castPath = _castPath,
9637
9464
  isArguments$1 = requireIsArguments(),
9638
9465
  isArray$8 = isArray_1,
9639
9466
  isIndex = require_isIndex(),
9640
- isLength = requireIsLength(),
9467
+ isLength = isLength_1,
9641
9468
  toKey$3 = _toKey;
9642
9469
 
9643
9470
  /**
@@ -9810,7 +9637,7 @@ var property_1 = property$1;
9810
9637
 
9811
9638
  var baseMatches = _baseMatches,
9812
9639
  baseMatchesProperty = _baseMatchesProperty,
9813
- identity = requireIdentity(),
9640
+ identity = identity_1,
9814
9641
  isArray$7 = isArray_1,
9815
9642
  property = property_1;
9816
9643
 
@@ -9977,54 +9804,46 @@ function flatten$1(array) {
9977
9804
 
9978
9805
  var flatten_1 = flatten$1;
9979
9806
 
9980
- var _overRest;
9981
- var hasRequired_overRest;
9807
+ var apply = _apply;
9982
9808
 
9983
- function require_overRest () {
9984
- if (hasRequired_overRest) return _overRest;
9985
- hasRequired_overRest = 1;
9986
- var apply = require_apply();
9987
-
9988
- /* Built-in method references for those with the same name as other `lodash` methods. */
9989
- var nativeMax = Math.max;
9990
-
9991
- /**
9992
- * A specialized version of `baseRest` which transforms the rest array.
9993
- *
9994
- * @private
9995
- * @param {Function} func The function to apply a rest parameter to.
9996
- * @param {number} [start=func.length-1] The start position of the rest parameter.
9997
- * @param {Function} transform The rest array transform.
9998
- * @returns {Function} Returns the new function.
9999
- */
10000
- function overRest(func, start, transform) {
10001
- start = nativeMax(start === undefined ? (func.length - 1) : start, 0);
10002
- return function() {
10003
- var args = arguments,
10004
- index = -1,
10005
- length = nativeMax(args.length - start, 0),
10006
- array = Array(length);
9809
+ /* Built-in method references for those with the same name as other `lodash` methods. */
9810
+ var nativeMax = Math.max;
10007
9811
 
10008
- while (++index < length) {
10009
- array[index] = args[start + index];
10010
- }
10011
- index = -1;
10012
- var otherArgs = Array(start + 1);
10013
- while (++index < start) {
10014
- otherArgs[index] = args[index];
10015
- }
10016
- otherArgs[start] = transform(array);
10017
- return apply(func, this, otherArgs);
10018
- };
10019
- }
9812
+ /**
9813
+ * A specialized version of `baseRest` which transforms the rest array.
9814
+ *
9815
+ * @private
9816
+ * @param {Function} func The function to apply a rest parameter to.
9817
+ * @param {number} [start=func.length-1] The start position of the rest parameter.
9818
+ * @param {Function} transform The rest array transform.
9819
+ * @returns {Function} Returns the new function.
9820
+ */
9821
+ function overRest$1(func, start, transform) {
9822
+ start = nativeMax(start === undefined ? (func.length - 1) : start, 0);
9823
+ return function() {
9824
+ var args = arguments,
9825
+ index = -1,
9826
+ length = nativeMax(args.length - start, 0),
9827
+ array = Array(length);
10020
9828
 
10021
- _overRest = overRest;
10022
- return _overRest;
9829
+ while (++index < length) {
9830
+ array[index] = args[start + index];
9831
+ }
9832
+ index = -1;
9833
+ var otherArgs = Array(start + 1);
9834
+ while (++index < start) {
9835
+ otherArgs[index] = args[index];
9836
+ }
9837
+ otherArgs[start] = transform(array);
9838
+ return apply(func, this, otherArgs);
9839
+ };
10023
9840
  }
10024
9841
 
9842
+ var _overRest = overRest$1;
9843
+
10025
9844
  var flatten = flatten_1,
10026
- overRest = require_overRest(),
10027
- setToString = require_setToString();
9845
+ overRest = _overRest,
9846
+ setToString = _setToString;
10028
9847
 
10029
9848
  /**
10030
9849
  * A specialized version of `baseRest` which flattens the rest array.
@@ -10149,7 +9968,7 @@ var hasRequired_assignMergeValue;
10149
9968
  function require_assignMergeValue () {
10150
9969
  if (hasRequired_assignMergeValue) return _assignMergeValue;
10151
9970
  hasRequired_assignMergeValue = 1;
10152
- var baseAssignValue = require_baseAssignValue(),
9971
+ var baseAssignValue = _baseAssignValue,
10153
9972
  eq = requireEq();
10154
9973
 
10155
9974
  /**
@@ -10238,7 +10057,7 @@ var hasRequiredIsArrayLikeObject;
10238
10057
  function requireIsArrayLikeObject () {
10239
10058
  if (hasRequiredIsArrayLikeObject) return isArrayLikeObject_1;
10240
10059
  hasRequiredIsArrayLikeObject = 1;
10241
- var isArrayLike = requireIsArrayLike(),
10060
+ var isArrayLike = isArrayLike_1,
10242
10061
  isObjectLike = isObjectLike_1;
10243
10062
 
10244
10063
  /**
@@ -10353,16 +10172,16 @@ function require_baseMergeDeep () {
10353
10172
  if (hasRequired_baseMergeDeep) return _baseMergeDeep;
10354
10173
  hasRequired_baseMergeDeep = 1;
10355
10174
  var assignMergeValue = require_assignMergeValue(),
10356
- cloneBuffer = require_cloneBuffer(),
10175
+ cloneBuffer = _cloneBufferExports,
10357
10176
  cloneTypedArray = require_cloneTypedArray(),
10358
10177
  copyArray = _copyArray,
10359
- initCloneObject = require_initCloneObject(),
10178
+ initCloneObject = _initCloneObject,
10360
10179
  isArguments = requireIsArguments(),
10361
10180
  isArray = isArray_1,
10362
10181
  isArrayLikeObject = requireIsArrayLikeObject(),
10363
- isBuffer = requireIsBuffer(),
10182
+ isBuffer = isBufferExports,
10364
10183
  isFunction = isFunction_1,
10365
- isObject = requireIsObject(),
10184
+ isObject = isObject_1,
10366
10185
  isPlainObject = isPlainObject_1,
10367
10186
  isTypedArray = requireIsTypedArray(),
10368
10187
  safeGet = require_safeGet(),
@@ -10459,7 +10278,7 @@ function require_baseMerge () {
10459
10278
  assignMergeValue = require_assignMergeValue(),
10460
10279
  baseFor = require_baseFor(),
10461
10280
  baseMergeDeep = require_baseMergeDeep(),
10462
- isObject = requireIsObject(),
10281
+ isObject = isObject_1,
10463
10282
  keysIn = requireKeysIn(),
10464
10283
  safeGet = require_safeGet();
10465
10284
 
@@ -10506,9 +10325,9 @@ var hasRequired_baseRest;
10506
10325
  function require_baseRest () {
10507
10326
  if (hasRequired_baseRest) return _baseRest;
10508
10327
  hasRequired_baseRest = 1;
10509
- var identity = requireIdentity(),
10510
- overRest = require_overRest(),
10511
- setToString = require_setToString();
10328
+ var identity = identity_1,
10329
+ overRest = _overRest,
10330
+ setToString = _setToString;
10512
10331
 
10513
10332
  /**
10514
10333
  * The base implementation of `_.rest` which doesn't validate or coerce arguments.
@@ -10533,9 +10352,9 @@ function require_isIterateeCall () {
10533
10352
  if (hasRequired_isIterateeCall) return _isIterateeCall;
10534
10353
  hasRequired_isIterateeCall = 1;
10535
10354
  var eq = requireEq(),
10536
- isArrayLike = requireIsArrayLike(),
10355
+ isArrayLike = isArrayLike_1,
10537
10356
  isIndex = require_isIndex(),
10538
- isObject = requireIsObject();
10357
+ isObject = isObject_1;
10539
10358
 
10540
10359
  /**
10541
10360
  * Checks if the given arguments are from an iteratee call.