@hexure/ui 1.9.4 → 1.10.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/dist/esm/index.js CHANGED
@@ -1,6 +1,8 @@
1
- import React, { useRef, useDebugValue, useContext, createElement, useState, useEffect } from 'react';
1
+ import React, { useContext, useState, useEffect, useRef } from 'react';
2
+ import styled, { ThemeContext, keyframes } from 'styled-components';
2
3
  import Icon, { Icon as Icon$1 } from '@mdi/react';
3
4
  import { mdiChevronUp, mdiChevronDown, mdiLoading, mdiInformationOutline, mdiAlertOctagonOutline, mdiAlertOutline, mdiCheckboxMarkedCircleOutline, mdiDotsHorizontal, mdiClose, mdiMinusCircle, mdiFolderPlusOutline, mdiChevronRight, mdiChevronLeft, mdiCheck } from '@mdi/js';
5
+ import dayjs from 'dayjs';
4
6
  import Numeral from 'numeral';
5
7
  import Moment from 'moment';
6
8
 
@@ -29,1946 +31,6 @@ function __rest(s, e) {
29
31
  return t;
30
32
  }
31
33
 
32
- var commonjsGlobal = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};
33
-
34
- function getDefaultExportFromCjs (x) {
35
- return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
36
- }
37
-
38
- var reactIs$2 = {exports: {}};
39
-
40
- var reactIs_production_min$1 = {};
41
-
42
- /**
43
- * @license React
44
- * react-is.production.min.js
45
- *
46
- * Copyright (c) Facebook, Inc. and its affiliates.
47
- *
48
- * This source code is licensed under the MIT license found in the
49
- * LICENSE file in the root directory of this source tree.
50
- */
51
- var hasRequiredReactIs_production_min$1;
52
- function requireReactIs_production_min$1() {
53
- if (hasRequiredReactIs_production_min$1) return reactIs_production_min$1;
54
- hasRequiredReactIs_production_min$1 = 1;
55
- var b = Symbol.for("react.element"),
56
- c = Symbol.for("react.portal"),
57
- d = Symbol.for("react.fragment"),
58
- e = Symbol.for("react.strict_mode"),
59
- f = Symbol.for("react.profiler"),
60
- g = Symbol.for("react.provider"),
61
- h = Symbol.for("react.context"),
62
- k = Symbol.for("react.server_context"),
63
- l = Symbol.for("react.forward_ref"),
64
- m = Symbol.for("react.suspense"),
65
- n = Symbol.for("react.suspense_list"),
66
- p = Symbol.for("react.memo"),
67
- q = Symbol.for("react.lazy"),
68
- t = Symbol.for("react.offscreen"),
69
- u;
70
- u = Symbol.for("react.module.reference");
71
- function v(a) {
72
- if ("object" === typeof a && null !== a) {
73
- var r = a.$$typeof;
74
- switch (r) {
75
- case b:
76
- switch (a = a.type, a) {
77
- case d:
78
- case f:
79
- case e:
80
- case m:
81
- case n:
82
- return a;
83
- default:
84
- switch (a = a && a.$$typeof, a) {
85
- case k:
86
- case h:
87
- case l:
88
- case q:
89
- case p:
90
- case g:
91
- return a;
92
- default:
93
- return r;
94
- }
95
- }
96
- case c:
97
- return r;
98
- }
99
- }
100
- }
101
- reactIs_production_min$1.ContextConsumer = h;
102
- reactIs_production_min$1.ContextProvider = g;
103
- reactIs_production_min$1.Element = b;
104
- reactIs_production_min$1.ForwardRef = l;
105
- reactIs_production_min$1.Fragment = d;
106
- reactIs_production_min$1.Lazy = q;
107
- reactIs_production_min$1.Memo = p;
108
- reactIs_production_min$1.Portal = c;
109
- reactIs_production_min$1.Profiler = f;
110
- reactIs_production_min$1.StrictMode = e;
111
- reactIs_production_min$1.Suspense = m;
112
- reactIs_production_min$1.SuspenseList = n;
113
- reactIs_production_min$1.isAsyncMode = function () {
114
- return !1;
115
- };
116
- reactIs_production_min$1.isConcurrentMode = function () {
117
- return !1;
118
- };
119
- reactIs_production_min$1.isContextConsumer = function (a) {
120
- return v(a) === h;
121
- };
122
- reactIs_production_min$1.isContextProvider = function (a) {
123
- return v(a) === g;
124
- };
125
- reactIs_production_min$1.isElement = function (a) {
126
- return "object" === typeof a && null !== a && a.$$typeof === b;
127
- };
128
- reactIs_production_min$1.isForwardRef = function (a) {
129
- return v(a) === l;
130
- };
131
- reactIs_production_min$1.isFragment = function (a) {
132
- return v(a) === d;
133
- };
134
- reactIs_production_min$1.isLazy = function (a) {
135
- return v(a) === q;
136
- };
137
- reactIs_production_min$1.isMemo = function (a) {
138
- return v(a) === p;
139
- };
140
- reactIs_production_min$1.isPortal = function (a) {
141
- return v(a) === c;
142
- };
143
- reactIs_production_min$1.isProfiler = function (a) {
144
- return v(a) === f;
145
- };
146
- reactIs_production_min$1.isStrictMode = function (a) {
147
- return v(a) === e;
148
- };
149
- reactIs_production_min$1.isSuspense = function (a) {
150
- return v(a) === m;
151
- };
152
- reactIs_production_min$1.isSuspenseList = function (a) {
153
- return v(a) === n;
154
- };
155
- reactIs_production_min$1.isValidElementType = function (a) {
156
- return "string" === typeof a || "function" === typeof a || a === d || a === f || a === e || a === m || a === n || a === t || "object" === typeof a && null !== a && (a.$$typeof === q || a.$$typeof === p || a.$$typeof === g || a.$$typeof === h || a.$$typeof === l || a.$$typeof === u || void 0 !== a.getModuleId) ? !0 : !1;
157
- };
158
- reactIs_production_min$1.typeOf = v;
159
- return reactIs_production_min$1;
160
- }
161
-
162
- var reactIs_development$1 = {};
163
-
164
- /**
165
- * @license React
166
- * react-is.development.js
167
- *
168
- * Copyright (c) Facebook, Inc. and its affiliates.
169
- *
170
- * This source code is licensed under the MIT license found in the
171
- * LICENSE file in the root directory of this source tree.
172
- */
173
- var hasRequiredReactIs_development$1;
174
- function requireReactIs_development$1() {
175
- if (hasRequiredReactIs_development$1) return reactIs_development$1;
176
- hasRequiredReactIs_development$1 = 1;
177
- if (process.env.NODE_ENV !== "production") {
178
- (function () {
179
-
180
- // ATTENTION
181
- // When adding new symbols to this file,
182
- // Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'
183
- // The Symbol used to tag the ReactElement-like types.
184
- var REACT_ELEMENT_TYPE = Symbol.for('react.element');
185
- var REACT_PORTAL_TYPE = Symbol.for('react.portal');
186
- var REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');
187
- var REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');
188
- var REACT_PROFILER_TYPE = Symbol.for('react.profiler');
189
- var REACT_PROVIDER_TYPE = Symbol.for('react.provider');
190
- var REACT_CONTEXT_TYPE = Symbol.for('react.context');
191
- var REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context');
192
- var REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');
193
- var REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');
194
- var REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');
195
- var REACT_MEMO_TYPE = Symbol.for('react.memo');
196
- var REACT_LAZY_TYPE = Symbol.for('react.lazy');
197
- var REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');
198
-
199
- // -----------------------------------------------------------------------------
200
-
201
- var enableScopeAPI = false; // Experimental Create Event Handle API.
202
- var enableCacheElement = false;
203
- var enableTransitionTracing = false; // No known bugs, but needs performance testing
204
-
205
- var enableLegacyHidden = false; // Enables unstable_avoidThisFallback feature in Fiber
206
- // stuff. Intended to enable React core members to more easily debug scheduling
207
- // issues in DEV builds.
208
-
209
- var enableDebugTracing = false; // Track which Fiber(s) schedule render work.
210
-
211
- var REACT_MODULE_REFERENCE;
212
- {
213
- REACT_MODULE_REFERENCE = Symbol.for('react.module.reference');
214
- }
215
- function isValidElementType(type) {
216
- if (typeof type === 'string' || typeof type === 'function') {
217
- return true;
218
- } // Note: typeof might be other than 'symbol' or 'number' (e.g. if it's a polyfill).
219
-
220
- if (type === REACT_FRAGMENT_TYPE || type === REACT_PROFILER_TYPE || enableDebugTracing || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || enableLegacyHidden || type === REACT_OFFSCREEN_TYPE || enableScopeAPI || enableCacheElement || enableTransitionTracing) {
221
- return true;
222
- }
223
- if (typeof type === 'object' && type !== null) {
224
- if (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE ||
225
- // This needs to include all possible module reference object
226
- // types supported by any Flight configuration anywhere since
227
- // we don't know which Flight build this will end up being used
228
- // with.
229
- type.$$typeof === REACT_MODULE_REFERENCE || type.getModuleId !== undefined) {
230
- return true;
231
- }
232
- }
233
- return false;
234
- }
235
- function typeOf(object) {
236
- if (typeof object === 'object' && object !== null) {
237
- var $$typeof = object.$$typeof;
238
- switch ($$typeof) {
239
- case REACT_ELEMENT_TYPE:
240
- var type = object.type;
241
- switch (type) {
242
- case REACT_FRAGMENT_TYPE:
243
- case REACT_PROFILER_TYPE:
244
- case REACT_STRICT_MODE_TYPE:
245
- case REACT_SUSPENSE_TYPE:
246
- case REACT_SUSPENSE_LIST_TYPE:
247
- return type;
248
- default:
249
- var $$typeofType = type && type.$$typeof;
250
- switch ($$typeofType) {
251
- case REACT_SERVER_CONTEXT_TYPE:
252
- case REACT_CONTEXT_TYPE:
253
- case REACT_FORWARD_REF_TYPE:
254
- case REACT_LAZY_TYPE:
255
- case REACT_MEMO_TYPE:
256
- case REACT_PROVIDER_TYPE:
257
- return $$typeofType;
258
- default:
259
- return $$typeof;
260
- }
261
- }
262
- case REACT_PORTAL_TYPE:
263
- return $$typeof;
264
- }
265
- }
266
- return undefined;
267
- }
268
- var ContextConsumer = REACT_CONTEXT_TYPE;
269
- var ContextProvider = REACT_PROVIDER_TYPE;
270
- var Element = REACT_ELEMENT_TYPE;
271
- var ForwardRef = REACT_FORWARD_REF_TYPE;
272
- var Fragment = REACT_FRAGMENT_TYPE;
273
- var Lazy = REACT_LAZY_TYPE;
274
- var Memo = REACT_MEMO_TYPE;
275
- var Portal = REACT_PORTAL_TYPE;
276
- var Profiler = REACT_PROFILER_TYPE;
277
- var StrictMode = REACT_STRICT_MODE_TYPE;
278
- var Suspense = REACT_SUSPENSE_TYPE;
279
- var SuspenseList = REACT_SUSPENSE_LIST_TYPE;
280
- var hasWarnedAboutDeprecatedIsAsyncMode = false;
281
- var hasWarnedAboutDeprecatedIsConcurrentMode = false; // AsyncMode should be deprecated
282
-
283
- function isAsyncMode(object) {
284
- {
285
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
286
- hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
287
-
288
- console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
289
- }
290
- }
291
- return false;
292
- }
293
- function isConcurrentMode(object) {
294
- {
295
- if (!hasWarnedAboutDeprecatedIsConcurrentMode) {
296
- hasWarnedAboutDeprecatedIsConcurrentMode = true; // Using console['warn'] to evade Babel and ESLint
297
-
298
- console['warn']('The ReactIs.isConcurrentMode() alias has been deprecated, ' + 'and will be removed in React 18+.');
299
- }
300
- }
301
- return false;
302
- }
303
- function isContextConsumer(object) {
304
- return typeOf(object) === REACT_CONTEXT_TYPE;
305
- }
306
- function isContextProvider(object) {
307
- return typeOf(object) === REACT_PROVIDER_TYPE;
308
- }
309
- function isElement(object) {
310
- return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
311
- }
312
- function isForwardRef(object) {
313
- return typeOf(object) === REACT_FORWARD_REF_TYPE;
314
- }
315
- function isFragment(object) {
316
- return typeOf(object) === REACT_FRAGMENT_TYPE;
317
- }
318
- function isLazy(object) {
319
- return typeOf(object) === REACT_LAZY_TYPE;
320
- }
321
- function isMemo(object) {
322
- return typeOf(object) === REACT_MEMO_TYPE;
323
- }
324
- function isPortal(object) {
325
- return typeOf(object) === REACT_PORTAL_TYPE;
326
- }
327
- function isProfiler(object) {
328
- return typeOf(object) === REACT_PROFILER_TYPE;
329
- }
330
- function isStrictMode(object) {
331
- return typeOf(object) === REACT_STRICT_MODE_TYPE;
332
- }
333
- function isSuspense(object) {
334
- return typeOf(object) === REACT_SUSPENSE_TYPE;
335
- }
336
- function isSuspenseList(object) {
337
- return typeOf(object) === REACT_SUSPENSE_LIST_TYPE;
338
- }
339
- reactIs_development$1.ContextConsumer = ContextConsumer;
340
- reactIs_development$1.ContextProvider = ContextProvider;
341
- reactIs_development$1.Element = Element;
342
- reactIs_development$1.ForwardRef = ForwardRef;
343
- reactIs_development$1.Fragment = Fragment;
344
- reactIs_development$1.Lazy = Lazy;
345
- reactIs_development$1.Memo = Memo;
346
- reactIs_development$1.Portal = Portal;
347
- reactIs_development$1.Profiler = Profiler;
348
- reactIs_development$1.StrictMode = StrictMode;
349
- reactIs_development$1.Suspense = Suspense;
350
- reactIs_development$1.SuspenseList = SuspenseList;
351
- reactIs_development$1.isAsyncMode = isAsyncMode;
352
- reactIs_development$1.isConcurrentMode = isConcurrentMode;
353
- reactIs_development$1.isContextConsumer = isContextConsumer;
354
- reactIs_development$1.isContextProvider = isContextProvider;
355
- reactIs_development$1.isElement = isElement;
356
- reactIs_development$1.isForwardRef = isForwardRef;
357
- reactIs_development$1.isFragment = isFragment;
358
- reactIs_development$1.isLazy = isLazy;
359
- reactIs_development$1.isMemo = isMemo;
360
- reactIs_development$1.isPortal = isPortal;
361
- reactIs_development$1.isProfiler = isProfiler;
362
- reactIs_development$1.isStrictMode = isStrictMode;
363
- reactIs_development$1.isSuspense = isSuspense;
364
- reactIs_development$1.isSuspenseList = isSuspenseList;
365
- reactIs_development$1.isValidElementType = isValidElementType;
366
- reactIs_development$1.typeOf = typeOf;
367
- })();
368
- }
369
- return reactIs_development$1;
370
- }
371
-
372
- if (process.env.NODE_ENV === 'production') {
373
- reactIs$2.exports = requireReactIs_production_min$1();
374
- } else {
375
- reactIs$2.exports = requireReactIs_development$1();
376
- }
377
- var reactIsExports$1 = reactIs$2.exports;
378
-
379
- function stylis_min(W) {
380
- function M(d, c, e, h, a) {
381
- for (var m = 0, b = 0, v = 0, n = 0, q, g, x = 0, K = 0, k, u = k = q = 0, l = 0, r = 0, I = 0, t = 0, B = e.length, J = B - 1, y, f = '', p = '', F = '', G = '', C; l < B;) {
382
- g = e.charCodeAt(l);
383
- l === J && 0 !== b + n + v + m && (0 !== b && (g = 47 === b ? 10 : 47), n = v = m = 0, B++, J++);
384
- if (0 === b + n + v + m) {
385
- if (l === J && (0 < r && (f = f.replace(N, '')), 0 < f.trim().length)) {
386
- switch (g) {
387
- case 32:
388
- case 9:
389
- case 59:
390
- case 13:
391
- case 10:
392
- break;
393
- default:
394
- f += e.charAt(l);
395
- }
396
- g = 59;
397
- }
398
- switch (g) {
399
- case 123:
400
- f = f.trim();
401
- q = f.charCodeAt(0);
402
- k = 1;
403
- for (t = ++l; l < B;) {
404
- switch (g = e.charCodeAt(l)) {
405
- case 123:
406
- k++;
407
- break;
408
- case 125:
409
- k--;
410
- break;
411
- case 47:
412
- switch (g = e.charCodeAt(l + 1)) {
413
- case 42:
414
- case 47:
415
- a: {
416
- for (u = l + 1; u < J; ++u) {
417
- switch (e.charCodeAt(u)) {
418
- case 47:
419
- if (42 === g && 42 === e.charCodeAt(u - 1) && l + 2 !== u) {
420
- l = u + 1;
421
- break a;
422
- }
423
- break;
424
- case 10:
425
- if (47 === g) {
426
- l = u + 1;
427
- break a;
428
- }
429
- }
430
- }
431
- l = u;
432
- }
433
- }
434
- break;
435
- case 91:
436
- g++;
437
- case 40:
438
- g++;
439
- case 34:
440
- case 39:
441
- for (; l++ < J && e.charCodeAt(l) !== g;) {}
442
- }
443
- if (0 === k) break;
444
- l++;
445
- }
446
- k = e.substring(t, l);
447
- 0 === q && (q = (f = f.replace(ca, '').trim()).charCodeAt(0));
448
- switch (q) {
449
- case 64:
450
- 0 < r && (f = f.replace(N, ''));
451
- g = f.charCodeAt(1);
452
- switch (g) {
453
- case 100:
454
- case 109:
455
- case 115:
456
- case 45:
457
- r = c;
458
- break;
459
- default:
460
- r = O;
461
- }
462
- k = M(c, r, k, g, a + 1);
463
- t = k.length;
464
- 0 < A && (r = X(O, f, I), C = H(3, k, r, c, D, z, t, g, a, h), f = r.join(''), void 0 !== C && 0 === (t = (k = C.trim()).length) && (g = 0, k = ''));
465
- if (0 < t) switch (g) {
466
- case 115:
467
- f = f.replace(da, ea);
468
- case 100:
469
- case 109:
470
- case 45:
471
- k = f + '{' + k + '}';
472
- break;
473
- case 107:
474
- f = f.replace(fa, '$1 $2');
475
- k = f + '{' + k + '}';
476
- k = 1 === w || 2 === w && L('@' + k, 3) ? '@-webkit-' + k + '@' + k : '@' + k;
477
- break;
478
- default:
479
- k = f + k, 112 === h && (k = (p += k, ''));
480
- } else k = '';
481
- break;
482
- default:
483
- k = M(c, X(c, f, I), k, h, a + 1);
484
- }
485
- F += k;
486
- k = I = r = u = q = 0;
487
- f = '';
488
- g = e.charCodeAt(++l);
489
- break;
490
- case 125:
491
- case 59:
492
- f = (0 < r ? f.replace(N, '') : f).trim();
493
- if (1 < (t = f.length)) switch (0 === u && (q = f.charCodeAt(0), 45 === q || 96 < q && 123 > q) && (t = (f = f.replace(' ', ':')).length), 0 < A && void 0 !== (C = H(1, f, c, d, D, z, p.length, h, a, h)) && 0 === (t = (f = C.trim()).length) && (f = '\x00\x00'), q = f.charCodeAt(0), g = f.charCodeAt(1), q) {
494
- case 0:
495
- break;
496
- case 64:
497
- if (105 === g || 99 === g) {
498
- G += f + e.charAt(l);
499
- break;
500
- }
501
- default:
502
- 58 !== f.charCodeAt(t - 1) && (p += P(f, q, g, f.charCodeAt(2)));
503
- }
504
- I = r = u = q = 0;
505
- f = '';
506
- g = e.charCodeAt(++l);
507
- }
508
- }
509
- switch (g) {
510
- case 13:
511
- case 10:
512
- 47 === b ? b = 0 : 0 === 1 + q && 107 !== h && 0 < f.length && (r = 1, f += '\x00');
513
- 0 < A * Y && H(0, f, c, d, D, z, p.length, h, a, h);
514
- z = 1;
515
- D++;
516
- break;
517
- case 59:
518
- case 125:
519
- if (0 === b + n + v + m) {
520
- z++;
521
- break;
522
- }
523
- default:
524
- z++;
525
- y = e.charAt(l);
526
- switch (g) {
527
- case 9:
528
- case 32:
529
- if (0 === n + m + b) switch (x) {
530
- case 44:
531
- case 58:
532
- case 9:
533
- case 32:
534
- y = '';
535
- break;
536
- default:
537
- 32 !== g && (y = ' ');
538
- }
539
- break;
540
- case 0:
541
- y = '\\0';
542
- break;
543
- case 12:
544
- y = '\\f';
545
- break;
546
- case 11:
547
- y = '\\v';
548
- break;
549
- case 38:
550
- 0 === n + b + m && (r = I = 1, y = '\f' + y);
551
- break;
552
- case 108:
553
- if (0 === n + b + m + E && 0 < u) switch (l - u) {
554
- case 2:
555
- 112 === x && 58 === e.charCodeAt(l - 3) && (E = x);
556
- case 8:
557
- 111 === K && (E = K);
558
- }
559
- break;
560
- case 58:
561
- 0 === n + b + m && (u = l);
562
- break;
563
- case 44:
564
- 0 === b + v + n + m && (r = 1, y += '\r');
565
- break;
566
- case 34:
567
- case 39:
568
- 0 === b && (n = n === g ? 0 : 0 === n ? g : n);
569
- break;
570
- case 91:
571
- 0 === n + b + v && m++;
572
- break;
573
- case 93:
574
- 0 === n + b + v && m--;
575
- break;
576
- case 41:
577
- 0 === n + b + m && v--;
578
- break;
579
- case 40:
580
- if (0 === n + b + m) {
581
- if (0 === q) switch (2 * x + 3 * K) {
582
- case 533:
583
- break;
584
- default:
585
- q = 1;
586
- }
587
- v++;
588
- }
589
- break;
590
- case 64:
591
- 0 === b + v + n + m + u + k && (k = 1);
592
- break;
593
- case 42:
594
- case 47:
595
- if (!(0 < n + m + v)) switch (b) {
596
- case 0:
597
- switch (2 * g + 3 * e.charCodeAt(l + 1)) {
598
- case 235:
599
- b = 47;
600
- break;
601
- case 220:
602
- t = l, b = 42;
603
- }
604
- break;
605
- case 42:
606
- 47 === g && 42 === x && t + 2 !== l && (33 === e.charCodeAt(t + 2) && (p += e.substring(t, l + 1)), y = '', b = 0);
607
- }
608
- }
609
- 0 === b && (f += y);
610
- }
611
- K = x;
612
- x = g;
613
- l++;
614
- }
615
- t = p.length;
616
- if (0 < t) {
617
- r = c;
618
- if (0 < A && (C = H(2, p, r, d, D, z, t, h, a, h), void 0 !== C && 0 === (p = C).length)) return G + p + F;
619
- p = r.join(',') + '{' + p + '}';
620
- if (0 !== w * E) {
621
- 2 !== w || L(p, 2) || (E = 0);
622
- switch (E) {
623
- case 111:
624
- p = p.replace(ha, ':-moz-$1') + p;
625
- break;
626
- case 112:
627
- p = p.replace(Q, '::-webkit-input-$1') + p.replace(Q, '::-moz-$1') + p.replace(Q, ':-ms-input-$1') + p;
628
- }
629
- E = 0;
630
- }
631
- }
632
- return G + p + F;
633
- }
634
- function X(d, c, e) {
635
- var h = c.trim().split(ia);
636
- c = h;
637
- var a = h.length,
638
- m = d.length;
639
- switch (m) {
640
- case 0:
641
- case 1:
642
- var b = 0;
643
- for (d = 0 === m ? '' : d[0] + ' '; b < a; ++b) {
644
- c[b] = Z(d, c[b], e).trim();
645
- }
646
- break;
647
- default:
648
- var v = b = 0;
649
- for (c = []; b < a; ++b) {
650
- for (var n = 0; n < m; ++n) {
651
- c[v++] = Z(d[n] + ' ', h[b], e).trim();
652
- }
653
- }
654
- }
655
- return c;
656
- }
657
- function Z(d, c, e) {
658
- var h = c.charCodeAt(0);
659
- 33 > h && (h = (c = c.trim()).charCodeAt(0));
660
- switch (h) {
661
- case 38:
662
- return c.replace(F, '$1' + d.trim());
663
- case 58:
664
- return d.trim() + c.replace(F, '$1' + d.trim());
665
- default:
666
- if (0 < 1 * e && 0 < c.indexOf('\f')) return c.replace(F, (58 === d.charCodeAt(0) ? '' : '$1') + d.trim());
667
- }
668
- return d + c;
669
- }
670
- function P(d, c, e, h) {
671
- var a = d + ';',
672
- m = 2 * c + 3 * e + 4 * h;
673
- if (944 === m) {
674
- d = a.indexOf(':', 9) + 1;
675
- var b = a.substring(d, a.length - 1).trim();
676
- b = a.substring(0, d).trim() + b + ';';
677
- return 1 === w || 2 === w && L(b, 1) ? '-webkit-' + b + b : b;
678
- }
679
- if (0 === w || 2 === w && !L(a, 1)) return a;
680
- switch (m) {
681
- case 1015:
682
- return 97 === a.charCodeAt(10) ? '-webkit-' + a + a : a;
683
- case 951:
684
- return 116 === a.charCodeAt(3) ? '-webkit-' + a + a : a;
685
- case 963:
686
- return 110 === a.charCodeAt(5) ? '-webkit-' + a + a : a;
687
- case 1009:
688
- if (100 !== a.charCodeAt(4)) break;
689
- case 969:
690
- case 942:
691
- return '-webkit-' + a + a;
692
- case 978:
693
- return '-webkit-' + a + '-moz-' + a + a;
694
- case 1019:
695
- case 983:
696
- return '-webkit-' + a + '-moz-' + a + '-ms-' + a + a;
697
- case 883:
698
- if (45 === a.charCodeAt(8)) return '-webkit-' + a + a;
699
- if (0 < a.indexOf('image-set(', 11)) return a.replace(ja, '$1-webkit-$2') + a;
700
- break;
701
- case 932:
702
- if (45 === a.charCodeAt(4)) switch (a.charCodeAt(5)) {
703
- case 103:
704
- return '-webkit-box-' + a.replace('-grow', '') + '-webkit-' + a + '-ms-' + a.replace('grow', 'positive') + a;
705
- case 115:
706
- return '-webkit-' + a + '-ms-' + a.replace('shrink', 'negative') + a;
707
- case 98:
708
- return '-webkit-' + a + '-ms-' + a.replace('basis', 'preferred-size') + a;
709
- }
710
- return '-webkit-' + a + '-ms-' + a + a;
711
- case 964:
712
- return '-webkit-' + a + '-ms-flex-' + a + a;
713
- case 1023:
714
- if (99 !== a.charCodeAt(8)) break;
715
- b = a.substring(a.indexOf(':', 15)).replace('flex-', '').replace('space-between', 'justify');
716
- return '-webkit-box-pack' + b + '-webkit-' + a + '-ms-flex-pack' + b + a;
717
- case 1005:
718
- return ka.test(a) ? a.replace(aa, ':-webkit-') + a.replace(aa, ':-moz-') + a : a;
719
- case 1e3:
720
- b = a.substring(13).trim();
721
- c = b.indexOf('-') + 1;
722
- switch (b.charCodeAt(0) + b.charCodeAt(c)) {
723
- case 226:
724
- b = a.replace(G, 'tb');
725
- break;
726
- case 232:
727
- b = a.replace(G, 'tb-rl');
728
- break;
729
- case 220:
730
- b = a.replace(G, 'lr');
731
- break;
732
- default:
733
- return a;
734
- }
735
- return '-webkit-' + a + '-ms-' + b + a;
736
- case 1017:
737
- if (-1 === a.indexOf('sticky', 9)) break;
738
- case 975:
739
- c = (a = d).length - 10;
740
- b = (33 === a.charCodeAt(c) ? a.substring(0, c) : a).substring(d.indexOf(':', 7) + 1).trim();
741
- switch (m = b.charCodeAt(0) + (b.charCodeAt(7) | 0)) {
742
- case 203:
743
- if (111 > b.charCodeAt(8)) break;
744
- case 115:
745
- a = a.replace(b, '-webkit-' + b) + ';' + a;
746
- break;
747
- case 207:
748
- case 102:
749
- a = a.replace(b, '-webkit-' + (102 < m ? 'inline-' : '') + 'box') + ';' + a.replace(b, '-webkit-' + b) + ';' + a.replace(b, '-ms-' + b + 'box') + ';' + a;
750
- }
751
- return a + ';';
752
- case 938:
753
- if (45 === a.charCodeAt(5)) switch (a.charCodeAt(6)) {
754
- case 105:
755
- return b = a.replace('-items', ''), '-webkit-' + a + '-webkit-box-' + b + '-ms-flex-' + b + a;
756
- case 115:
757
- return '-webkit-' + a + '-ms-flex-item-' + a.replace(ba, '') + a;
758
- default:
759
- return '-webkit-' + a + '-ms-flex-line-pack' + a.replace('align-content', '').replace(ba, '') + a;
760
- }
761
- break;
762
- case 973:
763
- case 989:
764
- if (45 !== a.charCodeAt(3) || 122 === a.charCodeAt(4)) break;
765
- case 931:
766
- case 953:
767
- if (!0 === la.test(d)) return 115 === (b = d.substring(d.indexOf(':') + 1)).charCodeAt(0) ? P(d.replace('stretch', 'fill-available'), c, e, h).replace(':fill-available', ':stretch') : a.replace(b, '-webkit-' + b) + a.replace(b, '-moz-' + b.replace('fill-', '')) + a;
768
- break;
769
- case 962:
770
- if (a = '-webkit-' + a + (102 === a.charCodeAt(5) ? '-ms-' + a : '') + a, 211 === e + h && 105 === a.charCodeAt(13) && 0 < a.indexOf('transform', 10)) return a.substring(0, a.indexOf(';', 27) + 1).replace(ma, '$1-webkit-$2') + a;
771
- }
772
- return a;
773
- }
774
- function L(d, c) {
775
- var e = d.indexOf(1 === c ? ':' : '{'),
776
- h = d.substring(0, 3 !== c ? e : 10);
777
- e = d.substring(e + 1, d.length - 1);
778
- return R(2 !== c ? h : h.replace(na, '$1'), e, c);
779
- }
780
- function ea(d, c) {
781
- var e = P(c, c.charCodeAt(0), c.charCodeAt(1), c.charCodeAt(2));
782
- return e !== c + ';' ? e.replace(oa, ' or ($1)').substring(4) : '(' + c + ')';
783
- }
784
- function H(d, c, e, h, a, m, b, v, n, q) {
785
- for (var g = 0, x = c, w; g < A; ++g) {
786
- switch (w = S[g].call(B, d, x, e, h, a, m, b, v, n, q)) {
787
- case void 0:
788
- case !1:
789
- case !0:
790
- case null:
791
- break;
792
- default:
793
- x = w;
794
- }
795
- }
796
- if (x !== c) return x;
797
- }
798
- function T(d) {
799
- switch (d) {
800
- case void 0:
801
- case null:
802
- A = S.length = 0;
803
- break;
804
- default:
805
- if ('function' === typeof d) S[A++] = d;else if ('object' === typeof d) for (var c = 0, e = d.length; c < e; ++c) {
806
- T(d[c]);
807
- } else Y = !!d | 0;
808
- }
809
- return T;
810
- }
811
- function U(d) {
812
- d = d.prefix;
813
- void 0 !== d && (R = null, d ? 'function' !== typeof d ? w = 1 : (w = 2, R = d) : w = 0);
814
- return U;
815
- }
816
- function B(d, c) {
817
- var e = d;
818
- 33 > e.charCodeAt(0) && (e = e.trim());
819
- V = e;
820
- e = [V];
821
- if (0 < A) {
822
- var h = H(-1, c, e, e, D, z, 0, 0, 0, 0);
823
- void 0 !== h && 'string' === typeof h && (c = h);
824
- }
825
- var a = M(O, e, c, 0, 0);
826
- 0 < A && (h = H(-2, a, e, e, D, z, a.length, 0, 0, 0), void 0 !== h && (a = h));
827
- V = '';
828
- E = 0;
829
- z = D = 1;
830
- return a;
831
- }
832
- var ca = /^\0+/g,
833
- N = /[\0\r\f]/g,
834
- aa = /: */g,
835
- ka = /zoo|gra/,
836
- ma = /([,: ])(transform)/g,
837
- ia = /,\r+?/g,
838
- F = /([\t\r\n ])*\f?&/g,
839
- fa = /@(k\w+)\s*(\S*)\s*/,
840
- Q = /::(place)/g,
841
- ha = /:(read-only)/g,
842
- G = /[svh]\w+-[tblr]{2}/,
843
- da = /\(\s*(.*)\s*\)/g,
844
- oa = /([\s\S]*?);/g,
845
- ba = /-self|flex-/g,
846
- na = /[^]*?(:[rp][el]a[\w-]+)[^]*/,
847
- la = /stretch|:\s*\w+\-(?:conte|avail)/,
848
- ja = /([^-])(image-set\()/,
849
- z = 1,
850
- D = 1,
851
- E = 0,
852
- w = 1,
853
- O = [],
854
- S = [],
855
- A = 0,
856
- R = null,
857
- Y = 0,
858
- V = '';
859
- B.use = T;
860
- B.set = U;
861
- void 0 !== W && U(W);
862
- return B;
863
- }
864
-
865
- var unitlessKeys = {
866
- animationIterationCount: 1,
867
- borderImageOutset: 1,
868
- borderImageSlice: 1,
869
- borderImageWidth: 1,
870
- boxFlex: 1,
871
- boxFlexGroup: 1,
872
- boxOrdinalGroup: 1,
873
- columnCount: 1,
874
- columns: 1,
875
- flex: 1,
876
- flexGrow: 1,
877
- flexPositive: 1,
878
- flexShrink: 1,
879
- flexNegative: 1,
880
- flexOrder: 1,
881
- gridRow: 1,
882
- gridRowEnd: 1,
883
- gridRowSpan: 1,
884
- gridRowStart: 1,
885
- gridColumn: 1,
886
- gridColumnEnd: 1,
887
- gridColumnSpan: 1,
888
- gridColumnStart: 1,
889
- msGridRow: 1,
890
- msGridRowSpan: 1,
891
- msGridColumn: 1,
892
- msGridColumnSpan: 1,
893
- fontWeight: 1,
894
- lineHeight: 1,
895
- opacity: 1,
896
- order: 1,
897
- orphans: 1,
898
- tabSize: 1,
899
- widows: 1,
900
- zIndex: 1,
901
- zoom: 1,
902
- WebkitLineClamp: 1,
903
- // SVG-related properties
904
- fillOpacity: 1,
905
- floodOpacity: 1,
906
- stopOpacity: 1,
907
- strokeDasharray: 1,
908
- strokeDashoffset: 1,
909
- strokeMiterlimit: 1,
910
- strokeOpacity: 1,
911
- strokeWidth: 1
912
- };
913
-
914
- function memoize(fn) {
915
- var cache = Object.create(null);
916
- return function (arg) {
917
- if (cache[arg] === undefined) cache[arg] = fn(arg);
918
- return cache[arg];
919
- };
920
- }
921
-
922
- var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
923
-
924
- var isPropValid = /* #__PURE__ */memoize(function (prop) {
925
- return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
926
- /* o */ && prop.charCodeAt(1) === 110
927
- /* n */ && prop.charCodeAt(2) < 91;
928
- }
929
- /* Z+1 */);
930
-
931
- var reactIs$1 = {exports: {}};
932
-
933
- var reactIs_production_min = {};
934
-
935
- /** @license React v16.13.1
936
- * react-is.production.min.js
937
- *
938
- * Copyright (c) Facebook, Inc. and its affiliates.
939
- *
940
- * This source code is licensed under the MIT license found in the
941
- * LICENSE file in the root directory of this source tree.
942
- */
943
- var hasRequiredReactIs_production_min;
944
- function requireReactIs_production_min() {
945
- if (hasRequiredReactIs_production_min) return reactIs_production_min;
946
- hasRequiredReactIs_production_min = 1;
947
- var b = "function" === typeof Symbol && Symbol.for,
948
- c = b ? Symbol.for("react.element") : 60103,
949
- d = b ? Symbol.for("react.portal") : 60106,
950
- e = b ? Symbol.for("react.fragment") : 60107,
951
- f = b ? Symbol.for("react.strict_mode") : 60108,
952
- g = b ? Symbol.for("react.profiler") : 60114,
953
- h = b ? Symbol.for("react.provider") : 60109,
954
- k = b ? Symbol.for("react.context") : 60110,
955
- l = b ? Symbol.for("react.async_mode") : 60111,
956
- m = b ? Symbol.for("react.concurrent_mode") : 60111,
957
- n = b ? Symbol.for("react.forward_ref") : 60112,
958
- p = b ? Symbol.for("react.suspense") : 60113,
959
- q = b ? Symbol.for("react.suspense_list") : 60120,
960
- r = b ? Symbol.for("react.memo") : 60115,
961
- t = b ? Symbol.for("react.lazy") : 60116,
962
- v = b ? Symbol.for("react.block") : 60121,
963
- w = b ? Symbol.for("react.fundamental") : 60117,
964
- x = b ? Symbol.for("react.responder") : 60118,
965
- y = b ? Symbol.for("react.scope") : 60119;
966
- function z(a) {
967
- if ("object" === typeof a && null !== a) {
968
- var u = a.$$typeof;
969
- switch (u) {
970
- case c:
971
- switch (a = a.type, a) {
972
- case l:
973
- case m:
974
- case e:
975
- case g:
976
- case f:
977
- case p:
978
- return a;
979
- default:
980
- switch (a = a && a.$$typeof, a) {
981
- case k:
982
- case n:
983
- case t:
984
- case r:
985
- case h:
986
- return a;
987
- default:
988
- return u;
989
- }
990
- }
991
- case d:
992
- return u;
993
- }
994
- }
995
- }
996
- function A(a) {
997
- return z(a) === m;
998
- }
999
- reactIs_production_min.AsyncMode = l;
1000
- reactIs_production_min.ConcurrentMode = m;
1001
- reactIs_production_min.ContextConsumer = k;
1002
- reactIs_production_min.ContextProvider = h;
1003
- reactIs_production_min.Element = c;
1004
- reactIs_production_min.ForwardRef = n;
1005
- reactIs_production_min.Fragment = e;
1006
- reactIs_production_min.Lazy = t;
1007
- reactIs_production_min.Memo = r;
1008
- reactIs_production_min.Portal = d;
1009
- reactIs_production_min.Profiler = g;
1010
- reactIs_production_min.StrictMode = f;
1011
- reactIs_production_min.Suspense = p;
1012
- reactIs_production_min.isAsyncMode = function (a) {
1013
- return A(a) || z(a) === l;
1014
- };
1015
- reactIs_production_min.isConcurrentMode = A;
1016
- reactIs_production_min.isContextConsumer = function (a) {
1017
- return z(a) === k;
1018
- };
1019
- reactIs_production_min.isContextProvider = function (a) {
1020
- return z(a) === h;
1021
- };
1022
- reactIs_production_min.isElement = function (a) {
1023
- return "object" === typeof a && null !== a && a.$$typeof === c;
1024
- };
1025
- reactIs_production_min.isForwardRef = function (a) {
1026
- return z(a) === n;
1027
- };
1028
- reactIs_production_min.isFragment = function (a) {
1029
- return z(a) === e;
1030
- };
1031
- reactIs_production_min.isLazy = function (a) {
1032
- return z(a) === t;
1033
- };
1034
- reactIs_production_min.isMemo = function (a) {
1035
- return z(a) === r;
1036
- };
1037
- reactIs_production_min.isPortal = function (a) {
1038
- return z(a) === d;
1039
- };
1040
- reactIs_production_min.isProfiler = function (a) {
1041
- return z(a) === g;
1042
- };
1043
- reactIs_production_min.isStrictMode = function (a) {
1044
- return z(a) === f;
1045
- };
1046
- reactIs_production_min.isSuspense = function (a) {
1047
- return z(a) === p;
1048
- };
1049
- reactIs_production_min.isValidElementType = function (a) {
1050
- return "string" === typeof a || "function" === typeof a || a === e || a === m || a === g || a === f || a === p || a === q || "object" === typeof a && null !== a && (a.$$typeof === t || a.$$typeof === r || a.$$typeof === h || a.$$typeof === k || a.$$typeof === n || a.$$typeof === w || a.$$typeof === x || a.$$typeof === y || a.$$typeof === v);
1051
- };
1052
- reactIs_production_min.typeOf = z;
1053
- return reactIs_production_min;
1054
- }
1055
-
1056
- var reactIs_development = {};
1057
-
1058
- /** @license React v16.13.1
1059
- * react-is.development.js
1060
- *
1061
- * Copyright (c) Facebook, Inc. and its affiliates.
1062
- *
1063
- * This source code is licensed under the MIT license found in the
1064
- * LICENSE file in the root directory of this source tree.
1065
- */
1066
- var hasRequiredReactIs_development;
1067
- function requireReactIs_development() {
1068
- if (hasRequiredReactIs_development) return reactIs_development;
1069
- hasRequiredReactIs_development = 1;
1070
- if (process.env.NODE_ENV !== "production") {
1071
- (function () {
1072
-
1073
- // The Symbol used to tag the ReactElement-like types. If there is no native Symbol
1074
- // nor polyfill, then a plain number is used for performance.
1075
- var hasSymbol = typeof Symbol === 'function' && Symbol.for;
1076
- var REACT_ELEMENT_TYPE = hasSymbol ? Symbol.for('react.element') : 0xeac7;
1077
- var REACT_PORTAL_TYPE = hasSymbol ? Symbol.for('react.portal') : 0xeaca;
1078
- var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol.for('react.fragment') : 0xeacb;
1079
- var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol.for('react.strict_mode') : 0xeacc;
1080
- var REACT_PROFILER_TYPE = hasSymbol ? Symbol.for('react.profiler') : 0xead2;
1081
- var REACT_PROVIDER_TYPE = hasSymbol ? Symbol.for('react.provider') : 0xeacd;
1082
- var REACT_CONTEXT_TYPE = hasSymbol ? Symbol.for('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
1083
- // (unstable) APIs that have been removed. Can we remove the symbols?
1084
-
1085
- var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol.for('react.async_mode') : 0xeacf;
1086
- var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol.for('react.concurrent_mode') : 0xeacf;
1087
- var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol.for('react.forward_ref') : 0xead0;
1088
- var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol.for('react.suspense') : 0xead1;
1089
- var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol.for('react.suspense_list') : 0xead8;
1090
- var REACT_MEMO_TYPE = hasSymbol ? Symbol.for('react.memo') : 0xead3;
1091
- var REACT_LAZY_TYPE = hasSymbol ? Symbol.for('react.lazy') : 0xead4;
1092
- var REACT_BLOCK_TYPE = hasSymbol ? Symbol.for('react.block') : 0xead9;
1093
- var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol.for('react.fundamental') : 0xead5;
1094
- var REACT_RESPONDER_TYPE = hasSymbol ? Symbol.for('react.responder') : 0xead6;
1095
- var REACT_SCOPE_TYPE = hasSymbol ? Symbol.for('react.scope') : 0xead7;
1096
- function isValidElementType(type) {
1097
- return typeof type === 'string' || typeof type === 'function' ||
1098
- // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1099
- type === REACT_FRAGMENT_TYPE || type === REACT_CONCURRENT_MODE_TYPE || type === REACT_PROFILER_TYPE || type === REACT_STRICT_MODE_TYPE || type === REACT_SUSPENSE_TYPE || type === REACT_SUSPENSE_LIST_TYPE || typeof type === 'object' && type !== null && (type.$$typeof === REACT_LAZY_TYPE || type.$$typeof === REACT_MEMO_TYPE || type.$$typeof === REACT_PROVIDER_TYPE || type.$$typeof === REACT_CONTEXT_TYPE || type.$$typeof === REACT_FORWARD_REF_TYPE || type.$$typeof === REACT_FUNDAMENTAL_TYPE || type.$$typeof === REACT_RESPONDER_TYPE || type.$$typeof === REACT_SCOPE_TYPE || type.$$typeof === REACT_BLOCK_TYPE);
1100
- }
1101
- function typeOf(object) {
1102
- if (typeof object === 'object' && object !== null) {
1103
- var $$typeof = object.$$typeof;
1104
- switch ($$typeof) {
1105
- case REACT_ELEMENT_TYPE:
1106
- var type = object.type;
1107
- switch (type) {
1108
- case REACT_ASYNC_MODE_TYPE:
1109
- case REACT_CONCURRENT_MODE_TYPE:
1110
- case REACT_FRAGMENT_TYPE:
1111
- case REACT_PROFILER_TYPE:
1112
- case REACT_STRICT_MODE_TYPE:
1113
- case REACT_SUSPENSE_TYPE:
1114
- return type;
1115
- default:
1116
- var $$typeofType = type && type.$$typeof;
1117
- switch ($$typeofType) {
1118
- case REACT_CONTEXT_TYPE:
1119
- case REACT_FORWARD_REF_TYPE:
1120
- case REACT_LAZY_TYPE:
1121
- case REACT_MEMO_TYPE:
1122
- case REACT_PROVIDER_TYPE:
1123
- return $$typeofType;
1124
- default:
1125
- return $$typeof;
1126
- }
1127
- }
1128
- case REACT_PORTAL_TYPE:
1129
- return $$typeof;
1130
- }
1131
- }
1132
- return undefined;
1133
- } // AsyncMode is deprecated along with isAsyncMode
1134
-
1135
- var AsyncMode = REACT_ASYNC_MODE_TYPE;
1136
- var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
1137
- var ContextConsumer = REACT_CONTEXT_TYPE;
1138
- var ContextProvider = REACT_PROVIDER_TYPE;
1139
- var Element = REACT_ELEMENT_TYPE;
1140
- var ForwardRef = REACT_FORWARD_REF_TYPE;
1141
- var Fragment = REACT_FRAGMENT_TYPE;
1142
- var Lazy = REACT_LAZY_TYPE;
1143
- var Memo = REACT_MEMO_TYPE;
1144
- var Portal = REACT_PORTAL_TYPE;
1145
- var Profiler = REACT_PROFILER_TYPE;
1146
- var StrictMode = REACT_STRICT_MODE_TYPE;
1147
- var Suspense = REACT_SUSPENSE_TYPE;
1148
- var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
1149
-
1150
- function isAsyncMode(object) {
1151
- {
1152
- if (!hasWarnedAboutDeprecatedIsAsyncMode) {
1153
- hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
1154
-
1155
- console['warn']('The ReactIs.isAsyncMode() alias has been deprecated, ' + 'and will be removed in React 17+. Update your code to use ' + 'ReactIs.isConcurrentMode() instead. It has the exact same API.');
1156
- }
1157
- }
1158
- return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
1159
- }
1160
- function isConcurrentMode(object) {
1161
- return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
1162
- }
1163
- function isContextConsumer(object) {
1164
- return typeOf(object) === REACT_CONTEXT_TYPE;
1165
- }
1166
- function isContextProvider(object) {
1167
- return typeOf(object) === REACT_PROVIDER_TYPE;
1168
- }
1169
- function isElement(object) {
1170
- return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
1171
- }
1172
- function isForwardRef(object) {
1173
- return typeOf(object) === REACT_FORWARD_REF_TYPE;
1174
- }
1175
- function isFragment(object) {
1176
- return typeOf(object) === REACT_FRAGMENT_TYPE;
1177
- }
1178
- function isLazy(object) {
1179
- return typeOf(object) === REACT_LAZY_TYPE;
1180
- }
1181
- function isMemo(object) {
1182
- return typeOf(object) === REACT_MEMO_TYPE;
1183
- }
1184
- function isPortal(object) {
1185
- return typeOf(object) === REACT_PORTAL_TYPE;
1186
- }
1187
- function isProfiler(object) {
1188
- return typeOf(object) === REACT_PROFILER_TYPE;
1189
- }
1190
- function isStrictMode(object) {
1191
- return typeOf(object) === REACT_STRICT_MODE_TYPE;
1192
- }
1193
- function isSuspense(object) {
1194
- return typeOf(object) === REACT_SUSPENSE_TYPE;
1195
- }
1196
- reactIs_development.AsyncMode = AsyncMode;
1197
- reactIs_development.ConcurrentMode = ConcurrentMode;
1198
- reactIs_development.ContextConsumer = ContextConsumer;
1199
- reactIs_development.ContextProvider = ContextProvider;
1200
- reactIs_development.Element = Element;
1201
- reactIs_development.ForwardRef = ForwardRef;
1202
- reactIs_development.Fragment = Fragment;
1203
- reactIs_development.Lazy = Lazy;
1204
- reactIs_development.Memo = Memo;
1205
- reactIs_development.Portal = Portal;
1206
- reactIs_development.Profiler = Profiler;
1207
- reactIs_development.StrictMode = StrictMode;
1208
- reactIs_development.Suspense = Suspense;
1209
- reactIs_development.isAsyncMode = isAsyncMode;
1210
- reactIs_development.isConcurrentMode = isConcurrentMode;
1211
- reactIs_development.isContextConsumer = isContextConsumer;
1212
- reactIs_development.isContextProvider = isContextProvider;
1213
- reactIs_development.isElement = isElement;
1214
- reactIs_development.isForwardRef = isForwardRef;
1215
- reactIs_development.isFragment = isFragment;
1216
- reactIs_development.isLazy = isLazy;
1217
- reactIs_development.isMemo = isMemo;
1218
- reactIs_development.isPortal = isPortal;
1219
- reactIs_development.isProfiler = isProfiler;
1220
- reactIs_development.isStrictMode = isStrictMode;
1221
- reactIs_development.isSuspense = isSuspense;
1222
- reactIs_development.isValidElementType = isValidElementType;
1223
- reactIs_development.typeOf = typeOf;
1224
- })();
1225
- }
1226
- return reactIs_development;
1227
- }
1228
-
1229
- if (process.env.NODE_ENV === 'production') {
1230
- reactIs$1.exports = requireReactIs_production_min();
1231
- } else {
1232
- reactIs$1.exports = requireReactIs_development();
1233
- }
1234
- var reactIsExports = reactIs$1.exports;
1235
-
1236
- var reactIs = reactIsExports;
1237
-
1238
- /**
1239
- * Copyright 2015, Yahoo! Inc.
1240
- * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.
1241
- */
1242
- var REACT_STATICS = {
1243
- childContextTypes: true,
1244
- contextType: true,
1245
- contextTypes: true,
1246
- defaultProps: true,
1247
- displayName: true,
1248
- getDefaultProps: true,
1249
- getDerivedStateFromError: true,
1250
- getDerivedStateFromProps: true,
1251
- mixins: true,
1252
- propTypes: true,
1253
- type: true
1254
- };
1255
- var KNOWN_STATICS = {
1256
- name: true,
1257
- length: true,
1258
- prototype: true,
1259
- caller: true,
1260
- callee: true,
1261
- arguments: true,
1262
- arity: true
1263
- };
1264
- var FORWARD_REF_STATICS = {
1265
- '$$typeof': true,
1266
- render: true,
1267
- defaultProps: true,
1268
- displayName: true,
1269
- propTypes: true
1270
- };
1271
- var MEMO_STATICS = {
1272
- '$$typeof': true,
1273
- compare: true,
1274
- defaultProps: true,
1275
- displayName: true,
1276
- propTypes: true,
1277
- type: true
1278
- };
1279
- var TYPE_STATICS = {};
1280
- TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
1281
- TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
1282
- function getStatics(component) {
1283
- // React v16.11 and below
1284
- if (reactIs.isMemo(component)) {
1285
- return MEMO_STATICS;
1286
- } // React v16.12 and above
1287
-
1288
- return TYPE_STATICS[component['$$typeof']] || REACT_STATICS;
1289
- }
1290
- var defineProperty = Object.defineProperty;
1291
- var getOwnPropertyNames = Object.getOwnPropertyNames;
1292
- var getOwnPropertySymbols = Object.getOwnPropertySymbols;
1293
- var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
1294
- var getPrototypeOf = Object.getPrototypeOf;
1295
- var objectPrototype = Object.prototype;
1296
- function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
1297
- if (typeof sourceComponent !== 'string') {
1298
- // don't hoist over string (html) components
1299
- if (objectPrototype) {
1300
- var inheritedComponent = getPrototypeOf(sourceComponent);
1301
- if (inheritedComponent && inheritedComponent !== objectPrototype) {
1302
- hoistNonReactStatics(targetComponent, inheritedComponent, blacklist);
1303
- }
1304
- }
1305
- var keys = getOwnPropertyNames(sourceComponent);
1306
- if (getOwnPropertySymbols) {
1307
- keys = keys.concat(getOwnPropertySymbols(sourceComponent));
1308
- }
1309
- var targetStatics = getStatics(targetComponent);
1310
- var sourceStatics = getStatics(sourceComponent);
1311
- for (var i = 0; i < keys.length; ++i) {
1312
- var key = keys[i];
1313
- if (!KNOWN_STATICS[key] && !(blacklist && blacklist[key]) && !(sourceStatics && sourceStatics[key]) && !(targetStatics && targetStatics[key])) {
1314
- var descriptor = getOwnPropertyDescriptor(sourceComponent, key);
1315
- try {
1316
- // Avoid failures from read-only properties
1317
- defineProperty(targetComponent, key, descriptor);
1318
- } catch (e) {}
1319
- }
1320
- }
1321
- }
1322
- return targetComponent;
1323
- }
1324
- var hoistNonReactStatics_cjs = hoistNonReactStatics;
1325
- var m = /*@__PURE__*/getDefaultExportFromCjs(hoistNonReactStatics_cjs);
1326
-
1327
- function y() {
1328
- return (y = Object.assign || function (e) {
1329
- for (var t = 1; t < arguments.length; t++) {
1330
- var n = arguments[t];
1331
- for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
1332
- }
1333
- return e;
1334
- }).apply(this, arguments);
1335
- }
1336
- var v = function (e, t) {
1337
- for (var n = [e[0]], r = 0, o = t.length; r < o; r += 1) n.push(t[r], e[r + 1]);
1338
- return n;
1339
- },
1340
- g = function (t) {
1341
- return null !== t && "object" == typeof t && "[object Object]" === (t.toString ? t.toString() : Object.prototype.toString.call(t)) && !reactIsExports$1.typeOf(t);
1342
- },
1343
- S = Object.freeze([]),
1344
- w = Object.freeze({});
1345
- function E(e) {
1346
- return "function" == typeof e;
1347
- }
1348
- function b(e) {
1349
- return "production" !== process.env.NODE_ENV && "string" == typeof e && e || e.displayName || e.name || "Component";
1350
- }
1351
- function _(e) {
1352
- return e && "string" == typeof e.styledComponentId;
1353
- }
1354
- var N = "undefined" != typeof process && (process.env.REACT_APP_SC_ATTR || process.env.SC_ATTR) || "data-styled",
1355
- C = "undefined" != typeof window && "HTMLElement" in window,
1356
- I = Boolean("boolean" == typeof SC_DISABLE_SPEEDY ? SC_DISABLE_SPEEDY : "undefined" != typeof process && void 0 !== process.env.REACT_APP_SC_DISABLE_SPEEDY && "" !== process.env.REACT_APP_SC_DISABLE_SPEEDY ? "false" !== process.env.REACT_APP_SC_DISABLE_SPEEDY && process.env.REACT_APP_SC_DISABLE_SPEEDY : "undefined" != typeof process && void 0 !== process.env.SC_DISABLE_SPEEDY && "" !== process.env.SC_DISABLE_SPEEDY ? "false" !== process.env.SC_DISABLE_SPEEDY && process.env.SC_DISABLE_SPEEDY : "production" !== process.env.NODE_ENV),
1357
- O = "production" !== process.env.NODE_ENV ? {
1358
- 1: "Cannot create styled-component for component: %s.\n\n",
1359
- 2: "Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",
1360
- 3: "Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",
1361
- 4: "The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",
1362
- 5: "The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",
1363
- 6: "Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",
1364
- 7: 'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',
1365
- 8: 'ThemeProvider: Please make your "theme" prop an object.\n\n',
1366
- 9: "Missing document `<head>`\n\n",
1367
- 10: "Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",
1368
- 11: "_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",
1369
- 12: "It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",
1370
- 13: "%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",
1371
- 14: 'ThemeProvider: "theme" prop is required.\n\n',
1372
- 15: "A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",
1373
- 16: "Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",
1374
- 17: "CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n"
1375
- } : {};
1376
- function R() {
1377
- for (var e = arguments.length <= 0 ? void 0 : arguments[0], t = [], n = 1, r = arguments.length; n < r; n += 1) t.push(n < 0 || arguments.length <= n ? void 0 : arguments[n]);
1378
- return t.forEach(function (t) {
1379
- e = e.replace(/%[a-z]/, t);
1380
- }), e;
1381
- }
1382
- function D(e) {
1383
- for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r];
1384
- throw "production" === process.env.NODE_ENV ? new Error("An error occurred. See https://git.io/JUIaE#" + e + " for more information." + (n.length > 0 ? " Args: " + n.join(", ") : "")) : new Error(R.apply(void 0, [O[e]].concat(n)).trim());
1385
- }
1386
- var j = function () {
1387
- function e(e) {
1388
- this.groupSizes = new Uint32Array(512), this.length = 512, this.tag = e;
1389
- }
1390
- var t = e.prototype;
1391
- return t.indexOfGroup = function (e) {
1392
- for (var t = 0, n = 0; n < e; n++) t += this.groupSizes[n];
1393
- return t;
1394
- }, t.insertRules = function (e, t) {
1395
- if (e >= this.groupSizes.length) {
1396
- for (var n = this.groupSizes, r = n.length, o = r; e >= o;) (o <<= 1) < 0 && D(16, "" + e);
1397
- this.groupSizes = new Uint32Array(o), this.groupSizes.set(n), this.length = o;
1398
- for (var s = r; s < o; s++) this.groupSizes[s] = 0;
1399
- }
1400
- for (var i = this.indexOfGroup(e + 1), a = 0, c = t.length; a < c; a++) this.tag.insertRule(i, t[a]) && (this.groupSizes[e]++, i++);
1401
- }, t.clearGroup = function (e) {
1402
- if (e < this.length) {
1403
- var t = this.groupSizes[e],
1404
- n = this.indexOfGroup(e),
1405
- r = n + t;
1406
- this.groupSizes[e] = 0;
1407
- for (var o = n; o < r; o++) this.tag.deleteRule(n);
1408
- }
1409
- }, t.getGroup = function (e) {
1410
- var t = "";
1411
- if (e >= this.length || 0 === this.groupSizes[e]) return t;
1412
- for (var n = this.groupSizes[e], r = this.indexOfGroup(e), o = r + n, s = r; s < o; s++) t += this.tag.getRule(s) + "/*!sc*/\n";
1413
- return t;
1414
- }, e;
1415
- }(),
1416
- T = new Map(),
1417
- x = new Map(),
1418
- k = 1,
1419
- V = function (e) {
1420
- if (T.has(e)) return T.get(e);
1421
- for (; x.has(k);) k++;
1422
- var t = k++;
1423
- return "production" !== process.env.NODE_ENV && ((0 | t) < 0 || t > 1 << 30) && D(16, "" + t), T.set(e, t), x.set(t, e), t;
1424
- },
1425
- z = function (e) {
1426
- return x.get(e);
1427
- },
1428
- B = function (e, t) {
1429
- t >= k && (k = t + 1), T.set(e, t), x.set(t, e);
1430
- },
1431
- M = "style[" + N + '][data-styled-version="5.3.6"]',
1432
- G = new RegExp("^" + N + '\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),
1433
- L = function (e, t, n) {
1434
- for (var r, o = n.split(","), s = 0, i = o.length; s < i; s++) (r = o[s]) && e.registerName(t, r);
1435
- },
1436
- F = function (e, t) {
1437
- for (var n = (t.textContent || "").split("/*!sc*/\n"), r = [], o = 0, s = n.length; o < s; o++) {
1438
- var i = n[o].trim();
1439
- if (i) {
1440
- var a = i.match(G);
1441
- if (a) {
1442
- var c = 0 | parseInt(a[1], 10),
1443
- u = a[2];
1444
- 0 !== c && (B(u, c), L(e, u, a[3]), e.getTag().insertRules(c, r)), r.length = 0;
1445
- } else r.push(i);
1446
- }
1447
- }
1448
- },
1449
- Y = function () {
1450
- return "undefined" != typeof __webpack_nonce__ ? __webpack_nonce__ : null;
1451
- },
1452
- q = function (e) {
1453
- var t = document.head,
1454
- n = e || t,
1455
- r = document.createElement("style"),
1456
- o = function (e) {
1457
- for (var t = e.childNodes, n = t.length; n >= 0; n--) {
1458
- var r = t[n];
1459
- if (r && 1 === r.nodeType && r.hasAttribute(N)) return r;
1460
- }
1461
- }(n),
1462
- s = void 0 !== o ? o.nextSibling : null;
1463
- r.setAttribute(N, "active"), r.setAttribute("data-styled-version", "5.3.6");
1464
- var i = Y();
1465
- return i && r.setAttribute("nonce", i), n.insertBefore(r, s), r;
1466
- },
1467
- H = function () {
1468
- function e(e) {
1469
- var t = this.element = q(e);
1470
- t.appendChild(document.createTextNode("")), this.sheet = function (e) {
1471
- if (e.sheet) return e.sheet;
1472
- for (var t = document.styleSheets, n = 0, r = t.length; n < r; n++) {
1473
- var o = t[n];
1474
- if (o.ownerNode === e) return o;
1475
- }
1476
- D(17);
1477
- }(t), this.length = 0;
1478
- }
1479
- var t = e.prototype;
1480
- return t.insertRule = function (e, t) {
1481
- try {
1482
- return this.sheet.insertRule(t, e), this.length++, !0;
1483
- } catch (e) {
1484
- return !1;
1485
- }
1486
- }, t.deleteRule = function (e) {
1487
- this.sheet.deleteRule(e), this.length--;
1488
- }, t.getRule = function (e) {
1489
- var t = this.sheet.cssRules[e];
1490
- return void 0 !== t && "string" == typeof t.cssText ? t.cssText : "";
1491
- }, e;
1492
- }(),
1493
- $ = function () {
1494
- function e(e) {
1495
- var t = this.element = q(e);
1496
- this.nodes = t.childNodes, this.length = 0;
1497
- }
1498
- var t = e.prototype;
1499
- return t.insertRule = function (e, t) {
1500
- if (e <= this.length && e >= 0) {
1501
- var n = document.createTextNode(t),
1502
- r = this.nodes[e];
1503
- return this.element.insertBefore(n, r || null), this.length++, !0;
1504
- }
1505
- return !1;
1506
- }, t.deleteRule = function (e) {
1507
- this.element.removeChild(this.nodes[e]), this.length--;
1508
- }, t.getRule = function (e) {
1509
- return e < this.length ? this.nodes[e].textContent : "";
1510
- }, e;
1511
- }(),
1512
- W = function () {
1513
- function e(e) {
1514
- this.rules = [], this.length = 0;
1515
- }
1516
- var t = e.prototype;
1517
- return t.insertRule = function (e, t) {
1518
- return e <= this.length && (this.rules.splice(e, 0, t), this.length++, !0);
1519
- }, t.deleteRule = function (e) {
1520
- this.rules.splice(e, 1), this.length--;
1521
- }, t.getRule = function (e) {
1522
- return e < this.length ? this.rules[e] : "";
1523
- }, e;
1524
- }(),
1525
- U = C,
1526
- J = {
1527
- isServer: !C,
1528
- useCSSOMInjection: !I
1529
- },
1530
- X = function () {
1531
- function e(e, t, n) {
1532
- void 0 === e && (e = w), void 0 === t && (t = {}), this.options = y({}, J, {}, e), this.gs = t, this.names = new Map(n), this.server = !!e.isServer, !this.server && C && U && (U = !1, function (e) {
1533
- for (var t = document.querySelectorAll(M), n = 0, r = t.length; n < r; n++) {
1534
- var o = t[n];
1535
- o && "active" !== o.getAttribute(N) && (F(e, o), o.parentNode && o.parentNode.removeChild(o));
1536
- }
1537
- }(this));
1538
- }
1539
- e.registerId = function (e) {
1540
- return V(e);
1541
- };
1542
- var t = e.prototype;
1543
- return t.reconstructWithOptions = function (t, n) {
1544
- return void 0 === n && (n = !0), new e(y({}, this.options, {}, t), this.gs, n && this.names || void 0);
1545
- }, t.allocateGSInstance = function (e) {
1546
- return this.gs[e] = (this.gs[e] || 0) + 1;
1547
- }, t.getTag = function () {
1548
- return this.tag || (this.tag = (n = (t = this.options).isServer, r = t.useCSSOMInjection, o = t.target, e = n ? new W(o) : r ? new H(o) : new $(o), new j(e)));
1549
- var e, t, n, r, o;
1550
- }, t.hasNameForId = function (e, t) {
1551
- return this.names.has(e) && this.names.get(e).has(t);
1552
- }, t.registerName = function (e, t) {
1553
- if (V(e), this.names.has(e)) this.names.get(e).add(t);else {
1554
- var n = new Set();
1555
- n.add(t), this.names.set(e, n);
1556
- }
1557
- }, t.insertRules = function (e, t, n) {
1558
- this.registerName(e, t), this.getTag().insertRules(V(e), n);
1559
- }, t.clearNames = function (e) {
1560
- this.names.has(e) && this.names.get(e).clear();
1561
- }, t.clearRules = function (e) {
1562
- this.getTag().clearGroup(V(e)), this.clearNames(e);
1563
- }, t.clearTag = function () {
1564
- this.tag = void 0;
1565
- }, t.toString = function () {
1566
- return function (e) {
1567
- for (var t = e.getTag(), n = t.length, r = "", o = 0; o < n; o++) {
1568
- var s = z(o);
1569
- if (void 0 !== s) {
1570
- var i = e.names.get(s),
1571
- a = t.getGroup(o);
1572
- if (i && a && i.size) {
1573
- var c = N + ".g" + o + '[id="' + s + '"]',
1574
- u = "";
1575
- void 0 !== i && i.forEach(function (e) {
1576
- e.length > 0 && (u += e + ",");
1577
- }), r += "" + a + c + '{content:"' + u + '"}/*!sc*/\n';
1578
- }
1579
- }
1580
- }
1581
- return r;
1582
- }(this);
1583
- }, e;
1584
- }(),
1585
- Z = /(a)(d)/gi,
1586
- K = function (e) {
1587
- return String.fromCharCode(e + (e > 25 ? 39 : 97));
1588
- };
1589
- function Q(e) {
1590
- var t,
1591
- n = "";
1592
- for (t = Math.abs(e); t > 52; t = t / 52 | 0) n = K(t % 52) + n;
1593
- return (K(t % 52) + n).replace(Z, "$1-$2");
1594
- }
1595
- var ee = function (e, t) {
1596
- for (var n = t.length; n;) e = 33 * e ^ t.charCodeAt(--n);
1597
- return e;
1598
- },
1599
- te = function (e) {
1600
- return ee(5381, e);
1601
- };
1602
- function ne(e) {
1603
- for (var t = 0; t < e.length; t += 1) {
1604
- var n = e[t];
1605
- if (E(n) && !_(n)) return !1;
1606
- }
1607
- return !0;
1608
- }
1609
- var re = te("5.3.6"),
1610
- oe = function () {
1611
- function e(e, t, n) {
1612
- this.rules = e, this.staticRulesId = "", this.isStatic = "production" === process.env.NODE_ENV && (void 0 === n || n.isStatic) && ne(e), this.componentId = t, this.baseHash = ee(re, t), this.baseStyle = n, X.registerId(t);
1613
- }
1614
- return e.prototype.generateAndInjectStyles = function (e, t, n) {
1615
- var r = this.componentId,
1616
- o = [];
1617
- if (this.baseStyle && o.push(this.baseStyle.generateAndInjectStyles(e, t, n)), this.isStatic && !n.hash) {
1618
- if (this.staticRulesId && t.hasNameForId(r, this.staticRulesId)) o.push(this.staticRulesId);else {
1619
- var s = _e(this.rules, e, t, n).join(""),
1620
- i = Q(ee(this.baseHash, s) >>> 0);
1621
- if (!t.hasNameForId(r, i)) {
1622
- var a = n(s, "." + i, void 0, r);
1623
- t.insertRules(r, i, a);
1624
- }
1625
- o.push(i), this.staticRulesId = i;
1626
- }
1627
- } else {
1628
- for (var c = this.rules.length, u = ee(this.baseHash, n.hash), l = "", d = 0; d < c; d++) {
1629
- var h = this.rules[d];
1630
- if ("string" == typeof h) l += h, "production" !== process.env.NODE_ENV && (u = ee(u, h + d));else if (h) {
1631
- var p = _e(h, e, t, n),
1632
- f = Array.isArray(p) ? p.join("") : p;
1633
- u = ee(u, f + d), l += f;
1634
- }
1635
- }
1636
- if (l) {
1637
- var m = Q(u >>> 0);
1638
- if (!t.hasNameForId(r, m)) {
1639
- var y = n(l, "." + m, void 0, r);
1640
- t.insertRules(r, m, y);
1641
- }
1642
- o.push(m);
1643
- }
1644
- }
1645
- return o.join(" ");
1646
- }, e;
1647
- }(),
1648
- se = /^\s*\/\/.*$/gm,
1649
- ie = [":", "[", ".", "#"];
1650
- function ae(e) {
1651
- var t,
1652
- n,
1653
- r,
1654
- o,
1655
- s = void 0 === e ? w : e,
1656
- i = s.options,
1657
- a = void 0 === i ? w : i,
1658
- c = s.plugins,
1659
- u = void 0 === c ? S : c,
1660
- l = new stylis_min(a),
1661
- d = [],
1662
- p = function (e) {
1663
- function t(t) {
1664
- if (t) try {
1665
- e(t + "}");
1666
- } catch (e) {}
1667
- }
1668
- return function (n, r, o, s, i, a, c, u, l, d) {
1669
- switch (n) {
1670
- case 1:
1671
- if (0 === l && 64 === r.charCodeAt(0)) return e(r + ";"), "";
1672
- break;
1673
- case 2:
1674
- if (0 === u) return r + "/*|*/";
1675
- break;
1676
- case 3:
1677
- switch (u) {
1678
- case 102:
1679
- case 112:
1680
- return e(o[0] + r), "";
1681
- default:
1682
- return r + (0 === d ? "/*|*/" : "");
1683
- }
1684
- case -2:
1685
- r.split("/*|*/}").forEach(t);
1686
- }
1687
- };
1688
- }(function (e) {
1689
- d.push(e);
1690
- }),
1691
- f = function (e, r, s) {
1692
- return 0 === r && -1 !== ie.indexOf(s[n.length]) || s.match(o) ? e : "." + t;
1693
- };
1694
- function m(e, s, i, a) {
1695
- void 0 === a && (a = "&");
1696
- var c = e.replace(se, ""),
1697
- u = s && i ? i + " " + s + " { " + c + " }" : c;
1698
- return t = a, n = s, r = new RegExp("\\" + n + "\\b", "g"), o = new RegExp("(\\" + n + "\\b){2,}"), l(i || !s ? "" : s, u);
1699
- }
1700
- return l.use([].concat(u, [function (e, t, o) {
1701
- 2 === e && o.length && o[0].lastIndexOf(n) > 0 && (o[0] = o[0].replace(r, f));
1702
- }, p, function (e) {
1703
- if (-2 === e) {
1704
- var t = d;
1705
- return d = [], t;
1706
- }
1707
- }])), m.hash = u.length ? u.reduce(function (e, t) {
1708
- return t.name || D(15), ee(e, t.name);
1709
- }, 5381).toString() : "", m;
1710
- }
1711
- var ce = React.createContext();
1712
- ce.Consumer;
1713
- var le = React.createContext(),
1714
- de = (le.Consumer, new X()),
1715
- he = ae();
1716
- function pe() {
1717
- return useContext(ce) || de;
1718
- }
1719
- function fe() {
1720
- return useContext(le) || he;
1721
- }
1722
- var ye = function () {
1723
- function e(e, t) {
1724
- var n = this;
1725
- this.inject = function (e, t) {
1726
- void 0 === t && (t = he);
1727
- var r = n.name + t.hash;
1728
- e.hasNameForId(n.id, r) || e.insertRules(n.id, r, t(n.rules, r, "@keyframes"));
1729
- }, this.toString = function () {
1730
- return D(12, String(n.name));
1731
- }, this.name = e, this.id = "sc-keyframes-" + e, this.rules = t;
1732
- }
1733
- return e.prototype.getName = function (e) {
1734
- return void 0 === e && (e = he), this.name + e.hash;
1735
- }, e;
1736
- }(),
1737
- ve = /([A-Z])/,
1738
- ge = /([A-Z])/g,
1739
- Se = /^ms-/,
1740
- we = function (e) {
1741
- return "-" + e.toLowerCase();
1742
- };
1743
- function Ee(e) {
1744
- return ve.test(e) ? e.replace(ge, we).replace(Se, "-ms-") : e;
1745
- }
1746
- var be = function (e) {
1747
- return null == e || !1 === e || "" === e;
1748
- };
1749
- function _e(e, n, r, o) {
1750
- if (Array.isArray(e)) {
1751
- for (var s, i = [], a = 0, c = e.length; a < c; a += 1) "" !== (s = _e(e[a], n, r, o)) && (Array.isArray(s) ? i.push.apply(i, s) : i.push(s));
1752
- return i;
1753
- }
1754
- if (be(e)) return "";
1755
- if (_(e)) return "." + e.styledComponentId;
1756
- if (E(e)) {
1757
- if ("function" != typeof (l = e) || l.prototype && l.prototype.isReactComponent || !n) return e;
1758
- var u = e(n);
1759
- return "production" !== process.env.NODE_ENV && reactIsExports$1.isElement(u) && console.warn(b(e) + " is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details."), _e(u, n, r, o);
1760
- }
1761
- var l;
1762
- return e instanceof ye ? r ? (e.inject(r, o), e.getName(o)) : e : g(e) ? function e(t, n) {
1763
- var r,
1764
- o,
1765
- s = [];
1766
- for (var i in t) t.hasOwnProperty(i) && !be(t[i]) && (Array.isArray(t[i]) && t[i].isCss || E(t[i]) ? s.push(Ee(i) + ":", t[i], ";") : g(t[i]) ? s.push.apply(s, e(t[i], i)) : s.push(Ee(i) + ": " + (r = i, null == (o = t[i]) || "boolean" == typeof o || "" === o ? "" : "number" != typeof o || 0 === o || r in unitlessKeys ? String(o).trim() : o + "px") + ";"));
1767
- return n ? [n + " {"].concat(s, ["}"]) : s;
1768
- }(e) : e.toString();
1769
- }
1770
- var Ne = function (e) {
1771
- return Array.isArray(e) && (e.isCss = !0), e;
1772
- };
1773
- function Ae(e) {
1774
- for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r];
1775
- return E(e) || g(e) ? Ne(_e(v(S, [e].concat(n)))) : 0 === n.length && 1 === e.length && "string" == typeof e[0] ? e : Ne(_e(v(e, n)));
1776
- }
1777
- var Ce = /invalid hook call/i,
1778
- Ie = new Set(),
1779
- Pe = function (e, t) {
1780
- if ("production" !== process.env.NODE_ENV) {
1781
- var n = "The component " + e + (t ? ' with the id of "' + t + '"' : "") + " has been created dynamically.\nYou may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",
1782
- r = console.error;
1783
- try {
1784
- var o = !0;
1785
- console.error = function (e) {
1786
- if (Ce.test(e)) o = !1, Ie.delete(n);else {
1787
- for (var t = arguments.length, s = new Array(t > 1 ? t - 1 : 0), i = 1; i < t; i++) s[i - 1] = arguments[i];
1788
- r.apply(void 0, [e].concat(s));
1789
- }
1790
- }, useRef(), o && !Ie.has(n) && (console.warn(n), Ie.add(n));
1791
- } catch (e) {
1792
- Ce.test(e.message) && Ie.delete(n);
1793
- } finally {
1794
- console.error = r;
1795
- }
1796
- }
1797
- },
1798
- Oe = function (e, t, n) {
1799
- return void 0 === n && (n = w), e.theme !== n.theme && e.theme || t || n.theme;
1800
- },
1801
- Re = /[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,
1802
- De = /(^-|-$)/g;
1803
- function je(e) {
1804
- return e.replace(Re, "-").replace(De, "");
1805
- }
1806
- var Te = function (e) {
1807
- return Q(te(e) >>> 0);
1808
- };
1809
- function xe(e) {
1810
- return "string" == typeof e && ("production" === process.env.NODE_ENV || e.charAt(0) === e.charAt(0).toLowerCase());
1811
- }
1812
- var ke = function (e) {
1813
- return "function" == typeof e || "object" == typeof e && null !== e && !Array.isArray(e);
1814
- },
1815
- Ve = function (e) {
1816
- return "__proto__" !== e && "constructor" !== e && "prototype" !== e;
1817
- };
1818
- function ze(e, t, n) {
1819
- var r = e[n];
1820
- ke(t) && ke(r) ? Be(r, t) : e[n] = t;
1821
- }
1822
- function Be(e) {
1823
- for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r];
1824
- for (var o = 0, s = n; o < s.length; o++) {
1825
- var i = s[o];
1826
- if (ke(i)) for (var a in i) Ve(a) && ze(e, i[a], a);
1827
- }
1828
- return e;
1829
- }
1830
- var Me = React.createContext();
1831
- Me.Consumer;
1832
- var Fe = {};
1833
- function Ye(e, t, n) {
1834
- var o = _(e),
1835
- i = !xe(e),
1836
- a = t.attrs,
1837
- c = void 0 === a ? S : a,
1838
- d = t.componentId,
1839
- h = void 0 === d ? function (e, t) {
1840
- var n = "string" != typeof e ? "sc" : je(e);
1841
- Fe[n] = (Fe[n] || 0) + 1;
1842
- var r = n + "-" + Te("5.3.6" + n + Fe[n]);
1843
- return t ? t + "-" + r : r;
1844
- }(t.displayName, t.parentComponentId) : d,
1845
- p = t.displayName,
1846
- v = void 0 === p ? function (e) {
1847
- return xe(e) ? "styled." + e : "Styled(" + b(e) + ")";
1848
- }(e) : p,
1849
- g = t.displayName && t.componentId ? je(t.displayName) + "-" + t.componentId : t.componentId || h,
1850
- N = o && e.attrs ? Array.prototype.concat(e.attrs, c).filter(Boolean) : c,
1851
- A = t.shouldForwardProp;
1852
- o && e.shouldForwardProp && (A = t.shouldForwardProp ? function (n, r, o) {
1853
- return e.shouldForwardProp(n, r, o) && t.shouldForwardProp(n, r, o);
1854
- } : e.shouldForwardProp);
1855
- var C,
1856
- I = new oe(n, g, o ? e.componentStyle : void 0),
1857
- P = I.isStatic && 0 === c.length,
1858
- O = function (e, t) {
1859
- return function (e, t, n, r) {
1860
- var o = e.attrs,
1861
- i = e.componentStyle,
1862
- a = e.defaultProps,
1863
- c = e.foldedComponentIds,
1864
- d = e.shouldForwardProp,
1865
- h = e.styledComponentId,
1866
- p = e.target;
1867
- "production" !== process.env.NODE_ENV && useDebugValue(h);
1868
- var m = function (e, t, n) {
1869
- void 0 === e && (e = w);
1870
- var r = y({}, t, {
1871
- theme: e
1872
- }),
1873
- o = {};
1874
- return n.forEach(function (e) {
1875
- var t,
1876
- n,
1877
- s,
1878
- i = e;
1879
- for (t in E(i) && (i = i(r)), i) r[t] = o[t] = "className" === t ? (n = o[t], s = i[t], n && s ? n + " " + s : n || s) : i[t];
1880
- }), [r, o];
1881
- }(Oe(t, useContext(Me), a) || w, t, o),
1882
- v = m[0],
1883
- g = m[1],
1884
- S = function (e, t, n, r) {
1885
- var o = pe(),
1886
- s = fe(),
1887
- i = t ? e.generateAndInjectStyles(w, o, s) : e.generateAndInjectStyles(n, o, s);
1888
- return "production" !== process.env.NODE_ENV && useDebugValue(i), "production" !== process.env.NODE_ENV && !t && r && r(i), i;
1889
- }(i, r, v, "production" !== process.env.NODE_ENV ? e.warnTooManyClasses : void 0),
1890
- b = n,
1891
- _ = g.$as || t.$as || g.as || t.as || p,
1892
- N = xe(_),
1893
- A = g !== t ? y({}, t, {}, g) : t,
1894
- C = {};
1895
- for (var I in A) "$" !== I[0] && "as" !== I && ("forwardedAs" === I ? C.as = A[I] : (d ? d(I, isPropValid, _) : !N || isPropValid(I)) && (C[I] = A[I]));
1896
- return t.style && g.style !== t.style && (C.style = y({}, t.style, {}, g.style)), C.className = Array.prototype.concat(c, h, S !== h ? S : null, t.className, g.className).filter(Boolean).join(" "), C.ref = b, createElement(_, C);
1897
- }(C, e, t, P);
1898
- };
1899
- return O.displayName = v, (C = React.forwardRef(O)).attrs = N, C.componentStyle = I, C.displayName = v, C.shouldForwardProp = A, C.foldedComponentIds = o ? Array.prototype.concat(e.foldedComponentIds, e.styledComponentId) : S, C.styledComponentId = g, C.target = o ? e.target : e, C.withComponent = function (e) {
1900
- var r = t.componentId,
1901
- o = function (e, t) {
1902
- if (null == e) return {};
1903
- var n,
1904
- r,
1905
- o = {},
1906
- s = Object.keys(e);
1907
- for (r = 0; r < s.length; r++) n = s[r], t.indexOf(n) >= 0 || (o[n] = e[n]);
1908
- return o;
1909
- }(t, ["componentId"]),
1910
- s = r && r + "-" + (xe(e) ? e : je(b(e)));
1911
- return Ye(e, y({}, o, {
1912
- attrs: N,
1913
- componentId: s
1914
- }), n);
1915
- }, Object.defineProperty(C, "defaultProps", {
1916
- get: function () {
1917
- return this._foldedDefaultProps;
1918
- },
1919
- set: function (t) {
1920
- this._foldedDefaultProps = o ? Be({}, e.defaultProps, t) : t;
1921
- }
1922
- }), "production" !== process.env.NODE_ENV && (Pe(v, g), C.warnTooManyClasses = function (e, t) {
1923
- var n = {},
1924
- r = !1;
1925
- return function (o) {
1926
- if (!r && (n[o] = !0, Object.keys(n).length >= 200)) {
1927
- var s = t ? ' with the id of "' + t + '"' : "";
1928
- console.warn("Over 200 classes were generated for component " + e + s + ".\nConsider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"), r = !0, n = {};
1929
- }
1930
- };
1931
- }(v, g)), C.toString = function () {
1932
- return "." + C.styledComponentId;
1933
- }, i && m(C, e, {
1934
- attrs: !0,
1935
- componentStyle: !0,
1936
- displayName: !0,
1937
- foldedComponentIds: !0,
1938
- shouldForwardProp: !0,
1939
- styledComponentId: !0,
1940
- target: !0,
1941
- withComponent: !0
1942
- }), C;
1943
- }
1944
- var qe = function (e) {
1945
- return function e(t, r, o) {
1946
- if (void 0 === o && (o = w), !reactIsExports$1.isValidElementType(r)) return D(1, String(r));
1947
- var s = function () {
1948
- return t(r, o, Ae.apply(void 0, arguments));
1949
- };
1950
- return s.withConfig = function (n) {
1951
- return e(t, r, y({}, o, {}, n));
1952
- }, s.attrs = function (n) {
1953
- return e(t, r, y({}, o, {
1954
- attrs: Array.prototype.concat(o.attrs, n).filter(Boolean)
1955
- }));
1956
- }, s;
1957
- }(Ye, e);
1958
- };
1959
- ["a", "abbr", "address", "area", "article", "aside", "audio", "b", "base", "bdi", "bdo", "big", "blockquote", "body", "br", "button", "canvas", "caption", "cite", "code", "col", "colgroup", "data", "datalist", "dd", "del", "details", "dfn", "dialog", "div", "dl", "dt", "em", "embed", "fieldset", "figcaption", "figure", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "iframe", "img", "input", "ins", "kbd", "keygen", "label", "legend", "li", "link", "main", "map", "mark", "marquee", "menu", "menuitem", "meta", "meter", "nav", "noscript", "object", "ol", "optgroup", "option", "output", "p", "param", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "script", "section", "select", "small", "source", "span", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "textarea", "tfoot", "th", "thead", "time", "title", "tr", "track", "u", "ul", "var", "video", "wbr", "circle", "clipPath", "defs", "ellipse", "foreignObject", "g", "image", "line", "linearGradient", "marker", "mask", "path", "pattern", "polygon", "polyline", "radialGradient", "rect", "stop", "svg", "text", "textPath", "tspan"].forEach(function (e) {
1960
- qe[e] = qe(e);
1961
- });
1962
- function We(e) {
1963
- "production" !== process.env.NODE_ENV && "undefined" != typeof navigator && "ReactNative" === navigator.product && console.warn("`keyframes` cannot be used on ReactNative, only on the web. To do animation in ReactNative please use Animated.");
1964
- for (var t = arguments.length, n = new Array(t > 1 ? t - 1 : 0), r = 1; r < t; r++) n[r - 1] = arguments[r];
1965
- var o = Ae.apply(void 0, [e].concat(n)).join(""),
1966
- s = Te(o);
1967
- return new ye(s, o);
1968
- }
1969
- "production" !== process.env.NODE_ENV && "undefined" != typeof navigator && "ReactNative" === navigator.product && console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native"), "production" !== process.env.NODE_ENV && "test" !== process.env.NODE_ENV && "undefined" != typeof window && (window["__styled-components-init__"] = window["__styled-components-init__"] || 0, 1 === window["__styled-components-init__"] && console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."), window["__styled-components-init__"] += 1);
1970
- var styled = qe;
1971
-
1972
34
  const Colors = {
1973
35
  PRIMARY: {
1974
36
  Hex: '#0193D7',
@@ -2123,7 +185,7 @@ const Badge$1 = styled.span `
2123
185
  `;
2124
186
  const Button = (_a) => {
2125
187
  var { badge, children, disabled = false, icon, isForm = false, loading = false, margin = '', onClick, small = false, format = 'primary' } = _a, accessibleProps = __rest(_a, ["badge", "children", "disabled", "icon", "isForm", "loading", "margin", "onClick", "small", "format"]);
2126
- const theme = useContext(Me) || EditableTheme;
188
+ const theme = useContext(ThemeContext) || EditableTheme;
2127
189
  const has_children = children && children.length > 0;
2128
190
  const button_type_mapping = {
2129
191
  primary: {
@@ -2304,7 +366,7 @@ const Action$1 = styled.div `
2304
366
  Action$1.defaultProps = { theme: EditableTheme };
2305
367
  const Alert = (_a) => {
2306
368
  var { action, type = 'info', title, description, small = false } = _a, accessibleProps = __rest(_a, ["action", "type", "title", "description", "small"]);
2307
- const theme = useContext(Me) || EditableTheme;
369
+ const theme = useContext(ThemeContext) || EditableTheme;
2308
370
  const type_mapping = {
2309
371
  info: {
2310
372
  color: theme.PRIMARY_COLOR.Hex,
@@ -2379,7 +441,7 @@ const Actions$1 = styled.div `
2379
441
  align-items: center;
2380
442
  column-gap: 10px;
2381
443
  `;
2382
- const Error$1 = styled.div `
444
+ const Error = styled.div `
2383
445
  box-sizing: border-box;
2384
446
  display: flex;
2385
447
  align-items: center;
@@ -2409,7 +471,7 @@ const BulkActionBar = (_a) => {
2409
471
  " Selected"),
2410
472
  onClear ? React.createElement(Clear, { onClick: onClear }, "Clear") : null),
2411
473
  React.createElement(Actions$1, null, actions.map((action, i) => (React.createElement(Button, Object.assign({}, action, { key: i, small: true })))))),
2412
- errorMsg ? (React.createElement(Error$1, null,
474
+ errorMsg ? (React.createElement(Error, null,
2413
475
  React.createElement(Icon, { color: Colors.RED.Hex, path: mdiInformationOutline, size: '20px' }),
2414
476
  React.createElement(ErrorMsg, null, errorMsg))) : null));
2415
477
  };
@@ -2565,324 +627,6 @@ const Checklist = (_a) => {
2565
627
  }))));
2566
628
  };
2567
629
 
2568
- var dayjs_min = {exports: {}};
2569
-
2570
- (function (module, exports) {
2571
- !function (t, e) {
2572
- module.exports = e() ;
2573
- }(commonjsGlobal, function () {
2574
-
2575
- var t = 1e3,
2576
- e = 6e4,
2577
- n = 36e5,
2578
- r = "millisecond",
2579
- i = "second",
2580
- s = "minute",
2581
- u = "hour",
2582
- a = "day",
2583
- o = "week",
2584
- f = "month",
2585
- h = "quarter",
2586
- c = "year",
2587
- d = "date",
2588
- l = "Invalid Date",
2589
- $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,
2590
- y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,
2591
- M = {
2592
- name: "en",
2593
- weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),
2594
- months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"),
2595
- ordinal: function (t) {
2596
- var e = ["th", "st", "nd", "rd"],
2597
- n = t % 100;
2598
- return "[" + t + (e[(n - 20) % 10] || e[n] || e[0]) + "]";
2599
- }
2600
- },
2601
- m = function (t, e, n) {
2602
- var r = String(t);
2603
- return !r || r.length >= e ? t : "" + Array(e + 1 - r.length).join(n) + t;
2604
- },
2605
- v = {
2606
- s: m,
2607
- z: function (t) {
2608
- var e = -t.utcOffset(),
2609
- n = Math.abs(e),
2610
- r = Math.floor(n / 60),
2611
- i = n % 60;
2612
- return (e <= 0 ? "+" : "-") + m(r, 2, "0") + ":" + m(i, 2, "0");
2613
- },
2614
- m: function t(e, n) {
2615
- if (e.date() < n.date()) return -t(n, e);
2616
- var r = 12 * (n.year() - e.year()) + (n.month() - e.month()),
2617
- i = e.clone().add(r, f),
2618
- s = n - i < 0,
2619
- u = e.clone().add(r + (s ? -1 : 1), f);
2620
- return +(-(r + (n - i) / (s ? i - u : u - i)) || 0);
2621
- },
2622
- a: function (t) {
2623
- return t < 0 ? Math.ceil(t) || 0 : Math.floor(t);
2624
- },
2625
- p: function (t) {
2626
- return {
2627
- M: f,
2628
- y: c,
2629
- w: o,
2630
- d: a,
2631
- D: d,
2632
- h: u,
2633
- m: s,
2634
- s: i,
2635
- ms: r,
2636
- Q: h
2637
- }[t] || String(t || "").toLowerCase().replace(/s$/, "");
2638
- },
2639
- u: function (t) {
2640
- return void 0 === t;
2641
- }
2642
- },
2643
- g = "en",
2644
- D = {};
2645
- D[g] = M;
2646
- var p = function (t) {
2647
- return t instanceof _;
2648
- },
2649
- S = function t(e, n, r) {
2650
- var i;
2651
- if (!e) return g;
2652
- if ("string" == typeof e) {
2653
- var s = e.toLowerCase();
2654
- D[s] && (i = s), n && (D[s] = n, i = s);
2655
- var u = e.split("-");
2656
- if (!i && u.length > 1) return t(u[0]);
2657
- } else {
2658
- var a = e.name;
2659
- D[a] = e, i = a;
2660
- }
2661
- return !r && i && (g = i), i || !r && g;
2662
- },
2663
- w = function (t, e) {
2664
- if (p(t)) return t.clone();
2665
- var n = "object" == typeof e ? e : {};
2666
- return n.date = t, n.args = arguments, new _(n);
2667
- },
2668
- O = v;
2669
- O.l = S, O.i = p, O.w = function (t, e) {
2670
- return w(t, {
2671
- locale: e.$L,
2672
- utc: e.$u,
2673
- x: e.$x,
2674
- $offset: e.$offset
2675
- });
2676
- };
2677
- var _ = function () {
2678
- function M(t) {
2679
- this.$L = S(t.locale, null, !0), this.parse(t);
2680
- }
2681
- var m = M.prototype;
2682
- return m.parse = function (t) {
2683
- this.$d = function (t) {
2684
- var e = t.date,
2685
- n = t.utc;
2686
- if (null === e) return new Date(NaN);
2687
- if (O.u(e)) return new Date();
2688
- if (e instanceof Date) return new Date(e);
2689
- if ("string" == typeof e && !/Z$/i.test(e)) {
2690
- var r = e.match($);
2691
- if (r) {
2692
- var i = r[2] - 1 || 0,
2693
- s = (r[7] || "0").substring(0, 3);
2694
- return n ? new Date(Date.UTC(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, s)) : new Date(r[1], i, r[3] || 1, r[4] || 0, r[5] || 0, r[6] || 0, s);
2695
- }
2696
- }
2697
- return new Date(e);
2698
- }(t), this.$x = t.x || {}, this.init();
2699
- }, m.init = function () {
2700
- var t = this.$d;
2701
- this.$y = t.getFullYear(), this.$M = t.getMonth(), this.$D = t.getDate(), this.$W = t.getDay(), this.$H = t.getHours(), this.$m = t.getMinutes(), this.$s = t.getSeconds(), this.$ms = t.getMilliseconds();
2702
- }, m.$utils = function () {
2703
- return O;
2704
- }, m.isValid = function () {
2705
- return !(this.$d.toString() === l);
2706
- }, m.isSame = function (t, e) {
2707
- var n = w(t);
2708
- return this.startOf(e) <= n && n <= this.endOf(e);
2709
- }, m.isAfter = function (t, e) {
2710
- return w(t) < this.startOf(e);
2711
- }, m.isBefore = function (t, e) {
2712
- return this.endOf(e) < w(t);
2713
- }, m.$g = function (t, e, n) {
2714
- return O.u(t) ? this[e] : this.set(n, t);
2715
- }, m.unix = function () {
2716
- return Math.floor(this.valueOf() / 1e3);
2717
- }, m.valueOf = function () {
2718
- return this.$d.getTime();
2719
- }, m.startOf = function (t, e) {
2720
- var n = this,
2721
- r = !!O.u(e) || e,
2722
- h = O.p(t),
2723
- l = function (t, e) {
2724
- var i = O.w(n.$u ? Date.UTC(n.$y, e, t) : new Date(n.$y, e, t), n);
2725
- return r ? i : i.endOf(a);
2726
- },
2727
- $ = function (t, e) {
2728
- return O.w(n.toDate()[t].apply(n.toDate("s"), (r ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(e)), n);
2729
- },
2730
- y = this.$W,
2731
- M = this.$M,
2732
- m = this.$D,
2733
- v = "set" + (this.$u ? "UTC" : "");
2734
- switch (h) {
2735
- case c:
2736
- return r ? l(1, 0) : l(31, 11);
2737
- case f:
2738
- return r ? l(1, M) : l(0, M + 1);
2739
- case o:
2740
- var g = this.$locale().weekStart || 0,
2741
- D = (y < g ? y + 7 : y) - g;
2742
- return l(r ? m - D : m + (6 - D), M);
2743
- case a:
2744
- case d:
2745
- return $(v + "Hours", 0);
2746
- case u:
2747
- return $(v + "Minutes", 1);
2748
- case s:
2749
- return $(v + "Seconds", 2);
2750
- case i:
2751
- return $(v + "Milliseconds", 3);
2752
- default:
2753
- return this.clone();
2754
- }
2755
- }, m.endOf = function (t) {
2756
- return this.startOf(t, !1);
2757
- }, m.$set = function (t, e) {
2758
- var n,
2759
- o = O.p(t),
2760
- h = "set" + (this.$u ? "UTC" : ""),
2761
- l = (n = {}, n[a] = h + "Date", n[d] = h + "Date", n[f] = h + "Month", n[c] = h + "FullYear", n[u] = h + "Hours", n[s] = h + "Minutes", n[i] = h + "Seconds", n[r] = h + "Milliseconds", n)[o],
2762
- $ = o === a ? this.$D + (e - this.$W) : e;
2763
- if (o === f || o === c) {
2764
- var y = this.clone().set(d, 1);
2765
- y.$d[l]($), y.init(), this.$d = y.set(d, Math.min(this.$D, y.daysInMonth())).$d;
2766
- } else l && this.$d[l]($);
2767
- return this.init(), this;
2768
- }, m.set = function (t, e) {
2769
- return this.clone().$set(t, e);
2770
- }, m.get = function (t) {
2771
- return this[O.p(t)]();
2772
- }, m.add = function (r, h) {
2773
- var d,
2774
- l = this;
2775
- r = Number(r);
2776
- var $ = O.p(h),
2777
- y = function (t) {
2778
- var e = w(l);
2779
- return O.w(e.date(e.date() + Math.round(t * r)), l);
2780
- };
2781
- if ($ === f) return this.set(f, this.$M + r);
2782
- if ($ === c) return this.set(c, this.$y + r);
2783
- if ($ === a) return y(1);
2784
- if ($ === o) return y(7);
2785
- var M = (d = {}, d[s] = e, d[u] = n, d[i] = t, d)[$] || 1,
2786
- m = this.$d.getTime() + r * M;
2787
- return O.w(m, this);
2788
- }, m.subtract = function (t, e) {
2789
- return this.add(-1 * t, e);
2790
- }, m.format = function (t) {
2791
- var e = this,
2792
- n = this.$locale();
2793
- if (!this.isValid()) return n.invalidDate || l;
2794
- var r = t || "YYYY-MM-DDTHH:mm:ssZ",
2795
- i = O.z(this),
2796
- s = this.$H,
2797
- u = this.$m,
2798
- a = this.$M,
2799
- o = n.weekdays,
2800
- f = n.months,
2801
- h = function (t, n, i, s) {
2802
- return t && (t[n] || t(e, r)) || i[n].slice(0, s);
2803
- },
2804
- c = function (t) {
2805
- return O.s(s % 12 || 12, t, "0");
2806
- },
2807
- d = n.meridiem || function (t, e, n) {
2808
- var r = t < 12 ? "AM" : "PM";
2809
- return n ? r.toLowerCase() : r;
2810
- },
2811
- $ = {
2812
- YY: String(this.$y).slice(-2),
2813
- YYYY: O.s(this.$y, 4, "0"),
2814
- M: a + 1,
2815
- MM: O.s(a + 1, 2, "0"),
2816
- MMM: h(n.monthsShort, a, f, 3),
2817
- MMMM: h(f, a),
2818
- D: this.$D,
2819
- DD: O.s(this.$D, 2, "0"),
2820
- d: String(this.$W),
2821
- dd: h(n.weekdaysMin, this.$W, o, 2),
2822
- ddd: h(n.weekdaysShort, this.$W, o, 3),
2823
- dddd: o[this.$W],
2824
- H: String(s),
2825
- HH: O.s(s, 2, "0"),
2826
- h: c(1),
2827
- hh: c(2),
2828
- a: d(s, u, !0),
2829
- A: d(s, u, !1),
2830
- m: String(u),
2831
- mm: O.s(u, 2, "0"),
2832
- s: String(this.$s),
2833
- ss: O.s(this.$s, 2, "0"),
2834
- SSS: O.s(this.$ms, 3, "0"),
2835
- Z: i
2836
- };
2837
- return r.replace(y, function (t, e) {
2838
- return e || $[t] || i.replace(":", "");
2839
- });
2840
- }, m.utcOffset = function () {
2841
- return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
2842
- }, m.diff = function (r, d, l) {
2843
- var $,
2844
- y = O.p(d),
2845
- M = w(r),
2846
- m = (M.utcOffset() - this.utcOffset()) * e,
2847
- v = this - M,
2848
- g = O.m(this, M);
2849
- return g = ($ = {}, $[c] = g / 12, $[f] = g, $[h] = g / 3, $[o] = (v - m) / 6048e5, $[a] = (v - m) / 864e5, $[u] = v / n, $[s] = v / e, $[i] = v / t, $)[y] || v, l ? g : O.a(g);
2850
- }, m.daysInMonth = function () {
2851
- return this.endOf(f).$D;
2852
- }, m.$locale = function () {
2853
- return D[this.$L];
2854
- }, m.locale = function (t, e) {
2855
- if (!t) return this.$L;
2856
- var n = this.clone(),
2857
- r = S(t, e, !0);
2858
- return r && (n.$L = r), n;
2859
- }, m.clone = function () {
2860
- return O.w(this.$d, this);
2861
- }, m.toDate = function () {
2862
- return new Date(this.valueOf());
2863
- }, m.toJSON = function () {
2864
- return this.isValid() ? this.toISOString() : null;
2865
- }, m.toISOString = function () {
2866
- return this.$d.toISOString();
2867
- }, m.toString = function () {
2868
- return this.$d.toUTCString();
2869
- }, M;
2870
- }(),
2871
- T = _.prototype;
2872
- return w.prototype = T, [["$ms", r], ["$s", i], ["$m", s], ["$H", u], ["$W", a], ["$M", f], ["$y", c], ["$D", d]].forEach(function (t) {
2873
- T[t[1]] = function (e) {
2874
- return this.$g(e, t[0], t[1]);
2875
- };
2876
- }), w.extend = function (t, e) {
2877
- return t.$i || (t(e, _, w), t.$i = !0), w;
2878
- }, w.locale = S, w.isDayjs = p, w.unix = function (t) {
2879
- return w(1e3 * t);
2880
- }, w.en = D[g], w.Ls = D, w.p = {}, w;
2881
- });
2882
- })(dayjs_min);
2883
- var dayjs_minExports = dayjs_min.exports;
2884
- var dayjs = /*@__PURE__*/getDefaultExportFromCjs(dayjs_minExports);
2885
-
2886
630
  const Wrapper$c = styled.div `
2887
631
  border-radius: 4px;
2888
632
  height: 40px;
@@ -3708,7 +1452,7 @@ const Link = (_a) => {
3708
1452
  return (React.createElement(Wrapper$8, Object.assign({ "$small": small, onClick: onClick }, accessibleProps), children));
3709
1453
  };
3710
1454
 
3711
- const dash = We `
1455
+ const dash = keyframes `
3712
1456
  0% {
3713
1457
  stroke-dasharray: 1, 160;
3714
1458
  stroke-dashoffset: 0;