@paystack/checkout-js 1.13.0-dev.2 → 1.14.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/checkout.js +3 -3
- package/es/checkout.js +463 -511
- package/lib/checkout.js +463 -511
- package/package.json +1 -1
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$
|
|
1128
|
+
var global$R =
|
|
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$
|
|
1202
|
+
var uncurryThis$v = 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$
|
|
1205
|
+
return fn && uncurryThis$v(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$
|
|
1212
|
+
var uncurryThis$u = functionUncurryThis;
|
|
1213
1213
|
|
|
1214
|
-
var toString$
|
|
1215
|
-
var stringSlice$4 = uncurryThis$
|
|
1214
|
+
var toString$a = uncurryThis$u({}.toString);
|
|
1215
|
+
var stringSlice$4 = uncurryThis$u(''.slice);
|
|
1216
1216
|
|
|
1217
1217
|
var classofRaw$1 = function (it) {
|
|
1218
|
-
return stringSlice$4(toString$
|
|
1218
|
+
return stringSlice$4(toString$a(it), 8, -1);
|
|
1219
1219
|
};
|
|
1220
1220
|
|
|
1221
|
-
var global$
|
|
1222
|
-
var uncurryThis$
|
|
1221
|
+
var global$Q = global$R;
|
|
1222
|
+
var uncurryThis$t = functionUncurryThis;
|
|
1223
1223
|
var fails$q = fails$t;
|
|
1224
|
-
var classof$
|
|
1224
|
+
var classof$a = classofRaw$1;
|
|
1225
1225
|
|
|
1226
|
-
var Object$5 = global$
|
|
1227
|
-
var split$3 = uncurryThis$
|
|
1226
|
+
var Object$5 = global$Q.Object;
|
|
1227
|
+
var split$3 = uncurryThis$t(''.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$
|
|
1235
|
+
return classof$a(it) == 'String' ? split$3(it, '') : Object$5(it);
|
|
1236
1236
|
} : Object$5;
|
|
1237
1237
|
|
|
1238
|
-
var global$
|
|
1238
|
+
var global$P = global$R;
|
|
1239
1239
|
|
|
1240
|
-
var TypeError$
|
|
1240
|
+
var TypeError$i = global$P.TypeError;
|
|
1241
1241
|
|
|
1242
1242
|
// `RequireObjectCoercible` abstract operation
|
|
1243
1243
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
1244
|
-
var requireObjectCoercible$
|
|
1245
|
-
if (it == undefined) throw TypeError$
|
|
1244
|
+
var requireObjectCoercible$4 = function (it) {
|
|
1245
|
+
if (it == undefined) throw TypeError$i("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$
|
|
1251
|
+
var requireObjectCoercible$3 = requireObjectCoercible$4;
|
|
1252
1252
|
|
|
1253
1253
|
var toIndexedObject$8 = function (it) {
|
|
1254
|
-
return IndexedObject$3(requireObjectCoercible$
|
|
1254
|
+
return IndexedObject$3(requireObjectCoercible$3(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$
|
|
1265
|
+
var isObject$h = function (it) {
|
|
1266
1266
|
return typeof it == 'object' ? it !== null : isCallable$j(it);
|
|
1267
1267
|
};
|
|
1268
1268
|
|
|
1269
|
-
var global$
|
|
1269
|
+
var global$O = global$R;
|
|
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$
|
|
1277
|
+
return arguments.length < 2 ? aFunction(global$O[namespace]) : global$O[namespace] && global$O[namespace][method];
|
|
1278
1278
|
};
|
|
1279
1279
|
|
|
1280
|
-
var uncurryThis$
|
|
1280
|
+
var uncurryThis$s = functionUncurryThis;
|
|
1281
1281
|
|
|
1282
|
-
var objectIsPrototypeOf = uncurryThis$
|
|
1282
|
+
var objectIsPrototypeOf = uncurryThis$s({}.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$
|
|
1288
|
+
var global$N = global$R;
|
|
1289
1289
|
var userAgent$5 = engineUserAgent;
|
|
1290
1290
|
|
|
1291
|
-
var process$4 = global$
|
|
1292
|
-
var Deno = global$
|
|
1291
|
+
var process$4 = global$N.process;
|
|
1292
|
+
var Deno = global$N.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$
|
|
1339
|
+
var global$M = global$R;
|
|
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$
|
|
1345
|
+
var Object$4 = global$M.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$
|
|
1354
|
+
var global$L = global$R;
|
|
1355
1355
|
|
|
1356
|
-
var String$5 = global$
|
|
1356
|
+
var String$5 = global$L.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$
|
|
1366
|
+
var global$K = global$R;
|
|
1367
1367
|
var isCallable$g = isCallable$k;
|
|
1368
1368
|
var tryToString$3 = tryToString$4;
|
|
1369
1369
|
|
|
1370
|
-
var TypeError$
|
|
1370
|
+
var TypeError$h = global$K.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$
|
|
1375
|
+
throw TypeError$h(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$
|
|
1387
|
+
var global$J = global$R;
|
|
1388
1388
|
var call$d = functionCall;
|
|
1389
1389
|
var isCallable$f = isCallable$k;
|
|
1390
|
-
var isObject$
|
|
1390
|
+
var isObject$g = isObject$h;
|
|
1391
1391
|
|
|
1392
|
-
var TypeError$
|
|
1392
|
+
var TypeError$g = global$J.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$
|
|
1399
|
-
if (isCallable$f(fn = input.valueOf) && !isObject$
|
|
1400
|
-
if (pref !== 'string' && isCallable$f(fn = input.toString) && !isObject$
|
|
1401
|
-
throw TypeError$
|
|
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");
|
|
1402
1402
|
};
|
|
1403
1403
|
|
|
1404
1404
|
var shared$4 = {exports: {}};
|
|
1405
1405
|
|
|
1406
1406
|
var isPure = false;
|
|
1407
1407
|
|
|
1408
|
-
var global$
|
|
1408
|
+
var global$I = global$R;
|
|
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$
|
|
1415
|
+
defineProperty$5(global$I, key, { value: value, configurable: true, writable: true });
|
|
1416
1416
|
} catch (error) {
|
|
1417
|
-
global$
|
|
1417
|
+
global$I[key] = value;
|
|
1418
1418
|
} return value;
|
|
1419
1419
|
};
|
|
1420
1420
|
|
|
1421
|
-
var global$
|
|
1421
|
+
var global$H = global$R;
|
|
1422
1422
|
var setGlobal$2 = setGlobal$3;
|
|
1423
1423
|
|
|
1424
1424
|
var SHARED = '__core-js_shared__';
|
|
1425
|
-
var store$3 = global$
|
|
1425
|
+
var store$3 = global$H[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$
|
|
1442
|
-
var requireObjectCoercible$
|
|
1441
|
+
var global$G = global$R;
|
|
1442
|
+
var requireObjectCoercible$2 = requireObjectCoercible$4;
|
|
1443
1443
|
|
|
1444
|
-
var Object$3 = global$
|
|
1444
|
+
var Object$3 = global$G.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$
|
|
1449
|
+
return Object$3(requireObjectCoercible$2(argument));
|
|
1450
1450
|
};
|
|
1451
1451
|
|
|
1452
|
-
var uncurryThis$
|
|
1452
|
+
var uncurryThis$r = functionUncurryThis;
|
|
1453
1453
|
var toObject$7 = toObject$8;
|
|
1454
1454
|
|
|
1455
|
-
var hasOwnProperty = uncurryThis$
|
|
1455
|
+
var hasOwnProperty = uncurryThis$r({}.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$
|
|
1463
|
+
var uncurryThis$q = functionUncurryThis;
|
|
1464
1464
|
|
|
1465
1465
|
var id$1 = 0;
|
|
1466
1466
|
var postfix = Math.random();
|
|
1467
|
-
var toString$
|
|
1467
|
+
var toString$9 = uncurryThis$q(1.0.toString);
|
|
1468
1468
|
|
|
1469
1469
|
var uid$3 = function (key) {
|
|
1470
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$
|
|
1470
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$9(++id$1 + postfix, 36);
|
|
1471
1471
|
};
|
|
1472
1472
|
|
|
1473
|
-
var global$
|
|
1473
|
+
var global$F = global$R;
|
|
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$
|
|
1481
|
+
var Symbol$1 = global$F.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$
|
|
1485
|
+
var wellKnownSymbol$j = 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$l = function (name) {
|
|
|
1495
1495
|
} return WellKnownSymbolsStore[name];
|
|
1496
1496
|
};
|
|
1497
1497
|
|
|
1498
|
-
var global$
|
|
1498
|
+
var global$E = global$R;
|
|
1499
1499
|
var call$c = functionCall;
|
|
1500
|
-
var isObject$
|
|
1500
|
+
var isObject$f = isObject$h;
|
|
1501
1501
|
var isSymbol$2 = isSymbol$3;
|
|
1502
1502
|
var getMethod$2 = getMethod$3;
|
|
1503
1503
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
1504
|
-
var wellKnownSymbol$
|
|
1504
|
+
var wellKnownSymbol$i = wellKnownSymbol$j;
|
|
1505
1505
|
|
|
1506
|
-
var TypeError$
|
|
1507
|
-
var TO_PRIMITIVE = wellKnownSymbol$
|
|
1506
|
+
var TypeError$f = global$E.TypeError;
|
|
1507
|
+
var TO_PRIMITIVE = wellKnownSymbol$i('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$
|
|
1512
|
+
if (!isObject$f(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$
|
|
1519
|
-
throw TypeError$
|
|
1518
|
+
if (!isObject$f(result) || isSymbol$2(result)) return result;
|
|
1519
|
+
throw TypeError$f("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$
|
|
1536
|
-
var isObject$
|
|
1535
|
+
var global$D = global$R;
|
|
1536
|
+
var isObject$e = isObject$h;
|
|
1537
1537
|
|
|
1538
|
-
var document$3 = global$
|
|
1538
|
+
var document$3 = global$D.document;
|
|
1539
1539
|
// typeof document.createElement is 'object' in old IE
|
|
1540
|
-
var EXISTS$1 = isObject$
|
|
1540
|
+
var EXISTS$1 = isObject$e(document$3) && isObject$e(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$
|
|
1597
|
-
var isObject$
|
|
1596
|
+
var global$C = global$R;
|
|
1597
|
+
var isObject$d = isObject$h;
|
|
1598
1598
|
|
|
1599
|
-
var String$4 = global$
|
|
1600
|
-
var TypeError$
|
|
1599
|
+
var String$4 = global$C.String;
|
|
1600
|
+
var TypeError$e = global$C.TypeError;
|
|
1601
1601
|
|
|
1602
1602
|
// `Assert: Type(argument) is Object`
|
|
1603
1603
|
var anObject$e = function (argument) {
|
|
1604
|
-
if (isObject$
|
|
1605
|
-
throw TypeError$
|
|
1604
|
+
if (isObject$d(argument)) return argument;
|
|
1605
|
+
throw TypeError$e(String$4(argument) + ' is not an object');
|
|
1606
1606
|
};
|
|
1607
1607
|
|
|
1608
|
-
var global$
|
|
1608
|
+
var global$B = global$R;
|
|
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$
|
|
1615
|
+
var TypeError$d = global$B.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$
|
|
1648
|
+
if ('get' in Attributes || 'set' in Attributes) throw TypeError$d('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$
|
|
1666
|
+
var uncurryThis$p = functionUncurryThis;
|
|
1667
1667
|
var isCallable$e = isCallable$k;
|
|
1668
1668
|
var store$1 = sharedStore;
|
|
1669
1669
|
|
|
1670
|
-
var functionToString = uncurryThis$
|
|
1670
|
+
var functionToString = uncurryThis$p(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$
|
|
1681
|
+
var global$A = global$R;
|
|
1682
1682
|
var isCallable$d = isCallable$k;
|
|
1683
1683
|
var inspectSource$3 = inspectSource$4;
|
|
1684
1684
|
|
|
1685
|
-
var WeakMap$1 = global$
|
|
1685
|
+
var WeakMap$1 = global$A.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$
|
|
1702
|
-
var uncurryThis$
|
|
1703
|
-
var isObject$
|
|
1701
|
+
var global$z = global$R;
|
|
1702
|
+
var uncurryThis$o = functionUncurryThis;
|
|
1703
|
+
var isObject$c = isObject$h;
|
|
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$
|
|
1712
|
-
var WeakMap = global$
|
|
1711
|
+
var TypeError$c = global$z.TypeError;
|
|
1712
|
+
var WeakMap = global$z.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$
|
|
1723
|
-
throw TypeError$
|
|
1722
|
+
if (!isObject$c(it) || (state = get(it)).type !== TYPE) {
|
|
1723
|
+
throw TypeError$c('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$
|
|
1731
|
-
var wmhas = uncurryThis$
|
|
1732
|
-
var wmset = uncurryThis$
|
|
1730
|
+
var wmget = uncurryThis$o(store.get);
|
|
1731
|
+
var wmhas = uncurryThis$o(store.has);
|
|
1732
|
+
var wmset = uncurryThis$o(store.set);
|
|
1733
1733
|
set$1 = function (it, metadata) {
|
|
1734
|
-
if (wmhas(store, it)) throw new TypeError$
|
|
1734
|
+
if (wmhas(store, it)) throw new TypeError$c(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$
|
|
1749
|
+
if (hasOwn$c(it, STATE)) throw new TypeError$c(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$
|
|
1788
|
+
var global$y = global$R;
|
|
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$
|
|
1819
|
+
if (O === global$y) {
|
|
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$
|
|
1912
|
+
var uncurryThis$n = 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$
|
|
1918
|
+
var push$7 = uncurryThis$n([].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$
|
|
1962
|
+
var uncurryThis$m = 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$
|
|
1967
|
+
var concat$1 = uncurryThis$m([].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$
|
|
2016
|
+
var global$x = global$R;
|
|
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$
|
|
2045
|
+
target = global$x;
|
|
2046
2046
|
} else if (STATIC) {
|
|
2047
|
-
target = global$
|
|
2047
|
+
target = global$x[TARGET] || setGlobal(TARGET, {});
|
|
2048
2048
|
} else {
|
|
2049
|
-
target = (global$
|
|
2049
|
+
target = (global$x[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$
|
|
2086
|
+
var global$w = global$R;
|
|
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$
|
|
2091
|
+
var Array$4 = global$w.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$
|
|
2106
|
+
var classof$9 = 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$
|
|
2124
|
+
return windowNames && classof$9(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$
|
|
2142
|
-
var classof$
|
|
2141
|
+
var isObject$b = isObject$h;
|
|
2142
|
+
var classof$8 = 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$
|
|
2153
|
-
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof$
|
|
2152
|
+
if (!isObject$b(it)) return false;
|
|
2153
|
+
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof$8(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 $$
|
|
2165
|
-
var uncurryThis$
|
|
2164
|
+
var $$j = _export;
|
|
2165
|
+
var uncurryThis$l = functionUncurryThis;
|
|
2166
2166
|
var hiddenKeys$1 = hiddenKeys$5;
|
|
2167
|
-
var isObject$
|
|
2167
|
+
var isObject$a = isObject$h;
|
|
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$
|
|
2189
|
+
if (!isObject$a(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$
|
|
2223
|
+
var splice = uncurryThis$l([].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
|
-
$$
|
|
2239
|
+
$$j({ 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 $$
|
|
2255
|
-
var isObject$
|
|
2254
|
+
var $$i = _export;
|
|
2255
|
+
var isObject$9 = isObject$h;
|
|
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
|
-
$$
|
|
2266
|
+
$$i({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$1, sham: !FREEZING }, {
|
|
2267
2267
|
seal: function seal(it) {
|
|
2268
|
-
return $seal && isObject$
|
|
2268
|
+
return $seal && isObject$9(it) ? $seal(onFreeze(it)) : it;
|
|
2269
2269
|
}
|
|
2270
2270
|
});
|
|
2271
2271
|
|
|
2272
|
-
var classof$
|
|
2272
|
+
var classof$7 = 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$
|
|
2278
|
+
return classof$7(argument) == 'Array';
|
|
2279
2279
|
};
|
|
2280
2280
|
|
|
2281
|
-
var wellKnownSymbol$
|
|
2281
|
+
var wellKnownSymbol$h = wellKnownSymbol$j;
|
|
2282
2282
|
|
|
2283
|
-
var TO_STRING_TAG$3 = wellKnownSymbol$
|
|
2283
|
+
var TO_STRING_TAG$3 = wellKnownSymbol$h('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$
|
|
2290
|
+
var global$v = global$R;
|
|
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$
|
|
2294
|
+
var wellKnownSymbol$g = wellKnownSymbol$j;
|
|
2295
2295
|
|
|
2296
|
-
var TO_STRING_TAG$2 = wellKnownSymbol$
|
|
2297
|
-
var Object$2 = global$
|
|
2296
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$g('toStringTag');
|
|
2297
|
+
var Object$2 = global$v.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$
|
|
2310
|
+
var classof$6 = 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$7 = 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$
|
|
2321
|
+
var uncurryThis$k = functionUncurryThis;
|
|
2322
2322
|
var fails$h = fails$t;
|
|
2323
2323
|
var isCallable$9 = isCallable$k;
|
|
2324
|
-
var classof$
|
|
2324
|
+
var classof$5 = classof$6;
|
|
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$
|
|
2332
|
+
var exec$4 = uncurryThis$k(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$
|
|
2347
|
+
switch (classof$5(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$
|
|
2374
|
+
var global$u = global$R;
|
|
2375
2375
|
var isArray$7 = isArray$8;
|
|
2376
2376
|
var isConstructor$2 = isConstructor$3;
|
|
2377
|
-
var isObject$
|
|
2378
|
-
var wellKnownSymbol$
|
|
2377
|
+
var isObject$8 = isObject$h;
|
|
2378
|
+
var wellKnownSymbol$f = wellKnownSymbol$j;
|
|
2379
2379
|
|
|
2380
|
-
var SPECIES$4 = wellKnownSymbol$
|
|
2381
|
-
var Array$3 = global$
|
|
2380
|
+
var SPECIES$4 = wellKnownSymbol$f('species');
|
|
2381
|
+
var Array$3 = global$u.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$
|
|
2391
|
+
else if (isObject$8(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$
|
|
2407
|
+
var wellKnownSymbol$e = wellKnownSymbol$j;
|
|
2408
2408
|
var V8_VERSION$2 = engineV8Version;
|
|
2409
2409
|
|
|
2410
|
-
var SPECIES$3 = wellKnownSymbol$
|
|
2410
|
+
var SPECIES$3 = wellKnownSymbol$e('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 $$
|
|
2427
|
-
var global$
|
|
2426
|
+
var $$h = _export;
|
|
2427
|
+
var global$t = global$R;
|
|
2428
2428
|
var fails$f = fails$t;
|
|
2429
2429
|
var isArray$6 = isArray$8;
|
|
2430
|
-
var isObject$
|
|
2430
|
+
var isObject$7 = isObject$h;
|
|
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$
|
|
2436
|
+
var wellKnownSymbol$d = wellKnownSymbol$j;
|
|
2437
2437
|
var V8_VERSION$1 = engineV8Version;
|
|
2438
2438
|
|
|
2439
|
-
var IS_CONCAT_SPREADABLE = wellKnownSymbol$
|
|
2439
|
+
var IS_CONCAT_SPREADABLE = wellKnownSymbol$d('isConcatSpreadable');
|
|
2440
2440
|
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
|
|
2441
2441
|
var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
|
|
2442
|
-
var TypeError$
|
|
2442
|
+
var TypeError$b = global$t.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$
|
|
2456
|
+
if (!isObject$7(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
|
-
$$
|
|
2466
|
+
$$h({ 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 @@ $$i({ 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$
|
|
2477
|
+
if (n + len > MAX_SAFE_INTEGER) throw TypeError$b(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$
|
|
2480
|
+
if (n >= MAX_SAFE_INTEGER) throw TypeError$b(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$
|
|
2500
|
+
var global$s = global$R;
|
|
2501
2501
|
var isCallable$8 = isCallable$k;
|
|
2502
2502
|
|
|
2503
|
-
var String$3 = global$
|
|
2504
|
-
var TypeError$
|
|
2503
|
+
var String$3 = global$s.String;
|
|
2504
|
+
var TypeError$a = global$s.TypeError;
|
|
2505
2505
|
|
|
2506
2506
|
var aPossiblePrototype$1 = function (argument) {
|
|
2507
2507
|
if (typeof argument == 'object' || isCallable$8(argument)) return argument;
|
|
2508
|
-
throw TypeError$
|
|
2508
|
+
throw TypeError$a("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$
|
|
2513
|
+
var uncurryThis$j = 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$
|
|
2527
|
+
setter = uncurryThis$j(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$
|
|
2541
|
+
var isObject$6 = isObject$h;
|
|
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$
|
|
2553
|
+
isObject$6(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$
|
|
2560
|
-
var classof$
|
|
2559
|
+
var global$r = global$R;
|
|
2560
|
+
var classof$4 = classof$6;
|
|
2561
2561
|
|
|
2562
|
-
var String$2 = global$
|
|
2562
|
+
var String$2 = global$r.String;
|
|
2563
2563
|
|
|
2564
|
-
var toString$
|
|
2565
|
-
if (classof$
|
|
2564
|
+
var toString$8 = function (argument) {
|
|
2565
|
+
if (classof$4(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$
|
|
2569
|
+
var toString$7 = toString$8;
|
|
2570
2570
|
|
|
2571
2571
|
var normalizeStringArgument$1 = function (argument, $default) {
|
|
2572
|
-
return argument === undefined ? arguments.length < 2 ? '' : $default : toString$
|
|
2572
|
+
return argument === undefined ? arguments.length < 2 ? '' : $default : toString$7(argument);
|
|
2573
2573
|
};
|
|
2574
2574
|
|
|
2575
|
-
var isObject$
|
|
2575
|
+
var isObject$5 = isObject$h;
|
|
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$
|
|
2581
|
+
if (isObject$5(options) && 'cause' in options) {
|
|
2582
2582
|
createNonEnumerableProperty$4(O, 'cause', options.cause);
|
|
2583
2583
|
}
|
|
2584
2584
|
};
|
|
2585
2585
|
|
|
2586
|
-
var uncurryThis$
|
|
2586
|
+
var uncurryThis$i = functionUncurryThis;
|
|
2587
2587
|
|
|
2588
|
-
var replace$7 = uncurryThis$
|
|
2588
|
+
var replace$7 = uncurryThis$i(''.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 $$
|
|
2673
|
-
var global$
|
|
2672
|
+
var $$g = _export;
|
|
2673
|
+
var global$q = global$R;
|
|
2674
2674
|
var apply$2 = functionApply;
|
|
2675
2675
|
var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
|
|
2676
2676
|
|
|
2677
2677
|
var WEB_ASSEMBLY = 'WebAssembly';
|
|
2678
|
-
var WebAssembly = global$
|
|
2678
|
+
var WebAssembly = global$q[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
|
-
$$
|
|
2685
|
+
$$g({ 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
|
-
$$
|
|
2692
|
+
$$g({ 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$
|
|
2758
|
+
var classof$3 = classof$6;
|
|
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$
|
|
2763
|
+
return '[object ' + classof$3(this) + ']';
|
|
2764
2764
|
};
|
|
2765
2765
|
|
|
2766
2766
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
2767
2767
|
var redefine$8 = redefine$a.exports;
|
|
2768
|
-
var toString$
|
|
2768
|
+
var toString$6 = 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$
|
|
2773
|
+
redefine$8(Object.prototype, 'toString', toString$6, { 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$
|
|
2820
|
+
var uncurryThis$h = functionUncurryThis;
|
|
2821
2821
|
var aCallable$4 = aCallable$6;
|
|
2822
2822
|
var NATIVE_BIND = functionBindNative;
|
|
2823
2823
|
|
|
2824
|
-
var bind$b = uncurryThis$
|
|
2824
|
+
var bind$b = uncurryThis$h(uncurryThis$h.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$
|
|
2835
|
+
var uncurryThis$g = 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$
|
|
2841
|
+
var push$6 = uncurryThis$g([].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$
|
|
2930
|
+
var global$p = global$R;
|
|
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$
|
|
2947
|
+
handlePrototype$1(global$p[COLLECTION_NAME$1] && global$p[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 $$
|
|
2963
|
+
var $$f = _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
|
-
$$
|
|
2972
|
+
$$f({ 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$
|
|
2995
|
+
var global$o = global$R;
|
|
2996
2996
|
|
|
2997
2997
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
2998
|
-
var $RegExp$2 = global$
|
|
2998
|
+
var $RegExp$2 = global$o.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$
|
|
3137
|
+
var global$n = global$R;
|
|
3138
3138
|
|
|
3139
3139
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
3140
|
-
var $RegExp$1 = global$
|
|
3140
|
+
var $RegExp$1 = global$n.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$
|
|
3148
|
+
var global$m = global$R;
|
|
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$
|
|
3151
|
+
var $RegExp = global$m.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$
|
|
3163
|
-
var toString$
|
|
3162
|
+
var uncurryThis$f = functionUncurryThis;
|
|
3163
|
+
var toString$5 = toString$8;
|
|
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$
|
|
3176
|
-
var indexOf = uncurryThis$
|
|
3177
|
-
var replace$6 = uncurryThis$
|
|
3178
|
-
var stringSlice$3 = uncurryThis$
|
|
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);
|
|
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$
|
|
3199
|
+
var str = toString$5(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 $$
|
|
3276
|
+
var $$e = _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
|
-
$$
|
|
3281
|
+
$$e({ 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 $$
|
|
3288
|
-
var global$
|
|
3287
|
+
var $$d = _export;
|
|
3288
|
+
var global$l = global$R;
|
|
3289
3289
|
var call$8 = functionCall;
|
|
3290
|
-
var uncurryThis$
|
|
3290
|
+
var uncurryThis$e = functionUncurryThis;
|
|
3291
3291
|
var isCallable$6 = isCallable$k;
|
|
3292
|
-
var isObject$
|
|
3292
|
+
var isObject$4 = isObject$h;
|
|
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$
|
|
3305
|
-
var un$Test = uncurryThis$
|
|
3304
|
+
var Error$1 = global$l.Error;
|
|
3305
|
+
var un$Test = uncurryThis$e(/./.test);
|
|
3306
3306
|
|
|
3307
3307
|
// `RegExp.prototype.test` method
|
|
3308
3308
|
// https://tc39.es/ecma262/#sec-regexp.prototype.test
|
|
3309
|
-
$$
|
|
3309
|
+
$$d({ 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$
|
|
3314
|
+
if (result !== null && !isObject$4(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$
|
|
3321
|
+
var uncurryThis$d = functionUncurryThis;
|
|
3322
3322
|
|
|
3323
3323
|
// `thisNumberValue` abstract operation
|
|
3324
3324
|
// https://tc39.es/ecma262/#sec-thisnumbervalue
|
|
3325
|
-
var thisNumberValue$1 = uncurryThis$
|
|
3325
|
+
var thisNumberValue$1 = uncurryThis$d(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$
|
|
3332
|
-
var requireObjectCoercible$
|
|
3333
|
-
var toString$
|
|
3331
|
+
var uncurryThis$c = functionUncurryThis;
|
|
3332
|
+
var requireObjectCoercible$1 = requireObjectCoercible$4;
|
|
3333
|
+
var toString$4 = toString$8;
|
|
3334
3334
|
var whitespaces = whitespaces$1;
|
|
3335
3335
|
|
|
3336
|
-
var replace$5 = uncurryThis$
|
|
3336
|
+
var replace$5 = uncurryThis$c(''.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$
|
|
3344
|
+
var string = toString$4(requireObjectCoercible$1($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$
|
|
3365
|
-
var uncurryThis$
|
|
3364
|
+
var global$k = global$R;
|
|
3365
|
+
var uncurryThis$b = 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$
|
|
3381
|
+
var NativeNumber = global$k[NUMBER];
|
|
3382
3382
|
var NumberPrototype = NativeNumber.prototype;
|
|
3383
|
-
var TypeError$
|
|
3384
|
-
var arraySlice$4 = uncurryThis$
|
|
3385
|
-
var charCodeAt$3 = uncurryThis$
|
|
3383
|
+
var TypeError$9 = global$k.TypeError;
|
|
3384
|
+
var arraySlice$4 = uncurryThis$b(''.slice);
|
|
3385
|
+
var charCodeAt$3 = uncurryThis$b(''.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$
|
|
3399
|
+
if (isSymbol(it)) throw TypeError$9('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$
|
|
3448
|
+
redefine$7(global$k, NUMBER, NumberWrapper);
|
|
3449
3449
|
}
|
|
3450
3450
|
|
|
3451
3451
|
function isPublicKey(value) {
|
|
@@ -3556,10 +3556,6 @@ var fields = {
|
|
|
3556
3556
|
required: false,
|
|
3557
3557
|
isValid: isString$1
|
|
3558
3558
|
},
|
|
3559
|
-
split_code: {
|
|
3560
|
-
required: false,
|
|
3561
|
-
isValid: isString$1
|
|
3562
|
-
},
|
|
3563
3559
|
hash: {
|
|
3564
3560
|
required: false,
|
|
3565
3561
|
isValid: isString$1
|
|
@@ -3609,7 +3605,7 @@ function ValidateTransactionParameters(data) {
|
|
|
3609
3605
|
return errors;
|
|
3610
3606
|
}
|
|
3611
3607
|
|
|
3612
|
-
var $$
|
|
3608
|
+
var $$c = _export;
|
|
3613
3609
|
var $map = arrayIteration.map;
|
|
3614
3610
|
var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$3;
|
|
3615
3611
|
|
|
@@ -3618,7 +3614,7 @@ var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$1('map');
|
|
|
3618
3614
|
// `Array.prototype.map` method
|
|
3619
3615
|
// https://tc39.es/ecma262/#sec-array.prototype.map
|
|
3620
3616
|
// with adding support of @@species
|
|
3621
|
-
$$
|
|
3617
|
+
$$c({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, {
|
|
3622
3618
|
map: function map(callbackfn /* , thisArg */) {
|
|
3623
3619
|
return $map(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
3624
3620
|
}
|
|
@@ -3685,12 +3681,12 @@ var webkit = userAgent$3.match(/AppleWebKit\/(\d+)\./);
|
|
|
3685
3681
|
|
|
3686
3682
|
var engineWebkitVersion = !!webkit && +webkit[1];
|
|
3687
3683
|
|
|
3688
|
-
var $$
|
|
3689
|
-
var uncurryThis$
|
|
3684
|
+
var $$b = _export;
|
|
3685
|
+
var uncurryThis$a = functionUncurryThis;
|
|
3690
3686
|
var aCallable$3 = aCallable$6;
|
|
3691
3687
|
var toObject$3 = toObject$8;
|
|
3692
3688
|
var lengthOfArrayLike$2 = lengthOfArrayLike$7;
|
|
3693
|
-
var toString$
|
|
3689
|
+
var toString$3 = toString$8;
|
|
3694
3690
|
var fails$7 = fails$t;
|
|
3695
3691
|
var internalSort = arraySort$1;
|
|
3696
3692
|
var arrayMethodIsStrict$1 = arrayMethodIsStrict$3;
|
|
@@ -3700,8 +3696,8 @@ var V8 = engineV8Version;
|
|
|
3700
3696
|
var WEBKIT = engineWebkitVersion;
|
|
3701
3697
|
|
|
3702
3698
|
var test = [];
|
|
3703
|
-
var un$Sort = uncurryThis$
|
|
3704
|
-
var push$5 = uncurryThis$
|
|
3699
|
+
var un$Sort = uncurryThis$a(test.sort);
|
|
3700
|
+
var push$5 = uncurryThis$a(test.push);
|
|
3705
3701
|
|
|
3706
3702
|
// IE8-
|
|
3707
3703
|
var FAILS_ON_UNDEFINED = fails$7(function () {
|
|
@@ -3756,13 +3752,13 @@ var getSortCompare = function (comparefn) {
|
|
|
3756
3752
|
if (y === undefined) return -1;
|
|
3757
3753
|
if (x === undefined) return 1;
|
|
3758
3754
|
if (comparefn !== undefined) return +comparefn(x, y) || 0;
|
|
3759
|
-
return toString$
|
|
3755
|
+
return toString$3(x) > toString$3(y) ? 1 : -1;
|
|
3760
3756
|
};
|
|
3761
3757
|
};
|
|
3762
3758
|
|
|
3763
3759
|
// `Array.prototype.sort` method
|
|
3764
3760
|
// https://tc39.es/ecma262/#sec-array.prototype.sort
|
|
3765
|
-
$$
|
|
3761
|
+
$$b({ target: 'Array', proto: true, forced: FORCED$2 }, {
|
|
3766
3762
|
sort: function sort(comparefn) {
|
|
3767
3763
|
if (comparefn !== undefined) aCallable$3(comparefn);
|
|
3768
3764
|
|
|
@@ -3790,7 +3786,7 @@ $$c({ target: 'Array', proto: true, forced: FORCED$2 }, {
|
|
|
3790
3786
|
}
|
|
3791
3787
|
});
|
|
3792
3788
|
|
|
3793
|
-
var $$
|
|
3789
|
+
var $$a = _export;
|
|
3794
3790
|
var $filter = arrayIteration.filter;
|
|
3795
3791
|
var arrayMethodHasSpeciesSupport = arrayMethodHasSpeciesSupport$3;
|
|
3796
3792
|
|
|
@@ -3799,26 +3795,26 @@ var HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('filter');
|
|
|
3799
3795
|
// `Array.prototype.filter` method
|
|
3800
3796
|
// https://tc39.es/ecma262/#sec-array.prototype.filter
|
|
3801
3797
|
// with adding support of @@species
|
|
3802
|
-
$$
|
|
3798
|
+
$$a({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT }, {
|
|
3803
3799
|
filter: function filter(callbackfn /* , thisArg */) {
|
|
3804
3800
|
return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
3805
3801
|
}
|
|
3806
3802
|
});
|
|
3807
3803
|
|
|
3808
|
-
var $$
|
|
3809
|
-
var uncurryThis$
|
|
3804
|
+
var $$9 = _export;
|
|
3805
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
3810
3806
|
var IndexedObject$1 = indexedObject;
|
|
3811
3807
|
var toIndexedObject$2 = toIndexedObject$8;
|
|
3812
3808
|
var arrayMethodIsStrict = arrayMethodIsStrict$3;
|
|
3813
3809
|
|
|
3814
|
-
var un$Join = uncurryThis$
|
|
3810
|
+
var un$Join = uncurryThis$9([].join);
|
|
3815
3811
|
|
|
3816
3812
|
var ES3_STRINGS = IndexedObject$1 != Object;
|
|
3817
3813
|
var STRICT_METHOD = arrayMethodIsStrict('join', ',');
|
|
3818
3814
|
|
|
3819
3815
|
// `Array.prototype.join` method
|
|
3820
3816
|
// https://tc39.es/ecma262/#sec-array.prototype.join
|
|
3821
|
-
$$
|
|
3817
|
+
$$9({ target: 'Array', proto: true, forced: ES3_STRINGS || !STRICT_METHOD }, {
|
|
3822
3818
|
join: function join(separator) {
|
|
3823
3819
|
return un$Join(toIndexedObject$2(this), separator === undefined ? ',' : separator);
|
|
3824
3820
|
}
|
|
@@ -5241,9 +5237,9 @@ var fingerprint2 = {exports: {}};
|
|
|
5241
5237
|
|
|
5242
5238
|
var Fingerprint2 = fingerprint2.exports;
|
|
5243
5239
|
|
|
5244
|
-
var global$
|
|
5240
|
+
var global$j = global$R;
|
|
5245
5241
|
|
|
5246
|
-
var nativePromiseConstructor = global$
|
|
5242
|
+
var nativePromiseConstructor = global$j.Promise;
|
|
5247
5243
|
|
|
5248
5244
|
var redefine$6 = redefine$a.exports;
|
|
5249
5245
|
|
|
@@ -5254,9 +5250,9 @@ var redefineAll$2 = function (target, src, options) {
|
|
|
5254
5250
|
|
|
5255
5251
|
var defineProperty$2 = objectDefineProperty.f;
|
|
5256
5252
|
var hasOwn$4 = hasOwnProperty_1;
|
|
5257
|
-
var wellKnownSymbol$
|
|
5253
|
+
var wellKnownSymbol$c = wellKnownSymbol$j;
|
|
5258
5254
|
|
|
5259
|
-
var TO_STRING_TAG$1 = wellKnownSymbol$
|
|
5255
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$c('toStringTag');
|
|
5260
5256
|
|
|
5261
5257
|
var setToStringTag$5 = function (target, TAG, STATIC) {
|
|
5262
5258
|
if (target && !STATIC) target = target.prototype;
|
|
@@ -5267,10 +5263,10 @@ var setToStringTag$5 = function (target, TAG, STATIC) {
|
|
|
5267
5263
|
|
|
5268
5264
|
var getBuiltIn$3 = getBuiltIn$a;
|
|
5269
5265
|
var definePropertyModule$1 = objectDefineProperty;
|
|
5270
|
-
var wellKnownSymbol$
|
|
5266
|
+
var wellKnownSymbol$b = wellKnownSymbol$j;
|
|
5271
5267
|
var DESCRIPTORS$4 = descriptors;
|
|
5272
5268
|
|
|
5273
|
-
var SPECIES$2 = wellKnownSymbol$
|
|
5269
|
+
var SPECIES$2 = wellKnownSymbol$b('species');
|
|
5274
5270
|
|
|
5275
5271
|
var setSpecies$1 = function (CONSTRUCTOR_NAME) {
|
|
5276
5272
|
var Constructor = getBuiltIn$3(CONSTRUCTOR_NAME);
|
|
@@ -5284,22 +5280,22 @@ var setSpecies$1 = function (CONSTRUCTOR_NAME) {
|
|
|
5284
5280
|
}
|
|
5285
5281
|
};
|
|
5286
5282
|
|
|
5287
|
-
var global$
|
|
5283
|
+
var global$i = global$R;
|
|
5288
5284
|
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
5289
5285
|
|
|
5290
|
-
var TypeError$
|
|
5286
|
+
var TypeError$8 = global$i.TypeError;
|
|
5291
5287
|
|
|
5292
5288
|
var anInstance$3 = function (it, Prototype) {
|
|
5293
5289
|
if (isPrototypeOf$2(Prototype, it)) return it;
|
|
5294
|
-
throw TypeError$
|
|
5290
|
+
throw TypeError$8('Incorrect invocation');
|
|
5295
5291
|
};
|
|
5296
5292
|
|
|
5297
5293
|
var iterators = {};
|
|
5298
5294
|
|
|
5299
|
-
var wellKnownSymbol$
|
|
5295
|
+
var wellKnownSymbol$a = wellKnownSymbol$j;
|
|
5300
5296
|
var Iterators$4 = iterators;
|
|
5301
5297
|
|
|
5302
|
-
var ITERATOR$7 = wellKnownSymbol$
|
|
5298
|
+
var ITERATOR$7 = wellKnownSymbol$a('iterator');
|
|
5303
5299
|
var ArrayPrototype$1 = Array.prototype;
|
|
5304
5300
|
|
|
5305
5301
|
// check on default Array iterator
|
|
@@ -5307,32 +5303,32 @@ var isArrayIteratorMethod$2 = function (it) {
|
|
|
5307
5303
|
return it !== undefined && (Iterators$4.Array === it || ArrayPrototype$1[ITERATOR$7] === it);
|
|
5308
5304
|
};
|
|
5309
5305
|
|
|
5310
|
-
var classof$
|
|
5306
|
+
var classof$2 = classof$6;
|
|
5311
5307
|
var getMethod$1 = getMethod$3;
|
|
5312
5308
|
var Iterators$3 = iterators;
|
|
5313
|
-
var wellKnownSymbol$
|
|
5309
|
+
var wellKnownSymbol$9 = wellKnownSymbol$j;
|
|
5314
5310
|
|
|
5315
|
-
var ITERATOR$6 = wellKnownSymbol$
|
|
5311
|
+
var ITERATOR$6 = wellKnownSymbol$9('iterator');
|
|
5316
5312
|
|
|
5317
5313
|
var getIteratorMethod$4 = function (it) {
|
|
5318
5314
|
if (it != undefined) return getMethod$1(it, ITERATOR$6)
|
|
5319
5315
|
|| getMethod$1(it, '@@iterator')
|
|
5320
|
-
|| Iterators$3[classof$
|
|
5316
|
+
|| Iterators$3[classof$2(it)];
|
|
5321
5317
|
};
|
|
5322
5318
|
|
|
5323
|
-
var global$
|
|
5319
|
+
var global$h = global$R;
|
|
5324
5320
|
var call$7 = functionCall;
|
|
5325
5321
|
var aCallable$2 = aCallable$6;
|
|
5326
5322
|
var anObject$7 = anObject$e;
|
|
5327
5323
|
var tryToString$2 = tryToString$4;
|
|
5328
5324
|
var getIteratorMethod$3 = getIteratorMethod$4;
|
|
5329
5325
|
|
|
5330
|
-
var TypeError$
|
|
5326
|
+
var TypeError$7 = global$h.TypeError;
|
|
5331
5327
|
|
|
5332
5328
|
var getIterator$3 = function (argument, usingIterator) {
|
|
5333
5329
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$3(argument) : usingIterator;
|
|
5334
5330
|
if (aCallable$2(iteratorMethod)) return anObject$7(call$7(iteratorMethod, argument));
|
|
5335
|
-
throw TypeError$
|
|
5331
|
+
throw TypeError$7(tryToString$2(argument) + ' is not iterable');
|
|
5336
5332
|
};
|
|
5337
5333
|
|
|
5338
5334
|
var call$6 = functionCall;
|
|
@@ -5359,7 +5355,7 @@ var iteratorClose$2 = function (iterator, kind, value) {
|
|
|
5359
5355
|
return value;
|
|
5360
5356
|
};
|
|
5361
5357
|
|
|
5362
|
-
var global$
|
|
5358
|
+
var global$g = global$R;
|
|
5363
5359
|
var bind$9 = functionBindContext;
|
|
5364
5360
|
var call$5 = functionCall;
|
|
5365
5361
|
var anObject$5 = anObject$e;
|
|
@@ -5371,7 +5367,7 @@ var getIterator$2 = getIterator$3;
|
|
|
5371
5367
|
var getIteratorMethod$2 = getIteratorMethod$4;
|
|
5372
5368
|
var iteratorClose$1 = iteratorClose$2;
|
|
5373
5369
|
|
|
5374
|
-
var TypeError$
|
|
5370
|
+
var TypeError$6 = global$g.TypeError;
|
|
5375
5371
|
|
|
5376
5372
|
var Result = function (stopped, result) {
|
|
5377
5373
|
this.stopped = stopped;
|
|
@@ -5404,7 +5400,7 @@ var iterate$1 = function (iterable, unboundFunction, options) {
|
|
|
5404
5400
|
iterator = iterable;
|
|
5405
5401
|
} else {
|
|
5406
5402
|
iterFn = getIteratorMethod$2(iterable);
|
|
5407
|
-
if (!iterFn) throw TypeError$
|
|
5403
|
+
if (!iterFn) throw TypeError$6(tryToString$1(iterable) + ' is not iterable');
|
|
5408
5404
|
// optimisation for array iterators
|
|
5409
5405
|
if (isArrayIteratorMethod$1(iterFn)) {
|
|
5410
5406
|
for (index = 0, length = lengthOfArrayLike$1(iterable); length > index; index++) {
|
|
@@ -5426,9 +5422,9 @@ var iterate$1 = function (iterable, unboundFunction, options) {
|
|
|
5426
5422
|
} return new Result(false);
|
|
5427
5423
|
};
|
|
5428
5424
|
|
|
5429
|
-
var wellKnownSymbol$
|
|
5425
|
+
var wellKnownSymbol$8 = wellKnownSymbol$j;
|
|
5430
5426
|
|
|
5431
|
-
var ITERATOR$5 = wellKnownSymbol$
|
|
5427
|
+
var ITERATOR$5 = wellKnownSymbol$8('iterator');
|
|
5432
5428
|
var SAFE_CLOSING = false;
|
|
5433
5429
|
|
|
5434
5430
|
try {
|
|
@@ -5465,23 +5461,23 @@ var checkCorrectnessOfIteration$1 = function (exec, SKIP_CLOSING) {
|
|
|
5465
5461
|
return ITERATION_SUPPORT;
|
|
5466
5462
|
};
|
|
5467
5463
|
|
|
5468
|
-
var global$
|
|
5464
|
+
var global$f = global$R;
|
|
5469
5465
|
var isConstructor$1 = isConstructor$3;
|
|
5470
5466
|
var tryToString = tryToString$4;
|
|
5471
5467
|
|
|
5472
|
-
var TypeError$
|
|
5468
|
+
var TypeError$5 = global$f.TypeError;
|
|
5473
5469
|
|
|
5474
5470
|
// `Assert: IsConstructor(argument) is true`
|
|
5475
5471
|
var aConstructor$1 = function (argument) {
|
|
5476
5472
|
if (isConstructor$1(argument)) return argument;
|
|
5477
|
-
throw TypeError$
|
|
5473
|
+
throw TypeError$5(tryToString(argument) + ' is not a constructor');
|
|
5478
5474
|
};
|
|
5479
5475
|
|
|
5480
5476
|
var anObject$4 = anObject$e;
|
|
5481
5477
|
var aConstructor = aConstructor$1;
|
|
5482
|
-
var wellKnownSymbol$
|
|
5478
|
+
var wellKnownSymbol$7 = wellKnownSymbol$j;
|
|
5483
5479
|
|
|
5484
|
-
var SPECIES$1 = wellKnownSymbol$
|
|
5480
|
+
var SPECIES$1 = wellKnownSymbol$7('species');
|
|
5485
5481
|
|
|
5486
5482
|
// `SpeciesConstructor` abstract operation
|
|
5487
5483
|
// https://tc39.es/ecma262/#sec-speciesconstructor
|
|
@@ -5491,16 +5487,16 @@ var speciesConstructor$1 = function (O, defaultConstructor) {
|
|
|
5491
5487
|
return C === undefined || (S = anObject$4(C)[SPECIES$1]) == undefined ? defaultConstructor : aConstructor(S);
|
|
5492
5488
|
};
|
|
5493
5489
|
|
|
5494
|
-
var uncurryThis$
|
|
5490
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
5495
5491
|
|
|
5496
|
-
var arraySlice$2 = uncurryThis$
|
|
5492
|
+
var arraySlice$2 = uncurryThis$8([].slice);
|
|
5497
5493
|
|
|
5498
|
-
var global$
|
|
5494
|
+
var global$e = global$R;
|
|
5499
5495
|
|
|
5500
|
-
var TypeError$
|
|
5496
|
+
var TypeError$4 = global$e.TypeError;
|
|
5501
5497
|
|
|
5502
5498
|
var validateArgumentsLength$3 = function (passed, required) {
|
|
5503
|
-
if (passed < required) throw TypeError$
|
|
5499
|
+
if (passed < required) throw TypeError$4('Not enough arguments');
|
|
5504
5500
|
return passed;
|
|
5505
5501
|
};
|
|
5506
5502
|
|
|
@@ -5508,12 +5504,12 @@ var userAgent$2 = engineUserAgent;
|
|
|
5508
5504
|
|
|
5509
5505
|
var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
|
|
5510
5506
|
|
|
5511
|
-
var classof$
|
|
5512
|
-
var global$
|
|
5507
|
+
var classof$1 = classofRaw$1;
|
|
5508
|
+
var global$d = global$R;
|
|
5513
5509
|
|
|
5514
|
-
var engineIsNode = classof$
|
|
5510
|
+
var engineIsNode = classof$1(global$d.process) == 'process';
|
|
5515
5511
|
|
|
5516
|
-
var global$
|
|
5512
|
+
var global$c = global$R;
|
|
5517
5513
|
var apply$1 = functionApply;
|
|
5518
5514
|
var bind$8 = functionBindContext;
|
|
5519
5515
|
var isCallable$5 = isCallable$k;
|
|
@@ -5526,13 +5522,13 @@ var validateArgumentsLength$2 = validateArgumentsLength$3;
|
|
|
5526
5522
|
var IS_IOS$1 = engineIsIos;
|
|
5527
5523
|
var IS_NODE$2 = engineIsNode;
|
|
5528
5524
|
|
|
5529
|
-
var set = global$
|
|
5530
|
-
var clear = global$
|
|
5531
|
-
var process$3 = global$
|
|
5532
|
-
var Dispatch = global$
|
|
5533
|
-
var Function$1 = global$
|
|
5534
|
-
var MessageChannel = global$
|
|
5535
|
-
var String$1 = global$
|
|
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;
|
|
5536
5532
|
var counter = 0;
|
|
5537
5533
|
var queue$1 = {};
|
|
5538
5534
|
var ONREADYSTATECHANGE = 'onreadystatechange';
|
|
@@ -5540,7 +5536,7 @@ var location, defer, channel, port;
|
|
|
5540
5536
|
|
|
5541
5537
|
try {
|
|
5542
5538
|
// Deno throws a ReferenceError on `location` access without `--location` flag
|
|
5543
|
-
location = global$
|
|
5539
|
+
location = global$c.location;
|
|
5544
5540
|
} catch (error) { /* empty */ }
|
|
5545
5541
|
|
|
5546
5542
|
var run = function (id) {
|
|
@@ -5563,7 +5559,7 @@ var listener = function (event) {
|
|
|
5563
5559
|
|
|
5564
5560
|
var post = function (id) {
|
|
5565
5561
|
// old engines have not location.origin
|
|
5566
|
-
global$
|
|
5562
|
+
global$c.postMessage(String$1(id), location.protocol + '//' + location.host);
|
|
5567
5563
|
};
|
|
5568
5564
|
|
|
5569
5565
|
// Node.js 0.9+ & IE10+ has setImmediate, otherwise:
|
|
@@ -5601,14 +5597,14 @@ if (!set || !clear) {
|
|
|
5601
5597
|
// Browsers with postMessage, skip WebWorkers
|
|
5602
5598
|
// IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
|
|
5603
5599
|
} else if (
|
|
5604
|
-
global$
|
|
5605
|
-
isCallable$5(global$
|
|
5606
|
-
!global$
|
|
5600
|
+
global$c.addEventListener &&
|
|
5601
|
+
isCallable$5(global$c.postMessage) &&
|
|
5602
|
+
!global$c.importScripts &&
|
|
5607
5603
|
location && location.protocol !== 'file:' &&
|
|
5608
5604
|
!fails$6(post)
|
|
5609
5605
|
) {
|
|
5610
5606
|
defer = post;
|
|
5611
|
-
global$
|
|
5607
|
+
global$c.addEventListener('message', listener, false);
|
|
5612
5608
|
// IE8-
|
|
5613
5609
|
} else if (ONREADYSTATECHANGE in createElement('script')) {
|
|
5614
5610
|
defer = function (id) {
|
|
@@ -5631,15 +5627,15 @@ var task$1 = {
|
|
|
5631
5627
|
};
|
|
5632
5628
|
|
|
5633
5629
|
var userAgent$1 = engineUserAgent;
|
|
5634
|
-
var global$
|
|
5630
|
+
var global$b = global$R;
|
|
5635
5631
|
|
|
5636
|
-
var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$
|
|
5632
|
+
var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$1) && global$b.Pebble !== undefined;
|
|
5637
5633
|
|
|
5638
5634
|
var userAgent = engineUserAgent;
|
|
5639
5635
|
|
|
5640
5636
|
var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
|
|
5641
5637
|
|
|
5642
|
-
var global$
|
|
5638
|
+
var global$a = global$R;
|
|
5643
5639
|
var bind$7 = functionBindContext;
|
|
5644
5640
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
5645
5641
|
var macrotask = task$1.set;
|
|
@@ -5648,12 +5644,12 @@ var IS_IOS_PEBBLE = engineIsIosPebble;
|
|
|
5648
5644
|
var IS_WEBOS_WEBKIT = engineIsWebosWebkit;
|
|
5649
5645
|
var IS_NODE$1 = engineIsNode;
|
|
5650
5646
|
|
|
5651
|
-
var MutationObserver = global$
|
|
5652
|
-
var document$2 = global$
|
|
5653
|
-
var process$2 = global$
|
|
5654
|
-
var Promise$1 = global$
|
|
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;
|
|
5655
5651
|
// Node.js 11 shows ExperimentalWarning on getting `queueMicrotask`
|
|
5656
|
-
var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global$
|
|
5652
|
+
var queueMicrotaskDescriptor = getOwnPropertyDescriptor(global$a, 'queueMicrotask');
|
|
5657
5653
|
var queueMicrotask = queueMicrotaskDescriptor && queueMicrotaskDescriptor.value;
|
|
5658
5654
|
|
|
5659
5655
|
var flush, head, last, notify$1, toggle, node, promise, then;
|
|
@@ -5709,7 +5705,7 @@ if (!queueMicrotask) {
|
|
|
5709
5705
|
// - setTimeout
|
|
5710
5706
|
} else {
|
|
5711
5707
|
// strange IE + webpack dev server bug - use .bind(global)
|
|
5712
|
-
macrotask = bind$7(macrotask, global$
|
|
5708
|
+
macrotask = bind$7(macrotask, global$a);
|
|
5713
5709
|
notify$1 = function () {
|
|
5714
5710
|
macrotask(flush);
|
|
5715
5711
|
};
|
|
@@ -5747,22 +5743,22 @@ newPromiseCapability$2.f = function (C) {
|
|
|
5747
5743
|
};
|
|
5748
5744
|
|
|
5749
5745
|
var anObject$3 = anObject$e;
|
|
5750
|
-
var isObject$
|
|
5746
|
+
var isObject$3 = isObject$h;
|
|
5751
5747
|
var newPromiseCapability$1 = newPromiseCapability$2;
|
|
5752
5748
|
|
|
5753
5749
|
var promiseResolve$1 = function (C, x) {
|
|
5754
5750
|
anObject$3(C);
|
|
5755
|
-
if (isObject$
|
|
5751
|
+
if (isObject$3(x) && x.constructor === C) return x;
|
|
5756
5752
|
var promiseCapability = newPromiseCapability$1.f(C);
|
|
5757
5753
|
var resolve = promiseCapability.resolve;
|
|
5758
5754
|
resolve(x);
|
|
5759
5755
|
return promiseCapability.promise;
|
|
5760
5756
|
};
|
|
5761
5757
|
|
|
5762
|
-
var global$
|
|
5758
|
+
var global$9 = global$R;
|
|
5763
5759
|
|
|
5764
5760
|
var hostReportErrors$1 = function (a, b) {
|
|
5765
|
-
var console = global$
|
|
5761
|
+
var console = global$9.console;
|
|
5766
5762
|
if (console && console.error) {
|
|
5767
5763
|
arguments.length == 1 ? console.error(a) : console.error(a, b);
|
|
5768
5764
|
}
|
|
@@ -5802,8 +5798,8 @@ var queue = Queue$1;
|
|
|
5802
5798
|
|
|
5803
5799
|
var engineIsBrowser = typeof window == 'object';
|
|
5804
5800
|
|
|
5805
|
-
var $$
|
|
5806
|
-
var global$
|
|
5801
|
+
var $$8 = _export;
|
|
5802
|
+
var global$8 = global$R;
|
|
5807
5803
|
var getBuiltIn$2 = getBuiltIn$a;
|
|
5808
5804
|
var call$4 = functionCall;
|
|
5809
5805
|
var NativePromise = nativePromiseConstructor;
|
|
@@ -5814,7 +5810,7 @@ var setToStringTag$4 = setToStringTag$5;
|
|
|
5814
5810
|
var setSpecies = setSpecies$1;
|
|
5815
5811
|
var aCallable = aCallable$6;
|
|
5816
5812
|
var isCallable$4 = isCallable$k;
|
|
5817
|
-
var isObject$
|
|
5813
|
+
var isObject$2 = isObject$h;
|
|
5818
5814
|
var anInstance$2 = anInstance$3;
|
|
5819
5815
|
var inspectSource = inspectSource$4;
|
|
5820
5816
|
var iterate = iterate$1;
|
|
@@ -5829,12 +5825,12 @@ var perform = perform$1;
|
|
|
5829
5825
|
var Queue = queue;
|
|
5830
5826
|
var InternalStateModule$4 = internalState;
|
|
5831
5827
|
var isForced = isForced_1;
|
|
5832
|
-
var wellKnownSymbol$
|
|
5828
|
+
var wellKnownSymbol$6 = wellKnownSymbol$j;
|
|
5833
5829
|
var IS_BROWSER = engineIsBrowser;
|
|
5834
5830
|
var IS_NODE = engineIsNode;
|
|
5835
5831
|
var V8_VERSION = engineV8Version;
|
|
5836
5832
|
|
|
5837
|
-
var SPECIES = wellKnownSymbol$
|
|
5833
|
+
var SPECIES = wellKnownSymbol$6('species');
|
|
5838
5834
|
var PROMISE = 'Promise';
|
|
5839
5835
|
|
|
5840
5836
|
var getInternalState$2 = InternalStateModule$4.getterFor(PROMISE);
|
|
@@ -5843,14 +5839,14 @@ var getInternalPromiseState = InternalStateModule$4.getterFor(PROMISE);
|
|
|
5843
5839
|
var NativePromisePrototype = NativePromise && NativePromise.prototype;
|
|
5844
5840
|
var PromiseConstructor = NativePromise;
|
|
5845
5841
|
var PromisePrototype = NativePromisePrototype;
|
|
5846
|
-
var TypeError$
|
|
5847
|
-
var document$1 = global$
|
|
5848
|
-
var process$1 = global$
|
|
5842
|
+
var TypeError$3 = global$8.TypeError;
|
|
5843
|
+
var document$1 = global$8.document;
|
|
5844
|
+
var process$1 = global$8.process;
|
|
5849
5845
|
var newPromiseCapability = newPromiseCapabilityModule.f;
|
|
5850
5846
|
var newGenericPromiseCapability = newPromiseCapability;
|
|
5851
5847
|
|
|
5852
|
-
var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$
|
|
5853
|
-
var NATIVE_REJECTION_EVENT = isCallable$4(global$
|
|
5848
|
+
var DISPATCH_EVENT = !!(document$1 && document$1.createEvent && global$8.dispatchEvent);
|
|
5849
|
+
var NATIVE_REJECTION_EVENT = isCallable$4(global$8.PromiseRejectionEvent);
|
|
5854
5850
|
var UNHANDLED_REJECTION = 'unhandledrejection';
|
|
5855
5851
|
var REJECTION_HANDLED = 'rejectionhandled';
|
|
5856
5852
|
var PENDING = 0;
|
|
@@ -5893,7 +5889,7 @@ var INCORRECT_ITERATION = FORCED$1 || !checkCorrectnessOfIteration(function (ite
|
|
|
5893
5889
|
// helpers
|
|
5894
5890
|
var isThenable = function (it) {
|
|
5895
5891
|
var then;
|
|
5896
|
-
return isObject$
|
|
5892
|
+
return isObject$2(it) && isCallable$4(then = it.then) ? then : false;
|
|
5897
5893
|
};
|
|
5898
5894
|
|
|
5899
5895
|
var callReaction = function (reaction, state) {
|
|
@@ -5920,7 +5916,7 @@ var callReaction = function (reaction, state) {
|
|
|
5920
5916
|
}
|
|
5921
5917
|
}
|
|
5922
5918
|
if (result === reaction.promise) {
|
|
5923
|
-
reject(TypeError$
|
|
5919
|
+
reject(TypeError$3('Promise-chain cycle'));
|
|
5924
5920
|
} else if (then = isThenable(result)) {
|
|
5925
5921
|
call$4(then, result, resolve, reject);
|
|
5926
5922
|
} else resolve(result);
|
|
@@ -5952,14 +5948,14 @@ var dispatchEvent = function (name, promise, reason) {
|
|
|
5952
5948
|
event.promise = promise;
|
|
5953
5949
|
event.reason = reason;
|
|
5954
5950
|
event.initEvent(name, false, true);
|
|
5955
|
-
global$
|
|
5951
|
+
global$8.dispatchEvent(event);
|
|
5956
5952
|
} else event = { promise: promise, reason: reason };
|
|
5957
|
-
if (!NATIVE_REJECTION_EVENT && (handler = global$
|
|
5953
|
+
if (!NATIVE_REJECTION_EVENT && (handler = global$8['on' + name])) handler(event);
|
|
5958
5954
|
else if (name === UNHANDLED_REJECTION) hostReportErrors('Unhandled promise rejection', reason);
|
|
5959
5955
|
};
|
|
5960
5956
|
|
|
5961
5957
|
var onUnhandled = function (state) {
|
|
5962
|
-
call$4(task, global$
|
|
5958
|
+
call$4(task, global$8, function () {
|
|
5963
5959
|
var promise = state.facade;
|
|
5964
5960
|
var value = state.value;
|
|
5965
5961
|
var IS_UNHANDLED = isUnhandled(state);
|
|
@@ -5982,7 +5978,7 @@ var isUnhandled = function (state) {
|
|
|
5982
5978
|
};
|
|
5983
5979
|
|
|
5984
5980
|
var onHandleUnhandled = function (state) {
|
|
5985
|
-
call$4(task, global$
|
|
5981
|
+
call$4(task, global$8, function () {
|
|
5986
5982
|
var promise = state.facade;
|
|
5987
5983
|
if (IS_NODE) {
|
|
5988
5984
|
process$1.emit('rejectionHandled', promise);
|
|
@@ -6010,7 +6006,7 @@ var internalResolve = function (state, value, unwrap) {
|
|
|
6010
6006
|
state.done = true;
|
|
6011
6007
|
if (unwrap) state = unwrap;
|
|
6012
6008
|
try {
|
|
6013
|
-
if (state.facade === value) throw TypeError$
|
|
6009
|
+
if (state.facade === value) throw TypeError$3("Promise can't be resolved itself");
|
|
6014
6010
|
var then = isThenable(value);
|
|
6015
6011
|
if (then) {
|
|
6016
6012
|
microtask(function () {
|
|
@@ -6127,7 +6123,7 @@ if (FORCED$1) {
|
|
|
6127
6123
|
}
|
|
6128
6124
|
}
|
|
6129
6125
|
|
|
6130
|
-
$$
|
|
6126
|
+
$$8({ global: true, wrap: true, forced: FORCED$1 }, {
|
|
6131
6127
|
Promise: PromiseConstructor
|
|
6132
6128
|
});
|
|
6133
6129
|
|
|
@@ -6137,7 +6133,7 @@ setSpecies(PROMISE);
|
|
|
6137
6133
|
PromiseWrapper = getBuiltIn$2(PROMISE);
|
|
6138
6134
|
|
|
6139
6135
|
// statics
|
|
6140
|
-
$$
|
|
6136
|
+
$$8({ target: PROMISE, stat: true, forced: FORCED$1 }, {
|
|
6141
6137
|
// `Promise.reject` method
|
|
6142
6138
|
// https://tc39.es/ecma262/#sec-promise.reject
|
|
6143
6139
|
reject: function reject(r) {
|
|
@@ -6147,7 +6143,7 @@ $$9({ target: PROMISE, stat: true, forced: FORCED$1 }, {
|
|
|
6147
6143
|
}
|
|
6148
6144
|
});
|
|
6149
6145
|
|
|
6150
|
-
$$
|
|
6146
|
+
$$8({ target: PROMISE, stat: true, forced: FORCED$1 }, {
|
|
6151
6147
|
// `Promise.resolve` method
|
|
6152
6148
|
// https://tc39.es/ecma262/#sec-promise.resolve
|
|
6153
6149
|
resolve: function resolve(x) {
|
|
@@ -6155,7 +6151,7 @@ $$9({ target: PROMISE, stat: true, forced: FORCED$1 }, {
|
|
|
6155
6151
|
}
|
|
6156
6152
|
});
|
|
6157
6153
|
|
|
6158
|
-
$$
|
|
6154
|
+
$$8({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
|
|
6159
6155
|
// `Promise.all` method
|
|
6160
6156
|
// https://tc39.es/ecma262/#sec-promise.all
|
|
6161
6157
|
all: function all(iterable) {
|
|
@@ -6331,7 +6327,7 @@ var getDeviceFingerprint = /*#__PURE__*/function () {
|
|
|
6331
6327
|
}();
|
|
6332
6328
|
|
|
6333
6329
|
var DESCRIPTORS$3 = descriptors;
|
|
6334
|
-
var uncurryThis$
|
|
6330
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
6335
6331
|
var call$3 = functionCall;
|
|
6336
6332
|
var fails$5 = fails$t;
|
|
6337
6333
|
var objectKeys$1 = objectKeys$3;
|
|
@@ -6344,7 +6340,7 @@ var IndexedObject = indexedObject;
|
|
|
6344
6340
|
var $assign = Object.assign;
|
|
6345
6341
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
6346
6342
|
var defineProperty$1 = Object.defineProperty;
|
|
6347
|
-
var concat = uncurryThis$
|
|
6343
|
+
var concat = uncurryThis$7([].concat);
|
|
6348
6344
|
|
|
6349
6345
|
// `Object.assign` method
|
|
6350
6346
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
@@ -6387,113 +6383,16 @@ var objectAssign = !$assign || fails$5(function () {
|
|
|
6387
6383
|
} return T;
|
|
6388
6384
|
} : $assign;
|
|
6389
6385
|
|
|
6390
|
-
var $$
|
|
6386
|
+
var $$7 = _export;
|
|
6391
6387
|
var assign$2 = objectAssign;
|
|
6392
6388
|
|
|
6393
6389
|
// `Object.assign` method
|
|
6394
6390
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
6395
6391
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
6396
|
-
$$
|
|
6392
|
+
$$7({ target: 'Object', stat: true, forced: Object.assign !== assign$2 }, {
|
|
6397
6393
|
assign: assign$2
|
|
6398
6394
|
});
|
|
6399
6395
|
|
|
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
|
-
|
|
6497
6396
|
var config = {
|
|
6498
6397
|
cookieTestUrl: 'https://legacy-staging.paystack.co/test-iframe/start.html',
|
|
6499
6398
|
publishableKey: 'uFmz/uE/SDT6GupOrSEXIZXGByjQ0zFkPyc9LqKHFqnTI0WPN3JS5kQPo/j9or0TOXlqMQj2lzHn/UGsQT4XeQ==',
|
|
@@ -6564,6 +6463,42 @@ var noOp = function noOp() {
|
|
|
6564
6463
|
return undefined;
|
|
6565
6464
|
};
|
|
6566
6465
|
|
|
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
|
+
|
|
6567
6502
|
var _excluded = ["message", "status", "errors"],
|
|
6568
6503
|
_excluded2 = ["message", "status", "errors"],
|
|
6569
6504
|
_excluded3 = ["message", "status", "errors"],
|
|
@@ -6711,7 +6646,7 @@ var PROPER_FUNCTION_NAME$1 = functionName.PROPER;
|
|
|
6711
6646
|
var redefine$4 = redefine$a.exports;
|
|
6712
6647
|
var anObject$2 = anObject$e;
|
|
6713
6648
|
var isPrototypeOf = objectIsPrototypeOf;
|
|
6714
|
-
var $toString$2 = toString$
|
|
6649
|
+
var $toString$2 = toString$8;
|
|
6715
6650
|
var fails$4 = fails$t;
|
|
6716
6651
|
var regExpFlags = regexpFlags$1;
|
|
6717
6652
|
|
|
@@ -6745,7 +6680,7 @@ var correctPrototypeGetter = !fails$3(function () {
|
|
|
6745
6680
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
6746
6681
|
});
|
|
6747
6682
|
|
|
6748
|
-
var global$7 = global$
|
|
6683
|
+
var global$7 = global$R;
|
|
6749
6684
|
var hasOwn$2 = hasOwnProperty_1;
|
|
6750
6685
|
var isCallable$3 = isCallable$k;
|
|
6751
6686
|
var toObject$1 = toObject$8;
|
|
@@ -6771,7 +6706,7 @@ var fails$2 = fails$t;
|
|
|
6771
6706
|
var isCallable$2 = isCallable$k;
|
|
6772
6707
|
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
6773
6708
|
var redefine$3 = redefine$a.exports;
|
|
6774
|
-
var wellKnownSymbol$4 = wellKnownSymbol$
|
|
6709
|
+
var wellKnownSymbol$4 = wellKnownSymbol$j;
|
|
6775
6710
|
|
|
6776
6711
|
var ITERATOR$4 = wellKnownSymbol$4('iterator');
|
|
6777
6712
|
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
@@ -6838,7 +6773,7 @@ var setPrototypeOf = objectSetPrototypeOf;
|
|
|
6838
6773
|
var setToStringTag$2 = setToStringTag$5;
|
|
6839
6774
|
var createNonEnumerableProperty$1 = createNonEnumerableProperty$8;
|
|
6840
6775
|
var redefine$2 = redefine$a.exports;
|
|
6841
|
-
var wellKnownSymbol$3 = wellKnownSymbol$
|
|
6776
|
+
var wellKnownSymbol$3 = wellKnownSymbol$j;
|
|
6842
6777
|
var Iterators$1 = iterators;
|
|
6843
6778
|
var IteratorsCore = iteratorsCore;
|
|
6844
6779
|
|
|
@@ -6987,8 +6922,8 @@ if (DESCRIPTORS$2 && values.name !== 'values') try {
|
|
|
6987
6922
|
|
|
6988
6923
|
var uncurryThis$5 = functionUncurryThis;
|
|
6989
6924
|
var toIntegerOrInfinity = toIntegerOrInfinity$3;
|
|
6990
|
-
var toString$2 = toString$
|
|
6991
|
-
var requireObjectCoercible = requireObjectCoercible$
|
|
6925
|
+
var toString$2 = toString$8;
|
|
6926
|
+
var requireObjectCoercible = requireObjectCoercible$4;
|
|
6992
6927
|
|
|
6993
6928
|
var charAt$4 = uncurryThis$5(''.charAt);
|
|
6994
6929
|
var charCodeAt$2 = uncurryThis$5(''.charCodeAt);
|
|
@@ -7023,7 +6958,7 @@ var stringMultibyte = {
|
|
|
7023
6958
|
};
|
|
7024
6959
|
|
|
7025
6960
|
var charAt$3 = stringMultibyte.charAt;
|
|
7026
|
-
var toString$1 = toString$
|
|
6961
|
+
var toString$1 = toString$8;
|
|
7027
6962
|
var InternalStateModule$2 = internalState;
|
|
7028
6963
|
var defineIterator = defineIterator$2;
|
|
7029
6964
|
|
|
@@ -7052,12 +6987,12 @@ defineIterator(String, 'String', function (iterated) {
|
|
|
7052
6987
|
return { value: point, done: false };
|
|
7053
6988
|
});
|
|
7054
6989
|
|
|
7055
|
-
var global$6 = global$
|
|
6990
|
+
var global$6 = global$R;
|
|
7056
6991
|
var DOMIterables = domIterables;
|
|
7057
6992
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
7058
6993
|
var ArrayIteratorMethods = es_array_iterator;
|
|
7059
6994
|
var createNonEnumerableProperty = createNonEnumerableProperty$8;
|
|
7060
|
-
var wellKnownSymbol$2 = wellKnownSymbol$
|
|
6995
|
+
var wellKnownSymbol$2 = wellKnownSymbol$j;
|
|
7061
6996
|
|
|
7062
6997
|
var ITERATOR$2 = wellKnownSymbol$2('iterator');
|
|
7063
6998
|
var TO_STRING_TAG = wellKnownSymbol$2('toStringTag');
|
|
@@ -7092,7 +7027,7 @@ for (var COLLECTION_NAME in DOMIterables) {
|
|
|
7092
7027
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
7093
7028
|
|
|
7094
7029
|
var fails$1 = fails$t;
|
|
7095
|
-
var wellKnownSymbol$1 = wellKnownSymbol$
|
|
7030
|
+
var wellKnownSymbol$1 = wellKnownSymbol$j;
|
|
7096
7031
|
var IS_PURE = isPure;
|
|
7097
7032
|
|
|
7098
7033
|
var ITERATOR$1 = wellKnownSymbol$1('iterator');
|
|
@@ -7138,7 +7073,7 @@ var callWithSafeIterationClosing$1 = function (iterator, fn, value, ENTRIES) {
|
|
|
7138
7073
|
}
|
|
7139
7074
|
};
|
|
7140
7075
|
|
|
7141
|
-
var global$5 = global$
|
|
7076
|
+
var global$5 = global$R;
|
|
7142
7077
|
var bind$5 = functionBindContext;
|
|
7143
7078
|
var call$1 = functionCall;
|
|
7144
7079
|
var toObject = toObject$8;
|
|
@@ -7186,7 +7121,7 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
|
|
|
7186
7121
|
};
|
|
7187
7122
|
|
|
7188
7123
|
// based on https://github.com/bestiejs/punycode.js/blob/master/punycode.js
|
|
7189
|
-
var global$4 = global$
|
|
7124
|
+
var global$4 = global$R;
|
|
7190
7125
|
var uncurryThis$4 = functionUncurryThis;
|
|
7191
7126
|
|
|
7192
7127
|
var maxInt = 2147483647; // aka. 0x7FFFFFFF or 2^31-1
|
|
@@ -7370,7 +7305,7 @@ var stringPunycodeToAscii = function (input) {
|
|
|
7370
7305
|
// TODO: in core-js@4, move /modules/ dependencies to public entries for better optimization by tools like `preset-env`
|
|
7371
7306
|
|
|
7372
7307
|
var $$4 = _export;
|
|
7373
|
-
var global$3 = global$
|
|
7308
|
+
var global$3 = global$R;
|
|
7374
7309
|
var getBuiltIn$1 = getBuiltIn$a;
|
|
7375
7310
|
var call = functionCall;
|
|
7376
7311
|
var uncurryThis$3 = functionUncurryThis;
|
|
@@ -7384,16 +7319,16 @@ var anInstance$1 = anInstance$3;
|
|
|
7384
7319
|
var isCallable = isCallable$k;
|
|
7385
7320
|
var hasOwn$1 = hasOwnProperty_1;
|
|
7386
7321
|
var bind$4 = functionBindContext;
|
|
7387
|
-
var classof = classof$
|
|
7322
|
+
var classof = classof$6;
|
|
7388
7323
|
var anObject = anObject$e;
|
|
7389
|
-
var isObject$1 = isObject$
|
|
7390
|
-
var $toString$1 = toString$
|
|
7324
|
+
var isObject$1 = isObject$h;
|
|
7325
|
+
var $toString$1 = toString$8;
|
|
7391
7326
|
var create = objectCreate;
|
|
7392
7327
|
var createPropertyDescriptor = createPropertyDescriptor$6;
|
|
7393
7328
|
var getIterator = getIterator$3;
|
|
7394
7329
|
var getIteratorMethod = getIteratorMethod$4;
|
|
7395
7330
|
var validateArgumentsLength$1 = validateArgumentsLength$3;
|
|
7396
|
-
var wellKnownSymbol = wellKnownSymbol$
|
|
7331
|
+
var wellKnownSymbol = wellKnownSymbol$j;
|
|
7397
7332
|
var arraySort = arraySort$1;
|
|
7398
7333
|
|
|
7399
7334
|
var ITERATOR = wellKnownSymbol('iterator');
|
|
@@ -7755,7 +7690,7 @@ var web_urlSearchParams = {
|
|
|
7755
7690
|
var $$3 = _export;
|
|
7756
7691
|
var DESCRIPTORS$1 = descriptors;
|
|
7757
7692
|
var USE_NATIVE_URL = nativeUrl;
|
|
7758
|
-
var global$2 = global$
|
|
7693
|
+
var global$2 = global$R;
|
|
7759
7694
|
var bind$3 = functionBindContext;
|
|
7760
7695
|
var uncurryThis$2 = functionUncurryThis;
|
|
7761
7696
|
var defineProperties = objectDefineProperties.f;
|
|
@@ -7767,7 +7702,7 @@ var arrayFrom = arrayFrom$1;
|
|
|
7767
7702
|
var arraySlice = arraySliceSimple;
|
|
7768
7703
|
var codeAt = stringMultibyte.codeAt;
|
|
7769
7704
|
var toASCII = stringPunycodeToAscii;
|
|
7770
|
-
var $toString = toString$
|
|
7705
|
+
var $toString = toString$8;
|
|
7771
7706
|
var setToStringTag = setToStringTag$5;
|
|
7772
7707
|
var validateArgumentsLength = validateArgumentsLength$3;
|
|
7773
7708
|
var URLSearchParamsModule = web_urlSearchParams;
|
|
@@ -11514,16 +11449,6 @@ var PayWithTransferAPI = {
|
|
|
11514
11449
|
}).then(function (response) {
|
|
11515
11450
|
return ChargeResponses.parse(response.data);
|
|
11516
11451
|
});
|
|
11517
|
-
},
|
|
11518
|
-
submitPayerDetails: function submitPayerDetails(params, publicKey) {
|
|
11519
|
-
var headers = {
|
|
11520
|
-
Authorization: "Bearer ".concat(publicKey)
|
|
11521
|
-
};
|
|
11522
|
-
return axiosInstance.post("".concat(configToUse.paystackApiUrl, "managed_account/customer_claim"), params, {
|
|
11523
|
-
headers: headers
|
|
11524
|
-
}).then(function (response) {
|
|
11525
|
-
return ChargeResponses.parse(response.data);
|
|
11526
|
-
});
|
|
11527
11452
|
}
|
|
11528
11453
|
};
|
|
11529
11454
|
|
|
@@ -11544,25 +11469,6 @@ var PayWithTransferCharge = {
|
|
|
11544
11469
|
return response;
|
|
11545
11470
|
});
|
|
11546
11471
|
},
|
|
11547
|
-
submitPayerDetails: function submitPayerDetails(_ref2) {
|
|
11548
|
-
var email = _ref2.email,
|
|
11549
|
-
accountNumber = _ref2.accountNumber,
|
|
11550
|
-
bankId = _ref2.bankId,
|
|
11551
|
-
managedAccountNumber = _ref2.managedAccountNumber,
|
|
11552
|
-
providerSlug = _ref2.providerSlug,
|
|
11553
|
-
claimType = _ref2.claimType;
|
|
11554
|
-
var params = {
|
|
11555
|
-
reference_id: this.id,
|
|
11556
|
-
account_number: accountNumber,
|
|
11557
|
-
email: email,
|
|
11558
|
-
institution_id: bankId,
|
|
11559
|
-
institution_type: 'bank',
|
|
11560
|
-
claim_type: claimType,
|
|
11561
|
-
managed_account_number: managedAccountNumber,
|
|
11562
|
-
provider_slug: providerSlug
|
|
11563
|
-
};
|
|
11564
|
-
return PayWithTransferAPI.submitPayerDetails(params, this.merchant.key);
|
|
11565
|
-
},
|
|
11566
11472
|
listenForPayWithTransferCharge: function listenForPayWithTransferCharge(callback) {
|
|
11567
11473
|
var pusherChannel = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
11568
11474
|
var data = this.bankTransfer.data;
|
|
@@ -19029,13 +18935,8 @@ var DigitalBankMandateAPI = {
|
|
|
19029
18935
|
var bankId = _ref.bankId,
|
|
19030
18936
|
transactionId = _ref.transactionId,
|
|
19031
18937
|
phoneNumber = _ref.phoneNumber,
|
|
19032
|
-
|
|
19033
|
-
accountNumber = _ref.accountNumber;
|
|
18938
|
+
payId = _ref.payId;
|
|
19034
18939
|
var url = "".concat(configToUse.paymentBaseUrl, "bank/digitalbankmandate/").concat(bankId, "/").concat(transactionId);
|
|
19035
|
-
var bankObject = {
|
|
19036
|
-
16: 'sterling-bank',
|
|
19037
|
-
62: 'kuda-bank'
|
|
19038
|
-
};
|
|
19039
18940
|
var language = getLanguage();
|
|
19040
18941
|
|
|
19041
18942
|
var headers = _objectSpread2({
|
|
@@ -19044,14 +18945,10 @@ var DigitalBankMandateAPI = {
|
|
|
19044
18945
|
'Accept-Language': language
|
|
19045
18946
|
});
|
|
19046
18947
|
|
|
19047
|
-
var params =
|
|
19048
|
-
|
|
19049
|
-
|
|
19050
|
-
|
|
19051
|
-
}), {}, {
|
|
19052
|
-
token: token
|
|
19053
|
-
});
|
|
19054
|
-
|
|
18948
|
+
var params = {
|
|
18949
|
+
phone_number: phoneNumber,
|
|
18950
|
+
token: payId
|
|
18951
|
+
};
|
|
19055
18952
|
var urlEncodedParams = formUrlencoded(params);
|
|
19056
18953
|
return axiosInstance.post(url, urlEncodedParams, {
|
|
19057
18954
|
headers: headers
|
|
@@ -19067,15 +18964,13 @@ var DigitalBankMandate = {
|
|
|
19067
18964
|
var _this = this;
|
|
19068
18965
|
|
|
19069
18966
|
var phoneNumber = _ref.phoneNumber,
|
|
19070
|
-
|
|
19071
|
-
bankId = _ref.bankId
|
|
19072
|
-
accountNumber = _ref.accountNumber;
|
|
18967
|
+
payId = _ref.payId,
|
|
18968
|
+
bankId = _ref.bankId;
|
|
19073
18969
|
var params = {
|
|
19074
18970
|
transactionId: this.id,
|
|
19075
18971
|
phoneNumber: phoneNumber,
|
|
19076
|
-
|
|
19077
|
-
bankId: bankId
|
|
19078
|
-
accountNumber: accountNumber
|
|
18972
|
+
payId: payId,
|
|
18973
|
+
bankId: bankId
|
|
19079
18974
|
};
|
|
19080
18975
|
return DigitalBankMandateAPI.charge(params).then(function (response) {
|
|
19081
18976
|
_this.logAPIResponse(response, paymentMethod$1);
|
|
@@ -19353,6 +19248,17 @@ var MobileMoneyAPI = {
|
|
|
19353
19248
|
headers: headers
|
|
19354
19249
|
}).then(function (response) {
|
|
19355
19250
|
return ChargeResponses.parse(response.data);
|
|
19251
|
+
}).catch(function (error) {
|
|
19252
|
+
var errorData = error.response && error.response.data;
|
|
19253
|
+
var errorResponse = {};
|
|
19254
|
+
|
|
19255
|
+
if (errorData) {
|
|
19256
|
+
errorResponse = _objectSpread2(_objectSpread2({}, errorData), {}, {
|
|
19257
|
+
errors: errorData
|
|
19258
|
+
});
|
|
19259
|
+
}
|
|
19260
|
+
|
|
19261
|
+
return ChargeResponses.parse(errorResponse || error);
|
|
19356
19262
|
});
|
|
19357
19263
|
}
|
|
19358
19264
|
};
|
|
@@ -19377,9 +19283,16 @@ var MobileMoneyCharge = {
|
|
|
19377
19283
|
var phoneNumber = _ref.phoneNumber,
|
|
19378
19284
|
provider = _ref.provider,
|
|
19379
19285
|
voucher = _ref.voucher,
|
|
19380
|
-
registrationToken = _ref.registrationToken
|
|
19286
|
+
registrationToken = _ref.registrationToken,
|
|
19287
|
+
numberOfTokenRequests = _ref.numberOfTokenRequests;
|
|
19381
19288
|
return validate$1(phoneNumber).then(function () {
|
|
19382
|
-
|
|
19289
|
+
if (numberOfTokenRequests) {
|
|
19290
|
+
_this.logTokenRequest('mobile money', numberOfTokenRequests);
|
|
19291
|
+
} else if (registrationToken) {
|
|
19292
|
+
_this.logTokenSubmitted('mobile money');
|
|
19293
|
+
} else {
|
|
19294
|
+
_this.logAttempt('mobile money');
|
|
19295
|
+
}
|
|
19383
19296
|
|
|
19384
19297
|
var params = {
|
|
19385
19298
|
provider: provider,
|
|
@@ -19393,6 +19306,14 @@ var MobileMoneyCharge = {
|
|
|
19393
19306
|
return MobileMoneyAPI.charge(params).then(function (response) {
|
|
19394
19307
|
if (response.status === 'success') {
|
|
19395
19308
|
_this.mobileMoney = response;
|
|
19309
|
+
|
|
19310
|
+
if (response.data && response.data.display && response.data.display.otpSentCount === 1) {
|
|
19311
|
+
_this.logTokenRequest('mobile money');
|
|
19312
|
+
}
|
|
19313
|
+
} else if (response.errors && response.errors.data && response.errors.data.status === 'awaiting_registration_token') {
|
|
19314
|
+
_this.logTokenAuthenticationFailure(response.message);
|
|
19315
|
+
} else {
|
|
19316
|
+
_this.logError(response.message);
|
|
19396
19317
|
}
|
|
19397
19318
|
|
|
19398
19319
|
return response;
|
|
@@ -19857,7 +19778,7 @@ function isMobile (ua) {
|
|
|
19857
19778
|
}
|
|
19858
19779
|
|
|
19859
19780
|
var $ = _export;
|
|
19860
|
-
var global$1 = global$
|
|
19781
|
+
var global$1 = global$R;
|
|
19861
19782
|
var getBuiltIn = getBuiltIn$a;
|
|
19862
19783
|
var apply = functionApply;
|
|
19863
19784
|
var uncurryThis = functionUncurryThis;
|
|
@@ -20100,6 +20021,43 @@ var AnalyticsFunctions = {
|
|
|
20100
20021
|
});
|
|
20101
20022
|
return this.saveLog();
|
|
20102
20023
|
},
|
|
20024
|
+
logTokenRequest: function logTokenRequest(channel) {
|
|
20025
|
+
var numberOfTokenRequests = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
20026
|
+
var message = numberOfTokenRequests === 0 ? 'Waiting for customer to submit OTP' : 'Customer requested to resend OTP';
|
|
20027
|
+
this.log.history.push({
|
|
20028
|
+
type: 'action',
|
|
20029
|
+
message: message,
|
|
20030
|
+
channel: channel,
|
|
20031
|
+
time: this.getTimeSpent()
|
|
20032
|
+
});
|
|
20033
|
+
return this.saveLog();
|
|
20034
|
+
},
|
|
20035
|
+
logTokenSubmitted: function logTokenSubmitted(channel) {
|
|
20036
|
+
var message = "Customer submitted OTP";
|
|
20037
|
+
this.log.history.push({
|
|
20038
|
+
type: 'action',
|
|
20039
|
+
message: message,
|
|
20040
|
+
channel: channel,
|
|
20041
|
+
time: this.getTimeSpent()
|
|
20042
|
+
});
|
|
20043
|
+
return this.saveLog();
|
|
20044
|
+
},
|
|
20045
|
+
logTokenAuthenticationFailure: function logTokenAuthenticationFailure(error) {
|
|
20046
|
+
var message = 'Error';
|
|
20047
|
+
|
|
20048
|
+
if (error) {
|
|
20049
|
+
message += ": ".concat(error);
|
|
20050
|
+
}
|
|
20051
|
+
|
|
20052
|
+
this.log.errors += 1;
|
|
20053
|
+
this.log.history.push({
|
|
20054
|
+
type: 'error',
|
|
20055
|
+
message: message,
|
|
20056
|
+
authentication: 'failed',
|
|
20057
|
+
time: this.getTimeSpent()
|
|
20058
|
+
});
|
|
20059
|
+
return this.saveLog();
|
|
20060
|
+
},
|
|
20103
20061
|
logError: function logError(error) {
|
|
20104
20062
|
var message = 'Error';
|
|
20105
20063
|
|
|
@@ -20193,8 +20151,7 @@ var TransactionInstance = /*#__PURE__*/function () {
|
|
|
20193
20151
|
this.isTest = data.domain === 'test';
|
|
20194
20152
|
this.currency = data.currency;
|
|
20195
20153
|
this.id = data.id;
|
|
20196
|
-
this.channels =
|
|
20197
|
-
|
|
20154
|
+
this.channels = data.channels;
|
|
20198
20155
|
this.label = data.label;
|
|
20199
20156
|
this.metadata = data.metadata || {};
|
|
20200
20157
|
this.cancel_action = data.cancel_action || null;
|
|
@@ -20216,7 +20173,6 @@ var TransactionInstance = /*#__PURE__*/function () {
|
|
|
20216
20173
|
this.isCharging = false;
|
|
20217
20174
|
this.isListening = false;
|
|
20218
20175
|
this.transactionType = data.transaction_type || null;
|
|
20219
|
-
this.elevyPercentage = data.elevy_percentage || null;
|
|
20220
20176
|
this.subscription = data.subscription || null;
|
|
20221
20177
|
this.planDetails = data.plan_details || null;
|
|
20222
20178
|
/**
|
|
@@ -20236,11 +20192,7 @@ var TransactionInstance = /*#__PURE__*/function () {
|
|
|
20236
20192
|
this.channels.forEach(function (channel) {
|
|
20237
20193
|
var chargeFunctions = ChargeFunctions.get(channel);
|
|
20238
20194
|
Object.assign(_this, chargeFunctions);
|
|
20239
|
-
});
|
|
20240
|
-
|
|
20241
|
-
if (this.channels.includes('ussd') && !this.channels.includes('bank_transfer')) {
|
|
20242
|
-
Object.assign(this, ChargeFunctions.get('bank_transfer'));
|
|
20243
|
-
}
|
|
20195
|
+
});
|
|
20244
20196
|
|
|
20245
20197
|
if (data.currency === 'GHS' && data.elevy_percentage) {
|
|
20246
20198
|
this.elevyPercentage = data.elevy_percentage;
|