@shipengine/alchemy 6.0.82-next.0 → 6.0.82

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 +301 -277
  2. package/index.mjs +301 -277
  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,45 +3435,37 @@ var _baseConvert = baseConvert$1;
3435
3435
  * // => true
3436
3436
  */
3437
3437
 
3438
- function identity$3(value) {
3439
- return value;
3440
- }
3441
-
3442
- var identity_1 = identity$3;
3438
+ var identity_1;
3439
+ var hasRequiredIdentity;
3443
3440
 
3444
- /** Detect free variable `global` from Node.js. */
3441
+ function requireIdentity () {
3442
+ if (hasRequiredIdentity) return identity_1;
3443
+ hasRequiredIdentity = 1;
3444
+ function identity(value) {
3445
+ return value;
3446
+ }
3445
3447
 
3446
- var _freeGlobal;
3447
- var hasRequired_freeGlobal;
3448
+ identity_1 = identity;
3449
+ return identity_1;
3450
+ }
3448
3451
 
3449
- function require_freeGlobal () {
3450
- if (hasRequired_freeGlobal) return _freeGlobal;
3451
- hasRequired_freeGlobal = 1;
3452
- var freeGlobal = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
3452
+ /** Detect free variable `global` from Node.js. */
3453
3453
 
3454
- _freeGlobal = freeGlobal;
3455
- return _freeGlobal;
3456
- }
3454
+ var freeGlobal$1 = typeof commonjsGlobal == 'object' && commonjsGlobal && commonjsGlobal.Object === Object && commonjsGlobal;
3457
3455
 
3458
- var _root;
3459
- var hasRequired_root;
3456
+ var _freeGlobal = freeGlobal$1;
3460
3457
 
3461
- function require_root () {
3462
- if (hasRequired_root) return _root;
3463
- hasRequired_root = 1;
3464
- var freeGlobal = require_freeGlobal();
3458
+ var freeGlobal = _freeGlobal;
3465
3459
 
3466
- /** Detect free variable `self`. */
3467
- var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
3460
+ /** Detect free variable `self`. */
3461
+ var freeSelf = typeof self == 'object' && self && self.Object === Object && self;
3468
3462
 
3469
- /** Used as a reference to the global object. */
3470
- var root = freeGlobal || freeSelf || Function('return this')();
3463
+ /** Used as a reference to the global object. */
3464
+ var root$b = freeGlobal || freeSelf || Function('return this')();
3471
3465
 
3472
- _root = root;
3473
- return _root;
3474
- }
3466
+ var _root = root$b;
3475
3467
 
3476
- var root$a = require_root();
3468
+ var root$a = _root;
3477
3469
 
3478
3470
  /** Built-in value references. */
3479
3471
  var Symbol$7 = root$a.Symbol;
@@ -3483,17 +3475,17 @@ var _Symbol = Symbol$7;
3483
3475
  var Symbol$6 = _Symbol;
3484
3476
 
3485
3477
  /** Used for built-in method references. */
3486
- var objectProto$c = Object.prototype;
3478
+ var objectProto$d = Object.prototype;
3487
3479
 
3488
3480
  /** Used to check objects for own properties. */
3489
- var hasOwnProperty$9 = objectProto$c.hasOwnProperty;
3481
+ var hasOwnProperty$a = objectProto$d.hasOwnProperty;
3490
3482
 
3491
3483
  /**
3492
3484
  * Used to resolve the
3493
3485
  * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
3494
3486
  * of values.
3495
3487
  */
3496
- var nativeObjectToString$1 = objectProto$c.toString;
3488
+ var nativeObjectToString$1 = objectProto$d.toString;
3497
3489
 
3498
3490
  /** Built-in value references. */
3499
3491
  var symToStringTag$1 = Symbol$6 ? Symbol$6.toStringTag : undefined;
@@ -3506,7 +3498,7 @@ var symToStringTag$1 = Symbol$6 ? Symbol$6.toStringTag : undefined;
3506
3498
  * @returns {string} Returns the raw `toStringTag`.
3507
3499
  */
3508
3500
  function getRawTag$1(value) {
3509
- var isOwn = hasOwnProperty$9.call(value, symToStringTag$1),
3501
+ var isOwn = hasOwnProperty$a.call(value, symToStringTag$1),
3510
3502
  tag = value[symToStringTag$1];
3511
3503
 
3512
3504
  try {
@@ -3529,14 +3521,14 @@ var _getRawTag = getRawTag$1;
3529
3521
 
3530
3522
  /** Used for built-in method references. */
3531
3523
 
3532
- var objectProto$b = Object.prototype;
3524
+ var objectProto$c = Object.prototype;
3533
3525
 
3534
3526
  /**
3535
3527
  * Used to resolve the
3536
3528
  * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
3537
3529
  * of values.
3538
3530
  */
3539
- var nativeObjectToString = objectProto$b.toString;
3531
+ var nativeObjectToString = objectProto$c.toString;
3540
3532
 
3541
3533
  /**
3542
3534
  * Converts `value` to a string using `Object.prototype.toString`.
@@ -3659,7 +3651,7 @@ function isFunction$2(value) {
3659
3651
 
3660
3652
  var isFunction_1 = isFunction$2;
3661
3653
 
3662
- var root$9 = require_root();
3654
+ var root$9 = _root;
3663
3655
 
3664
3656
  /** Used to detect overreaching core-js shims. */
3665
3657
  var coreJsData$1 = root$9['__core-js_shared__'];
@@ -3731,17 +3723,17 @@ var reIsHostCtor = /^\[object .+?Constructor\]$/;
3731
3723
 
3732
3724
  /** Used for built-in method references. */
3733
3725
  var funcProto$1 = Function.prototype,
3734
- objectProto$a = Object.prototype;
3726
+ objectProto$b = Object.prototype;
3735
3727
 
3736
3728
  /** Used to resolve the decompiled source of functions. */
3737
3729
  var funcToString$1 = funcProto$1.toString;
3738
3730
 
3739
3731
  /** Used to check objects for own properties. */
3740
- var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
3732
+ var hasOwnProperty$9 = objectProto$b.hasOwnProperty;
3741
3733
 
3742
3734
  /** Used to detect if a method is native. */
3743
3735
  var reIsNative = RegExp('^' +
3744
- funcToString$1.call(hasOwnProperty$8).replace(reRegExpChar, '\\$&')
3736
+ funcToString$1.call(hasOwnProperty$9).replace(reRegExpChar, '\\$&')
3745
3737
  .replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, '$1.*?') + '$'
3746
3738
  );
3747
3739
 
@@ -3797,7 +3789,7 @@ function getNative$5(object, key) {
3797
3789
  var _getNative = getNative$5;
3798
3790
 
3799
3791
  var getNative$4 = _getNative,
3800
- root$8 = require_root();
3792
+ root$8 = _root;
3801
3793
 
3802
3794
  /* Built-in method references that are verified to be native. */
3803
3795
  var WeakMap$3 = getNative$4(root$8, 'WeakMap');
@@ -3811,7 +3803,7 @@ var metaMap$2 = WeakMap$2 && new WeakMap$2;
3811
3803
 
3812
3804
  var _metaMap = metaMap$2;
3813
3805
 
3814
- var identity$2 = identity_1,
3806
+ var identity$1 = requireIdentity(),
3815
3807
  metaMap$1 = _metaMap;
3816
3808
 
3817
3809
  /**
@@ -3822,7 +3814,7 @@ var identity$2 = identity_1,
3822
3814
  * @param {*} data The metadata.
3823
3815
  * @returns {Function} Returns `func`.
3824
3816
  */
3825
- var baseSetData$2 = !metaMap$1 ? identity$2 : function(func, data) {
3817
+ var baseSetData$2 = !metaMap$1 ? identity$1 : function(func, data) {
3826
3818
  metaMap$1.set(func, data);
3827
3819
  return func;
3828
3820
  };
@@ -3907,7 +3899,7 @@ function createCtor$4(Ctor) {
3907
3899
  var _createCtor = createCtor$4;
3908
3900
 
3909
3901
  var createCtor$3 = _createCtor,
3910
- root$7 = require_root();
3902
+ root$7 = _root;
3911
3903
 
3912
3904
  /** Used to compose bitmasks for function metadata. */
3913
3905
  var WRAP_BIND_FLAG$6 = 1;
@@ -3946,21 +3938,29 @@ var _createBind = createBind$1;
3946
3938
  * @returns {*} Returns the result of `func`.
3947
3939
  */
3948
3940
 
3949
- function apply$3(func, thisArg, args) {
3950
- switch (args.length) {
3951
- case 0: return func.call(thisArg);
3952
- case 1: return func.call(thisArg, args[0]);
3953
- case 2: return func.call(thisArg, args[0], args[1]);
3954
- case 3: return func.call(thisArg, args[0], args[1], args[2]);
3955
- }
3956
- return func.apply(thisArg, args);
3957
- }
3941
+ var _apply;
3942
+ var hasRequired_apply;
3943
+
3944
+ function require_apply () {
3945
+ if (hasRequired_apply) return _apply;
3946
+ hasRequired_apply = 1;
3947
+ function apply(func, thisArg, args) {
3948
+ switch (args.length) {
3949
+ case 0: return func.call(thisArg);
3950
+ case 1: return func.call(thisArg, args[0]);
3951
+ case 2: return func.call(thisArg, args[0], args[1]);
3952
+ case 3: return func.call(thisArg, args[0], args[1], args[2]);
3953
+ }
3954
+ return func.apply(thisArg, args);
3955
+ }
3958
3956
 
3959
- var _apply = apply$3;
3957
+ _apply = apply;
3958
+ return _apply;
3959
+ }
3960
3960
 
3961
3961
  /* Built-in method references for those with the same name as other `lodash` methods. */
3962
3962
 
3963
- var nativeMax$3 = Math.max;
3963
+ var nativeMax$2 = Math.max;
3964
3964
 
3965
3965
  /**
3966
3966
  * Creates an array that is the composition of partially applied arguments,
@@ -3979,7 +3979,7 @@ function composeArgs$2(args, partials, holders, isCurried) {
3979
3979
  holdersLength = holders.length,
3980
3980
  leftIndex = -1,
3981
3981
  leftLength = partials.length,
3982
- rangeLength = nativeMax$3(argsLength - holdersLength, 0),
3982
+ rangeLength = nativeMax$2(argsLength - holdersLength, 0),
3983
3983
  result = Array(leftLength + rangeLength),
3984
3984
  isUncurried = !isCurried;
3985
3985
 
@@ -4001,7 +4001,7 @@ var _composeArgs = composeArgs$2;
4001
4001
 
4002
4002
  /* Built-in method references for those with the same name as other `lodash` methods. */
4003
4003
 
4004
- var nativeMax$2 = Math.max;
4004
+ var nativeMax$1 = Math.max;
4005
4005
 
4006
4006
  /**
4007
4007
  * This function is like `composeArgs` except that the arguments composition
@@ -4021,7 +4021,7 @@ function composeArgsRight$2(args, partials, holders, isCurried) {
4021
4021
  holdersLength = holders.length,
4022
4022
  rightIndex = -1,
4023
4023
  rightLength = partials.length,
4024
- rangeLength = nativeMax$2(argsLength - holdersLength, 0),
4024
+ rangeLength = nativeMax$1(argsLength - holdersLength, 0),
4025
4025
  result = Array(rangeLength + rightLength),
4026
4026
  isUncurried = !isCurried;
4027
4027
 
@@ -4150,10 +4150,10 @@ var _realNames = realNames$1;
4150
4150
  var realNames = _realNames;
4151
4151
 
4152
4152
  /** Used for built-in method references. */
4153
- var objectProto$9 = Object.prototype;
4153
+ var objectProto$a = Object.prototype;
4154
4154
 
4155
4155
  /** Used to check objects for own properties. */
4156
- var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
4156
+ var hasOwnProperty$8 = objectProto$a.hasOwnProperty;
4157
4157
 
4158
4158
  /**
4159
4159
  * Gets the name of `func`.
@@ -4165,7 +4165,7 @@ var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
4165
4165
  function getFuncName$1(func) {
4166
4166
  var result = (func.name + ''),
4167
4167
  array = realNames[result],
4168
- length = hasOwnProperty$7.call(realNames, result) ? array.length : 0;
4168
+ length = hasOwnProperty$8.call(realNames, result) ? array.length : 0;
4169
4169
 
4170
4170
  while (length--) {
4171
4171
  var data = array[length],
@@ -4226,9 +4226,9 @@ var _LodashWrapper = LodashWrapper$2;
4226
4226
  * // => false
4227
4227
  */
4228
4228
 
4229
- var isArray$g = Array.isArray;
4229
+ var isArray$h = Array.isArray;
4230
4230
 
4231
- var isArray_1 = isArray$g;
4231
+ var isArray_1 = isArray$h;
4232
4232
 
4233
4233
  /**
4234
4234
  * Checks if `value` is object-like. A value is object-like if it's not `null`
@@ -4310,15 +4310,15 @@ var _wrapperClone = wrapperClone$1;
4310
4310
  var LazyWrapper$1 = _LazyWrapper,
4311
4311
  LodashWrapper = _LodashWrapper,
4312
4312
  baseLodash = _baseLodash,
4313
- isArray$f = isArray_1,
4313
+ isArray$g = isArray_1,
4314
4314
  isObjectLike$7 = isObjectLike_1,
4315
4315
  wrapperClone = _wrapperClone;
4316
4316
 
4317
4317
  /** Used for built-in method references. */
4318
- var objectProto$8 = Object.prototype;
4318
+ var objectProto$9 = Object.prototype;
4319
4319
 
4320
4320
  /** Used to check objects for own properties. */
4321
- var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
4321
+ var hasOwnProperty$7 = objectProto$9.hasOwnProperty;
4322
4322
 
4323
4323
  /**
4324
4324
  * Creates a `lodash` object which wraps `value` to enable implicit method
@@ -4438,11 +4438,11 @@ var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
4438
4438
  * // => true
4439
4439
  */
4440
4440
  function lodash$2(value) {
4441
- if (isObjectLike$7(value) && !isArray$f(value) && !(value instanceof LazyWrapper$1)) {
4441
+ if (isObjectLike$7(value) && !isArray$g(value) && !(value instanceof LazyWrapper$1)) {
4442
4442
  if (value instanceof LodashWrapper) {
4443
4443
  return value;
4444
4444
  }
4445
- if (hasOwnProperty$6.call(value, '__wrapped__')) {
4445
+ if (hasOwnProperty$7.call(value, '__wrapped__')) {
4446
4446
  return wrapperClone(value);
4447
4447
  }
4448
4448
  }
@@ -4486,45 +4486,53 @@ var _isLaziable = isLaziable$1;
4486
4486
 
4487
4487
  /** Used to detect hot functions by number of calls within a span of milliseconds. */
4488
4488
 
4489
- var HOT_COUNT = 800,
4490
- HOT_SPAN = 16;
4489
+ var _shortOut;
4490
+ var hasRequired_shortOut;
4491
4491
 
4492
- /* Built-in method references for those with the same name as other `lodash` methods. */
4493
- var nativeNow = Date.now;
4492
+ function require_shortOut () {
4493
+ if (hasRequired_shortOut) return _shortOut;
4494
+ hasRequired_shortOut = 1;
4495
+ var HOT_COUNT = 800,
4496
+ HOT_SPAN = 16;
4494
4497
 
4495
- /**
4496
- * Creates a function that'll short out and invoke `identity` instead
4497
- * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`
4498
- * milliseconds.
4499
- *
4500
- * @private
4501
- * @param {Function} func The function to restrict.
4502
- * @returns {Function} Returns the new shortable function.
4503
- */
4504
- function shortOut$2(func) {
4505
- var count = 0,
4506
- lastCalled = 0;
4498
+ /* Built-in method references for those with the same name as other `lodash` methods. */
4499
+ var nativeNow = Date.now;
4507
4500
 
4508
- return function() {
4509
- var stamp = nativeNow(),
4510
- remaining = HOT_SPAN - (stamp - lastCalled);
4501
+ /**
4502
+ * Creates a function that'll short out and invoke `identity` instead
4503
+ * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`
4504
+ * milliseconds.
4505
+ *
4506
+ * @private
4507
+ * @param {Function} func The function to restrict.
4508
+ * @returns {Function} Returns the new shortable function.
4509
+ */
4510
+ function shortOut(func) {
4511
+ var count = 0,
4512
+ lastCalled = 0;
4511
4513
 
4512
- lastCalled = stamp;
4513
- if (remaining > 0) {
4514
- if (++count >= HOT_COUNT) {
4515
- return arguments[0];
4516
- }
4517
- } else {
4518
- count = 0;
4519
- }
4520
- return func.apply(undefined, arguments);
4521
- };
4522
- }
4514
+ return function() {
4515
+ var stamp = nativeNow(),
4516
+ remaining = HOT_SPAN - (stamp - lastCalled);
4523
4517
 
4524
- var _shortOut = shortOut$2;
4518
+ lastCalled = stamp;
4519
+ if (remaining > 0) {
4520
+ if (++count >= HOT_COUNT) {
4521
+ return arguments[0];
4522
+ }
4523
+ } else {
4524
+ count = 0;
4525
+ }
4526
+ return func.apply(undefined, arguments);
4527
+ };
4528
+ }
4529
+
4530
+ _shortOut = shortOut;
4531
+ return _shortOut;
4532
+ }
4525
4533
 
4526
4534
  var baseSetData$1 = _baseSetData,
4527
- shortOut$1 = _shortOut;
4535
+ shortOut = require_shortOut();
4528
4536
 
4529
4537
  /**
4530
4538
  * Sets metadata for `func`.
@@ -4540,7 +4548,7 @@ var baseSetData$1 = _baseSetData,
4540
4548
  * @param {*} data The metadata.
4541
4549
  * @returns {Function} Returns `func`.
4542
4550
  */
4543
- var setData$2 = shortOut$1(baseSetData$1);
4551
+ var setData$2 = shortOut(baseSetData$1);
4544
4552
 
4545
4553
  var _setData = setData$2;
4546
4554
 
@@ -4608,13 +4616,21 @@ var _insertWrapDetails = insertWrapDetails$1;
4608
4616
  * // => true
4609
4617
  */
4610
4618
 
4611
- function constant$1(value) {
4612
- return function() {
4613
- return value;
4614
- };
4615
- }
4619
+ var constant_1;
4620
+ var hasRequiredConstant;
4621
+
4622
+ function requireConstant () {
4623
+ if (hasRequiredConstant) return constant_1;
4624
+ hasRequiredConstant = 1;
4625
+ function constant(value) {
4626
+ return function() {
4627
+ return value;
4628
+ };
4629
+ }
4616
4630
 
4617
- var constant_1 = constant$1;
4631
+ constant_1 = constant;
4632
+ return constant_1;
4633
+ }
4618
4634
 
4619
4635
  var _defineProperty;
4620
4636
  var hasRequired_defineProperty;
@@ -4636,43 +4652,59 @@ function require_defineProperty () {
4636
4652
  return _defineProperty;
4637
4653
  }
4638
4654
 
4639
- var constant = constant_1,
4640
- defineProperty = require_defineProperty(),
4641
- identity$1 = identity_1;
4655
+ var _baseSetToString;
4656
+ var hasRequired_baseSetToString;
4642
4657
 
4643
- /**
4644
- * The base implementation of `setToString` without support for hot loop shorting.
4645
- *
4646
- * @private
4647
- * @param {Function} func The function to modify.
4648
- * @param {Function} string The `toString` result.
4649
- * @returns {Function} Returns `func`.
4650
- */
4651
- var baseSetToString$1 = !defineProperty ? identity$1 : function(func, string) {
4652
- return defineProperty(func, 'toString', {
4653
- 'configurable': true,
4654
- 'enumerable': false,
4655
- 'value': constant(string),
4656
- 'writable': true
4657
- });
4658
- };
4658
+ function require_baseSetToString () {
4659
+ if (hasRequired_baseSetToString) return _baseSetToString;
4660
+ hasRequired_baseSetToString = 1;
4661
+ var constant = requireConstant(),
4662
+ defineProperty = require_defineProperty(),
4663
+ identity = requireIdentity();
4659
4664
 
4660
- var _baseSetToString = baseSetToString$1;
4665
+ /**
4666
+ * The base implementation of `setToString` without support for hot loop shorting.
4667
+ *
4668
+ * @private
4669
+ * @param {Function} func The function to modify.
4670
+ * @param {Function} string The `toString` result.
4671
+ * @returns {Function} Returns `func`.
4672
+ */
4673
+ var baseSetToString = !defineProperty ? identity : function(func, string) {
4674
+ return defineProperty(func, 'toString', {
4675
+ 'configurable': true,
4676
+ 'enumerable': false,
4677
+ 'value': constant(string),
4678
+ 'writable': true
4679
+ });
4680
+ };
4661
4681
 
4662
- var baseSetToString = _baseSetToString,
4663
- shortOut = _shortOut;
4682
+ _baseSetToString = baseSetToString;
4683
+ return _baseSetToString;
4684
+ }
4664
4685
 
4665
- /**
4666
- * Sets the `toString` method of `func` to return `string`.
4667
- *
4668
- * @private
4669
- * @param {Function} func The function to modify.
4670
- * @param {Function} string The `toString` result.
4671
- * @returns {Function} Returns `func`.
4672
- */
4673
- var setToString$2 = shortOut(baseSetToString);
4686
+ var _setToString;
4687
+ var hasRequired_setToString;
4674
4688
 
4675
- var _setToString = setToString$2;
4689
+ function require_setToString () {
4690
+ if (hasRequired_setToString) return _setToString;
4691
+ hasRequired_setToString = 1;
4692
+ var baseSetToString = require_baseSetToString(),
4693
+ shortOut = require_shortOut();
4694
+
4695
+ /**
4696
+ * Sets the `toString` method of `func` to return `string`.
4697
+ *
4698
+ * @private
4699
+ * @param {Function} func The function to modify.
4700
+ * @param {Function} string The `toString` result.
4701
+ * @returns {Function} Returns `func`.
4702
+ */
4703
+ var setToString = shortOut(baseSetToString);
4704
+
4705
+ _setToString = setToString;
4706
+ return _setToString;
4707
+ }
4676
4708
 
4677
4709
  /**
4678
4710
  * A specialized version of `_.forEach` for arrays without support for
@@ -4851,7 +4883,7 @@ var _updateWrapDetails = updateWrapDetails$1;
4851
4883
 
4852
4884
  var getWrapDetails = _getWrapDetails,
4853
4885
  insertWrapDetails = _insertWrapDetails,
4854
- setToString$1 = _setToString,
4886
+ setToString$1 = require_setToString(),
4855
4887
  updateWrapDetails = _updateWrapDetails;
4856
4888
 
4857
4889
  /**
@@ -4979,7 +5011,7 @@ function require_isIndex () {
4979
5011
  }
4980
5012
 
4981
5013
  var copyArray$2 = _copyArray,
4982
- isIndex$1 = require_isIndex();
5014
+ isIndex$2 = require_isIndex();
4983
5015
 
4984
5016
  /* Built-in method references for those with the same name as other `lodash` methods. */
4985
5017
  var nativeMin$1 = Math.min;
@@ -5001,7 +5033,7 @@ function reorder$1(array, indexes) {
5001
5033
 
5002
5034
  while (length--) {
5003
5035
  var index = indexes[length];
5004
- array[length] = isIndex$1(index, arrLength) ? oldArray[index] : undefined;
5036
+ array[length] = isIndex$2(index, arrLength) ? oldArray[index] : undefined;
5005
5037
  }
5006
5038
  return array;
5007
5039
  }
@@ -5047,7 +5079,7 @@ var composeArgs$1 = _composeArgs,
5047
5079
  getHolder$1 = _getHolder,
5048
5080
  reorder = _reorder,
5049
5081
  replaceHolders$2 = _replaceHolders,
5050
- root$6 = require_root();
5082
+ root$6 = _root;
5051
5083
 
5052
5084
  /** Used to compose bitmasks for function metadata. */
5053
5085
  var WRAP_BIND_FLAG$3 = 1,
@@ -5132,13 +5164,13 @@ function createHybrid$2(func, bitmask, thisArg, partials, holders, partialsRight
5132
5164
 
5133
5165
  var _createHybrid = createHybrid$2;
5134
5166
 
5135
- var apply$2 = _apply,
5167
+ var apply$1 = require_apply(),
5136
5168
  createCtor$1 = _createCtor,
5137
5169
  createHybrid$1 = _createHybrid,
5138
5170
  createRecurry = _createRecurry,
5139
5171
  getHolder = _getHolder,
5140
5172
  replaceHolders$1 = _replaceHolders,
5141
- root$5 = require_root();
5173
+ root$5 = _root;
5142
5174
 
5143
5175
  /**
5144
5176
  * Creates a function that wraps `func` to enable currying.
@@ -5172,16 +5204,16 @@ function createCurry$1(func, bitmask, arity) {
5172
5204
  args, holders, undefined, undefined, arity - length);
5173
5205
  }
5174
5206
  var fn = (this && this !== root$5 && this instanceof wrapper) ? Ctor : func;
5175
- return apply$2(fn, this, args);
5207
+ return apply$1(fn, this, args);
5176
5208
  }
5177
5209
  return wrapper;
5178
5210
  }
5179
5211
 
5180
5212
  var _createCurry = createCurry$1;
5181
5213
 
5182
- var apply$1 = _apply,
5214
+ var apply = require_apply(),
5183
5215
  createCtor = _createCtor,
5184
- root$4 = require_root();
5216
+ root$4 = _root;
5185
5217
 
5186
5218
  /** Used to compose bitmasks for function metadata. */
5187
5219
  var WRAP_BIND_FLAG$2 = 1;
@@ -5216,7 +5248,7 @@ function createPartial$1(func, bitmask, thisArg, partials) {
5216
5248
  while (argsLength--) {
5217
5249
  args[leftIndex++] = arguments[++argsIndex];
5218
5250
  }
5219
- return apply$1(fn, isBind ? thisArg : this, args);
5251
+ return apply(fn, isBind ? thisArg : this, args);
5220
5252
  }
5221
5253
  return wrapper;
5222
5254
  }
@@ -5553,7 +5585,7 @@ var WRAP_BIND_FLAG = 1,
5553
5585
  WRAP_PARTIAL_RIGHT_FLAG = 64;
5554
5586
 
5555
5587
  /* Built-in method references for those with the same name as other `lodash` methods. */
5556
- var nativeMax$1 = Math.max;
5588
+ var nativeMax = Math.max;
5557
5589
 
5558
5590
  /**
5559
5591
  * Creates a function that either curries or invokes `func` with optional
@@ -5590,7 +5622,7 @@ function createWrap$3(func, bitmask, thisArg, partials, holders, argPos, ary, ar
5590
5622
  bitmask &= ~(WRAP_PARTIAL_FLAG | WRAP_PARTIAL_RIGHT_FLAG);
5591
5623
  partials = holders = undefined;
5592
5624
  }
5593
- ary = ary === undefined ? ary : nativeMax$1(toInteger(ary), 0);
5625
+ ary = ary === undefined ? ary : nativeMax(toInteger(ary), 0);
5594
5626
  arity = arity === undefined ? arity : toInteger(arity);
5595
5627
  length -= holders ? holders.length : 0;
5596
5628
 
@@ -5617,7 +5649,7 @@ function createWrap$3(func, bitmask, thisArg, partials, holders, argPos, ary, ar
5617
5649
  holders = newData[4];
5618
5650
  arity = newData[9] = newData[9] === undefined
5619
5651
  ? (isBindKey ? 0 : func.length)
5620
- : nativeMax$1(newData[9] - length, 0);
5652
+ : nativeMax(newData[9] - length, 0);
5621
5653
 
5622
5654
  if (!arity && bitmask & (WRAP_CURRY_FLAG$1 | WRAP_CURRY_RIGHT_FLAG)) {
5623
5655
  bitmask &= ~(WRAP_CURRY_FLAG$1 | WRAP_CURRY_RIGHT_FLAG);
@@ -5752,10 +5784,10 @@ var baseAssignValue$1 = require_baseAssignValue(),
5752
5784
  eq$1 = requireEq();
5753
5785
 
5754
5786
  /** Used for built-in method references. */
5755
- var objectProto$7 = Object.prototype;
5787
+ var objectProto$8 = Object.prototype;
5756
5788
 
5757
5789
  /** Used to check objects for own properties. */
5758
- var hasOwnProperty$5 = objectProto$7.hasOwnProperty;
5790
+ var hasOwnProperty$6 = objectProto$8.hasOwnProperty;
5759
5791
 
5760
5792
  /**
5761
5793
  * Assigns `value` to `key` of `object` if the existing value is not equivalent
@@ -5769,7 +5801,7 @@ var hasOwnProperty$5 = objectProto$7.hasOwnProperty;
5769
5801
  */
5770
5802
  function assignValue$2(object, key, value) {
5771
5803
  var objValue = object[key];
5772
- if (!(hasOwnProperty$5.call(object, key) && eq$1(objValue, value)) ||
5804
+ if (!(hasOwnProperty$6.call(object, key) && eq$1(objValue, value)) ||
5773
5805
  (value === undefined && !(key in object))) {
5774
5806
  baseAssignValue$1(object, key, value);
5775
5807
  }
@@ -5828,26 +5860,18 @@ var _copyObject = copyObject$4;
5828
5860
  * @returns {Array} Returns the array of results.
5829
5861
  */
5830
5862
 
5831
- var _baseTimes;
5832
- var hasRequired_baseTimes;
5833
-
5834
- function require_baseTimes () {
5835
- if (hasRequired_baseTimes) return _baseTimes;
5836
- hasRequired_baseTimes = 1;
5837
- function baseTimes(n, iteratee) {
5838
- var index = -1,
5839
- result = Array(n);
5840
-
5841
- while (++index < n) {
5842
- result[index] = iteratee(index);
5843
- }
5844
- return result;
5845
- }
5863
+ function baseTimes$1(n, iteratee) {
5864
+ var index = -1,
5865
+ result = Array(n);
5846
5866
 
5847
- _baseTimes = baseTimes;
5848
- return _baseTimes;
5867
+ while (++index < n) {
5868
+ result[index] = iteratee(index);
5869
+ }
5870
+ return result;
5849
5871
  }
5850
5872
 
5873
+ var _baseTimes = baseTimes$1;
5874
+
5851
5875
  var _baseIsArguments;
5852
5876
  var hasRequired_baseIsArguments;
5853
5877
 
@@ -5921,7 +5945,7 @@ function requireIsArguments () {
5921
5945
  }
5922
5946
 
5923
5947
  var isBufferExports = {};
5924
- var isBuffer$4 = {
5948
+ var isBuffer$5 = {
5925
5949
  get exports(){ return isBufferExports; },
5926
5950
  set exports(v){ isBufferExports = v; },
5927
5951
  };
@@ -5960,7 +5984,7 @@ function requireIsBuffer () {
5960
5984
  if (hasRequiredIsBuffer) return isBufferExports;
5961
5985
  hasRequiredIsBuffer = 1;
5962
5986
  (function (module, exports) {
5963
- var root = require_root(),
5987
+ var root = _root,
5964
5988
  stubFalse = requireStubFalse();
5965
5989
 
5966
5990
  /** Detect free variable `exports`. */
@@ -5998,7 +6022,7 @@ function requireIsBuffer () {
5998
6022
  var isBuffer = nativeIsBuffer || stubFalse;
5999
6023
 
6000
6024
  module.exports = isBuffer;
6001
- } (isBuffer$4, isBufferExports));
6025
+ } (isBuffer$5, isBufferExports));
6002
6026
  return isBufferExports;
6003
6027
  }
6004
6028
 
@@ -6152,7 +6176,7 @@ function require_nodeUtil () {
6152
6176
  if (hasRequired_nodeUtil) return _nodeUtilExports;
6153
6177
  hasRequired_nodeUtil = 1;
6154
6178
  (function (module, exports) {
6155
- var freeGlobal = require_freeGlobal();
6179
+ var freeGlobal = _freeGlobal;
6156
6180
 
6157
6181
  /** Detect free variable `exports`. */
6158
6182
  var freeExports = exports && !exports.nodeType && exports;
@@ -6222,64 +6246,56 @@ function requireIsTypedArray () {
6222
6246
  return isTypedArray_1;
6223
6247
  }
6224
6248
 
6225
- var _arrayLikeKeys;
6226
- var hasRequired_arrayLikeKeys;
6227
-
6228
- function require_arrayLikeKeys () {
6229
- if (hasRequired_arrayLikeKeys) return _arrayLikeKeys;
6230
- hasRequired_arrayLikeKeys = 1;
6231
- var baseTimes = require_baseTimes(),
6232
- isArguments = requireIsArguments(),
6233
- isArray = isArray_1,
6234
- isBuffer = requireIsBuffer(),
6235
- isIndex = require_isIndex(),
6236
- isTypedArray = requireIsTypedArray();
6249
+ var baseTimes = _baseTimes,
6250
+ isArguments$2 = requireIsArguments(),
6251
+ isArray$f = isArray_1,
6252
+ isBuffer$4 = requireIsBuffer(),
6253
+ isIndex$1 = require_isIndex(),
6254
+ isTypedArray$1 = requireIsTypedArray();
6237
6255
 
6238
- /** Used for built-in method references. */
6239
- var objectProto = Object.prototype;
6256
+ /** Used for built-in method references. */
6257
+ var objectProto$7 = Object.prototype;
6240
6258
 
6241
- /** Used to check objects for own properties. */
6242
- var hasOwnProperty = objectProto.hasOwnProperty;
6259
+ /** Used to check objects for own properties. */
6260
+ var hasOwnProperty$5 = objectProto$7.hasOwnProperty;
6243
6261
 
6244
- /**
6245
- * Creates an array of the enumerable property names of the array-like `value`.
6246
- *
6247
- * @private
6248
- * @param {*} value The value to query.
6249
- * @param {boolean} inherited Specify returning inherited property names.
6250
- * @returns {Array} Returns the array of property names.
6251
- */
6252
- function arrayLikeKeys(value, inherited) {
6253
- var isArr = isArray(value),
6254
- isArg = !isArr && isArguments(value),
6255
- isBuff = !isArr && !isArg && isBuffer(value),
6256
- isType = !isArr && !isArg && !isBuff && isTypedArray(value),
6257
- skipIndexes = isArr || isArg || isBuff || isType,
6258
- result = skipIndexes ? baseTimes(value.length, String) : [],
6259
- length = result.length;
6260
-
6261
- for (var key in value) {
6262
- if ((inherited || hasOwnProperty.call(value, key)) &&
6263
- !(skipIndexes && (
6264
- // Safari 9 has enumerable `arguments.length` in strict mode.
6265
- key == 'length' ||
6266
- // Node.js 0.10 has enumerable non-index properties on buffers.
6267
- (isBuff && (key == 'offset' || key == 'parent')) ||
6268
- // PhantomJS 2 has enumerable non-index properties on typed arrays.
6269
- (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
6270
- // Skip index properties.
6271
- isIndex(key, length)
6272
- ))) {
6273
- result.push(key);
6274
- }
6275
- }
6276
- return result;
6277
- }
6262
+ /**
6263
+ * Creates an array of the enumerable property names of the array-like `value`.
6264
+ *
6265
+ * @private
6266
+ * @param {*} value The value to query.
6267
+ * @param {boolean} inherited Specify returning inherited property names.
6268
+ * @returns {Array} Returns the array of property names.
6269
+ */
6270
+ function arrayLikeKeys$1(value, inherited) {
6271
+ var isArr = isArray$f(value),
6272
+ isArg = !isArr && isArguments$2(value),
6273
+ isBuff = !isArr && !isArg && isBuffer$4(value),
6274
+ isType = !isArr && !isArg && !isBuff && isTypedArray$1(value),
6275
+ skipIndexes = isArr || isArg || isBuff || isType,
6276
+ result = skipIndexes ? baseTimes(value.length, String) : [],
6277
+ length = result.length;
6278
6278
 
6279
- _arrayLikeKeys = arrayLikeKeys;
6280
- return _arrayLikeKeys;
6279
+ for (var key in value) {
6280
+ if ((inherited || hasOwnProperty$5.call(value, key)) &&
6281
+ !(skipIndexes && (
6282
+ // Safari 9 has enumerable `arguments.length` in strict mode.
6283
+ key == 'length' ||
6284
+ // Node.js 0.10 has enumerable non-index properties on buffers.
6285
+ (isBuff && (key == 'offset' || key == 'parent')) ||
6286
+ // PhantomJS 2 has enumerable non-index properties on typed arrays.
6287
+ (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||
6288
+ // Skip index properties.
6289
+ isIndex$1(key, length)
6290
+ ))) {
6291
+ result.push(key);
6292
+ }
6293
+ }
6294
+ return result;
6281
6295
  }
6282
6296
 
6297
+ var _arrayLikeKeys = arrayLikeKeys$1;
6298
+
6283
6299
  /** Used for built-in method references. */
6284
6300
 
6285
6301
  var objectProto$6 = Object.prototype;
@@ -6397,7 +6413,7 @@ function requireIsArrayLike () {
6397
6413
  return isArrayLike_1;
6398
6414
  }
6399
6415
 
6400
- var arrayLikeKeys = require_arrayLikeKeys(),
6416
+ var arrayLikeKeys = _arrayLikeKeys,
6401
6417
  baseKeys = _baseKeys,
6402
6418
  isArrayLike = requireIsArrayLike();
6403
6419
 
@@ -6780,7 +6796,7 @@ function require_stackHas () {
6780
6796
  }
6781
6797
 
6782
6798
  var getNative$3 = _getNative,
6783
- root$3 = require_root();
6799
+ root$3 = _root;
6784
6800
 
6785
6801
  /* Built-in method references that are verified to be native. */
6786
6802
  var Map$2 = getNative$3(root$3, 'Map');
@@ -7385,7 +7401,7 @@ var hasRequiredKeysIn;
7385
7401
  function requireKeysIn () {
7386
7402
  if (hasRequiredKeysIn) return keysIn_1;
7387
7403
  hasRequiredKeysIn = 1;
7388
- var arrayLikeKeys = require_arrayLikeKeys(),
7404
+ var arrayLikeKeys = _arrayLikeKeys,
7389
7405
  baseKeysIn = require_baseKeysIn(),
7390
7406
  isArrayLike = requireIsArrayLike();
7391
7407
 
@@ -7450,7 +7466,7 @@ function require_cloneBuffer () {
7450
7466
  if (hasRequired_cloneBuffer) return _cloneBufferExports;
7451
7467
  hasRequired_cloneBuffer = 1;
7452
7468
  (function (module, exports) {
7453
- var root = require_root();
7469
+ var root = _root;
7454
7470
 
7455
7471
  /** Detect free variable `exports`. */
7456
7472
  var freeExports = exports && !exports.nodeType && exports;
@@ -7718,7 +7734,7 @@ function getAllKeysIn$1(object) {
7718
7734
  var _getAllKeysIn = getAllKeysIn$1;
7719
7735
 
7720
7736
  var getNative$2 = _getNative,
7721
- root$2 = require_root();
7737
+ root$2 = _root;
7722
7738
 
7723
7739
  /* Built-in method references that are verified to be native. */
7724
7740
  var DataView$2 = getNative$2(root$2, 'DataView');
@@ -7726,7 +7742,7 @@ var DataView$2 = getNative$2(root$2, 'DataView');
7726
7742
  var _DataView = DataView$2;
7727
7743
 
7728
7744
  var getNative$1 = _getNative,
7729
- root$1 = require_root();
7745
+ root$1 = _root;
7730
7746
 
7731
7747
  /* Built-in method references that are verified to be native. */
7732
7748
  var Promise$2 = getNative$1(root$1, 'Promise');
@@ -7734,7 +7750,7 @@ var Promise$2 = getNative$1(root$1, 'Promise');
7734
7750
  var _Promise = Promise$2;
7735
7751
 
7736
7752
  var getNative = _getNative,
7737
- root = require_root();
7753
+ root = _root;
7738
7754
 
7739
7755
  /* Built-in method references that are verified to be native. */
7740
7756
  var Set$2 = getNative(root, 'Set');
@@ -7834,7 +7850,7 @@ var hasRequired_Uint8Array;
7834
7850
  function require_Uint8Array () {
7835
7851
  if (hasRequired_Uint8Array) return _Uint8Array;
7836
7852
  hasRequired_Uint8Array = 1;
7837
- var root = require_root();
7853
+ var root = _root;
7838
7854
 
7839
7855
  /** Built-in value references. */
7840
7856
  var Uint8Array = root.Uint8Array;
@@ -9778,7 +9794,7 @@ var property_1 = property$1;
9778
9794
 
9779
9795
  var baseMatches = _baseMatches,
9780
9796
  baseMatchesProperty = _baseMatchesProperty,
9781
- identity = identity_1,
9797
+ identity = requireIdentity(),
9782
9798
  isArray$7 = isArray_1,
9783
9799
  property = property_1;
9784
9800
 
@@ -9945,46 +9961,54 @@ function flatten$1(array) {
9945
9961
 
9946
9962
  var flatten_1 = flatten$1;
9947
9963
 
9948
- var apply = _apply;
9964
+ var _overRest;
9965
+ var hasRequired_overRest;
9949
9966
 
9950
- /* Built-in method references for those with the same name as other `lodash` methods. */
9951
- var nativeMax = Math.max;
9967
+ function require_overRest () {
9968
+ if (hasRequired_overRest) return _overRest;
9969
+ hasRequired_overRest = 1;
9970
+ var apply = require_apply();
9952
9971
 
9953
- /**
9954
- * A specialized version of `baseRest` which transforms the rest array.
9955
- *
9956
- * @private
9957
- * @param {Function} func The function to apply a rest parameter to.
9958
- * @param {number} [start=func.length-1] The start position of the rest parameter.
9959
- * @param {Function} transform The rest array transform.
9960
- * @returns {Function} Returns the new function.
9961
- */
9962
- function overRest$1(func, start, transform) {
9963
- start = nativeMax(start === undefined ? (func.length - 1) : start, 0);
9964
- return function() {
9965
- var args = arguments,
9966
- index = -1,
9967
- length = nativeMax(args.length - start, 0),
9968
- array = Array(length);
9972
+ /* Built-in method references for those with the same name as other `lodash` methods. */
9973
+ var nativeMax = Math.max;
9969
9974
 
9970
- while (++index < length) {
9971
- array[index] = args[start + index];
9972
- }
9973
- index = -1;
9974
- var otherArgs = Array(start + 1);
9975
- while (++index < start) {
9976
- otherArgs[index] = args[index];
9977
- }
9978
- otherArgs[start] = transform(array);
9979
- return apply(func, this, otherArgs);
9980
- };
9981
- }
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);
9991
+
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
+ }
9982
10004
 
9983
- var _overRest = overRest$1;
10005
+ _overRest = overRest;
10006
+ return _overRest;
10007
+ }
9984
10008
 
9985
10009
  var flatten = flatten_1,
9986
- overRest = _overRest,
9987
- setToString = _setToString;
10010
+ overRest = require_overRest(),
10011
+ setToString = require_setToString();
9988
10012
 
9989
10013
  /**
9990
10014
  * A specialized version of `baseRest` which flattens the rest array.
@@ -10466,9 +10490,9 @@ var hasRequired_baseRest;
10466
10490
  function require_baseRest () {
10467
10491
  if (hasRequired_baseRest) return _baseRest;
10468
10492
  hasRequired_baseRest = 1;
10469
- var identity = identity_1,
10470
- overRest = _overRest,
10471
- setToString = _setToString;
10493
+ var identity = requireIdentity(),
10494
+ overRest = require_overRest(),
10495
+ setToString = require_setToString();
10472
10496
 
10473
10497
  /**
10474
10498
  * The base implementation of `_.rest` which doesn't validate or coerce arguments.