@shipengine/alchemy 6.0.96-next.0 → 6.0.96-next.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.
Files changed (3) hide show
  1. package/index.js +724 -552
  2. package/index.mjs +724 -552
  3. package/package.json +1 -1
package/index.mjs CHANGED
@@ -2266,7 +2266,7 @@ var syncFallback = function syncFallback(create) {
2266
2266
  var useInsertionEffect = React['useInsertion' + 'Effect'] ? React['useInsertion' + 'Effect'] : false;
2267
2267
  var useInsertionEffectAlwaysWithSyncFallback = useInsertionEffect || syncFallback;
2268
2268
 
2269
- var hasOwnProperty$b = {}.hasOwnProperty;
2269
+ var hasOwnProperty$a = {}.hasOwnProperty;
2270
2270
 
2271
2271
  var EmotionCacheContext = /* #__PURE__ */createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
2272
2272
  // because this module is primarily intended for the browser and node
@@ -2353,7 +2353,7 @@ var createEmotionProps = function createEmotionProps(type, props) {
2353
2353
  var newProps = {};
2354
2354
 
2355
2355
  for (var key in props) {
2356
- if (hasOwnProperty$b.call(props, key)) {
2356
+ if (hasOwnProperty$a.call(props, key)) {
2357
2357
  newProps[key] = props[key];
2358
2358
  }
2359
2359
  }
@@ -2414,7 +2414,7 @@ var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
2414
2414
  var newProps = {};
2415
2415
 
2416
2416
  for (var key in props) {
2417
- if (hasOwnProperty$b.call(props, key) && key !== 'css' && key !== typePropName && (process.env.NODE_ENV === 'production' || key !== labelPropName)) {
2417
+ if (hasOwnProperty$a.call(props, key) && key !== 'css' && key !== typePropName && (process.env.NODE_ENV === 'production' || key !== labelPropName)) {
2418
2418
  newProps[key] = props[key];
2419
2419
  }
2420
2420
  }
@@ -2433,7 +2433,7 @@ if (process.env.NODE_ENV !== 'production') {
2433
2433
  }
2434
2434
 
2435
2435
  function jsx(type, props, key) {
2436
- if (!hasOwnProperty$b.call(props, 'css')) {
2436
+ if (!hasOwnProperty$a.call(props, 'css')) {
2437
2437
  return jsx$1(type, props, key);
2438
2438
  }
2439
2439
 
@@ -3413,11 +3413,19 @@ var _baseConvert = baseConvert$1;
3413
3413
  * // => true
3414
3414
  */
3415
3415
 
3416
- function identity$3(value) {
3417
- return value;
3418
- }
3416
+ var identity_1;
3417
+ var hasRequiredIdentity;
3419
3418
 
3420
- var identity_1 = identity$3;
3419
+ function requireIdentity () {
3420
+ if (hasRequiredIdentity) return identity_1;
3421
+ hasRequiredIdentity = 1;
3422
+ function identity(value) {
3423
+ return value;
3424
+ }
3425
+
3426
+ identity_1 = identity;
3427
+ return identity_1;
3428
+ }
3421
3429
 
3422
3430
  /** Detect free variable `global` from Node.js. */
3423
3431
 
@@ -3431,31 +3439,31 @@ var freeGlobal = _freeGlobal;
3431
3439
  var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
3432
3440
 
3433
3441
  /** Used as a reference to the global object. */
3434
- var root$c = freeGlobal || freeSelf || Function('return this')();
3442
+ var root$b = freeGlobal || freeSelf || Function('return this')();
3435
3443
 
3436
- var _root = root$c;
3444
+ var _root = root$b;
3437
3445
 
3438
- var root$b = _root;
3446
+ var root$a = _root;
3439
3447
 
3440
3448
  /** Built-in value references. */
3441
- var Symbol$7 = root$b.Symbol;
3449
+ var Symbol$7 = root$a.Symbol;
3442
3450
 
3443
3451
  var _Symbol = Symbol$7;
3444
3452
 
3445
3453
  var Symbol$6 = _Symbol;
3446
3454
 
3447
3455
  /** Used for built-in method references. */
3448
- var objectProto$d = Object.prototype;
3456
+ var objectProto$c = Object.prototype;
3449
3457
 
3450
3458
  /** Used to check objects for own properties. */
3451
- var hasOwnProperty$a = objectProto$d.hasOwnProperty;
3459
+ var hasOwnProperty$9 = objectProto$c.hasOwnProperty;
3452
3460
 
3453
3461
  /**
3454
3462
  * Used to resolve the
3455
3463
  * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
3456
3464
  * of values.
3457
3465
  */
3458
- var nativeObjectToString$1 = objectProto$d.toString;
3466
+ var nativeObjectToString$1 = objectProto$c.toString;
3459
3467
 
3460
3468
  /** Built-in value references. */
3461
3469
  var symToStringTag$1 = Symbol$6 ? Symbol$6.toStringTag : undefined;
@@ -3468,7 +3476,7 @@ var symToStringTag$1 = Symbol$6 ? Symbol$6.toStringTag : undefined;
3468
3476
  * @returns {string} Returns the raw `toStringTag`.
3469
3477
  */
3470
3478
  function getRawTag$1(value) {
3471
- var isOwn = hasOwnProperty$a.call(value, symToStringTag$1),
3479
+ var isOwn = hasOwnProperty$9.call(value, symToStringTag$1),
3472
3480
  tag = value[symToStringTag$1];
3473
3481
 
3474
3482
  try {
@@ -3491,14 +3499,14 @@ var _getRawTag = getRawTag$1;
3491
3499
 
3492
3500
  /** Used for built-in method references. */
3493
3501
 
3494
- var objectProto$c = Object.prototype;
3502
+ var objectProto$b = Object.prototype;
3495
3503
 
3496
3504
  /**
3497
3505
  * Used to resolve the
3498
3506
  * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
3499
3507
  * of values.
3500
3508
  */
3501
- var nativeObjectToString = objectProto$c.toString;
3509
+ var nativeObjectToString = objectProto$b.toString;
3502
3510
 
3503
3511
  /**
3504
3512
  * Converts `value` to a string using `Object.prototype.toString`.
@@ -3568,15 +3576,23 @@ var _baseGetTag = baseGetTag$5;
3568
3576
  * // => false
3569
3577
  */
3570
3578
 
3571
- function isObject$8(value) {
3572
- var type = typeof value;
3573
- return value != null && (type == 'object' || type == 'function');
3574
- }
3579
+ var isObject_1;
3580
+ var hasRequiredIsObject;
3575
3581
 
3576
- var isObject_1 = isObject$8;
3582
+ function requireIsObject () {
3583
+ if (hasRequiredIsObject) return isObject_1;
3584
+ hasRequiredIsObject = 1;
3585
+ function isObject(value) {
3586
+ var type = typeof value;
3587
+ return value != null && (type == 'object' || type == 'function');
3588
+ }
3589
+
3590
+ isObject_1 = isObject;
3591
+ return isObject_1;
3592
+ }
3577
3593
 
3578
3594
  var baseGetTag$4 = _baseGetTag,
3579
- isObject$7 = isObject_1;
3595
+ isObject$6 = requireIsObject();
3580
3596
 
3581
3597
  /** `Object#toString` result references. */
3582
3598
  var asyncTag = '[object AsyncFunction]',
@@ -3601,8 +3617,8 @@ var asyncTag = '[object AsyncFunction]',
3601
3617
  * _.isFunction(/abc/);
3602
3618
  * // => false
3603
3619
  */
3604
- function isFunction$3(value) {
3605
- if (!isObject$7(value)) {
3620
+ function isFunction$2(value) {
3621
+ if (!isObject$6(value)) {
3606
3622
  return false;
3607
3623
  }
3608
3624
  // The use of `Object#toString` avoids issues with the `typeof` operator
@@ -3611,12 +3627,12 @@ function isFunction$3(value) {
3611
3627
  return tag == funcTag$1 || tag == genTag$1 || tag == asyncTag || tag == proxyTag;
3612
3628
  }
3613
3629
 
3614
- var isFunction_1 = isFunction$3;
3630
+ var isFunction_1 = isFunction$2;
3615
3631
 
3616
- var root$a = _root;
3632
+ var root$9 = _root;
3617
3633
 
3618
3634
  /** Used to detect overreaching core-js shims. */
3619
- var coreJsData$1 = root$a['__core-js_shared__'];
3635
+ var coreJsData$1 = root$9['__core-js_shared__'];
3620
3636
 
3621
3637
  var _coreJsData = coreJsData$1;
3622
3638
 
@@ -3669,9 +3685,9 @@ function toSource$2(func) {
3669
3685
 
3670
3686
  var _toSource = toSource$2;
3671
3687
 
3672
- var isFunction$2 = isFunction_1,
3688
+ var isFunction$1 = isFunction_1,
3673
3689
  isMasked = _isMasked,
3674
- isObject$6 = isObject_1,
3690
+ isObject$5 = requireIsObject(),
3675
3691
  toSource$1 = _toSource;
3676
3692
 
3677
3693
  /**
@@ -3685,17 +3701,17 @@ var reIsHostCtor = /^\[object .+?Constructor\]$/;
3685
3701
 
3686
3702
  /** Used for built-in method references. */
3687
3703
  var funcProto$1 = Function.prototype,
3688
- objectProto$b = Object.prototype;
3704
+ objectProto$a = Object.prototype;
3689
3705
 
3690
3706
  /** Used to resolve the decompiled source of functions. */
3691
3707
  var funcToString$1 = funcProto$1.toString;
3692
3708
 
3693
3709
  /** Used to check objects for own properties. */
3694
- var hasOwnProperty$9 = objectProto$b.hasOwnProperty;
3710
+ var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
3695
3711
 
3696
3712
  /** Used to detect if a method is native. */
3697
3713
  var reIsNative = RegExp('^' +
3698
- funcToString$1.call(hasOwnProperty$9).replace(reRegExpChar, '\\$&')
3714
+ funcToString$1.call(hasOwnProperty$8).replace(reRegExpChar, '\\$&')
3699
3715
  .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
3700
3716
  );
3701
3717
 
@@ -3708,10 +3724,10 @@ var reIsNative = RegExp('^' +
3708
3724
  * else `false`.
3709
3725
  */
3710
3726
  function baseIsNative$1(value) {
3711
- if (!isObject$6(value) || isMasked(value)) {
3727
+ if (!isObject$5(value) || isMasked(value)) {
3712
3728
  return false;
3713
3729
  }
3714
- var pattern = isFunction$2(value) ? reIsNative : reIsHostCtor;
3730
+ var pattern = isFunction$1(value) ? reIsNative : reIsHostCtor;
3715
3731
  return pattern.test(toSource$1(value));
3716
3732
  }
3717
3733
 
@@ -3743,18 +3759,18 @@ var baseIsNative = _baseIsNative,
3743
3759
  * @param {string} key The key of the method to get.
3744
3760
  * @returns {*} Returns the function if it's native, else `undefined`.
3745
3761
  */
3746
- function getNative$6(object, key) {
3762
+ function getNative$5(object, key) {
3747
3763
  var value = getValue(object, key);
3748
3764
  return baseIsNative(value) ? value : undefined;
3749
3765
  }
3750
3766
 
3751
- var _getNative = getNative$6;
3767
+ var _getNative = getNative$5;
3752
3768
 
3753
- var getNative$5 = _getNative,
3754
- root$9 = _root;
3769
+ var getNative$4 = _getNative,
3770
+ root$8 = _root;
3755
3771
 
3756
3772
  /* Built-in method references that are verified to be native. */
3757
- var WeakMap$3 = getNative$5(root$9, 'WeakMap');
3773
+ var WeakMap$3 = getNative$4(root$8, 'WeakMap');
3758
3774
 
3759
3775
  var _WeakMap = WeakMap$3;
3760
3776
 
@@ -3765,7 +3781,7 @@ var metaMap$2 = WeakMap$2 && new WeakMap$2;
3765
3781
 
3766
3782
  var _metaMap = metaMap$2;
3767
3783
 
3768
- var identity$2 = identity_1,
3784
+ var identity$1 = requireIdentity(),
3769
3785
  metaMap$1 = _metaMap;
3770
3786
 
3771
3787
  /**
@@ -3776,46 +3792,54 @@ var identity$2 = identity_1,
3776
3792
  * @param {*} data The metadata.
3777
3793
  * @returns {Function} Returns `func`.
3778
3794
  */
3779
- var baseSetData$2 = !metaMap$1 ? identity$2 : function(func, data) {
3795
+ var baseSetData$2 = !metaMap$1 ? identity$1 : function(func, data) {
3780
3796
  metaMap$1.set(func, data);
3781
3797
  return func;
3782
3798
  };
3783
3799
 
3784
3800
  var _baseSetData = baseSetData$2;
3785
3801
 
3786
- var isObject$5 = isObject_1;
3802
+ var _baseCreate;
3803
+ var hasRequired_baseCreate;
3787
3804
 
3788
- /** Built-in value references. */
3789
- var objectCreate = Object.create;
3805
+ function require_baseCreate () {
3806
+ if (hasRequired_baseCreate) return _baseCreate;
3807
+ hasRequired_baseCreate = 1;
3808
+ var isObject = requireIsObject();
3790
3809
 
3791
- /**
3792
- * The base implementation of `_.create` without support for assigning
3793
- * properties to the created object.
3794
- *
3795
- * @private
3796
- * @param {Object} proto The object to inherit from.
3797
- * @returns {Object} Returns the new object.
3798
- */
3799
- var baseCreate$4 = (function() {
3800
- function object() {}
3801
- return function(proto) {
3802
- if (!isObject$5(proto)) {
3803
- return {};
3804
- }
3805
- if (objectCreate) {
3806
- return objectCreate(proto);
3807
- }
3808
- object.prototype = proto;
3809
- var result = new object;
3810
- object.prototype = undefined;
3811
- return result;
3812
- };
3813
- }());
3810
+ /** Built-in value references. */
3811
+ var objectCreate = Object.create;
3814
3812
 
3815
- var _baseCreate = baseCreate$4;
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 = (function() {
3822
+ function object() {}
3823
+ return function(proto) {
3824
+ if (!isObject(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
+ }());
3816
3836
 
3817
- var baseCreate$3 = _baseCreate,
3818
- isObject$4 = isObject_1;
3837
+ _baseCreate = baseCreate;
3838
+ return _baseCreate;
3839
+ }
3840
+
3841
+ var baseCreate$2 = require_baseCreate(),
3842
+ isObject$4 = requireIsObject();
3819
3843
 
3820
3844
  /**
3821
3845
  * Creates a function that produces an instance of `Ctor` regardless of
@@ -3841,7 +3865,7 @@ function createCtor$4(Ctor) {
3841
3865
  case 6: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5]);
3842
3866
  case 7: return new Ctor(args[0], args[1], args[2], args[3], args[4], args[5], args[6]);
3843
3867
  }
3844
- var thisBinding = baseCreate$3(Ctor.prototype),
3868
+ var thisBinding = baseCreate$2(Ctor.prototype),
3845
3869
  result = Ctor.apply(thisBinding, args);
3846
3870
 
3847
3871
  // Mimic the constructor's `return` behavior.
@@ -3853,7 +3877,7 @@ function createCtor$4(Ctor) {
3853
3877
  var _createCtor = createCtor$4;
3854
3878
 
3855
3879
  var createCtor$3 = _createCtor,
3856
- root$8 = _root;
3880
+ root$7 = _root;
3857
3881
 
3858
3882
  /** Used to compose bitmasks for function metadata. */
3859
3883
  var WRAP_BIND_FLAG$6 = 1;
@@ -3873,7 +3897,7 @@ function createBind$1(func, bitmask, thisArg) {
3873
3897
  Ctor = createCtor$3(func);
3874
3898
 
3875
3899
  function wrapper() {
3876
- var fn = (this && this !== root$8 && this instanceof wrapper) ? Ctor : func;
3900
+ var fn = (this && this !== root$7 && this instanceof wrapper) ? Ctor : func;
3877
3901
  return fn.apply(isBind ? thisArg : this, arguments);
3878
3902
  }
3879
3903
  return wrapper;
@@ -3892,7 +3916,7 @@ var _createBind = createBind$1;
3892
3916
  * @returns {*} Returns the result of `func`.
3893
3917
  */
3894
3918
 
3895
- function apply$3(func, thisArg, args) {
3919
+ function apply$2(func, thisArg, args) {
3896
3920
  switch (args.length) {
3897
3921
  case 0: return func.call(thisArg);
3898
3922
  case 1: return func.call(thisArg, args[0]);
@@ -3902,11 +3926,11 @@ function apply$3(func, thisArg, args) {
3902
3926
  return func.apply(thisArg, args);
3903
3927
  }
3904
3928
 
3905
- var _apply = apply$3;
3929
+ var _apply = apply$2;
3906
3930
 
3907
3931
  /* Built-in method references for those with the same name as other `lodash` methods. */
3908
3932
 
3909
- var nativeMax$3 = Math.max;
3933
+ var nativeMax$2 = Math.max;
3910
3934
 
3911
3935
  /**
3912
3936
  * Creates an array that is the composition of partially applied arguments,
@@ -3925,7 +3949,7 @@ function composeArgs$2(args, partials, holders, isCurried) {
3925
3949
  holdersLength = holders.length,
3926
3950
  leftIndex = -1,
3927
3951
  leftLength = partials.length,
3928
- rangeLength = nativeMax$3(argsLength - holdersLength, 0),
3952
+ rangeLength = nativeMax$2(argsLength - holdersLength, 0),
3929
3953
  result = Array(leftLength + rangeLength),
3930
3954
  isUncurried = !isCurried;
3931
3955
 
@@ -3947,7 +3971,7 @@ var _composeArgs = composeArgs$2;
3947
3971
 
3948
3972
  /* Built-in method references for those with the same name as other `lodash` methods. */
3949
3973
 
3950
- var nativeMax$2 = Math.max;
3974
+ var nativeMax$1 = Math.max;
3951
3975
 
3952
3976
  /**
3953
3977
  * This function is like `composeArgs` except that the arguments composition
@@ -3967,7 +3991,7 @@ function composeArgsRight$2(args, partials, holders, isCurried) {
3967
3991
  holdersLength = holders.length,
3968
3992
  rightIndex = -1,
3969
3993
  rightLength = partials.length,
3970
- rangeLength = nativeMax$2(argsLength - holdersLength, 0),
3994
+ rangeLength = nativeMax$1(argsLength - holdersLength, 0),
3971
3995
  result = Array(rangeLength + rightLength),
3972
3996
  isUncurried = !isCurried;
3973
3997
 
@@ -4023,7 +4047,7 @@ function baseLodash$3() {
4023
4047
 
4024
4048
  var _baseLodash = baseLodash$3;
4025
4049
 
4026
- var baseCreate$2 = _baseCreate,
4050
+ var baseCreate$1 = require_baseCreate(),
4027
4051
  baseLodash$2 = _baseLodash;
4028
4052
 
4029
4053
  /** Used as references for the maximum length and index of an array. */
@@ -4047,7 +4071,7 @@ function LazyWrapper$3(value) {
4047
4071
  }
4048
4072
 
4049
4073
  // Ensure `LazyWrapper` is an instance of `baseLodash`.
4050
- LazyWrapper$3.prototype = baseCreate$2(baseLodash$2.prototype);
4074
+ LazyWrapper$3.prototype = baseCreate$1(baseLodash$2.prototype);
4051
4075
  LazyWrapper$3.prototype.constructor = LazyWrapper$3;
4052
4076
 
4053
4077
  var _LazyWrapper = LazyWrapper$3;
@@ -4096,10 +4120,10 @@ var _realNames = realNames$1;
4096
4120
  var realNames = _realNames;
4097
4121
 
4098
4122
  /** Used for built-in method references. */
4099
- var objectProto$a = Object.prototype;
4123
+ var objectProto$9 = Object.prototype;
4100
4124
 
4101
4125
  /** Used to check objects for own properties. */
4102
- var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
4126
+ var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
4103
4127
 
4104
4128
  /**
4105
4129
  * Gets the name of `func`.
@@ -4111,7 +4135,7 @@ var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
4111
4135
  function getFuncName$1(func) {
4112
4136
  var result = (func.name + ''),
4113
4137
  array = realNames[result],
4114
- length = hasOwnProperty$8.call(realNames, result) ? array.length : 0;
4138
+ length = hasOwnProperty$7.call(realNames, result) ? array.length : 0;
4115
4139
 
4116
4140
  while (length--) {
4117
4141
  var data = array[length],
@@ -4125,7 +4149,7 @@ function getFuncName$1(func) {
4125
4149
 
4126
4150
  var _getFuncName = getFuncName$1;
4127
4151
 
4128
- var baseCreate$1 = _baseCreate,
4152
+ var baseCreate = require_baseCreate(),
4129
4153
  baseLodash$1 = _baseLodash;
4130
4154
 
4131
4155
  /**
@@ -4143,7 +4167,7 @@ function LodashWrapper$2(value, chainAll) {
4143
4167
  this.__values__ = undefined;
4144
4168
  }
4145
4169
 
4146
- LodashWrapper$2.prototype = baseCreate$1(baseLodash$1.prototype);
4170
+ LodashWrapper$2.prototype = baseCreate(baseLodash$1.prototype);
4147
4171
  LodashWrapper$2.prototype.constructor = LodashWrapper$2;
4148
4172
 
4149
4173
  var _LodashWrapper = LodashWrapper$2;
@@ -4172,9 +4196,9 @@ var _LodashWrapper = LodashWrapper$2;
4172
4196
  * // => false
4173
4197
  */
4174
4198
 
4175
- var isArray$h = Array.isArray;
4199
+ var isArray$g = Array.isArray;
4176
4200
 
4177
- var isArray_1 = isArray$h;
4201
+ var isArray_1 = isArray$g;
4178
4202
 
4179
4203
  /**
4180
4204
  * Checks if `value` is object-like. A value is object-like if it's not `null`
@@ -4256,15 +4280,15 @@ var _wrapperClone = wrapperClone$1;
4256
4280
  var LazyWrapper$1 = _LazyWrapper,
4257
4281
  LodashWrapper = _LodashWrapper,
4258
4282
  baseLodash = _baseLodash,
4259
- isArray$g = isArray_1,
4283
+ isArray$f = isArray_1,
4260
4284
  isObjectLike$7 = isObjectLike_1,
4261
4285
  wrapperClone = _wrapperClone;
4262
4286
 
4263
4287
  /** Used for built-in method references. */
4264
- var objectProto$9 = Object.prototype;
4288
+ var objectProto$8 = Object.prototype;
4265
4289
 
4266
4290
  /** Used to check objects for own properties. */
4267
- var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
4291
+ var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
4268
4292
 
4269
4293
  /**
4270
4294
  * Creates a `lodash` object which wraps `value` to enable implicit method
@@ -4384,11 +4408,11 @@ var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
4384
4408
  * // => true
4385
4409
  */
4386
4410
  function lodash$2(value) {
4387
- if (isObjectLike$7(value) && !isArray$g(value) && !(value instanceof LazyWrapper$1)) {
4411
+ if (isObjectLike$7(value) && !isArray$f(value) && !(value instanceof LazyWrapper$1)) {
4388
4412
  if (value instanceof LodashWrapper) {
4389
4413
  return value;
4390
4414
  }
4391
- if (hasOwnProperty$7.call(value, '__wrapped__')) {
4415
+ if (hasOwnProperty$6.call(value, '__wrapped__')) {
4392
4416
  return wrapperClone(value);
4393
4417
  }
4394
4418
  }
@@ -4432,45 +4456,53 @@ var _isLaziable = isLaziable$1;
4432
4456
 
4433
4457
  /** Used to detect hot functions by number of calls within a span of milliseconds. */
4434
4458
 
4435
- var HOT_COUNT = 800,
4436
- HOT_SPAN = 16;
4459
+ var _shortOut;
4460
+ var hasRequired_shortOut;
4437
4461
 
4438
- /* Built-in method references for those with the same name as other `lodash` methods. */
4439
- var nativeNow = Date.now;
4462
+ function require_shortOut () {
4463
+ if (hasRequired_shortOut) return _shortOut;
4464
+ hasRequired_shortOut = 1;
4465
+ var HOT_COUNT = 800,
4466
+ HOT_SPAN = 16;
4440
4467
 
4441
- /**
4442
- * Creates a function that'll short out and invoke `identity` instead
4443
- * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`
4444
- * milliseconds.
4445
- *
4446
- * @private
4447
- * @param {Function} func The function to restrict.
4448
- * @returns {Function} Returns the new shortable function.
4449
- */
4450
- function shortOut$2(func) {
4451
- var count = 0,
4452
- lastCalled = 0;
4468
+ /* Built-in method references for those with the same name as other `lodash` methods. */
4469
+ var nativeNow = Date.now;
4453
4470
 
4454
- return function() {
4455
- var stamp = nativeNow(),
4456
- remaining = HOT_SPAN - (stamp - lastCalled);
4471
+ /**
4472
+ * Creates a function that'll short out and invoke `identity` instead
4473
+ * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`
4474
+ * milliseconds.
4475
+ *
4476
+ * @private
4477
+ * @param {Function} func The function to restrict.
4478
+ * @returns {Function} Returns the new shortable function.
4479
+ */
4480
+ function shortOut(func) {
4481
+ var count = 0,
4482
+ lastCalled = 0;
4457
4483
 
4458
- lastCalled = stamp;
4459
- if (remaining > 0) {
4460
- if (++count >= HOT_COUNT) {
4461
- return arguments[0];
4462
- }
4463
- } else {
4464
- count = 0;
4465
- }
4466
- return func.apply(undefined, arguments);
4467
- };
4468
- }
4484
+ return function() {
4485
+ var stamp = nativeNow(),
4486
+ remaining = HOT_SPAN - (stamp - lastCalled);
4469
4487
 
4470
- var _shortOut = shortOut$2;
4488
+ lastCalled = stamp;
4489
+ if (remaining > 0) {
4490
+ if (++count >= HOT_COUNT) {
4491
+ return arguments[0];
4492
+ }
4493
+ } else {
4494
+ count = 0;
4495
+ }
4496
+ return func.apply(undefined, arguments);
4497
+ };
4498
+ }
4499
+
4500
+ _shortOut = shortOut;
4501
+ return _shortOut;
4502
+ }
4471
4503
 
4472
4504
  var baseSetData$1 = _baseSetData,
4473
- shortOut$1 = _shortOut;
4505
+ shortOut = require_shortOut();
4474
4506
 
4475
4507
  /**
4476
4508
  * Sets metadata for `func`.
@@ -4486,7 +4518,7 @@ var baseSetData$1 = _baseSetData,
4486
4518
  * @param {*} data The metadata.
4487
4519
  * @returns {Function} Returns `func`.
4488
4520
  */
4489
- var setData$2 = shortOut$1(baseSetData$1);
4521
+ var setData$2 = shortOut(baseSetData$1);
4490
4522
 
4491
4523
  var _setData = setData$2;
4492
4524
 
@@ -4554,63 +4586,95 @@ var _insertWrapDetails = insertWrapDetails$1;
4554
4586
  * // => true
4555
4587
  */
4556
4588
 
4557
- function constant$1(value) {
4558
- return function() {
4559
- return value;
4560
- };
4589
+ var constant_1;
4590
+ var hasRequiredConstant;
4591
+
4592
+ function requireConstant () {
4593
+ if (hasRequiredConstant) return constant_1;
4594
+ hasRequiredConstant = 1;
4595
+ function constant(value) {
4596
+ return function() {
4597
+ return value;
4598
+ };
4599
+ }
4600
+
4601
+ constant_1 = constant;
4602
+ return constant_1;
4561
4603
  }
4562
4604
 
4563
- var constant_1 = constant$1;
4605
+ var _defineProperty;
4606
+ var hasRequired_defineProperty;
4564
4607
 
4565
- var getNative$4 = _getNative;
4608
+ function require_defineProperty () {
4609
+ if (hasRequired_defineProperty) return _defineProperty;
4610
+ hasRequired_defineProperty = 1;
4611
+ var getNative = _getNative;
4566
4612
 
4567
- var defineProperty$2 = (function() {
4568
- try {
4569
- var func = getNative$4(Object, 'defineProperty');
4570
- func({}, '', {});
4571
- return func;
4572
- } catch (e) {}
4573
- }());
4613
+ var defineProperty = (function() {
4614
+ try {
4615
+ var func = getNative(Object, 'defineProperty');
4616
+ func({}, '', {});
4617
+ return func;
4618
+ } catch (e) {}
4619
+ }());
4574
4620
 
4575
- var _defineProperty = defineProperty$2;
4621
+ _defineProperty = defineProperty;
4622
+ return _defineProperty;
4623
+ }
4576
4624
 
4577
- var constant = constant_1,
4578
- defineProperty$1 = _defineProperty,
4579
- identity$1 = identity_1;
4625
+ var _baseSetToString;
4626
+ var hasRequired_baseSetToString;
4580
4627
 
4581
- /**
4582
- * The base implementation of `setToString` without support for hot loop shorting.
4583
- *
4584
- * @private
4585
- * @param {Function} func The function to modify.
4586
- * @param {Function} string The `toString` result.
4587
- * @returns {Function} Returns `func`.
4588
- */
4589
- var baseSetToString$1 = !defineProperty$1 ? identity$1 : function(func, string) {
4590
- return defineProperty$1(func, 'toString', {
4591
- 'configurable': true,
4592
- 'enumerable': false,
4593
- 'value': constant(string),
4594
- 'writable': true
4595
- });
4596
- };
4628
+ function require_baseSetToString () {
4629
+ if (hasRequired_baseSetToString) return _baseSetToString;
4630
+ hasRequired_baseSetToString = 1;
4631
+ var constant = requireConstant(),
4632
+ defineProperty = require_defineProperty(),
4633
+ identity = requireIdentity();
4597
4634
 
4598
- var _baseSetToString = baseSetToString$1;
4635
+ /**
4636
+ * The base implementation of `setToString` without support for hot loop shorting.
4637
+ *
4638
+ * @private
4639
+ * @param {Function} func The function to modify.
4640
+ * @param {Function} string The `toString` result.
4641
+ * @returns {Function} Returns `func`.
4642
+ */
4643
+ var baseSetToString = !defineProperty ? identity : function(func, string) {
4644
+ return defineProperty(func, 'toString', {
4645
+ 'configurable': true,
4646
+ 'enumerable': false,
4647
+ 'value': constant(string),
4648
+ 'writable': true
4649
+ });
4650
+ };
4599
4651
 
4600
- var baseSetToString = _baseSetToString,
4601
- shortOut = _shortOut;
4652
+ _baseSetToString = baseSetToString;
4653
+ return _baseSetToString;
4654
+ }
4602
4655
 
4603
- /**
4604
- * Sets the `toString` method of `func` to return `string`.
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 setToString$2 = shortOut(baseSetToString);
4656
+ var _setToString;
4657
+ var hasRequired_setToString;
4612
4658
 
4613
- var _setToString = setToString$2;
4659
+ function require_setToString () {
4660
+ if (hasRequired_setToString) return _setToString;
4661
+ hasRequired_setToString = 1;
4662
+ var baseSetToString = require_baseSetToString(),
4663
+ shortOut = require_shortOut();
4664
+
4665
+ /**
4666
+ * Sets the `toString` method of `func` to return `string`.
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 setToString = shortOut(baseSetToString);
4674
+
4675
+ _setToString = setToString;
4676
+ return _setToString;
4677
+ }
4614
4678
 
4615
4679
  /**
4616
4680
  * A specialized version of `_.forEach` for arrays without support for
@@ -4789,7 +4853,7 @@ var _updateWrapDetails = updateWrapDetails$1;
4789
4853
 
4790
4854
  var getWrapDetails = _getWrapDetails,
4791
4855
  insertWrapDetails = _insertWrapDetails,
4792
- setToString$1 = _setToString,
4856
+ setToString$1 = require_setToString(),
4793
4857
  updateWrapDetails = _updateWrapDetails;
4794
4858
 
4795
4859
  /**
@@ -4917,7 +4981,7 @@ function require_isIndex () {
4917
4981
  }
4918
4982
 
4919
4983
  var copyArray$2 = _copyArray,
4920
- isIndex$2 = require_isIndex();
4984
+ isIndex$1 = require_isIndex();
4921
4985
 
4922
4986
  /* Built-in method references for those with the same name as other `lodash` methods. */
4923
4987
  var nativeMin$1 = Math.min;
@@ -4939,7 +5003,7 @@ function reorder$1(array, indexes) {
4939
5003
 
4940
5004
  while (length--) {
4941
5005
  var index = indexes[length];
4942
- array[length] = isIndex$2(index, arrLength) ? oldArray[index] : undefined;
5006
+ array[length] = isIndex$1(index, arrLength) ? oldArray[index] : undefined;
4943
5007
  }
4944
5008
  return array;
4945
5009
  }
@@ -4985,7 +5049,7 @@ var composeArgs$1 = _composeArgs,
4985
5049
  getHolder$1 = _getHolder,
4986
5050
  reorder = _reorder,
4987
5051
  replaceHolders$2 = _replaceHolders,
4988
- root$7 = _root;
5052
+ root$6 = _root;
4989
5053
 
4990
5054
  /** Used to compose bitmasks for function metadata. */
4991
5055
  var WRAP_BIND_FLAG$3 = 1,
@@ -5060,7 +5124,7 @@ function createHybrid$2(func, bitmask, thisArg, partials, holders, partialsRight
5060
5124
  if (isAry && ary < length) {
5061
5125
  args.length = ary;
5062
5126
  }
5063
- if (this && this !== root$7 && this instanceof wrapper) {
5127
+ if (this && this !== root$6 && this instanceof wrapper) {
5064
5128
  fn = Ctor || createCtor$2(fn);
5065
5129
  }
5066
5130
  return fn.apply(thisBinding, args);
@@ -5070,13 +5134,13 @@ function createHybrid$2(func, bitmask, thisArg, partials, holders, partialsRight
5070
5134
 
5071
5135
  var _createHybrid = createHybrid$2;
5072
5136
 
5073
- var apply$2 = _apply,
5137
+ var apply$1 = _apply,
5074
5138
  createCtor$1 = _createCtor,
5075
5139
  createHybrid$1 = _createHybrid,
5076
5140
  createRecurry = _createRecurry,
5077
5141
  getHolder = _getHolder,
5078
5142
  replaceHolders$1 = _replaceHolders,
5079
- root$6 = _root;
5143
+ root$5 = _root;
5080
5144
 
5081
5145
  /**
5082
5146
  * Creates a function that wraps `func` to enable currying.
@@ -5109,17 +5173,17 @@ function createCurry$1(func, bitmask, arity) {
5109
5173
  func, bitmask, createHybrid$1, wrapper.placeholder, undefined,
5110
5174
  args, holders, undefined, undefined, arity - length);
5111
5175
  }
5112
- var fn = (this && this !== root$6 && this instanceof wrapper) ? Ctor : func;
5113
- return apply$2(fn, this, args);
5176
+ var fn = (this && this !== root$5 && this instanceof wrapper) ? Ctor : func;
5177
+ return apply$1(fn, this, args);
5114
5178
  }
5115
5179
  return wrapper;
5116
5180
  }
5117
5181
 
5118
5182
  var _createCurry = createCurry$1;
5119
5183
 
5120
- var apply$1 = _apply,
5184
+ var apply = _apply,
5121
5185
  createCtor = _createCtor,
5122
- root$5 = _root;
5186
+ root$4 = _root;
5123
5187
 
5124
5188
  /** Used to compose bitmasks for function metadata. */
5125
5189
  var WRAP_BIND_FLAG$2 = 1;
@@ -5146,7 +5210,7 @@ function createPartial$1(func, bitmask, thisArg, partials) {
5146
5210
  leftIndex = -1,
5147
5211
  leftLength = partials.length,
5148
5212
  args = Array(leftLength + argsLength),
5149
- fn = (this && this !== root$5 && this instanceof wrapper) ? Ctor : func;
5213
+ fn = (this && this !== root$4 && this instanceof wrapper) ? Ctor : func;
5150
5214
 
5151
5215
  while (++leftIndex < leftLength) {
5152
5216
  args[leftIndex] = partials[leftIndex];
@@ -5154,7 +5218,7 @@ function createPartial$1(func, bitmask, thisArg, partials) {
5154
5218
  while (argsLength--) {
5155
5219
  args[leftIndex++] = arguments[++argsIndex];
5156
5220
  }
5157
- return apply$1(fn, isBind ? thisArg : this, args);
5221
+ return apply(fn, isBind ? thisArg : this, args);
5158
5222
  }
5159
5223
  return wrapper;
5160
5224
  }
@@ -5324,7 +5388,7 @@ function isSymbol$6(value) {
5324
5388
  var isSymbol_1 = isSymbol$6;
5325
5389
 
5326
5390
  var baseTrim = _baseTrim,
5327
- isObject$3 = isObject_1,
5391
+ isObject$3 = requireIsObject(),
5328
5392
  isSymbol$5 = isSymbol_1;
5329
5393
 
5330
5394
  /** Used as references for various `Number` constants. */
@@ -5491,7 +5555,7 @@ var WRAP_BIND_FLAG = 1,
5491
5555
  WRAP_PARTIAL_RIGHT_FLAG = 64;
5492
5556
 
5493
5557
  /* Built-in method references for those with the same name as other `lodash` methods. */
5494
- var nativeMax$1 = Math.max;
5558
+ var nativeMax = Math.max;
5495
5559
 
5496
5560
  /**
5497
5561
  * Creates a function that either curries or invokes `func` with optional
@@ -5528,7 +5592,7 @@ function createWrap$3(func, bitmask, thisArg, partials, holders, argPos, ary, ar
5528
5592
  bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG);
5529
5593
  partials = holders = undefined;
5530
5594
  }
5531
- ary = ary === undefined ? ary : nativeMax$1(toInteger(ary), 0);
5595
+ ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0);
5532
5596
  arity = arity === undefined ? arity : toInteger(arity);
5533
5597
  length -= holders ? holders.length : 0;
5534
5598
 
@@ -5555,7 +5619,7 @@ function createWrap$3(func, bitmask, thisArg, partials, holders, argPos, ary, ar
5555
5619
  holders = newData[4];
5556
5620
  arity = newData[9] = newData[9] === undefined
5557
5621
  ? (isBindKey ? 0 : func.length)
5558
- : nativeMax$1(newData[9] - length, 0);
5622
+ : nativeMax(newData[9] - length, 0);
5559
5623
 
5560
5624
  if (!arity && bitmask & (WRAP_CURRY_FLAG$1 | WRAP_CURRY_RIGHT_FLAG)) {
5561
5625
  bitmask &= ~(WRAP_CURRY_FLAG$1 | WRAP_CURRY_RIGHT_FLAG);
@@ -5605,31 +5669,39 @@ function ary(func, n, guard) {
5605
5669
 
5606
5670
  var ary_1 = ary;
5607
5671
 
5608
- var defineProperty = _defineProperty;
5672
+ var _baseAssignValue;
5673
+ var hasRequired_baseAssignValue;
5609
5674
 
5610
- /**
5611
- * The base implementation of `assignValue` and `assignMergeValue` without
5612
- * value checks.
5613
- *
5614
- * @private
5615
- * @param {Object} object The object to modify.
5616
- * @param {string} key The key of the property to assign.
5617
- * @param {*} value The value to assign.
5618
- */
5619
- function baseAssignValue$2(object, key, value) {
5620
- if (key == '__proto__' && defineProperty) {
5621
- defineProperty(object, key, {
5622
- 'configurable': true,
5623
- 'enumerable': true,
5624
- 'value': value,
5625
- 'writable': true
5626
- });
5627
- } else {
5628
- object[key] = value;
5629
- }
5630
- }
5675
+ function require_baseAssignValue () {
5676
+ if (hasRequired_baseAssignValue) return _baseAssignValue;
5677
+ hasRequired_baseAssignValue = 1;
5678
+ var defineProperty = require_defineProperty();
5679
+
5680
+ /**
5681
+ * The base implementation of `assignValue` and `assignMergeValue` without
5682
+ * value checks.
5683
+ *
5684
+ * @private
5685
+ * @param {Object} object The object to modify.
5686
+ * @param {string} key The key of the property to assign.
5687
+ * @param {*} value The value to assign.
5688
+ */
5689
+ function baseAssignValue(object, key, value) {
5690
+ if (key == '__proto__' && defineProperty) {
5691
+ defineProperty(object, key, {
5692
+ 'configurable': true,
5693
+ 'enumerable': true,
5694
+ 'value': value,
5695
+ 'writable': true
5696
+ });
5697
+ } else {
5698
+ object[key] = value;
5699
+ }
5700
+ }
5631
5701
 
5632
- var _baseAssignValue = baseAssignValue$2;
5702
+ _baseAssignValue = baseAssignValue;
5703
+ return _baseAssignValue;
5704
+ }
5633
5705
 
5634
5706
  /**
5635
5707
  * Performs a
@@ -5678,14 +5750,14 @@ function requireEq () {
5678
5750
  return eq_1;
5679
5751
  }
5680
5752
 
5681
- var baseAssignValue$1 = _baseAssignValue,
5753
+ var baseAssignValue$1 = require_baseAssignValue(),
5682
5754
  eq$1 = requireEq();
5683
5755
 
5684
5756
  /** Used for built-in method references. */
5685
- var objectProto$8 = Object.prototype;
5757
+ var objectProto$7 = Object.prototype;
5686
5758
 
5687
5759
  /** Used to check objects for own properties. */
5688
- var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
5760
+ var hasOwnProperty$5 = objectProto$7.hasOwnProperty;
5689
5761
 
5690
5762
  /**
5691
5763
  * Assigns `value` to `key` of `object` if the existing value is not equivalent
@@ -5699,7 +5771,7 @@ var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
5699
5771
  */
5700
5772
  function assignValue$2(object, key, value) {
5701
5773
  var objValue = object[key];
5702
- if (!(hasOwnProperty$6.call(object, key) && eq$1(objValue, value)) ||
5774
+ if (!(hasOwnProperty$5.call(object, key) && eq$1(objValue, value)) ||
5703
5775
  (value === undefined && !(key in object))) {
5704
5776
  baseAssignValue$1(object, key, value);
5705
5777
  }
@@ -5708,7 +5780,7 @@ function assignValue$2(object, key, value) {
5708
5780
  var _assignValue = assignValue$2;
5709
5781
 
5710
5782
  var assignValue$1 = _assignValue,
5711
- baseAssignValue = _baseAssignValue;
5783
+ baseAssignValue = require_baseAssignValue();
5712
5784
 
5713
5785
  /**
5714
5786
  * Copies properties of `source` to `object`.
@@ -5758,17 +5830,25 @@ var _copyObject = copyObject$4;
5758
5830
  * @returns {Array} Returns the array of results.
5759
5831
  */
5760
5832
 
5761
- function baseTimes$1(n, iteratee) {
5762
- var index = -1,
5763
- result = Array(n);
5833
+ var _baseTimes;
5834
+ var hasRequired_baseTimes;
5764
5835
 
5765
- while (++index < n) {
5766
- result[index] = iteratee(index);
5767
- }
5768
- return result;
5769
- }
5836
+ function require_baseTimes () {
5837
+ if (hasRequired_baseTimes) return _baseTimes;
5838
+ hasRequired_baseTimes = 1;
5839
+ function baseTimes(n, iteratee) {
5840
+ var index = -1,
5841
+ result = Array(n);
5842
+
5843
+ while (++index < n) {
5844
+ result[index] = iteratee(index);
5845
+ }
5846
+ return result;
5847
+ }
5770
5848
 
5771
- var _baseTimes = baseTimes$1;
5849
+ _baseTimes = baseTimes;
5850
+ return _baseTimes;
5851
+ }
5772
5852
 
5773
5853
  var _baseIsArguments;
5774
5854
  var hasRequired_baseIsArguments;
@@ -5843,7 +5923,7 @@ function requireIsArguments () {
5843
5923
  }
5844
5924
 
5845
5925
  var isBufferExports = {};
5846
- var isBuffer$5 = {
5926
+ var isBuffer$4 = {
5847
5927
  get exports(){ return isBufferExports; },
5848
5928
  set exports(v){ isBufferExports = v; },
5849
5929
  };
@@ -5862,90 +5942,113 @@ var isBuffer$5 = {
5862
5942
  * // => [false, false]
5863
5943
  */
5864
5944
 
5865
- function stubFalse() {
5866
- return false;
5945
+ var stubFalse_1;
5946
+ var hasRequiredStubFalse;
5947
+
5948
+ function requireStubFalse () {
5949
+ if (hasRequiredStubFalse) return stubFalse_1;
5950
+ hasRequiredStubFalse = 1;
5951
+ function stubFalse() {
5952
+ return false;
5953
+ }
5954
+
5955
+ stubFalse_1 = stubFalse;
5956
+ return stubFalse_1;
5867
5957
  }
5868
5958
 
5869
- var stubFalse_1 = stubFalse;
5959
+ var hasRequiredIsBuffer;
5870
5960
 
5871
- (function (module, exports) {
5872
- var root = _root,
5873
- stubFalse = stubFalse_1;
5961
+ function requireIsBuffer () {
5962
+ if (hasRequiredIsBuffer) return isBufferExports;
5963
+ hasRequiredIsBuffer = 1;
5964
+ (function (module, exports) {
5965
+ var root = _root,
5966
+ stubFalse = requireStubFalse();
5874
5967
 
5875
- /** Detect free variable `exports`. */
5876
- var freeExports = exports && !exports.nodeType && exports;
5968
+ /** Detect free variable `exports`. */
5969
+ var freeExports = exports && !exports.nodeType && exports;
5877
5970
 
5878
- /** Detect free variable `module`. */
5879
- var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
5971
+ /** Detect free variable `module`. */
5972
+ var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
5880
5973
 
5881
- /** Detect the popular CommonJS extension `module.exports`. */
5882
- var moduleExports = freeModule && freeModule.exports === freeExports;
5974
+ /** Detect the popular CommonJS extension `module.exports`. */
5975
+ var moduleExports = freeModule && freeModule.exports === freeExports;
5883
5976
 
5884
- /** Built-in value references. */
5885
- var Buffer = moduleExports ? root.Buffer : undefined;
5977
+ /** Built-in value references. */
5978
+ var Buffer = moduleExports ? root.Buffer : undefined;
5886
5979
 
5887
- /* Built-in method references for those with the same name as other `lodash` methods. */
5888
- var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
5980
+ /* Built-in method references for those with the same name as other `lodash` methods. */
5981
+ var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
5982
+
5983
+ /**
5984
+ * Checks if `value` is a buffer.
5985
+ *
5986
+ * @static
5987
+ * @memberOf _
5988
+ * @since 4.3.0
5989
+ * @category Lang
5990
+ * @param {*} value The value to check.
5991
+ * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
5992
+ * @example
5993
+ *
5994
+ * _.isBuffer(new Buffer(2));
5995
+ * // => true
5996
+ *
5997
+ * _.isBuffer(new Uint8Array(2));
5998
+ * // => false
5999
+ */
6000
+ var isBuffer = nativeIsBuffer || stubFalse;
6001
+
6002
+ module.exports = isBuffer;
6003
+ } (isBuffer$4, isBufferExports));
6004
+ return isBufferExports;
6005
+ }
6006
+
6007
+ /** Used as references for various `Number` constants. */
6008
+
6009
+ var isLength_1;
6010
+ var hasRequiredIsLength;
6011
+
6012
+ function requireIsLength () {
6013
+ if (hasRequiredIsLength) return isLength_1;
6014
+ hasRequiredIsLength = 1;
6015
+ var MAX_SAFE_INTEGER = 9007199254740991;
5889
6016
 
5890
6017
  /**
5891
- * Checks if `value` is a buffer.
6018
+ * Checks if `value` is a valid array-like length.
6019
+ *
6020
+ * **Note:** This method is loosely based on
6021
+ * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
5892
6022
  *
5893
6023
  * @static
5894
6024
  * @memberOf _
5895
- * @since 4.3.0
6025
+ * @since 4.0.0
5896
6026
  * @category Lang
5897
6027
  * @param {*} value The value to check.
5898
- * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
6028
+ * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
5899
6029
  * @example
5900
6030
  *
5901
- * _.isBuffer(new Buffer(2));
6031
+ * _.isLength(3);
5902
6032
  * // => true
5903
6033
  *
5904
- * _.isBuffer(new Uint8Array(2));
6034
+ * _.isLength(Number.MIN_VALUE);
6035
+ * // => false
6036
+ *
6037
+ * _.isLength(Infinity);
6038
+ * // => false
6039
+ *
6040
+ * _.isLength('3');
5905
6041
  * // => false
5906
6042
  */
5907
- var isBuffer = nativeIsBuffer || stubFalse;
5908
-
5909
- module.exports = isBuffer;
5910
- } (isBuffer$5, isBufferExports));
5911
-
5912
- /** Used as references for various `Number` constants. */
5913
-
5914
- var MAX_SAFE_INTEGER = 9007199254740991;
6043
+ function isLength(value) {
6044
+ return typeof value == 'number' &&
6045
+ value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
6046
+ }
5915
6047
 
5916
- /**
5917
- * Checks if `value` is a valid array-like length.
5918
- *
5919
- * **Note:** This method is loosely based on
5920
- * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
5921
- *
5922
- * @static
5923
- * @memberOf _
5924
- * @since 4.0.0
5925
- * @category Lang
5926
- * @param {*} value The value to check.
5927
- * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
5928
- * @example
5929
- *
5930
- * _.isLength(3);
5931
- * // => true
5932
- *
5933
- * _.isLength(Number.MIN_VALUE);
5934
- * // => false
5935
- *
5936
- * _.isLength(Infinity);
5937
- * // => false
5938
- *
5939
- * _.isLength('3');
5940
- * // => false
5941
- */
5942
- function isLength$2(value) {
5943
- return typeof value == 'number' &&
5944
- value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
6048
+ isLength_1 = isLength;
6049
+ return isLength_1;
5945
6050
  }
5946
6051
 
5947
- var isLength_1 = isLength$2;
5948
-
5949
6052
  var _baseIsTypedArray;
5950
6053
  var hasRequired_baseIsTypedArray;
5951
6054
 
@@ -5953,7 +6056,7 @@ function require_baseIsTypedArray () {
5953
6056
  if (hasRequired_baseIsTypedArray) return _baseIsTypedArray;
5954
6057
  hasRequired_baseIsTypedArray = 1;
5955
6058
  var baseGetTag = _baseGetTag,
5956
- isLength = isLength_1,
6059
+ isLength = requireIsLength(),
5957
6060
  isObjectLike = isObjectLike_1;
5958
6061
 
5959
6062
  /** `Object#toString` result references. */
@@ -6023,13 +6126,21 @@ function require_baseIsTypedArray () {
6023
6126
  * @returns {Function} Returns the new capped function.
6024
6127
  */
6025
6128
 
6026
- function baseUnary$2(func) {
6027
- return function(value) {
6028
- return func(value);
6029
- };
6030
- }
6129
+ var _baseUnary;
6130
+ var hasRequired_baseUnary;
6031
6131
 
6032
- var _baseUnary = baseUnary$2;
6132
+ function require_baseUnary () {
6133
+ if (hasRequired_baseUnary) return _baseUnary;
6134
+ hasRequired_baseUnary = 1;
6135
+ function baseUnary(func) {
6136
+ return function(value) {
6137
+ return func(value);
6138
+ };
6139
+ }
6140
+
6141
+ _baseUnary = baseUnary;
6142
+ return _baseUnary;
6143
+ }
6033
6144
 
6034
6145
  var _nodeUtilExports = {};
6035
6146
  var _nodeUtil = {
@@ -6037,38 +6148,45 @@ var _nodeUtil = {
6037
6148
  set exports(v){ _nodeUtilExports = v; },
6038
6149
  };
6039
6150
 
6040
- (function (module, exports) {
6041
- var freeGlobal = _freeGlobal;
6151
+ var hasRequired_nodeUtil;
6042
6152
 
6043
- /** Detect free variable `exports`. */
6044
- var freeExports = exports && !exports.nodeType && exports;
6153
+ function require_nodeUtil () {
6154
+ if (hasRequired_nodeUtil) return _nodeUtilExports;
6155
+ hasRequired_nodeUtil = 1;
6156
+ (function (module, exports) {
6157
+ var freeGlobal = _freeGlobal;
6045
6158
 
6046
- /** Detect free variable `module`. */
6047
- var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
6159
+ /** Detect free variable `exports`. */
6160
+ var freeExports = exports && !exports.nodeType && exports;
6048
6161
 
6049
- /** Detect the popular CommonJS extension `module.exports`. */
6050
- var moduleExports = freeModule && freeModule.exports === freeExports;
6162
+ /** Detect free variable `module`. */
6163
+ var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
6051
6164
 
6052
- /** Detect free variable `process` from Node.js. */
6053
- var freeProcess = moduleExports && freeGlobal.process;
6165
+ /** Detect the popular CommonJS extension `module.exports`. */
6166
+ var moduleExports = freeModule && freeModule.exports === freeExports;
6054
6167
 
6055
- /** Used to access faster Node.js helpers. */
6056
- var nodeUtil = (function() {
6057
- try {
6058
- // Use `util.types` for Node.js 10+.
6059
- var types = freeModule && freeModule.require && freeModule.require('util').types;
6168
+ /** Detect free variable `process` from Node.js. */
6169
+ var freeProcess = moduleExports && freeGlobal.process;
6060
6170
 
6061
- if (types) {
6062
- return types;
6063
- }
6171
+ /** Used to access faster Node.js helpers. */
6172
+ var nodeUtil = (function() {
6173
+ try {
6174
+ // Use `util.types` for Node.js 10+.
6175
+ var types = freeModule && freeModule.require && freeModule.require('util').types;
6064
6176
 
6065
- // Legacy `process.binding('util')` for Node.js < 10.
6066
- return freeProcess && freeProcess.binding && freeProcess.binding('util');
6067
- } catch (e) {}
6068
- }());
6177
+ if (types) {
6178
+ return types;
6179
+ }
6180
+
6181
+ // Legacy `process.binding('util')` for Node.js < 10.
6182
+ return freeProcess && freeProcess.binding && freeProcess.binding('util');
6183
+ } catch (e) {}
6184
+ }());
6069
6185
 
6070
- module.exports = nodeUtil;
6186
+ module.exports = nodeUtil;
6071
6187
  } (_nodeUtil, _nodeUtilExports));
6188
+ return _nodeUtilExports;
6189
+ }
6072
6190
 
6073
6191
  var isTypedArray_1;
6074
6192
  var hasRequiredIsTypedArray;
@@ -6077,8 +6195,8 @@ function requireIsTypedArray () {
6077
6195
  if (hasRequiredIsTypedArray) return isTypedArray_1;
6078
6196
  hasRequiredIsTypedArray = 1;
6079
6197
  var baseIsTypedArray = require_baseIsTypedArray(),
6080
- baseUnary = _baseUnary,
6081
- nodeUtil = _nodeUtilExports;
6198
+ baseUnary = require_baseUnary(),
6199
+ nodeUtil = require_nodeUtil();
6082
6200
 
6083
6201
  /* Node.js helper references. */
6084
6202
  var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
@@ -6106,55 +6224,63 @@ function requireIsTypedArray () {
6106
6224
  return isTypedArray_1;
6107
6225
  }
6108
6226
 
6109
- var baseTimes = _baseTimes,
6110
- isArguments$2 = requireIsArguments(),
6111
- isArray$f = isArray_1,
6112
- isBuffer$4 = isBufferExports,
6113
- isIndex$1 = require_isIndex(),
6114
- isTypedArray$1 = requireIsTypedArray();
6227
+ var _arrayLikeKeys;
6228
+ var hasRequired_arrayLikeKeys;
6115
6229
 
6116
- /** Used for built-in method references. */
6117
- var objectProto$7 = Object.prototype;
6230
+ function require_arrayLikeKeys () {
6231
+ if (hasRequired_arrayLikeKeys) return _arrayLikeKeys;
6232
+ hasRequired_arrayLikeKeys = 1;
6233
+ var baseTimes = require_baseTimes(),
6234
+ isArguments = requireIsArguments(),
6235
+ isArray = isArray_1,
6236
+ isBuffer = requireIsBuffer(),
6237
+ isIndex = require_isIndex(),
6238
+ isTypedArray = requireIsTypedArray();
6118
6239
 
6119
- /** Used to check objects for own properties. */
6120
- var hasOwnProperty$5 = objectProto$7.hasOwnProperty;
6240
+ /** Used for built-in method references. */
6241
+ var objectProto = Object.prototype;
6121
6242
 
6122
- /**
6123
- * Creates an array of the enumerable property names of the array-like `value`.
6124
- *
6125
- * @private
6126
- * @param {*} value The value to query.
6127
- * @param {boolean} inherited Specify returning inherited property names.
6128
- * @returns {Array} Returns the array of property names.
6129
- */
6130
- function arrayLikeKeys$1(value, inherited) {
6131
- var isArr = isArray$f(value),
6132
- isArg = !isArr && isArguments$2(value),
6133
- isBuff = !isArr && !isArg && isBuffer$4(value),
6134
- isType = !isArr && !isArg && !isBuff && isTypedArray$1(value),
6135
- skipIndexes = isArr || isArg || isBuff || isType,
6136
- result = skipIndexes ? baseTimes(value.length, String) : [],
6137
- length = result.length;
6243
+ /** Used to check objects for own properties. */
6244
+ var hasOwnProperty = objectProto.hasOwnProperty;
6138
6245
 
6139
- for (var key in value) {
6140
- if ((inherited || hasOwnProperty$5.call(value, key)) &&
6141
- !(skipIndexes && (
6142
- // Safari 9 has enumerable `arguments.length` in strict mode.
6143
- key == 'length' ||
6144
- // Node.js 0.10 has enumerable non-index properties on buffers.
6145
- (isBuff && (key == 'offset' || key == 'parent')) ||
6146
- // PhantomJS 2 has enumerable non-index properties on typed arrays.
6147
- (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
6148
- // Skip index properties.
6149
- isIndex$1(key, length)
6150
- ))) {
6151
- result.push(key);
6152
- }
6153
- }
6154
- return result;
6155
- }
6246
+ /**
6247
+ * Creates an array of the enumerable property names of the array-like `value`.
6248
+ *
6249
+ * @private
6250
+ * @param {*} value The value to query.
6251
+ * @param {boolean} inherited Specify returning inherited property names.
6252
+ * @returns {Array} Returns the array of property names.
6253
+ */
6254
+ function arrayLikeKeys(value, inherited) {
6255
+ var isArr = isArray(value),
6256
+ isArg = !isArr && isArguments(value),
6257
+ isBuff = !isArr && !isArg && isBuffer(value),
6258
+ isType = !isArr && !isArg && !isBuff && isTypedArray(value),
6259
+ skipIndexes = isArr || isArg || isBuff || isType,
6260
+ result = skipIndexes ? baseTimes(value.length, String) : [],
6261
+ length = result.length;
6262
+
6263
+ for (var key in value) {
6264
+ if ((inherited || hasOwnProperty.call(value, key)) &&
6265
+ !(skipIndexes && (
6266
+ // Safari 9 has enumerable `arguments.length` in strict mode.
6267
+ key == 'length' ||
6268
+ // Node.js 0.10 has enumerable non-index properties on buffers.
6269
+ (isBuff && (key == 'offset' || key == 'parent')) ||
6270
+ // PhantomJS 2 has enumerable non-index properties on typed arrays.
6271
+ (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
6272
+ // Skip index properties.
6273
+ isIndex(key, length)
6274
+ ))) {
6275
+ result.push(key);
6276
+ }
6277
+ }
6278
+ return result;
6279
+ }
6156
6280
 
6157
- var _arrayLikeKeys = arrayLikeKeys$1;
6281
+ _arrayLikeKeys = arrayLikeKeys;
6282
+ return _arrayLikeKeys;
6283
+ }
6158
6284
 
6159
6285
  /** Used for built-in method references. */
6160
6286
 
@@ -6167,14 +6293,14 @@ var objectProto$6 = Object.prototype;
6167
6293
  * @param {*} value The value to check.
6168
6294
  * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
6169
6295
  */
6170
- function isPrototype$2(value) {
6296
+ function isPrototype$1(value) {
6171
6297
  var Ctor = value && value.constructor,
6172
6298
  proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$6;
6173
6299
 
6174
6300
  return value === proto;
6175
6301
  }
6176
6302
 
6177
- var _isPrototype = isPrototype$2;
6303
+ var _isPrototype = isPrototype$1;
6178
6304
 
6179
6305
  /**
6180
6306
  * Creates a unary function that invokes `func` with its argument transformed.
@@ -6200,7 +6326,7 @@ var nativeKeys$1 = overArg$1(Object.keys, Object);
6200
6326
 
6201
6327
  var _nativeKeys = nativeKeys$1;
6202
6328
 
6203
- var isPrototype$1 = _isPrototype,
6329
+ var isPrototype = _isPrototype,
6204
6330
  nativeKeys = _nativeKeys;
6205
6331
 
6206
6332
  /** Used for built-in method references. */
@@ -6217,7 +6343,7 @@ var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
6217
6343
  * @returns {Array} Returns the array of property names.
6218
6344
  */
6219
6345
  function baseKeys$1(object) {
6220
- if (!isPrototype$1(object)) {
6346
+ if (!isPrototype(object)) {
6221
6347
  return nativeKeys(object);
6222
6348
  }
6223
6349
  var result = [];
@@ -6231,43 +6357,51 @@ function baseKeys$1(object) {
6231
6357
 
6232
6358
  var _baseKeys = baseKeys$1;
6233
6359
 
6234
- var isFunction$1 = isFunction_1,
6235
- isLength$1 = isLength_1;
6360
+ var isArrayLike_1;
6361
+ var hasRequiredIsArrayLike;
6236
6362
 
6237
- /**
6238
- * Checks if `value` is array-like. A value is considered array-like if it's
6239
- * not a function and has a `value.length` that's an integer greater than or
6240
- * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
6241
- *
6242
- * @static
6243
- * @memberOf _
6244
- * @since 4.0.0
6245
- * @category Lang
6246
- * @param {*} value The value to check.
6247
- * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
6248
- * @example
6249
- *
6250
- * _.isArrayLike([1, 2, 3]);
6251
- * // => true
6252
- *
6253
- * _.isArrayLike(document.body.children);
6254
- * // => true
6255
- *
6256
- * _.isArrayLike('abc');
6257
- * // => true
6258
- *
6259
- * _.isArrayLike(_.noop);
6260
- * // => false
6261
- */
6262
- function isArrayLike$1(value) {
6263
- return value != null && isLength$1(value.length) && !isFunction$1(value);
6264
- }
6363
+ function requireIsArrayLike () {
6364
+ if (hasRequiredIsArrayLike) return isArrayLike_1;
6365
+ hasRequiredIsArrayLike = 1;
6366
+ var isFunction = isFunction_1,
6367
+ isLength = requireIsLength();
6265
6368
 
6266
- var isArrayLike_1 = isArrayLike$1;
6369
+ /**
6370
+ * Checks if `value` is array-like. A value is considered array-like if it's
6371
+ * not a function and has a `value.length` that's an integer greater than or
6372
+ * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
6373
+ *
6374
+ * @static
6375
+ * @memberOf _
6376
+ * @since 4.0.0
6377
+ * @category Lang
6378
+ * @param {*} value The value to check.
6379
+ * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
6380
+ * @example
6381
+ *
6382
+ * _.isArrayLike([1, 2, 3]);
6383
+ * // => true
6384
+ *
6385
+ * _.isArrayLike(document.body.children);
6386
+ * // => true
6387
+ *
6388
+ * _.isArrayLike('abc');
6389
+ * // => true
6390
+ *
6391
+ * _.isArrayLike(_.noop);
6392
+ * // => false
6393
+ */
6394
+ function isArrayLike(value) {
6395
+ return value != null && isLength(value.length) && !isFunction(value);
6396
+ }
6267
6397
 
6268
- var arrayLikeKeys = _arrayLikeKeys,
6398
+ isArrayLike_1 = isArrayLike;
6399
+ return isArrayLike_1;
6400
+ }
6401
+
6402
+ var arrayLikeKeys = require_arrayLikeKeys(),
6269
6403
  baseKeys = _baseKeys,
6270
- isArrayLike = isArrayLike_1;
6404
+ isArrayLike = requireIsArrayLike();
6271
6405
 
6272
6406
  /**
6273
6407
  * Creates an array of the own enumerable property names of `object`.
@@ -6648,10 +6782,10 @@ function require_stackHas () {
6648
6782
  }
6649
6783
 
6650
6784
  var getNative$3 = _getNative,
6651
- root$4 = _root;
6785
+ root$3 = _root;
6652
6786
 
6653
6787
  /* Built-in method references that are verified to be native. */
6654
- var Map$2 = getNative$3(root$4, 'Map');
6788
+ var Map$2 = getNative$3(root$3, 'Map');
6655
6789
 
6656
6790
  var _Map = Map$2;
6657
6791
 
@@ -7211,7 +7345,7 @@ var hasRequired_baseKeysIn;
7211
7345
  function require_baseKeysIn () {
7212
7346
  if (hasRequired_baseKeysIn) return _baseKeysIn;
7213
7347
  hasRequired_baseKeysIn = 1;
7214
- var isObject = isObject_1,
7348
+ var isObject = requireIsObject(),
7215
7349
  isPrototype = _isPrototype,
7216
7350
  nativeKeysIn = require_nativeKeysIn();
7217
7351
 
@@ -7253,9 +7387,9 @@ var hasRequiredKeysIn;
7253
7387
  function requireKeysIn () {
7254
7388
  if (hasRequiredKeysIn) return keysIn_1;
7255
7389
  hasRequiredKeysIn = 1;
7256
- var arrayLikeKeys = _arrayLikeKeys,
7390
+ var arrayLikeKeys = require_arrayLikeKeys(),
7257
7391
  baseKeysIn = require_baseKeysIn(),
7258
- isArrayLike = isArrayLike_1;
7392
+ isArrayLike = requireIsArrayLike();
7259
7393
 
7260
7394
  /**
7261
7395
  * Creates an array of the own and inherited enumerable property names of `object`.
@@ -7312,43 +7446,50 @@ var _cloneBuffer = {
7312
7446
  set exports(v){ _cloneBufferExports = v; },
7313
7447
  };
7314
7448
 
7315
- (function (module, exports) {
7316
- var root = _root;
7317
-
7318
- /** Detect free variable `exports`. */
7319
- var freeExports = exports && !exports.nodeType && exports;
7320
-
7321
- /** Detect free variable `module`. */
7322
- var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
7323
-
7324
- /** Detect the popular CommonJS extension `module.exports`. */
7325
- var moduleExports = freeModule && freeModule.exports === freeExports;
7326
-
7327
- /** Built-in value references. */
7328
- var Buffer = moduleExports ? root.Buffer : undefined,
7329
- allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;
7330
-
7331
- /**
7332
- * Creates a clone of `buffer`.
7333
- *
7334
- * @private
7335
- * @param {Buffer} buffer The buffer to clone.
7336
- * @param {boolean} [isDeep] Specify a deep clone.
7337
- * @returns {Buffer} Returns the cloned buffer.
7338
- */
7339
- function cloneBuffer(buffer, isDeep) {
7340
- if (isDeep) {
7341
- return buffer.slice();
7342
- }
7343
- var length = buffer.length,
7344
- result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
7345
-
7346
- buffer.copy(result);
7347
- return result;
7348
- }
7449
+ var hasRequired_cloneBuffer;
7450
+
7451
+ function require_cloneBuffer () {
7452
+ if (hasRequired_cloneBuffer) return _cloneBufferExports;
7453
+ hasRequired_cloneBuffer = 1;
7454
+ (function (module, exports) {
7455
+ var root = _root;
7456
+
7457
+ /** Detect free variable `exports`. */
7458
+ var freeExports = exports && !exports.nodeType && exports;
7459
+
7460
+ /** Detect free variable `module`. */
7461
+ var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
7462
+
7463
+ /** Detect the popular CommonJS extension `module.exports`. */
7464
+ var moduleExports = freeModule && freeModule.exports === freeExports;
7465
+
7466
+ /** Built-in value references. */
7467
+ var Buffer = moduleExports ? root.Buffer : undefined,
7468
+ allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;
7469
+
7470
+ /**
7471
+ * Creates a clone of `buffer`.
7472
+ *
7473
+ * @private
7474
+ * @param {Buffer} buffer The buffer to clone.
7475
+ * @param {boolean} [isDeep] Specify a deep clone.
7476
+ * @returns {Buffer} Returns the cloned buffer.
7477
+ */
7478
+ function cloneBuffer(buffer, isDeep) {
7479
+ if (isDeep) {
7480
+ return buffer.slice();
7481
+ }
7482
+ var length = buffer.length,
7483
+ result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
7484
+
7485
+ buffer.copy(result);
7486
+ return result;
7487
+ }
7349
7488
 
7350
- module.exports = cloneBuffer;
7489
+ module.exports = cloneBuffer;
7351
7490
  } (_cloneBuffer, _cloneBufferExports));
7491
+ return _cloneBufferExports;
7492
+ }
7352
7493
 
7353
7494
  /**
7354
7495
  * A specialized version of `_.filter` for arrays without support for
@@ -7475,12 +7616,12 @@ var _arrayPush = arrayPush$3;
7475
7616
  var overArg = _overArg;
7476
7617
 
7477
7618
  /** Built-in value references. */
7478
- var getPrototype$3 = overArg(Object.getPrototypeOf, Object);
7619
+ var getPrototype$2 = overArg(Object.getPrototypeOf, Object);
7479
7620
 
7480
- var _getPrototype = getPrototype$3;
7621
+ var _getPrototype = getPrototype$2;
7481
7622
 
7482
7623
  var arrayPush$2 = _arrayPush,
7483
- getPrototype$2 = _getPrototype,
7624
+ getPrototype$1 = _getPrototype,
7484
7625
  getSymbols$1 = _getSymbols,
7485
7626
  stubArray = stubArray_1;
7486
7627
 
@@ -7498,7 +7639,7 @@ var getSymbolsIn$2 = !nativeGetSymbols ? stubArray : function(object) {
7498
7639
  var result = [];
7499
7640
  while (object) {
7500
7641
  arrayPush$2(result, getSymbols$1(object));
7501
- object = getPrototype$2(object);
7642
+ object = getPrototype$1(object);
7502
7643
  }
7503
7644
  return result;
7504
7645
  };
@@ -7579,26 +7720,26 @@ function getAllKeysIn$1(object) {
7579
7720
  var _getAllKeysIn = getAllKeysIn$1;
7580
7721
 
7581
7722
  var getNative$2 = _getNative,
7582
- root$3 = _root;
7723
+ root$2 = _root;
7583
7724
 
7584
7725
  /* Built-in method references that are verified to be native. */
7585
- var DataView$2 = getNative$2(root$3, 'DataView');
7726
+ var DataView$2 = getNative$2(root$2, 'DataView');
7586
7727
 
7587
7728
  var _DataView = DataView$2;
7588
7729
 
7589
7730
  var getNative$1 = _getNative,
7590
- root$2 = _root;
7731
+ root$1 = _root;
7591
7732
 
7592
7733
  /* Built-in method references that are verified to be native. */
7593
- var Promise$2 = getNative$1(root$2, 'Promise');
7734
+ var Promise$2 = getNative$1(root$1, 'Promise');
7594
7735
 
7595
7736
  var _Promise = Promise$2;
7596
7737
 
7597
7738
  var getNative = _getNative,
7598
- root$1 = _root;
7739
+ root = _root;
7599
7740
 
7600
7741
  /* Built-in method references that are verified to be native. */
7601
- var Set$2 = getNative(root$1, 'Set');
7742
+ var Set$2 = getNative(root, 'Set');
7602
7743
 
7603
7744
  var _Set = Set$2;
7604
7745
 
@@ -7689,31 +7830,47 @@ function initCloneArray$1(array) {
7689
7830
 
7690
7831
  var _initCloneArray = initCloneArray$1;
7691
7832
 
7692
- var root = _root;
7693
-
7694
- /** Built-in value references. */
7695
- var Uint8Array$3 = root.Uint8Array;
7833
+ var _Uint8Array;
7834
+ var hasRequired_Uint8Array;
7696
7835
 
7697
- var _Uint8Array = Uint8Array$3;
7836
+ function require_Uint8Array () {
7837
+ if (hasRequired_Uint8Array) return _Uint8Array;
7838
+ hasRequired_Uint8Array = 1;
7839
+ var root = _root;
7698
7840
 
7699
- var Uint8Array$2 = _Uint8Array;
7841
+ /** Built-in value references. */
7842
+ var Uint8Array = root.Uint8Array;
7700
7843
 
7701
- /**
7702
- * Creates a clone of `arrayBuffer`.
7703
- *
7704
- * @private
7705
- * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
7706
- * @returns {ArrayBuffer} Returns the cloned array buffer.
7707
- */
7708
- function cloneArrayBuffer$2(arrayBuffer) {
7709
- var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
7710
- new Uint8Array$2(result).set(new Uint8Array$2(arrayBuffer));
7711
- return result;
7844
+ _Uint8Array = Uint8Array;
7845
+ return _Uint8Array;
7712
7846
  }
7713
7847
 
7714
- var _cloneArrayBuffer = cloneArrayBuffer$2;
7848
+ var _cloneArrayBuffer;
7849
+ var hasRequired_cloneArrayBuffer;
7850
+
7851
+ function require_cloneArrayBuffer () {
7852
+ if (hasRequired_cloneArrayBuffer) return _cloneArrayBuffer;
7853
+ hasRequired_cloneArrayBuffer = 1;
7854
+ var Uint8Array = require_Uint8Array();
7855
+
7856
+ /**
7857
+ * Creates a clone of `arrayBuffer`.
7858
+ *
7859
+ * @private
7860
+ * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
7861
+ * @returns {ArrayBuffer} Returns the cloned array buffer.
7862
+ */
7863
+ function cloneArrayBuffer(arrayBuffer) {
7864
+ var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
7865
+ new Uint8Array(result).set(new Uint8Array(arrayBuffer));
7866
+ return result;
7867
+ }
7868
+
7869
+ _cloneArrayBuffer = cloneArrayBuffer;
7870
+ return _cloneArrayBuffer;
7871
+ }
7715
7872
 
7716
- var cloneArrayBuffer$1 = _cloneArrayBuffer;
7873
+ var cloneArrayBuffer$1 = require_cloneArrayBuffer();
7717
7874
 
7718
7875
  /**
7719
7876
  * Creates a clone of `dataView`.
@@ -7774,7 +7931,7 @@ var hasRequired_cloneTypedArray;
7774
7931
  function require_cloneTypedArray () {
7775
7932
  if (hasRequired_cloneTypedArray) return _cloneTypedArray;
7776
7933
  hasRequired_cloneTypedArray = 1;
7777
- var cloneArrayBuffer = _cloneArrayBuffer;
7934
+ var cloneArrayBuffer = require_cloneArrayBuffer();
7778
7935
 
7779
7936
  /**
7780
7937
  * Creates a clone of `typedArray`.
@@ -7793,7 +7950,7 @@ function require_cloneTypedArray () {
7793
7950
  return _cloneTypedArray;
7794
7951
  }
7795
7952
 
7796
- var cloneArrayBuffer = _cloneArrayBuffer,
7953
+ var cloneArrayBuffer = require_cloneArrayBuffer(),
7797
7954
  cloneDataView = _cloneDataView,
7798
7955
  cloneRegExp = _cloneRegExp,
7799
7956
  cloneSymbol = _cloneSymbol,
@@ -7871,24 +8028,32 @@ function initCloneByTag$1(object, tag, isDeep) {
7871
8028
 
7872
8029
  var _initCloneByTag = initCloneByTag$1;
7873
8030
 
7874
- var baseCreate = _baseCreate,
7875
- getPrototype$1 = _getPrototype,
7876
- isPrototype = _isPrototype;
8031
+ var _initCloneObject;
8032
+ var hasRequired_initCloneObject;
7877
8033
 
7878
- /**
7879
- * Initializes an object clone.
7880
- *
7881
- * @private
7882
- * @param {Object} object The object to clone.
7883
- * @returns {Object} Returns the initialized clone.
7884
- */
7885
- function initCloneObject$1(object) {
7886
- return (typeof object.constructor == 'function' && !isPrototype(object))
7887
- ? baseCreate(getPrototype$1(object))
7888
- : {};
7889
- }
8034
+ function require_initCloneObject () {
8035
+ if (hasRequired_initCloneObject) return _initCloneObject;
8036
+ hasRequired_initCloneObject = 1;
8037
+ var baseCreate = require_baseCreate(),
8038
+ getPrototype = _getPrototype,
8039
+ isPrototype = _isPrototype;
7890
8040
 
7891
- var _initCloneObject = initCloneObject$1;
8041
+ /**
8042
+ * Initializes an object clone.
8043
+ *
8044
+ * @private
8045
+ * @param {Object} object The object to clone.
8046
+ * @returns {Object} Returns the initialized clone.
8047
+ */
8048
+ function initCloneObject(object) {
8049
+ return (typeof object.constructor == 'function' && !isPrototype(object))
8050
+ ? baseCreate(getPrototype(object))
8051
+ : {};
8052
+ }
8053
+
8054
+ _initCloneObject = initCloneObject;
8055
+ return _initCloneObject;
8056
+ }
7892
8057
 
7893
8058
  var getTag$4 = _getTag,
7894
8059
  isObjectLike$5 = isObjectLike_1;
@@ -7910,8 +8075,8 @@ function baseIsMap$1(value) {
7910
8075
  var _baseIsMap = baseIsMap$1;
7911
8076
 
7912
8077
  var baseIsMap = _baseIsMap,
7913
- baseUnary$1 = _baseUnary,
7914
- nodeUtil$1 = _nodeUtilExports;
8078
+ baseUnary$1 = require_baseUnary(),
8079
+ nodeUtil$1 = require_nodeUtil();
7915
8080
 
7916
8081
  /* Node.js helper references. */
7917
8082
  var nodeIsMap = nodeUtil$1 && nodeUtil$1.isMap;
@@ -7957,8 +8122,8 @@ function baseIsSet$1(value) {
7957
8122
  var _baseIsSet = baseIsSet$1;
7958
8123
 
7959
8124
  var baseIsSet = _baseIsSet,
7960
- baseUnary = _baseUnary,
7961
- nodeUtil = _nodeUtilExports;
8125
+ baseUnary = require_baseUnary(),
8126
+ nodeUtil = require_nodeUtil();
7962
8127
 
7963
8128
  /* Node.js helper references. */
7964
8129
  var nodeIsSet = nodeUtil && nodeUtil.isSet;
@@ -7989,7 +8154,7 @@ var Stack$2 = require_Stack(),
7989
8154
  assignValue = _assignValue,
7990
8155
  baseAssign = _baseAssign,
7991
8156
  baseAssignIn = _baseAssignIn,
7992
- cloneBuffer = _cloneBufferExports,
8157
+ cloneBuffer = require_cloneBuffer(),
7993
8158
  copyArray$1 = _copyArray,
7994
8159
  copySymbols = _copySymbols,
7995
8160
  copySymbolsIn = _copySymbolsIn,
@@ -7998,11 +8163,11 @@ var Stack$2 = require_Stack(),
7998
8163
  getTag$2 = _getTag,
7999
8164
  initCloneArray = _initCloneArray,
8000
8165
  initCloneByTag = _initCloneByTag,
8001
- initCloneObject = _initCloneObject,
8166
+ initCloneObject = require_initCloneObject(),
8002
8167
  isArray$d = isArray_1,
8003
- isBuffer$3 = isBufferExports,
8168
+ isBuffer$3 = requireIsBuffer(),
8004
8169
  isMap$1 = isMap_1,
8005
- isObject$2 = isObject_1,
8170
+ isObject$2 = requireIsObject(),
8006
8171
  isSet$1 = isSet_1,
8007
8172
  keys$1 = keys_1,
8008
8173
  keysIn = requireKeysIn();
@@ -8606,7 +8771,7 @@ function setToArray$1(set) {
8606
8771
  var _setToArray = setToArray$1;
8607
8772
 
8608
8773
  var Symbol$3 = _Symbol,
8609
- Uint8Array$1 = _Uint8Array,
8774
+ Uint8Array$1 = require_Uint8Array(),
8610
8775
  eq = requireEq(),
8611
8776
  equalArrays$1 = _equalArrays,
8612
8777
  mapToArray = _mapToArray,
@@ -8815,7 +8980,7 @@ var Stack$1 = require_Stack(),
8815
8980
  equalObjects = _equalObjects,
8816
8981
  getTag = _getTag,
8817
8982
  isArray$c = isArray_1,
8818
- isBuffer$2 = isBufferExports,
8983
+ isBuffer$2 = requireIsBuffer(),
8819
8984
  isTypedArray = requireIsTypedArray();
8820
8985
 
8821
8986
  /** Used to compose bitmasks for value comparisons. */
@@ -8985,7 +9150,7 @@ function baseIsMatch$1(object, source, matchData, customizer) {
8985
9150
 
8986
9151
  var _baseIsMatch = baseIsMatch$1;
8987
9152
 
8988
- var isObject$1 = isObject_1;
9153
+ var isObject$1 = requireIsObject();
8989
9154
 
8990
9155
  /**
8991
9156
  * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
@@ -9442,7 +9607,7 @@ var castPath = _castPath,
9442
9607
  isArguments$1 = requireIsArguments(),
9443
9608
  isArray$8 = isArray_1,
9444
9609
  isIndex = require_isIndex(),
9445
- isLength = isLength_1,
9610
+ isLength = requireIsLength(),
9446
9611
  toKey$3 = _toKey;
9447
9612
 
9448
9613
  /**
@@ -9615,7 +9780,7 @@ var property_1 = property$1;
9615
9780
 
9616
9781
  var baseMatches = _baseMatches,
9617
9782
  baseMatchesProperty = _baseMatchesProperty,
9618
- identity = identity_1,
9783
+ identity = requireIdentity(),
9619
9784
  isArray$7 = isArray_1,
9620
9785
  property = property_1;
9621
9786
 
@@ -9782,46 +9947,54 @@ function flatten$1(array) {
9782
9947
 
9783
9948
  var flatten_1 = flatten$1;
9784
9949
 
9785
- var apply = _apply;
9950
+ var _overRest;
9951
+ var hasRequired_overRest;
9786
9952
 
9787
- /* Built-in method references for those with the same name as other `lodash` methods. */
9788
- var nativeMax = Math.max;
9953
+ function require_overRest () {
9954
+ if (hasRequired_overRest) return _overRest;
9955
+ hasRequired_overRest = 1;
9956
+ var apply = _apply;
9789
9957
 
9790
- /**
9791
- * A specialized version of `baseRest` which transforms the rest array.
9792
- *
9793
- * @private
9794
- * @param {Function} func The function to apply a rest parameter to.
9795
- * @param {number} [start=func.length-1] The start position of the rest parameter.
9796
- * @param {Function} transform The rest array transform.
9797
- * @returns {Function} Returns the new function.
9798
- */
9799
- function overRest$1(func, start, transform) {
9800
- start = nativeMax(start === undefined ? (func.length - 1) : start, 0);
9801
- return function() {
9802
- var args = arguments,
9803
- index = -1,
9804
- length = nativeMax(args.length - start, 0),
9805
- array = Array(length);
9958
+ /* Built-in method references for those with the same name as other `lodash` methods. */
9959
+ var nativeMax = Math.max;
9806
9960
 
9807
- while (++index < length) {
9808
- array[index] = args[start + index];
9809
- }
9810
- index = -1;
9811
- var otherArgs = Array(start + 1);
9812
- while (++index < start) {
9813
- otherArgs[index] = args[index];
9814
- }
9815
- otherArgs[start] = transform(array);
9816
- return apply(func, this, otherArgs);
9817
- };
9818
- }
9961
+ /**
9962
+ * A specialized version of `baseRest` which transforms the rest array.
9963
+ *
9964
+ * @private
9965
+ * @param {Function} func The function to apply a rest parameter to.
9966
+ * @param {number} [start=func.length-1] The start position of the rest parameter.
9967
+ * @param {Function} transform The rest array transform.
9968
+ * @returns {Function} Returns the new function.
9969
+ */
9970
+ function overRest(func, start, transform) {
9971
+ start = nativeMax(start === undefined ? (func.length - 1) : start, 0);
9972
+ return function() {
9973
+ var args = arguments,
9974
+ index = -1,
9975
+ length = nativeMax(args.length - start, 0),
9976
+ array = Array(length);
9977
+
9978
+ while (++index < length) {
9979
+ array[index] = args[start + index];
9980
+ }
9981
+ index = -1;
9982
+ var otherArgs = Array(start + 1);
9983
+ while (++index < start) {
9984
+ otherArgs[index] = args[index];
9985
+ }
9986
+ otherArgs[start] = transform(array);
9987
+ return apply(func, this, otherArgs);
9988
+ };
9989
+ }
9819
9990
 
9820
- var _overRest = overRest$1;
9991
+ _overRest = overRest;
9992
+ return _overRest;
9993
+ }
9821
9994
 
9822
9995
  var flatten = flatten_1,
9823
- overRest = _overRest,
9824
- setToString = _setToString;
9996
+ overRest = require_overRest(),
9997
+ setToString = require_setToString();
9825
9998
 
9826
9999
  /**
9827
10000
  * A specialized version of `baseRest` which flattens the rest array.
@@ -9946,7 +10119,7 @@ var hasRequired_assignMergeValue;
9946
10119
  function require_assignMergeValue () {
9947
10120
  if (hasRequired_assignMergeValue) return _assignMergeValue;
9948
10121
  hasRequired_assignMergeValue = 1;
9949
- var baseAssignValue = _baseAssignValue,
10122
+ var baseAssignValue = require_baseAssignValue(),
9950
10123
  eq = requireEq();
9951
10124
 
9952
10125
  /**
@@ -10035,7 +10208,7 @@ var hasRequiredIsArrayLikeObject;
10035
10208
  function requireIsArrayLikeObject () {
10036
10209
  if (hasRequiredIsArrayLikeObject) return isArrayLikeObject_1;
10037
10210
  hasRequiredIsArrayLikeObject = 1;
10038
- var isArrayLike = isArrayLike_1,
10211
+ var isArrayLike = requireIsArrayLike(),
10039
10212
  isObjectLike = isObjectLike_1;
10040
10213
 
10041
10214
  /**
@@ -10150,16 +10323,16 @@ function require_baseMergeDeep () {
10150
10323
  if (hasRequired_baseMergeDeep) return _baseMergeDeep;
10151
10324
  hasRequired_baseMergeDeep = 1;
10152
10325
  var assignMergeValue = require_assignMergeValue(),
10153
- cloneBuffer = _cloneBufferExports,
10326
+ cloneBuffer = require_cloneBuffer(),
10154
10327
  cloneTypedArray = require_cloneTypedArray(),
10155
10328
  copyArray = _copyArray,
10156
- initCloneObject = _initCloneObject,
10329
+ initCloneObject = require_initCloneObject(),
10157
10330
  isArguments = requireIsArguments(),
10158
10331
  isArray = isArray_1,
10159
10332
  isArrayLikeObject = requireIsArrayLikeObject(),
10160
- isBuffer = isBufferExports,
10333
+ isBuffer = requireIsBuffer(),
10161
10334
  isFunction = isFunction_1,
10162
- isObject = isObject_1,
10335
+ isObject = requireIsObject(),
10163
10336
  isPlainObject = isPlainObject_1,
10164
10337
  isTypedArray = requireIsTypedArray(),
10165
10338
  safeGet = require_safeGet(),
@@ -10256,7 +10429,7 @@ function require_baseMerge () {
10256
10429
  assignMergeValue = require_assignMergeValue(),
10257
10430
  baseFor = require_baseFor(),
10258
10431
  baseMergeDeep = require_baseMergeDeep(),
10259
- isObject = isObject_1,
10432
+ isObject = requireIsObject(),
10260
10433
  keysIn = requireKeysIn(),
10261
10434
  safeGet = require_safeGet();
10262
10435
 
@@ -10303,9 +10476,9 @@ var hasRequired_baseRest;
10303
10476
  function require_baseRest () {
10304
10477
  if (hasRequired_baseRest) return _baseRest;
10305
10478
  hasRequired_baseRest = 1;
10306
- var identity = identity_1,
10307
- overRest = _overRest,
10308
- setToString = _setToString;
10479
+ var identity = requireIdentity(),
10480
+ overRest = require_overRest(),
10481
+ setToString = require_setToString();
10309
10482
 
10310
10483
  /**
10311
10484
  * The base implementation of `_.rest` which doesn't validate or coerce arguments.
@@ -10330,9 +10503,9 @@ function require_isIterateeCall () {
10330
10503
  if (hasRequired_isIterateeCall) return _isIterateeCall;
10331
10504
  hasRequired_isIterateeCall = 1;
10332
10505
  var eq = requireEq(),
10333
- isArrayLike = isArrayLike_1,
10506
+ isArrayLike = requireIsArrayLike(),
10334
10507
  isIndex = require_isIndex(),
10335
- isObject = isObject_1;
10508
+ isObject = requireIsObject();
10336
10509
 
10337
10510
  /**
10338
10511
  * Checks if the given arguments are from an iteratee call.
@@ -34991,7 +35164,7 @@ class ShipEngineAPI {
34991
35164
  * The `rateShoppers` method provides access to the Rate Shoppers endpoints in ShipEngine
34992
35165
  * API.
34993
35166
  *
34994
- * @see {@link ShippingRulesAPI | The Shipping Rules API module}
35167
+ * @see {@link RateShoppersAPI | The Rate Shoppers API module}
34995
35168
  */
34996
35169
  get rateShoppers() {
34997
35170
  return new RateShoppersAPI(this.client);
@@ -37939,19 +38112,18 @@ var __objRest$g = (source, exclude) => {
37939
38112
  };
37940
38113
  const useListRateShoppers = (params) => {
37941
38114
  const { client } = useShipEngine();
37942
- const _a = params, { queryFnParams } = _a, rest = __objRest$g(_a, ["queryFnParams"]);
38115
+ const _a = __spreadValues$l({}, params), { queryFnParams } = _a, rest = __objRest$g(_a, ["queryFnParams"]);
37943
38116
  return useQuery(__spreadProps$i(__spreadValues$l({}, rest), {
37944
38117
  onError,
37945
38118
  queryFn: () => client.rateShoppers.list(queryFnParams),
37946
38119
  queryKey: ["useListRateShoppers", params],
37947
- select: (result) => result.data.rateShoppers
38120
+ select: (result) => result.data
37948
38121
  }));
37949
38122
  };
37950
38123
 
37951
38124
  const useGetRateShopper = (rateShopperId) => {
37952
38125
  const { client } = useShipEngine();
37953
38126
  return useQuery({
37954
- enabled: !!rateShopperId,
37955
38127
  onError,
37956
38128
  queryFn: () => {
37957
38129
  return client.rateShoppers.get(rateShopperId);