castled-js-sdk 1.1.4 → 1.1.5

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,7 +12,7 @@ function _objectSpread2(target) {
12
12
  for (var i = 1; i < arguments.length; i++) {
13
13
  var source = null != arguments[i] ? arguments[i] : {};
14
14
  i % 2 ? ownKeys$1(Object(source), !0).forEach(function (key) {
15
- _defineProperty$1(target, key, source[key]);
15
+ _defineProperty$2(target, key, source[key]);
16
16
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys$1(Object(source)).forEach(function (key) {
17
17
  Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
18
18
  });
@@ -381,7 +381,7 @@ function _createClass(Constructor, protoProps, staticProps) {
381
381
  });
382
382
  return Constructor;
383
383
  }
384
- function _defineProperty$1(obj, key, value) {
384
+ function _defineProperty$2(obj, key, value) {
385
385
  key = _toPropertyKey(key);
386
386
  if (key in obj) {
387
387
  Object.defineProperty(obj, key, {
@@ -562,8 +562,8 @@ Item.prototype.run = function () {
562
562
  this.fun.apply(null, this.array);
563
563
  };
564
564
  var title = 'browser';
565
- var platform = 'browser';
566
- var browser = true;
565
+ var platform$3 = 'browser';
566
+ var browser$2 = true;
567
567
  var env = {};
568
568
  var argv = [];
569
569
  var version$1 = ''; // empty string to avoid regexp issues
@@ -624,10 +624,10 @@ function uptime() {
624
624
  return dif / 1000;
625
625
  }
626
626
 
627
- var browser$1 = {
627
+ var browser$1$1 = {
628
628
  nextTick: nextTick,
629
629
  title: title,
630
- browser: browser,
630
+ browser: browser$2,
631
631
  env: env,
632
632
  argv: argv,
633
633
  version: version$1,
@@ -644,7 +644,7 @@ var browser$1 = {
644
644
  chdir: chdir,
645
645
  umask: umask,
646
646
  hrtime: hrtime,
647
- platform: platform,
647
+ platform: platform$3,
648
648
  release: release,
649
649
  config: config,
650
650
  uptime: uptime
@@ -847,7 +847,7 @@ function write (buffer, value, offset, isLE, mLen, nBytes) {
847
847
 
848
848
  var toString$2 = {}.toString;
849
849
 
850
- var isArray$3 = Array.isArray || function (arr) {
850
+ var isArray$7 = Array.isArray || function (arr) {
851
851
  return toString$2.call(arr) == '[object Array]';
852
852
  };
853
853
 
@@ -1129,7 +1129,7 @@ function fromObject (that, obj) {
1129
1129
  return fromArrayLike(that, obj)
1130
1130
  }
1131
1131
 
1132
- if (obj.type === 'Buffer' && isArray$3(obj.data)) {
1132
+ if (obj.type === 'Buffer' && isArray$7(obj.data)) {
1133
1133
  return fromArrayLike(that, obj.data)
1134
1134
  }
1135
1135
  }
@@ -1146,7 +1146,7 @@ function checked (length) {
1146
1146
  }
1147
1147
  return length | 0
1148
1148
  }
1149
- Buffer.isBuffer = isBuffer$2;
1149
+ Buffer.isBuffer = isBuffer$5;
1150
1150
  function internalIsBuffer (b) {
1151
1151
  return !!(b != null && b._isBuffer)
1152
1152
  }
@@ -1194,7 +1194,7 @@ Buffer.isEncoding = function isEncoding (encoding) {
1194
1194
  };
1195
1195
 
1196
1196
  Buffer.concat = function concat (list, length) {
1197
- if (!isArray$3(list)) {
1197
+ if (!isArray$7(list)) {
1198
1198
  throw new TypeError('"list" argument must be an Array of Buffers')
1199
1199
  }
1200
1200
 
@@ -2612,7 +2612,7 @@ function isnan (val) {
2612
2612
  // the following is from is-buffer, also by Feross Aboukhadijeh and with same lisence
2613
2613
  // The _isBuffer check is for Safari 5-7 support, because it's missing
2614
2614
  // Object.prototype.constructor. Remove this eventually
2615
- function isBuffer$2(obj) {
2615
+ function isBuffer$5(obj) {
2616
2616
  return obj != null && (!!obj._isBuffer || isFastBuffer(obj) || isSlowBuffer(obj))
2617
2617
  }
2618
2618
 
@@ -2665,8 +2665,8 @@ var toString$1=Object.prototype.toString;/**
2665
2665
  * @param {Mixed} val
2666
2666
  * @return {String}
2667
2667
  * @api public
2668
- */var componentType=function componentType(val){switch(toString$1.call(val)){case'[object Date]':return 'date';case'[object RegExp]':return 'regexp';case'[object Arguments]':return 'arguments';case'[object Array]':return 'array';case'[object Error]':return 'error';}if(val===null)return 'null';if(val===undefined)return 'undefined';if(val!==val)return 'nan';if(val&&val.nodeType===1)return 'element';if(isBuffer$1(val))return 'buffer';val=val.valueOf?val.valueOf():Object.prototype.valueOf.apply(val);return _typeof(val);};// code borrowed from https://github.com/feross/is-buffer/blob/master/index.js
2669
- function isBuffer$1(obj){return !!(obj!=null&&(obj._isBuffer||// For Safari 5-7 (missing Object.prototype.constructor)
2668
+ */var componentType=function componentType(val){switch(toString$1.call(val)){case'[object Date]':return 'date';case'[object RegExp]':return 'regexp';case'[object Arguments]':return 'arguments';case'[object Array]':return 'array';case'[object Error]':return 'error';}if(val===null)return 'null';if(val===undefined)return 'undefined';if(val!==val)return 'nan';if(val&&val.nodeType===1)return 'element';if(isBuffer$4(val))return 'buffer';val=val.valueOf?val.valueOf():Object.prototype.valueOf.apply(val);return _typeof(val);};// code borrowed from https://github.com/feross/is-buffer/blob/master/index.js
2669
+ function isBuffer$4(obj){return !!(obj!=null&&(obj._isBuffer||// For Safari 5-7 (missing Object.prototype.constructor)
2670
2670
  obj.constructor&&typeof obj.constructor.isBuffer==='function'&&obj.constructor.isBuffer(obj)));}
2671
2671
 
2672
2672
  /**
@@ -2802,7 +2802,7 @@ function formatValue(ctx, value, recurseTimes) {
2802
2802
  // Check that value is an object with an inspect function on it
2803
2803
  if (ctx.customInspect &&
2804
2804
  value &&
2805
- isFunction$2(value.inspect) &&
2805
+ isFunction$5(value.inspect) &&
2806
2806
  // Filter out the util module, it's inspect function is special
2807
2807
  value.inspect !== inspect$1 &&
2808
2808
  // Also filter out any prototype objects using the circular check.
@@ -2837,7 +2837,7 @@ function formatValue(ctx, value, recurseTimes) {
2837
2837
 
2838
2838
  // Some type of object without properties can be shortcutted.
2839
2839
  if (keys.length === 0) {
2840
- if (isFunction$2(value)) {
2840
+ if (isFunction$5(value)) {
2841
2841
  var name = value.name ? ': ' + value.name : '';
2842
2842
  return ctx.stylize('[Function' + name + ']', 'special');
2843
2843
  }
@@ -2855,13 +2855,13 @@ function formatValue(ctx, value, recurseTimes) {
2855
2855
  var base = '', array = false, braces = ['{', '}'];
2856
2856
 
2857
2857
  // Make Array say that they are Array
2858
- if (isArray$2(value)) {
2858
+ if (isArray$6(value)) {
2859
2859
  array = true;
2860
2860
  braces = ['[', ']'];
2861
2861
  }
2862
2862
 
2863
2863
  // Make functions say that they are functions
2864
- if (isFunction$2(value)) {
2864
+ if (isFunction$5(value)) {
2865
2865
  var n = value.name ? ': ' + value.name : '';
2866
2866
  base = ' [Function' + n + ']';
2867
2867
  }
@@ -2937,7 +2937,7 @@ function formatError(value) {
2937
2937
  function formatArray(ctx, value, recurseTimes, visibleKeys, keys) {
2938
2938
  var output = [];
2939
2939
  for (var i = 0, l = value.length; i < l; ++i) {
2940
- if (hasOwnProperty(value, String(i))) {
2940
+ if (hasOwnProperty$b(value, String(i))) {
2941
2941
  output.push(formatProperty(ctx, value, recurseTimes, visibleKeys,
2942
2942
  String(i), true));
2943
2943
  } else {
@@ -2968,7 +2968,7 @@ function formatProperty(ctx, value, recurseTimes, visibleKeys, key, array) {
2968
2968
  str = ctx.stylize('[Setter]', 'special');
2969
2969
  }
2970
2970
  }
2971
- if (!hasOwnProperty(visibleKeys, key)) {
2971
+ if (!hasOwnProperty$b(visibleKeys, key)) {
2972
2972
  name = '[' + key + ']';
2973
2973
  }
2974
2974
  if (!str) {
@@ -3034,7 +3034,7 @@ function reduceToSingleString(output, base, braces) {
3034
3034
 
3035
3035
  // NOTE: These type checking functions intentionally don't use `instanceof`
3036
3036
  // because it is fragile and can be easily faked with `Object.create()`.
3037
- function isArray$2(ar) {
3037
+ function isArray$6(ar) {
3038
3038
  return Array.isArray(ar);
3039
3039
  }
3040
3040
 
@@ -3059,23 +3059,23 @@ function isUndefined$1(arg) {
3059
3059
  }
3060
3060
 
3061
3061
  function isRegExp(re) {
3062
- return isObject$1(re) && objectToString$1(re) === '[object RegExp]';
3062
+ return isObject$7(re) && objectToString$2(re) === '[object RegExp]';
3063
3063
  }
3064
3064
 
3065
- function isObject$1(arg) {
3065
+ function isObject$7(arg) {
3066
3066
  return typeof arg === 'object' && arg !== null;
3067
3067
  }
3068
3068
 
3069
3069
  function isDate$1(d) {
3070
- return isObject$1(d) && objectToString$1(d) === '[object Date]';
3070
+ return isObject$7(d) && objectToString$2(d) === '[object Date]';
3071
3071
  }
3072
3072
 
3073
3073
  function isError(e) {
3074
- return isObject$1(e) &&
3075
- (objectToString$1(e) === '[object Error]' || e instanceof Error);
3074
+ return isObject$7(e) &&
3075
+ (objectToString$2(e) === '[object Error]' || e instanceof Error);
3076
3076
  }
3077
3077
 
3078
- function isFunction$2(arg) {
3078
+ function isFunction$5(arg) {
3079
3079
  return typeof arg === 'function';
3080
3080
  }
3081
3081
 
@@ -3088,13 +3088,13 @@ function isPrimitive(arg) {
3088
3088
  typeof arg === 'undefined';
3089
3089
  }
3090
3090
 
3091
- function objectToString$1(o) {
3091
+ function objectToString$2(o) {
3092
3092
  return Object.prototype.toString.call(o);
3093
3093
  }
3094
3094
 
3095
3095
  function _extend(origin, add) {
3096
3096
  // Don't do anything if add isn't an object
3097
- if (!add || !isObject$1(add)) return origin;
3097
+ if (!add || !isObject$7(add)) return origin;
3098
3098
 
3099
3099
  var keys = Object.keys(add);
3100
3100
  var i = keys.length;
@@ -3103,7 +3103,7 @@ function _extend(origin, add) {
3103
3103
  }
3104
3104
  return origin;
3105
3105
  }
3106
- function hasOwnProperty(obj, prop) {
3106
+ function hasOwnProperty$b(obj, prop) {
3107
3107
  return Object.prototype.hasOwnProperty.call(obj, prop);
3108
3108
  }
3109
3109
 
@@ -3154,7 +3154,7 @@ function pToString (obj) {
3154
3154
  return Object.prototype.toString.call(obj);
3155
3155
  }
3156
3156
  function isView(arrbuf) {
3157
- if (isBuffer$2(arrbuf)) {
3157
+ if (isBuffer$5(arrbuf)) {
3158
3158
  return false;
3159
3159
  }
3160
3160
  if (typeof global$1.ArrayBuffer !== 'function') {
@@ -3190,7 +3190,7 @@ function assert$1(value, message) {
3190
3190
  var regex = /\s*function\s+([^\(\s]*)\s*/;
3191
3191
  // based on https://github.com/ljharb/function.prototype.name/blob/adeeeec8bfcc6068b187d7d9fb3d5bb1d3a30899/implementation.js
3192
3192
  function getName(func) {
3193
- if (!isFunction$2(func)) {
3193
+ if (!isFunction$5(func)) {
3194
3194
  return;
3195
3195
  }
3196
3196
  if (functionsHaveNames()) {
@@ -3248,7 +3248,7 @@ function truncate(s, n) {
3248
3248
  }
3249
3249
  }
3250
3250
  function inspect(something) {
3251
- if (functionsHaveNames() || !isFunction$2(something)) {
3251
+ if (functionsHaveNames() || !isFunction$5(something)) {
3252
3252
  return inspect$1(something);
3253
3253
  }
3254
3254
  var rawname = getName(something);
@@ -3333,7 +3333,7 @@ function _deepEqual(actual, expected, strict, memos) {
3333
3333
  // 7.1. All identical values are equivalent, as determined by ===.
3334
3334
  if (actual === expected) {
3335
3335
  return true;
3336
- } else if (isBuffer$2(actual) && isBuffer$2(expected)) {
3336
+ } else if (isBuffer$5(actual) && isBuffer$5(expected)) {
3337
3337
  return compare(actual, expected) === 0;
3338
3338
 
3339
3339
  // 7.2. If the expected value is a Date object, the actual value is
@@ -3376,7 +3376,7 @@ function _deepEqual(actual, expected, strict, memos) {
3376
3376
  // (although not necessarily the same order), equivalent values for every
3377
3377
  // corresponding key, and an identical 'prototype' property. Note: this
3378
3378
  // accounts for both named and indexed properties on Arrays.
3379
- } else if (isBuffer$2(actual) !== isBuffer$2(expected)) {
3379
+ } else if (isBuffer$5(actual) !== isBuffer$5(expected)) {
3380
3380
  return false;
3381
3381
  } else {
3382
3382
  memos = memos || {actual: [], expected: []};
@@ -3395,7 +3395,7 @@ function _deepEqual(actual, expected, strict, memos) {
3395
3395
  }
3396
3396
  }
3397
3397
 
3398
- function isArguments(object) {
3398
+ function isArguments$2(object) {
3399
3399
  return Object.prototype.toString.call(object) == '[object Arguments]';
3400
3400
  }
3401
3401
 
@@ -3407,8 +3407,8 @@ function objEquiv(a, b, strict, actualVisitedObjects) {
3407
3407
  return a === b;
3408
3408
  if (strict && Object.getPrototypeOf(a) !== Object.getPrototypeOf(b))
3409
3409
  return false;
3410
- var aIsArgs = isArguments(a);
3411
- var bIsArgs = isArguments(b);
3410
+ var aIsArgs = isArguments$2(a);
3411
+ var bIsArgs = isArguments$2(b);
3412
3412
  if ((aIsArgs && !bIsArgs) || (!aIsArgs && bIsArgs))
3413
3413
  return false;
3414
3414
  if (aIsArgs) {
@@ -3612,7 +3612,7 @@ assert(Buffer.byteLength(json,'utf8')<MAX_SIZE,'Your message must be < 32kb.');f
3612
3612
 
3613
3613
  var axios$3 = {exports: {}};
3614
3614
 
3615
- var bind$2=function bind(fn,thisArg){return function wrap(){var args=new Array(arguments.length);for(var i=0;i<args.length;i++){args[i]=arguments[i];}return fn.apply(thisArg,args);};};
3615
+ var bind$2=function bind(fn,thisArg){return function wrap(){return fn.apply(thisArg,arguments);};};
3616
3616
 
3617
3617
  var bind$1=bind$2;// utils is a library of generic helper functions non-specific to axios
3618
3618
  var toString=Object.prototype.toString;// eslint-disable-next-line func-names
@@ -3622,7 +3622,7 @@ return function(thing){var str=toString.call(thing);return cache[str]||(cache[st
3622
3622
  *
3623
3623
  * @param {Object} val The value to test
3624
3624
  * @returns {boolean} True if value is an Array, otherwise false
3625
- */function isArray$1(val){return Array.isArray(val);}/**
3625
+ */function isArray$5(val){return Array.isArray(val);}/**
3626
3626
  * Determine if a value is undefined
3627
3627
  *
3628
3628
  * @param {Object} val The value to test
@@ -3632,7 +3632,7 @@ return function(thing){var str=toString.call(thing);return cache[str]||(cache[st
3632
3632
  *
3633
3633
  * @param {Object} val The value to test
3634
3634
  * @returns {boolean} True if value is a Buffer, otherwise false
3635
- */function isBuffer(val){return val!==null&&!isUndefined(val)&&val.constructor!==null&&!isUndefined(val.constructor)&&typeof val.constructor.isBuffer==='function'&&val.constructor.isBuffer(val);}/**
3635
+ */function isBuffer$3(val){return val!==null&&!isUndefined(val)&&val.constructor!==null&&!isUndefined(val.constructor)&&typeof val.constructor.isBuffer==='function'&&val.constructor.isBuffer(val);}/**
3636
3636
  * Determine if a value is an ArrayBuffer
3637
3637
  *
3638
3638
  * @function
@@ -3658,12 +3658,17 @@ return function(thing){var str=toString.call(thing);return cache[str]||(cache[st
3658
3658
  *
3659
3659
  * @param {Object} val The value to test
3660
3660
  * @returns {boolean} True if value is an Object, otherwise false
3661
- */function isObject(val){return val!==null&&_typeof(val)==='object';}/**
3661
+ */function isObject$6(val){return val!==null&&_typeof(val)==='object';}/**
3662
3662
  * Determine if a value is a plain Object
3663
3663
  *
3664
3664
  * @param {Object} val The value to test
3665
3665
  * @return {boolean} True if value is a plain Object, otherwise false
3666
3666
  */function isPlainObject(val){if(kindOf(val)!=='object'){return false;}var prototype=Object.getPrototypeOf(val);return prototype===null||prototype===Object.prototype;}/**
3667
+ * Determine if a value is a empty Object
3668
+ *
3669
+ * @param {Object} val The value to test
3670
+ * @return {boolean} True if value is a empty Object, otherwise false
3671
+ */function isEmptyObject(val){return val&&Object.keys(val).length===0&&Object.getPrototypeOf(val)===Object.prototype;}/**
3667
3672
  * Determine if a value is a Date
3668
3673
  *
3669
3674
  * @function
@@ -3692,17 +3697,17 @@ return function(thing){var str=toString.call(thing);return cache[str]||(cache[st
3692
3697
  *
3693
3698
  * @param {Object} val The value to test
3694
3699
  * @returns {boolean} True if value is a Function, otherwise false
3695
- */function isFunction$1(val){return toString.call(val)==='[object Function]';}/**
3700
+ */function isFunction$4(val){return toString.call(val)==='[object Function]';}/**
3696
3701
  * Determine if a value is a Stream
3697
3702
  *
3698
3703
  * @param {Object} val The value to test
3699
3704
  * @returns {boolean} True if value is a Stream, otherwise false
3700
- */function isStream(val){return isObject(val)&&isFunction$1(val.pipe);}/**
3705
+ */function isStream(val){return isObject$6(val)&&isFunction$4(val.pipe);}/**
3701
3706
  * Determine if a value is a FormData
3702
3707
  *
3703
3708
  * @param {Object} thing The value to test
3704
3709
  * @returns {boolean} True if value is an FormData, otherwise false
3705
- */function isFormData(thing){var pattern='[object FormData]';return thing&&(typeof FormData==='function'&&thing instanceof FormData||toString.call(thing)===pattern||isFunction$1(thing.toString)&&thing.toString()===pattern);}/**
3710
+ */function isFormData(thing){var pattern='[object FormData]';return thing&&(typeof FormData==='function'&&thing instanceof FormData||toString.call(thing)===pattern||isFunction$4(thing.toString)&&thing.toString()===pattern);}/**
3706
3711
  * Determine if a value is a URLSearchParams object
3707
3712
  * @function
3708
3713
  * @param {Object} val The value to test
@@ -3712,7 +3717,7 @@ return function(thing){var str=toString.call(thing);return cache[str]||(cache[st
3712
3717
  *
3713
3718
  * @param {String} str The String to trim
3714
3719
  * @returns {String} The String freed of excess whitespace
3715
- */function trim(str){return str.trim?str.trim():str.replace(/^\s+|\s+$/g,'');}/**
3720
+ */function trim(str){return str.trim?str.trim():str.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,'');}/**
3716
3721
  * Determine if we're running in a standard browser environment
3717
3722
  *
3718
3723
  * This allows axios to run in a web worker, and react-native.
@@ -3726,7 +3731,7 @@ return function(thing){var str=toString.call(thing);return cache[str]||(cache[st
3726
3731
  * navigator.product -> 'ReactNative'
3727
3732
  * nativescript
3728
3733
  * navigator.product -> 'NativeScript' or 'NS'
3729
- */function isStandardBrowserEnv(){if(typeof navigator!=='undefined'&&(navigator.product==='ReactNative'||navigator.product==='NativeScript'||navigator.product==='NS')){return false;}return typeof window!=='undefined'&&typeof document!=='undefined';}/**
3734
+ */function isStandardBrowserEnv(){var product;if(typeof navigator!=='undefined'&&((product=navigator.product)==='ReactNative'||product==='NativeScript'||product==='NS')){return false;}return typeof window!=='undefined'&&typeof document!=='undefined';}/**
3730
3735
  * Iterate over an Array or an Object invoking a function for each item.
3731
3736
  *
3732
3737
  * If `obj` is an Array callback will be called passing
@@ -3739,7 +3744,7 @@ return function(thing){var str=toString.call(thing);return cache[str]||(cache[st
3739
3744
  * @param {Function} fn The callback to invoke for each item
3740
3745
  */function forEach(obj,fn){// Don't bother if no value provided
3741
3746
  if(obj===null||typeof obj==='undefined'){return;}// Force an array if not already something iterable
3742
- if(_typeof(obj)!=='object'){/*eslint no-param-reassign:0*/obj=[obj];}if(isArray$1(obj)){// Iterate over array values
3747
+ if(_typeof(obj)!=='object'){/*eslint no-param-reassign:0*/obj=[obj];}if(isArray$5(obj)){// Iterate over array values
3743
3748
  for(var i=0,l=obj.length;i<l;i++){fn.call(null,obj[i],i,obj);}}else {// Iterate over object keys
3744
3749
  for(var key in obj){if(Object.prototype.hasOwnProperty.call(obj,key)){fn.call(null,obj[key],key,obj);}}}}/**
3745
3750
  * Accepts varargs expecting each argument to be an object, then
@@ -3757,7 +3762,7 @@ for(var key in obj){if(Object.prototype.hasOwnProperty.call(obj,key)){fn.call(nu
3757
3762
  *
3758
3763
  * @param {Object} obj1 Object to merge
3759
3764
  * @returns {Object} Result of all merge properties
3760
- */function merge(/* obj1, obj2, obj3, ... */){var result={};function assignValue(val,key){if(isPlainObject(result[key])&&isPlainObject(val)){result[key]=merge(result[key],val);}else if(isPlainObject(val)){result[key]=merge({},val);}else if(isArray$1(val)){result[key]=val.slice();}else {result[key]=val;}}for(var i=0,l=arguments.length;i<l;i++){forEach(arguments[i],assignValue);}return result;}/**
3765
+ */function merge(/* obj1, obj2, obj3, ... */){var result={};function assignValue(val,key){if(isPlainObject(result[key])&&isPlainObject(val)){result[key]=merge(result[key],val);}else if(isPlainObject(val)){result[key]=merge({},val);}else if(isArray$5(val)){result[key]=val.slice();}else {result[key]=val;}}for(var i=0,l=arguments.length;i<l;i++){forEach(arguments[i],assignValue);}return result;}/**
3761
3766
  * Extends object a by mutably adding to it the properties of object b.
3762
3767
  *
3763
3768
  * @param {Object} a The object to be extended
@@ -3779,31 +3784,86 @@ for(var key in obj){if(Object.prototype.hasOwnProperty.call(obj,key)){fn.call(nu
3779
3784
  * Resolve object with deep prototype chain to a flat object
3780
3785
  * @param {Object} sourceObj source object
3781
3786
  * @param {Object} [destObj]
3782
- * @param {Function} [filter]
3787
+ * @param {Function|Boolean} [filter]
3788
+ * @param {Function} [propFilter]
3783
3789
  * @returns {Object}
3784
- */function toFlatObject(sourceObj,destObj,filter){var props;var i;var prop;var merged={};destObj=destObj||{};do{props=Object.getOwnPropertyNames(sourceObj);i=props.length;while(i-->0){prop=props[i];if(!merged[prop]){destObj[prop]=sourceObj[prop];merged[prop]=true;}}sourceObj=Object.getPrototypeOf(sourceObj);}while(sourceObj&&(!filter||filter(sourceObj,destObj))&&sourceObj!==Object.prototype);return destObj;}/*
3790
+ */function toFlatObject(sourceObj,destObj,filter,propFilter){var props;var i;var prop;var merged={};destObj=destObj||{};// eslint-disable-next-line no-eq-null,eqeqeq
3791
+ if(sourceObj==null)return destObj;do{props=Object.getOwnPropertyNames(sourceObj);i=props.length;while(i-->0){prop=props[i];if((!propFilter||propFilter(prop,sourceObj,destObj))&&!merged[prop]){destObj[prop]=sourceObj[prop];merged[prop]=true;}}sourceObj=filter!==false&&Object.getPrototypeOf(sourceObj);}while(sourceObj&&(!filter||filter(sourceObj,destObj))&&sourceObj!==Object.prototype);return destObj;}/*
3785
3792
  * determines whether a string ends with the characters of a specified string
3786
3793
  * @param {String} str
3787
3794
  * @param {String} searchString
3788
3795
  * @param {Number} [position= 0]
3789
3796
  * @returns {boolean}
3790
3797
  */function endsWith(str,searchString,position){str=String(str);if(position===undefined||position>str.length){position=str.length;}position-=searchString.length;var lastIndex=str.indexOf(searchString,position);return lastIndex!==-1&&lastIndex===position;}/**
3791
- * Returns new array from array like object
3798
+ * Returns new array from array like object or null if failed
3792
3799
  * @param {*} [thing]
3793
- * @returns {Array}
3794
- */function toArray(thing){if(!thing)return null;var i=thing.length;if(isUndefined(i))return null;var arr=new Array(i);while(i-->0){arr[i]=thing[i];}return arr;}// eslint-disable-next-line func-names
3795
- var isTypedArray=function(TypedArray){// eslint-disable-next-line func-names
3796
- return function(thing){return TypedArray&&thing instanceof TypedArray;};}(typeof Uint8Array!=='undefined'&&Object.getPrototypeOf(Uint8Array));var utils$9={isArray:isArray$1,isArrayBuffer:isArrayBuffer,isBuffer:isBuffer,isFormData:isFormData,isArrayBufferView:isArrayBufferView,isString:isString$2,isNumber:isNumber,isObject:isObject,isPlainObject:isPlainObject,isUndefined:isUndefined,isDate:isDate,isFile:isFile,isBlob:isBlob,isFunction:isFunction$1,isStream:isStream,isURLSearchParams:isURLSearchParams,isStandardBrowserEnv:isStandardBrowserEnv,forEach:forEach,merge:merge,extend:extend,trim:trim,stripBOM:stripBOM,inherits:inherits,toFlatObject:toFlatObject,kindOf:kindOf,kindOfTest:kindOfTest,endsWith:endsWith,toArray:toArray,isTypedArray:isTypedArray,isFileList:isFileList};
3800
+ * @returns {?Array}
3801
+ */function toArray(thing){if(!thing)return null;if(isArray$5(thing))return thing;var i=thing.length;if(!isNumber(i))return null;var arr=new Array(i);while(i-->0){arr[i]=thing[i];}return arr;}// eslint-disable-next-line func-names
3802
+ var isTypedArray$2=function(TypedArray){// eslint-disable-next-line func-names
3803
+ return function(thing){return TypedArray&&thing instanceof TypedArray;};}(typeof Uint8Array!=='undefined'&&Object.getPrototypeOf(Uint8Array));function forEachEntry(obj,fn){var generator=obj&&obj[Symbol.iterator];var iterator=generator.call(obj);var result;while((result=iterator.next())&&!result.done){var pair=result.value;fn.call(obj,pair[0],pair[1]);}}function matchAll(regExp,str){var matches;var arr=[];while((matches=regExp.exec(str))!==null){arr.push(matches);}return arr;}var isHTMLForm=kindOfTest('HTMLFormElement');var hasOwnProperty$a=function resolver(_hasOwnProperty){return function(obj,prop){return _hasOwnProperty.call(obj,prop);};}(Object.prototype.hasOwnProperty);var utils$b={isArray:isArray$5,isArrayBuffer:isArrayBuffer,isBuffer:isBuffer$3,isFormData:isFormData,isArrayBufferView:isArrayBufferView,isString:isString$2,isNumber:isNumber,isObject:isObject$6,isPlainObject:isPlainObject,isEmptyObject:isEmptyObject,isUndefined:isUndefined,isDate:isDate,isFile:isFile,isBlob:isBlob,isFunction:isFunction$4,isStream:isStream,isURLSearchParams:isURLSearchParams,isStandardBrowserEnv:isStandardBrowserEnv,forEach:forEach,merge:merge,extend:extend,trim:trim,stripBOM:stripBOM,inherits:inherits,toFlatObject:toFlatObject,kindOf:kindOf,kindOfTest:kindOfTest,endsWith:endsWith,toArray:toArray,isTypedArray:isTypedArray$2,isFileList:isFileList,forEachEntry:forEachEntry,matchAll:matchAll,isHTMLForm:isHTMLForm,hasOwnProperty:hasOwnProperty$a};
3804
+
3805
+ var AxiosError_1;var hasRequiredAxiosError;function requireAxiosError(){if(hasRequiredAxiosError)return AxiosError_1;hasRequiredAxiosError=1;var utils=utils$b;/**
3806
+ * Create an Error with the specified message, config, error code, request and response.
3807
+ *
3808
+ * @param {string} message The error message.
3809
+ * @param {string} [code] The error code (for example, 'ECONNABORTED').
3810
+ * @param {Object} [config] The config.
3811
+ * @param {Object} [request] The request.
3812
+ * @param {Object} [response] The response.
3813
+ * @returns {Error} The created error.
3814
+ */function AxiosError(message,code,config,request,response){Error.call(this);if(Error.captureStackTrace){Error.captureStackTrace(this,this.constructor);}else {this.stack=new Error().stack;}this.message=message;this.name='AxiosError';code&&(this.code=code);config&&(this.config=config);request&&(this.request=request);response&&(this.response=response);}utils.inherits(AxiosError,Error,{toJSON:function toJSON(){return {// Standard
3815
+ message:this.message,name:this.name,// Microsoft
3816
+ description:this.description,number:this.number,// Mozilla
3817
+ fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,// Axios
3818
+ config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null};}});var prototype=AxiosError.prototype;var descriptors={};['ERR_BAD_OPTION_VALUE','ERR_BAD_OPTION','ECONNABORTED','ETIMEDOUT','ERR_NETWORK','ERR_FR_TOO_MANY_REDIRECTS','ERR_DEPRECATED','ERR_BAD_RESPONSE','ERR_BAD_REQUEST','ERR_CANCELED','ERR_NOT_SUPPORT','ERR_INVALID_URL'// eslint-disable-next-line func-names
3819
+ ].forEach(function(code){descriptors[code]={value:code};});Object.defineProperties(AxiosError,descriptors);Object.defineProperty(prototype,'isAxiosError',{value:true});// eslint-disable-next-line func-names
3820
+ AxiosError.from=function(error,code,config,request,response,customProps){var axiosError=Object.create(prototype);utils.toFlatObject(error,axiosError,function filter(obj){return obj!==Error.prototype;});AxiosError.call(axiosError,error.message,code,config,request,response);axiosError.cause=error;axiosError.name=error.name;customProps&&_extends(axiosError,customProps);return axiosError;};AxiosError_1=AxiosError;return AxiosError_1;}
3821
+
3822
+ var browser$1;var hasRequiredBrowser;function requireBrowser(){if(hasRequiredBrowser)return browser$1;hasRequiredBrowser=1;browser$1=(typeof self==="undefined"?"undefined":_typeof(self))=='object'?self.FormData:window.FormData;return browser$1;}
3797
3823
 
3798
- var utils$8=utils$9;function encode(val){return encodeURIComponent(val).replace(/%3A/gi,':').replace(/%24/g,'$').replace(/%2C/gi,',').replace(/%20/g,'+').replace(/%5B/gi,'[').replace(/%5D/gi,']');}/**
3824
+ var FormData$1;var hasRequiredFormData;function requireFormData(){if(hasRequiredFormData)return FormData$1;hasRequiredFormData=1;// eslint-disable-next-line strict
3825
+ FormData$1=requireBrowser();return FormData$1;}
3826
+
3827
+ var toFormData_1;var hasRequiredToFormData;function requireToFormData(){if(hasRequiredToFormData)return toFormData_1;hasRequiredToFormData=1;var utils=utils$b;var AxiosError=requireAxiosError();var envFormData=requireFormData();function isVisitable(thing){return utils.isPlainObject(thing)||utils.isArray(thing);}function removeBrackets(key){return utils.endsWith(key,'[]')?key.slice(0,-2):key;}function renderKey(path,key,dots){if(!path)return key;return path.concat(key).map(function each(token,i){// eslint-disable-next-line no-param-reassign
3828
+ token=removeBrackets(token);return !dots&&i?'['+token+']':token;}).join(dots?'.':'');}function isFlatArray(arr){return utils.isArray(arr)&&!arr.some(isVisitable);}var predicates=utils.toFlatObject(utils,{},null,function filter(prop){return /^is[A-Z]/.test(prop);});function isSpecCompliant(thing){return thing&&utils.isFunction(thing.append)&&thing[Symbol.toStringTag]==='FormData'&&thing[Symbol.iterator];}/**
3829
+ * Convert a data object to FormData
3830
+ * @param {Object} obj
3831
+ * @param {?Object} [formData]
3832
+ * @param {?Object} [options]
3833
+ * @param {Function} [options.visitor]
3834
+ * @param {Boolean} [options.metaTokens = true]
3835
+ * @param {Boolean} [options.dots = false]
3836
+ * @param {?Boolean} [options.indexes = false]
3837
+ * @returns {Object}
3838
+ **/function toFormData(obj,formData,options){if(!utils.isObject(obj)){throw new TypeError('target must be an object');}// eslint-disable-next-line no-param-reassign
3839
+ formData=formData||new(envFormData||FormData)();// eslint-disable-next-line no-param-reassign
3840
+ options=utils.toFlatObject(options,{metaTokens:true,dots:false,indexes:false},false,function defined(option,source){// eslint-disable-next-line no-eq-null,eqeqeq
3841
+ return !utils.isUndefined(source[option]);});var metaTokens=options.metaTokens;// eslint-disable-next-line no-use-before-define
3842
+ var visitor=options.visitor||defaultVisitor;var dots=options.dots;var indexes=options.indexes;var _Blob=options.Blob||typeof Blob!=='undefined'&&Blob;var useBlob=_Blob&&isSpecCompliant(formData);if(!utils.isFunction(visitor)){throw new TypeError('visitor must be a function');}function convertValue(value){if(value===null)return '';if(utils.isDate(value)){return value.toISOString();}if(!useBlob&&utils.isBlob(value)){throw new AxiosError('Blob is not supported. Use a Buffer instead.');}if(utils.isArrayBuffer(value)||utils.isTypedArray(value)){return useBlob&&typeof Blob==='function'?new Blob([value]):Buffer.from(value);}return value;}/**
3843
+ *
3844
+ * @param {*} value
3845
+ * @param {String|Number} key
3846
+ * @param {Array<String|Number>} path
3847
+ * @this {FormData}
3848
+ * @returns {boolean} return true to visit the each prop of the value recursively
3849
+ */function defaultVisitor(value,key,path){var arr=value;if(value&&!path&&_typeof(value)==='object'){if(utils.endsWith(key,'{}')){// eslint-disable-next-line no-param-reassign
3850
+ key=metaTokens?key:key.slice(0,-2);// eslint-disable-next-line no-param-reassign
3851
+ value=JSON.stringify(value);}else if(utils.isArray(value)&&isFlatArray(value)||utils.isFileList(value)||utils.endsWith(key,'[]')&&(arr=utils.toArray(value))){// eslint-disable-next-line no-param-reassign
3852
+ key=removeBrackets(key);arr.forEach(function each(el,index){!utils.isUndefined(el)&&formData.append(// eslint-disable-next-line no-nested-ternary
3853
+ indexes===true?renderKey([key],index,dots):indexes===null?key:key+'[]',convertValue(el));});return false;}}if(isVisitable(value)){return true;}formData.append(renderKey(path,key,dots),convertValue(value));return false;}var stack=[];var exposedHelpers=_extends(predicates,{defaultVisitor:defaultVisitor,convertValue:convertValue,isVisitable:isVisitable});function build(value,path){if(utils.isUndefined(value))return;if(stack.indexOf(value)!==-1){throw Error('Circular reference detected in '+path.join('.'));}stack.push(value);utils.forEach(value,function each(el,key){var result=!utils.isUndefined(el)&&visitor.call(formData,el,utils.isString(key)?key.trim():key,path,exposedHelpers);if(result===true){build(el,path?path.concat(key):[key]);}});stack.pop();}if(!utils.isObject(obj)){throw new TypeError('data must be an object');}build(obj);return formData;}toFormData_1=toFormData;return toFormData_1;}
3854
+
3855
+ var toFormData$2=requireToFormData();function encode$1(str){var charMap={'!':'%21',"'":'%27','(':'%28',')':'%29','~':'%7E','%20':'+','%00':'\x00'};return encodeURIComponent(str).replace(/[!'\(\)~]|%20|%00/g,function replacer(match){return charMap[match];});}function AxiosURLSearchParams$2(params,options){this._pairs=[];params&&toFormData$2(params,this,options);}var prototype=AxiosURLSearchParams$2.prototype;prototype.append=function append(name,value){this._pairs.push([name,value]);};prototype.toString=function toString(encoder){var _encode=encoder?function(value){return encoder.call(this,value,encode$1);}:encode$1;return this._pairs.map(function each(pair){return _encode(pair[0])+'='+_encode(pair[1]);},'').join('&');};var AxiosURLSearchParams_1=AxiosURLSearchParams$2;
3856
+
3857
+ var utils$a=utils$b;var AxiosURLSearchParams$1=AxiosURLSearchParams_1;function encode(val){return encodeURIComponent(val).replace(/%3A/gi,':').replace(/%24/g,'$').replace(/%2C/gi,',').replace(/%20/g,'+').replace(/%5B/gi,'[').replace(/%5D/gi,']');}/**
3799
3858
  * Build a URL by appending params to the end
3800
3859
  *
3801
3860
  * @param {string} url The base of the url (e.g., http://www.google.com)
3802
3861
  * @param {object} [params] The params to be appended
3862
+ * @param {?object} options
3803
3863
  * @returns {string} The formatted url
3804
- */var buildURL$1=function buildURL(url,params,paramsSerializer){/*eslint no-param-reassign:0*/if(!params){return url;}var serializedParams;if(paramsSerializer){serializedParams=paramsSerializer(params);}else if(utils$8.isURLSearchParams(params)){serializedParams=params.toString();}else {var parts=[];utils$8.forEach(params,function serialize(val,key){if(val===null||typeof val==='undefined'){return;}if(utils$8.isArray(val)){key=key+'[]';}else {val=[val];}utils$8.forEach(val,function parseValue(v){if(utils$8.isDate(v)){v=v.toISOString();}else if(utils$8.isObject(v)){v=JSON.stringify(v);}parts.push(encode(key)+'='+encode(v));});});serializedParams=parts.join('&');}if(serializedParams){var hashmarkIndex=url.indexOf('#');if(hashmarkIndex!==-1){url=url.slice(0,hashmarkIndex);}url+=(url.indexOf('?')===-1?'?':'&')+serializedParams;}return url;};var buildURL$2 = /*@__PURE__*/getDefaultExportFromCjs(buildURL$1);
3864
+ */var buildURL$1=function buildURL(url,params,options){/*eslint no-param-reassign:0*/if(!params){return url;}var hashmarkIndex=url.indexOf('#');if(hashmarkIndex!==-1){url=url.slice(0,hashmarkIndex);}var _encode=options&&options.encode||encode;var serializerParams=utils$a.isURLSearchParams(params)?params.toString():new AxiosURLSearchParams$1(params,options).toString(_encode);if(serializerParams){url+=(url.indexOf('?')===-1?'?':'&')+serializerParams;}return url;};var buildURL$2 = /*@__PURE__*/getDefaultExportFromCjs(buildURL$1);
3805
3865
 
3806
- var utils$7=utils$9;function InterceptorManager$1(){this.handlers=[];}/**
3866
+ var utils$9=utils$b;function InterceptorManager$1(){this.handlers=[];}/**
3807
3867
  * Add a new interceptor to the stack
3808
3868
  *
3809
3869
  * @param {Function} fulfilled The function to handle `then` for a `Promise`
@@ -3815,44 +3875,35 @@ var utils$7=utils$9;function InterceptorManager$1(){this.handlers=[];}/**
3815
3875
  *
3816
3876
  * @param {Number} id The ID that was returned by `use`
3817
3877
  */InterceptorManager$1.prototype.eject=function eject(id){if(this.handlers[id]){this.handlers[id]=null;}};/**
3878
+ * Clear all interceptors from the stack
3879
+ */InterceptorManager$1.prototype.clear=function clear(){if(this.handlers){this.handlers=[];}};/**
3818
3880
  * Iterate over all the registered interceptors
3819
3881
  *
3820
3882
  * This method is particularly useful for skipping over any
3821
3883
  * interceptors that may have become `null` calling `eject`.
3822
3884
  *
3823
3885
  * @param {Function} fn The function to call for each interceptor
3824
- */InterceptorManager$1.prototype.forEach=function forEach(fn){utils$7.forEach(this.handlers,function forEachHandler(h){if(h!==null){fn(h);}});};var InterceptorManager_1=InterceptorManager$1;
3825
-
3826
- var utils$6=utils$9;var normalizeHeaderName$1=function normalizeHeaderName(headers,normalizedName){utils$6.forEach(headers,function processHeader(value,name){if(name!==normalizedName&&name.toUpperCase()===normalizedName.toUpperCase()){headers[normalizedName]=value;delete headers[name];}});};
3886
+ */InterceptorManager$1.prototype.forEach=function forEach(fn){utils$9.forEach(this.handlers,function forEachHandler(h){if(h!==null){fn(h);}});};var InterceptorManager_1=InterceptorManager$1;
3827
3887
 
3828
- var AxiosError_1;var hasRequiredAxiosError;function requireAxiosError(){if(hasRequiredAxiosError)return AxiosError_1;hasRequiredAxiosError=1;var utils=utils$9;/**
3829
- * Create an Error with the specified message, config, error code, request and response.
3830
- *
3831
- * @param {string} message The error message.
3832
- * @param {string} [code] The error code (for example, 'ECONNABORTED').
3833
- * @param {Object} [config] The config.
3834
- * @param {Object} [request] The request.
3835
- * @param {Object} [response] The response.
3836
- * @returns {Error} The created error.
3837
- */function AxiosError(message,code,config,request,response){Error.call(this);this.message=message;this.name='AxiosError';code&&(this.code=code);config&&(this.config=config);request&&(this.request=request);response&&(this.response=response);}utils.inherits(AxiosError,Error,{toJSON:function toJSON(){return {// Standard
3838
- message:this.message,name:this.name,// Microsoft
3839
- description:this.description,number:this.number,// Mozilla
3840
- fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,// Axios
3841
- config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null};}});var prototype=AxiosError.prototype;var descriptors={};['ERR_BAD_OPTION_VALUE','ERR_BAD_OPTION','ECONNABORTED','ETIMEDOUT','ERR_NETWORK','ERR_FR_TOO_MANY_REDIRECTS','ERR_DEPRECATED','ERR_BAD_RESPONSE','ERR_BAD_REQUEST','ERR_CANCELED'// eslint-disable-next-line func-names
3842
- ].forEach(function(code){descriptors[code]={value:code};});Object.defineProperties(AxiosError,descriptors);Object.defineProperty(prototype,'isAxiosError',{value:true});// eslint-disable-next-line func-names
3843
- AxiosError.from=function(error,code,config,request,response,customProps){var axiosError=Object.create(prototype);utils.toFlatObject(error,axiosError,function filter(obj){return obj!==Error.prototype;});AxiosError.call(axiosError,error.message,code,config,request,response);axiosError.name=error.name;customProps&&_extends(axiosError,customProps);return axiosError;};AxiosError_1=AxiosError;return AxiosError_1;}
3888
+ var utils$8=utils$b;var normalizeHeaderName$2=function normalizeHeaderName(headers,normalizedName){utils$8.forEach(headers,function processHeader(value,name){if(name!==normalizedName&&name.toUpperCase()===normalizedName.toUpperCase()){headers[normalizedName]=value;delete headers[name];}});};
3844
3889
 
3845
3890
  var transitional={silentJSONParsing:true,forcedJSONParsing:true,clarifyTimeoutError:false};
3846
3891
 
3847
- var toFormData_1;var hasRequiredToFormData;function requireToFormData(){if(hasRequiredToFormData)return toFormData_1;hasRequiredToFormData=1;var utils=utils$9;/**
3848
- * Convert a data object to FormData
3849
- * @param {Object} obj
3850
- * @param {?Object} [formData]
3851
- * @returns {Object}
3852
- **/function toFormData(obj,formData){// eslint-disable-next-line no-param-reassign
3853
- formData=formData||new FormData();var stack=[];function convertValue(value){if(value===null)return '';if(utils.isDate(value)){return value.toISOString();}if(utils.isArrayBuffer(value)||utils.isTypedArray(value)){return typeof Blob==='function'?new Blob([value]):Buffer.from(value);}return value;}function build(data,parentKey){if(utils.isPlainObject(data)||utils.isArray(data)){if(stack.indexOf(data)!==-1){throw Error('Circular reference detected in '+parentKey);}stack.push(data);utils.forEach(data,function each(value,key){if(utils.isUndefined(value))return;var fullKey=parentKey?parentKey+'.'+key:key;var arr;if(value&&!parentKey&&_typeof(value)==='object'){if(utils.endsWith(key,'{}')){// eslint-disable-next-line no-param-reassign
3854
- value=JSON.stringify(value);}else if(utils.endsWith(key,'[]')&&(arr=utils.toArray(value))){// eslint-disable-next-line func-names
3855
- arr.forEach(function(el){!utils.isUndefined(el)&&formData.append(fullKey,convertValue(el));});return;}}build(value,fullKey);});stack.pop();}else {formData.append(parentKey,convertValue(data));}}build(obj);return formData;}toFormData_1=toFormData;return toFormData_1;}
3892
+ var AxiosURLSearchParams=AxiosURLSearchParams_1;var URLSearchParams_1=typeof URLSearchParams!=='undefined'?URLSearchParams:AxiosURLSearchParams;
3893
+
3894
+ var FormData_1=FormData;
3895
+
3896
+ var browser={isBrowser:true,classes:{URLSearchParams:URLSearchParams_1,FormData:FormData_1,Blob:Blob},protocols:['http','https','file','blob','url','data']};
3897
+
3898
+ var platform$2=browser;
3899
+
3900
+ var utils$7=utils$b;var toFormData$1=requireToFormData();var platform$1=platform$2;var toURLEncodedForm$1=function toURLEncodedForm(data,options){return toFormData$1(data,new platform$1.classes.URLSearchParams(),_extends({visitor:function visitor(value,key,path,helpers){if(platform$1.isNode&&utils$7.isBuffer(value)){this.append(key,value.toString('base64'));return false;}return helpers.defaultVisitor.apply(this,arguments);}},options));};
3901
+
3902
+ var utils$6=utils$b;function parsePropPath(name){// foo[x][y][z]
3903
+ // foo.x.y.z
3904
+ // foo-x-y-z
3905
+ // foo x y z
3906
+ return utils$6.matchAll(/\w+|\[(\w*)]/g,name).map(function(match){return match[0]==='[]'?'':match[1]||match[0];});}function arrayToObject(arr){var obj={};var keys=Object.keys(arr);var i;var len=keys.length;var key;for(i=0;i<len;i++){key=keys[i];obj[key]=arr[key];}return obj;}function formDataToJSON$2(formData){function buildPath(path,value,target,index){var name=path[index++];var isNumericKey=Number.isFinite(+name);var isLast=index>=path.length;name=!name&&utils$6.isArray(target)?target.length:name;if(isLast){if(utils$6.hasOwnProperty(target,name)){target[name]=[target[name],value];}else {target[name]=value;}return !isNumericKey;}if(!target[name]||!utils$6.isObject(target[name])){target[name]=[];}var result=buildPath(path,value,target[name],index);if(result&&utils$6.isArray(target[name])){target[name]=arrayToObject(target[name]);}return !isNumericKey;}if(utils$6.isFormData(formData)&&utils$6.isFunction(formData.entries)){var obj={};utils$6.forEachEntry(formData,function(name,value){buildPath(parsePropPath(name),value,obj,0);});return obj;}return null;}var formDataToJSON_1=formDataToJSON$2;
3856
3907
 
3857
3908
  var AxiosError$2=requireAxiosError();/**
3858
3909
  * Resolve or reject a Promise based on response status.
@@ -3862,7 +3913,7 @@ var AxiosError$2=requireAxiosError();/**
3862
3913
  * @param {object} response The response.
3863
3914
  */var settle=function settle(resolve,reject,response){var validateStatus=response.config.validateStatus;if(!response.status||!validateStatus||validateStatus(response.status)){resolve(response);}else {reject(new AxiosError$2('Request failed with status code '+response.status,[AxiosError$2.ERR_BAD_REQUEST,AxiosError$2.ERR_BAD_RESPONSE][Math.floor(response.status/100)-4],response.config,response.request,response));}};var settle$1 = /*@__PURE__*/getDefaultExportFromCjs(settle);
3864
3915
 
3865
- var cookies;var hasRequiredCookies;function requireCookies(){if(hasRequiredCookies)return cookies;hasRequiredCookies=1;var utils=utils$9;cookies=utils.isStandardBrowserEnv()?// Standard browser envs support document.cookie
3916
+ var cookies;var hasRequiredCookies;function requireCookies(){if(hasRequiredCookies)return cookies;hasRequiredCookies=1;var utils=utils$b;cookies=utils.isStandardBrowserEnv()?// Standard browser envs support document.cookie
3866
3917
  function standardBrowserEnv(){return {write:function write(name,value,expires,path,domain,secure){var cookie=[];cookie.push(name+'='+encodeURIComponent(value));if(utils.isNumber(expires)){cookie.push('expires='+new Date(expires).toGMTString());}if(utils.isString(path)){cookie.push('path='+path);}if(utils.isString(domain)){cookie.push('domain='+domain);}if(secure===true){cookie.push('secure');}document.cookie=cookie.join('; ');},read:function read(name){var match=document.cookie.match(new RegExp('(^|;\\s*)('+name+')=([^;]*)'));return match?decodeURIComponent(match[3]):null;},remove:function remove(name){this.write(name,'',Date.now()-86400000);}};}():// Non standard browser env (web workers, react-native) lack needed support.
3867
3918
  function nonStandardBrowserEnv(){return {write:function write(){},read:function read(){return null;},remove:function remove(){}};}();return cookies;}
3868
3919
 
@@ -3894,7 +3945,7 @@ var isAbsoluteURL=isAbsoluteURL$1;var combineURLs=combineURLs$1;/**
3894
3945
  * @returns {string} The combined full path
3895
3946
  */var buildFullPath$1=function buildFullPath(baseURL,requestedURL){if(baseURL&&!isAbsoluteURL(requestedURL)){return combineURLs(baseURL,requestedURL);}return requestedURL;};var buildFullPath$2 = /*@__PURE__*/getDefaultExportFromCjs(buildFullPath$1);
3896
3947
 
3897
- var parseHeaders;var hasRequiredParseHeaders;function requireParseHeaders(){if(hasRequiredParseHeaders)return parseHeaders;hasRequiredParseHeaders=1;var utils=utils$9;// Headers whose duplicates are ignored by node
3948
+ var parseHeaders;var hasRequiredParseHeaders;function requireParseHeaders(){if(hasRequiredParseHeaders)return parseHeaders;hasRequiredParseHeaders=1;var utils=utils$b;// Headers whose duplicates are ignored by node
3898
3949
  // c.f. https://nodejs.org/api/http.html#http_message_headers
3899
3950
  var ignoreDuplicateOf=['age','authorization','content-length','content-type','etag','expires','from','host','if-modified-since','if-unmodified-since','last-modified','location','max-forwards','proxy-authorization','referer','retry-after','user-agent'];/**
3900
3951
  * Parse headers into an object
@@ -3908,36 +3959,38 @@ var ignoreDuplicateOf=['age','authorization','content-length','content-type','et
3908
3959
  *
3909
3960
  * @param {String} headers Headers needing to be parsed
3910
3961
  * @returns {Object} Headers parsed into an object
3911
- */parseHeaders=function parseHeaders(headers){var parsed={};var key;var val;var i;if(!headers){return parsed;}utils.forEach(headers.split('\n'),function parser(line){i=line.indexOf(':');key=utils.trim(line.substr(0,i)).toLowerCase();val=utils.trim(line.substr(i+1));if(key){if(parsed[key]&&ignoreDuplicateOf.indexOf(key)>=0){return;}if(key==='set-cookie'){parsed[key]=(parsed[key]?parsed[key]:[]).concat([val]);}else {parsed[key]=parsed[key]?parsed[key]+', '+val:val;}}});return parsed;};return parseHeaders;}
3962
+ */parseHeaders=function parseHeaders(headers){var parsed={};var key;var val;var i;if(!headers){return parsed;}utils.forEach(headers.split('\n'),function parser(line){i=line.indexOf(':');key=utils.trim(line.slice(0,i)).toLowerCase();val=utils.trim(line.slice(i+1));if(key){if(parsed[key]&&ignoreDuplicateOf.indexOf(key)>=0){return;}if(key==='set-cookie'){parsed[key]=(parsed[key]?parsed[key]:[]).concat([val]);}else {parsed[key]=parsed[key]?parsed[key]+', '+val:val;}}});return parsed;};return parseHeaders;}
3912
3963
 
3913
- var isURLSameOrigin;var hasRequiredIsURLSameOrigin;function requireIsURLSameOrigin(){if(hasRequiredIsURLSameOrigin)return isURLSameOrigin;hasRequiredIsURLSameOrigin=1;var utils=utils$9;isURLSameOrigin=utils.isStandardBrowserEnv()?// Standard browser envs have full support of the APIs needed to test
3964
+ var isURLSameOrigin;var hasRequiredIsURLSameOrigin;function requireIsURLSameOrigin(){if(hasRequiredIsURLSameOrigin)return isURLSameOrigin;hasRequiredIsURLSameOrigin=1;var utils=utils$b;isURLSameOrigin=utils.isStandardBrowserEnv()?// Standard browser envs have full support of the APIs needed to test
3914
3965
  // whether the request URL is of the same origin as current location.
3915
3966
  function standardBrowserEnv(){var msie=/(msie|trident)/i.test(navigator.userAgent);var urlParsingNode=document.createElement('a');var originURL;/**
3916
- * Parse a URL to discover it's components
3917
- *
3918
- * @param {String} url The URL to be parsed
3919
- * @returns {Object}
3920
- */function resolveURL(url){var href=url;if(msie){// IE needs attribute set twice to normalize properties
3967
+ * Parse a URL to discover it's components
3968
+ *
3969
+ * @param {String} url The URL to be parsed
3970
+ * @returns {Object}
3971
+ */function resolveURL(url){var href=url;if(msie){// IE needs attribute set twice to normalize properties
3921
3972
  urlParsingNode.setAttribute('href',href);href=urlParsingNode.href;}urlParsingNode.setAttribute('href',href);// urlParsingNode provides the UrlUtils interface - http://url.spec.whatwg.org/#urlutils
3922
3973
  return {href:urlParsingNode.href,protocol:urlParsingNode.protocol?urlParsingNode.protocol.replace(/:$/,''):'',host:urlParsingNode.host,search:urlParsingNode.search?urlParsingNode.search.replace(/^\?/,''):'',hash:urlParsingNode.hash?urlParsingNode.hash.replace(/^#/,''):'',hostname:urlParsingNode.hostname,port:urlParsingNode.port,pathname:urlParsingNode.pathname.charAt(0)==='/'?urlParsingNode.pathname:'/'+urlParsingNode.pathname};}originURL=resolveURL(window.location.href);/**
3923
- * Determine if a URL shares the same origin as the current location
3924
- *
3925
- * @param {String} requestURL The URL to test
3926
- * @returns {boolean} True if URL shares the same origin, otherwise false
3927
- */return function isURLSameOrigin(requestURL){var parsed=utils.isString(requestURL)?resolveURL(requestURL):requestURL;return parsed.protocol===originURL.protocol&&parsed.host===originURL.host;};}():// Non standard browser envs (web workers, react-native) lack needed support.
3974
+ * Determine if a URL shares the same origin as the current location
3975
+ *
3976
+ * @param {String} requestURL The URL to test
3977
+ * @returns {boolean} True if URL shares the same origin, otherwise false
3978
+ */return function isURLSameOrigin(requestURL){var parsed=utils.isString(requestURL)?resolveURL(requestURL):requestURL;return parsed.protocol===originURL.protocol&&parsed.host===originURL.host;};}():// Non standard browser envs (web workers, react-native) lack needed support.
3928
3979
  function nonStandardBrowserEnv(){return function isURLSameOrigin(){return true;};}();return isURLSameOrigin;}
3929
3980
 
3930
- var CanceledError_1;var hasRequiredCanceledError;function requireCanceledError(){if(hasRequiredCanceledError)return CanceledError_1;hasRequiredCanceledError=1;var AxiosError=requireAxiosError();var utils=utils$9;/**
3981
+ var CanceledError_1;var hasRequiredCanceledError;function requireCanceledError(){if(hasRequiredCanceledError)return CanceledError_1;hasRequiredCanceledError=1;var AxiosError=requireAxiosError();var utils=utils$b;/**
3931
3982
  * A `CanceledError` is an object that is thrown when an operation is canceled.
3932
3983
  *
3933
3984
  * @class
3934
3985
  * @param {string=} message The message.
3935
- */function CanceledError(message){// eslint-disable-next-line no-eq-null,eqeqeq
3936
- AxiosError.call(this,message==null?'canceled':message,AxiosError.ERR_CANCELED);this.name='CanceledError';}utils.inherits(CanceledError,AxiosError,{__CANCEL__:true});CanceledError_1=CanceledError;return CanceledError_1;}
3986
+ * @param {Object=} config The config.
3987
+ * @param {Object=} request The request.
3988
+ */function CanceledError(message,config,request){// eslint-disable-next-line no-eq-null,eqeqeq
3989
+ AxiosError.call(this,message==null?'canceled':message,AxiosError.ERR_CANCELED,config,request);this.name='CanceledError';}utils.inherits(CanceledError,AxiosError,{__CANCEL__:true});CanceledError_1=CanceledError;return CanceledError_1;}
3937
3990
 
3938
3991
  var parseProtocol;var hasRequiredParseProtocol;function requireParseProtocol(){if(hasRequiredParseProtocol)return parseProtocol;hasRequiredParseProtocol=1;parseProtocol=function parseProtocol(url){var match=/^([-+\w]{1,25})(:?\/\/|:)/.exec(url);return match&&match[1]||'';};return parseProtocol;}
3939
3992
 
3940
- var xhr;var hasRequiredXhr;function requireXhr(){if(hasRequiredXhr)return xhr;hasRequiredXhr=1;var utils=utils$9;var settle$1=settle;var cookies=requireCookies();var buildURL=buildURL$1;var buildFullPath=buildFullPath$1;var parseHeaders=requireParseHeaders();var isURLSameOrigin=requireIsURLSameOrigin();var transitionalDefaults=transitional;var AxiosError=requireAxiosError();var CanceledError=requireCanceledError();var parseProtocol=requireParseProtocol();xhr=function xhrAdapter(config){return new Promise(function dispatchXhrRequest(resolve,reject){var requestData=config.data;var requestHeaders=config.headers;var responseType=config.responseType;var onCanceled;function done(){if(config.cancelToken){config.cancelToken.unsubscribe(onCanceled);}if(config.signal){config.signal.removeEventListener('abort',onCanceled);}}if(utils.isFormData(requestData)&&utils.isStandardBrowserEnv()){delete requestHeaders['Content-Type'];// Let the browser set it
3993
+ var xhr;var hasRequiredXhr;function requireXhr(){if(hasRequiredXhr)return xhr;hasRequiredXhr=1;var utils=utils$b;var settle$1=settle;var cookies=requireCookies();var buildURL=buildURL$1;var buildFullPath=buildFullPath$1;var parseHeaders=requireParseHeaders();var isURLSameOrigin=requireIsURLSameOrigin();var transitionalDefaults=transitional;var AxiosError=requireAxiosError();var CanceledError=requireCanceledError();var parseProtocol=requireParseProtocol();var platform=platform$2;xhr=function xhrAdapter(config){return new Promise(function dispatchXhrRequest(resolve,reject){var requestData=config.data;var requestHeaders=config.headers;var responseType=config.responseType;var withXSRFToken=config.withXSRFToken;var onCanceled;function done(){if(config.cancelToken){config.cancelToken.unsubscribe(onCanceled);}if(config.signal){config.signal.removeEventListener('abort',onCanceled);}}if(utils.isFormData(requestData)&&utils.isStandardBrowserEnv()){delete requestHeaders['Content-Type'];// Let the browser set it
3941
3994
  }var request=new XMLHttpRequest();// HTTP basic authentication
3942
3995
  if(config.auth){var username=config.auth.username||'';var password=config.auth.password?unescape(encodeURIComponent(config.auth.password)):'';requestHeaders.Authorization='Basic '+btoa(username+':'+password);}var fullPath=buildFullPath(config.baseURL,config.url);request.open(config.method.toUpperCase(),buildURL(fullPath,config.params,config.paramsSerializer),true);// Set the request timeout in MS
3943
3996
  request.timeout=config.timeout;function onloadend(){if(!request){return;}// Prepare the response
@@ -3955,14 +4008,15 @@ request.onabort=function handleAbort(){if(!request){return;}reject(new AxiosErro
3955
4008
  request=null;};// Handle low level network errors
3956
4009
  request.onerror=function handleError(){// Real errors are hidden from us by the browser
3957
4010
  // onerror should only fire if it's a network error
3958
- reject(new AxiosError('Network Error',AxiosError.ERR_NETWORK,config,request,request));// Clean up request
4011
+ reject(new AxiosError('Network Error',AxiosError.ERR_NETWORK,config,request));// Clean up request
3959
4012
  request=null;};// Handle timeout
3960
4013
  request.ontimeout=function handleTimeout(){var timeoutErrorMessage=config.timeout?'timeout of '+config.timeout+'ms exceeded':'timeout exceeded';var transitional=config.transitional||transitionalDefaults;if(config.timeoutErrorMessage){timeoutErrorMessage=config.timeoutErrorMessage;}reject(new AxiosError(timeoutErrorMessage,transitional.clarifyTimeoutError?AxiosError.ETIMEDOUT:AxiosError.ECONNABORTED,config,request));// Clean up request
3961
4014
  request=null;};// Add xsrf header
3962
4015
  // This is only done if running in a standard browser environment.
3963
4016
  // Specifically not if we're in a web worker, or react-native.
3964
4017
  if(utils.isStandardBrowserEnv()){// Add xsrf header
3965
- var xsrfValue=(config.withCredentials||isURLSameOrigin(fullPath))&&config.xsrfCookieName?cookies.read(config.xsrfCookieName):undefined;if(xsrfValue){requestHeaders[config.xsrfHeaderName]=xsrfValue;}}// Add headers to the request
4018
+ withXSRFToken&&utils.isFunction(withXSRFToken)&&(withXSRFToken=withXSRFToken(config));if(withXSRFToken||withXSRFToken!==false&&isURLSameOrigin(fullPath)){// Add xsrf header
4019
+ var xsrfValue=config.xsrfHeaderName&&config.xsrfCookieName&&cookies.read(config.xsrfCookieName);if(xsrfValue){requestHeaders[config.xsrfHeaderName]=xsrfValue;}}}// Add headers to the request
3966
4020
  if('setRequestHeader'in request){utils.forEach(requestHeaders,function setRequestHeader(val,key){if(typeof requestData==='undefined'&&key.toLowerCase()==='content-type'){// Remove Content-Type if data is undefined
3967
4021
  delete requestHeaders[key];}else {// Otherwise add header to the request
3968
4022
  request.setRequestHeader(key,val);}});}// Add withCredentials to request if needed
@@ -3971,31 +4025,30 @@ if(responseType&&responseType!=='json'){request.responseType=config.responseType
3971
4025
  if(typeof config.onDownloadProgress==='function'){request.addEventListener('progress',config.onDownloadProgress);}// Not all browsers support upload events
3972
4026
  if(typeof config.onUploadProgress==='function'&&request.upload){request.upload.addEventListener('progress',config.onUploadProgress);}if(config.cancelToken||config.signal){// Handle cancellation
3973
4027
  // eslint-disable-next-line func-names
3974
- onCanceled=function onCanceled(cancel){if(!request){return;}reject(!cancel||cancel&&cancel.type?new CanceledError():cancel);request.abort();request=null;};config.cancelToken&&config.cancelToken.subscribe(onCanceled);if(config.signal){config.signal.aborted?onCanceled():config.signal.addEventListener('abort',onCanceled);}}if(!requestData){requestData=null;}var protocol=parseProtocol(fullPath);if(protocol&&['http','https','file'].indexOf(protocol)===-1){reject(new AxiosError('Unsupported protocol '+protocol+':',AxiosError.ERR_BAD_REQUEST,config));return;}// Send the request
4028
+ onCanceled=function onCanceled(cancel){if(!request){return;}reject(!cancel||cancel.type?new CanceledError(null,config,req):cancel);request.abort();request=null;};config.cancelToken&&config.cancelToken.subscribe(onCanceled);if(config.signal){config.signal.aborted?onCanceled():config.signal.addEventListener('abort',onCanceled);}}// false, 0 (zero number), and '' (empty string) are valid JSON values
4029
+ if(!requestData&&requestData!==false&&requestData!==0&&requestData!==''){requestData=null;}var protocol=parseProtocol(fullPath);if(protocol&&platform.protocols.indexOf(protocol)===-1){reject(new AxiosError('Unsupported protocol '+protocol+':',AxiosError.ERR_BAD_REQUEST,config));return;}// Send the request
3975
4030
  request.send(requestData);});};return xhr;}
3976
4031
 
3977
- var _null;var hasRequired_null;function require_null(){if(hasRequired_null)return _null;hasRequired_null=1;// eslint-disable-next-line strict
3978
- _null=null;return _null;}
3979
-
3980
- var utils$5=utils$9;var normalizeHeaderName=normalizeHeaderName$1;var AxiosError$1=requireAxiosError();var transitionalDefaults=transitional;var toFormData=requireToFormData();var DEFAULT_CONTENT_TYPE={'Content-Type':'application/x-www-form-urlencoded'};function setContentTypeIfUnset(headers,value){if(!utils$5.isUndefined(headers)&&utils$5.isUndefined(headers['Content-Type'])){headers['Content-Type']=value;}}function getDefaultAdapter(){var adapter;if(typeof XMLHttpRequest!=='undefined'){// For browsers use XHR adapter
3981
- adapter=requireXhr();}else if(typeof browser$1!=='undefined'&&Object.prototype.toString.call(browser$1)==='[object process]'){// For node use HTTP adapter
3982
- adapter=requireXhr();}return adapter;}function stringifySafely(rawValue,parser,encoder){if(utils$5.isString(rawValue)){try{(parser||JSON.parse)(rawValue);return utils$5.trim(rawValue);}catch(e){if(e.name!=='SyntaxError'){throw e;}}}return (encoder||JSON.stringify)(rawValue);}var defaults$3={transitional:transitionalDefaults,adapter:getDefaultAdapter(),transformRequest:[function transformRequest(data,headers){normalizeHeaderName(headers,'Accept');normalizeHeaderName(headers,'Content-Type');if(utils$5.isFormData(data)||utils$5.isArrayBuffer(data)||utils$5.isBuffer(data)||utils$5.isStream(data)||utils$5.isFile(data)||utils$5.isBlob(data)){return data;}if(utils$5.isArrayBufferView(data)){return data.buffer;}if(utils$5.isURLSearchParams(data)){setContentTypeIfUnset(headers,'application/x-www-form-urlencoded;charset=utf-8');return data.toString();}var isObjectPayload=utils$5.isObject(data);var contentType=headers&&headers['Content-Type'];var isFileList;if((isFileList=utils$5.isFileList(data))||isObjectPayload&&contentType==='multipart/form-data'){var _FormData=this.env&&this.env.FormData;return toFormData(isFileList?{'files[]':data}:data,_FormData&&new _FormData());}else if(isObjectPayload||contentType==='application/json'){setContentTypeIfUnset(headers,'application/json');return stringifySafely(data);}return data;}],transformResponse:[function transformResponse(data){var transitional=this.transitional||defaults$3.transitional;var silentJSONParsing=transitional&&transitional.silentJSONParsing;var forcedJSONParsing=transitional&&transitional.forcedJSONParsing;var strictJSONParsing=!silentJSONParsing&&this.responseType==='json';if(strictJSONParsing||forcedJSONParsing&&utils$5.isString(data)&&data.length){try{return JSON.parse(data);}catch(e){if(strictJSONParsing){if(e.name==='SyntaxError'){throw AxiosError$1.from(e,AxiosError$1.ERR_BAD_RESPONSE,this,null,this.response);}throw e;}}}return data;}],/**
4032
+ var utils$5=utils$b;var normalizeHeaderName$1=normalizeHeaderName$2;var AxiosError$1=requireAxiosError();var transitionalDefaults=transitional;var toFormData=requireToFormData();var toURLEncodedForm=toURLEncodedForm$1;var platform=platform$2;var formDataToJSON$1=formDataToJSON_1;var DEFAULT_CONTENT_TYPE={'Content-Type':'application/x-www-form-urlencoded'};function setContentTypeIfUnset(headers,value){if(!utils$5.isUndefined(headers)&&utils$5.isUndefined(headers['Content-Type'])){headers['Content-Type']=value;}}function getDefaultAdapter(){var adapter;if(typeof XMLHttpRequest!=='undefined'){// For browsers use XHR adapter
4033
+ adapter=requireXhr();}else if(typeof browser$1$1!=='undefined'&&Object.prototype.toString.call(browser$1$1)==='[object process]'){// For node use HTTP adapter
4034
+ adapter=requireXhr();}return adapter;}function stringifySafely(rawValue,parser,encoder){if(utils$5.isString(rawValue)){try{(parser||JSON.parse)(rawValue);return utils$5.trim(rawValue);}catch(e){if(e.name!=='SyntaxError'){throw e;}}}return (encoder||JSON.stringify)(rawValue);}var defaults$3={transitional:transitionalDefaults,adapter:getDefaultAdapter(),transformRequest:[function transformRequest(data,headers){normalizeHeaderName$1(headers,'Accept');normalizeHeaderName$1(headers,'Content-Type');var contentType=headers&&headers['Content-Type']||'';var hasJSONContentType=contentType.indexOf('application/json')>-1;var isObjectPayload=utils$5.isObject(data);if(isObjectPayload&&utils$5.isHTMLForm(data)){data=new FormData(data);}var isFormData=utils$5.isFormData(data);if(isFormData){return hasJSONContentType?JSON.stringify(formDataToJSON$1(data)):data;}if(utils$5.isArrayBuffer(data)||utils$5.isBuffer(data)||utils$5.isStream(data)||utils$5.isFile(data)||utils$5.isBlob(data)){return data;}if(utils$5.isArrayBufferView(data)){return data.buffer;}if(utils$5.isURLSearchParams(data)){setContentTypeIfUnset(headers,'application/x-www-form-urlencoded;charset=utf-8');return data.toString();}var isFileList;if(isObjectPayload){if(contentType.indexOf('application/x-www-form-urlencoded')!==-1){return toURLEncodedForm(data,this.formSerializer).toString();}if((isFileList=utils$5.isFileList(data))||contentType.indexOf('multipart/form-data')>-1){var _FormData=this.env&&this.env.FormData;return toFormData(isFileList?{'files[]':data}:data,_FormData&&new _FormData(),this.formSerializer);}}if(isObjectPayload||hasJSONContentType){setContentTypeIfUnset(headers,'application/json');return stringifySafely(data);}return data;}],transformResponse:[function transformResponse(data){var transitional=this.transitional||defaults$3.transitional;var forcedJSONParsing=transitional&&transitional.forcedJSONParsing;var JSONRequested=this.responseType==='json';if(data&&utils$5.isString(data)&&(forcedJSONParsing&&!this.responseType||JSONRequested)){var silentJSONParsing=transitional&&transitional.silentJSONParsing;var strictJSONParsing=!silentJSONParsing&&JSONRequested;try{return JSON.parse(data);}catch(e){if(strictJSONParsing){if(e.name==='SyntaxError'){throw AxiosError$1.from(e,AxiosError$1.ERR_BAD_RESPONSE,this,null,this.response);}throw e;}}}return data;}],/**
3983
4035
  * A timeout in milliseconds to abort a request. If set to 0 (default) a
3984
4036
  * timeout is not created.
3985
- */timeout:0,xsrfCookieName:'XSRF-TOKEN',xsrfHeaderName:'X-XSRF-TOKEN',maxContentLength:-1,maxBodyLength:-1,env:{FormData:require_null()},validateStatus:function validateStatus(status){return status>=200&&status<300;},headers:{common:{'Accept':'application/json, text/plain, */*'}}};utils$5.forEach(['delete','get','head'],function forEachMethodNoData(method){defaults$3.headers[method]={};});utils$5.forEach(['post','put','patch'],function forEachMethodWithData(method){defaults$3.headers[method]=utils$5.merge(DEFAULT_CONTENT_TYPE);});var defaults_1=defaults$3;
4037
+ */timeout:0,xsrfCookieName:'XSRF-TOKEN',xsrfHeaderName:'X-XSRF-TOKEN',maxContentLength:-1,maxBodyLength:-1,env:{FormData:platform.classes.FormData,Blob:platform.classes.Blob},validateStatus:function validateStatus(status){return status>=200&&status<300;},headers:{common:{'Accept':'application/json, text/plain, */*'}}};utils$5.forEach(['delete','get','head'],function forEachMethodNoData(method){defaults$3.headers[method]={};});utils$5.forEach(['post','put','patch'],function forEachMethodWithData(method){defaults$3.headers[method]=utils$5.merge(DEFAULT_CONTENT_TYPE);});var defaults_1=defaults$3;
3986
4038
 
3987
- var utils$4=utils$9;var defaults$2=defaults_1;/**
4039
+ var utils$4=utils$b;var defaults$2=defaults_1;/**
3988
4040
  * Transform the data for a request or a response
3989
4041
  *
3990
4042
  * @param {Object|String} data The data to be transformed
3991
4043
  * @param {Array} headers The headers for the request or response
4044
+ * @param {Number} status HTTP status code
3992
4045
  * @param {Array|Function} fns A single function or Array of functions
3993
4046
  * @returns {*} The resulting transformed data
3994
- */var transformData$1=function transformData(data,headers,fns){var context=this||defaults$2;/*eslint no-param-reassign:0*/utils$4.forEach(fns,function transform(fn){data=fn.call(context,data,headers);});return data;};
4047
+ */var transformData$1=function transformData(data,headers,status,fns){var context=this||defaults$2;/*eslint no-param-reassign:0*/utils$4.forEach(fns,function transform(fn){data=fn.call(context,data,headers,status);});return data;};
3995
4048
 
3996
4049
  var isCancel$1;var hasRequiredIsCancel;function requireIsCancel(){if(hasRequiredIsCancel)return isCancel$1;hasRequiredIsCancel=1;isCancel$1=function isCancel(value){return !!(value&&value.__CANCEL__);};return isCancel$1;}
3997
4050
 
3998
- var utils$3=utils$9;var transformData=transformData$1;var isCancel=requireIsCancel();var defaults$1=defaults_1;var CanceledError=requireCanceledError();/**
4051
+ var utils$3=utils$b;var transformData=transformData$1;var isCancel=requireIsCancel();var defaults$1=defaults_1;var CanceledError=requireCanceledError();var normalizeHeaderName=normalizeHeaderName$2;/**
3999
4052
  * Throws a `CanceledError` if cancellation has been requested.
4000
4053
  */function throwIfCancellationRequested(config){if(config.cancelToken){config.cancelToken.throwIfRequested();}if(config.signal&&config.signal.aborted){throw new CanceledError();}}/**
4001
4054
  * Dispatch a request to the server using the configured adapter.
@@ -4004,12 +4057,12 @@ var utils$3=utils$9;var transformData=transformData$1;var isCancel=requireIsCanc
4004
4057
  * @returns {Promise} The Promise to be fulfilled
4005
4058
  */var dispatchRequest$1=function dispatchRequest(config){throwIfCancellationRequested(config);// Ensure headers exist
4006
4059
  config.headers=config.headers||{};// Transform request data
4007
- config.data=transformData.call(config,config.data,config.headers,config.transformRequest);// Flatten headers
4060
+ config.data=transformData.call(config,config.data,config.headers,null,config.transformRequest);normalizeHeaderName(config.headers,'Accept');normalizeHeaderName(config.headers,'Content-Type');// Flatten headers
4008
4061
  config.headers=utils$3.merge(config.headers.common||{},config.headers[config.method]||{},config.headers);utils$3.forEach(['delete','get','head','post','put','patch','common'],function cleanHeaderConfig(method){delete config.headers[method];});var adapter=config.adapter||defaults$1.adapter;return adapter(config).then(function onAdapterResolution(response){throwIfCancellationRequested(config);// Transform response data
4009
- response.data=transformData.call(config,response.data,response.headers,config.transformResponse);return response;},function onAdapterRejection(reason){if(!isCancel(reason)){throwIfCancellationRequested(config);// Transform response data
4010
- if(reason&&reason.response){reason.response.data=transformData.call(config,reason.response.data,reason.response.headers,config.transformResponse);}}return Promise.reject(reason);});};
4062
+ response.data=transformData.call(config,response.data,response.headers,response.status,config.transformResponse);return response;},function onAdapterRejection(reason){if(!isCancel(reason)){throwIfCancellationRequested(config);// Transform response data
4063
+ if(reason&&reason.response){reason.response.data=transformData.call(config,reason.response.data,reason.response.headers,reason.response.status,config.transformResponse);}}return Promise.reject(reason);});};
4011
4064
 
4012
- var utils$2=utils$9;/**
4065
+ var utils$2=utils$b;/**
4013
4066
  * Config-specific merge-function which creates a new config-object
4014
4067
  * by merging two configuration objects together.
4015
4068
  *
@@ -4017,13 +4070,13 @@ var utils$2=utils$9;/**
4017
4070
  * @param {Object} config2
4018
4071
  * @returns {Object} New object resulting from merging config2 to config1
4019
4072
  */var mergeConfig$2=function mergeConfig(config1,config2){// eslint-disable-next-line no-param-reassign
4020
- config2=config2||{};var config={};function getMergedValue(target,source){if(utils$2.isPlainObject(target)&&utils$2.isPlainObject(source)){return utils$2.merge(target,source);}else if(utils$2.isPlainObject(source)){return utils$2.merge({},source);}else if(utils$2.isArray(source)){return source.slice();}return source;}// eslint-disable-next-line consistent-return
4073
+ config2=config2||{};var config={};function getMergedValue(target,source){if(utils$2.isPlainObject(target)&&utils$2.isPlainObject(source)){return utils$2.merge(target,source);}else if(utils$2.isEmptyObject(source)){return utils$2.merge({},target);}else if(utils$2.isPlainObject(source)){return utils$2.merge({},source);}else if(utils$2.isArray(source)){return source.slice();}return source;}// eslint-disable-next-line consistent-return
4021
4074
  function mergeDeepProperties(prop){if(!utils$2.isUndefined(config2[prop])){return getMergedValue(config1[prop],config2[prop]);}else if(!utils$2.isUndefined(config1[prop])){return getMergedValue(undefined,config1[prop]);}}// eslint-disable-next-line consistent-return
4022
4075
  function valueFromConfig2(prop){if(!utils$2.isUndefined(config2[prop])){return getMergedValue(undefined,config2[prop]);}}// eslint-disable-next-line consistent-return
4023
4076
  function defaultToConfig2(prop){if(!utils$2.isUndefined(config2[prop])){return getMergedValue(undefined,config2[prop]);}else if(!utils$2.isUndefined(config1[prop])){return getMergedValue(undefined,config1[prop]);}}// eslint-disable-next-line consistent-return
4024
- function mergeDirectKeys(prop){if(prop in config2){return getMergedValue(config1[prop],config2[prop]);}else if(prop in config1){return getMergedValue(undefined,config1[prop]);}}var mergeMap={'url':valueFromConfig2,'method':valueFromConfig2,'data':valueFromConfig2,'baseURL':defaultToConfig2,'transformRequest':defaultToConfig2,'transformResponse':defaultToConfig2,'paramsSerializer':defaultToConfig2,'timeout':defaultToConfig2,'timeoutMessage':defaultToConfig2,'withCredentials':defaultToConfig2,'adapter':defaultToConfig2,'responseType':defaultToConfig2,'xsrfCookieName':defaultToConfig2,'xsrfHeaderName':defaultToConfig2,'onUploadProgress':defaultToConfig2,'onDownloadProgress':defaultToConfig2,'decompress':defaultToConfig2,'maxContentLength':defaultToConfig2,'maxBodyLength':defaultToConfig2,'beforeRedirect':defaultToConfig2,'transport':defaultToConfig2,'httpAgent':defaultToConfig2,'httpsAgent':defaultToConfig2,'cancelToken':defaultToConfig2,'socketPath':defaultToConfig2,'responseEncoding':defaultToConfig2,'validateStatus':mergeDirectKeys};utils$2.forEach(Object.keys(config1).concat(Object.keys(config2)),function computeConfigValue(prop){var merge=mergeMap[prop]||mergeDeepProperties;var configValue=merge(prop);utils$2.isUndefined(configValue)&&merge!==mergeDirectKeys||(config[prop]=configValue);});return config;};
4077
+ function mergeDirectKeys(prop){if(prop in config2){return getMergedValue(config1[prop],config2[prop]);}else if(prop in config1){return getMergedValue(undefined,config1[prop]);}}var mergeMap={'url':valueFromConfig2,'method':valueFromConfig2,'data':valueFromConfig2,'baseURL':defaultToConfig2,'transformRequest':defaultToConfig2,'transformResponse':defaultToConfig2,'paramsSerializer':defaultToConfig2,'timeout':defaultToConfig2,'timeoutMessage':defaultToConfig2,'withCredentials':defaultToConfig2,'withXSRFToken':defaultToConfig2,'adapter':defaultToConfig2,'responseType':defaultToConfig2,'xsrfCookieName':defaultToConfig2,'xsrfHeaderName':defaultToConfig2,'onUploadProgress':defaultToConfig2,'onDownloadProgress':defaultToConfig2,'decompress':defaultToConfig2,'maxContentLength':defaultToConfig2,'maxBodyLength':defaultToConfig2,'beforeRedirect':defaultToConfig2,'transport':defaultToConfig2,'httpAgent':defaultToConfig2,'httpsAgent':defaultToConfig2,'cancelToken':defaultToConfig2,'socketPath':defaultToConfig2,'responseEncoding':defaultToConfig2,'validateStatus':mergeDirectKeys};utils$2.forEach(Object.keys(config1).concat(Object.keys(config2)),function computeConfigValue(prop){var merge=mergeMap[prop]||mergeDeepProperties;var configValue=merge(prop);utils$2.isUndefined(configValue)&&merge!==mergeDirectKeys||(config[prop]=configValue);});return config;};
4025
4078
 
4026
- var data;var hasRequiredData;function requireData(){if(hasRequiredData)return data;hasRequiredData=1;data={"version":"0.27.2"};return data;}
4079
+ var data;var hasRequiredData;function requireData(){if(hasRequiredData)return data;hasRequiredData=1;data={"version":"0.28.0"};return data;}
4027
4080
 
4028
4081
  var VERSION=requireData().version;var AxiosError=requireAxiosError();var validators$1={};// eslint-disable-next-line func-names
4029
4082
  ['object','boolean','number','function','string','symbol'].forEach(function(type,i){validators$1[type]=function validator(thing){return _typeof(thing)===type||'a'+(i<1?'n ':' ')+type;};});var deprecatedWarnings={};/**
@@ -4041,17 +4094,18 @@ console.warn(formatMessage(opt,' has been deprecated since v'+version+' and will
4041
4094
  * @param {boolean?} allowUnknown
4042
4095
  */function assertOptions(options,schema,allowUnknown){if(_typeof(options)!=='object'){throw new AxiosError('options must be an object',AxiosError.ERR_BAD_OPTION_VALUE);}var keys=Object.keys(options);var i=keys.length;while(i-->0){var opt=keys[i];var validator=schema[opt];if(validator){var value=options[opt];var result=value===undefined||validator(value,opt,options);if(result!==true){throw new AxiosError('option '+opt+' must be '+result,AxiosError.ERR_BAD_OPTION_VALUE);}continue;}if(allowUnknown!==true){throw new AxiosError('Unknown option '+opt,AxiosError.ERR_BAD_OPTION);}}}var validator$1={assertOptions:assertOptions,validators:validators$1};
4043
4096
 
4044
- var utils$1=utils$9;var buildURL=buildURL$1;var InterceptorManager=InterceptorManager_1;var dispatchRequest=dispatchRequest$1;var mergeConfig$1=mergeConfig$2;var buildFullPath=buildFullPath$1;var validator=validator$1;var validators=validator.validators;/**
4097
+ var utils$1=utils$b;var buildURL=buildURL$1;var InterceptorManager=InterceptorManager_1;var dispatchRequest=dispatchRequest$1;var mergeConfig$1=mergeConfig$2;var buildFullPath=buildFullPath$1;var validator=validator$1;var validators=validator.validators;/**
4045
4098
  * Create a new instance of Axios
4046
4099
  *
4047
4100
  * @param {Object} instanceConfig The default config for the instance
4048
4101
  */function Axios$1(instanceConfig){this.defaults=instanceConfig;this.interceptors={request:new InterceptorManager(),response:new InterceptorManager()};}/**
4049
4102
  * Dispatch a request
4050
4103
  *
4051
- * @param {Object} config The config specific for this request (merged with this.defaults)
4104
+ * @param {String|Object} configOrUrl The config specific for this request (merged with this.defaults)
4105
+ * @param {?Object} config
4052
4106
  */Axios$1.prototype.request=function request(configOrUrl,config){/*eslint no-param-reassign:0*/ // Allow for axios('example/url'[, config]) a la fetch API
4053
4107
  if(typeof configOrUrl==='string'){config=config||{};config.url=configOrUrl;}else {config=configOrUrl||{};}config=mergeConfig$1(this.defaults,config);// Set config.method
4054
- if(config.method){config.method=config.method.toLowerCase();}else if(this.defaults.method){config.method=this.defaults.method.toLowerCase();}else {config.method='get';}var transitional=config.transitional;if(transitional!==undefined){validator.assertOptions(transitional,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},false);}// filter out skipped interceptors
4108
+ if(config.method){config.method=config.method.toLowerCase();}else if(this.defaults.method){config.method=this.defaults.method.toLowerCase();}else {config.method='get';}var transitional=config.transitional;if(transitional!==undefined){validator.assertOptions(transitional,{silentJSONParsing:validators.transitional(validators.boolean),forcedJSONParsing:validators.transitional(validators.boolean),clarifyTimeoutError:validators.transitional(validators.boolean)},false);}var paramsSerializer=config.paramsSerializer;utils$1.isFunction(paramsSerializer)&&(config.paramsSerializer={serialize:paramsSerializer});// filter out skipped interceptors
4055
4109
  var requestInterceptorChain=[];var synchronousRequestInterceptors=true;this.interceptors.request.forEach(function unshiftRequestInterceptors(interceptor){if(typeof interceptor.runWhen==='function'&&interceptor.runWhen(config)===false){return;}synchronousRequestInterceptors=synchronousRequestInterceptors&&interceptor.synchronous;requestInterceptorChain.unshift(interceptor.fulfilled,interceptor.rejected);});var responseInterceptorChain=[];this.interceptors.response.forEach(function pushResponseInterceptors(interceptor){responseInterceptorChain.push(interceptor.fulfilled,interceptor.rejected);});var promise;if(!synchronousRequestInterceptors){var chain=[dispatchRequest,undefined];Array.prototype.unshift.apply(chain,requestInterceptorChain);chain=chain.concat(responseInterceptorChain);promise=Promise.resolve(config);while(chain.length){promise=promise.then(chain.shift(),chain.shift());}return promise;}var newConfig=config;while(requestInterceptorChain.length){var onFulfilled=requestInterceptorChain.shift();var onRejected=requestInterceptorChain.shift();try{newConfig=onFulfilled(newConfig);}catch(error){onRejected(error);break;}}try{promise=dispatchRequest(newConfig);}catch(error){return Promise.reject(error);}while(responseInterceptorChain.length){promise=promise.then(responseInterceptorChain.shift(),responseInterceptorChain.shift());}return promise;};Axios$1.prototype.getUri=function getUri(config){config=mergeConfig$1(this.defaults,config);var fullPath=buildFullPath(config.baseURL,config.url);return buildURL(fullPath,config.params,config.paramsSerializer);};// Provide aliases for supported request methods
4056
4110
  utils$1.forEach(['delete','get','head','options'],function forEachMethodNoData(method){/*eslint func-names:0*/Axios$1.prototype[method]=function(url,config){return this.request(mergeConfig$1(config||{},{method:method,url:url,data:(config||{}).data}));};});utils$1.forEach(['post','put','patch'],function forEachMethodWithData(method){/*eslint func-names:0*/function generateHTTPMethod(isForm){return function httpMethod(url,data,config){return this.request(mergeConfig$1(config||{},{method:method,headers:isForm?{'Content-Type':'multipart/form-data'}:{},url:url,data:data}));};}Axios$1.prototype[method]=generateHTTPMethod();Axios$1.prototype[method+'Form']=generateHTTPMethod(true);});var Axios_1=Axios$1;
4057
4111
 
@@ -4061,10 +4115,10 @@ var CancelToken_1;var hasRequiredCancelToken;function requireCancelToken(){if(ha
4061
4115
  * @class
4062
4116
  * @param {Function} executor The executor function.
4063
4117
  */function CancelToken(executor){if(typeof executor!=='function'){throw new TypeError('executor must be a function.');}var resolvePromise;this.promise=new Promise(function promiseExecutor(resolve){resolvePromise=resolve;});var token=this;// eslint-disable-next-line func-names
4064
- this.promise.then(function(cancel){if(!token._listeners)return;var i;var l=token._listeners.length;for(i=0;i<l;i++){token._listeners[i](cancel);}token._listeners=null;});// eslint-disable-next-line func-names
4118
+ this.promise.then(function(cancel){if(!token._listeners)return;var i=token._listeners.length;while(i-->0){token._listeners[i](cancel);}token._listeners=null;});// eslint-disable-next-line func-names
4065
4119
  this.promise.then=function(onfulfilled){var _resolve;// eslint-disable-next-line func-names
4066
- var promise=new Promise(function(resolve){token.subscribe(resolve);_resolve=resolve;}).then(onfulfilled);promise.cancel=function reject(){token.unsubscribe(_resolve);};return promise;};executor(function cancel(message){if(token.reason){// Cancellation has already been requested
4067
- return;}token.reason=new CanceledError(message);resolvePromise(token.reason);});}/**
4120
+ var promise=new Promise(function(resolve){token.subscribe(resolve);_resolve=resolve;}).then(onfulfilled);promise.cancel=function reject(){token.unsubscribe(_resolve);};return promise;};executor(function cancel(message,config,request){if(token.reason){// Cancellation has already been requested
4121
+ return;}token.reason=new CanceledError(message,config,request);resolvePromise(token.reason);});}/**
4068
4122
  * Throws a `CanceledError` if cancellation has been requested.
4069
4123
  */CancelToken.prototype.throwIfRequested=function throwIfRequested(){if(this.reason){throw this.reason;}};/**
4070
4124
  * Subscribe to the cancel signal
@@ -4096,14 +4150,14 @@ var spread;var hasRequiredSpread;function requireSpread(){if(hasRequiredSpread)r
4096
4150
  * @returns {Function}
4097
4151
  */spread=function spread(callback){return function wrap(arr){return callback.apply(null,arr);};};return spread;}
4098
4152
 
4099
- var isAxiosError;var hasRequiredIsAxiosError;function requireIsAxiosError(){if(hasRequiredIsAxiosError)return isAxiosError;hasRequiredIsAxiosError=1;var utils=utils$9;/**
4153
+ var isAxiosError;var hasRequiredIsAxiosError;function requireIsAxiosError(){if(hasRequiredIsAxiosError)return isAxiosError;hasRequiredIsAxiosError=1;var utils=utils$b;/**
4100
4154
  * Determines whether the payload is an error thrown by Axios
4101
4155
  *
4102
4156
  * @param {*} payload The value to test
4103
4157
  * @returns {boolean} True if the payload is an error thrown by Axios, otherwise false
4104
4158
  */isAxiosError=function isAxiosError(payload){return utils.isObject(payload)&&payload.isAxiosError===true;};return isAxiosError;}
4105
4159
 
4106
- var utils=utils$9;var bind=bind$2;var Axios=Axios_1;var mergeConfig=mergeConfig$2;var defaults=defaults_1;/**
4160
+ var utils=utils$b;var bind=bind$2;var Axios=Axios_1;var mergeConfig=mergeConfig$2;var defaults=defaults_1;var formDataToJSON=formDataToJSON_1;/**
4107
4161
  * Create an instance of Axios
4108
4162
  *
4109
4163
  * @param {Object} defaultConfig The default config for the instance
@@ -4118,7 +4172,7 @@ axios$2.CanceledError=requireCanceledError();axios$2.CancelToken=requireCancelTo
4118
4172
  axios$2.AxiosError=requireAxiosError();// alias for CanceledError for backward compatibility
4119
4173
  axios$2.Cancel=axios$2.CanceledError;// Expose all/spread
4120
4174
  axios$2.all=function all(promises){return Promise.all(promises);};axios$2.spread=requireSpread();// Expose isAxiosError
4121
- axios$2.isAxiosError=requireIsAxiosError();axios$3.exports=axios$2;// Allow use of default import syntax in TypeScript
4175
+ axios$2.isAxiosError=requireIsAxiosError();axios$2.formToJSON=function(thing){return formDataToJSON(utils.isHTMLForm(thing)?new FormData(thing):thing);};axios$3.exports=axios$2;// Allow use of default import syntax in TypeScript
4122
4176
  axios$3.exports.default=axios$2;var axiosExports=axios$3.exports;
4123
4177
 
4124
4178
  var axios=axiosExports;var axios$1 = /*@__PURE__*/getDefaultExportFromCjs(axios);
@@ -4127,7 +4181,7 @@ var denyList=new Set(['ENOTFOUND','ENETUNREACH',// SSL errors from https://githu
4127
4181
  'UNABLE_TO_GET_ISSUER_CERT','UNABLE_TO_GET_CRL','UNABLE_TO_DECRYPT_CERT_SIGNATURE','UNABLE_TO_DECRYPT_CRL_SIGNATURE','UNABLE_TO_DECODE_ISSUER_PUBLIC_KEY','CERT_SIGNATURE_FAILURE','CRL_SIGNATURE_FAILURE','CERT_NOT_YET_VALID','CERT_HAS_EXPIRED','CRL_NOT_YET_VALID','CRL_HAS_EXPIRED','ERROR_IN_CERT_NOT_BEFORE_FIELD','ERROR_IN_CERT_NOT_AFTER_FIELD','ERROR_IN_CRL_LAST_UPDATE_FIELD','ERROR_IN_CRL_NEXT_UPDATE_FIELD','OUT_OF_MEM','DEPTH_ZERO_SELF_SIGNED_CERT','SELF_SIGNED_CERT_IN_CHAIN','UNABLE_TO_GET_ISSUER_CERT_LOCALLY','UNABLE_TO_VERIFY_LEAF_SIGNATURE','CERT_CHAIN_TOO_LONG','CERT_REVOKED','INVALID_CA','PATH_LENGTH_EXCEEDED','INVALID_PURPOSE','CERT_UNTRUSTED','CERT_REJECTED','HOSTNAME_MISMATCH']);// TODO: Use `error?.code` when targeting Node.js 14
4128
4182
  var isRetryAllowed=function isRetryAllowed(error){return !denyList.has(error&&error.code);};var isRetryAllowed$1 = /*@__PURE__*/getDefaultExportFromCjs(isRetryAllowed);
4129
4183
 
4130
- function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg);var value=info.value;}catch(error){reject(error);return;}if(info.done){resolve(value);}else {Promise.resolve(value).then(_next,_throw);}}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise(function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value);}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err);}_next(undefined);});};}function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly){symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});}keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(Object(source),true).forEach(function(key){_defineProperty(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else {ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function _defineProperty(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else {obj[key]=value;}return obj;}var namespace='axios-retry';/**
4184
+ function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg);var value=info.value;}catch(error){reject(error);return;}if(info.done){resolve(value);}else {Promise.resolve(value).then(_next,_throw);}}function _asyncToGenerator(fn){return function(){var self=this,args=arguments;return new Promise(function(resolve,reject){var gen=fn.apply(self,args);function _next(value){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"next",value);}function _throw(err){asyncGeneratorStep(gen,resolve,reject,_next,_throw,"throw",err);}_next(undefined);});};}function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);if(enumerableOnly){symbols=symbols.filter(function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable;});}keys.push.apply(keys,symbols);}return keys;}function _objectSpread(target){for(var i=1;i<arguments.length;i++){var source=arguments[i]!=null?arguments[i]:{};if(i%2){ownKeys(Object(source),true).forEach(function(key){_defineProperty$1(target,key,source[key]);});}else if(Object.getOwnPropertyDescriptors){Object.defineProperties(target,Object.getOwnPropertyDescriptors(source));}else {ownKeys(Object(source)).forEach(function(key){Object.defineProperty(target,key,Object.getOwnPropertyDescriptor(source,key));});}}return target;}function _defineProperty$1(obj,key,value){if(key in obj){Object.defineProperty(obj,key,{value:value,enumerable:true,configurable:true,writable:true});}else {obj[key]=value;}return obj;}var namespace='axios-retry';/**
4131
4185
  * @param {Error} error
4132
4186
  * @return {boolean}
4133
4187
  */function isNetworkError(error){return !error.response&&Boolean(error.code)&&// Prevents retrying cancelled requests
@@ -4272,899 +4326,921 @@ var s=1000;var m=s*60;var h=m*60;var d=h*24;var w=d*7;var y=d*365.25;/**
4272
4326
 
4273
4327
  var IDX=256,HEX=[],BUFFER;while(IDX--)HEX[IDX]=(IDX+256).toString(16).substring(1);function v4(){var i=0,num,out='';if(!BUFFER||IDX+16>256){BUFFER=Array(i=256);while(i--)BUFFER[i]=256*Math.random()|0;i=IDX=0;}for(;i<16;i++){num=BUFFER[IDX+i];if(i==6)out+=HEX[num&15|64];else if(i==8)out+=HEX[num&63|128];else out+=HEX[num];if(i&1&&i>1&&i<11)out+='-';}IDX++;return out;}
4274
4328
 
4275
- /** `Object#toString` result references. */var stringTag='[object String]';/** Used for built-in method references. */var objectProto=Object.prototype;/**
4276
- * Used to resolve the [`toStringTag`](http://ecma-international.org/ecma-262/6.0/#sec-object.prototype.tostring)
4329
+ var freeGlobal$1=_typeof(commonjsGlobal)=='object'&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal;var _freeGlobal=freeGlobal$1;
4330
+
4331
+ var freeGlobal=_freeGlobal;/** Detect free variable `self`. */var freeSelf=(typeof self==="undefined"?"undefined":_typeof(self))=='object'&&self&&self.Object===Object&&self;/** Used as a reference to the global object. */var root$8=freeGlobal||freeSelf||Function('return this')();var _root=root$8;
4332
+
4333
+ var root$7=_root;/** Built-in value references. */var _Symbol2=root$7.Symbol;var _Symbol$3=_Symbol2;
4334
+
4335
+ var _Symbol$2=_Symbol$3;/** Used for built-in method references. */var objectProto$c=Object.prototype;/** Used to check objects for own properties. */var hasOwnProperty$9=objectProto$c.hasOwnProperty;/**
4336
+ * Used to resolve the
4337
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
4338
+ * of values.
4339
+ */var nativeObjectToString$1=objectProto$c.toString;/** Built-in value references. */var symToStringTag$1=_Symbol$2?_Symbol$2.toStringTag:undefined;/**
4340
+ * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
4341
+ *
4342
+ * @private
4343
+ * @param {*} value The value to query.
4344
+ * @returns {string} Returns the raw `toStringTag`.
4345
+ */function getRawTag$1(value){var isOwn=hasOwnProperty$9.call(value,symToStringTag$1),tag=value[symToStringTag$1];try{value[symToStringTag$1]=undefined;var unmasked=true;}catch(e){}var result=nativeObjectToString$1.call(value);if(unmasked){if(isOwn){value[symToStringTag$1]=tag;}else {delete value[symToStringTag$1];}}return result;}var _getRawTag=getRawTag$1;
4346
+
4347
+ var objectProto$b=Object.prototype;/**
4348
+ * Used to resolve the
4349
+ * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
4277
4350
  * of values.
4278
- */var objectToString=objectProto.toString;/**
4279
- * Checks if `value` is classified as an `Array` object.
4351
+ */var nativeObjectToString=objectProto$b.toString;/**
4352
+ * Converts `value` to a string using `Object.prototype.toString`.
4353
+ *
4354
+ * @private
4355
+ * @param {*} value The value to convert.
4356
+ * @returns {string} Returns the converted string.
4357
+ */function objectToString$1(value){return nativeObjectToString.call(value);}var _objectToString=objectToString$1;
4358
+
4359
+ var _Symbol$1=_Symbol$3,getRawTag=_getRawTag,objectToString=_objectToString;/** `Object#toString` result references. */var nullTag='[object Null]',undefinedTag='[object Undefined]';/** Built-in value references. */var symToStringTag=_Symbol$1?_Symbol$1.toStringTag:undefined;/**
4360
+ * The base implementation of `getTag` without fallbacks for buggy environments.
4361
+ *
4362
+ * @private
4363
+ * @param {*} value The value to query.
4364
+ * @returns {string} Returns the `toStringTag`.
4365
+ */function baseGetTag$5(value){if(value==null){return value===undefined?undefinedTag:nullTag;}return symToStringTag&&symToStringTag in Object(value)?getRawTag(value):objectToString(value);}var _baseGetTag=baseGetTag$5;
4366
+
4367
+ var isArray$4=Array.isArray;var isArray_1=isArray$4;
4368
+
4369
+ function isObjectLike$6(value){return value!=null&&_typeof(value)=='object';}var isObjectLike_1=isObjectLike$6;
4370
+
4371
+ var baseGetTag$4=_baseGetTag,isArray$3=isArray_1,isObjectLike$5=isObjectLike_1;/** `Object#toString` result references. */var stringTag$3='[object String]';/**
4372
+ * Checks if `value` is classified as a `String` primitive or object.
4280
4373
  *
4281
4374
  * @static
4375
+ * @since 0.1.0
4282
4376
  * @memberOf _
4283
- * @type Function
4284
4377
  * @category Lang
4285
4378
  * @param {*} value The value to check.
4286
- * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.
4379
+ * @returns {boolean} Returns `true` if `value` is a string, else `false`.
4287
4380
  * @example
4288
4381
  *
4289
- * _.isArray([1, 2, 3]);
4382
+ * _.isString('abc');
4290
4383
  * // => true
4291
4384
  *
4292
- * _.isArray(document.body.children);
4385
+ * _.isString(1);
4293
4386
  * // => false
4387
+ */function isString(value){return typeof value=='string'||!isArray$3(value)&&isObjectLike$5(value)&&baseGetTag$4(value)==stringTag$3;}var isString_1=isString;var isString$1 = /*@__PURE__*/getDefaultExportFromCjs(isString_1);
4388
+
4389
+ function listCacheClear$1(){this.__data__=[];this.size=0;}var _listCacheClear=listCacheClear$1;
4390
+
4391
+ function eq$2(value,other){return value===other||value!==value&&other!==other;}var eq_1=eq$2;
4392
+
4393
+ var eq$1=eq_1;/**
4394
+ * Gets the index at which the `key` is found in `array` of key-value pairs.
4294
4395
  *
4295
- * _.isArray('abc');
4296
- * // => false
4396
+ * @private
4397
+ * @param {Array} array The array to inspect.
4398
+ * @param {*} key The key to search for.
4399
+ * @returns {number} Returns the index of the matched value, else `-1`.
4400
+ */function assocIndexOf$4(array,key){var length=array.length;while(length--){if(eq$1(array[length][0],key)){return length;}}return -1;}var _assocIndexOf=assocIndexOf$4;
4401
+
4402
+ var assocIndexOf$3=_assocIndexOf;/** Used for built-in method references. */var arrayProto=Array.prototype;/** Built-in value references. */var splice=arrayProto.splice;/**
4403
+ * Removes `key` and its value from the list cache.
4297
4404
  *
4298
- * _.isArray(_.noop);
4299
- * // => false
4300
- */var isArray=Array.isArray;/**
4301
- * Checks if `value` is object-like. A value is object-like if it's not `null`
4302
- * and has a `typeof` result of "object".
4405
+ * @private
4406
+ * @name delete
4407
+ * @memberOf ListCache
4408
+ * @param {string} key The key of the value to remove.
4409
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
4410
+ */function listCacheDelete$1(key){var data=this.__data__,index=assocIndexOf$3(data,key);if(index<0){return false;}var lastIndex=data.length-1;if(index==lastIndex){data.pop();}else {splice.call(data,index,1);}--this.size;return true;}var _listCacheDelete=listCacheDelete$1;
4411
+
4412
+ var assocIndexOf$2=_assocIndexOf;/**
4413
+ * Gets the list cache value for `key`.
4414
+ *
4415
+ * @private
4416
+ * @name get
4417
+ * @memberOf ListCache
4418
+ * @param {string} key The key of the value to get.
4419
+ * @returns {*} Returns the entry value.
4420
+ */function listCacheGet$1(key){var data=this.__data__,index=assocIndexOf$2(data,key);return index<0?undefined:data[index][1];}var _listCacheGet=listCacheGet$1;
4421
+
4422
+ var assocIndexOf$1=_assocIndexOf;/**
4423
+ * Checks if a list cache value for `key` exists.
4424
+ *
4425
+ * @private
4426
+ * @name has
4427
+ * @memberOf ListCache
4428
+ * @param {string} key The key of the entry to check.
4429
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
4430
+ */function listCacheHas$1(key){return assocIndexOf$1(this.__data__,key)>-1;}var _listCacheHas=listCacheHas$1;
4431
+
4432
+ var assocIndexOf=_assocIndexOf;/**
4433
+ * Sets the list cache `key` to `value`.
4434
+ *
4435
+ * @private
4436
+ * @name set
4437
+ * @memberOf ListCache
4438
+ * @param {string} key The key of the value to set.
4439
+ * @param {*} value The value to set.
4440
+ * @returns {Object} Returns the list cache instance.
4441
+ */function listCacheSet$1(key,value){var data=this.__data__,index=assocIndexOf(data,key);if(index<0){++this.size;data.push([key,value]);}else {data[index][1]=value;}return this;}var _listCacheSet=listCacheSet$1;
4442
+
4443
+ var listCacheClear=_listCacheClear,listCacheDelete=_listCacheDelete,listCacheGet=_listCacheGet,listCacheHas=_listCacheHas,listCacheSet=_listCacheSet;/**
4444
+ * Creates an list cache object.
4445
+ *
4446
+ * @private
4447
+ * @constructor
4448
+ * @param {Array} [entries] The key-value pairs to cache.
4449
+ */function ListCache$4(entries){var index=-1,length=entries==null?0:entries.length;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1]);}}// Add methods to `ListCache`.
4450
+ ListCache$4.prototype.clear=listCacheClear;ListCache$4.prototype['delete']=listCacheDelete;ListCache$4.prototype.get=listCacheGet;ListCache$4.prototype.has=listCacheHas;ListCache$4.prototype.set=listCacheSet;var _ListCache=ListCache$4;
4451
+
4452
+ var ListCache$3=_ListCache;/**
4453
+ * Removes all key-value entries from the stack.
4454
+ *
4455
+ * @private
4456
+ * @name clear
4457
+ * @memberOf Stack
4458
+ */function stackClear$1(){this.__data__=new ListCache$3();this.size=0;}var _stackClear=stackClear$1;
4459
+
4460
+ function stackDelete$1(key){var data=this.__data__,result=data['delete'](key);this.size=data.size;return result;}var _stackDelete=stackDelete$1;
4461
+
4462
+ function stackGet$1(key){return this.__data__.get(key);}var _stackGet=stackGet$1;
4463
+
4464
+ function stackHas$1(key){return this.__data__.has(key);}var _stackHas=stackHas$1;
4465
+
4466
+ function isObject$5(value){var type=_typeof(value);return value!=null&&(type=='object'||type=='function');}var isObject_1=isObject$5;
4467
+
4468
+ var baseGetTag$3=_baseGetTag,isObject$4=isObject_1;/** `Object#toString` result references. */var asyncTag='[object AsyncFunction]',funcTag$2='[object Function]',genTag$1='[object GeneratorFunction]',proxyTag='[object Proxy]';/**
4469
+ * Checks if `value` is classified as a `Function` object.
4303
4470
  *
4304
4471
  * @static
4305
4472
  * @memberOf _
4473
+ * @since 0.1.0
4306
4474
  * @category Lang
4307
4475
  * @param {*} value The value to check.
4308
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
4476
+ * @returns {boolean} Returns `true` if `value` is a function, else `false`.
4309
4477
  * @example
4310
4478
  *
4311
- * _.isObjectLike({});
4312
- * // => true
4313
- *
4314
- * _.isObjectLike([1, 2, 3]);
4479
+ * _.isFunction(_);
4315
4480
  * // => true
4316
4481
  *
4317
- * _.isObjectLike(_.noop);
4482
+ * _.isFunction(/abc/);
4318
4483
  * // => false
4484
+ */function isFunction$3(value){if(!isObject$4(value)){return false;}// The use of `Object#toString` avoids issues with the `typeof` operator
4485
+ // in Safari 9 which returns 'object' for typed arrays and other constructors.
4486
+ var tag=baseGetTag$3(value);return tag==funcTag$2||tag==genTag$1||tag==asyncTag||tag==proxyTag;}var isFunction_1=isFunction$3;
4487
+
4488
+ var root$6=_root;/** Used to detect overreaching core-js shims. */var coreJsData$1=root$6['__core-js_shared__'];var _coreJsData=coreJsData$1;
4489
+
4490
+ var coreJsData=_coreJsData;/** Used to detect methods masquerading as native. */var maskSrcKey=function(){var uid=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||'');return uid?'Symbol(src)_1.'+uid:'';}();/**
4491
+ * Checks if `func` has its source masked.
4319
4492
  *
4320
- * _.isObjectLike(null);
4321
- * // => false
4322
- */function isObjectLike(value){return !!value&&_typeof(value)=='object';}/**
4323
- * Checks if `value` is classified as a `String` primitive or object.
4493
+ * @private
4494
+ * @param {Function} func The function to check.
4495
+ * @returns {boolean} Returns `true` if `func` is masked, else `false`.
4496
+ */function isMasked$1(func){return !!maskSrcKey&&maskSrcKey in func;}var _isMasked=isMasked$1;
4497
+
4498
+ var funcProto$1=Function.prototype;/** Used to resolve the decompiled source of functions. */var funcToString$1=funcProto$1.toString;/**
4499
+ * Converts `func` to its source code.
4500
+ *
4501
+ * @private
4502
+ * @param {Function} func The function to convert.
4503
+ * @returns {string} Returns the source code.
4504
+ */function toSource$2(func){if(func!=null){try{return funcToString$1.call(func);}catch(e){}try{return func+'';}catch(e){}}return '';}var _toSource=toSource$2;
4505
+
4506
+ var isFunction$2=isFunction_1,isMasked=_isMasked,isObject$3=isObject_1,toSource$1=_toSource;/**
4507
+ * Used to match `RegExp`
4508
+ * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
4509
+ */var reRegExpChar=/[\\^$.*+?()[\]{}|]/g;/** Used to detect host constructors (Safari). */var reIsHostCtor=/^\[object .+?Constructor\]$/;/** Used for built-in method references. */var funcProto=Function.prototype,objectProto$a=Object.prototype;/** Used to resolve the decompiled source of functions. */var funcToString=funcProto.toString;/** Used to check objects for own properties. */var hasOwnProperty$8=objectProto$a.hasOwnProperty;/** Used to detect if a method is native. */var reIsNative=RegExp('^'+funcToString.call(hasOwnProperty$8).replace(reRegExpChar,'\\$&').replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,'$1.*?')+'$');/**
4510
+ * The base implementation of `_.isNative` without bad shim checks.
4511
+ *
4512
+ * @private
4513
+ * @param {*} value The value to check.
4514
+ * @returns {boolean} Returns `true` if `value` is a native function,
4515
+ * else `false`.
4516
+ */function baseIsNative$1(value){if(!isObject$3(value)||isMasked(value)){return false;}var pattern=isFunction$2(value)?reIsNative:reIsHostCtor;return pattern.test(toSource$1(value));}var _baseIsNative=baseIsNative$1;
4517
+
4518
+ function getValue$1(object,key){return object==null?undefined:object[key];}var _getValue=getValue$1;
4519
+
4520
+ var baseIsNative=_baseIsNative,getValue=_getValue;/**
4521
+ * Gets the native function at `key` of `object`.
4522
+ *
4523
+ * @private
4524
+ * @param {Object} object The object to query.
4525
+ * @param {string} key The key of the method to get.
4526
+ * @returns {*} Returns the function if it's native, else `undefined`.
4527
+ */function getNative$7(object,key){var value=getValue(object,key);return baseIsNative(value)?value:undefined;}var _getNative=getNative$7;
4528
+
4529
+ var getNative$6=_getNative,root$5=_root;/* Built-in method references that are verified to be native. */var Map$3=getNative$6(root$5,'Map');var _Map=Map$3;
4530
+
4531
+ var getNative$5=_getNative;/* Built-in method references that are verified to be native. */var nativeCreate$4=getNative$5(Object,'create');var _nativeCreate=nativeCreate$4;
4532
+
4533
+ var nativeCreate$3=_nativeCreate;/**
4534
+ * Removes all key-value entries from the hash.
4535
+ *
4536
+ * @private
4537
+ * @name clear
4538
+ * @memberOf Hash
4539
+ */function hashClear$1(){this.__data__=nativeCreate$3?nativeCreate$3(null):{};this.size=0;}var _hashClear=hashClear$1;
4540
+
4541
+ function hashDelete$1(key){var result=this.has(key)&&delete this.__data__[key];this.size-=result?1:0;return result;}var _hashDelete=hashDelete$1;
4542
+
4543
+ var nativeCreate$2=_nativeCreate;/** Used to stand-in for `undefined` hash values. */var HASH_UNDEFINED$1='__lodash_hash_undefined__';/** Used for built-in method references. */var objectProto$9=Object.prototype;/** Used to check objects for own properties. */var hasOwnProperty$7=objectProto$9.hasOwnProperty;/**
4544
+ * Gets the hash value for `key`.
4545
+ *
4546
+ * @private
4547
+ * @name get
4548
+ * @memberOf Hash
4549
+ * @param {string} key The key of the value to get.
4550
+ * @returns {*} Returns the entry value.
4551
+ */function hashGet$1(key){var data=this.__data__;if(nativeCreate$2){var result=data[key];return result===HASH_UNDEFINED$1?undefined:result;}return hasOwnProperty$7.call(data,key)?data[key]:undefined;}var _hashGet=hashGet$1;
4552
+
4553
+ var nativeCreate$1=_nativeCreate;/** Used for built-in method references. */var objectProto$8=Object.prototype;/** Used to check objects for own properties. */var hasOwnProperty$6=objectProto$8.hasOwnProperty;/**
4554
+ * Checks if a hash value for `key` exists.
4555
+ *
4556
+ * @private
4557
+ * @name has
4558
+ * @memberOf Hash
4559
+ * @param {string} key The key of the entry to check.
4560
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
4561
+ */function hashHas$1(key){var data=this.__data__;return nativeCreate$1?data[key]!==undefined:hasOwnProperty$6.call(data,key);}var _hashHas=hashHas$1;
4562
+
4563
+ var nativeCreate=_nativeCreate;/** Used to stand-in for `undefined` hash values. */var HASH_UNDEFINED='__lodash_hash_undefined__';/**
4564
+ * Sets the hash `key` to `value`.
4565
+ *
4566
+ * @private
4567
+ * @name set
4568
+ * @memberOf Hash
4569
+ * @param {string} key The key of the value to set.
4570
+ * @param {*} value The value to set.
4571
+ * @returns {Object} Returns the hash instance.
4572
+ */function hashSet$1(key,value){var data=this.__data__;this.size+=this.has(key)?0:1;data[key]=nativeCreate&&value===undefined?HASH_UNDEFINED:value;return this;}var _hashSet=hashSet$1;
4573
+
4574
+ var hashClear=_hashClear,hashDelete=_hashDelete,hashGet=_hashGet,hashHas=_hashHas,hashSet=_hashSet;/**
4575
+ * Creates a hash object.
4576
+ *
4577
+ * @private
4578
+ * @constructor
4579
+ * @param {Array} [entries] The key-value pairs to cache.
4580
+ */function Hash$1(entries){var index=-1,length=entries==null?0:entries.length;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1]);}}// Add methods to `Hash`.
4581
+ Hash$1.prototype.clear=hashClear;Hash$1.prototype['delete']=hashDelete;Hash$1.prototype.get=hashGet;Hash$1.prototype.has=hashHas;Hash$1.prototype.set=hashSet;var _Hash=Hash$1;
4582
+
4583
+ var Hash=_Hash,ListCache$2=_ListCache,Map$2=_Map;/**
4584
+ * Removes all key-value entries from the map.
4585
+ *
4586
+ * @private
4587
+ * @name clear
4588
+ * @memberOf MapCache
4589
+ */function mapCacheClear$1(){this.size=0;this.__data__={'hash':new Hash(),'map':new(Map$2||ListCache$2)(),'string':new Hash()};}var _mapCacheClear=mapCacheClear$1;
4590
+
4591
+ function isKeyable$1(value){var type=_typeof(value);return type=='string'||type=='number'||type=='symbol'||type=='boolean'?value!=='__proto__':value===null;}var _isKeyable=isKeyable$1;
4592
+
4593
+ var isKeyable=_isKeyable;/**
4594
+ * Gets the data for `map`.
4595
+ *
4596
+ * @private
4597
+ * @param {Object} map The map to query.
4598
+ * @param {string} key The reference key.
4599
+ * @returns {*} Returns the map data.
4600
+ */function getMapData$4(map,key){var data=map.__data__;return isKeyable(key)?data[typeof key=='string'?'string':'hash']:data.map;}var _getMapData=getMapData$4;
4601
+
4602
+ var getMapData$3=_getMapData;/**
4603
+ * Removes `key` and its value from the map.
4604
+ *
4605
+ * @private
4606
+ * @name delete
4607
+ * @memberOf MapCache
4608
+ * @param {string} key The key of the value to remove.
4609
+ * @returns {boolean} Returns `true` if the entry was removed, else `false`.
4610
+ */function mapCacheDelete$1(key){var result=getMapData$3(this,key)['delete'](key);this.size-=result?1:0;return result;}var _mapCacheDelete=mapCacheDelete$1;
4611
+
4612
+ var getMapData$2=_getMapData;/**
4613
+ * Gets the map value for `key`.
4614
+ *
4615
+ * @private
4616
+ * @name get
4617
+ * @memberOf MapCache
4618
+ * @param {string} key The key of the value to get.
4619
+ * @returns {*} Returns the entry value.
4620
+ */function mapCacheGet$1(key){return getMapData$2(this,key).get(key);}var _mapCacheGet=mapCacheGet$1;
4621
+
4622
+ var getMapData$1=_getMapData;/**
4623
+ * Checks if a map value for `key` exists.
4624
+ *
4625
+ * @private
4626
+ * @name has
4627
+ * @memberOf MapCache
4628
+ * @param {string} key The key of the entry to check.
4629
+ * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
4630
+ */function mapCacheHas$1(key){return getMapData$1(this,key).has(key);}var _mapCacheHas=mapCacheHas$1;
4631
+
4632
+ var getMapData=_getMapData;/**
4633
+ * Sets the map `key` to `value`.
4634
+ *
4635
+ * @private
4636
+ * @name set
4637
+ * @memberOf MapCache
4638
+ * @param {string} key The key of the value to set.
4639
+ * @param {*} value The value to set.
4640
+ * @returns {Object} Returns the map cache instance.
4641
+ */function mapCacheSet$1(key,value){var data=getMapData(this,key),size=data.size;data.set(key,value);this.size+=data.size==size?0:1;return this;}var _mapCacheSet=mapCacheSet$1;
4642
+
4643
+ var mapCacheClear=_mapCacheClear,mapCacheDelete=_mapCacheDelete,mapCacheGet=_mapCacheGet,mapCacheHas=_mapCacheHas,mapCacheSet=_mapCacheSet;/**
4644
+ * Creates a map cache object to store key-value pairs.
4645
+ *
4646
+ * @private
4647
+ * @constructor
4648
+ * @param {Array} [entries] The key-value pairs to cache.
4649
+ */function MapCache$1(entries){var index=-1,length=entries==null?0:entries.length;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1]);}}// Add methods to `MapCache`.
4650
+ MapCache$1.prototype.clear=mapCacheClear;MapCache$1.prototype['delete']=mapCacheDelete;MapCache$1.prototype.get=mapCacheGet;MapCache$1.prototype.has=mapCacheHas;MapCache$1.prototype.set=mapCacheSet;var _MapCache=MapCache$1;
4651
+
4652
+ var ListCache$1=_ListCache,Map$1=_Map,MapCache=_MapCache;/** Used as the size to enable large array optimizations. */var LARGE_ARRAY_SIZE=200;/**
4653
+ * Sets the stack `key` to `value`.
4654
+ *
4655
+ * @private
4656
+ * @name set
4657
+ * @memberOf Stack
4658
+ * @param {string} key The key of the value to set.
4659
+ * @param {*} value The value to set.
4660
+ * @returns {Object} Returns the stack cache instance.
4661
+ */function stackSet$1(key,value){var data=this.__data__;if(data instanceof ListCache$1){var pairs=data.__data__;if(!Map$1||pairs.length<LARGE_ARRAY_SIZE-1){pairs.push([key,value]);this.size=++data.size;return this;}data=this.__data__=new MapCache(pairs);}data.set(key,value);this.size=data.size;return this;}var _stackSet=stackSet$1;
4662
+
4663
+ var ListCache=_ListCache,stackClear=_stackClear,stackDelete=_stackDelete,stackGet=_stackGet,stackHas=_stackHas,stackSet=_stackSet;/**
4664
+ * Creates a stack cache object to store key-value pairs.
4665
+ *
4666
+ * @private
4667
+ * @constructor
4668
+ * @param {Array} [entries] The key-value pairs to cache.
4669
+ */function Stack$1(entries){var data=this.__data__=new ListCache(entries);this.size=data.size;}// Add methods to `Stack`.
4670
+ Stack$1.prototype.clear=stackClear;Stack$1.prototype['delete']=stackDelete;Stack$1.prototype.get=stackGet;Stack$1.prototype.has=stackHas;Stack$1.prototype.set=stackSet;var _Stack=Stack$1;
4671
+
4672
+ function arrayEach$1(array,iteratee){var index=-1,length=array==null?0:array.length;while(++index<length){if(iteratee(array[index],index,array)===false){break;}}return array;}var _arrayEach=arrayEach$1;
4673
+
4674
+ var getNative$4=_getNative;var defineProperty$1=function(){try{var func=getNative$4(Object,'defineProperty');func({},'',{});return func;}catch(e){}}();var _defineProperty=defineProperty$1;
4675
+
4676
+ var defineProperty=_defineProperty;/**
4677
+ * The base implementation of `assignValue` and `assignMergeValue` without
4678
+ * value checks.
4679
+ *
4680
+ * @private
4681
+ * @param {Object} object The object to modify.
4682
+ * @param {string} key The key of the property to assign.
4683
+ * @param {*} value The value to assign.
4684
+ */function baseAssignValue$2(object,key,value){if(key=='__proto__'&&defineProperty){defineProperty(object,key,{'configurable':true,'enumerable':true,'value':value,'writable':true});}else {object[key]=value;}}var _baseAssignValue=baseAssignValue$2;
4685
+
4686
+ var baseAssignValue$1=_baseAssignValue,eq=eq_1;/** Used for built-in method references. */var objectProto$7=Object.prototype;/** Used to check objects for own properties. */var hasOwnProperty$5=objectProto$7.hasOwnProperty;/**
4687
+ * Assigns `value` to `key` of `object` if the existing value is not equivalent
4688
+ * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
4689
+ * for equality comparisons.
4690
+ *
4691
+ * @private
4692
+ * @param {Object} object The object to modify.
4693
+ * @param {string} key The key of the property to assign.
4694
+ * @param {*} value The value to assign.
4695
+ */function assignValue$2(object,key,value){var objValue=object[key];if(!(hasOwnProperty$5.call(object,key)&&eq(objValue,value))||value===undefined&&!(key in object)){baseAssignValue$1(object,key,value);}}var _assignValue=assignValue$2;
4696
+
4697
+ var assignValue$1=_assignValue,baseAssignValue=_baseAssignValue;/**
4698
+ * Copies properties of `source` to `object`.
4699
+ *
4700
+ * @private
4701
+ * @param {Object} source The object to copy properties from.
4702
+ * @param {Array} props The property identifiers to copy.
4703
+ * @param {Object} [object={}] The object to copy properties to.
4704
+ * @param {Function} [customizer] The function to customize copied values.
4705
+ * @returns {Object} Returns `object`.
4706
+ */function copyObject$4(source,props,object,customizer){var isNew=!object;object||(object={});var index=-1,length=props.length;while(++index<length){var key=props[index];var newValue=customizer?customizer(object[key],source[key],key,object,source):undefined;if(newValue===undefined){newValue=source[key];}if(isNew){baseAssignValue(object,key,newValue);}else {assignValue$1(object,key,newValue);}}return object;}var _copyObject=copyObject$4;
4707
+
4708
+ function baseTimes$1(n,iteratee){var index=-1,result=Array(n);while(++index<n){result[index]=iteratee(index);}return result;}var _baseTimes=baseTimes$1;
4709
+
4710
+ var baseGetTag$2=_baseGetTag,isObjectLike$4=isObjectLike_1;/** `Object#toString` result references. */var argsTag$2='[object Arguments]';/**
4711
+ * The base implementation of `_.isArguments`.
4712
+ *
4713
+ * @private
4714
+ * @param {*} value The value to check.
4715
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
4716
+ */function baseIsArguments$1(value){return isObjectLike$4(value)&&baseGetTag$2(value)==argsTag$2;}var _baseIsArguments=baseIsArguments$1;
4717
+
4718
+ var baseIsArguments=_baseIsArguments,isObjectLike$3=isObjectLike_1;/** Used for built-in method references. */var objectProto$6=Object.prototype;/** Used to check objects for own properties. */var hasOwnProperty$4=objectProto$6.hasOwnProperty;/** Built-in value references. */var propertyIsEnumerable$1=objectProto$6.propertyIsEnumerable;/**
4719
+ * Checks if `value` is likely an `arguments` object.
4324
4720
  *
4325
4721
  * @static
4326
4722
  * @memberOf _
4723
+ * @since 0.1.0
4327
4724
  * @category Lang
4328
4725
  * @param {*} value The value to check.
4329
- * @returns {boolean} Returns `true` if `value` is correctly classified, else `false`.
4726
+ * @returns {boolean} Returns `true` if `value` is an `arguments` object,
4727
+ * else `false`.
4330
4728
  * @example
4331
4729
  *
4332
- * _.isString('abc');
4730
+ * _.isArguments(function() { return arguments; }());
4333
4731
  * // => true
4334
4732
  *
4335
- * _.isString(1);
4733
+ * _.isArguments([1, 2, 3]);
4336
4734
  * // => false
4337
- */function isString(value){return typeof value=='string'||!isArray(value)&&isObjectLike(value)&&objectToString.call(value)==stringTag;}var lodash_isstring=isString;var isString$1 = /*@__PURE__*/getDefaultExportFromCjs(lodash_isstring);
4735
+ */var isArguments$1=baseIsArguments(function(){return arguments;}())?baseIsArguments:function(value){return isObjectLike$3(value)&&hasOwnProperty$4.call(value,'callee')&&!propertyIsEnumerable$1.call(value,'callee');};var isArguments_1=isArguments$1;
4338
4736
 
4339
- var lodash_clonedeep = {exports: {}};
4737
+ var isBuffer$2 = {exports: {}};
4340
4738
 
4341
- lodash_clonedeep.exports;(function(module,exports){/** Used as the size to enable large array optimizations. */var LARGE_ARRAY_SIZE=200;/** Used to stand-in for `undefined` hash values. */var HASH_UNDEFINED='__lodash_hash_undefined__';/** Used as references for various `Number` constants. */var MAX_SAFE_INTEGER=9007199254740991;/** `Object#toString` result references. */var argsTag='[object Arguments]',arrayTag='[object Array]',boolTag='[object Boolean]',dateTag='[object Date]',errorTag='[object Error]',funcTag='[object Function]',genTag='[object GeneratorFunction]',mapTag='[object Map]',numberTag='[object Number]',objectTag='[object Object]',promiseTag='[object Promise]',regexpTag='[object RegExp]',setTag='[object Set]',stringTag='[object String]',symbolTag='[object Symbol]',weakMapTag='[object WeakMap]';var arrayBufferTag='[object ArrayBuffer]',dataViewTag='[object DataView]',float32Tag='[object Float32Array]',float64Tag='[object Float64Array]',int8Tag='[object Int8Array]',int16Tag='[object Int16Array]',int32Tag='[object Int32Array]',uint8Tag='[object Uint8Array]',uint8ClampedTag='[object Uint8ClampedArray]',uint16Tag='[object Uint16Array]',uint32Tag='[object Uint32Array]';/**
4342
- * Used to match `RegExp`
4343
- * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
4344
- */var reRegExpChar=/[\\^$.*+?()[\]{}|]/g;/** Used to match `RegExp` flags from their coerced string values. */var reFlags=/\w*$/;/** Used to detect host constructors (Safari). */var reIsHostCtor=/^\[object .+?Constructor\]$/;/** Used to detect unsigned integer values. */var reIsUint=/^(?:0|[1-9]\d*)$/;/** Used to identify `toStringTag` values supported by `_.clone`. */var cloneableTags={};cloneableTags[argsTag]=cloneableTags[arrayTag]=cloneableTags[arrayBufferTag]=cloneableTags[dataViewTag]=cloneableTags[boolTag]=cloneableTags[dateTag]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[mapTag]=cloneableTags[numberTag]=cloneableTags[objectTag]=cloneableTags[regexpTag]=cloneableTags[setTag]=cloneableTags[stringTag]=cloneableTags[symbolTag]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=true;cloneableTags[errorTag]=cloneableTags[funcTag]=cloneableTags[weakMapTag]=false;/** Detect free variable `global` from Node.js. */var freeGlobal=_typeof(commonjsGlobal)=='object'&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal;/** Detect free variable `self`. */var freeSelf=(typeof self==="undefined"?"undefined":_typeof(self))=='object'&&self&&self.Object===Object&&self;/** Used as a reference to the global object. */var root=freeGlobal||freeSelf||Function('return this')();/** Detect free variable `exports`. */var freeExports=exports&&!exports.nodeType&&exports;/** Detect free variable `module`. */var freeModule=freeExports&&'object'=='object'&&module&&!module.nodeType&&module;/** Detect the popular CommonJS extension `module.exports`. */var moduleExports=freeModule&&freeModule.exports===freeExports;/**
4345
- * Adds the key-value `pair` to `map`.
4346
- *
4347
- * @private
4348
- * @param {Object} map The map to modify.
4349
- * @param {Array} pair The key-value pair to add.
4350
- * @returns {Object} Returns `map`.
4351
- */function addMapEntry(map,pair){// Don't return `map.set` because it's not chainable in IE 11.
4352
- map.set(pair[0],pair[1]);return map;}/**
4353
- * Adds `value` to `set`.
4354
- *
4355
- * @private
4356
- * @param {Object} set The set to modify.
4357
- * @param {*} value The value to add.
4358
- * @returns {Object} Returns `set`.
4359
- */function addSetEntry(set,value){// Don't return `set.add` because it's not chainable in IE 11.
4360
- set.add(value);return set;}/**
4361
- * A specialized version of `_.forEach` for arrays without support for
4362
- * iteratee shorthands.
4363
- *
4364
- * @private
4365
- * @param {Array} [array] The array to iterate over.
4366
- * @param {Function} iteratee The function invoked per iteration.
4367
- * @returns {Array} Returns `array`.
4368
- */function arrayEach(array,iteratee){var index=-1,length=array?array.length:0;while(++index<length){if(iteratee(array[index],index,array)===false){break;}}return array;}/**
4369
- * Appends the elements of `values` to `array`.
4370
- *
4371
- * @private
4372
- * @param {Array} array The array to modify.
4373
- * @param {Array} values The values to append.
4374
- * @returns {Array} Returns `array`.
4375
- */function arrayPush(array,values){var index=-1,length=values.length,offset=array.length;while(++index<length){array[offset+index]=values[index];}return array;}/**
4376
- * A specialized version of `_.reduce` for arrays without support for
4377
- * iteratee shorthands.
4378
- *
4379
- * @private
4380
- * @param {Array} [array] The array to iterate over.
4381
- * @param {Function} iteratee The function invoked per iteration.
4382
- * @param {*} [accumulator] The initial value.
4383
- * @param {boolean} [initAccum] Specify using the first element of `array` as
4384
- * the initial value.
4385
- * @returns {*} Returns the accumulated value.
4386
- */function arrayReduce(array,iteratee,accumulator,initAccum){var index=-1,length=array?array.length:0;if(initAccum&&length){accumulator=array[++index];}while(++index<length){accumulator=iteratee(accumulator,array[index],index,array);}return accumulator;}/**
4387
- * The base implementation of `_.times` without support for iteratee shorthands
4388
- * or max array length checks.
4389
- *
4390
- * @private
4391
- * @param {number} n The number of times to invoke `iteratee`.
4392
- * @param {Function} iteratee The function invoked per iteration.
4393
- * @returns {Array} Returns the array of results.
4394
- */function baseTimes(n,iteratee){var index=-1,result=Array(n);while(++index<n){result[index]=iteratee(index);}return result;}/**
4395
- * Gets the value at `key` of `object`.
4396
- *
4397
- * @private
4398
- * @param {Object} [object] The object to query.
4399
- * @param {string} key The key of the property to get.
4400
- * @returns {*} Returns the property value.
4401
- */function getValue(object,key){return object==null?undefined:object[key];}/**
4402
- * Checks if `value` is a host object in IE < 9.
4739
+ function stubFalse(){return false;}var stubFalse_1=stubFalse;
4740
+
4741
+ isBuffer$2.exports;(function(module,exports){var root=_root,stubFalse=stubFalse_1;/** Detect free variable `exports`. */var freeExports=exports&&!exports.nodeType&&exports;/** Detect free variable `module`. */var freeModule=freeExports&&'object'=='object'&&module&&!module.nodeType&&module;/** Detect the popular CommonJS extension `module.exports`. */var moduleExports=freeModule&&freeModule.exports===freeExports;/** Built-in value references. */var Buffer=moduleExports?root.Buffer:undefined;/* Built-in method references for those with the same name as other `lodash` methods. */var nativeIsBuffer=Buffer?Buffer.isBuffer:undefined;/**
4742
+ * Checks if `value` is a buffer.
4403
4743
  *
4404
- * @private
4744
+ * @static
4745
+ * @memberOf _
4746
+ * @since 4.3.0
4747
+ * @category Lang
4405
4748
  * @param {*} value The value to check.
4406
- * @returns {boolean} Returns `true` if `value` is a host object, else `false`.
4407
- */function isHostObject(value){// Many host objects are `Object` objects that can coerce to strings
4408
- // despite having improperly defined `toString` methods.
4409
- var result=false;if(value!=null&&typeof value.toString!='function'){try{result=!!(value+'');}catch(e){}}return result;}/**
4410
- * Converts `map` to its key-value pairs.
4411
- *
4412
- * @private
4413
- * @param {Object} map The map to convert.
4414
- * @returns {Array} Returns the key-value pairs.
4415
- */function mapToArray(map){var index=-1,result=Array(map.size);map.forEach(function(value,key){result[++index]=[key,value];});return result;}/**
4416
- * Creates a unary function that invokes `func` with its argument transformed.
4417
- *
4418
- * @private
4419
- * @param {Function} func The function to wrap.
4420
- * @param {Function} transform The argument transform.
4421
- * @returns {Function} Returns the new function.
4422
- */function overArg(func,transform){return function(arg){return func(transform(arg));};}/**
4423
- * Converts `set` to an array of its values.
4424
- *
4425
- * @private
4426
- * @param {Object} set The set to convert.
4427
- * @returns {Array} Returns the values.
4428
- */function setToArray(set){var index=-1,result=Array(set.size);set.forEach(function(value){result[++index]=value;});return result;}/** Used for built-in method references. */var arrayProto=Array.prototype,funcProto=Function.prototype,objectProto=Object.prototype;/** Used to detect overreaching core-js shims. */var coreJsData=root['__core-js_shared__'];/** Used to detect methods masquerading as native. */var maskSrcKey=function(){var uid=/[^.]+$/.exec(coreJsData&&coreJsData.keys&&coreJsData.keys.IE_PROTO||'');return uid?'Symbol(src)_1.'+uid:'';}();/** Used to resolve the decompiled source of functions. */var funcToString=funcProto.toString;/** Used to check objects for own properties. */var hasOwnProperty=objectProto.hasOwnProperty;/**
4429
- * Used to resolve the
4430
- * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
4431
- * of values.
4432
- */var objectToString=objectProto.toString;/** Used to detect if a method is native. */var reIsNative=RegExp('^'+funcToString.call(hasOwnProperty).replace(reRegExpChar,'\\$&').replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,'$1.*?')+'$');/** Built-in value references. */var Buffer=moduleExports?root.Buffer:undefined,_Symbol=root.Symbol,Uint8Array=root.Uint8Array,getPrototype=overArg(Object.getPrototypeOf,Object),objectCreate=Object.create,propertyIsEnumerable=objectProto.propertyIsEnumerable,splice=arrayProto.splice;/* Built-in method references for those with the same name as other `lodash` methods. */var nativeGetSymbols=Object.getOwnPropertySymbols,nativeIsBuffer=Buffer?Buffer.isBuffer:undefined,nativeKeys=overArg(Object.keys,Object);/* Built-in method references that are verified to be native. */var DataView=getNative(root,'DataView'),Map=getNative(root,'Map'),Promise=getNative(root,'Promise'),Set=getNative(root,'Set'),WeakMap=getNative(root,'WeakMap'),nativeCreate=getNative(Object,'create');/** Used to detect maps, sets, and weakmaps. */var dataViewCtorString=toSource(DataView),mapCtorString=toSource(Map),promiseCtorString=toSource(Promise),setCtorString=toSource(Set),weakMapCtorString=toSource(WeakMap);/** Used to convert symbols to primitives and strings. */var symbolProto=_Symbol?_Symbol.prototype:undefined,symbolValueOf=symbolProto?symbolProto.valueOf:undefined;/**
4433
- * Creates a hash object.
4434
- *
4435
- * @private
4436
- * @constructor
4437
- * @param {Array} [entries] The key-value pairs to cache.
4438
- */function Hash(entries){var index=-1,length=entries?entries.length:0;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1]);}}/**
4439
- * Removes all key-value entries from the hash.
4440
- *
4441
- * @private
4442
- * @name clear
4443
- * @memberOf Hash
4444
- */function hashClear(){this.__data__=nativeCreate?nativeCreate(null):{};}/**
4445
- * Removes `key` and its value from the hash.
4446
- *
4447
- * @private
4448
- * @name delete
4449
- * @memberOf Hash
4450
- * @param {Object} hash The hash to modify.
4451
- * @param {string} key The key of the value to remove.
4452
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
4453
- */function hashDelete(key){return this.has(key)&&delete this.__data__[key];}/**
4454
- * Gets the hash value for `key`.
4455
- *
4456
- * @private
4457
- * @name get
4458
- * @memberOf Hash
4459
- * @param {string} key The key of the value to get.
4460
- * @returns {*} Returns the entry value.
4461
- */function hashGet(key){var data=this.__data__;if(nativeCreate){var result=data[key];return result===HASH_UNDEFINED?undefined:result;}return hasOwnProperty.call(data,key)?data[key]:undefined;}/**
4462
- * Checks if a hash value for `key` exists.
4463
- *
4464
- * @private
4465
- * @name has
4466
- * @memberOf Hash
4467
- * @param {string} key The key of the entry to check.
4468
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
4469
- */function hashHas(key){var data=this.__data__;return nativeCreate?data[key]!==undefined:hasOwnProperty.call(data,key);}/**
4470
- * Sets the hash `key` to `value`.
4471
- *
4472
- * @private
4473
- * @name set
4474
- * @memberOf Hash
4475
- * @param {string} key The key of the value to set.
4476
- * @param {*} value The value to set.
4477
- * @returns {Object} Returns the hash instance.
4478
- */function hashSet(key,value){var data=this.__data__;data[key]=nativeCreate&&value===undefined?HASH_UNDEFINED:value;return this;}// Add methods to `Hash`.
4479
- Hash.prototype.clear=hashClear;Hash.prototype['delete']=hashDelete;Hash.prototype.get=hashGet;Hash.prototype.has=hashHas;Hash.prototype.set=hashSet;/**
4480
- * Creates an list cache object.
4481
- *
4482
- * @private
4483
- * @constructor
4484
- * @param {Array} [entries] The key-value pairs to cache.
4485
- */function ListCache(entries){var index=-1,length=entries?entries.length:0;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1]);}}/**
4486
- * Removes all key-value entries from the list cache.
4487
- *
4488
- * @private
4489
- * @name clear
4490
- * @memberOf ListCache
4491
- */function listCacheClear(){this.__data__=[];}/**
4492
- * Removes `key` and its value from the list cache.
4749
+ * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
4750
+ * @example
4493
4751
  *
4494
- * @private
4495
- * @name delete
4496
- * @memberOf ListCache
4497
- * @param {string} key The key of the value to remove.
4498
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
4499
- */function listCacheDelete(key){var data=this.__data__,index=assocIndexOf(data,key);if(index<0){return false;}var lastIndex=data.length-1;if(index==lastIndex){data.pop();}else {splice.call(data,index,1);}return true;}/**
4500
- * Gets the list cache value for `key`.
4752
+ * _.isBuffer(new Buffer(2));
4753
+ * // => true
4501
4754
  *
4502
- * @private
4503
- * @name get
4504
- * @memberOf ListCache
4505
- * @param {string} key The key of the value to get.
4506
- * @returns {*} Returns the entry value.
4507
- */function listCacheGet(key){var data=this.__data__,index=assocIndexOf(data,key);return index<0?undefined:data[index][1];}/**
4508
- * Checks if a list cache value for `key` exists.
4509
- *
4510
- * @private
4511
- * @name has
4512
- * @memberOf ListCache
4513
- * @param {string} key The key of the entry to check.
4514
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
4515
- */function listCacheHas(key){return assocIndexOf(this.__data__,key)>-1;}/**
4516
- * Sets the list cache `key` to `value`.
4517
- *
4518
- * @private
4519
- * @name set
4520
- * @memberOf ListCache
4521
- * @param {string} key The key of the value to set.
4522
- * @param {*} value The value to set.
4523
- * @returns {Object} Returns the list cache instance.
4524
- */function listCacheSet(key,value){var data=this.__data__,index=assocIndexOf(data,key);if(index<0){data.push([key,value]);}else {data[index][1]=value;}return this;}// Add methods to `ListCache`.
4525
- ListCache.prototype.clear=listCacheClear;ListCache.prototype['delete']=listCacheDelete;ListCache.prototype.get=listCacheGet;ListCache.prototype.has=listCacheHas;ListCache.prototype.set=listCacheSet;/**
4526
- * Creates a map cache object to store key-value pairs.
4527
- *
4528
- * @private
4529
- * @constructor
4530
- * @param {Array} [entries] The key-value pairs to cache.
4531
- */function MapCache(entries){var index=-1,length=entries?entries.length:0;this.clear();while(++index<length){var entry=entries[index];this.set(entry[0],entry[1]);}}/**
4532
- * Removes all key-value entries from the map.
4533
- *
4534
- * @private
4535
- * @name clear
4536
- * @memberOf MapCache
4537
- */function mapCacheClear(){this.__data__={'hash':new Hash(),'map':new(Map||ListCache)(),'string':new Hash()};}/**
4538
- * Removes `key` and its value from the map.
4539
- *
4540
- * @private
4541
- * @name delete
4542
- * @memberOf MapCache
4543
- * @param {string} key The key of the value to remove.
4544
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
4545
- */function mapCacheDelete(key){return getMapData(this,key)['delete'](key);}/**
4546
- * Gets the map value for `key`.
4547
- *
4548
- * @private
4549
- * @name get
4550
- * @memberOf MapCache
4551
- * @param {string} key The key of the value to get.
4552
- * @returns {*} Returns the entry value.
4553
- */function mapCacheGet(key){return getMapData(this,key).get(key);}/**
4554
- * Checks if a map value for `key` exists.
4555
- *
4556
- * @private
4557
- * @name has
4558
- * @memberOf MapCache
4559
- * @param {string} key The key of the entry to check.
4560
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
4561
- */function mapCacheHas(key){return getMapData(this,key).has(key);}/**
4562
- * Sets the map `key` to `value`.
4563
- *
4564
- * @private
4565
- * @name set
4566
- * @memberOf MapCache
4567
- * @param {string} key The key of the value to set.
4568
- * @param {*} value The value to set.
4569
- * @returns {Object} Returns the map cache instance.
4570
- */function mapCacheSet(key,value){getMapData(this,key).set(key,value);return this;}// Add methods to `MapCache`.
4571
- MapCache.prototype.clear=mapCacheClear;MapCache.prototype['delete']=mapCacheDelete;MapCache.prototype.get=mapCacheGet;MapCache.prototype.has=mapCacheHas;MapCache.prototype.set=mapCacheSet;/**
4572
- * Creates a stack cache object to store key-value pairs.
4573
- *
4574
- * @private
4575
- * @constructor
4576
- * @param {Array} [entries] The key-value pairs to cache.
4577
- */function Stack(entries){this.__data__=new ListCache(entries);}/**
4578
- * Removes all key-value entries from the stack.
4579
- *
4580
- * @private
4581
- * @name clear
4582
- * @memberOf Stack
4583
- */function stackClear(){this.__data__=new ListCache();}/**
4584
- * Removes `key` and its value from the stack.
4585
- *
4586
- * @private
4587
- * @name delete
4588
- * @memberOf Stack
4589
- * @param {string} key The key of the value to remove.
4590
- * @returns {boolean} Returns `true` if the entry was removed, else `false`.
4591
- */function stackDelete(key){return this.__data__['delete'](key);}/**
4592
- * Gets the stack value for `key`.
4593
- *
4594
- * @private
4595
- * @name get
4596
- * @memberOf Stack
4597
- * @param {string} key The key of the value to get.
4598
- * @returns {*} Returns the entry value.
4599
- */function stackGet(key){return this.__data__.get(key);}/**
4600
- * Checks if a stack value for `key` exists.
4601
- *
4602
- * @private
4603
- * @name has
4604
- * @memberOf Stack
4605
- * @param {string} key The key of the entry to check.
4606
- * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.
4607
- */function stackHas(key){return this.__data__.has(key);}/**
4608
- * Sets the stack `key` to `value`.
4609
- *
4610
- * @private
4611
- * @name set
4612
- * @memberOf Stack
4613
- * @param {string} key The key of the value to set.
4614
- * @param {*} value The value to set.
4615
- * @returns {Object} Returns the stack cache instance.
4616
- */function stackSet(key,value){var cache=this.__data__;if(cache instanceof ListCache){var pairs=cache.__data__;if(!Map||pairs.length<LARGE_ARRAY_SIZE-1){pairs.push([key,value]);return this;}cache=this.__data__=new MapCache(pairs);}cache.set(key,value);return this;}// Add methods to `Stack`.
4617
- Stack.prototype.clear=stackClear;Stack.prototype['delete']=stackDelete;Stack.prototype.get=stackGet;Stack.prototype.has=stackHas;Stack.prototype.set=stackSet;/**
4618
- * Creates an array of the enumerable property names of the array-like `value`.
4619
- *
4620
- * @private
4621
- * @param {*} value The value to query.
4622
- * @param {boolean} inherited Specify returning inherited property names.
4623
- * @returns {Array} Returns the array of property names.
4624
- */function arrayLikeKeys(value,inherited){// Safari 8.1 makes `arguments.callee` enumerable in strict mode.
4625
- // Safari 9 makes `arguments.length` enumerable in strict mode.
4626
- var result=isArray(value)||isArguments(value)?baseTimes(value.length,String):[];var length=result.length,skipIndexes=!!length;for(var key in value){if((inherited||hasOwnProperty.call(value,key))&&!(skipIndexes&&(key=='length'||isIndex(key,length)))){result.push(key);}}return result;}/**
4627
- * Assigns `value` to `key` of `object` if the existing value is not equivalent
4628
- * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
4629
- * for equality comparisons.
4630
- *
4631
- * @private
4632
- * @param {Object} object The object to modify.
4633
- * @param {string} key The key of the property to assign.
4634
- * @param {*} value The value to assign.
4635
- */function assignValue(object,key,value){var objValue=object[key];if(!(hasOwnProperty.call(object,key)&&eq(objValue,value))||value===undefined&&!(key in object)){object[key]=value;}}/**
4636
- * Gets the index at which the `key` is found in `array` of key-value pairs.
4637
- *
4638
- * @private
4639
- * @param {Array} array The array to inspect.
4640
- * @param {*} key The key to search for.
4641
- * @returns {number} Returns the index of the matched value, else `-1`.
4642
- */function assocIndexOf(array,key){var length=array.length;while(length--){if(eq(array[length][0],key)){return length;}}return -1;}/**
4643
- * The base implementation of `_.assign` without support for multiple sources
4644
- * or `customizer` functions.
4645
- *
4646
- * @private
4647
- * @param {Object} object The destination object.
4648
- * @param {Object} source The source object.
4649
- * @returns {Object} Returns `object`.
4650
- */function baseAssign(object,source){return object&&copyObject(source,keys(source),object);}/**
4651
- * The base implementation of `_.clone` and `_.cloneDeep` which tracks
4652
- * traversed objects.
4653
- *
4654
- * @private
4655
- * @param {*} value The value to clone.
4656
- * @param {boolean} [isDeep] Specify a deep clone.
4657
- * @param {boolean} [isFull] Specify a clone including symbols.
4658
- * @param {Function} [customizer] The function to customize cloning.
4659
- * @param {string} [key] The key of `value`.
4660
- * @param {Object} [object] The parent object of `value`.
4661
- * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
4662
- * @returns {*} Returns the cloned value.
4663
- */function baseClone(value,isDeep,isFull,customizer,key,object,stack){var result;if(customizer){result=object?customizer(value,key,object,stack):customizer(value);}if(result!==undefined){return result;}if(!isObject(value)){return value;}var isArr=isArray(value);if(isArr){result=initCloneArray(value);if(!isDeep){return copyArray(value,result);}}else {var tag=getTag(value),isFunc=tag==funcTag||tag==genTag;if(isBuffer(value)){return cloneBuffer(value,isDeep);}if(tag==objectTag||tag==argsTag||isFunc&&!object){if(isHostObject(value)){return object?value:{};}result=initCloneObject(isFunc?{}:value);if(!isDeep){return copySymbols(value,baseAssign(result,value));}}else {if(!cloneableTags[tag]){return object?value:{};}result=initCloneByTag(value,tag,baseClone,isDeep);}}// Check for circular references and return its corresponding clone.
4664
- stack||(stack=new Stack());var stacked=stack.get(value);if(stacked){return stacked;}stack.set(value,result);if(!isArr){var props=isFull?getAllKeys(value):keys(value);}arrayEach(props||value,function(subValue,key){if(props){key=subValue;subValue=value[key];}// Recursively populate clone (susceptible to call stack limits).
4665
- assignValue(result,key,baseClone(subValue,isDeep,isFull,customizer,key,value,stack));});return result;}/**
4666
- * The base implementation of `_.create` without support for assigning
4667
- * properties to the created object.
4668
- *
4669
- * @private
4670
- * @param {Object} prototype The object to inherit from.
4671
- * @returns {Object} Returns the new object.
4672
- */function baseCreate(proto){return isObject(proto)?objectCreate(proto):{};}/**
4673
- * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
4674
- * `keysFunc` and `symbolsFunc` to get the enumerable property names and
4675
- * symbols of `object`.
4676
- *
4677
- * @private
4678
- * @param {Object} object The object to query.
4679
- * @param {Function} keysFunc The function to get the keys of `object`.
4680
- * @param {Function} symbolsFunc The function to get the symbols of `object`.
4681
- * @returns {Array} Returns the array of property names and symbols.
4682
- */function baseGetAllKeys(object,keysFunc,symbolsFunc){var result=keysFunc(object);return isArray(object)?result:arrayPush(result,symbolsFunc(object));}/**
4683
- * The base implementation of `getTag`.
4684
- *
4685
- * @private
4686
- * @param {*} value The value to query.
4687
- * @returns {string} Returns the `toStringTag`.
4688
- */function baseGetTag(value){return objectToString.call(value);}/**
4689
- * The base implementation of `_.isNative` without bad shim checks.
4690
- *
4691
- * @private
4692
- * @param {*} value The value to check.
4693
- * @returns {boolean} Returns `true` if `value` is a native function,
4694
- * else `false`.
4695
- */function baseIsNative(value){if(!isObject(value)||isMasked(value)){return false;}var pattern=isFunction(value)||isHostObject(value)?reIsNative:reIsHostCtor;return pattern.test(toSource(value));}/**
4696
- * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
4697
- *
4698
- * @private
4699
- * @param {Object} object The object to query.
4700
- * @returns {Array} Returns the array of property names.
4701
- */function baseKeys(object){if(!isPrototype(object)){return nativeKeys(object);}var result=[];for(var key in Object(object)){if(hasOwnProperty.call(object,key)&&key!='constructor'){result.push(key);}}return result;}/**
4702
- * Creates a clone of `buffer`.
4755
+ * _.isBuffer(new Uint8Array(2));
4756
+ * // => false
4757
+ */var isBuffer=nativeIsBuffer||stubFalse;module.exports=isBuffer;})(isBuffer$2,isBuffer$2.exports);var isBufferExports=isBuffer$2.exports;
4758
+
4759
+ var MAX_SAFE_INTEGER$1=9007199254740991;/** Used to detect unsigned integer values. */var reIsUint=/^(?:0|[1-9]\d*)$/;/**
4760
+ * Checks if `value` is a valid array-like index.
4761
+ *
4762
+ * @private
4763
+ * @param {*} value The value to check.
4764
+ * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
4765
+ * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
4766
+ */function isIndex$1(value,length){var type=_typeof(value);length=length==null?MAX_SAFE_INTEGER$1:length;return !!length&&(type=='number'||type!='symbol'&&reIsUint.test(value))&&value>-1&&value%1==0&&value<length;}var _isIndex=isIndex$1;
4767
+
4768
+ var MAX_SAFE_INTEGER=9007199254740991;/**
4769
+ * Checks if `value` is a valid array-like length.
4770
+ *
4771
+ * **Note:** This method is loosely based on
4772
+ * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
4773
+ *
4774
+ * @static
4775
+ * @memberOf _
4776
+ * @since 4.0.0
4777
+ * @category Lang
4778
+ * @param {*} value The value to check.
4779
+ * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
4780
+ * @example
4781
+ *
4782
+ * _.isLength(3);
4783
+ * // => true
4784
+ *
4785
+ * _.isLength(Number.MIN_VALUE);
4786
+ * // => false
4787
+ *
4788
+ * _.isLength(Infinity);
4789
+ * // => false
4790
+ *
4791
+ * _.isLength('3');
4792
+ * // => false
4793
+ */function isLength$2(value){return typeof value=='number'&&value>-1&&value%1==0&&value<=MAX_SAFE_INTEGER;}var isLength_1=isLength$2;
4794
+
4795
+ var baseGetTag$1=_baseGetTag,isLength$1=isLength_1,isObjectLike$2=isObjectLike_1;/** `Object#toString` result references. */var argsTag$1='[object Arguments]',arrayTag$1='[object Array]',boolTag$2='[object Boolean]',dateTag$2='[object Date]',errorTag$1='[object Error]',funcTag$1='[object Function]',mapTag$4='[object Map]',numberTag$2='[object Number]',objectTag$2='[object Object]',regexpTag$2='[object RegExp]',setTag$4='[object Set]',stringTag$2='[object String]',weakMapTag$2='[object WeakMap]';var arrayBufferTag$2='[object ArrayBuffer]',dataViewTag$3='[object DataView]',float32Tag$2='[object Float32Array]',float64Tag$2='[object Float64Array]',int8Tag$2='[object Int8Array]',int16Tag$2='[object Int16Array]',int32Tag$2='[object Int32Array]',uint8Tag$2='[object Uint8Array]',uint8ClampedTag$2='[object Uint8ClampedArray]',uint16Tag$2='[object Uint16Array]',uint32Tag$2='[object Uint32Array]';/** Used to identify `toStringTag` values of typed arrays. */var typedArrayTags={};typedArrayTags[float32Tag$2]=typedArrayTags[float64Tag$2]=typedArrayTags[int8Tag$2]=typedArrayTags[int16Tag$2]=typedArrayTags[int32Tag$2]=typedArrayTags[uint8Tag$2]=typedArrayTags[uint8ClampedTag$2]=typedArrayTags[uint16Tag$2]=typedArrayTags[uint32Tag$2]=true;typedArrayTags[argsTag$1]=typedArrayTags[arrayTag$1]=typedArrayTags[arrayBufferTag$2]=typedArrayTags[boolTag$2]=typedArrayTags[dataViewTag$3]=typedArrayTags[dateTag$2]=typedArrayTags[errorTag$1]=typedArrayTags[funcTag$1]=typedArrayTags[mapTag$4]=typedArrayTags[numberTag$2]=typedArrayTags[objectTag$2]=typedArrayTags[regexpTag$2]=typedArrayTags[setTag$4]=typedArrayTags[stringTag$2]=typedArrayTags[weakMapTag$2]=false;/**
4796
+ * The base implementation of `_.isTypedArray` without Node.js optimizations.
4797
+ *
4798
+ * @private
4799
+ * @param {*} value The value to check.
4800
+ * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
4801
+ */function baseIsTypedArray$1(value){return isObjectLike$2(value)&&isLength$1(value.length)&&!!typedArrayTags[baseGetTag$1(value)];}var _baseIsTypedArray=baseIsTypedArray$1;
4802
+
4803
+ function baseUnary$3(func){return function(value){return func(value);};}var _baseUnary=baseUnary$3;
4804
+
4805
+ var _nodeUtil = {exports: {}};
4806
+
4807
+ _nodeUtil.exports;(function(module,exports){var freeGlobal=_freeGlobal;/** Detect free variable `exports`. */var freeExports=exports&&!exports.nodeType&&exports;/** Detect free variable `module`. */var freeModule=freeExports&&'object'=='object'&&module&&!module.nodeType&&module;/** Detect the popular CommonJS extension `module.exports`. */var moduleExports=freeModule&&freeModule.exports===freeExports;/** Detect free variable `process` from Node.js. */var freeProcess=moduleExports&&freeGlobal.process;/** Used to access faster Node.js helpers. */var nodeUtil=function(){try{// Use `util.types` for Node.js 10+.
4808
+ var types=freeModule&&freeModule.require&&freeModule.require('util').types;if(types){return types;}// Legacy `process.binding('util')` for Node.js < 10.
4809
+ return freeProcess&&freeProcess.binding&&freeProcess.binding('util');}catch(e){}}();module.exports=nodeUtil;})(_nodeUtil,_nodeUtil.exports);var _nodeUtilExports=_nodeUtil.exports;
4810
+
4811
+ var baseIsTypedArray=_baseIsTypedArray,baseUnary$2=_baseUnary,nodeUtil$2=_nodeUtilExports;/* Node.js helper references. */var nodeIsTypedArray=nodeUtil$2&&nodeUtil$2.isTypedArray;/**
4812
+ * Checks if `value` is classified as a typed array.
4813
+ *
4814
+ * @static
4815
+ * @memberOf _
4816
+ * @since 3.0.0
4817
+ * @category Lang
4818
+ * @param {*} value The value to check.
4819
+ * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
4820
+ * @example
4821
+ *
4822
+ * _.isTypedArray(new Uint8Array);
4823
+ * // => true
4824
+ *
4825
+ * _.isTypedArray([]);
4826
+ * // => false
4827
+ */var isTypedArray$1=nodeIsTypedArray?baseUnary$2(nodeIsTypedArray):baseIsTypedArray;var isTypedArray_1=isTypedArray$1;
4828
+
4829
+ var baseTimes=_baseTimes,isArguments=isArguments_1,isArray$2=isArray_1,isBuffer$1=isBufferExports,isIndex=_isIndex,isTypedArray=isTypedArray_1;/** Used for built-in method references. */var objectProto$5=Object.prototype;/** Used to check objects for own properties. */var hasOwnProperty$3=objectProto$5.hasOwnProperty;/**
4830
+ * Creates an array of the enumerable property names of the array-like `value`.
4831
+ *
4832
+ * @private
4833
+ * @param {*} value The value to query.
4834
+ * @param {boolean} inherited Specify returning inherited property names.
4835
+ * @returns {Array} Returns the array of property names.
4836
+ */function arrayLikeKeys$2(value,inherited){var isArr=isArray$2(value),isArg=!isArr&&isArguments(value),isBuff=!isArr&&!isArg&&isBuffer$1(value),isType=!isArr&&!isArg&&!isBuff&&isTypedArray(value),skipIndexes=isArr||isArg||isBuff||isType,result=skipIndexes?baseTimes(value.length,String):[],length=result.length;for(var key in value){if((inherited||hasOwnProperty$3.call(value,key))&&!(skipIndexes&&(// Safari 9 has enumerable `arguments.length` in strict mode.
4837
+ key=='length'||// Node.js 0.10 has enumerable non-index properties on buffers.
4838
+ isBuff&&(key=='offset'||key=='parent')||// PhantomJS 2 has enumerable non-index properties on typed arrays.
4839
+ isType&&(key=='buffer'||key=='byteLength'||key=='byteOffset')||// Skip index properties.
4840
+ isIndex(key,length)))){result.push(key);}}return result;}var _arrayLikeKeys=arrayLikeKeys$2;
4841
+
4842
+ var objectProto$4=Object.prototype;/**
4843
+ * Checks if `value` is likely a prototype object.
4844
+ *
4845
+ * @private
4846
+ * @param {*} value The value to check.
4847
+ * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
4848
+ */function isPrototype$3(value){var Ctor=value&&value.constructor,proto=typeof Ctor=='function'&&Ctor.prototype||objectProto$4;return value===proto;}var _isPrototype=isPrototype$3;
4849
+
4850
+ function overArg$2(func,transform){return function(arg){return func(transform(arg));};}var _overArg=overArg$2;
4851
+
4852
+ var overArg$1=_overArg;/* Built-in method references for those with the same name as other `lodash` methods. */var nativeKeys$1=overArg$1(Object.keys,Object);var _nativeKeys=nativeKeys$1;
4853
+
4854
+ var isPrototype$2=_isPrototype,nativeKeys=_nativeKeys;/** Used for built-in method references. */var objectProto$3=Object.prototype;/** Used to check objects for own properties. */var hasOwnProperty$2=objectProto$3.hasOwnProperty;/**
4855
+ * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
4856
+ *
4857
+ * @private
4858
+ * @param {Object} object The object to query.
4859
+ * @returns {Array} Returns the array of property names.
4860
+ */function baseKeys$1(object){if(!isPrototype$2(object)){return nativeKeys(object);}var result=[];for(var key in Object(object)){if(hasOwnProperty$2.call(object,key)&&key!='constructor'){result.push(key);}}return result;}var _baseKeys=baseKeys$1;
4861
+
4862
+ var isFunction$1=isFunction_1,isLength=isLength_1;/**
4863
+ * Checks if `value` is array-like. A value is considered array-like if it's
4864
+ * not a function and has a `value.length` that's an integer greater than or
4865
+ * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
4866
+ *
4867
+ * @static
4868
+ * @memberOf _
4869
+ * @since 4.0.0
4870
+ * @category Lang
4871
+ * @param {*} value The value to check.
4872
+ * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
4873
+ * @example
4874
+ *
4875
+ * _.isArrayLike([1, 2, 3]);
4876
+ * // => true
4877
+ *
4878
+ * _.isArrayLike(document.body.children);
4879
+ * // => true
4880
+ *
4881
+ * _.isArrayLike('abc');
4882
+ * // => true
4883
+ *
4884
+ * _.isArrayLike(_.noop);
4885
+ * // => false
4886
+ */function isArrayLike$2(value){return value!=null&&isLength(value.length)&&!isFunction$1(value);}var isArrayLike_1=isArrayLike$2;
4887
+
4888
+ var arrayLikeKeys$1=_arrayLikeKeys,baseKeys=_baseKeys,isArrayLike$1=isArrayLike_1;/**
4889
+ * Creates an array of the own enumerable property names of `object`.
4890
+ *
4891
+ * **Note:** Non-object values are coerced to objects. See the
4892
+ * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
4893
+ * for more details.
4894
+ *
4895
+ * @static
4896
+ * @since 0.1.0
4897
+ * @memberOf _
4898
+ * @category Object
4899
+ * @param {Object} object The object to query.
4900
+ * @returns {Array} Returns the array of property names.
4901
+ * @example
4902
+ *
4903
+ * function Foo() {
4904
+ * this.a = 1;
4905
+ * this.b = 2;
4906
+ * }
4907
+ *
4908
+ * Foo.prototype.c = 3;
4909
+ *
4910
+ * _.keys(new Foo);
4911
+ * // => ['a', 'b'] (iteration order is not guaranteed)
4912
+ *
4913
+ * _.keys('hi');
4914
+ * // => ['0', '1']
4915
+ */function keys$3(object){return isArrayLike$1(object)?arrayLikeKeys$1(object):baseKeys(object);}var keys_1=keys$3;
4916
+
4917
+ var copyObject$3=_copyObject,keys$2=keys_1;/**
4918
+ * The base implementation of `_.assign` without support for multiple sources
4919
+ * or `customizer` functions.
4920
+ *
4921
+ * @private
4922
+ * @param {Object} object The destination object.
4923
+ * @param {Object} source The source object.
4924
+ * @returns {Object} Returns `object`.
4925
+ */function baseAssign$1(object,source){return object&&copyObject$3(source,keys$2(source),object);}var _baseAssign=baseAssign$1;
4926
+
4927
+ function nativeKeysIn$1(object){var result=[];if(object!=null){for(var key in Object(object)){result.push(key);}}return result;}var _nativeKeysIn=nativeKeysIn$1;
4928
+
4929
+ var isObject$2=isObject_1,isPrototype$1=_isPrototype,nativeKeysIn=_nativeKeysIn;/** Used for built-in method references. */var objectProto$2=Object.prototype;/** Used to check objects for own properties. */var hasOwnProperty$1=objectProto$2.hasOwnProperty;/**
4930
+ * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
4931
+ *
4932
+ * @private
4933
+ * @param {Object} object The object to query.
4934
+ * @returns {Array} Returns the array of property names.
4935
+ */function baseKeysIn$1(object){if(!isObject$2(object)){return nativeKeysIn(object);}var isProto=isPrototype$1(object),result=[];for(var key in object){if(!(key=='constructor'&&(isProto||!hasOwnProperty$1.call(object,key)))){result.push(key);}}return result;}var _baseKeysIn=baseKeysIn$1;
4936
+
4937
+ var arrayLikeKeys=_arrayLikeKeys,baseKeysIn=_baseKeysIn,isArrayLike=isArrayLike_1;/**
4938
+ * Creates an array of the own and inherited enumerable property names of `object`.
4939
+ *
4940
+ * **Note:** Non-object values are coerced to objects.
4941
+ *
4942
+ * @static
4943
+ * @memberOf _
4944
+ * @since 3.0.0
4945
+ * @category Object
4946
+ * @param {Object} object The object to query.
4947
+ * @returns {Array} Returns the array of property names.
4948
+ * @example
4949
+ *
4950
+ * function Foo() {
4951
+ * this.a = 1;
4952
+ * this.b = 2;
4953
+ * }
4954
+ *
4955
+ * Foo.prototype.c = 3;
4956
+ *
4957
+ * _.keysIn(new Foo);
4958
+ * // => ['a', 'b', 'c'] (iteration order is not guaranteed)
4959
+ */function keysIn$3(object){return isArrayLike(object)?arrayLikeKeys(object,true):baseKeysIn(object);}var keysIn_1=keysIn$3;
4960
+
4961
+ var copyObject$2=_copyObject,keysIn$2=keysIn_1;/**
4962
+ * The base implementation of `_.assignIn` without support for multiple sources
4963
+ * or `customizer` functions.
4964
+ *
4965
+ * @private
4966
+ * @param {Object} object The destination object.
4967
+ * @param {Object} source The source object.
4968
+ * @returns {Object} Returns `object`.
4969
+ */function baseAssignIn$1(object,source){return object&&copyObject$2(source,keysIn$2(source),object);}var _baseAssignIn=baseAssignIn$1;
4970
+
4971
+ var _cloneBuffer = {exports: {}};
4972
+
4973
+ _cloneBuffer.exports;(function(module,exports){var root=_root;/** Detect free variable `exports`. */var freeExports=exports&&!exports.nodeType&&exports;/** Detect free variable `module`. */var freeModule=freeExports&&'object'=='object'&&module&&!module.nodeType&&module;/** Detect the popular CommonJS extension `module.exports`. */var moduleExports=freeModule&&freeModule.exports===freeExports;/** Built-in value references. */var Buffer=moduleExports?root.Buffer:undefined,allocUnsafe=Buffer?Buffer.allocUnsafe:undefined;/**
4974
+ * Creates a clone of `buffer`.
4703
4975
  *
4704
4976
  * @private
4705
4977
  * @param {Buffer} buffer The buffer to clone.
4706
4978
  * @param {boolean} [isDeep] Specify a deep clone.
4707
4979
  * @returns {Buffer} Returns the cloned buffer.
4708
- */function cloneBuffer(buffer,isDeep){if(isDeep){return buffer.slice();}var result=new buffer.constructor(buffer.length);buffer.copy(result);return result;}/**
4709
- * Creates a clone of `arrayBuffer`.
4710
- *
4711
- * @private
4712
- * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
4713
- * @returns {ArrayBuffer} Returns the cloned array buffer.
4714
- */function cloneArrayBuffer(arrayBuffer){var result=new arrayBuffer.constructor(arrayBuffer.byteLength);new Uint8Array(result).set(new Uint8Array(arrayBuffer));return result;}/**
4715
- * Creates a clone of `dataView`.
4716
- *
4717
- * @private
4718
- * @param {Object} dataView The data view to clone.
4719
- * @param {boolean} [isDeep] Specify a deep clone.
4720
- * @returns {Object} Returns the cloned data view.
4721
- */function cloneDataView(dataView,isDeep){var buffer=isDeep?cloneArrayBuffer(dataView.buffer):dataView.buffer;return new dataView.constructor(buffer,dataView.byteOffset,dataView.byteLength);}/**
4722
- * Creates a clone of `map`.
4723
- *
4724
- * @private
4725
- * @param {Object} map The map to clone.
4726
- * @param {Function} cloneFunc The function to clone values.
4727
- * @param {boolean} [isDeep] Specify a deep clone.
4728
- * @returns {Object} Returns the cloned map.
4729
- */function cloneMap(map,isDeep,cloneFunc){var array=isDeep?cloneFunc(mapToArray(map),true):mapToArray(map);return arrayReduce(array,addMapEntry,new map.constructor());}/**
4730
- * Creates a clone of `regexp`.
4731
- *
4732
- * @private
4733
- * @param {Object} regexp The regexp to clone.
4734
- * @returns {Object} Returns the cloned regexp.
4735
- */function cloneRegExp(regexp){var result=new regexp.constructor(regexp.source,reFlags.exec(regexp));result.lastIndex=regexp.lastIndex;return result;}/**
4736
- * Creates a clone of `set`.
4737
- *
4738
- * @private
4739
- * @param {Object} set The set to clone.
4740
- * @param {Function} cloneFunc The function to clone values.
4741
- * @param {boolean} [isDeep] Specify a deep clone.
4742
- * @returns {Object} Returns the cloned set.
4743
- */function cloneSet(set,isDeep,cloneFunc){var array=isDeep?cloneFunc(setToArray(set),true):setToArray(set);return arrayReduce(array,addSetEntry,new set.constructor());}/**
4744
- * Creates a clone of the `symbol` object.
4745
- *
4746
- * @private
4747
- * @param {Object} symbol The symbol object to clone.
4748
- * @returns {Object} Returns the cloned symbol object.
4749
- */function cloneSymbol(symbol){return symbolValueOf?Object(symbolValueOf.call(symbol)):{};}/**
4750
- * Creates a clone of `typedArray`.
4751
- *
4752
- * @private
4753
- * @param {Object} typedArray The typed array to clone.
4754
- * @param {boolean} [isDeep] Specify a deep clone.
4755
- * @returns {Object} Returns the cloned typed array.
4756
- */function cloneTypedArray(typedArray,isDeep){var buffer=isDeep?cloneArrayBuffer(typedArray.buffer):typedArray.buffer;return new typedArray.constructor(buffer,typedArray.byteOffset,typedArray.length);}/**
4757
- * Copies the values of `source` to `array`.
4758
- *
4759
- * @private
4760
- * @param {Array} source The array to copy values from.
4761
- * @param {Array} [array=[]] The array to copy values to.
4762
- * @returns {Array} Returns `array`.
4763
- */function copyArray(source,array){var index=-1,length=source.length;array||(array=Array(length));while(++index<length){array[index]=source[index];}return array;}/**
4764
- * Copies properties of `source` to `object`.
4765
- *
4766
- * @private
4767
- * @param {Object} source The object to copy properties from.
4768
- * @param {Array} props The property identifiers to copy.
4769
- * @param {Object} [object={}] The object to copy properties to.
4770
- * @param {Function} [customizer] The function to customize copied values.
4771
- * @returns {Object} Returns `object`.
4772
- */function copyObject(source,props,object,customizer){object||(object={});var index=-1,length=props.length;while(++index<length){var key=props[index];var newValue=customizer?customizer(object[key],source[key],key,object,source):undefined;assignValue(object,key,newValue===undefined?source[key]:newValue);}return object;}/**
4773
- * Copies own symbol properties of `source` to `object`.
4774
- *
4775
- * @private
4776
- * @param {Object} source The object to copy symbols from.
4777
- * @param {Object} [object={}] The object to copy symbols to.
4778
- * @returns {Object} Returns `object`.
4779
- */function copySymbols(source,object){return copyObject(source,getSymbols(source),object);}/**
4780
- * Creates an array of own enumerable property names and symbols of `object`.
4781
- *
4782
- * @private
4783
- * @param {Object} object The object to query.
4784
- * @returns {Array} Returns the array of property names and symbols.
4785
- */function getAllKeys(object){return baseGetAllKeys(object,keys,getSymbols);}/**
4786
- * Gets the data for `map`.
4787
- *
4788
- * @private
4789
- * @param {Object} map The map to query.
4790
- * @param {string} key The reference key.
4791
- * @returns {*} Returns the map data.
4792
- */function getMapData(map,key){var data=map.__data__;return isKeyable(key)?data[typeof key=='string'?'string':'hash']:data.map;}/**
4793
- * Gets the native function at `key` of `object`.
4794
- *
4795
- * @private
4796
- * @param {Object} object The object to query.
4797
- * @param {string} key The key of the method to get.
4798
- * @returns {*} Returns the function if it's native, else `undefined`.
4799
- */function getNative(object,key){var value=getValue(object,key);return baseIsNative(value)?value:undefined;}/**
4800
- * Creates an array of the own enumerable symbol properties of `object`.
4801
- *
4802
- * @private
4803
- * @param {Object} object The object to query.
4804
- * @returns {Array} Returns the array of symbols.
4805
- */var getSymbols=nativeGetSymbols?overArg(nativeGetSymbols,Object):stubArray;/**
4806
- * Gets the `toStringTag` of `value`.
4807
- *
4808
- * @private
4809
- * @param {*} value The value to query.
4810
- * @returns {string} Returns the `toStringTag`.
4811
- */var getTag=baseGetTag;// Fallback for data views, maps, sets, and weak maps in IE 11,
4812
- // for data views in Edge < 14, and promises in Node.js.
4813
- if(DataView&&getTag(new DataView(new ArrayBuffer(1)))!=dataViewTag||Map&&getTag(new Map())!=mapTag||Promise&&getTag(Promise.resolve())!=promiseTag||Set&&getTag(new Set())!=setTag||WeakMap&&getTag(new WeakMap())!=weakMapTag){getTag=function getTag(value){var result=objectToString.call(value),Ctor=result==objectTag?value.constructor:undefined,ctorString=Ctor?toSource(Ctor):undefined;if(ctorString){switch(ctorString){case dataViewCtorString:return dataViewTag;case mapCtorString:return mapTag;case promiseCtorString:return promiseTag;case setCtorString:return setTag;case weakMapCtorString:return weakMapTag;}}return result;};}/**
4814
- * Initializes an array clone.
4815
- *
4816
- * @private
4817
- * @param {Array} array The array to clone.
4818
- * @returns {Array} Returns the initialized clone.
4819
- */function initCloneArray(array){var length=array.length,result=array.constructor(length);// Add properties assigned by `RegExp#exec`.
4820
- if(length&&typeof array[0]=='string'&&hasOwnProperty.call(array,'index')){result.index=array.index;result.input=array.input;}return result;}/**
4821
- * Initializes an object clone.
4822
- *
4823
- * @private
4824
- * @param {Object} object The object to clone.
4825
- * @returns {Object} Returns the initialized clone.
4826
- */function initCloneObject(object){return typeof object.constructor=='function'&&!isPrototype(object)?baseCreate(getPrototype(object)):{};}/**
4827
- * Initializes an object clone based on its `toStringTag`.
4828
- *
4829
- * **Note:** This function only supports cloning values with tags of
4830
- * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.
4831
- *
4832
- * @private
4833
- * @param {Object} object The object to clone.
4834
- * @param {string} tag The `toStringTag` of the object to clone.
4835
- * @param {Function} cloneFunc The function to clone values.
4836
- * @param {boolean} [isDeep] Specify a deep clone.
4837
- * @returns {Object} Returns the initialized clone.
4838
- */function initCloneByTag(object,tag,cloneFunc,isDeep){var Ctor=object.constructor;switch(tag){case arrayBufferTag:return cloneArrayBuffer(object);case boolTag:case dateTag:return new Ctor(+object);case dataViewTag:return cloneDataView(object,isDeep);case float32Tag:case float64Tag:case int8Tag:case int16Tag:case int32Tag:case uint8Tag:case uint8ClampedTag:case uint16Tag:case uint32Tag:return cloneTypedArray(object,isDeep);case mapTag:return cloneMap(object,isDeep,cloneFunc);case numberTag:case stringTag:return new Ctor(object);case regexpTag:return cloneRegExp(object);case setTag:return cloneSet(object,isDeep,cloneFunc);case symbolTag:return cloneSymbol(object);}}/**
4839
- * Checks if `value` is a valid array-like index.
4840
- *
4841
- * @private
4842
- * @param {*} value The value to check.
4843
- * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
4844
- * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
4845
- */function isIndex(value,length){length=length==null?MAX_SAFE_INTEGER:length;return !!length&&(typeof value=='number'||reIsUint.test(value))&&value>-1&&value%1==0&&value<length;}/**
4846
- * Checks if `value` is suitable for use as unique object key.
4847
- *
4848
- * @private
4849
- * @param {*} value The value to check.
4850
- * @returns {boolean} Returns `true` if `value` is suitable, else `false`.
4851
- */function isKeyable(value){var type=_typeof(value);return type=='string'||type=='number'||type=='symbol'||type=='boolean'?value!=='__proto__':value===null;}/**
4852
- * Checks if `func` has its source masked.
4853
- *
4854
- * @private
4855
- * @param {Function} func The function to check.
4856
- * @returns {boolean} Returns `true` if `func` is masked, else `false`.
4857
- */function isMasked(func){return !!maskSrcKey&&maskSrcKey in func;}/**
4858
- * Checks if `value` is likely a prototype object.
4859
- *
4860
- * @private
4861
- * @param {*} value The value to check.
4862
- * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
4863
- */function isPrototype(value){var Ctor=value&&value.constructor,proto=typeof Ctor=='function'&&Ctor.prototype||objectProto;return value===proto;}/**
4864
- * Converts `func` to its source code.
4865
- *
4866
- * @private
4867
- * @param {Function} func The function to process.
4868
- * @returns {string} Returns the source code.
4869
- */function toSource(func){if(func!=null){try{return funcToString.call(func);}catch(e){}try{return func+'';}catch(e){}}return '';}/**
4870
- * This method is like `_.clone` except that it recursively clones `value`.
4871
- *
4872
- * @static
4873
- * @memberOf _
4874
- * @since 1.0.0
4875
- * @category Lang
4876
- * @param {*} value The value to recursively clone.
4877
- * @returns {*} Returns the deep cloned value.
4878
- * @see _.clone
4879
- * @example
4880
- *
4881
- * var objects = [{ 'a': 1 }, { 'b': 2 }];
4882
- *
4883
- * var deep = _.cloneDeep(objects);
4884
- * console.log(deep[0] === objects[0]);
4885
- * // => false
4886
- */function cloneDeep(value){return baseClone(value,true,true);}/**
4887
- * Performs a
4888
- * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
4889
- * comparison between two values to determine if they are equivalent.
4890
- *
4891
- * @static
4892
- * @memberOf _
4893
- * @since 4.0.0
4894
- * @category Lang
4895
- * @param {*} value The value to compare.
4896
- * @param {*} other The other value to compare.
4897
- * @returns {boolean} Returns `true` if the values are equivalent, else `false`.
4898
- * @example
4899
- *
4900
- * var object = { 'a': 1 };
4901
- * var other = { 'a': 1 };
4902
- *
4903
- * _.eq(object, object);
4904
- * // => true
4905
- *
4906
- * _.eq(object, other);
4907
- * // => false
4908
- *
4909
- * _.eq('a', 'a');
4910
- * // => true
4911
- *
4912
- * _.eq('a', Object('a'));
4913
- * // => false
4914
- *
4915
- * _.eq(NaN, NaN);
4916
- * // => true
4917
- */function eq(value,other){return value===other||value!==value&&other!==other;}/**
4918
- * Checks if `value` is likely an `arguments` object.
4919
- *
4920
- * @static
4921
- * @memberOf _
4922
- * @since 0.1.0
4923
- * @category Lang
4924
- * @param {*} value The value to check.
4925
- * @returns {boolean} Returns `true` if `value` is an `arguments` object,
4926
- * else `false`.
4927
- * @example
4928
- *
4929
- * _.isArguments(function() { return arguments; }());
4930
- * // => true
4931
- *
4932
- * _.isArguments([1, 2, 3]);
4933
- * // => false
4934
- */function isArguments(value){// Safari 8.1 makes `arguments.callee` enumerable in strict mode.
4935
- return isArrayLikeObject(value)&&hasOwnProperty.call(value,'callee')&&(!propertyIsEnumerable.call(value,'callee')||objectToString.call(value)==argsTag);}/**
4936
- * Checks if `value` is classified as an `Array` object.
4937
- *
4938
- * @static
4939
- * @memberOf _
4940
- * @since 0.1.0
4941
- * @category Lang
4942
- * @param {*} value The value to check.
4943
- * @returns {boolean} Returns `true` if `value` is an array, else `false`.
4944
- * @example
4945
- *
4946
- * _.isArray([1, 2, 3]);
4947
- * // => true
4948
- *
4949
- * _.isArray(document.body.children);
4950
- * // => false
4951
- *
4952
- * _.isArray('abc');
4953
- * // => false
4954
- *
4955
- * _.isArray(_.noop);
4956
- * // => false
4957
- */var isArray=Array.isArray;/**
4958
- * Checks if `value` is array-like. A value is considered array-like if it's
4959
- * not a function and has a `value.length` that's an integer greater than or
4960
- * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
4961
- *
4962
- * @static
4963
- * @memberOf _
4964
- * @since 4.0.0
4965
- * @category Lang
4966
- * @param {*} value The value to check.
4967
- * @returns {boolean} Returns `true` if `value` is array-like, else `false`.
4968
- * @example
4969
- *
4970
- * _.isArrayLike([1, 2, 3]);
4971
- * // => true
4972
- *
4973
- * _.isArrayLike(document.body.children);
4974
- * // => true
4975
- *
4976
- * _.isArrayLike('abc');
4977
- * // => true
4978
- *
4979
- * _.isArrayLike(_.noop);
4980
- * // => false
4981
- */function isArrayLike(value){return value!=null&&isLength(value.length)&&!isFunction(value);}/**
4982
- * This method is like `_.isArrayLike` except that it also checks if `value`
4983
- * is an object.
4984
- *
4985
- * @static
4986
- * @memberOf _
4987
- * @since 4.0.0
4988
- * @category Lang
4989
- * @param {*} value The value to check.
4990
- * @returns {boolean} Returns `true` if `value` is an array-like object,
4991
- * else `false`.
4992
- * @example
4993
- *
4994
- * _.isArrayLikeObject([1, 2, 3]);
4995
- * // => true
4996
- *
4997
- * _.isArrayLikeObject(document.body.children);
4998
- * // => true
4999
- *
5000
- * _.isArrayLikeObject('abc');
5001
- * // => false
5002
- *
5003
- * _.isArrayLikeObject(_.noop);
5004
- * // => false
5005
- */function isArrayLikeObject(value){return isObjectLike(value)&&isArrayLike(value);}/**
5006
- * Checks if `value` is a buffer.
5007
- *
5008
- * @static
5009
- * @memberOf _
5010
- * @since 4.3.0
5011
- * @category Lang
5012
- * @param {*} value The value to check.
5013
- * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
5014
- * @example
5015
- *
5016
- * _.isBuffer(new Buffer(2));
5017
- * // => true
5018
- *
5019
- * _.isBuffer(new Uint8Array(2));
5020
- * // => false
5021
- */var isBuffer=nativeIsBuffer||stubFalse;/**
5022
- * Checks if `value` is classified as a `Function` object.
5023
- *
5024
- * @static
5025
- * @memberOf _
5026
- * @since 0.1.0
5027
- * @category Lang
5028
- * @param {*} value The value to check.
5029
- * @returns {boolean} Returns `true` if `value` is a function, else `false`.
5030
- * @example
5031
- *
5032
- * _.isFunction(_);
5033
- * // => true
5034
- *
5035
- * _.isFunction(/abc/);
5036
- * // => false
5037
- */function isFunction(value){// The use of `Object#toString` avoids issues with the `typeof` operator
5038
- // in Safari 8-9 which returns 'object' for typed array and other constructors.
5039
- var tag=isObject(value)?objectToString.call(value):'';return tag==funcTag||tag==genTag;}/**
5040
- * Checks if `value` is a valid array-like length.
5041
- *
5042
- * **Note:** This method is loosely based on
5043
- * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
5044
- *
5045
- * @static
5046
- * @memberOf _
5047
- * @since 4.0.0
5048
- * @category Lang
5049
- * @param {*} value The value to check.
5050
- * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
5051
- * @example
5052
- *
5053
- * _.isLength(3);
5054
- * // => true
5055
- *
5056
- * _.isLength(Number.MIN_VALUE);
5057
- * // => false
5058
- *
5059
- * _.isLength(Infinity);
5060
- * // => false
5061
- *
5062
- * _.isLength('3');
5063
- * // => false
5064
- */function isLength(value){return typeof value=='number'&&value>-1&&value%1==0&&value<=MAX_SAFE_INTEGER;}/**
5065
- * Checks if `value` is the
5066
- * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
5067
- * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
5068
- *
5069
- * @static
5070
- * @memberOf _
5071
- * @since 0.1.0
5072
- * @category Lang
5073
- * @param {*} value The value to check.
5074
- * @returns {boolean} Returns `true` if `value` is an object, else `false`.
5075
- * @example
5076
- *
5077
- * _.isObject({});
5078
- * // => true
5079
- *
5080
- * _.isObject([1, 2, 3]);
5081
- * // => true
5082
- *
5083
- * _.isObject(_.noop);
5084
- * // => true
5085
- *
5086
- * _.isObject(null);
5087
- * // => false
5088
- */function isObject(value){var type=_typeof(value);return !!value&&(type=='object'||type=='function');}/**
5089
- * Checks if `value` is object-like. A value is object-like if it's not `null`
5090
- * and has a `typeof` result of "object".
5091
- *
5092
- * @static
5093
- * @memberOf _
5094
- * @since 4.0.0
5095
- * @category Lang
5096
- * @param {*} value The value to check.
5097
- * @returns {boolean} Returns `true` if `value` is object-like, else `false`.
5098
- * @example
5099
- *
5100
- * _.isObjectLike({});
5101
- * // => true
5102
- *
5103
- * _.isObjectLike([1, 2, 3]);
5104
- * // => true
5105
- *
5106
- * _.isObjectLike(_.noop);
5107
- * // => false
5108
- *
5109
- * _.isObjectLike(null);
5110
- * // => false
5111
- */function isObjectLike(value){return !!value&&_typeof(value)=='object';}/**
5112
- * Creates an array of the own enumerable property names of `object`.
5113
- *
5114
- * **Note:** Non-object values are coerced to objects. See the
5115
- * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
5116
- * for more details.
5117
- *
5118
- * @static
5119
- * @since 0.1.0
5120
- * @memberOf _
5121
- * @category Object
5122
- * @param {Object} object The object to query.
5123
- * @returns {Array} Returns the array of property names.
5124
- * @example
5125
- *
5126
- * function Foo() {
5127
- * this.a = 1;
5128
- * this.b = 2;
5129
- * }
5130
- *
5131
- * Foo.prototype.c = 3;
5132
- *
5133
- * _.keys(new Foo);
5134
- * // => ['a', 'b'] (iteration order is not guaranteed)
5135
- *
5136
- * _.keys('hi');
5137
- * // => ['0', '1']
5138
- */function keys(object){return isArrayLike(object)?arrayLikeKeys(object):baseKeys(object);}/**
5139
- * This method returns a new empty array.
5140
- *
5141
- * @static
5142
- * @memberOf _
5143
- * @since 4.13.0
5144
- * @category Util
5145
- * @returns {Array} Returns the new empty array.
5146
- * @example
5147
- *
5148
- * var arrays = _.times(2, _.stubArray);
5149
- *
5150
- * console.log(arrays);
5151
- * // => [[], []]
5152
- *
5153
- * console.log(arrays[0] === arrays[1]);
5154
- * // => false
5155
- */function stubArray(){return [];}/**
5156
- * This method returns `false`.
5157
- *
5158
- * @static
5159
- * @memberOf _
5160
- * @since 4.13.0
5161
- * @category Util
5162
- * @returns {boolean} Returns `false`.
5163
- * @example
5164
- *
5165
- * _.times(2, _.stubFalse);
5166
- * // => [false, false]
5167
- */function stubFalse(){return false;}module.exports=cloneDeep;})(lodash_clonedeep,lodash_clonedeep.exports);var lodash_clonedeepExports=lodash_clonedeep.exports;var cloneDeep = /*@__PURE__*/getDefaultExportFromCjs(lodash_clonedeepExports);
4980
+ */function cloneBuffer(buffer,isDeep){if(isDeep){return buffer.slice();}var length=buffer.length,result=allocUnsafe?allocUnsafe(length):new buffer.constructor(length);buffer.copy(result);return result;}module.exports=cloneBuffer;})(_cloneBuffer,_cloneBuffer.exports);var _cloneBufferExports=_cloneBuffer.exports;
4981
+
4982
+ function copyArray$1(source,array){var index=-1,length=source.length;array||(array=Array(length));while(++index<length){array[index]=source[index];}return array;}var _copyArray=copyArray$1;
4983
+
4984
+ function arrayFilter$1(array,predicate){var index=-1,length=array==null?0:array.length,resIndex=0,result=[];while(++index<length){var value=array[index];if(predicate(value,index,array)){result[resIndex++]=value;}}return result;}var _arrayFilter=arrayFilter$1;
4985
+
4986
+ function stubArray$2(){return [];}var stubArray_1=stubArray$2;
4987
+
4988
+ var arrayFilter=_arrayFilter,stubArray$1=stubArray_1;/** Used for built-in method references. */var objectProto$1=Object.prototype;/** Built-in value references. */var propertyIsEnumerable=objectProto$1.propertyIsEnumerable;/* Built-in method references for those with the same name as other `lodash` methods. */var nativeGetSymbols$1=Object.getOwnPropertySymbols;/**
4989
+ * Creates an array of the own enumerable symbols of `object`.
4990
+ *
4991
+ * @private
4992
+ * @param {Object} object The object to query.
4993
+ * @returns {Array} Returns the array of symbols.
4994
+ */var getSymbols$3=!nativeGetSymbols$1?stubArray$1:function(object){if(object==null){return [];}object=Object(object);return arrayFilter(nativeGetSymbols$1(object),function(symbol){return propertyIsEnumerable.call(object,symbol);});};var _getSymbols=getSymbols$3;
4995
+
4996
+ var copyObject$1=_copyObject,getSymbols$2=_getSymbols;/**
4997
+ * Copies own symbols of `source` to `object`.
4998
+ *
4999
+ * @private
5000
+ * @param {Object} source The object to copy symbols from.
5001
+ * @param {Object} [object={}] The object to copy symbols to.
5002
+ * @returns {Object} Returns `object`.
5003
+ */function copySymbols$1(source,object){return copyObject$1(source,getSymbols$2(source),object);}var _copySymbols=copySymbols$1;
5004
+
5005
+ function arrayPush$2(array,values){var index=-1,length=values.length,offset=array.length;while(++index<length){array[offset+index]=values[index];}return array;}var _arrayPush=arrayPush$2;
5006
+
5007
+ var overArg=_overArg;/** Built-in value references. */var getPrototype$2=overArg(Object.getPrototypeOf,Object);var _getPrototype=getPrototype$2;
5008
+
5009
+ var arrayPush$1=_arrayPush,getPrototype$1=_getPrototype,getSymbols$1=_getSymbols,stubArray=stubArray_1;/* Built-in method references for those with the same name as other `lodash` methods. */var nativeGetSymbols=Object.getOwnPropertySymbols;/**
5010
+ * Creates an array of the own and inherited enumerable symbols of `object`.
5011
+ *
5012
+ * @private
5013
+ * @param {Object} object The object to query.
5014
+ * @returns {Array} Returns the array of symbols.
5015
+ */var getSymbolsIn$2=!nativeGetSymbols?stubArray:function(object){var result=[];while(object){arrayPush$1(result,getSymbols$1(object));object=getPrototype$1(object);}return result;};var _getSymbolsIn=getSymbolsIn$2;
5016
+
5017
+ var copyObject=_copyObject,getSymbolsIn$1=_getSymbolsIn;/**
5018
+ * Copies own and inherited symbols of `source` to `object`.
5019
+ *
5020
+ * @private
5021
+ * @param {Object} source The object to copy symbols from.
5022
+ * @param {Object} [object={}] The object to copy symbols to.
5023
+ * @returns {Object} Returns `object`.
5024
+ */function copySymbolsIn$1(source,object){return copyObject(source,getSymbolsIn$1(source),object);}var _copySymbolsIn=copySymbolsIn$1;
5025
+
5026
+ var arrayPush=_arrayPush,isArray$1=isArray_1;/**
5027
+ * The base implementation of `getAllKeys` and `getAllKeysIn` which uses
5028
+ * `keysFunc` and `symbolsFunc` to get the enumerable property names and
5029
+ * symbols of `object`.
5030
+ *
5031
+ * @private
5032
+ * @param {Object} object The object to query.
5033
+ * @param {Function} keysFunc The function to get the keys of `object`.
5034
+ * @param {Function} symbolsFunc The function to get the symbols of `object`.
5035
+ * @returns {Array} Returns the array of property names and symbols.
5036
+ */function baseGetAllKeys$2(object,keysFunc,symbolsFunc){var result=keysFunc(object);return isArray$1(object)?result:arrayPush(result,symbolsFunc(object));}var _baseGetAllKeys=baseGetAllKeys$2;
5037
+
5038
+ var baseGetAllKeys$1=_baseGetAllKeys,getSymbols=_getSymbols,keys$1=keys_1;/**
5039
+ * Creates an array of own enumerable property names and symbols of `object`.
5040
+ *
5041
+ * @private
5042
+ * @param {Object} object The object to query.
5043
+ * @returns {Array} Returns the array of property names and symbols.
5044
+ */function getAllKeys$1(object){return baseGetAllKeys$1(object,keys$1,getSymbols);}var _getAllKeys=getAllKeys$1;
5045
+
5046
+ var baseGetAllKeys=_baseGetAllKeys,getSymbolsIn=_getSymbolsIn,keysIn$1=keysIn_1;/**
5047
+ * Creates an array of own and inherited enumerable property names and
5048
+ * symbols of `object`.
5049
+ *
5050
+ * @private
5051
+ * @param {Object} object The object to query.
5052
+ * @returns {Array} Returns the array of property names and symbols.
5053
+ */function getAllKeysIn$1(object){return baseGetAllKeys(object,keysIn$1,getSymbolsIn);}var _getAllKeysIn=getAllKeysIn$1;
5054
+
5055
+ var getNative$3=_getNative,root$4=_root;/* Built-in method references that are verified to be native. */var DataView$2=getNative$3(root$4,'DataView');var _DataView=DataView$2;
5056
+
5057
+ var getNative$2=_getNative,root$3=_root;/* Built-in method references that are verified to be native. */var Promise$2=getNative$2(root$3,'Promise');var _Promise=Promise$2;
5058
+
5059
+ var getNative$1=_getNative,root$2=_root;/* Built-in method references that are verified to be native. */var Set$2=getNative$1(root$2,'Set');var _Set=Set$2;
5060
+
5061
+ var getNative=_getNative,root$1=_root;/* Built-in method references that are verified to be native. */var WeakMap$1=getNative(root$1,'WeakMap');var _WeakMap=WeakMap$1;
5062
+
5063
+ var DataView$1=_DataView,Map=_Map,Promise$1=_Promise,Set$1=_Set,WeakMap=_WeakMap,baseGetTag=_baseGetTag,toSource=_toSource;/** `Object#toString` result references. */var mapTag$3='[object Map]',objectTag$1='[object Object]',promiseTag='[object Promise]',setTag$3='[object Set]',weakMapTag$1='[object WeakMap]';var dataViewTag$2='[object DataView]';/** Used to detect maps, sets, and weakmaps. */var dataViewCtorString=toSource(DataView$1),mapCtorString=toSource(Map),promiseCtorString=toSource(Promise$1),setCtorString=toSource(Set$1),weakMapCtorString=toSource(WeakMap);/**
5064
+ * Gets the `toStringTag` of `value`.
5065
+ *
5066
+ * @private
5067
+ * @param {*} value The value to query.
5068
+ * @returns {string} Returns the `toStringTag`.
5069
+ */var getTag$3=baseGetTag;// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
5070
+ if(DataView$1&&getTag$3(new DataView$1(new ArrayBuffer(1)))!=dataViewTag$2||Map&&getTag$3(new Map())!=mapTag$3||Promise$1&&getTag$3(Promise$1.resolve())!=promiseTag||Set$1&&getTag$3(new Set$1())!=setTag$3||WeakMap&&getTag$3(new WeakMap())!=weakMapTag$1){getTag$3=function getTag(value){var result=baseGetTag(value),Ctor=result==objectTag$1?value.constructor:undefined,ctorString=Ctor?toSource(Ctor):'';if(ctorString){switch(ctorString){case dataViewCtorString:return dataViewTag$2;case mapCtorString:return mapTag$3;case promiseCtorString:return promiseTag;case setCtorString:return setTag$3;case weakMapCtorString:return weakMapTag$1;}}return result;};}var _getTag=getTag$3;
5071
+
5072
+ var objectProto=Object.prototype;/** Used to check objects for own properties. */var hasOwnProperty=objectProto.hasOwnProperty;/**
5073
+ * Initializes an array clone.
5074
+ *
5075
+ * @private
5076
+ * @param {Array} array The array to clone.
5077
+ * @returns {Array} Returns the initialized clone.
5078
+ */function initCloneArray$1(array){var length=array.length,result=new array.constructor(length);// Add properties assigned by `RegExp#exec`.
5079
+ if(length&&typeof array[0]=='string'&&hasOwnProperty.call(array,'index')){result.index=array.index;result.input=array.input;}return result;}var _initCloneArray=initCloneArray$1;
5080
+
5081
+ var root=_root;/** Built-in value references. */var Uint8Array$2=root.Uint8Array;var _Uint8Array=Uint8Array$2;
5082
+
5083
+ var Uint8Array$1=_Uint8Array;/**
5084
+ * Creates a clone of `arrayBuffer`.
5085
+ *
5086
+ * @private
5087
+ * @param {ArrayBuffer} arrayBuffer The array buffer to clone.
5088
+ * @returns {ArrayBuffer} Returns the cloned array buffer.
5089
+ */function cloneArrayBuffer$3(arrayBuffer){var result=new arrayBuffer.constructor(arrayBuffer.byteLength);new Uint8Array$1(result).set(new Uint8Array$1(arrayBuffer));return result;}var _cloneArrayBuffer=cloneArrayBuffer$3;
5090
+
5091
+ var cloneArrayBuffer$2=_cloneArrayBuffer;/**
5092
+ * Creates a clone of `dataView`.
5093
+ *
5094
+ * @private
5095
+ * @param {Object} dataView The data view to clone.
5096
+ * @param {boolean} [isDeep] Specify a deep clone.
5097
+ * @returns {Object} Returns the cloned data view.
5098
+ */function cloneDataView$1(dataView,isDeep){var buffer=isDeep?cloneArrayBuffer$2(dataView.buffer):dataView.buffer;return new dataView.constructor(buffer,dataView.byteOffset,dataView.byteLength);}var _cloneDataView=cloneDataView$1;
5099
+
5100
+ var reFlags=/\w*$/;/**
5101
+ * Creates a clone of `regexp`.
5102
+ *
5103
+ * @private
5104
+ * @param {Object} regexp The regexp to clone.
5105
+ * @returns {Object} Returns the cloned regexp.
5106
+ */function cloneRegExp$1(regexp){var result=new regexp.constructor(regexp.source,reFlags.exec(regexp));result.lastIndex=regexp.lastIndex;return result;}var _cloneRegExp=cloneRegExp$1;
5107
+
5108
+ var _Symbol=_Symbol$3;/** Used to convert symbols to primitives and strings. */var symbolProto=_Symbol?_Symbol.prototype:undefined,symbolValueOf=symbolProto?symbolProto.valueOf:undefined;/**
5109
+ * Creates a clone of the `symbol` object.
5110
+ *
5111
+ * @private
5112
+ * @param {Object} symbol The symbol object to clone.
5113
+ * @returns {Object} Returns the cloned symbol object.
5114
+ */function cloneSymbol$1(symbol){return symbolValueOf?Object(symbolValueOf.call(symbol)):{};}var _cloneSymbol=cloneSymbol$1;
5115
+
5116
+ var cloneArrayBuffer$1=_cloneArrayBuffer;/**
5117
+ * Creates a clone of `typedArray`.
5118
+ *
5119
+ * @private
5120
+ * @param {Object} typedArray The typed array to clone.
5121
+ * @param {boolean} [isDeep] Specify a deep clone.
5122
+ * @returns {Object} Returns the cloned typed array.
5123
+ */function cloneTypedArray$1(typedArray,isDeep){var buffer=isDeep?cloneArrayBuffer$1(typedArray.buffer):typedArray.buffer;return new typedArray.constructor(buffer,typedArray.byteOffset,typedArray.length);}var _cloneTypedArray=cloneTypedArray$1;
5124
+
5125
+ var cloneArrayBuffer=_cloneArrayBuffer,cloneDataView=_cloneDataView,cloneRegExp=_cloneRegExp,cloneSymbol=_cloneSymbol,cloneTypedArray=_cloneTypedArray;/** `Object#toString` result references. */var boolTag$1='[object Boolean]',dateTag$1='[object Date]',mapTag$2='[object Map]',numberTag$1='[object Number]',regexpTag$1='[object RegExp]',setTag$2='[object Set]',stringTag$1='[object String]',symbolTag$1='[object Symbol]';var arrayBufferTag$1='[object ArrayBuffer]',dataViewTag$1='[object DataView]',float32Tag$1='[object Float32Array]',float64Tag$1='[object Float64Array]',int8Tag$1='[object Int8Array]',int16Tag$1='[object Int16Array]',int32Tag$1='[object Int32Array]',uint8Tag$1='[object Uint8Array]',uint8ClampedTag$1='[object Uint8ClampedArray]',uint16Tag$1='[object Uint16Array]',uint32Tag$1='[object Uint32Array]';/**
5126
+ * Initializes an object clone based on its `toStringTag`.
5127
+ *
5128
+ * **Note:** This function only supports cloning values with tags of
5129
+ * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.
5130
+ *
5131
+ * @private
5132
+ * @param {Object} object The object to clone.
5133
+ * @param {string} tag The `toStringTag` of the object to clone.
5134
+ * @param {boolean} [isDeep] Specify a deep clone.
5135
+ * @returns {Object} Returns the initialized clone.
5136
+ */function initCloneByTag$1(object,tag,isDeep){var Ctor=object.constructor;switch(tag){case arrayBufferTag$1:return cloneArrayBuffer(object);case boolTag$1:case dateTag$1:return new Ctor(+object);case dataViewTag$1:return cloneDataView(object,isDeep);case float32Tag$1:case float64Tag$1:case int8Tag$1:case int16Tag$1:case int32Tag$1:case uint8Tag$1:case uint8ClampedTag$1:case uint16Tag$1:case uint32Tag$1:return cloneTypedArray(object,isDeep);case mapTag$2:return new Ctor();case numberTag$1:case stringTag$1:return new Ctor(object);case regexpTag$1:return cloneRegExp(object);case setTag$2:return new Ctor();case symbolTag$1:return cloneSymbol(object);}}var _initCloneByTag=initCloneByTag$1;
5137
+
5138
+ var isObject$1=isObject_1;/** Built-in value references. */var objectCreate=Object.create;/**
5139
+ * The base implementation of `_.create` without support for assigning
5140
+ * properties to the created object.
5141
+ *
5142
+ * @private
5143
+ * @param {Object} proto The object to inherit from.
5144
+ * @returns {Object} Returns the new object.
5145
+ */var baseCreate$1=function(){function object(){}return function(proto){if(!isObject$1(proto)){return {};}if(objectCreate){return objectCreate(proto);}object.prototype=proto;var result=new object();object.prototype=undefined;return result;};}();var _baseCreate=baseCreate$1;
5146
+
5147
+ var baseCreate=_baseCreate,getPrototype=_getPrototype,isPrototype=_isPrototype;/**
5148
+ * Initializes an object clone.
5149
+ *
5150
+ * @private
5151
+ * @param {Object} object The object to clone.
5152
+ * @returns {Object} Returns the initialized clone.
5153
+ */function initCloneObject$1(object){return typeof object.constructor=='function'&&!isPrototype(object)?baseCreate(getPrototype(object)):{};}var _initCloneObject=initCloneObject$1;
5154
+
5155
+ var getTag$2=_getTag,isObjectLike$1=isObjectLike_1;/** `Object#toString` result references. */var mapTag$1='[object Map]';/**
5156
+ * The base implementation of `_.isMap` without Node.js optimizations.
5157
+ *
5158
+ * @private
5159
+ * @param {*} value The value to check.
5160
+ * @returns {boolean} Returns `true` if `value` is a map, else `false`.
5161
+ */function baseIsMap$1(value){return isObjectLike$1(value)&&getTag$2(value)==mapTag$1;}var _baseIsMap=baseIsMap$1;
5162
+
5163
+ var baseIsMap=_baseIsMap,baseUnary$1=_baseUnary,nodeUtil$1=_nodeUtilExports;/* Node.js helper references. */var nodeIsMap=nodeUtil$1&&nodeUtil$1.isMap;/**
5164
+ * Checks if `value` is classified as a `Map` object.
5165
+ *
5166
+ * @static
5167
+ * @memberOf _
5168
+ * @since 4.3.0
5169
+ * @category Lang
5170
+ * @param {*} value The value to check.
5171
+ * @returns {boolean} Returns `true` if `value` is a map, else `false`.
5172
+ * @example
5173
+ *
5174
+ * _.isMap(new Map);
5175
+ * // => true
5176
+ *
5177
+ * _.isMap(new WeakMap);
5178
+ * // => false
5179
+ */var isMap$1=nodeIsMap?baseUnary$1(nodeIsMap):baseIsMap;var isMap_1=isMap$1;
5180
+
5181
+ var getTag$1=_getTag,isObjectLike=isObjectLike_1;/** `Object#toString` result references. */var setTag$1='[object Set]';/**
5182
+ * The base implementation of `_.isSet` without Node.js optimizations.
5183
+ *
5184
+ * @private
5185
+ * @param {*} value The value to check.
5186
+ * @returns {boolean} Returns `true` if `value` is a set, else `false`.
5187
+ */function baseIsSet$1(value){return isObjectLike(value)&&getTag$1(value)==setTag$1;}var _baseIsSet=baseIsSet$1;
5188
+
5189
+ var baseIsSet=_baseIsSet,baseUnary=_baseUnary,nodeUtil=_nodeUtilExports;/* Node.js helper references. */var nodeIsSet=nodeUtil&&nodeUtil.isSet;/**
5190
+ * Checks if `value` is classified as a `Set` object.
5191
+ *
5192
+ * @static
5193
+ * @memberOf _
5194
+ * @since 4.3.0
5195
+ * @category Lang
5196
+ * @param {*} value The value to check.
5197
+ * @returns {boolean} Returns `true` if `value` is a set, else `false`.
5198
+ * @example
5199
+ *
5200
+ * _.isSet(new Set);
5201
+ * // => true
5202
+ *
5203
+ * _.isSet(new WeakSet);
5204
+ * // => false
5205
+ */var isSet$1=nodeIsSet?baseUnary(nodeIsSet):baseIsSet;var isSet_1=isSet$1;
5206
+
5207
+ var Stack=_Stack,arrayEach=_arrayEach,assignValue=_assignValue,baseAssign=_baseAssign,baseAssignIn=_baseAssignIn,cloneBuffer=_cloneBufferExports,copyArray=_copyArray,copySymbols=_copySymbols,copySymbolsIn=_copySymbolsIn,getAllKeys=_getAllKeys,getAllKeysIn=_getAllKeysIn,getTag=_getTag,initCloneArray=_initCloneArray,initCloneByTag=_initCloneByTag,initCloneObject=_initCloneObject,isArray=isArray_1,isBuffer=isBufferExports,isMap=isMap_1,isObject=isObject_1,isSet=isSet_1,keys=keys_1,keysIn=keysIn_1;/** Used to compose bitmasks for cloning. */var CLONE_DEEP_FLAG$1=1,CLONE_FLAT_FLAG=2,CLONE_SYMBOLS_FLAG$1=4;/** `Object#toString` result references. */var argsTag='[object Arguments]',arrayTag='[object Array]',boolTag='[object Boolean]',dateTag='[object Date]',errorTag='[object Error]',funcTag='[object Function]',genTag='[object GeneratorFunction]',mapTag='[object Map]',numberTag='[object Number]',objectTag='[object Object]',regexpTag='[object RegExp]',setTag='[object Set]',stringTag='[object String]',symbolTag='[object Symbol]',weakMapTag='[object WeakMap]';var arrayBufferTag='[object ArrayBuffer]',dataViewTag='[object DataView]',float32Tag='[object Float32Array]',float64Tag='[object Float64Array]',int8Tag='[object Int8Array]',int16Tag='[object Int16Array]',int32Tag='[object Int32Array]',uint8Tag='[object Uint8Array]',uint8ClampedTag='[object Uint8ClampedArray]',uint16Tag='[object Uint16Array]',uint32Tag='[object Uint32Array]';/** Used to identify `toStringTag` values supported by `_.clone`. */var cloneableTags={};cloneableTags[argsTag]=cloneableTags[arrayTag]=cloneableTags[arrayBufferTag]=cloneableTags[dataViewTag]=cloneableTags[boolTag]=cloneableTags[dateTag]=cloneableTags[float32Tag]=cloneableTags[float64Tag]=cloneableTags[int8Tag]=cloneableTags[int16Tag]=cloneableTags[int32Tag]=cloneableTags[mapTag]=cloneableTags[numberTag]=cloneableTags[objectTag]=cloneableTags[regexpTag]=cloneableTags[setTag]=cloneableTags[stringTag]=cloneableTags[symbolTag]=cloneableTags[uint8Tag]=cloneableTags[uint8ClampedTag]=cloneableTags[uint16Tag]=cloneableTags[uint32Tag]=true;cloneableTags[errorTag]=cloneableTags[funcTag]=cloneableTags[weakMapTag]=false;/**
5208
+ * The base implementation of `_.clone` and `_.cloneDeep` which tracks
5209
+ * traversed objects.
5210
+ *
5211
+ * @private
5212
+ * @param {*} value The value to clone.
5213
+ * @param {boolean} bitmask The bitmask flags.
5214
+ * 1 - Deep clone
5215
+ * 2 - Flatten inherited properties
5216
+ * 4 - Clone symbols
5217
+ * @param {Function} [customizer] The function to customize cloning.
5218
+ * @param {string} [key] The key of `value`.
5219
+ * @param {Object} [object] The parent object of `value`.
5220
+ * @param {Object} [stack] Tracks traversed objects and their clone counterparts.
5221
+ * @returns {*} Returns the cloned value.
5222
+ */function baseClone$1(value,bitmask,customizer,key,object,stack){var result,isDeep=bitmask&CLONE_DEEP_FLAG$1,isFlat=bitmask&CLONE_FLAT_FLAG,isFull=bitmask&CLONE_SYMBOLS_FLAG$1;if(customizer){result=object?customizer(value,key,object,stack):customizer(value);}if(result!==undefined){return result;}if(!isObject(value)){return value;}var isArr=isArray(value);if(isArr){result=initCloneArray(value);if(!isDeep){return copyArray(value,result);}}else {var tag=getTag(value),isFunc=tag==funcTag||tag==genTag;if(isBuffer(value)){return cloneBuffer(value,isDeep);}if(tag==objectTag||tag==argsTag||isFunc&&!object){result=isFlat||isFunc?{}:initCloneObject(value);if(!isDeep){return isFlat?copySymbolsIn(value,baseAssignIn(result,value)):copySymbols(value,baseAssign(result,value));}}else {if(!cloneableTags[tag]){return object?value:{};}result=initCloneByTag(value,tag,isDeep);}}// Check for circular references and return its corresponding clone.
5223
+ stack||(stack=new Stack());var stacked=stack.get(value);if(stacked){return stacked;}stack.set(value,result);if(isSet(value)){value.forEach(function(subValue){result.add(baseClone$1(subValue,bitmask,customizer,subValue,value,stack));});}else if(isMap(value)){value.forEach(function(subValue,key){result.set(key,baseClone$1(subValue,bitmask,customizer,key,value,stack));});}var keysFunc=isFull?isFlat?getAllKeysIn:getAllKeys:isFlat?keysIn:keys;var props=isArr?undefined:keysFunc(value);arrayEach(props||value,function(subValue,key){if(props){key=subValue;subValue=value[key];}// Recursively populate clone (susceptible to call stack limits).
5224
+ assignValue(result,key,baseClone$1(subValue,bitmask,customizer,key,value,stack));});return result;}var _baseClone=baseClone$1;
5225
+
5226
+ var baseClone=_baseClone;/** Used to compose bitmasks for cloning. */var CLONE_DEEP_FLAG=1,CLONE_SYMBOLS_FLAG=4;/**
5227
+ * This method is like `_.clone` except that it recursively clones `value`.
5228
+ *
5229
+ * @static
5230
+ * @memberOf _
5231
+ * @since 1.0.0
5232
+ * @category Lang
5233
+ * @param {*} value The value to recursively clone.
5234
+ * @returns {*} Returns the deep cloned value.
5235
+ * @see _.clone
5236
+ * @example
5237
+ *
5238
+ * var objects = [{ 'a': 1 }, { 'b': 2 }];
5239
+ *
5240
+ * var deep = _.cloneDeep(objects);
5241
+ * console.log(deep[0] === objects[0]);
5242
+ * // => false
5243
+ */function cloneDeep(value){return baseClone(value,CLONE_DEEP_FLAG|CLONE_SYMBOLS_FLAG);}var cloneDeep_1=cloneDeep;var cloneDeep$1 = /*@__PURE__*/getDefaultExportFromCjs(cloneDeep_1);
5168
5244
 
5169
5245
  /**
5170
5246
  * - Create a request object
@@ -5179,9 +5255,9 @@ var tag=isObject(value)?objectToString.call(value):'';return tag==funcTag||tag==
5179
5255
  config:config,request:request};if(!(stageOne.status>=200&&stageOne.status!==204)){_context2.next=34;break;}_context2.t1=config.responseType;_context2.next=_context2.t1==='arraybuffer'?14:_context2.t1==='blob'?18:_context2.t1==='json'?22:_context2.t1==='formData'?26:30;break;case 14:_context2.next=16;return stageOne.arrayBuffer();case 16:response.data=_context2.sent;return _context2.abrupt("break",34);case 18:_context2.next=20;return stageOne.blob();case 20:response.data=_context2.sent;return _context2.abrupt("break",34);case 22:_context2.next=24;return stageOne.json();case 24:response.data=_context2.sent;return _context2.abrupt("break",34);case 26:_context2.next=28;return stageOne.formData();case 28:response.data=_context2.sent;return _context2.abrupt("break",34);case 30:_context2.next=32;return stageOne.text();case 32:response.data=_context2.sent;return _context2.abrupt("break",34);case 34:return _context2.abrupt("return",response);case 35:case"end":return _context2.stop();}},_callee2,null,[[0,6]]);}));return _getResponse.apply(this,arguments);}function createRequest(config){var headers=new Headers(config.headers);// HTTP basic authentication
5180
5256
  if(config.auth){var username=config.auth.username||'';var password=config.auth.password?decodeURI(encodeURIComponent(config.auth.password)):'';headers.set('Authorization',"Basic ".concat(btoa(username+':'+password)));}var method=config.method.toUpperCase();var options={headers:headers,method:method};if(method!=='GET'&&method!=='HEAD'){options.body=config.data;// In these cases the browser will automatically set the correct Content-Type,
5181
5257
  // but only if that header hasn't been set yet. So that's why we're deleting it.
5182
- if(utils$9.isFormData(options.body)&&utils$9.isStandardBrowserEnv()){headers.delete('Content-Type');}}if(config.mode){options.mode=config.mode;}if(config.cache){options.cache=config.cache;}if(config.integrity){options.integrity=config.integrity;}if(config.redirect){options.redirect=config.redirect;}if(config.referrer){options.referrer=config.referrer;}// This config is similar to XHR’s withCredentials flag, but with three available values instead of two.
5258
+ if(utils$b.isFormData(options.body)&&utils$b.isStandardBrowserEnv()){headers.delete('Content-Type');}}if(config.mode){options.mode=config.mode;}if(config.cache){options.cache=config.cache;}if(config.integrity){options.integrity=config.integrity;}if(config.redirect){options.redirect=config.redirect;}if(config.referrer){options.referrer=config.referrer;}// This config is similar to XHR’s withCredentials flag, but with three available values instead of two.
5183
5259
  // So if withCredentials is not set, default value 'same-origin' will be used
5184
- if(!utils$9.isUndefined(config.withCredentials)){options.credentials=config.withCredentials?'include':'omit';}var fullPath=buildFullPath$2(config.baseURL,config.url);var url=buildURL$2(fullPath,config.params,config.paramsSerializer);// Expected browser to throw error if there is any wrong configuration value
5260
+ if(!utils$b.isUndefined(config.withCredentials)){options.credentials=config.withCredentials?'include':'omit';}var fullPath=buildFullPath$2(config.baseURL,config.url);var url=buildURL$2(fullPath,config.params,config.paramsSerializer);// Expected browser to throw error if there is any wrong configuration value
5185
5261
  return new Request(url,options);}/**
5186
5262
  * Note:
5187
5263
  *
@@ -5219,7 +5295,7 @@ description:this.description,number:this.number,// Mozilla
5219
5295
  fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,// Axios
5220
5296
  config:this.config,code:this.code,status:this.response&&this.response.status?this.response.status:null};};return error;}
5221
5297
 
5222
- var version='1.1.4';var removeTrailingSlashes=function removeTrailingSlashes(inURL){return inURL&&inURL.endsWith('/')?inURL.replace(/\/+$/,''):inURL;};var isFunction=function isFunction(value){return typeof value==='function'&&Boolean(value.constructor&&value.call&&value.apply);};var setImmediate=browser$1.nextTick.bind(browser$1);var noop=function noop(){};var Analytics=/*#__PURE__*/function(){/**
5298
+ var version='1.1.5';var removeTrailingSlashes=function removeTrailingSlashes(inURL){return inURL&&inURL.endsWith('/')?inURL.replace(/\/+$/,''):inURL;};var isFunction=function isFunction(value){return typeof value==='function'&&Boolean(value.constructor&&value.call&&value.apply);};var setImmediate=browser$1$1.nextTick.bind(browser$1$1);var noop=function noop(){};var Analytics=/*#__PURE__*/function(){/**
5223
5299
  * Initialize a new `Analytics` with your Castled source's `writeKey` and an
5224
5300
  * optional dictionary of `options`.
5225
5301
  *
@@ -5313,7 +5389,7 @@ var version='1.1.4';var removeTrailingSlashes=function removeTrailingSlashes(inU
5313
5389
  * @api private
5314
5390
  */},{key:"enqueue",value:function enqueue(type,message,callback){if(this.queue.length>=this.maxInternalQueueSize){this.logger.error("not adding events for processing as queue size ".concat(this.queue.length," >= than max configuration ").concat(this.maxInternalQueueSize));return;}// Clone the incoming message object
5315
5391
  // before altering the data
5316
- var lMessage=cloneDeep(message);callback=callback||noop;if(!this.enable){return setImmediate(callback);}if(type=='identify'){if(lMessage.traits){if(!lMessage.context){lMessage.context={};}lMessage.context.traits=lMessage.traits;}}lMessage=_objectSpread2({},lMessage);lMessage.type=type;lMessage.context=_objectSpread2({library:{name:'analytics-service-worker',version:version}},lMessage.context);lMessage.channel='service-worker';lMessage._metadata=_objectSpread2({serviceWorkerVersion:version},lMessage._metadata);if(!lMessage.originalTimestamp){lMessage.originalTimestamp=new Date();}if(!lMessage.messageId){lMessage.messageId=v4();}// Historically this library has accepted strings and numbers as IDs.
5392
+ var lMessage=cloneDeep$1(message);callback=callback||noop;if(!this.enable){return setImmediate(callback);}if(type=='identify'){if(lMessage.traits){if(!lMessage.context){lMessage.context={};}lMessage.context.traits=lMessage.traits;}}lMessage=_objectSpread2({},lMessage);lMessage.type=type;lMessage.context=_objectSpread2({library:{name:'analytics-service-worker',version:version}},lMessage.context);lMessage.channel='service-worker';lMessage._metadata=_objectSpread2({serviceWorkerVersion:version},lMessage._metadata);if(!lMessage.originalTimestamp){lMessage.originalTimestamp=new Date();}if(!lMessage.messageId){lMessage.messageId=v4();}// Historically this library has accepted strings and numbers as IDs.
5317
5393
  // However, our spec only allows strings. To avoid breaking compatibility,
5318
5394
  // we'll coerce these to strings if they aren't already.
5319
5395
  if(lMessage.anonymousId&&!isString$1(lMessage.anonymousId)){lMessage.anonymousId=JSON.stringify(lMessage.anonymousId);}if(lMessage.userId&&!isString$1(lMessage.userId)){lMessage.userId=JSON.stringify(lMessage.userId);}this.queue.push({message:lMessage,callback:callback});if(!this.flushed){this.flushed=true;this.flush();return;}if(this.queue.length>=this.flushAt){this.logger.debug('flushAt reached, trying flush...');this.flush();}if(this.flushInterval&&!this.flushTimer){this.logger.debug('no existing flush timer, creating new one');this.flushTimer=setTimeout(this.flush.bind(this),this.flushInterval);}}/**