@paystack/checkout-js 1.10.1 → 1.11.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 +2 -2
- package/es/checkout.js +538 -423
- package/lib/checkout.js +538 -423
- 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$M =
|
|
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$9 = FunctionPrototype$2.bind;
|
|
1201
1201
|
var call$b = FunctionPrototype$2.call;
|
|
1202
|
-
var uncurryThis$
|
|
1202
|
+
var uncurryThis$r = NATIVE_BIND$2 && bind$9.bind(call$b, call$b);
|
|
1203
1203
|
|
|
1204
1204
|
var functionUncurryThis = NATIVE_BIND$2 ? function (fn) {
|
|
1205
|
-
return fn && uncurryThis$
|
|
1205
|
+
return fn && uncurryThis$r(fn);
|
|
1206
1206
|
} : function (fn) {
|
|
1207
1207
|
return fn && function () {
|
|
1208
1208
|
return call$b.apply(fn, arguments);
|
|
1209
1209
|
};
|
|
1210
1210
|
};
|
|
1211
1211
|
|
|
1212
|
-
var uncurryThis$
|
|
1212
|
+
var uncurryThis$q = functionUncurryThis;
|
|
1213
1213
|
|
|
1214
|
-
var toString$
|
|
1215
|
-
var stringSlice$1 = uncurryThis$
|
|
1214
|
+
var toString$9 = uncurryThis$q({}.toString);
|
|
1215
|
+
var stringSlice$1 = uncurryThis$q(''.slice);
|
|
1216
1216
|
|
|
1217
1217
|
var classofRaw$1 = function (it) {
|
|
1218
|
-
return stringSlice$1(toString$
|
|
1218
|
+
return stringSlice$1(toString$9(it), 8, -1);
|
|
1219
1219
|
};
|
|
1220
1220
|
|
|
1221
|
-
var global$
|
|
1222
|
-
var uncurryThis$
|
|
1221
|
+
var global$L = global$M;
|
|
1222
|
+
var uncurryThis$p = functionUncurryThis;
|
|
1223
1223
|
var fails$m = fails$p;
|
|
1224
|
-
var classof$
|
|
1224
|
+
var classof$a = classofRaw$1;
|
|
1225
1225
|
|
|
1226
|
-
var Object$4 = global$
|
|
1227
|
-
var split = uncurryThis$
|
|
1226
|
+
var Object$4 = global$L.Object;
|
|
1227
|
+
var split = uncurryThis$p(''.split);
|
|
1228
1228
|
|
|
1229
1229
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
1230
1230
|
var indexedObject = fails$m(function () {
|
|
@@ -1232,26 +1232,26 @@ var indexedObject = fails$m(function () {
|
|
|
1232
1232
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
1233
1233
|
return !Object$4('z').propertyIsEnumerable(0);
|
|
1234
1234
|
}) ? function (it) {
|
|
1235
|
-
return classof$
|
|
1235
|
+
return classof$a(it) == 'String' ? split(it, '') : Object$4(it);
|
|
1236
1236
|
} : Object$4;
|
|
1237
1237
|
|
|
1238
|
-
var global$
|
|
1238
|
+
var global$K = global$M;
|
|
1239
1239
|
|
|
1240
|
-
var TypeError$
|
|
1240
|
+
var TypeError$h = global$K.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$h("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$7 = 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$g = function (argument) {
|
|
|
1262
1262
|
|
|
1263
1263
|
var isCallable$f = isCallable$g;
|
|
1264
1264
|
|
|
1265
|
-
var isObject$
|
|
1265
|
+
var isObject$h = function (it) {
|
|
1266
1266
|
return typeof it == 'object' ? it !== null : isCallable$f(it);
|
|
1267
1267
|
};
|
|
1268
1268
|
|
|
1269
|
-
var global$
|
|
1269
|
+
var global$J = global$M;
|
|
1270
1270
|
var isCallable$e = isCallable$g;
|
|
1271
1271
|
|
|
1272
1272
|
var aFunction = function (argument) {
|
|
@@ -1274,22 +1274,22 @@ var aFunction = function (argument) {
|
|
|
1274
1274
|
};
|
|
1275
1275
|
|
|
1276
1276
|
var getBuiltIn$9 = function (namespace, method) {
|
|
1277
|
-
return arguments.length < 2 ? aFunction(global$
|
|
1277
|
+
return arguments.length < 2 ? aFunction(global$J[namespace]) : global$J[namespace] && global$J[namespace][method];
|
|
1278
1278
|
};
|
|
1279
1279
|
|
|
1280
|
-
var uncurryThis$
|
|
1280
|
+
var uncurryThis$o = functionUncurryThis;
|
|
1281
1281
|
|
|
1282
|
-
var objectIsPrototypeOf = uncurryThis$
|
|
1282
|
+
var objectIsPrototypeOf = uncurryThis$o({}.isPrototypeOf);
|
|
1283
1283
|
|
|
1284
1284
|
var getBuiltIn$8 = getBuiltIn$9;
|
|
1285
1285
|
|
|
1286
1286
|
var engineUserAgent = getBuiltIn$8('navigator', 'userAgent') || '';
|
|
1287
1287
|
|
|
1288
|
-
var global$
|
|
1288
|
+
var global$I = global$M;
|
|
1289
1289
|
var userAgent$5 = engineUserAgent;
|
|
1290
1290
|
|
|
1291
|
-
var process$4 = global$
|
|
1292
|
-
var Deno = global$
|
|
1291
|
+
var process$4 = global$I.process;
|
|
1292
|
+
var Deno = global$I.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$H = global$M;
|
|
1340
1340
|
var getBuiltIn$7 = getBuiltIn$9;
|
|
1341
1341
|
var isCallable$d = isCallable$g;
|
|
1342
1342
|
var isPrototypeOf$4 = objectIsPrototypeOf;
|
|
1343
1343
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
1344
1344
|
|
|
1345
|
-
var Object$3 = global$
|
|
1345
|
+
var Object$3 = global$H.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$d($Symbol) && isPrototypeOf$4($Symbol.prototype, Object$3(it));
|
|
1352
1352
|
};
|
|
1353
1353
|
|
|
1354
|
-
var global$
|
|
1354
|
+
var global$G = global$M;
|
|
1355
1355
|
|
|
1356
|
-
var String$5 = global$
|
|
1356
|
+
var String$5 = global$G.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$F = global$M;
|
|
1367
1367
|
var isCallable$c = isCallable$g;
|
|
1368
1368
|
var tryToString$3 = tryToString$4;
|
|
1369
1369
|
|
|
1370
|
-
var TypeError$
|
|
1370
|
+
var TypeError$g = global$F.TypeError;
|
|
1371
1371
|
|
|
1372
1372
|
// `Assert: IsCallable(argument) is true`
|
|
1373
1373
|
var aCallable$6 = function (argument) {
|
|
1374
1374
|
if (isCallable$c(argument)) return argument;
|
|
1375
|
-
throw TypeError$
|
|
1375
|
+
throw TypeError$g(tryToString$3(argument) + ' is not a function');
|
|
1376
1376
|
};
|
|
1377
1377
|
|
|
1378
1378
|
var aCallable$5 = aCallable$6;
|
|
@@ -1384,43 +1384,43 @@ 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$E = global$M;
|
|
1388
1388
|
var call$a = functionCall;
|
|
1389
1389
|
var isCallable$b = isCallable$g;
|
|
1390
|
-
var isObject$
|
|
1390
|
+
var isObject$g = isObject$h;
|
|
1391
1391
|
|
|
1392
|
-
var TypeError$
|
|
1392
|
+
var TypeError$f = global$E.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$b(fn = input.toString) && !isObject$
|
|
1399
|
-
if (isCallable$b(fn = input.valueOf) && !isObject$
|
|
1400
|
-
if (pref !== 'string' && isCallable$b(fn = input.toString) && !isObject$
|
|
1401
|
-
throw TypeError$
|
|
1398
|
+
if (pref === 'string' && isCallable$b(fn = input.toString) && !isObject$g(val = call$a(fn, input))) return val;
|
|
1399
|
+
if (isCallable$b(fn = input.valueOf) && !isObject$g(val = call$a(fn, input))) return val;
|
|
1400
|
+
if (pref !== 'string' && isCallable$b(fn = input.toString) && !isObject$g(val = call$a(fn, input))) return val;
|
|
1401
|
+
throw TypeError$f("Can't convert object to primitive value");
|
|
1402
1402
|
};
|
|
1403
1403
|
|
|
1404
1404
|
var shared$4 = {exports: {}};
|
|
1405
1405
|
|
|
1406
|
-
var global$
|
|
1406
|
+
var global$D = global$M;
|
|
1407
1407
|
|
|
1408
1408
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
1409
1409
|
var defineProperty$4 = Object.defineProperty;
|
|
1410
1410
|
|
|
1411
1411
|
var setGlobal$3 = function (key, value) {
|
|
1412
1412
|
try {
|
|
1413
|
-
defineProperty$4(global$
|
|
1413
|
+
defineProperty$4(global$D, key, { value: value, configurable: true, writable: true });
|
|
1414
1414
|
} catch (error) {
|
|
1415
|
-
global$
|
|
1415
|
+
global$D[key] = value;
|
|
1416
1416
|
} return value;
|
|
1417
1417
|
};
|
|
1418
1418
|
|
|
1419
|
-
var global$
|
|
1419
|
+
var global$C = global$M;
|
|
1420
1420
|
var setGlobal$2 = setGlobal$3;
|
|
1421
1421
|
|
|
1422
1422
|
var SHARED = '__core-js_shared__';
|
|
1423
|
-
var store$3 = global$
|
|
1423
|
+
var store$3 = global$C[SHARED] || setGlobal$2(SHARED, {});
|
|
1424
1424
|
|
|
1425
1425
|
var sharedStore = store$3;
|
|
1426
1426
|
|
|
@@ -1436,21 +1436,21 @@ var store$2 = sharedStore;
|
|
|
1436
1436
|
source: 'https://github.com/zloirock/core-js'
|
|
1437
1437
|
});
|
|
1438
1438
|
|
|
1439
|
-
var global$
|
|
1440
|
-
var requireObjectCoercible$
|
|
1439
|
+
var global$B = global$M;
|
|
1440
|
+
var requireObjectCoercible$2 = requireObjectCoercible$4;
|
|
1441
1441
|
|
|
1442
|
-
var Object$2 = global$
|
|
1442
|
+
var Object$2 = global$B.Object;
|
|
1443
1443
|
|
|
1444
1444
|
// `ToObject` abstract operation
|
|
1445
1445
|
// https://tc39.es/ecma262/#sec-toobject
|
|
1446
1446
|
var toObject$6 = function (argument) {
|
|
1447
|
-
return Object$2(requireObjectCoercible$
|
|
1447
|
+
return Object$2(requireObjectCoercible$2(argument));
|
|
1448
1448
|
};
|
|
1449
1449
|
|
|
1450
|
-
var uncurryThis$
|
|
1450
|
+
var uncurryThis$n = functionUncurryThis;
|
|
1451
1451
|
var toObject$5 = toObject$6;
|
|
1452
1452
|
|
|
1453
|
-
var hasOwnProperty = uncurryThis$
|
|
1453
|
+
var hasOwnProperty = uncurryThis$n({}.hasOwnProperty);
|
|
1454
1454
|
|
|
1455
1455
|
// `HasOwnProperty` abstract operation
|
|
1456
1456
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
@@ -1458,17 +1458,17 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
|
1458
1458
|
return hasOwnProperty(toObject$5(it), key);
|
|
1459
1459
|
};
|
|
1460
1460
|
|
|
1461
|
-
var uncurryThis$
|
|
1461
|
+
var uncurryThis$m = functionUncurryThis;
|
|
1462
1462
|
|
|
1463
1463
|
var id$1 = 0;
|
|
1464
1464
|
var postfix = Math.random();
|
|
1465
|
-
var toString$
|
|
1465
|
+
var toString$8 = uncurryThis$m(1.0.toString);
|
|
1466
1466
|
|
|
1467
1467
|
var uid$3 = function (key) {
|
|
1468
|
-
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$
|
|
1468
|
+
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$8(++id$1 + postfix, 36);
|
|
1469
1469
|
};
|
|
1470
1470
|
|
|
1471
|
-
var global$
|
|
1471
|
+
var global$A = global$M;
|
|
1472
1472
|
var shared$3 = shared$4.exports;
|
|
1473
1473
|
var hasOwn$b = hasOwnProperty_1;
|
|
1474
1474
|
var uid$2 = uid$3;
|
|
@@ -1476,11 +1476,11 @@ var NATIVE_SYMBOL = nativeSymbol;
|
|
|
1476
1476
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
1477
1477
|
|
|
1478
1478
|
var WellKnownSymbolsStore = shared$3('wks');
|
|
1479
|
-
var Symbol$1 = global$
|
|
1479
|
+
var Symbol$1 = global$A.Symbol;
|
|
1480
1480
|
var symbolFor = Symbol$1 && Symbol$1['for'];
|
|
1481
1481
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$2;
|
|
1482
1482
|
|
|
1483
|
-
var wellKnownSymbol$
|
|
1483
|
+
var wellKnownSymbol$g = function (name) {
|
|
1484
1484
|
if (!hasOwn$b(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL || typeof WellKnownSymbolsStore[name] == 'string')) {
|
|
1485
1485
|
var description = 'Symbol.' + name;
|
|
1486
1486
|
if (NATIVE_SYMBOL && hasOwn$b(Symbol$1, name)) {
|
|
@@ -1493,28 +1493,28 @@ var wellKnownSymbol$e = function (name) {
|
|
|
1493
1493
|
} return WellKnownSymbolsStore[name];
|
|
1494
1494
|
};
|
|
1495
1495
|
|
|
1496
|
-
var global$
|
|
1496
|
+
var global$z = global$M;
|
|
1497
1497
|
var call$9 = functionCall;
|
|
1498
|
-
var isObject$
|
|
1498
|
+
var isObject$f = isObject$h;
|
|
1499
1499
|
var isSymbol$2 = isSymbol$3;
|
|
1500
1500
|
var getMethod$2 = getMethod$3;
|
|
1501
1501
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
1502
|
-
var wellKnownSymbol$
|
|
1502
|
+
var wellKnownSymbol$f = wellKnownSymbol$g;
|
|
1503
1503
|
|
|
1504
|
-
var TypeError$
|
|
1505
|
-
var TO_PRIMITIVE = wellKnownSymbol$
|
|
1504
|
+
var TypeError$e = global$z.TypeError;
|
|
1505
|
+
var TO_PRIMITIVE = wellKnownSymbol$f('toPrimitive');
|
|
1506
1506
|
|
|
1507
1507
|
// `ToPrimitive` abstract operation
|
|
1508
1508
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
1509
1509
|
var toPrimitive$2 = function (input, pref) {
|
|
1510
|
-
if (!isObject$
|
|
1510
|
+
if (!isObject$f(input) || isSymbol$2(input)) return input;
|
|
1511
1511
|
var exoticToPrim = getMethod$2(input, TO_PRIMITIVE);
|
|
1512
1512
|
var result;
|
|
1513
1513
|
if (exoticToPrim) {
|
|
1514
1514
|
if (pref === undefined) pref = 'default';
|
|
1515
1515
|
result = call$9(exoticToPrim, input, pref);
|
|
1516
|
-
if (!isObject$
|
|
1517
|
-
throw TypeError$
|
|
1516
|
+
if (!isObject$f(result) || isSymbol$2(result)) return result;
|
|
1517
|
+
throw TypeError$e("Can't convert object to primitive value");
|
|
1518
1518
|
}
|
|
1519
1519
|
if (pref === undefined) pref = 'number';
|
|
1520
1520
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -1530,12 +1530,12 @@ var toPropertyKey$3 = function (argument) {
|
|
|
1530
1530
|
return isSymbol$1(key) ? key : key + '';
|
|
1531
1531
|
};
|
|
1532
1532
|
|
|
1533
|
-
var global$
|
|
1534
|
-
var isObject$
|
|
1533
|
+
var global$y = global$M;
|
|
1534
|
+
var isObject$e = isObject$h;
|
|
1535
1535
|
|
|
1536
|
-
var document$3 = global$
|
|
1536
|
+
var document$3 = global$y.document;
|
|
1537
1537
|
// typeof document.createElement is 'object' in old IE
|
|
1538
|
-
var EXISTS$1 = isObject$
|
|
1538
|
+
var EXISTS$1 = isObject$e(document$3) && isObject$e(document$3.createElement);
|
|
1539
1539
|
|
|
1540
1540
|
var documentCreateElement$2 = function (it) {
|
|
1541
1541
|
return EXISTS$1 ? document$3.createElement(it) : {};
|
|
@@ -1591,26 +1591,26 @@ var v8PrototypeDefineBug = DESCRIPTORS$8 && fails$j(function () {
|
|
|
1591
1591
|
}).prototype != 42;
|
|
1592
1592
|
});
|
|
1593
1593
|
|
|
1594
|
-
var global$
|
|
1595
|
-
var isObject$
|
|
1594
|
+
var global$x = global$M;
|
|
1595
|
+
var isObject$d = isObject$h;
|
|
1596
1596
|
|
|
1597
|
-
var String$4 = global$
|
|
1598
|
-
var TypeError$
|
|
1597
|
+
var String$4 = global$x.String;
|
|
1598
|
+
var TypeError$d = global$x.TypeError;
|
|
1599
1599
|
|
|
1600
1600
|
// `Assert: Type(argument) is Object`
|
|
1601
1601
|
var anObject$b = function (argument) {
|
|
1602
|
-
if (isObject$
|
|
1603
|
-
throw TypeError$
|
|
1602
|
+
if (isObject$d(argument)) return argument;
|
|
1603
|
+
throw TypeError$d(String$4(argument) + ' is not an object');
|
|
1604
1604
|
};
|
|
1605
1605
|
|
|
1606
|
-
var global$
|
|
1606
|
+
var global$w = global$M;
|
|
1607
1607
|
var DESCRIPTORS$7 = descriptors;
|
|
1608
1608
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
1609
1609
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
1610
1610
|
var anObject$a = anObject$b;
|
|
1611
1611
|
var toPropertyKey$1 = toPropertyKey$3;
|
|
1612
1612
|
|
|
1613
|
-
var TypeError$
|
|
1613
|
+
var TypeError$c = global$w.TypeError;
|
|
1614
1614
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
1615
1615
|
var $defineProperty = Object.defineProperty;
|
|
1616
1616
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -1643,7 +1643,7 @@ objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
1643
1643
|
if (IE8_DOM_DEFINE) try {
|
|
1644
1644
|
return $defineProperty(O, P, Attributes);
|
|
1645
1645
|
} catch (error) { /* empty */ }
|
|
1646
|
-
if ('get' in Attributes || 'set' in Attributes) throw TypeError$
|
|
1646
|
+
if ('get' in Attributes || 'set' in Attributes) throw TypeError$c('Accessors not supported');
|
|
1647
1647
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
1648
1648
|
return O;
|
|
1649
1649
|
};
|
|
@@ -1661,11 +1661,11 @@ var createNonEnumerableProperty$6 = DESCRIPTORS$6 ? function (object, key, value
|
|
|
1661
1661
|
|
|
1662
1662
|
var redefine$5 = {exports: {}};
|
|
1663
1663
|
|
|
1664
|
-
var uncurryThis$
|
|
1664
|
+
var uncurryThis$l = functionUncurryThis;
|
|
1665
1665
|
var isCallable$a = isCallable$g;
|
|
1666
1666
|
var store$1 = sharedStore;
|
|
1667
1667
|
|
|
1668
|
-
var functionToString = uncurryThis$
|
|
1668
|
+
var functionToString = uncurryThis$l(Function.toString);
|
|
1669
1669
|
|
|
1670
1670
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
1671
1671
|
if (!isCallable$a(store$1.inspectSource)) {
|
|
@@ -1676,11 +1676,11 @@ if (!isCallable$a(store$1.inspectSource)) {
|
|
|
1676
1676
|
|
|
1677
1677
|
var inspectSource$4 = store$1.inspectSource;
|
|
1678
1678
|
|
|
1679
|
-
var global$
|
|
1679
|
+
var global$v = global$M;
|
|
1680
1680
|
var isCallable$9 = isCallable$g;
|
|
1681
1681
|
var inspectSource$3 = inspectSource$4;
|
|
1682
1682
|
|
|
1683
|
-
var WeakMap$1 = global$
|
|
1683
|
+
var WeakMap$1 = global$v.WeakMap;
|
|
1684
1684
|
|
|
1685
1685
|
var nativeWeakMap = isCallable$9(WeakMap$1) && /native code/.test(inspectSource$3(WeakMap$1));
|
|
1686
1686
|
|
|
@@ -1696,9 +1696,9 @@ var sharedKey$2 = function (key) {
|
|
|
1696
1696
|
var hiddenKeys$5 = {};
|
|
1697
1697
|
|
|
1698
1698
|
var NATIVE_WEAK_MAP = nativeWeakMap;
|
|
1699
|
-
var global$
|
|
1700
|
-
var uncurryThis$
|
|
1701
|
-
var isObject$
|
|
1699
|
+
var global$u = global$M;
|
|
1700
|
+
var uncurryThis$k = functionUncurryThis;
|
|
1701
|
+
var isObject$c = isObject$h;
|
|
1702
1702
|
var createNonEnumerableProperty$5 = createNonEnumerableProperty$6;
|
|
1703
1703
|
var hasOwn$9 = hasOwnProperty_1;
|
|
1704
1704
|
var shared$1 = sharedStore;
|
|
@@ -1706,8 +1706,8 @@ var sharedKey$1 = sharedKey$2;
|
|
|
1706
1706
|
var hiddenKeys$4 = hiddenKeys$5;
|
|
1707
1707
|
|
|
1708
1708
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
1709
|
-
var TypeError$
|
|
1710
|
-
var WeakMap = global$
|
|
1709
|
+
var TypeError$b = global$u.TypeError;
|
|
1710
|
+
var WeakMap = global$u.WeakMap;
|
|
1711
1711
|
var set$1, get, has$3;
|
|
1712
1712
|
|
|
1713
1713
|
var enforce = function (it) {
|
|
@@ -1717,19 +1717,19 @@ var enforce = function (it) {
|
|
|
1717
1717
|
var getterFor = function (TYPE) {
|
|
1718
1718
|
return function (it) {
|
|
1719
1719
|
var state;
|
|
1720
|
-
if (!isObject$
|
|
1721
|
-
throw TypeError$
|
|
1720
|
+
if (!isObject$c(it) || (state = get(it)).type !== TYPE) {
|
|
1721
|
+
throw TypeError$b('Incompatible receiver, ' + TYPE + ' required');
|
|
1722
1722
|
} return state;
|
|
1723
1723
|
};
|
|
1724
1724
|
};
|
|
1725
1725
|
|
|
1726
1726
|
if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
1727
1727
|
var store = shared$1.state || (shared$1.state = new WeakMap());
|
|
1728
|
-
var wmget = uncurryThis$
|
|
1729
|
-
var wmhas = uncurryThis$
|
|
1730
|
-
var wmset = uncurryThis$
|
|
1728
|
+
var wmget = uncurryThis$k(store.get);
|
|
1729
|
+
var wmhas = uncurryThis$k(store.has);
|
|
1730
|
+
var wmset = uncurryThis$k(store.set);
|
|
1731
1731
|
set$1 = function (it, metadata) {
|
|
1732
|
-
if (wmhas(store, it)) throw new TypeError$
|
|
1732
|
+
if (wmhas(store, it)) throw new TypeError$b(OBJECT_ALREADY_INITIALIZED);
|
|
1733
1733
|
metadata.facade = it;
|
|
1734
1734
|
wmset(store, it, metadata);
|
|
1735
1735
|
return metadata;
|
|
@@ -1744,7 +1744,7 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
|
|
|
1744
1744
|
var STATE = sharedKey$1('state');
|
|
1745
1745
|
hiddenKeys$4[STATE] = true;
|
|
1746
1746
|
set$1 = function (it, metadata) {
|
|
1747
|
-
if (hasOwn$9(it, STATE)) throw new TypeError$
|
|
1747
|
+
if (hasOwn$9(it, STATE)) throw new TypeError$b(OBJECT_ALREADY_INITIALIZED);
|
|
1748
1748
|
metadata.facade = it;
|
|
1749
1749
|
createNonEnumerableProperty$5(it, STATE, metadata);
|
|
1750
1750
|
return metadata;
|
|
@@ -1783,7 +1783,7 @@ var functionName = {
|
|
|
1783
1783
|
CONFIGURABLE: CONFIGURABLE
|
|
1784
1784
|
};
|
|
1785
1785
|
|
|
1786
|
-
var global$
|
|
1786
|
+
var global$t = global$M;
|
|
1787
1787
|
var isCallable$8 = isCallable$g;
|
|
1788
1788
|
var hasOwn$7 = hasOwnProperty_1;
|
|
1789
1789
|
var createNonEnumerableProperty$4 = createNonEnumerableProperty$6;
|
|
@@ -1814,7 +1814,7 @@ var TEMPLATE = String(String).split('String');
|
|
|
1814
1814
|
state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
|
|
1815
1815
|
}
|
|
1816
1816
|
}
|
|
1817
|
-
if (O === global$
|
|
1817
|
+
if (O === global$t) {
|
|
1818
1818
|
if (simple) O[key] = value;
|
|
1819
1819
|
else setGlobal$1(key, value);
|
|
1820
1820
|
return;
|
|
@@ -1907,13 +1907,13 @@ var arrayIncludes = {
|
|
|
1907
1907
|
indexOf: createMethod$3(false)
|
|
1908
1908
|
};
|
|
1909
1909
|
|
|
1910
|
-
var uncurryThis$
|
|
1910
|
+
var uncurryThis$j = functionUncurryThis;
|
|
1911
1911
|
var hasOwn$6 = hasOwnProperty_1;
|
|
1912
1912
|
var toIndexedObject$4 = toIndexedObject$7;
|
|
1913
1913
|
var indexOf$1 = arrayIncludes.indexOf;
|
|
1914
1914
|
var hiddenKeys$3 = hiddenKeys$5;
|
|
1915
1915
|
|
|
1916
|
-
var push$4 = uncurryThis$
|
|
1916
|
+
var push$4 = uncurryThis$j([].push);
|
|
1917
1917
|
|
|
1918
1918
|
var objectKeysInternal = function (object, names) {
|
|
1919
1919
|
var O = toIndexedObject$4(object);
|
|
@@ -1957,12 +1957,12 @@ var objectGetOwnPropertySymbols = {};
|
|
|
1957
1957
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
1958
1958
|
|
|
1959
1959
|
var getBuiltIn$6 = getBuiltIn$9;
|
|
1960
|
-
var uncurryThis$
|
|
1960
|
+
var uncurryThis$i = functionUncurryThis;
|
|
1961
1961
|
var getOwnPropertyNamesModule$1 = objectGetOwnPropertyNames;
|
|
1962
1962
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
1963
1963
|
var anObject$9 = anObject$b;
|
|
1964
1964
|
|
|
1965
|
-
var concat$1 = uncurryThis$
|
|
1965
|
+
var concat$1 = uncurryThis$i([].concat);
|
|
1966
1966
|
|
|
1967
1967
|
// all object keys, includes non-enumerable and symbols
|
|
1968
1968
|
var ownKeys$1 = getBuiltIn$6('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
@@ -2011,7 +2011,7 @@ var POLYFILL = isForced$3.POLYFILL = 'P';
|
|
|
2011
2011
|
|
|
2012
2012
|
var isForced_1 = isForced$3;
|
|
2013
2013
|
|
|
2014
|
-
var global$
|
|
2014
|
+
var global$s = global$M;
|
|
2015
2015
|
var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f;
|
|
2016
2016
|
var createNonEnumerableProperty$3 = createNonEnumerableProperty$6;
|
|
2017
2017
|
var redefine$4 = redefine$5.exports;
|
|
@@ -2040,11 +2040,11 @@ var _export = function (options, source) {
|
|
|
2040
2040
|
var STATIC = options.stat;
|
|
2041
2041
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
2042
2042
|
if (GLOBAL) {
|
|
2043
|
-
target = global$
|
|
2043
|
+
target = global$s;
|
|
2044
2044
|
} else if (STATIC) {
|
|
2045
|
-
target = global$
|
|
2045
|
+
target = global$s[TARGET] || setGlobal(TARGET, {});
|
|
2046
2046
|
} else {
|
|
2047
|
-
target = (global$
|
|
2047
|
+
target = (global$s[TARGET] || {}).prototype;
|
|
2048
2048
|
}
|
|
2049
2049
|
if (target) for (key in source) {
|
|
2050
2050
|
sourceProperty = source[key];
|
|
@@ -2081,12 +2081,12 @@ var createProperty$2 = function (object, key, value) {
|
|
|
2081
2081
|
else object[propertyKey] = value;
|
|
2082
2082
|
};
|
|
2083
2083
|
|
|
2084
|
-
var global$
|
|
2084
|
+
var global$r = global$M;
|
|
2085
2085
|
var toAbsoluteIndex = toAbsoluteIndex$2;
|
|
2086
2086
|
var lengthOfArrayLike$4 = lengthOfArrayLike$6;
|
|
2087
2087
|
var createProperty$1 = createProperty$2;
|
|
2088
2088
|
|
|
2089
|
-
var Array$3 = global$
|
|
2089
|
+
var Array$3 = global$r.Array;
|
|
2090
2090
|
var max$1 = Math.max;
|
|
2091
2091
|
|
|
2092
2092
|
var arraySliceSimple = function (O, start, end) {
|
|
@@ -2101,7 +2101,7 @@ var arraySliceSimple = function (O, start, end) {
|
|
|
2101
2101
|
|
|
2102
2102
|
/* eslint-disable es/no-object-getownpropertynames -- safe */
|
|
2103
2103
|
|
|
2104
|
-
var classof$
|
|
2104
|
+
var classof$9 = classofRaw$1;
|
|
2105
2105
|
var toIndexedObject$3 = toIndexedObject$7;
|
|
2106
2106
|
var $getOwnPropertyNames = objectGetOwnPropertyNames.f;
|
|
2107
2107
|
var arraySlice$4 = arraySliceSimple;
|
|
@@ -2119,7 +2119,7 @@ var getWindowNames = function (it) {
|
|
|
2119
2119
|
|
|
2120
2120
|
// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window
|
|
2121
2121
|
objectGetOwnPropertyNamesExternal.f = function getOwnPropertyNames(it) {
|
|
2122
|
-
return windowNames && classof$
|
|
2122
|
+
return windowNames && classof$9(it) == 'Window'
|
|
2123
2123
|
? getWindowNames(it)
|
|
2124
2124
|
: $getOwnPropertyNames(toIndexedObject$3(it));
|
|
2125
2125
|
};
|
|
@@ -2136,8 +2136,8 @@ var arrayBufferNonExtensible = fails$h(function () {
|
|
|
2136
2136
|
});
|
|
2137
2137
|
|
|
2138
2138
|
var fails$g = fails$p;
|
|
2139
|
-
var isObject$
|
|
2140
|
-
var classof$
|
|
2139
|
+
var isObject$b = isObject$h;
|
|
2140
|
+
var classof$8 = classofRaw$1;
|
|
2141
2141
|
var ARRAY_BUFFER_NON_EXTENSIBLE = arrayBufferNonExtensible;
|
|
2142
2142
|
|
|
2143
2143
|
// eslint-disable-next-line es/no-object-isextensible -- safe
|
|
@@ -2147,8 +2147,8 @@ var FAILS_ON_PRIMITIVES$2 = fails$g(function () { $isExtensible(1); });
|
|
|
2147
2147
|
// `Object.isExtensible` method
|
|
2148
2148
|
// https://tc39.es/ecma262/#sec-object.isextensible
|
|
2149
2149
|
var objectIsExtensible = (FAILS_ON_PRIMITIVES$2 || ARRAY_BUFFER_NON_EXTENSIBLE) ? function isExtensible(it) {
|
|
2150
|
-
if (!isObject$
|
|
2151
|
-
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof$
|
|
2150
|
+
if (!isObject$b(it)) return false;
|
|
2151
|
+
if (ARRAY_BUFFER_NON_EXTENSIBLE && classof$8(it) == 'ArrayBuffer') return false;
|
|
2152
2152
|
return $isExtensible ? $isExtensible(it) : true;
|
|
2153
2153
|
} : $isExtensible;
|
|
2154
2154
|
|
|
@@ -2159,10 +2159,10 @@ var freezing = !fails$f(function () {
|
|
|
2159
2159
|
return Object.isExtensible(Object.preventExtensions({}));
|
|
2160
2160
|
});
|
|
2161
2161
|
|
|
2162
|
-
var $$
|
|
2163
|
-
var uncurryThis$
|
|
2162
|
+
var $$h = _export;
|
|
2163
|
+
var uncurryThis$h = functionUncurryThis;
|
|
2164
2164
|
var hiddenKeys$1 = hiddenKeys$5;
|
|
2165
|
-
var isObject$
|
|
2165
|
+
var isObject$a = isObject$h;
|
|
2166
2166
|
var hasOwn$4 = hasOwnProperty_1;
|
|
2167
2167
|
var defineProperty$3 = objectDefineProperty.f;
|
|
2168
2168
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
@@ -2184,7 +2184,7 @@ var setMetadata = function (it) {
|
|
|
2184
2184
|
|
|
2185
2185
|
var fastKey = function (it, create) {
|
|
2186
2186
|
// return a primitive with prefix
|
|
2187
|
-
if (!isObject$
|
|
2187
|
+
if (!isObject$a(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;
|
|
2188
2188
|
if (!hasOwn$4(it, METADATA)) {
|
|
2189
2189
|
// can't set metadata to uncaught frozen object
|
|
2190
2190
|
if (!isExtensible(it)) return 'F';
|
|
@@ -2218,7 +2218,7 @@ var enable = function () {
|
|
|
2218
2218
|
meta.enable = function () { /* empty */ };
|
|
2219
2219
|
REQUIRED = true;
|
|
2220
2220
|
var getOwnPropertyNames = getOwnPropertyNamesModule.f;
|
|
2221
|
-
var splice = uncurryThis$
|
|
2221
|
+
var splice = uncurryThis$h([].splice);
|
|
2222
2222
|
var test = {};
|
|
2223
2223
|
test[METADATA] = 1;
|
|
2224
2224
|
|
|
@@ -2234,7 +2234,7 @@ var enable = function () {
|
|
|
2234
2234
|
} return result;
|
|
2235
2235
|
};
|
|
2236
2236
|
|
|
2237
|
-
$$
|
|
2237
|
+
$$h({ target: 'Object', stat: true, forced: true }, {
|
|
2238
2238
|
getOwnPropertyNames: getOwnPropertyNamesExternalModule.f
|
|
2239
2239
|
});
|
|
2240
2240
|
}
|
|
@@ -2249,8 +2249,8 @@ var meta = internalMetadata.exports = {
|
|
|
2249
2249
|
|
|
2250
2250
|
hiddenKeys$1[METADATA] = true;
|
|
2251
2251
|
|
|
2252
|
-
var $$
|
|
2253
|
-
var isObject$
|
|
2252
|
+
var $$g = _export;
|
|
2253
|
+
var isObject$9 = isObject$h;
|
|
2254
2254
|
var onFreeze = internalMetadata.exports.onFreeze;
|
|
2255
2255
|
var FREEZING = freezing;
|
|
2256
2256
|
var fails$e = fails$p;
|
|
@@ -2261,38 +2261,38 @@ var FAILS_ON_PRIMITIVES$1 = fails$e(function () { $seal(1); });
|
|
|
2261
2261
|
|
|
2262
2262
|
// `Object.seal` method
|
|
2263
2263
|
// https://tc39.es/ecma262/#sec-object.seal
|
|
2264
|
-
$$
|
|
2264
|
+
$$g({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES$1, sham: !FREEZING }, {
|
|
2265
2265
|
seal: function seal(it) {
|
|
2266
|
-
return $seal && isObject$
|
|
2266
|
+
return $seal && isObject$9(it) ? $seal(onFreeze(it)) : it;
|
|
2267
2267
|
}
|
|
2268
2268
|
});
|
|
2269
2269
|
|
|
2270
|
-
var classof$
|
|
2270
|
+
var classof$7 = classofRaw$1;
|
|
2271
2271
|
|
|
2272
2272
|
// `IsArray` abstract operation
|
|
2273
2273
|
// https://tc39.es/ecma262/#sec-isarray
|
|
2274
2274
|
// eslint-disable-next-line es/no-array-isarray -- safe
|
|
2275
2275
|
var isArray$8 = Array.isArray || function isArray(argument) {
|
|
2276
|
-
return classof$
|
|
2276
|
+
return classof$7(argument) == 'Array';
|
|
2277
2277
|
};
|
|
2278
2278
|
|
|
2279
|
-
var wellKnownSymbol$
|
|
2279
|
+
var wellKnownSymbol$e = wellKnownSymbol$g;
|
|
2280
2280
|
|
|
2281
|
-
var TO_STRING_TAG$2 = wellKnownSymbol$
|
|
2281
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$e('toStringTag');
|
|
2282
2282
|
var test$1 = {};
|
|
2283
2283
|
|
|
2284
2284
|
test$1[TO_STRING_TAG$2] = 'z';
|
|
2285
2285
|
|
|
2286
2286
|
var toStringTagSupport = String(test$1) === '[object z]';
|
|
2287
2287
|
|
|
2288
|
-
var global$
|
|
2288
|
+
var global$q = global$M;
|
|
2289
2289
|
var TO_STRING_TAG_SUPPORT$2 = toStringTagSupport;
|
|
2290
2290
|
var isCallable$6 = isCallable$g;
|
|
2291
2291
|
var classofRaw = classofRaw$1;
|
|
2292
|
-
var wellKnownSymbol$
|
|
2292
|
+
var wellKnownSymbol$d = wellKnownSymbol$g;
|
|
2293
2293
|
|
|
2294
|
-
var TO_STRING_TAG$1 = wellKnownSymbol$
|
|
2295
|
-
var Object$1 = global$
|
|
2294
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$d('toStringTag');
|
|
2295
|
+
var Object$1 = global$q.Object;
|
|
2296
2296
|
|
|
2297
2297
|
// ES3 wrong here
|
|
2298
2298
|
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
|
|
@@ -2305,7 +2305,7 @@ var tryGet = function (it, key) {
|
|
|
2305
2305
|
};
|
|
2306
2306
|
|
|
2307
2307
|
// getting tag from ES6+ `Object.prototype.toString`
|
|
2308
|
-
var classof$
|
|
2308
|
+
var classof$6 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
|
|
2309
2309
|
var O, tag, result;
|
|
2310
2310
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
2311
2311
|
// @@toStringTag case
|
|
@@ -2316,10 +2316,10 @@ var classof$5 = TO_STRING_TAG_SUPPORT$2 ? classofRaw : function (it) {
|
|
|
2316
2316
|
: (result = classofRaw(O)) == 'Object' && isCallable$6(O.callee) ? 'Arguments' : result;
|
|
2317
2317
|
};
|
|
2318
2318
|
|
|
2319
|
-
var uncurryThis$
|
|
2319
|
+
var uncurryThis$g = functionUncurryThis;
|
|
2320
2320
|
var fails$d = fails$p;
|
|
2321
2321
|
var isCallable$5 = isCallable$g;
|
|
2322
|
-
var classof$
|
|
2322
|
+
var classof$5 = classof$6;
|
|
2323
2323
|
var getBuiltIn$5 = getBuiltIn$9;
|
|
2324
2324
|
var inspectSource$1 = inspectSource$4;
|
|
2325
2325
|
|
|
@@ -2327,7 +2327,7 @@ var noop = function () { /* empty */ };
|
|
|
2327
2327
|
var empty = [];
|
|
2328
2328
|
var construct = getBuiltIn$5('Reflect', 'construct');
|
|
2329
2329
|
var constructorRegExp = /^\s*(?:class|function)\b/;
|
|
2330
|
-
var exec$2 = uncurryThis$
|
|
2330
|
+
var exec$2 = uncurryThis$g(constructorRegExp.exec);
|
|
2331
2331
|
var INCORRECT_TO_STRING = !constructorRegExp.exec(noop);
|
|
2332
2332
|
|
|
2333
2333
|
var isConstructorModern = function isConstructor(argument) {
|
|
@@ -2342,7 +2342,7 @@ var isConstructorModern = function isConstructor(argument) {
|
|
|
2342
2342
|
|
|
2343
2343
|
var isConstructorLegacy = function isConstructor(argument) {
|
|
2344
2344
|
if (!isCallable$5(argument)) return false;
|
|
2345
|
-
switch (classof$
|
|
2345
|
+
switch (classof$5(argument)) {
|
|
2346
2346
|
case 'AsyncFunction':
|
|
2347
2347
|
case 'GeneratorFunction':
|
|
2348
2348
|
case 'AsyncGeneratorFunction': return false;
|
|
@@ -2369,14 +2369,14 @@ var isConstructor$2 = !construct || fails$d(function () {
|
|
|
2369
2369
|
|| called;
|
|
2370
2370
|
}) ? isConstructorLegacy : isConstructorModern;
|
|
2371
2371
|
|
|
2372
|
-
var global$
|
|
2372
|
+
var global$p = global$M;
|
|
2373
2373
|
var isArray$7 = isArray$8;
|
|
2374
2374
|
var isConstructor$1 = isConstructor$2;
|
|
2375
|
-
var isObject$
|
|
2376
|
-
var wellKnownSymbol$
|
|
2375
|
+
var isObject$8 = isObject$h;
|
|
2376
|
+
var wellKnownSymbol$c = wellKnownSymbol$g;
|
|
2377
2377
|
|
|
2378
|
-
var SPECIES$4 = wellKnownSymbol$
|
|
2379
|
-
var Array$2 = global$
|
|
2378
|
+
var SPECIES$4 = wellKnownSymbol$c('species');
|
|
2379
|
+
var Array$2 = global$p.Array;
|
|
2380
2380
|
|
|
2381
2381
|
// a part of `ArraySpeciesCreate` abstract operation
|
|
2382
2382
|
// https://tc39.es/ecma262/#sec-arrayspeciescreate
|
|
@@ -2386,7 +2386,7 @@ var arraySpeciesConstructor$1 = function (originalArray) {
|
|
|
2386
2386
|
C = originalArray.constructor;
|
|
2387
2387
|
// cross-realm fallback
|
|
2388
2388
|
if (isConstructor$1(C) && (C === Array$2 || isArray$7(C.prototype))) C = undefined;
|
|
2389
|
-
else if (isObject$
|
|
2389
|
+
else if (isObject$8(C)) {
|
|
2390
2390
|
C = C[SPECIES$4];
|
|
2391
2391
|
if (C === null) C = undefined;
|
|
2392
2392
|
}
|
|
@@ -2402,10 +2402,10 @@ var arraySpeciesCreate$2 = function (originalArray, length) {
|
|
|
2402
2402
|
};
|
|
2403
2403
|
|
|
2404
2404
|
var fails$c = fails$p;
|
|
2405
|
-
var wellKnownSymbol$
|
|
2405
|
+
var wellKnownSymbol$b = wellKnownSymbol$g;
|
|
2406
2406
|
var V8_VERSION$2 = engineV8Version;
|
|
2407
2407
|
|
|
2408
|
-
var SPECIES$3 = wellKnownSymbol$
|
|
2408
|
+
var SPECIES$3 = wellKnownSymbol$b('species');
|
|
2409
2409
|
|
|
2410
2410
|
var arrayMethodHasSpeciesSupport$3 = function (METHOD_NAME) {
|
|
2411
2411
|
// We can't use this feature detection in V8 since it causes
|
|
@@ -2421,23 +2421,23 @@ var arrayMethodHasSpeciesSupport$3 = function (METHOD_NAME) {
|
|
|
2421
2421
|
});
|
|
2422
2422
|
};
|
|
2423
2423
|
|
|
2424
|
-
var $$
|
|
2425
|
-
var global$
|
|
2424
|
+
var $$f = _export;
|
|
2425
|
+
var global$o = global$M;
|
|
2426
2426
|
var fails$b = fails$p;
|
|
2427
2427
|
var isArray$6 = isArray$8;
|
|
2428
|
-
var isObject$
|
|
2428
|
+
var isObject$7 = isObject$h;
|
|
2429
2429
|
var toObject$4 = toObject$6;
|
|
2430
2430
|
var lengthOfArrayLike$3 = lengthOfArrayLike$6;
|
|
2431
2431
|
var createProperty = createProperty$2;
|
|
2432
2432
|
var arraySpeciesCreate$1 = arraySpeciesCreate$2;
|
|
2433
2433
|
var arrayMethodHasSpeciesSupport$2 = arrayMethodHasSpeciesSupport$3;
|
|
2434
|
-
var wellKnownSymbol$
|
|
2434
|
+
var wellKnownSymbol$a = wellKnownSymbol$g;
|
|
2435
2435
|
var V8_VERSION$1 = engineV8Version;
|
|
2436
2436
|
|
|
2437
|
-
var IS_CONCAT_SPREADABLE = wellKnownSymbol$
|
|
2437
|
+
var IS_CONCAT_SPREADABLE = wellKnownSymbol$a('isConcatSpreadable');
|
|
2438
2438
|
var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;
|
|
2439
2439
|
var MAXIMUM_ALLOWED_INDEX_EXCEEDED = 'Maximum allowed index exceeded';
|
|
2440
|
-
var TypeError$
|
|
2440
|
+
var TypeError$a = global$o.TypeError;
|
|
2441
2441
|
|
|
2442
2442
|
// We can't use this feature detection in V8 since it causes
|
|
2443
2443
|
// deoptimization and serious performance degradation
|
|
@@ -2451,7 +2451,7 @@ var IS_CONCAT_SPREADABLE_SUPPORT = V8_VERSION$1 >= 51 || !fails$b(function () {
|
|
|
2451
2451
|
var SPECIES_SUPPORT = arrayMethodHasSpeciesSupport$2('concat');
|
|
2452
2452
|
|
|
2453
2453
|
var isConcatSpreadable = function (O) {
|
|
2454
|
-
if (!isObject$
|
|
2454
|
+
if (!isObject$7(O)) return false;
|
|
2455
2455
|
var spreadable = O[IS_CONCAT_SPREADABLE];
|
|
2456
2456
|
return spreadable !== undefined ? !!spreadable : isArray$6(O);
|
|
2457
2457
|
};
|
|
@@ -2461,7 +2461,7 @@ var FORCED$4 = !IS_CONCAT_SPREADABLE_SUPPORT || !SPECIES_SUPPORT;
|
|
|
2461
2461
|
// `Array.prototype.concat` method
|
|
2462
2462
|
// https://tc39.es/ecma262/#sec-array.prototype.concat
|
|
2463
2463
|
// with adding support of @@isConcatSpreadable and @@species
|
|
2464
|
-
$$
|
|
2464
|
+
$$f({ target: 'Array', proto: true, forced: FORCED$4 }, {
|
|
2465
2465
|
// eslint-disable-next-line no-unused-vars -- required for `.length`
|
|
2466
2466
|
concat: function concat(arg) {
|
|
2467
2467
|
var O = toObject$4(this);
|
|
@@ -2472,10 +2472,10 @@ $$e({ target: 'Array', proto: true, forced: FORCED$4 }, {
|
|
|
2472
2472
|
E = i === -1 ? O : arguments[i];
|
|
2473
2473
|
if (isConcatSpreadable(E)) {
|
|
2474
2474
|
len = lengthOfArrayLike$3(E);
|
|
2475
|
-
if (n + len > MAX_SAFE_INTEGER) throw TypeError$
|
|
2475
|
+
if (n + len > MAX_SAFE_INTEGER) throw TypeError$a(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
|
|
2476
2476
|
for (k = 0; k < len; k++, n++) if (k in E) createProperty(A, n, E[k]);
|
|
2477
2477
|
} else {
|
|
2478
|
-
if (n >= MAX_SAFE_INTEGER) throw TypeError$
|
|
2478
|
+
if (n >= MAX_SAFE_INTEGER) throw TypeError$a(MAXIMUM_ALLOWED_INDEX_EXCEEDED);
|
|
2479
2479
|
createProperty(A, n++, E);
|
|
2480
2480
|
}
|
|
2481
2481
|
}
|
|
@@ -2495,20 +2495,20 @@ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$
|
|
|
2495
2495
|
return call$7.apply(apply$3, arguments);
|
|
2496
2496
|
});
|
|
2497
2497
|
|
|
2498
|
-
var global$
|
|
2498
|
+
var global$n = global$M;
|
|
2499
2499
|
var isCallable$4 = isCallable$g;
|
|
2500
2500
|
|
|
2501
|
-
var String$3 = global$
|
|
2502
|
-
var TypeError$
|
|
2501
|
+
var String$3 = global$n.String;
|
|
2502
|
+
var TypeError$9 = global$n.TypeError;
|
|
2503
2503
|
|
|
2504
2504
|
var aPossiblePrototype$1 = function (argument) {
|
|
2505
2505
|
if (typeof argument == 'object' || isCallable$4(argument)) return argument;
|
|
2506
|
-
throw TypeError$
|
|
2506
|
+
throw TypeError$9("Can't set " + String$3(argument) + ' as a prototype');
|
|
2507
2507
|
};
|
|
2508
2508
|
|
|
2509
2509
|
/* eslint-disable no-proto -- safe */
|
|
2510
2510
|
|
|
2511
|
-
var uncurryThis$
|
|
2511
|
+
var uncurryThis$f = functionUncurryThis;
|
|
2512
2512
|
var anObject$8 = anObject$b;
|
|
2513
2513
|
var aPossiblePrototype = aPossiblePrototype$1;
|
|
2514
2514
|
|
|
@@ -2522,7 +2522,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
2522
2522
|
var setter;
|
|
2523
2523
|
try {
|
|
2524
2524
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2525
|
-
setter = uncurryThis$
|
|
2525
|
+
setter = uncurryThis$f(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
|
|
2526
2526
|
setter(test, []);
|
|
2527
2527
|
CORRECT_SETTER = test instanceof Array;
|
|
2528
2528
|
} catch (error) { /* empty */ }
|
|
@@ -2536,7 +2536,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
2536
2536
|
}() : undefined);
|
|
2537
2537
|
|
|
2538
2538
|
var isCallable$3 = isCallable$g;
|
|
2539
|
-
var isObject$
|
|
2539
|
+
var isObject$6 = isObject$h;
|
|
2540
2540
|
var setPrototypeOf$2 = objectSetPrototypeOf;
|
|
2541
2541
|
|
|
2542
2542
|
// makes subclassing work correct for wrapped built-ins
|
|
@@ -2548,42 +2548,42 @@ var inheritIfRequired$2 = function ($this, dummy, Wrapper) {
|
|
|
2548
2548
|
// we haven't completely correct pre-ES6 way for getting `new.target`, so use this
|
|
2549
2549
|
isCallable$3(NewTarget = dummy.constructor) &&
|
|
2550
2550
|
NewTarget !== Wrapper &&
|
|
2551
|
-
isObject$
|
|
2551
|
+
isObject$6(NewTargetPrototype = NewTarget.prototype) &&
|
|
2552
2552
|
NewTargetPrototype !== Wrapper.prototype
|
|
2553
2553
|
) setPrototypeOf$2($this, NewTargetPrototype);
|
|
2554
2554
|
return $this;
|
|
2555
2555
|
};
|
|
2556
2556
|
|
|
2557
|
-
var global$
|
|
2558
|
-
var classof$
|
|
2557
|
+
var global$m = global$M;
|
|
2558
|
+
var classof$4 = classof$6;
|
|
2559
2559
|
|
|
2560
|
-
var String$2 = global$
|
|
2560
|
+
var String$2 = global$m.String;
|
|
2561
2561
|
|
|
2562
|
-
var toString$
|
|
2563
|
-
if (classof$
|
|
2562
|
+
var toString$7 = function (argument) {
|
|
2563
|
+
if (classof$4(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
|
|
2564
2564
|
return String$2(argument);
|
|
2565
2565
|
};
|
|
2566
2566
|
|
|
2567
|
-
var toString$
|
|
2567
|
+
var toString$6 = toString$7;
|
|
2568
2568
|
|
|
2569
2569
|
var normalizeStringArgument$1 = function (argument, $default) {
|
|
2570
|
-
return argument === undefined ? arguments.length < 2 ? '' : $default : toString$
|
|
2570
|
+
return argument === undefined ? arguments.length < 2 ? '' : $default : toString$6(argument);
|
|
2571
2571
|
};
|
|
2572
2572
|
|
|
2573
|
-
var isObject$
|
|
2573
|
+
var isObject$5 = isObject$h;
|
|
2574
2574
|
var createNonEnumerableProperty$2 = createNonEnumerableProperty$6;
|
|
2575
2575
|
|
|
2576
2576
|
// `InstallErrorCause` abstract operation
|
|
2577
2577
|
// https://tc39.es/proposal-error-cause/#sec-errorobjects-install-error-cause
|
|
2578
2578
|
var installErrorCause$1 = function (O, options) {
|
|
2579
|
-
if (isObject$
|
|
2579
|
+
if (isObject$5(options) && 'cause' in options) {
|
|
2580
2580
|
createNonEnumerableProperty$2(O, 'cause', options.cause);
|
|
2581
2581
|
}
|
|
2582
2582
|
};
|
|
2583
2583
|
|
|
2584
|
-
var uncurryThis$
|
|
2584
|
+
var uncurryThis$e = functionUncurryThis;
|
|
2585
2585
|
|
|
2586
|
-
var replace$4 = uncurryThis$
|
|
2586
|
+
var replace$4 = uncurryThis$e(''.replace);
|
|
2587
2587
|
|
|
2588
2588
|
var TEST = (function (arg) { return String(Error(arg).stack); })('zxcasd');
|
|
2589
2589
|
var V8_OR_CHAKRA_STACK_ENTRY = /\n\s*at [^:]*:[^\n]*/;
|
|
@@ -2667,27 +2667,27 @@ var wrapErrorConstructorWithCause$1 = function (FULL_NAME, wrapper, FORCED, IS_A
|
|
|
2667
2667
|
|
|
2668
2668
|
/* eslint-disable no-unused-vars -- required for functions `.length` */
|
|
2669
2669
|
|
|
2670
|
-
var $$
|
|
2671
|
-
var global$
|
|
2670
|
+
var $$e = _export;
|
|
2671
|
+
var global$l = global$M;
|
|
2672
2672
|
var apply$2 = functionApply;
|
|
2673
2673
|
var wrapErrorConstructorWithCause = wrapErrorConstructorWithCause$1;
|
|
2674
2674
|
|
|
2675
2675
|
var WEB_ASSEMBLY = 'WebAssembly';
|
|
2676
|
-
var WebAssembly = global$
|
|
2676
|
+
var WebAssembly = global$l[WEB_ASSEMBLY];
|
|
2677
2677
|
|
|
2678
2678
|
var FORCED$3 = Error('e', { cause: 7 }).cause !== 7;
|
|
2679
2679
|
|
|
2680
2680
|
var exportGlobalErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
2681
2681
|
var O = {};
|
|
2682
2682
|
O[ERROR_NAME] = wrapErrorConstructorWithCause(ERROR_NAME, wrapper, FORCED$3);
|
|
2683
|
-
$$
|
|
2683
|
+
$$e({ global: true, forced: FORCED$3 }, O);
|
|
2684
2684
|
};
|
|
2685
2685
|
|
|
2686
2686
|
var exportWebAssemblyErrorCauseWrapper = function (ERROR_NAME, wrapper) {
|
|
2687
2687
|
if (WebAssembly && WebAssembly[ERROR_NAME]) {
|
|
2688
2688
|
var O = {};
|
|
2689
2689
|
O[ERROR_NAME] = wrapErrorConstructorWithCause(WEB_ASSEMBLY + '.' + ERROR_NAME, wrapper, FORCED$3);
|
|
2690
|
-
$$
|
|
2690
|
+
$$e({ target: WEB_ASSEMBLY, stat: true, forced: FORCED$3 }, O);
|
|
2691
2691
|
}
|
|
2692
2692
|
};
|
|
2693
2693
|
|
|
@@ -2763,7 +2763,7 @@ var objectKeys$3 = Object.keys || function keys(O) {
|
|
|
2763
2763
|
};
|
|
2764
2764
|
|
|
2765
2765
|
var DESCRIPTORS$4 = descriptors;
|
|
2766
|
-
var uncurryThis$
|
|
2766
|
+
var uncurryThis$d = functionUncurryThis;
|
|
2767
2767
|
var call$6 = functionCall;
|
|
2768
2768
|
var fails$9 = fails$p;
|
|
2769
2769
|
var objectKeys$2 = objectKeys$3;
|
|
@@ -2776,7 +2776,7 @@ var IndexedObject$2 = indexedObject;
|
|
|
2776
2776
|
var $assign = Object.assign;
|
|
2777
2777
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
2778
2778
|
var defineProperty$2 = Object.defineProperty;
|
|
2779
|
-
var concat = uncurryThis$
|
|
2779
|
+
var concat = uncurryThis$d([].concat);
|
|
2780
2780
|
|
|
2781
2781
|
// `Object.assign` method
|
|
2782
2782
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
@@ -2819,33 +2819,33 @@ var objectAssign = !$assign || fails$9(function () {
|
|
|
2819
2819
|
} return T;
|
|
2820
2820
|
} : $assign;
|
|
2821
2821
|
|
|
2822
|
-
var $$
|
|
2822
|
+
var $$d = _export;
|
|
2823
2823
|
var assign$1 = objectAssign;
|
|
2824
2824
|
|
|
2825
2825
|
// `Object.assign` method
|
|
2826
2826
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
2827
2827
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
2828
|
-
$$
|
|
2828
|
+
$$d({ target: 'Object', stat: true, forced: Object.assign !== assign$1 }, {
|
|
2829
2829
|
assign: assign$1
|
|
2830
2830
|
});
|
|
2831
2831
|
|
|
2832
2832
|
var TO_STRING_TAG_SUPPORT$1 = toStringTagSupport;
|
|
2833
|
-
var classof$
|
|
2833
|
+
var classof$3 = classof$6;
|
|
2834
2834
|
|
|
2835
2835
|
// `Object.prototype.toString` method implementation
|
|
2836
2836
|
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
|
2837
2837
|
var objectToString = TO_STRING_TAG_SUPPORT$1 ? {}.toString : function toString() {
|
|
2838
|
-
return '[object ' + classof$
|
|
2838
|
+
return '[object ' + classof$3(this) + ']';
|
|
2839
2839
|
};
|
|
2840
2840
|
|
|
2841
2841
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
2842
2842
|
var redefine$3 = redefine$5.exports;
|
|
2843
|
-
var toString$
|
|
2843
|
+
var toString$5 = objectToString;
|
|
2844
2844
|
|
|
2845
2845
|
// `Object.prototype.toString` method
|
|
2846
2846
|
// https://tc39.es/ecma262/#sec-object.prototype.tostring
|
|
2847
2847
|
if (!TO_STRING_TAG_SUPPORT) {
|
|
2848
|
-
redefine$3(Object.prototype, 'toString', toString$
|
|
2848
|
+
redefine$3(Object.prototype, 'toString', toString$5, { unsafe: true });
|
|
2849
2849
|
}
|
|
2850
2850
|
|
|
2851
2851
|
// iterable DOM collections
|
|
@@ -2892,11 +2892,11 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
|
2892
2892
|
|
|
2893
2893
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
2894
2894
|
|
|
2895
|
-
var uncurryThis$
|
|
2895
|
+
var uncurryThis$c = functionUncurryThis;
|
|
2896
2896
|
var aCallable$4 = aCallable$6;
|
|
2897
2897
|
var NATIVE_BIND = functionBindNative;
|
|
2898
2898
|
|
|
2899
|
-
var bind$8 = uncurryThis$
|
|
2899
|
+
var bind$8 = uncurryThis$c(uncurryThis$c.bind);
|
|
2900
2900
|
|
|
2901
2901
|
// optional / simple context binding
|
|
2902
2902
|
var functionBindContext = function (fn, that) {
|
|
@@ -2907,13 +2907,13 @@ var functionBindContext = function (fn, that) {
|
|
|
2907
2907
|
};
|
|
2908
2908
|
|
|
2909
2909
|
var bind$7 = functionBindContext;
|
|
2910
|
-
var uncurryThis$
|
|
2910
|
+
var uncurryThis$b = functionUncurryThis;
|
|
2911
2911
|
var IndexedObject$1 = indexedObject;
|
|
2912
2912
|
var toObject$2 = toObject$6;
|
|
2913
2913
|
var lengthOfArrayLike$2 = lengthOfArrayLike$6;
|
|
2914
2914
|
var arraySpeciesCreate = arraySpeciesCreate$2;
|
|
2915
2915
|
|
|
2916
|
-
var push$3 = uncurryThis$
|
|
2916
|
+
var push$3 = uncurryThis$b([].push);
|
|
2917
2917
|
|
|
2918
2918
|
// `Array.prototype.{ forEach, map, filter, some, every, find, findIndex, filterReject }` methods implementation
|
|
2919
2919
|
var createMethod$2 = function (TYPE) {
|
|
@@ -3002,7 +3002,7 @@ var arrayForEach = !STRICT_METHOD$2 ? function forEach(callbackfn /* , thisArg *
|
|
|
3002
3002
|
// eslint-disable-next-line es/no-array-prototype-foreach -- safe
|
|
3003
3003
|
} : [].forEach;
|
|
3004
3004
|
|
|
3005
|
-
var global$
|
|
3005
|
+
var global$k = global$M;
|
|
3006
3006
|
var DOMIterables = domIterables;
|
|
3007
3007
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
3008
3008
|
var forEach$1 = arrayForEach;
|
|
@@ -3019,13 +3019,221 @@ var handlePrototype = function (CollectionPrototype) {
|
|
|
3019
3019
|
|
|
3020
3020
|
for (var COLLECTION_NAME in DOMIterables) {
|
|
3021
3021
|
if (DOMIterables[COLLECTION_NAME]) {
|
|
3022
|
-
handlePrototype(global$
|
|
3022
|
+
handlePrototype(global$k[COLLECTION_NAME] && global$k[COLLECTION_NAME].prototype);
|
|
3023
3023
|
}
|
|
3024
3024
|
}
|
|
3025
3025
|
|
|
3026
3026
|
handlePrototype(DOMTokenListPrototype);
|
|
3027
3027
|
|
|
3028
|
-
var
|
|
3028
|
+
var objectDefineProperties = {};
|
|
3029
|
+
|
|
3030
|
+
var DESCRIPTORS$3 = descriptors;
|
|
3031
|
+
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
3032
|
+
var definePropertyModule$2 = objectDefineProperty;
|
|
3033
|
+
var anObject$7 = anObject$b;
|
|
3034
|
+
var toIndexedObject$2 = toIndexedObject$7;
|
|
3035
|
+
var objectKeys$1 = objectKeys$3;
|
|
3036
|
+
|
|
3037
|
+
// `Object.defineProperties` method
|
|
3038
|
+
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
3039
|
+
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
3040
|
+
objectDefineProperties.f = DESCRIPTORS$3 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
3041
|
+
anObject$7(O);
|
|
3042
|
+
var props = toIndexedObject$2(Properties);
|
|
3043
|
+
var keys = objectKeys$1(Properties);
|
|
3044
|
+
var length = keys.length;
|
|
3045
|
+
var index = 0;
|
|
3046
|
+
var key;
|
|
3047
|
+
while (length > index) definePropertyModule$2.f(O, key = keys[index++], props[key]);
|
|
3048
|
+
return O;
|
|
3049
|
+
};
|
|
3050
|
+
|
|
3051
|
+
var getBuiltIn$3 = getBuiltIn$9;
|
|
3052
|
+
|
|
3053
|
+
var html$2 = getBuiltIn$3('document', 'documentElement');
|
|
3054
|
+
|
|
3055
|
+
/* global ActiveXObject -- old IE, WSH */
|
|
3056
|
+
|
|
3057
|
+
var anObject$6 = anObject$b;
|
|
3058
|
+
var definePropertiesModule = objectDefineProperties;
|
|
3059
|
+
var enumBugKeys = enumBugKeys$3;
|
|
3060
|
+
var hiddenKeys = hiddenKeys$5;
|
|
3061
|
+
var html$1 = html$2;
|
|
3062
|
+
var documentCreateElement = documentCreateElement$2;
|
|
3063
|
+
var sharedKey = sharedKey$2;
|
|
3064
|
+
|
|
3065
|
+
var GT = '>';
|
|
3066
|
+
var LT = '<';
|
|
3067
|
+
var PROTOTYPE = 'prototype';
|
|
3068
|
+
var SCRIPT = 'script';
|
|
3069
|
+
var IE_PROTO = sharedKey('IE_PROTO');
|
|
3070
|
+
|
|
3071
|
+
var EmptyConstructor = function () { /* empty */ };
|
|
3072
|
+
|
|
3073
|
+
var scriptTag = function (content) {
|
|
3074
|
+
return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
|
|
3075
|
+
};
|
|
3076
|
+
|
|
3077
|
+
// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
|
|
3078
|
+
var NullProtoObjectViaActiveX = function (activeXDocument) {
|
|
3079
|
+
activeXDocument.write(scriptTag(''));
|
|
3080
|
+
activeXDocument.close();
|
|
3081
|
+
var temp = activeXDocument.parentWindow.Object;
|
|
3082
|
+
activeXDocument = null; // avoid memory leak
|
|
3083
|
+
return temp;
|
|
3084
|
+
};
|
|
3085
|
+
|
|
3086
|
+
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
|
3087
|
+
var NullProtoObjectViaIFrame = function () {
|
|
3088
|
+
// Thrash, waste and sodomy: IE GC bug
|
|
3089
|
+
var iframe = documentCreateElement('iframe');
|
|
3090
|
+
var JS = 'java' + SCRIPT + ':';
|
|
3091
|
+
var iframeDocument;
|
|
3092
|
+
iframe.style.display = 'none';
|
|
3093
|
+
html$1.appendChild(iframe);
|
|
3094
|
+
// https://github.com/zloirock/core-js/issues/475
|
|
3095
|
+
iframe.src = String(JS);
|
|
3096
|
+
iframeDocument = iframe.contentWindow.document;
|
|
3097
|
+
iframeDocument.open();
|
|
3098
|
+
iframeDocument.write(scriptTag('document.F=Object'));
|
|
3099
|
+
iframeDocument.close();
|
|
3100
|
+
return iframeDocument.F;
|
|
3101
|
+
};
|
|
3102
|
+
|
|
3103
|
+
// Check for document.domain and active x support
|
|
3104
|
+
// No need to use active x approach when document.domain is not set
|
|
3105
|
+
// see https://github.com/es-shims/es5-shim/issues/150
|
|
3106
|
+
// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
|
|
3107
|
+
// avoid IE GC bug
|
|
3108
|
+
var activeXDocument;
|
|
3109
|
+
var NullProtoObject = function () {
|
|
3110
|
+
try {
|
|
3111
|
+
activeXDocument = new ActiveXObject('htmlfile');
|
|
3112
|
+
} catch (error) { /* ignore */ }
|
|
3113
|
+
NullProtoObject = typeof document != 'undefined'
|
|
3114
|
+
? document.domain && activeXDocument
|
|
3115
|
+
? NullProtoObjectViaActiveX(activeXDocument) // old IE
|
|
3116
|
+
: NullProtoObjectViaIFrame()
|
|
3117
|
+
: NullProtoObjectViaActiveX(activeXDocument); // WSH
|
|
3118
|
+
var length = enumBugKeys.length;
|
|
3119
|
+
while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
|
|
3120
|
+
return NullProtoObject();
|
|
3121
|
+
};
|
|
3122
|
+
|
|
3123
|
+
hiddenKeys[IE_PROTO] = true;
|
|
3124
|
+
|
|
3125
|
+
// `Object.create` method
|
|
3126
|
+
// https://tc39.es/ecma262/#sec-object.create
|
|
3127
|
+
var objectCreate = Object.create || function create(O, Properties) {
|
|
3128
|
+
var result;
|
|
3129
|
+
if (O !== null) {
|
|
3130
|
+
EmptyConstructor[PROTOTYPE] = anObject$6(O);
|
|
3131
|
+
result = new EmptyConstructor();
|
|
3132
|
+
EmptyConstructor[PROTOTYPE] = null;
|
|
3133
|
+
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
3134
|
+
result[IE_PROTO] = O;
|
|
3135
|
+
} else result = NullProtoObject();
|
|
3136
|
+
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
3137
|
+
};
|
|
3138
|
+
|
|
3139
|
+
var wellKnownSymbol$9 = wellKnownSymbol$g;
|
|
3140
|
+
var create$1 = objectCreate;
|
|
3141
|
+
var definePropertyModule$1 = objectDefineProperty;
|
|
3142
|
+
|
|
3143
|
+
var UNSCOPABLES = wellKnownSymbol$9('unscopables');
|
|
3144
|
+
var ArrayPrototype$1 = Array.prototype;
|
|
3145
|
+
|
|
3146
|
+
// Array.prototype[@@unscopables]
|
|
3147
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
3148
|
+
if (ArrayPrototype$1[UNSCOPABLES] == undefined) {
|
|
3149
|
+
definePropertyModule$1.f(ArrayPrototype$1, UNSCOPABLES, {
|
|
3150
|
+
configurable: true,
|
|
3151
|
+
value: create$1(null)
|
|
3152
|
+
});
|
|
3153
|
+
}
|
|
3154
|
+
|
|
3155
|
+
// add a key to Array.prototype[@@unscopables]
|
|
3156
|
+
var addToUnscopables$2 = function (key) {
|
|
3157
|
+
ArrayPrototype$1[UNSCOPABLES][key] = true;
|
|
3158
|
+
};
|
|
3159
|
+
|
|
3160
|
+
var $$c = _export;
|
|
3161
|
+
var $includes = arrayIncludes.includes;
|
|
3162
|
+
var addToUnscopables$1 = addToUnscopables$2;
|
|
3163
|
+
|
|
3164
|
+
// `Array.prototype.includes` method
|
|
3165
|
+
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
3166
|
+
$$c({ target: 'Array', proto: true }, {
|
|
3167
|
+
includes: function includes(el /* , fromIndex = 0 */) {
|
|
3168
|
+
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
3169
|
+
}
|
|
3170
|
+
});
|
|
3171
|
+
|
|
3172
|
+
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
3173
|
+
addToUnscopables$1('includes');
|
|
3174
|
+
|
|
3175
|
+
var isObject$4 = isObject$h;
|
|
3176
|
+
var classof$2 = classofRaw$1;
|
|
3177
|
+
var wellKnownSymbol$8 = wellKnownSymbol$g;
|
|
3178
|
+
|
|
3179
|
+
var MATCH$1 = wellKnownSymbol$8('match');
|
|
3180
|
+
|
|
3181
|
+
// `IsRegExp` abstract operation
|
|
3182
|
+
// https://tc39.es/ecma262/#sec-isregexp
|
|
3183
|
+
var isRegexp = function (it) {
|
|
3184
|
+
var isRegExp;
|
|
3185
|
+
return isObject$4(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$2(it) == 'RegExp');
|
|
3186
|
+
};
|
|
3187
|
+
|
|
3188
|
+
var global$j = global$M;
|
|
3189
|
+
var isRegExp$1 = isRegexp;
|
|
3190
|
+
|
|
3191
|
+
var TypeError$8 = global$j.TypeError;
|
|
3192
|
+
|
|
3193
|
+
var notARegexp = function (it) {
|
|
3194
|
+
if (isRegExp$1(it)) {
|
|
3195
|
+
throw TypeError$8("The method doesn't accept regular expressions");
|
|
3196
|
+
} return it;
|
|
3197
|
+
};
|
|
3198
|
+
|
|
3199
|
+
var wellKnownSymbol$7 = wellKnownSymbol$g;
|
|
3200
|
+
|
|
3201
|
+
var MATCH = wellKnownSymbol$7('match');
|
|
3202
|
+
|
|
3203
|
+
var correctIsRegexpLogic = function (METHOD_NAME) {
|
|
3204
|
+
var regexp = /./;
|
|
3205
|
+
try {
|
|
3206
|
+
'/./'[METHOD_NAME](regexp);
|
|
3207
|
+
} catch (error1) {
|
|
3208
|
+
try {
|
|
3209
|
+
regexp[MATCH] = false;
|
|
3210
|
+
return '/./'[METHOD_NAME](regexp);
|
|
3211
|
+
} catch (error2) { /* empty */ }
|
|
3212
|
+
} return false;
|
|
3213
|
+
};
|
|
3214
|
+
|
|
3215
|
+
var $$b = _export;
|
|
3216
|
+
var uncurryThis$a = functionUncurryThis;
|
|
3217
|
+
var notARegExp = notARegexp;
|
|
3218
|
+
var requireObjectCoercible$1 = requireObjectCoercible$4;
|
|
3219
|
+
var toString$4 = toString$7;
|
|
3220
|
+
var correctIsRegExpLogic = correctIsRegexpLogic;
|
|
3221
|
+
|
|
3222
|
+
var stringIndexOf = uncurryThis$a(''.indexOf);
|
|
3223
|
+
|
|
3224
|
+
// `String.prototype.includes` method
|
|
3225
|
+
// https://tc39.es/ecma262/#sec-string.prototype.includes
|
|
3226
|
+
$$b({ target: 'String', proto: true, forced: !correctIsRegExpLogic('includes') }, {
|
|
3227
|
+
includes: function includes(searchString /* , position = 0 */) {
|
|
3228
|
+
return !!~stringIndexOf(
|
|
3229
|
+
toString$4(requireObjectCoercible$1(this)),
|
|
3230
|
+
toString$4(notARegExp(searchString)),
|
|
3231
|
+
arguments.length > 1 ? arguments[1] : undefined
|
|
3232
|
+
);
|
|
3233
|
+
}
|
|
3234
|
+
});
|
|
3235
|
+
|
|
3236
|
+
var global$i = global$M;
|
|
3029
3237
|
|
|
3030
3238
|
var nativePromiseConstructor = global$i.Promise;
|
|
3031
3239
|
|
|
@@ -3038,9 +3246,9 @@ var redefineAll$1 = function (target, src, options) {
|
|
|
3038
3246
|
|
|
3039
3247
|
var defineProperty$1 = objectDefineProperty.f;
|
|
3040
3248
|
var hasOwn$2 = hasOwnProperty_1;
|
|
3041
|
-
var wellKnownSymbol$
|
|
3249
|
+
var wellKnownSymbol$6 = wellKnownSymbol$g;
|
|
3042
3250
|
|
|
3043
|
-
var TO_STRING_TAG = wellKnownSymbol$
|
|
3251
|
+
var TO_STRING_TAG = wellKnownSymbol$6('toStringTag');
|
|
3044
3252
|
|
|
3045
3253
|
var setToStringTag$1 = function (target, TAG, STATIC) {
|
|
3046
3254
|
if (target && !STATIC) target = target.prototype;
|
|
@@ -3049,18 +3257,18 @@ var setToStringTag$1 = function (target, TAG, STATIC) {
|
|
|
3049
3257
|
}
|
|
3050
3258
|
};
|
|
3051
3259
|
|
|
3052
|
-
var getBuiltIn$
|
|
3053
|
-
var definePropertyModule
|
|
3054
|
-
var wellKnownSymbol$
|
|
3055
|
-
var DESCRIPTORS$
|
|
3260
|
+
var getBuiltIn$2 = getBuiltIn$9;
|
|
3261
|
+
var definePropertyModule = objectDefineProperty;
|
|
3262
|
+
var wellKnownSymbol$5 = wellKnownSymbol$g;
|
|
3263
|
+
var DESCRIPTORS$2 = descriptors;
|
|
3056
3264
|
|
|
3057
|
-
var SPECIES$2 = wellKnownSymbol$
|
|
3265
|
+
var SPECIES$2 = wellKnownSymbol$5('species');
|
|
3058
3266
|
|
|
3059
3267
|
var setSpecies$1 = function (CONSTRUCTOR_NAME) {
|
|
3060
|
-
var Constructor = getBuiltIn$
|
|
3061
|
-
var defineProperty = definePropertyModule
|
|
3268
|
+
var Constructor = getBuiltIn$2(CONSTRUCTOR_NAME);
|
|
3269
|
+
var defineProperty = definePropertyModule.f;
|
|
3062
3270
|
|
|
3063
|
-
if (DESCRIPTORS$
|
|
3271
|
+
if (DESCRIPTORS$2 && Constructor && !Constructor[SPECIES$2]) {
|
|
3064
3272
|
defineProperty(Constructor, SPECIES$2, {
|
|
3065
3273
|
configurable: true,
|
|
3066
3274
|
get: function () { return this; }
|
|
@@ -3068,7 +3276,7 @@ var setSpecies$1 = function (CONSTRUCTOR_NAME) {
|
|
|
3068
3276
|
}
|
|
3069
3277
|
};
|
|
3070
3278
|
|
|
3071
|
-
var global$h = global$
|
|
3279
|
+
var global$h = global$M;
|
|
3072
3280
|
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
3073
3281
|
|
|
3074
3282
|
var TypeError$7 = global$h.TypeError;
|
|
@@ -3080,23 +3288,23 @@ var anInstance$1 = function (it, Prototype) {
|
|
|
3080
3288
|
|
|
3081
3289
|
var iterators = {};
|
|
3082
3290
|
|
|
3083
|
-
var wellKnownSymbol$
|
|
3291
|
+
var wellKnownSymbol$4 = wellKnownSymbol$g;
|
|
3084
3292
|
var Iterators$1 = iterators;
|
|
3085
3293
|
|
|
3086
|
-
var ITERATOR$2 = wellKnownSymbol$
|
|
3087
|
-
var ArrayPrototype
|
|
3294
|
+
var ITERATOR$2 = wellKnownSymbol$4('iterator');
|
|
3295
|
+
var ArrayPrototype = Array.prototype;
|
|
3088
3296
|
|
|
3089
3297
|
// check on default Array iterator
|
|
3090
3298
|
var isArrayIteratorMethod$1 = function (it) {
|
|
3091
|
-
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype
|
|
3299
|
+
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$2] === it);
|
|
3092
3300
|
};
|
|
3093
3301
|
|
|
3094
|
-
var classof$1 = classof$
|
|
3302
|
+
var classof$1 = classof$6;
|
|
3095
3303
|
var getMethod$1 = getMethod$3;
|
|
3096
3304
|
var Iterators = iterators;
|
|
3097
|
-
var wellKnownSymbol$
|
|
3305
|
+
var wellKnownSymbol$3 = wellKnownSymbol$g;
|
|
3098
3306
|
|
|
3099
|
-
var ITERATOR$1 = wellKnownSymbol$
|
|
3307
|
+
var ITERATOR$1 = wellKnownSymbol$3('iterator');
|
|
3100
3308
|
|
|
3101
3309
|
var getIteratorMethod$2 = function (it) {
|
|
3102
3310
|
if (it != undefined) return getMethod$1(it, ITERATOR$1)
|
|
@@ -3104,10 +3312,10 @@ var getIteratorMethod$2 = function (it) {
|
|
|
3104
3312
|
|| Iterators[classof$1(it)];
|
|
3105
3313
|
};
|
|
3106
3314
|
|
|
3107
|
-
var global$g = global$
|
|
3315
|
+
var global$g = global$M;
|
|
3108
3316
|
var call$5 = functionCall;
|
|
3109
3317
|
var aCallable$3 = aCallable$6;
|
|
3110
|
-
var anObject$
|
|
3318
|
+
var anObject$5 = anObject$b;
|
|
3111
3319
|
var tryToString$2 = tryToString$4;
|
|
3112
3320
|
var getIteratorMethod$1 = getIteratorMethod$2;
|
|
3113
3321
|
|
|
@@ -3115,17 +3323,17 @@ var TypeError$6 = global$g.TypeError;
|
|
|
3115
3323
|
|
|
3116
3324
|
var getIterator$1 = function (argument, usingIterator) {
|
|
3117
3325
|
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
3118
|
-
if (aCallable$3(iteratorMethod)) return anObject$
|
|
3326
|
+
if (aCallable$3(iteratorMethod)) return anObject$5(call$5(iteratorMethod, argument));
|
|
3119
3327
|
throw TypeError$6(tryToString$2(argument) + ' is not iterable');
|
|
3120
3328
|
};
|
|
3121
3329
|
|
|
3122
3330
|
var call$4 = functionCall;
|
|
3123
|
-
var anObject$
|
|
3331
|
+
var anObject$4 = anObject$b;
|
|
3124
3332
|
var getMethod = getMethod$3;
|
|
3125
3333
|
|
|
3126
3334
|
var iteratorClose$1 = function (iterator, kind, value) {
|
|
3127
3335
|
var innerResult, innerError;
|
|
3128
|
-
anObject$
|
|
3336
|
+
anObject$4(iterator);
|
|
3129
3337
|
try {
|
|
3130
3338
|
innerResult = getMethod(iterator, 'return');
|
|
3131
3339
|
if (!innerResult) {
|
|
@@ -3139,14 +3347,14 @@ var iteratorClose$1 = function (iterator, kind, value) {
|
|
|
3139
3347
|
}
|
|
3140
3348
|
if (kind === 'throw') throw value;
|
|
3141
3349
|
if (innerError) throw innerResult;
|
|
3142
|
-
anObject$
|
|
3350
|
+
anObject$4(innerResult);
|
|
3143
3351
|
return value;
|
|
3144
3352
|
};
|
|
3145
3353
|
|
|
3146
|
-
var global$f = global$
|
|
3354
|
+
var global$f = global$M;
|
|
3147
3355
|
var bind$6 = functionBindContext;
|
|
3148
3356
|
var call$3 = functionCall;
|
|
3149
|
-
var anObject$
|
|
3357
|
+
var anObject$3 = anObject$b;
|
|
3150
3358
|
var tryToString$1 = tryToString$4;
|
|
3151
3359
|
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
3152
3360
|
var lengthOfArrayLike$1 = lengthOfArrayLike$6;
|
|
@@ -3179,7 +3387,7 @@ var iterate$1 = function (iterable, unboundFunction, options) {
|
|
|
3179
3387
|
|
|
3180
3388
|
var callFn = function (value) {
|
|
3181
3389
|
if (AS_ENTRIES) {
|
|
3182
|
-
anObject$
|
|
3390
|
+
anObject$3(value);
|
|
3183
3391
|
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
3184
3392
|
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
3185
3393
|
};
|
|
@@ -3210,9 +3418,9 @@ var iterate$1 = function (iterable, unboundFunction, options) {
|
|
|
3210
3418
|
} return new Result(false);
|
|
3211
3419
|
};
|
|
3212
3420
|
|
|
3213
|
-
var wellKnownSymbol$
|
|
3421
|
+
var wellKnownSymbol$2 = wellKnownSymbol$g;
|
|
3214
3422
|
|
|
3215
|
-
var ITERATOR = wellKnownSymbol$
|
|
3423
|
+
var ITERATOR = wellKnownSymbol$2('iterator');
|
|
3216
3424
|
var SAFE_CLOSING = false;
|
|
3217
3425
|
|
|
3218
3426
|
try {
|
|
@@ -3249,7 +3457,7 @@ var checkCorrectnessOfIteration$1 = function (exec, SKIP_CLOSING) {
|
|
|
3249
3457
|
return ITERATION_SUPPORT;
|
|
3250
3458
|
};
|
|
3251
3459
|
|
|
3252
|
-
var global$e = global$
|
|
3460
|
+
var global$e = global$M;
|
|
3253
3461
|
var isConstructor = isConstructor$2;
|
|
3254
3462
|
var tryToString = tryToString$4;
|
|
3255
3463
|
|
|
@@ -3261,29 +3469,25 @@ var aConstructor$1 = function (argument) {
|
|
|
3261
3469
|
throw TypeError$4(tryToString(argument) + ' is not a constructor');
|
|
3262
3470
|
};
|
|
3263
3471
|
|
|
3264
|
-
var anObject$
|
|
3472
|
+
var anObject$2 = anObject$b;
|
|
3265
3473
|
var aConstructor = aConstructor$1;
|
|
3266
|
-
var wellKnownSymbol$
|
|
3474
|
+
var wellKnownSymbol$1 = wellKnownSymbol$g;
|
|
3267
3475
|
|
|
3268
|
-
var SPECIES$1 = wellKnownSymbol$
|
|
3476
|
+
var SPECIES$1 = wellKnownSymbol$1('species');
|
|
3269
3477
|
|
|
3270
3478
|
// `SpeciesConstructor` abstract operation
|
|
3271
3479
|
// https://tc39.es/ecma262/#sec-speciesconstructor
|
|
3272
3480
|
var speciesConstructor$1 = function (O, defaultConstructor) {
|
|
3273
|
-
var C = anObject$
|
|
3481
|
+
var C = anObject$2(O).constructor;
|
|
3274
3482
|
var S;
|
|
3275
|
-
return C === undefined || (S = anObject$
|
|
3483
|
+
return C === undefined || (S = anObject$2(C)[SPECIES$1]) == undefined ? defaultConstructor : aConstructor(S);
|
|
3276
3484
|
};
|
|
3277
3485
|
|
|
3278
|
-
var getBuiltIn$2 = getBuiltIn$9;
|
|
3279
|
-
|
|
3280
|
-
var html$2 = getBuiltIn$2('document', 'documentElement');
|
|
3281
|
-
|
|
3282
3486
|
var uncurryThis$9 = functionUncurryThis;
|
|
3283
3487
|
|
|
3284
3488
|
var arraySlice$3 = uncurryThis$9([].slice);
|
|
3285
3489
|
|
|
3286
|
-
var global$d = global$
|
|
3490
|
+
var global$d = global$M;
|
|
3287
3491
|
|
|
3288
3492
|
var TypeError$3 = global$d.TypeError;
|
|
3289
3493
|
|
|
@@ -3297,17 +3501,17 @@ var userAgent$4 = engineUserAgent;
|
|
|
3297
3501
|
var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$4);
|
|
3298
3502
|
|
|
3299
3503
|
var classof = classofRaw$1;
|
|
3300
|
-
var global$c = global$
|
|
3504
|
+
var global$c = global$M;
|
|
3301
3505
|
|
|
3302
3506
|
var engineIsNode = classof(global$c.process) == 'process';
|
|
3303
3507
|
|
|
3304
|
-
var global$b = global$
|
|
3508
|
+
var global$b = global$M;
|
|
3305
3509
|
var apply$1 = functionApply;
|
|
3306
3510
|
var bind$5 = functionBindContext;
|
|
3307
3511
|
var isCallable$2 = isCallable$g;
|
|
3308
3512
|
var hasOwn$1 = hasOwnProperty_1;
|
|
3309
3513
|
var fails$7 = fails$p;
|
|
3310
|
-
var html
|
|
3514
|
+
var html = html$2;
|
|
3311
3515
|
var arraySlice$2 = arraySlice$3;
|
|
3312
3516
|
var createElement = documentCreateElement$2;
|
|
3313
3517
|
var validateArgumentsLength = validateArgumentsLength$1;
|
|
@@ -3400,8 +3604,8 @@ if (!set || !clear) {
|
|
|
3400
3604
|
// IE8-
|
|
3401
3605
|
} else if (ONREADYSTATECHANGE in createElement('script')) {
|
|
3402
3606
|
defer = function (id) {
|
|
3403
|
-
html
|
|
3404
|
-
html
|
|
3607
|
+
html.appendChild(createElement('script'))[ONREADYSTATECHANGE] = function () {
|
|
3608
|
+
html.removeChild(this);
|
|
3405
3609
|
run(id);
|
|
3406
3610
|
};
|
|
3407
3611
|
};
|
|
@@ -3419,7 +3623,7 @@ var task$1 = {
|
|
|
3419
3623
|
};
|
|
3420
3624
|
|
|
3421
3625
|
var userAgent$3 = engineUserAgent;
|
|
3422
|
-
var global$a = global$
|
|
3626
|
+
var global$a = global$M;
|
|
3423
3627
|
|
|
3424
3628
|
var engineIsIosPebble = /ipad|iphone|ipod/i.test(userAgent$3) && global$a.Pebble !== undefined;
|
|
3425
3629
|
|
|
@@ -3427,7 +3631,7 @@ var userAgent$2 = engineUserAgent;
|
|
|
3427
3631
|
|
|
3428
3632
|
var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent$2);
|
|
3429
3633
|
|
|
3430
|
-
var global$9 = global$
|
|
3634
|
+
var global$9 = global$M;
|
|
3431
3635
|
var bind$4 = functionBindContext;
|
|
3432
3636
|
var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
|
|
3433
3637
|
var macrotask = task$1.set;
|
|
@@ -3534,12 +3738,12 @@ newPromiseCapability$2.f = function (C) {
|
|
|
3534
3738
|
return new PromiseCapability(C);
|
|
3535
3739
|
};
|
|
3536
3740
|
|
|
3537
|
-
var anObject$
|
|
3538
|
-
var isObject$3 = isObject$
|
|
3741
|
+
var anObject$1 = anObject$b;
|
|
3742
|
+
var isObject$3 = isObject$h;
|
|
3539
3743
|
var newPromiseCapability$1 = newPromiseCapability$2;
|
|
3540
3744
|
|
|
3541
3745
|
var promiseResolve$1 = function (C, x) {
|
|
3542
|
-
anObject$
|
|
3746
|
+
anObject$1(C);
|
|
3543
3747
|
if (isObject$3(x) && x.constructor === C) return x;
|
|
3544
3748
|
var promiseCapability = newPromiseCapability$1.f(C);
|
|
3545
3749
|
var resolve = promiseCapability.resolve;
|
|
@@ -3547,7 +3751,7 @@ var promiseResolve$1 = function (C, x) {
|
|
|
3547
3751
|
return promiseCapability.promise;
|
|
3548
3752
|
};
|
|
3549
3753
|
|
|
3550
|
-
var global$8 = global$
|
|
3754
|
+
var global$8 = global$M;
|
|
3551
3755
|
|
|
3552
3756
|
var hostReportErrors$1 = function (a, b) {
|
|
3553
3757
|
var console = global$8.console;
|
|
@@ -3590,8 +3794,8 @@ var queue = Queue$1;
|
|
|
3590
3794
|
|
|
3591
3795
|
var engineIsBrowser = typeof window == 'object';
|
|
3592
3796
|
|
|
3593
|
-
var $$
|
|
3594
|
-
var global$7 = global$
|
|
3797
|
+
var $$a = _export;
|
|
3798
|
+
var global$7 = global$M;
|
|
3595
3799
|
var getBuiltIn$1 = getBuiltIn$9;
|
|
3596
3800
|
var call$2 = functionCall;
|
|
3597
3801
|
var NativePromise = nativePromiseConstructor;
|
|
@@ -3602,7 +3806,7 @@ var setToStringTag = setToStringTag$1;
|
|
|
3602
3806
|
var setSpecies = setSpecies$1;
|
|
3603
3807
|
var aCallable$1 = aCallable$6;
|
|
3604
3808
|
var isCallable$1 = isCallable$g;
|
|
3605
|
-
var isObject$2 = isObject$
|
|
3809
|
+
var isObject$2 = isObject$h;
|
|
3606
3810
|
var anInstance = anInstance$1;
|
|
3607
3811
|
var inspectSource = inspectSource$4;
|
|
3608
3812
|
var iterate = iterate$1;
|
|
@@ -3617,12 +3821,12 @@ var perform = perform$1;
|
|
|
3617
3821
|
var Queue = queue;
|
|
3618
3822
|
var InternalStateModule = internalState;
|
|
3619
3823
|
var isForced$1 = isForced_1;
|
|
3620
|
-
var wellKnownSymbol
|
|
3824
|
+
var wellKnownSymbol = wellKnownSymbol$g;
|
|
3621
3825
|
var IS_BROWSER = engineIsBrowser;
|
|
3622
3826
|
var IS_NODE = engineIsNode;
|
|
3623
3827
|
var V8_VERSION = engineV8Version;
|
|
3624
3828
|
|
|
3625
|
-
var SPECIES = wellKnownSymbol
|
|
3829
|
+
var SPECIES = wellKnownSymbol('species');
|
|
3626
3830
|
var PROMISE = 'Promise';
|
|
3627
3831
|
|
|
3628
3832
|
var getInternalState$1 = InternalStateModule.getterFor(PROMISE);
|
|
@@ -3915,7 +4119,7 @@ if (FORCED$2) {
|
|
|
3915
4119
|
}
|
|
3916
4120
|
}
|
|
3917
4121
|
|
|
3918
|
-
$$
|
|
4122
|
+
$$a({ global: true, wrap: true, forced: FORCED$2 }, {
|
|
3919
4123
|
Promise: PromiseConstructor
|
|
3920
4124
|
});
|
|
3921
4125
|
|
|
@@ -3925,7 +4129,7 @@ setSpecies(PROMISE);
|
|
|
3925
4129
|
PromiseWrapper = getBuiltIn$1(PROMISE);
|
|
3926
4130
|
|
|
3927
4131
|
// statics
|
|
3928
|
-
$$
|
|
4132
|
+
$$a({ target: PROMISE, stat: true, forced: FORCED$2 }, {
|
|
3929
4133
|
// `Promise.reject` method
|
|
3930
4134
|
// https://tc39.es/ecma262/#sec-promise.reject
|
|
3931
4135
|
reject: function reject(r) {
|
|
@@ -3935,7 +4139,7 @@ $$b({ target: PROMISE, stat: true, forced: FORCED$2 }, {
|
|
|
3935
4139
|
}
|
|
3936
4140
|
});
|
|
3937
4141
|
|
|
3938
|
-
$$
|
|
4142
|
+
$$a({ target: PROMISE, stat: true, forced: FORCED$2 }, {
|
|
3939
4143
|
// `Promise.resolve` method
|
|
3940
4144
|
// https://tc39.es/ecma262/#sec-promise.resolve
|
|
3941
4145
|
resolve: function resolve(x) {
|
|
@@ -3943,7 +4147,7 @@ $$b({ target: PROMISE, stat: true, forced: FORCED$2 }, {
|
|
|
3943
4147
|
}
|
|
3944
4148
|
});
|
|
3945
4149
|
|
|
3946
|
-
$$
|
|
4150
|
+
$$a({ target: PROMISE, stat: true, forced: INCORRECT_ITERATION }, {
|
|
3947
4151
|
// `Promise.all` method
|
|
3948
4152
|
// https://tc39.es/ecma262/#sec-promise.all
|
|
3949
4153
|
all: function all(iterable) {
|
|
@@ -6646,7 +6850,7 @@ var lib = {
|
|
|
6646
6850
|
stringify: stringify
|
|
6647
6851
|
};
|
|
6648
6852
|
|
|
6649
|
-
var $$
|
|
6853
|
+
var $$9 = _export;
|
|
6650
6854
|
var $filter = arrayIteration.filter;
|
|
6651
6855
|
var arrayMethodHasSpeciesSupport$1 = arrayMethodHasSpeciesSupport$3;
|
|
6652
6856
|
|
|
@@ -6655,13 +6859,13 @@ var HAS_SPECIES_SUPPORT$1 = arrayMethodHasSpeciesSupport$1('filter');
|
|
|
6655
6859
|
// `Array.prototype.filter` method
|
|
6656
6860
|
// https://tc39.es/ecma262/#sec-array.prototype.filter
|
|
6657
6861
|
// with adding support of @@species
|
|
6658
|
-
$$
|
|
6862
|
+
$$9({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT$1 }, {
|
|
6659
6863
|
filter: function filter(callbackfn /* , thisArg */) {
|
|
6660
6864
|
return $filter(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);
|
|
6661
6865
|
}
|
|
6662
6866
|
});
|
|
6663
6867
|
|
|
6664
|
-
var $$
|
|
6868
|
+
var $$8 = _export;
|
|
6665
6869
|
var toObject$1 = toObject$6;
|
|
6666
6870
|
var nativeKeys = objectKeys$3;
|
|
6667
6871
|
var fails$6 = fails$p;
|
|
@@ -6670,155 +6874,12 @@ var FAILS_ON_PRIMITIVES = fails$6(function () { nativeKeys(1); });
|
|
|
6670
6874
|
|
|
6671
6875
|
// `Object.keys` method
|
|
6672
6876
|
// https://tc39.es/ecma262/#sec-object.keys
|
|
6673
|
-
$$
|
|
6877
|
+
$$8({ target: 'Object', stat: true, forced: FAILS_ON_PRIMITIVES }, {
|
|
6674
6878
|
keys: function keys(it) {
|
|
6675
6879
|
return nativeKeys(toObject$1(it));
|
|
6676
6880
|
}
|
|
6677
6881
|
});
|
|
6678
6882
|
|
|
6679
|
-
var objectDefineProperties = {};
|
|
6680
|
-
|
|
6681
|
-
var DESCRIPTORS$2 = descriptors;
|
|
6682
|
-
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
6683
|
-
var definePropertyModule$1 = objectDefineProperty;
|
|
6684
|
-
var anObject$2 = anObject$b;
|
|
6685
|
-
var toIndexedObject$2 = toIndexedObject$7;
|
|
6686
|
-
var objectKeys$1 = objectKeys$3;
|
|
6687
|
-
|
|
6688
|
-
// `Object.defineProperties` method
|
|
6689
|
-
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
6690
|
-
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
6691
|
-
objectDefineProperties.f = DESCRIPTORS$2 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
6692
|
-
anObject$2(O);
|
|
6693
|
-
var props = toIndexedObject$2(Properties);
|
|
6694
|
-
var keys = objectKeys$1(Properties);
|
|
6695
|
-
var length = keys.length;
|
|
6696
|
-
var index = 0;
|
|
6697
|
-
var key;
|
|
6698
|
-
while (length > index) definePropertyModule$1.f(O, key = keys[index++], props[key]);
|
|
6699
|
-
return O;
|
|
6700
|
-
};
|
|
6701
|
-
|
|
6702
|
-
/* global ActiveXObject -- old IE, WSH */
|
|
6703
|
-
|
|
6704
|
-
var anObject$1 = anObject$b;
|
|
6705
|
-
var definePropertiesModule = objectDefineProperties;
|
|
6706
|
-
var enumBugKeys = enumBugKeys$3;
|
|
6707
|
-
var hiddenKeys = hiddenKeys$5;
|
|
6708
|
-
var html = html$2;
|
|
6709
|
-
var documentCreateElement = documentCreateElement$2;
|
|
6710
|
-
var sharedKey = sharedKey$2;
|
|
6711
|
-
|
|
6712
|
-
var GT = '>';
|
|
6713
|
-
var LT = '<';
|
|
6714
|
-
var PROTOTYPE = 'prototype';
|
|
6715
|
-
var SCRIPT = 'script';
|
|
6716
|
-
var IE_PROTO = sharedKey('IE_PROTO');
|
|
6717
|
-
|
|
6718
|
-
var EmptyConstructor = function () { /* empty */ };
|
|
6719
|
-
|
|
6720
|
-
var scriptTag = function (content) {
|
|
6721
|
-
return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
|
|
6722
|
-
};
|
|
6723
|
-
|
|
6724
|
-
// Create object with fake `null` prototype: use ActiveX Object with cleared prototype
|
|
6725
|
-
var NullProtoObjectViaActiveX = function (activeXDocument) {
|
|
6726
|
-
activeXDocument.write(scriptTag(''));
|
|
6727
|
-
activeXDocument.close();
|
|
6728
|
-
var temp = activeXDocument.parentWindow.Object;
|
|
6729
|
-
activeXDocument = null; // avoid memory leak
|
|
6730
|
-
return temp;
|
|
6731
|
-
};
|
|
6732
|
-
|
|
6733
|
-
// Create object with fake `null` prototype: use iframe Object with cleared prototype
|
|
6734
|
-
var NullProtoObjectViaIFrame = function () {
|
|
6735
|
-
// Thrash, waste and sodomy: IE GC bug
|
|
6736
|
-
var iframe = documentCreateElement('iframe');
|
|
6737
|
-
var JS = 'java' + SCRIPT + ':';
|
|
6738
|
-
var iframeDocument;
|
|
6739
|
-
iframe.style.display = 'none';
|
|
6740
|
-
html.appendChild(iframe);
|
|
6741
|
-
// https://github.com/zloirock/core-js/issues/475
|
|
6742
|
-
iframe.src = String(JS);
|
|
6743
|
-
iframeDocument = iframe.contentWindow.document;
|
|
6744
|
-
iframeDocument.open();
|
|
6745
|
-
iframeDocument.write(scriptTag('document.F=Object'));
|
|
6746
|
-
iframeDocument.close();
|
|
6747
|
-
return iframeDocument.F;
|
|
6748
|
-
};
|
|
6749
|
-
|
|
6750
|
-
// Check for document.domain and active x support
|
|
6751
|
-
// No need to use active x approach when document.domain is not set
|
|
6752
|
-
// see https://github.com/es-shims/es5-shim/issues/150
|
|
6753
|
-
// variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
|
|
6754
|
-
// avoid IE GC bug
|
|
6755
|
-
var activeXDocument;
|
|
6756
|
-
var NullProtoObject = function () {
|
|
6757
|
-
try {
|
|
6758
|
-
activeXDocument = new ActiveXObject('htmlfile');
|
|
6759
|
-
} catch (error) { /* ignore */ }
|
|
6760
|
-
NullProtoObject = typeof document != 'undefined'
|
|
6761
|
-
? document.domain && activeXDocument
|
|
6762
|
-
? NullProtoObjectViaActiveX(activeXDocument) // old IE
|
|
6763
|
-
: NullProtoObjectViaIFrame()
|
|
6764
|
-
: NullProtoObjectViaActiveX(activeXDocument); // WSH
|
|
6765
|
-
var length = enumBugKeys.length;
|
|
6766
|
-
while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys[length]];
|
|
6767
|
-
return NullProtoObject();
|
|
6768
|
-
};
|
|
6769
|
-
|
|
6770
|
-
hiddenKeys[IE_PROTO] = true;
|
|
6771
|
-
|
|
6772
|
-
// `Object.create` method
|
|
6773
|
-
// https://tc39.es/ecma262/#sec-object.create
|
|
6774
|
-
var objectCreate = Object.create || function create(O, Properties) {
|
|
6775
|
-
var result;
|
|
6776
|
-
if (O !== null) {
|
|
6777
|
-
EmptyConstructor[PROTOTYPE] = anObject$1(O);
|
|
6778
|
-
result = new EmptyConstructor();
|
|
6779
|
-
EmptyConstructor[PROTOTYPE] = null;
|
|
6780
|
-
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
6781
|
-
result[IE_PROTO] = O;
|
|
6782
|
-
} else result = NullProtoObject();
|
|
6783
|
-
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
6784
|
-
};
|
|
6785
|
-
|
|
6786
|
-
var wellKnownSymbol = wellKnownSymbol$e;
|
|
6787
|
-
var create$1 = objectCreate;
|
|
6788
|
-
var definePropertyModule = objectDefineProperty;
|
|
6789
|
-
|
|
6790
|
-
var UNSCOPABLES = wellKnownSymbol('unscopables');
|
|
6791
|
-
var ArrayPrototype = Array.prototype;
|
|
6792
|
-
|
|
6793
|
-
// Array.prototype[@@unscopables]
|
|
6794
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
6795
|
-
if (ArrayPrototype[UNSCOPABLES] == undefined) {
|
|
6796
|
-
definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {
|
|
6797
|
-
configurable: true,
|
|
6798
|
-
value: create$1(null)
|
|
6799
|
-
});
|
|
6800
|
-
}
|
|
6801
|
-
|
|
6802
|
-
// add a key to Array.prototype[@@unscopables]
|
|
6803
|
-
var addToUnscopables$2 = function (key) {
|
|
6804
|
-
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
6805
|
-
};
|
|
6806
|
-
|
|
6807
|
-
var $$8 = _export;
|
|
6808
|
-
var $includes = arrayIncludes.includes;
|
|
6809
|
-
var addToUnscopables$1 = addToUnscopables$2;
|
|
6810
|
-
|
|
6811
|
-
// `Array.prototype.includes` method
|
|
6812
|
-
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
6813
|
-
$$8({ target: 'Array', proto: true }, {
|
|
6814
|
-
includes: function includes(el /* , fromIndex = 0 */) {
|
|
6815
|
-
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
6816
|
-
}
|
|
6817
|
-
});
|
|
6818
|
-
|
|
6819
|
-
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
6820
|
-
addToUnscopables$1('includes');
|
|
6821
|
-
|
|
6822
6883
|
var sanitizeParams = function sanitizeParams() {
|
|
6823
6884
|
var params = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
6824
6885
|
return Object.keys(params).filter(function (key) {
|
|
@@ -6895,10 +6956,14 @@ var ChargeResponses = {
|
|
|
6895
6956
|
return {
|
|
6896
6957
|
status: 'auth',
|
|
6897
6958
|
message: authMessage || 'Authentication required',
|
|
6898
|
-
data: _objectSpread2({
|
|
6959
|
+
data: _objectSpread2(_objectSpread2(_objectSpread2({
|
|
6899
6960
|
auth: response.auth
|
|
6900
6961
|
}, response.countryCode && {
|
|
6901
6962
|
countryCode: response.countryCode
|
|
6963
|
+
}), response.openInNewTab && {
|
|
6964
|
+
openInNewTab: response.openInNewTab
|
|
6965
|
+
}), response.length && {
|
|
6966
|
+
length: response.length
|
|
6902
6967
|
})
|
|
6903
6968
|
};
|
|
6904
6969
|
},
|
|
@@ -7029,6 +7094,16 @@ var PayWithTransferAPI = {
|
|
|
7029
7094
|
}).then(function (response) {
|
|
7030
7095
|
return ChargeResponses.parse(response.data);
|
|
7031
7096
|
});
|
|
7097
|
+
},
|
|
7098
|
+
submitPayerDetails: function submitPayerDetails(params, publicKey) {
|
|
7099
|
+
var headers = {
|
|
7100
|
+
Authorization: "Bearer ".concat(publicKey)
|
|
7101
|
+
};
|
|
7102
|
+
return axiosInstance.post("".concat(configToUse.paystackApiUrl, "managed_account/customer_claim"), params, {
|
|
7103
|
+
headers: headers
|
|
7104
|
+
}).then(function (response) {
|
|
7105
|
+
return ChargeResponses.parse(response.data);
|
|
7106
|
+
});
|
|
7032
7107
|
}
|
|
7033
7108
|
};
|
|
7034
7109
|
|
|
@@ -7049,6 +7124,25 @@ var PayWithTransferCharge = {
|
|
|
7049
7124
|
return response;
|
|
7050
7125
|
});
|
|
7051
7126
|
},
|
|
7127
|
+
submitPayerDetails: function submitPayerDetails(_ref2) {
|
|
7128
|
+
var email = _ref2.email,
|
|
7129
|
+
accountNumber = _ref2.accountNumber,
|
|
7130
|
+
bankId = _ref2.bankId,
|
|
7131
|
+
managedAccountNumber = _ref2.managedAccountNumber,
|
|
7132
|
+
providerSlug = _ref2.providerSlug,
|
|
7133
|
+
claimType = _ref2.claimType;
|
|
7134
|
+
var params = {
|
|
7135
|
+
reference_id: this.id,
|
|
7136
|
+
account_number: accountNumber,
|
|
7137
|
+
email: email,
|
|
7138
|
+
institution_id: bankId,
|
|
7139
|
+
institution_type: 'bank',
|
|
7140
|
+
claim_type: claimType,
|
|
7141
|
+
managed_account_number: managedAccountNumber,
|
|
7142
|
+
provider_slug: providerSlug
|
|
7143
|
+
};
|
|
7144
|
+
return PayWithTransferAPI.submitPayerDetails(params, this.merchant.key);
|
|
7145
|
+
},
|
|
7052
7146
|
listenForPayWithTransferCharge: function listenForPayWithTransferCharge(callback) {
|
|
7053
7147
|
var pusherChannel = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';
|
|
7054
7148
|
var data = this.bankTransfer.data;
|
|
@@ -14227,7 +14321,7 @@ var regexpFlags$1 = function () {
|
|
|
14227
14321
|
};
|
|
14228
14322
|
|
|
14229
14323
|
var fails$5 = fails$p;
|
|
14230
|
-
var global$6 = global$
|
|
14324
|
+
var global$6 = global$M;
|
|
14231
14325
|
|
|
14232
14326
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
14233
14327
|
var $RegExp$2 = global$6.RegExp;
|
|
@@ -14258,7 +14352,7 @@ var regexpStickyHelpers = {
|
|
|
14258
14352
|
};
|
|
14259
14353
|
|
|
14260
14354
|
var fails$4 = fails$p;
|
|
14261
|
-
var global$5 = global$
|
|
14355
|
+
var global$5 = global$M;
|
|
14262
14356
|
|
|
14263
14357
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
14264
14358
|
var $RegExp$1 = global$5.RegExp;
|
|
@@ -14269,7 +14363,7 @@ var regexpUnsupportedDotAll = fails$4(function () {
|
|
|
14269
14363
|
});
|
|
14270
14364
|
|
|
14271
14365
|
var fails$3 = fails$p;
|
|
14272
|
-
var global$4 = global$
|
|
14366
|
+
var global$4 = global$M;
|
|
14273
14367
|
|
|
14274
14368
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
14275
14369
|
var $RegExp = global$4.RegExp;
|
|
@@ -14284,7 +14378,7 @@ var regexpUnsupportedNcg = fails$3(function () {
|
|
|
14284
14378
|
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
|
14285
14379
|
var call$1 = functionCall;
|
|
14286
14380
|
var uncurryThis$6 = functionUncurryThis;
|
|
14287
|
-
var toString$2 = toString$
|
|
14381
|
+
var toString$2 = toString$7;
|
|
14288
14382
|
var regexpFlags = regexpFlags$1;
|
|
14289
14383
|
var stickyHelpers = regexpStickyHelpers;
|
|
14290
14384
|
var shared = shared$4.exports;
|
|
@@ -14409,11 +14503,11 @@ $$4({ target: 'RegExp', proto: true, forced: /./.exec !== exec$1 }, {
|
|
|
14409
14503
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
14410
14504
|
|
|
14411
14505
|
var $$3 = _export;
|
|
14412
|
-
var global$3 = global$
|
|
14506
|
+
var global$3 = global$M;
|
|
14413
14507
|
var call = functionCall;
|
|
14414
14508
|
var uncurryThis$5 = functionUncurryThis;
|
|
14415
14509
|
var isCallable = isCallable$g;
|
|
14416
|
-
var isObject = isObject$
|
|
14510
|
+
var isObject = isObject$h;
|
|
14417
14511
|
|
|
14418
14512
|
var DELEGATES_TO_EXEC = function () {
|
|
14419
14513
|
var execCalled = false;
|
|
@@ -14677,15 +14771,25 @@ var DigitalBankMandateAPI = {
|
|
|
14677
14771
|
var bankId = _ref.bankId,
|
|
14678
14772
|
transactionId = _ref.transactionId,
|
|
14679
14773
|
phoneNumber = _ref.phoneNumber,
|
|
14680
|
-
|
|
14774
|
+
token = _ref.token,
|
|
14775
|
+
accountNumber = _ref.accountNumber;
|
|
14681
14776
|
var url = "".concat(configToUse.paymentBaseUrl, "bank/digitalbankmandate/").concat(bankId, "/").concat(transactionId);
|
|
14777
|
+
var bankObject = {
|
|
14778
|
+
16: 'sterling-bank',
|
|
14779
|
+
62: 'kuda-bank'
|
|
14780
|
+
};
|
|
14682
14781
|
var headers = {
|
|
14683
14782
|
'Content-Type': 'application/x-www-form-urlencoded'
|
|
14684
14783
|
};
|
|
14685
|
-
|
|
14686
|
-
|
|
14687
|
-
|
|
14688
|
-
}
|
|
14784
|
+
|
|
14785
|
+
var params = _objectSpread2(_objectSpread2({}, bankObject[bankId] === 'sterling-bank' ? {
|
|
14786
|
+
account_number: accountNumber
|
|
14787
|
+
} : {
|
|
14788
|
+
phone_number: phoneNumber
|
|
14789
|
+
}), {}, {
|
|
14790
|
+
token: token
|
|
14791
|
+
});
|
|
14792
|
+
|
|
14689
14793
|
var urlEncodedParams = formUrlencoded(params);
|
|
14690
14794
|
return axiosInstance.post(url, urlEncodedParams, {
|
|
14691
14795
|
headers: headers
|
|
@@ -14701,13 +14805,15 @@ var DigitalBankMandate = {
|
|
|
14701
14805
|
var _this = this;
|
|
14702
14806
|
|
|
14703
14807
|
var phoneNumber = _ref.phoneNumber,
|
|
14704
|
-
|
|
14705
|
-
bankId = _ref.bankId
|
|
14808
|
+
token = _ref.token,
|
|
14809
|
+
bankId = _ref.bankId,
|
|
14810
|
+
accountNumber = _ref.accountNumber;
|
|
14706
14811
|
var params = {
|
|
14707
14812
|
transactionId: this.id,
|
|
14708
14813
|
phoneNumber: phoneNumber,
|
|
14709
|
-
|
|
14710
|
-
bankId: bankId
|
|
14814
|
+
token: token,
|
|
14815
|
+
bankId: bankId,
|
|
14816
|
+
accountNumber: accountNumber
|
|
14711
14817
|
};
|
|
14712
14818
|
return DigitalBankMandateAPI.charge(params).then(function (response) {
|
|
14713
14819
|
_this.logAPIResponse(response, paymentMethod$1);
|
|
@@ -15214,8 +15320,8 @@ var whitespaces$1 = '\u0009\u000A\u000B\u000C\u000D\u0020\u00A0\u1680\u2000\u200
|
|
|
15214
15320
|
'\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF';
|
|
15215
15321
|
|
|
15216
15322
|
var uncurryThis$3 = functionUncurryThis;
|
|
15217
|
-
var requireObjectCoercible = requireObjectCoercible$
|
|
15218
|
-
var toString$1 = toString$
|
|
15323
|
+
var requireObjectCoercible = requireObjectCoercible$4;
|
|
15324
|
+
var toString$1 = toString$7;
|
|
15219
15325
|
var whitespaces = whitespaces$1;
|
|
15220
15326
|
|
|
15221
15327
|
var replace$1 = uncurryThis$3(''.replace);
|
|
@@ -15246,7 +15352,7 @@ var stringTrim = {
|
|
|
15246
15352
|
};
|
|
15247
15353
|
|
|
15248
15354
|
var DESCRIPTORS = descriptors;
|
|
15249
|
-
var global$2 = global$
|
|
15355
|
+
var global$2 = global$M;
|
|
15250
15356
|
var uncurryThis$2 = functionUncurryThis;
|
|
15251
15357
|
var isForced = isForced_1;
|
|
15252
15358
|
var redefine = redefine$5.exports;
|
|
@@ -15542,7 +15648,7 @@ function isMobile (ua) {
|
|
|
15542
15648
|
}
|
|
15543
15649
|
|
|
15544
15650
|
var $$2 = _export;
|
|
15545
|
-
var global$1 = global$
|
|
15651
|
+
var global$1 = global$M;
|
|
15546
15652
|
var getBuiltIn = getBuiltIn$9;
|
|
15547
15653
|
var apply = functionApply;
|
|
15548
15654
|
var uncurryThis$1 = functionUncurryThis;
|
|
@@ -15855,7 +15961,8 @@ var TransactionInstance = /*#__PURE__*/function () {
|
|
|
15855
15961
|
this.isTest = data.domain === 'test';
|
|
15856
15962
|
this.currency = data.currency;
|
|
15857
15963
|
this.id = data.id;
|
|
15858
|
-
this.channels = data.channels;
|
|
15964
|
+
this.channels = ['apple_pay'].concat(data.channels); // TODO: remove hardcoded channel
|
|
15965
|
+
|
|
15859
15966
|
this.label = data.label;
|
|
15860
15967
|
this.metadata = data.metadata || {};
|
|
15861
15968
|
this.cancel_action = data.cancel_action || null;
|
|
@@ -15896,7 +16003,11 @@ var TransactionInstance = /*#__PURE__*/function () {
|
|
|
15896
16003
|
this.channels.forEach(function (channel) {
|
|
15897
16004
|
var chargeFunctions = ChargeFunctions.get(channel);
|
|
15898
16005
|
Object.assign(_this, chargeFunctions);
|
|
15899
|
-
});
|
|
16006
|
+
}); // Bank transfer charge functions are required for some features on USSD.
|
|
16007
|
+
|
|
16008
|
+
if (this.channels.includes('ussd') && !this.channels.includes('bank_transfer')) {
|
|
16009
|
+
Object.assign(this, ChargeFunctions.get('bank_transfer'));
|
|
16010
|
+
}
|
|
15900
16011
|
}
|
|
15901
16012
|
|
|
15902
16013
|
_createClass(TransactionInstance, [{
|
|
@@ -16072,6 +16183,10 @@ var fields = {
|
|
|
16072
16183
|
required: false,
|
|
16073
16184
|
isValid: isString
|
|
16074
16185
|
},
|
|
16186
|
+
split_code: {
|
|
16187
|
+
required: false,
|
|
16188
|
+
isValid: isString
|
|
16189
|
+
},
|
|
16075
16190
|
hash: {
|
|
16076
16191
|
required: false,
|
|
16077
16192
|
isValid: isString
|
|
@@ -16202,7 +16317,7 @@ var uncurryThis = functionUncurryThis;
|
|
|
16202
16317
|
var aCallable = aCallable$6;
|
|
16203
16318
|
var toObject = toObject$6;
|
|
16204
16319
|
var lengthOfArrayLike = lengthOfArrayLike$6;
|
|
16205
|
-
var toString = toString$
|
|
16320
|
+
var toString = toString$7;
|
|
16206
16321
|
var fails = fails$p;
|
|
16207
16322
|
var internalSort = arraySort;
|
|
16208
16323
|
var arrayMethodIsStrict = arrayMethodIsStrict$3;
|