@bolttech/ob-atoms-breadcrumbs 1.0.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.cjs.js ADDED
@@ -0,0 +1,2070 @@
1
+ 'use strict';
2
+
3
+ var jsxRuntime = require('react/jsx-runtime');
4
+ var react = require('react');
5
+ var uiUtils = require('@bolttech/ui-utils');
6
+ var obAtomsIcon = require('@bolttech/ob-atoms-icon');
7
+
8
+ var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
9
+
10
+ var fails$c = function (exec) {
11
+ try {
12
+ return !!exec();
13
+ } catch (error) {
14
+ return true;
15
+ }
16
+ };
17
+
18
+ var fails$b = fails$c;
19
+
20
+ var functionBindNative = !fails$b(function () {
21
+ // eslint-disable-next-line es/no-function-prototype-bind -- safe
22
+ var test = (function () { /* empty */ }).bind();
23
+ // eslint-disable-next-line no-prototype-builtins -- safe
24
+ return typeof test != 'function' || test.hasOwnProperty('prototype');
25
+ });
26
+
27
+ var NATIVE_BIND$1 = functionBindNative;
28
+
29
+ var FunctionPrototype$1 = Function.prototype;
30
+ var call$9 = FunctionPrototype$1.call;
31
+ // eslint-disable-next-line es/no-function-prototype-bind -- safe
32
+ var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$1.bind.bind(call$9, call$9);
33
+
34
+ var functionUncurryThis = NATIVE_BIND$1 ? uncurryThisWithBind : function (fn) {
35
+ return function () {
36
+ return call$9.apply(fn, arguments);
37
+ };
38
+ };
39
+
40
+ var uncurryThis$a = functionUncurryThis;
41
+
42
+ var toString$1 = uncurryThis$a({}.toString);
43
+ var stringSlice$1 = uncurryThis$a(''.slice);
44
+
45
+ var classofRaw = function (it) {
46
+ return stringSlice$1(toString$1(it), 8, -1);
47
+ };
48
+
49
+ var uncurryThis$9 = functionUncurryThis;
50
+ var fails$a = fails$c;
51
+ var classof = classofRaw;
52
+
53
+ var $Object$3 = Object;
54
+ var split = uncurryThis$9(''.split);
55
+
56
+ // fallback for non-array-like ES3 and non-enumerable old V8 strings
57
+ var indexedObject = fails$a(function () {
58
+ // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
59
+ // eslint-disable-next-line no-prototype-builtins -- safe
60
+ return !$Object$3('z').propertyIsEnumerable(0);
61
+ }) ? function (it) {
62
+ return classof(it) === 'String' ? split(it, '') : $Object$3(it);
63
+ } : $Object$3;
64
+
65
+ // we can't use just `it == null` since of `document.all` special case
66
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
67
+ var isNullOrUndefined$2 = function (it) {
68
+ return it === null || it === undefined;
69
+ };
70
+
71
+ var isNullOrUndefined$1 = isNullOrUndefined$2;
72
+
73
+ var $TypeError$8 = TypeError;
74
+
75
+ // `RequireObjectCoercible` abstract operation
76
+ // https://tc39.es/ecma262/#sec-requireobjectcoercible
77
+ var requireObjectCoercible$3 = function (it) {
78
+ if (isNullOrUndefined$1(it)) throw new $TypeError$8("Can't call method on " + it);
79
+ return it;
80
+ };
81
+
82
+ // toObject with fallback for non-array-like ES3 strings
83
+ var IndexedObject$1 = indexedObject;
84
+ var requireObjectCoercible$2 = requireObjectCoercible$3;
85
+
86
+ var toIndexedObject$5 = function (it) {
87
+ return IndexedObject$1(requireObjectCoercible$2(it));
88
+ };
89
+
90
+ var check = function (it) {
91
+ return it && it.Math === Math && it;
92
+ };
93
+
94
+ // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
95
+ var globalThis_1 =
96
+ // eslint-disable-next-line es/no-global-this -- safe
97
+ check(typeof globalThis == 'object' && globalThis) ||
98
+ check(typeof window == 'object' && window) ||
99
+ // eslint-disable-next-line no-restricted-globals -- safe
100
+ check(typeof self == 'object' && self) ||
101
+ check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
102
+ check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
103
+ // eslint-disable-next-line no-new-func -- fallback
104
+ (function () { return this; })() || Function('return this')();
105
+
106
+ var sharedStore = {exports: {}};
107
+
108
+ var globalThis$e = globalThis_1;
109
+
110
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
111
+ var defineProperty$6 = Object.defineProperty;
112
+
113
+ var defineGlobalProperty$3 = function (key, value) {
114
+ try {
115
+ defineProperty$6(globalThis$e, key, { value: value, configurable: true, writable: true });
116
+ } catch (error) {
117
+ globalThis$e[key] = value;
118
+ } return value;
119
+ };
120
+
121
+ var globalThis$d = globalThis_1;
122
+ var defineGlobalProperty$2 = defineGlobalProperty$3;
123
+
124
+ var SHARED = '__core-js_shared__';
125
+ var store$3 = sharedStore.exports = globalThis$d[SHARED] || defineGlobalProperty$2(SHARED, {});
126
+
127
+ (store$3.versions || (store$3.versions = [])).push({
128
+ version: '3.48.0',
129
+ mode: 'global',
130
+ copyright: '© 2013–2025 Denis Pushkarev (zloirock.ru), 2025–2026 CoreJS Company (core-js.io). All rights reserved.',
131
+ license: 'https://github.com/zloirock/core-js/blob/v3.48.0/LICENSE',
132
+ source: 'https://github.com/zloirock/core-js'
133
+ });
134
+
135
+ var sharedStoreExports = sharedStore.exports;
136
+
137
+ var store$2 = sharedStoreExports;
138
+
139
+ var shared$3 = function (key, value) {
140
+ return store$2[key] || (store$2[key] = value || {});
141
+ };
142
+
143
+ var requireObjectCoercible$1 = requireObjectCoercible$3;
144
+
145
+ var $Object$2 = Object;
146
+
147
+ // `ToObject` abstract operation
148
+ // https://tc39.es/ecma262/#sec-toobject
149
+ var toObject$3 = function (argument) {
150
+ return $Object$2(requireObjectCoercible$1(argument));
151
+ };
152
+
153
+ var uncurryThis$8 = functionUncurryThis;
154
+ var toObject$2 = toObject$3;
155
+
156
+ var hasOwnProperty = uncurryThis$8({}.hasOwnProperty);
157
+
158
+ // `HasOwnProperty` abstract operation
159
+ // https://tc39.es/ecma262/#sec-hasownproperty
160
+ // eslint-disable-next-line es/no-object-hasown -- safe
161
+ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
162
+ return hasOwnProperty(toObject$2(it), key);
163
+ };
164
+
165
+ var uncurryThis$7 = functionUncurryThis;
166
+
167
+ var id = 0;
168
+ var postfix = Math.random();
169
+ var toString = uncurryThis$7(1.1.toString);
170
+
171
+ var uid$2 = function (key) {
172
+ return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
173
+ };
174
+
175
+ var globalThis$c = globalThis_1;
176
+
177
+ var navigator = globalThis$c.navigator;
178
+ var userAgent$1 = navigator && navigator.userAgent;
179
+
180
+ var environmentUserAgent = userAgent$1 ? String(userAgent$1) : '';
181
+
182
+ var globalThis$b = globalThis_1;
183
+ var userAgent = environmentUserAgent;
184
+
185
+ var process = globalThis$b.process;
186
+ var Deno = globalThis$b.Deno;
187
+ var versions = process && process.versions || Deno && Deno.version;
188
+ var v8 = versions && versions.v8;
189
+ var match, version;
190
+
191
+ if (v8) {
192
+ match = v8.split('.');
193
+ // in old Chrome, versions of V8 isn't V8 = Chrome / 10
194
+ // but their correct versions are not interesting for us
195
+ version = match[0] > 0 && match[0] < 4 ? 1 : +(match[0] + match[1]);
196
+ }
197
+
198
+ // BrowserFS NodeJS `process` polyfill incorrectly set `.v8` to `0.0`
199
+ // so check `userAgent` even if `.v8` exists, but 0
200
+ if (!version && userAgent) {
201
+ match = userAgent.match(/Edge\/(\d+)/);
202
+ if (!match || match[1] >= 74) {
203
+ match = userAgent.match(/Chrome\/(\d+)/);
204
+ if (match) version = +match[1];
205
+ }
206
+ }
207
+
208
+ var environmentV8Version = version;
209
+
210
+ /* eslint-disable es/no-symbol -- required for testing */
211
+ var V8_VERSION = environmentV8Version;
212
+ var fails$9 = fails$c;
213
+ var globalThis$a = globalThis_1;
214
+
215
+ var $String$4 = globalThis$a.String;
216
+
217
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
218
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$9(function () {
219
+ var symbol = Symbol('symbol detection');
220
+ // Chrome 38 Symbol has incorrect toString conversion
221
+ // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
222
+ // nb: Do not call `String` directly to avoid this being optimized out to `symbol+''` which will,
223
+ // of course, fail.
224
+ return !$String$4(symbol) || !(Object(symbol) instanceof Symbol) ||
225
+ // Chrome 38-40 symbols are not inherited from DOM collections prototypes to instances
226
+ !Symbol.sham && V8_VERSION && V8_VERSION < 41;
227
+ });
228
+
229
+ /* eslint-disable es/no-symbol -- required for testing */
230
+ var NATIVE_SYMBOL$1 = symbolConstructorDetection;
231
+
232
+ var useSymbolAsUid = NATIVE_SYMBOL$1 &&
233
+ !Symbol.sham &&
234
+ typeof Symbol.iterator == 'symbol';
235
+
236
+ var globalThis$9 = globalThis_1;
237
+ var shared$2 = shared$3;
238
+ var hasOwn$9 = hasOwnProperty_1;
239
+ var uid$1 = uid$2;
240
+ var NATIVE_SYMBOL = symbolConstructorDetection;
241
+ var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
242
+
243
+ var Symbol$1 = globalThis$9.Symbol;
244
+ var WellKnownSymbolsStore = shared$2('wks');
245
+ var createWellKnownSymbol = USE_SYMBOL_AS_UID$1 ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
246
+
247
+ var wellKnownSymbol$8 = function (name) {
248
+ if (!hasOwn$9(WellKnownSymbolsStore, name)) {
249
+ WellKnownSymbolsStore[name] = NATIVE_SYMBOL && hasOwn$9(Symbol$1, name)
250
+ ? Symbol$1[name]
251
+ : createWellKnownSymbol('Symbol.' + name);
252
+ } return WellKnownSymbolsStore[name];
253
+ };
254
+
255
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
256
+ var documentAll = typeof document == 'object' && document.all;
257
+
258
+ // `IsCallable` abstract operation
259
+ // https://tc39.es/ecma262/#sec-iscallable
260
+ // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
261
+ var isCallable$e = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
262
+ return typeof argument == 'function' || argument === documentAll;
263
+ } : function (argument) {
264
+ return typeof argument == 'function';
265
+ };
266
+
267
+ var isCallable$d = isCallable$e;
268
+
269
+ var isObject$8 = function (it) {
270
+ return typeof it == 'object' ? it !== null : isCallable$d(it);
271
+ };
272
+
273
+ var isObject$7 = isObject$8;
274
+
275
+ var $String$3 = String;
276
+ var $TypeError$7 = TypeError;
277
+
278
+ // `Assert: Type(argument) is Object`
279
+ var anObject$8 = function (argument) {
280
+ if (isObject$7(argument)) return argument;
281
+ throw new $TypeError$7($String$3(argument) + ' is not an object');
282
+ };
283
+
284
+ var objectDefineProperties = {};
285
+
286
+ var fails$8 = fails$c;
287
+
288
+ // Detect IE8's incomplete defineProperty implementation
289
+ var descriptors = !fails$8(function () {
290
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
291
+ return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] !== 7;
292
+ });
293
+
294
+ var DESCRIPTORS$b = descriptors;
295
+ var fails$7 = fails$c;
296
+
297
+ // V8 ~ Chrome 36-
298
+ // https://bugs.chromium.org/p/v8/issues/detail?id=3334
299
+ var v8PrototypeDefineBug = DESCRIPTORS$b && fails$7(function () {
300
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
301
+ return Object.defineProperty(function () { /* empty */ }, 'prototype', {
302
+ value: 42,
303
+ writable: false
304
+ }).prototype !== 42;
305
+ });
306
+
307
+ var objectDefineProperty = {};
308
+
309
+ var globalThis$8 = globalThis_1;
310
+ var isObject$6 = isObject$8;
311
+
312
+ var document$1 = globalThis$8.document;
313
+ // typeof document.createElement is 'object' in old IE
314
+ var EXISTS$1 = isObject$6(document$1) && isObject$6(document$1.createElement);
315
+
316
+ var documentCreateElement$2 = function (it) {
317
+ return EXISTS$1 ? document$1.createElement(it) : {};
318
+ };
319
+
320
+ var DESCRIPTORS$a = descriptors;
321
+ var fails$6 = fails$c;
322
+ var createElement = documentCreateElement$2;
323
+
324
+ // Thanks to IE8 for its funny defineProperty
325
+ var ie8DomDefine = !DESCRIPTORS$a && !fails$6(function () {
326
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
327
+ return Object.defineProperty(createElement('div'), 'a', {
328
+ get: function () { return 7; }
329
+ }).a !== 7;
330
+ });
331
+
332
+ var NATIVE_BIND = functionBindNative;
333
+
334
+ var call$8 = Function.prototype.call;
335
+ // eslint-disable-next-line es/no-function-prototype-bind -- safe
336
+ var functionCall = NATIVE_BIND ? call$8.bind(call$8) : function () {
337
+ return call$8.apply(call$8, arguments);
338
+ };
339
+
340
+ var globalThis$7 = globalThis_1;
341
+ var isCallable$c = isCallable$e;
342
+
343
+ var aFunction = function (argument) {
344
+ return isCallable$c(argument) ? argument : undefined;
345
+ };
346
+
347
+ var getBuiltIn$3 = function (namespace, method) {
348
+ return arguments.length < 2 ? aFunction(globalThis$7[namespace]) : globalThis$7[namespace] && globalThis$7[namespace][method];
349
+ };
350
+
351
+ var uncurryThis$6 = functionUncurryThis;
352
+
353
+ var objectIsPrototypeOf = uncurryThis$6({}.isPrototypeOf);
354
+
355
+ var getBuiltIn$2 = getBuiltIn$3;
356
+ var isCallable$b = isCallable$e;
357
+ var isPrototypeOf$1 = objectIsPrototypeOf;
358
+ var USE_SYMBOL_AS_UID = useSymbolAsUid;
359
+
360
+ var $Object$1 = Object;
361
+
362
+ var isSymbol$2 = USE_SYMBOL_AS_UID ? function (it) {
363
+ return typeof it == 'symbol';
364
+ } : function (it) {
365
+ var $Symbol = getBuiltIn$2('Symbol');
366
+ return isCallable$b($Symbol) && isPrototypeOf$1($Symbol.prototype, $Object$1(it));
367
+ };
368
+
369
+ var $String$2 = String;
370
+
371
+ var tryToString$1 = function (argument) {
372
+ try {
373
+ return $String$2(argument);
374
+ } catch (error) {
375
+ return 'Object';
376
+ }
377
+ };
378
+
379
+ var isCallable$a = isCallable$e;
380
+ var tryToString = tryToString$1;
381
+
382
+ var $TypeError$6 = TypeError;
383
+
384
+ // `Assert: IsCallable(argument) is true`
385
+ var aCallable$3 = function (argument) {
386
+ if (isCallable$a(argument)) return argument;
387
+ throw new $TypeError$6(tryToString(argument) + ' is not a function');
388
+ };
389
+
390
+ var aCallable$2 = aCallable$3;
391
+ var isNullOrUndefined = isNullOrUndefined$2;
392
+
393
+ // `GetMethod` abstract operation
394
+ // https://tc39.es/ecma262/#sec-getmethod
395
+ var getMethod$3 = function (V, P) {
396
+ var func = V[P];
397
+ return isNullOrUndefined(func) ? undefined : aCallable$2(func);
398
+ };
399
+
400
+ var call$7 = functionCall;
401
+ var isCallable$9 = isCallable$e;
402
+ var isObject$5 = isObject$8;
403
+
404
+ var $TypeError$5 = TypeError;
405
+
406
+ // `OrdinaryToPrimitive` abstract operation
407
+ // https://tc39.es/ecma262/#sec-ordinarytoprimitive
408
+ var ordinaryToPrimitive$1 = function (input, pref) {
409
+ var fn, val;
410
+ if (pref === 'string' && isCallable$9(fn = input.toString) && !isObject$5(val = call$7(fn, input))) return val;
411
+ if (isCallable$9(fn = input.valueOf) && !isObject$5(val = call$7(fn, input))) return val;
412
+ if (pref !== 'string' && isCallable$9(fn = input.toString) && !isObject$5(val = call$7(fn, input))) return val;
413
+ throw new $TypeError$5("Can't convert object to primitive value");
414
+ };
415
+
416
+ var call$6 = functionCall;
417
+ var isObject$4 = isObject$8;
418
+ var isSymbol$1 = isSymbol$2;
419
+ var getMethod$2 = getMethod$3;
420
+ var ordinaryToPrimitive = ordinaryToPrimitive$1;
421
+ var wellKnownSymbol$7 = wellKnownSymbol$8;
422
+
423
+ var $TypeError$4 = TypeError;
424
+ var TO_PRIMITIVE = wellKnownSymbol$7('toPrimitive');
425
+
426
+ // `ToPrimitive` abstract operation
427
+ // https://tc39.es/ecma262/#sec-toprimitive
428
+ var toPrimitive$1 = function (input, pref) {
429
+ if (!isObject$4(input) || isSymbol$1(input)) return input;
430
+ var exoticToPrim = getMethod$2(input, TO_PRIMITIVE);
431
+ var result;
432
+ if (exoticToPrim) {
433
+ if (pref === undefined) pref = 'default';
434
+ result = call$6(exoticToPrim, input, pref);
435
+ if (!isObject$4(result) || isSymbol$1(result)) return result;
436
+ throw new $TypeError$4("Can't convert object to primitive value");
437
+ }
438
+ if (pref === undefined) pref = 'number';
439
+ return ordinaryToPrimitive(input, pref);
440
+ };
441
+
442
+ var toPrimitive = toPrimitive$1;
443
+ var isSymbol = isSymbol$2;
444
+
445
+ // `ToPropertyKey` abstract operation
446
+ // https://tc39.es/ecma262/#sec-topropertykey
447
+ var toPropertyKey$2 = function (argument) {
448
+ var key = toPrimitive(argument, 'string');
449
+ return isSymbol(key) ? key : key + '';
450
+ };
451
+
452
+ var DESCRIPTORS$9 = descriptors;
453
+ var IE8_DOM_DEFINE$1 = ie8DomDefine;
454
+ var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
455
+ var anObject$7 = anObject$8;
456
+ var toPropertyKey$1 = toPropertyKey$2;
457
+
458
+ var $TypeError$3 = TypeError;
459
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
460
+ var $defineProperty = Object.defineProperty;
461
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
462
+ var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
463
+ var ENUMERABLE = 'enumerable';
464
+ var CONFIGURABLE$1 = 'configurable';
465
+ var WRITABLE = 'writable';
466
+
467
+ // `Object.defineProperty` method
468
+ // https://tc39.es/ecma262/#sec-object.defineproperty
469
+ objectDefineProperty.f = DESCRIPTORS$9 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
470
+ anObject$7(O);
471
+ P = toPropertyKey$1(P);
472
+ anObject$7(Attributes);
473
+ if (typeof O === 'function' && P === 'prototype' && 'value' in Attributes && WRITABLE in Attributes && !Attributes[WRITABLE]) {
474
+ var current = $getOwnPropertyDescriptor$1(O, P);
475
+ if (current && current[WRITABLE]) {
476
+ O[P] = Attributes.value;
477
+ Attributes = {
478
+ configurable: CONFIGURABLE$1 in Attributes ? Attributes[CONFIGURABLE$1] : current[CONFIGURABLE$1],
479
+ enumerable: ENUMERABLE in Attributes ? Attributes[ENUMERABLE] : current[ENUMERABLE],
480
+ writable: false
481
+ };
482
+ }
483
+ } return $defineProperty(O, P, Attributes);
484
+ } : $defineProperty : function defineProperty(O, P, Attributes) {
485
+ anObject$7(O);
486
+ P = toPropertyKey$1(P);
487
+ anObject$7(Attributes);
488
+ if (IE8_DOM_DEFINE$1) try {
489
+ return $defineProperty(O, P, Attributes);
490
+ } catch (error) { /* empty */ }
491
+ if ('get' in Attributes || 'set' in Attributes) throw new $TypeError$3('Accessors not supported');
492
+ if ('value' in Attributes) O[P] = Attributes.value;
493
+ return O;
494
+ };
495
+
496
+ var ceil = Math.ceil;
497
+ var floor = Math.floor;
498
+
499
+ // `Math.trunc` method
500
+ // https://tc39.es/ecma262/#sec-math.trunc
501
+ // eslint-disable-next-line es/no-math-trunc -- safe
502
+ var mathTrunc = Math.trunc || function trunc(x) {
503
+ var n = +x;
504
+ return (n > 0 ? floor : ceil)(n);
505
+ };
506
+
507
+ var trunc = mathTrunc;
508
+
509
+ // `ToIntegerOrInfinity` abstract operation
510
+ // https://tc39.es/ecma262/#sec-tointegerorinfinity
511
+ var toIntegerOrInfinity$2 = function (argument) {
512
+ var number = +argument;
513
+ // eslint-disable-next-line no-self-compare -- NaN check
514
+ return number !== number || number === 0 ? 0 : trunc(number);
515
+ };
516
+
517
+ var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
518
+
519
+ var max = Math.max;
520
+ var min$1 = Math.min;
521
+
522
+ // Helper for a popular repeating case of the spec:
523
+ // Let integer be ? ToInteger(index).
524
+ // If integer < 0, let result be max((length + integer), 0); else let result be min(integer, length).
525
+ var toAbsoluteIndex$1 = function (index, length) {
526
+ var integer = toIntegerOrInfinity$1(index);
527
+ return integer < 0 ? max(integer + length, 0) : min$1(integer, length);
528
+ };
529
+
530
+ var toIntegerOrInfinity = toIntegerOrInfinity$2;
531
+
532
+ var min = Math.min;
533
+
534
+ // `ToLength` abstract operation
535
+ // https://tc39.es/ecma262/#sec-tolength
536
+ var toLength$1 = function (argument) {
537
+ var len = toIntegerOrInfinity(argument);
538
+ return len > 0 ? min(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
539
+ };
540
+
541
+ var toLength = toLength$1;
542
+
543
+ // `LengthOfArrayLike` abstract operation
544
+ // https://tc39.es/ecma262/#sec-lengthofarraylike
545
+ var lengthOfArrayLike$1 = function (obj) {
546
+ return toLength(obj.length);
547
+ };
548
+
549
+ var toIndexedObject$4 = toIndexedObject$5;
550
+ var toAbsoluteIndex = toAbsoluteIndex$1;
551
+ var lengthOfArrayLike = lengthOfArrayLike$1;
552
+
553
+ // `Array.prototype.{ indexOf, includes }` methods implementation
554
+ var createMethod = function (IS_INCLUDES) {
555
+ return function ($this, el, fromIndex) {
556
+ var O = toIndexedObject$4($this);
557
+ var length = lengthOfArrayLike(O);
558
+ if (length === 0) return !IS_INCLUDES && -1;
559
+ var index = toAbsoluteIndex(fromIndex, length);
560
+ var value;
561
+ // Array#includes uses SameValueZero equality algorithm
562
+ // eslint-disable-next-line no-self-compare -- NaN check
563
+ if (IS_INCLUDES && el !== el) while (length > index) {
564
+ value = O[index++];
565
+ // eslint-disable-next-line no-self-compare -- NaN check
566
+ if (value !== value) return true;
567
+ // Array#indexOf ignores holes, Array#includes - not
568
+ } else for (;length > index; index++) {
569
+ if ((IS_INCLUDES || index in O) && O[index] === el) return IS_INCLUDES || index || 0;
570
+ } return !IS_INCLUDES && -1;
571
+ };
572
+ };
573
+
574
+ var arrayIncludes = {
575
+ // `Array.prototype.indexOf` method
576
+ // https://tc39.es/ecma262/#sec-array.prototype.indexof
577
+ indexOf: createMethod(false)
578
+ };
579
+
580
+ var hiddenKeys$4 = {};
581
+
582
+ var uncurryThis$5 = functionUncurryThis;
583
+ var hasOwn$8 = hasOwnProperty_1;
584
+ var toIndexedObject$3 = toIndexedObject$5;
585
+ var indexOf = arrayIncludes.indexOf;
586
+ var hiddenKeys$3 = hiddenKeys$4;
587
+
588
+ var push = uncurryThis$5([].push);
589
+
590
+ var objectKeysInternal = function (object, names) {
591
+ var O = toIndexedObject$3(object);
592
+ var i = 0;
593
+ var result = [];
594
+ var key;
595
+ for (key in O) !hasOwn$8(hiddenKeys$3, key) && hasOwn$8(O, key) && push(result, key);
596
+ // Don't enum bug & hidden keys
597
+ while (names.length > i) if (hasOwn$8(O, key = names[i++])) {
598
+ ~indexOf(result, key) || push(result, key);
599
+ }
600
+ return result;
601
+ };
602
+
603
+ // IE8- don't enum bug keys
604
+ var enumBugKeys$3 = [
605
+ 'constructor',
606
+ 'hasOwnProperty',
607
+ 'isPrototypeOf',
608
+ 'propertyIsEnumerable',
609
+ 'toLocaleString',
610
+ 'toString',
611
+ 'valueOf'
612
+ ];
613
+
614
+ var internalObjectKeys$1 = objectKeysInternal;
615
+ var enumBugKeys$2 = enumBugKeys$3;
616
+
617
+ // `Object.keys` method
618
+ // https://tc39.es/ecma262/#sec-object.keys
619
+ // eslint-disable-next-line es/no-object-keys -- safe
620
+ var objectKeys$2 = Object.keys || function keys(O) {
621
+ return internalObjectKeys$1(O, enumBugKeys$2);
622
+ };
623
+
624
+ var DESCRIPTORS$8 = descriptors;
625
+ var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
626
+ var definePropertyModule$4 = objectDefineProperty;
627
+ var anObject$6 = anObject$8;
628
+ var toIndexedObject$2 = toIndexedObject$5;
629
+ var objectKeys$1 = objectKeys$2;
630
+
631
+ // `Object.defineProperties` method
632
+ // https://tc39.es/ecma262/#sec-object.defineproperties
633
+ // eslint-disable-next-line es/no-object-defineproperties -- safe
634
+ objectDefineProperties.f = DESCRIPTORS$8 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
635
+ anObject$6(O);
636
+ var props = toIndexedObject$2(Properties);
637
+ var keys = objectKeys$1(Properties);
638
+ var length = keys.length;
639
+ var index = 0;
640
+ var key;
641
+ while (length > index) definePropertyModule$4.f(O, key = keys[index++], props[key]);
642
+ return O;
643
+ };
644
+
645
+ var getBuiltIn$1 = getBuiltIn$3;
646
+
647
+ var html$1 = getBuiltIn$1('document', 'documentElement');
648
+
649
+ var shared$1 = shared$3;
650
+ var uid = uid$2;
651
+
652
+ var keys = shared$1('keys');
653
+
654
+ var sharedKey$3 = function (key) {
655
+ return keys[key] || (keys[key] = uid(key));
656
+ };
657
+
658
+ /* global ActiveXObject -- old IE, WSH */
659
+ var anObject$5 = anObject$8;
660
+ var definePropertiesModule = objectDefineProperties;
661
+ var enumBugKeys$1 = enumBugKeys$3;
662
+ var hiddenKeys$2 = hiddenKeys$4;
663
+ var html = html$1;
664
+ var documentCreateElement$1 = documentCreateElement$2;
665
+ var sharedKey$2 = sharedKey$3;
666
+
667
+ var GT = '>';
668
+ var LT = '<';
669
+ var PROTOTYPE = 'prototype';
670
+ var SCRIPT = 'script';
671
+ var IE_PROTO$1 = sharedKey$2('IE_PROTO');
672
+
673
+ var EmptyConstructor = function () { /* empty */ };
674
+
675
+ var scriptTag = function (content) {
676
+ return LT + SCRIPT + GT + content + LT + '/' + SCRIPT + GT;
677
+ };
678
+
679
+ // Create object with fake `null` prototype: use ActiveX Object with cleared prototype
680
+ var NullProtoObjectViaActiveX = function (activeXDocument) {
681
+ activeXDocument.write(scriptTag(''));
682
+ activeXDocument.close();
683
+ var temp = activeXDocument.parentWindow.Object;
684
+ // eslint-disable-next-line no-useless-assignment -- avoid memory leak
685
+ activeXDocument = null;
686
+ return temp;
687
+ };
688
+
689
+ // Create object with fake `null` prototype: use iframe Object with cleared prototype
690
+ var NullProtoObjectViaIFrame = function () {
691
+ // Thrash, waste and sodomy: IE GC bug
692
+ var iframe = documentCreateElement$1('iframe');
693
+ var JS = 'java' + SCRIPT + ':';
694
+ var iframeDocument;
695
+ iframe.style.display = 'none';
696
+ html.appendChild(iframe);
697
+ // https://github.com/zloirock/core-js/issues/475
698
+ iframe.src = String(JS);
699
+ iframeDocument = iframe.contentWindow.document;
700
+ iframeDocument.open();
701
+ iframeDocument.write(scriptTag('document.F=Object'));
702
+ iframeDocument.close();
703
+ return iframeDocument.F;
704
+ };
705
+
706
+ // Check for document.domain and active x support
707
+ // No need to use active x approach when document.domain is not set
708
+ // see https://github.com/es-shims/es5-shim/issues/150
709
+ // variation of https://github.com/kitcambridge/es5-shim/commit/4f738ac066346
710
+ // avoid IE GC bug
711
+ var activeXDocument;
712
+ var NullProtoObject = function () {
713
+ try {
714
+ activeXDocument = new ActiveXObject('htmlfile');
715
+ } catch (error) { /* ignore */ }
716
+ NullProtoObject = typeof document != 'undefined'
717
+ ? document.domain && activeXDocument
718
+ ? NullProtoObjectViaActiveX(activeXDocument) // old IE
719
+ : NullProtoObjectViaIFrame()
720
+ : NullProtoObjectViaActiveX(activeXDocument); // WSH
721
+ var length = enumBugKeys$1.length;
722
+ while (length--) delete NullProtoObject[PROTOTYPE][enumBugKeys$1[length]];
723
+ return NullProtoObject();
724
+ };
725
+
726
+ hiddenKeys$2[IE_PROTO$1] = true;
727
+
728
+ // `Object.create` method
729
+ // https://tc39.es/ecma262/#sec-object.create
730
+ // eslint-disable-next-line es/no-object-create -- safe
731
+ var objectCreate = Object.create || function create(O, Properties) {
732
+ var result;
733
+ if (O !== null) {
734
+ EmptyConstructor[PROTOTYPE] = anObject$5(O);
735
+ result = new EmptyConstructor();
736
+ EmptyConstructor[PROTOTYPE] = null;
737
+ // add "__proto__" for Object.getPrototypeOf polyfill
738
+ result[IE_PROTO$1] = O;
739
+ } else result = NullProtoObject();
740
+ return Properties === undefined ? result : definePropertiesModule.f(result, Properties);
741
+ };
742
+
743
+ var wellKnownSymbol$6 = wellKnownSymbol$8;
744
+ var create$2 = objectCreate;
745
+ var defineProperty$5 = objectDefineProperty.f;
746
+
747
+ var UNSCOPABLES = wellKnownSymbol$6('unscopables');
748
+ var ArrayPrototype = Array.prototype;
749
+
750
+ // Array.prototype[@@unscopables]
751
+ // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
752
+ if (ArrayPrototype[UNSCOPABLES] === undefined) {
753
+ defineProperty$5(ArrayPrototype, UNSCOPABLES, {
754
+ configurable: true,
755
+ value: create$2(null)
756
+ });
757
+ }
758
+
759
+ // add a key to Array.prototype[@@unscopables]
760
+ var addToUnscopables$1 = function (key) {
761
+ ArrayPrototype[UNSCOPABLES][key] = true;
762
+ };
763
+
764
+ var iterators = {};
765
+
766
+ var globalThis$6 = globalThis_1;
767
+ var isCallable$8 = isCallable$e;
768
+
769
+ var WeakMap$1 = globalThis$6.WeakMap;
770
+
771
+ var weakMapBasicDetection = isCallable$8(WeakMap$1) && /native code/.test(String(WeakMap$1));
772
+
773
+ var createPropertyDescriptor$4 = function (bitmap, value) {
774
+ return {
775
+ enumerable: !(bitmap & 1),
776
+ configurable: !(bitmap & 2),
777
+ writable: !(bitmap & 4),
778
+ value: value
779
+ };
780
+ };
781
+
782
+ var DESCRIPTORS$7 = descriptors;
783
+ var definePropertyModule$3 = objectDefineProperty;
784
+ var createPropertyDescriptor$3 = createPropertyDescriptor$4;
785
+
786
+ var createNonEnumerableProperty$5 = DESCRIPTORS$7 ? function (object, key, value) {
787
+ return definePropertyModule$3.f(object, key, createPropertyDescriptor$3(1, value));
788
+ } : function (object, key, value) {
789
+ object[key] = value;
790
+ return object;
791
+ };
792
+
793
+ var NATIVE_WEAK_MAP = weakMapBasicDetection;
794
+ var globalThis$5 = globalThis_1;
795
+ var isObject$3 = isObject$8;
796
+ var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
797
+ var hasOwn$7 = hasOwnProperty_1;
798
+ var shared = sharedStoreExports;
799
+ var sharedKey$1 = sharedKey$3;
800
+ var hiddenKeys$1 = hiddenKeys$4;
801
+
802
+ var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
803
+ var TypeError$1 = globalThis$5.TypeError;
804
+ var WeakMap = globalThis$5.WeakMap;
805
+ var set, get, has;
806
+
807
+ var enforce = function (it) {
808
+ return has(it) ? get(it) : set(it, {});
809
+ };
810
+
811
+ var getterFor = function (TYPE) {
812
+ return function (it) {
813
+ var state;
814
+ if (!isObject$3(it) || (state = get(it)).type !== TYPE) {
815
+ throw new TypeError$1('Incompatible receiver, ' + TYPE + ' required');
816
+ } return state;
817
+ };
818
+ };
819
+
820
+ if (NATIVE_WEAK_MAP || shared.state) {
821
+ var store$1 = shared.state || (shared.state = new WeakMap());
822
+ /* eslint-disable no-self-assign -- prototype methods protection */
823
+ store$1.get = store$1.get;
824
+ store$1.has = store$1.has;
825
+ store$1.set = store$1.set;
826
+ /* eslint-enable no-self-assign -- prototype methods protection */
827
+ set = function (it, metadata) {
828
+ if (store$1.has(it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
829
+ metadata.facade = it;
830
+ store$1.set(it, metadata);
831
+ return metadata;
832
+ };
833
+ get = function (it) {
834
+ return store$1.get(it) || {};
835
+ };
836
+ has = function (it) {
837
+ return store$1.has(it);
838
+ };
839
+ } else {
840
+ var STATE = sharedKey$1('state');
841
+ hiddenKeys$1[STATE] = true;
842
+ set = function (it, metadata) {
843
+ if (hasOwn$7(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
844
+ metadata.facade = it;
845
+ createNonEnumerableProperty$4(it, STATE, metadata);
846
+ return metadata;
847
+ };
848
+ get = function (it) {
849
+ return hasOwn$7(it, STATE) ? it[STATE] : {};
850
+ };
851
+ has = function (it) {
852
+ return hasOwn$7(it, STATE);
853
+ };
854
+ }
855
+
856
+ var internalState = {
857
+ set: set,
858
+ get: get,
859
+ has: has,
860
+ enforce: enforce,
861
+ getterFor: getterFor
862
+ };
863
+
864
+ var objectGetOwnPropertyDescriptor = {};
865
+
866
+ var objectPropertyIsEnumerable = {};
867
+
868
+ var $propertyIsEnumerable = {}.propertyIsEnumerable;
869
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
870
+ var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
871
+
872
+ // Nashorn ~ JDK8 bug
873
+ var NASHORN_BUG = getOwnPropertyDescriptor$1 && !$propertyIsEnumerable.call({ 1: 2 }, 1);
874
+
875
+ // `Object.prototype.propertyIsEnumerable` method implementation
876
+ // https://tc39.es/ecma262/#sec-object.prototype.propertyisenumerable
877
+ objectPropertyIsEnumerable.f = NASHORN_BUG ? function propertyIsEnumerable(V) {
878
+ var descriptor = getOwnPropertyDescriptor$1(this, V);
879
+ return !!descriptor && descriptor.enumerable;
880
+ } : $propertyIsEnumerable;
881
+
882
+ var DESCRIPTORS$6 = descriptors;
883
+ var call$5 = functionCall;
884
+ var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
885
+ var createPropertyDescriptor$2 = createPropertyDescriptor$4;
886
+ var toIndexedObject$1 = toIndexedObject$5;
887
+ var toPropertyKey = toPropertyKey$2;
888
+ var hasOwn$6 = hasOwnProperty_1;
889
+ var IE8_DOM_DEFINE = ie8DomDefine;
890
+
891
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
892
+ var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
893
+
894
+ // `Object.getOwnPropertyDescriptor` method
895
+ // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
896
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$6 ? $getOwnPropertyDescriptor : function getOwnPropertyDescriptor(O, P) {
897
+ O = toIndexedObject$1(O);
898
+ P = toPropertyKey(P);
899
+ if (IE8_DOM_DEFINE) try {
900
+ return $getOwnPropertyDescriptor(O, P);
901
+ } catch (error) { /* empty */ }
902
+ if (hasOwn$6(O, P)) return createPropertyDescriptor$2(!call$5(propertyIsEnumerableModule$1.f, O, P), O[P]);
903
+ };
904
+
905
+ var makeBuiltIn$3 = {exports: {}};
906
+
907
+ var DESCRIPTORS$5 = descriptors;
908
+ var hasOwn$5 = hasOwnProperty_1;
909
+
910
+ var FunctionPrototype = Function.prototype;
911
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
912
+ var getDescriptor = DESCRIPTORS$5 && Object.getOwnPropertyDescriptor;
913
+
914
+ var EXISTS = hasOwn$5(FunctionPrototype, 'name');
915
+ // additional protection from minified / mangled / dropped function names
916
+ var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
917
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$5 || (DESCRIPTORS$5 && getDescriptor(FunctionPrototype, 'name').configurable));
918
+
919
+ var functionName = {
920
+ PROPER: PROPER,
921
+ CONFIGURABLE: CONFIGURABLE
922
+ };
923
+
924
+ var uncurryThis$4 = functionUncurryThis;
925
+ var isCallable$7 = isCallable$e;
926
+ var store = sharedStoreExports;
927
+
928
+ var functionToString = uncurryThis$4(Function.toString);
929
+
930
+ // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
931
+ if (!isCallable$7(store.inspectSource)) {
932
+ store.inspectSource = function (it) {
933
+ return functionToString(it);
934
+ };
935
+ }
936
+
937
+ var inspectSource$1 = store.inspectSource;
938
+
939
+ var uncurryThis$3 = functionUncurryThis;
940
+ var fails$5 = fails$c;
941
+ var isCallable$6 = isCallable$e;
942
+ var hasOwn$4 = hasOwnProperty_1;
943
+ var DESCRIPTORS$4 = descriptors;
944
+ var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
945
+ var inspectSource = inspectSource$1;
946
+ var InternalStateModule$2 = internalState;
947
+
948
+ var enforceInternalState = InternalStateModule$2.enforce;
949
+ var getInternalState$1 = InternalStateModule$2.get;
950
+ var $String$1 = String;
951
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
952
+ var defineProperty$4 = Object.defineProperty;
953
+ var stringSlice = uncurryThis$3(''.slice);
954
+ var replace = uncurryThis$3(''.replace);
955
+ var join = uncurryThis$3([].join);
956
+
957
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$4 && !fails$5(function () {
958
+ return defineProperty$4(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
959
+ });
960
+
961
+ var TEMPLATE = String(String).split('String');
962
+
963
+ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
964
+ if (stringSlice($String$1(name), 0, 7) === 'Symbol(') {
965
+ name = '[' + replace($String$1(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
966
+ }
967
+ if (options && options.getter) name = 'get ' + name;
968
+ if (options && options.setter) name = 'set ' + name;
969
+ if (!hasOwn$4(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
970
+ if (DESCRIPTORS$4) defineProperty$4(value, 'name', { value: name, configurable: true });
971
+ else value.name = name;
972
+ }
973
+ if (CONFIGURABLE_LENGTH && options && hasOwn$4(options, 'arity') && value.length !== options.arity) {
974
+ defineProperty$4(value, 'length', { value: options.arity });
975
+ }
976
+ try {
977
+ if (options && hasOwn$4(options, 'constructor') && options.constructor) {
978
+ if (DESCRIPTORS$4) defineProperty$4(value, 'prototype', { writable: false });
979
+ // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
980
+ } else if (value.prototype) value.prototype = undefined;
981
+ } catch (error) { /* empty */ }
982
+ var state = enforceInternalState(value);
983
+ if (!hasOwn$4(state, 'source')) {
984
+ state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
985
+ } return value;
986
+ };
987
+
988
+ // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
989
+ // eslint-disable-next-line no-extend-native -- required
990
+ Function.prototype.toString = makeBuiltIn$2(function toString() {
991
+ return isCallable$6(this) && getInternalState$1(this).source || inspectSource(this);
992
+ }, 'toString');
993
+
994
+ var makeBuiltInExports = makeBuiltIn$3.exports;
995
+
996
+ var isCallable$5 = isCallable$e;
997
+ var definePropertyModule$2 = objectDefineProperty;
998
+ var makeBuiltIn$1 = makeBuiltInExports;
999
+ var defineGlobalProperty$1 = defineGlobalProperty$3;
1000
+
1001
+ var defineBuiltIn$4 = function (O, key, value, options) {
1002
+ if (!options) options = {};
1003
+ var simple = options.enumerable;
1004
+ var name = options.name !== undefined ? options.name : key;
1005
+ if (isCallable$5(value)) makeBuiltIn$1(value, name, options);
1006
+ if (options.global) {
1007
+ if (simple) O[key] = value;
1008
+ else defineGlobalProperty$1(key, value);
1009
+ } else {
1010
+ try {
1011
+ if (!options.unsafe) delete O[key];
1012
+ else if (O[key]) simple = true;
1013
+ } catch (error) { /* empty */ }
1014
+ if (simple) O[key] = value;
1015
+ else definePropertyModule$2.f(O, key, {
1016
+ value: value,
1017
+ enumerable: false,
1018
+ configurable: !options.nonConfigurable,
1019
+ writable: !options.nonWritable
1020
+ });
1021
+ } return O;
1022
+ };
1023
+
1024
+ var objectGetOwnPropertyNames = {};
1025
+
1026
+ var internalObjectKeys = objectKeysInternal;
1027
+ var enumBugKeys = enumBugKeys$3;
1028
+
1029
+ var hiddenKeys = enumBugKeys.concat('length', 'prototype');
1030
+
1031
+ // `Object.getOwnPropertyNames` method
1032
+ // https://tc39.es/ecma262/#sec-object.getownpropertynames
1033
+ // eslint-disable-next-line es/no-object-getownpropertynames -- safe
1034
+ objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
1035
+ return internalObjectKeys(O, hiddenKeys);
1036
+ };
1037
+
1038
+ var objectGetOwnPropertySymbols = {};
1039
+
1040
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
1041
+ objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
1042
+
1043
+ var getBuiltIn = getBuiltIn$3;
1044
+ var uncurryThis$2 = functionUncurryThis;
1045
+ var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
1046
+ var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
1047
+ var anObject$4 = anObject$8;
1048
+
1049
+ var concat$1 = uncurryThis$2([].concat);
1050
+
1051
+ // all object keys, includes non-enumerable and symbols
1052
+ var ownKeys$1 = getBuiltIn('Reflect', 'ownKeys') || function ownKeys(it) {
1053
+ var keys = getOwnPropertyNamesModule.f(anObject$4(it));
1054
+ var getOwnPropertySymbols = getOwnPropertySymbolsModule$1.f;
1055
+ return getOwnPropertySymbols ? concat$1(keys, getOwnPropertySymbols(it)) : keys;
1056
+ };
1057
+
1058
+ var hasOwn$3 = hasOwnProperty_1;
1059
+ var ownKeys = ownKeys$1;
1060
+ var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
1061
+ var definePropertyModule$1 = objectDefineProperty;
1062
+
1063
+ var copyConstructorProperties$1 = function (target, source, exceptions) {
1064
+ var keys = ownKeys(source);
1065
+ var defineProperty = definePropertyModule$1.f;
1066
+ var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
1067
+ for (var i = 0; i < keys.length; i++) {
1068
+ var key = keys[i];
1069
+ if (!hasOwn$3(target, key) && !(exceptions && hasOwn$3(exceptions, key))) {
1070
+ defineProperty(target, key, getOwnPropertyDescriptor(source, key));
1071
+ }
1072
+ }
1073
+ };
1074
+
1075
+ var fails$4 = fails$c;
1076
+ var isCallable$4 = isCallable$e;
1077
+
1078
+ var replacement = /#|\.prototype\./;
1079
+
1080
+ var isForced$1 = function (feature, detection) {
1081
+ var value = data[normalize(feature)];
1082
+ return value === POLYFILL ? true
1083
+ : value === NATIVE ? false
1084
+ : isCallable$4(detection) ? fails$4(detection)
1085
+ : !!detection;
1086
+ };
1087
+
1088
+ var normalize = isForced$1.normalize = function (string) {
1089
+ return String(string).replace(replacement, '.').toLowerCase();
1090
+ };
1091
+
1092
+ var data = isForced$1.data = {};
1093
+ var NATIVE = isForced$1.NATIVE = 'N';
1094
+ var POLYFILL = isForced$1.POLYFILL = 'P';
1095
+
1096
+ var isForced_1 = isForced$1;
1097
+
1098
+ var globalThis$4 = globalThis_1;
1099
+ var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
1100
+ var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
1101
+ var defineBuiltIn$3 = defineBuiltIn$4;
1102
+ var defineGlobalProperty = defineGlobalProperty$3;
1103
+ var copyConstructorProperties = copyConstructorProperties$1;
1104
+ var isForced = isForced_1;
1105
+
1106
+ /*
1107
+ options.target - name of the target object
1108
+ options.global - target is the global object
1109
+ options.stat - export as static methods of target
1110
+ options.proto - export as prototype methods of target
1111
+ options.real - real prototype method for the `pure` version
1112
+ options.forced - export even if the native feature is available
1113
+ options.bind - bind methods to the target, required for the `pure` version
1114
+ options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
1115
+ options.unsafe - use the simple assignment of property instead of delete + defineProperty
1116
+ options.sham - add a flag to not completely full polyfills
1117
+ options.enumerable - export as enumerable property
1118
+ options.dontCallGetSet - prevent calling a getter on target
1119
+ options.name - the .name of the function if it does not match the key
1120
+ */
1121
+ var _export = function (options, source) {
1122
+ var TARGET = options.target;
1123
+ var GLOBAL = options.global;
1124
+ var STATIC = options.stat;
1125
+ var FORCED, target, key, targetProperty, sourceProperty, descriptor;
1126
+ if (GLOBAL) {
1127
+ target = globalThis$4;
1128
+ } else if (STATIC) {
1129
+ target = globalThis$4[TARGET] || defineGlobalProperty(TARGET, {});
1130
+ } else {
1131
+ target = globalThis$4[TARGET] && globalThis$4[TARGET].prototype;
1132
+ }
1133
+ if (target) for (key in source) {
1134
+ sourceProperty = source[key];
1135
+ if (options.dontCallGetSet) {
1136
+ descriptor = getOwnPropertyDescriptor(target, key);
1137
+ targetProperty = descriptor && descriptor.value;
1138
+ } else targetProperty = target[key];
1139
+ FORCED = isForced(GLOBAL ? key : TARGET + (STATIC ? '.' : '#') + key, options.forced);
1140
+ // contained in target
1141
+ if (!FORCED && targetProperty !== undefined) {
1142
+ if (typeof sourceProperty == typeof targetProperty) continue;
1143
+ copyConstructorProperties(sourceProperty, targetProperty);
1144
+ }
1145
+ // add a flag to not completely full polyfills
1146
+ if (options.sham || (targetProperty && targetProperty.sham)) {
1147
+ createNonEnumerableProperty$3(sourceProperty, 'sham', true);
1148
+ }
1149
+ defineBuiltIn$3(target, key, sourceProperty, options);
1150
+ }
1151
+ };
1152
+
1153
+ var fails$3 = fails$c;
1154
+
1155
+ var correctPrototypeGetter = !fails$3(function () {
1156
+ function F() { /* empty */ }
1157
+ F.prototype.constructor = null;
1158
+ // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
1159
+ return Object.getPrototypeOf(new F()) !== F.prototype;
1160
+ });
1161
+
1162
+ var hasOwn$2 = hasOwnProperty_1;
1163
+ var isCallable$3 = isCallable$e;
1164
+ var toObject$1 = toObject$3;
1165
+ var sharedKey = sharedKey$3;
1166
+ var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1167
+
1168
+ var IE_PROTO = sharedKey('IE_PROTO');
1169
+ var $Object = Object;
1170
+ var ObjectPrototype = $Object.prototype;
1171
+
1172
+ // `Object.getPrototypeOf` method
1173
+ // https://tc39.es/ecma262/#sec-object.getprototypeof
1174
+ // eslint-disable-next-line es/no-object-getprototypeof -- safe
1175
+ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object.getPrototypeOf : function (O) {
1176
+ var object = toObject$1(O);
1177
+ if (hasOwn$2(object, IE_PROTO)) return object[IE_PROTO];
1178
+ var constructor = object.constructor;
1179
+ if (isCallable$3(constructor) && object instanceof constructor) {
1180
+ return constructor.prototype;
1181
+ } return object instanceof $Object ? ObjectPrototype : null;
1182
+ };
1183
+
1184
+ var fails$2 = fails$c;
1185
+ var isCallable$2 = isCallable$e;
1186
+ var isObject$2 = isObject$8;
1187
+ var getPrototypeOf$2 = objectGetPrototypeOf;
1188
+ var defineBuiltIn$2 = defineBuiltIn$4;
1189
+ var wellKnownSymbol$5 = wellKnownSymbol$8;
1190
+
1191
+ var ITERATOR$3 = wellKnownSymbol$5('iterator');
1192
+ var BUGGY_SAFARI_ITERATORS$1 = false;
1193
+
1194
+ // `%IteratorPrototype%` object
1195
+ // https://tc39.es/ecma262/#sec-%iteratorprototype%-object
1196
+ var IteratorPrototype$4, PrototypeOfArrayIteratorPrototype, arrayIterator;
1197
+
1198
+ /* eslint-disable es/no-array-prototype-keys -- safe */
1199
+ if ([].keys) {
1200
+ arrayIterator = [].keys();
1201
+ // Safari 8 has buggy iterators w/o `next`
1202
+ if (!('next' in arrayIterator)) BUGGY_SAFARI_ITERATORS$1 = true;
1203
+ else {
1204
+ PrototypeOfArrayIteratorPrototype = getPrototypeOf$2(getPrototypeOf$2(arrayIterator));
1205
+ if (PrototypeOfArrayIteratorPrototype !== Object.prototype) IteratorPrototype$4 = PrototypeOfArrayIteratorPrototype;
1206
+ }
1207
+ }
1208
+
1209
+ var NEW_ITERATOR_PROTOTYPE = !isObject$2(IteratorPrototype$4) || fails$2(function () {
1210
+ var test = {};
1211
+ // FF44- legacy iterators case
1212
+ return IteratorPrototype$4[ITERATOR$3].call(test) !== test;
1213
+ });
1214
+
1215
+ if (NEW_ITERATOR_PROTOTYPE) IteratorPrototype$4 = {};
1216
+
1217
+ // `%IteratorPrototype%[@@iterator]()` method
1218
+ // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
1219
+ if (!isCallable$2(IteratorPrototype$4[ITERATOR$3])) {
1220
+ defineBuiltIn$2(IteratorPrototype$4, ITERATOR$3, function () {
1221
+ return this;
1222
+ });
1223
+ }
1224
+
1225
+ var iteratorsCore = {
1226
+ IteratorPrototype: IteratorPrototype$4,
1227
+ BUGGY_SAFARI_ITERATORS: BUGGY_SAFARI_ITERATORS$1
1228
+ };
1229
+
1230
+ var defineProperty$3 = objectDefineProperty.f;
1231
+ var hasOwn$1 = hasOwnProperty_1;
1232
+ var wellKnownSymbol$4 = wellKnownSymbol$8;
1233
+
1234
+ var TO_STRING_TAG$2 = wellKnownSymbol$4('toStringTag');
1235
+
1236
+ var setToStringTag$3 = function (target, TAG, STATIC) {
1237
+ if (target && !STATIC) target = target.prototype;
1238
+ if (target && !hasOwn$1(target, TO_STRING_TAG$2)) {
1239
+ defineProperty$3(target, TO_STRING_TAG$2, { configurable: true, value: TAG });
1240
+ }
1241
+ };
1242
+
1243
+ var IteratorPrototype$3 = iteratorsCore.IteratorPrototype;
1244
+ var create$1 = objectCreate;
1245
+ var createPropertyDescriptor$1 = createPropertyDescriptor$4;
1246
+ var setToStringTag$2 = setToStringTag$3;
1247
+ var Iterators$2 = iterators;
1248
+
1249
+ var returnThis$1 = function () { return this; };
1250
+
1251
+ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
1252
+ var TO_STRING_TAG = NAME + ' Iterator';
1253
+ IteratorConstructor.prototype = create$1(IteratorPrototype$3, { next: createPropertyDescriptor$1(+!ENUMERABLE_NEXT, next) });
1254
+ setToStringTag$2(IteratorConstructor, TO_STRING_TAG, false);
1255
+ Iterators$2[TO_STRING_TAG] = returnThis$1;
1256
+ return IteratorConstructor;
1257
+ };
1258
+
1259
+ var uncurryThis$1 = functionUncurryThis;
1260
+ var aCallable$1 = aCallable$3;
1261
+
1262
+ var functionUncurryThisAccessor = function (object, key, method) {
1263
+ try {
1264
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1265
+ return uncurryThis$1(aCallable$1(Object.getOwnPropertyDescriptor(object, key)[method]));
1266
+ } catch (error) { /* empty */ }
1267
+ };
1268
+
1269
+ var isObject$1 = isObject$8;
1270
+
1271
+ var isPossiblePrototype$1 = function (argument) {
1272
+ return isObject$1(argument) || argument === null;
1273
+ };
1274
+
1275
+ var isPossiblePrototype = isPossiblePrototype$1;
1276
+
1277
+ var $String = String;
1278
+ var $TypeError$2 = TypeError;
1279
+
1280
+ var aPossiblePrototype$1 = function (argument) {
1281
+ if (isPossiblePrototype(argument)) return argument;
1282
+ throw new $TypeError$2("Can't set " + $String(argument) + ' as a prototype');
1283
+ };
1284
+
1285
+ /* eslint-disable no-proto -- safe */
1286
+ var uncurryThisAccessor = functionUncurryThisAccessor;
1287
+ var isObject = isObject$8;
1288
+ var requireObjectCoercible = requireObjectCoercible$3;
1289
+ var aPossiblePrototype = aPossiblePrototype$1;
1290
+
1291
+ // `Object.setPrototypeOf` method
1292
+ // https://tc39.es/ecma262/#sec-object.setprototypeof
1293
+ // Works with __proto__ only. Old v8 can't work with null proto objects.
1294
+ // eslint-disable-next-line es/no-object-setprototypeof -- safe
1295
+ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
1296
+ var CORRECT_SETTER = false;
1297
+ var test = {};
1298
+ var setter;
1299
+ try {
1300
+ setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
1301
+ setter(test, []);
1302
+ CORRECT_SETTER = test instanceof Array;
1303
+ } catch (error) { /* empty */ }
1304
+ return function setPrototypeOf(O, proto) {
1305
+ requireObjectCoercible(O);
1306
+ aPossiblePrototype(proto);
1307
+ if (!isObject(O)) return O;
1308
+ if (CORRECT_SETTER) setter(O, proto);
1309
+ else O.__proto__ = proto;
1310
+ return O;
1311
+ };
1312
+ }() : undefined);
1313
+
1314
+ var $$3 = _export;
1315
+ var call$4 = functionCall;
1316
+ var FunctionName = functionName;
1317
+ var isCallable$1 = isCallable$e;
1318
+ var createIteratorConstructor = iteratorCreateConstructor;
1319
+ var getPrototypeOf$1 = objectGetPrototypeOf;
1320
+ var setPrototypeOf = objectSetPrototypeOf;
1321
+ var setToStringTag$1 = setToStringTag$3;
1322
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$5;
1323
+ var defineBuiltIn$1 = defineBuiltIn$4;
1324
+ var wellKnownSymbol$3 = wellKnownSymbol$8;
1325
+ var Iterators$1 = iterators;
1326
+ var IteratorsCore = iteratorsCore;
1327
+
1328
+ var PROPER_FUNCTION_NAME = FunctionName.PROPER;
1329
+ var CONFIGURABLE_FUNCTION_NAME = FunctionName.CONFIGURABLE;
1330
+ var IteratorPrototype$2 = IteratorsCore.IteratorPrototype;
1331
+ var BUGGY_SAFARI_ITERATORS = IteratorsCore.BUGGY_SAFARI_ITERATORS;
1332
+ var ITERATOR$2 = wellKnownSymbol$3('iterator');
1333
+ var KEYS = 'keys';
1334
+ var VALUES = 'values';
1335
+ var ENTRIES = 'entries';
1336
+
1337
+ var returnThis = function () { return this; };
1338
+
1339
+ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
1340
+ createIteratorConstructor(IteratorConstructor, NAME, next);
1341
+
1342
+ var getIterationMethod = function (KIND) {
1343
+ if (KIND === DEFAULT && defaultIterator) return defaultIterator;
1344
+ if (!BUGGY_SAFARI_ITERATORS && KIND && KIND in IterablePrototype) return IterablePrototype[KIND];
1345
+
1346
+ switch (KIND) {
1347
+ case KEYS: return function keys() { return new IteratorConstructor(this, KIND); };
1348
+ case VALUES: return function values() { return new IteratorConstructor(this, KIND); };
1349
+ case ENTRIES: return function entries() { return new IteratorConstructor(this, KIND); };
1350
+ }
1351
+
1352
+ return function () { return new IteratorConstructor(this); };
1353
+ };
1354
+
1355
+ var TO_STRING_TAG = NAME + ' Iterator';
1356
+ var INCORRECT_VALUES_NAME = false;
1357
+ var IterablePrototype = Iterable.prototype;
1358
+ var nativeIterator = IterablePrototype[ITERATOR$2]
1359
+ || IterablePrototype['@@iterator']
1360
+ || DEFAULT && IterablePrototype[DEFAULT];
1361
+ var defaultIterator = !BUGGY_SAFARI_ITERATORS && nativeIterator || getIterationMethod(DEFAULT);
1362
+ var anyNativeIterator = NAME === 'Array' ? IterablePrototype.entries || nativeIterator : nativeIterator;
1363
+ var CurrentIteratorPrototype, methods, KEY;
1364
+
1365
+ // fix native
1366
+ if (anyNativeIterator) {
1367
+ CurrentIteratorPrototype = getPrototypeOf$1(anyNativeIterator.call(new Iterable()));
1368
+ if (CurrentIteratorPrototype !== Object.prototype && CurrentIteratorPrototype.next) {
1369
+ if (getPrototypeOf$1(CurrentIteratorPrototype) !== IteratorPrototype$2) {
1370
+ if (setPrototypeOf) {
1371
+ setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype$2);
1372
+ } else if (!isCallable$1(CurrentIteratorPrototype[ITERATOR$2])) {
1373
+ defineBuiltIn$1(CurrentIteratorPrototype, ITERATOR$2, returnThis);
1374
+ }
1375
+ }
1376
+ // Set @@toStringTag to native iterators
1377
+ setToStringTag$1(CurrentIteratorPrototype, TO_STRING_TAG, true);
1378
+ }
1379
+ }
1380
+
1381
+ // fix Array.prototype.{ values, @@iterator }.name in V8 / FF
1382
+ if (PROPER_FUNCTION_NAME && DEFAULT === VALUES && nativeIterator && nativeIterator.name !== VALUES) {
1383
+ if (CONFIGURABLE_FUNCTION_NAME) {
1384
+ createNonEnumerableProperty$2(IterablePrototype, 'name', VALUES);
1385
+ } else {
1386
+ INCORRECT_VALUES_NAME = true;
1387
+ defaultIterator = function values() { return call$4(nativeIterator, this); };
1388
+ }
1389
+ }
1390
+
1391
+ // export additional methods
1392
+ if (DEFAULT) {
1393
+ methods = {
1394
+ values: getIterationMethod(VALUES),
1395
+ keys: IS_SET ? defaultIterator : getIterationMethod(KEYS),
1396
+ entries: getIterationMethod(ENTRIES)
1397
+ };
1398
+ if (FORCED) for (KEY in methods) {
1399
+ if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1400
+ defineBuiltIn$1(IterablePrototype, KEY, methods[KEY]);
1401
+ }
1402
+ } else $$3({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1403
+ }
1404
+
1405
+ // define iterator
1406
+ if (IterablePrototype[ITERATOR$2] !== defaultIterator) {
1407
+ defineBuiltIn$1(IterablePrototype, ITERATOR$2, defaultIterator, { name: DEFAULT });
1408
+ }
1409
+ Iterators$1[NAME] = defaultIterator;
1410
+
1411
+ return methods;
1412
+ };
1413
+
1414
+ // `CreateIterResultObject` abstract operation
1415
+ // https://tc39.es/ecma262/#sec-createiterresultobject
1416
+ var createIterResultObject$2 = function (value, done) {
1417
+ return { value: value, done: done };
1418
+ };
1419
+
1420
+ var toIndexedObject = toIndexedObject$5;
1421
+ var addToUnscopables = addToUnscopables$1;
1422
+ var Iterators = iterators;
1423
+ var InternalStateModule$1 = internalState;
1424
+ var defineProperty$2 = objectDefineProperty.f;
1425
+ var defineIterator = iteratorDefine;
1426
+ var createIterResultObject$1 = createIterResultObject$2;
1427
+ var DESCRIPTORS$3 = descriptors;
1428
+
1429
+ var ARRAY_ITERATOR = 'Array Iterator';
1430
+ var setInternalState$1 = InternalStateModule$1.set;
1431
+ var getInternalState = InternalStateModule$1.getterFor(ARRAY_ITERATOR);
1432
+
1433
+ // `Array.prototype.entries` method
1434
+ // https://tc39.es/ecma262/#sec-array.prototype.entries
1435
+ // `Array.prototype.keys` method
1436
+ // https://tc39.es/ecma262/#sec-array.prototype.keys
1437
+ // `Array.prototype.values` method
1438
+ // https://tc39.es/ecma262/#sec-array.prototype.values
1439
+ // `Array.prototype[@@iterator]` method
1440
+ // https://tc39.es/ecma262/#sec-array.prototype-@@iterator
1441
+ // `CreateArrayIterator` internal method
1442
+ // https://tc39.es/ecma262/#sec-createarrayiterator
1443
+ var es_array_iterator = defineIterator(Array, 'Array', function (iterated, kind) {
1444
+ setInternalState$1(this, {
1445
+ type: ARRAY_ITERATOR,
1446
+ target: toIndexedObject(iterated), // target
1447
+ index: 0, // next index
1448
+ kind: kind // kind
1449
+ });
1450
+ // `%ArrayIteratorPrototype%.next` method
1451
+ // https://tc39.es/ecma262/#sec-%arrayiteratorprototype%.next
1452
+ }, function () {
1453
+ var state = getInternalState(this);
1454
+ var target = state.target;
1455
+ var index = state.index++;
1456
+ if (!target || index >= target.length) {
1457
+ state.target = null;
1458
+ return createIterResultObject$1(undefined, true);
1459
+ }
1460
+ switch (state.kind) {
1461
+ case 'keys': return createIterResultObject$1(index, false);
1462
+ case 'values': return createIterResultObject$1(target[index], false);
1463
+ } return createIterResultObject$1([index, target[index]], false);
1464
+ }, 'values');
1465
+
1466
+ // argumentsList[@@iterator] is %ArrayProto_values%
1467
+ // https://tc39.es/ecma262/#sec-createunmappedargumentsobject
1468
+ // https://tc39.es/ecma262/#sec-createmappedargumentsobject
1469
+ var values = Iterators.Arguments = Iterators.Array;
1470
+
1471
+ // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1472
+ addToUnscopables('keys');
1473
+ addToUnscopables('values');
1474
+ addToUnscopables('entries');
1475
+
1476
+ // V8 ~ Chrome 45- bug
1477
+ if (DESCRIPTORS$3 && values.name !== 'values') try {
1478
+ defineProperty$2(values, 'name', { value: 'values' });
1479
+ } catch (error) { /* empty */ }
1480
+
1481
+ var isPrototypeOf = objectIsPrototypeOf;
1482
+
1483
+ var $TypeError$1 = TypeError;
1484
+
1485
+ var anInstance$1 = function (it, Prototype) {
1486
+ if (isPrototypeOf(Prototype, it)) return it;
1487
+ throw new $TypeError$1('Incorrect invocation');
1488
+ };
1489
+
1490
+ var makeBuiltIn = makeBuiltInExports;
1491
+ var defineProperty$1 = objectDefineProperty;
1492
+
1493
+ var defineBuiltInAccessor$1 = function (target, name, descriptor) {
1494
+ if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
1495
+ if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
1496
+ return defineProperty$1.f(target, name, descriptor);
1497
+ };
1498
+
1499
+ var DESCRIPTORS$2 = descriptors;
1500
+ var definePropertyModule = objectDefineProperty;
1501
+ var createPropertyDescriptor = createPropertyDescriptor$4;
1502
+
1503
+ var createProperty$1 = function (object, key, value) {
1504
+ if (DESCRIPTORS$2) definePropertyModule.f(object, key, createPropertyDescriptor(0, value));
1505
+ else object[key] = value;
1506
+ };
1507
+
1508
+ var $$2 = _export;
1509
+ var globalThis$3 = globalThis_1;
1510
+ var anInstance = anInstance$1;
1511
+ var anObject$3 = anObject$8;
1512
+ var isCallable = isCallable$e;
1513
+ var getPrototypeOf = objectGetPrototypeOf;
1514
+ var defineBuiltInAccessor = defineBuiltInAccessor$1;
1515
+ var createProperty = createProperty$1;
1516
+ var fails$1 = fails$c;
1517
+ var hasOwn = hasOwnProperty_1;
1518
+ var wellKnownSymbol$2 = wellKnownSymbol$8;
1519
+ var IteratorPrototype$1 = iteratorsCore.IteratorPrototype;
1520
+ var DESCRIPTORS$1 = descriptors;
1521
+
1522
+ var CONSTRUCTOR = 'constructor';
1523
+ var ITERATOR$1 = 'Iterator';
1524
+ var TO_STRING_TAG$1 = wellKnownSymbol$2('toStringTag');
1525
+
1526
+ var $TypeError = TypeError;
1527
+ var NativeIterator = globalThis$3[ITERATOR$1];
1528
+
1529
+ // FF56- have non-standard global helper `Iterator`
1530
+ var FORCED$1 = !isCallable(NativeIterator)
1531
+ || NativeIterator.prototype !== IteratorPrototype$1
1532
+ // FF44- non-standard `Iterator` passes previous tests
1533
+ || !fails$1(function () { NativeIterator({}); });
1534
+
1535
+ var IteratorConstructor = function Iterator() {
1536
+ anInstance(this, IteratorPrototype$1);
1537
+ if (getPrototypeOf(this) === IteratorPrototype$1) throw new $TypeError('Abstract class Iterator not directly constructable');
1538
+ };
1539
+
1540
+ var defineIteratorPrototypeAccessor = function (key, value) {
1541
+ if (DESCRIPTORS$1) {
1542
+ defineBuiltInAccessor(IteratorPrototype$1, key, {
1543
+ configurable: true,
1544
+ get: function () {
1545
+ return value;
1546
+ },
1547
+ set: function (replacement) {
1548
+ anObject$3(this);
1549
+ if (this === IteratorPrototype$1) throw new $TypeError("You can't redefine this property");
1550
+ if (hasOwn(this, key)) this[key] = replacement;
1551
+ else createProperty(this, key, replacement);
1552
+ }
1553
+ });
1554
+ } else IteratorPrototype$1[key] = value;
1555
+ };
1556
+
1557
+ if (!hasOwn(IteratorPrototype$1, TO_STRING_TAG$1)) defineIteratorPrototypeAccessor(TO_STRING_TAG$1, ITERATOR$1);
1558
+
1559
+ if (FORCED$1 || !hasOwn(IteratorPrototype$1, CONSTRUCTOR) || IteratorPrototype$1[CONSTRUCTOR] === Object) {
1560
+ defineIteratorPrototypeAccessor(CONSTRUCTOR, IteratorConstructor);
1561
+ }
1562
+
1563
+ IteratorConstructor.prototype = IteratorPrototype$1;
1564
+
1565
+ // `Iterator` constructor
1566
+ // https://tc39.es/ecma262/#sec-iterator
1567
+ $$2({ global: true, constructor: true, forced: FORCED$1 }, {
1568
+ Iterator: IteratorConstructor
1569
+ });
1570
+
1571
+ // `GetIteratorDirect(obj)` abstract operation
1572
+ // https://tc39.es/ecma262/#sec-getiteratordirect
1573
+ var getIteratorDirect$1 = function (obj) {
1574
+ return {
1575
+ iterator: obj,
1576
+ next: obj.next,
1577
+ done: false
1578
+ };
1579
+ };
1580
+
1581
+ var defineBuiltIn = defineBuiltIn$4;
1582
+
1583
+ var defineBuiltIns$1 = function (target, src, options) {
1584
+ for (var key in src) defineBuiltIn(target, key, src[key], options);
1585
+ return target;
1586
+ };
1587
+
1588
+ var call$3 = functionCall;
1589
+ var anObject$2 = anObject$8;
1590
+ var getMethod$1 = getMethod$3;
1591
+
1592
+ var iteratorClose$4 = function (iterator, kind, value) {
1593
+ var innerResult, innerError;
1594
+ anObject$2(iterator);
1595
+ try {
1596
+ innerResult = getMethod$1(iterator, 'return');
1597
+ if (!innerResult) {
1598
+ if (kind === 'throw') throw value;
1599
+ return value;
1600
+ }
1601
+ innerResult = call$3(innerResult, iterator);
1602
+ } catch (error) {
1603
+ innerError = true;
1604
+ innerResult = error;
1605
+ }
1606
+ if (kind === 'throw') throw value;
1607
+ if (innerError) throw innerResult;
1608
+ anObject$2(innerResult);
1609
+ return value;
1610
+ };
1611
+
1612
+ var iteratorClose$3 = iteratorClose$4;
1613
+
1614
+ var iteratorCloseAll$1 = function (iters, kind, value) {
1615
+ for (var i = iters.length - 1; i >= 0; i--) {
1616
+ if (iters[i] === undefined) continue;
1617
+ try {
1618
+ value = iteratorClose$3(iters[i].iterator, kind, value);
1619
+ } catch (error) {
1620
+ kind = 'throw';
1621
+ value = error;
1622
+ }
1623
+ }
1624
+ if (kind === 'throw') throw value;
1625
+ return value;
1626
+ };
1627
+
1628
+ var call$2 = functionCall;
1629
+ var create = objectCreate;
1630
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$5;
1631
+ var defineBuiltIns = defineBuiltIns$1;
1632
+ var wellKnownSymbol$1 = wellKnownSymbol$8;
1633
+ var InternalStateModule = internalState;
1634
+ var getMethod = getMethod$3;
1635
+ var IteratorPrototype = iteratorsCore.IteratorPrototype;
1636
+ var createIterResultObject = createIterResultObject$2;
1637
+ var iteratorClose$2 = iteratorClose$4;
1638
+ var iteratorCloseAll = iteratorCloseAll$1;
1639
+
1640
+ var TO_STRING_TAG = wellKnownSymbol$1('toStringTag');
1641
+ var ITERATOR_HELPER = 'IteratorHelper';
1642
+ var WRAP_FOR_VALID_ITERATOR = 'WrapForValidIterator';
1643
+ var NORMAL = 'normal';
1644
+ var THROW = 'throw';
1645
+ var setInternalState = InternalStateModule.set;
1646
+
1647
+ var createIteratorProxyPrototype = function (IS_ITERATOR) {
1648
+ var getInternalState = InternalStateModule.getterFor(IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER);
1649
+
1650
+ return defineBuiltIns(create(IteratorPrototype), {
1651
+ next: function next() {
1652
+ var state = getInternalState(this);
1653
+ // for simplification:
1654
+ // for `%WrapForValidIteratorPrototype%.next` or with `state.returnHandlerResult` our `nextHandler` returns `IterResultObject`
1655
+ // for `%IteratorHelperPrototype%.next` - just a value
1656
+ if (IS_ITERATOR) return state.nextHandler();
1657
+ if (state.done) return createIterResultObject(undefined, true);
1658
+ try {
1659
+ var result = state.nextHandler();
1660
+ return state.returnHandlerResult ? result : createIterResultObject(result, state.done);
1661
+ } catch (error) {
1662
+ state.done = true;
1663
+ throw error;
1664
+ }
1665
+ },
1666
+ 'return': function () {
1667
+ var state = getInternalState(this);
1668
+ var iterator = state.iterator;
1669
+ state.done = true;
1670
+ if (IS_ITERATOR) {
1671
+ var returnMethod = getMethod(iterator, 'return');
1672
+ return returnMethod ? call$2(returnMethod, iterator) : createIterResultObject(undefined, true);
1673
+ }
1674
+ if (state.inner) try {
1675
+ iteratorClose$2(state.inner.iterator, NORMAL);
1676
+ } catch (error) {
1677
+ return iteratorClose$2(iterator, THROW, error);
1678
+ }
1679
+ if (state.openIters) try {
1680
+ iteratorCloseAll(state.openIters, NORMAL);
1681
+ } catch (error) {
1682
+ return iteratorClose$2(iterator, THROW, error);
1683
+ }
1684
+ if (iterator) iteratorClose$2(iterator, NORMAL);
1685
+ return createIterResultObject(undefined, true);
1686
+ }
1687
+ });
1688
+ };
1689
+
1690
+ var WrapForValidIteratorPrototype = createIteratorProxyPrototype(true);
1691
+ var IteratorHelperPrototype = createIteratorProxyPrototype(false);
1692
+
1693
+ createNonEnumerableProperty$1(IteratorHelperPrototype, TO_STRING_TAG, 'Iterator Helper');
1694
+
1695
+ var iteratorCreateProxy = function (nextHandler, IS_ITERATOR, RETURN_HANDLER_RESULT) {
1696
+ var IteratorProxy = function Iterator(record, state) {
1697
+ if (state) {
1698
+ state.iterator = record.iterator;
1699
+ state.next = record.next;
1700
+ } else state = record;
1701
+ state.type = IS_ITERATOR ? WRAP_FOR_VALID_ITERATOR : ITERATOR_HELPER;
1702
+ state.returnHandlerResult = !!RETURN_HANDLER_RESULT;
1703
+ state.nextHandler = nextHandler;
1704
+ state.counter = 0;
1705
+ state.done = false;
1706
+ setInternalState(this, state);
1707
+ };
1708
+
1709
+ IteratorProxy.prototype = IS_ITERATOR ? WrapForValidIteratorPrototype : IteratorHelperPrototype;
1710
+
1711
+ return IteratorProxy;
1712
+ };
1713
+
1714
+ var anObject$1 = anObject$8;
1715
+ var iteratorClose$1 = iteratorClose$4;
1716
+
1717
+ // call something on iterator step with safe closing on error
1718
+ var callWithSafeIterationClosing$1 = function (iterator, fn, value, ENTRIES) {
1719
+ try {
1720
+ return ENTRIES ? fn(anObject$1(value)[0], value[1]) : fn(value);
1721
+ } catch (error) {
1722
+ iteratorClose$1(iterator, 'throw', error);
1723
+ }
1724
+ };
1725
+
1726
+ // Should throw an error on invalid iterator
1727
+ // https://issues.chromium.org/issues/336839115
1728
+ var iteratorHelperThrowsOnInvalidIterator$1 = function (methodName, argument) {
1729
+ // eslint-disable-next-line es/no-iterator -- required for testing
1730
+ var method = typeof Iterator == 'function' && Iterator.prototype[methodName];
1731
+ if (method) try {
1732
+ method.call({ next: null }, argument).next();
1733
+ } catch (error) {
1734
+ return true;
1735
+ }
1736
+ };
1737
+
1738
+ var globalThis$2 = globalThis_1;
1739
+
1740
+ // https://github.com/tc39/ecma262/pull/3467
1741
+ var iteratorHelperWithoutClosingOnEarlyError$1 = function (METHOD_NAME, ExpectedError) {
1742
+ var Iterator = globalThis$2.Iterator;
1743
+ var IteratorPrototype = Iterator && Iterator.prototype;
1744
+ var method = IteratorPrototype && IteratorPrototype[METHOD_NAME];
1745
+
1746
+ var CLOSED = false;
1747
+
1748
+ if (method) try {
1749
+ method.call({
1750
+ next: function () { return { done: true }; },
1751
+ 'return': function () { CLOSED = true; }
1752
+ }, -1);
1753
+ } catch (error) {
1754
+ // https://bugs.webkit.org/show_bug.cgi?id=291195
1755
+ if (!(error instanceof ExpectedError)) CLOSED = false;
1756
+ }
1757
+
1758
+ if (!CLOSED) return method;
1759
+ };
1760
+
1761
+ var $$1 = _export;
1762
+ var call$1 = functionCall;
1763
+ var aCallable = aCallable$3;
1764
+ var anObject = anObject$8;
1765
+ var getIteratorDirect = getIteratorDirect$1;
1766
+ var createIteratorProxy = iteratorCreateProxy;
1767
+ var callWithSafeIterationClosing = callWithSafeIterationClosing$1;
1768
+ var iteratorClose = iteratorClose$4;
1769
+ var iteratorHelperThrowsOnInvalidIterator = iteratorHelperThrowsOnInvalidIterator$1;
1770
+ var iteratorHelperWithoutClosingOnEarlyError = iteratorHelperWithoutClosingOnEarlyError$1;
1771
+
1772
+ var MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR = !iteratorHelperThrowsOnInvalidIterator('map', function () { /* empty */ });
1773
+ var mapWithoutClosingOnEarlyError = !MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR
1774
+ && iteratorHelperWithoutClosingOnEarlyError('map', TypeError);
1775
+
1776
+ var FORCED = MAP_WITHOUT_THROWING_ON_INVALID_ITERATOR || mapWithoutClosingOnEarlyError;
1777
+
1778
+ var IteratorProxy = createIteratorProxy(function () {
1779
+ var iterator = this.iterator;
1780
+ var result = anObject(call$1(this.next, iterator));
1781
+ var done = this.done = !!result.done;
1782
+ if (!done) return callWithSafeIterationClosing(iterator, this.mapper, [result.value, this.counter++], true);
1783
+ });
1784
+
1785
+ // `Iterator.prototype.map` method
1786
+ // https://tc39.es/ecma262/#sec-iterator.prototype.map
1787
+ $$1({ target: 'Iterator', proto: true, real: true, forced: FORCED }, {
1788
+ map: function map(mapper) {
1789
+ anObject(this);
1790
+ try {
1791
+ aCallable(mapper);
1792
+ } catch (error) {
1793
+ iteratorClose(this, 'throw', error);
1794
+ }
1795
+
1796
+ if (mapWithoutClosingOnEarlyError) return call$1(mapWithoutClosingOnEarlyError, this, mapper);
1797
+
1798
+ return new IteratorProxy(getIteratorDirect(this), {
1799
+ mapper: mapper
1800
+ });
1801
+ }
1802
+ });
1803
+
1804
+ var DESCRIPTORS = descriptors;
1805
+ var uncurryThis = functionUncurryThis;
1806
+ var call = functionCall;
1807
+ var fails = fails$c;
1808
+ var objectKeys = objectKeys$2;
1809
+ var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
1810
+ var propertyIsEnumerableModule = objectPropertyIsEnumerable;
1811
+ var toObject = toObject$3;
1812
+ var IndexedObject = indexedObject;
1813
+
1814
+ // eslint-disable-next-line es/no-object-assign -- safe
1815
+ var $assign = Object.assign;
1816
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1817
+ var defineProperty = Object.defineProperty;
1818
+ var concat = uncurryThis([].concat);
1819
+
1820
+ // `Object.assign` method
1821
+ // https://tc39.es/ecma262/#sec-object.assign
1822
+ var objectAssign = !$assign || fails(function () {
1823
+ // should have correct order of operations (Edge bug)
1824
+ if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
1825
+ enumerable: true,
1826
+ get: function () {
1827
+ defineProperty(this, 'b', {
1828
+ value: 3,
1829
+ enumerable: false
1830
+ });
1831
+ }
1832
+ }), { b: 2 })).b !== 1) return true;
1833
+ // should work with symbols and should have deterministic property order (V8 bug)
1834
+ var A = {};
1835
+ var B = {};
1836
+ // eslint-disable-next-line es/no-symbol -- safe
1837
+ var symbol = Symbol('assign detection');
1838
+ var alphabet = 'abcdefghijklmnopqrst';
1839
+ A[symbol] = 7;
1840
+ // eslint-disable-next-line es/no-array-prototype-foreach -- safe
1841
+ alphabet.split('').forEach(function (chr) { B[chr] = chr; });
1842
+ return $assign({}, A)[symbol] !== 7 || objectKeys($assign({}, B)).join('') !== alphabet;
1843
+ }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
1844
+ var T = toObject(target);
1845
+ var argumentsLength = arguments.length;
1846
+ var index = 1;
1847
+ var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
1848
+ var propertyIsEnumerable = propertyIsEnumerableModule.f;
1849
+ while (argumentsLength > index) {
1850
+ var S = IndexedObject(arguments[index++]);
1851
+ var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
1852
+ var length = keys.length;
1853
+ var j = 0;
1854
+ var key;
1855
+ while (length > j) {
1856
+ key = keys[j++];
1857
+ if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];
1858
+ }
1859
+ } return T;
1860
+ } : $assign;
1861
+
1862
+ var $ = _export;
1863
+ var assign = objectAssign;
1864
+
1865
+ // `Object.assign` method
1866
+ // https://tc39.es/ecma262/#sec-object.assign
1867
+ // eslint-disable-next-line es/no-object-assign -- required for testing
1868
+ $({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1869
+ assign: assign
1870
+ });
1871
+
1872
+ // iterable DOM collections
1873
+ // flag - `iterable` interface - 'entries', 'keys', 'values', 'forEach' methods
1874
+ var domIterables = {
1875
+ CSSRuleList: 0,
1876
+ CSSStyleDeclaration: 0,
1877
+ CSSValueList: 0,
1878
+ ClientRectList: 0,
1879
+ DOMRectList: 0,
1880
+ DOMStringList: 0,
1881
+ DOMTokenList: 1,
1882
+ DataTransferItemList: 0,
1883
+ FileList: 0,
1884
+ HTMLAllCollection: 0,
1885
+ HTMLCollection: 0,
1886
+ HTMLFormElement: 0,
1887
+ HTMLSelectElement: 0,
1888
+ MediaList: 0,
1889
+ MimeTypeArray: 0,
1890
+ NamedNodeMap: 0,
1891
+ NodeList: 1,
1892
+ PaintRequestList: 0,
1893
+ Plugin: 0,
1894
+ PluginArray: 0,
1895
+ SVGLengthList: 0,
1896
+ SVGNumberList: 0,
1897
+ SVGPathSegList: 0,
1898
+ SVGPointList: 0,
1899
+ SVGStringList: 0,
1900
+ SVGTransformList: 0,
1901
+ SourceBufferList: 0,
1902
+ StyleSheetList: 0,
1903
+ TextTrackCueList: 0,
1904
+ TextTrackList: 0,
1905
+ TouchList: 0
1906
+ };
1907
+
1908
+ // in old WebKit versions, `element.classList` is not an instance of global `DOMTokenList`
1909
+ var documentCreateElement = documentCreateElement$2;
1910
+
1911
+ var classList = documentCreateElement('span').classList;
1912
+ var DOMTokenListPrototype$1 = classList && classList.constructor && classList.constructor.prototype;
1913
+
1914
+ var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
1915
+
1916
+ var globalThis$1 = globalThis_1;
1917
+ var DOMIterables = domIterables;
1918
+ var DOMTokenListPrototype = domTokenListPrototype;
1919
+ var ArrayIteratorMethods = es_array_iterator;
1920
+ var createNonEnumerableProperty = createNonEnumerableProperty$5;
1921
+ var setToStringTag = setToStringTag$3;
1922
+ var wellKnownSymbol = wellKnownSymbol$8;
1923
+
1924
+ var ITERATOR = wellKnownSymbol('iterator');
1925
+ var ArrayValues = ArrayIteratorMethods.values;
1926
+
1927
+ var handlePrototype = function (CollectionPrototype, COLLECTION_NAME) {
1928
+ if (CollectionPrototype) {
1929
+ // some Chrome versions have non-configurable methods on DOMTokenList
1930
+ if (CollectionPrototype[ITERATOR] !== ArrayValues) try {
1931
+ createNonEnumerableProperty(CollectionPrototype, ITERATOR, ArrayValues);
1932
+ } catch (error) {
1933
+ CollectionPrototype[ITERATOR] = ArrayValues;
1934
+ }
1935
+ setToStringTag(CollectionPrototype, COLLECTION_NAME, true);
1936
+ if (DOMIterables[COLLECTION_NAME]) for (var METHOD_NAME in ArrayIteratorMethods) {
1937
+ // some Chrome versions have non-configurable methods on DOMTokenList
1938
+ if (CollectionPrototype[METHOD_NAME] !== ArrayIteratorMethods[METHOD_NAME]) try {
1939
+ createNonEnumerableProperty(CollectionPrototype, METHOD_NAME, ArrayIteratorMethods[METHOD_NAME]);
1940
+ } catch (error) {
1941
+ CollectionPrototype[METHOD_NAME] = ArrayIteratorMethods[METHOD_NAME];
1942
+ }
1943
+ }
1944
+ }
1945
+ };
1946
+
1947
+ for (var COLLECTION_NAME in DOMIterables) {
1948
+ handlePrototype(globalThis$1[COLLECTION_NAME] && globalThis$1[COLLECTION_NAME].prototype, COLLECTION_NAME);
1949
+ }
1950
+
1951
+ handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
1952
+
1953
+ /******************************************************************************
1954
+ Copyright (c) Microsoft Corporation.
1955
+
1956
+ Permission to use, copy, modify, and/or distribute this software for any
1957
+ purpose with or without fee is hereby granted.
1958
+
1959
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
1960
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
1961
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
1962
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
1963
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
1964
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
1965
+ PERFORMANCE OF THIS SOFTWARE.
1966
+ ***************************************************************************** */
1967
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
1968
+
1969
+
1970
+ function __rest(s, e) {
1971
+ var t = {};
1972
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
1973
+ t[p] = s[p];
1974
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
1975
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
1976
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
1977
+ t[p[i]] = s[p[i]];
1978
+ }
1979
+ return t;
1980
+ }
1981
+
1982
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
1983
+ var e = new Error(message);
1984
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
1985
+ };
1986
+
1987
+ const Breadcrumbs = /*#__PURE__*/react.forwardRef((_a, ref) => {
1988
+ var {
1989
+ id = 'breadcrumbs-id',
1990
+ dataTestId = 'breadcrumbs-data-testid',
1991
+ items,
1992
+ ariaLabel = 'Show complete navigation.'
1993
+ } = _a,
1994
+ props = __rest(_a, ["id", "dataTestId", "items", "ariaLabel"]);
1995
+ const [expanded, setExpanded] = react.useState(false);
1996
+ const shouldShrink = items.length > 5;
1997
+ const filteredItems = react.useMemo(() => {
1998
+ if (!shouldShrink || expanded) return items;
1999
+ return [items[0], {
2000
+ href: '#',
2001
+ label: '...',
2002
+ onClick: () => setExpanded(!expanded)
2003
+ }, ...items.slice(items.length - 3)];
2004
+ }, [expanded, items, shouldShrink]);
2005
+ const renderLinks = react.useCallback(() => {
2006
+ return filteredItems.map((item, index) => {
2007
+ // Last item
2008
+ if (index === items.length - 1 || shouldShrink && index === filteredItems.length - 1) {
2009
+ return jsxRuntime.jsx("li", {
2010
+ className: "flex items-center",
2011
+ "aria-current": "page",
2012
+ children: item.label
2013
+ }, index);
2014
+ }
2015
+ if (shouldShrink && index === 1) {
2016
+ return [jsxRuntime.jsx("li", {
2017
+ className: "flex items-center",
2018
+ children: jsxRuntime.jsx("button", {
2019
+ type: "button",
2020
+ className: "cursor-pointer",
2021
+ onClick: item.onClick,
2022
+ "aria-expanded": "false",
2023
+ "aria-label": ariaLabel,
2024
+ children: item.label
2025
+ })
2026
+ }, index), jsxRuntime.jsx("li", {
2027
+ className: "flex items-center",
2028
+ "aria-hidden": true,
2029
+ children: jsxRuntime.jsx(obAtomsIcon.Icon, {
2030
+ icon: "chevron_right"
2031
+ })
2032
+ }, `divider-${index}`)];
2033
+ }
2034
+ return [jsxRuntime.jsx("li", {
2035
+ className: "flex items-center",
2036
+ children: jsxRuntime.jsx("a", {
2037
+ href: item.href,
2038
+ onClick: event => {
2039
+ if (item && item.onClick) {
2040
+ event.preventDefault();
2041
+ item.onClick();
2042
+ }
2043
+ },
2044
+ "aria-current": "page",
2045
+ children: item.label
2046
+ })
2047
+ }, index), jsxRuntime.jsx("li", {
2048
+ className: "flex items-center",
2049
+ "aria-hidden": true,
2050
+ children: jsxRuntime.jsx(obAtomsIcon.Icon, {
2051
+ icon: "chevron_right"
2052
+ })
2053
+ }, `divider-${index}`)];
2054
+ });
2055
+ }, [ariaLabel, filteredItems, items.length, shouldShrink]);
2056
+ return jsxRuntime.jsx("nav", Object.assign({
2057
+ ref: ref,
2058
+ "aria-label": "Breadcrumb",
2059
+ id: id,
2060
+ className: "breadcrumb-container",
2061
+ "data-testid": dataTestId
2062
+ }, uiUtils.applyDataAttributes(props), {
2063
+ children: jsxRuntime.jsx("ol", {
2064
+ className: "flex flex-row items-center min-w-max gap-(--breadcrumb-cotent-gap)",
2065
+ children: renderLinks()
2066
+ })
2067
+ }));
2068
+ });
2069
+
2070
+ exports.Breadcrumbs = Breadcrumbs;