@paystack/checkout-js 1.50.2-dev.6 → 1.51.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/es/checkout.js CHANGED
@@ -1106,35 +1106,35 @@ var createPropertyDescriptor$6 = function (bitmap, value) {
1106
1106
 
1107
1107
  var NATIVE_BIND$2 = functionBindNative;
1108
1108
 
1109
- var FunctionPrototype$2 = Function.prototype;
1110
- var bind$c = FunctionPrototype$2.bind;
1111
- var call$e = FunctionPrototype$2.call;
1112
- var uncurryThis$w = NATIVE_BIND$2 && bind$c.bind(call$e, call$e);
1109
+ var FunctionPrototype$3 = Function.prototype;
1110
+ var bind$c = FunctionPrototype$3.bind;
1111
+ var call$e = FunctionPrototype$3.call;
1112
+ var uncurryThis$x = NATIVE_BIND$2 && bind$c.bind(call$e, call$e);
1113
1113
 
1114
1114
  var functionUncurryThis = NATIVE_BIND$2 ? function (fn) {
1115
- return fn && uncurryThis$w(fn);
1115
+ return fn && uncurryThis$x(fn);
1116
1116
  } : function (fn) {
1117
1117
  return fn && function () {
1118
1118
  return call$e.apply(fn, arguments);
1119
1119
  };
1120
1120
  };
1121
1121
 
1122
- var uncurryThis$v = functionUncurryThis;
1122
+ var uncurryThis$w = functionUncurryThis;
1123
1123
 
1124
- var toString$b = uncurryThis$v({}.toString);
1125
- var stringSlice$4 = uncurryThis$v(''.slice);
1124
+ var toString$b = uncurryThis$w({}.toString);
1125
+ var stringSlice$4 = uncurryThis$w(''.slice);
1126
1126
 
1127
1127
  var classofRaw$1 = function (it) {
1128
1128
  return stringSlice$4(toString$b(it), 8, -1);
1129
1129
  };
1130
1130
 
1131
1131
  var global$S = global$T;
1132
- var uncurryThis$u = functionUncurryThis;
1132
+ var uncurryThis$v = functionUncurryThis;
1133
1133
  var fails$s = fails$v;
1134
1134
  var classof$a = classofRaw$1;
1135
1135
 
1136
1136
  var Object$5 = global$S.Object;
1137
- var split$4 = uncurryThis$u(''.split);
1137
+ var split$4 = uncurryThis$v(''.split);
1138
1138
 
1139
1139
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
1140
1140
  var indexedObject = fails$s(function () {
@@ -1187,9 +1187,9 @@ var getBuiltIn$a = function (namespace, method) {
1187
1187
  return arguments.length < 2 ? aFunction(global$Q[namespace]) : global$Q[namespace] && global$Q[namespace][method];
1188
1188
  };
1189
1189
 
1190
- var uncurryThis$t = functionUncurryThis;
1190
+ var uncurryThis$u = functionUncurryThis;
1191
1191
 
1192
- var objectIsPrototypeOf = uncurryThis$t({}.isPrototypeOf);
1192
+ var objectIsPrototypeOf = uncurryThis$u({}.isPrototypeOf);
1193
1193
 
1194
1194
  var getBuiltIn$9 = getBuiltIn$a;
1195
1195
 
@@ -1318,11 +1318,11 @@ var isPure = false;
1318
1318
  var global$K = global$T;
1319
1319
 
1320
1320
  // eslint-disable-next-line es/no-object-defineproperty -- safe
1321
- var defineProperty$5 = Object.defineProperty;
1321
+ var defineProperty$6 = Object.defineProperty;
1322
1322
 
1323
1323
  var setGlobal$3 = function (key, value) {
1324
1324
  try {
1325
- defineProperty$5(global$K, key, { value: value, configurable: true, writable: true });
1325
+ defineProperty$6(global$K, key, { value: value, configurable: true, writable: true });
1326
1326
  } catch (error) {
1327
1327
  global$K[key] = value;
1328
1328
  } return value;
@@ -1359,10 +1359,10 @@ var toObject$9 = function (argument) {
1359
1359
  return Object$3(requireObjectCoercible$2(argument));
1360
1360
  };
1361
1361
 
1362
- var uncurryThis$s = functionUncurryThis;
1362
+ var uncurryThis$t = functionUncurryThis;
1363
1363
  var toObject$8 = toObject$9;
1364
1364
 
1365
- var hasOwnProperty$1 = uncurryThis$s({}.hasOwnProperty);
1365
+ var hasOwnProperty$1 = uncurryThis$t({}.hasOwnProperty);
1366
1366
 
1367
1367
  // `HasOwnProperty` abstract operation
1368
1368
  // https://tc39.es/ecma262/#sec-hasownproperty
@@ -1370,11 +1370,11 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
1370
1370
  return hasOwnProperty$1(toObject$8(it), key);
1371
1371
  };
1372
1372
 
1373
- var uncurryThis$r = functionUncurryThis;
1373
+ var uncurryThis$s = functionUncurryThis;
1374
1374
 
1375
1375
  var id$1 = 0;
1376
1376
  var postfix = Math.random();
1377
- var toString$a = uncurryThis$r(1.0.toString);
1377
+ var toString$a = uncurryThis$s(1.0.toString);
1378
1378
 
1379
1379
  var uid$3 = function (key) {
1380
1380
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$a(++id$1 + postfix, 36);
@@ -1453,19 +1453,19 @@ var documentCreateElement$2 = function (it) {
1453
1453
  return EXISTS$1 ? document$3.createElement(it) : {};
1454
1454
  };
1455
1455
 
1456
- var DESCRIPTORS$c = descriptors$1;
1456
+ var DESCRIPTORS$d = descriptors$1;
1457
1457
  var fails$q = fails$v;
1458
1458
  var createElement$1 = documentCreateElement$2;
1459
1459
 
1460
1460
  // Thanks to IE8 for its funny defineProperty
1461
- var ie8DomDefine = !DESCRIPTORS$c && !fails$q(function () {
1461
+ var ie8DomDefine = !DESCRIPTORS$d && !fails$q(function () {
1462
1462
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1463
1463
  return Object.defineProperty(createElement$1('div'), 'a', {
1464
1464
  get: function () { return 7; }
1465
1465
  }).a != 7;
1466
1466
  });
1467
1467
 
1468
- var DESCRIPTORS$b = descriptors$1;
1468
+ var DESCRIPTORS$c = descriptors$1;
1469
1469
  var call$b = functionCall;
1470
1470
  var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
1471
1471
  var createPropertyDescriptor$5 = createPropertyDescriptor$6;
@@ -1479,7 +1479,7 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
1479
1479
 
1480
1480
  // `Object.getOwnPropertyDescriptor` method
1481
1481
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
1482
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$b ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
1482
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$c ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
1483
1483
  O = toIndexedObject$7(O);
1484
1484
  P = toPropertyKey$2(P);
1485
1485
  if (IE8_DOM_DEFINE$1) try {
@@ -1490,12 +1490,12 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$b ? $getOwnPropertyDescriptor$1 :
1490
1490
 
1491
1491
  var objectDefineProperty = {};
1492
1492
 
1493
- var DESCRIPTORS$a = descriptors$1;
1493
+ var DESCRIPTORS$b = descriptors$1;
1494
1494
  var fails$p = fails$v;
1495
1495
 
1496
1496
  // V8 ~ Chrome 36-
1497
1497
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
1498
- var v8PrototypeDefineBug = DESCRIPTORS$a && fails$p(function () {
1498
+ var v8PrototypeDefineBug = DESCRIPTORS$b && fails$p(function () {
1499
1499
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1500
1500
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
1501
1501
  value: 42,
@@ -1516,7 +1516,7 @@ var anObject$e = function (argument) {
1516
1516
  };
1517
1517
 
1518
1518
  var global$D = global$T;
1519
- var DESCRIPTORS$9 = descriptors$1;
1519
+ var DESCRIPTORS$a = descriptors$1;
1520
1520
  var IE8_DOM_DEFINE = ie8DomDefine;
1521
1521
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
1522
1522
  var anObject$d = anObject$e;
@@ -1533,7 +1533,7 @@ var WRITABLE = 'writable';
1533
1533
 
1534
1534
  // `Object.defineProperty` method
1535
1535
  // https://tc39.es/ecma262/#sec-object.defineproperty
1536
- objectDefineProperty.f = DESCRIPTORS$9 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
1536
+ objectDefineProperty.f = DESCRIPTORS$a ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
1537
1537
  anObject$d(O);
1538
1538
  P = toPropertyKey$1(P);
1539
1539
  anObject$d(Attributes);
@@ -1560,11 +1560,11 @@ objectDefineProperty.f = DESCRIPTORS$9 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
1560
1560
  return O;
1561
1561
  };
1562
1562
 
1563
- var DESCRIPTORS$8 = descriptors$1;
1563
+ var DESCRIPTORS$9 = descriptors$1;
1564
1564
  var definePropertyModule$5 = objectDefineProperty;
1565
1565
  var createPropertyDescriptor$4 = createPropertyDescriptor$6;
1566
1566
 
1567
- var createNonEnumerableProperty$8 = DESCRIPTORS$8 ? function (object, key, value) {
1567
+ var createNonEnumerableProperty$8 = DESCRIPTORS$9 ? function (object, key, value) {
1568
1568
  return definePropertyModule$5.f(object, key, createPropertyDescriptor$4(1, value));
1569
1569
  } : function (object, key, value) {
1570
1570
  object[key] = value;
@@ -1573,16 +1573,16 @@ var createNonEnumerableProperty$8 = DESCRIPTORS$8 ? function (object, key, value
1573
1573
 
1574
1574
  var redefine$a = {exports: {}};
1575
1575
 
1576
- var uncurryThis$q = functionUncurryThis;
1576
+ var uncurryThis$r = functionUncurryThis;
1577
1577
  var isCallable$e = isCallable$k;
1578
1578
  var store$1 = sharedStore;
1579
1579
 
1580
- var functionToString = uncurryThis$q(Function.toString);
1580
+ var functionToString$1 = uncurryThis$r(Function.toString);
1581
1581
 
1582
1582
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
1583
1583
  if (!isCallable$e(store$1.inspectSource)) {
1584
1584
  store$1.inspectSource = function (it) {
1585
- return functionToString(it);
1585
+ return functionToString$1(it);
1586
1586
  };
1587
1587
  }
1588
1588
 
@@ -1609,7 +1609,7 @@ var hiddenKeys$5 = {};
1609
1609
 
1610
1610
  var NATIVE_WEAK_MAP = nativeWeakMap;
1611
1611
  var global$B = global$T;
1612
- var uncurryThis$p = functionUncurryThis;
1612
+ var uncurryThis$q = functionUncurryThis;
1613
1613
  var isObject$c = isObject$h;
1614
1614
  var createNonEnumerableProperty$7 = createNonEnumerableProperty$8;
1615
1615
  var hasOwn$c = hasOwnProperty_1;
@@ -1637,9 +1637,9 @@ var getterFor = function (TYPE) {
1637
1637
 
1638
1638
  if (NATIVE_WEAK_MAP || shared$1.state) {
1639
1639
  var store = shared$1.state || (shared$1.state = new WeakMap());
1640
- var wmget = uncurryThis$p(store.get);
1641
- var wmhas = uncurryThis$p(store.has);
1642
- var wmset = uncurryThis$p(store.set);
1640
+ var wmget = uncurryThis$q(store.get);
1641
+ var wmhas = uncurryThis$q(store.has);
1642
+ var wmset = uncurryThis$q(store.set);
1643
1643
  set$1 = function (it, metadata) {
1644
1644
  if (wmhas(store, it)) throw new TypeError$d(OBJECT_ALREADY_INITIALIZED);
1645
1645
  metadata.facade = it;
@@ -1677,17 +1677,17 @@ var internalState = {
1677
1677
  getterFor: getterFor
1678
1678
  };
1679
1679
 
1680
- var DESCRIPTORS$7 = descriptors$1;
1680
+ var DESCRIPTORS$8 = descriptors$1;
1681
1681
  var hasOwn$b = hasOwnProperty_1;
1682
1682
 
1683
- var FunctionPrototype$1 = Function.prototype;
1683
+ var FunctionPrototype$2 = Function.prototype;
1684
1684
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1685
- var getDescriptor = DESCRIPTORS$7 && Object.getOwnPropertyDescriptor;
1685
+ var getDescriptor = DESCRIPTORS$8 && Object.getOwnPropertyDescriptor;
1686
1686
 
1687
- var EXISTS = hasOwn$b(FunctionPrototype$1, 'name');
1687
+ var EXISTS = hasOwn$b(FunctionPrototype$2, 'name');
1688
1688
  // additional protection from minified / mangled / dropped function names
1689
1689
  var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
1690
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$7 || (DESCRIPTORS$7 && getDescriptor(FunctionPrototype$1, 'name').configurable));
1690
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$8 || (DESCRIPTORS$8 && getDescriptor(FunctionPrototype$2, 'name').configurable));
1691
1691
 
1692
1692
  var functionName = {
1693
1693
  EXISTS: EXISTS,
@@ -1819,13 +1819,13 @@ var arrayIncludes = {
1819
1819
  indexOf: createMethod$5(false)
1820
1820
  };
1821
1821
 
1822
- var uncurryThis$o = functionUncurryThis;
1822
+ var uncurryThis$p = functionUncurryThis;
1823
1823
  var hasOwn$9 = hasOwnProperty_1;
1824
1824
  var toIndexedObject$5 = toIndexedObject$8;
1825
1825
  var indexOf$1 = arrayIncludes.indexOf;
1826
1826
  var hiddenKeys$3 = hiddenKeys$5;
1827
1827
 
1828
- var push$7 = uncurryThis$o([].push);
1828
+ var push$7 = uncurryThis$p([].push);
1829
1829
 
1830
1830
  var objectKeysInternal = function (object, names) {
1831
1831
  var O = toIndexedObject$5(object);
@@ -1869,12 +1869,12 @@ var objectGetOwnPropertySymbols = {};
1869
1869
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
1870
1870
 
1871
1871
  var getBuiltIn$7 = getBuiltIn$a;
1872
- var uncurryThis$n = functionUncurryThis;
1872
+ var uncurryThis$o = functionUncurryThis;
1873
1873
  var getOwnPropertyNamesModule$1 = objectGetOwnPropertyNames;
1874
1874
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
1875
1875
  var anObject$c = anObject$e;
1876
1876
 
1877
- var concat$1 = uncurryThis$n([].concat);
1877
+ var concat$1 = uncurryThis$o([].concat);
1878
1878
 
1879
1879
  // all object keys, includes non-enumerable and symbols
1880
1880
  var ownKeys$1 = getBuiltIn$7('Reflect', 'ownKeys') || function ownKeys(it) {
@@ -2072,11 +2072,11 @@ var freezing = !fails$l(function () {
2072
2072
  });
2073
2073
 
2074
2074
  var $$m = _export;
2075
- var uncurryThis$m = functionUncurryThis;
2075
+ var uncurryThis$n = functionUncurryThis;
2076
2076
  var hiddenKeys$1 = hiddenKeys$5;
2077
2077
  var isObject$a = isObject$h;
2078
2078
  var hasOwn$7 = hasOwnProperty_1;
2079
- var defineProperty$4 = objectDefineProperty.f;
2079
+ var defineProperty$5 = objectDefineProperty.f;
2080
2080
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
2081
2081
  var getOwnPropertyNamesExternalModule = objectGetOwnPropertyNamesExternal;
2082
2082
  var isExtensible = objectIsExtensible;
@@ -2088,7 +2088,7 @@ var METADATA = uid('meta');
2088
2088
  var id = 0;
2089
2089
 
2090
2090
  var setMetadata = function (it) {
2091
- defineProperty$4(it, METADATA, { value: {
2091
+ defineProperty$5(it, METADATA, { value: {
2092
2092
  objectID: 'O' + id++, // object ID
2093
2093
  weakData: {} // weak collections IDs
2094
2094
  } });
@@ -2130,7 +2130,7 @@ var enable = function () {
2130
2130
  meta.enable = function () { /* empty */ };
2131
2131
  REQUIRED = true;
2132
2132
  var getOwnPropertyNames = getOwnPropertyNamesModule.f;
2133
- var splice = uncurryThis$m([].splice);
2133
+ var splice = uncurryThis$n([].splice);
2134
2134
  var test = {};
2135
2135
  test[METADATA] = 1;
2136
2136
 
@@ -2181,9 +2181,9 @@ $$l({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$1, sham: !FREEZI
2181
2181
 
2182
2182
  var NATIVE_BIND$1 = functionBindNative;
2183
2183
 
2184
- var FunctionPrototype = Function.prototype;
2185
- var apply$3 = FunctionPrototype.apply;
2186
- var call$a = FunctionPrototype.call;
2184
+ var FunctionPrototype$1 = Function.prototype;
2185
+ var apply$3 = FunctionPrototype$1.apply;
2186
+ var call$a = FunctionPrototype$1.call;
2187
2187
 
2188
2188
  // eslint-disable-next-line es/no-reflect -- safe
2189
2189
  var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$a.bind(apply$3) : function () {
@@ -2203,7 +2203,7 @@ var aPossiblePrototype$1 = function (argument) {
2203
2203
 
2204
2204
  /* eslint-disable no-proto -- safe */
2205
2205
 
2206
- var uncurryThis$l = functionUncurryThis;
2206
+ var uncurryThis$m = functionUncurryThis;
2207
2207
  var anObject$b = anObject$e;
2208
2208
  var aPossiblePrototype = aPossiblePrototype$1;
2209
2209
 
@@ -2217,7 +2217,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
2217
2217
  var setter;
2218
2218
  try {
2219
2219
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2220
- setter = uncurryThis$l(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
2220
+ setter = uncurryThis$m(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
2221
2221
  setter(test, []);
2222
2222
  CORRECT_SETTER = test instanceof Array;
2223
2223
  } catch (error) { /* empty */ }
@@ -2316,9 +2316,9 @@ var installErrorCause$1 = function (O, options) {
2316
2316
  }
2317
2317
  };
2318
2318
 
2319
- var uncurryThis$k = functionUncurryThis;
2319
+ var uncurryThis$l = functionUncurryThis;
2320
2320
 
2321
- var replace$7 = uncurryThis$k(''.replace);
2321
+ var replace$7 = uncurryThis$l(''.replace);
2322
2322
 
2323
2323
  var TEST = (function (arg) { return String(Error(arg).stack); })('zxcasd');
2324
2324
  var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
@@ -2467,7 +2467,7 @@ var isArray$9 = Array.isArray || function isArray(argument) {
2467
2467
  return classof$5(argument) == 'Array';
2468
2468
  };
2469
2469
 
2470
- var uncurryThis$j = functionUncurryThis;
2470
+ var uncurryThis$k = functionUncurryThis;
2471
2471
  var fails$i = fails$v;
2472
2472
  var isCallable$7 = isCallable$k;
2473
2473
  var classof$4 = classof$7;
@@ -2478,7 +2478,7 @@ var noop = function () { /* empty */ };
2478
2478
  var empty = [];
2479
2479
  var construct = getBuiltIn$5('Reflect', 'construct');
2480
2480
  var constructorRegExp = /^\s*(?:class|function)\b/;
2481
- var exec$5 = uncurryThis$j(constructorRegExp.exec);
2481
+ var exec$5 = uncurryThis$k(constructorRegExp.exec);
2482
2482
  var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
2483
2483
 
2484
2484
  var isConstructorModern = function isConstructor(argument) {
@@ -2722,11 +2722,11 @@ var DOMTokenListPrototype$2 = classList && classList.constructor && classList.co
2722
2722
 
2723
2723
  var domTokenListPrototype = DOMTokenListPrototype$2 === Object.prototype ? undefined : DOMTokenListPrototype$2;
2724
2724
 
2725
- var uncurryThis$i = functionUncurryThis;
2725
+ var uncurryThis$j = functionUncurryThis;
2726
2726
  var aCallable$5 = aCallable$7;
2727
2727
  var NATIVE_BIND = functionBindNative;
2728
2728
 
2729
- var bind$b = uncurryThis$i(uncurryThis$i.bind);
2729
+ var bind$b = uncurryThis$j(uncurryThis$j.bind);
2730
2730
 
2731
2731
  // optional / simple context binding
2732
2732
  var functionBindContext = function (fn, that) {
@@ -2737,13 +2737,13 @@ var functionBindContext = function (fn, that) {
2737
2737
  };
2738
2738
 
2739
2739
  var bind$a = functionBindContext;
2740
- var uncurryThis$h = functionUncurryThis;
2740
+ var uncurryThis$i = functionUncurryThis;
2741
2741
  var IndexedObject$3 = indexedObject;
2742
2742
  var toObject$6 = toObject$9;
2743
2743
  var lengthOfArrayLike$4 = lengthOfArrayLike$8;
2744
2744
  var arraySpeciesCreate = arraySpeciesCreate$2;
2745
2745
 
2746
- var push$6 = uncurryThis$h([].push);
2746
+ var push$6 = uncurryThis$i([].push);
2747
2747
 
2748
2748
  // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
2749
2749
  var createMethod$4 = function (TYPE) {
@@ -2929,7 +2929,7 @@ var regexpStickyHelpers = {
2929
2929
 
2930
2930
  var objectDefineProperties = {};
2931
2931
 
2932
- var DESCRIPTORS$6 = descriptors$1;
2932
+ var DESCRIPTORS$7 = descriptors$1;
2933
2933
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
2934
2934
  var definePropertyModule$2 = objectDefineProperty;
2935
2935
  var anObject$9 = anObject$e;
@@ -2939,7 +2939,7 @@ var objectKeys$2 = objectKeys$3;
2939
2939
  // `Object.defineProperties` method
2940
2940
  // https://tc39.es/ecma262/#sec-object.defineproperties
2941
2941
  // eslint-disable-next-line es/no-object-defineproperties -- safe
2942
- objectDefineProperties.f = DESCRIPTORS$6 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
2942
+ objectDefineProperties.f = DESCRIPTORS$7 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
2943
2943
  anObject$9(O);
2944
2944
  var props = toIndexedObject$3(Properties);
2945
2945
  var keys = objectKeys$2(Properties);
@@ -3064,7 +3064,7 @@ var regexpUnsupportedNcg = fails$b(function () {
3064
3064
  /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
3065
3065
  /* eslint-disable regexp/no-useless-quantifier -- testing */
3066
3066
  var call$9 = functionCall;
3067
- var uncurryThis$g = functionUncurryThis;
3067
+ var uncurryThis$h = functionUncurryThis;
3068
3068
  var toString$6 = toString$9;
3069
3069
  var regexpFlags = regexpFlags$1;
3070
3070
  var stickyHelpers = regexpStickyHelpers;
@@ -3077,10 +3077,10 @@ var UNSUPPORTED_NCG = regexpUnsupportedNcg;
3077
3077
  var nativeReplace = shared('native-string-replace', String.prototype.replace);
3078
3078
  var nativeExec = RegExp.prototype.exec;
3079
3079
  var patchedExec = nativeExec;
3080
- var charAt$5 = uncurryThis$g(''.charAt);
3081
- var indexOf = uncurryThis$g(''.indexOf);
3082
- var replace$6 = uncurryThis$g(''.replace);
3083
- var stringSlice$3 = uncurryThis$g(''.slice);
3080
+ var charAt$5 = uncurryThis$h(''.charAt);
3081
+ var indexOf = uncurryThis$h(''.indexOf);
3082
+ var replace$6 = uncurryThis$h(''.replace);
3083
+ var stringSlice$3 = uncurryThis$h(''.slice);
3084
3084
 
3085
3085
  var UPDATES_LAST_INDEX_WRONG = (function () {
3086
3086
  var re1 = /a/;
@@ -3192,7 +3192,7 @@ $$h({ target: 'RegExp', proto: true, forced: /./.exec !== exec$4 }, {
3192
3192
  var $$g = _export;
3193
3193
  var global$n = global$T;
3194
3194
  var call$8 = functionCall;
3195
- var uncurryThis$f = functionUncurryThis;
3195
+ var uncurryThis$g = functionUncurryThis;
3196
3196
  var isCallable$6 = isCallable$k;
3197
3197
  var isObject$4 = isObject$h;
3198
3198
 
@@ -3207,7 +3207,7 @@ var DELEGATES_TO_EXEC = function () {
3207
3207
  }();
3208
3208
 
3209
3209
  var Error$1 = global$n.Error;
3210
- var un$Test = uncurryThis$f(/./.test);
3210
+ var un$Test = uncurryThis$g(/./.test);
3211
3211
 
3212
3212
  // `RegExp.prototype.test` method
3213
3213
  // https://tc39.es/ecma262/#sec-regexp.prototype.test
@@ -3227,12 +3227,12 @@ $$g({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
3227
3227
  var whitespaces$3 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
3228
3228
  '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
3229
3229
 
3230
- var uncurryThis$e = functionUncurryThis;
3230
+ var uncurryThis$f = functionUncurryThis;
3231
3231
  var requireObjectCoercible$1 = requireObjectCoercible$4;
3232
3232
  var toString$5 = toString$9;
3233
3233
  var whitespaces$2 = whitespaces$3;
3234
3234
 
3235
- var replace$5 = uncurryThis$e(''.replace);
3235
+ var replace$5 = uncurryThis$f(''.replace);
3236
3236
  var whitespace = '[' + whitespaces$2 + ']';
3237
3237
  var ltrim = RegExp('^' + whitespace + whitespace + '*');
3238
3238
  var rtrim = RegExp(whitespace + whitespace + '*$');
@@ -3261,7 +3261,7 @@ var stringTrim = {
3261
3261
 
3262
3262
  var global$m = global$T;
3263
3263
  var fails$a = fails$v;
3264
- var uncurryThis$d = functionUncurryThis;
3264
+ var uncurryThis$e = functionUncurryThis;
3265
3265
  var toString$4 = toString$9;
3266
3266
  var trim$2 = stringTrim.trim;
3267
3267
  var whitespaces$1 = whitespaces$3;
@@ -3270,7 +3270,7 @@ var $parseInt$1 = global$m.parseInt;
3270
3270
  var Symbol$1 = global$m.Symbol;
3271
3271
  var ITERATOR$8 = Symbol$1 && Symbol$1.iterator;
3272
3272
  var hex = /^[+-]?0x/i;
3273
- var exec$3 = uncurryThis$d(hex.exec);
3273
+ var exec$3 = uncurryThis$e(hex.exec);
3274
3274
  var FORCED$3 = $parseInt$1(whitespaces$1 + '08') !== 8 || $parseInt$1(whitespaces$1 + '0x16') !== 22
3275
3275
  // MS Edge 18- broken with boxed symbols
3276
3276
  || (ITERATOR$8 && !fails$a(function () { $parseInt$1(Object(ITERATOR$8)); }));
@@ -3291,15 +3291,15 @@ $$f({ global: true, forced: parseInt != $parseInt }, {
3291
3291
  parseInt: $parseInt
3292
3292
  });
3293
3293
 
3294
- var uncurryThis$c = functionUncurryThis;
3294
+ var uncurryThis$d = functionUncurryThis;
3295
3295
 
3296
3296
  // `thisNumberValue` abstract operation
3297
3297
  // https://tc39.es/ecma262/#sec-thisnumbervalue
3298
- var thisNumberValue$1 = uncurryThis$c(1.0.valueOf);
3298
+ var thisNumberValue$1 = uncurryThis$d(1.0.valueOf);
3299
3299
 
3300
- var DESCRIPTORS$5 = descriptors$1;
3300
+ var DESCRIPTORS$6 = descriptors$1;
3301
3301
  var global$l = global$T;
3302
- var uncurryThis$b = functionUncurryThis;
3302
+ var uncurryThis$c = functionUncurryThis;
3303
3303
  var isForced$1 = isForced_1;
3304
3304
  var redefine$7 = redefine$a.exports;
3305
3305
  var hasOwn$5 = hasOwnProperty_1;
@@ -3310,7 +3310,7 @@ var toPrimitive = toPrimitive$2;
3310
3310
  var fails$9 = fails$v;
3311
3311
  var getOwnPropertyNames = objectGetOwnPropertyNames.f;
3312
3312
  var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
3313
- var defineProperty$3 = objectDefineProperty.f;
3313
+ var defineProperty$4 = objectDefineProperty.f;
3314
3314
  var thisNumberValue = thisNumberValue$1;
3315
3315
  var trim$1 = stringTrim.trim;
3316
3316
 
@@ -3318,8 +3318,8 @@ var NUMBER = 'Number';
3318
3318
  var NativeNumber = global$l[NUMBER];
3319
3319
  var NumberPrototype = NativeNumber.prototype;
3320
3320
  var TypeError$a = global$l.TypeError;
3321
- var arraySlice$4 = uncurryThis$b(''.slice);
3322
- var charCodeAt$3 = uncurryThis$b(''.charCodeAt);
3321
+ var arraySlice$4 = uncurryThis$c(''.slice);
3322
+ var charCodeAt$3 = uncurryThis$c(''.charCodeAt);
3323
3323
 
3324
3324
  // `ToNumeric` abstract operation
3325
3325
  // https://tc39.es/ecma262/#sec-tonumeric
@@ -3368,7 +3368,7 @@ if (isForced$1(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNu
3368
3368
  return isPrototypeOf$3(NumberPrototype, dummy) && fails$9(function () { thisNumberValue(dummy); })
3369
3369
  ? inheritIfRequired(Object(n), dummy, NumberWrapper) : n;
3370
3370
  };
3371
- for (var keys = DESCRIPTORS$5 ? getOwnPropertyNames(NativeNumber) : (
3371
+ for (var keys = DESCRIPTORS$6 ? getOwnPropertyNames(NativeNumber) : (
3372
3372
  // ES3:
3373
3373
  'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +
3374
3374
  // ES2015 (in case, if modules with ES2015 Number statics required before):
@@ -3377,7 +3377,7 @@ if (isForced$1(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNu
3377
3377
  'fromString,range'
3378
3378
  ).split(','), j = 0, key; keys.length > j; j++) {
3379
3379
  if (hasOwn$5(NativeNumber, key = keys[j]) && !hasOwn$5(NumberWrapper, key)) {
3380
- defineProperty$3(NumberWrapper, key, getOwnPropertyDescriptor$1(NativeNumber, key));
3380
+ defineProperty$4(NumberWrapper, key, getOwnPropertyDescriptor$1(NativeNumber, key));
3381
3381
  }
3382
3382
  }
3383
3383
  NumberWrapper.prototype = NumberPrototype;
@@ -3615,7 +3615,7 @@ var webkit = userAgent$3.match(/AppleWebKit\/(\d+)\./);
3615
3615
  var engineWebkitVersion = !!webkit && +webkit[1];
3616
3616
 
3617
3617
  var $$d = _export;
3618
- var uncurryThis$a = functionUncurryThis;
3618
+ var uncurryThis$b = functionUncurryThis;
3619
3619
  var aCallable$4 = aCallable$7;
3620
3620
  var toObject$4 = toObject$9;
3621
3621
  var lengthOfArrayLike$3 = lengthOfArrayLike$8;
@@ -3629,8 +3629,8 @@ var V8 = engineV8Version;
3629
3629
  var WEBKIT = engineWebkitVersion;
3630
3630
 
3631
3631
  var test = [];
3632
- var un$Sort = uncurryThis$a(test.sort);
3633
- var push$5 = uncurryThis$a(test.push);
3632
+ var un$Sort = uncurryThis$b(test.sort);
3633
+ var push$5 = uncurryThis$b(test.push);
3634
3634
 
3635
3635
  // IE8-
3636
3636
  var FAILS_ON_UNDEFINED = fails$8(function () {
@@ -3735,12 +3735,12 @@ $$c({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
3735
3735
  });
3736
3736
 
3737
3737
  var $$b = _export;
3738
- var uncurryThis$9 = functionUncurryThis;
3738
+ var uncurryThis$a = functionUncurryThis;
3739
3739
  var IndexedObject$2 = indexedObject;
3740
3740
  var toIndexedObject$2 = toIndexedObject$8;
3741
3741
  var arrayMethodIsStrict$1 = arrayMethodIsStrict$4;
3742
3742
 
3743
- var un$Join = uncurryThis$9([].join);
3743
+ var un$Join = uncurryThis$a([].join);
3744
3744
 
3745
3745
  var ES3_STRINGS = IndexedObject$2 != Object;
3746
3746
  var STRICT_METHOD$1 = arrayMethodIsStrict$1('join', ',');
@@ -5181,7 +5181,7 @@ var redefineAll$2 = function (target, src, options) {
5181
5181
  return target;
5182
5182
  };
5183
5183
 
5184
- var defineProperty$2 = objectDefineProperty.f;
5184
+ var defineProperty$3 = objectDefineProperty.f;
5185
5185
  var hasOwn$4 = hasOwnProperty_1;
5186
5186
  var wellKnownSymbol$c = wellKnownSymbol$j;
5187
5187
 
@@ -5190,14 +5190,14 @@ var TO_STRING_TAG$1 = wellKnownSymbol$c('toStringTag');
5190
5190
  var setToStringTag$5 = function (target, TAG, STATIC) {
5191
5191
  if (target && !STATIC) target = target.prototype;
5192
5192
  if (target && !hasOwn$4(target, TO_STRING_TAG$1)) {
5193
- defineProperty$2(target, TO_STRING_TAG$1, { configurable: true, value: TAG });
5193
+ defineProperty$3(target, TO_STRING_TAG$1, { configurable: true, value: TAG });
5194
5194
  }
5195
5195
  };
5196
5196
 
5197
5197
  var getBuiltIn$3 = getBuiltIn$a;
5198
5198
  var definePropertyModule$1 = objectDefineProperty;
5199
5199
  var wellKnownSymbol$b = wellKnownSymbol$j;
5200
- var DESCRIPTORS$4 = descriptors$1;
5200
+ var DESCRIPTORS$5 = descriptors$1;
5201
5201
 
5202
5202
  var SPECIES$2 = wellKnownSymbol$b('species');
5203
5203
 
@@ -5205,7 +5205,7 @@ var setSpecies$1 = function (CONSTRUCTOR_NAME) {
5205
5205
  var Constructor = getBuiltIn$3(CONSTRUCTOR_NAME);
5206
5206
  var defineProperty = definePropertyModule$1.f;
5207
5207
 
5208
- if (DESCRIPTORS$4 && Constructor && !Constructor[SPECIES$2]) {
5208
+ if (DESCRIPTORS$5 && Constructor && !Constructor[SPECIES$2]) {
5209
5209
  defineProperty(Constructor, SPECIES$2, {
5210
5210
  configurable: true,
5211
5211
  get: function () { return this; }
@@ -5420,9 +5420,9 @@ var speciesConstructor$1 = function (O, defaultConstructor) {
5420
5420
  return C === undefined || (S = anObject$4(C)[SPECIES$1]) == undefined ? defaultConstructor : aConstructor(S);
5421
5421
  };
5422
5422
 
5423
- var uncurryThis$8 = functionUncurryThis;
5423
+ var uncurryThis$9 = functionUncurryThis;
5424
5424
 
5425
- var arraySlice$2 = uncurryThis$8([].slice);
5425
+ var arraySlice$2 = uncurryThis$9([].slice);
5426
5426
 
5427
5427
  var global$f = global$T;
5428
5428
 
@@ -6239,8 +6239,8 @@ var getDeviceFingerprint = /*#__PURE__*/function () {
6239
6239
  };
6240
6240
  }();
6241
6241
 
6242
- var DESCRIPTORS$3 = descriptors$1;
6243
- var uncurryThis$7 = functionUncurryThis;
6242
+ var DESCRIPTORS$4 = descriptors$1;
6243
+ var uncurryThis$8 = functionUncurryThis;
6244
6244
  var call$3 = functionCall;
6245
6245
  var fails$6 = fails$v;
6246
6246
  var objectKeys$1 = objectKeys$3;
@@ -6252,17 +6252,17 @@ var IndexedObject$1 = indexedObject;
6252
6252
  // eslint-disable-next-line es/no-object-assign -- safe
6253
6253
  var $assign = Object.assign;
6254
6254
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
6255
- var defineProperty$1 = Object.defineProperty;
6256
- var concat = uncurryThis$7([].concat);
6255
+ var defineProperty$2 = Object.defineProperty;
6256
+ var concat = uncurryThis$8([].concat);
6257
6257
 
6258
6258
  // `Object.assign` method
6259
6259
  // https://tc39.es/ecma262/#sec-object.assign
6260
6260
  var objectAssign = !$assign || fails$6(function () {
6261
6261
  // should have correct order of operations (Edge bug)
6262
- if (DESCRIPTORS$3 && $assign({ b: 1 }, $assign(defineProperty$1({}, 'a', {
6262
+ if (DESCRIPTORS$4 && $assign({ b: 1 }, $assign(defineProperty$2({}, 'a', {
6263
6263
  enumerable: true,
6264
6264
  get: function () {
6265
- defineProperty$1(this, 'b', {
6265
+ defineProperty$2(this, 'b', {
6266
6266
  value: 3,
6267
6267
  enumerable: false
6268
6268
  });
@@ -6291,7 +6291,7 @@ var objectAssign = !$assign || fails$6(function () {
6291
6291
  var key;
6292
6292
  while (length > j) {
6293
6293
  key = keys[j++];
6294
- if (!DESCRIPTORS$3 || call$3(propertyIsEnumerable, S, key)) T[key] = S[key];
6294
+ if (!DESCRIPTORS$4 || call$3(propertyIsEnumerable, S, key)) T[key] = S[key];
6295
6295
  }
6296
6296
  } return T;
6297
6297
  } : $assign;
@@ -6555,7 +6555,7 @@ var subscribeToChargeEvents = function subscribeToChargeEvents(options, context,
6555
6555
  });
6556
6556
  };
6557
6557
 
6558
- var uncurryThis$6 = functionUncurryThis;
6558
+ var uncurryThis$7 = functionUncurryThis;
6559
6559
  var PROPER_FUNCTION_NAME$2 = functionName.PROPER;
6560
6560
  var redefine$4 = redefine$a.exports;
6561
6561
  var anObject$2 = anObject$e;
@@ -6567,7 +6567,7 @@ var regExpFlags = regexpFlags$1;
6567
6567
  var TO_STRING = 'toString';
6568
6568
  var RegExpPrototype = RegExp.prototype;
6569
6569
  var n$ToString = RegExpPrototype[TO_STRING];
6570
- var getFlags = uncurryThis$6(regExpFlags);
6570
+ var getFlags = uncurryThis$7(regExpFlags);
6571
6571
 
6572
6572
  var NOT_GENERIC = fails$5(function () { return n$ToString.call({ source: 'a', flags: 'b' }) != '/a/b'; });
6573
6573
  // FF44- RegExp#toString has a wrong name
@@ -6778,9 +6778,9 @@ var toIndexedObject$1 = toIndexedObject$8;
6778
6778
  var addToUnscopables$1 = addToUnscopables$3;
6779
6779
  var Iterators = iterators;
6780
6780
  var InternalStateModule$3 = internalState;
6781
- var defineProperty = objectDefineProperty.f;
6781
+ var defineProperty$1 = objectDefineProperty.f;
6782
6782
  var defineIterator$1 = defineIterator$2;
6783
- var DESCRIPTORS$2 = descriptors$1;
6783
+ var DESCRIPTORS$3 = descriptors$1;
6784
6784
 
6785
6785
  var ARRAY_ITERATOR = 'Array Iterator';
6786
6786
  var setInternalState$3 = InternalStateModule$3.set;
@@ -6830,18 +6830,18 @@ addToUnscopables$1('values');
6830
6830
  addToUnscopables$1('entries');
6831
6831
 
6832
6832
  // V8 ~ Chrome 45- bug
6833
- if (DESCRIPTORS$2 && values.name !== 'values') try {
6834
- defineProperty(values, 'name', { value: 'values' });
6833
+ if (DESCRIPTORS$3 && values.name !== 'values') try {
6834
+ defineProperty$1(values, 'name', { value: 'values' });
6835
6835
  } catch (error) { /* empty */ }
6836
6836
 
6837
- var uncurryThis$5 = functionUncurryThis;
6837
+ var uncurryThis$6 = functionUncurryThis;
6838
6838
  var toIntegerOrInfinity = toIntegerOrInfinity$3;
6839
6839
  var toString$2 = toString$9;
6840
6840
  var requireObjectCoercible = requireObjectCoercible$4;
6841
6841
 
6842
- var charAt$4 = uncurryThis$5(''.charAt);
6843
- var charCodeAt$2 = uncurryThis$5(''.charCodeAt);
6844
- var stringSlice$2 = uncurryThis$5(''.slice);
6842
+ var charAt$4 = uncurryThis$6(''.charAt);
6843
+ var charCodeAt$2 = uncurryThis$6(''.charCodeAt);
6844
+ var stringSlice$2 = uncurryThis$6(''.slice);
6845
6845
 
6846
6846
  var createMethod$2 = function (CONVERT_TO_STRING) {
6847
6847
  return function ($this, pos) {
@@ -7036,7 +7036,7 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
7036
7036
 
7037
7037
  // based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js
7038
7038
  var global$5 = global$T;
7039
- var uncurryThis$4 = functionUncurryThis;
7039
+ var uncurryThis$5 = functionUncurryThis;
7040
7040
 
7041
7041
  var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1
7042
7042
  var base = 36;
@@ -7053,15 +7053,15 @@ var OVERFLOW_ERROR = 'Overflow: input needs wider integers to process';
7053
7053
  var baseMinusTMin = base - tMin;
7054
7054
 
7055
7055
  var RangeError = global$5.RangeError;
7056
- var exec$2 = uncurryThis$4(regexSeparators.exec);
7056
+ var exec$2 = uncurryThis$5(regexSeparators.exec);
7057
7057
  var floor$1 = Math.floor;
7058
7058
  var fromCharCode = String.fromCharCode;
7059
- var charCodeAt$1 = uncurryThis$4(''.charCodeAt);
7060
- var join$2 = uncurryThis$4([].join);
7061
- var push$4 = uncurryThis$4([].push);
7062
- var replace$4 = uncurryThis$4(''.replace);
7063
- var split$3 = uncurryThis$4(''.split);
7064
- var toLowerCase$1 = uncurryThis$4(''.toLowerCase);
7059
+ var charCodeAt$1 = uncurryThis$5(''.charCodeAt);
7060
+ var join$2 = uncurryThis$5([].join);
7061
+ var push$4 = uncurryThis$5([].push);
7062
+ var replace$4 = uncurryThis$5(''.replace);
7063
+ var split$3 = uncurryThis$5(''.split);
7064
+ var toLowerCase$1 = uncurryThis$5(''.toLowerCase);
7065
7065
 
7066
7066
  /**
7067
7067
  * Creates an array containing the numeric code points of each Unicode
@@ -7222,7 +7222,7 @@ var $$6 = _export;
7222
7222
  var global$4 = global$T;
7223
7223
  var getBuiltIn$1 = getBuiltIn$a;
7224
7224
  var call = functionCall;
7225
- var uncurryThis$3 = functionUncurryThis;
7225
+ var uncurryThis$4 = functionUncurryThis;
7226
7226
  var USE_NATIVE_URL$1 = nativeUrl;
7227
7227
  var redefine$1 = redefine$a.exports;
7228
7228
  var redefineAll = redefineAll$2;
@@ -7261,14 +7261,14 @@ var RegExp$1 = global$4.RegExp;
7261
7261
  var TypeError$3 = global$4.TypeError;
7262
7262
  var decodeURIComponent$1 = global$4.decodeURIComponent;
7263
7263
  var encodeURIComponent$1 = global$4.encodeURIComponent;
7264
- var charAt$2 = uncurryThis$3(''.charAt);
7265
- var join$1 = uncurryThis$3([].join);
7266
- var push$3 = uncurryThis$3([].push);
7267
- var replace$3 = uncurryThis$3(''.replace);
7268
- var shift$1 = uncurryThis$3([].shift);
7269
- var splice = uncurryThis$3([].splice);
7270
- var split$2 = uncurryThis$3(''.split);
7271
- var stringSlice$1 = uncurryThis$3(''.slice);
7264
+ var charAt$2 = uncurryThis$4(''.charAt);
7265
+ var join$1 = uncurryThis$4([].join);
7266
+ var push$3 = uncurryThis$4([].push);
7267
+ var replace$3 = uncurryThis$4(''.replace);
7268
+ var shift$1 = uncurryThis$4([].shift);
7269
+ var splice = uncurryThis$4([].splice);
7270
+ var split$2 = uncurryThis$4(''.split);
7271
+ var stringSlice$1 = uncurryThis$4(''.slice);
7272
7272
 
7273
7273
  var plus = /\+/g;
7274
7274
  var sequences = Array(4);
@@ -7551,8 +7551,8 @@ $$6({ global: true, forced: !USE_NATIVE_URL$1 }, {
7551
7551
 
7552
7552
  // Wrap `fetch` and `Request` for correct work with polyfilled `URLSearchParams`
7553
7553
  if (!USE_NATIVE_URL$1 && isCallable(Headers)) {
7554
- var headersHas = uncurryThis$3(HeadersPrototype.has);
7555
- var headersSet = uncurryThis$3(HeadersPrototype.set);
7554
+ var headersHas = uncurryThis$4(HeadersPrototype.has);
7555
+ var headersSet = uncurryThis$4(HeadersPrototype.set);
7556
7556
 
7557
7557
  var wrapRequestOptions = function (init) {
7558
7558
  if (isObject$1(init)) {
@@ -7602,11 +7602,11 @@ var web_urlSearchParams = {
7602
7602
  // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
7603
7603
 
7604
7604
  var $$5 = _export;
7605
- var DESCRIPTORS$1 = descriptors$1;
7605
+ var DESCRIPTORS$2 = descriptors$1;
7606
7606
  var USE_NATIVE_URL = nativeUrl;
7607
7607
  var global$3 = global$T;
7608
7608
  var bind$3 = functionBindContext;
7609
- var uncurryThis$2 = functionUncurryThis;
7609
+ var uncurryThis$3 = functionUncurryThis;
7610
7610
  var defineProperties = objectDefineProperties.f;
7611
7611
  var redefine = redefine$a.exports;
7612
7612
  var anInstance = anInstance$3;
@@ -7632,18 +7632,18 @@ var TypeError$2 = global$3.TypeError;
7632
7632
  var parseInt$1 = global$3.parseInt;
7633
7633
  var floor = Math.floor;
7634
7634
  var pow = Math.pow;
7635
- var charAt$1 = uncurryThis$2(''.charAt);
7636
- var exec$1 = uncurryThis$2(/./.exec);
7637
- var join = uncurryThis$2([].join);
7638
- var numberToString$1 = uncurryThis$2(1.0.toString);
7639
- var pop = uncurryThis$2([].pop);
7640
- var push$2 = uncurryThis$2([].push);
7641
- var replace$2 = uncurryThis$2(''.replace);
7642
- var shift = uncurryThis$2([].shift);
7643
- var split$1 = uncurryThis$2(''.split);
7644
- var stringSlice = uncurryThis$2(''.slice);
7645
- var toLowerCase = uncurryThis$2(''.toLowerCase);
7646
- var unshift = uncurryThis$2([].unshift);
7635
+ var charAt$1 = uncurryThis$3(''.charAt);
7636
+ var exec$1 = uncurryThis$3(/./.exec);
7637
+ var join = uncurryThis$3([].join);
7638
+ var numberToString$1 = uncurryThis$3(1.0.toString);
7639
+ var pop = uncurryThis$3([].pop);
7640
+ var push$2 = uncurryThis$3([].push);
7641
+ var replace$2 = uncurryThis$3(''.replace);
7642
+ var shift = uncurryThis$3([].shift);
7643
+ var split$1 = uncurryThis$3(''.split);
7644
+ var stringSlice = uncurryThis$3(''.slice);
7645
+ var toLowerCase = uncurryThis$3(''.toLowerCase);
7646
+ var unshift = uncurryThis$3([].unshift);
7647
7647
 
7648
7648
  var INVALID_AUTHORITY = 'Invalid authority';
7649
7649
  var INVALID_SCHEME = 'Invalid scheme';
@@ -8542,7 +8542,7 @@ var URLConstructor = function URL(url /* , base */) {
8542
8542
  var that = anInstance(this, URLPrototype);
8543
8543
  var base = validateArgumentsLength(arguments.length, 1) > 1 ? arguments[1] : undefined;
8544
8544
  var state = setInternalState(that, new URLState(url, false, base));
8545
- if (!DESCRIPTORS$1) {
8545
+ if (!DESCRIPTORS$2) {
8546
8546
  that.href = state.serialize();
8547
8547
  that.origin = state.getOrigin();
8548
8548
  that.protocol = state.getProtocol();
@@ -8573,7 +8573,7 @@ var accessorDescriptor = function (getter, setter) {
8573
8573
  };
8574
8574
  };
8575
8575
 
8576
- if (DESCRIPTORS$1) {
8576
+ if (DESCRIPTORS$2) {
8577
8577
  defineProperties(URLPrototype, {
8578
8578
  // `URL.prototype.href` accessors pair
8579
8579
  // https://url.spec.whatwg.org/#dom-url-href
@@ -8639,7 +8639,7 @@ if (NativeURL) {
8639
8639
 
8640
8640
  setToStringTag(URLConstructor, 'URL');
8641
8641
 
8642
- $$5({ global: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS$1 }, {
8642
+ $$5({ global: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTORS$2 }, {
8643
8643
  URL: URLConstructor
8644
8644
  });
8645
8645
 
@@ -12441,6 +12441,32 @@ var PayPalCharge = {
12441
12441
  }
12442
12442
  };
12443
12443
 
12444
+ var DESCRIPTORS$1 = descriptors$1;
12445
+ var FUNCTION_NAME_EXISTS = functionName.EXISTS;
12446
+ var uncurryThis$2 = functionUncurryThis;
12447
+ var defineProperty = objectDefineProperty.f;
12448
+
12449
+ var FunctionPrototype = Function.prototype;
12450
+ var functionToString = uncurryThis$2(FunctionPrototype.toString);
12451
+ var nameRE = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/;
12452
+ var regExpExec = uncurryThis$2(nameRE.exec);
12453
+ var NAME = 'name';
12454
+
12455
+ // Function instances `.name` property
12456
+ // https://tc39.es/ecma262/#sec-function-instances-name
12457
+ if (DESCRIPTORS$1 && !FUNCTION_NAME_EXISTS) {
12458
+ defineProperty(FunctionPrototype, NAME, {
12459
+ configurable: true,
12460
+ get: function () {
12461
+ try {
12462
+ return regExpExec(nameRE, functionToString(this))[1];
12463
+ } catch (error) {
12464
+ return '';
12465
+ }
12466
+ }
12467
+ });
12468
+ }
12469
+
12444
12470
  var jsencrypt = {exports: {}};
12445
12471
 
12446
12472
  (function (module, exports) {
@@ -18989,13 +19015,15 @@ var Card$1 = /*#__PURE__*/function () {
18989
19015
  cvv = _ref.cvv,
18990
19016
  month = _ref.month,
18991
19017
  year = _ref.year,
18992
- pin = _ref.pin;
19018
+ pin = _ref.pin,
19019
+ name = _ref.name;
18993
19020
  _classCallCheck(this, Card);
18994
19021
  this.number = number;
18995
19022
  this.cvv = cvv;
18996
19023
  this.month = month;
18997
19024
  this.year = year;
18998
19025
  this.pin = pin;
19026
+ this.name = name;
18999
19027
  }
19000
19028
  _createClass(Card, [{
19001
19029
  key: "getEncryptedPin",
@@ -19083,6 +19111,7 @@ var CardAPI$1 = {
19083
19111
  trans = _ref.trans,
19084
19112
  device = _ref.device,
19085
19113
  rememberCard = _ref.rememberCard,
19114
+ cardHolderName = _ref.cardHolderName,
19086
19115
  transactionType = _ref.transactionType,
19087
19116
  subscription = _ref.subscription,
19088
19117
  customFields = _ref.customFields;
@@ -19093,14 +19122,16 @@ var CardAPI$1 = {
19093
19122
  }, language && {
19094
19123
  'Accept-Language': language
19095
19124
  });
19096
- var chargeParams = _objectSpread2(_objectSpread2(_objectSpread2({
19125
+ var chargeParams = _objectSpread2(_objectSpread2(_objectSpread2(_objectSpread2({
19097
19126
  clientdata: clientdata,
19098
19127
  last4: last4,
19099
19128
  trans: trans,
19100
19129
  device: device,
19101
19130
  offset: new Date().getTimezoneOffset(),
19102
19131
  remember_card: rememberCard
19103
- }, transactionType && {
19132
+ }, cardHolderName && {
19133
+ card_holder_name: cardHolderName
19134
+ }), transactionType && {
19104
19135
  transaction_type: transactionType
19105
19136
  }), subscription && {
19106
19137
  subscription: subscription
@@ -19406,6 +19437,46 @@ var CardAPI$1 = {
19406
19437
  }
19407
19438
  }, _callee5);
19408
19439
  }))();
19440
+ },
19441
+ getReachTaxQuote: function getReachTaxQuote(_ref11) {
19442
+ return _asyncToGenerator( /*#__PURE__*/regeneratorRuntime.mark(function _callee6() {
19443
+ var transaction, address, merchantKey, _ref11$gateway, gateway, url, language, headers, params, response;
19444
+ return regeneratorRuntime.wrap(function _callee6$(_context6) {
19445
+ while (1) {
19446
+ switch (_context6.prev = _context6.next) {
19447
+ case 0:
19448
+ transaction = _ref11.transaction, address = _ref11.address, merchantKey = _ref11.merchantKey, _ref11$gateway = _ref11.gateway, gateway = _ref11$gateway === void 0 ? 'REACH' : _ref11$gateway;
19449
+ url = new URL('/transaction/tax_quote', configToUse.paystackApiUrl).toString();
19450
+ language = getLanguage();
19451
+ headers = _objectSpread2({
19452
+ Authorization: "Bearer ".concat(merchantKey)
19453
+ }, language && {
19454
+ 'Accept-Language': language
19455
+ });
19456
+ params = {
19457
+ transaction_id: transaction,
19458
+ address_street: address.street,
19459
+ address_city: address.city,
19460
+ address_region: address.state,
19461
+ address_postcode: address.postCode,
19462
+ address_country: address.country,
19463
+ gateway: gateway
19464
+ };
19465
+ _context6.next = 7;
19466
+ return axiosInstance.get(url, {
19467
+ params: params,
19468
+ headers: headers
19469
+ });
19470
+ case 7:
19471
+ response = _context6.sent;
19472
+ return _context6.abrupt("return", response.data);
19473
+ case 9:
19474
+ case "end":
19475
+ return _context6.stop();
19476
+ }
19477
+ }
19478
+ }, _callee6);
19479
+ }))();
19409
19480
  }
19410
19481
  };
19411
19482
 
@@ -19453,6 +19524,7 @@ var CardCharge = {
19453
19524
  trans: _this2.id,
19454
19525
  device: _this2.deviceFingerprint,
19455
19526
  rememberCard: _this2.remember_card,
19527
+ cardHolderName: _this2.card.name,
19456
19528
  transactionType: _this2.transactionType,
19457
19529
  subscription: _this2.subscription,
19458
19530
  customFields: customFields
@@ -19661,6 +19733,24 @@ var CardCharge = {
19661
19733
  device: this.deviceFingerprint,
19662
19734
  selectedCurrency: selectedCurrency
19663
19735
  });
19736
+ },
19737
+ getReachTaxQuote: function getReachTaxQuote(_ref7) {
19738
+ var street = _ref7.street,
19739
+ city = _ref7.city,
19740
+ state = _ref7.state,
19741
+ postCode = _ref7.postCode,
19742
+ country = _ref7.country;
19743
+ return CardAPI$1.getReachTaxQuote({
19744
+ transaction: this.id,
19745
+ address: {
19746
+ street: street,
19747
+ city: city,
19748
+ state: state,
19749
+ postCode: postCode,
19750
+ country: country
19751
+ },
19752
+ merchantKey: this.merchant.key
19753
+ });
19664
19754
  }
19665
19755
  };
19666
19756
 
@@ -21504,6 +21594,7 @@ var TransactionInstance = /*#__PURE__*/function () {
21504
21594
  channelSettings: data.merchant_channel_settings || {}
21505
21595
  };
21506
21596
  this.status = data.transaction_status || data.status;
21597
+ this.channelSettings = data.channel_settings || {};
21507
21598
  this.accessCode = data.access_code;
21508
21599
  this.amount = data.amount;
21509
21600
  this.domain = data.domain;
@@ -21829,6 +21920,42 @@ var ToolkitAPI = {
21829
21920
  resolvedCardBins[bin] = data;
21830
21921
  return data;
21831
21922
  });
21923
+ },
21924
+ fetchCountries: function fetchCountries(_ref2) {
21925
+ var scope = _ref2.scope,
21926
+ merchantKey = _ref2.merchantKey;
21927
+ var url = new URL('/address/country', configToUse.paystackApiUrl).toString();
21928
+ var language = getLanguage();
21929
+ var headers = _objectSpread2({
21930
+ Authorization: "Bearer ".concat(merchantKey)
21931
+ }, language && {
21932
+ 'Accept-Language': language
21933
+ });
21934
+ var params = scope ? {
21935
+ scope: scope
21936
+ } : undefined;
21937
+ return axiosInstance.get(url, {
21938
+ params: params,
21939
+ headers: headers
21940
+ }).then(function (response) {
21941
+ return response.data;
21942
+ });
21943
+ },
21944
+ fetchReachStates: function fetchReachStates(_ref3) {
21945
+ var country = _ref3.country,
21946
+ merchantKey = _ref3.merchantKey;
21947
+ var url = new URL("/address/country/".concat(country, "/state"), configToUse.paystackApiUrl).toString();
21948
+ var language = getLanguage();
21949
+ var headers = _objectSpread2({
21950
+ Authorization: "Bearer ".concat(merchantKey)
21951
+ }, language && {
21952
+ 'Accept-Language': language
21953
+ });
21954
+ return axiosInstance.get(url, {
21955
+ headers: headers
21956
+ }).then(function (response) {
21957
+ return response.data;
21958
+ });
21832
21959
  }
21833
21960
  };
21834
21961
 
@@ -21851,6 +21978,12 @@ var Toolkit = /*#__PURE__*/function () {
21851
21978
  }, {
21852
21979
  key: 'states',
21853
21980
  usage: 'Returns a list of states for a particular country'
21981
+ }, {
21982
+ key: 'countries',
21983
+ usage: 'Returns a list of countries that can be scoped to specific use cases'
21984
+ }, {
21985
+ key: 'reachStates',
21986
+ usage: 'Returns a list of states for reach address verification for a particular country'
21854
21987
  }];
21855
21988
  }
21856
21989
  }, {
@@ -21878,6 +22011,12 @@ var Toolkit = /*#__PURE__*/function () {
21878
22011
  case 'states':
21879
22012
  data = ToolkitAPI.fetchStates(params);
21880
22013
  break;
22014
+ case 'countries':
22015
+ data = ToolkitAPI.fetchCountries(params);
22016
+ break;
22017
+ case 'reachStates':
22018
+ data = ToolkitAPI.fetchReachStates(params);
22019
+ break;
21881
22020
  }
21882
22021
  return data;
21883
22022
  }