@vention/machine-logic-ui-sdk 0.18.0 → 0.20.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 CHANGED
@@ -24,7 +24,7 @@ var globalThis_1 =
24
24
 
25
25
  var objectGetOwnPropertyDescriptor = {};
26
26
 
27
- var fails$g = function (exec) {
27
+ var fails$i = function (exec) {
28
28
  try {
29
29
  return !!exec();
30
30
  } catch (error) {
@@ -32,29 +32,29 @@ var fails$g = function (exec) {
32
32
  }
33
33
  };
34
34
 
35
- var fails$f = fails$g;
35
+ var fails$h = fails$i;
36
36
 
37
37
  // Detect IE8's incomplete defineProperty implementation
38
- var descriptors = !fails$f(function () {
38
+ var descriptors = !fails$h(function () {
39
39
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
40
40
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
41
41
  });
42
42
 
43
- var fails$e = fails$g;
43
+ var fails$g = fails$i;
44
44
 
45
- var functionBindNative = !fails$e(function () {
45
+ var functionBindNative = !fails$g(function () {
46
46
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
47
47
  var test = (function () { /* empty */ }).bind();
48
48
  // eslint-disable-next-line no-prototype-builtins -- safe
49
49
  return typeof test != 'function' || test.hasOwnProperty('prototype');
50
50
  });
51
51
 
52
- var NATIVE_BIND$1 = functionBindNative;
52
+ var NATIVE_BIND$2 = functionBindNative;
53
53
 
54
- var call$8 = Function.prototype.call;
54
+ var call$c = Function.prototype.call;
55
55
 
56
- var functionCall = NATIVE_BIND$1 ? call$8.bind(call$8) : function () {
57
- return call$8.apply(call$8, arguments);
56
+ var functionCall = NATIVE_BIND$2 ? call$c.bind(call$c) : function () {
57
+ return call$c.apply(call$c, arguments);
58
58
  };
59
59
 
60
60
  var objectPropertyIsEnumerable = {};
@@ -82,66 +82,66 @@ var createPropertyDescriptor$3 = function (bitmap, value) {
82
82
  };
83
83
  };
84
84
 
85
- var NATIVE_BIND = functionBindNative;
85
+ var NATIVE_BIND$1 = functionBindNative;
86
86
 
87
- var FunctionPrototype$1 = Function.prototype;
88
- var call$7 = FunctionPrototype$1.call;
89
- var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$7, call$7);
87
+ var FunctionPrototype$2 = Function.prototype;
88
+ var call$b = FunctionPrototype$2.call;
89
+ var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$2.bind.bind(call$b, call$b);
90
90
 
91
- var functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
91
+ var functionUncurryThis = NATIVE_BIND$1 ? uncurryThisWithBind : function (fn) {
92
92
  return function () {
93
- return call$7.apply(fn, arguments);
93
+ return call$b.apply(fn, arguments);
94
94
  };
95
95
  };
96
96
 
97
- var uncurryThis$d = functionUncurryThis;
97
+ var uncurryThis$g = functionUncurryThis;
98
98
 
99
- var toString$6 = uncurryThis$d({}.toString);
100
- var stringSlice$3 = uncurryThis$d(''.slice);
99
+ var toString$8 = uncurryThis$g({}.toString);
100
+ var stringSlice$6 = uncurryThis$g(''.slice);
101
101
 
102
102
  var classofRaw$2 = function (it) {
103
- return stringSlice$3(toString$6(it), 8, -1);
103
+ return stringSlice$6(toString$8(it), 8, -1);
104
104
  };
105
105
 
106
- var uncurryThis$c = functionUncurryThis;
107
- var fails$d = fails$g;
108
- var classof$4 = classofRaw$2;
106
+ var uncurryThis$f = functionUncurryThis;
107
+ var fails$f = fails$i;
108
+ var classof$5 = classofRaw$2;
109
109
 
110
110
  var $Object$4 = Object;
111
- var split = uncurryThis$c(''.split);
111
+ var split = uncurryThis$f(''.split);
112
112
 
113
113
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
114
- var indexedObject = fails$d(function () {
114
+ var indexedObject = fails$f(function () {
115
115
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
116
116
  // eslint-disable-next-line no-prototype-builtins -- safe
117
117
  return !$Object$4('z').propertyIsEnumerable(0);
118
118
  }) ? function (it) {
119
- return classof$4(it) === 'String' ? split(it, '') : $Object$4(it);
119
+ return classof$5(it) === 'String' ? split(it, '') : $Object$4(it);
120
120
  } : $Object$4;
121
121
 
122
122
  // we can't use just `it == null` since of `document.all` special case
123
123
  // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
124
- var isNullOrUndefined$2 = function (it) {
124
+ var isNullOrUndefined$3 = function (it) {
125
125
  return it === null || it === undefined;
126
126
  };
127
127
 
128
- var isNullOrUndefined$1 = isNullOrUndefined$2;
128
+ var isNullOrUndefined$2 = isNullOrUndefined$3;
129
129
 
130
- var $TypeError$9 = TypeError;
130
+ var $TypeError$a = TypeError;
131
131
 
132
132
  // `RequireObjectCoercible` abstract operation
133
133
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
134
- var requireObjectCoercible$5 = function (it) {
135
- if (isNullOrUndefined$1(it)) throw new $TypeError$9("Can't call method on " + it);
134
+ var requireObjectCoercible$7 = function (it) {
135
+ if (isNullOrUndefined$2(it)) throw new $TypeError$a("Can't call method on " + it);
136
136
  return it;
137
137
  };
138
138
 
139
139
  // toObject with fallback for non-array-like ES3 strings
140
140
  var IndexedObject = indexedObject;
141
- var requireObjectCoercible$4 = requireObjectCoercible$5;
141
+ var requireObjectCoercible$6 = requireObjectCoercible$7;
142
142
 
143
143
  var toIndexedObject$5 = function (it) {
144
- return IndexedObject(requireObjectCoercible$4(it));
144
+ return IndexedObject(requireObjectCoercible$6(it));
145
145
  };
146
146
 
147
147
  // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
@@ -150,32 +150,32 @@ var documentAll = typeof document == 'object' && document.all;
150
150
  // `IsCallable` abstract operation
151
151
  // https://tc39.es/ecma262/#sec-iscallable
152
152
  // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
153
- var isCallable$f = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
153
+ var isCallable$h = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
154
154
  return typeof argument == 'function' || argument === documentAll;
155
155
  } : function (argument) {
156
156
  return typeof argument == 'function';
157
157
  };
158
158
 
159
- var isCallable$e = isCallable$f;
159
+ var isCallable$g = isCallable$h;
160
160
 
161
161
  var isObject$9 = function (it) {
162
- return typeof it == 'object' ? it !== null : isCallable$e(it);
162
+ return typeof it == 'object' ? it !== null : isCallable$g(it);
163
163
  };
164
164
 
165
165
  var globalThis$f = globalThis_1;
166
- var isCallable$d = isCallable$f;
166
+ var isCallable$f = isCallable$h;
167
167
 
168
168
  var aFunction = function (argument) {
169
- return isCallable$d(argument) ? argument : undefined;
169
+ return isCallable$f(argument) ? argument : undefined;
170
170
  };
171
171
 
172
172
  var getBuiltIn$3 = function (namespace, method) {
173
173
  return arguments.length < 2 ? aFunction(globalThis$f[namespace]) : globalThis$f[namespace] && globalThis$f[namespace][method];
174
174
  };
175
175
 
176
- var uncurryThis$b = functionUncurryThis;
176
+ var uncurryThis$e = functionUncurryThis;
177
177
 
178
- var objectIsPrototypeOf = uncurryThis$b({}.isPrototypeOf);
178
+ var objectIsPrototypeOf = uncurryThis$e({}.isPrototypeOf);
179
179
 
180
180
  var globalThis$e = globalThis_1;
181
181
 
@@ -214,13 +214,13 @@ var environmentV8Version = version;
214
214
 
215
215
  /* eslint-disable es/no-symbol -- required for testing */
216
216
  var V8_VERSION = environmentV8Version;
217
- var fails$c = fails$g;
217
+ var fails$e = fails$i;
218
218
  var globalThis$c = globalThis_1;
219
219
 
220
220
  var $String$5 = globalThis$c.String;
221
221
 
222
222
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
223
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$c(function () {
223
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$e(function () {
224
224
  var symbol = Symbol('symbol detection');
225
225
  // Chrome 38 Symbol has incorrect toString conversion
226
226
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -239,7 +239,7 @@ var useSymbolAsUid = NATIVE_SYMBOL$1
239
239
  && typeof Symbol.iterator == 'symbol';
240
240
 
241
241
  var getBuiltIn$2 = getBuiltIn$3;
242
- var isCallable$c = isCallable$f;
242
+ var isCallable$e = isCallable$h;
243
243
  var isPrototypeOf$1 = objectIsPrototypeOf;
244
244
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
245
245
 
@@ -249,7 +249,7 @@ var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
249
249
  return typeof it == 'symbol';
250
250
  } : function (it) {
251
251
  var $Symbol = getBuiltIn$2('Symbol');
252
- return isCallable$c($Symbol) && isPrototypeOf$1($Symbol.prototype, $Object$3(it));
252
+ return isCallable$e($Symbol) && isPrototypeOf$1($Symbol.prototype, $Object$3(it));
253
253
  };
254
254
 
255
255
  var $String$4 = String;
@@ -262,41 +262,41 @@ var tryToString$1 = function (argument) {
262
262
  }
263
263
  };
264
264
 
265
- var isCallable$b = isCallable$f;
265
+ var isCallable$d = isCallable$h;
266
266
  var tryToString = tryToString$1;
267
267
 
268
- var $TypeError$8 = TypeError;
268
+ var $TypeError$9 = TypeError;
269
269
 
270
270
  // `Assert: IsCallable(argument) is true`
271
271
  var aCallable$2 = function (argument) {
272
- if (isCallable$b(argument)) return argument;
273
- throw new $TypeError$8(tryToString(argument) + ' is not a function');
272
+ if (isCallable$d(argument)) return argument;
273
+ throw new $TypeError$9(tryToString(argument) + ' is not a function');
274
274
  };
275
275
 
276
276
  var aCallable$1 = aCallable$2;
277
- var isNullOrUndefined = isNullOrUndefined$2;
277
+ var isNullOrUndefined$1 = isNullOrUndefined$3;
278
278
 
279
279
  // `GetMethod` abstract operation
280
280
  // https://tc39.es/ecma262/#sec-getmethod
281
- var getMethod$1 = function (V, P) {
281
+ var getMethod$2 = function (V, P) {
282
282
  var func = V[P];
283
- return isNullOrUndefined(func) ? undefined : aCallable$1(func);
283
+ return isNullOrUndefined$1(func) ? undefined : aCallable$1(func);
284
284
  };
285
285
 
286
- var call$6 = functionCall;
287
- var isCallable$a = isCallable$f;
286
+ var call$a = functionCall;
287
+ var isCallable$c = isCallable$h;
288
288
  var isObject$8 = isObject$9;
289
289
 
290
- var $TypeError$7 = TypeError;
290
+ var $TypeError$8 = TypeError;
291
291
 
292
292
  // `OrdinaryToPrimitive` abstract operation
293
293
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
294
294
  var ordinaryToPrimitive$1 = function (input, pref) {
295
295
  var fn, val;
296
- if (pref === 'string' && isCallable$a(fn = input.toString) && !isObject$8(val = call$6(fn, input))) return val;
297
- if (isCallable$a(fn = input.valueOf) && !isObject$8(val = call$6(fn, input))) return val;
298
- if (pref !== 'string' && isCallable$a(fn = input.toString) && !isObject$8(val = call$6(fn, input))) return val;
299
- throw new $TypeError$7("Can't convert object to primitive value");
296
+ if (pref === 'string' && isCallable$c(fn = input.toString) && !isObject$8(val = call$a(fn, input))) return val;
297
+ if (isCallable$c(fn = input.valueOf) && !isObject$8(val = call$a(fn, input))) return val;
298
+ if (pref !== 'string' && isCallable$c(fn = input.toString) && !isObject$8(val = call$a(fn, input))) return val;
299
+ throw new $TypeError$8("Can't convert object to primitive value");
300
300
  };
301
301
 
302
302
  var sharedStore = {exports: {}};
@@ -336,36 +336,36 @@ var shared$4 = function (key, value) {
336
336
  return store$2[key] || (store$2[key] = value || {});
337
337
  };
338
338
 
339
- var requireObjectCoercible$3 = requireObjectCoercible$5;
339
+ var requireObjectCoercible$5 = requireObjectCoercible$7;
340
340
 
341
341
  var $Object$2 = Object;
342
342
 
343
343
  // `ToObject` abstract operation
344
344
  // https://tc39.es/ecma262/#sec-toobject
345
- var toObject$3 = function (argument) {
346
- return $Object$2(requireObjectCoercible$3(argument));
345
+ var toObject$4 = function (argument) {
346
+ return $Object$2(requireObjectCoercible$5(argument));
347
347
  };
348
348
 
349
- var uncurryThis$a = functionUncurryThis;
350
- var toObject$2 = toObject$3;
349
+ var uncurryThis$d = functionUncurryThis;
350
+ var toObject$3 = toObject$4;
351
351
 
352
- var hasOwnProperty = uncurryThis$a({}.hasOwnProperty);
352
+ var hasOwnProperty = uncurryThis$d({}.hasOwnProperty);
353
353
 
354
354
  // `HasOwnProperty` abstract operation
355
355
  // https://tc39.es/ecma262/#sec-hasownproperty
356
356
  // eslint-disable-next-line es/no-object-hasown -- safe
357
357
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
358
- return hasOwnProperty(toObject$2(it), key);
358
+ return hasOwnProperty(toObject$3(it), key);
359
359
  };
360
360
 
361
- var uncurryThis$9 = functionUncurryThis;
361
+ var uncurryThis$c = functionUncurryThis;
362
362
 
363
363
  var id = 0;
364
364
  var postfix = Math.random();
365
- var toString$5 = uncurryThis$9(1.0.toString);
365
+ var toString$7 = uncurryThis$c(1.0.toString);
366
366
 
367
367
  var uid$2 = function (key) {
368
- return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$5(++id + postfix, 36);
368
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$7(++id + postfix, 36);
369
369
  };
370
370
 
371
371
  var globalThis$9 = globalThis_1;
@@ -379,7 +379,7 @@ var Symbol$1 = globalThis$9.Symbol;
379
379
  var WellKnownSymbolsStore = shared$3('wks');
380
380
  var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
381
381
 
382
- var wellKnownSymbol$a = function (name) {
382
+ var wellKnownSymbol$c = function (name) {
383
383
  if (!hasOwn$9(WellKnownSymbolsStore, name)) {
384
384
  WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$9(Symbol$1, name)
385
385
  ? Symbol$1[name]
@@ -387,27 +387,27 @@ var wellKnownSymbol$a = function (name) {
387
387
  } return WellKnownSymbolsStore[name];
388
388
  };
389
389
 
390
- var call$5 = functionCall;
390
+ var call$9 = functionCall;
391
391
  var isObject$7 = isObject$9;
392
392
  var isSymbol$1 = isSymbol$2;
393
- var getMethod = getMethod$1;
393
+ var getMethod$1 = getMethod$2;
394
394
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
395
- var wellKnownSymbol$9 = wellKnownSymbol$a;
395
+ var wellKnownSymbol$b = wellKnownSymbol$c;
396
396
 
397
- var $TypeError$6 = TypeError;
398
- var TO_PRIMITIVE = wellKnownSymbol$9('toPrimitive');
397
+ var $TypeError$7 = TypeError;
398
+ var TO_PRIMITIVE = wellKnownSymbol$b('toPrimitive');
399
399
 
400
400
  // `ToPrimitive` abstract operation
401
401
  // https://tc39.es/ecma262/#sec-toprimitive
402
402
  var toPrimitive$1 = function (input, pref) {
403
403
  if (!isObject$7(input) || isSymbol$1(input)) return input;
404
- var exoticToPrim = getMethod(input, TO_PRIMITIVE);
404
+ var exoticToPrim = getMethod$1(input, TO_PRIMITIVE);
405
405
  var result;
406
406
  if (exoticToPrim) {
407
407
  if (pref === undefined) pref = 'default';
408
- result = call$5(exoticToPrim, input, pref);
408
+ result = call$9(exoticToPrim, input, pref);
409
409
  if (!isObject$7(result) || isSymbol$1(result)) return result;
410
- throw new $TypeError$6("Can't convert object to primitive value");
410
+ throw new $TypeError$7("Can't convert object to primitive value");
411
411
  }
412
412
  if (pref === undefined) pref = 'number';
413
413
  return ordinaryToPrimitive(input, pref);
@@ -435,11 +435,11 @@ var documentCreateElement$2 = function (it) {
435
435
  };
436
436
 
437
437
  var DESCRIPTORS$9 = descriptors;
438
- var fails$b = fails$g;
438
+ var fails$d = fails$i;
439
439
  var createElement = documentCreateElement$2;
440
440
 
441
441
  // Thanks to IE8 for its funny defineProperty
442
- var ie8DomDefine = !DESCRIPTORS$9 && !fails$b(function () {
442
+ var ie8DomDefine = !DESCRIPTORS$9 && !fails$d(function () {
443
443
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
444
444
  return Object.defineProperty(createElement('div'), 'a', {
445
445
  get: function () { return 7; }
@@ -447,7 +447,7 @@ var ie8DomDefine = !DESCRIPTORS$9 && !fails$b(function () {
447
447
  });
448
448
 
449
449
  var DESCRIPTORS$8 = descriptors;
450
- var call$4 = functionCall;
450
+ var call$8 = functionCall;
451
451
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
452
452
  var createPropertyDescriptor$2 = createPropertyDescriptor$3;
453
453
  var toIndexedObject$4 = toIndexedObject$5;
@@ -466,17 +466,17 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 :
466
466
  if (IE8_DOM_DEFINE$1) try {
467
467
  return $getOwnPropertyDescriptor$1(O, P);
468
468
  } catch (error) { /* empty */ }
469
- if (hasOwn$8(O, P)) return createPropertyDescriptor$2(!call$4(propertyIsEnumerableModule.f, O, P), O[P]);
469
+ if (hasOwn$8(O, P)) return createPropertyDescriptor$2(!call$8(propertyIsEnumerableModule.f, O, P), O[P]);
470
470
  };
471
471
 
472
472
  var objectDefineProperty = {};
473
473
 
474
474
  var DESCRIPTORS$7 = descriptors;
475
- var fails$a = fails$g;
475
+ var fails$c = fails$i;
476
476
 
477
477
  // V8 ~ Chrome 36-
478
478
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
479
- var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$a(function () {
479
+ var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$c(function () {
480
480
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
481
481
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
482
482
  value: 42,
@@ -487,21 +487,21 @@ var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$a(function () {
487
487
  var isObject$5 = isObject$9;
488
488
 
489
489
  var $String$3 = String;
490
- var $TypeError$5 = TypeError;
490
+ var $TypeError$6 = TypeError;
491
491
 
492
492
  // `Assert: Type(argument) is Object`
493
- var anObject$7 = function (argument) {
493
+ var anObject$9 = function (argument) {
494
494
  if (isObject$5(argument)) return argument;
495
- throw new $TypeError$5($String$3(argument) + ' is not an object');
495
+ throw new $TypeError$6($String$3(argument) + ' is not an object');
496
496
  };
497
497
 
498
498
  var DESCRIPTORS$6 = descriptors;
499
499
  var IE8_DOM_DEFINE = ie8DomDefine;
500
500
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
501
- var anObject$6 = anObject$7;
501
+ var anObject$8 = anObject$9;
502
502
  var toPropertyKey = toPropertyKey$2;
503
503
 
504
- var $TypeError$4 = TypeError;
504
+ var $TypeError$5 = TypeError;
505
505
  // eslint-disable-next-line es/no-object-defineproperty -- safe
506
506
  var $defineProperty = Object.defineProperty;
507
507
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -513,9 +513,9 @@ var WRITABLE = 'writable';
513
513
  // `Object.defineProperty` method
514
514
  // https://tc39.es/ecma262/#sec-object.defineproperty
515
515
  objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
516
- anObject$6(O);
516
+ anObject$8(O);
517
517
  P = toPropertyKey(P);
518
- anObject$6(Attributes);
518
+ anObject$8(Attributes);
519
519
  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
520
520
  var current = $getOwnPropertyDescriptor(O, P);
521
521
  if (current && current[WRITABLE]) {
@@ -528,13 +528,13 @@ objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
528
528
  }
529
529
  } return $defineProperty(O, P, Attributes);
530
530
  } : $defineProperty : function defineProperty(O, P, Attributes) {
531
- anObject$6(O);
531
+ anObject$8(O);
532
532
  P = toPropertyKey(P);
533
- anObject$6(Attributes);
533
+ anObject$8(Attributes);
534
534
  if (IE8_DOM_DEFINE) try {
535
535
  return $defineProperty(O, P, Attributes);
536
536
  } catch (error) { /* empty */ }
537
- if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$4('Accessors not supported');
537
+ if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$5('Accessors not supported');
538
538
  if ('value' in Attributes) O[P] = Attributes.value;
539
539
  return O;
540
540
  };
@@ -543,7 +543,7 @@ var DESCRIPTORS$5 = descriptors;
543
543
  var definePropertyModule$3 = objectDefineProperty;
544
544
  var createPropertyDescriptor$1 = createPropertyDescriptor$3;
545
545
 
546
- var createNonEnumerableProperty$4 = DESCRIPTORS$5 ? function (object, key, value) {
546
+ var createNonEnumerableProperty$5 = DESCRIPTORS$5 ? function (object, key, value) {
547
547
  return definePropertyModule$3.f(object, key, createPropertyDescriptor$1(1, value));
548
548
  } : function (object, key, value) {
549
549
  object[key] = value;
@@ -555,14 +555,14 @@ var makeBuiltIn$2 = {exports: {}};
555
555
  var DESCRIPTORS$4 = descriptors;
556
556
  var hasOwn$7 = hasOwnProperty_1;
557
557
 
558
- var FunctionPrototype = Function.prototype;
558
+ var FunctionPrototype$1 = Function.prototype;
559
559
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
560
560
  var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor;
561
561
 
562
- var EXISTS = hasOwn$7(FunctionPrototype, 'name');
562
+ var EXISTS = hasOwn$7(FunctionPrototype$1, 'name');
563
563
  // additional protection from minified / mangled / dropped function names
564
564
  var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
565
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype, 'name').configurable));
565
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype$1, 'name').configurable));
566
566
 
567
567
  var functionName = {
568
568
  EXISTS: EXISTS,
@@ -570,14 +570,14 @@ var functionName = {
570
570
  CONFIGURABLE: CONFIGURABLE
571
571
  };
572
572
 
573
- var uncurryThis$8 = functionUncurryThis;
574
- var isCallable$9 = isCallable$f;
573
+ var uncurryThis$b = functionUncurryThis;
574
+ var isCallable$b = isCallable$h;
575
575
  var store$1 = sharedStoreExports;
576
576
 
577
- var functionToString = uncurryThis$8(Function.toString);
577
+ var functionToString = uncurryThis$b(Function.toString);
578
578
 
579
579
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
580
- if (!isCallable$9(store$1.inspectSource)) {
580
+ if (!isCallable$b(store$1.inspectSource)) {
581
581
  store$1.inspectSource = function (it) {
582
582
  return functionToString(it);
583
583
  };
@@ -586,11 +586,11 @@ if (!isCallable$9(store$1.inspectSource)) {
586
586
  var inspectSource$1 = store$1.inspectSource;
587
587
 
588
588
  var globalThis$7 = globalThis_1;
589
- var isCallable$8 = isCallable$f;
589
+ var isCallable$a = isCallable$h;
590
590
 
591
591
  var WeakMap$1 = globalThis$7.WeakMap;
592
592
 
593
- var weakMapBasicDetection = isCallable$8(WeakMap$1) && /native code/.test(String(WeakMap$1));
593
+ var weakMapBasicDetection = isCallable$a(WeakMap$1) && /native code/.test(String(WeakMap$1));
594
594
 
595
595
  var shared$2 = shared$4;
596
596
  var uid = uid$2;
@@ -606,7 +606,7 @@ var hiddenKeys$4 = {};
606
606
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
607
607
  var globalThis$6 = globalThis_1;
608
608
  var isObject$4 = isObject$9;
609
- var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;
609
+ var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
610
610
  var hasOwn$6 = hasOwnProperty_1;
611
611
  var shared$1 = sharedStoreExports;
612
612
  var sharedKey$2 = sharedKey$3;
@@ -655,7 +655,7 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
655
655
  set = function (it, metadata) {
656
656
  if (hasOwn$6(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
657
657
  metadata.facade = it;
658
- createNonEnumerableProperty$3(it, STATE, metadata);
658
+ createNonEnumerableProperty$4(it, STATE, metadata);
659
659
  return metadata;
660
660
  };
661
661
  get = function (it) {
@@ -674,9 +674,9 @@ var internalState = {
674
674
  getterFor: getterFor
675
675
  };
676
676
 
677
- var uncurryThis$7 = functionUncurryThis;
678
- var fails$9 = fails$g;
679
- var isCallable$7 = isCallable$f;
677
+ var uncurryThis$a = functionUncurryThis;
678
+ var fails$b = fails$i;
679
+ var isCallable$9 = isCallable$h;
680
680
  var hasOwn$5 = hasOwnProperty_1;
681
681
  var DESCRIPTORS$3 = descriptors;
682
682
  var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
@@ -688,19 +688,19 @@ var getInternalState$2 = InternalStateModule$1.get;
688
688
  var $String$2 = String;
689
689
  // eslint-disable-next-line es/no-object-defineproperty -- safe
690
690
  var defineProperty$3 = Object.defineProperty;
691
- var stringSlice$2 = uncurryThis$7(''.slice);
692
- var replace$1 = uncurryThis$7(''.replace);
693
- var join = uncurryThis$7([].join);
691
+ var stringSlice$5 = uncurryThis$a(''.slice);
692
+ var replace$2 = uncurryThis$a(''.replace);
693
+ var join = uncurryThis$a([].join);
694
694
 
695
- var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$9(function () {
695
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$3 && !fails$b(function () {
696
696
  return defineProperty$3(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
697
697
  });
698
698
 
699
699
  var TEMPLATE = String(String).split('String');
700
700
 
701
701
  var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
702
- if (stringSlice$2($String$2(name), 0, 7) === 'Symbol(') {
703
- name = '[' + replace$1($String$2(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
702
+ if (stringSlice$5($String$2(name), 0, 7) === 'Symbol(') {
703
+ name = '[' + replace$2($String$2(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
704
704
  }
705
705
  if (options && options.getter) name = 'get ' + name;
706
706
  if (options && options.setter) name = 'set ' + name;
@@ -726,21 +726,21 @@ var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
726
726
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
727
727
  // eslint-disable-next-line no-extend-native -- required
728
728
  Function.prototype.toString = makeBuiltIn$1(function toString() {
729
- return isCallable$7(this) && getInternalState$2(this).source || inspectSource(this);
729
+ return isCallable$9(this) && getInternalState$2(this).source || inspectSource(this);
730
730
  }, 'toString');
731
731
 
732
732
  var makeBuiltInExports = makeBuiltIn$2.exports;
733
733
 
734
- var isCallable$6 = isCallable$f;
734
+ var isCallable$8 = isCallable$h;
735
735
  var definePropertyModule$2 = objectDefineProperty;
736
736
  var makeBuiltIn = makeBuiltInExports;
737
737
  var defineGlobalProperty$1 = defineGlobalProperty$3;
738
738
 
739
- var defineBuiltIn$4 = function (O, key, value, options) {
739
+ var defineBuiltIn$5 = function (O, key, value, options) {
740
740
  if (!options) options = {};
741
741
  var simple = options.enumerable;
742
742
  var name = options.name !== undefined ? options.name : key;
743
- if (isCallable$6(value)) makeBuiltIn(value, name, options);
743
+ if (isCallable$8(value)) makeBuiltIn(value, name, options);
744
744
  if (options.global) {
745
745
  if (simple) O[key] = value;
746
746
  else defineGlobalProperty$1(key, value);
@@ -762,56 +762,56 @@ var defineBuiltIn$4 = function (O, key, value, options) {
762
762
  var objectGetOwnPropertyNames = {};
763
763
 
764
764
  var ceil = Math.ceil;
765
- var floor = Math.floor;
765
+ var floor$1 = Math.floor;
766
766
 
767
767
  // `Math.trunc` method
768
768
  // https://tc39.es/ecma262/#sec-math.trunc
769
769
  // eslint-disable-next-line es/no-math-trunc -- safe
770
770
  var mathTrunc = Math.trunc || function trunc(x) {
771
771
  var n = +x;
772
- return (n > 0 ? floor : ceil)(n);
772
+ return (n > 0 ? floor$1 : ceil)(n);
773
773
  };
774
774
 
775
775
  var trunc = mathTrunc;
776
776
 
777
777
  // `ToIntegerOrInfinity` abstract operation
778
778
  // https://tc39.es/ecma262/#sec-tointegerorinfinity
779
- var toIntegerOrInfinity$2 = function (argument) {
779
+ var toIntegerOrInfinity$4 = function (argument) {
780
780
  var number = +argument;
781
781
  // eslint-disable-next-line no-self-compare -- NaN check
782
782
  return number !== number || number === 0 ? 0 : trunc(number);
783
783
  };
784
784
 
785
- var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
785
+ var toIntegerOrInfinity$3 = toIntegerOrInfinity$4;
786
786
 
787
- var max = Math.max;
788
- var min$2 = Math.min;
787
+ var max$1 = Math.max;
788
+ var min$3 = Math.min;
789
789
 
790
790
  // Helper for a popular repeating case of the spec:
791
791
  // Let integer be ? ToInteger(index).
792
792
  // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
793
793
  var toAbsoluteIndex$1 = function (index, length) {
794
- var integer = toIntegerOrInfinity$1(index);
795
- return integer < 0 ? max(integer + length, 0) : min$2(integer, length);
794
+ var integer = toIntegerOrInfinity$3(index);
795
+ return integer < 0 ? max$1(integer + length, 0) : min$3(integer, length);
796
796
  };
797
797
 
798
- var toIntegerOrInfinity = toIntegerOrInfinity$2;
798
+ var toIntegerOrInfinity$2 = toIntegerOrInfinity$4;
799
799
 
800
- var min$1 = Math.min;
800
+ var min$2 = Math.min;
801
801
 
802
802
  // `ToLength` abstract operation
803
803
  // https://tc39.es/ecma262/#sec-tolength
804
- var toLength$2 = function (argument) {
805
- var len = toIntegerOrInfinity(argument);
806
- return len > 0 ? min$1(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
804
+ var toLength$3 = function (argument) {
805
+ var len = toIntegerOrInfinity$2(argument);
806
+ return len > 0 ? min$2(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
807
807
  };
808
808
 
809
- var toLength$1 = toLength$2;
809
+ var toLength$2 = toLength$3;
810
810
 
811
811
  // `LengthOfArrayLike` abstract operation
812
812
  // https://tc39.es/ecma262/#sec-lengthofarraylike
813
813
  var lengthOfArrayLike$2 = function (obj) {
814
- return toLength$1(obj.length);
814
+ return toLength$2(obj.length);
815
815
  };
816
816
 
817
817
  var toIndexedObject$3 = toIndexedObject$5;
@@ -819,7 +819,7 @@ var toAbsoluteIndex = toAbsoluteIndex$1;
819
819
  var lengthOfArrayLike$1 = lengthOfArrayLike$2;
820
820
 
821
821
  // `Array.prototype.{ indexOf, includes }` methods implementation
822
- var createMethod = function (IS_INCLUDES) {
822
+ var createMethod$1 = function (IS_INCLUDES) {
823
823
  return function ($this, el, fromIndex) {
824
824
  var O = toIndexedObject$3($this);
825
825
  var length = lengthOfArrayLike$1(O);
@@ -842,29 +842,29 @@ var createMethod = function (IS_INCLUDES) {
842
842
  var arrayIncludes = {
843
843
  // `Array.prototype.includes` method
844
844
  // https://tc39.es/ecma262/#sec-array.prototype.includes
845
- includes: createMethod(true),
845
+ includes: createMethod$1(true),
846
846
  // `Array.prototype.indexOf` method
847
847
  // https://tc39.es/ecma262/#sec-array.prototype.indexof
848
- indexOf: createMethod(false)
848
+ indexOf: createMethod$1(false)
849
849
  };
850
850
 
851
- var uncurryThis$6 = functionUncurryThis;
851
+ var uncurryThis$9 = functionUncurryThis;
852
852
  var hasOwn$4 = hasOwnProperty_1;
853
853
  var toIndexedObject$2 = toIndexedObject$5;
854
854
  var indexOf$1 = arrayIncludes.indexOf;
855
855
  var hiddenKeys$2 = hiddenKeys$4;
856
856
 
857
- var push = uncurryThis$6([].push);
857
+ var push$1 = uncurryThis$9([].push);
858
858
 
859
859
  var objectKeysInternal = function (object, names) {
860
860
  var O = toIndexedObject$2(object);
861
861
  var i = 0;
862
862
  var result = [];
863
863
  var key;
864
- for (key in O) !hasOwn$4(hiddenKeys$2, key) && hasOwn$4(O, key) && push(result, key);
864
+ for (key in O) !hasOwn$4(hiddenKeys$2, key) && hasOwn$4(O, key) && push$1(result, key);
865
865
  // Don't enum bug & hidden keys
866
866
  while (names.length > i) if (hasOwn$4(O, key = names[i++])) {
867
- ~indexOf$1(result, key) || push(result, key);
867
+ ~indexOf$1(result, key) || push$1(result, key);
868
868
  }
869
869
  return result;
870
870
  };
@@ -898,18 +898,18 @@ var objectGetOwnPropertySymbols = {};
898
898
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
899
899
 
900
900
  var getBuiltIn$1 = getBuiltIn$3;
901
- var uncurryThis$5 = functionUncurryThis;
901
+ var uncurryThis$8 = functionUncurryThis;
902
902
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
903
903
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
904
- var anObject$5 = anObject$7;
904
+ var anObject$7 = anObject$9;
905
905
 
906
- var concat = uncurryThis$5([].concat);
906
+ var concat$1 = uncurryThis$8([].concat);
907
907
 
908
908
  // all object keys, includes non-enumerable and symbols
909
909
  var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
910
- var keys = getOwnPropertyNamesModule.f(anObject$5(it));
910
+ var keys = getOwnPropertyNamesModule.f(anObject$7(it));
911
911
  var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
912
- return getOwnPropertySymbols ? concat(keys, getOwnPropertySymbols(it)) : keys;
912
+ return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
913
913
  };
914
914
 
915
915
  var hasOwn$3 = hasOwnProperty_1;
@@ -929,8 +929,8 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
929
929
  }
930
930
  };
931
931
 
932
- var fails$8 = fails$g;
933
- var isCallable$5 = isCallable$f;
932
+ var fails$a = fails$i;
933
+ var isCallable$7 = isCallable$h;
934
934
 
935
935
  var replacement = /#|\.prototype\./;
936
936
 
@@ -938,7 +938,7 @@ var isForced$1 = function (feature, detection) {
938
938
  var value = data[normalize(feature)];
939
939
  return value === POLYFILL ? true
940
940
  : value === NATIVE ? false
941
- : isCallable$5(detection) ? fails$8(detection)
941
+ : isCallable$7(detection) ? fails$a(detection)
942
942
  : !!detection;
943
943
  };
944
944
 
@@ -954,8 +954,8 @@ var isForced_1 = isForced$1;
954
954
 
955
955
  var globalThis$5 = globalThis_1;
956
956
  var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f;
957
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;
958
- var defineBuiltIn$3 = defineBuiltIn$4;
957
+ var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
958
+ var defineBuiltIn$4 = defineBuiltIn$5;
959
959
  var defineGlobalProperty = defineGlobalProperty$3;
960
960
  var copyConstructorProperties = copyConstructorProperties$1;
961
961
  var isForced = isForced_1;
@@ -1001,9 +1001,9 @@ var _export = function (options, source) {
1001
1001
  }
1002
1002
  // add a flag to not completely full polyfills
1003
1003
  if (options.sham || (targetProperty && targetProperty.sham)) {
1004
- createNonEnumerableProperty$2(sourceProperty, 'sham', true);
1004
+ createNonEnumerableProperty$3(sourceProperty, 'sham', true);
1005
1005
  }
1006
- defineBuiltIn$3(target, key, sourceProperty, options);
1006
+ defineBuiltIn$4(target, key, sourceProperty, options);
1007
1007
  }
1008
1008
  };
1009
1009
 
@@ -1022,7 +1022,7 @@ var objectKeys$1 = Object.keys || function keys(O) {
1022
1022
  var DESCRIPTORS$2 = descriptors;
1023
1023
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1024
1024
  var definePropertyModule = objectDefineProperty;
1025
- var anObject$4 = anObject$7;
1025
+ var anObject$6 = anObject$9;
1026
1026
  var toIndexedObject$1 = toIndexedObject$5;
1027
1027
  var objectKeys = objectKeys$1;
1028
1028
 
@@ -1030,7 +1030,7 @@ var objectKeys = objectKeys$1;
1030
1030
  // https://tc39.es/ecma262/#sec-object.defineproperties
1031
1031
  // eslint-disable-next-line es/no-object-defineproperties -- safe
1032
1032
  objectDefineProperties.f = DESCRIPTORS$2 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1033
- anObject$4(O);
1033
+ anObject$6(O);
1034
1034
  var props = toIndexedObject$1(Properties);
1035
1035
  var keys = objectKeys(Properties);
1036
1036
  var length = keys.length;
@@ -1045,7 +1045,7 @@ var getBuiltIn = getBuiltIn$3;
1045
1045
  var html$1 = getBuiltIn('document', 'documentElement');
1046
1046
 
1047
1047
  /* global ActiveXObject -- old IE, WSH */
1048
- var anObject$3 = anObject$7;
1048
+ var anObject$5 = anObject$9;
1049
1049
  var definePropertiesModule = objectDefineProperties;
1050
1050
  var enumBugKeys = enumBugKeys$3;
1051
1051
  var hiddenKeys = hiddenKeys$4;
@@ -1120,7 +1120,7 @@ hiddenKeys[IE_PROTO$1] = true;
1120
1120
  var objectCreate = Object.create || function create(O, Properties) {
1121
1121
  var result;
1122
1122
  if (O !== null) {
1123
- EmptyConstructor[PROTOTYPE] = anObject$3(O);
1123
+ EmptyConstructor[PROTOTYPE] = anObject$5(O);
1124
1124
  result = new EmptyConstructor();
1125
1125
  EmptyConstructor[PROTOTYPE] = null;
1126
1126
  // add "__proto__" for Object.getPrototypeOf polyfill
@@ -1129,11 +1129,11 @@ var objectCreate = Object.create || function create(O, Properties) {
1129
1129
  return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
1130
1130
  };
1131
1131
 
1132
- var wellKnownSymbol$8 = wellKnownSymbol$a;
1132
+ var wellKnownSymbol$a = wellKnownSymbol$c;
1133
1133
  var create$2 = objectCreate;
1134
1134
  var defineProperty$2 = objectDefineProperty.f;
1135
1135
 
1136
- var UNSCOPABLES = wellKnownSymbol$8('unscopables');
1136
+ var UNSCOPABLES = wellKnownSymbol$a('unscopables');
1137
1137
  var ArrayPrototype = Array.prototype;
1138
1138
 
1139
1139
  // Array.prototype[@@unscopables]
@@ -1152,11 +1152,11 @@ var addToUnscopables$2 = function (key) {
1152
1152
 
1153
1153
  var $$6 = _export;
1154
1154
  var $includes = arrayIncludes.includes;
1155
- var fails$7 = fails$g;
1155
+ var fails$9 = fails$i;
1156
1156
  var addToUnscopables$1 = addToUnscopables$2;
1157
1157
 
1158
1158
  // FF99+ bug
1159
- var BROKEN_ON_SPARSE = fails$7(function () {
1159
+ var BROKEN_ON_SPARSE = fails$9(function () {
1160
1160
  // eslint-disable-next-line es/no-array-prototype-includes -- detection
1161
1161
  return !Array(1).includes();
1162
1162
  });
@@ -1174,9 +1174,9 @@ addToUnscopables$1('includes');
1174
1174
 
1175
1175
  var iterators = {};
1176
1176
 
1177
- var fails$6 = fails$g;
1177
+ var fails$8 = fails$i;
1178
1178
 
1179
- var correctPrototypeGetter = !fails$6(function () {
1179
+ var correctPrototypeGetter = !fails$8(function () {
1180
1180
  function F() { /* empty */ }
1181
1181
  F.prototype.constructor = null;
1182
1182
  // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
@@ -1184,8 +1184,8 @@ var correctPrototypeGetter = !fails$6(function () {
1184
1184
  });
1185
1185
 
1186
1186
  var hasOwn$2 = hasOwnProperty_1;
1187
- var isCallable$4 = isCallable$f;
1188
- var toObject$1 = toObject$3;
1187
+ var isCallable$6 = isCallable$h;
1188
+ var toObject$2 = toObject$4;
1189
1189
  var sharedKey = sharedKey$3;
1190
1190
  var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1191
1191
 
@@ -1197,22 +1197,22 @@ var ObjectPrototype = $Object$1.prototype;
1197
1197
  // https://tc39.es/ecma262/#sec-object.getprototypeof
1198
1198
  // eslint-disable-next-line es/no-object-getprototypeof -- safe
1199
1199
  var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
1200
- var object = toObject$1(O);
1200
+ var object = toObject$2(O);
1201
1201
  if (hasOwn$2(object, IE_PROTO)) return object[IE_PROTO];
1202
1202
  var constructor = object.constructor;
1203
- if (isCallable$4(constructor) && object instanceof constructor) {
1203
+ if (isCallable$6(constructor) && object instanceof constructor) {
1204
1204
  return constructor.prototype;
1205
1205
  } return object instanceof $Object$1 ? ObjectPrototype : null;
1206
1206
  };
1207
1207
 
1208
- var fails$5 = fails$g;
1209
- var isCallable$3 = isCallable$f;
1208
+ var fails$7 = fails$i;
1209
+ var isCallable$5 = isCallable$h;
1210
1210
  var isObject$3 = isObject$9;
1211
1211
  var getPrototypeOf$1 = objectGetPrototypeOf;
1212
- var defineBuiltIn$2 = defineBuiltIn$4;
1213
- var wellKnownSymbol$7 = wellKnownSymbol$a;
1212
+ var defineBuiltIn$3 = defineBuiltIn$5;
1213
+ var wellKnownSymbol$9 = wellKnownSymbol$c;
1214
1214
 
1215
- var ITERATOR$2 = wellKnownSymbol$7('iterator');
1215
+ var ITERATOR$2 = wellKnownSymbol$9('iterator');
1216
1216
  var BUGGY_SAFARI_ITERATORS$1 = false;
1217
1217
 
1218
1218
  // `%IteratorPrototype%` object
@@ -1230,7 +1230,7 @@ if ([].keys) {
1230
1230
  }
1231
1231
  }
1232
1232
 
1233
- var NEW_ITERATOR_PROTOTYPE = !isObject$3(IteratorPrototype$2) || fails$5(function () {
1233
+ var NEW_ITERATOR_PROTOTYPE = !isObject$3(IteratorPrototype$2) || fails$7(function () {
1234
1234
  var test = {};
1235
1235
  // FF44- legacy iterators case
1236
1236
  return IteratorPrototype$2[ITERATOR$2].call(test) !== test;
@@ -1240,8 +1240,8 @@ if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$2 = {};
1240
1240
 
1241
1241
  // `%IteratorPrototype%[@@iterator]()` method
1242
1242
  // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
1243
- if (!isCallable$3(IteratorPrototype$2[ITERATOR$2])) {
1244
- defineBuiltIn$2(IteratorPrototype$2, ITERATOR$2, function () {
1243
+ if (!isCallable$5(IteratorPrototype$2[ITERATOR$2])) {
1244
+ defineBuiltIn$3(IteratorPrototype$2, ITERATOR$2, function () {
1245
1245
  return this;
1246
1246
  });
1247
1247
  }
@@ -1253,9 +1253,9 @@ var iteratorsCore = {
1253
1253
 
1254
1254
  var defineProperty$1 = objectDefineProperty.f;
1255
1255
  var hasOwn$1 = hasOwnProperty_1;
1256
- var wellKnownSymbol$6 = wellKnownSymbol$a;
1256
+ var wellKnownSymbol$8 = wellKnownSymbol$c;
1257
1257
 
1258
- var TO_STRING_TAG$2 = wellKnownSymbol$6('toStringTag');
1258
+ var TO_STRING_TAG$2 = wellKnownSymbol$8('toStringTag');
1259
1259
 
1260
1260
  var setToStringTag$3 = function (target, TAG, STATIC) {
1261
1261
  if (target && !STATIC) target = target.prototype;
@@ -1280,13 +1280,13 @@ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUME
1280
1280
  return IteratorConstructor;
1281
1281
  };
1282
1282
 
1283
- var uncurryThis$4 = functionUncurryThis;
1283
+ var uncurryThis$7 = functionUncurryThis;
1284
1284
  var aCallable = aCallable$2;
1285
1285
 
1286
1286
  var functionUncurryThisAccessor = function (object, key, method) {
1287
1287
  try {
1288
1288
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1289
- return uncurryThis$4(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
1289
+ return uncurryThis$7(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
1290
1290
  } catch (error) { /* empty */ }
1291
1291
  };
1292
1292
 
@@ -1299,17 +1299,17 @@ var isPossiblePrototype$1 = function (argument) {
1299
1299
  var isPossiblePrototype = isPossiblePrototype$1;
1300
1300
 
1301
1301
  var $String$1 = String;
1302
- var $TypeError$3 = TypeError;
1302
+ var $TypeError$4 = TypeError;
1303
1303
 
1304
1304
  var aPossiblePrototype$1 = function (argument) {
1305
1305
  if (isPossiblePrototype(argument)) return argument;
1306
- throw new $TypeError$3("Can't set " + $String$1(argument) + ' as a prototype');
1306
+ throw new $TypeError$4("Can't set " + $String$1(argument) + ' as a prototype');
1307
1307
  };
1308
1308
 
1309
1309
  /* eslint-disable no-proto -- safe */
1310
1310
  var uncurryThisAccessor = functionUncurryThisAccessor;
1311
1311
  var isObject$1 = isObject$9;
1312
- var requireObjectCoercible$2 = requireObjectCoercible$5;
1312
+ var requireObjectCoercible$4 = requireObjectCoercible$7;
1313
1313
  var aPossiblePrototype = aPossiblePrototype$1;
1314
1314
 
1315
1315
  // `Object.setPrototypeOf` method
@@ -1326,7 +1326,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1326
1326
  CORRECT_SETTER = test instanceof Array;
1327
1327
  } catch (error) { /* empty */ }
1328
1328
  return function setPrototypeOf(O, proto) {
1329
- requireObjectCoercible$2(O);
1329
+ requireObjectCoercible$4(O);
1330
1330
  aPossiblePrototype(proto);
1331
1331
  if (!isObject$1(O)) return O;
1332
1332
  if (CORRECT_SETTER) setter(O, proto);
@@ -1336,16 +1336,16 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1336
1336
  }() : undefined);
1337
1337
 
1338
1338
  var $$5 = _export;
1339
- var call$3 = functionCall;
1339
+ var call$7 = functionCall;
1340
1340
  var FunctionName = functionName;
1341
- var isCallable$2 = isCallable$f;
1341
+ var isCallable$4 = isCallable$h;
1342
1342
  var createIteratorConstructor = iteratorCreateConstructor;
1343
1343
  var getPrototypeOf = objectGetPrototypeOf;
1344
1344
  var setPrototypeOf = objectSetPrototypeOf;
1345
1345
  var setToStringTag$1 = setToStringTag$3;
1346
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$4;
1347
- var defineBuiltIn$1 = defineBuiltIn$4;
1348
- var wellKnownSymbol$5 = wellKnownSymbol$a;
1346
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$5;
1347
+ var defineBuiltIn$2 = defineBuiltIn$5;
1348
+ var wellKnownSymbol$7 = wellKnownSymbol$c;
1349
1349
  var Iterators$1 = iterators;
1350
1350
  var IteratorsCore = iteratorsCore;
1351
1351
 
@@ -1353,7 +1353,7 @@ var PROPER_FUNCTION_NAME$1 = FunctionName.PROPER;
1353
1353
  var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
1354
1354
  var IteratorPrototype = IteratorsCore.IteratorPrototype;
1355
1355
  var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
1356
- var ITERATOR$1 = wellKnownSymbol$5('iterator');
1356
+ var ITERATOR$1 = wellKnownSymbol$7('iterator');
1357
1357
  var KEYS = 'keys';
1358
1358
  var VALUES = 'values';
1359
1359
  var ENTRIES = 'entries';
@@ -1393,8 +1393,8 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1393
1393
  if (getPrototypeOf(CurrentIteratorPrototype) !== IteratorPrototype) {
1394
1394
  if (setPrototypeOf) {
1395
1395
  setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
1396
- } else if (!isCallable$2(CurrentIteratorPrototype[ITERATOR$1])) {
1397
- defineBuiltIn$1(CurrentIteratorPrototype, ITERATOR$1, returnThis);
1396
+ } else if (!isCallable$4(CurrentIteratorPrototype[ITERATOR$1])) {
1397
+ defineBuiltIn$2(CurrentIteratorPrototype, ITERATOR$1, returnThis);
1398
1398
  }
1399
1399
  }
1400
1400
  // Set @@toStringTag to native iterators
@@ -1405,10 +1405,10 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1405
1405
  // fix Array.prototype.{ values, @@iterator }.name in V8 / FF
1406
1406
  if (PROPER_FUNCTION_NAME$1 && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
1407
1407
  if (CONFIGURABLE_FUNCTION_NAME) {
1408
- createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
1408
+ createNonEnumerableProperty$2(IterablePrototype, 'name', VALUES);
1409
1409
  } else {
1410
1410
  INCORRECT_VALUES_NAME = true;
1411
- defaultIterator = function values() { return call$3(nativeIterator, this); };
1411
+ defaultIterator = function values() { return call$7(nativeIterator, this); };
1412
1412
  }
1413
1413
  }
1414
1414
 
@@ -1421,14 +1421,14 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1421
1421
  };
1422
1422
  if (FORCED) for (KEY in methods) {
1423
1423
  if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1424
- defineBuiltIn$1(IterablePrototype, KEY, methods[KEY]);
1424
+ defineBuiltIn$2(IterablePrototype, KEY, methods[KEY]);
1425
1425
  }
1426
1426
  } else $$5({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1427
1427
  }
1428
1428
 
1429
1429
  // define iterator
1430
1430
  if (IterablePrototype[ITERATOR$1] !== defaultIterator) {
1431
- defineBuiltIn$1(IterablePrototype, ITERATOR$1, defaultIterator, { name: DEFAULT });
1431
+ defineBuiltIn$2(IterablePrototype, ITERATOR$1, defaultIterator, { name: DEFAULT });
1432
1432
  }
1433
1433
  Iterators$1[NAME] = defaultIterator;
1434
1434
 
@@ -1502,9 +1502,9 @@ if (DESCRIPTORS$1 && values.name !== 'values') try {
1502
1502
  defineProperty(values, 'name', { value: 'values' });
1503
1503
  } catch (error) { /* empty */ }
1504
1504
 
1505
- var wellKnownSymbol$4 = wellKnownSymbol$a;
1505
+ var wellKnownSymbol$6 = wellKnownSymbol$c;
1506
1506
 
1507
- var TO_STRING_TAG$1 = wellKnownSymbol$4('toStringTag');
1507
+ var TO_STRING_TAG$1 = wellKnownSymbol$6('toStringTag');
1508
1508
  var test = {};
1509
1509
 
1510
1510
  test[TO_STRING_TAG$1] = 'z';
@@ -1512,11 +1512,11 @@ test[TO_STRING_TAG$1] = 'z';
1512
1512
  var toStringTagSupport = String(test) === '[object z]';
1513
1513
 
1514
1514
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
1515
- var isCallable$1 = isCallable$f;
1515
+ var isCallable$3 = isCallable$h;
1516
1516
  var classofRaw$1 = classofRaw$2;
1517
- var wellKnownSymbol$3 = wellKnownSymbol$a;
1517
+ var wellKnownSymbol$5 = wellKnownSymbol$c;
1518
1518
 
1519
- var TO_STRING_TAG = wellKnownSymbol$3('toStringTag');
1519
+ var TO_STRING_TAG = wellKnownSymbol$5('toStringTag');
1520
1520
  var $Object = Object;
1521
1521
 
1522
1522
  // ES3 wrong here
@@ -1530,7 +1530,7 @@ var tryGet = function (it, key) {
1530
1530
  };
1531
1531
 
1532
1532
  // getting tag from ES6+ `Object.prototype.toString`
1533
- var classof$3 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
1533
+ var classof$4 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
1534
1534
  var O, tag, result;
1535
1535
  return it === undefined ? 'Undefined' : it === null ? 'Null'
1536
1536
  // @@toStringTag case
@@ -1538,24 +1538,24 @@ var classof$3 = TO_STRING_TAG_SUPPORT ? classofRaw$1 : function (it) {
1538
1538
  // builtinTag case
1539
1539
  : CORRECT_ARGUMENTS ? classofRaw$1(O)
1540
1540
  // ES3 arguments fallback
1541
- : (result = classofRaw$1(O)) === 'Object' && isCallable$1(O.callee) ? 'Arguments' : result;
1541
+ : (result = classofRaw$1(O)) === 'Object' && isCallable$3(O.callee) ? 'Arguments' : result;
1542
1542
  };
1543
1543
 
1544
- var classof$2 = classof$3;
1544
+ var classof$3 = classof$4;
1545
1545
 
1546
1546
  var $String = String;
1547
1547
 
1548
- var toString$4 = function (argument) {
1549
- if (classof$2(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
1548
+ var toString$6 = function (argument) {
1549
+ if (classof$3(argument) === 'Symbol') throw new TypeError('Cannot convert a Symbol value to a string');
1550
1550
  return $String(argument);
1551
1551
  };
1552
1552
 
1553
- var anObject$2 = anObject$7;
1553
+ var anObject$4 = anObject$9;
1554
1554
 
1555
1555
  // `RegExp.prototype.flags` getter implementation
1556
1556
  // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
1557
1557
  var regexpFlags$1 = function () {
1558
- var that = anObject$2(this);
1558
+ var that = anObject$4(this);
1559
1559
  var result = '';
1560
1560
  if (that.hasIndices) result += 'd';
1561
1561
  if (that.global) result += 'g';
@@ -1568,39 +1568,39 @@ var regexpFlags$1 = function () {
1568
1568
  return result;
1569
1569
  };
1570
1570
 
1571
- var call$2 = functionCall;
1571
+ var call$6 = functionCall;
1572
1572
  var hasOwn = hasOwnProperty_1;
1573
1573
  var isPrototypeOf = objectIsPrototypeOf;
1574
1574
  var regExpFlags = regexpFlags$1;
1575
1575
 
1576
- var RegExpPrototype$1 = RegExp.prototype;
1576
+ var RegExpPrototype$2 = RegExp.prototype;
1577
1577
 
1578
1578
  var regexpGetFlags = function (R) {
1579
1579
  var flags = R.flags;
1580
- return flags === undefined && !('flags' in RegExpPrototype$1) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype$1, R)
1581
- ? call$2(regExpFlags, R) : flags;
1580
+ return flags === undefined && !('flags' in RegExpPrototype$2) && !hasOwn(R, 'flags') && isPrototypeOf(RegExpPrototype$2, R)
1581
+ ? call$6(regExpFlags, R) : flags;
1582
1582
  };
1583
1583
 
1584
1584
  var PROPER_FUNCTION_NAME = functionName.PROPER;
1585
- var defineBuiltIn = defineBuiltIn$4;
1586
- var anObject$1 = anObject$7;
1587
- var $toString = toString$4;
1588
- var fails$4 = fails$g;
1585
+ var defineBuiltIn$1 = defineBuiltIn$5;
1586
+ var anObject$3 = anObject$9;
1587
+ var $toString = toString$6;
1588
+ var fails$6 = fails$i;
1589
1589
  var getRegExpFlags = regexpGetFlags;
1590
1590
 
1591
1591
  var TO_STRING = 'toString';
1592
- var RegExpPrototype = RegExp.prototype;
1593
- var nativeToString = RegExpPrototype[TO_STRING];
1592
+ var RegExpPrototype$1 = RegExp.prototype;
1593
+ var nativeToString = RegExpPrototype$1[TO_STRING];
1594
1594
 
1595
- var NOT_GENERIC = fails$4(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
1595
+ var NOT_GENERIC = fails$6(function () { return nativeToString.call({ source: 'a', flags: 'b' }) !== '/a/b'; });
1596
1596
  // FF44- RegExp#toString has a wrong name
1597
1597
  var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
1598
1598
 
1599
1599
  // `RegExp.prototype.toString` method
1600
1600
  // https://tc39.es/ecma262/#sec-regexp.prototype.tostring
1601
1601
  if (NOT_GENERIC || INCORRECT_NAME) {
1602
- defineBuiltIn(RegExpPrototype, TO_STRING, function toString() {
1603
- var R = anObject$1(this);
1602
+ defineBuiltIn$1(RegExpPrototype$1, TO_STRING, function toString() {
1603
+ var R = anObject$3(this);
1604
1604
  var pattern = $toString(R.source);
1605
1605
  var flags = $toString(getRegExpFlags(R));
1606
1606
  return '/' + pattern + '/' + flags;
@@ -1608,31 +1608,31 @@ if (NOT_GENERIC || INCORRECT_NAME) {
1608
1608
  }
1609
1609
 
1610
1610
  var isObject = isObject$9;
1611
- var classof$1 = classofRaw$2;
1612
- var wellKnownSymbol$2 = wellKnownSymbol$a;
1611
+ var classof$2 = classofRaw$2;
1612
+ var wellKnownSymbol$4 = wellKnownSymbol$c;
1613
1613
 
1614
- var MATCH$1 = wellKnownSymbol$2('match');
1614
+ var MATCH$1 = wellKnownSymbol$4('match');
1615
1615
 
1616
1616
  // `IsRegExp` abstract operation
1617
1617
  // https://tc39.es/ecma262/#sec-isregexp
1618
1618
  var isRegexp = function (it) {
1619
1619
  var isRegExp;
1620
- return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$1(it) === 'RegExp');
1620
+ return isObject(it) && ((isRegExp = it[MATCH$1]) !== undefined ? !!isRegExp : classof$2(it) === 'RegExp');
1621
1621
  };
1622
1622
 
1623
1623
  var isRegExp = isRegexp;
1624
1624
 
1625
- var $TypeError$2 = TypeError;
1625
+ var $TypeError$3 = TypeError;
1626
1626
 
1627
1627
  var notARegexp = function (it) {
1628
1628
  if (isRegExp(it)) {
1629
- throw new $TypeError$2("The method doesn't accept regular expressions");
1629
+ throw new $TypeError$3("The method doesn't accept regular expressions");
1630
1630
  } return it;
1631
1631
  };
1632
1632
 
1633
- var wellKnownSymbol$1 = wellKnownSymbol$a;
1633
+ var wellKnownSymbol$3 = wellKnownSymbol$c;
1634
1634
 
1635
- var MATCH = wellKnownSymbol$1('match');
1635
+ var MATCH = wellKnownSymbol$3('match');
1636
1636
 
1637
1637
  var correctIsRegexpLogic = function (METHOD_NAME) {
1638
1638
  var regexp = /./;
@@ -1647,21 +1647,21 @@ var correctIsRegexpLogic = function (METHOD_NAME) {
1647
1647
  };
1648
1648
 
1649
1649
  var $$4 = _export;
1650
- var uncurryThis$3 = functionUncurryThis;
1650
+ var uncurryThis$6 = functionUncurryThis;
1651
1651
  var notARegExp$1 = notARegexp;
1652
- var requireObjectCoercible$1 = requireObjectCoercible$5;
1653
- var toString$3 = toString$4;
1652
+ var requireObjectCoercible$3 = requireObjectCoercible$7;
1653
+ var toString$5 = toString$6;
1654
1654
  var correctIsRegExpLogic$1 = correctIsRegexpLogic;
1655
1655
 
1656
- var stringIndexOf = uncurryThis$3(''.indexOf);
1656
+ var stringIndexOf$1 = uncurryThis$6(''.indexOf);
1657
1657
 
1658
1658
  // `String.prototype.includes` method
1659
1659
  // https://tc39.es/ecma262/#sec-string.prototype.includes
1660
1660
  $$4({ target: 'String', proto: true, forced: !correctIsRegExpLogic$1('includes') }, {
1661
1661
  includes: function includes(searchString /* , position = 0 */) {
1662
- return !!~stringIndexOf(
1663
- toString$3(requireObjectCoercible$1(this)),
1664
- toString$3(notARegExp$1(searchString)),
1662
+ return !!~stringIndexOf$1(
1663
+ toString$5(requireObjectCoercible$3(this)),
1664
+ toString$5(notARegExp$1(searchString)),
1665
1665
  arguments.length > 1 ? arguments[1] : undefined
1666
1666
  );
1667
1667
  }
@@ -1715,18 +1715,18 @@ var globalThis$4 = globalThis_1;
1715
1715
  var DOMIterables = domIterables;
1716
1716
  var DOMTokenListPrototype = domTokenListPrototype;
1717
1717
  var ArrayIteratorMethods = es_array_iterator;
1718
- var createNonEnumerableProperty = createNonEnumerableProperty$4;
1718
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$5;
1719
1719
  var setToStringTag = setToStringTag$3;
1720
- var wellKnownSymbol = wellKnownSymbol$a;
1720
+ var wellKnownSymbol$2 = wellKnownSymbol$c;
1721
1721
 
1722
- var ITERATOR = wellKnownSymbol('iterator');
1722
+ var ITERATOR = wellKnownSymbol$2('iterator');
1723
1723
  var ArrayValues = ArrayIteratorMethods.values;
1724
1724
 
1725
1725
  var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
1726
1726
  if (CollectionPrototype) {
1727
1727
  // some Chrome versions have non-configurable methods on DOMTokenList
1728
1728
  if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
1729
- createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);
1729
+ createNonEnumerableProperty$1(CollectionPrototype, ITERATOR, ArrayValues);
1730
1730
  } catch (error) {
1731
1731
  CollectionPrototype[ITERATOR] = ArrayValues;
1732
1732
  }
@@ -1734,7 +1734,7 @@ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
1734
1734
  if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
1735
1735
  // some Chrome versions have non-configurable methods on DOMTokenList
1736
1736
  if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
1737
- createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
1737
+ createNonEnumerableProperty$1(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
1738
1738
  } catch (error) {
1739
1739
  CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
1740
1740
  }
@@ -2061,172 +2061,13 @@ function isTextSelected(inputElement) {
2061
2061
  }
2062
2062
  }
2063
2063
 
2064
- var classofRaw = classofRaw$2;
2065
- var uncurryThis$2 = functionUncurryThis;
2066
-
2067
- var functionUncurryThisClause = function (fn) {
2068
- // Nashorn bug:
2069
- // https://github.com/zloirock/core-js/issues/1128
2070
- // https://github.com/zloirock/core-js/issues/1130
2071
- if (classofRaw(fn) === 'Function') return uncurryThis$2(fn);
2072
- };
2073
-
2074
- var $$3 = _export;
2075
- var uncurryThis$1 = functionUncurryThisClause;
2076
- var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
2077
- var toLength = toLength$2;
2078
- var toString$2 = toString$4;
2079
- var notARegExp = notARegexp;
2080
- var requireObjectCoercible = requireObjectCoercible$5;
2081
- var correctIsRegExpLogic = correctIsRegexpLogic;
2082
-
2083
- var stringSlice$1 = uncurryThis$1(''.slice);
2084
- var min = Math.min;
2085
-
2086
- var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');
2087
- // https://github.com/zloirock/core-js/pull/702
2088
- var MDN_POLYFILL_BUG = !CORRECT_IS_REGEXP_LOGIC && !!function () {
2089
- var descriptor = getOwnPropertyDescriptor$1(String.prototype, 'startsWith');
2090
- return descriptor && !descriptor.writable;
2091
- }();
2092
-
2093
- // `String.prototype.startsWith` method
2094
- // https://tc39.es/ecma262/#sec-string.prototype.startswith
2095
- $$3({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
2096
- startsWith: function startsWith(searchString /* , position = 0 */) {
2097
- var that = toString$2(requireObjectCoercible(this));
2098
- notARegExp(searchString);
2099
- var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));
2100
- var search = toString$2(searchString);
2101
- return stringSlice$1(that, index, index + search.length) === search;
2102
- }
2103
- });
2104
-
2105
- /******************************************************************************
2106
- Copyright (c) Microsoft Corporation.
2107
-
2108
- Permission to use, copy, modify, and/or distribute this software for any
2109
- purpose with or without fee is hereby granted.
2110
-
2111
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
2112
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
2113
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
2114
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
2115
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
2116
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2117
- PERFORMANCE OF THIS SOFTWARE.
2118
- ***************************************************************************** */
2119
- /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
2120
-
2121
-
2122
- function __awaiter(thisArg, _arguments, P, generator) {
2123
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
2124
- return new (P || (P = Promise))(function (resolve, reject) {
2125
- function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
2126
- function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
2127
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
2128
- step((generator = generator.apply(thisArg, _arguments || [])).next());
2129
- });
2130
- }
2131
-
2132
- typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
2133
- var e = new Error(message);
2134
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
2135
- };
2136
-
2137
- var classof = classofRaw$2;
2138
-
2139
- // `IsArray` abstract operation
2140
- // https://tc39.es/ecma262/#sec-isarray
2141
- // eslint-disable-next-line es/no-array-isarray -- safe
2142
- var isArray$1 = Array.isArray || function isArray(argument) {
2143
- return classof(argument) === 'Array';
2144
- };
2145
-
2146
- var DESCRIPTORS = descriptors;
2147
- var isArray = isArray$1;
2148
-
2149
- var $TypeError$1 = TypeError;
2150
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2151
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
2152
-
2153
- // Safari < 13 does not throw an error in this case
2154
- var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
2155
- // makes no sense without proper strict mode support
2156
- if (this !== undefined) return true;
2157
- try {
2158
- // eslint-disable-next-line es/no-object-defineproperty -- safe
2159
- Object.defineProperty([], 'length', { writable: false }).length = 1;
2160
- } catch (error) {
2161
- return error instanceof TypeError;
2162
- }
2163
- }();
2164
-
2165
- var arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
2166
- if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
2167
- throw new $TypeError$1('Cannot set read only .length');
2168
- } return O.length = length;
2169
- } : function (O, length) {
2170
- return O.length = length;
2171
- };
2172
-
2173
- var $TypeError = TypeError;
2174
- var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
2175
-
2176
- var doesNotExceedSafeInteger$1 = function (it) {
2177
- if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
2178
- return it;
2179
- };
2180
-
2181
- var $$2 = _export;
2182
- var toObject = toObject$3;
2183
- var lengthOfArrayLike = lengthOfArrayLike$2;
2184
- var setArrayLength = arraySetLength;
2185
- var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
2186
- var fails$3 = fails$g;
2187
-
2188
- var INCORRECT_TO_LENGTH = fails$3(function () {
2189
- return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
2190
- });
2191
-
2192
- // V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError
2193
- // https://bugs.chromium.org/p/v8/issues/detail?id=12681
2194
- var properErrorOnNonWritableLength = function () {
2195
- try {
2196
- // eslint-disable-next-line es/no-object-defineproperty -- safe
2197
- Object.defineProperty([], 'length', { writable: false }).push();
2198
- } catch (error) {
2199
- return error instanceof TypeError;
2200
- }
2201
- };
2202
-
2203
- var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
2204
-
2205
- // `Array.prototype.push` method
2206
- // https://tc39.es/ecma262/#sec-array.prototype.push
2207
- $$2({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
2208
- // eslint-disable-next-line no-unused-vars -- required for `.length`
2209
- push: function push(item) {
2210
- var O = toObject(this);
2211
- var len = lengthOfArrayLike(O);
2212
- var argCount = arguments.length;
2213
- doesNotExceedSafeInteger(len + argCount);
2214
- for (var i = 0; i < argCount; i++) {
2215
- O[len] = arguments[i];
2216
- len++;
2217
- }
2218
- setArrayLength(O, len);
2219
- return len;
2220
- }
2221
- });
2222
-
2223
- var fails$2 = fails$g;
2064
+ var fails$5 = fails$i;
2224
2065
  var globalThis$3 = globalThis_1;
2225
2066
 
2226
2067
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
2227
2068
  var $RegExp$2 = globalThis$3.RegExp;
2228
2069
 
2229
- var UNSUPPORTED_Y$1 = fails$2(function () {
2070
+ var UNSUPPORTED_Y$1 = fails$5(function () {
2230
2071
  var re = $RegExp$2('a', 'y');
2231
2072
  re.lastIndex = 2;
2232
2073
  return re.exec('abcd') !== null;
@@ -2234,11 +2075,11 @@ var UNSUPPORTED_Y$1 = fails$2(function () {
2234
2075
 
2235
2076
  // UC Browser bug
2236
2077
  // https://github.com/zloirock/core-js/issues/1008
2237
- var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$2(function () {
2078
+ var MISSED_STICKY = UNSUPPORTED_Y$1 || fails$5(function () {
2238
2079
  return !$RegExp$2('a', 'y').sticky;
2239
2080
  });
2240
2081
 
2241
- var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$2(function () {
2082
+ var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$5(function () {
2242
2083
  // https://bugzilla.mozilla.org/show_bug.cgi?id=773687
2243
2084
  var re = $RegExp$2('^r', 'gy');
2244
2085
  re.lastIndex = 2;
@@ -2251,24 +2092,24 @@ var regexpStickyHelpers = {
2251
2092
  UNSUPPORTED_Y: UNSUPPORTED_Y$1
2252
2093
  };
2253
2094
 
2254
- var fails$1 = fails$g;
2095
+ var fails$4 = fails$i;
2255
2096
  var globalThis$2 = globalThis_1;
2256
2097
 
2257
2098
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
2258
2099
  var $RegExp$1 = globalThis$2.RegExp;
2259
2100
 
2260
- var regexpUnsupportedDotAll = fails$1(function () {
2101
+ var regexpUnsupportedDotAll = fails$4(function () {
2261
2102
  var re = $RegExp$1('.', 's');
2262
2103
  return !(re.dotAll && re.test('\n') && re.flags === 's');
2263
2104
  });
2264
2105
 
2265
- var fails = fails$g;
2106
+ var fails$3 = fails$i;
2266
2107
  var globalThis$1 = globalThis_1;
2267
2108
 
2268
2109
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
2269
2110
  var $RegExp = globalThis$1.RegExp;
2270
2111
 
2271
- var regexpUnsupportedNcg = fails(function () {
2112
+ var regexpUnsupportedNcg = fails$3(function () {
2272
2113
  var re = $RegExp('(?<a>b)', 'g');
2273
2114
  return re.exec('b').groups.a !== 'b' ||
2274
2115
  'b'.replace(re, '$<a>c') !== 'bc';
@@ -2276,9 +2117,9 @@ var regexpUnsupportedNcg = fails(function () {
2276
2117
 
2277
2118
  /* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
2278
2119
  /* eslint-disable regexp/no-useless-quantifier -- testing */
2279
- var call$1 = functionCall;
2280
- var uncurryThis = functionUncurryThis;
2281
- var toString$1 = toString$4;
2120
+ var call$5 = functionCall;
2121
+ var uncurryThis$5 = functionUncurryThis;
2122
+ var toString$4 = toString$6;
2282
2123
  var regexpFlags = regexpFlags$1;
2283
2124
  var stickyHelpers = regexpStickyHelpers;
2284
2125
  var shared = shared$4;
@@ -2290,16 +2131,16 @@ var UNSUPPORTED_NCG = regexpUnsupportedNcg;
2290
2131
  var nativeReplace = shared('native-string-replace', String.prototype.replace);
2291
2132
  var nativeExec = RegExp.prototype.exec;
2292
2133
  var patchedExec = nativeExec;
2293
- var charAt = uncurryThis(''.charAt);
2294
- var indexOf = uncurryThis(''.indexOf);
2295
- var replace = uncurryThis(''.replace);
2296
- var stringSlice = uncurryThis(''.slice);
2134
+ var charAt$3 = uncurryThis$5(''.charAt);
2135
+ var indexOf = uncurryThis$5(''.indexOf);
2136
+ var replace$1 = uncurryThis$5(''.replace);
2137
+ var stringSlice$4 = uncurryThis$5(''.slice);
2297
2138
 
2298
2139
  var UPDATES_LAST_INDEX_WRONG = (function () {
2299
2140
  var re1 = /a/;
2300
2141
  var re2 = /b*/g;
2301
- call$1(nativeExec, re1, 'a');
2302
- call$1(nativeExec, re2, 'a');
2142
+ call$5(nativeExec, re1, 'a');
2143
+ call$5(nativeExec, re2, 'a');
2303
2144
  return re1.lastIndex !== 0 || re2.lastIndex !== 0;
2304
2145
  })();
2305
2146
 
@@ -2314,33 +2155,33 @@ if (PATCH) {
2314
2155
  patchedExec = function exec(string) {
2315
2156
  var re = this;
2316
2157
  var state = getInternalState(re);
2317
- var str = toString$1(string);
2158
+ var str = toString$4(string);
2318
2159
  var raw = state.raw;
2319
2160
  var result, reCopy, lastIndex, match, i, object, group;
2320
2161
 
2321
2162
  if (raw) {
2322
2163
  raw.lastIndex = re.lastIndex;
2323
- result = call$1(patchedExec, raw, str);
2164
+ result = call$5(patchedExec, raw, str);
2324
2165
  re.lastIndex = raw.lastIndex;
2325
2166
  return result;
2326
2167
  }
2327
2168
 
2328
2169
  var groups = state.groups;
2329
2170
  var sticky = UNSUPPORTED_Y && re.sticky;
2330
- var flags = call$1(regexpFlags, re);
2171
+ var flags = call$5(regexpFlags, re);
2331
2172
  var source = re.source;
2332
2173
  var charsAdded = 0;
2333
2174
  var strCopy = str;
2334
2175
 
2335
2176
  if (sticky) {
2336
- flags = replace(flags, 'y', '');
2177
+ flags = replace$1(flags, 'y', '');
2337
2178
  if (indexOf(flags, 'g') === -1) {
2338
2179
  flags += 'g';
2339
2180
  }
2340
2181
 
2341
- strCopy = stringSlice(str, re.lastIndex);
2182
+ strCopy = stringSlice$4(str, re.lastIndex);
2342
2183
  // Support anchored sticky behavior.
2343
- if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt(str, re.lastIndex - 1) !== '\n')) {
2184
+ if (re.lastIndex > 0 && (!re.multiline || re.multiline && charAt$3(str, re.lastIndex - 1) !== '\n')) {
2344
2185
  source = '(?: ' + source + ')';
2345
2186
  strCopy = ' ' + strCopy;
2346
2187
  charsAdded++;
@@ -2355,12 +2196,12 @@ if (PATCH) {
2355
2196
  }
2356
2197
  if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
2357
2198
 
2358
- match = call$1(nativeExec, sticky ? reCopy : re, strCopy);
2199
+ match = call$5(nativeExec, sticky ? reCopy : re, strCopy);
2359
2200
 
2360
2201
  if (sticky) {
2361
2202
  if (match) {
2362
- match.input = stringSlice(match.input, charsAdded);
2363
- match[0] = stringSlice(match[0], charsAdded);
2203
+ match.input = stringSlice$4(match.input, charsAdded);
2204
+ match[0] = stringSlice$4(match[0], charsAdded);
2364
2205
  match.index = re.lastIndex;
2365
2206
  re.lastIndex += match[0].length;
2366
2207
  } else re.lastIndex = 0;
@@ -2370,7 +2211,7 @@ if (PATCH) {
2370
2211
  if (NPCG_INCLUDED && match && match.length > 1) {
2371
2212
  // Fix browsers whose `exec` methods don't consistently return `undefined`
2372
2213
  // for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
2373
- call$1(nativeReplace, match[0], reCopy, function () {
2214
+ call$5(nativeReplace, match[0], reCopy, function () {
2374
2215
  for (i = 1; i < arguments.length - 2; i++) {
2375
2216
  if (arguments[i] === undefined) match[i] = undefined;
2376
2217
  }
@@ -2389,24 +2230,524 @@ if (PATCH) {
2389
2230
  };
2390
2231
  }
2391
2232
 
2392
- var regexpExec = patchedExec;
2233
+ var regexpExec$2 = patchedExec;
2393
2234
 
2394
- var $$1 = _export;
2395
- var exec = regexpExec;
2235
+ var $$3 = _export;
2236
+ var exec = regexpExec$2;
2396
2237
 
2397
2238
  // `RegExp.prototype.exec` method
2398
2239
  // https://tc39.es/ecma262/#sec-regexp.prototype.exec
2399
- $$1({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
2240
+ $$3({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
2400
2241
  exec: exec
2401
2242
  });
2402
2243
 
2244
+ var NATIVE_BIND = functionBindNative;
2245
+
2246
+ var FunctionPrototype = Function.prototype;
2247
+ var apply$1 = FunctionPrototype.apply;
2248
+ var call$4 = FunctionPrototype.call;
2249
+
2250
+ // eslint-disable-next-line es/no-reflect -- safe
2251
+ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$4.bind(apply$1) : function () {
2252
+ return call$4.apply(apply$1, arguments);
2253
+ });
2254
+
2255
+ // TODO: Remove from `core-js@4` since it's moved to entry points
2256
+
2257
+ var call$3 = functionCall;
2258
+ var defineBuiltIn = defineBuiltIn$5;
2259
+ var regexpExec$1 = regexpExec$2;
2260
+ var fails$2 = fails$i;
2261
+ var wellKnownSymbol$1 = wellKnownSymbol$c;
2262
+ var createNonEnumerableProperty = createNonEnumerableProperty$5;
2263
+
2264
+ var SPECIES = wellKnownSymbol$1('species');
2265
+ var RegExpPrototype = RegExp.prototype;
2266
+
2267
+ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
2268
+ var SYMBOL = wellKnownSymbol$1(KEY);
2269
+
2270
+ var DELEGATES_TO_SYMBOL = !fails$2(function () {
2271
+ // String methods call symbol-named RegExp methods
2272
+ var O = {};
2273
+ O[SYMBOL] = function () { return 7; };
2274
+ return ''[KEY](O) !== 7;
2275
+ });
2276
+
2277
+ var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL && !fails$2(function () {
2278
+ // Symbol-named RegExp methods call .exec
2279
+ var execCalled = false;
2280
+ var re = /a/;
2281
+
2282
+ if (KEY === 'split') {
2283
+ // We can't use real regex here since it causes deoptimization
2284
+ // and serious performance degradation in V8
2285
+ // https://github.com/zloirock/core-js/issues/306
2286
+ re = {};
2287
+ // RegExp[@@split] doesn't call the regex's exec method, but first creates
2288
+ // a new one. We need to return the patched regex when creating the new one.
2289
+ re.constructor = {};
2290
+ re.constructor[SPECIES] = function () { return re; };
2291
+ re.flags = '';
2292
+ re[SYMBOL] = /./[SYMBOL];
2293
+ }
2294
+
2295
+ re.exec = function () {
2296
+ execCalled = true;
2297
+ return null;
2298
+ };
2299
+
2300
+ re[SYMBOL]('');
2301
+ return !execCalled;
2302
+ });
2303
+
2304
+ if (
2305
+ !DELEGATES_TO_SYMBOL ||
2306
+ !DELEGATES_TO_EXEC ||
2307
+ FORCED
2308
+ ) {
2309
+ var nativeRegExpMethod = /./[SYMBOL];
2310
+ var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
2311
+ var $exec = regexp.exec;
2312
+ if ($exec === regexpExec$1 || $exec === RegExpPrototype.exec) {
2313
+ if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
2314
+ // The native String method already delegates to @@method (this
2315
+ // polyfilled function), leasing to infinite recursion.
2316
+ // We avoid it by directly calling the native @@method method.
2317
+ return { done: true, value: call$3(nativeRegExpMethod, regexp, str, arg2) };
2318
+ }
2319
+ return { done: true, value: call$3(nativeMethod, str, regexp, arg2) };
2320
+ }
2321
+ return { done: false };
2322
+ });
2323
+
2324
+ defineBuiltIn(String.prototype, KEY, methods[0]);
2325
+ defineBuiltIn(RegExpPrototype, SYMBOL, methods[1]);
2326
+ }
2327
+
2328
+ if (SHAM) createNonEnumerableProperty(RegExpPrototype[SYMBOL], 'sham', true);
2329
+ };
2330
+
2331
+ var uncurryThis$4 = functionUncurryThis;
2332
+ var toIntegerOrInfinity$1 = toIntegerOrInfinity$4;
2333
+ var toString$3 = toString$6;
2334
+ var requireObjectCoercible$2 = requireObjectCoercible$7;
2335
+
2336
+ var charAt$2 = uncurryThis$4(''.charAt);
2337
+ var charCodeAt = uncurryThis$4(''.charCodeAt);
2338
+ var stringSlice$3 = uncurryThis$4(''.slice);
2339
+
2340
+ var createMethod = function (CONVERT_TO_STRING) {
2341
+ return function ($this, pos) {
2342
+ var S = toString$3(requireObjectCoercible$2($this));
2343
+ var position = toIntegerOrInfinity$1(pos);
2344
+ var size = S.length;
2345
+ var first, second;
2346
+ if (position < 0 || position >= size) return CONVERT_TO_STRING ? '' : undefined;
2347
+ first = charCodeAt(S, position);
2348
+ return first < 0xD800 || first > 0xDBFF || position + 1 === size
2349
+ || (second = charCodeAt(S, position + 1)) < 0xDC00 || second > 0xDFFF
2350
+ ? CONVERT_TO_STRING
2351
+ ? charAt$2(S, position)
2352
+ : first
2353
+ : CONVERT_TO_STRING
2354
+ ? stringSlice$3(S, position, position + 2)
2355
+ : (first - 0xD800 << 10) + (second - 0xDC00) + 0x10000;
2356
+ };
2357
+ };
2358
+
2359
+ var stringMultibyte = {
2360
+ // `String.prototype.codePointAt` method
2361
+ // https://tc39.es/ecma262/#sec-string.prototype.codepointat
2362
+ codeAt: createMethod(false),
2363
+ // `String.prototype.at` method
2364
+ // https://github.com/mathiasbynens/String.prototype.at
2365
+ charAt: createMethod(true)
2366
+ };
2367
+
2368
+ var charAt$1 = stringMultibyte.charAt;
2369
+
2370
+ // `AdvanceStringIndex` abstract operation
2371
+ // https://tc39.es/ecma262/#sec-advancestringindex
2372
+ var advanceStringIndex$1 = function (S, index, unicode) {
2373
+ return index + (unicode ? charAt$1(S, index).length : 1);
2374
+ };
2375
+
2376
+ var uncurryThis$3 = functionUncurryThis;
2377
+ var toObject$1 = toObject$4;
2378
+
2379
+ var floor = Math.floor;
2380
+ var charAt = uncurryThis$3(''.charAt);
2381
+ var replace = uncurryThis$3(''.replace);
2382
+ var stringSlice$2 = uncurryThis$3(''.slice);
2383
+ // eslint-disable-next-line redos/no-vulnerable -- safe
2384
+ var SUBSTITUTION_SYMBOLS = /\$([$&'`]|\d{1,2}|<[^>]*>)/g;
2385
+ var SUBSTITUTION_SYMBOLS_NO_NAMED = /\$([$&'`]|\d{1,2})/g;
2386
+
2387
+ // `GetSubstitution` abstract operation
2388
+ // https://tc39.es/ecma262/#sec-getsubstitution
2389
+ var getSubstitution$1 = function (matched, str, position, captures, namedCaptures, replacement) {
2390
+ var tailPos = position + matched.length;
2391
+ var m = captures.length;
2392
+ var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;
2393
+ if (namedCaptures !== undefined) {
2394
+ namedCaptures = toObject$1(namedCaptures);
2395
+ symbols = SUBSTITUTION_SYMBOLS;
2396
+ }
2397
+ return replace(replacement, symbols, function (match, ch) {
2398
+ var capture;
2399
+ switch (charAt(ch, 0)) {
2400
+ case '$': return '$';
2401
+ case '&': return matched;
2402
+ case '`': return stringSlice$2(str, 0, position);
2403
+ case "'": return stringSlice$2(str, tailPos);
2404
+ case '<':
2405
+ capture = namedCaptures[stringSlice$2(ch, 1, -1)];
2406
+ break;
2407
+ default: // \d\d?
2408
+ var n = +ch;
2409
+ if (n === 0) return match;
2410
+ if (n > m) {
2411
+ var f = floor(n / 10);
2412
+ if (f === 0) return match;
2413
+ if (f <= m) return captures[f - 1] === undefined ? charAt(ch, 1) : captures[f - 1] + charAt(ch, 1);
2414
+ return match;
2415
+ }
2416
+ capture = captures[n - 1];
2417
+ }
2418
+ return capture === undefined ? '' : capture;
2419
+ });
2420
+ };
2421
+
2422
+ var call$2 = functionCall;
2423
+ var anObject$2 = anObject$9;
2424
+ var isCallable$2 = isCallable$h;
2425
+ var classof$1 = classofRaw$2;
2426
+ var regexpExec = regexpExec$2;
2427
+
2428
+ var $TypeError$2 = TypeError;
2429
+
2430
+ // `RegExpExec` abstract operation
2431
+ // https://tc39.es/ecma262/#sec-regexpexec
2432
+ var regexpExecAbstract = function (R, S) {
2433
+ var exec = R.exec;
2434
+ if (isCallable$2(exec)) {
2435
+ var result = call$2(exec, R, S);
2436
+ if (result !== null) anObject$2(result);
2437
+ return result;
2438
+ }
2439
+ if (classof$1(R) === 'RegExp') return call$2(regexpExec, R, S);
2440
+ throw new $TypeError$2('RegExp#exec called on incompatible receiver');
2441
+ };
2442
+
2443
+ var apply = functionApply;
2444
+ var call$1 = functionCall;
2445
+ var uncurryThis$2 = functionUncurryThis;
2446
+ var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
2447
+ var fails$1 = fails$i;
2448
+ var anObject$1 = anObject$9;
2449
+ var isCallable$1 = isCallable$h;
2450
+ var isNullOrUndefined = isNullOrUndefined$3;
2451
+ var toIntegerOrInfinity = toIntegerOrInfinity$4;
2452
+ var toLength$1 = toLength$3;
2453
+ var toString$2 = toString$6;
2454
+ var requireObjectCoercible$1 = requireObjectCoercible$7;
2455
+ var advanceStringIndex = advanceStringIndex$1;
2456
+ var getMethod = getMethod$2;
2457
+ var getSubstitution = getSubstitution$1;
2458
+ var regExpExec = regexpExecAbstract;
2459
+ var wellKnownSymbol = wellKnownSymbol$c;
2460
+
2461
+ var REPLACE = wellKnownSymbol('replace');
2462
+ var max = Math.max;
2463
+ var min$1 = Math.min;
2464
+ var concat = uncurryThis$2([].concat);
2465
+ var push = uncurryThis$2([].push);
2466
+ var stringIndexOf = uncurryThis$2(''.indexOf);
2467
+ var stringSlice$1 = uncurryThis$2(''.slice);
2468
+
2469
+ var maybeToString = function (it) {
2470
+ return it === undefined ? it : String(it);
2471
+ };
2472
+
2473
+ // IE <= 11 replaces $0 with the whole match, as if it was $&
2474
+ // https://stackoverflow.com/questions/6024666/getting-ie-to-replace-a-regex-with-the-literal-string-0
2475
+ var REPLACE_KEEPS_$0 = (function () {
2476
+ // eslint-disable-next-line regexp/prefer-escape-replacement-dollar-char -- required for testing
2477
+ return 'a'.replace(/./, '$0') === '$0';
2478
+ })();
2479
+
2480
+ // Safari <= 13.0.3(?) substitutes nth capture where n>m with an empty string
2481
+ var REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE = (function () {
2482
+ if (/./[REPLACE]) {
2483
+ return /./[REPLACE]('a', '$0') === '';
2484
+ }
2485
+ return false;
2486
+ })();
2487
+
2488
+ var REPLACE_SUPPORTS_NAMED_GROUPS = !fails$1(function () {
2489
+ var re = /./;
2490
+ re.exec = function () {
2491
+ var result = [];
2492
+ result.groups = { a: '7' };
2493
+ return result;
2494
+ };
2495
+ // eslint-disable-next-line regexp/no-useless-dollar-replacements -- false positive
2496
+ return ''.replace(re, '$<a>') !== '7';
2497
+ });
2498
+
2499
+ // @@replace logic
2500
+ fixRegExpWellKnownSymbolLogic('replace', function (_, nativeReplace, maybeCallNative) {
2501
+ var UNSAFE_SUBSTITUTE = REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE ? '$' : '$0';
2502
+
2503
+ return [
2504
+ // `String.prototype.replace` method
2505
+ // https://tc39.es/ecma262/#sec-string.prototype.replace
2506
+ function replace(searchValue, replaceValue) {
2507
+ var O = requireObjectCoercible$1(this);
2508
+ var replacer = isNullOrUndefined(searchValue) ? undefined : getMethod(searchValue, REPLACE);
2509
+ return replacer
2510
+ ? call$1(replacer, searchValue, O, replaceValue)
2511
+ : call$1(nativeReplace, toString$2(O), searchValue, replaceValue);
2512
+ },
2513
+ // `RegExp.prototype[@@replace]` method
2514
+ // https://tc39.es/ecma262/#sec-regexp.prototype-@@replace
2515
+ function (string, replaceValue) {
2516
+ var rx = anObject$1(this);
2517
+ var S = toString$2(string);
2518
+
2519
+ if (
2520
+ typeof replaceValue == 'string' &&
2521
+ stringIndexOf(replaceValue, UNSAFE_SUBSTITUTE) === -1 &&
2522
+ stringIndexOf(replaceValue, '$<') === -1
2523
+ ) {
2524
+ var res = maybeCallNative(nativeReplace, rx, S, replaceValue);
2525
+ if (res.done) return res.value;
2526
+ }
2527
+
2528
+ var functionalReplace = isCallable$1(replaceValue);
2529
+ if (!functionalReplace) replaceValue = toString$2(replaceValue);
2530
+
2531
+ var global = rx.global;
2532
+ var fullUnicode;
2533
+ if (global) {
2534
+ fullUnicode = rx.unicode;
2535
+ rx.lastIndex = 0;
2536
+ }
2537
+
2538
+ var results = [];
2539
+ var result;
2540
+ while (true) {
2541
+ result = regExpExec(rx, S);
2542
+ if (result === null) break;
2543
+
2544
+ push(results, result);
2545
+ if (!global) break;
2546
+
2547
+ var matchStr = toString$2(result[0]);
2548
+ if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength$1(rx.lastIndex), fullUnicode);
2549
+ }
2550
+
2551
+ var accumulatedResult = '';
2552
+ var nextSourcePosition = 0;
2553
+ for (var i = 0; i < results.length; i++) {
2554
+ result = results[i];
2555
+
2556
+ var matched = toString$2(result[0]);
2557
+ var position = max(min$1(toIntegerOrInfinity(result.index), S.length), 0);
2558
+ var captures = [];
2559
+ var replacement;
2560
+ // NOTE: This is equivalent to
2561
+ // captures = result.slice(1).map(maybeToString)
2562
+ // but for some reason `nativeSlice.call(result, 1, result.length)` (called in
2563
+ // the slice polyfill when slicing native arrays) "doesn't work" in safari 9 and
2564
+ // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.
2565
+ for (var j = 1; j < result.length; j++) push(captures, maybeToString(result[j]));
2566
+ var namedCaptures = result.groups;
2567
+ if (functionalReplace) {
2568
+ var replacerArgs = concat([matched], captures, position, S);
2569
+ if (namedCaptures !== undefined) push(replacerArgs, namedCaptures);
2570
+ replacement = toString$2(apply(replaceValue, undefined, replacerArgs));
2571
+ } else {
2572
+ replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);
2573
+ }
2574
+ if (position >= nextSourcePosition) {
2575
+ accumulatedResult += stringSlice$1(S, nextSourcePosition, position) + replacement;
2576
+ nextSourcePosition = position + matched.length;
2577
+ }
2578
+ }
2579
+
2580
+ return accumulatedResult + stringSlice$1(S, nextSourcePosition);
2581
+ }
2582
+ ];
2583
+ }, !REPLACE_SUPPORTS_NAMED_GROUPS || !REPLACE_KEEPS_$0 || REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE);
2584
+
2585
+ var classofRaw = classofRaw$2;
2586
+ var uncurryThis$1 = functionUncurryThis;
2587
+
2588
+ var functionUncurryThisClause = function (fn) {
2589
+ // Nashorn bug:
2590
+ // https://github.com/zloirock/core-js/issues/1128
2591
+ // https://github.com/zloirock/core-js/issues/1130
2592
+ if (classofRaw(fn) === 'Function') return uncurryThis$1(fn);
2593
+ };
2594
+
2595
+ var $$2 = _export;
2596
+ var uncurryThis = functionUncurryThisClause;
2597
+ var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
2598
+ var toLength = toLength$3;
2599
+ var toString$1 = toString$6;
2600
+ var notARegExp = notARegexp;
2601
+ var requireObjectCoercible = requireObjectCoercible$7;
2602
+ var correctIsRegExpLogic = correctIsRegexpLogic;
2603
+
2604
+ var stringSlice = uncurryThis(''.slice);
2605
+ var min = Math.min;
2606
+
2607
+ var CORRECT_IS_REGEXP_LOGIC = correctIsRegExpLogic('startsWith');
2608
+ // https://github.com/zloirock/core-js/pull/702
2609
+ var MDN_POLYFILL_BUG = !CORRECT_IS_REGEXP_LOGIC && !!function () {
2610
+ var descriptor = getOwnPropertyDescriptor$1(String.prototype, 'startsWith');
2611
+ return descriptor && !descriptor.writable;
2612
+ }();
2613
+
2614
+ // `String.prototype.startsWith` method
2615
+ // https://tc39.es/ecma262/#sec-string.prototype.startswith
2616
+ $$2({ target: 'String', proto: true, forced: !MDN_POLYFILL_BUG && !CORRECT_IS_REGEXP_LOGIC }, {
2617
+ startsWith: function startsWith(searchString /* , position = 0 */) {
2618
+ var that = toString$1(requireObjectCoercible(this));
2619
+ notARegExp(searchString);
2620
+ var index = toLength(min(arguments.length > 1 ? arguments[1] : undefined, that.length));
2621
+ var search = toString$1(searchString);
2622
+ return stringSlice(that, index, index + search.length) === search;
2623
+ }
2624
+ });
2625
+
2626
+ /******************************************************************************
2627
+ Copyright (c) Microsoft Corporation.
2628
+
2629
+ Permission to use, copy, modify, and/or distribute this software for any
2630
+ purpose with or without fee is hereby granted.
2631
+
2632
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
2633
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
2634
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
2635
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
2636
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
2637
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
2638
+ PERFORMANCE OF THIS SOFTWARE.
2639
+ ***************************************************************************** */
2640
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
2641
+
2642
+
2643
+ function __awaiter(thisArg, _arguments, P, generator) {
2644
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
2645
+ return new (P || (P = Promise))(function (resolve, reject) {
2646
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
2647
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
2648
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
2649
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
2650
+ });
2651
+ }
2652
+
2653
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
2654
+ var e = new Error(message);
2655
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
2656
+ };
2657
+
2658
+ var classof = classofRaw$2;
2659
+
2660
+ // `IsArray` abstract operation
2661
+ // https://tc39.es/ecma262/#sec-isarray
2662
+ // eslint-disable-next-line es/no-array-isarray -- safe
2663
+ var isArray$1 = Array.isArray || function isArray(argument) {
2664
+ return classof(argument) === 'Array';
2665
+ };
2666
+
2667
+ var DESCRIPTORS = descriptors;
2668
+ var isArray = isArray$1;
2669
+
2670
+ var $TypeError$1 = TypeError;
2671
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2672
+ var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
2673
+
2674
+ // Safari < 13 does not throw an error in this case
2675
+ var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS && !function () {
2676
+ // makes no sense without proper strict mode support
2677
+ if (this !== undefined) return true;
2678
+ try {
2679
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
2680
+ Object.defineProperty([], 'length', { writable: false }).length = 1;
2681
+ } catch (error) {
2682
+ return error instanceof TypeError;
2683
+ }
2684
+ }();
2685
+
2686
+ var arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
2687
+ if (isArray(O) && !getOwnPropertyDescriptor(O, 'length').writable) {
2688
+ throw new $TypeError$1('Cannot set read only .length');
2689
+ } return O.length = length;
2690
+ } : function (O, length) {
2691
+ return O.length = length;
2692
+ };
2693
+
2694
+ var $TypeError = TypeError;
2695
+ var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
2696
+
2697
+ var doesNotExceedSafeInteger$1 = function (it) {
2698
+ if (it > MAX_SAFE_INTEGER) throw $TypeError('Maximum allowed index exceeded');
2699
+ return it;
2700
+ };
2701
+
2702
+ var $$1 = _export;
2703
+ var toObject = toObject$4;
2704
+ var lengthOfArrayLike = lengthOfArrayLike$2;
2705
+ var setArrayLength = arraySetLength;
2706
+ var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
2707
+ var fails = fails$i;
2708
+
2709
+ var INCORRECT_TO_LENGTH = fails(function () {
2710
+ return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
2711
+ });
2712
+
2713
+ // V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError
2714
+ // https://bugs.chromium.org/p/v8/issues/detail?id=12681
2715
+ var properErrorOnNonWritableLength = function () {
2716
+ try {
2717
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
2718
+ Object.defineProperty([], 'length', { writable: false }).push();
2719
+ } catch (error) {
2720
+ return error instanceof TypeError;
2721
+ }
2722
+ };
2723
+
2724
+ var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
2725
+
2726
+ // `Array.prototype.push` method
2727
+ // https://tc39.es/ecma262/#sec-array.prototype.push
2728
+ $$1({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
2729
+ // eslint-disable-next-line no-unused-vars -- required for `.length`
2730
+ push: function push(item) {
2731
+ var O = toObject(this);
2732
+ var len = lengthOfArrayLike(O);
2733
+ var argCount = arguments.length;
2734
+ doesNotExceedSafeInteger(len + argCount);
2735
+ for (var i = 0; i < argCount; i++) {
2736
+ O[len] = arguments[i];
2737
+ len++;
2738
+ }
2739
+ setArrayLength(O, len);
2740
+ return len;
2741
+ }
2742
+ });
2743
+
2403
2744
  // TODO: Remove from `core-js@4` since it's moved to entry points
2404
2745
 
2405
2746
  var $ = _export;
2406
2747
  var call = functionCall;
2407
- var isCallable = isCallable$f;
2408
- var anObject = anObject$7;
2409
- var toString = toString$4;
2748
+ var isCallable = isCallable$h;
2749
+ var anObject = anObject$9;
2750
+ var toString = toString$6;
2410
2751
 
2411
2752
  var DELEGATES_TO_EXEC = function () {
2412
2753
  var execCalled = false;
@@ -2513,10 +2854,10 @@ const isOnEdge = () => {
2513
2854
  return window.location.hostname.startsWith("192.168") || window.location.hostname.startsWith("localhost");
2514
2855
  };
2515
2856
  const getExecutionEngineHttpUrl = () => {
2516
- return isOnEdge() ? `http://${window.location.hostname}:3100` : `${window.location.origin}/digital-twin/execution-engine`;
2857
+ return isOnEdge() ? `http://${window.location.hostname}:3100` : getExecutionEngineUrlGivenUiIframeUrl(window.location.href);
2517
2858
  };
2518
2859
  const getMqttWsUrl = () => __awaiter(void 0, void 0, void 0, function* () {
2519
- return isOnEdge() ? `ws://${window.location.hostname}:9001` : `wss://${window.location.hostname}/digital-twin/mqtt`;
2860
+ return isOnEdge() ? `ws://${window.location.hostname}:9001` : getMqttWsUrlGivenUiIframeUrl(window.location.href);
2520
2861
  });
2521
2862
  const connectToMqttAndGetClient = () => __awaiter(void 0, void 0, void 0, function* () {
2522
2863
  const websocketUrl = yield getMqttWsUrl();
@@ -2526,6 +2867,20 @@ const getMachineCodeProcessHttpUrl = processName => {
2526
2867
  const executionEngineHttpUrl = getExecutionEngineHttpUrl();
2527
2868
  return `${executionEngineHttpUrl}/v1/machineCode/services/${processName}`;
2528
2869
  };
2870
+ const getExecutionEngineUrlGivenUiIframeUrl = uiIframeUrl => {
2871
+ const machineCodeUiIndex = uiIframeUrl.indexOf("/machineCodeUi");
2872
+ if (machineCodeUiIndex === -1) return uiIframeUrl;
2873
+ return uiIframeUrl.slice(0, machineCodeUiIndex);
2874
+ };
2875
+ const getMqttWsUrlGivenUiIframeUrl = uiIframeUrl => {
2876
+ const parts = uiIframeUrl.split("/");
2877
+ const passthroughIndex = parts.indexOf("passthrough");
2878
+ const tokenIndex = passthroughIndex + 1;
2879
+ const baseUrl = parts.slice(0, parts.indexOf("digital-twin") + 1).join("/");
2880
+ const token = parts[tokenIndex];
2881
+ const wssBaseUrl = baseUrl.replace("https:", "wss:");
2882
+ return `${wssBaseUrl}/${token}/mqtt`;
2883
+ };
2529
2884
 
2530
2885
  const defaultContext = {
2531
2886
  client: null,
@@ -2542,9 +2897,11 @@ const MqttProvider = props => {
2542
2897
  useEffect(function mqttConnection() {
2543
2898
  function connectToMqtt() {
2544
2899
  return __awaiter(this, void 0, void 0, function* () {
2900
+ console.log("Connecting to MQTT");
2545
2901
  const client = mqtt.connect(yield getMqttWsUrl());
2546
2902
  client.on("connect", () => {
2547
2903
  setConnectionStatus("connected");
2904
+ console.log("Connected to MQTT");
2548
2905
  setMqttClient(client);
2549
2906
  });
2550
2907
  client.on("error", error => {
@@ -2605,4 +2962,4 @@ const useMqttSubscription = props => {
2605
2962
  return message;
2606
2963
  };
2607
2964
 
2608
- export { MqttClient, MqttProvider, MqttSandingTopics, VirtualKeyboard, connectToMqttAndGetClient, getExecutionEngineHttpUrl, getMachineCodeProcessHttpUrl, getMqttWsUrl, isOnEdge, isTouchScreenDevice, mqttContext, useMqttSubscription };
2965
+ export { MqttClient, MqttProvider, MqttSandingTopics, VirtualKeyboard, connectToMqttAndGetClient, getExecutionEngineHttpUrl, getMachineCodeProcessHttpUrl, getMqttWsUrl, getMqttWsUrlGivenUiIframeUrl, isOnEdge, isTouchScreenDevice, mqttContext, useMqttSubscription };