@shipengine/alchemy 6.0.52 → 6.0.54

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 +922 -1012
  2. package/index.mjs +922 -1013
  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,7 +3914,7 @@ var _createBind = createBind$1;
3938
3914
  * @returns {*} Returns the result of `func`.
3939
3915
  */
3940
3916
 
3941
- function apply$2(func, thisArg, args) {
3917
+ function apply$3(func, thisArg, args) {
3942
3918
  switch (args.length) {
3943
3919
  case 0: return func.call(thisArg);
3944
3920
  case 1: return func.call(thisArg, args[0]);
@@ -3948,11 +3924,11 @@ function apply$2(func, thisArg, args) {
3948
3924
  return func.apply(thisArg, args);
3949
3925
  }
3950
3926
 
3951
- var _apply = apply$2;
3927
+ var _apply = apply$3;
3952
3928
 
3953
3929
  /* Built-in method references for those with the same name as other `lodash` methods. */
3954
3930
 
3955
- var nativeMax$2 = Math.max;
3931
+ var nativeMax$3 = Math.max;
3956
3932
 
3957
3933
  /**
3958
3934
  * Creates an array that is the composition of partially applied arguments,
@@ -3971,7 +3947,7 @@ function composeArgs$2(args, partials, holders, isCurried) {
3971
3947
  holdersLength = holders.length,
3972
3948
  leftIndex = -1,
3973
3949
  leftLength = partials.length,
3974
- rangeLength = nativeMax$2(argsLength - holdersLength, 0),
3950
+ rangeLength = nativeMax$3(argsLength - holdersLength, 0),
3975
3951
  result = Array(leftLength + rangeLength),
3976
3952
  isUncurried = !isCurried;
3977
3953
 
@@ -3993,7 +3969,7 @@ var _composeArgs = composeArgs$2;
3993
3969
 
3994
3970
  /* Built-in method references for those with the same name as other `lodash` methods. */
3995
3971
 
3996
- var nativeMax$1 = Math.max;
3972
+ var nativeMax$2 = Math.max;
3997
3973
 
3998
3974
  /**
3999
3975
  * This function is like `composeArgs` except that the arguments composition
@@ -4013,7 +3989,7 @@ function composeArgsRight$2(args, partials, holders, isCurried) {
4013
3989
  holdersLength = holders.length,
4014
3990
  rightIndex = -1,
4015
3991
  rightLength = partials.length,
4016
- rangeLength = nativeMax$1(argsLength - holdersLength, 0),
3992
+ rangeLength = nativeMax$2(argsLength - holdersLength, 0),
4017
3993
  result = Array(rangeLength + rightLength),
4018
3994
  isUncurried = !isCurried;
4019
3995
 
@@ -4069,7 +4045,7 @@ function baseLodash$3() {
4069
4045
 
4070
4046
  var _baseLodash = baseLodash$3;
4071
4047
 
4072
- var baseCreate$1 = require_baseCreate(),
4048
+ var baseCreate$2 = _baseCreate,
4073
4049
  baseLodash$2 = _baseLodash;
4074
4050
 
4075
4051
  /** Used as references for the maximum length and index of an array. */
@@ -4093,7 +4069,7 @@ function LazyWrapper$3(value) {
4093
4069
  }
4094
4070
 
4095
4071
  // Ensure `LazyWrapper` is an instance of `baseLodash`.
4096
- LazyWrapper$3.prototype = baseCreate$1(baseLodash$2.prototype);
4072
+ LazyWrapper$3.prototype = baseCreate$2(baseLodash$2.prototype);
4097
4073
  LazyWrapper$3.prototype.constructor = LazyWrapper$3;
4098
4074
 
4099
4075
  var _LazyWrapper = LazyWrapper$3;
@@ -4142,10 +4118,10 @@ var _realNames = realNames$1;
4142
4118
  var realNames = _realNames;
4143
4119
 
4144
4120
  /** Used for built-in method references. */
4145
- var objectProto$9 = Object.prototype;
4121
+ var objectProto$a = Object.prototype;
4146
4122
 
4147
4123
  /** Used to check objects for own properties. */
4148
- var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
4124
+ var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
4149
4125
 
4150
4126
  /**
4151
4127
  * Gets the name of `func`.
@@ -4157,7 +4133,7 @@ var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
4157
4133
  function getFuncName$1(func) {
4158
4134
  var result = (func.name + ''),
4159
4135
  array = realNames[result],
4160
- length = hasOwnProperty$7.call(realNames, result) ? array.length : 0;
4136
+ length = hasOwnProperty$8.call(realNames, result) ? array.length : 0;
4161
4137
 
4162
4138
  while (length--) {
4163
4139
  var data = array[length],
@@ -4171,7 +4147,7 @@ function getFuncName$1(func) {
4171
4147
 
4172
4148
  var _getFuncName = getFuncName$1;
4173
4149
 
4174
- var baseCreate = require_baseCreate(),
4150
+ var baseCreate$1 = _baseCreate,
4175
4151
  baseLodash$1 = _baseLodash;
4176
4152
 
4177
4153
  /**
@@ -4189,7 +4165,7 @@ function LodashWrapper$2(value, chainAll) {
4189
4165
  this.__values__ = undefined;
4190
4166
  }
4191
4167
 
4192
- LodashWrapper$2.prototype = baseCreate(baseLodash$1.prototype);
4168
+ LodashWrapper$2.prototype = baseCreate$1(baseLodash$1.prototype);
4193
4169
  LodashWrapper$2.prototype.constructor = LodashWrapper$2;
4194
4170
 
4195
4171
  var _LodashWrapper = LodashWrapper$2;
@@ -4218,9 +4194,9 @@ var _LodashWrapper = LodashWrapper$2;
4218
4194
  * // => false
4219
4195
  */
4220
4196
 
4221
- var isArray$g = Array.isArray;
4197
+ var isArray$h = Array.isArray;
4222
4198
 
4223
- var isArray_1 = isArray$g;
4199
+ var isArray_1 = isArray$h;
4224
4200
 
4225
4201
  /**
4226
4202
  * Checks if `value` is object-like. A value is object-like if it's not `null`
@@ -4302,15 +4278,15 @@ var _wrapperClone = wrapperClone$1;
4302
4278
  var LazyWrapper$1 = _LazyWrapper,
4303
4279
  LodashWrapper = _LodashWrapper,
4304
4280
  baseLodash = _baseLodash,
4305
- isArray$f = isArray_1,
4281
+ isArray$g = isArray_1,
4306
4282
  isObjectLike$7 = isObjectLike_1,
4307
4283
  wrapperClone = _wrapperClone;
4308
4284
 
4309
4285
  /** Used for built-in method references. */
4310
- var objectProto$8 = Object.prototype;
4286
+ var objectProto$9 = Object.prototype;
4311
4287
 
4312
4288
  /** Used to check objects for own properties. */
4313
- var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
4289
+ var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
4314
4290
 
4315
4291
  /**
4316
4292
  * Creates a `lodash` object which wraps `value` to enable implicit method
@@ -4430,11 +4406,11 @@ var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
4430
4406
  * // => true
4431
4407
  */
4432
4408
  function lodash$2(value) {
4433
- if (isObjectLike$7(value) && !isArray$f(value) && !(value instanceof LazyWrapper$1)) {
4409
+ if (isObjectLike$7(value) && !isArray$g(value) && !(value instanceof LazyWrapper$1)) {
4434
4410
  if (value instanceof LodashWrapper) {
4435
4411
  return value;
4436
4412
  }
4437
- if (hasOwnProperty$6.call(value, '__wrapped__')) {
4413
+ if (hasOwnProperty$7.call(value, '__wrapped__')) {
4438
4414
  return wrapperClone(value);
4439
4415
  }
4440
4416
  }
@@ -4493,7 +4469,7 @@ var nativeNow = Date.now;
4493
4469
  * @param {Function} func The function to restrict.
4494
4470
  * @returns {Function} Returns the new shortable function.
4495
4471
  */
4496
- function shortOut$1(func) {
4472
+ function shortOut$2(func) {
4497
4473
  var count = 0,
4498
4474
  lastCalled = 0;
4499
4475
 
@@ -4513,10 +4489,10 @@ function shortOut$1(func) {
4513
4489
  };
4514
4490
  }
4515
4491
 
4516
- var _shortOut = shortOut$1;
4492
+ var _shortOut = shortOut$2;
4517
4493
 
4518
4494
  var baseSetData$1 = _baseSetData,
4519
- shortOut = _shortOut;
4495
+ shortOut$1 = _shortOut;
4520
4496
 
4521
4497
  /**
4522
4498
  * Sets metadata for `func`.
@@ -4532,7 +4508,7 @@ var baseSetData$1 = _baseSetData,
4532
4508
  * @param {*} data The metadata.
4533
4509
  * @returns {Function} Returns `func`.
4534
4510
  */
4535
- var setData$2 = shortOut(baseSetData$1);
4511
+ var setData$2 = shortOut$1(baseSetData$1);
4536
4512
 
4537
4513
  var _setData = setData$2;
4538
4514
 
@@ -4600,95 +4576,63 @@ var _insertWrapDetails = insertWrapDetails$1;
4600
4576
  * // => true
4601
4577
  */
4602
4578
 
4603
- var constant_1;
4604
- var hasRequiredConstant;
4605
-
4606
- function requireConstant () {
4607
- if (hasRequiredConstant) return constant_1;
4608
- hasRequiredConstant = 1;
4609
- function constant(value) {
4610
- return function() {
4611
- return value;
4612
- };
4613
- }
4614
-
4615
- constant_1 = constant;
4616
- return constant_1;
4579
+ function constant$1(value) {
4580
+ return function() {
4581
+ return value;
4582
+ };
4617
4583
  }
4618
4584
 
4619
- var _defineProperty;
4620
- var hasRequired_defineProperty;
4621
-
4622
- function require_defineProperty () {
4623
- if (hasRequired_defineProperty) return _defineProperty;
4624
- hasRequired_defineProperty = 1;
4625
- var getNative = _getNative;
4626
-
4627
- var defineProperty = (function() {
4628
- try {
4629
- var func = getNative(Object, 'defineProperty');
4630
- func({}, '', {});
4631
- return func;
4632
- } catch (e) {}
4633
- }());
4585
+ var constant_1 = constant$1;
4634
4586
 
4635
- _defineProperty = defineProperty;
4636
- return _defineProperty;
4637
- }
4587
+ var getNative$4 = _getNative;
4638
4588
 
4639
- var _baseSetToString;
4640
- 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
+ }());
4641
4596
 
4642
- function require_baseSetToString () {
4643
- if (hasRequired_baseSetToString) return _baseSetToString;
4644
- hasRequired_baseSetToString = 1;
4645
- var constant = requireConstant(),
4646
- defineProperty = require_defineProperty(),
4647
- identity = requireIdentity();
4597
+ var _defineProperty = defineProperty$2;
4648
4598
 
4649
- /**
4650
- * The base implementation of `setToString` without support for hot loop shorting.
4651
- *
4652
- * @private
4653
- * @param {Function} func The function to modify.
4654
- * @param {Function} string The `toString` result.
4655
- * @returns {Function} Returns `func`.
4656
- */
4657
- var baseSetToString = !defineProperty ? identity : function(func, string) {
4658
- return defineProperty(func, 'toString', {
4659
- 'configurable': true,
4660
- 'enumerable': false,
4661
- 'value': constant(string),
4662
- 'writable': true
4663
- });
4664
- };
4599
+ var constant = constant_1,
4600
+ defineProperty$1 = _defineProperty,
4601
+ identity$1 = identity_1;
4665
4602
 
4666
- _baseSetToString = baseSetToString;
4667
- return _baseSetToString;
4668
- }
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
+ };
4669
4619
 
4670
- var _setToString;
4671
- var hasRequired_setToString;
4620
+ var _baseSetToString = baseSetToString$1;
4672
4621
 
4673
- function require_setToString () {
4674
- if (hasRequired_setToString) return _setToString;
4675
- hasRequired_setToString = 1;
4676
- var baseSetToString = require_baseSetToString(),
4677
- shortOut = _shortOut;
4622
+ var baseSetToString = _baseSetToString,
4623
+ shortOut = _shortOut;
4678
4624
 
4679
- /**
4680
- * Sets the `toString` method of `func` to return `string`.
4681
- *
4682
- * @private
4683
- * @param {Function} func The function to modify.
4684
- * @param {Function} string The `toString` result.
4685
- * @returns {Function} Returns `func`.
4686
- */
4687
- 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);
4688
4634
 
4689
- _setToString = setToString;
4690
- return _setToString;
4691
- }
4635
+ var _setToString = setToString$2;
4692
4636
 
4693
4637
  /**
4694
4638
  * A specialized version of `_.forEach` for arrays without support for
@@ -4867,7 +4811,7 @@ var _updateWrapDetails = updateWrapDetails$1;
4867
4811
 
4868
4812
  var getWrapDetails = _getWrapDetails,
4869
4813
  insertWrapDetails = _insertWrapDetails,
4870
- setToString$1 = require_setToString(),
4814
+ setToString$1 = _setToString,
4871
4815
  updateWrapDetails = _updateWrapDetails;
4872
4816
 
4873
4817
  /**
@@ -4961,41 +4905,33 @@ var _getHolder = getHolder$2;
4961
4905
 
4962
4906
  /** Used as references for various `Number` constants. */
4963
4907
 
4964
- var _isIndex;
4965
- var hasRequired_isIndex;
4966
-
4967
- function require_isIndex () {
4968
- if (hasRequired_isIndex) return _isIndex;
4969
- hasRequired_isIndex = 1;
4970
- var MAX_SAFE_INTEGER = 9007199254740991;
4908
+ var MAX_SAFE_INTEGER$1 = 9007199254740991;
4971
4909
 
4972
- /** Used to detect unsigned integer values. */
4973
- var reIsUint = /^(?:0|[1-9]\d*)$/;
4910
+ /** Used to detect unsigned integer values. */
4911
+ var reIsUint = /^(?:0|[1-9]\d*)$/;
4974
4912
 
4975
- /**
4976
- * Checks if `value` is a valid array-like index.
4977
- *
4978
- * @private
4979
- * @param {*} value The value to check.
4980
- * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
4981
- * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
4982
- */
4983
- function isIndex(value, length) {
4984
- var type = typeof value;
4985
- length = length == null ? MAX_SAFE_INTEGER : length;
4986
-
4987
- return !!length &&
4988
- (type == 'number' ||
4989
- (type != 'symbol' && reIsUint.test(value))) &&
4990
- (value > -1 && value % 1 == 0 && value < length);
4991
- }
4913
+ /**
4914
+ * Checks if `value` is a valid array-like index.
4915
+ *
4916
+ * @private
4917
+ * @param {*} value The value to check.
4918
+ * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
4919
+ * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
4920
+ */
4921
+ function isIndex$3(value, length) {
4922
+ var type = typeof value;
4923
+ length = length == null ? MAX_SAFE_INTEGER$1 : length;
4992
4924
 
4993
- _isIndex = isIndex;
4994
- return _isIndex;
4925
+ return !!length &&
4926
+ (type == 'number' ||
4927
+ (type != 'symbol' && reIsUint.test(value))) &&
4928
+ (value > -1 && value % 1 == 0 && value < length);
4995
4929
  }
4996
4930
 
4931
+ var _isIndex = isIndex$3;
4932
+
4997
4933
  var copyArray$2 = _copyArray,
4998
- isIndex$1 = require_isIndex();
4934
+ isIndex$2 = _isIndex;
4999
4935
 
5000
4936
  /* Built-in method references for those with the same name as other `lodash` methods. */
5001
4937
  var nativeMin$1 = Math.min;
@@ -5017,7 +4953,7 @@ function reorder$1(array, indexes) {
5017
4953
 
5018
4954
  while (length--) {
5019
4955
  var index = indexes[length];
5020
- array[length] = isIndex$1(index, arrLength) ? oldArray[index] : undefined;
4956
+ array[length] = isIndex$2(index, arrLength) ? oldArray[index] : undefined;
5021
4957
  }
5022
4958
  return array;
5023
4959
  }
@@ -5063,7 +4999,7 @@ var composeArgs$1 = _composeArgs,
5063
4999
  getHolder$1 = _getHolder,
5064
5000
  reorder = _reorder,
5065
5001
  replaceHolders$2 = _replaceHolders,
5066
- root$6 = _root;
5002
+ root$7 = _root;
5067
5003
 
5068
5004
  /** Used to compose bitmasks for function metadata. */
5069
5005
  var WRAP_BIND_FLAG$3 = 1,
@@ -5138,7 +5074,7 @@ function createHybrid$2(func, bitmask, thisArg, partials, holders, partialsRight
5138
5074
  if (isAry && ary < length) {
5139
5075
  args.length = ary;
5140
5076
  }
5141
- if (this && this !== root$6 && this instanceof wrapper) {
5077
+ if (this && this !== root$7 && this instanceof wrapper) {
5142
5078
  fn = Ctor || createCtor$2(fn);
5143
5079
  }
5144
5080
  return fn.apply(thisBinding, args);
@@ -5148,13 +5084,13 @@ function createHybrid$2(func, bitmask, thisArg, partials, holders, partialsRight
5148
5084
 
5149
5085
  var _createHybrid = createHybrid$2;
5150
5086
 
5151
- var apply$1 = _apply,
5087
+ var apply$2 = _apply,
5152
5088
  createCtor$1 = _createCtor,
5153
5089
  createHybrid$1 = _createHybrid,
5154
5090
  createRecurry = _createRecurry,
5155
5091
  getHolder = _getHolder,
5156
5092
  replaceHolders$1 = _replaceHolders,
5157
- root$5 = _root;
5093
+ root$6 = _root;
5158
5094
 
5159
5095
  /**
5160
5096
  * Creates a function that wraps `func` to enable currying.
@@ -5187,17 +5123,17 @@ function createCurry$1(func, bitmask, arity) {
5187
5123
  func, bitmask, createHybrid$1, wrapper.placeholder, undefined,
5188
5124
  args, holders, undefined, undefined, arity - length);
5189
5125
  }
5190
- var fn = (this && this !== root$5 && this instanceof wrapper) ? Ctor : func;
5191
- return apply$1(fn, this, args);
5126
+ var fn = (this && this !== root$6 && this instanceof wrapper) ? Ctor : func;
5127
+ return apply$2(fn, this, args);
5192
5128
  }
5193
5129
  return wrapper;
5194
5130
  }
5195
5131
 
5196
5132
  var _createCurry = createCurry$1;
5197
5133
 
5198
- var apply = _apply,
5134
+ var apply$1 = _apply,
5199
5135
  createCtor = _createCtor,
5200
- root$4 = _root;
5136
+ root$5 = _root;
5201
5137
 
5202
5138
  /** Used to compose bitmasks for function metadata. */
5203
5139
  var WRAP_BIND_FLAG$2 = 1;
@@ -5224,7 +5160,7 @@ function createPartial$1(func, bitmask, thisArg, partials) {
5224
5160
  leftIndex = -1,
5225
5161
  leftLength = partials.length,
5226
5162
  args = Array(leftLength + argsLength),
5227
- fn = (this && this !== root$4 && this instanceof wrapper) ? Ctor : func;
5163
+ fn = (this && this !== root$5 && this instanceof wrapper) ? Ctor : func;
5228
5164
 
5229
5165
  while (++leftIndex < leftLength) {
5230
5166
  args[leftIndex] = partials[leftIndex];
@@ -5232,7 +5168,7 @@ function createPartial$1(func, bitmask, thisArg, partials) {
5232
5168
  while (argsLength--) {
5233
5169
  args[leftIndex++] = arguments[++argsIndex];
5234
5170
  }
5235
- return apply(fn, isBind ? thisArg : this, args);
5171
+ return apply$1(fn, isBind ? thisArg : this, args);
5236
5172
  }
5237
5173
  return wrapper;
5238
5174
  }
@@ -5402,7 +5338,7 @@ function isSymbol$6(value) {
5402
5338
  var isSymbol_1 = isSymbol$6;
5403
5339
 
5404
5340
  var baseTrim = _baseTrim,
5405
- isObject$3 = requireIsObject(),
5341
+ isObject$3 = isObject_1,
5406
5342
  isSymbol$5 = isSymbol_1;
5407
5343
 
5408
5344
  /** Used as references for various `Number` constants. */
@@ -5569,7 +5505,7 @@ var WRAP_BIND_FLAG = 1,
5569
5505
  WRAP_PARTIAL_RIGHT_FLAG = 64;
5570
5506
 
5571
5507
  /* Built-in method references for those with the same name as other `lodash` methods. */
5572
- var nativeMax = Math.max;
5508
+ var nativeMax$1 = Math.max;
5573
5509
 
5574
5510
  /**
5575
5511
  * Creates a function that either curries or invokes `func` with optional
@@ -5606,7 +5542,7 @@ function createWrap$3(func, bitmask, thisArg, partials, holders, argPos, ary, ar
5606
5542
  bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG);
5607
5543
  partials = holders = undefined;
5608
5544
  }
5609
- ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0);
5545
+ ary = ary === undefined ? ary : nativeMax$1(toInteger(ary), 0);
5610
5546
  arity = arity === undefined ? arity : toInteger(arity);
5611
5547
  length -= holders ? holders.length : 0;
5612
5548
 
@@ -5633,7 +5569,7 @@ function createWrap$3(func, bitmask, thisArg, partials, holders, argPos, ary, ar
5633
5569
  holders = newData[4];
5634
5570
  arity = newData[9] = newData[9] === undefined
5635
5571
  ? (isBindKey ? 0 : func.length)
5636
- : nativeMax(newData[9] - length, 0);
5572
+ : nativeMax$1(newData[9] - length, 0);
5637
5573
 
5638
5574
  if (!arity && bitmask & (WRAP_CURRY_FLAG$1 | WRAP_CURRY_RIGHT_FLAG)) {
5639
5575
  bitmask &= ~(WRAP_CURRY_FLAG$1 | WRAP_CURRY_RIGHT_FLAG);
@@ -5683,40 +5619,32 @@ function ary(func, n, guard) {
5683
5619
 
5684
5620
  var ary_1 = ary;
5685
5621
 
5686
- var _baseAssignValue;
5687
- var hasRequired_baseAssignValue;
5688
-
5689
- function require_baseAssignValue () {
5690
- if (hasRequired_baseAssignValue) return _baseAssignValue;
5691
- hasRequired_baseAssignValue = 1;
5692
- var defineProperty = require_defineProperty();
5622
+ var defineProperty = _defineProperty;
5693
5623
 
5694
- /**
5695
- * The base implementation of `assignValue` and `assignMergeValue` without
5696
- * value checks.
5697
- *
5698
- * @private
5699
- * @param {Object} object The object to modify.
5700
- * @param {string} key The key of the property to assign.
5701
- * @param {*} value The value to assign.
5702
- */
5703
- function baseAssignValue(object, key, value) {
5704
- if (key == '__proto__' && defineProperty) {
5705
- defineProperty(object, key, {
5706
- 'configurable': true,
5707
- 'enumerable': true,
5708
- 'value': value,
5709
- 'writable': true
5710
- });
5711
- } else {
5712
- object[key] = value;
5713
- }
5714
- }
5715
-
5716
- _baseAssignValue = baseAssignValue;
5717
- return _baseAssignValue;
5624
+ /**
5625
+ * The base implementation of `assignValue` and `assignMergeValue` without
5626
+ * value checks.
5627
+ *
5628
+ * @private
5629
+ * @param {Object} object The object to modify.
5630
+ * @param {string} key The key of the property to assign.
5631
+ * @param {*} value The value to assign.
5632
+ */
5633
+ function baseAssignValue$2(object, key, value) {
5634
+ if (key == '__proto__' && defineProperty) {
5635
+ defineProperty(object, key, {
5636
+ 'configurable': true,
5637
+ 'enumerable': true,
5638
+ 'value': value,
5639
+ 'writable': true
5640
+ });
5641
+ } else {
5642
+ object[key] = value;
5643
+ }
5718
5644
  }
5719
5645
 
5646
+ var _baseAssignValue = baseAssignValue$2;
5647
+
5720
5648
  /**
5721
5649
  * Performs a
5722
5650
  * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
@@ -5764,14 +5692,14 @@ function requireEq () {
5764
5692
  return eq_1;
5765
5693
  }
5766
5694
 
5767
- var baseAssignValue$1 = require_baseAssignValue(),
5695
+ var baseAssignValue$1 = _baseAssignValue,
5768
5696
  eq$1 = requireEq();
5769
5697
 
5770
5698
  /** Used for built-in method references. */
5771
- var objectProto$7 = Object.prototype;
5699
+ var objectProto$8 = Object.prototype;
5772
5700
 
5773
5701
  /** Used to check objects for own properties. */
5774
- var hasOwnProperty$5 = objectProto$7.hasOwnProperty;
5702
+ var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
5775
5703
 
5776
5704
  /**
5777
5705
  * Assigns `value` to `key` of `object` if the existing value is not equivalent
@@ -5785,7 +5713,7 @@ var hasOwnProperty$5 = objectProto$7.hasOwnProperty;
5785
5713
  */
5786
5714
  function assignValue$2(object, key, value) {
5787
5715
  var objValue = object[key];
5788
- if (!(hasOwnProperty$5.call(object, key) && eq$1(objValue, value)) ||
5716
+ if (!(hasOwnProperty$6.call(object, key) && eq$1(objValue, value)) ||
5789
5717
  (value === undefined && !(key in object))) {
5790
5718
  baseAssignValue$1(object, key, value);
5791
5719
  }
@@ -5794,7 +5722,7 @@ function assignValue$2(object, key, value) {
5794
5722
  var _assignValue = assignValue$2;
5795
5723
 
5796
5724
  var assignValue$1 = _assignValue,
5797
- baseAssignValue = require_baseAssignValue();
5725
+ baseAssignValue = _baseAssignValue;
5798
5726
 
5799
5727
  /**
5800
5728
  * Copies properties of `source` to `object`.
@@ -5844,26 +5772,18 @@ var _copyObject = copyObject$4;
5844
5772
  * @returns {Array} Returns the array of results.
5845
5773
  */
5846
5774
 
5847
- var _baseTimes;
5848
- var hasRequired_baseTimes;
5849
-
5850
- function require_baseTimes () {
5851
- if (hasRequired_baseTimes) return _baseTimes;
5852
- hasRequired_baseTimes = 1;
5853
- function baseTimes(n, iteratee) {
5854
- var index = -1,
5855
- result = Array(n);
5856
-
5857
- while (++index < n) {
5858
- result[index] = iteratee(index);
5859
- }
5860
- return result;
5861
- }
5775
+ function baseTimes$1(n, iteratee) {
5776
+ var index = -1,
5777
+ result = Array(n);
5862
5778
 
5863
- _baseTimes = baseTimes;
5864
- return _baseTimes;
5779
+ while (++index < n) {
5780
+ result[index] = iteratee(index);
5781
+ }
5782
+ return result;
5865
5783
  }
5866
5784
 
5785
+ var _baseTimes = baseTimes$1;
5786
+
5867
5787
  var _baseIsArguments;
5868
5788
  var hasRequired_baseIsArguments;
5869
5789
 
@@ -5937,7 +5857,7 @@ function requireIsArguments () {
5937
5857
  }
5938
5858
 
5939
5859
  var isBufferExports = {};
5940
- var isBuffer$4 = {
5860
+ var isBuffer$5 = {
5941
5861
  get exports(){ return isBufferExports; },
5942
5862
  set exports(v){ isBufferExports = v; },
5943
5863
  };
@@ -5956,113 +5876,90 @@ var isBuffer$4 = {
5956
5876
  * // => [false, false]
5957
5877
  */
5958
5878
 
5959
- var stubFalse_1;
5960
- var hasRequiredStubFalse;
5961
-
5962
- function requireStubFalse () {
5963
- if (hasRequiredStubFalse) return stubFalse_1;
5964
- hasRequiredStubFalse = 1;
5965
- function stubFalse() {
5966
- return false;
5967
- }
5968
-
5969
- stubFalse_1 = stubFalse;
5970
- return stubFalse_1;
5879
+ function stubFalse() {
5880
+ return false;
5971
5881
  }
5972
5882
 
5973
- var hasRequiredIsBuffer;
5974
-
5975
- function requireIsBuffer () {
5976
- if (hasRequiredIsBuffer) return isBufferExports;
5977
- hasRequiredIsBuffer = 1;
5978
- (function (module, exports) {
5979
- var root = _root,
5980
- stubFalse = requireStubFalse();
5981
-
5982
- /** Detect free variable `exports`. */
5983
- var freeExports = exports && !exports.nodeType && exports;
5984
-
5985
- /** Detect free variable `module`. */
5986
- var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
5883
+ var stubFalse_1 = stubFalse;
5987
5884
 
5988
- /** Detect the popular CommonJS extension `module.exports`. */
5989
- var moduleExports = freeModule && freeModule.exports === freeExports;
5990
-
5991
- /** Built-in value references. */
5992
- var Buffer = moduleExports ? root.Buffer : undefined;
5993
-
5994
- /* Built-in method references for those with the same name as other `lodash` methods. */
5995
- var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
5885
+ (function (module, exports) {
5886
+ var root = _root,
5887
+ stubFalse = stubFalse_1;
5996
5888
 
5997
- /**
5998
- * Checks if `value` is a buffer.
5999
- *
6000
- * @static
6001
- * @memberOf _
6002
- * @since 4.3.0
6003
- * @category Lang
6004
- * @param {*} value The value to check.
6005
- * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
6006
- * @example
6007
- *
6008
- * _.isBuffer(new Buffer(2));
6009
- * // => true
6010
- *
6011
- * _.isBuffer(new Uint8Array(2));
6012
- * // => false
6013
- */
6014
- var isBuffer = nativeIsBuffer || stubFalse;
5889
+ /** Detect free variable `exports`. */
5890
+ var freeExports = exports && !exports.nodeType && exports;
6015
5891
 
6016
- module.exports = isBuffer;
6017
- } (isBuffer$4, isBufferExports));
6018
- return isBufferExports;
6019
- }
5892
+ /** Detect free variable `module`. */
5893
+ var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
6020
5894
 
6021
- /** Used as references for various `Number` constants. */
5895
+ /** Detect the popular CommonJS extension `module.exports`. */
5896
+ var moduleExports = freeModule && freeModule.exports === freeExports;
6022
5897
 
6023
- var isLength_1;
6024
- var hasRequiredIsLength;
5898
+ /** Built-in value references. */
5899
+ var Buffer = moduleExports ? root.Buffer : undefined;
6025
5900
 
6026
- function requireIsLength () {
6027
- if (hasRequiredIsLength) return isLength_1;
6028
- hasRequiredIsLength = 1;
6029
- var MAX_SAFE_INTEGER = 9007199254740991;
5901
+ /* Built-in method references for those with the same name as other `lodash` methods. */
5902
+ var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
6030
5903
 
6031
5904
  /**
6032
- * Checks if `value` is a valid array-like length.
6033
- *
6034
- * **Note:** This method is loosely based on
6035
- * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
5905
+ * Checks if `value` is a buffer.
6036
5906
  *
6037
5907
  * @static
6038
5908
  * @memberOf _
6039
- * @since 4.0.0
5909
+ * @since 4.3.0
6040
5910
  * @category Lang
6041
5911
  * @param {*} value The value to check.
6042
- * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
5912
+ * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
6043
5913
  * @example
6044
5914
  *
6045
- * _.isLength(3);
5915
+ * _.isBuffer(new Buffer(2));
6046
5916
  * // => true
6047
5917
  *
6048
- * _.isLength(Number.MIN_VALUE);
6049
- * // => false
6050
- *
6051
- * _.isLength(Infinity);
6052
- * // => false
6053
- *
6054
- * _.isLength('3');
5918
+ * _.isBuffer(new Uint8Array(2));
6055
5919
  * // => false
6056
5920
  */
6057
- function isLength(value) {
6058
- return typeof value == 'number' &&
6059
- value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
6060
- }
5921
+ var isBuffer = nativeIsBuffer || stubFalse;
5922
+
5923
+ module.exports = isBuffer;
5924
+ } (isBuffer$5, isBufferExports));
5925
+
5926
+ /** Used as references for various `Number` constants. */
6061
5927
 
6062
- isLength_1 = isLength;
6063
- return isLength_1;
5928
+ var MAX_SAFE_INTEGER = 9007199254740991;
5929
+
5930
+ /**
5931
+ * Checks if `value` is a valid array-like length.
5932
+ *
5933
+ * **Note:** This method is loosely based on
5934
+ * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
5935
+ *
5936
+ * @static
5937
+ * @memberOf _
5938
+ * @since 4.0.0
5939
+ * @category Lang
5940
+ * @param {*} value The value to check.
5941
+ * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
5942
+ * @example
5943
+ *
5944
+ * _.isLength(3);
5945
+ * // => true
5946
+ *
5947
+ * _.isLength(Number.MIN_VALUE);
5948
+ * // => false
5949
+ *
5950
+ * _.isLength(Infinity);
5951
+ * // => false
5952
+ *
5953
+ * _.isLength('3');
5954
+ * // => false
5955
+ */
5956
+ function isLength$2(value) {
5957
+ return typeof value == 'number' &&
5958
+ value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
6064
5959
  }
6065
5960
 
5961
+ var isLength_1 = isLength$2;
5962
+
6066
5963
  var _baseIsTypedArray;
6067
5964
  var hasRequired_baseIsTypedArray;
6068
5965
 
@@ -6070,7 +5967,7 @@ function require_baseIsTypedArray () {
6070
5967
  if (hasRequired_baseIsTypedArray) return _baseIsTypedArray;
6071
5968
  hasRequired_baseIsTypedArray = 1;
6072
5969
  var baseGetTag = _baseGetTag,
6073
- isLength = requireIsLength(),
5970
+ isLength = isLength_1,
6074
5971
  isObjectLike = isObjectLike_1;
6075
5972
 
6076
5973
  /** `Object#toString` result references. */
@@ -6140,67 +6037,52 @@ function require_baseIsTypedArray () {
6140
6037
  * @returns {Function} Returns the new capped function.
6141
6038
  */
6142
6039
 
6143
- var _baseUnary;
6144
- var hasRequired_baseUnary;
6145
-
6146
- function require_baseUnary () {
6147
- if (hasRequired_baseUnary) return _baseUnary;
6148
- hasRequired_baseUnary = 1;
6149
- function baseUnary(func) {
6150
- return function(value) {
6151
- return func(value);
6152
- };
6153
- }
6154
-
6155
- _baseUnary = baseUnary;
6156
- return _baseUnary;
6040
+ function baseUnary$2(func) {
6041
+ return function(value) {
6042
+ return func(value);
6043
+ };
6157
6044
  }
6158
6045
 
6046
+ var _baseUnary = baseUnary$2;
6047
+
6159
6048
  var _nodeUtilExports = {};
6160
6049
  var _nodeUtil = {
6161
6050
  get exports(){ return _nodeUtilExports; },
6162
6051
  set exports(v){ _nodeUtilExports = v; },
6163
6052
  };
6164
6053
 
6165
- var hasRequired_nodeUtil;
6166
-
6167
- function require_nodeUtil () {
6168
- if (hasRequired_nodeUtil) return _nodeUtilExports;
6169
- hasRequired_nodeUtil = 1;
6170
- (function (module, exports) {
6171
- var freeGlobal = _freeGlobal;
6054
+ (function (module, exports) {
6055
+ var freeGlobal = _freeGlobal;
6172
6056
 
6173
- /** Detect free variable `exports`. */
6174
- var freeExports = exports && !exports.nodeType && exports;
6057
+ /** Detect free variable `exports`. */
6058
+ var freeExports = exports && !exports.nodeType && exports;
6175
6059
 
6176
- /** Detect free variable `module`. */
6177
- var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
6060
+ /** Detect free variable `module`. */
6061
+ var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
6178
6062
 
6179
- /** Detect the popular CommonJS extension `module.exports`. */
6180
- var moduleExports = freeModule && freeModule.exports === freeExports;
6063
+ /** Detect the popular CommonJS extension `module.exports`. */
6064
+ var moduleExports = freeModule && freeModule.exports === freeExports;
6181
6065
 
6182
- /** Detect free variable `process` from Node.js. */
6183
- var freeProcess = moduleExports && freeGlobal.process;
6066
+ /** Detect free variable `process` from Node.js. */
6067
+ var freeProcess = moduleExports && freeGlobal.process;
6184
6068
 
6185
- /** Used to access faster Node.js helpers. */
6186
- var nodeUtil = (function() {
6187
- try {
6188
- // Use `util.types` for Node.js 10+.
6189
- var types = freeModule && freeModule.require && freeModule.require('util').types;
6069
+ /** Used to access faster Node.js helpers. */
6070
+ var nodeUtil = (function() {
6071
+ try {
6072
+ // Use `util.types` for Node.js 10+.
6073
+ var types = freeModule && freeModule.require && freeModule.require('util').types;
6190
6074
 
6191
- if (types) {
6192
- return types;
6193
- }
6075
+ if (types) {
6076
+ return types;
6077
+ }
6194
6078
 
6195
- // Legacy `process.binding('util')` for Node.js < 10.
6196
- return freeProcess && freeProcess.binding && freeProcess.binding('util');
6197
- } catch (e) {}
6198
- }());
6079
+ // Legacy `process.binding('util')` for Node.js < 10.
6080
+ return freeProcess && freeProcess.binding && freeProcess.binding('util');
6081
+ } catch (e) {}
6082
+ }());
6199
6083
 
6200
- module.exports = nodeUtil;
6084
+ module.exports = nodeUtil;
6201
6085
  } (_nodeUtil, _nodeUtilExports));
6202
- return _nodeUtilExports;
6203
- }
6204
6086
 
6205
6087
  var isTypedArray_1;
6206
6088
  var hasRequiredIsTypedArray;
@@ -6209,8 +6091,8 @@ function requireIsTypedArray () {
6209
6091
  if (hasRequiredIsTypedArray) return isTypedArray_1;
6210
6092
  hasRequiredIsTypedArray = 1;
6211
6093
  var baseIsTypedArray = require_baseIsTypedArray(),
6212
- baseUnary = require_baseUnary(),
6213
- nodeUtil = require_nodeUtil();
6094
+ baseUnary = _baseUnary,
6095
+ nodeUtil = _nodeUtilExports;
6214
6096
 
6215
6097
  /* Node.js helper references. */
6216
6098
  var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
@@ -6238,64 +6120,56 @@ function requireIsTypedArray () {
6238
6120
  return isTypedArray_1;
6239
6121
  }
6240
6122
 
6241
- var _arrayLikeKeys;
6242
- var hasRequired_arrayLikeKeys;
6243
-
6244
- function require_arrayLikeKeys () {
6245
- if (hasRequired_arrayLikeKeys) return _arrayLikeKeys;
6246
- hasRequired_arrayLikeKeys = 1;
6247
- var baseTimes = require_baseTimes(),
6248
- isArguments = requireIsArguments(),
6249
- isArray = isArray_1,
6250
- isBuffer = requireIsBuffer(),
6251
- isIndex = require_isIndex(),
6252
- isTypedArray = requireIsTypedArray();
6123
+ var baseTimes = _baseTimes,
6124
+ isArguments$2 = requireIsArguments(),
6125
+ isArray$f = isArray_1,
6126
+ isBuffer$4 = isBufferExports,
6127
+ isIndex$1 = _isIndex,
6128
+ isTypedArray$1 = requireIsTypedArray();
6253
6129
 
6254
- /** Used for built-in method references. */
6255
- var objectProto = Object.prototype;
6130
+ /** Used for built-in method references. */
6131
+ var objectProto$7 = Object.prototype;
6256
6132
 
6257
- /** Used to check objects for own properties. */
6258
- var hasOwnProperty = objectProto.hasOwnProperty;
6133
+ /** Used to check objects for own properties. */
6134
+ var hasOwnProperty$5 = objectProto$7.hasOwnProperty;
6259
6135
 
6260
- /**
6261
- * Creates an array of the enumerable property names of the array-like `value`.
6262
- *
6263
- * @private
6264
- * @param {*} value The value to query.
6265
- * @param {boolean} inherited Specify returning inherited property names.
6266
- * @returns {Array} Returns the array of property names.
6267
- */
6268
- function arrayLikeKeys(value, inherited) {
6269
- var isArr = isArray(value),
6270
- isArg = !isArr && isArguments(value),
6271
- isBuff = !isArr && !isArg && isBuffer(value),
6272
- isType = !isArr && !isArg && !isBuff && isTypedArray(value),
6273
- skipIndexes = isArr || isArg || isBuff || isType,
6274
- result = skipIndexes ? baseTimes(value.length, String) : [],
6275
- length = result.length;
6276
-
6277
- for (var key in value) {
6278
- if ((inherited || hasOwnProperty.call(value, key)) &&
6279
- !(skipIndexes && (
6280
- // Safari 9 has enumerable `arguments.length` in strict mode.
6281
- key == 'length' ||
6282
- // Node.js 0.10 has enumerable non-index properties on buffers.
6283
- (isBuff && (key == 'offset' || key == 'parent')) ||
6284
- // PhantomJS 2 has enumerable non-index properties on typed arrays.
6285
- (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
6286
- // Skip index properties.
6287
- isIndex(key, length)
6288
- ))) {
6289
- result.push(key);
6290
- }
6291
- }
6292
- return result;
6293
- }
6136
+ /**
6137
+ * Creates an array of the enumerable property names of the array-like `value`.
6138
+ *
6139
+ * @private
6140
+ * @param {*} value The value to query.
6141
+ * @param {boolean} inherited Specify returning inherited property names.
6142
+ * @returns {Array} Returns the array of property names.
6143
+ */
6144
+ function arrayLikeKeys$1(value, inherited) {
6145
+ var isArr = isArray$f(value),
6146
+ isArg = !isArr && isArguments$2(value),
6147
+ isBuff = !isArr && !isArg && isBuffer$4(value),
6148
+ isType = !isArr && !isArg && !isBuff && isTypedArray$1(value),
6149
+ skipIndexes = isArr || isArg || isBuff || isType,
6150
+ result = skipIndexes ? baseTimes(value.length, String) : [],
6151
+ length = result.length;
6294
6152
 
6295
- _arrayLikeKeys = arrayLikeKeys;
6296
- return _arrayLikeKeys;
6153
+ for (var key in value) {
6154
+ if ((inherited || hasOwnProperty$5.call(value, key)) &&
6155
+ !(skipIndexes && (
6156
+ // Safari 9 has enumerable `arguments.length` in strict mode.
6157
+ key == 'length' ||
6158
+ // Node.js 0.10 has enumerable non-index properties on buffers.
6159
+ (isBuff && (key == 'offset' || key == 'parent')) ||
6160
+ // PhantomJS 2 has enumerable non-index properties on typed arrays.
6161
+ (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
6162
+ // Skip index properties.
6163
+ isIndex$1(key, length)
6164
+ ))) {
6165
+ result.push(key);
6166
+ }
6167
+ }
6168
+ return result;
6297
6169
  }
6298
6170
 
6171
+ var _arrayLikeKeys = arrayLikeKeys$1;
6172
+
6299
6173
  /** Used for built-in method references. */
6300
6174
 
6301
6175
  var objectProto$6 = Object.prototype;
@@ -6307,14 +6181,14 @@ var objectProto$6 = Object.prototype;
6307
6181
  * @param {*} value The value to check.
6308
6182
  * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
6309
6183
  */
6310
- function isPrototype$1(value) {
6184
+ function isPrototype$2(value) {
6311
6185
  var Ctor = value && value.constructor,
6312
6186
  proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto$6;
6313
6187
 
6314
6188
  return value === proto;
6315
6189
  }
6316
6190
 
6317
- var _isPrototype = isPrototype$1;
6191
+ var _isPrototype = isPrototype$2;
6318
6192
 
6319
6193
  /**
6320
6194
  * Creates a unary function that invokes `func` with its argument transformed.
@@ -6340,7 +6214,7 @@ var nativeKeys$1 = overArg$1(Object.keys, Object);
6340
6214
 
6341
6215
  var _nativeKeys = nativeKeys$1;
6342
6216
 
6343
- var isPrototype = _isPrototype,
6217
+ var isPrototype$1 = _isPrototype,
6344
6218
  nativeKeys = _nativeKeys;
6345
6219
 
6346
6220
  /** Used for built-in method references. */
@@ -6357,7 +6231,7 @@ var hasOwnProperty$4 = objectProto$5.hasOwnProperty;
6357
6231
  * @returns {Array} Returns the array of property names.
6358
6232
  */
6359
6233
  function baseKeys$1(object) {
6360
- if (!isPrototype(object)) {
6234
+ if (!isPrototype$1(object)) {
6361
6235
  return nativeKeys(object);
6362
6236
  }
6363
6237
  var result = [];
@@ -6371,51 +6245,43 @@ function baseKeys$1(object) {
6371
6245
 
6372
6246
  var _baseKeys = baseKeys$1;
6373
6247
 
6374
- var isArrayLike_1;
6375
- var hasRequiredIsArrayLike;
6376
-
6377
- function requireIsArrayLike () {
6378
- if (hasRequiredIsArrayLike) return isArrayLike_1;
6379
- hasRequiredIsArrayLike = 1;
6380
- var isFunction = isFunction_1,
6381
- isLength = requireIsLength();
6382
-
6383
- /**
6384
- * Checks if `value` is array-like. A value is considered array-like if it's
6385
- * not a function and has a `value.length` that's an integer greater than or
6386
- * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
6387
- *
6388
- * @static
6389
- * @memberOf _
6390
- * @since 4.0.0
6391
- * @category Lang
6392
- * @param {*} value The value to check.
6393
- * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
6394
- * @example
6395
- *
6396
- * _.isArrayLike([1, 2, 3]);
6397
- * // => true
6398
- *
6399
- * _.isArrayLike(document.body.children);
6400
- * // => true
6401
- *
6402
- * _.isArrayLike('abc');
6403
- * // => true
6404
- *
6405
- * _.isArrayLike(_.noop);
6406
- * // => false
6407
- */
6408
- function isArrayLike(value) {
6409
- return value != null && isLength(value.length) && !isFunction(value);
6410
- }
6248
+ var isFunction$1 = isFunction_1,
6249
+ isLength$1 = isLength_1;
6411
6250
 
6412
- isArrayLike_1 = isArrayLike;
6413
- return isArrayLike_1;
6251
+ /**
6252
+ * Checks if `value` is array-like. A value is considered array-like if it's
6253
+ * not a function and has a `value.length` that's an integer greater than or
6254
+ * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
6255
+ *
6256
+ * @static
6257
+ * @memberOf _
6258
+ * @since 4.0.0
6259
+ * @category Lang
6260
+ * @param {*} value The value to check.
6261
+ * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
6262
+ * @example
6263
+ *
6264
+ * _.isArrayLike([1, 2, 3]);
6265
+ * // => true
6266
+ *
6267
+ * _.isArrayLike(document.body.children);
6268
+ * // => true
6269
+ *
6270
+ * _.isArrayLike('abc');
6271
+ * // => true
6272
+ *
6273
+ * _.isArrayLike(_.noop);
6274
+ * // => false
6275
+ */
6276
+ function isArrayLike$1(value) {
6277
+ return value != null && isLength$1(value.length) && !isFunction$1(value);
6414
6278
  }
6415
6279
 
6416
- var arrayLikeKeys = require_arrayLikeKeys(),
6280
+ var isArrayLike_1 = isArrayLike$1;
6281
+
6282
+ var arrayLikeKeys = _arrayLikeKeys,
6417
6283
  baseKeys = _baseKeys,
6418
- isArrayLike = requireIsArrayLike();
6284
+ isArrayLike = isArrayLike_1;
6419
6285
 
6420
6286
  /**
6421
6287
  * Creates an array of the own enumerable property names of `object`.
@@ -6796,10 +6662,10 @@ function require_stackHas () {
6796
6662
  }
6797
6663
 
6798
6664
  var getNative$3 = _getNative,
6799
- root$3 = _root;
6665
+ root$4 = _root;
6800
6666
 
6801
6667
  /* Built-in method references that are verified to be native. */
6802
- var Map$2 = getNative$3(root$3, 'Map');
6668
+ var Map$2 = getNative$3(root$4, 'Map');
6803
6669
 
6804
6670
  var _Map = Map$2;
6805
6671
 
@@ -7359,7 +7225,7 @@ var hasRequired_baseKeysIn;
7359
7225
  function require_baseKeysIn () {
7360
7226
  if (hasRequired_baseKeysIn) return _baseKeysIn;
7361
7227
  hasRequired_baseKeysIn = 1;
7362
- var isObject = requireIsObject(),
7228
+ var isObject = isObject_1,
7363
7229
  isPrototype = _isPrototype,
7364
7230
  nativeKeysIn = require_nativeKeysIn();
7365
7231
 
@@ -7401,9 +7267,9 @@ var hasRequiredKeysIn;
7401
7267
  function requireKeysIn () {
7402
7268
  if (hasRequiredKeysIn) return keysIn_1;
7403
7269
  hasRequiredKeysIn = 1;
7404
- var arrayLikeKeys = require_arrayLikeKeys(),
7270
+ var arrayLikeKeys = _arrayLikeKeys,
7405
7271
  baseKeysIn = require_baseKeysIn(),
7406
- isArrayLike = requireIsArrayLike();
7272
+ isArrayLike = isArrayLike_1;
7407
7273
 
7408
7274
  /**
7409
7275
  * Creates an array of the own and inherited enumerable property names of `object`.
@@ -7460,50 +7326,43 @@ var _cloneBuffer = {
7460
7326
  set exports(v){ _cloneBufferExports = v; },
7461
7327
  };
7462
7328
 
7463
- var hasRequired_cloneBuffer;
7464
-
7465
- function require_cloneBuffer () {
7466
- if (hasRequired_cloneBuffer) return _cloneBufferExports;
7467
- hasRequired_cloneBuffer = 1;
7468
- (function (module, exports) {
7469
- var root = _root;
7470
-
7471
- /** Detect free variable `exports`. */
7472
- var freeExports = exports && !exports.nodeType && exports;
7473
-
7474
- /** Detect free variable `module`. */
7475
- var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
7476
-
7477
- /** Detect the popular CommonJS extension `module.exports`. */
7478
- var moduleExports = freeModule && freeModule.exports === freeExports;
7479
-
7480
- /** Built-in value references. */
7481
- var Buffer = moduleExports ? root.Buffer : undefined,
7482
- allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;
7483
-
7484
- /**
7485
- * Creates a clone of `buffer`.
7486
- *
7487
- * @private
7488
- * @param {Buffer} buffer The buffer to clone.
7489
- * @param {boolean} [isDeep] Specify a deep clone.
7490
- * @returns {Buffer} Returns the cloned buffer.
7491
- */
7492
- function cloneBuffer(buffer, isDeep) {
7493
- if (isDeep) {
7494
- return buffer.slice();
7495
- }
7496
- var length = buffer.length,
7497
- result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
7498
-
7499
- buffer.copy(result);
7500
- return result;
7501
- }
7329
+ (function (module, exports) {
7330
+ var root = _root;
7331
+
7332
+ /** Detect free variable `exports`. */
7333
+ var freeExports = exports && !exports.nodeType && exports;
7334
+
7335
+ /** Detect free variable `module`. */
7336
+ var freeModule = freeExports && 'object' == 'object' && module && !module.nodeType && module;
7337
+
7338
+ /** Detect the popular CommonJS extension `module.exports`. */
7339
+ var moduleExports = freeModule && freeModule.exports === freeExports;
7340
+
7341
+ /** Built-in value references. */
7342
+ var Buffer = moduleExports ? root.Buffer : undefined,
7343
+ allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;
7502
7344
 
7503
- module.exports = cloneBuffer;
7345
+ /**
7346
+ * Creates a clone of `buffer`.
7347
+ *
7348
+ * @private
7349
+ * @param {Buffer} buffer The buffer to clone.
7350
+ * @param {boolean} [isDeep] Specify a deep clone.
7351
+ * @returns {Buffer} Returns the cloned buffer.
7352
+ */
7353
+ function cloneBuffer(buffer, isDeep) {
7354
+ if (isDeep) {
7355
+ return buffer.slice();
7356
+ }
7357
+ var length = buffer.length,
7358
+ result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
7359
+
7360
+ buffer.copy(result);
7361
+ return result;
7362
+ }
7363
+
7364
+ module.exports = cloneBuffer;
7504
7365
  } (_cloneBuffer, _cloneBufferExports));
7505
- return _cloneBufferExports;
7506
- }
7507
7366
 
7508
7367
  /**
7509
7368
  * A specialized version of `_.filter` for arrays without support for
@@ -7630,12 +7489,12 @@ var _arrayPush = arrayPush$3;
7630
7489
  var overArg = _overArg;
7631
7490
 
7632
7491
  /** Built-in value references. */
7633
- var getPrototype$2 = overArg(Object.getPrototypeOf, Object);
7492
+ var getPrototype$3 = overArg(Object.getPrototypeOf, Object);
7634
7493
 
7635
- var _getPrototype = getPrototype$2;
7494
+ var _getPrototype = getPrototype$3;
7636
7495
 
7637
7496
  var arrayPush$2 = _arrayPush,
7638
- getPrototype$1 = _getPrototype,
7497
+ getPrototype$2 = _getPrototype,
7639
7498
  getSymbols$1 = _getSymbols,
7640
7499
  stubArray = stubArray_1;
7641
7500
 
@@ -7653,7 +7512,7 @@ var getSymbolsIn$2 = !nativeGetSymbols ? stubArray : function(object) {
7653
7512
  var result = [];
7654
7513
  while (object) {
7655
7514
  arrayPush$2(result, getSymbols$1(object));
7656
- object = getPrototype$1(object);
7515
+ object = getPrototype$2(object);
7657
7516
  }
7658
7517
  return result;
7659
7518
  };
@@ -7734,26 +7593,26 @@ function getAllKeysIn$1(object) {
7734
7593
  var _getAllKeysIn = getAllKeysIn$1;
7735
7594
 
7736
7595
  var getNative$2 = _getNative,
7737
- root$2 = _root;
7596
+ root$3 = _root;
7738
7597
 
7739
7598
  /* Built-in method references that are verified to be native. */
7740
- var DataView$2 = getNative$2(root$2, 'DataView');
7599
+ var DataView$2 = getNative$2(root$3, 'DataView');
7741
7600
 
7742
7601
  var _DataView = DataView$2;
7743
7602
 
7744
7603
  var getNative$1 = _getNative,
7745
- root$1 = _root;
7604
+ root$2 = _root;
7746
7605
 
7747
7606
  /* Built-in method references that are verified to be native. */
7748
- var Promise$2 = getNative$1(root$1, 'Promise');
7607
+ var Promise$2 = getNative$1(root$2, 'Promise');
7749
7608
 
7750
7609
  var _Promise = Promise$2;
7751
7610
 
7752
7611
  var getNative = _getNative,
7753
- root = _root;
7612
+ root$1 = _root;
7754
7613
 
7755
7614
  /* Built-in method references that are verified to be native. */
7756
- var Set$2 = getNative(root, 'Set');
7615
+ var Set$2 = getNative(root$1, 'Set');
7757
7616
 
7758
7617
  var _Set = Set$2;
7759
7618
 
@@ -7844,47 +7703,31 @@ function initCloneArray$1(array) {
7844
7703
 
7845
7704
  var _initCloneArray = initCloneArray$1;
7846
7705
 
7847
- var _Uint8Array;
7848
- var hasRequired_Uint8Array;
7849
-
7850
- function require_Uint8Array () {
7851
- if (hasRequired_Uint8Array) return _Uint8Array;
7852
- hasRequired_Uint8Array = 1;
7853
- var root = _root;
7854
-
7855
- /** Built-in value references. */
7856
- var Uint8Array = root.Uint8Array;
7706
+ var root = _root;
7857
7707
 
7858
- _Uint8Array = Uint8Array;
7859
- return _Uint8Array;
7860
- }
7708
+ /** Built-in value references. */
7709
+ var Uint8Array$3 = root.Uint8Array;
7861
7710
 
7862
- var _cloneArrayBuffer;
7863
- var hasRequired_cloneArrayBuffer;
7711
+ var _Uint8Array = Uint8Array$3;
7864
7712
 
7865
- function require_cloneArrayBuffer () {
7866
- if (hasRequired_cloneArrayBuffer) return _cloneArrayBuffer;
7867
- hasRequired_cloneArrayBuffer = 1;
7868
- var Uint8Array = require_Uint8Array();
7713
+ var Uint8Array$2 = _Uint8Array;
7869
7714
 
7870
- /**
7871
- * Creates a clone of `arrayBuffer`.
7872
- *
7873
- * @private
7874
- * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
7875
- * @returns {ArrayBuffer} Returns the cloned array buffer.
7876
- */
7877
- function cloneArrayBuffer(arrayBuffer) {
7878
- var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
7879
- new Uint8Array(result).set(new Uint8Array(arrayBuffer));
7880
- return result;
7881
- }
7882
-
7883
- _cloneArrayBuffer = cloneArrayBuffer;
7884
- return _cloneArrayBuffer;
7715
+ /**
7716
+ * Creates a clone of `arrayBuffer`.
7717
+ *
7718
+ * @private
7719
+ * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
7720
+ * @returns {ArrayBuffer} Returns the cloned array buffer.
7721
+ */
7722
+ function cloneArrayBuffer$2(arrayBuffer) {
7723
+ var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
7724
+ new Uint8Array$2(result).set(new Uint8Array$2(arrayBuffer));
7725
+ return result;
7885
7726
  }
7886
7727
 
7887
- var cloneArrayBuffer$1 = require_cloneArrayBuffer();
7728
+ var _cloneArrayBuffer = cloneArrayBuffer$2;
7729
+
7730
+ var cloneArrayBuffer$1 = _cloneArrayBuffer;
7888
7731
 
7889
7732
  /**
7890
7733
  * Creates a clone of `dataView`.
@@ -7945,7 +7788,7 @@ var hasRequired_cloneTypedArray;
7945
7788
  function require_cloneTypedArray () {
7946
7789
  if (hasRequired_cloneTypedArray) return _cloneTypedArray;
7947
7790
  hasRequired_cloneTypedArray = 1;
7948
- var cloneArrayBuffer = require_cloneArrayBuffer();
7791
+ var cloneArrayBuffer = _cloneArrayBuffer;
7949
7792
 
7950
7793
  /**
7951
7794
  * Creates a clone of `typedArray`.
@@ -7964,7 +7807,7 @@ function require_cloneTypedArray () {
7964
7807
  return _cloneTypedArray;
7965
7808
  }
7966
7809
 
7967
- var cloneArrayBuffer = require_cloneArrayBuffer(),
7810
+ var cloneArrayBuffer = _cloneArrayBuffer,
7968
7811
  cloneDataView = _cloneDataView,
7969
7812
  cloneRegExp = _cloneRegExp,
7970
7813
  cloneSymbol = _cloneSymbol,
@@ -8042,33 +7885,25 @@ function initCloneByTag$1(object, tag, isDeep) {
8042
7885
 
8043
7886
  var _initCloneByTag = initCloneByTag$1;
8044
7887
 
8045
- var _initCloneObject;
8046
- var hasRequired_initCloneObject;
8047
-
8048
- function require_initCloneObject () {
8049
- if (hasRequired_initCloneObject) return _initCloneObject;
8050
- hasRequired_initCloneObject = 1;
8051
- var baseCreate = require_baseCreate(),
8052
- getPrototype = _getPrototype,
8053
- isPrototype = _isPrototype;
8054
-
8055
- /**
8056
- * Initializes an object clone.
8057
- *
8058
- * @private
8059
- * @param {Object} object The object to clone.
8060
- * @returns {Object} Returns the initialized clone.
8061
- */
8062
- function initCloneObject(object) {
8063
- return (typeof object.constructor == 'function' && !isPrototype(object))
8064
- ? baseCreate(getPrototype(object))
8065
- : {};
8066
- }
7888
+ var baseCreate = _baseCreate,
7889
+ getPrototype$1 = _getPrototype,
7890
+ isPrototype = _isPrototype;
8067
7891
 
8068
- _initCloneObject = initCloneObject;
8069
- return _initCloneObject;
7892
+ /**
7893
+ * Initializes an object clone.
7894
+ *
7895
+ * @private
7896
+ * @param {Object} object The object to clone.
7897
+ * @returns {Object} Returns the initialized clone.
7898
+ */
7899
+ function initCloneObject$1(object) {
7900
+ return (typeof object.constructor == 'function' && !isPrototype(object))
7901
+ ? baseCreate(getPrototype$1(object))
7902
+ : {};
8070
7903
  }
8071
7904
 
7905
+ var _initCloneObject = initCloneObject$1;
7906
+
8072
7907
  var getTag$4 = _getTag,
8073
7908
  isObjectLike$5 = isObjectLike_1;
8074
7909
 
@@ -8089,8 +7924,8 @@ function baseIsMap$1(value) {
8089
7924
  var _baseIsMap = baseIsMap$1;
8090
7925
 
8091
7926
  var baseIsMap = _baseIsMap,
8092
- baseUnary$1 = require_baseUnary(),
8093
- nodeUtil$1 = require_nodeUtil();
7927
+ baseUnary$1 = _baseUnary,
7928
+ nodeUtil$1 = _nodeUtilExports;
8094
7929
 
8095
7930
  /* Node.js helper references. */
8096
7931
  var nodeIsMap = nodeUtil$1 && nodeUtil$1.isMap;
@@ -8136,8 +7971,8 @@ function baseIsSet$1(value) {
8136
7971
  var _baseIsSet = baseIsSet$1;
8137
7972
 
8138
7973
  var baseIsSet = _baseIsSet,
8139
- baseUnary = require_baseUnary(),
8140
- nodeUtil = require_nodeUtil();
7974
+ baseUnary = _baseUnary,
7975
+ nodeUtil = _nodeUtilExports;
8141
7976
 
8142
7977
  /* Node.js helper references. */
8143
7978
  var nodeIsSet = nodeUtil && nodeUtil.isSet;
@@ -8168,7 +8003,7 @@ var Stack$2 = require_Stack(),
8168
8003
  assignValue = _assignValue,
8169
8004
  baseAssign = _baseAssign,
8170
8005
  baseAssignIn = _baseAssignIn,
8171
- cloneBuffer = require_cloneBuffer(),
8006
+ cloneBuffer = _cloneBufferExports,
8172
8007
  copyArray$1 = _copyArray,
8173
8008
  copySymbols = _copySymbols,
8174
8009
  copySymbolsIn = _copySymbolsIn,
@@ -8177,11 +8012,11 @@ var Stack$2 = require_Stack(),
8177
8012
  getTag$2 = _getTag,
8178
8013
  initCloneArray = _initCloneArray,
8179
8014
  initCloneByTag = _initCloneByTag,
8180
- initCloneObject = require_initCloneObject(),
8015
+ initCloneObject = _initCloneObject,
8181
8016
  isArray$d = isArray_1,
8182
- isBuffer$3 = requireIsBuffer(),
8017
+ isBuffer$3 = isBufferExports,
8183
8018
  isMap$1 = isMap_1,
8184
- isObject$2 = requireIsObject(),
8019
+ isObject$2 = isObject_1,
8185
8020
  isSet$1 = isSet_1,
8186
8021
  keys$1 = keys_1,
8187
8022
  keysIn = requireKeysIn();
@@ -8785,7 +8620,7 @@ function setToArray$1(set) {
8785
8620
  var _setToArray = setToArray$1;
8786
8621
 
8787
8622
  var Symbol$3 = _Symbol,
8788
- Uint8Array$1 = require_Uint8Array(),
8623
+ Uint8Array$1 = _Uint8Array,
8789
8624
  eq = requireEq(),
8790
8625
  equalArrays$1 = _equalArrays,
8791
8626
  mapToArray = _mapToArray,
@@ -8994,7 +8829,7 @@ var Stack$1 = require_Stack(),
8994
8829
  equalObjects = _equalObjects,
8995
8830
  getTag = _getTag,
8996
8831
  isArray$c = isArray_1,
8997
- isBuffer$2 = requireIsBuffer(),
8832
+ isBuffer$2 = isBufferExports,
8998
8833
  isTypedArray = requireIsTypedArray();
8999
8834
 
9000
8835
  /** Used to compose bitmasks for value comparisons. */
@@ -9164,7 +8999,7 @@ function baseIsMatch$1(object, source, matchData, customizer) {
9164
8999
 
9165
9000
  var _baseIsMatch = baseIsMatch$1;
9166
9001
 
9167
- var isObject$1 = requireIsObject();
9002
+ var isObject$1 = isObject_1;
9168
9003
 
9169
9004
  /**
9170
9005
  * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.
@@ -9620,8 +9455,8 @@ var _baseHasIn = baseHasIn$1;
9620
9455
  var castPath = _castPath,
9621
9456
  isArguments$1 = requireIsArguments(),
9622
9457
  isArray$8 = isArray_1,
9623
- isIndex = require_isIndex(),
9624
- isLength = requireIsLength(),
9458
+ isIndex = _isIndex,
9459
+ isLength = isLength_1,
9625
9460
  toKey$3 = _toKey;
9626
9461
 
9627
9462
  /**
@@ -9794,7 +9629,7 @@ var property_1 = property$1;
9794
9629
 
9795
9630
  var baseMatches = _baseMatches,
9796
9631
  baseMatchesProperty = _baseMatchesProperty,
9797
- identity = requireIdentity(),
9632
+ identity = identity_1,
9798
9633
  isArray$7 = isArray_1,
9799
9634
  property = property_1;
9800
9635
 
@@ -9961,54 +9796,46 @@ function flatten$1(array) {
9961
9796
 
9962
9797
  var flatten_1 = flatten$1;
9963
9798
 
9964
- var _overRest;
9965
- var hasRequired_overRest;
9966
-
9967
- function require_overRest () {
9968
- if (hasRequired_overRest) return _overRest;
9969
- hasRequired_overRest = 1;
9970
- var apply = _apply;
9971
-
9972
- /* Built-in method references for those with the same name as other `lodash` methods. */
9973
- var nativeMax = Math.max;
9799
+ var apply = _apply;
9974
9800
 
9975
- /**
9976
- * A specialized version of `baseRest` which transforms the rest array.
9977
- *
9978
- * @private
9979
- * @param {Function} func The function to apply a rest parameter to.
9980
- * @param {number} [start=func.length-1] The start position of the rest parameter.
9981
- * @param {Function} transform The rest array transform.
9982
- * @returns {Function} Returns the new function.
9983
- */
9984
- function overRest(func, start, transform) {
9985
- start = nativeMax(start === undefined ? (func.length - 1) : start, 0);
9986
- return function() {
9987
- var args = arguments,
9988
- index = -1,
9989
- length = nativeMax(args.length - start, 0),
9990
- array = Array(length);
9801
+ /* Built-in method references for those with the same name as other `lodash` methods. */
9802
+ var nativeMax = Math.max;
9991
9803
 
9992
- while (++index < length) {
9993
- array[index] = args[start + index];
9994
- }
9995
- index = -1;
9996
- var otherArgs = Array(start + 1);
9997
- while (++index < start) {
9998
- otherArgs[index] = args[index];
9999
- }
10000
- otherArgs[start] = transform(array);
10001
- return apply(func, this, otherArgs);
10002
- };
10003
- }
9804
+ /**
9805
+ * A specialized version of `baseRest` which transforms the rest array.
9806
+ *
9807
+ * @private
9808
+ * @param {Function} func The function to apply a rest parameter to.
9809
+ * @param {number} [start=func.length-1] The start position of the rest parameter.
9810
+ * @param {Function} transform The rest array transform.
9811
+ * @returns {Function} Returns the new function.
9812
+ */
9813
+ function overRest$1(func, start, transform) {
9814
+ start = nativeMax(start === undefined ? (func.length - 1) : start, 0);
9815
+ return function() {
9816
+ var args = arguments,
9817
+ index = -1,
9818
+ length = nativeMax(args.length - start, 0),
9819
+ array = Array(length);
10004
9820
 
10005
- _overRest = overRest;
10006
- return _overRest;
9821
+ while (++index < length) {
9822
+ array[index] = args[start + index];
9823
+ }
9824
+ index = -1;
9825
+ var otherArgs = Array(start + 1);
9826
+ while (++index < start) {
9827
+ otherArgs[index] = args[index];
9828
+ }
9829
+ otherArgs[start] = transform(array);
9830
+ return apply(func, this, otherArgs);
9831
+ };
10007
9832
  }
10008
9833
 
9834
+ var _overRest = overRest$1;
9835
+
10009
9836
  var flatten = flatten_1,
10010
- overRest = require_overRest(),
10011
- setToString = require_setToString();
9837
+ overRest = _overRest,
9838
+ setToString = _setToString;
10012
9839
 
10013
9840
  /**
10014
9841
  * A specialized version of `baseRest` which flattens the rest array.
@@ -10133,7 +9960,7 @@ var hasRequired_assignMergeValue;
10133
9960
  function require_assignMergeValue () {
10134
9961
  if (hasRequired_assignMergeValue) return _assignMergeValue;
10135
9962
  hasRequired_assignMergeValue = 1;
10136
- var baseAssignValue = require_baseAssignValue(),
9963
+ var baseAssignValue = _baseAssignValue,
10137
9964
  eq = requireEq();
10138
9965
 
10139
9966
  /**
@@ -10222,7 +10049,7 @@ var hasRequiredIsArrayLikeObject;
10222
10049
  function requireIsArrayLikeObject () {
10223
10050
  if (hasRequiredIsArrayLikeObject) return isArrayLikeObject_1;
10224
10051
  hasRequiredIsArrayLikeObject = 1;
10225
- var isArrayLike = requireIsArrayLike(),
10052
+ var isArrayLike = isArrayLike_1,
10226
10053
  isObjectLike = isObjectLike_1;
10227
10054
 
10228
10055
  /**
@@ -10337,16 +10164,16 @@ function require_baseMergeDeep () {
10337
10164
  if (hasRequired_baseMergeDeep) return _baseMergeDeep;
10338
10165
  hasRequired_baseMergeDeep = 1;
10339
10166
  var assignMergeValue = require_assignMergeValue(),
10340
- cloneBuffer = require_cloneBuffer(),
10167
+ cloneBuffer = _cloneBufferExports,
10341
10168
  cloneTypedArray = require_cloneTypedArray(),
10342
10169
  copyArray = _copyArray,
10343
- initCloneObject = require_initCloneObject(),
10170
+ initCloneObject = _initCloneObject,
10344
10171
  isArguments = requireIsArguments(),
10345
10172
  isArray = isArray_1,
10346
10173
  isArrayLikeObject = requireIsArrayLikeObject(),
10347
- isBuffer = requireIsBuffer(),
10174
+ isBuffer = isBufferExports,
10348
10175
  isFunction = isFunction_1,
10349
- isObject = requireIsObject(),
10176
+ isObject = isObject_1,
10350
10177
  isPlainObject = isPlainObject_1,
10351
10178
  isTypedArray = requireIsTypedArray(),
10352
10179
  safeGet = require_safeGet(),
@@ -10443,7 +10270,7 @@ function require_baseMerge () {
10443
10270
  assignMergeValue = require_assignMergeValue(),
10444
10271
  baseFor = require_baseFor(),
10445
10272
  baseMergeDeep = require_baseMergeDeep(),
10446
- isObject = requireIsObject(),
10273
+ isObject = isObject_1,
10447
10274
  keysIn = requireKeysIn(),
10448
10275
  safeGet = require_safeGet();
10449
10276
 
@@ -10490,9 +10317,9 @@ var hasRequired_baseRest;
10490
10317
  function require_baseRest () {
10491
10318
  if (hasRequired_baseRest) return _baseRest;
10492
10319
  hasRequired_baseRest = 1;
10493
- var identity = requireIdentity(),
10494
- overRest = require_overRest(),
10495
- setToString = require_setToString();
10320
+ var identity = identity_1,
10321
+ overRest = _overRest,
10322
+ setToString = _setToString;
10496
10323
 
10497
10324
  /**
10498
10325
  * The base implementation of `_.rest` which doesn't validate or coerce arguments.
@@ -10517,9 +10344,9 @@ function require_isIterateeCall () {
10517
10344
  if (hasRequired_isIterateeCall) return _isIterateeCall;
10518
10345
  hasRequired_isIterateeCall = 1;
10519
10346
  var eq = requireEq(),
10520
- isArrayLike = requireIsArrayLike(),
10521
- isIndex = require_isIndex(),
10522
- isObject = requireIsObject();
10347
+ isArrayLike = isArrayLike_1,
10348
+ isIndex = _isIndex,
10349
+ isObject = isObject_1;
10523
10350
 
10524
10351
  /**
10525
10352
  * Checks if the given arguments are from an iteratee call.
@@ -10985,17 +10812,17 @@ var AccountBillingPlanChangeType = /* @__PURE__ */ ((AccountBillingPlanChangeTyp
10985
10812
  return AccountBillingPlanChangeType2;
10986
10813
  })(AccountBillingPlanChangeType || {});
10987
10814
 
10988
- var __getOwnPropSymbols$S = Object.getOwnPropertySymbols;
10989
- var __hasOwnProp$S = Object.prototype.hasOwnProperty;
10990
- var __propIsEnum$S = Object.prototype.propertyIsEnumerable;
10991
- var __objRest$w = (source, exclude) => {
10815
+ var __getOwnPropSymbols$U = Object.getOwnPropertySymbols;
10816
+ var __hasOwnProp$U = Object.prototype.hasOwnProperty;
10817
+ var __propIsEnum$U = Object.prototype.propertyIsEnumerable;
10818
+ var __objRest$x = (source, exclude) => {
10992
10819
  var target = {};
10993
10820
  for (var prop in source)
10994
- if (__hasOwnProp$S.call(source, prop) && exclude.indexOf(prop) < 0)
10821
+ if (__hasOwnProp$U.call(source, prop) && exclude.indexOf(prop) < 0)
10995
10822
  target[prop] = source[prop];
10996
- if (source != null && __getOwnPropSymbols$S)
10997
- for (var prop of __getOwnPropSymbols$S(source)) {
10998
- if (exclude.indexOf(prop) < 0 && __propIsEnum$S.call(source, prop))
10823
+ if (source != null && __getOwnPropSymbols$U)
10824
+ for (var prop of __getOwnPropSymbols$U(source)) {
10825
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$U.call(source, prop))
10999
10826
  target[prop] = source[prop];
11000
10827
  }
11001
10828
  return target;
@@ -11009,7 +10836,7 @@ class CodedError {
11009
10836
  this.message = message;
11010
10837
  }
11011
10838
  static fromObject(_a) {
11012
- var _b = _a, { message } = _b, options = __objRest$w(_b, ["message"]);
10839
+ var _b = _a, { message } = _b, options = __objRest$x(_b, ["message"]);
11013
10840
  return new CodedError(message, options);
11014
10841
  }
11015
10842
  }
@@ -11130,17 +10957,17 @@ const types = /*#__PURE__*/Object.freeze(/*#__PURE__*/Object.defineProperty({
11130
10957
  RateCardStatus
11131
10958
  }, Symbol.toStringTag, { value: 'Module' }));
11132
10959
 
11133
- var __getOwnPropSymbols$R = Object.getOwnPropertySymbols;
11134
- var __hasOwnProp$R = Object.prototype.hasOwnProperty;
11135
- var __propIsEnum$R = Object.prototype.propertyIsEnumerable;
11136
- var __objRest$v = (source, exclude) => {
10960
+ var __getOwnPropSymbols$T = Object.getOwnPropertySymbols;
10961
+ var __hasOwnProp$T = Object.prototype.hasOwnProperty;
10962
+ var __propIsEnum$T = Object.prototype.propertyIsEnumerable;
10963
+ var __objRest$w = (source, exclude) => {
11137
10964
  var target = {};
11138
10965
  for (var prop in source)
11139
- if (__hasOwnProp$R.call(source, prop) && exclude.indexOf(prop) < 0)
10966
+ if (__hasOwnProp$T.call(source, prop) && exclude.indexOf(prop) < 0)
11140
10967
  target[prop] = source[prop];
11141
- if (source != null && __getOwnPropSymbols$R)
11142
- for (var prop of __getOwnPropSymbols$R(source)) {
11143
- if (exclude.indexOf(prop) < 0 && __propIsEnum$R.call(source, prop))
10968
+ if (source != null && __getOwnPropSymbols$T)
10969
+ for (var prop of __getOwnPropSymbols$T(source)) {
10970
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$T.call(source, prop))
11144
10971
  target[prop] = source[prop];
11145
10972
  }
11146
10973
  return target;
@@ -11172,7 +10999,7 @@ class AccountSettingsAPI {
11172
10999
  * The `updateImage` method updates specific image data for a given image id.
11173
11000
  */
11174
11001
  this.updateImage = (_a) => {
11175
- var _b = _a, { labelImageId } = _b, data = __objRest$v(_b, ["labelImageId"]);
11002
+ var _b = _a, { labelImageId } = _b, data = __objRest$w(_b, ["labelImageId"]);
11176
11003
  return this.client.put(`/v1/account/settings/images/${labelImageId}`, data);
11177
11004
  };
11178
11005
  /**
@@ -13944,7 +13771,7 @@ var ipaddr = {
13944
13771
  }).call(commonjsGlobal);
13945
13772
  } (ipaddr));
13946
13773
 
13947
- var __async$10 = (__this, __arguments, generator) => {
13774
+ var __async$11 = (__this, __arguments, generator) => {
13948
13775
  return new Promise((resolve, reject) => {
13949
13776
  var fulfilled = (value) => {
13950
13777
  try {
@@ -13964,7 +13791,7 @@ var __async$10 = (__this, __arguments, generator) => {
13964
13791
  step((generator = generator.apply(__this, __arguments)).next());
13965
13792
  });
13966
13793
  };
13967
- const getEndUserIpAddress = () => __async$10(void 0, null, function* () {
13794
+ const getEndUserIpAddress = () => __async$11(void 0, null, function* () {
13968
13795
  try {
13969
13796
  const response = yield axios.get("https://api.ipify.org/?format=json");
13970
13797
  if (response.data.ip && ipaddrExports.isValid(response.data.ip)) {
@@ -13976,9 +13803,9 @@ const getEndUserIpAddress = () => __async$10(void 0, null, function* () {
13976
13803
  }
13977
13804
  });
13978
13805
 
13979
- const camelizeKeys = (obj) => {
13806
+ const camelizeKeys = (obj, parentKey) => {
13980
13807
  if (Array.isArray(obj)) {
13981
- return obj.map(camelizeKeys);
13808
+ return obj.map((item) => camelizeKeys(item, parentKey));
13982
13809
  } else if (obj !== null && typeof obj === "object") {
13983
13810
  const newObj = {};
13984
13811
  for (const key in obj) {
@@ -13998,7 +13825,11 @@ const camelizeKeys = (obj) => {
13998
13825
  newKey += char;
13999
13826
  }
14000
13827
  }
14001
- newObj[newKey] = camelizeKeys(obj[key]);
13828
+ if (parentKey === "formSchema" && ["jsonSchema", "uiSchema", "brandedContent"].includes(newKey)) {
13829
+ newObj[newKey] = obj[key];
13830
+ } else {
13831
+ newObj[newKey] = camelizeKeys(obj[key], newKey);
13832
+ }
14002
13833
  }
14003
13834
  }
14004
13835
  return newObj;
@@ -14021,38 +13852,38 @@ const decamelizeKeys = (obj, separator = "_") => {
14021
13852
  return obj;
14022
13853
  };
14023
13854
 
14024
- var __defProp$G = Object.defineProperty;
14025
- var __defProps$A = Object.defineProperties;
14026
- var __getOwnPropDescs$A = Object.getOwnPropertyDescriptors;
14027
- var __getOwnPropSymbols$Q = Object.getOwnPropertySymbols;
14028
- var __hasOwnProp$Q = Object.prototype.hasOwnProperty;
14029
- var __propIsEnum$Q = Object.prototype.propertyIsEnumerable;
14030
- var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
14031
- var __spreadValues$G = (a, b) => {
13855
+ var __defProp$H = Object.defineProperty;
13856
+ var __defProps$B = Object.defineProperties;
13857
+ var __getOwnPropDescs$B = Object.getOwnPropertyDescriptors;
13858
+ var __getOwnPropSymbols$S = Object.getOwnPropertySymbols;
13859
+ var __hasOwnProp$S = Object.prototype.hasOwnProperty;
13860
+ var __propIsEnum$S = Object.prototype.propertyIsEnumerable;
13861
+ var __defNormalProp$H = (obj, key, value) => key in obj ? __defProp$H(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
13862
+ var __spreadValues$H = (a, b) => {
14032
13863
  for (var prop in b || (b = {}))
14033
- if (__hasOwnProp$Q.call(b, prop))
14034
- __defNormalProp$G(a, prop, b[prop]);
14035
- if (__getOwnPropSymbols$Q)
14036
- for (var prop of __getOwnPropSymbols$Q(b)) {
14037
- if (__propIsEnum$Q.call(b, prop))
14038
- __defNormalProp$G(a, prop, b[prop]);
13864
+ if (__hasOwnProp$S.call(b, prop))
13865
+ __defNormalProp$H(a, prop, b[prop]);
13866
+ if (__getOwnPropSymbols$S)
13867
+ for (var prop of __getOwnPropSymbols$S(b)) {
13868
+ if (__propIsEnum$S.call(b, prop))
13869
+ __defNormalProp$H(a, prop, b[prop]);
14039
13870
  }
14040
13871
  return a;
14041
13872
  };
14042
- var __spreadProps$A = (a, b) => __defProps$A(a, __getOwnPropDescs$A(b));
14043
- var __objRest$u = (source, exclude) => {
13873
+ var __spreadProps$B = (a, b) => __defProps$B(a, __getOwnPropDescs$B(b));
13874
+ var __objRest$v = (source, exclude) => {
14044
13875
  var target = {};
14045
13876
  for (var prop in source)
14046
- if (__hasOwnProp$Q.call(source, prop) && exclude.indexOf(prop) < 0)
13877
+ if (__hasOwnProp$S.call(source, prop) && exclude.indexOf(prop) < 0)
14047
13878
  target[prop] = source[prop];
14048
- if (source != null && __getOwnPropSymbols$Q)
14049
- for (var prop of __getOwnPropSymbols$Q(source)) {
14050
- if (exclude.indexOf(prop) < 0 && __propIsEnum$Q.call(source, prop))
13879
+ if (source != null && __getOwnPropSymbols$S)
13880
+ for (var prop of __getOwnPropSymbols$S(source)) {
13881
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$S.call(source, prop))
14051
13882
  target[prop] = source[prop];
14052
13883
  }
14053
13884
  return target;
14054
13885
  };
14055
- var __async$$ = (__this, __arguments, generator) => {
13886
+ var __async$10 = (__this, __arguments, generator) => {
14056
13887
  return new Promise((resolve, reject) => {
14057
13888
  var fulfilled = (value) => {
14058
13889
  try {
@@ -14092,12 +13923,12 @@ class CarriersAPI {
14092
13923
  /**
14093
13924
  * The `connect` method connects a carrier account to a user's ShipEngine account.
14094
13925
  */
14095
- this.connect = (_a) => __async$$(this, null, function* () {
14096
- var _b = _a, { carrierCode } = _b, connection = __objRest$u(_b, ["carrierCode"]);
13926
+ this.connect = (_a) => __async$10(this, null, function* () {
13927
+ var _b = _a, { carrierCode } = _b, connection = __objRest$v(_b, ["carrierCode"]);
14097
13928
  const endUserIpAddress = yield getEndUserIpAddress();
14098
13929
  if (!endUserIpAddress)
14099
13930
  return Promise.reject([new CodedError("Unable to get IP address")]);
14100
- return yield this.client.post(`/v1/registration/${carrierCode}`, __spreadProps$A(__spreadValues$G({}, connection), {
13931
+ return yield this.client.post(`/v1/registration/${carrierCode}`, __spreadProps$B(__spreadValues$H({}, connection), {
14101
13932
  endUserIpAddress
14102
13933
  }));
14103
13934
  });
@@ -14183,7 +14014,22 @@ class CarriersAPI {
14183
14014
  }
14184
14015
  }
14185
14016
 
14186
- var __async$_ = (__this, __arguments, generator) => {
14017
+ var __getOwnPropSymbols$R = Object.getOwnPropertySymbols;
14018
+ var __hasOwnProp$R = Object.prototype.hasOwnProperty;
14019
+ var __propIsEnum$R = Object.prototype.propertyIsEnumerable;
14020
+ var __objRest$u = (source, exclude) => {
14021
+ var target = {};
14022
+ for (var prop in source)
14023
+ if (__hasOwnProp$R.call(source, prop) && exclude.indexOf(prop) < 0)
14024
+ target[prop] = source[prop];
14025
+ if (source != null && __getOwnPropSymbols$R)
14026
+ for (var prop of __getOwnPropSymbols$R(source)) {
14027
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$R.call(source, prop))
14028
+ target[prop] = source[prop];
14029
+ }
14030
+ return target;
14031
+ };
14032
+ var __async$$ = (__this, __arguments, generator) => {
14187
14033
  return new Promise((resolve, reject) => {
14188
14034
  var fulfilled = (value) => {
14189
14035
  try {
@@ -14225,7 +14071,7 @@ class ConnectionsAPI {
14225
14071
  /**
14226
14072
  * The `connectCarrier` method connects a carrier to account.
14227
14073
  */
14228
- this.connectCarrier = (carrierName, formData) => __async$_(this, null, function* () {
14074
+ this.connectCarrier = (carrierName, formData) => __async$$(this, null, function* () {
14229
14075
  return yield this.client.post(
14230
14076
  `/v1/connections/carriers/${carrierName}`,
14231
14077
  formData,
@@ -14267,6 +14113,18 @@ class ConnectionsAPI {
14267
14113
  formData
14268
14114
  );
14269
14115
  };
14116
+ /**
14117
+ * The `requestStampsAccountUrls` method request the Web Client Home URL from Stamps for a given
14118
+ * Stamps SE Carrier ID
14119
+ * @docs https://auctane.atlassian.net/wiki/spaces/SEEU/pages/6228738069/ENGINE-9471+Endicia+web+client+communication
14120
+ */
14121
+ this.requestStampsAccountUrls = (_a) => {
14122
+ var _b = _a, { carrierId } = _b, rest = __objRest$u(_b, ["carrierId"]);
14123
+ return this.client.put(
14124
+ `v1/connections/carriers/stamps_com/${carrierId}/request_account_url`,
14125
+ rest
14126
+ );
14127
+ };
14270
14128
  this.client = client;
14271
14129
  }
14272
14130
  }
@@ -16381,23 +16239,23 @@ class CustomPackagesAPI {
16381
16239
  }
16382
16240
  }
16383
16241
 
16384
- var __defProp$F = Object.defineProperty;
16385
- var __getOwnPropSymbols$P = Object.getOwnPropertySymbols;
16386
- var __hasOwnProp$P = Object.prototype.hasOwnProperty;
16387
- var __propIsEnum$P = Object.prototype.propertyIsEnumerable;
16388
- var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16389
- var __spreadValues$F = (a, b) => {
16242
+ var __defProp$G = Object.defineProperty;
16243
+ var __getOwnPropSymbols$Q = Object.getOwnPropertySymbols;
16244
+ var __hasOwnProp$Q = Object.prototype.hasOwnProperty;
16245
+ var __propIsEnum$Q = Object.prototype.propertyIsEnumerable;
16246
+ var __defNormalProp$G = (obj, key, value) => key in obj ? __defProp$G(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16247
+ var __spreadValues$G = (a, b) => {
16390
16248
  for (var prop in b || (b = {}))
16391
- if (__hasOwnProp$P.call(b, prop))
16392
- __defNormalProp$F(a, prop, b[prop]);
16393
- if (__getOwnPropSymbols$P)
16394
- for (var prop of __getOwnPropSymbols$P(b)) {
16395
- if (__propIsEnum$P.call(b, prop))
16396
- __defNormalProp$F(a, prop, b[prop]);
16249
+ if (__hasOwnProp$Q.call(b, prop))
16250
+ __defNormalProp$G(a, prop, b[prop]);
16251
+ if (__getOwnPropSymbols$Q)
16252
+ for (var prop of __getOwnPropSymbols$Q(b)) {
16253
+ if (__propIsEnum$Q.call(b, prop))
16254
+ __defNormalProp$G(a, prop, b[prop]);
16397
16255
  }
16398
16256
  return a;
16399
16257
  };
16400
- var __async$Z = (__this, __arguments, generator) => {
16258
+ var __async$_ = (__this, __arguments, generator) => {
16401
16259
  return new Promise((resolve, reject) => {
16402
16260
  var fulfilled = (value) => {
16403
16261
  try {
@@ -16436,12 +16294,12 @@ class FundingSourcesAPI {
16436
16294
  * The `create` method creates a new funding source for a given user. This requires
16437
16295
  * payment information to be collected from the user.
16438
16296
  */
16439
- this.create = (createFundingSource) => __async$Z(this, null, function* () {
16297
+ this.create = (createFundingSource) => __async$_(this, null, function* () {
16440
16298
  const endUserIpAddress = yield getEndUserIpAddress();
16441
16299
  if (!endUserIpAddress) {
16442
16300
  return Promise.reject([new CodedError("Unable to get IP address")]);
16443
16301
  }
16444
- return yield this.client.post("/v1/funding_sources", __spreadValues$F({
16302
+ return yield this.client.post("/v1/funding_sources", __spreadValues$G({
16445
16303
  endUserIpAddress
16446
16304
  }, createFundingSource));
16447
16305
  });
@@ -16450,7 +16308,7 @@ class FundingSourcesAPI {
16450
16308
  * user to update the billing address or payment information associated with the
16451
16309
  * funding source.
16452
16310
  */
16453
- this.update = (billingInfo, creditCardInfo, auctanePayInfo, fundingSourceId) => __async$Z(this, null, function* () {
16311
+ this.update = (billingInfo, creditCardInfo, auctanePayInfo, fundingSourceId) => __async$_(this, null, function* () {
16454
16312
  const endUserIpAddress = yield getEndUserIpAddress();
16455
16313
  if (!endUserIpAddress) {
16456
16314
  return Promise.reject([new CodedError("Unable to get IP address")]);
@@ -16460,7 +16318,7 @@ class FundingSourcesAPI {
16460
16318
  {
16461
16319
  billingInfo,
16462
16320
  endUserIpAddress,
16463
- paymentMethod: __spreadValues$F({
16321
+ paymentMethod: __spreadValues$G({
16464
16322
  creditCardInfo
16465
16323
  }, auctanePayInfo)
16466
16324
  }
@@ -16470,19 +16328,19 @@ class FundingSourcesAPI {
16470
16328
  * The `registerCarrier` method registers a carrier account and associates
16471
16329
  * it with a given funding source.
16472
16330
  */
16473
- this.registerCarrier = (carrier) => __async$Z(this, null, function* () {
16331
+ this.registerCarrier = (carrier) => __async$_(this, null, function* () {
16474
16332
  const endUserIpAddress = yield getEndUserIpAddress();
16475
16333
  if (!endUserIpAddress) {
16476
16334
  return Promise.reject([new CodedError("Unable to get IP address")]);
16477
16335
  }
16478
- return yield this.client.post("/v1/registration/funding_source", __spreadValues$F({
16336
+ return yield this.client.post("/v1/registration/funding_source", __spreadValues$G({
16479
16337
  endUserIpAddress
16480
16338
  }, carrier));
16481
16339
  });
16482
16340
  /**
16483
16341
  * The `addFunds` method allows you to add funds to a funding source.
16484
16342
  */
16485
- this.addFunds = (amount, fundingSourceId) => __async$Z(this, null, function* () {
16343
+ this.addFunds = (amount, fundingSourceId) => __async$_(this, null, function* () {
16486
16344
  return yield this.client.put(
16487
16345
  `/v1/funding_sources/${fundingSourceId}/add_funds`,
16488
16346
  amount
@@ -16492,7 +16350,7 @@ class FundingSourcesAPI {
16492
16350
  * The `metadata` method returns seller-specific requirements for creating funding sources
16493
16351
  * and attaching carriers
16494
16352
  */
16495
- this.metadata = () => __async$Z(this, null, function* () {
16353
+ this.metadata = () => __async$_(this, null, function* () {
16496
16354
  return yield this.client.get("/v1/funding_sources/metadata");
16497
16355
  });
16498
16356
  /**
@@ -16544,7 +16402,7 @@ class InsuranceAPI {
16544
16402
  }
16545
16403
  }
16546
16404
 
16547
- var __async$Y = (__this, __arguments, generator) => {
16405
+ var __async$Z = (__this, __arguments, generator) => {
16548
16406
  return new Promise((resolve, reject) => {
16549
16407
  var fulfilled = (value) => {
16550
16408
  try {
@@ -16576,13 +16434,13 @@ class InvoiceAddressAPI {
16576
16434
  /**
16577
16435
  * The `create` method creates a new invoice address for a given user.
16578
16436
  */
16579
- this.create = (invoiceAddress) => __async$Y(this, null, function* () {
16437
+ this.create = (invoiceAddress) => __async$Z(this, null, function* () {
16580
16438
  return yield this.client.post("/v1/invoice_address", invoiceAddress);
16581
16439
  });
16582
16440
  /**
16583
16441
  * The `update` method updates a invoice address for a given user.
16584
16442
  */
16585
- this.update = (invoiceAddress) => __async$Y(this, null, function* () {
16443
+ this.update = (invoiceAddress) => __async$Z(this, null, function* () {
16586
16444
  return yield this.client.put("/v1/invoice_address", invoiceAddress);
16587
16445
  });
16588
16446
  this.client = client;
@@ -16644,17 +16502,17 @@ class LabelsAPI {
16644
16502
  }
16645
16503
  }
16646
16504
 
16647
- var __getOwnPropSymbols$O = Object.getOwnPropertySymbols;
16648
- var __hasOwnProp$O = Object.prototype.hasOwnProperty;
16649
- var __propIsEnum$O = Object.prototype.propertyIsEnumerable;
16505
+ var __getOwnPropSymbols$P = Object.getOwnPropertySymbols;
16506
+ var __hasOwnProp$P = Object.prototype.hasOwnProperty;
16507
+ var __propIsEnum$P = Object.prototype.propertyIsEnumerable;
16650
16508
  var __objRest$t = (source, exclude) => {
16651
16509
  var target = {};
16652
16510
  for (var prop in source)
16653
- if (__hasOwnProp$O.call(source, prop) && exclude.indexOf(prop) < 0)
16511
+ if (__hasOwnProp$P.call(source, prop) && exclude.indexOf(prop) < 0)
16654
16512
  target[prop] = source[prop];
16655
- if (source != null && __getOwnPropSymbols$O)
16656
- for (var prop of __getOwnPropSymbols$O(source)) {
16657
- if (exclude.indexOf(prop) < 0 && __propIsEnum$O.call(source, prop))
16513
+ if (source != null && __getOwnPropSymbols$P)
16514
+ for (var prop of __getOwnPropSymbols$P(source)) {
16515
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$P.call(source, prop))
16658
16516
  target[prop] = source[prop];
16659
16517
  }
16660
16518
  return target;
@@ -16775,19 +16633,19 @@ class RateCardsAPI {
16775
16633
  }
16776
16634
  }
16777
16635
 
16778
- var __defProp$E = Object.defineProperty;
16779
- var __getOwnPropSymbols$N = Object.getOwnPropertySymbols;
16780
- var __hasOwnProp$N = Object.prototype.hasOwnProperty;
16781
- var __propIsEnum$N = Object.prototype.propertyIsEnumerable;
16782
- var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16783
- var __spreadValues$E = (a, b) => {
16636
+ var __defProp$F = Object.defineProperty;
16637
+ var __getOwnPropSymbols$O = Object.getOwnPropertySymbols;
16638
+ var __hasOwnProp$O = Object.prototype.hasOwnProperty;
16639
+ var __propIsEnum$O = Object.prototype.propertyIsEnumerable;
16640
+ var __defNormalProp$F = (obj, key, value) => key in obj ? __defProp$F(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16641
+ var __spreadValues$F = (a, b) => {
16784
16642
  for (var prop in b || (b = {}))
16785
- if (__hasOwnProp$N.call(b, prop))
16786
- __defNormalProp$E(a, prop, b[prop]);
16787
- if (__getOwnPropSymbols$N)
16788
- for (var prop of __getOwnPropSymbols$N(b)) {
16789
- if (__propIsEnum$N.call(b, prop))
16790
- __defNormalProp$E(a, prop, b[prop]);
16643
+ if (__hasOwnProp$O.call(b, prop))
16644
+ __defNormalProp$F(a, prop, b[prop]);
16645
+ if (__getOwnPropSymbols$O)
16646
+ for (var prop of __getOwnPropSymbols$O(b)) {
16647
+ if (__propIsEnum$O.call(b, prop))
16648
+ __defNormalProp$F(a, prop, b[prop]);
16791
16649
  }
16792
16650
  return a;
16793
16651
  };
@@ -16809,7 +16667,7 @@ class RatesAPI {
16809
16667
  * method.
16810
16668
  */
16811
16669
  this.estimate = (params) => {
16812
- return this.client.post("/v1/rates/estimate", __spreadValues$E({}, params));
16670
+ return this.client.post("/v1/rates/estimate", __spreadValues$F({}, params));
16813
16671
  };
16814
16672
  this.client = client;
16815
16673
  }
@@ -16889,7 +16747,7 @@ class SalesOrdersAPI {
16889
16747
  }
16890
16748
  }
16891
16749
 
16892
- var __async$X = (__this, __arguments, generator) => {
16750
+ var __async$Y = (__this, __arguments, generator) => {
16893
16751
  return new Promise((resolve, reject) => {
16894
16752
  var fulfilled = (value) => {
16895
16753
  try {
@@ -16947,7 +16805,7 @@ class SellersAPI {
16947
16805
  /**
16948
16806
  * Deletes an API Key
16949
16807
  */
16950
- this.deleteSellerApiKey = (_0) => __async$X(this, [_0], function* ({
16808
+ this.deleteSellerApiKey = (_0) => __async$Y(this, [_0], function* ({
16951
16809
  encryptedApiKey,
16952
16810
  sellerId,
16953
16811
  isSandbox
@@ -16993,19 +16851,19 @@ class SellersAPI {
16993
16851
  }
16994
16852
  }
16995
16853
 
16996
- var __defProp$D = Object.defineProperty;
16997
- var __getOwnPropSymbols$M = Object.getOwnPropertySymbols;
16998
- var __hasOwnProp$M = Object.prototype.hasOwnProperty;
16999
- var __propIsEnum$M = Object.prototype.propertyIsEnumerable;
17000
- var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
17001
- var __spreadValues$D = (a, b) => {
16854
+ var __defProp$E = Object.defineProperty;
16855
+ var __getOwnPropSymbols$N = Object.getOwnPropertySymbols;
16856
+ var __hasOwnProp$N = Object.prototype.hasOwnProperty;
16857
+ var __propIsEnum$N = Object.prototype.propertyIsEnumerable;
16858
+ var __defNormalProp$E = (obj, key, value) => key in obj ? __defProp$E(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
16859
+ var __spreadValues$E = (a, b) => {
17002
16860
  for (var prop in b || (b = {}))
17003
- if (__hasOwnProp$M.call(b, prop))
17004
- __defNormalProp$D(a, prop, b[prop]);
17005
- if (__getOwnPropSymbols$M)
17006
- for (var prop of __getOwnPropSymbols$M(b)) {
17007
- if (__propIsEnum$M.call(b, prop))
17008
- __defNormalProp$D(a, prop, b[prop]);
16861
+ if (__hasOwnProp$N.call(b, prop))
16862
+ __defNormalProp$E(a, prop, b[prop]);
16863
+ if (__getOwnPropSymbols$N)
16864
+ for (var prop of __getOwnPropSymbols$N(b)) {
16865
+ if (__propIsEnum$N.call(b, prop))
16866
+ __defNormalProp$E(a, prop, b[prop]);
17009
16867
  }
17010
16868
  return a;
17011
16869
  };
@@ -17017,7 +16875,7 @@ class ServicePointsAPI {
17017
16875
  * Either an address, coordinates, or an address query
17018
16876
  */
17019
16877
  this.list = (options) => {
17020
- return this.client.post("/v1/service_points/list", __spreadValues$D({}, options));
16878
+ return this.client.post("/v1/service_points/list", __spreadValues$E({}, options));
17021
16879
  };
17022
16880
  /**
17023
16881
  * Get a specific service point by its carrier code, country code, and id
@@ -17035,7 +16893,7 @@ class ServicePointsAPI {
17035
16893
  }
17036
16894
  }
17037
16895
 
17038
- var __async$W = (__this, __arguments, generator) => {
16896
+ var __async$X = (__this, __arguments, generator) => {
17039
16897
  return new Promise((resolve, reject) => {
17040
16898
  var fulfilled = (value) => {
17041
16899
  try {
@@ -17084,7 +16942,7 @@ class ShipmentsAPI {
17084
16942
  * The `create` method allows for creating shipments based on a list of shipment
17085
16943
  * items passed into this method.
17086
16944
  */
17087
- this.create = (...shipments) => __async$W(this, null, function* () {
16945
+ this.create = (...shipments) => __async$X(this, null, function* () {
17088
16946
  return this.client.post("/v1/shipments", {
17089
16947
  shipments
17090
16948
  });
@@ -34501,38 +34359,38 @@ class WebhooksAPI {
34501
34359
  }
34502
34360
  }
34503
34361
 
34504
- var __defProp$C = Object.defineProperty;
34505
- var __defProps$z = Object.defineProperties;
34506
- var __getOwnPropDescs$z = Object.getOwnPropertyDescriptors;
34507
- var __getOwnPropSymbols$L = Object.getOwnPropertySymbols;
34508
- var __hasOwnProp$L = Object.prototype.hasOwnProperty;
34509
- var __propIsEnum$L = Object.prototype.propertyIsEnumerable;
34510
- var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
34511
- var __spreadValues$C = (a, b) => {
34362
+ var __defProp$D = Object.defineProperty;
34363
+ var __defProps$A = Object.defineProperties;
34364
+ var __getOwnPropDescs$A = Object.getOwnPropertyDescriptors;
34365
+ var __getOwnPropSymbols$M = Object.getOwnPropertySymbols;
34366
+ var __hasOwnProp$M = Object.prototype.hasOwnProperty;
34367
+ var __propIsEnum$M = Object.prototype.propertyIsEnumerable;
34368
+ var __defNormalProp$D = (obj, key, value) => key in obj ? __defProp$D(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
34369
+ var __spreadValues$D = (a, b) => {
34512
34370
  for (var prop in b || (b = {}))
34513
- if (__hasOwnProp$L.call(b, prop))
34514
- __defNormalProp$C(a, prop, b[prop]);
34515
- if (__getOwnPropSymbols$L)
34516
- for (var prop of __getOwnPropSymbols$L(b)) {
34517
- if (__propIsEnum$L.call(b, prop))
34518
- __defNormalProp$C(a, prop, b[prop]);
34371
+ if (__hasOwnProp$M.call(b, prop))
34372
+ __defNormalProp$D(a, prop, b[prop]);
34373
+ if (__getOwnPropSymbols$M)
34374
+ for (var prop of __getOwnPropSymbols$M(b)) {
34375
+ if (__propIsEnum$M.call(b, prop))
34376
+ __defNormalProp$D(a, prop, b[prop]);
34519
34377
  }
34520
34378
  return a;
34521
34379
  };
34522
- var __spreadProps$z = (a, b) => __defProps$z(a, __getOwnPropDescs$z(b));
34380
+ var __spreadProps$A = (a, b) => __defProps$A(a, __getOwnPropDescs$A(b));
34523
34381
  var __objRest$s = (source, exclude) => {
34524
34382
  var target = {};
34525
34383
  for (var prop in source)
34526
- if (__hasOwnProp$L.call(source, prop) && exclude.indexOf(prop) < 0)
34384
+ if (__hasOwnProp$M.call(source, prop) && exclude.indexOf(prop) < 0)
34527
34385
  target[prop] = source[prop];
34528
- if (source != null && __getOwnPropSymbols$L)
34529
- for (var prop of __getOwnPropSymbols$L(source)) {
34530
- if (exclude.indexOf(prop) < 0 && __propIsEnum$L.call(source, prop))
34386
+ if (source != null && __getOwnPropSymbols$M)
34387
+ for (var prop of __getOwnPropSymbols$M(source)) {
34388
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$M.call(source, prop))
34531
34389
  target[prop] = source[prop];
34532
34390
  }
34533
34391
  return target;
34534
34392
  };
34535
- var __async$V = (__this, __arguments, generator) => {
34393
+ var __async$W = (__this, __arguments, generator) => {
34536
34394
  return new Promise((resolve, reject) => {
34537
34395
  var fulfilled = (value) => {
34538
34396
  try {
@@ -34555,7 +34413,7 @@ var __async$V = (__this, __arguments, generator) => {
34555
34413
  const logger$1 = E({
34556
34414
  level: process.env.NODE_ENV === "production" ? "fatal" : "info",
34557
34415
  name: "shipengine-api",
34558
- serializers: __spreadProps$z(__spreadValues$C({}, k), {
34416
+ serializers: __spreadProps$A(__spreadValues$D({}, k), {
34559
34417
  req: (req) => ({
34560
34418
  headers: req.headers,
34561
34419
  method: req.method,
@@ -34580,7 +34438,7 @@ class ShipEngineAPI {
34580
34438
  this.getSandboxToken = getSandboxToken;
34581
34439
  const client = axios.create({
34582
34440
  baseURL,
34583
- headers: __spreadProps$z(__spreadValues$C({}, headers), {
34441
+ headers: __spreadProps$A(__spreadValues$D({}, headers), {
34584
34442
  "Content-Type": "application/json"
34585
34443
  }),
34586
34444
  paramsSerializer: (params) => lib.stringify(decamelizeKeys(params), { arrayFormat: "brackets" }),
@@ -34620,7 +34478,7 @@ class ShipEngineAPI {
34620
34478
  });
34621
34479
  client.defaults.headers.common["Authorization"] = `Bearer ${token}`;
34622
34480
  client.interceptors.request.use(
34623
- (config) => __async$V(this, null, function* () {
34481
+ (config) => __async$W(this, null, function* () {
34624
34482
  if (config.isSandbox) {
34625
34483
  if (!this.sandboxToken) {
34626
34484
  this.sandboxToken = yield getSandboxToken == null ? void 0 : getSandboxToken();
@@ -34647,7 +34505,7 @@ class ShipEngineAPI {
34647
34505
  );
34648
34506
  return res;
34649
34507
  },
34650
- (err) => __async$V(this, null, function* () {
34508
+ (err) => __async$W(this, null, function* () {
34651
34509
  var _a, _b, _c, _d, _e;
34652
34510
  logger$1.error(
34653
34511
  { err, req: err.config, res: err.response },
@@ -34694,7 +34552,7 @@ class ShipEngineAPI {
34694
34552
  * that token (also known as Seller ID)
34695
34553
  */
34696
34554
  getTenant(isSandbox) {
34697
- return __async$V(this, null, function* () {
34555
+ return __async$W(this, null, function* () {
34698
34556
  var _a;
34699
34557
  if (!isSandbox) {
34700
34558
  return this.getTenantFromToken(this.token);
@@ -34997,25 +34855,25 @@ const delay = (ms) => new Promise((resolve) => {
34997
34855
 
34998
34856
  const onError = (_errors) => _default();
34999
34857
 
35000
- var __defProp$B = Object.defineProperty;
35001
- var __defProps$y = Object.defineProperties;
35002
- var __getOwnPropDescs$y = Object.getOwnPropertyDescriptors;
35003
- var __getOwnPropSymbols$K = Object.getOwnPropertySymbols;
35004
- var __hasOwnProp$K = Object.prototype.hasOwnProperty;
35005
- var __propIsEnum$K = Object.prototype.propertyIsEnumerable;
35006
- var __defNormalProp$B = (obj, key, value) => key in obj ? __defProp$B(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35007
- var __spreadValues$B = (a, b) => {
34858
+ var __defProp$C = Object.defineProperty;
34859
+ var __defProps$z = Object.defineProperties;
34860
+ var __getOwnPropDescs$z = Object.getOwnPropertyDescriptors;
34861
+ var __getOwnPropSymbols$L = Object.getOwnPropertySymbols;
34862
+ var __hasOwnProp$L = Object.prototype.hasOwnProperty;
34863
+ var __propIsEnum$L = Object.prototype.propertyIsEnumerable;
34864
+ var __defNormalProp$C = (obj, key, value) => key in obj ? __defProp$C(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
34865
+ var __spreadValues$C = (a, b) => {
35008
34866
  for (var prop in b || (b = {}))
35009
- if (__hasOwnProp$K.call(b, prop))
35010
- __defNormalProp$B(a, prop, b[prop]);
35011
- if (__getOwnPropSymbols$K)
35012
- for (var prop of __getOwnPropSymbols$K(b)) {
35013
- if (__propIsEnum$K.call(b, prop))
35014
- __defNormalProp$B(a, prop, b[prop]);
34867
+ if (__hasOwnProp$L.call(b, prop))
34868
+ __defNormalProp$C(a, prop, b[prop]);
34869
+ if (__getOwnPropSymbols$L)
34870
+ for (var prop of __getOwnPropSymbols$L(b)) {
34871
+ if (__propIsEnum$L.call(b, prop))
34872
+ __defNormalProp$C(a, prop, b[prop]);
35015
34873
  }
35016
34874
  return a;
35017
34875
  };
35018
- var __spreadProps$y = (a, b) => __defProps$y(a, __getOwnPropDescs$y(b));
34876
+ var __spreadProps$z = (a, b) => __defProps$z(a, __getOwnPropDescs$z(b));
35019
34877
  const streams = [];
35020
34878
  if (process.env.NODE_ENV === "production") {
35021
34879
  streams.push({
@@ -35024,7 +34882,7 @@ if (process.env.NODE_ENV === "production") {
35024
34882
  }
35025
34883
  const logger = E({
35026
34884
  name: "shipengine",
35027
- serializers: __spreadProps$y(__spreadValues$B({}, k), {
34885
+ serializers: __spreadProps$z(__spreadValues$C({}, k), {
35028
34886
  req: (req) => ({
35029
34887
  headers: req.headers,
35030
34888
  method: req.method,
@@ -35049,7 +34907,7 @@ const retryUntil = (callbackFn, retries = 10, timeoutBetweenAttempts = 1e3) => P
35049
34907
  throw error;
35050
34908
  });
35051
34909
 
35052
- var __async$U = (__this, __arguments, generator) => {
34910
+ var __async$V = (__this, __arguments, generator) => {
35053
34911
  return new Promise((resolve, reject) => {
35054
34912
  var fulfilled = (value) => {
35055
34913
  try {
@@ -35072,7 +34930,7 @@ var __async$U = (__this, __arguments, generator) => {
35072
34930
  const useCreateAccountImage = () => {
35073
34931
  const { client } = useShipEngine();
35074
34932
  return reactQuery.useMutation({
35075
- mutationFn: (data) => __async$U(void 0, null, function* () {
34933
+ mutationFn: (data) => __async$V(void 0, null, function* () {
35076
34934
  const result = yield client.accountSettings.createImage(data);
35077
34935
  return result.data;
35078
34936
  }),
@@ -35081,7 +34939,7 @@ const useCreateAccountImage = () => {
35081
34939
  });
35082
34940
  };
35083
34941
 
35084
- var __async$T = (__this, __arguments, generator) => {
34942
+ var __async$U = (__this, __arguments, generator) => {
35085
34943
  return new Promise((resolve, reject) => {
35086
34944
  var fulfilled = (value) => {
35087
34945
  try {
@@ -35104,7 +34962,7 @@ var __async$T = (__this, __arguments, generator) => {
35104
34962
  const useDeleteAccountImage = () => {
35105
34963
  const { client } = useShipEngine();
35106
34964
  return reactQuery.useMutation({
35107
- mutationFn: (labelImageId) => __async$T(void 0, null, function* () {
34965
+ mutationFn: (labelImageId) => __async$U(void 0, null, function* () {
35108
34966
  const result = yield client.accountSettings.deleteImage(labelImageId);
35109
34967
  return result.data;
35110
34968
  }),
@@ -35133,7 +34991,7 @@ const useGetAccountSettings = () => {
35133
34991
  });
35134
34992
  };
35135
34993
 
35136
- var __async$S = (__this, __arguments, generator) => {
34994
+ var __async$T = (__this, __arguments, generator) => {
35137
34995
  return new Promise((resolve, reject) => {
35138
34996
  var fulfilled = (value) => {
35139
34997
  try {
@@ -35156,7 +35014,7 @@ var __async$S = (__this, __arguments, generator) => {
35156
35014
  const useUpdateAccountImage = () => {
35157
35015
  const { client } = useShipEngine();
35158
35016
  return reactQuery.useMutation({
35159
- mutationFn: (data) => __async$S(void 0, null, function* () {
35017
+ mutationFn: (data) => __async$T(void 0, null, function* () {
35160
35018
  const result = yield client.accountSettings.updateImage(data);
35161
35019
  return result.data;
35162
35020
  }),
@@ -35165,7 +35023,7 @@ const useUpdateAccountImage = () => {
35165
35023
  });
35166
35024
  };
35167
35025
 
35168
- var __async$R = (__this, __arguments, generator) => {
35026
+ var __async$S = (__this, __arguments, generator) => {
35169
35027
  return new Promise((resolve, reject) => {
35170
35028
  var fulfilled = (value) => {
35171
35029
  try {
@@ -35188,7 +35046,7 @@ var __async$R = (__this, __arguments, generator) => {
35188
35046
  const useUpdateAccountSettings = () => {
35189
35047
  const { client } = useShipEngine();
35190
35048
  return reactQuery.useMutation({
35191
- mutationFn: (settings) => __async$R(void 0, null, function* () {
35049
+ mutationFn: (settings) => __async$S(void 0, null, function* () {
35192
35050
  const result = yield client.accountSettings.update(settings);
35193
35051
  return result.data;
35194
35052
  }),
@@ -35197,7 +35055,7 @@ const useUpdateAccountSettings = () => {
35197
35055
  });
35198
35056
  };
35199
35057
 
35200
- var __async$Q = (__this, __arguments, generator) => {
35058
+ var __async$R = (__this, __arguments, generator) => {
35201
35059
  return new Promise((resolve, reject) => {
35202
35060
  var fulfilled = (value) => {
35203
35061
  try {
@@ -35220,7 +35078,7 @@ var __async$Q = (__this, __arguments, generator) => {
35220
35078
  const useParseAddress = () => {
35221
35079
  const { client } = useShipEngine();
35222
35080
  return reactQuery.useMutation({
35223
- mutationFn: (_0) => __async$Q(void 0, [_0], function* ({ address, text }) {
35081
+ mutationFn: (_0) => __async$R(void 0, [_0], function* ({ address, text }) {
35224
35082
  const result = yield client.addresses.parse(text, address);
35225
35083
  return result.data;
35226
35084
  }),
@@ -35229,7 +35087,7 @@ const useParseAddress = () => {
35229
35087
  });
35230
35088
  };
35231
35089
 
35232
- var __async$P = (__this, __arguments, generator) => {
35090
+ var __async$Q = (__this, __arguments, generator) => {
35233
35091
  return new Promise((resolve, reject) => {
35234
35092
  var fulfilled = (value) => {
35235
35093
  try {
@@ -35252,7 +35110,7 @@ var __async$P = (__this, __arguments, generator) => {
35252
35110
  const useValidateAddresses = () => {
35253
35111
  const { client } = useShipEngine();
35254
35112
  return reactQuery.useMutation({
35255
- mutationFn: (addresses) => __async$P(void 0, null, function* () {
35113
+ mutationFn: (addresses) => __async$Q(void 0, null, function* () {
35256
35114
  const result = yield client.addresses.validate(addresses);
35257
35115
  return result.data;
35258
35116
  }),
@@ -35261,26 +35119,26 @@ const useValidateAddresses = () => {
35261
35119
  });
35262
35120
  };
35263
35121
 
35264
- var __defProp$A = Object.defineProperty;
35265
- var __defProps$x = Object.defineProperties;
35266
- var __getOwnPropDescs$x = Object.getOwnPropertyDescriptors;
35267
- var __getOwnPropSymbols$J = Object.getOwnPropertySymbols;
35268
- var __hasOwnProp$J = Object.prototype.hasOwnProperty;
35269
- var __propIsEnum$J = Object.prototype.propertyIsEnumerable;
35270
- var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35271
- var __spreadValues$A = (a, b) => {
35122
+ var __defProp$B = Object.defineProperty;
35123
+ var __defProps$y = Object.defineProperties;
35124
+ var __getOwnPropDescs$y = Object.getOwnPropertyDescriptors;
35125
+ var __getOwnPropSymbols$K = Object.getOwnPropertySymbols;
35126
+ var __hasOwnProp$K = Object.prototype.hasOwnProperty;
35127
+ var __propIsEnum$K = Object.prototype.propertyIsEnumerable;
35128
+ var __defNormalProp$B = (obj, key, value) => key in obj ? __defProp$B(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35129
+ var __spreadValues$B = (a, b) => {
35272
35130
  for (var prop in b || (b = {}))
35273
- if (__hasOwnProp$J.call(b, prop))
35274
- __defNormalProp$A(a, prop, b[prop]);
35275
- if (__getOwnPropSymbols$J)
35276
- for (var prop of __getOwnPropSymbols$J(b)) {
35277
- if (__propIsEnum$J.call(b, prop))
35278
- __defNormalProp$A(a, prop, b[prop]);
35131
+ if (__hasOwnProp$K.call(b, prop))
35132
+ __defNormalProp$B(a, prop, b[prop]);
35133
+ if (__getOwnPropSymbols$K)
35134
+ for (var prop of __getOwnPropSymbols$K(b)) {
35135
+ if (__propIsEnum$K.call(b, prop))
35136
+ __defNormalProp$B(a, prop, b[prop]);
35279
35137
  }
35280
35138
  return a;
35281
35139
  };
35282
- var __spreadProps$x = (a, b) => __defProps$x(a, __getOwnPropDescs$x(b));
35283
- var __async$O = (__this, __arguments, generator) => {
35140
+ var __spreadProps$y = (a, b) => __defProps$y(a, __getOwnPropDescs$y(b));
35141
+ var __async$P = (__this, __arguments, generator) => {
35284
35142
  return new Promise((resolve, reject) => {
35285
35143
  var fulfilled = (value) => {
35286
35144
  try {
@@ -35302,8 +35160,8 @@ var __async$O = (__this, __arguments, generator) => {
35302
35160
  };
35303
35161
  const useCreateAuctanePaySession = (params) => {
35304
35162
  const { client } = useShipEngine();
35305
- return reactQuery.useMutation(__spreadProps$x(__spreadValues$A({}, params), {
35306
- mutationFn: (request) => __async$O(void 0, null, function* () {
35163
+ return reactQuery.useMutation(__spreadProps$y(__spreadValues$B({}, params), {
35164
+ mutationFn: (request) => __async$P(void 0, null, function* () {
35307
35165
  const result = yield client.auctanePay.createSession(request);
35308
35166
  return result.data;
35309
35167
  }),
@@ -35312,29 +35170,29 @@ const useCreateAuctanePaySession = (params) => {
35312
35170
  }));
35313
35171
  };
35314
35172
 
35315
- var __defProp$z = Object.defineProperty;
35316
- var __defProps$w = Object.defineProperties;
35317
- var __getOwnPropDescs$w = Object.getOwnPropertyDescriptors;
35318
- var __getOwnPropSymbols$I = Object.getOwnPropertySymbols;
35319
- var __hasOwnProp$I = Object.prototype.hasOwnProperty;
35320
- var __propIsEnum$I = Object.prototype.propertyIsEnumerable;
35321
- var __defNormalProp$z = (obj, key, value) => key in obj ? __defProp$z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35322
- var __spreadValues$z = (a, b) => {
35173
+ var __defProp$A = Object.defineProperty;
35174
+ var __defProps$x = Object.defineProperties;
35175
+ var __getOwnPropDescs$x = Object.getOwnPropertyDescriptors;
35176
+ var __getOwnPropSymbols$J = Object.getOwnPropertySymbols;
35177
+ var __hasOwnProp$J = Object.prototype.hasOwnProperty;
35178
+ var __propIsEnum$J = Object.prototype.propertyIsEnumerable;
35179
+ var __defNormalProp$A = (obj, key, value) => key in obj ? __defProp$A(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35180
+ var __spreadValues$A = (a, b) => {
35323
35181
  for (var prop in b || (b = {}))
35324
- if (__hasOwnProp$I.call(b, prop))
35325
- __defNormalProp$z(a, prop, b[prop]);
35326
- if (__getOwnPropSymbols$I)
35327
- for (var prop of __getOwnPropSymbols$I(b)) {
35328
- if (__propIsEnum$I.call(b, prop))
35329
- __defNormalProp$z(a, prop, b[prop]);
35182
+ if (__hasOwnProp$J.call(b, prop))
35183
+ __defNormalProp$A(a, prop, b[prop]);
35184
+ if (__getOwnPropSymbols$J)
35185
+ for (var prop of __getOwnPropSymbols$J(b)) {
35186
+ if (__propIsEnum$J.call(b, prop))
35187
+ __defNormalProp$A(a, prop, b[prop]);
35330
35188
  }
35331
35189
  return a;
35332
35190
  };
35333
- var __spreadProps$w = (a, b) => __defProps$w(a, __getOwnPropDescs$w(b));
35191
+ var __spreadProps$x = (a, b) => __defProps$x(a, __getOwnPropDescs$x(b));
35334
35192
  const useGetAuctanePayConfig = (params) => {
35335
35193
  const { client } = useShipEngine();
35336
- const queryParams = __spreadValues$z({}, params);
35337
- return reactQuery.useQuery(__spreadProps$w(__spreadValues$z({}, queryParams), {
35194
+ const queryParams = __spreadValues$A({}, params);
35195
+ return reactQuery.useQuery(__spreadProps$x(__spreadValues$A({}, queryParams), {
35338
35196
  onError,
35339
35197
  queryFn: () => client.auctanePay.getConfig(),
35340
35198
  queryKey: ["useGetAuctanePayConfig"],
@@ -35342,7 +35200,7 @@ const useGetAuctanePayConfig = (params) => {
35342
35200
  }));
35343
35201
  };
35344
35202
 
35345
- var __async$N = (__this, __arguments, generator) => {
35203
+ var __async$O = (__this, __arguments, generator) => {
35346
35204
  return new Promise((resolve, reject) => {
35347
35205
  var fulfilled = (value) => {
35348
35206
  try {
@@ -35365,7 +35223,7 @@ var __async$N = (__this, __arguments, generator) => {
35365
35223
  const useAddFunds = () => {
35366
35224
  const { client } = useShipEngine();
35367
35225
  return reactQuery.useMutation({
35368
- mutationFn: (_0) => __async$N(void 0, [_0], function* ({ carrierId, funds }) {
35226
+ mutationFn: (_0) => __async$O(void 0, [_0], function* ({ carrierId, funds }) {
35369
35227
  const result = yield client.carriers.addFunds(carrierId, funds);
35370
35228
  return result.data;
35371
35229
  }),
@@ -35374,7 +35232,7 @@ const useAddFunds = () => {
35374
35232
  });
35375
35233
  };
35376
35234
 
35377
- var __async$M = (__this, __arguments, generator) => {
35235
+ var __async$N = (__this, __arguments, generator) => {
35378
35236
  return new Promise((resolve, reject) => {
35379
35237
  var fulfilled = (value) => {
35380
35238
  try {
@@ -35397,7 +35255,7 @@ var __async$M = (__this, __arguments, generator) => {
35397
35255
  const useConnectCarrier = () => {
35398
35256
  const { client } = useShipEngine();
35399
35257
  return reactQuery.useMutation({
35400
- mutationFn: (params) => __async$M(void 0, null, function* () {
35258
+ mutationFn: (params) => __async$N(void 0, null, function* () {
35401
35259
  const result = yield client.carriers.connect(params);
35402
35260
  return result.data;
35403
35261
  }),
@@ -35506,41 +35364,41 @@ const useGetServicesByCarrier = (carrierId) => {
35506
35364
  });
35507
35365
  };
35508
35366
 
35509
- var __defProp$y = Object.defineProperty;
35510
- var __defProps$v = Object.defineProperties;
35511
- var __getOwnPropDescs$v = Object.getOwnPropertyDescriptors;
35512
- var __getOwnPropSymbols$H = Object.getOwnPropertySymbols;
35513
- var __hasOwnProp$H = Object.prototype.hasOwnProperty;
35514
- var __propIsEnum$H = Object.prototype.propertyIsEnumerable;
35515
- var __defNormalProp$y = (obj, key, value) => key in obj ? __defProp$y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35516
- var __spreadValues$y = (a, b) => {
35367
+ var __defProp$z = Object.defineProperty;
35368
+ var __defProps$w = Object.defineProperties;
35369
+ var __getOwnPropDescs$w = Object.getOwnPropertyDescriptors;
35370
+ var __getOwnPropSymbols$I = Object.getOwnPropertySymbols;
35371
+ var __hasOwnProp$I = Object.prototype.hasOwnProperty;
35372
+ var __propIsEnum$I = Object.prototype.propertyIsEnumerable;
35373
+ var __defNormalProp$z = (obj, key, value) => key in obj ? __defProp$z(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35374
+ var __spreadValues$z = (a, b) => {
35517
35375
  for (var prop in b || (b = {}))
35518
- if (__hasOwnProp$H.call(b, prop))
35519
- __defNormalProp$y(a, prop, b[prop]);
35520
- if (__getOwnPropSymbols$H)
35521
- for (var prop of __getOwnPropSymbols$H(b)) {
35522
- if (__propIsEnum$H.call(b, prop))
35523
- __defNormalProp$y(a, prop, b[prop]);
35376
+ if (__hasOwnProp$I.call(b, prop))
35377
+ __defNormalProp$z(a, prop, b[prop]);
35378
+ if (__getOwnPropSymbols$I)
35379
+ for (var prop of __getOwnPropSymbols$I(b)) {
35380
+ if (__propIsEnum$I.call(b, prop))
35381
+ __defNormalProp$z(a, prop, b[prop]);
35524
35382
  }
35525
35383
  return a;
35526
35384
  };
35527
- var __spreadProps$v = (a, b) => __defProps$v(a, __getOwnPropDescs$v(b));
35385
+ var __spreadProps$w = (a, b) => __defProps$w(a, __getOwnPropDescs$w(b));
35528
35386
  var __objRest$r = (source, exclude) => {
35529
35387
  var target = {};
35530
35388
  for (var prop in source)
35531
- if (__hasOwnProp$H.call(source, prop) && exclude.indexOf(prop) < 0)
35389
+ if (__hasOwnProp$I.call(source, prop) && exclude.indexOf(prop) < 0)
35532
35390
  target[prop] = source[prop];
35533
- if (source != null && __getOwnPropSymbols$H)
35534
- for (var prop of __getOwnPropSymbols$H(source)) {
35535
- if (exclude.indexOf(prop) < 0 && __propIsEnum$H.call(source, prop))
35391
+ if (source != null && __getOwnPropSymbols$I)
35392
+ for (var prop of __getOwnPropSymbols$I(source)) {
35393
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$I.call(source, prop))
35536
35394
  target[prop] = source[prop];
35537
35395
  }
35538
35396
  return target;
35539
35397
  };
35540
35398
  const useListCarriers = (params) => {
35541
35399
  const { client } = useShipEngine();
35542
- const _a = __spreadValues$y({}, params), { queryFnParams } = _a, rest = __objRest$r(_a, ["queryFnParams"]);
35543
- return reactQuery.useQuery(__spreadProps$v(__spreadValues$y({}, rest), {
35400
+ const _a = __spreadValues$z({}, params), { queryFnParams } = _a, rest = __objRest$r(_a, ["queryFnParams"]);
35401
+ return reactQuery.useQuery(__spreadProps$w(__spreadValues$z({}, rest), {
35544
35402
  onError,
35545
35403
  queryFn: () => client.carriers.list(queryFnParams),
35546
35404
  queryKey: ["useListCarriers", queryFnParams],
@@ -35548,22 +35406,22 @@ const useListCarriers = (params) => {
35548
35406
  }));
35549
35407
  };
35550
35408
 
35551
- var __getOwnPropSymbols$G = Object.getOwnPropertySymbols;
35552
- var __hasOwnProp$G = Object.prototype.hasOwnProperty;
35553
- var __propIsEnum$G = Object.prototype.propertyIsEnumerable;
35409
+ var __getOwnPropSymbols$H = Object.getOwnPropertySymbols;
35410
+ var __hasOwnProp$H = Object.prototype.hasOwnProperty;
35411
+ var __propIsEnum$H = Object.prototype.propertyIsEnumerable;
35554
35412
  var __objRest$q = (source, exclude) => {
35555
35413
  var target = {};
35556
35414
  for (var prop in source)
35557
- if (__hasOwnProp$G.call(source, prop) && exclude.indexOf(prop) < 0)
35415
+ if (__hasOwnProp$H.call(source, prop) && exclude.indexOf(prop) < 0)
35558
35416
  target[prop] = source[prop];
35559
- if (source != null && __getOwnPropSymbols$G)
35560
- for (var prop of __getOwnPropSymbols$G(source)) {
35561
- if (exclude.indexOf(prop) < 0 && __propIsEnum$G.call(source, prop))
35417
+ if (source != null && __getOwnPropSymbols$H)
35418
+ for (var prop of __getOwnPropSymbols$H(source)) {
35419
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$H.call(source, prop))
35562
35420
  target[prop] = source[prop];
35563
35421
  }
35564
35422
  return target;
35565
35423
  };
35566
- var __async$L = (__this, __arguments, generator) => {
35424
+ var __async$M = (__this, __arguments, generator) => {
35567
35425
  return new Promise((resolve, reject) => {
35568
35426
  var fulfilled = (value) => {
35569
35427
  try {
@@ -35587,7 +35445,7 @@ const useUpdateAutoFunding = () => {
35587
35445
  const { client } = useShipEngine();
35588
35446
  const queryClient = reactQuery.useQueryClient();
35589
35447
  return reactQuery.useMutation({
35590
- mutationFn: (_a) => __async$L(void 0, null, function* () {
35448
+ mutationFn: (_a) => __async$M(void 0, null, function* () {
35591
35449
  var _b = _a, { carrierId } = _b, options = __objRest$q(_b, ["carrierId"]);
35592
35450
  const result = yield client.carriers.updateAutoFunding(carrierId, options);
35593
35451
  return result.data;
@@ -35617,7 +35475,7 @@ const useGetZonesByCarrier = (carrierId) => {
35617
35475
  });
35618
35476
  };
35619
35477
 
35620
- var __async$K = (__this, __arguments, generator) => {
35478
+ var __async$L = (__this, __arguments, generator) => {
35621
35479
  return new Promise((resolve, reject) => {
35622
35480
  var fulfilled = (value) => {
35623
35481
  try {
@@ -35640,7 +35498,7 @@ var __async$K = (__this, __arguments, generator) => {
35640
35498
  const useDeleteCarrier = () => {
35641
35499
  const { client } = useShipEngine();
35642
35500
  return reactQuery.useMutation({
35643
- mutationFn: (carrierId) => __async$K(void 0, null, function* () {
35501
+ mutationFn: (carrierId) => __async$L(void 0, null, function* () {
35644
35502
  const result = yield client.carriers.delete(carrierId);
35645
35503
  return result.data;
35646
35504
  }),
@@ -35649,17 +35507,17 @@ const useDeleteCarrier = () => {
35649
35507
  });
35650
35508
  };
35651
35509
 
35652
- var __getOwnPropSymbols$F = Object.getOwnPropertySymbols;
35653
- var __hasOwnProp$F = Object.prototype.hasOwnProperty;
35654
- var __propIsEnum$F = Object.prototype.propertyIsEnumerable;
35510
+ var __getOwnPropSymbols$G = Object.getOwnPropertySymbols;
35511
+ var __hasOwnProp$G = Object.prototype.hasOwnProperty;
35512
+ var __propIsEnum$G = Object.prototype.propertyIsEnumerable;
35655
35513
  var __objRest$p = (source, exclude) => {
35656
35514
  var target = {};
35657
35515
  for (var prop in source)
35658
- if (__hasOwnProp$F.call(source, prop) && exclude.indexOf(prop) < 0)
35516
+ if (__hasOwnProp$G.call(source, prop) && exclude.indexOf(prop) < 0)
35659
35517
  target[prop] = source[prop];
35660
- if (source != null && __getOwnPropSymbols$F)
35661
- for (var prop of __getOwnPropSymbols$F(source)) {
35662
- if (exclude.indexOf(prop) < 0 && __propIsEnum$F.call(source, prop))
35518
+ if (source != null && __getOwnPropSymbols$G)
35519
+ for (var prop of __getOwnPropSymbols$G(source)) {
35520
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$G.call(source, prop))
35663
35521
  target[prop] = source[prop];
35664
35522
  }
35665
35523
  return target;
@@ -35676,17 +35534,17 @@ const useGetCarrierConnectionForm = (_params) => {
35676
35534
  });
35677
35535
  };
35678
35536
 
35679
- var __getOwnPropSymbols$E = Object.getOwnPropertySymbols;
35680
- var __hasOwnProp$E = Object.prototype.hasOwnProperty;
35681
- var __propIsEnum$E = Object.prototype.propertyIsEnumerable;
35537
+ var __getOwnPropSymbols$F = Object.getOwnPropertySymbols;
35538
+ var __hasOwnProp$F = Object.prototype.hasOwnProperty;
35539
+ var __propIsEnum$F = Object.prototype.propertyIsEnumerable;
35682
35540
  var __objRest$o = (source, exclude) => {
35683
35541
  var target = {};
35684
35542
  for (var prop in source)
35685
- if (__hasOwnProp$E.call(source, prop) && exclude.indexOf(prop) < 0)
35543
+ if (__hasOwnProp$F.call(source, prop) && exclude.indexOf(prop) < 0)
35686
35544
  target[prop] = source[prop];
35687
- if (source != null && __getOwnPropSymbols$E)
35688
- for (var prop of __getOwnPropSymbols$E(source)) {
35689
- if (exclude.indexOf(prop) < 0 && __propIsEnum$E.call(source, prop))
35545
+ if (source != null && __getOwnPropSymbols$F)
35546
+ for (var prop of __getOwnPropSymbols$F(source)) {
35547
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$F.call(source, prop))
35690
35548
  target[prop] = source[prop];
35691
35549
  }
35692
35550
  return target;
@@ -35703,26 +35561,26 @@ const useListCarrierConnections = (_params) => {
35703
35561
  });
35704
35562
  };
35705
35563
 
35706
- var __defProp$x = Object.defineProperty;
35707
- var __defProps$u = Object.defineProperties;
35708
- var __getOwnPropDescs$u = Object.getOwnPropertyDescriptors;
35709
- var __getOwnPropSymbols$D = Object.getOwnPropertySymbols;
35710
- var __hasOwnProp$D = Object.prototype.hasOwnProperty;
35711
- var __propIsEnum$D = Object.prototype.propertyIsEnumerable;
35712
- var __defNormalProp$x = (obj, key, value) => key in obj ? __defProp$x(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35713
- var __spreadValues$x = (a, b) => {
35564
+ var __defProp$y = Object.defineProperty;
35565
+ var __defProps$v = Object.defineProperties;
35566
+ var __getOwnPropDescs$v = Object.getOwnPropertyDescriptors;
35567
+ var __getOwnPropSymbols$E = Object.getOwnPropertySymbols;
35568
+ var __hasOwnProp$E = Object.prototype.hasOwnProperty;
35569
+ var __propIsEnum$E = Object.prototype.propertyIsEnumerable;
35570
+ var __defNormalProp$y = (obj, key, value) => key in obj ? __defProp$y(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35571
+ var __spreadValues$y = (a, b) => {
35714
35572
  for (var prop in b || (b = {}))
35715
- if (__hasOwnProp$D.call(b, prop))
35716
- __defNormalProp$x(a, prop, b[prop]);
35717
- if (__getOwnPropSymbols$D)
35718
- for (var prop of __getOwnPropSymbols$D(b)) {
35719
- if (__propIsEnum$D.call(b, prop))
35720
- __defNormalProp$x(a, prop, b[prop]);
35573
+ if (__hasOwnProp$E.call(b, prop))
35574
+ __defNormalProp$y(a, prop, b[prop]);
35575
+ if (__getOwnPropSymbols$E)
35576
+ for (var prop of __getOwnPropSymbols$E(b)) {
35577
+ if (__propIsEnum$E.call(b, prop))
35578
+ __defNormalProp$y(a, prop, b[prop]);
35721
35579
  }
35722
35580
  return a;
35723
35581
  };
35724
- var __spreadProps$u = (a, b) => __defProps$u(a, __getOwnPropDescs$u(b));
35725
- var __async$J = (__this, __arguments, generator) => {
35582
+ var __spreadProps$v = (a, b) => __defProps$v(a, __getOwnPropDescs$v(b));
35583
+ var __async$K = (__this, __arguments, generator) => {
35726
35584
  return new Promise((resolve, reject) => {
35727
35585
  var fulfilled = (value) => {
35728
35586
  try {
@@ -35745,8 +35603,8 @@ var __async$J = (__this, __arguments, generator) => {
35745
35603
  const useConnectCarrierAccount = () => {
35746
35604
  const { client } = useShipEngine();
35747
35605
  return reactQuery.useMutation({
35748
- mutationFn: (_0) => __async$J(void 0, [_0], function* ({ carrierName, formData }) {
35749
- const formDataWithFlag = __spreadProps$u(__spreadValues$x({}, formData), { __skipDecamelize: true });
35606
+ mutationFn: (_0) => __async$K(void 0, [_0], function* ({ carrierName, formData }) {
35607
+ const formDataWithFlag = __spreadProps$v(__spreadValues$y({}, formData), { __skipDecamelize: true });
35750
35608
  const result = yield client.connections.connectCarrier(carrierName, formDataWithFlag);
35751
35609
  return result.data;
35752
35610
  }),
@@ -35766,33 +35624,33 @@ const useCarrierConnectionsServicesList = (carrierCode) => {
35766
35624
  });
35767
35625
  };
35768
35626
 
35769
- var __defProp$w = Object.defineProperty;
35770
- var __defProps$t = Object.defineProperties;
35771
- var __getOwnPropDescs$t = Object.getOwnPropertyDescriptors;
35772
- var __getOwnPropSymbols$C = Object.getOwnPropertySymbols;
35773
- var __hasOwnProp$C = Object.prototype.hasOwnProperty;
35774
- var __propIsEnum$C = Object.prototype.propertyIsEnumerable;
35775
- var __defNormalProp$w = (obj, key, value) => key in obj ? __defProp$w(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35776
- var __spreadValues$w = (a, b) => {
35627
+ var __defProp$x = Object.defineProperty;
35628
+ var __defProps$u = Object.defineProperties;
35629
+ var __getOwnPropDescs$u = Object.getOwnPropertyDescriptors;
35630
+ var __getOwnPropSymbols$D = Object.getOwnPropertySymbols;
35631
+ var __hasOwnProp$D = Object.prototype.hasOwnProperty;
35632
+ var __propIsEnum$D = Object.prototype.propertyIsEnumerable;
35633
+ var __defNormalProp$x = (obj, key, value) => key in obj ? __defProp$x(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35634
+ var __spreadValues$x = (a, b) => {
35777
35635
  for (var prop in b || (b = {}))
35778
- if (__hasOwnProp$C.call(b, prop))
35779
- __defNormalProp$w(a, prop, b[prop]);
35780
- if (__getOwnPropSymbols$C)
35781
- for (var prop of __getOwnPropSymbols$C(b)) {
35782
- if (__propIsEnum$C.call(b, prop))
35783
- __defNormalProp$w(a, prop, b[prop]);
35636
+ if (__hasOwnProp$D.call(b, prop))
35637
+ __defNormalProp$x(a, prop, b[prop]);
35638
+ if (__getOwnPropSymbols$D)
35639
+ for (var prop of __getOwnPropSymbols$D(b)) {
35640
+ if (__propIsEnum$D.call(b, prop))
35641
+ __defNormalProp$x(a, prop, b[prop]);
35784
35642
  }
35785
35643
  return a;
35786
35644
  };
35787
- var __spreadProps$t = (a, b) => __defProps$t(a, __getOwnPropDescs$t(b));
35645
+ var __spreadProps$u = (a, b) => __defProps$u(a, __getOwnPropDescs$u(b));
35788
35646
  var __objRest$n = (source, exclude) => {
35789
35647
  var target = {};
35790
35648
  for (var prop in source)
35791
- if (__hasOwnProp$C.call(source, prop) && exclude.indexOf(prop) < 0)
35649
+ if (__hasOwnProp$D.call(source, prop) && exclude.indexOf(prop) < 0)
35792
35650
  target[prop] = source[prop];
35793
- if (source != null && __getOwnPropSymbols$C)
35794
- for (var prop of __getOwnPropSymbols$C(source)) {
35795
- if (exclude.indexOf(prop) < 0 && __propIsEnum$C.call(source, prop))
35651
+ if (source != null && __getOwnPropSymbols$D)
35652
+ for (var prop of __getOwnPropSymbols$D(source)) {
35653
+ if (exclude.indexOf(prop) < 0 && __propIsEnum$D.call(source, prop))
35796
35654
  target[prop] = source[prop];
35797
35655
  }
35798
35656
  return target;
@@ -35805,7 +35663,7 @@ const useGetConnectionsCarrierSettings = (_a) => {
35805
35663
  ]);
35806
35664
  const { client } = useShipEngine();
35807
35665
  const { carrierName, carrierId } = queryFnParams;
35808
- return reactQuery.useQuery(__spreadProps$t(__spreadValues$w({}, params), {
35666
+ return reactQuery.useQuery(__spreadProps$u(__spreadValues$x({}, params), {
35809
35667
  onError,
35810
35668
  queryFn: () => client.connections.getCarrierSettings(carrierName, carrierId),
35811
35669
  queryKey: ["useGetConnectionsCarrierSettings", carrierName, carrierId],
@@ -35813,6 +35671,65 @@ const useGetConnectionsCarrierSettings = (_a) => {
35813
35671
  }));
35814
35672
  };
35815
35673
 
35674
+ var __defProp$w = Object.defineProperty;
35675
+ var __defProps$t = Object.defineProperties;
35676
+ var __getOwnPropDescs$t = Object.getOwnPropertyDescriptors;
35677
+ var __getOwnPropSymbols$C = Object.getOwnPropertySymbols;
35678
+ var __hasOwnProp$C = Object.prototype.hasOwnProperty;
35679
+ var __propIsEnum$C = Object.prototype.propertyIsEnumerable;
35680
+ var __defNormalProp$w = (obj, key, value) => key in obj ? __defProp$w(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
35681
+ var __spreadValues$w = (a, b) => {
35682
+ for (var prop in b || (b = {}))
35683
+ if (__hasOwnProp$C.call(b, prop))
35684
+ __defNormalProp$w(a, prop, b[prop]);
35685
+ if (__getOwnPropSymbols$C)
35686
+ for (var prop of __getOwnPropSymbols$C(b)) {
35687
+ if (__propIsEnum$C.call(b, prop))
35688
+ __defNormalProp$w(a, prop, b[prop]);
35689
+ }
35690
+ return a;
35691
+ };
35692
+ var __spreadProps$t = (a, b) => __defProps$t(a, __getOwnPropDescs$t(b));
35693
+ var __async$J = (__this, __arguments, generator) => {
35694
+ return new Promise((resolve, reject) => {
35695
+ var fulfilled = (value) => {
35696
+ try {
35697
+ step(generator.next(value));
35698
+ } catch (e) {
35699
+ reject(e);
35700
+ }
35701
+ };
35702
+ var rejected = (value) => {
35703
+ try {
35704
+ step(generator.throw(value));
35705
+ } catch (e) {
35706
+ reject(e);
35707
+ }
35708
+ };
35709
+ var step = (x) => x.done ? resolve(x.value) : Promise.resolve(x.value).then(fulfilled, rejected);
35710
+ step((generator = generator.apply(__this, __arguments)).next());
35711
+ });
35712
+ };
35713
+ const useUpdateConnectionsCarrierSettings = (params) => {
35714
+ const { client } = useShipEngine();
35715
+ return reactQuery.useMutation(__spreadProps$t(__spreadValues$w({}, params), {
35716
+ mutationFn: (_0) => __async$J(void 0, [_0], function* ({
35717
+ carrierName,
35718
+ carrierId,
35719
+ formData
35720
+ }) {
35721
+ const result = yield client.connections.updateCarrierSettings(
35722
+ carrierName,
35723
+ carrierId,
35724
+ formData
35725
+ );
35726
+ return result.data;
35727
+ }),
35728
+ mutationKey: ["useUpdateConnectionsCarrierSettings"],
35729
+ onError
35730
+ }));
35731
+ };
35732
+
35816
35733
  var __defProp$v = Object.defineProperty;
35817
35734
  var __defProps$s = Object.defineProperties;
35818
35735
  var __getOwnPropDescs$s = Object.getOwnPropertyDescriptors;
@@ -35852,22 +35769,14 @@ var __async$I = (__this, __arguments, generator) => {
35852
35769
  step((generator = generator.apply(__this, __arguments)).next());
35853
35770
  });
35854
35771
  };
35855
- const useUpdateConnectionsCarrierSettings = (params) => {
35772
+ const useRequestStampsAccountUrls = (params) => {
35856
35773
  const { client } = useShipEngine();
35857
35774
  return reactQuery.useMutation(__spreadProps$s(__spreadValues$v({}, params), {
35858
- mutationFn: (_0) => __async$I(void 0, [_0], function* ({
35859
- carrierName,
35860
- carrierId,
35861
- formData
35862
- }) {
35863
- const result = yield client.connections.updateCarrierSettings(
35864
- carrierName,
35865
- carrierId,
35866
- formData
35867
- );
35775
+ mutationFn: (request) => __async$I(void 0, null, function* () {
35776
+ const result = yield client.connections.requestStampsAccountUrls(request);
35868
35777
  return result.data;
35869
35778
  }),
35870
- mutationKey: ["useUpdateConnectionsCarrierSettings"],
35779
+ mutationKey: ["useRequestStampsAccountUrls"],
35871
35780
  onError
35872
35781
  }));
35873
35782
  };
@@ -39967,6 +39876,7 @@ exports.useRatesEstimate = useRatesEstimate;
39967
39876
  exports.useRefreshOrderSource = useRefreshOrderSource;
39968
39877
  exports.useRefreshOrderSourceAsync = useRefreshOrderSourceAsync;
39969
39878
  exports.useRegisterCarrier = useRegisterCarrier;
39879
+ exports.useRequestStampsAccountUrls = useRequestStampsAccountUrls;
39970
39880
  exports.useShipEngine = useShipEngine;
39971
39881
  exports.useUpdateAccountBillingPlan = useUpdateAccountBillingPlan;
39972
39882
  exports.useUpdateAccountImage = useUpdateAccountImage;