@digital-ai/devops-page-object-release 0.0.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/.eslintignore +5 -0
- package/.eslintrc.js +7 -0
- package/.turbo/turbo-build.log +12 -0
- package/.turbo/turbo-lint.log +11 -0
- package/.turbo/turbo-tsc.log +4 -0
- package/CHANGELOG.md +7 -0
- package/LICENSE.md +1 -0
- package/README.md +33 -0
- package/dist/main.js +2199 -0
- package/dist/main.js.map +1 -0
- package/dist/module.js +590 -0
- package/dist/module.js.map +1 -0
- package/dist/types.d.ts +205 -0
- package/dist/types.d.ts.map +1 -0
- package/fixtures/helper.ts +168 -0
- package/fixtures/index.ts +191 -0
- package/index.ts +1 -0
- package/package.json +46 -0
- package/pages/ApplicationsPage.ts +32 -0
- package/pages/EnvironmentsPage.ts +25 -0
- package/pages/FolderPage.ts +58 -0
- package/pages/LoginPage.ts +18 -0
- package/pages/PersonalAccessTokenPage.ts +20 -0
- package/pages/ReleasePage.ts +74 -0
- package/pages/ReleaseVariablesPage.ts +19 -0
- package/pages/ReleasesListPage.ts +18 -0
- package/pages/TriggersPage.ts +18 -0
- package/pages/WithPage.ts +9 -0
- package/pages/index.ts +25 -0
- package/pages/task-modal/CustomScriptTaskModal.ts +45 -0
- package/pages/task-modal/TaskModal.ts +19 -0
- package/tsconfig.json +32 -0
- package/types/index.ts +141 -0
package/dist/main.js
ADDED
|
@@ -0,0 +1,2199 @@
|
|
|
1
|
+
var $kKeXs$playwrighttest = require("@playwright/test");
|
|
2
|
+
var $kKeXs$child_process = require("child_process");
|
|
3
|
+
var $kKeXs$process = require("process");
|
|
4
|
+
|
|
5
|
+
var $parcel$global =
|
|
6
|
+
typeof globalThis !== 'undefined'
|
|
7
|
+
? globalThis
|
|
8
|
+
: typeof self !== 'undefined'
|
|
9
|
+
? self
|
|
10
|
+
: typeof window !== 'undefined'
|
|
11
|
+
? window
|
|
12
|
+
: typeof global !== 'undefined'
|
|
13
|
+
? global
|
|
14
|
+
: {};
|
|
15
|
+
function $parcel$export(e, n, v, s) {
|
|
16
|
+
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
17
|
+
}
|
|
18
|
+
function $parcel$interopDefault(a) {
|
|
19
|
+
return a && a.__esModule ? a.default : a;
|
|
20
|
+
}
|
|
21
|
+
var $parcel$modules = {};
|
|
22
|
+
var $parcel$inits = {};
|
|
23
|
+
|
|
24
|
+
var parcelRequire = $parcel$global["parcelRequirebbb4"];
|
|
25
|
+
if (parcelRequire == null) {
|
|
26
|
+
parcelRequire = function(id) {
|
|
27
|
+
if (id in $parcel$modules) {
|
|
28
|
+
return $parcel$modules[id].exports;
|
|
29
|
+
}
|
|
30
|
+
if (id in $parcel$inits) {
|
|
31
|
+
var init = $parcel$inits[id];
|
|
32
|
+
delete $parcel$inits[id];
|
|
33
|
+
var module = {id: id, exports: {}};
|
|
34
|
+
$parcel$modules[id] = module;
|
|
35
|
+
init.call(module.exports, module, module.exports);
|
|
36
|
+
return module.exports;
|
|
37
|
+
}
|
|
38
|
+
var err = new Error("Cannot find module '" + id + "'");
|
|
39
|
+
err.code = 'MODULE_NOT_FOUND';
|
|
40
|
+
throw err;
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
parcelRequire.register = function register(id, init) {
|
|
44
|
+
$parcel$inits[id] = init;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
$parcel$global["parcelRequirebbb4"] = parcelRequire;
|
|
48
|
+
}
|
|
49
|
+
parcelRequire.register("ae8Uz", function(module, exports) {
|
|
50
|
+
|
|
51
|
+
var $if3bv = parcelRequire("if3bv");
|
|
52
|
+
|
|
53
|
+
var $2l8Uu = parcelRequire("2l8Uu");
|
|
54
|
+
|
|
55
|
+
var $ipSPU = parcelRequire("ipSPU");
|
|
56
|
+
|
|
57
|
+
var $2Usyp = parcelRequire("2Usyp");
|
|
58
|
+
/**
|
|
59
|
+
* Iterates over elements of `collection` and invokes `iteratee` for each element.
|
|
60
|
+
* The iteratee is invoked with three arguments: (value, index|key, collection).
|
|
61
|
+
* Iteratee functions may exit iteration early by explicitly returning `false`.
|
|
62
|
+
*
|
|
63
|
+
* **Note:** As with other "Collections" methods, objects with a "length"
|
|
64
|
+
* property are iterated like arrays. To avoid this behavior use `_.forIn`
|
|
65
|
+
* or `_.forOwn` for object iteration.
|
|
66
|
+
*
|
|
67
|
+
* @static
|
|
68
|
+
* @memberOf _
|
|
69
|
+
* @since 0.1.0
|
|
70
|
+
* @alias each
|
|
71
|
+
* @category Collection
|
|
72
|
+
* @param {Array|Object} collection The collection to iterate over.
|
|
73
|
+
* @param {Function} [iteratee=_.identity] The function invoked per iteration.
|
|
74
|
+
* @returns {Array|Object} Returns `collection`.
|
|
75
|
+
* @see _.forEachRight
|
|
76
|
+
* @example
|
|
77
|
+
*
|
|
78
|
+
* _.forEach([1, 2], function(value) {
|
|
79
|
+
* console.log(value);
|
|
80
|
+
* });
|
|
81
|
+
* // => Logs `1` then `2`.
|
|
82
|
+
*
|
|
83
|
+
* _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {
|
|
84
|
+
* console.log(key);
|
|
85
|
+
* });
|
|
86
|
+
* // => Logs 'a' then 'b' (iteration order is not guaranteed).
|
|
87
|
+
*/ function $77221fd24fe8ece0$var$forEach(collection, iteratee) {
|
|
88
|
+
var func = $2Usyp(collection) ? $if3bv : $2l8Uu;
|
|
89
|
+
return func(collection, $ipSPU(iteratee));
|
|
90
|
+
}
|
|
91
|
+
module.exports = $77221fd24fe8ece0$var$forEach;
|
|
92
|
+
|
|
93
|
+
});
|
|
94
|
+
parcelRequire.register("if3bv", function(module, exports) {
|
|
95
|
+
/**
|
|
96
|
+
* A specialized version of `_.forEach` for arrays without support for
|
|
97
|
+
* iteratee shorthands.
|
|
98
|
+
*
|
|
99
|
+
* @private
|
|
100
|
+
* @param {Array} [array] The array to iterate over.
|
|
101
|
+
* @param {Function} iteratee The function invoked per iteration.
|
|
102
|
+
* @returns {Array} Returns `array`.
|
|
103
|
+
*/ function $d47c191a6066686d$var$arrayEach(array, iteratee) {
|
|
104
|
+
var index = -1, length = array == null ? 0 : array.length;
|
|
105
|
+
while(++index < length){
|
|
106
|
+
if (iteratee(array[index], index, array) === false) break;
|
|
107
|
+
}
|
|
108
|
+
return array;
|
|
109
|
+
}
|
|
110
|
+
module.exports = $d47c191a6066686d$var$arrayEach;
|
|
111
|
+
|
|
112
|
+
});
|
|
113
|
+
|
|
114
|
+
parcelRequire.register("2l8Uu", function(module, exports) {
|
|
115
|
+
|
|
116
|
+
var $ax1AE = parcelRequire("ax1AE");
|
|
117
|
+
|
|
118
|
+
var $cspsJ = parcelRequire("cspsJ");
|
|
119
|
+
/**
|
|
120
|
+
* The base implementation of `_.forEach` without support for iteratee shorthands.
|
|
121
|
+
*
|
|
122
|
+
* @private
|
|
123
|
+
* @param {Array|Object} collection The collection to iterate over.
|
|
124
|
+
* @param {Function} iteratee The function invoked per iteration.
|
|
125
|
+
* @returns {Array|Object} Returns `collection`.
|
|
126
|
+
*/ var $1b4474496a1887fd$var$baseEach = $cspsJ($ax1AE);
|
|
127
|
+
module.exports = $1b4474496a1887fd$var$baseEach;
|
|
128
|
+
|
|
129
|
+
});
|
|
130
|
+
parcelRequire.register("ax1AE", function(module, exports) {
|
|
131
|
+
|
|
132
|
+
var $a3suV = parcelRequire("a3suV");
|
|
133
|
+
|
|
134
|
+
var $bqLSx = parcelRequire("bqLSx");
|
|
135
|
+
/**
|
|
136
|
+
* The base implementation of `_.forOwn` without support for iteratee shorthands.
|
|
137
|
+
*
|
|
138
|
+
* @private
|
|
139
|
+
* @param {Object} object The object to iterate over.
|
|
140
|
+
* @param {Function} iteratee The function invoked per iteration.
|
|
141
|
+
* @returns {Object} Returns `object`.
|
|
142
|
+
*/ function $7aae383265fe5755$var$baseForOwn(object, iteratee) {
|
|
143
|
+
return object && $a3suV(object, iteratee, $bqLSx);
|
|
144
|
+
}
|
|
145
|
+
module.exports = $7aae383265fe5755$var$baseForOwn;
|
|
146
|
+
|
|
147
|
+
});
|
|
148
|
+
parcelRequire.register("a3suV", function(module, exports) {
|
|
149
|
+
|
|
150
|
+
var $deULR = parcelRequire("deULR");
|
|
151
|
+
/**
|
|
152
|
+
* The base implementation of `baseForOwn` which iterates over `object`
|
|
153
|
+
* properties returned by `keysFunc` and invokes `iteratee` for each property.
|
|
154
|
+
* Iteratee functions may exit iteration early by explicitly returning `false`.
|
|
155
|
+
*
|
|
156
|
+
* @private
|
|
157
|
+
* @param {Object} object The object to iterate over.
|
|
158
|
+
* @param {Function} iteratee The function invoked per iteration.
|
|
159
|
+
* @param {Function} keysFunc The function to get the keys of `object`.
|
|
160
|
+
* @returns {Object} Returns `object`.
|
|
161
|
+
*/ var $75204a3f129095e7$var$baseFor = $deULR();
|
|
162
|
+
module.exports = $75204a3f129095e7$var$baseFor;
|
|
163
|
+
|
|
164
|
+
});
|
|
165
|
+
parcelRequire.register("deULR", function(module, exports) {
|
|
166
|
+
/**
|
|
167
|
+
* Creates a base function for methods like `_.forIn` and `_.forOwn`.
|
|
168
|
+
*
|
|
169
|
+
* @private
|
|
170
|
+
* @param {boolean} [fromRight] Specify iterating from right to left.
|
|
171
|
+
* @returns {Function} Returns the new base function.
|
|
172
|
+
*/ function $9a389eb405876431$var$createBaseFor(fromRight) {
|
|
173
|
+
return function(object, iteratee, keysFunc) {
|
|
174
|
+
var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length;
|
|
175
|
+
while(length--){
|
|
176
|
+
var key = props[fromRight ? length : ++index];
|
|
177
|
+
if (iteratee(iterable[key], key, iterable) === false) break;
|
|
178
|
+
}
|
|
179
|
+
return object;
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
module.exports = $9a389eb405876431$var$createBaseFor;
|
|
183
|
+
|
|
184
|
+
});
|
|
185
|
+
|
|
186
|
+
|
|
187
|
+
parcelRequire.register("bqLSx", function(module, exports) {
|
|
188
|
+
|
|
189
|
+
var $gYWmw = parcelRequire("gYWmw");
|
|
190
|
+
|
|
191
|
+
var $5SpSk = parcelRequire("5SpSk");
|
|
192
|
+
|
|
193
|
+
var $fegcS = parcelRequire("fegcS");
|
|
194
|
+
/**
|
|
195
|
+
* Creates an array of the own enumerable property names of `object`.
|
|
196
|
+
*
|
|
197
|
+
* **Note:** Non-object values are coerced to objects. See the
|
|
198
|
+
* [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
|
|
199
|
+
* for more details.
|
|
200
|
+
*
|
|
201
|
+
* @static
|
|
202
|
+
* @since 0.1.0
|
|
203
|
+
* @memberOf _
|
|
204
|
+
* @category Object
|
|
205
|
+
* @param {Object} object The object to query.
|
|
206
|
+
* @returns {Array} Returns the array of property names.
|
|
207
|
+
* @example
|
|
208
|
+
*
|
|
209
|
+
* function Foo() {
|
|
210
|
+
* this.a = 1;
|
|
211
|
+
* this.b = 2;
|
|
212
|
+
* }
|
|
213
|
+
*
|
|
214
|
+
* Foo.prototype.c = 3;
|
|
215
|
+
*
|
|
216
|
+
* _.keys(new Foo);
|
|
217
|
+
* // => ['a', 'b'] (iteration order is not guaranteed)
|
|
218
|
+
*
|
|
219
|
+
* _.keys('hi');
|
|
220
|
+
* // => ['0', '1']
|
|
221
|
+
*/ function $8527431deeec6c2a$var$keys(object) {
|
|
222
|
+
return $fegcS(object) ? $gYWmw(object) : $5SpSk(object);
|
|
223
|
+
}
|
|
224
|
+
module.exports = $8527431deeec6c2a$var$keys;
|
|
225
|
+
|
|
226
|
+
});
|
|
227
|
+
parcelRequire.register("gYWmw", function(module, exports) {
|
|
228
|
+
|
|
229
|
+
var $gz1nb = parcelRequire("gz1nb");
|
|
230
|
+
|
|
231
|
+
var $8LTQB = parcelRequire("8LTQB");
|
|
232
|
+
|
|
233
|
+
var $2Usyp = parcelRequire("2Usyp");
|
|
234
|
+
|
|
235
|
+
var $idgiu = parcelRequire("idgiu");
|
|
236
|
+
|
|
237
|
+
var $gf9YK = parcelRequire("gf9YK");
|
|
238
|
+
|
|
239
|
+
var $lzqmK = parcelRequire("lzqmK");
|
|
240
|
+
/** Used for built-in method references. */ var $c5cf8579062db926$var$objectProto = Object.prototype;
|
|
241
|
+
/** Used to check objects for own properties. */ var $c5cf8579062db926$var$hasOwnProperty = $c5cf8579062db926$var$objectProto.hasOwnProperty;
|
|
242
|
+
/**
|
|
243
|
+
* Creates an array of the enumerable property names of the array-like `value`.
|
|
244
|
+
*
|
|
245
|
+
* @private
|
|
246
|
+
* @param {*} value The value to query.
|
|
247
|
+
* @param {boolean} inherited Specify returning inherited property names.
|
|
248
|
+
* @returns {Array} Returns the array of property names.
|
|
249
|
+
*/ function $c5cf8579062db926$var$arrayLikeKeys(value, inherited) {
|
|
250
|
+
var isArr = $2Usyp(value), isArg = !isArr && $8LTQB(value), isBuff = !isArr && !isArg && $idgiu(value), isType = !isArr && !isArg && !isBuff && $lzqmK(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? $gz1nb(value.length, String) : [], length = result.length;
|
|
251
|
+
for(var key in value)if ((inherited || $c5cf8579062db926$var$hasOwnProperty.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
252
|
+
(key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
253
|
+
isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
254
|
+
isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
|
|
255
|
+
$gf9YK(key, length)))) result.push(key);
|
|
256
|
+
return result;
|
|
257
|
+
}
|
|
258
|
+
module.exports = $c5cf8579062db926$var$arrayLikeKeys;
|
|
259
|
+
|
|
260
|
+
});
|
|
261
|
+
parcelRequire.register("gz1nb", function(module, exports) {
|
|
262
|
+
/**
|
|
263
|
+
* The base implementation of `_.times` without support for iteratee shorthands
|
|
264
|
+
* or max array length checks.
|
|
265
|
+
*
|
|
266
|
+
* @private
|
|
267
|
+
* @param {number} n The number of times to invoke `iteratee`.
|
|
268
|
+
* @param {Function} iteratee The function invoked per iteration.
|
|
269
|
+
* @returns {Array} Returns the array of results.
|
|
270
|
+
*/ function $c0f0fad72bc78019$var$baseTimes(n, iteratee) {
|
|
271
|
+
var index = -1, result = Array(n);
|
|
272
|
+
while(++index < n)result[index] = iteratee(index);
|
|
273
|
+
return result;
|
|
274
|
+
}
|
|
275
|
+
module.exports = $c0f0fad72bc78019$var$baseTimes;
|
|
276
|
+
|
|
277
|
+
});
|
|
278
|
+
|
|
279
|
+
parcelRequire.register("8LTQB", function(module, exports) {
|
|
280
|
+
|
|
281
|
+
var $hxsLG = parcelRequire("hxsLG");
|
|
282
|
+
|
|
283
|
+
var $bgsKG = parcelRequire("bgsKG");
|
|
284
|
+
/** Used for built-in method references. */ var $662e08a8381b4c75$var$objectProto = Object.prototype;
|
|
285
|
+
/** Used to check objects for own properties. */ var $662e08a8381b4c75$var$hasOwnProperty = $662e08a8381b4c75$var$objectProto.hasOwnProperty;
|
|
286
|
+
/** Built-in value references. */ var $662e08a8381b4c75$var$propertyIsEnumerable = $662e08a8381b4c75$var$objectProto.propertyIsEnumerable;
|
|
287
|
+
/**
|
|
288
|
+
* Checks if `value` is likely an `arguments` object.
|
|
289
|
+
*
|
|
290
|
+
* @static
|
|
291
|
+
* @memberOf _
|
|
292
|
+
* @since 0.1.0
|
|
293
|
+
* @category Lang
|
|
294
|
+
* @param {*} value The value to check.
|
|
295
|
+
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
296
|
+
* else `false`.
|
|
297
|
+
* @example
|
|
298
|
+
*
|
|
299
|
+
* _.isArguments(function() { return arguments; }());
|
|
300
|
+
* // => true
|
|
301
|
+
*
|
|
302
|
+
* _.isArguments([1, 2, 3]);
|
|
303
|
+
* // => false
|
|
304
|
+
*/ var $662e08a8381b4c75$var$isArguments = $hxsLG(function() {
|
|
305
|
+
return arguments;
|
|
306
|
+
}()) ? $hxsLG : function(value) {
|
|
307
|
+
return $bgsKG(value) && $662e08a8381b4c75$var$hasOwnProperty.call(value, "callee") && !$662e08a8381b4c75$var$propertyIsEnumerable.call(value, "callee");
|
|
308
|
+
};
|
|
309
|
+
module.exports = $662e08a8381b4c75$var$isArguments;
|
|
310
|
+
|
|
311
|
+
});
|
|
312
|
+
parcelRequire.register("hxsLG", function(module, exports) {
|
|
313
|
+
|
|
314
|
+
var $hi3Ib = parcelRequire("hi3Ib");
|
|
315
|
+
|
|
316
|
+
var $bgsKG = parcelRequire("bgsKG");
|
|
317
|
+
/** `Object#toString` result references. */ var $cc4bd57510ea7078$var$argsTag = "[object Arguments]";
|
|
318
|
+
/**
|
|
319
|
+
* The base implementation of `_.isArguments`.
|
|
320
|
+
*
|
|
321
|
+
* @private
|
|
322
|
+
* @param {*} value The value to check.
|
|
323
|
+
* @returns {boolean} Returns `true` if `value` is an `arguments` object,
|
|
324
|
+
*/ function $cc4bd57510ea7078$var$baseIsArguments(value) {
|
|
325
|
+
return $bgsKG(value) && $hi3Ib(value) == $cc4bd57510ea7078$var$argsTag;
|
|
326
|
+
}
|
|
327
|
+
module.exports = $cc4bd57510ea7078$var$baseIsArguments;
|
|
328
|
+
|
|
329
|
+
});
|
|
330
|
+
parcelRequire.register("hi3Ib", function(module, exports) {
|
|
331
|
+
|
|
332
|
+
var $33zvE = parcelRequire("33zvE");
|
|
333
|
+
|
|
334
|
+
var $2Tcgw = parcelRequire("2Tcgw");
|
|
335
|
+
|
|
336
|
+
var $cv8l6 = parcelRequire("cv8l6");
|
|
337
|
+
/** `Object#toString` result references. */ var $c966ff2fe64e158e$var$nullTag = "[object Null]", $c966ff2fe64e158e$var$undefinedTag = "[object Undefined]";
|
|
338
|
+
/** Built-in value references. */ var $c966ff2fe64e158e$var$symToStringTag = $33zvE ? $33zvE.toStringTag : undefined;
|
|
339
|
+
/**
|
|
340
|
+
* The base implementation of `getTag` without fallbacks for buggy environments.
|
|
341
|
+
*
|
|
342
|
+
* @private
|
|
343
|
+
* @param {*} value The value to query.
|
|
344
|
+
* @returns {string} Returns the `toStringTag`.
|
|
345
|
+
*/ function $c966ff2fe64e158e$var$baseGetTag(value) {
|
|
346
|
+
if (value == null) return value === undefined ? $c966ff2fe64e158e$var$undefinedTag : $c966ff2fe64e158e$var$nullTag;
|
|
347
|
+
return $c966ff2fe64e158e$var$symToStringTag && $c966ff2fe64e158e$var$symToStringTag in Object(value) ? $2Tcgw(value) : $cv8l6(value);
|
|
348
|
+
}
|
|
349
|
+
module.exports = $c966ff2fe64e158e$var$baseGetTag;
|
|
350
|
+
|
|
351
|
+
});
|
|
352
|
+
parcelRequire.register("33zvE", function(module, exports) {
|
|
353
|
+
|
|
354
|
+
var $5iYlB = parcelRequire("5iYlB");
|
|
355
|
+
/** Built-in value references. */ var $239d32598d6cdac9$var$Symbol = $5iYlB.Symbol;
|
|
356
|
+
module.exports = $239d32598d6cdac9$var$Symbol;
|
|
357
|
+
|
|
358
|
+
});
|
|
359
|
+
parcelRequire.register("5iYlB", function(module, exports) {
|
|
360
|
+
|
|
361
|
+
var $49MbZ = parcelRequire("49MbZ");
|
|
362
|
+
/** Detect free variable `self`. */ var $3dcd71eeb25c129e$var$freeSelf = typeof self == "object" && self && self.Object === Object && self;
|
|
363
|
+
/** Used as a reference to the global object. */ var $3dcd71eeb25c129e$var$root = $49MbZ || $3dcd71eeb25c129e$var$freeSelf || Function("return this")();
|
|
364
|
+
module.exports = $3dcd71eeb25c129e$var$root;
|
|
365
|
+
|
|
366
|
+
});
|
|
367
|
+
parcelRequire.register("49MbZ", function(module, exports) {
|
|
368
|
+
/** Detect free variable `global` from Node.js. */ var $306d62afd7ca0922$var$freeGlobal = typeof $parcel$global == "object" && $parcel$global && $parcel$global.Object === Object && $parcel$global;
|
|
369
|
+
module.exports = $306d62afd7ca0922$var$freeGlobal;
|
|
370
|
+
|
|
371
|
+
});
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
parcelRequire.register("2Tcgw", function(module, exports) {
|
|
376
|
+
|
|
377
|
+
var $33zvE = parcelRequire("33zvE");
|
|
378
|
+
/** Used for built-in method references. */ var $21aa3b810db36013$var$objectProto = Object.prototype;
|
|
379
|
+
/** Used to check objects for own properties. */ var $21aa3b810db36013$var$hasOwnProperty = $21aa3b810db36013$var$objectProto.hasOwnProperty;
|
|
380
|
+
/**
|
|
381
|
+
* Used to resolve the
|
|
382
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
383
|
+
* of values.
|
|
384
|
+
*/ var $21aa3b810db36013$var$nativeObjectToString = $21aa3b810db36013$var$objectProto.toString;
|
|
385
|
+
/** Built-in value references. */ var $21aa3b810db36013$var$symToStringTag = $33zvE ? $33zvE.toStringTag : undefined;
|
|
386
|
+
/**
|
|
387
|
+
* A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.
|
|
388
|
+
*
|
|
389
|
+
* @private
|
|
390
|
+
* @param {*} value The value to query.
|
|
391
|
+
* @returns {string} Returns the raw `toStringTag`.
|
|
392
|
+
*/ function $21aa3b810db36013$var$getRawTag(value) {
|
|
393
|
+
var isOwn = $21aa3b810db36013$var$hasOwnProperty.call(value, $21aa3b810db36013$var$symToStringTag), tag = value[$21aa3b810db36013$var$symToStringTag];
|
|
394
|
+
try {
|
|
395
|
+
value[$21aa3b810db36013$var$symToStringTag] = undefined;
|
|
396
|
+
var unmasked = true;
|
|
397
|
+
} catch (e) {}
|
|
398
|
+
var result = $21aa3b810db36013$var$nativeObjectToString.call(value);
|
|
399
|
+
if (unmasked) {
|
|
400
|
+
if (isOwn) value[$21aa3b810db36013$var$symToStringTag] = tag;
|
|
401
|
+
else delete value[$21aa3b810db36013$var$symToStringTag];
|
|
402
|
+
}
|
|
403
|
+
return result;
|
|
404
|
+
}
|
|
405
|
+
module.exports = $21aa3b810db36013$var$getRawTag;
|
|
406
|
+
|
|
407
|
+
});
|
|
408
|
+
|
|
409
|
+
parcelRequire.register("cv8l6", function(module, exports) {
|
|
410
|
+
/** Used for built-in method references. */ var $919ed955bd27d784$var$objectProto = Object.prototype;
|
|
411
|
+
/**
|
|
412
|
+
* Used to resolve the
|
|
413
|
+
* [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)
|
|
414
|
+
* of values.
|
|
415
|
+
*/ var $919ed955bd27d784$var$nativeObjectToString = $919ed955bd27d784$var$objectProto.toString;
|
|
416
|
+
/**
|
|
417
|
+
* Converts `value` to a string using `Object.prototype.toString`.
|
|
418
|
+
*
|
|
419
|
+
* @private
|
|
420
|
+
* @param {*} value The value to convert.
|
|
421
|
+
* @returns {string} Returns the converted string.
|
|
422
|
+
*/ function $919ed955bd27d784$var$objectToString(value) {
|
|
423
|
+
return $919ed955bd27d784$var$nativeObjectToString.call(value);
|
|
424
|
+
}
|
|
425
|
+
module.exports = $919ed955bd27d784$var$objectToString;
|
|
426
|
+
|
|
427
|
+
});
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
parcelRequire.register("bgsKG", function(module, exports) {
|
|
431
|
+
/**
|
|
432
|
+
* Checks if `value` is object-like. A value is object-like if it's not `null`
|
|
433
|
+
* and has a `typeof` result of "object".
|
|
434
|
+
*
|
|
435
|
+
* @static
|
|
436
|
+
* @memberOf _
|
|
437
|
+
* @since 4.0.0
|
|
438
|
+
* @category Lang
|
|
439
|
+
* @param {*} value The value to check.
|
|
440
|
+
* @returns {boolean} Returns `true` if `value` is object-like, else `false`.
|
|
441
|
+
* @example
|
|
442
|
+
*
|
|
443
|
+
* _.isObjectLike({});
|
|
444
|
+
* // => true
|
|
445
|
+
*
|
|
446
|
+
* _.isObjectLike([1, 2, 3]);
|
|
447
|
+
* // => true
|
|
448
|
+
*
|
|
449
|
+
* _.isObjectLike(_.noop);
|
|
450
|
+
* // => false
|
|
451
|
+
*
|
|
452
|
+
* _.isObjectLike(null);
|
|
453
|
+
* // => false
|
|
454
|
+
*/ function $83377ddc8d7a5966$var$isObjectLike(value) {
|
|
455
|
+
return value != null && typeof value == "object";
|
|
456
|
+
}
|
|
457
|
+
module.exports = $83377ddc8d7a5966$var$isObjectLike;
|
|
458
|
+
|
|
459
|
+
});
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
parcelRequire.register("2Usyp", function(module, exports) {
|
|
464
|
+
/**
|
|
465
|
+
* Checks if `value` is classified as an `Array` object.
|
|
466
|
+
*
|
|
467
|
+
* @static
|
|
468
|
+
* @memberOf _
|
|
469
|
+
* @since 0.1.0
|
|
470
|
+
* @category Lang
|
|
471
|
+
* @param {*} value The value to check.
|
|
472
|
+
* @returns {boolean} Returns `true` if `value` is an array, else `false`.
|
|
473
|
+
* @example
|
|
474
|
+
*
|
|
475
|
+
* _.isArray([1, 2, 3]);
|
|
476
|
+
* // => true
|
|
477
|
+
*
|
|
478
|
+
* _.isArray(document.body.children);
|
|
479
|
+
* // => false
|
|
480
|
+
*
|
|
481
|
+
* _.isArray('abc');
|
|
482
|
+
* // => false
|
|
483
|
+
*
|
|
484
|
+
* _.isArray(_.noop);
|
|
485
|
+
* // => false
|
|
486
|
+
*/ var $21e6f5f3ece61e92$var$isArray = Array.isArray;
|
|
487
|
+
module.exports = $21e6f5f3ece61e92$var$isArray;
|
|
488
|
+
|
|
489
|
+
});
|
|
490
|
+
|
|
491
|
+
parcelRequire.register("idgiu", function(module, exports) {
|
|
492
|
+
|
|
493
|
+
var $5iYlB = parcelRequire("5iYlB");
|
|
494
|
+
|
|
495
|
+
var $9KhLl = parcelRequire("9KhLl");
|
|
496
|
+
/** Detect free variable `exports`. */ var freeExports = exports && !exports.nodeType && exports;
|
|
497
|
+
/** Detect free variable `module`. */ var freeModule = freeExports && true && module && !module.nodeType && module;
|
|
498
|
+
/** Detect the popular CommonJS extension `module.exports`. */ var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
499
|
+
/** Built-in value references. */ var Buffer = moduleExports ? $5iYlB.Buffer : undefined;
|
|
500
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */ var nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;
|
|
501
|
+
/**
|
|
502
|
+
* Checks if `value` is a buffer.
|
|
503
|
+
*
|
|
504
|
+
* @static
|
|
505
|
+
* @memberOf _
|
|
506
|
+
* @since 4.3.0
|
|
507
|
+
* @category Lang
|
|
508
|
+
* @param {*} value The value to check.
|
|
509
|
+
* @returns {boolean} Returns `true` if `value` is a buffer, else `false`.
|
|
510
|
+
* @example
|
|
511
|
+
*
|
|
512
|
+
* _.isBuffer(new Buffer(2));
|
|
513
|
+
* // => true
|
|
514
|
+
*
|
|
515
|
+
* _.isBuffer(new Uint8Array(2));
|
|
516
|
+
* // => false
|
|
517
|
+
*/ var isBuffer = nativeIsBuffer || $9KhLl;
|
|
518
|
+
module.exports = isBuffer;
|
|
519
|
+
|
|
520
|
+
});
|
|
521
|
+
parcelRequire.register("9KhLl", function(module, exports) {
|
|
522
|
+
/**
|
|
523
|
+
* This method returns `false`.
|
|
524
|
+
*
|
|
525
|
+
* @static
|
|
526
|
+
* @memberOf _
|
|
527
|
+
* @since 4.13.0
|
|
528
|
+
* @category Util
|
|
529
|
+
* @returns {boolean} Returns `false`.
|
|
530
|
+
* @example
|
|
531
|
+
*
|
|
532
|
+
* _.times(2, _.stubFalse);
|
|
533
|
+
* // => [false, false]
|
|
534
|
+
*/ function $7186303c7d11e446$var$stubFalse() {
|
|
535
|
+
return false;
|
|
536
|
+
}
|
|
537
|
+
module.exports = $7186303c7d11e446$var$stubFalse;
|
|
538
|
+
|
|
539
|
+
});
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
parcelRequire.register("gf9YK", function(module, exports) {
|
|
543
|
+
/** Used as references for various `Number` constants. */ var $bd35c99de70ca139$var$MAX_SAFE_INTEGER = 9007199254740991;
|
|
544
|
+
/** Used to detect unsigned integer values. */ var $bd35c99de70ca139$var$reIsUint = /^(?:0|[1-9]\d*)$/;
|
|
545
|
+
/**
|
|
546
|
+
* Checks if `value` is a valid array-like index.
|
|
547
|
+
*
|
|
548
|
+
* @private
|
|
549
|
+
* @param {*} value The value to check.
|
|
550
|
+
* @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.
|
|
551
|
+
* @returns {boolean} Returns `true` if `value` is a valid index, else `false`.
|
|
552
|
+
*/ function $bd35c99de70ca139$var$isIndex(value, length) {
|
|
553
|
+
var type = typeof value;
|
|
554
|
+
length = length == null ? $bd35c99de70ca139$var$MAX_SAFE_INTEGER : length;
|
|
555
|
+
return !!length && (type == "number" || type != "symbol" && $bd35c99de70ca139$var$reIsUint.test(value)) && value > -1 && value % 1 == 0 && value < length;
|
|
556
|
+
}
|
|
557
|
+
module.exports = $bd35c99de70ca139$var$isIndex;
|
|
558
|
+
|
|
559
|
+
});
|
|
560
|
+
|
|
561
|
+
parcelRequire.register("lzqmK", function(module, exports) {
|
|
562
|
+
|
|
563
|
+
var $848l6 = parcelRequire("848l6");
|
|
564
|
+
|
|
565
|
+
var $hC6XM = parcelRequire("hC6XM");
|
|
566
|
+
|
|
567
|
+
var $2AM04 = parcelRequire("2AM04");
|
|
568
|
+
/* Node.js helper references. */ var $fb415196a9fad047$var$nodeIsTypedArray = $2AM04 && $2AM04.isTypedArray;
|
|
569
|
+
/**
|
|
570
|
+
* Checks if `value` is classified as a typed array.
|
|
571
|
+
*
|
|
572
|
+
* @static
|
|
573
|
+
* @memberOf _
|
|
574
|
+
* @since 3.0.0
|
|
575
|
+
* @category Lang
|
|
576
|
+
* @param {*} value The value to check.
|
|
577
|
+
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
|
578
|
+
* @example
|
|
579
|
+
*
|
|
580
|
+
* _.isTypedArray(new Uint8Array);
|
|
581
|
+
* // => true
|
|
582
|
+
*
|
|
583
|
+
* _.isTypedArray([]);
|
|
584
|
+
* // => false
|
|
585
|
+
*/ var $fb415196a9fad047$var$isTypedArray = $fb415196a9fad047$var$nodeIsTypedArray ? $hC6XM($fb415196a9fad047$var$nodeIsTypedArray) : $848l6;
|
|
586
|
+
module.exports = $fb415196a9fad047$var$isTypedArray;
|
|
587
|
+
|
|
588
|
+
});
|
|
589
|
+
parcelRequire.register("848l6", function(module, exports) {
|
|
590
|
+
|
|
591
|
+
var $hi3Ib = parcelRequire("hi3Ib");
|
|
592
|
+
|
|
593
|
+
var $GRq4w = parcelRequire("GRq4w");
|
|
594
|
+
|
|
595
|
+
var $bgsKG = parcelRequire("bgsKG");
|
|
596
|
+
/** `Object#toString` result references. */ var $5df52a7f3e93e107$var$argsTag = "[object Arguments]", $5df52a7f3e93e107$var$arrayTag = "[object Array]", $5df52a7f3e93e107$var$boolTag = "[object Boolean]", $5df52a7f3e93e107$var$dateTag = "[object Date]", $5df52a7f3e93e107$var$errorTag = "[object Error]", $5df52a7f3e93e107$var$funcTag = "[object Function]", $5df52a7f3e93e107$var$mapTag = "[object Map]", $5df52a7f3e93e107$var$numberTag = "[object Number]", $5df52a7f3e93e107$var$objectTag = "[object Object]", $5df52a7f3e93e107$var$regexpTag = "[object RegExp]", $5df52a7f3e93e107$var$setTag = "[object Set]", $5df52a7f3e93e107$var$stringTag = "[object String]", $5df52a7f3e93e107$var$weakMapTag = "[object WeakMap]";
|
|
597
|
+
var $5df52a7f3e93e107$var$arrayBufferTag = "[object ArrayBuffer]", $5df52a7f3e93e107$var$dataViewTag = "[object DataView]", $5df52a7f3e93e107$var$float32Tag = "[object Float32Array]", $5df52a7f3e93e107$var$float64Tag = "[object Float64Array]", $5df52a7f3e93e107$var$int8Tag = "[object Int8Array]", $5df52a7f3e93e107$var$int16Tag = "[object Int16Array]", $5df52a7f3e93e107$var$int32Tag = "[object Int32Array]", $5df52a7f3e93e107$var$uint8Tag = "[object Uint8Array]", $5df52a7f3e93e107$var$uint8ClampedTag = "[object Uint8ClampedArray]", $5df52a7f3e93e107$var$uint16Tag = "[object Uint16Array]", $5df52a7f3e93e107$var$uint32Tag = "[object Uint32Array]";
|
|
598
|
+
/** Used to identify `toStringTag` values of typed arrays. */ var $5df52a7f3e93e107$var$typedArrayTags = {};
|
|
599
|
+
$5df52a7f3e93e107$var$typedArrayTags[$5df52a7f3e93e107$var$float32Tag] = $5df52a7f3e93e107$var$typedArrayTags[$5df52a7f3e93e107$var$float64Tag] = $5df52a7f3e93e107$var$typedArrayTags[$5df52a7f3e93e107$var$int8Tag] = $5df52a7f3e93e107$var$typedArrayTags[$5df52a7f3e93e107$var$int16Tag] = $5df52a7f3e93e107$var$typedArrayTags[$5df52a7f3e93e107$var$int32Tag] = $5df52a7f3e93e107$var$typedArrayTags[$5df52a7f3e93e107$var$uint8Tag] = $5df52a7f3e93e107$var$typedArrayTags[$5df52a7f3e93e107$var$uint8ClampedTag] = $5df52a7f3e93e107$var$typedArrayTags[$5df52a7f3e93e107$var$uint16Tag] = $5df52a7f3e93e107$var$typedArrayTags[$5df52a7f3e93e107$var$uint32Tag] = true;
|
|
600
|
+
$5df52a7f3e93e107$var$typedArrayTags[$5df52a7f3e93e107$var$argsTag] = $5df52a7f3e93e107$var$typedArrayTags[$5df52a7f3e93e107$var$arrayTag] = $5df52a7f3e93e107$var$typedArrayTags[$5df52a7f3e93e107$var$arrayBufferTag] = $5df52a7f3e93e107$var$typedArrayTags[$5df52a7f3e93e107$var$boolTag] = $5df52a7f3e93e107$var$typedArrayTags[$5df52a7f3e93e107$var$dataViewTag] = $5df52a7f3e93e107$var$typedArrayTags[$5df52a7f3e93e107$var$dateTag] = $5df52a7f3e93e107$var$typedArrayTags[$5df52a7f3e93e107$var$errorTag] = $5df52a7f3e93e107$var$typedArrayTags[$5df52a7f3e93e107$var$funcTag] = $5df52a7f3e93e107$var$typedArrayTags[$5df52a7f3e93e107$var$mapTag] = $5df52a7f3e93e107$var$typedArrayTags[$5df52a7f3e93e107$var$numberTag] = $5df52a7f3e93e107$var$typedArrayTags[$5df52a7f3e93e107$var$objectTag] = $5df52a7f3e93e107$var$typedArrayTags[$5df52a7f3e93e107$var$regexpTag] = $5df52a7f3e93e107$var$typedArrayTags[$5df52a7f3e93e107$var$setTag] = $5df52a7f3e93e107$var$typedArrayTags[$5df52a7f3e93e107$var$stringTag] = $5df52a7f3e93e107$var$typedArrayTags[$5df52a7f3e93e107$var$weakMapTag] = false;
|
|
601
|
+
/**
|
|
602
|
+
* The base implementation of `_.isTypedArray` without Node.js optimizations.
|
|
603
|
+
*
|
|
604
|
+
* @private
|
|
605
|
+
* @param {*} value The value to check.
|
|
606
|
+
* @returns {boolean} Returns `true` if `value` is a typed array, else `false`.
|
|
607
|
+
*/ function $5df52a7f3e93e107$var$baseIsTypedArray(value) {
|
|
608
|
+
return $bgsKG(value) && $GRq4w(value.length) && !!$5df52a7f3e93e107$var$typedArrayTags[$hi3Ib(value)];
|
|
609
|
+
}
|
|
610
|
+
module.exports = $5df52a7f3e93e107$var$baseIsTypedArray;
|
|
611
|
+
|
|
612
|
+
});
|
|
613
|
+
parcelRequire.register("GRq4w", function(module, exports) {
|
|
614
|
+
/** Used as references for various `Number` constants. */ var $080d5c5ca0275e2c$var$MAX_SAFE_INTEGER = 9007199254740991;
|
|
615
|
+
/**
|
|
616
|
+
* Checks if `value` is a valid array-like length.
|
|
617
|
+
*
|
|
618
|
+
* **Note:** This method is loosely based on
|
|
619
|
+
* [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).
|
|
620
|
+
*
|
|
621
|
+
* @static
|
|
622
|
+
* @memberOf _
|
|
623
|
+
* @since 4.0.0
|
|
624
|
+
* @category Lang
|
|
625
|
+
* @param {*} value The value to check.
|
|
626
|
+
* @returns {boolean} Returns `true` if `value` is a valid length, else `false`.
|
|
627
|
+
* @example
|
|
628
|
+
*
|
|
629
|
+
* _.isLength(3);
|
|
630
|
+
* // => true
|
|
631
|
+
*
|
|
632
|
+
* _.isLength(Number.MIN_VALUE);
|
|
633
|
+
* // => false
|
|
634
|
+
*
|
|
635
|
+
* _.isLength(Infinity);
|
|
636
|
+
* // => false
|
|
637
|
+
*
|
|
638
|
+
* _.isLength('3');
|
|
639
|
+
* // => false
|
|
640
|
+
*/ function $080d5c5ca0275e2c$var$isLength(value) {
|
|
641
|
+
return typeof value == "number" && value > -1 && value % 1 == 0 && value <= $080d5c5ca0275e2c$var$MAX_SAFE_INTEGER;
|
|
642
|
+
}
|
|
643
|
+
module.exports = $080d5c5ca0275e2c$var$isLength;
|
|
644
|
+
|
|
645
|
+
});
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
parcelRequire.register("hC6XM", function(module, exports) {
|
|
649
|
+
/**
|
|
650
|
+
* The base implementation of `_.unary` without support for storing metadata.
|
|
651
|
+
*
|
|
652
|
+
* @private
|
|
653
|
+
* @param {Function} func The function to cap arguments for.
|
|
654
|
+
* @returns {Function} Returns the new capped function.
|
|
655
|
+
*/ function $cd2b630003218a33$var$baseUnary(func) {
|
|
656
|
+
return function(value) {
|
|
657
|
+
return func(value);
|
|
658
|
+
};
|
|
659
|
+
}
|
|
660
|
+
module.exports = $cd2b630003218a33$var$baseUnary;
|
|
661
|
+
|
|
662
|
+
});
|
|
663
|
+
|
|
664
|
+
parcelRequire.register("2AM04", function(module, exports) {
|
|
665
|
+
|
|
666
|
+
var $49MbZ = parcelRequire("49MbZ");
|
|
667
|
+
/** Detect free variable `exports`. */ var freeExports = exports && !exports.nodeType && exports;
|
|
668
|
+
/** Detect free variable `module`. */ var freeModule = freeExports && true && module && !module.nodeType && module;
|
|
669
|
+
/** Detect the popular CommonJS extension `module.exports`. */ var moduleExports = freeModule && freeModule.exports === freeExports;
|
|
670
|
+
/** Detect free variable `process` from Node.js. */ var freeProcess = moduleExports && $49MbZ.process;
|
|
671
|
+
/** Used to access faster Node.js helpers. */ var nodeUtil = function() {
|
|
672
|
+
try {
|
|
673
|
+
// Use `util.types` for Node.js 10+.
|
|
674
|
+
var types = freeModule && freeModule.require && freeModule.require("util").types;
|
|
675
|
+
if (types) return types;
|
|
676
|
+
// Legacy `process.binding('util')` for Node.js < 10.
|
|
677
|
+
return freeProcess && freeProcess.binding && freeProcess.binding("util");
|
|
678
|
+
} catch (e) {}
|
|
679
|
+
}();
|
|
680
|
+
module.exports = nodeUtil;
|
|
681
|
+
|
|
682
|
+
});
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
|
|
686
|
+
parcelRequire.register("5SpSk", function(module, exports) {
|
|
687
|
+
|
|
688
|
+
var $cjTq2 = parcelRequire("cjTq2");
|
|
689
|
+
|
|
690
|
+
var $iPQNZ = parcelRequire("iPQNZ");
|
|
691
|
+
/** Used for built-in method references. */ var $4476112df1062502$var$objectProto = Object.prototype;
|
|
692
|
+
/** Used to check objects for own properties. */ var $4476112df1062502$var$hasOwnProperty = $4476112df1062502$var$objectProto.hasOwnProperty;
|
|
693
|
+
/**
|
|
694
|
+
* The base implementation of `_.keys` which doesn't treat sparse arrays as dense.
|
|
695
|
+
*
|
|
696
|
+
* @private
|
|
697
|
+
* @param {Object} object The object to query.
|
|
698
|
+
* @returns {Array} Returns the array of property names.
|
|
699
|
+
*/ function $4476112df1062502$var$baseKeys(object) {
|
|
700
|
+
if (!$cjTq2(object)) return $iPQNZ(object);
|
|
701
|
+
var result = [];
|
|
702
|
+
for(var key in Object(object))if ($4476112df1062502$var$hasOwnProperty.call(object, key) && key != "constructor") result.push(key);
|
|
703
|
+
return result;
|
|
704
|
+
}
|
|
705
|
+
module.exports = $4476112df1062502$var$baseKeys;
|
|
706
|
+
|
|
707
|
+
});
|
|
708
|
+
parcelRequire.register("cjTq2", function(module, exports) {
|
|
709
|
+
/** Used for built-in method references. */ var $8f823f6fd52b54cf$var$objectProto = Object.prototype;
|
|
710
|
+
/**
|
|
711
|
+
* Checks if `value` is likely a prototype object.
|
|
712
|
+
*
|
|
713
|
+
* @private
|
|
714
|
+
* @param {*} value The value to check.
|
|
715
|
+
* @returns {boolean} Returns `true` if `value` is a prototype, else `false`.
|
|
716
|
+
*/ function $8f823f6fd52b54cf$var$isPrototype(value) {
|
|
717
|
+
var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || $8f823f6fd52b54cf$var$objectProto;
|
|
718
|
+
return value === proto;
|
|
719
|
+
}
|
|
720
|
+
module.exports = $8f823f6fd52b54cf$var$isPrototype;
|
|
721
|
+
|
|
722
|
+
});
|
|
723
|
+
|
|
724
|
+
parcelRequire.register("iPQNZ", function(module, exports) {
|
|
725
|
+
|
|
726
|
+
var $04U0w = parcelRequire("04U0w");
|
|
727
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */ var $db65f36e97439269$var$nativeKeys = $04U0w(Object.keys, Object);
|
|
728
|
+
module.exports = $db65f36e97439269$var$nativeKeys;
|
|
729
|
+
|
|
730
|
+
});
|
|
731
|
+
parcelRequire.register("04U0w", function(module, exports) {
|
|
732
|
+
/**
|
|
733
|
+
* Creates a unary function that invokes `func` with its argument transformed.
|
|
734
|
+
*
|
|
735
|
+
* @private
|
|
736
|
+
* @param {Function} func The function to wrap.
|
|
737
|
+
* @param {Function} transform The argument transform.
|
|
738
|
+
* @returns {Function} Returns the new function.
|
|
739
|
+
*/ function $00ebd1c20056e7e8$var$overArg(func, transform) {
|
|
740
|
+
return function(arg) {
|
|
741
|
+
return func(transform(arg));
|
|
742
|
+
};
|
|
743
|
+
}
|
|
744
|
+
module.exports = $00ebd1c20056e7e8$var$overArg;
|
|
745
|
+
|
|
746
|
+
});
|
|
747
|
+
|
|
748
|
+
|
|
749
|
+
|
|
750
|
+
parcelRequire.register("fegcS", function(module, exports) {
|
|
751
|
+
|
|
752
|
+
var $7T6pQ = parcelRequire("7T6pQ");
|
|
753
|
+
|
|
754
|
+
var $GRq4w = parcelRequire("GRq4w");
|
|
755
|
+
/**
|
|
756
|
+
* Checks if `value` is array-like. A value is considered array-like if it's
|
|
757
|
+
* not a function and has a `value.length` that's an integer greater than or
|
|
758
|
+
* equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.
|
|
759
|
+
*
|
|
760
|
+
* @static
|
|
761
|
+
* @memberOf _
|
|
762
|
+
* @since 4.0.0
|
|
763
|
+
* @category Lang
|
|
764
|
+
* @param {*} value The value to check.
|
|
765
|
+
* @returns {boolean} Returns `true` if `value` is array-like, else `false`.
|
|
766
|
+
* @example
|
|
767
|
+
*
|
|
768
|
+
* _.isArrayLike([1, 2, 3]);
|
|
769
|
+
* // => true
|
|
770
|
+
*
|
|
771
|
+
* _.isArrayLike(document.body.children);
|
|
772
|
+
* // => true
|
|
773
|
+
*
|
|
774
|
+
* _.isArrayLike('abc');
|
|
775
|
+
* // => true
|
|
776
|
+
*
|
|
777
|
+
* _.isArrayLike(_.noop);
|
|
778
|
+
* // => false
|
|
779
|
+
*/ function $b164bc22cc2a523c$var$isArrayLike(value) {
|
|
780
|
+
return value != null && $GRq4w(value.length) && !$7T6pQ(value);
|
|
781
|
+
}
|
|
782
|
+
module.exports = $b164bc22cc2a523c$var$isArrayLike;
|
|
783
|
+
|
|
784
|
+
});
|
|
785
|
+
parcelRequire.register("7T6pQ", function(module, exports) {
|
|
786
|
+
|
|
787
|
+
var $hi3Ib = parcelRequire("hi3Ib");
|
|
788
|
+
|
|
789
|
+
var $bfk90 = parcelRequire("bfk90");
|
|
790
|
+
/** `Object#toString` result references. */ var $5be2a5828e47def3$var$asyncTag = "[object AsyncFunction]", $5be2a5828e47def3$var$funcTag = "[object Function]", $5be2a5828e47def3$var$genTag = "[object GeneratorFunction]", $5be2a5828e47def3$var$proxyTag = "[object Proxy]";
|
|
791
|
+
/**
|
|
792
|
+
* Checks if `value` is classified as a `Function` object.
|
|
793
|
+
*
|
|
794
|
+
* @static
|
|
795
|
+
* @memberOf _
|
|
796
|
+
* @since 0.1.0
|
|
797
|
+
* @category Lang
|
|
798
|
+
* @param {*} value The value to check.
|
|
799
|
+
* @returns {boolean} Returns `true` if `value` is a function, else `false`.
|
|
800
|
+
* @example
|
|
801
|
+
*
|
|
802
|
+
* _.isFunction(_);
|
|
803
|
+
* // => true
|
|
804
|
+
*
|
|
805
|
+
* _.isFunction(/abc/);
|
|
806
|
+
* // => false
|
|
807
|
+
*/ function $5be2a5828e47def3$var$isFunction(value) {
|
|
808
|
+
if (!$bfk90(value)) return false;
|
|
809
|
+
// The use of `Object#toString` avoids issues with the `typeof` operator
|
|
810
|
+
// in Safari 9 which returns 'object' for typed arrays and other constructors.
|
|
811
|
+
var tag = $hi3Ib(value);
|
|
812
|
+
return tag == $5be2a5828e47def3$var$funcTag || tag == $5be2a5828e47def3$var$genTag || tag == $5be2a5828e47def3$var$asyncTag || tag == $5be2a5828e47def3$var$proxyTag;
|
|
813
|
+
}
|
|
814
|
+
module.exports = $5be2a5828e47def3$var$isFunction;
|
|
815
|
+
|
|
816
|
+
});
|
|
817
|
+
parcelRequire.register("bfk90", function(module, exports) {
|
|
818
|
+
/**
|
|
819
|
+
* Checks if `value` is the
|
|
820
|
+
* [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)
|
|
821
|
+
* of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)
|
|
822
|
+
*
|
|
823
|
+
* @static
|
|
824
|
+
* @memberOf _
|
|
825
|
+
* @since 0.1.0
|
|
826
|
+
* @category Lang
|
|
827
|
+
* @param {*} value The value to check.
|
|
828
|
+
* @returns {boolean} Returns `true` if `value` is an object, else `false`.
|
|
829
|
+
* @example
|
|
830
|
+
*
|
|
831
|
+
* _.isObject({});
|
|
832
|
+
* // => true
|
|
833
|
+
*
|
|
834
|
+
* _.isObject([1, 2, 3]);
|
|
835
|
+
* // => true
|
|
836
|
+
*
|
|
837
|
+
* _.isObject(_.noop);
|
|
838
|
+
* // => true
|
|
839
|
+
*
|
|
840
|
+
* _.isObject(null);
|
|
841
|
+
* // => false
|
|
842
|
+
*/ function $8300b8a7403829f5$var$isObject(value) {
|
|
843
|
+
var type = typeof value;
|
|
844
|
+
return value != null && (type == "object" || type == "function");
|
|
845
|
+
}
|
|
846
|
+
module.exports = $8300b8a7403829f5$var$isObject;
|
|
847
|
+
|
|
848
|
+
});
|
|
849
|
+
|
|
850
|
+
|
|
851
|
+
|
|
852
|
+
|
|
853
|
+
|
|
854
|
+
parcelRequire.register("cspsJ", function(module, exports) {
|
|
855
|
+
|
|
856
|
+
var $fegcS = parcelRequire("fegcS");
|
|
857
|
+
/**
|
|
858
|
+
* Creates a `baseEach` or `baseEachRight` function.
|
|
859
|
+
*
|
|
860
|
+
* @private
|
|
861
|
+
* @param {Function} eachFunc The function to iterate over a collection.
|
|
862
|
+
* @param {boolean} [fromRight] Specify iterating from right to left.
|
|
863
|
+
* @returns {Function} Returns the new base function.
|
|
864
|
+
*/ function $911bd9d7ffb46bb3$var$createBaseEach(eachFunc, fromRight) {
|
|
865
|
+
return function(collection, iteratee) {
|
|
866
|
+
if (collection == null) return collection;
|
|
867
|
+
if (!$fegcS(collection)) return eachFunc(collection, iteratee);
|
|
868
|
+
var length = collection.length, index = fromRight ? length : -1, iterable = Object(collection);
|
|
869
|
+
while(fromRight ? index-- : ++index < length){
|
|
870
|
+
if (iteratee(iterable[index], index, iterable) === false) break;
|
|
871
|
+
}
|
|
872
|
+
return collection;
|
|
873
|
+
};
|
|
874
|
+
}
|
|
875
|
+
module.exports = $911bd9d7ffb46bb3$var$createBaseEach;
|
|
876
|
+
|
|
877
|
+
});
|
|
878
|
+
|
|
879
|
+
|
|
880
|
+
parcelRequire.register("ipSPU", function(module, exports) {
|
|
881
|
+
|
|
882
|
+
var $9x2D6 = parcelRequire("9x2D6");
|
|
883
|
+
/**
|
|
884
|
+
* Casts `value` to `identity` if it's not a function.
|
|
885
|
+
*
|
|
886
|
+
* @private
|
|
887
|
+
* @param {*} value The value to inspect.
|
|
888
|
+
* @returns {Function} Returns cast function.
|
|
889
|
+
*/ function $d6851922a7ebae3e$var$castFunction(value) {
|
|
890
|
+
return typeof value == "function" ? value : $9x2D6;
|
|
891
|
+
}
|
|
892
|
+
module.exports = $d6851922a7ebae3e$var$castFunction;
|
|
893
|
+
|
|
894
|
+
});
|
|
895
|
+
parcelRequire.register("9x2D6", function(module, exports) {
|
|
896
|
+
/**
|
|
897
|
+
* This method returns the first argument it receives.
|
|
898
|
+
*
|
|
899
|
+
* @static
|
|
900
|
+
* @since 0.1.0
|
|
901
|
+
* @memberOf _
|
|
902
|
+
* @category Util
|
|
903
|
+
* @param {*} value Any value.
|
|
904
|
+
* @returns {*} Returns `value`.
|
|
905
|
+
* @example
|
|
906
|
+
*
|
|
907
|
+
* var object = { 'a': 1 };
|
|
908
|
+
*
|
|
909
|
+
* console.log(_.identity(object) === object);
|
|
910
|
+
* // => true
|
|
911
|
+
*/ function $6f093c560c20f070$var$identity(value) {
|
|
912
|
+
return value;
|
|
913
|
+
}
|
|
914
|
+
module.exports = $6f093c560c20f070$var$identity;
|
|
915
|
+
|
|
916
|
+
});
|
|
917
|
+
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
|
|
921
|
+
$parcel$export(module.exports, "test", () => $6998c6a53a9eb4fa$export$e0969da9b8fb378d);
|
|
922
|
+
|
|
923
|
+
|
|
924
|
+
var $edb0b0405039996a$exports = {};
|
|
925
|
+
/**
|
|
926
|
+
* Checks if `value` is `null` or `undefined`.
|
|
927
|
+
*
|
|
928
|
+
* @static
|
|
929
|
+
* @memberOf _
|
|
930
|
+
* @since 4.0.0
|
|
931
|
+
* @category Lang
|
|
932
|
+
* @param {*} value The value to check.
|
|
933
|
+
* @returns {boolean} Returns `true` if `value` is nullish, else `false`.
|
|
934
|
+
* @example
|
|
935
|
+
*
|
|
936
|
+
* _.isNil(null);
|
|
937
|
+
* // => true
|
|
938
|
+
*
|
|
939
|
+
* _.isNil(void 0);
|
|
940
|
+
* // => true
|
|
941
|
+
*
|
|
942
|
+
* _.isNil(NaN);
|
|
943
|
+
* // => false
|
|
944
|
+
*/ function $edb0b0405039996a$var$isNil(value) {
|
|
945
|
+
return value == null;
|
|
946
|
+
}
|
|
947
|
+
$edb0b0405039996a$exports = $edb0b0405039996a$var$isNil;
|
|
948
|
+
|
|
949
|
+
|
|
950
|
+
|
|
951
|
+
|
|
952
|
+
|
|
953
|
+
|
|
954
|
+
class $f8721861c660dd88$export$2b65d1d97338f32b {
|
|
955
|
+
constructor(page){
|
|
956
|
+
this.page = page;
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
|
|
960
|
+
|
|
961
|
+
class $87643f2d97b0644e$export$a678525e79c4ccc4 extends (0, $f8721861c660dd88$export$2b65d1d97338f32b) {
|
|
962
|
+
async expectNumberOfReleases(releaseTitle, amount) {
|
|
963
|
+
if (amount === 1) await (0, $kKeXs$playwrighttest.expect)(this.page.locator(".release").getByText(releaseTitle)).toBeVisible();
|
|
964
|
+
else await (0, $kKeXs$playwrighttest.expect)(this.page.locator(".release").getByText(releaseTitle).count()).toBe(amount);
|
|
965
|
+
}
|
|
966
|
+
async openReleaseByName(releaseTitle) {
|
|
967
|
+
await this.page.locator(".release-line .row-wrapper .release-title-wrapper a", {
|
|
968
|
+
hasText: releaseTitle
|
|
969
|
+
}).click();
|
|
970
|
+
return new (0, $fcbf42f405a34f2e$export$f43492e8ac3c566)(this.page);
|
|
971
|
+
}
|
|
972
|
+
}
|
|
973
|
+
|
|
974
|
+
|
|
975
|
+
|
|
976
|
+
class $133601cfe0486710$export$fb932093f944abe4 extends (0, $f8721861c660dd88$export$2b65d1d97338f32b) {
|
|
977
|
+
async openRelatedReleasesOf(title) {
|
|
978
|
+
await this.openContextMenu(title);
|
|
979
|
+
await this.page.locator(".popover-content xlr-context-menu a", {
|
|
980
|
+
hasText: "View releases"
|
|
981
|
+
}).click();
|
|
982
|
+
return new (0, $87643f2d97b0644e$export$a678525e79c4ccc4)(this.page);
|
|
983
|
+
}
|
|
984
|
+
async openContextMenu(title) {
|
|
985
|
+
await (0, $kKeXs$playwrighttest.expect)(async ()=>{
|
|
986
|
+
await this.page.locator(".trigger-row-content", {
|
|
987
|
+
hasText: title
|
|
988
|
+
}).locator(".context-menu-button").click();
|
|
989
|
+
await (0, $kKeXs$playwrighttest.expect)(this.page.locator(".popover-content")).toBeVisible();
|
|
990
|
+
}).toPass();
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
|
|
994
|
+
|
|
995
|
+
|
|
996
|
+
|
|
997
|
+
|
|
998
|
+
class $4cb1d878399c7551$export$90ba71b7d7997728 extends (0, $f8721861c660dd88$export$2b65d1d97338f32b) {
|
|
999
|
+
constructor(page){
|
|
1000
|
+
super(page);
|
|
1001
|
+
this.taskModalLocator = this.page.locator(".modal-content.task-details");
|
|
1002
|
+
}
|
|
1003
|
+
async close() {
|
|
1004
|
+
await this.taskModalLocator.locator(".modal-header button.close").click();
|
|
1005
|
+
}
|
|
1006
|
+
}
|
|
1007
|
+
|
|
1008
|
+
|
|
1009
|
+
class $487fa7328f6a6cf2$export$b66cc3708c7bd4a4 extends (0, $4cb1d878399c7551$export$90ba71b7d7997728) {
|
|
1010
|
+
async expectFieldNotEmpty(field) {
|
|
1011
|
+
await (0, $kKeXs$playwrighttest.expect)(this.taskModalLocator.locator(`#${field} .display`).textContent).toBeDefined();
|
|
1012
|
+
}
|
|
1013
|
+
async setSelectField(propertyName, value) {
|
|
1014
|
+
await this.focusOnField(propertyName);
|
|
1015
|
+
await this.taskModalLocator.locator(`select[name="${propertyName}"]`).selectOption(value);
|
|
1016
|
+
}
|
|
1017
|
+
async setTextField(propertyName, value) {
|
|
1018
|
+
await this.focusOnField(propertyName);
|
|
1019
|
+
await this.taskModalLocator.locator(`input[name="${propertyName}"]`).fill(value);
|
|
1020
|
+
}
|
|
1021
|
+
async setAutocompleteField(propertyName, value) {
|
|
1022
|
+
await this.focusOnAutocompleteField(propertyName);
|
|
1023
|
+
await this.taskModalLocator.locator(`#${propertyName} ul li`).getByText(value).click();
|
|
1024
|
+
}
|
|
1025
|
+
async expectOutputValueToBe(propertyName, value) {
|
|
1026
|
+
await (0, $kKeXs$playwrighttest.expect)(this.taskModalLocator.locator(`#${propertyName} .field-readonly span`)).toContainText(value);
|
|
1027
|
+
}
|
|
1028
|
+
// TODO move this to a new inline-editor
|
|
1029
|
+
async focusOnField(propertyName) {
|
|
1030
|
+
await (0, $kKeXs$playwrighttest.expect)(async ()=>{
|
|
1031
|
+
await this.taskModalLocator.locator(`#${propertyName} .display`).click({
|
|
1032
|
+
force: true
|
|
1033
|
+
});
|
|
1034
|
+
await (0, $kKeXs$playwrighttest.expect)(this.taskModalLocator.locator(`#${propertyName} label.edit`)).toBeVisible();
|
|
1035
|
+
}).toPass();
|
|
1036
|
+
}
|
|
1037
|
+
async focusOnAutocompleteField(propertyName) {
|
|
1038
|
+
await (0, $kKeXs$playwrighttest.expect)(async ()=>{
|
|
1039
|
+
await this.taskModalLocator.locator(`#${propertyName} input`).click({
|
|
1040
|
+
force: true
|
|
1041
|
+
});
|
|
1042
|
+
await (0, $kKeXs$playwrighttest.expect)(this.taskModalLocator.locator(`#${propertyName} ul`)).toBeVisible();
|
|
1043
|
+
}).toPass();
|
|
1044
|
+
}
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
|
|
1048
|
+
|
|
1049
|
+
|
|
1050
|
+
class $e53d02b209248a0b$export$a87f0ae8695e74be extends (0, $f8721861c660dd88$export$2b65d1d97338f32b) {
|
|
1051
|
+
async openVariable(variableKey) {
|
|
1052
|
+
await this.page.locator(`.variables-list .variable`).getByText(variableKey).click();
|
|
1053
|
+
return new $e53d02b209248a0b$var$ReleaseVariableModal(this.page);
|
|
1054
|
+
}
|
|
1055
|
+
}
|
|
1056
|
+
class $e53d02b209248a0b$var$ReleaseVariableModal extends (0, $f8721861c660dd88$export$2b65d1d97338f32b) {
|
|
1057
|
+
async expectValueToBe(value) {
|
|
1058
|
+
await (0, $kKeXs$playwrighttest.expect)(this.page.locator("#modal .variable-value input")).toHaveValue(value);
|
|
1059
|
+
}
|
|
1060
|
+
async close() {
|
|
1061
|
+
await this.page.locator("#modal .modal-header button.close").click();
|
|
1062
|
+
}
|
|
1063
|
+
}
|
|
1064
|
+
|
|
1065
|
+
|
|
1066
|
+
class $fcbf42f405a34f2e$export$f43492e8ac3c566 extends (0, $f8721861c660dd88$export$2b65d1d97338f32b) {
|
|
1067
|
+
async openTriggers() {
|
|
1068
|
+
await this.openSubPage("Triggers");
|
|
1069
|
+
return new (0, $133601cfe0486710$export$fb932093f944abe4)(this.page);
|
|
1070
|
+
}
|
|
1071
|
+
async abort(comment = "Abort for testing") {
|
|
1072
|
+
await this.page.locator("action-toolbar button", {
|
|
1073
|
+
hasText: "Abort"
|
|
1074
|
+
}).click();
|
|
1075
|
+
await this.page.locator(".modal textarea").fill(comment);
|
|
1076
|
+
await this.page.locator(".modal .continue").click();
|
|
1077
|
+
}
|
|
1078
|
+
getPhase(phaseName) {
|
|
1079
|
+
return new $fcbf42f405a34f2e$var$Phase(this.page, phaseName);
|
|
1080
|
+
}
|
|
1081
|
+
async start() {
|
|
1082
|
+
await this.page.locator("action-toolbar button", {
|
|
1083
|
+
hasText: "Start"
|
|
1084
|
+
}).click();
|
|
1085
|
+
await this.page.locator(".modal button.primary").click();
|
|
1086
|
+
}
|
|
1087
|
+
async waitForTaskCompleted(taskTitle) {
|
|
1088
|
+
await (0, $kKeXs$playwrighttest.expect)(this.page.locator(".task.completed").getByText(taskTitle, {
|
|
1089
|
+
exact: true
|
|
1090
|
+
})).toBeVisible();
|
|
1091
|
+
}
|
|
1092
|
+
async waitForTaskFailed(taskTitle) {
|
|
1093
|
+
await (0, $kKeXs$playwrighttest.expect)(this.page.locator(".task.failed").getByText(taskTitle, {
|
|
1094
|
+
exact: true
|
|
1095
|
+
})).toBeVisible();
|
|
1096
|
+
}
|
|
1097
|
+
/**
|
|
1098
|
+
* @deprecated Don't use this, use new TaskDrawer
|
|
1099
|
+
*/ async openCustomScriptTaskModal(taskName) {
|
|
1100
|
+
await this.page.locator(".task-header").getByText(taskName).click();
|
|
1101
|
+
return new (0, $487fa7328f6a6cf2$export$b66cc3708c7bd4a4)(this.page);
|
|
1102
|
+
}
|
|
1103
|
+
async openVariables() {
|
|
1104
|
+
await this.openReleaseMenu("Variables");
|
|
1105
|
+
return new (0, $e53d02b209248a0b$export$a87f0ae8695e74be)(this.page);
|
|
1106
|
+
}
|
|
1107
|
+
async openReleaseMenu(menuItem) {
|
|
1108
|
+
await this.page.locator(`navigation-sidebar ul li`).getByText(menuItem, {
|
|
1109
|
+
exact: true
|
|
1110
|
+
}).click();
|
|
1111
|
+
}
|
|
1112
|
+
async openSubPage(subpage) {
|
|
1113
|
+
await this.page.locator("ul.side-nav li", {
|
|
1114
|
+
hasText: subpage
|
|
1115
|
+
}).click();
|
|
1116
|
+
}
|
|
1117
|
+
}
|
|
1118
|
+
class $fcbf42f405a34f2e$var$Phase extends (0, $f8721861c660dd88$export$2b65d1d97338f32b) {
|
|
1119
|
+
constructor(page, phaseName){
|
|
1120
|
+
super(page);
|
|
1121
|
+
this.phaseLocator = page.locator(".phase", {
|
|
1122
|
+
hasText: phaseName
|
|
1123
|
+
});
|
|
1124
|
+
}
|
|
1125
|
+
async addTask(taskName, taskGroup, taskType) {
|
|
1126
|
+
await this.phaseLocator.getByText("Add task").click();
|
|
1127
|
+
await this.phaseLocator.locator(".quick-title").fill(taskName);
|
|
1128
|
+
await this.phaseLocator.locator(".xlr-ctx-menu-toggle").click();
|
|
1129
|
+
await this.page.locator(`.xlr-ctx-menu-item`).getByTitle(taskGroup, {
|
|
1130
|
+
exact: true
|
|
1131
|
+
}).scrollIntoViewIfNeeded();
|
|
1132
|
+
await this.page.locator(`.xlr-ctx-menu-item`).getByTitle(taskGroup, {
|
|
1133
|
+
exact: true
|
|
1134
|
+
}).hover();
|
|
1135
|
+
await this.page.locator(`.xlr-ctx-menu.active`).getByTitle(taskType, {
|
|
1136
|
+
exact: true
|
|
1137
|
+
}).click();
|
|
1138
|
+
await this.phaseLocator.locator(".quick-controls-container a").getByText("Add", {
|
|
1139
|
+
exact: true
|
|
1140
|
+
}).click();
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
|
|
1144
|
+
|
|
1145
|
+
class $4ef41cf96a5fae4c$export$b8a61e5c71402559 {
|
|
1146
|
+
constructor(page){
|
|
1147
|
+
this.page = page;
|
|
1148
|
+
}
|
|
1149
|
+
async openTemplate(id) {
|
|
1150
|
+
return this.openReleaseOrTemplate(id, false);
|
|
1151
|
+
}
|
|
1152
|
+
async openRelease(id) {
|
|
1153
|
+
return this.openReleaseOrTemplate(id, true);
|
|
1154
|
+
}
|
|
1155
|
+
async openReleaseOrTemplate(id, release) {
|
|
1156
|
+
const url = release ? "releases" : "templates";
|
|
1157
|
+
await this.page.goto(`./#/${url}/${id}`);
|
|
1158
|
+
await this.page.waitForSelector("#release");
|
|
1159
|
+
return new (0, $fcbf42f405a34f2e$export$f43492e8ac3c566)(this.page);
|
|
1160
|
+
}
|
|
1161
|
+
}
|
|
1162
|
+
|
|
1163
|
+
|
|
1164
|
+
|
|
1165
|
+
|
|
1166
|
+
class $9a16c8a1280a99a0$export$f14c0e3f98d164c0 extends (0, $f8721861c660dd88$export$2b65d1d97338f32b) {
|
|
1167
|
+
async login(userName, password) {
|
|
1168
|
+
await this.page.goto("./");
|
|
1169
|
+
await (0, $kKeXs$playwrighttest.expect)(this.page).toHaveTitle("Digital.ai Release");
|
|
1170
|
+
await this.page.locator("#inputLogin").fill(userName);
|
|
1171
|
+
await this.page.locator("#inputPassword").fill(password);
|
|
1172
|
+
await this.page.locator("button[type='submit']").click();
|
|
1173
|
+
await (0, $kKeXs$playwrighttest.expect)(this.page.locator("#releases-content")).toBeVisible();
|
|
1174
|
+
}
|
|
1175
|
+
async logout() {
|
|
1176
|
+
await this.page.locator("button.dot-avatar").click();
|
|
1177
|
+
await this.page.getByText("Log out").click();
|
|
1178
|
+
}
|
|
1179
|
+
}
|
|
1180
|
+
|
|
1181
|
+
|
|
1182
|
+
|
|
1183
|
+
|
|
1184
|
+
class $dc91ece6da6cadfa$export$1533b625ec0c75e2 extends (0, $f8721861c660dd88$export$2b65d1d97338f32b) {
|
|
1185
|
+
async goToApplicationsPage() {
|
|
1186
|
+
await this.page.goto("./#/applications");
|
|
1187
|
+
await (0, $kKeXs$playwrighttest.expect)(this.page).toHaveTitle("Applications - Digital.ai Release");
|
|
1188
|
+
return this;
|
|
1189
|
+
}
|
|
1190
|
+
async addNewApplication(applicationName) {
|
|
1191
|
+
await this.page.locator(`//button[normalize-space()='New application']`).click();
|
|
1192
|
+
await this.page.locator(`input[placeholder='Add name...']`).type(applicationName);
|
|
1193
|
+
await this.page.locator(`//button[normalize-space()='Save']`).click();
|
|
1194
|
+
return this;
|
|
1195
|
+
}
|
|
1196
|
+
async verifyApplicationisCreated(applicationName) {
|
|
1197
|
+
await this.page.waitForSelector(`div[title='${applicationName}'] strong`);
|
|
1198
|
+
return this;
|
|
1199
|
+
}
|
|
1200
|
+
async createApplicationAndLinkEnvironment(environmentName, applicationName) {
|
|
1201
|
+
await this.page.locator(`//button[normalize-space()='New application']`).click();
|
|
1202
|
+
await this.page.locator(`input[placeholder='Add name...']`).type(applicationName);
|
|
1203
|
+
await this.page.locator("input[placeholder='Filter environment name...']").type(environmentName);
|
|
1204
|
+
await this.page.locator(`div[title='${environmentName}']`).click();
|
|
1205
|
+
await this.page.locator(`//button[normalize-space()='Save']`).click();
|
|
1206
|
+
await this.page.locator("i.xl-icon.close-icon").click();
|
|
1207
|
+
return this;
|
|
1208
|
+
}
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
|
|
1212
|
+
|
|
1213
|
+
|
|
1214
|
+
class $be4dd73206d8e76b$export$3cac5fd37ae64b91 extends (0, $f8721861c660dd88$export$2b65d1d97338f32b) {
|
|
1215
|
+
async openPersonalAccessTokenPage() {
|
|
1216
|
+
// await this.page.locator("button.dot-avatar").click()
|
|
1217
|
+
// await this.page.locator("//div[normalize-space()='Access tokens']").click()
|
|
1218
|
+
await this.page.goto("./#/personal-access-token");
|
|
1219
|
+
await (0, $kKeXs$playwrighttest.expect)(this.page).toHaveTitle("Access tokens / Personal settings - Digital.ai Release");
|
|
1220
|
+
return this;
|
|
1221
|
+
}
|
|
1222
|
+
async addNewToken(tokenName) {
|
|
1223
|
+
//await expect(this.page).toHaveTitle('Access tokens / Personal settings - Digital.ai Release')
|
|
1224
|
+
await this.page.locator("#tokenText").fill(tokenName);
|
|
1225
|
+
await this.page.locator("button[type='submit']").click();
|
|
1226
|
+
return this;
|
|
1227
|
+
}
|
|
1228
|
+
}
|
|
1229
|
+
|
|
1230
|
+
|
|
1231
|
+
var $3e8b520187e41aa6$exports = {};
|
|
1232
|
+
/**
|
|
1233
|
+
* Checks if `value` is `undefined`.
|
|
1234
|
+
*
|
|
1235
|
+
* @static
|
|
1236
|
+
* @since 0.1.0
|
|
1237
|
+
* @memberOf _
|
|
1238
|
+
* @category Lang
|
|
1239
|
+
* @param {*} value The value to check.
|
|
1240
|
+
* @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.
|
|
1241
|
+
* @example
|
|
1242
|
+
*
|
|
1243
|
+
* _.isUndefined(void 0);
|
|
1244
|
+
* // => true
|
|
1245
|
+
*
|
|
1246
|
+
* _.isUndefined(null);
|
|
1247
|
+
* // => false
|
|
1248
|
+
*/ function $3e8b520187e41aa6$var$isUndefined(value) {
|
|
1249
|
+
return value === undefined;
|
|
1250
|
+
}
|
|
1251
|
+
$3e8b520187e41aa6$exports = $3e8b520187e41aa6$var$isUndefined;
|
|
1252
|
+
|
|
1253
|
+
|
|
1254
|
+
var $952a2b8d8056b381$exports = {};
|
|
1255
|
+
|
|
1256
|
+
$952a2b8d8056b381$exports = (parcelRequire("ae8Uz"));
|
|
1257
|
+
|
|
1258
|
+
|
|
1259
|
+
|
|
1260
|
+
var $ae8Uz = parcelRequire("ae8Uz");
|
|
1261
|
+
var $732eba8dca8b5420$exports = {};
|
|
1262
|
+
var $b1535b4ce0d1bd5f$exports = {};
|
|
1263
|
+
|
|
1264
|
+
var $9x2D6 = parcelRequire("9x2D6");
|
|
1265
|
+
var $1b1aa0f3fc7256c9$exports = {};
|
|
1266
|
+
var $f984f14b3d4f0683$exports = {};
|
|
1267
|
+
/**
|
|
1268
|
+
* A faster alternative to `Function#apply`, this function invokes `func`
|
|
1269
|
+
* with the `this` binding of `thisArg` and the arguments of `args`.
|
|
1270
|
+
*
|
|
1271
|
+
* @private
|
|
1272
|
+
* @param {Function} func The function to invoke.
|
|
1273
|
+
* @param {*} thisArg The `this` binding of `func`.
|
|
1274
|
+
* @param {Array} args The arguments to invoke `func` with.
|
|
1275
|
+
* @returns {*} Returns the result of `func`.
|
|
1276
|
+
*/ function $f984f14b3d4f0683$var$apply(func, thisArg, args) {
|
|
1277
|
+
switch(args.length){
|
|
1278
|
+
case 0:
|
|
1279
|
+
return func.call(thisArg);
|
|
1280
|
+
case 1:
|
|
1281
|
+
return func.call(thisArg, args[0]);
|
|
1282
|
+
case 2:
|
|
1283
|
+
return func.call(thisArg, args[0], args[1]);
|
|
1284
|
+
case 3:
|
|
1285
|
+
return func.call(thisArg, args[0], args[1], args[2]);
|
|
1286
|
+
}
|
|
1287
|
+
return func.apply(thisArg, args);
|
|
1288
|
+
}
|
|
1289
|
+
$f984f14b3d4f0683$exports = $f984f14b3d4f0683$var$apply;
|
|
1290
|
+
|
|
1291
|
+
|
|
1292
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */ var $1b1aa0f3fc7256c9$var$nativeMax = Math.max;
|
|
1293
|
+
/**
|
|
1294
|
+
* A specialized version of `baseRest` which transforms the rest array.
|
|
1295
|
+
*
|
|
1296
|
+
* @private
|
|
1297
|
+
* @param {Function} func The function to apply a rest parameter to.
|
|
1298
|
+
* @param {number} [start=func.length-1] The start position of the rest parameter.
|
|
1299
|
+
* @param {Function} transform The rest array transform.
|
|
1300
|
+
* @returns {Function} Returns the new function.
|
|
1301
|
+
*/ function $1b1aa0f3fc7256c9$var$overRest(func, start, transform) {
|
|
1302
|
+
start = $1b1aa0f3fc7256c9$var$nativeMax(start === undefined ? func.length - 1 : start, 0);
|
|
1303
|
+
return function() {
|
|
1304
|
+
var args = arguments, index = -1, length = $1b1aa0f3fc7256c9$var$nativeMax(args.length - start, 0), array = Array(length);
|
|
1305
|
+
while(++index < length)array[index] = args[start + index];
|
|
1306
|
+
index = -1;
|
|
1307
|
+
var otherArgs = Array(start + 1);
|
|
1308
|
+
while(++index < start)otherArgs[index] = args[index];
|
|
1309
|
+
otherArgs[start] = transform(array);
|
|
1310
|
+
return $f984f14b3d4f0683$exports(func, this, otherArgs);
|
|
1311
|
+
};
|
|
1312
|
+
}
|
|
1313
|
+
$1b1aa0f3fc7256c9$exports = $1b1aa0f3fc7256c9$var$overRest;
|
|
1314
|
+
|
|
1315
|
+
|
|
1316
|
+
var $0e9d1d7fde57dac1$exports = {};
|
|
1317
|
+
var $ef9aec5e693cb6ed$exports = {};
|
|
1318
|
+
var $3dc9802adab1dd60$exports = {};
|
|
1319
|
+
/**
|
|
1320
|
+
* Creates a function that returns `value`.
|
|
1321
|
+
*
|
|
1322
|
+
* @static
|
|
1323
|
+
* @memberOf _
|
|
1324
|
+
* @since 2.4.0
|
|
1325
|
+
* @category Util
|
|
1326
|
+
* @param {*} value The value to return from the new function.
|
|
1327
|
+
* @returns {Function} Returns the new constant function.
|
|
1328
|
+
* @example
|
|
1329
|
+
*
|
|
1330
|
+
* var objects = _.times(2, _.constant({ 'a': 1 }));
|
|
1331
|
+
*
|
|
1332
|
+
* console.log(objects);
|
|
1333
|
+
* // => [{ 'a': 1 }, { 'a': 1 }]
|
|
1334
|
+
*
|
|
1335
|
+
* console.log(objects[0] === objects[1]);
|
|
1336
|
+
* // => true
|
|
1337
|
+
*/ function $3dc9802adab1dd60$var$constant(value) {
|
|
1338
|
+
return function() {
|
|
1339
|
+
return value;
|
|
1340
|
+
};
|
|
1341
|
+
}
|
|
1342
|
+
$3dc9802adab1dd60$exports = $3dc9802adab1dd60$var$constant;
|
|
1343
|
+
|
|
1344
|
+
|
|
1345
|
+
var $97bac00047c338ed$exports = {};
|
|
1346
|
+
var $b7745e89d7f5915f$exports = {};
|
|
1347
|
+
var $927414f7f9d8afbb$exports = {};
|
|
1348
|
+
|
|
1349
|
+
var $7T6pQ = parcelRequire("7T6pQ");
|
|
1350
|
+
var $1fb1799a04ee25ea$exports = {};
|
|
1351
|
+
var $5ee1230bf1668e2a$exports = {};
|
|
1352
|
+
|
|
1353
|
+
var $5iYlB = parcelRequire("5iYlB");
|
|
1354
|
+
/** Used to detect overreaching core-js shims. */ var $5ee1230bf1668e2a$var$coreJsData = $5iYlB["__core-js_shared__"];
|
|
1355
|
+
$5ee1230bf1668e2a$exports = $5ee1230bf1668e2a$var$coreJsData;
|
|
1356
|
+
|
|
1357
|
+
|
|
1358
|
+
/** Used to detect methods masquerading as native. */ var $1fb1799a04ee25ea$var$maskSrcKey = function() {
|
|
1359
|
+
var uid = /[^.]+$/.exec($5ee1230bf1668e2a$exports && $5ee1230bf1668e2a$exports.keys && $5ee1230bf1668e2a$exports.keys.IE_PROTO || "");
|
|
1360
|
+
return uid ? "Symbol(src)_1." + uid : "";
|
|
1361
|
+
}();
|
|
1362
|
+
/**
|
|
1363
|
+
* Checks if `func` has its source masked.
|
|
1364
|
+
*
|
|
1365
|
+
* @private
|
|
1366
|
+
* @param {Function} func The function to check.
|
|
1367
|
+
* @returns {boolean} Returns `true` if `func` is masked, else `false`.
|
|
1368
|
+
*/ function $1fb1799a04ee25ea$var$isMasked(func) {
|
|
1369
|
+
return !!$1fb1799a04ee25ea$var$maskSrcKey && $1fb1799a04ee25ea$var$maskSrcKey in func;
|
|
1370
|
+
}
|
|
1371
|
+
$1fb1799a04ee25ea$exports = $1fb1799a04ee25ea$var$isMasked;
|
|
1372
|
+
|
|
1373
|
+
|
|
1374
|
+
|
|
1375
|
+
var $bfk90 = parcelRequire("bfk90");
|
|
1376
|
+
var $c6de24274df36d4e$exports = {};
|
|
1377
|
+
/** Used for built-in method references. */ var $c6de24274df36d4e$var$funcProto = Function.prototype;
|
|
1378
|
+
/** Used to resolve the decompiled source of functions. */ var $c6de24274df36d4e$var$funcToString = $c6de24274df36d4e$var$funcProto.toString;
|
|
1379
|
+
/**
|
|
1380
|
+
* Converts `func` to its source code.
|
|
1381
|
+
*
|
|
1382
|
+
* @private
|
|
1383
|
+
* @param {Function} func The function to convert.
|
|
1384
|
+
* @returns {string} Returns the source code.
|
|
1385
|
+
*/ function $c6de24274df36d4e$var$toSource(func) {
|
|
1386
|
+
if (func != null) {
|
|
1387
|
+
try {
|
|
1388
|
+
return $c6de24274df36d4e$var$funcToString.call(func);
|
|
1389
|
+
} catch (e) {}
|
|
1390
|
+
try {
|
|
1391
|
+
return func + "";
|
|
1392
|
+
} catch (e) {}
|
|
1393
|
+
}
|
|
1394
|
+
return "";
|
|
1395
|
+
}
|
|
1396
|
+
$c6de24274df36d4e$exports = $c6de24274df36d4e$var$toSource;
|
|
1397
|
+
|
|
1398
|
+
|
|
1399
|
+
/**
|
|
1400
|
+
* Used to match `RegExp`
|
|
1401
|
+
* [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).
|
|
1402
|
+
*/ var $927414f7f9d8afbb$var$reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
|
|
1403
|
+
/** Used to detect host constructors (Safari). */ var $927414f7f9d8afbb$var$reIsHostCtor = /^\[object .+?Constructor\]$/;
|
|
1404
|
+
/** Used for built-in method references. */ var $927414f7f9d8afbb$var$funcProto = Function.prototype, $927414f7f9d8afbb$var$objectProto = Object.prototype;
|
|
1405
|
+
/** Used to resolve the decompiled source of functions. */ var $927414f7f9d8afbb$var$funcToString = $927414f7f9d8afbb$var$funcProto.toString;
|
|
1406
|
+
/** Used to check objects for own properties. */ var $927414f7f9d8afbb$var$hasOwnProperty = $927414f7f9d8afbb$var$objectProto.hasOwnProperty;
|
|
1407
|
+
/** Used to detect if a method is native. */ var $927414f7f9d8afbb$var$reIsNative = RegExp("^" + $927414f7f9d8afbb$var$funcToString.call($927414f7f9d8afbb$var$hasOwnProperty).replace($927414f7f9d8afbb$var$reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
|
|
1408
|
+
/**
|
|
1409
|
+
* The base implementation of `_.isNative` without bad shim checks.
|
|
1410
|
+
*
|
|
1411
|
+
* @private
|
|
1412
|
+
* @param {*} value The value to check.
|
|
1413
|
+
* @returns {boolean} Returns `true` if `value` is a native function,
|
|
1414
|
+
* else `false`.
|
|
1415
|
+
*/ function $927414f7f9d8afbb$var$baseIsNative(value) {
|
|
1416
|
+
if (!$bfk90(value) || $1fb1799a04ee25ea$exports(value)) return false;
|
|
1417
|
+
var pattern = $7T6pQ(value) ? $927414f7f9d8afbb$var$reIsNative : $927414f7f9d8afbb$var$reIsHostCtor;
|
|
1418
|
+
return pattern.test($c6de24274df36d4e$exports(value));
|
|
1419
|
+
}
|
|
1420
|
+
$927414f7f9d8afbb$exports = $927414f7f9d8afbb$var$baseIsNative;
|
|
1421
|
+
|
|
1422
|
+
|
|
1423
|
+
var $18378a7c2aff899b$exports = {};
|
|
1424
|
+
/**
|
|
1425
|
+
* Gets the value at `key` of `object`.
|
|
1426
|
+
*
|
|
1427
|
+
* @private
|
|
1428
|
+
* @param {Object} [object] The object to query.
|
|
1429
|
+
* @param {string} key The key of the property to get.
|
|
1430
|
+
* @returns {*} Returns the property value.
|
|
1431
|
+
*/ function $18378a7c2aff899b$var$getValue(object, key) {
|
|
1432
|
+
return object == null ? undefined : object[key];
|
|
1433
|
+
}
|
|
1434
|
+
$18378a7c2aff899b$exports = $18378a7c2aff899b$var$getValue;
|
|
1435
|
+
|
|
1436
|
+
|
|
1437
|
+
/**
|
|
1438
|
+
* Gets the native function at `key` of `object`.
|
|
1439
|
+
*
|
|
1440
|
+
* @private
|
|
1441
|
+
* @param {Object} object The object to query.
|
|
1442
|
+
* @param {string} key The key of the method to get.
|
|
1443
|
+
* @returns {*} Returns the function if it's native, else `undefined`.
|
|
1444
|
+
*/ function $b7745e89d7f5915f$var$getNative(object, key) {
|
|
1445
|
+
var value = $18378a7c2aff899b$exports(object, key);
|
|
1446
|
+
return $927414f7f9d8afbb$exports(value) ? value : undefined;
|
|
1447
|
+
}
|
|
1448
|
+
$b7745e89d7f5915f$exports = $b7745e89d7f5915f$var$getNative;
|
|
1449
|
+
|
|
1450
|
+
|
|
1451
|
+
var $97bac00047c338ed$var$defineProperty = function() {
|
|
1452
|
+
try {
|
|
1453
|
+
var func = $b7745e89d7f5915f$exports(Object, "defineProperty");
|
|
1454
|
+
func({}, "", {});
|
|
1455
|
+
return func;
|
|
1456
|
+
} catch (e) {}
|
|
1457
|
+
}();
|
|
1458
|
+
$97bac00047c338ed$exports = $97bac00047c338ed$var$defineProperty;
|
|
1459
|
+
|
|
1460
|
+
|
|
1461
|
+
|
|
1462
|
+
var $9x2D6 = parcelRequire("9x2D6");
|
|
1463
|
+
/**
|
|
1464
|
+
* The base implementation of `setToString` without support for hot loop shorting.
|
|
1465
|
+
*
|
|
1466
|
+
* @private
|
|
1467
|
+
* @param {Function} func The function to modify.
|
|
1468
|
+
* @param {Function} string The `toString` result.
|
|
1469
|
+
* @returns {Function} Returns `func`.
|
|
1470
|
+
*/ var $ef9aec5e693cb6ed$var$baseSetToString = !$97bac00047c338ed$exports ? $9x2D6 : function(func, string) {
|
|
1471
|
+
return $97bac00047c338ed$exports(func, "toString", {
|
|
1472
|
+
"configurable": true,
|
|
1473
|
+
"enumerable": false,
|
|
1474
|
+
"value": $3dc9802adab1dd60$exports(string),
|
|
1475
|
+
"writable": true
|
|
1476
|
+
});
|
|
1477
|
+
};
|
|
1478
|
+
$ef9aec5e693cb6ed$exports = $ef9aec5e693cb6ed$var$baseSetToString;
|
|
1479
|
+
|
|
1480
|
+
|
|
1481
|
+
var $f6a97849336ceea8$exports = {};
|
|
1482
|
+
/** Used to detect hot functions by number of calls within a span of milliseconds. */ var $f6a97849336ceea8$var$HOT_COUNT = 800, $f6a97849336ceea8$var$HOT_SPAN = 16;
|
|
1483
|
+
/* Built-in method references for those with the same name as other `lodash` methods. */ var $f6a97849336ceea8$var$nativeNow = Date.now;
|
|
1484
|
+
/**
|
|
1485
|
+
* Creates a function that'll short out and invoke `identity` instead
|
|
1486
|
+
* of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`
|
|
1487
|
+
* milliseconds.
|
|
1488
|
+
*
|
|
1489
|
+
* @private
|
|
1490
|
+
* @param {Function} func The function to restrict.
|
|
1491
|
+
* @returns {Function} Returns the new shortable function.
|
|
1492
|
+
*/ function $f6a97849336ceea8$var$shortOut(func) {
|
|
1493
|
+
var count = 0, lastCalled = 0;
|
|
1494
|
+
return function() {
|
|
1495
|
+
var stamp = $f6a97849336ceea8$var$nativeNow(), remaining = $f6a97849336ceea8$var$HOT_SPAN - (stamp - lastCalled);
|
|
1496
|
+
lastCalled = stamp;
|
|
1497
|
+
if (remaining > 0) {
|
|
1498
|
+
if (++count >= $f6a97849336ceea8$var$HOT_COUNT) return arguments[0];
|
|
1499
|
+
} else count = 0;
|
|
1500
|
+
return func.apply(undefined, arguments);
|
|
1501
|
+
};
|
|
1502
|
+
}
|
|
1503
|
+
$f6a97849336ceea8$exports = $f6a97849336ceea8$var$shortOut;
|
|
1504
|
+
|
|
1505
|
+
|
|
1506
|
+
/**
|
|
1507
|
+
* Sets the `toString` method of `func` to return `string`.
|
|
1508
|
+
*
|
|
1509
|
+
* @private
|
|
1510
|
+
* @param {Function} func The function to modify.
|
|
1511
|
+
* @param {Function} string The `toString` result.
|
|
1512
|
+
* @returns {Function} Returns `func`.
|
|
1513
|
+
*/ var $0e9d1d7fde57dac1$var$setToString = $f6a97849336ceea8$exports($ef9aec5e693cb6ed$exports);
|
|
1514
|
+
$0e9d1d7fde57dac1$exports = $0e9d1d7fde57dac1$var$setToString;
|
|
1515
|
+
|
|
1516
|
+
|
|
1517
|
+
/**
|
|
1518
|
+
* The base implementation of `_.rest` which doesn't validate or coerce arguments.
|
|
1519
|
+
*
|
|
1520
|
+
* @private
|
|
1521
|
+
* @param {Function} func The function to apply a rest parameter to.
|
|
1522
|
+
* @param {number} [start=func.length-1] The start position of the rest parameter.
|
|
1523
|
+
* @returns {Function} Returns the new function.
|
|
1524
|
+
*/ function $b1535b4ce0d1bd5f$var$baseRest(func, start) {
|
|
1525
|
+
return $0e9d1d7fde57dac1$exports($1b1aa0f3fc7256c9$exports(func, start, $9x2D6), func + "");
|
|
1526
|
+
}
|
|
1527
|
+
$b1535b4ce0d1bd5f$exports = $b1535b4ce0d1bd5f$var$baseRest;
|
|
1528
|
+
|
|
1529
|
+
|
|
1530
|
+
var $ceebddaa7160689c$exports = {};
|
|
1531
|
+
/**
|
|
1532
|
+
* Performs a
|
|
1533
|
+
* [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)
|
|
1534
|
+
* comparison between two values to determine if they are equivalent.
|
|
1535
|
+
*
|
|
1536
|
+
* @static
|
|
1537
|
+
* @memberOf _
|
|
1538
|
+
* @since 4.0.0
|
|
1539
|
+
* @category Lang
|
|
1540
|
+
* @param {*} value The value to compare.
|
|
1541
|
+
* @param {*} other The other value to compare.
|
|
1542
|
+
* @returns {boolean} Returns `true` if the values are equivalent, else `false`.
|
|
1543
|
+
* @example
|
|
1544
|
+
*
|
|
1545
|
+
* var object = { 'a': 1 };
|
|
1546
|
+
* var other = { 'a': 1 };
|
|
1547
|
+
*
|
|
1548
|
+
* _.eq(object, object);
|
|
1549
|
+
* // => true
|
|
1550
|
+
*
|
|
1551
|
+
* _.eq(object, other);
|
|
1552
|
+
* // => false
|
|
1553
|
+
*
|
|
1554
|
+
* _.eq('a', 'a');
|
|
1555
|
+
* // => true
|
|
1556
|
+
*
|
|
1557
|
+
* _.eq('a', Object('a'));
|
|
1558
|
+
* // => false
|
|
1559
|
+
*
|
|
1560
|
+
* _.eq(NaN, NaN);
|
|
1561
|
+
* // => true
|
|
1562
|
+
*/ function $ceebddaa7160689c$var$eq(value, other) {
|
|
1563
|
+
return value === other || value !== value && other !== other;
|
|
1564
|
+
}
|
|
1565
|
+
$ceebddaa7160689c$exports = $ceebddaa7160689c$var$eq;
|
|
1566
|
+
|
|
1567
|
+
|
|
1568
|
+
var $e084f044678f4365$exports = {};
|
|
1569
|
+
|
|
1570
|
+
|
|
1571
|
+
var $fegcS = parcelRequire("fegcS");
|
|
1572
|
+
|
|
1573
|
+
var $gf9YK = parcelRequire("gf9YK");
|
|
1574
|
+
|
|
1575
|
+
var $bfk90 = parcelRequire("bfk90");
|
|
1576
|
+
/**
|
|
1577
|
+
* Checks if the given arguments are from an iteratee call.
|
|
1578
|
+
*
|
|
1579
|
+
* @private
|
|
1580
|
+
* @param {*} value The potential iteratee value argument.
|
|
1581
|
+
* @param {*} index The potential iteratee index or key argument.
|
|
1582
|
+
* @param {*} object The potential iteratee object argument.
|
|
1583
|
+
* @returns {boolean} Returns `true` if the arguments are from an iteratee call,
|
|
1584
|
+
* else `false`.
|
|
1585
|
+
*/ function $e084f044678f4365$var$isIterateeCall(value, index, object) {
|
|
1586
|
+
if (!$bfk90(object)) return false;
|
|
1587
|
+
var type = typeof index;
|
|
1588
|
+
if (type == "number" ? $fegcS(object) && $gf9YK(index, object.length) : type == "string" && index in object) return $ceebddaa7160689c$exports(object[index], value);
|
|
1589
|
+
return false;
|
|
1590
|
+
}
|
|
1591
|
+
$e084f044678f4365$exports = $e084f044678f4365$var$isIterateeCall;
|
|
1592
|
+
|
|
1593
|
+
|
|
1594
|
+
var $0e6e2e34ec44a72a$exports = {};
|
|
1595
|
+
|
|
1596
|
+
var $gYWmw = parcelRequire("gYWmw");
|
|
1597
|
+
var $b4b8b2a977b4cc10$exports = {};
|
|
1598
|
+
|
|
1599
|
+
var $bfk90 = parcelRequire("bfk90");
|
|
1600
|
+
|
|
1601
|
+
var $cjTq2 = parcelRequire("cjTq2");
|
|
1602
|
+
var $59b6e790ee7519e4$exports = {};
|
|
1603
|
+
/**
|
|
1604
|
+
* This function is like
|
|
1605
|
+
* [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)
|
|
1606
|
+
* except that it includes inherited enumerable properties.
|
|
1607
|
+
*
|
|
1608
|
+
* @private
|
|
1609
|
+
* @param {Object} object The object to query.
|
|
1610
|
+
* @returns {Array} Returns the array of property names.
|
|
1611
|
+
*/ function $59b6e790ee7519e4$var$nativeKeysIn(object) {
|
|
1612
|
+
var result = [];
|
|
1613
|
+
if (object != null) for(var key in Object(object))result.push(key);
|
|
1614
|
+
return result;
|
|
1615
|
+
}
|
|
1616
|
+
$59b6e790ee7519e4$exports = $59b6e790ee7519e4$var$nativeKeysIn;
|
|
1617
|
+
|
|
1618
|
+
|
|
1619
|
+
/** Used for built-in method references. */ var $b4b8b2a977b4cc10$var$objectProto = Object.prototype;
|
|
1620
|
+
/** Used to check objects for own properties. */ var $b4b8b2a977b4cc10$var$hasOwnProperty = $b4b8b2a977b4cc10$var$objectProto.hasOwnProperty;
|
|
1621
|
+
/**
|
|
1622
|
+
* The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.
|
|
1623
|
+
*
|
|
1624
|
+
* @private
|
|
1625
|
+
* @param {Object} object The object to query.
|
|
1626
|
+
* @returns {Array} Returns the array of property names.
|
|
1627
|
+
*/ function $b4b8b2a977b4cc10$var$baseKeysIn(object) {
|
|
1628
|
+
if (!$bfk90(object)) return $59b6e790ee7519e4$exports(object);
|
|
1629
|
+
var isProto = $cjTq2(object), result = [];
|
|
1630
|
+
for(var key in object)if (!(key == "constructor" && (isProto || !$b4b8b2a977b4cc10$var$hasOwnProperty.call(object, key)))) result.push(key);
|
|
1631
|
+
return result;
|
|
1632
|
+
}
|
|
1633
|
+
$b4b8b2a977b4cc10$exports = $b4b8b2a977b4cc10$var$baseKeysIn;
|
|
1634
|
+
|
|
1635
|
+
|
|
1636
|
+
|
|
1637
|
+
var $fegcS = parcelRequire("fegcS");
|
|
1638
|
+
/**
|
|
1639
|
+
* Creates an array of the own and inherited enumerable property names of `object`.
|
|
1640
|
+
*
|
|
1641
|
+
* **Note:** Non-object values are coerced to objects.
|
|
1642
|
+
*
|
|
1643
|
+
* @static
|
|
1644
|
+
* @memberOf _
|
|
1645
|
+
* @since 3.0.0
|
|
1646
|
+
* @category Object
|
|
1647
|
+
* @param {Object} object The object to query.
|
|
1648
|
+
* @returns {Array} Returns the array of property names.
|
|
1649
|
+
* @example
|
|
1650
|
+
*
|
|
1651
|
+
* function Foo() {
|
|
1652
|
+
* this.a = 1;
|
|
1653
|
+
* this.b = 2;
|
|
1654
|
+
* }
|
|
1655
|
+
*
|
|
1656
|
+
* Foo.prototype.c = 3;
|
|
1657
|
+
*
|
|
1658
|
+
* _.keysIn(new Foo);
|
|
1659
|
+
* // => ['a', 'b', 'c'] (iteration order is not guaranteed)
|
|
1660
|
+
*/ function $0e6e2e34ec44a72a$var$keysIn(object) {
|
|
1661
|
+
return $fegcS(object) ? $gYWmw(object, true) : $b4b8b2a977b4cc10$exports(object);
|
|
1662
|
+
}
|
|
1663
|
+
$0e6e2e34ec44a72a$exports = $0e6e2e34ec44a72a$var$keysIn;
|
|
1664
|
+
|
|
1665
|
+
|
|
1666
|
+
/** Used for built-in method references. */ var $732eba8dca8b5420$var$objectProto = Object.prototype;
|
|
1667
|
+
/** Used to check objects for own properties. */ var $732eba8dca8b5420$var$hasOwnProperty = $732eba8dca8b5420$var$objectProto.hasOwnProperty;
|
|
1668
|
+
/**
|
|
1669
|
+
* Assigns own and inherited enumerable string keyed properties of source
|
|
1670
|
+
* objects to the destination object for all destination properties that
|
|
1671
|
+
* resolve to `undefined`. Source objects are applied from left to right.
|
|
1672
|
+
* Once a property is set, additional values of the same property are ignored.
|
|
1673
|
+
*
|
|
1674
|
+
* **Note:** This method mutates `object`.
|
|
1675
|
+
*
|
|
1676
|
+
* @static
|
|
1677
|
+
* @since 0.1.0
|
|
1678
|
+
* @memberOf _
|
|
1679
|
+
* @category Object
|
|
1680
|
+
* @param {Object} object The destination object.
|
|
1681
|
+
* @param {...Object} [sources] The source objects.
|
|
1682
|
+
* @returns {Object} Returns `object`.
|
|
1683
|
+
* @see _.defaultsDeep
|
|
1684
|
+
* @example
|
|
1685
|
+
*
|
|
1686
|
+
* _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });
|
|
1687
|
+
* // => { 'a': 1, 'b': 2 }
|
|
1688
|
+
*/ var $732eba8dca8b5420$var$defaults = $b1535b4ce0d1bd5f$exports(function(object, sources) {
|
|
1689
|
+
object = Object(object);
|
|
1690
|
+
var index = -1;
|
|
1691
|
+
var length = sources.length;
|
|
1692
|
+
var guard = length > 2 ? sources[2] : undefined;
|
|
1693
|
+
if (guard && $e084f044678f4365$exports(sources[0], sources[1], guard)) length = 1;
|
|
1694
|
+
while(++index < length){
|
|
1695
|
+
var source = sources[index];
|
|
1696
|
+
var props = $0e6e2e34ec44a72a$exports(source);
|
|
1697
|
+
var propsIndex = -1;
|
|
1698
|
+
var propsLength = props.length;
|
|
1699
|
+
while(++propsIndex < propsLength){
|
|
1700
|
+
var key = props[propsIndex];
|
|
1701
|
+
var value = object[key];
|
|
1702
|
+
if (value === undefined || $ceebddaa7160689c$exports(value, $732eba8dca8b5420$var$objectProto[key]) && !$732eba8dca8b5420$var$hasOwnProperty.call(object, key)) object[key] = source[key];
|
|
1703
|
+
}
|
|
1704
|
+
}
|
|
1705
|
+
return object;
|
|
1706
|
+
});
|
|
1707
|
+
$732eba8dca8b5420$exports = $732eba8dca8b5420$var$defaults;
|
|
1708
|
+
|
|
1709
|
+
|
|
1710
|
+
var $f51969c4a7467fa0$exports = {};
|
|
1711
|
+
var $acbd35b1cbbf33e4$exports = {};
|
|
1712
|
+
var $34482bf0fdb87aa6$exports = {};
|
|
1713
|
+
var $c258ac491a64b22b$exports = {};
|
|
1714
|
+
/**
|
|
1715
|
+
* A specialized version of `_.map` for arrays without support for iteratee
|
|
1716
|
+
* shorthands.
|
|
1717
|
+
*
|
|
1718
|
+
* @private
|
|
1719
|
+
* @param {Array} [array] The array to iterate over.
|
|
1720
|
+
* @param {Function} iteratee The function invoked per iteration.
|
|
1721
|
+
* @returns {Array} Returns the new mapped array.
|
|
1722
|
+
*/ function $c258ac491a64b22b$var$arrayMap(array, iteratee) {
|
|
1723
|
+
var index = -1, length = array == null ? 0 : array.length, result = Array(length);
|
|
1724
|
+
while(++index < length)result[index] = iteratee(array[index], index, array);
|
|
1725
|
+
return result;
|
|
1726
|
+
}
|
|
1727
|
+
$c258ac491a64b22b$exports = $c258ac491a64b22b$var$arrayMap;
|
|
1728
|
+
|
|
1729
|
+
|
|
1730
|
+
/**
|
|
1731
|
+
* The base implementation of `_.toPairs` and `_.toPairsIn` which creates an array
|
|
1732
|
+
* of key-value pairs for `object` corresponding to the property names of `props`.
|
|
1733
|
+
*
|
|
1734
|
+
* @private
|
|
1735
|
+
* @param {Object} object The object to query.
|
|
1736
|
+
* @param {Array} props The property names to get values for.
|
|
1737
|
+
* @returns {Object} Returns the key-value pairs.
|
|
1738
|
+
*/ function $34482bf0fdb87aa6$var$baseToPairs(object, props) {
|
|
1739
|
+
return $c258ac491a64b22b$exports(props, function(key) {
|
|
1740
|
+
return [
|
|
1741
|
+
key,
|
|
1742
|
+
object[key]
|
|
1743
|
+
];
|
|
1744
|
+
});
|
|
1745
|
+
}
|
|
1746
|
+
$34482bf0fdb87aa6$exports = $34482bf0fdb87aa6$var$baseToPairs;
|
|
1747
|
+
|
|
1748
|
+
|
|
1749
|
+
var $2184c74fd3b50571$exports = {};
|
|
1750
|
+
var $9707ed10f1d74f7d$exports = {};
|
|
1751
|
+
|
|
1752
|
+
|
|
1753
|
+
var $5iYlB = parcelRequire("5iYlB");
|
|
1754
|
+
/* Built-in method references that are verified to be native. */ var $9707ed10f1d74f7d$var$DataView = $b7745e89d7f5915f$exports($5iYlB, "DataView");
|
|
1755
|
+
$9707ed10f1d74f7d$exports = $9707ed10f1d74f7d$var$DataView;
|
|
1756
|
+
|
|
1757
|
+
|
|
1758
|
+
var $8c4ecd35968046d6$exports = {};
|
|
1759
|
+
|
|
1760
|
+
|
|
1761
|
+
var $5iYlB = parcelRequire("5iYlB");
|
|
1762
|
+
/* Built-in method references that are verified to be native. */ var $8c4ecd35968046d6$var$Map = $b7745e89d7f5915f$exports($5iYlB, "Map");
|
|
1763
|
+
$8c4ecd35968046d6$exports = $8c4ecd35968046d6$var$Map;
|
|
1764
|
+
|
|
1765
|
+
|
|
1766
|
+
var $30f4d64ddd8effd1$exports = {};
|
|
1767
|
+
|
|
1768
|
+
|
|
1769
|
+
var $5iYlB = parcelRequire("5iYlB");
|
|
1770
|
+
/* Built-in method references that are verified to be native. */ var $30f4d64ddd8effd1$var$Promise = $b7745e89d7f5915f$exports($5iYlB, "Promise");
|
|
1771
|
+
$30f4d64ddd8effd1$exports = $30f4d64ddd8effd1$var$Promise;
|
|
1772
|
+
|
|
1773
|
+
|
|
1774
|
+
var $869474d4b330cc35$exports = {};
|
|
1775
|
+
|
|
1776
|
+
|
|
1777
|
+
var $5iYlB = parcelRequire("5iYlB");
|
|
1778
|
+
/* Built-in method references that are verified to be native. */ var $869474d4b330cc35$var$Set = $b7745e89d7f5915f$exports($5iYlB, "Set");
|
|
1779
|
+
$869474d4b330cc35$exports = $869474d4b330cc35$var$Set;
|
|
1780
|
+
|
|
1781
|
+
|
|
1782
|
+
var $c4df061ad36170d9$exports = {};
|
|
1783
|
+
|
|
1784
|
+
|
|
1785
|
+
var $5iYlB = parcelRequire("5iYlB");
|
|
1786
|
+
/* Built-in method references that are verified to be native. */ var $c4df061ad36170d9$var$WeakMap = $b7745e89d7f5915f$exports($5iYlB, "WeakMap");
|
|
1787
|
+
$c4df061ad36170d9$exports = $c4df061ad36170d9$var$WeakMap;
|
|
1788
|
+
|
|
1789
|
+
|
|
1790
|
+
|
|
1791
|
+
var $hi3Ib = parcelRequire("hi3Ib");
|
|
1792
|
+
|
|
1793
|
+
/** `Object#toString` result references. */ var $2184c74fd3b50571$var$mapTag = "[object Map]", $2184c74fd3b50571$var$objectTag = "[object Object]", $2184c74fd3b50571$var$promiseTag = "[object Promise]", $2184c74fd3b50571$var$setTag = "[object Set]", $2184c74fd3b50571$var$weakMapTag = "[object WeakMap]";
|
|
1794
|
+
var $2184c74fd3b50571$var$dataViewTag = "[object DataView]";
|
|
1795
|
+
/** Used to detect maps, sets, and weakmaps. */ var $2184c74fd3b50571$var$dataViewCtorString = $c6de24274df36d4e$exports($9707ed10f1d74f7d$exports), $2184c74fd3b50571$var$mapCtorString = $c6de24274df36d4e$exports($8c4ecd35968046d6$exports), $2184c74fd3b50571$var$promiseCtorString = $c6de24274df36d4e$exports($30f4d64ddd8effd1$exports), $2184c74fd3b50571$var$setCtorString = $c6de24274df36d4e$exports($869474d4b330cc35$exports), $2184c74fd3b50571$var$weakMapCtorString = $c6de24274df36d4e$exports($c4df061ad36170d9$exports);
|
|
1796
|
+
/**
|
|
1797
|
+
* Gets the `toStringTag` of `value`.
|
|
1798
|
+
*
|
|
1799
|
+
* @private
|
|
1800
|
+
* @param {*} value The value to query.
|
|
1801
|
+
* @returns {string} Returns the `toStringTag`.
|
|
1802
|
+
*/ var $2184c74fd3b50571$var$getTag = $hi3Ib;
|
|
1803
|
+
// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.
|
|
1804
|
+
if ($9707ed10f1d74f7d$exports && $2184c74fd3b50571$var$getTag(new $9707ed10f1d74f7d$exports(new ArrayBuffer(1))) != $2184c74fd3b50571$var$dataViewTag || $8c4ecd35968046d6$exports && $2184c74fd3b50571$var$getTag(new $8c4ecd35968046d6$exports) != $2184c74fd3b50571$var$mapTag || $30f4d64ddd8effd1$exports && $2184c74fd3b50571$var$getTag($30f4d64ddd8effd1$exports.resolve()) != $2184c74fd3b50571$var$promiseTag || $869474d4b330cc35$exports && $2184c74fd3b50571$var$getTag(new $869474d4b330cc35$exports) != $2184c74fd3b50571$var$setTag || $c4df061ad36170d9$exports && $2184c74fd3b50571$var$getTag(new $c4df061ad36170d9$exports) != $2184c74fd3b50571$var$weakMapTag) $2184c74fd3b50571$var$getTag = function(value) {
|
|
1805
|
+
var result = $hi3Ib(value), Ctor = result == $2184c74fd3b50571$var$objectTag ? value.constructor : undefined, ctorString = Ctor ? $c6de24274df36d4e$exports(Ctor) : "";
|
|
1806
|
+
if (ctorString) switch(ctorString){
|
|
1807
|
+
case $2184c74fd3b50571$var$dataViewCtorString:
|
|
1808
|
+
return $2184c74fd3b50571$var$dataViewTag;
|
|
1809
|
+
case $2184c74fd3b50571$var$mapCtorString:
|
|
1810
|
+
return $2184c74fd3b50571$var$mapTag;
|
|
1811
|
+
case $2184c74fd3b50571$var$promiseCtorString:
|
|
1812
|
+
return $2184c74fd3b50571$var$promiseTag;
|
|
1813
|
+
case $2184c74fd3b50571$var$setCtorString:
|
|
1814
|
+
return $2184c74fd3b50571$var$setTag;
|
|
1815
|
+
case $2184c74fd3b50571$var$weakMapCtorString:
|
|
1816
|
+
return $2184c74fd3b50571$var$weakMapTag;
|
|
1817
|
+
}
|
|
1818
|
+
return result;
|
|
1819
|
+
};
|
|
1820
|
+
$2184c74fd3b50571$exports = $2184c74fd3b50571$var$getTag;
|
|
1821
|
+
|
|
1822
|
+
|
|
1823
|
+
var $5cfa9b34443304aa$exports = {};
|
|
1824
|
+
/**
|
|
1825
|
+
* Converts `map` to its key-value pairs.
|
|
1826
|
+
*
|
|
1827
|
+
* @private
|
|
1828
|
+
* @param {Object} map The map to convert.
|
|
1829
|
+
* @returns {Array} Returns the key-value pairs.
|
|
1830
|
+
*/ function $5cfa9b34443304aa$var$mapToArray(map) {
|
|
1831
|
+
var index = -1, result = Array(map.size);
|
|
1832
|
+
map.forEach(function(value, key) {
|
|
1833
|
+
result[++index] = [
|
|
1834
|
+
key,
|
|
1835
|
+
value
|
|
1836
|
+
];
|
|
1837
|
+
});
|
|
1838
|
+
return result;
|
|
1839
|
+
}
|
|
1840
|
+
$5cfa9b34443304aa$exports = $5cfa9b34443304aa$var$mapToArray;
|
|
1841
|
+
|
|
1842
|
+
|
|
1843
|
+
var $e0efec8f59f2b46b$exports = {};
|
|
1844
|
+
/**
|
|
1845
|
+
* Converts `set` to its value-value pairs.
|
|
1846
|
+
*
|
|
1847
|
+
* @private
|
|
1848
|
+
* @param {Object} set The set to convert.
|
|
1849
|
+
* @returns {Array} Returns the value-value pairs.
|
|
1850
|
+
*/ function $e0efec8f59f2b46b$var$setToPairs(set) {
|
|
1851
|
+
var index = -1, result = Array(set.size);
|
|
1852
|
+
set.forEach(function(value) {
|
|
1853
|
+
result[++index] = [
|
|
1854
|
+
value,
|
|
1855
|
+
value
|
|
1856
|
+
];
|
|
1857
|
+
});
|
|
1858
|
+
return result;
|
|
1859
|
+
}
|
|
1860
|
+
$e0efec8f59f2b46b$exports = $e0efec8f59f2b46b$var$setToPairs;
|
|
1861
|
+
|
|
1862
|
+
|
|
1863
|
+
/** `Object#toString` result references. */ var $acbd35b1cbbf33e4$var$mapTag = "[object Map]", $acbd35b1cbbf33e4$var$setTag = "[object Set]";
|
|
1864
|
+
/**
|
|
1865
|
+
* Creates a `_.toPairs` or `_.toPairsIn` function.
|
|
1866
|
+
*
|
|
1867
|
+
* @private
|
|
1868
|
+
* @param {Function} keysFunc The function to get the keys of a given object.
|
|
1869
|
+
* @returns {Function} Returns the new pairs function.
|
|
1870
|
+
*/ function $acbd35b1cbbf33e4$var$createToPairs(keysFunc) {
|
|
1871
|
+
return function(object) {
|
|
1872
|
+
var tag = $2184c74fd3b50571$exports(object);
|
|
1873
|
+
if (tag == $acbd35b1cbbf33e4$var$mapTag) return $5cfa9b34443304aa$exports(object);
|
|
1874
|
+
if (tag == $acbd35b1cbbf33e4$var$setTag) return $e0efec8f59f2b46b$exports(object);
|
|
1875
|
+
return $34482bf0fdb87aa6$exports(object, keysFunc(object));
|
|
1876
|
+
};
|
|
1877
|
+
}
|
|
1878
|
+
$acbd35b1cbbf33e4$exports = $acbd35b1cbbf33e4$var$createToPairs;
|
|
1879
|
+
|
|
1880
|
+
|
|
1881
|
+
|
|
1882
|
+
var $bqLSx = parcelRequire("bqLSx");
|
|
1883
|
+
/**
|
|
1884
|
+
* Creates an array of own enumerable string keyed-value pairs for `object`
|
|
1885
|
+
* which can be consumed by `_.fromPairs`. If `object` is a map or set, its
|
|
1886
|
+
* entries are returned.
|
|
1887
|
+
*
|
|
1888
|
+
* @static
|
|
1889
|
+
* @memberOf _
|
|
1890
|
+
* @since 4.0.0
|
|
1891
|
+
* @alias entries
|
|
1892
|
+
* @category Object
|
|
1893
|
+
* @param {Object} object The object to query.
|
|
1894
|
+
* @returns {Array} Returns the key-value pairs.
|
|
1895
|
+
* @example
|
|
1896
|
+
*
|
|
1897
|
+
* function Foo() {
|
|
1898
|
+
* this.a = 1;
|
|
1899
|
+
* this.b = 2;
|
|
1900
|
+
* }
|
|
1901
|
+
*
|
|
1902
|
+
* Foo.prototype.c = 3;
|
|
1903
|
+
*
|
|
1904
|
+
* _.toPairs(new Foo);
|
|
1905
|
+
* // => [['a', 1], ['b', 2]] (iteration order is not guaranteed)
|
|
1906
|
+
*/ var $f51969c4a7467fa0$var$toPairs = $acbd35b1cbbf33e4$exports($bqLSx);
|
|
1907
|
+
$f51969c4a7467fa0$exports = $f51969c4a7467fa0$var$toPairs;
|
|
1908
|
+
|
|
1909
|
+
|
|
1910
|
+
const $8977f8672c5de0fa$export$45f0aca2596a2bb3 = function() {
|
|
1911
|
+
const RELEASE_TYPE = "xlrelease.Release";
|
|
1912
|
+
const PHASE_TYPE = "xlrelease.Phase";
|
|
1913
|
+
const TEAM_TYPE = "xlrelease.Team";
|
|
1914
|
+
const TASK_TYPE = "xlrelease.Task";
|
|
1915
|
+
const COMMENT_TYPE = "xlrelease.Comment";
|
|
1916
|
+
const CONDITION_TYPE = "xlrelease.GateCondition";
|
|
1917
|
+
const DEPENDENCY_TYPE = "xlrelease.Dependency";
|
|
1918
|
+
const LINK_TYPE = "xlrelease.Link";
|
|
1919
|
+
const ATTACHMENT_TYPE = "xlrelease.Attachment";
|
|
1920
|
+
const DASHBOARD_TYPE = "xlrelease.Dashboard";
|
|
1921
|
+
const _TRIGGER_TYPE = "xlrelease.ReleaseTrigger";
|
|
1922
|
+
const JIRA_TYPE = "jira.CreateIssue";
|
|
1923
|
+
const DEFAULT_TASK_OWNER = "Itchy";
|
|
1924
|
+
const processTasks = (task, container, index)=>{
|
|
1925
|
+
if ((0, (/*@__PURE__*/$parcel$interopDefault($3e8b520187e41aa6$exports)))(task.type)) task.type = TASK_TYPE;
|
|
1926
|
+
task.id = task.id || `${container.id}/Task${index}`;
|
|
1927
|
+
if ((0, (/*@__PURE__*/$parcel$interopDefault($3e8b520187e41aa6$exports)))(task.owner) && task.type !== JIRA_TYPE) task.owner = DEFAULT_TASK_OWNER;
|
|
1928
|
+
if (task.owner === null) delete task.owner;
|
|
1929
|
+
(0, (/*@__PURE__*/$parcel$interopDefault($952a2b8d8056b381$exports)))(task.conditions, function(condition, idx) {
|
|
1930
|
+
condition.type = CONDITION_TYPE;
|
|
1931
|
+
condition.id = `${task.id}/GateCondition${idx}`;
|
|
1932
|
+
});
|
|
1933
|
+
(0, (/*@__PURE__*/$parcel$interopDefault($952a2b8d8056b381$exports)))(task.dependencies, function(dependency, idx) {
|
|
1934
|
+
dependency.type = DEPENDENCY_TYPE;
|
|
1935
|
+
dependency.id = `${task.id}/Dependency${idx}`;
|
|
1936
|
+
});
|
|
1937
|
+
(0, (/*@__PURE__*/$parcel$interopDefault($952a2b8d8056b381$exports)))(task.links, function(link, idx) {
|
|
1938
|
+
link.type = LINK_TYPE;
|
|
1939
|
+
link.id = `${task.id}/Link${idx}`;
|
|
1940
|
+
});
|
|
1941
|
+
(0, (/*@__PURE__*/$parcel$interopDefault($952a2b8d8056b381$exports)))(task.comments, function(comment, idx) {
|
|
1942
|
+
comment.type = COMMENT_TYPE;
|
|
1943
|
+
comment.id = `${task.id}/Comment${idx}`;
|
|
1944
|
+
});
|
|
1945
|
+
(0, (/*@__PURE__*/$parcel$interopDefault($952a2b8d8056b381$exports)))(task.tasks, function(subTask, idx) {
|
|
1946
|
+
processTasks(subTask, task, idx);
|
|
1947
|
+
});
|
|
1948
|
+
(0, (/*@__PURE__*/$parcel$interopDefault($952a2b8d8056b381$exports)))(task.templateVariables, function(variable, idx) {
|
|
1949
|
+
(0, (/*@__PURE__*/$parcel$interopDefault($732eba8dca8b5420$exports)))(variable, getVariableEntity(variable.value, variable.key, task.id, idx));
|
|
1950
|
+
});
|
|
1951
|
+
(0, (/*@__PURE__*/$parcel$interopDefault($952a2b8d8056b381$exports)))(task.attachments, function(attachment, idx) {
|
|
1952
|
+
attachment.type = ATTACHMENT_TYPE;
|
|
1953
|
+
attachment.id = `${task.id}/Attachment${idx}`;
|
|
1954
|
+
});
|
|
1955
|
+
if (task.pythonScript) {
|
|
1956
|
+
const pythonScript = task.pythonScript;
|
|
1957
|
+
pythonScript.id = `${task.id}/PythonScript`;
|
|
1958
|
+
pythonScript.customScriptTask = task.id;
|
|
1959
|
+
}
|
|
1960
|
+
};
|
|
1961
|
+
const processPhases = (phase, release, index)=>{
|
|
1962
|
+
phase.type = PHASE_TYPE;
|
|
1963
|
+
phase.id = `${release.id}/Phase${index}`;
|
|
1964
|
+
(0, (/*@__PURE__*/$parcel$interopDefault($ae8Uz)))(phase.tasks, (task, idx)=>{
|
|
1965
|
+
processTasks(task, phase, idx);
|
|
1966
|
+
});
|
|
1967
|
+
};
|
|
1968
|
+
const getVariableEntity = (value, key, containerId, index, password)=>{
|
|
1969
|
+
const keyNoSyntax = key.replace("${", "").replace("}", "");
|
|
1970
|
+
return {
|
|
1971
|
+
title: "",
|
|
1972
|
+
id: `${containerId}/Variable${index}`,
|
|
1973
|
+
key: keyNoSyntax,
|
|
1974
|
+
requiresValue: true,
|
|
1975
|
+
showOnReleaseStart: true,
|
|
1976
|
+
type: password ? "xlrelease.PasswordStringVariable" : "xlrelease.StringVariable",
|
|
1977
|
+
value: value
|
|
1978
|
+
};
|
|
1979
|
+
};
|
|
1980
|
+
const getValueProviderConfigurationEntity = function(containerId) {
|
|
1981
|
+
return {
|
|
1982
|
+
id: `${containerId}/valueProvider`,
|
|
1983
|
+
variable: containerId
|
|
1984
|
+
};
|
|
1985
|
+
};
|
|
1986
|
+
const getDashboardExtension = (dashboard, releaseId)=>{
|
|
1987
|
+
const dashboardExtension = {
|
|
1988
|
+
id: `${releaseId}/summary`,
|
|
1989
|
+
type: DASHBOARD_TYPE,
|
|
1990
|
+
tiles: []
|
|
1991
|
+
};
|
|
1992
|
+
if (dashboard.tiles) (0, (/*@__PURE__*/$parcel$interopDefault($ae8Uz)))(dashboard.tiles, function(tile, index) {
|
|
1993
|
+
dashboardExtension.tiles.push(getTileEntity(tile, `${releaseId}/summary`, index));
|
|
1994
|
+
});
|
|
1995
|
+
return dashboardExtension;
|
|
1996
|
+
};
|
|
1997
|
+
function getTileEntity(tile, containerId, index) {
|
|
1998
|
+
tile.id = tile.id || `${containerId}/Tile${index}`;
|
|
1999
|
+
return tile;
|
|
2000
|
+
}
|
|
2001
|
+
return function(release) {
|
|
2002
|
+
release.type = RELEASE_TYPE;
|
|
2003
|
+
if (release.id.indexOf("Applications/") === -1) release.id = `Applications/${release.id}`;
|
|
2004
|
+
if (release.startDate) release.queryableStartDate = release.startDate;
|
|
2005
|
+
else if (release.scheduledStartDate) release.queryableStartDate = release.scheduledStartDate;
|
|
2006
|
+
if (release.endDate) release.queryableEndDate = release.endDate;
|
|
2007
|
+
else if (release.dueDate) release.queryableEndDate = release.dueDate;
|
|
2008
|
+
if ((0, (/*@__PURE__*/$parcel$interopDefault($3e8b520187e41aa6$exports)))(release.owner)) release.owner = "Itchy"; // default release manager
|
|
2009
|
+
(0, (/*@__PURE__*/$parcel$interopDefault($ae8Uz)))(release.phases, function(phase, index) {
|
|
2010
|
+
processPhases(phase, release, index);
|
|
2011
|
+
});
|
|
2012
|
+
(0, (/*@__PURE__*/$parcel$interopDefault($ae8Uz)))(release.teams, function(team, index) {
|
|
2013
|
+
team.type = TEAM_TYPE;
|
|
2014
|
+
team.id = `${release.id}/Team${index}`;
|
|
2015
|
+
});
|
|
2016
|
+
(0, (/*@__PURE__*/$parcel$interopDefault($ae8Uz)))(release.attachments, function(attachment, index) {
|
|
2017
|
+
attachment.type = ATTACHMENT_TYPE;
|
|
2018
|
+
attachment.id = `${release.id}/Attachment${index}`;
|
|
2019
|
+
});
|
|
2020
|
+
(0, (/*@__PURE__*/$parcel$interopDefault($ae8Uz)))(release.variables, function(variable, index) {
|
|
2021
|
+
(0, (/*@__PURE__*/$parcel$interopDefault($732eba8dca8b5420$exports)))(variable, getVariableEntity(variable.value, variable.key, release.id, index));
|
|
2022
|
+
if (variable.valueProvider) (0, (/*@__PURE__*/$parcel$interopDefault($732eba8dca8b5420$exports)))(variable.valueProvider, getValueProviderConfigurationEntity(variable.id));
|
|
2023
|
+
});
|
|
2024
|
+
(0, (/*@__PURE__*/$parcel$interopDefault($ae8Uz)))((0, (/*@__PURE__*/$parcel$interopDefault($f51969c4a7467fa0$exports)))(release.variableValues), function(keyValue, index) {
|
|
2025
|
+
if (!release.variables) release.variables = [];
|
|
2026
|
+
release.variables.push(getVariableEntity(keyValue[1], keyValue[0], release.id, 1000 + index));
|
|
2027
|
+
release.variableValues = undefined;
|
|
2028
|
+
});
|
|
2029
|
+
(0, (/*@__PURE__*/$parcel$interopDefault($ae8Uz)))((0, (/*@__PURE__*/$parcel$interopDefault($f51969c4a7467fa0$exports)))(release.passwordVariableValues), function(keyValue, index) {
|
|
2030
|
+
if (!release.variables) release.variables = [];
|
|
2031
|
+
release.variables.push(getVariableEntity(keyValue[1], keyValue[0], release.id, 1500 + index, true));
|
|
2032
|
+
release.passwordVariableValues = undefined;
|
|
2033
|
+
});
|
|
2034
|
+
if (release.summary) {
|
|
2035
|
+
release.extensions = [
|
|
2036
|
+
getDashboardExtension(release.summary, release.id)
|
|
2037
|
+
];
|
|
2038
|
+
release.summary = undefined;
|
|
2039
|
+
}
|
|
2040
|
+
};
|
|
2041
|
+
}();
|
|
2042
|
+
|
|
2043
|
+
|
|
2044
|
+
|
|
2045
|
+
const $6998c6a53a9eb4fa$var$adminHeaders = {
|
|
2046
|
+
Authorization: "Basic YWRtaW46YWRtaW4=",
|
|
2047
|
+
Cookie: "XSRF-TOKEN=1;",
|
|
2048
|
+
"X-XSRF-TOKEN": "1"
|
|
2049
|
+
};
|
|
2050
|
+
const $6998c6a53a9eb4fa$export$e0969da9b8fb378d = (0, $kKeXs$playwrighttest.test).extend({
|
|
2051
|
+
fixtures: async ({ request: request , page: page }, use)=>{
|
|
2052
|
+
const fixtures = new $6998c6a53a9eb4fa$var$Fixtures(request, page);
|
|
2053
|
+
await use(fixtures);
|
|
2054
|
+
return fixtures;
|
|
2055
|
+
},
|
|
2056
|
+
loginPage: async ({ page: page }, use)=>{
|
|
2057
|
+
const loginPage = new (0, $9a16c8a1280a99a0$export$f14c0e3f98d164c0)(page);
|
|
2058
|
+
await use(loginPage);
|
|
2059
|
+
return loginPage;
|
|
2060
|
+
},
|
|
2061
|
+
applicationPage: async ({ page: page }, use)=>{
|
|
2062
|
+
const applicationPage = new (0, $dc91ece6da6cadfa$export$1533b625ec0c75e2)(page);
|
|
2063
|
+
await use(applicationPage);
|
|
2064
|
+
return applicationPage;
|
|
2065
|
+
},
|
|
2066
|
+
personalAccessTokenPage: async ({ page: page }, use)=>{
|
|
2067
|
+
const personalAccessTokenPage = new (0, $be4dd73206d8e76b$export$3cac5fd37ae64b91)(page);
|
|
2068
|
+
await use(personalAccessTokenPage);
|
|
2069
|
+
return personalAccessTokenPage;
|
|
2070
|
+
},
|
|
2071
|
+
navigation: async ({ page: page }, use)=>{
|
|
2072
|
+
const navigationPage = new (0, $4ef41cf96a5fae4c$export$b8a61e5c71402559)(page);
|
|
2073
|
+
await use(navigationPage);
|
|
2074
|
+
return navigationPage;
|
|
2075
|
+
}
|
|
2076
|
+
});
|
|
2077
|
+
class $6998c6a53a9eb4fa$var$Fixtures {
|
|
2078
|
+
releaseIds = [];
|
|
2079
|
+
triggerIds = [];
|
|
2080
|
+
configurationIds = [];
|
|
2081
|
+
constructor(request, page){
|
|
2082
|
+
this.request = request;
|
|
2083
|
+
this.page = page;
|
|
2084
|
+
}
|
|
2085
|
+
release(release) {
|
|
2086
|
+
this.initDefaults(release);
|
|
2087
|
+
this.releaseIds.push(release.id);
|
|
2088
|
+
return this.deleteRelease(release.id).then(()=>this.deleteArchivedRelease(release.id)).then(()=>this.doPost("fixtures/release", release));
|
|
2089
|
+
}
|
|
2090
|
+
configuration(ci) {
|
|
2091
|
+
this.configurationIds.push(ci.id);
|
|
2092
|
+
return this.doPost("fixtures/shared", [
|
|
2093
|
+
ci
|
|
2094
|
+
]);
|
|
2095
|
+
}
|
|
2096
|
+
trigger(trigger) {
|
|
2097
|
+
this.triggerIds.push(trigger.id);
|
|
2098
|
+
return this.doPost("fixtures/trigger", trigger);
|
|
2099
|
+
}
|
|
2100
|
+
deleteArchivedRelease(id) {
|
|
2101
|
+
const releaseId = id.includes("Applications/") ? id : `Applications/${id}`;
|
|
2102
|
+
return this.doDelete("fixtures/cis", [
|
|
2103
|
+
{
|
|
2104
|
+
id: releaseId,
|
|
2105
|
+
type: "xlrelease.Release"
|
|
2106
|
+
}
|
|
2107
|
+
]);
|
|
2108
|
+
}
|
|
2109
|
+
deleteRelease(id) {
|
|
2110
|
+
const releaseId = id.includes("Applications/") ? id : `Applications/${id}`;
|
|
2111
|
+
return this.doDelete(`fixtures/${releaseId}`);
|
|
2112
|
+
}
|
|
2113
|
+
deleteTrigger(id) {
|
|
2114
|
+
return this.doDelete(`fixtures/trigger/${id}`);
|
|
2115
|
+
}
|
|
2116
|
+
deleteConfiguration(id) {
|
|
2117
|
+
return this.doDelete(`fixtures/shared`, [
|
|
2118
|
+
id
|
|
2119
|
+
]);
|
|
2120
|
+
}
|
|
2121
|
+
cleanAll() {
|
|
2122
|
+
const promises = [];
|
|
2123
|
+
for (const releaseId of this.releaseIds.reverse())promises.push(this.deleteRelease(releaseId));
|
|
2124
|
+
for (const triggerId of this.triggerIds)promises.push(this.deleteTrigger(triggerId));
|
|
2125
|
+
for (const confId of this.configurationIds)promises.push(this.deleteConfiguration(confId));
|
|
2126
|
+
this.releaseIds = [];
|
|
2127
|
+
this.triggerIds = [];
|
|
2128
|
+
this.configurationIds = [];
|
|
2129
|
+
return Promise.all(promises);
|
|
2130
|
+
}
|
|
2131
|
+
async waitForReleaseStarted(releaseTitle) {
|
|
2132
|
+
await (0, $kKeXs$playwrighttest.expect)(async ()=>{
|
|
2133
|
+
const resp = await this.doPost("releases/search", {
|
|
2134
|
+
inProgress: true,
|
|
2135
|
+
paused: true,
|
|
2136
|
+
failing: true,
|
|
2137
|
+
failed: true,
|
|
2138
|
+
title: releaseTitle
|
|
2139
|
+
});
|
|
2140
|
+
const page = await resp.json();
|
|
2141
|
+
await (0, $kKeXs$playwrighttest.expect)(page.cis.length).toBeGreaterThan(0);
|
|
2142
|
+
}).toPass();
|
|
2143
|
+
}
|
|
2144
|
+
async waitForFirstPoll(triggerId) {
|
|
2145
|
+
await (0, $kKeXs$playwrighttest.expect)(async ()=>{
|
|
2146
|
+
const resp = await this.doGet(`api/v1/triggers/${triggerId}`);
|
|
2147
|
+
const trigger = await resp.json();
|
|
2148
|
+
await (0, $kKeXs$playwrighttest.expect)((0, (/*@__PURE__*/$parcel$interopDefault($edb0b0405039996a$exports)))(trigger.triggerState)).toBe(false);
|
|
2149
|
+
}).toPass();
|
|
2150
|
+
}
|
|
2151
|
+
exec(path) {
|
|
2152
|
+
return new Promise((resolve, reject)=>{
|
|
2153
|
+
(0, $kKeXs$child_process.execFile)(path, (error)=>{
|
|
2154
|
+
if (error === null) return resolve();
|
|
2155
|
+
else return reject();
|
|
2156
|
+
});
|
|
2157
|
+
});
|
|
2158
|
+
}
|
|
2159
|
+
getFakeApiUrl() {
|
|
2160
|
+
return this.getEnvVariable("ENV_FAKE_API") || "http://localhost:5517";
|
|
2161
|
+
}
|
|
2162
|
+
getEnvVariable(name) {
|
|
2163
|
+
return $kKeXs$process.env[name];
|
|
2164
|
+
}
|
|
2165
|
+
async setFeatures(features) {
|
|
2166
|
+
return this.doPut("/settings/features", features);
|
|
2167
|
+
}
|
|
2168
|
+
doPost(url, body) {
|
|
2169
|
+
return this.request.post(url, {
|
|
2170
|
+
data: body,
|
|
2171
|
+
headers: $6998c6a53a9eb4fa$var$adminHeaders
|
|
2172
|
+
});
|
|
2173
|
+
}
|
|
2174
|
+
doPut(url, body) {
|
|
2175
|
+
return this.request.put(url, {
|
|
2176
|
+
data: body,
|
|
2177
|
+
headers: $6998c6a53a9eb4fa$var$adminHeaders
|
|
2178
|
+
});
|
|
2179
|
+
}
|
|
2180
|
+
doGet(url) {
|
|
2181
|
+
return this.request.get(url, {
|
|
2182
|
+
headers: $6998c6a53a9eb4fa$var$adminHeaders
|
|
2183
|
+
});
|
|
2184
|
+
}
|
|
2185
|
+
doDelete(url, body) {
|
|
2186
|
+
return this.request.delete(url, {
|
|
2187
|
+
data: body,
|
|
2188
|
+
headers: $6998c6a53a9eb4fa$var$adminHeaders
|
|
2189
|
+
});
|
|
2190
|
+
}
|
|
2191
|
+
initDefaults(ci) {
|
|
2192
|
+
(0, $8977f8672c5de0fa$export$45f0aca2596a2bb3)(ci);
|
|
2193
|
+
}
|
|
2194
|
+
}
|
|
2195
|
+
|
|
2196
|
+
|
|
2197
|
+
|
|
2198
|
+
|
|
2199
|
+
//# sourceMappingURL=main.js.map
|