@unisphere/genie-types 1.38.6 → 1.39.0
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/index.esm.js +723 -362
- package/package.json +1 -1
- package/src/index.d.ts +1 -0
- package/src/lib/avatar-runtime/contained-visual-types.d.ts +3 -0
- package/src/lib/avatar-runtime/floater-visual-types.d.ts +3 -0
- package/src/lib/avatar-runtime/visual-bridge-types.d.ts +1 -0
- package/src/lib/data-models-utils.d.ts +36 -0
package/index.esm.js
CHANGED
|
@@ -21,7 +21,7 @@ var globalThis_1 =
|
|
|
21
21
|
|
|
22
22
|
var objectGetOwnPropertyDescriptor = {};
|
|
23
23
|
|
|
24
|
-
var fails$
|
|
24
|
+
var fails$f = function (exec) {
|
|
25
25
|
try {
|
|
26
26
|
return !!exec();
|
|
27
27
|
} catch (error) {
|
|
@@ -29,29 +29,29 @@ var fails$e = function (exec) {
|
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
|
|
32
|
-
var fails$
|
|
32
|
+
var fails$e = fails$f;
|
|
33
33
|
|
|
34
34
|
// Detect IE8's incomplete defineProperty implementation
|
|
35
|
-
var descriptors = !fails$
|
|
35
|
+
var descriptors = !fails$e(function () {
|
|
36
36
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
37
37
|
return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
var fails$
|
|
40
|
+
var fails$d = fails$f;
|
|
41
41
|
|
|
42
|
-
var functionBindNative = !fails$
|
|
42
|
+
var functionBindNative = !fails$d(function () {
|
|
43
43
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
44
44
|
var test = (function () { /* empty */ }).bind();
|
|
45
45
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
46
46
|
return typeof test != 'function' || test.hasOwnProperty('prototype');
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
var NATIVE_BIND$
|
|
49
|
+
var NATIVE_BIND$2 = functionBindNative;
|
|
50
50
|
|
|
51
|
-
var call$
|
|
51
|
+
var call$c = Function.prototype.call;
|
|
52
52
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
53
|
-
var functionCall = NATIVE_BIND$
|
|
54
|
-
return call$
|
|
53
|
+
var functionCall = NATIVE_BIND$2 ? call$c.bind(call$c) : function () {
|
|
54
|
+
return call$c.apply(call$c, arguments);
|
|
55
55
|
};
|
|
56
56
|
|
|
57
57
|
var objectPropertyIsEnumerable = {};
|
|
@@ -70,7 +70,7 @@ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
|
|
|
70
70
|
return !!descriptor && descriptor.enumerable;
|
|
71
71
|
} : $propertyIsEnumerable;
|
|
72
72
|
|
|
73
|
-
var createPropertyDescriptor$
|
|
73
|
+
var createPropertyDescriptor$4 = function (bitmap, value) {
|
|
74
74
|
return {
|
|
75
75
|
enumerable: !(bitmap & 1),
|
|
76
76
|
configurable: !(bitmap & 2),
|
|
@@ -79,58 +79,58 @@ var createPropertyDescriptor$3 = function (bitmap, value) {
|
|
|
79
79
|
};
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
var NATIVE_BIND = functionBindNative;
|
|
82
|
+
var NATIVE_BIND$1 = functionBindNative;
|
|
83
83
|
|
|
84
84
|
var FunctionPrototype$1 = Function.prototype;
|
|
85
|
-
var call$
|
|
85
|
+
var call$b = FunctionPrototype$1.call;
|
|
86
86
|
// eslint-disable-next-line es/no-function-prototype-bind -- safe
|
|
87
|
-
var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$
|
|
87
|
+
var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$1.bind.bind(call$b, call$b);
|
|
88
88
|
|
|
89
|
-
var functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
|
|
89
|
+
var functionUncurryThis = NATIVE_BIND$1 ? uncurryThisWithBind : function (fn) {
|
|
90
90
|
return function () {
|
|
91
|
-
return call$
|
|
91
|
+
return call$b.apply(fn, arguments);
|
|
92
92
|
};
|
|
93
93
|
};
|
|
94
94
|
|
|
95
|
-
var uncurryThis$
|
|
95
|
+
var uncurryThis$e = functionUncurryThis;
|
|
96
96
|
|
|
97
|
-
var toString$1 = uncurryThis$
|
|
98
|
-
var stringSlice$1 = uncurryThis$
|
|
97
|
+
var toString$1 = uncurryThis$e({}.toString);
|
|
98
|
+
var stringSlice$1 = uncurryThis$e(''.slice);
|
|
99
99
|
|
|
100
|
-
var classofRaw = function (it) {
|
|
100
|
+
var classofRaw$2 = function (it) {
|
|
101
101
|
return stringSlice$1(toString$1(it), 8, -1);
|
|
102
102
|
};
|
|
103
103
|
|
|
104
|
-
var uncurryThis$
|
|
105
|
-
var fails$
|
|
106
|
-
var classof = classofRaw;
|
|
104
|
+
var uncurryThis$d = functionUncurryThis;
|
|
105
|
+
var fails$c = fails$f;
|
|
106
|
+
var classof$2 = classofRaw$2;
|
|
107
107
|
|
|
108
|
-
var $Object$
|
|
109
|
-
var split = uncurryThis$
|
|
108
|
+
var $Object$4 = Object;
|
|
109
|
+
var split = uncurryThis$d(''.split);
|
|
110
110
|
|
|
111
111
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
112
|
-
var indexedObject = fails$
|
|
112
|
+
var indexedObject = fails$c(function () {
|
|
113
113
|
// throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
|
|
114
114
|
// eslint-disable-next-line no-prototype-builtins -- safe
|
|
115
|
-
return !$Object$
|
|
115
|
+
return !$Object$4('z').propertyIsEnumerable(0);
|
|
116
116
|
}) ? function (it) {
|
|
117
|
-
return classof(it) === 'String' ? split(it, '') : $Object$
|
|
118
|
-
} : $Object$
|
|
117
|
+
return classof$2(it) === 'String' ? split(it, '') : $Object$4(it);
|
|
118
|
+
} : $Object$4;
|
|
119
119
|
|
|
120
120
|
// we can't use just `it == null` since of `document.all` special case
|
|
121
121
|
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
|
|
122
|
-
var isNullOrUndefined$
|
|
122
|
+
var isNullOrUndefined$3 = function (it) {
|
|
123
123
|
return it === null || it === undefined;
|
|
124
124
|
};
|
|
125
125
|
|
|
126
|
-
var isNullOrUndefined$
|
|
126
|
+
var isNullOrUndefined$2 = isNullOrUndefined$3;
|
|
127
127
|
|
|
128
|
-
var $TypeError$
|
|
128
|
+
var $TypeError$b = TypeError;
|
|
129
129
|
|
|
130
130
|
// `RequireObjectCoercible` abstract operation
|
|
131
131
|
// https://tc39.es/ecma262/#sec-requireobjectcoercible
|
|
132
132
|
var requireObjectCoercible$3 = function (it) {
|
|
133
|
-
if (isNullOrUndefined$
|
|
133
|
+
if (isNullOrUndefined$2(it)) throw new $TypeError$b("Can't call method on " + it);
|
|
134
134
|
return it;
|
|
135
135
|
};
|
|
136
136
|
|
|
@@ -148,45 +148,45 @@ var documentAll = typeof document == 'object' && document.all;
|
|
|
148
148
|
// `IsCallable` abstract operation
|
|
149
149
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
150
150
|
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
151
|
-
var isCallable$
|
|
151
|
+
var isCallable$f = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
|
152
152
|
return typeof argument == 'function' || argument === documentAll;
|
|
153
153
|
} : function (argument) {
|
|
154
154
|
return typeof argument == 'function';
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
var isCallable$
|
|
157
|
+
var isCallable$e = isCallable$f;
|
|
158
158
|
|
|
159
159
|
var isObject$8 = function (it) {
|
|
160
|
-
return typeof it == 'object' ? it !== null : isCallable$
|
|
160
|
+
return typeof it == 'object' ? it !== null : isCallable$e(it);
|
|
161
161
|
};
|
|
162
162
|
|
|
163
|
-
var globalThis$
|
|
164
|
-
var isCallable$
|
|
163
|
+
var globalThis$e = globalThis_1;
|
|
164
|
+
var isCallable$d = isCallable$f;
|
|
165
165
|
|
|
166
166
|
var aFunction = function (argument) {
|
|
167
|
-
return isCallable$
|
|
167
|
+
return isCallable$d(argument) ? argument : undefined;
|
|
168
168
|
};
|
|
169
169
|
|
|
170
170
|
var getBuiltIn$4 = function (namespace, method) {
|
|
171
|
-
return arguments.length < 2 ? aFunction(globalThis$
|
|
171
|
+
return arguments.length < 2 ? aFunction(globalThis$e[namespace]) : globalThis$e[namespace] && globalThis$e[namespace][method];
|
|
172
172
|
};
|
|
173
173
|
|
|
174
|
-
var uncurryThis$
|
|
174
|
+
var uncurryThis$c = functionUncurryThis;
|
|
175
175
|
|
|
176
|
-
var objectIsPrototypeOf = uncurryThis$
|
|
176
|
+
var objectIsPrototypeOf = uncurryThis$c({}.isPrototypeOf);
|
|
177
177
|
|
|
178
|
-
var globalThis$
|
|
178
|
+
var globalThis$d = globalThis_1;
|
|
179
179
|
|
|
180
|
-
var navigator = globalThis$
|
|
180
|
+
var navigator = globalThis$d.navigator;
|
|
181
181
|
var userAgent$1 = navigator && navigator.userAgent;
|
|
182
182
|
|
|
183
183
|
var environmentUserAgent = userAgent$1 ? String(userAgent$1) : '';
|
|
184
184
|
|
|
185
|
-
var globalThis$
|
|
185
|
+
var globalThis$c = globalThis_1;
|
|
186
186
|
var userAgent = environmentUserAgent;
|
|
187
187
|
|
|
188
|
-
var process = globalThis$
|
|
189
|
-
var Deno = globalThis$
|
|
188
|
+
var process = globalThis$c.process;
|
|
189
|
+
var Deno = globalThis$c.Deno;
|
|
190
190
|
var versions = process && process.versions || Deno && Deno.version;
|
|
191
191
|
var v8 = versions && versions.v8;
|
|
192
192
|
var match, version;
|
|
@@ -212,13 +212,13 @@ var environmentV8Version = version;
|
|
|
212
212
|
|
|
213
213
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
214
214
|
var V8_VERSION = environmentV8Version;
|
|
215
|
-
var fails$
|
|
216
|
-
var globalThis$
|
|
215
|
+
var fails$b = fails$f;
|
|
216
|
+
var globalThis$b = globalThis_1;
|
|
217
217
|
|
|
218
|
-
var $String$4 = globalThis$
|
|
218
|
+
var $String$4 = globalThis$b.String;
|
|
219
219
|
|
|
220
220
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
221
|
-
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$
|
|
221
|
+
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$b(function () {
|
|
222
222
|
var symbol = Symbol('symbol detection');
|
|
223
223
|
// Chrome 38 Symbol has incorrect toString conversion
|
|
224
224
|
// `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
|
|
@@ -237,22 +237,22 @@ var useSymbolAsUid = NATIVE_SYMBOL$1 &&
|
|
|
237
237
|
typeof Symbol.iterator == 'symbol';
|
|
238
238
|
|
|
239
239
|
var getBuiltIn$3 = getBuiltIn$4;
|
|
240
|
-
var isCallable$
|
|
241
|
-
var isPrototypeOf = objectIsPrototypeOf;
|
|
240
|
+
var isCallable$c = isCallable$f;
|
|
241
|
+
var isPrototypeOf$2 = objectIsPrototypeOf;
|
|
242
242
|
var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
|
|
243
243
|
|
|
244
|
-
var $Object$
|
|
244
|
+
var $Object$3 = Object;
|
|
245
245
|
|
|
246
246
|
var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
|
|
247
247
|
return typeof it == 'symbol';
|
|
248
248
|
} : function (it) {
|
|
249
249
|
var $Symbol = getBuiltIn$3('Symbol');
|
|
250
|
-
return isCallable$
|
|
250
|
+
return isCallable$c($Symbol) && isPrototypeOf$2($Symbol.prototype, $Object$3(it));
|
|
251
251
|
};
|
|
252
252
|
|
|
253
253
|
var $String$3 = String;
|
|
254
254
|
|
|
255
|
-
var tryToString$
|
|
255
|
+
var tryToString$3 = function (argument) {
|
|
256
256
|
try {
|
|
257
257
|
return $String$3(argument);
|
|
258
258
|
} catch (error) {
|
|
@@ -260,63 +260,63 @@ var tryToString$1 = function (argument) {
|
|
|
260
260
|
}
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
var isCallable$
|
|
264
|
-
var tryToString = tryToString$
|
|
263
|
+
var isCallable$b = isCallable$f;
|
|
264
|
+
var tryToString$2 = tryToString$3;
|
|
265
265
|
|
|
266
|
-
var $TypeError$
|
|
266
|
+
var $TypeError$a = TypeError;
|
|
267
267
|
|
|
268
268
|
// `Assert: IsCallable(argument) is true`
|
|
269
|
-
var aCallable$
|
|
270
|
-
if (isCallable$
|
|
271
|
-
throw new $TypeError$
|
|
269
|
+
var aCallable$6 = function (argument) {
|
|
270
|
+
if (isCallable$b(argument)) return argument;
|
|
271
|
+
throw new $TypeError$a(tryToString$2(argument) + ' is not a function');
|
|
272
272
|
};
|
|
273
273
|
|
|
274
|
-
var aCallable$
|
|
275
|
-
var isNullOrUndefined = isNullOrUndefined$
|
|
274
|
+
var aCallable$5 = aCallable$6;
|
|
275
|
+
var isNullOrUndefined$1 = isNullOrUndefined$3;
|
|
276
276
|
|
|
277
277
|
// `GetMethod` abstract operation
|
|
278
278
|
// https://tc39.es/ecma262/#sec-getmethod
|
|
279
|
-
var getMethod$
|
|
279
|
+
var getMethod$3 = function (V, P) {
|
|
280
280
|
var func = V[P];
|
|
281
|
-
return isNullOrUndefined(func) ? undefined : aCallable$
|
|
281
|
+
return isNullOrUndefined$1(func) ? undefined : aCallable$5(func);
|
|
282
282
|
};
|
|
283
283
|
|
|
284
|
-
var call$
|
|
285
|
-
var isCallable$
|
|
284
|
+
var call$a = functionCall;
|
|
285
|
+
var isCallable$a = isCallable$f;
|
|
286
286
|
var isObject$7 = isObject$8;
|
|
287
287
|
|
|
288
|
-
var $TypeError$
|
|
288
|
+
var $TypeError$9 = TypeError;
|
|
289
289
|
|
|
290
290
|
// `OrdinaryToPrimitive` abstract operation
|
|
291
291
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
292
292
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
293
293
|
var fn, val;
|
|
294
|
-
if (pref === 'string' && isCallable$
|
|
295
|
-
if (isCallable$
|
|
296
|
-
if (pref !== 'string' && isCallable$
|
|
297
|
-
throw new $TypeError$
|
|
294
|
+
if (pref === 'string' && isCallable$a(fn = input.toString) && !isObject$7(val = call$a(fn, input))) return val;
|
|
295
|
+
if (isCallable$a(fn = input.valueOf) && !isObject$7(val = call$a(fn, input))) return val;
|
|
296
|
+
if (pref !== 'string' && isCallable$a(fn = input.toString) && !isObject$7(val = call$a(fn, input))) return val;
|
|
297
|
+
throw new $TypeError$9("Can't convert object to primitive value");
|
|
298
298
|
};
|
|
299
299
|
|
|
300
300
|
var sharedStore = {exports: {}};
|
|
301
301
|
|
|
302
|
-
var globalThis$
|
|
302
|
+
var globalThis$a = globalThis_1;
|
|
303
303
|
|
|
304
304
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
305
|
-
var defineProperty$
|
|
305
|
+
var defineProperty$6 = Object.defineProperty;
|
|
306
306
|
|
|
307
307
|
var defineGlobalProperty$3 = function (key, value) {
|
|
308
308
|
try {
|
|
309
|
-
defineProperty$
|
|
309
|
+
defineProperty$6(globalThis$a, key, { value: value, configurable: true, writable: true });
|
|
310
310
|
} catch (error) {
|
|
311
|
-
globalThis$
|
|
311
|
+
globalThis$a[key] = value;
|
|
312
312
|
} return value;
|
|
313
313
|
};
|
|
314
314
|
|
|
315
|
-
var globalThis$
|
|
315
|
+
var globalThis$9 = globalThis_1;
|
|
316
316
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
317
317
|
|
|
318
318
|
var SHARED = '__core-js_shared__';
|
|
319
|
-
var store$3 = sharedStore.exports = globalThis$
|
|
319
|
+
var store$3 = sharedStore.exports = globalThis$9[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
320
320
|
|
|
321
321
|
(store$3.versions || (store$3.versions = [])).push({
|
|
322
322
|
version: '3.48.0',
|
|
@@ -336,18 +336,18 @@ var shared$3 = function (key, value) {
|
|
|
336
336
|
|
|
337
337
|
var requireObjectCoercible$1 = requireObjectCoercible$3;
|
|
338
338
|
|
|
339
|
-
var $Object$
|
|
339
|
+
var $Object$2 = Object;
|
|
340
340
|
|
|
341
341
|
// `ToObject` abstract operation
|
|
342
342
|
// https://tc39.es/ecma262/#sec-toobject
|
|
343
343
|
var toObject$3 = function (argument) {
|
|
344
|
-
return $Object$
|
|
344
|
+
return $Object$2(requireObjectCoercible$1(argument));
|
|
345
345
|
};
|
|
346
346
|
|
|
347
|
-
var uncurryThis$
|
|
347
|
+
var uncurryThis$b = functionUncurryThis;
|
|
348
348
|
var toObject$2 = toObject$3;
|
|
349
349
|
|
|
350
|
-
var hasOwnProperty = uncurryThis$
|
|
350
|
+
var hasOwnProperty = uncurryThis$b({}.hasOwnProperty);
|
|
351
351
|
|
|
352
352
|
// `HasOwnProperty` abstract operation
|
|
353
353
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
@@ -356,56 +356,56 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
|
356
356
|
return hasOwnProperty(toObject$2(it), key);
|
|
357
357
|
};
|
|
358
358
|
|
|
359
|
-
var uncurryThis$
|
|
359
|
+
var uncurryThis$a = functionUncurryThis;
|
|
360
360
|
|
|
361
361
|
var id = 0;
|
|
362
362
|
var postfix = Math.random();
|
|
363
|
-
var toString = uncurryThis$
|
|
363
|
+
var toString = uncurryThis$a(1.1.toString);
|
|
364
364
|
|
|
365
365
|
var uid$2 = function (key) {
|
|
366
366
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
|
|
367
367
|
};
|
|
368
368
|
|
|
369
|
-
var globalThis$
|
|
369
|
+
var globalThis$8 = globalThis_1;
|
|
370
370
|
var shared$2 = shared$3;
|
|
371
|
-
var hasOwn$
|
|
371
|
+
var hasOwn$9 = hasOwnProperty_1;
|
|
372
372
|
var uid$1 = uid$2;
|
|
373
373
|
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
374
374
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
375
375
|
|
|
376
|
-
var Symbol$1 = globalThis$
|
|
376
|
+
var Symbol$1 = globalThis$8.Symbol;
|
|
377
377
|
var WellKnownSymbolsStore = shared$2('wks');
|
|
378
378
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
379
379
|
|
|
380
|
-
var wellKnownSymbol$
|
|
381
|
-
if (!hasOwn$
|
|
382
|
-
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$
|
|
380
|
+
var wellKnownSymbol$b = function (name) {
|
|
381
|
+
if (!hasOwn$9(WellKnownSymbolsStore, name)) {
|
|
382
|
+
WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$9(Symbol$1, name)
|
|
383
383
|
? Symbol$1[name]
|
|
384
384
|
: createWellKnownSymbol('Symbol.' + name);
|
|
385
385
|
} return WellKnownSymbolsStore[name];
|
|
386
386
|
};
|
|
387
387
|
|
|
388
|
-
var call$
|
|
388
|
+
var call$9 = functionCall;
|
|
389
389
|
var isObject$6 = isObject$8;
|
|
390
390
|
var isSymbol$1 = isSymbol$2;
|
|
391
|
-
var getMethod$
|
|
391
|
+
var getMethod$2 = getMethod$3;
|
|
392
392
|
var ordinaryToPrimitive = ordinaryToPrimitive$1;
|
|
393
|
-
var wellKnownSymbol$
|
|
393
|
+
var wellKnownSymbol$a = wellKnownSymbol$b;
|
|
394
394
|
|
|
395
|
-
var $TypeError$
|
|
396
|
-
var TO_PRIMITIVE = wellKnownSymbol$
|
|
395
|
+
var $TypeError$8 = TypeError;
|
|
396
|
+
var TO_PRIMITIVE = wellKnownSymbol$a('toPrimitive');
|
|
397
397
|
|
|
398
398
|
// `ToPrimitive` abstract operation
|
|
399
399
|
// https://tc39.es/ecma262/#sec-toprimitive
|
|
400
400
|
var toPrimitive$1 = function (input, pref) {
|
|
401
401
|
if (!isObject$6(input) || isSymbol$1(input)) return input;
|
|
402
|
-
var exoticToPrim = getMethod$
|
|
402
|
+
var exoticToPrim = getMethod$2(input, TO_PRIMITIVE);
|
|
403
403
|
var result;
|
|
404
404
|
if (exoticToPrim) {
|
|
405
405
|
if (pref === undefined) pref = 'default';
|
|
406
|
-
result = call$
|
|
406
|
+
result = call$9(exoticToPrim, input, pref);
|
|
407
407
|
if (!isObject$6(result) || isSymbol$1(result)) return result;
|
|
408
|
-
throw new $TypeError$
|
|
408
|
+
throw new $TypeError$8("Can't convert object to primitive value");
|
|
409
409
|
}
|
|
410
410
|
if (pref === undefined) pref = 'number';
|
|
411
411
|
return ordinaryToPrimitive(input, pref);
|
|
@@ -421,10 +421,10 @@ var toPropertyKey$2 = function (argument) {
|
|
|
421
421
|
return isSymbol(key) ? key : key + '';
|
|
422
422
|
};
|
|
423
423
|
|
|
424
|
-
var globalThis$
|
|
424
|
+
var globalThis$7 = globalThis_1;
|
|
425
425
|
var isObject$5 = isObject$8;
|
|
426
426
|
|
|
427
|
-
var document$1 = globalThis$
|
|
427
|
+
var document$1 = globalThis$7.document;
|
|
428
428
|
// typeof document.createElement is 'object' in old IE
|
|
429
429
|
var EXISTS$1 = isObject$5(document$1) && isObject$5(document$1.createElement);
|
|
430
430
|
|
|
@@ -432,25 +432,25 @@ var documentCreateElement$2 = function (it) {
|
|
|
432
432
|
return EXISTS$1 ? document$1.createElement(it) : {};
|
|
433
433
|
};
|
|
434
434
|
|
|
435
|
-
var DESCRIPTORS$
|
|
436
|
-
var fails$
|
|
435
|
+
var DESCRIPTORS$b = descriptors;
|
|
436
|
+
var fails$a = fails$f;
|
|
437
437
|
var createElement = documentCreateElement$2;
|
|
438
438
|
|
|
439
439
|
// Thanks to IE8 for its funny defineProperty
|
|
440
|
-
var ie8DomDefine = !DESCRIPTORS$
|
|
440
|
+
var ie8DomDefine = !DESCRIPTORS$b && !fails$a(function () {
|
|
441
441
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
442
442
|
return Object.defineProperty(createElement('div'), 'a', {
|
|
443
443
|
get: function () { return 7; }
|
|
444
444
|
}).a !== 7;
|
|
445
445
|
});
|
|
446
446
|
|
|
447
|
-
var DESCRIPTORS$
|
|
448
|
-
var call$
|
|
447
|
+
var DESCRIPTORS$a = descriptors;
|
|
448
|
+
var call$8 = functionCall;
|
|
449
449
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
450
|
-
var createPropertyDescriptor$
|
|
450
|
+
var createPropertyDescriptor$3 = createPropertyDescriptor$4;
|
|
451
451
|
var toIndexedObject$4 = toIndexedObject$5;
|
|
452
452
|
var toPropertyKey$1 = toPropertyKey$2;
|
|
453
|
-
var hasOwn$
|
|
453
|
+
var hasOwn$8 = hasOwnProperty_1;
|
|
454
454
|
var IE8_DOM_DEFINE$1 = ie8DomDefine;
|
|
455
455
|
|
|
456
456
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -458,23 +458,23 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
|
|
|
458
458
|
|
|
459
459
|
// `Object.getOwnPropertyDescriptor` method
|
|
460
460
|
// https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
|
|
461
|
-
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$
|
|
461
|
+
objectGetOwnPropertyDescriptor.f = DESCRIPTORS$a ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
|
|
462
462
|
O = toIndexedObject$4(O);
|
|
463
463
|
P = toPropertyKey$1(P);
|
|
464
464
|
if (IE8_DOM_DEFINE$1) try {
|
|
465
465
|
return $getOwnPropertyDescriptor$1(O, P);
|
|
466
466
|
} catch (error) { /* empty */ }
|
|
467
|
-
if (hasOwn$
|
|
467
|
+
if (hasOwn$8(O, P)) return createPropertyDescriptor$3(!call$8(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
468
468
|
};
|
|
469
469
|
|
|
470
470
|
var objectDefineProperty = {};
|
|
471
471
|
|
|
472
|
-
var DESCRIPTORS$
|
|
473
|
-
var fails$
|
|
472
|
+
var DESCRIPTORS$9 = descriptors;
|
|
473
|
+
var fails$9 = fails$f;
|
|
474
474
|
|
|
475
475
|
// V8 ~ Chrome 36-
|
|
476
476
|
// https://bugs.chromium.org/p/v8/issues/detail?id=3334
|
|
477
|
-
var v8PrototypeDefineBug = DESCRIPTORS$
|
|
477
|
+
var v8PrototypeDefineBug = DESCRIPTORS$9 && fails$9(function () {
|
|
478
478
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
479
479
|
return Object.defineProperty(function () { /* empty */ }, 'prototype', {
|
|
480
480
|
value: 42,
|
|
@@ -485,21 +485,21 @@ var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$8(function () {
|
|
|
485
485
|
var isObject$4 = isObject$8;
|
|
486
486
|
|
|
487
487
|
var $String$2 = String;
|
|
488
|
-
var $TypeError$
|
|
488
|
+
var $TypeError$7 = TypeError;
|
|
489
489
|
|
|
490
490
|
// `Assert: Type(argument) is Object`
|
|
491
|
-
var anObject$
|
|
491
|
+
var anObject$a = function (argument) {
|
|
492
492
|
if (isObject$4(argument)) return argument;
|
|
493
|
-
throw new $TypeError$
|
|
493
|
+
throw new $TypeError$7($String$2(argument) + ' is not an object');
|
|
494
494
|
};
|
|
495
495
|
|
|
496
|
-
var DESCRIPTORS$
|
|
496
|
+
var DESCRIPTORS$8 = descriptors;
|
|
497
497
|
var IE8_DOM_DEFINE = ie8DomDefine;
|
|
498
498
|
var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
|
|
499
|
-
var anObject$
|
|
499
|
+
var anObject$9 = anObject$a;
|
|
500
500
|
var toPropertyKey = toPropertyKey$2;
|
|
501
501
|
|
|
502
|
-
var $TypeError$
|
|
502
|
+
var $TypeError$6 = TypeError;
|
|
503
503
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
504
504
|
var $defineProperty = Object.defineProperty;
|
|
505
505
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
@@ -510,10 +510,10 @@ var WRITABLE = 'writable';
|
|
|
510
510
|
|
|
511
511
|
// `Object.defineProperty` method
|
|
512
512
|
// https://tc39.es/ecma262/#sec-object.defineproperty
|
|
513
|
-
objectDefineProperty.f = DESCRIPTORS$
|
|
514
|
-
anObject$
|
|
513
|
+
objectDefineProperty.f = DESCRIPTORS$8 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
|
|
514
|
+
anObject$9(O);
|
|
515
515
|
P = toPropertyKey(P);
|
|
516
|
-
anObject$
|
|
516
|
+
anObject$9(Attributes);
|
|
517
517
|
if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
|
|
518
518
|
var current = $getOwnPropertyDescriptor(O, P);
|
|
519
519
|
if (current && current[WRITABLE]) {
|
|
@@ -526,55 +526,55 @@ objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
|
|
|
526
526
|
}
|
|
527
527
|
} return $defineProperty(O, P, Attributes);
|
|
528
528
|
} : $defineProperty : function defineProperty(O, P, Attributes) {
|
|
529
|
-
anObject$
|
|
529
|
+
anObject$9(O);
|
|
530
530
|
P = toPropertyKey(P);
|
|
531
|
-
anObject$
|
|
531
|
+
anObject$9(Attributes);
|
|
532
532
|
if (IE8_DOM_DEFINE) try {
|
|
533
533
|
return $defineProperty(O, P, Attributes);
|
|
534
534
|
} catch (error) { /* empty */ }
|
|
535
|
-
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$
|
|
535
|
+
if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$6('Accessors not supported');
|
|
536
536
|
if ('value' in Attributes) O[P] = Attributes.value;
|
|
537
537
|
return O;
|
|
538
538
|
};
|
|
539
539
|
|
|
540
|
-
var DESCRIPTORS$
|
|
541
|
-
var definePropertyModule$
|
|
542
|
-
var createPropertyDescriptor$
|
|
540
|
+
var DESCRIPTORS$7 = descriptors;
|
|
541
|
+
var definePropertyModule$4 = objectDefineProperty;
|
|
542
|
+
var createPropertyDescriptor$2 = createPropertyDescriptor$4;
|
|
543
543
|
|
|
544
|
-
var createNonEnumerableProperty$4 = DESCRIPTORS$
|
|
545
|
-
return definePropertyModule$
|
|
544
|
+
var createNonEnumerableProperty$4 = DESCRIPTORS$7 ? function (object, key, value) {
|
|
545
|
+
return definePropertyModule$4.f(object, key, createPropertyDescriptor$2(1, value));
|
|
546
546
|
} : function (object, key, value) {
|
|
547
547
|
object[key] = value;
|
|
548
548
|
return object;
|
|
549
549
|
};
|
|
550
550
|
|
|
551
|
-
var makeBuiltIn$
|
|
551
|
+
var makeBuiltIn$3 = {exports: {}};
|
|
552
552
|
|
|
553
|
-
var DESCRIPTORS$
|
|
554
|
-
var hasOwn$
|
|
553
|
+
var DESCRIPTORS$6 = descriptors;
|
|
554
|
+
var hasOwn$7 = hasOwnProperty_1;
|
|
555
555
|
|
|
556
556
|
var FunctionPrototype = Function.prototype;
|
|
557
557
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
558
|
-
var getDescriptor = DESCRIPTORS$
|
|
558
|
+
var getDescriptor = DESCRIPTORS$6 && Object.getOwnPropertyDescriptor;
|
|
559
559
|
|
|
560
|
-
var EXISTS = hasOwn$
|
|
560
|
+
var EXISTS = hasOwn$7(FunctionPrototype, 'name');
|
|
561
561
|
// additional protection from minified / mangled / dropped function names
|
|
562
562
|
var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
|
|
563
|
-
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$
|
|
563
|
+
var CONFIGURABLE = EXISTS && (!DESCRIPTORS$6 || (DESCRIPTORS$6 && getDescriptor(FunctionPrototype, 'name').configurable));
|
|
564
564
|
|
|
565
565
|
var functionName = {
|
|
566
566
|
PROPER: PROPER,
|
|
567
567
|
CONFIGURABLE: CONFIGURABLE
|
|
568
568
|
};
|
|
569
569
|
|
|
570
|
-
var uncurryThis$
|
|
571
|
-
var isCallable$
|
|
570
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
571
|
+
var isCallable$9 = isCallable$f;
|
|
572
572
|
var store$1 = sharedStoreExports;
|
|
573
573
|
|
|
574
|
-
var functionToString = uncurryThis$
|
|
574
|
+
var functionToString = uncurryThis$9(Function.toString);
|
|
575
575
|
|
|
576
576
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
577
|
-
if (!isCallable$
|
|
577
|
+
if (!isCallable$9(store$1.inspectSource)) {
|
|
578
578
|
store$1.inspectSource = function (it) {
|
|
579
579
|
return functionToString(it);
|
|
580
580
|
};
|
|
@@ -582,12 +582,12 @@ if (!isCallable$7(store$1.inspectSource)) {
|
|
|
582
582
|
|
|
583
583
|
var inspectSource$1 = store$1.inspectSource;
|
|
584
584
|
|
|
585
|
-
var globalThis$
|
|
586
|
-
var isCallable$
|
|
585
|
+
var globalThis$6 = globalThis_1;
|
|
586
|
+
var isCallable$8 = isCallable$f;
|
|
587
587
|
|
|
588
|
-
var WeakMap$1 = globalThis$
|
|
588
|
+
var WeakMap$1 = globalThis$6.WeakMap;
|
|
589
589
|
|
|
590
|
-
var weakMapBasicDetection = isCallable$
|
|
590
|
+
var weakMapBasicDetection = isCallable$8(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
591
591
|
|
|
592
592
|
var shared$1 = shared$3;
|
|
593
593
|
var uid = uid$2;
|
|
@@ -601,17 +601,17 @@ var sharedKey$3 = function (key) {
|
|
|
601
601
|
var hiddenKeys$4 = {};
|
|
602
602
|
|
|
603
603
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
604
|
-
var globalThis$
|
|
604
|
+
var globalThis$5 = globalThis_1;
|
|
605
605
|
var isObject$3 = isObject$8;
|
|
606
606
|
var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;
|
|
607
|
-
var hasOwn$
|
|
607
|
+
var hasOwn$6 = hasOwnProperty_1;
|
|
608
608
|
var shared = sharedStoreExports;
|
|
609
609
|
var sharedKey$2 = sharedKey$3;
|
|
610
610
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
611
611
|
|
|
612
612
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
613
|
-
var TypeError$1 = globalThis$
|
|
614
|
-
var WeakMap = globalThis$
|
|
613
|
+
var TypeError$1 = globalThis$5.TypeError;
|
|
614
|
+
var WeakMap = globalThis$5.WeakMap;
|
|
615
615
|
var set, get, has$6;
|
|
616
616
|
|
|
617
617
|
var enforce = function (it) {
|
|
@@ -650,16 +650,16 @@ if (NATIVE_WEAK_MAP || shared.state) {
|
|
|
650
650
|
var STATE = sharedKey$2('state');
|
|
651
651
|
hiddenKeys$3[STATE] = true;
|
|
652
652
|
set = function (it, metadata) {
|
|
653
|
-
if (hasOwn$
|
|
653
|
+
if (hasOwn$6(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
|
|
654
654
|
metadata.facade = it;
|
|
655
655
|
createNonEnumerableProperty$3(it, STATE, metadata);
|
|
656
656
|
return metadata;
|
|
657
657
|
};
|
|
658
658
|
get = function (it) {
|
|
659
|
-
return hasOwn$
|
|
659
|
+
return hasOwn$6(it, STATE) ? it[STATE] : {};
|
|
660
660
|
};
|
|
661
661
|
has$6 = function (it) {
|
|
662
|
-
return hasOwn$
|
|
662
|
+
return hasOwn$6(it, STATE);
|
|
663
663
|
};
|
|
664
664
|
}
|
|
665
665
|
|
|
@@ -671,11 +671,11 @@ var internalState = {
|
|
|
671
671
|
getterFor: getterFor
|
|
672
672
|
};
|
|
673
673
|
|
|
674
|
-
var uncurryThis$
|
|
675
|
-
var fails$
|
|
676
|
-
var isCallable$
|
|
677
|
-
var hasOwn$
|
|
678
|
-
var DESCRIPTORS$
|
|
674
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
675
|
+
var fails$8 = fails$f;
|
|
676
|
+
var isCallable$7 = isCallable$f;
|
|
677
|
+
var hasOwn$5 = hasOwnProperty_1;
|
|
678
|
+
var DESCRIPTORS$5 = descriptors;
|
|
679
679
|
var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
|
|
680
680
|
var inspectSource = inspectSource$1;
|
|
681
681
|
var InternalStateModule$1 = internalState;
|
|
@@ -684,60 +684,60 @@ var enforceInternalState = InternalStateModule$1.enforce;
|
|
|
684
684
|
var getInternalState$1 = InternalStateModule$1.get;
|
|
685
685
|
var $String$1 = String;
|
|
686
686
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
687
|
-
var defineProperty$
|
|
688
|
-
var stringSlice = uncurryThis$
|
|
689
|
-
var replace = uncurryThis$
|
|
690
|
-
var join = uncurryThis$
|
|
687
|
+
var defineProperty$5 = Object.defineProperty;
|
|
688
|
+
var stringSlice = uncurryThis$8(''.slice);
|
|
689
|
+
var replace = uncurryThis$8(''.replace);
|
|
690
|
+
var join = uncurryThis$8([].join);
|
|
691
691
|
|
|
692
|
-
var CONFIGURABLE_LENGTH = DESCRIPTORS$
|
|
693
|
-
return defineProperty$
|
|
692
|
+
var CONFIGURABLE_LENGTH = DESCRIPTORS$5 && !fails$8(function () {
|
|
693
|
+
return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
694
694
|
});
|
|
695
695
|
|
|
696
696
|
var TEMPLATE = String(String).split('String');
|
|
697
697
|
|
|
698
|
-
var makeBuiltIn$
|
|
698
|
+
var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
|
|
699
699
|
if (stringSlice($String$1(name), 0, 7) === 'Symbol(') {
|
|
700
700
|
name = '[' + replace($String$1(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
|
701
701
|
}
|
|
702
702
|
if (options && options.getter) name = 'get ' + name;
|
|
703
703
|
if (options && options.setter) name = 'set ' + name;
|
|
704
|
-
if (!hasOwn$
|
|
705
|
-
if (DESCRIPTORS$
|
|
704
|
+
if (!hasOwn$5(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
|
|
705
|
+
if (DESCRIPTORS$5) defineProperty$5(value, 'name', { value: name, configurable: true });
|
|
706
706
|
else value.name = name;
|
|
707
707
|
}
|
|
708
|
-
if (CONFIGURABLE_LENGTH && options && hasOwn$
|
|
709
|
-
defineProperty$
|
|
708
|
+
if (CONFIGURABLE_LENGTH && options && hasOwn$5(options, 'arity') && value.length !== options.arity) {
|
|
709
|
+
defineProperty$5(value, 'length', { value: options.arity });
|
|
710
710
|
}
|
|
711
711
|
try {
|
|
712
|
-
if (options && hasOwn$
|
|
713
|
-
if (DESCRIPTORS$
|
|
712
|
+
if (options && hasOwn$5(options, 'constructor') && options.constructor) {
|
|
713
|
+
if (DESCRIPTORS$5) defineProperty$5(value, 'prototype', { writable: false });
|
|
714
714
|
// in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
|
|
715
715
|
} else if (value.prototype) value.prototype = undefined;
|
|
716
716
|
} catch (error) { /* empty */ }
|
|
717
717
|
var state = enforceInternalState(value);
|
|
718
|
-
if (!hasOwn$
|
|
718
|
+
if (!hasOwn$5(state, 'source')) {
|
|
719
719
|
state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
|
|
720
720
|
} return value;
|
|
721
721
|
};
|
|
722
722
|
|
|
723
723
|
// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
|
|
724
724
|
// eslint-disable-next-line no-extend-native -- required
|
|
725
|
-
Function.prototype.toString = makeBuiltIn$
|
|
726
|
-
return isCallable$
|
|
725
|
+
Function.prototype.toString = makeBuiltIn$2(function toString() {
|
|
726
|
+
return isCallable$7(this) && getInternalState$1(this).source || inspectSource(this);
|
|
727
727
|
}, 'toString');
|
|
728
728
|
|
|
729
|
-
var makeBuiltInExports = makeBuiltIn$
|
|
729
|
+
var makeBuiltInExports = makeBuiltIn$3.exports;
|
|
730
730
|
|
|
731
|
-
var isCallable$
|
|
732
|
-
var definePropertyModule$
|
|
733
|
-
var makeBuiltIn = makeBuiltInExports;
|
|
731
|
+
var isCallable$6 = isCallable$f;
|
|
732
|
+
var definePropertyModule$3 = objectDefineProperty;
|
|
733
|
+
var makeBuiltIn$1 = makeBuiltInExports;
|
|
734
734
|
var defineGlobalProperty$1 = defineGlobalProperty$3;
|
|
735
735
|
|
|
736
736
|
var defineBuiltIn$3 = function (O, key, value, options) {
|
|
737
737
|
if (!options) options = {};
|
|
738
738
|
var simple = options.enumerable;
|
|
739
739
|
var name = options.name !== undefined ? options.name : key;
|
|
740
|
-
if (isCallable$
|
|
740
|
+
if (isCallable$6(value)) makeBuiltIn$1(value, name, options);
|
|
741
741
|
if (options.global) {
|
|
742
742
|
if (simple) O[key] = value;
|
|
743
743
|
else defineGlobalProperty$1(key, value);
|
|
@@ -747,7 +747,7 @@ var defineBuiltIn$3 = function (O, key, value, options) {
|
|
|
747
747
|
else if (O[key]) simple = true;
|
|
748
748
|
} catch (error) { /* empty */ }
|
|
749
749
|
if (simple) O[key] = value;
|
|
750
|
-
else definePropertyModule$
|
|
750
|
+
else definePropertyModule$3.f(O, key, {
|
|
751
751
|
value: value,
|
|
752
752
|
enumerable: false,
|
|
753
753
|
configurable: !options.nonConfigurable,
|
|
@@ -807,19 +807,19 @@ var toLength = toLength$1;
|
|
|
807
807
|
|
|
808
808
|
// `LengthOfArrayLike` abstract operation
|
|
809
809
|
// https://tc39.es/ecma262/#sec-lengthofarraylike
|
|
810
|
-
var lengthOfArrayLike$
|
|
810
|
+
var lengthOfArrayLike$2 = function (obj) {
|
|
811
811
|
return toLength(obj.length);
|
|
812
812
|
};
|
|
813
813
|
|
|
814
814
|
var toIndexedObject$3 = toIndexedObject$5;
|
|
815
815
|
var toAbsoluteIndex = toAbsoluteIndex$1;
|
|
816
|
-
var lengthOfArrayLike = lengthOfArrayLike$
|
|
816
|
+
var lengthOfArrayLike$1 = lengthOfArrayLike$2;
|
|
817
817
|
|
|
818
818
|
// `Array.prototype.{ indexOf, includes }` methods implementation
|
|
819
819
|
var createMethod = function (IS_INCLUDES) {
|
|
820
820
|
return function ($this, el, fromIndex) {
|
|
821
821
|
var O = toIndexedObject$3($this);
|
|
822
|
-
var length = lengthOfArrayLike(O);
|
|
822
|
+
var length = lengthOfArrayLike$1(O);
|
|
823
823
|
if (length === 0) return !IS_INCLUDES && -1;
|
|
824
824
|
var index = toAbsoluteIndex(fromIndex, length);
|
|
825
825
|
var value;
|
|
@@ -845,22 +845,22 @@ var arrayIncludes = {
|
|
|
845
845
|
indexOf: createMethod(false)
|
|
846
846
|
};
|
|
847
847
|
|
|
848
|
-
var uncurryThis$
|
|
849
|
-
var hasOwn$
|
|
848
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
849
|
+
var hasOwn$4 = hasOwnProperty_1;
|
|
850
850
|
var toIndexedObject$2 = toIndexedObject$5;
|
|
851
851
|
var indexOf = arrayIncludes.indexOf;
|
|
852
852
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
853
853
|
|
|
854
|
-
var push = uncurryThis$
|
|
854
|
+
var push = uncurryThis$7([].push);
|
|
855
855
|
|
|
856
856
|
var objectKeysInternal = function (object, names) {
|
|
857
857
|
var O = toIndexedObject$2(object);
|
|
858
858
|
var i = 0;
|
|
859
859
|
var result = [];
|
|
860
860
|
var key;
|
|
861
|
-
for (key in O) !hasOwn$
|
|
861
|
+
for (key in O) !hasOwn$4(hiddenKeys$2, key) && hasOwn$4(O, key) && push(result, key);
|
|
862
862
|
// Don't enum bug & hidden keys
|
|
863
|
-
while (names.length > i) if (hasOwn$
|
|
863
|
+
while (names.length > i) if (hasOwn$4(O, key = names[i++])) {
|
|
864
864
|
~indexOf(result, key) || push(result, key);
|
|
865
865
|
}
|
|
866
866
|
return result;
|
|
@@ -895,39 +895,39 @@ var objectGetOwnPropertySymbols = {};
|
|
|
895
895
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
896
896
|
|
|
897
897
|
var getBuiltIn$2 = getBuiltIn$4;
|
|
898
|
-
var uncurryThis$
|
|
898
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
899
899
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
900
900
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
901
|
-
var anObject$
|
|
901
|
+
var anObject$8 = anObject$a;
|
|
902
902
|
|
|
903
|
-
var concat$1 = uncurryThis$
|
|
903
|
+
var concat$1 = uncurryThis$6([].concat);
|
|
904
904
|
|
|
905
905
|
// all object keys, includes non-enumerable and symbols
|
|
906
906
|
var ownKeys$1 = getBuiltIn$2('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
907
|
-
var keys = getOwnPropertyNamesModule.f(anObject$
|
|
907
|
+
var keys = getOwnPropertyNamesModule.f(anObject$8(it));
|
|
908
908
|
var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
|
|
909
909
|
return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
|
|
910
910
|
};
|
|
911
911
|
|
|
912
|
-
var hasOwn$
|
|
912
|
+
var hasOwn$3 = hasOwnProperty_1;
|
|
913
913
|
var ownKeys = ownKeys$1;
|
|
914
914
|
var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
|
|
915
|
-
var definePropertyModule$
|
|
915
|
+
var definePropertyModule$2 = objectDefineProperty;
|
|
916
916
|
|
|
917
917
|
var copyConstructorProperties$1 = function (target, source, exceptions) {
|
|
918
918
|
var keys = ownKeys(source);
|
|
919
|
-
var defineProperty = definePropertyModule$
|
|
919
|
+
var defineProperty = definePropertyModule$2.f;
|
|
920
920
|
var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
|
|
921
921
|
for (var i = 0; i < keys.length; i++) {
|
|
922
922
|
var key = keys[i];
|
|
923
|
-
if (!hasOwn$
|
|
923
|
+
if (!hasOwn$3(target, key) && !(exceptions && hasOwn$3(exceptions, key))) {
|
|
924
924
|
defineProperty(target, key, getOwnPropertyDescriptor(source, key));
|
|
925
925
|
}
|
|
926
926
|
}
|
|
927
927
|
};
|
|
928
928
|
|
|
929
|
-
var fails$
|
|
930
|
-
var isCallable$
|
|
929
|
+
var fails$7 = fails$f;
|
|
930
|
+
var isCallable$5 = isCallable$f;
|
|
931
931
|
|
|
932
932
|
var replacement = /#|\.prototype\./;
|
|
933
933
|
|
|
@@ -935,7 +935,7 @@ var isForced$1 = function (feature, detection) {
|
|
|
935
935
|
var value = data[normalize(feature)];
|
|
936
936
|
return value === POLYFILL ? true
|
|
937
937
|
: value === NATIVE ? false
|
|
938
|
-
: isCallable$
|
|
938
|
+
: isCallable$5(detection) ? fails$7(detection)
|
|
939
939
|
: !!detection;
|
|
940
940
|
};
|
|
941
941
|
|
|
@@ -949,7 +949,7 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
|
949
949
|
|
|
950
950
|
var isForced_1 = isForced$1;
|
|
951
951
|
|
|
952
|
-
var globalThis$
|
|
952
|
+
var globalThis$4 = globalThis_1;
|
|
953
953
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
954
954
|
var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;
|
|
955
955
|
var defineBuiltIn$2 = defineBuiltIn$3;
|
|
@@ -978,11 +978,11 @@ var _export = function (options, source) {
|
|
|
978
978
|
var STATIC = options.stat;
|
|
979
979
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
980
980
|
if (GLOBAL) {
|
|
981
|
-
target = globalThis$
|
|
981
|
+
target = globalThis$4;
|
|
982
982
|
} else if (STATIC) {
|
|
983
|
-
target = globalThis$
|
|
983
|
+
target = globalThis$4[TARGET] || defineGlobalProperty(TARGET, {});
|
|
984
984
|
} else {
|
|
985
|
-
target = globalThis$
|
|
985
|
+
target = globalThis$4[TARGET] && globalThis$4[TARGET].prototype;
|
|
986
986
|
}
|
|
987
987
|
if (target) for (key in source) {
|
|
988
988
|
sourceProperty = source[key];
|
|
@@ -1014,10 +1014,10 @@ var objectKeys$2 = Object.keys || function keys(O) {
|
|
|
1014
1014
|
return internalObjectKeys(O, enumBugKeys$1);
|
|
1015
1015
|
};
|
|
1016
1016
|
|
|
1017
|
-
var DESCRIPTORS$
|
|
1018
|
-
var uncurryThis$
|
|
1019
|
-
var call$
|
|
1020
|
-
var fails$
|
|
1017
|
+
var DESCRIPTORS$4 = descriptors;
|
|
1018
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
1019
|
+
var call$7 = functionCall;
|
|
1020
|
+
var fails$6 = fails$f;
|
|
1021
1021
|
var objectKeys$1 = objectKeys$2;
|
|
1022
1022
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
1023
1023
|
var propertyIsEnumerableModule = objectPropertyIsEnumerable;
|
|
@@ -1027,17 +1027,17 @@ var IndexedObject = indexedObject;
|
|
|
1027
1027
|
// eslint-disable-next-line es/no-object-assign -- safe
|
|
1028
1028
|
var $assign = Object.assign;
|
|
1029
1029
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1030
|
-
var defineProperty$
|
|
1031
|
-
var concat = uncurryThis$
|
|
1030
|
+
var defineProperty$4 = Object.defineProperty;
|
|
1031
|
+
var concat = uncurryThis$5([].concat);
|
|
1032
1032
|
|
|
1033
1033
|
// `Object.assign` method
|
|
1034
1034
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1035
|
-
var objectAssign = !$assign || fails$
|
|
1035
|
+
var objectAssign = !$assign || fails$6(function () {
|
|
1036
1036
|
// should have correct order of operations (Edge bug)
|
|
1037
|
-
if (DESCRIPTORS$
|
|
1037
|
+
if (DESCRIPTORS$4 && $assign({ b: 1 }, $assign(defineProperty$4({}, 'a', {
|
|
1038
1038
|
enumerable: true,
|
|
1039
1039
|
get: function () {
|
|
1040
|
-
defineProperty$
|
|
1040
|
+
defineProperty$4(this, 'b', {
|
|
1041
1041
|
value: 3,
|
|
1042
1042
|
enumerable: false
|
|
1043
1043
|
});
|
|
@@ -1067,18 +1067,18 @@ var objectAssign = !$assign || fails$5(function () {
|
|
|
1067
1067
|
var key;
|
|
1068
1068
|
while (length > j) {
|
|
1069
1069
|
key = keys[j++];
|
|
1070
|
-
if (!DESCRIPTORS$
|
|
1070
|
+
if (!DESCRIPTORS$4 || call$7(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
1071
1071
|
}
|
|
1072
1072
|
} return T;
|
|
1073
1073
|
} : $assign;
|
|
1074
1074
|
|
|
1075
|
-
var $$
|
|
1075
|
+
var $$b = _export;
|
|
1076
1076
|
var assign = objectAssign;
|
|
1077
1077
|
|
|
1078
1078
|
// `Object.assign` method
|
|
1079
1079
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
1080
1080
|
// eslint-disable-next-line es/no-object-assign -- required for testing
|
|
1081
|
-
$$
|
|
1081
|
+
$$b({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
|
|
1082
1082
|
assign: assign
|
|
1083
1083
|
});
|
|
1084
1084
|
|
|
@@ -1943,24 +1943,24 @@ const popupVisualSettingsSchema = {
|
|
|
1943
1943
|
|
|
1944
1944
|
var objectDefineProperties = {};
|
|
1945
1945
|
|
|
1946
|
-
var DESCRIPTORS$
|
|
1946
|
+
var DESCRIPTORS$3 = descriptors;
|
|
1947
1947
|
var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
|
|
1948
|
-
var definePropertyModule = objectDefineProperty;
|
|
1949
|
-
var anObject$
|
|
1948
|
+
var definePropertyModule$1 = objectDefineProperty;
|
|
1949
|
+
var anObject$7 = anObject$a;
|
|
1950
1950
|
var toIndexedObject$1 = toIndexedObject$5;
|
|
1951
1951
|
var objectKeys = objectKeys$2;
|
|
1952
1952
|
|
|
1953
1953
|
// `Object.defineProperties` method
|
|
1954
1954
|
// https://tc39.es/ecma262/#sec-object.defineproperties
|
|
1955
1955
|
// eslint-disable-next-line es/no-object-defineproperties -- safe
|
|
1956
|
-
objectDefineProperties.f = DESCRIPTORS$
|
|
1957
|
-
anObject$
|
|
1956
|
+
objectDefineProperties.f = DESCRIPTORS$3 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
|
|
1957
|
+
anObject$7(O);
|
|
1958
1958
|
var props = toIndexedObject$1(Properties);
|
|
1959
1959
|
var keys = objectKeys(Properties);
|
|
1960
1960
|
var length = keys.length;
|
|
1961
1961
|
var index = 0;
|
|
1962
1962
|
var key;
|
|
1963
|
-
while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
|
|
1963
|
+
while (length > index) definePropertyModule$1.f(O, key = keys[index++], props[key]);
|
|
1964
1964
|
return O;
|
|
1965
1965
|
};
|
|
1966
1966
|
|
|
@@ -1969,7 +1969,7 @@ var getBuiltIn$1 = getBuiltIn$4;
|
|
|
1969
1969
|
var html$1 = getBuiltIn$1('document', 'documentElement');
|
|
1970
1970
|
|
|
1971
1971
|
/* global ActiveXObject -- old IE, WSH */
|
|
1972
|
-
var anObject$
|
|
1972
|
+
var anObject$6 = anObject$a;
|
|
1973
1973
|
var definePropertiesModule = objectDefineProperties;
|
|
1974
1974
|
var enumBugKeys = enumBugKeys$3;
|
|
1975
1975
|
var hiddenKeys = hiddenKeys$4;
|
|
@@ -2044,7 +2044,7 @@ hiddenKeys[IE_PROTO$1] = true;
|
|
|
2044
2044
|
var objectCreate = Object.create || function create(O, Properties) {
|
|
2045
2045
|
var result;
|
|
2046
2046
|
if (O !== null) {
|
|
2047
|
-
EmptyConstructor[PROTOTYPE] = anObject$
|
|
2047
|
+
EmptyConstructor[PROTOTYPE] = anObject$6(O);
|
|
2048
2048
|
result = new EmptyConstructor();
|
|
2049
2049
|
EmptyConstructor[PROTOTYPE] = null;
|
|
2050
2050
|
// add "__proto__" for Object.getPrototypeOf polyfill
|
|
@@ -2053,17 +2053,17 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
2053
2053
|
return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
|
|
2054
2054
|
};
|
|
2055
2055
|
|
|
2056
|
-
var wellKnownSymbol$
|
|
2056
|
+
var wellKnownSymbol$9 = wellKnownSymbol$b;
|
|
2057
2057
|
var create$1 = objectCreate;
|
|
2058
|
-
var defineProperty$
|
|
2058
|
+
var defineProperty$3 = objectDefineProperty.f;
|
|
2059
2059
|
|
|
2060
|
-
var UNSCOPABLES = wellKnownSymbol$
|
|
2061
|
-
var ArrayPrototype = Array.prototype;
|
|
2060
|
+
var UNSCOPABLES = wellKnownSymbol$9('unscopables');
|
|
2061
|
+
var ArrayPrototype$1 = Array.prototype;
|
|
2062
2062
|
|
|
2063
2063
|
// Array.prototype[@@unscopables]
|
|
2064
2064
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
2065
|
-
if (ArrayPrototype[UNSCOPABLES] === undefined) {
|
|
2066
|
-
defineProperty$
|
|
2065
|
+
if (ArrayPrototype$1[UNSCOPABLES] === undefined) {
|
|
2066
|
+
defineProperty$3(ArrayPrototype$1, UNSCOPABLES, {
|
|
2067
2067
|
configurable: true,
|
|
2068
2068
|
value: create$1(null)
|
|
2069
2069
|
});
|
|
@@ -2071,23 +2071,23 @@ if (ArrayPrototype[UNSCOPABLES] === undefined) {
|
|
|
2071
2071
|
|
|
2072
2072
|
// add a key to Array.prototype[@@unscopables]
|
|
2073
2073
|
var addToUnscopables$2 = function (key) {
|
|
2074
|
-
ArrayPrototype[UNSCOPABLES][key] = true;
|
|
2074
|
+
ArrayPrototype$1[UNSCOPABLES][key] = true;
|
|
2075
2075
|
};
|
|
2076
2076
|
|
|
2077
|
-
var $$
|
|
2077
|
+
var $$a = _export;
|
|
2078
2078
|
var $includes = arrayIncludes.includes;
|
|
2079
|
-
var fails$
|
|
2079
|
+
var fails$5 = fails$f;
|
|
2080
2080
|
var addToUnscopables$1 = addToUnscopables$2;
|
|
2081
2081
|
|
|
2082
2082
|
// FF99+ bug
|
|
2083
|
-
var BROKEN_ON_SPARSE = fails$
|
|
2083
|
+
var BROKEN_ON_SPARSE = fails$5(function () {
|
|
2084
2084
|
// eslint-disable-next-line es/no-array-prototype-includes -- detection
|
|
2085
2085
|
return !Array(1).includes();
|
|
2086
2086
|
});
|
|
2087
2087
|
|
|
2088
2088
|
// `Array.prototype.includes` method
|
|
2089
2089
|
// https://tc39.es/ecma262/#sec-array.prototype.includes
|
|
2090
|
-
$$
|
|
2090
|
+
$$a({ target: 'Array', proto: true, forced: BROKEN_ON_SPARSE }, {
|
|
2091
2091
|
includes: function includes(el /* , fromIndex = 0 */) {
|
|
2092
2092
|
return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);
|
|
2093
2093
|
}
|
|
@@ -2454,6 +2454,11 @@ const avatarRuntimeContainedVisualSettingsSchema = {
|
|
|
2454
2454
|
type: 'function'
|
|
2455
2455
|
}
|
|
2456
2456
|
}
|
|
2457
|
+
},
|
|
2458
|
+
forceOrientation: {
|
|
2459
|
+
type: 'enum',
|
|
2460
|
+
values: ['portrait', 'landscape'],
|
|
2461
|
+
optional: true
|
|
2457
2462
|
}
|
|
2458
2463
|
}
|
|
2459
2464
|
};
|
|
@@ -2476,56 +2481,61 @@ const avatarRuntimeFloaterVisualSettingsSchema = {
|
|
|
2476
2481
|
value: 'string',
|
|
2477
2482
|
optional: true
|
|
2478
2483
|
},
|
|
2479
|
-
connect: avatarRuntimeConnectSettingsSchema
|
|
2484
|
+
connect: avatarRuntimeConnectSettingsSchema,
|
|
2485
|
+
forceOrientation: {
|
|
2486
|
+
type: 'enum',
|
|
2487
|
+
values: ['portrait', 'landscape'],
|
|
2488
|
+
optional: true
|
|
2489
|
+
}
|
|
2480
2490
|
}
|
|
2481
2491
|
};
|
|
2482
2492
|
|
|
2483
2493
|
var iterators = {};
|
|
2484
2494
|
|
|
2485
|
-
var fails$
|
|
2495
|
+
var fails$4 = fails$f;
|
|
2486
2496
|
|
|
2487
|
-
var correctPrototypeGetter = !fails$
|
|
2497
|
+
var correctPrototypeGetter = !fails$4(function () {
|
|
2488
2498
|
function F() { /* empty */ }
|
|
2489
2499
|
F.prototype.constructor = null;
|
|
2490
2500
|
// eslint-disable-next-line es/no-object-getprototypeof -- required for testing
|
|
2491
2501
|
return Object.getPrototypeOf(new F()) !== F.prototype;
|
|
2492
2502
|
});
|
|
2493
2503
|
|
|
2494
|
-
var hasOwn$
|
|
2495
|
-
var isCallable$
|
|
2504
|
+
var hasOwn$2 = hasOwnProperty_1;
|
|
2505
|
+
var isCallable$4 = isCallable$f;
|
|
2496
2506
|
var toObject = toObject$3;
|
|
2497
2507
|
var sharedKey = sharedKey$3;
|
|
2498
2508
|
var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
|
|
2499
2509
|
|
|
2500
2510
|
var IE_PROTO = sharedKey('IE_PROTO');
|
|
2501
|
-
var $Object = Object;
|
|
2502
|
-
var ObjectPrototype = $Object.prototype;
|
|
2511
|
+
var $Object$1 = Object;
|
|
2512
|
+
var ObjectPrototype = $Object$1.prototype;
|
|
2503
2513
|
|
|
2504
2514
|
// `Object.getPrototypeOf` method
|
|
2505
2515
|
// https://tc39.es/ecma262/#sec-object.getprototypeof
|
|
2506
2516
|
// eslint-disable-next-line es/no-object-getprototypeof -- safe
|
|
2507
|
-
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
|
|
2517
|
+
var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
|
|
2508
2518
|
var object = toObject(O);
|
|
2509
|
-
if (hasOwn$
|
|
2519
|
+
if (hasOwn$2(object, IE_PROTO)) return object[IE_PROTO];
|
|
2510
2520
|
var constructor = object.constructor;
|
|
2511
|
-
if (isCallable$
|
|
2521
|
+
if (isCallable$4(constructor) && object instanceof constructor) {
|
|
2512
2522
|
return constructor.prototype;
|
|
2513
|
-
} return object instanceof $Object ? ObjectPrototype : null;
|
|
2523
|
+
} return object instanceof $Object$1 ? ObjectPrototype : null;
|
|
2514
2524
|
};
|
|
2515
2525
|
|
|
2516
|
-
var fails$
|
|
2517
|
-
var isCallable$
|
|
2526
|
+
var fails$3 = fails$f;
|
|
2527
|
+
var isCallable$3 = isCallable$f;
|
|
2518
2528
|
var isObject$2 = isObject$8;
|
|
2519
|
-
var getPrototypeOf$
|
|
2529
|
+
var getPrototypeOf$2 = objectGetPrototypeOf;
|
|
2520
2530
|
var defineBuiltIn$1 = defineBuiltIn$3;
|
|
2521
|
-
var wellKnownSymbol$
|
|
2531
|
+
var wellKnownSymbol$8 = wellKnownSymbol$b;
|
|
2522
2532
|
|
|
2523
|
-
var ITERATOR$
|
|
2533
|
+
var ITERATOR$5 = wellKnownSymbol$8('iterator');
|
|
2524
2534
|
var BUGGY_SAFARI_ITERATORS$1 = false;
|
|
2525
2535
|
|
|
2526
2536
|
// `%IteratorPrototype%` object
|
|
2527
2537
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-object
|
|
2528
|
-
var IteratorPrototype$
|
|
2538
|
+
var IteratorPrototype$3, PrototypeOfArrayIteratorPrototype, arrayIterator;
|
|
2529
2539
|
|
|
2530
2540
|
/* eslint-disable es/no-array-prototype-keys -- safe */
|
|
2531
2541
|
if ([].keys) {
|
|
@@ -2533,68 +2543,68 @@ if ([].keys) {
|
|
|
2533
2543
|
// Safari 8 has buggy iterators w/o `next`
|
|
2534
2544
|
if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
|
|
2535
2545
|
else {
|
|
2536
|
-
PrototypeOfArrayIteratorPrototype = getPrototypeOf$
|
|
2537
|
-
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$
|
|
2546
|
+
PrototypeOfArrayIteratorPrototype = getPrototypeOf$2(getPrototypeOf$2(arrayIterator));
|
|
2547
|
+
if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$3 = PrototypeOfArrayIteratorPrototype;
|
|
2538
2548
|
}
|
|
2539
2549
|
}
|
|
2540
2550
|
|
|
2541
|
-
var NEW_ITERATOR_PROTOTYPE = !isObject$2(IteratorPrototype$
|
|
2551
|
+
var NEW_ITERATOR_PROTOTYPE = !isObject$2(IteratorPrototype$3) || fails$3(function () {
|
|
2542
2552
|
var test = {};
|
|
2543
2553
|
// FF44- legacy iterators case
|
|
2544
|
-
return IteratorPrototype$
|
|
2554
|
+
return IteratorPrototype$3[ITERATOR$5].call(test) !== test;
|
|
2545
2555
|
});
|
|
2546
2556
|
|
|
2547
|
-
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$
|
|
2557
|
+
if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$3 = {};
|
|
2548
2558
|
|
|
2549
2559
|
// `%IteratorPrototype%[@@iterator]()` method
|
|
2550
2560
|
// https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
|
|
2551
|
-
if (!isCallable$
|
|
2552
|
-
defineBuiltIn$1(IteratorPrototype$
|
|
2561
|
+
if (!isCallable$3(IteratorPrototype$3[ITERATOR$5])) {
|
|
2562
|
+
defineBuiltIn$1(IteratorPrototype$3, ITERATOR$5, function () {
|
|
2553
2563
|
return this;
|
|
2554
2564
|
});
|
|
2555
2565
|
}
|
|
2556
2566
|
|
|
2557
2567
|
var iteratorsCore = {
|
|
2558
|
-
IteratorPrototype: IteratorPrototype$
|
|
2568
|
+
IteratorPrototype: IteratorPrototype$3,
|
|
2559
2569
|
BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
|
|
2560
2570
|
};
|
|
2561
2571
|
|
|
2562
|
-
var defineProperty$
|
|
2563
|
-
var hasOwn = hasOwnProperty_1;
|
|
2564
|
-
var wellKnownSymbol$
|
|
2572
|
+
var defineProperty$2 = objectDefineProperty.f;
|
|
2573
|
+
var hasOwn$1 = hasOwnProperty_1;
|
|
2574
|
+
var wellKnownSymbol$7 = wellKnownSymbol$b;
|
|
2565
2575
|
|
|
2566
|
-
var TO_STRING_TAG = wellKnownSymbol$
|
|
2576
|
+
var TO_STRING_TAG$3 = wellKnownSymbol$7('toStringTag');
|
|
2567
2577
|
|
|
2568
2578
|
var setToStringTag$3 = function (target, TAG, STATIC) {
|
|
2569
2579
|
if (target && !STATIC) target = target.prototype;
|
|
2570
|
-
if (target && !hasOwn(target, TO_STRING_TAG)) {
|
|
2571
|
-
defineProperty$
|
|
2580
|
+
if (target && !hasOwn$1(target, TO_STRING_TAG$3)) {
|
|
2581
|
+
defineProperty$2(target, TO_STRING_TAG$3, { configurable: true, value: TAG });
|
|
2572
2582
|
}
|
|
2573
2583
|
};
|
|
2574
2584
|
|
|
2575
|
-
var IteratorPrototype$
|
|
2585
|
+
var IteratorPrototype$2 = iteratorsCore.IteratorPrototype;
|
|
2576
2586
|
var create = objectCreate;
|
|
2577
|
-
var createPropertyDescriptor = createPropertyDescriptor$
|
|
2587
|
+
var createPropertyDescriptor$1 = createPropertyDescriptor$4;
|
|
2578
2588
|
var setToStringTag$2 = setToStringTag$3;
|
|
2579
|
-
var Iterators$
|
|
2589
|
+
var Iterators$4 = iterators;
|
|
2580
2590
|
|
|
2581
2591
|
var returnThis$1 = function () { return this; };
|
|
2582
2592
|
|
|
2583
2593
|
var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
|
|
2584
2594
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
2585
|
-
IteratorConstructor.prototype = create(IteratorPrototype$
|
|
2595
|
+
IteratorConstructor.prototype = create(IteratorPrototype$2, { next: createPropertyDescriptor$1(+!ENUMERABLE_NEXT, next) });
|
|
2586
2596
|
setToStringTag$2(IteratorConstructor, TO_STRING_TAG, false);
|
|
2587
|
-
Iterators$
|
|
2597
|
+
Iterators$4[TO_STRING_TAG] = returnThis$1;
|
|
2588
2598
|
return IteratorConstructor;
|
|
2589
2599
|
};
|
|
2590
2600
|
|
|
2591
|
-
var uncurryThis$
|
|
2592
|
-
var aCallable$
|
|
2601
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
2602
|
+
var aCallable$4 = aCallable$6;
|
|
2593
2603
|
|
|
2594
2604
|
var functionUncurryThisAccessor = function (object, key, method) {
|
|
2595
2605
|
try {
|
|
2596
2606
|
// eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
|
|
2597
|
-
return uncurryThis$
|
|
2607
|
+
return uncurryThis$4(aCallable$4(Object.getOwnPropertyDescriptor(object, key)[method]));
|
|
2598
2608
|
} catch (error) { /* empty */ }
|
|
2599
2609
|
};
|
|
2600
2610
|
|
|
@@ -2607,11 +2617,11 @@ var isPossiblePrototype$1 = function (argument) {
|
|
|
2607
2617
|
var isPossiblePrototype = isPossiblePrototype$1;
|
|
2608
2618
|
|
|
2609
2619
|
var $String = String;
|
|
2610
|
-
var $TypeError$
|
|
2620
|
+
var $TypeError$5 = TypeError;
|
|
2611
2621
|
|
|
2612
2622
|
var aPossiblePrototype$1 = function (argument) {
|
|
2613
2623
|
if (isPossiblePrototype(argument)) return argument;
|
|
2614
|
-
throw new $TypeError$
|
|
2624
|
+
throw new $TypeError$5("Can't set " + $String(argument) + ' as a prototype');
|
|
2615
2625
|
};
|
|
2616
2626
|
|
|
2617
2627
|
/* eslint-disable no-proto -- safe */
|
|
@@ -2643,25 +2653,25 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
|
|
|
2643
2653
|
};
|
|
2644
2654
|
}() : undefined);
|
|
2645
2655
|
|
|
2646
|
-
var $$
|
|
2647
|
-
var call$
|
|
2656
|
+
var $$9 = _export;
|
|
2657
|
+
var call$6 = functionCall;
|
|
2648
2658
|
var FunctionName = functionName;
|
|
2649
|
-
var isCallable = isCallable$
|
|
2659
|
+
var isCallable$2 = isCallable$f;
|
|
2650
2660
|
var createIteratorConstructor = iteratorCreateConstructor;
|
|
2651
|
-
var getPrototypeOf = objectGetPrototypeOf;
|
|
2661
|
+
var getPrototypeOf$1 = objectGetPrototypeOf;
|
|
2652
2662
|
var setPrototypeOf = objectSetPrototypeOf;
|
|
2653
2663
|
var setToStringTag$1 = setToStringTag$3;
|
|
2654
2664
|
var createNonEnumerableProperty$1 = createNonEnumerableProperty$4;
|
|
2655
2665
|
var defineBuiltIn = defineBuiltIn$3;
|
|
2656
|
-
var wellKnownSymbol$
|
|
2657
|
-
var Iterators$
|
|
2666
|
+
var wellKnownSymbol$6 = wellKnownSymbol$b;
|
|
2667
|
+
var Iterators$3 = iterators;
|
|
2658
2668
|
var IteratorsCore = iteratorsCore;
|
|
2659
2669
|
|
|
2660
2670
|
var PROPER_FUNCTION_NAME = FunctionName.PROPER;
|
|
2661
2671
|
var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
|
|
2662
|
-
var IteratorPrototype = IteratorsCore.IteratorPrototype;
|
|
2672
|
+
var IteratorPrototype$1 = IteratorsCore.IteratorPrototype;
|
|
2663
2673
|
var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
|
|
2664
|
-
var ITERATOR$
|
|
2674
|
+
var ITERATOR$4 = wellKnownSymbol$6('iterator');
|
|
2665
2675
|
var KEYS = 'keys';
|
|
2666
2676
|
var VALUES = 'values';
|
|
2667
2677
|
var ENTRIES = 'entries';
|
|
@@ -2687,7 +2697,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
2687
2697
|
var TO_STRING_TAG = NAME + ' Iterator';
|
|
2688
2698
|
var INCORRECT_VALUES_NAME = false;
|
|
2689
2699
|
var IterablePrototype = Iterable.prototype;
|
|
2690
|
-
var nativeIterator = IterablePrototype[ITERATOR$
|
|
2700
|
+
var nativeIterator = IterablePrototype[ITERATOR$4]
|
|
2691
2701
|
|| IterablePrototype['@@iterator']
|
|
2692
2702
|
|| DEFAULT && IterablePrototype[DEFAULT];
|
|
2693
2703
|
var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
|
|
@@ -2696,13 +2706,13 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
2696
2706
|
|
|
2697
2707
|
// fix native
|
|
2698
2708
|
if (anyNativeIterator) {
|
|
2699
|
-
CurrentIteratorPrototype = getPrototypeOf(anyNativeIterator.call(new Iterable()));
|
|
2709
|
+
CurrentIteratorPrototype = getPrototypeOf$1(anyNativeIterator.call(new Iterable()));
|
|
2700
2710
|
if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
|
|
2701
|
-
if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
|
|
2711
|
+
if (getPrototypeOf$1(CurrentIteratorPrototype) !== IteratorPrototype$1) {
|
|
2702
2712
|
if (setPrototypeOf) {
|
|
2703
|
-
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
|
|
2704
|
-
} else if (!isCallable(CurrentIteratorPrototype[ITERATOR$
|
|
2705
|
-
defineBuiltIn(CurrentIteratorPrototype, ITERATOR$
|
|
2713
|
+
setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype$1);
|
|
2714
|
+
} else if (!isCallable$2(CurrentIteratorPrototype[ITERATOR$4])) {
|
|
2715
|
+
defineBuiltIn(CurrentIteratorPrototype, ITERATOR$4, returnThis);
|
|
2706
2716
|
}
|
|
2707
2717
|
}
|
|
2708
2718
|
// Set @@toStringTag to native iterators
|
|
@@ -2716,7 +2726,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
2716
2726
|
createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
|
|
2717
2727
|
} else {
|
|
2718
2728
|
INCORRECT_VALUES_NAME = true;
|
|
2719
|
-
defaultIterator = function values() { return call$
|
|
2729
|
+
defaultIterator = function values() { return call$6(nativeIterator, this); };
|
|
2720
2730
|
}
|
|
2721
2731
|
}
|
|
2722
2732
|
|
|
@@ -2731,14 +2741,14 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
|
|
|
2731
2741
|
if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
|
|
2732
2742
|
defineBuiltIn(IterablePrototype, KEY, methods[KEY]);
|
|
2733
2743
|
}
|
|
2734
|
-
} else $$
|
|
2744
|
+
} else $$9({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
|
|
2735
2745
|
}
|
|
2736
2746
|
|
|
2737
2747
|
// define iterator
|
|
2738
|
-
if (IterablePrototype[ITERATOR$
|
|
2739
|
-
defineBuiltIn(IterablePrototype, ITERATOR$
|
|
2748
|
+
if (IterablePrototype[ITERATOR$4] !== defaultIterator) {
|
|
2749
|
+
defineBuiltIn(IterablePrototype, ITERATOR$4, defaultIterator, { name: DEFAULT });
|
|
2740
2750
|
}
|
|
2741
|
-
Iterators$
|
|
2751
|
+
Iterators$3[NAME] = defaultIterator;
|
|
2742
2752
|
|
|
2743
2753
|
return methods;
|
|
2744
2754
|
};
|
|
@@ -2751,12 +2761,12 @@ var createIterResultObject$1 = function (value, done) {
|
|
|
2751
2761
|
|
|
2752
2762
|
var toIndexedObject = toIndexedObject$5;
|
|
2753
2763
|
var addToUnscopables = addToUnscopables$2;
|
|
2754
|
-
var Iterators = iterators;
|
|
2764
|
+
var Iterators$2 = iterators;
|
|
2755
2765
|
var InternalStateModule = internalState;
|
|
2756
|
-
var defineProperty = objectDefineProperty.f;
|
|
2766
|
+
var defineProperty$1 = objectDefineProperty.f;
|
|
2757
2767
|
var defineIterator = iteratorDefine;
|
|
2758
2768
|
var createIterResultObject = createIterResultObject$1;
|
|
2759
|
-
var DESCRIPTORS = descriptors;
|
|
2769
|
+
var DESCRIPTORS$2 = descriptors;
|
|
2760
2770
|
|
|
2761
2771
|
var ARRAY_ITERATOR = 'Array Iterator';
|
|
2762
2772
|
var setInternalState = InternalStateModule.set;
|
|
@@ -2798,7 +2808,7 @@ var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind)
|
|
|
2798
2808
|
// argumentsList[@@iterator] is %ArrayProto_values%
|
|
2799
2809
|
// https://tc39.es/ecma262/#sec-createunmappedargumentsobject
|
|
2800
2810
|
// https://tc39.es/ecma262/#sec-createmappedargumentsobject
|
|
2801
|
-
var values = Iterators.Arguments = Iterators.Array;
|
|
2811
|
+
var values = Iterators$2.Arguments = Iterators$2.Array;
|
|
2802
2812
|
|
|
2803
2813
|
// https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
|
|
2804
2814
|
addToUnscopables('keys');
|
|
@@ -2806,11 +2816,11 @@ addToUnscopables('values');
|
|
|
2806
2816
|
addToUnscopables('entries');
|
|
2807
2817
|
|
|
2808
2818
|
// V8 ~ Chrome 45- bug
|
|
2809
|
-
if (DESCRIPTORS && values.name !== 'values') try {
|
|
2810
|
-
defineProperty(values, 'name', { value: 'values' });
|
|
2819
|
+
if (DESCRIPTORS$2 && values.name !== 'values') try {
|
|
2820
|
+
defineProperty$1(values, 'name', { value: 'values' });
|
|
2811
2821
|
} catch (error) { /* empty */ }
|
|
2812
2822
|
|
|
2813
|
-
var uncurryThis$
|
|
2823
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
2814
2824
|
|
|
2815
2825
|
// eslint-disable-next-line es/no-set -- safe
|
|
2816
2826
|
var SetPrototype$1 = Set.prototype;
|
|
@@ -2818,9 +2828,9 @@ var SetPrototype$1 = Set.prototype;
|
|
|
2818
2828
|
var setHelpers = {
|
|
2819
2829
|
// eslint-disable-next-line es/no-set -- safe
|
|
2820
2830
|
Set: Set,
|
|
2821
|
-
add: uncurryThis$
|
|
2822
|
-
has: uncurryThis$
|
|
2823
|
-
remove: uncurryThis$
|
|
2831
|
+
add: uncurryThis$3(SetPrototype$1.add),
|
|
2832
|
+
has: uncurryThis$3(SetPrototype$1.has),
|
|
2833
|
+
remove: uncurryThis$3(SetPrototype$1['delete']),
|
|
2824
2834
|
proto: SetPrototype$1
|
|
2825
2835
|
};
|
|
2826
2836
|
|
|
@@ -2832,26 +2842,26 @@ var aSet$7 = function (it) {
|
|
|
2832
2842
|
return it;
|
|
2833
2843
|
};
|
|
2834
2844
|
|
|
2835
|
-
var call$
|
|
2845
|
+
var call$5 = functionCall;
|
|
2836
2846
|
|
|
2837
2847
|
var iterateSimple$7 = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) {
|
|
2838
2848
|
var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator;
|
|
2839
2849
|
var next = record.next;
|
|
2840
2850
|
var step, result;
|
|
2841
|
-
while (!(step = call$
|
|
2851
|
+
while (!(step = call$5(next, iterator)).done) {
|
|
2842
2852
|
result = fn(step.value);
|
|
2843
2853
|
if (result !== undefined) return result;
|
|
2844
2854
|
}
|
|
2845
2855
|
};
|
|
2846
2856
|
|
|
2847
|
-
var uncurryThis = functionUncurryThis;
|
|
2857
|
+
var uncurryThis$2 = functionUncurryThis;
|
|
2848
2858
|
var iterateSimple$6 = iterateSimple$7;
|
|
2849
2859
|
var SetHelpers$5 = setHelpers;
|
|
2850
2860
|
|
|
2851
2861
|
var Set$3 = SetHelpers$5.Set;
|
|
2852
2862
|
var SetPrototype = SetHelpers$5.proto;
|
|
2853
|
-
var forEach = uncurryThis(SetPrototype.forEach);
|
|
2854
|
-
var keys = uncurryThis(SetPrototype.keys);
|
|
2863
|
+
var forEach = uncurryThis$2(SetPrototype.forEach);
|
|
2864
|
+
var keys = uncurryThis$2(SetPrototype.keys);
|
|
2855
2865
|
var next = keys(new Set$3()).next;
|
|
2856
2866
|
|
|
2857
2867
|
var setIterate = function (set, fn, interruptible) {
|
|
@@ -2859,14 +2869,14 @@ var setIterate = function (set, fn, interruptible) {
|
|
|
2859
2869
|
};
|
|
2860
2870
|
|
|
2861
2871
|
var SetHelpers$4 = setHelpers;
|
|
2862
|
-
var iterate$
|
|
2872
|
+
var iterate$3 = setIterate;
|
|
2863
2873
|
|
|
2864
2874
|
var Set$2 = SetHelpers$4.Set;
|
|
2865
2875
|
var add$3 = SetHelpers$4.add;
|
|
2866
2876
|
|
|
2867
2877
|
var setClone = function (set) {
|
|
2868
2878
|
var result = new Set$2();
|
|
2869
|
-
iterate$
|
|
2879
|
+
iterate$3(set, function (it) {
|
|
2870
2880
|
add$3(result, it);
|
|
2871
2881
|
});
|
|
2872
2882
|
return result;
|
|
@@ -2881,7 +2891,7 @@ var setSize = uncurryThisAccessor(SetHelpers$3.proto, 'size', 'get') || function
|
|
|
2881
2891
|
|
|
2882
2892
|
// `GetIteratorDirect(obj)` abstract operation
|
|
2883
2893
|
// https://tc39.es/ecma262/#sec-getiteratordirect
|
|
2884
|
-
var getIteratorDirect$
|
|
2894
|
+
var getIteratorDirect$2 = function (obj) {
|
|
2885
2895
|
return {
|
|
2886
2896
|
iterator: obj,
|
|
2887
2897
|
next: obj.next,
|
|
@@ -2889,41 +2899,41 @@ var getIteratorDirect$1 = function (obj) {
|
|
|
2889
2899
|
};
|
|
2890
2900
|
};
|
|
2891
2901
|
|
|
2892
|
-
var aCallable = aCallable$
|
|
2893
|
-
var anObject$
|
|
2894
|
-
var call$
|
|
2902
|
+
var aCallable$3 = aCallable$6;
|
|
2903
|
+
var anObject$5 = anObject$a;
|
|
2904
|
+
var call$4 = functionCall;
|
|
2895
2905
|
var toIntegerOrInfinity = toIntegerOrInfinity$3;
|
|
2896
|
-
var getIteratorDirect = getIteratorDirect$
|
|
2906
|
+
var getIteratorDirect$1 = getIteratorDirect$2;
|
|
2897
2907
|
|
|
2898
2908
|
var INVALID_SIZE = 'Invalid size';
|
|
2899
2909
|
var $RangeError = RangeError;
|
|
2900
|
-
var $TypeError = TypeError;
|
|
2910
|
+
var $TypeError$4 = TypeError;
|
|
2901
2911
|
var max = Math.max;
|
|
2902
2912
|
|
|
2903
2913
|
var SetRecord = function (set, intSize) {
|
|
2904
2914
|
this.set = set;
|
|
2905
2915
|
this.size = max(intSize, 0);
|
|
2906
|
-
this.has = aCallable(set.has);
|
|
2907
|
-
this.keys = aCallable(set.keys);
|
|
2916
|
+
this.has = aCallable$3(set.has);
|
|
2917
|
+
this.keys = aCallable$3(set.keys);
|
|
2908
2918
|
};
|
|
2909
2919
|
|
|
2910
2920
|
SetRecord.prototype = {
|
|
2911
2921
|
getIterator: function () {
|
|
2912
|
-
return getIteratorDirect(anObject$
|
|
2922
|
+
return getIteratorDirect$1(anObject$5(call$4(this.keys, this.set)));
|
|
2913
2923
|
},
|
|
2914
2924
|
includes: function (it) {
|
|
2915
|
-
return call$
|
|
2925
|
+
return call$4(this.has, this.set, it);
|
|
2916
2926
|
}
|
|
2917
2927
|
};
|
|
2918
2928
|
|
|
2919
2929
|
// `GetSetRecord` abstract operation
|
|
2920
2930
|
// https://tc39.es/proposal-set-methods/#sec-getsetrecord
|
|
2921
2931
|
var getSetRecord$7 = function (obj) {
|
|
2922
|
-
anObject$
|
|
2932
|
+
anObject$5(obj);
|
|
2923
2933
|
var numSize = +obj.size;
|
|
2924
2934
|
// NOTE: If size is undefined, then numSize will be NaN
|
|
2925
2935
|
// eslint-disable-next-line no-self-compare -- NaN check
|
|
2926
|
-
if (numSize !== numSize) throw new $TypeError(INVALID_SIZE);
|
|
2936
|
+
if (numSize !== numSize) throw new $TypeError$4(INVALID_SIZE);
|
|
2927
2937
|
var intSize = toIntegerOrInfinity(numSize);
|
|
2928
2938
|
if (intSize < 0) throw new $RangeError(INVALID_SIZE);
|
|
2929
2939
|
return new SetRecord(obj, intSize);
|
|
@@ -3013,16 +3023,16 @@ var setMethodAcceptSetLike$7 = function (name, callback) {
|
|
|
3013
3023
|
}
|
|
3014
3024
|
};
|
|
3015
3025
|
|
|
3016
|
-
var $$
|
|
3026
|
+
var $$8 = _export;
|
|
3017
3027
|
var difference = setDifference;
|
|
3018
|
-
var fails$
|
|
3028
|
+
var fails$2 = fails$f;
|
|
3019
3029
|
var setMethodAcceptSetLike$6 = setMethodAcceptSetLike$7;
|
|
3020
3030
|
|
|
3021
3031
|
var SET_LIKE_INCORRECT_BEHAVIOR = !setMethodAcceptSetLike$6('difference', function (result) {
|
|
3022
3032
|
return result.size === 0;
|
|
3023
3033
|
});
|
|
3024
3034
|
|
|
3025
|
-
var FORCED$
|
|
3035
|
+
var FORCED$3 = SET_LIKE_INCORRECT_BEHAVIOR || fails$2(function () {
|
|
3026
3036
|
// https://bugs.webkit.org/show_bug.cgi?id=288595
|
|
3027
3037
|
var setLike = {
|
|
3028
3038
|
size: 1,
|
|
@@ -3046,7 +3056,7 @@ var FORCED$2 = SET_LIKE_INCORRECT_BEHAVIOR || fails$1(function () {
|
|
|
3046
3056
|
|
|
3047
3057
|
// `Set.prototype.difference` method
|
|
3048
3058
|
// https://tc39.es/ecma262/#sec-set.prototype.difference
|
|
3049
|
-
$$
|
|
3059
|
+
$$8({ target: 'Set', proto: true, real: true, forced: FORCED$3 }, {
|
|
3050
3060
|
difference: difference
|
|
3051
3061
|
});
|
|
3052
3062
|
|
|
@@ -3081,45 +3091,45 @@ var setIntersection = function intersection(other) {
|
|
|
3081
3091
|
return result;
|
|
3082
3092
|
};
|
|
3083
3093
|
|
|
3084
|
-
var $$
|
|
3085
|
-
var fails = fails$
|
|
3094
|
+
var $$7 = _export;
|
|
3095
|
+
var fails$1 = fails$f;
|
|
3086
3096
|
var intersection = setIntersection;
|
|
3087
3097
|
var setMethodAcceptSetLike$5 = setMethodAcceptSetLike$7;
|
|
3088
3098
|
|
|
3089
3099
|
var INCORRECT$3 = !setMethodAcceptSetLike$5('intersection', function (result) {
|
|
3090
3100
|
return result.size === 2 && result.has(1) && result.has(2);
|
|
3091
|
-
}) || fails(function () {
|
|
3101
|
+
}) || fails$1(function () {
|
|
3092
3102
|
// eslint-disable-next-line es/no-array-from, es/no-set, es/no-set-prototype-intersection -- testing
|
|
3093
3103
|
return String(Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2])))) !== '3,2';
|
|
3094
3104
|
});
|
|
3095
3105
|
|
|
3096
3106
|
// `Set.prototype.intersection` method
|
|
3097
3107
|
// https://tc39.es/ecma262/#sec-set.prototype.intersection
|
|
3098
|
-
$$
|
|
3108
|
+
$$7({ target: 'Set', proto: true, real: true, forced: INCORRECT$3 }, {
|
|
3099
3109
|
intersection: intersection
|
|
3100
3110
|
});
|
|
3101
3111
|
|
|
3102
|
-
var call = functionCall;
|
|
3103
|
-
var anObject = anObject$
|
|
3104
|
-
var getMethod = getMethod$
|
|
3112
|
+
var call$3 = functionCall;
|
|
3113
|
+
var anObject$4 = anObject$a;
|
|
3114
|
+
var getMethod$1 = getMethod$3;
|
|
3105
3115
|
|
|
3106
|
-
var iteratorClose$
|
|
3116
|
+
var iteratorClose$4 = function (iterator, kind, value) {
|
|
3107
3117
|
var innerResult, innerError;
|
|
3108
|
-
anObject(iterator);
|
|
3118
|
+
anObject$4(iterator);
|
|
3109
3119
|
try {
|
|
3110
|
-
innerResult = getMethod(iterator, 'return');
|
|
3120
|
+
innerResult = getMethod$1(iterator, 'return');
|
|
3111
3121
|
if (!innerResult) {
|
|
3112
3122
|
if (kind === 'throw') throw value;
|
|
3113
3123
|
return value;
|
|
3114
3124
|
}
|
|
3115
|
-
innerResult = call(innerResult, iterator);
|
|
3125
|
+
innerResult = call$3(innerResult, iterator);
|
|
3116
3126
|
} catch (error) {
|
|
3117
3127
|
innerError = true;
|
|
3118
3128
|
innerResult = error;
|
|
3119
3129
|
}
|
|
3120
3130
|
if (kind === 'throw') throw value;
|
|
3121
3131
|
if (innerError) throw innerResult;
|
|
3122
|
-
anObject(innerResult);
|
|
3132
|
+
anObject$4(innerResult);
|
|
3123
3133
|
return value;
|
|
3124
3134
|
};
|
|
3125
3135
|
|
|
@@ -3129,7 +3139,7 @@ var size$2 = setSize;
|
|
|
3129
3139
|
var getSetRecord$4 = getSetRecord$7;
|
|
3130
3140
|
var iterateSet = setIterate;
|
|
3131
3141
|
var iterateSimple$3 = iterateSimple$7;
|
|
3132
|
-
var iteratorClose$
|
|
3142
|
+
var iteratorClose$3 = iteratorClose$4;
|
|
3133
3143
|
|
|
3134
3144
|
// `Set.prototype.isDisjointFrom` method
|
|
3135
3145
|
// https://tc39.es/ecma262/#sec-set.prototype.isdisjointfrom
|
|
@@ -3141,11 +3151,11 @@ var setIsDisjointFrom = function isDisjointFrom(other) {
|
|
|
3141
3151
|
}, true) !== false;
|
|
3142
3152
|
var iterator = otherRec.getIterator();
|
|
3143
3153
|
return iterateSimple$3(iterator, function (e) {
|
|
3144
|
-
if (has$2(O, e)) return iteratorClose$
|
|
3154
|
+
if (has$2(O, e)) return iteratorClose$3(iterator, 'normal', false);
|
|
3145
3155
|
}) !== false;
|
|
3146
3156
|
};
|
|
3147
3157
|
|
|
3148
|
-
var $$
|
|
3158
|
+
var $$6 = _export;
|
|
3149
3159
|
var isDisjointFrom = setIsDisjointFrom;
|
|
3150
3160
|
var setMethodAcceptSetLike$4 = setMethodAcceptSetLike$7;
|
|
3151
3161
|
|
|
@@ -3155,13 +3165,13 @@ var INCORRECT$2 = !setMethodAcceptSetLike$4('isDisjointFrom', function (result)
|
|
|
3155
3165
|
|
|
3156
3166
|
// `Set.prototype.isDisjointFrom` method
|
|
3157
3167
|
// https://tc39.es/ecma262/#sec-set.prototype.isdisjointfrom
|
|
3158
|
-
$$
|
|
3168
|
+
$$6({ target: 'Set', proto: true, real: true, forced: INCORRECT$2 }, {
|
|
3159
3169
|
isDisjointFrom: isDisjointFrom
|
|
3160
3170
|
});
|
|
3161
3171
|
|
|
3162
3172
|
var aSet$3 = aSet$7;
|
|
3163
3173
|
var size$1 = setSize;
|
|
3164
|
-
var iterate = setIterate;
|
|
3174
|
+
var iterate$2 = setIterate;
|
|
3165
3175
|
var getSetRecord$3 = getSetRecord$7;
|
|
3166
3176
|
|
|
3167
3177
|
// `Set.prototype.isSubsetOf` method
|
|
@@ -3170,12 +3180,12 @@ var setIsSubsetOf = function isSubsetOf(other) {
|
|
|
3170
3180
|
var O = aSet$3(this);
|
|
3171
3181
|
var otherRec = getSetRecord$3(other);
|
|
3172
3182
|
if (size$1(O) > otherRec.size) return false;
|
|
3173
|
-
return iterate(O, function (e) {
|
|
3183
|
+
return iterate$2(O, function (e) {
|
|
3174
3184
|
if (!otherRec.includes(e)) return false;
|
|
3175
3185
|
}, true) !== false;
|
|
3176
3186
|
};
|
|
3177
3187
|
|
|
3178
|
-
var $$
|
|
3188
|
+
var $$5 = _export;
|
|
3179
3189
|
var isSubsetOf = setIsSubsetOf;
|
|
3180
3190
|
var setMethodAcceptSetLike$3 = setMethodAcceptSetLike$7;
|
|
3181
3191
|
|
|
@@ -3185,7 +3195,7 @@ var INCORRECT$1 = !setMethodAcceptSetLike$3('isSubsetOf', function (result) {
|
|
|
3185
3195
|
|
|
3186
3196
|
// `Set.prototype.isSubsetOf` method
|
|
3187
3197
|
// https://tc39.es/ecma262/#sec-set.prototype.issubsetof
|
|
3188
|
-
$$
|
|
3198
|
+
$$5({ target: 'Set', proto: true, real: true, forced: INCORRECT$1 }, {
|
|
3189
3199
|
isSubsetOf: isSubsetOf
|
|
3190
3200
|
});
|
|
3191
3201
|
|
|
@@ -3194,7 +3204,7 @@ var has$1 = setHelpers.has;
|
|
|
3194
3204
|
var size = setSize;
|
|
3195
3205
|
var getSetRecord$2 = getSetRecord$7;
|
|
3196
3206
|
var iterateSimple$2 = iterateSimple$7;
|
|
3197
|
-
var iteratorClose = iteratorClose$
|
|
3207
|
+
var iteratorClose$2 = iteratorClose$4;
|
|
3198
3208
|
|
|
3199
3209
|
// `Set.prototype.isSupersetOf` method
|
|
3200
3210
|
// https://tc39.es/ecma262/#sec-set.prototype.issupersetof
|
|
@@ -3204,11 +3214,11 @@ var setIsSupersetOf = function isSupersetOf(other) {
|
|
|
3204
3214
|
if (size(O) < otherRec.size) return false;
|
|
3205
3215
|
var iterator = otherRec.getIterator();
|
|
3206
3216
|
return iterateSimple$2(iterator, function (e) {
|
|
3207
|
-
if (!has$1(O, e)) return iteratorClose(iterator, 'normal', false);
|
|
3217
|
+
if (!has$1(O, e)) return iteratorClose$2(iterator, 'normal', false);
|
|
3208
3218
|
}) !== false;
|
|
3209
3219
|
};
|
|
3210
3220
|
|
|
3211
|
-
var $$
|
|
3221
|
+
var $$4 = _export;
|
|
3212
3222
|
var isSupersetOf = setIsSupersetOf;
|
|
3213
3223
|
var setMethodAcceptSetLike$2 = setMethodAcceptSetLike$7;
|
|
3214
3224
|
|
|
@@ -3218,7 +3228,7 @@ var INCORRECT = !setMethodAcceptSetLike$2('isSupersetOf', function (result) {
|
|
|
3218
3228
|
|
|
3219
3229
|
// `Set.prototype.isSupersetOf` method
|
|
3220
3230
|
// https://tc39.es/ecma262/#sec-set.prototype.issupersetof
|
|
3221
|
-
$$
|
|
3231
|
+
$$4({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
|
|
3222
3232
|
isSupersetOf: isSupersetOf
|
|
3223
3233
|
});
|
|
3224
3234
|
|
|
@@ -3275,16 +3285,16 @@ var setMethodGetKeysBeforeCloningDetection = function (METHOD_NAME) {
|
|
|
3275
3285
|
}
|
|
3276
3286
|
};
|
|
3277
3287
|
|
|
3278
|
-
var $$
|
|
3288
|
+
var $$3 = _export;
|
|
3279
3289
|
var symmetricDifference = setSymmetricDifference;
|
|
3280
3290
|
var setMethodGetKeysBeforeCloning$1 = setMethodGetKeysBeforeCloningDetection;
|
|
3281
3291
|
var setMethodAcceptSetLike$1 = setMethodAcceptSetLike$7;
|
|
3282
3292
|
|
|
3283
|
-
var FORCED$
|
|
3293
|
+
var FORCED$2 = !setMethodAcceptSetLike$1('symmetricDifference') || !setMethodGetKeysBeforeCloning$1('symmetricDifference');
|
|
3284
3294
|
|
|
3285
3295
|
// `Set.prototype.symmetricDifference` method
|
|
3286
3296
|
// https://tc39.es/ecma262/#sec-set.prototype.symmetricdifference
|
|
3287
|
-
$$
|
|
3297
|
+
$$3({ target: 'Set', proto: true, real: true, forced: FORCED$2 }, {
|
|
3288
3298
|
symmetricDifference: symmetricDifference
|
|
3289
3299
|
});
|
|
3290
3300
|
|
|
@@ -3306,16 +3316,16 @@ var setUnion = function union(other) {
|
|
|
3306
3316
|
return result;
|
|
3307
3317
|
};
|
|
3308
3318
|
|
|
3309
|
-
var
|
|
3319
|
+
var $$2 = _export;
|
|
3310
3320
|
var union = setUnion;
|
|
3311
3321
|
var setMethodGetKeysBeforeCloning = setMethodGetKeysBeforeCloningDetection;
|
|
3312
3322
|
var setMethodAcceptSetLike = setMethodAcceptSetLike$7;
|
|
3313
3323
|
|
|
3314
|
-
var FORCED = !setMethodAcceptSetLike('union') || !setMethodGetKeysBeforeCloning('union');
|
|
3324
|
+
var FORCED$1 = !setMethodAcceptSetLike('union') || !setMethodGetKeysBeforeCloning('union');
|
|
3315
3325
|
|
|
3316
3326
|
// `Set.prototype.union` method
|
|
3317
3327
|
// https://tc39.es/ecma262/#sec-set.prototype.union
|
|
3318
|
-
|
|
3328
|
+
$$2({ target: 'Set', proto: true, real: true, forced: FORCED$1 }, {
|
|
3319
3329
|
union: union
|
|
3320
3330
|
});
|
|
3321
3331
|
|
|
@@ -3363,24 +3373,24 @@ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.co
|
|
|
3363
3373
|
|
|
3364
3374
|
var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
|
|
3365
3375
|
|
|
3366
|
-
var globalThis$
|
|
3376
|
+
var globalThis$3 = globalThis_1;
|
|
3367
3377
|
var DOMIterables = domIterables;
|
|
3368
3378
|
var DOMTokenListPrototype = domTokenListPrototype;
|
|
3369
3379
|
var ArrayIteratorMethods = es_array_iterator;
|
|
3370
3380
|
var createNonEnumerableProperty = createNonEnumerableProperty$4;
|
|
3371
3381
|
var setToStringTag = setToStringTag$3;
|
|
3372
|
-
var wellKnownSymbol = wellKnownSymbol$
|
|
3382
|
+
var wellKnownSymbol$5 = wellKnownSymbol$b;
|
|
3373
3383
|
|
|
3374
|
-
var ITERATOR = wellKnownSymbol('iterator');
|
|
3384
|
+
var ITERATOR$3 = wellKnownSymbol$5('iterator');
|
|
3375
3385
|
var ArrayValues = ArrayIteratorMethods.values;
|
|
3376
3386
|
|
|
3377
3387
|
var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
3378
3388
|
if (CollectionPrototype) {
|
|
3379
3389
|
// some Chrome versions have non-configurable methods on DOMTokenList
|
|
3380
|
-
if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
|
|
3381
|
-
createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);
|
|
3390
|
+
if (CollectionPrototype[ITERATOR$3] !== ArrayValues) try {
|
|
3391
|
+
createNonEnumerableProperty(CollectionPrototype, ITERATOR$3, ArrayValues);
|
|
3382
3392
|
} catch (error) {
|
|
3383
|
-
CollectionPrototype[ITERATOR] = ArrayValues;
|
|
3393
|
+
CollectionPrototype[ITERATOR$3] = ArrayValues;
|
|
3384
3394
|
}
|
|
3385
3395
|
setToStringTag(CollectionPrototype, COLLECTION_NAME, true);
|
|
3386
3396
|
if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
|
|
@@ -3395,7 +3405,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
|
|
|
3395
3405
|
};
|
|
3396
3406
|
|
|
3397
3407
|
for (var COLLECTION_NAME in DOMIterables) {
|
|
3398
|
-
handlePrototype(globalThis$
|
|
3408
|
+
handlePrototype(globalThis$3[COLLECTION_NAME] && globalThis$3[COLLECTION_NAME].prototype, COLLECTION_NAME);
|
|
3399
3409
|
}
|
|
3400
3410
|
|
|
3401
3411
|
handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
|
|
@@ -3498,4 +3508,355 @@ const chatThreadRuntimeContainedVisualSettingsSchema = {
|
|
|
3498
3508
|
}
|
|
3499
3509
|
};
|
|
3500
3510
|
|
|
3501
|
-
|
|
3511
|
+
var isPrototypeOf$1 = objectIsPrototypeOf;
|
|
3512
|
+
|
|
3513
|
+
var $TypeError$3 = TypeError;
|
|
3514
|
+
|
|
3515
|
+
var anInstance$1 = function (it, Prototype) {
|
|
3516
|
+
if (isPrototypeOf$1(Prototype, it)) return it;
|
|
3517
|
+
throw new $TypeError$3('Incorrect invocation');
|
|
3518
|
+
};
|
|
3519
|
+
|
|
3520
|
+
var makeBuiltIn = makeBuiltInExports;
|
|
3521
|
+
var defineProperty = objectDefineProperty;
|
|
3522
|
+
|
|
3523
|
+
var defineBuiltInAccessor$1 = function (target, name, descriptor) {
|
|
3524
|
+
if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
|
|
3525
|
+
if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
|
|
3526
|
+
return defineProperty.f(target, name, descriptor);
|
|
3527
|
+
};
|
|
3528
|
+
|
|
3529
|
+
var DESCRIPTORS$1 = descriptors;
|
|
3530
|
+
var definePropertyModule = objectDefineProperty;
|
|
3531
|
+
var createPropertyDescriptor = createPropertyDescriptor$4;
|
|
3532
|
+
|
|
3533
|
+
var createProperty$1 = function (object, key, value) {
|
|
3534
|
+
if (DESCRIPTORS$1) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
|
|
3535
|
+
else object[key] = value;
|
|
3536
|
+
};
|
|
3537
|
+
|
|
3538
|
+
var $$1 = _export;
|
|
3539
|
+
var globalThis$2 = globalThis_1;
|
|
3540
|
+
var anInstance = anInstance$1;
|
|
3541
|
+
var anObject$3 = anObject$a;
|
|
3542
|
+
var isCallable$1 = isCallable$f;
|
|
3543
|
+
var getPrototypeOf = objectGetPrototypeOf;
|
|
3544
|
+
var defineBuiltInAccessor = defineBuiltInAccessor$1;
|
|
3545
|
+
var createProperty = createProperty$1;
|
|
3546
|
+
var fails = fails$f;
|
|
3547
|
+
var hasOwn = hasOwnProperty_1;
|
|
3548
|
+
var wellKnownSymbol$4 = wellKnownSymbol$b;
|
|
3549
|
+
var IteratorPrototype = iteratorsCore.IteratorPrototype;
|
|
3550
|
+
var DESCRIPTORS = descriptors;
|
|
3551
|
+
|
|
3552
|
+
var CONSTRUCTOR = 'constructor';
|
|
3553
|
+
var ITERATOR$2 = 'Iterator';
|
|
3554
|
+
var TO_STRING_TAG$2 = wellKnownSymbol$4('toStringTag');
|
|
3555
|
+
|
|
3556
|
+
var $TypeError$2 = TypeError;
|
|
3557
|
+
var NativeIterator = globalThis$2[ITERATOR$2];
|
|
3558
|
+
|
|
3559
|
+
// FF56- have non-standard global helper `Iterator`
|
|
3560
|
+
var FORCED = !isCallable$1(NativeIterator)
|
|
3561
|
+
|| NativeIterator.prototype !== IteratorPrototype
|
|
3562
|
+
// FF44- non-standard `Iterator` passes previous tests
|
|
3563
|
+
|| !fails(function () { NativeIterator({}); });
|
|
3564
|
+
|
|
3565
|
+
var IteratorConstructor = function Iterator() {
|
|
3566
|
+
anInstance(this, IteratorPrototype);
|
|
3567
|
+
if (getPrototypeOf(this) === IteratorPrototype) throw new $TypeError$2('Abstract class Iterator not directly constructable');
|
|
3568
|
+
};
|
|
3569
|
+
|
|
3570
|
+
var defineIteratorPrototypeAccessor = function (key, value) {
|
|
3571
|
+
if (DESCRIPTORS) {
|
|
3572
|
+
defineBuiltInAccessor(IteratorPrototype, key, {
|
|
3573
|
+
configurable: true,
|
|
3574
|
+
get: function () {
|
|
3575
|
+
return value;
|
|
3576
|
+
},
|
|
3577
|
+
set: function (replacement) {
|
|
3578
|
+
anObject$3(this);
|
|
3579
|
+
if (this === IteratorPrototype) throw new $TypeError$2("You can't redefine this property");
|
|
3580
|
+
if (hasOwn(this, key)) this[key] = replacement;
|
|
3581
|
+
else createProperty(this, key, replacement);
|
|
3582
|
+
}
|
|
3583
|
+
});
|
|
3584
|
+
} else IteratorPrototype[key] = value;
|
|
3585
|
+
};
|
|
3586
|
+
|
|
3587
|
+
if (!hasOwn(IteratorPrototype, TO_STRING_TAG$2)) defineIteratorPrototypeAccessor(TO_STRING_TAG$2, ITERATOR$2);
|
|
3588
|
+
|
|
3589
|
+
if (FORCED || !hasOwn(IteratorPrototype, CONSTRUCTOR) || IteratorPrototype[CONSTRUCTOR] === Object) {
|
|
3590
|
+
defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
|
|
3591
|
+
}
|
|
3592
|
+
|
|
3593
|
+
IteratorConstructor.prototype = IteratorPrototype;
|
|
3594
|
+
|
|
3595
|
+
// `Iterator` constructor
|
|
3596
|
+
// https://tc39.es/ecma262/#sec-iterator
|
|
3597
|
+
$$1({ global: true, constructor: true, forced: FORCED }, {
|
|
3598
|
+
Iterator: IteratorConstructor
|
|
3599
|
+
});
|
|
3600
|
+
|
|
3601
|
+
var classofRaw$1 = classofRaw$2;
|
|
3602
|
+
var uncurryThis$1 = functionUncurryThis;
|
|
3603
|
+
|
|
3604
|
+
var functionUncurryThisClause = function (fn) {
|
|
3605
|
+
// Nashorn bug:
|
|
3606
|
+
// https://github.com/zloirock/core-js/issues/1128
|
|
3607
|
+
// https://github.com/zloirock/core-js/issues/1130
|
|
3608
|
+
if (classofRaw$1(fn) === 'Function') return uncurryThis$1(fn);
|
|
3609
|
+
};
|
|
3610
|
+
|
|
3611
|
+
var uncurryThis = functionUncurryThisClause;
|
|
3612
|
+
var aCallable$2 = aCallable$6;
|
|
3613
|
+
var NATIVE_BIND = functionBindNative;
|
|
3614
|
+
|
|
3615
|
+
var bind$1 = uncurryThis(uncurryThis.bind);
|
|
3616
|
+
|
|
3617
|
+
// optional / simple context binding
|
|
3618
|
+
var functionBindContext = function (fn, that) {
|
|
3619
|
+
aCallable$2(fn);
|
|
3620
|
+
return that === undefined ? fn : NATIVE_BIND ? bind$1(fn, that) : function (/* ...args */) {
|
|
3621
|
+
return fn.apply(that, arguments);
|
|
3622
|
+
};
|
|
3623
|
+
};
|
|
3624
|
+
|
|
3625
|
+
var wellKnownSymbol$3 = wellKnownSymbol$b;
|
|
3626
|
+
var Iterators$1 = iterators;
|
|
3627
|
+
|
|
3628
|
+
var ITERATOR$1 = wellKnownSymbol$3('iterator');
|
|
3629
|
+
var ArrayPrototype = Array.prototype;
|
|
3630
|
+
|
|
3631
|
+
// check on default Array iterator
|
|
3632
|
+
var isArrayIteratorMethod$1 = function (it) {
|
|
3633
|
+
return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$1] === it);
|
|
3634
|
+
};
|
|
3635
|
+
|
|
3636
|
+
var wellKnownSymbol$2 = wellKnownSymbol$b;
|
|
3637
|
+
|
|
3638
|
+
var TO_STRING_TAG$1 = wellKnownSymbol$2('toStringTag');
|
|
3639
|
+
var test = {};
|
|
3640
|
+
// eslint-disable-next-line unicorn/no-immediate-mutation -- ES3 syntax limitation
|
|
3641
|
+
test[TO_STRING_TAG$1] = 'z';
|
|
3642
|
+
|
|
3643
|
+
var toStringTagSupport = String(test) === '[object z]';
|
|
3644
|
+
|
|
3645
|
+
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
3646
|
+
var isCallable = isCallable$f;
|
|
3647
|
+
var classofRaw = classofRaw$2;
|
|
3648
|
+
var wellKnownSymbol$1 = wellKnownSymbol$b;
|
|
3649
|
+
|
|
3650
|
+
var TO_STRING_TAG = wellKnownSymbol$1('toStringTag');
|
|
3651
|
+
var $Object = Object;
|
|
3652
|
+
|
|
3653
|
+
// ES3 wrong here
|
|
3654
|
+
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
|
|
3655
|
+
|
|
3656
|
+
// fallback for IE11 Script Access Denied error
|
|
3657
|
+
var tryGet = function (it, key) {
|
|
3658
|
+
try {
|
|
3659
|
+
return it[key];
|
|
3660
|
+
} catch (error) { /* empty */ }
|
|
3661
|
+
};
|
|
3662
|
+
|
|
3663
|
+
// getting tag from ES6+ `Object.prototype.toString`
|
|
3664
|
+
var classof$1 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
3665
|
+
var O, tag, result;
|
|
3666
|
+
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
3667
|
+
// @@toStringTag case
|
|
3668
|
+
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
3669
|
+
// builtinTag case
|
|
3670
|
+
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
3671
|
+
// ES3 arguments fallback
|
|
3672
|
+
: (result = classofRaw(O)) === 'Object' && isCallable(O.callee) ? 'Arguments' : result;
|
|
3673
|
+
};
|
|
3674
|
+
|
|
3675
|
+
var classof = classof$1;
|
|
3676
|
+
var getMethod = getMethod$3;
|
|
3677
|
+
var isNullOrUndefined = isNullOrUndefined$3;
|
|
3678
|
+
var Iterators = iterators;
|
|
3679
|
+
var wellKnownSymbol = wellKnownSymbol$b;
|
|
3680
|
+
|
|
3681
|
+
var ITERATOR = wellKnownSymbol('iterator');
|
|
3682
|
+
|
|
3683
|
+
var getIteratorMethod$2 = function (it) {
|
|
3684
|
+
if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR)
|
|
3685
|
+
|| getMethod(it, '@@iterator')
|
|
3686
|
+
|| Iterators[classof(it)];
|
|
3687
|
+
};
|
|
3688
|
+
|
|
3689
|
+
var call$2 = functionCall;
|
|
3690
|
+
var aCallable$1 = aCallable$6;
|
|
3691
|
+
var anObject$2 = anObject$a;
|
|
3692
|
+
var tryToString$1 = tryToString$3;
|
|
3693
|
+
var getIteratorMethod$1 = getIteratorMethod$2;
|
|
3694
|
+
|
|
3695
|
+
var $TypeError$1 = TypeError;
|
|
3696
|
+
|
|
3697
|
+
var getIterator$1 = function (argument, usingIterator) {
|
|
3698
|
+
var iteratorMethod = arguments.length < 2 ? getIteratorMethod$1(argument) : usingIterator;
|
|
3699
|
+
if (aCallable$1(iteratorMethod)) return anObject$2(call$2(iteratorMethod, argument));
|
|
3700
|
+
throw new $TypeError$1(tryToString$1(argument) + ' is not iterable');
|
|
3701
|
+
};
|
|
3702
|
+
|
|
3703
|
+
var bind = functionBindContext;
|
|
3704
|
+
var call$1 = functionCall;
|
|
3705
|
+
var anObject$1 = anObject$a;
|
|
3706
|
+
var tryToString = tryToString$3;
|
|
3707
|
+
var isArrayIteratorMethod = isArrayIteratorMethod$1;
|
|
3708
|
+
var lengthOfArrayLike = lengthOfArrayLike$2;
|
|
3709
|
+
var isPrototypeOf = objectIsPrototypeOf;
|
|
3710
|
+
var getIterator = getIterator$1;
|
|
3711
|
+
var getIteratorMethod = getIteratorMethod$2;
|
|
3712
|
+
var iteratorClose$1 = iteratorClose$4;
|
|
3713
|
+
|
|
3714
|
+
var $TypeError = TypeError;
|
|
3715
|
+
|
|
3716
|
+
var Result = function (stopped, result) {
|
|
3717
|
+
this.stopped = stopped;
|
|
3718
|
+
this.result = result;
|
|
3719
|
+
};
|
|
3720
|
+
|
|
3721
|
+
var ResultPrototype = Result.prototype;
|
|
3722
|
+
|
|
3723
|
+
var iterate$1 = function (iterable, unboundFunction, options) {
|
|
3724
|
+
var that = options && options.that;
|
|
3725
|
+
var AS_ENTRIES = !!(options && options.AS_ENTRIES);
|
|
3726
|
+
var IS_RECORD = !!(options && options.IS_RECORD);
|
|
3727
|
+
var IS_ITERATOR = !!(options && options.IS_ITERATOR);
|
|
3728
|
+
var INTERRUPTED = !!(options && options.INTERRUPTED);
|
|
3729
|
+
var fn = bind(unboundFunction, that);
|
|
3730
|
+
var iterator, iterFn, index, length, result, next, step;
|
|
3731
|
+
|
|
3732
|
+
var stop = function (condition) {
|
|
3733
|
+
if (iterator) iteratorClose$1(iterator, 'normal');
|
|
3734
|
+
return new Result(true, condition);
|
|
3735
|
+
};
|
|
3736
|
+
|
|
3737
|
+
var callFn = function (value) {
|
|
3738
|
+
if (AS_ENTRIES) {
|
|
3739
|
+
anObject$1(value);
|
|
3740
|
+
return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
|
|
3741
|
+
} return INTERRUPTED ? fn(value, stop) : fn(value);
|
|
3742
|
+
};
|
|
3743
|
+
|
|
3744
|
+
if (IS_RECORD) {
|
|
3745
|
+
iterator = iterable.iterator;
|
|
3746
|
+
} else if (IS_ITERATOR) {
|
|
3747
|
+
iterator = iterable;
|
|
3748
|
+
} else {
|
|
3749
|
+
iterFn = getIteratorMethod(iterable);
|
|
3750
|
+
if (!iterFn) throw new $TypeError(tryToString(iterable) + ' is not iterable');
|
|
3751
|
+
// optimisation for array iterators
|
|
3752
|
+
if (isArrayIteratorMethod(iterFn)) {
|
|
3753
|
+
for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
|
|
3754
|
+
result = callFn(iterable[index]);
|
|
3755
|
+
if (result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
3756
|
+
} return new Result(false);
|
|
3757
|
+
}
|
|
3758
|
+
iterator = getIterator(iterable, iterFn);
|
|
3759
|
+
}
|
|
3760
|
+
|
|
3761
|
+
next = IS_RECORD ? iterable.next : iterator.next;
|
|
3762
|
+
while (!(step = call$1(next, iterator)).done) {
|
|
3763
|
+
try {
|
|
3764
|
+
result = callFn(step.value);
|
|
3765
|
+
} catch (error) {
|
|
3766
|
+
iteratorClose$1(iterator, 'throw', error);
|
|
3767
|
+
}
|
|
3768
|
+
if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
|
|
3769
|
+
} return new Result(false);
|
|
3770
|
+
};
|
|
3771
|
+
|
|
3772
|
+
var globalThis$1 = globalThis_1;
|
|
3773
|
+
|
|
3774
|
+
// https://github.com/tc39/ecma262/pull/3467
|
|
3775
|
+
var iteratorHelperWithoutClosingOnEarlyError$1 = function (METHOD_NAME, ExpectedError) {
|
|
3776
|
+
var Iterator = globalThis$1.Iterator;
|
|
3777
|
+
var IteratorPrototype = Iterator && Iterator.prototype;
|
|
3778
|
+
var method = IteratorPrototype && IteratorPrototype[METHOD_NAME];
|
|
3779
|
+
|
|
3780
|
+
var CLOSED = false;
|
|
3781
|
+
|
|
3782
|
+
if (method) try {
|
|
3783
|
+
method.call({
|
|
3784
|
+
next: function () { return { done: true }; },
|
|
3785
|
+
'return': function () { CLOSED = true; }
|
|
3786
|
+
}, -1);
|
|
3787
|
+
} catch (error) {
|
|
3788
|
+
// https://bugs.webkit.org/show_bug.cgi?id=291195
|
|
3789
|
+
if (!(error instanceof ExpectedError)) CLOSED = false;
|
|
3790
|
+
}
|
|
3791
|
+
|
|
3792
|
+
if (!CLOSED) return method;
|
|
3793
|
+
};
|
|
3794
|
+
|
|
3795
|
+
var $ = _export;
|
|
3796
|
+
var call = functionCall;
|
|
3797
|
+
var iterate = iterate$1;
|
|
3798
|
+
var aCallable = aCallable$6;
|
|
3799
|
+
var anObject = anObject$a;
|
|
3800
|
+
var getIteratorDirect = getIteratorDirect$2;
|
|
3801
|
+
var iteratorClose = iteratorClose$4;
|
|
3802
|
+
var iteratorHelperWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$1;
|
|
3803
|
+
|
|
3804
|
+
var someWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError('some', TypeError);
|
|
3805
|
+
|
|
3806
|
+
// `Iterator.prototype.some` method
|
|
3807
|
+
// https://tc39.es/ecma262/#sec-iterator.prototype.some
|
|
3808
|
+
$({ target: 'Iterator', proto: true, real: true, forced: someWithoutClosingOnEarlyError }, {
|
|
3809
|
+
some: function some(predicate) {
|
|
3810
|
+
anObject(this);
|
|
3811
|
+
try {
|
|
3812
|
+
aCallable(predicate);
|
|
3813
|
+
} catch (error) {
|
|
3814
|
+
iteratorClose(this, 'throw', error);
|
|
3815
|
+
}
|
|
3816
|
+
|
|
3817
|
+
if (someWithoutClosingOnEarlyError) return call(someWithoutClosingOnEarlyError, this, predicate);
|
|
3818
|
+
|
|
3819
|
+
var record = getIteratorDirect(this);
|
|
3820
|
+
var counter = 0;
|
|
3821
|
+
return iterate(record, function (value, stop) {
|
|
3822
|
+
if (predicate(value, counter++)) return stop();
|
|
3823
|
+
}, { IS_RECORD: true, INTERRUPTED: true }).stopped;
|
|
3824
|
+
}
|
|
3825
|
+
});
|
|
3826
|
+
|
|
3827
|
+
const isFlashcardElement = element => {
|
|
3828
|
+
return (element === null || element === void 0 ? void 0 : element.type) === 'flashcards';
|
|
3829
|
+
};
|
|
3830
|
+
const isSourcesElement = element => {
|
|
3831
|
+
return (element === null || element === void 0 ? void 0 : element.type) === 'sources';
|
|
3832
|
+
};
|
|
3833
|
+
const isFollowupsElement = element => {
|
|
3834
|
+
return (element === null || element === void 0 ? void 0 : element.type) === 'followups';
|
|
3835
|
+
};
|
|
3836
|
+
const isTextFlashcard = card => {
|
|
3837
|
+
return card.type === 'text';
|
|
3838
|
+
};
|
|
3839
|
+
const isVideoGalleryFlashcard = card => {
|
|
3840
|
+
return card.type === 'videoGallery';
|
|
3841
|
+
};
|
|
3842
|
+
const isVideoSourceItem = item => {
|
|
3843
|
+
return (item === null || item === void 0 ? void 0 : item.type) === 'video';
|
|
3844
|
+
};
|
|
3845
|
+
const isPDFSourceItem = item => {
|
|
3846
|
+
return (item === null || item === void 0 ? void 0 : item.type) === 'document';
|
|
3847
|
+
};
|
|
3848
|
+
function isFlashcardBlock(b) {
|
|
3849
|
+
return b.type === 'unisphere-tool' && b.runtimeName === 'flashcards-tool' && b.status !== 'error' && typeof b.settings === 'object' && b.settings !== null && Array.isArray(b.settings.keypoints);
|
|
3850
|
+
}
|
|
3851
|
+
function isSourcesBlock(b) {
|
|
3852
|
+
return b.type === 'unisphere-tool' && b.runtimeName === 'sources-tool' && b.status !== 'error' && typeof b.settings === 'object' && b.settings !== null && Array.isArray(b.settings.sources);
|
|
3853
|
+
}
|
|
3854
|
+
function isFollowupsBlock(b) {
|
|
3855
|
+
return b.type === 'unisphere-tool' && b.runtimeName === 'followups-tool' && b.status !== 'error';
|
|
3856
|
+
}
|
|
3857
|
+
function isTextBlock(b) {
|
|
3858
|
+
return b.type === 'markdown' && b.status === 'ready' && typeof b.content === 'string';
|
|
3859
|
+
}
|
|
3860
|
+
const hasSources = blocks => blocks.some(b => b.type === 'unisphere-tool' && b.runtimeName === 'sources-tool');
|
|
3861
|
+
|
|
3862
|
+
export { AVATAR_DEFAULT_CAPABILITIES, AnswerModelEnum, AnswerTypeEnum, AvatarConnectionStatus, AvatarRuntimeName, CHAT_CONTEXT_TYPE, CHAT_CONTEXT_TYPE_GLOBAL, CHAT_DEFAULT_CAPABILITIES, ChatRuntimeName, ChatThreadRuntimeName, DeviceType, DisconnectReasons, SUPPORTED_LAYOUT_TYPES, agentModeSchema, avatarContainerModeSchema, avatarRuntimeChatVisualSettingsSchema, avatarRuntimeConnectSettingsSchema, avatarRuntimeContainedVisualSettingsSchema, avatarRuntimeFloaterVisualSettingsSchema, avatarRuntimeHeadFloaterVisualSettingsSchema, avatarRuntimeHeadlessVisualSettingsSchema, avatarRuntimeSettingsSchema, bannerVisualSettingsSchema, blockVisualContextSchema, chatContextSchema, chatCustomizationSchema, chatRuntimePlayerPluginSettingsSchema, chatRuntimeSettingsSchema, chatThreadRuntimeContainedVisualSettingsSchema, chatThreadRuntimeSettingsSchema, containedVisualSettingsSchema, dynamicVariablesSchema, floaterCTAVisualSettingsSchema, floaterVisualSettingsSchema, getAvatarDefaultCapabilities, getChatDefaultCapabilities, getResolvedRuntimeName, getResolvedWidgetName, getSourceUrlSchema, hasSources, integrationsSchema, isAvatarConnectionProxyInternalType, isFlashcardBlock, isFlashcardElement, isFollowupsBlock, isFollowupsElement, isPDFSourceItem, isSourcesBlock, isSourcesElement, isTextBlock, isTextFlashcard, isVideoGalleryFlashcard, isVideoSourceItem, pageVisualSettingsSchema, popupVisualSettingsSchema, resolveActiveContextType, schemaVersionSchema, shareUrlSchema, widgetName };
|