@sebgroup/green-react 1.1.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.umd.js CHANGED
@@ -1,12 +1,13 @@
1
1
  (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react/jsx-runtime'), require('react'), require('@sebgroup/extract')) :
3
- typeof define === 'function' && define.amd ? define(['exports', 'react/jsx-runtime', 'react', '@sebgroup/extract'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.React = {}, global.jsxRuntime, global.React, global.extract));
5
- })(this, (function (exports, jsxRuntime, React, extract) { 'use strict';
2
+ typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('react/jsx-runtime'), require('react'), require('@sebgroup/extract'), require('classnames')) :
3
+ typeof define === 'function' && define.amd ? define(['exports', 'react/jsx-runtime', 'react', '@sebgroup/extract', 'classnames'], factory) :
4
+ (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.React = {}, global.jsxRuntime, global.React, global.extract, global.classNames));
5
+ })(this, (function (exports, jsxRuntime, React, extract, classNames) { 'use strict';
6
6
 
7
7
  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
8
8
 
9
9
  var React__default = /*#__PURE__*/_interopDefaultLegacy(React);
10
+ var classNames__default = /*#__PURE__*/_interopDefaultLegacy(classNames);
10
11
 
11
12
  var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
12
13
 
@@ -15,8 +16,8 @@
15
16
  };
16
17
 
17
18
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
18
- var global$r =
19
- // eslint-disable-next-line es-x/no-global-this -- safe
19
+ var global$c =
20
+ // eslint-disable-next-line es/no-global-this -- safe
20
21
  check(typeof globalThis == 'object' && globalThis) ||
21
22
  check(typeof window == 'object' && window) ||
22
23
  // eslint-disable-next-line no-restricted-globals -- safe
@@ -27,7 +28,7 @@
27
28
 
28
29
  var objectGetOwnPropertyDescriptor = {};
29
30
 
30
- var fails$a = function (exec) {
31
+ var fails$b = function (exec) {
31
32
  try {
32
33
  return !!exec();
33
34
  } catch (error) {
@@ -35,18 +36,18 @@
35
36
  }
36
37
  };
37
38
 
38
- var fails$9 = fails$a;
39
+ var fails$a = fails$b;
39
40
 
40
41
  // Detect IE8's incomplete defineProperty implementation
41
- var descriptors = !fails$9(function () {
42
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
42
+ var descriptors = !fails$a(function () {
43
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
43
44
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
44
45
  });
45
46
 
46
- var fails$8 = fails$a;
47
+ var fails$9 = fails$b;
47
48
 
48
- var functionBindNative = !fails$8(function () {
49
- // eslint-disable-next-line es-x/no-function-prototype-bind -- safe
49
+ var functionBindNative = !fails$9(function () {
50
+ // eslint-disable-next-line es/no-function-prototype-bind -- safe
50
51
  var test = (function () { /* empty */ }).bind();
51
52
  // eslint-disable-next-line no-prototype-builtins -- safe
52
53
  return typeof test != 'function' || test.hasOwnProperty('prototype');
@@ -63,7 +64,7 @@
63
64
  var objectPropertyIsEnumerable = {};
64
65
 
65
66
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
66
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
67
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
67
68
  var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
68
69
 
69
70
  // Nashorn ~ JDK8 bug
@@ -88,14 +89,11 @@
88
89
  var NATIVE_BIND = functionBindNative;
89
90
 
90
91
  var FunctionPrototype$1 = Function.prototype;
91
- var bind = FunctionPrototype$1.bind;
92
92
  var call$5 = FunctionPrototype$1.call;
93
- var uncurryThis$c = NATIVE_BIND && bind.bind(call$5, call$5);
93
+ var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$5, call$5);
94
94
 
95
- var functionUncurryThis = NATIVE_BIND ? function (fn) {
96
- return fn && uncurryThis$c(fn);
97
- } : function (fn) {
98
- return fn && function () {
95
+ var functionUncurryThis = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
96
+ return function () {
99
97
  return call$5.apply(fn, arguments);
100
98
  };
101
99
  };
@@ -103,37 +101,42 @@
103
101
  var uncurryThis$b = functionUncurryThis;
104
102
 
105
103
  var toString$3 = uncurryThis$b({}.toString);
106
- var stringSlice$1 = uncurryThis$b(''.slice);
104
+ var stringSlice$2 = uncurryThis$b(''.slice);
107
105
 
108
106
  var classofRaw$1 = function (it) {
109
- return stringSlice$1(toString$3(it), 8, -1);
107
+ return stringSlice$2(toString$3(it), 8, -1);
110
108
  };
111
109
 
112
- var global$q = global$r;
113
110
  var uncurryThis$a = functionUncurryThis;
114
- var fails$7 = fails$a;
111
+ var fails$8 = fails$b;
115
112
  var classof$2 = classofRaw$1;
116
113
 
117
- var Object$5 = global$q.Object;
114
+ var $Object$4 = Object;
118
115
  var split = uncurryThis$a(''.split);
119
116
 
120
117
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
121
- var indexedObject = fails$7(function () {
118
+ var indexedObject = fails$8(function () {
122
119
  // throws an error in rhino, see https://github.com/mozilla/rhino/issues/346
123
120
  // eslint-disable-next-line no-prototype-builtins -- safe
124
- return !Object$5('z').propertyIsEnumerable(0);
121
+ return !$Object$4('z').propertyIsEnumerable(0);
125
122
  }) ? function (it) {
126
- return classof$2(it) == 'String' ? split(it, '') : Object$5(it);
127
- } : Object$5;
123
+ return classof$2(it) == 'String' ? split(it, '') : $Object$4(it);
124
+ } : $Object$4;
128
125
 
129
- var global$p = global$r;
126
+ // we can't use just `it == null` since of `document.all` special case
127
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
128
+ var isNullOrUndefined$2 = function (it) {
129
+ return it === null || it === undefined;
130
+ };
131
+
132
+ var isNullOrUndefined$1 = isNullOrUndefined$2;
130
133
 
131
- var TypeError$8 = global$p.TypeError;
134
+ var $TypeError$6 = TypeError;
132
135
 
133
136
  // `RequireObjectCoercible` abstract operation
134
137
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
135
138
  var requireObjectCoercible$2 = function (it) {
136
- if (it == undefined) throw TypeError$8("Can't call method on " + it);
139
+ if (isNullOrUndefined$1(it)) throw $TypeError$6("Can't call method on " + it);
137
140
  return it;
138
141
  };
139
142
 
@@ -145,42 +148,62 @@
145
148
  return IndexedObject$1(requireObjectCoercible$1(it));
146
149
  };
147
150
 
151
+ var documentAll$2 = typeof document == 'object' && document.all;
152
+
153
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
154
+ // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
155
+ var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined;
156
+
157
+ var documentAll_1 = {
158
+ all: documentAll$2,
159
+ IS_HTMLDDA: IS_HTMLDDA
160
+ };
161
+
162
+ var $documentAll$1 = documentAll_1;
163
+
164
+ var documentAll$1 = $documentAll$1.all;
165
+
148
166
  // `IsCallable` abstract operation
149
167
  // https://tc39.es/ecma262/#sec-iscallable
150
- var isCallable$f = function (argument) {
168
+ var isCallable$g = $documentAll$1.IS_HTMLDDA ? function (argument) {
169
+ return typeof argument == 'function' || argument === documentAll$1;
170
+ } : function (argument) {
151
171
  return typeof argument == 'function';
152
172
  };
153
173
 
154
- var isCallable$e = isCallable$f;
174
+ var isCallable$f = isCallable$g;
175
+ var $documentAll = documentAll_1;
155
176
 
156
- var isObject$5 = function (it) {
157
- return typeof it == 'object' ? it !== null : isCallable$e(it);
177
+ var documentAll = $documentAll.all;
178
+
179
+ var isObject$6 = $documentAll.IS_HTMLDDA ? function (it) {
180
+ return typeof it == 'object' ? it !== null : isCallable$f(it) || it === documentAll;
181
+ } : function (it) {
182
+ return typeof it == 'object' ? it !== null : isCallable$f(it);
158
183
  };
159
184
 
160
- var global$o = global$r;
161
- var isCallable$d = isCallable$f;
185
+ var global$b = global$c;
186
+ var isCallable$e = isCallable$g;
162
187
 
163
188
  var aFunction = function (argument) {
164
- return isCallable$d(argument) ? argument : undefined;
189
+ return isCallable$e(argument) ? argument : undefined;
165
190
  };
166
191
 
167
- var getBuiltIn$4 = function (namespace, method) {
168
- return arguments.length < 2 ? aFunction(global$o[namespace]) : global$o[namespace] && global$o[namespace][method];
192
+ var getBuiltIn$3 = function (namespace, method) {
193
+ return arguments.length < 2 ? aFunction(global$b[namespace]) : global$b[namespace] && global$b[namespace][method];
169
194
  };
170
195
 
171
196
  var uncurryThis$9 = functionUncurryThis;
172
197
 
173
198
  var objectIsPrototypeOf = uncurryThis$9({}.isPrototypeOf);
174
199
 
175
- var getBuiltIn$3 = getBuiltIn$4;
200
+ var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
176
201
 
177
- var engineUserAgent = getBuiltIn$3('navigator', 'userAgent') || '';
178
-
179
- var global$n = global$r;
202
+ var global$a = global$c;
180
203
  var userAgent = engineUserAgent;
181
204
 
182
- var process = global$n.process;
183
- var Deno = global$n.Deno;
205
+ var process = global$a.process;
206
+ var Deno = global$a.Deno;
184
207
  var versions = process && process.versions || Deno && Deno.version;
185
208
  var v8 = versions && versions.v8;
186
209
  var match, version;
@@ -204,13 +227,13 @@
204
227
 
205
228
  var engineV8Version = version;
206
229
 
207
- /* eslint-disable es-x/no-symbol -- required for testing */
230
+ /* eslint-disable es/no-symbol -- required for testing */
208
231
 
209
232
  var V8_VERSION = engineV8Version;
210
- var fails$6 = fails$a;
233
+ var fails$7 = fails$b;
211
234
 
212
- // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
213
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails$6(function () {
235
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
236
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$7(function () {
214
237
  var symbol = Symbol();
215
238
  // Chrome 38 Symbol has incorrect toString conversion
216
239
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -219,99 +242,95 @@
219
242
  !Symbol.sham && V8_VERSION && V8_VERSION < 41;
220
243
  });
221
244
 
222
- /* eslint-disable es-x/no-symbol -- required for testing */
245
+ /* eslint-disable es/no-symbol -- required for testing */
223
246
 
224
- var NATIVE_SYMBOL$2 = nativeSymbol;
247
+ var NATIVE_SYMBOL$2 = symbolConstructorDetection;
225
248
 
226
249
  var useSymbolAsUid = NATIVE_SYMBOL$2
227
250
  && !Symbol.sham
228
251
  && typeof Symbol.iterator == 'symbol';
229
252
 
230
- var global$m = global$r;
231
- var getBuiltIn$2 = getBuiltIn$4;
232
- var isCallable$c = isCallable$f;
253
+ var getBuiltIn$2 = getBuiltIn$3;
254
+ var isCallable$d = isCallable$g;
233
255
  var isPrototypeOf$1 = objectIsPrototypeOf;
234
256
  var USE_SYMBOL_AS_UID$1 = useSymbolAsUid;
235
257
 
236
- var Object$4 = global$m.Object;
258
+ var $Object$3 = Object;
237
259
 
238
260
  var isSymbol$2 = USE_SYMBOL_AS_UID$1 ? function (it) {
239
261
  return typeof it == 'symbol';
240
262
  } : function (it) {
241
263
  var $Symbol = getBuiltIn$2('Symbol');
242
- return isCallable$c($Symbol) && isPrototypeOf$1($Symbol.prototype, Object$4(it));
264
+ return isCallable$d($Symbol) && isPrototypeOf$1($Symbol.prototype, $Object$3(it));
243
265
  };
244
266
 
245
- var global$l = global$r;
246
-
247
- var String$4 = global$l.String;
267
+ var $String$4 = String;
248
268
 
249
269
  var tryToString$1 = function (argument) {
250
270
  try {
251
- return String$4(argument);
271
+ return $String$4(argument);
252
272
  } catch (error) {
253
273
  return 'Object';
254
274
  }
255
275
  };
256
276
 
257
- var global$k = global$r;
258
- var isCallable$b = isCallable$f;
277
+ var isCallable$c = isCallable$g;
259
278
  var tryToString = tryToString$1;
260
279
 
261
- var TypeError$7 = global$k.TypeError;
280
+ var $TypeError$5 = TypeError;
262
281
 
263
282
  // `Assert: IsCallable(argument) is true`
264
- var aCallable$1 = function (argument) {
265
- if (isCallable$b(argument)) return argument;
266
- throw TypeError$7(tryToString(argument) + ' is not a function');
283
+ var aCallable$2 = function (argument) {
284
+ if (isCallable$c(argument)) return argument;
285
+ throw $TypeError$5(tryToString(argument) + ' is not a function');
267
286
  };
268
287
 
269
- var aCallable = aCallable$1;
288
+ var aCallable$1 = aCallable$2;
289
+ var isNullOrUndefined = isNullOrUndefined$2;
270
290
 
271
291
  // `GetMethod` abstract operation
272
292
  // https://tc39.es/ecma262/#sec-getmethod
273
293
  var getMethod$1 = function (V, P) {
274
294
  var func = V[P];
275
- return func == null ? undefined : aCallable(func);
295
+ return isNullOrUndefined(func) ? undefined : aCallable$1(func);
276
296
  };
277
297
 
278
- var global$j = global$r;
279
298
  var call$4 = functionCall;
280
- var isCallable$a = isCallable$f;
281
- var isObject$4 = isObject$5;
299
+ var isCallable$b = isCallable$g;
300
+ var isObject$5 = isObject$6;
282
301
 
283
- var TypeError$6 = global$j.TypeError;
302
+ var $TypeError$4 = TypeError;
284
303
 
285
304
  // `OrdinaryToPrimitive` abstract operation
286
305
  // https://tc39.es/ecma262/#sec-ordinarytoprimitive
287
306
  var ordinaryToPrimitive$1 = function (input, pref) {
288
307
  var fn, val;
289
- if (pref === 'string' && isCallable$a(fn = input.toString) && !isObject$4(val = call$4(fn, input))) return val;
290
- if (isCallable$a(fn = input.valueOf) && !isObject$4(val = call$4(fn, input))) return val;
291
- if (pref !== 'string' && isCallable$a(fn = input.toString) && !isObject$4(val = call$4(fn, input))) return val;
292
- throw TypeError$6("Can't convert object to primitive value");
308
+ if (pref === 'string' && isCallable$b(fn = input.toString) && !isObject$5(val = call$4(fn, input))) return val;
309
+ if (isCallable$b(fn = input.valueOf) && !isObject$5(val = call$4(fn, input))) return val;
310
+ if (pref !== 'string' && isCallable$b(fn = input.toString) && !isObject$5(val = call$4(fn, input))) return val;
311
+ throw $TypeError$4("Can't convert object to primitive value");
293
312
  };
294
313
 
295
314
  var shared$3 = {exports: {}};
296
315
 
297
- var global$i = global$r;
316
+ var global$9 = global$c;
298
317
 
299
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
300
- var defineProperty$4 = Object.defineProperty;
318
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
319
+ var defineProperty$6 = Object.defineProperty;
301
320
 
302
- var setGlobal$3 = function (key, value) {
321
+ var defineGlobalProperty$3 = function (key, value) {
303
322
  try {
304
- defineProperty$4(global$i, key, { value: value, configurable: true, writable: true });
323
+ defineProperty$6(global$9, key, { value: value, configurable: true, writable: true });
305
324
  } catch (error) {
306
- global$i[key] = value;
325
+ global$9[key] = value;
307
326
  } return value;
308
327
  };
309
328
 
310
- var global$h = global$r;
311
- var setGlobal$2 = setGlobal$3;
329
+ var global$8 = global$c;
330
+ var defineGlobalProperty$2 = defineGlobalProperty$3;
312
331
 
313
332
  var SHARED = '__core-js_shared__';
314
- var store$3 = global$h[SHARED] || setGlobal$2(SHARED, {});
333
+ var store$3 = global$8[SHARED] || defineGlobalProperty$2(SHARED, {});
315
334
 
316
335
  var sharedStore = store$3;
317
336
 
@@ -320,22 +339,21 @@
320
339
  (shared$3.exports = function (key, value) {
321
340
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
322
341
  })('versions', []).push({
323
- version: '3.22.2',
342
+ version: '3.29.0',
324
343
  mode: 'global',
325
- copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
326
- license: 'https://github.com/zloirock/core-js/blob/v3.22.2/LICENSE',
344
+ copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
345
+ license: 'https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE',
327
346
  source: 'https://github.com/zloirock/core-js'
328
347
  });
329
348
 
330
- var global$g = global$r;
331
349
  var requireObjectCoercible = requireObjectCoercible$2;
332
350
 
333
- var Object$3 = global$g.Object;
351
+ var $Object$2 = Object;
334
352
 
335
353
  // `ToObject` abstract operation
336
354
  // https://tc39.es/ecma262/#sec-toobject
337
355
  var toObject$3 = function (argument) {
338
- return Object$3(requireObjectCoercible(argument));
356
+ return $Object$2(requireObjectCoercible(argument));
339
357
  };
340
358
 
341
359
  var uncurryThis$8 = functionUncurryThis;
@@ -345,7 +363,7 @@
345
363
 
346
364
  // `HasOwnProperty` abstract operation
347
365
  // https://tc39.es/ecma262/#sec-hasownproperty
348
- // eslint-disable-next-line es-x/no-object-hasown -- safe
366
+ // eslint-disable-next-line es/no-object-hasown -- safe
349
367
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
350
368
  return hasOwnProperty(toObject$2(it), key);
351
369
  };
@@ -360,53 +378,46 @@
360
378
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$2(++id + postfix, 36);
361
379
  };
362
380
 
363
- var global$f = global$r;
381
+ var global$7 = global$c;
364
382
  var shared$2 = shared$3.exports;
365
383
  var hasOwn$9 = hasOwnProperty_1;
366
384
  var uid$1 = uid$2;
367
- var NATIVE_SYMBOL$1 = nativeSymbol;
385
+ var NATIVE_SYMBOL$1 = symbolConstructorDetection;
368
386
  var USE_SYMBOL_AS_UID = useSymbolAsUid;
369
387
 
388
+ var Symbol$1 = global$7.Symbol;
370
389
  var WellKnownSymbolsStore = shared$2('wks');
371
- var Symbol$1 = global$f.Symbol;
372
- var symbolFor = Symbol$1 && Symbol$1['for'];
373
- var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
390
+ var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
374
391
 
375
392
  var wellKnownSymbol$8 = function (name) {
376
- if (!hasOwn$9(WellKnownSymbolsStore, name) || !(NATIVE_SYMBOL$1 || typeof WellKnownSymbolsStore[name] == 'string')) {
377
- var description = 'Symbol.' + name;
378
- if (NATIVE_SYMBOL$1 && hasOwn$9(Symbol$1, name)) {
379
- WellKnownSymbolsStore[name] = Symbol$1[name];
380
- } else if (USE_SYMBOL_AS_UID && symbolFor) {
381
- WellKnownSymbolsStore[name] = symbolFor(description);
382
- } else {
383
- WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
384
- }
393
+ if (!hasOwn$9(WellKnownSymbolsStore, name)) {
394
+ WellKnownSymbolsStore[name] = NATIVE_SYMBOL$1 && hasOwn$9(Symbol$1, name)
395
+ ? Symbol$1[name]
396
+ : createWellKnownSymbol('Symbol.' + name);
385
397
  } return WellKnownSymbolsStore[name];
386
398
  };
387
399
 
388
- var global$e = global$r;
389
400
  var call$3 = functionCall;
390
- var isObject$3 = isObject$5;
401
+ var isObject$4 = isObject$6;
391
402
  var isSymbol$1 = isSymbol$2;
392
403
  var getMethod = getMethod$1;
393
404
  var ordinaryToPrimitive = ordinaryToPrimitive$1;
394
405
  var wellKnownSymbol$7 = wellKnownSymbol$8;
395
406
 
396
- var TypeError$5 = global$e.TypeError;
407
+ var $TypeError$3 = TypeError;
397
408
  var TO_PRIMITIVE = wellKnownSymbol$7('toPrimitive');
398
409
 
399
410
  // `ToPrimitive` abstract operation
400
411
  // https://tc39.es/ecma262/#sec-toprimitive
401
412
  var toPrimitive$1 = function (input, pref) {
402
- if (!isObject$3(input) || isSymbol$1(input)) return input;
413
+ if (!isObject$4(input) || isSymbol$1(input)) return input;
403
414
  var exoticToPrim = getMethod(input, TO_PRIMITIVE);
404
415
  var result;
405
416
  if (exoticToPrim) {
406
417
  if (pref === undefined) pref = 'default';
407
418
  result = call$3(exoticToPrim, input, pref);
408
- if (!isObject$3(result) || isSymbol$1(result)) return result;
409
- throw TypeError$5("Can't convert object to primitive value");
419
+ if (!isObject$4(result) || isSymbol$1(result)) return result;
420
+ throw $TypeError$3("Can't convert object to primitive value");
410
421
  }
411
422
  if (pref === undefined) pref = 'number';
412
423
  return ordinaryToPrimitive(input, pref);
@@ -422,30 +433,30 @@
422
433
  return isSymbol(key) ? key : key + '';
423
434
  };
424
435
 
425
- var global$d = global$r;
426
- var isObject$2 = isObject$5;
436
+ var global$6 = global$c;
437
+ var isObject$3 = isObject$6;
427
438
 
428
- var document$1 = global$d.document;
439
+ var document$1 = global$6.document;
429
440
  // typeof document.createElement is 'object' in old IE
430
- var EXISTS$1 = isObject$2(document$1) && isObject$2(document$1.createElement);
441
+ var EXISTS$1 = isObject$3(document$1) && isObject$3(document$1.createElement);
431
442
 
432
443
  var documentCreateElement$2 = function (it) {
433
444
  return EXISTS$1 ? document$1.createElement(it) : {};
434
445
  };
435
446
 
436
- var DESCRIPTORS$9 = descriptors;
437
- var fails$5 = fails$a;
447
+ var DESCRIPTORS$a = descriptors;
448
+ var fails$6 = fails$b;
438
449
  var createElement = documentCreateElement$2;
439
450
 
440
451
  // Thanks to IE8 for its funny defineProperty
441
- var ie8DomDefine = !DESCRIPTORS$9 && !fails$5(function () {
442
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
452
+ var ie8DomDefine = !DESCRIPTORS$a && !fails$6(function () {
453
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
443
454
  return Object.defineProperty(createElement('div'), 'a', {
444
455
  get: function () { return 7; }
445
456
  }).a != 7;
446
457
  });
447
458
 
448
- var DESCRIPTORS$8 = descriptors;
459
+ var DESCRIPTORS$9 = descriptors;
449
460
  var call$2 = functionCall;
450
461
  var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
451
462
  var createPropertyDescriptor$2 = createPropertyDescriptor$3;
@@ -454,12 +465,12 @@
454
465
  var hasOwn$8 = hasOwnProperty_1;
455
466
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
456
467
 
457
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
468
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
458
469
  var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
459
470
 
460
471
  // `Object.getOwnPropertyDescriptor` method
461
472
  // https://tc39.es/ecma262/#sec-object.getownpropertydescriptor
462
- objectGetOwnPropertyDescriptor.f = DESCRIPTORS$8 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
473
+ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$9 ? $getOwnPropertyDescriptor$1 : function getOwnPropertyDescriptor(O, P) {
463
474
  O = toIndexedObject$4(O);
464
475
  P = toPropertyKey$1(P);
465
476
  if (IE8_DOM_DEFINE$1) try {
@@ -470,42 +481,40 @@
470
481
 
471
482
  var objectDefineProperty = {};
472
483
 
473
- var DESCRIPTORS$7 = descriptors;
474
- var fails$4 = fails$a;
484
+ var DESCRIPTORS$8 = descriptors;
485
+ var fails$5 = fails$b;
475
486
 
476
487
  // V8 ~ Chrome 36-
477
488
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
478
- var v8PrototypeDefineBug = DESCRIPTORS$7 && fails$4(function () {
479
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
489
+ var v8PrototypeDefineBug = DESCRIPTORS$8 && fails$5(function () {
490
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
480
491
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
481
492
  value: 42,
482
493
  writable: false
483
494
  }).prototype != 42;
484
495
  });
485
496
 
486
- var global$c = global$r;
487
- var isObject$1 = isObject$5;
497
+ var isObject$2 = isObject$6;
488
498
 
489
- var String$3 = global$c.String;
490
- var TypeError$4 = global$c.TypeError;
499
+ var $String$3 = String;
500
+ var $TypeError$2 = TypeError;
491
501
 
492
502
  // `Assert: Type(argument) is Object`
493
503
  var anObject$5 = function (argument) {
494
- if (isObject$1(argument)) return argument;
495
- throw TypeError$4(String$3(argument) + ' is not an object');
504
+ if (isObject$2(argument)) return argument;
505
+ throw $TypeError$2($String$3(argument) + ' is not an object');
496
506
  };
497
507
 
498
- var global$b = global$r;
499
- var DESCRIPTORS$6 = descriptors;
508
+ var DESCRIPTORS$7 = descriptors;
500
509
  var IE8_DOM_DEFINE = ie8DomDefine;
501
510
  var V8_PROTOTYPE_DEFINE_BUG$1 = v8PrototypeDefineBug;
502
511
  var anObject$4 = anObject$5;
503
512
  var toPropertyKey = toPropertyKey$2;
504
513
 
505
- var TypeError$3 = global$b.TypeError;
506
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
514
+ var $TypeError$1 = TypeError;
515
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
507
516
  var $defineProperty = Object.defineProperty;
508
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
517
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
509
518
  var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
510
519
  var ENUMERABLE = 'enumerable';
511
520
  var CONFIGURABLE$1 = 'configurable';
@@ -513,7 +522,7 @@
513
522
 
514
523
  // `Object.defineProperty` method
515
524
  // https://tc39.es/ecma262/#sec-object.defineproperty
516
- objectDefineProperty.f = DESCRIPTORS$6 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
525
+ objectDefineProperty.f = DESCRIPTORS$7 ? V8_PROTOTYPE_DEFINE_BUG$1 ? function defineProperty(O, P, Attributes) {
517
526
  anObject$4(O);
518
527
  P = toPropertyKey(P);
519
528
  anObject$4(Attributes);
@@ -535,46 +544,63 @@
535
544
  if (IE8_DOM_DEFINE) try {
536
545
  return $defineProperty(O, P, Attributes);
537
546
  } catch (error) { /* empty */ }
538
- if ('get' in Attributes || 'set' in Attributes) throw TypeError$3('Accessors not supported');
547
+ if ('get' in Attributes || 'set' in Attributes) throw $TypeError$1('Accessors not supported');
539
548
  if ('value' in Attributes) O[P] = Attributes.value;
540
549
  return O;
541
550
  };
542
551
 
543
- var DESCRIPTORS$5 = descriptors;
552
+ var DESCRIPTORS$6 = descriptors;
544
553
  var definePropertyModule$3 = objectDefineProperty;
545
554
  var createPropertyDescriptor$1 = createPropertyDescriptor$3;
546
555
 
547
- var createNonEnumerableProperty$5 = DESCRIPTORS$5 ? function (object, key, value) {
556
+ var createNonEnumerableProperty$4 = DESCRIPTORS$6 ? function (object, key, value) {
548
557
  return definePropertyModule$3.f(object, key, createPropertyDescriptor$1(1, value));
549
558
  } : function (object, key, value) {
550
559
  object[key] = value;
551
560
  return object;
552
561
  };
553
562
 
554
- var redefine$3 = {exports: {}};
563
+ var makeBuiltIn$3 = {exports: {}};
564
+
565
+ var DESCRIPTORS$5 = descriptors;
566
+ var hasOwn$7 = hasOwnProperty_1;
567
+
568
+ var FunctionPrototype = Function.prototype;
569
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
570
+ var getDescriptor = DESCRIPTORS$5 && Object.getOwnPropertyDescriptor;
571
+
572
+ var EXISTS = hasOwn$7(FunctionPrototype, 'name');
573
+ // additional protection from minified / mangled / dropped function names
574
+ var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
575
+ var CONFIGURABLE = EXISTS && (!DESCRIPTORS$5 || (DESCRIPTORS$5 && getDescriptor(FunctionPrototype, 'name').configurable));
576
+
577
+ var functionName = {
578
+ EXISTS: EXISTS,
579
+ PROPER: PROPER,
580
+ CONFIGURABLE: CONFIGURABLE
581
+ };
555
582
 
556
583
  var uncurryThis$6 = functionUncurryThis;
557
- var isCallable$9 = isCallable$f;
584
+ var isCallable$a = isCallable$g;
558
585
  var store$1 = sharedStore;
559
586
 
560
587
  var functionToString = uncurryThis$6(Function.toString);
561
588
 
562
589
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
563
- if (!isCallable$9(store$1.inspectSource)) {
590
+ if (!isCallable$a(store$1.inspectSource)) {
564
591
  store$1.inspectSource = function (it) {
565
592
  return functionToString(it);
566
593
  };
567
594
  }
568
595
 
569
- var inspectSource$2 = store$1.inspectSource;
596
+ var inspectSource$1 = store$1.inspectSource;
570
597
 
571
- var global$a = global$r;
572
- var isCallable$8 = isCallable$f;
573
- var inspectSource$1 = inspectSource$2;
598
+ var global$5 = global$c;
599
+ var isCallable$9 = isCallable$g;
574
600
 
575
- var WeakMap$1 = global$a.WeakMap;
601
+ var WeakMap$1 = global$5.WeakMap;
576
602
 
577
- var nativeWeakMap = isCallable$8(WeakMap$1) && /native code/.test(inspectSource$1(WeakMap$1));
603
+ var weakMapBasicDetection = isCallable$9(WeakMap$1) && /native code/.test(String(WeakMap$1));
578
604
 
579
605
  var shared$1 = shared$3.exports;
580
606
  var uid = uid$2;
@@ -587,19 +613,18 @@
587
613
 
588
614
  var hiddenKeys$4 = {};
589
615
 
590
- var NATIVE_WEAK_MAP = nativeWeakMap;
591
- var global$9 = global$r;
592
- var uncurryThis$5 = functionUncurryThis;
593
- var isObject = isObject$5;
594
- var createNonEnumerableProperty$4 = createNonEnumerableProperty$5;
595
- var hasOwn$7 = hasOwnProperty_1;
616
+ var NATIVE_WEAK_MAP = weakMapBasicDetection;
617
+ var global$4 = global$c;
618
+ var isObject$1 = isObject$6;
619
+ var createNonEnumerableProperty$3 = createNonEnumerableProperty$4;
620
+ var hasOwn$6 = hasOwnProperty_1;
596
621
  var shared = sharedStore;
597
622
  var sharedKey$2 = sharedKey$3;
598
623
  var hiddenKeys$3 = hiddenKeys$4;
599
624
 
600
625
  var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
601
- var TypeError$2 = global$9.TypeError;
602
- var WeakMap = global$9.WeakMap;
626
+ var TypeError$1 = global$4.TypeError;
627
+ var WeakMap = global$4.WeakMap;
603
628
  var set, get, has;
604
629
 
605
630
  var enforce = function (it) {
@@ -609,43 +634,45 @@
609
634
  var getterFor = function (TYPE) {
610
635
  return function (it) {
611
636
  var state;
612
- if (!isObject(it) || (state = get(it)).type !== TYPE) {
613
- throw TypeError$2('Incompatible receiver, ' + TYPE + ' required');
637
+ if (!isObject$1(it) || (state = get(it)).type !== TYPE) {
638
+ throw TypeError$1('Incompatible receiver, ' + TYPE + ' required');
614
639
  } return state;
615
640
  };
616
641
  };
617
642
 
618
643
  if (NATIVE_WEAK_MAP || shared.state) {
619
644
  var store = shared.state || (shared.state = new WeakMap());
620
- var wmget = uncurryThis$5(store.get);
621
- var wmhas = uncurryThis$5(store.has);
622
- var wmset = uncurryThis$5(store.set);
645
+ /* eslint-disable no-self-assign -- prototype methods protection */
646
+ store.get = store.get;
647
+ store.has = store.has;
648
+ store.set = store.set;
649
+ /* eslint-enable no-self-assign -- prototype methods protection */
623
650
  set = function (it, metadata) {
624
- if (wmhas(store, it)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
651
+ if (store.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
625
652
  metadata.facade = it;
626
- wmset(store, it, metadata);
653
+ store.set(it, metadata);
627
654
  return metadata;
628
655
  };
629
656
  get = function (it) {
630
- return wmget(store, it) || {};
657
+ return store.get(it) || {};
631
658
  };
632
659
  has = function (it) {
633
- return wmhas(store, it);
660
+ return store.has(it);
634
661
  };
635
662
  } else {
636
663
  var STATE = sharedKey$2('state');
637
664
  hiddenKeys$3[STATE] = true;
638
665
  set = function (it, metadata) {
639
- if (hasOwn$7(it, STATE)) throw new TypeError$2(OBJECT_ALREADY_INITIALIZED);
666
+ if (hasOwn$6(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
640
667
  metadata.facade = it;
641
- createNonEnumerableProperty$4(it, STATE, metadata);
668
+ createNonEnumerableProperty$3(it, STATE, metadata);
642
669
  return metadata;
643
670
  };
644
671
  get = function (it) {
645
- return hasOwn$7(it, STATE) ? it[STATE] : {};
672
+ return hasOwn$6(it, STATE) ? it[STATE] : {};
646
673
  };
647
674
  has = function (it) {
648
- return hasOwn$7(it, STATE);
675
+ return hasOwn$6(it, STATE);
649
676
  };
650
677
  }
651
678
 
@@ -657,82 +684,110 @@
657
684
  getterFor: getterFor
658
685
  };
659
686
 
660
- var DESCRIPTORS$4 = descriptors;
661
- var hasOwn$6 = hasOwnProperty_1;
662
-
663
- var FunctionPrototype = Function.prototype;
664
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
665
- var getDescriptor = DESCRIPTORS$4 && Object.getOwnPropertyDescriptor;
666
-
667
- var EXISTS = hasOwn$6(FunctionPrototype, 'name');
668
- // additional protection from minified / mangled / dropped function names
669
- var PROPER = EXISTS && (function something() { /* empty */ }).name === 'something';
670
- var CONFIGURABLE = EXISTS && (!DESCRIPTORS$4 || (DESCRIPTORS$4 && getDescriptor(FunctionPrototype, 'name').configurable));
671
-
672
- var functionName = {
673
- EXISTS: EXISTS,
674
- PROPER: PROPER,
675
- CONFIGURABLE: CONFIGURABLE
676
- };
677
-
678
- var global$8 = global$r;
679
- var isCallable$7 = isCallable$f;
687
+ var uncurryThis$5 = functionUncurryThis;
688
+ var fails$4 = fails$b;
689
+ var isCallable$8 = isCallable$g;
680
690
  var hasOwn$5 = hasOwnProperty_1;
681
- var createNonEnumerableProperty$3 = createNonEnumerableProperty$5;
682
- var setGlobal$1 = setGlobal$3;
683
- var inspectSource = inspectSource$2;
684
- var InternalStateModule$1 = internalState;
691
+ var DESCRIPTORS$4 = descriptors;
685
692
  var CONFIGURABLE_FUNCTION_NAME$1 = functionName.CONFIGURABLE;
693
+ var inspectSource = inspectSource$1;
694
+ var InternalStateModule$1 = internalState;
686
695
 
687
- var getInternalState$1 = InternalStateModule$1.get;
688
696
  var enforceInternalState = InternalStateModule$1.enforce;
697
+ var getInternalState$1 = InternalStateModule$1.get;
698
+ var $String$2 = String;
699
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
700
+ var defineProperty$5 = Object.defineProperty;
701
+ var stringSlice$1 = uncurryThis$5(''.slice);
702
+ var replace$1 = uncurryThis$5(''.replace);
703
+ var join = uncurryThis$5([].join);
704
+
705
+ var CONFIGURABLE_LENGTH = DESCRIPTORS$4 && !fails$4(function () {
706
+ return defineProperty$5(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
707
+ });
708
+
689
709
  var TEMPLATE = String(String).split('String');
690
710
 
691
- (redefine$3.exports = function (O, key, value, options) {
692
- var unsafe = options ? !!options.unsafe : false;
693
- var simple = options ? !!options.enumerable : false;
694
- var noTargetGet = options ? !!options.noTargetGet : false;
695
- var name = options && options.name !== undefined ? options.name : key;
696
- var state;
697
- if (isCallable$7(value)) {
698
- if (String(name).slice(0, 7) === 'Symbol(') {
699
- name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
700
- }
701
- if (!hasOwn$5(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
702
- createNonEnumerableProperty$3(value, 'name', name);
703
- }
704
- state = enforceInternalState(value);
705
- if (!state.source) {
706
- state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
707
- }
711
+ var makeBuiltIn$2 = makeBuiltIn$3.exports = function (value, name, options) {
712
+ if (stringSlice$1($String$2(name), 0, 7) === 'Symbol(') {
713
+ name = '[' + replace$1($String$2(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
708
714
  }
709
- if (O === global$8) {
710
- if (simple) O[key] = value;
711
- else setGlobal$1(key, value);
712
- return;
713
- } else if (!unsafe) {
714
- delete O[key];
715
- } else if (!noTargetGet && O[key]) {
716
- simple = true;
715
+ if (options && options.getter) name = 'get ' + name;
716
+ if (options && options.setter) name = 'set ' + name;
717
+ if (!hasOwn$5(value, 'name') || (CONFIGURABLE_FUNCTION_NAME$1 && value.name !== name)) {
718
+ if (DESCRIPTORS$4) defineProperty$5(value, 'name', { value: name, configurable: true });
719
+ else value.name = name;
720
+ }
721
+ if (CONFIGURABLE_LENGTH && options && hasOwn$5(options, 'arity') && value.length !== options.arity) {
722
+ defineProperty$5(value, 'length', { value: options.arity });
717
723
  }
718
- if (simple) O[key] = value;
719
- else createNonEnumerableProperty$3(O, key, value);
724
+ try {
725
+ if (options && hasOwn$5(options, 'constructor') && options.constructor) {
726
+ if (DESCRIPTORS$4) defineProperty$5(value, 'prototype', { writable: false });
727
+ // in V8 ~ Chrome 53, prototypes of some methods, like `Array.prototype.values`, are non-writable
728
+ } else if (value.prototype) value.prototype = undefined;
729
+ } catch (error) { /* empty */ }
730
+ var state = enforceInternalState(value);
731
+ if (!hasOwn$5(state, 'source')) {
732
+ state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
733
+ } return value;
734
+ };
735
+
720
736
  // add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative
721
- })(Function.prototype, 'toString', function toString() {
722
- return isCallable$7(this) && getInternalState$1(this).source || inspectSource(this);
723
- });
737
+ // eslint-disable-next-line no-extend-native -- required
738
+ Function.prototype.toString = makeBuiltIn$2(function toString() {
739
+ return isCallable$8(this) && getInternalState$1(this).source || inspectSource(this);
740
+ }, 'toString');
741
+
742
+ var isCallable$7 = isCallable$g;
743
+ var definePropertyModule$2 = objectDefineProperty;
744
+ var makeBuiltIn$1 = makeBuiltIn$3.exports;
745
+ var defineGlobalProperty$1 = defineGlobalProperty$3;
746
+
747
+ var defineBuiltIn$3 = function (O, key, value, options) {
748
+ if (!options) options = {};
749
+ var simple = options.enumerable;
750
+ var name = options.name !== undefined ? options.name : key;
751
+ if (isCallable$7(value)) makeBuiltIn$1(value, name, options);
752
+ if (options.global) {
753
+ if (simple) O[key] = value;
754
+ else defineGlobalProperty$1(key, value);
755
+ } else {
756
+ try {
757
+ if (!options.unsafe) delete O[key];
758
+ else if (O[key]) simple = true;
759
+ } catch (error) { /* empty */ }
760
+ if (simple) O[key] = value;
761
+ else definePropertyModule$2.f(O, key, {
762
+ value: value,
763
+ enumerable: false,
764
+ configurable: !options.nonConfigurable,
765
+ writable: !options.nonWritable
766
+ });
767
+ } return O;
768
+ };
724
769
 
725
770
  var objectGetOwnPropertyNames = {};
726
771
 
727
772
  var ceil = Math.ceil;
728
773
  var floor = Math.floor;
729
774
 
775
+ // `Math.trunc` method
776
+ // https://tc39.es/ecma262/#sec-math.trunc
777
+ // eslint-disable-next-line es/no-math-trunc -- safe
778
+ var mathTrunc = Math.trunc || function trunc(x) {
779
+ var n = +x;
780
+ return (n > 0 ? floor : ceil)(n);
781
+ };
782
+
783
+ var trunc = mathTrunc;
784
+
730
785
  // `ToIntegerOrInfinity` abstract operation
731
786
  // https://tc39.es/ecma262/#sec-tointegerorinfinity
732
787
  var toIntegerOrInfinity$2 = function (argument) {
733
788
  var number = +argument;
734
- // eslint-disable-next-line no-self-compare -- safe
735
- return number !== number || number === 0 ? 0 : (number > 0 ? floor : ceil)(number);
789
+ // eslint-disable-next-line no-self-compare -- NaN check
790
+ return number !== number || number === 0 ? 0 : trunc(number);
736
791
  };
737
792
 
738
793
  var toIntegerOrInfinity$1 = toIntegerOrInfinity$2;
@@ -838,17 +893,17 @@
838
893
 
839
894
  // `Object.getOwnPropertyNames` method
840
895
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
841
- // eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
896
+ // eslint-disable-next-line es/no-object-getownpropertynames -- safe
842
897
  objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
843
898
  return internalObjectKeys$1(O, hiddenKeys$1);
844
899
  };
845
900
 
846
901
  var objectGetOwnPropertySymbols = {};
847
902
 
848
- // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
903
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
849
904
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
850
905
 
851
- var getBuiltIn$1 = getBuiltIn$4;
906
+ var getBuiltIn$1 = getBuiltIn$3;
852
907
  var uncurryThis$3 = functionUncurryThis;
853
908
  var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
854
909
  var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
@@ -866,11 +921,11 @@
866
921
  var hasOwn$3 = hasOwnProperty_1;
867
922
  var ownKeys = ownKeys$1;
868
923
  var getOwnPropertyDescriptorModule = objectGetOwnPropertyDescriptor;
869
- var definePropertyModule$2 = objectDefineProperty;
924
+ var definePropertyModule$1 = objectDefineProperty;
870
925
 
871
926
  var copyConstructorProperties$2 = function (target, source, exceptions) {
872
927
  var keys = ownKeys(source);
873
- var defineProperty = definePropertyModule$2.f;
928
+ var defineProperty = definePropertyModule$1.f;
874
929
  var getOwnPropertyDescriptor = getOwnPropertyDescriptorModule.f;
875
930
  for (var i = 0; i < keys.length; i++) {
876
931
  var key = keys[i];
@@ -880,8 +935,8 @@
880
935
  }
881
936
  };
882
937
 
883
- var fails$3 = fails$a;
884
- var isCallable$6 = isCallable$f;
938
+ var fails$3 = fails$b;
939
+ var isCallable$6 = isCallable$g;
885
940
 
886
941
  var replacement = /#|\.prototype\./;
887
942
 
@@ -903,28 +958,28 @@
903
958
 
904
959
  var isForced_1 = isForced$1;
905
960
 
906
- var global$7 = global$r;
961
+ var global$3 = global$c;
907
962
  var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
908
- var createNonEnumerableProperty$2 = createNonEnumerableProperty$5;
909
- var redefine$2 = redefine$3.exports;
910
- var setGlobal = setGlobal$3;
963
+ var createNonEnumerableProperty$2 = createNonEnumerableProperty$4;
964
+ var defineBuiltIn$2 = defineBuiltIn$3;
965
+ var defineGlobalProperty = defineGlobalProperty$3;
911
966
  var copyConstructorProperties$1 = copyConstructorProperties$2;
912
967
  var isForced = isForced_1;
913
968
 
914
969
  /*
915
- options.target - name of the target object
916
- options.global - target is the global object
917
- options.stat - export as static methods of target
918
- options.proto - export as prototype methods of target
919
- options.real - real prototype method for the `pure` version
920
- options.forced - export even if the native feature is available
921
- options.bind - bind methods to the target, required for the `pure` version
922
- options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
923
- options.unsafe - use the simple assignment of property instead of delete + defineProperty
924
- options.sham - add a flag to not completely full polyfills
925
- options.enumerable - export as enumerable property
926
- options.noTargetGet - prevent calling a getter on target
927
- options.name - the .name of the function if it does not match the key
970
+ options.target - name of the target object
971
+ options.global - target is the global object
972
+ options.stat - export as static methods of target
973
+ options.proto - export as prototype methods of target
974
+ options.real - real prototype method for the `pure` version
975
+ options.forced - export even if the native feature is available
976
+ options.bind - bind methods to the target, required for the `pure` version
977
+ options.wrap - wrap constructors to preventing global pollution, required for the `pure` version
978
+ options.unsafe - use the simple assignment of property instead of delete + defineProperty
979
+ options.sham - add a flag to not completely full polyfills
980
+ options.enumerable - export as enumerable property
981
+ options.dontCallGetSet - prevent calling a getter on target
982
+ options.name - the .name of the function if it does not match the key
928
983
  */
929
984
  var _export = function (options, source) {
930
985
  var TARGET = options.target;
@@ -932,15 +987,15 @@
932
987
  var STATIC = options.stat;
933
988
  var FORCED, target, key, targetProperty, sourceProperty, descriptor;
934
989
  if (GLOBAL) {
935
- target = global$7;
990
+ target = global$3;
936
991
  } else if (STATIC) {
937
- target = global$7[TARGET] || setGlobal(TARGET, {});
992
+ target = global$3[TARGET] || defineGlobalProperty(TARGET, {});
938
993
  } else {
939
- target = (global$7[TARGET] || {}).prototype;
994
+ target = (global$3[TARGET] || {}).prototype;
940
995
  }
941
996
  if (target) for (key in source) {
942
997
  sourceProperty = source[key];
943
- if (options.noTargetGet) {
998
+ if (options.dontCallGetSet) {
944
999
  descriptor = getOwnPropertyDescriptor(target, key);
945
1000
  targetProperty = descriptor && descriptor.value;
946
1001
  } else targetProperty = target[key];
@@ -954,8 +1009,7 @@
954
1009
  if (options.sham || (targetProperty && targetProperty.sham)) {
955
1010
  createNonEnumerableProperty$2(sourceProperty, 'sham', true);
956
1011
  }
957
- // extend global
958
- redefine$2(target, key, sourceProperty, options);
1012
+ defineBuiltIn$2(target, key, sourceProperty, options);
959
1013
  }
960
1014
  };
961
1015
 
@@ -964,7 +1018,7 @@
964
1018
 
965
1019
  // `Object.keys` method
966
1020
  // https://tc39.es/ecma262/#sec-object.keys
967
- // eslint-disable-next-line es-x/no-object-keys -- safe
1021
+ // eslint-disable-next-line es/no-object-keys -- safe
968
1022
  var objectKeys$2 = Object.keys || function keys(O) {
969
1023
  return internalObjectKeys(O, enumBugKeys$1);
970
1024
  };
@@ -972,27 +1026,27 @@
972
1026
  var DESCRIPTORS$3 = descriptors;
973
1027
  var uncurryThis$2 = functionUncurryThis;
974
1028
  var call$1 = functionCall;
975
- var fails$2 = fails$a;
1029
+ var fails$2 = fails$b;
976
1030
  var objectKeys$1 = objectKeys$2;
977
1031
  var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
978
1032
  var propertyIsEnumerableModule = objectPropertyIsEnumerable;
979
1033
  var toObject$1 = toObject$3;
980
1034
  var IndexedObject = indexedObject;
981
1035
 
982
- // eslint-disable-next-line es-x/no-object-assign -- safe
1036
+ // eslint-disable-next-line es/no-object-assign -- safe
983
1037
  var $assign = Object.assign;
984
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
985
- var defineProperty$3 = Object.defineProperty;
1038
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
1039
+ var defineProperty$4 = Object.defineProperty;
986
1040
  var concat = uncurryThis$2([].concat);
987
1041
 
988
1042
  // `Object.assign` method
989
1043
  // https://tc39.es/ecma262/#sec-object.assign
990
1044
  var objectAssign = !$assign || fails$2(function () {
991
1045
  // should have correct order of operations (Edge bug)
992
- if (DESCRIPTORS$3 && $assign({ b: 1 }, $assign(defineProperty$3({}, 'a', {
1046
+ if (DESCRIPTORS$3 && $assign({ b: 1 }, $assign(defineProperty$4({}, 'a', {
993
1047
  enumerable: true,
994
1048
  get: function () {
995
- defineProperty$3(this, 'b', {
1049
+ defineProperty$4(this, 'b', {
996
1050
  value: 3,
997
1051
  enumerable: false
998
1052
  });
@@ -1001,7 +1055,7 @@
1001
1055
  // should work with symbols and should have deterministic property order (V8 bug)
1002
1056
  var A = {};
1003
1057
  var B = {};
1004
- // eslint-disable-next-line es-x/no-symbol -- safe
1058
+ // eslint-disable-next-line es/no-symbol -- safe
1005
1059
  var symbol = Symbol();
1006
1060
  var alphabet = 'abcdefghijklmnopqrst';
1007
1061
  A[symbol] = 7;
@@ -1031,8 +1085,8 @@
1031
1085
 
1032
1086
  // `Object.assign` method
1033
1087
  // https://tc39.es/ecma262/#sec-object.assign
1034
- // eslint-disable-next-line es-x/no-object-assign -- required for testing
1035
- $$2({ target: 'Object', stat: true, forced: Object.assign !== assign }, {
1088
+ // eslint-disable-next-line es/no-object-assign -- required for testing
1089
+ $$2({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
1036
1090
  assign: assign
1037
1091
  });
1038
1092
 
@@ -1104,7 +1158,6 @@
1104
1158
  const handleClose = event => {
1105
1159
  if (onClose) onClose(event);
1106
1160
  };
1107
-
1108
1161
  return jsxRuntime.jsxs("div", Object.assign({
1109
1162
  className: "header"
1110
1163
  }, {
@@ -1122,7 +1175,6 @@
1122
1175
  }))]
1123
1176
  }));
1124
1177
  };
1125
-
1126
1178
  const ModalBody = ({
1127
1179
  children
1128
1180
  }) => {
@@ -1132,7 +1184,6 @@
1132
1184
  children: children
1133
1185
  }));
1134
1186
  };
1135
-
1136
1187
  const ModalFooter = ({
1137
1188
  confirm,
1138
1189
  dismiss,
@@ -1144,12 +1195,10 @@
1144
1195
  if (onConfirm) onConfirm(event);
1145
1196
  if (onClose) onClose(event);
1146
1197
  };
1147
-
1148
1198
  const handleDismiss = event => {
1149
1199
  if (onDismiss) onDismiss(event);
1150
1200
  if (onClose) onClose(event);
1151
1201
  };
1152
-
1153
1202
  return jsxRuntime.jsxs("div", Object.assign({
1154
1203
  className: "footer"
1155
1204
  }, {
@@ -1166,14 +1215,12 @@
1166
1215
  }))]
1167
1216
  }));
1168
1217
  };
1169
-
1170
1218
  const Modal = _a => {
1171
1219
  var {
1172
- type = 'default',
1173
- isOpen
1174
- } = _a,
1175
- props = __rest(_a, ["type", "isOpen"]);
1176
-
1220
+ type = 'default',
1221
+ isOpen
1222
+ } = _a,
1223
+ props = __rest(_a, ["type", "isOpen"]);
1177
1224
  const modalContent = () => {
1178
1225
  switch (type) {
1179
1226
  case 'slideout':
@@ -1184,7 +1231,6 @@
1184
1231
  children: [jsxRuntime.jsx(ModalHeader, Object.assign({}, props)), jsxRuntime.jsx(ModalBody, Object.assign({}, props)), jsxRuntime.jsx(ModalFooter, Object.assign({}, props))]
1185
1232
  }));
1186
1233
  }
1187
-
1188
1234
  case 'takeover':
1189
1235
  {
1190
1236
  return jsxRuntime.jsxs("main", Object.assign({
@@ -1193,7 +1239,6 @@
1193
1239
  children: [jsxRuntime.jsx(ModalHeader, Object.assign({}, props)), jsxRuntime.jsx(ModalBody, Object.assign({}, props)), jsxRuntime.jsx(ModalFooter, Object.assign({}, props))]
1194
1240
  }));
1195
1241
  }
1196
-
1197
1242
  default:
1198
1243
  {
1199
1244
  return jsxRuntime.jsxs("section", Object.assign({
@@ -1204,7 +1249,6 @@
1204
1249
  }
1205
1250
  }
1206
1251
  };
1207
-
1208
1252
  return isOpen ? modalContent() : null;
1209
1253
  };
1210
1254
 
@@ -1212,14 +1256,14 @@
1212
1256
 
1213
1257
  var DESCRIPTORS$2 = descriptors;
1214
1258
  var V8_PROTOTYPE_DEFINE_BUG = v8PrototypeDefineBug;
1215
- var definePropertyModule$1 = objectDefineProperty;
1259
+ var definePropertyModule = objectDefineProperty;
1216
1260
  var anObject$2 = anObject$5;
1217
1261
  var toIndexedObject$1 = toIndexedObject$5;
1218
1262
  var objectKeys = objectKeys$2;
1219
1263
 
1220
1264
  // `Object.defineProperties` method
1221
1265
  // https://tc39.es/ecma262/#sec-object.defineproperties
1222
- // eslint-disable-next-line es-x/no-object-defineproperties -- safe
1266
+ // eslint-disable-next-line es/no-object-defineproperties -- safe
1223
1267
  objectDefineProperties.f = DESCRIPTORS$2 && !V8_PROTOTYPE_DEFINE_BUG ? Object.defineProperties : function defineProperties(O, Properties) {
1224
1268
  anObject$2(O);
1225
1269
  var props = toIndexedObject$1(Properties);
@@ -1227,11 +1271,11 @@
1227
1271
  var length = keys.length;
1228
1272
  var index = 0;
1229
1273
  var key;
1230
- while (length > index) definePropertyModule$1.f(O, key = keys[index++], props[key]);
1274
+ while (length > index) definePropertyModule.f(O, key = keys[index++], props[key]);
1231
1275
  return O;
1232
1276
  };
1233
1277
 
1234
- var getBuiltIn = getBuiltIn$4;
1278
+ var getBuiltIn = getBuiltIn$3;
1235
1279
 
1236
1280
  var html$1 = getBuiltIn('document', 'documentElement');
1237
1281
 
@@ -1307,7 +1351,7 @@
1307
1351
 
1308
1352
  // `Object.create` method
1309
1353
  // https://tc39.es/ecma262/#sec-object.create
1310
- // eslint-disable-next-line es-x/no-object-create -- safe
1354
+ // eslint-disable-next-line es/no-object-create -- safe
1311
1355
  var objectCreate = Object.create || function create(O, Properties) {
1312
1356
  var result;
1313
1357
  if (O !== null) {
@@ -1322,7 +1366,7 @@
1322
1366
 
1323
1367
  var wellKnownSymbol$6 = wellKnownSymbol$8;
1324
1368
  var create$1 = objectCreate;
1325
- var definePropertyModule = objectDefineProperty;
1369
+ var defineProperty$3 = objectDefineProperty.f;
1326
1370
 
1327
1371
  var UNSCOPABLES = wellKnownSymbol$6('unscopables');
1328
1372
  var ArrayPrototype = Array.prototype;
@@ -1330,7 +1374,7 @@
1330
1374
  // Array.prototype[@@unscopables]
1331
1375
  // https://tc39.es/ecma262/#sec-array.prototype-@@unscopables
1332
1376
  if (ArrayPrototype[UNSCOPABLES] == undefined) {
1333
- definePropertyModule.f(ArrayPrototype, UNSCOPABLES, {
1377
+ defineProperty$3(ArrayPrototype, UNSCOPABLES, {
1334
1378
  configurable: true,
1335
1379
  value: create$1(null)
1336
1380
  });
@@ -1343,41 +1387,42 @@
1343
1387
 
1344
1388
  var iterators = {};
1345
1389
 
1346
- var fails$1 = fails$a;
1390
+ var fails$1 = fails$b;
1347
1391
 
1348
1392
  var correctPrototypeGetter = !fails$1(function () {
1349
1393
  function F() { /* empty */ }
1350
1394
  F.prototype.constructor = null;
1351
- // eslint-disable-next-line es-x/no-object-getprototypeof -- required for testing
1395
+ // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
1352
1396
  return Object.getPrototypeOf(new F()) !== F.prototype;
1353
1397
  });
1354
1398
 
1355
- var global$6 = global$r;
1356
1399
  var hasOwn$2 = hasOwnProperty_1;
1357
- var isCallable$5 = isCallable$f;
1400
+ var isCallable$5 = isCallable$g;
1358
1401
  var toObject = toObject$3;
1359
1402
  var sharedKey = sharedKey$3;
1360
1403
  var CORRECT_PROTOTYPE_GETTER = correctPrototypeGetter;
1361
1404
 
1362
1405
  var IE_PROTO = sharedKey('IE_PROTO');
1363
- var Object$2 = global$6.Object;
1364
- var ObjectPrototype = Object$2.prototype;
1406
+ var $Object$1 = Object;
1407
+ var ObjectPrototype = $Object$1.prototype;
1365
1408
 
1366
1409
  // `Object.getPrototypeOf` method
1367
1410
  // https://tc39.es/ecma262/#sec-object.getprototypeof
1368
- var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? Object$2.getPrototypeOf : function (O) {
1411
+ // eslint-disable-next-line es/no-object-getprototypeof -- safe
1412
+ var objectGetPrototypeOf = CORRECT_PROTOTYPE_GETTER ? $Object$1.getPrototypeOf : function (O) {
1369
1413
  var object = toObject(O);
1370
1414
  if (hasOwn$2(object, IE_PROTO)) return object[IE_PROTO];
1371
1415
  var constructor = object.constructor;
1372
1416
  if (isCallable$5(constructor) && object instanceof constructor) {
1373
1417
  return constructor.prototype;
1374
- } return object instanceof Object$2 ? ObjectPrototype : null;
1418
+ } return object instanceof $Object$1 ? ObjectPrototype : null;
1375
1419
  };
1376
1420
 
1377
- var fails = fails$a;
1378
- var isCallable$4 = isCallable$f;
1421
+ var fails = fails$b;
1422
+ var isCallable$4 = isCallable$g;
1423
+ var isObject = isObject$6;
1379
1424
  var getPrototypeOf$1 = objectGetPrototypeOf;
1380
- var redefine$1 = redefine$3.exports;
1425
+ var defineBuiltIn$1 = defineBuiltIn$3;
1381
1426
  var wellKnownSymbol$5 = wellKnownSymbol$8;
1382
1427
 
1383
1428
  var ITERATOR$2 = wellKnownSymbol$5('iterator');
@@ -1387,7 +1432,7 @@
1387
1432
  // https://tc39.es/ecma262/#sec-%iteratorprototype%-object
1388
1433
  var IteratorPrototype$2, PrototypeOfArrayIteratorPrototype, arrayIterator;
1389
1434
 
1390
- /* eslint-disable es-x/no-array-prototype-keys -- safe */
1435
+ /* eslint-disable es/no-array-prototype-keys -- safe */
1391
1436
  if ([].keys) {
1392
1437
  arrayIterator = [].keys();
1393
1438
  // Safari 8 has buggy iterators w/o `next`
@@ -1398,7 +1443,7 @@
1398
1443
  }
1399
1444
  }
1400
1445
 
1401
- var NEW_ITERATOR_PROTOTYPE = IteratorPrototype$2 == undefined || fails(function () {
1446
+ var NEW_ITERATOR_PROTOTYPE = !isObject(IteratorPrototype$2) || fails(function () {
1402
1447
  var test = {};
1403
1448
  // FF44- legacy iterators case
1404
1449
  return IteratorPrototype$2[ITERATOR$2].call(test) !== test;
@@ -1409,7 +1454,7 @@
1409
1454
  // `%IteratorPrototype%[@@iterator]()` method
1410
1455
  // https://tc39.es/ecma262/#sec-%iteratorprototype%-@@iterator
1411
1456
  if (!isCallable$4(IteratorPrototype$2[ITERATOR$2])) {
1412
- redefine$1(IteratorPrototype$2, ITERATOR$2, function () {
1457
+ defineBuiltIn$1(IteratorPrototype$2, ITERATOR$2, function () {
1413
1458
  return this;
1414
1459
  });
1415
1460
  }
@@ -1440,7 +1485,7 @@
1440
1485
 
1441
1486
  var returnThis$1 = function () { return this; };
1442
1487
 
1443
- var createIteratorConstructor$1 = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
1488
+ var iteratorCreateConstructor = function (IteratorConstructor, NAME, next, ENUMERABLE_NEXT) {
1444
1489
  var TO_STRING_TAG = NAME + ' Iterator';
1445
1490
  IteratorConstructor.prototype = create(IteratorPrototype$1, { next: createPropertyDescriptor(+!ENUMERABLE_NEXT, next) });
1446
1491
  setToStringTag$1(IteratorConstructor, TO_STRING_TAG, false);
@@ -1448,34 +1493,42 @@
1448
1493
  return IteratorConstructor;
1449
1494
  };
1450
1495
 
1451
- var global$5 = global$r;
1452
- var isCallable$3 = isCallable$f;
1496
+ var uncurryThis$1 = functionUncurryThis;
1497
+ var aCallable = aCallable$2;
1498
+
1499
+ var functionUncurryThisAccessor = function (object, key, method) {
1500
+ try {
1501
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
1502
+ return uncurryThis$1(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
1503
+ } catch (error) { /* empty */ }
1504
+ };
1453
1505
 
1454
- var String$2 = global$5.String;
1455
- var TypeError$1 = global$5.TypeError;
1506
+ var isCallable$3 = isCallable$g;
1507
+
1508
+ var $String$1 = String;
1509
+ var $TypeError = TypeError;
1456
1510
 
1457
1511
  var aPossiblePrototype$1 = function (argument) {
1458
1512
  if (typeof argument == 'object' || isCallable$3(argument)) return argument;
1459
- throw TypeError$1("Can't set " + String$2(argument) + ' as a prototype');
1513
+ throw $TypeError("Can't set " + $String$1(argument) + ' as a prototype');
1460
1514
  };
1461
1515
 
1462
1516
  /* eslint-disable no-proto -- safe */
1463
1517
 
1464
- var uncurryThis$1 = functionUncurryThis;
1518
+ var uncurryThisAccessor = functionUncurryThisAccessor;
1465
1519
  var anObject = anObject$5;
1466
1520
  var aPossiblePrototype = aPossiblePrototype$1;
1467
1521
 
1468
1522
  // `Object.setPrototypeOf` method
1469
1523
  // https://tc39.es/ecma262/#sec-object.setprototypeof
1470
1524
  // Works with __proto__ only. Old v8 can't work with null proto objects.
1471
- // eslint-disable-next-line es-x/no-object-setprototypeof -- safe
1525
+ // eslint-disable-next-line es/no-object-setprototypeof -- safe
1472
1526
  var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
1473
1527
  var CORRECT_SETTER = false;
1474
1528
  var test = {};
1475
1529
  var setter;
1476
1530
  try {
1477
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
1478
- setter = uncurryThis$1(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
1531
+ setter = uncurryThisAccessor(Object.prototype, '__proto__', 'set');
1479
1532
  setter(test, []);
1480
1533
  CORRECT_SETTER = test instanceof Array;
1481
1534
  } catch (error) { /* empty */ }
@@ -1491,13 +1544,13 @@
1491
1544
  var $$1 = _export;
1492
1545
  var call = functionCall;
1493
1546
  var FunctionName = functionName;
1494
- var isCallable$2 = isCallable$f;
1495
- var createIteratorConstructor = createIteratorConstructor$1;
1547
+ var isCallable$2 = isCallable$g;
1548
+ var createIteratorConstructor = iteratorCreateConstructor;
1496
1549
  var getPrototypeOf = objectGetPrototypeOf;
1497
1550
  var setPrototypeOf = objectSetPrototypeOf;
1498
1551
  var setToStringTag = setToStringTag$2;
1499
- var createNonEnumerableProperty$1 = createNonEnumerableProperty$5;
1500
- var redefine = redefine$3.exports;
1552
+ var createNonEnumerableProperty$1 = createNonEnumerableProperty$4;
1553
+ var defineBuiltIn = defineBuiltIn$3;
1501
1554
  var wellKnownSymbol$3 = wellKnownSymbol$8;
1502
1555
  var Iterators$1 = iterators;
1503
1556
  var IteratorsCore = iteratorsCore;
@@ -1513,7 +1566,7 @@
1513
1566
 
1514
1567
  var returnThis = function () { return this; };
1515
1568
 
1516
- var defineIterator$1 = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
1569
+ var iteratorDefine = function (Iterable, NAME, IteratorConstructor, next, DEFAULT, IS_SET, FORCED) {
1517
1570
  createIteratorConstructor(IteratorConstructor, NAME, next);
1518
1571
 
1519
1572
  var getIterationMethod = function (KIND) {
@@ -1544,7 +1597,7 @@
1544
1597
  if (setPrototypeOf) {
1545
1598
  setPrototypeOf(CurrentIteratorPrototype, IteratorPrototype);
1546
1599
  } else if (!isCallable$2(CurrentIteratorPrototype[ITERATOR$1])) {
1547
- redefine(CurrentIteratorPrototype, ITERATOR$1, returnThis);
1600
+ defineBuiltIn(CurrentIteratorPrototype, ITERATOR$1, returnThis);
1548
1601
  }
1549
1602
  }
1550
1603
  // Set @@toStringTag to native iterators
@@ -1571,26 +1624,33 @@
1571
1624
  };
1572
1625
  if (FORCED) for (KEY in methods) {
1573
1626
  if (BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME || !(KEY in IterablePrototype)) {
1574
- redefine(IterablePrototype, KEY, methods[KEY]);
1627
+ defineBuiltIn(IterablePrototype, KEY, methods[KEY]);
1575
1628
  }
1576
1629
  } else $$1({ target: NAME, proto: true, forced: BUGGY_SAFARI_ITERATORS || INCORRECT_VALUES_NAME }, methods);
1577
1630
  }
1578
1631
 
1579
1632
  // define iterator
1580
1633
  if (IterablePrototype[ITERATOR$1] !== defaultIterator) {
1581
- redefine(IterablePrototype, ITERATOR$1, defaultIterator, { name: DEFAULT });
1634
+ defineBuiltIn(IterablePrototype, ITERATOR$1, defaultIterator, { name: DEFAULT });
1582
1635
  }
1583
1636
  Iterators$1[NAME] = defaultIterator;
1584
1637
 
1585
1638
  return methods;
1586
1639
  };
1587
1640
 
1641
+ // `CreateIterResultObject` abstract operation
1642
+ // https://tc39.es/ecma262/#sec-createiterresultobject
1643
+ var createIterResultObject$1 = function (value, done) {
1644
+ return { value: value, done: done };
1645
+ };
1646
+
1588
1647
  var toIndexedObject = toIndexedObject$5;
1589
1648
  var addToUnscopables = addToUnscopables$1;
1590
1649
  var Iterators = iterators;
1591
1650
  var InternalStateModule = internalState;
1592
1651
  var defineProperty$1 = objectDefineProperty.f;
1593
- var defineIterator = defineIterator$1;
1652
+ var defineIterator = iteratorDefine;
1653
+ var createIterResultObject = createIterResultObject$1;
1594
1654
  var DESCRIPTORS$1 = descriptors;
1595
1655
 
1596
1656
  var ARRAY_ITERATOR = 'Array Iterator';
@@ -1623,11 +1683,11 @@
1623
1683
  var index = state.index++;
1624
1684
  if (!target || index >= target.length) {
1625
1685
  state.target = undefined;
1626
- return { value: undefined, done: true };
1686
+ return createIterResultObject(undefined, true);
1627
1687
  }
1628
- if (kind == 'keys') return { value: index, done: false };
1629
- if (kind == 'values') return { value: target[index], done: false };
1630
- return { value: [index, target[index]], done: false };
1688
+ if (kind == 'keys') return createIterResultObject(index, false);
1689
+ if (kind == 'values') return createIterResultObject(target[index], false);
1690
+ return createIterResultObject([index, target[index]], false);
1631
1691
  }, 'values');
1632
1692
 
1633
1693
  // argumentsList[@@iterator] is %ArrayProto_values%
@@ -1689,11 +1749,11 @@
1689
1749
 
1690
1750
  var domTokenListPrototype = DOMTokenListPrototype$1 === Object.prototype ? undefined : DOMTokenListPrototype$1;
1691
1751
 
1692
- var global$4 = global$r;
1752
+ var global$2 = global$c;
1693
1753
  var DOMIterables = domIterables;
1694
1754
  var DOMTokenListPrototype = domTokenListPrototype;
1695
1755
  var ArrayIteratorMethods = es_array_iterator;
1696
- var createNonEnumerableProperty = createNonEnumerableProperty$5;
1756
+ var createNonEnumerableProperty = createNonEnumerableProperty$4;
1697
1757
  var wellKnownSymbol$2 = wellKnownSymbol$8;
1698
1758
 
1699
1759
  var ITERATOR = wellKnownSymbol$2('iterator');
@@ -1723,32 +1783,31 @@
1723
1783
  };
1724
1784
 
1725
1785
  for (var COLLECTION_NAME in DOMIterables) {
1726
- handlePrototype(global$4[COLLECTION_NAME] && global$4[COLLECTION_NAME].prototype, COLLECTION_NAME);
1786
+ handlePrototype(global$2[COLLECTION_NAME] && global$2[COLLECTION_NAME].prototype, COLLECTION_NAME);
1727
1787
  }
1728
1788
 
1729
1789
  handlePrototype(DOMTokenListPrototype, 'DOMTokenList');
1730
1790
 
1731
1791
  const Flexbox = _a => {
1732
1792
  var {
1733
- alignContent,
1734
- alignItems,
1735
- alignSelf,
1736
- children,
1737
- justifyContent,
1738
- flexDirection,
1739
- flexWrap,
1740
- className
1741
- } = _a,
1742
- props = __rest(_a, ["alignContent", "alignItems", "alignSelf", "children", "justifyContent", "flexDirection", "flexWrap", "className"]);
1743
-
1793
+ alignContent,
1794
+ alignItems,
1795
+ alignSelf,
1796
+ children,
1797
+ justifyContent,
1798
+ flexDirection,
1799
+ flexWrap,
1800
+ className
1801
+ } = _a,
1802
+ props = __rest(_a, ["alignContent", "alignItems", "alignSelf", "children", "justifyContent", "flexDirection", "flexWrap", "className"]);
1744
1803
  const [classes, setClasses] = React.useState(['d-flex']);
1745
- const [flexClassName, setFlexClassName] = React.useState('d-flex'); // // update className when classes change
1746
-
1804
+ const [flexClassName, setFlexClassName] = React.useState('d-flex');
1805
+ // // update className when classes change
1747
1806
  React.useLayoutEffect(() => {
1748
1807
  const newClassName = classes.join(' ');
1749
1808
  if (newClassName !== flexClassName) setFlexClassName(newClassName);
1750
- }, [classes, flexClassName]); // // update classes when props change
1751
-
1809
+ }, [classes, flexClassName]);
1810
+ // // update classes when props change
1752
1811
  React.useLayoutEffect(() => {
1753
1812
  const newClasses = ['d-flex'];
1754
1813
  alignItems && newClasses.push(`align-items-${alignItems}`);
@@ -1834,11 +1893,10 @@
1834
1893
 
1835
1894
  const SquareExclamation = _a => {
1836
1895
  var {
1837
- focusable = false,
1838
- title
1839
- } = _a,
1840
- props = __rest(_a, ["focusable", "title"]);
1841
-
1896
+ focusable = false,
1897
+ title
1898
+ } = _a,
1899
+ props = __rest(_a, ["focusable", "title"]);
1842
1900
  let id;
1843
1901
  if (title) id = extract.randomId();
1844
1902
  return jsxRuntime.jsxs("svg", Object.assign({
@@ -1864,11 +1922,10 @@
1864
1922
 
1865
1923
  const SquareInfo = _a => {
1866
1924
  var {
1867
- focusable = false,
1868
- title
1869
- } = _a,
1870
- props = __rest(_a, ["focusable", "title"]);
1871
-
1925
+ focusable = false,
1926
+ title
1927
+ } = _a,
1928
+ props = __rest(_a, ["focusable", "title"]);
1872
1929
  let id;
1873
1930
  if (title) id = extract.randomId();
1874
1931
  return jsxRuntime.jsx("svg", Object.assign({
@@ -1910,11 +1967,10 @@
1910
1967
 
1911
1968
  const InfoCircle = _a => {
1912
1969
  var {
1913
- focusable = false,
1914
- title
1915
- } = _a,
1916
- props = __rest(_a, ["focusable", "title"]);
1917
-
1970
+ focusable = false,
1971
+ title
1972
+ } = _a,
1973
+ props = __rest(_a, ["focusable", "title"]);
1918
1974
  let id;
1919
1975
  if (title) id = extract.randomId();
1920
1976
  return jsxRuntime.jsxs("svg", Object.assign({
@@ -1970,7 +2026,6 @@
1970
2026
  })));
1971
2027
  }
1972
2028
  }, [isCloseable, closeText]);
1973
-
1974
2029
  const renderIcon = () => {
1975
2030
  switch (type) {
1976
2031
  case 'danger':
@@ -1978,19 +2033,16 @@
1978
2033
  return jsxRuntime.jsx(SquareExclamation, {
1979
2034
  "aria-hidden": true
1980
2035
  });
1981
-
1982
2036
  case 'success':
1983
2037
  return jsxRuntime.jsx(Check, {
1984
2038
  "aria-hidden": true
1985
2039
  });
1986
-
1987
2040
  default:
1988
2041
  return jsxRuntime.jsx(SquareInfo, {
1989
2042
  "aria-hidden": true
1990
2043
  });
1991
2044
  }
1992
2045
  };
1993
-
1994
2046
  return jsxRuntime.jsxs("div", Object.assign({
1995
2047
  className: `alert-ribbon ${type}`,
1996
2048
  role: role,
@@ -2029,11 +2081,10 @@
2029
2081
 
2030
2082
  const IconButton = _a => {
2031
2083
  var {
2032
- children,
2033
- onClick
2034
- } = _a,
2035
- props = __rest(_a, ["children", "onClick"]);
2036
-
2084
+ children,
2085
+ onClick
2086
+ } = _a,
2087
+ props = __rest(_a, ["children", "onClick"]);
2037
2088
  return jsxRuntime.jsx("button", Object.assign({
2038
2089
  className: "icon",
2039
2090
  onClick: onClick,
@@ -2078,21 +2129,16 @@
2078
2129
  errorMessage ? setErrorInsert(setError, target.name) : setErrorRemove(setError, target.name);
2079
2130
  return errorMessage;
2080
2131
  };
2081
-
2082
2132
  const validateInputValueErrors = (rules, target) => {
2083
2133
  const {
2084
2134
  value
2085
2135
  } = target;
2086
-
2087
2136
  if ((rules === null || rules === void 0 ? void 0 : rules.custom) instanceof Function) {
2088
2137
  return rules === null || rules === void 0 ? void 0 : rules.custom();
2089
2138
  }
2090
-
2091
2139
  return validateTextInputValues(value, rules);
2092
2140
  };
2093
2141
  /* eslint-disable-next-line */
2094
-
2095
-
2096
2142
  const setErrorInsert = (setError, name) => {
2097
2143
  /* eslint-disable-next-line */
2098
2144
  setError(errors => {
@@ -2102,8 +2148,6 @@
2102
2148
  });
2103
2149
  };
2104
2150
  /* eslint-disable-next-line */
2105
-
2106
-
2107
2151
  const setErrorRemove = (setError, name) => {
2108
2152
  /* eslint-disable-next-line */
2109
2153
  setError(errors => {
@@ -2113,14 +2157,12 @@
2113
2157
  return newError;
2114
2158
  });
2115
2159
  };
2116
-
2117
2160
  const validateTextInputValues = (value, rules) => {
2118
2161
  switch (rules === null || rules === void 0 ? void 0 : rules.type) {
2119
2162
  case 'Required':
2120
2163
  {
2121
2164
  return value === '' || value === undefined || value === null ? 'error' : null;
2122
2165
  }
2123
-
2124
2166
  default:
2125
2167
  {
2126
2168
  return;
@@ -2134,24 +2176,19 @@
2134
2176
  };
2135
2177
  const FormProvider = _a => {
2136
2178
  var {
2137
- children,
2138
- direction = 'vertical',
2139
- formSize = 'md',
2140
- onSubmit,
2141
- onFormSubmit
2142
- } = _a,
2143
- props = __rest(_a, ["children", "direction", "formSize", "onSubmit", "onFormSubmit"]);
2179
+ children,
2180
+ direction = 'vertical',
2181
+ formSize = 'md',
2182
+ onSubmit,
2183
+ onFormSubmit
2184
+ } = _a,
2185
+ props = __rest(_a, ["children", "direction", "formSize", "onSubmit", "onFormSubmit"]);
2144
2186
  /* eslint-disable-next-line */
2145
-
2146
-
2147
2187
  const [values, setValues] = React__default["default"].useState();
2148
2188
  /* eslint-disable-next-line */
2149
-
2150
2189
  const [errors, setErrors] = React__default["default"].useState();
2151
2190
  /* eslint-disable-next-line */
2152
-
2153
2191
  const [fields, setFields] = React__default["default"].useState({});
2154
-
2155
2192
  const formSubmit = event => {
2156
2193
  let hasError = false;
2157
2194
  event.preventDefault();
@@ -2162,17 +2199,14 @@
2162
2199
  }, fields[key], setErrors);
2163
2200
  hasError = hasError || !!errorMessage;
2164
2201
  });
2165
-
2166
2202
  if (!hasError) {
2167
2203
  onFormSubmit && onFormSubmit(values);
2168
2204
  }
2169
2205
  };
2170
-
2171
2206
  const resetForm = () => {
2172
2207
  setValues({});
2173
2208
  setErrors({});
2174
2209
  };
2175
-
2176
2210
  return jsxRuntime.jsx(FormContext.Provider, Object.assign({
2177
2211
  value: {
2178
2212
  setValues,
@@ -2214,26 +2248,22 @@
2214
2248
  [name]: validate === null || validate === void 0 ? void 0 : validate.rules
2215
2249
  }));
2216
2250
  /* eslint-disable-next-line */
2217
-
2218
2251
  const removeValues = values => {
2219
2252
  /* eslint-disable-next-line */
2220
2253
  const newValues = Object.assign({}, values);
2221
2254
  delete newValues[name];
2222
2255
  return newValues;
2223
2256
  };
2224
-
2225
2257
  return () => {
2226
2258
  /* eslint-disable-next-line */
2227
2259
  setFields(fields => removeValues(fields));
2228
2260
  /* eslint-disable-next-line */
2229
-
2230
2261
  setValues(values => removeValues(values));
2231
2262
  /* eslint-disable-next-line */
2232
-
2233
2263
  setErrors(errors => removeValues(errors));
2234
- }; // eslint-disable-next-line react-hooks/exhaustive-deps
2264
+ };
2265
+ // eslint-disable-next-line react-hooks/exhaustive-deps
2235
2266
  }, []);
2236
-
2237
2267
  const onChange = event => {
2238
2268
  if (!event.target) return;
2239
2269
  const {
@@ -2243,11 +2273,9 @@
2243
2273
  checked
2244
2274
  } = event.target;
2245
2275
  let inputValue;
2246
-
2247
2276
  if (type === 'checkbox') {
2248
2277
  inputValue = checked ? value : null;
2249
2278
  /* eslint-disable-next-line */
2250
-
2251
2279
  checked ? setValues(values => Object.assign(Object.assign({}, values), {
2252
2280
  [name]: value
2253
2281
  })) : setValues(values => Object.assign(Object.assign({}, values), {
@@ -2256,12 +2284,10 @@
2256
2284
  } else {
2257
2285
  inputValue = value;
2258
2286
  /* eslint-disable-next-line */
2259
-
2260
2287
  setValues(values => Object.assign(Object.assign({}, values), {
2261
2288
  [name]: value
2262
2289
  }));
2263
2290
  }
2264
-
2265
2291
  validateInputValue({
2266
2292
  value: inputValue,
2267
2293
  name,
@@ -2270,8 +2296,6 @@
2270
2296
  }, validate === null || validate === void 0 ? void 0 : validate.rules, setErrors);
2271
2297
  };
2272
2298
  /* eslint-disable-next-line */
2273
-
2274
-
2275
2299
  return /*#__PURE__*/React__default["default"].cloneElement(children, {
2276
2300
  validator: (errors === null || errors === void 0 ? void 0 : errors[name]) && validate,
2277
2301
  name,
@@ -2324,18 +2348,17 @@
2324
2348
  const handleResize = extract.debounce(function setExpandableHeightAfterResize() {
2325
2349
  isExpanded && expandableInnerRef.current && setExpandableHeight(expandableInnerRef.current['clientHeight']);
2326
2350
  }, 300);
2327
-
2328
2351
  if (expandableRef.current) {
2329
2352
  window.addEventListener('resize', handleResize);
2330
2353
  }
2331
-
2332
2354
  return () => {
2333
2355
  window.removeEventListener('resize', handleResize);
2334
2356
  };
2335
2357
  }, [isExpanded, expandableInnerRef]);
2336
2358
  if (!inputId) inputId = extract.randomId();
2359
+ const formItemClassNames = classNames__default["default"]('gds-form-item', validator && extract.validateClassName(validator === null || validator === void 0 ? void 0 : validator.indicator));
2337
2360
  return jsxRuntime.jsxs("div", Object.assign({
2338
- className: `gds-form-item ${validator && extract.validateClassName(validator === null || validator === void 0 ? void 0 : validator.indicator)}`,
2361
+ className: formItemClassNames,
2339
2362
  role: role ? role : undefined,
2340
2363
  "aria-labelledby": role ? `${inputId}-label` : undefined
2341
2364
  }, {
@@ -2417,7 +2440,6 @@
2417
2440
  setValue(props.value ? props.value : '');
2418
2441
  setChecked(props.checked ? props.checked : false);
2419
2442
  };
2420
-
2421
2443
  const form = ref.current.form;
2422
2444
  form.addEventListener('reset', resetListener);
2423
2445
  return () => form.removeEventListener('reset', resetListener);
@@ -2426,14 +2448,12 @@
2426
2448
  return () => {};
2427
2449
  }
2428
2450
  }, [props]);
2429
-
2430
2451
  const onChange = event => {
2431
2452
  setValue(event.target.value);
2432
2453
  setChecked(event.currentTarget.checked);
2433
2454
  onChanges && onChanges(event);
2434
2455
  onChangeInput && onChangeInput(event.target.value);
2435
2456
  };
2436
-
2437
2457
  return Object.assign(Object.assign({}, props), {
2438
2458
  id,
2439
2459
  ref,
@@ -2445,15 +2465,14 @@
2445
2465
 
2446
2466
  const RenderInput = (type, props, onChange, onChangeInput, label, info, validator, expandableInfo, expandableInfoButtonLabel) => {
2447
2467
  const _a = useInput(props, onChange, onChangeInput),
2448
- {
2449
- value
2450
- } = _a,
2451
- inputProps = __rest(_a, ["value"]);
2452
-
2468
+ {
2469
+ value
2470
+ } = _a,
2471
+ inputProps = __rest(_a, ["value"]);
2453
2472
  const propsWithDescription = info ? Object.assign(Object.assign({}, inputProps), {
2454
2473
  'aria-describedby': `${inputProps.id}_info`
2455
- }) : inputProps; // Render naked
2456
-
2474
+ }) : inputProps;
2475
+ // Render naked
2457
2476
  if (!label && !info && !expandableInfo) return jsxRuntime.jsx("input", Object.assign({
2458
2477
  type: type,
2459
2478
  value: value
@@ -2466,75 +2485,76 @@
2466
2485
  expandableInfoButtonLabel: expandableInfoButtonLabel,
2467
2486
  inputId: inputProps.id
2468
2487
  }, {
2469
- children: jsxRuntime.jsx("input", Object.assign({
2470
- type: type,
2471
- value: value
2472
- }, propsWithDescription, {
2473
- className: validator && extract.validateClassName(validator === null || validator === void 0 ? void 0 : validator.indicator)
2488
+ children: jsxRuntime.jsx("div", Object.assign({
2489
+ className: "gds-input-wrapper"
2490
+ }, {
2491
+ children: jsxRuntime.jsx("input", Object.assign({
2492
+ type: type,
2493
+ value: value
2494
+ }, propsWithDescription, {
2495
+ className: validator && extract.validateClassName(validator === null || validator === void 0 ? void 0 : validator.indicator)
2496
+ }))
2474
2497
  }))
2475
2498
  }));
2476
2499
  };
2477
2500
  const TextInput = _a => {
2478
2501
  var {
2479
- label,
2480
- info,
2481
- onChange,
2482
- onChangeInput,
2483
- validator,
2484
- expandableInfo,
2485
- expandableInfoButtonLabel
2486
- } = _a,
2487
- props = __rest(_a, ["label", "info", "onChange", "onChangeInput", "validator", "expandableInfo", "expandableInfoButtonLabel"]);
2488
-
2502
+ label,
2503
+ info,
2504
+ onChange,
2505
+ onChangeInput,
2506
+ validator,
2507
+ expandableInfo,
2508
+ expandableInfoButtonLabel
2509
+ } = _a,
2510
+ props = __rest(_a, ["label", "info", "onChange", "onChangeInput", "validator", "expandableInfo", "expandableInfoButtonLabel"]);
2489
2511
  return RenderInput('text', props, onChange, onChangeInput, label, info, validator, expandableInfo, expandableInfoButtonLabel);
2490
2512
  };
2491
2513
  const EmailInput = _a => {
2492
2514
  var {
2493
- label,
2494
- info,
2495
- onChange,
2496
- onChangeInput,
2497
- validator
2498
- } = _a,
2499
- props = __rest(_a, ["label", "info", "onChange", "onChangeInput", "validator"]);
2500
-
2515
+ label,
2516
+ info,
2517
+ onChange,
2518
+ onChangeInput,
2519
+ validator
2520
+ } = _a,
2521
+ props = __rest(_a, ["label", "info", "onChange", "onChangeInput", "validator"]);
2501
2522
  return RenderInput('email', props, onChange, onChangeInput, label, info, validator);
2502
2523
  };
2503
2524
  const NumberInput = _a => {
2504
2525
  var {
2505
- label,
2506
- info,
2507
- onChange,
2508
- onChangeInput,
2509
- validator,
2510
- expandableInfo,
2511
- expandableInfoButtonLabel
2512
- } = _a,
2513
- props = __rest(_a, ["label", "info", "onChange", "onChangeInput", "validator", "expandableInfo", "expandableInfoButtonLabel"]);
2514
-
2526
+ label,
2527
+ info,
2528
+ onChange,
2529
+ onChangeInput,
2530
+ validator,
2531
+ expandableInfo,
2532
+ expandableInfoButtonLabel
2533
+ } = _a,
2534
+ props = __rest(_a, ["label", "info", "onChange", "onChangeInput", "validator", "expandableInfo", "expandableInfoButtonLabel"]);
2515
2535
  return RenderInput('number', props, onChange, onChangeInput, label, info, validator, expandableInfo, expandableInfoButtonLabel);
2516
2536
  };
2517
2537
  const Checkbox = _a => {
2518
2538
  var {
2519
- label,
2520
- onChange,
2521
- validator
2522
- } = _a,
2523
- props = __rest(_a, ["label", "onChange", "validator"]);
2524
-
2539
+ label,
2540
+ onChange,
2541
+ validator
2542
+ } = _a,
2543
+ props = __rest(_a, ["label", "onChange", "validator"]);
2525
2544
  const inputProps = useInput(props, onChange);
2526
- const validatorClassName = extract.validateClassName(validator === null || validator === void 0 ? void 0 : validator.indicator);
2545
+ const labelClassNames = classNames__default["default"]('form-control', validator && extract.validateClassName(validator === null || validator === void 0 ? void 0 : validator.indicator));
2546
+ const inputClassNames = classNames__default["default"](validator && extract.validateClassName(validator === null || validator === void 0 ? void 0 : validator.indicator));
2527
2547
  return jsxRuntime.jsxs("div", Object.assign({
2528
2548
  className: "form-group"
2529
2549
  }, {
2530
2550
  children: [jsxRuntime.jsxs("label", Object.assign({
2531
2551
  htmlFor: inputProps.id,
2532
- className: `form-control ${validatorClassName}`
2552
+ className: labelClassNames
2533
2553
  }, {
2534
2554
  children: [label, jsxRuntime.jsx("input", Object.assign({
2535
2555
  type: "checkbox"
2536
2556
  }, inputProps, {
2537
- className: validatorClassName
2557
+ className: inputClassNames
2538
2558
  })), jsxRuntime.jsx("i", {})]
2539
2559
  })), validator && jsxRuntime.jsx("span", Object.assign({
2540
2560
  className: "form-info"
@@ -2545,14 +2565,14 @@
2545
2565
  };
2546
2566
  const RadioButton = /*#__PURE__*/React__default["default"].forwardRef((_a, ref) => {
2547
2567
  var {
2548
- label,
2549
- validator
2550
- } = _a,
2551
- props = __rest(_a, ["label", "validator"]);
2552
-
2568
+ label,
2569
+ validator
2570
+ } = _a,
2571
+ props = __rest(_a, ["label", "validator"]);
2553
2572
  const {
2554
2573
  id
2555
2574
  } = useInput(props);
2575
+ const inputClassNames = classNames__default["default"](validator);
2556
2576
  return jsxRuntime.jsxs("label", Object.assign({
2557
2577
  htmlFor: id,
2558
2578
  className: "form-control"
@@ -2561,7 +2581,7 @@
2561
2581
  id: id,
2562
2582
  type: "radio"
2563
2583
  }, props, {
2564
- className: validator,
2584
+ className: inputClassNames,
2565
2585
  ref: ref
2566
2586
  })), jsxRuntime.jsx("span", {
2567
2587
  children: label
@@ -2586,14 +2606,13 @@
2586
2606
 
2587
2607
  var toStringTagSupport = String(test) === '[object z]';
2588
2608
 
2589
- var global$3 = global$r;
2590
2609
  var TO_STRING_TAG_SUPPORT = toStringTagSupport;
2591
- var isCallable$1 = isCallable$f;
2610
+ var isCallable$1 = isCallable$g;
2592
2611
  var classofRaw = classofRaw$1;
2593
2612
  var wellKnownSymbol = wellKnownSymbol$8;
2594
2613
 
2595
2614
  var TO_STRING_TAG = wellKnownSymbol('toStringTag');
2596
- var Object$1 = global$3.Object;
2615
+ var $Object = Object;
2597
2616
 
2598
2617
  // ES3 wrong here
2599
2618
  var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) == 'Arguments';
@@ -2610,32 +2629,40 @@
2610
2629
  var O, tag, result;
2611
2630
  return it === undefined ? 'Undefined' : it === null ? 'Null'
2612
2631
  // @@toStringTag case
2613
- : typeof (tag = tryGet(O = Object$1(it), TO_STRING_TAG)) == 'string' ? tag
2632
+ : typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
2614
2633
  // builtinTag case
2615
2634
  : CORRECT_ARGUMENTS ? classofRaw(O)
2616
2635
  // ES3 arguments fallback
2617
2636
  : (result = classofRaw(O)) == 'Object' && isCallable$1(O.callee) ? 'Arguments' : result;
2618
2637
  };
2619
2638
 
2620
- var global$2 = global$r;
2621
2639
  var classof = classof$1;
2622
2640
 
2623
- var String$1 = global$2.String;
2641
+ var $String = String;
2624
2642
 
2625
2643
  var toString$1 = function (argument) {
2626
2644
  if (classof(argument) === 'Symbol') throw TypeError('Cannot convert a Symbol value to a string');
2627
- return String$1(argument);
2645
+ return $String(argument);
2646
+ };
2647
+
2648
+ var makeBuiltIn = makeBuiltIn$3.exports;
2649
+ var defineProperty = objectDefineProperty;
2650
+
2651
+ var defineBuiltInAccessor$1 = function (target, name, descriptor) {
2652
+ if (descriptor.get) makeBuiltIn(descriptor.get, name, { getter: true });
2653
+ if (descriptor.set) makeBuiltIn(descriptor.set, name, { setter: true });
2654
+ return defineProperty.f(target, name, descriptor);
2628
2655
  };
2629
2656
 
2630
2657
  var $ = _export;
2631
2658
  var DESCRIPTORS = descriptors;
2632
- var global$1 = global$r;
2659
+ var global$1 = global$c;
2633
2660
  var uncurryThis = functionUncurryThis;
2634
2661
  var hasOwn = hasOwnProperty_1;
2635
- var isCallable = isCallable$f;
2662
+ var isCallable = isCallable$g;
2636
2663
  var isPrototypeOf = objectIsPrototypeOf;
2637
2664
  var toString = toString$1;
2638
- var defineProperty = objectDefineProperty.f;
2665
+ var defineBuiltInAccessor = defineBuiltInAccessor$1;
2639
2666
  var copyConstructorProperties = copyConstructorProperties$2;
2640
2667
 
2641
2668
  var NativeSymbol = global$1.Symbol;
@@ -2662,24 +2689,24 @@
2662
2689
  SymbolPrototype.constructor = SymbolWrapper;
2663
2690
 
2664
2691
  var NATIVE_SYMBOL = String(NativeSymbol('test')) == 'Symbol(test)';
2665
- var symbolToString = uncurryThis(SymbolPrototype.toString);
2666
- var symbolValueOf = uncurryThis(SymbolPrototype.valueOf);
2692
+ var thisSymbolValue = uncurryThis(SymbolPrototype.valueOf);
2693
+ var symbolDescriptiveString = uncurryThis(SymbolPrototype.toString);
2667
2694
  var regexp = /^Symbol\((.*)\)[^)]+$/;
2668
2695
  var replace = uncurryThis(''.replace);
2669
2696
  var stringSlice = uncurryThis(''.slice);
2670
2697
 
2671
- defineProperty(SymbolPrototype, 'description', {
2698
+ defineBuiltInAccessor(SymbolPrototype, 'description', {
2672
2699
  configurable: true,
2673
2700
  get: function description() {
2674
- var symbol = symbolValueOf(this);
2675
- var string = symbolToString(symbol);
2701
+ var symbol = thisSymbolValue(this);
2676
2702
  if (hasOwn(EmptyStringDescriptionStore, symbol)) return '';
2703
+ var string = symbolDescriptiveString(symbol);
2677
2704
  var desc = NATIVE_SYMBOL ? stringSlice(string, 7, -1) : replace(string, regexp, '$1');
2678
2705
  return desc === '' ? undefined : desc;
2679
2706
  }
2680
2707
  });
2681
2708
 
2682
- $({ global: true, forced: true }, {
2709
+ $({ global: true, constructor: true, forced: true }, {
2683
2710
  Symbol: SymbolWrapper
2684
2711
  });
2685
2712
  }
@@ -2697,20 +2724,18 @@
2697
2724
  onChangeRadio,
2698
2725
  onChange,
2699
2726
  name,
2727
+ horizontal,
2700
2728
  children
2701
2729
  }) => {
2702
2730
  if (title) console.warn('"title" prop is deprecated. Please use "label" instead.');
2703
2731
  if (description) console.warn('"description" prop is deprecated. Please use "labelInformation" instead.');
2704
2732
  const [selected, setSelected] = React.useState(valueSelected !== null && valueSelected !== void 0 ? valueSelected : defaultSelected);
2705
2733
  const [prevValueSelected, setPrevValueSelected] = React.useState(valueSelected);
2706
-
2707
2734
  if (valueSelected !== prevValueSelected) {
2708
2735
  setSelected(valueSelected);
2709
2736
  setPrevValueSelected(valueSelected);
2710
2737
  }
2711
-
2712
- const validatorClassName = extract.validateClassName(validator === null || validator === void 0 ? void 0 : validator.indicator);
2713
-
2738
+ extract.validateClassName(validator === null || validator === void 0 ? void 0 : validator.indicator);
2714
2739
  const handleOnChange = event => {
2715
2740
  if (event.target.value !== selected) {
2716
2741
  setSelected(event.target.value);
@@ -2718,25 +2743,21 @@
2718
2743
  onChange && onChange(event);
2719
2744
  }
2720
2745
  };
2721
-
2722
2746
  const radioBtnRef = React.useRef(null);
2723
2747
  React__default["default"].useEffect(() => {
2724
2748
  var _a;
2725
-
2726
2749
  if (radioBtnRef && radioBtnRef.current) {
2727
2750
  const form = (_a = radioBtnRef === null || radioBtnRef === void 0 ? void 0 : radioBtnRef.current) === null || _a === void 0 ? void 0 : _a.form;
2728
-
2729
2751
  const resetListner = () => {
2730
2752
  setSelected(undefined);
2731
2753
  };
2732
-
2733
2754
  form === null || form === void 0 ? void 0 : form.addEventListener('reset', resetListner);
2734
2755
  return () => form === null || form === void 0 ? void 0 : form.removeEventListener('reset', resetListner);
2735
2756
  } else {
2736
2757
  // eslint-disable-next-line @typescript-eslint/no-empty-function
2737
2758
  return () => {};
2738
- } // eslint-disable-next-line react-hooks/exhaustive-deps
2739
-
2759
+ }
2760
+ // eslint-disable-next-line react-hooks/exhaustive-deps
2740
2761
  }, []);
2741
2762
  const labelFromTitle = label || title;
2742
2763
  const labelInformationFromDescription = labelInformation || description;
@@ -2749,27 +2770,33 @@
2749
2770
  role: 'radiogroup'
2750
2771
  };
2751
2772
  if (!name) name = extract.randomId();
2773
+ const radioGroupWrapperClassNames = classNames__default["default"]('gds-radio-group-wrapper', {
2774
+ 'gds-radio-group-wrapper--horizontal': horizontal
2775
+ });
2752
2776
  return jsxRuntime.jsx(FormItem, Object.assign({}, formItemProps, {
2753
- children: React__default["default"].Children.map(children, radioButton => {
2754
- return /*#__PURE__*/React__default["default"].isValidElement(radioButton) ? /*#__PURE__*/React__default["default"].cloneElement(radioButton, {
2755
- validator: validatorClassName,
2756
- onChange: handleOnChange,
2757
- checked: selected === radioButton.props.value,
2758
- name,
2759
- ref: radioBtnRef
2760
- }) : radioButton;
2761
- })
2777
+ children: jsxRuntime.jsx("div", Object.assign({
2778
+ className: radioGroupWrapperClassNames
2779
+ }, {
2780
+ children: React__default["default"].Children.map(children, radioButton => {
2781
+ return /*#__PURE__*/React__default["default"].isValidElement(radioButton) ? /*#__PURE__*/React__default["default"].cloneElement(radioButton, {
2782
+ validator: validator && extract.validateClassName(validator === null || validator === void 0 ? void 0 : validator.indicator),
2783
+ onChange: handleOnChange,
2784
+ checked: selected === radioButton.props.value,
2785
+ name,
2786
+ ref: radioBtnRef
2787
+ }) : radioButton;
2788
+ })
2789
+ }))
2762
2790
  }));
2763
2791
  };
2764
2792
 
2765
2793
  const ListItem = _a => {
2766
2794
  var {
2767
- listType,
2768
- tableRowData,
2769
- children
2770
- } = _a,
2771
- props = __rest(_a, ["listType", "tableRowData", "children"]);
2772
-
2795
+ listType,
2796
+ tableRowData,
2797
+ children
2798
+ } = _a,
2799
+ props = __rest(_a, ["listType", "tableRowData", "children"]);
2773
2800
  if (listType === 'table') {
2774
2801
  return jsxRuntime.jsx("dl", {
2775
2802
  children: jsxRuntime.jsxs("div", {
@@ -2789,13 +2816,12 @@
2789
2816
 
2790
2817
  const List$1 = _a => {
2791
2818
  var {
2792
- listType,
2793
- tableCaption,
2794
- tableData,
2795
- children
2796
- } = _a,
2797
- props = __rest(_a, ["listType", "tableCaption", "tableData", "children"]);
2798
-
2819
+ listType,
2820
+ tableCaption,
2821
+ tableData,
2822
+ children
2823
+ } = _a,
2824
+ props = __rest(_a, ["listType", "tableCaption", "tableData", "children"]);
2799
2825
  if (listType === 'ordered') {
2800
2826
  return jsxRuntime.jsx("ol", Object.assign({}, props, {
2801
2827
  children: children === null || children === void 0 ? void 0 : children.map((child, index) => jsxRuntime.jsx(ListItem, {
@@ -2868,11 +2894,10 @@
2868
2894
 
2869
2895
  const Link = _a => {
2870
2896
  var {
2871
- button,
2872
- children
2873
- } = _a,
2874
- props = __rest(_a, ["button", "children"]);
2875
-
2897
+ button,
2898
+ children
2899
+ } = _a,
2900
+ props = __rest(_a, ["button", "children"]);
2876
2901
  const [anchorProps, setAnchorProps] = React.useState({});
2877
2902
  React.useEffect(() => {
2878
2903
  const className = button ? typeof button === 'string' ? `button ${button}` : 'button' : undefined;
@@ -2880,13 +2905,15 @@
2880
2905
  role: button ? 'button' : undefined,
2881
2906
  className: className
2882
2907
  }, props);
2883
- setAnchorProps(newProps); // eslint-disable-next-line react-hooks/exhaustive-deps
2908
+ setAnchorProps(newProps);
2909
+ // eslint-disable-next-line react-hooks/exhaustive-deps
2884
2910
  }, [button]);
2885
2911
  return jsxRuntime.jsx("a", Object.assign({}, anchorProps, {
2886
2912
  children: children
2887
2913
  }));
2888
2914
  };
2889
2915
 
2916
+ //TODO: Add variants
2890
2917
  const Navbar = ({
2891
2918
  children,
2892
2919
  variant,
@@ -2901,7 +2928,8 @@
2901
2928
  if (variant) classNames.push(variant);
2902
2929
  setProps(Object.assign(Object.assign({}, props), {
2903
2930
  className: classNames.join(' ')
2904
- })); // eslint-disable-next-line react-hooks/exhaustive-deps
2931
+ }));
2932
+ // eslint-disable-next-line react-hooks/exhaustive-deps
2905
2933
  }, [variant]);
2906
2934
  return jsxRuntime.jsxs("nav", Object.assign({
2907
2935
  role: "navigation"
@@ -2946,22 +2974,20 @@
2946
2974
 
2947
2975
  function Badge(_a) {
2948
2976
  var {
2949
- children,
2950
- badgeType,
2951
- isCloseable,
2952
- closeText,
2953
- customColor,
2954
- customBackgroundColor
2955
- } = _a,
2956
- props = __rest(_a, ["children", "badgeType", "isCloseable", "closeText", "customColor", "customBackgroundColor"]);
2957
-
2977
+ children,
2978
+ badgeType,
2979
+ isCloseable,
2980
+ closeText,
2981
+ customColor,
2982
+ customBackgroundColor
2983
+ } = _a,
2984
+ props = __rest(_a, ["children", "badgeType", "isCloseable", "closeText", "customColor", "customBackgroundColor"]);
2958
2985
  const [isClosed, setIsClosed] = React__default["default"].useState(false);
2959
2986
  const [type, setType] = React__default["default"].useState('');
2960
2987
  React__default["default"].useEffect(() => {
2961
2988
  if (badgeType) {
2962
2989
  setType(badgeType);
2963
2990
  }
2964
-
2965
2991
  if (!!customColor || !!customBackgroundColor) {
2966
2992
  setType('');
2967
2993
  }
@@ -2985,8 +3011,8 @@
2985
3011
  })) : null;
2986
3012
  }
2987
3013
 
3014
+ // eslint-disable-next-line @typescript-eslint/no-empty-function
2988
3015
  const noop = () => {};
2989
-
2990
3016
  const useStepper = ({
2991
3017
  min,
2992
3018
  max,
@@ -3010,20 +3036,20 @@
3010
3036
  min,
3011
3037
  max,
3012
3038
  step: _step
3013
- }); // eslint-disable-next-line react-hooks/exhaustive-deps
3014
-
3039
+ });
3040
+ // eslint-disable-next-line react-hooks/exhaustive-deps
3015
3041
  React.useEffect(() => {
3016
3042
  if (max !== data.max) stepper.setMax(max);
3017
- }, [stepper, max]); // eslint-disable-next-line react-hooks/exhaustive-deps
3018
-
3043
+ }, [stepper, max]);
3044
+ // eslint-disable-next-line react-hooks/exhaustive-deps
3019
3045
  React.useEffect(() => {
3020
3046
  if (min !== data.min) stepper.setMin(min);
3021
- }, [stepper, min]); // eslint-disable-next-line react-hooks/exhaustive-deps
3022
-
3047
+ }, [stepper, min]);
3048
+ // eslint-disable-next-line react-hooks/exhaustive-deps
3023
3049
  React.useEffect(() => {
3024
3050
  if (_step !== data.step) stepper.setStep(_step || 1);
3025
- }, [stepper, _step]); // eslint-disable-next-line react-hooks/exhaustive-deps
3026
-
3051
+ }, [stepper, _step]);
3052
+ // eslint-disable-next-line react-hooks/exhaustive-deps
3027
3053
  React.useEffect(() => {
3028
3054
  if (_value !== data.value) stepper.setValue(_value || 0, false);
3029
3055
  }, [stepper, _value]);
@@ -3035,26 +3061,25 @@
3035
3061
  max,
3036
3062
  step: _step,
3037
3063
  onChange
3038
- }, setData)); // eslint-disable-next-line react-hooks/exhaustive-deps
3064
+ }, setData));
3065
+ // eslint-disable-next-line react-hooks/exhaustive-deps
3039
3066
  }, []);
3040
3067
  return [stepper, data];
3041
3068
  };
3042
3069
 
3070
+ // TODO: Should be named "Numeric input" instead of stepper?
3043
3071
  function Stepper(_a) {
3044
3072
  var {
3045
- label,
3046
- description,
3047
- statusMessage,
3048
- validator
3049
- } = _a,
3050
- stepperArgs = __rest(_a, ["label", "description", "statusMessage", "validator"]);
3051
-
3073
+ label,
3074
+ description,
3075
+ statusMessage,
3076
+ validator
3077
+ } = _a,
3078
+ stepperArgs = __rest(_a, ["label", "description", "statusMessage", "validator"]);
3052
3079
  const [stepper, data] = useStepper(stepperArgs);
3053
-
3054
3080
  const onChangeEvent = e => {
3055
3081
  stepper.setValue(e.target.valueAsNumber);
3056
3082
  };
3057
-
3058
3083
  const PrimitiveStepper = jsxRuntime.jsxs("div", Object.assign({
3059
3084
  className: `group group-border group-stepper ${validator && extract.validateClassName(validator === null || validator === void 0 ? void 0 : validator.indicator)}`
3060
3085
  }, {
@@ -3077,7 +3102,6 @@
3077
3102
  children: "+"
3078
3103
  }))]
3079
3104
  }));
3080
-
3081
3105
  if (!label && !description && !statusMessage && !validator) return PrimitiveStepper;
3082
3106
  return jsxRuntime.jsxs("div", Object.assign({
3083
3107
  className: "form-group"
@@ -3124,10 +3148,11 @@
3124
3148
  labelInformation: labelInformation,
3125
3149
  expandableInfo: expandableInfo,
3126
3150
  expandableInfoButtonLabel: expandableInfoButtonLabel,
3127
- inputId: selectId
3151
+ inputId: selectId,
3152
+ validator: validator
3128
3153
  }, {
3129
3154
  children: jsxRuntime.jsxs("div", Object.assign({
3130
- className: `gsd-select ${validatorClassName}`
3155
+ className: `gds-select ${validatorClassName}`
3131
3156
  }, {
3132
3157
  children: [jsxRuntime.jsx("select", Object.assign({
3133
3158
  id: selectId,
@@ -3147,11 +3172,10 @@
3147
3172
  });
3148
3173
  const Option = _a => {
3149
3174
  var {
3150
- value,
3151
- children
3152
- } = _a,
3153
- rest = __rest(_a, ["value", "children"]);
3154
-
3175
+ value,
3176
+ children
3177
+ } = _a,
3178
+ rest = __rest(_a, ["value", "children"]);
3155
3179
  return jsxRuntime.jsx("option", Object.assign({
3156
3180
  value: value
3157
3181
  }, rest, {
@@ -3193,11 +3217,10 @@
3193
3217
  const [togglerProps, setTogglerProps] = React.useState({});
3194
3218
  const [listboxProps, setListboxProps] = React.useState({});
3195
3219
  const [listItems, setListItems] = React.useState([]);
3196
- const [multiSelectProps, setMultiSelectProps] = React.useState({}); // When dropdown data changes
3197
-
3220
+ const [multiSelectProps, setMultiSelectProps] = React.useState({});
3221
+ // When dropdown data changes
3198
3222
  React.useEffect(() => {
3199
3223
  var _a, _b, _c, _d, _e, _f, _g, _h, _j;
3200
-
3201
3224
  if (!dropdown) return;
3202
3225
  const {
3203
3226
  elements: {
@@ -3215,11 +3238,9 @@
3215
3238
  className: (_c = listbox === null || listbox === void 0 ? void 0 : listbox.classes) === null || _c === void 0 ? void 0 : _c.join(' ')
3216
3239
  });
3217
3240
  setListboxProps(newListboxProps);
3218
-
3219
3241
  if (!dropdown.isMultiSelect) {
3220
3242
  const newListItems = dropdown.options.map(o => {
3221
3243
  var _a;
3222
-
3223
3244
  return Object.assign(Object.assign({}, o.attributes), {
3224
3245
  className: (_a = o.classes) === null || _a === void 0 ? void 0 : _a.join(' '),
3225
3246
  children: o[dropdown.display],
@@ -3257,10 +3278,10 @@
3257
3278
  checkboxes
3258
3279
  };
3259
3280
  setMultiSelectProps(newMultiselect);
3260
- } // eslint-disable-next-line react-hooks/exhaustive-deps
3261
-
3262
- }, [dropdown]); // When dropdown properties change
3263
-
3281
+ }
3282
+ // eslint-disable-next-line react-hooks/exhaustive-deps
3283
+ }, [dropdown]);
3284
+ // When dropdown properties change
3264
3285
  React.useEffect(() => {
3265
3286
  if (!dropdown) return;
3266
3287
  handler === null || handler === void 0 ? void 0 : handler.update({
@@ -3276,19 +3297,22 @@
3276
3297
  useValue,
3277
3298
  display,
3278
3299
  validator
3279
- }); // eslint-disable-next-line react-hooks/exhaustive-deps
3300
+ });
3301
+ // eslint-disable-next-line react-hooks/exhaustive-deps
3280
3302
  }, [id, texts, options, loop, multiSelect, searchable, searchFilter, compareWith, useValue, display]);
3281
3303
  React.useEffect(() => {
3282
3304
  if (!dropdown) return;
3283
3305
  handler === null || handler === void 0 ? void 0 : handler.selectByValue(value);
3284
- console.log('new value'); // eslint-disable-next-line react-hooks/exhaustive-deps
3285
- }, [value]); // When validator changes
3286
-
3306
+ console.log('new value');
3307
+ // eslint-disable-next-line react-hooks/exhaustive-deps
3308
+ }, [value]);
3309
+ // When validator changes
3287
3310
  React.useEffect(() => {
3288
3311
  if (!dropdown) return;
3289
- if (validator) handler === null || handler === void 0 ? void 0 : handler.validate(validator); // eslint-disable-next-line react-hooks/exhaustive-deps
3290
- }, [validator]); // Create dropdown handler
3291
-
3312
+ if (validator) handler === null || handler === void 0 ? void 0 : handler.validate(validator);
3313
+ // eslint-disable-next-line react-hooks/exhaustive-deps
3314
+ }, [validator]);
3315
+ // Create dropdown handler
3292
3316
  React.useEffect(() => {
3293
3317
  if (!handler && togglerRef.current && listboxRef.current) {
3294
3318
  setHandler(extract.createDropdown({
@@ -3306,8 +3330,8 @@
3306
3330
  validator
3307
3331
  }, togglerRef.current, listboxRef.current, listboxRef.current, dd => setDropdown(dd), value => onChange === null || onChange === void 0 ? void 0 : onChange(value)));
3308
3332
  }
3309
-
3310
- return () => handler === null || handler === void 0 ? void 0 : handler.destroy(); // eslint-disable-next-line react-hooks/exhaustive-deps
3333
+ return () => handler === null || handler === void 0 ? void 0 : handler.destroy();
3334
+ // eslint-disable-next-line react-hooks/exhaustive-deps
3311
3335
  }, [togglerRef, listboxRef]);
3312
3336
  return {
3313
3337
  dropdown: handler,
@@ -3336,7 +3360,6 @@
3336
3360
  value
3337
3361
  }) => {
3338
3362
  var _a;
3339
-
3340
3363
  const togglerRef = React.useRef(null);
3341
3364
  const listboxRef = React.useRef(null);
3342
3365
  const {
@@ -3362,10 +3385,8 @@
3362
3385
  onChange,
3363
3386
  validator
3364
3387
  });
3365
-
3366
3388
  const getListBoxProps = props => {
3367
3389
  var _a, _b, _c;
3368
-
3369
3390
  if (Object.keys(props).length === 0) return {
3370
3391
  role: 'listbox',
3371
3392
  tabIndex: -1,
@@ -3373,7 +3394,6 @@
3373
3394
  };
3374
3395
  return props;
3375
3396
  };
3376
-
3377
3397
  return jsxRuntime.jsxs("div", Object.assign({
3378
3398
  className: "form-group"
3379
3399
  }, {
@@ -3470,17 +3490,14 @@
3470
3490
  } = useDatepicker(datepickerRef, datepickerDialogRef, dateInputRef, datepickerTriggerRef, options);
3471
3491
  React.useEffect(() => {
3472
3492
  var _a;
3473
-
3474
3493
  const selDateSub = (_a = datepicker.selectedDate$) === null || _a === void 0 ? void 0 : _a.subscribe(newDate => options.onChange && options.onChange(newDate));
3475
3494
  return () => selDateSub === null || selDateSub === void 0 ? void 0 : selDateSub.unsubscribe();
3476
3495
  }, [datepicker, options]);
3477
-
3478
3496
  const classNames = day => Object.entries({
3479
3497
  disabled: !day.currentMonth,
3480
- 'sg-date-today': day.today // 'sg-date-holiday': day.holiday,
3481
-
3498
+ 'sg-date-today': day.today
3499
+ // 'sg-date-holiday': day.holiday,
3482
3500
  }).map(([className, add]) => add ? className : '').join(' ');
3483
-
3484
3501
  return jsxRuntime.jsxs(jsxRuntime.Fragment, {
3485
3502
  children: [jsxRuntime.jsxs("div", Object.assign({
3486
3503
  className: "form-group"
@@ -3539,11 +3556,13 @@
3539
3556
  }))
3540
3557
  })), jsxRuntime.jsx(Dropdown, {
3541
3558
  options: extract.months({}),
3559
+ display: "key",
3542
3560
  texts: {
3543
3561
  placeholder: data.monthName
3544
3562
  }
3545
3563
  }), jsxRuntime.jsx(Dropdown, {
3546
3564
  options: extract.years({}),
3565
+ display: "key",
3547
3566
  texts: {
3548
3567
  placeholder: data.year + ''
3549
3568
  }
@@ -3611,6 +3630,7 @@
3611
3630
  exports.EmailInput = EmailInput;
3612
3631
  exports.Flexbox = Flexbox;
3613
3632
  exports.Form = Form;
3633
+ exports.FormItem = FormItem;
3614
3634
  exports.FormItems = FormItems;
3615
3635
  exports.Group = Group;
3616
3636
  exports.Link = Link;