@dotcms/react 1.2.1 → 1.2.2-next.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.esm.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
- import { createContext, useContext, useState, useEffect, useLayoutEffect, useSyncExternalStore, useRef, useMemo, useReducer, useCallback } from 'react';
2
+ import { createContext, useContext, useState, useEffect, useLayoutEffect, useRef, useMemo, useReducer, useCallback } from 'react';
3
3
  import { UVE_MODE, UVEEventType, DotCMSUVEAction, DotCMSEntityState } from '@dotcms/types';
4
- import { getUVEState, isAnalyticsActive, initUVE, updateNavigation, createUVESubscription, sendMessageToUVE } from '@dotcms/uve';
5
- import { DEVELOPMENT_MODE, EMPTY_CONTAINER_STYLE_REACT, getDotContentletAttributes, getDotAnalyticsAttributes, CUSTOM_NO_COMPONENT, getContainersData, getContentletsInContainer, getDotContainerAttributes, getColumnPositionClasses, combineClasses, __DEFAULT_TINYMCE_CONFIG__, __BASE_TINYMCE_CONFIG_WITH_NO_DEFAULT__, __TINYMCE_PATH_ON_DOTCMS__, isValidBlocks } from '@dotcms/uve/internal';
4
+ import { getUVEState, initUVE, updateNavigation, createUVESubscription, sendMessageToUVE, registerStyleEditorSchemas } from '@dotcms/uve';
5
+ import { DEVELOPMENT_MODE, EMPTY_CONTAINER_STYLE_REACT, getDotContentletAttributes, CUSTOM_NO_COMPONENT, getContainersData, getContentletsInContainer, getDotContainerAttributes, getColumnPositionClasses, combineClasses, __DEFAULT_TINYMCE_CONFIG__, __BASE_TINYMCE_CONFIG_WITH_NO_DEFAULT__, __TINYMCE_PATH_ON_DOTCMS__, isValidBlocks } from '@dotcms/uve/internal';
6
6
  import { Editor } from '@tinymce/tinymce-react';
7
7
  import { __DOTCMS_UVE_EVENT__, BlockEditorDefaultBlocks } from '@dotcms/types/internal';
8
8
 
@@ -26,7 +26,7 @@ var global$o =
26
26
 
27
27
  var objectGetOwnPropertyDescriptor = {};
28
28
 
29
- var fails$o = function (exec) {
29
+ var fails$m = function (exec) {
30
30
  try {
31
31
  return !!exec();
32
32
  } catch (error) {
@@ -34,17 +34,17 @@ var fails$o = function (exec) {
34
34
  }
35
35
  };
36
36
 
37
- var fails$n = fails$o;
37
+ var fails$l = fails$m;
38
38
 
39
39
  // Detect IE8's incomplete defineProperty implementation
40
- var descriptors = !fails$n(function () {
40
+ var descriptors = !fails$l(function () {
41
41
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
42
42
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
43
43
  });
44
44
 
45
- var fails$m = fails$o;
45
+ var fails$k = fails$m;
46
46
 
47
- var functionBindNative = !fails$m(function () {
47
+ var functionBindNative = !fails$k(function () {
48
48
  // eslint-disable-next-line es/no-function-prototype-bind -- safe
49
49
  var test = (function () { /* empty */ }).bind();
50
50
  // eslint-disable-next-line no-prototype-builtins -- safe
@@ -53,25 +53,25 @@ var functionBindNative = !fails$m(function () {
53
53
 
54
54
  var NATIVE_BIND$3 = functionBindNative;
55
55
 
56
- var call$q = Function.prototype.call;
56
+ var call$o = Function.prototype.call;
57
57
 
58
- var functionCall = NATIVE_BIND$3 ? call$q.bind(call$q) : function () {
59
- return call$q.apply(call$q, arguments);
58
+ var functionCall = NATIVE_BIND$3 ? call$o.bind(call$o) : function () {
59
+ return call$o.apply(call$o, arguments);
60
60
  };
61
61
 
62
62
  var objectPropertyIsEnumerable = {};
63
63
 
64
64
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
65
65
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
66
- var getOwnPropertyDescriptor$3 = Object.getOwnPropertyDescriptor;
66
+ var getOwnPropertyDescriptor$2 = Object.getOwnPropertyDescriptor;
67
67
 
68
68
  // Nashorn ~ JDK8 bug
69
- var NASHORN_BUG = getOwnPropertyDescriptor$3 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
69
+ var NASHORN_BUG = getOwnPropertyDescriptor$2 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
70
70
 
71
71
  // `Object.prototype.propertyIsEnumerable` method implementation
72
72
  // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
73
73
  objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
74
- var descriptor = getOwnPropertyDescriptor$3(this, V);
74
+ var descriptor = getOwnPropertyDescriptor$2(this, V);
75
75
  return !!descriptor && descriptor.enumerable;
76
76
  } : $propertyIsEnumerable;
77
77
 
@@ -87,33 +87,33 @@ var createPropertyDescriptor$5 = function (bitmap, value) {
87
87
  var NATIVE_BIND$2 = functionBindNative;
88
88
 
89
89
  var FunctionPrototype$2 = Function.prototype;
90
- var call$p = FunctionPrototype$2.call;
91
- var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$p, call$p);
90
+ var call$n = FunctionPrototype$2.call;
91
+ var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$n, call$n);
92
92
 
93
93
  var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
94
94
  return function () {
95
- return call$p.apply(fn, arguments);
95
+ return call$n.apply(fn, arguments);
96
96
  };
97
97
  };
98
98
 
99
- var uncurryThis$r = functionUncurryThis;
99
+ var uncurryThis$p = functionUncurryThis;
100
100
 
101
- var toString$a = uncurryThis$r({}.toString);
102
- var stringSlice$5 = uncurryThis$r(''.slice);
101
+ var toString$a = uncurryThis$p({}.toString);
102
+ var stringSlice$5 = uncurryThis$p(''.slice);
103
103
 
104
104
  var classofRaw$2 = function (it) {
105
105
  return stringSlice$5(toString$a(it), 8, -1);
106
106
  };
107
107
 
108
- var uncurryThis$q = functionUncurryThis;
109
- var fails$l = fails$o;
108
+ var uncurryThis$o = functionUncurryThis;
109
+ var fails$j = fails$m;
110
110
  var classof$9 = classofRaw$2;
111
111
 
112
112
  var $Object$4 = Object;
113
- var split$3 = uncurryThis$q(''.split);
113
+ var split$3 = uncurryThis$o(''.split);
114
114
 
115
115
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
116
- var indexedObject = fails$l(function () {
116
+ var indexedObject = fails$j(function () {
117
117
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
118
118
  // eslint-disable-next-line no-prototype-builtins -- safe
119
119
  return !$Object$4('z').propertyIsEnumerable(0);
@@ -129,12 +129,12 @@ var isNullOrUndefined$5 = function (it) {
129
129
 
130
130
  var isNullOrUndefined$4 = isNullOrUndefined$5;
131
131
 
132
- var $TypeError$h = TypeError;
132
+ var $TypeError$e = TypeError;
133
133
 
134
134
  // `RequireObjectCoercible` abstract operation
135
135
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
136
136
  var requireObjectCoercible$6 = function (it) {
137
- if (isNullOrUndefined$4(it)) throw new $TypeError$h("Can't call method on " + it);
137
+ if (isNullOrUndefined$4(it)) throw new $TypeError$e("Can't call method on " + it);
138
138
  return it;
139
139
  };
140
140
 
@@ -171,13 +171,13 @@ var aFunction = function (argument) {
171
171
  return isCallable$m(argument) ? argument : undefined;
172
172
  };
173
173
 
174
- var getBuiltIn$9 = function (namespace, method) {
174
+ var getBuiltIn$8 = function (namespace, method) {
175
175
  return arguments.length < 2 ? aFunction(global$n[namespace]) : global$n[namespace] && global$n[namespace][method];
176
176
  };
177
177
 
178
- var uncurryThis$p = functionUncurryThis;
178
+ var uncurryThis$n = functionUncurryThis;
179
179
 
180
- var objectIsPrototypeOf = uncurryThis$p({}.isPrototypeOf);
180
+ var objectIsPrototypeOf = uncurryThis$n({}.isPrototypeOf);
181
181
 
182
182
  var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
183
183
 
@@ -211,13 +211,13 @@ var engineV8Version = version;
211
211
 
212
212
  /* eslint-disable es/no-symbol -- required for testing */
213
213
  var V8_VERSION$1 = engineV8Version;
214
- var fails$k = fails$o;
214
+ var fails$i = fails$m;
215
215
  var global$l = global$o;
216
216
 
217
217
  var $String$6 = global$l.String;
218
218
 
219
219
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
220
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$k(function () {
220
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$i(function () {
221
221
  var symbol = Symbol('symbol detection');
222
222
  // Chrome 38 Symbol has incorrect toString conversion
223
223
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -235,7 +235,7 @@ var useSymbolAsUid = NATIVE_SYMBOL$2
235
235
  && !Symbol.sham
236
236
  && typeof Symbol.iterator == 'symbol';
237
237
 
238
- var getBuiltIn$8 = getBuiltIn$9;
238
+ var getBuiltIn$7 = getBuiltIn$8;
239
239
  var isCallable$l = isCallable$o;
240
240
  var isPrototypeOf$3 = objectIsPrototypeOf;
241
241
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
@@ -245,7 +245,7 @@ var $Object$3 = Object;
245
245
  var isSymbol$3 = USE_SYMBOL_AS_UID$1 ? function (it) {
246
246
  return typeof it == 'symbol';
247
247
  } : function (it) {
248
- var $Symbol = getBuiltIn$8('Symbol');
248
+ var $Symbol = getBuiltIn$7('Symbol');
249
249
  return isCallable$l($Symbol) && isPrototypeOf$3($Symbol.prototype, $Object$3(it));
250
250
  };
251
251
 
@@ -262,38 +262,38 @@ var tryToString$4 = function (argument) {
262
262
  var isCallable$k = isCallable$o;
263
263
  var tryToString$3 = tryToString$4;
264
264
 
265
- var $TypeError$g = TypeError;
265
+ var $TypeError$d = TypeError;
266
266
 
267
267
  // `Assert: IsCallable(argument) is true`
268
- var aCallable$b = function (argument) {
268
+ var aCallable$9 = function (argument) {
269
269
  if (isCallable$k(argument)) return argument;
270
- throw new $TypeError$g(tryToString$3(argument) + ' is not a function');
270
+ throw new $TypeError$d(tryToString$3(argument) + ' is not a function');
271
271
  };
272
272
 
273
- var aCallable$a = aCallable$b;
273
+ var aCallable$8 = aCallable$9;
274
274
  var isNullOrUndefined$3 = isNullOrUndefined$5;
275
275
 
276
276
  // `GetMethod` abstract operation
277
277
  // https://tc39.es/ecma262/#sec-getmethod
278
278
  var getMethod$5 = function (V, P) {
279
279
  var func = V[P];
280
- return isNullOrUndefined$3(func) ? undefined : aCallable$a(func);
280
+ return isNullOrUndefined$3(func) ? undefined : aCallable$8(func);
281
281
  };
282
282
 
283
- var call$o = functionCall;
283
+ var call$m = functionCall;
284
284
  var isCallable$j = isCallable$o;
285
285
  var isObject$a = isObject$b;
286
286
 
287
- var $TypeError$f = TypeError;
287
+ var $TypeError$c = TypeError;
288
288
 
289
289
  // `OrdinaryToPrimitive` abstract operation
290
290
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
291
291
  var ordinaryToPrimitive$1 = function (input, pref) {
292
292
  var fn, val;
293
- if (pref === 'string' && isCallable$j(fn = input.toString) && !isObject$a(val = call$o(fn, input))) return val;
294
- if (isCallable$j(fn = input.valueOf) && !isObject$a(val = call$o(fn, input))) return val;
295
- if (pref !== 'string' && isCallable$j(fn = input.toString) && !isObject$a(val = call$o(fn, input))) return val;
296
- throw new $TypeError$f("Can't convert object to primitive value");
293
+ if (pref === 'string' && isCallable$j(fn = input.toString) && !isObject$a(val = call$m(fn, input))) return val;
294
+ if (isCallable$j(fn = input.valueOf) && !isObject$a(val = call$m(fn, input))) return val;
295
+ if (pref !== 'string' && isCallable$j(fn = input.toString) && !isObject$a(val = call$m(fn, input))) return val;
296
+ throw new $TypeError$c("Can't convert object to primitive value");
297
297
  };
298
298
 
299
299
  var sharedStore = {exports: {}};
@@ -341,27 +341,27 @@ var $Object$2 = Object;
341
341
 
342
342
  // `ToObject` abstract operation
343
343
  // https://tc39.es/ecma262/#sec-toobject
344
- var toObject$5 = function (argument) {
344
+ var toObject$4 = function (argument) {
345
345
  return $Object$2(requireObjectCoercible$4(argument));
346
346
  };
347
347
 
348
- var uncurryThis$o = functionUncurryThis;
349
- var toObject$4 = toObject$5;
348
+ var uncurryThis$m = functionUncurryThis;
349
+ var toObject$3 = toObject$4;
350
350
 
351
- var hasOwnProperty = uncurryThis$o({}.hasOwnProperty);
351
+ var hasOwnProperty = uncurryThis$m({}.hasOwnProperty);
352
352
 
353
353
  // `HasOwnProperty` abstract operation
354
354
  // https://tc39.es/ecma262/#sec-hasownproperty
355
355
  // eslint-disable-next-line es/no-object-hasown -- safe
356
356
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
357
- return hasOwnProperty(toObject$4(it), key);
357
+ return hasOwnProperty(toObject$3(it), key);
358
358
  };
359
359
 
360
- var uncurryThis$n = functionUncurryThis;
360
+ var uncurryThis$l = functionUncurryThis;
361
361
 
362
362
  var id = 0;
363
363
  var postfix = Math.random();
364
- var toString$9 = uncurryThis$n(1.0.toString);
364
+ var toString$9 = uncurryThis$l(1.0.toString);
365
365
 
366
366
  var uid$2 = function (key) {
367
367
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$9(++id + postfix, 36);
@@ -386,14 +386,14 @@ var wellKnownSymbol$j = function (name) {
386
386
  } return WellKnownSymbolsStore[name];
387
387
  };
388
388
 
389
- var call$n = functionCall;
389
+ var call$l = functionCall;
390
390
  var isObject$9 = isObject$b;
391
391
  var isSymbol$2 = isSymbol$3;
392
392
  var getMethod$4 = getMethod$5;
393
393
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
394
394
  var wellKnownSymbol$i = wellKnownSymbol$j;
395
395
 
396
- var $TypeError$e = TypeError;
396
+ var $TypeError$b = TypeError;
397
397
  var TO_PRIMITIVE = wellKnownSymbol$i('toPrimitive');
398
398
 
399
399
  // `ToPrimitive` abstract operation
@@ -404,9 +404,9 @@ var toPrimitive$1 = function (input, pref) {
404
404
  var result;
405
405
  if (exoticToPrim) {
406
406
  if (pref === undefined) pref = 'default';
407
- result = call$n(exoticToPrim, input, pref);
407
+ result = call$l(exoticToPrim, input, pref);
408
408
  if (!isObject$9(result) || isSymbol$2(result)) return result;
409
- throw new $TypeError$e("Can't convert object to primitive value");
409
+ throw new $TypeError$b("Can't convert object to primitive value");
410
410
  }
411
411
  if (pref === undefined) pref = 'number';
412
412
  return ordinaryToPrimitive(input, pref);
@@ -433,20 +433,20 @@ var documentCreateElement$2 = function (it) {
433
433
  return EXISTS$1 ? document$3.createElement(it) : {};
434
434
  };
435
435
 
436
- var DESCRIPTORS$i = descriptors;
437
- var fails$j = fails$o;
436
+ var DESCRIPTORS$h = descriptors;
437
+ var fails$h = fails$m;
438
438
  var createElement$1 = documentCreateElement$2;
439
439
 
440
440
  // Thanks to IE8 for its funny defineProperty
441
- var ie8DomDefine = !DESCRIPTORS$i && !fails$j(function () {
441
+ var ie8DomDefine = !DESCRIPTORS$h && !fails$h(function () {
442
442
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
443
443
  return Object.defineProperty(createElement$1('div'), 'a', {
444
444
  get: function () { return 7; }
445
445
  }).a !== 7;
446
446
  });
447
447
 
448
- var DESCRIPTORS$h = descriptors;
449
- var call$m = functionCall;
448
+ var DESCRIPTORS$g = descriptors;
449
+ var call$k = functionCall;
450
450
  var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
451
451
  var createPropertyDescriptor$4 = createPropertyDescriptor$5;
452
452
  var toIndexedObject$4 = toIndexedObject$5;
@@ -459,23 +459,23 @@ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
459
459
 
460
460
  // `Object.getOwnPropertyDescriptor` method
461
461
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
462
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$h ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
462
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$g ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
463
463
  O = toIndexedObject$4(O);
464
464
  P = toPropertyKey$1(P);
465
465
  if (IE8_DOM_DEFINE$1) try {
466
466
  return $getOwnPropertyDescriptor$1(O, P);
467
467
  } catch (error) { /* empty */ }
468
- if (hasOwn$c(O, P)) return createPropertyDescriptor$4(!call$m(propertyIsEnumerableModule$1.f, O, P), O[P]);
468
+ if (hasOwn$c(O, P)) return createPropertyDescriptor$4(!call$k(propertyIsEnumerableModule$1.f, O, P), O[P]);
469
469
  };
470
470
 
471
471
  var objectDefineProperty = {};
472
472
 
473
- var DESCRIPTORS$g = descriptors;
474
- var fails$i = fails$o;
473
+ var DESCRIPTORS$f = descriptors;
474
+ var fails$g = fails$m;
475
475
 
476
476
  // V8 ~ Chrome 36-
477
477
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
478
- var v8PrototypeDefineBug = DESCRIPTORS$g && fails$i(function () {
478
+ var v8PrototypeDefineBug = DESCRIPTORS$f && fails$g(function () {
479
479
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
480
480
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
481
481
  value: 42,
@@ -486,21 +486,21 @@ var v8PrototypeDefineBug = DESCRIPTORS$g && fails$i(function () {
486
486
  var isObject$7 = isObject$b;
487
487
 
488
488
  var $String$4 = String;
489
- var $TypeError$d = TypeError;
489
+ var $TypeError$a = TypeError;
490
490
 
491
491
  // `Assert: Type(argument) is Object`
492
- var anObject$j = function (argument) {
492
+ var anObject$h = function (argument) {
493
493
  if (isObject$7(argument)) return argument;
494
- throw new $TypeError$d($String$4(argument) + ' is not an object');
494
+ throw new $TypeError$a($String$4(argument) + ' is not an object');
495
495
  };
496
496
 
497
- var DESCRIPTORS$f = descriptors;
497
+ var DESCRIPTORS$e = descriptors;
498
498
  var IE8_DOM_DEFINE = ie8DomDefine;
499
499
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
500
- var anObject$i = anObject$j;
500
+ var anObject$g = anObject$h;
501
501
  var toPropertyKey = toPropertyKey$2;
502
502
 
503
- var $TypeError$c = TypeError;
503
+ var $TypeError$9 = TypeError;
504
504
  // eslint-disable-next-line es/no-object-defineproperty -- safe
505
505
  var $defineProperty = Object.defineProperty;
506
506
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
@@ -511,10 +511,10 @@ var WRITABLE = 'writable';
511
511
 
512
512
  // `Object.defineProperty` method
513
513
  // https://tc39.es/ecma262/#sec-object.defineproperty
514
- objectDefineProperty.f = DESCRIPTORS$f ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
515
- anObject$i(O);
514
+ objectDefineProperty.f = DESCRIPTORS$e ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
515
+ anObject$g(O);
516
516
  P = toPropertyKey(P);
517
- anObject$i(Attributes);
517
+ anObject$g(Attributes);
518
518
  if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
519
519
  var current = $getOwnPropertyDescriptor(O, P);
520
520
  if (current && current[WRITABLE]) {
@@ -527,22 +527,22 @@ objectDefineProperty.f = DESCRIPTORS$f ? V8_PROTOTYPE_DEFINE_BUG$1 ? function de
527
527
  }
528
528
  } return $defineProperty(O, P, Attributes);
529
529
  } : $defineProperty : function defineProperty(O, P, Attributes) {
530
- anObject$i(O);
530
+ anObject$g(O);
531
531
  P = toPropertyKey(P);
532
- anObject$i(Attributes);
532
+ anObject$g(Attributes);
533
533
  if (IE8_DOM_DEFINE) try {
534
534
  return $defineProperty(O, P, Attributes);
535
535
  } catch (error) { /* empty */ }
536
- if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$c('Accessors not supported');
536
+ if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$9('Accessors not supported');
537
537
  if ('value' in Attributes) O[P] = Attributes.value;
538
538
  return O;
539
539
  };
540
540
 
541
- var DESCRIPTORS$e = descriptors;
541
+ var DESCRIPTORS$d = descriptors;
542
542
  var definePropertyModule$4 = objectDefineProperty;
543
543
  var createPropertyDescriptor$3 = createPropertyDescriptor$5;
544
544
 
545
- var createNonEnumerableProperty$6 = DESCRIPTORS$e ? function (object, key, value) {
545
+ var createNonEnumerableProperty$6 = DESCRIPTORS$d ? function (object, key, value) {
546
546
  return definePropertyModule$4.f(object, key, createPropertyDescriptor$3(1, value));
547
547
  } : function (object, key, value) {
548
548
  object[key] = value;
@@ -551,28 +551,28 @@ var createNonEnumerableProperty$6 = DESCRIPTORS$e ? function (object, key, value
551
551
 
552
552
  var makeBuiltIn$3 = {exports: {}};
553
553
 
554
- var DESCRIPTORS$d = descriptors;
554
+ var DESCRIPTORS$c = descriptors;
555
555
  var hasOwn$b = hasOwnProperty_1;
556
556
 
557
557
  var FunctionPrototype$1 = Function.prototype;
558
558
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
559
- var getDescriptor = DESCRIPTORS$d && Object.getOwnPropertyDescriptor;
559
+ var getDescriptor = DESCRIPTORS$c && Object.getOwnPropertyDescriptor;
560
560
 
561
561
  var EXISTS = hasOwn$b(FunctionPrototype$1, 'name');
562
562
  // additional protection from minified / mangled / dropped function names
563
563
  var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
564
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$d || (DESCRIPTORS$d && getDescriptor(FunctionPrototype$1, 'name').configurable));
564
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$c || (DESCRIPTORS$c && getDescriptor(FunctionPrototype$1, 'name').configurable));
565
565
 
566
566
  var functionName = {
567
567
  PROPER: PROPER,
568
568
  CONFIGURABLE: CONFIGURABLE
569
569
  };
570
570
 
571
- var uncurryThis$m = functionUncurryThis;
571
+ var uncurryThis$k = functionUncurryThis;
572
572
  var isCallable$i = isCallable$o;
573
573
  var store$1 = sharedStoreExports;
574
574
 
575
- var functionToString = uncurryThis$m(Function.toString);
575
+ var functionToString = uncurryThis$k(Function.toString);
576
576
 
577
577
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
578
578
  if (!isCallable$i(store$1.inspectSource)) {
@@ -593,10 +593,10 @@ var weakMapBasicDetection = isCallable$h(WeakMap$1) && /native code/.test(String
593
593
  var shared$2 = shared$4;
594
594
  var uid = uid$2;
595
595
 
596
- var keys$1 = shared$2('keys');
596
+ var keys = shared$2('keys');
597
597
 
598
598
  var sharedKey$3 = function (key) {
599
- return keys$1[key] || (keys$1[key] = uid(key));
599
+ return keys[key] || (keys[key] = uid(key));
600
600
  };
601
601
 
602
602
  var hiddenKeys$4 = {};
@@ -613,10 +613,10 @@ var hiddenKeys$3 = hiddenKeys$4;
613
613
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
614
614
  var TypeError$4 = global$g.TypeError;
615
615
  var WeakMap = global$g.WeakMap;
616
- var set$1, get, has$6;
616
+ var set$1, get, has;
617
617
 
618
618
  var enforce = function (it) {
619
- return has$6(it) ? get(it) : set$1(it, {});
619
+ return has(it) ? get(it) : set$1(it, {});
620
620
  };
621
621
 
622
622
  var getterFor = function (TYPE) {
@@ -644,7 +644,7 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
644
644
  get = function (it) {
645
645
  return store.get(it) || {};
646
646
  };
647
- has$6 = function (it) {
647
+ has = function (it) {
648
648
  return store.has(it);
649
649
  };
650
650
  } else {
@@ -659,7 +659,7 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
659
659
  get = function (it) {
660
660
  return hasOwn$a(it, STATE) ? it[STATE] : {};
661
661
  };
662
- has$6 = function (it) {
662
+ has = function (it) {
663
663
  return hasOwn$a(it, STATE);
664
664
  };
665
665
  }
@@ -667,16 +667,16 @@ if (NATIVE_WEAK_MAP || shared$1.state) {
667
667
  var internalState = {
668
668
  set: set$1,
669
669
  get: get,
670
- has: has$6,
670
+ has: has,
671
671
  enforce: enforce,
672
672
  getterFor: getterFor
673
673
  };
674
674
 
675
- var uncurryThis$l = functionUncurryThis;
676
- var fails$h = fails$o;
675
+ var uncurryThis$j = functionUncurryThis;
676
+ var fails$f = fails$m;
677
677
  var isCallable$g = isCallable$o;
678
678
  var hasOwn$9 = hasOwnProperty_1;
679
- var DESCRIPTORS$c = descriptors;
679
+ var DESCRIPTORS$b = descriptors;
680
680
  var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
681
681
  var inspectSource$2 = inspectSource$3;
682
682
  var InternalStateModule$6 = internalState;
@@ -686,11 +686,11 @@ var getInternalState$3 = InternalStateModule$6.get;
686
686
  var $String$3 = String;
687
687
  // eslint-disable-next-line es/no-object-defineproperty -- safe
688
688
  var defineProperty$5 = Object.defineProperty;
689
- var stringSlice$4 = uncurryThis$l(''.slice);
690
- var replace$6 = uncurryThis$l(''.replace);
691
- var join$3 = uncurryThis$l([].join);
689
+ var stringSlice$4 = uncurryThis$j(''.slice);
690
+ var replace$6 = uncurryThis$j(''.replace);
691
+ var join$3 = uncurryThis$j([].join);
692
692
 
693
- var CONFIGURABLE_LENGTH = DESCRIPTORS$c && !fails$h(function () {
693
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$b && !fails$f(function () {
694
694
  return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
695
695
  });
696
696
 
@@ -703,7 +703,7 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
703
703
  if (options && options.getter) name = 'get ' + name;
704
704
  if (options && options.setter) name = 'set ' + name;
705
705
  if (!hasOwn$9(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
706
- if (DESCRIPTORS$c) defineProperty$5(value, 'name', { value: name, configurable: true });
706
+ if (DESCRIPTORS$b) defineProperty$5(value, 'name', { value: name, configurable: true });
707
707
  else value.name = name;
708
708
  }
709
709
  if (CONFIGURABLE_LENGTH && options && hasOwn$9(options, 'arity') && value.length !== options.arity) {
@@ -711,7 +711,7 @@ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
711
711
  }
712
712
  try {
713
713
  if (options && hasOwn$9(options, 'constructor') && options.constructor) {
714
- if (DESCRIPTORS$c) defineProperty$5(value, 'prototype', { writable: false });
714
+ if (DESCRIPTORS$b) defineProperty$5(value, 'prototype', { writable: false });
715
715
  // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
716
716
  } else if (value.prototype) value.prototype = undefined;
717
717
  } catch (error) { /* empty */ }
@@ -774,33 +774,33 @@ var trunc = mathTrunc;
774
774
 
775
775
  // `ToIntegerOrInfinity` abstract operation
776
776
  // https://tc39.es/ecma262/#sec-tointegerorinfinity
777
- var toIntegerOrInfinity$4 = function (argument) {
777
+ var toIntegerOrInfinity$3 = function (argument) {
778
778
  var number = +argument;
779
779
  // eslint-disable-next-line no-self-compare -- NaN check
780
780
  return number !== number || number === 0 ? 0 : trunc(number);
781
781
  };
782
782
 
783
- var toIntegerOrInfinity$3 = toIntegerOrInfinity$4;
783
+ var toIntegerOrInfinity$2 = toIntegerOrInfinity$3;
784
784
 
785
- var max$1 = Math.max;
785
+ var max = Math.max;
786
786
  var min$1 = Math.min;
787
787
 
788
788
  // Helper for a popular repeating case of the spec:
789
789
  // Let integer be ? ToInteger(index).
790
790
  // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
791
791
  var toAbsoluteIndex$1 = function (index, length) {
792
- var integer = toIntegerOrInfinity$3(index);
793
- return integer < 0 ? max$1(integer + length, 0) : min$1(integer, length);
792
+ var integer = toIntegerOrInfinity$2(index);
793
+ return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
794
794
  };
795
795
 
796
- var toIntegerOrInfinity$2 = toIntegerOrInfinity$4;
796
+ var toIntegerOrInfinity$1 = toIntegerOrInfinity$3;
797
797
 
798
798
  var min = Math.min;
799
799
 
800
800
  // `ToLength` abstract operation
801
801
  // https://tc39.es/ecma262/#sec-tolength
802
802
  var toLength$1 = function (argument) {
803
- var len = toIntegerOrInfinity$2(argument);
803
+ var len = toIntegerOrInfinity$1(argument);
804
804
  return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
805
805
  };
806
806
 
@@ -808,19 +808,19 @@ var toLength = toLength$1;
808
808
 
809
809
  // `LengthOfArrayLike` abstract operation
810
810
  // https://tc39.es/ecma262/#sec-lengthofarraylike
811
- var lengthOfArrayLike$4 = function (obj) {
811
+ var lengthOfArrayLike$3 = function (obj) {
812
812
  return toLength(obj.length);
813
813
  };
814
814
 
815
815
  var toIndexedObject$3 = toIndexedObject$5;
816
816
  var toAbsoluteIndex = toAbsoluteIndex$1;
817
- var lengthOfArrayLike$3 = lengthOfArrayLike$4;
817
+ var lengthOfArrayLike$2 = lengthOfArrayLike$3;
818
818
 
819
819
  // `Array.prototype.{ indexOf, includes }` methods implementation
820
820
  var createMethod$2 = function (IS_INCLUDES) {
821
821
  return function ($this, el, fromIndex) {
822
822
  var O = toIndexedObject$3($this);
823
- var length = lengthOfArrayLike$3(O);
823
+ var length = lengthOfArrayLike$2(O);
824
824
  if (length === 0) return !IS_INCLUDES && -1;
825
825
  var index = toAbsoluteIndex(fromIndex, length);
826
826
  var value;
@@ -843,13 +843,13 @@ var arrayIncludes = {
843
843
  indexOf: createMethod$2(false)
844
844
  };
845
845
 
846
- var uncurryThis$k = functionUncurryThis;
846
+ var uncurryThis$i = functionUncurryThis;
847
847
  var hasOwn$8 = hasOwnProperty_1;
848
848
  var toIndexedObject$2 = toIndexedObject$5;
849
849
  var indexOf$1 = arrayIncludes.indexOf;
850
850
  var hiddenKeys$2 = hiddenKeys$4;
851
851
 
852
- var push$5 = uncurryThis$k([].push);
852
+ var push$5 = uncurryThis$i([].push);
853
853
 
854
854
  var objectKeysInternal = function (object, names) {
855
855
  var O = toIndexedObject$2(object);
@@ -892,17 +892,17 @@ var objectGetOwnPropertySymbols = {};
892
892
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
893
893
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
894
894
 
895
- var getBuiltIn$7 = getBuiltIn$9;
896
- var uncurryThis$j = functionUncurryThis;
895
+ var getBuiltIn$6 = getBuiltIn$8;
896
+ var uncurryThis$h = functionUncurryThis;
897
897
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
898
898
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
899
- var anObject$h = anObject$j;
899
+ var anObject$f = anObject$h;
900
900
 
901
- var concat$1 = uncurryThis$j([].concat);
901
+ var concat$1 = uncurryThis$h([].concat);
902
902
 
903
903
  // all object keys, includes non-enumerable and symbols
904
- var ownKeys$1 = getBuiltIn$7('Reflect', 'ownKeys') || function ownKeys(it) {
905
- var keys = getOwnPropertyNamesModule.f(anObject$h(it));
904
+ var ownKeys$1 = getBuiltIn$6('Reflect', 'ownKeys') || function ownKeys(it) {
905
+ var keys = getOwnPropertyNamesModule.f(anObject$f(it));
906
906
  var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
907
907
  return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
908
908
  };
@@ -924,7 +924,7 @@ var copyConstructorProperties$1 = function (target, source, exceptions) {
924
924
  }
925
925
  };
926
926
 
927
- var fails$g = fails$o;
927
+ var fails$e = fails$m;
928
928
  var isCallable$e = isCallable$o;
929
929
 
930
930
  var replacement = /#|\.prototype\./;
@@ -933,7 +933,7 @@ var isForced$2 = function (feature, detection) {
933
933
  var value = data[normalize(feature)];
934
934
  return value === POLYFILL ? true
935
935
  : value === NATIVE ? false
936
- : isCallable$e(detection) ? fails$g(detection)
936
+ : isCallable$e(detection) ? fails$e(detection)
937
937
  : !!detection;
938
938
  };
939
939
 
@@ -948,7 +948,7 @@ var POLYFILL = isForced$2.POLYFILL = 'P';
948
948
  var isForced_1 = isForced$2;
949
949
 
950
950
  var global$f = global$o;
951
- var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f;
951
+ var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
952
952
  var createNonEnumerableProperty$4 = createNonEnumerableProperty$6;
953
953
  var defineBuiltIn$b = defineBuiltIn$c;
954
954
  var defineGlobalProperty = defineGlobalProperty$3;
@@ -985,7 +985,7 @@ var _export = function (options, source) {
985
985
  if (target) for (key in source) {
986
986
  sourceProperty = source[key];
987
987
  if (options.dontCallGetSet) {
988
- descriptor = getOwnPropertyDescriptor$2(target, key);
988
+ descriptor = getOwnPropertyDescriptor$1(target, key);
989
989
  targetProperty = descriptor && descriptor.value;
990
990
  } else targetProperty = target[key];
991
991
  FORCED = isForced$1(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
@@ -1004,16 +1004,16 @@ var _export = function (options, source) {
1004
1004
 
1005
1005
  var isPrototypeOf$2 = objectIsPrototypeOf;
1006
1006
 
1007
- var $TypeError$b = TypeError;
1007
+ var $TypeError$8 = TypeError;
1008
1008
 
1009
1009
  var anInstance$4 = function (it, Prototype) {
1010
1010
  if (isPrototypeOf$2(Prototype, it)) return it;
1011
- throw new $TypeError$b('Incorrect invocation');
1011
+ throw new $TypeError$8('Incorrect invocation');
1012
1012
  };
1013
1013
 
1014
- var fails$f = fails$o;
1014
+ var fails$d = fails$m;
1015
1015
 
1016
- var correctPrototypeGetter = !fails$f(function () {
1016
+ var correctPrototypeGetter = !fails$d(function () {
1017
1017
  function F() { /* empty */ }
1018
1018
  F.prototype.constructor = null;
1019
1019
  // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
@@ -1022,7 +1022,7 @@ var correctPrototypeGetter = !fails$f(function () {
1022
1022
 
1023
1023
  var hasOwn$6 = hasOwnProperty_1;
1024
1024
  var isCallable$d = isCallable$o;
1025
- var toObject$3 = toObject$5;
1025
+ var toObject$2 = toObject$4;
1026
1026
  var sharedKey$1 = sharedKey$3;
1027
1027
  var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1028
1028
 
@@ -1034,7 +1034,7 @@ var ObjectPrototype = $Object$1.prototype;
1034
1034
  // https://tc39.es/ecma262/#sec-object.getprototypeof
1035
1035
  // eslint-disable-next-line es/no-object-getprototypeof -- safe
1036
1036
  var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
1037
- var object = toObject$3(O);
1037
+ var object = toObject$2(O);
1038
1038
  if (hasOwn$6(object, IE_PROTO$1)) return object[IE_PROTO$1];
1039
1039
  var constructor = object.constructor;
1040
1040
  if (isCallable$d(constructor) && object instanceof constructor) {
@@ -1051,12 +1051,12 @@ var defineBuiltInAccessor$5 = function (target, name, descriptor) {
1051
1051
  return defineProperty$4.f(target, name, descriptor);
1052
1052
  };
1053
1053
 
1054
- var DESCRIPTORS$b = descriptors;
1054
+ var DESCRIPTORS$a = descriptors;
1055
1055
  var definePropertyModule$1 = objectDefineProperty;
1056
1056
  var createPropertyDescriptor$2 = createPropertyDescriptor$5;
1057
1057
 
1058
1058
  var createProperty$2 = function (object, key, value) {
1059
- if (DESCRIPTORS$b) definePropertyModule$1.f(object, key, createPropertyDescriptor$2(0, value));
1059
+ if (DESCRIPTORS$a) definePropertyModule$1.f(object, key, createPropertyDescriptor$2(0, value));
1060
1060
  else object[key] = value;
1061
1061
  };
1062
1062
 
@@ -1072,18 +1072,18 @@ var objectKeys$2 = Object.keys || function keys(O) {
1072
1072
  return internalObjectKeys(O, enumBugKeys$1);
1073
1073
  };
1074
1074
 
1075
- var DESCRIPTORS$a = descriptors;
1075
+ var DESCRIPTORS$9 = descriptors;
1076
1076
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1077
1077
  var definePropertyModule = objectDefineProperty;
1078
- var anObject$g = anObject$j;
1078
+ var anObject$e = anObject$h;
1079
1079
  var toIndexedObject$1 = toIndexedObject$5;
1080
1080
  var objectKeys$1 = objectKeys$2;
1081
1081
 
1082
1082
  // `Object.defineProperties` method
1083
1083
  // https://tc39.es/ecma262/#sec-object.defineproperties
1084
1084
  // eslint-disable-next-line es/no-object-defineproperties -- safe
1085
- objectDefineProperties.f = DESCRIPTORS$a && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1086
- anObject$g(O);
1085
+ objectDefineProperties.f = DESCRIPTORS$9 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1086
+ anObject$e(O);
1087
1087
  var props = toIndexedObject$1(Properties);
1088
1088
  var keys = objectKeys$1(Properties);
1089
1089
  var length = keys.length;
@@ -1093,12 +1093,12 @@ objectDefineProperties.f = DESCRIPTORS$a && !V8_PROTOTYPE_DEFINE_BUG ? Object.de
1093
1093
  return O;
1094
1094
  };
1095
1095
 
1096
- var getBuiltIn$6 = getBuiltIn$9;
1096
+ var getBuiltIn$5 = getBuiltIn$8;
1097
1097
 
1098
- var html$2 = getBuiltIn$6('document', 'documentElement');
1098
+ var html$2 = getBuiltIn$5('document', 'documentElement');
1099
1099
 
1100
1100
  /* global ActiveXObject -- old IE, WSH */
1101
- var anObject$f = anObject$j;
1101
+ var anObject$d = anObject$h;
1102
1102
  var definePropertiesModule = objectDefineProperties;
1103
1103
  var enumBugKeys = enumBugKeys$3;
1104
1104
  var hiddenKeys = hiddenKeys$4;
@@ -1172,7 +1172,7 @@ hiddenKeys[IE_PROTO] = true;
1172
1172
  var objectCreate = Object.create || function create(O, Properties) {
1173
1173
  var result;
1174
1174
  if (O !== null) {
1175
- EmptyConstructor[PROTOTYPE] = anObject$f(O);
1175
+ EmptyConstructor[PROTOTYPE] = anObject$d(O);
1176
1176
  result = new EmptyConstructor();
1177
1177
  EmptyConstructor[PROTOTYPE] = null;
1178
1178
  // add "__proto__" for Object.getPrototypeOf polyfill
@@ -1181,7 +1181,7 @@ var objectCreate = Object.create || function create(O, Properties) {
1181
1181
  return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
1182
1182
  };
1183
1183
 
1184
- var fails$e = fails$o;
1184
+ var fails$c = fails$m;
1185
1185
  var isCallable$c = isCallable$o;
1186
1186
  var isObject$5 = isObject$b;
1187
1187
  var getPrototypeOf$2 = objectGetPrototypeOf;
@@ -1206,7 +1206,7 @@ if ([].keys) {
1206
1206
  }
1207
1207
  }
1208
1208
 
1209
- var NEW_ITERATOR_PROTOTYPE = !isObject$5(IteratorPrototype$4) || fails$e(function () {
1209
+ var NEW_ITERATOR_PROTOTYPE = !isObject$5(IteratorPrototype$4) || fails$c(function () {
1210
1210
  var test = {};
1211
1211
  // FF44- legacy iterators case
1212
1212
  return IteratorPrototype$4[ITERATOR$8].call(test) !== test;
@@ -1227,48 +1227,48 @@ var iteratorsCore = {
1227
1227
  BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
1228
1228
  };
1229
1229
 
1230
- var $$o = _export;
1230
+ var $$f = _export;
1231
1231
  var global$e = global$o;
1232
1232
  var anInstance$3 = anInstance$4;
1233
- var anObject$e = anObject$j;
1233
+ var anObject$c = anObject$h;
1234
1234
  var isCallable$b = isCallable$o;
1235
1235
  var getPrototypeOf$1 = objectGetPrototypeOf;
1236
1236
  var defineBuiltInAccessor$4 = defineBuiltInAccessor$5;
1237
1237
  var createProperty$1 = createProperty$2;
1238
- var fails$d = fails$o;
1238
+ var fails$b = fails$m;
1239
1239
  var hasOwn$5 = hasOwnProperty_1;
1240
1240
  var wellKnownSymbol$g = wellKnownSymbol$j;
1241
1241
  var IteratorPrototype$3 = iteratorsCore.IteratorPrototype;
1242
- var DESCRIPTORS$9 = descriptors;
1242
+ var DESCRIPTORS$8 = descriptors;
1243
1243
 
1244
1244
  var CONSTRUCTOR = 'constructor';
1245
1245
  var ITERATOR$7 = 'Iterator';
1246
1246
  var TO_STRING_TAG$4 = wellKnownSymbol$g('toStringTag');
1247
1247
 
1248
- var $TypeError$a = TypeError;
1248
+ var $TypeError$7 = TypeError;
1249
1249
  var NativeIterator = global$e[ITERATOR$7];
1250
1250
 
1251
1251
  // FF56- have non-standard global helper `Iterator`
1252
- var FORCED$1 = !isCallable$b(NativeIterator)
1252
+ var FORCED = !isCallable$b(NativeIterator)
1253
1253
  || NativeIterator.prototype !== IteratorPrototype$3
1254
1254
  // FF44- non-standard `Iterator` passes previous tests
1255
- || !fails$d(function () { NativeIterator({}); });
1255
+ || !fails$b(function () { NativeIterator({}); });
1256
1256
 
1257
1257
  var IteratorConstructor = function Iterator() {
1258
1258
  anInstance$3(this, IteratorPrototype$3);
1259
- if (getPrototypeOf$1(this) === IteratorPrototype$3) throw new $TypeError$a('Abstract class Iterator not directly constructable');
1259
+ if (getPrototypeOf$1(this) === IteratorPrototype$3) throw new $TypeError$7('Abstract class Iterator not directly constructable');
1260
1260
  };
1261
1261
 
1262
1262
  var defineIteratorPrototypeAccessor = function (key, value) {
1263
- if (DESCRIPTORS$9) {
1263
+ if (DESCRIPTORS$8) {
1264
1264
  defineBuiltInAccessor$4(IteratorPrototype$3, key, {
1265
1265
  configurable: true,
1266
1266
  get: function () {
1267
1267
  return value;
1268
1268
  },
1269
1269
  set: function (replacement) {
1270
- anObject$e(this);
1271
- if (this === IteratorPrototype$3) throw new $TypeError$a("You can't redefine this property");
1270
+ anObject$c(this);
1271
+ if (this === IteratorPrototype$3) throw new $TypeError$7("You can't redefine this property");
1272
1272
  if (hasOwn$5(this, key)) this[key] = replacement;
1273
1273
  else createProperty$1(this, key, replacement);
1274
1274
  }
@@ -1278,7 +1278,7 @@ var defineIteratorPrototypeAccessor = function (key, value) {
1278
1278
 
1279
1279
  if (!hasOwn$5(IteratorPrototype$3, TO_STRING_TAG$4)) defineIteratorPrototypeAccessor(TO_STRING_TAG$4, ITERATOR$7);
1280
1280
 
1281
- if (FORCED$1 || !hasOwn$5(IteratorPrototype$3, CONSTRUCTOR) || IteratorPrototype$3[CONSTRUCTOR] === Object) {
1281
+ if (FORCED || !hasOwn$5(IteratorPrototype$3, CONSTRUCTOR) || IteratorPrototype$3[CONSTRUCTOR] === Object) {
1282
1282
  defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
1283
1283
  }
1284
1284
 
@@ -1286,13 +1286,13 @@ IteratorConstructor.prototype = IteratorPrototype$3;
1286
1286
 
1287
1287
  // `Iterator` constructor
1288
1288
  // https://github.com/tc39/proposal-iterator-helpers
1289
- $$o({ global: true, constructor: true, forced: FORCED$1 }, {
1289
+ $$f({ global: true, constructor: true, forced: FORCED }, {
1290
1290
  Iterator: IteratorConstructor
1291
1291
  });
1292
1292
 
1293
1293
  // `GetIteratorDirect(obj)` abstract operation
1294
1294
  // https://tc39.es/proposal-iterator-helpers/#sec-getiteratordirect
1295
- var getIteratorDirect$3 = function (obj) {
1295
+ var getIteratorDirect$1 = function (obj) {
1296
1296
  return {
1297
1297
  iterator: obj,
1298
1298
  next: obj.next,
@@ -1313,31 +1313,31 @@ var createIterResultObject$4 = function (value, done) {
1313
1313
  return { value: value, done: done };
1314
1314
  };
1315
1315
 
1316
- var call$l = functionCall;
1317
- var anObject$d = anObject$j;
1316
+ var call$j = functionCall;
1317
+ var anObject$b = anObject$h;
1318
1318
  var getMethod$3 = getMethod$5;
1319
1319
 
1320
- var iteratorClose$5 = function (iterator, kind, value) {
1320
+ var iteratorClose$3 = function (iterator, kind, value) {
1321
1321
  var innerResult, innerError;
1322
- anObject$d(iterator);
1322
+ anObject$b(iterator);
1323
1323
  try {
1324
1324
  innerResult = getMethod$3(iterator, 'return');
1325
1325
  if (!innerResult) {
1326
1326
  if (kind === 'throw') throw value;
1327
1327
  return value;
1328
1328
  }
1329
- innerResult = call$l(innerResult, iterator);
1329
+ innerResult = call$j(innerResult, iterator);
1330
1330
  } catch (error) {
1331
1331
  innerError = true;
1332
1332
  innerResult = error;
1333
1333
  }
1334
1334
  if (kind === 'throw') throw value;
1335
1335
  if (innerError) throw innerResult;
1336
- anObject$d(innerResult);
1336
+ anObject$b(innerResult);
1337
1337
  return value;
1338
1338
  };
1339
1339
 
1340
- var call$k = functionCall;
1340
+ var call$i = functionCall;
1341
1341
  var create$4 = objectCreate;
1342
1342
  var createNonEnumerableProperty$3 = createNonEnumerableProperty$6;
1343
1343
  var defineBuiltIns$1 = defineBuiltIns$2;
@@ -1346,7 +1346,7 @@ var InternalStateModule$5 = internalState;
1346
1346
  var getMethod$2 = getMethod$5;
1347
1347
  var IteratorPrototype$2 = iteratorsCore.IteratorPrototype;
1348
1348
  var createIterResultObject$3 = createIterResultObject$4;
1349
- var iteratorClose$4 = iteratorClose$5;
1349
+ var iteratorClose$2 = iteratorClose$3;
1350
1350
 
1351
1351
  var TO_STRING_TAG$3 = wellKnownSymbol$f('toStringTag');
1352
1352
  var ITERATOR_HELPER = 'IteratorHelper';
@@ -1377,14 +1377,14 @@ var createIteratorProxyPrototype = function (IS_ITERATOR) {
1377
1377
  state.done = true;
1378
1378
  if (IS_ITERATOR) {
1379
1379
  var returnMethod = getMethod$2(iterator, 'return');
1380
- return returnMethod ? call$k(returnMethod, iterator) : createIterResultObject$3(undefined, true);
1380
+ return returnMethod ? call$i(returnMethod, iterator) : createIterResultObject$3(undefined, true);
1381
1381
  }
1382
1382
  if (state.inner) try {
1383
- iteratorClose$4(state.inner.iterator, 'normal');
1383
+ iteratorClose$2(state.inner.iterator, 'normal');
1384
1384
  } catch (error) {
1385
- return iteratorClose$4(iterator, 'throw', error);
1385
+ return iteratorClose$2(iterator, 'throw', error);
1386
1386
  }
1387
- iteratorClose$4(iterator, 'normal');
1387
+ iteratorClose$2(iterator, 'normal');
1388
1388
  return createIterResultObject$3(undefined, true);
1389
1389
  }
1390
1390
  });
@@ -1413,28 +1413,28 @@ var iteratorCreateProxy = function (nextHandler, IS_ITERATOR) {
1413
1413
  return IteratorProxy;
1414
1414
  };
1415
1415
 
1416
- var anObject$c = anObject$j;
1417
- var iteratorClose$3 = iteratorClose$5;
1416
+ var anObject$a = anObject$h;
1417
+ var iteratorClose$1 = iteratorClose$3;
1418
1418
 
1419
1419
  // call something on iterator step with safe closing on error
1420
1420
  var callWithSafeIterationClosing$2 = function (iterator, fn, value, ENTRIES) {
1421
1421
  try {
1422
- return ENTRIES ? fn(anObject$c(value)[0], value[1]) : fn(value);
1422
+ return ENTRIES ? fn(anObject$a(value)[0], value[1]) : fn(value);
1423
1423
  } catch (error) {
1424
- iteratorClose$3(iterator, 'throw', error);
1424
+ iteratorClose$1(iterator, 'throw', error);
1425
1425
  }
1426
1426
  };
1427
1427
 
1428
- var call$j = functionCall;
1429
- var aCallable$9 = aCallable$b;
1430
- var anObject$b = anObject$j;
1431
- var getIteratorDirect$2 = getIteratorDirect$3;
1428
+ var call$h = functionCall;
1429
+ var aCallable$7 = aCallable$9;
1430
+ var anObject$9 = anObject$h;
1431
+ var getIteratorDirect = getIteratorDirect$1;
1432
1432
  var createIteratorProxy = iteratorCreateProxy;
1433
1433
  var callWithSafeIterationClosing$1 = callWithSafeIterationClosing$2;
1434
1434
 
1435
1435
  var IteratorProxy = createIteratorProxy(function () {
1436
1436
  var iterator = this.iterator;
1437
- var result = anObject$b(call$j(this.next, iterator));
1437
+ var result = anObject$9(call$h(this.next, iterator));
1438
1438
  var done = this.done = !!result.done;
1439
1439
  if (!done) return callWithSafeIterationClosing$1(iterator, this.mapper, [result.value, this.counter++], true);
1440
1440
  });
@@ -1442,20 +1442,20 @@ var IteratorProxy = createIteratorProxy(function () {
1442
1442
  // `Iterator.prototype.map` method
1443
1443
  // https://github.com/tc39/proposal-iterator-helpers
1444
1444
  var iteratorMap = function map(mapper) {
1445
- anObject$b(this);
1446
- aCallable$9(mapper);
1447
- return new IteratorProxy(getIteratorDirect$2(this), {
1445
+ anObject$9(this);
1446
+ aCallable$7(mapper);
1447
+ return new IteratorProxy(getIteratorDirect(this), {
1448
1448
  mapper: mapper
1449
1449
  });
1450
1450
  };
1451
1451
 
1452
- var $$n = _export;
1452
+ var $$e = _export;
1453
1453
  var map = iteratorMap;
1454
1454
  var IS_PURE$1 = isPure;
1455
1455
 
1456
1456
  // `Iterator.prototype.map` method
1457
1457
  // https://github.com/tc39/proposal-iterator-helpers
1458
- $$n({ target: 'Iterator', proto: true, real: true, forced: IS_PURE$1 }, {
1458
+ $$e({ target: 'Iterator', proto: true, real: true, forced: IS_PURE$1 }, {
1459
1459
  map: map
1460
1460
  });
1461
1461
 
@@ -1511,13 +1511,13 @@ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUME
1511
1511
  return IteratorConstructor;
1512
1512
  };
1513
1513
 
1514
- var uncurryThis$i = functionUncurryThis;
1515
- var aCallable$8 = aCallable$b;
1514
+ var uncurryThis$g = functionUncurryThis;
1515
+ var aCallable$6 = aCallable$9;
1516
1516
 
1517
1517
  var functionUncurryThisAccessor = function (object, key, method) {
1518
1518
  try {
1519
1519
  // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1520
- return uncurryThis$i(aCallable$8(Object.getOwnPropertyDescriptor(object, key)[method]));
1520
+ return uncurryThis$g(aCallable$6(Object.getOwnPropertyDescriptor(object, key)[method]));
1521
1521
  } catch (error) { /* empty */ }
1522
1522
  };
1523
1523
 
@@ -1530,15 +1530,15 @@ var isPossiblePrototype$1 = function (argument) {
1530
1530
  var isPossiblePrototype = isPossiblePrototype$1;
1531
1531
 
1532
1532
  var $String$2 = String;
1533
- var $TypeError$9 = TypeError;
1533
+ var $TypeError$6 = TypeError;
1534
1534
 
1535
1535
  var aPossiblePrototype$1 = function (argument) {
1536
1536
  if (isPossiblePrototype(argument)) return argument;
1537
- throw new $TypeError$9("Can't set " + $String$2(argument) + ' as a prototype');
1537
+ throw new $TypeError$6("Can't set " + $String$2(argument) + ' as a prototype');
1538
1538
  };
1539
1539
 
1540
1540
  /* eslint-disable no-proto -- safe */
1541
- var uncurryThisAccessor$1 = functionUncurryThisAccessor;
1541
+ var uncurryThisAccessor = functionUncurryThisAccessor;
1542
1542
  var isObject$3 = isObject$b;
1543
1543
  var requireObjectCoercible$3 = requireObjectCoercible$6;
1544
1544
  var aPossiblePrototype = aPossiblePrototype$1;
@@ -1552,7 +1552,7 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1552
1552
  var test = {};
1553
1553
  var setter;
1554
1554
  try {
1555
- setter = uncurryThisAccessor$1(Object.prototype, '__proto__', 'set');
1555
+ setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
1556
1556
  setter(test, []);
1557
1557
  CORRECT_SETTER = test instanceof Array;
1558
1558
  } catch (error) { /* empty */ }
@@ -1566,8 +1566,8 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
1566
1566
  };
1567
1567
  }() : undefined);
1568
1568
 
1569
- var $$m = _export;
1570
- var call$i = functionCall;
1569
+ var $$d = _export;
1570
+ var call$g = functionCall;
1571
1571
  var FunctionName = functionName;
1572
1572
  var isCallable$a = isCallable$o;
1573
1573
  var createIteratorConstructor$1 = iteratorCreateConstructor;
@@ -1639,7 +1639,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1639
1639
  createNonEnumerableProperty$2(IterablePrototype, 'name', VALUES);
1640
1640
  } else {
1641
1641
  INCORRECT_VALUES_NAME = true;
1642
- defaultIterator = function values() { return call$i(nativeIterator, this); };
1642
+ defaultIterator = function values() { return call$g(nativeIterator, this); };
1643
1643
  }
1644
1644
  }
1645
1645
 
@@ -1654,7 +1654,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1654
1654
  if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1655
1655
  defineBuiltIn$8(IterablePrototype, KEY, methods[KEY]);
1656
1656
  }
1657
- } else $$m({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1657
+ } else $$d({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1658
1658
  }
1659
1659
 
1660
1660
  // define iterator
@@ -1673,7 +1673,7 @@ var InternalStateModule$4 = internalState;
1673
1673
  var defineProperty$1 = objectDefineProperty.f;
1674
1674
  var defineIterator$1 = iteratorDefine;
1675
1675
  var createIterResultObject$2 = createIterResultObject$4;
1676
- var DESCRIPTORS$8 = descriptors;
1676
+ var DESCRIPTORS$7 = descriptors;
1677
1677
 
1678
1678
  var ARRAY_ITERATOR = 'Array Iterator';
1679
1679
  var setInternalState$4 = InternalStateModule$4.set;
@@ -1723,7 +1723,7 @@ addToUnscopables('values');
1723
1723
  addToUnscopables('entries');
1724
1724
 
1725
1725
  // V8 ~ Chrome 45- bug
1726
- if (DESCRIPTORS$8 && values.name !== 'values') try {
1726
+ if (DESCRIPTORS$7 && values.name !== 'values') try {
1727
1727
  defineProperty$1(values, 'name', { value: 'values' });
1728
1728
  } catch (error) { /* empty */ }
1729
1729
 
@@ -1923,23 +1923,23 @@ var NATIVE_BIND$1 = functionBindNative;
1923
1923
 
1924
1924
  var FunctionPrototype = Function.prototype;
1925
1925
  var apply$2 = FunctionPrototype.apply;
1926
- var call$h = FunctionPrototype.call;
1926
+ var call$f = FunctionPrototype.call;
1927
1927
 
1928
1928
  // eslint-disable-next-line es/no-reflect -- safe
1929
- var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$h.bind(apply$2) : function () {
1930
- return call$h.apply(apply$2, arguments);
1929
+ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$f.bind(apply$2) : function () {
1930
+ return call$f.apply(apply$2, arguments);
1931
1931
  });
1932
1932
 
1933
- var uncurryThis$h = functionUncurryThis;
1933
+ var uncurryThis$f = functionUncurryThis;
1934
1934
 
1935
- var arraySlice$4 = uncurryThis$h([].slice);
1935
+ var arraySlice$4 = uncurryThis$f([].slice);
1936
1936
 
1937
1937
  var classof$8 = classofRaw$2;
1938
1938
 
1939
1939
  // `IsArray` abstract operation
1940
1940
  // https://tc39.es/ecma262/#sec-isarray
1941
1941
  // eslint-disable-next-line es/no-array-isarray -- safe
1942
- var isArray$2 = Array.isArray || function isArray(argument) {
1942
+ var isArray$1 = Array.isArray || function isArray(argument) {
1943
1943
  return classof$8(argument) === 'Array';
1944
1944
  };
1945
1945
 
@@ -1991,17 +1991,17 @@ var toString$8 = function (argument) {
1991
1991
  return $String$1(argument);
1992
1992
  };
1993
1993
 
1994
- var uncurryThis$g = functionUncurryThis;
1995
- var isArray$1 = isArray$2;
1994
+ var uncurryThis$e = functionUncurryThis;
1995
+ var isArray = isArray$1;
1996
1996
  var isCallable$8 = isCallable$o;
1997
1997
  var classof$5 = classofRaw$2;
1998
1998
  var toString$7 = toString$8;
1999
1999
 
2000
- var push$4 = uncurryThis$g([].push);
2000
+ var push$4 = uncurryThis$e([].push);
2001
2001
 
2002
2002
  var getJsonReplacerFunction = function (replacer) {
2003
2003
  if (isCallable$8(replacer)) return replacer;
2004
- if (!isArray$1(replacer)) return;
2004
+ if (!isArray(replacer)) return;
2005
2005
  var rawLength = replacer.length;
2006
2006
  var keys = [];
2007
2007
  for (var i = 0; i < rawLength; i++) {
@@ -2016,17 +2016,17 @@ var getJsonReplacerFunction = function (replacer) {
2016
2016
  root = false;
2017
2017
  return value;
2018
2018
  }
2019
- if (isArray$1(this)) return value;
2019
+ if (isArray(this)) return value;
2020
2020
  for (var j = 0; j < keysLength; j++) if (keys[j] === key) return value;
2021
2021
  };
2022
2022
  };
2023
2023
 
2024
- var $$l = _export;
2025
- var getBuiltIn$5 = getBuiltIn$9;
2024
+ var $$c = _export;
2025
+ var getBuiltIn$4 = getBuiltIn$8;
2026
2026
  var apply$1 = functionApply;
2027
- var call$g = functionCall;
2028
- var uncurryThis$f = functionUncurryThis;
2029
- var fails$c = fails$o;
2027
+ var call$e = functionCall;
2028
+ var uncurryThis$d = functionUncurryThis;
2029
+ var fails$a = fails$m;
2030
2030
  var isCallable$7 = isCallable$o;
2031
2031
  var isSymbol = isSymbol$3;
2032
2032
  var arraySlice$3 = arraySlice$4;
@@ -2034,19 +2034,19 @@ var getReplacerFunction = getJsonReplacerFunction;
2034
2034
  var NATIVE_SYMBOL = symbolConstructorDetection;
2035
2035
 
2036
2036
  var $String = String;
2037
- var $stringify = getBuiltIn$5('JSON', 'stringify');
2038
- var exec$4 = uncurryThis$f(/./.exec);
2039
- var charAt$5 = uncurryThis$f(''.charAt);
2040
- var charCodeAt$2 = uncurryThis$f(''.charCodeAt);
2041
- var replace$5 = uncurryThis$f(''.replace);
2042
- var numberToString$1 = uncurryThis$f(1.0.toString);
2037
+ var $stringify = getBuiltIn$4('JSON', 'stringify');
2038
+ var exec$4 = uncurryThis$d(/./.exec);
2039
+ var charAt$5 = uncurryThis$d(''.charAt);
2040
+ var charCodeAt$2 = uncurryThis$d(''.charCodeAt);
2041
+ var replace$5 = uncurryThis$d(''.replace);
2042
+ var numberToString$1 = uncurryThis$d(1.0.toString);
2043
2043
 
2044
2044
  var tester = /[\uD800-\uDFFF]/g;
2045
2045
  var low = /^[\uD800-\uDBFF]$/;
2046
2046
  var hi = /^[\uDC00-\uDFFF]$/;
2047
2047
 
2048
- var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails$c(function () {
2049
- var symbol = getBuiltIn$5('Symbol')('stringify detection');
2048
+ var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails$a(function () {
2049
+ var symbol = getBuiltIn$4('Symbol')('stringify detection');
2050
2050
  // MS Edge converts symbol values to JSON as {}
2051
2051
  return $stringify([symbol]) !== '[null]'
2052
2052
  // WebKit converts symbol values to JSON as null
@@ -2056,7 +2056,7 @@ var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails$c(function () {
2056
2056
  });
2057
2057
 
2058
2058
  // https://github.com/tc39/proposal-well-formed-stringify
2059
- var ILL_FORMED_UNICODE = fails$c(function () {
2059
+ var ILL_FORMED_UNICODE = fails$a(function () {
2060
2060
  return $stringify('\uDF06\uD834') !== '"\\udf06\\ud834"'
2061
2061
  || $stringify('\uDEAD') !== '"\\udead"';
2062
2062
  });
@@ -2067,7 +2067,7 @@ var stringifyWithSymbolsFix = function (it, replacer) {
2067
2067
  if (!isCallable$7($replacer) && (it === undefined || isSymbol(it))) return; // IE8 returns string on undefined
2068
2068
  args[1] = function (key, value) {
2069
2069
  // some old implementations (like WebKit) could pass numbers as keys
2070
- if (isCallable$7($replacer)) value = call$g($replacer, this, $String(key), value);
2070
+ if (isCallable$7($replacer)) value = call$e($replacer, this, $String(key), value);
2071
2071
  if (!isSymbol(value)) return value;
2072
2072
  };
2073
2073
  return apply$1($stringify, null, args);
@@ -2084,7 +2084,7 @@ var fixIllFormed = function (match, offset, string) {
2084
2084
  if ($stringify) {
2085
2085
  // `JSON.stringify` method
2086
2086
  // https://tc39.es/ecma262/#sec-json.stringify
2087
- $$l({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
2087
+ $$c({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
2088
2088
  // eslint-disable-next-line no-unused-vars -- required for `.length`
2089
2089
  stringify: function stringify(it, replacer, space) {
2090
2090
  var args = arraySlice$3(arguments);
@@ -2094,27 +2094,27 @@ if ($stringify) {
2094
2094
  });
2095
2095
  }
2096
2096
 
2097
- var DESCRIPTORS$7 = descriptors;
2098
- var uncurryThis$e = functionUncurryThis;
2099
- var call$f = functionCall;
2100
- var fails$b = fails$o;
2097
+ var DESCRIPTORS$6 = descriptors;
2098
+ var uncurryThis$c = functionUncurryThis;
2099
+ var call$d = functionCall;
2100
+ var fails$9 = fails$m;
2101
2101
  var objectKeys = objectKeys$2;
2102
2102
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
2103
2103
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
2104
- var toObject$2 = toObject$5;
2104
+ var toObject$1 = toObject$4;
2105
2105
  var IndexedObject = indexedObject;
2106
2106
 
2107
2107
  // eslint-disable-next-line es/no-object-assign -- safe
2108
2108
  var $assign = Object.assign;
2109
2109
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
2110
2110
  var defineProperty = Object.defineProperty;
2111
- var concat = uncurryThis$e([].concat);
2111
+ var concat = uncurryThis$c([].concat);
2112
2112
 
2113
2113
  // `Object.assign` method
2114
2114
  // https://tc39.es/ecma262/#sec-object.assign
2115
- var objectAssign = !$assign || fails$b(function () {
2115
+ var objectAssign = !$assign || fails$9(function () {
2116
2116
  // should have correct order of operations (Edge bug)
2117
- if (DESCRIPTORS$7 && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
2117
+ if (DESCRIPTORS$6 && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
2118
2118
  enumerable: true,
2119
2119
  get: function () {
2120
2120
  defineProperty(this, 'b', {
@@ -2133,793 +2133,122 @@ var objectAssign = !$assign || fails$b(function () {
2133
2133
  alphabet.split('').forEach(function (chr) { B[chr] = chr; });
2134
2134
  return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;
2135
2135
  }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
2136
- var T = toObject$2(target);
2136
+ var T = toObject$1(target);
2137
2137
  var argumentsLength = arguments.length;
2138
2138
  var index = 1;
2139
2139
  var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
2140
2140
  var propertyIsEnumerable = propertyIsEnumerableModule.f;
2141
- while (argumentsLength > index) {
2142
- var S = IndexedObject(arguments[index++]);
2143
- var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
2144
- var length = keys.length;
2145
- var j = 0;
2146
- var key;
2147
- while (length > j) {
2148
- key = keys[j++];
2149
- if (!DESCRIPTORS$7 || call$f(propertyIsEnumerable, S, key)) T[key] = S[key];
2150
- }
2151
- } return T;
2152
- } : $assign;
2153
-
2154
- var $$k = _export;
2155
- var assign$1 = objectAssign;
2156
-
2157
- // `Object.assign` method
2158
- // https://tc39.es/ecma262/#sec-object.assign
2159
- // eslint-disable-next-line es/no-object-assign -- required for testing
2160
- $$k({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign$1 }, {
2161
- assign: assign$1
2162
- });
2163
-
2164
- /**
2165
- * @internal
2166
- *
2167
- * Component to display when a container is not found in the system.
2168
- * Only renders in development mode for debugging purposes.
2169
- *
2170
- * @component
2171
- * @param {Object} props - Component properties
2172
- * @param {string} props.identifier - Container identifier
2173
- * @returns {JSX.Element | null} Message about missing container or null in production
2174
- */
2175
- const ContainerNotFound = ({
2176
- identifier
2177
- }) => {
2178
- const isDevMode = useIsDevMode();
2179
- useEffect(() => {
2180
- if (!isDevMode) {
2181
- return;
2182
- }
2183
- console.error(`Container with identifier ${identifier} not found`);
2184
- }, [identifier, isDevMode]);
2185
- if (!isDevMode) {
2186
- return null;
2187
- }
2188
- return jsxs("div", {
2189
- "data-testid": "container-not-found",
2190
- style: EMPTY_CONTAINER_STYLE_REACT,
2191
- children: ["This container with identifier ", identifier, " was not found."]
2192
- });
2193
- };
2194
- /**
2195
- * @internal
2196
- *
2197
- * Component to display when a container is empty.
2198
- *
2199
- * @param {DotContainerAttributes} dotAttributes
2200
- * @return {*}
2201
- */
2202
- const EmptyContainer = dotAttributes => {
2203
- const isDevMode = useIsDevMode();
2204
- if (!isDevMode) {
2205
- return null;
2206
- }
2207
- return jsx("div", Object.assign({}, dotAttributes, {
2208
- style: EMPTY_CONTAINER_STYLE_REACT,
2209
- children: jsx("span", {
2210
- "data-testid": "empty-container-message",
2211
- "data-dot-object": "empty-content",
2212
- children: "This container is empty."
2213
- })
2214
- }));
2215
- };
2216
-
2217
- var DESCRIPTORS$6 = descriptors;
2218
- var isArray = isArray$2;
2219
-
2220
- var $TypeError$8 = TypeError;
2221
- // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
2222
- var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
2223
-
2224
- // Safari < 13 does not throw an error in this case
2225
- var SILENT_ON_NON_WRITABLE_LENGTH_SET = DESCRIPTORS$6 && !function () {
2226
- // makes no sense without proper strict mode support
2227
- if (this !== undefined) return true;
2228
- try {
2229
- // eslint-disable-next-line es/no-object-defineproperty -- safe
2230
- Object.defineProperty([], 'length', { writable: false }).length = 1;
2231
- } catch (error) {
2232
- return error instanceof TypeError;
2233
- }
2234
- }();
2235
-
2236
- var arraySetLength = SILENT_ON_NON_WRITABLE_LENGTH_SET ? function (O, length) {
2237
- if (isArray(O) && !getOwnPropertyDescriptor$1(O, 'length').writable) {
2238
- throw new $TypeError$8('Cannot set read only .length');
2239
- } return O.length = length;
2240
- } : function (O, length) {
2241
- return O.length = length;
2242
- };
2243
-
2244
- var $TypeError$7 = TypeError;
2245
- var MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF; // 2 ** 53 - 1 == 9007199254740991
2246
-
2247
- var doesNotExceedSafeInteger$1 = function (it) {
2248
- if (it > MAX_SAFE_INTEGER) throw $TypeError$7('Maximum allowed index exceeded');
2249
- return it;
2250
- };
2251
-
2252
- var $$j = _export;
2253
- var toObject$1 = toObject$5;
2254
- var lengthOfArrayLike$2 = lengthOfArrayLike$4;
2255
- var setArrayLength = arraySetLength;
2256
- var doesNotExceedSafeInteger = doesNotExceedSafeInteger$1;
2257
- var fails$a = fails$o;
2258
-
2259
- var INCORRECT_TO_LENGTH = fails$a(function () {
2260
- return [].push.call({ length: 0x100000000 }, 1) !== 4294967297;
2261
- });
2262
-
2263
- // V8 <= 121 and Safari <= 15.4; FF < 23 throws InternalError
2264
- // https://bugs.chromium.org/p/v8/issues/detail?id=12681
2265
- var properErrorOnNonWritableLength = function () {
2266
- try {
2267
- // eslint-disable-next-line es/no-object-defineproperty -- safe
2268
- Object.defineProperty([], 'length', { writable: false }).push();
2269
- } catch (error) {
2270
- return error instanceof TypeError;
2271
- }
2272
- };
2273
-
2274
- var FORCED = INCORRECT_TO_LENGTH || !properErrorOnNonWritableLength();
2275
-
2276
- // `Array.prototype.push` method
2277
- // https://tc39.es/ecma262/#sec-array.prototype.push
2278
- $$j({ target: 'Array', proto: true, arity: 1, forced: FORCED }, {
2279
- // eslint-disable-next-line no-unused-vars -- required for `.length`
2280
- push: function push(item) {
2281
- var O = toObject$1(this);
2282
- var len = lengthOfArrayLike$2(O);
2283
- var argCount = arguments.length;
2284
- doesNotExceedSafeInteger(len + argCount);
2285
- for (var i = 0; i < argCount; i++) {
2286
- O[len] = arguments[i];
2287
- len++;
2288
- }
2289
- setArrayLength(O, len);
2290
- return len;
2291
- }
2292
- });
2293
-
2294
- /**
2295
- * @internal
2296
- * A custom React hook that checks whether a referenced HTMLDivElement has visible content based on its height.
2297
- *
2298
- * @param {RefObject<HTMLDivElement>} ref - A React ref object pointing to an HTMLDivElement.
2299
- * @returns {boolean} - Returns true if the element's height is greater than zero (indicating visible content), otherwise false.
2300
- *
2301
- * @example
2302
- * import { useRef } from 'react';
2303
- * import { useCheckVisibleContent } from 'src/lib/next/hooks/useCheckVisibleContent';
2304
- *
2305
- * function MyComponent() {
2306
- * const contentRef = useRef<HTMLDivElement>(null);
2307
- * const isContentVisible = useCheckVisibleContent(contentRef);
2308
- *
2309
- * return (
2310
- * <div ref={contentRef}>
2311
- * {isContentVisible ? 'Content is visible' : 'Content is not visible'}
2312
- * </div>
2313
- * );
2314
- * }
2315
- */
2316
- const useCheckVisibleContent = ref => {
2317
- const [haveContent, setHaveContent] = useState(false);
2318
- useLayoutEffect(() => {
2319
- if (!ref.current) {
2320
- setHaveContent(false);
2321
- return;
2322
- }
2323
- const {
2324
- height
2325
- } = ref.current.getBoundingClientRect();
2326
- setHaveContent(height > 0);
2327
- }, [ref]);
2328
- return haveContent;
2329
- };
2330
-
2331
- var classofRaw = classofRaw$2;
2332
- var uncurryThis$d = functionUncurryThis;
2333
-
2334
- var functionUncurryThisClause = function (fn) {
2335
- // Nashorn bug:
2336
- // https://github.com/zloirock/core-js/issues/1128
2337
- // https://github.com/zloirock/core-js/issues/1130
2338
- if (classofRaw(fn) === 'Function') return uncurryThis$d(fn);
2339
- };
2340
-
2341
- var uncurryThis$c = functionUncurryThisClause;
2342
- var aCallable$7 = aCallable$b;
2343
- var NATIVE_BIND = functionBindNative;
2344
-
2345
- var bind$7 = uncurryThis$c(uncurryThis$c.bind);
2346
-
2347
- // optional / simple context binding
2348
- var functionBindContext = function (fn, that) {
2349
- aCallable$7(fn);
2350
- return that === undefined ? fn : NATIVE_BIND ? bind$7(fn, that) : function (/* ...args */) {
2351
- return fn.apply(that, arguments);
2352
- };
2353
- };
2354
-
2355
- var wellKnownSymbol$8 = wellKnownSymbol$j;
2356
- var Iterators$1 = iterators;
2357
-
2358
- var ITERATOR$4 = wellKnownSymbol$8('iterator');
2359
- var ArrayPrototype = Array.prototype;
2360
-
2361
- // check on default Array iterator
2362
- var isArrayIteratorMethod$2 = function (it) {
2363
- return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$4] === it);
2364
- };
2365
-
2366
- var classof$4 = classof$7;
2367
- var getMethod$1 = getMethod$5;
2368
- var isNullOrUndefined$2 = isNullOrUndefined$5;
2369
- var Iterators = iterators;
2370
- var wellKnownSymbol$7 = wellKnownSymbol$j;
2371
-
2372
- var ITERATOR$3 = wellKnownSymbol$7('iterator');
2373
-
2374
- var getIteratorMethod$4 = function (it) {
2375
- if (!isNullOrUndefined$2(it)) return getMethod$1(it, ITERATOR$3)
2376
- || getMethod$1(it, '@@iterator')
2377
- || Iterators[classof$4(it)];
2378
- };
2379
-
2380
- var call$e = functionCall;
2381
- var aCallable$6 = aCallable$b;
2382
- var anObject$a = anObject$j;
2383
- var tryToString$2 = tryToString$4;
2384
- var getIteratorMethod$3 = getIteratorMethod$4;
2385
-
2386
- var $TypeError$6 = TypeError;
2387
-
2388
- var getIterator$3 = function (argument, usingIterator) {
2389
- var iteratorMethod = arguments.length < 2 ? getIteratorMethod$3(argument) : usingIterator;
2390
- if (aCallable$6(iteratorMethod)) return anObject$a(call$e(iteratorMethod, argument));
2391
- throw new $TypeError$6(tryToString$2(argument) + ' is not iterable');
2392
- };
2393
-
2394
- var bind$6 = functionBindContext;
2395
- var call$d = functionCall;
2396
- var anObject$9 = anObject$j;
2397
- var tryToString$1 = tryToString$4;
2398
- var isArrayIteratorMethod$1 = isArrayIteratorMethod$2;
2399
- var lengthOfArrayLike$1 = lengthOfArrayLike$4;
2400
- var isPrototypeOf$1 = objectIsPrototypeOf;
2401
- var getIterator$2 = getIterator$3;
2402
- var getIteratorMethod$2 = getIteratorMethod$4;
2403
- var iteratorClose$2 = iteratorClose$5;
2404
-
2405
- var $TypeError$5 = TypeError;
2406
-
2407
- var Result = function (stopped, result) {
2408
- this.stopped = stopped;
2409
- this.result = result;
2410
- };
2411
-
2412
- var ResultPrototype = Result.prototype;
2413
-
2414
- var iterate$5 = function (iterable, unboundFunction, options) {
2415
- var that = options && options.that;
2416
- var AS_ENTRIES = !!(options && options.AS_ENTRIES);
2417
- var IS_RECORD = !!(options && options.IS_RECORD);
2418
- var IS_ITERATOR = !!(options && options.IS_ITERATOR);
2419
- var INTERRUPTED = !!(options && options.INTERRUPTED);
2420
- var fn = bind$6(unboundFunction, that);
2421
- var iterator, iterFn, index, length, result, next, step;
2422
-
2423
- var stop = function (condition) {
2424
- if (iterator) iteratorClose$2(iterator, 'normal', condition);
2425
- return new Result(true, condition);
2426
- };
2427
-
2428
- var callFn = function (value) {
2429
- if (AS_ENTRIES) {
2430
- anObject$9(value);
2431
- return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
2432
- } return INTERRUPTED ? fn(value, stop) : fn(value);
2433
- };
2434
-
2435
- if (IS_RECORD) {
2436
- iterator = iterable.iterator;
2437
- } else if (IS_ITERATOR) {
2438
- iterator = iterable;
2439
- } else {
2440
- iterFn = getIteratorMethod$2(iterable);
2441
- if (!iterFn) throw new $TypeError$5(tryToString$1(iterable) + ' is not iterable');
2442
- // optimisation for array iterators
2443
- if (isArrayIteratorMethod$1(iterFn)) {
2444
- for (index = 0, length = lengthOfArrayLike$1(iterable); length > index; index++) {
2445
- result = callFn(iterable[index]);
2446
- if (result && isPrototypeOf$1(ResultPrototype, result)) return result;
2447
- } return new Result(false);
2448
- }
2449
- iterator = getIterator$2(iterable, iterFn);
2450
- }
2451
-
2452
- next = IS_RECORD ? iterable.next : iterator.next;
2453
- while (!(step = call$d(next, iterator)).done) {
2454
- try {
2455
- result = callFn(step.value);
2456
- } catch (error) {
2457
- iteratorClose$2(iterator, 'throw', error);
2458
- }
2459
- if (typeof result == 'object' && result && isPrototypeOf$1(ResultPrototype, result)) return result;
2460
- } return new Result(false);
2461
- };
2462
-
2463
- var $$i = _export;
2464
- var iterate$4 = iterate$5;
2465
- var aCallable$5 = aCallable$b;
2466
- var anObject$8 = anObject$j;
2467
- var getIteratorDirect$1 = getIteratorDirect$3;
2468
-
2469
- // `Iterator.prototype.forEach` method
2470
- // https://github.com/tc39/proposal-iterator-helpers
2471
- $$i({ target: 'Iterator', proto: true, real: true }, {
2472
- forEach: function forEach(fn) {
2473
- anObject$8(this);
2474
- aCallable$5(fn);
2475
- var record = getIteratorDirect$1(this);
2476
- var counter = 0;
2477
- iterate$4(record, function (value) {
2478
- fn(value, counter++);
2479
- }, { IS_RECORD: true });
2480
- }
2481
- });
2482
-
2483
- var uncurryThis$b = functionUncurryThis;
2484
-
2485
- // eslint-disable-next-line es/no-set -- safe
2486
- var SetPrototype$1 = Set.prototype;
2487
-
2488
- var setHelpers = {
2489
- // eslint-disable-next-line es/no-set -- safe
2490
- Set: Set,
2491
- add: uncurryThis$b(SetPrototype$1.add),
2492
- has: uncurryThis$b(SetPrototype$1.has),
2493
- remove: uncurryThis$b(SetPrototype$1['delete']),
2494
- proto: SetPrototype$1
2495
- };
2496
-
2497
- var has$5 = setHelpers.has;
2498
-
2499
- // Perform ? RequireInternalSlot(M, [[SetData]])
2500
- var aSet$7 = function (it) {
2501
- has$5(it);
2502
- return it;
2503
- };
2504
-
2505
- var call$c = functionCall;
2506
-
2507
- var iterateSimple$7 = function (record, fn, ITERATOR_INSTEAD_OF_RECORD) {
2508
- var iterator = ITERATOR_INSTEAD_OF_RECORD ? record : record.iterator;
2509
- var next = record.next;
2510
- var step, result;
2511
- while (!(step = call$c(next, iterator)).done) {
2512
- result = fn(step.value);
2513
- if (result !== undefined) return result;
2514
- }
2515
- };
2516
-
2517
- var uncurryThis$a = functionUncurryThis;
2518
- var iterateSimple$6 = iterateSimple$7;
2519
- var SetHelpers$5 = setHelpers;
2520
-
2521
- var Set$3 = SetHelpers$5.Set;
2522
- var SetPrototype = SetHelpers$5.proto;
2523
- var forEach$2 = uncurryThis$a(SetPrototype.forEach);
2524
- var keys = uncurryThis$a(SetPrototype.keys);
2525
- var next = keys(new Set$3()).next;
2526
-
2527
- var setIterate = function (set, fn, interruptible) {
2528
- return interruptible ? iterateSimple$6({ iterator: keys(set), next: next }, fn) : forEach$2(set, fn);
2529
- };
2530
-
2531
- var SetHelpers$4 = setHelpers;
2532
- var iterate$3 = setIterate;
2533
-
2534
- var Set$2 = SetHelpers$4.Set;
2535
- var add$3 = SetHelpers$4.add;
2536
-
2537
- var setClone = function (set) {
2538
- var result = new Set$2();
2539
- iterate$3(set, function (it) {
2540
- add$3(result, it);
2541
- });
2542
- return result;
2543
- };
2544
-
2545
- var uncurryThisAccessor = functionUncurryThisAccessor;
2546
- var SetHelpers$3 = setHelpers;
2547
-
2548
- var setSize = uncurryThisAccessor(SetHelpers$3.proto, 'size', 'get') || function (set) {
2549
- return set.size;
2550
- };
2551
-
2552
- var aCallable$4 = aCallable$b;
2553
- var anObject$7 = anObject$j;
2554
- var call$b = functionCall;
2555
- var toIntegerOrInfinity$1 = toIntegerOrInfinity$4;
2556
- var getIteratorDirect = getIteratorDirect$3;
2557
-
2558
- var INVALID_SIZE = 'Invalid size';
2559
- var $RangeError$1 = RangeError;
2560
- var $TypeError$4 = TypeError;
2561
- var max = Math.max;
2562
-
2563
- var SetRecord = function (set, intSize) {
2564
- this.set = set;
2565
- this.size = max(intSize, 0);
2566
- this.has = aCallable$4(set.has);
2567
- this.keys = aCallable$4(set.keys);
2568
- };
2569
-
2570
- SetRecord.prototype = {
2571
- getIterator: function () {
2572
- return getIteratorDirect(anObject$7(call$b(this.keys, this.set)));
2573
- },
2574
- includes: function (it) {
2575
- return call$b(this.has, this.set, it);
2576
- }
2577
- };
2578
-
2579
- // `GetSetRecord` abstract operation
2580
- // https://tc39.es/proposal-set-methods/#sec-getsetrecord
2581
- var getSetRecord$7 = function (obj) {
2582
- anObject$7(obj);
2583
- var numSize = +obj.size;
2584
- // NOTE: If size is undefined, then numSize will be NaN
2585
- // eslint-disable-next-line no-self-compare -- NaN check
2586
- if (numSize !== numSize) throw new $TypeError$4(INVALID_SIZE);
2587
- var intSize = toIntegerOrInfinity$1(numSize);
2588
- if (intSize < 0) throw new $RangeError$1(INVALID_SIZE);
2589
- return new SetRecord(obj, intSize);
2590
- };
2591
-
2592
- var aSet$6 = aSet$7;
2593
- var SetHelpers$2 = setHelpers;
2594
- var clone$2 = setClone;
2595
- var size$4 = setSize;
2596
- var getSetRecord$6 = getSetRecord$7;
2597
- var iterateSet$2 = setIterate;
2598
- var iterateSimple$5 = iterateSimple$7;
2599
-
2600
- var has$4 = SetHelpers$2.has;
2601
- var remove$1 = SetHelpers$2.remove;
2602
-
2603
- // `Set.prototype.difference` method
2604
- // https://github.com/tc39/proposal-set-methods
2605
- var setDifference = function difference(other) {
2606
- var O = aSet$6(this);
2607
- var otherRec = getSetRecord$6(other);
2608
- var result = clone$2(O);
2609
- if (size$4(O) <= otherRec.size) iterateSet$2(O, function (e) {
2610
- if (otherRec.includes(e)) remove$1(result, e);
2611
- });
2612
- else iterateSimple$5(otherRec.getIterator(), function (e) {
2613
- if (has$4(O, e)) remove$1(result, e);
2614
- });
2615
- return result;
2616
- };
2617
-
2618
- var getBuiltIn$4 = getBuiltIn$9;
2619
-
2620
- var createSetLike = function (size) {
2621
- return {
2622
- size: size,
2623
- has: function () {
2624
- return false;
2625
- },
2626
- keys: function () {
2627
- return {
2628
- next: function () {
2629
- return { done: true };
2630
- }
2631
- };
2632
- }
2633
- };
2634
- };
2635
-
2636
- var setMethodAcceptSetLike$7 = function (name) {
2637
- var Set = getBuiltIn$4('Set');
2638
- try {
2639
- new Set()[name](createSetLike(0));
2640
- try {
2641
- // late spec change, early WebKit ~ Safari 17.0 beta implementation does not pass it
2642
- // https://github.com/tc39/proposal-set-methods/pull/88
2643
- new Set()[name](createSetLike(-1));
2644
- return false;
2645
- } catch (error2) {
2646
- return true;
2647
- }
2648
- } catch (error) {
2649
- return false;
2650
- }
2651
- };
2652
-
2653
- var $$h = _export;
2654
- var difference = setDifference;
2655
- var setMethodAcceptSetLike$6 = setMethodAcceptSetLike$7;
2656
-
2657
- // `Set.prototype.difference` method
2658
- // https://github.com/tc39/proposal-set-methods
2659
- $$h({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$6('difference') }, {
2660
- difference: difference
2661
- });
2662
-
2663
- var aSet$5 = aSet$7;
2664
- var SetHelpers$1 = setHelpers;
2665
- var size$3 = setSize;
2666
- var getSetRecord$5 = getSetRecord$7;
2667
- var iterateSet$1 = setIterate;
2668
- var iterateSimple$4 = iterateSimple$7;
2669
-
2670
- var Set$1 = SetHelpers$1.Set;
2671
- var add$2 = SetHelpers$1.add;
2672
- var has$3 = SetHelpers$1.has;
2673
-
2674
- // `Set.prototype.intersection` method
2675
- // https://github.com/tc39/proposal-set-methods
2676
- var setIntersection = function intersection(other) {
2677
- var O = aSet$5(this);
2678
- var otherRec = getSetRecord$5(other);
2679
- var result = new Set$1();
2680
-
2681
- if (size$3(O) > otherRec.size) {
2682
- iterateSimple$4(otherRec.getIterator(), function (e) {
2683
- if (has$3(O, e)) add$2(result, e);
2684
- });
2685
- } else {
2686
- iterateSet$1(O, function (e) {
2687
- if (otherRec.includes(e)) add$2(result, e);
2688
- });
2689
- }
2690
-
2691
- return result;
2692
- };
2693
-
2694
- var $$g = _export;
2695
- var fails$9 = fails$o;
2696
- var intersection = setIntersection;
2697
- var setMethodAcceptSetLike$5 = setMethodAcceptSetLike$7;
2698
-
2699
- var INCORRECT = !setMethodAcceptSetLike$5('intersection') || fails$9(function () {
2700
- // eslint-disable-next-line es/no-array-from, es/no-set -- testing
2701
- return String(Array.from(new Set([1, 2, 3]).intersection(new Set([3, 2])))) !== '3,2';
2702
- });
2703
-
2704
- // `Set.prototype.intersection` method
2705
- // https://github.com/tc39/proposal-set-methods
2706
- $$g({ target: 'Set', proto: true, real: true, forced: INCORRECT }, {
2707
- intersection: intersection
2708
- });
2709
-
2710
- var aSet$4 = aSet$7;
2711
- var has$2 = setHelpers.has;
2712
- var size$2 = setSize;
2713
- var getSetRecord$4 = getSetRecord$7;
2714
- var iterateSet = setIterate;
2715
- var iterateSimple$3 = iterateSimple$7;
2716
- var iteratorClose$1 = iteratorClose$5;
2717
-
2718
- // `Set.prototype.isDisjointFrom` method
2719
- // https://tc39.github.io/proposal-set-methods/#Set.prototype.isDisjointFrom
2720
- var setIsDisjointFrom = function isDisjointFrom(other) {
2721
- var O = aSet$4(this);
2722
- var otherRec = getSetRecord$4(other);
2723
- if (size$2(O) <= otherRec.size) return iterateSet(O, function (e) {
2724
- if (otherRec.includes(e)) return false;
2725
- }, true) !== false;
2726
- var iterator = otherRec.getIterator();
2727
- return iterateSimple$3(iterator, function (e) {
2728
- if (has$2(O, e)) return iteratorClose$1(iterator, 'normal', false);
2729
- }) !== false;
2730
- };
2731
-
2732
- var $$f = _export;
2733
- var isDisjointFrom = setIsDisjointFrom;
2734
- var setMethodAcceptSetLike$4 = setMethodAcceptSetLike$7;
2735
-
2736
- // `Set.prototype.isDisjointFrom` method
2737
- // https://github.com/tc39/proposal-set-methods
2738
- $$f({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$4('isDisjointFrom') }, {
2739
- isDisjointFrom: isDisjointFrom
2740
- });
2741
-
2742
- var aSet$3 = aSet$7;
2743
- var size$1 = setSize;
2744
- var iterate$2 = setIterate;
2745
- var getSetRecord$3 = getSetRecord$7;
2746
-
2747
- // `Set.prototype.isSubsetOf` method
2748
- // https://tc39.github.io/proposal-set-methods/#Set.prototype.isSubsetOf
2749
- var setIsSubsetOf = function isSubsetOf(other) {
2750
- var O = aSet$3(this);
2751
- var otherRec = getSetRecord$3(other);
2752
- if (size$1(O) > otherRec.size) return false;
2753
- return iterate$2(O, function (e) {
2754
- if (!otherRec.includes(e)) return false;
2755
- }, true) !== false;
2756
- };
2757
-
2758
- var $$e = _export;
2759
- var isSubsetOf = setIsSubsetOf;
2760
- var setMethodAcceptSetLike$3 = setMethodAcceptSetLike$7;
2761
-
2762
- // `Set.prototype.isSubsetOf` method
2763
- // https://github.com/tc39/proposal-set-methods
2764
- $$e({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$3('isSubsetOf') }, {
2765
- isSubsetOf: isSubsetOf
2766
- });
2767
-
2768
- var aSet$2 = aSet$7;
2769
- var has$1 = setHelpers.has;
2770
- var size = setSize;
2771
- var getSetRecord$2 = getSetRecord$7;
2772
- var iterateSimple$2 = iterateSimple$7;
2773
- var iteratorClose = iteratorClose$5;
2774
-
2775
- // `Set.prototype.isSupersetOf` method
2776
- // https://tc39.github.io/proposal-set-methods/#Set.prototype.isSupersetOf
2777
- var setIsSupersetOf = function isSupersetOf(other) {
2778
- var O = aSet$2(this);
2779
- var otherRec = getSetRecord$2(other);
2780
- if (size(O) < otherRec.size) return false;
2781
- var iterator = otherRec.getIterator();
2782
- return iterateSimple$2(iterator, function (e) {
2783
- if (!has$1(O, e)) return iteratorClose(iterator, 'normal', false);
2784
- }) !== false;
2785
- };
2786
-
2787
- var $$d = _export;
2788
- var isSupersetOf = setIsSupersetOf;
2789
- var setMethodAcceptSetLike$2 = setMethodAcceptSetLike$7;
2790
-
2791
- // `Set.prototype.isSupersetOf` method
2792
- // https://github.com/tc39/proposal-set-methods
2793
- $$d({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$2('isSupersetOf') }, {
2794
- isSupersetOf: isSupersetOf
2795
- });
2796
-
2797
- var aSet$1 = aSet$7;
2798
- var SetHelpers = setHelpers;
2799
- var clone$1 = setClone;
2800
- var getSetRecord$1 = getSetRecord$7;
2801
- var iterateSimple$1 = iterateSimple$7;
2802
-
2803
- var add$1 = SetHelpers.add;
2804
- var has = SetHelpers.has;
2805
- var remove = SetHelpers.remove;
2806
-
2807
- // `Set.prototype.symmetricDifference` method
2808
- // https://github.com/tc39/proposal-set-methods
2809
- var setSymmetricDifference = function symmetricDifference(other) {
2810
- var O = aSet$1(this);
2811
- var keysIter = getSetRecord$1(other).getIterator();
2812
- var result = clone$1(O);
2813
- iterateSimple$1(keysIter, function (e) {
2814
- if (has(O, e)) remove(result, e);
2815
- else add$1(result, e);
2816
- });
2817
- return result;
2818
- };
2819
-
2820
- var $$c = _export;
2821
- var symmetricDifference = setSymmetricDifference;
2822
- var setMethodAcceptSetLike$1 = setMethodAcceptSetLike$7;
2823
-
2824
- // `Set.prototype.symmetricDifference` method
2825
- // https://github.com/tc39/proposal-set-methods
2826
- $$c({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike$1('symmetricDifference') }, {
2827
- symmetricDifference: symmetricDifference
2828
- });
2829
-
2830
- var aSet = aSet$7;
2831
- var add = setHelpers.add;
2832
- var clone = setClone;
2833
- var getSetRecord = getSetRecord$7;
2834
- var iterateSimple = iterateSimple$7;
2835
-
2836
- // `Set.prototype.union` method
2837
- // https://github.com/tc39/proposal-set-methods
2838
- var setUnion = function union(other) {
2839
- var O = aSet(this);
2840
- var keysIter = getSetRecord(other).getIterator();
2841
- var result = clone(O);
2842
- iterateSimple(keysIter, function (it) {
2843
- add(result, it);
2844
- });
2845
- return result;
2846
- };
2141
+ while (argumentsLength > index) {
2142
+ var S = IndexedObject(arguments[index++]);
2143
+ var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
2144
+ var length = keys.length;
2145
+ var j = 0;
2146
+ var key;
2147
+ while (length > j) {
2148
+ key = keys[j++];
2149
+ if (!DESCRIPTORS$6 || call$d(propertyIsEnumerable, S, key)) T[key] = S[key];
2150
+ }
2151
+ } return T;
2152
+ } : $assign;
2847
2153
 
2848
2154
  var $$b = _export;
2849
- var union = setUnion;
2850
- var setMethodAcceptSetLike = setMethodAcceptSetLike$7;
2155
+ var assign$1 = objectAssign;
2851
2156
 
2852
- // `Set.prototype.union` method
2853
- // https://github.com/tc39/proposal-set-methods
2854
- $$b({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('union') }, {
2855
- union: union
2157
+ // `Object.assign` method
2158
+ // https://tc39.es/ecma262/#sec-object.assign
2159
+ // eslint-disable-next-line es/no-object-assign -- required for testing
2160
+ $$b({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign$1 }, {
2161
+ assign: assign$1
2856
2162
  });
2857
2163
 
2858
- // Subscriber store and state cache
2859
- const subscribers = new Set();
2860
- let currentValue = null;
2861
- let isInitialized = false;
2862
- // Event handlers for analytics lifecycle
2863
- function handleAnalyticsReady() {
2864
- currentValue = true;
2865
- subscribers.forEach(callback => callback());
2866
- }
2867
- function handleAnalyticsCleanup() {
2868
- currentValue = null;
2869
- subscribers.forEach(callback => callback());
2870
- }
2871
- // Lazy initialization: only set up event listeners when first hook is used
2872
- function initializeAnalyticsListeners() {
2873
- if (isInitialized || typeof window === 'undefined') {
2874
- return;
2164
+ /**
2165
+ * @internal
2166
+ *
2167
+ * Component to display when a container is not found in the system.
2168
+ * Only renders in development mode for debugging purposes.
2169
+ *
2170
+ * @component
2171
+ * @param {Object} props - Component properties
2172
+ * @param {string} props.identifier - Container identifier
2173
+ * @returns {JSX.Element | null} Message about missing container or null in production
2174
+ */
2175
+ const ContainerNotFound = ({
2176
+ identifier
2177
+ }) => {
2178
+ const isDevMode = useIsDevMode();
2179
+ useEffect(() => {
2180
+ if (!isDevMode) {
2181
+ return;
2182
+ }
2183
+ console.error(`Container with identifier ${identifier} not found`);
2184
+ }, [identifier, isDevMode]);
2185
+ if (!isDevMode) {
2186
+ return null;
2875
2187
  }
2876
- window.addEventListener('dotcms:analytics:ready', handleAnalyticsReady);
2877
- window.addEventListener('dotcms:analytics:cleanup', handleAnalyticsCleanup);
2878
- isInitialized = true;
2879
- }
2188
+ return jsxs("div", {
2189
+ "data-testid": "container-not-found",
2190
+ style: EMPTY_CONTAINER_STYLE_REACT,
2191
+ children: ["This container with identifier ", identifier, " was not found."]
2192
+ });
2193
+ };
2880
2194
  /**
2881
2195
  * @internal
2882
- * React hook that checks whether DotCMS Analytics is active.
2883
2196
  *
2884
- * Uses useSyncExternalStore to subscribe to analytics state changes via custom events:
2885
- * - `dotcms:analytics:ready`: Fired when Analytics initializes
2886
- * - `dotcms:analytics:cleanup`: Fired on page unload
2197
+ * Component to display when a container is empty.
2887
2198
  *
2888
- * Components automatically re-render when analytics state changes. Works regardless
2889
- * of initialization order and returns false during SSR.
2199
+ * @param {DotContainerAttributes} dotAttributes
2200
+ * @return {*}
2201
+ */
2202
+ const EmptyContainer = dotAttributes => {
2203
+ const isDevMode = useIsDevMode();
2204
+ if (!isDevMode) {
2205
+ return null;
2206
+ }
2207
+ return jsx("div", Object.assign({}, dotAttributes, {
2208
+ style: EMPTY_CONTAINER_STYLE_REACT,
2209
+ children: jsx("span", {
2210
+ "data-testid": "empty-container-message",
2211
+ "data-dot-object": "empty-content",
2212
+ children: "This container is empty."
2213
+ })
2214
+ }));
2215
+ };
2216
+
2217
+ /**
2218
+ * @internal
2219
+ * A custom React hook that checks whether a referenced HTMLDivElement has visible content based on its height.
2890
2220
  *
2891
- * @returns {boolean} True if analytics is active, false otherwise
2221
+ * @param {RefObject<HTMLDivElement>} ref - A React ref object pointing to an HTMLDivElement.
2222
+ * @returns {boolean} - Returns true if the element's height is greater than zero (indicating visible content), otherwise false.
2892
2223
  *
2893
2224
  * @example
2894
- * ```tsx
2895
- * function Contentlet({ item }) {
2896
- * const isAnalyticsActive = useIsAnalyticsActive()
2225
+ * import { useRef } from 'react';
2226
+ * import { useCheckVisibleContent } from 'src/lib/next/hooks/useCheckVisibleContent';
2897
2227
  *
2898
- * const attrs = isAnalyticsActive
2899
- * ? { 'data-dot-analytics-id': item.id }
2900
- * : {}
2228
+ * function MyComponent() {
2229
+ * const contentRef = useRef<HTMLDivElement>(null);
2230
+ * const isContentVisible = useCheckVisibleContent(contentRef);
2901
2231
  *
2902
- * return <div {...attrs}>{item.title}</div>
2232
+ * return (
2233
+ * <div ref={contentRef}>
2234
+ * {isContentVisible ? 'Content is visible' : 'Content is not visible'}
2235
+ * </div>
2236
+ * );
2903
2237
  * }
2904
- * ```
2905
2238
  */
2906
- const useIsAnalyticsActive = () => {
2907
- return useSyncExternalStore(
2908
- // Subscribe: register callback for state changes
2909
- callback => {
2910
- initializeAnalyticsListeners(); // Lazy init on first subscription
2911
- subscribers.add(callback);
2912
- return () => subscribers.delete(callback);
2913
- },
2914
- // Get snapshot (client): return current analytics state
2915
- () => {
2916
- if (currentValue === null && typeof window !== 'undefined') {
2917
- currentValue = isAnalyticsActive();
2239
+ const useCheckVisibleContent = ref => {
2240
+ const [haveContent, setHaveContent] = useState(false);
2241
+ useLayoutEffect(() => {
2242
+ if (!ref.current) {
2243
+ setHaveContent(false);
2244
+ return;
2918
2245
  }
2919
- return currentValue != null ? currentValue : false;
2920
- },
2921
- // Get server snapshot (SSR): always false
2922
- () => false);
2246
+ const {
2247
+ height
2248
+ } = ref.current.getBoundingClientRect();
2249
+ setHaveContent(height > 0);
2250
+ }, [ref]);
2251
+ return haveContent;
2923
2252
  };
2924
2253
 
2925
2254
  /**
@@ -2971,6 +2300,10 @@ function NoComponent({
2971
2300
  });
2972
2301
  }
2973
2302
 
2303
+ /**
2304
+ * CSS class name for contentlet elements
2305
+ */
2306
+ const CONTENTLET_CLASS = 'dotcms-contentlet';
2974
2307
  /**
2975
2308
  * Contentlet component that renders DotCMS content with development mode support
2976
2309
  *
@@ -2994,27 +2327,15 @@ function Contentlet({
2994
2327
  }) {
2995
2328
  const ref = useRef(null);
2996
2329
  const isDevMode = useIsDevMode();
2997
- const isAnalyticsActive = useIsAnalyticsActive();
2998
2330
  const haveContent = useCheckVisibleContent(ref);
2999
2331
  const style = useMemo(() => isDevMode ? {
3000
2332
  minHeight: haveContent ? undefined : '4rem'
3001
2333
  } : {}, [isDevMode, haveContent]);
3002
- // UVE attributes - only when in development/editor mode
3003
- const dotAttributes = useMemo(() => isDevMode ? getDotContentletAttributes(contentlet, container) : {}, [isDevMode, contentlet, container]);
3004
- // Analytics attributes - only when analytics is active AND NOT in UVE editor
3005
- const analyticsAttributes = useMemo(() => isAnalyticsActive && !isDevMode ? getDotAnalyticsAttributes(contentlet) : {}, [isAnalyticsActive, isDevMode, contentlet]);
3006
- // Build container class name
3007
- const containerClassName = useMemo(() => {
3008
- const classes = [];
3009
- // Add analytics class if active
3010
- if (isAnalyticsActive && !isDevMode) {
3011
- classes.push('dotcms-analytics-contentlet');
3012
- }
3013
- return classes.length > 0 ? classes.join(' ') : undefined;
3014
- }, [isAnalyticsActive, isDevMode]);
3015
- return jsx("div", Object.assign({}, dotAttributes, analyticsAttributes, {
2334
+ // UVE attributes - always applied
2335
+ const dotAttributes = useMemo(() => getDotContentletAttributes(contentlet, container), [contentlet, container]);
2336
+ return jsx("div", Object.assign({}, dotAttributes, {
3016
2337
  "data-dot-object": "contentlet",
3017
- className: containerClassName,
2338
+ className: CONTENTLET_CLASS,
3018
2339
  ref: ref,
3019
2340
  style: style,
3020
2341
  children: jsx(CustomComponent, {
@@ -3405,12 +2726,12 @@ const useEditableDotCMSPage = pageResponse => {
3405
2726
  return updatedPageResponse;
3406
2727
  };
3407
2728
 
3408
- var anObject$6 = anObject$j;
2729
+ var anObject$8 = anObject$h;
3409
2730
 
3410
2731
  // `RegExp.prototype.flags` getter implementation
3411
2732
  // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
3412
2733
  var regexpFlags$1 = function () {
3413
- var that = anObject$6(this);
2734
+ var that = anObject$8(this);
3414
2735
  var result = '';
3415
2736
  if (that.hasIndices) result += 'd';
3416
2737
  if (that.global) result += 'g';
@@ -3423,24 +2744,24 @@ var regexpFlags$1 = function () {
3423
2744
  return result;
3424
2745
  };
3425
2746
 
3426
- var call$a = functionCall;
2747
+ var call$c = functionCall;
3427
2748
  var hasOwn$3 = hasOwnProperty_1;
3428
- var isPrototypeOf = objectIsPrototypeOf;
2749
+ var isPrototypeOf$1 = objectIsPrototypeOf;
3429
2750
  var regExpFlags = regexpFlags$1;
3430
2751
 
3431
2752
  var RegExpPrototype$2 = RegExp.prototype;
3432
2753
 
3433
2754
  var regexpGetFlags = function (R) {
3434
2755
  var flags = R.flags;
3435
- return flags === undefined && !('flags' in RegExpPrototype$2) && !hasOwn$3(R, 'flags') && isPrototypeOf(RegExpPrototype$2, R)
3436
- ? call$a(regExpFlags, R) : flags;
2756
+ return flags === undefined && !('flags' in RegExpPrototype$2) && !hasOwn$3(R, 'flags') && isPrototypeOf$1(RegExpPrototype$2, R)
2757
+ ? call$c(regExpFlags, R) : flags;
3437
2758
  };
3438
2759
 
3439
2760
  var PROPER_FUNCTION_NAME$1 = functionName.PROPER;
3440
2761
  var defineBuiltIn$7 = defineBuiltIn$c;
3441
- var anObject$5 = anObject$j;
2762
+ var anObject$7 = anObject$h;
3442
2763
  var $toString$2 = toString$8;
3443
- var fails$8 = fails$o;
2764
+ var fails$8 = fails$m;
3444
2765
  var getRegExpFlags = regexpGetFlags;
3445
2766
 
3446
2767
  var TO_STRING = 'toString';
@@ -3455,21 +2776,21 @@ var INCORRECT_NAME = PROPER_FUNCTION_NAME$1 && nativeToString.name !== TO_STRING
3455
2776
  // https://tc39.es/ecma262/#sec-regexp.prototype.tostring
3456
2777
  if (NOT_GENERIC || INCORRECT_NAME) {
3457
2778
  defineBuiltIn$7(RegExpPrototype$1, TO_STRING, function toString() {
3458
- var R = anObject$5(this);
2779
+ var R = anObject$7(this);
3459
2780
  var pattern = $toString$2(R.source);
3460
2781
  var flags = $toString$2(getRegExpFlags(R));
3461
2782
  return '/' + pattern + '/' + flags;
3462
2783
  }, { unsafe: true });
3463
2784
  }
3464
2785
 
3465
- var uncurryThis$9 = functionUncurryThis;
3466
- var toIntegerOrInfinity = toIntegerOrInfinity$4;
2786
+ var uncurryThis$b = functionUncurryThis;
2787
+ var toIntegerOrInfinity = toIntegerOrInfinity$3;
3467
2788
  var toString$6 = toString$8;
3468
2789
  var requireObjectCoercible$2 = requireObjectCoercible$6;
3469
2790
 
3470
- var charAt$4 = uncurryThis$9(''.charAt);
3471
- var charCodeAt$1 = uncurryThis$9(''.charCodeAt);
3472
- var stringSlice$3 = uncurryThis$9(''.slice);
2791
+ var charAt$4 = uncurryThis$b(''.charAt);
2792
+ var charCodeAt$1 = uncurryThis$b(''.charCodeAt);
2793
+ var stringSlice$3 = uncurryThis$b(''.slice);
3473
2794
 
3474
2795
  var createMethod$1 = function (CONVERT_TO_STRING) {
3475
2796
  return function ($this, pos) {
@@ -3530,12 +2851,12 @@ defineIterator(String, 'String', function (iterated) {
3530
2851
  return createIterResultObject$1(point, false);
3531
2852
  });
3532
2853
 
3533
- var fails$7 = fails$o;
3534
- var wellKnownSymbol$6 = wellKnownSymbol$j;
2854
+ var fails$7 = fails$m;
2855
+ var wellKnownSymbol$8 = wellKnownSymbol$j;
3535
2856
  var DESCRIPTORS$5 = descriptors;
3536
2857
  var IS_PURE = isPure;
3537
2858
 
3538
- var ITERATOR$2 = wellKnownSymbol$6('iterator');
2859
+ var ITERATOR$4 = wellKnownSymbol$8('iterator');
3539
2860
 
3540
2861
  var urlConstructorDetection = !fails$7(function () {
3541
2862
  // eslint-disable-next-line unicorn/relative-url-style -- required for testing
@@ -3558,7 +2879,7 @@ var urlConstructorDetection = !fails$7(function () {
3558
2879
  || url.href !== 'http://a/c%20d?a=1&c=3'
3559
2880
  || params.get('c') !== '3'
3560
2881
  || String(new URLSearchParams('?a=1')) !== 'a=1'
3561
- || !params[ITERATOR$2]
2882
+ || !params[ITERATOR$4]
3562
2883
  // throws in Edge
3563
2884
  || new URL('https://a@b').username !== 'a'
3564
2885
  || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b'
@@ -3572,11 +2893,46 @@ var urlConstructorDetection = !fails$7(function () {
3572
2893
  || new URL('http://x', undefined).host !== 'x';
3573
2894
  });
3574
2895
 
2896
+ var classofRaw = classofRaw$2;
2897
+ var uncurryThis$a = functionUncurryThis;
2898
+
2899
+ var functionUncurryThisClause = function (fn) {
2900
+ // Nashorn bug:
2901
+ // https://github.com/zloirock/core-js/issues/1128
2902
+ // https://github.com/zloirock/core-js/issues/1130
2903
+ if (classofRaw(fn) === 'Function') return uncurryThis$a(fn);
2904
+ };
2905
+
2906
+ var uncurryThis$9 = functionUncurryThisClause;
2907
+ var aCallable$5 = aCallable$9;
2908
+ var NATIVE_BIND = functionBindNative;
2909
+
2910
+ var bind$7 = uncurryThis$9(uncurryThis$9.bind);
2911
+
2912
+ // optional / simple context binding
2913
+ var functionBindContext = function (fn, that) {
2914
+ aCallable$5(fn);
2915
+ return that === undefined ? fn : NATIVE_BIND ? bind$7(fn, that) : function (/* ...args */) {
2916
+ return fn.apply(that, arguments);
2917
+ };
2918
+ };
2919
+
2920
+ var wellKnownSymbol$7 = wellKnownSymbol$j;
2921
+ var Iterators$1 = iterators;
2922
+
2923
+ var ITERATOR$3 = wellKnownSymbol$7('iterator');
2924
+ var ArrayPrototype = Array.prototype;
2925
+
2926
+ // check on default Array iterator
2927
+ var isArrayIteratorMethod$2 = function (it) {
2928
+ return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$3] === it);
2929
+ };
2930
+
3575
2931
  var uncurryThis$8 = functionUncurryThis;
3576
- var fails$6 = fails$o;
2932
+ var fails$6 = fails$m;
3577
2933
  var isCallable$6 = isCallable$o;
3578
- var classof$3 = classof$7;
3579
- var getBuiltIn$3 = getBuiltIn$9;
2934
+ var classof$4 = classof$7;
2935
+ var getBuiltIn$3 = getBuiltIn$8;
3580
2936
  var inspectSource$1 = inspectSource$3;
3581
2937
 
3582
2938
  var noop = function () { /* empty */ };
@@ -3597,7 +2953,7 @@ var isConstructorModern = function isConstructor(argument) {
3597
2953
 
3598
2954
  var isConstructorLegacy = function isConstructor(argument) {
3599
2955
  if (!isCallable$6(argument)) return false;
3600
- switch (classof$3(argument)) {
2956
+ switch (classof$4(argument)) {
3601
2957
  case 'AsyncFunction':
3602
2958
  case 'GeneratorFunction':
3603
2959
  case 'AsyncGeneratorFunction': return false;
@@ -3624,16 +2980,44 @@ var isConstructor$2 = !construct || fails$6(function () {
3624
2980
  || called;
3625
2981
  }) ? isConstructorLegacy : isConstructorModern;
3626
2982
 
3627
- var bind$5 = functionBindContext;
3628
- var call$9 = functionCall;
3629
- var toObject = toObject$5;
2983
+ var classof$3 = classof$7;
2984
+ var getMethod$1 = getMethod$5;
2985
+ var isNullOrUndefined$2 = isNullOrUndefined$5;
2986
+ var Iterators = iterators;
2987
+ var wellKnownSymbol$6 = wellKnownSymbol$j;
2988
+
2989
+ var ITERATOR$2 = wellKnownSymbol$6('iterator');
2990
+
2991
+ var getIteratorMethod$4 = function (it) {
2992
+ if (!isNullOrUndefined$2(it)) return getMethod$1(it, ITERATOR$2)
2993
+ || getMethod$1(it, '@@iterator')
2994
+ || Iterators[classof$3(it)];
2995
+ };
2996
+
2997
+ var call$b = functionCall;
2998
+ var aCallable$4 = aCallable$9;
2999
+ var anObject$6 = anObject$h;
3000
+ var tryToString$2 = tryToString$4;
3001
+ var getIteratorMethod$3 = getIteratorMethod$4;
3002
+
3003
+ var $TypeError$5 = TypeError;
3004
+
3005
+ var getIterator$3 = function (argument, usingIterator) {
3006
+ var iteratorMethod = arguments.length < 2 ? getIteratorMethod$3(argument) : usingIterator;
3007
+ if (aCallable$4(iteratorMethod)) return anObject$6(call$b(iteratorMethod, argument));
3008
+ throw new $TypeError$5(tryToString$2(argument) + ' is not iterable');
3009
+ };
3010
+
3011
+ var bind$6 = functionBindContext;
3012
+ var call$a = functionCall;
3013
+ var toObject = toObject$4;
3630
3014
  var callWithSafeIterationClosing = callWithSafeIterationClosing$2;
3631
- var isArrayIteratorMethod = isArrayIteratorMethod$2;
3015
+ var isArrayIteratorMethod$1 = isArrayIteratorMethod$2;
3632
3016
  var isConstructor$1 = isConstructor$2;
3633
- var lengthOfArrayLike = lengthOfArrayLike$4;
3017
+ var lengthOfArrayLike$1 = lengthOfArrayLike$3;
3634
3018
  var createProperty = createProperty$2;
3635
- var getIterator$1 = getIterator$3;
3636
- var getIteratorMethod$1 = getIteratorMethod$4;
3019
+ var getIterator$2 = getIterator$3;
3020
+ var getIteratorMethod$2 = getIteratorMethod$4;
3637
3021
 
3638
3022
  var $Array = Array;
3639
3023
 
@@ -3645,21 +3029,21 @@ var arrayFrom$1 = function from(arrayLike /* , mapfn = undefined, thisArg = unde
3645
3029
  var argumentsLength = arguments.length;
3646
3030
  var mapfn = argumentsLength > 1 ? arguments[1] : undefined;
3647
3031
  var mapping = mapfn !== undefined;
3648
- if (mapping) mapfn = bind$5(mapfn, argumentsLength > 2 ? arguments[2] : undefined);
3649
- var iteratorMethod = getIteratorMethod$1(O);
3032
+ if (mapping) mapfn = bind$6(mapfn, argumentsLength > 2 ? arguments[2] : undefined);
3033
+ var iteratorMethod = getIteratorMethod$2(O);
3650
3034
  var index = 0;
3651
3035
  var length, result, step, iterator, next, value;
3652
3036
  // if the target is not iterable or it's an array with the default iterator - use a simple case
3653
- if (iteratorMethod && !(this === $Array && isArrayIteratorMethod(iteratorMethod))) {
3037
+ if (iteratorMethod && !(this === $Array && isArrayIteratorMethod$1(iteratorMethod))) {
3654
3038
  result = IS_CONSTRUCTOR ? new this() : [];
3655
- iterator = getIterator$1(O, iteratorMethod);
3039
+ iterator = getIterator$2(O, iteratorMethod);
3656
3040
  next = iterator.next;
3657
- for (;!(step = call$9(next, iterator)).done; index++) {
3041
+ for (;!(step = call$a(next, iterator)).done; index++) {
3658
3042
  value = mapping ? callWithSafeIterationClosing(iterator, mapfn, [step.value, index], true) : step.value;
3659
3043
  createProperty(result, index, value);
3660
3044
  }
3661
3045
  } else {
3662
- length = lengthOfArrayLike(O);
3046
+ length = lengthOfArrayLike$1(O);
3663
3047
  result = IS_CONSTRUCTOR ? new this(length) : $Array(length);
3664
3048
  for (;length > index; index++) {
3665
3049
  value = mapping ? mapfn(O[index], index) : O[index];
@@ -3851,10 +3235,10 @@ var stringPunycodeToAscii = function (input) {
3851
3235
  return join$2(encoded, '.');
3852
3236
  };
3853
3237
 
3854
- var $TypeError$3 = TypeError;
3238
+ var $TypeError$4 = TypeError;
3855
3239
 
3856
3240
  var validateArgumentsLength$5 = function (passed, required) {
3857
- if (passed < required) throw new $TypeError$3('Not enough arguments');
3241
+ if (passed < required) throw new $TypeError$4('Not enough arguments');
3858
3242
  return passed;
3859
3243
  };
3860
3244
 
@@ -3918,7 +3302,7 @@ var arraySort$1 = sort;
3918
3302
  var $$a = _export;
3919
3303
  var global$b = global$o;
3920
3304
  var safeGetBuiltIn$1 = safeGetBuiltIn$2;
3921
- var call$8 = functionCall;
3305
+ var call$9 = functionCall;
3922
3306
  var uncurryThis$6 = functionUncurryThis;
3923
3307
  var DESCRIPTORS$3 = descriptors;
3924
3308
  var USE_NATIVE_URL$1 = urlConstructorDetection;
@@ -3931,15 +3315,15 @@ var InternalStateModule$2 = internalState;
3931
3315
  var anInstance$2 = anInstance$4;
3932
3316
  var isCallable$5 = isCallable$o;
3933
3317
  var hasOwn$2 = hasOwnProperty_1;
3934
- var bind$4 = functionBindContext;
3318
+ var bind$5 = functionBindContext;
3935
3319
  var classof$2 = classof$7;
3936
- var anObject$4 = anObject$j;
3320
+ var anObject$5 = anObject$h;
3937
3321
  var isObject$2 = isObject$b;
3938
3322
  var $toString$1 = toString$8;
3939
3323
  var create$1 = objectCreate;
3940
3324
  var createPropertyDescriptor = createPropertyDescriptor$5;
3941
- var getIterator = getIterator$3;
3942
- var getIteratorMethod = getIteratorMethod$4;
3325
+ var getIterator$1 = getIterator$3;
3326
+ var getIteratorMethod$1 = getIteratorMethod$4;
3943
3327
  var createIterResultObject = createIterResultObject$4;
3944
3328
  var validateArgumentsLength$4 = validateArgumentsLength$5;
3945
3329
  var wellKnownSymbol$5 = wellKnownSymbol$j;
@@ -4057,19 +3441,19 @@ URLSearchParamsState.prototype = {
4057
3441
  },
4058
3442
  parseObject: function (object) {
4059
3443
  var entries = this.entries;
4060
- var iteratorMethod = getIteratorMethod(object);
3444
+ var iteratorMethod = getIteratorMethod$1(object);
4061
3445
  var iterator, next, step, entryIterator, entryNext, first, second;
4062
3446
 
4063
3447
  if (iteratorMethod) {
4064
- iterator = getIterator(object, iteratorMethod);
3448
+ iterator = getIterator$1(object, iteratorMethod);
4065
3449
  next = iterator.next;
4066
- while (!(step = call$8(next, iterator)).done) {
4067
- entryIterator = getIterator(anObject$4(step.value));
3450
+ while (!(step = call$9(next, iterator)).done) {
3451
+ entryIterator = getIterator$1(anObject$5(step.value));
4068
3452
  entryNext = entryIterator.next;
4069
3453
  if (
4070
- (first = call$8(entryNext, entryIterator)).done ||
4071
- (second = call$8(entryNext, entryIterator)).done ||
4072
- !call$8(entryNext, entryIterator).done
3454
+ (first = call$9(entryNext, entryIterator)).done ||
3455
+ (second = call$9(entryNext, entryIterator)).done ||
3456
+ !call$9(entryNext, entryIterator).done
4073
3457
  ) throw new TypeError$3('Expected sequence with length 2');
4074
3458
  push$2(entries, { key: $toString$1(first.value), value: $toString$1(second.value) });
4075
3459
  }
@@ -4232,7 +3616,7 @@ defineBuiltIns(URLSearchParamsPrototype$3, {
4232
3616
  // `URLSearchParams.prototype.forEach` method
4233
3617
  forEach: function forEach(callback /* , thisArg */) {
4234
3618
  var entries = getInternalParamsState(this).entries;
4235
- var boundFunction = bind$4(callback, arguments.length > 1 ? arguments[1] : undefined);
3619
+ var boundFunction = bind$5(callback, arguments.length > 1 ? arguments[1] : undefined);
4236
3620
  var index = 0;
4237
3621
  var entry;
4238
3622
  while (index < entries.length) {
@@ -4335,7 +3719,7 @@ var $$9 = _export;
4335
3719
  var DESCRIPTORS$2 = descriptors;
4336
3720
  var USE_NATIVE_URL = urlConstructorDetection;
4337
3721
  var global$a = global$o;
4338
- var bind$3 = functionBindContext;
3722
+ var bind$4 = functionBindContext;
4339
3723
  var uncurryThis$5 = functionUncurryThis;
4340
3724
  var defineBuiltIn$5 = defineBuiltIn$c;
4341
3725
  var defineBuiltInAccessor$2 = defineBuiltInAccessor$5;
@@ -5365,10 +4749,10 @@ if (NativeURL) {
5365
4749
  var nativeRevokeObjectURL = NativeURL.revokeObjectURL;
5366
4750
  // `URL.createObjectURL` method
5367
4751
  // https://developer.mozilla.org/en-US/docs/Web/API/URL/createObjectURL
5368
- if (nativeCreateObjectURL) defineBuiltIn$5(URLConstructor, 'createObjectURL', bind$3(nativeCreateObjectURL, NativeURL));
4752
+ if (nativeCreateObjectURL) defineBuiltIn$5(URLConstructor, 'createObjectURL', bind$4(nativeCreateObjectURL, NativeURL));
5369
4753
  // `URL.revokeObjectURL` method
5370
4754
  // https://developer.mozilla.org/en-US/docs/Web/API/URL/revokeObjectURL
5371
- if (nativeRevokeObjectURL) defineBuiltIn$5(URLConstructor, 'revokeObjectURL', bind$3(nativeRevokeObjectURL, NativeURL));
4755
+ if (nativeRevokeObjectURL) defineBuiltIn$5(URLConstructor, 'revokeObjectURL', bind$4(nativeRevokeObjectURL, NativeURL));
5372
4756
  }
5373
4757
 
5374
4758
  setToStringTag$1(URLConstructor, 'URL');
@@ -5378,13 +4762,13 @@ $$9({ global: true, constructor: true, forced: !USE_NATIVE_URL, sham: !DESCRIPTO
5378
4762
  });
5379
4763
 
5380
4764
  var $$8 = _export;
5381
- var call$7 = functionCall;
4765
+ var call$8 = functionCall;
5382
4766
 
5383
4767
  // `URL.prototype.toJSON` method
5384
4768
  // https://url.spec.whatwg.org/#dom-url-tojson
5385
4769
  $$8({ target: 'URL', proto: true, enumerable: true }, {
5386
4770
  toJSON: function toJSON() {
5387
- return call$7(URL.prototype.toString, this);
4771
+ return call$8(URL.prototype.toString, this);
5388
4772
  }
5389
4773
  });
5390
4774
 
@@ -6296,7 +5680,7 @@ var classof$1 = classofRaw$2;
6296
5680
 
6297
5681
  var engineIsNode = classof$1(global$9.process) === 'process';
6298
5682
 
6299
- var getBuiltIn$2 = getBuiltIn$9;
5683
+ var getBuiltIn$2 = getBuiltIn$8;
6300
5684
  var defineBuiltInAccessor = defineBuiltInAccessor$5;
6301
5685
  var wellKnownSymbol$4 = wellKnownSymbol$j;
6302
5686
  var DESCRIPTORS = descriptors;
@@ -6315,17 +5699,17 @@ var setSpecies$1 = function (CONSTRUCTOR_NAME) {
6315
5699
  };
6316
5700
 
6317
5701
  var isConstructor = isConstructor$2;
6318
- var tryToString = tryToString$4;
5702
+ var tryToString$1 = tryToString$4;
6319
5703
 
6320
- var $TypeError$2 = TypeError;
5704
+ var $TypeError$3 = TypeError;
6321
5705
 
6322
5706
  // `Assert: IsConstructor(argument) is true`
6323
5707
  var aConstructor$1 = function (argument) {
6324
5708
  if (isConstructor(argument)) return argument;
6325
- throw new $TypeError$2(tryToString(argument) + ' is not a constructor');
5709
+ throw new $TypeError$3(tryToString$1(argument) + ' is not a constructor');
6326
5710
  };
6327
5711
 
6328
- var anObject$3 = anObject$j;
5712
+ var anObject$4 = anObject$h;
6329
5713
  var aConstructor = aConstructor$1;
6330
5714
  var isNullOrUndefined$1 = isNullOrUndefined$5;
6331
5715
  var wellKnownSymbol$3 = wellKnownSymbol$j;
@@ -6335,9 +5719,9 @@ var SPECIES$2 = wellKnownSymbol$3('species');
6335
5719
  // `SpeciesConstructor` abstract operation
6336
5720
  // https://tc39.es/ecma262/#sec-speciesconstructor
6337
5721
  var speciesConstructor$1 = function (O, defaultConstructor) {
6338
- var C = anObject$3(O).constructor;
5722
+ var C = anObject$4(O).constructor;
6339
5723
  var S;
6340
- return C === undefined || isNullOrUndefined$1(S = anObject$3(C)[SPECIES$2]) ? defaultConstructor : aConstructor(S);
5724
+ return C === undefined || isNullOrUndefined$1(S = anObject$4(C)[SPECIES$2]) ? defaultConstructor : aConstructor(S);
6341
5725
  };
6342
5726
 
6343
5727
  var userAgent$2 = engineUserAgent;
@@ -6347,10 +5731,10 @@ var engineIsIos = /(?:ipad|iphone|ipod).*applewebkit/i.test(userAgent$2);
6347
5731
 
6348
5732
  var global$8 = global$o;
6349
5733
  var apply = functionApply;
6350
- var bind$2 = functionBindContext;
5734
+ var bind$3 = functionBindContext;
6351
5735
  var isCallable$4 = isCallable$o;
6352
5736
  var hasOwn = hasOwnProperty_1;
6353
- var fails$5 = fails$o;
5737
+ var fails$5 = fails$m;
6354
5738
  var html = html$2;
6355
5739
  var arraySlice = arraySlice$4;
6356
5740
  var createElement = documentCreateElement$2;
@@ -6429,7 +5813,7 @@ if (!set || !clear) {
6429
5813
  channel = new MessageChannel();
6430
5814
  port = channel.port2;
6431
5815
  channel.port1.onmessage = eventListener;
6432
- defer = bind$2(port.postMessage, port);
5816
+ defer = bind$3(port.postMessage, port);
6433
5817
  // Browsers with postMessage, skip WebWorkers
6434
5818
  // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'
6435
5819
  } else if (
@@ -6495,7 +5879,7 @@ var engineIsWebosWebkit = /web0s(?!.*chrome)/i.test(userAgent);
6495
5879
 
6496
5880
  var global$7 = global$o;
6497
5881
  var safeGetBuiltIn = safeGetBuiltIn$2;
6498
- var bind$1 = functionBindContext;
5882
+ var bind$2 = functionBindContext;
6499
5883
  var macrotask = task$1.set;
6500
5884
  var Queue$1 = queue$1;
6501
5885
  var IS_IOS = engineIsIos;
@@ -6541,7 +5925,7 @@ if (!microtask$1) {
6541
5925
  promise = Promise$1.resolve(undefined);
6542
5926
  // workaround of WebKit ~ iOS Safari 10.1 bug
6543
5927
  promise.constructor = Promise$1;
6544
- then = bind$1(promise.then, promise);
5928
+ then = bind$2(promise.then, promise);
6545
5929
  notify$1 = function () {
6546
5930
  then(flush);
6547
5931
  };
@@ -6558,7 +5942,7 @@ if (!microtask$1) {
6558
5942
  // - setTimeout
6559
5943
  } else {
6560
5944
  // `webpack` dev server bug on IE global methods - use bind(fn, global)
6561
- macrotask = bind$1(macrotask, global$7);
5945
+ macrotask = bind$2(macrotask, global$7);
6562
5946
  notify$1 = function () {
6563
5947
  macrotask(flush);
6564
5948
  };
@@ -6648,14 +6032,14 @@ var promiseConstructorDetection = {
6648
6032
 
6649
6033
  var newPromiseCapability$2 = {};
6650
6034
 
6651
- var aCallable$3 = aCallable$b;
6035
+ var aCallable$3 = aCallable$9;
6652
6036
 
6653
- var $TypeError$1 = TypeError;
6037
+ var $TypeError$2 = TypeError;
6654
6038
 
6655
6039
  var PromiseCapability = function (C) {
6656
6040
  var resolve, reject;
6657
6041
  this.promise = new C(function ($$resolve, $$reject) {
6658
- if (resolve !== undefined || reject !== undefined) throw new $TypeError$1('Bad Promise constructor');
6042
+ if (resolve !== undefined || reject !== undefined) throw new $TypeError$2('Bad Promise constructor');
6659
6043
  resolve = $$resolve;
6660
6044
  reject = $$reject;
6661
6045
  });
@@ -6672,12 +6056,12 @@ newPromiseCapability$2.f = function (C) {
6672
6056
  var $$7 = _export;
6673
6057
  var IS_NODE = engineIsNode;
6674
6058
  var global$4 = global$o;
6675
- var call$6 = functionCall;
6059
+ var call$7 = functionCall;
6676
6060
  var defineBuiltIn$2 = defineBuiltIn$c;
6677
6061
  var setPrototypeOf = objectSetPrototypeOf;
6678
6062
  var setToStringTag = setToStringTag$6;
6679
6063
  var setSpecies = setSpecies$1;
6680
- var aCallable$2 = aCallable$b;
6064
+ var aCallable$2 = aCallable$9;
6681
6065
  var isCallable$2 = isCallable$o;
6682
6066
  var isObject$1 = isObject$b;
6683
6067
  var anInstance = anInstance$4;
@@ -6750,7 +6134,7 @@ var callReaction = function (reaction, state) {
6750
6134
  if (result === reaction.promise) {
6751
6135
  reject(new TypeError$1('Promise-chain cycle'));
6752
6136
  } else if (then = isThenable(result)) {
6753
- call$6(then, result, resolve, reject);
6137
+ call$7(then, result, resolve, reject);
6754
6138
  } else resolve(result);
6755
6139
  } else reject(value);
6756
6140
  } catch (error) {
@@ -6787,7 +6171,7 @@ var dispatchEvent = function (name, promise, reason) {
6787
6171
  };
6788
6172
 
6789
6173
  var onUnhandled = function (state) {
6790
- call$6(task, global$4, function () {
6174
+ call$7(task, global$4, function () {
6791
6175
  var promise = state.facade;
6792
6176
  var value = state.value;
6793
6177
  var IS_UNHANDLED = isUnhandled(state);
@@ -6810,7 +6194,7 @@ var isUnhandled = function (state) {
6810
6194
  };
6811
6195
 
6812
6196
  var onHandleUnhandled = function (state) {
6813
- call$6(task, global$4, function () {
6197
+ call$7(task, global$4, function () {
6814
6198
  var promise = state.facade;
6815
6199
  if (IS_NODE) {
6816
6200
  process.emit('rejectionHandled', promise);
@@ -6818,7 +6202,7 @@ var onHandleUnhandled = function (state) {
6818
6202
  });
6819
6203
  };
6820
6204
 
6821
- var bind = function (fn, state, unwrap) {
6205
+ var bind$1 = function (fn, state, unwrap) {
6822
6206
  return function (value) {
6823
6207
  fn(state, value, unwrap);
6824
6208
  };
@@ -6844,9 +6228,9 @@ var internalResolve = function (state, value, unwrap) {
6844
6228
  microtask(function () {
6845
6229
  var wrapper = { done: false };
6846
6230
  try {
6847
- call$6(then, value,
6848
- bind(internalResolve, wrapper, state),
6849
- bind(internalReject, wrapper, state)
6231
+ call$7(then, value,
6232
+ bind$1(internalResolve, wrapper, state),
6233
+ bind$1(internalReject, wrapper, state)
6850
6234
  );
6851
6235
  } catch (error) {
6852
6236
  internalReject(wrapper, error, state);
@@ -6868,10 +6252,10 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
6868
6252
  PromiseConstructor = function Promise(executor) {
6869
6253
  anInstance(this, PromisePrototype);
6870
6254
  aCallable$2(executor);
6871
- call$6(Internal, this);
6255
+ call$7(Internal, this);
6872
6256
  var state = getInternalPromiseState(this);
6873
6257
  try {
6874
- executor(bind(internalResolve, state), bind(internalReject, state));
6258
+ executor(bind$1(internalResolve, state), bind$1(internalReject, state));
6875
6259
  } catch (error) {
6876
6260
  internalReject(state, error);
6877
6261
  }
@@ -6913,8 +6297,8 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
6913
6297
  var promise = new Internal();
6914
6298
  var state = getInternalPromiseState(promise);
6915
6299
  this.promise = promise;
6916
- this.resolve = bind(internalResolve, state);
6917
- this.reject = bind(internalReject, state);
6300
+ this.resolve = bind$1(internalResolve, state);
6301
+ this.reject = bind$1(internalReject, state);
6918
6302
  };
6919
6303
 
6920
6304
  newPromiseCapabilityModule$3.f = newPromiseCapability$1 = function (C) {
@@ -6931,7 +6315,7 @@ if (FORCED_PROMISE_CONSTRUCTOR$4) {
6931
6315
  defineBuiltIn$2(NativePromisePrototype$1, 'then', function then(onFulfilled, onRejected) {
6932
6316
  var that = this;
6933
6317
  return new PromiseConstructor(function (resolve, reject) {
6934
- call$6(nativeThen, that, resolve, reject);
6318
+ call$7(nativeThen, that, resolve, reject);
6935
6319
  }).then(onFulfilled, onRejected);
6936
6320
  // https://github.com/zloirock/core-js/issues/640
6937
6321
  }, { unsafe: true });
@@ -6956,6 +6340,75 @@ $$7({ global: true, constructor: true, wrap: true, forced: FORCED_PROMISE_CONSTR
6956
6340
  setToStringTag(PromiseConstructor, PROMISE, false);
6957
6341
  setSpecies(PROMISE);
6958
6342
 
6343
+ var bind = functionBindContext;
6344
+ var call$6 = functionCall;
6345
+ var anObject$3 = anObject$h;
6346
+ var tryToString = tryToString$4;
6347
+ var isArrayIteratorMethod = isArrayIteratorMethod$2;
6348
+ var lengthOfArrayLike = lengthOfArrayLike$3;
6349
+ var isPrototypeOf = objectIsPrototypeOf;
6350
+ var getIterator = getIterator$3;
6351
+ var getIteratorMethod = getIteratorMethod$4;
6352
+ var iteratorClose = iteratorClose$3;
6353
+
6354
+ var $TypeError$1 = TypeError;
6355
+
6356
+ var Result = function (stopped, result) {
6357
+ this.stopped = stopped;
6358
+ this.result = result;
6359
+ };
6360
+
6361
+ var ResultPrototype = Result.prototype;
6362
+
6363
+ var iterate$2 = function (iterable, unboundFunction, options) {
6364
+ var that = options && options.that;
6365
+ var AS_ENTRIES = !!(options && options.AS_ENTRIES);
6366
+ var IS_RECORD = !!(options && options.IS_RECORD);
6367
+ var IS_ITERATOR = !!(options && options.IS_ITERATOR);
6368
+ var INTERRUPTED = !!(options && options.INTERRUPTED);
6369
+ var fn = bind(unboundFunction, that);
6370
+ var iterator, iterFn, index, length, result, next, step;
6371
+
6372
+ var stop = function (condition) {
6373
+ if (iterator) iteratorClose(iterator, 'normal', condition);
6374
+ return new Result(true, condition);
6375
+ };
6376
+
6377
+ var callFn = function (value) {
6378
+ if (AS_ENTRIES) {
6379
+ anObject$3(value);
6380
+ return INTERRUPTED ? fn(value[0], value[1], stop) : fn(value[0], value[1]);
6381
+ } return INTERRUPTED ? fn(value, stop) : fn(value);
6382
+ };
6383
+
6384
+ if (IS_RECORD) {
6385
+ iterator = iterable.iterator;
6386
+ } else if (IS_ITERATOR) {
6387
+ iterator = iterable;
6388
+ } else {
6389
+ iterFn = getIteratorMethod(iterable);
6390
+ if (!iterFn) throw new $TypeError$1(tryToString(iterable) + ' is not iterable');
6391
+ // optimisation for array iterators
6392
+ if (isArrayIteratorMethod(iterFn)) {
6393
+ for (index = 0, length = lengthOfArrayLike(iterable); length > index; index++) {
6394
+ result = callFn(iterable[index]);
6395
+ if (result && isPrototypeOf(ResultPrototype, result)) return result;
6396
+ } return new Result(false);
6397
+ }
6398
+ iterator = getIterator(iterable, iterFn);
6399
+ }
6400
+
6401
+ next = IS_RECORD ? iterable.next : iterator.next;
6402
+ while (!(step = call$6(next, iterator)).done) {
6403
+ try {
6404
+ result = callFn(step.value);
6405
+ } catch (error) {
6406
+ iteratorClose(iterator, 'throw', error);
6407
+ }
6408
+ if (typeof result == 'object' && result && isPrototypeOf(ResultPrototype, result)) return result;
6409
+ } return new Result(false);
6410
+ };
6411
+
6959
6412
  var wellKnownSymbol$1 = wellKnownSymbol$j;
6960
6413
 
6961
6414
  var ITERATOR = wellKnownSymbol$1('iterator');
@@ -7007,10 +6460,10 @@ var promiseStaticsIncorrectIteration = FORCED_PROMISE_CONSTRUCTOR$3 || !checkCor
7007
6460
 
7008
6461
  var $$6 = _export;
7009
6462
  var call$5 = functionCall;
7010
- var aCallable$1 = aCallable$b;
6463
+ var aCallable$1 = aCallable$9;
7011
6464
  var newPromiseCapabilityModule$2 = newPromiseCapability$2;
7012
6465
  var perform$1 = perform$3;
7013
- var iterate$1 = iterate$5;
6466
+ var iterate$1 = iterate$2;
7014
6467
  var PROMISE_STATICS_INCORRECT_ITERATION$1 = promiseStaticsIncorrectIteration;
7015
6468
 
7016
6469
  // `Promise.all` method
@@ -7047,7 +6500,7 @@ $$6({ target: 'Promise', stat: true, forced: PROMISE_STATICS_INCORRECT_ITERATION
7047
6500
  var $$5 = _export;
7048
6501
  var FORCED_PROMISE_CONSTRUCTOR$2 = promiseConstructorDetection.CONSTRUCTOR;
7049
6502
  var NativePromiseConstructor = promiseNativeConstructor;
7050
- var getBuiltIn$1 = getBuiltIn$9;
6503
+ var getBuiltIn$1 = getBuiltIn$8;
7051
6504
  var isCallable$1 = isCallable$o;
7052
6505
  var defineBuiltIn$1 = defineBuiltIn$c;
7053
6506
 
@@ -7071,10 +6524,10 @@ if (isCallable$1(NativePromiseConstructor)) {
7071
6524
 
7072
6525
  var $$4 = _export;
7073
6526
  var call$4 = functionCall;
7074
- var aCallable = aCallable$b;
6527
+ var aCallable = aCallable$9;
7075
6528
  var newPromiseCapabilityModule$1 = newPromiseCapability$2;
7076
6529
  var perform = perform$3;
7077
- var iterate = iterate$5;
6530
+ var iterate = iterate$2;
7078
6531
  var PROMISE_STATICS_INCORRECT_ITERATION = promiseStaticsIncorrectIteration;
7079
6532
 
7080
6533
  // `Promise.race` method
@@ -7110,7 +6563,7 @@ $$3({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR$1 }, {
7110
6563
  }
7111
6564
  });
7112
6565
 
7113
- var anObject$2 = anObject$j;
6566
+ var anObject$2 = anObject$h;
7114
6567
  var isObject = isObject$b;
7115
6568
  var newPromiseCapability = newPromiseCapability$2;
7116
6569
 
@@ -7124,7 +6577,7 @@ var promiseResolve$1 = function (C, x) {
7124
6577
  };
7125
6578
 
7126
6579
  var $$2 = _export;
7127
- var getBuiltIn = getBuiltIn$9;
6580
+ var getBuiltIn = getBuiltIn$8;
7128
6581
  var FORCED_PROMISE_CONSTRUCTOR = promiseConstructorDetection.CONSTRUCTOR;
7129
6582
  var promiseResolve = promiseResolve$1;
7130
6583
 
@@ -7138,7 +6591,7 @@ $$2({ target: 'Promise', stat: true, forced: FORCED_PROMISE_CONSTRUCTOR }, {
7138
6591
  }
7139
6592
  });
7140
6593
 
7141
- var fails$4 = fails$o;
6594
+ var fails$4 = fails$m;
7142
6595
  var global$3 = global$o;
7143
6596
 
7144
6597
  // babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
@@ -7166,7 +6619,7 @@ var BROKEN_CARET = UNSUPPORTED_Y$1 || fails$4(function () {
7166
6619
  var regexpStickyHelpers = {
7167
6620
  BROKEN_CARET: BROKEN_CARET};
7168
6621
 
7169
- var fails$3 = fails$o;
6622
+ var fails$3 = fails$m;
7170
6623
  var global$2 = global$o;
7171
6624
 
7172
6625
  // babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
@@ -7177,7 +6630,7 @@ var regexpUnsupportedDotAll = fails$3(function () {
7177
6630
  return !(re.dotAll && re.test('\n') && re.flags === 's');
7178
6631
  });
7179
6632
 
7180
- var fails$2 = fails$o;
6633
+ var fails$2 = fails$m;
7181
6634
  var global$1 = global$o;
7182
6635
 
7183
6636
  // babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
@@ -7320,7 +6773,7 @@ $$1({ target: 'RegExp', proto: true, forced: /./.exec !== exec }, {
7320
6773
  var call$2 = functionCall;
7321
6774
  var defineBuiltIn = defineBuiltIn$c;
7322
6775
  var regexpExec$1 = regexpExec$2;
7323
- var fails$1 = fails$o;
6776
+ var fails$1 = fails$m;
7324
6777
  var wellKnownSymbol = wellKnownSymbol$j;
7325
6778
  var createNonEnumerableProperty = createNonEnumerableProperty$6;
7326
6779
 
@@ -7400,7 +6853,7 @@ var sameValue$1 = Object.is || function is(x, y) {
7400
6853
  };
7401
6854
 
7402
6855
  var call$1 = functionCall;
7403
- var anObject$1 = anObject$j;
6856
+ var anObject$1 = anObject$h;
7404
6857
  var isCallable = isCallable$o;
7405
6858
  var classof = classofRaw$2;
7406
6859
  var regexpExec = regexpExec$2;
@@ -7422,7 +6875,7 @@ var regexpExecAbstract = function (R, S) {
7422
6875
 
7423
6876
  var call = functionCall;
7424
6877
  var fixRegExpWellKnownSymbolLogic = fixRegexpWellKnownSymbolLogic;
7425
- var anObject = anObject$j;
6878
+ var anObject = anObject$h;
7426
6879
  var isNullOrUndefined = isNullOrUndefined$5;
7427
6880
  var requireObjectCoercible$1 = requireObjectCoercible$6;
7428
6881
  var sameValue = sameValue$1;
@@ -7488,7 +6941,7 @@ var stringTrim = {
7488
6941
  };
7489
6942
 
7490
6943
  var PROPER_FUNCTION_NAME = functionName.PROPER;
7491
- var fails = fails$o;
6944
+ var fails = fails$m;
7492
6945
  var whitespaces = whitespaces$2;
7493
6946
 
7494
6947
  var non = '\u200B\u0085\u180E';
@@ -7630,4 +7083,15 @@ const useAISearch = ({
7630
7083
  };
7631
7084
  };
7632
7085
 
7633
- export { DotCMSBlockEditorRenderer, DotCMSEditableText, DotCMSLayoutBody, DotCMSShow, useAISearch, useDotCMSShowWhen, useEditableDotCMSPage };
7086
+ /**
7087
+ * Hook to register style editor forms with the UVE editor.
7088
+ * @param forms - Array of style editor form schemas to register
7089
+ * @returns void
7090
+ */
7091
+ const useStyleEditorSchemas = styleEditorForms => {
7092
+ useEffect(() => {
7093
+ registerStyleEditorSchemas(styleEditorForms);
7094
+ }, [styleEditorForms]);
7095
+ };
7096
+
7097
+ export { DotCMSBlockEditorRenderer, DotCMSEditableText, DotCMSLayoutBody, DotCMSShow, useAISearch, useDotCMSShowWhen, useEditableDotCMSPage, useStyleEditorSchemas };