@fox-dls/carousels 1.0.6 → 1.0.7

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.cjs CHANGED
@@ -1,5 +1,5 @@
1
- var jsxRuntime = require('react/jsx-runtime');
2
1
  var React = require('react');
2
+ var jsxRuntime = require('react/jsx-runtime');
3
3
  var styled = require('styled-components');
4
4
  var SwiperCore = require('swiper');
5
5
  var react = require('swiper/react');
@@ -55,6 +55,2352 @@ function _taggedTemplateLiteralLoose(strings, raw) {
55
55
  return strings;
56
56
  }
57
57
 
58
+ /*
59
+
60
+ Based off glamor's StyleSheet, thanks Sunil ❤️
61
+
62
+ high performance StyleSheet for css-in-js systems
63
+
64
+ - uses multiple style tags behind the scenes for millions of rules
65
+ - uses `insertRule` for appending in production for *much* faster performance
66
+
67
+ // usage
68
+
69
+ import { StyleSheet } from '@emotion/sheet'
70
+
71
+ let styleSheet = new StyleSheet({ key: '', container: document.head })
72
+
73
+ styleSheet.insert('#box { border: 1px solid red; }')
74
+ - appends a css rule into the stylesheet
75
+
76
+ styleSheet.flush()
77
+ - empties the stylesheet of all its contents
78
+
79
+ */
80
+ // $FlowFixMe
81
+ function sheetForTag(tag) {
82
+ if (tag.sheet) {
83
+ // $FlowFixMe
84
+ return tag.sheet;
85
+ } // this weirdness brought to you by firefox
86
+
87
+ /* istanbul ignore next */
88
+
89
+
90
+ for (var i = 0; i < document.styleSheets.length; i++) {
91
+ if (document.styleSheets[i].ownerNode === tag) {
92
+ // $FlowFixMe
93
+ return document.styleSheets[i];
94
+ }
95
+ }
96
+ }
97
+
98
+ function createStyleElement(options) {
99
+ var tag = document.createElement('style');
100
+ tag.setAttribute('data-emotion', options.key);
101
+
102
+ if (options.nonce !== undefined) {
103
+ tag.setAttribute('nonce', options.nonce);
104
+ }
105
+
106
+ tag.appendChild(document.createTextNode(''));
107
+ tag.setAttribute('data-s', '');
108
+ return tag;
109
+ }
110
+
111
+ var StyleSheet = /*#__PURE__*/function () {
112
+ function StyleSheet(options) {
113
+ var _this = this;
114
+
115
+ this._insertTag = function (tag) {
116
+ var before;
117
+
118
+ if (_this.tags.length === 0) {
119
+ if (_this.insertionPoint) {
120
+ before = _this.insertionPoint.nextSibling;
121
+ } else if (_this.prepend) {
122
+ before = _this.container.firstChild;
123
+ } else {
124
+ before = _this.before;
125
+ }
126
+ } else {
127
+ before = _this.tags[_this.tags.length - 1].nextSibling;
128
+ }
129
+
130
+ _this.container.insertBefore(tag, before);
131
+
132
+ _this.tags.push(tag);
133
+ };
134
+
135
+ this.isSpeedy = options.speedy === undefined ? process.env.NODE_ENV === 'production' : options.speedy;
136
+ this.tags = [];
137
+ this.ctr = 0;
138
+ this.nonce = options.nonce; // key is the value of the data-emotion attribute, it's used to identify different sheets
139
+
140
+ this.key = options.key;
141
+ this.container = options.container;
142
+ this.prepend = options.prepend;
143
+ this.insertionPoint = options.insertionPoint;
144
+ this.before = null;
145
+ }
146
+
147
+ var _proto = StyleSheet.prototype;
148
+
149
+ _proto.hydrate = function hydrate(nodes) {
150
+ nodes.forEach(this._insertTag);
151
+ };
152
+
153
+ _proto.insert = function insert(rule) {
154
+ // the max length is how many rules we have per style tag, it's 65000 in speedy mode
155
+ // it's 1 in dev because we insert source maps that map a single rule to a location
156
+ // and you can only have one source map per style tag
157
+ if (this.ctr % (this.isSpeedy ? 65000 : 1) === 0) {
158
+ this._insertTag(createStyleElement(this));
159
+ }
160
+
161
+ var tag = this.tags[this.tags.length - 1];
162
+
163
+ if (process.env.NODE_ENV !== 'production') {
164
+ var isImportRule = rule.charCodeAt(0) === 64 && rule.charCodeAt(1) === 105;
165
+
166
+ if (isImportRule && this._alreadyInsertedOrderInsensitiveRule) {
167
+ // this would only cause problem in speedy mode
168
+ // but we don't want enabling speedy to affect the observable behavior
169
+ // so we report this error at all times
170
+ console.error("You're attempting to insert the following rule:\n" + rule + '\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules.');
171
+ }
172
+
173
+ this._alreadyInsertedOrderInsensitiveRule = this._alreadyInsertedOrderInsensitiveRule || !isImportRule;
174
+ }
175
+
176
+ if (this.isSpeedy) {
177
+ var sheet = sheetForTag(tag);
178
+
179
+ try {
180
+ // this is the ultrafast version, works across browsers
181
+ // the big drawback is that the css won't be editable in devtools
182
+ sheet.insertRule(rule, sheet.cssRules.length);
183
+ } catch (e) {
184
+ if (process.env.NODE_ENV !== 'production' && !/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear){/.test(rule)) {
185
+ console.error("There was a problem inserting the following rule: \"" + rule + "\"", e);
186
+ }
187
+ }
188
+ } else {
189
+ tag.appendChild(document.createTextNode(rule));
190
+ }
191
+
192
+ this.ctr++;
193
+ };
194
+
195
+ _proto.flush = function flush() {
196
+ // $FlowFixMe
197
+ this.tags.forEach(function (tag) {
198
+ return tag.parentNode && tag.parentNode.removeChild(tag);
199
+ });
200
+ this.tags = [];
201
+ this.ctr = 0;
202
+
203
+ if (process.env.NODE_ENV !== 'production') {
204
+ this._alreadyInsertedOrderInsensitiveRule = false;
205
+ }
206
+ };
207
+
208
+ return StyleSheet;
209
+ }();
210
+
211
+ var MS = '-ms-';
212
+ var MOZ = '-moz-';
213
+ var WEBKIT = '-webkit-';
214
+ var COMMENT = 'comm';
215
+ var RULESET = 'rule';
216
+ var DECLARATION = 'decl';
217
+ var IMPORT = '@import';
218
+ var KEYFRAMES = '@keyframes';
219
+
220
+ /**
221
+ * @param {number}
222
+ * @return {number}
223
+ */
224
+ var abs = Math.abs;
225
+ /**
226
+ * @param {number}
227
+ * @return {string}
228
+ */
229
+
230
+ var from = String.fromCharCode;
231
+ /**
232
+ * @param {string} value
233
+ * @param {number} length
234
+ * @return {number}
235
+ */
236
+
237
+ function hash(value, length) {
238
+ return (((length << 2 ^ charat(value, 0)) << 2 ^ charat(value, 1)) << 2 ^ charat(value, 2)) << 2 ^ charat(value, 3);
239
+ }
240
+ /**
241
+ * @param {string} value
242
+ * @return {string}
243
+ */
244
+
245
+ function trim(value) {
246
+ return value.trim();
247
+ }
248
+ /**
249
+ * @param {string} value
250
+ * @param {RegExp} pattern
251
+ * @return {string?}
252
+ */
253
+
254
+ function match(value, pattern) {
255
+ return (value = pattern.exec(value)) ? value[0] : value;
256
+ }
257
+ /**
258
+ * @param {string} value
259
+ * @param {(string|RegExp)} pattern
260
+ * @param {string} replacement
261
+ * @return {string}
262
+ */
263
+
264
+ function replace(value, pattern, replacement) {
265
+ return value.replace(pattern, replacement);
266
+ }
267
+ /**
268
+ * @param {string} value
269
+ * @param {string} value
270
+ * @return {number}
271
+ */
272
+
273
+ function indexof(value, search) {
274
+ return value.indexOf(search);
275
+ }
276
+ /**
277
+ * @param {string} value
278
+ * @param {number} index
279
+ * @return {number}
280
+ */
281
+
282
+ function charat(value, index) {
283
+ return value.charCodeAt(index) | 0;
284
+ }
285
+ /**
286
+ * @param {string} value
287
+ * @param {number} begin
288
+ * @param {number} end
289
+ * @return {string}
290
+ */
291
+
292
+ function substr(value, begin, end) {
293
+ return value.slice(begin, end);
294
+ }
295
+ /**
296
+ * @param {string} value
297
+ * @return {number}
298
+ */
299
+
300
+ function strlen(value) {
301
+ return value.length;
302
+ }
303
+ /**
304
+ * @param {any[]} value
305
+ * @return {number}
306
+ */
307
+
308
+ function sizeof(value) {
309
+ return value.length;
310
+ }
311
+ /**
312
+ * @param {any} value
313
+ * @param {any[]} array
314
+ * @return {any}
315
+ */
316
+
317
+ function append(value, array) {
318
+ return array.push(value), value;
319
+ }
320
+ /**
321
+ * @param {string[]} array
322
+ * @param {function} callback
323
+ * @return {string}
324
+ */
325
+
326
+ function combine(array, callback) {
327
+ return array.map(callback).join('');
328
+ }
329
+
330
+ var line = 1;
331
+ var column = 1;
332
+ var length = 0;
333
+ var position = 0;
334
+ var character = 0;
335
+ var characters = '';
336
+ /**
337
+ * @param {string} value
338
+ * @param {object} root
339
+ * @param {object?} parent
340
+ * @param {string} type
341
+ * @param {string[]} props
342
+ * @param {object[]} children
343
+ * @param {number} length
344
+ */
345
+
346
+ function node(value, root, parent, type, props, children, length) {
347
+ return {
348
+ value: value,
349
+ root: root,
350
+ parent: parent,
351
+ type: type,
352
+ props: props,
353
+ children: children,
354
+ line: line,
355
+ column: column,
356
+ length: length,
357
+ "return": ''
358
+ };
359
+ }
360
+ /**
361
+ * @param {string} value
362
+ * @param {object} root
363
+ * @param {string} type
364
+ */
365
+
366
+ function copy(value, root, type) {
367
+ return node(value, root.root, root.parent, type, root.props, root.children, 0);
368
+ }
369
+ /**
370
+ * @return {number}
371
+ */
372
+
373
+ function _char() {
374
+ return character;
375
+ }
376
+ function prev() {
377
+ character = position > 0 ? charat(characters, --position) : 0;
378
+ if (column--, character === 10) column = 1, line--;
379
+ return character;
380
+ }
381
+ /**
382
+ * @return {number}
383
+ */
384
+
385
+ function next() {
386
+ character = position < length ? charat(characters, position++) : 0;
387
+ if (column++, character === 10) column = 1, line++;
388
+ return character;
389
+ }
390
+ /**
391
+ * @return {number}
392
+ */
393
+
394
+ function peek() {
395
+ return charat(characters, position);
396
+ }
397
+ /**
398
+ * @return {number}
399
+ */
400
+
401
+ function caret() {
402
+ return position;
403
+ }
404
+ /**
405
+ * @param {number} begin
406
+ * @param {number} end
407
+ * @return {string}
408
+ */
409
+
410
+ function slice(begin, end) {
411
+ return substr(characters, begin, end);
412
+ }
413
+ /**
414
+ * @param {number} type
415
+ * @return {number}
416
+ */
417
+
418
+ function token(type) {
419
+ switch (type) {
420
+ // \0 \t \n \r \s whitespace token
421
+ case 0:
422
+ case 9:
423
+ case 10:
424
+ case 13:
425
+ case 32:
426
+ return 5;
427
+ // ! + , / > @ ~ isolate token
428
+
429
+ case 33:
430
+ case 43:
431
+ case 44:
432
+ case 47:
433
+ case 62:
434
+ case 64:
435
+ case 126: // ; { } breakpoint token
436
+
437
+ case 59:
438
+ case 123:
439
+ case 125:
440
+ return 4;
441
+ // : accompanied token
442
+
443
+ case 58:
444
+ return 3;
445
+ // " ' ( [ opening delimit token
446
+
447
+ case 34:
448
+ case 39:
449
+ case 40:
450
+ case 91:
451
+ return 2;
452
+ // ) ] closing delimit token
453
+
454
+ case 41:
455
+ case 93:
456
+ return 1;
457
+ }
458
+
459
+ return 0;
460
+ }
461
+ /**
462
+ * @param {string} value
463
+ * @return {any[]}
464
+ */
465
+
466
+ function alloc(value) {
467
+ return line = column = 1, length = strlen(characters = value), position = 0, [];
468
+ }
469
+ /**
470
+ * @param {any} value
471
+ * @return {any}
472
+ */
473
+
474
+ function dealloc(value) {
475
+ return characters = '', value;
476
+ }
477
+ /**
478
+ * @param {number} type
479
+ * @return {string}
480
+ */
481
+
482
+ function delimit(type) {
483
+ return trim(slice(position - 1, delimiter(type === 91 ? type + 2 : type === 40 ? type + 1 : type)));
484
+ }
485
+ /**
486
+ * @param {number} type
487
+ * @return {string}
488
+ */
489
+
490
+ function whitespace(type) {
491
+ while (character = peek()) {
492
+ if (character < 33) next();else break;
493
+ }
494
+
495
+ return token(type) > 2 || token(character) > 3 ? '' : ' ';
496
+ }
497
+ /**
498
+ * @param {number} index
499
+ * @param {number} count
500
+ * @return {string}
501
+ */
502
+
503
+ function escaping(index, count) {
504
+ while (--count && next()) {
505
+ // not 0-9 A-F a-f
506
+ if (character < 48 || character > 102 || character > 57 && character < 65 || character > 70 && character < 97) break;
507
+ }
508
+
509
+ return slice(index, caret() + (count < 6 && peek() == 32 && next() == 32));
510
+ }
511
+ /**
512
+ * @param {number} type
513
+ * @return {number}
514
+ */
515
+
516
+ function delimiter(type) {
517
+ while (next()) {
518
+ switch (character) {
519
+ // ] ) " '
520
+ case type:
521
+ return position;
522
+ // " '
523
+
524
+ case 34:
525
+ case 39:
526
+ return delimiter(type === 34 || type === 39 ? type : character);
527
+ // (
528
+
529
+ case 40:
530
+ if (type === 41) delimiter(type);
531
+ break;
532
+ // \
533
+
534
+ case 92:
535
+ next();
536
+ break;
537
+ }
538
+ }
539
+
540
+ return position;
541
+ }
542
+ /**
543
+ * @param {number} type
544
+ * @param {number} index
545
+ * @return {number}
546
+ */
547
+
548
+ function commenter(type, index) {
549
+ while (next()) {
550
+ // //
551
+ if (type + character === 47 + 10) break; // /*
552
+ else if (type + character === 42 + 42 && peek() === 47) break;
553
+ }
554
+
555
+ return '/*' + slice(index, position - 1) + '*' + from(type === 47 ? type : next());
556
+ }
557
+ /**
558
+ * @param {number} index
559
+ * @return {string}
560
+ */
561
+
562
+ function identifier(index) {
563
+ while (!token(peek())) {
564
+ next();
565
+ }
566
+
567
+ return slice(index, position);
568
+ }
569
+
570
+ /**
571
+ * @param {string} value
572
+ * @return {object[]}
573
+ */
574
+
575
+ function compile(value) {
576
+ return dealloc(parse('', null, null, null, [''], value = alloc(value), 0, [0], value));
577
+ }
578
+ /**
579
+ * @param {string} value
580
+ * @param {object} root
581
+ * @param {object?} parent
582
+ * @param {string[]} rule
583
+ * @param {string[]} rules
584
+ * @param {string[]} rulesets
585
+ * @param {number[]} pseudo
586
+ * @param {number[]} points
587
+ * @param {string[]} declarations
588
+ * @return {object}
589
+ */
590
+
591
+ function parse(value, root, parent, rule, rules, rulesets, pseudo, points, declarations) {
592
+ var index = 0;
593
+ var offset = 0;
594
+ var length = pseudo;
595
+ var atrule = 0;
596
+ var property = 0;
597
+ var previous = 0;
598
+ var variable = 1;
599
+ var scanning = 1;
600
+ var ampersand = 1;
601
+ var character = 0;
602
+ var type = '';
603
+ var props = rules;
604
+ var children = rulesets;
605
+ var reference = rule;
606
+ var characters = type;
607
+
608
+ while (scanning) {
609
+ switch (previous = character, character = next()) {
610
+ // " ' [ (
611
+ case 34:
612
+ case 39:
613
+ case 91:
614
+ case 40:
615
+ characters += delimit(character);
616
+ break;
617
+ // \t \n \r \s
618
+
619
+ case 9:
620
+ case 10:
621
+ case 13:
622
+ case 32:
623
+ characters += whitespace(previous);
624
+ break;
625
+ // \
626
+
627
+ case 92:
628
+ characters += escaping(caret() - 1, 7);
629
+ continue;
630
+ // /
631
+
632
+ case 47:
633
+ switch (peek()) {
634
+ case 42:
635
+ case 47:
636
+ append(comment(commenter(next(), caret()), root, parent), declarations);
637
+ break;
638
+
639
+ default:
640
+ characters += '/';
641
+ }
642
+
643
+ break;
644
+ // {
645
+
646
+ case 123 * variable:
647
+ points[index++] = strlen(characters) * ampersand;
648
+ // } ; \0
649
+
650
+ case 125 * variable:
651
+ case 59:
652
+ case 0:
653
+ switch (character) {
654
+ // \0 }
655
+ case 0:
656
+ case 125:
657
+ scanning = 0;
658
+ // ;
659
+
660
+ case 59 + offset:
661
+ if (property > 0 && strlen(characters) - length) append(property > 32 ? declaration(characters + ';', rule, parent, length - 1) : declaration(replace(characters, ' ', '') + ';', rule, parent, length - 2), declarations);
662
+ break;
663
+ // @ ;
664
+
665
+ case 59:
666
+ characters += ';';
667
+ // { rule/at-rule
668
+
669
+ default:
670
+ append(reference = ruleset(characters, root, parent, index, offset, rules, points, type, props = [], children = [], length), rulesets);
671
+ if (character === 123) if (offset === 0) parse(characters, root, reference, reference, props, rulesets, length, points, children);else switch (atrule) {
672
+ // d m s
673
+ case 100:
674
+ case 109:
675
+ case 115:
676
+ parse(value, reference, reference, rule && append(ruleset(value, reference, reference, 0, 0, rules, points, type, rules, props = [], length), children), rules, children, length, points, rule ? props : children);
677
+ break;
678
+
679
+ default:
680
+ parse(characters, reference, reference, reference, [''], children, length, points, children);
681
+ }
682
+ }
683
+
684
+ index = offset = property = 0, variable = ampersand = 1, type = characters = '', length = pseudo;
685
+ break;
686
+ // :
687
+
688
+ case 58:
689
+ length = 1 + strlen(characters), property = previous;
690
+
691
+ default:
692
+ if (variable < 1) if (character == 123) --variable;else if (character == 125 && variable++ == 0 && prev() == 125) continue;
693
+
694
+ switch (characters += from(character), character * variable) {
695
+ // &
696
+ case 38:
697
+ ampersand = offset > 0 ? 1 : (characters += '\f', -1);
698
+ break;
699
+ // ,
700
+
701
+ case 44:
702
+ points[index++] = (strlen(characters) - 1) * ampersand, ampersand = 1;
703
+ break;
704
+ // @
705
+
706
+ case 64:
707
+ // -
708
+ if (peek() === 45) characters += delimit(next());
709
+ atrule = peek(), offset = strlen(type = characters += identifier(caret())), character++;
710
+ break;
711
+ // -
712
+
713
+ case 45:
714
+ if (previous === 45 && strlen(characters) == 2) variable = 0;
715
+ }
716
+
717
+ }
718
+ }
719
+
720
+ return rulesets;
721
+ }
722
+ /**
723
+ * @param {string} value
724
+ * @param {object} root
725
+ * @param {object?} parent
726
+ * @param {number} index
727
+ * @param {number} offset
728
+ * @param {string[]} rules
729
+ * @param {number[]} points
730
+ * @param {string} type
731
+ * @param {string[]} props
732
+ * @param {string[]} children
733
+ * @param {number} length
734
+ * @return {object}
735
+ */
736
+
737
+ function ruleset(value, root, parent, index, offset, rules, points, type, props, children, length) {
738
+ var post = offset - 1;
739
+ var rule = offset === 0 ? rules : [''];
740
+ var size = sizeof(rule);
741
+
742
+ for (var i = 0, j = 0, k = 0; i < index; ++i) {
743
+ for (var x = 0, y = substr(value, post + 1, post = abs(j = points[i])), z = value; x < size; ++x) {
744
+ if (z = trim(j > 0 ? rule[x] + ' ' + y : replace(y, /&\f/g, rule[x]))) props[k++] = z;
745
+ }
746
+ }
747
+
748
+ return node(value, root, parent, offset === 0 ? RULESET : type, props, children, length);
749
+ }
750
+ /**
751
+ * @param {number} value
752
+ * @param {object} root
753
+ * @param {object?} parent
754
+ * @return {object}
755
+ */
756
+
757
+ function comment(value, root, parent) {
758
+ return node(value, root, parent, COMMENT, from(_char()), substr(value, 2, -2), 0);
759
+ }
760
+ /**
761
+ * @param {string} value
762
+ * @param {object} root
763
+ * @param {object?} parent
764
+ * @param {number} length
765
+ * @return {object}
766
+ */
767
+
768
+ function declaration(value, root, parent, length) {
769
+ return node(value, root, parent, DECLARATION, substr(value, 0, length), substr(value, length + 1, -1), length);
770
+ }
771
+
772
+ /**
773
+ * @param {string} value
774
+ * @param {number} length
775
+ * @return {string}
776
+ */
777
+
778
+ function prefix(value, length) {
779
+ switch (hash(value, length)) {
780
+ // color-adjust
781
+ case 5103:
782
+ return WEBKIT + 'print-' + value + value;
783
+ // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
784
+
785
+ case 5737:
786
+ case 4201:
787
+ case 3177:
788
+ case 3433:
789
+ case 1641:
790
+ case 4457:
791
+ case 2921: // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
792
+
793
+ case 5572:
794
+ case 6356:
795
+ case 5844:
796
+ case 3191:
797
+ case 6645:
798
+ case 3005: // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
799
+
800
+ case 6391:
801
+ case 5879:
802
+ case 5623:
803
+ case 6135:
804
+ case 4599:
805
+ case 4855: // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
806
+
807
+ case 4215:
808
+ case 6389:
809
+ case 5109:
810
+ case 5365:
811
+ case 5621:
812
+ case 3829:
813
+ return WEBKIT + value + value;
814
+ // appearance, user-select, transform, hyphens, text-size-adjust
815
+
816
+ case 5349:
817
+ case 4246:
818
+ case 4810:
819
+ case 6968:
820
+ case 2756:
821
+ return WEBKIT + value + MOZ + value + MS + value + value;
822
+ // flex, flex-direction
823
+
824
+ case 6828:
825
+ case 4268:
826
+ return WEBKIT + value + MS + value + value;
827
+ // order
828
+
829
+ case 6165:
830
+ return WEBKIT + value + MS + 'flex-' + value + value;
831
+ // align-items
832
+
833
+ case 5187:
834
+ return WEBKIT + value + replace(value, /(\w+).+(:[^]+)/, WEBKIT + 'box-$1$2' + MS + 'flex-$1$2') + value;
835
+ // align-self
836
+
837
+ case 5443:
838
+ return WEBKIT + value + MS + 'flex-item-' + replace(value, /flex-|-self/, '') + value;
839
+ // align-content
840
+
841
+ case 4675:
842
+ return WEBKIT + value + MS + 'flex-line-pack' + replace(value, /align-content|flex-|-self/, '') + value;
843
+ // flex-shrink
844
+
845
+ case 5548:
846
+ return WEBKIT + value + MS + replace(value, 'shrink', 'negative') + value;
847
+ // flex-basis
848
+
849
+ case 5292:
850
+ return WEBKIT + value + MS + replace(value, 'basis', 'preferred-size') + value;
851
+ // flex-grow
852
+
853
+ case 6060:
854
+ return WEBKIT + 'box-' + replace(value, '-grow', '') + WEBKIT + value + MS + replace(value, 'grow', 'positive') + value;
855
+ // transition
856
+
857
+ case 4554:
858
+ return WEBKIT + replace(value, /([^-])(transform)/g, '$1' + WEBKIT + '$2') + value;
859
+ // cursor
860
+
861
+ case 6187:
862
+ return replace(replace(replace(value, /(zoom-|grab)/, WEBKIT + '$1'), /(image-set)/, WEBKIT + '$1'), value, '') + value;
863
+ // background, background-image
864
+
865
+ case 5495:
866
+ case 3959:
867
+ return replace(value, /(image-set\([^]*)/, WEBKIT + '$1' + '$`$1');
868
+ // justify-content
869
+
870
+ case 4968:
871
+ return replace(replace(value, /(.+:)(flex-)?(.*)/, WEBKIT + 'box-pack:$3' + MS + 'flex-pack:$3'), /s.+-b[^;]+/, 'justify') + WEBKIT + value + value;
872
+ // (margin|padding)-inline-(start|end)
873
+
874
+ case 4095:
875
+ case 3583:
876
+ case 4068:
877
+ case 2532:
878
+ return replace(value, /(.+)-inline(.+)/, WEBKIT + '$1$2') + value;
879
+ // (min|max)?(width|height|inline-size|block-size)
880
+
881
+ case 8116:
882
+ case 7059:
883
+ case 5753:
884
+ case 5535:
885
+ case 5445:
886
+ case 5701:
887
+ case 4933:
888
+ case 4677:
889
+ case 5533:
890
+ case 5789:
891
+ case 5021:
892
+ case 4765:
893
+ // stretch, max-content, min-content, fill-available
894
+ if (strlen(value) - 1 - length > 6) switch (charat(value, length + 1)) {
895
+ // (m)ax-content, (m)in-content
896
+ case 109:
897
+ // -
898
+ if (charat(value, length + 4) !== 45) break;
899
+ // (f)ill-available, (f)it-content
900
+
901
+ case 102:
902
+ return replace(value, /(.+:)(.+)-([^]+)/, '$1' + WEBKIT + '$2-$3' + '$1' + MOZ + (charat(value, length + 3) == 108 ? '$3' : '$2-$3')) + value;
903
+ // (s)tretch
904
+
905
+ case 115:
906
+ return ~indexof(value, 'stretch') ? prefix(replace(value, 'stretch', 'fill-available'), length) + value : value;
907
+ }
908
+ break;
909
+ // position: sticky
910
+
911
+ case 4949:
912
+ // (s)ticky?
913
+ if (charat(value, length + 1) !== 115) break;
914
+ // display: (flex|inline-flex)
915
+
916
+ case 6444:
917
+ switch (charat(value, strlen(value) - 3 - (~indexof(value, '!important') && 10))) {
918
+ // stic(k)y
919
+ case 107:
920
+ return replace(value, ':', ':' + WEBKIT) + value;
921
+ // (inline-)?fl(e)x
922
+
923
+ case 101:
924
+ return replace(value, /(.+:)([^;!]+)(;|!.+)?/, '$1' + WEBKIT + (charat(value, 14) === 45 ? 'inline-' : '') + 'box$3' + '$1' + WEBKIT + '$2$3' + '$1' + MS + '$2box$3') + value;
925
+ }
926
+
927
+ break;
928
+ // writing-mode
929
+
930
+ case 5936:
931
+ switch (charat(value, length + 11)) {
932
+ // vertical-l(r)
933
+ case 114:
934
+ return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb') + value;
935
+ // vertical-r(l)
936
+
937
+ case 108:
938
+ return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'tb-rl') + value;
939
+ // horizontal(-)tb
940
+
941
+ case 45:
942
+ return WEBKIT + value + MS + replace(value, /[svh]\w+-[tblr]{2}/, 'lr') + value;
943
+ }
944
+
945
+ return WEBKIT + value + MS + value + value;
946
+ }
947
+
948
+ return value;
949
+ }
950
+
951
+ /**
952
+ * @param {object[]} children
953
+ * @param {function} callback
954
+ * @return {string}
955
+ */
956
+
957
+ function serialize(children, callback) {
958
+ var output = '';
959
+ var length = sizeof(children);
960
+
961
+ for (var i = 0; i < length; i++) {
962
+ output += callback(children[i], i, children, callback) || '';
963
+ }
964
+
965
+ return output;
966
+ }
967
+ /**
968
+ * @param {object} element
969
+ * @param {number} index
970
+ * @param {object[]} children
971
+ * @param {function} callback
972
+ * @return {string}
973
+ */
974
+
975
+ function stringify(element, index, children, callback) {
976
+ switch (element.type) {
977
+ case IMPORT:
978
+ case DECLARATION:
979
+ return element["return"] = element["return"] || element.value;
980
+
981
+ case COMMENT:
982
+ return '';
983
+
984
+ case RULESET:
985
+ element.value = element.props.join(',');
986
+ }
987
+
988
+ return strlen(children = serialize(element.children, callback)) ? element["return"] = element.value + '{' + children + '}' : '';
989
+ }
990
+
991
+ /**
992
+ * @param {function[]} collection
993
+ * @return {function}
994
+ */
995
+
996
+ function middleware(collection) {
997
+ var length = sizeof(collection);
998
+ return function (element, index, children, callback) {
999
+ var output = '';
1000
+
1001
+ for (var i = 0; i < length; i++) {
1002
+ output += collection[i](element, index, children, callback) || '';
1003
+ }
1004
+
1005
+ return output;
1006
+ };
1007
+ }
1008
+ /**
1009
+ * @param {function} callback
1010
+ * @return {function}
1011
+ */
1012
+
1013
+ function rulesheet(callback) {
1014
+ return function (element) {
1015
+ if (!element.root) if (element = element["return"]) callback(element);
1016
+ };
1017
+ }
1018
+ /**
1019
+ * @param {object} element
1020
+ * @param {number} index
1021
+ * @param {object[]} children
1022
+ * @param {function} callback
1023
+ */
1024
+
1025
+ function prefixer(element, index, children, callback) {
1026
+ if (!element["return"]) switch (element.type) {
1027
+ case DECLARATION:
1028
+ element["return"] = prefix(element.value, element.length);
1029
+ break;
1030
+
1031
+ case KEYFRAMES:
1032
+ return serialize([copy(replace(element.value, '@', '@' + WEBKIT), element, '')], callback);
1033
+
1034
+ case RULESET:
1035
+ if (element.length) return combine(element.props, function (value) {
1036
+ switch (match(value, /(::plac\w+|:read-\w+)/)) {
1037
+ // :read-(only|write)
1038
+ case ':read-only':
1039
+ case ':read-write':
1040
+ return serialize([copy(replace(value, /:(read-\w+)/, ':' + MOZ + '$1'), element, '')], callback);
1041
+ // :placeholder
1042
+
1043
+ case '::placeholder':
1044
+ return serialize([copy(replace(value, /:(plac\w+)/, ':' + WEBKIT + 'input-$1'), element, ''), copy(replace(value, /:(plac\w+)/, ':' + MOZ + '$1'), element, ''), copy(replace(value, /:(plac\w+)/, MS + 'input-$1'), element, '')], callback);
1045
+ }
1046
+
1047
+ return '';
1048
+ });
1049
+ }
1050
+ }
1051
+
1052
+ var last = function last(arr) {
1053
+ return arr.length ? arr[arr.length - 1] : null;
1054
+ }; // based on https://github.com/thysultan/stylis.js/blob/e6843c373ebcbbfade25ebcc23f540ed8508da0a/src/Tokenizer.js#L239-L244
1055
+
1056
+
1057
+ var identifierWithPointTracking = function identifierWithPointTracking(begin, points, index) {
1058
+ var previous = 0;
1059
+ var character = 0;
1060
+
1061
+ while (true) {
1062
+ previous = character;
1063
+ character = peek(); // &\f
1064
+
1065
+ if (previous === 38 && character === 12) {
1066
+ points[index] = 1;
1067
+ }
1068
+
1069
+ if (token(character)) {
1070
+ break;
1071
+ }
1072
+
1073
+ next();
1074
+ }
1075
+
1076
+ return slice(begin, position);
1077
+ };
1078
+
1079
+ var toRules = function toRules(parsed, points) {
1080
+ // pretend we've started with a comma
1081
+ var index = -1;
1082
+ var character = 44;
1083
+
1084
+ do {
1085
+ switch (token(character)) {
1086
+ case 0:
1087
+ // &\f
1088
+ if (character === 38 && peek() === 12) {
1089
+ // this is not 100% correct, we don't account for literal sequences here - like for example quoted strings
1090
+ // stylis inserts \f after & to know when & where it should replace this sequence with the context selector
1091
+ // and when it should just concatenate the outer and inner selectors
1092
+ // it's very unlikely for this sequence to actually appear in a different context, so we just leverage this fact here
1093
+ points[index] = 1;
1094
+ }
1095
+
1096
+ parsed[index] += identifierWithPointTracking(position - 1, points, index);
1097
+ break;
1098
+
1099
+ case 2:
1100
+ parsed[index] += delimit(character);
1101
+ break;
1102
+
1103
+ case 4:
1104
+ // comma
1105
+ if (character === 44) {
1106
+ // colon
1107
+ parsed[++index] = peek() === 58 ? '&\f' : '';
1108
+ points[index] = parsed[index].length;
1109
+ break;
1110
+ }
1111
+
1112
+ // fallthrough
1113
+
1114
+ default:
1115
+ parsed[index] += from(character);
1116
+ }
1117
+ } while (character = next());
1118
+
1119
+ return parsed;
1120
+ };
1121
+
1122
+ var getRules = function getRules(value, points) {
1123
+ return dealloc(toRules(alloc(value), points));
1124
+ }; // WeakSet would be more appropriate, but only WeakMap is supported in IE11
1125
+
1126
+
1127
+ var fixedElements = /* #__PURE__ */new WeakMap();
1128
+
1129
+ var compat = function compat(element) {
1130
+ if (element.type !== 'rule' || !element.parent || // .length indicates if this rule contains pseudo or not
1131
+ !element.length) {
1132
+ return;
1133
+ }
1134
+
1135
+ var value = element.value,
1136
+ parent = element.parent;
1137
+ var isImplicitRule = element.column === parent.column && element.line === parent.line;
1138
+
1139
+ while (parent.type !== 'rule') {
1140
+ parent = parent.parent;
1141
+ if (!parent) return;
1142
+ } // short-circuit for the simplest case
1143
+
1144
+
1145
+ if (element.props.length === 1 && value.charCodeAt(0) !== 58
1146
+ /* colon */
1147
+ && !fixedElements.get(parent)) {
1148
+ return;
1149
+ } // if this is an implicitly inserted rule (the one eagerly inserted at the each new nested level)
1150
+ // then the props has already been manipulated beforehand as they that array is shared between it and its "rule parent"
1151
+
1152
+
1153
+ if (isImplicitRule) {
1154
+ return;
1155
+ }
1156
+
1157
+ fixedElements.set(element, true);
1158
+ var points = [];
1159
+ var rules = getRules(value, points);
1160
+ var parentRules = parent.props;
1161
+
1162
+ for (var i = 0, k = 0; i < rules.length; i++) {
1163
+ for (var j = 0; j < parentRules.length; j++, k++) {
1164
+ element.props[k] = points[i] ? rules[i].replace(/&\f/g, parentRules[j]) : parentRules[j] + " " + rules[i];
1165
+ }
1166
+ }
1167
+ };
1168
+
1169
+ var removeLabel = function removeLabel(element) {
1170
+ if (element.type === 'decl') {
1171
+ var value = element.value;
1172
+
1173
+ if ( // charcode for l
1174
+ value.charCodeAt(0) === 108 && // charcode for b
1175
+ value.charCodeAt(2) === 98) {
1176
+ // this ignores label
1177
+ element["return"] = '';
1178
+ element.value = '';
1179
+ }
1180
+ }
1181
+ };
1182
+
1183
+ var ignoreFlag = 'emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason';
1184
+
1185
+ var isIgnoringComment = function isIgnoringComment(element) {
1186
+ return !!element && element.type === 'comm' && element.children.indexOf(ignoreFlag) > -1;
1187
+ };
1188
+
1189
+ var createUnsafeSelectorsAlarm = function createUnsafeSelectorsAlarm(cache) {
1190
+ return function (element, index, children) {
1191
+ if (element.type !== 'rule') return;
1192
+ var unsafePseudoClasses = element.value.match(/(:first|:nth|:nth-last)-child/g);
1193
+
1194
+ if (unsafePseudoClasses && cache.compat !== true) {
1195
+ var prevElement = index > 0 ? children[index - 1] : null;
1196
+
1197
+ if (prevElement && isIgnoringComment(last(prevElement.children))) {
1198
+ return;
1199
+ }
1200
+
1201
+ unsafePseudoClasses.forEach(function (unsafePseudoClass) {
1202
+ console.error("The pseudo class \"" + unsafePseudoClass + "\" is potentially unsafe when doing server-side rendering. Try changing it to \"" + unsafePseudoClass.split('-child')[0] + "-of-type\".");
1203
+ });
1204
+ }
1205
+ };
1206
+ };
1207
+
1208
+ var isImportRule = function isImportRule(element) {
1209
+ return element.type.charCodeAt(1) === 105 && element.type.charCodeAt(0) === 64;
1210
+ };
1211
+
1212
+ var isPrependedWithRegularRules = function isPrependedWithRegularRules(index, children) {
1213
+ for (var i = index - 1; i >= 0; i--) {
1214
+ if (!isImportRule(children[i])) {
1215
+ return true;
1216
+ }
1217
+ }
1218
+
1219
+ return false;
1220
+ }; // use this to remove incorrect elements from further processing
1221
+ // so they don't get handed to the `sheet` (or anything else)
1222
+ // as that could potentially lead to additional logs which in turn could be overhelming to the user
1223
+
1224
+
1225
+ var nullifyElement = function nullifyElement(element) {
1226
+ element.type = '';
1227
+ element.value = '';
1228
+ element["return"] = '';
1229
+ element.children = '';
1230
+ element.props = '';
1231
+ };
1232
+
1233
+ var incorrectImportAlarm = function incorrectImportAlarm(element, index, children) {
1234
+ if (!isImportRule(element)) {
1235
+ return;
1236
+ }
1237
+
1238
+ if (element.parent) {
1239
+ console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles.");
1240
+ nullifyElement(element);
1241
+ } else if (isPrependedWithRegularRules(index, children)) {
1242
+ console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules.");
1243
+ nullifyElement(element);
1244
+ }
1245
+ };
1246
+
1247
+ var defaultStylisPlugins = [prefixer];
1248
+
1249
+ var createCache = function createCache(options) {
1250
+ var key = options.key;
1251
+
1252
+ if (process.env.NODE_ENV !== 'production' && !key) {
1253
+ throw new Error("You have to configure `key` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.\n" + "If multiple caches share the same key they might \"fight\" for each other's style elements.");
1254
+ }
1255
+
1256
+ if (key === 'css') {
1257
+ var ssrStyles = document.querySelectorAll("style[data-emotion]:not([data-s])"); // get SSRed styles out of the way of React's hydration
1258
+ // document.head is a safe place to move them to(though note document.head is not necessarily the last place they will be)
1259
+ // note this very very intentionally targets all style elements regardless of the key to ensure
1260
+ // that creating a cache works inside of render of a React component
1261
+
1262
+ Array.prototype.forEach.call(ssrStyles, function (node) {
1263
+ // we want to only move elements which have a space in the data-emotion attribute value
1264
+ // because that indicates that it is an Emotion 11 server-side rendered style elements
1265
+ // while we will already ignore Emotion 11 client-side inserted styles because of the :not([data-s]) part in the selector
1266
+ // Emotion 10 client-side inserted styles did not have data-s (but importantly did not have a space in their data-emotion attributes)
1267
+ // so checking for the space ensures that loading Emotion 11 after Emotion 10 has inserted some styles
1268
+ // will not result in the Emotion 10 styles being destroyed
1269
+ var dataEmotionAttribute = node.getAttribute('data-emotion');
1270
+
1271
+ if (dataEmotionAttribute.indexOf(' ') === -1) {
1272
+ return;
1273
+ }
1274
+
1275
+ document.head.appendChild(node);
1276
+ node.setAttribute('data-s', '');
1277
+ });
1278
+ }
1279
+
1280
+ var stylisPlugins = options.stylisPlugins || defaultStylisPlugins;
1281
+
1282
+ if (process.env.NODE_ENV !== 'production') {
1283
+ // $FlowFixMe
1284
+ if (/[^a-z-]/.test(key)) {
1285
+ throw new Error("Emotion key must only contain lower case alphabetical characters and - but \"" + key + "\" was passed");
1286
+ }
1287
+ }
1288
+
1289
+ var inserted = {}; // $FlowFixMe
1290
+
1291
+ var container;
1292
+ var nodesToHydrate = [];
1293
+ {
1294
+ container = options.container || document.head;
1295
+ Array.prototype.forEach.call( // this means we will ignore elements which don't have a space in them which
1296
+ // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
1297
+ document.querySelectorAll("style[data-emotion^=\"" + key + " \"]"), function (node) {
1298
+ var attrib = node.getAttribute("data-emotion").split(' '); // $FlowFixMe
1299
+
1300
+ for (var i = 1; i < attrib.length; i++) {
1301
+ inserted[attrib[i]] = true;
1302
+ }
1303
+
1304
+ nodesToHydrate.push(node);
1305
+ });
1306
+ }
1307
+
1308
+ var _insert;
1309
+
1310
+ var omnipresentPlugins = [compat, removeLabel];
1311
+
1312
+ if (process.env.NODE_ENV !== 'production') {
1313
+ omnipresentPlugins.push(createUnsafeSelectorsAlarm({
1314
+ get compat() {
1315
+ return cache.compat;
1316
+ }
1317
+
1318
+ }), incorrectImportAlarm);
1319
+ }
1320
+
1321
+ {
1322
+ var currentSheet;
1323
+ var finalizingPlugins = [stringify, process.env.NODE_ENV !== 'production' ? function (element) {
1324
+ if (!element.root) {
1325
+ if (element["return"]) {
1326
+ currentSheet.insert(element["return"]);
1327
+ } else if (element.value && element.type !== COMMENT) {
1328
+ // insert empty rule in non-production environments
1329
+ // so @emotion/jest can grab `key` from the (JS)DOM for caches without any rules inserted yet
1330
+ currentSheet.insert(element.value + "{}");
1331
+ }
1332
+ }
1333
+ } : rulesheet(function (rule) {
1334
+ currentSheet.insert(rule);
1335
+ })];
1336
+ var serializer = middleware(omnipresentPlugins.concat(stylisPlugins, finalizingPlugins));
1337
+
1338
+ var stylis = function stylis(styles) {
1339
+ return serialize(compile(styles), serializer);
1340
+ };
1341
+
1342
+ _insert = function insert(selector, serialized, sheet, shouldCache) {
1343
+ currentSheet = sheet;
1344
+
1345
+ if (process.env.NODE_ENV !== 'production' && serialized.map !== undefined) {
1346
+ currentSheet = {
1347
+ insert: function insert(rule) {
1348
+ sheet.insert(rule + serialized.map);
1349
+ }
1350
+ };
1351
+ }
1352
+
1353
+ stylis(selector ? selector + "{" + serialized.styles + "}" : serialized.styles);
1354
+
1355
+ if (shouldCache) {
1356
+ cache.inserted[serialized.name] = true;
1357
+ }
1358
+ };
1359
+ }
1360
+ var cache = {
1361
+ key: key,
1362
+ sheet: new StyleSheet({
1363
+ key: key,
1364
+ container: container,
1365
+ nonce: options.nonce,
1366
+ speedy: options.speedy,
1367
+ prepend: options.prepend,
1368
+ insertionPoint: options.insertionPoint
1369
+ }),
1370
+ nonce: options.nonce,
1371
+ inserted: inserted,
1372
+ registered: {},
1373
+ insert: _insert
1374
+ };
1375
+ cache.sheet.hydrate(nodesToHydrate);
1376
+ return cache;
1377
+ };
1378
+
1379
+ function createCommonjsModule(fn) {
1380
+ var module = { exports: {} };
1381
+ return fn(module, module.exports), module.exports;
1382
+ }
1383
+
1384
+ /** @license React v16.13.1
1385
+ * react-is.production.min.js
1386
+ *
1387
+ * Copyright (c) Facebook, Inc. and its affiliates.
1388
+ *
1389
+ * This source code is licensed under the MIT license found in the
1390
+ * LICENSE file in the root directory of this source tree.
1391
+ */
1392
+
1393
+ var b = "function" === typeof Symbol && Symbol["for"],
1394
+ c = b ? Symbol["for"]("react.element") : 60103,
1395
+ d = b ? Symbol["for"]("react.portal") : 60106,
1396
+ e = b ? Symbol["for"]("react.fragment") : 60107,
1397
+ f = b ? Symbol["for"]("react.strict_mode") : 60108,
1398
+ g = b ? Symbol["for"]("react.profiler") : 60114,
1399
+ h = b ? Symbol["for"]("react.provider") : 60109,
1400
+ k = b ? Symbol["for"]("react.context") : 60110,
1401
+ l = b ? Symbol["for"]("react.async_mode") : 60111,
1402
+ m = b ? Symbol["for"]("react.concurrent_mode") : 60111,
1403
+ n = b ? Symbol["for"]("react.forward_ref") : 60112,
1404
+ p = b ? Symbol["for"]("react.suspense") : 60113,
1405
+ q = b ? Symbol["for"]("react.suspense_list") : 60120,
1406
+ r = b ? Symbol["for"]("react.memo") : 60115,
1407
+ t = b ? Symbol["for"]("react.lazy") : 60116,
1408
+ v = b ? Symbol["for"]("react.block") : 60121,
1409
+ w = b ? Symbol["for"]("react.fundamental") : 60117,
1410
+ x = b ? Symbol["for"]("react.responder") : 60118,
1411
+ y = b ? Symbol["for"]("react.scope") : 60119;
1412
+
1413
+ function z(a) {
1414
+ if ("object" === typeof a && null !== a) {
1415
+ var u = a.$$typeof;
1416
+
1417
+ switch (u) {
1418
+ case c:
1419
+ switch (a = a.type, a) {
1420
+ case l:
1421
+ case m:
1422
+ case e:
1423
+ case g:
1424
+ case f:
1425
+ case p:
1426
+ return a;
1427
+
1428
+ default:
1429
+ switch (a = a && a.$$typeof, a) {
1430
+ case k:
1431
+ case n:
1432
+ case t:
1433
+ case r:
1434
+ case h:
1435
+ return a;
1436
+
1437
+ default:
1438
+ return u;
1439
+ }
1440
+
1441
+ }
1442
+
1443
+ case d:
1444
+ return u;
1445
+ }
1446
+ }
1447
+ }
1448
+
1449
+ function A(a) {
1450
+ return z(a) === m;
1451
+ }
1452
+
1453
+ var AsyncMode = l;
1454
+ var ConcurrentMode = m;
1455
+ var ContextConsumer = k;
1456
+ var ContextProvider = h;
1457
+ var Element = c;
1458
+ var ForwardRef = n;
1459
+ var Fragment$1 = e;
1460
+ var Lazy = t;
1461
+ var Memo = r;
1462
+ var Portal = d;
1463
+ var Profiler = g;
1464
+ var StrictMode = f;
1465
+ var Suspense = p;
1466
+
1467
+ var isAsyncMode = function isAsyncMode(a) {
1468
+ return A(a) || z(a) === l;
1469
+ };
1470
+
1471
+ var isConcurrentMode = A;
1472
+
1473
+ var isContextConsumer = function isContextConsumer(a) {
1474
+ return z(a) === k;
1475
+ };
1476
+
1477
+ var isContextProvider = function isContextProvider(a) {
1478
+ return z(a) === h;
1479
+ };
1480
+
1481
+ var isElement = function isElement(a) {
1482
+ return "object" === typeof a && null !== a && a.$$typeof === c;
1483
+ };
1484
+
1485
+ var isForwardRef = function isForwardRef(a) {
1486
+ return z(a) === n;
1487
+ };
1488
+
1489
+ var isFragment = function isFragment(a) {
1490
+ return z(a) === e;
1491
+ };
1492
+
1493
+ var isLazy = function isLazy(a) {
1494
+ return z(a) === t;
1495
+ };
1496
+
1497
+ var isMemo = function isMemo(a) {
1498
+ return z(a) === r;
1499
+ };
1500
+
1501
+ var isPortal = function isPortal(a) {
1502
+ return z(a) === d;
1503
+ };
1504
+
1505
+ var isProfiler = function isProfiler(a) {
1506
+ return z(a) === g;
1507
+ };
1508
+
1509
+ var isStrictMode = function isStrictMode(a) {
1510
+ return z(a) === f;
1511
+ };
1512
+
1513
+ var isSuspense = function isSuspense(a) {
1514
+ return z(a) === p;
1515
+ };
1516
+
1517
+ var isValidElementType = function isValidElementType(a) {
1518
+ 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);
1519
+ };
1520
+
1521
+ var typeOf = z;
1522
+ var reactIs_production_min = {
1523
+ AsyncMode: AsyncMode,
1524
+ ConcurrentMode: ConcurrentMode,
1525
+ ContextConsumer: ContextConsumer,
1526
+ ContextProvider: ContextProvider,
1527
+ Element: Element,
1528
+ ForwardRef: ForwardRef,
1529
+ Fragment: Fragment$1,
1530
+ Lazy: Lazy,
1531
+ Memo: Memo,
1532
+ Portal: Portal,
1533
+ Profiler: Profiler,
1534
+ StrictMode: StrictMode,
1535
+ Suspense: Suspense,
1536
+ isAsyncMode: isAsyncMode,
1537
+ isConcurrentMode: isConcurrentMode,
1538
+ isContextConsumer: isContextConsumer,
1539
+ isContextProvider: isContextProvider,
1540
+ isElement: isElement,
1541
+ isForwardRef: isForwardRef,
1542
+ isFragment: isFragment,
1543
+ isLazy: isLazy,
1544
+ isMemo: isMemo,
1545
+ isPortal: isPortal,
1546
+ isProfiler: isProfiler,
1547
+ isStrictMode: isStrictMode,
1548
+ isSuspense: isSuspense,
1549
+ isValidElementType: isValidElementType,
1550
+ typeOf: typeOf
1551
+ };
1552
+
1553
+ /** @license React v16.13.1
1554
+ * react-is.development.js
1555
+ *
1556
+ * Copyright (c) Facebook, Inc. and its affiliates.
1557
+ *
1558
+ * This source code is licensed under the MIT license found in the
1559
+ * LICENSE file in the root directory of this source tree.
1560
+ */
1561
+ var reactIs_development = createCommonjsModule(function (module, exports) {
1562
+
1563
+ if (process.env.NODE_ENV !== "production") {
1564
+ (function () {
1565
+ // nor polyfill, then a plain number is used for performance.
1566
+
1567
+ var hasSymbol = typeof Symbol === 'function' && Symbol["for"];
1568
+ var REACT_ELEMENT_TYPE = hasSymbol ? Symbol["for"]('react.element') : 0xeac7;
1569
+ var REACT_PORTAL_TYPE = hasSymbol ? Symbol["for"]('react.portal') : 0xeaca;
1570
+ var REACT_FRAGMENT_TYPE = hasSymbol ? Symbol["for"]('react.fragment') : 0xeacb;
1571
+ var REACT_STRICT_MODE_TYPE = hasSymbol ? Symbol["for"]('react.strict_mode') : 0xeacc;
1572
+ var REACT_PROFILER_TYPE = hasSymbol ? Symbol["for"]('react.profiler') : 0xead2;
1573
+ var REACT_PROVIDER_TYPE = hasSymbol ? Symbol["for"]('react.provider') : 0xeacd;
1574
+ var REACT_CONTEXT_TYPE = hasSymbol ? Symbol["for"]('react.context') : 0xeace; // TODO: We don't use AsyncMode or ConcurrentMode anymore. They were temporary
1575
+ // (unstable) APIs that have been removed. Can we remove the symbols?
1576
+
1577
+ var REACT_ASYNC_MODE_TYPE = hasSymbol ? Symbol["for"]('react.async_mode') : 0xeacf;
1578
+ var REACT_CONCURRENT_MODE_TYPE = hasSymbol ? Symbol["for"]('react.concurrent_mode') : 0xeacf;
1579
+ var REACT_FORWARD_REF_TYPE = hasSymbol ? Symbol["for"]('react.forward_ref') : 0xead0;
1580
+ var REACT_SUSPENSE_TYPE = hasSymbol ? Symbol["for"]('react.suspense') : 0xead1;
1581
+ var REACT_SUSPENSE_LIST_TYPE = hasSymbol ? Symbol["for"]('react.suspense_list') : 0xead8;
1582
+ var REACT_MEMO_TYPE = hasSymbol ? Symbol["for"]('react.memo') : 0xead3;
1583
+ var REACT_LAZY_TYPE = hasSymbol ? Symbol["for"]('react.lazy') : 0xead4;
1584
+ var REACT_BLOCK_TYPE = hasSymbol ? Symbol["for"]('react.block') : 0xead9;
1585
+ var REACT_FUNDAMENTAL_TYPE = hasSymbol ? Symbol["for"]('react.fundamental') : 0xead5;
1586
+ var REACT_RESPONDER_TYPE = hasSymbol ? Symbol["for"]('react.responder') : 0xead6;
1587
+ var REACT_SCOPE_TYPE = hasSymbol ? Symbol["for"]('react.scope') : 0xead7;
1588
+
1589
+ function isValidElementType(type) {
1590
+ return typeof type === 'string' || typeof type === 'function' || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
1591
+ 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);
1592
+ }
1593
+
1594
+ function typeOf(object) {
1595
+ if (typeof object === 'object' && object !== null) {
1596
+ var $$typeof = object.$$typeof;
1597
+
1598
+ switch ($$typeof) {
1599
+ case REACT_ELEMENT_TYPE:
1600
+ var type = object.type;
1601
+
1602
+ switch (type) {
1603
+ case REACT_ASYNC_MODE_TYPE:
1604
+ case REACT_CONCURRENT_MODE_TYPE:
1605
+ case REACT_FRAGMENT_TYPE:
1606
+ case REACT_PROFILER_TYPE:
1607
+ case REACT_STRICT_MODE_TYPE:
1608
+ case REACT_SUSPENSE_TYPE:
1609
+ return type;
1610
+
1611
+ default:
1612
+ var $$typeofType = type && type.$$typeof;
1613
+
1614
+ switch ($$typeofType) {
1615
+ case REACT_CONTEXT_TYPE:
1616
+ case REACT_FORWARD_REF_TYPE:
1617
+ case REACT_LAZY_TYPE:
1618
+ case REACT_MEMO_TYPE:
1619
+ case REACT_PROVIDER_TYPE:
1620
+ return $$typeofType;
1621
+
1622
+ default:
1623
+ return $$typeof;
1624
+ }
1625
+
1626
+ }
1627
+
1628
+ case REACT_PORTAL_TYPE:
1629
+ return $$typeof;
1630
+ }
1631
+ }
1632
+
1633
+ return undefined;
1634
+ } // AsyncMode is deprecated along with isAsyncMode
1635
+
1636
+
1637
+ var AsyncMode = REACT_ASYNC_MODE_TYPE;
1638
+ var ConcurrentMode = REACT_CONCURRENT_MODE_TYPE;
1639
+ var ContextConsumer = REACT_CONTEXT_TYPE;
1640
+ var ContextProvider = REACT_PROVIDER_TYPE;
1641
+ var Element = REACT_ELEMENT_TYPE;
1642
+ var ForwardRef = REACT_FORWARD_REF_TYPE;
1643
+ var Fragment = REACT_FRAGMENT_TYPE;
1644
+ var Lazy = REACT_LAZY_TYPE;
1645
+ var Memo = REACT_MEMO_TYPE;
1646
+ var Portal = REACT_PORTAL_TYPE;
1647
+ var Profiler = REACT_PROFILER_TYPE;
1648
+ var StrictMode = REACT_STRICT_MODE_TYPE;
1649
+ var Suspense = REACT_SUSPENSE_TYPE;
1650
+ var hasWarnedAboutDeprecatedIsAsyncMode = false; // AsyncMode should be deprecated
1651
+
1652
+ function isAsyncMode(object) {
1653
+ {
1654
+ if (!hasWarnedAboutDeprecatedIsAsyncMode) {
1655
+ hasWarnedAboutDeprecatedIsAsyncMode = true; // Using console['warn'] to evade Babel and ESLint
1656
+
1657
+ 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.');
1658
+ }
1659
+ }
1660
+ return isConcurrentMode(object) || typeOf(object) === REACT_ASYNC_MODE_TYPE;
1661
+ }
1662
+
1663
+ function isConcurrentMode(object) {
1664
+ return typeOf(object) === REACT_CONCURRENT_MODE_TYPE;
1665
+ }
1666
+
1667
+ function isContextConsumer(object) {
1668
+ return typeOf(object) === REACT_CONTEXT_TYPE;
1669
+ }
1670
+
1671
+ function isContextProvider(object) {
1672
+ return typeOf(object) === REACT_PROVIDER_TYPE;
1673
+ }
1674
+
1675
+ function isElement(object) {
1676
+ return typeof object === 'object' && object !== null && object.$$typeof === REACT_ELEMENT_TYPE;
1677
+ }
1678
+
1679
+ function isForwardRef(object) {
1680
+ return typeOf(object) === REACT_FORWARD_REF_TYPE;
1681
+ }
1682
+
1683
+ function isFragment(object) {
1684
+ return typeOf(object) === REACT_FRAGMENT_TYPE;
1685
+ }
1686
+
1687
+ function isLazy(object) {
1688
+ return typeOf(object) === REACT_LAZY_TYPE;
1689
+ }
1690
+
1691
+ function isMemo(object) {
1692
+ return typeOf(object) === REACT_MEMO_TYPE;
1693
+ }
1694
+
1695
+ function isPortal(object) {
1696
+ return typeOf(object) === REACT_PORTAL_TYPE;
1697
+ }
1698
+
1699
+ function isProfiler(object) {
1700
+ return typeOf(object) === REACT_PROFILER_TYPE;
1701
+ }
1702
+
1703
+ function isStrictMode(object) {
1704
+ return typeOf(object) === REACT_STRICT_MODE_TYPE;
1705
+ }
1706
+
1707
+ function isSuspense(object) {
1708
+ return typeOf(object) === REACT_SUSPENSE_TYPE;
1709
+ }
1710
+
1711
+ exports.AsyncMode = AsyncMode;
1712
+ exports.ConcurrentMode = ConcurrentMode;
1713
+ exports.ContextConsumer = ContextConsumer;
1714
+ exports.ContextProvider = ContextProvider;
1715
+ exports.Element = Element;
1716
+ exports.ForwardRef = ForwardRef;
1717
+ exports.Fragment = Fragment;
1718
+ exports.Lazy = Lazy;
1719
+ exports.Memo = Memo;
1720
+ exports.Portal = Portal;
1721
+ exports.Profiler = Profiler;
1722
+ exports.StrictMode = StrictMode;
1723
+ exports.Suspense = Suspense;
1724
+ exports.isAsyncMode = isAsyncMode;
1725
+ exports.isConcurrentMode = isConcurrentMode;
1726
+ exports.isContextConsumer = isContextConsumer;
1727
+ exports.isContextProvider = isContextProvider;
1728
+ exports.isElement = isElement;
1729
+ exports.isForwardRef = isForwardRef;
1730
+ exports.isFragment = isFragment;
1731
+ exports.isLazy = isLazy;
1732
+ exports.isMemo = isMemo;
1733
+ exports.isPortal = isPortal;
1734
+ exports.isProfiler = isProfiler;
1735
+ exports.isStrictMode = isStrictMode;
1736
+ exports.isSuspense = isSuspense;
1737
+ exports.isValidElementType = isValidElementType;
1738
+ exports.typeOf = typeOf;
1739
+ })();
1740
+ }
1741
+ });
1742
+
1743
+ var reactIs = createCommonjsModule(function (module) {
1744
+
1745
+ if (process.env.NODE_ENV === 'production') {
1746
+ module.exports = reactIs_production_min;
1747
+ } else {
1748
+ module.exports = reactIs_development;
1749
+ }
1750
+ });
1751
+
1752
+ var FORWARD_REF_STATICS = {
1753
+ '$$typeof': true,
1754
+ render: true,
1755
+ defaultProps: true,
1756
+ displayName: true,
1757
+ propTypes: true
1758
+ };
1759
+ var MEMO_STATICS = {
1760
+ '$$typeof': true,
1761
+ compare: true,
1762
+ defaultProps: true,
1763
+ displayName: true,
1764
+ propTypes: true,
1765
+ type: true
1766
+ };
1767
+ var TYPE_STATICS = {};
1768
+ TYPE_STATICS[reactIs.ForwardRef] = FORWARD_REF_STATICS;
1769
+ TYPE_STATICS[reactIs.Memo] = MEMO_STATICS;
1770
+
1771
+ var isBrowser = "object" !== 'undefined';
1772
+
1773
+ function getRegisteredStyles(registered, registeredStyles, classNames) {
1774
+ var rawClassName = '';
1775
+ classNames.split(' ').forEach(function (className) {
1776
+ if (registered[className] !== undefined) {
1777
+ registeredStyles.push(registered[className] + ";");
1778
+ } else {
1779
+ rawClassName += className + " ";
1780
+ }
1781
+ });
1782
+ return rawClassName;
1783
+ }
1784
+
1785
+ var insertStyles = function insertStyles(cache, serialized, isStringTag) {
1786
+ var className = cache.key + "-" + serialized.name;
1787
+
1788
+ if ( // we only need to add the styles to the registered cache if the
1789
+ // class name could be used further down
1790
+ // the tree but if it's a string tag, we know it won't
1791
+ // so we don't have to add it to registered cache.
1792
+ // this improves memory usage since we can avoid storing the whole style string
1793
+ (isStringTag === false || // we need to always store it if we're in compat mode and
1794
+ // in node since emotion-server relies on whether a style is in
1795
+ // the registered cache to know whether a style is global or not
1796
+ // also, note that this check will be dead code eliminated in the browser
1797
+ isBrowser === false) && cache.registered[className] === undefined) {
1798
+ cache.registered[className] = serialized.styles;
1799
+ }
1800
+
1801
+ if (cache.inserted[serialized.name] === undefined) {
1802
+ var current = serialized;
1803
+
1804
+ do {
1805
+ cache.insert(serialized === current ? "." + className : '', current, cache.sheet, true);
1806
+ current = current.next;
1807
+ } while (current !== undefined);
1808
+ }
1809
+ };
1810
+
1811
+ /* eslint-disable */
1812
+ // Inspired by https://github.com/garycourt/murmurhash-js
1813
+ // Ported from https://github.com/aappleby/smhasher/blob/61a0530f28277f2e850bfc39600ce61d02b518de/src/MurmurHash2.cpp#L37-L86
1814
+ function murmur2(str) {
1815
+ // 'm' and 'r' are mixing constants generated offline.
1816
+ // They're not really 'magic', they just happen to work well.
1817
+ // const m = 0x5bd1e995;
1818
+ // const r = 24;
1819
+ // Initialize the hash
1820
+ var h = 0; // Mix 4 bytes at a time into the hash
1821
+
1822
+ var k,
1823
+ i = 0,
1824
+ len = str.length;
1825
+
1826
+ for (; len >= 4; ++i, len -= 4) {
1827
+ k = str.charCodeAt(i) & 0xff | (str.charCodeAt(++i) & 0xff) << 8 | (str.charCodeAt(++i) & 0xff) << 16 | (str.charCodeAt(++i) & 0xff) << 24;
1828
+ k =
1829
+ /* Math.imul(k, m): */
1830
+ (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16);
1831
+ k ^=
1832
+ /* k >>> r: */
1833
+ k >>> 24;
1834
+ h =
1835
+ /* Math.imul(k, m): */
1836
+ (k & 0xffff) * 0x5bd1e995 + ((k >>> 16) * 0xe995 << 16) ^
1837
+ /* Math.imul(h, m): */
1838
+ (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
1839
+ } // Handle the last few bytes of the input array
1840
+
1841
+
1842
+ switch (len) {
1843
+ case 3:
1844
+ h ^= (str.charCodeAt(i + 2) & 0xff) << 16;
1845
+
1846
+ case 2:
1847
+ h ^= (str.charCodeAt(i + 1) & 0xff) << 8;
1848
+
1849
+ case 1:
1850
+ h ^= str.charCodeAt(i) & 0xff;
1851
+ h =
1852
+ /* Math.imul(h, m): */
1853
+ (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
1854
+ } // Do a few final mixes of the hash to ensure the last few
1855
+ // bytes are well-incorporated.
1856
+
1857
+
1858
+ h ^= h >>> 13;
1859
+ h =
1860
+ /* Math.imul(h, m): */
1861
+ (h & 0xffff) * 0x5bd1e995 + ((h >>> 16) * 0xe995 << 16);
1862
+ return ((h ^ h >>> 15) >>> 0).toString(36);
1863
+ }
1864
+
1865
+ var unitlessKeys = {
1866
+ animationIterationCount: 1,
1867
+ borderImageOutset: 1,
1868
+ borderImageSlice: 1,
1869
+ borderImageWidth: 1,
1870
+ boxFlex: 1,
1871
+ boxFlexGroup: 1,
1872
+ boxOrdinalGroup: 1,
1873
+ columnCount: 1,
1874
+ columns: 1,
1875
+ flex: 1,
1876
+ flexGrow: 1,
1877
+ flexPositive: 1,
1878
+ flexShrink: 1,
1879
+ flexNegative: 1,
1880
+ flexOrder: 1,
1881
+ gridRow: 1,
1882
+ gridRowEnd: 1,
1883
+ gridRowSpan: 1,
1884
+ gridRowStart: 1,
1885
+ gridColumn: 1,
1886
+ gridColumnEnd: 1,
1887
+ gridColumnSpan: 1,
1888
+ gridColumnStart: 1,
1889
+ msGridRow: 1,
1890
+ msGridRowSpan: 1,
1891
+ msGridColumn: 1,
1892
+ msGridColumnSpan: 1,
1893
+ fontWeight: 1,
1894
+ lineHeight: 1,
1895
+ opacity: 1,
1896
+ order: 1,
1897
+ orphans: 1,
1898
+ tabSize: 1,
1899
+ widows: 1,
1900
+ zIndex: 1,
1901
+ zoom: 1,
1902
+ WebkitLineClamp: 1,
1903
+ // SVG-related properties
1904
+ fillOpacity: 1,
1905
+ floodOpacity: 1,
1906
+ stopOpacity: 1,
1907
+ strokeDasharray: 1,
1908
+ strokeDashoffset: 1,
1909
+ strokeMiterlimit: 1,
1910
+ strokeOpacity: 1,
1911
+ strokeWidth: 1
1912
+ };
1913
+
1914
+ function memoize(fn) {
1915
+ var cache = Object.create(null);
1916
+ return function (arg) {
1917
+ if (cache[arg] === undefined) cache[arg] = fn(arg);
1918
+ return cache[arg];
1919
+ };
1920
+ }
1921
+
1922
+ var ILLEGAL_ESCAPE_SEQUENCE_ERROR = "You have illegal escape sequence in your template literal, most likely inside content's property value.\nBecause you write your CSS inside a JavaScript string you actually have to do double escaping, so for example \"content: '\\00d7';\" should become \"content: '\\\\00d7';\".\nYou can read more about this here:\nhttps://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_literals#ES2018_revision_of_illegal_escape_sequences";
1923
+ var UNDEFINED_AS_OBJECT_KEY_ERROR = "You have passed in falsy value as style object's key (can happen when in example you pass unexported component as computed key).";
1924
+ var hyphenateRegex = /[A-Z]|^ms/g;
1925
+ var animationRegex = /_EMO_([^_]+?)_([^]*?)_EMO_/g;
1926
+
1927
+ var isCustomProperty = function isCustomProperty(property) {
1928
+ return property.charCodeAt(1) === 45;
1929
+ };
1930
+
1931
+ var isProcessableValue = function isProcessableValue(value) {
1932
+ return value != null && typeof value !== 'boolean';
1933
+ };
1934
+
1935
+ var processStyleName = /* #__PURE__ */memoize(function (styleName) {
1936
+ return isCustomProperty(styleName) ? styleName : styleName.replace(hyphenateRegex, '-$&').toLowerCase();
1937
+ });
1938
+
1939
+ var processStyleValue = function processStyleValue(key, value) {
1940
+ switch (key) {
1941
+ case 'animation':
1942
+ case 'animationName':
1943
+ {
1944
+ if (typeof value === 'string') {
1945
+ return value.replace(animationRegex, function (match, p1, p2) {
1946
+ cursor = {
1947
+ name: p1,
1948
+ styles: p2,
1949
+ next: cursor
1950
+ };
1951
+ return p1;
1952
+ });
1953
+ }
1954
+ }
1955
+ }
1956
+
1957
+ if (unitlessKeys[key] !== 1 && !isCustomProperty(key) && typeof value === 'number' && value !== 0) {
1958
+ return value + 'px';
1959
+ }
1960
+
1961
+ return value;
1962
+ };
1963
+
1964
+ if (process.env.NODE_ENV !== 'production') {
1965
+ var contentValuePattern = /(attr|counters?|url|(((repeating-)?(linear|radial))|conic)-gradient)\(|(no-)?(open|close)-quote/;
1966
+ var contentValues = ['normal', 'none', 'initial', 'inherit', 'unset'];
1967
+ var oldProcessStyleValue = processStyleValue;
1968
+ var msPattern = /^-ms-/;
1969
+ var hyphenPattern = /-(.)/g;
1970
+ var hyphenatedCache = {};
1971
+
1972
+ processStyleValue = function processStyleValue(key, value) {
1973
+ if (key === 'content') {
1974
+ if (typeof value !== 'string' || contentValues.indexOf(value) === -1 && !contentValuePattern.test(value) && (value.charAt(0) !== value.charAt(value.length - 1) || value.charAt(0) !== '"' && value.charAt(0) !== "'")) {
1975
+ throw new Error("You seem to be using a value for 'content' without quotes, try replacing it with `content: '\"" + value + "\"'`");
1976
+ }
1977
+ }
1978
+
1979
+ var processed = oldProcessStyleValue(key, value);
1980
+
1981
+ if (processed !== '' && !isCustomProperty(key) && key.indexOf('-') !== -1 && hyphenatedCache[key] === undefined) {
1982
+ hyphenatedCache[key] = true;
1983
+ console.error("Using kebab-case for css properties in objects is not supported. Did you mean " + key.replace(msPattern, 'ms-').replace(hyphenPattern, function (str, _char) {
1984
+ return _char.toUpperCase();
1985
+ }) + "?");
1986
+ }
1987
+
1988
+ return processed;
1989
+ };
1990
+ }
1991
+
1992
+ function handleInterpolation(mergedProps, registered, interpolation) {
1993
+ if (interpolation == null) {
1994
+ return '';
1995
+ }
1996
+
1997
+ if (interpolation.__emotion_styles !== undefined) {
1998
+ if (process.env.NODE_ENV !== 'production' && interpolation.toString() === 'NO_COMPONENT_SELECTOR') {
1999
+ throw new Error('Component selectors can only be used in conjunction with @emotion/babel-plugin.');
2000
+ }
2001
+
2002
+ return interpolation;
2003
+ }
2004
+
2005
+ switch (typeof interpolation) {
2006
+ case 'boolean':
2007
+ {
2008
+ return '';
2009
+ }
2010
+
2011
+ case 'object':
2012
+ {
2013
+ if (interpolation.anim === 1) {
2014
+ cursor = {
2015
+ name: interpolation.name,
2016
+ styles: interpolation.styles,
2017
+ next: cursor
2018
+ };
2019
+ return interpolation.name;
2020
+ }
2021
+
2022
+ if (interpolation.styles !== undefined) {
2023
+ var next = interpolation.next;
2024
+
2025
+ if (next !== undefined) {
2026
+ // not the most efficient thing ever but this is a pretty rare case
2027
+ // and there will be very few iterations of this generally
2028
+ while (next !== undefined) {
2029
+ cursor = {
2030
+ name: next.name,
2031
+ styles: next.styles,
2032
+ next: cursor
2033
+ };
2034
+ next = next.next;
2035
+ }
2036
+ }
2037
+
2038
+ var styles = interpolation.styles + ";";
2039
+
2040
+ if (process.env.NODE_ENV !== 'production' && interpolation.map !== undefined) {
2041
+ styles += interpolation.map;
2042
+ }
2043
+
2044
+ return styles;
2045
+ }
2046
+
2047
+ return createStringFromObject(mergedProps, registered, interpolation);
2048
+ }
2049
+
2050
+ case 'function':
2051
+ {
2052
+ if (mergedProps !== undefined) {
2053
+ var previousCursor = cursor;
2054
+ var result = interpolation(mergedProps);
2055
+ cursor = previousCursor;
2056
+ return handleInterpolation(mergedProps, registered, result);
2057
+ } else if (process.env.NODE_ENV !== 'production') {
2058
+ console.error('Functions that are interpolated in css calls will be stringified.\n' + 'If you want to have a css call based on props, create a function that returns a css call like this\n' + 'let dynamicStyle = (props) => css`color: ${props.color}`\n' + 'It can be called directly with props or interpolated in a styled call like this\n' + "let SomeComponent = styled('div')`${dynamicStyle}`");
2059
+ }
2060
+
2061
+ break;
2062
+ }
2063
+
2064
+ case 'string':
2065
+ if (process.env.NODE_ENV !== 'production') {
2066
+ var matched = [];
2067
+ var replaced = interpolation.replace(animationRegex, function (match, p1, p2) {
2068
+ var fakeVarName = "animation" + matched.length;
2069
+ matched.push("const " + fakeVarName + " = keyframes`" + p2.replace(/^@keyframes animation-\w+/, '') + "`");
2070
+ return "${" + fakeVarName + "}";
2071
+ });
2072
+
2073
+ if (matched.length) {
2074
+ console.error('`keyframes` output got interpolated into plain string, please wrap it with `css`.\n\n' + 'Instead of doing this:\n\n' + [].concat(matched, ["`" + replaced + "`"]).join('\n') + '\n\nYou should wrap it with `css` like this:\n\n' + ("css`" + replaced + "`"));
2075
+ }
2076
+ }
2077
+
2078
+ break;
2079
+ } // finalize string values (regular strings and functions interpolated into css calls)
2080
+
2081
+
2082
+ if (registered == null) {
2083
+ return interpolation;
2084
+ }
2085
+
2086
+ var cached = registered[interpolation];
2087
+ return cached !== undefined ? cached : interpolation;
2088
+ }
2089
+
2090
+ function createStringFromObject(mergedProps, registered, obj) {
2091
+ var string = '';
2092
+
2093
+ if (Array.isArray(obj)) {
2094
+ for (var i = 0; i < obj.length; i++) {
2095
+ string += handleInterpolation(mergedProps, registered, obj[i]) + ";";
2096
+ }
2097
+ } else {
2098
+ for (var _key in obj) {
2099
+ var value = obj[_key];
2100
+
2101
+ if (typeof value !== 'object') {
2102
+ if (registered != null && registered[value] !== undefined) {
2103
+ string += _key + "{" + registered[value] + "}";
2104
+ } else if (isProcessableValue(value)) {
2105
+ string += processStyleName(_key) + ":" + processStyleValue(_key, value) + ";";
2106
+ }
2107
+ } else {
2108
+ if (_key === 'NO_COMPONENT_SELECTOR' && process.env.NODE_ENV !== 'production') {
2109
+ throw new Error('Component selectors can only be used in conjunction with @emotion/babel-plugin.');
2110
+ }
2111
+
2112
+ if (Array.isArray(value) && typeof value[0] === 'string' && (registered == null || registered[value[0]] === undefined)) {
2113
+ for (var _i = 0; _i < value.length; _i++) {
2114
+ if (isProcessableValue(value[_i])) {
2115
+ string += processStyleName(_key) + ":" + processStyleValue(_key, value[_i]) + ";";
2116
+ }
2117
+ }
2118
+ } else {
2119
+ var interpolated = handleInterpolation(mergedProps, registered, value);
2120
+
2121
+ switch (_key) {
2122
+ case 'animation':
2123
+ case 'animationName':
2124
+ {
2125
+ string += processStyleName(_key) + ":" + interpolated + ";";
2126
+ break;
2127
+ }
2128
+
2129
+ default:
2130
+ {
2131
+ if (process.env.NODE_ENV !== 'production' && _key === 'undefined') {
2132
+ console.error(UNDEFINED_AS_OBJECT_KEY_ERROR);
2133
+ }
2134
+
2135
+ string += _key + "{" + interpolated + "}";
2136
+ }
2137
+ }
2138
+ }
2139
+ }
2140
+ }
2141
+ }
2142
+
2143
+ return string;
2144
+ }
2145
+
2146
+ var labelPattern = /label:\s*([^\s;\n{]+)\s*(;|$)/g;
2147
+ var sourceMapPattern;
2148
+
2149
+ if (process.env.NODE_ENV !== 'production') {
2150
+ sourceMapPattern = /\/\*#\ssourceMappingURL=data:application\/json;\S+\s+\*\//g;
2151
+ } // this is the cursor for keyframes
2152
+ // keyframes are stored on the SerializedStyles object as a linked list
2153
+
2154
+
2155
+ var cursor;
2156
+
2157
+ var serializeStyles = function serializeStyles(args, registered, mergedProps) {
2158
+ if (args.length === 1 && typeof args[0] === 'object' && args[0] !== null && args[0].styles !== undefined) {
2159
+ return args[0];
2160
+ }
2161
+
2162
+ var stringMode = true;
2163
+ var styles = '';
2164
+ cursor = undefined;
2165
+ var strings = args[0];
2166
+
2167
+ if (strings == null || strings.raw === undefined) {
2168
+ stringMode = false;
2169
+ styles += handleInterpolation(mergedProps, registered, strings);
2170
+ } else {
2171
+ if (process.env.NODE_ENV !== 'production' && strings[0] === undefined) {
2172
+ console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
2173
+ }
2174
+
2175
+ styles += strings[0];
2176
+ } // we start at 1 since we've already handled the first arg
2177
+
2178
+
2179
+ for (var i = 1; i < args.length; i++) {
2180
+ styles += handleInterpolation(mergedProps, registered, args[i]);
2181
+
2182
+ if (stringMode) {
2183
+ if (process.env.NODE_ENV !== 'production' && strings[i] === undefined) {
2184
+ console.error(ILLEGAL_ESCAPE_SEQUENCE_ERROR);
2185
+ }
2186
+
2187
+ styles += strings[i];
2188
+ }
2189
+ }
2190
+
2191
+ var sourceMap;
2192
+
2193
+ if (process.env.NODE_ENV !== 'production') {
2194
+ styles = styles.replace(sourceMapPattern, function (match) {
2195
+ sourceMap = match;
2196
+ return '';
2197
+ });
2198
+ } // using a global regex with .exec is stateful so lastIndex has to be reset each time
2199
+
2200
+
2201
+ labelPattern.lastIndex = 0;
2202
+ var identifierName = '';
2203
+ var match; // https://esbench.com/bench/5b809c2cf2949800a0f61fb5
2204
+
2205
+ while ((match = labelPattern.exec(styles)) !== null) {
2206
+ identifierName += '-' + // $FlowFixMe we know it's not null
2207
+ match[1];
2208
+ }
2209
+
2210
+ var name = murmur2(styles) + identifierName;
2211
+
2212
+ if (process.env.NODE_ENV !== 'production') {
2213
+ // $FlowFixMe SerializedStyles type doesn't have toString property (and we don't want to add it)
2214
+ return {
2215
+ name: name,
2216
+ styles: styles,
2217
+ map: sourceMap,
2218
+ next: cursor,
2219
+ toString: function toString() {
2220
+ return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop).";
2221
+ }
2222
+ };
2223
+ }
2224
+
2225
+ return {
2226
+ name: name,
2227
+ styles: styles,
2228
+ next: cursor
2229
+ };
2230
+ };
2231
+
2232
+ var hasOwnProperty = {}.hasOwnProperty;
2233
+ var EmotionCacheContext = /* #__PURE__ */React.createContext( // we're doing this to avoid preconstruct's dead code elimination in this one case
2234
+ // because this module is primarily intended for the browser and node
2235
+ // but it's also required in react native and similar environments sometimes
2236
+ // and we could have a special build just for that
2237
+ // but this is much easier and the native packages
2238
+ // might use a different theme context in the future anyway
2239
+ typeof HTMLElement !== 'undefined' ? /* #__PURE__ */createCache({
2240
+ key: 'css'
2241
+ }) : null);
2242
+
2243
+ if (process.env.NODE_ENV !== 'production') {
2244
+ EmotionCacheContext.displayName = 'EmotionCacheContext';
2245
+ }
2246
+
2247
+ var withEmotionCache = function withEmotionCache(func) {
2248
+ // $FlowFixMe
2249
+ return /*#__PURE__*/React.forwardRef(function (props, ref) {
2250
+ // the cache will never be null in the browser
2251
+ var cache = React.useContext(EmotionCacheContext);
2252
+ return func(props, cache, ref);
2253
+ });
2254
+ };
2255
+
2256
+ var ThemeContext = /* #__PURE__ */React.createContext({});
2257
+
2258
+ if (process.env.NODE_ENV !== 'production') {
2259
+ ThemeContext.displayName = 'EmotionThemeContext';
2260
+ }
2261
+
2262
+ var getFunctionNameFromStackTraceLine = function getFunctionNameFromStackTraceLine(line) {
2263
+ // V8
2264
+ var match = /^\s+at\s+([A-Za-z0-9$.]+)\s/.exec(line);
2265
+
2266
+ if (match) {
2267
+ // The match may be something like 'Object.createEmotionProps'
2268
+ var parts = match[1].split('.');
2269
+ return parts[parts.length - 1];
2270
+ } // Safari / Firefox
2271
+
2272
+
2273
+ match = /^([A-Za-z0-9$.]+)@/.exec(line);
2274
+ if (match) return match[1];
2275
+ return undefined;
2276
+ };
2277
+
2278
+ var internalReactFunctionNames = /* #__PURE__ */new Set(['renderWithHooks', 'processChild', 'finishClassComponent', 'renderToString']); // These identifiers come from error stacks, so they have to be valid JS
2279
+ // identifiers, thus we only need to replace what is a valid character for JS,
2280
+ // but not for CSS.
2281
+
2282
+ var sanitizeIdentifier = function sanitizeIdentifier(identifier) {
2283
+ return identifier.replace(/\$/g, '-');
2284
+ };
2285
+
2286
+ var getLabelFromStackTrace = function getLabelFromStackTrace(stackTrace) {
2287
+ if (!stackTrace) return undefined;
2288
+ var lines = stackTrace.split('\n');
2289
+
2290
+ for (var i = 0; i < lines.length; i++) {
2291
+ var functionName = getFunctionNameFromStackTraceLine(lines[i]); // The first line of V8 stack traces is just "Error"
2292
+
2293
+ if (!functionName) continue; // If we reach one of these, we have gone too far and should quit
2294
+
2295
+ if (internalReactFunctionNames.has(functionName)) break; // The component name is the first function in the stack that starts with an
2296
+ // uppercase letter
2297
+
2298
+ if (/^[A-Z]/.test(functionName)) return sanitizeIdentifier(functionName);
2299
+ }
2300
+
2301
+ return undefined;
2302
+ };
2303
+
2304
+ var typePropName = '__EMOTION_TYPE_PLEASE_DO_NOT_USE__';
2305
+ var labelPropName = '__EMOTION_LABEL_PLEASE_DO_NOT_USE__';
2306
+
2307
+ var createEmotionProps = function createEmotionProps(type, props) {
2308
+ if (process.env.NODE_ENV !== 'production' && typeof props.css === 'string' && // check if there is a css declaration
2309
+ props.css.indexOf(':') !== -1) {
2310
+ throw new Error("Strings are not allowed as css prop values, please wrap it in a css template literal from '@emotion/react' like this: css`" + props.css + "`");
2311
+ }
2312
+
2313
+ var newProps = {};
2314
+
2315
+ for (var key in props) {
2316
+ if (hasOwnProperty.call(props, key)) {
2317
+ newProps[key] = props[key];
2318
+ }
2319
+ }
2320
+
2321
+ newProps[typePropName] = type; // For performance, only call getLabelFromStackTrace in development and when
2322
+ // the label hasn't already been computed
2323
+
2324
+ if (process.env.NODE_ENV !== 'production' && !!props.css && (typeof props.css !== 'object' || typeof props.css.name !== 'string' || props.css.name.indexOf('-') === -1)) {
2325
+ var label = getLabelFromStackTrace(new Error().stack);
2326
+ if (label) newProps[labelPropName] = label;
2327
+ }
2328
+
2329
+ return newProps;
2330
+ };
2331
+
2332
+ var Noop = function Noop() {
2333
+ return null;
2334
+ };
2335
+
2336
+ var Emotion = /* #__PURE__ */withEmotionCache(function (props, cache, ref) {
2337
+ var cssProp = props.css; // so that using `css` from `emotion` and passing the result to the css prop works
2338
+ // not passing the registered cache to serializeStyles because it would
2339
+ // make certain babel optimisations not possible
2340
+
2341
+ if (typeof cssProp === 'string' && cache.registered[cssProp] !== undefined) {
2342
+ cssProp = cache.registered[cssProp];
2343
+ }
2344
+
2345
+ var type = props[typePropName];
2346
+ var registeredStyles = [cssProp];
2347
+ var className = '';
2348
+
2349
+ if (typeof props.className === 'string') {
2350
+ className = getRegisteredStyles(cache.registered, registeredStyles, props.className);
2351
+ } else if (props.className != null) {
2352
+ className = props.className + " ";
2353
+ }
2354
+
2355
+ var serialized = serializeStyles(registeredStyles, undefined, React.useContext(ThemeContext));
2356
+
2357
+ if (process.env.NODE_ENV !== 'production' && serialized.name.indexOf('-') === -1) {
2358
+ var labelFromStack = props[labelPropName];
2359
+
2360
+ if (labelFromStack) {
2361
+ serialized = serializeStyles([serialized, 'label:' + labelFromStack + ';']);
2362
+ }
2363
+ }
2364
+
2365
+ insertStyles(cache, serialized, typeof type === 'string');
2366
+ className += cache.key + "-" + serialized.name;
2367
+ var newProps = {};
2368
+
2369
+ for (var key in props) {
2370
+ if (hasOwnProperty.call(props, key) && key !== 'css' && key !== typePropName && (process.env.NODE_ENV === 'production' || key !== labelPropName)) {
2371
+ newProps[key] = props[key];
2372
+ }
2373
+ }
2374
+
2375
+ newProps.ref = ref;
2376
+ newProps.className = className;
2377
+ var ele = /*#__PURE__*/React.createElement(type, newProps);
2378
+ var possiblyStyleElement = /*#__PURE__*/React.createElement(Noop, null);
2379
+ return /*#__PURE__*/React.createElement(React.Fragment, null, possiblyStyleElement, ele);
2380
+ });
2381
+
2382
+ if (process.env.NODE_ENV !== 'production') {
2383
+ Emotion.displayName = 'EmotionCssPropInternal';
2384
+ }
2385
+
2386
+ var Fragment = jsxRuntime.Fragment;
2387
+
2388
+ function jsx(type, props, key) {
2389
+ if (!hasOwnProperty.call(props, 'css')) {
2390
+ return jsxRuntime.jsx(type, props, key);
2391
+ }
2392
+
2393
+ return jsxRuntime.jsx(Emotion, createEmotionProps(type, props), key);
2394
+ }
2395
+
2396
+ function jsxs(type, props, key) {
2397
+ if (!hasOwnProperty.call(props, 'css')) {
2398
+ return jsxRuntime.jsxs(type, props, key);
2399
+ }
2400
+
2401
+ return jsxRuntime.jsxs(Emotion, createEmotionProps(type, props), key);
2402
+ }
2403
+
58
2404
  var CarouselSwiper$3 = /*#__PURE__*/styled__default["default"](react.Swiper).withConfig({
59
2405
  displayName: "styles__CarouselSwiper",
60
2406
  componentId: "sc-1sue7gh-1"
@@ -92,12 +2438,12 @@ var PillsCarousel = function PillsCarousel(_ref) {
92
2438
  swiper = _useState2[0],
93
2439
  setSwiper = _useState2[1];
94
2440
 
95
- return jsxRuntime.jsxs("div", {
2441
+ return jsxs("div", {
96
2442
  css: "\n display: flex !important;\n position: relative !important;\n min-width: 0px !important;\n ",
97
- children: [jsxRuntime.jsx("div", {
2443
+ children: [jsx("div", {
98
2444
  css: "\n position: absolute !important;\n left: 0px !important;\n z-index: 3 !important;\n width: 65px !important;\n background: linear-gradient(\n to right,\n rgb(255, 255, 255) 56.77%,\n rgba(255, 255, 255, 0) 94.47%\n ) !important;\n " + (swiperSlides.isBeginning && styled.css(_templateObject || (_templateObject = _taggedTemplateLiteralLoose(["\n display: none !important;\n visibility: hidden !important;\n "])))) + "\n ",
99
- children: arrows && jsxRuntime.jsx(CarouselPillContainer, {
100
- children: jsxRuntime.jsx(CarouselPill$1, {
2445
+ children: arrows && jsx(CarouselPillContainer, {
2446
+ children: jsx(CarouselPill$1, {
101
2447
  left: +true,
102
2448
  ref: prevRef,
103
2449
  "aria-label": "Previous",
@@ -105,18 +2451,18 @@ var PillsCarousel = function PillsCarousel(_ref) {
105
2451
  onClick: function onClick() {
106
2452
  return swiper.slidePrev();
107
2453
  },
108
- children: jsxRuntime.jsx("span", {
2454
+ children: jsx("span", {
109
2455
  css: "\n position: relative !important;\n ",
110
- children: jsxRuntime.jsx("svg", {
2456
+ children: jsx("svg", {
111
2457
  viewBox: "0 0 32 32",
112
2458
  xmlns: "http://www.w3.org/2000/svg",
113
2459
  "aria-hidden": "true",
114
2460
  role: "presentation",
115
2461
  focusable: "false",
116
2462
  css: "\n display: block;\n fill: none;\n height: 12px;\n width: 12px;\n stroke: currentcolor;\n stroke-width: 5.33333;\n overflow: visible;\n ",
117
- children: jsxRuntime.jsx("g", {
2463
+ children: jsx("g", {
118
2464
  fill: "none",
119
- children: jsxRuntime.jsx("path", {
2465
+ children: jsx("path", {
120
2466
  d: "m20 28-11.29289322-11.2928932c-.39052429-.3905243-.39052429-1.0236893 0-1.4142136l11.29289322-11.2928932"
121
2467
  }, void 0)
122
2468
  }, void 0)
@@ -124,7 +2470,7 @@ var PillsCarousel = function PillsCarousel(_ref) {
124
2470
  }, void 0)
125
2471
  }, void 0)
126
2472
  }, void 0)
127
- }, void 0), jsxRuntime.jsx(CarouselSwiper$3, _extends({}, props, {
2473
+ }, void 0), jsx(CarouselSwiper$3, _extends({}, props, {
128
2474
  cssMode: false,
129
2475
  slidesPerView: "auto",
130
2476
  onInit: function onInit(swiper) {
@@ -154,17 +2500,17 @@ var PillsCarousel = function PillsCarousel(_ref) {
154
2500
  });
155
2501
  },
156
2502
  children: React__default["default"].Children.map(children, function (child) {
157
- return jsxRuntime.jsx(react.SwiperSlide, {
158
- children: jsxRuntime.jsx("div", {
2503
+ return jsx(react.SwiperSlide, {
2504
+ children: jsx("div", {
159
2505
  css: "\n display: inline-block !important;\n white-space: nowrap !important;\n padding-right: 8px !important;\n padding-top: 4px !important;\n padding-bottom: 4px !important;\n ",
160
2506
  children: child
161
2507
  }, void 0)
162
2508
  }, void 0);
163
2509
  })
164
- }), void 0), jsxRuntime.jsx("div", {
2510
+ }), void 0), jsx("div", {
165
2511
  css: "\n -webkit-box-pack: end !important;\n position: absolute !important;\n right: 0px !important;\n z-index: 3 !important;\n width: 75px !important;\n display: flex !important;\n justify-content: flex-end !important;\n background: linear-gradient(\n to left,\n rgb(255, 255, 255) 56.77%,\n rgba(255, 255, 255, 0) 94.47%\n ) !important;\n " + (swiperSlides.isEnd && styled.css(_templateObject2 || (_templateObject2 = _taggedTemplateLiteralLoose(["\n display: none !important;\n visibility: hidden !important;\n "])))) + "\n ",
166
- children: arrows && jsxRuntime.jsx(CarouselPillContainer, {
167
- children: jsxRuntime.jsx(CarouselPill$1, {
2512
+ children: arrows && jsx(CarouselPillContainer, {
2513
+ children: jsx(CarouselPill$1, {
168
2514
  right: +true,
169
2515
  "aria-label": "Next",
170
2516
  type: "button",
@@ -172,18 +2518,18 @@ var PillsCarousel = function PillsCarousel(_ref) {
172
2518
  onClick: function onClick() {
173
2519
  return swiper.slideNext();
174
2520
  },
175
- children: jsxRuntime.jsx("span", {
2521
+ children: jsx("span", {
176
2522
  css: "\n position: relative !important;\n ",
177
- children: jsxRuntime.jsx("svg", {
2523
+ children: jsx("svg", {
178
2524
  viewBox: "0 0 32 32",
179
2525
  xmlns: "http://www.w3.org/2000/svg",
180
2526
  "aria-hidden": "true",
181
2527
  role: "presentation",
182
2528
  focusable: "false",
183
2529
  css: "\n display: block;\n fill: none;\n height: 12px;\n width: 12px;\n stroke: currentcolor;\n stroke-width: 5.33333;\n overflow: visible;\n ",
184
- children: jsxRuntime.jsx("g", {
2530
+ children: jsx("g", {
185
2531
  fill: "none",
186
- children: jsxRuntime.jsx("path", {
2532
+ children: jsx("path", {
187
2533
  d: "m12 4 11.2928932 11.2928932c.3905243.3905243.3905243 1.0236893 0 1.4142136l-11.2928932 11.2928932"
188
2534
  }, void 0)
189
2535
  }, void 0)
@@ -261,52 +2607,52 @@ var CardCarousel = function CardCarousel(_ref) {
261
2607
 
262
2608
  var prevRef = React.useRef(null);
263
2609
  var nextRef = React.useRef(null);
264
- return jsxRuntime.jsxs(CarouselContainer, {
265
- children: [navigation && jsxRuntime.jsxs(CarouselNavbar, {
266
- children: [title && jsxRuntime.jsx(NavbarTitleContainer, {
2610
+ return jsxs(CarouselContainer, {
2611
+ children: [navigation && jsxs(CarouselNavbar, {
2612
+ children: [title && jsx(NavbarTitleContainer, {
267
2613
  children: title
268
- }, void 0), controls && jsxRuntime.jsxs(NavbarControlsContainer, {
269
- children: [onShowMore && jsxRuntime.jsx(NavbarControlsQuick, {
2614
+ }, void 0), controls && jsxs(NavbarControlsContainer, {
2615
+ children: [onShowMore && jsx(NavbarControlsQuick, {
270
2616
  onClick: onShowMore,
271
2617
  children: "Show More"
272
- }, void 0), jsxRuntime.jsx(NavbarControlsSpace, {}, void 0), jsxRuntime.jsx(ArrowsContainer, {
2618
+ }, void 0), jsx(NavbarControlsSpace, {}, void 0), jsx(ArrowsContainer, {
273
2619
  "aria-hidden": "false",
274
- children: jsxRuntime.jsxs(ArrowsFlex, {
275
- children: [jsxRuntime.jsx(ArrowsButton, {
2620
+ children: jsxs(ArrowsFlex, {
2621
+ children: [jsx(ArrowsButton, {
276
2622
  ref: prevRef,
277
2623
  "aria-label": "Previous",
278
2624
  type: "button",
279
- children: jsxRuntime.jsxs("span", {
2625
+ children: jsxs("span", {
280
2626
  css: "\n position: relative;\n ",
281
- children: [jsxRuntime.jsx(ArrowsIconClip, {}, void 0), jsxRuntime.jsx(ArrowsSvg, {
2627
+ children: [jsx(ArrowsIconClip, {}, void 0), jsx(ArrowsSvg, {
282
2628
  viewBox: "0 0 32 32",
283
2629
  xmlns: "http://www.w3.org/2000/svg",
284
2630
  "aria-hidden": "true",
285
2631
  role: "presentation",
286
2632
  focusable: "false",
287
- children: jsxRuntime.jsx("g", {
2633
+ children: jsx("g", {
288
2634
  fill: "none",
289
- children: jsxRuntime.jsx("path", {
2635
+ children: jsx("path", {
290
2636
  d: "m20 28-11.29289322-11.2928932c-.39052429-.3905243-.39052429-1.0236893 0-1.4142136l11.29289322-11.2928932"
291
2637
  }, void 0)
292
2638
  }, void 0)
293
2639
  }, void 0)]
294
2640
  }, void 0)
295
- }, void 0), jsxRuntime.jsx(ArrowsDivider, {}, void 0), jsxRuntime.jsx(ArrowsButton, {
2641
+ }, void 0), jsx(ArrowsDivider, {}, void 0), jsx(ArrowsButton, {
296
2642
  "aria-label": "Next",
297
2643
  type: "button",
298
2644
  ref: nextRef,
299
- children: jsxRuntime.jsxs("span", {
2645
+ children: jsxs("span", {
300
2646
  css: "\n position: relative;\n ",
301
- children: [jsxRuntime.jsx(ArrowsIconClip, {}, void 0), jsxRuntime.jsx(ArrowsSvg, {
2647
+ children: [jsx(ArrowsIconClip, {}, void 0), jsx(ArrowsSvg, {
302
2648
  viewBox: "0 0 32 32",
303
2649
  xmlns: "http://www.w3.org/2000/svg",
304
2650
  "aria-hidden": "true",
305
2651
  role: "presentation",
306
2652
  focusable: "false",
307
- children: jsxRuntime.jsx("g", {
2653
+ children: jsx("g", {
308
2654
  fill: "none",
309
- children: jsxRuntime.jsx("path", {
2655
+ children: jsx("path", {
310
2656
  d: "m12 4 11.2928932 11.2928932c.3905243.3905243.3905243 1.0236893 0 1.4142136l-11.2928932 11.2928932"
311
2657
  }, void 0)
312
2658
  }, void 0)
@@ -316,7 +2662,7 @@ var CardCarousel = function CardCarousel(_ref) {
316
2662
  }, void 0)
317
2663
  }, void 0)]
318
2664
  }, void 0)]
319
- }, void 0), jsxRuntime.jsx(CarouselSwiper$2, _extends({}, props, {
2665
+ }, void 0), jsx(CarouselSwiper$2, _extends({}, props, {
320
2666
  onInit: function onInit(swiper) {
321
2667
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
322
2668
  // @ts-ignore
@@ -330,7 +2676,7 @@ var CardCarousel = function CardCarousel(_ref) {
330
2676
  swiper.navigation.update(); // console.log("Swiper", swiper);
331
2677
  },
332
2678
  children: React__default["default"].Children.map(children, function (child) {
333
- return jsxRuntime.jsx(react.SwiperSlide, {
2679
+ return jsx(react.SwiperSlide, {
334
2680
  children: child
335
2681
  }, void 0);
336
2682
  })
@@ -355,55 +2701,55 @@ var FreeCarousel = function FreeCarousel(_ref) {
355
2701
 
356
2702
  var prevRef = React.useRef(null);
357
2703
  var nextRef = React.useRef(null);
358
- return jsxRuntime.jsxs(CarouselContainer, {
359
- children: [jsxRuntime.jsx("div", {
2704
+ return jsxs(CarouselContainer, {
2705
+ children: [jsx("div", {
360
2706
  css: "\n @media (max-width: 744px) {\n display: none !important;\n }\n ",
361
- children: jsxRuntime.jsx(layout.Container, {
362
- children: navigation && jsxRuntime.jsxs(CarouselNavbar, {
363
- children: [title && jsxRuntime.jsx(NavbarTitleContainer, {
2707
+ children: jsx(layout.Container, {
2708
+ children: navigation && jsxs(CarouselNavbar, {
2709
+ children: [title && jsx(NavbarTitleContainer, {
364
2710
  children: title
365
- }, void 0), controls && jsxRuntime.jsxs(NavbarControlsContainer, {
366
- children: [onShowMore && jsxRuntime.jsx(NavbarControlsQuick, {
2711
+ }, void 0), controls && jsxs(NavbarControlsContainer, {
2712
+ children: [onShowMore && jsx(NavbarControlsQuick, {
367
2713
  onClick: onShowMore,
368
2714
  children: "Show More"
369
- }, void 0), jsxRuntime.jsx(NavbarControlsSpace, {}, void 0), jsxRuntime.jsx(ArrowsContainer, {
2715
+ }, void 0), jsx(NavbarControlsSpace, {}, void 0), jsx(ArrowsContainer, {
370
2716
  "aria-hidden": "false",
371
- children: jsxRuntime.jsxs(ArrowsFlex, {
372
- children: [jsxRuntime.jsx(ArrowsButton, {
2717
+ children: jsxs(ArrowsFlex, {
2718
+ children: [jsx(ArrowsButton, {
373
2719
  ref: prevRef,
374
2720
  "aria-label": "Previous",
375
2721
  type: "button",
376
- children: jsxRuntime.jsxs("span", {
2722
+ children: jsxs("span", {
377
2723
  css: "\n position: relative;\n ",
378
- children: [jsxRuntime.jsx(ArrowsIconClip, {}, void 0), jsxRuntime.jsx(ArrowsSvg, {
2724
+ children: [jsx(ArrowsIconClip, {}, void 0), jsx(ArrowsSvg, {
379
2725
  viewBox: "0 0 32 32",
380
2726
  xmlns: "http://www.w3.org/2000/svg",
381
2727
  "aria-hidden": "true",
382
2728
  role: "presentation",
383
2729
  focusable: "false",
384
- children: jsxRuntime.jsx("g", {
2730
+ children: jsx("g", {
385
2731
  fill: "none",
386
- children: jsxRuntime.jsx("path", {
2732
+ children: jsx("path", {
387
2733
  d: "m20 28-11.29289322-11.2928932c-.39052429-.3905243-.39052429-1.0236893 0-1.4142136l11.29289322-11.2928932"
388
2734
  }, void 0)
389
2735
  }, void 0)
390
2736
  }, void 0)]
391
2737
  }, void 0)
392
- }, void 0), jsxRuntime.jsx(ArrowsDivider, {}, void 0), jsxRuntime.jsx(ArrowsButton, {
2738
+ }, void 0), jsx(ArrowsDivider, {}, void 0), jsx(ArrowsButton, {
393
2739
  "aria-label": "Next",
394
2740
  type: "button",
395
2741
  ref: nextRef,
396
- children: jsxRuntime.jsxs("span", {
2742
+ children: jsxs("span", {
397
2743
  css: "\n position: relative;\n ",
398
- children: [jsxRuntime.jsx(ArrowsIconClip, {}, void 0), jsxRuntime.jsx(ArrowsSvg, {
2744
+ children: [jsx(ArrowsIconClip, {}, void 0), jsx(ArrowsSvg, {
399
2745
  viewBox: "0 0 32 32",
400
2746
  xmlns: "http://www.w3.org/2000/svg",
401
2747
  "aria-hidden": "true",
402
2748
  role: "presentation",
403
2749
  focusable: "false",
404
- children: jsxRuntime.jsx("g", {
2750
+ children: jsx("g", {
405
2751
  fill: "none",
406
- children: jsxRuntime.jsx("path", {
2752
+ children: jsx("path", {
407
2753
  d: "m12 4 11.2928932 11.2928932c.3905243.3905243.3905243 1.0236893 0 1.4142136l-11.2928932 11.2928932"
408
2754
  }, void 0)
409
2755
  }, void 0)
@@ -415,7 +2761,7 @@ var FreeCarousel = function FreeCarousel(_ref) {
415
2761
  }, void 0)]
416
2762
  }, void 0)
417
2763
  }, void 0)
418
- }, void 0), jsxRuntime.jsx(CarouselSwiper$1, _extends({}, props, {
2764
+ }, void 0), jsx(CarouselSwiper$1, _extends({}, props, {
419
2765
  cssMode: true,
420
2766
  onInit: function onInit(swiper) {
421
2767
  // eslint-disable-next-line @typescript-eslint/ban-ts-comment
@@ -430,7 +2776,7 @@ var FreeCarousel = function FreeCarousel(_ref) {
430
2776
  swiper.navigation.update(); // console.log("Swiper", swiper);
431
2777
  },
432
2778
  children: React__default["default"].Children.map(children, function (child) {
433
- return jsxRuntime.jsx(react.SwiperSlide, {
2779
+ return jsx(react.SwiperSlide, {
434
2780
  children: child
435
2781
  }, void 0);
436
2782
  })
@@ -459,42 +2805,42 @@ var PaginationCarousel = function PaginationCarousel(_ref) {
459
2805
 
460
2806
  var prevRef = React.useRef(null);
461
2807
  var nextRef = React.useRef(null);
462
- return jsxRuntime.jsxs(jsxRuntime.Fragment, {
463
- children: [jsxRuntime.jsx("div", {
2808
+ return jsxs(Fragment, {
2809
+ children: [jsx("div", {
464
2810
  css: "\n @keyframes fadein {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n }\n position: absolute !important;\n top: 50% !important;\n pointer-events: auto !important;\n transform: translateY(-50%) !important;\n left: 8px !important;\n animation-duration: 0.3s !important;\n animation-name: fadein !important;\n z-index: 180 !important;\n opacity: 0 !important;\n :hover {\n opacity: 1 !important;\n }\n ",
465
- children: jsxRuntime.jsx(CarouselPill, {
2811
+ children: jsx(CarouselPill, {
466
2812
  ref: prevRef,
467
- children: jsxRuntime.jsx("span", {
2813
+ children: jsx("span", {
468
2814
  css: "\n position: relative !important;\n ",
469
- children: jsxRuntime.jsx(CarouselPillSvg, {
2815
+ children: jsx(CarouselPillSvg, {
470
2816
  viewBox: "0 0 16 16",
471
2817
  role: "presentation",
472
2818
  "aria-hidden": "true",
473
2819
  focusable: "false",
474
- children: jsxRuntime.jsx("path", {
2820
+ children: jsx("path", {
475
2821
  d: "m10.8 16c-.4 0-.7-.1-.9-.4l-6.8-6.7c-.5-.5-.5-1.3 0-1.8l6.8-6.7c.5-.5 1.2-.5 1.7 0s .5 1.2 0 1.7l-5.8 5.9 5.8 5.9c.5.5.5 1.2 0 1.7-.2.3-.5.4-.8.4"
476
2822
  }, void 0)
477
2823
  }, void 0)
478
2824
  }, void 0)
479
2825
  }, void 0)
480
- }, void 0), jsxRuntime.jsx("div", {
2826
+ }, void 0), jsx("div", {
481
2827
  css: "\n @keyframes fadein {\n 0% {\n opacity: 0;\n }\n\n 100% {\n opacity: 1;\n }\n }\n position: absolute !important;\n top: 50% !important;\n pointer-events: auto !important;\n transform: translateY(-50%) !important;\n right: 8px !important;\n animation-duration: 0.3s !important;\n animation-name: fadein !important;\n z-index: 180 !important;\n opacity: 0 !important;\n :hover {\n opacity: 1 !important;\n }\n ",
482
- children: jsxRuntime.jsx(CarouselPill, {
2828
+ children: jsx(CarouselPill, {
483
2829
  ref: nextRef,
484
- children: jsxRuntime.jsx("span", {
2830
+ children: jsx("span", {
485
2831
  css: "\n position: relative !important;\n ",
486
- children: jsxRuntime.jsx(CarouselPillSvg, {
2832
+ children: jsx(CarouselPillSvg, {
487
2833
  viewBox: "0 0 16 16",
488
2834
  role: "presentation",
489
2835
  "aria-hidden": "true",
490
2836
  focusable: "false",
491
- children: jsxRuntime.jsx("path", {
2837
+ children: jsx("path", {
492
2838
  d: "m5.3 16c .3 0 .6-.1.8-.4l6.8-6.7c.5-.5.5-1.3 0-1.8l-6.8-6.7c-.5-.5-1.2-.5-1.7 0s-.5 1.2 0 1.7l5.8 5.9-5.8 5.9c-.5.5-.5 1.2 0 1.7.2.3.5.4.9.4"
493
2839
  }, void 0)
494
2840
  }, void 0)
495
2841
  }, void 0)
496
2842
  }, void 0)
497
- }, void 0), jsxRuntime.jsx(CarouselSwiper, _extends({}, props, {
2843
+ }, void 0), jsx(CarouselSwiper, _extends({}, props, {
498
2844
  pagination: {
499
2845
  dynamicBullets: true
500
2846
  },
@@ -511,7 +2857,7 @@ var PaginationCarousel = function PaginationCarousel(_ref) {
511
2857
  swiper.navigation.update(); // console.log("Swiper", swiper);
512
2858
  },
513
2859
  children: React__default["default"].Children.map(children, function (child) {
514
- return React__default["default"].cloneElement(jsxRuntime.jsx(react.SwiperSlide, {
2860
+ return React__default["default"].cloneElement(jsx(react.SwiperSlide, {
515
2861
  children: child
516
2862
  }, void 0), _extends({}, props));
517
2863
  })