@movable/studio-framework-test-helpers 2.41.0-og-lock → 2.41.0-pin-babel-traverse
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/index.es.js +172 -372
- package/dist/index.js +178 -378
- package/package.json +3 -3
package/dist/index.es.js
CHANGED
|
@@ -17,7 +17,7 @@ function createCommonjsModule(fn, module) {
|
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
var sinon = createCommonjsModule(function (module, exports) {
|
|
20
|
-
/* Sinon.JS 11.1.
|
|
20
|
+
/* Sinon.JS 11.1.1, 2021-05-26, @license BSD-3 */(function(f){{module.exports=f();}})(function(){return (function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof commonjsRequire&&commonjsRequire;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t);}return n[i].exports}for(var u="function"==typeof commonjsRequire&&commonjsRequire,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
|
|
21
21
|
|
|
22
22
|
var behavior = require("./sinon/behavior");
|
|
23
23
|
var createSandbox = require("./sinon/create-sandbox");
|
|
@@ -1056,248 +1056,12 @@ var createProxy = require("./proxy");
|
|
|
1056
1056
|
var nextTick = require("./util/core/next-tick");
|
|
1057
1057
|
|
|
1058
1058
|
var slice = arrayProto.slice;
|
|
1059
|
-
var promiseLib = Promise;
|
|
1060
1059
|
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
/**
|
|
1064
|
-
* Returns a `fake` that records all calls, arguments and return values.
|
|
1065
|
-
*
|
|
1066
|
-
* When an `f` argument is supplied, this implementation will be used.
|
|
1067
|
-
*
|
|
1068
|
-
* @example
|
|
1069
|
-
* // create an empty fake
|
|
1070
|
-
* var f1 = sinon.fake();
|
|
1071
|
-
*
|
|
1072
|
-
* f1();
|
|
1073
|
-
*
|
|
1074
|
-
* f1.calledOnce()
|
|
1075
|
-
* // true
|
|
1076
|
-
*
|
|
1077
|
-
* @example
|
|
1078
|
-
* function greet(greeting) {
|
|
1079
|
-
* console.log(`Hello ${greeting}`);
|
|
1080
|
-
* }
|
|
1081
|
-
*
|
|
1082
|
-
* // create a fake with implementation
|
|
1083
|
-
* var f2 = sinon.fake(greet);
|
|
1084
|
-
*
|
|
1085
|
-
* // Hello world
|
|
1086
|
-
* f2("world");
|
|
1087
|
-
*
|
|
1088
|
-
* f2.calledWith("world");
|
|
1089
|
-
* // true
|
|
1090
|
-
*
|
|
1091
|
-
* @param {Function|undefined} f
|
|
1092
|
-
* @returns {Function}
|
|
1093
|
-
* @namespace
|
|
1094
|
-
*/
|
|
1095
|
-
function fake(f) {
|
|
1096
|
-
if (arguments.length > 0 && typeof f !== "function") {
|
|
1097
|
-
throw new TypeError("Expected f argument to be a Function");
|
|
1098
|
-
}
|
|
1099
|
-
|
|
1100
|
-
return wrapFunc(f);
|
|
1060
|
+
function getError(value) {
|
|
1061
|
+
return value instanceof Error ? value : new Error(value);
|
|
1101
1062
|
}
|
|
1102
1063
|
|
|
1103
|
-
/**
|
|
1104
|
-
* Creates a `fake` that returns the provided `value`, as well as recording all
|
|
1105
|
-
* calls, arguments and return values.
|
|
1106
|
-
*
|
|
1107
|
-
* @example
|
|
1108
|
-
* var f1 = sinon.fake.returns(42);
|
|
1109
|
-
*
|
|
1110
|
-
* f1();
|
|
1111
|
-
* // 42
|
|
1112
|
-
*
|
|
1113
|
-
* @memberof fake
|
|
1114
|
-
* @param {*} value
|
|
1115
|
-
* @returns {Function}
|
|
1116
|
-
*/
|
|
1117
|
-
fake.returns = function returns(value) {
|
|
1118
|
-
// eslint-disable-next-line jsdoc/require-jsdoc
|
|
1119
|
-
function f() {
|
|
1120
|
-
return value;
|
|
1121
|
-
}
|
|
1122
|
-
|
|
1123
|
-
return wrapFunc(f);
|
|
1124
|
-
};
|
|
1125
|
-
|
|
1126
|
-
/**
|
|
1127
|
-
* Creates a `fake` that throws an Error.
|
|
1128
|
-
* If the `value` argument does not have Error in its prototype chain, it will
|
|
1129
|
-
* be used for creating a new error.
|
|
1130
|
-
*
|
|
1131
|
-
* @example
|
|
1132
|
-
* var f1 = sinon.fake.throws("hello");
|
|
1133
|
-
*
|
|
1134
|
-
* f1();
|
|
1135
|
-
* // Uncaught Error: hello
|
|
1136
|
-
*
|
|
1137
|
-
* @example
|
|
1138
|
-
* var f2 = sinon.fake.throws(new TypeError("Invalid argument"));
|
|
1139
|
-
*
|
|
1140
|
-
* f2();
|
|
1141
|
-
* // Uncaught TypeError: Invalid argument
|
|
1142
|
-
*
|
|
1143
|
-
* @memberof fake
|
|
1144
|
-
* @param {*|Error} value
|
|
1145
|
-
* @returns {Function}
|
|
1146
|
-
*/
|
|
1147
|
-
fake.throws = function throws(value) {
|
|
1148
|
-
// eslint-disable-next-line jsdoc/require-jsdoc
|
|
1149
|
-
function f() {
|
|
1150
|
-
throw getError(value);
|
|
1151
|
-
}
|
|
1152
|
-
|
|
1153
|
-
return wrapFunc(f);
|
|
1154
|
-
};
|
|
1155
|
-
|
|
1156
|
-
/**
|
|
1157
|
-
* Creates a `fake` that returns a promise that resolves to the passed `value`
|
|
1158
|
-
* argument.
|
|
1159
|
-
*
|
|
1160
|
-
* @example
|
|
1161
|
-
* var f1 = sinon.fake.resolves("apple pie");
|
|
1162
|
-
*
|
|
1163
|
-
* await f1();
|
|
1164
|
-
* // "apple pie"
|
|
1165
|
-
*
|
|
1166
|
-
* @memberof fake
|
|
1167
|
-
* @param {*} value
|
|
1168
|
-
* @returns {Function}
|
|
1169
|
-
*/
|
|
1170
|
-
fake.resolves = function resolves(value) {
|
|
1171
|
-
// eslint-disable-next-line jsdoc/require-jsdoc
|
|
1172
|
-
function f() {
|
|
1173
|
-
return promiseLib.resolve(value);
|
|
1174
|
-
}
|
|
1175
|
-
|
|
1176
|
-
return wrapFunc(f);
|
|
1177
|
-
};
|
|
1178
|
-
|
|
1179
|
-
/**
|
|
1180
|
-
* Creates a `fake` that returns a promise that rejects to the passed `value`
|
|
1181
|
-
* argument. When `value` does not have Error in its prototype chain, it will be
|
|
1182
|
-
* wrapped in an Error.
|
|
1183
|
-
*
|
|
1184
|
-
* @example
|
|
1185
|
-
* var f1 = sinon.fake.rejects(":(");
|
|
1186
|
-
*
|
|
1187
|
-
* try {
|
|
1188
|
-
* await ft();
|
|
1189
|
-
* } catch (error) {
|
|
1190
|
-
* console.log(error);
|
|
1191
|
-
* // ":("
|
|
1192
|
-
* }
|
|
1193
|
-
*
|
|
1194
|
-
* @memberof fake
|
|
1195
|
-
* @param {*} value
|
|
1196
|
-
* @returns {Function}
|
|
1197
|
-
*/
|
|
1198
|
-
fake.rejects = function rejects(value) {
|
|
1199
|
-
// eslint-disable-next-line jsdoc/require-jsdoc
|
|
1200
|
-
function f() {
|
|
1201
|
-
return promiseLib.reject(getError(value));
|
|
1202
|
-
}
|
|
1203
|
-
|
|
1204
|
-
return wrapFunc(f);
|
|
1205
|
-
};
|
|
1206
|
-
|
|
1207
|
-
/**
|
|
1208
|
-
* Causes `fake` to use a custom Promise implementation, instead of the native
|
|
1209
|
-
* Promise implementation.
|
|
1210
|
-
*
|
|
1211
|
-
* @example
|
|
1212
|
-
* const bluebird = require("bluebird");
|
|
1213
|
-
* sinon.fake.usingPromise(bluebird);
|
|
1214
|
-
*
|
|
1215
|
-
* @memberof fake
|
|
1216
|
-
* @param {*} promiseLibrary
|
|
1217
|
-
* @returns {Function}
|
|
1218
|
-
*/
|
|
1219
|
-
fake.usingPromise = function usingPromise(promiseLibrary) {
|
|
1220
|
-
promiseLib = promiseLibrary;
|
|
1221
|
-
return fake;
|
|
1222
|
-
};
|
|
1223
|
-
|
|
1224
|
-
/**
|
|
1225
|
-
* Returns a `fake` that calls the callback with the defined arguments.
|
|
1226
|
-
*
|
|
1227
|
-
* @example
|
|
1228
|
-
* function callback() {
|
|
1229
|
-
* console.log(arguments.join("*"));
|
|
1230
|
-
* }
|
|
1231
|
-
*
|
|
1232
|
-
* const f1 = sinon.fake.yields("apple", "pie");
|
|
1233
|
-
*
|
|
1234
|
-
* f1(callback);
|
|
1235
|
-
* // "apple*pie"
|
|
1236
|
-
*
|
|
1237
|
-
* @memberof fake
|
|
1238
|
-
* @returns {Function}
|
|
1239
|
-
*/
|
|
1240
|
-
fake.yields = function yields() {
|
|
1241
|
-
var values = slice(arguments);
|
|
1242
|
-
|
|
1243
|
-
// eslint-disable-next-line jsdoc/require-jsdoc
|
|
1244
|
-
function f() {
|
|
1245
|
-
var callback = arguments[arguments.length - 1];
|
|
1246
|
-
if (typeof callback !== "function") {
|
|
1247
|
-
throw new TypeError("Expected last argument to be a function");
|
|
1248
|
-
}
|
|
1249
|
-
|
|
1250
|
-
callback.apply(null, values);
|
|
1251
|
-
}
|
|
1252
|
-
|
|
1253
|
-
return wrapFunc(f);
|
|
1254
|
-
};
|
|
1255
|
-
|
|
1256
|
-
/**
|
|
1257
|
-
* Returns a `fake` that calls the callback **asynchronously** with the
|
|
1258
|
-
* defined arguments.
|
|
1259
|
-
*
|
|
1260
|
-
* @example
|
|
1261
|
-
* function callback() {
|
|
1262
|
-
* console.log(arguments.join("*"));
|
|
1263
|
-
* }
|
|
1264
|
-
*
|
|
1265
|
-
* const f1 = sinon.fake.yields("apple", "pie");
|
|
1266
|
-
*
|
|
1267
|
-
* f1(callback);
|
|
1268
|
-
*
|
|
1269
|
-
* setTimeout(() => {
|
|
1270
|
-
* // "apple*pie"
|
|
1271
|
-
* });
|
|
1272
|
-
*
|
|
1273
|
-
* @memberof fake
|
|
1274
|
-
* @returns {Function}
|
|
1275
|
-
*/
|
|
1276
|
-
fake.yieldsAsync = function yieldsAsync() {
|
|
1277
|
-
var values = slice(arguments);
|
|
1278
|
-
|
|
1279
|
-
// eslint-disable-next-line jsdoc/require-jsdoc
|
|
1280
|
-
function f() {
|
|
1281
|
-
var callback = arguments[arguments.length - 1];
|
|
1282
|
-
if (typeof callback !== "function") {
|
|
1283
|
-
throw new TypeError("Expected last argument to be a function");
|
|
1284
|
-
}
|
|
1285
|
-
nextTick(function () {
|
|
1286
|
-
callback.apply(null, values);
|
|
1287
|
-
});
|
|
1288
|
-
}
|
|
1289
|
-
|
|
1290
|
-
return wrapFunc(f);
|
|
1291
|
-
};
|
|
1292
|
-
|
|
1293
1064
|
var uuid = 0;
|
|
1294
|
-
/**
|
|
1295
|
-
* Creates a proxy (sinon concept) from the passed function.
|
|
1296
|
-
*
|
|
1297
|
-
* @private
|
|
1298
|
-
* @param {Function} f
|
|
1299
|
-
* @returns {Function}
|
|
1300
|
-
*/
|
|
1301
1065
|
function wrapFunc(f) {
|
|
1302
1066
|
var proxy;
|
|
1303
1067
|
var fakeInstance = function () {
|
|
@@ -1325,18 +1089,88 @@ function wrapFunc(f) {
|
|
|
1325
1089
|
return proxy;
|
|
1326
1090
|
}
|
|
1327
1091
|
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1092
|
+
function fakeClass() {
|
|
1093
|
+
var promiseLib = null;
|
|
1094
|
+
if (typeof Promise === "function") {
|
|
1095
|
+
promiseLib = Promise;
|
|
1096
|
+
}
|
|
1097
|
+
|
|
1098
|
+
function fake(f) {
|
|
1099
|
+
if (arguments.length > 0 && typeof f !== "function") {
|
|
1100
|
+
throw new TypeError("Expected f argument to be a Function");
|
|
1101
|
+
}
|
|
1102
|
+
|
|
1103
|
+
return wrapFunc(f);
|
|
1104
|
+
}
|
|
1105
|
+
|
|
1106
|
+
fake.returns = function returns(value) {
|
|
1107
|
+
function f() {
|
|
1108
|
+
return value;
|
|
1109
|
+
}
|
|
1110
|
+
|
|
1111
|
+
return wrapFunc(f);
|
|
1112
|
+
};
|
|
1113
|
+
|
|
1114
|
+
fake.throws = function throws(value) {
|
|
1115
|
+
function f() {
|
|
1116
|
+
throw getError(value);
|
|
1117
|
+
}
|
|
1118
|
+
|
|
1119
|
+
return wrapFunc(f);
|
|
1120
|
+
};
|
|
1121
|
+
|
|
1122
|
+
fake.resolves = function resolves(value) {
|
|
1123
|
+
function f() {
|
|
1124
|
+
return promiseLib.resolve(value);
|
|
1125
|
+
}
|
|
1126
|
+
|
|
1127
|
+
return wrapFunc(f);
|
|
1128
|
+
};
|
|
1129
|
+
|
|
1130
|
+
fake.rejects = function rejects(value) {
|
|
1131
|
+
function f() {
|
|
1132
|
+
return promiseLib.reject(getError(value));
|
|
1133
|
+
}
|
|
1134
|
+
|
|
1135
|
+
return wrapFunc(f);
|
|
1136
|
+
};
|
|
1137
|
+
|
|
1138
|
+
fake.usingPromise = function usingPromise(promiseLibrary) {
|
|
1139
|
+
promiseLib = promiseLibrary;
|
|
1140
|
+
return fake;
|
|
1141
|
+
};
|
|
1142
|
+
|
|
1143
|
+
function yieldInternal(async, values) {
|
|
1144
|
+
function f() {
|
|
1145
|
+
var callback = arguments[arguments.length - 1];
|
|
1146
|
+
if (typeof callback !== "function") {
|
|
1147
|
+
throw new TypeError("Expected last argument to be a function");
|
|
1148
|
+
}
|
|
1149
|
+
if (async) {
|
|
1150
|
+
nextTick(function () {
|
|
1151
|
+
callback.apply(null, values);
|
|
1152
|
+
});
|
|
1153
|
+
} else {
|
|
1154
|
+
callback.apply(null, values);
|
|
1155
|
+
}
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
return wrapFunc(f);
|
|
1159
|
+
}
|
|
1160
|
+
|
|
1161
|
+
fake.yields = function yields() {
|
|
1162
|
+
return yieldInternal(false, slice(arguments));
|
|
1163
|
+
};
|
|
1164
|
+
|
|
1165
|
+
fake.yieldsAsync = function yieldsAsync() {
|
|
1166
|
+
return yieldInternal(true, slice(arguments));
|
|
1167
|
+
};
|
|
1168
|
+
|
|
1169
|
+
return fake;
|
|
1338
1170
|
}
|
|
1339
1171
|
|
|
1172
|
+
module.exports = fakeClass();
|
|
1173
|
+
|
|
1340
1174
|
},{"./proxy":15,"./util/core/next-tick":33,"@sinonjs/commons":46}],9:[function(require,module,exports){
|
|
1341
1175
|
|
|
1342
1176
|
var arrayProto = require("@sinonjs/commons").prototypes.array;
|
|
@@ -4012,30 +3846,13 @@ module.exports = function extend(target, ...sources) {
|
|
|
4012
3846
|
if (prop === "name" && !destOwnPropertyDescriptor.writable) {
|
|
4013
3847
|
return;
|
|
4014
3848
|
}
|
|
4015
|
-
|
|
3849
|
+
|
|
3850
|
+
Object.defineProperty(dest, prop, {
|
|
4016
3851
|
configurable: sourceOwnPropertyDescriptor.configurable,
|
|
4017
3852
|
enumerable: sourceOwnPropertyDescriptor.enumerable,
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4021
|
-
data properties has writable attribute where as acessor property don't
|
|
4022
|
-
REF: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Data_structures#properties
|
|
4023
|
-
*/
|
|
4024
|
-
|
|
4025
|
-
if (hasOwnProperty(sourceOwnPropertyDescriptor, "writable")) {
|
|
4026
|
-
descriptors.writable = sourceOwnPropertyDescriptor.writable;
|
|
4027
|
-
descriptors.value = sourceOwnPropertyDescriptor.value;
|
|
4028
|
-
} else {
|
|
4029
|
-
if (sourceOwnPropertyDescriptor.get) {
|
|
4030
|
-
descriptors.get =
|
|
4031
|
-
sourceOwnPropertyDescriptor.get.bind(dest);
|
|
4032
|
-
}
|
|
4033
|
-
if (sourceOwnPropertyDescriptor.set) {
|
|
4034
|
-
descriptors.set =
|
|
4035
|
-
sourceOwnPropertyDescriptor.set.bind(dest);
|
|
4036
|
-
}
|
|
4037
|
-
}
|
|
4038
|
-
Object.defineProperty(dest, prop, descriptors);
|
|
3853
|
+
writable: sourceOwnPropertyDescriptor.writable,
|
|
3854
|
+
value: sourceOwnPropertyDescriptor.value,
|
|
3855
|
+
});
|
|
4039
3856
|
}
|
|
4040
3857
|
);
|
|
4041
3858
|
};
|
|
@@ -5087,11 +4904,11 @@ var globalObject = require("@sinonjs/commons").global;
|
|
|
5087
4904
|
* Configuration object for the `install` method.
|
|
5088
4905
|
*
|
|
5089
4906
|
* @typedef {object} Config
|
|
5090
|
-
* @property {number|Date}
|
|
5091
|
-
* @property {string[]}
|
|
5092
|
-
* @property {number}
|
|
5093
|
-
* @property {boolean}
|
|
5094
|
-
* @property {number}
|
|
4907
|
+
* @property {number|Date} now a number (in milliseconds) or a Date object (default epoch)
|
|
4908
|
+
* @property {string[]} toFake names of the methods that should be faked.
|
|
4909
|
+
* @property {number} loopLimit the maximum number of timers that will be run when calling runAll()
|
|
4910
|
+
* @property {boolean} shouldAdvanceTime tells FakeTimers to increment mocked time automatically (default false)
|
|
4911
|
+
* @property {number} advanceTimeDelta increment mocked time every <<advanceTimeDelta>> ms (default: 20ms)
|
|
5095
4912
|
*/
|
|
5096
4913
|
|
|
5097
4914
|
/**
|
|
@@ -5653,6 +5470,7 @@ function withGlobal(_global) {
|
|
|
5653
5470
|
}
|
|
5654
5471
|
|
|
5655
5472
|
function hijackMethod(target, method, clock) {
|
|
5473
|
+
var prop;
|
|
5656
5474
|
clock[method].hadOwnProperty = Object.prototype.hasOwnProperty.call(
|
|
5657
5475
|
target,
|
|
5658
5476
|
method
|
|
@@ -5692,10 +5510,11 @@ function withGlobal(_global) {
|
|
|
5692
5510
|
return clock[method].apply(clock, arguments);
|
|
5693
5511
|
};
|
|
5694
5512
|
|
|
5695
|
-
|
|
5696
|
-
|
|
5697
|
-
|
|
5698
|
-
|
|
5513
|
+
for (prop in clock[method]) {
|
|
5514
|
+
if (clock[method].hasOwnProperty(prop)) {
|
|
5515
|
+
target[method][prop] = clock[method][prop];
|
|
5516
|
+
}
|
|
5517
|
+
}
|
|
5699
5518
|
}
|
|
5700
5519
|
|
|
5701
5520
|
target[method].clock = clock;
|
|
@@ -5773,8 +5592,8 @@ function withGlobal(_global) {
|
|
|
5773
5592
|
var originalSetTimeout = _global.setImmediate || _global.setTimeout;
|
|
5774
5593
|
|
|
5775
5594
|
/**
|
|
5776
|
-
* @param {Date|number}
|
|
5777
|
-
* @param {number}
|
|
5595
|
+
* @param {Date|number} start the system time - non-integer values are floored
|
|
5596
|
+
* @param {number} loopLimit maximum number of timers that will be run when calling runAll()
|
|
5778
5597
|
* @returns {Clock}
|
|
5779
5598
|
*/
|
|
5780
5599
|
function createClock(start, loopLimit) {
|
|
@@ -6351,7 +6170,7 @@ function withGlobal(_global) {
|
|
|
6351
6170
|
/* eslint-disable complexity */
|
|
6352
6171
|
|
|
6353
6172
|
/**
|
|
6354
|
-
* @param {Config=}
|
|
6173
|
+
* @param {Config=} config Optional config
|
|
6355
6174
|
* @returns {Clock}
|
|
6356
6175
|
*/
|
|
6357
6176
|
function install(config) {
|
|
@@ -18463,7 +18282,7 @@ var _arrayIncludes = function (IS_INCLUDES) {
|
|
|
18463
18282
|
};
|
|
18464
18283
|
|
|
18465
18284
|
var _core = createCommonjsModule(function (module) {
|
|
18466
|
-
var core = module.exports = { version: '2.6.
|
|
18285
|
+
var core = module.exports = { version: '2.6.11' };
|
|
18467
18286
|
if (typeof __e == 'number') __e = core; // eslint-disable-line no-undef
|
|
18468
18287
|
});
|
|
18469
18288
|
_core.version;
|
|
@@ -18488,7 +18307,7 @@ var store = _global[SHARED] || (_global[SHARED] = {});
|
|
|
18488
18307
|
})('versions', []).push({
|
|
18489
18308
|
version: _core.version,
|
|
18490
18309
|
mode: 'pure' ,
|
|
18491
|
-
copyright: '©
|
|
18310
|
+
copyright: '© 2019 Denis Pushkarev (zloirock.ru)'
|
|
18492
18311
|
});
|
|
18493
18312
|
});
|
|
18494
18313
|
|
|
@@ -19649,44 +19468,6 @@ function settled() {
|
|
|
19649
19468
|
});
|
|
19650
19469
|
}
|
|
19651
19470
|
|
|
19652
|
-
// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
|
|
19653
|
-
_export(_export.S + _export.F * !_descriptors, 'Object', { defineProperty: _objectDp.f });
|
|
19654
|
-
|
|
19655
|
-
var $Object$3 = _core.Object;
|
|
19656
|
-
var defineProperty$3 = function defineProperty(it, key, desc) {
|
|
19657
|
-
return $Object$3.defineProperty(it, key, desc);
|
|
19658
|
-
};
|
|
19659
|
-
|
|
19660
|
-
var defineProperty$2 = defineProperty$3;
|
|
19661
|
-
|
|
19662
|
-
var createClass = createCommonjsModule(function (module) {
|
|
19663
|
-
function _defineProperties(target, props) {
|
|
19664
|
-
for (var i = 0; i < props.length; i++) {
|
|
19665
|
-
var descriptor = props[i];
|
|
19666
|
-
descriptor.enumerable = descriptor.enumerable || false;
|
|
19667
|
-
descriptor.configurable = true;
|
|
19668
|
-
if ("value" in descriptor) descriptor.writable = true;
|
|
19669
|
-
|
|
19670
|
-
defineProperty$2(target, descriptor.key, descriptor);
|
|
19671
|
-
}
|
|
19672
|
-
}
|
|
19673
|
-
|
|
19674
|
-
function _createClass(Constructor, protoProps, staticProps) {
|
|
19675
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
19676
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
19677
|
-
|
|
19678
|
-
defineProperty$2(Constructor, "prototype", {
|
|
19679
|
-
writable: false
|
|
19680
|
-
});
|
|
19681
|
-
|
|
19682
|
-
return Constructor;
|
|
19683
|
-
}
|
|
19684
|
-
|
|
19685
|
-
module.exports = _createClass, module.exports.__esModule = true, module.exports["default"] = module.exports;
|
|
19686
|
-
});
|
|
19687
|
-
|
|
19688
|
-
var _createClass = unwrapExports(createClass);
|
|
19689
|
-
|
|
19690
19471
|
var classCallCheck = createCommonjsModule(function (module) {
|
|
19691
19472
|
function _classCallCheck(instance, Constructor) {
|
|
19692
19473
|
if (!(instance instanceof Constructor)) {
|
|
@@ -19694,7 +19475,8 @@ function _classCallCheck(instance, Constructor) {
|
|
|
19694
19475
|
}
|
|
19695
19476
|
}
|
|
19696
19477
|
|
|
19697
|
-
module.exports = _classCallCheck
|
|
19478
|
+
module.exports = _classCallCheck;
|
|
19479
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
19698
19480
|
});
|
|
19699
19481
|
|
|
19700
19482
|
var _classCallCheck = unwrapExports(classCallCheck);
|
|
@@ -19708,7 +19490,8 @@ function _assertThisInitialized(self) {
|
|
|
19708
19490
|
return self;
|
|
19709
19491
|
}
|
|
19710
19492
|
|
|
19711
|
-
module.exports = _assertThisInitialized
|
|
19493
|
+
module.exports = _assertThisInitialized;
|
|
19494
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
19712
19495
|
});
|
|
19713
19496
|
|
|
19714
19497
|
var _assertThisInitialized = unwrapExports(assertThisInitialized);
|
|
@@ -19716,9 +19499,9 @@ var _assertThisInitialized = unwrapExports(assertThisInitialized);
|
|
|
19716
19499
|
// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])
|
|
19717
19500
|
_export(_export.S, 'Object', { create: _objectCreate });
|
|
19718
19501
|
|
|
19719
|
-
var $Object$
|
|
19502
|
+
var $Object$3 = _core.Object;
|
|
19720
19503
|
var create$1 = function create(P, D) {
|
|
19721
|
-
return $Object$
|
|
19504
|
+
return $Object$3.create(P, D);
|
|
19722
19505
|
};
|
|
19723
19506
|
|
|
19724
19507
|
var create = create$1;
|
|
@@ -19783,11 +19566,14 @@ function _setPrototypeOf(o, p) {
|
|
|
19783
19566
|
module.exports = _setPrototypeOf = setPrototypeOf$1 || function _setPrototypeOf(o, p) {
|
|
19784
19567
|
o.__proto__ = p;
|
|
19785
19568
|
return o;
|
|
19786
|
-
}
|
|
19569
|
+
};
|
|
19570
|
+
|
|
19571
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
19787
19572
|
return _setPrototypeOf(o, p);
|
|
19788
19573
|
}
|
|
19789
19574
|
|
|
19790
|
-
module.exports = _setPrototypeOf
|
|
19575
|
+
module.exports = _setPrototypeOf;
|
|
19576
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
19791
19577
|
});
|
|
19792
19578
|
|
|
19793
19579
|
unwrapExports(setPrototypeOf);
|
|
@@ -19805,15 +19591,11 @@ function _inherits(subClass, superClass) {
|
|
|
19805
19591
|
configurable: true
|
|
19806
19592
|
}
|
|
19807
19593
|
});
|
|
19808
|
-
|
|
19809
|
-
defineProperty$2(subClass, "prototype", {
|
|
19810
|
-
writable: false
|
|
19811
|
-
});
|
|
19812
|
-
|
|
19813
19594
|
if (superClass) setPrototypeOf(subClass, superClass);
|
|
19814
19595
|
}
|
|
19815
19596
|
|
|
19816
|
-
module.exports = _inherits
|
|
19597
|
+
module.exports = _inherits;
|
|
19598
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
19817
19599
|
});
|
|
19818
19600
|
|
|
19819
19601
|
var _inherits = unwrapExports(inherits);
|
|
@@ -19885,10 +19667,10 @@ var _wksExt = {
|
|
|
19885
19667
|
f: f$3
|
|
19886
19668
|
};
|
|
19887
19669
|
|
|
19888
|
-
var defineProperty$
|
|
19670
|
+
var defineProperty$3 = _objectDp.f;
|
|
19889
19671
|
var _wksDefine = function (name) {
|
|
19890
19672
|
var $Symbol = _core.Symbol || (_core.Symbol = {} );
|
|
19891
|
-
if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty$
|
|
19673
|
+
if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty$3($Symbol, name, { value: _wksExt.f(name) });
|
|
19892
19674
|
};
|
|
19893
19675
|
|
|
19894
19676
|
var f$2 = Object.getOwnPropertySymbols;
|
|
@@ -20217,14 +19999,25 @@ var _typeof_1 = createCommonjsModule(function (module) {
|
|
|
20217
19999
|
function _typeof(obj) {
|
|
20218
20000
|
"@babel/helpers - typeof";
|
|
20219
20001
|
|
|
20220
|
-
|
|
20221
|
-
|
|
20222
|
-
|
|
20223
|
-
|
|
20224
|
-
|
|
20002
|
+
if (typeof symbol === "function" && typeof iterator === "symbol") {
|
|
20003
|
+
module.exports = _typeof = function _typeof(obj) {
|
|
20004
|
+
return typeof obj;
|
|
20005
|
+
};
|
|
20006
|
+
|
|
20007
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
20008
|
+
} else {
|
|
20009
|
+
module.exports = _typeof = function _typeof(obj) {
|
|
20010
|
+
return obj && typeof symbol === "function" && obj.constructor === symbol && obj !== symbol.prototype ? "symbol" : typeof obj;
|
|
20011
|
+
};
|
|
20012
|
+
|
|
20013
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
20014
|
+
}
|
|
20015
|
+
|
|
20016
|
+
return _typeof(obj);
|
|
20225
20017
|
}
|
|
20226
20018
|
|
|
20227
|
-
module.exports = _typeof
|
|
20019
|
+
module.exports = _typeof;
|
|
20020
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
20228
20021
|
});
|
|
20229
20022
|
|
|
20230
20023
|
unwrapExports(_typeof_1);
|
|
@@ -20237,14 +20030,13 @@ var _typeof = _typeof_1["default"];
|
|
|
20237
20030
|
function _possibleConstructorReturn(self, call) {
|
|
20238
20031
|
if (call && (_typeof(call) === "object" || typeof call === "function")) {
|
|
20239
20032
|
return call;
|
|
20240
|
-
} else if (call !== void 0) {
|
|
20241
|
-
throw new TypeError("Derived constructors may only return object or undefined");
|
|
20242
20033
|
}
|
|
20243
20034
|
|
|
20244
20035
|
return assertThisInitialized(self);
|
|
20245
20036
|
}
|
|
20246
20037
|
|
|
20247
|
-
module.exports = _possibleConstructorReturn
|
|
20038
|
+
module.exports = _possibleConstructorReturn;
|
|
20039
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
20248
20040
|
});
|
|
20249
20041
|
|
|
20250
20042
|
var _possibleConstructorReturn = unwrapExports(possibleConstructorReturn);
|
|
@@ -20267,19 +20059,31 @@ var getPrototypeOf = createCommonjsModule(function (module) {
|
|
|
20267
20059
|
function _getPrototypeOf(o) {
|
|
20268
20060
|
module.exports = _getPrototypeOf = setPrototypeOf$1 ? getPrototypeOf$1 : function _getPrototypeOf(o) {
|
|
20269
20061
|
return o.__proto__ || getPrototypeOf$1(o);
|
|
20270
|
-
}
|
|
20062
|
+
};
|
|
20063
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
20271
20064
|
return _getPrototypeOf(o);
|
|
20272
20065
|
}
|
|
20273
20066
|
|
|
20274
|
-
module.exports = _getPrototypeOf
|
|
20067
|
+
module.exports = _getPrototypeOf;
|
|
20068
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
20275
20069
|
});
|
|
20276
20070
|
|
|
20277
20071
|
var _getPrototypeOf = unwrapExports(getPrototypeOf);
|
|
20278
20072
|
|
|
20073
|
+
// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)
|
|
20074
|
+
_export(_export.S + _export.F * !_descriptors, 'Object', { defineProperty: _objectDp.f });
|
|
20075
|
+
|
|
20076
|
+
var $Object$2 = _core.Object;
|
|
20077
|
+
var defineProperty$2 = function defineProperty(it, key, desc) {
|
|
20078
|
+
return $Object$2.defineProperty(it, key, desc);
|
|
20079
|
+
};
|
|
20080
|
+
|
|
20081
|
+
var defineProperty$1 = defineProperty$2;
|
|
20082
|
+
|
|
20279
20083
|
var defineProperty = createCommonjsModule(function (module) {
|
|
20280
20084
|
function _defineProperty(obj, key, value) {
|
|
20281
20085
|
if (key in obj) {
|
|
20282
|
-
defineProperty$
|
|
20086
|
+
defineProperty$1(obj, key, {
|
|
20283
20087
|
value: value,
|
|
20284
20088
|
enumerable: true,
|
|
20285
20089
|
configurable: true,
|
|
@@ -20292,7 +20096,8 @@ function _defineProperty(obj, key, value) {
|
|
|
20292
20096
|
return obj;
|
|
20293
20097
|
}
|
|
20294
20098
|
|
|
20295
|
-
module.exports = _defineProperty
|
|
20099
|
+
module.exports = _defineProperty;
|
|
20100
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
20296
20101
|
});
|
|
20297
20102
|
|
|
20298
20103
|
var _defineProperty = unwrapExports(defineProperty);
|
|
@@ -20334,7 +20139,8 @@ function _asyncToGenerator(fn) {
|
|
|
20334
20139
|
};
|
|
20335
20140
|
}
|
|
20336
20141
|
|
|
20337
|
-
module.exports = _asyncToGenerator
|
|
20142
|
+
module.exports = _asyncToGenerator;
|
|
20143
|
+
module.exports["default"] = module.exports, module.exports.__esModule = true;
|
|
20338
20144
|
});
|
|
20339
20145
|
|
|
20340
20146
|
var _asyncToGenerator = unwrapExports(asyncToGenerator);
|
|
@@ -20427,9 +20233,9 @@ var runtime = (function (exports) {
|
|
|
20427
20233
|
// This is a polyfill for %IteratorPrototype% for environments that
|
|
20428
20234
|
// don't natively support it.
|
|
20429
20235
|
var IteratorPrototype = {};
|
|
20430
|
-
|
|
20236
|
+
IteratorPrototype[iteratorSymbol] = function () {
|
|
20431
20237
|
return this;
|
|
20432
|
-
}
|
|
20238
|
+
};
|
|
20433
20239
|
|
|
20434
20240
|
var getProto = Object.getPrototypeOf;
|
|
20435
20241
|
var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
|
@@ -20443,9 +20249,8 @@ var runtime = (function (exports) {
|
|
|
20443
20249
|
|
|
20444
20250
|
var Gp = GeneratorFunctionPrototype.prototype =
|
|
20445
20251
|
Generator.prototype = Object.create(IteratorPrototype);
|
|
20446
|
-
GeneratorFunction.prototype = GeneratorFunctionPrototype;
|
|
20447
|
-
|
|
20448
|
-
define(GeneratorFunctionPrototype, "constructor", GeneratorFunction);
|
|
20252
|
+
GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
|
|
20253
|
+
GeneratorFunctionPrototype.constructor = GeneratorFunction;
|
|
20449
20254
|
GeneratorFunction.displayName = define(
|
|
20450
20255
|
GeneratorFunctionPrototype,
|
|
20451
20256
|
toStringTagSymbol,
|
|
@@ -20559,9 +20364,9 @@ var runtime = (function (exports) {
|
|
|
20559
20364
|
}
|
|
20560
20365
|
|
|
20561
20366
|
defineIteratorMethods(AsyncIterator.prototype);
|
|
20562
|
-
|
|
20367
|
+
AsyncIterator.prototype[asyncIteratorSymbol] = function () {
|
|
20563
20368
|
return this;
|
|
20564
|
-
}
|
|
20369
|
+
};
|
|
20565
20370
|
exports.AsyncIterator = AsyncIterator;
|
|
20566
20371
|
|
|
20567
20372
|
// Note that simple async functions are implemented on top of
|
|
@@ -20754,13 +20559,13 @@ var runtime = (function (exports) {
|
|
|
20754
20559
|
// iterator prototype chain incorrectly implement this, causing the Generator
|
|
20755
20560
|
// object to not be returned from this call. This ensures that doesn't happen.
|
|
20756
20561
|
// See https://github.com/facebook/regenerator/issues/274 for more details.
|
|
20757
|
-
|
|
20562
|
+
Gp[iteratorSymbol] = function() {
|
|
20758
20563
|
return this;
|
|
20759
|
-
}
|
|
20564
|
+
};
|
|
20760
20565
|
|
|
20761
|
-
|
|
20566
|
+
Gp.toString = function() {
|
|
20762
20567
|
return "[object Generator]";
|
|
20763
|
-
}
|
|
20568
|
+
};
|
|
20764
20569
|
|
|
20765
20570
|
function pushTryEntry(locs) {
|
|
20766
20571
|
var entry = { tryLoc: locs[0] };
|
|
@@ -21079,19 +20884,14 @@ try {
|
|
|
21079
20884
|
} catch (accidentalStrictMode) {
|
|
21080
20885
|
// This module should not be running in strict mode, so the above
|
|
21081
20886
|
// assignment should always work unless something is misconfigured. Just
|
|
21082
|
-
// in case runtime.js accidentally runs in strict mode,
|
|
21083
|
-
// we can explicitly access globalThis. In older engines we can escape
|
|
20887
|
+
// in case runtime.js accidentally runs in strict mode, we can escape
|
|
21084
20888
|
// strict mode using a global Function call. This could conceivably fail
|
|
21085
20889
|
// if a Content Security Policy forbids using Function, but in that case
|
|
21086
20890
|
// the proper solution is to fix the accidental strict mode problem. If
|
|
21087
20891
|
// you've misconfigured your bundler to force strict mode and applied a
|
|
21088
20892
|
// CSP to forbid Function, and you're not willing to fix either of those
|
|
21089
20893
|
// problems, please detail your unique predicament in a GitHub issue.
|
|
21090
|
-
|
|
21091
|
-
globalThis.regeneratorRuntime = runtime;
|
|
21092
|
-
} else {
|
|
21093
|
-
Function("r", "regeneratorRuntime = r")(runtime);
|
|
21094
|
-
}
|
|
20894
|
+
Function("r", "regeneratorRuntime = r")(runtime);
|
|
21095
20895
|
}
|
|
21096
20896
|
});
|
|
21097
20897
|
|
|
@@ -21387,7 +21187,7 @@ function render(testJsx) {
|
|
|
21387
21187
|
return _this;
|
|
21388
21188
|
}
|
|
21389
21189
|
|
|
21390
|
-
return
|
|
21190
|
+
return ErrorBoundary;
|
|
21391
21191
|
}(React.Component);
|
|
21392
21192
|
|
|
21393
21193
|
ReactDOM.render( /*#__PURE__*/React.createElement(ErrorBoundary, null), element, function () {
|
|
@@ -21595,9 +21395,9 @@ var TagDefaults = {
|
|
|
21595
21395
|
overflow: null
|
|
21596
21396
|
};
|
|
21597
21397
|
|
|
21598
|
-
function ownKeys(object, enumerableOnly) { var keys = keys$1(object); if (getOwnPropertySymbols) { var symbols = getOwnPropertySymbols(object); enumerableOnly
|
|
21398
|
+
function ownKeys(object, enumerableOnly) { var keys = keys$1(object); if (getOwnPropertySymbols) { var symbols = getOwnPropertySymbols(object); if (enumerableOnly) { symbols = symbols.filter(function (sym) { return getOwnPropertyDescriptor(object, sym).enumerable; }); } keys.push.apply(keys, symbols); } return keys; }
|
|
21599
21399
|
|
|
21600
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source =
|
|
21400
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i] != null ? arguments[i] : {}; if (i % 2) { ownKeys(Object(source), true).forEach(function (key) { _defineProperty(target, key, source[key]); }); } else if (getOwnPropertyDescriptors) { defineProperties(target, getOwnPropertyDescriptors(source)); } else { ownKeys(Object(source)).forEach(function (key) { defineProperty$1(target, key, getOwnPropertyDescriptor(source, key)); }); } } return target; }
|
|
21601
21401
|
var makeTag = function makeTag(tagData) {
|
|
21602
21402
|
return _objectSpread(_objectSpread({}, TagDefaults), tagData);
|
|
21603
21403
|
};
|