@dotcms/react 1.1.1 → 1.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.esm.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { jsxs, jsx } from 'react/jsx-runtime';
2
- import { createContext, useContext, useState, useEffect, useLayoutEffect, useRef, useMemo } from 'react';
2
+ import { createContext, useContext, useState, useEffect, useLayoutEffect, useSyncExternalStore, useRef, useMemo } from 'react';
3
3
  import { UVE_MODE, UVEEventType, DotCMSUVEAction } from '@dotcms/types';
4
- import { getUVEState, initUVE, updateNavigation, createUVESubscription, sendMessageToUVE } 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';
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';
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$f =
26
26
 
27
27
  var objectGetOwnPropertyDescriptor = {};
28
28
 
29
- var fails$g = function (exec) {
29
+ var fails$i = function (exec) {
30
30
  try {
31
31
  return !!exec();
32
32
  } catch (error) {
@@ -34,17 +34,17 @@ var fails$g = function (exec) {
34
34
  }
35
35
  };
36
36
 
37
- var fails$f = fails$g;
37
+ var fails$h = fails$i;
38
38
 
39
39
  // Detect IE8's incomplete defineProperty implementation
40
- var descriptors = !fails$f(function () {
40
+ var descriptors = !fails$h(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$e = fails$g;
45
+ var fails$g = fails$i;
46
46
 
47
- var functionBindNative = !fails$e(function () {
47
+ var functionBindNative = !fails$g(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$e(function () {
53
53
 
54
54
  var NATIVE_BIND$3 = functionBindNative;
55
55
 
56
- var call$g = Function.prototype.call;
56
+ var call$j = Function.prototype.call;
57
57
 
58
- var functionCall = NATIVE_BIND$3 ? call$g.bind(call$g) : function () {
59
- return call$g.apply(call$g, arguments);
58
+ var functionCall = NATIVE_BIND$3 ? call$j.bind(call$j) : function () {
59
+ return call$j.apply(call$j, 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$2 = Object.getOwnPropertyDescriptor;
66
+ var getOwnPropertyDescriptor$3 = Object.getOwnPropertyDescriptor;
67
67
 
68
68
  // Nashorn ~ JDK8 bug
69
- var NASHORN_BUG = getOwnPropertyDescriptor$2 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
69
+ var NASHORN_BUG = getOwnPropertyDescriptor$3 && !$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$2(this, V);
74
+ var descriptor = getOwnPropertyDescriptor$3(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$f = FunctionPrototype$2.call;
91
- var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$f, call$f);
90
+ var call$i = FunctionPrototype$2.call;
91
+ var uncurryThisWithBind = NATIVE_BIND$2 && FunctionPrototype$2.bind.bind(call$i, call$i);
92
92
 
93
93
  var functionUncurryThis = NATIVE_BIND$2 ? uncurryThisWithBind : function (fn) {
94
94
  return function () {
95
- return call$f.apply(fn, arguments);
95
+ return call$i.apply(fn, arguments);
96
96
  };
97
97
  };
98
98
 
99
- var uncurryThis$n = functionUncurryThis;
99
+ var uncurryThis$p = functionUncurryThis;
100
100
 
101
- var toString$7 = uncurryThis$n({}.toString);
102
- var stringSlice$4 = uncurryThis$n(''.slice);
101
+ var toString$7 = uncurryThis$p({}.toString);
102
+ var stringSlice$4 = uncurryThis$p(''.slice);
103
103
 
104
104
  var classofRaw$2 = function (it) {
105
105
  return stringSlice$4(toString$7(it), 8, -1);
106
106
  };
107
107
 
108
- var uncurryThis$m = functionUncurryThis;
109
- var fails$d = fails$g;
108
+ var uncurryThis$o = functionUncurryThis;
109
+ var fails$f = fails$i;
110
110
  var classof$7 = classofRaw$2;
111
111
 
112
112
  var $Object$4 = Object;
113
- var split$3 = uncurryThis$m(''.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$d(function () {
116
+ var indexedObject = fails$f(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$3 = function (it) {
129
129
 
130
130
  var isNullOrUndefined$2 = isNullOrUndefined$3;
131
131
 
132
- var $TypeError$a = 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$4 = function (it) {
137
- if (isNullOrUndefined$2(it)) throw new $TypeError$a("Can't call method on " + it);
137
+ if (isNullOrUndefined$2(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$h(argument) ? argument : undefined;
172
172
  };
173
173
 
174
- var getBuiltIn$5 = function (namespace, method) {
174
+ var getBuiltIn$6 = function (namespace, method) {
175
175
  return arguments.length < 2 ? aFunction(global$e[namespace]) : global$e[namespace] && global$e[namespace][method];
176
176
  };
177
177
 
178
- var uncurryThis$l = functionUncurryThis;
178
+ var uncurryThis$n = functionUncurryThis;
179
179
 
180
- var objectIsPrototypeOf = uncurryThis$l({}.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 = engineV8Version;
214
- var fails$c = fails$g;
214
+ var fails$e = fails$i;
215
215
  var global$c = global$f;
216
216
 
217
217
  var $String$6 = global$c.String;
218
218
 
219
219
  // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
220
- var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$c(function () {
220
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$e(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,9 +235,9 @@ var useSymbolAsUid = NATIVE_SYMBOL$2
235
235
  && !Symbol.sham
236
236
  && typeof Symbol.iterator == 'symbol';
237
237
 
238
- var getBuiltIn$4 = getBuiltIn$5;
238
+ var getBuiltIn$5 = getBuiltIn$6;
239
239
  var isCallable$g = isCallable$j;
240
- var isPrototypeOf$2 = objectIsPrototypeOf;
240
+ var isPrototypeOf$3 = objectIsPrototypeOf;
241
241
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
242
242
 
243
243
  var $Object$3 = Object;
@@ -245,13 +245,13 @@ 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$4('Symbol');
249
- return isCallable$g($Symbol) && isPrototypeOf$2($Symbol.prototype, $Object$3(it));
248
+ var $Symbol = getBuiltIn$5('Symbol');
249
+ return isCallable$g($Symbol) && isPrototypeOf$3($Symbol.prototype, $Object$3(it));
250
250
  };
251
251
 
252
252
  var $String$5 = String;
253
253
 
254
- var tryToString$2 = function (argument) {
254
+ var tryToString$3 = function (argument) {
255
255
  try {
256
256
  return $String$5(argument);
257
257
  } catch (error) {
@@ -260,40 +260,40 @@ var tryToString$2 = function (argument) {
260
260
  };
261
261
 
262
262
  var isCallable$f = isCallable$j;
263
- var tryToString$1 = tryToString$2;
263
+ var tryToString$2 = tryToString$3;
264
264
 
265
- var $TypeError$9 = TypeError;
265
+ var $TypeError$d = TypeError;
266
266
 
267
267
  // `Assert: IsCallable(argument) is true`
268
- var aCallable$5 = function (argument) {
268
+ var aCallable$7 = function (argument) {
269
269
  if (isCallable$f(argument)) return argument;
270
- throw new $TypeError$9(tryToString$1(argument) + ' is not a function');
270
+ throw new $TypeError$d(tryToString$2(argument) + ' is not a function');
271
271
  };
272
272
 
273
- var aCallable$4 = aCallable$5;
273
+ var aCallable$6 = aCallable$7;
274
274
  var isNullOrUndefined$1 = isNullOrUndefined$3;
275
275
 
276
276
  // `GetMethod` abstract operation
277
277
  // https://tc39.es/ecma262/#sec-getmethod
278
278
  var getMethod$4 = function (V, P) {
279
279
  var func = V[P];
280
- return isNullOrUndefined$1(func) ? undefined : aCallable$4(func);
280
+ return isNullOrUndefined$1(func) ? undefined : aCallable$6(func);
281
281
  };
282
282
 
283
- var call$e = functionCall;
283
+ var call$h = functionCall;
284
284
  var isCallable$e = isCallable$j;
285
285
  var isObject$8 = isObject$9;
286
286
 
287
- var $TypeError$8 = 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$e(fn = input.toString) && !isObject$8(val = call$e(fn, input))) return val;
294
- if (isCallable$e(fn = input.valueOf) && !isObject$8(val = call$e(fn, input))) return val;
295
- if (pref !== 'string' && isCallable$e(fn = input.toString) && !isObject$8(val = call$e(fn, input))) return val;
296
- throw new $TypeError$8("Can't convert object to primitive value");
293
+ if (pref === 'string' && isCallable$e(fn = input.toString) && !isObject$8(val = call$h(fn, input))) return val;
294
+ if (isCallable$e(fn = input.valueOf) && !isObject$8(val = call$h(fn, input))) return val;
295
+ if (pref !== 'string' && isCallable$e(fn = input.toString) && !isObject$8(val = call$h(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$4 = function (argument) {
344
+ var toObject$5 = function (argument) {
345
345
  return $Object$2(requireObjectCoercible$2(argument));
346
346
  };
347
347
 
348
- var uncurryThis$k = functionUncurryThis;
349
- var toObject$3 = toObject$4;
348
+ var uncurryThis$m = functionUncurryThis;
349
+ var toObject$4 = toObject$5;
350
350
 
351
- var hasOwnProperty = uncurryThis$k({}.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$3(it), key);
357
+ return hasOwnProperty(toObject$4(it), key);
358
358
  };
359
359
 
360
- var uncurryThis$j = functionUncurryThis;
360
+ var uncurryThis$l = functionUncurryThis;
361
361
 
362
362
  var id = 0;
363
363
  var postfix = Math.random();
364
- var toString$6 = uncurryThis$j(1.0.toString);
364
+ var toString$6 = uncurryThis$l(1.0.toString);
365
365
 
366
366
  var uid$2 = function (key) {
367
367
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$6(++id + postfix, 36);
@@ -386,14 +386,14 @@ var wellKnownSymbol$e = function (name) {
386
386
  } return WellKnownSymbolsStore[name];
387
387
  };
388
388
 
389
- var call$d = functionCall;
389
+ var call$g = functionCall;
390
390
  var isObject$7 = isObject$9;
391
391
  var isSymbol$2 = isSymbol$3;
392
392
  var getMethod$3 = getMethod$4;
393
393
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
394
394
  var wellKnownSymbol$d = wellKnownSymbol$e;
395
395
 
396
- var $TypeError$7 = TypeError;
396
+ var $TypeError$b = TypeError;
397
397
  var TO_PRIMITIVE = wellKnownSymbol$d('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$d(exoticToPrim, input, pref);
407
+ result = call$g(exoticToPrim, input, pref);
408
408
  if (!isObject$7(result) || isSymbol$2(result)) return result;
409
- throw new $TypeError$7("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$1.createElement(it) : {};
434
434
  };
435
435
 
436
- var DESCRIPTORS$g = descriptors;
437
- var fails$b = fails$g;
436
+ var DESCRIPTORS$h = descriptors;
437
+ var fails$d = fails$i;
438
438
  var createElement = documentCreateElement$2;
439
439
 
440
440
  // Thanks to IE8 for its funny defineProperty
441
- var ie8DomDefine = !DESCRIPTORS$g && !fails$b(function () {
441
+ var ie8DomDefine = !DESCRIPTORS$h && !fails$d(function () {
442
442
  // eslint-disable-next-line es/no-object-defineproperty -- required for testing
443
443
  return Object.defineProperty(createElement('div'), 'a', {
444
444
  get: function () { return 7; }
445
445
  }).a !== 7;
446
446
  });
447
447
 
448
- var DESCRIPTORS$f = descriptors;
449
- var call$c = functionCall;
448
+ var DESCRIPTORS$g = descriptors;
449
+ var call$f = 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$f ? $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$b(O, P)) return createPropertyDescriptor$4(!call$c(propertyIsEnumerableModule$1.f, O, P), O[P]);
468
+ if (hasOwn$b(O, P)) return createPropertyDescriptor$4(!call$f(propertyIsEnumerableModule$1.f, O, P), O[P]);
469
469
  };
470
470
 
471
471
  var objectDefineProperty = {};
472
472
 
473
- var DESCRIPTORS$e = descriptors;
474
- var fails$a = fails$g;
473
+ var DESCRIPTORS$f = descriptors;
474
+ var fails$c = fails$i;
475
475
 
476
476
  // V8 ~ Chrome 36-
477
477
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
478
- var v8PrototypeDefineBug = DESCRIPTORS$e && fails$a(function () {
478
+ var v8PrototypeDefineBug = DESCRIPTORS$f && fails$c(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$e && fails$a(function () {
486
486
  var isObject$5 = isObject$9;
487
487
 
488
488
  var $String$4 = String;
489
- var $TypeError$6 = TypeError;
489
+ var $TypeError$a = TypeError;
490
490
 
491
491
  // `Assert: Type(argument) is Object`
492
- var anObject$c = function (argument) {
492
+ var anObject$f = function (argument) {
493
493
  if (isObject$5(argument)) return argument;
494
- throw new $TypeError$6($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$d = 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$b = anObject$c;
500
+ var anObject$e = anObject$f;
501
501
  var toPropertyKey = toPropertyKey$2;
502
502
 
503
- var $TypeError$5 = 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$d ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
515
- anObject$b(O);
514
+ objectDefineProperty.f = DESCRIPTORS$e ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
515
+ anObject$e(O);
516
516
  P = toPropertyKey(P);
517
- anObject$b(Attributes);
517
+ anObject$e(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$d ? 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$b(O);
530
+ anObject$e(O);
531
531
  P = toPropertyKey(P);
532
- anObject$b(Attributes);
532
+ anObject$e(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$5('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$c = descriptors;
541
+ var DESCRIPTORS$d = descriptors;
542
542
  var definePropertyModule$4 = objectDefineProperty;
543
543
  var createPropertyDescriptor$3 = createPropertyDescriptor$5;
544
544
 
545
- var createNonEnumerableProperty$5 = DESCRIPTORS$c ? function (object, key, value) {
545
+ var createNonEnumerableProperty$5 = 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$5 = DESCRIPTORS$c ? function (object, key, value
551
551
 
552
552
  var makeBuiltIn$3 = {exports: {}};
553
553
 
554
- var DESCRIPTORS$b = descriptors;
554
+ var DESCRIPTORS$c = descriptors;
555
555
  var hasOwn$a = 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$b && Object.getOwnPropertyDescriptor;
559
+ var getDescriptor = DESCRIPTORS$c && Object.getOwnPropertyDescriptor;
560
560
 
561
561
  var EXISTS = hasOwn$a(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$b || (DESCRIPTORS$b && 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$i = functionUncurryThis;
571
+ var uncurryThis$k = functionUncurryThis;
572
572
  var isCallable$d = isCallable$j;
573
573
  var store$1 = sharedStoreExports;
574
574
 
575
- var functionToString = uncurryThis$i(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$d(store$1.inspectSource)) {
@@ -593,10 +593,10 @@ var weakMapBasicDetection = isCallable$c(WeakMap$1) && /native code/.test(String
593
593
  var shared$1 = shared$3;
594
594
  var uid = uid$2;
595
595
 
596
- var keys = shared$1('keys');
596
+ var keys$1 = shared$1('keys');
597
597
 
598
598
  var sharedKey$3 = function (key) {
599
- return keys[key] || (keys[key] = uid(key));
599
+ return keys$1[key] || (keys$1[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$3 = global$7.TypeError;
615
615
  var WeakMap = global$7.WeakMap;
616
- var set, get, has;
616
+ var set, get, has$6;
617
617
 
618
618
  var enforce = function (it) {
619
- return has(it) ? get(it) : set(it, {});
619
+ return has$6(it) ? get(it) : set(it, {});
620
620
  };
621
621
 
622
622
  var getterFor = function (TYPE) {
@@ -644,7 +644,7 @@ if (NATIVE_WEAK_MAP || shared.state) {
644
644
  get = function (it) {
645
645
  return store.get(it) || {};
646
646
  };
647
- has = function (it) {
647
+ has$6 = function (it) {
648
648
  return store.has(it);
649
649
  };
650
650
  } else {
@@ -659,7 +659,7 @@ if (NATIVE_WEAK_MAP || shared.state) {
659
659
  get = function (it) {
660
660
  return hasOwn$9(it, STATE) ? it[STATE] : {};
661
661
  };
662
- has = function (it) {
662
+ has$6 = function (it) {
663
663
  return hasOwn$9(it, STATE);
664
664
  };
665
665
  }
@@ -667,16 +667,16 @@ if (NATIVE_WEAK_MAP || shared.state) {
667
667
  var internalState = {
668
668
  set: set,
669
669
  get: get,
670
- has: has,
670
+ has: has$6,
671
671
  enforce: enforce,
672
672
  getterFor: getterFor
673
673
  };
674
674
 
675
- var uncurryThis$h = functionUncurryThis;
676
- var fails$9 = fails$g;
675
+ var uncurryThis$j = functionUncurryThis;
676
+ var fails$b = fails$i;
677
677
  var isCallable$b = isCallable$j;
678
678
  var hasOwn$8 = hasOwnProperty_1;
679
- var DESCRIPTORS$a = descriptors;
679
+ var DESCRIPTORS$b = descriptors;
680
680
  var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
681
681
  var inspectSource$1 = inspectSource$2;
682
682
  var InternalStateModule$5 = internalState;
@@ -686,11 +686,11 @@ var getInternalState$2 = InternalStateModule$5.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$3 = uncurryThis$h(''.slice);
690
- var replace$4 = uncurryThis$h(''.replace);
691
- var join$3 = uncurryThis$h([].join);
689
+ var stringSlice$3 = uncurryThis$j(''.slice);
690
+ var replace$4 = uncurryThis$j(''.replace);
691
+ var join$3 = uncurryThis$j([].join);
692
692
 
693
- var CONFIGURABLE_LENGTH = DESCRIPTORS$a && !fails$9(function () {
693
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$b && !fails$b(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$8(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
706
- if (DESCRIPTORS$a) 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$8(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$8(options, 'constructor') && options.constructor) {
714
- if (DESCRIPTORS$a) 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$3 = function (argument) {
777
+ var toIntegerOrInfinity$4 = 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$2 = toIntegerOrInfinity$3;
783
+ var toIntegerOrInfinity$3 = toIntegerOrInfinity$4;
784
784
 
785
- var max = Math.max;
785
+ var max$1 = 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$2(index);
793
- return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
792
+ var integer = toIntegerOrInfinity$3(index);
793
+ return integer < 0 ? max$1(integer + length, 0) : min$1(integer, length);
794
794
  };
795
795
 
796
- var toIntegerOrInfinity$1 = toIntegerOrInfinity$3;
796
+ var toIntegerOrInfinity$2 = toIntegerOrInfinity$4;
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$1(argument);
803
+ var len = toIntegerOrInfinity$2(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$2 = function (obj) {
811
+ var lengthOfArrayLike$4 = 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$1 = lengthOfArrayLike$2;
817
+ var lengthOfArrayLike$3 = lengthOfArrayLike$4;
818
818
 
819
819
  // `Array.prototype.{ indexOf, includes }` methods implementation
820
820
  var createMethod$1 = function (IS_INCLUDES) {
821
821
  return function ($this, el, fromIndex) {
822
822
  var O = toIndexedObject$3($this);
823
- var length = lengthOfArrayLike$1(O);
823
+ var length = lengthOfArrayLike$3(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$1(false)
844
844
  };
845
845
 
846
- var uncurryThis$g = functionUncurryThis;
846
+ var uncurryThis$i = functionUncurryThis;
847
847
  var hasOwn$7 = hasOwnProperty_1;
848
848
  var toIndexedObject$2 = toIndexedObject$5;
849
849
  var indexOf = arrayIncludes.indexOf;
850
850
  var hiddenKeys$2 = hiddenKeys$4;
851
851
 
852
- var push$5 = uncurryThis$g([].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$3 = getBuiltIn$5;
896
- var uncurryThis$f = functionUncurryThis;
895
+ var getBuiltIn$4 = getBuiltIn$6;
896
+ var uncurryThis$h = functionUncurryThis;
897
897
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
898
898
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
899
- var anObject$a = anObject$c;
899
+ var anObject$d = anObject$f;
900
900
 
901
- var concat$1 = uncurryThis$f([].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$3('Reflect', 'ownKeys') || function ownKeys(it) {
905
- var keys = getOwnPropertyNamesModule.f(anObject$a(it));
904
+ var ownKeys$1 = getBuiltIn$4('Reflect', 'ownKeys') || function ownKeys(it) {
905
+ var keys = getOwnPropertyNamesModule.f(anObject$d(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$8 = fails$g;
927
+ var fails$a = fails$i;
928
928
  var isCallable$9 = isCallable$j;
929
929
 
930
930
  var replacement = /#|\.prototype\./;
@@ -933,7 +933,7 @@ var isForced$1 = function (feature, detection) {
933
933
  var value = data[normalize(feature)];
934
934
  return value === POLYFILL ? true
935
935
  : value === NATIVE ? false
936
- : isCallable$9(detection) ? fails$8(detection)
936
+ : isCallable$9(detection) ? fails$a(detection)
937
937
  : !!detection;
938
938
  };
939
939
 
@@ -948,7 +948,7 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
948
948
  var isForced_1 = isForced$1;
949
949
 
950
950
  var global$6 = global$f;
951
- var getOwnPropertyDescriptor$1 = objectGetOwnPropertyDescriptor.f;
951
+ var getOwnPropertyDescriptor$2 = objectGetOwnPropertyDescriptor.f;
952
952
  var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
953
953
  var defineBuiltIn$8 = defineBuiltIn$9;
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$1(target, key);
988
+ descriptor = getOwnPropertyDescriptor$2(target, key);
989
989
  targetProperty = descriptor && descriptor.value;
990
990
  } else targetProperty = target[key];
991
991
  FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
@@ -1002,18 +1002,18 @@ var _export = function (options, source) {
1002
1002
  }
1003
1003
  };
1004
1004
 
1005
- var isPrototypeOf$1 = objectIsPrototypeOf;
1005
+ var isPrototypeOf$2 = objectIsPrototypeOf;
1006
1006
 
1007
- var $TypeError$4 = TypeError;
1007
+ var $TypeError$8 = TypeError;
1008
1008
 
1009
1009
  var anInstance$3 = function (it, Prototype) {
1010
- if (isPrototypeOf$1(Prototype, it)) return it;
1011
- throw new $TypeError$4('Incorrect invocation');
1010
+ if (isPrototypeOf$2(Prototype, it)) return it;
1011
+ throw new $TypeError$8('Incorrect invocation');
1012
1012
  };
1013
1013
 
1014
- var fails$7 = fails$g;
1014
+ var fails$9 = fails$i;
1015
1015
 
1016
- var correctPrototypeGetter = !fails$7(function () {
1016
+ var correctPrototypeGetter = !fails$9(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$7(function () {
1022
1022
 
1023
1023
  var hasOwn$5 = hasOwnProperty_1;
1024
1024
  var isCallable$8 = isCallable$j;
1025
- var toObject$2 = toObject$4;
1025
+ var toObject$3 = toObject$5;
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$2(O);
1037
+ var object = toObject$3(O);
1038
1038
  if (hasOwn$5(object, IE_PROTO$1)) return object[IE_PROTO$1];
1039
1039
  var constructor = object.constructor;
1040
1040
  if (isCallable$8(constructor) && object instanceof constructor) {
@@ -1051,12 +1051,12 @@ var defineBuiltInAccessor$4 = function (target, name, descriptor) {
1051
1051
  return defineProperty$4.f(target, name, descriptor);
1052
1052
  };
1053
1053
 
1054
- var DESCRIPTORS$9 = 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$9) 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$8 = descriptors;
1075
+ var DESCRIPTORS$9 = descriptors;
1076
1076
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1077
1077
  var definePropertyModule = objectDefineProperty;
1078
- var anObject$9 = anObject$c;
1078
+ var anObject$c = anObject$f;
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$8 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1086
- anObject$9(O);
1085
+ objectDefineProperties.f = DESCRIPTORS$9 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1086
+ anObject$c(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$8 && !V8_PROTOTYPE_DEFINE_BUG ? Object.de
1093
1093
  return O;
1094
1094
  };
1095
1095
 
1096
- var getBuiltIn$2 = getBuiltIn$5;
1096
+ var getBuiltIn$3 = getBuiltIn$6;
1097
1097
 
1098
- var html$1 = getBuiltIn$2('document', 'documentElement');
1098
+ var html$1 = getBuiltIn$3('document', 'documentElement');
1099
1099
 
1100
1100
  /* global ActiveXObject -- old IE, WSH */
1101
- var anObject$8 = anObject$c;
1101
+ var anObject$b = anObject$f;
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$8(O);
1175
+ EmptyConstructor[PROTOTYPE] = anObject$b(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$6 = fails$g;
1184
+ var fails$8 = fails$i;
1185
1185
  var isCallable$7 = isCallable$j;
1186
1186
  var isObject$3 = isObject$9;
1187
1187
  var getPrototypeOf$2 = objectGetPrototypeOf;
@@ -1206,7 +1206,7 @@ if ([].keys) {
1206
1206
  }
1207
1207
  }
1208
1208
 
1209
- var NEW_ITERATOR_PROTOTYPE = !isObject$3(IteratorPrototype$4) || fails$6(function () {
1209
+ var NEW_ITERATOR_PROTOTYPE = !isObject$3(IteratorPrototype$4) || fails$8(function () {
1210
1210
  var test = {};
1211
1211
  // FF44- legacy iterators case
1212
1212
  return IteratorPrototype$4[ITERATOR$7].call(test) !== test;
@@ -1227,48 +1227,48 @@ var iteratorsCore = {
1227
1227
  BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
1228
1228
  };
1229
1229
 
1230
- var $$7 = _export;
1230
+ var $$g = _export;
1231
1231
  var global$5 = global$f;
1232
1232
  var anInstance$2 = anInstance$3;
1233
- var anObject$7 = anObject$c;
1233
+ var anObject$a = anObject$f;
1234
1234
  var isCallable$6 = isCallable$j;
1235
1235
  var getPrototypeOf$1 = objectGetPrototypeOf;
1236
1236
  var defineBuiltInAccessor$3 = defineBuiltInAccessor$4;
1237
1237
  var createProperty$1 = createProperty$2;
1238
- var fails$5 = fails$g;
1238
+ var fails$7 = fails$i;
1239
1239
  var hasOwn$4 = hasOwnProperty_1;
1240
1240
  var wellKnownSymbol$b = wellKnownSymbol$e;
1241
1241
  var IteratorPrototype$3 = iteratorsCore.IteratorPrototype;
1242
- var DESCRIPTORS$7 = descriptors;
1242
+ var DESCRIPTORS$8 = descriptors;
1243
1243
 
1244
1244
  var CONSTRUCTOR = 'constructor';
1245
1245
  var ITERATOR$6 = 'Iterator';
1246
1246
  var TO_STRING_TAG$4 = wellKnownSymbol$b('toStringTag');
1247
1247
 
1248
- var $TypeError$3 = TypeError;
1248
+ var $TypeError$7 = TypeError;
1249
1249
  var NativeIterator = global$5[ITERATOR$6];
1250
1250
 
1251
1251
  // FF56- have non-standard global helper `Iterator`
1252
- var FORCED = !isCallable$6(NativeIterator)
1252
+ var FORCED$1 = !isCallable$6(NativeIterator)
1253
1253
  || NativeIterator.prototype !== IteratorPrototype$3
1254
1254
  // FF44- non-standard `Iterator` passes previous tests
1255
- || !fails$5(function () { NativeIterator({}); });
1255
+ || !fails$7(function () { NativeIterator({}); });
1256
1256
 
1257
1257
  var IteratorConstructor = function Iterator() {
1258
1258
  anInstance$2(this, IteratorPrototype$3);
1259
- if (getPrototypeOf$1(this) === IteratorPrototype$3) throw new $TypeError$3('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$7) {
1263
+ if (DESCRIPTORS$8) {
1264
1264
  defineBuiltInAccessor$3(IteratorPrototype$3, key, {
1265
1265
  configurable: true,
1266
1266
  get: function () {
1267
1267
  return value;
1268
1268
  },
1269
1269
  set: function (replacement) {
1270
- anObject$7(this);
1271
- if (this === IteratorPrototype$3) throw new $TypeError$3("You can't redefine this property");
1270
+ anObject$a(this);
1271
+ if (this === IteratorPrototype$3) throw new $TypeError$7("You can't redefine this property");
1272
1272
  if (hasOwn$4(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$4(IteratorPrototype$3, TO_STRING_TAG$4)) defineIteratorPrototypeAccessor(TO_STRING_TAG$4, ITERATOR$6);
1280
1280
 
1281
- if (FORCED || !hasOwn$4(IteratorPrototype$3, CONSTRUCTOR) || IteratorPrototype$3[CONSTRUCTOR] === Object) {
1281
+ if (FORCED$1 || !hasOwn$4(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
- $$7({ global: true, constructor: true, forced: FORCED }, {
1289
+ $$g({ global: true, constructor: true, forced: FORCED$1 }, {
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$1 = function (obj) {
1295
+ var getIteratorDirect$3 = 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$b = functionCall;
1317
- var anObject$6 = anObject$c;
1316
+ var call$e = functionCall;
1317
+ var anObject$9 = anObject$f;
1318
1318
  var getMethod$2 = getMethod$4;
1319
1319
 
1320
- var iteratorClose$2 = function (iterator, kind, value) {
1320
+ var iteratorClose$5 = function (iterator, kind, value) {
1321
1321
  var innerResult, innerError;
1322
- anObject$6(iterator);
1322
+ anObject$9(iterator);
1323
1323
  try {
1324
1324
  innerResult = getMethod$2(iterator, 'return');
1325
1325
  if (!innerResult) {
1326
1326
  if (kind === 'throw') throw value;
1327
1327
  return value;
1328
1328
  }
1329
- innerResult = call$b(innerResult, iterator);
1329
+ innerResult = call$e(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$6(innerResult);
1336
+ anObject$9(innerResult);
1337
1337
  return value;
1338
1338
  };
1339
1339
 
1340
- var call$a = functionCall;
1340
+ var call$d = functionCall;
1341
1341
  var create$3 = objectCreate;
1342
1342
  var createNonEnumerableProperty$2 = createNonEnumerableProperty$5;
1343
1343
  var defineBuiltIns$1 = defineBuiltIns$2;
@@ -1346,7 +1346,7 @@ var InternalStateModule$4 = internalState;
1346
1346
  var getMethod$1 = getMethod$4;
1347
1347
  var IteratorPrototype$2 = iteratorsCore.IteratorPrototype;
1348
1348
  var createIterResultObject$3 = createIterResultObject$4;
1349
- var iteratorClose$1 = iteratorClose$2;
1349
+ var iteratorClose$4 = iteratorClose$5;
1350
1350
 
1351
1351
  var TO_STRING_TAG$3 = wellKnownSymbol$a('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$1(iterator, 'return');
1380
- return returnMethod ? call$a(returnMethod, iterator) : createIterResultObject$3(undefined, true);
1380
+ return returnMethod ? call$d(returnMethod, iterator) : createIterResultObject$3(undefined, true);
1381
1381
  }
1382
1382
  if (state.inner) try {
1383
- iteratorClose$1(state.inner.iterator, 'normal');
1383
+ iteratorClose$4(state.inner.iterator, 'normal');
1384
1384
  } catch (error) {
1385
- return iteratorClose$1(iterator, 'throw', error);
1385
+ return iteratorClose$4(iterator, 'throw', error);
1386
1386
  }
1387
- iteratorClose$1(iterator, 'normal');
1387
+ iteratorClose$4(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$5 = anObject$c;
1417
- var iteratorClose = iteratorClose$2;
1416
+ var anObject$8 = anObject$f;
1417
+ var iteratorClose$3 = iteratorClose$5;
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$5(value)[0], value[1]) : fn(value);
1422
+ return ENTRIES ? fn(anObject$8(value)[0], value[1]) : fn(value);
1423
1423
  } catch (error) {
1424
- iteratorClose(iterator, 'throw', error);
1424
+ iteratorClose$3(iterator, 'throw', error);
1425
1425
  }
1426
1426
  };
1427
1427
 
1428
- var call$9 = functionCall;
1429
- var aCallable$3 = aCallable$5;
1430
- var anObject$4 = anObject$c;
1431
- var getIteratorDirect = getIteratorDirect$1;
1428
+ var call$c = functionCall;
1429
+ var aCallable$5 = aCallable$7;
1430
+ var anObject$7 = anObject$f;
1431
+ var getIteratorDirect$2 = getIteratorDirect$3;
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$4(call$9(this.next, iterator));
1437
+ var result = anObject$7(call$c(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$4(this);
1446
- aCallable$3(mapper);
1447
- return new IteratorProxy(getIteratorDirect(this), {
1445
+ anObject$7(this);
1446
+ aCallable$5(mapper);
1447
+ return new IteratorProxy(getIteratorDirect$2(this), {
1448
1448
  mapper: mapper
1449
1449
  });
1450
1450
  };
1451
1451
 
1452
- var $$6 = _export;
1452
+ var $$f = _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
- $$6({ target: 'Iterator', proto: true, real: true, forced: IS_PURE$1 }, {
1458
+ $$f({ 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$e = functionUncurryThis;
1515
- var aCallable$2 = aCallable$5;
1514
+ var uncurryThis$g = functionUncurryThis;
1515
+ var aCallable$4 = aCallable$7;
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$e(aCallable$2(Object.getOwnPropertyDescriptor(object, key)[method]));
1520
+ return uncurryThis$g(aCallable$4(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$2 = 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$2("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 = functionUncurryThisAccessor;
1541
+ var uncurryThisAccessor$1 = functionUncurryThisAccessor;
1542
1542
  var isObject$1 = isObject$9;
1543
1543
  var requireObjectCoercible$1 = requireObjectCoercible$4;
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(Object.prototype, '__proto__', 'set');
1555
+ setter = uncurryThisAccessor$1(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 $$5 = _export;
1570
- var call$8 = functionCall;
1569
+ var $$e = _export;
1570
+ var call$b = functionCall;
1571
1571
  var FunctionName = functionName;
1572
1572
  var isCallable$5 = isCallable$j;
1573
1573
  var createIteratorConstructor$1 = iteratorCreateConstructor;
@@ -1639,7 +1639,7 @@ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAUL
1639
1639
  createNonEnumerableProperty$1(IterablePrototype, 'name', VALUES);
1640
1640
  } else {
1641
1641
  INCORRECT_VALUES_NAME = true;
1642
- defaultIterator = function values() { return call$8(nativeIterator, this); };
1642
+ defaultIterator = function values() { return call$b(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$5(IterablePrototype, KEY, methods[KEY]);
1656
1656
  }
1657
- } else $$5({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1657
+ } else $$e({ 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$3 = internalState;
1673
1673
  var defineProperty$1 = objectDefineProperty.f;
1674
1674
  var defineIterator$1 = iteratorDefine;
1675
1675
  var createIterResultObject$2 = createIterResultObject$4;
1676
- var DESCRIPTORS$6 = descriptors;
1676
+ var DESCRIPTORS$7 = descriptors;
1677
1677
 
1678
1678
  var ARRAY_ITERATOR = 'Array Iterator';
1679
1679
  var setInternalState$3 = InternalStateModule$3.set;
@@ -1723,7 +1723,7 @@ addToUnscopables('values');
1723
1723
  addToUnscopables('entries');
1724
1724
 
1725
1725
  // V8 ~ Chrome 45- bug
1726
- if (DESCRIPTORS$6 && 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$1 = FunctionPrototype.apply;
1926
- var call$7 = FunctionPrototype.call;
1926
+ var call$a = 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$7.bind(apply$1) : function () {
1930
- return call$7.apply(apply$1, arguments);
1929
+ var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$a.bind(apply$1) : function () {
1930
+ return call$a.apply(apply$1, arguments);
1931
1931
  });
1932
1932
 
1933
- var uncurryThis$d = functionUncurryThis;
1933
+ var uncurryThis$f = functionUncurryThis;
1934
1934
 
1935
- var arraySlice$3 = uncurryThis$d([].slice);
1935
+ var arraySlice$3 = uncurryThis$f([].slice);
1936
1936
 
1937
1937
  var classof$6 = 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$1 = Array.isArray || function isArray(argument) {
1942
+ var isArray$2 = Array.isArray || function isArray(argument) {
1943
1943
  return classof$6(argument) === 'Array';
1944
1944
  };
1945
1945
 
@@ -1991,17 +1991,17 @@ var toString$5 = function (argument) {
1991
1991
  return $String$1(argument);
1992
1992
  };
1993
1993
 
1994
- var uncurryThis$c = functionUncurryThis;
1995
- var isArray = isArray$1;
1994
+ var uncurryThis$e = functionUncurryThis;
1995
+ var isArray$1 = isArray$2;
1996
1996
  var isCallable$3 = isCallable$j;
1997
1997
  var classof$3 = classofRaw$2;
1998
1998
  var toString$4 = toString$5;
1999
1999
 
2000
- var push$4 = uncurryThis$c([].push);
2000
+ var push$4 = uncurryThis$e([].push);
2001
2001
 
2002
2002
  var getJsonReplacerFunction = function (replacer) {
2003
2003
  if (isCallable$3(replacer)) return replacer;
2004
- if (!isArray(replacer)) return;
2004
+ if (!isArray$1(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(this)) return value;
2019
+ if (isArray$1(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 $$4 = _export;
2025
- var getBuiltIn$1 = getBuiltIn$5;
2024
+ var $$d = _export;
2025
+ var getBuiltIn$2 = getBuiltIn$6;
2026
2026
  var apply = functionApply;
2027
- var call$6 = functionCall;
2028
- var uncurryThis$b = functionUncurryThis;
2029
- var fails$4 = fails$g;
2027
+ var call$9 = functionCall;
2028
+ var uncurryThis$d = functionUncurryThis;
2029
+ var fails$6 = fails$i;
2030
2030
  var isCallable$2 = isCallable$j;
2031
2031
  var isSymbol = isSymbol$3;
2032
2032
  var arraySlice$2 = arraySlice$3;
@@ -2034,19 +2034,19 @@ var getReplacerFunction = getJsonReplacerFunction;
2034
2034
  var NATIVE_SYMBOL = symbolConstructorDetection;
2035
2035
 
2036
2036
  var $String = String;
2037
- var $stringify = getBuiltIn$1('JSON', 'stringify');
2038
- var exec$3 = uncurryThis$b(/./.exec);
2039
- var charAt$4 = uncurryThis$b(''.charAt);
2040
- var charCodeAt$2 = uncurryThis$b(''.charCodeAt);
2041
- var replace$3 = uncurryThis$b(''.replace);
2042
- var numberToString$1 = uncurryThis$b(1.0.toString);
2037
+ var $stringify = getBuiltIn$2('JSON', 'stringify');
2038
+ var exec$3 = uncurryThis$d(/./.exec);
2039
+ var charAt$4 = uncurryThis$d(''.charAt);
2040
+ var charCodeAt$2 = uncurryThis$d(''.charCodeAt);
2041
+ var replace$3 = 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$4(function () {
2049
- var symbol = getBuiltIn$1('Symbol')('stringify detection');
2048
+ var WRONG_SYMBOLS_CONVERSION = !NATIVE_SYMBOL || fails$6(function () {
2049
+ var symbol = getBuiltIn$2('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$4(function () {
2056
2056
  });
2057
2057
 
2058
2058
  // https://github.com/tc39/proposal-well-formed-stringify
2059
- var ILL_FORMED_UNICODE = fails$4(function () {
2059
+ var ILL_FORMED_UNICODE = fails$6(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$2($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$2($replacer)) value = call$6($replacer, this, $String(key), value);
2070
+ if (isCallable$2($replacer)) value = call$9($replacer, this, $String(key), value);
2071
2071
  if (!isSymbol(value)) return value;
2072
2072
  };
2073
2073
  return apply($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
- $$4({ target: 'JSON', stat: true, arity: 3, forced: WRONG_SYMBOLS_CONVERSION || ILL_FORMED_UNICODE }, {
2087
+ $$d({ 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$2(arguments);
@@ -2094,27 +2094,27 @@ if ($stringify) {
2094
2094
  });
2095
2095
  }
2096
2096
 
2097
- var DESCRIPTORS$5 = descriptors;
2098
- var uncurryThis$a = functionUncurryThis;
2099
- var call$5 = functionCall;
2100
- var fails$3 = fails$g;
2097
+ var DESCRIPTORS$6 = descriptors;
2098
+ var uncurryThis$c = functionUncurryThis;
2099
+ var call$8 = functionCall;
2100
+ var fails$5 = fails$i;
2101
2101
  var objectKeys = objectKeys$2;
2102
2102
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
2103
2103
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
2104
- var toObject$1 = toObject$4;
2104
+ var toObject$2 = toObject$5;
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$a([].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$3(function () {
2115
+ var objectAssign = !$assign || fails$5(function () {
2116
2116
  // should have correct order of operations (Edge bug)
2117
- if (DESCRIPTORS$5 && $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,7 +2133,7 @@ var objectAssign = !$assign || fails$3(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$1(target);
2136
+ var T = toObject$2(target);
2137
2137
  var argumentsLength = arguments.length;
2138
2138
  var index = 1;
2139
2139
  var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
@@ -2146,18 +2146,18 @@ var objectAssign = !$assign || fails$3(function () {
2146
2146
  var key;
2147
2147
  while (length > j) {
2148
2148
  key = keys[j++];
2149
- if (!DESCRIPTORS$5 || call$5(propertyIsEnumerable, S, key)) T[key] = S[key];
2149
+ if (!DESCRIPTORS$6 || call$8(propertyIsEnumerable, S, key)) T[key] = S[key];
2150
2150
  }
2151
2151
  } return T;
2152
2152
  } : $assign;
2153
2153
 
2154
- var $$3 = _export;
2154
+ var $$c = _export;
2155
2155
  var assign$1 = objectAssign;
2156
2156
 
2157
2157
  // `Object.assign` method
2158
2158
  // https://tc39.es/ecma262/#sec-object.assign
2159
2159
  // eslint-disable-next-line es/no-object-assign -- required for testing
2160
- $$3({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign$1 }, {
2160
+ $$c({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign$1 }, {
2161
2161
  assign: assign$1
2162
2162
  });
2163
2163
 
@@ -2214,6 +2214,83 @@ const EmptyContainer = dotAttributes => {
2214
2214
  }));
2215
2215
  };
2216
2216
 
2217
+ var DESCRIPTORS$5 = descriptors;
2218
+ var isArray = isArray$2;
2219
+
2220
+ var $TypeError$5 = 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$5 && !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$5('Cannot set read only .length');
2239
+ } return O.length = length;
2240
+ } : function (O, length) {
2241
+ return O.length = length;
2242
+ };
2243
+
2244
+ var $TypeError$4 = 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$4('Maximum allowed index exceeded');
2249
+ return it;
2250
+ };
2251
+
2252
+ var $$b = _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$4 = fails$i;
2258
+
2259
+ var INCORRECT_TO_LENGTH = fails$4(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
+ $$b({ 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
+
2217
2294
  /**
2218
2295
  * @internal
2219
2296
  * A custom React hook that checks whether a referenced HTMLDivElement has visible content based on its height.
@@ -2251,6 +2328,600 @@ const useCheckVisibleContent = ref => {
2251
2328
  return haveContent;
2252
2329
  };
2253
2330
 
2331
+ var classofRaw = classofRaw$2;
2332
+ var uncurryThis$b = 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$b(fn);
2339
+ };
2340
+
2341
+ var uncurryThis$a = functionUncurryThisClause;
2342
+ var aCallable$3 = aCallable$7;
2343
+ var NATIVE_BIND = functionBindNative;
2344
+
2345
+ var bind$4 = uncurryThis$a(uncurryThis$a.bind);
2346
+
2347
+ // optional / simple context binding
2348
+ var functionBindContext = function (fn, that) {
2349
+ aCallable$3(fn);
2350
+ return that === undefined ? fn : NATIVE_BIND ? bind$4(fn, that) : function (/* ...args */) {
2351
+ return fn.apply(that, arguments);
2352
+ };
2353
+ };
2354
+
2355
+ var wellKnownSymbol$3 = wellKnownSymbol$e;
2356
+ var Iterators$1 = iterators;
2357
+
2358
+ var ITERATOR$3 = wellKnownSymbol$3('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$3] === it);
2364
+ };
2365
+
2366
+ var classof$2 = classof$5;
2367
+ var getMethod = getMethod$4;
2368
+ var isNullOrUndefined = isNullOrUndefined$3;
2369
+ var Iterators = iterators;
2370
+ var wellKnownSymbol$2 = wellKnownSymbol$e;
2371
+
2372
+ var ITERATOR$2 = wellKnownSymbol$2('iterator');
2373
+
2374
+ var getIteratorMethod$4 = function (it) {
2375
+ if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR$2)
2376
+ || getMethod(it, '@@iterator')
2377
+ || Iterators[classof$2(it)];
2378
+ };
2379
+
2380
+ var call$7 = functionCall;
2381
+ var aCallable$2 = aCallable$7;
2382
+ var anObject$6 = anObject$f;
2383
+ var tryToString$1 = tryToString$3;
2384
+ var getIteratorMethod$3 = getIteratorMethod$4;
2385
+
2386
+ var $TypeError$3 = TypeError;
2387
+
2388
+ var getIterator$3 = function (argument, usingIterator) {
2389
+ var iteratorMethod = arguments.length < 2 ? getIteratorMethod$3(argument) : usingIterator;
2390
+ if (aCallable$2(iteratorMethod)) return anObject$6(call$7(iteratorMethod, argument));
2391
+ throw new $TypeError$3(tryToString$1(argument) + ' is not iterable');
2392
+ };
2393
+
2394
+ var bind$3 = functionBindContext;
2395
+ var call$6 = functionCall;
2396
+ var anObject$5 = anObject$f;
2397
+ var tryToString = tryToString$3;
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$2 = 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$3 = 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$3(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$5(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$2(tryToString(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$6(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 $$a = _export;
2464
+ var iterate$2 = iterate$3;
2465
+ var aCallable$1 = aCallable$7;
2466
+ var anObject$4 = anObject$f;
2467
+ var getIteratorDirect$1 = getIteratorDirect$3;
2468
+
2469
+ // `Iterator.prototype.forEach` method
2470
+ // https://github.com/tc39/proposal-iterator-helpers
2471
+ $$a({ target: 'Iterator', proto: true, real: true }, {
2472
+ forEach: function forEach(fn) {
2473
+ anObject$4(this);
2474
+ aCallable$1(fn);
2475
+ var record = getIteratorDirect$1(this);
2476
+ var counter = 0;
2477
+ iterate$2(record, function (value) {
2478
+ fn(value, counter++);
2479
+ }, { IS_RECORD: true });
2480
+ }
2481
+ });
2482
+
2483
+ var uncurryThis$9 = 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$9(SetPrototype$1.add),
2492
+ has: uncurryThis$9(SetPrototype$1.has),
2493
+ remove: uncurryThis$9(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$5 = 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$5(next, iterator)).done) {
2512
+ result = fn(step.value);
2513
+ if (result !== undefined) return result;
2514
+ }
2515
+ };
2516
+
2517
+ var uncurryThis$8 = 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$8(SetPrototype.forEach);
2524
+ var keys = uncurryThis$8(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$1 = 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$1(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 = aCallable$7;
2553
+ var anObject$3 = anObject$f;
2554
+ var call$4 = 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$1 = 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(set.has);
2567
+ this.keys = aCallable(set.keys);
2568
+ };
2569
+
2570
+ SetRecord.prototype = {
2571
+ getIterator: function () {
2572
+ return getIteratorDirect(anObject$3(call$4(this.keys, this.set)));
2573
+ },
2574
+ includes: function (it) {
2575
+ return call$4(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$3(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$1(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$1 = getBuiltIn$6;
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$1('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 $$9 = _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
+ $$9({ 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 $$8 = _export;
2695
+ var fails$3 = fails$i;
2696
+ var intersection = setIntersection;
2697
+ var setMethodAcceptSetLike$5 = setMethodAcceptSetLike$7;
2698
+
2699
+ var INCORRECT = !setMethodAcceptSetLike$5('intersection') || fails$3(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
+ $$8({ 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 $$7 = _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
+ $$7({ 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 = 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(O, function (e) {
2754
+ if (!otherRec.includes(e)) return false;
2755
+ }, true) !== false;
2756
+ };
2757
+
2758
+ var $$6 = _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
+ $$6({ 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 $$5 = _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
+ $$5({ 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 $$4 = _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
+ $$4({ 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
+ };
2847
+
2848
+ var $$3 = _export;
2849
+ var union = setUnion;
2850
+ var setMethodAcceptSetLike = setMethodAcceptSetLike$7;
2851
+
2852
+ // `Set.prototype.union` method
2853
+ // https://github.com/tc39/proposal-set-methods
2854
+ $$3({ target: 'Set', proto: true, real: true, forced: !setMethodAcceptSetLike('union') }, {
2855
+ union: union
2856
+ });
2857
+
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;
2875
+ }
2876
+ window.addEventListener('dotcms:analytics:ready', handleAnalyticsReady);
2877
+ window.addEventListener('dotcms:analytics:cleanup', handleAnalyticsCleanup);
2878
+ isInitialized = true;
2879
+ }
2880
+ /**
2881
+ * @internal
2882
+ * React hook that checks whether DotCMS Analytics is active.
2883
+ *
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
2887
+ *
2888
+ * Components automatically re-render when analytics state changes. Works regardless
2889
+ * of initialization order and returns false during SSR.
2890
+ *
2891
+ * @returns {boolean} True if analytics is active, false otherwise
2892
+ *
2893
+ * @example
2894
+ * ```tsx
2895
+ * function Contentlet({ item }) {
2896
+ * const isAnalyticsActive = useIsAnalyticsActive()
2897
+ *
2898
+ * const attrs = isAnalyticsActive
2899
+ * ? { 'data-dot-analytics-id': item.id }
2900
+ * : {}
2901
+ *
2902
+ * return <div {...attrs}>{item.title}</div>
2903
+ * }
2904
+ * ```
2905
+ */
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();
2918
+ }
2919
+ return currentValue != null ? currentValue : false;
2920
+ },
2921
+ // Get server snapshot (SSR): always false
2922
+ () => false);
2923
+ };
2924
+
2254
2925
  /**
2255
2926
  * @internal
2256
2927
  *
@@ -2323,13 +2994,27 @@ function Contentlet({
2323
2994
  }) {
2324
2995
  const ref = useRef(null);
2325
2996
  const isDevMode = useIsDevMode();
2997
+ const isAnalyticsActive = useIsAnalyticsActive();
2326
2998
  const haveContent = useCheckVisibleContent(ref);
2327
2999
  const style = useMemo(() => isDevMode ? {
2328
3000
  minHeight: haveContent ? undefined : '4rem'
2329
3001
  } : {}, [isDevMode, haveContent]);
3002
+ // UVE attributes - only when in development/editor mode
2330
3003
  const dotAttributes = useMemo(() => isDevMode ? getDotContentletAttributes(contentlet, container) : {}, [isDevMode, contentlet, container]);
2331
- return jsx("div", Object.assign({}, dotAttributes, {
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, {
2332
3016
  "data-dot-object": "contentlet",
3017
+ className: containerClassName,
2333
3018
  ref: ref,
2334
3019
  style: style,
2335
3020
  children: jsx(CustomComponent, {
@@ -2720,12 +3405,12 @@ const useEditableDotCMSPage = pageResponse => {
2720
3405
  return updatedPageResponse;
2721
3406
  };
2722
3407
 
2723
- var anObject$3 = anObject$c;
3408
+ var anObject$2 = anObject$f;
2724
3409
 
2725
3410
  // `RegExp.prototype.flags` getter implementation
2726
3411
  // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
2727
3412
  var regexpFlags = function () {
2728
- var that = anObject$3(this);
3413
+ var that = anObject$2(this);
2729
3414
  var result = '';
2730
3415
  if (that.hasIndices) result += 'd';
2731
3416
  if (that.global) result += 'g';
@@ -2738,7 +3423,7 @@ var regexpFlags = function () {
2738
3423
  return result;
2739
3424
  };
2740
3425
 
2741
- var call$4 = functionCall;
3426
+ var call$3 = functionCall;
2742
3427
  var hasOwn$2 = hasOwnProperty_1;
2743
3428
  var isPrototypeOf = objectIsPrototypeOf;
2744
3429
  var regExpFlags = regexpFlags;
@@ -2748,14 +3433,14 @@ var RegExpPrototype$1 = RegExp.prototype;
2748
3433
  var regexpGetFlags = function (R) {
2749
3434
  var flags = R.flags;
2750
3435
  return flags === undefined && !('flags' in RegExpPrototype$1) && !hasOwn$2(R, 'flags') && isPrototypeOf(RegExpPrototype$1, R)
2751
- ? call$4(regExpFlags, R) : flags;
3436
+ ? call$3(regExpFlags, R) : flags;
2752
3437
  };
2753
3438
 
2754
3439
  var PROPER_FUNCTION_NAME = functionName.PROPER;
2755
3440
  var defineBuiltIn$4 = defineBuiltIn$9;
2756
- var anObject$2 = anObject$c;
3441
+ var anObject$1 = anObject$f;
2757
3442
  var $toString$2 = toString$5;
2758
- var fails$2 = fails$g;
3443
+ var fails$2 = fails$i;
2759
3444
  var getRegExpFlags = regexpGetFlags;
2760
3445
 
2761
3446
  var TO_STRING = 'toString';
@@ -2770,21 +3455,21 @@ var INCORRECT_NAME = PROPER_FUNCTION_NAME && nativeToString.name !== TO_STRING;
2770
3455
  // https://tc39.es/ecma262/#sec-regexp.prototype.tostring
2771
3456
  if (NOT_GENERIC || INCORRECT_NAME) {
2772
3457
  defineBuiltIn$4(RegExpPrototype, TO_STRING, function toString() {
2773
- var R = anObject$2(this);
3458
+ var R = anObject$1(this);
2774
3459
  var pattern = $toString$2(R.source);
2775
3460
  var flags = $toString$2(getRegExpFlags(R));
2776
3461
  return '/' + pattern + '/' + flags;
2777
3462
  }, { unsafe: true });
2778
3463
  }
2779
3464
 
2780
- var uncurryThis$9 = functionUncurryThis;
2781
- var toIntegerOrInfinity = toIntegerOrInfinity$3;
3465
+ var uncurryThis$7 = functionUncurryThis;
3466
+ var toIntegerOrInfinity = toIntegerOrInfinity$4;
2782
3467
  var toString$3 = toString$5;
2783
3468
  var requireObjectCoercible = requireObjectCoercible$4;
2784
3469
 
2785
- var charAt$3 = uncurryThis$9(''.charAt);
2786
- var charCodeAt$1 = uncurryThis$9(''.charCodeAt);
2787
- var stringSlice$2 = uncurryThis$9(''.slice);
3470
+ var charAt$3 = uncurryThis$7(''.charAt);
3471
+ var charCodeAt$1 = uncurryThis$7(''.charCodeAt);
3472
+ var stringSlice$2 = uncurryThis$7(''.slice);
2788
3473
 
2789
3474
  var createMethod = function (CONVERT_TO_STRING) {
2790
3475
  return function ($this, pos) {
@@ -2845,12 +3530,12 @@ defineIterator(String, 'String', function (iterated) {
2845
3530
  return createIterResultObject$1(point, false);
2846
3531
  });
2847
3532
 
2848
- var fails$1 = fails$g;
2849
- var wellKnownSymbol$3 = wellKnownSymbol$e;
3533
+ var fails$1 = fails$i;
3534
+ var wellKnownSymbol$1 = wellKnownSymbol$e;
2850
3535
  var DESCRIPTORS$4 = descriptors;
2851
3536
  var IS_PURE = isPure;
2852
3537
 
2853
- var ITERATOR$3 = wellKnownSymbol$3('iterator');
3538
+ var ITERATOR$1 = wellKnownSymbol$1('iterator');
2854
3539
 
2855
3540
  var urlConstructorDetection = !fails$1(function () {
2856
3541
  // eslint-disable-next-line unicorn/relative-url-style -- required for testing
@@ -2873,7 +3558,7 @@ var urlConstructorDetection = !fails$1(function () {
2873
3558
  || url.href !== 'http://a/c%20d?a=1&c=3'
2874
3559
  || params.get('c') !== '3'
2875
3560
  || String(new URLSearchParams('?a=1')) !== 'a=1'
2876
- || !params[ITERATOR$3]
3561
+ || !params[ITERATOR$1]
2877
3562
  // throws in Edge
2878
3563
  || new URL('https://a@b').username !== 'a'
2879
3564
  || new URLSearchParams(new URLSearchParams('a=b')).get('a') !== 'b'
@@ -2887,46 +3572,11 @@ var urlConstructorDetection = !fails$1(function () {
2887
3572
  || new URL('http://x', undefined).host !== 'x';
2888
3573
  });
2889
3574
 
2890
- var classofRaw = classofRaw$2;
2891
- var uncurryThis$8 = functionUncurryThis;
2892
-
2893
- var functionUncurryThisClause = function (fn) {
2894
- // Nashorn bug:
2895
- // https://github.com/zloirock/core-js/issues/1128
2896
- // https://github.com/zloirock/core-js/issues/1130
2897
- if (classofRaw(fn) === 'Function') return uncurryThis$8(fn);
2898
- };
2899
-
2900
- var uncurryThis$7 = functionUncurryThisClause;
2901
- var aCallable$1 = aCallable$5;
2902
- var NATIVE_BIND = functionBindNative;
2903
-
2904
- var bind$3 = uncurryThis$7(uncurryThis$7.bind);
2905
-
2906
- // optional / simple context binding
2907
- var functionBindContext = function (fn, that) {
2908
- aCallable$1(fn);
2909
- return that === undefined ? fn : NATIVE_BIND ? bind$3(fn, that) : function (/* ...args */) {
2910
- return fn.apply(that, arguments);
2911
- };
2912
- };
2913
-
2914
- var wellKnownSymbol$2 = wellKnownSymbol$e;
2915
- var Iterators$1 = iterators;
2916
-
2917
- var ITERATOR$2 = wellKnownSymbol$2('iterator');
2918
- var ArrayPrototype = Array.prototype;
2919
-
2920
- // check on default Array iterator
2921
- var isArrayIteratorMethod$1 = function (it) {
2922
- return it !== undefined && (Iterators$1.Array === it || ArrayPrototype[ITERATOR$2] === it);
2923
- };
2924
-
2925
3575
  var uncurryThis$6 = functionUncurryThis;
2926
- var fails = fails$g;
3576
+ var fails = fails$i;
2927
3577
  var isCallable$1 = isCallable$j;
2928
- var classof$2 = classof$5;
2929
- var getBuiltIn = getBuiltIn$5;
3578
+ var classof$1 = classof$5;
3579
+ var getBuiltIn = getBuiltIn$6;
2930
3580
  var inspectSource = inspectSource$2;
2931
3581
 
2932
3582
  var noop = function () { /* empty */ };
@@ -2947,7 +3597,7 @@ var isConstructorModern = function isConstructor(argument) {
2947
3597
 
2948
3598
  var isConstructorLegacy = function isConstructor(argument) {
2949
3599
  if (!isCallable$1(argument)) return false;
2950
- switch (classof$2(argument)) {
3600
+ switch (classof$1(argument)) {
2951
3601
  case 'AsyncFunction':
2952
3602
  case 'GeneratorFunction':
2953
3603
  case 'AsyncGeneratorFunction': return false;
@@ -2974,44 +3624,16 @@ var isConstructor$1 = !construct || fails(function () {
2974
3624
  || called;
2975
3625
  }) ? isConstructorLegacy : isConstructorModern;
2976
3626
 
2977
- var classof$1 = classof$5;
2978
- var getMethod = getMethod$4;
2979
- var isNullOrUndefined = isNullOrUndefined$3;
2980
- var Iterators = iterators;
2981
- var wellKnownSymbol$1 = wellKnownSymbol$e;
2982
-
2983
- var ITERATOR$1 = wellKnownSymbol$1('iterator');
2984
-
2985
- var getIteratorMethod$3 = function (it) {
2986
- if (!isNullOrUndefined(it)) return getMethod(it, ITERATOR$1)
2987
- || getMethod(it, '@@iterator')
2988
- || Iterators[classof$1(it)];
2989
- };
2990
-
2991
- var call$3 = functionCall;
2992
- var aCallable = aCallable$5;
2993
- var anObject$1 = anObject$c;
2994
- var tryToString = tryToString$2;
2995
- var getIteratorMethod$2 = getIteratorMethod$3;
2996
-
2997
- var $TypeError$1 = TypeError;
2998
-
2999
- var getIterator$2 = function (argument, usingIterator) {
3000
- var iteratorMethod = arguments.length < 2 ? getIteratorMethod$2(argument) : usingIterator;
3001
- if (aCallable(iteratorMethod)) return anObject$1(call$3(iteratorMethod, argument));
3002
- throw new $TypeError$1(tryToString(argument) + ' is not iterable');
3003
- };
3004
-
3005
3627
  var bind$2 = functionBindContext;
3006
3628
  var call$2 = functionCall;
3007
- var toObject = toObject$4;
3629
+ var toObject = toObject$5;
3008
3630
  var callWithSafeIterationClosing = callWithSafeIterationClosing$2;
3009
- var isArrayIteratorMethod = isArrayIteratorMethod$1;
3631
+ var isArrayIteratorMethod = isArrayIteratorMethod$2;
3010
3632
  var isConstructor = isConstructor$1;
3011
- var lengthOfArrayLike = lengthOfArrayLike$2;
3633
+ var lengthOfArrayLike = lengthOfArrayLike$4;
3012
3634
  var createProperty = createProperty$2;
3013
- var getIterator$1 = getIterator$2;
3014
- var getIteratorMethod$1 = getIteratorMethod$3;
3635
+ var getIterator$1 = getIterator$3;
3636
+ var getIteratorMethod$1 = getIteratorMethod$4;
3015
3637
 
3016
3638
  var $Array = Array;
3017
3639
 
@@ -3311,13 +3933,13 @@ var isCallable = isCallable$j;
3311
3933
  var hasOwn$1 = hasOwnProperty_1;
3312
3934
  var bind$1 = functionBindContext;
3313
3935
  var classof = classof$5;
3314
- var anObject = anObject$c;
3936
+ var anObject = anObject$f;
3315
3937
  var isObject = isObject$9;
3316
3938
  var $toString$1 = toString$5;
3317
3939
  var create = objectCreate;
3318
3940
  var createPropertyDescriptor = createPropertyDescriptor$5;
3319
- var getIterator = getIterator$2;
3320
- var getIteratorMethod = getIteratorMethod$3;
3941
+ var getIterator = getIterator$3;
3942
+ var getIteratorMethod = getIteratorMethod$4;
3321
3943
  var createIterResultObject = createIterResultObject$4;
3322
3944
  var validateArgumentsLength$3 = validateArgumentsLength$4;
3323
3945
  var wellKnownSymbol = wellKnownSymbol$e;
@@ -5141,7 +5763,7 @@ const DotContent = ({
5141
5763
  const {
5142
5764
  contentType = 'Unknown Content Type'
5143
5765
  } = data;
5144
- const Component = customRenderers[contentType];
5766
+ const Component = customRenderers == null ? void 0 : customRenderers[contentType];
5145
5767
  /* In dev mode, show a helpful message for unknown content types */
5146
5768
  if (isDevMode && !Component) {
5147
5769
  return jsx(NoComponentProvided, {
@@ -5153,7 +5775,9 @@ const DotContent = ({
5153
5775
  console.warn(DOT_CONTENT_NO_MATCHING_COMPONENT_MESSAGE(contentType));
5154
5776
  return null;
5155
5777
  }
5156
- return jsx(Component, Object.assign({}, node));
5778
+ return jsx(Component, {
5779
+ node: node
5780
+ });
5157
5781
  };
5158
5782
 
5159
5783
  /**
@@ -5478,7 +6102,7 @@ const BlockEditorBlock = ({
5478
6102
  const key = `${node.type}-${index}`;
5479
6103
  if (CustomRendererComponent) {
5480
6104
  return jsx(CustomRendererComponent, {
5481
- content: node.content,
6105
+ node: node,
5482
6106
  children: jsx(BlockEditorBlock, {
5483
6107
  content: node.content,
5484
6108
  customRenderers: customRenderers
@@ -5613,7 +6237,7 @@ const UnknownBlock = ({
5613
6237
  *
5614
6238
  * @component
5615
6239
  * @param {Object} props - The component props.
5616
- * @param {BlockEditorContent} props.blocks - The blocks of content to render.
6240
+ * @param {BlockEditorNode} props.blocks - The blocks of content to render.
5617
6241
  * @param {CustomRenderer} [props.customRenderers] - Optional custom renderers for specific block types.
5618
6242
  * @param {string} [props.className] - Optional CSS class name for the container div.
5619
6243
  * @param {React.CSSProperties} [props.style] - Optional inline styles for the container div.