@paystack/checkout-js 1.10.3 → 1.11.0-dev.3

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
@@ -1125,7 +1125,7 @@ var check = function (it) {
1125
1125
  };
1126
1126
 
1127
1127
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
1128
- var global$R =
1128
+ var global$S =
1129
1129
  // eslint-disable-next-line es/no-global-this -- safe
1130
1130
  check(typeof globalThis == 'object' && globalThis) ||
1131
1131
  check(typeof window == 'object' && window) ||
@@ -1199,32 +1199,32 @@ var NATIVE_BIND$2 = functionBindNative;
1199
1199
  var FunctionPrototype$2 = Function.prototype;
1200
1200
  var bind$c = FunctionPrototype$2.bind;
1201
1201
  var call$e = FunctionPrototype$2.call;
1202
- var uncurryThis$v = NATIVE_BIND$2 && bind$c.bind(call$e, call$e);
1202
+ var uncurryThis$w = NATIVE_BIND$2 && bind$c.bind(call$e, call$e);
1203
1203
 
1204
1204
  var functionUncurryThis = NATIVE_BIND$2 ? function (fn) {
1205
- return fn && uncurryThis$v(fn);
1205
+ return fn && uncurryThis$w(fn);
1206
1206
  } : function (fn) {
1207
1207
  return fn && function () {
1208
1208
  return call$e.apply(fn, arguments);
1209
1209
  };
1210
1210
  };
1211
1211
 
1212
- var uncurryThis$u = functionUncurryThis;
1212
+ var uncurryThis$v = functionUncurryThis;
1213
1213
 
1214
- var toString$a = uncurryThis$u({}.toString);
1215
- var stringSlice$4 = uncurryThis$u(''.slice);
1214
+ var toString$b = uncurryThis$v({}.toString);
1215
+ var stringSlice$4 = uncurryThis$v(''.slice);
1216
1216
 
1217
1217
  var classofRaw$1 = function (it) {
1218
- return stringSlice$4(toString$a(it), 8, -1);
1218
+ return stringSlice$4(toString$b(it), 8, -1);
1219
1219
  };
1220
1220
 
1221
- var global$Q = global$R;
1222
- var uncurryThis$t = functionUncurryThis;
1221
+ var global$R = global$S;
1222
+ var uncurryThis$u = functionUncurryThis;
1223
1223
  var fails$q = fails$t;
1224
- var classof$a = classofRaw$1;
1224
+ var classof$b = classofRaw$1;
1225
1225
 
1226
- var Object$5 = global$Q.Object;
1227
- var split$3 = uncurryThis$t(''.split);
1226
+ var Object$5 = global$R.Object;
1227
+ var split$3 = uncurryThis$u(''.split);
1228
1228
 
1229
1229
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
1230
1230
  var indexedObject = fails$q(function () {
@@ -1232,26 +1232,26 @@ var indexedObject = fails$q(function () {
1232
1232
  // eslint-disable-next-line no-prototype-builtins -- safe
1233
1233
  return !Object$5('z').propertyIsEnumerable(0);
1234
1234
  }) ? function (it) {
1235
- return classof$a(it) == 'String' ? split$3(it, '') : Object$5(it);
1235
+ return classof$b(it) == 'String' ? split$3(it, '') : Object$5(it);
1236
1236
  } : Object$5;
1237
1237
 
1238
- var global$P = global$R;
1238
+ var global$Q = global$S;
1239
1239
 
1240
- var TypeError$i = global$P.TypeError;
1240
+ var TypeError$j = global$Q.TypeError;
1241
1241
 
1242
1242
  // `RequireObjectCoercible` abstract operation
1243
1243
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
1244
- var requireObjectCoercible$4 = function (it) {
1245
- if (it == undefined) throw TypeError$i("Can't call method on " + it);
1244
+ var requireObjectCoercible$5 = function (it) {
1245
+ if (it == undefined) throw TypeError$j("Can't call method on " + it);
1246
1246
  return it;
1247
1247
  };
1248
1248
 
1249
1249
  // toObject with fallback for non-array-like ES3 strings
1250
1250
  var IndexedObject$3 = indexedObject;
1251
- var requireObjectCoercible$3 = requireObjectCoercible$4;
1251
+ var requireObjectCoercible$4 = requireObjectCoercible$5;
1252
1252
 
1253
1253
  var toIndexedObject$8 = function (it) {
1254
- return IndexedObject$3(requireObjectCoercible$3(it));
1254
+ return IndexedObject$3(requireObjectCoercible$4(it));
1255
1255
  };
1256
1256
 
1257
1257
  // `IsCallable` abstract operation
@@ -1262,11 +1262,11 @@ var isCallable$k = function (argument) {
1262
1262
 
1263
1263
  var isCallable$j = isCallable$k;
1264
1264
 
1265
- var isObject$h = function (it) {
1265
+ var isObject$i = function (it) {
1266
1266
  return typeof it == 'object' ? it !== null : isCallable$j(it);
1267
1267
  };
1268
1268
 
1269
- var global$O = global$R;
1269
+ var global$P = global$S;
1270
1270
  var isCallable$i = isCallable$k;
1271
1271
 
1272
1272
  var aFunction = function (argument) {
@@ -1274,22 +1274,22 @@ var aFunction = function (argument) {
1274
1274
  };
1275
1275
 
1276
1276
  var getBuiltIn$a = function (namespace, method) {
1277
- return arguments.length < 2 ? aFunction(global$O[namespace]) : global$O[namespace] && global$O[namespace][method];
1277
+ return arguments.length < 2 ? aFunction(global$P[namespace]) : global$P[namespace] && global$P[namespace][method];
1278
1278
  };
1279
1279
 
1280
- var uncurryThis$s = functionUncurryThis;
1280
+ var uncurryThis$t = functionUncurryThis;
1281
1281
 
1282
- var objectIsPrototypeOf = uncurryThis$s({}.isPrototypeOf);
1282
+ var objectIsPrototypeOf = uncurryThis$t({}.isPrototypeOf);
1283
1283
 
1284
1284
  var getBuiltIn$9 = getBuiltIn$a;
1285
1285
 
1286
1286
  var engineUserAgent = getBuiltIn$9('navigator', 'userAgent') || '';
1287
1287
 
1288
- var global$N = global$R;
1288
+ var global$O = global$S;
1289
1289
  var userAgent$5 = engineUserAgent;
1290
1290
 
1291
- var process$4 = global$N.process;
1292
- var Deno = global$N.Deno;
1291
+ var process$4 = global$O.process;
1292
+ var Deno = global$O.Deno;
1293
1293
  var versions = process$4 && process$4.versions || Deno && Deno.version;
1294
1294
  var v8 = versions && versions.v8;
1295
1295
  var match, version$1;
@@ -1336,13 +1336,13 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
1336
1336
  && !Symbol.sham
1337
1337
  && typeof Symbol.iterator == 'symbol';
1338
1338
 
1339
- var global$M = global$R;
1339
+ var global$N = global$S;
1340
1340
  var getBuiltIn$8 = getBuiltIn$a;
1341
1341
  var isCallable$h = isCallable$k;
1342
1342
  var isPrototypeOf$5 = objectIsPrototypeOf;
1343
1343
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
1344
1344
 
1345
- var Object$4 = global$M.Object;
1345
+ var Object$4 = global$N.Object;
1346
1346
 
1347
1347
  var isSymbol$3 = USE_SYMBOL_AS_UID$1 ? function (it) {
1348
1348
  return typeof it == 'symbol';
@@ -1351,9 +1351,9 @@ var isSymbol$3 = USE_SYMBOL_AS_UID$1 ? function (it) {
1351
1351
  return isCallable$h($Symbol) && isPrototypeOf$5($Symbol.prototype, Object$4(it));
1352
1352
  };
1353
1353
 
1354
- var global$L = global$R;
1354
+ var global$M = global$S;
1355
1355
 
1356
- var String$5 = global$L.String;
1356
+ var String$5 = global$M.String;
1357
1357
 
1358
1358
  var tryToString$4 = function (argument) {
1359
1359
  try {
@@ -1363,16 +1363,16 @@ var tryToString$4 = function (argument) {
1363
1363
  }
1364
1364
  };
1365
1365
 
1366
- var global$K = global$R;
1366
+ var global$L = global$S;
1367
1367
  var isCallable$g = isCallable$k;
1368
1368
  var tryToString$3 = tryToString$4;
1369
1369
 
1370
- var TypeError$h = global$K.TypeError;
1370
+ var TypeError$i = global$L.TypeError;
1371
1371
 
1372
1372
  // `Assert: IsCallable(argument) is true`
1373
1373
  var aCallable$6 = function (argument) {
1374
1374
  if (isCallable$g(argument)) return argument;
1375
- throw TypeError$h(tryToString$3(argument) + ' is not a function');
1375
+ throw TypeError$i(tryToString$3(argument) + ' is not a function');
1376
1376
  };
1377
1377
 
1378
1378
  var aCallable$5 = aCallable$6;
@@ -1384,45 +1384,45 @@ var getMethod$3 = function (V, P) {
1384
1384
  return func == null ? undefined : aCallable$5(func);
1385
1385
  };
1386
1386
 
1387
- var global$J = global$R;
1387
+ var global$K = global$S;
1388
1388
  var call$d = functionCall;
1389
1389
  var isCallable$f = isCallable$k;
1390
- var isObject$g = isObject$h;
1390
+ var isObject$h = isObject$i;
1391
1391
 
1392
- var TypeError$g = global$J.TypeError;
1392
+ var TypeError$h = global$K.TypeError;
1393
1393
 
1394
1394
  // `OrdinaryToPrimitive` abstract operation
1395
1395
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
1396
1396
  var ordinaryToPrimitive$1 = function (input, pref) {
1397
1397
  var fn, val;
1398
- if (pref === 'string' && isCallable$f(fn = input.toString) && !isObject$g(val = call$d(fn, input))) return val;
1399
- if (isCallable$f(fn = input.valueOf) && !isObject$g(val = call$d(fn, input))) return val;
1400
- if (pref !== 'string' && isCallable$f(fn = input.toString) && !isObject$g(val = call$d(fn, input))) return val;
1401
- throw TypeError$g("Can't convert object to primitive value");
1398
+ if (pref === 'string' && isCallable$f(fn = input.toString) && !isObject$h(val = call$d(fn, input))) return val;
1399
+ if (isCallable$f(fn = input.valueOf) && !isObject$h(val = call$d(fn, input))) return val;
1400
+ if (pref !== 'string' && isCallable$f(fn = input.toString) && !isObject$h(val = call$d(fn, input))) return val;
1401
+ throw TypeError$h("Can't convert object to primitive value");
1402
1402
  };
1403
1403
 
1404
1404
  var shared$4 = {exports: {}};
1405
1405
 
1406
1406
  var isPure = false;
1407
1407
 
1408
- var global$I = global$R;
1408
+ var global$J = global$S;
1409
1409
 
1410
1410
  // eslint-disable-next-line es/no-object-defineproperty -- safe
1411
1411
  var defineProperty$5 = Object.defineProperty;
1412
1412
 
1413
1413
  var setGlobal$3 = function (key, value) {
1414
1414
  try {
1415
- defineProperty$5(global$I, key, { value: value, configurable: true, writable: true });
1415
+ defineProperty$5(global$J, key, { value: value, configurable: true, writable: true });
1416
1416
  } catch (error) {
1417
- global$I[key] = value;
1417
+ global$J[key] = value;
1418
1418
  } return value;
1419
1419
  };
1420
1420
 
1421
- var global$H = global$R;
1421
+ var global$I = global$S;
1422
1422
  var setGlobal$2 = setGlobal$3;
1423
1423
 
1424
1424
  var SHARED = '__core-js_shared__';
1425
- var store$3 = global$H[SHARED] || setGlobal$2(SHARED, {});
1425
+ var store$3 = global$I[SHARED] || setGlobal$2(SHARED, {});
1426
1426
 
1427
1427
  var sharedStore = store$3;
1428
1428
 
@@ -1438,21 +1438,21 @@ var store$2 = sharedStore;
1438
1438
  source: 'https://github.com/zloirock/core-js'
1439
1439
  });
1440
1440
 
1441
- var global$G = global$R;
1442
- var requireObjectCoercible$2 = requireObjectCoercible$4;
1441
+ var global$H = global$S;
1442
+ var requireObjectCoercible$3 = requireObjectCoercible$5;
1443
1443
 
1444
- var Object$3 = global$G.Object;
1444
+ var Object$3 = global$H.Object;
1445
1445
 
1446
1446
  // `ToObject` abstract operation
1447
1447
  // https://tc39.es/ecma262/#sec-toobject
1448
1448
  var toObject$8 = function (argument) {
1449
- return Object$3(requireObjectCoercible$2(argument));
1449
+ return Object$3(requireObjectCoercible$3(argument));
1450
1450
  };
1451
1451
 
1452
- var uncurryThis$r = functionUncurryThis;
1452
+ var uncurryThis$s = functionUncurryThis;
1453
1453
  var toObject$7 = toObject$8;
1454
1454
 
1455
- var hasOwnProperty = uncurryThis$r({}.hasOwnProperty);
1455
+ var hasOwnProperty = uncurryThis$s({}.hasOwnProperty);
1456
1456
 
1457
1457
  // `HasOwnProperty` abstract operation
1458
1458
  // https://tc39.es/ecma262/#sec-hasownproperty
@@ -1460,17 +1460,17 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
1460
1460
  return hasOwnProperty(toObject$7(it), key);
1461
1461
  };
1462
1462
 
1463
- var uncurryThis$q = functionUncurryThis;
1463
+ var uncurryThis$r = functionUncurryThis;
1464
1464
 
1465
1465
  var id$1 = 0;
1466
1466
  var postfix = Math.random();
1467
- var toString$9 = uncurryThis$q(1.0.toString);
1467
+ var toString$a = uncurryThis$r(1.0.toString);
1468
1468
 
1469
1469
  var uid$3 = function (key) {
1470
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$9(++id$1 + postfix, 36);
1470
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$a(++id$1 + postfix, 36);
1471
1471
  };
1472
1472
 
1473
- var global$F = global$R;
1473
+ var global$G = global$S;
1474
1474
  var shared$3 = shared$4.exports;
1475
1475
  var hasOwn$e = hasOwnProperty_1;
1476
1476
  var uid$2 = uid$3;
@@ -1478,11 +1478,11 @@ var NATIVE_SYMBOL = nativeSymbol;
1478
1478
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
1479
1479
 
1480
1480
  var WellKnownSymbolsStore = shared$3('wks');
1481
- var Symbol$1 = global$F.Symbol;
1481
+ var Symbol$1 = global$G.Symbol;
1482
1482
  var symbolFor = Symbol$1 && Symbol$1['for'];
1483
1483
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$2;
1484
1484
 
1485
- var wellKnownSymbol$j = function (name) {
1485
+ var wellKnownSymbol$l = function (name) {
1486
1486
  if (!hasOwn$e(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
1487
1487
  var description = 'Symbol.' + name;
1488
1488
  if (NATIVE_SYMBOL && hasOwn$e(Symbol$1, name)) {
@@ -1495,28 +1495,28 @@ var wellKnownSymbol$j = function (name) {
1495
1495
  } return WellKnownSymbolsStore[name];
1496
1496
  };
1497
1497
 
1498
- var global$E = global$R;
1498
+ var global$F = global$S;
1499
1499
  var call$c = functionCall;
1500
- var isObject$f = isObject$h;
1500
+ var isObject$g = isObject$i;
1501
1501
  var isSymbol$2 = isSymbol$3;
1502
1502
  var getMethod$2 = getMethod$3;
1503
1503
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
1504
- var wellKnownSymbol$i = wellKnownSymbol$j;
1504
+ var wellKnownSymbol$k = wellKnownSymbol$l;
1505
1505
 
1506
- var TypeError$f = global$E.TypeError;
1507
- var TO_PRIMITIVE = wellKnownSymbol$i('toPrimitive');
1506
+ var TypeError$g = global$F.TypeError;
1507
+ var TO_PRIMITIVE = wellKnownSymbol$k('toPrimitive');
1508
1508
 
1509
1509
  // `ToPrimitive` abstract operation
1510
1510
  // https://tc39.es/ecma262/#sec-toprimitive
1511
1511
  var toPrimitive$2 = function (input, pref) {
1512
- if (!isObject$f(input) || isSymbol$2(input)) return input;
1512
+ if (!isObject$g(input) || isSymbol$2(input)) return input;
1513
1513
  var exoticToPrim = getMethod$2(input, TO_PRIMITIVE);
1514
1514
  var result;
1515
1515
  if (exoticToPrim) {
1516
1516
  if (pref === undefined) pref = 'default';
1517
1517
  result = call$c(exoticToPrim, input, pref);
1518
- if (!isObject$f(result) || isSymbol$2(result)) return result;
1519
- throw TypeError$f("Can't convert object to primitive value");
1518
+ if (!isObject$g(result) || isSymbol$2(result)) return result;
1519
+ throw TypeError$g("Can't convert object to primitive value");
1520
1520
  }
1521
1521
  if (pref === undefined) pref = 'number';
1522
1522
  return ordinaryToPrimitive(input, pref);
@@ -1532,12 +1532,12 @@ var toPropertyKey$3 = function (argument) {
1532
1532
  return isSymbol$1(key) ? key : key + '';
1533
1533
  };
1534
1534
 
1535
- var global$D = global$R;
1536
- var isObject$e = isObject$h;
1535
+ var global$E = global$S;
1536
+ var isObject$f = isObject$i;
1537
1537
 
1538
- var document$3 = global$D.document;
1538
+ var document$3 = global$E.document;
1539
1539
  // typeof document.createElement is 'object' in old IE
1540
- var EXISTS$1 = isObject$e(document$3) && isObject$e(document$3.createElement);
1540
+ var EXISTS$1 = isObject$f(document$3) && isObject$f(document$3.createElement);
1541
1541
 
1542
1542
  var documentCreateElement$2 = function (it) {
1543
1543
  return EXISTS$1 ? document$3.createElement(it) : {};
@@ -1593,26 +1593,26 @@ var v8PrototypeDefineBug = DESCRIPTORS$a && fails$n(function () {
1593
1593
  }).prototype != 42;
1594
1594
  });
1595
1595
 
1596
- var global$C = global$R;
1597
- var isObject$d = isObject$h;
1596
+ var global$D = global$S;
1597
+ var isObject$e = isObject$i;
1598
1598
 
1599
- var String$4 = global$C.String;
1600
- var TypeError$e = global$C.TypeError;
1599
+ var String$4 = global$D.String;
1600
+ var TypeError$f = global$D.TypeError;
1601
1601
 
1602
1602
  // `Assert: Type(argument) is Object`
1603
1603
  var anObject$e = function (argument) {
1604
- if (isObject$d(argument)) return argument;
1605
- throw TypeError$e(String$4(argument) + ' is not an object');
1604
+ if (isObject$e(argument)) return argument;
1605
+ throw TypeError$f(String$4(argument) + ' is not an object');
1606
1606
  };
1607
1607
 
1608
- var global$B = global$R;
1608
+ var global$C = global$S;
1609
1609
  var DESCRIPTORS$9 = descriptors;
1610
1610
  var IE8_DOM_DEFINE = ie8DomDefine;
1611
1611
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
1612
1612
  var anObject$d = anObject$e;
1613
1613
  var toPropertyKey$1 = toPropertyKey$3;
1614
1614
 
1615
- var TypeError$d = global$B.TypeError;
1615
+ var TypeError$e = global$C.TypeError;
1616
1616
  // eslint-disable-next-line es/no-object-defineproperty -- safe
1617
1617
  var $defineProperty = Object.defineProperty;
1618
1618
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -1645,7 +1645,7 @@ objectDefineProperty.f = DESCRIPTORS$9 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
1645
1645
  if (IE8_DOM_DEFINE) try {
1646
1646
  return $defineProperty(O, P, Attributes);
1647
1647
  } catch (error) { /* empty */ }
1648
- if ('get' in Attributes || 'set' in Attributes) throw TypeError$d('Accessors not supported');
1648
+ if ('get' in Attributes || 'set' in Attributes) throw TypeError$e('Accessors not supported');
1649
1649
  if ('value' in Attributes) O[P] = Attributes.value;
1650
1650
  return O;
1651
1651
  };
@@ -1663,11 +1663,11 @@ var createNonEnumerableProperty$8 = DESCRIPTORS$8 ? function (object, key, value
1663
1663
 
1664
1664
  var redefine$a = {exports: {}};
1665
1665
 
1666
- var uncurryThis$p = functionUncurryThis;
1666
+ var uncurryThis$q = functionUncurryThis;
1667
1667
  var isCallable$e = isCallable$k;
1668
1668
  var store$1 = sharedStore;
1669
1669
 
1670
- var functionToString = uncurryThis$p(Function.toString);
1670
+ var functionToString = uncurryThis$q(Function.toString);
1671
1671
 
1672
1672
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
1673
1673
  if (!isCallable$e(store$1.inspectSource)) {
@@ -1678,11 +1678,11 @@ if (!isCallable$e(store$1.inspectSource)) {
1678
1678
 
1679
1679
  var inspectSource$4 = store$1.inspectSource;
1680
1680
 
1681
- var global$A = global$R;
1681
+ var global$B = global$S;
1682
1682
  var isCallable$d = isCallable$k;
1683
1683
  var inspectSource$3 = inspectSource$4;
1684
1684
 
1685
- var WeakMap$1 = global$A.WeakMap;
1685
+ var WeakMap$1 = global$B.WeakMap;
1686
1686
 
1687
1687
  var nativeWeakMap = isCallable$d(WeakMap$1) && /native code/.test(inspectSource$3(WeakMap$1));
1688
1688
 
@@ -1698,9 +1698,9 @@ var sharedKey$3 = function (key) {
1698
1698
  var hiddenKeys$5 = {};
1699
1699
 
1700
1700
  var NATIVE_WEAK_MAP = nativeWeakMap;
1701
- var global$z = global$R;
1702
- var uncurryThis$o = functionUncurryThis;
1703
- var isObject$c = isObject$h;
1701
+ var global$A = global$S;
1702
+ var uncurryThis$p = functionUncurryThis;
1703
+ var isObject$d = isObject$i;
1704
1704
  var createNonEnumerableProperty$7 = createNonEnumerableProperty$8;
1705
1705
  var hasOwn$c = hasOwnProperty_1;
1706
1706
  var shared$1 = sharedStore;
@@ -1708,8 +1708,8 @@ var sharedKey$2 = sharedKey$3;
1708
1708
  var hiddenKeys$4 = hiddenKeys$5;
1709
1709
 
1710
1710
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
1711
- var TypeError$c = global$z.TypeError;
1712
- var WeakMap = global$z.WeakMap;
1711
+ var TypeError$d = global$A.TypeError;
1712
+ var WeakMap = global$A.WeakMap;
1713
1713
  var set$1, get, has$3;
1714
1714
 
1715
1715
  var enforce = function (it) {
@@ -1719,19 +1719,19 @@ var enforce = function (it) {
1719
1719
  var getterFor = function (TYPE) {
1720
1720
  return function (it) {
1721
1721
  var state;
1722
- if (!isObject$c(it) || (state = get(it)).type !== TYPE) {
1723
- throw TypeError$c('Incompatible receiver, ' + TYPE + ' required');
1722
+ if (!isObject$d(it) || (state = get(it)).type !== TYPE) {
1723
+ throw TypeError$d('Incompatible receiver, ' + TYPE + ' required');
1724
1724
  } return state;
1725
1725
  };
1726
1726
  };
1727
1727
 
1728
1728
  if (NATIVE_WEAK_MAP || shared$1.state) {
1729
1729
  var store = shared$1.state || (shared$1.state = new WeakMap());
1730
- var wmget = uncurryThis$o(store.get);
1731
- var wmhas = uncurryThis$o(store.has);
1732
- var wmset = uncurryThis$o(store.set);
1730
+ var wmget = uncurryThis$p(store.get);
1731
+ var wmhas = uncurryThis$p(store.has);
1732
+ var wmset = uncurryThis$p(store.set);
1733
1733
  set$1 = function (it, metadata) {
1734
- if (wmhas(store, it)) throw new TypeError$c(OBJECT_ALREADY_INITIALIZED);
1734
+ if (wmhas(store, it)) throw new TypeError$d(OBJECT_ALREADY_INITIALIZED);
1735
1735
  metadata.facade = it;
1736
1736
  wmset(store, it, metadata);
1737
1737
  return metadata;
@@ -1746,7 +1746,7 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
1746
1746
  var STATE = sharedKey$2('state');
1747
1747
  hiddenKeys$4[STATE] = true;
1748
1748
  set$1 = function (it, metadata) {
1749
- if (hasOwn$c(it, STATE)) throw new TypeError$c(OBJECT_ALREADY_INITIALIZED);
1749
+ if (hasOwn$c(it, STATE)) throw new TypeError$d(OBJECT_ALREADY_INITIALIZED);
1750
1750
  metadata.facade = it;
1751
1751
  createNonEnumerableProperty$7(it, STATE, metadata);
1752
1752
  return metadata;
@@ -1785,7 +1785,7 @@ var functionName = {
1785
1785
  CONFIGURABLE: CONFIGURABLE
1786
1786
  };
1787
1787
 
1788
- var global$y = global$R;
1788
+ var global$z = global$S;
1789
1789
  var isCallable$c = isCallable$k;
1790
1790
  var hasOwn$a = hasOwnProperty_1;
1791
1791
  var createNonEnumerableProperty$6 = createNonEnumerableProperty$8;
@@ -1816,7 +1816,7 @@ var TEMPLATE = String(String).split('String');
1816
1816
  state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
1817
1817
  }
1818
1818
  }
1819
- if (O === global$y) {
1819
+ if (O === global$z) {
1820
1820
  if (simple) O[key] = value;
1821
1821
  else setGlobal$1(key, value);
1822
1822
  return;
@@ -1909,13 +1909,13 @@ var arrayIncludes = {
1909
1909
  indexOf: createMethod$4(false)
1910
1910
  };
1911
1911
 
1912
- var uncurryThis$n = functionUncurryThis;
1912
+ var uncurryThis$o = functionUncurryThis;
1913
1913
  var hasOwn$9 = hasOwnProperty_1;
1914
1914
  var toIndexedObject$5 = toIndexedObject$8;
1915
1915
  var indexOf$1 = arrayIncludes.indexOf;
1916
1916
  var hiddenKeys$3 = hiddenKeys$5;
1917
1917
 
1918
- var push$7 = uncurryThis$n([].push);
1918
+ var push$7 = uncurryThis$o([].push);
1919
1919
 
1920
1920
  var objectKeysInternal = function (object, names) {
1921
1921
  var O = toIndexedObject$5(object);
@@ -1959,12 +1959,12 @@ var objectGetOwnPropertySymbols = {};
1959
1959
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
1960
1960
 
1961
1961
  var getBuiltIn$7 = getBuiltIn$a;
1962
- var uncurryThis$m = functionUncurryThis;
1962
+ var uncurryThis$n = functionUncurryThis;
1963
1963
  var getOwnPropertyNamesModule$1 = objectGetOwnPropertyNames;
1964
1964
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
1965
1965
  var anObject$c = anObject$e;
1966
1966
 
1967
- var concat$1 = uncurryThis$m([].concat);
1967
+ var concat$1 = uncurryThis$n([].concat);
1968
1968
 
1969
1969
  // all object keys, includes non-enumerable and symbols
1970
1970
  var ownKeys$1 = getBuiltIn$7('Reflect', 'ownKeys') || function ownKeys(it) {
@@ -2013,7 +2013,7 @@ var POLYFILL = isForced$3.POLYFILL = 'P';
2013
2013
 
2014
2014
  var isForced_1 = isForced$3;
2015
2015
 
2016
- var global$x = global$R;
2016
+ var global$y = global$S;
2017
2017
  var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f;
2018
2018
  var createNonEnumerableProperty$5 = createNonEnumerableProperty$8;
2019
2019
  var redefine$9 = redefine$a.exports;
@@ -2042,11 +2042,11 @@ var _export = function (options, source) {
2042
2042
  var STATIC = options.stat;
2043
2043
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
2044
2044
  if (GLOBAL) {
2045
- target = global$x;
2045
+ target = global$y;
2046
2046
  } else if (STATIC) {
2047
- target = global$x[TARGET] || setGlobal(TARGET, {});
2047
+ target = global$y[TARGET] || setGlobal(TARGET, {});
2048
2048
  } else {
2049
- target = (global$x[TARGET] || {}).prototype;
2049
+ target = (global$y[TARGET] || {}).prototype;
2050
2050
  }
2051
2051
  if (target) for (key in source) {
2052
2052
  sourceProperty = source[key];
@@ -2083,12 +2083,12 @@ var createProperty$3 = function (object, key, value) {
2083
2083
  else object[propertyKey] = value;
2084
2084
  };
2085
2085
 
2086
- var global$w = global$R;
2086
+ var global$x = global$S;
2087
2087
  var toAbsoluteIndex = toAbsoluteIndex$2;
2088
2088
  var lengthOfArrayLike$5 = lengthOfArrayLike$7;
2089
2089
  var createProperty$2 = createProperty$3;
2090
2090
 
2091
- var Array$4 = global$w.Array;
2091
+ var Array$4 = global$x.Array;
2092
2092
  var max$1 = Math.max;
2093
2093
 
2094
2094
  var arraySliceSimple = function (O, start, end) {
@@ -2103,7 +2103,7 @@ var arraySliceSimple = function (O, start, end) {
2103
2103
 
2104
2104
  /* eslint-disable es/no-object-getownpropertynames -- safe */
2105
2105
 
2106
- var classof$9 = classofRaw$1;
2106
+ var classof$a = classofRaw$1;
2107
2107
  var toIndexedObject$4 = toIndexedObject$8;
2108
2108
  var $getOwnPropertyNames = objectGetOwnPropertyNames.f;
2109
2109
  var arraySlice$5 = arraySliceSimple;
@@ -2121,7 +2121,7 @@ var getWindowNames = function (it) {
2121
2121
 
2122
2122
  // fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
2123
2123
  objectGetOwnPropertyNamesExternal.f = function getOwnPropertyNames(it) {
2124
- return windowNames && classof$9(it) == 'Window'
2124
+ return windowNames && classof$a(it) == 'Window'
2125
2125
  ? getWindowNames(it)
2126
2126
  : $getOwnPropertyNames(toIndexedObject$4(it));
2127
2127
  };
@@ -2138,8 +2138,8 @@ var arrayBufferNonExtensible = fails$l(function () {
2138
2138
  });
2139
2139
 
2140
2140
  var fails$k = fails$t;
2141
- var isObject$b = isObject$h;
2142
- var classof$8 = classofRaw$1;
2141
+ var isObject$c = isObject$i;
2142
+ var classof$9 = classofRaw$1;
2143
2143
  var ARRAY_BUFFER_NON_EXTENSIBLE = arrayBufferNonExtensible;
2144
2144
 
2145
2145
  // eslint-disable-next-line es/no-object-isextensible -- safe
@@ -2149,8 +2149,8 @@ var FAILS_ON_PRIMITIVES$2 = fails$k(function () { $isExtensible(1); });
2149
2149
  // `Object.isExtensible` method
2150
2150
  // https://tc39.es/ecma262/#sec-object.isextensible
2151
2151
  var objectIsExtensible = (FAILS_ON_PRIMITIVES$2 || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {
2152
- if (!isObject$b(it)) return false;
2153
- if (ARRAY_BUFFER_NON_EXTENSIBLE && classof$8(it) == 'ArrayBuffer') return false;
2152
+ if (!isObject$c(it)) return false;
2153
+ if (ARRAY_BUFFER_NON_EXTENSIBLE && classof$9(it) == 'ArrayBuffer') return false;
2154
2154
  return $isExtensible ? $isExtensible(it) : true;
2155
2155
  } : $isExtensible;
2156
2156
 
@@ -2161,10 +2161,10 @@ var freezing = !fails$j(function () {
2161
2161
  return Object.isExtensible(Object.preventExtensions({}));
2162
2162
  });
2163
2163
 
2164
- var $$j = _export;
2165
- var uncurryThis$l = functionUncurryThis;
2164
+ var $$k = _export;
2165
+ var uncurryThis$m = functionUncurryThis;
2166
2166
  var hiddenKeys$1 = hiddenKeys$5;
2167
- var isObject$a = isObject$h;
2167
+ var isObject$b = isObject$i;
2168
2168
  var hasOwn$7 = hasOwnProperty_1;
2169
2169
  var defineProperty$4 = objectDefineProperty.f;
2170
2170
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
@@ -2186,7 +2186,7 @@ var setMetadata = function (it) {
2186
2186
 
2187
2187
  var fastKey = function (it, create) {
2188
2188
  // return a primitive with prefix
2189
- if (!isObject$a(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
2189
+ if (!isObject$b(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
2190
2190
  if (!hasOwn$7(it, METADATA)) {
2191
2191
  // can't set metadata to uncaught frozen object
2192
2192
  if (!isExtensible(it)) return 'F';
@@ -2220,7 +2220,7 @@ var enable = function () {
2220
2220
  meta.enable = function () { /* empty */ };
2221
2221
  REQUIRED = true;
2222
2222
  var getOwnPropertyNames = getOwnPropertyNamesModule.f;
2223
- var splice = uncurryThis$l([].splice);
2223
+ var splice = uncurryThis$m([].splice);
2224
2224
  var test = {};
2225
2225
  test[METADATA] = 1;
2226
2226
 
@@ -2236,7 +2236,7 @@ var enable = function () {
2236
2236
  } return result;
2237
2237
  };
2238
2238
 
2239
- $$j({ target: 'Object', stat: true, forced: true }, {
2239
+ $$k({ target: 'Object', stat: true, forced: true }, {
2240
2240
  getOwnPropertyNames: getOwnPropertyNamesExternalModule.f
2241
2241
  });
2242
2242
  }
@@ -2251,8 +2251,8 @@ var meta = internalMetadata.exports = {
2251
2251
 
2252
2252
  hiddenKeys$1[METADATA] = true;
2253
2253
 
2254
- var $$i = _export;
2255
- var isObject$9 = isObject$h;
2254
+ var $$j = _export;
2255
+ var isObject$a = isObject$i;
2256
2256
  var onFreeze = internalMetadata.exports.onFreeze;
2257
2257
  var FREEZING = freezing;
2258
2258
  var fails$i = fails$t;
@@ -2263,38 +2263,38 @@ var FAILS_ON_PRIMITIVES$1 = fails$i(function () { $seal(1); });
2263
2263
 
2264
2264
  // `Object.seal` method
2265
2265
  // https://tc39.es/ecma262/#sec-object.seal
2266
- $$i({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$1, sham: !FREEZING }, {
2266
+ $$j({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$1, sham: !FREEZING }, {
2267
2267
  seal: function seal(it) {
2268
- return $seal && isObject$9(it) ? $seal(onFreeze(it)) : it;
2268
+ return $seal && isObject$a(it) ? $seal(onFreeze(it)) : it;
2269
2269
  }
2270
2270
  });
2271
2271
 
2272
- var classof$7 = classofRaw$1;
2272
+ var classof$8 = classofRaw$1;
2273
2273
 
2274
2274
  // `IsArray` abstract operation
2275
2275
  // https://tc39.es/ecma262/#sec-isarray
2276
2276
  // eslint-disable-next-line es/no-array-isarray -- safe
2277
2277
  var isArray$8 = Array.isArray || function isArray(argument) {
2278
- return classof$7(argument) == 'Array';
2278
+ return classof$8(argument) == 'Array';
2279
2279
  };
2280
2280
 
2281
- var wellKnownSymbol$h = wellKnownSymbol$j;
2281
+ var wellKnownSymbol$j = wellKnownSymbol$l;
2282
2282
 
2283
- var TO_STRING_TAG$3 = wellKnownSymbol$h('toStringTag');
2283
+ var TO_STRING_TAG$3 = wellKnownSymbol$j('toStringTag');
2284
2284
  var test$1 = {};
2285
2285
 
2286
2286
  test$1[TO_STRING_TAG$3] = 'z';
2287
2287
 
2288
2288
  var toStringTagSupport = String(test$1) === '[object z]';
2289
2289
 
2290
- var global$v = global$R;
2290
+ var global$w = global$S;
2291
2291
  var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
2292
2292
  var isCallable$a = isCallable$k;
2293
2293
  var classofRaw = classofRaw$1;
2294
- var wellKnownSymbol$g = wellKnownSymbol$j;
2294
+ var wellKnownSymbol$i = wellKnownSymbol$l;
2295
2295
 
2296
- var TO_STRING_TAG$2 = wellKnownSymbol$g('toStringTag');
2297
- var Object$2 = global$v.Object;
2296
+ var TO_STRING_TAG$2 = wellKnownSymbol$i('toStringTag');
2297
+ var Object$2 = global$w.Object;
2298
2298
 
2299
2299
  // ES3 wrong here
2300
2300
  var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
@@ -2307,7 +2307,7 @@ var tryGet = function (it, key) {
2307
2307
  };
2308
2308
 
2309
2309
  // getting tag from ES6+ `Object.prototype.toString`
2310
- var classof$6 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
2310
+ var classof$7 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
2311
2311
  var O, tag, result;
2312
2312
  return it === undefined ? 'Undefined' : it === null ? 'Null'
2313
2313
  // @@toStringTag case
@@ -2318,10 +2318,10 @@ var classof$6 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
2318
2318
  : (result = classofRaw(O)) == 'Object' && isCallable$a(O.callee) ? 'Arguments' : result;
2319
2319
  };
2320
2320
 
2321
- var uncurryThis$k = functionUncurryThis;
2321
+ var uncurryThis$l = functionUncurryThis;
2322
2322
  var fails$h = fails$t;
2323
2323
  var isCallable$9 = isCallable$k;
2324
- var classof$5 = classof$6;
2324
+ var classof$6 = classof$7;
2325
2325
  var getBuiltIn$6 = getBuiltIn$a;
2326
2326
  var inspectSource$1 = inspectSource$4;
2327
2327
 
@@ -2329,7 +2329,7 @@ var noop = function () { /* empty */ };
2329
2329
  var empty = [];
2330
2330
  var construct = getBuiltIn$6('Reflect', 'construct');
2331
2331
  var constructorRegExp = /^\s*(?:class|function)\b/;
2332
- var exec$4 = uncurryThis$k(constructorRegExp.exec);
2332
+ var exec$4 = uncurryThis$l(constructorRegExp.exec);
2333
2333
  var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
2334
2334
 
2335
2335
  var isConstructorModern = function isConstructor(argument) {
@@ -2344,7 +2344,7 @@ var isConstructorModern = function isConstructor(argument) {
2344
2344
 
2345
2345
  var isConstructorLegacy = function isConstructor(argument) {
2346
2346
  if (!isCallable$9(argument)) return false;
2347
- switch (classof$5(argument)) {
2347
+ switch (classof$6(argument)) {
2348
2348
  case 'AsyncFunction':
2349
2349
  case 'GeneratorFunction':
2350
2350
  case 'AsyncGeneratorFunction': return false;
@@ -2371,14 +2371,14 @@ var isConstructor$3 = !construct || fails$h(function () {
2371
2371
  || called;
2372
2372
  }) ? isConstructorLegacy : isConstructorModern;
2373
2373
 
2374
- var global$u = global$R;
2374
+ var global$v = global$S;
2375
2375
  var isArray$7 = isArray$8;
2376
2376
  var isConstructor$2 = isConstructor$3;
2377
- var isObject$8 = isObject$h;
2378
- var wellKnownSymbol$f = wellKnownSymbol$j;
2377
+ var isObject$9 = isObject$i;
2378
+ var wellKnownSymbol$h = wellKnownSymbol$l;
2379
2379
 
2380
- var SPECIES$4 = wellKnownSymbol$f('species');
2381
- var Array$3 = global$u.Array;
2380
+ var SPECIES$4 = wellKnownSymbol$h('species');
2381
+ var Array$3 = global$v.Array;
2382
2382
 
2383
2383
  // a part of `ArraySpeciesCreate` abstract operation
2384
2384
  // https://tc39.es/ecma262/#sec-arrayspeciescreate
@@ -2388,7 +2388,7 @@ var arraySpeciesConstructor$1 = function (originalArray) {
2388
2388
  C = originalArray.constructor;
2389
2389
  // cross-realm fallback
2390
2390
  if (isConstructor$2(C) && (C === Array$3 || isArray$7(C.prototype))) C = undefined;
2391
- else if (isObject$8(C)) {
2391
+ else if (isObject$9(C)) {
2392
2392
  C = C[SPECIES$4];
2393
2393
  if (C === null) C = undefined;
2394
2394
  }
@@ -2404,10 +2404,10 @@ var arraySpeciesCreate$2 = function (originalArray, length) {
2404
2404
  };
2405
2405
 
2406
2406
  var fails$g = fails$t;
2407
- var wellKnownSymbol$e = wellKnownSymbol$j;
2407
+ var wellKnownSymbol$g = wellKnownSymbol$l;
2408
2408
  var V8_VERSION$2 = engineV8Version;
2409
2409
 
2410
- var SPECIES$3 = wellKnownSymbol$e('species');
2410
+ var SPECIES$3 = wellKnownSymbol$g('species');
2411
2411
 
2412
2412
  var arrayMethodHasSpeciesSupport$3 = function (METHOD_NAME) {
2413
2413
  // We can't use this feature detection in V8 since it causes
@@ -2423,23 +2423,23 @@ var arrayMethodHasSpeciesSupport$3 = function (METHOD_NAME) {
2423
2423
  });
2424
2424
  };
2425
2425
 
2426
- var $$h = _export;
2427
- var global$t = global$R;
2426
+ var $$i = _export;
2427
+ var global$u = global$S;
2428
2428
  var fails$f = fails$t;
2429
2429
  var isArray$6 = isArray$8;
2430
- var isObject$7 = isObject$h;
2430
+ var isObject$8 = isObject$i;
2431
2431
  var toObject$6 = toObject$8;
2432
2432
  var lengthOfArrayLike$4 = lengthOfArrayLike$7;
2433
2433
  var createProperty$1 = createProperty$3;
2434
2434
  var arraySpeciesCreate$1 = arraySpeciesCreate$2;
2435
2435
  var arrayMethodHasSpeciesSupport$2 = arrayMethodHasSpeciesSupport$3;
2436
- var wellKnownSymbol$d = wellKnownSymbol$j;
2436
+ var wellKnownSymbol$f = wellKnownSymbol$l;
2437
2437
  var V8_VERSION$1 = engineV8Version;
2438
2438
 
2439
- var IS_CONCAT_SPREADABLE = wellKnownSymbol$d('isConcatSpreadable');
2439
+ var IS_CONCAT_SPREADABLE = wellKnownSymbol$f('isConcatSpreadable');
2440
2440
  var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
2441
2441
  var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
2442
- var TypeError$b = global$t.TypeError;
2442
+ var TypeError$c = global$u.TypeError;
2443
2443
 
2444
2444
  // We can't use this feature detection in V8 since it causes
2445
2445
  // deoptimization and serious performance degradation
@@ -2453,7 +2453,7 @@ var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION$1 >= 51 || !fails$f(function () {
2453
2453
  var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport$2('concat');
2454
2454
 
2455
2455
  var isConcatSpreadable = function (O) {
2456
- if (!isObject$7(O)) return false;
2456
+ if (!isObject$8(O)) return false;
2457
2457
  var spreadable = O[IS_CONCAT_SPREADABLE];
2458
2458
  return spreadable !== undefined ? !!spreadable : isArray$6(O);
2459
2459
  };
@@ -2463,7 +2463,7 @@ var FORCED$4 = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
2463
2463
  // `Array.prototype.concat` method
2464
2464
  // https://tc39.es/ecma262/#sec-array.prototype.concat
2465
2465
  // with adding support of @@isConcatSpreadable and @@species
2466
- $$h({ target: 'Array', proto: true, forced: FORCED$4 }, {
2466
+ $$i({ target: 'Array', proto: true, forced: FORCED$4 }, {
2467
2467
  // eslint-disable-next-line no-unused-vars -- required for `.length`
2468
2468
  concat: function concat(arg) {
2469
2469
  var O = toObject$6(this);
@@ -2474,10 +2474,10 @@ $$h({ target: 'Array', proto: true, forced: FORCED$4 }, {
2474
2474
  E = i === -1 ? O : arguments[i];
2475
2475
  if (isConcatSpreadable(E)) {
2476
2476
  len = lengthOfArrayLike$4(E);
2477
- if (n + len > MAX_SAFE_INTEGER) throw TypeError$b(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
2477
+ if (n + len > MAX_SAFE_INTEGER) throw TypeError$c(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
2478
2478
  for (k = 0; k < len; k++, n++) if (k in E) createProperty$1(A, n, E[k]);
2479
2479
  } else {
2480
- if (n >= MAX_SAFE_INTEGER) throw TypeError$b(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
2480
+ if (n >= MAX_SAFE_INTEGER) throw TypeError$c(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
2481
2481
  createProperty$1(A, n++, E);
2482
2482
  }
2483
2483
  }
@@ -2497,20 +2497,20 @@ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$
2497
2497
  return call$a.apply(apply$3, arguments);
2498
2498
  });
2499
2499
 
2500
- var global$s = global$R;
2500
+ var global$t = global$S;
2501
2501
  var isCallable$8 = isCallable$k;
2502
2502
 
2503
- var String$3 = global$s.String;
2504
- var TypeError$a = global$s.TypeError;
2503
+ var String$3 = global$t.String;
2504
+ var TypeError$b = global$t.TypeError;
2505
2505
 
2506
2506
  var aPossiblePrototype$1 = function (argument) {
2507
2507
  if (typeof argument == 'object' || isCallable$8(argument)) return argument;
2508
- throw TypeError$a("Can't set " + String$3(argument) + ' as a prototype');
2508
+ throw TypeError$b("Can't set " + String$3(argument) + ' as a prototype');
2509
2509
  };
2510
2510
 
2511
2511
  /* eslint-disable no-proto -- safe */
2512
2512
 
2513
- var uncurryThis$j = functionUncurryThis;
2513
+ var uncurryThis$k = functionUncurryThis;
2514
2514
  var anObject$b = anObject$e;
2515
2515
  var aPossiblePrototype = aPossiblePrototype$1;
2516
2516
 
@@ -2524,7 +2524,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
2524
2524
  var setter;
2525
2525
  try {
2526
2526
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2527
- setter = uncurryThis$j(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
2527
+ setter = uncurryThis$k(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
2528
2528
  setter(test, []);
2529
2529
  CORRECT_SETTER = test instanceof Array;
2530
2530
  } catch (error) { /* empty */ }
@@ -2538,7 +2538,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
2538
2538
  }() : undefined);
2539
2539
 
2540
2540
  var isCallable$7 = isCallable$k;
2541
- var isObject$6 = isObject$h;
2541
+ var isObject$7 = isObject$i;
2542
2542
  var setPrototypeOf$3 = objectSetPrototypeOf;
2543
2543
 
2544
2544
  // makes subclassing work correct for wrapped built-ins
@@ -2550,42 +2550,42 @@ var inheritIfRequired$2 = function ($this, dummy, Wrapper) {
2550
2550
  // we haven't completely correct pre-ES6 way for getting `new.target`, so use this
2551
2551
  isCallable$7(NewTarget = dummy.constructor) &&
2552
2552
  NewTarget !== Wrapper &&
2553
- isObject$6(NewTargetPrototype = NewTarget.prototype) &&
2553
+ isObject$7(NewTargetPrototype = NewTarget.prototype) &&
2554
2554
  NewTargetPrototype !== Wrapper.prototype
2555
2555
  ) setPrototypeOf$3($this, NewTargetPrototype);
2556
2556
  return $this;
2557
2557
  };
2558
2558
 
2559
- var global$r = global$R;
2560
- var classof$4 = classof$6;
2559
+ var global$s = global$S;
2560
+ var classof$5 = classof$7;
2561
2561
 
2562
- var String$2 = global$r.String;
2562
+ var String$2 = global$s.String;
2563
2563
 
2564
- var toString$8 = function (argument) {
2565
- if (classof$4(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
2564
+ var toString$9 = function (argument) {
2565
+ if (classof$5(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
2566
2566
  return String$2(argument);
2567
2567
  };
2568
2568
 
2569
- var toString$7 = toString$8;
2569
+ var toString$8 = toString$9;
2570
2570
 
2571
2571
  var normalizeStringArgument$1 = function (argument, $default) {
2572
- return argument === undefined ? arguments.length < 2 ? '' : $default : toString$7(argument);
2572
+ return argument === undefined ? arguments.length < 2 ? '' : $default : toString$8(argument);
2573
2573
  };
2574
2574
 
2575
- var isObject$5 = isObject$h;
2575
+ var isObject$6 = isObject$i;
2576
2576
  var createNonEnumerableProperty$4 = createNonEnumerableProperty$8;
2577
2577
 
2578
2578
  // `InstallErrorCause` abstract operation
2579
2579
  // https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause
2580
2580
  var installErrorCause$1 = function (O, options) {
2581
- if (isObject$5(options) && 'cause' in options) {
2581
+ if (isObject$6(options) && 'cause' in options) {
2582
2582
  createNonEnumerableProperty$4(O, 'cause', options.cause);
2583
2583
  }
2584
2584
  };
2585
2585
 
2586
- var uncurryThis$i = functionUncurryThis;
2586
+ var uncurryThis$j = functionUncurryThis;
2587
2587
 
2588
- var replace$7 = uncurryThis$i(''.replace);
2588
+ var replace$7 = uncurryThis$j(''.replace);
2589
2589
 
2590
2590
  var TEST = (function (arg) { return String(Error(arg).stack); })('zxcasd');
2591
2591
  var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
@@ -2669,27 +2669,27 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
2669
2669
 
2670
2670
  /* eslint-disable no-unused-vars -- required for functions `.length` */
2671
2671
 
2672
- var $$g = _export;
2673
- var global$q = global$R;
2672
+ var $$h = _export;
2673
+ var global$r = global$S;
2674
2674
  var apply$2 = functionApply;
2675
2675
  var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
2676
2676
 
2677
2677
  var WEB_ASSEMBLY = 'WebAssembly';
2678
- var WebAssembly = global$q[WEB_ASSEMBLY];
2678
+ var WebAssembly = global$r[WEB_ASSEMBLY];
2679
2679
 
2680
2680
  var FORCED$3 = Error('e', { cause: 7 }).cause !== 7;
2681
2681
 
2682
2682
  var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
2683
2683
  var O = {};
2684
2684
  O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED$3);
2685
- $$g({ global: true, forced: FORCED$3 }, O);
2685
+ $$h({ global: true, forced: FORCED$3 }, O);
2686
2686
  };
2687
2687
 
2688
2688
  var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
2689
2689
  if (WebAssembly && WebAssembly[ERROR_NAME]) {
2690
2690
  var O = {};
2691
2691
  O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED$3);
2692
- $$g({ target: WEB_ASSEMBLY, stat: true, forced: FORCED$3 }, O);
2692
+ $$h({ target: WEB_ASSEMBLY, stat: true, forced: FORCED$3 }, O);
2693
2693
  }
2694
2694
  };
2695
2695
 
@@ -2755,22 +2755,22 @@ var ValidationError = /*#__PURE__*/function (_Error) {
2755
2755
  }( /*#__PURE__*/_wrapNativeSuper(Error));
2756
2756
 
2757
2757
  var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;
2758
- var classof$3 = classof$6;
2758
+ var classof$4 = classof$7;
2759
2759
 
2760
2760
  // `Object.prototype.toString` method implementation
2761
2761
  // https://tc39.es/ecma262/#sec-object.prototype.tostring
2762
2762
  var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {
2763
- return '[object ' + classof$3(this) + ']';
2763
+ return '[object ' + classof$4(this) + ']';
2764
2764
  };
2765
2765
 
2766
2766
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
2767
2767
  var redefine$8 = redefine$a.exports;
2768
- var toString$6 = objectToString;
2768
+ var toString$7 = objectToString;
2769
2769
 
2770
2770
  // `Object.prototype.toString` method
2771
2771
  // https://tc39.es/ecma262/#sec-object.prototype.tostring
2772
2772
  if (!TO_STRING_TAG_SUPPORT) {
2773
- redefine$8(Object.prototype, 'toString', toString$6, { unsafe: true });
2773
+ redefine$8(Object.prototype, 'toString', toString$7, { unsafe: true });
2774
2774
  }
2775
2775
 
2776
2776
  // iterable DOM collections
@@ -2817,11 +2817,11 @@ var DOMTokenListPrototype$2 = classList && classList.constructor && classList.co
2817
2817
 
2818
2818
  var domTokenListPrototype = DOMTokenListPrototype$2 === Object.prototype ? undefined : DOMTokenListPrototype$2;
2819
2819
 
2820
- var uncurryThis$h = functionUncurryThis;
2820
+ var uncurryThis$i = functionUncurryThis;
2821
2821
  var aCallable$4 = aCallable$6;
2822
2822
  var NATIVE_BIND = functionBindNative;
2823
2823
 
2824
- var bind$b = uncurryThis$h(uncurryThis$h.bind);
2824
+ var bind$b = uncurryThis$i(uncurryThis$i.bind);
2825
2825
 
2826
2826
  // optional / simple context binding
2827
2827
  var functionBindContext = function (fn, that) {
@@ -2832,13 +2832,13 @@ var functionBindContext = function (fn, that) {
2832
2832
  };
2833
2833
 
2834
2834
  var bind$a = functionBindContext;
2835
- var uncurryThis$g = functionUncurryThis;
2835
+ var uncurryThis$h = functionUncurryThis;
2836
2836
  var IndexedObject$2 = indexedObject;
2837
2837
  var toObject$5 = toObject$8;
2838
2838
  var lengthOfArrayLike$3 = lengthOfArrayLike$7;
2839
2839
  var arraySpeciesCreate = arraySpeciesCreate$2;
2840
2840
 
2841
- var push$6 = uncurryThis$g([].push);
2841
+ var push$6 = uncurryThis$h([].push);
2842
2842
 
2843
2843
  // `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
2844
2844
  var createMethod$3 = function (TYPE) {
@@ -2927,7 +2927,7 @@ var arrayForEach = !STRICT_METHOD$2 ? function forEach(callbackfn /* , thisArg *
2927
2927
  // eslint-disable-next-line es/no-array-prototype-foreach -- safe
2928
2928
  } : [].forEach;
2929
2929
 
2930
- var global$p = global$R;
2930
+ var global$q = global$S;
2931
2931
  var DOMIterables$1 = domIterables;
2932
2932
  var DOMTokenListPrototype$1 = domTokenListPrototype;
2933
2933
  var forEach$1 = arrayForEach;
@@ -2944,7 +2944,7 @@ var handlePrototype$1 = function (CollectionPrototype) {
2944
2944
 
2945
2945
  for (var COLLECTION_NAME$1 in DOMIterables$1) {
2946
2946
  if (DOMIterables$1[COLLECTION_NAME$1]) {
2947
- handlePrototype$1(global$p[COLLECTION_NAME$1] && global$p[COLLECTION_NAME$1].prototype);
2947
+ handlePrototype$1(global$q[COLLECTION_NAME$1] && global$q[COLLECTION_NAME$1].prototype);
2948
2948
  }
2949
2949
  }
2950
2950
 
@@ -2960,7 +2960,7 @@ var objectKeys$3 = Object.keys || function keys(O) {
2960
2960
  return internalObjectKeys(O, enumBugKeys$1);
2961
2961
  };
2962
2962
 
2963
- var $$f = _export;
2963
+ var $$g = _export;
2964
2964
  var toObject$4 = toObject$8;
2965
2965
  var nativeKeys = objectKeys$3;
2966
2966
  var fails$c = fails$t;
@@ -2969,7 +2969,7 @@ var FAILS_ON_PRIMITIVES = fails$c(function () { nativeKeys(1); });
2969
2969
 
2970
2970
  // `Object.keys` method
2971
2971
  // https://tc39.es/ecma262/#sec-object.keys
2972
- $$f({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
2972
+ $$g({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
2973
2973
  keys: function keys(it) {
2974
2974
  return nativeKeys(toObject$4(it));
2975
2975
  }
@@ -2992,10 +2992,10 @@ var regexpFlags$1 = function () {
2992
2992
  };
2993
2993
 
2994
2994
  var fails$b = fails$t;
2995
- var global$o = global$R;
2995
+ var global$p = global$S;
2996
2996
 
2997
2997
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
2998
- var $RegExp$2 = global$o.RegExp;
2998
+ var $RegExp$2 = global$p.RegExp;
2999
2999
 
3000
3000
  var UNSUPPORTED_Y$1 = fails$b(function () {
3001
3001
  var re = $RegExp$2('a', 'y');
@@ -3134,10 +3134,10 @@ var objectCreate = Object.create || function create(O, Properties) {
3134
3134
  };
3135
3135
 
3136
3136
  var fails$a = fails$t;
3137
- var global$n = global$R;
3137
+ var global$o = global$S;
3138
3138
 
3139
3139
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
3140
- var $RegExp$1 = global$n.RegExp;
3140
+ var $RegExp$1 = global$o.RegExp;
3141
3141
 
3142
3142
  var regexpUnsupportedDotAll = fails$a(function () {
3143
3143
  var re = $RegExp$1('.', 's');
@@ -3145,10 +3145,10 @@ var regexpUnsupportedDotAll = fails$a(function () {
3145
3145
  });
3146
3146
 
3147
3147
  var fails$9 = fails$t;
3148
- var global$m = global$R;
3148
+ var global$n = global$S;
3149
3149
 
3150
3150
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
3151
- var $RegExp = global$m.RegExp;
3151
+ var $RegExp = global$n.RegExp;
3152
3152
 
3153
3153
  var regexpUnsupportedNcg = fails$9(function () {
3154
3154
  var re = $RegExp('(?<a>b)', 'g');
@@ -3159,8 +3159,8 @@ var regexpUnsupportedNcg = fails$9(function () {
3159
3159
  /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
3160
3160
  /* eslint-disable regexp/no-useless-quantifier -- testing */
3161
3161
  var call$9 = functionCall;
3162
- var uncurryThis$f = functionUncurryThis;
3163
- var toString$5 = toString$8;
3162
+ var uncurryThis$g = functionUncurryThis;
3163
+ var toString$6 = toString$9;
3164
3164
  var regexpFlags = regexpFlags$1;
3165
3165
  var stickyHelpers = regexpStickyHelpers;
3166
3166
  var shared = shared$4.exports;
@@ -3172,10 +3172,10 @@ var UNSUPPORTED_NCG = regexpUnsupportedNcg;
3172
3172
  var nativeReplace = shared('native-string-replace', String.prototype.replace);
3173
3173
  var nativeExec = RegExp.prototype.exec;
3174
3174
  var patchedExec = nativeExec;
3175
- var charAt$5 = uncurryThis$f(''.charAt);
3176
- var indexOf = uncurryThis$f(''.indexOf);
3177
- var replace$6 = uncurryThis$f(''.replace);
3178
- var stringSlice$3 = uncurryThis$f(''.slice);
3175
+ var charAt$5 = uncurryThis$g(''.charAt);
3176
+ var indexOf = uncurryThis$g(''.indexOf);
3177
+ var replace$6 = uncurryThis$g(''.replace);
3178
+ var stringSlice$3 = uncurryThis$g(''.slice);
3179
3179
 
3180
3180
  var UPDATES_LAST_INDEX_WRONG = (function () {
3181
3181
  var re1 = /a/;
@@ -3196,7 +3196,7 @@ if (PATCH) {
3196
3196
  patchedExec = function exec(string) {
3197
3197
  var re = this;
3198
3198
  var state = getInternalState$3(re);
3199
- var str = toString$5(string);
3199
+ var str = toString$6(string);
3200
3200
  var raw = state.raw;
3201
3201
  var result, reCopy, lastIndex, match, i, object, group;
3202
3202
 
@@ -3273,23 +3273,23 @@ if (PATCH) {
3273
3273
 
3274
3274
  var regexpExec = patchedExec;
3275
3275
 
3276
- var $$e = _export;
3276
+ var $$f = _export;
3277
3277
  var exec$3 = regexpExec;
3278
3278
 
3279
3279
  // `RegExp.prototype.exec` method
3280
3280
  // https://tc39.es/ecma262/#sec-regexp.prototype.exec
3281
- $$e({ target: 'RegExp', proto: true, forced: /./.exec !== exec$3 }, {
3281
+ $$f({ target: 'RegExp', proto: true, forced: /./.exec !== exec$3 }, {
3282
3282
  exec: exec$3
3283
3283
  });
3284
3284
 
3285
3285
  // TODO: Remove from `core-js@4` since it's moved to entry points
3286
3286
 
3287
- var $$d = _export;
3288
- var global$l = global$R;
3287
+ var $$e = _export;
3288
+ var global$m = global$S;
3289
3289
  var call$8 = functionCall;
3290
- var uncurryThis$e = functionUncurryThis;
3290
+ var uncurryThis$f = functionUncurryThis;
3291
3291
  var isCallable$6 = isCallable$k;
3292
- var isObject$4 = isObject$h;
3292
+ var isObject$5 = isObject$i;
3293
3293
 
3294
3294
  var DELEGATES_TO_EXEC = function () {
3295
3295
  var execCalled = false;
@@ -3301,39 +3301,39 @@ var DELEGATES_TO_EXEC = function () {
3301
3301
  return re.test('abc') === true && execCalled;
3302
3302
  }();
3303
3303
 
3304
- var Error$1 = global$l.Error;
3305
- var un$Test = uncurryThis$e(/./.test);
3304
+ var Error$1 = global$m.Error;
3305
+ var un$Test = uncurryThis$f(/./.test);
3306
3306
 
3307
3307
  // `RegExp.prototype.test` method
3308
3308
  // https://tc39.es/ecma262/#sec-regexp.prototype.test
3309
- $$d({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
3309
+ $$e({ target: 'RegExp', proto: true, forced: !DELEGATES_TO_EXEC }, {
3310
3310
  test: function (str) {
3311
3311
  var exec = this.exec;
3312
3312
  if (!isCallable$6(exec)) return un$Test(this, str);
3313
3313
  var result = call$8(exec, this, str);
3314
- if (result !== null && !isObject$4(result)) {
3314
+ if (result !== null && !isObject$5(result)) {
3315
3315
  throw new Error$1('RegExp exec method returned something other than an Object or null');
3316
3316
  }
3317
3317
  return !!result;
3318
3318
  }
3319
3319
  });
3320
3320
 
3321
- var uncurryThis$d = functionUncurryThis;
3321
+ var uncurryThis$e = functionUncurryThis;
3322
3322
 
3323
3323
  // `thisNumberValue` abstract operation
3324
3324
  // https://tc39.es/ecma262/#sec-thisnumbervalue
3325
- var thisNumberValue$1 = uncurryThis$d(1.0.valueOf);
3325
+ var thisNumberValue$1 = uncurryThis$e(1.0.valueOf);
3326
3326
 
3327
3327
  // a string of all valid unicode whitespaces
3328
3328
  var whitespaces$1 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u2001\u2002' +
3329
3329
  '\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
3330
3330
 
3331
- var uncurryThis$c = functionUncurryThis;
3332
- var requireObjectCoercible$1 = requireObjectCoercible$4;
3333
- var toString$4 = toString$8;
3331
+ var uncurryThis$d = functionUncurryThis;
3332
+ var requireObjectCoercible$2 = requireObjectCoercible$5;
3333
+ var toString$5 = toString$9;
3334
3334
  var whitespaces = whitespaces$1;
3335
3335
 
3336
- var replace$5 = uncurryThis$c(''.replace);
3336
+ var replace$5 = uncurryThis$d(''.replace);
3337
3337
  var whitespace = '[' + whitespaces + ']';
3338
3338
  var ltrim = RegExp('^' + whitespace + whitespace + '*');
3339
3339
  var rtrim = RegExp(whitespace + whitespace + '*$');
@@ -3341,7 +3341,7 @@ var rtrim = RegExp(whitespace + whitespace + '*$');
3341
3341
  // `String.prototype.{ trim, trimStart, trimEnd, trimLeft, trimRight }` methods implementation
3342
3342
  var createMethod$2 = function (TYPE) {
3343
3343
  return function ($this) {
3344
- var string = toString$4(requireObjectCoercible$1($this));
3344
+ var string = toString$5(requireObjectCoercible$2($this));
3345
3345
  if (TYPE & 1) string = replace$5(string, ltrim, '');
3346
3346
  if (TYPE & 2) string = replace$5(string, rtrim, '');
3347
3347
  return string;
@@ -3361,8 +3361,8 @@ var stringTrim = {
3361
3361
  };
3362
3362
 
3363
3363
  var DESCRIPTORS$5 = descriptors;
3364
- var global$k = global$R;
3365
- var uncurryThis$b = functionUncurryThis;
3364
+ var global$l = global$S;
3365
+ var uncurryThis$c = functionUncurryThis;
3366
3366
  var isForced$1 = isForced_1;
3367
3367
  var redefine$7 = redefine$a.exports;
3368
3368
  var hasOwn$5 = hasOwnProperty_1;
@@ -3378,11 +3378,11 @@ var thisNumberValue = thisNumberValue$1;
3378
3378
  var trim$1 = stringTrim.trim;
3379
3379
 
3380
3380
  var NUMBER = 'Number';
3381
- var NativeNumber = global$k[NUMBER];
3381
+ var NativeNumber = global$l[NUMBER];
3382
3382
  var NumberPrototype = NativeNumber.prototype;
3383
- var TypeError$9 = global$k.TypeError;
3384
- var arraySlice$4 = uncurryThis$b(''.slice);
3385
- var charCodeAt$3 = uncurryThis$b(''.charCodeAt);
3383
+ var TypeError$a = global$l.TypeError;
3384
+ var arraySlice$4 = uncurryThis$c(''.slice);
3385
+ var charCodeAt$3 = uncurryThis$c(''.charCodeAt);
3386
3386
 
3387
3387
  // `ToNumeric` abstract operation
3388
3388
  // https://tc39.es/ecma262/#sec-tonumeric
@@ -3396,7 +3396,7 @@ var toNumeric = function (value) {
3396
3396
  var toNumber = function (argument) {
3397
3397
  var it = toPrimitive(argument, 'number');
3398
3398
  var first, third, radix, maxCode, digits, length, index, code;
3399
- if (isSymbol(it)) throw TypeError$9('Cannot convert a Symbol value to a number');
3399
+ if (isSymbol(it)) throw TypeError$a('Cannot convert a Symbol value to a number');
3400
3400
  if (typeof it == 'string' && it.length > 2) {
3401
3401
  it = trim$1(it);
3402
3402
  first = charCodeAt$3(it, 0);
@@ -3445,7 +3445,7 @@ if (isForced$1(NUMBER, !NativeNumber(' 0o1') || !NativeNumber('0b1') || NativeNu
3445
3445
  }
3446
3446
  NumberWrapper.prototype = NumberPrototype;
3447
3447
  NumberPrototype.constructor = NumberWrapper;
3448
- redefine$7(global$k, NUMBER, NumberWrapper);
3448
+ redefine$7(global$l, NUMBER, NumberWrapper);
3449
3449
  }
3450
3450
 
3451
3451
  function isPublicKey(value) {
@@ -3556,6 +3556,10 @@ var fields = {
3556
3556
  required: false,
3557
3557
  isValid: isString$1
3558
3558
  },
3559
+ split_code: {
3560
+ required: false,
3561
+ isValid: isString$1
3562
+ },
3559
3563
  hash: {
3560
3564
  required: false,
3561
3565
  isValid: isString$1
@@ -3605,7 +3609,7 @@ function ValidateTransactionParameters(data) {
3605
3609
  return errors;
3606
3610
  }
3607
3611
 
3608
- var $$c = _export;
3612
+ var $$d = _export;
3609
3613
  var $map = arrayIteration.map;
3610
3614
  var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$3;
3611
3615
 
@@ -3614,7 +3618,7 @@ var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$1('map');
3614
3618
  // `Array.prototype.map` method
3615
3619
  // https://tc39.es/ecma262/#sec-array.prototype.map
3616
3620
  // with adding support of @@species
3617
- $$c({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, {
3621
+ $$d({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, {
3618
3622
  map: function map(callbackfn /* , thisArg */) {
3619
3623
  return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
3620
3624
  }
@@ -3681,12 +3685,12 @@ var webkit = userAgent$3.match(/AppleWebKit\/(\d+)\./);
3681
3685
 
3682
3686
  var engineWebkitVersion = !!webkit && +webkit[1];
3683
3687
 
3684
- var $$b = _export;
3685
- var uncurryThis$a = functionUncurryThis;
3688
+ var $$c = _export;
3689
+ var uncurryThis$b = functionUncurryThis;
3686
3690
  var aCallable$3 = aCallable$6;
3687
3691
  var toObject$3 = toObject$8;
3688
3692
  var lengthOfArrayLike$2 = lengthOfArrayLike$7;
3689
- var toString$3 = toString$8;
3693
+ var toString$4 = toString$9;
3690
3694
  var fails$7 = fails$t;
3691
3695
  var internalSort = arraySort$1;
3692
3696
  var arrayMethodIsStrict$1 = arrayMethodIsStrict$3;
@@ -3696,8 +3700,8 @@ var V8 = engineV8Version;
3696
3700
  var WEBKIT = engineWebkitVersion;
3697
3701
 
3698
3702
  var test = [];
3699
- var un$Sort = uncurryThis$a(test.sort);
3700
- var push$5 = uncurryThis$a(test.push);
3703
+ var un$Sort = uncurryThis$b(test.sort);
3704
+ var push$5 = uncurryThis$b(test.push);
3701
3705
 
3702
3706
  // IE8-
3703
3707
  var FAILS_ON_UNDEFINED = fails$7(function () {
@@ -3752,13 +3756,13 @@ var getSortCompare = function (comparefn) {
3752
3756
  if (y === undefined) return -1;
3753
3757
  if (x === undefined) return 1;
3754
3758
  if (comparefn !== undefined) return +comparefn(x, y) || 0;
3755
- return toString$3(x) > toString$3(y) ? 1 : -1;
3759
+ return toString$4(x) > toString$4(y) ? 1 : -1;
3756
3760
  };
3757
3761
  };
3758
3762
 
3759
3763
  // `Array.prototype.sort` method
3760
3764
  // https://tc39.es/ecma262/#sec-array.prototype.sort
3761
- $$b({ target: 'Array', proto: true, forced: FORCED$2 }, {
3765
+ $$c({ target: 'Array', proto: true, forced: FORCED$2 }, {
3762
3766
  sort: function sort(comparefn) {
3763
3767
  if (comparefn !== undefined) aCallable$3(comparefn);
3764
3768
 
@@ -3786,7 +3790,7 @@ $$b({ target: 'Array', proto: true, forced: FORCED$2 }, {
3786
3790
  }
3787
3791
  });
3788
3792
 
3789
- var $$a = _export;
3793
+ var $$b = _export;
3790
3794
  var $filter = arrayIteration.filter;
3791
3795
  var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$3;
3792
3796
 
@@ -3795,26 +3799,26 @@ var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
3795
3799
  // `Array.prototype.filter` method
3796
3800
  // https://tc39.es/ecma262/#sec-array.prototype.filter
3797
3801
  // with adding support of @@species
3798
- $$a({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
3802
+ $$b({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
3799
3803
  filter: function filter(callbackfn /* , thisArg */) {
3800
3804
  return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
3801
3805
  }
3802
3806
  });
3803
3807
 
3804
- var $$9 = _export;
3805
- var uncurryThis$9 = functionUncurryThis;
3808
+ var $$a = _export;
3809
+ var uncurryThis$a = functionUncurryThis;
3806
3810
  var IndexedObject$1 = indexedObject;
3807
3811
  var toIndexedObject$2 = toIndexedObject$8;
3808
3812
  var arrayMethodIsStrict = arrayMethodIsStrict$3;
3809
3813
 
3810
- var un$Join = uncurryThis$9([].join);
3814
+ var un$Join = uncurryThis$a([].join);
3811
3815
 
3812
3816
  var ES3_STRINGS = IndexedObject$1 != Object;
3813
3817
  var STRICT_METHOD = arrayMethodIsStrict('join', ',');
3814
3818
 
3815
3819
  // `Array.prototype.join` method
3816
3820
  // https://tc39.es/ecma262/#sec-array.prototype.join
3817
- $$9({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD }, {
3821
+ $$a({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD }, {
3818
3822
  join: function join(separator) {
3819
3823
  return un$Join(toIndexedObject$2(this), separator === undefined ? ',' : separator);
3820
3824
  }
@@ -5237,9 +5241,9 @@ var fingerprint2 = {exports: {}};
5237
5241
 
5238
5242
  var Fingerprint2 = fingerprint2.exports;
5239
5243
 
5240
- var global$j = global$R;
5244
+ var global$k = global$S;
5241
5245
 
5242
- var nativePromiseConstructor = global$j.Promise;
5246
+ var nativePromiseConstructor = global$k.Promise;
5243
5247
 
5244
5248
  var redefine$6 = redefine$a.exports;
5245
5249
 
@@ -5250,9 +5254,9 @@ var redefineAll$2 = function (target, src, options) {
5250
5254
 
5251
5255
  var defineProperty$2 = objectDefineProperty.f;
5252
5256
  var hasOwn$4 = hasOwnProperty_1;
5253
- var wellKnownSymbol$c = wellKnownSymbol$j;
5257
+ var wellKnownSymbol$e = wellKnownSymbol$l;
5254
5258
 
5255
- var TO_STRING_TAG$1 = wellKnownSymbol$c('toStringTag');
5259
+ var TO_STRING_TAG$1 = wellKnownSymbol$e('toStringTag');
5256
5260
 
5257
5261
  var setToStringTag$5 = function (target, TAG, STATIC) {
5258
5262
  if (target && !STATIC) target = target.prototype;
@@ -5263,10 +5267,10 @@ var setToStringTag$5 = function (target, TAG, STATIC) {
5263
5267
 
5264
5268
  var getBuiltIn$3 = getBuiltIn$a;
5265
5269
  var definePropertyModule$1 = objectDefineProperty;
5266
- var wellKnownSymbol$b = wellKnownSymbol$j;
5270
+ var wellKnownSymbol$d = wellKnownSymbol$l;
5267
5271
  var DESCRIPTORS$4 = descriptors;
5268
5272
 
5269
- var SPECIES$2 = wellKnownSymbol$b('species');
5273
+ var SPECIES$2 = wellKnownSymbol$d('species');
5270
5274
 
5271
5275
  var setSpecies$1 = function (CONSTRUCTOR_NAME) {
5272
5276
  var Constructor = getBuiltIn$3(CONSTRUCTOR_NAME);
@@ -5280,22 +5284,22 @@ var setSpecies$1 = function (CONSTRUCTOR_NAME) {
5280
5284
  }
5281
5285
  };
5282
5286
 
5283
- var global$i = global$R;
5287
+ var global$j = global$S;
5284
5288
  var isPrototypeOf$2 = objectIsPrototypeOf;
5285
5289
 
5286
- var TypeError$8 = global$i.TypeError;
5290
+ var TypeError$9 = global$j.TypeError;
5287
5291
 
5288
5292
  var anInstance$3 = function (it, Prototype) {
5289
5293
  if (isPrototypeOf$2(Prototype, it)) return it;
5290
- throw TypeError$8('Incorrect invocation');
5294
+ throw TypeError$9('Incorrect invocation');
5291
5295
  };
5292
5296
 
5293
5297
  var iterators = {};
5294
5298
 
5295
- var wellKnownSymbol$a = wellKnownSymbol$j;
5299
+ var wellKnownSymbol$c = wellKnownSymbol$l;
5296
5300
  var Iterators$4 = iterators;
5297
5301
 
5298
- var ITERATOR$7 = wellKnownSymbol$a('iterator');
5302
+ var ITERATOR$7 = wellKnownSymbol$c('iterator');
5299
5303
  var ArrayPrototype$1 = Array.prototype;
5300
5304
 
5301
5305
  // check on default Array iterator
@@ -5303,32 +5307,32 @@ var isArrayIteratorMethod$2 = function (it) {
5303
5307
  return it !== undefined && (Iterators$4.Array === it || ArrayPrototype$1[ITERATOR$7] === it);
5304
5308
  };
5305
5309
 
5306
- var classof$2 = classof$6;
5310
+ var classof$3 = classof$7;
5307
5311
  var getMethod$1 = getMethod$3;
5308
5312
  var Iterators$3 = iterators;
5309
- var wellKnownSymbol$9 = wellKnownSymbol$j;
5313
+ var wellKnownSymbol$b = wellKnownSymbol$l;
5310
5314
 
5311
- var ITERATOR$6 = wellKnownSymbol$9('iterator');
5315
+ var ITERATOR$6 = wellKnownSymbol$b('iterator');
5312
5316
 
5313
5317
  var getIteratorMethod$4 = function (it) {
5314
5318
  if (it != undefined) return getMethod$1(it, ITERATOR$6)
5315
5319
  || getMethod$1(it, '@@iterator')
5316
- || Iterators$3[classof$2(it)];
5320
+ || Iterators$3[classof$3(it)];
5317
5321
  };
5318
5322
 
5319
- var global$h = global$R;
5323
+ var global$i = global$S;
5320
5324
  var call$7 = functionCall;
5321
5325
  var aCallable$2 = aCallable$6;
5322
5326
  var anObject$7 = anObject$e;
5323
5327
  var tryToString$2 = tryToString$4;
5324
5328
  var getIteratorMethod$3 = getIteratorMethod$4;
5325
5329
 
5326
- var TypeError$7 = global$h.TypeError;
5330
+ var TypeError$8 = global$i.TypeError;
5327
5331
 
5328
5332
  var getIterator$3 = function (argument, usingIterator) {
5329
5333
  var iteratorMethod = arguments.length < 2 ? getIteratorMethod$3(argument) : usingIterator;
5330
5334
  if (aCallable$2(iteratorMethod)) return anObject$7(call$7(iteratorMethod, argument));
5331
- throw TypeError$7(tryToString$2(argument) + ' is not iterable');
5335
+ throw TypeError$8(tryToString$2(argument) + ' is not iterable');
5332
5336
  };
5333
5337
 
5334
5338
  var call$6 = functionCall;
@@ -5355,7 +5359,7 @@ var iteratorClose$2 = function (iterator, kind, value) {
5355
5359
  return value;
5356
5360
  };
5357
5361
 
5358
- var global$g = global$R;
5362
+ var global$h = global$S;
5359
5363
  var bind$9 = functionBindContext;
5360
5364
  var call$5 = functionCall;
5361
5365
  var anObject$5 = anObject$e;
@@ -5367,7 +5371,7 @@ var getIterator$2 = getIterator$3;
5367
5371
  var getIteratorMethod$2 = getIteratorMethod$4;
5368
5372
  var iteratorClose$1 = iteratorClose$2;
5369
5373
 
5370
- var TypeError$6 = global$g.TypeError;
5374
+ var TypeError$7 = global$h.TypeError;
5371
5375
 
5372
5376
  var Result = function (stopped, result) {
5373
5377
  this.stopped = stopped;
@@ -5400,7 +5404,7 @@ var iterate$1 = function (iterable, unboundFunction, options) {
5400
5404
  iterator = iterable;
5401
5405
  } else {
5402
5406
  iterFn = getIteratorMethod$2(iterable);
5403
- if (!iterFn) throw TypeError$6(tryToString$1(iterable) + ' is not iterable');
5407
+ if (!iterFn) throw TypeError$7(tryToString$1(iterable) + ' is not iterable');
5404
5408
  // optimisation for array iterators
5405
5409
  if (isArrayIteratorMethod$1(iterFn)) {
5406
5410
  for (index = 0, length = lengthOfArrayLike$1(iterable); length > index; index++) {
@@ -5422,9 +5426,9 @@ var iterate$1 = function (iterable, unboundFunction, options) {
5422
5426
  } return new Result(false);
5423
5427
  };
5424
5428
 
5425
- var wellKnownSymbol$8 = wellKnownSymbol$j;
5429
+ var wellKnownSymbol$a = wellKnownSymbol$l;
5426
5430
 
5427
- var ITERATOR$5 = wellKnownSymbol$8('iterator');
5431
+ var ITERATOR$5 = wellKnownSymbol$a('iterator');
5428
5432
  var SAFE_CLOSING = false;
5429
5433
 
5430
5434
  try {
@@ -5461,23 +5465,23 @@ var checkCorrectnessOfIteration$1 = function (exec, SKIP_CLOSING) {
5461
5465
  return ITERATION_SUPPORT;
5462
5466
  };
5463
5467
 
5464
- var global$f = global$R;
5468
+ var global$g = global$S;
5465
5469
  var isConstructor$1 = isConstructor$3;
5466
5470
  var tryToString = tryToString$4;
5467
5471
 
5468
- var TypeError$5 = global$f.TypeError;
5472
+ var TypeError$6 = global$g.TypeError;
5469
5473
 
5470
5474
  // `Assert: IsConstructor(argument) is true`
5471
5475
  var aConstructor$1 = function (argument) {
5472
5476
  if (isConstructor$1(argument)) return argument;
5473
- throw TypeError$5(tryToString(argument) + ' is not a constructor');
5477
+ throw TypeError$6(tryToString(argument) + ' is not a constructor');
5474
5478
  };
5475
5479
 
5476
5480
  var anObject$4 = anObject$e;
5477
5481
  var aConstructor = aConstructor$1;
5478
- var wellKnownSymbol$7 = wellKnownSymbol$j;
5482
+ var wellKnownSymbol$9 = wellKnownSymbol$l;
5479
5483
 
5480
- var SPECIES$1 = wellKnownSymbol$7('species');
5484
+ var SPECIES$1 = wellKnownSymbol$9('species');
5481
5485
 
5482
5486
  // `SpeciesConstructor` abstract operation
5483
5487
  // https://tc39.es/ecma262/#sec-speciesconstructor
@@ -5487,16 +5491,16 @@ var speciesConstructor$1 = function (O, defaultConstructor) {
5487
5491
  return C === undefined || (S = anObject$4(C)[SPECIES$1]) == undefined ? defaultConstructor : aConstructor(S);
5488
5492
  };
5489
5493
 
5490
- var uncurryThis$8 = functionUncurryThis;
5494
+ var uncurryThis$9 = functionUncurryThis;
5491
5495
 
5492
- var arraySlice$2 = uncurryThis$8([].slice);
5496
+ var arraySlice$2 = uncurryThis$9([].slice);
5493
5497
 
5494
- var global$e = global$R;
5498
+ var global$f = global$S;
5495
5499
 
5496
- var TypeError$4 = global$e.TypeError;
5500
+ var TypeError$5 = global$f.TypeError;
5497
5501
 
5498
5502
  var validateArgumentsLength$3 = function (passed, required) {
5499
- if (passed < required) throw TypeError$4('Not enough arguments');
5503
+ if (passed < required) throw TypeError$5('Not enough arguments');
5500
5504
  return passed;
5501
5505
  };
5502
5506
 
@@ -5504,12 +5508,12 @@ var userAgent$2 = engineUserAgent;
5504
5508
 
5505
5509
  var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
5506
5510
 
5507
- var classof$1 = classofRaw$1;
5508
- var global$d = global$R;
5511
+ var classof$2 = classofRaw$1;
5512
+ var global$e = global$S;
5509
5513
 
5510
- var engineIsNode = classof$1(global$d.process) == 'process';
5514
+ var engineIsNode = classof$2(global$e.process) == 'process';
5511
5515
 
5512
- var global$c = global$R;
5516
+ var global$d = global$S;
5513
5517
  var apply$1 = functionApply;
5514
5518
  var bind$8 = functionBindContext;
5515
5519
  var isCallable$5 = isCallable$k;
@@ -5522,13 +5526,13 @@ var validateArgumentsLength$2 = validateArgumentsLength$3;
5522
5526
  var IS_IOS$1 = engineIsIos;
5523
5527
  var IS_NODE$2 = engineIsNode;
5524
5528
 
5525
- var set = global$c.setImmediate;
5526
- var clear = global$c.clearImmediate;
5527
- var process$3 = global$c.process;
5528
- var Dispatch = global$c.Dispatch;
5529
- var Function$1 = global$c.Function;
5530
- var MessageChannel = global$c.MessageChannel;
5531
- var String$1 = global$c.String;
5529
+ var set = global$d.setImmediate;
5530
+ var clear = global$d.clearImmediate;
5531
+ var process$3 = global$d.process;
5532
+ var Dispatch = global$d.Dispatch;
5533
+ var Function$1 = global$d.Function;
5534
+ var MessageChannel = global$d.MessageChannel;
5535
+ var String$1 = global$d.String;
5532
5536
  var counter = 0;
5533
5537
  var queue$1 = {};
5534
5538
  var ONREADYSTATECHANGE = 'onreadystatechange';
@@ -5536,7 +5540,7 @@ var location, defer, channel, port;
5536
5540
 
5537
5541
  try {
5538
5542
  // Deno throws a ReferenceError on `location` access without `--location` flag
5539
- location = global$c.location;
5543
+ location = global$d.location;
5540
5544
  } catch (error) { /* empty */ }
5541
5545
 
5542
5546
  var run = function (id) {
@@ -5559,7 +5563,7 @@ var listener = function (event) {
5559
5563
 
5560
5564
  var post = function (id) {
5561
5565
  // old engines have not location.origin
5562
- global$c.postMessage(String$1(id), location.protocol + '//' + location.host);
5566
+ global$d.postMessage(String$1(id), location.protocol + '//' + location.host);
5563
5567
  };
5564
5568
 
5565
5569
  // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
@@ -5597,14 +5601,14 @@ if (!set || !clear) {
5597
5601
  // Browsers with postMessage, skip WebWorkers
5598
5602
  // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
5599
5603
  } else if (
5600
- global$c.addEventListener &&
5601
- isCallable$5(global$c.postMessage) &&
5602
- !global$c.importScripts &&
5604
+ global$d.addEventListener &&
5605
+ isCallable$5(global$d.postMessage) &&
5606
+ !global$d.importScripts &&
5603
5607
  location && location.protocol !== 'file:' &&
5604
5608
  !fails$6(post)
5605
5609
  ) {
5606
5610
  defer = post;
5607
- global$c.addEventListener('message', listener, false);
5611
+ global$d.addEventListener('message', listener, false);
5608
5612
  // IE8-
5609
5613
  } else if (ONREADYSTATECHANGE in createElement('script')) {
5610
5614
  defer = function (id) {
@@ -5627,15 +5631,15 @@ var task$1 = {
5627
5631
  };
5628
5632
 
5629
5633
  var userAgent$1 = engineUserAgent;
5630
- var global$b = global$R;
5634
+ var global$c = global$S;
5631
5635
 
5632
- var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$b.Pebble !== undefined;
5636
+ var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$c.Pebble !== undefined;
5633
5637
 
5634
5638
  var userAgent = engineUserAgent;
5635
5639
 
5636
5640
  var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
5637
5641
 
5638
- var global$a = global$R;
5642
+ var global$b = global$S;
5639
5643
  var bind$7 = functionBindContext;
5640
5644
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
5641
5645
  var macrotask = task$1.set;
@@ -5644,12 +5648,12 @@ var IS_IOS_PEBBLE = engineIsIosPebble;
5644
5648
  var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
5645
5649
  var IS_NODE$1 = engineIsNode;
5646
5650
 
5647
- var MutationObserver = global$a.MutationObserver || global$a.WebKitMutationObserver;
5648
- var document$2 = global$a.document;
5649
- var process$2 = global$a.process;
5650
- var Promise$1 = global$a.Promise;
5651
+ var MutationObserver = global$b.MutationObserver || global$b.WebKitMutationObserver;
5652
+ var document$2 = global$b.document;
5653
+ var process$2 = global$b.process;
5654
+ var Promise$1 = global$b.Promise;
5651
5655
  // Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
5652
- var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global$a, 'queueMicrotask');
5656
+ var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global$b, 'queueMicrotask');
5653
5657
  var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
5654
5658
 
5655
5659
  var flush, head, last, notify$1, toggle, node, promise, then;
@@ -5705,7 +5709,7 @@ if (!queueMicrotask) {
5705
5709
  // - setTimeout
5706
5710
  } else {
5707
5711
  // strange IE + webpack dev server bug - use .bind(global)
5708
- macrotask = bind$7(macrotask, global$a);
5712
+ macrotask = bind$7(macrotask, global$b);
5709
5713
  notify$1 = function () {
5710
5714
  macrotask(flush);
5711
5715
  };
@@ -5743,22 +5747,22 @@ newPromiseCapability$2.f = function (C) {
5743
5747
  };
5744
5748
 
5745
5749
  var anObject$3 = anObject$e;
5746
- var isObject$3 = isObject$h;
5750
+ var isObject$4 = isObject$i;
5747
5751
  var newPromiseCapability$1 = newPromiseCapability$2;
5748
5752
 
5749
5753
  var promiseResolve$1 = function (C, x) {
5750
5754
  anObject$3(C);
5751
- if (isObject$3(x) && x.constructor === C) return x;
5755
+ if (isObject$4(x) && x.constructor === C) return x;
5752
5756
  var promiseCapability = newPromiseCapability$1.f(C);
5753
5757
  var resolve = promiseCapability.resolve;
5754
5758
  resolve(x);
5755
5759
  return promiseCapability.promise;
5756
5760
  };
5757
5761
 
5758
- var global$9 = global$R;
5762
+ var global$a = global$S;
5759
5763
 
5760
5764
  var hostReportErrors$1 = function (a, b) {
5761
- var console = global$9.console;
5765
+ var console = global$a.console;
5762
5766
  if (console && console.error) {
5763
5767
  arguments.length == 1 ? console.error(a) : console.error(a, b);
5764
5768
  }
@@ -5798,8 +5802,8 @@ var queue = Queue$1;
5798
5802
 
5799
5803
  var engineIsBrowser = typeof window == 'object';
5800
5804
 
5801
- var $$8 = _export;
5802
- var global$8 = global$R;
5805
+ var $$9 = _export;
5806
+ var global$9 = global$S;
5803
5807
  var getBuiltIn$2 = getBuiltIn$a;
5804
5808
  var call$4 = functionCall;
5805
5809
  var NativePromise = nativePromiseConstructor;
@@ -5810,7 +5814,7 @@ var setToStringTag$4 = setToStringTag$5;
5810
5814
  var setSpecies = setSpecies$1;
5811
5815
  var aCallable = aCallable$6;
5812
5816
  var isCallable$4 = isCallable$k;
5813
- var isObject$2 = isObject$h;
5817
+ var isObject$3 = isObject$i;
5814
5818
  var anInstance$2 = anInstance$3;
5815
5819
  var inspectSource = inspectSource$4;
5816
5820
  var iterate = iterate$1;
@@ -5825,12 +5829,12 @@ var perform = perform$1;
5825
5829
  var Queue = queue;
5826
5830
  var InternalStateModule$4 = internalState;
5827
5831
  var isForced = isForced_1;
5828
- var wellKnownSymbol$6 = wellKnownSymbol$j;
5832
+ var wellKnownSymbol$8 = wellKnownSymbol$l;
5829
5833
  var IS_BROWSER = engineIsBrowser;
5830
5834
  var IS_NODE = engineIsNode;
5831
5835
  var V8_VERSION = engineV8Version;
5832
5836
 
5833
- var SPECIES = wellKnownSymbol$6('species');
5837
+ var SPECIES = wellKnownSymbol$8('species');
5834
5838
  var PROMISE = 'Promise';
5835
5839
 
5836
5840
  var getInternalState$2 = InternalStateModule$4.getterFor(PROMISE);
@@ -5839,14 +5843,14 @@ var getInternalPromiseState = InternalStateModule$4.getterFor(PROMISE);
5839
5843
  var NativePromisePrototype = NativePromise && NativePromise.prototype;
5840
5844
  var PromiseConstructor = NativePromise;
5841
5845
  var PromisePrototype = NativePromisePrototype;
5842
- var TypeError$3 = global$8.TypeError;
5843
- var document$1 = global$8.document;
5844
- var process$1 = global$8.process;
5846
+ var TypeError$4 = global$9.TypeError;
5847
+ var document$1 = global$9.document;
5848
+ var process$1 = global$9.process;
5845
5849
  var newPromiseCapability = newPromiseCapabilityModule.f;
5846
5850
  var newGenericPromiseCapability = newPromiseCapability;
5847
5851
 
5848
- var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$8.dispatchEvent);
5849
- var NATIVE_REJECTION_EVENT = isCallable$4(global$8.PromiseRejectionEvent);
5852
+ var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$9.dispatchEvent);
5853
+ var NATIVE_REJECTION_EVENT = isCallable$4(global$9.PromiseRejectionEvent);
5850
5854
  var UNHANDLED_REJECTION = 'unhandledrejection';
5851
5855
  var REJECTION_HANDLED = 'rejectionhandled';
5852
5856
  var PENDING = 0;
@@ -5889,7 +5893,7 @@ var INCORRECT_ITERATION = FORCED$1 || !checkCorrectnessOfIteration(function (ite
5889
5893
  // helpers
5890
5894
  var isThenable = function (it) {
5891
5895
  var then;
5892
- return isObject$2(it) && isCallable$4(then = it.then) ? then : false;
5896
+ return isObject$3(it) && isCallable$4(then = it.then) ? then : false;
5893
5897
  };
5894
5898
 
5895
5899
  var callReaction = function (reaction, state) {
@@ -5916,7 +5920,7 @@ var callReaction = function (reaction, state) {
5916
5920
  }
5917
5921
  }
5918
5922
  if (result === reaction.promise) {
5919
- reject(TypeError$3('Promise-chain cycle'));
5923
+ reject(TypeError$4('Promise-chain cycle'));
5920
5924
  } else if (then = isThenable(result)) {
5921
5925
  call$4(then, result, resolve, reject);
5922
5926
  } else resolve(result);
@@ -5948,14 +5952,14 @@ var dispatchEvent = function (name, promise, reason) {
5948
5952
  event.promise = promise;
5949
5953
  event.reason = reason;
5950
5954
  event.initEvent(name, false, true);
5951
- global$8.dispatchEvent(event);
5955
+ global$9.dispatchEvent(event);
5952
5956
  } else event = { promise: promise, reason: reason };
5953
- if (!NATIVE_REJECTION_EVENT && (handler = global$8['on' + name])) handler(event);
5957
+ if (!NATIVE_REJECTION_EVENT && (handler = global$9['on' + name])) handler(event);
5954
5958
  else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
5955
5959
  };
5956
5960
 
5957
5961
  var onUnhandled = function (state) {
5958
- call$4(task, global$8, function () {
5962
+ call$4(task, global$9, function () {
5959
5963
  var promise = state.facade;
5960
5964
  var value = state.value;
5961
5965
  var IS_UNHANDLED = isUnhandled(state);
@@ -5978,7 +5982,7 @@ var isUnhandled = function (state) {
5978
5982
  };
5979
5983
 
5980
5984
  var onHandleUnhandled = function (state) {
5981
- call$4(task, global$8, function () {
5985
+ call$4(task, global$9, function () {
5982
5986
  var promise = state.facade;
5983
5987
  if (IS_NODE) {
5984
5988
  process$1.emit('rejectionHandled', promise);
@@ -6006,7 +6010,7 @@ var internalResolve = function (state, value, unwrap) {
6006
6010
  state.done = true;
6007
6011
  if (unwrap) state = unwrap;
6008
6012
  try {
6009
- if (state.facade === value) throw TypeError$3("Promise can't be resolved itself");
6013
+ if (state.facade === value) throw TypeError$4("Promise can't be resolved itself");
6010
6014
  var then = isThenable(value);
6011
6015
  if (then) {
6012
6016
  microtask(function () {
@@ -6123,7 +6127,7 @@ if (FORCED$1) {
6123
6127
  }
6124
6128
  }
6125
6129
 
6126
- $$8({ global: true, wrap: true, forced: FORCED$1 }, {
6130
+ $$9({ global: true, wrap: true, forced: FORCED$1 }, {
6127
6131
  Promise: PromiseConstructor
6128
6132
  });
6129
6133
 
@@ -6133,7 +6137,7 @@ setSpecies(PROMISE);
6133
6137
  PromiseWrapper = getBuiltIn$2(PROMISE);
6134
6138
 
6135
6139
  // statics
6136
- $$8({ target: PROMISE, stat: true, forced: FORCED$1 }, {
6140
+ $$9({ target: PROMISE, stat: true, forced: FORCED$1 }, {
6137
6141
  // `Promise.reject` method
6138
6142
  // https://tc39.es/ecma262/#sec-promise.reject
6139
6143
  reject: function reject(r) {
@@ -6143,7 +6147,7 @@ $$8({ target: PROMISE, stat: true, forced: FORCED$1 }, {
6143
6147
  }
6144
6148
  });
6145
6149
 
6146
- $$8({ target: PROMISE, stat: true, forced: FORCED$1 }, {
6150
+ $$9({ target: PROMISE, stat: true, forced: FORCED$1 }, {
6147
6151
  // `Promise.resolve` method
6148
6152
  // https://tc39.es/ecma262/#sec-promise.resolve
6149
6153
  resolve: function resolve(x) {
@@ -6151,7 +6155,7 @@ $$8({ target: PROMISE, stat: true, forced: FORCED$1 }, {
6151
6155
  }
6152
6156
  });
6153
6157
 
6154
- $$8({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
6158
+ $$9({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
6155
6159
  // `Promise.all` method
6156
6160
  // https://tc39.es/ecma262/#sec-promise.all
6157
6161
  all: function all(iterable) {
@@ -6327,7 +6331,7 @@ var getDeviceFingerprint = /*#__PURE__*/function () {
6327
6331
  }();
6328
6332
 
6329
6333
  var DESCRIPTORS$3 = descriptors;
6330
- var uncurryThis$7 = functionUncurryThis;
6334
+ var uncurryThis$8 = functionUncurryThis;
6331
6335
  var call$3 = functionCall;
6332
6336
  var fails$5 = fails$t;
6333
6337
  var objectKeys$1 = objectKeys$3;
@@ -6340,7 +6344,7 @@ var IndexedObject = indexedObject;
6340
6344
  var $assign = Object.assign;
6341
6345
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
6342
6346
  var defineProperty$1 = Object.defineProperty;
6343
- var concat = uncurryThis$7([].concat);
6347
+ var concat = uncurryThis$8([].concat);
6344
6348
 
6345
6349
  // `Object.assign` method
6346
6350
  // https://tc39.es/ecma262/#sec-object.assign
@@ -6383,16 +6387,113 @@ var objectAssign = !$assign || fails$5(function () {
6383
6387
  } return T;
6384
6388
  } : $assign;
6385
6389
 
6386
- var $$7 = _export;
6390
+ var $$8 = _export;
6387
6391
  var assign$2 = objectAssign;
6388
6392
 
6389
6393
  // `Object.assign` method
6390
6394
  // https://tc39.es/ecma262/#sec-object.assign
6391
6395
  // eslint-disable-next-line es/no-object-assign -- required for testing
6392
- $$7({ target: 'Object', stat: true, forced: Object.assign !== assign$2 }, {
6396
+ $$8({ target: 'Object', stat: true, forced: Object.assign !== assign$2 }, {
6393
6397
  assign: assign$2
6394
6398
  });
6395
6399
 
6400
+ var wellKnownSymbol$7 = wellKnownSymbol$l;
6401
+ var create$2 = objectCreate;
6402
+ var definePropertyModule = objectDefineProperty;
6403
+
6404
+ var UNSCOPABLES = wellKnownSymbol$7('unscopables');
6405
+ var ArrayPrototype = Array.prototype;
6406
+
6407
+ // Array.prototype[@@unscopables]
6408
+ // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
6409
+ if (ArrayPrototype[UNSCOPABLES] == undefined) {
6410
+ definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {
6411
+ configurable: true,
6412
+ value: create$2(null)
6413
+ });
6414
+ }
6415
+
6416
+ // add a key to Array.prototype[@@unscopables]
6417
+ var addToUnscopables$3 = function (key) {
6418
+ ArrayPrototype[UNSCOPABLES][key] = true;
6419
+ };
6420
+
6421
+ var $$7 = _export;
6422
+ var $includes = arrayIncludes.includes;
6423
+ var addToUnscopables$2 = addToUnscopables$3;
6424
+
6425
+ // `Array.prototype.includes` method
6426
+ // https://tc39.es/ecma262/#sec-array.prototype.includes
6427
+ $$7({ target: 'Array', proto: true }, {
6428
+ includes: function includes(el /* , fromIndex = 0 */) {
6429
+ return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
6430
+ }
6431
+ });
6432
+
6433
+ // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
6434
+ addToUnscopables$2('includes');
6435
+
6436
+ var isObject$2 = isObject$i;
6437
+ var classof$1 = classofRaw$1;
6438
+ var wellKnownSymbol$6 = wellKnownSymbol$l;
6439
+
6440
+ var MATCH$1 = wellKnownSymbol$6('match');
6441
+
6442
+ // `IsRegExp` abstract operation
6443
+ // https://tc39.es/ecma262/#sec-isregexp
6444
+ var isRegexp = function (it) {
6445
+ var isRegExp;
6446
+ return isObject$2(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$1(it) == 'RegExp');
6447
+ };
6448
+
6449
+ var global$8 = global$S;
6450
+ var isRegExp$1 = isRegexp;
6451
+
6452
+ var TypeError$3 = global$8.TypeError;
6453
+
6454
+ var notARegexp = function (it) {
6455
+ if (isRegExp$1(it)) {
6456
+ throw TypeError$3("The method doesn't accept regular expressions");
6457
+ } return it;
6458
+ };
6459
+
6460
+ var wellKnownSymbol$5 = wellKnownSymbol$l;
6461
+
6462
+ var MATCH = wellKnownSymbol$5('match');
6463
+
6464
+ var correctIsRegexpLogic = function (METHOD_NAME) {
6465
+ var regexp = /./;
6466
+ try {
6467
+ '/./'[METHOD_NAME](regexp);
6468
+ } catch (error1) {
6469
+ try {
6470
+ regexp[MATCH] = false;
6471
+ return '/./'[METHOD_NAME](regexp);
6472
+ } catch (error2) { /* empty */ }
6473
+ } return false;
6474
+ };
6475
+
6476
+ var $$6 = _export;
6477
+ var uncurryThis$7 = functionUncurryThis;
6478
+ var notARegExp = notARegexp;
6479
+ var requireObjectCoercible$1 = requireObjectCoercible$5;
6480
+ var toString$3 = toString$9;
6481
+ var correctIsRegExpLogic = correctIsRegexpLogic;
6482
+
6483
+ var stringIndexOf = uncurryThis$7(''.indexOf);
6484
+
6485
+ // `String.prototype.includes` method
6486
+ // https://tc39.es/ecma262/#sec-string.prototype.includes
6487
+ $$6({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
6488
+ includes: function includes(searchString /* , position = 0 */) {
6489
+ return !!~stringIndexOf(
6490
+ toString$3(requireObjectCoercible$1(this)),
6491
+ toString$3(notARegExp(searchString)),
6492
+ arguments.length > 1 ? arguments[1] : undefined
6493
+ );
6494
+ }
6495
+ });
6496
+
6396
6497
  var config = {
6397
6498
  cookieTestUrl: 'https://legacy-staging.paystack.co/test-iframe/start.html',
6398
6499
  publishableKey: 'uFmz/uE/SDT6GupOrSEXIZXGByjQ0zFkPyc9LqKHFqnTI0WPN3JS5kQPo/j9or0TOXlqMQj2lzHn/UGsQT4XeQ==',
@@ -6463,42 +6564,6 @@ var noOp = function noOp() {
6463
6564
  return undefined;
6464
6565
  };
6465
6566
 
6466
- var wellKnownSymbol$5 = wellKnownSymbol$j;
6467
- var create$2 = objectCreate;
6468
- var definePropertyModule = objectDefineProperty;
6469
-
6470
- var UNSCOPABLES = wellKnownSymbol$5('unscopables');
6471
- var ArrayPrototype = Array.prototype;
6472
-
6473
- // Array.prototype[@@unscopables]
6474
- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
6475
- if (ArrayPrototype[UNSCOPABLES] == undefined) {
6476
- definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {
6477
- configurable: true,
6478
- value: create$2(null)
6479
- });
6480
- }
6481
-
6482
- // add a key to Array.prototype[@@unscopables]
6483
- var addToUnscopables$3 = function (key) {
6484
- ArrayPrototype[UNSCOPABLES][key] = true;
6485
- };
6486
-
6487
- var $$6 = _export;
6488
- var $includes = arrayIncludes.includes;
6489
- var addToUnscopables$2 = addToUnscopables$3;
6490
-
6491
- // `Array.prototype.includes` method
6492
- // https://tc39.es/ecma262/#sec-array.prototype.includes
6493
- $$6({ target: 'Array', proto: true }, {
6494
- includes: function includes(el /* , fromIndex = 0 */) {
6495
- return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
6496
- }
6497
- });
6498
-
6499
- // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
6500
- addToUnscopables$2('includes');
6501
-
6502
6567
  var _excluded = ["message", "status", "errors"],
6503
6568
  _excluded2 = ["message", "status", "errors"],
6504
6569
  _excluded3 = ["message", "status", "errors"],
@@ -6557,10 +6622,14 @@ var ChargeResponses = {
6557
6622
  return {
6558
6623
  status: 'auth',
6559
6624
  message: authMessage || 'Authentication required',
6560
- data: _objectSpread2({
6625
+ data: _objectSpread2(_objectSpread2(_objectSpread2({
6561
6626
  auth: response.auth
6562
6627
  }, response.countryCode && {
6563
6628
  countryCode: response.countryCode
6629
+ }), response.openInNewTab && {
6630
+ openInNewTab: response.openInNewTab
6631
+ }), response.length && {
6632
+ length: response.length
6564
6633
  })
6565
6634
  };
6566
6635
  },
@@ -6644,7 +6713,7 @@ var PROPER_FUNCTION_NAME$1 = functionName.PROPER;
6644
6713
  var redefine$4 = redefine$a.exports;
6645
6714
  var anObject$2 = anObject$e;
6646
6715
  var isPrototypeOf = objectIsPrototypeOf;
6647
- var $toString$2 = toString$8;
6716
+ var $toString$2 = toString$9;
6648
6717
  var fails$4 = fails$t;
6649
6718
  var regExpFlags = regexpFlags$1;
6650
6719
 
@@ -6678,7 +6747,7 @@ var correctPrototypeGetter = !fails$3(function () {
6678
6747
  return Object.getPrototypeOf(new F()) !== F.prototype;
6679
6748
  });
6680
6749
 
6681
- var global$7 = global$R;
6750
+ var global$7 = global$S;
6682
6751
  var hasOwn$2 = hasOwnProperty_1;
6683
6752
  var isCallable$3 = isCallable$k;
6684
6753
  var toObject$1 = toObject$8;
@@ -6704,7 +6773,7 @@ var fails$2 = fails$t;
6704
6773
  var isCallable$2 = isCallable$k;
6705
6774
  var getPrototypeOf$1 = objectGetPrototypeOf;
6706
6775
  var redefine$3 = redefine$a.exports;
6707
- var wellKnownSymbol$4 = wellKnownSymbol$j;
6776
+ var wellKnownSymbol$4 = wellKnownSymbol$l;
6708
6777
 
6709
6778
  var ITERATOR$4 = wellKnownSymbol$4('iterator');
6710
6779
  var BUGGY_SAFARI_ITERATORS$1 = false;
@@ -6771,7 +6840,7 @@ var setPrototypeOf = objectSetPrototypeOf;
6771
6840
  var setToStringTag$2 = setToStringTag$5;
6772
6841
  var createNonEnumerableProperty$1 = createNonEnumerableProperty$8;
6773
6842
  var redefine$2 = redefine$a.exports;
6774
- var wellKnownSymbol$3 = wellKnownSymbol$j;
6843
+ var wellKnownSymbol$3 = wellKnownSymbol$l;
6775
6844
  var Iterators$1 = iterators;
6776
6845
  var IteratorsCore = iteratorsCore;
6777
6846
 
@@ -6920,8 +6989,8 @@ if (DESCRIPTORS$2 && values.name !== 'values') try {
6920
6989
 
6921
6990
  var uncurryThis$5 = functionUncurryThis;
6922
6991
  var toIntegerOrInfinity = toIntegerOrInfinity$3;
6923
- var toString$2 = toString$8;
6924
- var requireObjectCoercible = requireObjectCoercible$4;
6992
+ var toString$2 = toString$9;
6993
+ var requireObjectCoercible = requireObjectCoercible$5;
6925
6994
 
6926
6995
  var charAt$4 = uncurryThis$5(''.charAt);
6927
6996
  var charCodeAt$2 = uncurryThis$5(''.charCodeAt);
@@ -6956,7 +7025,7 @@ var stringMultibyte = {
6956
7025
  };
6957
7026
 
6958
7027
  var charAt$3 = stringMultibyte.charAt;
6959
- var toString$1 = toString$8;
7028
+ var toString$1 = toString$9;
6960
7029
  var InternalStateModule$2 = internalState;
6961
7030
  var defineIterator = defineIterator$2;
6962
7031
 
@@ -6985,12 +7054,12 @@ defineIterator(String, 'String', function (iterated) {
6985
7054
  return { value: point, done: false };
6986
7055
  });
6987
7056
 
6988
- var global$6 = global$R;
7057
+ var global$6 = global$S;
6989
7058
  var DOMIterables = domIterables;
6990
7059
  var DOMTokenListPrototype = domTokenListPrototype;
6991
7060
  var ArrayIteratorMethods = es_array_iterator;
6992
7061
  var createNonEnumerableProperty = createNonEnumerableProperty$8;
6993
- var wellKnownSymbol$2 = wellKnownSymbol$j;
7062
+ var wellKnownSymbol$2 = wellKnownSymbol$l;
6994
7063
 
6995
7064
  var ITERATOR$2 = wellKnownSymbol$2('iterator');
6996
7065
  var TO_STRING_TAG = wellKnownSymbol$2('toStringTag');
@@ -7025,7 +7094,7 @@ for (var COLLECTION_NAME in DOMIterables) {
7025
7094
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
7026
7095
 
7027
7096
  var fails$1 = fails$t;
7028
- var wellKnownSymbol$1 = wellKnownSymbol$j;
7097
+ var wellKnownSymbol$1 = wellKnownSymbol$l;
7029
7098
  var IS_PURE = isPure;
7030
7099
 
7031
7100
  var ITERATOR$1 = wellKnownSymbol$1('iterator');
@@ -7071,7 +7140,7 @@ var callWithSafeIterationClosing$1 = function (iterator, fn, value, ENTRIES) {
7071
7140
  }
7072
7141
  };
7073
7142
 
7074
- var global$5 = global$R;
7143
+ var global$5 = global$S;
7075
7144
  var bind$5 = functionBindContext;
7076
7145
  var call$1 = functionCall;
7077
7146
  var toObject = toObject$8;
@@ -7119,7 +7188,7 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
7119
7188
  };
7120
7189
 
7121
7190
  // based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js
7122
- var global$4 = global$R;
7191
+ var global$4 = global$S;
7123
7192
  var uncurryThis$4 = functionUncurryThis;
7124
7193
 
7125
7194
  var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1
@@ -7303,7 +7372,7 @@ var stringPunycodeToAscii = function (input) {
7303
7372
  // TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
7304
7373
 
7305
7374
  var $$4 = _export;
7306
- var global$3 = global$R;
7375
+ var global$3 = global$S;
7307
7376
  var getBuiltIn$1 = getBuiltIn$a;
7308
7377
  var call = functionCall;
7309
7378
  var uncurryThis$3 = functionUncurryThis;
@@ -7317,16 +7386,16 @@ var anInstance$1 = anInstance$3;
7317
7386
  var isCallable = isCallable$k;
7318
7387
  var hasOwn$1 = hasOwnProperty_1;
7319
7388
  var bind$4 = functionBindContext;
7320
- var classof = classof$6;
7389
+ var classof = classof$7;
7321
7390
  var anObject = anObject$e;
7322
- var isObject$1 = isObject$h;
7323
- var $toString$1 = toString$8;
7391
+ var isObject$1 = isObject$i;
7392
+ var $toString$1 = toString$9;
7324
7393
  var create = objectCreate;
7325
7394
  var createPropertyDescriptor = createPropertyDescriptor$6;
7326
7395
  var getIterator = getIterator$3;
7327
7396
  var getIteratorMethod = getIteratorMethod$4;
7328
7397
  var validateArgumentsLength$1 = validateArgumentsLength$3;
7329
- var wellKnownSymbol = wellKnownSymbol$j;
7398
+ var wellKnownSymbol = wellKnownSymbol$l;
7330
7399
  var arraySort = arraySort$1;
7331
7400
 
7332
7401
  var ITERATOR = wellKnownSymbol('iterator');
@@ -7688,7 +7757,7 @@ var web_urlSearchParams = {
7688
7757
  var $$3 = _export;
7689
7758
  var DESCRIPTORS$1 = descriptors;
7690
7759
  var USE_NATIVE_URL = nativeUrl;
7691
- var global$2 = global$R;
7760
+ var global$2 = global$S;
7692
7761
  var bind$3 = functionBindContext;
7693
7762
  var uncurryThis$2 = functionUncurryThis;
7694
7763
  var defineProperties = objectDefineProperties.f;
@@ -7700,7 +7769,7 @@ var arrayFrom = arrayFrom$1;
7700
7769
  var arraySlice = arraySliceSimple;
7701
7770
  var codeAt = stringMultibyte.codeAt;
7702
7771
  var toASCII = stringPunycodeToAscii;
7703
- var $toString = toString$8;
7772
+ var $toString = toString$9;
7704
7773
  var setToStringTag = setToStringTag$5;
7705
7774
  var validateArgumentsLength = validateArgumentsLength$3;
7706
7775
  var URLSearchParamsModule = web_urlSearchParams;
@@ -11326,28 +11395,69 @@ var axiosInstance = axios.create({
11326
11395
  }
11327
11396
  });
11328
11397
 
11398
+ /* eslint-env browser */
11399
+ var getLanguage = function getLanguage() {
11400
+ if (window) {
11401
+ return window.localStorage && window.localStorage.getItem('i18nextLng') || navigator && navigator.language;
11402
+ }
11403
+
11404
+ return null;
11405
+ };
11406
+
11329
11407
  var TransactionAPI = {
11330
11408
  requestInline: function requestInline(params) {
11409
+ var language = getLanguage();
11410
+
11411
+ var headers = _objectSpread2({}, language && {
11412
+ 'Accept-Language': language
11413
+ });
11414
+
11331
11415
  var url = new URL('/checkout/request_inline', configToUse.paystackApiUrl).toString();
11332
- return axiosInstance.post(url, params).then(function (response) {
11416
+ return axiosInstance.post(url, params, {
11417
+ headers: headers
11418
+ }).then(function (response) {
11333
11419
  return response.data;
11334
11420
  });
11335
11421
  },
11336
11422
  requestStandard: function requestStandard(accessCode) {
11423
+ var language = getLanguage();
11424
+
11425
+ var headers = _objectSpread2({}, language && {
11426
+ 'Accept-Language': language
11427
+ });
11428
+
11337
11429
  var url = "".concat(configToUse.paystackApiUrl, "transaction/verify_access_code/").concat(accessCode);
11338
- return axiosInstance.get(url).then(function (response) {
11430
+ return axiosInstance.get(url, {
11431
+ headers: headers
11432
+ }).then(function (response) {
11339
11433
  return response.data;
11340
11434
  });
11341
11435
  },
11342
11436
  verify: function verify(reference) {
11437
+ var language = getLanguage();
11438
+
11439
+ var headers = _objectSpread2({}, language && {
11440
+ 'Accept-Language': language
11441
+ });
11442
+
11343
11443
  var url = "".concat(configToUse.paystackApiUrl, "transaction/verify/").concat(reference);
11344
- return axiosInstance.get(url).then(function (response) {
11444
+ return axiosInstance.get(url, {
11445
+ headers: headers
11446
+ }).then(function (response) {
11345
11447
  return response.data;
11346
11448
  });
11347
11449
  },
11348
11450
  requery: function requery(transactionId) {
11451
+ var language = getLanguage();
11452
+
11453
+ var headers = _objectSpread2({}, language && {
11454
+ 'Accept-Language': language
11455
+ });
11456
+
11349
11457
  var url = "".concat(configToUse.paymentBaseUrl, "charge/requery/").concat(transactionId);
11350
- return axiosInstance.get(url).then(function (response) {
11458
+ return axiosInstance.get(url, {
11459
+ headers: headers
11460
+ }).then(function (response) {
11351
11461
  return ChargeResponses.parse(response.data);
11352
11462
  });
11353
11463
  },
@@ -11355,9 +11465,14 @@ var TransactionAPI = {
11355
11465
  var publicKey = _ref.publicKey,
11356
11466
  transactionId = _ref.transactionId;
11357
11467
  var url = "".concat(configToUse.paystackApiUrl, "transaction/").concat(transactionId, "/mark-as-abandoned");
11358
- var headers = {
11468
+ var language = getLanguage();
11469
+
11470
+ var headers = _objectSpread2({
11359
11471
  Authorization: "Bearer ".concat(publicKey)
11360
- };
11472
+ }, language && {
11473
+ 'Accept-Language': language
11474
+ });
11475
+
11361
11476
  return axiosInstance.patch(url, {}, {
11362
11477
  headers: headers
11363
11478
  }).then(function (response) {
@@ -11368,10 +11483,25 @@ var TransactionAPI = {
11368
11483
 
11369
11484
  var PayWithTransferAPI = {
11370
11485
  generateManagedAccount: function generateManagedAccount(params, publicKey) {
11486
+ var language = getLanguage();
11487
+
11488
+ var headers = _objectSpread2({
11489
+ Authorization: "Bearer ".concat(publicKey)
11490
+ }, language && {
11491
+ 'Accept-Language': language
11492
+ });
11493
+
11494
+ return axiosInstance.post("".concat(configToUse.paystackApiUrl, "checkout/pay_with_transfer"), params, {
11495
+ headers: headers
11496
+ }).then(function (response) {
11497
+ return ChargeResponses.parse(response.data);
11498
+ });
11499
+ },
11500
+ submitPayerDetails: function submitPayerDetails(params, publicKey) {
11371
11501
  var headers = {
11372
11502
  Authorization: "Bearer ".concat(publicKey)
11373
11503
  };
11374
- return axiosInstance.post("".concat(configToUse.paystackApiUrl, "checkout/pay_with_transfer"), params, {
11504
+ return axiosInstance.post("".concat(configToUse.paystackApiUrl, "managed_account/customer_claim"), params, {
11375
11505
  headers: headers
11376
11506
  }).then(function (response) {
11377
11507
  return ChargeResponses.parse(response.data);
@@ -11396,6 +11526,25 @@ var PayWithTransferCharge = {
11396
11526
  return response;
11397
11527
  });
11398
11528
  },
11529
+ submitPayerDetails: function submitPayerDetails(_ref2) {
11530
+ var email = _ref2.email,
11531
+ accountNumber = _ref2.accountNumber,
11532
+ bankId = _ref2.bankId,
11533
+ managedAccountNumber = _ref2.managedAccountNumber,
11534
+ providerSlug = _ref2.providerSlug,
11535
+ claimType = _ref2.claimType;
11536
+ var params = {
11537
+ reference_id: this.id,
11538
+ account_number: accountNumber,
11539
+ email: email,
11540
+ institution_id: bankId,
11541
+ institution_type: 'bank',
11542
+ claim_type: claimType,
11543
+ managed_account_number: managedAccountNumber,
11544
+ provider_slug: providerSlug
11545
+ };
11546
+ return PayWithTransferAPI.submitPayerDetails(params, this.merchant.key);
11547
+ },
11399
11548
  listenForPayWithTransferCharge: function listenForPayWithTransferCharge(callback) {
11400
11549
  var pusherChannel = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
11401
11550
  var data = this.bankTransfer.data;
@@ -11462,9 +11611,14 @@ var PayattitudeAPI = {
11462
11611
  var transactionId = _ref.transactionId,
11463
11612
  phoneNumber = _ref.phoneNumber;
11464
11613
  var url = "".concat(configToUse.paymentBaseUrl, "payattitude/charge/").concat(transactionId);
11465
- var headers = {
11614
+ var language = getLanguage();
11615
+
11616
+ var headers = _objectSpread2({
11466
11617
  'Content-Type': 'application/x-www-form-urlencoded'
11467
- };
11618
+ }, language && {
11619
+ 'Accept-Language': language
11620
+ });
11621
+
11468
11622
  var params = {
11469
11623
  phone_number: phoneNumber
11470
11624
  };
@@ -11535,9 +11689,14 @@ var ApplePayAPI = {
11535
11689
  displayName = _ref.displayName,
11536
11690
  transactionId = _ref.transactionId,
11537
11691
  domainName = _ref.domainName;
11538
- var headers = {
11692
+ var language = getLanguage();
11693
+
11694
+ var headers = _objectSpread2({
11539
11695
  'Content-Type': 'application/x-www-form-urlencoded'
11540
- };
11696
+ }, language && {
11697
+ 'Accept-Language': language
11698
+ });
11699
+
11541
11700
  var url = "".concat(configToUse.paymentBaseUrl, "applepay/validate-session");
11542
11701
  var urlEncodedParams = formUrlencoded({
11543
11702
  sessionUrl: sessionUrl,
@@ -11554,9 +11713,14 @@ var ApplePayAPI = {
11554
11713
  charge: function charge(_ref2) {
11555
11714
  var transactionId = _ref2.transactionId,
11556
11715
  paymentObject = _ref2.paymentObject;
11557
- var headers = {
11716
+ var language = getLanguage();
11717
+
11718
+ var headers = _objectSpread2({
11558
11719
  'Content-Type': 'application/x-www-form-urlencoded'
11559
- };
11720
+ }, language && {
11721
+ 'Accept-Language': language
11722
+ });
11723
+
11560
11724
  var url = "".concat(configToUse.paymentBaseUrl, "applepay/charge");
11561
11725
  var urlEncodedParams = formUrlencoded({
11562
11726
  paymentObject: paymentObject,
@@ -11609,13 +11773,29 @@ var ApplePayCharge = {
11609
11773
  var PayPalAPI = {
11610
11774
  createOrder: function createOrder(transactionId) {
11611
11775
  var url = "".concat(configToUse.paymentBaseUrl, "paypal/").concat(transactionId, "/create");
11612
- return axiosInstance.post(url).then(function (response) {
11776
+ var language = getLanguage();
11777
+
11778
+ var headers = _objectSpread2({}, language && {
11779
+ 'Accept-Language': language
11780
+ });
11781
+
11782
+ return axiosInstance.post(url, {
11783
+ headers: headers
11784
+ }).then(function (response) {
11613
11785
  return ChargeResponses.parse(response.data);
11614
11786
  });
11615
11787
  },
11616
11788
  captureOrder: function captureOrder(transactionId) {
11617
11789
  var url = "".concat(configToUse.paymentBaseUrl, "paypal/").concat(transactionId, "/capture");
11618
- return axiosInstance.post(url).then(function (response) {
11790
+ var language = getLanguage();
11791
+
11792
+ var headers = _objectSpread2({}, language && {
11793
+ 'Accept-Language': language
11794
+ });
11795
+
11796
+ return axiosInstance.post(url, {
11797
+ headers: headers
11798
+ }).then(function (response) {
11619
11799
  return ChargeResponses.parse(response.data);
11620
11800
  });
11621
11801
  },
@@ -11623,9 +11803,14 @@ var PayPalAPI = {
11623
11803
  var publicKey = _ref.publicKey,
11624
11804
  transactionId = _ref.transactionId;
11625
11805
  var url = "".concat(configToUse.paystackApiUrl, "paypal/config?transaction=").concat(transactionId);
11626
- var headers = {
11806
+ var language = getLanguage();
11807
+
11808
+ var headers = _objectSpread2({
11627
11809
  Authorization: "Bearer ".concat(publicKey)
11628
- };
11810
+ }, language && {
11811
+ 'Accept-Language': language
11812
+ });
11813
+
11629
11814
  return axiosInstance.get(url, {
11630
11815
  headers: headers
11631
11816
  }).then(function (response) {
@@ -18251,9 +18436,13 @@ var CardAPI = {
18251
18436
  subscription = _ref.subscription,
18252
18437
  customFields = _ref.customFields;
18253
18438
  var url = "".concat(configToUse.paymentBaseUrl, "charge/");
18254
- var headers = {
18439
+ var language = getLanguage();
18440
+
18441
+ var headers = _objectSpread2({
18255
18442
  'Content-Type': 'application/x-www-form-urlencoded'
18256
- };
18443
+ }, language && {
18444
+ 'Accept-Language': language
18445
+ });
18257
18446
 
18258
18447
  var chargeParams = _objectSpread2(_objectSpread2(_objectSpread2({
18259
18448
  clientdata: clientdata,
@@ -18284,9 +18473,13 @@ var CardAPI = {
18284
18473
  accessCode = _ref2.accessCode,
18285
18474
  pin = _ref2.pin;
18286
18475
  var url = "".concat(configToUse.paymentBaseUrl, "charge/resume/").concat(accessCode);
18287
- var headers = {
18476
+ var language = getLanguage();
18477
+
18478
+ var headers = _objectSpread2({
18288
18479
  'Content-Type': 'application/x-www-form-urlencoded'
18289
- };
18480
+ }, language && {
18481
+ 'Accept-Language': language
18482
+ });
18290
18483
 
18291
18484
  var data = _objectSpread2({
18292
18485
  device: device
@@ -18311,9 +18504,13 @@ var CardAPI = {
18311
18504
  transactionType = _ref3.transactionType,
18312
18505
  subscription = _ref3.subscription;
18313
18506
  var url = "".concat(configToUse.paymentBaseUrl, "charge/");
18314
- var headers = {
18507
+ var language = getLanguage();
18508
+
18509
+ var headers = _objectSpread2({
18315
18510
  'Content-Type': 'application/x-www-form-urlencoded'
18316
- };
18511
+ }, language && {
18512
+ 'Accept-Language': language
18513
+ });
18317
18514
 
18318
18515
  var chargeParams = _objectSpread2(_objectSpread2({
18319
18516
  last4: last4,
@@ -18341,8 +18538,16 @@ var CardAPI = {
18341
18538
  trans: trans,
18342
18539
  token: token
18343
18540
  };
18541
+ var language = getLanguage();
18542
+
18543
+ var headers = _objectSpread2({}, language && {
18544
+ 'Accept-Language': language
18545
+ });
18546
+
18344
18547
  var urlEncodedData = formUrlencoded(data);
18345
- return axiosInstance.post(url, urlEncodedData).then(function (response) {
18548
+ return axiosInstance.post(url, urlEncodedData, {
18549
+ headers: headers
18550
+ }).then(function (response) {
18346
18551
  return ChargeResponses.parse(response.data);
18347
18552
  });
18348
18553
  },
@@ -18353,9 +18558,14 @@ var CardAPI = {
18353
18558
  zipCode = _ref4.zipCode,
18354
18559
  transactionId = _ref4.transactionId;
18355
18560
  var url = "".concat(configToUse.paymentBaseUrl, "charge/avs");
18356
- var headers = {
18561
+ var language = getLanguage();
18562
+
18563
+ var headers = _objectSpread2({
18357
18564
  'Content-Type': 'application/x-www-form-urlencoded'
18358
- };
18565
+ }, language && {
18566
+ 'Accept-Language': language
18567
+ });
18568
+
18359
18569
  var data = {
18360
18570
  city: city,
18361
18571
  state: state,
@@ -18373,9 +18583,14 @@ var CardAPI = {
18373
18583
  forgetRememberedCard: function forgetRememberedCard(_ref5) {
18374
18584
  var authorizationId = _ref5.authorizationId,
18375
18585
  publicKey = _ref5.publicKey;
18376
- var headers = {
18586
+ var language = getLanguage();
18587
+
18588
+ var headers = _objectSpread2({
18377
18589
  Authorization: "Bearer ".concat(publicKey)
18378
- };
18590
+ }, language && {
18591
+ 'Accept-Language': language
18592
+ });
18593
+
18379
18594
  var params = {
18380
18595
  authorization_id: authorizationId
18381
18596
  };
@@ -18590,7 +18805,15 @@ var BankAccount = /*#__PURE__*/function () {
18590
18805
  key: "supportedBanks",
18591
18806
  value: function supportedBanks() {
18592
18807
  var url = "".concat(configToUse.paymentBaseUrl, "bank?pay_with_bank=true");
18593
- return axiosInstance.post(url).then(function (response) {
18808
+ var language = getLanguage();
18809
+
18810
+ var headers = _objectSpread2({}, language && {
18811
+ 'Accept-Language': language
18812
+ });
18813
+
18814
+ return axiosInstance.post(url, {
18815
+ headers: headers
18816
+ }).then(function (response) {
18594
18817
  return response.data;
18595
18818
  });
18596
18819
  }
@@ -18608,9 +18831,14 @@ var EMandateAPI = {
18608
18831
  accountNumber = _ref.accountNumber,
18609
18832
  device = _ref.device;
18610
18833
  var url = "".concat(configToUse.paymentBaseUrl, "bank/charge_account/").concat(bankId, "/").concat(transactionId);
18611
- var headers = {
18834
+ var language = getLanguage();
18835
+
18836
+ var headers = _objectSpread2({
18612
18837
  'Content-Type': 'application/x-www-form-urlencoded'
18613
- };
18838
+ }, language && {
18839
+ 'Accept-Language': language
18840
+ });
18841
+
18614
18842
  var params = {
18615
18843
  account_number: accountNumber,
18616
18844
  device: device
@@ -18628,9 +18856,14 @@ var EMandateAPI = {
18628
18856
  accountNumber = _ref2.accountNumber,
18629
18857
  birthday = _ref2.birthday;
18630
18858
  var url = "".concat(configToUse.paymentBaseUrl, "bank/charge_account/").concat(bankId, "/").concat(transactionId);
18631
- var headers = {
18859
+ var language = getLanguage();
18860
+
18861
+ var headers = _objectSpread2({
18632
18862
  'Content-Type': 'application/x-www-form-urlencoded'
18633
- };
18863
+ }, language && {
18864
+ 'Accept-Language': language
18865
+ });
18866
+
18634
18867
  var params = {
18635
18868
  account_number: accountNumber,
18636
18869
  birthday: birthday
@@ -18648,9 +18881,14 @@ var EMandateAPI = {
18648
18881
  token = _ref3.token,
18649
18882
  device = _ref3.device;
18650
18883
  var url = "".concat(configToUse.paymentBaseUrl, "bank/validate_token/").concat(bankId, "/").concat(transactionId);
18651
- var headers = {
18884
+ var language = getLanguage();
18885
+
18886
+ var headers = _objectSpread2({
18652
18887
  'Content-Type': 'application/x-www-form-urlencoded'
18653
- };
18888
+ }, language && {
18889
+ 'Accept-Language': language
18890
+ });
18891
+
18654
18892
  var params = {
18655
18893
  device: device,
18656
18894
  token: token
@@ -18773,15 +19011,29 @@ var DigitalBankMandateAPI = {
18773
19011
  var bankId = _ref.bankId,
18774
19012
  transactionId = _ref.transactionId,
18775
19013
  phoneNumber = _ref.phoneNumber,
18776
- payId = _ref.payId;
19014
+ token = _ref.token,
19015
+ accountNumber = _ref.accountNumber;
18777
19016
  var url = "".concat(configToUse.paymentBaseUrl, "bank/digitalbankmandate/").concat(bankId, "/").concat(transactionId);
18778
- var headers = {
18779
- 'Content-Type': 'application/x-www-form-urlencoded'
18780
- };
18781
- var params = {
18782
- phone_number: phoneNumber,
18783
- token: payId
19017
+ var bankObject = {
19018
+ 16: 'sterling-bank',
19019
+ 62: 'kuda-bank'
18784
19020
  };
19021
+ var language = getLanguage();
19022
+
19023
+ var headers = _objectSpread2({
19024
+ 'Content-Type': 'application/x-www-form-urlencoded'
19025
+ }, language && {
19026
+ 'Accept-Language': language
19027
+ });
19028
+
19029
+ var params = _objectSpread2(_objectSpread2({}, bankObject[bankId] === 'sterling-bank' ? {
19030
+ account_number: accountNumber
19031
+ } : {
19032
+ phone_number: phoneNumber
19033
+ }), {}, {
19034
+ token: token
19035
+ });
19036
+
18785
19037
  var urlEncodedParams = formUrlencoded(params);
18786
19038
  return axiosInstance.post(url, urlEncodedParams, {
18787
19039
  headers: headers
@@ -18797,13 +19049,15 @@ var DigitalBankMandate = {
18797
19049
  var _this = this;
18798
19050
 
18799
19051
  var phoneNumber = _ref.phoneNumber,
18800
- payId = _ref.payId,
18801
- bankId = _ref.bankId;
19052
+ token = _ref.token,
19053
+ bankId = _ref.bankId,
19054
+ accountNumber = _ref.accountNumber;
18802
19055
  var params = {
18803
19056
  transactionId: this.id,
18804
19057
  phoneNumber: phoneNumber,
18805
- payId: payId,
18806
- bankId: bankId
19058
+ token: token,
19059
+ bankId: bankId,
19060
+ accountNumber: accountNumber
18807
19061
  };
18808
19062
  return DigitalBankMandateAPI.charge(params).then(function (response) {
18809
19063
  _this.logAPIResponse(response, paymentMethod$1);
@@ -18825,9 +19079,14 @@ var BankAccountCharge = _objectSpread2(_objectSpread2(_objectSpread2({}, EMandat
18825
19079
 
18826
19080
  var UssdAPI = {
18827
19081
  generateShortcode: function generateShortcode(params, publicKey) {
18828
- var headers = {
19082
+ var language = getLanguage();
19083
+
19084
+ var headers = _objectSpread2({
18829
19085
  Authorization: "Bearer ".concat(publicKey)
18830
- };
19086
+ }, language && {
19087
+ 'Accept-Language': language
19088
+ });
19089
+
18831
19090
  return axiosInstance.post("".concat(configToUse.paystackApiUrl, "checkout/ussd/reference"), params, {
18832
19091
  headers: headers
18833
19092
  }).then(function (response) {
@@ -18835,9 +19094,14 @@ var UssdAPI = {
18835
19094
  });
18836
19095
  },
18837
19096
  generatePWTUSSDShortcode: function generatePWTUSSDShortcode(params, publicKey) {
18838
- var headers = {
19097
+ var language = getLanguage();
19098
+
19099
+ var headers = _objectSpread2({
18839
19100
  Authorization: "Bearer ".concat(publicKey)
18840
- };
19101
+ }, language && {
19102
+ 'Accept-Language': language
19103
+ });
19104
+
18841
19105
  return axiosInstance.post("".concat(configToUse.paystackApiUrl, "checkout/pay_with_transfer_ussd"), params, {
18842
19106
  headers: headers
18843
19107
  }).then(function (response) {
@@ -18921,9 +19185,14 @@ var QrAPI = {
18921
19185
  reference: transaction,
18922
19186
  channel: channel
18923
19187
  };
18924
- var headers = {
19188
+ var language = getLanguage();
19189
+
19190
+ var headers = _objectSpread2({
18925
19191
  Authorization: "Bearer ".concat(publicKey)
18926
- };
19192
+ }, language && {
19193
+ 'Accept-Language': language
19194
+ });
19195
+
18927
19196
  return axiosInstance.post("".concat(configToUse.paystackApiUrl, "offline/qr/generate"), params, {
18928
19197
  headers: headers
18929
19198
  }).then(function (response) {
@@ -19056,7 +19325,15 @@ var MobileMoneyAPI = {
19056
19325
  voucher: voucher,
19057
19326
  registration_token: registrationToken
19058
19327
  };
19059
- return axiosInstance.post("".concat(configToUse.paystackApiUrl, "charge/mobile_money"), params).then(function (response) {
19328
+ var language = getLanguage();
19329
+
19330
+ var headers = _objectSpread2({}, language && {
19331
+ 'Accept-Language': language
19332
+ });
19333
+
19334
+ return axiosInstance.post("".concat(configToUse.paystackApiUrl, "charge/mobile_money"), params, {
19335
+ headers: headers
19336
+ }).then(function (response) {
19060
19337
  return ChargeResponses.parse(response.data);
19061
19338
  });
19062
19339
  }
@@ -19123,9 +19400,14 @@ var MobileMoneyCharge = {
19123
19400
  var PhoneAPI = {
19124
19401
  verify: function verify(phoneNumber, publicKey) {
19125
19402
  var url = "".concat(configToUse.paystackApiUrl, "checkout/pay_with_phone/verify");
19126
- var headers = {
19403
+ var language = getLanguage();
19404
+
19405
+ var headers = _objectSpread2({
19127
19406
  Authorization: "Bearer ".concat(publicKey)
19128
- };
19407
+ }, language && {
19408
+ 'Accept-Language': language
19409
+ });
19410
+
19129
19411
  return axiosInstance.post(url, {
19130
19412
  phone: phoneNumber
19131
19413
  }, {
@@ -19136,9 +19418,14 @@ var PhoneAPI = {
19136
19418
  },
19137
19419
  deleteCard: function deleteCard(phoneNumber, publicKey, cardId) {
19138
19420
  var url = "".concat(configToUse.paystackApiUrl, "checkout/pay_with_phone/remove_card");
19139
- var headers = {
19421
+ var language = getLanguage();
19422
+
19423
+ var headers = _objectSpread2({
19140
19424
  Authorization: "Bearer ".concat(publicKey)
19141
- };
19425
+ }, language && {
19426
+ 'Accept-Language': language
19427
+ });
19428
+
19142
19429
  return axiosInstance.post(url, {
19143
19430
  phone: phoneNumber,
19144
19431
  id: cardId
@@ -19150,9 +19437,14 @@ var PhoneAPI = {
19150
19437
  },
19151
19438
  authenticateOtp: function authenticateOtp(phoneNumber, publicKey, otp, transactionId) {
19152
19439
  var url = "".concat(configToUse.paystackApiUrl, "checkout/pay_with_phone/validate_otp");
19153
- var headers = {
19440
+ var language = getLanguage();
19441
+
19442
+ var headers = _objectSpread2({
19154
19443
  Authorization: "Bearer ".concat(publicKey)
19155
- };
19444
+ }, language && {
19445
+ 'Accept-Language': language
19446
+ });
19447
+
19156
19448
  return axiosInstance.post(url, {
19157
19449
  phone: phoneNumber,
19158
19450
  otp: otp,
@@ -19165,9 +19457,14 @@ var PhoneAPI = {
19165
19457
  },
19166
19458
  authenticatePin: function authenticatePin(phoneNumber, publicKey, pin, transactionId) {
19167
19459
  var url = "".concat(configToUse.paystackApiUrl, "checkout/pay_with_phone/validate_pin");
19168
- var headers = {
19460
+ var language = getLanguage();
19461
+
19462
+ var headers = _objectSpread2({
19169
19463
  Authorization: "Bearer ".concat(publicKey)
19170
- };
19464
+ }, language && {
19465
+ 'Accept-Language': language
19466
+ });
19467
+
19171
19468
  return axiosInstance.post(url, {
19172
19469
  phone: phoneNumber,
19173
19470
  pin: pin,
@@ -19179,10 +19476,15 @@ var PhoneAPI = {
19179
19476
  });
19180
19477
  },
19181
19478
  setPin: function setPin(phoneNumber, publicKey, transactionToken, transactionId, pin) {
19479
+ var language = getLanguage();
19182
19480
  var url = "".concat(configToUse.paystackApiUrl, "checkout/pay_with_phone/set_pin");
19183
- var headers = {
19481
+
19482
+ var headers = _objectSpread2({
19184
19483
  Authorization: "Bearer ".concat(publicKey)
19185
- };
19484
+ }, language && {
19485
+ 'Accept-Language': language
19486
+ });
19487
+
19186
19488
  return axiosInstance.post(url, {
19187
19489
  phone: phoneNumber,
19188
19490
  token: transactionToken,
@@ -19196,9 +19498,14 @@ var PhoneAPI = {
19196
19498
  },
19197
19499
  charge: function charge(authId, publicKey, token, transactionId, cvv, phoneNumber) {
19198
19500
  var url = "".concat(configToUse.paystackApiUrl, "checkout/pay_with_phone/charge");
19199
- var headers = {
19501
+ var language = getLanguage();
19502
+
19503
+ var headers = _objectSpread2({
19200
19504
  Authorization: "Bearer ".concat(publicKey)
19201
- };
19505
+ }, language && {
19506
+ 'Accept-Language': language
19507
+ });
19508
+
19202
19509
  return axiosInstance.post(url, {
19203
19510
  id: authId,
19204
19511
  token: token,
@@ -19213,9 +19520,14 @@ var PhoneAPI = {
19213
19520
  },
19214
19521
  enrollPhoneNumber: function enrollPhoneNumber(phoneNumber, publicKey, transactionId) {
19215
19522
  var url = "".concat(configToUse.paystackApiUrl, "checkout/pay_with_phone/enroll");
19216
- var headers = {
19523
+ var language = getLanguage();
19524
+
19525
+ var headers = _objectSpread2({
19217
19526
  Authorization: "Bearer ".concat(publicKey)
19218
- };
19527
+ }, language && {
19528
+ 'Accept-Language': language
19529
+ });
19530
+
19219
19531
  return axiosInstance.post(url, {
19220
19532
  phone: phoneNumber,
19221
19533
  transaction: transactionId
@@ -19320,7 +19632,15 @@ var DirectDebitAPI = {
19320
19632
  email: email,
19321
19633
  password: password
19322
19634
  };
19323
- return axiosInstance.post("".concat(configToUse.paystackApiUrl, "login"), params).then(function (response) {
19635
+ var language = getLanguage();
19636
+
19637
+ var headers = _objectSpread2({}, language && {
19638
+ 'Accept-Language': language
19639
+ });
19640
+
19641
+ return axiosInstance.post("".concat(configToUse.paystackApiUrl, "login"), params, {
19642
+ headers: headers
19643
+ }).then(function (response) {
19324
19644
  return ChargeResponses.parse(response.data);
19325
19645
  });
19326
19646
  },
@@ -19328,10 +19648,15 @@ var DirectDebitAPI = {
19328
19648
  var accountCode = _ref2.account_code,
19329
19649
  transaction = _ref2.transaction,
19330
19650
  token = _ref2.token;
19331
- var headers = {
19651
+ var language = getLanguage();
19652
+
19653
+ var headers = _objectSpread2({
19332
19654
  Authorization: "Bearer ".concat(token),
19333
19655
  'jwt-auth': true
19334
- };
19656
+ }, language && {
19657
+ 'Accept-Language': language
19658
+ });
19659
+
19335
19660
  var params = {
19336
19661
  account_code: accountCode,
19337
19662
  transaction: transaction
@@ -19346,10 +19671,15 @@ var DirectDebitAPI = {
19346
19671
  var otp = _ref3.otp,
19347
19672
  transaction = _ref3.transaction,
19348
19673
  token = _ref3.token;
19349
- var headers = {
19674
+ var language = getLanguage();
19675
+
19676
+ var headers = _objectSpread2({
19350
19677
  Authorization: "Bearer ".concat(token),
19351
19678
  'jwt-auth': true
19352
- };
19679
+ }, language && {
19680
+ 'Accept-Language': language
19681
+ });
19682
+
19353
19683
  var params = {
19354
19684
  otp: otp,
19355
19685
  transaction: transaction
@@ -19361,10 +19691,15 @@ var DirectDebitAPI = {
19361
19691
  });
19362
19692
  },
19363
19693
  getProvisionedAccounts: function getProvisionedAccounts(token) {
19364
- var headers = {
19694
+ var language = getLanguage();
19695
+
19696
+ var headers = _objectSpread2({
19365
19697
  Authorization: "Bearer ".concat(token),
19366
19698
  'jwt-auth': true
19367
- };
19699
+ }, language && {
19700
+ 'Accept-Language': language
19701
+ });
19702
+
19368
19703
  return axiosInstance.get("".concat(configToUse.paystackApiUrl, "directdebit/account"), {
19369
19704
  headers: headers
19370
19705
  }).then(function (response) {
@@ -19504,7 +19839,7 @@ function isMobile (ua) {
19504
19839
  }
19505
19840
 
19506
19841
  var $ = _export;
19507
- var global$1 = global$R;
19842
+ var global$1 = global$S;
19508
19843
  var getBuiltIn = getBuiltIn$a;
19509
19844
  var apply = functionApply;
19510
19845
  var uncurryThis = functionUncurryThis;
@@ -19552,9 +19887,14 @@ if ($stringify) {
19552
19887
  var AnalyticsAPI = {
19553
19888
  saveLog: function saveLog(transactionId, merchantKey, log) {
19554
19889
  var url = "".concat(configToUse.paystackApiUrl, "transaction/update_log/").concat(transactionId);
19555
- var headers = {
19890
+ var language = getLanguage();
19891
+
19892
+ var headers = _objectSpread2({
19556
19893
  Authorization: "Bearer ".concat(merchantKey)
19557
- };
19894
+ }, language && {
19895
+ 'Accept-Language': language
19896
+ });
19897
+
19558
19898
  return axiosInstance.post(url, {
19559
19899
  payload: JSON.stringify(log)
19560
19900
  }, {
@@ -19565,15 +19905,28 @@ var AnalyticsAPI = {
19565
19905
  },
19566
19906
  getIp: function getIp() {
19567
19907
  var url = 'https://api.paystack.co/decision/ip';
19568
- return axiosInstance.get(url).then(function (response) {
19908
+ var language = getLanguage();
19909
+
19910
+ var headers = _objectSpread2({}, language && {
19911
+ 'Accept-Language': language
19912
+ });
19913
+
19914
+ return axiosInstance.get(url, {
19915
+ headers: headers
19916
+ }).then(function (response) {
19569
19917
  return response.data.data.ip_address;
19570
19918
  });
19571
19919
  },
19572
19920
  saveIp: function saveIp(transactionId, merchantKey) {
19573
19921
  var url = "".concat(configToUse.paystackApiUrl, "transaction/set_ip/").concat(transactionId);
19574
- var headers = {
19922
+ var language = getLanguage();
19923
+
19924
+ var headers = _objectSpread2({
19575
19925
  Authorization: "Bearer ".concat(merchantKey)
19576
- };
19926
+ }, language && {
19927
+ 'Accept-Language': language
19928
+ });
19929
+
19577
19930
  return axiosInstance.post(url, null, {
19578
19931
  headers: headers
19579
19932
  }).then(function (response) {
@@ -19582,9 +19935,14 @@ var AnalyticsAPI = {
19582
19935
  },
19583
19936
  saveReferrer: function saveReferrer(transactionId, merchantKey, referrer) {
19584
19937
  var url = "".concat(configToUse.paystackApiUrl, "transaction/set_referrer/").concat(transactionId);
19585
- var headers = {
19938
+ var language = getLanguage();
19939
+
19940
+ var headers = _objectSpread2({
19586
19941
  Authorization: "Bearer ".concat(merchantKey)
19587
- };
19942
+ }, language && {
19943
+ 'Accept-Language': language
19944
+ });
19945
+
19588
19946
  return axiosInstance.post(url, {
19589
19947
  referrer: referrer
19590
19948
  }, {
@@ -19817,7 +20175,8 @@ var TransactionInstance = /*#__PURE__*/function () {
19817
20175
  this.isTest = data.domain === 'test';
19818
20176
  this.currency = data.currency;
19819
20177
  this.id = data.id;
19820
- this.channels = data.channels;
20178
+ this.channels = ['apple_pay'].concat(data.channels); // TODO: remove hardcoded channel
20179
+
19821
20180
  this.label = data.label;
19822
20181
  this.metadata = data.metadata || {};
19823
20182
  this.cancel_action = data.cancel_action || null;
@@ -19858,7 +20217,11 @@ var TransactionInstance = /*#__PURE__*/function () {
19858
20217
  this.channels.forEach(function (channel) {
19859
20218
  var chargeFunctions = ChargeFunctions.get(channel);
19860
20219
  Object.assign(_this, chargeFunctions);
19861
- });
20220
+ }); // Bank transfer charge functions are required for some features on USSD.
20221
+
20222
+ if (this.channels.includes('ussd') && !this.channels.includes('bank_transfer')) {
20223
+ Object.assign(this, ChargeFunctions.get('bank_transfer'));
20224
+ }
19862
20225
  }
19863
20226
 
19864
20227
  _createClass(TransactionInstance, [{
@@ -20044,8 +20407,15 @@ var Transaction = {
20044
20407
  var ToolkitAPI = {
20045
20408
  fetchBanks: function fetchBanks(params) {
20046
20409
  var url = "".concat(configToUse.paystackApiUrl, "bank");
20410
+ var language = getLanguage();
20411
+
20412
+ var headers = _objectSpread2({}, language && {
20413
+ 'Accept-Language': language
20414
+ });
20415
+
20047
20416
  var data = {
20048
- params: params
20417
+ params: params,
20418
+ headers: headers
20049
20419
  };
20050
20420
  return axiosInstance.get(url, data).then(function (response) {
20051
20421
  return response.data;
@@ -20053,20 +20423,43 @@ var ToolkitAPI = {
20053
20423
  },
20054
20424
  fetchResolutions: function fetchResolutions() {
20055
20425
  var url = "".concat(configToUse.paystackApiUrl, "checkout/resolutions");
20056
- return axiosInstance.get(url).then(function (response) {
20426
+ var language = getLanguage();
20427
+
20428
+ var headers = _objectSpread2({}, language && {
20429
+ 'Accept-Language': language
20430
+ });
20431
+
20432
+ return axiosInstance.get(url, {
20433
+ headers: headers
20434
+ }).then(function (response) {
20057
20435
  return response.data;
20058
20436
  });
20059
20437
  },
20060
20438
  fetchCelebrations: function fetchCelebrations() {
20061
20439
  var url = "".concat(configToUse.paystackApiUrl, "checkout/celebrations");
20062
- return axiosInstance.get(url).then(function (response) {
20440
+ var language = getLanguage();
20441
+
20442
+ var headers = _objectSpread2({}, language && {
20443
+ 'Accept-Language': language
20444
+ });
20445
+
20446
+ return axiosInstance.get(url, {
20447
+ headers: headers
20448
+ }).then(function (response) {
20063
20449
  return response.data;
20064
20450
  });
20065
20451
  },
20066
20452
  fetchStates: function fetchStates(params) {
20067
20453
  var url = "".concat(configToUse.paystackApiUrl, "address_verification/states");
20454
+ var language = getLanguage();
20455
+
20456
+ var headers = _objectSpread2({}, language && {
20457
+ 'Accept-Language': language
20458
+ });
20459
+
20068
20460
  var data = {
20069
- params: params
20461
+ params: params,
20462
+ headers: headers
20070
20463
  };
20071
20464
  return axiosInstance.get(url, data).then(function (response) {
20072
20465
  return response.data;